1(self.webpackChunkSiyouB2B=self.webpackChunkSiyouB2B||[]).push([[90],{95060:(ut,mt,F)=>{"use strict";F.d(mt,{T4:()=>lt,f6:()=>j,g6:()=>kt,q9:()=>Ct});class lt{constructor(){this.products=[]}}class j{constructor(){this.product_ids=[]}}class Ct{}class kt{}},94585:(ut,mt,F)=>{"use strict";F.d(mt,{G:()=>wt});var lt=F(97582);var Ct=F(40704),kt=F(61709),Q=F(65938),Nt=F(94650),m=F(41849),V=F(44476),nt=F(89383),ct=F(74564),Y=F(61036);let wt=class{constructor(qt,Ft,yt,bt,Dt,Wt,ht,Tt){this.data=qt,this.chainService=Ft,this.router=yt,this.translate=bt,this.dialogService=Dt,this.alertService=Wt,this.dialogRef=ht,this.message=Tt,this.image="https://www.cmu.edu/chemistry/people/staff/images/no-image.png",this.managers=[],this.refrech=new Nt.vpe}ngOnInit(){this.managers=this.data.manager}onEditManager(qt){this.router.navigate([`shop/manager/edit/${qt}`]),this.dialogRef.close()}redirectTo(qt){this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>this.router.navigate([qt]))}onBlock(qt){this.dialogService.confirmDialog({title:this.translate.instant("common_change_status_title"),message:this.translate.instant("common_deactivate_account_detail"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).pipe((0,kt.zg)(Ft=>{if(Ft)return this.chainService.blockManager(qt)})).subscribe(Ft=>{this.message.success(this.translate.instant("common_update_success")),this.refrech.emit(),this.dialogRef.close("success")},Ft=>{console.log(Ft)})}addManager(){this.router.navigate(["/shop/employee/manager/add"]),this.dialogRef.close()}listManager(){this.router.navigate(["/shop/employee/manager"]),this.dialogRef.close()}};wt.ctorParameters=()=>[{type:void 0,decorators:[{type:Nt.tBr,args:[Q.WI]}]},{type:m.l},{type:V.F0},{type:nt.sK},{type:ct.x},{type:Ct.c},{type:Q.so},{type:Y.I}],wt.propDecorators={refrech:[{type:Nt.r_U}]},wt=(0,lt.gn)([(0,Nt.wA2)({selector:"app-chain-managers-list",template:'<div mat-dialog-content>\n <h4>{{\'manager_list\' | translate}}</h4>\n <div class="row s2c-china-no-data" *ngIf="managers.length === 0">\n <div class="col">\n <div class="card-container">\n <div>\n <mat-icon class="icon" width="100px" height="100px" svgIcon="noData"></mat-icon>\n </div>\n <span>{{\'No-Data-Found\' | translate}}</span>\n <div class="no-data-btns_warp">\n <button type="button" (click)="addManager()" class="btn btn-primary small">{{\'common_add\' |\n translate}}</button>\n <button type="button" (click)="listManager()" class="btn btn-info small">{{\'common_list\' |\n translate}}</button>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf="managers.length !== 0">\n <div class="row border rounded mb-2" *ngFor="let manager of managers">\n <div class="container-fluid">\n <div class="row">\n <div class="col-3 d-flex flex-column justify-content-center flex-grow-1">\n <img [src]="manager.profile_img_url ? manager.profile_img_url : image" alt="user">\n </div>\n <div class="col-9 d-flex flex-column">\n <div class="row my-2">\n <span class="text-xs text-primary">{{\'First-Name\' | translate}}:</span>\n <span class="text-xs ml-2">{{manager.first_name}}</span>\n </div>\n <div class="row mb-2">\n <span class="text-xs text-primary">{{\'Manager-Contact\' | translate}}:</span>\n <span class="text-xs ml-2">{{manager.contact}}</span>\n </div>\n <div class="row mb-2">\n <span class="text-xs text-primary">{{\'common_email\' | translate}}:</span>\n <span class="text-xs ml-2">{{manager.email}}</span>\n </div>\n </div>\n </div>\n <div class="row mb-2">\n <div class="col-12 d-flex justify-content-center">\n <button type="button" (click)="onEditManager(manager.id)" class="btn btn-secondary mr-2">\n <mat-icon class="align-middle">edit</mat-icon>\n <span class=\'align-middle ml-1\'>{{ \'common_edit\' | translate }}</span>\n </button>\n <button type="button" (click)="onBlock(manager.id)" class="btn btn-primary ml-2" [ngClass]="{\'bg-light disabledClass border-light\':manager.activated_account == 0 }">\n <mat-icon class="align-middle">person_off</mat-icon>
1\n <span class=\'align-middle ml-1\'>{{\'common_deactivate\' | translate }}</span>\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n',styles:[".text-xs {\n font-size: 12px;\n}\n\n.s2c-china-no-data {\n text-align: center;\n}\n\n.s2c-china-no-data .no-data-btns_warp {\n margin-top: 1rem;\n display: flex;\n justify-content: space-between;\n}\n\n.s2c-china-no-data .no-data-btns_warp .btn {\n width: 45%;\n}\n\n.s2c-china-no-data .icon {\n width: 5rem;\n height: 5rem;\n}"]})],wt)},25270:(ut,mt,F)=>{"use strict";F.d(mt,{h:()=>V});var lt=F(97582);var Ct=F(61036),kt=F(94650),Q=F(65938),Nt=F(60606),m=F(89383);let V=class{constructor(ct,Y,wt,re,qt){this.dialogRef=ct,this.fundsS2cService=Y,this.translate=wt,this.message=re,this.data=qt,this.formDataSource=[],console.log("data:",this.data),this.formDataSource=[{type:"image",key:"other_expense_image",value:this.data?.img_url||""},{type:"chainSelect",key:"chain_id",value:this.data?.chain_id||"",isShowAll:!1,rules:[{required:!0,message:"common_chain_required"}]},{type:"payment",key:"payment_method_id",value:this.data?.payment_method_id||"",rules:[{message:""}]},{type:"reason",key:"reason_id",value:this.data?.reason_id||""},{type:"select",key:"status",translateKey:"common_paymentStatus",value:this.data?.status||"",rules:[{message:""}],options:[{label:"common_paymentStatus_paid",value:"paid"},{label:"common_paymentStatus_not paid",value:"not paid"},{label:"cancel",value:"cancelled"}]},{type:"dateTime",key:"payment_date",translateKey:"Payment-Date",placeholder:"Payment-Date",value:this.data?.payment_date||""},{type:"input",key:"amount",translateKey:"Amount",placeholder:"Amount",value:this.data?.amount||""}]}ngOnInit(){this.data||(this.data={})}handleSubmit(ct){this.data&&this.data.item?this.fundsS2cService.editOtherCharge(ct,this.data.item.id).subscribe(Y=>{this.dialogRef.close("success"),this.message.success(this.translate.instant("charge_successfully_updated"))},Y=>{console.log(Y)}):this.fundsS2cService.addOthersCharge(ct).subscribe(Y=>{this.dialogRef.close("success"),this.message.success(this.translate.instant("charge_successfully_added"))},Y=>{console.log(Y)})}cancel(){this.dialogRef.close()}};V.ctorParameters=()=>[{type:Q.so},{type:Nt.e},{type:m.sK},{type:Ct.I},{type:void 0,decorators:[{type:kt.tBr,args:[Q.WI]}]}],V=(0,lt.gn)([(0,kt.wA2)({selector:"app-add-charge",template:'<span style=" width: 3%;\n margin-left: 98%; cursor: pointer;" (click)="cancel()">\n <img src="../../../../assets/images/close.svg">\n</span>\n<div class="example-container">\n <app-common-form\n [columns]="2"\n [dataSource]="formDataSource"\n (onSubmit)="handleSubmit($event)"\n ></app-common-form>\n</div>\n',styles:[""]})],V)},50389:(ut,mt,F)=>{"use strict";F.d(mt,{$:()=>qt});var lt=F(97582);var Ct=F(94650),kt=F(89383),Q=F(54641),Nt=F.n(Q),m=F(58493),V=F(78528),nt=F(58219),ct=F(36895),Y=F(98739),wt=F(53626),re=F(65938);Nt().vfs=m.I.vfs,Nt().fonts=V.R;let qt=class{constructor(yt,bt,Dt,Wt,ht){this.data=yt,this.translate=bt,this.excelService=Dt,this.datepipe=Wt,this.dialog=ht,this.dataSource=new wt.by,this.displayedColumns=["created","paymentDate","paymentMethode","raison","amount","status"],this.pdf=!0,this.csv=!1,this.prodExport=[]}ngOnInit(){this.dataSource.data=this.data,this.dataSource.paginator=this.paginator}PDF(){this.pdf=!0,this.csv=!1}CSV(){this.pdf=!1,this.csv=!0}cancel(){this.dialog.close()}print(){1==this.pdf?this.generatePdf(this.data):this.onexportAsExcelFile(this.data),this.dialog.close()}generatePdf(yt){const bt=this.getDocumentDefinition(yt);Nt().createPdf(bt).download()}getDocumentDefinition(yt){return{content:[{columns:[[{text:this.translate.instant("Other Sales"),style:"prodtitle"}]]},{canvas:[{type:"line",x1:0,y1:60,x2:510,y2:60,lineWidth:1,color:"gray"}]},"\n\n",{table:{widths:["*","*","*","*","*","*"],body:[[{text:this.translate.instant("Created At"),style:"tableHeader"},{text:this.translate.instant("Payment Date"),style:"tableHeader"},{text:this.translate.instant("Payment Methode"),style:"tableHeader"},{text:this.translate.instant("Raison"),style:"tableHeader"},{text:this.translate.instant("Amount"),style:"tableHeader"},{text:this.translate.instant("Status"),style:"tableHeader"}],...yt.map(bt=>[this.datepipe.transform(bt.created_at,"yyyy-MM-dd"),this.datepipe.transform(bt.payment_date,"yyyy-MM-dd"),bt.payment_method.name,bt.payment_reason.reason,bt.amount,bt.status])]},layout:"lightHorizontalLines"},"\n",{canvas:[{type:"line",x1:0,y1:20,x2:510,y2:20,lineWidth:1,color:"gray"}]},"\n\n",{columns:[[{text:this.translate.instant("notes"),style:"title"},{text:"--",style:this.translate.instant("Store"),margin:[0,0,20,0]}]]}],styles:{prodtitle:{fontSize:20,color:"black",alignment:"center"}
1,store:{fontSize:10,color:"black",alignment:"left"},title:{bold:!0,fontSize:10,alignment:"left"},subtitle:{bold:!0,fontSize:12,alignment:"left"},line:{color:"grey"},tableInfo:{fontSize:10},prod:{bold:!0,fontSize:15,alignment:"left",margin:[0,0,0,20]},tableExample:{margin:[0,20,0,15]},tableHeader:{bold:!0},text:{bold:!0,fontSize:15,alignment:"right",color:"black",margintop:50}}}}onexportAsExcelFile(yt){this.prodExport=[];try{switch(this.translate.currentLang){case"Italian":for(let ht in yt){var bt={creato_a:"",Data_di_pagamento:"",Metodo_di_pagamento:"",Motivo:"",quantit\u00e0:"",stato:""};bt.creato_a=this.datepipe.transform(yt[ht].created_at,"yyyy-MM-dd"),bt.Data_di_pagamento=this.datepipe.transform(yt[ht].payment_date,"yyyy-MM-dd"),bt.Metodo_di_pagamento=yt[ht].payment_method.name,bt.Motivo=yt[ht].payment_reason.reason,bt.quantit\u00e0=yt[ht].amount,bt.stato=yt[ht].status,this.prodExport.push(bt)}this.excelService.exportAsExcelFile(this.prodExport,"Elenco delle altre spese");break;case"Chinese":for(let ht in yt){var Dt={\u521b\u5efa\u4e8e:"",\u4ed8\u6b3e\u65e5\u671f:"",\u4ed8\u6b3e\u65b9\u6cd5:"",\u539f\u56e0:"",\u6570\u91cf:"",\u5730\u4f4d:""};Dt.\u521b\u5efa\u4e8e=this.datepipe.transform(yt[ht].created_at,"yyyy-MM-dd"),Dt.\u4ed8\u6b3e\u65e5\u671f=this.datepipe.transform(yt[ht].payment_date,"yyyy-MM-dd"),Dt.\u4ed8\u6b3e\u65b9\u6cd5=yt[ht].payment_method.name,Dt.\u539f\u56e0=yt[ht].payment_reason.reason,Dt.\u6570\u91cf=yt[ht].amount,Dt.\u5730\u4f4d=yt[ht].status,this.prodExport.push(Dt)}this.excelService.exportAsExcelFile(this.prodExport,"\u5176\u4ed6\u8d39\u7528\u6e05\u5355");break;default:for(let ht in yt){var Wt={created_At:"",Payment_Date:"",Payment_Method:"",reason:"",amount:"",status:""};Wt.created_At=this.datepipe.transform(yt[ht].created_at,"yyyy-MM-dd"),Wt.Payment_Date=this.datepipe.transform(yt[ht].payment_date,"yyyy-MM-dd"),Wt.Payment_Method=yt[ht].payment_method.name,Wt.reason=yt[ht].payment_reason.reason,Wt.amount=yt[ht].amount,Wt.status=yt[ht].status,this.prodExport.push(Wt)}this.excelService.exportAsExcelFile(this.prodExport,"Other charges List")}}catch(ht){console.log(ht)}}};qt.ctorParameters=()=>[{type:void 0,decorators:[{type:Ct.tBr,args:[re.WI]}]},{type:kt.sK},{type:nt.x},{type:ct.uU},{type:re.so}],qt.propDecorators={paginator:[{type:Ct.i9L,args:[Y.NW,{static:!0}]}]},qt=(0,lt.gn)([(0,Ct.wA2)({selector:"app-download-charges",template:'\n <div class="row">\n <div class="col-11">\n <h4 class="title">{{"Download Sales"|translate}}</h4>\n </div>\n <button type="button" (click)="cancel()" class="close" aria-label="Close"><span>\xd7</span></button>\n </div>\n\n\n <div data-test="modal-body" class="modal-body">\n <div data-test="row" class="row">\n <div data-test="col" class="col-12">\n <p>{{"Select file format to download"|translate}}</p>\n </div>\n <div class="switcher-form col-12">\n \x3c!-- <div class="switcher-form-item" style="border-top-left-radius: .25rem;\n border-bottom-left-radius: .25rem;"(click)="PDF()" [ngClass]="{\'clicked-bt\': pdf == true}">PDF</div> --\x3e\n \x3c!-- <div class="switcher-form-item" style="border-top-right-radius: .25rem;\n border-bottom-right-radius: .25rem;" (click)="CSV()" [ngClass]="{\'clicked-bt\': csv == true}">CSV</div> --\x3e\n </div>\n </div>\n <div data-test="row" class="row">\n <div data-test="col" class="col-12">\n <div data-test="col" class="col-12 ">\n <p>{{"Sales selected to be downloaded"|translate}}</p>\n <div data-test="table" class="col-12">\n <table mat-table style="width:100%" [dataSource]="dataSource" multiTemplateDataRows matSort>\n\n\n <ng-container matColumnDef="created">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"Created At"|translate}} </th>\n <td mat-cell *matCellDef="let element">\n <p >{{element.created_at}}</p>\n </td>\n </ng-container>\n <ng-container matColumnDef="paymentDate">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{"Payment Date"|translate}}</th>\n <td mat-cell *matCellDef="let element">\n <p >{{element.paymentDate}}</p>\n\n </td>\n </ng-container>\n\n\n <ng-container matColumnDef="paymentMethode">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{"Paymet Methode"|translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.payment_method.name}}</td>\n </ng-container>\n\n <ng-container matColumnDef="raison">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"Reason"|translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.payment_reason.reason}} </td>\n </ng-container>\n\n\n <ng-container matColumnDef="amount">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"Amount"|translate}} </th>\n <td mat-cell *matCellDef="let element" class="pricetable1">\n {{element.amount}}\n </td>\n </ng-container>\n\n <ng-container matColumnDef="status">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"common_status" | translate}} </th>\n <td mat-cell *matCellDef="let element" class="pricetable1">\n {{element.status }}\n </td>\n </ng-container>\n\n\n\n\n\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;">\n </table>\n <mat-paginator [pageSizeOptions]="[5, 10, 25, 100]"></mat-paginator>\n </div></div>\n</div>\n </div>\n</div>\n<div class="modal-footer">\n <button (click)="print()" type="button" class="btn Ripple-parent bt
1n-primary block" id="download-multiple-invoice-btn-download">Download\n <div class="Ripple is-reppling" style="top: -51.3125px; left: -13.6375px; width: 130px;">\n </div>\n </button>\n <button (click)="cancel()" type="button" class="btn Ripple-parent btn-cancel" id="download-multiple-invoice-btn-cancel">{{\'common_cancel\' | translate}}\n <div class="Ripple " style="top: 0px; left: 0px; width: 0px; height: 0px;">\n </div>\n </button>\n </div>\n\n\n\n\n',styles:[".switcher-form {\n display: flex;\n height: 40px;\n}\n\n.switcher-form-item {\n width: 50%;\n background-color: #f0f0f0;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-bottom: 0;\n position: relative;\n font-weight: 600;\n letter-spacing: 1px;\n text-transform: uppercase;\n font-weight: bold;\n color: #353535;\n cursor: pointer;\n}\n\n.clicked-bt {\n border: 1px solid #333;\n background-color: #a00000;\n color: white;\n}\n\n.container {\n flex-direction: column;\n}\n\n.title {\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n font-weight: 400;\n font-size: 1.625rem;\n color: #242424;\n position: relative;\n padding-left: 0;\n margin-top: 0;\n padding-right: 3.5rem;\n margin-left: 2%;\n}\n\n.close {\n font-size: 36px;\n top: 7px;\n right: 31px;\n padding: 0 !important;\n color: #000;\n text-shadow: none;\n opacity: 1;\n margin: 0;\n line-height: normal;\n}\n\n.modal-header {\n border-top-left-radius: 0.125rem;\n border-top-right-radius: 0.125rem;\n}\n\n.red-svg {\n fill: red;\n}\n\n.green-svg {\n fill: #6dd400;\n}\n\n.row {\n display: flex;\n flex-wrap: wrap;\n margin-right: -20px;\n margin-left: -40px;\n}\n\n.btn-primary {\n border-radius: 0;\n background: none;\n border: none;\n line-height: 1;\n border-radius: 25px;\n display: block;\n background: #a00000 !important;\n color: #fff !important;\n font-size: 1rem !important;\n line-height: 1.1em;\n padding: 10px 30px;\n text-align: center;\n font-weight: 400;\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n display: inline-block;\n text-decoration: none;\n transition-property: all;\n transition-duration: 0.2s;\n text-transform: none;\n border: none !important;\n box-shadow: none !important;\n border-radius: 65px !important;\n}\n\n.btn-cancel {\n line-height: 1;\n display: block;\n color: #a00000 !important;\n font-size: 1rem !important;\n line-height: 1.1em;\n padding: 10px 30px;\n text-align: center;\n font-weight: 400;\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n display: inline-block;\n text-decoration: none;\n transition-property: all;\n transition-duration: 0.2s;\n text-transform: none;\n box-shadow: none !important;\n}\n\n.modal-footer {\n display: block;\n text-align: center;\n border: none;\n padding: 0;\n}\n\n.table1 {\n width: 100%;\n table-layout: fixed;\n}\n\n.table1 th,\n.table1 td {\n overflow: hidden;\n width: 20%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.pricetable1 {\n color: red;\n}\n\n.card-box {\n position: relative;\n color: #fff;\n padding: 20px 20px 20px 20px;\n background-color: #ececec;\n}\n\n.card-box p {\n font-size: 15px;\n}\n\n.bg-green {\n background-color: #cacaca;\n height: 130px;\n color: black;\n}\n\n.mat-table {\n width: 100%;\n}\n\n.mat-table.resizing {\n -webkit-user-select: none;\n user-select: none;\n cursor: col-resize;\n}\n\n.mat-table .mat-cell span {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.mat-table .mat-header-cell {\n background-color: white;\n color: black;\n font-style: bold;\n position: relative;\n height: 30px;\n font-size: 14px;\n border-right: 2px solid rgba(201, 201, 201, 0.048);\n}\n\n.mat-table .mat-header-cell:not(:last-child) .resize-holder {\n cursor: col-resize;\n width: 20px;\n height: 100%;\n position: absolute;\n right: -10px;\n top: 0;\n z-index: 1;\n}\n\n.mat-table .mat-cell {\n width: 8rem;\n}\n\n.mat-table .mat-cell:not(:nth-child(1)),\n.mat-table .mat-header-cell:not(:nth-child(1)) {\n padding: 0 10px;\n}"]})],qt)},36152:(ut,mt,F)=>{"use strict";F.d(mt,{a:()=>V});var lt=F(97582);var Ct=F(94650),kt=F(65938),Q=F(89383),Nt=F(61036),m=F(60606);let V=class{constructor(ct,Y,wt,re,qt){this.dialogRef=ct,this.fundsS2cService=Y,this.translate=wt,this.message=re,this.data=qt,this.formDataSource=[]}ngOnInit(){this.data||(this.data={});try{this.formDataSource=[{type:"image",key:"fund_image",value:this.data.img_url||""}]}catch(ct){console.error(ct)}}handleSubmit(ct){this.data&&this.data.item&&this.fundsS2cService.updateExpenseFundImage(ct,this.data.item.id).subscribe(Y=>{this.dialogRef.close("success"),this.message.success(this.translate.instant("common_update_success"))},Y=>{console.log(Y)})}};V.ctorParameters=()=>[{type:kt.so},{type:m.e},{type:Q.sK},{type:Nt.I},{type:void 0,decorators:[{type:Ct.tBr,args:[kt.WI]}]}],V=(0,lt.gn)([(0,Ct.wA2)({selector:"app-update-fund-image",template:'<div mat-dialog-content>\n <div class="w-100 d-flex justify-content-end">\n <button mat-icon-button [mat-dialog-close]="false">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <app-common-form [dataSource]="formDataSource" (onSubmit)="handleSubmit($event)"></app-common-form>\n</div>\n',styles:[""]})],V)},67186:(ut,mt,F)=>{"use strict";F.d(mt,{l:()=>Q});var lt=F(97582);var Ct=F(94650),kt=F(65938);let Q=class{constructor(m,V){this.data=m,this.dialog=V,this.columns=[{type:"image",key:"img_url",translationKey:"Image"},{type:"text",key:"order_number",translationKey:"Order-number"},{type:"text",key:"amount",translationKey:"amount"},{type:"text",key:"start_date",translationKey:"Start-date"},{type:"text",key:"finish_date",translationKey:"End-date"},{type:"text",key:"status",translationKey:"Status"}],this.dataSource=[]}ngOnInit(){this.dataSource=this.data.dataSource}cancel(){this.dialog.close()}};Q.ctorParameters=()=>[{type:void 0,decorators:[{type:Ct.tBr,args:[kt.WI]}]}
1,{type:kt.so}],Q=(0,lt.gn)([(0,Ct.wA2)({selector:"app-filter-accounting-payable",template:'<div class="table-responsive order-product-list">\n <div class="d-flex flex-row-reverse">\n <div type="button" class="btn" (click)="cancel()">\n <mat-icon class="btn-clickable">close</mat-icon>\n </div>\n </div>\n <app-common-search-list-table\n [dataSource]="dataSource"\n [isAutoPages]="true"\n [isShowSearchBtn]="false"\n [dataSource]="dataSource"\n [columns]="columns"\n [isShowAdd]="false"\n [isShowDisplayColumn]="false"\n ></app-common-search-list-table>\n</div>\n',styles:[".imageCell {\n background-color: #fdcdd2;\n}\n.imageCell img {\n min-width: 100px;\n max-height: 150px;\n object-fit: contain;\n}\n.mat-row .mat-cell {\n cursor: pointer;\n}\n*[class*=mat-column-] {\n word-wrap: break-word;\n width: 150px !important;\n}\n.mat-column-actions {\n width: 80px !important;\n text-align: center;\n padding-right: 0 !important;\n}\n.mat-column-customize {\n width: 30px !important;\n text-align: end;\n}\n.mat-row:hover {\n background-color: #feebee;\n}\n.order-product-list td.mat-cell, .order-product-list td.mat-footer-cell, .order-product-list th.mat-header-cell {\n border-width: 0;\n}"]})],Q)},33165:(ut,mt,F)=>{"use strict";F.d(mt,{m:()=>V});var lt=F(97582);var Ct=F(94650),kt=F(65938),Q=F(60606),Nt=F(89383),m=F(61036);let V=class{constructor(ct,Y,wt,re,qt){this.dialogRef=ct,this.fundsS2cService=Y,this.translate=wt,this.message=re,this.data=qt,console.log("add constructor:",this.data),this.formDataSource=[{type:"image",key:"other_receipt_image",value:this.data?.img_url,rules:[{message:""}]},{type:"chainSelect",key:"chain_id",isShowAll:!1,value:this.data?.chain_id,rules:[{required:!0,message:"common_chain_required"}]},{type:"payment",key:"payment_method_id",value:this.data?.payment_method?this.data?.payment_method.id:"",rules:[{message:""}]},{type:"reason",key:"reason_id",translateKey:"Reasons",value:this.data?.payment_reason?this.data?.payment_reason.id:"",rules:[{message:""}]},{type:"select",key:"status",translateKey:"common_paymentStatus",value:this.data?.status,options:[{label:"common_paymentStatus_paid",value:"paid"},{label:"common_paymentStatus_not paid",value:"not paid"},{label:"cancel",value:"cancelled"}],rules:[{message:""}]},{type:"dateTime",key:"payment_date",value:this.data?.payment_date,translateKey:"Payment-Date",placeholder:"Payment-Date",rules:[{message:""}]},{type:"input",key:"amount",value:this.data?.amount,translateKey:"Amount",rules:[{message:""}]},{type:"input",key:"description",value:this.data?.description,translateKey:"Description",rules:[{message:""}]}]}ngOnInit(){}handleSubmit(ct){ct.amount=Number(ct.amount);const Y=new FormData;for(let wt of Object.keys(ct))Y.append(wt,ct[wt]);this.data.id?this.fundsS2cService.editOtherReceipt(Y,this.data.id).subscribe(wt=>{this.message.success(this.translate.instant("common_update_success")),console.log("succes"),this.dialogRef.close("success")},wt=>{console.log(wt)}):this.fundsS2cService.addOthersReciept(Y).subscribe(wt=>{this.message.success(this.translate.instant("common_add_success")),this.dialogRef.close("success")},wt=>{console.log(wt)})}cancel(){this.dialogRef.close()}};V.ctorParameters=()=>[{type:kt.so},{type:Q.e},{type:Nt.sK},{type:m.I},{type:void 0,decorators:[{type:Ct.tBr,args:[kt.WI]}]}],V.propDecorators={form:[{type:Ct.i9L,args:["form"]}]},V=(0,lt.gn)([(0,Ct.wA2)({selector:"app-add-others-in",template:'<span style=" width: 3%;\n margin-left: 98%; cursor: pointer;" (click)="cancel()">\n <img src="../../../../assets/images/close.svg">\n</span>\n<div class="example-container" *ngIf="formDataSource!==undefined">\n <app-common-form\n #form\n [columns]="2"\n [dataSource]="formDataSource"\n (onSubmit)="handleSubmit($event)"\n ></app-common-form>\n</div>\n',styles:[""]})],V)},58926:(ut,mt,F)=>{"use strict";F.d(mt,{U:()=>qt});var lt=F(97582);var Ct=F(94650),kt=F(89383),Q=F(54641),Nt=F.n(Q),m=F(58493),V=F(78528),nt=F(58219),ct=F(36895),Y=F(98739),wt=F(53626),re=F(65938);Nt().vfs=m.I.vfs,Nt().fonts=V.R;let qt=class{constructor(yt,bt,Dt,Wt,ht){this.data=yt,this.translate=bt,this.excelService=Dt,this.datepipe=Wt,this.dialog=ht,this.dataSource=new wt.by,this.displayedColumns=["created","paymentDate","paymentMethode","raison","amount","status"],this.pdf=!0,this.csv=!1,this.prodExport=[]}ngOnInit(){this.dataSource.data=this.data,this.dataSource.paginator=this.paginator}PDF(){this.pdf=!0,this.csv=!1}CSV(){this.pdf=!1,this.csv=!0}cancel(){this.dialog.close()}print(){1==this.pdf?this.generatePdf(this.data):this.onexportAsExcelFile(this.data),this.dialog.close()}generatePdf(yt){const bt=this.getDocumentDefinition(yt);Nt().createPdf(bt).download()}getDocumentDefinition(yt){return{content:[{columns:[[{text:this.translate.instant("Other Sales"),style:"prodtitle"}]]},{canvas:[{type:"line",x1:0,y1:60,x2:510,y2:60,lineWidth:1,color:"gray"}]},"\n\n",{table:{widths:["*","*","*","*","*","*"],body:[[{text:this.translate.instant("Created at"),style:"tableHeader"},{text:this.translate.instant("Payment-Date"),style:"tableHeader"},{text:this.translate.instant("Payment-method"),style:"tableHeader"},{text:this.translate.instant("Reason"),style:"tableHeader"},{text:this.translate.instant("Amount"),style:"tableHeader"},{text:this.translate.instant("Status"),style:"tableHeader"}],...yt.map(bt=>[this.datepipe.transform(bt.created_at,"yyyy-MM-dd"),this.datepipe.transform(bt.payment_date,"yyyy-MM-dd"),bt.payment_method.name,bt.payment_reason.reason,bt.amount,bt.status])]},layout:"lightHorizontalLines"},"\n",{canvas:[{type:"line",x1:0,y1:20,x2:510,y2:20,lineWidth:1,color:"gray"}]},"\n\n",{columns:[[{text:this.translate.instant("notes"),style:"title"},{text:"--",style:this.translate.instant("Store"),margin:[0,0,20,0]}]]}],styles:{prodtitle:{fontSize:20,color:"black",alignment:"center"}
1,store:{fontSize:10,color:"black",alignment:"left"},title:{bold:!0,fontSize:10,alignment:"left"},subtitle:{bold:!0,fontSize:12,alignment:"left"},line:{color:"grey"},tableInfo:{fontSize:10},prod:{bold:!0,fontSize:15,alignment:"left",margin:[0,0,0,20]},tableExample:{margin:[0,20,0,15]},tableHeader:{bold:!0},text:{bold:!0,fontSize:15,alignment:"right",color:"black",margintop:50}}}}onexportAsExcelFile(yt){switch(this.prodExport=[],this.translate.currentLang){case"Italian":for(let ht in yt){var bt={creato_a:"",Data_di_pagamento:"",Metodo_di_pagamento:"",Motivo:"",quantit\u00e0:"",stato:""};bt.creato_a=this.datepipe.transform(yt[ht].created_at,"yyyy-MM-dd"),bt.Data_di_pagamento=this.datepipe.transform(yt[ht].payment_date,"yyyy-MM-dd"),bt.Metodo_di_pagamento=yt[ht].payment_method.name,bt.Motivo=yt[ht].payment_reason.reason,bt.quantit\u00e0=yt[ht].amount,bt.stato=yt[ht].status,this.prodExport.push(bt)}this.excelService.exportAsExcelFile(this.prodExport,"Vendite");break;case"Chinese":for(let ht in yt){var Dt={\u521b\u5efa\u4e8e:"",\u4ed8\u6b3e\u65e5\u671f:"",\u4ed8\u6b3e\u65b9\u6cd5:"",\u539f\u56e0:"",\u6570\u91cf:"",\u5730\u4f4d:""};Dt.\u521b\u5efa\u4e8e=this.datepipe.transform(yt[ht].created_at,"yyyy-MM-dd"),Dt.\u4ed8\u6b3e\u65e5\u671f=this.datepipe.transform(yt[ht].payment_date,"yyyy-MM-dd"),Dt.\u4ed8\u6b3e\u65b9\u6cd5=yt[ht].payment_method.name,Dt.\u539f\u56e0=yt[ht].payment_reason.reason,Dt.\u6570\u91cf=yt[ht].amount,Dt.\u5730\u4f4d=yt[ht].status,this.prodExport.push(Dt)}this.excelService.exportAsExcelFile(this.prodExport,"\u9500\u552e");break;default:for(let ht in yt){var Wt={created_At:"",Payment_Date:"",Payment_Method:"",reason:"",amount:"",status:""};Wt.created_At=this.datepipe.transform(yt[ht].created_at,"yyyy-MM-dd"),Wt.Payment_Date=this.datepipe.transform(yt[ht].payment_date,"yyyy-MM-dd"),Wt.Payment_Method=yt[ht].payment_method.name,Wt.reason=yt[ht].payment_reason.reason,Wt.amount=yt[ht].amount,Wt.status=yt[ht].status,this.prodExport.push(Wt)}this.excelService.exportAsExcelFile(this.prodExport,"Sales List")}}};qt.ctorParameters=()=>[{type:void 0,decorators:[{type:Ct.tBr,args:[re.WI]}]},{type:kt.sK},{type:nt.x},{type:ct.uU},{type:re.so}],qt.propDecorators={paginator:[{type:Ct.i9L,args:[Y.NW,{static:!0}]}]},qt=(0,lt.gn)([(0,Ct.wA2)({selector:"app-download-others",template:'\n <div class="row">\n <div class="col-11">\n <h4 class="title">{{"Download Sales"|translate}}</h4>\n </div>\n <button type="button" (click)="cancel()" class="close" aria-label="Close"><span>\xd7</span></button>\n </div>\n\n\n <div data-test="modal-body" class="modal-body">\n <div data-test="row" class="row">\n <div data-test="col" class="col-12">\n <p>{{"Select file format to download"|translate}}</p>\n </div>\n <div class="switcher-form col-12">\n <div class="switcher-form-item" style="border-top-left-radius: .25rem;\n border-bottom-left-radius: .25rem;"(click)="PDF()" [ngClass]="{\'clicked-bt\': pdf == true}">PDF</div>\n <div class="switcher-form-item" style="border-top-right-radius: .25rem;\n border-bottom-right-radius: .25rem;" (click)="CSV()" [ngClass]="{\'clicked-bt\': csv == true}">CSV</div>\n </div>\n </div>\n <div data-test="row" class="row">\n <div data-test="col" class="col-12">\n <div data-test="col" class="col-12 ">\n <p>{{"Sales selected to be downloaded"|translate}}</p>\n <div data-test="table" class="col-12">\n <table mat-table style="width:100%" [dataSource]="dataSource" multiTemplateDataRows matSort>\n\n\n <ng-container matColumnDef="created">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"Created at"|translate}} </th>\n <td mat-cell *matCellDef="let element">\n <p >{{element.created_at}}</p>\n </td>\n </ng-container>\n <ng-container matColumnDef="paymentDate">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{"Payment-Date"|translate}}</th>\n <td mat-cell *matCellDef="let element">\n <p >{{element.payment_date}}</p>\n\n </td>\n </ng-container>\n\n\n <ng-container matColumnDef="paymentMethode">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{"Payment-method"|translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.payment_method.name}}</td>\n </ng-container>\n\n <ng-container matColumnDef="raison">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"Reason"|translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.payment_reason.reason}} </td>\n </ng-container>\n\n\n <ng-container matColumnDef="amount">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"Amount"|translate}} </th>\n <td mat-cell *matCellDef="let element" class="pricetable1">\n {{element.amount}}\n </td>\n </ng-container>\n\n <ng-container matColumnDef="status">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"common_status" | translate}} </th>\n <td mat-cell *matCellDef="let element" class="pricetable1">\n {{element.status }}\n </td>\n </ng-container>\n\n\n\n\n\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;">\n </table>\n <mat-paginator [pageSizeOptions]="[5, 10, 25, 100]"></mat-paginator>\n </div></div>\n</div>\n </div>\n</div>\n<div class="modal-footer">\n <button (click)="print()" type="button" class="btn Ripple-parent bt
1n-primary block" id="download-multiple-invoice-btn-download">Download\n <div class="Ripple is-reppling" style="top: -51.3125px; left: -13.6375px; width: 130px;">\n </div>\n </button>\n <button (click)="cancel()" type="button" class="btn Ripple-parent btn-cancel" id="download-multiple-invoice-btn-cancel">{{\'common_cancel\' | translate}}\n <div class="Ripple " style="top: 0px; left: 0px; width: 0px; height: 0px;">\n </div>\n </button>\n </div>\n\n\n\n',styles:[".switcher-form {\n display: flex;\n height: 40px;\n}\n\n.switcher-form-item {\n width: 50%;\n background-color: #f0f0f0;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-bottom: 0;\n position: relative;\n font-weight: 600;\n letter-spacing: 1px;\n text-transform: uppercase;\n font-weight: bold;\n color: #353535;\n cursor: pointer;\n}\n\n.clicked-bt {\n border: 1px solid #333;\n background-color: #a00000;\n color: white;\n}\n\n.container {\n flex-direction: column;\n}\n\n.title {\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n font-weight: 400;\n font-size: 1.625rem;\n color: #242424;\n position: relative;\n padding-left: 0;\n margin-top: 0;\n padding-right: 3.5rem;\n margin-left: 2%;\n}\n\n.close {\n font-size: 36px;\n top: 7px;\n right: 31px;\n padding: 0 !important;\n color: #000;\n text-shadow: none;\n opacity: 1;\n margin: 0;\n line-height: normal;\n}\n\n.modal-header {\n border-top-left-radius: 0.125rem;\n border-top-right-radius: 0.125rem;\n}\n\n.red-svg {\n fill: red;\n}\n\n.green-svg {\n fill: #6dd400;\n}\n\n.row {\n display: flex;\n flex-wrap: wrap;\n margin-right: -20px;\n margin-left: -40px;\n}\n\n.btn-primary {\n border-radius: 0;\n background: none;\n border: none;\n line-height: 1;\n border-radius: 25px;\n display: block;\n background: #a00000 !important;\n color: #fff !important;\n font-size: 1rem !important;\n line-height: 1.1em;\n padding: 10px 30px;\n text-align: center;\n font-weight: 400;\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n display: inline-block;\n text-decoration: none;\n transition-property: all;\n transition-duration: 0.2s;\n text-transform: none;\n border: none !important;\n box-shadow: none !important;\n border-radius: 65px !important;\n}\n\n.btn-cancel {\n line-height: 1;\n display: block;\n color: #a00000 !important;\n font-size: 1rem !important;\n line-height: 1.1em;\n padding: 10px 30px;\n text-align: center;\n font-weight: 400;\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n display: inline-block;\n text-decoration: none;\n transition-property: all;\n transition-duration: 0.2s;\n text-transform: none;\n box-shadow: none !important;\n}\n\n.modal-footer {\n display: block;\n text-align: center;\n border: none;\n padding: 0;\n}\n\n.table1 {\n width: 100%;\n table-layout: fixed;\n}\n\n.table1 th,\n.table1 td {\n overflow: hidden;\n width: 20%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.pricetable1 {\n color: red;\n}\n\n.card-box {\n position: relative;\n color: #fff;\n padding: 20px 20px 20px 20px;\n background-color: #ececec;\n}\n\n.card-box p {\n font-size: 15px;\n}\n\n.bg-green {\n background-color: #cacaca;\n height: 130px;\n color: black;\n}\n\n.mat-table {\n width: 100%;\n}\n\n.mat-table.resizing {\n -webkit-user-select: none;\n user-select: none;\n cursor: col-resize;\n}\n\n.mat-table .mat-cell span {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.mat-table .mat-header-cell {\n background-color: white;\n color: black;\n font-style: bold;\n position: relative;\n height: 30px;\n font-size: 14px;\n border-right: 2px solid rgba(201, 201, 201, 0.048);\n}\n\n.mat-table .mat-header-cell:not(:last-child) .resize-holder {\n cursor: col-resize;\n width: 20px;\n height: 100%;\n position: absolute;\n right: -10px;\n top: 0;\n z-index: 1;\n}\n\n.mat-table .mat-cell {\n width: 8rem;\n}\n\n.mat-table .mat-cell:not(:nth-child(1)),\n.mat-table .mat-header-cell:not(:nth-child(1)) {\n padding: 0 10px;\n}"]})],qt)},20266:(ut,mt,F)=>{"use strict";F.d(mt,{J:()=>re});var lt=F(97582);var Ct=F(24006),kt=F(44476),Q=F(19968),Nt=F(55141),m=F(56834),V=F(94650),nt=F(58219),ct=F(89383),Y=F(65239),wt=F(65938);let re=class{constructor(Ft,yt,bt,Dt,Wt,ht,Tt,xe,Nn){this.data=Ft,this.orderService=yt,this.warehouseService=bt,this.supplierService=Dt,this.excelService=Wt,this.translate=ht,this.router=Tt,this.formBuilder=xe,this.dialogRef=Nn,this.orderDisplayedColumns=["order_date","order_price","shop_owner","statut","actions"],this.orderLength=0,this.sumOrder=0,this.fileToUpload=null,this.dataa=[[1,2],[3,4]],this.wopts={bookType:"xlsx",type:"array"},this.formData=new FormData}ngOnInit(){this.form=this.formBuilder.group({order_price:["",Ct.kI.required],supplier_id:["",Ct.kI.required],statut_id:["",Ct.kI.required],products:[""]})}onFileSelect(Ft){this.selectedFile=Ft.target.files[0]}openOrderFullDetails(Ft){this.router.navigate([`shop/order-full-details/${Ft}`])}getFileChange(Ft){const yt=this.resultInput.nativeElement;if(Ft.target.files.length>0){const bt=Ft.target.files[0];yt.value=bt.name,this.form.get("products").setValue(bt),this.formData.append("products",this.form.get("products").value)}}onUploadFile(){this.dialogRef.close({data:this.dataa})}toFormData(Ft){const yt=new FormData;for(const bt of Object.keys(Ft)){const Dt=Ft[bt];yt.append(bt,Dt)}return yt}
1clickCancel(){this.dialogRef.close()}onFileChange(Ft){this.dataa=[];const yt=Ft.target;if(1!==yt.files.length)throw new Error("Cannot use multiple files");const bt=new FileReader;bt.onload=Dt=>{const Wt=Dt.target.result,ht=Y.read(Wt,{type:"binary"}),Tt=ht.SheetNames[0],xe=ht.Sheets[Tt];this.dataa=Y.utils.sheet_to_json(xe,{header:0}),this.dataa.splice(this.dataa.indexOf(this.dataa[0]),1)},bt.readAsBinaryString(yt.files[0])}downloadExcelTemplate(){const Ft=[];try{Ft.push(["product_name","product_barcode","product_quantity","cost_price","tax_rate","product_description","category_id"]),Ft.push(["common_productName","common_productBarcode","common_productQuantity","common_costPrice","common_taxRate","product_desc","product_category"].map(yt=>this.translate.instant(yt))),this.excelService.exportAsExcelFile(Ft,this.translate.instant("PO_ImportTemplate"))}catch(yt){console.log(yt)}}};re.ctorParameters=()=>[{type:void 0,decorators:[{type:V.tBr,args:[wt.WI]}]},{type:m.C},{type:Nt.E},{type:Q.e},{type:nt.x},{type:ct.sK},{type:kt.F0},{type:Ct.qu},{type:wt.so}],re.propDecorators={resultInput:[{type:V.i9L,args:["resultInput"]}]},re=(0,lt.gn)([(0,V.wA2)({selector:"app-add-manual-import-execl",template:'<div class="col-12">\n <span\n style="width: 5%; margin-left: 98%; cursor: pointer"\n (click)="clickCancel()"\n >\n <img src="../../../../assets/images/close.svg" />\n </span>\n <div>\n <h4>{{ "new-pre-order" | translate }}</h4>\n <a (click)="downloadExcelTemplate()" href="javascript:void(0);">\n {{ "download-Excel-template" | translate }}\n </a>\n <form [formGroup]="form" novalidate>\n <br />\n <br />\n <div class="form-group" style="width: 100%">\n <label for="file">{{ "products-file" | translate }}</label> <br />\n <input\n #fileInput\n type="file"\n name="products"\n (change)="getFileChange($event); onFileChange($event)"\n />\n <section\n (click)="fileInput.click()"\n style="margin-bottom: 1.5rem"\n ></section>\n <input\n matInput\n type="text"\n #resultInput\n readonly\n style="display: none"\n />\n </div>\n\n <div>\n <button\n mat-button\n style="\n margin-right: 5%;\n width: 40%;\n background-color: #a00000;\n color: white;\n "\n (click)="onUploadFile()"\n >\n {{ "Save" | translate }}\n </button>\n <button\n mat-button\n style="\n margin-right: 5px;\n width: 40%;\n background-color: #cacaca;\n color: black;\n "\n (click)="clickCancel()"\n >\n {{ "common_cancel" | translate }}\n </button>\n </div>\n </form>\n </div>\n</div>\n',styles:[""]})],re)},44124:(ut,mt,F)=>{"use strict";F.d(mt,{m:()=>Q});var lt=F(97582);var Ct=F(65938),kt=F(94650);let Q=class{constructor(m,V){this.dialogRef=m,this.data=V,this.formColumns=[{type:"input",translateKey:"Product Name",placeholder:"Product Name",key:"product_name"},{type:"input",translateKey:"Product Description",placeholder:"Product Description",key:"product_description"},{type:"input",translateKey:"Product Price",placeholder:"Product Price",key:"cost_price",inputType:"number"},{type:"input",translateKey:"Product Barcode",placeholder:"Product Barcode",key:"product_barcode"},{type:"input",translateKey:"Tax Rate",placeholder:"Tax Rate",key:"tax_rate",inputType:"number"},{type:"categorySelect",key:"category_id",isNeedName:!0},{type:"input",translateKey:"Product-Quantity",placeholder:"Product-Quantity",key:"product_quantity"}],this.manPurch=!0}ngOnInit(){this.data&&(this.formColumns.forEach(m=>{m.value=this.data[m.key]}),this.formColumns=[...this.formColumns])}onClose(){this.dialogRef.close()}handleAddPurchaseProduct(m){this.dialogRef.close({...this.data,...m})}};Q.ctorParameters=()=>[{type:Ct.so},{type:void 0,decorators:[{type:kt.tBr,args:[Ct.WI]}]}],Q=(0,lt.gn)([(0,kt.wA2)({selector:"app-add-manual-product-purchase",template:'\x3c!-- <span style=" width: 5%;\nmargin-left: 98%; cursor: pointer;" (click)="onClose()">\n <img src="../../../../assets/images/close.svg">\n</span>\n<div class="p-3 bg-white rounded">\n <div>\n <p style="size: 50px;">{{\'Add a new product\' | translate}} </p>\n <mat-divider style="margin-bottom: 30px;"></mat-divider>\n </div>\n <app-common-form \n [columns]="2" \n #commonForm \n (onSubmit)="handleAddPurchaseProduct($event)"\n [dataSource]="formColumns">\n </app-common-form>\n</div> --\x3e\n\n\n<app-add-shop-product [dataSource]="formColumns" [manPurch]="manPurch" [dataforProduct]="data" (manPurSubmit)="handleAddPurchaseProduct($event)"></app-add-shop-product>\n\n',styles:[""]})],Q)},86374:(ut,mt,F)=>{"use strict";F.d(mt,{y:()=>Dt});var lt=F(97582);var Ct=F(50623),kt=F(65938),Q=F(61036),Nt=F(89383),m=F(36895),V=F(
178950),nt=F(94650),ct=F(11481),Y=F(81363),wt=F(44476),re=F(97392),qt=F(58425),Ft=F(23267),yt=F(96587),bt=F(95060);let Dt=class{constructor(ht,Tt,xe,Nn,ha,je,$t,ye,Un,gn,kn){this.productService=ht,this.datepipe=Tt,this.translate=xe,this.dialogRef=Nn,this.data=ha,this.messsage=je,this.iconRegistry=$t,this.sanitizer=ye,this.purchaseServ=Un,this.router=gn,this.serv=kn,this.isFulScreen=!1,this.formDataSource=[{type:"supplierSelect",key:"supplier_id",rules:[{required:!0,message:"required"}]},{type:"chainSelect",key:"chain_id",isShowAll:!1,rules:[{required:!0,message:"required"}]},{type:"payment",key:"payment_method_id",rules:[{required:!0,message:"required"}]},{type:"dateTime",key:"order_date",translateKey:"Start-date",rules:[{required:!0,message:"required"}]},{type:"select",key:"payment_status",translateKey:"common_paymentStatus",options:[{label:"common_paymentStatus_paid",value:"paid"},{label:"common_paymentStatus_not paid",value:"not paid"}],rules:[{required:!0,message:"required"}]}],this.columns=[{type:"checkbox",key:"checkbox",translationKey:""},{translationKey:"common_productName",type:"text",key:"product_name"},{translationKey:"product_name2",type:"text",key:"product_name2"},{translationKey:"common_productBarcode",type:"text",key:"product_barcode"},{translationKey:"product_barcode2",type:"text",key:"product_barcode2"},{translationKey:"common_supplier",type:"text",key:"supplier"},{translationKey:"common_costPrice",type:"text",key:"cost_price"},{translationKey:"common_taxRate",type:"text",key:"tax_rate"},{translationKey:"Inventory quantity",type:"text",key:"inventory_quantity"},{type:"multiEdit",translationKey:"Purchase-quantity",key:"product_quantity"},{type:"price",translationKey:"Tax_amount",key:"total_product_tax"},{type:"price",translationKey:"Total-ProductsPrice",key:"total_product_price"},{type:"price",translationKey:"Total Taxes Price",key:"total_product_tax_price"},{type:"text",translationKey:"inbound_return_stock",key:"inbound_return_stock"},{type:"text",translationKey:"last_inbound_quantity",key:"last_inbound_quantity"},{type:"date",translationKey:"last_inbound_time",key:"last_inbound_time"},{type:"text",translationKey:"outbound_return_stock",key:"outbound_return_stock"},{type:"text",translationKey:"last_outbound_quantity",key:"last_outbound_quantity"},{type:"date",translationKey:"last_outbound_time",key:"last_outbound_time"},{type:"date",translationKey:"last_order_time",key:"last_order_time"}],this.searchFormDataSource=[{type:"input",translateKey:"Search-byBarcode",key:"barcode"},{type:"categorySelect",key:"category_id"},{type:"supplierSelect",key:"supplier_id",disable:"/shop/stock/management/transfer-request/add"!==this.router.url},{type:"input",key:"keyword",translateKey:"common_keyword",placeholder:"common_keyword"},{type:"chainSelect",key:"chain_id",disable:!0},{type:"numberComparison",key:"inventory_quantity",placeholder:"Inventory quantity",translateKey:"Inventory quantity"}],this.searchParams={supplier_id:"",chain_id:"",category_id:"",barcode:"",page:1},this.componentName="shopAddQuickPurchaseComponent",this.pageInfo={page:1,pageSize:20,total:0},this.dataSource=[],this.checkItems={},this.renderCheckItems=[],this.iconRegistry.addSvgIcon("full-screen",this.sanitizer.bypassSecurityTrustResourceUrl("/assets/images/full-screen.svg")),this.iconRegistry.addSvgIcon("unful-screen",this.sanitizer.bypassSecurityTrustResourceUrl("/assets/images/unful-screen.svg"))}ngOnInit(){this.router.url,this.setHeaders(),console.log("data:",this.data),this.data&&(this.searchParams.chain_id=this.data.filterdata.chain_id,this.searchParams.supplier_id=this.data.filterdata.supplier_id),this.getProdsS2CList(),this.renderCheckItems=this.data}setHeaders(){const ht=this.columns.find(Tt=>"product_quantity"===Tt.key);ht&&"/shop/stock/in-out/add-other-inbound/out"===this.router.url&&(ht.translationKey="OutboundQuantity"),ht&&"/shop/stock/in-out/add-other-inbound/in"===this.router.url&&(ht.translationKey="inbound_quantity"),ht&&"/shop/stock/management/transfer-request/add"===this.router.url&&(ht.translationKey="transfer_quantity"),ht&&"/shop/stock/in-out/purchase/purchas-and-stock-in-add-head"===this.router.url&&(ht.translationKey="current_inbound_quantity"),ht&&"/purchase/purchas-and-sales-return-add"===this.router.url&&(ht.translationKey="quantity_return")}getProdsS2CList(){this.productService.getProdsListS2C2(this.searchParams).subscribe(ht=>{this.dataSource=ht.data.map(Tt=>{Tt.inventory_quantity=Tt.product_quantity,Tt.product_barcode2=Tt.product_barcode2&&"[]"!==Tt.product_barcode2?Tt.product_barcode2:"--",Tt.total_product_price=0,Tt.total_product_tax_price=0,Tt.total_product_tax=0,Tt.product_quantity=0;const xe=this.purchaseServ.purchaseList.find(Nn=>Nn.id===Tt.id);return xe&&(Tt.inventory_quantity=xe.inventory_quantity,Tt.product_quantity=xe.product_quantity,Tt.total_product_price=xe.total_product_price,Tt.total_product_tax_price=xe.total_product_tax_price,Tt.total_product_tax=xe.total_product_tax),Tt}),this.pageInfo.total=ht.total},ht=>{console.log(ht)})}handleSubmit(){if(!this.renderCheckItems.every(Tt=>Tt.current_inbound_quantity))return void this.messsage.error(this.translate.instant("Please Enter Product Quantity"));const ht=new bt.T4;ht.inventoryId=this.data.filterdata.currentId,this.renderCheckItems.length&&this.renderCheckItems.forEac
1h(Tt=>{const xe=new bt.q9;xe.product_id=Tt.id,xe.product_quantity=Tt.product_quantity,ht.products.push(xe)}),console.log("post:",ht),this.serv.addProduct(ht).subscribe(Tt=>{console.log("res:",Tt),200==Tt.code?(this.messsage.successWithTranlate(Tt.msg),this.router.navigate(["/shop/stock/in-out/other-inbounds"]),this.dialogRef.close()):this.messsage.errorWithTranslate(Tt?.msg)})}handleSearch(ht){this.searchParams={...ht,page:1},this.getProdsS2CList()}handleCheckItem(ht){if(ht&&ht.length&&ht.length>500)this.messsage.error(this.translate.instant("items_oversize_msg"));else try{this.checkItems[`page${this.pageInfo.page}`]=ht;let Tt=[];for(let xe in this.checkItems)Tt=[...Tt,...this.checkItems[xe]];this.renderCheckItems=Tt}catch(Tt){console.log(Tt)}}handleReset(){this.searchParams={supplier_id:"",chain_id:"",category_id:"",barcode:"",page:1},this.getProdsS2CList()}handleChangePaginator(ht){this.pageInfo.page=ht.page,this.searchParams.page=ht.page,this.getProdsS2CList()}handleDelete(ht){this.renderCheckItems=this.renderCheckItems.filter(Tt=>ht.id!==Tt.id)}handleChangeInput({event:ht,item:Tt}){const xe=this.renderCheckItems.find(Nn=>Nn.id===Tt.id);ht.target.value>0?xe.purchased_quantity=ht.target.value:this.messsage.error(this.translate.instant("required_positive_number"))}clickCancel(){this.dialogRef.close()}handleFulScreen(){this.isFulScreen=!this.isFulScreen;const ht=this.isFulScreen?"100%":"95%";this.dialogRef.updateSize(ht,ht)}};Dt.ctorParameters=()=>[{type:V.r},{type:m.uU},{type:Nt.sK},{type:kt.so},{type:void 0,decorators:[{type:nt.tBr,args:[kt.WI]}]},{type:Q.I},{type:re.jv},{type:ct.H7},{type:Y.a},{type:wt.F0},{type:yt.w}],Dt.propDecorators={drawer:[{type:nt.i9L,args:[Ft.jA,{static:!0}]}],stepper:[{type:nt.i9L,args:[qt.ae,{static:!0}]}],commonForm:[{type:nt.i9L,args:[Ct.V,{static:!0}]}]},Dt=(0,lt.gn)([(0,nt.wA2)({selector:"app-add-quick-products",template:'<div>\n <div class="w-100 d-flex justify-content-end">\n <button mat-icon-button (click)="handleFulScreen()">\n <mat-icon style="width: 24px; height: 24px;" [svgIcon]="isFulScreen?\'full-screen\':\'unful-screen\'"></mat-icon>\n </button>\n <button mat-icon-button [mat-dialog-close]="false">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <div class="row add-quick_warp">\n <div class="col-lg-12">\n <app-common-search-list-table [formColumn]="searchFormDataSource" (onCheckChange)="handleCheckItem($event)"\n [checkSelectedList]="renderCheckItems" [dataSource]="dataSource" [isShowAdd]="false" [data]="data"\n [isShowDisplayColumn]="true" [columns]="columns" [uniqueTableKey]="componentName" [pageInfo]="pageInfo"\n (onSubmit)="handleSearch($event)" (onReset)="handleReset()" (pageChange)="handleChangePaginator($event)">\n </app-common-search-list-table>\n </div>\n </div>\n\n <div class="row mt-3 d-flex justify-content-center">\n <div class="col-12 text-center mt-3">\n <button class="btn btn-primary btn-min-width" (click)="handleSubmit()">{{ \'Submit\' | translate}}</button>\n </div>\n </div>\n</div>\n',styles:[".add-quick_warp::ng-deep .button-warp {\n padding: 0;\n}"]})],Dt)},89329:(ut,mt,F)=>{"use strict";F.d(mt,{Y:()=>m});var lt=F(97582);var Ct=F(65938),kt=F(30850),Q=F(42019),Nt=F(94650);let m=class{constructor(nt,ct,Y,wt){this.dialogRef=nt,this.categoriesService=ct,this.WareHouseService=Y,this.data=wt,this.productToPurchase=[]}ngOnInit(){this.onGetCategoryList()}onGetCategoryList(){this.categoriesService.getCategories().subscribe(nt=>{this.catList=nt,this.categoryData=this.catList.data})}onNoClick(){this.dialogRef.close(this.newProduct)}addProduct(nt,ct,Y,wt,re,qt,Ft){var yt={product_name:nt,product_barcode:wt,tax_rate:re,category_id:qt,product_quantity:Ft,product_description:ct,cost_price:Y};this.newProduct=yt,this.productToPurchase.push(yt);var bt={products:this.productToPurchase},Dt=this.data.purchaseId;return this.WareHouseService.addNewProductToPurchase(bt,Dt).subscribe(Wt=>{this.dialogRef.close(this.newProduct)})}};m.ctorParameters=()=>[{type:Ct.so},{type:Q.G},{type:kt.l},{type:void 0,decorators:[{type:Nt.tBr,args:[Ct.WI]}]}],m=(0,lt.gn)([(0,Nt.wA2)({selector:"app-add-product-to-manual-purchase",template:'<span style=" width: 5%;\nmargin-left: 98%; cursor: pointer;" (click)="onNoClick()">\n <img src="../../../../assets/images/close.svg">\n</span>\n<div class="p-3 bg-white rounded">\n <div>\n <p style="size: 50px;">{{"Add-a-newProduct"|translate}} </p>\n <mat-divider style="margin-bottom: 30px;"></mat-divider>\n </div>\n <form class="form-group row g-3 container_form" >\n <div class="form-group col-md-6">\n <mat-form-field appearance="outline" class="form-element">\n <mat-label>{{"product_name"|translate}}<span style="color: red;">*</span></mat-label>\n <input type="text" matInput placeholder="{{\'product_name\'|translate}}" #product_name >\n\n </mat-form-field>\n </div>\n <div class="form-group col-md-6">\n <mat-form-field appearance="outline" class="form-element">\n <mat-label>{{"product_desc"|translate}}<span style="color: red;">*</span></mat-label>\n <input type="text" matInput placeholder="{{\'product_desc\'|translate}}" #product_description >\n </mat-form-field>\n </div>\n <div class="form-group col-md-6">\n <mat-form-field appearance="outline" class="form-element">\n <mat-label>{{"Product-Price"|translate}}<span style="color: red;">*</span></mat-label>\n <input type="text" matInput placeholder="{{\'Product-Price\'|translate}}" #cost_price >\n </mat-form-field>\n </div>\n <div class="form-group col-md-6">\n <mat-form-field appearance="outline" class="form-element">\n <mat-label>{{"product_barcode"|translate}}<span style="color: red;">*</span></mat-label>\n <input type="text" matInput placeholder="{{\'product_barcode\'|translate}}" #product_barcode >\n\n </mat-form-field>\n </div>\n <div class="form-group col-md-6">\n <mat-form-field appearance="outline" class="form-element">\n <mat-label>{{"taxe_rate"|translate}}<span style="color: red;">*</span></mat-label>\n <input type="text" matInput placeholder="Unite" #tax_rate >\n\n </mat-form-field>\n </div>\n <div class="form-group col-md-6">\n <mat-form-field appearance="outline" class="form-element">\n <mat-label>{{"categ_namee" | translate}}</mat-label>\n <mat-select #cat_id>\n\n <mat-option *ngFor="let category of categoryData" [value]="category.id"> {{category.category_name}}</mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n <div class="form-group col-md-6">\n <mat-form-field appearance="outline" class="form-element">\n <mat-label>{{"Product-Quantity" | translate}}<span style="color: red;">*</span></mat-label>\n <input type="text" matInput placeholder="Unite" #product_quantity >\n\n </mat-form-field>\n </div>\n\n\n </form>\n <div style=" width: 100%;display: flex; justify-content: center;">\n <button (click)="onNoClick()" type="submit" mat-raised-button\n style="background-color: red; margin-right: 10px;">\n\n {{\'common_cancel\' | translate}}</button>\n <button mat-raised-button (click)="addProduct(product_name.value,product_description.value,cost_price.value,product_barcode.value,tax_rate.value,cat_id.value,product_quantity.value)" style="background-color: green;">\n <i class="fas fa-check" aria-hidden="true"></i> {{\'Add\' | translate}}</button>\n </div>\n </div>\n',styles:[""]})],m)},88490:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{E:()=>DetailManualPurchaseComponent});var tslib__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(97582),_detail_manual_purchase_component_html_ngResource__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(60982),_detail_manual_purchase_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(6192),_shared_loading_loading_dialog_service__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(98046),src_app_shared_services_purchase_service__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(9991),_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(89383),_add_product_to_manual_purchase_add_product_to_manual_purchase_component__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(89329),src_app_shared_services_excel_service__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(58219),_angular_router__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(44476),_angular_material_dialog__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(65938),src_app_shared_services_warehouse_service__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(30850),_angular_core__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(94650),_angular_common_http__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(80529),_services_purchase_purchase_service__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(20874),_angular_common__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(36895);let DetailManualPurchaseComponent=class{constructor(ut,mt,F,lt,j,xt,Ct,kt,Q,Nt){this.WareHouseService=ut,this.dialog=mt,this.router=F,this.datepipe=lt,this.excelService=j,this.http=xt,this.translate=Ct,this.purchaseService=kt,this.loadingService=Q,this.purchaseServ=Nt,this.dataSource=[],this.editremark="",this.products=[],this.columns=[{key:"idd",translationKey:"Id",type:"number"},{key:"product_image",translationKey:"common_image",type:"image",sort:!1},{type:"barcode",translationKey:"product_barcode",key:"product_barcode"},{type:"text",translationKey:"product_name",key:"product_name"},{type:"text",translationKey:"product_name2",key:"product_name2"},{type:"number",translationKey:"product_number",key:"product_number"},{type:"number",translationKey:"shelf_number",key:"shelf_number"},{type:"price",translationKey:"Product Price",key:"cost_price"},{type:"number",translationKey:"Inventory quantity",key:"inventory_quantity"},{type:"number",translationKey:"common_purchaseQuantity",key:"product_quantity"},{type:"number",translationKey:"Tax Rate",key:"tax_rate"}
1,{type:"price",translationKey:"Tax_amount",key:"total_product_tax"},{type:"price",translationKey:"Total price",key:"total_price"},{type:"price",translationKey:"Total Taxes Price",key:"total_product_tax_price"}],this.pageInfo={page:1,pageSize:20,total:0},this.allProductPrice=0,this.afterTaxRatePrice=0,this.code=localStorage.getItem("curr"),this.companyInfo={},this.totalQuantity=0,this.totalPrice=0,this.totalTaxe=0,this.totalTaxPrice=0,this.currencySymbol=localStorage.getItem("currency_user"),this.totalTaxAmount=0,this.totalAmount=0,this.fontsize=14,this.font_size=14,this.formColumn=[],this.showbarcode=!1,this.printfile=!0,this.currTableColumns=[],this.filteredArray=[],this.arrayConvertedImages=[],F.params.subscribe(m=>{this.currentId=m.id})}getStyle(item){var align="center",fontsize=this.fontsize;if(null!=item.align&&"right"==item.align&&(align="right"),null!=item.align&&"left"==item.align&&(align="left"),item.key)return{fontSize:this.fontsize,width:"120px",margin:"0"};if("product_barcode"===item.key)return{width:"80px",fontSize:this.fontsize};if("idd"===item.key)return{width:"10px",fontSize:this.fontsize};var strStyle="";switch(strStyle+="{",item.type){case"price":case"text":case"image":default:strStyle+="'width':'80px'";break;case"number ":strStyle+="'margin':'0 !important','width':'10px','text-align':'left'"}return strStyle+="}",eval("("+strStyle+")")}getDetail(){this.loadingService.openDialog(),this.purchaseServ.getDetail(this.currentId).subscribe(ut=>{this.loadingService.hideDialog(),ut.created_at=this.datepipe.transform(new Date(ut.created_at+"Z"),"yyyy-MM-dd HH:mm:ss"),this.currentPurchaseData=ut,this.descriptionSupplier=ut.supplier.description})}getDetailPrducts(){this.purchaseServ.getDetailProducts(this.currentId,this.pageInfo.page).subscribe(ut=>{if(ut.data){this.pageInfo.total=ut.total,this.products=[...ut.data];const mt=[];mt.push({id:null,url:this.currentPurchaseData?.chain?.chain_img?this.currentPurchaseData.chain.chain_img:null});const F=[];ut.data.forEach((j,xt)=>{j.idd=xt+1,j.product_number=j.product_number?j.product_number:"--",j.inventory_quantity=j?.product?.product_quantity,j.total_price=j.cost_price*j.product_quantity,this.totalQuantity=this.totalQuantity+j.product_quantity,this.totalTaxAmount=this.totalTaxAmount+j.total_product_tax,this.totalAmount=this.totalAmount+j.total_product_tax_price,this.allProductPrice=this.allProductPrice+j.total_price,this.afterTaxRatePrice=this.afterTaxRatePrice+j.total_price/j.tax_rate*100,F.push(j)});let lt=mt.filter(j=>null!==j.url);lt.length>0&&this.purchaseService.convertArray(JSON.stringify(lt)).subscribe(j=>{this.arrayConvertedImages=j.data}),this.rowinitial={idd:"empty",product_quantity:this.totalQuantity,product_image:"empty",product_barcode:"empty",product_name:"empty",product_name2:"empty",product_number:"empty",shelf_number:"empty",cost_price:"empty",tax_rate:"empty",total_product_tax:this.totalTaxAmount,total_price:this.allProductPrice,total_product_tax_price:this.totalAmount},this.dataSource=[...F,this.rowinitial],this.editremark=ut.data.remark}})}ngOnInit(){this.getDetail(),this.getDetailPrducts(),this.http.get("../../../../../../assets/images/logo2.png",{responseType:"blob"}).subscribe(ut=>{const mt=new FileReader;mt.onloadend=()=>{var F=mt.result;this.notfoundImage=F},mt.readAsDataURL(ut)});for(let ut=0;ut<this.columns.length;ut++){let mt=this.columns[ut];this.currTableColumns.push(mt.key)}this.logoCompony=localStorage.getItem("logo_user"),localStorage.getItem("companyInfo")&&(this.companyInfo=JSON.parse(localStorage.getItem("companyInfo")))}headerElement(ut){this.hearderTable=ut}changeCurrency(ut){this.currencySymbol=ut.symbol}changeRemark(ut){this.WareHouseService.editRemark(ut,this.currentId).subscribe(mt=>{})}getFontsize(ut){this.fontsize=ut}changeBarcode(ut){this.showbarcode=ut}getBase64(ut){let F=ut.target.files[0],lt=new FileReader;lt.readAsDataURL(F),lt.onload=function(){},lt.onerror=function(j){console.log("Error: ",j)}}onGetPurchaseById(){let ut=[];return this.WareHouseService.getS2cPurchaseById(this.currentId).subscribe(mt=>{this.currentPurchaseData=mt.data,this.descriptionSupplier=mt.data.supplier.description;const F=[];ut.push({id:null,url:mt.data.chain.chain_img?mt.data.chain.chain_img:null}
1),mt.data.purchase_products.forEach((j,xt)=>{ut.push({id:j.id,url:j.product_image?j.product_image:null}),j.idd=xt+1,j.product_number=j.product.product_number?j.product.product_number:"--",j.inventory_quantity=j.product.product_quantity,j.total_price=j.cost_price*j.product_quantity,this.totalQuantity=this.totalQuantity+j.product_quantity,this.totalTaxAmount=this.totalTaxAmount+j.total_product_tax,this.totalAmount=this.totalAmount+j.total_product_tax_price,this.allProductPrice=this.allProductPrice+j.total_price,this.afterTaxRatePrice=this.afterTaxRatePrice+j.total_price/j.tax_rate*100,F.push(j)});let lt=ut.filter(j=>null!==j.url);lt.length>0&&this.purchaseService.convertArray(JSON.stringify(lt)).subscribe(j=>{this.arrayConvertedImages=j.data}),this.rowinitial={idd:"empty",product_quantity:this.totalQuantity,product_image:"empty",product_barcode:"empty",product_name:"empty",product_name2:"empty",product_number:"empty",shelf_number:"empty",cost_price:"empty",tax_rate:"empty",total_product_tax:this.totalTaxAmount,total_price:this.allProductPrice,total_product_tax_price:this.totalAmount},this.dataSource=[...F,this.rowinitial],this.editremark=mt.data.remark,this.loadingService.hideDialog()},mt=>{this.loadingService.hideDialog()})}print(){window.print()}getColumns(ut){this.lengthColumns=ut.length}addProductToOldPurchase(){let ut=this.currentId;this.dialog.open(_add_product_to_manual_purchase_add_product_to_manual_purchase_component__WEBPACK_IMPORTED_MODULE_4__.Y,{width:"800px",data:{purchaseId:ut},height:"800px"}).afterClosed().subscribe(F=>{F&&this.currentPurchaseData.products.push(F)})}exportAsExcel(){this.descriptionSupplier.replace(/\n/g,'"');let F=[];if(this.filteredArray=this.columns.filter(xt=>this.currTableColumns.some(Ct=>xt.key===Ct)),this.arrayConvertedImages.length>0)for(let xt=0;xt<this.dataSource.length-1;xt++)F=this.arrayConvertedImages.filter(Ct=>Ct.id===this.dataSource[xt].id),F.length>0?this.dataSource[xt].product_image=F[0].image:this.dataSource[xt].product_image=null;const lt=[];try{lt.push([null,null,null,`${this.currentPurchaseData.chain.chain_img?this.arrayConvertedImages[0].image:this.notfoundImage}`,`${this.translate.instant("Purchase Order")}`,null,null,null]),lt.push([null,null,null,null,`${this.translate.instant("Number")}: ${this.currentPurchaseData.order_number?this.currentPurchaseData.order_number:" --"}`,null,null,null,null,null,null,null,null,null,null]),lt.push([null,null,null,null,`${this.translate.instant("purchase_order_date")}: ${this.currentPurchaseData.created_at?this.currentPurchaseData.created_at:" --"}`,null,null,null,null,null,null,null,null,null,null]),lt.push([]),lt.push([]),lt.push([`${this.translate.instant("company-name")}: ${this.currentPurchaseData.chain&&this.currentPurchaseData.chain.chain_name?this.currentPurchaseData.chain.chain_name:" --"}`,null,null,null,null,null,null,null,null,null,null,`${this.translate.instant("company-name")}: ${this.currentPurchaseData.supplier&&this.currentPurchaseData.supplier.company_name?this.currentPurchaseData.supplier.company_name:" --"}`]),lt.push([`${this.translate.instant("company_tax_number")}: ${this.currentPurchaseData.chain&&this.currentPurchaseData.chain.tax_number?this.currentPurchaseData.chain.tax_number:" --"}`,null,null,null,null,null,null,null,null,null,null,`${this.translate.instant("company_tax_number")}: ${this.currentPurchaseData.supplier&&this.currentPurchaseData.supplier.tax_number?this.currentPurchaseData.chain.tax_number:" --"}`]),lt.push([`${this.translate.instant("company_person_contact")}: ${this.currentPurchaseData.chain&&this.currentPurchaseData.chain.contact?this.currentPurchaseData.chain.contact:" --"}`,null,null,null,null,null,null,null,null,null,null,`${this.translate.instant("company_person_contact")}: ${this.currentPurchaseData.supplier&&this.currentPurchaseData.supplier.contact?this.currentPurchaseData.supplier.contact:" --"}`]),lt.push([`${this.translate.instant("company_address")}: ${this.currentPurchaseData.chain&&this.currentPurchaseData.chain.adress?this.currentPurchaseData.chain.adress:" --"}`,null,null,null,null,null,null,null,null,null,null,`${this.translate.instant("company_address")}: ${this.currentPurchaseData.supplier&&this.currentPurchaseData.supplier.adress?this.currentPurchaseData.supplier.adress:" --"}`]),lt.push([`${this.translate.instant("company_website")}: ${this.currentPurchaseData.chain&&this.currentPurchaseData.chain.website?this.currentPurchaseData.chain.website:" --"}`,null,null,null,null,null,null,null,null,null,null,`${this.translate.instant("company_website")}: ${this.currentPurchaseData.supplier&&this.currentPurchaseData.supplier.website?this.currentPurchaseData.supplier.website:" --"}
1`]),lt.push([`${this.translate.instant("company_shipping_date")}: ${this.currentPurchaseData.chain&&this.currentPurchaseData.chain.shipping_date?this.currentPurchaseData.chain.shipping_date:" --"}`,null,null]),lt.push([`${this.translate.instant("company_shipping_address")}: ${this.currentPurchaseData.chain&&this.currentPurchaseData.chain.shipping_address?this.currentPurchaseData.chain.shipping_address:" --"}`,null,null]),lt.push([]),lt.push([]),lt.push(this.filteredArray.map(xt=>this.translate.instant(xt.translationKey))),console.log("222222222222111111",[this.dataSource,this.filteredArray]),this.dataSource.forEach(xt=>{const Ct=[];this.filteredArray.forEach(kt=>{if("empty"==xt[kt.key])Ct.push("");else if("number"==typeof xt[kt.key]&&0===xt[kt.key])Ct.push(0);else if(xt[kt.key])if("product_barcode"===kt.key)Ct.push(xt[kt.key].toString());else if("price"==kt.type)if(isNaN(Number(xt[kt.key])))console.error("Value is not a number:",xt[kt.key]);else{let Q=Number(xt[kt.key]).toFixed(2);console.log(Q),Ct.push(Q)}else Ct.push(xt[kt.key]);else Ct.push("--")}),lt.push(Ct)}),lt.push([]),lt.push([]),lt.push([null,null,null,null,null,null,null,null,null,null,null,this.translate.instant("Total price")+": "+this.currentPurchaseData.total_price+" "+this.currencySymbol]),lt.push([this.currentPurchaseData.supplier.description?this.translate.instant(this.currentPurchaseData.supplier.description):"",null,null,null,null,null,null,null,null,null,null,this.translate.instant("Tax_amount")+": "+this.currentPurchaseData.total_tax+" "+this.currencySymbol]),lt.push([this.translate.instant("Information come from supplier describe"),null,null,null,null,null,null,null,null,null,null,this.translate.instant("Total Taxes Price")+": "+this.currentPurchaseData.total_tax_price+" "+this.currencySymbol]),lt.push([]),lt.push([]),lt.push([this.translate.instant("Sign")+": ",null,null,null,null,null,null,null,null,null,null,this.translate.instant("Sign")+": "]),lt.push([]),lt.push([this.translate.instant("common_date")+": ",null,null,null,null,null,null,null,null,null,null,this.translate.instant("common_date")+": "]),lt.push([]),lt.push([this.translate.instant("expiration_date")+": ",null,null,null,null,null,null,null,null,null,null,this.translate.instant("expiration_date")+": "]),lt.push([]),lt.push([this.translate.instant("remark")+": "+this.currentPurchaseData.remark?this.currentPurchaseData.remark:" -- ",null,null,null,null,null,null,null,null,null,null]);this.excelService.generateExcel(lt,null,this.translate.instant("Purchase Order"),[2,3,4,5,6,7,8,9,10,11,12,13])}catch(xt){console.log(xt)}}handleChangePaginator(ut){this.pageInfo.page=ut.page,this.getDetailPrducts()}};DetailManualPurchaseComponent.ctorParameters=()=>[{type:src_app_shared_services_warehouse_service__WEBPACK_IMPORTED_MODULE_6__.l},{type:_angular_material_dialog__WEBPACK_IMPORTED_MODULE_8__.uw},{type:_angular_router__WEBPACK_IMPORTED_MODULE_9__.gz},{type:_angular_common__WEBPACK_IMPORTED_MODULE_10__.uU},{type:src_app_shared_services_excel_service__WEBPACK_IMPORTED_MODULE_5__.x},{type:_angular_common_http__WEBPACK_IMPORTED_MODULE_11__.eN},{type:_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__.sK},{type:src_app_shared_services_purchase_service__WEBPACK_IMPORTED_MODULE_3__.B},{type:_shared_loading_loading_dialog_service__WEBPACK_IMPORTED_MODULE_2__.E},{type:_services_purchase_purchase_service__WEBPACK_IMPORTED_MODULE_7__.B}],DetailManualPurchaseComponent=(0,tslib__WEBPACK_IMPORTED_MODULE_13__.gn)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_14__.wA2)({selector:"app-detail-manual-purchase",template:_detail_manual_purchase_component_html_ngResource__WEBPACK_IMPORTED_MODULE_0__,styles:[_detail_manual_purchase_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__]})],DetailManualPurchaseComponent)},81363:(ut,mt,F)=>{"use strict";F.d(mt,{a:()=>m});var lt=F(97582),j=F(94650),xt=F(21086),Ct=F(27221),kt=F(24850),Q=F(98046),Nt=F(30850);let m=class{constructor(nt,ct){this.WareHouseService=nt,this.loadingService=ct,this.purchaseList=[]}getPurchaseById(nt){if(nt)return this.loadingService.openDialog(),this.WareHouseService.getS2cPurchaseWithProductById(nt).pipe((0,Ct.K)(ct=>(this.loadingService.hideDialog(),(0,xt.of)(ct))),(0,kt.U)(ct=>(this.loadingService.hideDialog(),this.purchaseList=ct.data.purchaseProducts.data.map(Y=>({...Y,total_product_price:Y.product_quantity*Y.cost_price,total_product_tax:Y.product_quantity*Y.cost_price*(Y.tax_rate/100),total_product_tax_price:Y.product_quantity*Y.cost_price+Y.product_quantity*Y.cost_price*(Y.tax_rate/100),product_barcode2:Y.product_barcode2&&"[]"!==Y.product_barcode2?Y.product_barcode2:"--"})),ct.data)))}};m.ctorParameters=()=>[{type:Nt.l},{type:Q.E}],m=(0,lt.gn)([(0,j.GSi)({providedIn:"root"})],m)},15068:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>B2bDetailOrdersListComponent});var tslib__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(97582),_b2b_detail_orders_list_component_html_ngResource__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(16565),_b2b_detail_orders_list_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(18915),_shared_loading_loading_dialog_service__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(98046),src_app_shared_services_purchase_service__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(9991),_ngx_translate_core__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(89383),src_app_shared_services_excel_service__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(58219),_angular_router__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(44476),_angular_material_dialog__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(65938),src_app_shared_services_warehouse_service__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(30850),_angular_core__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(94650),_angular_common_http__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(80529),_services_purchase_purchase_service__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(20874),src_app_shared_services_order_service_service__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(56834);let B2bDetailOrdersListComponent=class{constructor(ut,mt,F,lt,j,xt,Ct,kt,Q,Nt,m){this.WareHouseService=ut,this.dialog=mt,this.router=F,this.orderService=lt,this.excelService=j,this.http=xt,this.translate=Ct,this.purchaseService=kt,this.loadingService=Q,this.purchaseServ=Nt,this.ngRouter=m,this.dataSource=[],this.editremark="",this.products=[],this.columns=[{key:"id",translationKey:"Id",type:"number"},{key:"product_image",translationKey:"common_image",type:"image",sort:!1},{type:"barcode",translationKey:"product_barcode",key:"product_barcode"},{type:"text",translationKey:"product_name",key:"product_name"},{type:"text",translationKey:"product_name2",key:"product_name2"},{type:"number",translationKey:"product_number",key:"product_number"},{type:"number",translationKey:"shelf_number",key:"shelf_number"},{type:"price",translationKey:"item_unit_price_notax",key:"item_unit_price"},{type:"price",translationKey:"Discounted-Price",key:"item_discounted_price"},{type:"price",translationKey:"Member Price",key:"item_member_price"},{type:"number",translationKey:"Inventory quantity",key:"inventory_quantity"},{type:"number",translationKey:"common_purchaseQuantity",key:"product_quantity"},{type:"number",translationKey:"Tax Rate",key:"tax_rate"}
1,{type:"price",translationKey:"Tax_amount",key:"total_product_tax"},{type:"price",translationKey:"Total price no Tax",key:"total_price"},{type:"price",translationKey:"Total Taxes Price",key:"total_product_tax_price"}],this.pageInfo={page:1,pageSize:20,total:0},this.allProductPrice=0,this.afterTaxRatePrice=0,this.code=localStorage.getItem("curr"),this.companyInfo={},this.totalQuantity=0,this.totalPrice=0,this.totalTaxe=0,this.totalTaxPrice=0,this.currencySymbol=localStorage.getItem("currency_user"),this.totalTaxAmount=0,this.totalAmount=0,this.fontsize=14,this.font_size=14,this.formColumn=[],this.showbarcode=!1,this.printfile=!0,this.currTableColumns=[],this.filteredArray=[],this.arrayConvertedImages=[],F.params.subscribe(V=>{this.currentId=V.id})}goCreatePicking(){this.ngRouter.navigate(["/shop/b2b-fulfillment/picking/create"],{queryParams:{order_id:this.currentId}})}getStyle(item){var align="center",fontsize=this.fontsize;if(null!=item.align&&"right"==item.align&&(align="right"),null!=item.align&&"left"==item.align&&(align="left"),item.key)return{fontSize:this.fontsize,width:"120px",margin:"0"};if("product_barcode"===item.key)return{width:"80px",fontSize:this.fontsize};if("idd"===item.key)return{width:"10px",fontSize:this.fontsize};var strStyle="";switch(strStyle+="{",item.type){case"price":case"text":case"image":default:strStyle+="'width':'80px'";break;case"number ":strStyle+="'margin':'0 !important','width':'10px','text-align':'left'"}return strStyle+="}",eval("("+strStyle+")")}getDetail(){this.loadingService.openDialog(),this.orderService.getSalesOrderDetail(this.currentId).subscribe(ut=>{this.loadingService.hideDialog(),this.currentPurchaseData=ut.data,"B2B"===ut.data.source?this.currentPurchaseData.buyer=ut.data.customer:"S2C"===ut.data.source&&(this.currentPurchaseData.buyer=ut.data.member)})}getDetailPrducts(){this.orderService.getDetailProducts(this.currentId,this.pageInfo.page,this.pageInfo.pageSize).subscribe(ut=>{if(ut&&ut.data){this.pageInfo.total=ut.total,this.products=[...ut.data];const mt=[];mt.push({id:null,url:this.currentPurchaseData?.chain?.chain_img?this.currentPurchaseData.chain.chain_img:null});const F=[];ut.data.forEach((j,xt)=>{j.idd=xt+1,j.product_number=j.product_number?j.product_number:"--",j.inventory_quantity=j?.product?.product_quantity,j.product_quantity=j.order_item_quantity,j.total_price=j.order_item_payment_amount,j.inventory_quantity=j.product_quantity,j.total_product_tax=j.order_item_payment_amount*j.item_rate/100,j.total_product_tax_price=j.order_item_payment_amount+j.total_product_tax,j.tax_rate=j.item_rate,this.totalQuantity=this.totalQuantity+j.product_quantity,this.totalTaxAmount=this.totalTaxAmount+j.total_product_tax,this.totalAmount=this.totalAmount+j.total_product_tax_price,this.allProductPrice=this.allProductPrice+j.total_price,this.afterTaxRatePrice=this.afterTaxRatePrice+j.total_price/j.tax_rate*100,console.log("item",j),F.push(j)});let lt=mt.filter(j=>null!==j.url);lt.length>0&&this.purchaseService.convertArray(JSON.stringify(lt)).subscribe(j=>{this.arrayConvertedImages=j.data}),this.rowinitial={idd:"empty",product_quantity:this.totalQuantity,product_image:"empty",product_barcode:"empty",product_name:"empty",product_name2:"empty",product_number:"empty",item_unit_price:"empty",shelf_number:"empty",cost_price:"empty",tax_rate:"empty",total_product_tax:this.totalTaxAmount,total_price:this.allProductPrice,total_product_tax_price:this.totalAmount},this.dataSource=[...F,this.rowinitial],this.editremark=ut.data.remark}})}ngOnInit(){this.getDetail(),this.getDetailPrducts(),this.http.get("../../../../../../assets/images/logo2.png",{responseType:"blob"}).subscribe(ut=>{const mt=new FileReader;mt.onloadend=()=>{var F=mt.result;this.notfoundImage=F},mt.readAsDataURL(ut)});for(let ut=0;ut<this.columns.length;ut++){let mt=this.columns[ut];this.currTableColumns.push(mt.key)}this.logoCompony=localStorage.getItem("logo_user"),localStorage.getItem("companyInfo")&&(this.companyInfo=JSON.parse(localStorage.getItem("companyInfo")))}headerElement(ut){this.hearderTable=ut}changeCurrency(ut){this.currencySymbol=ut.symbol}changeRemark(ut){this.orderService.changeRemark(this.currentId,ut).subscribe(()=>{})}getFontsize(ut){this.fontsize=ut}changeBarcode(ut){this.showbarcode=ut}getBase64(ut){let F=ut.target.files[0],lt=new FileReader;
1lt.readAsDataURL(F),lt.onload=function(){},lt.onerror=function(j){console.log("Error: ",j)}}onGetPurchaseById(){let ut=[];return this.WareHouseService.getS2cPurchaseById(this.currentId).subscribe(mt=>{this.currentPurchaseData=mt.data,this.descriptionSupplier=mt.data.supplier.description;const F=[];ut.push({id:null,url:mt.data.chain.chain_img?mt.data.chain.chain_img:null}),mt.data.purchase_products.forEach((j,xt)=>{ut.push({id:j.id,url:j.product_image?j.product_image:null}),j.idd=xt+1,j.product_number=j.product.product_number?j.product.product_number:"--",j.inventory_quantity=j.product.product_quantity,j.total_price=j.cost_price*j.product_quantity,this.totalQuantity=this.totalQuantity+j.product_quantity,this.totalTaxAmount=this.totalTaxAmount+j.total_product_tax,this.totalAmount=this.totalAmount+j.total_product_tax_price,this.allProductPrice=this.allProductPrice+j.total_price,this.afterTaxRatePrice=this.afterTaxRatePrice+j.total_price/j.tax_rate*100,F.push(j)});let lt=ut.filter(j=>null!==j.url);lt.length>0&&this.purchaseService.convertArray(JSON.stringify(lt)).subscribe(j=>{this.arrayConvertedImages=j.data}),this.rowinitial={idd:"empty",product_quantity:this.totalQuantity,product_image:"empty",product_barcode:"empty",product_name:"empty",product_name2:"empty",product_number:"empty",shelf_number:"empty",cost_price:"empty",tax_rate:"empty",total_product_tax:this.totalTaxAmount,total_price:this.allProductPrice,total_product_tax_price:this.totalAmount},this.dataSource=[...F,this.rowinitial],this.editremark=mt.data.remark,this.loadingService.hideDialog()},mt=>{this.loadingService.hideDialog()})}print(){$("#forPrint").css("display","none"),$("#forPrint").after('<div id="tmp_div" style="height:40px"></div>'),window.print(),$("#forPrint").css("display",""),$("#tmp_div").remove()}
1printList(){$("#forPrint").css("display","none"),$("#forPrint").after('<div id="tmp_div" style="height:40px"></div>'),$("#printList_ignore_componey").css("display","none"),$("#printList_ignore_sign").css("display","none"),window.print(),$("#forPrint").css("display",""),$("#tmp_div").remove(),$("#printList_ignore_componey").css("display",""),$("#printList_ignore_sign").css("display","")}getColumns(ut){this.lengthColumns=ut.length}addProductToOldPurchase(){this.currentId}exportAsExcel(){let ut=[];if(this.filteredArray=this.columns.filter(lt=>this.currTableColumns.some(j=>lt.key===j)),this.arrayConvertedImages.length>0)for(let lt=0;lt<this.dataSource.length-1;lt++)ut=this.arrayConvertedImages.filter(j=>j.id===this.dataSource[lt].id),ut.length>0?this.dataSource[lt].product_image=ut[0].image:this.dataSource[lt].product_image=null;const mt=[];try{mt.push([null,null,null,`${this.currentPurchaseData.chain.chain_img&&this.arrayConvertedImages&&this.arrayConvertedImages.length>0?this.arrayConvertedImages[0].image:this.notfoundImage}`,`${this.translate.instant("Purchase Order")}`,null,null,null]),mt.push([null,null,null,null,`${this.translate.instant("Type")}: ${this.currentPurchaseData.source?this.currentPurchaseData.source:" --"}`,null,null,null,null,null,null,null,null,null,null]),mt.push([null,null,null,null,`${this.translate.instant("Number")}: ${this.currentPurchaseData.order_number?this.currentPurchaseData.order_number:" --"}`,null,null,null,null,null,null,null,null,null,null]),mt.push([null,null,null,null,`${this.translate.instant("purchase_order_date")}: ${this.currentPurchaseData.created_at?this.currentPurchaseData.created_at:" --"}`,null,null,null,null,null,null,null,null,null,null]),mt.push([]),mt.push([]),mt.push(this.filteredArray.map(lt=>this.translate.instant(lt.translationKey))),this.dataSource.forEach(lt=>{const j=[];this.filteredArray.forEach(xt=>{if("empty"==lt[xt.key])j.push("");else if(lt[xt.key])if("product_barcode"===xt.key)j.push(lt[xt.key].toString());else if("price"==xt.type)if(isNaN(Number(lt[xt.key])))console.error("Value is not a number:",lt[xt.key]);else{let Ct=Number(lt[xt.key]).toFixed(2);console.log(Ct)}else j.push(lt[xt.key]);else j.push("--")}),mt.push(j)}),mt.push([]),mt.push([]),mt.push([null,null,null,null,null,null,null,null,null,null,null,this.translate.instant("Total price")+": "+(this.currentPurchaseData.order_payment_amount-.22*this.currentPurchaseData.order_payment_amount)+" "+this.currencySymbol]),mt.push([this.currentPurchaseData.supplier&&this.currentPurchaseData.supplier.description?this.translate.instant(this.currentPurchaseData.supplier.description):"",null,null,null,null,null,null,null,null,null,null,this.translate.instant("Tax_amount")+": "+.22*this.currentPurchaseData.order_payment_amount+" "+this.currencySymbol]),mt.push([this.translate.instant("Information come from supplier describe"),null,null,null,null,null,null,null,null,null,null,this.translate.instant("Total Taxes Price")+": "+this.currentPurchaseData.order_payment_amount+" "+this.currencySymbol]),mt.push([]),mt.push([]),mt.push([this.translate.instant("remark")+": "+this.currentPurchaseData.remark?this.currentPurchaseData.remark:" -- ",null,null,null,null,null,null,null,null,null,null]);this.excelService.generateExcel(mt,null,this.translate.instant("Purchase Order"),[2,3,4,5,6,7,8,9,10,11,12,13])}catch(lt){console.log(lt)}}handleChangePaginator(ut){this.pageInfo.page=ut.page,this.getDetailPrducts()}};B2bDetailOrdersListComponent.ctorParameters=()=>[{type:src_app_shared_services_warehouse_service__WEBPACK_IMPORTED_MODULE_5__.l},{type:_angular_material_dialog__WEBPACK_IMPORTED_MODULE_8__.uw},{type:_angular_router__WEBPACK_IMPORTED_MODULE_9__.gz},{type:src_app_shared_services_order_service_service__WEBPACK_IMPORTED_MODULE_7__.C},{type:src_app_shared_services_excel_service__WEBPACK_IMPORTED_MODULE_4__.x},{type:_angular_common_http__WEBPACK_IMPORTED_MODULE_10__.eN},{type:_ngx_translate_core__WEBPACK_IMPORTED_MODULE_11__.sK},{type:src_app_shared_services_purchase_service__WEBPACK_IMPORTED_MODULE_3__.B},{type:_shared_loading_loading_dialog_service__WEBPACK_IMPORTED_MODULE_2__.E},{type:_services_purchase_purchase_service__WEBPACK_IMPORTED_MODULE_6__.B},{type:_angular_router__WEBPACK_IMPORTED_MODULE_9__.F0}],B2bDetailOrdersListComponent=(0,tslib__WEBPACK_IMPORTED_MODULE_12__.gn)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_13__.wA2)({selector:"app-b2b-detail-orders-list",template:_b2b_detail_orders_list_component_html_ngResource__WEBPACK_IMPORTED_MODULE_0__,styles:[_b2b_detail_orders_list_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__]})],B2bDetailOrdersListComponent)},48291:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{a:()=>DetailOrdersListCashRegisterComponent});var tslib__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(97582),_detail_orders_list_cash_register_component_html_ngResource__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7447),_detail_orders_list_cash_register_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(57997),_shared_loading_loading_dialog_service__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(98046),src_app_shared_services_purchase_service__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(9991),_ngx_translate_core__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(89383),src_app_shared_services_excel_service__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(58219),_angular_router__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(44476),_angular_material_dialog__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(65938),src_app_shared_services_warehouse_service__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(30850),_angular_core__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(94650),_angular_common_http__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(80529),_services_purchase_purchase_service__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(20874),src_app_shared_services_order_service_service__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(56834);let DetailOrdersListCashRegisterComponent=class{constructor(ut,mt,F,lt,j,xt,Ct,kt,Q,Nt){this.WareHouseService=ut,this.dialog=mt,this.router=F,this.orderService=lt,this.excelService=j,this.http=xt,this.translate=Ct,this.purchaseService=kt,this.loadingService=Q,this.purchaseServ=Nt,this.dataSource=[],this.editremark="",this.products=[],this.columns=[{key:"id",translationKey:"Id",type:"number"},{key:"product_image",translationKey:"common_image",type:"image",sort:!1},{type:"barcode",translationKey:"product_barcode",key:"product_barcode"},{type:"text",translationKey:"product_name",key:"product_name"},{type:"text",translationKey:"product_name2",key:"product_name2"},{type:"number",translationKey:"product_number",key:"product_number"},{type:"number",translationKey:"shelf_number",key:"shelf_number"},{type:"price",translationKey:"item_unit_price",key:"item_unit_price"},{type:"number",translationKey:"Inventory quantity",key:"inventory_quantity"},{type:"number",translationKey:"common_purchaseQuantity",key:"product_quantity"},{type:"number",translationKey:"Tax Rate",key:"tax_rate"}
1,{type:"price",translationKey:"Tax_amount",key:"total_product_tax"},{type:"price",translationKey:"Total price",key:"total_price"},{type:"price",translationKey:"Total Taxes Price",key:"total_product_tax_price"}],this.pageInfo={page:1,pageSize:20,total:0},this.allProductPrice=0,this.afterTaxRatePrice=0,this.code=localStorage.getItem("curr"),this.companyInfo={},this.totalQuantity=0,this.totalPrice=0,this.totalTaxe=0,this.totalTaxPrice=0,this.currencySymbol=localStorage.getItem("currency_user"),this.totalTaxAmount=0,this.totalAmount=0,this.fontsize=14,this.font_size=14,this.formColumn=[],this.showbarcode=!1,this.printfile=!0,this.currTableColumns=[],this.filteredArray=[],this.arrayConvertedImages=[],F.params.subscribe(m=>{this.currentId=m.id})}getStyle(item){var align="center",fontsize=this.fontsize;if(null!=item.align&&"right"==item.align&&(align="right"),null!=item.align&&"left"==item.align&&(align="left"),item.key)return{fontSize:this.fontsize,width:"120px",margin:"0"};if("product_barcode"===item.key)return{width:"80px",fontSize:this.fontsize};if("idd"===item.key)return{width:"10px",fontSize:this.fontsize};var strStyle="";switch(strStyle+="{",item.type){case"price":case"text":case"image":default:strStyle+="'width':'80px'";break;case"number ":strStyle+="'margin':'0 !important','width':'10px','text-align':'left'"}return strStyle+="}",eval("("+strStyle+")")}getDetail(){this.loadingService.openDialog(),this.orderService.getSalesOrderDetail(this.currentId).subscribe(ut=>{this.loadingService.hideDialog(),this.currentPurchaseData=ut.data,"B2B"===ut.data.source?this.currentPurchaseData.buyer=ut.data.customer:"S2C"===ut.data.source&&(this.currentPurchaseData.buyer=ut.data.member)})}getDetailPrducts(){this.orderService.getDetailProducts(this.currentId,this.pageInfo.page,this.pageInfo.pageSize).subscribe(ut=>{if(ut&&ut.data){this.pageInfo.total=ut.total,this.products=[...ut.data];const mt=[];mt.push({id:null,url:this.currentPurchaseData?.chain?.chain_img?this.currentPurchaseData.chain.chain_img:null});const F=[];ut.data.forEach((j,xt)=>{j.idd=xt+1,j.product_number=j.product_number?j.product_number:"--",j.inventory_quantity=j?.product?.product_quantity,j.product_quantity=j.order_item_quantity,j.total_price=j.order_item_payment_amount,j.inventory_quantity=j.product_quantity,j.total_product_tax_price=j.order_item_payment_amount,j.total_product_tax=j.order_item_payment_amount*j.item_rate/100,j.tax_rate=j.item_rate,this.totalQuantity=this.totalQuantity+j.product_quantity,this.totalTaxAmount=this.totalTaxAmount+j.total_product_tax,this.totalAmount=this.totalAmount+j.total_product_tax_price,this.allProductPrice=this.allProductPrice+j.total_price,this.afterTaxRatePrice=this.afterTaxRatePrice+j.total_price/j.tax_rate*100,F.push(j)});let lt=mt.filter(j=>null!==j.url);lt.length>0&&this.purchaseService.convertArray(JSON.stringify(lt)).subscribe(j=>{this.arrayConvertedImages=j.data}),this.rowinitial={idd:"empty",product_quantity:this.totalQuantity,product_image:"empty",product_barcode:"empty",product_name:"empty",product_name2:"empty",product_number:"empty",item_unit_price:"empty",shelf_number:"empty",cost_price:"empty",tax_rate:"empty",total_product_tax:this.totalTaxAmount,total_price:this.allProductPrice,total_product_tax_price:this.totalAmount},this.dataSource=[...F,this.rowinitial],this.editremark=ut.data.remark}})}ngOnInit(){this.getDetail(),this.getDetailPrducts(),this.http.get("../../../../../../assets/images/logo2.png",{responseType:"blob"}).subscribe(ut=>{const mt=new FileReader;mt.onloadend=()=>{var F=mt.result;this.notfoundImage=F},mt.readAsDataURL(ut)});for(let ut=0;ut<this.columns.length;ut++){let mt=this.columns[ut];this.currTableColumns.push(mt.key)}this.logoCompony=localStorage.getItem("logo_user"),localStorage.getItem("companyInfo")&&(this.companyInfo=JSON.parse(localStorage.getItem("companyInfo")))}headerElement(ut){this.hearderTable=ut}changeCurrency(ut){this.currencySymbol=ut.symbol}changeRemark(ut){this.orderService.changeRemark(this.currentId,ut).subscribe(()=>{})}getFontsize(ut){this.fontsize=ut}changeBarcode(ut){this.showbarcode=ut}getBase64(ut){let F=ut.target.files[0],lt=new FileReader;
1lt.readAsDataURL(F),lt.onload=function(){},lt.onerror=function(j){console.log("Error: ",j)}}onGetPurchaseById(){let ut=[];return this.WareHouseService.getS2cPurchaseById(this.currentId).subscribe(mt=>{this.currentPurchaseData=mt.data,this.descriptionSupplier=mt.data.supplier.description;const F=[];ut.push({id:null,url:mt.data.chain.chain_img?mt.data.chain.chain_img:null}),mt.data.purchase_products.forEach((j,xt)=>{ut.push({id:j.id,url:j.product_image?j.product_image:null}),j.idd=xt+1,j.product_number=j.product.product_number?j.product.product_number:"--",j.inventory_quantity=j.product.product_quantity,j.total_price=j.cost_price*j.product_quantity,this.totalQuantity=this.totalQuantity+j.product_quantity,this.totalTaxAmount=this.totalTaxAmount+j.total_product_tax,this.totalAmount=this.totalAmount+j.total_product_tax_price,this.allProductPrice=this.allProductPrice+j.total_price,this.afterTaxRatePrice=this.afterTaxRatePrice+j.total_price/j.tax_rate*100,F.push(j)});let lt=ut.filter(j=>null!==j.url);lt.length>0&&this.purchaseService.convertArray(JSON.stringify(lt)).subscribe(j=>{this.arrayConvertedImages=j.data}),this.rowinitial={idd:"empty",product_quantity:this.totalQuantity,product_image:"empty",product_barcode:"empty",product_name:"empty",product_name2:"empty",product_number:"empty",shelf_number:"empty",cost_price:"empty",tax_rate:"empty",total_product_tax:this.totalTaxAmount,total_price:this.allProductPrice,total_product_tax_price:this.totalAmount},this.dataSource=[...F,this.rowinitial],this.editremark=mt.data.remark,this.loadingService.hideDialog()},mt=>{this.loadingService.hideDialog()})}print(){$("#forPrint").css("display","none"),$("#forPrint").after('<div id="tmp_div" style="height:40px"></div>'),window.print(),$("#forPrint").css("display",""),$("#tmp_div").remove()}
1printList(){$("#forPrint").css("display","none"),$("#forPrint").after('<div id="tmp_div" style="height:40px"></div>'),$("#printList_ignore_componey").css("display","none"),$("#printList_ignore_sign").css("display","none"),window.print(),$("#forPrint").css("display",""),$("#tmp_div").remove(),$("#printList_ignore_componey").css("display",""),$("#printList_ignore_sign").css("display","")}getColumns(ut){this.lengthColumns=ut.length}addProductToOldPurchase(){this.currentId}exportAsExcel(){let ut=[];if(this.filteredArray=this.columns.filter(lt=>this.currTableColumns.some(j=>lt.key===j)),this.arrayConvertedImages.length>0)for(let lt=0;lt<this.dataSource.length-1;lt++)ut=this.arrayConvertedImages.filter(j=>j.id===this.dataSource[lt].id),ut.length>0?this.dataSource[lt].product_image=ut[0].image:this.dataSource[lt].product_image=null;const mt=[];try{mt.push([null,null,null,`${this.currentPurchaseData.chain.chain_img&&this.arrayConvertedImages&&this.arrayConvertedImages.length>0?this.arrayConvertedImages[0].image:this.notfoundImage}`,`${this.translate.instant("Purchase Order")}`,null,null,null]),mt.push([null,null,null,null,`${this.translate.instant("Type")}: ${this.currentPurchaseData.source?this.currentPurchaseData.source:" --"}`,null,null,null,null,null,null,null,null,null,null]),mt.push([null,null,null,null,`${this.translate.instant("Number")}: ${this.currentPurchaseData.order_number?this.currentPurchaseData.order_number:" --"}`,null,null,null,null,null,null,null,null,null,null]),mt.push([null,null,null,null,`${this.translate.instant("purchase_order_date")}: ${this.currentPurchaseData.created_at?this.currentPurchaseData.created_at:" --"}`,null,null,null,null,null,null,null,null,null,null]),mt.push([]),mt.push([]),mt.push(this.filteredArray.map(lt=>this.translate.instant(lt.translationKey))),this.dataSource.forEach(lt=>{const j=[];this.filteredArray.forEach(xt=>{"empty"==lt[xt.key]?j.push(""):lt[xt.key]?"product_barcode"===xt.key?j.push(lt[xt.key].toString()):"price"==xt.type?j.push(lt[xt.key].toFixed(2)):j.push(lt[xt.key]):j.push("--")}),mt.push(j)}),mt.push([]),mt.push([]),mt.push([null,null,null,null,null,null,null,null,null,null,null,this.translate.instant("Total price")+": "+(this.currentPurchaseData.order_payment_amount-.22*this.currentPurchaseData.order_payment_amount)+" "+this.currencySymbol]),mt.push([this.currentPurchaseData.supplier&&this.currentPurchaseData.supplier.description?this.translate.instant(this.currentPurchaseData.supplier.description):"",null,null,null,null,null,null,null,null,null,null,this.translate.instant("Tax_amount")+": "+.22*this.currentPurchaseData.order_payment_amount+" "+this.currencySymbol]),mt.push([this.translate.instant("Information come from supplier describe"),null,null,null,null,null,null,null,null,null,null,this.translate.instant("Total Taxes Price")+": "+this.currentPurchaseData.order_payment_amount+" "+this.currencySymbol]),mt.push([]),mt.push([]),mt.push([this.translate.instant("remark")+": "+this.currentPurchaseData.remark?this.currentPurchaseData.remark:" -- ",null,null,null,null,null,null,null,null,null,null]);this.excelService.generateExcel(mt,null,this.translate.instant("Purchase Order"),[2,3,4,5,6,7,8,9,10,11,12,13])}catch(lt){console.log(lt)}}handleChangePaginator(ut){this.pageInfo.page=ut.page,this.getDetailPrducts()}};DetailOrdersListCashRegisterComponent.ctorParameters=()=>[{type:src_app_shared_services_warehouse_service__WEBPACK_IMPORTED_MODULE_5__.l},{type:_angular_material_dialog__WEBPACK_IMPORTED_MODULE_8__.uw},{type:_angular_router__WEBPACK_IMPORTED_MODULE_9__.gz},{type:src_app_shared_services_order_service_service__WEBPACK_IMPORTED_MODULE_7__.C},{type:src_app_shared_services_excel_service__WEBPACK_IMPORTED_MODULE_4__.x},{type:_angular_common_http__WEBPACK_IMPORTED_MODULE_10__.eN},{type:_ngx_translate_core__WEBPACK_IMPORTED_MODULE_11__.sK},{type:src_app_shared_services_purchase_service__WEBPACK_IMPORTED_MODULE_3__.B},{type:_shared_loading_loading_dialog_service__WEBPACK_IMPORTED_MODULE_2__.E},{type:_services_purchase_purchase_service__WEBPACK_IMPORTED_MODULE_6__.B}],DetailOrdersListCashRegisterComponent=(0,tslib__WEBPACK_IMPORTED_MODULE_12__.gn)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_13__.wA2)({selector:"app-detail-orders-list-cash-register",template:_detail_orders_list_cash_register_component_html_ngResource__WEBPACK_IMPORTED_MODULE_0__,styles:[_detail_orders_list_cash_register_component_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__]})],DetailOrdersListCashRegisterComponent)},36030:(ut,mt,F)=>{"use strict";F.d(mt,{m:()=>qt});var lt=F(97582);var Ct=F(36895),kt=F(94650),Q=F(65938),Nt=F(17009),m=F(44476),V=F(89383),nt=F(80529),ct=F(36955);let Y=class{constructor(yt,bt){this.http=yt,this.configService=bt;let Dt=this.configService.getConfig();this.baseUrl=`${Dt.baseUrl}`,this.baseUrlS2C=`${Dt.baseUrlS2C}`}getCompaniesList(){return this.http.get(`${this.baseUrl}/companies`,{params:{token:localStorage.getItem("token")}})}};Y.ctorParameters=()=>[{type:nt.eN},{type:ct.E}],Y=(0,lt.gn)([(0,kt.GSi)({providedIn:"root"})],Y);var wt=F(56834),re=F(49836);let qt=class{constructor(yt,bt,Dt,Wt,ht,Tt,xe,Nn,ha,je){this.data=yt,this.router=bt,this.orderService=Dt,this.snackbar=Wt,this.paymentService=ht,this.dialog=Tt,this.dialogRef=xe,this.datepipe=Nn,this.companyService=ha,this.translate=je}ngOnInit(){this.currentOrder=this.dialogRef.componentInstance.data,this.getPaymentTypes(),this.onGetCompaniesList()}onValidatePurchaseOrder(yt,bt){var Dt=this.datepipe.transform(bt,"yyyy-MM-dd");return this.currentOrder.required_date=Dt,this.currentOrder.payment_method_id=yt,delete this.currentOrder.logistic_service,delete this.currentOrder.email,delete this.currentOrder.last_name,delete this.currentOrder.first_name,this.orderService.validatePurchaseOrder(this.currentOrder).subscribe(Wt=>{this.snackbar.open("Chinese"===this.translate.currentLang?"\u8ba2\u5355\u5df2\u6210\u529f\u786e\u8ba4":"Italian"===this.translate.currentLang?"Il tuo ordine \xe8 stato convalidato con successo":"Your order has been validated successfully","",{duration:2e3});var ht=JSON.parse(localStorage.getItem("Basket"));this.basketLoop=ht;ht.length;let xe=0;var Nn=[];
1if(this.basketLoop.forEach($t=>{$t.supplier_id!=this.currentOrder.supplier_id&&Nn.push($t),xe+=1}),localStorage.setItem("Basket",JSON.stringify(Nn)),0==JSON.parse(localStorage.getItem("Basket")).length){localStorage.setItem("orderCheckout",JSON.stringify([]))}this.router.navigate(["shop/checkout"]),this.dialog.closeAll()},Wt=>{console.log(Wt)})}redirectTo(yt){this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>this.router.navigate([yt]))}getPaymentTypes(){this.paymentService.getPaymentTypesList().subscribe(yt=>{this.payments=yt,this.paymentList=this.payments.paymentList})}getPaymentValue(yt){this.paymentId=yt}onGetCompaniesList(){return this.companyService.getCompaniesList().subscribe(yt=>{this.companiesList=yt},yt=>{})}};qt.ctorParameters=()=>[{type:void 0,decorators:[{type:kt.tBr,args:[Q.WI]}]},{type:m.F0},{type:wt.C},{type:Nt.ux},{type:re.t},{type:Q.uw},{type:Q.so},{type:Ct.uU},{type:Y},{type:V.sK}],qt=(0,lt.gn)([(0,kt.wA2)({selector:"app-validate-order-modal",template:'<div class="container">\n <form >\n <h3>Validate Order:</h3>\n <hr>\n <mat-form-field appearance="standard">\n <mat-label>Select Payment Type</mat-label>\n <mat-select class="payment" #payment_method_id>\n\n \x3c!-- <mat-option value=0>--None--</mat-option> --\x3e\n <mat-option *ngFor="let pay_type of paymentList" [value]="pay_type.id" >{{pay_type.name}}</mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n <br>\n\n <mat-form-field>\n <mat-label>Required Date</mat-label>\n <input matInput [matDatepicker]="picker" #required_date>\n <mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </mat-form-field>\n\n <br>\n\n <mat-form-field *ngIf="currentOrder.logistic_service==1" appearance="standard">\n <mat-label>Select Logistic Company</mat-label>\n <mat-select class="payment" #logistic_company_id>\n\n \x3c!-- <mat-option value=0>--None--</mat-option> --\x3e\n <mat-option *ngFor="let company of companiesList" [value]="company.id" >{{company.name}}</mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n <h4 *ngIf="currentOrder.logistic_service==0 || !currentOrder.logistic_service" style="color: red;">Logistic Service is disabled <br> for this supplier</h4>\n\n\n <br>\n\n \n <div style="margin-top: 30px;">\n <button mat-raised-button color="primary" style="margin-right:10px" (click)="onValidatePurchaseOrder(payment_method_id.value, required_date.value)">Submit</button>\n <button mat-raised-button mat-dialog-close>Close</button>\n \n </div>\n\n\n </form>\n</div>',styles:[""]})],qt)},20776:(ut,mt,F)=>{"use strict";F.d(mt,{L:()=>Q});var lt=F(97582);var Ct=F(94650),kt=F(65938);let Q=class{constructor(m){this.dialog=m}ngOnInit(){}selectChain(m){this.dialog.close(m)}};Q.ctorParameters=()=>[{type:kt.so}],Q=(0,lt.gn)([(0,Ct.wA2)({selector:"app-choose-chain",template:'<div mat-dialog-content>\n <div class="w-100 d-flex justify-content-end">\n <button mat-icon-button [mat-dialog-close]="false">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <form>\n <app-chain-selection [required]="true" (chainChange)="selectChain($event)"></app-chain-selection>\n </form>\n</div>\n',styles:[".bt-date-submit {\n color: white;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n margin-top: 2%;\n margin-left: 5%;\n}"]})],Q)},82090:(ut,mt,F)=>{"use strict";F.r(mt),F.d(mt,{DashboardShopModule:()=>U1});var lt={};F.r(lt),F.d(lt,{Arc:()=>cD,BezierCurve:()=>N_,BoundingRect:()=>de,Circle:()=>Pl,CompoundPath:()=>dD,Ellipse:()=>sD,Group:()=>te,Image:()=>la,IncrementalDisplayable:()=>not,Line:()=>ea,LinearGradient:()=>fA,OrientedBoundingRect:()=>V_,Path:()=>fe,Point:()=>ce,Polygon:()=>er,Polyline:()=>nr,RadialGradient:()=>BN,Rect:()=>Se,Ring:()=>L_,Sector:()=>tr,Text:()=>Ce,applyTransform:()=>di,clipPointsByRect:()=>JN,clipRectByRect:()=>lot,createIcon:()=>vA,extendPath:()=>iot,extendShape:()=>aot,getShapeClass:()=>pD,getTransform:()=>Ld,groupTransition:()=>gA,initProps:()=>dn,isElementRemoved:()=>Wh,lineLineIntersect:()=>ZN,linePolygonIntersect:()=>AA,makeImage:()=>jN,makePath:()=>q_,mergePath:()=>Fr,registerShape:()=>ci,removeElement:()=>
1Sl,removeElementWithFadeOut:()=>eA,resizePath:()=>KN,setTooltipConfig:()=>Nd,subPixelOptimize:()=>H_,subPixelOptimizeLine:()=>dm,subPixelOptimizeRect:()=>oot,transformDirection:()=>B_,traverseElements:()=>Il,updateProps:()=>Te});var j=F(97582),xt=F(88796),Ct=F(73555),kt=F(67376),Q=F(36895),Nt=F(80529),m=F(94650),V=F(24006),nt=F(77331),ct=F(11481),Y=F(89383),wt=F(591);const qt=function re(){this.__data__=[],this.size=0};const yt=function Ft(n,t){return n===t||n!=n&&t!=t};const Dt=function bt(n,t){for(var e=n.length;e--;)if(yt(n[e][0],t))return e;return-1};var ht=Array.prototype.splice;const xe=function Tt(n){var t=this.__data__,e=Dt(t,n);return!(e<0)&&(e==t.length-1?t.pop():ht.call(t,e,1),--this.size,!0)};const ha=function Nn(n){var t=this.__data__,e=Dt(t,n);return e<0?void 0:t[e][1]};const $t=function je(n){return Dt(this.__data__,n)>-1};const Un=function ye(n,t){var e=this.__data__,a=Dt(e,n);return a<0?(++this.size,e.push([n,t])):e[a][1]=t,this};function gn(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t<e;){var a=n[t];this.set(a[0],a[1])}}gn.prototype.clear=qt,gn.prototype.delete=xe,gn.prototype.get=ha,gn.prototype.has=$t,gn.prototype.set=Un;const kn=gn;const fr=function Ie(){this.__data__=new kn,this.size=0};const gi=function yn(n){var t=this.__data__,e=t.delete(n);return this.size=t.size,e};const vi=function ro(n){return this.__data__.get(n)};const Xn=function Jm(n){return this.__data__.has(n)};const Zl="object"==typeof global&&global&&global.Object===Object&&global;var Zm="object"==typeof self&&self&&self.Object===Object&&self;const Ta=Zl||Zm||Function("return this")();const za=Ta.Symbol;var Iy=Object.prototype,gr=Iy.hasOwnProperty,fu=Iy.toString,gs=za?za.toStringTag:void 0;const Pa=function My(n){var t=gr.call(n,gs),e=n[gs];try{n[gs]=void 0;var a=!0}catch{}var r=fu.call(n);return a&&(t?n[gs]=e:delete n[gs]),r};var Oy=Object.prototype.toString;const Ea=function Re(n){return Oy.call(n)};var na=za?za.toStringTag:void 0;const io=function V1(n){return null==n?void 0===n?"[object Undefined]":"[object Null]":na&&na in Object(n)?Pa(n):Ea(n)};const Ha=function qa(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)};const Yl=function oe(n){if(!Ha(n))return!1;var t=io(n);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const Xm=Ta["__core-js_shared__"];var n,Ym=(n=/[^.]+$/.exec(Xm&&Xm.keys&&Xm.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";const H1=function q1(n){return!!Ym&&Ym in n};var j1=Function.prototype.toString;const oo=function G1(n){if(null!=n){try{return j1.call(n)}catch{}try{return n+""}catch{}}return""};var G=/^\[object .+?Constructor\]$/,W1=Function.prototype,J1=Object.prototype,Z1=W1.toString,X1=J1.hasOwnProperty,Y1=RegExp("^"+Z1.call(X1).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Qm=function Q1(n){return!(!Ha(n)||H1(n))&&(Yl(n)?Y1:G).test(oo(n))};const $m=function vr(n,t){return null==n?void 0:n[t]};const Gr=function tf(n,t){var e=$m(n,t);return Qm(e)?e:void 0};const As=Gr(Ta,"Map");const ys=Gr(Object,"create");const Ba=function ef(){this.__data__=ys?ys(null):{},this.size=0};const Ny=function Ar(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t};var nS=Object.prototype.hasOwnProperty;const Fy=function Uy(n){var t=this.__data__;if(ys){var e=t[n];return"__lodash_hash_undefined__"===e?void 0:e}return nS.call(t,n)?t[n]:void 0};var rS=Object.prototype.hasOwnProperty;const zy=function Vy(n){var t=this.__data__;return ys?void 0!==t[n]:rS.call(t,n)};const Ey=function oS(n,t){var e=this.__data__;return this.size+=this.has(n)?0:1,e[n]=ys&&void 0===t?"__lodash_hash_undefined__":t,this};function Kr(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t<e;){var a=n[t];this.set(a[0],a[1])}}Kr.prototype.clear=Ba,Kr.prototype.delete=Ny,Kr.prototype.get=Fy,Kr.prototype.has=zy,Kr.prototype.set=Ey;const nf=Kr;const sS=function qy(){this.size=0,this.__data__={hash:new nf,map:new(As||kn),string:new nf}};const cS=function lS(n){var t=typeof n;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==n:null===n};const Au=function Ql(n,t){var e=n.__data__;return cS(t)?e["string"==typeof t?"string":"hash"]:e.map};const dS=function ma(n){var t=Au(this,n).delete(n);return this.size-=t?1:0,t};const pS=function uS(n){return Au(this,n).get(n)};const $l=function hS(n){return Au(this,n).has(n)};const mS=function bs(n,t){var e=Au(this,n),a=e.size;return e.set(n,t),this.size+=e.size==a?0:1,this};function _s(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t<e;){var a=n[t];this.set(a[0],a[1])}}_s.prototype.clear=sS,_s.prototype.delete=dS,_s.prototype.get=pS,_s.prototype.has=$l,_s.prototype.set=mS;const yu=_s;const fS=function af(n,t){var e=this.__data__;if(e instanceof kn){var a=e.__data__;if(!As||a.length<199)return a.push([n,t]),this.size=++e.size,this;e=this.__data__=new yu(a)}return e.set(n,t),this.size=e.size,this};function xs(n){var t=this.__data__=new kn(n);this.size=t.size}xs.prototype.clear=fr,xs.prototype.delete=gi,xs.prototype.get=vi,xs.prototype.has=Xn,xs.prototype.set=fS;const yi=xs;const Wr=function so(n,t){for(var e=-1,a=null==n?0:n.length;++e<a&&!1!==t(n[e],e,n););return n};var lo=function(){try{var n=Gr(Object,"defineProperty");return n({},"",{}),n}catch{}}();const tc=lo;const ja=function gS(n,t,e){"__proto__"==t&&tc?tc(n,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):n[t]=e};var rf=Object.prototype.hasOwnProperty;const jy=function By(n,t,e){var a=n[t];(!rf.call(n,t)||!yt(a,e)||void 0===e&&!(t in n))&&ja(n,t,e)};const Ss=function AS(n,t,e,a){var r=!e;e||(e={});for(var i=-1,o=t.length;++i<o;){var s=t[i],l=a?a(e[s],n[s],s,e,n):void 0;void 0===l&&(l=n[s]),r?ja(e,s,l):jy(e,s,l)}return e};const bS=function yS(n,t){for(var e=-1,a=Array(n);++e<n;)a[e]=t(e);return a};const aa=function _S(n){return null!=n&&"object"==typeof n};const of=function SS(n){return aa(n)&&"[object Arguments]"==io(n)};var bi=Object.prototype,ec=bi.hasOwnProperty,sf=bi.propertyIsEnumerable,lf=of(function(){return arguments}())?of:function(n){return aa(n)&&ec.call(n,"callee")&&!sf.call(n,"callee")};const nc=lf;const qn=Array.isArray;const ac=function df(){return!1};var rc="object"==typeof exports&&exports&&!exports.nodeType&&exports,Gy=rc&&"object"==typeof module&&module&&!module.nodeType&&module,Ky=Gy&&Gy.exports===rc?Ta.Buffer:void 0;const bu=(Ky?Ky.isBuffer:void 0)||ac;var _u=/^(?:0|[1-9]\d*)$/;const Ia=function Jy(n,t){var e=typeof n;return!!(t=t??9007199254740991)&&("number"==e||"symbol"!=e&&_u.test(n))&&n>-1&&n%1==0&&n<t};const uf=function TS(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=9007199254740991};var on={};
1on["[object Float32Array]"]=on["[object Float64Array]"]=on["[object Int8Array]"]=on["[object Int16Array]"]=on["[object Int32Array]"]=on["[object Uint8Array]"]=on["[object Uint8ClampedArray]"]=on["[object Uint16Array]"]=on["[object Uint32Array]"]=!0,on["[object Arguments]"]=on["[object Array]"]=on["[object ArrayBuffer]"]=on["[object Boolean]"]=on["[object DataView]"]=on["[object Date]"]=on["[object Error]"]=on["[object Function]"]=on["[object Map]"]=on["[object Number]"]=on["[object Object]"]=on["[object RegExp]"]=on["[object Set]"]=on["[object String]"]=on["[object WeakMap]"]=!1;const ws=function HS(n){return aa(n)&&uf(n.length)&&!!on[io(n)]};const _i=function Ye(n){return function(t){return n(t)}};var yr="object"==typeof exports&&exports&&!exports.nodeType&&exports,co=yr&&"object"==typeof module&&module&&!module.nodeType&&module,Ga=co&&co.exports===yr&&Zl.process;const ks=function(){try{return co&&co.require&&co.require("util").types||Ga&&Ga.binding&&Ga.binding("util")}catch{}}();var gf=ks&&ks.isTypedArray;const tb=gf?_i(gf):ws;var xu=Object.prototype.hasOwnProperty;const nb=function eb(n,t){var e=qn(n),a=!e&&nc(n),r=!e&&!a&&bu(n),i=!e&&!a&&!r&&tb(n),o=e||a||r||i,s=o?bS(n.length,String):[],l=s.length;for(var c in n)(t||xu.call(n,c))&&(!o||!("length"==c||r&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ia(c,l)))&&s.push(c);return s};var GS=Object.prototype;const sc=function vf(n){var t=n&&n.constructor;return n===("function"==typeof t&&t.prototype||GS)};const Su=function ab(n,t){return function(e){return n(t(e))}};const WS=Su(Object.keys,Object);var ib=Object.prototype.hasOwnProperty;const xi=function ob(n){if(!sc(n))return WS(n);var t=[];for(var e in Object(n))ib.call(n,e)&&"constructor"!=e&&t.push(e);return t};const wu=function be(n){return null!=n&&uf(n.length)&&!Yl(n)};const Zr=function uo(n){return wu(n)?nb(n):xi(n)};const Af=function JS(n,t){return n&&Ss(t,Zr(t),n)};const po=function lc(n){var t=[];if(null!=n)for(var e in Object(n))t.push(e);return t};var ho=Object.prototype.hasOwnProperty;const ZS=function Cs(n){if(!Ha(n))return po(n);var t=sc(n),e=[];for(var a in n)"constructor"==a&&(t||!ho.call(n,a))||e.push(a);return e};const yf=function XS(n){return wu(n)?nb(n,!0):ZS(n)};const dc=function YS(n,t){return n&&Ss(t,yf(t),n)};var ku="object"==typeof exports&&exports&&!exports.nodeType&&exports,bf=ku&&"object"==typeof module&&module&&!module.nodeType&&module,Cu=bf&&bf.exports===ku?Ta.Buffer:void 0,sb=Cu?Cu.allocUnsafe:void 0;const $S=function QS(n,t){if(t)return n.slice();var e=n.length,a=sb?sb(e):new n.constructor(e);return n.copy(a),a};const uc=function tw(n,t){var e=-1,a=n.length;for(t||(t=Array(a));++e<a;)t[e]=n[e];return t};const fa=function xf(n,t){for(var e=-1,a=null==n?0:n.length,r=0,i=[];++e<a;){var o=n[e];t(o,e,n)&&(i[r++]=o)}return i};const lb=function Sf(){return[]};var ew=Object.prototype.propertyIsEnumerable,db=Object.getOwnPropertySymbols,mo=db?function(n){return null==n?[]:(n=Object(n),fa(db(n),function(t){return ew.call(n,t)}))}:lb;const wf=mo;const nw=function Du(n,t){return Ss(n,wf(n),t)};const kf=function aw(n,t){for(var e=-1,a=t.length,r=n.length;++e<a;)n[r+e]=t[e];return n};const Cf=Su(Object.getPrototypeOf,Object);var ub=Object.getOwnPropertySymbols?function(n){for(var t=[];n;)kf(t,wf(n)),n=Cf(n);return t}:lb;const pb=ub;const ga=function Df(n,t){return Ss(n,pb(n),t)};const hb=function ow(n,t,e){var a=t(n);return qn(n)?a:kf(a,e(n))};const Pu=function Tu(n){return hb(n,Zr,wf)};const pc=function sw(n){return hb(n,yf,pb)};const Iu=Gr(Ta,"DataView");const hc=Gr(Ta,"Promise");const Mu=Gr(Ta,"Set");const Pf=Gr(Ta,"WeakMap");var mb="[object Map]",fb="[object Promise]",gb="[object Set]",mc="[object WeakMap]",If="[object DataView]",pw=oo(Iu),Mf=oo(As),vb=oo(hc),hw=oo(Mu),Ab=oo(Pf),Xr=io;(Iu&&Xr(new Iu(new ArrayBuffer(1)))!=If||As&&Xr(new As)!=mb||hc&&Xr(hc.resolve())!=fb||Mu&&Xr(new Mu)!=gb||Pf&&Xr(new Pf)!=mc)&&(Xr=function(n){var t=io(n),e="[object Object]"==t?n.constructor:void 0,a=e?oo(e):"";if(a)switch(a){case pw:return If;case Mf:return mb;case vb:return fb;case hw:return gb;case Ab:return mc}return t});const Si=Xr;var yb=Object.prototype.hasOwnProperty;const bb=function mw(n){var t=n.length,e=new n.constructor(t);return t&&"string"==typeof n[0]&&yb.call(n,"index")&&(e.index=n.index,e.input=n.input),e};const Ou=Ta.Uint8Array;const wi=function fw(n){var t=new n.constructor(n.byteLength);return new Ou(t).set(new Ou(n)),t};const fo=function Of(n,t){var e=t?wi(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.byteLength)};var xb=/\w*$/;const vw=function gw(n){var t=new n.constructor(n.source,xb.exec(n));return t.lastIndex=n.lastIndex,t};var Sb=za?za.prototype:void 0,wb=Sb?Sb.valueOf:void 0;const kb=function Aw(n){return wb?Object(wb.call(n)):{}};const Cb=function yw(n,t){var e=t?wi(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.length)};const Rw=function Ib(n,t,e){var a=n.constructor;switch(t){case"[object ArrayBuffer]":return wi(n);case"[object Boolean]":case"[object Date]":return new a(+n);case"[object DataView]":return fo(n,e);
1case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Cb(n,e);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(n);case"[object RegExp]":return vw(n);case"[object Symbol]":return kb(n)}};var br=Object.create,Mb=function(){function n(){}return function(t){if(!Ha(t))return{};if(br)return br(t);n.prototype=t;var e=new n;return n.prototype=void 0,e}}();const Ob=Mb;const Di=function Lw(n){return"function"!=typeof n.constructor||sc(n)?{}:Ob(Cf(n))};const Fw=function Uw(n){return aa(n)&&"[object Map]"==Si(n)};var Lf=ks&&ks.isMap;const p=Lf?_i(Lf):Fw;const _=function y(n){return aa(n)&&"[object Set]"==Si(n)};var w=ks&&ks.isSet;const T=w?_i(w):_;var E="[object Arguments]",it="[object Function]",Zt="[object Object]",un={};un[E]=un["[object Array]"]=un["[object ArrayBuffer]"]=un["[object DataView]"]=un["[object Boolean]"]=un["[object Date]"]=un["[object Float32Array]"]=un["[object Float64Array]"]=un["[object Int8Array]"]=un["[object Int16Array]"]=un["[object Int32Array]"]=un["[object Map]"]=un["[object Number]"]=un[Zt]=un["[object RegExp]"]=un["[object Set]"]=un["[object String]"]=un["[object Symbol]"]=un["[object Uint8Array]"]=un["[object Uint8ClampedArray]"]=un["[object Uint16Array]"]=un["[object Uint32Array]"]=!0,un["[object Error]"]=un[it]=un["[object WeakMap]"]=!1;const pM=function Rb(n,t,e,a,r,i){var o,s=1&t,l=2&t,c=4&t;if(e&&(o=r?e(n,a,r,i):e(n)),void 0!==o)return o;if(!Ha(n))return n;var d=qn(n);if(d){if(o=bb(n),!s)return uc(n,o)}else{var u=Si(n),h=u==it||"[object GeneratorFunction]"==u;if(bu(n))return $S(n,s);if(u==Zt||u==E||h&&!r){if(o=l||h?{}:Di(n),!s)return l?ga(n,dc(o,n)):nw(n,Af(o,n))}else{if(!un[u])return r?n:{};o=Rw(n,u,s)}}i||(i=new yi);var f=i.get(n);if(f)return f;i.set(n,o),T(n)?n.forEach(function(b){o.add(Rb(b,t,e,b,n,i))}):p(n)&&n.forEach(function(b,x){o.set(x,Rb(b,t,e,x,n,i))});var A=d?void 0:(c?l?pc:Pu:l?yf:Zr)(n);return Wr(A||n,function(b,x){A&&(b=n[x=b]),jy(o,x,Rb(b,t,e,x,n,i))}),o};const B9=function H9(n){return pM(n,5)};var sr=F(68332);const hM=[[255,99,132],[54,162,235],[255,206,86],[231,233,237],[75,192,192],[151,187,205],[220,220,220],[247,70,74],[70,191,189],[253,180,92],[148,159,177],[77,83,96]];function j9(n,t,e){if("pie"===n||"doughnut"===n)return qw(Lb(e));if("polarArea"===n)return function W9(n){return{backgroundColor:n.map(t=>Aa(t,.6)),borderColor:n.map(t=>Aa(t,1)),hoverBackgroundColor:n.map(t=>Aa(t,.8)),hoverBorderColor:n.map(t=>Aa(t,1))}}(Lb(e));if("line"===n||"radar"===n)return function G9(n){return{backgroundColor:Aa(n,.4),borderColor:Aa(n,1),pointBackgroun
1dColor:Aa(n,1),pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:Aa(n,.8)}}(fM(t));if("bar"===n||"horizontalBar"===n)return function K9(n){return{backgroundColor:Aa(n,.6),borderColor:Aa(n,1),hoverBackgroundColor:Aa(n,.8),hoverBorderColor:Aa(n,1)}}(fM(t));if("bubble"===n||"scatter"===n)return qw(Lb(e));throw new Error("getColors - Unsupported chart type: "+n)}function Aa(n,t){return"rgba("+n.concat(t).join(",")+")"}function Ew(n,t){return Math.floor(Math.random()*(t-n+1))+n}function qw(n){return{backgroundColor:n.map(t=>Aa(t,.6)),borderColor:n.map(()=>"#fff"),pointBackgroundColor:n.map(t=>Aa(t,1)),pointBorderColor:n.map(()=>"#fff"),pointHoverBackgroundColor:n.map(t=>Aa(t,1)),pointHoverBorderColor:n.map(t=>Aa(t,1))}}function mM(){return[Ew(0,255),Ew(0,255),Ew(0,255)]}function fM(n){return hM[n]||mM()}function Lb(n){const t=new Array(n);for(let e=0;e<n;e++)t[e]=hM[e]||mM();return t}class go{constructor(){this.pColorschemesOptions={},this.colorschemesOptions=new wt.X({})}setColorschemesOptions(t){this.pColorschemesOptions=t,this.colorschemesOptions.next(t)}getColorschemesOptions(){return this.pColorschemesOptions}}go.\u0275fac=function(t){return new(t||go)},go.ctorParameters=()=>[],go.\u0275prov=(0,m.Yz7)({factory:function(){return new go},token:go,providedIn:"root"});const Ge={Default:0,Update:1,Refresh:2};Ge[Ge.Default]="Default",Ge[Ge.Update]="Update",Ge[Ge.Refresh]="Refresh";class Ps{constructor(t,e){this.element=t,this.themeService=e,this.options={},this.chartClick=new m.vpe,this.chartHover=new m.vpe,this.old={dataExists:!1,dataLength:0,datasetsExists:!1,datasetsLength:0,datasetsDataObjects:[],datasetsDataLengths:[],colorsExists:!1,colors:[],labelsExist:!1,labels:[],legendExists:!1,legend:{}},this.subs=[]}static registerPlugin(t){sr.pluginService.register(t)}static unregisterPlugin(t){sr.pluginService.unregister(t)}ngOnInit(){this.ctx=this.element.nativeElement.getContext("2d"),this.refresh(),this.subs.push(this.themeService.colorschemesOptions.subscribe(t=>this.themeChanged(t)))}themeChanged(t){this.refresh()}ngDoCheck(){if(!this.chart)return;let t=Ge.Default;const e=a=>{t=a>t?a:t};switch(!!this.data!==this.old.dataExists&&(this.propagateDataToDatasets(this.data),this.old.dataExists=!!this.data,e(Ge.Update)),this.data&&this.data.length!==this.old.dataLength&&(this.old.dataLength=this.data&&this.data.length||0,e(Ge.Update)),!!this.datasets!==this.old.datasetsExists&&(this.old.datasetsExists=!!this.datasets,e(Ge.Update)),this.datasets&&this.datasets.length!==this.old.datasetsLength&&(this.old.datasetsLength=this.datasets&&this.datasets.length||0,e(Ge.Update)),this.datasets&&this.datasets.filter((a,r)=>a.data!==this.old.datasetsDataObjects[r]).length&&(this.old.datasetsDataObjects=this.datasets.map(a=>a.data),e(Ge.Update)),this.datasets&&this.datasets.filter((a,r)=>a.data.length!==this.old.datasetsDataLengths[r]).length&&(this.old.datasetsDataLengths=this.datasets.map(a=>a.data.length),e(Ge.Update)),!!this.colors!==this.old.colorsExists&&(this.old.colorsExists=!!this.colors,this.updateColors(),e(Ge.Update)),this.colors&&this.colors.filter((a,r)=>!this.colorsEqual(a,this.old.colors[r])).length&&(this.old.colors=this.colors.map(a=>this.copyColor(a)),this.updateColors(),e(Ge.Update)),!!this.labels!==this.old.labelsExist&&(this.old.labelsExist=!!this.labels,e(Ge.Update)),this.labels&&this.labels.filter((a,r)=>!this.labelsEqual(a,this.old.labels[r])).length&&(this.old.labels=this.labels.map(a=>this.copyLabel(a)),e(Ge.Update)),!!this.options.legend!==this.old.legendExists&&(this.old.legendExists=!!this.options.legend,e(Ge.Refresh)),this.options.legend&&this.options.legend.position!==this.old.legend.position&&(this.old.legend.position=this.options.legend.position,e(Ge.Refresh)),t){case Ge.Default:break;case Ge.Update:this.update();break;case Ge.Refresh:this.refresh()}}copyLabel(t){return Array.isArray(t)?[...t]:t}labelsEqual(t,e){return Array.isArray(t)===Array.isArray(e)&&(Array.isArray(t)||t===e)&&(!Array.isArray(t)||t.length===e.length)&&(!Array.isArray(t)||0===t.filter((a,r)=>a!==e[r]).length)}copyColor(t){return{backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderColor:t.borderColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,pointBorderColor:t.pointBorderColor,pointBackgroun
1dColor:t.pointBackgroundColor,pointBorderWidth:t.pointBorderWidth,pointRadius:t.pointRadius,pointHoverRadius:t.pointHoverRadius,pointHitRadius:t.pointHitRadius,pointHoverBackgroundColor:t.pointHoverBackgroundColor,pointHoverBorderColor:t.pointHoverBorderColor,pointHoverBorderWidth:t.pointHoverBorderWidth,pointStyle:t.pointStyle,hoverBackgroundColor:t.hoverBackgroundColor,hoverBorderColor:t.hoverBorderColor,hoverBorderWidth:t.hoverBorderWidth}}colorsEqual(t,e){return!t==!e&&(!t||t.backgroundColor===e.backgroundColor&&t.borderWidth===e.borderWidth&&t.borderColor===e.borderColor&&t.borderCapStyle===e.borderCapStyle&&t.borderDash===e.borderDash&&t.borderDashOffset===e.borderDashOffset&&t.borderJoinStyle===e.borderJoinStyle&&t.pointBorderColor===e.pointBorderColor&&t.pointBackgroundColor===e.pointBackgroundColor&&t.pointBorderWidth===e.pointBorderWidth&&t.pointRadius===e.pointRadius&&t.pointHoverRadius===e.pointHoverRadius&&t.pointHitRadius===e.pointHitRadius&&t.pointHoverBackgroundColor===e.pointHoverBackgroundColor&&t.pointHoverBorderColor===e.pointHoverBorderColor&&t.pointHoverBorderWidth===e.pointHoverBorderWidth&&t.pointStyle===e.pointStyle&&t.hoverBackgroundColor===e.hoverBackgroundColor&&t.hoverBorderColor===e.hoverBorderColor&&t.hoverBorderWidth===e.hoverBorderWidth)}updateColors(){this.datasets.forEach((t,e)=>{this.colors&&this.colors[e]?Object.assign(t,this.colors[e]):Object.assign(t,j9(this.chartType,e,t.data.length),Object.assign({},t))})}ngOnChanges(t){let e=Ge.Default;const a=r=>{e=r>e?r:e};switch(t.hasOwnProperty("data")&&t.data.currentValue&&(this.propagateDataToDatasets(t.data.currentValue),a(Ge.Update)),t.hasOwnProperty("datasets")&&t.datasets.currentValue&&(this.propagateDatasetsToData(t.datasets.currentValue),a(Ge.Update)),t.hasOwnProperty("labels")&&(this.chart&&(this.chart.data.labels=t.labels.currentValue),a(Ge.Update)),t.hasOwnProperty("legend")&&(this.chart&&(this.chart.config.options.legend.display=t.legend.currentValue,this.chart.generateLegend()),a(Ge.Update)),t.hasOwnProperty("options")&&a(Ge.Refresh),e){case Ge.Update:this.update();break;case Ge.Refresh:case Ge.Default:this.refresh()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(t=>t.unsubscribe())}update(t){if(this.chart)return this.chart.update(t)}hideDataset(t,e){this.chart.getDatasetMeta(t).hidden=e,this.chart.update()}isDatasetHidden(t){return this.chart.getDatasetMeta(t).hidden}toBase64Image(){return this.chart.toBase64Image()}getChartConfiguration(){const t=this.getDatasets(),e=Object.assign({},this.options);!1===this.legend&&(e.legend={display:!1}),e.hover=e.hover||{},e.hover.onHover||(e.hover.onHover=(r,i)=>{i&&!i.length||this.chartHover.emit({event:r,active:i})}),e.onClick||(e.onClick=(r,i)=>{this.chartClick.emit({event:r,active:i})});const a=this.smartMerge(e,this.themeService.getColorschemesOptions());return{type:this.chartType,data:{labels:this.labels||[],datasets:t},plugins:this.plugins,options:a}}getChartBuilder(t){const e=this.getChartConfiguration();return new sr.Chart(t,e)}smartMerge(t,e,a=0){if(0===a&&(t=B9(t)),Object.keys(e).forEach(i=>{if(Array.isArray(e[i])){const o=t[i];o&&o.forEach(s=>{this.smartMerge(s,e[i][0],a+1)})}else"object"==typeof e[i]?(i in t||(t[i]={}),this.smartMerge(t[i],e[i],a+1)):t[i]=e[i]}),0===a)return t}isMultiLineLabel(t){return Array.isArray(t)}joinLabel(t){return t?this.isMultiLineLabel(t)?t.join(" "):t:null}propagateDatasetsToData(t){this.data=this.datasets.map(e=>e.data),this.chart&&(this.chart.data.datasets=t),this.updateColors()}propagateDataToDatasets(t){this.isMultiDataSet(t)?this.datasets&&t.length===this.datasets.length?this.datasets.forEach((e,a)=>{e.data=t[a]}):(this.datasets=t.map((e,a)=>({data:e,label:this.joinLabel(this.labels[a])||`Label ${a}`})),this.chart&&(this.chart.data.datasets=this.datasets)):this.datasets?(this.datasets[0]||(this.datasets[0]={}),this.datasets[0].data=t,this.datasets.splice(1)):(this.datasets=[{data:t}],this.chart&&(this.chart.data.datasets=this.datasets)),this.updateColors()}isMultiDataSet(t){return Array.isArray(t[0])}getDatasets(){if(!this.datasets&&!this.data)throw new Error(`ng-charts configuration error, data or datasets field are required to render chart ${this.chartType}`);
1return this.datasets?(this.propagateDatasetsToData(this.datasets),this.datasets):this.data?(this.propagateDataToDatasets(this.data),this.datasets):void 0}refresh(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.ctx&&(this.chart=this.getChartBuilder(this.ctx))}}Ps.\u0275fac=function(t){return new(t||Ps)(m.Y36(m.SBq),m.Y36(go))},Ps.\u0275dir=m.lG2({type:Ps,selectors:[["canvas","baseChart",""]],inputs:{options:"options",data:"data",datasets:"datasets",labels:"labels",chartType:"chartType",colors:"colors",legend:"legend",plugins:"plugins"},outputs:{chartClick:"chartClick",chartHover:"chartHover"},exportAs:["base-chart"],features:[m.TTD]}),Ps.ctorParameters=()=>[{type:m.SBq},{type:go}],Ps.propDecorators={data:[{type:m.IIB}],datasets:[{type:m.IIB}],labels:[{type:m.IIB}],options:[{type:m.IIB}],chartType:[{type:m.IIB}],colors:[{type:m.IIB}],legend:[{type:m.IIB}],plugins:[{type:m.IIB}],chartClick:[{type:m.r_U}],chartHover:[{type:m.r_U}]};class fc{}fc.\u0275fac=function(t){return new(t||fc)},fc.\u0275mod=m.oAB({type:fc}),fc.\u0275inj=m.cJS({imports:[[]]}),(typeof ngJitMode>"u"||ngJitMode)&&m.kYT(fc,{declarations:[Ps],exports:[Ps]});var J9=F(51004),Uf=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",Z9=function(){for(var n=["Edge","Trident","Firefox"],t=0;t<n.length;t+=1)if(Uf&&navigator.userAgent.indexOf(n[t])>=0)return 1;return 0}();var $9=Uf&&window.Promise?function X9(n){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,n()}))}}:function Y9(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,n()},Z9))}};function gM(n){return n&&"[object Function]"==={}.toString.call(n)}function gc(n,t){if(1!==n.nodeType)return[];var a=n.ownerDocument.defaultView.getComputedStyle(n,null);return t?a[t]:a}function Hw(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function Ff(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=gc(n),e=t.overflow,a=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(e+r+a)?n:Ff(Hw(n))}function vM(n){return n&&n.referenceNode?n.referenceNode:n}var AM=Uf&&!(!window.MSInputMethodContext||!document.documentMode),yM=Uf&&/MSIE 10/.test(navigator.userAgent);function Ru(n){return 11===n?AM:10===n?yM:AM||yM}function Lu(n){if(!n)return document.documentElement;for(var t=Ru(10)?document.body:null,e=n.offsetParent||null;e===t&&n.nextElementSibling;)e=(n=n.nextElementSibling).offsetParent;var a=e&&e.nodeName;return a&&"BODY"!==a&&"HTML"!==a?-1!==["TH","TD","TABLE"].indexOf(e.nodeName)&&"static"===gc(e,"position")?Lu(e):e:n?n.ownerDocument.documentElement:document.documentElement}function Bw(n){return null!==n.parentNode?Bw(n.parentNode):n}function Nb(n,t){if(!(n&&n.nodeType&&t&&t.nodeType))return document.documentElement;var e=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,a=e?n:t,r=e?t:n,i=document.createRange();i.setStart(a,0),i.setEnd(r,0);var o=i.commonAncestorContainer;if(n!==o&&t!==o||a.contains(r))return function tB(n){var t=n.nodeName;return"BODY"!==t&&("HTML"===t||Lu(n.firstElementChild)===n)}(o)?o:Lu(o);var s=Bw(n);return s.host?Nb(s.host,t):Nb(n,Bw(t).host)}function Nu(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",e="top"===t?"scrollTop":"scrollLeft",a=n.nodeName;if("BODY"===a||"HTML"===a){var r=n.ownerDocument.documentElement,i=n.ownerDocument.scrollingElement||r;return i[e]}return n[e]}function eB(n,t){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=Nu(t,"top"),r=Nu(t,"left"),i=e?-1:1;return n.top+=a*i,n.bottom+=a*i,n.left+=r*i,n.right+=r*i,n}function bM(n,t){var e="x"===t?"Left":"Top",a="Left"===e?"Right":"Bottom";return parseFloat(n["border"+e+"Width"])+parseFloat(n["border"+a+"Width"])}function _M(n,t,e,a){return Math.max(t["offset"+n],t["scroll"+n],e["client"+n],e["offset"+n],e["scroll"+n],Ru(10)?parseInt(e["offset"+n])+parseInt(a["margin"+("Height"===n?"Top":"Left")])+parseInt(a["margin"+("Height"===n?"Bottom":"Right")]):0)}function xM(n){var t=n.body,e=n.documentElement,a=Ru(10)&&getComputedStyle(e);return{height:_M("Height",t,e,a),width:_M("Width",t,e,a)}}var nB=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")},aB=function(){function n(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(t,e,a){return e&&n(t.prototype,e),a&&n(t,a),t}}(),Uu=function(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n},_r=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a])}return n};function Is(n){return _r({},n,{right:n.left+n.width,bottom:n.top+n.height})}function jw(n){var t={};try{if(Ru(10)){t=n.getBoundingClientRect();var e=Nu(n,"top"),a=Nu(n,"left");t.top+=e,t.left+=a,t.bottom+=e,t.right+=a}else t=n.getBoundingClientRect()}catch{}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===n.nodeName?xM(n.ownerDocument):{},o=i.width||n.clientWidth||r.width,s=i.height||n.clientHeight||r.height,l=n.offsetWidth-o,c=n.offsetHeight-s;if(l||c){var d=gc(n);l-=bM(d,"x"),c-=bM(d,"y"),r.width-=l,r.height-=c}return Is(r)}function Gw(n,t){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=Ru(10),r="HTML"===t.nodeName,i=jw(n),o=jw(t),s=Ff(n),l=gc(t),c=parseFloat(l.borderTopWidth),d=parseFloat(l.borderLeftWidth);e&&r&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var u=Is({top:i.top-o.top-c,left:i.left-o.left-d,width:i.width,height:i.height});
vendor: 15,604 bytes, line 1
1if(u.marginTop=0,u.marginLeft=0,!a&&r){var h=parseFloat(l.marginTop),f=parseFloat(l.marginLeft);u.top-=c-h,u.bottom-=c-h,u.left-=d-f,u.right-=d-f,u.marginTop=h,u.marginLeft=f}return(a&&!e?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(u=eB(u,t)),u}function rB(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=n.ownerDocument.documentElement,a=Gw(n,e),r=Math.max(e.clientWidth,window.innerWidth||0),i=Math.max(e.clientHeight,window.innerHeight||0),o=t?0:Nu(e),s=t?0:Nu(e,"left"),l={top:o-a.top+a.marginTop,left:s-a.left+a.marginLeft,width:r,height:i};return Is(l)}function SM(n){var t=n.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===gc(n,"position"))return!0;var e=Hw(n);return!!e&&SM(e)}function wM(n){if(!n||!n.parentElement||Ru())return document.documentElement;for(var t=n.parentElement;t&&"none"===gc(t,"transform");)t=t.parentElement;return t||document.documentElement}function Kw(n,t,e,a){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},o=r?wM(n):Nb(n,vM(t));if("viewport"===a)i=rB(o,r);else{var s=void 0;"scrollParent"===a?"BODY"===(s=Ff(Hw(t))).nodeName&&(s=n.ownerDocument.documentElement):s="window"===a?n.ownerDocument.documentElement:a;var l=Gw(s,o,r);if("HTML"!==s.nodeName||SM(o))i=l;else{var c=xM(n.ownerDocument),d=c.height,u=c.width;i.top+=l.top-l.marginTop,i.bottom=d+l.top,i.left+=l.left-l.marginLeft,i.right=u+l.left}}var h="number"==typeof(e=e||0);return i.left+=h?e:e.left||0,i.top+=h?e:e.top||0,i.right-=h?e:e.right||0,i.bottom-=h?e:e.bottom||0,i}function iB(n){return n.width*n.height}function kM(n,t,e,a,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===n.indexOf("auto"))return n;var o=Kw(e,a,i,r),s={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},l=Object.keys(s).map(function(h){return _r({key:h},s[h],{area:iB(s[h])})}).sort(function(h,f){return f.area-h.area}),c=l.filter(function(h){var f=h.width,v=h.height;return f>=e.clientWidth&&v>=e.clientHeight}),d=c.length>0?c[0].key:l[0].key,u=n.split("-")[1];return d+(u?"-"+u:"")}function CM(n,t,e){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=a?wM(t):Nb(t,vM(e));return Gw(e,r,a)}function DM(n){var e=n.ownerDocument.defaultView.getComputedStyle(n),a=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:n.offsetWidth+r,height:n.offsetHeight+a}}function Ub(n){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(e){return t[e]})}function TM(n,t,e){e=e.split("-")[0];var a=DM(n),r={width:a.width,height:a.height},i=-1!==["right","left"].indexOf(e),o=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return r[o]=t[o]+t[l]/2-a[l]/2,r[s]=e===s?t[s]-a[c]:t[Ub(s)],r}function Vf(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function PM(n,t,e){var a=void 0===e?n:n.slice(0,function oB(n,t,e){if(Array.prototype.findIndex)return n.findIndex(function(r){return r[t]===e});var a=Vf(n,function(r){return r[t]===e});return n.indexOf(a)}(n,"name",e));return a.forEach(function(r){r.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=r.function||r.fn;r.enabled&&gM(i)&&(t.offsets.popper=Is(t.offsets.popper),t.offsets.reference=Is(t.offsets.reference),t=i(t,r))}),t}function sB(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=CM(this.state,this.popper,this.reference,this.options.positionFixed),n.placement=kM(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),n.originalPlacement=n.placement,n.positionFixed=this.options.positionFixed,n.offsets.popper=TM(this.popper,n.offsets.reference,n.placement),n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",n=PM(this.modifiers,n),this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}function IM(n,t){return n.some(function(e){var a=e.name;return e.enabled&&a===t})}function Ww(n){for(var t=[!1,"ms","Webkit","Moz","O"],e=n.charAt(0).toUpperCase()+n.slice(1),a=0;a<t.length;a++){var r=t[a],i=r?""+r+e:n;if(typeof document.body.style[i]<"u")return i}return null}function lB(){return this.state.isDestroyed=!0,IM(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Ww("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function MM(n){var t=n.ownerDocument;return t?t.defaultView:window}function OM(n,t,e,a){var r="BODY"===n.nodeName,i=r?n.ownerDocument.defaultView:n;i.addEventListener(t,e,{passive:!0}),r||OM(Ff(i.parentNode),t,e,a),a.push(i)}function cB(n,t,e,a){e.updateBound=a,MM(n).addEventListener("resize",e.updateBound,{passive:!0});var r=Ff(n);return OM(r,"scroll",e.updateBound,e.scrollParents),e.scrollElement=r,e.eventsEnabled=!0,e}function dB(){this.state.eventsEnabled||(this.state=cB(this.reference,this.options,this.state,this.scheduleUpdate))}function pB(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function uB(n,t){return MM(n).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}(this.reference,this.state))}function Jw(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function Zw(n,t){Object.keys(t).forEach(function(e){var a="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&Jw(t[e])&&(a="px"),n.style[e]=t[e]+a})}var vB=Uf&&/Firefox/i.test(navigator.userAgent);function RM(n,t,e){var a=Vf(n,function(s){return s.name===t}),r=!!a&&n.some(function(s){return s.name===e&&s.enabled&&s.order<a.order});if(!r){var i="`"+t+"`",o="`"+e+"`";console.warn(o+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return r}var LM=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Xw=LM.slice(3);function NM(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=Xw.indexOf(n),a=Xw.slice(e+1).concat(Xw.slice(0,e));return t?a.reverse():a}var Yw_FLIP="flip",Yw_CLOCKWISE="clockwise",Yw_COUNTERCLOCKWISE="counterclockwise";function wB(n,t,e,a){var r=[0,0],i=-1!==["right","left"].indexOf(a),o=n.split(/(\+|\-)/).map(function(d){return d.trim()}),s=o.indexOf(Vf(o,function(d){return-1!==d.search(/,|\s/)}));o[s]&&-1===o[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[o.slice(0,s).concat([o[s].split(l)[0]]),[o[s].split(l)[1]].concat(o.slice(s+1))]:[o];return c=c.map(function(d,u){var h=(1===u?!i:i)?"height":"width",f=!1;return d.reduce(function(v,A){return""===v[v.length-1]&&-1!==["+","-"].indexOf(A)?(v[v.length-1]=A,f=!0,v):f?(v[v.length-1]+=A,f=!1,v):v.concat(A)},[]).map(function(v){return function SB(n,t,e,a){var r=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],o=r[2];if(!i)return n;if(0===o.indexOf("%")){return Is("%p"===o?e:a)[t]/100*i}if("vh"===o||"vw"===o)return("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(v,h,t,e)})}),c.forEach(function(d,u){d.forEach(function(h,f){Jw(h)&&(r[u]+=h*("-"===d[f-1]?-1:1))})}),r}var IB={shift:{order:100,enabled:!0,fn:function DB(n){var t=n.placement,e=t.split("-")[0],a=t.split("-")[1];if(a){var r=n.offsets,i=r.reference,o=r.popper,s=-1!==["bottom","top"].indexOf(e),l=s?"left":"top",c=s?"width":"height",d={start:Uu({},l,i[l]),end:Uu({},l,i[l]+i[c]-o[c])};n.offsets.popper=_r({},o,d[a])}return n}},offset:{order:200,enabled:!0,fn:function kB(n,t){var e=t.offset,a=n.placement,r=n.offsets,i=r.popper,o=r.reference,s=a.split("-")[0],l=void 0;return l=Jw(+e)?[+e,0]:wB(e,i,o,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),n.popper=i,n},offset:0},preventOverflow:{order:300,enabled:!0,fn:function CB(n,t){var e=t.boundariesElement||Lu(n.instance.popper);n.instance.reference===e&&(e=Lu(e));var a=Ww("transform"),r=n.instance.popper.style,i=r.top,o=r.left,s=r[a];r.top="",r.left="",r[a]="";var l=Kw(n.instance.popper,n.instance.reference,t.padding,e,n.positionFixed);r.top=i,r.left=o,r[a]=s,t.boundaries=l;var c=t.priority,d=n.offsets.popper,u={primary:function(f){var v=d[f];return d[f]<l[f]&&!t.escapeWithReference&&(v=Math.max(d[f],l[f])),Uu({},f,v)},secondary:function(f){var v="right"===f?"left":"top",A=d[v];return d[f]>l[f]&&!t.escapeWithReference&&(A=Math.min(d[v],l[f]-("right"===f?d.width:d.height))),Uu({},v,A)}};return c.forEach(function(h){var f=-1!==["left","top"].indexOf(h)?"primary":"secondary";d=_r({},d,u[f](h))}),n.offsets.popper=d,n},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function xB(n){var t=n.offsets,e=t.popper,a=t.reference,r=n.placement.split("-")[0],i=Math.floor,o=-1!==["top","bottom"].indexOf(r),s=o?"right":"bottom",l=o?"left":"top",c=o?"width":"height";return e[s]<i(a[l])&&(n.offsets.popper[l]=i(a[l])-e[c]),e[l]>i(a[s])&&(n.offsets.popper[l]=i(a[s])),n}},arrow:{order:500,enabled:!0,fn:function yB(n,t){var e;if(!RM(n.instance.modifiers,"arrow","keepTogether"))return n;var a=t.element;if("string"==typeof a){if(!(a=n.instance.popper.querySelector(a)))return n}else if(!n.instance.popper.contains(a))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var r=n.placement.split("-")[0],i=n.offsets,o=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(r),c=l?"height":"width",d=l?"Top":"Left",u=d.toLowerCase(),h=l?"left":"top",f=l?"bottom":"right",v=DM(a)[c];s[f]-v<o[u]&&(n.offsets.popper[u]-=o[u]-(s[f]-v)),s[u]+v>o[f]&&(n.offsets.popper[u]+=s[u]+v-o[f]),n.offsets.popper=Is(n.offsets.popper);var A=s[u]+s[c]/2-v/2,b=gc(n.instance.popper),x=parseFloat(b["margin"+d]),S=parseFloat(b["border"+d+"Width"]),k=A-n.offsets.popper[u]-x-S;return k=Math.max(Math.min(o[c]-v,k),0),n.arrowElement=a,n.offsets.arrow=(Uu(e={},u,Math.round(k)),Uu(e,h,""),e),n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function _B(n,t){if(IM(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var e=Kw(n.instance.popper,n.instance.reference,t.padding,t.boundariesElement,n.positionFixed),a=n.placement.split("-")[0],r=Ub(a),i=n.placement.split("-")[1]||"",o=[];switch(t.behavior){case Yw_FLIP:o=[a,r];break;case Yw_CLOCKWISE:o=NM(a);break;case Yw_COUNTERCLOCKWISE:o=NM(a,!0);break;default:o=t.behavior}return o.forEach(function(s,l){if(a!==s||o.length===l+1)return n;a=n.placement.split("-")[0],r=Ub(a);var c=n.offsets.popper,d=n.offsets.reference,u=Math.floor,h="left"===a&&u(c.right)>u(d.left)||"right"===a&&u(c.left)<u(d.right)||"top"===a&&u(c.bottom)>u(d.top)||"bottom"===a&&u(c.top)<u(d.bottom),f=u(c.left)<u(e.left),v=u(c.right)>u(e.right),A=u(c.top)<u(e.top),b=u(c.bottom)>u(e.bottom),x="left"===a&&f||"right"===a&&v||"top"===a&&A||"bottom"===a&&b,S=-1!==["top","bottom"].indexOf(a),k=!!t.flipVariations&&(S&&"start"===i&&f||S&&"end"===i&&v||!S&&"start"===i&&A||!S&&"end"===i&&b),D=!!t.flipVariationsByContent&&(S&&"start"===i&&v||S&&"end"===i&&f||!S&&"start"===i&&b||!S&&"end"===i&&A),I=k||D;(h||x||I)&&(n.flipped=!0,(h||x)&&(a=o[l+1]),I&&(i=function bB(n){return"end"===n?"start":"start"===n?"end":n}(i)),n.placement=a+(i?"-"+i:""),n.offsets.popper=_r({},n.offsets.popper,TM(n.instance.popper,n.offsets.reference,n.placement)),n=PM(n.instance.modifiers,n,"flip"))}),n},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function PB(n){var t=n.placement,e=t.split("-")[0],a=n.offsets,r=a.popper,i=a.reference,o=-1!==["left","right"].indexOf(e),s=-1===["top","left"].indexOf(e);return r[o?"left":"top"]=i[e]-(s?r[o?"width":"height"]:0),n.placement=Ub(t),n.offsets.popper=Is(r),n}},hide:{order:800,enabled:!0,fn:function TB(n){if(!RM(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,e=Vf(n.instance.modifiers,function(a){return"preventOverflow"===a.name}).boundaries;if(t.bottom<e.top||t.left>e.right||t.top>e.bottom||t.right<e.left){if(!0===n.hide)return n;n.hide=!0,n.attributes["x-out-of-boundaries"]=""}else{if(!1===n.hide)return n;n.hide=!1,n.attributes["x-out-of-boundaries"]=!1}return n}},computeStyle:{order:850,enabled:!0,fn:function AB(n,t){var e=t.x,a=t.y,r=n.offsets.popper,i=Vf(n.instance.modifiers,function(k){return"applyStyle"===k.name}).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var o=void 0!==i?i:t.gpuAcceleration,s=Lu(n.instance.popper),l=jw(s),c={position:r.position},d=function gB(n,t){var e=n.offsets,a=e.popper,r=e.reference,i=Math.round,o=Math.floor,s=function(x){return x},l=i(r.width),c=i(a.width),d=-1!==["left","right"].indexOf(n.placement),u=-1!==n.placement.indexOf("-"),v=t?d||u||l%2==c%2?i:o:s,A=t?i:s;return{left:v(l%2==1&&c%2==1&&!u&&t?a.left-1:a.left),top:A(a.top),bottom:A(a.bottom),right:v(a.right)}}(n,window.devicePixelRatio<2||!vB),u="bottom"===e?"top":"bottom",h="right"===a?"left":"right",f=Ww("transform"),v=void 0,A=void 0;if(A="bottom"===u?"HTML"===s.nodeName?-s.clientHeight+d.bottom:-l.height+d.bottom:d.top,v="right"===h?"HTML"===s.nodeName?-s.clientWidth+d.right:-l.width+d.right:d.left,o&&f)c[f]="translate3d("+v+"px, "+A+"px, 0)",c[u]=0,c[h]=0,c.willChange="transform";else{var b="bottom"===u?-1:1,x="right"===h?-1:1;c[u]=A*b,c[h]=v*x,c.willChange=u+", "+h}var S={"x-placement":n.placement};return n.attributes=_r({},S,n.attributes),n.styles=_r({},c,n.styles),n.arrowStyles=_r({},n.offsets.arrow,n.arrowStyles),n},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function mB(n){return Zw(n.instance.popper,n.styles),function hB(n,t){Object.keys(t).forEach(function(e){!1!==t[e]?n.setAttribute(e,t[e]):n.removeAttribute(e)})}(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&Zw(n.arrowElement,n.arrowStyles),n},onLoad:function fB(n,t,e,a,r){var i=CM(r,t,n,e.positionFixed),o=kM(e.placement,i,t,n,e.modifiers.flip.boundariesElement,e.modifiers.flip.padding);return t.setAttribute("x-placement",o),Zw(t,{position:e.positionFixed?"fixed":"absolute"}),e},gpuAcceleration:void 0}},MB={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:IB},Fb=function(){function n(t,e){var a=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};nB(this,n),this.scheduleUpdate=function(){return requestAnimationFrame(a.update)},this.update=$9(this.update.bind(this)),this.options=_r({},n.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(_r({}
1,n.Defaults.modifiers,r.modifiers)).forEach(function(o){a.options.modifiers[o]=_r({},n.Defaults.modifiers[o]||{},r.modifiers?r.modifiers[o]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(o){return _r({name:o},a.options.modifiers[o])}).sort(function(o,s){return o.order-s.order}),this.modifiers.forEach(function(o){o.enabled&&gM(o.onLoad)&&o.onLoad(a.reference,a.popper,a.options,o,a.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return aB(n,[{key:"update",value:function(){return sB.call(this)}},{key:"destroy",value:function(){return lB.call(this)}},{key:"enableEventListeners",value:function(){return dB.call(this)}},{key:"disableEventListeners",value:function(){return pB.call(this)}}]),n}();Fb.Utils=(typeof window<"u"?window:global).PopperUtils,Fb.placements=LM,Fb.Defaults=MB;const OB=Fb,RB=["popperViewRef"];function LB(n,t){if(1&n&&(m.TgZ(0,"div",5),m.Hsn(1),m.qZA()),2&n){const e=m.oxw();m.Q6J("innerHTML",e.text,m.oJD)}}function NB(n,t){1&n&&(m.TgZ(0,"div",6),m.Hsn(1,1),m.qZA())}const UM=["*","*"];class Yr{}Yr.CLICK="click",Yr.HOVER="hover",Yr.MOUSEDOWN="mousedown",Yr.NONE="none";class ia{}ia.Top="top",ia.Bottom="bottom",ia.Left="left",ia.Right="right",ia.TopStart="top-start",ia.BottomStart="bottom-start",ia.LeftStart="left-start",ia.RightStart="right-start",ia.TopEnd="top-end",ia.BottomEnd="bottom-end",ia.LeftEnd="left-end",ia.RightEnd="right-end",ia.Auto="auto",ia.AutoStart="auto-start",ia.AutoEnd="auto-end";class vo{constructor(t,e,a,r){this.elemRef=t,this.renderer=e,this.viewRef=a,this.CDR=r,this.popperOptions={disableAnimation:!1,disableDefaultStyling:!1,placement:ia.Auto,boundariesElement:"",trigger:Yr.HOVER,positionFixed:!1,appendToBody:!1,popperModifiers:{}},this.isMouseOver=!1,this.onHidden=new m.vpe,this.displayType="none",this.opacity=0,this.ariaHidden="true",this.arrowColor=null,this.state=!0}onMouseOver(){this.isMouseOver=!0}showOnLeave(){this.isMouseOver=!1,(this.popperOptions.trigger===Yr.HOVER||this.popperOptions.hideOnMouseLeave)&&this.hide()}onDocumentResize(){this.update()}ngOnDestroy(){this.clean(),this.popperOptions.appendTo&&this.elemRef&&this.elemRef.nativeElement&&this.elemRef.nativeElement.parentNode&&(this.viewRef.detach(),this.elemRef.nativeElement.parentNode.removeChild(this.elemRef.nativeElement))}clean(){this.toggleVisibility(!1),this.popperInstance&&(this.popperInstance.disableEventListeners(),this.popperInstance.destroy())}show(){if(!this.referenceObject)return;const t=this.popperOptions.appendTo&&document.querySelector(this.popperOptions.appendTo);t&&this.elemRef.nativeElement.parentNode!==t&&(this.elemRef.nativeElement.parentNode&&this.elemRef.nativeElement.parentNode.removeChild(this.elemRef.nativeElement),t.appendChild(this.elemRef.nativeElement));let e={placement:this.popperOptions.placement,positionFixed:this.popperOptions.positionFixed,modifiers:{arrow:{element:this.popperViewRef.nativeElement.querySelector(".ngxp__arrow")}}};this.onUpdate&&(e.onUpdate=this.onUpdate);let a=this.popperOptions.boundariesElement&&document.querySelector(this.popperOptions.boundariesElement);e.modifiers&&a&&(e.modifiers.preventOverflow={boundariesElement:a}),e.modifiers&&void 0!==this.popperOptions.preventOverflow&&(e.modifiers.preventOverflow=e.modifiers.preventOverflow||{},e.modifiers.preventOverflow.enabled=this.popperOptions.preventOverflow,e.modifiers.preventOverflow.enabled||(e.modifiers.hide={enabled:!1})),this.determineArrowColor(),e.modifiers=Object.assign(e.modifiers,this.popperOptions.popperModifiers),this.popperInstance=new OB(this.referenceObject,this.popperViewRef.nativeElement,e),this.popperInstance.enableEventListeners(),this.scheduleUpdate(),this.toggleVisibility(!0),this.globalResize=this.renderer.listen("document","resize",this.onDocumentResize.bind(this))}determineArrowColor(){["background-color","backgroundColor"].some(t=>!(!this.popperOptions.styles||!this.popperOptions.styles.hasOwnProperty(t))&&(this.arrowColor=this.popperOptions.styles[t],!0))}
1update(){this.popperInstance&&this.popperInstance.update()}scheduleUpdate(){this.popperInstance&&this.popperInstance.scheduleUpdate()}hide(){this.popperInstance&&this.popperInstance.destroy(),this.toggleVisibility(!1),this.onHidden.emit()}toggleVisibility(t){t?(this.opacity=1,this.displayType="block",this.ariaHidden="false",this.state=!0):(this.opacity=0,this.displayType="none",this.ariaHidden="true",this.state=!1),this.CDR.destroyed||this.CDR.detectChanges()}extractAppliedClassListExpr(t){if(!t||"string"!=typeof t)return null;try{return t.replace(/ /,"").split(",").reduce((e,a)=>(e[a]=!0,e),{})}catch{return null}}clearGlobalResize(){this.globalResize&&"function"==typeof this.globalResize&&this.globalResize()}}vo.\u0275fac=function(t){return new(t||vo)(m.Y36(m.SBq),m.Y36(m.Qsj),m.Y36(m.s_b),m.Y36(m.sBO))},vo.\u0275cmp=m.Xpm({type:vo,selectors:[["popper-content"]],viewQuery:function(t,e){if(1&t&&m.Gf(RB,5),2&t){let a;m.iGM(a=m.CRH())&&(e.popperViewRef=a.first)}},hostBindings:function(t,e){1&t&&m.NdJ("mouseover",function(){return e.onMouseOver()})("mouseleave",function(){return e.showOnLeave()})},ngContentSelectors:UM,decls:5,vars:20,consts:[[3,"ngStyle","ngClass"],["popperViewRef",""],["class","ngxp__inner",3,"innerHTML",4,"ngIf"],["class","ngxp__inner",4,"ngIf"],[1,"ngxp__arrow",3,"ngClass"],[1,"ngxp__inner",3,"innerHTML"],[1,"ngxp__inner"]],template:function(t,e){1&t&&(m.F$t(UM),m.TgZ(0,"div",0,1),m.YNc(2,LB,2,1,"div",2),m.YNc(3,NB,2,0,"div",3),m._UZ(4,"div",4),m.qZA()),2&t&&(m.Udp("display",e.displayType)("opacity",e.opacity),m.ekj("ngxp__container",!e.popperOptions.disableDefaultStyling)("ngxp__animation",!e.popperOptions.disableAnimation),m.Q6J("ngStyle",e.popperOptions.styles)("ngClass",e.extractAppliedClassListExpr(e.popperOptions.applyClass)),m.uIk("aria-hidden",e.ariaHidden)("aria-describedby",e.popperOptions.ariaDescribe||null)("role",e.popperOptions.ariaRole),m.xp6(2),m.Q6J("ngIf",e.text),m.xp6(1),m.Q6J("ngIf",!e.text),m.xp6(1),m.Udp("border-color",e.arrowColor),m.ekj("__force-arrow",e.arrowColor),m.Q6J("ngClass",e.extractAppliedClassListExpr(e.popperOptions.applyArrowClass)))},directives:[Q.PC,Q.mk,Q.O5],styles:[".ngxp__container{display:none;position:absolute;border-radius:3px;border:1px solid grey;box-shadow:0 0 2px rgba(0,0,0,.5);padding:10px}.ngxp__container.ngxp__animation{-webkit-animation:150ms ease-out ngxp-fadeIn;animation:150ms ease-out ngxp-fadeIn}.ngxp__container>.ngxp__arrow{border-color:grey;width:0;height:0;border-style:solid;position:absolute;margin:5px}.ngxp__container[x-placement^=bottom],.ngxp__container[x-placement^=left],.ngxp__container[x-placement^=right],.ngxp__container[x-placement^=top]{display:block}.ngxp__container[x-placement^=top]{margin-bottom:5px}.ngxp__container[x-placement^=top]>.ngxp__arrow{border-width:5px 5px 0;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;bottom:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.ngxp__container[x-placement^=top]>.ngxp__arrow.__force-arrow{border-right-color:transparent!important;border-bottom-color:transparent!important;border-left-color:transparent!important}.ngxp__container[x-placement^=bottom]{margin-top:5px}.ngxp__container[x-placement^=bottom]>.ngxp__arrow{border-width:0 5px 5px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent;top:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.ngxp__container[x-placement^=bottom]>.ngxp__arrow.__force-arrow{border-top-color:transparent!important;border-right-color:transparent!important;border-left-color:transparent!important}.ngxp__container[x-placement^=right]{margin-left:5px}.ngxp__container[x-placement^=right]>.ngxp__arrow{border-width:5px 5px 5px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent;left:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.ngxp__container[x-placement^=right]>.ngxp__arrow.__force-arrow{border-top-color:transparent!important;border-bottom-color:transparent!important;border-left-color:transparent!important}.ngxp__container[x-placement^=left]{margin-right:5px}.ngxp__container[x-placement^=left]>.ngxp__arrow{border-width:5px 0 5px 5px;border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;right:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.ngxp__container[x-placement^=left]>.ngxp__arrow.__force-arrow{border-top-color:transparent!important;border-bottom-color:transparent!important;border-right-color:transparent!important}@-webkit-keyframes ngxp-fadeIn{0%{display:none;opacity:0}
11%{display:block;opacity:0}100%{display:block;opacity:1}}@keyframes ngxp-fadeIn{0%{display:none;opacity:0}1%{display:block;opacity:0}100%{display:block;opacity:1}}"],encapsulation:2,changeDetection:0}),vo.ctorParameters=()=>[{type:m.SBq},{type:m.Qsj},{type:m.s_b},{type:m.sBO}],vo.propDecorators={popperViewRef:[{type:m.i9L,args:["popperViewRef"]}],onMouseOver:[{type:m.L6J,args:["mouseover"]}],showOnLeave:[{type:m.L6J,args:["mouseleave"]}]};class Dn{constructor(t,e,a,r,i,o={}){this.viewContainerRef=t,this.changeDetectorRef=e,this.resolver=a,this.elementRef=r,this.renderer=i,this.popperDefaults=o,this.popperContentClass=vo,this.shown=!1,this.subscriptions=[],this.eventListeners=[],this.globalEventListeners=[],this.hideTimeout=0,this.timeoutAfterShow=0,this.popperOnShown=new m.vpe,this.popperOnHidden=new m.vpe,this.popperOnUpdate=new m.vpe,Dn.baseOptions=Object.assign({},Dn.baseOptions,this.popperDefaults)}hideOnClickOutsideHandler(t){this.disabled||!this.hideOnClickOutside||t.srcElement&&t.srcElement===this.popperContent.elemRef.nativeElement||this.popperContent.elemRef.nativeElement.contains(t.srcElement)||this.scheduledHide(t,this.hideTimeout)}hideOnScrollHandler(t){this.disabled||!this.hideOnScroll||this.scheduledHide(t,this.hideTimeout)}applyTriggerListeners(){switch(this.showTrigger){case Yr.CLICK:this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"click",this.toggle.bind(this)));break;case Yr.MOUSEDOWN:this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"mousedown",this.toggle.bind(this)));break;case Yr.HOVER:this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"mouseenter",this.scheduledShow.bind(this,this.showDelay))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"touchend",this.scheduledHide.bind(this,null,this.hideTimeout))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"touchcancel",this.scheduledHide.bind(this,null,this.hideTimeout))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"mouseleave",this.scheduledHide.bind(this,null,this.hideTimeout)))}this.showTrigger!==Yr.HOVER&&this.hideOnMouseLeave&&(this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"touchend",this.scheduledHide.bind(this,null,this.hideTimeout))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"touchcancel",this.scheduledHide.bind(this,null,this.hideTimeout))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"mouseleave",this.scheduledHide.bind(this,null,this.hideTimeout))))}static assignDefined(t,...e){for(const a of e)for(const r of Object.keys(a)){const i=a[r];void 0!==i&&(t[r]=i)}return t}ngOnInit(){if(this.hideOnClickOutside=typeof this.hideOnClickOutside>"u"?this.closeOnClickOutside:this.hideOnClickOutside,"string"==typeof this.content){const e=this.content;this.popperContent=this.constructContent(),this.popperContent.text=e}else this.popperContent=this.content;const t=this.popperContent;t.referenceObject=this.getRefElement(),this.setContentProperties(t),this.setDefaults(),this.applyTriggerListeners(),this.showOnStart&&this.scheduledShow()}ngOnChanges(t){t.popperDisabled&&t.popperDisabled.currentValue&&this.hide(),t.content&&!t.content.firstChange&&"string"==typeof t.content.currentValue&&(this.popperContent.text=t.content.currentValue),t.applyClass&&!t.applyClass.firstChange&&"string"==typeof t.applyClass.currentValue&&(this.popperContent.popperOptions.applyClass=t.applyClass.currentValue),t.applyArrowClass&&!t.applyArrowClass.firstChange&&"string"==typeof t.applyArrowClass.currentValue&&(this.popperContent.popperOptions.applyArrowClass=t.applyArrowClass.currentValue)}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe&&t.unsubscribe()),this.subscriptions.length=0,this.clearEventListeners(),this.clearGlobalEventListeners(),clearTimeout(this.scheduledShowTimeout),clearTimeout(this.scheduledHideTimeout),this.popperContent&&this.popperContent.clean()}toggle(){this.disabled||(this.shown?this.scheduledHide(null,this.hideTimeout):this.scheduledShow())}show(){if(this.shown)return void this.overrideHideTimeout();this.shown=!0;const t=this.popperContent,e=this.getRefElement();t.referenceObject!==e&&(t.referenceObject=e),this.setContentProperties(t),t.show(),this.popperOnShown.emit(this),this.timeoutAfterShow>0&&this.scheduledHide(null,this.timeoutAfterShow),this.globalEventListeners.push(this.renderer.listen("document","touchend",this.hideOnClickOutsideHandler.bind(this))),this.globalEventListeners.push(this.renderer.listen("document","click",this.hideOnClickOutsideHandler.bind(this))),this.globalEventListeners.push(this.renderer.listen(this.getScrollParent(this.getRefElement()),"scroll",this.hideOnScrollHandler.bind(this)))}
1hide(){if(!this.disabled){if(!this.shown)return void this.overrideShowTimeout();this.shown=!1,this.popperContentRef?this.popperContentRef.instance.hide():this.popperContent.hide(),this.popperOnHidden.emit(this),this.clearGlobalEventListeners()}}scheduledShow(t=this.showDelay){this.disabled||(this.overrideHideTimeout(),this.scheduledShowTimeout=setTimeout(()=>{this.show(),this.applyChanges()},t))}scheduledHide(t=null,e=this.hideTimeout){this.disabled||(this.overrideShowTimeout(),this.scheduledHideTimeout=setTimeout(()=>{const a=t?t.toElement:null,r=!!this.popperContent.popperViewRef&&this.popperContent.popperViewRef.nativeElement;!r||r===a||r.contains(a)||this.content.isMouseOver||(this.hide(),this.applyChanges())},e))}getRefElement(){return this.targetElement||this.viewContainerRef.element.nativeElement}applyChanges(){this.changeDetectorRef.markForCheck(),this.changeDetectorRef.detectChanges()}setDefaults(){this.showDelay=typeof this.showDelay>"u"?Dn.baseOptions.showDelay:this.showDelay,this.showTrigger=typeof this.showTrigger>"u"?Dn.baseOptions.trigger:this.showTrigger,this.hideOnClickOutside=typeof this.hideOnClickOutside>"u"?Dn.baseOptions.hideOnClickOutside:this.hideOnClickOutside,this.hideOnScroll=typeof this.hideOnScroll>"u"?Dn.baseOptions.hideOnScroll:this.hideOnScroll,this.hideOnMouseLeave=typeof this.hideOnMouseLeave>"u"?Dn.baseOptions.hideOnMouseLeave:this.hideOnMouseLeave,this.ariaRole=typeof this.ariaRole>"u"?Dn.baseOptions.ariaRole:this.ariaRole,this.ariaDescribe=typeof this.ariaDescribe>"u"?Dn.baseOptions.ariaDescribe:this.ariaDescribe,this.styles=typeof this.styles>"u"?Object.assign({},Dn.baseOptions.styles):this.styles}clearEventListeners(){this.eventListeners.forEach(t=>{t&&"function"==typeof t&&t()}),this.eventListeners.length=0}clearGlobalEventListeners(){this.globalEventListeners.forEach(t=>{t&&"function"==typeof t&&t()}),this.globalEventListeners.length=0}overrideShowTimeout(){this.scheduledShowTimeout&&(clearTimeout(this.scheduledShowTimeout),this.scheduledHideTimeout=0)}overrideHideTimeout(){this.scheduledHideTimeout&&(clearTimeout(this.scheduledHideTimeout),this.scheduledHideTimeout=0)}constructContent(){const t=this.resolver.resolveComponentFactory(this.popperContentClass);return this.popperContentRef=this.viewContainerRef.createComponent(t),this.popperContentRef.instance}setContentProperties(t){t.popperOptions=Dn.assignDefined(t.popperOptions,Dn.baseOptions,{showDelay:this.showDelay,disableAnimation:this.disableAnimation,disableDefaultStyling:this.disableStyle,placement:this.placement,boundariesElement:this.boundariesElement,trigger:this.showTrigger,positionFixed:this.positionFixed,popperModifiers:this.popperModifiers,ariaDescribe:this.ariaDescribe,ariaRole:this.ariaRole,applyClass:this.applyClass,applyArrowClass:this.applyArrowClass,hideOnMouseLeave:this.hideOnMouseLeave,styles:this.styles,appendTo:this.appendTo,preventOverflow:this.preventOverflow}),t.onUpdate=this.onPopperUpdate.bind(this),this.subscriptions.push(t.onHidden.subscribe(this.hide.bind(this)))}getScrollParent(t){const a=t instanceof HTMLElement&&window.getComputedStyle(t).overflowY;return t?"visible"!==a&&"hidden"!==a&&t.scrollHeight>=t.clientHeight?t:this.getScrollParent(t.parentNode)||document:null}onPopperUpdate(t){this.popperOnUpdate.emit(t)}}Dn.\u0275fac=function(t){return new(t||Dn)(m.Y36(m.s_b),m.Y36(m.sBO),m.Y36(m._Vd),m.Y36(m.SBq),m.Y36(m.Qsj),m.Y36("popperDefaults"))},Dn.\u0275dir=m.lG2({type:Dn,selectors:[["","popper",""]],inputs:{hideTimeout:["popperTimeout","hideTimeout"],timeoutAfterShow:["popperTimeoutAfterShow","timeoutAfterShow"],hideOnClickOutside:["popperHideOnClickOutside","hideOnClickOutside"],showDelay:["popperDelay","showDelay"],showTrigger:["popperTrigger","showTrigger"],hideOnScroll:["popperHideOnScroll","hideOnScroll"],hideOnMouseLeave:["popperHideOnMouseLeave","hideOnMouseLeave"],ariaRole:["popperAriaRole","ariaRole"],ariaDescribe:["popperAriaDescribeBy","ariaDescribe"],styles:["popperStyles","styles"],content:["popper","content"],disabled:["popperDisabled","disabled"],placement:["popperPlacement","placement"],targetElement:["popperTarget","targetElement"],boundariesElement:["popperBoundaries","boun
1dariesElement"],showOnStart:["popperShowOnStart","showOnStart"],closeOnClickOutside:["popperCloseOnClickOutside","closeOnClickOutside"],positionFixed:["popperPositionFixed","positionFixed"],popperModifiers:"popperModifiers",disableStyle:["popperDisableStyle","disableStyle"],disableAnimation:["popperDisableAnimation","disableAnimation"],applyClass:["popperApplyClass","applyClass"],applyArrowClass:["popperApplyArrowClass","applyArrowClass"],appendTo:["popperAppendTo","appendTo"],preventOverflow:["popperPreventOverflow","preventOverflow"]},outputs:{popperOnShown:"popperOnShown",popperOnHidden:"popperOnHidden",popperOnUpdate:"popperOnUpdate"},exportAs:["popper"],features:[m.TTD]}),Dn.baseOptions={showDelay:0,placement:ia.Auto,hideOnClickOutside:!0,hideOnMouseLeave:!1,hideOnScroll:!1,showTrigger:Yr.HOVER,appendTo:void 0,ariaRole:"popper",ariaDescribe:"",styles:{}},Dn.ctorParameters=()=>[{type:m.s_b},{type:m.sBO},{type:m._Vd},{type:m.SBq},{type:m.Qsj},{type:void 0,decorators:[{type:m.tBr,args:["popperDefaults"]}]}],Dn.propDecorators={content:[{type:m.IIB,args:["popper"]}],disabled:[{type:m.IIB,args:["popperDisabled"]}],placement:[{type:m.IIB,args:["popperPlacement"]}],showTrigger:[{type:m.IIB,args:["popperTrigger"]}],targetElement:[{type:m.IIB,args:["popperTarget"]}],showDelay:[{type:m.IIB,args:["popperDelay"]}],hideTimeout:[{type:m.IIB,args:["popperTimeout"]}],timeoutAfterShow:[{type:m.IIB,args:["popperTimeoutAfterShow"]}],boundariesElement:[{type:m.IIB,args:["popperBoundaries"]}],showOnStart:[{type:m.IIB,args:["popperShowOnStart"]}],closeOnClickOutside:[{type:m.IIB,args:["popperCloseOnClickOutside"]}],hideOnClickOutside:[{type:m.IIB,args:["popperHideOnClickOutside"]}],hideOnScroll:[{type:m.IIB,args:["popperHideOnScroll"]}],hideOnMouseLeave:[{type:m.IIB,args:["popperHideOnMouseLeave"]}],positionFixed:[{type:m.IIB,args:["popperPositionFixed"]}],popperModifiers:[{type:m.IIB,args:["popperModifiers"]}],disableStyle:[{type:m.IIB,args:["popperDisableStyle"]}],disableAnimation:[{type:m.IIB,args:["popperDisableAnimation"]}],applyClass:[{type:m.IIB,args:["popperApplyClass"]}],applyArrowClass:[{type:m.IIB,args:["popperApplyArrowClass"]}],ariaDescribe:[{type:m.IIB,args:["popperAriaDescribeBy"]}],ariaRole:[{type:m.IIB,args:["popperAriaRole"]}],styles:[{type:m.IIB,args:["popperStyles"]}],appendTo:[{type:m.IIB,args:["popperAppendTo"]}],preventOverflow:[{type:m.IIB,args:["popperPreventOverflow"]}],popperOnShown:[{type:m.r_U}],popperOnHidden:[{type:m.r_U}],popperOnUpdate:[{type:m.r_U}]};class Ao{ngDoBootstrap(){}static forRoot(t={}){return{ngModule:Ao,providers:[{provide:"popperDefaults",useValue:t}]}}}Ao.\u0275fac=function(t){return new(t||Ao)},Ao.\u0275mod=m.oAB({type:Ao}),Ao.\u0275inj=m.cJS({imports:[[Q.ez]]}),(typeof ngJitMode>"u"||ngJitMode)&&m.kYT(Ao,{declarations:function(){return[Dn,vo]},imports:function(){return[Q.ez]},exports:function(){return[Dn,vo]}});var yo=F(62289),It=F(44476);var Vb=F(75819),St=F(65938),ne=F(61036);let vc=class{constructor(t,e,a,r,i){this.dialogRef=t,this.storeService=e,this.translate=a,this.message=r,this.data=i,this.formDataSource=[]}ngOnInit(){this.data||(this.data={});try{"store_img"==this.data.key?this.formDataSource=[{type:"image",key:"store_img"}]:"default_tax_rate"==this.data.key&&(this.formDataSource=[{type:"input",key:"default_tax_rate",value:this.data.store.default_tax_rate}])}catch(t){console.error(t)}}handleSubmit(t){const e=new FormData;this.commonForm.uploadFile&&e.append("store_img",this.commonForm.uploadFile);try{this.data&&t&&this.storeService.updateStore(e,this.data.store.id).subscribe(a=>{this.dialogRef.close("success"),this.message.success(this.translate.instant("common_update_success"))},a=>{console.log(a)})}catch(a){console.log(a)}}};vc.ctorParameters=()=>[{type:St.so},{type:Vb.d},{type:Y.sK},{type:ne.I},{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}],vc.propDecorators={commonForm:[{type:m.i9L,args:["commonForm"]}]},vc=(0,j.gn)([(0,m.wA2)({selector:"app-chnage-logo",template:'<div mat-dialog-content>\n <div class="w-100 d-flex justify-content-end">\n <button mat-icon-button [mat-dialog-close]="false">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <app-common-form #commonForm [dataSource]="formDataSource" (onSubmit)="handleSubmit($event)"></app-common-form>\n</div>\n',styles:[""]})],vc);var EB=F(85999),bo=F(98613),qB=F(30651),Yn=F(36955);new Nt.WM({"Content-Type":"application/json"});let Fu=class{constructor(t,e,a,r,i,o,s,l,c,d){this.userService=a,this.translate=r,this.navService=i,this.router=o,this.http=s,this.dialog=l,this.authService=c,this.configService=d,this.navselectedArray=[],this.arraySelected=[],this.isExpanded=!0,this.code=localStorage.getItem("curr"),this.orderTotal=0,this.visible=!0,this.selectable=!0,this.removable=!0,this.addOn
1Blur=!0,this.system=!1,this.purchase=!1,this.store=!0,this.onlineShop=!1,this.variable=!0,this.nameLink="Dashboard",this.routeLink="/shop/shop-overview",this.keywords=[],this.fillerNav=Array.from({length:10},(h,f)=>`Nav Item ${f+1}`),this.tablink=[],this.lastvalueselected=[],this.prodexpLength=0,this.prodwarnLength=0,this.redirectURLStore="http://dev.siyoutechnology.com/shopoverview",this.redirectURLB2B="https://siyou-b2b.herokuapp.com/overview",console.log("dashboard layout init");let u=this.configService.getConfig();this.baseUrl=`${u.baseUrl}`,this.baseUrlS2C=`${u.baseUrlS2C}`,this.mobileQuery=e.matchMedia("(max-width: 576px)"),this.mobileQueryListener=()=>t.detectChanges(),this.mobileQuery.addEventListener("change",this.mobileQueryListener),this.navigationSubscription=this.router.events.subscribe(h=>{It.m2})}ngOnInit(){console.log("init test"),this.data=localStorage.getItem("token"),this.selectedChild=JSON.parse(localStorage.getItem("arrayselected")),this.getMyInfos(),this.getMyMenu(),this.getExpProduct(this.data),this.getWarnProduct(),this.getBasketLength(),this.getBasketProducts(),this.name=localStorage.getItem("first_name"),this.lastname=localStorage.getItem("last_name"),this.image=localStorage.getItem("img_url"),this.email=localStorage.getItem("userEmail"),this.openStore(),this.loadVersion()}ngOnChanges(t){this.propChanges=t}ngOnDestroy(){this.mobileQuery.removeEventListener("change",this.mobileQueryListener),this.navigationSubscription&&this.navigationSubscription.unsubscribe()}opennav(t){this.router.navigate([t])}btnLogoClick(){this.router.navigate(["/"])}changeMenu(t){0==this.arraySelected.filter(a=>a.translationKey===JSON.parse(localStorage.getItem("arrayselected")).translationKey).length&&this.arraySelected.push(JSON.parse(localStorage.getItem("arrayselected")))}closePage(t,e){let a=[];a=this.arraySelected[e-1],a&&this.router.navigate([a.route]),this.arraySelected.splice(e,1)}loadVersion(){this.configService.loadVersion().subscribe(t=>{this.versionInfo=t})}redirection(){this.redirectTo(this.tablink[this.tablink.length-1].route)}getMyInfos(){const t=localStorage.getItem("currency_user"),e=localStorage.getItem("currency_user_id"),a=localStorage.getItem("logo_user"),r=localStorage.getItem("i18n");t&&e&&a&&r?this.userInfo={currencies:[{symbol:t,id:e}],store:{store_logo:a},language:r}:this.userService.getUser().subscribe(i=>{this.userInfo=i,localStorage.setItem("currency_user",this.userInfo.currencies[0].symbol),localStorage.setItem("currency_user_id",this.userInfo.currencies[0].id),localStorage.setItem("logo_user",this.userInfo.store.store_logo),localStorage.setItem("i18n",this.userInfo.language)})}getMyMenu(){const t=localStorage.getItem("navItems"),e=localStorage.getItem("warehouse");t&&e?(this.navItems=JSON.parse(t),this.warehouse=JSON.parse(e)):this.userService.getUserMenu().subscribe(a=>{a.data.warehouse&&(this.warehouse=a.data.warehouse,localStorage.setItem("warehouse",JSON.stringify(this.warehouse))),this.navItems=this.navService.getNavItemsByUserMenuDataForS2C(a),localStorage.setItem("navItems",JSON.stringify(this.navItems))})}redirectTo(t){this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>this.router.navigate([t]))}showPopperContent(){this.mobileQuery.matches?this.router.navigate(["/shop/purchase"]):this.popperContent.show()}getBasketLength(){const t=JSON.parse(localStorage.getItem("Basket"));t&&t.length?this.basketLength=t.length:this.basketLength=0}getBasketProducts(){const t=JSON.parse(localStorage.getItem("Basket"));t&&(this.basket=t,this.basket.forEach(e=>{this.orderTotal+=e.totalPrice}))}openAll(){const t=document.getElementById("purchase");document.getElementById("store").style.display="block",t.style.display="block",this.system=!0,this.purchase=!1,this.store=!1,this.onlineShop=!1}openPurchase(){const t=document.getElementById("store"),e=document.getElementById("purchase");t.style.display="none",e.style.display="block",this.system=!1,this.purchase=!0,this.store=!1,this.onlineShop=!1}openStore(){const t=document.getElementById("store");document.getElementById("purchase").style.display="none",t.style.display="block",this.system=!1,this.purchase=!1,this.store=!0,this.onlineShop=!1}openOnlineShop(){this.system=!1,this.purchase=!1,this.store=!1,this.onlineShop=!0}openWarehouse(){const t=document.getElementById("purchase");document.getElementById("store").style.display="none",t.style.display="none"}myFunctionSearch(){let t,e,a,r,i,o;for(t=document.getElementById("mySearch"),e=t.value.toUpperCase(),a=document.getElementById("myMenu"),r=a.getElementsByTagName("li"),o=0;o<r.length;o++)i=r[o].getElementsByTagName("a")[0],i.innerHTML.toUpperCase().indexOf(e)>-1?r[o].style.display="":r[o].style.display="none"}openChangeLogo(){this.dialog.open(vc,{width:"400px"}).afterClosed().subscribe(e=>{this.getMyInfos()})}getWarnProduct(){this.http.post(`${this.baseUrlS2C}/Product/expiration?token=`+localStorage.getItem("token"),this.data).subscribe(t=>{this.allItems=t,this.prodexpLength=this.allItems.total},t=>{})}getExpProduct(t){this.http.post(`${this.baseUrlS2C}/Product/warn`,{token:localStorage.getItem("token")},t).subscribe(e=>{this.allItems=e,this.prodwarnLength=this.allItems.total}),0===this.prodexpLength&&(this.badge=1),0===this.prodwarnLength&&(this.badge=1),0===this.prodexpLength&&0===this.prodwarnLength?this.badge=0:this.badge=2}handleToggle(){console.log("li:",this.isExpanded),this.isExpanded=!this.isExpanded}};Fu.ctorParameters=()=>[{type:m.sBO},{type:yo.vx},{type:bo.K},{type:Y.sK},{type:qB.t},{type:It.F0},{type:Nt.eN},{type:St.uw},{type:EB.$},{type:Yn.E}],Fu.propDecorators={popperContent:[{type:m.i9L,args:["popperContent",{static:!0}]}],shoppingBasket:[{type:m.i9L,args:["shopping_basket"]}],lastvalueselected:[{type:m.IIB}],myValProp:[{type:m.IIB}]},Fu=(0,j.gn)([(0,m.wA2)({selector:"app-dashboard-shop-layout",template:'<div class="print-layout d-flex flex-column w-100 h-100" [class.is-mobile]="mobileQuery.matches">\n <mat-toolbar class="layout-toolbar toolbar d-flex">\n <div class="toolbarLogo clickable" (click)="btnLogoClick()">\n <mat-icon *ngIf="!userInfo.store" svgIcon="logo_store"></mat-icon>\n <img *ngIf="userInfo.store" [src]="userInfo.store.store_logo" class="rounded-circle p-2" />\n </div>\n <div class="flex-grow-1">\n <button mat-icon-button *ngIf="mobileQuery.matches" (click)="handleToggle()">\n <mat-icon>menu</mat-icon>\n </button>\n <h1 *ngIf="!mobileQuery.matches" class="ml-3">{{ \'Shop\' | translate}}</h1>\n </div>\n <div class="search-container" *ngIf="!mobileQuery.matches">\n <mat-icon class="align-middle">search</mat-icon>\n <input class="ml-3" type="text" placeholder="{{\'common_search\' | translate}}" />\n </div>\n <div class="icon-action-section d-flex justify-content-end">\n <div class="icon-item" [matMenuTriggerFor]="menuNot">\n <mat-icon class="align-middle">{{\'Notification\' | translate}}</mat-icon>\n </div>\n <app-store-selector></app-store-selector>\n <app-shopping-cart [basketLength]="basketLength" [basket]="basket"></app-shopping-cart>\n <app-multi-language></app-multi-language>\n <app-settings></app-settings>\n </div>\n </mat-toolbar>\n <div class="bottomToggle" [class.isSideNavOpen]="isExpanded" *ngIf="!mobileQuery.matches">\n <mat-divider class="divider"></mat-divider>\n <button mat-icon-button (click)="handleToggle()" class="mx-1 active">\n <mat-icon>menu</mat-icon>\n </button>\n </div>\n <mat-sidenav-container class="sidenav-container" [style.marginTop.px]="mobileQuery.matches ? 56 : 0">\n <mat-sidenav [opened]="true" #shopSidenav class="sideNav" [class.is-mobile]="mobileQuery.matches"\n [mode]="mobileQuery.matches ? \'over\' : \'side\'" fixedInViewport="true"\n [fixedTopGap]="mobileQuery.matches ? 56 : 64" [fixedBottomGap]="mobileQuery.matches ? 0 : 41" [style.width.px]="isExpanded?208:48">\n <mat-nav-list>\n <div [class.isSideNavOpen]="isExpanded">\n <button mat-icon-button (click)="handleToggle()" class="mx-1 active">\n <mat-icon>menu</mat-icon>\n </button>\n </div>\n <ul id="myMenu" style="overflow-y: visible; overflow-x: hidden">\n <div *ngFor="let item of navItems">\n <li (click)="isExpanded ? \'\' : handleToggle()">\n <a>\n <app-menu-list-item [item]="item" [sideNavOpen]="isExpanded" (childSelect)="changeMenu($event)">\n </app-menu-list-item>\n </a>\n </li>\n <mat-divider class="divider"></mat-divider>\n </div>\n </ul>\n </mat-nav-list>\n </mat-sidenav>\n <mat-sidenav-content [style.margin-left.px]="isExpanded?208:48">\n <div style="overflow: auto;" class="s2c-dashboard-shop d-flex flex-column h-100">\n <div class="flex-grow-1">\n <div class="topnav rounded" id="myTopnav">\n <div class="header">\n <div class="row mx-0">\n <div class="" *ngFor="let item of arraySelected;let i=index">\n <button class="btn btn-outline-primary border px-2 py-0 " (click)="opennav(item.route)">\n <small class="display-6">{{item.translationKey | translate}}</small>\n <i class="fa fa-times text-outline-primary pl-1 pt-1" (click)="closePage(item,i)"></i>\n </button>\n\n </div>\n </div>\n <div class="count">\n <app-count-down-timer></app-count-down-timer>\n </div>\n </div>\n </div>\n <router-outlet></router-outlet>\n </div>\n <div class="layout-footer">\n <app-footer></app-footer>\n </div>\n </div>\n </mat-sidenav-content>\n </mat-sidenav-container>\n\n <mat-menu #menuNot="matMenu" backdropClass="custom__menu__notification" style=" left: 660px">\n <div class="menuList-header" style=" border-bottom: 1px solid #D8D8D8;">\n <div class="container-header">\n <h4>\n Notifications\n </h4>\n </div>\n </div>\n <div class="menuList-notif">\n <div class="container" routerLink="/shop/expired-products">
1\n <span class="icon-notif"><i style="color: black;" class="fas fa-bell"></i></span>\n <h4 style="color: black;font-size: 14px; width: 80%;">\n {{ prodexpLength }}\n <a style="color: #a00000;" routerLink="/shop/expired-date">{{\n "Products" | translate\n }}</a>\n {{ "Expired" | translate }} {{ "In 3 days" | translate }}\n </h4>\n </div>\n </div>\n <div class="menuList-notif">\n <div class="container" routerLink="/shop/warn-products">\n <span class="icon-notif"><i style="color: black;" class="fas fa-bell"></i></span>\n <h4 style="color: black;font-size: 14px; width: 80%;">\n {{ "warn_quant" | translate }} :{{ prodwarnLength }}\n <a style="color: #a00000;" routerLink="/shop/warn-products">{{\n "Products" | translate\n }}</a>\n </h4>\n\n </div>\n </div>\n </mat-menu>\n</div>\n',encapsulation:m.ifc.None,styles:['* {\n font-family: "Poppins", serif;\n}\n\n.count {\n width: 100%;\n height: 5%;\n background-color: #a00000;\n}\n\n.custom__menu + * .cdk-overlay-pane > div.mat-menu-panel > div.mat-menu-content {\n width: 200px !important;\n padding: 18px 18px 18px 18px;\n}\n\n.custom__menu__basket + * .cdk-overlay-pane > div.mat-menu-panel > div.mat-menu-content {\n width: 500px !important;\n padding: 18px 18px 18px 18px;\n}\n\n.custom__menu__notification + * .cdk-overlay-pane > div.mat-menu-panel > div.mat-menu-content {\n width: 500px !important;\n padding: 18px 18px 18px 18px;\n}\n\n.userInfos {\n width: 100%;\n display: grid;\n border-bottom: 1px solid black;\n grid-template-columns: auto 1fr;\n padding: 5px;\n}\n\n.tab {\n width: 100%;\n}\n\n.tab th,\n.tab td {\n align-items: left;\n text-align: left;\n}\n\n.toolbar {\n background: var(--white);\n}\n\n.toolbar .toolbarLogo {\n width: 64px;\n height: 100%;\n}\n\n.toolbar .toolbarLogo mat-icon {\n width: 100%;\n height: 100%;\n}\n\n.toolbar .toolbarLogo img {\n height: 100%;\n object-fit: cover;\n}\n\n.is-mobile .toolbar {\n position: fixed;\n z-index: 1000;\n}\n\n.sidenav-container {\n flex: 1;\n background: var(--white);\n}\n\n.sidenav-container mat-sidenav {\n transition: all 225ms cubic-bezier(0.4, 0, 0.2, 1) !important;\n}\n\n.is-mobile .search {\n text-align: center;\n padding: 10px 20px;\n position: relative;\n}\n\n.is-mobile .search > input {\n width: 100%;\n background-color: transparent;\n border: none;\n border-bottom: 1px solid black;\n padding: 7px 0 7px;\n color: black;\n}\n\n.is-mobile .search > input ~ i {\n position: absolute;\n right: 40px;\n display: block;\n color: black;\n font-size: 19px;\n top: 12px;\n}\n\n.is-mobile mat-form-field,\nmat-icon {\n font-size: 12px;\n}\n\n.topnav {\n overflow: hidden;\n padding: 0px !important;\n width: 100%;\n /* width */\n}\n\n::-webkit-scrollbar {\n width: 3px;\n}\n\n/* Handle */\n\n::-webkit-scrollbar-thumb {\n background: #9e9e9e !important;\n}\n\n/* End heading */\n\n/* Start search */\n\n.search {\n text-align: center;\n padding: 10px 20px;\n position: relative;\n}\n\n.search > input {\n width: 100%;\n background-color: transparent;\n border: none;\n border-bottom: 1px solid white;\n padding: 7px 0 7px;\n color: white;\n}\n\n.search > input ~ i {\n position: absolute;\n right: 40px;\n display: block;\n color: white;\n font-size: 19px;\n top: 22px;\n}\n\n/* Left column (menu) */\n\n.left {\n float: left;\n width: 75%;\n /* The width is 20%, by default */\n}\n\n.right {\n float: right;\n}\n\n/* Use a media query to add a break point at 800px: */\n\n/* Style the search box */\n\n/* Style the navigation menu inside the left column */\n\n#myMenu {\n list-style-type: none;\n padding: 0;\n margin: 0;\n}\n\n#myMenu li a {\n text-decoration: none;\n display: block;\n font-size: 12px !important;\n}\n\nmat-nav-list {\n overflow-x: hidden;\n transition: all 225ms cubic-bezier(0.4, 0, 0.2, 1) !important;\n}\n\n@media screen and (max-width: 576px) {\n .topnav .left a:not(:first-child) {\n display: none;\n }\n\n .topnav a.icon {\n float: right;\n display: block;\n }\n}\n\n@media screen and (max-width: 1024px) and (min-width: 769px) {\n label {\n margin-bottom: 0px !important;\n }\n\n .topnav a {\n float: left;\n display: block;\n text-align: center;\n padding: 15px 10px 0px 10px;\n text-decoration: none;\n font-size: 12px;\n color: black;\n border: none;\n }\n\n .topnav a mat-icon {\n font-size: 20px !important;\n }\n\n .left {\n float: left;\n width: 76%;\n /* The width is 20%, by default */\n }\n\n .right {\n float: right;\n }\n}\n\n@media screen and (max-width: 768px) {\n .topnav a {\n float: left;\n display: block;\n text-align: center;\n text-decoration: none;\n font-size: 8px;\n color: black;\n border: none;\n padding: 10px 5px 10px 5px;\n }\n\n .field {\n width: 35px !important;\n }\n\n .topnav a mat-icon {\n font-size: 14px !important;\n }\n\n .left {\n float: left;\n width: 70%;\n /* The width is 20%, by default */\n }\n\n .right {\n float: right;\n }\n}\n\n@media screen and (max-width: 576px) {\n .left {\n float: left;\n width: auto;\n /* The width is 20%, by default */\n }\n\n .right {\n float: right;\n width: auto;\n /* The width is 20%, by default */\n }\n\n .topnav.responsive .left {\n float: none;\n }\n\n .topnav.responsive .right a {\n float: right;\n }\n\n .topnav.responsive {\n position: relative;\n }\n\n .topnav.responsive .icon {\n position: absolute;\n right: 0;\n top: 0;\n }\n\n .topnav.responsive .left a {\n float: none;\n display: block;\n text-align: left;\n }\n\n .topnav.responsive .dropdown {\n float: none;\n }\n\n .topnav.responsive .dropdown-content {\n position: relative;\n }\n\n .topnav.responsive .dropdown .dropbtn {\n display: block;\n width: 100%;\n text-align: left;\n }\n}\n\nmat-sidenav:not(.mat-drawer-opened) {\n transform: translate3d(0, 0, 0) !important;\n visibility: visible !important;\n width: 48px;\n overflow-y: visible;\n overflow-x: hidden;\n}\n\n.is-mobile mat-sidenav:not(.mat-drawer-opened) {\n width: 0;\n}\n\nmat-sidenav-content:not(.mat-drawer-opened) {\n margin-left: 48px;\n}\n\n.is-mobile mat-sidenav-content:not(.mat-drawer-opened) {\n margin-left: 0;\n}\n\n@media print {\n .topnav {\n display: none !important;\n }\n\n .myTopnav {\n display: none !important;\n }\n\n .mat-drawer.mat-drawer-side {\n display: none !important;\n }\n}\n\n.divider {\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.16) !important;\n margin-top: 5px;\n margin-bottom: 5px;\n}\n\n.search-container > input {\n max-width: 150px;\n}\n\n.icon-action-section .icon-item {\n margin-left: 1rem;\n margin-right: 1rem;\n cursor: pointer;\n}
1\n\n.icon-action-section .icon-item:hover {\n color: var(--primary);\n}\n\n.nav-cont {\n height: 50px;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #f0f0f0;\n}\n\n.cons_nav_shop {\n display: flex;\n justify-content: space-evenly;\n width: 250px;\n align-items: center;\n}\n\n.item_nav_shop {\n display: flex;\n width: 70%;\n justify-content: space-between;\n height: 100%;\n}\n\n.link-item-shop {\n color: #333335;\n display: block;\n padding: 13px 5px;\n position: relative;\n text-align: center;\n text-transform: uppercase;\n white-space: nowrap;\n transition: backg;\n min-width: 70px;\n font-size: 0.95rem;\n cursor: pointer;\n outline: none;\n height: 100%;\n width: 25%;\n}\n\ninput,\nbutton {\n border: 0 none;\n outline: 0 none;\n}\n\nmain {\n clear: both;\n font-size: 0.75rem;\n margin: 0 auto;\n overflow: hidden;\n padding: 1rem 0;\n width: 100%;\n}\n\n.basket {\n padding: 0 1rem;\n box-sizing: border-box;\n}\n\n.basket {\n width: 100%;\n}\n\n.basket-module {\n color: #111;\n}\n\n.basket-labels {\n border-top: 1px solid #ccc;\n border-bottom: 1px solid #ccc;\n margin-top: 0.325rem;\n width: 100%;\n}\n\nul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.basket-labels > ul > li {\n color: #111;\n display: inline-block;\n padding: 0.625rem 0;\n}\n\nli.price:before,\nli.subtotal:before {\n content: "";\n}\n\n.basket-product > .item,\n.price,\n.quantity,\n.subtotal {\n width: 25%;\n}\n\n.remove {\n float: right;\n position: relative;\n text-align: right;\n}\n\n.remove button {\n background-color: transparent;\n color: #a00000;\n float: none;\n text-decoration: underline;\n text-transform: uppercase;\n}\n\n.item-heading {\n padding-left: 1.375rem;\n box-sizing: border-box;\n width: 25%;\n}\n\n.basket-product {\n border-bottom: 1px solid #ccc;\n padding: 0.7rem 0 0 0;\n position: relative;\n margin: 1%;\n display: flex;\n}\n\n.basket-product > .subtotal > .product-image {\n width: 80%;\n margin: 5%;\n}\n\n.basket-product > .product-details {\n width: 60%;\n}\n\n.product-frame {\n border: 1px solid #aaa;\n}\n\n.product-details {\n padding: 0 1.5rem;\n box-sizing: border-box;\n}\n\n.quantity-field {\n background-color: #ccc;\n border: 1px solid #aaa;\n border-radius: 4px;\n font-size: 0.625rem;\n padding: 2px;\n width: 3.75rem;\n}\n\n.subtotal-title,\n.subtotal-value,\n.total-title,\n.total-value,\n.promo-title,\n.promo-value {\n color: #111;\n float: left;\n width: 50%;\n}\n\n.subtotal-value,\n.total-value {\n text-align: right;\n}\n\n@media screen and (max-width: 640px) {\n aside,\n.basket,\n.item,\n.remove {\n width: 100%;\n }\n\n .basket-labels {\n display: none;\n }\n\n .basket-module {\n margin-bottom: 1rem;\n }\n\n .item {\n margin-bottom: 1rem;\n }\n\n .product-image {\n width: 40%;\n }\n\n .product-details {\n width: 60%;\n }\n\n .price,\n.subtotal {\n width: 33%;\n }\n\n .quantity {\n text-align: center;\n width: 34%;\n }\n\n .quantity-field {\n float: none;\n }\n\n .remove {\n bottom: 0;\n text-align: left;\n margin-top: 0.75rem;\n position: relative;\n }\n\n .remove button {\n padding: 0;\n }\n\n .summary {\n margin-top: 1.25rem;\n position: relative;\n }\n}\n\n@media screen and (min-width: 641px) and (max-width: 960px) {\n aside {\n padding: 0 1rem 0 0;\n }\n\n .summary {\n width: 28%;\n }\n}\n\n.container-header {\n height: 40px;\n color: #a00000;\n padding: 0px;\n}\n\n.menuList-notif {\n height: 70px;\n cursor: pointer;\n}\n\n.menuList-notif:hover {\n background-color: #F0F0F0;\n}\n\n.icon-notif {\n border-radius: 50%;\n border: 1px solid #a00000;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n width: 32px;\n}\n\n@media screen and (max-width: 960px) {\n main {\n width: 100%;\n }\n\n .product-details {\n padding: 0 1rem;\n }\n}\n\n.container-header {\n height: 40px;\n color: #a00000;\n padding: 0px;\n}\n\n.menuList-notif {\n height: 70px;\n cursor: pointer;\n}\n\n.menuList-notif:hover {\n background-color: #F0F0F0;\n}\n\n.icon-notif {\n border-radius: 50%;\n border: 1px solid #a00000;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n width: 32px;\n}\n\n.bottomToggle {\n z-index: 2;\n width: 48px;\n position: absolute;\n left: 0;\n bottom: 0;\n border-right: rgba(0, 0, 0, 0.12) solid 1px;\n transition: all 225ms cubic-bezier(0.4, 0, 0.2, 1) !important;\n}\n\n.bottomToggle .mat-icon {\n color: var(--primary);\n}\n\n.bottomToggle.isSideNavOpen {\n width: 208px;\n}\n\n@media print {\n .print-layout .sideNav {\n display: none;\n }\n .print-layout .layout-toolbar {\n display: none !important;\n }\n .print-layout .layout-footer {\n display: none;\n }\n .print-layout .bottomToggle {\n display: none;\n }\n}\n\n.mat-drawer.mat-drawer-side {\n z-index: 1 !important;\n}']})],Fu);var BB=function HB(n){return function(t,e,a){for(var r=-1,i=Object(t),o=a(t),s=o.length;s--;){var l=o[n?s:++r];if(!1===e(i[l],l,i))break}return t}}();const jB=BB;const FM=function GB(n,t){return n&&jB(n,t,Zr)};const JB=function WB(n){return this.__data__.set(n,"__lodash_hash_undefined__"),this};const XB=function ZB(n){return this.__data__.has(n)};function zb(n){var t=-1,e=null==n?0:n.length;for(this.__data__=new yu;++t<e;)this.add(n[t])}zb.prototype.add=zb.prototype.push=JB,zb.prototype.has=XB;const YB=zb;const $B=function QB(n,t){for(var e=-1,a=null==n?0:n.length;++e<a;)if(t(n[e],e,n))return!0;return!1};const ej=function tj(n,t){return n.has(t)};const VM=function rj(n,t,e,a,r,i){var o=1&e,s=n.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var c=i.get(n),d=i.get(t);if(c&&d)return c==t&&d==n;var u=-1,h=!0,f=2&e?new YB:void 0;for(i.set(n,t),i.set(t,n);++u<s;){var v=n[u],A=t[u];if(a)var b=o?a(A,v,u,t,n,i):a(v,A,u,n,t,i);if(void 0!==b){if(b)continue;h=!1;break}if(f){if(!$B(t,function(x,S){if(!ej(f,S)&&(v===x||r(v,x,e,a,i)))return f.push(S)})){h=!1;break}}else if(v!==A&&!r(v,A,e,a,i)){h=!1;break}}return i.delete(n),i.delete(t),h};const oj=function ij(n){var t=-1,e=Array(n.size);
vendor: 1,988 bytes, line 1
1return n.forEach(function(a,r){e[++t]=[r,a]}),e};const lj=function sj(n){var t=-1,e=Array(n.size);return n.forEach(function(a){e[++t]=a}),e};var zM=za?za.prototype:void 0,Qw=zM?zM.valueOf:void 0;const Sj=function xj(n,t,e,a,r,i,o){switch(e){case"[object DataView]":if(n.byteLength!=t.byteLength||n.byteOffset!=t.byteOffset)return!1;n=n.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(n.byteLength!=t.byteLength||!i(new Ou(n),new Ou(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return yt(+n,+t);case"[object Error]":return n.name==t.name&&n.message==t.message;case"[object RegExp]":case"[object String]":return n==t+"";case"[object Map]":var s=oj;case"[object Set]":var l=1&a;if(s||(s=lj),n.size!=t.size&&!l)return!1;var c=o.get(n);if(c)return c==t;a|=2,o.set(n,t);var d=VM(s(n),s(t),a,r,i,o);return o.delete(n),d;case"[object Symbol]":if(Qw)return Qw.call(n)==Qw.call(t)}return!1};var Cj=Object.prototype.hasOwnProperty;const Tj=function Dj(n,t,e,a,r,i){var o=1&e,s=Pu(n),l=s.length;if(l!=Pu(t).length&&!o)return!1;for(var u=l;u--;){var h=s[u];if(!(o?h in t:Cj.call(t,h)))return!1}var f=i.get(n),v=i.get(t);if(f&&v)return f==t&&v==n;var A=!0;i.set(n,t),i.set(t,n);for(var b=o;++u<l;){var x=n[h=s[u]],S=t[h];if(a)var k=o?a(S,x,h,t,n,i):a(x,S,h,n,t,i);if(!(void 0===k?x===S||r(x,S,e,a,i):k)){A=!1;break}b||(b="constructor"==h)}if(A&&!b){var D=n.constructor,I=t.constructor;D!=I&&"constructor"in n&&"constructor"in t&&!("function"==typeof D&&D instanceof D&&"function"==typeof I&&I instanceof I)&&(A=!1)}return i.delete(n),i.delete(t),A};var EM="[object Arguments]",qM="[object Array]",Eb="[object Object]",HM=Object.prototype.hasOwnProperty;const Oj=function Mj(n,t,e,a,r,i){var o=qn(n),s=qn(t),l=o?qM:Si(n),c=s?qM:Si(t),d=(l=l==EM?Eb:l)==Eb,u=(c=c==EM?Eb:c)==Eb,h=l==c;if(h&&bu(n)){if(!bu(t))return!1;o=!0,d=!1}if(h&&!d)return i||(i=new yi),o||tb(n)?VM(n,t,e,a,r,i):Sj(n,t,l,e,a,r,i);if(!(1&e)){var f=d&&HM.call(n,"__wrapped__"),v=u&&HM.call(t,"__wrapped__");
1if(f||v){var A=f?n.value():n,b=v?t.value():t;return i||(i=new yi),r(A,b,e,a,i)}}return!!h&&(i||(i=new yi),Tj(n,t,e,a,r,i))};const jM=function BM(n,t,e,a,r){return n===t||(null==n||null==t||!aa(n)&&!aa(t)?n!=n&&t!=t:Oj(n,t,e,a,BM,r))};const Uj=function Nj(n,t,e,a){var r=e.length,i=r,o=!a;if(null==n)return!i;for(n=Object(n);r--;){var s=e[r];if(o&&s[2]?s[1]!==n[s[0]]:!(s[0]in n))return!1}for(;++r<i;){var l=(s=e[r])[0],c=n[l],d=s[1];if(o&&s[2]){if(void 0===c&&!(l in n))return!1}else{var u=new yi;if(a)var h=a(c,d,l,n,t,u);if(!(void 0===h?jM(d,c,3,a,u):h))return!1}}return!0};const GM=function Fj(n){return n==n&&!Ha(n)};const zj=function Vj(n){for(var t=Zr(n),e=t.length;e--;){var a=t[e],r=n[a];t[e]=[a,r,GM(r)]}return t};const KM=function Ej(n,t){return function(e){return null!=e&&(e[n]===t&&(void 0!==t||n in Object(e)))}};const Hj=function qj(n){var t=zj(n);return 1==t.length&&t[0][2]?KM(t[0][0],t[0][1]):function(e){return e===n||Uj(e,n,t)}};const qb=function jj(n){return"symbol"==typeof n||aa(n)&&"[object Symbol]"==io(n)};var Gj=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Kj=/^\w*$/;const $w=function Wj(n,t){if(qn(n))return!1;var e=typeof n;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=n&&!qb(n))||(Kj.test(n)||!Gj.test(n)||null!=t&&n in Object(t))};function tk(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var e=function(){var a=arguments,r=t?t.apply(this,a):a[0],i=e.cache;if(i.has(r))return i.get(r);var o=n.apply(this,a);return e.cache=i.set(r,o)||i,o};return e.cache=new(tk.Cache||yu),e}tk.Cache=yu;const Zj=tk;const Qj=function Yj(n){var t=Zj(n,function(a){return 500===e.size&&e.clear(),a}),e=t.cache;return t};var $j=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,t7=/\\(\\)?/g,e7=Qj(function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace($j,function(e,a,r,i){t.push(r?i.replace(t7,"$1"):a||e)}),t});const n7=e7;const ek=function a7(n,t){for(var e=-1,a=null==n?0:n.length,r=Array(a);++e<a;)r[e]=t(n[e],e,n);return r};var WM=za?za.prototype:void 0,JM=WM?WM.toString:void 0;const i7=function ZM(n){if("string"==typeof n)return n;if(qn(n))return ek(n,ZM)+"";if(qb(n))return JM?JM.call(n):"";var t=n+"";return"0"==t&&1/n==-Infinity?"-0":t};const s7=function o7(n){return null==n?"":i7(n)};const Hb=function l7(n,t){return qn(n)?n:$w(n,t)?[n]:n7(s7(n))};const Vu=function d7(n){if("string"==typeof n||qb(n))return n;var t=n+"";return"0"==t&&1/n==-Infinity?"-0":t};const nk=function u7(n,t){for(var e=0,a=(t=Hb(t,n)).length;null!=n&&e<a;)n=n[Vu(t[e++])];return e&&e==a?n:void 0};const h7=function p7(n,t,e){var a=null==n?void 0:nk(n,t);return void 0===a?e:a};const f7=function m7(n,t){return null!=n&&t in Object(n)};const v7=function g7(n,t,e){for(var a=-1,r=(t=Hb(t,n)).length,i=!1;++a<r;){var o=Vu(t[a]);if(!(i=null!=n&&e(n,o)))break;n=n[o]}return i||++a!=r?i:!!(r=null==n?0:n.length)&&uf(r)&&Ia(o,r)&&(qn(n)||nc(n))};const y7=function A7(n,t){return null!=n&&v7(n,t,f7)};const S7=function x7(n,t){return $w(n)&&GM(t)?KM(Vu(n),t):function(e){var a=h7(e,n);return void 0===a&&a===t?y7(e,n):jM(t,a,3)}};const ak=function w7(n){return n};const C7=function k7(n){return function(t){return null==t?void 0:t[n]}};const T7=function D7(n){return function(t){return nk(t,n)}};const I7=function P7(n){return $w(n)?C7(Vu(n)):T7(n)};const Bb=function M7(n){return"function"==typeof n?n:null==n?ak:"object"==typeof n?qn(n)?S7(n[0],n[1]):Hj(n):I7(n)};const rk=function O7(n,t){var e={};return t=Bb(t,3),FM(n,function(a,r,i){ja(e,r,t(a,r,i))}),e};const L7=function R7(n,t,e,a){for(var r=-1,i=null==n?0:n.length;++r<i;){var o=n[r];t(a,o,e(o),n)}return a};var U7=function N7(n,t){return function(e,a){if(null==e)return e;if(!wu(e))return n(e,a);for(var r=e.length,i=t?r:-1,o=Object(e);(t?i--:++i<r)&&!1!==a(o[i],i,o););return e}}(FM);const F7=U7;const z7=function V7(n,t,e,a){return F7(n,function(r,i,o){t(a,r,e(r),o)}),a};const q7=function E7(n,t){return function(e,a){var r=qn(e)?L7:z7,i=t?t():{};return r(e,n,Bb(a,2),i)}};var B7=Object.prototype.hasOwnProperty,j7=q7(function(n,t,e){B7.call(n,e)?n[e].push(t):ja(n,e,[t])});const ik=j7;const K7=function G7(n){var t=null==n?0:n.length;return t?n[t-1]:void 0};const J7=function W7(n,t,e){var a=-1,r=n.length;t<0&&(t=-t>r?0:r+t),(e=e>r?r:e)<0&&(e+=r),r=t>e?0:e-t>>>0,t>>>=0;for(var i=Array(r);++a<r;)i[a]=n[a+t];return i};const X7=function Z7(n,t){return t.length<2?n:nk(n,J7(t,0,-1))};var Q7=Object.prototype.hasOwnProperty;const t8=function $7(n,t){var e=-1,a=(t=Hb(t,n)).length;if(!a)return!0;for(;++e<a;){var r=Vu(t[e]);if("__proto__"===r&&!Q7.call(n,"__proto__")||("constructor"===r||"prototype"===r)&&e<a-1)return!1}var i=X7(n,t);return null==i||delete i[Vu(K7(t))]};var n8=Function.prototype,a8=Object.prototype,XM=n8.toString,r8=a8.hasOwnProperty,i8=XM.call(Object);const s8=function o8(n){if(!aa(n)||"[object Object]"!=io(n))return!1;var t=Cf(n);if(null===t)return!0;var e=r8.call(t,"constructor")&&t.constructor;return"function"==typeof e&&e instanceof e&&XM.call(e)==i8};const c8=function l8(n){return s8(n)?void 0:n};var YM=za?za.isConcatSpreadable:void 0;
1const u8=function d8(n){return qn(n)||nc(n)||!!(YM&&n&&n[YM])};const p8=function QM(n,t,e,a,r){var i=-1,o=n.length;for(e||(e=u8),r||(r=[]);++i<o;){var s=n[i];t>0&&e(s)?t>1?QM(s,t-1,e,a,r):kf(r,s):a||(r[r.length]=s)}return r};const m8=function h8(n){return(null==n?0:n.length)?p8(n,1):[]};const g8=function f8(n,t,e){switch(e.length){case 0:return n.call(t);case 1:return n.call(t,e[0]);case 2:return n.call(t,e[0],e[1]);case 3:return n.call(t,e[0],e[1],e[2])}return n.apply(t,e)};var $M=Math.max;const tO=function v8(n,t,e){return t=$M(void 0===t?n.length-1:t,0),function(){for(var a=arguments,r=-1,i=$M(a.length-t,0),o=Array(i);++r<i;)o[r]=a[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=a[r];return s[t]=e(o),g8(n,this,s)}};const y8=function A8(n){return function(){return n}};var b8=tc?function(n,t){return tc(n,"toString",{configurable:!0,enumerable:!1,value:y8(t),writable:!0})}:ak;const _8=b8;var w8=Date.now;var C8=function k8(n){var t=0,e=0;return function(){var a=w8(),r=16-(a-e);if(e=a,r>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}(_8);const eO=C8;const T8=function D8(n){return eO(tO(n,void 0,m8),n+"")};var O8=T8(function(n,t){var e={};if(null==n)return e;var a=!1;t=ek(t,function(i){return i=Hb(i,n),a||(a=i.length>1),i}),Ss(n,pc(n),e),a&&(e=pM(e,7,c8));for(var r=t.length;r--;)t8(e,t[r]);return e});const ok=O8;class R8{constructor(){}get getQuantity(){return this.quantity}set setQuantity(t){this.quantity=t}get getItemPrice(){return this.item_price}set setItemPrice(t){this.item_price=t}get getProduct(){return this.product}set setProduct(t){this.product=t}}let Ac=class{constructor(){this.updateBasket=new wt.X(null),this.basketItems=[],this.basketKey=`basket@${localStorage.getItem("userEmail").split("@")[0]}`}addToBasket(t){const e=new R8;return e.quantity=t.product_box?t.product_box:1,e.item_price=e.quantity*t.product_price,e.product=t,new Promise((a,r)=>{try{localStorage.getItem(this.basketKey)&&(this.basketItems=this.getBasketItems()),this.basketItems.push(e),localStorage.setItem(this.basketKey,JSON.stringify(this.basketItems)),a("added")}catch(i){r(i)}})}deleteFromBasket(t){let e=this.getBasketItems();e.splice(t,1),localStorage.setItem(this.basketKey,JSON.stringify(e))}getBasketItems(){return localStorage.getItem(this.basketKey)?JSON.parse(localStorage.getItem(this.basketKey)):[]}transformBasketData(){return new Promise((t,e)=>{try{const a=this.getBasketItems();let r=[];a.forEach(s=>!this.checkSupplierList(r,s.product.supplier_id).length&&(r.push(s.product.supplier),!0));const i=rk(ik(a,"product.supplier_id"),s=>s.map(l=>ok(l,"product.supplier")));t(r.map(s=>(s.products=i[s.id],s)))}catch(a){e(a)}})}checkSupplierList(t,e){return!t.length||t.filter(a=>a.id===e)}triggerUpdateBasket(t){this.updateBasket.next(t)}getUpdateTrigger(){return this.updateBasket}getBasketPrice(){}defineBasket(){}getItemIndexByProductId(t){return this.getBasketItems().filter((a,r)=>a.product.id===t&&r)}updateBasketProductList(t){const e=this.getBasketItems().length;return new Promise((a,r)=>{t.map(o=>o.product_id).forEach(o=>
1{this.getBasketItems().forEach((l,c)=>{o===l.product.id&&this.deleteFromBasket(c)})}),e-this.getBasketItems().length===t.length?a(""):r()})}updateBasketItems(t,e){const a=this.getBasketItems();a[e]=t,localStorage.setItem(this.basketKey,JSON.stringify(a))}resetBasket(){}};Ac.ctorParameters=()=>[],Ac=(0,j.gn)([(0,m.GSi)({providedIn:"root"})],Ac);let zf=class{constructor(t,e){this.http=t,this.configService=e,this.orderSubject=new wt.X(null);let a=this.configService.getConfig();this.baseUrl=`${a.baseUrl}`,this.baseUrlS2C=`${a.baseUrlS2C}`}makeOrder(t){return this.http.post(`${this.baseUrl}/orders`,t,{params:{token:localStorage.getItem("token")}})}getShopOrders(){return this.http.get(`${this.baseUrl}/orders/shop`,{params:{token:localStorage.getItem("token")}})}getSupplierOrders(){return this.http.get(`${this.baseUrl}/orders/supplier`,{params:{token:localStorage.getItem("token")}})}getSalesmanagerOrders(){return this.http.get(`${this.baseUrl}/orders/salesmanager`,{params:{token:localStorage.getItem("token")}})}subscribeToOrderUpdate(){return this.orderSubject}updateOrderStatus(t,e){return this.http.put(`${this.baseUrl}/orders/${e}`,{status:t},{params:{token:localStorage.getItem("token")}})}getInvalidOrders(){return this.http.get(`${this.baseUrl}/orders/invalid`,{params:{token:localStorage.getItem("token")}})}getValidOrders(){return this.http.get(`${this.baseUrl}/orders/valid`,{params:{token:localStorage.getItem("token")}})}getPaidOrders(){return this.http.get(`${this.baseUrl}/orders/paid`,{params:{token:localStorage.getItem("token")}})}validateOrder(t,e){return this.http.put(`${this.baseUrl}/orders/${t}`,e,{params:{token:localStorage.getItem("token")}})}getOrderById(t){return this.http.get(`${this.baseUrl}/orders/${t}`,{params:{token:localStorage.getItem("token")}})}sendEmailS2C(t){return this.http.post(`${this.baseUrl}/mail`,t,{params:{token:localStorage.getItem("token")}})}};zf.ctorParameters=()=>[{type:Nt.eN},{type:Yn.E}],zf=(0,j.gn)([(0,m.GSi)({providedIn:"root"})],zf);let Ef=class{constructor(t,e){this.http=t,this.configService=e;let a=this.configService.getConfig();this.baseUrl=`${a.baseUrl}`,this.baseUrlS2C=`${a.baseUrlS2C}`}getLogisticCompaniesList(t){return this.http.get(`${this.baseUrl}/companies`,{params:{token:localStorage.getItem("token"),weight:t}})}};Ef.ctorParameters=()=>[{type:Nt.eN},{type:Yn.E}],Ef=(0,j.gn)([(0,m.GSi)({providedIn:"root"})],Ef);var Ms=F(72555),nO=F(39482);let Os=class{constructor(t,e){this.http=t,this.configService=e;let a=this.configService.getConfig();this.baseUrl=`${a.baseUrl}`,this.baseUrlS2C=`${a.baseUrlS2C}`}GetPhotos(t){return this.http.get(`${this.baseUrlS2C}/ads`,{params:{token:localStorage.getItem("token"),chain_id:t}})}addPhotos(t,e){return this.http.post(`${this.baseUrlS2C}/ads`,e,{params:{token:localStorage.getItem("token"),chain_id:t}})}addOnlinePhotos(t,e){return this.http.post(`${this.baseUrlS2C}/mobile_ads`,e,{params:{token:localStorage.getItem("token"),chain_id:t}})}GetOnlinePhotos(t){return this.http.get(`${this.baseUrlS2C}/mobile_ads`,{params:{token:localStorage.getItem("token"),chain_id:t}})}deleteOnlineImage(t){return this.http.delete(`${this.baseUrlS2C}/mobile_ads/${t}`,{params:{token:localStorage.getItem("token")}})}deleteImage(t){return this.http.delete(`${this.baseUrlS2C}/ads/${t}`,{params:{token:localStorage.getItem("token")}})}addPhotosSuper(t){return this.http.post(`${this.baseUrlS2C}/ads`,t,{params:{token:localStorage.getItem("token")}})}getAdList(t){return this.http.get(`${this.baseUrlS2C}/ads?chain_id=${t}`)}addAd(t){return this.http.post(`${this.baseUrlS2C}/ads/create`,t)}updateAd(t,e){return this.http.post(`${this.baseUrlS2C}/ads/update/${e}`,t)}deleteAd(t){return this.http.delete(`${this.baseUrlS2C}/ads/${t}`)}};Os.ctorParameters=()=>[{type:Nt.eN},{type:Yn.E}],Os=(0,j.gn)([(0,m.GSi)({providedIn:"root"})],Os);var Oe=F(41849),We=F(17009);let qf=class{constructor(t,e,a,r,i){this.advertisementService=t,this.chainService=e,this.dialogRef=a,this.snackBar=r,this.translate=i}ngOnInit(){this.onGetChainList(),this.chain_id=localStorage.getItem("chainInit"),this.onGetImages(this.chain_id)}onGetImages(t){return this.advertisementService.GetPhotos(t).subscribe(e=>{this.img=e,this.imgData=this.img.data,0==this.imgData.length&&this.snackBar.open("You Don't have pictures","",{duration:1e3})})}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}onDelete(t,e){return this.advertisementService.deleteImage(t).subscribe(a=>{this.snackBar.open(("Chinese"===this.translate.currentLang||this.translate.currentLang,"Image Deleted Successfully"),"OK",{duration:1e3}),this.onGetImages(e)},a=>{console.log(a)})}cancel(){this.dialogRef.close()}};qf.ctorParameters=()=>[{type:Os}
1,{type:Oe.l},{type:St.so},{type:We.ux},{type:Y.sK}],qf=(0,j.gn)([(0,m.wA2)({selector:"app-advertisement-images",template:'<div class="rounded bgc">\n <div class="rounded ">\n\n\n<mat-form-field appearance="outline" style="width: 100%;">\n <mat-label>{{\'Select-Chain\'| translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>None</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n</mat-form-field>\n<a (click)="onGetImages(chain_id.value)" class="btn btn-sm myButton-online "\n style="background-color: red;margin-right:2%;"> {{"Show image" | translate}}</a>\n <a (click)="cancel()" class="btn btn-sm myButton-online "\n style="background-color: gray;"> {{\'common_cancel\' | translate}}</a>\n<br/>\n<br/>\n<br/>\n<div class="row">\n <div class="img col-md-3" *ngFor="let item of imgData">\n <a class="remove-image" (click)="onDelete(item.id,chain_id.value)" style="display: inline;">×</a>\n <img src={{item.img_url}}>\n <span>{{item.width}}px * {{item.height}}px</span>\n </div>\n\n</div>\n</div></div>',styles:['.rounded {\n max-height: 600px !important;\n}\n\nbody {\n background: rgba(0, 0, 0, 0.9);\n max-width: 200px;\n padding-top: 5px;\n padding-bottom: 20px;\n}\n\n.uploa {\n position: relative;\n width: 100%;\n height: 200px;\n border: 2px dashed grey;\n border-radius: 5px;\n margin: 0% 1% 0% 0%;\n}\n\n.uploa .ok {\n text-align: center;\n}\n\n.myButton-online {\n background-color: #00d63d;\n display: inline-block;\n cursor: pointer;\n color: #ffffff;\n font-family: Arial;\n font-size: 23px;\n padding: 2px 22px;\n text-decoration: none;\n}\n\n.myButton-online :hover {\n background-color: #969696;\n}\n\n.myButton-online :active {\n position: relative;\n top: 1px;\n}\n\n.container button {\n margin-bottom: 20px;\n color: #fff;\n background: #16a085;\n border: none;\n width: 100%;\n height: 35px;\n margin-top: -20px;\n margin-left: -6px;\n margin-right: -4px;\n border-radius: 4px;\n border-bottom: 4px solid #117A60;\n transition: all 0.2s ease;\n outline: none;\n}\n\n.uploa button:hover {\n background: #149174;\n color: #0C5645;\n}\n\n.uploa button:active {\n border: 0;\n}\n\n.container button[disabled] {\n background: grey;\n border-bottom: 4px solid #505050;\n}\n\n.uploa mat-icon {\n color: grey;\n position: relative;\n font-size: 80px;\n text-align: center;\n margin: 30% 20% 20% 22%;\n}\n\n.uploadImage #imageBtn {\n margin-top: 15px;\n margin-left: 8px;\n}\n\n.uploadImage #imageBtn .uploadIconContainer {\n display: flex;\n justify-content: center;\n border-radius: 50%;\n padding: 8px;\n}\n\n.uploadImage #imageBtn .uploadIconContainer:hover {\n cursor: pointer;\n}\n\n.imgtable1 {\n max-width: 200px;\n max-height: 200px;\n padding-top: 5px;\n padding-bottom: 20px;\n}\n\ndiv.img {\n float: left;\n height: 200px;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n\ndiv.img span {\n background: rgba(0, 0, 0, 0.418);\n z-index: 1;\n position: absolute;\n text-align: center;\n font-family: Georgia;\n margin: 0 auto;\n left: 0;\n right: 0;\n top: 91%;\n color: white;\n width: 89%;\n}\n\nimg:hover {\n border: 1px solid #777;\n background-image: url("/src/assets/images/clear.png");\n}\n\ndiv.img img {\n width: 100%;\n height: 100%;\n}\n\ndiv.desc {\n padding: 15px;\n text-align: center;\n}\n\n.remove-image {\n display: none;\n position: absolute;\n top: -20px;\n right: 0px;\n border-radius: 10em;\n background: #16a085;\n border: 3px solid #fff;\n padding: 4px 8px 5px;\n text-decoration: none;\n font: 900 21px/21px sans-serif;\n color: #FFF;\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.3);\n text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);\n transition: background 0.5s;\n}\n\n.remove-image:hover {\n background: red;\n top: -20px;\n right: 0px;\n border-radius: 10em;\n padding: 6px 10px 7px;\n}\n\n.remove-image:active {\n background: red;\n top: -10px;\n right: -11px;\n}']})],qf);var Qe=F(98046),xr=F(27221),Ka=F(21086);let Hf=class{constructor(t,e,a,r,i){this.data=t,this.dialogRef=e,this.adService=a,this.translate=r,this.message=i,this.setupForm()}ngOnInit(){}setupForm(){this.formDataSource=[{type:"image",key:"advertisement_image",value:this.data?.img_url,translateKey:"click_here_to_upload_image_video",rules:[{message:""}]},{type:"chainSelect",key:"chain_id",isShowAll:!1,value:this.data?.chain_id,rules:[{required:!0,message:"common_chain_required"}]},{type:"input",key:"name",value:this.data?.name,translateKey:"Advertisement Name",rules:[{required:!0,message:"common_required"}]},{type:"input",key:"description",value:this.data?.description,translateKey:"Ad Description",rules:[{message:""}]},{type:"select",key:"ad_type",translateKey:"Ad Type",value:this.data?.ad_type,options:[{label:"common_image",value:"image"},{label:"video",value:"video"}],rules:[{message:""}]},{type:"input",inputType:"number",key:"height",value:this.data?.height,translateKey:"common_height",rules:[{message:""}]},{type:"input",inputType:"number",key:"width",value:this.data?.width,translateKey:"common_width",rules:[{message:""}]},{type:"input",inputType:"number",key:"timer",value:this.data?.timer,translateKey:"Play time",rules:[{message:""}]}
1,{type:"dateTime",key:"start_time",value:this.data?.start_time,translateKey:"Start time",rules:[{message:""}]},{type:"dateTime",key:"end_time",value:this.data?.end_time,translateKey:"End time",rules:[{message:""}]},{type:"input",inputType:"number",key:"sort",value:this.data?.sort,translateKey:"common_sort",rules:[{message:""}]}]}handleFileChange(t){if(console.log("handleFileChange"),console.log(t),t.size>2097152){var e=this.translate.instant("\u6587\u4ef6\u5927\u5c0f\u4e0d\u80fd\u8d85\u8fc72MB");this.message.error(e)}else;}handleItemChange({value:t,item:e,key:a}){console.log("handleItemChange"),console.log(t,e,a)}handleChangeInputValue({value:t,item:e,key:a}){console.log(t,e,a)}getImageChange({value:t,item:e,key:a}){console.log("value"),console.log(t,e,a)}handleSubmit(t){const e=new FormData;for(let a of Object.keys(t))e.append(a,t[a]);e.append("type","cassa"),this.data&&this.data.id?(this.data.img_url==e.get("advertisement_image")&&(e.append("img_url",this.data.img_url),e.append("img_name",this.data.img_name),e.delete("advertisement_image")),this.adService.updateAd(e,this.data.id).subscribe(()=>{this.message.success(this.translate.instant("common_update_success")),this.dialogRef.close("success")},a=>{console.log(a)})):this.adService.addAd(e).subscribe(()=>{this.message.success(this.translate.instant("common_add_success")),this.dialogRef.close("success")},a=>{console.log(a)})}cancel(){this.dialogRef.close()}};Hf.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]},{type:St.so},{type:Os},{type:Y.sK},{type:ne.I}],Hf=(0,j.gn)([(0,m.wA2)({selector:"app-add-edit-ad",template:'<div class="container-fluid">\n <div class="d-flex flex-space-between">\n <p *ngIf="!data">{{\'common_add\' | translate}}</p>\n <p *ngIf="data">{{\'common_edit\' | translate}}</p>\n <div type="button" class="btn" (click)="cancel()">\n <mat-icon class="btn-clickable">close</mat-icon>\n </div>\n </div>\n <div class="example-container" *ngIf="formDataSource!==undefined">\n <app-common-form #form [columns]="2"\n [dataSource]="formDataSource"\n (onSubmit)="handleSubmit($event)" (onItemChange)="handleItemChange($event)"\n (onFileChange)="handleFileChange($event)">\n </app-common-form>\n </div>\n</div>\n\n\n\n\x3c!--<div class="col-md-7">\n <form [formGroup]="form">\n <div class="row">\n <div class="col-sm">\n <h4> {{\'Display Mode\' | translate }} </h4>\n </div>\n <div class="col-sm">\n <mat-radio-button class="example-margin" (click)="onSelectCashmode()" style="padding : 5% 5% 5% 5%;">{{\'Ad mode\' | translate }}\n </mat-radio-button>
1 \n\n\n </div>\n <div class="col-sm">\n <mat-radio-button class="example-margin" (click)="onSelectAdmode()" style="padding : 5% 5% 5% 5%;">{{\'Cash\n mode\'| translate }}</mat-radio-button>\n\n\n </div>\n\n </div>\n <br>\n <br>\n\n\n <div class="row">\n <div class="col-sm">\n <h4> {{"Upload image" | translate}} </h4>\n </div>\n <div class="col-sm">\n\n\n <a (click)="fileInputImg.click()" class=" btn btn-sm myButton" style="font-size: 18px;"> {{ "chose_img" | translate}}</a>\n <input accept=\'image/*\' class="none" #fileInputImg type="file" (change)="getFileChange($event)"\n style="display: none;" />\n <mat-form-field class="example-full-width" appearance="outline" style="display: none;">\n <mat-label>{{"Upload image" | translate}}</mat-label>\n <input matInput type="text" #resultInput readonly>\n </mat-form-field>\n\n </div>\n <div class="col-sm">\n\n </div>\n\n </div>\n <br>\n <br>\n\n <div class="row">\n <div class="col-md-4">\n <h4> {{"Chose-a-chain"| translate}} </h4>\n </div>\n <div class="col-md-8">\n\n\n <mat-form-field appearance="outline" style="width: 100%;">\n <mat-label>{{\'Select-Chain\'| translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>None</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n </div>\n\n\n </div>\n <br>\n <div class="row">\n <div class="col-md-4">\n <h4> {{\'Play time\' | translate}}</h4>\n </div>\n\n\n <div class="col-md-8">\n\n <mat-form-field appearance="outline" style="width: 100%;">\n <mat-label>{{\'Seconds\'| translate}}</mat-label>\n <input matInput type="number" formControlName="timer" #timer>\n <mat-hint style="color: red;">{{"Advice: picture resolution is 1024*600, max 9 pics"| translate}}</mat-hint>\n </mat-form-field>\n </div>\n\n\n </div>\n <br>\n <div class="row">\n <div class="col-md-12" style="text-align: center;">\n <button mat-button class="btn btn-primary btn-sm" (click)="onAddImage(chain_id.value,timer.value)"> {{\'Save\' | translate}}</button>\n\n <button mat-button class="btn btn-sm mat-button-base" style="margin-left:8px; background:#cccccc">\n {{\'common_cancel\' | translate}}</button>\n\n </div>\n\n\n </div>\n </form>\n </div>--\x3e\n',styles:[".flex-space-between {\n justify-content: space-between;\n align-items: center;\n}"]})],Hf);var Bn=F(74564);let zu=class{constructor(t,e,a,r,i,o,s,l,c,d,u){this.fb=t,this.cd=e,this.advertisementService=a,this.chainService=r,this.formBuilder=i,this.dialog=o,this.snackBar=s,this.translate=l,this.loadingService=c,this.dialogService=d,this.messageService=u,this.roll_imgs=[],this.show_carousel=!1,this.chain_id=0,this.dataSource=[],this.columns=[{translationKey:"Id",type:"text",key:"id"},{translationKey:"Advertisement Name",type:"text",key:"name"},{translationKey:"Ad Description",type:"text",key:"description"},{translationKey:"Ad Source Url",type:"text",key:"img_url"},{translationKey:"Ad Source Name",type:"text",key:"img_name"},{translationKey:"Ad Type",type:"text",key:"ad_type"},{translationKey:"Created at",type:"date",key:"created_at"},{translationKey:"common_height",type:"text",key:"height"},{translationKey:"common_width",type:"text",key:"width"},{translationKey:"Play time",type:"number",key:"timer"},{translationKey:"Start time",type:"date",key:"start_time"},{translationKey:"End time",type:"date",key:"end_time"},{translationKey:"common_sort",type:"number",key:"sort"},{translationKey:"common_actions",type:"actions",key:"actions",list:["edit","delete"]}],this.otherFormDataSource=[{type:"chainSelect",key:"chain_id",rules:[{required:!0,message:""}]}],this.formData=new FormData}ngOnInit(){this.onGetImages(),this.onGetChainList(),this.form=this.formBuilder.group({advertisement_image:[""],timer:[""]})}handleSearch(t){this.chain_id=t.chain_id,this.getAdList(this.chain_id)}handleReset(){this.otherFormDataSource.chain_id=0}getAdList(t){this.loadingService.openDialog(),this.advertisementService.getAdList(t).pipe((0,xr.K)(e=>(0,Ka.of)({data:[]}))).subscribe(e=>{this.dataSource=e.data,this.roll_imgs=[],this.dataSource.forEach(a=>{a.img_url&&this.roll_imgs.push(a.img_url)}),this.roll_imgs.length>0?this.show_carousel=!0:this.show_carousel=!1,this.loadingService.hideDialog()},e=>{console.log(e)})}handleAdd(t){t||(t={chain_id:this.chain_id}),this.dialog.open(Hf,{autoFocus:!1,width:"100vw",hasBackdrop:!0,disableClose:!0,data:t}).afterClosed().subscribe(a=>{"success"===a&&this.getAdList(this.chain_id)})}handleBtnClick({item:t,type:e}){"edit"===e&&this.handleAdd(t),"delete"===e&&this.dialogService.confirmDialog({title:this.translate.instant("common_delete_title"),message:this.translate.instant("common_delete_message"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&this.advertisementService.deleteAd(t.id).subscribe(()=>{this.messageService.success(this.translate.instant("common_delete_success")),this.getAdList(this.chain_id)},r=>{console.log(r)})})}toFormData(t){const e=new FormData;for(const a of Object.keys(t)){const r=t[a];e.append(a,r)}return e}getFileChange(t){const e=this.resultInput.nativeElement;if(t.target.files.length>0){var a=new FileReader;const r=t.target.files[0];a.readAsDataURL(r),a.onload=i=>{this.imgURL=a.result},e.value=r.name,this.form.get("advertisement_image").setValue(r),this.formData.append("advertisement_image",this.form.get("advertisement_image").value)}}onGetImages(t){return this.advertisementService.GetPhotos(t).subscribe(e=>{this.img=e,this.imgData=this.img.data})}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data},t=>{console.log(t)})}onAddImage(t,e){this.form.get("timer").setValue(e),this.formData=this.toFormData(this.form.value),this.advertisementService.addPhotos(t,this.formData).subscribe(a=>{this.snackBar.open(("Chinese"===this.translate.currentLang||this.translate.currentLang,"Image Added Successfully"),"OK",{duration:1e3}),this.onGetImages(t)},a=>{console.log(a)})}onDelete(t,e){return this.advertisementService.deleteImage(t).subscribe(a=>{this.onGetImages(e)},a=>{})}onSelectAdmode(){document.getElementById("pc").style.width="70%"}onSelectCashmode(){document.getElementById("pc").style.width="90%"}openImages(){this.dialog.open(qf).afterClosed().subscribe(e=>{})}};zu.ctorParameters=()=>[{type:V.qu},{type:m.sBO},{type:Os}
1,{type:Oe.l},{type:V.qu},{type:St.uw},{type:We.ux},{type:Y.sK},{type:Qe.E},{type:Bn.x},{type:ne.I}],zu.propDecorators={resultInput:[{type:m.i9L,args:["resultInput"]}]},zu=(0,j.gn)([(0,m.wA2)({selector:"app-advertisement",template:'<div class="m-3 bg-white">\n <div class="main">\n <h3 style="float: left">{{ "Secondary Screen" | translate }}</h3>\n <a class=" btn btn-sm myButton" style="background-color: gray;font-size: 24px;float: right" (click)="openImages()"> {{"review_all_images"| translate }} </a>\n\n</div>\n <hr style="width: 100%; border-top: 1px solid black;">\n\n <div class="row">\n\n <div class="col-md-5">\n \x3c!-- <img [src]="imgURL" *ngIf="imgURL" style="width: 30%; height:300px;">\n <img src="assets/images/pc.png" style="width: 60%; height:300px;"> --\x3e\n\n <img [src]="imgURL" *ngIf="imgURL" class="pc" id="pc">\n <div class="div_pc" >\n <img src="/assets/images/pc.png" style="width: 100%;height: 526px;" />\n <div class="content" *ngIf="show_carousel">\n <nz-carousel nzAutoPlay [nzDots]="false">\n <div nz-carousel-content *ngFor=\'let imgURL of roll_imgs\' class="nz-carousel-content">\n <img [src]="imgURL" />\n </div>\n </nz-carousel>\n </div>\n </div>\n </div>\n <div class="col-md-7">\n <app-common-search-field-form [formColumn]="otherFormDataSource" (onSubmit)="handleSearch($event)"\n (onReset)="handleReset()">\n </app-common-search-field-form>\n <app-common-search-list-table (onAddClick)="handleAdd()" [dataSource]="dataSource" [columns]="columns"\n (onBtnClick)="handleBtnClick($event)"\n [isShowPage]="false" [isShowExpand]="false" [isShowSearchBtn]="false"\n (actualiseShope)="actualiseShope()">\n </app-common-search-list-table>\n </div>\n\n \x3c!--<div class="col-md-7">\n <form [formGroup]="form">\n <div class="row">\n <div class="col-sm">\n <h4> {{\'Display Mode\' | translate }} </h4>\n </div>\n <div class="col-sm">\n <mat-radio-button class="example-margin" (click)="onSelectCashmode()" style="padding : 5% 5% 5% 5%;">{{\'Ad mode\' | translate }}\n </mat-radio-button>
1 \n\n\n </div>\n <div class="col-sm">\n <mat-radio-button class="example-margin" (click)="onSelectAdmode()" style="padding : 5% 5% 5% 5%;">{{\'Cash\n mode\'| translate }}</mat-radio-button>\n\n\n </div>\n\n </div>\n <br>\n <br>\n\n\n <div class="row">\n <div class="col-sm">\n <h4> {{"Upload image" | translate}} </h4>\n </div>\n <div class="col-sm">\n\n\n <a (click)="fileInputImg.click()" class=" btn btn-sm myButton" style="font-size: 18px;"> {{ "chose_img" | translate}}</a>\n <input accept=\'image/*\' class="none" #fileInputImg type="file" (change)="getFileChange($event)"\n style="display: none;" />\n <mat-form-field class="example-full-width" appearance="outline" style="display: none;">\n <mat-label>{{"Upload image" | translate}}</mat-label>\n <input matInput type="text" #resultInput readonly>\n </mat-form-field>\n\n </div>\n <div class="col-sm">\n\n </div>\n\n </div>\n <br>\n <br>\n\n <div class="row">\n <div class="col-md-4">\n <h4> {{"Chose-a-chain"| translate}} </h4>\n </div>\n <div class="col-md-8">\n\n\n <mat-form-field appearance="outline" style="width: 100%;">\n <mat-label>{{\'Select-Chain\'| translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>None</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n </div>\n\n\n </div>\n <br>\n <div class="row">\n <div class="col-md-4">\n <h4> {{\'Play time\' | translate}}</h4>\n </div>\n\n\n <div class="col-md-8">\n\n <mat-form-field appearance="outline" style="width: 100%;">\n <mat-label>{{\'Seconds\'| translate}}</mat-label>\n <input matInput type="number" formControlName="timer" #timer>\n <mat-hint style="color: red;">{{"Advice: picture resolution is 1024*600, max 9 pics"| translate}}</mat-hint>\n </mat-form-field>\n </div>\n\n\n </div>\n <br>\n <div class="row">\n <div class="col-md-12" style="text-align: center;">\n <button mat-button class="btn btn-primary btn-sm" (click)="onAddImage(chain_id.value,timer.value)"> {{\'Save\' | translate}}</button>\n\n <button mat-button class="btn btn-sm mat-button-base" style="margin-left:8px; background:#cccccc">\n {{\'common_cancel\' | translate}}</button>\n\n </div>\n\n\n </div>\n </form>\n </div>--\x3e\n\n </div>\n <div class="row">\n <div class="col-md-4">\n <h4></h4>\n </div>\n </div>\n</div>\n',styles:[".mainContainer {\n background-color: white;\n}\n\n.main {\n padding: 35px;\n margin-left: 5%;\n margin-right: 5%;\n background-color: white;\n}\n\n.container {\n height: 300px;\n width: 300px;\n}\n\n.top {\n /* top: 100px; */\n /* z-index: 10; */\n width: 100%;\n margin-top: 2%;\n max-height: 526px;\n}\n\n.pc {\n width: 90%;\n height: 54.5%;\n position: absolute;\n margin-top: 6%;\n margin-left: 2%;\n}\n\nh4 {\n padding: 5% 5% 5% 5%;\n}\n\n.myButton {\n background-color: #00d63d;\n display: inline-block;\n cursor: pointer;\n color: #ffffff;\n font-family: Arial;\n font-size: 23px;\n padding: 2px 22px;\n text-decoration: none;\n}\n\n.myButton:hover {\n background-color: #969696;\n}\n\n.myButton:active {\n position: relative;\n top: 1px;\n}\n\n.div_pc {\n width: 100%;\n height: 526px;\n}\n\n.div_pc .content {\n width: 85%;\n height: 67%;\n position: absolute;\n top: 31px;\n left: 7%;\n}\n\n.nz-carousel-content {\n text-align: center;\n overflow: hidden;\n}\n\n.nz-carousel-content img {\n margin-bottom: 0;\n -webkit-user-select: none;\n user-select: none;\n width: 100%;\n height: 350px;\n}"]})],zu);let Eu=class{constructor(t,e,a,r,i){this.dialog=t,this._snackBar=e,this.router=a,this.translate=r,this.dialogRef=i,this.code=localStorage.getItem("curr"),this.quantity=1,this.basket=[],this.basketLength=0}ngOnInit(){this.getProdInfos()}getProdInfos(){const t=JSON.parse(localStorage.getItem("storedProd"));this.currentProd=t,null!=this.currentProd.item_discount_price?this.totalPrice=parseInt(this.currentProd.item_discount_price):this.totalPrice=parseInt(this.currentProd.item_offline_price),this.totalProdWeight=this.currentProd.prodWeight}redirectTo(t){this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>this.router.navigate([t]))}changeQuantity(){var t=document.getElementById("quant").value,e=parseInt(t);this.quantity=e,null!=this.currentProd.item_discount_price?(this.totalPrice=parseInt(this.currentProd.item_discount_price)*e,this.totalProdWeight*=e):(this.totalPrice=parseInt(this.currentProd.item_offline_price)*e,this.totalProdWeight*=e)}addToBasket(){var t=JSON.parse(localStorage.getItem("storedProd")),e={id:t.
1id,product_image_url:t.image_url,product_name:t.product_name,item_offline_price:t.item_offline_price,item_quantity:this.quantity,item_discount_price:t.item_discount_price,totalPrice:this.totalPrice,supplier_id:t.supplier_id,first_name:t.first_name,last_name:t.last_name,email:t.email,phone_num1:t.phone_num1,logistic_service:t.logistic_service,totalProdWeight:this.totalProdWeight};if(null!=localStorage.getItem("Basket")){var a=JSON.parse(localStorage.getItem("Basket"));this.basket=a;var r=0;this.basket.forEach(i=>{if(i.id==e.id){let o=i.totalProdWeight/i.item_quantity;i.item_quantity+=e.item_quantity,i.totalProdWeight=o*i.item_quantity,r=1,localStorage.setItem("Basket",JSON.stringify(this.basket)),this._snackBar.open("Quantity updated successfully for this product","OK",{duration:2e3}),this.router.navigate(["shop/products-list"]),this.dialog.closeAll()}}),0==r&&(this.basket.push(e),this.basketLength=this.basket.length,localStorage.setItem("Basket",JSON.stringify(this.basket)),this._snackBar.open("Chinese"===this.translate.currentLang?"\u4ea7\u54c1\u5df2\u6210\u529f\u6dfb\u52a0\u5230\u8d2d\u7269\u8f66":"Italian"===this.translate.currentLang?"Prodotto aggiunto con successo al tuo carrello":"Product added to your cart successfully","",{duration:2e3}),this.dialog.closeAll(),this.router.navigate(["shop/products-list"]))}else this.basket.push(e),this.basketLength=this.basket.length,localStorage.setItem("Basket",JSON.stringify(this.basket)),this._snackBar.open("Chinese"===this.translate.currentLang?"\u4ea7\u54c1\u5df2\u6210\u529f\u6dfb\u52a0\u5230\u8d2d\u7269\u8f66":"Italian"===this.translate.currentLang?"Prodotto aggiunto con successo al tuo carrello":"Product added to your cart successfully","",{duration:2e3}),this.router.navigate(["shop/products-list"]),this.dialog.closeAll()}};Eu.ctorParameters=()=>[{type:St.uw},{type:We.ux},{type:It.F0},{type:Y.sK},{type:St.so}],Eu=(0,j.gn)([(0,m.wA2)({selector:"app-cart-modal",template:'<div class="container">\n\n\n\n <div class="col-md-12">\n <div class="container">\n <h4>Add this product to your shopping cart</h4>\n <table class="table table-responsive">\n <thead>\n <tr>\n <th>Image</th>\n <th>Product Name</th>\n <th>Unit Price</th>\n <th>Product Quantity</th>\n <th>Total</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n <img [src]="currentProd.image_url" alt="" class="prodImg">\n </td>\n <td style="vertical-align: center; margin-top: 10px; padding-top: 10px;">{{currentProd.product_name}}</td>\n <td *ngIf="currentProd.item_discount_price" class="priceTab mt-3" style="vertical-align: center;">\n {{currentProd.item_discount_price | currency:code}}</td>\n <td *ngIf="!currentProd.item_discount_price" class="priceTab mt-3" style="vertical-align: center;">\n {{currentProd.item_offline_price | currency:code}}</td>\n <td>\n <mat-form-field class="example-full-width">\n <mat-label>Quantity</mat-label>\n <input id="quant" matInput type="number" maxlength="5" (change)="changeQuantity()" [value]="quantity">\n </mat-form-field>\n </td>\n <td class="priceTab font-weight-bold">\n {{totalPrice | currency:code}}\n </td>\n </tr>\n\n </tbody>\n </table>\n </div>\n </div>\n\n <div class="col-md-12">\n <div class="container text-right">\n <button mat-dialog-close class="btn btn-secondary">Discard</button>\n <button class="btn btn-success ml-3" (click)="addToBasket()">\n <i class="fa fa-plus" aria-hidden="true"></i>\n\n Add</button>\n\n </div>\n </div>\n\n\n</div>',styles:[".priceTab {\n color: red;\n}\n\n.prodImg {\n width: 50px;\n height: 50px;\n}"]})],Eu);let Bf=class{constructor(t){this.router=t,this.quantity=1,this.index=0,this.code=localStorage.getItem("curr"),this.orderTotal=0}ngOnInit(){this.getBasketLength(),this.getBasketProducts(),this.GroupBasketBySupplier()}getBasketLength(){const e=JSON.parse(localStorage.getItem("Basket")).length;this.basketLength=e||0}getBasketProducts(){var t=JSON.parse(localStorage.getItem("Basket"));
1this.basket=t,this.basket.forEach(e=>{this.orderTotal+=e.totalPrice})}changeQuantity(t,e){document.getElementsByClassName("quantity"),document.getElementById("quant"),document.getElementById("quant").value;var o=document.getElementsByClassName("quantity")[e].value,s=parseInt(o);this.quantity=s;for(var l=0,c=0;c<this.basket.length;c++)this.basket[c].id===t&&(this.basket[c].item_discount_price?(this.basket[c].totalPrice=parseInt(this.basket[c].item_discount_price)*s,l=this.basket[c].totalProdWeight/this.basket[c].item_quantity,this.basket[c].totalProdWeight=l*s,this.basket[c].item_quantity=s):(this.basket[c].totalPrice=parseInt(this.basket[c].item_offline_price)*s,l=this.basket[c].totalProdWeight/this.basket[c].item_quantity,this.basket[c].totalProdWeight=l*s,this.basket[c].item_quantity=s));localStorage.setItem("Basket",JSON.stringify(this.basket)),this.router.navigate(["shop/cart"])}removeProdFromCart(t){for(var e=0;e<this.basket.length;e++)this.basket[e].id===t&&(this.basket.splice(e,1),localStorage.setItem("Basket",JSON.stringify(this.basket)),this.router.navigate(["shop/cart"]))}redirectTo(t){this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>this.router.navigate([t]))}GroupBasketBySupplier(){rk(ik(this.basket,"supplier_id"),t=>t.map(e=>ok(e,"supplier_id")))}};Bf.ctorParameters=()=>[{type:It.F0}],Bf=(0,j.gn)([(0,m.wA2)({selector:"app-cart-page",template:'<div class="px-4 px-lg-0">\n \x3c!-- For demo purpose --\x3e\n <div class="container text-white py-5 text-center">\n \x3c!-- <h1 class="display-4">Bootstrap 4 shopping cart</h1>\n <p class="lead mb-0">Build a fully structred shopping cart page using Bootstrap 4. </p>\n <p class="lead">Snippet by <a href="https://bootstrapious.com/snippets" class="text-white font-italic">\n <u>Bootstrapious</u></a>\n </p> --\x3e\n </div>\n \x3c!-- End --\x3e\n \n <div class="pb-5">\n <div class="container">\n <div class="row">\n <div class="col-lg-12 p-5 bg-white rounded shadow-sm mb-5">\n \n \x3c!-- Shopping cart table --\x3e\n <div class="table-responsive">\n <table class="table">\n <thead>\n <tr>\n <th scope="col" class="border-0 bg-light">\n <div class="p-2 px-3 text-uppercase">Product</div>\n </th>\n <th scope="col" class="border-0 bg-light">\n <div class="py-2 text-uppercase">Unit Price</div>\n </th>\n <th scope="col" class="border-0 bg-light">\n <div class="py-2 text-uppercase">Total Price</div>\n </th>\n <th scope="col" class="border-0 bg-light">\n <div class="py-2 text-uppercase">Quantity</div>\n </th>\n <th scope="col" class="border-0 bg-light">\n <div class="py-2 text-uppercase">Remove</div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor="let prod of basket; index as i">\n <th scope="row" class="border-0" >\n <div class="p-2">\n <img [src]="prod.product_image_url" alt="" width="70" class="img-fluid rounded shadow-sm">\n <div class="ml-3 d-inline-block align-middle">\n <h5 class="mb-0"> <a href="#" class="text-dark d-inline-block align-middle">{{prod.product_name}}</a></h5><span class="text-muted font-weight-normal font-italic d-block"></span>\n </div>\n </div>\n </th>\n <td *ngIf="prod.item_discount_price" class="border-0 align-middle"><strong>{{prod.item_discount_price |currency:code}}</strong></td>\n <td *ngIf="!prod.item_discount_price" class="border-0 align-middle"><strong>{{prod.item_offline_price |currency:code}}</strong></td>\n <td class="border-0 align-middle" style="color: red;"><strong>{{prod.totalPrice |currency:code}}</strong></td>\n <td class="border-0 align-middle">\n \x3c!-- <strong>{{prod.item_quantity}}</strong> --\x3e\n <input id="quant" type="number" class="form-control quantity" [value]="prod.item_quantity" \n (change)="changeQuantity(prod.id, i)"\n aria-label="Small" aria-describedby="inputGroup-sizing-sm" style="width: 50%;">\n </td>\n <td class="border-0 align-middle"><a matTooltip="Remove this product from the cart" (click)="removeProdFromCart(prod.id)" class="text-dark">
1<i class="fa fa-trash"></i></a></td>\n </tr>\n \x3c!-- <tr>\n <th scope="row">\n <div class="p-2">\n <img src="https://res.cloudinary.com/mhmd/image/upload/v1556670479/product-3_cexmhn.jpg" alt="" width="70" class="img-fluid rounded shadow-sm">\n <div class="ml-3 d-inline-block align-middle">\n <h5 class="mb-0"><a href="#" class="text-dark d-inline-block">Lumix camera lense</a></h5><span class="text-muted font-weight-normal font-italic">Category: Electronics</span>\n </div>\n </div>\n </th>\n <td class="align-middle"><strong>$79.00</strong></td>\n <td class="align-middle"><strong>$79.00</strong></td>\n <td class="align-middle"><strong>3</strong></td>\n <td class="align-middle"><a href="#" class="text-dark"><i class="fa fa-trash"></i></a>\n </td>\n </tr> --\x3e\n \x3c!-- <tr>\n <th scope="row">\n <div class="p-2">\n <img src="https://res.cloudinary.com/mhmd/image/upload/v1556670479/product-2_qxjis2.jpg" alt="" width="70" class="img-fluid rounded shadow-sm">\n <div class="ml-3 d-inline-block align-middle">\n <h5 class="mb-0"> <a href="#" class="text-dark d-inline-block">Gray Nike running shoe</a></h5><span class="text-muted font-weight-normal font-italic">Category: Fashion</span>\n </div>\n </div>\n <td class="align-middle"><strong>$79.00</strong></td>\n <td class="align-middle"><strong>$79.00</strong></td>\n <td class="align-middle"><strong>3</strong></td>\n <td class="align-middle"><a href="#" class="text-dark"><i class="fa fa-trash"></i></a>\n </td>\n </tr> --\x3e\n </tbody>\n </table>\n <div class="col-md-12">\n <button class="btn btn-primary" style="text-align: right; float: right;" routerLink="/shop/checkout">\n Checkout\n </button>\n </div>\n \x3c!-- End --\x3e\n </div>\n </div>\n \n \x3c!-- <div class="row py-5 p-4 bg-white rounded shadow-sm">\n <div class="col-lg-6">\n <div class="bg-light rounded-pill px-4 py-3 text-uppercase font-weight-bold">Coupon code</div>\n <div class="p-4">\n <p class="font-italic mb-4">If you have a coupon code, please enter it in the box below</p>\n <div class="input-group mb-4 border rounded-pill p-2">\n <input type="text" placeholder="Apply coupon" aria-describedby="button-addon3" class="form-control border-0">\n <div class="input-group-append border-0">\n <button id="button-addon3" type="button" class="btn btn-dark px-4 rounded-pill"><i class="fa fa-gift mr-2"></i>Apply coupon</button>\n </div>\n </div>\n </div>\n <div class="bg-light rounded-pill px-4 py-3 text-uppercase font-weight-bold">Instructions for seller</div>\n <div class="p-4">\n <p class="font-italic mb-4">If you have some information for the seller you can leave them in the box below</p>\n <textarea name="" cols="30" rows="2" class="form-control"></textarea>\n </div>\n </div>\n <div class="col-lg-6">\n <div class="bg-light rounded-pill px-4 py-3 text-uppercase font-weight-bold">Order summary </div>\n <div class="p-4">\n <p class="font-italic mb-4">Shipping and additional costs are calculated based on values you have entered.</p>\n <ul class="list-unstyled mb-4">\n <li class="d-flex justify-content-between py-3 border-bottom"><strong class="text-muted">Order Subtotal </strong><strong>$390.00</strong></li>\n <li class="d-flex justify-content-between py-3 border-bottom"><strong class="text-muted">Shipping and handling</strong><strong>$10.00</strong></li>\n <li class="d-flex justify-content-between py-3 border-bottom"><strong class="text-muted">Tax</strong><strong>$0.00</strong></li>\n <li class="d-flex justify-content-between py-3 border-bottom"><strong class="text-muted">Total</strong>\n <h5 class="font-weight-bold">{{orderTotal |currency }}</h5>\n </li>\n </ul><a href="#" class="btn btn-dark rounded-pill py-2 btn-block">Procceed to checkout</a>\n </div>\n </div>\n </div> --\x3e\n\n\n \n </div>\n \n </div>\n </div>\n </div>',styles:["body {\n background: #eecda3;\n background: linear-gradient(to right, #eecda3, #ef629f);\n min-height: 100vh;\n}"]})],Bf);var Rt=F(37340),bn=F(56834),K8=F(49836),sk=F(36030);let jf=class{constructor(t,e,a,r,i,o){this.router=t,this.orderService=e,this.snackbar=a,this.paymentService=r,this.dialog=i,this.translate=o,this.code=localStorage.getItem("curr"),this.orderDisplayedColumns=["supplier","email","phone_num1","order_total_price","actions"],this.quantity=1,this.index=0,this.orders=[],this.allOrders=[],this.orderTotal=0}ngOnInit(){this.getBasketLength(),this.getBasketProducts(),this.GroupBasketBySupplier(),this.getOrdersCheckout(),this.getPaymentTypes()}getBasketLength(){const e=JSON.parse(localStorage.getItem("Basket")).length;this.basketLength=e||0}getBasketProducts(){var t=JSON.parse(localStorage.getItem("Basket"));
1this.basket=t,this.basket.forEach(e=>{this.orderTotal+=e.totalPrice})}redirectTo(t){this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>this.router.navigate([t]))}GroupBasketBySupplier(){var t=rk(ik(this.basket,"supplier_id"),r=>r.map(i=>ok(i,"supplier_id"))),e=[];localStorage.setItem("groupedOrder",JSON.stringify(t));var a=new Array;Object.keys(t).forEach(function(r){const i=t[r],o=t[r][0];o.email;var l=0,d=(t[r][0].totalProdWeight,{supplier_id:r,order_total_price:l,first_name:o.first_name,last_name:o.last_name,email:o.email,phone_num1:o.phone_num1,logistic_service:o.logistic_service,order_weight:0,order_products_list:[]}),u=0;i.forEach(f=>{const v={item_id:f.id,item_quantity:f.item_quantity,product_image_url:f.product_image_url,product_name:f.product_name};u+=f.totalProdWeight,d.order_weight=u,d.order_products_list.push(v),l+=f.totalPrice,d.order_total_price=l}),e.push(d),localStorage.setItem("orderCheckout",JSON.stringify(e));Object.keys(i).find(f=>"email"===i[0][f]);a.push(t[r]),localStorage.setItem("groupedBasket",JSON.stringify(a))})}applyFilter(t){const e=t.target.value;this.allOrdersCheckout.filter=e.trim().toLowerCase(),this.allOrdersCheckout.paginator&&this.allOrdersCheckout.paginator.firstPage()}getOrdersCheckout(){var t=JSON.parse(localStorage.getItem("orderCheckout"));this.allOrdersCheckout=t}onValidatePurchaseOrder(t,e){this.paymentId||(this.paymentId=1),t.payment_method_id=this.paymentId;document.getElementsByClassName("payment")[e].value;if(confirm("Are you sure you want to validate this order?"))return this.orderService.validatePurchaseOrder(t).subscribe(i=>{this.snackbar.open("Chinese"===this.translate.currentLang?"\u8ba2\u5355\u5df2\u6210\u529f\u786e\u8ba4":"Italian"===this.translate.currentLang?"Il tuo ordine \xe8 stato convalidato con successo":"Your order has been validated successfully","",{duration:2e3});var o=JSON.parse(localStorage.getItem("Basket"));this.basketLoop=o;o.length;let l=0;var c=[];if(this.basketLoop.forEach(h=>{h.supplier_id!=t.supplier_id&&c.push(h),l+=1}),localStorage.setItem("Basket",JSON.stringify(c)),0==JSON.parse(localStorage.getItem("Basket")).length){localStorage.setItem("orderCheckout",JSON.stringify([]))}this.router.navigate(["shop/checkout"])},i=>{})}openValidateOrderModal(t){this.dialog.open(sk.m,{data:t})}getPaymentTypes(){this.paymentService.getPaymentTypesList().subscribe(t=>{this.payments=t,this.paymentList=this.payments.paymentList})}getPaymentValue(t){this.paymentId=t}};jf.ctorParameters=()=>[{type:It.F0},{type:bn.C},{type:We.ux},{type:K8.t},{type:St.uw},{type:Y.sK}],jf=(0,j.gn)([(0,m.wA2)({selector:"app-checkout",template:'<div class="container shadow-lg bg-white rounded" style="background-color: white; padding: 40px; margin-top: 100px; margin-bottom: 30px;">\n\n\n\n<section class="mainContainer">\n \x3c!-- <span>List of invalid orders:</span> --\x3e\n \x3c!-- <button color="primary" class="topbuttons" style=" float:right; margin-top: 10px;margin-bottom: 10px;" mat-raised-button\n (click)="openAddCriteriaWithUnits()">+ Add New Criteria\n </button> --\x3e\n\n\n \n <mat-form-field style="width: 25%;">\n <mat-label>Filter</mat-label>\n <input matInput (keyup)="applyFilter($event)" placeholder="Ex. Siyou">\n </mat-form-field>\n \n\n <table mat-table [dataSource]="allOrdersCheckout" mat-sort
1class="mat-elevation-z8" multiTemplateDataRows>\n\n \x3c!-- Order Date Column --\x3e\n <ng-container matColumnDef="supplier">\n <th mat-header-cell *matHeaderCellDef> Supplier Full Name </th>\n <td mat-cell *matCellDef="let order">{{ order.first_name}} {{ order.last_name}}</td>\n </ng-container>\n\n \x3c!-- Order Price Column --\x3e\n <ng-container matColumnDef="email">\n <th mat-header-cell *matHeaderCellDef> Email </th>\n <td mat-cell *matCellDef="let order" > {{ order.email }} </td>\n </ng-container>\n\n \x3c!-- Supplier Column --\x3e\n <ng-container matColumnDef="phone_num1">\n <th mat-header-cell *matHeaderCellDef> Phone Number </th>\n <td mat-cell *matCellDef="let order"> {{ order.phone_num1 }} \n </td>\n </ng-container>\n\n <ng-container matColumnDef="order_total_price">\n <th mat-header-cell *matHeaderCellDef> Order Total Price </th>\n\n <td mat-cell *matCellDef="let order" class="price1">\n {{ order.order_total_price | currency:code }}\n\n </td>\n </ng-container>\n\n \n\n\n\n \x3c!-- Actions Column --\x3e\n <ng-container matColumnDef="actions">\n <th mat-header-cell *matHeaderCellDef style="padding-left: 40px;">Actions</th>\n <td mat-cell style="padding-left: 30px;" *matCellDef="let row">\n\n <button mat-icon-button matTooltip="Show order products">\n <i class="material-icons icon-green" style="color: darkcyan;">expand_more</i>\n </button>\n \x3c!-- <button title="Add this Criteria" (click)="openAddCriteriaModal(row)" mat-icon-button ><i class="material-icons icon-green" style="color: darkcyan;">\n create\n </i>\n </button> --\x3e\n <button matTooltip="Validate this order" (click)="openValidateOrderModal(row)" class="btn btn-success" style="margin: 10px;">\n \x3c!-- <i\n class="material-icons icon-green" style="color: darkcyan;">\n add_shopping_cart\n </i> --\x3e\n\n\n <i class="fa fa-cart-plus" aria-hidden="true"></i>\n\n \n Validate Order\n </button>\n\n \n\n \n </td>\n </ng-container>\n\n <ng-container matColumnDef="expandedDetail">\n\n\n\n <td mat-cell *matCellDef="let order" [attr.colspan]="orderDisplayedColumns.length">\n \x3c!-- <button class="btn btn-primary btn-sm" color="primary">Add New Unit</button> --\x3e\n \n \n\n <div class="example-element-detail"\n [@detailExpand]="order == expandedElement ? \'expanded\' : \'collapsed\'">\n\n <div class="orderProducts">\n \n\n \n\n\n \n <table class="mat-elevation-z8">\n \n\n\n <tr>\n <th style="margin-right: 35px; padding: 10px;">Product image</th>\n <th style="margin-right: 15px; padding: 10px;">Product Name</th>\n <th style="margin-left: 15px; padding: 10px;">Product quantity</th>\n \x3c!-- <th style="margin-left: 15px; padding: 10px;">Product Price</th> --\x3e\n <th style="margin-left: 15px; padding: 10px;">Actions</th>\n\n </tr>\n\n <tr *ngFor="let prod_item of order.order_products_list">\n \x3c!-- <td style="margin-right: 15px; padding: 10px;">{{prod_item.images.image_url}}</td> --\x3e\n <td style="margin-right: 15px; padding: 10px;">\n <img [src]="prod_item.product_image_url" class="prod-img" alt="">\n </td>\n <td style="margin-right: 15px; padding: 10px;">{{prod_item.product_name}}</td>\n <td style="margin-left: 15px; padding: 10px;">{{prod_item.item_quantity}}</td>\n \x3c!-- <td style="margin-left: 15px; padding: 10px; color:red" class="price1">{{prod_item.item_offline_price |currency}}</td> --\x3e\n <td style="margin-left: 15px; padding: 10px;">\n\n <button mat-icon-button matTooltip="View full details"><i\n class="material-icons icon-green" style="color: darkcyan;" routerLink="/shop/shop-product-details/{{prod_item.item_id}}">\n view_headline\n </i>\n </button>\n\n \n </td>\n\n\n\n\n </tr>\n\n \n </table>\n\n \x3c!-- <div>\n <br>\n <button class="btn btn-success" style="display: block;">Primary</button>\n \n </div> --\x3e\n \n\n\n\n\n </div>\n \n </div>\n\n </td>\n\n\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef="orderDisplayedColumns"></tr>\n <tr mat-row *matRowDef="let order; columns: orderDisplayedColumns;" class="example-element-row"\n [class.example-expanded-row]="expandedElement === order"\n (click)="expandedElement = expandedElement === order ? null : order"></tr>\n <tr mat-row *matRowDef="let row; columns: [\'expandedDetail\']" class="example-detail-row"></tr>\n </table>\n</section>\n\n\n\n</div>',animations:[(0,Rt.X$)("detailExpand",[(0,Rt.SB)("collapsed",(0,Rt.oB)({height:"0px",minHeight:"0",visibility:"hidden"})),(0,Rt.SB)("expanded",(0,Rt.oB)({height:"*",visibility:"visible"})),(0,Rt.eR)("expanded <=> collapsed",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])],styles:[".mainContainer {\n padding: 10px;\n padding-top: 10px;\n}\n.mainContainer span {\n font-family: Roboto;\n font-weight: 500;\n font-size: 20px;\n}\n.mainContainer table {\n width: 100%;\n margin-top: 15px;\n}\n.mainContainer table td {\n max-width: 250px;\n overflow-wrap: break-word;\n white-space: normal;\n}\n.mainContainer table td mat-icon {\n cursor: pointer;\n}\n.mainContainer table .actionsContainer {\n flex-direction: row;\n justify-content: space-evenly;\n}\n.mainContainer table tr.example-detail-row {\n height: 0;\n}\n.mainContainer table tr.example-element-row:not(.example-expanded-row):active {\n background: #efefef;\n}\n.mainContainer table .example-element-row td {\n border-bottom-width: 0;\n}\n.mainContainer table .example-element-detail {\n overflow: hidden;\n display: flex;\n}\n.mainContainer table .example-element-diagram {\n min-width: 80px;\n border: 2px solid black;\n padding: 8px;\n font-weight: lighter;\n margin: 8px 0;\n height: 104px;\n}\n.mainContainer table .example-element-symbol {\n font-weight: bold;\n font-size: 40px;\n line-height: normal;\n}\n.mainContainer table .example-element-description {\n padding: 16px;\n}\n.mainContainer table .example-element-description-attribution {\n opacity: 0.5;\n}\n.mainContainer table .orderProducts {\n padding: 10px;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n}\n.mainContainer table .orderProducts mat-card {\n width: 200px;\n height: 250px;\n margin: 5px;\n display: flex;\n flex-direction: column;\n}\n.mainContainer table .orderProducts mat-card .product_name {\n margin-top: 5px;\n font-family: Roboto;\n font-weight: 500;\n}\n.mainContainer table .orderProducts mat-card .productData {\n margin-top: auto;\n}\n.mainContainer table .orderProducts mat-card .productData .quantity {\n justify-content: flex-end;\n}\n.mainContainer table .orderProducts mat-card .productData .price {\n justify-content: flex-end;\n}\n.price1 {\n color: red;\n font-weight: bold;\n}\n.prod-img {\n max-width: 50px;\n max-height: 50px;\n}\nbody {\n margin-top: 20px;\n background: #FAFAFA;\n}\n.order-card {\n color: #fff;\n}\n.bg-c-blue {\n background: linear-gradient(45deg, #4099ff, #73b4ff);\n}\n.bg-c-green {\n background: linear-gradient(45deg, #2ed8b6, #59e0c5);\n}\n.bg-c-yellow {\n background: linear-gradient(45deg, #FFB64D, #ffcb80);\n}\n.bg-c-pink {\n background: linear-gradient(45deg, #FF5370, #ff869a);\n}\n.card {\n border-radius: 5px;\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.16);\n border: none;\n margin-bottom: 30px;\n transition: all 0.3s ease-in-out;\n}\n.card .card-block {\n padding: 25px;\n}\n.order-card i {\n font-size: 26px;\n}\n.f-left {\n float: left;\n}\n.f-right {\n float: right;\n}"]})],jf);var $e=F(53626),Wa=F(98739),Ma=F(96308);let qu=class{constructor(t,e,a,r,i,o){this.basketService=t,this.ordersService=a,this.snackBar=r,this.companiesService=i,this.translate=o,this.basketItems=[],this.orderList=[],this.selected=!1,this.code=localStorage.getItem("curr"),this.slideConfig={slidesToShow:4,slidesToScroll:1,dots:!0,infinite:!0,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3,infinite:!0,dots:!0}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]},this.displayedColumns=["product_image","product_name","product_description","quantity","product_price","actions"],this.orderDisplayedColumns=["order_date","order_price","logistic_company_name","logistic_value","supplier_name","order_statut","products_number","actions"],this.mobileQuery=e.matchMedia("(max-width: 1200px)")}
1ngOnInit(){this.getBasketTransformedData(),this.getShopOrders()}getBasketTransformedData(){this.basketService.transformBasketData().then(t=>{this.basketItems=t.map(e=>(e.isLogistic=!1,e.logisticCompanies=null,e.logisticCompanyId=null,e))})}getOrderWeight(t){return t.products.reduce((a,r)=>a+=r.quantity*r.product.product_weight,0)}getTotalPrice(t){return t.products.reduce((r,i)=>r+i.item_price,0)}getIvaTax(t){return.22*this.getTotalPrice(t)}makeOrder(t){const e={},{id:a,products:r}=t,i=this.getTotalPrice(t)+this.getIvaTax(t),o=this.getOrderWeight(t),s=t.isLogistic?t.logisticCompanyId:null,l=t.isLogistic?this.getCompanyById(t.logisticCompanies,s)[0].tarif[0]:null,c=r.map(d=>{const u={},{product:{id:h},item_price:f,quantity:v}=d;return Object.assign(u,{product_id:h,total_product_price:f,product_quantity:v}),u});Object.assign(e,{supplier_id:a,order_total_price:i,order_weight:o,logistic_tarif:l,logistic_company_id:s,order_products_list:c}),this.basketService.updateBasketProductList(c).then(d=>{this.getBasketTransformedData(),this.ordersService.makeOrder(e).subscribe(u=>{this.snackBar.open("Chinese"===this.translate.currentLang?"\u8ba2\u5355\u5df2\u6210\u529f\u6dfb\u52a0":"Italian"===this.translate.currentLang?"Ordine aggiunto con successo":"Order Added Succeffully !","",{duration:1500,verticalPosition:"bottom",horizontalPosition:"right",panelClass:["snackbar"]}).afterDismissed().subscribe(h=>{this.getShopOrders()})},u=>{this.snackBar.open("Chinese"===this.translate.currentLang?"\u65b0\u589e\u8ba2\u5355\u51fa\u73b0\u9519\u8bef":"Italian"===this.translate.currentLang?"Errore durante l'aggiunta di un nuovo ordine":"Error while adding new Order !","",{duration:1500,verticalPosition:"bottom",horizontalPosition:"right",panelClass:["snackbar"]})})})}getShopOrders(){this.ordersService.getShopOrders().subscribe(t=>{this.orderList=t,this.dataSource=new $e.by(t)})}getCompanyById(t,e){return t.filter(a=>a.id===e)}onSelectionChange(t,e){if(t.checked)if(e.logisticCompanies)e.logisticCompanyId=e.logisticCompanies[0].id;else{const a=this.getOrderWeight(e);this.companiesService.getLogisticCompaniesList(a).subscribe(r=>{e.logisticCompanies=r,e.logisticCompanyId=r[0].id})}e.isLogistic=!e.isLogistic}onSelectCard(t,e){t.logisticCompanyId=e}getCompaniesList(t){const e=this.getOrderWeight(t);return this.companiesService.getLogisticCompaniesList(e)}};qu.ctorParameters=()=>[{type:Ac},{type:yo.vx},{type:zf},{type:We.ux},{type:Ef},{type:Y.sK}],qu.propDecorators={paginator:[{type:m.i9L,args:[Wa.NW,{static:!0}]}],sort:[{type:m.i9L,args:[Ma.YE,{static:!0}]}]},qu=(0,j.gn)([(0,m.wA2)({selector:"app-basket-details",template:'<div class="mainContainer" [ngStyle]="{\'padding\': mobileQuery.matches ? \'unset\' : \'12px\', \'padding-top\': mobileQuery.matches ? \'56px\' : \'70px\'}">\n <mat-tab-group disableRipple="true" *ngIf="mobileQuery.matches" color="accent" backgroundColor="primary"\n mat-align-tabs="center" mat-stretch-tabs>\n <mat-tab label="Basket Items">\n <section class="basketItems" *ngIf="basketItems.length && mobileQuery.matches" [ngStyle]="{\'padding\': \'0px 12px\' }">\n \x3c!-- <span>Basket List</span> --\x3e\n <mat-accordion>\n <mat-expansion-panel *ngFor="let item of basketItems; let index = index">\n <mat-expansion-panel-header>\n <mat-panel-title>\n Order {{ index + 1 }}\n </mat-panel-title>\n </mat-expansion-panel-header>\n\n <section class="orderInfos">\n <span class="productInfo">Supplier Name:</span><span class="infoValue">{{ item.first_name }}\n {{ item.last_name }}</span>\n <span class="productInfo">Supplier Email:</span><span\n class="infoValue">{{ item.email }}</span>\n <span class="productInfo">Order Price</span><span\n class="infoValue">{{ getTotalPrice(item) |currency:code}}</span>
1\n <span class="productInfo">Iva Taxe Price</span><span\n class="infoValue">{{ getIvaTax(item) |currency:code}}</span>\n <span class="productInfo">Total Order Price</span><span class="infoValue"\n id="totalOrderPrice"\n color="warn">{{ (getTotalPrice(item) + getIvaTax(item)) |currency:code}}</span>\n <div class="productsContainer">\n <section class="mobileDisplay" *ngIf="mobileQuery.matches">\n <mat-card *ngFor="let prod of item.products">\n <mat-card-title>\n <span>{{ prod.product.product_name }}</span>\n <mat-icon>close</mat-icon>\n </mat-card-title>\n <mat-card-content>\n <div [ngStyle]="{\'background\': \'url(\' + prod.product.product_image + \')\', \'height\': \'150px\', \'background-position\': \'center\',\n \'background-size\': \'contain\', \'background-repeat\': \'no-repeat\' }">\n </div>\n <section class="cardProductInfo">\n <div class="productDescription">\n <span class="productInfo">Product Description</span>\n <span\n class="infoValue">{{ (prod.product.product_description | slice:0: 50) + \'...\' }}</span>\n </div>\n <div class="productQuantity">\n <span class="productInfo">Quantity</span>\n <span class="infoValue">{{ prod.quantity }}</span>\n </div>\n <div class="productPrice">\n <span class="productInfo">Price</span>\n <span\n class="infoValue">{{ prod.item_price |currency:code}}</span>\n </div>\n </section>\n </mat-card-content>\n </mat-card>\n </section>\n <button id="passOrder" color="primary" (click)="makeOrder(item)" mat-raised-button>Make\n Order</button>\n </div>\n </section>\n </mat-expansion-panel>\n </mat-accordion>\n </section>\n <section class="noDataFoundSection" *ngIf="!basketItems.length">\n <mat-icon width="unset" height="unset" id="noDataImage" svgIcon="noData"></mat-icon>\n <span>No Data Found</span>\n </section>\n </mat-tab>\n <mat-tab label="Orders List">\n <section class="orderList" *ngIf="orderList.length && mobileQuery.matches" [ngStyle]="{ \'margin-top\': \'0px\', \'padding\': \'0px 12px\' }">\n \x3c!-- <span>Order List</span> --\x3e\n <section class="mobileOrderDisplay">\n <mat-card *ngFor="let order of orderList" class="mobileProductsContainer">\n <span>Supplier Name</span>\n <span>{{ order.supplier.first_name }} {{ order.supplier.last_name}}</span>\n <span>Order Price</span>
1\n <span>{{ order.order_price |currency:code}}</span>\n <span>Order Date</span>\n <span>{{ order.created_at | date: \'medium\' }}</span>\n <span>Products Count</span>\n <span>{{ order.products.length }}</span>\n </mat-card>\n </section>\n </section>\n <section class="noDataFoundSection" *ngIf="!orderList.length">\n <mat-icon width="unset" height="unset" id="noDataImage" svgIcon="noData"></mat-icon>\n <span>No Data Found</span>\n </section>\n </mat-tab>\n </mat-tab-group>\n\n \x3c!-- <ion-tabs>\n <ion-tab tab="schedule">\n <ion-content fullscreen class="ion-padding">\n <h1>Music</h1>\n </ion-content>\n </ion-tab>\n\n <ion-tab tab="speakers">\n <ion-content fullscreen class="ion-padding">\n <h1>Movies</h1>\n </ion-content>\n </ion-tab>\n\n <ion-tab tab="map">\n <ion-content fullscreen class="ion-padding">\n <h1>Games</h1>\n </ion-content>\n </ion-tab>\n <ion-tab-bar slot="top" color="primary">\n <ion-tab-button tab="schedule">\n <ion-icon name="calendar"></ion-icon>\n <ion-label>Schedule</ion-label>\n <ion-badge>6</ion-badge>\n </ion-tab-button>\n\n <ion-tab-button tab="speakers">\n <ion-icon name="person-circle"></ion-icon>\n <ion-label>Speakers</ion-label>\n </ion-tab-button>\n\n <ion-tab-button tab="map">\n <ion-icon name="map"></ion-icon>\n <ion-label>Map</ion-label>\n </ion-tab-button>\n </ion-tab-bar>\n </ion-tabs> --\x3e\n <section class="basketItems" *ngIf="basketItems.length && !mobileQuery.matches">\n <span>Basket List</span>\n <mat-accordion>\n <mat-expansion-panel *ngFor="let item of basketItems; let index = index">\n <mat-expansion-panel-header>\n <mat-panel-title>\n Order {{ index + 1 }}\n </mat-panel-title>\n </mat-expansion-panel-header>\n\n <section class="orderInfos">\n <span class="productInfo">Supplier Name:</span><span class="infoValue">{{ item.first_name }}\n {{ item.last_name }}</span>\n <span class="productInfo">Supplier Email:</span><span class="infoValue">{{ item.email }}</span>\n <span class="productInfo">Order Price</span><span\n class="infoValue">{{ getTotalPrice(item) |currency:code}}</span>\n <span class="productInfo">Order Weight</span><span\n class="infoValue">{{ getOrderWeight(item) + \' Kg\' }}</span>\n <span class="productInfo">Iva Taxe Price</span><span\n class="infoValue">{{ getIvaTax(item) |currency:code}}</span>\n <span class="productInfo">Total Order Price</span><span class="infoValue" id="totalOrderPrice"\n color="warn">{{ (getTotalPrice(item) + getIvaTax(item)) |currency:code}}</span>\n <mat-checkbox class="example-margin" style="grid-column: span 2;"\n (change)="onSelectionChange($event, item)">Add Logistic</mat-checkbox>\n <section *ngIf="item.isLogistic " class="companySelection">\n <span>Choose a company from below</span>\n <div class="companies">\n <mat-card *ngFor="let company of item.logisticCompanies; let index = index"\n class="companyCard" (click)="onSelectCard(item, company.id)"\n [ngClass]="{\'card-selected mat-elevation-z4\': item.logisticCompanyId == company.id} ">
1\n <span [matTooltip]="item.logisticCompanyId == company.id ? \'Deselect\' : \'Select\'"\n class="selection">\n <mat-icon>check_circle</mat-icon>\n </span>\n <div class="companyImage" [ngStyle]="{\'background\': \'url( \'+ company.image_url +\')\', \n \'width\': \'100%\', \'height\': \'150px\', \'background-position\': \'center\',\n \'background-size\': \'contain\', \'background-repeat\': \'no-repeat\' }"></div>\n <div class="companyInfos">\n <span id="companyName">{{ company.name }}</span>\n <span id="companyLogisticPrice">{{ company.tarif[0] |currency:code}}</span>\n </div>\n\n </mat-card>\n </div>\n </section>\n <div class="productsContainer">\n <section class="mobileDisplay" *ngIf="mobileQuery.matches">\n <mat-card *ngFor="let prod of item.products">\n <mat-card-title>\n <span>{{ prod.product.product_name }}</span>\n <mat-icon>close</mat-icon>\n </mat-card-title>\n <mat-card-content>\n <div [ngStyle]="{\'background\': \'url(\' + prod.product.product_image + \')\', \'height\': \'150px\', \'background-position\': \'center\',\n \'background-size\': \'contain\', \'background-repeat\': \'no-repeat\' }">\n </div>\n <section class="cardProductInfo">\n <div class="productDescription">\n <span class="productInfo">Product Description</span>\n <span\n class="infoValue">{{ (prod.product.product_description | slice:0: 50) + \'...\' }}</span>\n </div>\n <div class="productQuantity">\n <span class="productInfo">Quantity</span>\n <span class="infoValue">{{ prod.quantity }}</span>\n </div>\n <div class="productPrice">\n <span class="productInfo">Price</span>\n <span class="infoValue">{{ prod.item_price |currency:code}}</span>\n </div>\n </section>\n </mat-card-content>\n </mat-card>\n </section>\n <table mat-table [dataSource]="item.products" *ngIf="!mobileQuery.matches" mat-sort\n class="mat-elevation-z8">\n\n \x3c!-- Product Image Column --\x3e\n <ng-container matColumnDef="product_image">\n <th mat-header-cell *matHeaderCellDef> Product image </th>\n <td mat-cell *matCellDef="let prod">\n <div class="imageContainer" [ngStyle]="{\'background\': \'url(\' + prod.product.product_image + \')\', \n \'width\': \'150px\', \'height\': \'150px\', \'background-position\': \'center\',\n \'background-size\': \'contain\', \'background-repeat\': \'no-repeat\'}"></div>\n </td>\n </ng-container>\n\n \x3c!-- Product Name Column --\x3e\n <ng-container matColumnDef="product_name">\n <th mat-header-cell *matHeaderCellDef> Product Name </th>\n <td mat-cell *matCellDef="let prod"> {{ prod.product.product_name }} </td>\n </ng-container>\n\n \x3c!-- Product Description Column --\x3e\n <ng-container matColumnDef="product_description">\n <th mat-header-cell *matHeaderCellDef> Product Description </th>\n <td mat-cell style="padding: 5px;" *matCellDef="let prod">\n {{ !mobileQuery.matches ? prod.product.product_description : prod.product.product_description | slice:0: 50 }}\n </td>\n </ng-container>\n\n \x3c!-- Product Quantity Column --\x3e\n <ng-container matColumnDef="quantity">\n <th mat-header-cell *matHeaderCellDef> Quantity </th>\n <td mat-cell *matCellDef="let prod" style="text-align: center;"> {{ prod.quantity }}\n </td>\n </ng-container>\n\n \x3c!-- Product Price Column --\x3e\n <ng-container matColumnDef="product_price">\n <th mat-header-cell *matHeaderCellDef> Product Price </th>\n <td mat-cell *matCellDef="let prod" style="color: red; text-align: center;">\n {{ prod.item_price |currency:code}}</td>\n </ng-container>\n\n \x3c!-- Actions Column --\x3e\n <ng-container matColumnDef="actions">\n\n <th mat-header-cell *matHeaderCellDef>Actions</th>\n <td mat-cell *matCellDef="let row">\n <div class="actionsContainer">\n \x3c!-- <mat-icon matTooltip="View Product Details">launch</mat-icon> --\x3e\n <mat-icon matTooltip="Delete Product" color="warn">delete_outline</mat-icon>\n </div>\n\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>\n </table>\n <button id="passOrder" color="primary" (click)="makeOrder(item)" mat-raised-button>Make\n Order</button>\n </div>\n </section>\n </mat-expansion-panel>\n </mat-accordion>\n </section>\n\n <section class="orderList" *ngIf="orderList.length && !mobileQuery.matches">
1\n <span>Order List</span>\n <section class="mobileOrderDisplay" *ngIf="mobileQuery.matches">\n <mat-card *ngFor="let order of orderList" class="mobileProductsContainer">\n <span>Supplier Name</span>\n <span>{{ order.supplier.first_name }} {{ order.supplier.last_name}}</span>\n <span>Products Count</span>\n <span>{{ order.products.length }}</span>\n <span>Order Price</span>\n <span>{{ order.order_price |currency:code}}</span>\n <span>Order Date</span>\n <span>{{ order.created_at | date: \'medium\' }}</span>\n </mat-card>\n </section>\n <table mat-table [dataSource]="dataSource" *ngIf="!mobileQuery.matches" mat-sort class="mat-elevation-z8"\n multiTemplateDataRows>\n\n \x3c!-- Order Date Column --\x3e\n <ng-container matColumnDef="order_date">\n <th mat-header-cell *matHeaderCellDef> Order Date </th>\n <td mat-cell *matCellDef="let order">{{ order.created_at | date: \'medium\' }}</td>\n </ng-container>\n\n \x3c!-- Order Price Column --\x3e\n <ng-container matColumnDef="order_price">\n <th mat-header-cell *matHeaderCellDef> Order Price </th>\n <td mat-cell *matCellDef="let order"> {{ order.order_price |currency:code}} </td>\n </ng-container>\n\n \n \x3c!-- Logistic Company Name Column --\x3e\n <ng-container matColumnDef="logistic_company_name">\n <th mat-header-cell *matHeaderCellDef>Logistic Company Name</th>\n <td mat-cell *matCellDef="let order">\n {{ order.company ? order.company.name : \'No Logistics\' }}\n </td>\n </ng-container>\n\n \x3c!-- Logistics Column --\x3e\n <ng-container matColumnDef="logistic_value">\n <th mat-header-cell *matHeaderCellDef> Logistic </th>\n <td mat-cell *matCellDef="let order">\n {{ order.logistic_tarif ? (order.logistic_tarif |currency:code) : (0 |currency:code) }}\n </td>\n </ng-container>\n\n \x3c!-- Supplier Column --\x3e\n <ng-container matColumnDef="supplier_name">\n <th mat-header-cell *matHeaderCellDef> Supplier Name </th>\n <td mat-cell style="padding: 5px;" *matCellDef="let order"> {{ order.supplier.first_name }}\n {{ order.supplier.last_name}}</td>\n </ng-container>\n\n \x3c!-- Statut Column --\x3e\n <ng-container matColumnDef="order_statut">\n <th mat-header-cell *matHeaderCellDef> Order Statut </th>\n <td mat-cell *matCellDef="let order"> {{ order.statut.statut_name }}\n </td>\n </ng-container>\n\n \x3c!-- Products Number Column --\x3e\n <ng-container matColumnDef="products_number">\n <th mat-header-cell *matHeaderCellDef> Products Number </th>\n <td mat-cell *matCellDef="let order"> {{ order.products.length }}\n </td>\n </ng-container>\n\n \x3c!-- Actions Column --\x3e\n <ng-container matColumnDef="actions">\n <th mat-header-cell *matHeaderCellDef style="text-align: center;">Actions</th>\n <td mat-cell *matCellDef="let row">\n <div class="actionsContainer">\n <mat-icon matTooltip="Delete Product" color="warn">delete_outline</mat-icon>\n <mat-icon matTooltip="View Order Details">expand_more</mat-icon>\n </div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef="expandedDetail">\n <td mat-cell *matCellDef="let order" [attr.colspan]="orderDisplayedColumns.length">\n <div class="example-element-detail"\n [@detailExpand]="order == expandedElement ? \'expanded\' : \'collapsed\'">\n <div class="orderProducts">\n <mat-card *ngFor="let product of order.products">\n <div class="imageContainer" [ngStyle]="{\'background\': \'url(\' + product.product_image + \')\', \n \'width\': \'100%\', \'height\': \'150px\', \'background-position\': \'center\',\n \'background-size\': \'contain\', \'background-repeat\': \'no-repeat\' }">\n </div>\n <div class="product_name">\n {{ product.product_name }}\n </div>\n <div class="productData">\n <div class="quantity">\n Quanity: {{ product.pivot.quantity }}\n </div>\n <div class="price">\n Price: {{ product.pivot.quantity |currency:code}}\n </div>\n </div>\n </mat-card>\n </div>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef="orderDisplayedColumns"></tr>\n <tr mat-row *matRowDef="let order; columns: orderDisplayedColumns;" class="example-element-row"\n [class.example-expanded-row]="expandedElement === order"\n (click)="expandedElement = expandedElement === order ? null : order"></tr>\n <tr mat-row *matRowDef="let row; columns: [\'expandedDetail\']" class="example-detail-row"></tr>\n </table>\n \x3c!-- <mat-paginator [pageSizeOptions]="[5, 10, 25, 100]"></mat-paginator> --\x3e\n </section>\n\n <section class="noDataFoundSection" *ngIf="!orderList.length">\n <mat-icon width="unset" height="unset" id="noDataImage" svgIcon="noData"></mat-icon>
1\n <span>No Data Found</span>\n </section>\n</div>',animations:[(0,Rt.X$)("detailExpand",[(0,Rt.SB)("collapsed",(0,Rt.oB)({height:"0px",minHeight:"0"})),(0,Rt.SB)("expanded",(0,Rt.oB)({height:"*"})),(0,Rt.eR)("expanded <=> collapsed",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])],styles:[".mainContainer {\n display: grid;\n grid-template-rows: auto auto;\n}\n.mainContainer mat-tab-group .mat-tab-label-content {\n color: white;\n}\n.mainContainer .basketItems {\n display: flex;\n flex-direction: column;\n grid-column: span 2;\n}\n.mainContainer .basketItems span {\n font-family: Roboto;\n font-size: 20px;\n font-weight: 500;\n}\n.mainContainer .basketItems mat-expansion-panel {\n margin-top: 25px;\n}\n.mainContainer .basketItems mat-expansion-panel mat-expansion-panel-header mat-panel-title {\n font-family: Roboto;\n font-size: 20px;\n font-weight: 500;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 1em;\n gap: 1em;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos span.productInfo {\n font-size: 15px;\n font-weight: 300;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos span.infoValue {\n font-size: 15px;\n font-style: normal;\n font-weight: 500;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos span.infoValue#totalOrderPrice {\n font-weight: bold;\n color: #ff0000;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .companySelection {\n grid-column: span 2;\n display: flex;\n flex-direction: column;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .companySelection .companies {\n display: flex;\n flex-direction: row;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .companySelection .companies .companyCard {\n margin: 10px;\n width: 150px;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .companySelection .companies .companyCard:hover .selection {\n opacity: 1;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .companySelection .companies .companyCard.mat-elevation-z4 .selection {\n opacity: 1;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .companySelection .companies .companyCard.card-selected {\n border: 2px solid #283593;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .companySelection .companies .companyCard .selection {\n opacity: 0;\n cursor: pointer;\n color: #283593;\n background: #fff;\n position: absolute;\n right: -10px;\n top: -10px;\n border-radius: 100%;\n height: 24px;\n width: 24px;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .companySelection .companies .companyCard .companyInfos {\n display: flex;\n flex-direction: column;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .companySelection .companies .companyCard .companyInfos #companyName {\n font-size: 15px;\n font-family: Roboto;\n font-weight: 500;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .companySelection .companies .companyCard .companyInfos #companyLogisticPrice {\n font-size: 18px;\n font-family: Roboto;\n font-weight: 700;\n align-self: flex-end;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer {\n display: flex;\n flex-direction: column;\n grid-column: span 2;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer .mobileDisplay {\n display: flex;\n flex-direction: column;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer .mobileDisplay mat-card {\n margin-bottom: 5px;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer .mobileDisplay mat-card mat-card-title {\n display: flex;\n flex-direction: row;\n font-size: 18px;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer .mobileDisplay mat-card mat-card-title span {\n flex: 1;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer .mobileDisplay mat-card mat-card-content {\n display: grid;\n grid-template-columns: 120px auto;\n grid-gap: 0.5em;\n gap: 0.5em;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer .mobileDisplay mat-card mat-card-content .cardProductInfo {\n display: flex;\n flex-direction: column;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer .mobileDisplay mat-card mat-card-content .cardProductInfo .productDescription {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer .mobileDisplay mat-card mat-card-content .cardProductInfo .productQuantity {\n display: flex;\n flex-direction: row;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer .mobileDisplay mat-card mat-card-content .cardProductInfo .productQuantity span:nth-child(1) {\
1n flex: 1;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer .mobileDisplay mat-card mat-card-content .cardProductInfo .productPrice {\n display: flex;\n flex-direction: row;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer .mobileDisplay mat-card mat-card-content .cardProductInfo .productPrice span:nth-child(1) {\n flex: 1;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer table {\n margin: 15px 0 0px 0;\n width: 100%;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer table th {\n text-align: center;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer table td {\n max-width: 250px;\n overflow-wrap: break-word;\n white-space: normal;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer table td mat-icon {\n cursor: pointer;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer table .actionsContainer {\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n}\n.mainContainer .basketItems mat-expansion-panel .orderInfos .productsContainer #passOrder {\n margin-top: 10px;\n align-self: flex-end;\n}\n.mainContainer .orderList {\n display: flex;\n grid-column: span 2;\n flex-direction: column;\n margin-top: 60px;\n}\n.mainContainer .orderList span {\n font-family: Roboto;\n font-size: 25px;\n font-weight: 500;\n}\n.mainContainer .orderList .mobileOrderDisplay {\n margin: 15px 0 0px 0;\n}\n.mainContainer .orderList .mobileOrderDisplay mat-card {\n display: grid;\n grid-template-columns: auto auto;\n grid-gap: 0.5em;\n gap: 0.5em;\n margin-bottom: 8px;\n}\n.mainContainer .orderList .mobileOrderDisplay mat-card span {\n font-family: Roboto;\n font-size: 15px;\n}\n.mainContainer .orderList .mobileOrderDisplay mat-card span:nth-child(odd) {\n font-weight: 300;\n}\n.mainContainer .orderList .mobileOrderDisplay mat-card span:nth-child(even) {\n font-weight: 500;\n}\n.mainContainer .orderList table {\n margin: 15px 0 0px 0;\n width: 100%;\n}\n.mainContainer .orderList table td {\n max-width: 250px;\n overflow-wrap: break-word;\n white-space: normal;\n}\n.mainContainer .orderList table td mat-icon {\n cursor: pointer;\n}\n.mainContainer .orderList table .actionsContainer {\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n}\n.mainContainer .orderList table tr.example-detail-row {\n height: 0;\n}\n.mainContainer .orderList table tr.example-element-row:not(.example-expanded-row):active {\n background: #efefef;\n}\n.mainContainer .orderList table .example-element-row td {\n border-bottom-width: 0;\n}\n.mainContainer .orderList table .example-element-detail {\n overflow: hidden;\n display: flex;\n}\n.mainContainer .orderList table .example-element-diagram {\n min-width: 80px;\n border: 2px solid black;\n padding: 8px;\n font-weight: lighter;\n margin: 8px 0;\n height: 104px;\n}\n.mainContainer .orderList table .example-element-symbol {\n font-weight: bold;\n font-size: 40px;\n line-height: normal;\n}\n.mainContainer .orderList table .example-element-description {\n padding: 16px;\n}\n.mainContainer .orderList table .example-element-description-attribution {\n opacity: 0.5;\n}\n.mainContainer .orderList table .orderProducts {\n padding: 10px;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n}\n.mainContainer .orderList table .orderProducts mat-card {\n width: 200px;\n height: 250px;\n display: flex;\n margin: 5px;\n flex-direction: column;\n}\n.mainContainer .orderList table .orderProducts mat-card .product_name {\n font-family: Roboto;\n font-weight: 500;\n}\n.mainContainer .orderList table .orderProducts mat-card .productData {\n margin-top: auto;\n}\n.mainContainer .orderList table .orderProducts mat-card .productData .quantity {\n justify-content: flex-end;\n}\n.mainContainer .orderList table .orderProducts mat-card .productData .price {\n justify-content: flex-end;\n}\n.mainContainer .noDataFoundSection {\n display: flex;\n flex-direction: column;\n align-self: center;\n justify-content: center;\n}\n.mainContainer .noDataFoundSection span {\n text-align: center;\n}\n.mainContainer .noDataFoundSection mat-icon#noDataImage {\n align-self: center;\n width: 250px;\n height: 250px;\n}"]})],qu);let jb=class{constructor(t){this.basketService=t}ngOnInit(){this.getBasketItems(),this.updateBasketItems()}getBasketItems(){this.basketItems=this.basketService.getBasketItems()}updateBasketItems(){this.basketService.getUpdateTrigger().subscribe(t=>{this.getBasketItems()})}removeQte(t,e){t.quantity-(t.product.product_box?t.product.product_box:1)>0&&(t.quantity-=t.product.product_box?t.product.product_box:1,t.item_price-=(t.product.product_box?t.product.product_box:1)*t.product.product_price,this.basketService.updateBasketItems(t,e))}addQte(t,e){t.quantity+(t.product.product_box?t.product.product_box:1)<=t.product.quantity&&(t.quantity+=t.product.product_box?t.product.product_box:1,t.item_price=t.quantity*t.product.product_price,this.basketService.updateBasketItems(t,e))}removeItem(t){this.basketService.deleteFromBasket(t)}getPrice(t){return t.item_price}getQuantity(t){return t.quantity}};jb.ctorParameters=()=>[{type:Ac}],jb=(0,j.gn)([(0,m.wA2)({selector:"app-basket-widget",template:'<section class="basketContainer">\n\n <span style="border-bottom: 1px solid #eee; color: #333;">My Basket</span>\n <div class="basketItems">\n <cdk-virtual-scroll-viewport *ngIf="basketItems.length" [ngStyle]="{\'padding\': \'20px\'}" itemSize="50" class="example-viewport">\n \n\n\n HIIIIIIIIIIIIIIIIII\n HIIIIIIIIIIIIIIIIIIII\n </cdk-virtual-scroll-viewport>
1\n <span id="basketMsg" *ngIf="!basketItems.length">No Items in the Basket</span>\n </div>\n</section>',styles:[".basketContainer span {\n font-family: Roboto;\n padding: 5px;\n font-size: 20px;\n font-weight: 300;\n}\n.basketContainer .basketItems {\n display: flex;\n flex-direction: column;\n margin-top: 10px;\n overflow: hidden;\n}\n.basketContainer .basketItems .example-viewport {\n height: 350px;\n width: 450px;\n}\n.basketContainer .basketItems span#basketMsg {\n font-family: Roboto;\n font-size: 15px;\n font-weight: 300;\n}\n.basketContainer .basketItems mat-card {\n display: grid;\n grid-template-columns: 150px auto;\n grid-gap: 0.3em;\n gap: 0.3em;\n width: 450px;\n margin: 10px 0px 10px 0px;\n}\n.basketContainer .basketItems mat-card.basketCards {\n padding: 10px;\n}\n.basketContainer .basketItems mat-card.basketCards .itemData {\n display: flex;\n flex-direction: column;\n}\n.basketContainer .basketItems mat-card.basketCards .itemData .product_name {\n max-width: 100%;\n font-family: Roboto;\n font-weight: 500;\n font-size: 18px;\n white-space: pre-line;\n}\n.basketContainer .basketItems mat-card.basketCards .itemData .product_name::before {\n white-space: pre;\n}\n.basketContainer .basketItems mat-card.basketCards .itemData .product_price {\n flex: 1;\n font-family: Roboto;\n font-size: 18px;\n font-weight: 500;\n}\n.basketContainer .basketItems mat-card.basketCards .itemData .product_price span {\n font-family: Roboto;\n font-size: 15px;\n font-weight: 300;\n}\n.basketContainer .basketItems mat-card.basketCards .itemData .quantity {\n display: flex;\n flex-direction: row;\n}\n.basketContainer .basketItems mat-card.basketCards .itemData .quantity span {\n font-size: 15px;\n font-family: Roboto;\n flex: 1;\n color: #41a8c5;\n}\n.basketContainer .basketItems mat-card.basketCards .itemData .quantity .quantityContainer {\n display: flex;\n flex-direction: row;\n align-self: center;\n justify-content: space-evenly;\n}\n.basketContainer .basketItems mat-card.basketCards .itemData .quantity .quantityContainer mat-icon {\n align-self: center;\n}\n.basketContainer .basketItems mat-card .product_image {\n width: 150px;\n height: 150px;\n}"]})],jb);var Gf=F(49200);let Gb=class{constructor(t,e,a,r,i,o,s){this.data=t,this.router=e,this.dialog=a,this.snackbar=r,this.shopManagerService=i,this.translate=o,this.dialogRef=s}ngOnInit(){this.currentChain=this.dialogRef.componentInstance.data,this.onGetShopManagersList()}onAssignManager(t,e){}onGetShopManagersList(){return this.shopManagerService.getShopMangerList().subscribe(t=>{this.managers=t,this.managersData=this.managers.data},t=>{console.log(t)})}redirectTo(t){this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>this.router.navigate([t]))}submit(t,e){return this.shopManagerService.assignRelation(t,e).subscribe(a=>{this.router.navigate(["shop/chains-list"]),this.dialog.closeAll(),this.snackbar.open("Chinese"===this.translate.currentLang?"\u5e97\u94fa\u7ecf\u7406\u5df2\u6210\u529f\u6dfb\u52a0":"Italian"===this.translate.currentLang?"Manager assegnato con successo":"Manager Assigned Successfully","",{duration:2e3})},a=>{console.log(a)})}};Gb.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]},{type:It.F0},{type:St.uw},{type:We.ux},{type:Gf.S},{type:Y.sK},{type:St.so}],Gb=(0,j.gn)([(0,m.wA2)({selector:"app-add-chain-assign-manager",template:'<form>\n\n\n <h4>Assign Manager to {{currentChain.chain_name}}</h4>\n <mat-form-field appearance="fill">\n <mat-label>Select Manager</mat-label>\n <mat-select #manager_id>\n <mat-option *ngFor="let manager of managersData" [value]="manager.id">{{manager.email}}</mat-option>\n </mat-select>\n </mat-form-field>\n <br>\n\n <div style="margin-top: 30px;">\n <button mat-raised-button color="primary" style="margin-right:10px" (click)="submit(currentChain.id, manager_id.value)">Submit</button>\n <button mat-raised-button mat-dialog-close>Close</button>\n\n </div>\n \n\n\n\n</form> \n ',styles:[""]})],Gb);var $8=F(94585);let Kb=class{constructor(t,e,a,r,i,o,s){this.data=t,this.router=e,this.translate=a,this.dialog=r,this.snackbar=i,this.shopManagerService=o,this.dialogRef=s}ngOnInit(){this.currentChain=this.dialogRef.componentInstance.data,this.onGetShopManagersList()}onGetShopManagersList(){return this.shopManagerService.getShopMangerList().subscribe(t=>{this.managers=t,this.managersData=this.managers.data},t=>{console.log(t)})}redirectTo(t){this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>this.router.navigate([t]))}submit(t,e){return this.shopManagerService.assignRelation(t,e).subscribe(a=>{this.router.navigate(["shop/chains-list"]),this.dialog.closeAll(),this.snackbar.open("Chinese"===this.translate.currentLang?"\u5e97\u94fa\u7ecf\u7406\u5df2\u6210\u529f\u6dfb\u52a0":"Italian"===this.translate.currentLang?"Manager assegnato con successo":"Manager Updated Successfully","",{duration:2e3})},a=>{console.log(a)})}};Kb.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}
1,{type:It.F0},{type:Y.sK},{type:St.uw},{type:We.ux},{type:Gf.S},{type:St.so}],Kb=(0,j.gn)([(0,m.wA2)({selector:"app-update-chain-assign-manager",template:'<form>\n\n\n <h4>Update Manager of {{currentChain.chain_name}}</h4>\n\n <mat-form-field appearance="fill">\n <mat-label>Select Manager</mat-label>\n <mat-select #manager_id>\n <mat-option *ngFor="let manager of managersData" [value]="manager.id">{{manager.email}}</mat-option>\n </mat-select>\n </mat-form-field>\n <br>\n\n <div style="margin-top: 30px;">\n <button mat-raised-button color="primary" style="margin-right:10px" (click)="submit(currentChain.id, manager_id.value)">Submit</button>\n <button mat-raised-button mat-dialog-close>Close</button>\n\n </div>\n \n\n\n\n</form> \n ',styles:[""]})],Kb);let Wb=class{constructor(){}ngOnInit(){}};Wb.ctorParameters=()=>[],Wb=(0,j.gn)([(0,m.wA2)({selector:"app-comming-soon",template:'<style>\n body, html {\n height: 100%;\n margin: 0;\n }\n \n .bgimg {\n background-image: url(\'/w3images/forestbridge.jpg\');\n height: 100%;\n background-position: center;\n background-size: cover;\n position: relative;\n color: white;\n font-family: "Courier New", Courier, monospace;\n font-size: 25px;\n }\n \n .topleft {\n position: absolute;\n top: 0;\n left: 16px;\n }\n \n .bottomleft {\n position: absolute;\n bottom: 0;\n left: 16px;\n }\n \n .middle {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n text-align: center;\n }\n \n hr {\n margin: auto;\n width: 40%;\n }\n </style>\n <body>\n \n <div class="bgimg">\n <div class="topleft">\n <p>Logo</p>\n </div>\n <div class="middle">\n <h1>COMING SOON</h1>\n <hr>\n <p>35 days left</p>\n </div>\n <div class="bottomleft">\n <p>Some text</p>\n </div>\n </div>\n \n </body>',styles:[""]})],Wb);var Sr=F(60606);let Hu=class{constructor(t,e,a,r,i){this.fundsS2cService=t,this.translate=e,this.dialogRef=a,this.message=r,this.data=i,this.formDataSource=[]}ngOnInit(){this.data||(this.data={}),console.log("data:",this.data),this.formDataSource=[{translateKey:"Payment-Method-Name",ke
1y:"name",type:"input",icon:"mode_edit",value:this.data?.name},{translateKey:"Days",key:"days",type:"input",inputType:"number",icon:"mode_edit",value:this.data?.days},{type:"chainSelect",key:"chain_id",value:this.data?.chain_id,rules:[{message:""}]}]}handleSubmit(t){this.data.id?this.fundsS2cService.editPaymentMethod(t,this.data.id).subscribe(e=>{this.message.success(this.translate.instant("payment_method_successfully_updated")),this.dialogRef.close()},e=>{console.log(e)}):this.fundsS2cService.addPaymentMethod(t).subscribe(e=>{this.dialogRef.close(),this.message.success(this.translate.instant("payment_method_successfully_added"))},e=>{console.log(e)})}cancel(){this.dialogRef.close()}};Hu.ctorParameters=()=>[{type:Sr.e},{type:Y.sK},{type:St.so},{type:ne.I},{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}],Hu=(0,j.gn)([(0,m.wA2)({selector:"app-add-payment-method",template:'<div mat-dialog-content>\n <div class="w-100 d-flex justify-content-end">\n <button mat-icon-button [mat-dialog-close]="false">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <app-common-form (onSubmit)="handleSubmit($event)" [dataSource]="formDataSource"></app-common-form>\n</div>\n',styles:[".example-container {\n width: 100%;\n position: relative;\n}\n\nmat-form-field {\n width: 100%;\n}"]})],Hu);let Kf=class{constructor(t,e,a,r,i,o){this.fundsS2cService=t,this.translate=e,this.dialog=a,this.message=r,this.router=i,this.dialogService=o,this.dataSource=[],this.columns=[{type:"text",key:"name",translationKey:"common_attributeName"},{type:"text",key:"days",translationKey:"Days"},{type:"actions",key:"actions",translationKey:"",list:["edit","delete"]}],this.componentName="s2cPaymentMethods",this.formDataSource=[{type:"chainSelect",key:"chain_id"}]}ngOnInit(){this.getPaymentMethodList()}getPaymentMethodList(t){this.fundsS2cService.getPaymentMethod(t).subscribe(e=>{this.dataSource=e.data},e=>{console.log(e)})}handleAdd(){this.dialog.open(Hu).afterClosed().subscribe(e=>{this.getPaymentMethodList()})}handleSubmit(t){this.getPaymentMethodList(t.chain_id)}handleBtnClick({item:t,type:e}){"edit"===e&&this.dialog.open(Hu,{data:t}).afterClosed().subscribe(r=>{this.getPaymentMethodList()}),"delete"===e&&this.dialogService.confirmDialog({title:this.translate.instant("common_delete_title"),message:this.translate.instant("common_delete_message"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&this.fundsS2cService.deletePaymentMethod(t.id).subscribe(r=>{this.message.success(this.translate.instant("payment_method_delete_success")),this.getPaymentMethodList()},r=>{console.log(r)})})}};Kf.ctorParameters=()=>[{type:Sr.e},{type:Y.sK},{type:St.uw},{type:ne.I},{type:It.F0},{type:Bn.x}],Kf=(0,j.gn)([(0,m.wA2)({selector:"app-payment-methods",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-list-table \n (onAddClick)="handleAdd()" \n [dataSource]="dataSource" \n [columns]="columns"\n [uniqueTableKey]="componentName" \n (onBtnClick)="handleBtnClick($event)" \n [formColumn]="formDataSource"\n (onSubmit)="handleSubmit($event)"\n [isCustomSubmit]="true"\n [isAutoPages]="true">\n </app-common-search-list-table>\n</div>\n\n',styles:["table {\n width: 100%;\n}\ntable th,\ntable td {\n overflow: hidden;\n width: 150px;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.bt-date-submit {\n color: white;\n padding: 10px;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n.bt-act-revenu {\n display: flex;\n margin-bottom: 3%;\n margin-top: 2%;\n float: right;\n}"]})],Kf);var vn=F(19968);var Wf=F(79822),lk=F(61709);let Jf=class{constructor(t){this.dialogRef=t,this.formDataSource=this.initFormData({})}ngOnInit(){}initFormData(t={}){return[{type:"input",key:"barcode",translateKey:"common_productBarcode",placeholder:"imagePropertiesComponent_barcodeHint",value:t.barcode},{type:"input",key:"keyword",translateKey:"common_keyword",placeholder:"imagePropertiesComponent_keywordHint",value:t.adress}]}onSubmit(t){this.dialogRef.close(t)}};Jf.ctorParameters=()=>[{type:St.so}],Jf=(0,j.gn)([(0,m.wA2)({selector:"app-image-properties",template:'<app-common-form [columns]="1" (onSubmit)="onSubmit($event)" [dataSource]="formDataSource"></app-common-form>\n',styles:[""]})],Jf);let Zf=class{constructor(t,e,a,r,i){this.dialogRef=t,this.imagesService=e,this.translate=a,this.message=r,this.data=i,this.formDataSource=[],this.type=1}basename(t){return t?t.split("/").reverse()[0]:""}
1ngOnInit(){this.data||(this.data={});try{this.formDataSource=[{type:"file",key:"file",value:this.basename(this.data.path)||""}]}catch(t){console.error(t)}}handleSubmit(t){const e=new FormData;t.file&&e.append("file",t.file,t.file.name),this.type&&e.append("type",this.type.toString()),this.imagesService.uploadMultipleImages(e).subscribe(a=>{200==a.code?(this.dialogRef.close("success"),this.message.success(this.translate.instant("upload success"))):this.message.error(a.msg,{duration:8e3})},a=>{console.log(a)})}};Zf.ctorParameters=()=>[{type:St.so},{type:Wf.C},{type:Y.sK},{type:ne.I},{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}],Zf=(0,j.gn)([(0,m.wA2)({selector:"app-upload-images",template:'<div mat-dialog-content>\n <div class="w-100 d-flex justify-content-end">\n <button mat-icon-button [mat-dialog-close]="false">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <div class="explanation" innerHtml="{{ \'uploadImages_explanation\' | translate }}"></div>\n \n<div>\n <mat-radio-group class="bt-radio" style=" pointer-events: auto;" aria-label="Select an option" [(ngModel)]="type" name="type">\n <mat-radio-button [value]="1">{{"Product Barcode"|translate}}</mat-radio-button>
1\n <mat-radio-button [value]="2"> {{"product_number"|translate}} </mat-radio-button>\n <mat-radio-button [value]="3"> {{"shelf_number"|translate}} </mat-radio-button>\n </mat-radio-group>\n</div> \n <app-common-form [dataSource]="formDataSource" (onSubmit)="handleSubmit($event)"></app-common-form>\n</div>\n',styles:[".explanation ul {\n list-style-type: disc !important;\n padding-left: 1em !important;\n margin-left: 1em;\n}"]})],Zf);let Ti=class{constructor(t,e,a,r,i,o,s,l){this.imageService=t,this.translate=e,this.dialogRef=a,this.data=r,this.sanitizer=i,this.dialogService=o,this.message=s,this.dialog=l,this.isDialog=!1,this.files=[],this.showImage=!1,this.gallerayImages=[],this.formDataSource=[{type:"input",translateKey:"common_productBarcode",placeholder:"common_productBarcode",key:"barcode"},{type:"input",translateKey:"common_keyword",placeholder:"common_keyword",key:"keyword"}],this.pageInfo={page:1,pageSize:20,total:0},this.isLoading=!0,this.searchParams={},this.otherImages=[],this.isBottomLoad=!1,this.data&&null!=this.data.isDialog&&(this.isDialog=this.data.isDialog)}ngOnInit(){this.getGalleryImage(),document.querySelector(".s2c-dashboard-shop").addEventListener("scroll",t=>{if(t.currentTarget.scrollTop+t.currentTarget.clientHeight>t.currentTarget.scrollHeight-20&&!this.isBottomLoad){if(this.pageInfo.pageSize*this.pageInfo.page>this.pageInfo.total)return void(this.isLoading=!1);this.pageInfo.page=this.pageInfo.page+1,this.getGalleryImage()}})}ngOnDestroy(){document.querySelector(".s2c-dashboard-shop").removeEventListener("scroll",()=>{})}getGalleryImage(){this.isLoading=!0,this.isBottomLoad=!0;const t={...this.searchParams,page:this.pageInfo.page,rows:this.pageInfo.pageSize};this.imageService.getProductsGallery(t).subscribe(e=>{this.isLoading=!1,this.isBottomLoad=!1,1===this.pageInfo.page?(this.gallerayImages=e.data,this.otherImages=[]):this.gallerayImages=[...this.gallerayImages.concat(...e.data)],this.pageInfo.total=e.total},e=>{console.log(e)})}filesDropped(t){t.length>0&&(this.files=t,this.selectedFile=this.files[0],this.showImage=!0)}getFileChange(t){if(t.target.files.length>0){const e=t.target.files[0],a=this.sanitizer.bypassSecurityTrustUrl(window.URL.createObjectURL(e));this.files=[{file:e,url:a}],this.selectedFile=this.files[0],this.showImage=!0}}uploadClick(){document.querySelector('input[type="file"]').click()}onAddGalleryImage(t){t.preventDefault(),t.stopImmediatePropagation(),this.dialog.open(Jf).afterClosed().subscribe(e=>{let a=new FormData;a.append("product_image",this.selectedFile.file),e.barcode&&a.append("barcode",e.barcode),e.keyword&&a.append("keyword",e.keyword),this.imageService.addProductGallery(a).subscribe(r=>{"success"===r.msg?(this.message.success(this.translate.instant("common_add_success")),this.files=[],this.selectedFile=null,this.showImage=!1,this.getGalleryImage()):this.message.error(JSON.stringify(r.data))},r=>{console.log(r)})})}deleteImage(t,e){e.preventDefault(),e.stopImmediatePropagation();let a={title:this.translate.instant("common_delete_title"),message:this.translate.instant("common_delete_message"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")};this.dialogService.confirmDialog(a).pipe((0,lk.zg)(r=>{if(r)return this.imageService.deleteProductGalleryById(t)})).subscribe(r=>{"success"===r.msg?(this.message.success(this.translate.instant("common_delete_success")),this.getGalleryImage()):this.message.error(JSON.stringify(r.data))},r=>{console.log(r)})}chooseImage(t){this.dialogRef.close(t)}close(){this.dialogRef.close()}handleSubmit(t){this.searchParams=t,this.pageInfo.page=1,this.getGalleryImage()}handleReset(){this.searchParams={},this.pageInfo.page=1,this.getGalleryImage()}handleUploadClick(){this.dialog.open(Zf,{autoFocus:!1,maxHeight:"98vh",width:"400px"}).afterClosed().subscribe(t=>{"success"===t&&this.getGalleryImage()})}};Ti.ctorParameters=()=>[{type:Wf.C},{type:Y.sK},{type:St.so},{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]},{type:ct.H7},{type:Bn.x},{type:ne.I},{type:St.uw}],Ti=(0,j.gn)([(0,m.wA2)({selector:"app-images-gallery",template:'<ng-template #contentTemplate>\n <app-common-search-field-form [formColumn]="formDataSource" (onSubmit)="handleSubmit($event)" [isShowUpload]="true" (onUploadClick)="handleUploadClick()"\n (onReset)="handleReset()"></app-common-search-field-form>\n <div class="row mt-3">\n <div class="col-12 col-md-4 col-lg-3 mb-4">\n <div class="card w-100 clickable uploadCard" appDragAndDrop (files)="files
1Dropped($event)"\n (click)="uploadClick()">\n <img [src]="selectedFile.url" *ngIf="showImage" class="card-img-top uploadImage">\n <div class="card-body"\n [ngClass]="{\'p-2\': showImage, \'d-flex\': showImage, \'flex-column\': showImage, \'justify-content-end\': showImage}">\n <input class="none" accept=\'image/*\' type="file" name="product_image" (change)="getFileChange($event)"\n hidden />\n <div *ngIf="!showImage" class="card-title text-muted">{{\'imageGalleryComponent_selectImage\'| translate }}\n </div>\n <span *ngIf="!showImage" class="w-100 text-center text-muted">{{\'imageGalleryComponent_uploadImage\' |\n translate }}</span>\n <div class="w-100 d-flex justify-content-end">\n <button *ngIf="showImage" class="btn btn-primary m-2" (click)="onAddGalleryImage($event)">\n {{"common_upload"|translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="col-12 col-md-4 col-lg-3 mb-4" *ngFor="let image of gallerayImages">\n <div class="card w-100 clickable uploadCard" (click)="chooseImage(image)">\n <img [src]="image.img_url" class="card-img showImage h-100">\n <div class="card-img-overlay p-2 d-flex flex-column justify-content-end">\n <div class="w-100 d-flex justify-content-end">\n <button mat-mini-fab color="warn" (click)="deleteImage(image.id, $event)">\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="col-12 col-md-4 col-lg-3 mb-4" *ngFor="let image of otherImages">\n <div class="card w-100 clickable uploadCard" (click)="chooseImage(image)">\n <img [src]="image.img_url" class="card-img showImage h-100">\n <div class="card-img-overlay p-2 d-flex flex-column justify-content-end">\n <div class="w-100 d-flex justify-content-end">\n <button mat-mini-fab color="warn" (click)="deleteImage(image.id, $event)">\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n <div class="image-loading_warp" *ngIf="isLoading">\n <mat-spinner [diameter]="30"></mat-spinner> {{"common_loading"|translate}}\n </div>\n <div class="image-loading_warp" *ngIf="!isLoading">\n {{"common_noMoreData"|translate}}\n </div>\n</ng-template>\n\n<div *ngIf="isDialog" mat-dialog-content>\n <div *ngIf="isDialog" class="w-100 d-flex justify-content-end">\n <button mat-icon-button [mat-dialog-close]="false">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <ng-container *ngTemplateOutlet="contentTemplate"></ng-container>\n</div>\n\n<div class="container-fluid" *ngIf="!isDialog">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <ng-container *ngTemplateOutlet="contentTemplate"></ng-container>\n</div>\n',styles:[".uploadCard {\n height: 220px;\n}\n\n.uploadImage {\n max-height: 155px;\n object-fit: contain;\n}\n\n.showImage {\n object-fit: contain;\n}\n\n.card {\n background-color: #fff;\n border-radius: 0.5rem;\n width: 90%;\n}\n\n.card .card-body {\n padding: 3.5rem 1.25rem;\n}\n\n.card .card-body .card-title {\n color: #cacaca;\n font-size: 1.25rem;\n font-weight: 700;\n text-align: center;\n margin-bottom: 0.25rem;\n}\n\n.card .card-body .card-subtitle {\n color: #777;\n font-weight: 500;\n text-align: center;\n}\n\n.image-loading_warp {\n display: flex;\n justify-content: center;\n align-items: center;\n}"]})],Ti);let Bu=class{constructor(t,e,a,r,i,o,s,l,c,d,u,h){this.supplierService=t,this.chainService=e,this.orderService=a,this.route=r,this.fundsS2cService=i,this._snackBar=o,this.dialogRef=s,this.datepipe=l,this.dialog=c,this.imageService=d,this.formBuilder=u,this.translate=h,this.clickedPart=!1,this.clicked=!1,this.divs=[],this.funds=[],this.cumul=0,this.dataSourceImage=[],this.formData=new FormData}ngOnInit(){this.onGetSuppliersList(),this.onGetChainList(),this.onGetPaymentMeth()}toFormData(t){const e=new FormData;for(const a of Object.keys(t)){const r=t[a];e.append(a,r)}return e}onGetSuppliersList(){return this.supplierService.getSuppliersListS2C().subscribe(t=>{this.suppliersList=t,this.suppliersData=this.suppliersList.data},t=>{console.log(t)})}createDiv(t){this.rslt=t,this.divs.push({image:"",clicked:!0})}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data},t=>{console.log(t)})}onGetPaymentMeth(t){return(0==t||!t)&&(t=""),this.fundsS2cService.getPaymentMethod(t).subscribe(e=>{this.paymentList=e,this.paymentData=this.paymentList.data},e=>{console.log(e)})}onAddPartFunds(t,e,a,r,i,o,s,l,c,d){if(t&&e&&a&&o&&s&&l&&c&&d){if(this.rslt=this.rslt-t,0===this.rslt){var u={amount:t,start_date:r,payment_method_id:a,status:e,img_url:i,img_name:""};this.funds.push(u),this.onAddFunds(o,s,l,c,d)}if(0!=this.rslt){u={amount:t,start_date:r,payment_method_id:a,status:e,img_url:i,img_name:""};
1this.funds.push(u),this.divs.forEach(f=>{f.clicked=!1}),this.divs.push({image:"",clicked:!0})}}else alert("please insert the required inputs")}onAddFunds(t,e,a,r,i){var o={amount:t,chain_id:e,supplier_id:a,funds:this.funds,tax_rate:r,order_date:i};this.fundsS2cService.addFundsParts(o).subscribe(s=>{this._snackBar.open("Chinese"===this.translate.currentLang?"\u8d44\u91d1\u5df2\u6210\u529f\u6dfb\u52a0":"Italian"===this.translate.currentLang?"Fondi aggiunti con successo":"Funds Successfully Added","",{duration:1e3}),this.route.navigate(["/shop/purchased-funds"])},s=>{console.log(s)})}cancel(){this.dialogRef.close()}getFileChange(t){const e=this.resultInput.nativeElement;if(t.target.files.length>0){const a=t.target.files[0];e.value=a.name,this.form.get("fund_image").setValue(a),this.formData.append("fund_image",this.form.get("fund_image").value)}}openGallery(t){this.dialog.open(Ti,{}).afterClosed().subscribe(a=>{this.imageId=a,this.imageService.getProductGalleryById(this.imageId).subscribe(r=>{this.galleryImage=r,this.divs[t].image=this.galleryImage.data.img_url})})}};Bu.ctorParameters=()=>[{type:vn.e},{type:Oe.l},{type:bn.C},{type:It.F0},{type:Sr.e},{type:We.ux},{type:St.so},{type:Q.uU},{type:St.uw},{type:Wf.C},{type:V.qu},{type:Y.sK}],Bu.propDecorators={resultInput:[{type:m.i9L,args:["resultInput"]}]},Bu=(0,j.gn)([(0,m.wA2)({selector:"app-shop-add-fund",template:'<div class="containeFund">\n\n\n\n <table class="fund">\n <tr>\n <th scope="col">{{"amount" | translate}}</th>\n <th scope="col">{{"Suppliers" | translate}}</th>\n <th scope="col">{{\'Chain\' | translate}}</th>\n <th scope="col">{{\'Order Date\' | translate}}</th>\n <th scope="col">{{\'taxe_rate\' | translate}}</th>\n\n <th scope="col">Parts</th>\n\n\n\n </tr>\n\n <tr>\n <td>\n <mat-form-field appearance="legacy">\n <mat-label>{{"amount" | translate}}</mat-label>\n <input matInput #amount type="number">\n </mat-form-field>\n </td>\n <td>\n <mat-form-field appearance="legacy">\n <mat-label>{{"Suppliers" | translate}}</mat-label>\n <mat-select #supplier_id>\n <mat-option value=0 selected>None</mat-option>\n <mat-option *ngFor="let supp of suppliersData" [value]="supp.id">\n {{supp.supplier_name}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </td>\n\n <td>\n <mat-form-field appearance="legacy" class="example-full-width">\n\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain_id>\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}</mat-option>\n </mat-select>\n </mat-form-field>\n\n </td>\n <td>\n <mat-form-field appearance="legacy" class="example-full-width">\n <mat-label>{{"Order Date"| translate}}\n </mat-label>\n <input matInput #order_date type="date">\n </mat-form-field>\n </td>\n <td>\n <mat-form-field appearance="legacy" class="example-full-width">\n <mat-label>{{\'taxe_rate\' | translate}}</mat-label>\n <mat-select #tax_rate>\n <mat-option value=1>1</mat-option>\n <mat-option value=2>2</mat-option>\n <mat-option value=3>3</mat-option>\n <mat-option value=4>4</mat-option>\n <mat-option value=5>5</mat-option>\n <mat-option value=6>6</mat-option>\n <mat-option value=7>7</mat-option>\n <mat-option value=8>8</mat-option>\n <mat-option value=9>9</mat-option>\n <mat-option value=10>10</mat-option>\n <mat-option value=11>11</mat-option>\n <mat-option value=12>12</mat-option>\n <mat-option value=13>13</mat-option>\n <mat-option value=14>14</mat-option>\n <mat-option value=15>15</mat-option>\n <mat-option value=16>16</mat-option>\n <mat-option value=17>17</mat-option>\n <mat-option value=18>18</mat-option>\n <mat-option value=19>19</mat-option>\n <mat-option value=20>20</mat-option>\n <mat-option value=21>21</mat-option>\n <mat-option value=22>22</mat-option>\n <mat-option value=23>23</mat-option>\n <mat-option value=24>24</mat-option>\n <mat-option value=25>25</mat-option>\n <mat-option value=26>26</mat-option>\n <mat-option value=27>27</mat-option>\n <mat-option value=28>28</mat-option>\n <mat-option value=29>29</mat-option>\n <mat-option value=30>30</mat-option>\n\n </mat-select>\n </mat-form-field>\n </td>\n\n <td>\n <button mat-icon-button (click)="createDiv(amount.value) ; clickedPart = true;" [disabled]="clickedPart"><i\n class="material-icons icon-green" style="color:#a00000;">\n add_circle_legacy\n </i>\n </button>\n </td>\n\n\n </tr>\n </table>\n <div class="row">\n\n <div class="col-6 mb-3" *ngFor="let div of divs ,let i = index" id="div{{div}}">\n <mat-expansion-panel [expanded]="true">\n <mat-expansion-panel-header>\n <mat-panel-title>\n Part {{i + 1}} </mat-panel-title>\n\n </mat-expansion-panel-header>\n\n <mat-form-field appearance="legacy" style="width: 33%;margin-right: 1%;">\n <mat-label>{{"amount" | translate}}</mat-label>\n <input matInput type="number" #amount_part [value]="i == 0 ? amount.value :\'\'">\n </mat-form-field>\n <mat-form-field appearance="legacy" style="width: 33%;margin-right: 1%;">\n <mat-label>{{\'Payment-method\'| translate}}</mat-label>\n <mat-select #payment_method_id>\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let pay of paymentData" [value]="pay.id">{{pay.name}} -\n {{pay.days}}\n Days\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <mat-form-field appearance="legacy" style="width: 31%;margin-right: 1%;">\n <mat-label>
1{{"Start-date"| translate}}\n </mat-label>\n <input matInput #start_date type="date">\n </mat-form-field>\n\n\n <mat-form-field appearance="legacy" class="example-full-width">\n <mat-label>{{"Status" | translate}}</mat-label>\n <mat-select #status>\n <mat-option value="paid">{{\'Paid\'|translate}}</mat-option>\n <mat-option value="not paid">{{\'Not paid\'|translate}}</mat-option>\n <mat-option value="cancelled">{{\'Cancel\'|translate}}</mat-option>\n </mat-select>\n </mat-form-field>\n <div class="file-upload" (click)="openGallery(i)">\n <input matInput class="file-input" type="text" #resultInput readonly>\n\n <img [src]="div.image" *ngIf="div.image" #image height="100" width="100">\n\n <div *ngIf="!div.image" class="card-subtitle">{{"Choose your Image here"|translate}}</div>\n </div>\n <button class="btn btn-primary mt-3" [disabled]="!div.clicked"\n (click)="onAddPartFunds(amount_part.value,status.value,payment_method_id.value ,start_date.value,div.image,amount.value , chain_id.value, supplier_id.value , tax_rate.value ,order_date.value); clicked = true;"\n style="margin-right:20px; float: right;">{{\'Add\' |\n translate}}</button>\n\n </mat-expansion-panel>\n </div>\n </div>\n</div>\n',styles:['.file-upload {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n padding: 5%;\n /* margin-top: 2rem; */\n border: 2px dashed #cacaca;\n border-radius: 0.5rem;\n transition: background-color 0.25s ease-out;\n height: 80%;\n}\n.file-upload:hover {\n background-color: #dbedff;\n}\n.file-upload .file-input {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n outline: none;\n cursor: pointer;\n}\ncaption {\n padding: 10px;\n caption-side: bottom;\n}\n.fund {\n width: 100%;\n border-collapse: collapse;\n letter-spacing: 1px;\n font-family: "Poppins";\n color: black;\n font-size: 0.8rem;\n border-left: none;\n border-right: none;\n}\n.containeFund {\n padding: 2%;\n}\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n.pagination-in .page-item.active .page-link {\n z-index: 3;\n color: #fff;\n background-color: rgba(184, 33, 38, 0.986);\n border-color: rgba(184, 33, 38, 0.986);\n}\n.pagination-in .page-link {\n color: rgba(184, 33, 38, 0.986);\n}\n.fund > tr > td,\nth {\n width: 12%;\n border: 1px solid #bebebe;\n padding: 10px;\n border-left: none;\n border-right: none;\n}\n.fund > tr > td {\n text-align: center;\n border: none !important;\n}\n.fund > tr > th[scope=col] {\n background-color: #cacaca;\n color: black;\n text-align: center;\n border: 1px solid #cacaca;\n border-left: none;\n border-right: none;\n}\n.input-container {\n /* IE10 */\n display: flex;\n width: 100%;\n}\n.icon {\n padding: 10px;\n /* background: dodgerblue; */\n color: #a9a9a9;\n width: 50px;\n text-align: center;\n font-size: 20px;\n}\n.input-field {\n width: 100%;\n padding: 10px;\n outline: none;\n}\n.parts {\n margin-top: 5%;\n}\n.parts-table {\n width: 40%;\n margin: 2%;\n margin-top: 5%;\n}\n.parts > td, th {\n border: 1px solid #bebebe;\n border-left: none;\n border-right: none;\n width: 10%;\n}\n.parts > td {\n text-align: center;\n border: none !important;\n}\n.part_fund {\n width: 45%;\n margin-right: 2%;\n}\n.part {\n width: 100%;\n border-collapse: collapse;\n letter-spacing: 1px;\n font-family: "Poppins";\n color: black;\n font-size: 0.8rem;\n border-left: none;\n border-right: none;\n}']})],Bu);let yc=class{constructor(t,e,a,r,i,o,s){this.route=t,this.fundsS2cService=e,this.datepipe=a,this.routerAct=r,this.translate=i,this.dialog=o,this.message=s,this.currentId="",this.formDataSource=[{type:"input",translateKey:"Amount",key:"amount",inputType:"number",rules:[{message:""}]},{type:"supplierSelect",key:"supplier_id",isShowAll:!1,rules:[{message:""}]},{type:"chainSelect",key:"chain_id",isShowAll:!1,rules:[{message:""}]}
1,{type:"dateTime",key:"order_date",translateKey:"Order Date",rules:[{message:""}]},{type:"select",key:"tax_rate",translateKey:"taxe_rate",rules:[{message:""}],options:[{label:"1",value:"1"},{label:"2",value:"2"},{label:"3",value:"3"},{label:"4",value:"4"},{label:"5",value:"5"},{label:"6",value:"6"},{label:"7",value:"7"},{label:"8",value:"8"},{label:"9",value:"9"},{label:"10",value:"10"},{label:"11",value:"11"},{label:"12",value:"12"},{label:"13",value:"13"},{label:"14",value:"14"},{label:"15",value:"15"},{label:"16",value:"16"},{label:"17",value:"17"},{label:"18",value:"18"},{label:"19",value:"19"},{label:"20",value:"20"},{label:"21",value:"21"},{label:"22",value:"22"},{label:"23",value:"23"},{label:"24",value:"24"},{label:"25",value:"25"},{label:"26",value:"26"},{label:"27",value:"27"},{label:"28",value:"28"},{label:"29",value:"29"},{label:"30",value:"30"}]}],this.paymentData=[],this.subFunds=[{amount:"",payment_method_id:0,start_date:"",status:"",img_url:"",img_name:""}],r.params.subscribe(l=>{this.currentId=l.id})}ngOnInit(){this.getPaymentMeth(),this.currentId&&this.getFundById()}getFundById(){return this.fundsS2cService.getPurchasedFundById(this.currentId).subscribe(t=>{this.subFunds=t.data.sub_funds,this.formDataSource=[{type:"input",translateKey:"Amount",key:"amount",value:t.data.amount,inputType:"number"},{type:"supplierSelect",key:"supplier_id",value:t.data.supplier.id,isShowAll:!1},{type:"chainSelect",key:"chain_id",value:t.data.chain_id,isShowAll:!1},{type:"dateTime",key:"order_date",value:t.data.order_date,translateKey:"Order Date"},{type:"select",key:"tax_rate",value:t.data.tax_rate+"",translateKey:"taxe_rate",options:[{label:"1",value:"1"},{label:"2",value:"2"},{label:"3",value:"3"},{label:"4",value:"4"},{label:"5",value:"5"},{label:"6",value:"6"},{label:"7",value:"7"},{label:"8",value:"8"},{label:"9",value:"9"},{label:"10",value:"10"},{label:"11",value:"11"},{label:"12",value:"12"},{label:"13",value:"13"},{label:"14",value:"14"},{label:"15",value:"15"},{label:"16",value:"16"},{label:"17",value:"17"},{label:"18",value:"18"},{label:"19",value:"19"},{label:"20",value:"20"},{label:"21",value:"21"},{label:"22",value:"22"},{label:"23",value:"23"},{label:"24",value:"24"},{label:"25",value:"25"},{label:"26",value:"26"},{label:"27",value:"27"},{label:"28",value:"28"},{label:"29",value:"29"},{label:"30",value:"30"}]}]},t=>{console.log(t)})}getPaymentMeth(t){return(0==t||!t)&&(t=""),this.fundsS2cService.getPaymentMethod(t).subscribe(e=>{this.paymentData=e.data},e=>{console.log(e)})}handleSubmit(){const t=this.myForm.handleSubmit(),e={funds:this.subFunds,...t};this.currentId?this.fundsS2cService.editPurchasedFundNew(e,this.currentId).subscribe(a=>{0!==a.code?(this.route.navigate(["shop/finance/payable"]),this.message.success(this.translate.instant("common_update_success"))):this.message.error(a.msg)},a=>{console.log(a)}):this.fundsS2cService.addFundsParts(e).subscribe(a=>{0!==a.code?(this.message.success(this.translate.instant("common_add_success")),this.route.navigate(["shop/finance/payable"])):this.message.error(a.msg)},a=>{console.log(a)})}handleAddPartFunds(){this.subFunds.push({amount:"",payment_method_id:0,start_date:"",status:"",img_url:"",img_name:""})}handleDeletePartFunds(t){this.subFunds.splice(t,1)}handleTotalChange({value:t,index:e,key:a}){this.subFunds[e][a]=t}openGallery(t){this.dialog.open(Ti,{}).afterClosed().subscribe(a=>{this.subFunds[t].img_url=a.img_url})}};yc.ctorParameters=()=>[{type:It.F0},{type:Sr.e},{type:Q.uU},{type:It.gz},{type:Y.sK},{type:St.uw},{type:ne.I}],yc.propDecorators={myForm:[{type:m.i9L,args:["commonForm",{static:!0}]}]},yc=(0,j.gn)([(0,m.wA2)({selector:"app-shop-edit-fund",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-form [columns]="2" [isShowSubmitBtn]="false" #commonForm [dataSource]="formDataSource">\n </app-common-form>\n\n <div class="row">\n <div class="col-md-6 mb-3" *ngFor="let div of subFunds ,let i = index" id="div{{div}}">\n <mat-expansion-panel [expanded]="true">\n <mat-expansion-panel-header>\n <mat-panel-title>\n Part {{i + 1}} </mat-panel-title>\n </mat-expansion-panel-header>\n <mat-form-field appearance="legacy" style="width: 33%;margin-right: 1%;">\n <mat-label>{{"Amount" | translate}}</mat-label>\n <input (input)="handleTotalChange({value:$event.target.value,index:i,key:\'amount\'})" matInput type="number" #amount_part [value]="div.amount">\n </mat-form-field>\n <mat-form-field appearance="legacy" style="width: 33%;margin-right: 1%;">\n <mat-label>{{\'Payment-method\'| translate}}</mat-label>\n <mat-select (selectionChange)="handleTotalChange({value:$event.value,index:i,key:\'payment_method_id\'})" #payment_method_id [value]="div.payment_method_id">\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let pay of paymentData" [value]="pay.id">{{pay.name}} -\n {{pay.days}}\n Days\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <mat-form-field appearance="legacy" style="width: 31%;margin-right: 1%;">\n <mat-label>{{"Start Date"| translate}}\n </mat-label>\n <input (input)="handleTotalChange({value:$event.target.value,index:i,key:\'start_date\'})" matInput #start_date type="date" [value]="div.start_date">\n </mat-form-field>\n\n <mat-form-field appearance="legacy" class="example-full-width">\n <mat-label>{{"status" | translate}}</mat-label>\n <mat-select (selectionChange)="handleTotalChange({value:$event.value,index:i,key:\'status\'}
1)" #status [value]="div.status">\n <mat-option value="paid">{{\'Paid\'|translate}}</mat-option>\n <mat-option value="not paid">{{\'Not paid\'|translate}}</mat-option>\n <mat-option value="cancelled">{{\'Cancel\'|translate}}</mat-option>\n </mat-select>\n </mat-form-field>\n \n <div class="file-upload" (click)="openGallery(i)">\n <input matInput class="file-input" type="text" #resultInput readonly>\n \n <img [src]="div.img_url" *ngIf="div.img_url" #image height="100" width="100">\n \n <div *ngIf="!div.img_url" class="card-subtitle">{{"Choose your Image here"|translate}}</div>\n </div>\n <button *ngIf="(subFunds.length - 1) === i" class="btn btn-primary mt-3"\n (click)="handleAddPartFunds();"\n style="margin-right:20px; float: right;">{{\'Add\' |\n translate}}</button>\n <button *ngIf="subFunds.length > 1" class="btn btn-primary mt-3"\n (click)="handleDeletePartFunds(i);"\n style="margin-right:20px; float: right;">{{\'Delete\' |\n translate}}</button>\n </mat-expansion-panel>\n </div>\n </div>\n\n <div class="row mb-3">\n <div class="col-12 d-flex justify-content-center">\n <button type="button" class="btn btn-min-width btn-primary" (click)="handleSubmit()">\n {{\'Submit\' | translate}}</button>\n </div>\n </div>\n</div>\n\n\n',styles:['.file-upload {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n padding: 5%;\n /* margin-top: 2rem; */\n border: 2px dashed #cacaca;\n border-radius: 0.5rem;\n transition: background-color 0.25s ease-out;\n height: 80%;\n}\n.file-upload:hover {\n background-color: #dbedff;\n}\n.file-upload .file-input {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n outline: none;\n cursor: pointer;\n}\ncaption {\n padding: 10px;\n caption-side: bottom;\n}\n.fund {\n width: 100%;\n border-collapse: collapse;\n letter-spacing: 1px;\n font-family: "Poppins";\n color: black;\n font-size: 0.8rem;\n border-left: none;\n border-right: none;\n}\n.containeFund {\n padding: 2%;\n}\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n.pagination-in .page-item.active .page-link {\n z-index: 3;\n color: #fff;\n background-color: rgba(184, 33, 38, 0.986);\n border-color: rgba(184, 33, 38, 0.986);\n}\n.pagination-in .page-link {\n color: rgba(184, 33, 38, 0.986);\n}\n.fund > tr > td,\nth {\n width: 12%;\n border: 1px solid #bebebe;\n padding: 10px;\n border-left: none;\n border-right: none;\n}\n.fund > tr > td {\n text-align: center;\n border: none !important;\n}\n.fund > tr > th[scope=col] {\n background-color: #cacaca;\n color: black;\n text-align: center;\n border: 1px solid #cacaca;\n border-left: none;\n border-right: none;\n}\n.input-container {\n /* IE10 */\n display: flex;\n width: 100%;\n}\n.icon {\n padding: 10px;\n /* background: dodgerblue; */\n color: #a9a9a9;\n width: 50px;\n text-align: center;\n font-size: 20px;\n}\n.input-field {\n width: 100%;\n padding: 10px;\n outline: none;\n}\n.parts {\n margin-top: 5%;\n}\n.parts-table {\n width: 40%;\n margin: 2%;\n margin-top: 5%;\n}\n.parts > td, th {\n border: 1px solid #bebebe;\n border-left: none;\n border-right: none;\n width: 10%;\n}\n.parts > td {\n text-align: center;\n border: none !important;\n}\n.part_fund {\n width: 45%;\n margin-right: 2%;\n}\n.part {\n width: 100%;\n border-collapse: collapse;\n letter-spacing: 1px;\n font-family: "Poppins";\n color: black;\n font-size: 0.8rem;\n border-left: none;\n border-right: none;\n}']})],yc);var ya=F(24850),Xf=F(36053),Yf=F(61737),ck=F(33165),aO=F(58926);var xG=F(54641),Qn=F.n(xG),ju=F(58493),Jb=F(78528),_o=F(58219);Qn().vfs=ju.I.vfs,Qn().fonts=Jb.R;let Gu=class{constructor(t,e,a,r,i){this.data=t,this.translate=e,this.excelService=a,this.datepipe=r,this.dialog=i,this.dataSource=new $e.by,this.displayedColumns=["total_order","income","paid","card","check","cash","date"],this.pdf=!0,this.csv=!1,this.prodExport=[]}ngOnInit(){this.dataSource.data=this.data,this.dataSource.paginator=this.paginator}PDF(){this.pdf=!0,this.csv=!1}CSV(){this.pdf=!1,this.csv=!0}cancel(){this.dialog.close()}generatePdf(t){const e=this.getDocumentDefinition(t);Qn().createPdf(e).download()}getDocumentDefinition(t){return{content:[{columns:[[{text:this.translate.instant("Sales"),style:"prodtitle"}]]},{canvas:[{type:"line",x1:0,y1:60,x2:510,y2:60,lineWidth:1,color:"gray"}]},"\n\n",{table:{widths:["*","*","*","*","*","*","*"],body:[[{text:this.translate.instant("order quantity"),style:"tableHeader"},{text:this.translate.instant("order amount"),style:"tableHeader"},{text:this.translate.instant("Paid"),style:"tableHeader"},{text:this.translate.instant("Card"),style:"tableHeader"},{text:this.translate.instant("Check"),style:"tableHeader"},{text:this.translate.instant("Cash"),style:"tableHeader"},{text:this.translate.instant("date"),style:"tableHeader"}],...t.map(e=>[e.total_order,e.income,e.paid,e.card,e.check,e.cash,this.datepipe.transform(e.created_at,"yyyy-MM-dd")])]},layout:"lightHorizontalLines"},"\n",{canvas:[{type:"line",x1:0,y1:20,x2:510,y2:20,lineWidth:1,color:"gray"}]},"\n\n",{columns:[[{text:this.translate.instant("notes"),style:"title"},{text:"--",style:this.translate.instant("Store"),margin:[0,0,20,0]}]]}],styles:{prodtitle:{fontSize:20,color:"black",alignment:"center"}
1,store:{fontSize:10,color:"black",alignment:"left"},title:{bold:!0,fontSize:10,alignment:"left"},subtitle:{bold:!0,fontSize:12,alignment:"left"},line:{color:"grey"},tableInfo:{fontSize:10},prod:{bold:!0,fontSize:15,alignment:"left",margin:[0,0,0,20]},tableExample:{margin:[0,20,0,15]},tableHeader:{bold:!0},text:{bold:!0,fontSize:15,alignment:"right",color:"black",margintop:50}}}}onexportAsExcelFile(t){switch(this.prodExport=[],this.translate.currentLang){case"Italian":for(let i in t){var e={Quantit\u00e0_ordine:"",Importo_ordine:"",Pagate:"",Carta:"",Check:"",Cash:"",Data:""};e.Quantit\u00e0_ordine=t[i].total_order,e.Importo_ordine=t[i].income,e.Pagate=t[i].paid,e.Carta=t[i].card,e.Check=t[i].check,e.Cash=t[i].cash,e.Data=this.datepipe.transform(t[i].created_at,"yyyy-MM-dd"),this.prodExport.push(e)}this.excelService.exportAsExcelFile(this.prodExport,"Vendite");break;case"Chinese":for(let i in t){var a={\u8ba2\u5355\u6570\u91cf:"",\u8ba2\u5355\u91d1\u989d:"",\u5df2\u4ed8\u8d39:"",\u4fe1\u7528\u5361:"",\u652f\u7968:"",\u73b0\u91d1:"",\u65e5\u671f:""};a.\u8ba2\u5355\u6570\u91cf=t[i].total_order,a.\u8ba2\u5355\u91d1\u989d=t[i].income,a.\u5df2\u4ed8\u8d39=t[i].paid,a.\u4fe1\u7528\u5361=t[i].card,a.\u652f\u7968=t[i].check,a.\u73b0\u91d1=t[i].cash,a.\u65e5\u671f=this.datepipe.transform(t[i].created_at,"yyyy-MM-dd"),this.prodExport.push(a)}this.excelService.exportAsExcelFile(this.prodExport,"\u9500\u552e");break;default:for(let i in t){var r={order_quantity:"",order_amount:"",paid:"",card:"",check:"",cash:"",date:""};r.order_quantity=t[i].total_order,r.order_amount=t[i].income,r.paid=t[i].paid,r.card=t[i].card,r.check=t[i].check,r.cash=t[i].cash,r.date=this.datepipe.transform(t[i].created_at,"yyyy-MM-dd"),this.prodExport.push(r)}this.excelService.exportAsExcelFile(this.prodExport,"Sales List")}}print(){1==this.pdf?this.generatePdf(this.data):this.onexportAsExcelFile(this.data),this.dialog.close()}};Gu.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]},{type:Y.sK},{type:_o.x},{type:Q.uU},{type:St.so}],Gu.propDecorators={paginator:[{type:m.i9L,args:[Wa.NW,{static:!0}]}]},Gu=(0,j.gn)([(0,m.wA2)({selector:"app-download-sales",template:'\n <div class="row">\n <div class="col-11">\n <h4 class="title">{{"Download Sales"|translate}}</h4>\n </div>\n <button type="button" (click)="cancel()" class="close" aria-label="Close"><span>\xd7</span></button>\n </div>\n\n\n <div data-test="modal-body" class="modal-body">\n <div data-test="row" class="row">\n <div data-test="col" class="col-12">\n <p>{{"Select file format to download"|translate}}</p>\n </div>\n <div class="switcher-form col-12">\n <div class="switcher-form-item" style="border-top-left-radius: .25rem;\n border-bottom-left-radius: .25rem;"(click)="PDF()" [ngClass]="{\'clicked-bt\': pdf == true}">PDF</div>\n <div class="switcher-form-item" style="border-top-right-radius: .25rem;\n border-bottom-right-radius: .25rem;" (click)="CSV()" [ngClass]="{\'clicked-bt\': csv == true}">CSV</div>\n </div>\n </div>\n <div data-test="row" class="row">\n <div data-test="col" class="col-12">\n <div data-test="col" class="col-12 ">\n <p>{{"Sales selected to be downloaded"|translate}}</p>\n <div data-test="table" class="col-12">\n <table mat-table style="width:100%" [dataSource]="dataSource" multiTemplateDataRows matSort>\n\n\n <ng-container matColumnDef="total_order">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"order quantity"|translate}} </th>\n <td mat-cell *matCellDef="let element">\n <p >{{element.total_order}}</p>\n\n </td>\n </ng-container>\n <ng-container matColumnDef="income">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{"order amount"|translate}}</th>\n <td mat-cell *matCellDef="let element">\n <p >{{element.income| currency}}</p>\n\n </td>\n </ng-container>\n\n\n <ng-container matColumnDef="paid">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{"Paid"|translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.paid| currency}}</td>\n </ng-container>\n\n\n\n <ng-container matColumnDef="card">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"Card"|translate}} </th>\n <td mat-cell *matCellDef="let element" class="pricetable1">\n {{element.card | currency }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef="check">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{ "Check" |translate}}</th>\n <td mat-cell *matCellDef="let element">\n {{element.check |currency}}\n </td>\n </ng-container>\n\n <ng-container matColumnDef="cash">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"Cash"|translate}}</th>\n <td mat-cell *matCellDef="let element">\n {{element.cash | currency}}\n </td>\n </ng-container>\n\n\n\n <ng-container matColumnDef="date">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"date"|translate}}</th>\n <td mat-cell *matCellDef="let element">\n <p >{{element.created_at | date}}</p>\n\n </td>\n </ng-container>\n\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;">\n </table>\n <mat-paginator [pageSizeOptions]="[5, 10, 25, 100]"></mat-paginator>\n </div></div>\n</div>\n </div>\n</div>\n<div class="modal-footer">\n <button (click)="print()" type="button" class="btn Ripple-parent bt
1n-primary block" id="download-multiple-invoice-btn-download">Download\n <div class="Ripple is-reppling" style="top: -51.3125px; left: -13.6375px; width: 130px;">\n </div>\n </button>\n <button (click)="cancel()" type="button" class="btn Ripple-parent btn-cancel" id="download-multiple-invoice-btn-cancel">Cancel\n <div class="Ripple " style="top: 0px; left: 0px; width: 0px; height: 0px;">\n </div>\n </button>\n </div>\n\n\n\n',styles:[".switcher-form {\n display: flex;\n height: 40px;\n}\n\n.switcher-form-item {\n width: 50%;\n background-color: #f0f0f0;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-bottom: 0;\n position: relative;\n font-weight: 600;\n letter-spacing: 1px;\n text-transform: uppercase;\n font-weight: bold;\n color: #353535;\n cursor: pointer;\n}\n\n.clicked-bt {\n border: 1px solid #333;\n background-color: #a00000;\n color: white;\n}\n\n.container {\n flex-direction: column;\n}\n\n.title {\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n font-weight: 400;\n font-size: 1.625rem;\n color: #242424;\n position: relative;\n padding-left: 0;\n margin-top: 0;\n padding-right: 3.5rem;\n margin-left: 2%;\n}\n\n.close {\n font-size: 36px;\n top: 7px;\n right: 31px;\n padding: 0 !important;\n color: #000;\n text-shadow: none;\n opacity: 1;\n margin: 0;\n line-height: normal;\n}\n\n.modal-header {\n border-top-left-radius: 0.125rem;\n border-top-right-radius: 0.125rem;\n}\n\n.red-svg {\n fill: red;\n}\n\n.green-svg {\n fill: #6dd400;\n}\n\n.row {\n display: flex;\n flex-wrap: wrap;\n margin-right: -20px;\n margin-left: -40px;\n}\n\n.btn-primary {\n border-radius: 0;\n background: none;\n border: none;\n line-height: 1;\n border-radius: 25px;\n display: block;\n background: #a00000 !important;\n color: #fff !important;\n font-size: 1rem !important;\n line-height: 1.1em;\n padding: 10px 30px;\n text-align: center;\n font-weight: 400;\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n display: inline-block;\n text-decoration: none;\n transition-property: all;\n transition-duration: 0.2s;\n text-transform: none;\n border: none !important;\n box-shadow: none !important;\n border-radius: 65px !important;\n}\n\n.btn-cancel {\n line-height: 1;\n display: block;\n color: #a00000 !important;\n font-size: 1rem !important;\n line-height: 1.1em;\n padding: 10px 30px;\n text-align: center;\n font-weight: 400;\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n display: inline-block;\n text-decoration: none;\n transition-property: all;\n transition-duration: 0.2s;\n text-transform: none;\n box-shadow: none !important;\n}\n\n.modal-footer {\n display: block;\n text-align: center;\n border: none;\n padding: 0;\n}\n\n.table1 {\n width: 100%;\n table-layout: fixed;\n}\n\n.table1 th,\n.table1 td {\n overflow: hidden;\n width: 20%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.pricetable1 {\n color: red;\n}\n\n.card-box {\n position: relative;\n color: #fff;\n padding: 20px 20px 20px 20px;\n background-color: #ececec;\n}\n\n.card-box p {\n font-size: 15px;\n}\n\n.bg-green {\n background-color: #cacaca;\n height: 130px;\n color: black;\n}\n\n.mat-table {\n width: 100%;\n}\n\n.mat-table.resizing {\n -webkit-user-select: none;\n user-select: none;\n cursor: col-resize;\n}\n\n.mat-table .mat-cell span {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.mat-table .mat-header-cell {\n background-color: white;\n color: black;\n font-style: bold;\n position: relative;\n height: 30px;\n font-size: 14px;\n border-right: 2px solid rgba(201, 201, 201, 0.048);\n}\n\n.mat-table .mat-header-cell:not(:last-child) .resize-holder {\n cursor: col-resize;\n width: 20px;\n height: 100%;\n position: absolute;\n right: -10px;\n top: 0;\n z-index: 1;\n}\n\n.mat-table .mat-cell {\n width: 8rem;\n}\n\n.mat-table .mat-cell:not(:nth-child(1)),\n.mat-table .mat-header-cell:not(:nth-child(1)) {\n padding: 0 10px;\n}"]})],Gu);let Ku=class{constructor(t,e,a,r,i,o){this.fundsService=t,this.dialog=e,this.chainService=a,this.translate=r,this.message=i,this.router=o,this.code=localStorage.getItem("curr"),this.dataSource=[],this.accountingData={sales:0,other:0},this.paymentData=[],this.otherParams={from:"",to:"",payment_method_id:"",reason_
1id:"",chain_id:"",page:1},this.tabId=1,this.otherDataSource=[],this.otherPageInfo={total:0,page:1,pageSize:20},this.otherColumns=[{type:"checkbox",translationKey:"",key:"checkbox"},{type:"image",translationKey:"common_image",key:"img_url"},{type:"text",translationKey:"Created at",key:"created_at"},{type:"text",translationKey:"Payment-Date",key:"payment_date"},{type:"text",translationKey:"Payment-method",key:"payment_method_name"},{type:"text",translationKey:"Reason",key:"payment_method_reason"},{type:"price",translationKey:"Amount",key:"amount"},{type:"text",translationKey:"common_paymentStatus",key:"payment_status"},{type:"actions",translationKey:"common_actions",key:"actions",list:["edit"]}],this.otherComponentName="s2cShopFundsOther",this.otherCheckedItem=[],this.saleDataSource=[],this.saleColumns=[{type:"checkbox",translationKey:"",key:"checkbox"},{type:"text",translationKey:"chain_name",key:"chainName"},{type:"text",translationKey:"days",key:"days"},{type:"text",translationKey:"order quantity",key:"total_order"},{type:"price",translationKey:"order amount",key:"income"},{type:"price",translationKey:"Paid",key:"paid"},{type:"price",translationKey:"Card",key:"card"},{type:"price",translationKey:"Check",key:"check"},{type:"price",translationKey:"Cash",key:"cash"},{translationKey:"common_actions",type:"actions",key:"actions",list:["detail"]}],this.saleFormDataSource=[{type:"chainSelect",key:"chain_id"},{type:"dateTime",key:"from",placeholder:"Choose-astartdate",translateKey:"Choose-astartdate"},{type:"dateTime",key:"to",placeholder:"Choose-anenddate",translateKey:"Choose-anenddate"}],this.salePageInfo={total:0,page:1,pageSize:20},this.saleComponentName="s2cShopFundsSale",this.saleParams={chain_id:"",from:"",to:"",page:1},this.saleCheckedItem=[]}ngOnInit(){this.getAccoutingIncomeData().subscribe(t=>{this.getChainNameById(0),this.handleTabChange(0)})}getAccoutingIncomeData(){return(0,Xf.aj)(this.fundsService.getSalesDetails(this.saleParams).pipe((0,xr.K)(t=>(console.log(t),(0,Yf._)(t)))),this.fundsService.getOthersRecieptList(this.otherParams).pipe((0,xr.K)(t=>(console.log(t),(0,Yf._)(t))))).pipe((0,ya.U)(([t,e])=>{this.saleDataSource=t.data.map(a=>({...a,chainName:a?.chain?.chain_name})),this.salePageInfo.total=t.total,this.accountingData.sales=t.total_sales,this.otherDataSource=[...e.data.map(a=>({...a,payment_method_name:a?.payment_method?.name,payment_method_reason:a?.payment_reason?.reason,payment_status:this.translate.instant("common_paymentStatus_"+a?.status)}))],this.otherPageInfo.total=e.total,this.accountingData.other=e.total_amount,console.log("all items:",this.otherDataSource)}))}handleTabChange(t){this.tabId=t,0===t?(this.table2.filterForm.reset(),this.table1.data=[...this.saleDataSource],this.saleFormDataSource=this.saleFormDataSource.slice(0,3)):(this.table1.filterForm.reset(),this.table2.data=[...this.otherDataSource],this.saleFormDataSource=this.saleFormDataSource.concat([{type:"payment",key:"payment_method_id"},{type:"reason",key:"reason_id"}]))}getChainNameById(t){if(t&&0!=t)return this.chainService.getChainById(t).subscribe(e=>{this.chain_name=e.data.chain_name},e=>{console.log(e)});this.chain_name=this.translate.instant("common_allChains")}getOtherSales(){this.fundsService.getOthersRecieptList(this.otherParams).subscribe(t=>{this.otherDataSource=t.data.map(e=>({...e,payment_method_name:e.payment_method.name,payment_method_reason:e.payment_reason.reason})),this.otherPageInfo.total=t.total,this.accountingData.other=t.total_amount},t=>{console.log(t)})}getSalesDetailsList(){this.fundsService.getSalesDetails(this.saleParams).subscribe(t=>{this.saleDataSource=t.data,this.salePageInfo.total=t.total,this.accountingData.sales=t.total_sales},t=>{console.log(t)})}getOneChainDetail(t){this.fundsService.getFundsInformation(t).subscribe(e=>{this.accountingData=e.data},e=>{console.log(e)})}handleReset(){this.getChainNameById(0),this.saleParams={chain_id:"",from:"",to:"",page:1},this.otherParams={from:"",to:"",payment_method_id:"",reason_id:"",chain_id:"",page:1},this.getAccoutingIncomeData().subscribe(t=>{})}handleSearch(t){this.getChainNameById(t.chain_id),this.saleParams={...this.saleParams,...t,page:1},this.otherParams={...this.otherParams,...t,page:1},this.getAccoutingIncomeData().subscribe(e=>{})}handleCheckChange(t,e){"sale"===e&&(this.saleCheckedItem=t),"other"===e&&(this.otherCheckedItem=t)}handleChangePaginator(t,e){"sale"===e&&(this.saleParams.page=t.page,this.get
1SalesDetailsList()),"other"===e&&(this.otherParams.page=t.page,this.getOtherSales())}handleRevenuesDetail({item:t,type:e}){if(console.log("item:",t),"detail"===e){const a={chainId:t.chain_id,days:t.days};this.router.navigate(["/shop/orders-list"],{queryParams:a})}}handleViewDetail({item:t,type:e}){"edit"===e&&this.dialog.open(ck.m,{autoFocus:!1,maxHeight:"98vh",data:t}).afterClosed().subscribe(r=>{"success"===r&&this.getOtherSales()})}handleAddClick(){this.dialog.open(ck.m,{autoFocus:!1,maxHeight:"60vh",data:{}}).afterClosed().subscribe(e=>{"success"===e&&this.getOtherSales()})}handleDownLoad(t){if("sale"===t){if(0===this.saleCheckedItem.length)return void this.message.error(this.translate.instant("common_displayedRows_required"));this.dialog.open(Gu,{autoFocus:!1,width:"150vw",maxHeight:"95vh",data:this.saleCheckedItem})}if("other"===t){if(0===this.otherCheckedItem.length)return void this.message.error(this.translate.instant("common_displayedRows_required"));this.dialog.open(aO.U,{autoFocus:!1,width:"150vw",maxHeight:"95vh",data:this.otherCheckedItem})}}};Ku.ctorParameters=()=>[{type:Sr.e},{type:St.uw},{type:Oe.l},{type:Y.sK},{type:ne.I},{type:It.F0}],Ku.propDecorators={table1:[{type:m.i9L,args:["table1"]}],table2:[{type:m.i9L,args:["table2"]}]},Ku=(0,j.gn)([(0,m.wA2)({selector:"app-shop-funds-card",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <div class="row">\n <div class="col-12 col-lg-4 d-flex flex-column">\n <div class="card flex-grow-1 text-white bg-primary my-2">\n <div class="card-body">\n <h3 class="card-title">\n {{ (accountingData.sales + accountingData.other) | currency:code }}\n </h3>\n <span>{{ "Total Receipt" | translate }}</span>\n </div>\n </div>\n </div>\n <div class="col-12 col-lg-4 d-flex flex-column">\n <div class="card flex-grow-1 text-white bg-primary my-2">\n <div class="card-body">\n <h3 class="card-title">\n {{ accountingData.sales | currency:code }}\n </h3>\n <div class="w-100 d-flex justify-content-between">\n <span> {{ "Total Sales" | translate }}</span>\n <span>{{chain_name}}</span>\n </div>\n </div>\n </div>\n </div>\n <div class="col-12 col-lg-4 d-flex flex-column">\n <div class="card flex-grow-1 text-white bg-primary my-2">\n <div class="card-body">\n <h3 class="card-title">\n {{ accountingData.other | currency:code }}\n </h3>\n <div class="w-100 d-flex justify-content-between">\n <span> {{ "Other Receipt" | translate }}</span>\n <span>{{chain_name}}</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n <app-common-search-field-form [formColumn]="saleFormDataSource" (onSubmit)="handleSearch($event)"\n (onReset)="handleReset()">\n </app-common-search-field-form>\n <div style="margin-top: 20px;">\n <app-common-search-list-table #table1 [isShowFilterForm]="false" (onCheckChange)="handleCheckChange($event,\'sale\')"\n [isShowAdd]="false" [isShowDownload]="true" (onDownload)="handleDownLoad(\'sale\')" (onBtnClick)="handleRevenuesDetail($event)"\n [dataSource]="saleDataSource" [columns]="saleColumns" [uniqueTableKey]="saleComponentName"\n [pageInfo]="salePageInfo" (pageChange)="handleChangePaginator($event,\'sale\')">\n </app-common-search-list-table>\n </div>\n</div>\n',styles:[".mainContainer span {\n font-family: Roboto;\n font-weight: 500;\n font-size: 20px;\n}\n.mainContainer .example-element-row td {\n border-bottom-width: 0;\n}\n.mainContainer .example-element-detail {\n overflow: hidden;\n display: flex;\n}\n.mainContainer .orderProducts {\n padding: 10px;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n width: 100%;\n}\n.price1 {\n color: red;\n}\n.prod-img {\n max-width: 50px;\n max-height: 50px;\n}\n.pagination {\n cursor: pointer;\n}\n.page-item {\n cursor: pointer;\n}\n.page-item.active .page-link {\n z-index: 3;\n color: #fff;\n background-color: #cacaca;\n border-color: #cacaca;\n cursor: pointer;\n}\n.mat-card-image {\n width: calc(100% + 32px);\n margin: 16px -16px 16px -16px;\n}\n.card-box {\n position: relative;\n color: white;\n padding: 20px 20px 20px 20px;\n background-color: #a00000;\n height: 130px;\n}\n.button-date {\n width: 33%;\n color: #a00000;\n font-weight: bold;\n font-size: 13px;\n letter-spacing: 1px;\n margin-bottom: 0;\n width: 33.5%;\n text-transform: uppercase;\n}\n.container-time {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.button-date {\n background: #fff;\n border: 1px solid #a00000;\n font-weight: 500;\n font-size: 14px;\n letter-spacing: 0.25px;\n line-height: 58px;\n height: 58px;\n margin-left: 10px;\n margin-right: 8px;\n width: 100%;\n margin: 1%;\n text-align: center;
1\n color: #a00000;\n vertical-align: middle;\n border-radius: 4px;\n box-sizing: border-box;\n}\n.table1 {\n width: 100%;\n table-layout: fixed;\n}\n.table1 th,\n.table1 td {\n overflow: hidden;\n width: 20%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mat-table {\n width: 100%;\n}\n.mat-table.resizing {\n -webkit-user-select: none;\n user-select: none;\n cursor: col-resize;\n}\n.mat-table .mat-cell span {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.mat-table .mat-header-cell {\n background-color: #e6e6e6;\n color: #707070;\n font-style: bold;\n position: relative;\n height: 30px;\n font-size: 14px;\n border-right: 2px solid rgba(201, 201, 201, 0.048);\n}\n.mat-table .mat-header-cell:not(:last-child) .resize-holder {\n cursor: col-resize;\n width: 20px;\n height: 100%;\n position: absolute;\n right: -10px;\n top: 0;\n z-index: 1;\n}\n.mat-table .mat-cell {\n width: 8rem;\n}\n.mat-table .mat-cell:not(:nth-child(1)),\n.mat-table .mat-header-cell:not(:nth-child(1)) {\n padding: 0 10px;\n}\n.header-all-tab {\n display: flex;\n justify-content: space-between;\n}\n.bt-act-revenu {\n display: flex;\n margin-bottom: 3%;\n margin-top: 2%;\n}\n.header-table {\n width: 100%;\n}\n.filter-time {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n grid-gap: 20px 28px;\n gap: 20px 28px;\n font-size: 14px;\n}\n.filter-to-from {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.bt-date-submit {\n color: white;\n padding: 10px;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n.bt-action-filter {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n grid-gap: 20px 28px;\n gap: 20px 28px;\n font-size: 14px;\n height: 50px;\n}\n.button-action-sales {\n background-color: #fff;\n color: black;\n font-size: 15px;\n}\n.error-msg {\n width: 100%;\n font-weight: 500;\n font-size: 13px;\n letter-spacing: 0.25px;\n line-height: 58px;\n width: 100%;\n color: red;\n font-weight: bold;\n}\n.card-title {\n color: white;\n}"]})],Ku);let Zb=class{constructor(t,e){this.http=t,this.configService=e;let a=this.configService.getConfig();this.baseUrl=`${a.baseUrl}`,this.baseUrlS2C=`${a.baseUrlS2C}`}EditAcount(t,e){return this.http.post(`${this.baseUrlS2C}/update/user/${t}`,e,{params:{token:localStorage.getItem("token")}})}updateUser(t){return this.http.post(`${this.baseUrlS2C}/update/user`,t,{params:{token:localStorage.getItem("token")}})}changeLogo(t){return this.http.post(`${this.baseUrlS2C}/store/change_logo`,t,{params:{token:localStorage.getItem("token")}})}refreshToken(t){return this.http.post(`${this.baseUrlS2C}/refresh`,t,{params:{token:localStorage.getItem("token")}})}};Zb.ctorParameters=()=>[{type:Nt.eN},{type:Yn.E}],Zb=(0,j.gn)([(0,m.GSi)({providedIn:"root"})],Zb);let Qf=class{constructor(t,e,a,r,i,o){this._formBuilder=t,this.myaccountService=e,this.snackar=a,this.router=r,this.userService=i,this.msgServ=o,this.userForm=this._formBuilder.group({id:[null],first_name:["",[V.kI.required]],last_name:["",[V.kI.required]],billing_address_1:["",[V.kI.required]],contact:["",[V.kI.required]],billing_city:["",[V.kI.required]],email:["",[V.kI.required]],billing_postal_code:["",[V.kI.required,V.kI.maxLength(5)]],billing_country:["",[V.kI.required]]})}ngOnInit(){this.getCountries(),this.getMyInfos(),this.form=this._formBuilder.group({company:[{value:"Siyou"},V.kI.required],firstName:[""],lastName:[""],address:[""],contact:[""],city:[""],userEmail:[""],password:[""],postalCode:["",[V.kI.maxLength(5)]],country:[""]})}getMyInfos(){return this.userService.getUser().subscribe(t=>{this.user=t,console.log("user:",this.user),this.getUserForm(this.user)})}getCountries(){this.userService.getCountries().subscribe(t=>{this.countries=t,this.countriesData=this.countries.data})}onGetState(t){this.userService.getStatesByCountryId(t).subscribe(e=>{this.states=e,this.statesData=this.states.data})}getUserForm(t){this.userForm.patchValue(t)}submitForm(t){for(const e in this.userForm.controls)this.userForm.controls[e].markAsDirty(),this.userForm.controls[e].updateV
1alueAndValidity();console.log(t),this.userForm.valid&&this.myaccountService.updateUser(this.userForm.value).subscribe(e=>{200===e.code?this.msgServ.successWithTranlate(e.msg):this.msgServ.errorWithTranslate(e.msg)})}resetForm(t){t.preventDefault(),this.userForm.reset();for(const e in this.userForm.controls)this.userForm.controls[e].markAsPristine(),this.userForm.controls[e].updateValueAndValidity()}updateUser(t,e,a,r,i,o,s,l,c){var d={first_name:t,last_name:e,contact:a,email:l,billing_address_1:r,billing_country:i,billing_city:o,billing_postal_code:s,password:c};return this.myaccountService.EditAcount(this.user.id,d).subscribe(u=>{localStorage.setItem("first_name",JSON.stringify(d.first_name)),localStorage.setItem("last_name",JSON.stringify(d.last_name)),localStorage.setItem("contact",JSON.stringify(d.contact)),localStorage.setItem("userEmail",JSON.stringify(d.email)),localStorage.setItem("billing_address_1",JSON.stringify(d.billing_address_1)),localStorage.setItem("billing_country",JSON.stringify(d.billing_country)),localStorage.setItem("billing_city",JSON.stringify(d.billing_city)),localStorage.setItem("billing_postal_code",JSON.stringify(d.billing_postal_code)),this.snackar.open("User updated successfully","OK",{duration:1e3}),this.myaccountService.refreshToken(),this.router.navigate(["/shop/useraccount"])},u=>{console.log(u)})}goBack(){this.router.navigate(["/shop/useraccount"])}};Qf.ctorParameters=()=>[{type:V.qu},{type:Zb},{type:We.ux},{type:It.F0},{type:bo.K},{type:ne.I}],Qf=(0,j.gn)([(0,m.wA2)({selector:"app-my-account",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <ng-container *ngIf="userForm">\n <form class="form" nz-form [formGroup]="userForm" (ngSubmit)="submitForm(userForm.value)">\n <nz-form-item>\n <nz-form-label [nzSpan]="7" nzRequired>{{\'First-Name\'| translate}}</nz-form-label>\n <nz-form-control [nzSpan]="12" [nzErrorTip]="userErrorTpl" nzHasFeedback nzValidatingTip="Validating...">\n <nz-input-group [nzSuffix]="suffixFirstname">\n <input type="text" nz-input formControlName="first_name" placeholder="{{\'First-Name\'| translate}}" />\n </nz-input-group>\n <ng-template #suffixFirstname>\n <mat-icon matSuffix>storefront</mat-icon>\n </ng-template>\n <ng-template #userErrorTpl let-control>\n <ng-container *ngIf="control.hasError(\'required\')">\n {{\'required\'|translate}}\n </ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSpan]="7" nzRequired>{{\'Last-Name\' | translate}}</nz-form-label>\n <nz-form-control [nzSpan]="12" [nzErrorTip]="lastnameErrorTpl" nzHasFeedback nzValidatingTip="Validating...">\n <nz-input-group [nzSuffix]="suffixLastname">\n <input type="text" nz-input formControlName="last_name" placeholder="{{\'Last-Name\' | translate}}" />\n </nz-input-group>\n <ng-template #suffixLastname>\n <mat-icon matSuffix>storefront</mat-icon>\n </ng-template>\n <ng-template #lastnameErrorTpl let-control>\n <ng-container *ngIf="control.hasError(\'required\')">\n {{\'required\'|translate}}\n </ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSpan]="7" nzRequired>{{\'Email-address\'| translate}}</nz-form-label>\n <nz-form-control [nzSpan]="12" [nzErrorTip]="emailErrorTpl" nzHasFeedback nzValidatingTip="Validating...">\n <nz-input-group [nzSuffix]="suffixEmail">\n <input type="email" nz-input formControlName="email" placeholder="{{\'Email-address\'| translate}}" />\n </nz-input-group>\n <ng-template #suffixEmail>\n <mat-icon matSuffix>email</mat-icon>\n </ng-template>\n <ng-template #emailErrorTpl let-control>\n <ng-container *ngIf="control.hasError(\'required\')">\n {{\'required\'|translate}}\n </ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSpan]="7" nzRequired>{{"contact_number"| translate}}</nz-form-label>\n <nz-form-control [nzSpan]="12" [nzErrorTip]="contactErrorTpl" nzHasFeedback nzValidatingTip="Validating...">\n <nz-input-group [nzSuffix]="suffixContact">\n <input type="text" nz-input formControlName="contact" placeholder="{{\'contact_number\'| translate}}" />\n </nz-input-group>\n <ng-template #suffixContact>\n <mat-icon matSuffix>phone</mat-icon>\n </ng-template>\n <ng-template #contactErrorTpl let-control>\n <ng-container *ngIf="control.hasError(\'required\')">\n {{\'required\'|translate}}\n </ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSpan]="7" nzRequired>{{\'Country\'| translate}}</nz-form-label>\n <nz-form-control [nzSpan]="12" [nzErrorTip]="countryErrorTpl" nzHasFeedback nzValidatingTip="Validating...">\n \x3c!-- <nz-input-group [nzSuffix]="suffixCountry"> --\x3e\n \x3c!-- <input type="text" nz-input formControlName="billing_country" placeholder="{{\'Country\'| translate}}" /> --\x3e\n <nz-select formControlName="billing_country" nzPlaceHolder="{{\'Country\'| translate}}">\n <nz-option\n *ngFor="let item of countriesData"\n [nzLabel]="item.name"\n [nzValue]="item.name">\n </nz-option>\n </nz-select>\n \n \x3c!-- </nz-input-group> --\x3e\n <ng-template #suffixCountry>\n <mat-icon matSuffix>add_location</mat-icon>\n </ng-template>\n <ng-template #countryErrorTpl let-control>\n <ng-container *ngIf="control.hasError(\'required\')">\n {{\'required\'|translate}}\n </ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSpan]="7" nzRequired>{{\'City\'| translate}}</nz-form-label>\n <nz-form-control [nzSpan]="12" [nzErrorTip]="cityErrorTpl" nzHasFeedback nzValidatingTip="Validating...">\n <nz-input-group [nzSuffix]="suffixCity">\n <input type="text" nz-input formControlName="billing_city" placeholder="{{\'City\'| translate}}" />\n </nz-input-group>\n <ng-template #suffixCity>\n <mat-icon matSuffix>add_location</mat-icon>\n </ng-template>\n <ng-template #cityErrorTpl let-control>\n <ng-container *ngIf="control.hasError(\'required\')">\n {{\'required\'|translate}}\n </ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n \n <nz-form-item>\n <nz-form-label [nzSpan]="7" nzRequired>{{\'Postal-code\'| translate}}</nz-form-label>\n <nz-form-control [nzSpan]="12" nzHasFeedback nzValidatingTip="Validating..." [nzErrorTip]="codeErrorTpl">\n <nz-input-group [nzSuffix]="suffixCode">\n <input type="text" nz-input formControlName="billing_postal_code" placeholder="{{\'Postal-code\'| translate}}" />\n </nz-input-group>\n <ng-template #suffixCode>\n <mat-icon matSuffix>map</mat-icon>\n </ng-template>\n <ng-template #codeErrorTpl let-control>\n <ng-container *ngIf="control.hasError(\'required\')">\n {{\'required\'|translate}}\n </ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSpan]="7">{{\'Address\'| translate}}</nz-form-label>\n <nz-form-control [nzSpan]="12">\n <textarea formControlName="billing_address_1" nz-input rows="3" placeholder="{{\'Address\'| translate}}"></textarea>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-control [nzOffset]="7" [nzSpan]="12">\n <div class="btns">\n <button nz-button nzType="primary" [disabled]="!userForm.valid">{{\'Submit\' | translate}}</button>\n <button nz-button (click)="goBack()">{{\'Return\' | translate}}</button>\n </div>\n </nz-form-control>\n </nz-form-item>\n </form>\n </ng-container>\n \n \n \x3c!-- <div class=" my-2 mx-2">\n <form [formGroup]="form">\n <div>\n <p style="size: 50px;"> {{ "User-information" | translate }}</p>\n <mat-divider style="margin-bottom: 30px;"></mat-divider>\n </div>\n <mat-form-field appearance="outline" style="width: 47%; margin-right:5% ;">\n <mat-icon matSuffix>storefront</mat-icon>\n <mat-label>{{"First-Name" | translate}}</mat-label>\n <input type="text" matInput [value]="user.first_name" formControlName="firstName" #first_name>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 47%;">\n <mat-icon matSuffix>storefront</mat-icon>\n <mat-label>{{"Last-Name" | translate}}</mat-label>\n <input type="text" matInput [value]="user.last_name" formControlName="lastName" #last_name>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 47%; margin-right:3%;">\n <mat-icon matSuffix>email</mat-icon>\n <mat-label>{{"Email-address"| translate}}</mat-label>\n <input type="text" matInput [value]="user.email" formControlName="userEmail" #email readonly >\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 47%;">\n <mat-icon matSuffix>password</mat-icon>\n <mat-label>{{"Password"| translate}}</mat-label>\n <input type="password" matInput formControlName="password" #password>\n </mat-form-field>\n <mat-form-field appearance="outline" class="form-element">\n <mat-icon matSuffix>phone</mat-icon>\n <mat-label>{{"Contact"| translate}}</mat-label>\n <input type="text" matInput [value]="user.contact" formControlName="contact" #contact>\n </mat-form-field>\n\n <mat-form-field appearance="outline" class="form-element">\n <mat-icon matSuffix>add_location</mat-icon>\n <mat-label>{{"Address"| translate}}</mat-label>\n <input type="text" matInput [value]="user.billing_address_1" formControlName="address" #billing_address_1>\n </mat-form-field>\n\n <mat-form-field appearance="outline" class="form-element" style="width: 30%;margin-right:5%">\n <mat-label>{{"Country"| translate}}</mat-label>\n <mat-select [value]="user.billing_country" formControlName="country" #billing_country>\n <mat-option *ngFor="let country of countriesData" [value]="country.name"> {{country.name}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <mat-form-field appearance="outline" class="form-element" style="width: 30%;margin-right:5%" >\n <mat-icon matSuffix>add_location</mat-icon>\n <mat-label>{{"City"| translate}}</mat-label>\n <input type="text" matInput [value]="user.billing_city" formControlName="city" #billing_city>\n </mat-form-field>\n <mat-form-field appearance="outline" class="form-element" style="width: 30% ;">\n <mat-icon matSuffix>map</mat-icon>\n <mat-label>{{"Postal-code"| translate}}</mat-label>\n <input type="text" matInput [value]="user.billing_postal_code" formControlName="postalCode"\n #billing_postal_code>\n </mat-form-field>\n <button mat-button (click)="\n updateUser(first_name.value,last_name.value,\n contact.value,\n billing_address_1.value,\n billing_country.value,\n billing_city.value,\n billing_postal_code.value,\n email.value,\n password.value)" style="margin-right: 5px;" class="btn btn-success btn-sm">\n {{\'Submit\' | translate}}</button>\n <button mat-button routerLink="/shop/useraccount" class="btn btn-secondary btn-sm">\n {{\'Back\' | translate}}</button>\n </form>\n </div> --\x3e\n</div>\n',styles:[":host {\n display: flex;\n width: 100%;\n height: 100%;\n}\n\n.mainContainer {\n background-color: white;\n}\n\nmat-form-field {\n width: 100%;\n}\n\n.form {\n width: 100%;\n height: 100%;\n padding-top: 40px;\n}\n\n::ng-deep form {\n padding: 20px auto;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n}\n\n::ng-deep form nz-form-item {\n width: 100%;\n font-size: 18px;\n}\n\n::ng-deep form nz-form-item nz-input-group {\n line-height: 50px;\n border-radius: 8px;\n padding: 14px 0;\n}\n\n::ng-deep form nz-form-item nz-select {\n line-height: 50px;\n border-radius: 8px;\n padding: 14px 0;\n}\n\n::ng-deep form nz-form-item .btns {\n width: 100%;\n padding: 0 20%;\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n align-items: center;\n}\n\n::ng-deep form nz-form-item .btns button {\n flex-basis: 20%;\n border-radius: 4px;\n}"]})],Qf);var Vn=F(8929),TG=F(8910);let $f=class{constructor(t,e,a){this.chainService=t,this.userService=e,this.dialogRef=a,this.GroupeStore=[]}
1ngOnInit(){this.onGetChains(),this.getStoreGroup()}onGetChains(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data},t=>{console.log(t)})}getStoreGroup(){this.userService.getStoreGroup().subscribe(t=>{this.GroupeStore=t.data})}onChangeGroup(){var t={new_group_id:this.radioSelected};this.userService.onChangeGroup(t).subscribe(e=>{this.dialogRef.close()})}close(){this.dialogRef.close()}};$f.ctorParameters=()=>[{type:Oe.l},{type:bo.K},{type:St.so}],$f=(0,j.gn)([(0,m.wA2)({selector:"app-edit-group",template:'<div mat-dialog-content>\n <div class="w-100 d-flex justify-content-end">\n <button mat-icon-button [mat-dialog-close]="false">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <h1 class="title-pack">{{"Change Group"| translate}}</h1>\n <div class="snip1214">\n <div>\n <ul class="plan-features">\n <li *ngFor="let store of GroupeStore"><i class="ion-checkmark"> </i>\n <div class="row">\n <div class="col-md-4"><input type="radio" [id]="store.group_name" name="store_group_id"\n [(ngModel)]="radioSelected" value="{{store.id}}" #grpid />\n </div>\n <div class="col-md-4"> <label for="store.group_name">{{store.group_name}}</label></div>\n <div class="col-md-4"></div>\n </div>\n\n </li>\n </ul>\n </div>\n <button mat-button class="btn-sm mt-4 mr-2" style="background-color: #a00000;color: white;"\n (click)="onChangeGroup()">{{\'Submit\'| translate}} </button>\n </div>\n</div>\n',styles:['.title-pack {\n padding-bottom: 1%;\n position: relative;\n font-weight: 600;\n padding-top: 2%;\n margin-left: 1%;\n letter-spacing: 2px;\n text-transform: uppercase;\n font-weight: bold;\n color: #636363;\n font-size: 20px;\n text-align: center;\n}\n\n.snip1214 {\n font-family: "Raleway", Arial, sans-serif;\n color: #000000;\n text-align: center;\n font-size: 16px;\n margin: 40px 10px;\n}\n\n.snip1214 .plan {\n margin: 0;\n width: 25%;\n position: relative;\n float: left;\n background-color: #ffffff;\n border: 1px solid rgba(0, 0, 0, 0.1);\n}\n\n.snip1214 * {\n box-sizing: border-box;\n}\n\n.snip1214 header {\n position: relative;\n}\n\n.snip1214 .plan-title {\n position: relative;\n top: 0;\n font-weight: 800;\n padding: 5px 15px;\n margin: 0 auto;\n transform: translateY(-50%);\n margin: 0;\n display: inline-block;\n background-color: #a00000;\n color: white;\n text-transform: uppercase;\n}\n\n.snip1214 .plan-cost {\n padding: 0px 10px 20px;\n}\n\n.snip1214 .plan-price {\n font-family: "Montserrat", Arial, sans-serif;\n font-weight: 800;\n font-size: 2.4em;\n color: #a00000;\n}\n\n.snip1214 .plan-type {\n opacity: 0.6;\n}\n\n.snip1214 .plan-features {\n padding: 0;\n margin: 0;\n text-align: center;\n list-style: outside none none;\n font-size: 0.8em;\n}\n\n.snip1214 .plan-features li {\n border-top: 1px solid #d2d7e2;\n padding: 0 2rem;\n}\n\n.snip1214 .plan-features li:nth-child(even) {\n background: rgba(0, 0, 0, 0.08);\n}\n\n.snip1214 .plan-features i {\n margin-right: 8px;\n opacity: 0.4;\n}\n\n.snip1214 .plan-select {\n border-top: 1px solid #cacaca;\n}\n\n.snip1214 .plan-select a {\n background-color: #a00000;\n color: white;\n text-decoration: none;\n padding: 0.5em 1em;\n transform: translateY(50%);\n font-weight: 800;\n text-transform: uppercase;\n display: inline-block;\n}\n\n.snip1214 .plan-select a:hover {\n background-color: #cacaca;\n}\n\n.snip1214 .featured {\n margin-top: -10px;\n background-color: #919191;\n color: #ffffff;\n box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);\n z-index: 1;\n}\n\n.snip1214 .featured .plan-title,\n.snip1214 .featured .plan-price {\n color: #ffffff;\n}\n\n.snip1214 .featured .plan-cost {\n padding: 10px 10px 20px;\n}\n\n.snip1214 .featured .plan-features li {\n border-top: 1px solid rgba(255, 255, 255, 0.4);\n}\n\n.snip1214 .featured .plan-select {\n padding: 20px 10px 0;\n border-top: 1px solid rgba(255, 255, 255, 0.4);\n}\n\n@media only screen and (max-width: 767px) {\n .snip1214 .plan {\n width: 50%;\n }\n\n .snip1214 .plan-title,\n.snip1214 .plan-select a {\n transform: translateY(0);\n }\n\n .snip1214 .plan-cost,\n.snip1214 .featured .plan-cost {\n padding: 20px 10px 20px;\n }\n\n .snip1214 .plan-select,\n.snip1214 .featured .plan-select {\n padding: 10px 10px 10px;\n }\n\n .snip1214 .featured {\n margin-top: 0;\n }\n}\n\n@media only screen and (max-width: 440px) {\n .snip1214 .plan {\n width: 100%;\n }\n}']})],$f);var Rs=F(95333),rO=F(32916),MG=F(68896),ba=F(23753),iO=F(98723),oO=F(66688),sO=F(33009),OG=F(826),RG=F(40448);function lO(...n){if(1===n.length){if(!(0,oO.k)(n[0]))return n[0];n=n[0]}return(0,sO.n)(n,void 0).lift(new LG)}class LG{call(t,e){return e.subscribe(new NG(t))}}class NG extends OG.L{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let a=0;a<e&&!this.hasFirst;a++){const r=t[a],i=(0,RG.D)(this,r,void 0,a);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}}notifyNext(t,e,a){if(!this.hasFirst){this.hasFirst=!0;for(let r=0;r<this.subscriptions.length;r++)if(r!==a){let i=this.subscriptions[r];i.unsubscribe(),this.remove(i)}this.subscriptions=null}this.destination.next(e)}}var UG=F(87274),FG=F(43489),Xb=F(5430),dk=F(41177);function Yb(...n){const t=n[n.length-1];return"function"==typeof t&&n.pop(),(0,sO.n)(n,void 0).lift(new VG(t))}class VG{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new zG(t,this.resultSelector))}}class zG extends FG.L{constructor(t,e,a=Object.create(null)){super(t),this.resultSelector=e,this.iterators=[],this.active=0,this.resultSelector="function"==typeof e?e:void 0}_next(t){const e=this.iterators;(0,oO.k)(t)?e.push(new qG(t)):"function"==typeof t[Xb.hZ]?e.push(new EG(t[Xb.hZ]())):e.push(new HG(this.destination,this,t))}_complete(){const t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(let a=0;a<e;a++){let r=t[a];r.stillUnsubscribed?this.destination.add(r.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const t=this.iterators,e=t.length,a=this.destination;for(let o=0;o<e;o++){let s=t[o];if("function"==typeof s.hasValue&&!s.hasValue())return}let r=!1;const i=[];for(let o=0;o<e;o++){let s=t[o],l=s.next();if(s.hasCompleted()&&(r=!0),l.done)return void a.complete();i.push(l.value)}this.resultSelector?this._tryresultSelector(i):a.next(i),r&&a.complete()}_tryresultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(a){return void this.destination.error(a)}this.destination.next(e)}}class EG{constructor(t){this.iterator=t,this.nextResult=t.next()}hasValue(){return!0}
1next(){const t=this.nextResult;return this.nextResult=this.iterator.next(),t}hasCompleted(){const t=this.nextResult;return Boolean(t&&t.done)}}class qG{constructor(t){this.array=t,this.index=0,this.length=0,this.length=t.length}[Xb.hZ](){return this}next(t){const e=this.index++,a=this.array;return e<this.length?{value:a[e],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class HG extends dk.Ds{constructor(t,e,a){super(t),this.parent=e,this.observable=a,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[Xb.hZ](){return this}next(){const t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(t){this.buffer.push(t),this.parent.checkIterators()}subscribe(){return(0,dk.ft)(this.observable,new dk.IY(this))}}var cO=F(36787),BG=F(61221);var Sn=F(7625),Ja=F(92198),lr=F(72986),uk=F(1059),Qb=F(75778),pk=F(87545),$b=F(2994),hk=F(87168),dO=F(18583),GG
1=F(31307),KG=F(88117);function WG(n,t){}function JG(n,t){if(1&n&&(m.TgZ(0,"button",3),m._uU(1),m.YNc(2,WG,0,0,"ng-template",4),m.qZA()),2&n){const e=t.$implicit;m.Q6J("ngbPanelToggle",e),m.xp6(1),m.hij(" ",e.title,""),m.xp6(1),m.Q6J("ngTemplateOutlet",null==e.titleTpl?null:e.titleTpl.templateRef)}}function ZG(n,t){}function XG(n,t){}function YG(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"div",8),m.NdJ("ngbRef",function(r){m.CHM(e);return m.oxw().$implicit.panelDiv=r}),m.TgZ(1,"div",9),m.YNc(2,XG,0,0,"ng-template",4),m.qZA()()}if(2&n){const e=m.oxw().$implicit;m.s9C("id",e.id),m.uIk("aria-labelledby",e.id+"-header"),m.xp6(2),m.Q6J("ngTemplateOutlet",(null==e.contentTpl?null:e.contentTpl.templateRef)||null)}}const QG=function(n,t){return{$implicit:n,opened:t}};function $G(n,t){if(1&n&&(m.TgZ(0,"div")(1,"div",5),m.YNc(2,ZG,0,0,"ng-template",6),m.qZA(),m.YNc(3,YG,3,3,"div",7),m.qZA()),2&n){const e=t.$implicit,a=m.oxw(),r=m.MAs(1);m.Tol("card "+(e.cardClass||"")),m.xp6(1),m.Tol("card-header "+(e.type?"bg-"+e.type:a.type?"bg-"+a.type:"")),m.MGl("id","",e.id,"-header"),m.xp6(1),m.Q6J("ngTemplateOutlet",(null==e.headerTpl?null:e.headerTpl.templateRef)||r)("ngTemplateOutletContext",m.WLB(8,QG,e,e.isOpen)),m.xp6(1),m.Q6J("ngIf",!a.destroyOnHide||e.isOpen||e.transitionRunning)}}function tK(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"button",1),m.NdJ("click",function(){return m.CHM(e),m.oxw().close()}),m.TgZ(1,"span",2),m._uU(2,"\xd7"),m.qZA()()}}const Wu=["*"];function eK(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"li",6),m.NdJ("click",function(){const i=m.CHM(e).$implicit,o=m.oxw();return o.focus(),o.select(i.id,o.NgbSlideEventSource.INDICATOR)}),m.qZA()}if(2&n){const e=t.$implicit,a=m.oxw();m.ekj("active",e.id===a.activeId),m.uIk("aria-labelledby","slide-"+e.id)("aria-controls","slide-"+e.id)("aria-selected",e.id===a.activeId)}}function nK(n,t){}function aK(n,t){if(1&n&&(m.TgZ(0,"div",7)(1,"span",8),m.SDv(2,9),m.qZA(),m.YNc(3,nK,0,0,"ng-template",10),m.qZA()),2&n){const e=t.$implicit,a=t.index,r=t.count;m.Q6J("id","slide-"+e.id),m.xp6(2),m.pQV(a+1)(r),m.QtT(2),m.xp6(1),m.Q6J("ngTemplateOutlet",e.tplRef)}}function rK(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"a",11),m.NdJ("click",function(){return m.CHM(e),m.oxw().arrowLeft()}),m._UZ(1,"span",12),m.TgZ(2,"span",8),m.SDv(3,13),m.qZA()()}}function iK(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"a",14),m.NdJ("click",function(){return m.CHM(e),m.oxw().arrowRight()}),m._UZ(1,"span",15),m.TgZ(2,"span",8),m.SDv(3,16),m.qZA()()}}const sK=["month"],lK=["year"];function cK(n,t){if(1&n&&(m.TgZ(0,"option",5),m._uU(1),m.qZA()),2&n){const e=t.$implicit,a=m.oxw();m.Q6J("value",e),m.uIk("aria-label",a.i18n.getMonthFullName(e,null==a.date?null:a.date.year)),m.xp6(1),m.Oqu(a.i18n.getMonthShortName(e,null==a.date?null:a.date.year))}}function dK(n,t){if(1&n&&(m.TgZ(0,"option",5),m._uU(1),m.qZA()),2&n){const e=t.$implicit,a=m.oxw();m.Q6J("value",e),m.xp6(1),m.Oqu(a.i18n.getYearNumerals(e))}}function uK(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"ngb-datepicker-navigation-select",7),m.NdJ("select",function(r){return m.CHM(e),m.oxw().select.emit(r)}),m.qZA()}if(2&n){const e=m.oxw();m.Q6J("date",e.date)("disabled",e.disabled)("months",e.selectBoxes.months)("years",e.selectBoxes.years)}}function pK(n,t){1&n&&m._UZ(0,"div",0)}function hK(n,t){1&n&&m._UZ(0,"div",0)}function mK(n,t){if(1&n&&(m.YNc(0,pK,1,0,"div",9),m.TgZ(1,"div",10),m._uU(2),m.qZA(),m.YNc(3,hK,1,0,"div",9)),2&n){const e=t.$implicit,a=t.index,r=m.oxw(2);m.Q6J("ngIf",a>0),m.xp6(2),m.hij(" ",r.i18n.getMonthLabel(e.firstDate)," "),m.xp6(1),m.Q6J("ngIf",a!==r.months.length-1)}}function fK(n,t){if(1&n&&m.YNc(0,mK,4,3,"ng-template",8),2&n){const e=m.oxw();m.Q6J("ngForOf",e.months)}}const gK=["defaultDayTemplate"],vK=["content"];function AK(n,t){if(1&n&&m._UZ(0,"div",7),2&n){const e=t.date,a=t.currentMonth,r=t.selected,i=t.disabled,o=t.focused;m.Q6J("date",e)("currentMonth",a)("selected",r)("disabled",i)("focused",o)}}function yK(n,t){if(1&n&&(m.TgZ(0,"div",12),m._uU(1),m.qZA()),2&n){const e=m.oxw().$implicit,a=m.oxw(2);m.xp6(1),m.hij(" ",a.i18n.getMonthLabel(e.firstDate)," ")}}function bK(n,t){if(1&n&&(m.TgZ(0,"div",9),m.YNc(1,yK,2,1,"div",10),m._UZ(2,"ngb-datepicker-month",11),m.qZA()),2&n){const e=t.$implicit,a=m.oxw(2);m.xp6(1),m.Q6J("ngIf","none"===a.navigation||a.displayMonths>1&&"select"===a.navigation),m.xp6(1),m.Q6J("month",e.firstDate)}}function _K(n,t){if(1&n&&m.YNc(0,bK,3,2,"div",8),2&n){const e=m.oxw();m.Q6J("ngForOf",e.model.months)}}function xK(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"ngb-datepicker-navigation",13),m.NdJ("navigate",function(r){return m.CHM(e),m.oxw().onNavigateEvent(r)})("select",function(r){return m.CHM(e),m.oxw().onNavigateDateSelect(r)}),m.qZA()}if(2&n){const e=m.oxw();m.Q6J("date",e.model.firstDate)("months",e.model.months)("disabled",e.model.disabled)("showSelect","select"===e.model.navigation)("prevDisabled",e.model.prevDisabled)("nextDisabled",e.model.nextDisabled)("selectBoxes",e.model.selectBoxes)}}function SK(n,t){}function wK(n,t){}function kK(n,t){if(1&n&&(m.TgZ(0,"div",5),m._uU(1),m.qZA()),2&n){const e=m.oxw(2);m.xp6(1),m.Oqu(e.i18n.getWeekLabel())}}function CK(n,t){if(1&n&&(m.TgZ(0,"div",6),m._uU(1),m.qZA()),2&n){const e=t.$implicit;m.xp6(1),m.Oqu(e)}}function DK(n,t){if(1&n&&(m.TgZ(0,"div",2),m.YNc(1,kK,2,1,"div",3),m.YNc(2,CK,2,1,"div",4),m.qZA()),2&n){const e=m.oxw();m.xp6(1),m.Q6J("ngIf",e.datepicker.showWeekNumbers),m.xp6(1),m.Q6J("ngForOf",e.viewModel.weekdays)}}function TK(n,t){if(1&n&&(m.TgZ(0,"div",11),m._uU(1),m.qZA()),2&n){const e=m.oxw(2).$implicit,a=m.oxw();
1m.xp6(1),m.Oqu(a.i18n.getWeekNumerals(e.number))}}function PK(n,t){}function IK(n,t){if(1&n&&m.YNc(0,PK,0,0,"ng-template",14),2&n){const e=m.oxw().$implicit,a=m.oxw(3);m.Q6J("ngTemplateOutlet",a.datepicker.dayTemplate)("ngTemplateOutletContext",e.context)}}function MK(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"div",12),m.NdJ("click",function(r){const o=m.CHM(e).$implicit;return m.oxw(3).doSelect(o),r.preventDefault()}),m.YNc(1,IK,1,2,"ng-template",13),m.qZA()}if(2&n){const e=t.$implicit;m.ekj("disabled",e.context.disabled)("hidden",e.hidden)("ngb-dp-today",e.context.today),m.Q6J("tabindex",e.tabindex),m.uIk("aria-label",e.ariaLabel),m.xp6(1),m.Q6J("ngIf",!e.hidden)}}function OK(n,t){if(1&n&&(m.TgZ(0,"div",8),m.YNc(1,TK,2,1,"div",9),m.YNc(2,MK,2,9,"div",10),m.qZA()),2&n){const e=m.oxw().$implicit,a=m.oxw();m.xp6(1),m.Q6J("ngIf",a.datepicker.showWeekNumbers),m.xp6(1),m.Q6J("ngForOf",e.days)}}function RK(n,t){if(1&n&&m.YNc(0,OK,3,2,"div",7),2&n){const e=t.$implicit;m.Q6J("ngIf",!e.collapsed)}}const LK=["dialog"];function UK(n,t){}const FK=function(n){return{$implicit:n}};function VK(n,t){if(1&n&&(m.TgZ(0,"div",2),m.YNc(1,UK,0,0,"ng-template",3),m.qZA()),2&n){const e=m.oxw().$implicit,a=m.oxw();m.Q6J("item",e)("nav",a.nav)("role",a.paneRole),m.xp6(1),m.Q6J("ngTemplateOutlet",(null==e.contentTpl?null:e.contentTpl.templateRef)||null)("ngTemplateOutletContext",m.VKq(5,FK,e.active||a.isPanelTransitioning(e)))}}function zK(n,t){if(1&n&&m.YNc(0,VK,2,7,"div",1),2&n){const e=t.$implicit,a=m.oxw();m.Q6J("ngIf",e.isPanelInDom()||a.isPanelTransitioning(e))}}function EK(n,t){1&n&&(m.TgZ(0,"span",9),m.SDv(1,10),m.qZA())}function qK(n,t){1&n&&(m.TgZ(0,"span",9),m.SDv(1,11),m.qZA())}function HK(n,t){1&n&&(m.TgZ(0,"span",9),m.SDv(1,12),m.qZA())}function BK(n,t){1&n&&(m.TgZ(0,"span",9),m.SDv(1,13),m.qZA())}function jK(n,t){1&n&&m._uU(0,"...")}function GK(n,t){1&n&&(m.TgZ(0,"span",15),m._uU(1,"(current)"),m.qZA())}function KK(n,t){if(1&n&&(m._uU(0),m.YNc(1,GK,2,0,"span",14)),2&n){const e=t.$implicit,a=t.currentPage;m.hij(" ",e," "),m.xp6(1),m.Q6J("ngIf",e===a)}}function WK(n,t){}const JK=function(n){return{disabled:!0,currentPage:n}};function ZK(n,t){if(1&n&&(m.TgZ(0,"a",20),m.YNc(1,WK,0,0,"ng-template",8),m.qZA()),2&n){const e=m.oxw(2).$implicit,a=m.oxw(),r=m.MAs(9);m.xp6(1),m.Q6J("ngTemplateOutlet",(null==a.tplEllipsis?null:a.tplEllipsis.templateRef)||r)("ngTemplateOutletContext",m.VKq(2,JK,e))}}function XK(n,t){}const YK=function(n,t,e){return{disabled:n,$implicit:t,currentPage:e}};function QK(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"a",21),m.NdJ("click",function(r){m.CHM(e);const i=m.oxw().$implicit;return m.oxw(2).selectPage(i),r.preventDefault()}),m.YNc(1,XK,0,0,"ng-template",8),m.qZA()}if(2&n){const e=m.oxw().$implicit,a=m.oxw(),r=a.disabled,i=a.$implicit,o=m.oxw(),s=m.MAs(11);m.uIk("tabindex",r?"-1":null)("aria-disabled",r?"true":null),m.xp6(1),m.Q6J("ngTemplateOutlet",(null==o.tplNumber?null:o.tplNumber.templateRef)||s)("ngTemplateOutletContext",m.kEZ(4,YK,r,e,i))}}function $K(n,t){if(1&n&&(m.TgZ(0,"li",17),m.YNc(1,ZK,2,4,"a",18),m.YNc(2,QK,2,8,"a",19),m.qZA()),2&n){const e=t.$implicit,a=m.oxw(),r=a.$implicit,i=a.disabled,o=m.oxw();m.ekj("active",e===r)("disabled",o.isEllipsis(e)||i),m.uIk("aria-current",e===r?"page":null),m.xp6(1),m.Q6J("ngIf",o.isEllipsis(e)),m.xp6(1),m.Q6J("ngIf",!o.isEllipsis(e))}}function tW(n,t){if(1&n&&m.YNc(0,$K,3,7,"li",16),2&n){const e=t.pages;m.Q6J("ngForOf",e)}}function eW(n,t){}const mk=function(n,t){return{disabled:n,currentPage:t}};function nW(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"li",17)(1,"a",22),m.NdJ("click",function(r){return m.CHM(e),m.oxw().selectPage(1),r.preventDefault()}),m.YNc(2,eW,0,0,"ng-template",8),m.qZA()()}if(2&n){const e=m.oxw(),a=m.MAs(1);m.ekj("disabled",e.previousDisabled()),m.xp6(1),m.uIk("tabindex",e.previousDisabled()?"-1":null)("aria-disabled",e.previousDisabled()?"true":null),m.xp6(1),m.Q6J("ngTemplateOutlet",(null==e.tplFirst?null:e.tplFirst.templateRef)||a)("ngTemplateOutletContext",m.WLB(6,mk,e.previousDisabled(),e.page))}}function aW(n,t){}const rW=function(n){return{disabled:n}};function iW(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"li",17)(1,"a",23),m.NdJ("click",function(r){m.CHM(e);const i=m.oxw();return i.selectPage(i.page-1),r.preventDefault()}),m.YNc(2,aW,0,0,"ng-template",8),m.qZA()()}if(2&n){const e=m.oxw(),a=m.MAs(3);m.ekj("disabled",e.previousDisabled()),m.xp6(1),m.uIk("tabindex",e.previousDisabled()?"-1":null)("aria-disabled",e.previousDisabled()?"true":null),m.xp6(1),m.Q6J("ngTemplateOutlet",(null==e.tplPrevious?null:e.tplPrevious.templateRef)||a)("ngTemplateOutletContext",m.VKq(6,rW,e.previousDisabled()))}}function oW(n,t){}function sW(n,t){}function lW(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"li",17)(1,"a",24),m.NdJ("click",function(r){m.CHM(e);const i=m.oxw();return i.selectPage(i.page+1),r.preventDefault()}),m.YNc(2,sW,0,0,"ng-template",8),m.qZA()()}if(2&n){const e=m.oxw(),a=m.MAs(5);m.ekj("disabled",e.nextDisabled()),m.xp6(1),m.uIk("tabindex",e.nextDisabled()?"-1":null)("aria-disabled",e.nextDisabled()?"true":null),m.xp6(1),m.Q6J("ngTemplateOutlet",(null==e.tplNext?null:e.tplNext.templateRef)||a)("ngTemplateOutletContext",m.WLB(6,mk,e.nextDisabled(),e.page))}}function cW(n,t){}function dW(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"li",17)(1,"a",25),m.NdJ("click",function(r){m.CHM(e);const i=m.oxw();return i.selectPage(i.pageCount),r.preventDefault()}),m.YNc(2,cW,0,0,"ng-template",8),m.qZA()()}if(2&n){const e=m.oxw(),a=m.MAs(7);m.ekj("disabled",e.nextDisabled()),m.xp6(1),m.uIk("tabindex",e.nextDisabled()?"-1":null)("aria-disabled",e.nextDisabled()?"true":null),m.xp6(1),m.Q6J("ngTemplateOutlet",(null==e.tplLast?null:e.tplLast.templateRef)||a)("ngTemplateOutletContext",m.WLB(6,mk,e.nextDisabled(),e.page))}}const uW=function(n,t,e){return{$implicit:n,pages:t,disabled:e}};function pW(n,t){if(1&n&&m._uU(0),2&n){const e=m.oxw(2);m.Oqu(e.title)}}function hW(n,t){}function mW(n,t){if(1&n&&(m.TgZ(0,"h3",3),m.YNc(1,pW,1,1,"ng-template",null,4,m.W1O),m.YNc(3,hW,0,0,"ng-template",5),m.qZA()),2&n){const e=m.MAs(2),a=m.oxw();m.xp6(3),m.Q6J("ngTemplateOutlet",a.isTitleTemplate()?a.title:e)("ngTemplateOutletContext",a.
1context)}}function fW(n,t){if(1&n&&(m.TgZ(0,"span"),m.SDv(1,2),m.ALo(2,"percent"),m.qZA()),2&n){const e=m.oxw();m.xp6(2),m.pQV(m.lcZ(2,1,e.getValue()/e.max)),m.QtT(1)}}function gW(n,t){if(1&n&&m._uU(0),2&n){const e=t.fill;m.Oqu(100===e?"\u2605":"\u2606")}}function vW(n,t){}function AW(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"span",2),m._uU(1),m.qZA(),m.TgZ(2,"span",3),m.NdJ("mouseenter",function(){const i=m.CHM(e).index;return m.oxw().enter(i+1)})("click",function(){const i=m.CHM(e).index;return m.oxw().handleClick(i+1)}),m.YNc(3,vW,0,0,"ng-template",4),m.qZA()}if(2&n){const e=t.index,a=m.oxw(),r=m.MAs(1);m.xp6(1),m.hij("(",e<a.nextRate?"*":" ",")"),m.xp6(1),m.Udp("cursor",a.isInteractive()?"pointer":"default"),m.xp6(1),m.Q6J("ngTemplateOutlet",a.starTemplate||a.starTemplateFromContent||r)("ngTemplateOutletContext",a.contexts[e])}}function yW(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"button",11),m.NdJ("click",function(){m.CHM(e);const r=m.oxw();return r.changeHour(r.hourStep)}),m._UZ(1,"span",12),m.TgZ(2,"span",13),m.SDv(3,14),m.qZA()()}if(2&n){const e=m.oxw();m.ekj("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),m.Q6J("disabled",e.disabled)}}function bW(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"button",11),m.NdJ("click",function(){m.CHM(e);const r=m.oxw();return r.changeHour(-r.hourStep)}),m._UZ(1,"span",15),m.TgZ(2,"span",13),m.SDv(3,16),m.qZA()()}if(2&n){const e=m.oxw();m.ekj("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),m.Q6J("disabled",e.disabled)}}function _W(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"button",11),m.NdJ("click",function(){m.CHM(e);const r=m.oxw();return r.changeMinute(r.minuteStep)}),m._UZ(1,"span",12),m.TgZ(2,"span",13),m.SDv(3,17),m.qZA()()}if(2&n){const e=m.oxw();m.ekj("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),m.Q6J("disabled",e.disabled)}}function xW(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"button",11),m.NdJ("click",function(){m.CHM(e);const r=m.oxw();return r.changeMinute(-r.minuteStep)}),m._UZ(1,"span",15),m.TgZ(2,"span",13),m.SDv(3,18),m.qZA()()}if(2&n){const e=m.oxw();m.ekj("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),m.Q6J("disabled",e.disabled)}}function SW(n,t){1&n&&(m.TgZ(0,"div",5),m._uU(1,":"),m.qZA())}function wW(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"button",11),m.NdJ("click",function(){m.CHM(e);const r=m.oxw(2);return r.changeSecond(r.secondStep)}),m._UZ(1,"span",12),m.TgZ(2,"span",13),m.SDv(3,21),m.qZA()()}if(2&n){const e=m.oxw(2);m.ekj("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),m.Q6J("disabled",e.disabled)}}function kW(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"button",11),m.NdJ("click",function(){m.CHM(e);const r=m.oxw(2);return r.changeSecond(-r.secondStep)}),m._UZ(1,"span",15),m.TgZ(2,"span",13),m.SDv(3,22),m.qZA()()}if(2&n){const e=m.oxw(2);m.ekj("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),m.Q6J("disabled",e.disabled)}}function CW(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"div",19),m.YNc(1,wW,4,7,"button",3),m.TgZ(2,"input",20),m.NdJ("change",function(r){return m.CHM(e),m.oxw().updateSecond(r.target.value)})("blur",function(){return m.CHM(e),m.oxw().handleBlur()})("input",function(r){return m.CHM(e),m.oxw().formatInput(r.target)})("keydown.ArrowUp",function(r){m.CHM(e);const i=m.oxw();return i.changeSecond(i.secondStep),r.preventDefault()})("keydown.ArrowDown",function(r){m.CHM(e);const i=m.oxw();return i.changeSecond(-i.secondStep),r.preventDefault()}),m.qZA(),m.YNc(3,kW,4,7,"button",3),m.qZA()}if(2&n){const e=m.oxw();m.xp6(1),m.Q6J("ngIf",e.spinners),m.xp6(1),m.ekj("form-control-sm",e.isSmallSize)("form-control-lg",e.isLargeSize),m.Q6J("value",e.formatMinSec(null==e.model?null:e.model.second))("readOnly",e.readonlyInputs)("disabled",e.disabled),m.xp6(1),m.Q6J("ngIf",e.spinners)}}function DW(n,t){1&n&&m._UZ(0,"div",5)}function TW(n,t){if(1&n&&(m.ynx(0),m.SDv(1,27),m.BQk()),2&n){const e=m.oxw(2);m.xp6(1),m.pQV(e.i18n.getAfternoonPeriod()),m.QtT(1)}}function PW(n,t){if(1&n&&m.SDv(0,28),2&n){const e=m.oxw(2);m.pQV(e.i18n.getMorningPeriod()),m.QtT(0)}}function IW(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"div",23)(1,"button",24),m.NdJ("click",function(){return m.CHM(e),m.oxw().toggleMeridian()}),m.YNc(2,TW,2,1,"ng-container",25),m.YNc(3,PW,1,1,"ng-template",null,26,m.W1O),m.qZA()()}if(2&n){const e=m.MAs(4),a=m.oxw();
1m.xp6(1),m.ekj("btn-sm",a.isSmallSize)("btn-lg",a.isLargeSize)("disabled",a.disabled),m.Q6J("disabled",a.disabled),m.xp6(1),m.Q6J("ngIf",a.model&&a.model.hour>=12)("ngIfElse",e)}}function MW(n,t){if(1&n&&(m.TgZ(0,"strong",3),m._uU(1),m.qZA()),2&n){const e=m.oxw();m.xp6(1),m.Oqu(e.header)}}function OW(n,t){}function RW(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"div",4),m.YNc(1,OW,0,0,"ng-template",5),m.TgZ(2,"button",6),m.NdJ("click",function(){return m.CHM(e),m.oxw().hide()}),m.TgZ(3,"span",7),m._uU(4,"\xd7"),m.qZA()()()}if(2&n){const e=m.oxw(),a=m.MAs(1);m.xp6(1),m.Q6J("ngTemplateOutlet",e.contentHeaderTpl||a)}}function LW(n,t){if(1&n&&(m.TgZ(0,"span"),m._uU(1),m.qZA()),2&n){const e=m.oxw().$implicit,a=m.oxw();m.Tol(a.highlightClass),m.xp6(1),m.Oqu(e)}}function NW(n,t){if(1&n&&m._uU(0),2&n){const e=m.oxw().$implicit;m.Oqu(e)}}function UW(n,t){if(1&n&&(m.YNc(0,LW,2,3,"span",1),m.YNc(1,NW,1,1,"ng-template",null,2,m.W1O)),2&n){const e=t.odd,a=m.MAs(2);m.Q6J("ngIf",e)("ngIfElse",a)}}function FW(n,t){if(1&n&&m._UZ(0,"ngb-highlight",2),2&n){const e=t.result,a=t.term,r=t.formatter;m.Q6J("result",r(e))("term",a)}}function VW(n,t){}const zW=function(n,t,e){return{result:n,term:t,formatter:e}};function EW(n,t){if(1&n){const e=m.EpF();m.TgZ(0,"button",3),m.NdJ("mouseenter",function(){const i=m.CHM(e).index;return m.oxw().markActive(i)})("click",function(){const i=m.CHM(e).$implicit;return m.oxw().select(i)}),m.YNc(1,VW,0,0,"ng-template",4),m.qZA()}if(2&n){const e=t.$implicit,a=t.index,r=m.oxw(),i=m.MAs(1);m.ekj("active",a===r.activeIdx),m.Q6J("id",r.id+"-"+a),m.xp6(1),m.Q6J("ngTemplateOutlet",r.resultTemplate||i)("ngTemplateOutletContext",m.kEZ(5,zW,e,r.term,r.formatter))}}function oa(n){return parseInt(`${n}`,10)}function tg(n){return null!=n?`${n}`:""}function t0(n,t,e=0){return Math.max(Math.min(n,t),e)}function e0(n){return"string"==typeof n}function ln(n){return!isNaN(oa(n))}function He(n){return"number"==typeof n&&isFinite(n)&&Math.floor(n)===n}function Ls(n){return null!=n}function Ju(n){return ln(n)?`0${n}`.slice(-2):""}function uO(n,t){return n&&n.className&&n.className.split&&n.className.split(/\s+/).indexOf(t)>=0}function Zu(n){return(n||document.body).getBoundingClientRect()}function pO(n){return n.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}typeof Element<"u"&&!Element.prototype.closest&&(Element.prototype.closest=function(n){let t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(n))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});const hO={animation:!0,transitionTimerDelayMs:5},KW=()=>{},{transitionTimerDelayMs:WW}=hO,eg=new Map,jn=(n,t,e,a)=>{let r=a.context||{};const i=eg.get(t);if(i)switch(a.runningTransition){case"continue":return MG.E;case"stop":n.run(()=>i.transition$.complete()),r=Object.assign(i.context,r),eg.delete(t)}const o=e(t,a.animation,r)||KW;if(!a.animation||"none"===window.getComputedStyle(t).transitionProperty)return n.run(()=>o()),(0,Ka.of)(void 0).pipe(function jW(n){return t=>new rO.y(e=>t.subscribe({next:o=>n.run(()=>e.next(o)),error:o=>n.run(()=>e.error(o)),complete:()=>n.run(()=>e.complete())}))}(n));const s=new Vn.xQ,l=new Vn.xQ,c=s.pipe(function jG(...n){return t=>(0,BG.z)(t,(0,Ka.of)(...n))}(!0));eg.set(t,{transition$:s,complete:()=>{l.next(),l.complete()},context:r});const d=function GW(n){const{transitionDelay:t,transitionDuration:e}=window.getComputedStyle(n);return 1e3*(parseFloat(t)+parseFloat(e))}(t);return n.runOutsideAngular(()=>{const u=(0,ba.R)(t,"transitionend").pipe((0,Sn.R)(c),(0,Ja.h)(({target:f})=>f===t));lO((0,iO.H)(d+WW).pipe((0,Sn.R)(c)),u,l).pipe((0,Sn.R)(c)).subscribe(()=>{eg.delete(t),n.run(()=>{o(),s.next(),s.complete()})})}),s.asObservable()};const fk=(n,t,e)=>{let{direction:a,maxHeight:r}=e;const{classList:i}=n;function o(){i.add("collapse"),"show"===a?i.add("show"):i.remove("show")}if(t)return r||(r=function ZW(n){if(typeof navigator>"u")return"0px";const{classList:t}=n,e=t.contains("show");e||t.add("show"),n.style.height="";const a=n.getBoundingClientRect().height+"px";return e||t.remove("show"),a}(n),e.maxHeight=r,n.style.height="show"!==a?r:"0px",i.remove("collapse"),i.remove("collapsing"),i.remove("show"),Zu(n),i.add("collapsing")),n.style.height="show"===a?r:"0px",()=>{o(),i.remove("collapsing"),n.style.height=""};o()};class Za{constructor(){this.animation=hO.animation}}Za.\u0275fac=function(t){return new(t||Za)},Za.\u0275prov=m.Yz7({token:Za,factory:Za.\u0275fac,providedIn:"root"});class Xu{constructor(t){this._ngbConfig=t,this.closeOthers=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}Xu.\u0275fac=function(t){return new(t||Xu)(m.LFG(Za))},Xu.\u0275prov=m.Yz7({token:Xu,factory:Xu.\u0275fac,providedIn:"root"});let XW=0;class xo{constructor(t){this.templateRef=t}}xo.\u0275fac=function(t){return new(t||xo)(m.Y36(m.Rgc))},xo.\u0275dir=m.lG2({type:xo,selectors:[["ng-template","ngbPanelHeader",""]]});class Ns{constructor(t){this.templateRef=t}}Ns.\u0275fac=function(t){return new(t||Ns)(m.Y36(m.Rgc))},Ns.\u0275dir=m.lG2({type:Ns,selectors:[["ng-template","ngbPanelTitle",""]]});class Us{constructor(t){this.templateRef=t}}Us.\u0275fac=function(t){return new(t||Us)(m.Y36(m.Rgc))},Us.\u0275dir=m.lG2({type:Us,selectors:[["ng-template","ngbPanelContent",""]]});class So{constructor(){this.disabled=!1,this.id="ngb-panel-"+XW++,this.isOpen=!1,this.initClassDone=!1,this.transitionRunning=!1,this.shown=new m.vpe,this.hidden=new m.vpe}ngAfterContentChecked(){this.titleTpl=this.titleTpls.first,this.headerTpl=this.headerTpls.first,this.contentTpl=this.contentTpls.first}}So.\u0275fac=function(t){return new(t||So)},So.\u0275dir=m.lG2({type:So,selectors:[["ngb-panel"]],contentQueries:function(t,e,a){if(1&t&&(m.Suo(a,Ns,4),m.Suo(a,xo,4),m.Suo(a,Us,4)),2&t){let r;m.iGM(r=m.CRH())&&(e.titleTpls=r),m.iGM(r=m.CRH())&&(e.headerTpls=r),m.iGM(r=m.CRH())&&(e.contentTpls=r)}}
1,inputs:{disabled:"disabled",id:"id",title:"title",type:"type",cardClass:"cardClass"},outputs:{shown:"shown",hidden:"hidden"}});class Yu{constructor(t){this._El=t,this.ngbRef=new m.vpe}ngOnInit(){this.ngbRef.emit(this._El.nativeElement)}ngOnDestroy(){this.ngbRef.emit(null)}}Yu.\u0275fac=function(t){return new(t||Yu)(m.Y36(m.SBq))},Yu.\u0275dir=m.lG2({type:Yu,selectors:[["","ngbRef",""]],outputs:{ngbRef:"ngbRef"}});class Fs{constructor(t,e,a){this._ngZone=e,this._changeDetector=a,this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new m.vpe,this.shown=new m.vpe,this.hidden=new m.vpe,this.animation=t.animation,this.type=t.type,this.closeOtherPanels=t.closeOthers}isExpanded(t){return this.activeIds.indexOf(t)>-1}expand(t){this._changeOpenState(this._findPanelById(t),!0)}expandAll(){this.closeOtherPanels?0===this.activeIds.length&&this.panels.length&&this._changeOpenState(this.panels.first,!0):this.panels.forEach(t=>this._changeOpenState(t,!0))}collapse(t){this._changeOpenState(this._findPanelById(t),!1)}collapseAll(){this.panels.forEach(t=>{this._changeOpenState(t,!1)})}toggle(t){const e=this._findPanelById(t);e&&this._changeOpenState(e,!e.isOpen)}ngAfterContentChecked(){e0(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this.panels.forEach(t=>{t.isOpen=!t.disabled&&this.activeIds.indexOf(t.id)>-1}),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0],!1),this._updateActiveIds()),this._ngZone.onStable.pipe((0,lr.q)(1)).subscribe(()=>{this.panels.forEach(t=>{const e=t.panelDiv;e?t.initClassDone||(t.initClassDone=!0,jn(this._ngZone,e,fk,{animation:!1,runningTransition:"continue",context:{direction:t.isOpen?"show":"hide"}})):t.initClassDone=!1})})}_changeOpenState(t,e){if(null!=t&&!t.disabled&&t.isOpen!==e){let a=!1;this.panelChange.emit({panelId:t.id,nextState:e,preventDefault:()=>{a=!0}}),a||(t.isOpen=e,t.transitionRunning=!0,e&&this.closeOtherPanels&&this._closeOthers(t.id),this._updateActiveIds(),this._runTransitions(this.animation))}}_closeOthers(t,e=!0){this.panels.forEach(a=>{a.id!==t&&a.isOpen&&(a.isOpen=!1,a.transitionRunning=e)})}_findPanelById(t){return this.panels.find(e=>e.id===t)||null}_updateActiveIds(){this.activeIds=this.panels.filter(t=>t.isOpen&&!t.disabled).map(t=>t.id)}_runTransitions(t){this._changeDetector.detectChanges(),this.panels.forEach(e=>{if(e.transitionRunning){const a=e.panelDiv;jn(this._ngZone,a,fk,{animation:t,runningTransition:"stop",context:{direction:e.isOpen?"show":"hide"}}).subscribe(()=>{e.transitionRunning=!1;const{id:r}=e;e.isOpen?(e.shown.emit(),this.shown.emit(r)):(e.hidden.emit(),this.hidden.emit(r))})}})}}Fs.\u0275fac=function(t){return new(t||Fs)(m.Y36(Xu),m.Y36(m.R0b),m.Y36(m.sBO))},Fs.\u0275cmp=m.Xpm({type:Fs,selectors:[["ngb-accordion"]],contentQueries:function(t,e,a){if(1&t&&m.Suo(a,So,4),2&t){let r;m.iGM(r=m.CRH())&&(e.panels=r)}},hostAttrs:["role","tablist",1,"accordion"],hostVars:1,hostBindings:function(t,e){2&t&&m.uIk("aria-multiselectable",!e.closeOtherPanels)},inputs:{animation:"animation",activeIds:"activeIds",closeOtherPanels:["closeOthers","closeOtherPanels"],destroyOnHide:"destroyOnHide",type:"type"},outputs:{panelChange:"panelChange",shown:"shown",hidden:"hidden"},exportAs:["ngbAccordion"],decls:3,vars:1,consts:[["ngbPanelHeader",""],["t",""],["ngFor","",3,"ngForOf"],[1,"btn","btn-link",3,"ngbPanelToggle"],[3,"ngTemplateOutlet"],["role","tab",3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tabpanel",3,"id","ngbRef",4,"ngIf"],["role","tabpanel",3,"id","ngbRef"],[1,"card-body"]],template:function(t,e){1&t&&(m.YNc(0,JG,3,3,"ng-template",0,1,m.W1O),m.YNc(2,$G,4,11,"ng-template",2)),2&t&&(m.xp6(2),m.Q6J("ngForOf",e.panels))},directives:function(){return[xo,Vs,Q.tP,Q.sg,Q.O5,Yu]},encapsulation:2});class Vs{constructor(t,e){this.accordion=t,this.panel=e}set ngbPanelToggle(t){t&&(this.panel=t)}}Vs.\u0275fac=function(t){return new(t||Vs)(m.Y36(Fs),m.Y36(So,9))},Vs.\u0275dir=m.lG2({type:Vs,selectors:[["button","ngbPanelToggle",""]],hostAttrs:["type","button"],hostVars:5,hostBindings:function(t,e){1&t&&m.NdJ("click",function(){return e.accordion.toggle(e.panel.id)}),2&t&&(m.Ikx("disabled",e.panel.disabled),m.uIk("aria-expanded",e.panel.isOpen)("aria-controls",e.panel.id),m.ekj("c
1ollapsed",!e.panel.isOpen))},inputs:{ngbPanelToggle:"ngbPanelToggle"}});class wo{}wo.\u0275fac=function(t){return new(t||wo)},wo.\u0275mod=m.oAB({type:wo,declarations:[Yu,Fs,So,Ns,Us,xo,Vs],imports:[Q.ez],exports:[Fs,So,Ns,Us,xo,Vs]}),wo.\u0275inj=m.cJS({imports:[[Q.ez]]});const YW=({classList:n})=>{n.remove("show")};class Qu{constructor(t){this._ngbConfig=t,this.dismissible=!0,this.type="warning"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}Qu.\u0275fac=function(t){return new(t||Qu)(m.LFG(Za))},Qu.\u0275prov=m.Yz7({token:Qu,factory:Qu.\u0275fac,providedIn:"root"});class $u{constructor(t,e,a,r){this._renderer=e,this._element=a,this._zone=r,this.closed=new m.vpe,this.dismissible=t.dismissible,this.type=t.type,this.animation=t.animation}close(){const t=jn(this._zone,this._element.nativeElement,YW,{animation:this.animation,runningTransition:"continue"});return t.subscribe(()=>this.closed.emit()),t}ngOnChanges(t){const e=t.type;e&&!e.firstChange&&(this._renderer.removeClass(this._element.nativeElement,`alert-${e.previousValue}`),this._renderer.addClass(this._element.nativeElement,`alert-${e.currentValue}`))}ngOnInit(){this._renderer.addClass(this._element.nativeElement,`alert-${this.type}`)}}$u.\u0275fac=function(t){return new(t||$u)(m.Y36(Qu),m.Y36(m.Qsj),m.Y36(m.SBq),m.Y36(m.R0b))},$u.\u0275cmp=m.Xpm({type:$u,selectors:[["ngb-alert"]],hostAttrs:["role","alert",1,"alert","show"],hostVars:4,hostBindings:function(t,e){2&t&&m.ekj("fade",e.animation)("alert-dismissible",e.dismissible)},inputs:{animation:"animation",dismissible:"dismissible",type:"type"},outputs:{closed:"closed"},exportAs:["ngbAlert"],features:[m.TTD],ngContentSelectors:Wu,decls:2,vars:1,consts:function(){let n;return n=$localize`:@@ngb.alert.close:Close`,[["type","button","class","close","aria-label",n,3,"click",4,"ngIf"],["type","button","aria-label",n,1,"close",3,"click"],["aria-hidden","true"]]},template:function(t,e){1&t&&(m.F$t(),m.Hsn(0),m.YNc(1,tK,3,0,"button",0)),2&t&&(m.xp6(1),m.Q6J("ngIf",e.dismissible))},directives:[Q.O5],styles:["ngb-alert{display:block}\n"],encapsulation:2,changeDetection:0});class ko{}ko.\u0275fac=function(t){return new(t||ko)},ko.\u0275mod=m.oAB({type:ko,declarations:[$u],imports:[Q.ez],exports:[$u]}),ko.\u0275inj=m.cJS({imports:[[Q.ez]]});class Co{}Co.\u0275fac=function(t){return new(t||Co)},Co.\u0275dir=m.lG2({type:Co,selectors:[["","ngbButtonLabel",""]],hostVars:8,hostBindings:function(t,e){2&t&&m.ekj("btn",!0)("active",e.active)("disabled",e.disabled)("focus",e.focused)}});class zs{constructor(t,e){this._label=t,this._cd=e,this.disabled=!1,this.valueChecked=!0,this.valueUnChecked=!1,this.onChange=a=>{},this.onTouched=()=>{}}set focused(t){this._label.focused=t,t||this.onTouched()}onInputChange(t){const e=t.target.checked?this.valueChecked:this.valueUnChecked;this.onChange(e),this.onTouched(),this.writeValue(e)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._label.disabled=t}writeValue(t){this.checked=t===this.valueChecked,this._label.active=this.checked,this._cd.markForCheck()}}zs.\u0275fac=function(t){return new(t||zs)(m.Y36(Co),m.Y36(m.sBO))},zs.\u0275dir=m.lG2({type:zs,selectors:[["","ngbButton","","type","checkbox"]],hostVars:2,hostBindings:function(t,e){1&t&&m.NdJ("change",function(r){return e.onInputChange(r)})("focus",function(){return e.focused=!0})("blur",function(){return e.focused=!1}),2&t&&m.Ikx("checked",e.checked)("disabled",e.disabled)},inputs:{disabled:"disabled",valueChecked:"valueChecked",valueUnChecked:"valueUnChecked"},features:[m._Bn([{provide:V.JU,useExisting:(0,m.Gpc)(()=>zs),multi:!0}])]});let QW=0;class Do{constructor(){this._radios=new Set,this._value=null,this.name="ngb-radio-"+QW++,this.onChange=t=>{},this.onTouched=()=>{}}get disabled(){return this._disabled}set disabled(t){this.setDisabledState(t)}onRadioChange(t){this.writeValue(t.value),this.onChange(t.value)}onRadioValueUpdate(){this._updateRadiosValue()}register(t){this._radios.add(t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._disabled=t,this._updateRadiosDisabled()}unregister(t){this._radios.delete(t)}writeValue(t){this._value=t,this._updateRadiosValue()}_updateRadiosValue(){this._radios.forEach(t=>t.updateValue(this._value))}_updateRadiosDisabled(){this._radios.forEach(t=>t.updateDisabled())}}Do.\u0275fac=function(t){return new(t||Do)},Do.\u0275dir=m.lG2({type:Do,selectors:[["","ngbRadioGroup",""]],hostAttrs:["role","radiogroup"],inputs:{name:"name"},features:[m._Bn([{provide:V.JU,useExisting:(0,m.Gpc)(()=>Do),multi:!0}])]});class bc{constructor(t,e,a,r,i){this._group=t,this._label=e,this._renderer=a,this._element=r,this._cd=i,this._value=null,this._group.register(this),this.updateDisabled()}set value(t){this._value=t;const e=t?t.toString():"";this._renderer.setProperty(this._element.nativeElement,"value",e),this._group.onRadioValueUpdate()}set disabled(t){this._disabled=!1!==t,this.updateDisabled()}set focused(t){this._label&&(this._label.focused=t),t||this._group.onTouched()}get checked(){return this._checked}get disabled(){return this._group.disabled||this._disabled}get value(){return this._value}get nameAttr(){return this.name||this._group.name}ngOnDestroy(){this._group.unregister(this)}onChange(){this._group.onRadioChange(this)}updateValue(t){this.value!==t&&this._cd.markForCheck(),this._checked=this.value===t,this._label.active=this._checked}updateDisabled(){this._label.disabled=this.disabled}}bc.\u0275fac=function(t){return new(t||bc)(m.Y36(Do),m.Y36(Co),m.Y36(m.Qsj),m.Y36(m.SBq),m.Y36(m.sBO))},bc.\u0275dir=m.lG2({type:bc,selectors:[["","ngbButton","","type","radio"]],hostVars:3,hostBindings:function(t,e){1&t&&m.NdJ("change",function(){return e.onChange()})("focus",function(){return e.focused=!0})("blur",function(){return e.focused=!1}),2&t&&m.Ikx("checked",e.checked)("disabled",e.disabled)("name",e.nameAttr)},inputs:{name:"name",value:"value",disabled:"disabled"}});class To{}var _c;To.\u0275fac=function(t){return new(t||To)},To.\u0275mod=m.oAB({type:To,declarations:[Co,zs,Do,bc],exports:[Co,zs,Do,bc]}),To.\u0275inj=m.cJS({}),function(n){n.LEFT="left",n.RIGHT="right"}(_c||(_c={}));const mO=({classList:n})=>n.contains("carousel-item-left")||n.contains("carousel-item-right"),ng=n=>{n.remove("carousel-item-left"),n.remove("carousel-item-right")},n0=n=>{ng(n),n.remove("carousel-item-prev"),n.remove("carousel-item-next")},$W=(n,t,{direction:e})=>{const{classList:a}=n;return t?(mO(n)?ng(a):(a.add("carousel-item-"+(e===_c.LEFT?"next":"prev")),Zu(n),a.add("carousel-item-"+e)),()=>{n0(a),a.add("active")}):(ng(a),n0(a),void a.add("active"))},tJ=(n,t,{direction:e})=>{const{classList:a}=n;return t?(mO(n)?ng(a):a.add("carousel-item-"+e),()=>{n0(a),a.remove("active")}):(ng(a),n0(a),void a.remove("active"))};class tp{constructor(t){this._ngbConfig=t,this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.pauseOnFocus=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}tp.\u0275fac=function(t){return new(t||tp)(m.LFG(Za))}
1,tp.\u0275prov=m.Yz7({token:tp,factory:tp.\u0275fac,providedIn:"root"});let eJ=0;class Es{constructor(t){this.tplRef=t,this.id="ngb-slide-"+eJ++,this.slid=new m.vpe}}Es.\u0275fac=function(t){return new(t||Es)(m.Y36(m.Rgc))},Es.\u0275dir=m.lG2({type:Es,selectors:[["ng-template","ngbSlide",""]],inputs:{id:"id"},outputs:{slid:"slid"}});class xc{constructor(t,e,a,r,i){this._platformId=e,this._ngZone=a,this._cd=r,this._container=i,this.NgbSlideEventSource=ep,this._destroy$=new Vn.xQ,this._interval$=new wt.X(0),this._mouseHover$=new wt.X(!1),this._focused$=new wt.X(!1),this._pauseOnHover$=new wt.X(!1),this._pauseOnFocus$=new wt.X(!1),this._pause$=new wt.X(!1),this._wrap$=new wt.X(!1),this.slide=new m.vpe,this.slid=new m.vpe,this._transitionIds=null,this.animation=t.animation,this.interval=t.interval,this.wrap=t.wrap,this.keyboard=t.keyboard,this.pauseOnHover=t.pauseOnHover,this.pauseOnFocus=t.pauseOnFocus,this.showNavigationArrows=t.showNavigationArrows,this.showNavigationIndicators=t.showNavigationIndicators}set interval(t){this._interval$.next(t)}get interval(){return this._interval$.value}set wrap(t){this._wrap$.next(t)}get wrap(){return this._wrap$.value}set pauseOnHover(t){this._pauseOnHover$.next(t)}get pauseOnHover(){return this._pauseOnHover$.value}set pauseOnFocus(t){this._pauseOnFocus$.next(t)}get pauseOnFocus(){return this._pauseOnFocus$.value}set mouseHover(t){this._mouseHover$.next(t)}get mouseHover(){return this._mouseHover$.value}set focused(t){this._focused$.next(t)}get focused(){return this._focused$.value}arrowLeft(){this.focus(),this.prev(ep.ARROW_LEFT)}arrowRight(){this.focus(),this.next(ep.ARROW_RIGHT)}ngAfterContentInit(){(0,Q.NF)(this._platformId)&&this._ngZone.runOutsideAngular(()=>{const t=(0,Xf.aj)([this.slide.pipe((0,ya.U)(e=>e.current),(0,uk.O)(this.activeId)),this._wrap$,this.slides.changes.pipe((0,uk.O)(null))]).pipe((0,ya.U)(([e,a])=>{const r=this.slides.toArray(),i=this._getSlideIdxById(e);return a?r.length>1:i<r.length-1}),(0,Qb.x)());(0,Xf.aj)([this._pause$,this._pauseOnHover$,this._mouseHover$,this._pauseOnFocus$,this._focused$,this._interval$,t]).pipe((0,ya.U)(([e,a,r,i,o,s,l])=>e||a&&r||i&&o||!l?0:s),(0,Qb.x)(),(0,pk.w)(e=>e>0?(0,iO.H)(e,e):UG.C),(0,Sn.R)(this._destroy$)).subscribe(()=>this._ngZone.run(()=>this.next(ep.TIMER)))}),this.slides.changes.pipe((0,Sn.R)(this._destroy$)).subscribe(()=>{this._transitionIds?.forEach(t=>(n=>{eg.get(n)?.complete()})(this._getSlideElement(t))),this._transitionIds=null,this._cd.markForCheck(),this._ngZone.onStable.pipe((0,lr.q)(1)).subscribe(()=>{for(const{id:t}of this.slides){const e=this._getSlideElement(t);t===this.activeId?e.classList.add("active"):e.classList.remove("active")}})})}ngAfterContentChecked(){let t=this._getSlideById(this.activeId);this.activeId=t?t.id:this.slides.length?this.slides.first.id:""}ngAfterViewInit(){if(this.activeId){const t=this._getSlideElement(this.activeId);t&&t.classList.add("active")}}ngOnDestroy(){this._destroy$.next()}select(t,e){this._cycleToSelected(t,this._getSlideEventDirection(this.activeId,t),e)}prev(t){this._cycleToSelected(this._getPrevSlide(this.activeId),_c.RIGHT,t)}next(t){this._cycleToSelected(this._getNextSlide(this.activeId),_c.LEFT,t)}pause(){this._pause$.next(!0)}cycle(){this._pause$.next(!1)}focus(){this._container.nativeElement.focus()}_cycleToSelected(t,e,a){const r=this._transitionIds;if(r&&(r[0]!==t||r[1]!==this.activeId))return;let i=this._getSlideById(t);if(i&&i.id!==this.activeId){this._transitionIds=[this.activeId,t],this.slide.emit({prev:this.activeId,current:i.id,direction:e,paused:this._pause$.value,source:a});const o={animation:this.animation,runningTransition:"stop",context:{direction:e}},s=[],l=this._getSlideById(this.activeId);if(l){const h=jn(this._ngZone,this._getSlideElement(l.id),tJ,o);h.subscribe(()=>{l.slid.emit({isShown:!1,direction:e,source:a})}),s.push(h)}const c=this.activeId;this.activeId=i.id;const d=this._getSlideById(this.activeId),u=jn(this._ngZone,this._getSlideElement(i.id),$W,o);u.subscribe(()=>{d?.slid.emit({isShown:!0,direction:e,source:a})}),s.push(u),Yb(...s).pipe((0,lr.q)(1)).subscribe(()=>{this._transitionIds=null,this.slid.emit({prev:c,current:i.id,direction:e,paused:this._pause$.value,source:a})})}this._cd.markForCheck()}_getSlideEventDirection(t,e){return this._getSlideIdxById(t)>this._getSlideIdxById(e)?_c.RIGHT:_c.LEFT}_getSlideById(t){return this.slides.find(e=>e.id===t)||null}_getSlideIdxById(t){const e=this._getSlideById(t);return null!=e?this.slides.toArray().indexOf(e):-1}_getNextSlide(t){const e=this.slides.toArray(),a=this._getSlideIdxById(t);return a===e.length-1?this.wrap?e[0].id:e[e.length-1].id:e[a+1].id}_getPrevSlide(t){const e=this.slides.toArray(),a=this._getSlideIdxById(t);return 0===a?this.wrap?e[e.length-1].id:e[0].id:e[a-1].id}_getSlideElement(t){return this._container.nativeElement.querySelector(`#slide-${t}`)}}var ep;xc.\u0275fac=function(t){return new(t||xc)(m.Y36(tp),m.Y36(m.Lbi),m.Y36(m.R0b),m.Y36(m.sBO),m.Y36(m.SBq))},xc.\u0275cmp=m.Xpm({type:xc,selectors:[["ngb-carousel"]],contentQueries:function(t,e,a){if(1&t&&m.Suo(a,Es,4),2&t){let r;m.iGM(r=m.CRH())&&(e.slides=r)}},hostAttrs:["tabIndex","0",1,"carousel","slide"],hostVars:3,hostBindings:function(t,e){1&t&&m.NdJ("keydown.arrowLeft",function(){return e.keyboard&&e.arrowLeft()})("keydown.arrowRight",function(){return e.keyboard&&e.arrowRight()})("mouseenter",function(){return e.mouseHover=!0})("mouseleave",function(){return e.mouseHover=!1})("focusin",function(){return e.focused=!0})("focusout",function(){return e.focused=!1}),2&t&&(m.uIk("aria-activedescendant","slide-"+e.activeId),m.Udp("display","block"))},inputs:{animation:"animation",activeId:"activeId",interval:"interval",wrap:"wrap",keyboard:"keyboard",pauseOnHover:"pauseOnHover",pauseOnFocus:"pauseOnFocus",showNavigationArrows:"showNavigationArrows",showNavigationIndicators:"showNavigationIndicators"},outputs:{slide:"slide",slid:"slid"},exportAs:["ngbCarousel"],decls:6,vars:6,consts:function(){let n,t,e;return n=$localize`:Currently selected slide number read by screen reader@@ngb.carousel.slide-number: Slide ${"\ufffd0\ufffd"}:INTERPOLATION: of ${"\ufffd1\ufffd"}:INTERPOLATION_1: `,t=$localize`:@@ngb.carousel.previous:Previous`,e=$localize`:@@ngb.carousel.next:Next`,[["role","tablist",1,"carousel-indicators"],["role","tab",3,"active","click",4,"ngFor","ngForOf"],[1,"carousel-inner"],["class","carousel-item","role","tabpanel",3,"id",4,"ngFor","ngForOf"],["class","carousel-control-prev","role","button",3,"click",4,"ngIf"],["class","carousel-control-next","role","button",3,"click",4,"ngIf"],["role","tab",3,"click"],["role","tabpanel",1,"carousel-item",3,"id"],[1,"sr-only"],n,[3,"ngTemplateOutlet"],["role","button",1,"carousel-control-prev",3,"click"],["aria-hidden","true",1,"carousel-control-prev-icon"],t,["role","button",1,"carousel-control-next",3,"click"],["aria-hidden","true",1,"carousel-control-next-icon"],e]},template:function(t,e){1&t&&(m.TgZ(0,"ol",0),m.YNc(1,eK,1,5,"li",1),m.qZA(),m.TgZ(2,"div",2),m.YNc(3,aK,4,4,"div",3),m.qZA(),m.YNc(4,rK,4,0,"a",4),m.YNc(5,iK,4,0,"a",5)),2&t&&(m.ekj("sr-only",!e.showNavigationIndicators),m.xp6(1),m.Q6J("ngForOf",e.slides),m.xp6(2),m.Q6J("ngForOf",e.slides),m.xp6(1),m.Q6J("ngIf",e.showNavigationArrows),m.xp6(1),m.Q6J("ngIf",e.showNavigationArrows))},directives:[Q.sg,Q.tP,Q.O5],encapsulation:2,changeDetection:0}),function(n){n.TIMER="timer",n.ARROW_LEFT="arrowLeft",n.ARROW_RIGHT="arrowRight",n.INDICATOR="indicator"}(ep||(ep={}));class Po{}
1Po.\u0275fac=function(t){return new(t||Po)},Po.\u0275mod=m.oAB({type:Po,declarations:[xc,Es],imports:[Q.ez],exports:[xc,Es]}),Po.\u0275inj=m.cJS({imports:[[Q.ez]]});class np{constructor(t){this._ngbConfig=t}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}np.\u0275fac=function(t){return new(t||np)(m.LFG(Za))},np.\u0275prov=m.Yz7({token:np,factory:np.\u0275fac,providedIn:"root"});class ap{constructor(t,e,a){this._element=t,this._zone=a,this.collapsed=!1,this.ngbCollapseChange=new m.vpe,this.shown=new m.vpe,this.hidden=new m.vpe,this.animation=e.animation}ngOnInit(){this._runTransition(this.collapsed,!1)}ngOnChanges({collapsed:t}){t.firstChange||this._runTransitionWithEvents(this.collapsed,this.animation)}toggle(t=this.collapsed){this.collapsed=!t,this.ngbCollapseChange.next(this.collapsed),this._runTransitionWithEvents(this.collapsed,this.animation)}_runTransition(t,e){return jn(this._zone,this._element.nativeElement,fk,{animation:e,runningTransition:"stop",context:{direction:t?"hide":"show"}})}_runTransitionWithEvents(t,e){this._runTransition(t,e).subscribe(()=>{t?this.hidden.emit():this.shown.emit()})}}ap.\u0275fac=function(t){return new(t||ap)(m.Y36(m.SBq),m.Y36(np),m.Y36(m.R0b))},ap.\u0275dir=m.lG2({type:ap,selectors:[["","ngbCollapse",""]],inputs:{animation:"animation",collapsed:["ngbCollapse","collapsed"]},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],features:[m.TTD]});class Io{}Io.\u0275fac=function(t){return new(t||Io)},Io.\u0275mod=m.oAB({type:Io,declarations:[ap],exports:[ap]}),Io.\u0275inj=m.cJS({});class pn{constructor(t,e,a){this.year=He(t)?t:null,this.month=He(e)?e:null,this.day=He(a)?a:null}static from(t){return t instanceof pn?t:t?new pn(t.year,t.month,t.day):null}equals(t){return null!=t&&this.year===t.year&&this.month===t.month&&this.day===t.day}before(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day<t.day:this.month<t.month:this.year<t.year)}after(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day>t.day:this.month>t.month:this.year>t.year)}}function rp(n,t){return!function nJ(n,t){return!n&&!t||!!n&&!!t&&n.equals(t)}(n,t)}function fO(n,t){return!(!n&&!t)&&(!n||!t||(n.year!==t.year||n.month!==t.month))}function a0(n,t,e){return n&&t&&n.before(t)?t:n&&e&&n.after(e)?e:n||null}function gk(n,t){const{minDate:e,maxDate:a,disabled:r,markDisabled:i}=t;return!(null==n||r||i&&i(n,{year:n.year,month:n.month})||e&&n.before(e)||a&&n.after(a))}function lJ(n,t,e,a,r){const{displayMonths:i,months:o}=e,s=o.splice(0,o.length);return Array.from({length:i},(c,d)=>{const u=Object.assign(n.getNext(t,"m",d),{day:1});if(o[d]=null,!r){const h=s.findIndex(f=>f.firstDate.equals(u));-1!==h&&(o[d]=s.splice(h,1)[0])}return u}).forEach((c,d)=>{null===o[d]&&(o[d]=function cJ(n,t,e,a,r={}){const{dayTemplateData:i,minDate:o,maxDate:s,firstDayOfWeek:l,markDisabled:c,outsideDays:d,weekdayWidth:u,weekdaysVisible:h}=e,f=n.getToday();r.firstDate=null,r.lastDate=null,r.number=t.month,r.year=t.year,r.weeks=r.weeks||[],r.weekdays=r.weekdays||[],t=function dJ(n,t,e){const a=n.getDaysPerWeek(),r=new pn(t.year,t.month,1),i=n.getWeekday(r)%a;return n.getPrev(r,"d",(a+i-e)%a)}(n,t,l),h||(r.weekdays.length=0);for(let v=0;v<n.getWeeksPerMonth();v++){let A=r.weeks[v];A||(A=r.weeks[v]={number:0,days:[],collapsed:!0});const b=A.days;for(let x=0;x<n.getDaysPerWeek();x++){0===v&&h&&(r.weekdays[x]=a.getWeekdayLabel(n.getWeekday(t),u));const S=new pn(t.year,t.month,t.day),k=n.getNext(S),D=a.getDayAriaLabel(S);let I=!!(o&&S.before(o)||s&&S.after(s));!I&&c&&(I=c(S,{month:r.number,year:r.year}));let M=S.equals(f),R=i?i(S,{month:r.number,year:r.year}):void 0;null===r.firstDate&&S.month===r.number&&(r.firstDate=S),S.month===r.number&&k.month!==r.number&&(r.lastDate=S);let N=b[x];N||(N=b[x]={}),N.date=S,N.context=Object.assign(N.context||{},{$implicit:S,date:S,data:R,currentMonth:r.number,currentYear:r.year,disabled:I,focused:!1,selected:!1,today:M}),N.tabindex=-1,N.ariaLabel=D,N.hidden=!1,t=k}A.number=n.getWeekNumber(b.map(x=>x.date),l),A.collapsed="collapsed"===d&&b[0].date.month!==r.number&&b[b.length-1].date.month!==r.number}return r}(n,c,e,a,s.shift()||{}))}),o}function vk(n){return new pn(n.getFullYear(),n.getMonth()+1,n.getDate())}function ag(n){const t=new Date(n.year,n.month-1,n.day,12);return isNaN(t.getTime())||t.setFullYear(n.year),t}class Qr{}Qr.\u0275fac=function(t){return new(t||Qr)},Qr.\u0275prov=m.Yz7({token:Qr,factory:function(){return function uJ(){return new qs}()},providedIn:"root"});class qs extends Qr{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(t,e="d",a=1){let r=ag(t),i=!0,o=r.getMonth();switch(e){case"y":r.setFullYear(r.getFullYear()+a);break;case"m":o+=a,r.setMonth(o),o%=12,o<0&&(o+=12);break;case"d":r.setDate(r.getDate()+a),i=!1;break;default:return t}return i&&r.getMonth()!==o&&r.setDate(0),vk(r)}getPrev(t,e="d",a=1){return this.getNext(t,e,-a)}getWeekday(t){let a=ag(t).getDay();return 0===a?7:a}getWeekNumber(t,e){7===e&&(e=0);const i=ag(t[(11-e)%7]);i.setDate(i.getDate()+4-(i.getDay()||7));const o=i.getTime();return i.setMonth(0),i.setDate(1),Math.floor(Math.round((o-i.getTime())/864e5)/7)+1}getToday(){return vk(new Date)}isValid(t){if(!(t&&He(t.year)&&He(t.month)&&He(t.day)&&0!==t.year))return!1;const e=ag(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year&&e.getMonth()+1===t.month&&e.getDate()===t.day}}qs.\u0275fac=function(){let n;return function(e){return(n||(n=m.n5z(qs)))(e||qs)}}(),qs.\u0275prov=m.Yz7({token:qs,factory:qs.\u0275fac});class wr{getMonthLabel(t){return`${this.getMonthFullName(t.month,t.year)} ${this.getYearNumerals(t.year)}`}getDayNumerals(t){return`${t.day}`}
1getWeekNumerals(t){return`${t}`}getYearNumerals(t){return`${t}`}getWeekLabel(){return""}}wr.\u0275fac=function(t){return new(t||wr)},wr.\u0275prov=m.Yz7({token:wr,factory:function(t){let e=null;return e=t?new t:function pJ(n){return new ip(n)}(m.LFG(m.soG)),e},providedIn:"root"});class ip extends wr{constructor(t){super(),this._locale=t,this._monthsShort=(0,Q.UT)(t,Q.x.Standalone,Q.Tn.Abbreviated),this._monthsFull=(0,Q.UT)(t,Q.x.Standalone,Q.Tn.Wide)}getWeekdayLabel(t,e){const a=(0,Q.Mn)(this._locale,Q.x.Standalone,void 0===e?Q.Tn.Short:e);return a.map((i,o)=>a[(o+1)%7])[t-1]||""}getMonthShortName(t){return this._monthsShort[t-1]||""}getMonthFullName(t){return this._monthsFull[t-1]||""}getDayAriaLabel(t){const e=new Date(t.year,t.month-1,t.day);return(0,Q.p6)(e,"fullDate",this._locale)}}ip.\u0275fac=function(t){return new(t||ip)(m.LFG(m.soG))},ip.\u0275prov=m.Yz7({token:ip,factory:ip.\u0275fac});class Hs{constructor(t,e){this._calendar=t,this._i18n=e,this._VALIDATORS={dayTemplateData:a=>{if(this._state.dayTemplateData!==a)return{dayTemplateData:a}},displayMonths:a=>{if(He(a=oa(a))&&a>0&&this._state.displayMonths!==a)return{displayMonths:a}},disabled:a=>{if(this._state.disabled!==a)return{disabled:a}},firstDayOfWeek:a=>{if(He(a=oa(a))&&a>=0&&this._state.firstDayOfWeek!==a)return{firstDayOfWeek:a}},focusVisible:a=>{if(this._state.focusVisible!==a&&!this._state.disabled)return{focusVisible:a}},markDisabled:a=>{if(this._state.markDisabled!==a)return{markDisabled:a}},maxDate:a=>{const r=this.toValidDate(a,null);if(rp(this._state.maxDate,r))return{maxDate:r}},minDate:a=>{const r=this.toValidDate(a,null);if(rp(this._state.minDate,r))return{minDate:r}},navigation:a=>{if(this._state.navigation!==a)return{navigation:a}},outsideDays:a=>{if(this._state.outsideDays!==a)return{outsideDays:a}},weekdays:a=>{const r=!0===a||!1===a?Q.Tn.Short:a,i=!0!==a&&!1!==a||a;if(this._state.weekdayWidth!==r||this._state.weekdaysVisible!==i)return{weekdayWidth:r,weekdaysVisible:i}}},this._model$=new Vn.xQ,this._dateSelect$=new Vn.xQ,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:Q.Tn.Short,weekdaysVisible:!0}}get model$(){return this._model$.pipe((0,Ja.h)(t=>t.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe((0,Ja.h)(t=>null!==t))}set(t){let e=Object.keys(t).map(a=>this._VALIDATORS[a](t[a])).reduce((a,r)=>({...a,...r}),{});Object.keys(e).length>0&&this._nextState(e)}focus(t){const e=this.toValidDate(t,null);null!=e&&!this._state.disabled&&rp(this._state.focusDate,e)&&this._nextState({focusDate:t})}focusSelect(){gk(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(t){const e=this.toValidDate(t,this._calendar.getToday());null!=e&&!this._state.disabled&&(!this._state.firstDate||fO(this._state.firstDate,e))&&this._nextState({firstDate:e})}select(t,e={}){const a=this.toValidDate(t,null);null!=a&&!this._state.disabled&&(rp(this._state.selectedDate,a)&&this._nextState({selectedDate:a}),e.emitEvent&&gk(a,this._state)&&this._dateSelect$.next(a))}toValidDate(t,e){const a=pn.from(t);return void 0===e&&(e=this._calendar.getToday()),this._calendar.isValid(a)?a:e}getMonth(t){for(let e of this._state.months)if(t.month===e.number&&t.year===e.year)return e;throw new Error(`month ${t.month} of year ${t.year} not found`)}_nextState(t){const e=this._updateState(t);this._patchContexts(e),this._state=e,this._model$.next(this._state)}_patchContexts(t){const{months:e,displayMonths:a,selectedDate:r,focusDate:i,focusVisible:o,disabled:s,outsideDays:l}=t;t.months.forEach(c=>{c.weeks.forEach(d=>{d.days.forEach(u=>{i&&(u.context.focused=i.equals(u.date)&&o),u.tabindex=!s&&i&&u.date.equals(i)&&i.month===c.number?0:-1,!0===s&&(u.context.disabled=!0),void 0!==r&&(u.context.selected=null!==r&&r.equals(u.date)),c.number!==u.date.month&&(u.hidden="hidden"===l||"collapsed"===l||a>1&&u.date.after(e[0].firstDate)&&u.date.before(e[a-1].lastDate))})})})}_updateState(t){const e=Object.assign({},this._state,t);let a=e.firstDate;if(("minDate"in t||"maxDate"in t)&&(function aJ(n,t){if(t&&n&&t.before(n))throw new Error(`'maxDate' ${t} should be greater than 'minDate' ${n}`)}(e.minDate,e.maxDate),e.focusDate=a0(e.focusDate,e.minDate,e.maxDate),e.firstDate=a0(e.firstDate,e.minDate,e.maxDate),a=e.focusDate),"disabled"in t&&(e.focusVisible=!1),"selectedDate"in t&&0===this._state.months.length&&(a=e.selectedDate),"focu
1sVisible"in t||"focusDate"in t&&(e.focusDate=a0(e.focusDate,e.minDate,e.maxDate),a=e.focusDate,0!==e.months.length&&e.focusDate&&!e.focusDate.before(e.firstDate)&&!e.focusDate.after(e.lastDate)))return e;if("firstDate"in t&&(e.firstDate=a0(e.firstDate,e.minDate,e.maxDate),a=e.firstDate),a){const r="dayTemplateData"in t||"firstDayOfWeek"in t||"markDisabled"in t||"minDate"in t||"maxDate"in t||"disabled"in t||"outsideDays"in t||"weekdaysVisible"in t,i=lJ(this._calendar,a,e,this._i18n,r);e.months=i,e.firstDate=i[0].firstDate,e.lastDate=i[i.length-1].lastDate,"selectedDate"in t&&!gk(e.selectedDate,e)&&(e.selectedDate=null),"firstDate"in t&&(!e.focusDate||e.focusDate.before(e.firstDate)||e.focusDate.after(e.lastDate))&&(e.focusDate=a);const o=!this._state.firstDate||this._state.firstDate.year!==e.firstDate.year,s=!this._state.firstDate||this._state.firstDate.month!==e.firstDate.month;"select"===e.navigation?(("minDate"in t||"maxDate"in t||0===e.selectBoxes.years.length||o)&&(e.selectBoxes.years=function iJ(n,t,e){if(!n)return[];const a=t?Math.max(t.year,n.year-500):n.year-10,i=(e?Math.min(e.year,n.year+500):n.year+10)-a+1,o=Array(i);for(let s=0;s<i;s++)o[s]=a+s;return o}(e.firstDate,e.minDate,e.maxDate)),("minDate"in t||"maxDate"in t||0===e.selectBoxes.months.length||o)&&(e.selectBoxes.months=function rJ(n,t,e,a){if(!t)return[];let r=n.getMonths(t.year);if(e&&t.year===e.year){const i=r.findIndex(o=>o===e.month);r=r.slice(i)}if(a&&t.year===a.year){const i=r.findIndex(o=>o===a.month);r=r.slice(0,i+1)}return r}(this._calendar,e.firstDate,e.minDate,e.maxDate))):e.selectBoxes={years:[],months:[]},("arrows"===e.navigation||"select"===e.navigation)&&(s||o||"minDate"in t||"maxDate"in t||"disabled"in t)&&(e.prevDisabled=e.disabled||function sJ(n,t,e){const a=Object.assign(n.getPrev(t,"m"),{day:1});return null!=e&&(a.year===e.year&&a.month<e.month||a.year<e.year&&1===e.month)}(this._calendar,e.firstDate,e.minDate),e.nextDisabled=e.disabled||function oJ(n,t,e){const a=Object.assign(n.getNext(t,"m"),{day:1});return null!=e&&a.after(e)}(this._calendar,e.lastDate,e.maxDate))}return e}}var rg,Me;Hs.\u0275fac=function(t){return new(t||Hs)(m.LFG(Qr),m.LFG(wr))},Hs.\u0275prov=m.Yz7({token:Hs,factory:Hs.\u0275fac}),function(n){n[n.PREV=0]="PREV",n[n.NEXT=1]="NEXT"}(rg||(rg={}));class Bs{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays=Q.Tn.Short}}Bs.\u0275fac=function(t){return new(t||Bs)},Bs.\u0275prov=m.Yz7({token:Bs,factory:Bs.\u0275fac,providedIn:"root"});class js{}js.\u0275fac=function(t){return new(t||js)},js.\u0275prov=m.Yz7({token:js,factory:function(){return function hJ(){return new Sc}()},providedIn:"root"});class Sc extends js{fromModel(t){return t&&He(t.year)&&He(t.month)&&He(t.day)?{year:t.year,month:t.month,day:t.day}:null}toModel(t){return t&&He(t.year)&&He(t.month)&&He(t.day)?{year:t.year,month:t.month,day:t.day}:null}}Sc.\u0275fac=function(){let n;return function(e){return(n||(n=m.n5z(Sc)))(e||Sc)}}(),Sc.\u0275prov=m.Yz7({token:Sc,factory:Sc.\u0275fac});class op{constructor(t){this.i18n=t}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}}op.\u0275fac=function(t){return new(t||op)(m.Y36(wr))},op.\u0275cmp=m.Xpm({type:op,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(t,e){2&t&&m.ekj("bg-primary",e.selected)("text-white",e.selected)("text-muted",e.isMuted())("outside",e.isMuted())("active",e.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},attrs:["ngbDatepickerDayView",""],decls:1,vars:1,template:function(t,e){1&t&&m._uU(0),2&t&&m.Oqu(e.i18n.getDayNumerals(e.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView].outside{opacity:.5}\n"],encapsulation:2,changeDetection:0});class sp{constructor(t,e){this.i18n=t,this._renderer=e,this.select=new m.vpe,this._month=-1,this._year=-1}changeMonth(t){this.select.emit(new pn(this.date.year,oa(t),1))}changeYear(t){this.select.emit(new pn(oa(t),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))}}sp.\u0275fac=function(t){return new(t||sp)(m.Y36(wr),m.Y36(m.Qsj))},sp.\u0275cmp=m.Xpm({type:sp,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(t,e){if(1&t&&(m.Gf(sK,7,m.SBq),m.Gf(lK,7,m.SBq)),2&t){let a;m.iGM(a=m.CRH())&&(e.monthSelect=a.first),m.iGM(a=m.CRH())&&(e.yearSelect=a.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},decls:6,vars:4,consts:function(){let n,t,e,a;return n=$localize`:@@ngb.datepicker.select-month:Select month`,t=$localize`:@@ngb.datepicker.select-month:Select month`,e=$localize`:@@ngb.datepicker.select-year:Select year`,a=$localize`:@@ngb.datepicker.select-year:Select year`,[["aria-label",n,"title",t,1,"custom-select",3,"disabled","change"],["month",""],[3,"value",4,"ngFor","ngForOf"],["aria-label",e,"title",a,1,"custom-select",3,"disabled","change"],["year",""],[3,"value"]]}
1,template:function(t,e){1&t&&(m.TgZ(0,"select",0,1),m.NdJ("change",function(r){return e.changeMonth(r.target.value)}),m.YNc(2,cK,2,3,"option",2),m.qZA(),m.TgZ(3,"select",3,4),m.NdJ("change",function(r){return e.changeYear(r.target.value)}),m.YNc(5,dK,2,2,"option",2),m.qZA()),2&t&&(m.Q6J("disabled",e.disabled),m.xp6(2),m.Q6J("ngForOf",e.months),m.xp6(1),m.Q6J("disabled",e.disabled),m.xp6(2),m.Q6J("ngForOf",e.years))},directives:[Q.sg,V.YN,V.Kr],styles:["ngb-datepicker-navigation-select>.custom-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.custom-select:focus{z-index:1}ngb-datepicker-navigation-select>.custom-select::-ms-value{background-color:transparent!important}\n"],encapsulation:2,changeDetection:0});class lp{constructor(t){this.i18n=t,this.navigation=rg,this.months=[],this.navigate=new m.vpe,this.select=new m.vpe}onClickPrev(t){t.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(t){t.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}}lp.\u0275fac=function(t){return new(t||lp)(m.Y36(wr))},lp.\u0275cmp=m.Xpm({type:lp,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},decls:8,vars:4,consts:function(){let n,t,e,a;return n=$localize`:@@ngb.datepicker.previous-month:Previous month`,t=$localize`:@@ngb.datepicker.previous-month:Previous month`,e=$localize`:@@ngb.datepicker.next-month:Next month`,a=$localize`:@@ngb.datepicker.next-month:Next month`,[[1,"ngb-dp-arrow"],["type","button","aria-label",n,"title",t,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-chevron"],["class","ngb-dp-navigation-select",3,"date","disabled","months","years","select",4,"ngIf"],[4,"ngIf"],[1,"ngb-dp-arrow","right"],["type","button","aria-label",e,"title",a,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years","select"],["ngFor","",3,"ngForOf"],["class","ngb-dp-arrow",4,"ngIf"],[1,"ngb-dp-month-name"]]},template:function(t,e){1&t&&(m.TgZ(0,"div",0)(1,"button",1),m.NdJ("click",function(r){return e.onClickPrev(r)}),m._UZ(2,"span",2),m.qZA()(),m.YNc(3,uK,1,4,"ngb-datepicker-navigation-select",3),m.YNc(4,fK,1,1,null,4),m.TgZ(5,"div",5)(6,"button",6),m.NdJ("click",function(r){return e.onClickNext(r)}),m._UZ(7,"span",2),m.qZA()()),2&t&&(m.xp6(1),m.Q6J("disabled",e.prevDisabled),m.xp6(2),m.Q6J("ngIf",e.showSelect),m.xp6(1),m.Q6J("ngIf",!e.showSelect),m.xp6(2),m.Q6J("disabled",e.nextDisabled))},directives:[sp,Q.O5,Q.sg],styles:["ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow.right{justify-content:flex-end}.ngb-dp-arrow.right .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem}\n"],encapsulation:2,changeDetection:0}),function(n){n[n.Tab=9]="Tab",n[n.Enter=13]="Enter",n[n.Escape=27]="Escape",n[n.Space=32]="Space",n[n.PageUp=33]="PageUp",n[n.PageDown=34]="PageDown",n[n.End=35]="End",n[n.Home=36]="Home",n[n.ArrowLeft=37]="ArrowLeft",n[n.ArrowUp=38]="ArrowUp",n[n.ArrowRight=39]="ArrowRight",n[n.ArrowDown=40]="ArrowDown"}(Me||(Me={}));class cp{processKey(t,e){const{state:a,calendar:r}=e;switch(t.which){case Me.PageUp:e.focusDate(r.getPrev(a.focusedDate,t.shiftKey?"y":"m",1));break;case Me.PageDown:e.focusDate(r.getNext(a.focusedDate,t.shiftKey?"y":"m",1));break;case Me.End:e.focusDate(t.shiftKey?a.maxDate:a.lastDate);break;
1case Me.Home:e.focusDate(t.shiftKey?a.minDate:a.firstDate);break;case Me.ArrowLeft:e.focusDate(r.getPrev(a.focusedDate,"d",1));break;case Me.ArrowUp:e.focusDate(r.getPrev(a.focusedDate,"d",r.getDaysPerWeek()));break;case Me.ArrowRight:e.focusDate(r.getNext(a.focusedDate,"d",1));break;case Me.ArrowDown:e.focusDate(r.getNext(a.focusedDate,"d",r.getDaysPerWeek()));break;case Me.Enter:case Me.Space:e.focusSelect();break;default:return}t.preventDefault(),t.stopPropagation()}}cp.\u0275fac=function(t){return new(t||cp)},cp.\u0275prov=m.Yz7({token:cp,factory:cp.\u0275fac,providedIn:"root"});class wc{constructor(t){this.templateRef=t}}wc.\u0275fac=function(t){return new(t||wc)(m.Y36(m.Rgc))},wc.\u0275dir=m.lG2({type:wc,selectors:[["ng-template","ngbDatepickerContent",""]]});class Mo{constructor(t,e,a,r,i,o,s,l){this._service=t,this._calendar=e,this.i18n=a,this._elementRef=o,this._ngbDateAdapter=s,this._ngZone=l,this._controlValue=null,this._destroyed$=new Vn.xQ,this._publicState={},this.navigate=new m.vpe,this.dateSelect=new m.vpe,this.onChange=c=>{},this.onTouched=()=>{},["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekNumbers","startDate","weekdays"].forEach(c=>this[c]=r[c]),t.dateSelect$.pipe((0,Sn.R)(this._destroyed$)).subscribe(c=>{this.dateSelect.emit(c)}),t.model$.pipe((0,Sn.R)(this._destroyed$)).subscribe(c=>{const d=c.firstDate,u=this.model?this.model.firstDate:null;this._publicState={maxDate:c.maxDate,minDate:c.minDate,firstDate:c.firstDate,lastDate:c.lastDate,focusedDate:c.focusDate,months:c.months.map(b=>b.firstDate)};let h=!1;if(!d.equals(u)&&(this.navigate.emit({current:u?{year:u.year,month:u.month}:null,next:{year:d.year,month:d.month},preventDefault:()=>h=!0}),h&&null!==u))return void this._service.open(u);const f=c.selectedDate,v=c.focusDate,A=this.model?this.model.focusDate:null;this.model=c,rp(f,this._controlValue)&&(this._controlValue=f,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(f))),rp(v,A)&&A&&c.focusVisible&&this.focus(),i.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}focusDate(t){this._service.focus(pn.from(t))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe((0,lr.q)(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');t&&t.focus()})}navigateTo(t){this._service.open(pn.from(t?t.day?t:{...t,day:1}:null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const t=(0,ba.R)(this._contentEl.nativeElement,"focusin"),e=(0,ba.R)(this._contentEl.nativeElement,"focusout"),{nativeElement:a}=this._elementRef;(0,cO.T)(t,e).pipe((0,Ja.h)(({target:r,relatedTarget:i})=>!(uO(r,"ngb-dp-day")&&uO(i,"ngb-dp-day")&&a.contains(r)&&a.contains(i))),(0,Sn.R)(this._destroyed$)).subscribe(({type:r})=>this._ngZone.run(()=>this._service.set({focusVisible:"focusin"===r})))})}ngOnDestroy(){this._destroyed$.next()}ngOnInit(){if(void 0===this.model){const t={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(e=>t[e]=this[e]),this._service.set(t),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(t){const e={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(a=>a in t).forEach(a=>e[a]=this[a]),this._service.set(e),"startDate"in t){const{currentValue:a,previousValue:r}=t.startDate;fO(r,a)&&this.navigateTo(this.startDate)}}onDateSelect(t){this._service.focus(t),this._service.select(t,{emitEvent:!0})}onNavigateDateSelect(t){this._service.open(t)}onNavigateEvent(t){switch(t){case rg.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case rg.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._service.set({disabled:t})}writeValue(t){this._controlValue=pn.from(this._ngbDateAdapter.fromModel(t)),this._service.select(this._controlValue)}}Mo.\u0275fac=function(t){return new(t||Mo)(m.Y36(Hs),m.Y36(Qr),m.Y36(wr),m.Y36(Bs),m.Y36(m.sBO),m.Y36(m.SBq),m.Y36(js),m.Y36(m.R0b))},Mo.\u0275cmp=m.Xpm({type:Mo,selectors:[["ngb-datepicker"]],contentQueries:function(t,e,a){if(1&t&&m.Suo(a,wc,7),2&t){let r;m.iGM(r=m.CRH())&&(e.contentTemplate=r.first)}},viewQuery:function(t,e){if(1&t&&(m.Gf(gK,7),m.Gf(vK,7)),2&t){let a;m.iGM(a=m.CRH())&&(e._defaultDayTemplate=a.first),m.iGM(a=m.CRH())&&(e._contentEl=a.first)}},inputs:{dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],features:[m._Bn([{provide:V.JU,useExisting:(0,m.Gpc)(()=>Mo),multi:!0},Hs]),m.TTD],decls:10,vars:5,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select",4,"ngIf"],[1,"ngb-dp-content"],["content",""],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],["class","ngb-dp-month",4,"ngFor","ngForOf"],[1,"ngb-dp-month"],["class","ngb-dp-month-name",4,"ngIf"],[3,"month"],[1,"ngb-dp-month-name"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select"]],template:function(t,e){if(1&t&&(m.YNc(0,AK,1,5,"ng-template",null,0,m.W1O),m.YNc(2,_K,1,1,"ng-template",null,1,m.W1O),m.TgZ(4,"div",2),m.YNc(5,xK,1,7,"ngb-datepicker-navigation",3),m.qZA(),m.TgZ(6,"div",4,5),m.YNc(8,SK,0,0,"ng-template",6),m.qZA(),m.YNc(9,wK,0,0,"ng-template",6)),2&t){const a=m.MAs(3);m.xp6(5),m.Q6J("ngIf","none"!==e.navigation),m.xp6(1),m.ekj("ngb-dp-months",!e.contentTemplate),m.xp6(2),m.Q6J("ngTemplateOutlet",(null==e.contentTemplate?null:e.contentTemplate.templateRef)||a),m.xp6(1),m.Q6J("ngTemplateOutlet",e.footerTemplate)}},directives:function(){return[op,kc,lp,Q.sg,Q.O5,Q.tP]},styles:["ngb-datepicker{border:1px solid #dfdfdf;border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}
1.ngb-dp-body{z-index:1050}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}\n"],encapsulation:2,changeDetection:0});class kc{constructor(t,e,a,r){this.i18n=t,this.datepicker=e,this._keyboardService=a,this._service=r}set month(t){this.viewModel=this._service.getMonth(t)}onKeyDown(t){this._keyboardService.processKey(t,this.datepicker)}doSelect(t){!t.context.disabled&&!t.hidden&&this.datepicker.onDateSelect(t.date)}}kc.\u0275fac=function(t){return new(t||kc)(m.Y36(wr),m.Y36(Mo),m.Y36(cp),m.Y36(Hs))},kc.\u0275cmp=m.Xpm({type:kc,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(t,e){1&t&&m.NdJ("keydown",function(r){return e.onKeyDown(r)})},inputs:{month:"month"},decls:2,vars:2,consts:[["class","ngb-dp-week ngb-dp-weekdays","role","row",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],["class","ngb-dp-weekday ngb-dp-showweek small",4,"ngIf"],["class","ngb-dp-weekday small","role","columnheader",4,"ngFor","ngForOf"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["class","ngb-dp-week","role","row",4,"ngIf"],["role","row",1,"ngb-dp-week"],["class","ngb-dp-week-number small text-muted",4,"ngIf"],["class","ngb-dp-day","role","gridcell",3,"disabled","tabindex","hidden","ngb-dp-today","click",4,"ngFor","ngForOf"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"tabindex","click"],[3,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(m.YNc(0,DK,3,2,"div",0),m.YNc(1,RK,1,1,"ng-template",1)),2&t&&(m.Q6J("ngIf",e.viewModel.weekdays.length>0),m.xp6(1),m.Q6J("ngForOf",e.viewModel.weeks))},directives:[Q.O5,Q.sg,Q.tP],styles:['ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:#5bc0de;color:var(--info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid rgba(0,0,0,.125);border-radius:0;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}\n'],encapsulation:2});const r0=(n,t)=>!!t&&t.some(e=>e.contains(n)),gO=(n,t)=>!t||null!=function BW(n,t){return!t||typeof n.closest>"u"?null:n.closest(t)}(n,t),mJ=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function ig(n,t,e,a,r,i,o,s){e&&n.runOutsideAngular((n=>mJ?()=>setTimeout(()=>n(),100):n)(()=>{const c=(0,ba.R)(t,"keydown").pipe((0,Sn.R)(r),(0,Ja.h)(h=>
1h.which===Me.Escape),(0,$b.b)(h=>h.preventDefault())),d=(0,ba.R)(t,"mousedown").pipe((0,ya.U)(h=>{const f=h.target;return 2!==h.button&&!r0(f,o)&&("inside"===e?r0(f,i)&&gO(f,s):"outside"===e?!r0(f,i):gO(f,s)||!r0(f,i))}),(0,Sn.R)(r)),u=(0,ba.R)(t,"mouseup").pipe((0,hk.M)(d),(0,Ja.h)(([h,f])=>f),(0,dO.g)(0),(0,Sn.R)(r));lO([c.pipe((0,ya.U)(h=>0)),u.pipe((0,ya.U)(h=>1))]).subscribe(h=>n.run(()=>a(h)))}))}const vO=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function AO(n){const t=Array.from(n.querySelectorAll(vO)).filter(e=>-1!==e.tabIndex);return[t[0],t[t.length-1]]}const yO=(n,t,e,a=!1)=>{n.runOutsideAngular(()=>{const r=(0,ba.R)(t,"focusin").pipe((0,Sn.R)(e),(0,ya.U)(i=>i.target));(0,ba.R)(t,"keydown").pipe((0,Sn.R)(e),(0,Ja.h)(i=>i.which===Me.Tab),(0,hk.M)(r)).subscribe(([i,o])=>{const[s,l]=AO(t);(o===s||o===t)&&i.shiftKey&&(l.focus(),i.preventDefault()),o===l&&!i.shiftKey&&(s.focus(),i.preventDefault())}),a&&(0,ba.R)(t,"click").pipe((0,Sn.R)(e),(0,hk.M)(r),(0,ya.U)(i=>i[1])).subscribe(i=>i.focus())})};const vJ=/\s+/,bO=new class gJ{getAllStyles(t){return window.getComputedStyle(t)}getStyle(t,e){return this.getAllStyles(t)[e]}isStaticPositioned(t){return"static"===(this.getStyle(t,"position")||"static")}offsetParent(t){let e=t.offsetParent||document.documentElement;for(;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement}position(t,e=!0){let a,r={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))a=t.getBoundingClientRect(),a={top:a.top,bottom:a.bottom,left:a.left,right:a.right,height:a.height,width:a.width};else{const i=this.offsetParent(t);a=this.offset(t,!1),i!==document.documentElement&&(r=this.offset(i,!1)),r.top+=i.clientTop,r.left+=i.clientLeft}return a.top-=r.top,a.bottom-=r.top,a.left-=r.left,a.right-=r.left,e&&(a.top=Math.round(a.top),a.bottom=Math.round(a.bottom),a.left=Math.round(a.left),a.right=Math.round(a.right)),a}offset(t,e=!0){const a=t.getBoundingClientRect(),r_top=window.scrollY-document.documentElement.clientTop,r_left=window.scrollX-document.documentElement.clientLeft;let i={height:a.height||t.offsetHeight,width:a.width||t.offsetWidth,top:a.top+r_top,bottom:a.bottom+r_top,left:a.left+r_left,right:a.right+r_left};return e&&(i.height=Math.round(i.height),i.width=Math.round(i.width),i.top=Math.round(i.top),i.bottom=Math.round(i.bottom),i.left=Math.round(i.left),i.right=Math.round(i.right)),i}positionElements(t,e,a,r){const[i="top",o="center"]=a.split("-"),s=r?this.offset(t,!1):this.position(t,!1),l=this.getAllStyles(e),c=parseFloat(l.marginTop),d=parseFloat(l.marginBottom),u=parseFloat(l.marginLeft),h=parseFloat(l.marginRight);let f=0,v=0;switch(i){case"top":f=s.top-(e.offsetHeight+c+d);break;case"bottom":f=s.top+s.height;break;case"left":v=s.left-(e.offsetWidth+u+h);break;case"right":v=s.left+s.width}switch(o){case"top":f=s.top;break;case"bottom":f=s.top+s.height-e.offsetHeight;break;case"left":v=s.left;break;case"right":v=s.left+s.width-e.offsetWidth;break;case"center":"top"===i||"bottom"===i?v=s.left+s.width/2-e.offsetWidth/2:f=s.top+s.height/2-e.offsetHeight/2}e.style.transform=`translate(${Math.round(v)}px, ${Math.round(f)}px)`;const A=e.getBoundingClientRect(),b=document.documentElement,x=window.innerHeight||b.clientHeight,S=window.innerWidth||b.clientWidth;return A.left>=0&&A.top>=0&&A.right<=S&&A.bottom<=x}};function og(n,t,e,a,r){let i=Array.isArray(e)?e:e.split(vJ);const o=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"],s=t.classList,l=f=>{const[v,A]=f.split("-"),b=[];return r&&(b.push(`${r}-${v}`),A&&b.push(`${r}-${v}-${A}`),b.forEach(x=>{s.add(x)})),b};r&&o.forEach(f=>{s.remove(`${r}-${f}`)});let c=i.findIndex(f=>"auto"===f);c>=0&&o.forEach(function(f){null==i.find(v=>-1!==v.search("^"+f))&&i.splice(c++,1,f)});const d=t.style;d.position="absolute",d.top="0",d.left="0",d["will-change"]="transform";let u=null,h=!1;for(u of i){let f=l(u);if(bO.positionElements(n,t,u,a)){h=!0;break}r&&f.forEach(v=>{s.remove(v)})}return h||(u=i[0],l(u),bO.positionElements(n,t,u,a)),u}class Gs extends Bs{constructor(){super(...arguments),this.autoClose=!0,this.placement=["bottom-left","bottom-right","top-left","top-right"],this.restoreFocus=!0}}Gs.\u0275fac=function(){let n;return function(e){return(n||(n=m.n5z(Gs)))(e||Gs)}}(),Gs.\u0275prov=m.Yz7({token:Gs,factory:Gs.\u0275fac,providedIn:"root"});class dp{}dp.\u0275fac=function(t){return new(t||dp)},dp.\u0275prov=m.Yz7({token:dp,factory:function(){return function AJ(){return new Cc}()},providedIn:"root"});class Cc extends dp{parse(t){if(null!=t){const e=t.trim().split("-");if(1===e.length&&ln(e[0]))return{year:oa(e[0]),month:null,day:null};if(2===e.length&&ln(e[0])&&ln(e[1]))return{year:oa(e[0]),month:oa(e[1]),day:null};if(3===e.length&&ln(e[0])&&ln(e[1])&&ln(e[2]))return{year:oa(e[0]),month:oa(e[1]),day:oa(e[2])}}return null}format(t){return t?`${t.year}-${ln(t.month)?Ju(t.month):""}-${ln(t.day)?Ju(t.day):""}`:""}}Cc.\u0275fac=function(){let n;return function(e){return(n||(n=m.n5z(Cc)))(e||Cc)}}(),Cc.\u0275prov=m.Yz7({token:Cc,factory:Cc.\u0275fac});class Ks{constructor(t,e,a,r,i,o,s,l,c,d){this._parserFormatter=t,this._elRef=e,this._vcRef=a,this._renderer=r,this._ngZone=i,this._calendar=o,this._dateAdapter=s,this._document=l,this._changeDetector=c,this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this.dateSelect=new m.vpe,this.navigate=new m.vpe,this.closed=new m.vpe,this._onChange=u=>{},this._onTouched=()=>{}
1,this._validatorChange=()=>{},["autoClose","container","positionTarget","placement"].forEach(u=>this[u]=d[u]),this._zoneSubscription=i.onStable.subscribe(()=>this._updatePopupPosition())}get disabled(){return this._disabled}set disabled(t){this._disabled=""===t||t&&"false"!==t,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}registerOnValidatorChange(t){this._validatorChange=t}setDisabledState(t){this.disabled=t}validate(t){const{value:e}=t;if(null!=e){const a=this._fromDateStruct(this._dateAdapter.fromModel(e));if(!a)return{ngbDate:{invalid:e}};if(this.minDate&&a.before(pn.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:e}}};if(this.maxDate&&a.after(pn.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:e}}}}return null}writeValue(t){this._model=this._fromDateStruct(this._dateAdapter.fromModel(t)),this._writeModelValue(this._model)}manualDateChange(t,e=!1){const a=t!==this._inputValue;a&&(this._inputValue=t,this._model=this._fromDateStruct(this._parserFormatter.parse(t))),(a||!e)&&this._onChange(this._model?this._dateAdapter.toModel(this._model):""===t?null:t),e&&this._model&&this._writeModelValue(this._model)}isOpen(){return!!this._cRef}open(){this.isOpen()||(this._cRef=this._vcRef.createComponent(Mo),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(t=>{this.writeValue(t),this._onChange(t),this._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,yO(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),this._cRef.instance.focus(),ig(this._ngZone,this._document,this.autoClose,()=>this.close(),this.closed,[],[this._elRef.nativeElement,this._cRef.location.nativeElement]))}close(){if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this.closed.emit(),this._changeDetector.markForCheck();let t=this._elWithFocus;e0(this.restoreFocus)?t=this._document.querySelector(this.restoreFocus):void 0!==this.restoreFocus&&(t=this.restoreFocus),t&&t.focus?t.focus():this._document.body.focus()}}toggle(){this.isOpen()?this.close():this.open()}navigateTo(t){this.isOpen()&&this._cRef.instance.navigateTo(t)}onBlur(){this._onTouched()}onFocus(){this._elWithFocus=this._elRef.nativeElement}ngOnChanges(t){if((t.minDate||t.maxDate)&&(this._validatorChange(),this.isOpen()&&(t.minDate&&(this._cRef.instance.minDate=this.minDate),t.maxDate&&(this._cRef.instance.maxDate=this.maxDate),this._cRef.instance.ngOnChanges(t))),t.datepickerClass){const{currentValue:e,previousValue:a}=t.datepickerClass;this._applyPopupClass(e,a)}}ngOnDestroy(){this.close(),this._zoneSubscription.unsubscribe()}_applyDatepickerInputs(t){["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekNumbers","weekdays"].forEach(e=>{void 0!==this[e]&&(t[e]=this[e])}),t.startDate=this.startDate||this._model}_applyPopupClass(t,e){const a=this._cRef?.location.nativeElement;a&&(t&&this._renderer.addClass(a,t),e&&this._renderer.removeClass(a,e))}_applyPopupStyling(t){this._renderer.addClass(t,"dropdown-menu"),this._renderer.addClass(t,"show"),"body"===this.container&&this._renderer.addClass(t,"ngb-dp-body"),this._applyPopupClass(this.datepickerClass)}_subscribeForDatepickerOutputs(t){t.navigate.subscribe(e=>this.navigate.emit(e)),t.dateSelect.subscribe(e=>{this.dateSelect.emit(e),(!0===this.autoClose||"inside"===this.autoClose)&&this.close()})}_writeModelValue(t){const e=this._parserFormatter.format(t);this._inputValue=e,this._renderer.setProperty(this._elRef.nativeElement,"value",e),this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(t)),this._onTouched())}_fromDateStruct(t){const e=t?new pn(t.year,t.month,t.day):null;return this._calendar.isValid(e)?e:null}_updatePopupPosition(){if(!this._cRef)return;let t;if(t=e0(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?this.positionTarget:this._elRef.nativeElement,this.positionTarget&&!t)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");og(t,this._cRef.location.nativeElement,this.placement,"body"===this.container)}}Ks.\u0275fac=function(t){return new(t||Ks)(m.Y36(dp),m.Y36(m.SBq),m.Y36(m.s_b),m.Y36(m.Qsj),m.Y36(m.R0b),m.Y36(Qr),m.Y36(js),m.Y36(Q.K0),m.Y36(m.sBO),m.Y36(Gs))},Ks.\u0275dir=m.lG2({type:Ks,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(t,e){1&t&&m.NdJ("input",function(r){return e.manualDateChange(r.target.value)})("change",function(r){return e.manualDateChange(r.target.value,!0)})("focus",function(){return e.onFocus()})("blur",function(){return e.onBlur()}),2&t&&m.Ikx("disabled",e.disabled)},inputs:{autoClose:"autoClose",datepickerClass:"datepickerClass",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",restoreFocus:"restoreFocus",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget",weekdays:"weekdays",disabled:"disabled"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],features:[m._Bn([{provide:V.JU,useExisting:(0,m.Gpc)(()=>Ks),multi:!0},{provide:V.Cf,useExisting:(0,m.Gpc)(()=>Ks),multi:!0},{provide:Bs,useExisting:Gs}]),m.TTD]});class Dc extends Qr{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(t,e="d",a=1){switch(t=new pn(t.year,t.month,t.day),e){case"y":return(t=this._setYear(t,t.year+a)).month=1,t.day=1,t;case"m":return(t=this._setMonth(t,t.month+a)).day=1,t;case"d":return this._setDay(t,t.day+a);default:return t}}getPrev(t,e="d",a=1){return this.getNext(t,e,-a)}getWeekday(t){const e=this.toGregorian(t).getDay();return 0===e?7:e}getWeekNumber(t,e){7===e&&(e=0);const r=t[(11-e)%7],i=this.toGregorian(r);i.setDate(i.getDate()+4-(i.getDay()||7));const o=i.getTime(),s=this.toGregorian(new pn(r.year,1,1));return Math.floor(Math.round((o-s.getTime())/864e5)/7)+1}getToday(){return this.fromGregorian(new Date)}
1isValid(t){return null!=t&&ln(t.year)&&ln(t.month)&&ln(t.day)&&!isNaN(this.toGregorian(t).getTime())}_setDay(t,e){e=+e;let a=this.getDaysPerMonth(t.month,t.year);if(e<=0)for(;e<=0;)t=this._setMonth(t,t.month-1),a=this.getDaysPerMonth(t.month,t.year),e+=a;else if(e>a)for(;e>a;)e-=a,t=this._setMonth(t,t.month+1),a=this.getDaysPerMonth(t.month,t.year);return t.day=e,t}_setMonth(t,e){return e=+e,t.year=t.year+Math.floor((e-1)/12),t.month=Math.floor(((e-1)%12+12)%12)+1,t}_setYear(t,e){return t.year=+e,t}}function i0(n){const t=n.getFullYear();return t%4==0&&t%100!=0||t%400==0}function Ak(n,t){return n-t*Math.floor(n/t)}Dc.\u0275fac=function(){let n;return function(e){return(n||(n=m.n5z(Dc)))(e||Dc)}}(),Dc.\u0275prov=m.Yz7({token:Dc,factory:Dc.\u0275fac});const sg=1721425.5,_O=1948439.5;class Tc extends Dc{fromGregorian(t){const e=t.getFullYear(),a=t.getMonth(),r=t.getDate();let i=sg-1+365*(e-1)+Math.floor((e-1)/4)+-Math.floor((e-1)/100)+Math.floor((e-1)/400)+Math.floor((367*(a+1)-362)/12+(a+1<=2?0:i0(t)?-1:-2)+r);i=Math.floor(i)+.5;const o=i-_O,s=Math.floor((30*o+10646)/10631);let l=Math.ceil((o-29-function _J(n){return 354*(n-1)+Math.floor((3+11*n)/30)}(s))/29.5);l=Math.min(l,11);const c=Math.ceil(o-function bJ(n,t){return Math.ceil(29.5*t)+354*(n-1)+Math.floor((3+11*n)/30)}(s,l))+1;return new pn(s,l+1,c)}toGregorian(t){const e=t.year,a=t.month-1,i=t.day+Math.ceil(29.5*a)+354*(e-1)+Math.floor((3+11*e)/30)+_O-1,o=Math.floor(i-.5)+.5,s=o-sg,l=Math.floor(s/146097),c=Ak(s,146097),d=Math.floor(c/36524),u=Ak(c,36524),h=Math.floor(u/1461),f=Ak(u,1461),v=Math.floor(f/365);let A=400*l+100*d+4*h+v;4===d||4===v||A++;const x=o-(sg+365*(A-1)+Math.floor((A-1)/4)-Math.floor((A-1)/100)+Math.floor((A-1)/400)),k=o<sg-1+365*(A-1)+Math.floor((A-1)/4)-Math.floor((A-1)/100)+Math.floor((A-1)/400)+Math.floor(739/12+(i0(new Date(A,3,1))?-1:-2)+1)?0:i0(new Date(A,3,1))?1:2,D=Math.floor((12*(x+k)+373)/367),I=sg-1+365*(A-1)+Math.floor((A-1)/4)-Math.floor((A-1)/100)+Math.floor((A-1)/400)+Math.floor((367*D-362)/12+(D<=2?0:i0(new Date(A,D-1,1))?-1:-2)+1);return new Date(A,D-1,o-I+1)}getDaysPerMonth(t,e){e+=Math.floor(t/13);let a=29+(t=(t-1)%12+1)%2;return 12===t&&function yJ(n){return(14+11*n)%30<11}(e)&&a++,a}}Tc.\u0275fac=function(){let n;return function(e){return(n||(n=m.n5z(Tc)))(e||Tc)}}(),Tc.\u0275prov=m.Yz7({token:Tc,factory:Tc.\u0275fac});const o0=new Date(1882,10,12),xJ=new Date(2174,10,25),lg=1300,cg=["101010101010","110101010100","111011001001","011011010100","011011101010","001101101100","101010101101","010101010101","011010101001","011110010010","101110101001","010111010100","101011011010","010101011100","110100101101","011010010101","011101001010","101101010100","101101101010","010110101101","010010101110","101001001111","010100010111","011010001011","011010100101","101011010101","001011010110","100101011011","010010011101","101001001101","110100100110","110110010101","010110101100","100110110110","001010111010","101001011011","010100101011","101010010101","011011001010","101011101001","001011110100","100101110110","001010110110","100101010110","101011001010","101110100100","101111010010","010111011001","001011011100","100101101101","010101001101","101010100101","101101010010","101110100101","010110110100","100110110110","010101010111","001010010111","010101001011","011010100011","011101010010","101101100101","010101101010","101010101011","010100101011","110010010101","110101001010","110110100101","010111001010","101011010110","100101010111","010010101011","100101001011","101010100101","101101010010","101101101010","010101110101","001001110110","100010110111","010001011011","010101010101","010110101001","010110110100","100111011010","010011011101","001001101110","100100110110","101010101010","110101010100","110110110010","010111010101","001011011010","100101011011","010010101011","101001010101","101101001001","101101100100","101101110001","010110110100","101010110101","101001010101","110100100101","111010010010","111011001001","011011010100","101011101001","100101101011","010010101011","101010010011","110101001001","110110100100","110110110010","101010111001","010010111010","101001011011","010100101011","101010010101","101100101010","101101010101","010101011100","010010111101","001000111101","100100011101","101010010101","101101001010","101101011010","010101101101","001010110110","100100111011","010010011011","011001010101","011010101001","011101010100","101101101010","010101101100","101010101101","010101010101","101100101001","101110010010","101110101001","010111010100","101011011010","010101011010","101010101011","010110010101","011101001001","011101100100","101110101010","010110110101","001010110110","101001010110","111001001101","101100100101","101101010010","101101101010","010110101101","001010101110","100100101111","010010010111","011001001011","011010100101","011010101100","101011010110","010101011101","010010011101","101001001101","110100010110","110110010101","010110101010","010110110101","001011011010","100101011011","010010101101","010110010101","011011001010","011011100100","101011101010","010011110101","001010110110","100101010110","101010101010","101101010100","101111010010","010111011001","001011101010","100101101101","010010101101","101010010101","101101001010","101110100101","010110110010","100110110101","010011010110","101010010111","010101000111","011010010011","011101001001","101101010101","010101101010","101001101011","010100101011","101010001011","110101000110","110110100011","010111001010","101011010110","010011011011","001001101011","100101001011","101010100101","101101010010","101101101001","010101110101","000101110110","100010110111","001001011011","010100101011","010101100101","010110110100","100111011010","010011101101","000101101101","100010110110","101010100110","110101010010","110110101001","010111010100","101011011010","100101011011","010010101011","011001010011","011100101001","011101100010","101110101001","010110110010","101010110101","010101010101","101100100101","110110010010","111011001001","011011010010","101011101001","010101101011","010010101011","101001010101","110100101001","110101010100","110110101010","100110110101","010010111010","101000111011","010010011011","101001001101","101010101010","101011010101","001011011010","100101011101","010001011110","101000101110","110010011010","110101010101","011010110010","011010111001","010010111010","101001011101","010100101101","101010010101","101101010010","101110101000","101110110100","010110111001","001011011010","100101011010","101101001010","110110100100","111011010001","011011101000","101101101010","010101101101","010100110101","011010010101","110101001010","110110101000","110111010100","011011011010","010101011011","001010011101","011000101011","101100010101","101101001010","101110010101","010110101010","101010101110","100100101110","110010001111","010100100111","011010010101","011010101010","101011010110","010101011101","001010011101"];class up extends Tc{fromGregorian(t){let e=1,a=0,r=1300,i=function wJ(n,t){const e=Date.UTC(n.getFullYear(),n.getMonth(),n.getDate()),a=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()),r=Math.abs(e-a);return Math.round(r/864e5)}(t,o0);if(t.getTime()-o0.getTime()>=0&&t.getTime()-xJ.getTime()<=0){let o=1300;for(let s=0;s<cg.length;s++,o++)for(let l=0;l<12;l++){let c=+cg[s][l]+29;if(i<=c)return e=i+1,e>c&&(e=1,l++),l>11&&(l=0,o++),a=l,r=o,new pn(r,a+1,e);i-=c}return null}return super.fromGregorian(t)}toGregorian(t){const e=t.year,a=t.month-1,r=t.day;let i=new Date(o0),o=r-1;if(e>=lg&&e<=1600){for(let s=0;s<e-lg;s++)for(let l=0;l<12;l++)o+=+cg[s][l]+29;for(let s=0;s<a;s++)o+=+cg[e-lg][s]+29;i.setDate(o0.getDate()+o)}else i=super.toGregorian(t);return i}getDaysPerMonth(t,e){if(e>=lg&&e<=1600){return+cg[e-lg][t-1]+29}return super.getDaysPerMonth(t,e)}}function s0(n){let t=function PJ(n,t,e){let a=bk(n);return _k(a.gy,3,a.march)+31*(t-1)-_n(t,7)*(t-7)+e-1}(n.year,n.month,n.day),e=SO(t);return e.setHours(6,30,3,200),e}function kJ(n){return function TJ(n){let i,o,s,t=SO(n).getFullYear(),e=t-621,a=bk(e),r=_k(t,3,a.march);if(s=n-r,s>=0){if(s<=185)return o=1+_n(s,31),i=$r(s,31)+1,new pn(e,o,i);s-=186}else e-=1,s+=179,1===a.leap&&(s+=1);return o=7+_n(s,30),i=$r(s,30)+1,new pn(e,o,i)}(_k(n.getFullYear(),n.getMonth()+1,n.getDate()))}function yk(n,t){return t=+t,n.year=n.year+Math.floor((t-1)/12),n.month=Math.floor(((t-1)%12+12)%12)+1,n}function $r(n,t){return n-t*Math.floor(n/t)}function _n(n,t){return Math.trunc(n/t)}function bk(n){let t=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];const e=t.length,a=n+621;let o,r=-14,i=t[0];if(n<i||n>=t[e-1])throw new Error("Invalid Jalali year "+n);for(let u=1;u<e;u+=1){const h=t[u];
1if(o=h-i,n<h)break;r=r+8*_n(o,33)+_n($r(o,33),4),i=h}let s=n-i;r=r+8*_n(s,33)+_n($r(s,33)+3,4),4===$r(o,33)&&o-s==4&&(r+=1);const c=20+r-(_n(a,4)-_n(3*(_n(a,100)+1),4)-150);o-s<6&&(s=s-o+33*_n(o+4,33));let d=$r($r(s+1,33)-1,4);return-1===d&&(d=4),{leap:d,gy:a,march:c}}function SO(n){let t=4*n+139361631;t=t+4*_n(3*_n(4*n+183187720,146097),4)-3908;const e=5*_n($r(t,1461),4)+308,a=_n($r(e,153),5)+1,r=$r(_n(e,153),12)+1,i=_n(t,1461)-100100+_n(8-r,6);return new Date(i,r-1,a)}function _k(n,t,e){let a=_n(1461*(n+_n(t-8,6)+100100),4)+_n(153*$r(t+9,12)+2,5)+e-34840408;return a=a-_n(3*_n(n+100100+_n(t-8,6),100),4)+752,a}function xk(n,t){return n<=6?31:n<=11||0===bk(t).leap?30:29}up.\u0275fac=function(){let n;return function(e){return(n||(n=m.n5z(up)))(e||up)}}(),up.\u0275prov=m.Yz7({token:up,factory:up.\u0275fac});class pp extends Qr{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(t,e="d",a=1){switch(t=new pn(t.year,t.month,t.day),e){case"y":return t=function CJ(n,t){return n.year=+t,n}(t,t.year+a),t.month=1,t.day=1,t;case"m":return(t=yk(t,t.month+a)).day=1,t;case"d":return function DJ(n,t){let e=xk(n.month,n.year);if(t<=0)for(;t<=0;)e=xk((n=yk(n,n.month-1)).month,n.year),t+=e;else if(t>e)for(;t>e;)t-=e,e=xk((n=yk(n,n.month+1)).month,n.year);return n.day=t,n}(t,t.day+a);default:return t}}getPrev(t,e="d",a=1){return this.getNext(t,e,-a)}getWeekday(t){const e=s0(t).getDay();return 0===e?7:e}getWeekNumber(t,e){7===e&&(e=0);const r=t[(11-e)%7],i=s0(r);i.setDate(i.getDate()+4-(i.getDay()||7));const o=i.getTime(),s=s0(new pn(r.year,1,1));return Math.floor(Math.round((o-s.getTime())/864e5)/7)+1}getToday(){return kJ(new Date)}isValid(t){return null!=t&&He(t.year)&&He(t.month)&&He(t.day)&&!isNaN(s0(t).getTime())}}pp.\u0275fac=function(){let n;return function(e){return(n||(n=m.n5z(pp)))(e||pp)}}(),pp.\u0275prov=m.Yz7({token:pp,factory:pp.\u0275fac});const l0=25920;function hp(n){return n%4==0&&n%100!=0||n%400==0}function Pc(n){let t=Math.floor((235*n-234)/19),e=13753*t+12084,a=29*t+Math.floor(e/l0),r=e%l0,i=a%7;return(2===i||4===i||6===i)&&(a++,i=a%7),1===i&&r>16404&&!Ic(n)?a+=2:0===i&&r>23269&&Ic(n-1)&&a++,a}function ug(n,t){let e=[31,28,31,30,31,30,31,31,30,31,30,31];return hp(t)&&e[1]++,e[n-1]}function c0(n){return Ic(n)?13:12}function kO(n){return Pc(n+1)-Pc(n)}function Ic(n){if(null!=n){let t=(12*n+17)%19;return t>=(t<0?-7:12)}return!1}function Ws(n,t){let e=Pc(t+1)-Pc(t),a=(e<=380?e:e-30)-353,i=Ic(t)?[30,29,29,29,30,30,29,30,29,30,29,30,29]:[30,29,29,29,30,29,30,29,30,29,30,29];return a>0&&i[2]++,a>1&&i[1]++,i[n-1]}function Sk(n){let t=0;for(let e=1;e<n.month;e++)t+=Ws(e,n.year);return t+n.day}function CO(n){const t=new Date(n),e=t.getFullYear(),a=t.getMonth(),r=t.getDate();let i=1721424.5+365*(e-1)+Math.floor((e-1)/4)-Math.floor((e-1)/100)+Math.floor((e-1)/400)+Math.floor((367*(a+1)-362)/12+(a+1<=2?0:hp(e)?-1:-2)+r);i=Math.floor(i+.5);let o=i-347997,s=Math.floor(o*l0/765433),l=Math.floor((19*s+234)/235)+1,c=Pc(l),d=o-c;for(;d<1;)l--,c=Pc(l),d=o-c;let u=1,h=d;for(;h>Ws(u,l);)h-=Ws(u,l),u++;return new pn(l,u,h)}function wk(n){const t=n.year,e=n.month,a=n.day;let r=Pc(t);for(let d=1;d<e;d++)r+=Ws(d,t);r+=a;let i=r-2092591,o=i>=0;o||(i=-i);let s=1970,l=1,c=1;for(;i>0;)o?i>=(hp(s)?366:365)?(i-=hp(s)?366:365,s++):i>=ug(l,s)?(i-=ug(l,s),l++):(c+=i,i=0):i>=(hp(s-1)?366:365)?(i-=hp(s-1)?366:365,s--):(l>1?l--:(l=12,s--),i>=ug(l,s)?i-=ug(l,s):(c=ug(l,s)-i+1,i=0));return new Date(s,l-1,c)}function pg(n){if(!n)return"";const t=["","\u05d0","\u05d1","\u05d2","\u05d3","\u05d4","\u05d5","\u05d6","\u05d7","\u05d8"],e=["\u05d9","\u05d9\u05d0","\u05d9\u05d1","\u05d9\u05d2","\u05d9\u05d3","\u05d8\u05d5","\u05d8\u05d6","\u05d9\u05d6","\u05d9\u05d7","\u05d9\u05d8"],a=["","","\u05db","\u05dc","\u05de","\u05e0","\u05e1","\u05e2","\u05e4","\u05e6"],r=["","\u05e7","\u05e8","\u05e9","\u05ea","\u05ea\u05e7","\u05ea\u05e8","\u05ea\u05e9","\u05ea\u05ea","\u05ea\u05ea\u05e7"],i=["","\u05d0","\u05d1","\u05d1\u05d0","\u05d1\u05d1","\u05d4","\u05d4\u05d0","\u05d4\u05d1","\u05d4\u05d1\u05d0","\u05d4\u05d1\u05d1"];let l=0,c=[],d=0;for(;n>0;){let u=n%10;if(0===d)l=u;else if(1===d)1!==u?c.unshift(a[u],t[l]):c.unshift(e[l]);else{if(2!==d){5!==u&&c.unshift(i[u],"\u05f3"," ");break}c.unshift(r[u])}n=Math.floor(n/10),0===d&&0===n&&c.unshift(t[u]),d++}return c=c.join("").split(""),1===c.length?c.push("\u05f3"):c.length>1&&c.splice(c.length-1,0,"\u05f4"),c.join("")}class mp extends Qr{getDaysPerWeek(){return 7}getMonths(t){return t&&Ic(t)?[1,2,3,4,5,6,7,8,9,10,11,12,13]:[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}isValid(t){if(null!=t){let e=ln(t.year)&&ln(t.month)&&ln(t.day);return e=e&&t.month>0&&t.month<=(Ic(t.year)?13:12),e=e&&t.day>0&&t.day<=Ws(t.month,t.year),e&&!isNaN(wk(t).getTime())}return!1}getNext(t,e="d",a=1){switch(t=new pn(t.year,t.month,t.day),e){case"y":return t.year+=a,t.month=1,t.day=1,t;case"m":return t=function LJ(n,t){let e=t>=0;for(e||(t=-t);t>0;)e?t>c0(n.year)-n.month?(t-=c0(n.year)-n.month+1,n.year++,n.month=1):(n.month+=t,t=0):t>=n.month?(n.year--,t-=n.month,n.month=c0(n.year)):(n.month-=t,t=0);return n}(t,a),t.day=1,t;case"d":return function NJ(n,t){let e=t>=0;for(e||(t=-t);t>0;)e?t>kO(n.year)-Sk(n)?(t-=kO(n.year)-Sk(n)+1,n.year++,n.month=1,n.day=1):t>Ws(n.month,n.year)-n.day?(t-=Ws(n.month,n.year)-n.day+1,n.month++,n.day=1):(n.day+=t,t=0):t>=n.day?(t-=n.day,n.month--,0===n.month&&(n.year--,n.month=c0(n.year)),n.day=Ws(n.month,n.year)):(n.day-=t,t=0);return n}(t,a);default:return t}}getPrev(t,e="d",a=1){return this.getNext(t,e,-a)}getWeekday(t){const e=wk(t).getDay();return 0===e?7:e}getWeekNumber(t,e){const a=t[t.length-1];return Math.ceil(Sk(a)/7)}getToday(){return CO(new Date)}toGregorian(t){return vk(wk(t))}fromGregorian(t){return CO(ag(t))}}
1mp.\u0275fac=function(){let n;return function(e){return(n||(n=m.n5z(mp)))(e||mp)}}(),mp.\u0275prov=m.Yz7({token:mp,factory:mp.\u0275fac});const UJ=["\u05e9\u05e0\u05d9","\u05e9\u05dc\u05d9\u05e9\u05d9","\u05e8\u05d1\u05d9\u05e2\u05d9","\u05d7\u05de\u05d9\u05e9\u05d9","\u05e9\u05d9\u05e9\u05d9","\u05e9\u05d1\u05ea","\u05e8\u05d0\u05e9\u05d5\u05df"],FJ=["\u05ea\u05e9\u05e8\u05d9","\u05d7\u05e9\u05d5\u05df","\u05db\u05e1\u05dc\u05d5","\u05d8\u05d1\u05ea","\u05e9\u05d1\u05d8","\u05d0\u05d3\u05e8","\u05e0\u05d9\u05e1\u05df","\u05d0\u05d9\u05d9\u05e8","\u05e1\u05d9\u05d5\u05df","\u05ea\u05de\u05d5\u05d6","\u05d0\u05d1","\u05d0\u05dc\u05d5\u05dc"],VJ=["\u05ea\u05e9\u05e8\u05d9","\u05d7\u05e9\u05d5\u05df","\u05db\u05e1\u05dc\u05d5","\u05d8\u05d1\u05ea","\u05e9\u05d1\u05d8","\u05d0\u05d3\u05e8 \u05d0\u05f3","\u05d0\u05d3\u05e8 \u05d1\u05f3","\u05e0\u05d9\u05e1\u05df","\u05d0\u05d9\u05d9\u05e8","\u05e1\u05d9\u05d5\u05df","\u05ea\u05de\u05d5\u05d6","\u05d0\u05d1","\u05d0\u05dc\u05d5\u05dc"];class fp extends wr{getMonthShortName(t,e){return this.getMonthFullName(t,e)}getMonthFullName(t,e){return Ic(e)?VJ[t-1]||"":FJ[t-1]||""}getWeekdayLabel(t,e){return UJ[t-1]||""}getDayAriaLabel(t){return`${pg(t.day)} ${this.getMonthFullName(t.month,t.year)} ${pg(t.year)}`}getDayNumerals(t){return pg(t.day)}getWeekNumerals(t){return pg(t)}getYearNumerals(t){return pg(t)}}function d0(n){return new Date(n.year-543,n.month-1,n.day)}function DO(n){return new pn(n.getFullYear()+543,n.getMonth()+1,n.getDate())}fp.\u0275fac=function(){let n;return function(e){return(n||(n=m.n5z(fp)))(e||fp)}}(),fp.\u0275prov=m.Yz7({token:fp,factory:fp.\u0275fac});class gp extends qs{getToday(){return DO(new Date)}getNext(t,e="d",a=1){let r=d0(t),i=!0,o=r.getMonth();switch(e){case"y":r.setFullYear(r.getFullYear()+a);break;case"m":o+=a,r.setMonth(o),o%=12,o<0&&(o+=12);break;case"d":r.setDate(r.getDate()+a),i=!1;break;default:return t}return i&&r.getMonth()!==o&&r.setDate(0),DO(r)}getPrev(t,e="d",a=1){return this.getNext(t,e,-a)}getWeekday(t){let a=d0(t).getDay();return 0===a?7:a}getWeekNumber(t,e){7===e&&(e=0);const i=d0(t[(11-e)%7]);i.setDate(i.getDate()+4-(i.getDay()||7));const o=i.getTime();return i.setMonth(0),i.setDate(1),Math.floor(Math.round((o-i.getTime())/864e5)/7)+1}isValid(t){if(!(t&&He(t.year)&&He(t.month)&&He(t.day)&&0!==t.year))return!1;const e=d0(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year-543&&e.getMonth()+1===t.month&&e.getDate()===t.day}}gp.\u0275fac=function(){let n;return function(e){return(n||(n=m.n5z(gp)))(e||gp)}}(),gp.\u0275prov=m.Yz7({token:gp,factory:gp.\u0275fac});class Mc extends js{fromModel(t){return t instanceof Date&&!isNaN(t.getTime())?this._fromNativeDate(t):null}toModel(t){return t&&He(t.year)&&He(t.month)&&He(t.day)?this._toNativeDate(t):null}_fromNativeDate(t){return{year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate()}}_toNativeDate(t){const e=new Date(t.year,t.month-1,t.day,12);return e.setFullYear(t.year),e}}Mc.\u0275fac=function(){let n;return function(e){return(n||(n=m.n5z(Mc)))(e||Mc)}}(),Mc.\u0275prov=m.Yz7({token:Mc,factory:Mc.\u0275fac});class vp extends Mc{_fromNativeDate(t){return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate()}}_toNativeDate(t){const e=new Date(Date.UTC(t.year,t.month-1,t.day));return e.setUTCFullYear(t.year),e}}vp.\u0275fac=function(){let n;return function(e){return(n||(n=m.n5z(vp)))(e||vp)}}(),vp.\u0275prov=m.Yz7({token:vp,factory:vp.\u0275fac});class Oo{}Oo.\u0275fac=function(t){return new(t||Oo)},Oo.\u0275mod=m.oAB({type:Oo,declarations:[Mo,wc,kc,lp,sp,op,Ks],imports:[Q.ez,V.u5],exports:[Mo,wc,Ks,kc]}),Oo.\u0275inj=m.cJS({imports:[[Q.ez,V.u5]]});class Ap{constructor(){this.autoClose=!0,this.placement=["bottom-left","bottom-right","top-left","top-right"]}}Ap.\u0275fac=function(t){return new(t||Ap)},Ap.\u0275prov=m.Yz7({token:Ap,factory:Ap.\u0275fac,providedIn:"root"});class Js{}Js.\u0275fac=function(t){return new(t||Js)},Js.\u0275dir=m.lG2({type:Js,selectors:[["",8,"navbar"]]});class Zs{constructor(t,e){this.elementRef=t,this._renderer=e,this._disabled=!1}set disabled(t){this._disabled=""===t||!0===t,this._renderer.setProperty(this.elementRef.nativeElement,"disabled",this._disabled)}get disabled(){return this._disabled}}Zs.\u0275fac=function(t){return new(t||Zs)(m.Y36(m.SBq),m.Y36(m.Qsj))},Zs.\u0275dir=m.lG2({type:Zs,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(t,e){2&t&&(m.Ikx("tabIndex",e.disabled?-1:0),m.ekj("disabled",e.disabled))},inputs:{disabled:"disabled"}});class Xs{constructor(t,e){this.dropdown=t,this.placement="bottom",this.isOpen=!1,this.nativeElement=e.nativeElement}}Xs.\u0275fac=function(t){return new(t||Xs)(m.Y36((0,m.Gpc)(()=>Ii)),m.Y36(m.SBq))},Xs.\u0275dir=m.lG2({type:Xs,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(t,e,a){if(1&t&&m.Suo(a,Zs,4),2&t){let r;m.iGM(r=m.CRH())&&(e.menuItems=r)}},hostVars:5,hostBindings:function(t,e){1&t&&m.NdJ("keydown.ArrowUp",function(r){return e.dropdown.onKeyDown(r)})("keydown.ArrowDown",function(r){return e.dropdown.onKeyDown(r)})("keydown.Home",function(r){return e.dropdown.onKeyDown(r)})("keydown.End",function(r){return e.dropdown.onKeyDown(r)})("keydown.Enter",function(r){return e.dropdown.onKeyDown(r)})("keydown.Space",function(r){return e.dropdown.onKeyDown(r)})("keydown.Tab",function(r){return e.dropdown.onKeyDown(r)})("keydown.Shift.Tab",function(r){return e.dropdown.onKeyDown(r)}),2&t&&(m.uIk("x-placement",e.placement),m.ekj("dropdown-menu",!0)("show",e.dropdown.isOpen()))}});class Pi{constructor(t,e){this.dropdown=t,this.nativeElement=e.nativeElement}}Pi.\u0275fac=function(t){return new(t||Pi)(m.Y36((0,m.Gpc)(()=>Ii)),m.Y36(m.SBq))},Pi.\u0275dir=m.lG2({type:Pi,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(t,e){2&t&&m.uIk("aria-expanded",e.dropdown.isOpen())}});class Ys extends Pi{constructor(t,e){super(t,e)}}Ys.\u0275fac=function(t){return new(t||Ys)(m.Y36((0,m.Gpc)(()=>Ii)),m.Y36(m.SBq))},Ys.\u0275dir=m.lG2({type:Ys,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(t,e){1&t&&m.NdJ("click",function(){return e.dropdown.toggle()})("keydown.ArrowUp",function(r){return e.dropdown.onKeyDown(r)})("keydown.ArrowDown",function(r){return e.dropdown.onKeyDown(r)})("keydown.Home",function(r){return e.dropdown.onKeyDown(r)})("keydown.End",function(r){return e.dropdown.onKeyDown(r)})("keydown.Tab",function(r){return e.dropdown.onKeyDown(r)})("keydown.Shift.Tab",function(r){return e.dropdown.onKeyDown(r)}),2&t&&m.uIk("aria-expanded",e.dropdown.isOpen())},features:[m._Bn([{provide:Pi,useExisting:(0,m.Gpc)(()=>Ys)}]),m.qOj]});class Ii{constructor(t,e,a,r,i,o,s){this._changeDetector=t,this._document=a,this._ngZone=r,this._elementRef=i,this._renderer=o,this._closed$=new Vn.xQ,this._bodyContainer=null,this._open=!1,this.openChange=new m.vpe,this.placement=e.placement,this.container=e.container,this.autoClose=e.autoClose,this.display=s?"
1static":"dynamic",this._zoneSubscription=r.onStable.subscribe(()=>{this._positionMenu()})}ngAfterContentInit(){this._ngZone.onStable.pipe((0,lr.q)(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(t){if(t.container&&this._open&&this._applyContainer(this.container),t.placement&&!t.placement.isFirstChange&&this._applyPlacementClasses(),t.dropdownClass){const{currentValue:e,previousValue:a}=t.dropdownClass;this._applyCustomDropdownClass(e,a)}}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&this._anchor.nativeElement.focus())}_setCloseHandlers(){ig(this._ngZone,this._document,this.autoClose,t=>{this.close(),0===t&&this._anchor.nativeElement.focus()},this._closed$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._closed$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this._resetContainer(),this._closed$.next(),this._zoneSubscription.unsubscribe()}onKeyDown(t){const e=t.which,a=this._getMenuElements();let r=-1,i=null;const o=this._isEventFromToggle(t);if(!o&&a.length&&a.forEach((s,l)=>{s.contains(t.target)&&(i=s),s===this._document.activeElement&&(r=l)}),e!==Me.Space&&e!==Me.Enter){if(e!==Me.Tab){if(o||i){if(this.open(),a.length){switch(e){case Me.ArrowDown:r=Math.min(r+1,a.length-1);break;case Me.ArrowUp:if(this._isDropup()&&-1===r){r=a.length-1;break}r=Math.max(r-1,0);break;case Me.Home:r=0;break;case Me.End:r=a.length-1}a[r].focus()}t.preventDefault()}}else if(t.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===t.target)return void("body"!==this.container||t.shiftKey?t.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){const s=this._menu.nativeElement.querySelectorAll(vO);t.shiftKey&&t.target===s[0]?(this._anchor.nativeElement.focus(),t.preventDefault()):!t.shiftKey&&t.target===s[s.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else(0,ba.R)(t.target,"focusout").pipe((0,lr.q)(1)).subscribe(({relatedTarget:s})=>{this._elementRef.nativeElement.contains(s)||this.close()})}}else i&&(!0===this.autoClose||"inside"===this.autoClose)&&(0,ba.R)(i,"click").pipe((0,lr.q)(1)).subscribe(()=>this.close())}_isDropup(){return this._elementRef.nativeElement.classList.contains("dropup")}_isEventFromToggle(t){return this._anchor.nativeElement.contains(t.target)}_getMenuElements(){const t=this._menu;return null==t?[]:t.menuItems.filter(e=>!e.disabled).map(e=>e.elementRef.nativeElement)}_positionMenu(){const t=this._menu;this.isOpen()&&t&&this._applyPlacementClasses("dynamic"===this.display?og(this._anchor.nativeElement,this._bodyContainer||this._menu.nativeElement,this.placement,"body"===this.container):this._getFirstPlacement(this.placement))}_getFirstPlacement(t){return Array.isArray(t)?t[0]:t.split(" ")[0]}_resetContainer(){const t=this._renderer;if(this._menu){const e=this._elementRef.nativeElement,a=this._menu.nativeElement;t.appendChild(e,a),t.removeStyle(a,"position"),t.removeStyle(a,"transform")}this._bodyContainer&&(t.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}_applyContainer(t=null){if(this._resetContainer(),"body"===t){const e=this._renderer,a=this._menu.nativeElement,r=this._bodyContainer=this._bodyContainer||e.createElement("div");e.setStyle(r,"position","absolute"),e.setStyle(a,"position","static"),e.setStyle(r,"z-index","1050"),e.appendChild(r,a),e.appendChild(this._document.body,r)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(t,e){const a="body"===this.container?this._bodyContainer:this._elementRef.nativeElement;a&&(e&&this._renderer.removeClass(a,e),t&&this._renderer.addClass(a,t))}_applyPlacementClasses(t){const e=this._menu;if(e){t||(t=this._getFirstPlacement(this.placement));const a=this._renderer,r=this._elementRef.nativeElement;a.removeClass(r,"dropup"),a.removeClass(r,"dropdown"),e.placement="static"===this.display?null:t;const i=-1!==t.search("^top")?"dropup":"dropdown";a.addClass(r,i);const o=this._bodyContainer;o&&(a.removeClass(o,"dropup"),a.removeClass(o,"dropdown"),a.addClass(o,i))}}}Ii.\u0275fac=function(t){return new(t||Ii)(m.Y36(m.sBO),m.Y36(Ap),m.Y36(Q.K0),m.Y36(m.R0b),m.Y36(m.SBq),m.Y36(m.Qsj),m.Y36(Js,8))},Ii.\u0275dir=m.lG2({type:Ii,selectors:[["","ngbDropdown",""]],contentQueries:function(t,e,a){if(1&t&&(m.Suo(a,Xs,5),m.Suo(a,Pi,5)),2&t){let r;m.iGM(r=m.CRH())&&(e._menu=r.first),m.iGM(r=m.CRH())&&(e._anchor=r.first)}},hostVars:2,hostBindings:function(t,e){2&t&&m.ekj("show",e.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:["open","_open"],placement:"placement",container:"container",dis
1play:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[m.TTD]});class Ro{}Ro.\u0275fac=function(t){return new(t||Ro)},Ro.\u0275mod=m.oAB({type:Ro,declarations:[Ii,Pi,Ys,Xs,Zs,Js],exports:[Ii,Pi,Ys,Xs,Zs,Js]}),Ro.\u0275inj=m.cJS({});class Oc{constructor(t,e,a){this.nodes=t,this.viewRef=e,this.componentRef=a}}class kk{constructor(t,e,a,r,i,o){this._type=t,this._injector=e,this._viewContainerRef=a,this._renderer=r,this._ngZone=i,this._applicationRef=o,this._windowRef=null,this._contentRef=null}open(t,e,a=!1){this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._type,{index:this._viewContainerRef.length,injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:r}=this._windowRef.location,i=this._ngZone.onStable.pipe((0,lr.q)(1),(0,lk.zg)(()=>jn(this._ngZone,r,({classList:o})=>o.add("show"),{animation:a,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:i}}close(t=!1){return this._windowRef?jn(this._ngZone,this._windowRef.location.nativeElement,({classList:e})=>e.remove("show"),{animation:t,runningTransition:"stop"}).pipe((0,$b.b)(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,Ka.of)(void 0)}_getContentRef(t,e){if(t){if(t instanceof m.Rgc){const a=t.createEmbeddedView(e);return this._applicationRef.attachView(a),new Oc([a.rootNodes],a)}return new Oc([[this._renderer.createText(`${t}`)]])}return new Oc([])}}class yp{constructor(t,e){this._el=t,this._zone=e}ngOnInit(){this._zone.onStable.asObservable().pipe((0,lr.q)(1)).subscribe(()=>{jn(this._zone,this._el.nativeElement,(t,e)=>{e&&Zu(t),t.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return jn(this._zone,this._el.nativeElement,({classList:t})=>t.remove("show"),{animation:this.animation,runningTransition:"stop"})}}yp.\u0275fac=function(t){return new(t||yp)(m.Y36(m.SBq),m.Y36(m.R0b))},yp.\u0275cmp=m.Xpm({type:yp,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:6,hostBindings:function(t,e){2&t&&(m.Tol("modal-backdrop"+(e.backdropClass?" "+e.backdropClass:"")),m.ekj("show",!e.animation)("fade",e.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(t,e){},encapsulation:2});class TO{close(t){}dismiss(t){}}class zJ{constructor(t,e,a,r){this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=a,this._beforeDismiss=r,this._closed=new Vn.xQ,this._dismissed=new Vn.xQ,this._hidden=new Vn.xQ,t.instance.dismissEvent.subscribe(i=>{this.dismiss(i)}),this.result=new Promise((i,o)=>{this._resolve=i,this._reject=o}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,Sn.R)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,Sn.R)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(t){this._windowCmptRef&&(this._closed.next(t),this._resolve(t),this._removeModalElements())}_dismiss(t){this._dismissed.next(t),this._reject(t),this._removeModalElements()}dismiss(t){if(this._windowCmptRef)if(this._beforeDismiss){const e=this._beforeDismiss();!function qW(n){return n&&n.then}(e)?!1!==e&&this._dismiss(t):e.then(a=>{!1!==a&&this._dismiss(t)},()=>{})}else this._dismiss(t)}_removeModalElements(){const t=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,Ka.of)(void 0);t.subscribe(()=>{const{nativeElement:a}=this._windowCmptRef.location;a.parentNode.removeChild(a),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:a}=this._backdropCmptRef.location;a.parentNode.removeChild(a),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Yb(t,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var u0;!function(n){n[n.BACKDROP_CLICK=0]="BACKDROP_CLICK",n[n.ESC=1]="ESC"}(u0||(u0={}));class bp{constructor(t,e,a){this._document=t,this._elRef=e,this._zone=a,this._closed$=new Vn.xQ,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new m.vpe,this.shown=new Vn.xQ,this.hidden=new Vn.xQ}dismiss(t){this.dismissEvent.emit(t)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,lr.q)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:t}=this._elRef,e={animation:this.animation,runningTransition:"stop"},i=Yb(jn(this._zone,t,()=>t.classList.remove("show"),e),jn(this._zone,this._dialogEl.nativeElement,()=>{},e));return i.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),i}_show(){const t={animation:this.animation,runningTransition:"continue"};Yb(jn(this._zone,this._elRef.nativeElement,(r,i)=>{i&&Zu(r),r.classList.add("show")},t),jn(this._zone,this._dialogEl.nativeElement,()=>{},t)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:t}=this._elRef;this._zone.runOutsideAngular(()=>{(0,ba.R)(t,"keydown").pipe((0,Sn.R)(this._closed$),(0,Ja.h)(a=>a.which===Me.Escape)).subscribe(a=>{this.keyboard?requestAnimationFrame(()=>{a.defaultPrevented||this._zone.run(()=>this.dismiss(u0.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let e=!1;(0,ba.R)(this._dialogEl.nativeElement,"mousedown").pipe((0,Sn.R)(this._closed$),(0,$b.b)(()=>e=!1),(0,pk.w)(()=>(0,ba.R)(t,"mouseup").pipe((0,Sn.R)(this._closed$),(0,lr.q)(1))),(0,Ja.h)(({target:a})=>t===a)).subscribe(()=>{e=!0}),(0,ba.R)(t,"click").pipe((0,Sn.R)(this._closed$)).subscribe(({target:a})=>{t===a&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!e&&this._zone.run(()=>this.dismiss(u0.BACKDROP_CLICK))),e=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:t}=this._elRef;if(!t.contains(document.activeElement)){const e=t.querySelector("[ngbAutofocus]"),a=AO(t)[0];(e||a||t).focus()}}_restoreFocus(){const t=this._document.body,e=this._elWithFocus;let a;a=e&&e.focus&&t.contains(e)?e:t,this._zone.runOutsideAngular(()=>{setTimeout(()=>a.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&jn(this._zone,this._elRef.nativeElement,({classList:t})=>(t.add("modal-static"),()=>t.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}bp.\u0275fac=function(t){return new(t||bp)(m.Y36(Q.K0),m.Y36(m.SBq),m.Y36(m.R0b))},bp.\u0275cmp=m.Xpm({type:bp,selectors:[["ngb-modal-window"]],viewQuery:function(t,e){if(1&t&&m.Gf(LK,7),2&t){let a;m.iGM(a=m.CRH())&&(e._dialogEl=a.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(t,e){2&t&&(m.uIk("aria-modal",!0)("aria-labelledby",e.ariaLabelledBy)("aria-describedby",e.ariaDescribedBy),m.Tol("modal d-block"+(e.windowClass?" "+e.windowClass:"")),m.ekj("fade",e.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:Wu,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(t,e){1&t&&(m.F$t(),m.TgZ(0,"div",0,1)(2,"div",2),m.Hsn(3),m.qZA()()),2&t&&m.Tol("modal-dialog"+(e.size?" modal-"+e.size:"")+(e.centered?" modal-dialog-centered":"")+(e.scrollable?" modal-dialog-scrollable":"")+(e.modalDialogClass?" "+e.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2});class _p{constructor(t){this._document=t}
1hide(){const t=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),e=this._document.body,a=e.style,{overflow:r,paddingRight:i}=a;if(t>0){const o=parseFloat(window.getComputedStyle(e).paddingRight);a.paddingRight=`${o+t}px`}return a.overflow="hidden",()=>{t>0&&(a.paddingRight=i),a.overflow=r}}}_p.\u0275fac=function(t){return new(t||_p)(m.LFG(Q.K0))},_p.\u0275prov=m.Yz7({token:_p,factory:_p.\u0275fac,providedIn:"root"});class xp{constructor(t,e,a,r,i,o){this._applicationRef=t,this._injector=e,this._document=a,this._scrollBar=r,this._rendererFactory=i,this._ngZone=o,this._activeWindowCmptHasChanged=new Vn.xQ,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._backdropAttributes=["animation","backdropClass"],this._modalRefs=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass","modalDialogClass"],this._windowCmpts=[],this._activeInstances=new m.vpe,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const s=this._windowCmpts[this._windowCmpts.length-1];yO(this._ngZone,s.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(s.location.nativeElement)}})}_restoreScrollBar(){const t=this._scrollBarRestoreFn;t&&(this._scrollBarRestoreFn=null,t())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(t,e,a,r){const i=r.container instanceof HTMLElement?r.container:Ls(r.container)?this._document.querySelector(r.container):this._document.body,o=this._rendererFactory.createRenderer(null,null);if(!i)throw new Error(`The specified modal container "${r.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const s=new TO,l=this._getContentRef(t,r.injector||e,a,s,r);let c=!1!==r.backdrop?this._attachBackdrop(t,i):void 0,d=this._attachWindowComponent(t,i,l),u=new zJ(d,l,c,r.beforeDismiss);return this._registerModalRef(u),this._registerWindowCmpt(d),u.hidden.pipe((0,lr.q)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(o.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),s.close=h=>{u.close(h)},s.dismiss=h=>{u.dismiss(h)},this._applyWindowOptions(d.instance,r),1===this._modalRefs.length&&o.addClass(this._document.body,"modal-open"),c&&c.instance&&(this._applyBackdropOptions(c.instance,r),c.changeDetectorRef.detectChanges()),d.changeDetectorRef.detectChanges(),u}get activeInstances(){return this._activeInstances}dismissAll(t){this._modalRefs.forEach(e=>e.dismiss(t))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(t,e){let r=t.resolveComponentFactory(yp).create(this._injector);return this._applicationRef.attachView(r.hostView),e.appendChild(r.location.nativeElement),r}_attachWindowComponent(t,e,a){let i=t.resolveComponentFactory(bp).create(this._injector,a.nodes);return this._applicationRef.attachView(i.hostView),e.appendChild(i.location.nativeElement),i}_applyWindowOptions(t,e){this._windowAttributes.forEach(a=>{Ls(e[a])&&(t[a]=e[a])})}_applyBackdropOptions(t,e){this._backdropAttributes.forEach(a=>{Ls(e[a])&&(t[a]=e[a])})}_getContentRef(t,e,a,r,i){return a?a instanceof m.Rgc?this._createFromTemplateRef(a,r):e0(a)?this._createFromString(a):this._createFromComponent(t,e,a,r,i):new Oc([])}_createFromTemplateRef(t,e){const a={$implicit:e,close(i){e.close(i)},dismiss(i){e.dismiss(i)}},r=t.createEmbeddedView(a);return this._applicationRef.attachView(r),new Oc([r.rootNodes],r)}_createFromString(t){const e=this._document.createTextNode(`${t}`);return new Oc([[e]])}_createFromComponent(t,e,a,r,i){const o=t.resolveComponentFactory(a),s=m.zs3.create({providers:[{provide:TO,useValue:r}],parent:e}),l=o.create(s),c=l.location.nativeElement;return i.scrollable&&c.classList.add("component-host-scrollable"),this._applicationRef.attachView(l.hostView),new Oc([[c]],l.hostView,l)}_setAriaHidden(t){const e=t.parentElement;e&&t!==this._document.body&&(Array.from(e.children).forEach(a=>{a!==t&&"SCRIPT"!==a.nodeName&&(this._ariaHiddenValues.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}),this._setAriaHidden(e))}
1_revertAriaHidden(){this._ariaHiddenValues.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(t){const e=()=>{const a=this._modalRefs.indexOf(t);a>-1&&(this._modalRefs.splice(a,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(t),this._activeInstances.emit(this._modalRefs),t.result.then(e,e)}_registerWindowCmpt(t){this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(()=>{const e=this._windowCmpts.indexOf(t);e>-1&&(this._windowCmpts.splice(e,1),this._activeWindowCmptHasChanged.next())})}}xp.\u0275fac=function(t){return new(t||xp)(m.LFG(m.z2F),m.LFG(m.zs3),m.LFG(Q.K0),m.LFG(_p),m.LFG(m.FYo),m.LFG(m.R0b))},xp.\u0275prov=m.Yz7({token:xp,factory:xp.\u0275fac,providedIn:"root"});class Sp{constructor(t){this._ngbConfig=t,this.backdrop=!0,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}Sp.\u0275fac=function(t){return new(t||Sp)(m.LFG(Za))},Sp.\u0275prov=m.Yz7({token:Sp,factory:Sp.\u0275fac,providedIn:"root"});class Qs{constructor(t,e,a,r){this._moduleCFR=t,this._injector=e,this._modalStack=a,this._config=r}open(t,e={}){const a={...this._config,animation:this._config.animation,...e};return this._modalStack.open(this._moduleCFR,this._injector,t,a)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(t){this._modalStack.dismissAll(t)}hasOpenModals(){return this._modalStack.hasOpenModals()}}Qs.\u0275fac=function(t){return new(t||Qs)(m.LFG(m._Vd),m.LFG(m.zs3),m.LFG(xp),m.LFG(Sp))},Qs.\u0275prov=m.Yz7({token:Qs,factory:Qs.\u0275fac,providedIn:"root"});class Mi{}Mi.\u0275fac=function(t){return new(t||Mi)},Mi.\u0275mod=m.oAB({type:Mi,declarations:[yp,bp]}),Mi.\u0275inj=m.cJS({providers:[Qs]});class wp{constructor(t){this._ngbConfig=t,this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}wp.\u0275fac=function(t){return new(t||wp)(m.LFG(Za))},wp.\u0275prov=m.Yz7({token:wp,factory:wp.\u0275fac,providedIn:"root"});const PO=n=>Ls(n)&&""!==n;let EJ=0;class $s{constructor(t){this.templateRef=t}}$s.\u0275fac=function(t){return new(t||$s)(m.Y36(m.Rgc))},$s.\u0275dir=m.lG2({type:$s,selectors:[["ng-template","ngbNavContent",""]]});class Lo{constructor(t,e){this.elementRef=e,this.disabled=!1,this.shown=new m.vpe,this.hidden=new m.vpe,this._nav=t}ngAfterContentChecked(){this.contentTpl=this.contentTpls.first}ngOnInit(){Ls(this.domId)||(this.domId="ngb-nav-"+EJ++)}get active(){return this._nav.activeId===this.id}get id(){return PO(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return(Ls(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}}Lo.\u0275fac=function(t){return new(t||Lo)(m.Y36((0,m.Gpc)(()=>No)),m.Y36(m.SBq))},Lo.\u0275dir=m.lG2({type:Lo,selectors:[["","ngbNavItem",""]],contentQueries:function(t,e,a){if(1&t&&m.Suo(a,$s,4),2&t){let r;m.iGM(r=m.CRH())&&(e.contentTpls=r)}},hostVars:2,hostBindings:function(t,e){2&t&&m.ekj("nav-item",!0)},inputs:{destroyOnHide:"destroyOnHide",disabled:"disabled",domId:"domId",_id:["ngbNavItem","_id"]},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbNavItem"]});class No{constructor(t,e,a,r){this.role=t,this._cd=a,this._document=r,this.activeIdChange=new m.vpe,this.shown=new m.vpe,this.hidden=new m.vpe,this.destroy$=new Vn.xQ,this.navItemChange$=new Vn.xQ,this.navChange=new m.vpe,this.animation=e.animation,this.destroyOnHide=e.destroyOnHide,this.orientation=e.orientation,this.roles=e.roles,this.keyboard=e.keyboard}click(t){t.disabled||this._updateActiveId(t.id)}onKeyDown(t){if("tablist"!==this.roles||!this.keyboard)return;const e=t.which,a=this.links.filter(o=>!o.navItem.disabled),{length:r}=a;let i=-1;if(a.forEach((o,s)=>{o.elRef.nativeElement===this._document.activeElement&&(i=s)}),r){switch(e){case Me.ArrowLeft:if("vertical"===this.orientation)return;i=(i-1+r)%r;break;case Me.ArrowRight:if("vertical"===this.orientation)return;i=(i+1)%r;break;case Me.ArrowDown:if("horizontal"===this.orientation)return;i=(i+1)%r;break;case Me.ArrowUp:if("horizontal"===this.orientation)return;i=(i-1+r)%r;break;case Me.Home:i=0;break;case Me.End:i=r-1}"changeWithArrows"===this.keyboard&&this.select(a[i].navItem.id),a[i].elRef.nativeElement.focus(),t.preventDefault()}}select(t){this._updateActiveId(t,!1)}ngAfterContentInit(){if(!Ls(this.activeId)){const t=this.items.first?this.items.first.id:null;PO(t)&&(this._updateActiveId(t,!1),this._cd.detectChanges())}this.items.changes.pipe((0,Sn.R)(this.destroy$)).subscribe(()=>this._notifyItemChanged(this.activeId))}ngOnChanges({activeId:t}){t&&!t.firstChange&&this._notifyItemChanged(t.currentValue)}ngOnDestroy(){this.destroy$.next()}_updateActiveId(t,e=!0){if(this.activeId!==t){let a=!1;e&&this.navChange.emit({activeId:this.activeId,nextId:t,preventDefault:()=>{a=!0}}),a||(this.activeId=t,this.activeIdChange.emit(t),this._notifyItemChanged(t))}}_notifyItemChanged(t){this.navItemChange$.next(this._getItemById(t))}_getItemById(t){return this.items&&this.items.find(e=>e.id===t)||null}}No.\u0275fac=function(t){return new(t||No)(m.$8M("role"),m.Y36(wp),m.Y36(m.sBO),m.Y36(Q.K0))},No.\u0275dir=m.lG2({type:No,selectors:[["","ngbNav",""]],contentQueries:function(t,e,a){if(1&t&&(m.Suo(a,Lo,4),m.Suo(a,tl,5)),2&t){let r;
1m.iGM(r=m.CRH())&&(e.items=r),m.iGM(r=m.CRH())&&(e.links=r)}},hostVars:6,hostBindings:function(t,e){1&t&&m.NdJ("keydown.arrowLeft",function(r){return e.onKeyDown(r)})("keydown.arrowRight",function(r){return e.onKeyDown(r)})("keydown.arrowDown",function(r){return e.onKeyDown(r)})("keydown.arrowUp",function(r){return e.onKeyDown(r)})("keydown.Home",function(r){return e.onKeyDown(r)})("keydown.End",function(r){return e.onKeyDown(r)}),2&t&&(m.uIk("aria-orientation","vertical"===e.orientation&&"tablist"===e.roles?"vertical":void 0)("role",e.role?e.role:e.roles?"tablist":void 0),m.ekj("nav",!0)("flex-column","vertical"===e.orientation))},inputs:{activeId:"activeId",animation:"animation",destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard"},outputs:{activeIdChange:"activeIdChange",shown:"shown",hidden:"hidden",navChange:"navChange"},exportAs:["ngbNav"],features:[m.TTD]});class tl{constructor(t,e,a,r){this.role=t,this.navItem=e,this.nav=a,this.elRef=r}hasNavItemClass(){return this.navItem.elementRef.nativeElement.nodeType===Node.COMMENT_NODE}}tl.\u0275fac=function(t){return new(t||tl)(m.$8M("role"),m.Y36(Lo),m.Y36(No),m.Y36(m.SBq))},tl.\u0275dir=m.lG2({type:tl,selectors:[["a","ngbNavLink",""]],hostAttrs:["href",""],hostVars:14,hostBindings:function(t,e){1&t&&m.NdJ("click",function(r){return e.nav.click(e.navItem),r.preventDefault()}),2&t&&(m.Ikx("id",e.navItem.domId),m.uIk("role",e.role?e.role:e.nav.roles?"tab":void 0)("tabindex",e.navItem.disabled?-1:void 0)("aria-controls",e.navItem.isPanelInDom()?e.navItem.panelDomId:null)("aria-selected",e.navItem.active)("aria-disabled",e.navItem.disabled),m.ekj("nav-link",!0)("nav-item",e.hasNavItemClass())("active",e.navItem.active)("disabled",e.navItem.disabled))}});const qJ=({classList:n})=>(n.remove("show"),()=>n.remove("active")),HJ=(n,t)=>{t&&Zu(n),n.classList.add("show")};class Uo{constructor(t){this.elRef=t}}Uo.\u0275fac=function(t){return new(t||Uo)(m.Y36(m.SBq))},Uo.\u0275dir=m.lG2({type:Uo,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(t,e){2&t&&(m.Ikx("id",e.item.panelDomId),m.uIk("role",e.role?e.role:e.nav.roles?"tabpanel":void 0)("aria-labelledby",e.item.domId),m.ekj("fade",e.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"}});class Rc{constructor(t,e){this._cd=t,this._ngZone=e,this._activePane=null}isPanelTransitioning(t){return this._activePane?.item===t}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe((0,Sn.R)(this.nav.destroy$),(0,uk.O)(this._activePane?.item||null),(0,Qb.x)(),(0,GG.T)(1)).subscribe(t=>{const e={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?jn(this._ngZone,this._activePane.elRef.nativeElement,qJ,e).subscribe(()=>{const a=this._activePane?.item;this._activePane=this._getPaneForItem(t),this._cd.markForCheck(),this._activePane&&(this._activePane.elRef.nativeElement.classList.add("active"),jn(this._ngZone,this._activePane.elRef.nativeElement,HJ,e).subscribe(()=>{t&&(t.shown.emit(),this.nav.shown.emit(t.id))})),a&&(a.hidden.emit(),this.nav.hidden.emit(a.id))}):this._updateActivePane()})}_updateActivePane(){this._activePane=this._getActivePane(),this._activePane?.elRef.nativeElement.classList.add("show"),this._activePane?.elRef.nativeElement.classList.add("active")}_getPaneForItem(t){return this._panes&&this._panes.find(e=>e.item===t)||null}_getActivePane(){return this._panes&&this._panes.find(t=>t.item.active)||null}}Rc.\u0275fac=function(t){return new(t||Rc)(m.Y36(m.sBO),m.Y36(m.R0b))},Rc.\u0275cmp=m.Xpm({type:Rc,selectors:[["","ngbNavOutlet",""]],viewQuery:function(t,e){if(1&t&&m.Gf(Uo,5),2&t){let a;m.iGM(a=m.CRH())&&(e._panes=a)}},hostVars:2,hostBindings:function(t,e){2&t&&m.ekj("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},attrs:["ngbNavOutlet",""],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["ngbNavPane","",3,"item","nav","role",4,"ngIf"],["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&m.YNc(0,zK,1,1,"ng-template",0),2&t&&m.Q6J("ngForOf",e.nav.items)},directives:[Q.sg,Q.O5,Uo,Q.tP],encapsulation:2,changeDetection:0});class Fo{}Fo.\u0275fac=function(t){return new(t||Fo)},Fo.\u0275mod=m.oAB({type:Fo,declarations:[$s,No,Lo,tl,Rc,Uo],imports:[Q.ez],exports:[$s,No,Lo,tl,Rc,Uo]}),Fo.\u0275inj=m.cJS({imports:[[Q.ez]]});class kp{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}}kp.\u0275fac=function(t){return new(t||kp)}
1,kp.\u0275prov=m.Yz7({token:kp,factory:kp.\u0275fac,providedIn:"root"});class el{constructor(t){this.templateRef=t}}el.\u0275fac=function(t){return new(t||el)(m.Y36(m.Rgc))},el.\u0275dir=m.lG2({type:el,selectors:[["ng-template","ngbPaginationEllipsis",""]]});class nl{constructor(t){this.templateRef=t}}nl.\u0275fac=function(t){return new(t||nl)(m.Y36(m.Rgc))},nl.\u0275dir=m.lG2({type:nl,selectors:[["ng-template","ngbPaginationFirst",""]]});class al{constructor(t){this.templateRef=t}}al.\u0275fac=function(t){return new(t||al)(m.Y36(m.Rgc))},al.\u0275dir=m.lG2({type:al,selectors:[["ng-template","ngbPaginationLast",""]]});class rl{constructor(t){this.templateRef=t}}rl.\u0275fac=function(t){return new(t||rl)(m.Y36(m.Rgc))},rl.\u0275dir=m.lG2({type:rl,selectors:[["ng-template","ngbPaginationNext",""]]});class il{constructor(t){this.templateRef=t}}il.\u0275fac=function(t){return new(t||il)(m.Y36(m.Rgc))},il.\u0275dir=m.lG2({type:il,selectors:[["ng-template","ngbPaginationNumber",""]]});class ol{constructor(t){this.templateRef=t}}ol.\u0275fac=function(t){return new(t||ol)(m.Y36(m.Rgc))},ol.\u0275dir=m.lG2({type:ol,selectors:[["ng-template","ngbPaginationPrevious",""]]});class sl{constructor(t){this.templateRef=t}}sl.\u0275fac=function(t){return new(t||sl)(m.Y36(m.Rgc))},sl.\u0275dir=m.lG2({type:sl,selectors:[["ng-template","ngbPaginationPages",""]]});class Lc{constructor(t){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new m.vpe(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(t){this._updatePages(t)}ngOnChanges(t){this._updatePages(this.page)}isEllipsis(t){return-1===t}_applyEllipses(t,e){this.ellipses&&(t>0&&(t>2?this.pages.unshift(-1):2===t&&this.pages.unshift(2),this.pages.unshift(1)),e<this.pageCount&&(e<this.pageCount-2?this.pages.push(-1):e===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let t=0,e=this.pageCount,a=Math.floor(this.maxSize/2),r=this.maxSize%2==0?a-1:a;return this.page<=a?e=this.maxSize:this.pageCount-this.page<a?t=this.pageCount-this.maxSize:(t=this.page-a-1,e=this.page+r),[t,e]}_applyPagination(){let e=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[e,e+this.maxSize]}_setPageInRange(t){const e=this.page;this.page=t0(t,this.pageCount,1),this.page!==e&&ln(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(t){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),ln(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let e=1;e<=this.pageCount;e++)this.pages.push(e);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){let e=0,a=this.pageCount;this.rotate?[e,a]=this._applyRotation():[e,a]=this._applyPagination(),this.pages=this.pages.slice(e,a),this._applyEllipses(e,a)}}}Lc.\u0275fac=function(t){return new(t||Lc)(m.Y36(kp))},Lc.\u0275cmp=m.Xpm({type:Lc,selectors:[["ngb-pagination"]],contentQueries:function(t,e,a){if(1&t&&(m.Suo(a,el,5),m.Suo(a,nl,5),m.Suo(a,al,5),m.Suo(a,rl,5),m.Suo(a,il,5),m.Suo(a,ol,5),m.Suo(a,sl,5)),2&t){let r;m.iGM(r=m.CRH())&&(e.tplEllipsis=r.first),m.iGM(r=m.CRH())&&(e.tplFirst=r.first),m.iGM(r=m.CRH())&&(e.tplLast=r.first),m.iGM(r=m.CRH())&&(e.tplNext=r.first),m.iGM(r=m.CRH())&&(e.tplNumber=r.first),m.iGM(r=m.CRH())&&(e.tplPrevious=r.first),m.iGM(r=m.CRH())&&(e.tplPages=r.first)}},hostAttrs:["role","navigation"],inputs:{disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",rotate:"rotate",collectionSize:"collectionSize",maxSize:"maxSize",page:"page",pageSize:"pageSize",size:"size"},outputs:{pageChange:"pageChange"},features:[m.TTD],decls:20,vars:12,consts:function(){let n,t,e,a,r,i,o,s;return n=$localize`:@@ngb.pagination.first:««`,t=$localize`:@@ngb.pagination.previous:«`,e=$localize`:@@ngb.pagination.next:»`,a=$localize`:@@ngb.pagination.last:»»`,r=$localize`:@@ngb.pagination.first-aria:First`,i=$localize`:@@ngb.pagination.previous-aria:Previous`,o=$localize`:@@ngb.pagination.next-aria:Next`,s=$localize`:@@ngb.pagination.last-aria:Last`,[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],["class","page-item",3,"disabled",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],n,t,e,a,["class","sr-only",4,"ngIf"],[1,"sr-only"],["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],[1,"page-item"],["class","page-link","tabindex","-1","aria-disabled","true",4,"ngIf"],["class","page-link","href","",3,"click",4,"ngIf"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",r,"href","",1,"page-link",3,"click"],["aria-label",i,"href","",1,"page-link",3,"click"],["aria-label",o,"href","",1,"page-link",3,"click"],["aria-label",s,"href","",1,"page-link",3,"click"]]},template:function(t,e){if(1&t&&(m.YNc(0,EK,2,0,"ng-template",null,0,m.W1O),m.YNc(2,qK,2,0,"ng-template",null,1,m.W1O),m.YNc(4,HK,2,0,"ng-template",null,2,m.W1O),m.YNc(6,BK,2,0,"ng-template",null,3,m.W1O),m.YNc(8,jK,1,0,"ng-template",null,4,m.W1O),m.YNc(10,KK,2,2,"ng-template",null,5,m.W1O),m.YNc(12,tW,1,1,"ng-template",null,6,m.W1O),m.TgZ(14,"ul"),m.YNc(15,nW,3,9,"li",7),m.YNc(16,iW,3,8,"li",7),m.YNc(17,oW,0,0,"ng-template",8),m.YNc(18,lW,3,9,"li",7),m.YNc(19,dW,3,9,"li",7),m.qZA()),2&t){const a=m.MAs(13);m.xp6(14),m.Tol("pagination"+(e.size?" pagination-"+e.size:"")),m.xp6(1),m.Q6J("ngIf",e.boun
1daryLinks),m.xp6(1),m.Q6J("ngIf",e.directionLinks),m.xp6(1),m.Q6J("ngTemplateOutlet",(null==e.tplPages?null:e.tplPages.templateRef)||a)("ngTemplateOutletContext",m.kEZ(8,uW,e.page,e.pages,e.disabled)),m.xp6(1),m.Q6J("ngIf",e.directionLinks),m.xp6(1),m.Q6J("ngIf",e.boundaryLinks)}},directives:[Q.O5,Q.sg,Q.tP],encapsulation:2,changeDetection:0});class Vo{}Vo.\u0275fac=function(t){return new(t||Vo)},Vo.\u0275mod=m.oAB({type:Vo,declarations:[Lc,el,nl,al,rl,il,ol,sl],imports:[Q.ez],exports:[Lc,el,nl,al,rl,il,ol,sl]}),Vo.\u0275inj=m.cJS({imports:[[Q.ez]]});class BJ{constructor(t,e){this.open=t,this.close=e,e||(this.close=t)}isManual(){return"manual"===this.open||"manual"===this.close}}const jJ={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};const IO=n=>n>0?(0,dO.g)(n):t=>t;function MO(n,t,e,a,r,i,o=0,s=0){const l=function GJ(n,t=jJ){const e=(n||"").trim();if(0===e.length)return[];const a=e.split(/\s+/).map(i=>i.split(":")).map(i=>{let o=t[i[0]]||i;return new BJ(o[0],o[1])}),r=a.filter(i=>i.isManual());if(r.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===r.length&&a.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return a}(e);if(1===l.length&&l[0].isManual())return()=>{};const c=function KJ(n,t,e,a){return new rO.y(r=>{const i=[],o=()=>r.next(!0),s=()=>r.next(!1),l=()=>r.next(!a());return e.forEach(c=>{c.open===c.close?i.push(n.listen(t,c.open,l)):i.push(n.listen(t,c.open,o),n.listen(t,c.close,s))}),()=>{i.forEach(c=>c())}})}(n,t,l,a).pipe(function WJ(n,t,e){return a=>{let r=null;const i=a.pipe((0,ya.U)(l=>({open:l})),(0,Ja.h)(l=>{const c=e();return c===l.open||r&&r.open!==c?(r&&r.open!==l.open&&(r=null),!1):(r=l,!0)}),(0,KG.B)()),o=i.pipe((0,Ja.h)(l=>l.open),IO(n)),s=i.pipe((0,Ja.h)(l=>!l.open),IO(t));return(0,cO.T)(o,s).pipe((0,Ja.h)(l=>l===r&&(r=null,l.open!==e())),(0,ya.U)(l=>l.open))}}(o,s,a)).subscribe(d=>d?r():i());return()=>c.unsubscribe()}class Cp{constructor(t){this._ngbConfig=t,this.autoClose=!0,this.placement="auto",this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}Cp.\u0275fac=function(t){return new(t||Cp)(m.LFG(Za))},Cp.\u0275prov=m.Yz7({token:Cp,factory:Cp.\u0275fac,providedIn:"root"});let JJ=0;class Dp{isTitleTemplate(){return this.title instanceof m.Rgc}}Dp.\u0275fac=function(t){return new(t||Dp)},Dp.\u0275cmp=m.Xpm({type:Dp,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(t,e){2&t&&(m.Ikx("id",e.id),m.Tol("popover"+(e.popoverClass?" "+e.popoverClass:"")),m.ekj("fade",e.animation))},inputs:{animation:"animation",title:"title",id:"id",popoverClass:"popoverClass",context:"context"},ngContentSelectors:Wu,decls:4,vars:1,consts:[[1,"arrow"],["class","popover-header",4,"ngIf"],[1,"popover-body"],[1,"popover-header"],["simpleTitle",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(m.F$t(),m._UZ(0,"div",0),m.YNc(1,mW,4,2,"h3",1),m.TgZ(2,"div",2),m.Hsn(3),m.qZA()),2&t&&(m.xp6(1),m.Q6J("ngIf",e.title))},directives:[Q.O5,Q.tP],styles:["ngb-popover-window.bs-popover-top>.arrow,ngb-popover-window.bs-popover-bottom>.arrow{left:50%;margin-left:-.5rem}ngb-popover-window.bs-popover-top-left>.arrow,ngb-popover-window.bs-popover-bottom-left>.arrow{left:2em}ngb-popover-window.bs-popover-top-right>.arrow,ngb-popover-window.bs-popover-bottom-right>.arrow{left:auto;right:2em}ngb-popover-window.bs-popover-left>.arrow,ngb-popover-window.bs-popover-right>.arrow{top:50%;margin-top:-.5rem}ngb-popover-window.bs-popover-left-top>.arrow,ngb-popover-window.bs-popover-right-top>.arrow{top:.7em}ngb-popover-window.bs-popover-left-bottom>.arrow,ngb-popover-window.bs-popover-right-bottom>.arrow{top:auto;bottom:.7em}\n"],encapsulation:2,changeDetection:0});class Tp{constructor(t,e,a,r,i,o,s,l,c){this._elementRef=t,this._renderer=e,this._ngZone=o,this._document=s,this._changeDetector=l,this.shown=new m.vpe,this.hidden=new m.vpe,this._ngbPopoverWindowId="ngb-popover-"+JJ++,this._windowRef=null,this.animation=i.animation,this.autoClose=i.autoClose,this.placement=i.placement,this.triggers=i.triggers,this.container=i.container,this.disablePopover=i.disablePopover,this.popoverClass=i.popoverClass,this.openDelay=i.openDelay,this.closeDelay=i.closeDelay,this._popupService=new kk(Dp,a,r,e,this._ngZone,c),this._zoneSubscription=o.onStable.subscribe(()=>{this._windowRef&&og(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,"body"===this.container,"bs-popover")})}_isDisabled(){return!(!this.disablePopover&&(this.ngbPopover||this.popoverTitle))}open(t){if(!this._windowRef&&!this._isDisabled()){const{windowRef:e,transition$:a}=this._popupService.open(this.ngbPopover,t,this.animation);this._windowRef=e,this._windowRef.instance.animation=this.animation,this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.context=t,this._windowRef.instance.popoverClass=this.popoverClass,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),ig(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),a.subscribe(()=>this.shown.emit())}}close(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(this.animation).subscribe(()=>{this._windowRef=null,this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=MO(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({ngbPopover:t,popoverTitle:e,disablePopover:a,popoverClass:r}){r&&this.isOpen()&&(this._windowRef.instance.popoverClass=r.currentValue),(t||e||a)&&this._isDisabled()&&this.close()}ngOnDestroy(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()}}Tp.\u0275fac=function(t){return new(t||Tp)(m.Y36(m.SBq),m.Y36(m.Qsj),m.Y36(m.zs3),m.Y36(m.s_b),m.Y36(Cp
1),m.Y36(m.R0b),m.Y36(Q.K0),m.Y36(m.sBO),m.Y36(m.z2F))},Tp.\u0275dir=m.lG2({type:Tp,selectors:[["","ngbPopover",""]],inputs:{animation:"animation",autoClose:"autoClose",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle",placement:"placement",triggers:"triggers",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",openDelay:"openDelay",closeDelay:"closeDelay"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],features:[m.TTD]});class zo{}zo.\u0275fac=function(t){return new(t||zo)},zo.\u0275mod=m.oAB({type:zo,declarations:[Tp,Dp],imports:[Q.ez],exports:[Tp]}),zo.\u0275inj=m.cJS({imports:[[Q.ez]]});class Pp{constructor(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}}Pp.\u0275fac=function(t){return new(t||Pp)},Pp.\u0275prov=m.Yz7({token:Pp,factory:Pp.\u0275fac,providedIn:"root"});class Ip{constructor(t){this.value=0,this.max=t.max,this.animated=t.animated,this.striped=t.striped,this.textType=t.textType,this.type=t.type,this.showValue=t.showValue,this.height=t.height}set max(t){this._max=!ln(t)||t<=0?100:t}get max(){return this._max}getValue(){return t0(this.value,this.max)}getPercentValue(){return 100*this.getValue()/this.max}}Ip.\u0275fac=function(t){return new(t||Ip)(m.Y36(Pp))},Ip.\u0275cmp=m.Xpm({type:Ip,selectors:[["ngb-progressbar"]],hostAttrs:[1,"progress"],hostVars:2,hostBindings:function(t,e){2&t&&m.Udp("height",e.height)},inputs:{max:"max",animated:"animated",striped:"striped",showValue:"showValue",textType:"textType",type:"type",value:"value",height:"height"},ngContentSelectors:Wu,decls:3,vars:11,consts:function(){let n;return n=$localize`:@@ngb.progressbar.value:${"\ufffd0\ufffd"}:INTERPOLATION:`,[["role","progressbar","aria-valuemin","0"],[4,"ngIf"],n]},template:function(t,e){1&t&&(m.F$t(),m.TgZ(0,"div",0),m.YNc(1,fW,3,3,"span",1),m.Hsn(2),m.qZA()),2&t&&(m.DjV("progress-bar",e.type?" bg-"+e.type:"","",e.textType?" text-"+e.textType:"","\n ",e.animated?" progress-bar-animated":"","",e.striped?" progress-bar-striped":"",""),m.Udp("width",e.getPercentValue(),"%"),m.uIk("aria-valuenow",e.getValue())("aria-valuemax",e.max),m.xp6(1),m.Q6J("ngIf",e.showValue))},directives:[Q.O5],pipes:[Q.Zx],encapsulation:2,changeDetection:0});class Eo{}Eo.\u0275fac=function(t){return new(t||Eo)},Eo.\u0275mod=m.oAB({type:Eo,declarations:[Ip],imports:[Q.ez],exports:[Ip]}),Eo.\u0275inj=m.cJS({imports:[[Q.ez]]});class Mp{constructor(){this.max=10,this.readonly=!1,this.resettable=!1}}Mp.\u0275fac=function(t){return new(t||Mp)},Mp.\u0275prov=m.Yz7({token:Mp,factory:Mp.\u0275fac,providedIn:"root"});class Nc{constructor(t,e){this._changeDetectorRef=e,this.contexts=[],this.disabled=!1,this.hover=new m.vpe,this.leave=new m.vpe,this.rateChange=new m.vpe(!0),this.onChange=a=>{},this.onTouched=()=>{},this.max=t.max,this.readonly=t.readonly}ariaValueText(){return`${this.nextRate} out of ${this.max}`}isInteractive(){return!this.readonly&&!this.disabled}enter(t){this.isInteractive()&&this._updateState(t),this.hover.emit(t)}handleBlur(){this.onTouched()}handleClick(t){this.isInteractive()&&this.update(this.resettable&&this.rate===t?0:t)}handleKeyDown(t){switch(t.which){case Me.ArrowDown:case Me.ArrowLeft:this.update(this.rate-1);break;case Me.ArrowUp:case Me.ArrowRight:this.update(this.rate+1);break;case Me.Home:this.update(0);break;case Me.End:this.update(this.max);break;default:return}t.preventDefault()}ngOnChanges(t){t.rate&&this.update(this.rate),t.max&&this._updateMax()}ngOnInit(){this._setupContexts(),this._updateState(this.rate)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}reset(){this.leave.emit(this.nextRate),this._updateState(this.rate)}setDisabledState(t){this.disabled=t}update(t,e=!0){const a=t0(t,this.max,0);this.isInteractive()&&this.rate!==a&&(this.rate=a,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)}writeValue(t){this.update(t,!1),this._changeDetectorRef.markForCheck()}
1_updateState(t){this.nextRate=t,this.contexts.forEach((e,a)=>e.fill=Math.round(100*t0(t-a,1,0)))}_updateMax(){this.max>0&&(this._setupContexts(),this.update(this.rate))}_setupContexts(){this.contexts=Array.from({length:this.max},(t,e)=>({fill:0,index:e}))}}Nc.\u0275fac=function(t){return new(t||Nc)(m.Y36(Mp),m.Y36(m.sBO))},Nc.\u0275cmp=m.Xpm({type:Nc,selectors:[["ngb-rating"]],contentQueries:function(t,e,a){if(1&t&&m.Suo(a,m.Rgc,5),2&t){let r;m.iGM(r=m.CRH())&&(e.starTemplateFromContent=r.first)}},hostAttrs:["role","slider","aria-valuemin","0",1,"d-inline-flex"],hostVars:5,hostBindings:function(t,e){1&t&&m.NdJ("blur",function(){return e.handleBlur()})("keydown",function(r){return e.handleKeyDown(r)})("mouseleave",function(){return e.reset()}),2&t&&(m.Ikx("tabindex",e.disabled?-1:0),m.uIk("aria-valuemax",e.max)("aria-valuenow",e.nextRate)("aria-valuetext",e.ariaValueText())("aria-disabled",!!e.readonly||null))},inputs:{max:"max",rate:"rate",readonly:"readonly",resettable:"resettable",starTemplate:"starTemplate"},outputs:{hover:"hover",leave:"leave",rateChange:"rateChange"},features:[m._Bn([{provide:V.JU,useExisting:(0,m.Gpc)(()=>Nc),multi:!0}]),m.TTD],decls:3,vars:1,consts:[["t",""],["ngFor","",3,"ngForOf"],[1,"sr-only"],[3,"mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(m.YNc(0,gW,1,1,"ng-template",null,0,m.W1O),m.YNc(2,AW,4,5,"ng-template",1)),2&t&&(m.xp6(2),m.Q6J("ngForOf",e.contexts))},directives:[Q.sg,Q.tP],encapsulation:2,changeDetection:0});class qo{}qo.\u0275fac=function(t){return new(t||qo)},qo.\u0275mod=m.oAB({type:qo,declarations:[Nc],imports:[Q.ez],exports:[Nc]}),qo.\u0275inj=m.cJS({imports:[[Q.ez]]});class OO{constructor(t,e,a){this.hour=oa(t),this.minute=oa(e),this.second=oa(a)}changeHour(t=1){this.updateHour((isNaN(this.hour)?0:this.hour)+t)}updateHour(t){ln(t)?this.hour=(t<0?24+t:t)%24:this.hour=NaN}changeMinute(t=1){this.updateMinute((isNaN(this.minute)?0:this.minute)+t)}updateMinute(t){ln(t)?(this.minute=t%60<0?60+t%60:t%60,this.changeHour(Math.floor(t/60))):this.minute=NaN}changeSecond(t=1){this.updateSecond((isNaN(this.second)?0:this.second)+t)}updateSecond(t){ln(t)?(this.second=t<0?60+t%60:t%60,this.changeMinute(Math.floor(t/60))):this.second=NaN}isValid(t=!0){return ln(this.hour)&&ln(this.minute)&&(!t||ln(this.second))}toString(){return`${this.hour||0}:${this.minute||0}:${this.second||0}`}}class Op{constructor(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}}Op.\u0275fac=function(t){return new(t||Op)},Op.\u0275prov=m.Yz7({token:Op,factory:Op.\u0275fac,providedIn:"root"});class Rp{}Rp.\u0275fac=function(t){return new(t||Rp)},Rp.\u0275prov=m.Yz7({token:Rp,factory:function(){return function ZJ(){return new Uc}()},providedIn:"root"});class Uc extends Rp{fromModel(t){return t&&He(t.hour)&&He(t.minute)?{hour:t.hour,minute:t.minute,second:He(t.second)?t.second:null}:null}toModel(t){return t&&He(t.hour)&&He(t.minute)?{hour:t.hour,minute:t.minute,second:He(t.second)?t.second:null}:null}}Uc.\u0275fac=function(){let n;return function(e){return(n||(n=m.n5z(Uc)))(e||Uc)}}(),Uc.\u0275prov=m.Yz7({token:Uc,factory:Uc.\u0275fac});class Lp{}Lp.\u0275fac=function(t){return new(t||Lp)},Lp.\u0275prov=m.Yz7({token:Lp,factory:function(t){let e=null;return e=t?new t:function XJ(n){return new Np(n)}(m.LFG(m.soG)),e},providedIn:"root"});class Np extends Lp{constructor(t){super(),this._periods=(0,Q.ol)(t,Q.x.Standalone,Q.Tn.Narrow)}getMorningPeriod(){return this._periods[0]}getAfternoonPeriod(){return this._periods[1]}}Np.\u0275fac=function(t){return new(t||Np)(m.LFG(m.soG))},Np.\u0275prov=m.Yz7({token:Np,factory:Np.\u0275fac});const YJ=/[^0-9]/g;class Fc{constructor(t,e,a,r){this._config=t,this._ngbTimeAdapter=e,this._cd=a,this.i18n=r,this.onChange=i=>{},this.onTouched=()=>{},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInput
1s=t.readonlyInputs,this.size=t.size}set hourStep(t){this._hourStep=He(t)?t:this._config.hourStep}get hourStep(){return this._hourStep}set minuteStep(t){this._minuteStep=He(t)?t:this._config.minuteStep}get minuteStep(){return this._minuteStep}set secondStep(t){this._secondStep=He(t)?t:this._config.secondStep}get secondStep(){return this._secondStep}writeValue(t){const e=this._ngbTimeAdapter.fromModel(t);this.model=e?new OO(e.hour,e.minute,e.second):new OO,!this.seconds&&(!e||!ln(e.second))&&(this.model.second=0),this._cd.markForCheck()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}changeHour(t){this.model.changeHour(t),this.propagateModelChange()}changeMinute(t){this.model.changeMinute(t),this.propagateModelChange()}changeSecond(t){this.model.changeSecond(t),this.propagateModelChange()}updateHour(t){const e=this.model.hour>=12,a=oa(t);this.meridian&&(e&&a<12||!e&&12===a)?this.model.updateHour(a+12):this.model.updateHour(a),this.propagateModelChange()}updateMinute(t){this.model.updateMinute(oa(t)),this.propagateModelChange()}updateSecond(t){this.model.updateSecond(oa(t)),this.propagateModelChange()}toggleMeridian(){this.meridian&&this.changeHour(12)}formatInput(t){t.value=t.value.replace(YJ,"")}formatHour(t){return ln(t)?this.meridian?Ju(t%12==0?12:t%12):Ju(t%24):Ju(NaN)}formatMinSec(t){return Ju(ln(t)?t:NaN)}handleBlur(){this.onTouched()}get isSmallSize(){return"small"===this.size}get isLargeSize(){return"large"===this.size}ngOnChanges(t){t.seconds&&!this.seconds&&this.model&&!ln(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))}propagateModelChange(t=!0){t&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))}}Fc.\u0275fac=function(t){return new(t||Fc)(m.Y36(Op),m.Y36(Rp),m.Y36(m.sBO),m.Y36(Lp))},Fc.\u0275cmp=m.Xpm({type:Fc,selectors:[["ngb-timepicker"]],inputs:{meridian:"meridian",spinners:"spinners",seconds:"seconds",hourStep:"hourStep",minuteStep:"minuteStep",secondStep:"secondStep",readonlyInputs:"readonlyInputs",size:"size"},features:[m._Bn([{provide:V.JU,useExisting:(0,m.Gpc)(()=>Fc),multi:!0}]),m.TTD],decls:16,vars:25,consts:function(){let n,t,e,a,r,i,o,s,l,c,d,u,h,f;return n=$localize`:@@ngb.timepicker.HH:HH`,t=$localize`:@@ngb.timepicker.hours:Hours`,e=$localize`:@@ngb.timepicker.MM:MM`,a=$localize`:@@ngb.timepicker.minutes:Minutes`,r=$localize`:@@ngb.timepicker.increment-hours:Increment hours`,i=$localize`:@@ngb.timepicker.decrement-hours:Decrement hours`,o=$localize`:@@ngb.timepicker.increment-minutes:Increment minutes`,s=$localize`:@@ngb.timepicker.decrement-minutes:Decrement minutes`,l=$localize`:@@ngb.timepicker.SS:SS`,c=$localize`:@@ngb.timepicker.seconds:Seconds`,d=$localize`:@@ngb.timepicker.increment-seconds:Increment seconds`,u=$localize`:@@ngb.timepicker.decrement-seconds:Decrement seconds`,h=$localize`:@@ngb.timepicker.PM:${"\ufffd0\ufffd"}:INTERPOLATION:`,f=$localize`:@@ngb.timepicker.AM:${"\ufffd0\ufffd"}:INTERPOLATION:`,[[3,"disabled"],[1,"ngb-tp"],[1,"ngb-tp-input-container","ngb-tp-hour"],["tabindex","-1","type","button","class","btn btn-link",3,"btn-sm","btn-lg","disabled","click",4,"ngIf"],["type","text","maxlength","2","inputmode","numeric","placeholder",n,"aria-label",t,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],[1,"ngb-tp-spacer"],[1,"ngb-tp-input-container","ngb-tp-minute"],["type","text","maxlength","2","inputmode","numeric","placeholder",e,"aria-label",a,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],["class","ngb-tp-spacer",4,"ngIf"],["class","ngb-tp-input-container ngb-tp-second",4,"ngIf"],["class","ngb-tp-meridian",4,"ngIf"],["tabindex","-1","type","button",1,"btn","btn-link",3,"disabled","click"],[1,"chevron","ngb-tp-chevron"],[1,"sr-only"],r,[1,"chevron","ngb-tp-chevron","bottom"],i,o,s,[1,"ngb-tp-input-container","ngb-tp-second"],["type","text","maxlength","2","inputmode","numeric","placeholder",l,"aria-label",c,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],d,u,[1,"ngb-tp-meridian"],["type","button",1,"btn","btn-outline-primary",3,"disabled","click"],[4,"ngIf","ngIfElse"],["am",""],h,f]},template:function(t,e){1&t&&(m.TgZ(0,"fieldset",0)(1,"div",1)(2,"div",2),m.YNc(3,yW,4,7,"button",3),m.TgZ(4,"input",4),m.NdJ("change",function(r){return e.updateHour(r.target.value)})("blur",function(){return e.handleBlur()})("input",function(r){return e.formatInput(r.target)})("keydown.ArrowUp",function(r){return e.changeHour(e.hourStep),r.preventDefault()})("keydown.ArrowDown",function(r){return e.changeHour(-e.hourStep),r.preventDefault()}),m.qZA(),m.YNc(5,bW,4,7,"button",3),m.qZA(),m.TgZ(6,"div",5),m._uU(7,":"),m.qZA(),m.TgZ(8,"div",6),m.YNc(9,_W,4,7,"button",3),m.TgZ(10,"input",7),m.NdJ("change",function(r){return e.updateMinute(r.target.value)})("blur",function(){return e.handleBlur()})("input",function(r){return e.formatInput(r.target)})("keydown.ArrowUp",function(r){return e.changeMinute(e.minuteStep),r.preventDefault()})("keydown.ArrowDown",function(r){return e.changeMinute(-e.minuteStep),r.preventDefault()}),m.qZA(),m.YNc(11,xW,4,7,"button",3),m.qZA(),m.YNc(12,SW,2,0,"div",8),m.YNc(13,CW,4,9,"div",9),m.YNc(14,DW,1,0,"div",8),m.YNc(15,IW,5,9,"div",10),m.qZA()()),2&t&&(m.ekj("disabled",e.disabled),m.Q6J("disabled",e.disabled),m.xp6(3),m.Q6J("ngIf",e.spinners),m.xp6(1),m.ekj("form-control-sm",e.isSmallSize)("form-control-lg",e.isLargeSize),m.Q6J("value",e.formatHour(null==e.model?null:e.model.hour))("readOnly",e.readonlyInput
1s)("disabled",e.disabled),m.xp6(1),m.Q6J("ngIf",e.spinners),m.xp6(4),m.Q6J("ngIf",e.spinners),m.xp6(1),m.ekj("form-control-sm",e.isSmallSize)("form-control-lg",e.isLargeSize),m.Q6J("value",e.formatMinSec(null==e.model?null:e.model.minute))("readOnly",e.readonlyInputs)("disabled",e.disabled),m.xp6(1),m.Q6J("ngIf",e.spinners),m.xp6(1),m.Q6J("ngIf",e.seconds),m.xp6(1),m.Q6J("ngIf",e.seconds),m.xp6(1),m.Q6J("ngIf",e.meridian),m.xp6(1),m.Q6J("ngIf",e.meridian))},directives:[Q.O5],styles:['ngb-timepicker{font-size:1rem}.ngb-tp{display:flex;align-items:center}.ngb-tp-input-container{width:4em}.ngb-tp-chevron:before{border-style:solid;border-width:.29em .29em 0 0;content:"";display:inline-block;height:.69em;left:.05em;position:relative;top:.15em;transform:rotate(-45deg);vertical-align:middle;width:.69em}.ngb-tp-chevron.bottom:before{top:-.3em;transform:rotate(135deg)}.ngb-tp-input{text-align:center}.ngb-tp-hour,.ngb-tp-minute,.ngb-tp-second,.ngb-tp-meridian{display:flex;flex-direction:column;align-items:center;justify-content:space-around}.ngb-tp-spacer{width:1em;text-align:center}\n'],encapsulation:2});class Ho{}Ho.\u0275fac=function(t){return new(t||Ho)},Ho.\u0275mod=m.oAB({type:Ho,declarations:[Fc],imports:[Q.ez],exports:[Fc]}),Ho.\u0275inj=m.cJS({imports:[[Q.ez]]});const QJ=(n,t)=>{const{classList:e}=n;if(t)return e.remove("hide"),Zu(n),e.add("showing"),()=>{e.remove("showing"),e.add("show")};e.add("show")},$J=({classList:n})=>(n.remove("show"),()=>{n.add("hide")});class Up{constructor(t){this._ngbConfig=t,this.autohide=!0,this.delay=500,this.ariaLive="polite"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}Up.\u0275fac=function(t){return new(t||Up)(m.LFG(Za))},Up.\u0275prov=m.Yz7({token:Up,factory:Up.\u0275fac,providedIn:"root"});class Vc{}Vc.\u0275fac=function(t){return new(t||Vc)},Vc.\u0275dir=m.lG2({type:Vc,selectors:[["","ngbToastHeader",""]]});class Fp{constructor(t,e,a,r){this.ariaLive=t,this._zone=a,this._element=r,this.contentHeaderTpl=null,this.shown=new m.vpe,this.hidden=new m.vpe,null==this.ariaLive&&(this.ariaLive=e.ariaLive),this.delay=e.delay,this.autohide=e.autohide,this.animation=e.animation}ngAfterContentInit(){this._zone.onStable.asObservable().pipe((0,lr.q)(1)).subscribe(()=>{this._init(),this.show()})}ngOnChanges(t){"autohide"in t&&(this._clearTimeout(),this._init())}hide(){this._clearTimeout();const t=jn(this._zone,this._element.nativeElement,$J,{animation:this.animation,runningTransition:"stop"});return t.subscribe(()=>{this.hidden.emit()}),t}show(){const t=jn(this._zone,this._element.nativeElement,QJ,{animation:this.animation,runningTransition:"continue"});return t.subscribe(()=>{this.shown.emit()}),t}_init(){this.autohide&&!this._timeoutID&&(this._timeoutID=setTimeout(()=>this.hide(),this.delay))}_clearTimeout(){this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null)}}Fp.\u0275fac=function(t){return new(t||Fp)(m.$8M("aria-live"),m.Y36(Up),m.Y36(m.R0b),m.Y36(m.SBq))},Fp.\u0275cmp=m.Xpm({type:Fp,selectors:[["ngb-toast"]],contentQueries:function(t,e,a){if(1&t&&m.Suo(a,Vc,7,m.Rgc),2&t){let r;m.iGM(r=m.CRH())&&(e.contentHeaderTpl=r.first)}},hostAttrs:["role","alert","aria-atomic","true",1,"toast"],hostVars:3,hostBindings:function(t,e){2&t&&(m.uIk("aria-live",e.ariaLive),m.ekj("fade",e.animation))},inputs:{animation:"animation",delay:"delay",autohide:"autohide",header:"header"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbToast"],features:[m.TTD],ngContentSelectors:Wu,decls:5,vars:1,consts:function(){let n;return n=$localize`:@@ngb.toast.close-aria:Close`,[["headerTpl",""],[3,"ngIf"],[1,"toast-body"],[1,"mr-auto"],[1,"toast-header"],[3,"ngTemplateOutlet"],["type","button","aria-label",n,1,"close",3,"click"],["aria-hidden","true"]]},template:function(t,e){1&t&&(m.F$t(),m.YNc(0,MW,2,1,"ng-template",null,0,m.W1O),m.YNc(2,RW,5,1,"ng-template",1),m.TgZ(3,"div",2),m.Hsn(4),m.qZA()),2&t&&(m.xp6(2),m.Q6J("ngIf",e.contentHeaderTpl||e.header))},directives:[Q.O5,Q.tP],styles:[".ngb-toasts{position:fixed;top:0;right:0;margin:.5em;z-index:1200}ngb-toast{display:block}ngb-toast .toast-header .close{margin-left:auto;margin-bottom:.25rem}\n"],encapsulation:2});class Bo{}Bo.\u0275fac=function(t){return new(t||Bo)},Bo.\u0275mod=m.oAB({type:Bo,declarations:[Fp,Vc],imports:[Q.ez],exports:[Fp,Vc]}),Bo.\u0275inj=m.cJS({imports:[[Q.ez]]});class Vp{constructor(t){this._ngbConfig=t,this.autoClose=!0,this.placement="auto",this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}Vp.\u0275fac=function(t){return new(t||Vp)(m.LFG(Za))},Vp.\u0275prov=m.Yz7({token:Vp,factory:Vp.\u0275fac,providedIn:"root"});let tZ=0;class zp{}zp.\u0275fac=function(t){return new(t||zp)},zp.\u0275cmp=m.Xpm({type:zp,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(t,e){2&t&&(m.Ikx("id",e.id),m.Tol("tooltip"+(e.tooltipClass?" "+e.tooltipClass:"")),m.ekj("fade",e.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},ngContentSelectors:Wu,decls:3,vars:0,consts:[[1,"arrow"],[1,"tooltip-inner"]],template:function(t,e){1&t&&(m.F$t(),m._UZ(0,"div",0),m.TgZ(1,"div",1),m.Hsn(2),m.qZA())},styles:["ngb-tooltip-window{pointer-events:none}ngb-tooltip-window .tooltip-inner{pointer-events:auto}ngb-tooltip-window.bs-tooltip-top .arrow,ngb-tooltip-window.bs-tooltip-bottom .arrow{left:calc(50% - 0.4rem)}ngb-tooltip-window.bs-tooltip-top-left .arrow,ngb-tooltip-window.bs-tooltip-bottom-left .arrow{left:1em}ngb-tooltip-window.bs-tooltip-top-right .arrow,ngb-tooltip-window.bs-tooltip-bottom-right .arrow{left:auto;right:.8rem}ngb-tooltip-window.bs-tooltip-left .arrow,ngb-tooltip-window.bs-tooltip-right .arrow{top:calc(50% - 0.4rem)}ngb-tooltip-window.bs-tooltip-left-top .arrow,ngb-tooltip-window.bs-tooltip-right-top .arrow{top:.4rem}ngb-tooltip-window.bs-tooltip-left-bottom .arrow,ngb-tooltip-window.bs-tooltip-right-bottom .arrow{top:auto;bottom:.4rem}\n"],encapsulation:2,changeDetection:0});class Ep{constructor(t,e,a,r,i,o,s,l,c){this._elementRef=t,this._renderer=e,this._ngZone=o,this._document=s,this._changeDetector=l,this.shown=new m.vpe,this.hidden=new m.vpe,this._ngbTooltipWindowId="ngb-tooltip-"+tZ++,this._windowRef=null,this.animation=i.animation,this.autoClose=i.autoClose,this.placement=i.placement,this.triggers=i.triggers,this.container=i.container,this.disableTooltip=i.disableTooltip,this.tooltipClass=i.tooltipClass,this.openDelay=i.openDelay,this.closeDelay=i.closeDelay,this._popupService=new kk(zp,a,r,e,this._ngZone,c),this._zoneSubscription=o.onStable.subscribe(()=>{this._windowRef&&og(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,"body"===this.container,"bs-tooltip")})}set ngbTooltip(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(t){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:e,transition$:a}=this._popupService.open(this._ngbTooltip,t,this.animation);this._windowRef=e,this._windowRef.instance.animation=this.animation,this._windowRef.instance.tooltipClass=this.tooltipClass,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),ig(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),a.subscribe(()=>this.shown.emit())}}close(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(this.animation).subscribe(()=>{this._windowRef=null,this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=MO(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:t}){t&&this.isOpen()&&(this._windowRef.instance.tooltipClass=t.currentValue)}ngOnDestroy(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()}}Ep.\u0275fac=function(t){return new(t||Ep)(m.Y36(m.SBq),m.Y36(m.Qsj),m.Y36(m.zs3),m.Y36(m.s_b),m.Y36(Vp),m.Y36(m.R0b),m.Y36(Q.K0),m.Y36(m.sBO),m.Y36(m.z2F))},Ep.\u0275dir=m.lG2({type:Ep,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",triggers:"triggers",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],features:[m.TTD]});
1class jo{}jo.\u0275fac=function(t){return new(t||jo)},jo.\u0275mod=m.oAB({type:jo,declarations:[Ep,zp],exports:[Ep]}),jo.\u0275inj=m.cJS({});class zc{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(t){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);const e=tg(this.result),a=Array.isArray(this.term)?this.term:[this.term],r=l=>this.accentSensitive?l:pO(l),i=a.map(l=>function HW(n){return n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(r(tg(l)))).filter(l=>l),o=this.accentSensitive?e:pO(e),s=i.length?o.split(new RegExp(`(${i.join("|")})`,"gmi")):[e];if(this.accentSensitive)this.parts=s;else{let l=0;this.parts=s.map(c=>e.substring(l,l+=c.length))}}}zc.\u0275fac=function(t){return new(t||zc)},zc.\u0275cmp=m.Xpm({type:zc,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},features:[m.TTD],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(t,e){1&t&&m.YNc(0,UW,3,2,"ng-template",0),2&t&&m.Q6J("ngForOf",e.parts)},directives:[Q.sg,Q.O5],styles:[".ngb-highlight{font-weight:700}\n"],encapsulation:2,changeDetection:0});class qp{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=tg,this.selectEvent=new m.vpe,this.activeChangeEvent=ne
1w m.vpe}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(t){this.activeIdx=t,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(t){this.selectEvent.emit(t)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}}qp.\u0275fac=function(t){return new(t||qp)},qp.\u0275cmp=m.Xpm({type:qp,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(t,e){1&t&&m.NdJ("mousedown",function(r){return r.preventDefault()}),2&t&&(m.Ikx("id",e.id),m.Tol("dropdown-menu show"+(e.popupClass?" "+e.popupClass:"")))},inputs:{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate",popupClass:"popupClass"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],decls:3,vars:1,consts:[["rt",""],["ngFor","",3,"ngForOf"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"id","mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(m.YNc(0,FW,1,2,"ng-template",null,0,m.W1O),m.YNc(2,EW,2,9,"ng-template",1)),2&t&&(m.xp6(2),m.Q6J("ngForOf",e.results))},directives:[zc,Q.sg,Q.tP],encapsulation:2});class Hp{constructor(){this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=["bottom-left","bottom-right","top-left","top-right"]}}Hp.\u0275fac=function(t){return new(t||Hp)},Hp.\u0275prov=m.Yz7({token:Hp,factory:Hp.\u0275fac,providedIn:"root"});const eZ=new m.OlP("live announcer delay",{providedIn:"root",factory:function nZ(){return 100}});function RO(n,t=!1){let e=n.body.querySelector("#ngb-live");return null==e&&t&&(e=n.createElement("div"),e.setAttribute("id","ngb-live"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),e.classList.add("sr-only"),n.body.appendChild(e)),e}class Bp{constructor(t,e){this._document=t,this._delay=e}ngOnDestroy(){const t=RO(this._document);t&&t.parentElement.removeChild(t)}say(t){const e=RO(this._document,!0),a=this._delay;if(null!=e){e.textContent="";const r=()=>e.textContent=t;null===a?r():setTimeout(r,a)}}}Bp.\u0275fac=function(t){return new(t||Bp)(m.LFG(Q.K0),m.LFG(eZ))},Bp.\u0275prov=m.Yz7({token:Bp,factory:Bp.\u0275fac,providedIn:"root"});let aZ=0;class Ec{constructor(t,e,a,r,i,o,s,l,c,d,u){this._elementRef=t,this._renderer=a,this._live=s,this._document=l,this._ngZone=c,this._changeDetector=d,this._subscription=null,this._closed$=new Vn.xQ,this._inputValueBackup=null,this._windowRef=null,this.autocomplete="off",this.placement="bottom-left",this.selectItem=new m.vpe,this.activeDescendant=null,this.popupId="ngb-typeahead-"+aZ++,this._onTouched=()=>{},this._onChange=h=>{},this.container=i.container,this.editable=i.editable,this.focusFirst=i.focusFirst,this.showHint=i.showHint,this.placement=i.placement,this._valueChanges=(0,ba.R)(t.nativeElement,"input").pipe((0,ya.U)(h=>h.target.value)),this._resubscribeTypeahead=new wt.X(null),this._popupService=new kk(qp,r,e,a,this._ngZone,u),this._zoneSubscription=o.onStable.subscribe(()=>{this.isPopupOpen()&&og(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,"body"===this.container)})}ngOnInit(){this._subscribeToUserInput()}ngOnChanges({ngbTypeahead:t}){t&&!t.firstChange&&(this._unsubscribeFromUserInput(),this._subscribeToUserInput())}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}writeValue(t){this._writeInputValue(this._formatItemForInput(t)),this.showHint&&(this._inputValueBackup=t)}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return null!=this._windowRef}handleBlur(){this._resubscribeTypeahead.next(null),this._onTouched()}handleKeyDown(t){if(this.isPopupOpen())switch(t.which){case Me.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case Me.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case Me.Enter:case Me.Tab:{const e=this._windowRef.instance.getActive();Ls(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup();break}}}_openPopup(){if(!this.isPopupOpen()){this._inputValueBackup=this._elementRef.nativeElement.value;const{windowRef:t}=this._popupService.open();this._windowRef=t,this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(e=>this._selectResultClosePopup(e)),this._windowRef.instance.activeChangeEvent.subscribe(e=>this.activeDescendant=e),this._windowRef.instance.popupClass=this.popupClass,"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._changeDetector.markForCheck(),ig(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._elementRef.nativeElement,this._windowRef.location.nativeElement])}}_closePopup(){this._popupService.close().subscribe(()=>{this._closed$.next(),this._windowRef=null,this.activeDescendant=null})}_selectResult(t){let e=!1;this.selectItem.emit({item:t,preventDefault:()=>{e=!0}}),this._resubscribeTypeahead.next(null),e||(this.writeValue(t),this._onChange(t))}_selectResultClosePopup(t){this._selectResult(t),this._closePopup()}_showHint(){if(this.showHint&&this._windowRef?.instance.hasActive()&&null!=this._inputValueBackup){const t=this._inputValueBackup.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());t===e.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+e.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,e.length])):this._writeInputValue(e)}}_formatItemForInput(t){return null!=t&&this.inputFormatter?this.inputFormatter(t):tg(t)}_writeInputValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",tg(t))}_subscribeToUserInput(){const t=this._valueChanges.pipe((0,$b.b)(e=>{this._inputValueBackup=this.showHint?e:null,this._onChange(this.editable?e:void 0)}),this.ngbTypeahead?this.ngbTypeahead:()=>(0,Ka.of)([]));this._subscription=this._resubscribeTypeahead.pipe((0,pk.w)(()=>t)).subscribe(e=>{e&&0!==e.length?(this._openPopup(),this._windowRef.instance.focusFirst=this.focusFirst,this._windowRef.instance.results=e,this._windowRef.instance.term=this._elementRef.nativeElement.value,this.resultFormatter&&(this._windowRef.instance.formatter=this.resultFormatter),this.resultTemplate&&(this._windowRef.instance.resultTemplate=this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint()):this._closePopup();const a=e?e.length:0;this._live.say(0===a?"No results available":`${a} result${1===a?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}}Ec.\u0275fac=function(t){return new(t||Ec)(m.Y36(m.SBq),m.Y36(m.s_b),m.Y36(m.Qsj),m.Y36(m.zs3),m.Y36(Hp),m.Y36(m.R0b),m.Y36(Bp),m.Y36(Q.K0),m.Y36(m.R0b),m.Y36(m.sBO),m.Y36(m.z2F))},Ec.\u0275dir=m.lG2({type:Ec,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox","aria-multiline","false"],hostVars:7,hostBindings:function(t,e){1&t&&m.NdJ("blur",function(){return e.handleBlur()})("keydown",function(r){return e.handleKeyDown(r)}),2&t&&(m.Ikx("autocomplete",e.autocomplete),m.uIk("aria-autocomplete",e.showHint?"both":"list")("aria-activedescendant",e.activeDescendant)("aria-owns",e.isPopupOpen()?e.popupId:null)("aria-expanded",e.isPopupOpen()),m.ekj("open",e.isPopupOpen()))},inputs:{autocomplete:"autocomplete",container:"container",editable:"editable",focusFirst:"focusFirst",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate",showHint:"showHint",placement:"placement",popupClass:"popupClass"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],features:[m._Bn([{provide:V.JU,useExisting:(0,m.Gpc)(()=>Ec),multi:!0}]),m.TTD]});class Go{}Go.\u0275fac=function(t){return new(t||Go)},Go.\u0275mod=m.oAB({type:Go,declarations:[Ec,zc,qp],imports:[Q.ez],exports:[Ec,zc]}),Go.\u0275inj=m.cJS({imports:[[Q.ez]]});const rZ=[wo,ko,To,Po,Io,Oo,Ro,Mi,Fo,Vo,zo,Eo,qo,Ho,Bo,jo,Go];class hg{}hg.\u0275fac=function(t){return new(t||hg)},hg.\u0275mod=m.oAB({type:hg,imports:[wo,ko,To,Po,Io,Oo,Ro,Mi,Fo,Vo,zo,Eo,qo,Ho,Bo,jo,Go],exports:[wo,ko,To,Po,Io,Oo,Ro,Mi,Fo,Vo,zo,Eo,qo,Ho,Bo,jo,Go]}),hg.\u0275inj=m.cJS({imports:[rZ,wo,ko,To,Po,Io,Oo,Ro,Mi,Fo,Vo,zo,Eo,qo,Ho,Bo,jo,Go]});var LO=F(93499),NO=F(62641),Ck=F(40537);let mg=class{constructor(t,e,a,r){this.dialogRef=t,this.storeService=e,this.message=a,this.data=r,this.formDataSource=[]}ngOnInit(){this.data||(this.data={});
1try{"default_tax_rate"==this.data.key&&(this.formDataSource=[{type:"input",key:"default_tax_rate",value:this.data.store.default_tax_rate}])}catch(t){console.error(t)}}handleSubmit(t){console.log("values:",t);try{this.data&&t&&this.storeService.updateStore(t,this.data.store.id).subscribe(e=>{this.dialogRef.close("success"),this.message.successWithTranlate("common_update_success")},e=>{console.log(e)})}catch(e){console.log(e)}}};mg.ctorParameters=()=>[{type:St.so},{type:Vb.d},{type:ne.I},{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}],mg=(0,j.gn)([(0,m.wA2)({selector:"app-change-tax",template:'<div mat-dialog-content>\n <div class="w-100 d-flex justify-content-end">\n <button mat-icon-button [mat-dialog-close]="false">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <app-common-form [dataSource]="formDataSource" (onSubmit)="handleSubmit($event)"></app-common-form>\n </div>',styles:[""]})],mg);let jp=class{constructor(t,e,a,r,i,o){this.modal=t,this.userService=e,this.dialog=a,this.fb=r,this.msgServ=i,this.storeService=o,this.image="https://www.cmu.edu/chemistry/people/staff/images/no-image.png",this.view=Rs.wr.Month,this.CalendarView=Rs.wr,this.events=[],this.viewDate=new Date,this.curr=31,this.isUpdatePwdVisible=!1,this.activeDayIsOpen=!1,this.confirmationValidator=s=>s.value?s.value!==this.validateForm.controls.new_password.value?{confirm:!0,error:!0}:{}:{required:!0},this._unsubscribeAll=new Vn.xQ}ngOnInit(){this.getMyInfos(),this.getMyLicense(),this.validateForm=this.fb.group({old_password:[null,[V.kI.required]],new_password:[null,[V.kI.required,V.kI.minLength(8)]],new_password_confirmation:[null,[V.kI.required,this.confirmationValidator]]})}getMyInfos(){this.userService.getUser().subscribe(t=>{this.user=t,this.currenciesUser=this.user.currencies,localStorage.setItem("logo_user",this.user.store.store_logo),t?.currencies?.length&&localStorage.setItem("currency_user",t.currencies[0].symbol),this.storeUser=this.user.store_group,localStorage.setItem("curr",this.currenciesUser[0].code)})}handleEvent(t,e){this.modalData={event:e,action:t},this.modal.open(this.modalContent,{size:"lg"})}dayClicked({date:t,events:e}){(0,LO.Z)(t,this.viewDate)&&((0,NO.Z)(this.viewDate,t)&&!0===this.activeDayIsOpen||0===e.length?this.activeDayIsOpen=!1:this.activeDayIsOpen=!0,this.viewDate=t)}getMyLicense(){this.userService.getLicence().subscribe(t=>{this.licence=t})}editCurrency(){this.dialog.open(fg,{width:"400px",height:"220px"}).afterClosed().subscribe(e=>{this.getMyInfos()})}editDefaultTaxRate(){this.dialog.open(mg,{data:{store:this.user.store,key:"default_tax_rate"},autoFocus:!1,maxHeight:"98vh",width:"400px"}).afterClosed().subscribe(t=>{"success"===t&&this.getMyInfos()})}editGroup(){this.dialog.open($f,{width:"400px",height:"40vh"}).afterClosed().subscribe(e=>{this.getMyInfos()})}openChangeLogo(){this.dialog.open(vc,{data:{store:this.user.store,key:"store_img"},autoFocus:!1,maxHeight:"98vh",width:"400px"}).afterClosed().subscribe(t=>{"success"===t&&this.getMyInfos()})}showModal(){this.isUpdatePwdVisible=!0}handleOk(){this.isConfirmLoading=!0,setTimeout(()=>{this.isUpdatePwdVisible=!1,this.isConfirmLoading=!1},3e3)}handleCancel(){this.isUpdatePwdVisible=!1,this.validateForm.reset()}submitForm(){console.log("value:",this.validateForm);for(const t in this.validateForm.controls)this.validateForm.controls[t].markAsDirty(),this.validateForm.controls[t].updateValueAndValidity();this.validateForm.valid&&(this.isConfirmLoading=!0,this.userService.changePassword(this.validateForm.value).pipe((0,Ck.x)(()=>this.isConfirmLoading=!1)).subscribe(t=>{200===t.code?(this.msgServ.successWithTranlate(t.msg),this.isUpdatePwdVisible=!1):this.msgServ.errorWithTranslate(t.msg)}))}updateConfirmValidator(){Promise.resolve().then(()=>this.validateForm.controls.new_password_confirmation.updateValueAndValidity())}deleteImage(t){t.stopPropagation(),(new FormData).append("store_img",null);this.storeService.updateStore({store_img:null},this.user.store.id).subscribe(r=>{200===r.code?(localStorage.removeItem("logo_user"),this.getMyInfos(),this.msgServ.successWithTranlate("\u56fe\u7247\u5df2\u6210\u529f\u5220\u9664")):this.msgServ.errorWithTranslate(r.msg||"\u5220\u9664\u56fe\u7247\u5931\u8d25")})}};jp.ctorParameters=()=>[{type:Qs},{type:bo.K},{type:St.uw},{type:V.qu},{type:ne.I},{type:Vb.d}],jp.propDecorators={modalContent:[{type:m.i9L,args:["modalContent",{static:!0}]}]},jp=(0,j.gn)([(0,m.wA2)({selector:"app-useraccount",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n\n <div class="row mt-3">\n <div class="col-12 col-sm-6 col-lg-4 my-3">\n <div class="d-flex flex-column border rounded h-100 p-3">\n <div class="card-body">\n <div class="row">\n <h5 class="text-center">\n {{ "nav_myAccount_profile" | translate }}\n </h5>\n </div>\n <div class="row">\n <div class="col-4 pl-0">\n {{ "First-Name" | translate }}\n </div>\n <div class="col-8 text-secondary">\n {{ user.first_name }}\n </div>\n </div>\n <div class="row">\n <div class="col-4 pl-0">\n {{ "Last-Name" | translate }}\n </div>\n <div class="col-8 text-secondary">\n {{ user.last_name }}\n </div>\n </div>\n <div class="row">\n <div class="col-4 pl-0">\n {{ "Email-address" | translate }}\n </div>\n <div class="col-8 text-secondary">\n {{ user.email }}\n </div>\n </div>\n <div class="row">\n <div class="col-4 pl-0">\n {{ "common_contact" | translate }}\n </div>\n <div class="col-8 text-secondary">\n {{ user.contact }}\n </div>\n </div>\n <div class="row">\n <div class="col-4 pl-0">\n <h6 class="mb-0">{{ "Address" | translate }}</h6>\n </div>\n <div class="col-8 text-secondary">\n {{ user.billing_address_1 }}\n </div>\n </div>\n <div class="row">\n <div class="col-4 pl-0">\n {{ "City" | translate }}\n </div>\n <div class="col-8 text-secondary">\n {{ user.billing_city }}\n </div>\n </div>\n <div class="row">\n <div class="col-4 pl-0">\n {{ "Country" | translate }}\n </div>\n <div class="col-8 text-secondary">\n {{ user.billing_country }}\n </div>\n </div>\n <div class="row">\n <div class="col-4 pl-0">\n {{ "Postal-code" | translate }}\n </div>\n <div class="col-8 text-secondary">\n {{ user.billing_postal_code }}\n </div>\n </div>\n <div class="row">\n <button\n mat-button\n class="btn-sm mt-2 mr-2"\n routerLink="/shop/my-account"\n style="background-color: #cacaca"\n >\n {{ "settingsComponent_edit_profile" | translate }}\n </button>\n <button\n mat-button\n class="btn-sm mt-2 mr-2"\n routerLink="/shop/marketing-file"\n style="background-color: #cacaca"\n >\n {{ "Marketing File" | translate }}\n </button>\n <button\n mat-button\n class="btn-sm mt-2 mr-2"\n routerLink="/shop/shipping-address"\
1n style="background-color: #cacaca"\n >\n {{ "shipping address" | translate }}\n </button>\n <button\n mat-button\n class="btn-sm mt-2 mr-2"\n style="background-color: #cacaca"\n (click)="showModal()"\n >\n {{ "update_password" | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n \x3c!-- update pwd --\x3e\n <nz-modal\n nzWidth="800px"\n [(nzVisible)]="isUpdatePwdVisible"\n [nzTitle]="\'update_password\' | translate"\n [nzContent]="modalContent"\n [nzFooter]="modalFooter"\n (nzOnCancel)="handleCancel()"\n >\n <ng-template #modalContent>\n <form nz-form [formGroup]="validateForm">\n <nz-form-item>\n <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired>{{\n "old_password" | translate\n }}</nz-form-label>\n <nz-form-control\n [nzSm]="14"\n [nzXs]="24"\n nzErrorTip="Please input your password!"\n >\n <input\n nz-input\n type="password"\n id="password"\n formControlName="old_password"\n />\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired>{{\n "new_password" | translate\n }}</nz-form-label>\n <nz-form-control [nzSm]="14" [nzXs]="24" [nzErrorTip]="errorPwdTpl">\n <input\n nz-input\n type="password"\n id="password"\n formControlName="new_password"\n (ngModelChange)="updateConfirmValidator()"\n />\n <ng-template #errorPwdTpl let-control>\n <ng-container *ngIf="control.hasError(\'required\')">\n {{ "common_passwordRequired" | translate }}\n </ng-container>\n <ng-container *ngIf="control.hasError(\'minlength\')">\n {{ "common_passwordMinLength" | translate }}\n </ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label\n [nzSm]="6"\n [nzXs]="24"\n nzFor="new_password_confirmation"\n nzRequired\n >{{ "new_password_confirmation" | translate }}</nz-form-label\n >\n <nz-form-control [nzSm]="14" [nzXs]="24" [nzErrorTip]="errorTpl">\n <input\n nz-input\n type="password"\n formControlName="new_password_confirmation"\n id="new_password_confirmation"\n />\n <ng-template #errorTpl let-control>\n <ng-container *ngIf="control.hasError(\'required\')">\n {{ "common_passwordRequired" | translate }}\n </ng-container>\n <ng-container *ngIf="control.hasError(\'confirm\')">\n {{\n "Password and Confirm Password must be match" | translate\n }}\n </ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n </form>\n </ng-template>\n\n <ng-template #modalFooter>\n <div\n style="display: flex; justify-content: center; align-items: center"\n >\n <button\n nz-button\n nzType="primary"\n style="margin-right: 20px"\n (click)="submitForm()"\n [nzLoading]="isConfirmLoading"\n [disabled]="validateForm.invalid"\n >\n {{ "Submit" | translate }}\n </button>\n\n <button nz-button nzType="default" (click)="handleCancel()">\n {{ "cancel" | translate }}\n </button>\n </div>\n </ng-template>\n </nz-modal>\n <div class="col-12 col-sm-6 col-lg-4 my-3">\n <div class="d-flex flex-column border rounded h-100 p-3">\n <div class="row d-flex justify-content-center">\n <div\n class="col-6 d-flex flex-column justify-content-center"\n (click)="openChangeLogo()"\n >\n <div\n class="card text-center clickable rounded-30 d-flex flex-column justify-content-center m-1 m-md-2 m-lg-3"\n >\n <ng-container *ngIf="user.store && user.store.store_logo">\n <img\n [src]="user.store.store_logo"\
1n alt=""\n class="user-acount-img card-img-top p-1 p-md-2 p-lg-3"\n />\n \x3c!-- \u5220\u9664\u6309\u94ae --\x3e\n <button class="delete-image-btn" (click)="deleteImage($event)">\n <mat-icon>delete</mat-icon>\n </button>\n </ng-container>\n <div\n *ngIf="!user.store || !user.store.store_logo"\n class="user-acount-img card-img-top p-1 p-md-2 p-lg-3"\n ></div>\n \x3c!-- <img *ngIf="!user.store || !user.store.store_logo" src="/assets/images/logo2.png"\n class="user-acount-img card-img-top p-1 p-md-2 p-lg-3 bg-light"> --\x3e\n </div>\n <p class="card-title text-center mt-3">\n {{ "common_logo" | translate }}\n </p>\n </div>\n <div\n class="col-6 d-flex flex-column justify-content-center"\n (click)="editCurrency()"\n >\n <div\n class="card text-center clickable rounded-30 d-flex flex-column justify-content-center m-1 m-md-2 m-lg-3"\n >\n <img\n src="./assets/images/money.png"\n class="user-acount-img card-img-top p-1 p-md-2 p-lg-3"\n />\n </div>\n <p\n class="card-title text-center mt-3"\n *ngFor="let c of currenciesUser"\n >\n {{ c.name }} {{ c.code | currencySymbol }}\n </p>\n <p\n class="card-title text-center mt-3"\n *ngIf="currenciesUser.length == 0"\n >\n --\n </p>\n </div>\n <div\n class="col-6 d-flex flex-column justify-content-center"\n (click)="editDefaultTaxRate()"\n >\n <div\n class="card text-center clickable rounded-30 d-flex flex-column justify-content-center m-1 m-md-2 m-lg-3"\n >\n <img\n src="./assets/images/tax_rate.png"\n class="user-acount-img card-img-top p-1 p-md-2 p-lg-3"\n />\n </div>\n <p class="card-title text-center mt-3">\n {{ user.store.default_tax_rate / 100 | percent }}\n </p>\n </div>\n <div\n class="col-6 d-flex flex-column justify-content-center"\n (click)="editGroup()"\n >\n <div\n class="card text-center clickable rounded-30 d-flex flex-column justify-content-center m-1 m-md-2 m-lg-3"\n >\n <img\n src="./assets/images/store.png"\n class="user-acount-img card-img-top p-1 p-md-2 p-lg-3"\n />\n </div>\n <p class="card-title text-center mt-3" *ngIf="storeUser">\n {{ storeUser.group_name }}\n </p>\n <p class="card-title text-center mt-3" *ngIf="!storeUser">\n {{ "common_store" | translate }}\n </p>\n </div>\n </div>\n </div>\n </div>\n <div class="col-12 col-sm-6 col-lg-4 my-3">\n <div class="d-flex flex-column border rounded h-100 p-3">\n <div class="card-body">\n <h6 class="d-flex align-items-center mb-3">\n <i class="material-icons" style="color: #a00">assignment</i>\n {{ "Licence Information" | translate }}\n </h6>\n <small> {{ "Maximum cashiers" | translate }}</small\n ><small> ({{ licence.max_cachiers }})</small>\n <div class="progress mb-3" style="height: 5px">\n <div\n class="progress-bar"\n role="progressbar"\n style="width: 80%"\n aria-valuenow="80"\n aria-valuemin="0"\n aria-valuemax="100"\n ></div>\n </div>\n <small> {{ "Maximum chains" | translate }}</small\n ><small> ({{ licence.max_chains }})</small>\n <div class="progress mb-3" style="height: 5px">\n <div\n class="progress-bar"\n role="progressbar"\n style="width: 89%"\n aria-valuenow="89"\n aria-valuemin="0"\n aria-valuemax="100"\n ></div>\n </div>\n <small> {{ "Maximum Operators" | translate }}</small\n ><small> ({{ licence.max_operators }})</small>\n <div class="progress mb-3" style="height: 5px">\n <div\n class="progress-bar"\n role="progressbar"\n style="width: 55%"\n aria-valuenow="55"\n aria-valuemin="0"\n aria-valuemax="100"\n ></div>\n </div>\n <small> {{ "Maximum managers" | translate }}</small\n ><small> ({{ licence.max_managers }})</small>\n <div class="progress mb-2" style="height: 5px">\n <div\n class="progress-bar"\n role="progressbar"\n style="width: 66%"\n aria-valuenow="66"\n aria-valuemin="0"\n aria-valuemax="100"\n ></div>\n </div>\n </div>\n </div>\n </div>\n <div class="col-12 my-3">\n <div [ngSwitch]="view">\n <mwl-calendar-month-view\n *ngSwitchCase="CalendarView.Month"\n [viewDate]="viewDate"\n [events]="events"\n (dayClicked)="dayClicked($event.day)"\n (eventClicked)="handleEvent(\'Clicked\', $event.event)"\n >\n </mwl-calendar-month-view>\n </div>\n </div>\n </div>\n</div>\n',encapsulation:m.ifc.None,styles:["body {\n color: #1a202c;\n text-align: left;\n}\n\n.title-account {\n padding-bottom: 1%;\n position: relative;\n font-weight: 600;\n padding-top: 2%;\n margin-left: 1%;\n letter-spacing: 2px;\n text-transform: uppercase;\n font-weight: bold;\n color: #636363;\n font-size: 20px;\n text-align: center;\n}\n\n.main-body {\n padding: 15px;\n}\n\n.card {\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);\n}\n\n.card {\n position: relative;\n display: flex;\n flex-direction: column;\n min-width: 0;\n word-wrap: break-word;\n background-color: #fff;\n background-clip: border-box;\n border: 0 solid rgba(0, 0, 0, 0.125);\n border-radius: 0.25rem;\n}\n\n.card-body {\n flex: 1 1 auto;\n min-height: 1px;\n padding: 1rem;\n}\n\n.gutters-sm {\n margin-right: -8px;\n margin-left: -8px;\n}\n\n.h-100 {\n height: 100% !important;\n}\n\n.icon {\n display: flex;\n justify-content: space-around;\n margin-top: 40px;\n}\n\n.group1 {\n width: 35%;\n}\n\n.group1 > img {\n border: 1px solid black;\n padding: 25%;\n border-radius: 5px;\n}\n\n.group1 > h6 {\n color: #1a202c;\n margin-top: 30px;\n display: flex;\n justify-content: center;\n}\n\n.logo-user .abc-user {\n position: absolute;\n right: 35%;\n border-radius: 50%;\n height: 30px;\n width: 30px;\n display: flex !important;\n align-items: center;\n justify-content: center;\n background-color: #a00000;\n color: white;\n font-size: 12px;\n}\n\n.logo-user img {\n height: 150px;\n width: 150px;\n border-radius: 50%;\n}\n\n.group1 > i {\n height: 30px;\n width: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: #a00;\n position: absolute;\n top: 45px;\n border-radius: 50%;\n color: #fff;
1\n cursor: pointer;\n font-weight: bold;\n font-size: 12px;\n}\n\n.progress-bar {\n background-color: #a00;\n}\n\n.cal-cell-row {\n height: 20%;\n}\n\n.cal-cell-top {\n min-height: 20px !important;\n flex: 1;\n}\n\n.imageCell img {\n min-width: 150px;\n max-width: 150px;\n min-height: 100px;\n max-height: 100px;\n object-fit: contain;\n}\n\n.user-acount-img {\n object-fit: contain;\n width: 100px !important;\n height: 100px !important;\n}\n\n:host ::ng-deep .ant-modal-body {\n height: 300px;\n}\n\n.delete-image-btn {\n position: absolute;\n bottom: 0;\n border: none;\n cursor: pointer;\n font-size: 16px;\n color: #a00000;\n width: 100%;\n height: 26px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.delete-image-btn:hover {\n color: rgba(255, 0, 0, 0.7);\n}\n\n@media (min-width: 576px) {\n .user-acount-img {\n object-fit: contain;\n width: 125px !important;\n height: 125px !important;\n }\n}\n\n@media (min-width: 992px) {\n .user-acount-img {\n object-fit: contain;\n width: 150px !important;\n height: 150px !important;\n }\n}"]})],jp);let fg=class{constructor(t,e){this.dialogRef=t,this.CurrencyService=e}ngOnInit(){this.onGetCurrencyList()}onNoClick(){this.dialogRef.close()}onGetCurrencyList(){return this.CurrencyService.getCurrencyList().subscribe(t=>{this.currency=t,this.currencyData=this.currency.data},t=>{console.log(t)})}chooseCurrency(t){this.CurrencyService.chooseCurrency(t).subscribe(e=>{this.onNoClick()},e=>{console.log("erreur"+e)})}save(t){let e={currency_ids:[t]};this.chooseCurrency(e)}};fg.ctorParameters=()=>[{type:St.so},{type:TG.i}],fg=(0,j.gn)([(0,m.wA2)({selector:"edit-currency",template:'<div mat-dialog-content>\n <div class="w-100 d-flex justify-content-end">\n <button mat-icon-button [mat-dialog-close]="false">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <mat-form-field appearance="outline" style="width: 100%;">\n <mat-label>{{\'Select\'| translate}}</mat-label>\n <mat-select #currency>\n\n <mat-option *ngFor="let c of currencyData" [value]="c.id">{{c.name}} {{c.symbol}} </mat-option>\n\n </mat-select>\n </mat-form-field>\n\n <button class="btn-sm btn-primary " style=" margin-left: 40%;" (click)="save(currency.value)"\n cdkFocusInitial>{{\'Submit\'| translate}} </button>\n</div>\n'})],fg);var ll=F(95017),Ee=F(42019),Dk=F(92340);let p0=class{constructor(t,e){this.http=t,this.configService=e;let a=this.configService.getConfig();this.baseUrl=`${a.baseUrl}`,this.baseUrlS2C=`${a.baseUrlS2C}`,this.baseUrlOnline=Dk.N.baseUrlOnline}getStoreId(t){return this.http.get(`${this.baseUrlOnline}/stores/byname/${t}`)}addOnlineProducts(t){return this.http.post(`${this.baseUrlOnline}/products/create/`,t)}};p0.ctorParameters=()=>[{type:Nt.eN},{type:Yn.E}],p0=(0,j.gn)([(0,m.GSi)({providedIn:"root"})],p0);var Je=F(78950);let qc=class{constructor(t,e,a,r,i,o,s,l){this.productService=t,this.datepipe=e,this.chainService=a,this.translate=r,this.onlineService=i,this.pagerService=o,this.categoryService=s,this.snackBar=l,this.code=localStorage.getItem("curr"),this.chain_id=localStorage.getItem("chainInit"),this.barcodeInit="",this.keywordInit="",this.pager={},this.cost_price=localStorage.getItem("cost_price"),this.dataSource=new $e.by,this.selection=new ll.Ov(!0,[]),this.displayedColumns1=["product_name","online_quantity"],this.displayedColumns=["select","product_image","product_name","product_barcode","product_quantity"],this._online=[]}ngOnInit(){this.onGetProdsListS2C(this.chain_id),this.onGetChainList(),this.onGetStoreId(),this.setPage(1),this.onGetCategoriesList()}setPage(t){t<1||t>this.pager.totalPages||(this.pager=this.pagerService.getPager(this.last_page,t),this.page=t)}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(t=>this.selection.select(t)),this.selecteditems=this.selection.selected}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.position+1}`:(this.isAllSelected()?"select":"deselect")+" all"}getCheckeditems(){this.selecteditems=this.selection.selected}onGetCategoriesList(){return this.categoryService.getCategories().subscribe(t=>{this.catList=t,this.categoryData=this.catList.data},t=>{console.log(t)})}onGetStoreId(){var t=localStorage.getItem("store_name").replace(/['"]+/g,"");return this.onlineService.getStoreId(t).subscribe(e=>{this.store=e,this.storeId=this.store.id})}changeQty(t,e,a,r){var i=0;if(0==this._online.length){var o={barcode:e,name:a,price:r,slug:a.replace(/\W+/g,"-"),store:this.store.id,available:!0,qty:t};this._online.push(o)}else if(this._online.forEach(l=>{l.barcode==e&&(i=1,l.qty=t)}),0==i){var s={barcode:e,name:a,price:r,slug:a.replace(/\W+/g,"-"),store:this.store.id,available:!0,qty:t};this._online.push(s)}}onSubmit(){this._online.forEach(t=>this.onlineService.addOnlineProducts(t).subscribe(e=>{this.snackBar.open("Products Successfully Added","OK",{duration:1e3})},e=>{console.log(e)}))}onGetProdsListS2C(t,e,a,r,i,o){return(0==e||!e)&&(e=""),(0==a||!a)&&(a=""),(0==r||!r)&&(r=""),(0==i||!i)&&(i=""),(0==o||!o)&&(o=""),this.productService.getProdsListS2C(this.page,e,a,r,i,o).subscribe(s=>{this.prods=s,this.prodsData=this.prods.data,this.dataSource.data=this.prodsData,this.last_page=this.prods.last_page,this.displayedColumns=["select","product_image","product_name","product_barcode","product_quantity","cost_price"],"1"==this.cost_price&&(this.displayedColumns=["select","product_image","product_name","product_barcode","product_quantity","cost_price"]),"0"==this.cost_price&&(this.displayedColumns=["select","product_image","product_name","product_barcode","product_quantity"]),this.displayedColumns1=["product_name","online_quantity"],this.dataSource1=this.selecteditems},s=>{console.log(s)})}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data},t=>{console.log(t)})}};qc.ctorParameters=()=>[{type:Je.r},{type:Q.uU},{type:Oe.l},{type:Y.sK},{type:p0},{type:Ms.e},{type:Ee.G},{type:We.ux}],qc.propDecorators={sort:[{type:m.i9L,args:[Ma.YE,{static:!0}]}]},qc=(0,j.gn)([(0,m.wA2)({selector:"app-online-products",template:'<div class="rounded p-3 m-3">\n\n\n <div>\n\n\n\n\n\n\n <div class="row">\n\n\n <div class="col-md-8">\n\n\n <form>\n <mat-form-field appearance="outline" style="width: 18%;margin-right:10px;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain_id (selectionChange)="onGetProdsListS2C(page,chain_id.value)">\n\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}</mat-option>\n\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 18%; margin-right: 2%;">\n <mat-label>{{\'Search-byKeyword\' | translate}}</mat-label>\n <input matInput #keyword>\n </mat-form-field>\n\n\n <mat-form-field appearance="outline" style="width: 18%; margin-right: 2%;">\n <mat-label>{{\'Search-byBarcode\' | translate}}</mat-label>\n <input matInput #barcode>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width : 18% ; margin-right:2% ;">\n <mat-label>{{\'Choose-Category\' | translate}} </mat-label>\n <mat-select #category_id>\n <mat-option value="">-- None --</mat-option>\n <mat-optgroup *ngFor="let category of categoryData" [label]="category.category_name" class="opt"\n style="color:blue">\n <mat-option *ngFor="let subcat of category.sub_categories" [value]="subcat.id">\n {{ subcat.category_name }}\n </mat-option>\n </mat-optgroup>\n </mat-select>\n </mat-form-field>\n <button mat-raised-button style="\n width: 10%;\n padding: 14px 14px 9px 14px;\n background-color: #cacaca;\n color: white;\n font-size: 20px"\n (click)="onGetProdsListS2C(page,chain_id.value,category_id.value,keyword.value,barcode.value)">\n {{\'common_filter\' | translate}}</button>\n </form>\n\n <div class="table1-container" style="margin-bottom: 100px;">\n\n\n\n\n\n\n <table mat-table [dataSource]="dataSource" class="table1" matSort>\n <ng-container matColumnDef="select">\n <th mat-header-cell *matHeaderCellDef>\n <mat-checkbox (change)="$event ? masterToggle() : null"\n [checked]="selection.hasValue() && isAllSelected()"\n [indeterminate]="selection.hasValue() && !isAllSelected()" [aria-label]="checkboxLabel()">\n </mat-checkbox>\n </th>\n <td mat-cell *matCellDef="let row">\n <mat-checkbox (click)="$event.stopPropagation()"\n (change)="$event ? selection.toggle(row) : null; getCheckeditems()"\n [checked]="selection.isSelected(row)" [aria-label]="checkboxLabel(row)">\n </mat-checkbox>\n </td>\n </ng-container>\n\n\n\n <ng-container matColumnDef="product_image">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{\'Image\'| translate}}</th>\n \x3c!-- <td mat-cell *matCellDef="let element"> {{element.images.image_url}} </td> --\x3e\n <td mat-cell *matCellDef="let element">\n\n <img [src]="element.img_url" alt="" class="imgtable1">\n\n </td>\n </ng-container>\n\n <ng-container matColumnDef="product_name">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Product-Name\' | translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.product_name}} </td>\n </ng-container>\n\n\n <ng-container matColumnDef="product_barcode">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Barcode\' | translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.product_barcode}} </td>\n </ng-container>\n\n \x3c!-- <ng-container matColumnDef="product_description">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Product Description </th>\n <td mat-cell *matCellDef="let element" class="pricetable1"> {{element.product_description | slice:0:60}}\n </td>\n </ng-container> --\x3e\n\n\n\n\n <ng-container matColumnDef="product_quantity">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{"Product-Quantity" | translate}} </th>\n <td mat-cell *matCellDef="let element" style="text-align: center;"> {{element.product_quantity}}\n </td>\n </ng-container>\n <ng-container matColumnDef="cost_price" *ngIf="cost_price == \'1\'">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>
1 {{\'Cost-Price\'| translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.cost_price |currency:code}}\n </td>\n </ng-container>\n\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns; sticky: true"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;"\n (click)="selection.toggle(row) ; getCheckeditems()">\n </tr>\n </table>\n </div>\n <div>\n <nav aria-label="Page navigation example">\n <ul class="pagination justify-content-center pagination-sm" *ngIf="pager.pages && pager.pages.length">\n\n <li class="page-item disabled" [ngClass]="{disabled:pager.currentPage === 1}">\n <a class="page-link"\n (click)="setPage(1);onGetProdsListS2C(1,chain_id.value, category_id.value,barcode.value,keyword.value)">{{\'first\'|\n translate}}</a>\n </li>\n <li class="page-item disabled" [ngClass]="{disabled:pager.currentPage === 1}">\n <a class="page-link"\n (click)="setPage(pager.currentPage - 1);onGetProdsListS2C(pager.currentPage - 1,chain_id.value, category_id.value,barcode.value,keyword.value)">{{\'previous\'|\n translate}}</a>\n </li>\n <li class="page-item active" *ngFor="let page of pager.pages"\n [ngClass]="{active:pager.currentPage === page}">\n <a class="page-link"\n (click)="setPage(page);onGetProdsListS2C(page,chain_id.value, category_id.value,barcode.value,keyword.value)">{{page}}</a>\n </li>\n <li class="page-item disabled" [ngClass]="{disabled:pager.currentPage === pager.totalPages}">\n <a class="page-link"\n (click)="setPage(pager.currentPage + 1);onGetProdsListS2C(pager.currentPage + 1,chain_id.value, category_id.value,barcode.value,keyword.value)">{{\'Next\'|\n translate}}</a>\n </li>\n <li class="page-item disabled" [ngClass]="{disabled:pager.currentPage === pager.totalPages}">\n <a class="page-link"\n (click)="setPage(pager.totalPages);onGetProdsListS2C(pager.totalPages,chain_id.value, category_id.value,barcode.value,keyword.value)">{{\'last\'|\n translate}}</a>\n </li>\n </ul>\n </nav>\n </div>\n </div>\n\n\n\n\n\n <div class="col-md-4" style="display: block;">\n\n\n\n <div class="example-container" style="margin-top: 85px;overflow: scroll;">\n <table mat-table [dataSource]="selecteditems" matSort class="table2">\n\n\n <ng-container matColumnDef="product_name">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Product-Name\' | translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.product_name}} </td>\n </ng-container>\n \x3c!-- <ng-container matColumnDef="product_price" style="display: none;">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Product-Name\' | translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.unit_price}} </td>\n </ng-container>\n <ng-container matColumnDef="product_barcode" style="display: none;">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Product-Name\' | translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.product_barcode}} </td>\n </ng-container> --\x3e\n\n <ng-container matColumnDef="online_quantity">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Online Quantity </th>\n <td mat-cell *matCellDef="let element"><input matInput type="number" placeholder="Put Quantity"\n #online_quantity (change)="changeQty(online_quantity.value,\n element.product_barcode,\n element.product_name,\n element.cost_price)">\n </td>\n </ng-container>\n\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns1; sticky: true"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns1;"></tr>\n </table>\n <div style="float:right;" *ngIf="selection.hasValue()">\n <button mat-raised-button style="background-color:#cacaca; margin-top:20px; width: 30%;"\n (click)="onSubmit()">\n\n {{\'Submit\' | translate}}</button>\n\n </div>\n\n </div>\n </div>\n </div>\n </div>\n</div>\n',styles:[".table1 th,\n.table1 td {\n width: 15%;\n}\n\n.table2 {\n overflow: scroll;\n}\n\n.table2 th,\n.table2 td {\n width: 15%;\n vertical-align: center;\n}\n\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.pricetable1 {\n color: red;\n}\n\nmat-form-field {\n width: 100%;\n}\n\nmat-option {\n text-transform: capitalize;\n}"]})],qc);var h0=F(72229);class hZ{}let gg=class{constructor(t,e,a,r,i){this.data=t,this.dialog=e,this.http=a,this.msg=r,this.translate=i,this.isVisible=!1,this.isConfirmLoading=!1,this.code=localStorage.getItem("curr"),this.columns=[{type:"image",key:"img_url",translationKey:"common_image"},{type:"text",key:"product_name",translationKey:"common_productName"},{type:"text",key:"product_name2",translationKey:"product_name2"},{type:"text",key:"product_category_name",translationKey:"Category Name"},{type:"text",key:"product_barcode",translationKey:"common_productBarcode"},{type:"text",key:"order_item_quantity",translationKey:"common_productQuantity"},{type:"text",key:"item_unit_price",translationKey:"Unit-Price"},{translationKey:"common_actions",type:"actions",key:"actions",list:["edit"]}],console.log("data:",t)}ngOnInit(){console.log(this.data.dataSource),this.dataSource=this.data.dataSource.product_items.map((t,e)=>({...t,product_category_name:t.category?.category_name,product_name:t.item_name,order_item_quantity:t.order_item_quantity,product_barcode:this.data.dataSource.products[e].product_barcode})),console.log(this.data.dataSource)}cancel(){this.dialog.close()}handleClick({item:t}){console.log("item:",t),this.max_quantity=t.order_item_quantity,this.product_item=t,this.quantity=this.max_quantity,this.showModal()}showModal(){this.isVisible=!0}handleCancel(){this.isVisible=!1}handleOk(){if(console.log("quantity:",this.quantity,this.max_quantity),Number(this.quantity)>Number(this.max_quantity))return void this.msg.error(this.translate.instant("not_more_then")+" "+this.max_quantity);if(Number(this.quantity)<0)return void this.msg.errorWithTranslate("not_negative");this.isConfirmLoading=!0;const t=new hZ;t.chain_id=this.product_item.chain_id,t.order_item_id=this.product_item.id,t.refund_quantity=Number(this.quantity),this.http.postWithAllRes("orders/refundOrderItem",t).pipe((0,Ck.x)(()=>this.isConfirmLoading=!1)).subscribe(e=>{this.isConfirmLoading=!1,200===e.code?(this.msg.successWithTranlate(e.msg),this.isVisible=!1):this.msg.errorWithTranslate(e.msg)})}};gg.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}
1,{type:St.so},{type:h0.O},{type:ne.I},{type:Y.sK}],gg=(0,j.gn)([(0,m.wA2)({selector:"app-product-list",template:'<div class="table-responsive order-product-list">\n <div class="d-flex flex-space-between">\n <p>{{ \'product_refund\' | translate}}</p>\n <div type="button" class="btn" (click)="cancel()">\n <mat-icon class="btn-clickable">close</mat-icon>\n </div>\n </div>\n <app-common-search-list-table\n [dataSource]="dataSource"\n [isAutoPages]="true"\n [isShowSearchBtn]="false"\n [dataSource]="dataSource"\n [columns]="columns"\n uniqueTableKey="s2cProductDetailList"\n [isShowAdd]="false"\n [isShowDisplayColumn]="false"\n (onBtnClick)="handleClick($event)"\n ></app-common-search-list-table>\n</div>\n<nz-modal\n[(nzVisible)]="isVisible"\n[nzTitle]="modalTitle"\n[nzContent]="modalContent"\n[nzFooter]="modalFooter"\n(nzOnCancel)="handleCancel()"\n>\n<ng-template #modalTitle>\n {{\'refund_quantity\'|translate}}\n</ng-template>\n\n<ng-template #modalContent>\n <input nz-input [(ngModel)]="quantity" id="quantity" name="quantity" placeholder="{{\'refund_quantity\'|translate}}">\n</ng-template>\n\n<ng-template #modalFooter>\n <button nz-button nzType="primary" (click)="handleOk()" [nzLoading]="isConfirmLoading">{{\'Submit\'|translate}}</button>\n <button nz-button nzType="default" (click)="handleCancel()">{{\'cancel\'|translate}}</button>\n</ng-template>\n</nz-modal>',styles:[".imageCell {\n background-color: #fdcdd2;\n}\n.imageCell img {\n min-width: 100px;\n max-height: 150px;\n object-fit: contain;\n}\n.mat-row .mat-cell {\n cursor: pointer;\n}\n*[class*=mat-column-] {\n word-wrap: break-word;\n width: 150px !important;\n}\n.mat-column-actions {\n width: 80px !important;\n text-align: center;\n padding-right: 0 !important;\n}\n.mat-column-customize {\n width: 30px !important;\n text-align: end;\n}\n.mat-row:hover {\n background-color: #feebee;\n}\n.order-product-list td.mat-cell, .order-product-list td.mat-footer-cell, .order-product-list th.mat-header-cell {\n border-width: 0;\n}\n:host .flex-space-between {\n justify-content: space-between;\n align-items: center;\n}"]})],gg);var qe=F(21837),UO=F(25156);let Gp=class{constructor(t,e,a,r,i,o,s,l,c){this.orderService=t,this.datepipe=e,this.loadingService=a,this.dialog=r,this.modal=i,this.msg=o,this.translateServ=s,this.route=l,this.router=c,this.columns=[{translationKey:"Order-Date",type:"date",key:"payment_date"},{translationKey:"Type",type:"text",key:"source"},{translationKey:"Order-number",type:"text",key:"order_number"},{translationKey:"Cashier-first-name",type:"text",key:"cashier"},{translationKey:"common_payment_status",type:"text",key:"payment_status"},{translationKey:"Payment-amount",type:"price",key:"payment_amount"},{translationKey:"common_unpaid_amount",type:"price",key:"unpaid_amount"},{translationKey:"Payment-method",type:"text",key:"payment_method",align:"right"},{translationKey:"Discount-Amount",type:"price",key:"discount_amount"},{translationKey:"VIP-point",type:"text",key:"vip_point",align:"right"},{translationKey:"Invoice",type:"text",key:"invoice",align:"right"},{translationKey:"common_actions",type:"actions",key:"actions",list:["refund","delete","detail"]}],this.pageInfo={total:0,page:1,pageSize:10},this.formDataSource=[{type:"chainSelect",key:"chain_id"},{type:"cashierSelect",key:"cashier_id"},{type:"select",translateKey:"Payment-method",key:"payment_method_id",placeholder:"Payment-method",options:[{label:"Cash",value:"1"},{label:"debit",value:"2"},{label:"credit",value:"3"}]},{type:"dateTime",translateKey:"common_startDate",key:"start_date",placeholder:"common_startDate",value:qe.ou.now().toFormat("yyyy-MM-dd")},{type:"dateTime",translateKey:"common_endDate",key:"end_date",placeholder:"common_endDate",value:qe.ou.now().toFormat("yyyy-MM-dd")}],this.searchParams={page:1,chain_id:"",category_id:"",cashier_id:"",payment_method_id:"",start_date:qe.ou.now().toFormat("yyyy-MM-dd"),end_date:qe.ou.now().toFormat("yyyy-MM-dd"),source:"S2C"},this.categoryList=[],this.product_quantity_sum=0,this.payment_amount_sum=0,this.totalOrders=0,this.order_payment_amount_sum=0,this.discount_amount_sum="",this.order_cost_sum=0,this.total_tax="0",this.total_tax_price="0",this.total_price=0,this.cardDataList=[{numberData:0,textData:"Total-orders"},{numberData:0,textData:"Total Order Payment Amount"},{numberData:0,textData:"Total Order Cost"},{numberData:0,textData:"Total Discount Amount"},{numberData:0,textData:"Total Payment Amount"},{numberData:0,textData:"Total Product Quantity"},{numberData:0,textData:"total_unpaid_amount"},{numberData:0,textData:"total_paid_amount"}],this.loadingService.openDialog(),this.route.queryParams.subscribe(d=>{console.log("params:",d),d&&(this.formDataSource=[...this.formDataSource.map(u=>(d.chainId&&"chain_id"===u.key&&(u.value=d.chainId,this.searchParams.chain_id=d.chainId),d.days&&("start_date"===u.key||"end_date"===u.key)&&
1(u.value=d.days,this.searchParams.start_date=d.days,this.searchParams.end_date=d.days),u))],this.getOrdersList())})}ngOnInit(){this.getOrdersList()}getOrdersList(){console.log(this.columns),this.orderService.filtreOrders(this.searchParams).subscribe(t=>{this.dataSource=t.data.map(e=>{let a;return a=e.order_payment_amount>0&&0===e.unpaid_amount?"common_fully_paid":e.order_payment_amount>0&&e.unpaid_amount>0?"common_partially_paid":0===e.order_payment_amount&&e.unpaid_amount>0?"common_not_paid":"common_payment_status_unknown",{...e,chainName:e?.chain?.chain_name,cashier:e.cachier.first_name,payment_method:e.payment_method.name,payment_status:this.translateServ.instant(a)}}),this.loadingService.hideDialog(),this.pageInfo.total=t.total,this.totalOrders=t.total||0,this.order_payment_amount_sum=t.order_payment_amount_sum||0,this.discount_amount_sum=Number(t.discount_amount_sum||0).toFixed(2),this.order_cost_sum=t.order_cost_sum||0,this.cardDataList[0].numberData=t.total||0,this.cardDataList[1].numberData=(t.payment_amount_sum||0).toFixed(2)||0,this.cardDataList[2].numberData=(t.order_cost_sum||0).toFixed(2)||0,this.cardDataList[3].numberData=(t.discount_amount_sum||0).toFixed(2),this.cardDataList[4].numberData=(t.order_payment_amount_sum||0).toFixed(2),this.cardDataList[5].numberData=t.product_quantity_sum||0,this.cardDataList[6].numberData=(t.unpaid_amount_sum||0).toFixed(2)||0,this.cardDataList[7].numberData=+(t.order_payment_amount_sum-t.unpaid_amount_sum||0).toFixed(2)},t=>{console.log(t)})}handleSearch(t){this.pageInfo.page=1,this.searchParams={...t,page:1,source:"S2C"},this.getOrdersList()}handleReset(){this.searchParams={page:1,chain_id:"",category_id:"",cashier_id:"",payment_method_id:"",start_date:"",end_date:"",source:"S2C"},this.getOrdersList()}handleChangePaginator(t){this.pageInfo.page=t.page,this.searchParams.page=t.page,this.getOrdersList()}handleViewDetail({item:t,type:e}){"detail"===e&&this.router.navigate([`/shop/orders-list/detail/${t.id}`]),"refund"===e&&this.dialog.open(gg,{autoFocus:!1,width:"100vw",hasBackdrop:!0,data:{dataSource:t}}),"delete"===e&&this.modal.confirm({nzTitle:this.translateServ.instant("refund_order_comfirm_msg"),nzContent:this.translateServ.instant("refund_confirm_content_msg"),nzOnOk:()=>this.refundOrder(t)})}refundOrder(t){console.log("data:",t);const e={chain_id:t.chain_id,order_id:t.id};this.orderService.refundOrder(e).subscribe(a=>{console.log('res"',a),200===a.code?(this.msg.successWithTranlate(a.msg),this.getOrdersList()):this.msg.errorWithTranslate(a.msg)})}};Gp.ctorParameters=()=>[{type:bn.C},{type:Q.uU},{type:Qe.E},{type:St.uw},{type:UO.Sf},{type:ne.I},{type:Y.sK},{type:It.gz},{type:It.F0}],Gp=(0,j.gn)([(0,m.wA2)({selector:"app-orders-list-cash-register",template:'\n<div class="s2c-manage-order-list container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-products-card [cardDataList]="cardDataList"></app-products-card>\n\n <app-common-search-list-table\n (onReset)="handleReset()"\n (onSubmit)="handleSearch($event)"\n [dataSource]="dataSource"\n [columns]="columns"\n [tableName]="\'s2c_order_list\'"\n [isShowAdd]="false"\n uniqueTableKey="orderListSelectColumn"\n [pageInfo]="pageInfo"\n (keyup.enter)="handleSearch($event)"\n (pageChange)="handleChangePaginator($event)"\n (onBtnClick)="handleViewDetail($event)"\n [formColumn]="formDataSource"\n >\n </app-common-search-list-table>\n</div>\n',animations:[(0,Rt.X$)("detailExpand",[(0,Rt.SB)("collapsed",(0,Rt.oB)({height:"0px",minHeight:"0",visibility:"hidden"})),(0,Rt.SB)("expanded",(0,Rt.oB)({height:"*",visibility:"visible"})),(0,Rt.eR)("expanded <=> collapsed",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])],styles:[".imageCell img {\n min-width: 150px;\n max-width: 150px;\n min-width: 100px;\n max-height: 100px;\n object-fit: cover;\n}\n\n.mat-row .mat-cell {\n cursor: pointer;\n}\n\n*[class*=mat-column-] {\n word-wrap: break-word;\n width: 150px !important;\n}\n\n.mat-column-actions {\n width: 80px !important;\n padding-right: 0 !important;\n}\n\n.mat-row:hover .mat-cell {\n background-color: #feebee;\n}\n\n.s2c-manage-order-list ::ng-deep app-common-form .mat-form-field-wrapper {\n padding-bottom: 0;\n}"]})],Gp);let vg=class{constructor(t,e){this.orderService=t,this.router=e,this.currencyLabel=localStorage.getItem("currency_user"),this.code=localStorage.getItem("curr"),this.orderDisplayedColumns=["order_date","order_price","shop_owner","statut","actions"],this.orderLength=0,this.sumOrder=0}ngOnInit(){this.onGetInvalidOrders()}
1onGetInvalidOrders(){return this.orderService.getShopInvalidOrders().subscribe(t=>{this.orderList=t;for(let o of this.orderList)this.orderLength+=1,this.sumOrder+=o.order_price;let e=0;this.orderList.forEach(o=>{o.order_price>e&&(e=o.order_price,this.maxOrderPrice=o.order_price,this.maxOrderDate=o.order_date)});let a=this.orderList[0],r=a.order_price,i=a.order_date;this.orderList.forEach(o=>{o.order_price<r?(r=o.order_price,this.minOrderPrice=o.order_price,this.minOrderDate=o.order_date):(this.minOrderPrice=r,this.minOrderDate=i)}),this.lastOrder=this.orderList[this.orderList.length-1],this.lastOrderPrice=this.lastOrder.order_price,this.lastOrderDate=this.lastOrder.order_date})}openOrderFullDetails(t){this.router.navigate([`shop/order-full-details/${t}`])}applyFilter(t){const e=t.target.value;this.orderList.filter=e.trim().toLowerCase(),this.orderList.paginator&&this.orderList.paginator.firstPage()}};vg.ctorParameters=()=>[{type:bn.C},{type:It.F0}],vg=(0,j.gn)([(0,m.wA2)({selector:"app-shop-invalid-orders",template:'<div class=" rounded p-3 m-5">\n\n\n <div>\n <div class="row">\n <div class="col-md-4 col-xl-3">\n <div class="card bg-c-blue order-card">\n <div class="card-block">\n <h6 class="m-b-20">{{\'Orders-Received\' | translate}}</h6>\n <h2 class="text-right"><i class="fa fa-cart-plus f-left"></i><span>{{orderLength}}</span></h2>\n <p class="m-b-0">{{\'Completed-Orders\' | translate}}<span class="f-right">{{orderLength}}</span></p>\n </div>\n </div>\n </div>\n\n <div class="col-md-4 col-xl-3">\n <div class="card bg-c-green order-card">\n <div class="card-block">\n <h6 class="m-b-20">{{\'Sum-Order-Price\' | translate}}</h6>\n <h2 class="text-right"><i class="fa fa-money f-left"></i><span>{{currencyLabel}}{{sumOrder}}</span></h2>\n <p class="m-b-0">{{\'Last-Order\' | translate}}<span class="f-right">{{currencyLabel}}{{lastOrderPrice}}</span></p>\n </div>\n </div>\n </div>\n\n <div class="col-md-4 col-xl-3">\n <div class="card bg-c-yellow order-card">\n <div class="card-block">\n <h6 class="m-b-20">{{\'Max-Order-Price\' | translate}}</h6>\n <h2 class="text-right"><i class="fa fa-arrow-up f-left"></i><span>{{currencyLabel}}{{maxOrderPrice}}</span></h2>\n <p class="m-b-0">{{\'Order-Date\' | translate}}<span class="f-right">{{maxOrderDate | date}}</span></p>\n </div>\n </div>\n </div>\n\n <div class="col-md-4 col-xl-3">\n <div class="card bg-c-pink order-card">\n <div class="card-block">\n <h6 class="m-b-20">{{\'Min-Order-Amount\' | translate}}</h6>\n <h2 class="text-right"><i class="fa fa-arrow-down f-left"></i><span>{{currencyLabel}}{{minOrderPrice}}</span></h2>\n <p class="m-b-0">{{\'Order-Date\' | translate}}<span class="f-right">{{minOrderDate | date}}</span></p>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n\n<section class="mainContainer">\n \x3c!-- <span>List of invalid orders:</span> --\x3e\n \x3c!-- <button color="primary" class="topbuttons" style=" float:right; margin-top: 10px;margin-bottom: 10px;" mat-raised-button\n (click)="openAddCriteriaWithUnits()">+ Add New Criteria\n </button> --\x3e\n\n\n\n <mat-form-field style="width: 25%;">\n <mat-label>{{\'common_filter\' | translate}}</mat-label>\n <input matInput (keyup)="applyFilter($event)" placeholder="Ex. Siyou">\n </mat-form-field>\n\n\n <table mat-table [dataSource]="orderList" mat-sort multiTemplateDataRows matSort>\n\n \x3c!-- Order Date Column --\x3e\n <ng-container matColumnDef="order_date">\n <th mat-header-cell *matHeaderCellDef> {{\'Order-Date\' | translate}}</th>\n <td mat-cell *matCellDef="let order">{{ order.order_date | date}}</td>\n </ng-container>\n\n \x3c!-- Order Price Column --\x3e\n <ng-container matColumnDef="order_price">\n <th mat-header-cell *matHeaderCellDef> {{\'Order-Price\' | translate}} </th>\n <td mat-cell *matCellDef="let order" class="price1"> {{ order.order_price |currency:code }} </td>\n </ng-container>\n\n \x3c!-- Supplier Column --\x3e\n <ng-container matColumnDef="shop_owner">\n <th mat-header-cell *matHeaderCellDef> {{\'ShopOwner-Name\' | translate}} </th>\n <td mat-cell *matCellDef="let order"> {{ order.supplier.first_name }} {{ order.supplier.last_name }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef="statut">\n <th mat-header-cell *matHeaderCellDef>{{\'Order-Status\' | translate}} </th>\n\n <td mat-cell *matCellDef="let order">\n <button mat-stroked-button color="warn"> {{ order.statut.statut_name }} <i\n class="material-icons icon-green" color="warn">\n access_time\n\n </i> </button>\n\n </td>\n </ng-container>\n\n\n\n \x3c!-- Actions Column --\x3e\n <ng-container matColumnDef="actions">\n <th mat-header-cell *matHeaderCellDef style="padding-left: 40px;">{{\'common_actions\' | translate}}</th>\n <td mat-cell style="padding-left: 30px;" *matCellDef="let row">\n\n <button mat-icon-button matTooltip="Show order products">\n <i class="material-icons icon-green" style="color: darkcyan;">expand_more</i>\n </button>\n \x3c!-- <button title="Add this Criteria" (click)="openAddCriteriaModal(row)" mat-icon-button ><i class="material-icons icon-green" style="color: darkcyan;">\n create\n </i>\n </button> --\x3e\n <button matTooltip="Show full openOrderFullDetails" (click)="openOrderFullDetails(row.id)" mat-icon-button><i\n class="material-icons icon-green" style="color: darkcyan;">\n view_headline\n </i>\n </button>\n\n\n\n\n </td>\n </ng-container>\n\n <ng-container matColumnDef="expandedDetail">\n\n\n\n <td mat-cell *matCellDef="let order" [attr.colspan]="orderDisplayedColumns.length">\n \x3c!-- <button mat-raised-button color="primary">Add New Unit</button> --\x3e\n\n\n\n <div class="example-element-detail"\n [@detailExpand]="order == expandedElement ? \'expanded\' : \'collapsed\'">\n\n <div class="orderProducts">\n\n\n\n\n\n\n <table class="mat-elevation-z8">\n\n\n\n <tr>\n <th style="margin-right: 35px; padding: 10px;">{{\'Product-image\' | translate}}</th>\n <th style="margin-right: 15px; padding: 10px;">{{\'Product-Name\' | translate}}</th>\n <th style="margin-left: 15px; padding: 10px;">{{"Product-Quantity" | translate}}</th>\n <th style="margin-left: 15px; padding: 10px;">{{\'Product-Price\' | translate}}</th>\n <th style="margin-left: 15px; padding: 10px;">{{\'common_actions\' | translate}}</th>\n\n </tr>\n\n <tr *ngFor="let prod_item of order.product_item">\n \x3c!-- <td style="margin-right: 15px; padding: 10px;">{{prod_item.images.image_url}}</td> --\x3e\n <td style="margin-right: 15px; padding: 10px;">\n <img *ngFor="let img of prod_item.images | slice:0:1" [src]="img.image_url" class="prod-img" alt="">\n </td>\n <td style="margin-right: 15px; padding: 10px;">{{prod_item.product.product_name}}</td>\n <td style="margin-left: 15px; padding: 10px;">{{prod_item.pivot.quantity}}</td>\n <td style="margin-left: 15px; padding: 10px; color:red" class="price1">{{prod_item.item_offline_price |currency:code}}</td>\n <td style="margin-left: 15px; padding: 10px;">\n\n <button mat-icon-button matTooltip="View full details"><i\n class="material-icons icon-green" style="color: darkcyan;" routerLink="/shop/shop-product-details/{{prod_item.id}}">\n view_headline\n </i>\n </button>\n\n\n </td>\n\n </tr>\n </table>\n\n\n </div>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef="orderDisplayedColumns"></tr>\n <tr mat-row *matRowDef="let order; columns: orderDisplayedColumns;" class="example-element-row"\n [class.example-expanded-row]="expandedElement === order"\n (click)="expandedElement = expandedElement === order ? null : order"></tr>\n <tr mat-row *matRowDef="let row; columns: [\'expandedDetail\']" class="example-detail-row"></tr>\n </table>\n</section>\n\n\n\n</div>\n',animations:[(0,Rt.X$)("detailExpand",[(0,Rt.SB)("collapsed",(0,Rt.oB)({height:"0px",minHeight:"0",visibility:"hidden"})),(0,Rt.SB)("expanded",(0,Rt.oB)({height:"*",visibility:"visible"})),(0,Rt.eR)("expanded <=> collapsed",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])],styles:[".bgc {\n padding: 40px;\n margin-top: 100px;\n margin-bottom: 30px;\n}\n\n.mainContainer {\n padding: 10px;\n padding-top: 10px;\n}\n\n.mainContainer span {\n font-family: Roboto;\n font-weight: 500;\n font-size: 20px;\n}\n\n.mainContainer table {\n width: 100%;\n margin-top: 15px;\n}\n\n.mainContainer table td {\n max-width: 250px;\n overflow-wrap: break-word;\n white-space: normal;\n}\n\n.mainContainer table td mat-icon {\n cursor: pointer;\n}\n\n.mainContainer table .actionsContainer {\n flex-direction: row;\n justify-content: space-evenly;\n}\n\n.mainContainer table tr.example-detail-row {\n height: 0;\n}\n\n.mainContainer table tr.example-element-row:not(.example-expanded-row):active {\n background: #efefef;\n}\n\n.mainContainer table .example-element-row td {\n border-bottom-width: 0;\n}\n\n.mainContainer table .example-element-detail {\n overflow: hidden;\n display: flex;\n}\n\n.mainContainer table .example-element-diagram {\n min-width: 80px;\n border: 2px solid black;\n padding: 8px;\n font-weight: lighter;\n margin: 8px 0;\n height: 104px;\n}\n\n.mainContainer table .example-element-symbol {\n font-weight: bold;\n font-size: 40px;\n line-height: normal;\n}\n\n.mainContainer table .example-element-description {\n padding: 16px;\n}\n\n.mainContainer table .example-element-description-attribution {\n opacity: 0.5;\n}\n\n.mainContainer table .orderProducts {\n padding: 10px;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n}\n\n.mainContainer table .orderProducts mat-card {\n width: 200px;\n height: 250px;\n margin: 5px;\n display: flex;\n flex-direction: column;\n}\n\n.mainContainer table .orderProducts mat-card .product_name {\n margin-top: 5px;\n font-family: Roboto;\n font-weight: 500;\n}\n\n.mainContainer table .orderProducts mat-card .productData {\n margin-top: auto;\n}\n\n.mainContainer table .orderProducts mat-card .productData .quantity {\n justify-content: flex-end;\n}\n\n.mainContainer table .orderProducts mat-card .productData .price {\n justify-content: flex-end;\n}\n\n.price1 {\n color: red;\n}\n\n.prod-img {\n max-width: 50px;\n max-height: 50px;\n}\n\nbody {\n margin-top: 20px;\n background: #FAFAFA;\n}\n\n.order-card {\n color: #fff;\n}\n\n.bg-c-blue {\n background: linear-gradient(45deg, #4099ff, #73b4ff);\n}\n\n.bg-c-green {\n background: linear-gradient(45deg, #2ed8b6, #59e0c5);\n}\n\n.bg-c-yellow {\n background: linear-gradient(45deg, #FFB64D, #ffcb80);\n}\n\n.bg-c-pink {\n background: linear-gradient(45deg, #FF5370, #ff869a);\n}\n\n.card {\n border-radius: 5px;\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.16);\n border: none;\n margin-bottom: 30px;\n transition: all 0.3s ease-in-out;\n}\n\n.card .card-block {\n padding: 25px;\n}\n\n.order-card i {\n font-size: 26px;\n}\n\n.f-left {\n float: left;\n}\n\n.f-right {\n float: right;\n}"]})],vg);Qn().vfs=ju.I.vfs,Qn().fonts=Jb.R;let Ag=class{constructor(t,e,a){this.orderService=t,this.router=e,this.translate=a,this.code=localStorage.getItem("curr"),e.params.subscribe(r=>{this.currentId=r.id})}ngOnInit(){this.onGetOrderById()}onGetOrderById(){return this.orderService.getOrderById(this.currentId).subscribe(t=>{this.currentOrder=t},t=>{console.log(t)})}sendEmail(){const t=this.getDocumentDefinition();Qn().createPdf(t).getBase64(function(e){var a={order:e,supplier_id:this.currentOrder.supplier_id};this.orderService.sendEmailS2C(a).subscribe(r=>console.log(r))})}download(){const t=this.getDocumentDefinition();Qn().createPdf(t).open()}getDocumentDefinition(){return{content:[{columns:[[{text:this.translate.instant("Reference")+" : "+this.currentOrder.order_ref,style:"subtitle"},{text:this.translate.instant("Date")+" : "+this.currentOrder.created_at,
1style:"subtitle"}]]},"\n",{columns:[[{text:this.translate.instant("Shop Owner"),style:"subtitle"},{text:this.currentOrder.shop_owner.first_name+this.currentOrder.shop_owner.last_name,style:"title"}],[],[{text:this.translate.instant("supplier"),style:"subtitle"},{text:this.currentOrder.supplier.first_name+this.currentOrder.supplier.last_name,style:"title"}]]},{canvas:[{type:"line",x1:0,y1:60,x2:510,y2:60,lineWidth:1,color:"gray"}]},"\n",{table:{widths:["*","*","*"],body:[[{text:this.translate.instant("Product name"),style:"tableHeader"},{text:this.translate.instant("Barcode"),style:"tableHeader"},{text:this.translate.instant("Order Quantity"),style:"tableHeader"}],...this.currentOrder.product_item.map(t=>[t.product.product_name,t.item_barcode,t.pivot.quantity])]},layout:"lightHorizontalLines"},"\n",{canvas:[{type:"line",x1:0,y1:20,x2:510,y2:20,lineWidth:1,color:"gray"}]},"\n\n",{columns:[[{style:"tableInfo",table:{widths:[80,"*",60],headerRows:1,body:[[{},{},{}],[this.translate.instant("Subtotal"),"","--"],[this.translate.instant("Logistic"),"","--"],[this.translate.instant("Tax (--%)"),"","--"],[this.translate.instant("Total Cost"),"","--"]]},layout:"noBorders"}]]}],styles:{store:{fontSize:10,color:"black",alignment:"left"},title:{bold:!0,fontSize:10,alignment:"left"},subtitle:{bold:!0,fontSize:12,alignment:"left"},line:{color:"grey"},tableInfo:{fontSize:10},prod:{bold:!0,fontSize:15,alignment:"left",margin:[0,0,0,20]},tableExample:{margin:[0,20,0,15]},tableHeader:{bold:!0},text:{bold:!0,fontSize:15,alignment:"right",color:"black",margintop:50}}}}};Ag.ctorParameters=()=>[{type:bn.C},{type:It.gz},{type:Y.sK}],Ag=(0,j.gn)([(0,m.wA2)({selector:"app-shop-order-full-details",template:'<div class="container p-5 mb bg-white rounded main_container">\n <p style="display: flex; margin-right: 30px;">\n <strong style=" margin-right: 30px;">{{\'Order-details\' | translate}}</strong>\n <mat-icon (click)="download()">download</mat-icon>\n <mat-icon (click)="sendEmail()">send</mat-icon>\n </p>\n\n\n \x3c!-- <mat-divider></mat-divider> --\x3e\n <div>\n\n\n\n\n\n <div class="my-2" id="content">\n <div class="row">\n <div class="col-12">\n <div class="card">\n <div class="card-body p-0">\n <div class="row p-5">\n <div class="col-md-6">\n \x3c!-- <img src="http://via.placeholder.com/400x90?text=logo"> --\x3e\n <p class="font-weight-bold mb-4 ">{{\'Supplier-Information\' | translate}}</p>\n <p class="mb-1 text-capitalize "> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'Full-Name\' |\n translate}}: </span><span>{{currentOrder.supplier.first_name}}\n {{currentOrder.supplier.last_name}}</span> </p>\n <p> <span class="border-0 text-uppercase small font-weight-bold">{{\'Email\' |\n translate}}: </span>{{currentOrder.supplier.email}}</p>\n <p class="mb-1 text-capitalize"> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'Address\' |\n translate}}:</span> {{currentOrder.supplier.adress}}</p>\n <p class="mb-1 text-capitalize"> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'Country\' |\n translate}}:</span> {{currentOrder.supplier.country}}</p>\n <p class="mb-1 text-capitalize"> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'Code-Postal\' |\n translate}}:</span> {{currentOrder.supplier.postal_code}}</p>\n </div>\n\n <div class="col-md-6 text-right">\n <p class="font-weight-bold mb-1">{{\'Order-Reference\' | translate}}</p>\n <p class="text-muted"> {{currentOrder.order_ref}}</p>\n <p class="text-muted"><span>Due to: </span> {{currentOrder.order_date | date}}</p>\n </div>\n </div>\n\n <hr class="my-2">\n\n <div class="row pb-5 p-5">\n <div class="col-md-6">\n <p class="font-weight-bold mb-4 ">{{\'Shop-Information\' | translate}}</p>\n <p class="mb-1 text-capitalize "> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'Full-Name\' |\n translate}} </span><span>{{currentOrder.shop_owner.first_name}}\n {{currentOrder.shop_owner.last_name}}</span> </p>\n <p> <span class="border-0 text-uppercase small font-weight-bold">{{\'Email\' |\n translate}} </span>{{currentOrder.shop_owner.email}}</p>\n <p class="mb-1 text-capitalize"> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'Address\' |\n translate}}</span> {{currentOrder.shop_owner.adress}}</p>\n <p class="mb-1 text-capitalize"> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'Country\' |\n translate}}</span> {{currentOrder.shop_owner.country}}</p>\n <p class="mb-1 text-capitalize"> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'Code-Postal\' |\n translate}}</span> {{currentOrder.shop_owner.postal_code}}</p>\n </div>\n\n \x3c!-- <div class="col-md-6 text-right">\n <p class="font-weight-bold mb-4">Payment Details</p>\n <p class="mb-1"><span class="text-muted">VAT: </span> 1425782</p>\n <p class="mb-1"><span class="text-muted">VAT ID: </span> 10253642</p>\n <p class="mb-1"><span class="text-muted">Payment Type: </span> Root</p>\n <p class="mb-1"><span class="text-muted">Name: </span> John Doe</p>\n </div> --\x3e\n </div>\n\n\n\n\n <hr class="my-2">\n\n\n\n\n\n\n <div class="row p-5">\n <div class="col-md-12">\n <p class="font-weight-bold mb-4 text-capitalize">{{\'Order-Products\' | translate}}\n </p>\n <table class="table table-responsive table-hover">\n <thead>\n <tr>\n <th class="border-0 text-uppercase small font-weight-bold">{{\'prod_imgg\'\n | translate}}</th>\n <th class="border-0 text-uppercase small font-weight-bold">\n {{\'Product-Name\' | translate}}</th>\n <th class="border-0 text-uppercase small font-weight-bold">\n {{\'Product-Description\' | translate}}</th>\n <th class="border-0 text-uppercase small font-weight-bold">{{\'Quantity\'\n | translate}}</th>\n <th class="border-0 text-uppercase small font-weight-bold">{{\'Unit-Cost\'\n | translate}}</th>\n <th class="border-0 text-uppercase small font-weight-bold">\n {{\'prod_details\' | translate}}</th>\n \x3c!-- <th class="border-0 text-uppercase small font-weight-bold">Total</th> --\x3e\n </tr>\n </thead>\n <tbody>\n <tr *ngFor="let order_prod of currentOrder.product_item">\n <td>\n <img *ngFor="let prod_img of order_prod.images | slice:0:1"\n [src]="prod_img.image_url" alt="" class="main_img">\n </td>\n <td>{{order_prod.product.product_name | slice:0:40}}...</td>\n <td>{{order_prod.product.product_description | slice:0:80}}...</td>\n <td>{{order_prod.pivot.quantity}}</td>\n <td>{{order_prod.item_offline_price |currency:code}}</td>\n <td>\n <button routerLink="/shop/shop-product-details/{{order_prod.id}}"\n title="" matTooltip="Show product item full details"\n mat-icon-button><i class="material-icons icon-green"\n style="color: #000000; padding-top: -10px;">\n view_headline\n </i>\n </button>\n </td>\n \x3c!-- <td>$3452</td> --\x3e\n </tr>\n\n </tbody>\n </table>\n </div>\n </div>\n\n\n\n\n <div class="row pb-5 p-5">\n <div class="col-md-12">\n <p class="font-weight-bold mb-4 text-capitalize">{{\'Order-full-details\' |\n translate}}</p>\n\n\n <div class="row">\n\n <div class="col-md-6">\n\n <p class="mb-1"> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'Order-Reference\'\n | translate}} </span> <span> {{currentOrder.order_ref}}</span> </p>\n <hr>\n\n <p class="mb-1"> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'Require-Date\'\n | translate}}</span><span> {{currentOrder.required_date}}</span></p>\n <hr>\n\n <p class="mb-1"><span\n class="border-0 text-uppercase small font-weight-bold">{{\'Shipping-Date\'\n | translate}} </span> <span>{{currentOrder.shipping_date}}</span>\n </p>\n <hr>\n\n <p class="mb-1"><span\n class="border-0 text-uppercase small font-weight-bold">{{\'Shipping-Type\'\n | translate}} </span> <span>{{currentOrder.shipping_type}}</span>\n </p>\n <hr>\n\n <p class="mb-1"> <span\n class="border-0 text-uppercase small font-weight-bold">
1{{\'Shipping-Price\'\n | translate}} </span> <span\n style="color:red">{{currentOrder.shipping_price\n |currency:code}}</span> </p>\n <hr>\n\n <p class="mb-1"><span\n class="border-0 text-uppercase small font-weight-bold">{{\'Shipping-Address\'\n | translate}} </span> <span>{{currentOrder.shipping_adresse}}</span>\n </p>\n <hr>\n\n\n </div>\n\n <div class="col-md-6">\n\n <p class="mb-1"><span\n class="border-0 text-uppercase small font-weight-bold">{{\'Shipping-Address\'\n | translate}} </span> <span>{{currentOrder.shipping_adresse}}</span>\n </p>\n <hr>\n\n <p class="mb-1"><span\n class="border-0 text-uppercase small font-weight-bold">{{\'Commission\'\n | translate}} </span> <span>{{currentOrder.commission}}</span> </p>\n <hr>\n\n\n\n <p class="mb-1"><span\n class="border-0 text-uppercase small font-weight-bold">{{\'Shop-Full-Name\'\n | translate}} </span> <span>{{currentOrder.shop_owner.first_name}}\n {{currentOrder.shop_owner.last_name}}</span> </p>\n <hr>\n\n <p class="mb-1"><span\n class="border-0 text-uppercase small font-weight-bold">{{\'Order-Price\'\n | translate}} </span> <span>{{currentOrder.order_price\n |currency:code}}</span> </p>\n <hr>\n\n <p class="mb-1"><span\n class="border-0 text-uppercase small font-weight-bold">{{\'Order-Weight\'\n | translate}} </span> <span>{{currentOrder.order_weight}}</span>\n </p>\n <hr>\n\n <p class="mb-1"><span\n class="border-0 text-uppercase small font-weight-bold">\n {{\'Order-Status\' | translate}} </span><span\n class="text-capitalize">{{currentOrder.statut.statut_name}}</span>\n </p>\n <hr>\n\n </div>\n\n\n </div>\n\n\n\n\n\n\n </div>\n\n </div>\n\n\n\n <div class="d-flex flex-row-reverse bg-dark text-white p-4">\n <div class="py-3 px-5 text-right">\n <div class="mb-2">{{\'Order-Price\' | translate}}</div>\n <div class="h2 font-weight-light">{{currentOrder.order_price\n |currency:code}}</div>\n </div>\n\n \x3c!-- <div class="py-3 px-5 text-right">\n <div class="mb-2">Discount</div>\n <div class="h2 font-weight-light">10%</div>\n </div>\n\n <div class="py-3 px-5 text-right">\n <div class="mb-2">Sub - Total amount</div>\n <div class="h2 font-weight-light">$32,432</div>\n </div> --\x3e\n </div>\n </div>\n </div>\n </div>\n </div>\n\n \x3c!-- <div class="text-light mt-5 mb-5 text-center small">by : <a class="text-light" target="_blank" href="http://totoprayogo.com">totoprayogo.com</a></div> --\x3e\n\n </div>\n\n\n\n\n\n </div>\n\n\n\n\n</div>\n',styles:[".main_container {\n background-color: white;\n width: 90%;\n margin-top: 100px;\n margin-bottom: 100px;\n}\n\n.main_img {\n width: 35px;\n height: 35px;\n}\n\nmat-icon {\n margin-right: 30px;\n color: #a00000;\n font-size: 30px;\n cursor: pointer;\n}"]})],Ag);let yg=class{constructor(t,e){this.orderService=t,this.router=e,this.currencyLabel=localStorage.getItem("currency_user"),this.orderDisplayedColumns=["order_date","order_price","shop_owner","statut","actions"],this.orderLength=0,this.sumOrder=0,this.code=localStorage.getItem("curr")}ngOnInit(){this.onGetPaidOrders()}onGetPaidOrders(){return this.orderService.getShopPaidOrders().subscribe(t=>{this.orderList=t;for(let o of this.orderList)this.orderLength+=1,this.sumOrder+=o.order_price;let e=0;this.orderList.forEach(o=>{o.order_price>e&&(e=o.order_price,this.maxOrderPrice=o.order_price,this.maxOrderDate=o.order_date)});let a=this.orderList[0],r=a.order_price,i=a.order_date;this.orderList.forEach(o=>{o.order_price<r?(r=o.order_price,this.minOrderPrice=o.order_price,this.minOrderDate=o.order_date):(this.minOrderPrice=r,this.minOrderDate=i)}),this.lastOrder=this.orderList[this.orderList.length-1],this.lastOrderPrice=this.lastOrder.order_price,this.lastOrderDate=this.lastOrder.order_date})}openOrderFullDetails(t){this.router.navigate([`shop/order-full-details/${t}`])}applyFilter(t){const e=t.target.value;this.orderList.filter=e.trim().toLowerCase(),this.orderList.paginator&&this.orderList.paginator.firstPage()}};yg.ctorParameters=()=>[{type:bn.C},{type:It.F0}],yg=(0,j.gn)([(0,m.wA2)({selector:"app-shop-paid-orders",template:'<div class="p-3 m-5 rounded" >\n\n\n <div>\n <div class="row">\n <div class="col-md-4 col-xl-3">\n <div class="card bg-c-blue order-card">\n <div class="card-block">\n <h6 class="m-b-20">{{\'Orders-Received\' | translate}}</h6>\n <h2 class="text-right"><i class="fa fa-cart-plus f-left"></i><span>{{orderLength}}</span></h2>\n <p class="m-b-0">{{\'Completed-Orders\' | translate}}<span class="f-right">{{orderLength}}</span></p>\n </div>\n </div>\n </div>\n\n <div class="col-md-4 col-xl-3">\n <div class="card bg-c-green order-card">\n <div class="card-block">\n <h6 class="m-b-20">{{\'Sum-Order-Price\' | translate}}</h6>\n <h2 class="text-right"><i class="fa fa-money f-left"></i><span>{{currencyLabel}}{{sumOrder}}</span></h2>\n <p class="m-b-0">{{\'Last-Order\' | translate}}<span class="f-right">{{currencyLabel}}{{lastOrderPrice}}</span></p>\n </div>\n </div>\n </div>\n\n <div class="col-md-4 col-xl-3">\n <div class="card bg-c-yellow order-card">\n <div class="card-block">\n <h6 class="m-b-20">{{\'Max-Order-Price\' | translate}}</h6>\n <h2 class="text-right"><i class="fa fa-arrow-up f-left"></i><span>{{currencyLabel}}{{maxOrderPrice}}</span></h2>\n <p class="m-b-0">{{\'Order-Date\' | translate}}<span class="f-right">{{maxOrderDate | date}}</span></p>\n </div>\n </div>\n </div>\n\n <div class="col-md-4 col-xl-3">\n <div class="card bg-c-pink order-card">\n <div class="card-block">\n <h6 class="m-b-20">{{\'Min-Order-Amount\' | translate}}</h6>\n <h2 class="text-right"><i class="fa fa-arrow-down f-left"></i><span>{{currencyLabel}}{{minOrderPrice}}</span></h2>\n <p class="m-b-0">{{\'Order-Date\' | translate}}<span class="f-right">{{minOrderDate | date}}</span></p>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n\n<section class="mainContainer">\n \x3c!-- <span>List of paid orders:</span> --\x3e\n \x3c!-- <button color="primary" class="topbuttons" style=" float:right; margin-top: 10px;margin-bottom: 10px;" mat-raised-button\n (click)="openAddCriteriaWithUnits()">+ Add New Criteria\n </button> --\x3e\n\n\n\n <mat-form-field style="width: 25%;">\n <mat-label>{{\'common_filter\' | translate}}</mat-label>\n <input matInput (keyup)="applyFilter($event)" placeholder="Ex. Siyou">\n </mat-form-field>\n\n\n\n <table mat-table [dataSource]="orderList" mat-sort multiTemplateDataRows matSort>\n\n \x3c!-- Order Date Column --\x3e\n <ng-container matColumnDef="order_date">\n <th mat-header-cell *matHeaderCellDef> {{\'Order-Date\' | translate}} </th>\n <td mat-cell *matCellDef="let order">{{ order.order_date | date}}</td>\n </ng-container>\n\n \x3c!-- Order Price Column --\x3e\n <ng-container matColumnDef="order_price">\n <th mat-header-cell *matHeaderCellDef>{{\'Order-Price\' | translate}} </th>\n <td mat-cell *matCellDef="let order" style="color:red"> {{ order.order_price |currency:code }} </td>\n </ng-container>\n\n \x3c!-- Supplier Column --\x3e\n <ng-container matColumnDef="shop_owner">\n <th mat-header-cell *matHeaderCellDef> {{\'ShopOwner-Name\' | translate}} </th>\n <td mat-cell *matCellDef="let order"> {{ order.supplier.first_name }} {{ order.supplier.last_name }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef="statut">\n <th mat-header-cell *matHeaderCellDef> {{\'Order-Status\' | translate}}</th>\n\n <td mat-cell *matCellDef="let order">\n <button mat-stroked-button style="color:#59ed24"> {{ order.statut.statut_name }} <i\n class="material-icons icon-green" style="color: 59ed24;">\n offline_pin\n\n </i> </button>\n\n </td>\n </ng-container>\n\n\n\n \x3c!-- Actions Column --\x3e\n <ng-container matColumnDef="actions">\n <th mat-header-cell *matHeaderCellDef style="padding-left: 40px;">{{\'common_actions\' | translate}}</th>\n <td mat-cell style="padding-left: 30px;" *matCellDef="let row">\n\n <button mat-icon-button matTooltip="Show order products">\n <i class="material-icons icon-green" style="color: darkcyan;">expand_more</i>\n </button>\n \x3c!-- <button title="Add this Criteria" (click)="openAddCriteriaModal(row)" mat-icon-button ><i class="material-icons icon-green" style="color: darkcyan;">\n create\n </i>\n </button> --\x3e\n <button matTooltip="Show full openOrderFullDetails" (click)="openOrderFullDetails(row.id)" mat-icon-button><i\n class="material-icons icon-green" style="color: darkcyan;">\n view_headline\n </i>\n </button>\n\n \x3c!-- <button matTooltip="Validate order" (click)="validateOrder(row.id)" mat-icon-button><i\n class="material-icons icon-green" style="color: darkcyan;">\n offline_pin\n\n </i>\n </button> --\x3e\n\n\n </td>\n </ng-container>\n\n <ng-container matColumnDef="expandedDetail">\n\n\n\n <td mat-cell *matCellDef="let order" [attr.colspan]="orderDisplayedColumns.length">\n \x3c!-- <button mat-raised-button color="primary">Add New Unit</button> --\x3e\n\n\n\n <div class="example-element-detail"\n [@detailExpand]="order == expandedElement ? \'expanded\' : \'collapsed\'">\n\n <div class="orderProducts">\n\n\n\n\n\n\n <table class="mat-elevation-z8">\n\n\n\n <tr>\n <th style="margin-right: 35px; padding: 10px;">Product image</th>\n <th style="margin-right: 15px; padding: 10px;">Product Name</th>\n <th style="margin-left: 15px; padding: 10px;">Product quantity</th>\n <th style="margin-left: 15px; padding: 10px;">Product Price</th>\n <th style="margin-left: 15px; padding: 10px;">Actions</th>\n\n </tr>\n\n <tr *ngFor="let prod_item of order.product_item">\n \x3c!-- <td style="margin-right: 15px; padding: 10px;">{{prod_item.images.image_url}}</td> --\x3e\n <td style="margin-right: 15px; padding: 10px;">\n <img *ngFor="let img of prod_item.images | slice:0:1" [src]="img.image_url" class="prod-img" alt="">\n\n </td>\n <td style="margin-right: 15px; padding: 10px;">{{prod_item.product.product_name}}</td>\n <td style="margin-left: 15px; padding: 10px;">{{prod_item.pivot.quantity}}</td>\n <td style="margin-left: 15px; padding: 10px;" style="color: red;">{{prod_item.item_offline_price |currency:code}}</td>\n <td style="margin-left: 15px; padding: 10px;">\n\n <button title="Edit this Unit" mat-icon-button matTooltip="View full details" routerLink="/shop/shop-product-details/{{prod_item.id}}"><i\n class="material-icons icon-green" style="color: darkcyan;">\n view_headline\n </i>\n </button>\n\n\n </td>\n\n </tr>\n </table>\n\n\n </div>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef="orderDisplayedColumns"></tr>\n <tr mat-row *matRowDef="let order; columns: orderDisplayedColumns;" class="example-element-row"\n [class.example-expanded-row]="expandedElement === order"\n (click)="expandedElement = expandedElement === order ? null : order"></tr>\n <tr mat-row *matRowDef="let row; columns: [\'expandedDetail\']" class="example-detail-row"></tr>\n </table>\n</section>\n\n\n</div>\n',animations:[(0,Rt.X$)("detailExpand",[(0,Rt.SB)("collapsed",(0,Rt.oB)({height:"0px",minHeight:"0",visibility:"hidden"})),(0,Rt.SB)("expanded",(0,Rt.oB)({height:"*",visibility:"visible"})),(0,Rt.eR)("expanded <=> collapsed",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])],styles:[".mainContainer {\n padding: 10px;\n padding-top: 10px;\n}\n.mainContainer span {\n font-family: Roboto;\n font-weight: 500;\n font-size: 20px;\n}\n.mainContainer table {\n width: 100%;\n margin-top: 15px;\n}\n.mainContainer table td {\n max-width: 250px;\n overflow-wrap: break-word;\n white-space: normal;\n}\n.mainContainer table .example-element-row td {\n border-bottom-width: 0;\n}\n.mainContainer table .example-element-detail {\n overflow: hidden;\n display: flex;
1\n}\n.mainContainer table .orderProducts {\n padding: 10px;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n}\n.prod-img {\n max-width: 50px;\n max-height: 50px;\n}\n.order-card {\n color: #fff;\n}\n.bg-c-blue {\n background: linear-gradient(45deg, #4099ff, #73b4ff);\n}\n.bg-c-green {\n background: linear-gradient(45deg, #2ed8b6, #59e0c5);\n}\n.bg-c-yellow {\n background: linear-gradient(45deg, #ffb64d, #ffcb80);\n}\n.bg-c-pink {\n background: linear-gradient(45deg, #ff5370, #ff869a);\n}\n.card {\n border-radius: 5px;\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.16);\n border: none;\n margin-bottom: 30px;\n transition: all 0.3s ease-in-out;\n}\n.card .card-block {\n padding: 25px;\n}\n.order-card i {\n font-size: 26px;\n}\n.f-left {\n float: left;\n}\n.f-right {\n float: right;\n}"]})],yg);let bg=class{constructor(t,e){this.orderService=t,this.router=e,this.currencyLabel=localStorage.getItem("currency_user"),this.code=localStorage.getItem("curr"),this.orderDisplayedColumns=["order_date","order_price","shop_owner","statut","actions"],this.orderLength=0,this.sumOrder=0}ngOnInit(){this.onGetValidOrders()}onGetValidOrders(){return this.orderService.getShopValidOrders().subscribe(t=>{this.orderList=t;for(let o of this.orderList)this.orderLength+=1,this.sumOrder+=o.order_price;let e=0;this.orderList.forEach(o=>{o.order_price>e&&(e=o.order_price,this.maxOrderPrice=o.order_price,this.maxOrderDate=o.order_date)});let a=this.orderList[0],r=a.order_price,i=a.order_date;this.orderList.forEach(o=>{o.order_price<r?(r=o.order_price,this.minOrderPrice=o.order_price,this.minOrderDate=o.order_date):(this.minOrderPrice=r,this.minOrderDate=i)}),this.lastOrder=this.orderList[this.orderList.length-1],this.lastOrderPrice=this.lastOrder.order_price,this.lastOrderDate=this.lastOrder.order_date})}openOrderFullDetails(t){this.router.navigate([`shop/order-full-details/${t}`])}applyFilter(t){const e=t.target.value;this.orderList.filter=e.trim().toLowerCase(),this.orderList.paginator&&this.orderList.paginator.firstPage()}};bg.ctorParameters=()=>[{type:bn.C},{type:It.F0}],bg=(0,j.gn)([(0,m.wA2)({selector:"app-shop-valid-orders",template:'<div class=" rounded p-3 m-5">\n\n\n\n\n <div>\n <div class="row">\n <div class="col-md-4 col-xl-3">\n <div class="card bg-c-blue order-card">\n <div class="card-block">\n <h6 class="m-b-20">{{\'Orders-Received\' | translate}}</h6>\n <h2 class="text-right"><i class="fa fa-cart-plus f-left"></i><span>{{orderLength}}</span></h2>\n <p class="m-b-0">{{\'Completed-Orders\' | translate}}<span class="f-right">{{orderLength}}</span></p>\n </div>\n </div>\n </div>\n\n <div class="col-md-4 col-xl-3">\n <div class="card bg-c-green order-card">\n <div class="card-block">\n <h6 class="m-b-20">{{\'Sum-Order-Price\' | translate}}</h6>\n <h2 class="text-right"><i class="fa fa-money f-left"></i><span>{{currencyLabel}}{{sumOrder}}</span></h2>\n <p class="m-b-0">{{\'Last-Order\' | translate}}<span class="f-right">{{currencyLabel}}{{lastOrderPrice}}</span></p>\n </div>\n </div>\n </div>\n\n <div class="col-md-4 col-xl-3">\n <div class="card bg-c-yellow order-card">\n <div class="card-block">\n <h6 class="m-b-20">{{\'Max-Order-Price\' | translate}}</h6>\n <h2 class="text-right"><i class="fa fa-arrow-up f-left"></i><span>{{currencyLabel}}{{maxOrderPrice}}</span></h2>\n <p class="m-b-0">{{\'Order-Date\' | translate}}<span class="f-right">{{maxOrderDate | date}}</span></p>\n </div>\n </div>\n </div>\n\n <div class="col-md-4 col-xl-3">\n <div class="card bg-c-pink order-card">\n <div class="card-block">\n <h6 class="m-b-20">{{\'Min-Order-Amount\' | translate}}</h6>\n <h2 class="text-right"><i class="fa fa-arrow-down f-left"></i><span>{{currencyLabel}}{{minOrderPrice}}</span></h2>\n <p class="m-b-0">{{\'Order-Date\' | translate}}<span class="f-right">{{minOrderDate | date}}</span></p>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n\n <section class="mainContainer">\n \x3c!-- <span>List of valid orders:</span> --\x3e\n \x3c!-- <button color="primary" class="topbuttons" style=" float:right; margin-top: 10px;margin-bottom: 10px;" mat-raised-button\n (click)="openAddCriteriaWithUnits()">+ Add New Criteria\n </button> --\x3e\n\n\n\n <mat-form-field style="width: 25%;">\n <mat-label>{{\'common_filter\' | translate}}</mat-label>\n <input matInput (keyup)="applyFilter($event)" placeholder="Ex. Siyou">\n </mat-form-field>\n\n\n <table mat-table [dataSource]="orderList" mat-sort multiTemplateDataRows matSort>\n\n \x3c!-- Order Date Column --\x3e\n <ng-container matColumnDef="order_date">\n <th mat-header-cell *matHeaderCellDef> {{\'Order-Date\' | translate}} </th>\n <td mat-cell *matCellDef="let order">{{ order.order_date | date}}</td>\n </ng-container>\n\n \x3c!-- Order Price Column --\x3e\n <ng-container matColumnDef="order_price">\n <th mat-header-cell *matHeaderCellDef>{{\'Order-Price\' | translate}}</th>\n <td mat-cell *matCellDef="let order" style="color:red"> {{ order.order_price |currency:code }} </td>\n </ng-container>\n\n \x3c!-- Supplier Column --\x3e\n <ng-container matColumnDef="shop_owner">\n <th mat-header-cell *matHeaderCellDef> {{\'ShopOwner-Name\' | translate}} </th>\n <td mat-cell *matCellDef="let order"> {{ order.supplier.first_name }} {{ order.supplier.last_name }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef="statut">\n <th mat-header-cell *matHeaderCellDef> {{\'Order-Status\' | translate}} </th>\n\n <td mat-cell *matCellDef="let order">\n <button mat-stroked-button style="color:#59ed24"> {{ order.statut.statut_name }} <i\n class="material-icons icon-green" style="color: 59ed24;">\n offline_pin\n\n </i> </button>\n\n </td>\n </ng-container>\n\n\n\n \x3c!-- Actions Column --\x3e\n <ng-container matColumnDef="actions">\n <th mat-header-cell *matHeaderCellDef style="padding-left: 40px;">{{\'common_actions\' | translate}}</th>\n <td mat-cell style="padding-left: 30px;" *matCellDef="let row">\n\n <button mat-icon-button matTooltip="Show order products">\n <i class="material-icons icon-green" style="color: darkcyan;">expand_more</i>\n </button>\n \x3c!-- <button title="Add this Criteria" (click)="openAddCriteriaModal(row)" mat-icon-button ><i class="material-icons icon-green" style="color: darkcyan;">\n create\n </i>\n </button> --\x3e\n <button matTooltip="Show full openOrderFullDetails" (click)="openOrderFullDetails(row.id)" mat-icon-button><i\n class="material-icons icon-green" style="color: darkcyan;">\n view_headline\n </i>\n </button>\n\n \x3c!-- <button matTooltip="Validate order" (click)="validateOrder(row.id)" mat-icon-button><i\n class="material-icons icon-green" style="color: darkcyan;">\n offline_pin\n\n </i>\n </button> --\x3e\n\n\n </td>\n </ng-container>\n\n <ng-container matColumnDef="expandedDetail">\n\n\n\n <td mat-cell *matCellDef="let order" [attr.colspan]="orderDisplayedColumns.length">\n \x3c!-- <button mat-raised-button color="primary">Add New Unit</button> --\x3e\n\n\n\n <div class="example-element-detail"\n [@detailExpand]="order == expandedElement ? \'expanded\' : \'collapsed\'">\n\n <div class="orderProducts">\n\n\n\n\n\n\n <table class="mat-elevation-z8">\n\n\n\n <tr>\n <th style="margin-right: 35px; padding: 10px;">{{\'Product-image\' | translate}}</th>\n <th style="margin-right: 15px; padding: 10px;"> {{\'Product-Name\' | translate}}</th>\n <th style="margin-left: 15px; padding: 10px;"> {{"Product-Quantity" | translate}}</th>\n <th style="margin-left: 15px; padding: 10px;"> {{\'Product-Price\' | translate}}</th>\n <th style="margin-left: 15px; padding: 10px;"> {{\'common_actions\' | translate}}</th>\n\n </tr>\n\n <tr *ngFor="let prod_item of order.product_item">\n\n <td style="margin-right: 15px; padding: 10px;">\n <img *ngFor="let img of prod_item.images | slice:0:1" [src]="img.image_url" class="prod-img" alt="">\n </td>\n <td style="margin-right: 15px; padding: 10px;">{{prod_item.product.product_name}}</td>\n <td style="margin-left: 15px; padding: 10px;">{{prod_item.pivot.quantity}}</td>\n <td style="margin-left: 15px; padding: 10px;" style="color:red">{{prod_item.item_offline_price |currency:code}}</td>\n <td style="margin-left: 15px; padding: 10px;">\n\n <button title="Edit this Unit" mat-icon-button matTooltip="View full details" routerLink="/shop/shop-product-details/{{prod_item.id}}"><i\n class="material-icons icon-green" style="color: darkcyan;">\n view_headline\n </i>\n </button>\n\n\n </td>\n\n </tr>\n </table>\n\n\n </div>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef="orderDisplayedColumns"></tr>\n <tr mat-row *matRowDef="let order; columns: orderDisplayedColumns;" class="example-element-row"\n [class.example-expanded-row]="expandedElement === order"\n (click)="expandedElement = expandedElement === order ? null : order"></tr>\n <tr mat-row *matRowDef="let row; columns: [\'expandedDetail\']" class="example-detail-row"></tr>\n </table>\n </section>\n\n\n </div>\n',animations:[(0,Rt.X$)("detailExpand",[(0,Rt.SB)("collapsed",(0,Rt.oB)({height:"0px",minHeight:"0",visibility:"hidden"})),(0,Rt.SB)("expanded",(0,Rt.oB)({height:"*",visibility:"visible"})),(0,Rt.eR)("expanded <=> collapsed",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])],styles:[".mainContainer {\n padding: 10px;\n padding-top: 10px;\n}\n.mainContainer span {\n font-family: Roboto;\n font-weight: 500;\n font-size: 20px;\n}\n.mainContainer table {\n width: 100%;\n margin-top: 15px;\n}\n.mainContainer table td {\n max-width: 250px;\n overflow-wrap: break-word;\n white-space: normal;\n}\n.mainContainer table .example-element-row td {\n border-bottom-width: 0;\n}\n.mainContainer table .example-element-detail {\n overflow: hidden;\n display: flex;\n}\n.mainContainer table .orderProducts {\n padding: 10px;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n}\n.prod-img {\n max-width: 50px;\n max-height: 50px;\n}\n.order-card {\n color: #fff;\n}\n.bg-c-blue {\n background: linear-gradient(45deg, #4099ff, #73b4ff);\n}\n.bg-c-green {\n background: linear-gradient(45deg, #2ed8b6, #59e0c5);\n}\n.bg-c-yellow {\n background: linear-gradient(45deg, #ffb64d, #ffcb80);\n}\n.bg-c-pink {\n background: linear-gradient(45deg, #ff5370, #ff869a);\n}\n.card {\n border-radius: 5px;\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.16);\n border: none;\n margin-bottom: 30px;\n transition: all 0.3s ease-in-out;\n}\n.card .card-block {\n padding: 25px;\n}\n.order-card i {\n font-size: 26px;\n}\n.f-left {\n float: left;\n}\n.f-right {\n float: right;\n}"]})],bg);var _g=F(64736);let xg=class{constructor(t,e){this.http=t,this.configService=e;let a=this.configService.getConfig();this.baseUrl=`${a.baseUrl}`,this.baseUrlS2C=`${a.baseUrlS2C}`}getSupplierSalesManager(){return this.http.get(`${this.baseUrl}/supplier/salesmanagers/shops`,{params:{token:localStorage.getItem("token")}})}getSupplierList(){return this.http.get(`${this.baseUrl}/users/suppliers`,{params:{token:localStorage.getItem("token")}})}get_SupplierList(){return this.http.get(`${this.baseUrl}/siyoucommissions/GetsupplierswithCommission`,{params:{token:localStorage.getItem("token")}})}affectSalesmanagerToShop(t){return this.http.post(`${this.baseUrl}/supplier/shops`,t,{params:{token:localStorage.getItem("token")}})}updateSalesmanagerCommission(t){return this.http.put(`${this.baseUrl}/supplier/salesmanager`,t,{params:{token:localStorage.getItem("token")}})}};xg.ctorParameters=()=>[{type:Nt.eN},{type:Yn.E}],xg=(0,j.gn)([(0,m.GSi)({providedIn:"root"})],xg);let Kp=class{constructor(t,e,a,r,i){this.formBuilder=t,this.supplierService=e,this.categoriesService=a,this.dialogRef=r,this.productsService=i,this.filterForm=this.formBuilder.group({category:"",supplier:""})}
1ngOnInit(){this.getCategoriesList(),this.getSupplierList()}getSupplierList(){this.supplierService.getSupplierList().subscribe(t=>{this.supplierList=t})}getCategoriesList(){this.categoriesService.getCategories().subscribe(t=>{this.categoriesList=t})}submitFilterForm(){const t=document.getElementById("filterMatSpinner");t.style.display="unset",this.productsService.getFilteredProductsList(this.filterForm.value).subscribe(e=>{t.style.display="none",this.dialogRef.close(e)})}};Kp.ctorParameters=()=>[{type:V.qu},{type:xg},{type:Ee.G},{type:St.so},{type:_g.s}],Kp.propDecorators={matSpinner:[{type:m.i9L,args:["matSpinner"]}]},Kp=(0,j.gn)([(0,m.wA2)({selector:"app-filter-products",template:'<div class="shop-dashboard">\n <section class="card-header">\n <h1 mat-dialog-title>Filter Products</h1>\n <mat-icon mat-dialog-close>close</mat-icon>\n </section>\n <div mat-dialog-content>\n <section class="filterContainer">\n <form class="filterMetrics" [formGroup]="filterForm">\n <div class="categories">\n <span>Categories</span>\n <mat-form-field appearance="outline" color="primary" style="width: 100%; margin-top: 10px;">\n <mat-label>Choose Category</mat-label>\n <mat-select formControlName="category">\n <mat-option value="">-- None --</mat-option>\n <mat-optgroup *ngFor="let category of categoriesList" [label]="category.category_name">\n <mat-option *ngFor="let subcat of category.sub_categories" [value]="subcat.id">\n {{ subcat.category_name }}\n </mat-option>\n </mat-optgroup>\n </mat-select>\n </mat-form-field>\n </div>\n <div class="supplier">\n <span>Supplier</span>\n <mat-form-field appearance="outline" color="primary" style="width: 100%; margin-top: 10px;">\n <mat-label>Choose Supplier</mat-label>\n <mat-select formControlName="supplier">\n <mat-option value="">-- None --</mat-option>\n <mat-option *ngFor="let supplier of supplierList" [value]="supplier.id">\n {{ supplier.first_name }}\n {{ supplier.last_name }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n \n </form>\n </section>\n </div>\n <div mat-dialog-actions class="actionsContainer">\n \x3c!-- [mat-dialog-close]="data.animal" --\x3e\n <mat-spinner [ngStyle]="{\'display\':\'none\'}" diameter="25" id="productSearchSpinner" id="filterMatSpinner"></mat-spinner>\n <button mat-button mat-dialog-close style="margin-left: auto;">Cancel</button>\n <button mat-raised-button cdkFocusInitial color="primary" (click)="submitFilterForm()">Filter</button>\n </div>\n</div>',styles:[".card-header {\n display: flex;\n flex-direction: row;\n}\n.card-header h1 {\n flex: 1;\n}\n.actionsContainer {\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n}"]})],Kp);let Wp=class{constructor(t,e,a,r,i,o,s,l){this.productsService=t,this.categoriesService=e,this.basketService=a,this.snackBar=r,this.media=i,this.supplierService=o,this.formBuilder=s,this.dialog=l,this.productList=[],this.mobileQuery=i.matchMedia("(max-width: 576px)"),this.filterForm=this.formBuilder.group({category:"",supplier:""})}ngOnInit(){this.getProductList(),this.getCategoriesList(),this.getSupplierList(),this.filterForm.valueChanges.subscribe(t=>{this.getFilteredList(t)},t=>{})}getProductList(){this.productsService.getProductsList().subscribe(t=>{this.productList=t},t=>{})}getProductImage(t){return t.product_image_url?t.product_image_url:"assets/images/product.png"}getSupplierList(){this.supplierService.getSupplierList().subscribe(t=>{this.supplierList=t})}getCategoriesList(){this.categoriesService.getCategories().subscribe(t=>{this.categoriesList=t,this.categoryData=this.categoriesList.data})}getFilteredList(t){const e=document.getElementById("productSearchSpinner");e.style.display="unset",this.productsService.getFilteredProductsList(t).subscribe(a=>{e.style.display="none",this.productList=a})}addProductToBasket(t,e){const a=this.spans.toArray()[e].nativeElement;a.classList.add("animateSpan"),setTimeout(()=>{a.classList.remove("animateSpan")},2e3)}openFilterProductModal(){this.dialog.open(Kp,{width:"350px"}).afterClosed().subscribe(e=>{this.productList=e})}};Wp.ctorParameters=()=>[{type:_g.s},{type:Ee.G},{type:Ac},{type:We.ux},{type:yo.vx},{type:xg},{type:V.qu},{type:St.uw}],Wp.propDecorators={Spinner:[{type:m.i9L,args:["spinner"]}],spans:[{type:m.vR,args:["spanProd"]}]},Wp=(0,j.gn)([(0,m.wA2)({selector:"app-products",template:'<section class="mainContainer">\n <section class="filterContainer" *ngIf="!mobileQuery.matches">\n \x3c!-- <span>Filter By</span> --\x3e\n <form class="filterMetrics" [formGroup]="filterForm">\n <div class="categories">
1\n <span>{{\'Categories\' | translate}}</span>\n <mat-form-field appearance="outline" style="width: 100%; margin-top: 10px;">\n <mat-label>{{\'Choose-Category\' | translate}}</mat-label>\n <mat-select formControlName="category">\n <mat-option value="">-- None --</mat-option>\n <mat-optgroup *ngFor="let category of categoryData" [label]="category.category_name">\n <mat-option *ngFor="let subcat of category.sub_categories" [value]="subcat.id">\n {{ subcat.category_name }}\n </mat-option>\n </mat-optgroup>\n </mat-select>\n </mat-form-field>\n </div>\n <div class="supplier">\n <span>{{\'Supplier\' | translate}}</span>\n <mat-form-field appearance="outline" style="width: 100%; margin-top: 10px;">\n <mat-label>{{\'Choose-Supplier\' | translate}}</mat-label>\n <mat-select formControlName="supplier">\n <mat-option value="">-- None --</mat-option>\n <mat-option *ngFor="let supplier of supplierList" [value]="supplier.id">\n {{ supplier.first_name }}\n {{ supplier.last_name }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n \x3c!-- <div class="price">\n <span>Price</span>\n <ion-range id="dual-range" min="1000" max="2000" dual-knobs pin color="dark">\n <ion-icon slot="start" size="small" name="cash"></ion-icon>\n <ion-icon slot="end" name="cash"></ion-icon>\n </ion-range>\n </div> --\x3e\n \x3c!-- <ion-button>Default</ion-button> --\x3e\n <mat-spinner [ngStyle]="{\'display\':\'none\'}" diameter="25" id="productSearchSpinner"></mat-spinner>\n \x3c!-- <button mat-raised-button>Search</button> --\x3e\n \x3c!-- <div class="barcode">\n <span>Barcode</span>\n <mat-form-field class="example-full-width" appearance="outline">\n <mat-label>Email</mat-label>\n <input matInput placeholder="Please insert email" type="Email">\n <mat-icon *ngIf="!isSearch" (click)="searchSalesManagerByEmail()" matSuffix id="searchIcon">search</mat-icon>\n <mat-spinner *ngIf="isSearch" [diameter]="25" id="loadingSpinner" matSuffix #loadingSpinner>\n </mat-spinner>\n </mat-form-field>\n </div> --\x3e\n </form>\n </section>\n <section *ngIf="productList.length" class="productsContainer">\n \x3c!-- <cdk-virtual-scroll-viewport style="height: 100vh;" autosize> --\x3e\n <mat-card *ngFor="let product of productList, let index = index">\n <div class="actionsContainer">\n <span class="spanPackageProduct" #spanProd>{{ \'+ \' + product.product_package }}</span>\n <mat-icon style="color: coral; align-self: flex-end;" matTooltip="add to favorite">favorite_border\n </mat-icon>\n <mat-icon matTooltip="add to Basket" id="addProductIcon"\n (click)="addProductToBasket(product, index)" style="color: #41a8c5;"> add_circle</mat-icon>\n </div>\n\n <div class="imageContainer"\n [ngStyle]="{\'background\': \'url(\' + getProductImage(product) + \')\', \'background-position\': \'center\', \'background-size\': \'contain\', \'background-repeat\': \'no-repeat\'}">\n </div>\n <mat-card-content>\n <div class="product_name" style="color: #41a8c5;">\n {{ product.product_name}}\n </div>\n <div class="product_name">\n Barcode: {{ product.taxe_rate }}\n </div>\n <div class="description">\n {{ mobileQuery.matches ? ((product.product_description | slice: 0:20 ) + \'...\')
1: product.product_description.length > 50 ? ((product.product_description | slice: 0:50 ) + \'...\') : product.product_description }}\n </div>\n <div class="containerInfos">\n <div class="quantity">\n Packet: {{ product.product_box }}/{{ product.product_package }} Stock:\n {{ product.quantity }}\n </div>\n <div class="product_price" style="color: #ff0000;">\n {{ product.taxe_rate |currency }}\n </div>\n </div>\n </mat-card-content>\n </mat-card>\n \x3c!-- </cdk-virtual-scroll-viewport> --\x3e\n </section>\n\n \x3c!-- <section class="noData" *ngIf="!productList.length" style="background: url(\'assets/svgs/no_data.svg\');"></section> --\x3e\n <section class="noDataFoundSection" *ngIf="!productList.length">\n <mat-icon width="unset" height="unset" id="noDataImage" svgIcon="noData"></mat-icon>\n <span>{{\'No-Data-Found\' | translate}}</span>\n </section>\n\n \x3c!-- </div> --\x3e\n \x3c!-- <ion-fab vertical="bottom" horizontal="end" slot="fixed" id="fabFilterBtn" *ngIf="mobileQuery.matches"\n style=" position: fixed; bottom: 24px; right: 24px;" (click)="openFilterProductModal()">\n <ion-fab-button>\n <mat-icon>filter_list</mat-icon>\n </ion-fab-button>\n </ion-fab> --\x3e\n</section>\n<button mat-fab color="primary" id="fabFilterBtn" *ngIf="mobileQuery.matches"\n style="position:fixed; bottom: 24px; right: 24px; z-index: 100;" (click)="openFilterProductModal()">\n <mat-icon>filter_list</mat-icon>\n</button>',styles:[".products {\n padding: 20px;\n}\n.products .table-invoice .table-in-card {\n background: white;\n}
1\n.products .table-invoice .table-in-card h3 {\n color: black;\n font-weight: bold;\n padding: 15px;\n}\n.products .table-invoice .table-in-card .table thead tr th, .products .table-invoice .table-in-card .table tbody tr td {\n vertical-align: middle;\n font-size: smaller;\n}\n.products .table-invoice .table-in-card .table thead tr th {\n color: #999999;\n border-bottom: 0;\n}\n.products .table-invoice .table-in-card .table tbody tr td:last-child a {\n color: #999999;\n}\n#txt1 {\n font-size: 28px;\n line-height: 24px;\n}\n.material-icons {\n display: inline-flex;\n vertical-align: top;\n margin: 0 20px;\n color: #d41507;\n}"]})],Wp);let m0=class{constructor(t,e,a){this.data=t,this.dialogRef=e,this.formBuilder=a,this.color="#cacaca",this.checkedStat=!0,this.checkedB2S=!0,this.add_quick_purchase=!0,this.purchase_order=!0,this.b2s_products=!1,this.b2s_order_management=!1,this.checkedWare=!0,this.inventory_management=!0,this.warehouse_management=!0,this.returned_goods=!0,this.inventory_history=!0,this.stock_management=!0,this.hide_cost_price=!0,this.checkedS2C=!0,this.product_list=!0,this.add_product=!0,this.siyou_suppliers=!0,this.my_suppliers=!0,this.siyou_categories=!0,this.my_category=!0,this.promotion_history=!0,this.promotion_list=!0,this.discount_history=!0,this.sales_funds=!0,this.accounts_payable=!0,this.payment_methods=!0,this.shop_operators_list=!0,this.add_shop_operator=!0,this.shop_cashiers_list=!0,this.add_shop_cashier=!0,this.advertisement=!0,this.member_list=!0,this.level_list=!0,this.discount_list=!0,this.s2c_orders_list=!0}ngOnInit(){this.currentData=this.dialogRef.componentInstance.data,null!=this.currentData&&(this.checkedStat=this.currentData.statistics,this.checkedB2S=this.currentData.B2s,this.add_quick_purchase=this.currentData.add_quick_purchase,this.purchase_order=this.currentData.purchase_order,this.b2s_products=this.currentData.b2s_products,this.b2s_order_management=this.currentData.b2s_order_management,this.checkedWare=this.currentData.warehouse,this.inventory_management=this.currentData.inventory_management,this.warehouse_management=this.currentData.warehouse_management,this.returned_goods=this.currentData.returned_goods,this.inventory_history=this.currentData.inventory_history,this.stock_management=this.currentData.stock_management,this.checkedS2C=this.currentData.s2c,this.product_list=this.currentData.product_list,this.add_product=this.currentData.add_product,this.siyou_suppliers=this.currentData.siyou_suppliers,this.my_suppliers=this.currentData.my_suppliers,this.siyou_categories=this.currentData.siyou_categories,this.my_category=this.currentData.my_category,this.promotion_history=this.currentData.promotion_history,this.promotion_list=this.currentData.promotion_list,this.discount_history=this.currentData.discount_history,this.sales_funds=this.currentData.sales_funds,this.accounts_payable=this.currentData.accounts_payable,this.payment_methods=this.currentData.payment_methods,this.shop_operators_list=this.currentData.shop_operators_list,this.add_shop_operator=this.currentData.add_shop_operator,this.shop_cashiers_list=this.currentData.shop_cashiers_list,this.add_shop_cashier=this.currentData.add_shop_cashier,this.advertisement=this.currentData.advertisement,this.member_list=this.currentData.member_list,this.level_list=this.currentData.level_list,this.discount_list=this.currentData.discount_list,this.s2c_orders_list=this.currentData.s2c_orders_list)}cancel(){this.dialogRef.close()}confirm(){0==this.hide_cost_price&&this.add_product,0==this.checkedB2S&&(this.add_quick_purchase=!1,this.purchase_order=!1,this.b2s_products=!1,this.b2s_order_management=!1),(1==this.add_quick_purchase||1==this.purchase_order||1==this.b2s_products||1==this.b2s_order_management)&&this.checkedB2S,0==this.checkedWare&&(this.inventory_management=!1,this.warehouse_management=!1,this.returned_goods=!1,this.inventory_history=!1,this.stock_management=!1),(1==this.inventory_management||1==this.warehouse_management||1==this.returned_goods||1==this.inventory_history||1==this.stock_management)&&this.checkedWare,0==this.checkedS2C&&(this.product_list=!1,this.add_product=!1,this.siyou_suppliers=!1,this.my_suppliers=!1,this.siyou_categories=!1,this.my_category=!1,this.promotion_history=!1,this.promotion_list=!1,this.discount_list=!1,this.discount_history=!1,this.sales_funds=!1,this.accounts_payable=!1,this.payment_methods=!1,this.shop_operators_list=!1,this.add_shop_operator=!1,this.shop_cashiers_list=!1,this.add_shop_cashier=!1,this.advertisement=!1,this.member_list=!1,this.level_list=!1,this.s2c_orders_list=!1,this.hide_cost_price=!1),(1==this.product_list||1==this.add_product||1==this.siyou_suppliers||1==this.my_suppliers||1==this.siyou_categories||1==this.my_category||1==this.promotion_history||1==this.promotion_list||1==this.discount_list||1==this.discount_history||1==this.sales_funds||1==this.accounts_payable||1==this.payment_methods||1==this.shop_operators_list||1==this.add_shop_operator||1==this.shop_cashiers_list||1==this.add_shop_cashier||1==this.advertisement||1==this.member_list||1==this.level_list||1==this.s2c_orders_list||1==this.hide_cost_price)&&this.checkedS2C;var t={B2S:this.checkedB2S,S2C:this.checkedS2C,statistics:this.checkedStat,warehouse:this.checkedWare,siyou_suppliers:this.siyou_suppliers,product_list:this.product_list,add_product:this.add_product,my_suppliers:this.my_suppliers,siyou_categories:this.siyou_categories,my_category:this.my_category,promotion_history:this.promotion_history,promotion_list:this.promotion_list,discount_list:this.discount_list,discount_history:this.discount_history,sales_funds:this.sales_funds,accounts_payable:this.accounts_payable,payment_methods:this.payment_methods,shop_operators_list:this.shop_operators_list,add_shop_operator:this.add_shop_operator,shop_cashiers_list:this.shop_cashiers_list,add_shop_cashier:this.add_shop_cashier,advertisement:this.advertisement,member_list:this.member_list,level_list:this.level_list,s2c_orders_list:this.s2c_orders_list,inventory_management:this.inventory_management,warehouse_management:this.warehouse_management,returned_goods:this.returned_goods,inventory_history:this.inventory_history,stock_management:this.stock_management,add_quick_purchase:this.add_quick_purchase,purchase_order:this.purchase_order,b2s_products:this.b2s_products,b2s_order_management:this.b2s_order_management,hide_cost_price:this.hide_cost_price};this.dialogRef.close(t)}};m0.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}
1,{type:St.so},{type:V.qu}],m0=(0,j.gn)([(0,m.wA2)({selector:"app-access-rights",template:'<div class="mainContainer">\n <ul class="no-bullets">\n <li>\n <mat-checkbox class="example-margin" [(ngModel)]="checkedStat" [ngModelOptions]="{standalone: true}">\n {{"Statistic Access" | translate}}\n </mat-checkbox>\n </li>\n </ul>\n <ul class="no-bullets">\n <li>\n <mat-checkbox class="example-margin" [(ngModel)]="checkedB2S">{{"B2S Access" | translate}}\n </mat-checkbox>\n\n <ul class="no-bullets">\n \x3c!-- <li>\n <ul class="no-bullets">\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedB2S" [(ngModel)]="b2s_products" >Purchased Products\n\n\n </mat-slide-toggle >\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedB2S" [(ngModel)]="b2s_order_management">Orders\n Management</mat-slide-toggle >\n </li>\n\n </ul>\n </li> --\x3e\n <li>\n <ul class="no-bullets">\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedB2S" [(ngModel)]="add_quick_purchase">\n {{"Add Quick Purchase" | translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedB2S" [(ngModel)]="purchase_order">\n {{"List Quick Purchase"| translate}}</mat-slide-toggle>\n </li>\n\n </ul>\n </li>\n </ul>\n </li>\n\n </ul>\n <ul class="no-bullets">\n <li>\n <mat-checkbox class="example-margin" [(ngModel)]="checkedS2C">{{"S2C Access" | translate}}\n </mat-checkbox>\n\n <ul class="no-bullets">\n <li>\n <ul class="no-bullets">\n\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="hide_cost_price">\n {{"Cost price" | translate}}\n </mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="s2c_orders_list">\n {{"Order List" | translate}}\n </mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="siyou_suppliers">\n {{"Siyou Suppliers" | translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="my_suppliers">\n {{"My Suppliers"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="add_product">\n {{"Add Product"| translate}} </mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="product_list">\n {{"Products"| translate}}\n </mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="siyou_categories">\n {{"Siyou Categories"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="my_category">\n {{"My Categories"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="promotion_list">\n {{"Promotion"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="promotion_history">\n {{"History Promotion"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="discount_list">\n {{"common_discount"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="discount_history">\n {{"History Discount" | translate}}</mat-slide-toggle>\n </li>\n\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="member_list">\n {{ "Member List" | translate}} </mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="level_list">\n {{"Level List" | translate}}</mat-slide-toggle>\n </li>\n\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="sales_funds">\n {{"Sales Funds"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="accounts_payable">\n {{"Accounts Payable"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="payment_methods">\n {{"Payment Methods"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="shop_cashiers_list">\n {{"Cashier List"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="add_shop_cashier">\n {{"Add Cashier"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="shop_operators_list">\n {{"Operator List"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="add_shop_operator">\n {{"Add Operator"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedS2C" [(ngModel)]="advertisement">\n {{"Advertisement"| translate}}</mat-slide-toggle>\n </li>\n </ul>\n </li>\n </ul>\n </li>\n </ul>\n\n <ul class="no-bullets">\n <li>\n <mat-checkbox class="example-margin" [(ngModel)]="checkedWare" [ngModelOptions]="{standalone: true}">
1\n {{"Warehouse Access" | translate}}\n </mat-checkbox>\n\n <ul class="no-bullets">\n <li>\n <ul class="no-bullets">\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedWare" [(ngModel)]="inventory_management">\n {{"Inventory Management"| translate}}\n </mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedWare" [(ngModel)]="inventory_history">\n {{"Inventory History"| translate}}\n </mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedWare" [(ngModel)]="stock_management">\n {{"Stock\n Management"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedWare" [(ngModel)]="warehouse_management">\n {{"Warehouse\n Management"| translate}}</mat-slide-toggle>\n </li>\n <li>\n <mat-slide-toggle class="example-margin" [checked]="checkedWare" [(ngModel)]="returned_goods">\n {{"Returned Goods"| translate}}\n </mat-slide-toggle>\n </li>\n </ul>\n </li>\n </ul>\n </li>\n </ul>\n <div style="text-align: center;">\n <button class="btn" (click)="confirm()"\n style="margin-right: 2%;margin-bottom: 10%;background-color: #cacaca; color : white;">\n {{\'Submit\' | translate}}</button>\n <button class="btn btn-secondary" style="margin-bottom: 10%;" (click)="cancel()">\n {{\'Back\' | translate}}</button>\n </div>\n</div>\n',styles:["ul.no-bullets {\n list-style-type: none;\n /* Remove bullets */\n}\n\n.mainContainer {\n max-height: 500px !important;\n margin-bottom: 10% !important;\n}\n\n/* CSS to change Default/'Accent' color */\n\n::ng-deep .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb {\n background-color: #cacaca !important;\n}\n\n::ng-deep .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar {\n background-color: #cacaca67 !important;\n}\n\n::ng-deep .mat-slide-toggle .mat-slide-toggle-thumb {\n background-color: #343a40 !important;\n}\n\n::ng-deep .mat-checkbox-checked.mat-accent .mat-checkbox-ripple .mat-ripple-element {\n opacity: 0.03 !important;\n background-color: #808080 !important;\n}\n\n::ng-deep .mat-checkbox-checked.mat-accent .mat-checkbox-background,\n.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background {\n background-color: #cacaca !important;\n}\n\n.full-width-dialog .mat-dialog-container {\n max-width: 1000px !important;\n}"]})],m0);var Tk=F(61268);(0,Q.p6)(new Date,"yyyy/MM/dd","en");let Sg=class{constructor(t,e,a,r){this.datepipe=t,this.categoriesService=e,this.discountService=a,this.chainService=r,this.store_id=parseInt(localStorage.getItem("store_id")),this.chain_id=parseInt(localStorage.getItem("chainInit")),this.Series=[],this.categories=[],this.barchart2=!1,this.linechart=!0,this.formData=new FormData}ngOnInit(){this.onGetChainsList();var t=new Date,e=new Date(t.getFullYear(),t.getMonth(),t.getDate()-30);this.from=this.datepipe.transform(e,"yyyy-MM-dd"),this.situation=this.datepipe.transform(t,"yyyy-MM-dd"),this.onGetQuantdiscount(this.chain_id,this.from,this.situation),this.chartOptions={series:[{name:"Quantity",data:this.Series}],chart:{height:350,type:"bar",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{bar:{dataLabels:{position:"top"}}},xaxis:{categories:this.categories,tickPlacement:"on",position:"top",labels:{offsetY:-18},axisBorder:{show:!1},axisTicks:{show:!1},crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0,offsetY:-35}},fill:{type:"gradient",gradient:{shade:"light",type:"horizontal",shadeIntensity:.25,gradientToColors:[],inverseColors:!0,opacityFrom:1,opacityTo:1}},yaxis:{axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1}}},this.chart2Options={series:[{name:"Quantity",data:this.Series}],chart:{height:350,type:"line",zoom:{enabled:!0}},dataLabels:{enabled:!0},stroke:{curve:"straight"},grid:{row:{colors:["#f3f3f3","transparent"],opacity:.5}},xaxis:{categories:this.categories}},this.getCategoriesList()}onGetChainsList(){return this.chainService.getChainsList().subscribe(t=>{this.chainsList=t,this.chainData=this.chainsList.data,this.chainInit=this.chainData[0].id,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}getCategoriesList(){this.categoriesService.getCategories().subscribe(t=>{this.categoriesList=t,this.categoryData=this.categoriesList.data})}onGetQuantdiscount(t,e,a){this.Series=[],this.categories=[];var o={start:this.datepipe.transform(e,"yyyy-MM-dd"),end:this.datepipe.transform(a,"yyyy-MM-dd"),chain_id:t,store_id:this.store_id};this.discountService.getStatdiscountQuantity(o).subscribe(s=>{this.ordersList=s,this.ordersData=this.ordersList.data,this.ordersData.days.forEach(l=>{this.Series.push(l.total),this.categories.push(l.period)}),this.chart2Options={...this.chart2Options,series:[{name:"Quantity",data:this.Series}],xaxis:{categories:this.categories}},this.chartOptions={...this.chartOptions,series:[{name:"Quantity",data:this.Series}],xaxis:{categories:this.categories}}},s=>{console.log(s)})}lineChart(){this.linechart=!0,this.barchart2=!1}barChart2(){this.linechart=!1,this.barchart2=!0}};
1Sg.ctorParameters=()=>[{type:Q.uU},{type:Ee.G},{type:Tk.r},{type:Oe.l}],Sg.propDecorators={chart:[{type:m.i9L,args:["chart"]}],chart2:[{type:m.i9L,args:["chart2"]}],chart3:[{type:m.i9L,args:["chart3"]}],chart4:[{type:m.i9L,args:["chart4"]}]},Sg=(0,j.gn)([(0,m.wA2)({selector:"app-shop-discount-statistics",template:'<div class="mainContainer">\n <div class="row">\n \x3c!-- Discount Quantity Chart --\x3e\n <div class="col-md-6">\n <mat-card class="bg-white rounded-lg p-5 ">\n <h5> {{ "Discount Quantity" | translate }}</h5>\n <form action="" novalidate>\n <mat-form-field appearance="standard" style="width: 23%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker" #from />\n <mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 23%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker2" #to />\n <mat-datepicker-toggle matSuffix [for]="picker2"></mat-datepicker-toggle>\n <mat-datepicker #picker2></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 23%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain>\n\n <mat-option value=0>--{{\'None\'|translate}}--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n <button mat-raised-button style="background-color: #a00000; color: white"\n (click)="onGetQuantdiscount(chain.value,from.value,to.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n <div *ngIf="linechart">\n <div id="chart2">\n <apx-chart [series]="chart2Options.series" [chart]="chart2Options.chart"\n [xaxis]="chart2Options.xaxis" [dataLabels]="chart2Options.dataLabels"\n [grid]="chart2Options.grid" [stroke]="chart2Options.stroke" [title]="chart2Options.title">\n </apx-chart>\n </div>\n </div>\n <div *ngIf="barchart2">\n <div id="chart">\n <apx-chart [series]="chartOptions.series" [chart]="chartOptions.chart"\n [dataLabels]="chartOptions.dataLabels" [plotOptions]="chartOptions.plotOptions"\n [yaxis]="chartOptions.yaxis" [xaxis]="chartOptions.xaxis" [fill]="chartOptions.fill"\n [title]="chartOptions.title"></apx-chart>\n\n </div>\n </div>\n <div style="text-align: center;">\n <button mat-button color="primary" (click)="lineChart()">{{\'Line chart\'|translate}}\n <mat-icon> show_chart</mat-icon>\n </button>\n <button mat-button color="accent" (click)="barChart2()">{{\'Bar chart\'|translate}}\n <mat-icon> bar_chart</mat-icon>\n </button>\n </div>\n </mat-card>\n </div>\n \x3c!-- End Discount Quantity Chart --\x3e\n \x3c!-- Discount Amount Chart --\x3e\n <div class="col-md-6">\n <mat-card class="bg-white rounded-lg p-5 ">\n <h5>{{ "Discount Amount" | translate }}</h5>\n <form action="" novalidate>\n <mat-form-field appearance="standard" style="width: 23%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker3" #fromD />\n <mat-datepicker-toggle matSuffix [for]="picker3"></mat-datepicker-toggle>\n <mat-datepicker #picker3></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 23%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker4" #toD />\n <mat-datepicker-toggle matSuffix [for]="picker4"></mat-datepicker-toggle>\n <mat-datepicker #picker4></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 23%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>--{{\'None\'|translate}}--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n <button mat-raised-button style="background-color: #a00000; color: white"\n (click)="onGetQuantdiscount(chain.value,fromD.value,toD.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n <div *ngIf="linechart">\n <div id="chart2">\n <apx-chart [series]="chart2Options.series" [chart]="chart2Options.chart"\n [xaxis]="chart2Options.xaxis" [dataLabels]="chart2Options.dataLabels"\n [grid]="chart2Options.grid" [stroke]="chart2Options.stroke" [title]="chart2Options.title">\n </apx-chart>\n </div>\n </div>\n <div *ngIf="barchart2">\n <div id="chart">\n <apx-chart [series]="chartOptions.series" [chart]="chartOptions.chart"\n [dataLabels]="chartOptions.dataLabels" [plotOptions]="chartOptions.plotOptions"\n [yaxis]="chartOptions.yaxis" [xaxis]="chartOptions.xaxis" [fill]="chartOptions.fill"\n [title]="chartOptions.title"></apx-chart>\n\n </div>\n </div>\n <div style="text-align: center;">\n <button mat-button color="primary" (click)="lineChart()">{{\'Line chart\'|translate}}\n <mat-icon> show_chart</mat-icon>\n </button>\n <button mat-button color="accent" (click)="barChart2()">{{\'Bar chart\'|translate}}\n <mat-icon> bar_chart</mat-icon>\n </button>\n </div>\n </mat-card>\n </div>\n \x3c!-- End Discount Amount Chart --\x3e\n\n\n </div>\n\n</div>',styles:[".mainContainer {\n margin: 20px 20px 20px 20px;\n}\n\n.mat-raised-button {\n padding: 8px 8px 8px 8px;\n}\n\n.mat-button {\n padding: 8px 8px 8px 8px;\n}"]})],Sg);(0,Q.p6)(new Date,"yyyy/MM/dd","en");let wg=class{constructor(t,e,a,r,i){this.datepipe=t,this.categoriesService=e,this.fundsS2cService=a,this.chainService=r,this.translate=i,this.store_id=parseInt(localStorage.getItem("store_id")),this.chain_id=parseInt(localStorage.getItem("chainInit")),this.SeriesCash=[],this.SeriesCheck=[],this.SeriesCard=[],this.categories=[],this.categoriesPur=[],this.SeriesPur=[],this.formData=new FormData}ngOnInit(){this.onGetChainsList();var t=new Date,e=new Date(t.getFullYear(),t.getMonth(),t.getDate()-6),a=new Date(t.getFullYear(),t.getMonth(),t.getDate()-30);this.onGetfunds(this.chain_id,e,t,"days"),this.onGetfundsPurchased(this.chain_id,a,t,"chain"),this.chartOptions={series:[{name:"Card",data:this.SeriesCard},{name:"Check",data:this.SeriesCheck},{name:"Cash",data:this.SeriesCash}],chart:{type:"bar",height:430},plotOptions:{bar:{horizontal:!0,dataLabels:{position:"top"}}},dataLabels:{enabled:!0,offsetX:-6,style:{fontSize:"12px",colors:["#fff"]}},stroke:{show:!0,width:1,colors:["#fff"]},xaxis:{categories:this.categories}},this.chart2Options={series:[{name:"Quantity",data:this.SeriesPur}],chart:{height:350,type:"bar",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{bar:{dataLabels:{position:"bottom"}}},xaxis:{categories:this.categoriesPur,tickPlacement:"on",position:"bottom",labels:{offsetY:-18},axisBorder:{show:!1},axisTicks:{show:!1}
1,crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0,offsetY:-35}},fill:{type:"gradient",gradient:{shade:"light",type:"horizontal",shadeIntensity:.25,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1}},yaxis:{axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1}}},this.getCategoriesList()}onGetChainsList(){return this.chainService.getChainsList().subscribe(t=>{this.chainsList=t,this.chainData=this.chainsList.data,this.chainInit=this.chainData[0].id,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}getCategoriesList(){this.categoriesService.getCategories().subscribe(t=>{this.categoriesList=t,this.categoryData=this.categoriesList.data})}onGetfunds(t,e,a,r){this.SeriesCash=[],this.SeriesCheck=[],this.SeriesCard=[],this.categories=[];var s={from:this.datepipe.transform(e,"yyyy-MM-dd"),to:this.datepipe.transform(a,"yyyy-MM-dd"),chain_id:t,store_id:this.store_id,show_way:r};this.fundsS2cService.getStatFunds(s).subscribe(l=>{this.ordersList=l,this.ordersData=this.ordersList.data,this.ordersData.label.forEach(c=>{this.categories.push(c)}),this.ordersData.card.forEach(c=>{this.SeriesCard.push(c)}),this.ordersData.cash.forEach(c=>{this.SeriesCash.push(c)}),this.ordersData.check.forEach(c=>{this.SeriesCheck.push(c)}),this.chartOptions={...this.chartOptions,series:[{name:"Card",data:this.SeriesCard},{name:"Check",data:this.SeriesCheck},{name:"Cash",data:this.SeriesCash}],xaxis:{categories:this.categories}}},l=>{console.log(l)})}onGetfundsPurchased(t,e,a,r){this.SeriesPur=[],this.categories=[];var s={start:this.datepipe.transform(e,"yyyy-MM-dd"),end:this.datepipe.transform(a,"yyyy-MM-dd"),chain_id:t,type:r};this.fundsS2cService.getStatFundsPur(s).subscribe(l=>{this.orderList=l,this.orderData=this.orderList.data,this.orderData.supplier_name?this.categoriesPur.push(this.orderData[0].supplier_name):this.categoriesPur.push(this.orderData[0].chain_name),this.SeriesPur.push(this.orderData[0].total_amount),this.chart2Options={...this.chartOptions,series:[{name:"Purchase Fund",data:this.SeriesPur}],xaxis:{categories:this.categoriesPur}}},l=>{console.log(l)})}};wg.ctorParameters=()=>[{type:Q.uU},{type:Ee.G},{type:Sr.e},{type:Oe.l},{type:Y.sK}],wg.propDecorators={chart:[{type:m.i9L,args:["chart"]}],chart2:[{type:m.i9L,args:["chart2"]}]},wg=(0,j.gn)([(0,m.wA2)({selector:"app-shop-funds-statistics",template:'<div class="mainContainer">\n <div class="row">\n \x3c!-- Sales Fund Chart --\x3e\n <div class="col-md-6">\n <mat-card class="bg-white rounded-lg p-5 ">\n <h5> {{\'Sales Funds\'| translate }}</h5>\n <form action="" novalidate>\n <mat-form-field appearance="standard" style="width: 18%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker" #from />\n <mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 18%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker2" #to />\n <mat-datepicker-toggle matSuffix [for]="picker2"></mat-datepicker-toggle>\n <mat-datepicker #picker2></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 18%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain>\n\n <mat-option value=0>--{{\'None\'|translate}}--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="standard" style="width: 18%;margin-right: 2%;">\n <mat-label>{{"Period"|translate}}</mat-label>\n <mat-select #show>\n\n <mat-option value="month">{{"Month"|translate}}</mat-option>\n <mat-option value="day">{{"Day"|translate}}</mat-option>\n\n\n\n </mat-select>\n </mat-form-field>\n <button mat-raised-button style="background-color: #a00000; color: white ;
1"\n (click)="onGetfunds(chain.value,from.value,to.value,show.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n\n <div id="chart">\n <apx-chart [series]="chartOptions.series" [chart]="chartOptions.chart"\n [dataLabels]="chartOptions.dataLabels" [plotOptions]="chartOptions.plotOptions"\n [xaxis]="chartOptions.xaxis" [stroke]="chartOptions.stroke"></apx-chart>\n </div>\n\n </mat-card>\n </div>\n \x3c!--End Sales Fund Chart --\x3e\n\n \x3c!-- Purchased Fund Chart --\x3e\n <div class="col-md-6">\n <mat-card class="bg-white rounded-lg p-5 ">\n <h5>{{\'Purchased Funds\'| translate }}</h5>\n <form action="" novalidate>\n <mat-form-field appearance="standard" style="width: 18%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker3" #fromD />\n <mat-datepicker-toggle matSuffix [for]="picker3"></mat-datepicker-toggle>\n <mat-datepicker #picker3></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 18%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker4" #toD />\n <mat-datepicker-toggle matSuffix [for]="picker4"></mat-datepicker-toggle>\n <mat-datepicker #picker4></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 18%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>--{{\'None\'|translate}}--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="standard" style="width: 18%;margin-right: 2%;">\n <mat-label>{{"Period"|translate}}</mat-label>\n <mat-select #type>\n\n <mat-option value="chain">{{\'Chain\'|translate}} </mat-option>\n <mat-option value="supplier">{{\'Supplier\'|translate}}</mat-option>\n\n\n\n </mat-select>\n </mat-form-field>\n <button mat-raised-button style="background-color: #a00000; color: white ;"\n (click)="onGetfundsPurchased(chain_id.value,fromD.value,toD.value,type.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n\n <div id="chart2">\n <apx-chart [series]="chart2Options.series" [chart]="chart2Options.chart"\n [dataLabels]="chart2Options.dataLabels" [plotOptions]="chart2Options.plotOptions"\n [yaxis]="chart2Options.yaxis" [xaxis]="chart2Options.xaxis" [fill]="chart2Options.fill"\n [title]="chart2Options.title"></apx-chart>\n\n </div>\n\n\n </mat-card>\n </div>\n \x3c!--End Purchased Fund Chart --\x3e\n\n </div>\n</div>',styles:[".mainContainer {\n margin: 20px 20px 20px 20px;\n}\n\n.mat-raised-button {\n padding: 8px 8px 8px 8px;\n}\n\n.mat-button {\n padding: 8px 8px 8px 8px;\n}"]})],wg);var kg=F(80844),LZ=F(5653);let Cg=class{constructor(t){this.dialogRef=t,this.mainChoose=!0,this.windowsChoose=!1,this.mobileChoose=!1}ngOnInit(){}openWindows(){this.mainChoose=!1,this.windowsChoose=!0,this.mobileChoose=!1}openMobile(){this.mainChoose=!1,this.windowsChoose=!1,this.mobileChoose=!0}backClicked(){this.mainChoose=!0,this.windowsChoose=!1,this.mobileCho
1ose=!1}close(){this.dialogRef.close()}};Cg.ctorParameters=()=>[{type:St.so}],Cg=(0,j.gn)([(0,m.wA2)({selector:"app-download-center",template:'<span style=" width: 5%;;\n margin-left: 98%; cursor: pointer;" (click)="close()">\n <img src="../../../../assets/images/close.svg">\n</span>\n<div class="parent-container">\n\n \x3c!-- <div class="container-choose-download" >\n <div class="container-cashier"> <i class="fab fa-windows" style="margin-right: 5px;"></i> {{"Windows"|translate}}</div>\n <div class="container-cashier"><i class="fas fa-mobile" style="margin-right: 5px;"></i> {{"Mobile"|translate}}</div>\n </div>\n <div class="container-choose-download">\n <div class="arrow-back">\n <a class="button-menu" (click)="backClicked()">\n <mat-icon style="color: #a00000;cursor: pointer;">arrow_back_ios </mat-icon>\n </a>\n </div>\n <a href="https://apipro.siyous.com/s2c/storage/versions/siyouCassa_v2.0.0.8.zip" class="container-cashier"> <i class="fas fa-calculator" style="margin-right: 5px;"></i> {{"Cashier"|translate}}</a>\n <a href="https://apipro.siyous.com/s2c/storage/versions/SiyouStore_V_2.0.0.5.zip" class="container-cashier"> <i class="fas fa-desktop" style="margin-right: 5px;"></i> {{"Desktop"|translate}}</a>\n </div>\n <div class="container-choose-download" >\n <div class="arrow-back">\n <a class="button-menu" (click)="backClicked()">\n <mat-icon style="color: #a00000;cursor: pointer;">arrow_back_ios </mat-icon>\n </a>\n </div>\n <div class="container-cashier"><i class="fab fa-apple" style="margin-right: 5px;"></i> {{"IOS"|translate}}</div>\n <div class="container-cashier"><i class="fab fa-android" style="margin-right: 5px;"></i> {{"Android"|translate}}</div>\n </div> --\x3e\n\n<div class="side" style=" border-right: 1px solid #D8D8D8;width: 48%;padding-right: 2%;">\n <div class="header-windows">\n <div class="container-cashier-top"> <i class="fab fa-windows" style="margin-right: 5px;"></i> {{"Windows"|translate}}</div>\n </div>\n <div class="body-windows">\n <div class="item-cont">\n <img src="../../../../../../assets/images/cashier.svg">\n <a href="https://file.siyoutechnology.com/software/cassa/SiyouCassa_setup_3.8.0.0.exe" class="container-cashier"> <i class="fas fa-calculator" style="margin-right: 5px;"></i> {{"Cashier"|translate}}</a>\n </div>\n <div class="item-cont">\n <i class="fas fa-desktop icon-down" ></i>\n <a href="https://file.siyoutechnology.com/software/store/SiyouStore-3.8.0-2025-07.zip" class="container-cashier"> <i class="fas fa-desktop" style="margin-right: 5px;"></i> {{"Desktop"|translate}}</a>\n </div>\n\n </div>\n</div>\n<div class="side">\n <div class="header-windows">\n <div class="container-cashier-top"><i class="fas fa-mobile" style="margin-right: 5px;"></i> {{"Mobile"|translate}}</div>\n </div>\n <div class="body-windows">\n <div class="item-cont" style="width:30%">\n <i class="fab fa-apple icon-down"></i>\n <a class="container-cashier" href="https://apps.apple.com/us/app/siyou/id1536396585" target="_blank" ><i class="fab fa-apple" style="margin-right: 5px;"></i> {{"IOS"|translate}}</a>\n </div>\n <div class="item-cont" style="width:30%">\n <i class="fa fa-android icon-down"></i>\n <a class="container-cashier" href="https://play.google.com/store/apps/details?id=com.siyoumarkettn.siyou" target="_blank" ><i class="fab fa-android" style="margin-right: 5px;"></i> {{"Android"|translate}}</a>\n </div>\n <div class="item-cont" style="width:30%">\n <i class="fas fa-calculator icon-down" ></i>\n <a class="container-cashier" href="https://play.google.com/store/apps/details?id=com.siyou.datacollecteur" target="_blank" ><i class="fas fa-calculator" style="margin-right: 5px;"></i> {{"PDA"|translate}}</a>\n </div>\n\n\n\n </div>\n</div>\n</div>\n',styles:[".container-choose-download {\n display: flex;\n justify-content: space-between;\n align-items: center;\n height: 100%;\n width: 100%;\n}\n\n.container-cashier {\n border: 0px solid transparent !important;\n border-radius: 0.25rem !important;\n background-color: #f0f0f0;\n color: #333335;\n text-align: center;\n height: 50px;\n line-height: 50px;\n cursor: pointer;\n width: 40%;\n}\n\n.arrow-back {\n position: absolute;\n top: -10px;\n}\n\n.parent-container {\n height: 100%;\n width: 100%;\n display: flex;\n justify-content: space-between;\n}\n\n.side {\n width: 48%;\n height: 100%;\n}\n\n.header-windows {\n display: flex;\n justify-content: center;\n}\n\n.body-windows {\n height: 80%;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.container-cashier-top {\n width: 100%;\n text-align: center;\n font-weight: bold;\n font-size: 20px;\n letter-spacing: 1px;\n margin-bottom: 0;\n text-transform: uppercase;\n color: rgba(184, 33, 38, 0.986);\n background: none;\n}\n\n.item-cont {\n width: 40%;\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n}\n\n.item-cont > img {\n width: 50px;\n margin-bottom: 10px;\n}\n\n.item-cont > a {\n width: 100%;\n}\n\n.icon-down {\n font-size: 40px;\n margin-bottom: 10px;\n color: #666666;\n}"]})],Cg);var FO=F(55417);(0,Q.p6)(new Date,"yyyy/MM/dd","en");let Dg=class{constructor(t,e,a,r,i,o,s,l,c,d,u,h,f,v,A){this.dialog=t,this.storeService=e,this.orderService=a,this.shopManagerService=r,this.chainService=i,this.membershipService=o,this.datepipe=s,this.supplierService=l,this.categoriesService=c,this.productService=d,this.shopOperatorService=u,this.translate=h,this.discountService=f,this.shopCashierService=v,this.fundsS2cService=A,this.businesss2cData=[],this.orderLength=0,this.chainLength=0,this.memberLength=0,this.managerLength=0,console.log("overview page init")}
1ngOnInit(){this.getAdvises(),this.ongetMemberList(),this.getShopOperatorsList(),this.getShopcachiersList(),this.onGetChainsList(),this.onGetOrdersCashRegister(),this.onGetCategoriesList(),this.onGetSuppliers(),this.onGotTotalPromotion(),this.onGetDiscount(),this.onGetValidOrders(),this.onFiltrePaidPurFunds(),this.onFiltreNotPaidPurFunds(),this.onGetConfirmedPurchase()}openDownloadCenter(){this.dialog.open(Cg,{width:"800px",height:"300px"})}getAdvises(){this.storeService.getAdvicesBus().subscribe(t=>{t.data.forEach(e=>{"s2c"==e.type&&this.businesss2cData.push(e)})},t=>{console.log(t)})}onGotTotalPromotion(){return this.discountService.getPromotedListTotalS2c().subscribe(t=>{this.promotion=t,this.totalPromotion=this.promotion.data})}onGetDiscount(){return this.discountService.getDiscountListS2c().subscribe(t=>{this.discounts=t,this.discountsData=this.discounts.data,this.totalDiscount=this.discountsData.length})}onGetValidOrders(){return this.orderService.getShopValidOrders().subscribe(t=>{this.orderListValid=t,this.totalvalidOrder=this.orderListValid.length})}onGetCategoriesList(){return this.categoriesService.getCategories().subscribe(t=>{this.categoriesList=t,this.catList=this.categoriesList.data,this.catLength=this.categoriesList.data.length},t=>{console.log(t)})}onGetSuppliers(){return this.supplierService.getSuppliersListS2C().subscribe(t=>{this.suppliersList=t,this.suppliers=this.suppliersList.data,this.suppLength=this.suppliersList.data.length},t=>{console.log(t)})}onGetOrdersCashRegister(){return this.orderService.getOrdersCashRegister(1).subscribe(t=>{this.orders=t,this.orderList=this.orders.data,this.orderLength=this.orders.total})}onGetChainsList(){return this.chainService.getChainsList().subscribe(t=>{this.chainsList=t,this.chainData=this.chainsList.data,this.chainLength=this.chainData.total},t=>{console.log(t)})}ongetMemberList(){return this.membershipService.getMember().subscribe(t=>{this.memberList=t,this.memberLength=this.memberList.total},t=>{console.log(t)})}getShopManagersList(){return this.shopManagerService.getShopMangerList().subscribe(t=>{this.shopManagersList=t,this.managerLength=this.shopManagersList.data.length},t=>{console.log(t)})}getShopcachiersList(){return this.shopCashierService.getCashierList().subscribe(t=>{this.shopcachierssList=t,this.cashierLength=this.shopcachierssList.length},t=>{console.log(t)})}getShopOperatorsList(){return this.shopOperatorService.getOperatorList().subscribe(t=>{this.shopOperators=t,this.operatorsLength=this.shopOperators.data.length},t=>{console.log(t)})}onGetPendingPurchase(){return this.productService.getQuickPurProductsPending("pending").subscribe(e=>{this.produs=e,this.prodsData=this.produs.data,this.pendingPurchase=this.prodsData.length},e=>{console.log(e)})}onGetConfirmedPurchase(){return this.productService.getQuickPurProductsPending("confirmed").subscribe(e=>{this.products=e,this.productsData=this.products.data,this.confirmedPurchase=this.productsData.length},e=>{console.log(e)})}onFiltrePaidPurFunds(){return this.fundsS2cService.getFiltredPurchasedFundByStatus("paid").subscribe(e=>{this.fundsList=e,this.fundsData=this.fundsList.data,this.totalFundsPaid=this.fundsData.length},e=>{})}onFiltreNotPaidPurFunds(){return this.fundsS2cService.getFiltredPurchasedFundByStatus("not paid").subscribe(e=>{this.fundssList=e,this.fundssData=this.fundssList.data,this.totalFundsNotePaid=this.fundssData.length},e=>{})}onGetInvalidOrders(){return this.orderService.getShopInvalidOrders().subscribe(t=>{this.ordList=t,this.totalInvalidOrder=this.ordList.length})}};Dg.ctorParameters=()=>[{type:St.uw},{type:Vb.d},{type:bn.C},{type:Gf.S},{type:Oe.l},{type:LZ.n},{type:Q.uU},{type:vn.e},{type:Ee.G},{type:Je.r},{type:FO.f},{type:Y.sK},{type:Tk.r},{type:kg.f},{type:Sr.e}],Dg=(0,j.gn)([(0,m.wA2)({selector:"app-shop-overview",template:'<div class="container-fluid">\n <div class="row mt-3">\n <div class="col-12 col-sm-6 col-lg-4 mb-3 pr-3 pr-sm-0 pr-lg-0">\n <div class="d-flex flex-column border rounded h-100 p-3 overview-card">\n <span class="txt1">{{"Business Advice"|translate}} </span>\n <hr style="margin-top: 0.5rem;">\n <mat-expansion-panel *ngFor=" let advice of this.businesss2cData ">\n <mat-expansion-panel-header>\n <mat-panel-title>\n {{"HOW TO USE B2B2C SYSTEM ?"|translate}} \x3c!--{{advice.title}}--\x3e\n </mat-panel-title>\n </mat-expansion-panel-header>\n <p>{{advice.description}}</p>\n </mat-expansion-panel>\n </div>\n </div>\n\n <div class="col-12 col-sm-6 col-lg-4 mb-3 pr-3 pr-lg-0">\n <div class="d-flex flex-column border rounded h-100 p-3 overview-card">
1\n <span class="txt1">{{"Steps"|translate}} </span>\n\n <hr style="margin-top: 0.5rem;">\n <div class="container-step" routerLink="/shop/my-account">\n <span class="icon-notif">\n <p class="container-number">1</p>\n </span>\n <p class="item">{{"Edit profile"|translate}}</p>\n </div>\n <div class="container-step" routerLink="/shop/store/add">\n <span class="icon-notif">\n <p class="container-number">2</p>\n </span>\n <p class="item">{{"create chain"|translate}}</p>\n </div>\n <div class="container-step" routerLink="/shop/employee/manager/add">\n <span class="icon-notif">\n <p class="container-number">3</p>\n </span>\n <p class="item">{{"Create Manager"|translate}}</p>\n </div>\n <div class="container-step" routerLink="/shop/suppliers-list">\n <span class="icon-notif">\n <p class="container-number">4</p>\n </span>\n <p class="item">{{"Choose-Supplier"|translate}}</p>\n </div>\n <div class="container-step" routerLink="/shop/affect-categories">\n <span class="icon-notif">\n <p class="container-number">5</p>\n </span>\n <p class="item">{{"choose_categ"|translate}}</p>\n </div>\n <mat-expansion-panel style="min-height: 55px;">\n <mat-expansion-panel-header>\n <mat-panel-title>\n <span class="icon-notif">\n <p class="container-number">6</p>\n </span>\n <p class="item">{{"Products"|translate}}</p>\n </mat-panel-title>\n </mat-expansion-panel-header>\n <div class="container-step" routerLink="/shop/products/add">\n <span class="icon-notif">\n <p class="container-number">1</p>\n </span>\n <p class="item">{{"Add Product"|translate}}</p>\n </div>\n <div class="container-step" routerLink="/shop/import-products">\n <span class="icon-notif">\n <p class="container-number">2</p>\n </span>\n <p class="item">{{"Import Product"|translate}}</p>\n </div>\n <div class="container-step" routerLink="/shop/quick-add-product">\n <span class="icon-notif">\n <p class="container-number">3</p>\n </span>\n <p class="item">{{"Quick add product"|translate}}</p>\n </div>\n </mat-expansion-panel>\n </div>\n </div>\n\n <div class="col-12 col-lg-4 mb-3">\n <div class="d-flex flex-column border rounded h-100 p-3 overview-card">\n <img src="../../../../assets/images/ecommerce-site.gif" style="margin-bottom: 4%;">\n <div class="bt-action-overview" routerLink="/shop/contact-s2c"><i class="fas fa-phone" style=" height: 32px;\n margin-right: 30px;"></i> {{"Hotline"|translate}}</div>\n <div class="bt-action-overview" (click)="openDownloadCenter()"> <i class="fas fa-download" style=" height: 32px;\n margin-right: 30px;"></i> {{"Download Center"|translate}}</div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-12 col-md-6 pr-3 pr-md-0">\n <div class="d-flex flex-column border rounded h-100 p-3 overview-card">\n <div style="width: 100%;padding: 0 0.5rem;">\n <div class="row">\n <div class="card p-2 bg-white" style="border: none;width :100%">\n <h4 class="title-group" style=" color : black\t;"> {{"Users"|translate}} </h4>\n <div class="row">\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100 litle-card">\n <div class="card-body">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"Members"| translate}}</p>\n <h5>{{memberLength || \'0\'}}</h5>\n </div>\n </div>\n </div>\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100 litle-card">\n <div class="card-body ">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"Managers"|translate}}</p>\n <h5>{{managerLength || \'0\'}}</h5>\n </div>\n </div>\n </div>\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100 litle-card">\n <div class="card-body">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"nav_staffMgmt_cashierMgmt"|translate}}</p>\n <h5>{{cashierLength || \'0\'}}</h5>\n </div>\n </div>\n </div>\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100 litle-card">\n <div class="card-body">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"operator"|translate}}</p>\n <h5>{{operatorsLength || \'0\'}}</h5>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n </div>\n <div class="row">\n <div class="card p-2 bg-white" style="border: none;width :100%">\n <h4 class="title-group" style=" color : #a00000\t;"> {{"Shop"|translate}} </h4>\n\n <div class="row">\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100" style="background-color: #a00000\t;">\n <div class="card-body">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"Chains"|translate}}</p>\n <h5>{{chainLength}}</h5>\n </div>\n </div>\n </div>\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100" style="background-color: #a00000;">\n <div class="card-body ">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"Orders"|translate}}</p>\n <h5>{{orderLength}}</h5>\n </div>\n </div>\n </div>\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100" style="background-color: #a00000;">\n <div class="card-body">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"Suppliers"|translate}}</p>\n <h5>{{suppLength || \'0\'}}</h5>\n </div>\n </div>\n </div>\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100" style="background-color: #a00000;">\n <div class="card-body">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"Categories"|translate}}</p>\n <h5>{{catLength || \'0\'}}</h5>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n </div>\n </div>\n </div>\n </div>\n\n\n <div class="col-12 col-md-6">\n <div class="d-flex flex-column border rounded h-100 p-3 overview-card">\n <div style="width: 100%;padding: 0 0.5rem;">\n <div class="row">\n <div class="card p-2 bg-white" style="border: none;width :100%">\n <div class="row">\n <div class="col-md-6">\n <h4 class="title-group" style=" color : black\t;">{{"common_discount"|translate}} </h4>\n </div>\n <div class="col-md-6">\n <h4 class="title-group" style=" color : black\t;"> {{"Quick Purchase"|translate}} </h4>\n </div>\n </div>\n <div class="row">\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100 litle-card" routerLink="/shop/promotion/offline-promotions-list">\n <div class="card-body">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"Promotion"|translate}}</p>\n <h5>{{totalPromotion || 0}}</h5>\n </div>\n </div>\n </div>\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100 litle-card" routerLink="/shop/membership/offline-discounts-list">\n <div class="card-body ">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"common_discount"|translate}}</p>\n <h5> {{totalDiscount || 0}}</h5>\n </div>\n </div>\n </div>\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100 litle-card">\n <div class="card-body">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"pending"|translate}}</p>\n <h5>{{pendingPurchase || 0}}</h5>\n </div>\n </div>\n </div>\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100 litle-card">\n <div class="card-body">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"Confirmed"|translate}}</p>\n <h5>{{confirmedPurchase || 0}}</h5>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="card p-2 bg-white" style="border: none;width :100%">\n <div class="row">\n <div class="col-md-6">\n <h4 class="title-group" style=" color : #a00000\t\t;"> {{"Accounting"|translate}}</h4>\n </div>\n <div class="col-md-6">\n <h4 class="title-group" style=" color : #a00000\t\t;"> {{"Purchase (Siyou B2B)"|translate}}</h4>\n </div>\n </div>\n <div class="row">\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100" style="background-color: #a00000\t;">\n <div class="card-body">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"Paid"|translate}}</p>\n <h5>{{totalFundsPaid || 0}}</h5>\n </div>\n </div>\n </div>\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100" style="background-color: #a00000;">\n <div class="card-body ">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"common_paymentStatus_not paid"|translate}}</p>\n <h5> {{totalFundsNotePaid || 0}}</h5>\n </div>\n </div>\n </div>\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100" style="background-color: #a00000;">\n <div class="card-body">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"pending"|translate}}</p>\n <h5> {{totalInvalidOrder || 0}}</h5>\n </div>\n </div>\n </div>\n <div style="padding: 0 5px;" class="col-12 mb-10 col-md-6 col-lg-3 col-sm-6">\n <div class="card text-white h-100" style="background-color: #a00000;">\n <div class="card-body">\n <div class="rotate">\n <i class="fa fa-user fa-3x"></i>\n </div>\n <p>{{"Confirmed"|translate}}</p>\n <h5>{{totalvalidOrder || 0}}</h5>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n',styles:['mat-panel-title {\n font-size: 14px;\n}\n\n.container-advice-download {\n width: 100%;\n display: flex;\n justify-content: space-between;\n margin-bottom: 2%;\n}\n\n.container-download {\n width: 35%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n.bt-action-overview {\n overflow: hidden;\n border: 0px solid transparent !important;\n border-radius: 0.25rem !important;\n background-color: #a00000;\n color: #fff;\n text-align: center;\n height: 10%;\n line-height: 40px;\n margin-bottom: 20px;\n cursor: pointer;\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.8) !important;\n border: 1px solid rgba(0, 0, 0, 0.05) !important;\n}\n\n.container-advice {\n width: 30%;\n overflow-y: auto;\n height: 435px;\n}\n\n.txt1 {\n font-size: 24px;\n line-height: 24px;\n padding-top: 5px;\n}\n\n.mat-expansion-panel {\n margin-bottom: 1%;\n}\n\n.icon-notif {\n border-radius: 50%;\n border: 1px solid black;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n width: 32px;\n}\n\n.icon-notif:visited {\n border: 1px solid #4b2f89;\n}\n\n.container-number {\n font-weight: bold;\n font-size: 18px;\n margin: 0;\n}\n\n.container-number:visited {\n color: 1px solid #4b2f89;\n}\n\n.container-step {\n height: 55px;\n display: flex;\n box-sizing: content-box;\n margin: 0;\n border-radius: 4px;\n overflow: hidden;\n background: #fff;
1\n color: rgba(0, 0, 0, 0.87);\n box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n margin-bottom: 1%;\n font-family: "Poppins";\n flex-direction: row;\n align-items: center;\n padding: 0 24px;\n cursor: pointer;\n}\n\n.container-step:hover {\n background-color: var(--link-color-hover);\n color: var(--link-color-active);\n}\n\n:host .item {\n margin-top: auto;\n margin-bottom: auto;\n margin-left: 3%;\n text-transform: uppercase;\n}\n\n.total-stats {\n margin-top: 20px;\n}\n\n.total-stats .col-md-6:nth-child(3) .stats-card h3 small i.fa {\n padding: 2px 4px 0;\n}\n\n.total-stats .col-md-6 .stats-card {\n background: white;\n padding: 50px 10px;\n}\n\n.total-stats .col-md-6 .stats-card span {\n display: inline-block;\n border-radius: 50%;\n vertical-align: bottom;\n}\n\n.total-stats .col-md-6 .stats-card span i.fa {\n border: 1px solid white;\n padding: 20px 17px;\n border-radius: 50%;\n color: white;\n}\n\n.total-stats .col-md-6 .stats-card .orange-chart {\n background: #a00000;\n border: 5px solid #a50000;\n}\n\n.total-stats .col-md-6 .stats-card .purple-chart {\n background: #a00000;\n border: 5px solid #d30000;\n}\n\n.total-stats .col-md-6 .stats-card .red-chart {\n background: black;\n border: 5px solid black;\n}\n\n.total-stats .col-md-6 .stats-card .green-chart {\n background: black;\n border: 5px solid black;\n}\n\n.total-stats .col-md-6 .stats-card h3 {\n display: inline-block;\n font-weight: bold;\n padding-left: 20px;\n}\n\n.total-stats .col-md-6 .stats-card h3 small {\n font-size: small;\n}\n\n.total-stats .col-md-6 .stats-card h3 small i.fa {\n background: white;\n color: white;\n vertical-align: super;\n border-radius: 50%;\n padding: 0 4px 2px;\n}\n\n.litle-card {\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.16) !important;\n background-color: #fff !important;\n border: 1px solid rgba(0, 0, 0, 0.05) !important;\n}\n\n.litle-card p {\n color: black;\n}\n\n.litle-card h5 {\n color: black;\n}\n\n.litle-card i {\n color: #000000 !important;\n}\n\n.title-group {\n font-weight: bold;\n font-size: 15px;\n letter-spacing: 1px;\n margin-bottom: 0;\n text-transform: uppercase;\n color: black;\n cursor: pointer;\n margin-bottom: 10px;\n}\n\n.card {\n overflow: hidden;\n border: 0px solid transparent !important;\n border-radius: 0.25rem !important;\n}\n\n.card-body {\n padding: 1.25rem 0.75rem;\n}\n\n.card-body .rotate {\n z-index: 8;\n float: right;\n height: 100%;\n}\n\n.card-body .rotate i {\n color: whitesmoke;\n position: absolute;\n left: 0;\n left: auto;\n right: -10px;\n bottom: 0;\n display: block;\n transform: rotate(-44deg);\n}']})],Dg);let Tg=class{constructor(t,e,a,r){this.productService=t,this.datepipe=e,this.chainService=a,this.categoriesService=r,this.store_id=parseInt(localStorage.getItem("store_id")),this.chain_id=parseInt(localStorage.getItem("chainInit"))}ngOnInit(){this.onGetChainsList(),this.getCategoriesList();var t=new Date,e=new Date(t.getFullYear(),t.getMonth(),t.getDate()-7);this.onGettopproductsCat(this.chain_id,e,t,5),this.chart5Options={series:[{name:"Quantity",data:this.Series}],chart:{height:350,type:"bar",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{bar:{dataLabels:{position:"bottom"}}},xaxis:{categories:this.categories,tickPlacement:"on",position:"bottom",labels:{offsetY:-18},axisBorder:{show:!1},axisTicks:{show:!1},crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0,offsetY:-35}},fill:{type:"gradient",gradient:{shade:"light",type:"horizontal",shadeIntensity:.25,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1}},yaxis:{axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1}}}}onGetChainsList(){return this.chainService.getChainsList().subscribe(t=>{this.chainsList=t,this.chainData=this.chainsList.data,this.chainInit=this.chainData[0].id,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}getCategoriesList(){this.categoriesService.getCategories().subscribe(t=>{this.categoriesList=t,this.categoryData=this.categoriesList.data})}onGettopproductsCat(t,e,a,r){this.SeriesTopCat=[],this.categoriesTopCat=[];var s={start:this.datepipe.transform(e,"yyyy-MM-dd"),end:this.datepipe.transform(a,"yyyy-MM-dd"),chain_id:t,store_id:this.store_id,top:r};this.productService.getStatTopProdCat(s).subscribe(l=>{this.producList=l,this.producData=this.producList.data,this.producData.forEach(c=>{this.SeriesTopCat.push(c.total_sales),this.categoriesTopCat.push(c.category_name)}),this.chart5Options={...this.chart5Options,series:[{name:"Top",data:this.SeriesTopCat}],xaxis:{categories:this.categoriesTopCat}}},l=>{console.log(l)}
1)}};Tg.ctorParameters=()=>[{type:Je.r},{type:Q.uU},{type:Oe.l},{type:Ee.G}],Tg=(0,j.gn)([(0,m.wA2)({selector:"app-stat-topcategory",template:'<app-products-card></app-products-card>\n\n<div class="row">\n \n <div class="col-md-12">\n <mat-card class="bg-white rounded-lg p-5 ">\n <h5> {{\'Top Categories\'| translate }} </h5>\n\n <form action="" novalidate>\n <mat-form-field appearance="standard" style="width: 20%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker5" #fromDa />\n <mat-datepicker-toggle matSuffix [for]="picker5"></mat-datepicker-toggle>\n <mat-datepicker #picker5></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 20%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker6" #toDa />\n <mat-datepicker-toggle matSuffix [for]="picker6"></mat-datepicker-toggle>\n <mat-datepicker #picker6></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 20%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chainTop>\n\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="standard" style="width: 20%;margin-right: 2%;">\n <input matInput #topCa [placeholder]="\'Top 5\'| translate">\n </mat-form-field>\n\n\n <button mat-raised-button style="padding: 15px 14px 7px 14px;\n background-color: #cacaca;\n color: white;"\n (click)="onGettopproductsCat(chainTop.value,fromDa.value,toDa.value,topCa.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n <div id="chart5">\n <apx-chart [series]="chart5Options.series" [chart]="chart5Options.chart"\n [dataLabels]="chart5Options.dataLabels" [plotOptions]="chart5Options.plotOptions"\n [yaxis]="chart5Options.yaxis" [xaxis]="chart5Options.xaxis" [fill]="chart5Options.fill"\n [title]="chart5Options.title"></apx-chart>\n\n </div>\n\n\n </mat-card>\n </div>\n</div>',styles:[""]})],Tg);(0,Q.p6)(new Date,"yyyy/MM/dd","en");let Jp=class{constructor(t,e,a,r,i){this.datepipe=t,this.dialog=e,this.categoriesService=a,this.productService=r,this.chainService=i,this.store_id=parseInt(localStorage.getItem("store_id")),this.chain_id=parseInt(localStorage.getItem("chainInit")),this.barchart=!1,this.linechart=!0,this.formData=new FormData}ngOnInit(){this.onGetChainsList();var t=new Date,e=new Date(t.getFullYear(),t.getMonth(),t.getDate()-7);this.onGettopproducts(this.chain_id,e,t,5),this.chart4Options={series:[{name:"Quantity",data:this.Series}],chart:{height:350,type:"bar",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{bar:{dataLabels:{position:"bottom"}}},xaxis:{categories:this.categories,tickPlacement:"on",position:"bottom",labels:{offsetY:-18},axisBorder:{show:!1},axisTicks:{show:!1},crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0,offsetY:-35}},fill:{type:"gradient",gradient:{shade:"light",type:"horizontal",shadeIntensity:.25,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1}},yaxis:{axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1}}}}onGetChainsList(){return this.chainService.getChainsList().subscribe(t=>{this.chainsList=t,this.chainData=this.chainsList.data,this.chainInit=this.chainData[0].id,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}toFormData(t){const e=new FormData;for(const a of Object.keys(t)){const r=t[a];e.append(a,r)}return e}barChart(){this.barchart=!0,this.linechart=!1}lineChart(){this.linechart=!0,this.barchart=!1}onGettopproducts(t,e,a,r){this.SeriesTop=[],this.categoriesTop=[];var s={start:this.datepipe.transform(e,"yyyy-MM-dd"),end:this.datepipe.transform(a,"yyyy-MM-dd"),chain_id:t,store_id:this.store_id,top:r};this.productService.getStatTopProd(s).subscribe(l=>{this.productList=l,this.productData=this.productList.data,this.productData.forEach(c=>{this.SeriesTop.push(c.total_sales),this.categoriesTop.push(c.product_name)}),this.chart4Options={...this.chart4Options,series:[{name:"Top",data:this.SeriesTop}],xaxis:{categories:this.categoriesTop}}},l=>{console.log(l)}
1)}};Jp.ctorParameters=()=>[{type:Q.uU},{type:St.uw},{type:Ee.G},{type:Je.r},{type:Oe.l}],Jp.propDecorators={chart4:[{type:m.i9L,args:["chart4"]}]},Jp=(0,j.gn)([(0,m.wA2)({selector:"app-stat-topproducts",template:'<app-products-card></app-products-card>\n\n\n<div class="mainContainer">\n <div class="row">\n <div class="col-md-12">\n <mat-card class="bg-white rounded-lg p-5 ">\n <h5> {{"Top products" | translate }}</h5>\n <form action="" novalidate>\n <mat-form-field appearance="outline" style="width: 20%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker3" #fromD />\n <mat-datepicker-toggle matSuffix [for]="picker3"></mat-datepicker-toggle>\n <mat-datepicker #picker3></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width: 20%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker4" #toD />\n <mat-datepicker-toggle matSuffix [for]="picker4"></mat-datepicker-toggle>\n <mat-datepicker #picker4></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width: 20%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 20%;margin-right: 2%;">\n <input matInput #top [placeholder]="\'Top 5\'| translate">\n </mat-form-field>\n\n\n <button mat-raised-button style="padding: 15px 14px 7px 14px;\n background-color: #cacaca;\n color: white;"\n (click)="onGettopproducts(chain_id.value,fromD.value,toD.value,top.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n <div id="chart4">\n <apx-chart [series]="chart4Options.series" [chart]="chart4Options.chart"\n [dataLabels]="chart4Options.dataLabels" [plotOptions]="chart4Options.plotOptions"\n [yaxis]="chart4Options.yaxis" [xaxis]="chart4Options.xaxis" [fill]="chart4Options.fill"\n [title]="chart4Options.title"></apx-chart>\n\n </div>\n\n\n </mat-card>\n \n \n \n </div>\n </div>\n</div>',styles:['@charset "UTF-8";\nbody {\n overflow: hidden;\n display: flex;\n justify-content: center;\n background-color: var(--app-container);\n}\nbutton, a {\n cursor: pointer;\n}\n.app-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n height: 100%;\n background-color: var(--app-container);\n transition: 0.2s;\n max-width: 1800px;\n}\n.app-content {\n display: flex;\n height: 100%;\n overflow: hidden;\n padding: 16px 24px 24px 0;\n}\n.app-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n padding: 16px 24px;\n position: relative;\n}\n.app-header-left, .app-header-right {\n display: flex;\n align-items: center;\n}\n.app-header-left {\n flex-grow: 1;\n}\n.app-header-right button {\n margin-left: 10px;\n}\n.app-icon {\n width: 26px;\n height: 2px;\n border-radius: 4px;\n background-color: var(--main-color);\n position: relative;\n}\n.app-icon:before, .app-icon:after {\n content: "";\n position: absolute;\n width: 12px;\n height: 2px;\n border-radius: 4px;\n background-color: var(--main-color);\n left: 50%;\n transform: translatex(-50%);\n}\n.app-icon:before {\n top: -6px;\n}\n.app-icon:after {\n bottom: -6px;\n}\n.app-name {\n color: var(--main-color);\n margin: 0;\n font-size: 20px;\n line-height: 24px;\n font-weight: 700;\n margin: 0 32px;\n}
1\n.mode-switch {\n background-color: transparent;\n border: none;\n padding: 0;\n color: var(--main-color);\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.search-wrapper {\n border-radius: 20px;\n background-color: var(--search-area-bg);\n padding-right: 12px;\n height: 40px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n max-width: 480px;\n color: var(--light-font);\n box-shadow: 0 2px 6px 0 rgba(136, 148, 171, 0.2), 0 24px 20px -24px rgba(71, 82, 107, 0.1);\n overflow: hidden;\n}\n.dark .search-wrapper {\n box-shadow: none;\n}\n.search-input {\n border: none;\n flex: 1;\n outline: none;\n height: 100%;\n padding: 0 20px;\n font-size: 16px;\n background-color: var(--search-area-bg);\n color: var(--main-color);\n}\n.search-input:placeholder {\n color: var(--main-color);\n opacity: 0.6;\n}\n.add-btn {\n color: #fff;\n background-color: var(--button-bg);\n padding: 0;\n border: 0;\n border-radius: 50%;\n width: 32px;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.notification-btn {\n color: var(--main-color);\n padding: 0;\n border: 0;\n background-color: transparent;\n height: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.profile-btn {\n padding: 0;\n border: 0;\n background-color: transparent;\n display: flex;\n align-items: center;\n padding-left: 12px;\n border-left: 2px solid #ddd;\n}\n.profile-btn img {\n width: 32px;\n height: 32px;\n object-fit: cover;\n border-radius: 50%;\n margin-right: 4px;\n}\n.profile-btn span {\n color: white !important;\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n}\n.page-content\xa0 {\n flex: 1;\n width: 100%;\n}\n.app-sidebar {\n padding: 40px 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.app-sidebar-link {\n color: var(--main-color);\n color: var(--link-color);\n margin: 16px 0;\n transition: 0.2s;\n border-radius: 50%;\n flex-shrink: 0;\n width: 40px;\n height: 40px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.app-sidebar-link:hover {\n background-color: var(--link-color-hover);\n color: var(--link-color-active);\n}\n.app-sidebar-link.active {\n background-color: var(--link-color-active-bg);\n color: var(--link-color-active);\n}\n.projects-section {\n flex: 2;\n background-color: var(--projects-section);\n border-radius: 32px;\n padding: 25px;\n height: 100%;\n flex-direction: column;\n}\n.projects-section-line {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-bottom: 32px;\n}\n.projects-section-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 24px;\n color: var(--main-color);\n}\n.projects-section-header p {\n font-size: 24px;\n line-height: 32px;\n font-weight: 700;\n opacity: 0.9;\n margin: 0;\n}\n.projects-section-header .time {\n font-size: 20px;\n}\n.projects-status {\n display: flex;\n}\n.item-status {\n display: flex;\n flex-direction: column;\n margin-right: 16px;\n}
1\n.item-status:not(:last-child) .status-type:after {\n content: "";\n position: absolute;\n right: 8px;\n top: 50%;\n transform: translatey(-50%);\n width: 6px;\n height: 6px;\n border-radius: 50%;\n border: 1px solid var(--secondary-color);\n}\n.status-number {\n font-size: 24px;\n line-height: 32px;\n font-weight: 700;\n color: var(--main-color);\n}\n.status-type {\n position: relative;\n padding-right: 24px;\n color: var(--secondary-color);\n}\n.view-actions {\n display: flex;\n align-items: center;\n}\n.view-btn {\n width: 36px;\n height: 36px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 6px;\n border-radius: 4px;\n background-color: transparent;\n border: none;\n color: var(--main-color);\n margin-left: 8px;\n transition: 0.2s;\n}\n.view-btn.active {\n background-color: var(--link-color-active-bg);\n color: var(--link-color-active);\n}\n.view-btn:not(.active):hover {\n background-color: var(--link-color-hover);\n color: var(--link-color-active);\n}\n.messages-section {\n flex-shrink: 0;\n padding-bottom: 32px;\n background-color: var(--projects-section);\n margin-left: 24px;\n flex: 1;\n width: 100%;\n border-radius: 30px;\n position: relative;\n overflow: auto;\n transition: all 300ms cubic-bezier(0.19, 1, 0.56, 1);\n}\n.messages-section .messages-close {\n position: absolute;\n top: 12px;\n right: 12px;\n z-index: 3;\n border: none;\n background-color: transparent;\n color: var(--main-color);\n display: none;\n}\n.messages-section.show {\n transform: translateX(0);\n opacity: 1;\n margin-left: 0;\n}\n.messages-section .projects-section-header {\n top: 0;\n z-index: 1;\n padding: 32px 24px 0 24px;\n background-color: var(--projects-section);\n}\n.message-box {\n border-top: 1px solid var(--message-box-border);\n padding: 16px;\n display: flex;\n align-items: flex-start;\n width: 100%;\n}\n.message-box:hover {\n background-color: var(--message-box-hover);\n border-top-color: var(--link-color-hover);\n}\n.message-box:hover + .message-box {\n border-top-color: var(--link-color-hover);\n}\n.message-box img {\n border-radius: 50%;\n object-fit: cover;\n width: 40px;\n height: 40px;\n}\n.message-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n}\n.message-header .name {\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n color: var(--main-color);\n margin: 0;\n}\n.message-content {\n padding-left: 16px;\n width: 100%;\n}\n.star-checkbox input {\n opacity: 0;\n position: absolute;\n width: 0;\n height: 0;\n}\n.star-checkbox label {\n width: 24px;\n height: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n.dark .star-checkbox {\n color: var(--secondary-color);\n}\n.dark .star-checkbox input:checked + label {\n color: var(--star);\n}\n.star-checkbox input:checked + label svg {\n fill: var(--star);\n transition: 0.2s;\n}\n.message-line {\n font-size: 14px;\n line-height: 20px;\n margin: 8px 0;\n color: var(--secondary-color);\n opacity: 0.7;\n}\n.message-line.time {\n text-align: right;\n margin-bottom: 0;\n}\n.project-boxes {\n overflow-y: auto;\n border-radius: 0.5rem !important;\n}\n.project-boxes.jsGridView {\n flex-wrap: wrap;\n}\n.project-boxes.jsGridView .project-box-wrapper {\n width: 25%;\n opacity: 0.9;\n}\n.project-boxes.jsListView .project-box {\n display: flex;\n position: relative;\n}\n.project-boxes.jsListView .project-box > * {\n margin-right: 24px;\n}\n.project-boxes.jsListView .more-wrapper {\n position: absolute;\n right: 16px;\n top: 16px;\n}\n.project-boxes.jsListView .project-box-content-header {\n order: 1;\n max-width: 120px;\n}\n.project-boxes.jsListView .project-box-header {\n order: 2;\n}\n.project-boxes.jsListView .project-box-footer {\n order: 3;\n padding-top: 0;\n flex-direction: column;\n justify-content: flex-start;\n}\n.project-boxes.jsListView .project-box-footer:after {\n display: none;\n}\n.project-boxes.jsListView .participants {\n margin-bottom: 8px;\n}\n.project-boxes.jsListView .project-box-content-header p {\n text-align: left;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.project-boxes.jsListView .project-box-header > span {\n position: absolute;\n bottom: 16px;\n left: 16px;\n font-size: 12px;\n}\n.project-boxes.jsListView .box-progress-wrapper {\n order: 3;\n flex: 1;\n}\n.project-box {\n --main-color-card: #dbf6fd;\n padding: 16px;\n background-color: var(--main-color-card);\n}\n.project-box-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 16px;\n color: var(--main-color);\n}\n.project-box-header span {\n color: #4A4A4A;
1\n opacity: 0.7;\n font-size: 14px;\n line-height: 16px;\n}\n.project-box-content-header {\n text-align: center;\n margin-bottom: 16px;\n}\n.project-box-content-header p {\n margin: 0;\n}\n.project-box-wrapper {\n padding: 8px;\n transition: 0.2s;\n}\n.project-btn-more {\n padding: 0;\n height: 14px;\n width: 24px;\n height: 24px;\n position: relative;\n background-color: transparent;\n border: none;\n flex-shrink: 0;\n color: white;\n /*&:after, &:before {\n content: \'\';\n position: absolute;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background-color: var(--main-color);\n opacity: .8;\n left: 50%;\n transform: translatex(-50%);\n }\n\n &:before { top: 0;}\n &:after { bottom: 0; }*/\n}\n.more-wrapper {\n position: relative;\n}\n.box-content-header {\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n color: #a00000;\n}\n.box-content-subheader {\n font-size: 14px;\n line-height: 24px;\n color: #3a3a3a;\n}\n.box-progress {\n display: block;\n height: 4px;\n border-radius: 6px;\n}\n.box-progress-bar {\n width: 100%;\n height: 4px;\n border-radius: 6px;\n overflow: hidden;\n background-color: #fff;\n margin: 8px 0;\n}\n.box-progress-header {\n font-size: 14px;\n font-weight: 700;\n line-height: 16px;\n margin: 0;\n}\n.box-progress-percentage {\n text-align: right;\n margin: 0;\n font-size: 14px;\n font-weight: 700;\n line-height: 16px;\n}\n.project-box-footer {\n display: flex;\n justify-content: space-between;\n padding-top: 16px;\n position: relative;\n}
1\n.project-box-footer:after {\n content: "";\n position: absolute;\n background-color: rgba(255, 255, 255, 0.6);\n width: calc(100% + 32px);\n top: 0;\n left: -16px;\n height: 1px;\n}\n.participants {\n display: flex;\n align-items: center;\n}\n.participants img {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n overflow: hidden;\n object-fit: cover;\n}\n.participants img:not(:first-child) {\n margin-left: -8px;\n}\n.add-participant {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n border: none;\n background-color: rgba(255, 255, 255, 0.6);\n margin-left: 6px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0;\n}\n.days-left {\n background-color: rgba(255, 255, 255, 0.6);\n font-size: 12px;\n border-radius: 20px;\n flex-shrink: 0;\n padding: 6px 16px;\n font-weight: 700;\n}\n.mode-switch.active .moon {\n fill: var(--main-color);\n}\n.messages-btn {\n border-radius: 4px 0 0 4px;\n position: absolute;\n right: 0;\n top: 58px;\n background-color: var(--message-btn);\n border: none;\n color: var(--main-color);\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 4px;\n display: none;\n}\n@media screen and (max-width: 980px) {\n .project-boxes.jsGridView .project-box-wrapper {\n width: 50%;\n }\n\n .status-number, .status-type {\n font-size: 14px;\n }\n\n .status-type:after {\n width: 4px;\n height: 4px;\n }\n\n .item-status {\n margin-right: 0;\n }\n}\n@media screen and (max-width: 880px) {\n .messages-section {\n transform: translateX(100%);\n position: absolute;\n opacity: 0;\n top: 0;\n z-index: 2;\n height: 100%;\n width: 100%;\n }\n .messages-section .messages-close {\n display: block;\n }\n\n .messages-btn {\n display: flex;\n }\n}\n@media screen and (max-width: 720px) {\n .app-name, .profile-btn span {\n display: none;\n }\n\n .add-btn, .notification-btn, .mode-switch {\n width: 20px;\n height: 20px;\n }\n .add-btn svg, .notification-btn svg, .mode-switch svg {\n width: 16px;\n height: 16px;\n }\n\n .app-header-right button {\n margin-left: 4px;\n }\n}\n@media screen and (max-width: 520px) {\n .projects-section {\n overflow: auto;\n }\n\n .project-boxes {\n overflow-y: visible;\n }\n\n .app-sidebar, .app-icon {\n display: none;\n }\n\n .app-content {\n padding: 16px 12px 24px 12px;\n }\n\n .status-number, .status-type {\n font-size: 10px;\n }\n\n .view-btn {\n width: 24px;\n height: 24px;\n }\n\n .app-header {\n padding: 16px 10px;\n }\n\n .search-input {\n max-width: 120px;\n }\n\n .project-boxes.jsGridView .project-box-wrapper {\n width: 100%;\n }\n\n .projects-section {\n padding: 24px 16px 0 16px;\n }\n\n .profile-btn img {\n width: 24px;\n height: 24px;\n }\n\n .app-header {\n padding: 10px;\n }\n\n .projects-section-header p,\n.projects-section-header .time {\n font-size: 18px;\n }\n\n .status-type {\n padding-right: 4px;\n }\n .status-type:after {\n display: none;\n }\n\n .search-input {\n font-size: 14px;\n }\n\n .messages-btn {\n top: 48px;\n }\n\n .box-content-header {\n font-size: 12px;\n line-height: 16px;\n }\n\n .box-content-subheader {\n font-size: 12px;\n line-height: 16px;\n color: white;\n }\n\n .project-boxes.jsListView .project-box-header > span {\n font-size: 10px;\n }\n\n .box-progress-header {\n font-size: 12px;\n color: white !important;\n }\n\n .box-progress-percentage {\n font-size: 10px;\n color: #205623;\n }\n\n .days-left {\n font-size: 8px;\n padding: 6px 6px;\n text-align: center;\n }\n\n .project-boxes.jsListView .project-box > * {\n margin-right: 10px;\n }\n\n .project-boxes.jsListView .more-wrapper {\n right: 2px;\n top: 10px;\n }\n}\n#chart2 {\n max-width: 250px;\n min-width: 250px;\n max-height: 200px;\n min-height: 200px;\n position: relative;\n}\n#chart {\n max-height: 200px;\n min-height: 200px;\n position: relative;\n}\n/*\n * Off Canvas sidebar at medium breakpoint\n * --------------------------------------------------\n */\n.card {\n overflow: hidden;\n border: 0px solid transparent !important;\n border-radius: 0.25rem !important;\n}\n.card-body .rotate {\n z-index: 8;\n float: right;\n height: 100%;\n}\n.card-body .rotate i {\n color: whitesmoke;\n position: absolute;\n left: 0;\n left: auto;\n right: -10px;\n bottom: 0;\n display: block;\n transform: rotate(-44deg);\n}\n.row {\n flex-wrap: initial !important;\n}\n.total-stats {\n margin-top: 20px;\n}\n.total-stats .col-md-6:nth-child(3) .stats-card h3 small i.fa {\n padding: 2px 4px 0;\n}\n.total-stats .col-md-6 .stats-card {\n background: white;\n padding: 50px 10px;\n}\n.total-stats .col-md-6 .stats-card span {\n display: inline-block;\n border-radius: 50%;\n vertical-align: bottom;\n}\n.total-stats .col-md-6 .stats-card span i.fa {\n border: 1px solid white;\n padding: 20px 17px;\n border-radius: 50%;\n color: white;\n}\n.total-stats .col-md-6 .stats-card .orange-chart {\n background: #a00000;\n border: 5px solid #a50000;\n}\n.total-stats .col-md-6 .stats-card .purple-chart {\n background: #a00000;\n border: 5px solid #d30000;\n}\n.total-stats .col-md-6 .stats-card .red-chart {\n background: #707070;\n border: 5px solid #8a8a8a;\n}\n.total-stats .col-md-6 .stats-card .green-chart {\n background: #707070;\n border: 5px solid #8a8a8a;\n}\n.total-stats .col-md-6 .stats-card h3 {\n display: inline-block;\n font-weight: bold;\n padding-left: 20px;\n}\n.total-stats .col-md-6 .stats-card h3 small {\n font-size: small;\n}\n.total-stats .col-md-6 .stats-card h3 small i.fa {\n background: white;\n color: white;\n vertical-align: super;\n border-radius: 50%;\n padding: 0 4px 2px;\n}']})],Jp);(0,Q.p6)(new Date,"yyyy/MM/dd","en");let Zp=class{constructor(t,e,a,r,i){this.datepipe=t,this.dialog=e,this.categoriesService=a,this.productService=r,this.chainService=i,this.store_id=parseInt(localStorage.getItem("store_id")),this.chain_id=parseInt(localStorage.getItem("chainInit")),this.barchart=!1,this.linechart=!0,this.formData=new FormData}ngOnInit(){this.onGetChainsList();var t=new Date,e=new Date(t.getFullYear(),t.getMonth(),t.getDate()-7);this.onGettopproducts(this.chain_id,e,t,5),this.chart4Options={series:[{name:"Quantity",data:this.Series}],chart:{height:350,type:"bar",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{bar:{dataLabels:{position:"bottom"}}},xaxis:{categories:this.categories,tickPlacement:"on",position:"bottom",labels:{offsetY:-18},axisBorder:{show:!1},axisTicks:{show:!1}
1,crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0,offsetY:-35}},fill:{type:"gradient",gradient:{shade:"light",type:"horizontal",shadeIntensity:.25,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1}},yaxis:{axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1}}}}onGetChainsList(){return this.chainService.getChainsList().subscribe(t=>{this.chainsList=t,this.chainData=this.chainsList.data,this.chainInit=this.chainData[0].id,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}toFormData(t){const e=new FormData;for(const a of Object.keys(t)){const r=t[a];e.append(a,r)}return e}barChart(){this.barchart=!0,this.linechart=!1}lineChart(){this.linechart=!0,this.barchart=!1}onGettopproducts(t,e,a,r){this.SeriesTop=[],this.categoriesTop=[];var i=this.datepipe.transform(e,"yyyy-MM-dd"),s={start:this.datepipe.transform(a,"yyyy-MM-dd"),end:i,chain_id:t,store_id:this.store_id,top:r};this.productService.getStatTopSupplier(s).subscribe(l=>{this.productList=l,this.productData=this.productList.data,this.productData.forEach(c=>{this.SeriesTop.push(c.total_sales),this.categoriesTop.push(c.supplier_name)}),this.chart4Options={...this.chart4Options,series:[{name:"Top",data:this.SeriesTop}],xaxis:{categories:this.categoriesTop}}},l=>{console.log(l)})}};Zp.ctorParameters=()=>[{type:Q.uU},{type:St.uw},{type:Ee.G},{type:Je.r},{type:Oe.l}],Zp.propDecorators={chart4:[{type:m.i9L,args:["chart4"]}]},Zp=(0,j.gn)([(0,m.wA2)({selector:"app-stat-topsupplier",template:'<app-products-card></app-products-card>\n\n\n<div class="mainContainer">\n <div class="row">\n <div class="col-md-12">\n <mat-card class="bg-white rounded-lg p-5 ">\n <h5> Top Supplier</h5>\n <form action="" novalidate>\n <mat-form-field appearance="outline" style="width: 20%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker3" #fromD />\n <mat-datepicker-toggle matSuffix [for]="picker3"></mat-datepicker-toggle>\n <mat-datepicker #picker3></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width: 20%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker4" #toD />\n <mat-datepicker-toggle matSuffix [for]="picker4"></mat-datepicker-toggle>\n <mat-datepicker #picker4></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width: 20%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 20%;margin-right: 2%;">\n <input matInput #top [placeholder]="\'Top 5\'| translate">\n </mat-form-field>\n\n\n <button mat-raised-button style="padding: 15px 14px 7px 14px;\n background-color: #cacaca;\n color: white;"\n (click)="onGettopproducts(chain_id.value,fromD.value,toD.value,top.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n <div id="chart4">\n <apx-chart [series]="chart4Options.series" [chart]="chart4Options.chart"\n [dataLabels]="chart4Options.dataLabels" [plotOptions]="chart4Options.plotOptions"\n [yaxis]="chart4Options.yaxis" [xaxis]="chart4Options.xaxis" [fill]="chart4Options.fill"\n [title]="chart4Options.title"></apx-chart>\n\n </div>\n\n\n </mat-card>\n \n \n \n </div>\n </div>\n</div>',styles:[""]})],Zp),(0,Q.p6)(new Date,"yyyy/MM/dd","en");let Pg=class{constructor(t,e,a,r,i){this.datepipe=t,this.dialog=e,this.categoriesService=a,this.productService=r,this.chainService=i,this.categoriesProd=[],this.seriesProd=[],this.store_id=parseInt(localStorage.getItem("store_id")),this.chain_id=parseInt(localStorage.getItem("chainInit")),this.formData=new FormData,this.chartOptions={series:[{name:"basic",data:[400,430,448,470,540,580,690,1100,1200,1380]}],chart:{type:"bar",height:350},plotOptions:{bar:{horizontal:!0}},dataLabels:{enabled:!1},xaxis:{categories:["South Korea","Canada","United Kingdom","Netherlands","Italy","France","Japan","United States","China","Germany"]}}}ngOnInit(){this.ToDate=new Date,this.ongettopprodallchain(this.ToDate,5),this.ongettopcategoryallchain(this.ToDate,5),this.ongettopsupplierallchain(this.ToDate,5)}ongettopprodallchain(t,e){var r={month:this.datepipe.transform(t,"yyyy-MM"),store_id:this.store_id,top:e};this.productService.getStatTopProdAllchains(r).subscribe(i=>{this.productList=i,this.productData=this.productList.data,this.chartOptions={...this.chartOptions,series:[{name:"basic",data:this.productData.chain_name}],xaxis:{categories:["South Korea","Canada","United Kingdom","Netherlands","Italy","France","Japan","United States","China","Germany"]}}},i=>{console.log(i)})}ongettopcategoryallchain(t,e){var r={month:this.datepipe.transform(t,"yyyy-MM"),store_id:this.store_id,top:e};this.productService.getStatTopCatAllchains(r).subscribe(i=>{this.catList=i,this.catData=this.catList.data},i=>{console.log(i)})}ongettopsupplierallchain(t,e){var r={month:this.datepipe.transform(t,"yyyy-MM"),store_id:this.store_id,top:e};this.productService.getStatTopSupplierAllchains(r).subscribe(i=>{this.suppList=i,this.suppData=this.suppList.data},i=>{console.log(i)})}openTopProduct(){this.dialog.open(Jp,{autoFocus:!1,maxHeight:"90vh"})}openTopCategory(){this.dialog.open(Tg,{autoFocus:!1,maxHeight:"90vh"})}openTopsupplier(){this.dialog.open(Zp,{autoFocus:!1,maxHeight:"90vh"})}};Pg.ctorParameters=()=>[{type:Q.uU},{type:St.uw},{type:Ee.G},{type:Je.r},{type:Oe.l}],Pg.propDecorators={chart:[{type:m.i9L,args:["chart"]}]},Pg=(0,j.gn)([(0,m.wA2)({selector:"app-shop-products-statistics",template:'\x3c!-- <div class="mainContainer">\n <div class="row">\n <div class="col-md-6">\n <mat-card class="bg-white rounded-lg p-5 ">\n <h5> {{"Top products" | translate }}</h5>\n <form action="" novalidate>\n <mat-form-field appearance="standard" style="width: 18%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker3" #fromD />\n <mat-datepicker-toggle matSuffix [for]="picker3"></mat-datepicker-toggle>\n <mat-datepicker #picker3></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 18%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker4" #toD />\n <mat-datepicker-toggle matSuffix [for]="picker4"></mat-datepicker-toggle>\n <mat-datepicker #picker4></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 18%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="standard" style="width: 12%;margin-right: 2%;">\n <input matInput #top [placeholder]="\'Top 5\'| translate">\n </mat-form-field>\n\n\n <button mat-raised-button style="padding: 15px 14px 7px 14px;\n background-color: #cacaca;\n color: white;"\n (click)="onGettopproducts(chain_id.value,fromD.value,toD.value,top.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n <div id="chart4">\n <apx-chart [series]="chart4Options.series" [chart]="chart4Options.chart"\n [dataLabels]="chart4Options.dataLabels" [plotOptions]="chart4Options.plotOptions"\n [yaxis]="chart4Options.yaxis" [xaxis]="chart4Options.xaxis" [fill]="chart4Options.fill"\n [title]="chart4Options.title"></apx-chart>\n\n </div>\n\n\n </mat-card>\n </div>\n <div class="col-md-6">\n <mat-card class="bg-white rounded-lg p-5 ">\n <h5> {{\'Top Categories\'| translate }} </h5>\n\n <form action="" novalidate>\n <mat-form-field appearance="standard" style="width: 18%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker5" #fromDa />\n <mat-datepicker-toggle matSuffix [for]="picker5"></mat-datepicker-toggle>\n <mat-datepicker #picker5></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 18%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker6" #toDa />\n <mat-datepicker-toggle matSuffix [for]="picker6"></mat-datepicker-toggle>\n <mat-datepicker #picker6></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 18%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chainTop>\n\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="standard" style="width: 12%;margin-right: 2%;">\n <input matInput #topCa [placeholder]="\'Top 5\'| translate">\n </mat-form-field>\n\n\n <button mat-raised-button style="padding: 15px 14px 7px 14px;\n background-color: #cacaca;\n color: white;"\n (click)="onGettopproductsCat(chainTop.value,fromDa.value,toDa.value,topCa.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n <div id="chart5">\n <apx-chart [series]="chart5Options.series" [chart]="chart5Options.chart"\n [dataLabels]="chart5Options.dataLabels" [plotOptions]="chart5Options.plotOptions"\n [yaxis]="chart5Options.yaxis" [xaxis]="chart5Options.xaxis" [fill]="chart5Options.fill"\n [title]="chart5Options.title"></apx-chart>\n\n </div>\n\n\n </mat-card>\n </div>\n\n </div>\n <br /> <br /> <br />\n <div class="row">\n <div class="col-md-6">\n <mat-card class="bg-white rounded-lg p-5 ">\n <h5> {{"Product-Quantity" | translate }}</h5>\n\n <form action="" novalidate>\n <mat-form-field appearance="standard" style="width: 20%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker" #from />\n <mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 20%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker2" #to />\n <mat-datepicker-toggle matSuffix [for]="picker2"></mat-datepicker-toggle>\n <mat-datepicker #picker2></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 20%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain>\n\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n <button mat-raised-button style="padding: 15px 14px 7px 14px;\n background-color: #cacaca;\n color: white;"\n (click)="onGetQuantproducts(chain.value,from.value,to.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n <div *ngIf="linechart">\n <div id="chart2">\n <apx-chart [series]="chart2Options.series" [chart]="chart2Options.chart"\n [xaxis]="chart2Options.xaxis" [dataLabels]="chart2Options.dataLabels"\n [grid]="chart2Options.grid" [stroke]="chart2Options.stroke" [title]="chart2Options.title">\n </apx-chart>\n </div>\n </div>\n <div *ngIf="barchart">\n <div id="chart">\n <apx-chart [series]="chartOptions.series" [chart]="chartOptions.chart"\n [dataLabels]="chartOptions.dataLabels" [plotOptions]="chartOptions.plotOptions"\n [yaxis]="chartOptions.yaxis" [xaxis]="chartOptions.xaxis" [fill]="chartOptions.fill"\n [title]="chartOptions.title"></apx-chart>\n\n </div>\n </div>\n <div style="text-align: center;">\n <button mat-button color="primary" (click)="lineChart()">{{\'Line chart\'|translate}}\n <mat-icon> show_chart</mat-icon>\n </button>\n <button mat-button color="accent" (click)="barChart()">{{\'Bar chart\'|translate}}\n <mat-icon> bar_chart</mat-icon>\n </button>\n </div>\n </mat-card>\n </div>\n </div>\n\n</div> --\x3e\n<div class="row">\n\n <div class="col-md-3">\n <div class="project-box-wrapper text-dark">\n <div class="project-box" >\n\n <div class="project-box-content-header">\n <p class="box-content-header">{{"Products"|translate}}</p>\n <p class="box-content-subheader">{{"Top 5 Products"|translate}}</p>\n </div>\n <div style="overflow: scroll; height: 150px;">\n <div class="box-progress-wrapper" *ngFor="let prod of productData">\n <p class="box-progress-header">{{prod.chain_name}}</p>\n <div>\n <div *ngFor="let pro of prod.top_products">\n \x3c!-- <div id="chart">\n <apx-chart\n
1 [series]="pro.total_sales"\n [chart]="chartOptions.chart"\n [dataLabels]="chartOptions.dataLabels"\n [plotOptions]="chartOptions.plotOptions"\n [xaxis]="chartOptions.xaxis"\n ></apx-chart>\n </div> --\x3e\n <p *ngIf="prod.top_products.length!=0">{{pro.product_name}}({{pro.total_sales}})</p>\n </div>\n <p *ngIf="prod.top_products.length==0">{{"No Top products"|translate}}</p>\n </div>\n </div>\n\n </div>\n\n <div class="project-box-footer">\n <div class="participants">\n <button class="add-participant" style="color: white;" (click)="openTopProduct()">\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none"\n stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"\n class="feather feather-plus">\n <path d="M12 5v14M5 12h14" />\n </svg>\n </button>\n </div>\n <div class="days-left" style="color: black">\n {{ ToDate | date : \'shortDate\' }} - 5 Top\n </div>\n </div>\n </div>\n </div>\n \x3c!-- <div class="project-box-wrapper text-dark">\n <div class="project-box text-dark" style="background-color: #cccccc; ">\n <div class="project-box-content-header">\n <p class="box-content-header"> PRODUCTS</p>\n <p class="box-content-subheader">Top 5 Products</p>\n </div>\n <div style="overflow: scroll ;\n height: 150px;">\n <div class="box-progress-wrapper" *ngFor="let prod of productData">\n <p class="box-progress-header">{{prod.chain_name}}</p>\n\n <div class="box-progress-bar">\n <span class="box-progress">{{prod.top_products.product_name}}</span>\n </div>\n <p class="box-progress-percentage">{{prod.top_products.product_name}}</p>\n </div>\n </div>\n\n <div class="project-box-footer">\n <div class="participants">\n <button class="add-participant" style="color: #707070;" (click)="openTopProduct()">\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none"\n stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"\n class="feather feather-plus">\n <path d="M12 5v14M5 12h14" />\n </svg>\n </button>\n\n </div>\n </div>\n </div>\n </div> --\x3e\n </div>\n <div class="col-md-3">\n <div class="project-box-wrapper text-dark">\n <div class="project-box" >\n\n <div class="project-box-content-header">\n <p class="box-content-header">{{"Products"|translate}}</p>\n <p class="box-content-subheader">{{"Top 5 Categories"|translate}}</p>\n </div>\n <div style="overflow: scroll ;\n height: 150px;">\n <div class="box-progress-wrapper" *ngFor="let cat of catData">\n <div>\n <p class="box-progress-header">{{cat.chain_name}}</p>\n \x3c!-- [style.height.px]="pro.total_sales" --\x3e\n\n <div>\n <div *ngFor="let cate of cat.top_sale_categories">\n <p *ngIf="cat.top_sale_categories.length!=0">{{cate.category_name}}({{cate.total_sales}})</p>\n </div>\n <p *ngIf="cat.top_sale_categories.length==0">{{"No Top Categories"|translate}}</p>\n </div>\n\n \x3c!-- <div class="chart" *ngIf="cat.top_sale_categories">\n\n <div class="bar" *ngFor="let cate of cat.top_sale_categories" [style.height.px]="100">\n <div class="bar-percent">{{cate.total_sales}}</div>\n <div class="bar-name">{{cate.category_name}}</div>\n </div>\n\n\n\n\n </div> --\x3e\n \x3c!-- <div class="chart" *ngIf="cat.top_sale_categories.length == 0">\n\n <div class="bar" [style.height.px]="10">\n <div class="bar-percent">0</div>\n </div>\n <div class="bar" [style.height.px]="10">\n <div class="bar-percent">0</div>\n </div>\n\n <div class="bar" [style.height.px]="10">\n <div class="bar-percent">0</div>\n </div>\n <div class="bar" [style.height.px]="10">\n <div class="bar-percent">0</div>\n </div>\n <div class="bar" [style.height.px]="10">\n <div class="bar-percent">0</div>\n </div>\n </div> --\x3e\n </div>\n </div>\n\n\n </div>\n\n <div class="project-box-footer">\n <div class="participants">\n <button class="add-participant" style="color: white;" (click)="openTopCategory()">\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none"\n stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"\n class="feather feather-plus">\n <path d="M12 5v14M5 12h14" />\n </svg>\n </button>\n </div>\n <div class="days-left" style="color: black">\n {{ ToDate | date : \'shortDate\' }} - 5 Top\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="col-md-3">\n <div class="project-box-wrapper text-dark">\n <div class="project-box" >\n\n <div class="project-box-content-header">\n <p class="box-content-header">{{"Products"|translate}}</p>\n <p class="box-content-subheader">{{"Top 5 Suppliers"|translate}}</p>\n </div>\n <div style="overflow: scroll ;\n height: 150px;">\n <div class="box-progress-wrapper" *ngFor="let supp of suppData">\n <p class="box-progress-header">{{supp.chain_name}}</p>\n\n <div *ngFor="let sup of supp.top_sale_suppliers">\n <p *ngIf="supp.top_sale_suppliers.length!=0">{{supp.supplier_name}}({{supp.total_sales}})</p>\n </div>\n <p *ngIf="supp.top_sale_suppliers.length==0">{{"No Top Suppliers"|translate}}</p>\n </div>\n </div>\n\n <div class="project-box-footer">\n <div class="participants">\n <button class="add-participant" style="color: white;" (click)="openTopsupplier()">\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none"\n stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"\n class="feather feather-plus">\n <path d="M12 5v14M5 12h14" />\n </svg>\n </button>\n </div>\n <div class="days-left" style="color: black">\n {{ ToDate | date : \'shortDate\' }} - 5 Top\n </div>\n </div>\n </div>\n </div>\n\n </div>\n <div class="col-md-3">\n <div class="project-box-wrapper text-dark">\n <div class="project-box" >\n\n <div class="project-box-content-header">\n <p class="box-content-header">{{"Products"|translate}}</p>\n <p class="box-content-subheader">{{"Top 5 Products"|translate}}</p>\n </div>\n <div style="overflow: scroll ;\n height: 150px;">\n <div class="box-progress-wrapper" *ngFor="let prod of productData">\n <p class="box-progress-header">{{prod.chain_name}}</p>\n\n <div *ngFor="let pro of prod.top_products">\n <p *ngIf="prod.top_products.length!=0">{{pro.product_name}}</p>\n </div>\n <p *ngIf="prod.top_products.length==0">{{"No products"|translate}}</p>\n </div>\n </div>\n\n <div class="project-box-footer">\n <div class="participants">\n <button class="add-participant" style="color: white;" (click)="openTopProduct()">\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none"\n stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"\n class="feather feather-plus">\n <path d="M12 5v14M5 12h14" />\n </svg>\n </button>\n </div>\n <div class="days-left" style="color: black">\n {{ ToDate | date : \'shortDate\' }} - 5 Top\n </div>\n </div>\n </div>\n </div>\n\n </div>\n\n</div>',styles:['@charset "UTF-8";\nbody {\n overflow: hidden;\n display: flex;\n justify-content: center;\n background-color: var(--app-container);\n}\nbutton,\na {\n cursor: pointer;\n}\n.app-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n height: 100%;\n background-color: var(--app-container);\n transition: 0.2s;\n max-width: 1800px;\n}\n.app-content {\n display: flex;\n height: 100%;\n overflow: hidden;\n padding: 16px 24px 24px 0;\n}\n.app-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n padding: 16px 24px;\n position: relative;\n}\n.app-header-left, .app-header-right {\n display: flex;\n align-items: center;\n}\n.app-header-left {\n flex-grow: 1;\n}\n.app-header-right button {\n margin-left: 10px;\n}\n.app-icon {\n width: 26px;\n height: 2px;\n border-radius: 4px;\n background-color: var(--main-color);\n position: relative;\n}
1\n.app-icon:before, .app-icon:after {\n content: "";\n position: absolute;\n width: 12px;\n height: 2px;\n border-radius: 4px;\n background-color: var(--main-color);\n left: 50%;\n transform: translatex(-50%);\n}\n.app-icon:before {\n top: -6px;\n}\n.app-icon:after {\n bottom: -6px;\n}\n.app-name {\n color: var(--main-color);\n margin: 0;\n font-size: 20px;\n line-height: 24px;\n font-weight: 700;\n margin: 0 32px;\n}\n.mode-switch {\n background-color: transparent;\n border: none;\n padding: 0;\n color: var(--main-color);\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.search-wrapper {\n border-radius: 20px;\n background-color: var(--search-area-bg);\n padding-right: 12px;\n height: 40px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n max-width: 480px;\n color: var(--light-font);\n box-shadow: 0 2px 6px 0 rgba(136, 148, 171, 0.2), 0 24px 20px -24px rgba(71, 82, 107, 0.1);\n overflow: hidden;\n}\n.dark .search-wrapper {\n box-shadow: none;\n}\n.search-input {\n border: none;\n flex: 1;\n outline: none;\n height: 100%;\n padding: 0 20px;\n font-size: 16px;\n background-color: var(--search-area-bg);\n color: var(--main-color);\n}\n.search-input:placeholder {\n color: var(--main-color);\n opacity: 0.6;\n}\n.add-btn {\n color: #fff;\n background-color: var(--button-bg);\n padding: 0;\n border: 0;\n border-radius: 50%;\n width: 32px;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.notification-btn {\n color: var(--main-color);\n padding: 0;\n border: 0;\n background-color: transparent;\n height: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.profile-btn {\n padding: 0;\n border: 0;\n background-color: transparent;\n display: flex;\n align-items: center;\n padding-left: 12px;\n border-left: 2px solid #ddd;\n}\n.profile-btn img {\n width: 32px;\n height: 32px;\n object-fit: cover;\n border-radius: 50%;\n margin-right: 4px;\n}\n.profile-btn span {\n color: white !important;\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n}\n.page-content\xa0 {\n flex: 1;\n width: 100%;\n}\n.app-sidebar {\n padding: 40px 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.app-sidebar-link {\n color: var(--main-color);\n color: var(--link-color);\n margin: 16px 0;\n transition: 0.2s;\n border-radius: 50%;\n flex-shrink: 0;\n width: 40px;\n height: 40px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.app-sidebar-link:hover {\n background-color: var(--link-color-hover);\n color: var(--link-color-active);\n}\n.app-sidebar-link.active {\n background-color: var(--link-color-active-bg);\n color: var(--link-color-active);\n}\n.projects-section {\n flex: 2;\n background-color: var(--projects-section);\n border-radius: 32px;\n padding: 25px;\n height: 100%;\n flex-direction: column;\n}\n.projects-section-line {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-bottom: 32px;\n}\n.projects-section-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 24px;\n color: var(--main-color);\n}\n.projects-section-header p {\n font-size: 24px;\n line-height: 32px;\n font-weight: 700;\n opacity: 0.9;\n margin: 0;\n}\n.projects-section-header .time {\n font-size: 20px;\n}\n.projects-status {\n display: flex;\n}\n.item-status {\n display: flex;\n flex-direction: column;\n margin-right: 16px;\n}
1\n.item-status:not(:last-child) .status-type:after {\n content: "";\n position: absolute;\n right: 8px;\n top: 50%;\n transform: translatey(-50%);\n width: 6px;\n height: 6px;\n border-radius: 50%;\n border: 1px solid var(--secondary-color);\n}\n.status-number {\n font-size: 24px;\n line-height: 32px;\n font-weight: 700;\n color: var(--main-color);\n}\n.status-type {\n position: relative;\n padding-right: 24px;\n color: var(--secondary-color);\n}\n.view-actions {\n display: flex;\n align-items: center;\n}\n.view-btn {\n width: 36px;\n height: 36px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 6px;\n border-radius: 4px;\n background-color: transparent;\n border: none;\n color: var(--main-color);\n margin-left: 8px;\n transition: 0.2s;\n}\n.view-btn.active {\n background-color: var(--link-color-active-bg);\n color: var(--link-color-active);\n}\n.view-btn:not(.active):hover {\n background-color: var(--link-color-hover);\n color: var(--link-color-active);\n}\n.messages-section {\n flex-shrink: 0;\n padding-bottom: 32px;\n background-color: var(--projects-section);\n margin-left: 24px;\n flex: 1;\n width: 100%;\n border-radius: 30px;\n position: relative;\n overflow: auto;\n transition: all 300ms cubic-bezier(0.19, 1, 0.56, 1);\n}\n.messages-section .messages-close {\n position: absolute;\n top: 12px;\n right: 12px;\n z-index: 3;\n border: none;\n background-color: transparent;\n color: var(--main-color);\n display: none;\n}\n.messages-section.show {\n transform: translateX(0);\n opacity: 1;\n margin-left: 0;\n}\n.messages-section .projects-section-header {\n top: 0;\n z-index: 1;\n padding: 32px 24px 0 24px;\n background-color: var(--projects-section);\n}\n.message-box {\n border-top: 1px solid var(--message-box-border);\n padding: 16px;\n display: flex;\n align-items: flex-start;\n width: 100%;\n}\n.message-box:hover {\n background-color: var(--message-box-hover);\n border-top-color: var(--link-color-hover);\n}\n.message-box:hover + .message-box {\n border-top-color: var(--link-color-hover);\n}\n.message-box img {\n border-radius: 50%;\n object-fit: cover;\n width: 40px;\n height: 40px;\n}\n.message-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n}\n.message-header .name {\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n color: var(--main-color);\n margin: 0;\n}\n.message-content {\n padding-left: 16px;\n width: 100%;\n}\n.star-checkbox input {\n opacity: 0;\n position: absolute;\n width: 0;\n height: 0;\n}\n.star-checkbox label {\n width: 24px;\n height: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n.dark .star-checkbox {\n color: var(--secondary-color);\n}\n.dark .star-checkbox input:checked + label {\n color: var(--star);\n}\n.star-checkbox input:checked + label svg {\n fill: var(--star);\n transition: 0.2s;\n}\n.message-line {\n font-size: 14px;\n line-height: 20px;\n margin: 8px 0;\n color: var(--secondary-color);\n opacity: 0.7;\n}\n.message-line.time {\n text-align: right;\n margin-bottom: 0;\n}\n.project-boxes {\n overflow-y: auto;\n border-radius: 0.5rem !important;\n}\n.project-boxes.jsGridView {\n flex-wrap: wrap;\n}\n.project-boxes.jsGridView .project-box-wrapper {\n width: 25%;\n opacity: 0.9;\n}\n.project-boxes.jsListView .project-box {\n display: flex;\n position: relative;\n}\n.project-boxes.jsListView .project-box > * {\n margin-right: 24px;\n}\n.project-boxes.jsListView .more-wrapper {\n position: absolute;\n right: 16px;\n top: 16px;\n}\n.project-boxes.jsListView .project-box-content-header {\n order: 1;\n max-width: 120px;\n}\n.project-boxes.jsListView .project-box-header {\n order: 2;\n}\n.project-boxes.jsListView .project-box-footer {\n order: 3;\n padding-top: 0;\n flex-direction: column;\n justify-content: flex-start;\n}\n.project-boxes.jsListView .project-box-footer:after {\n display: none;\n}\n.project-boxes.jsListView .participants {\n margin-bottom: 8px;\n}\n.project-boxes.jsListView .project-box-content-header p {\n text-align: left;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.project-boxes.jsListView .project-box-header > span {\n position: absolute;\n bottom: 16px;\n left: 16px;\n font-size: 12px;\n}\n.project-boxes.jsListView .box-progress-wrapper {\n order: 3;\n flex: 1;\n}\n.project-box {\n padding: 16px;\n background-color: #fff !important;\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.16) !important;\n border: 1px solid rgba(0, 0, 0, 0.05) !important;\n}\n.project-box-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 16px;\n color: var(--main-color);\n}\n.project-box-header span {\n color: #4a4a4a;\n opacity: 0.7;\n font-size: 14px;\n line-height: 16px;\n}\n.project-box-content-header {\n text-align: center;\n margin-bottom: 16px;\n}\n.project-box-content-header p {\n margin: 0;\n}\n.project-box-wrapper {\n padding: 8px;\n transition: 0.2s;\n}\n.project-btn-more {\n padding: 0;\n height: 14px;\n width: 24px;\n height: 24px;\n position: relative;\n background-color: transparent;\n border: none;\n flex-shrink: 0;\n color: white;\n /*&:after, &:before {\n content: \'\';\n position: absolute;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background-color: var(--main-color);\n opacity: .8;\n left: 50%;\n transform: translatex(-50%);\n }\n\n &:before { top: 0;}\n &:after { bottom: 0; }*/\n}\n.more-wrapper {\n position: relative;\n}\n.box-content-header {\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n color: #a00000;\n}\n.box-content-subheader {\n font-size: 14px;\n line-height: 24px;\n color: #3a3a3a;\n}\n.box-progress {\n display: block;\n height: 4px;\n border-radius: 6px;\n}\n.box-progress-bar {\n width: 100%;\n height: 4px;\n border-radius: 6px;\n overflow: hidden;\n background-color: #fff;\n margin: 8px 0;\n}\n.box-progress-header {\n font-size: 14px;\n font-weight: 700;\n line-height: 16px;\n margin: 0;\n}\n.box-progress-percentage {\n text-align: right;\n margin: 0;\n font-size: 14px;\n font-weight: 700;\n line-height: 16px;\n}\n.project-box-footer {\n display: flex;\n justify-content: space-between;\n padding-top: 16px;\n position: relative;\n}
1\n.project-box-footer:after {\n content: "";\n position: absolute;\n background-color: rgba(255, 255, 255, 0.6);\n width: calc(100% + 32px);\n top: 0;\n left: -16px;\n height: 1px;\n}\n.participants {\n display: flex;\n align-items: center;\n}\n.participants img {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n overflow: hidden;\n object-fit: cover;\n}\n.participants img:not(:first-child) {\n margin-left: -8px;\n}\n.days-left {\n font-size: 12px;\n border-radius: 20px;\n flex-shrink: 0;\n padding: 6px 16px;\n}\n@media screen and (max-width: 980px) {\n .project-boxes.jsGridView .project-box-wrapper {\n width: 50%;\n }\n\n .status-number,\n.status-type {\n font-size: 14px;\n }\n\n .status-type:after {\n width: 4px;\n height: 4px;\n }\n\n .item-status {\n margin-right: 0;\n }\n}\n@media screen and (max-width: 880px) {\n .messages-section {\n transform: translateX(100%);\n position: absolute;\n opacity: 0;\n top: 0;\n z-index: 2;\n height: 100%;\n width: 100%;\n }\n .messages-section .messages-close {\n display: block;\n }\n\n .messages-btn {\n display: flex;\n }\n}\n@media screen and (max-width: 720px) {\n .app-name,\n.profile-btn span {\n display: none;\n }\n\n .add-btn,\n.notification-btn,\n.mode-switch {\n width: 20px;\n height: 20px;\n }\n .add-btn svg,\n.notification-btn svg,\n.mode-switch svg {\n width: 16px;\n height: 16px;\n }\n\n .app-header-right button {\n margin-left: 4px;\n }\n}\n@media screen and (max-width: 520px) {\n .projects-section {\n overflow: auto;\n }\n\n .project-boxes {\n overflow-y: visible;\n }\n\n .app-sidebar,\n.app-icon {\n display: none;\n }\n\n .app-content {\n padding: 16px 12px 24px 12px;\n }\n\n .status-number,\n.status-type {\n font-size: 10px;\n }\n\n .view-btn {\n width: 24px;\n height: 24px;\n }\n\n .app-header {\n padding: 16px 10px;\n }\n\n .search-input {\n max-width: 120px;\n }\n\n .project-boxes.jsGridView .project-box-wrapper {\n width: 100%;\n }\n\n .projects-section {\n padding: 24px 16px 0 16px;\n }\n\n .profile-btn img {\n width: 24px;\n height: 24px;\n }\n\n .app-header {\n padding: 10px;\n }\n\n .projects-section-header p,\n.projects-section-header .time {\n font-size: 18px;\n }\n\n .status-type {\n padding-right: 4px;\n }\n .status-type:after {\n display: none;\n }\n\n .search-input {\n font-size: 14px;\n }\n\n .messages-btn {\n top: 48px;\n }\n\n .box-content-header {\n font-size: 12px;\n line-height: 16px;\n }\n\n .box-content-subheader {\n font-size: 12px;\n line-height: 16px;\n color: white;\n }\n\n .project-boxes.jsListView .project-box-header > span {\n font-size: 10px;\n }\n\n .box-progress-header {\n font-size: 12px;\n color: white !important;\n }\n\n .box-progress-percentage {\n font-size: 10px;\n color: #205623;\n }\n\n .days-left {\n font-size: 8px;\n padding: 6px 6px;\n text-align: center;\n }\n\n .project-boxes.jsListView .project-box > * {\n margin-right: 10px;\n }\n\n .project-boxes.jsListView .more-wrapper {\n right: 2px;\n top: 10px;\n }\n}\n#chart2 {\n max-width: 250px;\n min-width: 250px;\n max-height: 200px;\n min-height: 200px;\n position: relative;\n}\n#chart {\n max-height: 200px;\n min-height: 200px;\n position: relative;\n}\n.project-boxes {\n border-radius: 0.5rem !important;\n}\n.project-boxes.jsGridView {\n flex-wrap: wrap;\n}\n.project-boxes.jsGridView .project-box-wrapper {\n width: 25%;\n opacity: 0.9;\n}\n.project-boxes.jsListView .project-box {\n display: flex;\n position: relative;\n}\n.project-boxes.jsListView .project-box > * {\n margin-right: 24px;\n}\n.project-boxes.jsListView .more-wrapper {\n position: absolute;\n right: 16px;\n top: 16px;\n}\n.project-boxes.jsListView .project-box-content-header {\n order: 1;\n max-width: 120px;\n}\n.project-boxes.jsListView .project-box-header {\n order: 2;\n}\n.project-boxes.jsListView .project-box-footer {\n order: 3;\n padding-top: 0;\n flex-direction: column;\n justify-content: flex-start;\n}\n.project-boxes.jsListView .project-box-footer:after {\n display: none;\n}\n.project-boxes.jsListView .participants {\n margin-bottom: 8px;\n}\n.project-boxes.jsListView .project-box-content-header p {\n text-align: left;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.project-boxes.jsListView .project-box-header > span {\n position: absolute;\n bottom: 16px;\n left: 16px;\n font-size: 12px;\n}\n.project-boxes.jsListView .box-progress-wrapper {\n order: 3;\n flex: 1;\n}\n.project-box {\n padding: 16px;\n background-color: white !important;\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.6) !important;\n border: 1px solid rgba(0, 0, 0, 0.05) !important;\n}\n.project-box-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 16px;\n color: var(--main-color);\n}\n.project-box-header span {\n color: #4A4A4A;
1\n opacity: 0.7;\n font-size: 14px;\n line-height: 16px;\n}\n.project-box-content-header {\n text-align: center;\n margin-bottom: 16px;\n}\n.project-box-content-header p {\n margin: 0;\n}\n.project-box-wrapper {\n padding: 8px;\n transition: 0.2s;\n}\n.project-btn-more {\n padding: 0;\n height: 14px;\n width: 24px;\n height: 24px;\n position: relative;\n background-color: transparent;\n border: none;\n flex-shrink: 0;\n color: white;\n /*&:after, &:before {\n content: \'\';\n position: absolute;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background-color: var(--main-color);\n opacity: .8;\n left: 50%;\n transform: translatex(-50%);\n }\n\n &:before { top: 0;}\n &:after { bottom: 0; }*/\n}\n.more-wrapper {\n position: relative;\n}\n.box-content-header {\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n color: #a00000;\n}\n.box-content-subheader {\n font-size: 14px;\n line-height: 24px;\n color: #3a3a3a;\n}\n.box-progress {\n display: block;\n height: 4px;\n border-radius: 6px;\n}\n.box-progress-bar {\n width: 100%;\n height: 4px;\n border-radius: 6px;\n overflow: hidden;\n background-color: #fff;\n margin: 8px 0;\n}\n.box-progress-header {\n font-size: 14px;\n font-weight: 700;\n line-height: 16px;\n margin: 0;\n}\n.box-progress-percentage {\n text-align: right;\n margin: 0;\n font-size: 14px;\n font-weight: 700;\n line-height: 16px;\n}\n.project-box-footer {\n display: flex;\n justify-content: space-between;\n padding-top: 16px;\n position: relative;\n}
1\n.project-box-footer:after {\n content: "";\n position: absolute;\n background-color: rgba(255, 255, 255, 0.6);\n width: calc(100% + 32px);\n top: 0;\n left: -16px;\n height: 1px;\n}\n.participants {\n display: flex;\n align-items: center;\n}\n.participants img {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n overflow: hidden;\n object-fit: cover;\n}\n.participants img:not(:first-child) {\n margin-left: -8px;\n}\n.add-participant {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n border: none;\n background-color: black;\n margin-left: 6px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0;\n}\n.days-left {\n background-color: rgba(255, 255, 255, 0.6);\n font-size: 12px;\n border-radius: 20px;\n flex-shrink: 0;\n padding: 6px 16px;\n font-weight: 700;\n}\n.mode-switch.active .moon {\n fill: var(--main-color);\n}\n.messages-btn {\n border-radius: 4px 0 0 4px;\n position: absolute;\n right: 0;\n top: 58px;\n background-color: var(--message-btn);\n border: none;\n color: var(--main-color);\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 4px;\n display: none;\n}\n@media screen and (max-width: 980px) {\n .project-boxes.jsGridView .project-box-wrapper {\n width: 50%;\n }\n\n .status-number, .status-type {\n font-size: 14px;\n }\n\n .status-type:after {\n width: 4px;\n height: 4px;\n }\n\n .item-status {\n margin-right: 0;\n }\n}\n@media screen and (max-width: 880px) {\n .messages-section {\n transform: translateX(100%);\n position: absolute;\n opacity: 0;\n top: 0;\n z-index: 2;\n height: 100%;\n width: 100%;\n }\n .messages-section .messages-close {\n display: block;\n }\n\n .messages-btn {\n display: flex;\n }\n}\n@media screen and (max-width: 720px) {\n .app-name, .profile-btn span {\n display: none;\n }\n\n .add-btn, .notification-btn, .mode-switch {\n width: 20px;\n height: 20px;\n }\n .add-btn svg, .notification-btn svg, .mode-switch svg {\n width: 16px;\n height: 16px;\n }\n\n .app-header-right button {\n margin-left: 4px;\n }\n}\n@media screen and (max-width: 520px) {\n .projects-section {\n overflow: auto;\n }\n\n .app-sidebar, .app-icon {\n display: none;\n }\n\n .app-content {\n padding: 16px 12px 24px 12px;\n }\n\n .status-number, .status-type {\n font-size: 10px;\n }\n\n .view-btn {\n width: 24px;\n height: 24px;\n }\n\n .app-header {\n padding: 16px 10px;\n }\n\n .search-input {\n max-width: 120px;\n }\n\n .project-boxes.jsGridView .project-box-wrapper {\n width: 100%;\n }\n\n .projects-section {\n padding: 24px 16px 0 16px;\n }\n\n .profile-btn img {\n width: 24px;\n height: 24px;\n }\n\n .app-header {\n padding: 10px;\n }\n\n .projects-section-header p,\n.projects-section-header .time {\n font-size: 18px;\n }\n\n .status-type {\n padding-right: 4px;\n }\n .status-type:after {\n display: none;\n }\n\n .search-input {\n font-size: 14px;\n }\n\n .messages-btn {\n top: 48px;\n }\n\n .box-content-header {\n font-size: 12px;\n line-height: 16px;\n }\n\n .box-content-subheader {\n font-size: 12px;\n line-height: 16px;\n color: white;\n }\n\n .project-boxes.jsListView .project-box-header > span {\n font-size: 10px;\n }\n\n .box-progress-header {\n font-size: 12px;\n color: white !important;\n }\n\n .box-progress-percentage {\n font-size: 10px;\n color: #205623;\n }\n\n .days-left {\n font-size: 8px;\n padding: 6px 6px;\n text-align: center;\n }\n\n .project-boxes.jsListView .project-box > * {\n margin-right: 10px;\n }\n\n .project-boxes.jsListView .more-wrapper {\n right: 2px;\n top: 10px;\n }\n}\n#chart2 {\n max-width: 250px;\n min-width: 250px;\n max-height: 200px;\n min-height: 200px;\n position: relative;\n}\n#chart {\n max-height: 200px;\n min-height: 200px;\n position: relative;\n}\n/*\n * Off Canvas sidebar at medium breakpoint\n * --------------------------------------------------\n */\n.card {\n overflow: hidden;\n border: 0px solid transparent !important;\n border-radius: 0.25rem !important;\n}\n.card-body .rotate {\n z-index: 8;\n float: right;\n height: 100%;\n}\n.card-body .rotate i {\n color: whitesmoke;\n position: absolute;\n left: 0;\n left: auto;\n right: -10px;\n bottom: 0;\n display: block;\n transform: rotate(-44deg);\n}\n.row {\n flex-wrap: initial !important;\n}\n.total-stats {\n margin-top: 20px;\n}\n.total-stats .col-md-6:nth-child(3) .stats-card h3 small i.fa {\n padding: 2px 4px 0;\n}\n.total-stats .col-md-6 .stats-card {\n background: white;\n padding: 50px 10px;\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.8) !important;\n border: 1px solid rgba(0, 0, 0, 0.05) !important;\n}\n.total-stats .col-md-6 .stats-card span {\n display: inline-block;\n border-radius: 50%;\n vertical-align: bottom;\n}\n.total-stats .col-md-6 .stats-card span i.fa {\n border: 1px solid white;\n padding: 20px 17px;\n border-radius: 50%;\n color: white;\n}\n.total-stats .col-md-6 .stats-card .orange-chart {\n background: #a00000;\n border: 5px solid #a50000;\n}\n.total-stats .col-md-6 .stats-card .purple-chart {\n background: #a00000;\n border: 5px solid #d30000;\n}\n.total-stats .col-md-6 .stats-card .red-chart {\n background: black;\n border: 5px solid black;\n}\n.total-stats .col-md-6 .stats-card .green-chart {\n background: black;\n border: 5px solid black;\n}\n.total-stats .col-md-6 .stats-card h3 {\n display: inline-block;\n font-weight: bold;\n padding-left: 20px;\n}\n.total-stats .col-md-6 .stats-card h3 small {\n font-size: small;\n}\n.total-stats .col-md-6 .stats-card h3 small i.fa {\n background: white;\n color: white;\n vertical-align: super;\n border-radius: 50%;\n padding: 0 4px 2px;\n}\n.litle-card {\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.8) !important;\n background-color: #fff !important;\n border: 1px solid rgba(0, 0, 0, 0.05) !important;\n}\n.litle-card p {\n color: black;\n}\n.litle-card h5 {\n color: black;\n}\n.litle-card i {\n color: #000000 !important;\n}\n.litle-card-red {\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.6) !important;\n}']})],Pg);(0,Q.p6)(new Date,"yyyy/MM/dd","en");let Ig=class{constructor(t,e,a,r){this.datepipe=t,this.categoriesService=e,this.productService=a,this.chainService=r,this.store_id=parseInt(localStorage.getItem("store_id")),this.chain_id=parseInt(localStorage.getItem("chainInit")),this.Series=[],this.categories=[],this.barchart=!1,this.linechart=!0,this.SeriesB=[],this.categoriesB=[],this.formData=new FormData}ngOnInit(){this.onGetChainsList();var t=new Date,e=new Date(t.getFullYear(),t.getMonth(),t.getDate()-7);this.onGetSalesTurnover(this.chain_id,e,t),this.onGetgrossProfit(this.chain_id,e,t),this.linechart=!0,this.chartOptions={series:[{name:"Turnover",data:this.Series}],chart:{height:350,type:"bar"},plotOptions:{bar:{dataLabels:{position:"top"}}},xaxis:{categories:this.categories,position:"top",labels:{offsetY:-18},axisBorder:{show:!1},axisTicks:{show:!1}
1,crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0,offsetY:-35}},fill:{type:"gradient",gradient:{shade:"light",type:"horizontal",shadeIntensity:.25,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1}},yaxis:{axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1}}},this.chart2Options={series:[{name:"Sales",data:this.Series}],chart:{height:350,type:"area"},dataLabels:{enabled:!1},stroke:{curve:"smooth"},xaxis:{type:"datetime",categories:this.categories}},this.chart3Options={series:[{name:"Profit",data:[10,20]}],chart:{height:350,type:"bar"},plotOptions:{bar:{dataLabels:{position:"bottom"}}},xaxis:{categories:this.categoriesB,position:"top",labels:{offsetY:-18},axisBorder:{show:!1},axisTicks:{show:!1},crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0,offsetY:-35}},fill:{type:"gradient",gradient:{shade:"light",type:"horizontal",shadeIntensity:.25,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1}},yaxis:{axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1}}},this.getCategoriesList()}onGetChainsList(){return this.chainService.getChainsList().subscribe(t=>{this.chainsList=t,this.chainData=this.chainsList.data,this.chainInit=this.chainData[0].id,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}getCategoriesList(){this.categoriesService.getCategories().subscribe(t=>{this.categoriesList=t,this.categoryData=this.categoriesList.data})}onGetSalesTurnover(t,e,a){this.Series=[],this.categories=[];var o={start:this.datepipe.transform(e,"yyyy-MM-dd"),end:this.datepipe.transform(a,"yyyy-MM-dd"),chain_id:t,store_id:this.store_id};this.productService.getStatSalesTurnover(o).subscribe(s=>{this.productsList=s,this.productsData=this.productsList.data,this.productsData.days.forEach(l=>{this.Series.push(l.total),this.categories.push(l.period)}),this.chart2Options={...this.chart2Options,series:[{name:"Turnover",data:this.Series}],xaxis:{categories:this.categories}},this.chartOptions={...this.chartOptions,series:[{name:"Turnover",data:this.Series}],xaxis:{categories:this.categories}}},s=>{console.log(s)})}toFormData(t){const e=new FormData;for(const a of Object.keys(t)){const r=t[a];e.append(a,r)}return e}barChart(){this.barchart=!0,this.linechart=!1}lineChart(){this.linechart=!0,this.barchart=!1}onGetgrossProfit(t,e,a){this.SeriesB=[],this.categoriesB=[];var o={start:this.datepipe.transform(e,"yyyy-MM-dd"),end:this.datepipe.transform(a,"yyyy-MM-dd"),chain_id:t,store_id:this.store_id};this.productService.getStatSalesProfit(o).subscribe(s=>{this.productList=s,this.productData=this.productList.data,this.productData.days.forEach(l=>{this.SeriesB.push(l.total),this.categoriesB.push(l.period)}),this.chart3Options={...this.chart3Options,series:[{name:"Profit",data:[10,20]}],xaxis:{categories:this.categoriesB}}},s=>{console.log(s)})}};Ig.ctorParameters=()=>[{type:Q.uU},{type:Ee.G},{type:Je.r},{type:Oe.l}],Ig.propDecorators={chart:[{type:m.i9L,args:["chart"]}],chart2:[{type:m.i9L,args:["chart2"]}],chart3:[{type:m.i9L,args:["chart3"]}],chart4:[{type:m.i9L,args:["chart4"]}]},Ig=(0,j.gn)([(0,m.wA2)({selector:"app-shop-sales-statistics",template:'<div class="mainContainer">\n <div class="row">\n <div class="col-md-6">\n <mat-card id="chart" class="bg-white rounded-lg p-5 ">\n <h5> {{"Turnover"| translate }} </h5>\n\n <form action="" novalidate>\n <mat-form-field appearance="standard" style="width: 23%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker" #from />\n <mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 23%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker2" #to />\n <mat-datepicker-toggle matSuffix [for]="picker2"></mat-datepicker-toggle>\n <mat-datepicker #picker2></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 23%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain>\n\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n <button mat-raised-button style="background-color: #a00000; color: white"\n (click)="onGetSalesTurnover(chain.value,from.value,to.value)"> {{\'Validate\'|translate}}</button>\n\n </form>\n <div *ngIf="linechart">\n <apx-chart [series]="chart2Options.series" [chart]="chart2Options.chart"\n [xaxis]="chart2Options.xaxis" [stroke]="chart2Options.stroke" [tooltip]="chart2Options.tooltip"\n [dataLabels]="chart2Options.dataLabels"></apx-chart>\n </div>\n <div *ngIf="barchart">\n <apx-chart [series]="chartOptions.series" [chart]="chartOptions.chart"\n [dataLabels]="chartOptions.dataLabels" [plotOptions]="chartOptions.plotOptions"\n [yaxis]="chartOptions.yaxis" [xaxis]="chartOptions.xaxis" [fill]="chartOptions.fill"\n [title]="chartOptions.title"></apx-chart>\n </div>\n <div style="text-align: center;">\n <button mat-button color="primary" (click)="lineChart()">{{\'Line chart\'|translate}}\n <mat-icon> show_chart</mat-icon>\n </button>\n <button mat-button color="accent" (click)="barChart()">{{\'Bar chart\'|translate}}\n <mat-icon> bar_chart</mat-icon>\n </button>\n </div>\n </mat-card>\n </div>\n <div class="col-md-6">\n <mat-card id="chart" class="bg-white rounded-lg p-5 ">\n <h5> {{"Gross Profit"| translate }} </h5>\n\n <form action="" novalidate>\n <mat-form-field appearance="standard" style="width: 23%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker3" #fromdate />\n <mat-datepicker-toggle matSuffix [for]="picker3"></mat-datepicker-toggle>\n <mat-datepicker #picker3></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 23%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker4" #todate />\n <mat-datepicker-toggle matSuffix [for]="picker4"></mat-datepicker-toggle>\n <mat-datepicker #picker4></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 23%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n <button mat-raised-button style="background-color: #a00000; color: white"\n (click)="onGetgrossProfit(chain_id.value,fromdate.value,todate.value)"> {{\'Validate\'|translate}}</button>\n\n </form>\n \x3c!-- <div *ngIf="linechart">\n <apx-chart [series]="chart2Options.series" [chart]="chart2Options.chart"\n [xaxis]="chart2Options.xaxis" [stroke]="chart2Options.stroke" [tooltip]="chart2Options.tooltip"\n [dataLabels]="chart2Options.dataLabels"></apx-chart>\n </div>\n <div *ngIf="barchart"> --\x3e\n <apx-chart [series]="chart3Options.series" [chart]="chart3Options.chart"\n [dataLabels]="chartOptions.dataLabels" [plotOptions]="chart3Options.plotOptions"\n [yaxis]="chart3Options.yaxis" [xaxis]="chart3Options.xaxis" [fill]="chart3Options.fill"\n [title]="chart3Options.title"></apx-chart>\n \x3c!-- </div> --\x3e\n <div style="text-align: center;">\n <button mat-button color="primary" >{{\'Line chart\'|translate}}\n <mat-icon> show_chart</mat-icon>\n </button>\n <button mat-button color="accent" >{{\'Bar chart\'|translate}}\n <mat-icon> bar_chart</mat-icon>\n </button>\n </div>\n </mat-card>\n </div>\n\n\n </div>\n</div>',styles:[".mat-raised-button {\n padding: 8px 8px 8px 8px;\n}\n\n.mainContainer {\n margin: 20px 20px 20px 20px;\n}\n\n.mat-button {\n padding: 8px 8px 8px 8px;\n}"]})],Ig);const XZ=function ZZ(n){return function(t,e,a){var r=Object(t);if(!wu(t)){var i=Bb(e,3);t=Zr(t),e=function(s){return i(r[s],s,r)}}var o=n(t,e,a);return o>-1?r[i?t[o]:o]:void 0}};const VO=function YZ(n,t,e,a){for(var r=n.length,i=e+(a?1:-1);a?i--:++i<r;
1)if(t(n[i],i,n))return i;return-1};var QZ=/\s/;const tX=function $Z(n){for(var t=n.length;t--&&QZ.test(n.charAt(t)););return t};var eX=/^\s+/;const aX=function nX(n){return n&&n.slice(0,tX(n)+1).replace(eX,"")};var rX=/^[-+]0x[0-9a-f]+$/i,iX=/^0b[01]+$/i,oX=/^0o[0-7]+$/i,sX=parseInt;const cX=function lX(n){if("number"==typeof n)return n;if(qb(n))return NaN;if(Ha(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=Ha(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=aX(n);var e=iX.test(n);return e||oX.test(n)?sX(n.slice(2),e?2:8):rX.test(n)?NaN:+n};const pX=function uX(n){return n?Infinity===(n=cX(n))||-Infinity===n?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0};const mX=function hX(n){var t=pX(n),e=t%1;return t==t?e?t-e:t:0};var fX=Math.max;var vX=XZ(function gX(n,t,e){var a=null==n?0:n.length;if(!a)return-1;var r=null==e?0:mX(e);return r<0&&(r=fX(a+r,0)),VO(n,Bb(t,3),r)});const qO=vX;const yX=function AX(n,t){return eO(tO(n,t,ak),n+"")};const _X=function bX(n){return n!=n};const SX=function xX(n,t,e){for(var a=e-1,r=n.length;++a<r;)if(n[a]===t)return a;return-1};const kX=function wX(n,t,e){return t==t?SX(n,t,e):VO(n,_X,e)};const DX=function CX(n,t,e,a){for(var r=e-1,i=n.length;++r<i;)if(a(n[r],t))return r;return-1};var HO=Array.prototype.splice;const IX=function PX(n,t,e,a){var r=a?DX:kX,i=-1,o=t.length,s=n;for(n===t&&(t=uc(t)),e&&(s=ek(n,_i(e)));++i<o;)for(var l=0,c=t[i],d=e?e(c):c;(l=r(s,d,l,a))>-1;)s!==n&&HO.call(s,l,1),HO.call(n,l,1);return n};var OX=yX(function MX(n,t){return n&&n.length&&t&&t.length?IX(n,t):n});const BO=OX;var Pk=F(58425);let Xp=class{constructor(t,e,a,r,i,o,s,l,c,d,u,h,f,v){this.router=t,this.route=e,this.message=a,this.translate=r,this.formBuilder=s,this.productshopSerivce=l,this.dialog=c,this.dialogref=d,this.data=u,this.datepipe=h,this.imageService=f,this.loadingService=v,this.displayedColumns=["name","value","unite"],this.dataSource=new $e.by,this.tags=[],this.showbtnbarecode=!1,this.currentId="",this.images=[],this.manPurSubmit=new m.vpe,this.dataforProduct=[],this.maximumImageSize=6,this.blockAdd=!1,this.newPRodsList=[],this.loadingService.openDialog(),this.setupForm(),this.mobileQuery=i.matchMedia("(max-width: 576px)"),this.mobileQueryListener=()=>o.detectChanges(),this.mobileQuery.addEventListener("change",this.mobileQueryListener),this.route.queryParams.subscribe(A=>{console.log("params:",A),A.copyId&&this.getInitData(A.copyId)})}ngOnInit(){this.form=this.formBuilder.group({tag:[void 0]}),this.currentId=this.route.snapshot.params.id,this.initData()}focusTagInput(){this.tagInputRef.nativeElement.focus()}onKeyUp(t){const e=this.form.controls.tag.value;
1"Backspace"!==t.code||e?("Comma"===t.code||"Space"===t.code)&&(this.addTag(e),this.form.controls.tag.setValue("")):this.removeTag()}addTag(t){(","===t[t.length-1]||" "===t[t.length-1])&&(t=t.slice(0,-1)),t.length>0&&!qO(this.tags,t)&&this.tags.push(t)}removeTag(t){t?BO(this.tags,t):this.tags.splice(-1)}testAddProd(){this.manPurSubmit.emit()}ngAfterViewInit(){this.adjustMatStepperPadding()}ngOnDestroy(){this.mobileQuery.removeEventListener("change",this.mobileQueryListener)}initData(){this.basicInformationForm.patchValue({chain_id:this.dataforProduct.chain_id,supplier_id:this.dataforProduct.supplier_id})}adjustMatStepperPadding(){document.querySelectorAll(".mat-horizontal-stepper-header").forEach(t=>{t.classList.add("px-0")}),document.querySelectorAll(".mat-horizontal-content-container").forEach(t=>{t.classList.add("px-0")})}setupForm(t){this.basicInformationForm=this.formBuilder.group({product_name:[t?t.product_name:"",V.kI.required],product_name2:[t?t.product_name2:""],product_number:[t?t.product_number:""],product_description:[t?t.product_description:""],product_quantity:[t?t.product_quantity:"",this.router.url.includes("purchase/manual-purchase/add")||this.router.url.includes("purchase/manual-purchase/edit")?null:V.kI.required],range_id:[t?t.range_id:""],barcode:[t?t.barcode:"",V.kI.required],barcode2:[t?t.barcode:""],cost_price:[t?t.cost_price:"",V.kI.required],unit_price:[t?t.unit_price:"",V.kI.required],tax_rate:[t?t.tax_rate:"",V.kI.required],member_price:[t?t.member_price:""],unit_per_box:[t?t.unit_per_box:null],unit_per_package:[t?t.unit_per_package:null],warn_quantity:[t?t.warn_quantity:"",this.router.url.includes("purchase/manual-purchase/add")||this.router.url.includes("purchase/manual-purchase/edit")?null:V.kI.required],max_warn_quantity:[t?t.max_warn_quantity:"",this.router.url.includes("purchase/manual-purchase/add")||this.router.url.includes("purchase/manual-purchase/edit")?null:V.kI.required],expired_date:[t?t.expired_date:""],supplier_id:[t?t.supplier_id:""],chain_id:[t?t.chain_id:"",V.kI.required],category_id:[t?t.category_id:"",this.router.url.includes("purchase/manual-purchase/add")||this.router.url.includes("purchase/manual-purchase/edit")?null:V.kI.required]}),this.loadingService.hideDialog(),console.log("initform:",this.basicInformationForm.value)}get g(){return this.basicInformationForm.controls}count(t){return new Array(t)}selectSupplier(t){this.basicInformationForm.get("supplier_id").setValue(t.id)}selectChain(t){this.basicInformationForm.get("chain_id").setValue(t.id)}selectCategory(t){this.basicInformationForm.get("category_id").setValue(t.id)}btnAddImageClick(){this.images.push({id:"",img_name:"",img_url:""}),this.images.length>=this.maximumImageSize&&(this.blockAdd=!0)}btnChooseImageClick(t){this.dialog.open(Ti,{data:{isDialog:!0}}).afterClosed().subscribe(e=>{e&&(this.images[t]=e)})}btnDeleteImageClick(t){this.images.splice(t,1),this.images.length<this.maximumImageSize&&(this.blockAdd=!1)}btnNextClick(){this.prepareImages().subscribe(t=>{this.stepper.next()})}next(){this.basicInformationForm.invalid?this.message.error(this.translate.instant("product_missingRequireParameters")):this.stepper.next()}prepareImages(){if(0==this.images.length){let t=this.basicInformationForm.value.product_name,e=this.basicInformationForm.value.barcode;return this.imageService.getRelatedImagesByBarcodeAndKeyword(e,t).pipe((0,xr.K)(a=>(0,Ka.of)([])),(0,ya.U)(a=>(a.data.map(r=>{this.images.push({id:r.id,img_name:r.img_name,img_url:r.img_url})}),a)))}return(0,Ka.of)()}btnResetClick(){this.stepper.reset(),(null==this.dataforProduct||null==this.dataforProduct)&&(this.basicInformationForm.get("supplier_id").setValue(""),this.basicInformationForm.get("chain_id").setValue(""),this.supplierSelection.supplier_id.setValue(""),this.chainSelection.chain_id.setValue("")),this.basicInformationForm.get("category_id").setValue(""),this.categorySelection.category_id.setValue(""),this.images=[],this.tags=[],this.blockAdd=!1}btnSaveClick(){let t={product_name:this.basicInformationForm.value.product_name,product_name2:this.basicInformationForm.value.product_name2,product_number:this.basicInformationForm.value.product_number,product_description:this.basicInformationForm.value.product_description,range_id:this.basicInformationForm.value.range_id,barcode:this.basicInformationForm.value.barcode,product_barcode2:JSON.stringify(this.tags),c
1ost_price:this.basicInformationForm.value.cost_price?this.basicInformationForm.value.cost_price:0,unit_price:this.basicInformationForm.value.unit_price?this.basicInformationForm.value.unit_price:0,tax_rate:this.basicInformationForm.value.tax_rate,member_price:this.basicInformationForm.value.member_price,unit_per_box:Number(this.basicInformationForm.value.unit_per_box),unit_per_package:Number(this.basicInformationForm.value.unit_per_package),warn_quantity:this.basicInformationForm.value.warn_quantity,max_warn_quantity:this.basicInformationForm.value.max_warn_quantity,product_quantity:this.basicInformationForm.value.product_quantity,expired_date:this.datepipe.transform(this.basicInformationForm.value.expired_date,"yyyy-MM-dd hh:mm:ss"),supplier_id:this.basicInformationForm.value.supplier_id,chain_id:this.basicInformationForm.value.chain_id,category_id:this.basicInformationForm.value.category_id};if(this.images&&this.images.length>0&&(t.img_name=this.images[0].img_name,t.img_url=this.images[0].img_url,this.images.length>1)){const a=this.images.slice();a.shift();var e=a.filter(r=>""!==r.id);t.images=e}this.productshopSerivce.addNewVersionProduct(t).subscribe(a=>{this.message.success(this.translate.instant("common_add_success")),this.manPurch?(this.newPRodsList=a.data,this.manPurSubmit.emit(a.data),localStorage.setItem("new product",JSON.stringify(this.newPRodsList)),this.dialogref.close(this.newPRodsList)):this.router.navigate(["/shop/products"])},a=>{console.log(a)})}btnGenerateClick(){return this.productshopSerivce.generateBarcode().subscribe(t=>{this.basicInformationForm.get("barcode").setValue(t.data)},t=>{console.log(t)})}getInitData(t){return this.productshopSerivce.getProductById(t).subscribe(e=>{console.log("res:",e),e&&this.loadingService.hideDialog(),e&&e.data&&(e.data[0].product_barcode2=void 0,e.data[0].product_barcode=void 0,delete e.data[0].id,console.log("value:",e.data),this.dataforProduct.chain_id=e.data[0].chain_id,this.dataforProduct.supplier_id=e.data[0].supplier_id,this.setupForm(e.data[0]))},e=>{console.log(e)})}};Xp.ctorParameters=()=>[{type:It.F0},{type:It.gz},{type:ne.I},{type:Y.sK},{type:yo.vx},{type:m.sBO},{type:V.qu},{type:Je.r},{type:St.uw},{type:St.so},{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]},{type:Q.uU},{type:Wf.C},{type:Qe.E}],Xp.propDecorators={tagInputRef:[{type:m.i9L,args:["tagInput"]}],supplierSelection:[{type:m.i9L,args:["supplierSelection",{static:!0}]}],chainSelection:[{type:m.i9L,args:["chainSelection",{static:!0}]}],categorySelection:[{type:m.i9L,args:["categorySelection",{static:!0}]}],stepper:[{type:m.i9L,args:[Pk.ae,{static:!0}]}],manPurSubmit:[{type:m.r_U}],manPurch:[{type:m.IIB}],dataforProduct:[{type:m.IIB}]},Xp=(0,j.gn)([(0,m.wA2)({selector:"app-add-shop-product",template:'<div class="container-fluid">\n <div class="row float-right ">\n <mat-icon style="cursor: pointer" matSuffix (click)="dialog.closeAll()">close</mat-icon>\n </div>\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <mat-horizontal-stepper linear #stepper>\n <mat-step [stepControl]="basicInformationForm">\n <ng-template matStepLabel>{{"Basic information"|translate}}</ng-template>\n <form [formGroup]="basicInformationForm">\n <div class="row">\n <mat-form-field class="col-12 col-sm-6" appearance="outline">\n <mat-label> {{\'common_productName\' | translate}}<sup class="text-primary">*</sup></mat-label>\n <input type="text" matInput placeholder="{{\'common_productName\' | translate}}" id="product_name"\n name="product_name" formControlName="product_name" />\n <mat-error>{{ \'common_productName_required\' | translate }}</mat-error>\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6" appearance="outline">\n <mat-label>{{\'product_name2\' | translate}}</mat-label>\n <input type="text" matInput placeholder="{{\'product_name2\' | translate}}" id="product_name2"\n name="product_name2" formControlName="product_name2" />\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6" appearance="outline">\n <mat-icon matSuffix>add_shopping_cart</mat-icon>\n <mat-label>{{\'common_goodsShelfNo\'| translate}}</mat-label>\n <input type="text" matInput placeholder="{{\'common_goodsShelfNo\'| translate }}" id="range_id"\n name="range_id" formControlName="range_id" />\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6" appearance="outline">\n <mat-label>{{\'product_number\' | translate}}</mat-label>\n <input type="text" matInput placeholder="{{\'product_number\' | translate}}" id="product_number"\n name="product_number" formControlName="product_number" />\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6" appearance="outline">\n <mat-label>{{\'Product Description\' | translate}}</mat-label>\n <input type="text" matInput placeholder="{{\'Product Description\' | translate}}" id="product_description"\n name="product_description" formControlName="product_description" />\n </mat-form-field>\n </div>\n <div class="row">\n\n <mat-form-field class="col-12 col-sm-8" appearance="outline">\n <mat-label>{{\'common_productBarcode\' | translate}}<sup class="text-primary">*</sup></mat-label>\n <mat-icon matSuffix>edit</mat-icon>\n <input type="text" matInput placeholder="{{\'common_productBarcode\' | translate}}" id="barcode"\n name="barcode" formControlName="barcode" />\n <mat-error>{{ \'common_productBarcode_required\' | translate }}</mat-error>\n </mat-form-field>\n \x3c!-- <button type="button" class="btn btn-outline-primary" (click)="showbtnbarecode=!showbtnbarecode">\n <mat-icon *ngIf="!showbtnbarecode" matSuffix>add</mat-icon>\n <mat-icon *ngIf="showbtnbarecode" matSuffix>remove</mat-icon>\n </button> --\x3e\n\n <div class="col-12 col-sm-4 d-flex justify-content-end" [class.pb-4]="!mobileQuery.matches">\n <button type="button" class="btn btn-min-width btn-primary" [class.btn-block]="mobileQuery.matches"\n (click)="btnGenerateClick()">\n <mat-icon class="align-middle">
1qr_code</mat-icon>\n <span class="align-middle ml-1">{{\'generate_barcode\' | translate}}</span>\n </button>\n </div>\n </div>\n \x3c!-- *ngIf="showbtnbarecode" --\x3e\n <div class="row" [formGroup]="form">\n\n <mat-form-field class="col-12" appearance="outline">\n <mat-label>{{\'product_barcode2\' | translate}}</mat-label>\n <p class="d-flex mb-0 ">\n <span class="mx-0 " *ngFor="let tag of tags">\n <div class="card d-flex smb-0 mr-1">\n <p class="px-1 mb-0 d-flex">\n {{tag}} <i class="pt-2 pl-1 fa fa-close text-primary" style="font-size: 10px;"\n (click)="removeTag(tag)"></i>\n </p>\n </div>\n </span>\n <input #tagInput matInput type="tel" id="barcode2" name="barcode2" class="input-tag"\n [(ngModel)]="taginput" placeholder="{{\'product_barcode2\' | translate}}" (keyup)="onKeyUp($event)"\n onfocus="this.placeholder=\'\'" onblur="this.placeholder=\'enter your text\'" formControlName="tag">\n </p>\n </mat-form-field>\n </div>\n <div class="row">\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label>{{\'common_costPrice\' | translate}}<sup class="text-primary">*</sup></mat-label>\n <input type="number" min="0" matInput placeholder="{{\'common_costPrice\' | translate}}" id="cost_price"\n name="cost_price" formControlName="cost_price">\n <mat-error>{{ \'common_costPrice_required\' | translate }}</mat-error>\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label> {{\'common_unitPrice\' | translate}} <sup class="text-primary">*</sup></mat-label>\n <input type="number" min="0" matInput placeholder="{{\'common_unitPrice\' | translate}}" id="unit_price"\n name="unit_price" formControlName="unit_price">\n <mat-error>{{ \'common_unitPrice_required\' | translate }}</mat-error>\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label>{{\'common_memberPrice\' | translate}}</mat-label>\n <input type="text" matInput placeholder="{{\'common_memberPrice\' | translate}}" id="member_price"\n name="member_price" formControlName="member_price">\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label>{{\'common_taxRate\' | translate}}<sup class="text-primary">*</sup></mat-label>\n <mat-select id="tax_rate" name="tax_rate" formControlName="tax_rate">\n <mat-option *ngFor="let number of count(31); let i = index" [value]="i">{{i}}</mat-option>\n </mat-select>\n <mat-error>{{ \'common_taxRate_required\' | translate }}</mat-error>\n </mat-form-field>\n </div>\n <div class="row">\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label> {{\'common_productQuantity\' | translate}}<sup class="text-primary" *ngIf="basicInformationForm.get(\'product_quantity\')?.hasError(\'required\')" >*</sup></mat-label>\n <input type="number" matInput placeholder="{{\'common_productQuantity\' | translate}}" id="product_quantity"\n name="product_quantity" formControlName="product_quantity">\n <mat-error>{{ \'common_productQuantity_required\' | translate }}</mat-error>\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label>{{\'common_warnQuantity\' | translate}}<sup class="text-primary" *ngIf="basicInformationForm.get(\'warn_quantity\')?.hasError(\'required\')" >*</sup></mat-label>\n <input type="number" matInput placeholder="{{\'common_warnQuantity\' | translate}}" id="warn_quantity"\n name="warn_quantity" formControlName="warn_quantity">\n <mat-error>{{ \'common_warnQuantity_required\' | translate }}</mat-error>\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label>{{\'common_maxWarnQuantity\' | translate}}<sup class="text-primary" *ngIf="basicInformationForm.get(\'max_warn_quantity\')?.hasError(\'required\')" >*</sup></mat-label>\n <input type="number" matInput placeholder="{{\'common_maxWarnQuantity\' | translate}}" id="max_warn_quantity"\n name="max_warn_quantity" formControlName="max_warn_quantity">\n <mat-error>{{ \'common_maxWarnQuantity_required\' | translate }}</mat-error>\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label>{{\'common_expiredDate\' | translate}}</mat-label>\n <input matInput [matDatepicker]="dp" placeholder="{{\'common_expiredDate\'|translate}}" id="expired_date"\n name="expired_date" formControlName="expired_date">\n <mat-datepicker-toggle matSuffix [for]="dp"></mat-datepicker-toggle>\n <mat-datepicker #dp></mat-datepicker>\n </mat-form-field>\n </div>\n <div class="row">\n <app-supplier-selection class="col-12 col-sm-6 col-md-4 col-lg-3" [required]="false"\n [ngClass]="{\'disabledClass\':dataforProduct!==null && dataforProduct!==undefined && router.url.includes(\'/purchase/manual-purchase/add\')}"\n (supplierChange)="selectSupplier($event)" #supplierSelection [showAll]="true"\n [selected_id]="dataforProduct.supplier_id"></app-supplier-selection>\n <app-chain-selection class="col-12 col-sm-6 col-md-4 col-lg-3" [required]="true" [showAll]="true"\n [ngClass]="{\'disabledClass\':dataforProduct!==null && dataforProduct!==undefined && router.url.includes(\'/purchase/manual-purchase/add\')}"\n [selected_id]="dataforProduct.chain_id" (chainChange)="selectChain($event)" #chainSelection\n [showAll]="true"></app-chain-selection>\n <app-category-selection class="col-12 col-sm-6 col-md-4 col-lg-3" [required]="basicInformationForm.get(\'category_id\')?.hasError(\'required\')" (categoryChange)="selectCategory($event)"\n #categorySelection [selected_id]="g.category_id.value"></app-category-selection>\n </div>\n <div class="row">\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label> {{\'quantity_per_box\' | translate}}</mat-label>\n <input type="number" matInput placeholder="{{\'quantity_per_box\' | translate}}" id="unit_per_box"\n name="unit_per_box" formControlName="unit_per_box">\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label>{{\'quantity_per_package\' | translate}}</mat-label>\n <input type="number" matInput placeholder="{{\'quantity_per_package\' | translate}}" id="unit_per_package"\n name="unit_per_package" formControlName="unit_per_package">\n </mat-form-field>\n </div>\n <div class="row">\n <div class="col d-flex flex-row-reverse">\n <button class="btn btn-min-width btn-primary mx-2" mat-button\n (click)="next()">{{"common_next"|translate}}</button>\n <button class="btn btn-min-width btn-light mx-2" mat-button\n (click)="btnResetClick()">{{"common_reset"|translate}}</button>\n </div>\n </div>\n </form>\n </mat-step>\n <mat-step #step2 label="Step 2">\n <ng-template matStepLabel>{{"Images"|translate}}</ng-template>\n <div class="row">\n <div class="col-12 col-sm-12 col-md-6 col-lg-3 d-flex flex-column" *ngFor="let image of images; let i = index;">\n <div class="card flex-grow-1 mb-3">\n <img *ngIf="image.img_url != \'\'" [src]="image.img_url" class="card-img-top bg-light card-image" alt="">\n <img *ngIf="image.img_url == \'\'" src="/assets/images/logo2.png" class="card-img-top bg-light card-image"\n alt="">\n <div class="card-body align-items-center">\n <div class="w-100 h-100 d-flex justify-content-center">\n <div class="h-100 d-flex justify-content-center">\n <button mat-mini-fab color="primary" class="mx-2" (click)="btnChooseImageClick(i)">\n <mat-icon>edit</mat-icon>\n </button>\n <button mat-mini-fab color="primary" class="mx-2" (click)="btnDeleteImageClick(i)">\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="col-12 col-sm-12 col-md-6 col-lg-3 d-flex flex-column" *ngIf="!blockAdd">\n <div class="card flex-grow-1 mb-3 image-card-min-height">\n <div class="card-body align-items-center">\n <div class="w-100 h-100 d-flex justify-content-center">\n <div class="h-100 d-flex flex-column justify-content-center">\n <button mat-fab color="primary" (click)="btnAddImageClick()">\n <mat-icon>
1add_circle_outline</mat-icon>\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col d-flex flex-row-reverse">\n <button class="btn btn-min-width btn-primary mx-2" mat-button type="submit"\n (click)="btnSaveClick()">{{"common_save"|translate}}</button>\n\n\n <button class="btn btn-min-width btn-light mx-2" mat-button\n matStepperPrevious>{{"common_previous"|translate}}</button>\n <button class="btn btn-min-width btn-light mx-2" mat-button\n (click)="btnResetClick()">{{"common_reset"|translate}}</button>\n </div>\n </div>\n </mat-step>\n </mat-horizontal-stepper>\n</div>\n',styles:[".attribute-card-min-height {\n min-height: 164px;\n}\n\n.image-card-min-height {\n min-height: 280px;\n}\n\n.prepend-width {\n text-align: right;\n}\n\n.prepend-width span {\n width: 70px;\n}\n\n.card-image {\n height: 200px;\n object-fit: contain;\n}"]})],Xp);var Hc=F(74692);let Bc=class{constructor(t,e,a,r,i,o,s,l,c,d){this.data=t,this.categoryService=e,this.formBuilder=a,this.message=r,this.sanitizer=i,this.router=l,this.route=c,this.translate=d,this.numberRegEx=/\-?\d*\.?\d{1,2}/,this.showImage=!1,this.profileUrl="",this.parent_category_id=null,this.locales=Dk.N.supportedLocales,this.breadCrumbsArr=[],this.setupBreadCrumbs(),this.setupForm(),this.mobileQuery=o.matchMedia("(max-width: 576px)"),this.mobileQueryListener=()=>s.detectChanges(),this.mobileQuery.addEventListener("change",this.mobileQueryListener)}setupBreadCrumbs(){this.route.params.subscribe(t=>{this.parent_category_id=t.parent_id,this.parent_category_id?this.categoryService.getMyCategoryById(this.parent_category_id).subscribe(e=>{this.breadCrumbsArr=[{translateKey:"nav_productMgmt_categoryMgmt"},{translateKey:"nav_productMgmt_categoryMgmt_myCategory",pathName:"/shop/my-categories"},{translateKey:Hc.R.getDisplayName(e,this.translate.currentLang),pathName:`/shop/my-categories/${this.parent_category_id}/sub-categories`},{translateKey:"common_add"}]},e=>{this.breadCrumbsArr=[{translateKey:"nav_productMgmt_categoryMgmt"},{translateKey:"nav_productMgmt_categoryMgmt_myCategory",pathName:"/shop/my-categories"},{translateKey:"common_add"}]}):this.breadCrumbsArr=[{translateKey:"nav_productMgmt_categoryMgmt"},{translateKey:"nav_productMgmt_categoryMgmt_myCategory",pathName:"/shop/my-categories"},{translateKey:"common_add"}]})}ngOnInit(){this.categoryService.getPresentList().subscribe(t=>{this.lastestPresentId=t.data,this.categoryForm.patchValue({present_id:this.lastestPresentId})})}ngOnDestroy(){this.mobileQuery.removeEventListener("change",this.mobileQueryListener)}setupForm(t){let e={category_name:[t?t.category_name:"",V.kI.required],tax:[t?t.taxe.toString():"",V.kI.required],present_id:[t?t.present_id.toString():""],category_order:[t?t.category_order.toString():""],category_it:[t?t.category_it:""],category_cn:[t?t.category_cn:""],category_fr:[t?t.category_fr:""],image:[""]};this.locales.forEach(a=>{e[a.value]=[t&&t.i18n&&t.i18n[a.value]?t.i18n[a.value]:""]}),this.categoryForm=this.formBuilder.group(e),t&&t.img_url&&""!=t.img_url&&(this.profileUrl=t.img_url,this.showImage=!0)}get g(){return this.categoryForm.controls}count(t){return new Array(t)}collectLocaleValue(){let t={};return this.locales.forEach(e=>{this.categoryForm.value[e.value]&&(t[e.value]=this.categoryForm.value[e.value])}),t["en-GB"]||(t["en-GB"]=this.categoryForm.value.category_name),t}addCategory(){if(this.categoryForm.markAllAsTouched(),!this.categoryForm.invalid){let t=new FormData;t.append("category_name",this.categoryForm.value.category_name);let e=this.collectLocaleValue();t.append("i18n",JSON.stringify(e)),t.append("taxe",this.categoryForm.value.tax),t.append("present_id",this.categoryForm.value.present_id),t.append("category_order",this.categoryForm.value.category_order),this.selectedFile&&t.append("image",this.selectedFile.file),t.append("category_it",this.categoryForm.value.category_it),t.append("category_cn",this.categoryForm.value.category_cn),t.append("category_fr",this.categoryForm.value.category_fr),this.parent_category_id&&t.append("parent_category_id",this.parent_category_id),this.categoryService.addCategoryByShop(t).subscribe(a=>{this.message.success(this.translate.instant("common_add_success"));let r="shop/my-categories";this.parent_category_id&&(r+=`/${this.parent_category_id}/sub-categories`),this.router.navigate([r])},a=>{console.log(a)})}}filesDropped(t){t.length>0&&(this.selectedFile=t[0],this.profileUrl=this.selectedFile.url,this.showImage=!0)}getFileChange(t){if(t.target.files.length>0){const e=t.target.files[0],a=this.sanitizer.bypassSecurityTrustUrl(window.URL.createObjectURL(e));this.selectedFile={file:e,url:a},this.profileUrl=this.selectedFile.url,this.showImage=!0}}uploadClick(){document.querySelector('input[type="file"]').click()}handleCancelClick(){let t="shop/my-categories";this.parent_category_id&&(t+=`/${this.parent_category_id}/sub-categories`),this.router.navigate([t])}handleCategoryChange(t){t&&""!==t.id?Number(t.id)===Number(this.currentId)?(this.message.error(this.translate.instant("Cannot set category as its own parent.")),this.selectedParentCategoryId=""):this.selectedParentCategoryId=t.
1id:this.selectedParentCategoryId=""}};Bc.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]},{type:Ee.G},{type:V.qu},{type:ne.I},{type:ct.H7},{type:yo.vx},{type:m.sBO},{type:It.F0},{type:It.gz},{type:Y.sK}],Bc=(0,j.gn)([(0,m.wA2)({selector:"app-add-category",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs [breadCrumbsArr]="breadCrumbsArr"></app-s2c-bread-crumbs>\n <div class="row">\n <div class="col-12">\n <mat-divider></mat-divider>\n <form class="mt-3" [formGroup]="categoryForm">\n <div class="row">\n <div class="col-12 col-lg-4 mb-3 mb-lg-0">\n <div class="w-100">\n <div class="card w-100 clickable uploadCard" appDragAndDrop (files)="filesDropped($event)"\n (click)="uploadClick()">\n <img [src]="profileUrl" *ngIf="showImage" class="card-img showImage h-100">\n <div class="card-body d-flex flex-column justify-content-center">\n <input class="none" accept=\'image/*\' type="file" name="image" (change)="getFileChange($event)"\n hidden />\n <div *ngIf="!showImage" class="w-100 text-center text-muted fontSize14 bold">\n {{\'imageGalleryComponent_selectImage\' | translate}}\n </div>\n <span *ngIf="!showImage"\n class="w-100 text-center text-muted fontSize14">{{\'imageGalleryComponent_uploadImage\' |\n translate }}</span>\n </div>\n </div>\n </div>\n </div>\n <div class="col-12 col-lg-8">\n <mat-form-field appearance="outline" class="w-100">\n <mat-label> {{\'category_name\' | translate}} </mat-label>\n <input type="text" matInput placeholder="{{\'category_name\' | translate}} " id="category_name"\n name="category_name" formControlName="category_name">\n <mat-error>{{ \'common_category_name_required\' | translate }}</mat-error>\n </mat-form-field>\n\n <mat-form-field appearance="outline" class="w-100">\n <mat-label>{{\'tax\' | translate}} </mat-label>\n <select matNativeControl id="tax" name="tax" formControlName="tax">\n <option *ngFor="let number of count(31); let i = index" value="{{i}}">{{i}}</option>\n </select>\n <mat-error>{{ \'common_taxRate_required\' | translate }}</mat-error>\n </mat-form-field>\n\n <div class="row">\n <div class="col-12 col-lg-6">\n <mat-form-field appearance="outline" class="w-100">\n <mat-label>{{\'category_presentId\' | translate}} </mat-label>\n <input type="text" matInput placeholder="{{\'category_presentId\' | translate}}" id="present_id" name="present_id" formControlName="present_id">\n </mat-form-field>\n </div>\n <div class="col-12 col-lg-6">\n <mat-form-field appearance="outline" class="w-100">\n <mat-label>{{\'common_sort\' | translate}} </mat-label>\n <input type="number" matInput placeholder="{{\'common_sort\' | translate}}" id="category_order" name="category_order" formControlName="category_order">\n </mat-form-field>\n </div>\n </div>\n\n <app-category-selection [showAll]="true" (categoryChange)="handleCategoryChange($event)" [selected_id]="selectedParentCategoryId">\n </app-category-selection>\n </div>\n </div>\n <mat-tab-group>\n <mat-tab>\n <ng-template mat-tab-label>{{ "common_languagesWithOptional" | translate }}</ng-template>\n <div class="row w-100 pt-4 mx-0">\n <div class="col-12 col-lg-4" *ngFor="let locale of locales; let i = index">\n <mat-form-field appearance="outline" class="w-100">\n <mat-icon matSuffix fontSet="fi" [fontIcon]="locale.flag"></mat-icon>\n <mat-label>{{ locale.name | translate }}</mat-label>\n <input type="text" matInput placeholder="{{locale.name | translate}} " [id]="locale.value"\n [name]="locale.value" [formControlName]="locale.value">\n </mat-form-field>\n </div>\n </div>\n </mat-tab>\n </mat-tab-group>\n </form>\n </div>\n </div>\n <div class="row mb-3">\n <div class="col-12 d-flex justify-content-end">\n <button type="button" class="btn btn-min-width btn-secondary my-2 mr-4" [class.btn-block]="mobileQuery.matches"\n (click)="handleCancelClick()">\n {{\'common_cancel\' | translate}}\n </button>\n\n <button type="button" class="btn btn-min-width btn-primary my-2" [class.btn-block]="mobileQuery.matches"\n (click)="addCategory()"> {{\'common_save\' | translate}}</button>\n </div>\n </div>\n</div>\n',styles:[".uploadCard {\n height: 242px;\n}\n\n.uploadImage {\n object-fit: cover;\n}\n\n.showImage {\n object-fit: cover;\n}\n\n.fontSize14 {\n font-size: 14px;\n}\n\n.bold {\n font-weight: bold;\n}"]})],Bc);let Yp=class{constructor(t,e,a,r,i){this.categoriesService=t,this.message=e,this.dialog=a,this.translate=r,this.router=i,this.data=[],this.pageSize=20,this.barcodeInit="",this.keywordInit="",this.expanded=!1,this.panelOpenState=!1,this.displayedColumns=["select","category_image","category_name","sub_cat"],this.dataSource=new $e.by(this.data),this.selection=new ll.Ov(!0,[]),this.displayedColumns1=["category_image","category_name"],this.dataSource1=this.data,this.disabled=!1}ngOnInit(){this.onGetCategoryList(),this.dataSource.paginator=this.paginator}ngAfterViewInit(){this.dataSource.sort=this.sort}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.position+1}`:(this.isAllSelected()?"select":"deselect")+" all"}getCheckeditems(){this.selecteditems=this.selection.selected,30===this.selecteditems.length?this.disabled=!0:this.disabled=!1}onGetCategoryList(){this.categoriesService.getCategoriesSystem().pipe((0,ya.U)(t=>(t.data&&t.data.map(e=>{e.displayName=Hc.R.getDisplayName(e,this.translate.currentLang),e.sub_categories&&e.sub_categories.map(a=>{a.displayName=Hc.R.getDisplayName(a,this.translate.currentLang)})}),t))).subscribe(t=>{this.cat=t,this.data=this.cat.data,this.displayedColumns=["select","category_image","category_name","sub_cat"],this.dataSource.data=this.data,this.selection=new ll.Ov(!0,[]),this.displayedColumns1=["category_image","category_name"],this.dataSource1=this.selecteditems})}openAddCategory(){this.dialog.open(Bc)}onAffect(){for(var t=this.selecteditems,e=[],a=0;a<t.length;
1a++)e.push(t[a].id);var r={store_id:localStorage.getItem("store_id"),categories:e};return this.categoriesService.affectCategoryS2C(r).subscribe(i=>{this.router.navigate(["shop/categories"]),this.message.success(this.translate.instant("category_choosed_success"))},i=>{console.log(i)})}};Yp.ctorParameters=()=>[{type:Ee.G},{type:ne.I},{type:St.uw},{type:Y.sK},{type:It.F0}],Yp.propDecorators={paginator:[{type:m.i9L,args:[Wa.NW,{static:!0}]}],sort:[{type:m.i9L,args:[Ma.YE,{static:!0}]}]},Yp=(0,j.gn)([(0,m.wA2)({selector:"app-categories",template:'<div class="rounded p-3 m-3">\n <div class="row">\n </div>\n <br />\n <br />\n <div class="row">\n <div class="col-md-8">\n <div class="table1" style="margin-bottom: 200px; ">\n <table mat-table [dataSource]="dataSource" class="table1" matSort multiTemplateDataRows>\n <ng-container matColumnDef="select">\n <th mat-header-cell *matHeaderCellDef>\n\n </th>\n <td mat-cell *matCellDef="let row">\n <mat-checkbox (click)="$event.stopPropagation()" [disabled]="disabled"\n (change)="$event ? selection.toggle(row) : null; getCheckeditems()"\n [checked]="selection.isSelected(row)" [aria-label]="checkboxLabel(row)">\n </mat-checkbox>\n </td>\n </ng-container>\n\n <ng-container matColumnDef="category_image">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'category-image\' | translate}} </th>\n <td mat-cell *matCellDef="let element">\n <img [src]="element.img_url" alt="" class="imgtable1">\n </td>\n </ng-container>\n\n\n <ng-container matColumnDef="category_name">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'categ_namee\' | translate}} </th>\n <td mat-cell *matCellDef="let element">\n <p>{{element.displayName }}</p>\n </td>\n </ng-container>\n <ng-container matColumnDef="sub_cat">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{"sub-categories"| translate}} </th>\n <td mat-cell *matCellDef="let row">\n <button mat-icon-button matTooltip="Show Sub Categories">\n <i class="material-icons icon-green" style="color: rgb(107, 107, 107);">expand_more</i>\n </button>\n </td>\n </ng-container>\n <ng-container matColumnDef="expandedDetail">\n <td mat-cell *matCellDef="let element" [attr.colspan]="displayedColumns.length">\n \x3c!-- <button mat-raised-button color="primary">Add New Unit</button> --\x3e\n <div class="example-element-detail"\n [@detailExpand]="element == expandedElement ? \'expanded\' : \'collapsed\'">\n <div class="orderProducts">\n <table class="mat-elevation-z8">\n <tr>\n <th style="margin-right: 35px; padding: 10px;">\n {{"Select"| translate}}</th>\n <th style="margin-right: 35px; padding: 10px;">\n {{\'sub-category-image\' | translate}} </th>\n <th style="margin-right: 35px; padding: 10px;"> {{\'sub-category-name\' | translate}} </th>\n\n\n\n </tr>\n <tr *ngFor="let sub of element.sub_categories">\n\n <td style="margin-right: 15px; padding: 10px;">\n <mat-checkbox (click)="$event.stopPropagation()"\n (change)="$event ? selection.toggle(sub) : null; getCheckeditems()"\n [checked]="selection.isSelected(sub)" [disabled]="disabled" [aria-label]="checkboxLabel(sub)">\n </mat-checkbox>\n </td>\n <td style="margin-right: 15px; padding: 10px;">\n <img [src]="sub.img_url" alt="" class="imgtable1">\n </td>\n <td style="margin-right: 15px; padding: 10px;">\n <p>{{sub.displayName }}</p>\n </td>\n </tr>\n </table>\n </div>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let element; columns: displayedColumns;" class="example-element-row"\n [class.example-expanded-row]="expandedElement === element"\n (click)="expandedElement = expandedElement === element ? null : element"></tr>\n <tr mat-row *matRowDef="let row; columns: [\'expandedDetail\']" class="example-detail-row"></tr>\n </table>\n <mat-paginator [pageSizeOptions]="[5, 10, 20 , 50 , 100]" [pageSize]="pageSize" show
1FirstLastButtons>\n </mat-paginator>\n\n </div>\n </div>\n <div class="col-md-4" style="display: block;">\n\n <div class="example-container table2">\n <table mat-table [dataSource]="selecteditems" style=" background-color: rgba(228, 226, 226, 0.411);" matSort>\n <ng-container matColumnDef="category_image">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'category-image\' | translate}} </th>\n <td mat-cell *matCellDef="let element">\n <img [src]="element.img_url" alt="" class="imgtable1">\n </td>\n </ng-container>\n\n\n <ng-container matColumnDef="category_name">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'categ_namee\' | translate}} </th>\n <td mat-cell *matCellDef="let element">\n <p>{{element.displayName }}</p>\n </td>\n </ng-container>\n\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns1; sticky: true"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns1;"></tr>\n </table>\n <br>\n <button *ngIf="selection.hasValue()" mat-raised-button\n style="background-color: #cacaca; color : black ; float:right ; margin-left: 2%;"\n routerLink="/shop/categories">\n\n {{"Back" | translate}} </button>\n <button *ngIf="selection.hasValue()" mat-raised-button\n style="background-color: #a00000;float:right ; margin-left: 1%;" (click)="onAffect()">\n <i class="fa fa-plus" aria-hidden="true"></i>\n {{"choose_categ" | translate}} </button>\n\n </div>\n </div>\n </div>\n</div>\n',animations:[(0,Rt.X$)("detailExpand",[(0,Rt.SB)("collapsed, void",(0,Rt.oB)({height:"0px",minHeight:"0",display:"none"})),(0,Rt.SB)("expanded",(0,Rt.oB)({height:"*"})),(0,Rt.eR)("expanded <=> collapsed",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)")),(0,Rt.eR)("expanded <=> void",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])],styles:["table {\n width: 100%;\n}\n\n.example-element-row td {\n border-bottom-width: 0;\n}\n\n.example-element-detail {\n overflow: hidden;\n display: flex;\n}\n\n.table2 {\n overflow: auto;\n background-color: white;\n}\n\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\nmat-form-field {\n width: 100%;\n}\n\n.orderProducts {\n padding: 10px;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n width: 100%;\n}"]})],Yp);let Mg=class{constructor(t,e,a,r,i,o,s,l,c,d){this.data=t,this.categoryService=e,this.formBuilder=a,this.message=r,this.sanitizer=i,this.route=l,this.router=c,this.translate=d,this.numberRegEx=/\-?\d*\.?\d{1,2}/,this.french=!1,this.italian=!1,this.chinois=!1,this.showImage=!1,this.profileUrl="",this.parent_category_id=null,this.locales=Dk.N.supportedLocales,this.breadCrumbsArr=[],this.setupBreadCrumbs(),this.route.params.subscribe(u=>{this.currentId=u.id,this.currentDirection=u.direction}),this.setupForm(),this.mobileQuery=o.matchMedia("(max-width: 576px)"),this.mobileQueryListener=()=>s.detectChanges(),this.mobileQuery.addEventListener("change",this.mobileQueryListener)}ngOnInit(){this.initData()}ngOnDestroy(){this.mobileQuery.removeEventListener("change",this.mobileQueryListener)}initData(){this.ongetCategoryByID(this.currentId)}setupBreadCrumbs(){this.route.params.subscribe(t=>{this.parent_category_id=t.parent_id,this.parent_category_id?this.categoryService.getMyCategoryById(this.parent_category_id).subscribe(e=>{this.breadCrumbsArr=[{translateKey:"nav_productMgmt_categoryMgmt"},{translateKey:"nav_productMgmt_categoryMgmt_myCategory",pathName:"/shop/my-categories"},{translateKey:Hc.R.getDisplayName(e,this.translate.currentLang),pathName:`/shop/my-categories/${this.parent_category_id}/sub-categories`},{translateKey:"common_edit"}]},e=>{this.breadCrumbsArr=[{translateKey:"nav_productMgmt_categoryMgmt"},{translateKey:"nav_productMgmt_categoryMgmt_myCategory",pathName:"/shop/my-categories"},{translateKey:"common_edit"}]}):this.breadCrumbsArr=[{translateKey:"nav_productMgmt_categoryMgmt"},{translateKey:"nav_productMgmt_categoryMgmt_myCategory",pathName:"/shop/my-categories"},{translateKey:"common_edit"}]})}setupForm(t){let e={category_name:[t?t.category_name:"",V.kI.required],tax:[t?t.taxe.toString():"",V.kI.required],parent_category_id:[t?t.parent_category_id:null],category_it:[t?t.category_it:""],category_cn:[t?t.category_cn:""],category_fr:[t?t.category_fr:""],present_id:[t?t.present_id:""],category_order:[t?t.category_order:"",V.kI.required],image:[""]};this.selectedParentCategoryId=t?t.parent_category_id:null,this.lastestPresentId=t?t.present_id:"",this.locales.forEac
1h(a=>{e[a.value]=[t&&t.i18n&&t.i18n[a.value]?t.i18n[a.value]:""]}),this.categoryForm=this.formBuilder.group(e),t&&t.img_url&&""!=t.img_url&&(this.profileUrl=t.img_url,this.showImage=!0)}get g(){return this.categoryForm.controls}count(t){return new Array(t)}ongetCategoryByID(t){return this.categoryService.getMyCategoryById(this.currentId).subscribe(e=>{this.currentcategory=e,this.setupForm(this.currentcategory)},e=>{console.log(e)})}collectLocaleValue(){let t={};return this.locales.forEach(e=>{this.categoryForm.value[e.value]&&(t[e.value]=this.categoryForm.value[e.value])}),t["en-GB"]||(t["en-GB"]=this.categoryForm.value.category_name),t}updateCategory(){if(this.categoryForm.markAllAsTouched(),!this.categoryForm.invalid){let t=new FormData;t.append("category_name",this.categoryForm.value.category_name),t.append("present_id",this.categoryForm.value.present_id),t.append("category_order",this.categoryForm.value.category_order),t.append("parent_category_id",this.selectedParentCategoryId);let e=this.collectLocaleValue();t.append("i18n",JSON.stringify(e)),t.append("taxe",this.categoryForm.value.tax),this.selectedFile&&t.append("image",this.selectedFile.file),t.append("category_it",this.categoryForm.value.category_it),t.append("category_cn",this.categoryForm.value.category_cn),t.append("category_fr",this.categoryForm.value.category_fr),this.categoryService.editMyCategories(t,this.currentId).subscribe(a=>{if(this.message.success(this.translate.instant("common_update_success")),1==this.currentDirection&&this.router.navigate(["shop/categories"]),2==this.currentDirection){let r="shop/my-categories";this.currentcategory.parent_category_id&&(r+=`/${this.currentcategory.parent_category_id}/sub-categories`),this.router.navigate([r])}},a=>{console.log(a)})}}filesDropped(t){t.length>0&&(this.selectedFile=t[0],this.profileUrl=this.selectedFile.url,this.showImage=!0)}getFileChange(t){if(t.target.files.length>0){const e=t.target.files[0],a=this.sanitizer.bypassSecurityTrustUrl(window.URL.createObjectURL(e));this.selectedFile={file:e,url:a},this.profileUrl=this.selectedFile.url,this.showImage=!0}}uploadClick(){document.querySelector('input[type="file"]').click()}handleCancelClick(){let t="shop/my-categories";this.parent_category_id&&(t+=`/${this.parent_category_id}/sub-categories`),this.router.navigate([t])}handleCategoryChange(t){t&&""!==t.id?Number(t.id)===Number(this.currentId)?(this.message.error(this.translate.instant("Cannot set category as its own parent.")),this.selectedParentCategoryId=""):this.selectedParentCategoryId=t.id:this.selectedParentCategoryId=""}};Mg.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]},{type:Ee.G},{type:V.qu},{type:ne.I},{type:ct.H7},{type:yo.vx},{type:m.sBO},{type:It.gz},{type:It.F0},{type:Y.sK}],Mg=(0,j.gn)([(0,m.wA2)({selector:"app-edit-my-category",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs [breadCrumbsArr]="breadCrumbsArr"></app-s2c-bread-crumbs>\n <div class="row">\n <div class="col-12">\n <mat-divider></mat-divider>\n <form class="mt-3" [formGroup]="categoryForm">\n <div class="row">\n <div class="col-12 col-lg-4 mb-3 mb-lg-0">\n <div class="w-100">\n <div class="card w-100 clickable uploadCard" appDragAndDrop (files)="filesDropped($event)"\n (click)="uploadClick()">\n <img [src]="profileUrl" *ngIf="showImage" class="card-img showImage h-100">\n <div class="card-body d-flex flex-column justify-content-center">\n <input class="none" accept=\'image/*\' type="file" name="image" (change)="getFileChange($event)"\n hidden />\n <div *ngIf="!showImage" class="w-100 text-center text-muted fontSize14 bold">\n {{\'imageGalleryComponent_selectImage\' | translate}}\n </div>\n <span *ngIf="!showImage"\n class="w-100 text-center text-muted fontSize14">{{\'imageGalleryComponent_uploadImage\' |\n translate }}</span>\n </div>\n </div>\n </div>\n </div>\n <div class="col-12 col-lg-8">\n\n <mat-form-field appearance="outline" class="w-100">\n <mat-label> {{\'category_name\' | translate}} </mat-label>\n <input type="text" matInput placeholder="{{\'category_name\' | translate}} " id="category_name"\n name="category_name" formControlName="category_name">\n <mat-error>{{ \'common_category_name_required\' | translate }}</mat-error>\n </mat-form-field>\n\n <mat-form-field appearance="outline" class="w-100">\n <mat-label>{{\'tax\' | translate}} </mat-label>\n <select matNativeControl id="tax" name="tax" formControlName="tax">\n <option *ngFor="let number of count(31); let i = index" value="{{i}}">{{i}}</option>\n </select>\n <mat-error>{{ \'common_taxRate_required\' | translate }}</mat-error>\n </mat-form-field>\n\n <div class="row">\n\n <div class="col-12 col-lg-6">\n <mat-form-field appearance="outline" class="w-100">\n <mat-label>{{\'category_presentId\' | translate}} </mat-label>\n <input type="text" matInput placeholder="{{\'category_presentId\' | translate}}" id="present_id" name="present_id" formControlName="present_id">\n </mat-form-field>\n </div>\n \n <div class="col-12 col-lg-6">\n <mat-form-field appearance="outline" class="w-100">\n <mat-label>{{\'common_sort\' | translate}} </mat-label>\n <input type="number" matInput placeholder="{{\'common_sort\' | translate}}" id="category_order" name="category_order" formControlName="category_order">\n <mat-error>{{ \'required\' | translate }}</mat-error>\n </mat-form-field>\n </div>\n \n </div>\n\n <app-category-selection [showAll]="true" (categoryChange)="handleCategoryChange($event)" [selected_id]="selectedParentCategoryId">\n </app-category-selection>\n\n </div>\n </div>\n <mat-tab-group>\n <mat-tab>\n <ng-template mat-tab-label>{{ "common_languagesWithOptional" | translate }}</ng-template>\n <div class="row w-100 pt-4 mx-0">\n <div class="col-12 col-lg-4" *ngFor="let locale of locales; let i = index">\n <mat-form-field appearance="outline" class="w-100">\n <mat-icon matSuffix fontSet="fi" [fontIcon]="locale.flag"></mat-icon>\n <mat-label>{{ locale.name | translate }}</mat-label>\n <input type="text" matInput placeholder="{{locale.name | translate}} " [id]="locale.value"\n [name]="locale.value" [formControlName]="locale.value">\n </mat-form-field>\n </div>\n </div>\n </mat-tab>\n </mat-tab-group>\n </form>\n </div>\n </div>\n <div class="row mb-3">\n <div class="col-12 d-flex justify-content-end">\n <button type="button" class="btn btn-min-width btn-secondary my-2 mr-4" [class.btn-block]="mobileQuery.matches"\n (click)="handleCancelClick()">\n {{\'common_cancel\' | translate}}\n </button>\n <button type="button" class="btn btn-min-width btn-primary my-2" [class.btn-block]="mobileQuery.matches"\n (click)="updateCategory()"> {{\'common_save\' | translate}}</button>\n </div>\n </div>\n</div>\n',styles:[".uploadCard {\n height: 242px;\n}\n\n.uploadImage {\n object-fit: cover;\n}\n\n.showImage {\n object-fit: cover;\n}\n\n.fontSize14 {\n font-size: 14px;\n}\n\n.bold {\n font-weight: bold;\n}"]})],Mg);let Qp=class{constructor(t,e,a,r,i,o){this.categoriesService=t,this.dialogService=e,this.translate=a,this.message=r,this.router=i,this.route=o,this.componentName="MyCategoriesComponent",this.sortActive=!1,this.displayedColumns=["category_image","category_name","taxe","actions"],this.category_orders=[],this.parent_category_id=null,this.breadCrumbsArr=[],this.dataSource=[],this.columns=[{type:"text",translationKey:"Id",key:"id"},{key:"img_url",translationKey:"common_image",type:"image"},{type:"text",translationKey:"category_presentId",key:"present_id"},{key:"displayName",translationKey:"category_name",type:"text"},{key:"category_order",translationKey:"common_sort",type:"text"},{key:"taxe",translationKey:"common_taxRate",type:"percent"},{key:"actions",translationKey:"common_actions",type:"actions",list:["edit","delete"]}],this.formDataSource=[{type:"commonSearch",translateKey:"common_search",placeholder:"common_search",key:"category_name"}],this.pageInfo={page:1,pageSize:10,total:0},this.route.params.subscribe(s=>{this.parent_category_id=s.id,this.parent_category_id?this.categoriesService.getMyCategoryById(this.parent_category_id).subscribe(l=>{this.breadCrumbsArr=[{translateKey:"nav_productMgmt_categoryMgmt"},{translateKey:"nav_productMgmt_categoryMgmt_myCategory",pathName:"/shop/my-categories"},{translateKey:Hc.R.getDisplayName(l,this.translate.currentLang)}]},l=>{this.breadCrumbsArr=[{translateKey:"nav_productMgmt_categoryMgmt"},{translateKey:"nav_productMgmt_categoryMgmt_myCategory"}]}):this.breadCrumbsArr=[{translateKey:"nav_productMgmt_categoryMgmt"},{translateKey:"nav_productMgmt_categoryMgmt_myCategory"}]}),this.translate.onLangChange.subscribe(s=>{this.dataSource.map(l=>{l.displayName=Hc.R.getDisplayName(l,this.translate.currentLang)})})}ngOnInit(){this.onGetCategoryList()}handleAdd(){this.router.navigate(["/shop/my-categories/add",this.parent_category_id?this.parent_category_id:""])}handleBtnClick({type:t,item:e}){"edit"===t&&this.router.navigate(["/shop/my-categories/edit",e.id,2,e.parent_category_id?e.parent_category_id:""]),"delete"===t&&this.onDelete(e.id)}handleRowClick(t){t.parent_category_id||this.router.navigate(["/shop/my-categories",t.id,"sub-categories"])}onGetCategoryList(){this.categoriesService.getMyCategoriesS2CList(this.parent_category_id).subscribe(t=>{this.dataSource=t.data,this.dataSource.map(e=>{e.displayName=Hc.R.getDisplayName(e,this.translate.currentLang),e.taxe=e.taxe/100}),console.log(this.dataSource)})}handlePageChange(t){console.log(t)}drop(t){(0,Ct.bA)(this.dataSource,t.previousIndex,t.currentIndex);for(let r=0;r<this.dataSource.length;r++){var e={category_id:this.dataSource[r].id,order:r+1};this.category_orders.push(e)}var a={category_orders:this.category_orders};return this.categoriesService.editSort(a,this.parent_category_id).subscribe(r=>{this.message.success(this.translate.instant("common_update_success")),this.onGetCategoryList()})}onDelete(t){this.dialogService.confirmDialog({title:this.translate.instant("common_delete_title"),message:this.translate.instant("common_delete_message"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(e=>{e&&this.onDeleteCategory(t)})}onDeleteCategory(t){return this.categoriesService.deleteMyCategory(t).subscribe(e=>{this.message.success(this.translate.instant("common_delete_success")),this.onGetCategoryList()})}};Qp.ctorParameters=()=>[{type:Ee.G},{type:Bn.x},{type:Y.sK},{type:ne.I},{type:It.F0},{type:It.gz}],Qp=(0,j.gn)([(0,m.wA2)({selector:"app-my-categories",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs [breadCrumbsArr]="breadCrumbsArr"></app-s2c-bread-crumbs>\n\n <app-common-search-list-table\n [pageSizeOptions]="[10,20,50,100]"\n (onAddClick)="handleAdd()" [dataSource]="dataSource" [columns]="columns"\n [uniqueTableKey]="componentName" (onBtnClick)="handleBtnClick($event)" [formColumn]="formDataSource"\n [isShowSort]="true" (onDropListDropped)="drop($event)" [isAutoPages]="true" [isRowClickEnabled]="true"\n (onRowClick)="handleRowClick($event)">\n </app-common-search-list-table>\n\n</div>\n',styles:[".imageCell img {\n max-width: 150px;\n min-width: 150px;\n min-height: 100px;\n max-height: 100px;\n object-fit: cover;\n}\n\n.header {\n color: rgba(0, 0, 0, 0.54);\n font-size: 12px;\n font-weight: 500;\n text-align: left;\n}\n\n.header-border {\n border-bottom: solid 1px #ccc;\n}\n\n.example-list {\n max-width: 100%;\n display: block;\n background: white;\n border-radius: 4px;\n overflow: hidden;\n}\n\n.example-box {\n border-bottom: solid 1px #ccc;\n color: rgba(0, 0, 0, 0.87);\n display: flex;\n flex-direction: row;\n align-items: center;\n box-sizing: border-box;\n cursor: pointer;\n background: white;\n font-size: 14px;\n}\n\n.cdk-drag-preview {\n box-sizing: border-box;\n border-radius: 4px;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n}
1\n\n.cdk-drag-animating {\n transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.example-box:last-child {\n border: none;\n}\n\n.example-list.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder) {\n transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.example-custom-placeholder {\n background: #ccc;\n border: dotted 3px #999;\n min-height: 60px;\n transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n}"]})],Qp);let Og=class{constructor(t,e,a,r){this.categoriesService=t,this.dialog=e,this.translate=a,this.message=r,this.expanded=!1,this.panelOpenState=!1,this.numbers=[1,2,3,4,5,6,7,8],this.displayedColumns=["category_image","category_name","actions"],this.dataSource=new $e.by,this.catLenght=0}ngOnInit(){this.onGetCategoryList()}onGetCategoryList(){this.catLenght=0,this.categoriesService.getCategoriesChosen().subscribe(t=>{this.categoryList=t,this.categoryData=this.categoryList.data,this.dataSource=new $e.by(this.categoryData),this.displayedColumns=["category_image","category_name","actions"]})}openAddCategory(){this.dialog.open(Bc)}applyFilter(t){const e=t.target.value;this.dataSource.filter=e.trim().toLowerCase()}onDeleteCategory(t){return this.categoriesService.deleteCategory(t).subscribe(e=>{this.message.success(this.translate.instant("category_deleted_success")),this.onGetCategoryList()})}};Og.ctorParameters=()=>[{type:Ee.G},{type:St.uw},{type:Y.sK},{type:ne.I}],Og=(0,j.gn)([(0,m.wA2)({selector:"app-shop-categories-list",template:'<div class=" p-3 m-3">\n\n <div class="row" style="float: right;margin-left: 2%;">\n <button mat-raised-button style="background-color: #a00000;float:right ; margin-bottom:10px; margin-right: 35px;"\n routerLink="/shop/affect-categories"> {{ "Categories-Management" | translate}}\n </button>\n\n </div>\n <img *ngIf="categoryData.length == 0" src="assets/images/empty.jpg " style=" display: block;\n margin: 0 auto;">\n <br>\n <br>\n <br>\n\n <div class="box" *ngIf="categoryData.length != 0 ">\n\n <div class="card" *ngFor="let cat of categoryData">\n <div class="imgBx">\n <img [src]="cat.img_url" alt="Siyou Categories">\n <div style="float: right;text-align: right;">\n <button mat-icon-button (click)="onDeleteCategory(cat.id)"><i class="material-icons icon-green"\n style="color: #a00000 ;">delete\n </i>\n </button>\n <button mat-icon-button routerLink="/shop/edit-category/{{cat.id}}/1"><i class="material-icons icon-green"\n style="color: #a00000">edit\n </i>\n </button>\n </div>\n </div>\n <div class="details">\n <h2>{{cat.category_name}}</h2>\n\n </div>\n\n </div>\n\n\n\n </div>\n</div>',animations:[(0,Rt.X$)("detailExpand",[(0,Rt.SB)("collapsed, void",(0,Rt.oB)({height:"0px",minHeight:"0",display:"none"})),(0,Rt.SB)("expanded",(0,Rt.oB)({height:"*"})),(0,Rt.eR)("expanded <=> collapsed",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)")),(0,Rt.eR)("expanded <=> void",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])],styles:['.box {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 0.5fr));\n grid-gap: 15px;\n margin: 0 auto;\n}\n\n.card {\n position: relative;\n width: 200px;\n height: 200px;\n background: #fff;\n margin: 0 auto;\n border-radius: 4px;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);\n}\n\n.card:before,\n.card:after {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 4px;\n background: #fff;\n transition: 0.5s;\n z-index: -1;\n}\n\n.card .imgBx {\n position: absolute;\n top: 10px;\n left: 10px;\n bottom: 10px;\n right: 10px;\n background: #222;\n transition: 0.5s;\n z-index: 1;\n}\n\n.card:hover .imgBx {\n bottom: 80px;\n background-color: rgba(4, 141, 175, 0.336);\n}\n\n.card .imgBx img {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n\n.card .details {\n position: absolute;\n left: 10px;\n right: 10px;\n bottom: 10px;\n height: 60px;\n text-align: center;\n}\n\n.card .details .details_button {\n position: absolute;\n left: 10px;\n right: 10px;\n bottom: 10px;\n height: 60px;\n text-align: right;\n}\n\n.card .details h2 {\n margin: 0;\n padding: 0;\n font-weight: 600;\n font-size: 18px;\n color: #cacaca;\n text-transform: uppercase;\n}\n\n.card .details h2 span {\n font-weight: 500;\n font-size: 16px;\n color: #f38695;\n display: block;\n margin-top: 5px;\n}']})],Og);let Rg=class{constructor(t,e,a,r){this.productService=t,this.router=e,this.route=a,this.dialog=r,this.basket=[],this.code=localStorage.getItem("curr"),this.basketLength=0,this.quantity=1,this.prodWeight=0,this.weightFound=0,e.params.subscribe(i=>{this.currentId=i.id})}ngOnInit(){this.onGetProductItem(this.currentId)}onGetProductItem(t){return this.productService.getProductItem(t).subscribe(e=>{this.currentProduct=e},e=>{console.log(e)})}CheckColor(t){return"color"===t}getColor(t){}setToMainImg(t){$("#secondary-img div img").click(function(){const e=$(this).attr("src");$("#main-img").attr("src",e)})}redirectTo(t){this.route.navigateByUrl("/",{skipLocationChange:!0}).then(()=>this.route.navigate([t]))}openCartModal(t,e,a,r,i,o,s,l,c,d,u,h,f){if(f){for(let A=0;A<f.criteria_base.length;A++)"weight"==f.criteria_base[A].name.toLowerCase()&&(this.prodWeight=f.criteria_base[A].pivot.criteria_value,this.weightFound=1);(this.weightFound=0)&&(this.prodWeight=0)}var v=this.currentProduct.images[0].image_url;this.OneProd={id:t,product_name:e,item_offline_price:a,item_discount_price:r,item_quantity:i,image_url:v,supplier_id:s,first_name:l,last_name:c,email:d,phone_num1:u,logistic_service:h,prodWeight:this.prodWeight},localStorage.setItem("log_ser",JSON.stringify(h)),localStorage.setItem("storedProd",JSON.stringify(this.OneProd)),this.dialog.open(Eu)}};Rg.ctorParameters=()=>[{type:_g.s},{type:It.gz},{type:It.F0},{type:St.uw}],Rg=(0,j.gn)([(0,m.wA2)({selector:"app-product-details-s2c",template:'<div class="container shadow p-3 mb-2 bg-white rounded">\n\n\n <p>{{\'Product_details\' | translate}}</p>\n\n <div class="card mb-3" style="padding-top: 20px;">\n <div class="row no-gutters">\n <div class="col-md-4 main-img">\n <img *ngFor="let mainimgg of currentProduct.images | slice:0:1" id="main-img" [src]="mainimgg.image_url"\n class="card-img" alt="...">
1\n <div class="row secondary-img no-gutters" id="secondary-img">\n <div>\n <img *ngFor="let secimgg of currentProduct.images | slice:0:4" id="sec-img" class="sec-img"\n [src]="secimgg.image_url" alt="" (click)="setToMainImg(secimgg.image_url)">\n </div>\n </div>\n </div>\n <div class="col-md-8">\n <div class="card-body">\n <h5 class="card-title pr_name">{{currentProduct.product.product_name}} :</h5>\n\n <p class="card-text" style="color: green;"><small class="text-muted" style="color: green;">{{"product_barcode"\n | translate}} :\n {{currentProduct.item_barcode}}</small></p>\n\n <p class="card-text">{{currentProduct.product.product_description}}</p>\n <p class="card-text" style="color: green;"><small class="text-muted"\n style="color: green;">{{"Product-Quantity" | translate}} :\n {{currentProduct.item_quantity}}</small></p>\n\n <h5 *ngIf="currentProduct.item_discount_price" class="card-title price"> <span\n style="text-decoration: line-through; color: grey;">\n {{currentProduct.item_offline_price |currency:code}}</span> <span\n class="ml-2">{{currentProduct.item_discount_price |currency:code}}</span></h5>\n <h5 *ngIf="!currentProduct.item_discount_price" class="card-title price">\n {{currentProduct.item_offline_price |currency:code}} </h5>\n\n\n <div>\n <div class="example-button-row mb-3">\n <button class="btn btn-success"\n (click)="openCartModal(currentProduct.id, currentProduct.product.product_name, currentProduct.item_offline_price,currentProduct.item_discount_price, currentProduct.item_quantity, currentProduct.product.product_image_url, currentProduct.product.supplier.id, currentProduct.product.supplier.first_name, currentProduct.product.supplier.last_name, currentProduct.product.supplier.email, currentProduct.product.supplier.phone_num1 , currentProduct.product.supplier.logistic_service , currentProduct)">\n <span class="mx-1">\n <i class="fa fa-cart-plus" aria-hidden="true"></i>\n\n </span>\n {{"Your basket"| translate}}</button>\n\n\n </div>\n </div>\n\n\n\n\n <p>Specs:</p>\n <ul>\n <div *ngFor="let criteria of currentProduct.criteria_base">\n <li *ngIf="CheckColor(criteria.name); else elseBlock">● {{\'color\'| translate}}: <span class="dot"\n [style.background-color]="criteria.pivot.criteria_value"></span>\n </li>\n <ng-template #elseBlock>● {{criteria.name}}: {{criteria.pivot.criteria_value}}</ng-template>\n\n </div>\n </ul>\n </div>\n </div>\n </div>\n </div>\n\n\n\n</div>',styles:[".container {\n margin-top: 150px;\n width: 90%;\n}\n\n.secondary-img img {\n max-width: 80px;\n max-height: 80px;\n padding-bottom: 20px;\n margin-top: 20px;\n}\n\nul {\n padding-top: -10px;\n}\n\n.price {\n color: red;\n}\n\nbody {\n margin: 0;\n background: #e6e6e6;\n}\n\n.showSlide {\n display: none;\n}\n\n.showSlide img {\n width: 100%;\n}\n\n.slidercontainer {\n max-width: 1000px;\n position: relative;\n margin: auto;\n}\n\n.left, .right {\n cursor: pointer;\n position: absolute;\n top: 50%;\n width: auto;\n padding: 16px;\n margin-top: -22px;\n color: white;\n font-weight: bold;\n font-size: 18px;\n transition: 0.6s ease;\n border-radius: 0 3px 3px 0;\n}\n\n.right {\n right: 0;\n border-radius: 3px 0 0 3px;\n}\n\n.left:hover, .right:hover {\n background-color: rgba(115, 115, 115, 0.8);\n}\n\n.content {\n color: #eff5d4;\n font-size: 30px;\n padding: 8px 12px;\n position: absolute;\n top: 10px;\n width: 100%;\n text-align: center;\n}\n\n.active {\n background-color: #717171;\n}\n\n/* Fading animation */\n\n.fade {\n -webkit-animation-name: fade;\n -webkit-animation-duration: 1.5s;\n animation-name: fade;\n animation-duration: 1.5s;\n}\n\n@keyframes fade {\n from {\n opacity: 0.4;\n }\n to {\n opacity: 1;\n }\n}\n\nul {\n list-style-type: none;\n}\n\n.dot {\n height: 15px;\n width: 15px;\n border-radius: 50%;\n display: inline-block;\n}\n\n.pr_name {\n text-transform: capitalize;\n}"]})],Rg);let $p=class{constructor(t,e,a,r,i,o,s,l,c){this.productService=t,this.chainService=e,this.categoryService=a,this.pagerService=r,this.datepipe=i,this.http=o,this.supplierService=s,this.translate=l,this.configService=c,this.cost_price=localStorage.getItem("cost_price"),this.page=1,this.day=0,this.month=(new Date).getMonth()+1,this.year=(new Date).getFullYear(),this.chainInit=localStorage.getItem("chainInit"),this.storeInit=localStorage.getItem("store_id"),this.displayedColumns=[],this.dataSource=new $e.by,this.pager={},this.pager2={},this.filtred=!1;let d=this.configService.getConfig();this.baseUrl=`${d.baseUrl}`,this.baseUrlS2C=`${d.baseUrlS2C}`}
1ngOnInit(){this.filtred=!1,this.onGetProdsS2C(this.page),this.onGetChainList(),this.onGetCategoriesList(),this.onGetSuppliers(),this.http.post(`${this.baseUrlS2C}/Product/expiration?token=`+localStorage.getItem("token"),this.data).subscribe(t=>{console.log("expiration2"),this.allItems=t,this.prodLength=this.allItems.total,this.pager=this.pagerService.getPager(this.prodLength,1)})}applyFilter(t){this.catList=this.catList.filter(e=>e.category_name.toLowerCase().indexOf(t.toLowerCase())>=0),0==t.length&&this.onGetCategoriesList()}onSearchChange(t){this.suppliers=this.suppliers.filter(e=>e.supplier_name.toLowerCase().indexOf(t.toLowerCase())>=0),0==t.length&&this.onGetSuppliers()}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data,this.chainInit=this.chainData[0].id,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}onGetSuppliers(){return this.supplierService.getSuppliersListS2C().subscribe(t=>{this.suppliersList=t,this.suppliers=this.suppliersList.data},t=>{console.log(t)})}onGetProdsListS2C(t,e,a,r,i,o){return this.filtred=!0,(0==e||!e)&&(e=""),(0==a||!a)&&(a=""),(0==r||!r)&&(r=""),(0==i||!i)&&(i=""),(0==o||!o)&&(o=""),this.productService.getExpiredProdsListS2C(this.page,e,a,r,i,o).subscribe(s=>{this.prods=s,this.prodsLength=this.prods.total,this.prodsData=this.prods.data,this.dataSource.data=this.prodsData,"0"==this.cost_price&&(this.displayedColumns=["range_id","product_image","product_name","product_barcode","supplier","category","unit_price","warn_quantity","product_quantity","expired_date","actions"]),"1"==this.cost_price&&(this.displayedColumns=["range_id","product_image","product_name","product_barcode","supplier","category","unit_price","cost_price","warn_quantity","product_quantity","expired_date","actions"]),this.pager2=this.pagerService.getPager(this.prodsLength,t)},s=>{console.log(s)})}onGetCategoriesList(){return this.categoryService.getCategories().subscribe(t=>{this.categories=t,this.catList=this.categories.data},t=>{console.log(t)})}onGetProdsS2C(t){return this.productService.getExpiredProdsListS2C(this.page).subscribe(e=>{this.prods=e,this.prodLength=this.prods.total,this.prodsData=this.prods.data,this.dataSource.data=this.prodsData,"0"==this.cost_price&&(this.displayedColumns=["range_id","product_image","product_name","product_barcode","supplier","category","unit_price","warn_quantity","product_quantity","expired_date","actions"]),"1"==this.cost_price&&(this.displayedColumns=["range_id","product_image","product_name","product_barcode","supplier","category","unit_price","cost_price","warn_quantity","product_quantity","expired_date","actions"])},e=>{console.log(e)})}setPage(t){this.pager=this.pagerService.getPager(this.prodLength,t),this.page=t,this.onGetProdsS2C(this.page)}setPageFilter(t,e,a,r,i,o){this.filtred=!0,this.page=t,this.pager2=this.pagerService.getPager(this.prodsLength,t),this.onGetProdsListS2C(t,e,a,r,i,o)}};$p.ctorParameters=()=>[{type:Je.r},{type:Oe.l},{type:Ee.G},{type:Ms.e},{type:Q.uU},{type:Nt.eN},{type:vn.e},{type:Y.sK},{type:Yn.E}],$p.propDecorators={supplier_id:[{type:m.i9L,args:["supplier_id"]}]},$p=(0,j.gn)([(0,m.wA2)({selector:"app-expired-products-s2c",template:'<div class="rounded p-3 m-3">\n <div>\n <form>\n\n <mat-form-field appearance="outline" style="width : 15% ; margin-right:2% ;">\n <mat-label>{{\'Select-Chain\'| translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>None</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n\n <mat-form-field appearance="outline" style="width : 15% ; margin-right:2% ;">\n <mat-label>{{\'Choose-Category\' | translate}} </mat-label>\n <mat-select #category_id>\n <input matInput style="padding: 8px 8px 8px 8px;" type="text"\n (keyup)="applyFilter($event.target.value)">\n <mat-option value="844">No Category</mat-option>\n\n <mat-option *ngFor="let subcat of catList" [value]="subcat.id">\n\n <p *ngIf="translate.currentLang === \'English\'">{{subcat.category_name }}</p>\n <p *ngIf="translate.currentLang === \'Chinese\'">{{subcat.category_cn }}</p>\n <p *ngIf="translate.currentLang === \'Italian\'">{{subcat.category_it }}</p>\n <p *ngIf="translate.currentLang === \'Fran\xe7ais\'">{{subcat.category_fr }}</p>\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width : 15% ; margin-right:2% ;">\n <mat-label>{{\'Supplier\' | translate}}</mat-label>\n <mat-select #supplier_id>\n <input matInput style="padding: 8px 8px 8px 8px;" type="search" #supp\n (input)="onSearchChange($event.target.value)">\n <mat-option *ngFor="let supp of suppliers" [value]="supp.id"> {{supp.supplier_name}}</mat-option>\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width : 15% ; margin-right:2% ;">\n <input matInput [placeholder]="\'Search-byBarcode\'| translate" #barcode>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width : 15% ; margin-right:2% ;">\n <input matInput [placeholder]="\'search-by-Goods-shelf\'| translate" #range_id>\n </mat-form-field>\n\n\n <button mat-raised-button style="width: 15%;\n padding: 14px 14px 9px 14px;\n background-color: #cacaca;\n color: white;\n font-size: 20px;"\n (click)="onGetProdsListS2C(1,chain_id.value, category_id.value,barcode.value,supplier_id.value,range_id.value);setPageFilter(1,chain_id.value, category_id.value,barcode.value,supplier_id.value,range_id.value);">\n <i class="fa fa-search" aria-hidden="true"></i>\n\n {{\'common_filter\' | translate}}</button>\n\n </form>\n </div>\n <div class="scrollTable">\n <table mat-table [dataSource]="dataSource" class="table1" matSort>\n\n\n <ng-container matColumnDef="range_id">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'goods-shelf-No.\'| translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.range_id }} </td>\n </ng-container>\n \x3c!-- Position Column --\x3e\n <ng-container matColumnDef="product_image">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{\'Image\'| translate}}</th>\n <td mat-cell *matCellDef="let element">\n\n <img [src]="element.img_url" alt="" class="imgtable1">\n\n </td>\n </ng-container>\n\n \x3c!-- Name Column --\x3e\n\n\n <ng-container matColumnDef="product_name">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{\'Product-Name\'| translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.product_name | slice:0:10}
1}... </td>\n </ng-container>\n\n\n\n \x3c!-- Weight Column --\x3e\n <ng-container matColumnDef="product_barcode">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Barcode\'| translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.product_barcode}} </td>\n </ng-container>\n <ng-container matColumnDef="supplier">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Supplier\'| translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.supplier.supplier_name| slice:0:7}}.. </td>\n </ng-container>\n <ng-container matColumnDef="category">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Category\'| translate}} </th>\n <td mat-cell *matCellDef="let element">\n <p *ngIf="element.category">{{element.category.category_name}}</p>\n <p *ngIf="!element.category">--</p>\n\n </td>\n </ng-container>\n\n\n <ng-container matColumnDef="unit_price">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Unit-Price\'| translate}} </th>\n <td mat-cell *matCellDef="let element">\n\n\n {{element.unit_price |currency}}\n\n\n </td>\n </ng-container>\n <ng-container matColumnDef="cost_price" *ngIf="cost_price == \'1\'">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Cost-Price\'| translate}} </th>\n <td mat-cell *matCellDef="let element">\n\n\n {{element.cost_price |currency}}\n\n\n </td>\n </ng-container>\n <ng-container matColumnDef="product_quantity">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{"Product-Quantity" | translate}} </th>\n <td mat-cell *matCellDef="let element">\n {{element.product_quantity}}\n\n\n </td>\n </ng-container>\n <ng-container matColumnDef="warn_quantity">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'warn_quant\'| translate}}</th>\n <td mat-cell *matCellDef="let element">\n {{element.warn_quantity}}\n\n\n </td>\n </ng-container>\n <ng-container matColumnDef="expired_date">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Expired Date</th>\n <td mat-cell *matCellDef="let element">\n <p style="color:red"> {{element.expired_date}}</p>\n\n\n </td>\n </ng-container>\n <ng-container matColumnDef="actions">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'common_actions\' | translate}} </th>\n <td mat-cell *matCellDef="let element">\n <button mat-icon-button routerLink="/shop/products/edit/{{element.id}}" *ngIf="cost_price == \'1\'"><i\n class="material-icons icon-green" style="color: #303842">edit\n </i>\n </button>\n </td>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;">\n </tr>\n\n\n </table>\n <br />\n </div>\n <br />\n <div>\n <nav aria-label="Page navigation example" *ngIf="!filtred">\n <ul *ngIf="pager.pages && pager.pages.length" class="pagination justify-content-center pagination-sm">\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === 1}">\n <a class="page-link" (click)="setPage(1)">First</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === 1}">\n <a class="page-link" (click)="setPage(pager.currentPage - 1)">Previous</a>\n </li>\n <li class="page-item active" *ngFor="let page of pager.pages"\n [ngClass]="{active:pager.currentPage === page}">\n <a class="page-link" (click)="setPage(page)">{{page}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === pager.totalPages}">\n <a class="page-link" (click)="setPage(pager.currentPage + 1)">Next</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === pager.totalPages}">\n <a class="page-link" (click)="setPage(pager.totalPages)">Last</a>\n </li>\n </ul>\n </nav>\n <nav aria-label="Page navigation example" *ngIf="filtred">\n <ul *ngIf="pager2.pages && pager2.pages.length" class="pagination justify-content-center pagination-sm">\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === 1}">\n <a class="page-link"\n (click)="setPageFilter(1,chain_id.value, category_id.value,barcode.value,supplier_id.value,range_id.value)">First</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === 1}">\n <a class="page-link"\n (click)="setPageFilter(pager2.currentPage - 1,chain_id.value, category_id.value,barcode.value,supplier_id.value,range_id.value);onGetProdsListS2C(page,chain_id.value, category_id.value,barcode.value,supplier_id.value,range_id.value)">Previous</a>\n </li>\n <li class="page-item active" *ngFor="let page of pager2.pages"\n [ngClass]="{active:pager2.currentPage === page}">\n <a class="page-link"\n (click)="setPageFilter(page,chain_id.value, category_id.value,barcode.value,supplier_id.value,range_id.value);onGetProdsListS2C(page,chain_id.value, category_id.value,barcode.value,supplier_id.value,range_id.value)">{{page}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === pager2.totalPages}">\n <a class="page-link"\n (click)="setPageFilter(pager2.currentPage + 1,chain_id.value, category_id.value,barcode.value,supplier_id.value,range_id.value);onGetProdsListS2C(page,chain_id.value, category_id.value,barcode.value,supplier_id.value,range_id.value)">Next</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === pager2.totalPages}">\n <a class="page-link"\n (click)="setPageFilter(pager2.totalPages,chain_id.value, category_id.value,barcode.value,supplier_id.value,range_id.value);onGetProdsListS2C(page,chain_id.value, category_id.value,barcode.value,supplier_id.value,range_id.value)">Last</a>\n </li>\n </ul>\n </nav>\n </div>\n\n</div>\n',styles:[".table1 {\n width: 100%;\n}\n.table1 th {\n width: 9%;\n}\n.table1 td {\n width: 9%;\n}\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n.card-box:hover .icon i {\n font-size: 90px;\n transition: 1s;\n -webkit-transition: 1s;\n}\n.card-box p {\n font-size: 15px;\n}\ntd {\n margin-right: 10px;\n padding-left: 10px;\n}\n.pagination {\n cursor: pointer;\n}\n.page-item {\n cursor: pointer;\n}\n.page-item.active .page-link {\n z-index: 3;\n color: #fff;\n background-color: #cacaca;\n border-color: #cacaca;\n cursor: pointer;\n}"]})],$p);let Lg=class{constructor(t,e,a,r,i,o){this.productService=t,this.location=e,this.router=a,this.route=r,this.message=i,this.translate=o,this.code=localStorage.getItem("curr"),this.defaultImageSrc="/assets/images/logo2.png",this.images=[],this.currentId=this.route.
1snapshot.params.id}ngOnInit(){this.initData()}btnPrintClick(){window.print()}initData(){return this.productService.getProductById(this.currentId).pipe((0,xr.K)(t=>(this.message.error(this.translate.instant("commonerrnotFound")),this.location.back(),(0,Yf._)(t))),(0,lk.zg)(t=>{if(t.data&&t.data.length>0){let e=t.data[0];return(0,Xf.aj)((0,Ka.of)(e),this.productService.getProdsListS2C(null,null,e.category_id,null,null,null))}})).subscribe(([t,e])=>{this.productDetails=t,this.productDetails.img_url&&""!=this.productDetails.img_url?this.imageSrc=this.productDetails.img_url:this.imageSrc=this.defaultImageSrc,this.images.push({url:this.imageSrc,active:1}),this.productDetails.images.length>0&&this.productDetails.images.forEach(a=>{this.images.length<6&&this.images.push({url:a.img_url,active:0})}),this.categoryProducts=e.data.filter(a=>a.id!==this.productDetails.id)},t=>{console.log(t)})}changeBigImage(t){this.images.map(e=>{e.active=0}),this.imageSrc=this.images[t].url,this.images[t].active=1}print(t){window.print()}openProduct(t){this.redirectTo(`/shop/products/${t}`)}redirectTo(t){this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>this.router.navigate([t]))}};Lg.ctorParameters=()=>[{type:Je.r},{type:Q.Ye},{type:It.F0},{type:It.gz},{type:ne.I},{type:Y.sK}],Lg=(0,j.gn)([(0,m.wA2)({selector:"app-product-full-details",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <div class="row">\n <div class="col-12 col-md-5 d-flex flex-column justify-content-center">\n <div class="container-fluid">\n <div class="row px-1">\n <div class="big-product-image d-flex flex-column justify-content-center"\n [class.bg-light]="imageSrc == defaultImageSrc">\n <img class="w-100 bg-light" [src]="imageSrc" alt="" />\n </div>\n </div>\n <div class="row mt-2 mb-3">\n <div class="col-2 px-1 clickable" *ngFor="let image of images;let i = index;">\n <img class="w-100 img-thumb" [class.bg-light]="image.url == defaultImageSrc" [src]="image.url"\n (click)="changeBigImage(i)" [class.active]="image.active == 1" alt="" />\n </div>\n </div>\n </div>\n </div>\n <div class="col-12 col-md-7">\n <div class="row">\n <div class="col-12">\n <h4>{{productDetails.product_name}}</h4>\n </div>\n <mat-divider class="col-12 my-2"></mat-divider>\n <div class="col-12 d-flex justify-content-between">\n <h1 class="text-primary">{{productDetails.unit_price | currency: code}}</h1>\n <div class="d-flex flex-column justify-content-center">\n <div class="d-flex">\n <button class="align-middle mr-1" mat-mini-fab color="primary"\n matTooltip="{{ \'common_edit\' | translate }}" routerLink="/shop/products/edit/{{productDetails.id}}">\n <mat-icon>edit</mat-icon>\n </button>\n <button class="align-middle ml-1" mat-mini-fab color="primary"\n matTooltip="{{ \'common_print\' | translate }}" (click)="btnPrintClick()">\n <mat-icon>print</mat-icon>\n </button>\n </div>\n </div>\n </div>\n <div class="col-12">\n <span>{{ \'common_costPrice\' | translate}}:</span>\n <span class="ml-2 text-secondary">{{productDetails.cost_price | currency: code}}</span>\n </div>\n <div class="col-12" *ngIf="productDetails.discount_price">\n <span>{{ \'common_discountPrice\' | translate}}:</span>\n <span class="ml-2 text-secondary">{{productDetails.discount_price | currency: code}}</span>\n </div>\n <div class="col-12">\n <span>{{ \'common_productBarcode\' | translate}}:</span>\n <span class="ml-2 text-secondary">{{productDetails.product_barcode}}</span>\n </div>\n <div class="col-12">\n <span>{{ \'common_category\' | translate}}:</span>\n <span class="ml-2 text-secondary">{{productDetails.category.category_name}}</span>\n </div>\n <div class="col-12" *ngIf="productDetails.supplier">
1\n <span>{{ \'common_supplier\' | translate}}:</span>\n <span class="ml-2 text-secondary">{{productDetails.supplier.supplier_name}}</span>\n </div>\n <div class="col-12">\n <p class="mb-0">{{ \'common_description\' | translate}}:</p>\n <span class="text-secondary"\n *ngIf="productDetails.product_description">{{productDetails.product_description}}</span>\n <span class="text-secondary" *ngIf="!productDetails.product_description">\n {{ \'common_noDescription\' | translate}}</span>\n </div>\n <div class="col-12 mt-5 d-flex justify-content-end">\n <button mat-stroked-button class="mr-1" routerLink="/shop/online-products">\n <mat-icon>share</mat-icon>\n {{ \'Share on online\' | translate }}\n </button>\n <button mat-stroked-button class="ml-1" routerLink="/shop/membership/affect-discount">\n <mat-icon>discount</mat-icon>\n {{ \'common_discount\' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="row mt-5 px-1">\n <div class="col-12">\n <h2>{{ \'Related product to\' | translate }}\n <span class="text-secondary">{{productDetails.category.category_name}}</span>\n {{ \'category\' | translate }}\n </h2>\n <div class="d-flex horizontal-scrollable">\n <div *ngFor="let categoryProduct of categoryProducts" class="card card-product mr-3 clickable"\n (click)="openProduct(categoryProduct.id)">\n <div class="card-product-image d-flex flex-column justify-content-center">\n <img lass="card-img-top"\n [src]="categoryProduct.img_url ? categoryProduct.img_url : \'/assets/images/logo2.png\'" alt="">\n </div>\n <div class="card-body p-2">\n <p class="text-primary longTitle mb-1">{{categoryProduct.product_name}}</p>\n <p class="text-muted mb-1 longDescription" *ngIf="categoryProduct.product_description">\n {{categoryProduct.product_description}}</p>\n <p class="text-muted mb-0 longDescription" *ngIf="!categoryProduct.product_description">\n {{ \'common_noDescription\' | translate }}\n </p>\n <div class="rating mb-1">\n <i class="fas fa-star"></i>\n <i class="fas fa-star"></i>\n <i class="fas fa-star"></i>\n <i class="fas fa-star"></i>\n <i class="fas fa-star"></i>\n </div>\n <h3 class="text-primary">{{categoryProduct.unit_price | currency:code}}</h3>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row mt-5 px-1">\n <mat-tab-group class="col-12">\n <mat-tab label="{{\'Characteristic\' | translate }}">\n <div class="container-fluid">\n <div class="row mt-3">\n <div class="col">\n <div *ngIf="productDetails.attributes">\n <div class="Characteristic-detail" *ngFor="let attribute of productDetails.attributes">\n <div class="name">{{attribute.name}}</div>\n <div class="value">{{attribute.pivot.attribute_value}}</div>\n </div>\n </div>\n <div *ngIf="productDetails.attributes.length == 0">\n <span class="text-danger">\n {{ \'No Characteristic\' | translate }}\n </span>\n </div>\n </div>\n </div>\n </div>\n </mat-tab>\n <mat-tab label="{{ \'Review\' | translate }} ">\n <div class="container-fluid">\n <div class="row mt-3">\n <div class="col">\n <span class="text-danger">\n {{ \'No Review\' | translate }}\n </span>\n </div>\n </div>\n </div>\n </mat-tab>\n <mat-tab label="{{ \'Comments\' | translate }} ">\n <div class="container-fluid">\n <div class="row mt-3">\n <div class="col">
1\n <span class="text-danger">\n {{ \'No Comments\' | translate }}\n </span>\n </div>\n </div>\n </div>\n </mat-tab>\n </mat-tab-group>\n </div>\n</div>\n',styles:['.img-thumb {\n height: 40px;\n min-height: 40px;\n object-fit: cover;\n}\n\n.img-thumb.active {\n border: solid 1px var(--primary);\n}\n\n.horizontal-scrollable {\n overflow-x: auto;\n white-space: nowrap;\n}\n\n.card-product {\n width: 220px;\n min-width: 220px;\n height: 330px;\n overflow: hidden;\n}\n\n.big-product-image {\n width: 100%;\n min-width: 100%;\n height: 300px;\n min-height: 300px;\n object-fit: cover;\n overflow: hidden;\n}\n\n.card-product-image {\n width: 220px;\n min-width: 220px;\n height: 180px;\n min-height: 180px;\n object-fit: cover;\n background-color: var(--light);\n overflow: hidden;\n}\n\n.card-img-top > img {\n width: 200px;\n height: 200px;\n}\n\n.longTitle {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.longDescription {\n overflow: hidden;\n height: 48px;\n min-height: 48px;\n word-break: normal;\n white-space: normal;\n}\n\n.horizontal-scrollable > .row > .col-3 {\n display: inline-block;\n float: none;\n}\n\n/* Decorations */\n\n.header-product {\n width: 100%;\n display: flex;\n padding: 2%;\n border-bottom: 1px solid #b6b6b6;\n margin-bottom: 10px;\n padding: 16px 0 7px;\n}\n\n.header-product .title {\n color: #747474;\n font-size: 24px;\n line-height: 26px;\n font-family: "Open Sans", Arial, sans-serif;\n font-weight: normal;\n letter-spacing: 2px;\n text-transform: uppercase;\n margin-right: 5%;\n}\n\n.header-product .barcode {\n font-weight: normal;\n color: #353535;\n font-family: "Open Sans", Arial, sans-serif;\n font-weight: bold !important;\n font-size: 24px;\n line-height: 26px;\n}\n\n.details-product {\n width: 100%;\n padding: 2%;\n display: flex;\n}\n\n.details-product .image-container {\n width: 40%;\n padding: 2%;\n box-sizing: border-box;\n}\n\n.details-product .image-container > .img {\n height: 70%;\n width: 100%;\n background-position: center center !important;\n background-size: 100% 100% !important;\n background-repeat: no-repeat !important;\n filter: contrast(70%);\n overflow: hidden;\n position: relative;\n}\n\n.image-drag {\n width: 100%;\n height: 20%;\n display: flex;\n align-items: center;\n overflow-x: auto;\n overflow-y: hidden;\n margin-top: 5px;\n}\n\n.image-drag > img {\n max-width: 20%;\n cursor: pointer;\n}\n\n.image-drag > div {\n width: 100px;\n margin-right: 2%;\n height: 90%;\n background-position: center center !important;\n background-size: 100% 100% !important;\n background-repeat: no-repeat !important;\n filter: contrast(70%);\n overflow: hidden;\n position: relative;\n}\n\n.action > div {\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.action > div > a {\n padding-bottom: 0;\n position: relative;\n font-weight: 600;\n padding-top: 2%;\n margin-left: 1%;\n letter-spacing: 1px;\n text-transform: uppercase;\n font-weight: bold;\n color: #28a745;\n text-decoration: underline;\n}\n\n.details-product .product-main-info {\n width: 60%;\n padding: 2%;\n box-sizing: border-box;\n}\n\n.details-product .product-main-info .name {\n letter-spacing: 1px;\n text-transform: uppercase;\n font-weight: bold;\n color: #d91627;\n background: #f5f5f5;\n border: 1px solid #e6e6e6;\n padding: 4%;\n}\n\n.details-product .product-main-info .price {\n width: 100%;\n display: flex;\n justify-content: space-between;\n padding: 10px;\n border: 1px solid #e6e6e6;\n box-sizing: border-box;\n}\n\n.details-product .product-main-info .price .value {\n color: #353535;\n font-weight: bold;\n position: relative;\n white-space: nowrap;\n}\n\n.details-product .product-main-info .price .old {\n color: #757575;\n font-size: 18px;\n font-weight: normal;\n text-decoration: line-through;\n vertical-align: middle;\n}\n\n.details-product .product-main-info .price .discount {\n padding: 0 5px;\n background-color: #d91627;\n text-transform: uppercase;\n color: white;\n display: flex;\n align-items: center;\n}\n\n.details-product .product-main-info .details {\n padding: 16px 20px;\n border: 1px solid #e6e6e6;\n color: #353535;\n display: flex;\n}\n\n.details-product .product-main-info .details p {\n font-weight: bold;\n font-size: 12px;\n margin: 0 !important;\n}\n\n.details-product .product-main-info .delivery {\n width: 50%;\n border-right: 1px solid #e6e6e6;\n}\n\n.cart-bt {\n font-weight: bold;\n border: 0;\n border-bottom: 3px solid;\n border-radius: 3px;\n padding: 0;\n width: 80%;\n color: #fff !important;\n line-height: 44px;\n font-size: 13px;\n white-space: nowrap;\n text-transform: uppercase;\n text-decoration: none;\n border-color: #b91321;\n background-color: #d91627;\n}\n\n.details-product .product-main-info .delivery .option {\n margin: 5px 0;\n color: #353535;\n text-decoration: underline;\n font-size: 12px;\n}\n\n.strong-points {\n margin-top: 20px;\n width: 100%;\n border: 3px solid #005ead;\n padding: 15px 5px 15px 20px;\n}\n\n.strong-points > p {\n clear: both;\n margin: 0 0 10px;\n padding: 10px 0 0;\n color: #353535;\n font-size: 14px;\n}\n\n.strong-points > ul > li {\n padding: 0 0 0 15px;\n color: #353535;\n font-size: 13px;\n}\n\n.strong-points > ul > li > i {\n color: #d91627;\n margin-right: 1%;\n}\n\n.reviews-product {\n width: 100%;\n}\n\n.reviews-product .reviews-product-header {\n width: 100%;\n display: flex;\n justify-content: space-around;\n height: 60px;\n}\n\n.reviews-product .reviews-product-header .bt-navigation {\n width: 30%;\n background-color: #f5f5f5;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-bottom: 0;\n position: relative;\n font-weight: 600;\n letter-spacing: 1px;\n text-transform: uppercase;\n font-weight: bold;\n color: #353535;\n cursor: pointer;\n}\n\n.reviews-product-details {\n width: 100%;\n padding: 2%;\n background-color: #f5f5f5;\n margin-top: 20px;\n}\n\n.reviews-product-details {\n width: 100%;\n padding: 2%;\n}\n\n.reviews-product-details .Characteristic-detail {\n width: 100%;\n display: flex;\n height: auto;\n background-color: #fff;\n padding: 2%;\n margin-top: 2%;\n margin-bottom: 2%;\n}\n\n.reviews-product-details .Characteristic-detail > div {\n width: 50%;\n}\n\n.rating-prev {\n display: flex;\n width: 100%;\n margin-bottom: 5px;\n color: #003366;\n font-weight: bold;\n font-size: 18px;
1\n line-height: 26px;\n margin-bottom: 2%;\n}\n\n.rating {\n margin-right: 5%;\n}\n\n.rating > i {\n color: orange;\n}\n\n.link-det {\n margin: 5px 0;\n color: #353535;\n text-decoration: underline;\n font-size: 12px;\n cursor: pointer;\n}\n\n.title-section {\n display: inline-block;\n margin: 0 0 18px;\n border-bottom: 1px solid #6f6f6f;\n padding: 0 0 2px;\n font-size: 36px;\n color: #353535;\n font-weight: normal;\n text-transform: uppercase;\n}\n\n.card-review {\n background: #fff;\n box-shadow: 0 10px 6px -6px rgba(0, 0, 0, 0.03), 0 0 2px 0 #e8e8e8 inset;\n margin-top: 20px;\n padding: 15px 30px;\n display: flex;\n width: 45%;\n}\n\n.card-review .left-side {\n width: 30%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.card-review .left-side .note {\n color: #353535;\n font-size: 54px;\n}\n\n.card-review .left-side .note > sub {\n bottom: -1px;\n font-size: 30px;\n}\n\n.suggest-product {\n width: 100%;\n padding: 2%;\n background-color: #f5f5f5;\n margin-bottom: 20px;\n}\n\n.card-sugget-product {\n width: 220px;\n min-width: 220px;\n height: 330px;\n margin: 0 9px;\n z-index: 10;\n overflow: hidden;\n background-color: #fff;\n}\n\n.card-sug-prdt-header {\n background-position: center center !important;\n background-size: 80% 80% !important;\n background-repeat: no-repeat !important;\n height: 50%;\n display: flex;\n justify-content: center;\n}\n\n.card-sug-prdt-desc {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 20%;\n margin: 4%;\n border-bottom: #353535 1px solid;\n box-sizing: border-box;\n}\n\n.card-sug-prdt-desc .name-prod {\n color: #747474;\n font-weight: bold;\n font-size: 11px;\n height: 16px;\n float: left;\n text-decoration: none;\n padding: 2px 0;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 100%;\n margin-bottom: 5%;\n}\n\n.card-sug-prdt-desc .desc-prod {\n padding-bottom: 0;\n color: #353535;\n font-weight: bold;\n font-size: 13px;\n line-height: 15px;\n height: 30px;\n float: left;\n text-decoration: none;\n text-transform: uppercase;\n width: 100%;\n overflow: hidden;\n}\n\n.card-sug-prdt-note {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 25%;\n padding: 4%;\n}\n\n.card-sug-prdt-note .value {\n font-size: 25px;\n line-height: 32px;\n color: #353535;\n font-weight: bold;\n position: relative;\n}\n\n.card-sug-prdt-note .value > sup {\n font-size: 15px;\n position: absolute;\n line-height: 30px;\n}\n\n.conyainer-sugget-product {\n display: flex;\n overflow-x: auto;\n overflow-y: hidden;\n padding-bottom: 2%;\n}\n\n.conyainer-sugget-product::-webkit-scrollbar {\n width: 1px;\n scrollbar-width: thin;\n scrollbar-width: thin;\n scrollbar-color: #fff;\n}\n\n.conyainer-sugget-product::-webkit-scrollbar-track {\n background: #fff;\n}\n\n.conyainer-sugget-product::-webkit-scrollbar-thumb {\n border: 3px solid #fff;\n}\n\n.clicked-bt {\n border: 3px solid #333;\n}\n\n@media print {\n #PageDetailsProductS2c {\n height: 100% !important;\n width: 100% !important;\n left: 0 !important;\n top: 0 !important;\n overflow: hidden !important;\n position: fixed !important;\n }\n\n #actionDetailProduct {\n display: none !important;\n }\n}']})],Lg);let jc=class{constructor(t,e,a,r,i){this.data=t,this.dialogRef=e,this.http=a,this.message=r,this.translate=i,this.productIds=[],this.formDataSource=[],this.breadCrumbsArr=[{translateKey:"nav_productList",pathName:"/shop/products"},{translateKey:"batch_update"}],this.productIds=[...t.productIds],this.initForm(),console.log("products:",this.productIds)}ngOnInit(){console.log("init comp")}ngAfterViewInit(){this.formtable.filterForm.get("cost_price_method").valueChanges.subscribe(t=>{const e=this.formtable.filterForm.get("cost_price_value");t?e.enable():(e.patchValue(0),e.disable()),console.log("values:",this.formtable.filterForm.value)}),this.formtable.filterForm.get("unit_price_method").valueChanges.subscribe(t=>{const e=this.formtable.filterForm.get("unit_price_value");t?e.enable():(e.patchValue(0),e.disable())})}initForm(){this.formDataSource=[{type:"select",key:"cost_price_method",translateKey:"cost_price_method",rules:[{message:""}],value:"",options:[{label:"pleaseSelectData",value:""},{label:"by_discount",value:"discount"},{label:"by_fixed",value:"fixed"},{label:"by_discounted",value:"discounted"}]},{type:"input",key:"cost_price_value",translateKey:"cost_price_value",disable:!0,inputType:"number"},{type:"select",key:"unit_price_method",translateKey:"unit_price_method",value:"",rules:[{message:""}],options:[{label:"pleaseSelectData",value:""},{label:"by_discount",value:"discount"},{label:"by_fixed",value:"fixed"},{label:"by_discounted",value:"discounted"}]},{type:"input",key:"unit_price_value",translateKey:"unit_price_value",inputType:"number",disable:!0},{type:"supplierSelect",key:"supplier_id",isShowAll:!1},{type:"input",key:"range_id",translateKey:"Goods shelf No",rules:[{message:""}]},{type:"categorySelect",key:"category_id",translateKey:"category_id",rules:[{message:""}]}]}formChange(t){console.log("changes:",t)}handleSubmit(t){t.cost_price_value&&(t.cost_price_value=1*t.cost_price_value),t.unit_price_value&&(t.unit_price_value=1*t.unit_price_value);for(let a of Object.keys(t))(null===t[a]||void 0===t[a])&&delete t[a];const e={...t};e.product_ids=[...this.productIds],this.http.post("v2/product/batch_update",e).pipe((0,xr.K)(a=>(a.error&&a.error.msg&&this.message.error(this.translate.instant(a.error.msg)),(0,Yf._)(a)))).subscribe(a=>{a&&(this.message.success(this.translate.instant("common_update_success")),this.dialogRef.close(!0))})}cancel(){this.dialogRef.close(!1)}};jc.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}
1,{type:St.so},{type:h0.O},{type:ne.I},{type:Y.sK}],jc.propDecorators={formtable:[{type:m.i9L,args:["formtable",{static:!0}]}]},jc=(0,j.gn)([(0,m.wA2)({selector:"app-multi-update",template:'<div class="container-fluid">\n <div class="w-100 d-flex justify-content-end">\n <button mat-icon-button [mat-dialog-close]="false">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <app-s2c-bread-crumbs [breadCrumbsArr]="breadCrumbsArr"></app-s2c-bread-crumbs>\n <app-common-form [columns]="1"\n #formtable\n [dataSource]="formDataSource"\n (onItemChange)="formChange($event)"\n (onSubmit)="handleSubmit($event)">\n </app-common-form>\n</div>',styles:[".container {\n width: 100%;\n height: 100%;\n}"]})],jc);let Ng=class{constructor(t,e,a,r,i,o,s,l){this.productService=t,this.datepipe=e,this.dialogService=a,this.message=r,this.translate=i,this.router=o,this.dialog=s,this.route=l,this.componentName="ProductsListS2CComponent",this.tableName="product",this.cost_price=localStorage.getItem("cost_price"),this.totalProducts=0,this.totalUnitPrice="--",this.totalCostPrice="--",this.profit="--",this.selectedProducts=[],this.isMultiUpdateDisable=!0,this.dataSource=[],this.searchParams={barcode:"",chain_id:"",category_id:"",supplier_id:"",range_id:"",sort_name:"",sort_type:"",page:1},this.columns=[],this.formDataSource=[{type:"commonSearch",translateKey:"common_search",placeholder:"common_search",key:"barcode"},{type:"chainSelect",key:"chain_id"},{type:"categorySelect",key:"category_id"},{type:"numberComparison",key:"inventory_quantity",placeholder:"Inventory quantity",translateKey:"Inventory quantity"},{type:"supplierSelect",key:"supplier_id",isShowAll:!0},{type:"input",translateKey:"search-by-Goods-shelf",placeholder:"search-by-Goods-shelf",key:"range_id"},{type:"sort",translateKey:"sort_name",placeholder:"sort_name",key:"sort_name"},{type:"sort",translateKey:"sort_type",placeholder:"sort_type",key:"sort_type"}],this.pageInfo={total:0,page:1,pageSize:20},this.cardDataList=[{numberData:0,textData:"Total-products"},{numberData:0,textData:"total_quantity"},{numberData:0,textData:"total_goods_value_with_tax",showUnit:!0},{numberData:0,textData:"total_goods_value_without_tax",showUnit:!0},{numberData:0,textData:"total_cost_with_tax",showUnit:!0},{numberData:0,textData:"total_cost_without_tax",showUnit:!0},{numberData:0,textData:"productsCardComponent_totalProfit",showUnit:!0},{numberData:0,textData:"profit_percent",showPercentage:!0}],this.modulePath=this.router.isActive("/shop",!1)?"/shop":this.router.isActive("/wms",!1)?"/wms":"/"}ngOnInit(){this.columns=[{key:"checkbox",translationKey:"",type:"checkbox"},{key:"img_url",translationKey:"common_image",type:"image",sort:!1},{translationKey:"common_goodsShelfNo",type:"text",key:"range_id",sort:!0},{translationKey:"common_productName",type:"text",key:"product_name",sort:!0},{translationKey:"product_name2",type:"text",key:"product_name2",sort:!0},{translationKey:"common_productBarcode",type:"barcode",key:"product_barcode",sort:!0},{translationKey:"product_barcode2",type:"barcode",key:"product_barcode2",sort:!0},{translationKey:"product_number",type:"text",key:"product_number",sort:!0},{translationKey:"common_chain",type:"text",key:"chain_name",sort:!0},{translationKey:"common_supplier",type:"text",key:"supplier_name",sort:!0},{translationKey:"common_category",type:"text",key:"category_name",sort:!0},{translationKey:"common_unitPrice",type:"price",key:"unit_price",sort:!0},{translationKey:"Profit",type:"percent",key:"profit",sort:!0},{translationKey:"common_costPrice",type:"price",key:"cost_price"},{translationKey:"common_memberPrice",type:"price",key:"member_price",sort:!0},{translationKey:"common_taxRate",type:"percent",key:"tax_rate",sort:!0},{translationKey:"common_productQuantity",type:"text",key:"product_quantity",sort:!0},{translationKey:"common_warnQuantity",type:"text",key:"warn_quantity",sort:!0},{translationKey:"common_maxWarnQuantity",type:"text",key:"max_warn_quantity",sort:!0},{translationKey:"common_expiredDate",type:"date",key:"expired_date",sort:!0},{type:"text",translationKey:"inbound_return_stock",key:"inbound_return_stock"},{type:"text",translationKey:"last_inbound_quantity",key:"last_inbound_quantity"},{type:"date",translationKey:"last_inbound_time",key:"last_inbound_time"},{type:"text",translationKey:"outbound_return_stock",key:"outbound_return_stock"},{type:"text",translationKey:"last_outbound_quantity",key:"last_outbound_quantity"},{type:"date",translationKey:"last_outbound_time",key:"last_outbound_time"},{type:"date",translationKey:"last_order_time",key:"last_order_time"},{translationKey:"common_actions",type:"actions",key:"actions",list:"1"==this.cost_price?["copy","edit","detail","delete"]:["copy","detail","edit","delete"]}],"1"===this.cost_price&&(this.columns=this.columns.filter(t=>"cost_price"!=t.key&&"profit"!=t.key)),this.getProductList()}handleAdd(t){this.router.navigate([this.modulePath+"/products/add"],{queryParams:{copyId:t}}
1)}handleReset(){this.searchParams={barcode:"",chain_id:"",category_id:"",supplier_id:"",range_id:"",sort_name:"",sort_type:"",page:1},this.getProductList()}getProductList(){this.productService.getShopProductList(this.searchParams).pipe((0,xr.K)(t=>(0,Ka.of)({data:[],total:0})),(0,ya.U)(t=>{if(t.data)try{t.data.forEach(e=>{e.category_name=e.category?e.category.category_name:"",e.supplier_name=e.supplier?e.supplier.supplier_name:"",e.chain_name=e.chain?e.chain.chain_name:"",e.tax_rate=e.tax_rate?(e.tax_rate/100).toFixed(2):"-","0"==this.cost_price&&(e.profit=((e.unit_price-e.cost_price)/e.unit_price).toFixed(2)),e.product_barcode2=e.product_barcode2&&"[]"!==e.product_barcode2?e.product_barcode2:"--"})}catch(e){console.log(e)}return t})).subscribe(t=>{this.dataSource=[...t.data],this.pageInfo.total=t.total,this.totalProducts=t.total,this.cardDataList[0].numberData=t.total,this.cardDataList[1].numberData=t?.total_quantity,this.totalUnitPrice=t.unit_price_sum,this.cardDataList[2].numberData=(t.unit_price_sum||0).toFixed(2)||0,this.cardDataList[3].numberData=(t.unit_price_sum_without_tax||0).toFixed(2)||0,this.totalCostPrice=t.cost_price_sum,this.cardDataList[4].numberData=(t.cost_price_sum||0).toFixed(2)||0,this.cardDataList[5].numberData=(t.cost_price_sum_without_tax||0).toFixed(2)||0,this.cardDataList[6].numberData=(t.total_profit||0).toFixed(2)||0,this.profit=t.profit,this.cardDataList[7].numberData=(t.profit||0).toFixed(2)||0})}handleSearch(t){this.searchParams={...t,page:1},this.getProductList()}handleChangePaginator(t){this.pageInfo.page=t.page,this.searchParams.page=t.page,this.getProductList()}handleViewDetail({item:t,type:e}){"copy"===e&&this.dialogService.confirmDialog({title:this.translate.instant("common_copy_title"),message:this.translate.instant("common_copy_info"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&this.handleAdd(t.id)}),"edit"===e&&this.router.navigate(["/shop/products/edit/",t.id]),"detail"===e&&this.router.navigate(["/shop/products/",t.id]),"delete"===e&&this.dialogService.confirmDialog({title:this.translate.instant("common_delete_title"),message:this.translate.instant("common_delete_product_info"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&this.productService.deleteProduct(t.id).subscribe(r=>{r&&(this.searchParams.page=1,this.pageInfo.page=1,this.message.success(this.translate.instant("common_delete_success")),this.getProductList())})})}handleUpload(){this.router.navigate(["./upload"],{relativeTo:this.route})}handleDownload(t){try{let e=this.pageInfo.page,a=this.searchParams.chain_id,r=this.searchParams.category_id,i=this.searchParams.barcode,o=this.searchParams.supplier_id,s=this.searchParams.range_id;this.productService.downloadShopProductList(e,a,r,i,o,s).subscribe(l=>{const c=window.URL.createObjectURL(l.body);let d=document.createElement("a");d.href=c,d.download="product.xlsx",d.click(),URL.revokeObjectURL(c),d=null})}catch(e){console.log(e)}}handleSelectItem(t=[]){this.selectedProducts=[...t],this.selectedProducts.length>0?this.isMultiUpdateDisable=!1:this.isMultiUpdateDisable=!0}handleMultiUpdate(){this.dialog.open(jc,{width:"60%",height:"80%",maxWidth:"100%",data:{productIds:this.selectedProducts.map(t=>t.id)}}).afterClosed().subscribe(t=>{t&&this.getProductList()})}};Ng.ctorParameters=()=>[{type:Je.r},{type:Q.uU},{type:Bn.x},{type:ne.I},{type:Y.sK},{type:It.F0},{type:St.uw},{type:It.gz}],Ng=(0,j.gn)([(0,m.wA2)({selector:"app-products-list-s2c",template:'\n<div class="container-fluid" >\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-products-card [cardDataList]="cardDataList"></app-products-card>\n\n <app-common-search-list-table [tableName]="tableName" [isBarecode]="true" (onReset)="handleReset()" (onSubmit)="handleSearch($event)" (onAddClick)="handleAdd()"\n [isShowUpload]="true" (onUploadClick)="handleUpload()" [dataSource]="dataSource" [columns]="columns"\n [uniqueTableKey]="componentName" [pageInfo]="pageInfo" (pageChange)="handleChangePaginator($event)"\n (onBtnClick)="handleViewDetail($event)" [formColumn]="formDataSource" [isShowDownload]="true" (onDownload)="handleDownload($event)" (onCheckCh
1ange)="handleSelectItem($event)">\n </app-common-search-list-table>\n <div class="row">\n <div class="col d-flex justify-content-end">\n <button class="btn btn-min-width btn-primary mx-2" mat-button [disabled]="isMultiUpdateDisable"\n (click)="handleMultiUpdate()">{{"batch_update"|translate}}</button>\n </div>\n </div>\n</div>\n',styles:[""]})],Ng);var eY=F(72192);let th=class{constructor(t,e,a,r,i,o,s,l,c,d,u){this.router=e,this.message=a,this.formBuilder=r,this.productshopSerivce=i,this.datepipe=o,this.translate=s,this.dialog=l,this.loadingService=c,this.displayedColumns=["name","value","unite"],this.dataSource=new $e.by,this.currentId="",this.tags=[],this.afterInit=!1,this.maximumImageSize=6,this.blockAdd=!1,t.params.subscribe(h=>{this.currentId=h.id}),this.setupForm(),this.mobileQuery=d.matchMedia("(max-width: 576px)"),this.mobileQueryListener=()=>u.detectChanges(),this.mobileQuery.addEventListener("change",this.mobileQueryListener)}ngOnInit(){this.loadingService.openDialog(),this.form=this.formBuilder.group({tag:[void 0]}),this.initData()}focusTagInput(){this.tagInputRef.nativeElement.focus()}onKeyUp(t){const e=this.form.controls.tag.value;
1"Backspace"!==t.code||e?("Comma"===t.code||"Space"===t.code)&&(this.addTag(e),this.form.controls.tag.setValue("")):this.removeTag()}addTag(t){(","===t[t.length-1]||" "===t[t.length-1])&&(t=t.slice(0,-1)),t.length>0&&!qO(this.tags,t)&&this.tags.push(t)}removeTag(t){t?BO(this.tags,t):this.tags.splice(-1)}ngAfterViewInit(){this.adjustMatStepperPadding()}ngOnDestroy(){this.mobileQuery.removeEventListener("change",this.mobileQueryListener)}initData(){this.onGetProductById(this.currentId)}adjustMatStepperPadding(){document.querySelectorAll(".mat-horizontal-stepper-header").forEach(t=>{t.classList.add("px-0")}),document.querySelectorAll(".mat-horizontal-content-container").forEach(t=>{t.classList.add("px-0")})}setupForm(t){this.basicInformationForm=this.formBuilder.group({product_name:[t?t.product_name:"",V.kI.required],product_name2:[t?t.product_name2:""],product_number:[t?t.product_number:""],product_description:[t?t.product_description:""],range_id:[t?t.range_id:""],product_barcode:[t?t.product_barcode:"",V.kI.required],product_barcode2:[JSON.stringify(this.tags)],cost_price:[t?t.cost_price:"",V.kI.required],unit_price:[t?t.unit_price:"",V.kI.required],tax_rate:[t?t.tax_rate.toString():"",V.kI.required],member_price:[t?t.member_price:""],unit_per_box:[t?t.unit_per_box:null],unit_per_package:[t?t.unit_per_package:null],warn_quantity:[t?t.warn_quantity:""],max_warn_quantity:[t?t.max_warn_quantity:""],product_quantity:[t?t.product_quantity:""],expired_date:[t?t.expired_date:""],supplier_id:[t?t.supplier_id.toString():""],chain_id:[t?t.chain_id.toString():"",V.kI.required],category_id:[t?t.category_id.toString():"",V.kI.required]}),t&&(this.images=[{img_url:t.img_url,img_name:t.img_name}],this.images=this.images.concat(t.images),this.images.length>=this.maximumImageSize&&(this.blockAdd=!0))}get g(){return this.basicInformationForm.controls}count(t){return new Array(t)}selectSupplier(t){this.basicInformationForm.get("supplier_id").setValue(t.id)}selectChain(t){this.basicInformationForm.get("chain_id").setValue(t.id)}selectCategory(t){this.basicInformationForm.get("category_id").setValue(t.id)}btnAddImageClick(){this.images||(this.images=[]),this.images.push({id:"",img_name:"",img_url:""}),this.images.length>=this.maximumImageSize&&(this.blockAdd=!0)}btnChooseImageClick(t){this.dialog.open(Ti,{data:{isDialog:!0}}).afterClosed().subscribe(e=>{e&&(this.images[t]=e)})}btnDeleteImageClick(t){this.images.splice(t,1),this.images.length<this.maximumImageSize&&(this.blockAdd=!1)}btnResetClick(){this.stepper.reset(),this.basicInformationForm.get("supplier_id").setValue(""),this.basicInformationForm.get("chain_id").setValue(""),this.basicInformationForm.get("category_id").setValue(""),this.supplierSelection.supplier_id.setValue(""),this.chainSelection.chain_id.setValue(""),this.categorySelection.category_id.setValue(""),this.images=[],this.blockAdd=!1}btnUpdateClick(){let t={id:this.currentId,product_name:this.basicInformationForm.value.product_name,product_name2:this.basicInformationForm.value.product_name2,product_number:this.basicInformationForm.value.product_number,product_description:this.basicInformationForm.value.product_description,range_id:this.basicInformationForm.value.range_id,barcode:this.basicInformationForm.value.product_barcode,product_barcode2:JSON.stringify(this.tags),cost_price:this.basicInformationForm.value.cost_price,unit_price:this.basicInformationForm.value.unit_price,tax_rate:this.basicInformationForm.value.tax_rate,member_price:this.basicInformationForm.value.member_price,unit_per_box:Number(this.basicInformationForm.value.unit_per_box),unit_per_package:Number(this.basicInformationForm.value.unit_per_package),warn_quantity:this.basicInformationForm.value.warn_quantity,max_warn_quantity:this.basicInformationForm.value.max_warn_quantity,product_quantity:this.basicInformationForm.value.product_quantity,expired_date:this.datepipe.transform(this.basicInformationForm.value.expired_date,"yyyy-MM-dd hh:mm:ss"),supplier_id:parseInt(this.basicInformationForm.value.supplier_id,10),chain_id:parseInt(this.basicInformationForm.value.chain_id,10),category_id:parseInt(this.basicInformationForm.value.category_id,10),store_id:localStorage.getItem("store_id")};if(this.images&&this.images.length>0&&(t.img_name=this.images[0].img_name,t.img_url=this.images[0].img_url,this.images.length>1)){const e=this.images.slice();e.shift(),t.images=e}this.productshopSerivce.updateProduct(t).subscribe(e=>{this.message.success(this.translate.instant("common_update_success")),this.router.navigate(["/shop/products"])},e=>{console.log(e)})}btnGenerateClick(){return this.productshopSerivce.generateBarcode().subscribe(t=>{this.basicInformationForm.get("barcode").setValue(t.data)},t=>{console.log(t)})}onGetProductById(t){return this.productshopSerivce.getProductById(t).subscribe(e=>{e&&this.loadingService.hideDialog(),e&&e.data&&(this.setupForm(e.data[0]),this.tags=JSON.parse(e.data[0].product_barcode2?e.data[0].product_barcode2:"[]")),this.afterInit=!0},e=>{console.log(e),this.afterInit=!0})}};th.ctorParameters=()=>[{type:It.gz},{type:It.F0},{type:ne.I},{type:V.qu},{type:Je.r},{type:Q.uU},{type:Y.sK},{type:St.uw},{type:Qe.E},{type:yo.vx},{type:m.sBO}],th.propDecorators={tagInputRef:[{type:m.i9L,args:["tagInput"]}],stepper:[{type:m.i9L,args:["stepper",{static:!0}]}],supplierSelection:[{type:m.i9L,args:["supplierSelection",{static:!0}]}],chainSelection:[{type:m.i9L,args:["chainSelection",{static:!0}]}],categorySelection:[{type:m.i9L,args:[eY.S,{static:!0}]}]},th=(0,j.gn)([(0,m.wA2)({selector:"app-shop-edit-product",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <mat-horizontal-stepper linear #stepper>\n <mat-step [stepControl]="basicInformationForm">\n <ng-template matStepLabel>{{"Basic information"|translate}}</ng-template>\n <form [formGroup]="basicInformationForm">\n <div class="row">\n <mat-form-field class="col-12 col-sm-6" appearance="outline">\n <mat-label>{{\'common_productName\' | translate}}</mat-label>\n <input type="text" matInput placeholder="{{\'common_productName\' | translate}}" id="product_name"\n name="product_name" formControlName="product_name" />\n <mat-error>{{ \'common_productName_required\' | translate }}</mat-error>\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6" appearance="outline">\n <mat-label>{{\'product_name2\' | translate}}</mat-label>\n <input type="text" matInput placeholder="{{\'product_name2\' | translate}}" id="product_name2"\n name="product_name2" formControlName="product_name2" />\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6" appearance="outline">\n <mat-icon matSuffix>add_shopping_cart</mat-icon>\n <mat-label>{{\'common_goodsShelfNo\'| translate}}</mat-label>\n <input type="text" matInput placeholder="{{\'common_goodsShelfNo\'| translate }}" id="range_id"\n name="range_id" formControlName="range_id" />\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6" appearance="outline">\n <mat-label>{{\'product_number\' | translate}}</mat-label>\n <input type="text" matInput placeholder="{{\'product_number\' | translate}}" id="product_number"\n name="product_number" formControlName="product_number" />\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6" appearance="outline">\n <mat-label>{{\'Product Description\' | translate}}</mat-label>\n <input type="text" matInput placeholder="{{\'Product Description\' | translate}}" id="product_description"\n name="product_description" formControlName="product_description" />\n </mat-form-field>\n </div>\n <div class="row">\n <mat-form-field class="col-12" appearance="outline">\n <mat-label>{{\'common_productBarcode\' | translate}}</mat-label>\n <mat-icon matSuffix>qr_code</mat-icon>\n <input type="text" matInput placeholder="{{\'common_productBarcode\' | translate}}"\n id="product_barcode" name="product_barcode" formControlName="product_barcode" />\n <mat-error>{{ \'common_productBarcode_required\' | translate }}</mat-error>\n </mat-form-field>\n \x3c!-- <div class="col-12 col-sm-4 d-flex justify-content-center" [class.pb-4]="!mobileQuery.matches">\n <button type="button" class="btn btn-min-width btn-primary" [class.btn-block]="mobileQuery.matches"\n (click)="btnGenerateClick()">\n <mat-icon class="align-middle">
1qr_code</mat-icon>\n <span class="align-middle ml-1">{{\'generate_barcode\' | translate}}</span>\n </button>\n </div> --\x3e\n </div>\n <div class="row" [formGroup]="form">\n <mat-form-field class="col-12" appearance="outline">\n <mat-label>{{\'product_barcode2\' | translate}}</mat-label>\n <p class="d-flex mb-0 ">\n <span class="mx-0 " *ngFor="let tag of tags">\n <div class="card d-flex smb-0 mr-1">\n <p class="px-1 mb-0 d-flex">\n {{tag}} <i class="pt-2 pl-1 fa fa-close text-primary" style="font-size: 10px;"\n (click)="removeTag(tag)"></i>\n </p>\n </div>\n </span>\n <input placeholder="test" #tagInput matInput type="text" data-role="taginput" class="input-tag"\n pattern="[0-9]"\n [(ngModel)]="taginput" placeholder="{{\'product_barcode2\' | translate}}" (keyup)="onKeyUp($event)"\n formControlName="tag">\n </p>\n </mat-form-field>\n </div>\n <div class="row">\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label>{{\'common_costPrice\' | translate}}</mat-label>\n <input type="number" min="0" matInput placeholder="{{\'common_costPrice\' | translate}}" id="cost_price"\n name="cost_price" formControlName="cost_price">\n <mat-error>{{ \'common_costPrice_required\' | translate }}</mat-error>\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label> {{\'common_unitPrice\' | translate}}</mat-label>\n <input type="number" min="0" matInput placeholder="{{\'common_unitPrice\' | translate}}" id="unit_price"\n name="unit_price" formControlName="unit_price">\n <mat-error>{{ \'common_unitPrice_required\' | translate }}</mat-error>\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label>{{\'common_memberPrice\' | translate}}</mat-label>\n <input type="text" matInput placeholder="{{\'common_memberPrice\' | translate}}" id="member_price"\n name="member_price" formControlName="member_price">\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label>{{\'common_taxRate\' | translate}}</mat-label>\n <mat-select id="tax_rate" name="tax_rate" formControlName="tax_rate">\n <mat-option *ngFor="let number of count(31); let i = index" value="{{i}}">{{i}}</mat-option>\n </mat-select>\n <mat-error>{{ \'common_taxRate_required\' | translate }}</mat-error>\n </mat-form-field>\n </div>\n <div class="row">\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label> {{\'common_productQuantity\' | translate}} </mat-label>\n <input type="number" matInput placeholder="{{\'common_productQuantity\' | translate}}" id="product_quantity"\n name="product_quantity" formControlName="product_quantity">\n <mat-error>{{ \'common_productQuantity_required\' | translate }}</mat-error>\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label>{{\'common_warnQuantity\' | translate}}</mat-label>\n <input type="number" matInput placeholder="{{\'common_warnQuantity\' | translate}}" id="warn_quantity"\n name="warn_quantity" formControlName="warn_quantity">\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label>{{\'common_maxWarnQuantity\' | translate}}</mat-label>\n <input type="number" matInput placeholder="{{\'common_maxWarnQuantity\' | translate}}" id="max_warn_quantity"\n name="max_warn_quantity" formControlName="max_warn_quantity">\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label>{{\'common_expiredDate\' | translate}}</mat-label>\n <input matInput [matDatepicker]="dp" placeholder="{{\'common_expiredDate\'|translate}}" id="expired_date"\n name="expired_date" formControlName="expired_date">\n <mat-datepicker-toggle matSuffix [for]="dp"></mat-datepicker-toggle>\n <mat-datepicker #dp></mat-datepicker>\n </mat-form-field>\n </div>\n <div class="row" *ngIf="afterInit">\n <app-supplier-selection class="col-12 col-sm-6 col-md-4 col-lg-3" [required]="false"\n [selected_id]="g.supplier_id.value" (supplierChange)="selectSupplier($event)" #supplierSelection>\n </app-supplier-selection>\n <app-chain-selection class="col-12 col-sm-6 col-md-4 col-lg-3" [required]="true"\n [selected_id]="g.chain_id.value" (chainChange)="selectChain($event)" #chainSelection></app-chain-selection>\n <app-category-selection class="col-12 col-sm-6 col-md-4 col-lg-3" [required]="true"\n [selected_id]="g.category_id.value" (categoryChange)="selectCategory($event)">\n </app-category-selection>\n </div>\n <div class="row">\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label> {{\'quantity_per_box\' | translate}}</mat-label>\n <input type="number" matInput placeholder="{{\'quantity_per_box\' | translate}}" id="unit_per_box"\n name="unit_per_box" formControlName="unit_per_box">\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4 col-lg-3" appearance="outline">\n <mat-label>{{\'quantity_per_package\' | translate}}</mat-label>\n <input type="number" matInput placeholder="{{\'quantity_per_package\' | translate}}" id="unit_per_package"\n name="unit_per_package" formControlName="unit_per_package">\n </mat-form-field>\n </div>\n <div class="row">\n <div class="col d-flex flex-row-reverse">\n <button class="btn btn-min-width btn-primary mx-2" mat-button\n matStepperNext>{{"common_next"|translate}}</button>\n <button class="btn btn-min-width btn-light mx-2" mat-button\n (click)="btnResetClick()">{{"common_reset"|translate}}</button>\n </div>\n </div>\n </form>\n </mat-step>\n\n <mat-step>\n <ng-template matStepLabel>{{"Images"|translate}}</ng-template>\n <div class="row">\n <div class="col-12 col-sm-12 col-md-6 col-lg-3 d-flex flex-column" *ngFor="let image of images; let i = index;">\n <div class="card flex-grow-1 mb-3">\n <img *ngIf="image.img_url" [src]="image.img_url" class="card-img-top bg-light card-image" alt="">\n <img *ngIf="!image.img_url" src="/assets/images/logo2.png" class="card-img-top bg-light card-image" alt="">\n <div class="card-body align-items-center">\n <div class="w-100 h-100 d-flex justify-content-center">\n <div class="h-100 d-flex justify-content-center">\n <button mat-mini-fab color="primary" class="mx-2" (click)="btnChooseImageClick(i)">\n <mat-icon>edit</mat-icon>\n </button>\n <button mat-mini-fab color="primary" class="mx-2" (click)="btnDeleteImageClick(i)">\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="col-12 col-sm-12 col-md-6 col-lg-3 d-flex flex-column" *ngIf="!blockAdd">\n <div class="card flex-grow-1 mb-3 image-card-min-height">\n <div class="card-body align-items-center">\n <div class="w-100 h-100 d-flex justify-content-center">\n <div class="h-100 d-flex flex-column justify-content-center">\n <button mat-fab color="primary" (click)="btnAddImageClick()">\n <mat-icon>
1add_circle_outline</mat-icon>\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col d-flex flex-row-reverse">\n <button class="btn btn-min-width btn-primary mx-2" mat-button\n (click)="btnUpdateClick()">{{"common_save"|translate}}</button>\n <button class="btn btn-min-width btn-light mx-2" mat-button\n matStepperPrevious>{{"common_previous"|translate}}</button>\n <button class="btn btn-min-width btn-light mx-2" mat-button\n (click)="btnResetClick()">{{"common_reset"|translate}}</button>\n </div>\n </div>\n </mat-step>\n </mat-horizontal-stepper>\n</div>\n',styles:[".attribute-card-min-height {\n min-height: 164px;\n}\n\n.image-card-min-height {\n min-height: 280px;\n}\n\n.prepend-width {\n text-align: right;\n}\n\n.prepend-width span {\n width: 70px;\n}\n\n.card-image {\n height: 200px;\n object-fit: contain;\n}"]})],th);let Ug=class{constructor(t,e,a,r,i){this.productService=t,this.datepipe=e,this.translate=a,this.configService=r,this.router=i,this.dataSource=[],this.cost_price=localStorage.getItem("cost_price"),this.componentName="warningProducts",this.pageInfo={pageSize:20,total:0,page:1},this.params={page:1,keyword:"",chain_id:"",category_id:"",supplier_id:"",range_id:"",barcode:""},this.columns=[],this.formDataSource=[{type:"commonSearch",translateKey:"common_productName",placeholder:"common_productName",key:"keyword"},{type:"chainSelect",key:"chain_id"},{type:"categorySelect",key:"category_id"},{type:"supplierSelect",key:"supplier_id"},{type:"input",key:"range_id",placeholder:"common_goodsShelfNo",translateKey:"common_goodsShelfNo"},{type:"input",key:"barcode",placeholder:"common_productBarcode",translateKey:"common_productBarcode"}]}ngOnInit(){this.columns=[{translationKey:"common_image",key:"img_url",type:"image"},{translationKey:"common_productName",key:"product_name",type:"text"},{translationKey:"common_productBarcode",key:"product_barcode",type:"text"},{translationKey:"common_supplier",key:"supplier_name",type:"text"},{translationKey:"common_category",key:"category_name",type:"text"},{translationKey:"common_unitPrice",key:"unit_price",type:"price"},{translationKey:"common_costPrice",key:"cost_price",type:"price"},{translationKey:"common_productQuantity",key:"product_quantity",type:"text",class:"text-danger",enableClassKey:"isWarning"},{translationKey:"common_warnQuantity",key:"warn_quantity",type:"text",class:"text-danger",enableClassKey:"isLessThan"},{translationKey:"common_maxWarnQuantity",key:"max_warn_quantity",type:"text",class:"text-danger",enableClassKey:"isGreaterThan"}],"1"==this.cost_price&&(this.columns=this.columns.filter(t=>"cost_price"!=t.key)),"0"==this.cost_price&&this.columns.push({translationKey:"common_actions",key:"actions",type:"actions",list:["edit"]}),this.getWarningList()}getWarningList(){try{this.productService.getProductListByWarnQuantity(this.params).subscribe(t=>{this.dataSource=t.data.map(e=>({...e,supplier_name:e.supplier.supplier_name&&e.supplier.supplier_name.length>7?`${e.supplier.supplier_name.slice(0,7)}...`:e.supplier.supplier_name,category_name:e.category.category_name?e.category.category_name:"--",isWarning:e.product_quantity<=e.warn_quantity||e.product_quantity>e.max_warn_quantity,isLessThan:e.product_quantity<=e.warn_quantity,isGreaterThan:e.product_quantity>e.max_warn_quantity})),this.pageInfo.total=t.total})}catch(t){console.log(t)}}handleDownload(t){try{const e={chain_id:t.chain_id?t.chain_id:"",category_id:t.category_id?t.category_id:"",supplier_id:t.supplier_id?t.supplier_id:"",range_id:t.range_id?t.range_id:"",barcode:t.barcode?t.barcode:"",keyword:t.keyword?t.keyword:"",locale:localStorage.getItem("i18n")?localStorage.getItem("i18n"):"en-GB"};this.productService.downloadProductListByWarnQuantity(e).subscribe(a=>{const r=window.URL.createObjectURL(a.body);let i=document.createElement("a");i.href=r,i.download="product_warn.xlsx",i.click(),URL.revokeObjectURL(r),i=null})}catch(e){console.log(e)}}handleReset(){this.params={page:1,keyword:"",chain_id:"",category_id:"",supplier_id:"",range_id:"",barcode:""}
1,this.getWarningList()}handleSearch(t){this.params={...t,page:1},this.getWarningList()}handleJumpToAdd(){this.router.navigate(["/shop/warn-products/set-warning-quantity"])}handleChangePaginator(t){this.params.page=t.page,this.getWarningList()}handleViewDetail({item:t,type:e}){"edit"===e&&this.router.navigate([`/shop/products/edit/${t.id}`])}};Ug.ctorParameters=()=>[{type:Je.r},{type:Q.uU},{type:Y.sK},{type:Yn.E},{type:It.F0}],Ug=(0,j.gn)([(0,m.wA2)({selector:"app-warning-products-s2c",template:'\n<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-list-table\n (onReset)="handleReset()"\n (onSubmit)="handleSearch($event)"\n (onAddClick)="handleJumpToAdd()"\n [dataSource]="dataSource"\n [columns]="columns"\n [uniqueTableKey]="componentName"\n [pageInfo]="pageInfo"\n (pageChange)="handleChangePaginator($event)"\n (onBtnClick)="handleViewDetail($event)"\n [formColumn]="formDataSource"\n [isShowDownload]="true"\n (onDownload)="handleDownload($event)">\n </app-common-search-list-table>\n</div>\n',styles:[".table1 {\n width: 100%;\n}\n.table1 th {\n width: 9%;\n}\n.table1 td {\n width: 9%;\n}\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n.opt {\n color: blue;\n background-color: blue;\n}\n.card-box:hover .icon i {\n font-size: 90px;\n transition: 1s;\n -webkit-transition: 1s;\n}\n.card-box p {\n font-size: 15px;\n}\ntd {\n margin-right: 10px;\n padding-left: 10px;\n}\n.pagination {\n cursor: pointer;\n}\n.page-item {\n cursor: pointer;\n}\n.page-item.active .page-link {\n z-index: 3;\n color: #fff;\n background-color: #cacaca;\n border-color: #cacaca;\n cursor: pointer;\n}"]})],Ug);var oY=F(55446);let Fg=class{constructor(t,e,a,r,i,o,s,l){this.productService=t,this.brandService=e,this.categoryService=a,this.supplierService=r,this.snackbar=i,this.router=o,this.translate=s,this.dialog=l,this.orderDisplayedColumns=["product_image_url","product_name","product_description","brand_name","actions"],this.prodWeight=0,this.weightFound=0}ngOnInit(){this.onGetAllProds(),this.onGetBrandsList(),this.onGetCategoriesList(),this.onGetSuppliersList()}onGetAllProds(){return this.productService.getAllSuppProdsWithItems().subscribe(t=>{this.prods=t,this.prodsData=this.prods.data},t=>{console.log(t)})}checkImageNull(t){return null==t}applyFilter(t){const e=t.target.value;this.prodsData.filter=e.trim().toLowerCase(),this.prodsData.paginator&&this.prodsData.paginator.firstPage()}onGetBrandsList(){return this.brandService.GetBrands().subscribe(t=>{this.brandList=t},t=>{console.log(t)})}onGetCategoriesList(){return this.categoryService.getCategories().subscribe(t=>{this.catList=t,this.catData=this.catList.data},t=>{console.log(t)})}onGetSuppliersList(){return this.supplierService.getSuppliersList().subscribe(t=>{this.supp=t,this.suppList=this.supp.suppliers},t=>{console.log(t)})}onFilterProdsList(t,e,a,r){return(0==t||!t)&&(t=""),(0==e||!e)&&(e=""),(0==a||!a)&&(a=""),(0==r||!r)&&(r=""),this.productService.filterProductsList(t,e,a,r).subscribe(i=>{this.prods=i,this.prodsData=this.prods.data},i=>{console.log(i)})}addProductToWishlist(t){const e={product_id:t};return this.productService.addProductToWhishlist(e).subscribe(a=>{this.router.navigate(["shop/products-list"]),this.snackbar.open("Chinese"===this.translate.currentLang?"\u4ea7\u54c1\u5df2\u6210\u529f\u6dfb\u52a0\u5230\u613f\u671b\u5355":"Italian"===this.translate.currentLang?"Prodotto aggiunto con successo alla tua lista dei desideri":"Product added successfully to your wishlist","",{duration:2e3})},a=>{console.log(a)})}deleteProductFromWishlist(t){const e={product_id:t};return this.productService.addProductToWhishlist(e).subscribe(a=>{this.router.navigate(["shop/products-list"]),this.snackbar.open("Chinese"===this.translate.currentLang?"\u4ea7\u54c1\u5df2\u6210\u529f\u5220\u9664":"Italian"===this.translate.currentLang?"Prodotto eliminato correttamente dalla tua lista dei desideri":"Product deleted successfully from your wishlist","",{duration:2e3})},a=>{console.log(a)})}openCartModal(t,e,a,r,i,o,s,l,c,d,u,h,f){if(f){for(let v=0;v<f.criteria_base.length;v++)"weight"==f.criteria_base[v].name.toLowerCase()&&(this.prodWeight=f.criteria_base[v].pivot.criteria_value,this.weightFound=1);(this.weightFound=0)&&(this.prodWeight=0)}this.OneProd={id:t,product_name:e,item_offline_price:a,item_discount_price:r,item_quantity:i,image_url:o,supplier_id:s,first_name:l,last_name:c,email:d,phone_num1:u,logistic_service:h,prodWeight:this.prodWeight},localStorage.setItem("log_ser",JSON.stringify(h)),localStorage.setItem("storedProd",JSON.stringify(this.OneProd)),this.dialog.open(Eu)}isItWeight(t,e){return"weight"==t.toLowerCase()&&(this.prod_Weight=e,!0)}};Fg.ctorParameters=()=>[{type:Je.r},{type:oY.G},{type:Ee.G},{type:vn.e},{type:We.ux},{type:It.F0},{type:Y.sK},{type:St.uw}],Fg=(0,j.gn)([(0,m.wA2)({selector:"app-shop-product-list",template:'<div class="p-3 m-3 rounded">\n\n <section class="mainContainer">\n\n\n <form>\n <mat-form-field appearance="outline" style=" width:18%;margin-right: 2%; padding: 14px 14px 9px 14px;">\n <mat-label>{{\'Select-Category\' | translate}}</mat-label>\n <mat-select (change)="onFilterProdsList(category.value, brand.value, supplier.value)" #category>\n <mat-option value=0> --none--</mat-option>\n\n <div *ngFor="let cat of catData">\n <mat-option *ngFor="let sub_cat of cat.sub_categories" [value]="sub_cat.id">\n {{sub_cat.category_name}}\n </mat-option>\n </div>\n\n </mat-select>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style=" width:15%;margin-right: 2%;">\n <mat-label>{{\'Select-Brand\' | translate}}</mat-label>\n\n <mat-select #brand>\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let brand of brandList" [value]="brand.id">\n {{brand.brand_name}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style=" width:18%;margin-right: 2%;">\n <mat-label>{{\'Select-Supplier\' | translate}}</mat-label>\n\n <mat-select #supplier>\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let supplier of suppList" [value]="supplier.id">\n {{supplier.first_name}} {{supplier.last_name}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="outline" style=" width:25%;margin-right: 2%;">\n <mat-label>{{"Search-byBarcode" | translate}}</mat-label>\n <input matInput #barcode>\n </mat-form-field>\n <button type="button" class=" btn btn-outline-secondary" style=" width:10%;"\n (click)="onFilterProdsList(category.value, brand.value, supplier.value, barcode.value)"\n style="margin-right: 5px;">\n <i class="fa fa-search" aria-hidden="true"></i>\n {{\'common_filter\' | translate}}</button>\n </form>\n\n\n\n <table mat-table [dataSource]="prodsData" mat-sort multiTemplateDataRows matSort>\n\n\n <ng-container matColumnDef="product_image_url">\n <th mat-header-cell *matHeaderCellDef> {{\'Image\' | translate}} </th>\n <td mat-cell *matCellDef="let order">\n <img [src]="order.product_image_url" alt="" class="item-img">\n </td>\n </ng-container>\n\n\n <ng-container matColumnDef="product_name">\n <th mat-header-cell *matHeaderCellDef> {{\'Product-Name\' | translate}} </th>\n <td mat-cell *matCellDef="let order"> {{ order.product_name }} </td>\n </ng-container>\n\n <ng-container matColumnDef="product_description">\n <th mat-header-cell *matHeaderCellDef> {{\'Product-Description\' | translate}} </th>\n <td mat-cell *matCellDef="let order"> {{ order.product_description }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef="brand_name">\n <th mat-header-cell *matHeaderCellDef> {{\'Brand\' | translate}} </th>\n\n <td mat-cell *matCellDef="let order"> {{ order.brand.brand_name }}\n\n\n </td>\n </ng-container>\n\n\n\n\n <ng-container matColumnDef="actions">\n <th mat-header-cell *matHeaderCellDef style="padding-left: 40px;">{{\'common_actions\' | translate}}</th>\n <td mat-cell style="padding-left: 30px;" *matCellDef="let row">\n\n <button mat-icon-button matTooltip="Show product items">\n <i class="material-icons icon-green" style="color: darkcyan;">expand_more</i>\n </button>\n\n <button *ngIf="!row.wish_list" matTooltip="Add this product to wishlist" mat-icon-button\n (click)="addProductToWishlist(row.id)"><i class="material-icons icon-green"\n style="color: darkcyan;">\n favorite_border\n </i>\n </button>\n\n <button *ngIf="row.wish_list" matTooltip="This product is in your wishlist" mat-icon-button\n (click)="deleteProductFromWishlist(row.id)"><i class="material-icons icon-green"\n style="color: darkcyan;">\n favorite\n </i>\n </button>\n\n\n\n </td>\n </ng-container>\n\n\n\n\n <ng-container matColumnDef="expandedDetail">\n\n\n\n <td mat-cell *matCellDef="let order" [attr.colspan]="orderDisplayedColumns.length">\n\n\n\n <div class="example-element-detail"\n [@detailExpand]="order == expandedElement ? \'expanded\' : \'collapsed\'">\n\n <div class="orderProducts">\n\n\n\n\n\n\n <table style="width: 100%;">\n\n\n\n <tr>\n <th style="margin-right: 35px; padding: 10px;">{{\'Product-image\' | translate}}</th>\n <th style="margin-right: 15px; padding: 10px;">{{\'Product-Barcode\' | translate}}\n </th>\n <th style="margin-left: 15px; padding: 10px;">{{"Product-Quantity" | translate}}\n </th>\n <th style="margin-left: 15px; padding: 10px;">{{\'Product-onlineprice\' | translate}}\n </th>\n <th style="margin-left: 15px; padding: 10px;">{{\'Product-offlineprice\' | translate}}\n </th>\n <th style="margin-left: 15px; padding: 10px;">\n {{\'Product-discountprice\' | translate}}</th>\n\n <th style="margin-left: 15px; padding: 10px;">{{\'common_actions\' | translate}}</th>\n\n </tr>\n\n <tr *ngFor="let prod_item of order.items">\n\n\n <td style="margin-right: 15px; padding: 10px;">\n\n <div *ngFor="let img of prod_item.images | slice:0:1">\n\n <img [src]="img.image_url" alt="" class="item-img">\n\n\n\n\n </div>\n\n </td>\n <td style="margin-right: 15px; padding: 10px;">{{prod_item.item_barcode}}</td>\n <td style="margin-left: 15px; padding: 10px;">{{prod_item.item_quantity }}</td>\n <td style="margin-left: 15px; padding: 10px; color: red;">\n {{prod_item.item_online_price |currency}}</td>\n <td style="margin-left: 15px; padding: 10px; color: red;">\n {{prod_item.item_offline_price |currency}}</td>\n <td style="margin-left: 15px; padding: 10px; color: red;">\n {{prod_item.item_discount_price |currency}}</td>\n\n\n <div *ngFor="let crit of prod_item.criteria_base" hidden>\n <td *ngIf="isItWeight(crit.name, crit.pivot.criteria_value)"\n style="margin-left: 15px; padding: 10px; color: red;">\n </td>\n </div>\n\n\n\n\n\n <td style="margin-left: 15px; padding: 10px;">\n\n\n\n\n <div hidden *ngFor="let img of prod_item.images | slice:0:1">\n\n <img [src]="img.image_url" alt="" class="item-img">\n\n </div>\n\n\n\n <button routerLink="/shop/shop-product-details/{{prod_item.id}}" title=""\n matTooltip="Show product item full details" mat-icon-button><i\n class="material-icons icon-green" style="color: darkcyan;">\n view_headline\n </i>\n </button>\n\n <button\n (click)="openCartModal(prod_item.id, order.product_name, prod_item.item_offline_price, prod_item.item_discount_price, prod_item.item_quantity, prod_item.images[0].image_url, order.supplier.id, order.supplier.first_name, order.supplier.last_name, order.supplier.email, order.supplier.phone_num1, order.supplier.logistic_service, prod_item )"\n title="" matTooltip="Add this product to your basket" mat-icon-button><i\n class="material-icons icon-green" style="color: darkcyan;">\n add_shopping_cart\n </i>\n </button>\n\n\n\n </td>\n\n </tr>\n </table>\n\n\n </div>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef="orderDisplayedColumns"></tr>\n <tr mat-row *matRowDef="let order; columns: orderDisplayedColumns;" class="example-element-row"\n [class.example-expanded-row]="expandedElement === order"\n (click)="expandedElement = expandedElement === order ? null : order"></tr>\n <tr mat-row *matRowDef="let row; columns: [\'expandedDetail\']" class="example-detail-row"></tr>\n </table>\n </section>\n\n</div>\n\x3c!-- <div class="container">\n <div class="row">\n <div class="col-md-3 col-sm-6" *ngFor="let order of prodsData" >\n <div class="product-grid" *ngFor="let prod_item of order.items">\n <div class="product-image">\n <a href="#" class="image">\n <img *ngFor="let img of prod_item.images | slice:0:1" class="pic-1" src="img.image_url">\n </a>
1\n <span class="product-sale-label">{{order.brand.brand_name}}</span>\n <span class="product-discount-label">-33%</span>\n </div>\n <div class="product-content">\n <ul class="rating">\n <li class="fas fa-star"></li>\n <li class="fas fa-star"></li>\n <li class="fas fa-star"></li>\n <li class="fas fa-star"></li>\n <li class="fas fa-star disable"></li>\n </ul>\n <h3 class="title"><a href="#">{{order.product_name}}</a></h3>\n <div class="price"><span>$30.00</span> {{prod_item.item_discount_price}}</div>\n <div class="product-button-group">\n <a class="product-like-icon" href="#"><i class="fas fa-heart"></i></a>\n <a class="add-to-cart" href="#"><i class="fa fa-shopping-bag"></i>ADD TO CART</a>\n <a class="product-compare-icon" href="#"><i class="fas fa-random"></i></a>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div> --\x3e\n',animations:[(0,Rt.X$)("detailExpand",[(0,Rt.SB)("collapsed",(0,Rt.oB)({height:"0px",minHeight:"0",visibility:"hidden"})),(0,Rt.SB)("expanded",(0,Rt.oB)({height:"*",visibility:"visible"})),(0,Rt.eR)("expanded <=> collapsed",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])],styles:['.mainContainer {\n width: 100%;\n}\n.mainContainer table {\n width: 100%;\n margin-top: 15px;\n}\n.mainContainer table td {\n overflow-wrap: break-word;\n white-space: normal;\n}\n.mainContainer table .example-element-row td {\n border-bottom-width: 0;\n}\n.mainContainer table .example-element-detail {\n overflow: hidden;\n display: flex;\n}\n.mainContainer table .orderProducts {\n padding: 10px;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n width: 100%;\n}\n.item-img {\n max-width: 50px;\n max-height: 50px;\n}\nbody {\n width: 95%;\n background: #FAFAFA;\n}\n.mat-form-field {\n margin-right: 8px;\n}\n:root {\n --main-color1: #eb4d4b;\n --text-color: #131e2c;\n}\n.product-grid {\n font-family: "Oswald", sans-serif;\n text-align: center;\n}\n.product-grid .product-image {\n position: relative;\n}\n.product-grid .product-image a.image {\n display: block;\n}\n.product-grid .product-image img {\n width: 100%;\n height: auto;\n}\n.product-image .pic-1 {\n opacity: 1;\n backface-visibility: hidden;\n transition: all 0.3s ease-in-out;\n}\n.product-grid:hover .product-image .pic-1 {\n opacity: 0;\n}\n.product-image .pic-2 {\n width: 100%;\n height: 100%;\n backface-visibility: hidden;\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n transition: all 0.3s ease-in-out;\n}\n.product-grid:hover .product-image .pic-2 {\n opacity: 1;\n}\n.product-grid .product-sale-label,\n.product-grid .product-discount-label {\n color: #fff;\n background: #da5555;\n font-size: 12px;\n letter-spacing: 1px;\n line-height: 14px;\n padding: 5px 11px;\n border-radius: 12px;\n position: absolute;\n top: 10px;\n right: 10px;\n transition: all 0.4s ease;\n}\n.product-grid .product-sale-label {\n background: #2ba968;\n text-transform: uppercase;\n left: 10px;\n right: auto;\n}\n.product-grid .product-content {\n padding: 12px;\n}\n.product-grid .rating {\n padding: 0;\n margin: 0 0 7px;\n list-style: none;\n}\n.product-grid .rating li {\n color: var(--text-color);\n font-size: 12px;\n display: inline-block;\n}\n.product-grid .rating li.disable {\n color: rgba(0, 0, 0, 0.2);\n}\n.product-grid .title {\n color: var(--text-color);\n font-size: 20px;\n text-transform: capitalize;\n margin: 0 0 7px;\n}\n.product-grid .title a {\n color: var(--text-color);\n transition: all 500ms;\n}\n.product-grid .title a:hover {\n color: var(--main-color1);\n}\n.product-grid .price {\n color: var(--text-color);\n font-size: 18px;\n letter-spacing: 0.005em;\n margin-bottom: 10px;\n}\n.product-grid .price span {\n color: #a7a7a7;\n font-size: 14px;\n font-weight: 400;\n text-decoration: line-through;\n}\n.product-grid .product-button-group {\n position: relative;\n z-index: 1;\n}\n.product-grid .add-to-cart {\n color: var(--text-color);\n background: #f4f4f4;\n font-size: 14px;\n width: calc(100% - 75px);\n padding: 8px 3px;\n margin: 0 auto;\n display: inline-block;\n transition: all 0.25s ease 0s;\n}\n.product-grid .add-to-cart i {\n margin-right: 8px;\n display: none;\n visibility: hidden;\n transition: all 0.25s ease 0s;\n}\n.product-grid:hover .add-to-cart {\n color: #fff;\n background: var(--text-color);\n}\n.product-grid:hover .add-to-cart i {\n display: inline-block;\n visibility: visible;\n}\n.product-grid .product-like-icon,\n.product-grid .product-compare-icon {\n color: var(--text-color);\n background: #f4f4f4;\n line-height: 34px;\n width: 34px;\n height: 34px;\n opacity: 0;\n transform: translateY(-50%);\n position: absolute;\n top: 50%;\n left: 50px;\n z-index: -1;\n transition: all 0.25s ease 0s;\n}\n.product-grid .product-compare-icon {\n left: auto;\n right: 50px;\n}\n.product-grid:hover .product-like-icon {\n opacity: 1;\n left: 0;\n}\n.product-grid:hover .product-compare-icon {\n opacity: 1;\n right: 0;\n}\n@media only screen and (max-width: 990px) {\n .product-grid {\n margin-bottom: 30px;\n }\n}']})],Fg);var Oi=F(9991);let eh=class{constructor(t){this.purchaseService=t,this.purchaseList=[],this.displayedColumns=["image_url","product_name","
1item_barcode","item_offline_price","item_online_price","item_quantity","details"],this.dataSource=new $e.by(this.purchaseList)}ngOnInit(){this.onGetPurchasedProdsList()}onGetPurchasedProdsList(){return this.purchaseService.getPurchasedProdsList().subscribe(t=>{this.purchaseList=t,this.displayedColumns=["image_url","product_name","item_barcode","item_offline_price","item_online_price","item_quantity","details"],this.dataSource=new $e.by(this.purchaseList)},t=>{console.log(t)})}applyFilter(t){this.dataSource.filter=t.trim().toLowerCase()}};eh.ctorParameters=()=>[{type:Oi.B}],eh.propDecorators={paginator:[{type:m.i9L,args:[Wa.NW,{static:!0}]}],sort:[{type:m.i9L,args:[Ma.YE,{static:!0}]}]},eh=(0,j.gn)([(0,m.wA2)({selector:"app-shop-purshased-products",template:'<div class="p-3 rounded">\n <div>\n\n\n <mat-form-field appearance="outline" style="width: 25%;">\n <mat-label>{{\'common_filter\' | translate}}</mat-label>\n <input matInput (keyup)="applyFilter($event.target.value)">\n </mat-form-field>\n\n <table mat-table [dataSource]="dataSource" class="table1 " multiTemplateDataRows matSort>\n\n\n\n \x3c!-- Position Column --\x3e\n <ng-container matColumnDef="image_url">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Image-Url\' | translate}} </th>\n \x3c!-- <td mat-cell *matCellDef="let element"> {{element.images.image_url}} </td> --\x3e\n <td mat-cell *matCellDef="let element">\n <div *ngFor="let img of element.images | slice:0:1">\n <img [src]="img.image_url" alt="" class="imgtable1">\n\n </div>\n\n\n </td>\n </ng-container>\n\n \x3c!-- Name Column --\x3e\n\n\n <ng-container matColumnDef="product_name">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Product-Name\' | translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.product.product_name}} </td>\n </ng-container>\n\n <ng-container matColumnDef="item_barcode">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Barcode\' | translate}} </th>\n <td mat-cell *matCellDef="let element" > {{element.item_barcode }} </td>\n </ng-container>\n\n \x3c!-- Weight Column --\x3e\n <ng-container matColumnDef="item_offline_price">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Online-Price\' | translate}} </th>\n <td mat-cell *matCellDef="let element" class="pricetable1"> {{element.item_offline_price |currency}} </td>\n </ng-container>\n\n\n \x3c!-- <td mat-cell *matCellDef="let element"> {{element.images.image_url}} </td> --\x3e\n <ng-container matColumnDef="item_online_price">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Offline-Price\' | translate}} </th>\n <td mat-cell *matCellDef="let element" class="pricetable1">\n\n\n {{element.item_online_price |currency}}\n\n\n </td>\n </ng-container>\n\n \x3c!-- <td mat-cell *matCellDef="let element"> {{element.images.image_url}} </td> --\x3e\n\n\n \x3c!-- <td mat-cell *matCellDef="let element"> {{element.images.image_url}} </td> --\x3e\n <ng-container matColumnDef="item_quantity">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Quantity\' | translate}}</th>\n <td mat-cell *matCellDef="let element">\n {{element.item_quantity}}\n\n\n </td>\n </ng-container>\n\n\n \x3c!-- <td mat-cell *matCellDef="let element"> {{element.images.image_url}} </td> --\x3e\n\n\n \x3c!-- Symbol Column --\x3e\n <ng-container matColumnDef="details">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'More-details\' | translate}} </th>\n <td mat-cell *matCellDef="let element">\n\n\n <button routerLink="/shop/shop-product-details/{{element.id}}" title="" matTooltip="Show product item full details" mat-icon-button><i\n class="material-icons icon-green" style="color: darkcyan;">\n view_headline\n </i>\n </button>\n\n\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;">\n </tr>\n </table>\n\n\n </div>\n\n\n\n\n\n\n</div>\n',styles:[".mainContainer {\n margin-top: 80px;\n padding: 30px;\n}\n\n.table1 {\n width: 100%;\n}\n\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.pricetable1 {\n color: red;\n}\n\n.distype {\n text-transform: capitalize;\n}\n\n.disprice {\n text-decoration: line-through;\n}\n\n.filterclass {\n margin-top: 70px;\n margin-right: 30px;\n margin-left: 30px;\n width: 90%;\n}\n\n.pagclass {\n margin-right: 30px;\n margin-left: 30px;\n width: 90%;\n}\n\nbody {\n margin-top: 20px;\n background: #FAFAFA;\n}\n\n.order-card {\n color: #fff;\n}\n\n.bg-c-blue {\n background: linear-gradient(45deg, #4099ff, #73b4ff);\n}\n\n.bg-c-green {\n background: linear-gradient(45deg, #2ed8b6, #59e0c5);\n}\n\n.bg-c-yellow {\n background: linear-gradient(45deg, #FFB64D, #ffcb80);\n}\n\n.bg-c-pink {\n background: linear-gradient(45deg, #FF5370, #ff869a);\n}\n\n.card {\n border-radius: 5px;\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.16);\n border: none;\n margin-bottom: 30px;\n transition: all 0.3s ease-in-out;\n}\n\n.card .card-block {\n padding: 25px;\n}\n\n.order-card i {\n font-size: 26px;\n}\n\n.f-left {\n float: left;\n}\n\n.f-right {\n float: right;\n}\n\ntd {\n margin-right: 10px;\n padding-left: 10px;\n}\n\nmat-paginator {\n width: 100%;\n}"]})],eh);let Gc=class{constructor(t,e,a,r,i,o,s){this.userService=t,this.router=e,this.message=a,this.formBuilder=r,this.translate=i,this.activatedRouter=o,this.supplierService=s,this.currentId=null,this.lat=43.508037,this.lng=12.267635,this.dataFormSource=[{type:"input",translateKey:"Supplier-Name",ke
1y:"supplier_name",required:!0,icon:"account_circle"},{type:"input",translateKey:"company-name",key:"company_name",required:!0,icon:"account_circle"},{type:"input",translateKey:"First-Name",key:"first_name",required:!0,icon:"account_circle"},{type:"input",translateKey:"Last-Name",key:"last_name",required:!0,icon:"account_circle"},{type:"input",translateKey:"Tax-ID",key:"tax_id",required:!0,icon:"description"},{type:"input",translateKey:"common_email",key:"email",icon:"email",required:!1,rules:[{pattern:/.*@.*/,message:"\u90ae\u7bb1\u4e0d\u6b63\u786e"}]},{type:"input",translateKey:"Phone-Number",key:"contact",icon:"phone",inputType:"number",required:!1},{type:"input",translateKey:"company_website",key:"website",required:!1,icon:"website"},{type:"input",translateKey:"Address",key:"adress",required:!1,icon:"map"},{type:"input",translateKey:"Postal-code",key:"postal_code",required:!1,icon:"map",inputType:"number"},{type:"input",translateKey:"City",required:!1,key:"city",icon:"map"},{type:"input",translateKey:"common_province_state",key:"province",icon:"map"},{type:"select",translateKey:"Country",key:"country",required:!1,rules:[{required:!1,message:"required"}],options:[{label:"Afganistan",value:"Afganistan"},{label:"Albania",value:"Albania"},{label:"Algeria",value:"Algeria"},{label:"American Samoa",value:"American Samoa"},{label:"Andorra",value:"Andorra"},{label:"Angola",value:"Angola"},{label:"Anguilla",value:"Anguilla"},{label:"Antigua & Barbuda",value:"Antigua & Barbuda"},{label:"Argentina",value:"Argentina"},{label:"Armenia",value:"Armenia"},{label:"Aruba",value:"Aruba"},{label:"Australia",value:"Australia"},{label:"Austria",value:"Austria"},{label:"Azerbaijan",value:"Azerbaijan"},{label:"Bahamas",value:"Bahamas"},{label:"Bahrain",value:"Bahrain"},{label:"Bangladesh",value:"Bangladesh"},{label:"Barbados",value:"Barbados"},{label:"Belarus",value:"Belarus"},{label:"Belgium",value:"Belgium"},{label:"Belize",value:"Belize"},{label:"Benin",value:"Benin"},{label:"Bermuda",value:"Bermuda"},{label:"Bhutan",value:"Bhutan"},{label:"Bolivia",value:"Bolivia"},{label:"Bonaire",value:"Bonaire"},{label:"Bosnia & Herzegovina",value:"Bosnia & Herzegovina"},{label:"Botswana",value:"Botswana"},{label:"Brazil",value:"Brazil"},{label:"British Indian Ocean Ter",value:"British Indian Ocean Ter"},{label:"Brunei",value:"Brunei"},{label:"Bulgaria",value:"Bulgaria"},{label:"Burkina Faso",value:"Burkina Faso"},{label:"Burundi",value:"Burundi"},{label:"Cambodia",value:"Cambodia"},{label:"Cameroon",value:"Cameroon"},{label:"Canada",value:"Canada"},{label:"Canary Islands",value:"Canary Islands"},{label:"Cape Verde",value:"Cape Verde"},{label:"Cayman Islands",value:"Cayman Islands"},{label:"Central African Republic",value:"Central African Republic"},{label:"Chad",value:"Chad"},{label:"Channel Islands",value:"Channel Islands"},{label:"Chile",value:"Chile"},{label:"China",value:"China"},{label:"Christmas Island",value:"Christmas Island"},{label:"Cocos Island",value:"Cocos Island"},{label:"Colombia",value:"Colombia"},{label:"Comoros",value:"Comoros"},{label:"Congo",value:"Congo"},{label:"Cook Islands",value:"Cook Islands"},{label:"Costa Rica",value:"Costa Rica"},{label:"Cote DIvoire",value:"Cote DIvoire"},{label:"Croatia",value:"Croatia"},{label:"Cuba",value:"Cuba"},{label:"Curaco",value:"Curaco"},{label:"Cyprus",value:"Cyprus"},{label:"Czech Republic",value:"Czech Republic"},{label:"Denmark",value:"Denmark"},{label:"Djibouti",value:"Djibouti"},{label:"Dominica",value:"Dominica"},{label:"Dominican Republic",value:"Dominican Republic"},{label:"East Timor",value:"East Timor"},{label:"Ecuador",value:"Ecuador"},{label:"Egypt",value:"Egypt"},{label:"El Salvador",value:"El Salvador"},{label:"Equatorial Guinea",value:"Equatorial Guinea"},{label:"Eritrea",value:"Eritrea"},{label:"Estonia",value:"Estonia"},{label:"Ethiopia",value:"Ethiopia"},{label:"Afganistan",value:"Afganistan"},{label:"Falkland Islands",value:"Falkland Islands"},{label:"Faroe Islands",value:"Faroe Islands"},{label:"Fiji",value:"Fiji"},{label:"Finland",value:"Finland"},{label:"France",value:"France"},{label:"French Guiana",value:"French Guiana"},{label:"French Polynesia",value:"French Polynesia"},{label:"French Southern Ter",value:"French Southern Ter"},{label:"Gabon",value:"Gabon"},{label:"Gambia",value:"Gambia"},{label:"Georgia",value:"Georgia"},{label:"Germany",value:"Germany"},{label:"Ghana",value:"Ghana"},{label:"Gibraltar",value:"Gibraltar"},{label:"Great Britain",value:"Great Britain"},{label:"Greece",value:"Greece"},{label:"Greenland",value:"Greenland"},{label:"Grenada",value:"Grenada"},{label:"Guadeloupe",value:"Guadeloupe"},{label:"Guam",value:"Guam"},{label:"Guatemala",value:"Guatemala"},{label:"Guinea",value:"Guinea"},{label:"Guyana",value:"Guyana"},{label:"Haiti",value:"Haiti"},{label:"Hawaii",value:"Hawaii"},{label:"Honduras",value:"Honduras"},{label:"Hong Kong",value:"Hong Kong"},{label:"Hungary",value:"Hungary"},{label:"Iceland",value:"Iceland"},{label:"Indonesia",value:"Indonesia"},{label:"India",value:"India"},{label:"Iran",value:"Iran"},{label:"Iraq",value:"Iraq"},{label:"Ireland",value:"Ireland"},{label:"Isle of Man",value:"Isle of Man"},{label:"Israel",value:"Israel"},{label:"Italy",value:"Italy"},{label:"Jamaica",value:"Jamaica"},{label:"Japan",value:"Japan"},{label:"Jordan",value:"Jordan"},{label:"Kazakhstan",value:"Kazakhstan"},{label:"Kenya",value:"Kenya"},{label:"Kiribati",value:"Kiribati"},{label:"Korea North",value:"Korea North"},{label:"Korea Sout",value:"Korea Sout"},{label:"Kuwait",value:"Kuwait"},{label:"Kyrgyzstan",value:"Kyrgyzstan"},{label:"Laos",value:"Laos"},{label:"Latvia",value:"Latvia"},{label:"Lebanon",value:"Lebanon"},{label:"Lesotho",value:"Lesotho"},{label:"Liberia",value:"Liberia"},{label:"Libya",value:"Libya"},{label:"Liechtenstein",value:"Liechtenstein"},{label:"Lithuania",value:"Lithuania"},{label:"Luxembourg",value:"Luxembourg"},{label:"Macau",value:"Macau"},{label:"Macedonia",value:"Macedonia"}
1,{label:"Madagascar",value:"Madagascar"},{label:"Malaysia",value:"Malaysia"},{label:"Malawi",value:"Malawi"},{label:"Maldives",value:"Maldives"},{label:"Mali",value:"Mali"},{label:"Malta",value:"Malta"},{label:"Marshall Islands",value:"Marshall Islands"},{label:"Martinique",value:"Martinique"},{label:"Mauritania",value:"Mauritania"},{label:"Mauritius",value:"Mauritius"},{label:"Mayotte",value:"Mayotte"},{label:"Mexico",value:"Mexico"},{label:"Midway Islands",value:"Midway Islands"},{label:"Moldova",value:"Moldova"},{label:"Monaco",value:"Monaco"},{label:"Mongolia",value:"Mongolia"},{label:"Montserrat",value:"Montserrat"},{label:"Morocco",value:"Morocco"},{label:"Mozambique",value:"Mozambique"},{label:"Myanmar",value:"Myanmar"},{label:"Nambia",value:"Nambia"},{label:"Nauru",value:"Nauru"},{label:"Nepal",value:"Nepal"},{label:"Netherland Antilles",value:"Netherland Antilles"},{label:"Netherlands",value:"Netherlands"},{label:"Nevis",value:"Nevis"},{label:"New Caledonia",value:"New Caledonia"},{label:"New Zealand",value:"New Zealand"},{label:"Nicaragua",value:"Nicaragua"},{label:"Niger",value:"Niger"},{label:"Nigeria",value:"Nigeria"},{label:"Norfolk Island",value:"Norfolk Island"},{label:"Niue",value:"Niue"},{label:"Norway",value:"Norway"},{label:"Oman",value:"Oman"},{label:"Pakistan",value:"Pakistan"},{label:"Palau Island",value:"Palau Island"},{label:"Palestine",value:"Palestine"},{label:"Panama",value:"Panama"},{label:"Papua New Guinea",value:"Papua New Guinea"},{label:"Paraguay",value:"Paraguay"},{label:"Peru",value:"Peru"},{label:"Phillipines",value:"Phillipines"},{label:"Pitcairn Island",value:"Pitcairn Island"},{label:"Poland",value:"Poland"},{label:"Portugal",value:"Portugal"},{label:"Puerto Rico",value:"Puerto Rico"},{label:"Qatar",value:"Qatar"},{label:"Republic of Montenegro",value:"Republic of Montenegro"},{label:"Republic of Serbia",value:"Republic of Serbia"},{label:"Reunion",value:"Reunion"},{label:"Romania",value:"Romania"},{label:"Russia",value:"Russia"},{label:"Rwanda",value:"Rwanda"},{label:"St Barthelemy",value:"St Barthelemy"},{label:"St Eustatius",value:"St Eustatius"},{label:"St Helena",value:"St Helena"},{label:"St Kitts-Nevis",value:"St Kitts-Nevis"},{label:"St Lucia",value:"St Lucia"},{label:"St Maarten",value:"St Maarten"},{label:"St Pierre & Miquelon",value:"St Pierre & Miquelon"},{label:"St Vincent & Grenadines",value:"St Vincent & Grenadines"},{label:"Saipan",value:"Saipan"},{label:"Samoa",value:"Samoa"},{label:"Samoa American",value:"Samoa American"},{label:"San Marino",value:"San Marino"},{label:"Sao Tome & Principe",value:"Sao Tome & Principe"},{label:"Saudi Arabia",value:"Saudi Arabia"},{label:"Senegal",value:"Senegal"},{label:"Seychelles",value:"Seychelles"},{label:"Sierra Leone",value:"Sierra Leone"},{label:"Singapore",value:"Singapore"},{label:"Slovakia",value:"Slovakia"},{label:"Slovenia",value:"Slovenia"},{label:"Solomon Islands",value:"Solomon Islands"},{label:"Somalia",value:"Somalia"},{label:"South Africa",value:"South Africa"},{label:"Spain",value:"Spain"},{label:"Sri Lanka",value:"Sri Lanka"},{label:"Sudan",value:"Sudan"},{label:"Suriname",value:"Suriname"},{label:"Swaziland",value:"Swaziland"},{label:"Sweden",value:"Sweden"},{label:"Switzerland",value:"Switzerland"},{label:"Syria",value:"Syria"},{label:"Tahiti",value:"Tahiti"},{label:"Taiwan",value:"Taiwan"},{label:"Tajikistan",value:"Tajikistan"},{label:"Tanzania",value:"Tanzania"},{label:"Thailand",value:"Thailand"},{label:"Togo",value:"Togo"},{label:"Tokelau",value:"Tokelau"},{label:"Tonga",value:"Tonga"},{label:"Trinidad & Tobago",value:"Trinidad & Tobago"},{label:"Tunisia",value:"Tunisia"},{label:"Turkey",value:"Turkey"},{label:"Turkmenistan",value:"Turkmenistan"},{label:"Turks & Caicos Is",value:"Turks & Caicos Is"},{label:"Tuvalu",value:"Tuvalu"},{label:"Uganda",value:"Uganda"},{label:"United Kingdom",value:"United Kingdom"},{label:"Ukraine",value:"Ukraine"},{label:"United Arab Erimates",value:"United Arab Erimates"},{label:"United States of America",value:"United States of America"},{label:"Uraguay",value:"Uraguay"},{label:"Uzbekistan",value:"Uzbekistan"},{label:"Vanuatu",value:"Vanuatu"},{label:"Vatican City State",value:"Vatican City State"},{label:"Venezuela",value:"Venezuela"},{label:"Vietnam",value:"Vietnam"},{label:"Virgin Islands (Brit)",value:"Virgin Islands (Brit)"},{label:"Virgin Islands (USA)",value:"Virgin Islands (USA)"},{label:"Wake Island",value:"Wake Island"},{label:"Wallis & Futana Is",value:"Wallis & Futana Is"},{label:"Yemen",value:"Yemen"},{label:"Zaire",value:"Zaire"},{label:"Zambia",value:"Zambia"},{label:"Zimbabwe",value:"Zimbabwe"}]},{type:"textarea",translateKey:"Description",key:"description",icon:"description",placeholder:"Bank information\niBan:\nibic:\ncontact:"}],o.params.subscribe(l=>{this.currentId=+l.id})}toFormData(t){const e=new FormData;for(const a of Object.keys(t)){const r=t[a];e.append(a,r)}return e}
1ngOnInit(){this.currentId&&this.getSupplierDetail()}getSupplierDetail(){this.supplierService.getSupplierById(this.currentId).subscribe(t=>{const e=t.data;for(var a in e)"null"==e[a]&&(e[a]="");this.dataFormSource.forEach(r=>{r.value=e[r.key]}),this.lat=e.latitude,this.lng=e.longitude,this.dataFormSource=[...this.dataFormSource]})}handleSubmit(){const t=this.commonForm.handleSubmit();if("error"===t)return;const e=this.toFormData({...t,latitude:this.lat,longitude:this.lng});this.currentId?this.userService.updateSupplierS2C(t,this.currentId).subscribe(a=>{200===a.code&&(this.message.success(this.translate.instant("updated_supplier_success")),this.router.navigate(["shop/my-suppliers"]))}):this.userService.addSupplierS2C(e).subscribe(a=>{201===a.code&&(this.message.success(this.translate.instant("add_supplier_success")),this.router.navigate(["shop/my-suppliers"]))},a=>{console.log(a)})}handleBack(){this.router.navigate(["/shop/my-suppliers"])}onChoseLocation(t){this.lat=t.coords.lat,this.lng=t.coords.lng}};Gc.ctorParameters=()=>[{type:bo.K},{type:It.F0},{type:ne.I},{type:V.qu},{type:Y.sK},{type:It.gz},{type:vn.e}],Gc.propDecorators={commonForm:[{type:m.i9L,args:["commonForm",{static:!0}]}]},Gc=(0,j.gn)([(0,m.wA2)({selector:"app-add-supplier",template:'<div class="container-fluid">\n\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n\n\n <app-common-form \n [columns]="2" \n [isShowSubmitBtn]=false \n #commonForm \n [(dataSource)]="dataFormSource"\n >\n</app-common-form>\n\n\n\n\n\n \x3c!-- <agm-map style="margin-top: 1.5rem;" [latitude]="lat" [longitude]="lng" (mapClick)="onChoseLocation($event)">\n <agm-marker [latitude]="lat" [longitude]="lng">\n </agm-marker>\n </agm-map> --\x3e\n \n <div style="width: 100%;height: 100px;display: flex;justify-content: center;align-items: center;">\n <button mat-button (click)="handleBack()" style="background-color: #cacaca;color: black; margin-right: 1%;">{{"common_return"|translate }}</button>\n <button (click)="handleSubmit()" mat-raised-button style="background-color: #a00000; margin-right: 10px;"> <i class="fa fa-check" aria-hidden="true"></i>\n {{\'common_save\' | translate}}\n </button>\n </div>\n \n</div>',styles:['.form-element {\n width: 100%;\n}\n\nagm-map {\n height: 400px !important;\n}\n\n.hr {\n width: "70%";\n}\n\nbutton {\n height: 40px;\n}\n\n.btn-submit {\n color: white;\n}']})],Gc);let Vg=class{constructor(t,e,a,r,i,o){this.supplierService=t,this.excelService=e,this.router=a,this.translate=r,this.dialogService=i,this.message=o,this.dataSource=[],this.formDataSource=[{type:"commonSearch",key:"supplier_name",translateKey:"search-supplier",placeholder:"search-supplier"}],this.columns=[{type:"text",translationKey:"Id",key:"id"},{type:"text",translationKey:"Supplier-Name",key:"supplier_name"}
1,{type:"text",translationKey:"company-name",key:"company_name"},{type:"text",translationKey:"common_email",key:"email"},{type:"text",translationKey:"Phone-Number",key:"contact"},{type:"text",translationKey:"Country",key:"country"},{type:"text",translationKey:"Tax-ID",key:"tax_id"},{type:"actions",translationKey:"actions",key:"actions",list:["edit","detail","delete"]}],this.componentName="s2cMySupplierColumns",this.pageInfo={page:1,pageSize:2,total:0},this.searchParams={},this.otherBtns=[{translationKey:"Export-Excels",onclick:this.exportExcel.bind(this)}],this.load=!1}ngOnInit(){this.getSuppliersList()}exportExcel(){const t=[];try{t.push(["Supplier-Name","company-name","Email","Phone-Number","Tax-ID","Address","Country","City","common_zip_code"].map(a=>this.translate.instant(a)));const e=["supplier_name","company_name","email","contact","tax_id","adress","country","city","postal_code"];this.dataSource.forEach(a=>{const r=[];e.forEach(i=>{r.push(a[i])}),t.push(r)}),this.excelService.exportAsExcelFile(t,"\u8d26\u5355")}catch(e){console.log(e)}}getSuppliersList(){this.supplierService.getMySuppliersList().subscribe(t=>{this.dataSource=t.data,this.dataSource.map(e=>("null"==e.email||null==e.email?e.email="":e.email=e.email,"null"==e.contact||null==e.contact?e.contact="":e.contact=e.contact,"null"==e.country||null==e.country?e.country="":e.country=e.country,e))})}handleAdd(){this.router.navigate(["/shop/my-suppliers/add"])}handleBtnClick({type:t,item:e}){"delete"===t&&this.dialogService.confirmDialog({title:this.translate.instant("common_delete_title"),message:this.translate.instant("common_delete_supplier_info"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&this.supplierService.deleteMySupplier(e.id).subscribe(r=>{r&&(this.message.success(this.translate.instant("common_delete_success")),this.get
1SuppliersList())})}),"edit"===t&&this.router.navigate([`/shop/my-suppliers/edit/${e.id}`]),"detail"===t&&this.router.navigate([`/shop/my-suppliers/details/${e.id}`])}};Vg.ctorParameters=()=>[{type:vn.e},{type:_o.x},{type:It.F0},{type:Y.sK},{type:Bn.x},{type:ne.I}],Vg=(0,j.gn)([(0,m.wA2)({selector:"app-my-suppliers",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n \n <app-common-search-list-table \n [formColumn]="formDataSource"\n (onAddClick)="handleAdd()"\n [dataSource]="dataSource" \n [columns]="columns" \n [isAutoPages]="true"\n [isShowSearchBtn]="false"\n [uniqueTableKey]="componentName"\n [otherBtns]="otherBtns"\n (onBtnClick)="handleBtnClick($event)">\n \n\n </app-common-search-list-table>\n \x3c!-- <app-loading-dialog *ngIf="load"></app-loading-dialog> --\x3e\n</div>',styles:[".table1 {\n width: 100%;\n table-layout: fixed;\n}\n.table1 th,\n.table1 td {\n overflow: hidden;\n width: 20%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.card-box {\n position: relative;\n color: #fff;\n padding: 20px 20px 20px 20px;\n background-color: #ececec;\n}\n.card-box:hover {\n text-decoration: none;\n color: #f1f1f1;\n}\n.card-box:hover .icon i {\n font-size: 90px;\n transition: 1s;\n -webkit-transition: 1s;\n}\n.card-box p {\n font-size: 15px;\n}\n.card-box .mat-icon {\n color: white;\n}\n.card-box .card-box-footer {\n position: absolute;\n left: 0px;\n bottom: 0px;\n text-align: center;\n padding: 3px 0;\n color: rgba(255, 255, 255, 0.8);\n background: rgba(0, 0, 0, 0.1);\n width: 100%;\n text-decoration: none;\n}\n.card-box:hover .card-box-footer {\n background: rgba(0, 0, 0, 0.3);\n}\n.bg-red {\n background-color: #cacaca;\n height: 130px;\n color: black;\n}"]})],Vg);let nh=class{constructor(t,e){this.supplierService=t,this.router=e,this.lat=43.508037,this.lng=12.267635,e.params.subscribe(a=>{this.currentId=a.id})}ngOnInit(){this.onGetSupplierById(this.currentId)}onGetSupplierById(t){return this.supplierService.getSupplierById(this.currentId).subscribe(e=>{for(var a in console.log(e),this.suppliersList=e,this.suppliersData=this.suppliersList.data,this.suppliersData)"null"==this.suppliersData[a]&&(this.suppliersData[a]="--");this.lat=this.suppliersData.latitude,this.lng=this.suppliersData.longitude},e=>{console.log(e)})}};nh.ctorParameters=()=>[{type:vn.e},{type:It.gz}],nh=(0,j.gn)([(0,m.wA2)({selector:"app-supplier-full-details",template:'\x3c!-- <div class="container p-3 mb-5 mt-5 bg-white rounded">\n <h4 class="font-weight-bold mb-4 ">{{\'Supplier-Information\' | translate}}\n </h4>\n <div>\n\n <div class="my-2">\n <div class="row">\n <div class="col-12">\n <div class="card">\n <div class="card-body p-0">\n <div class="row p-5">\n <div class="col-md-9">\n <p class="mb-1 text-capitalize "> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'Responsable-Name\'\n | translate}} :\n </span><span>{{suppliersData.supplier_name}} </span> </p>\n <p class="mb-1 text-capitalize "> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'COMPANY\n NAME\'|translate}} :\n </span><span>{{suppliersData.company_name}} </span> </p>\n <p class="mb-1 text-capitalize "> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'Description\' |\n translate}} :\n </span><span>{{suppliersData.description}} </span> </p>\n <p class="mb-1 text-capitalize "> <span\n class="border-0 text-uppercase small font-weight-bold"> {{\'Email\' |\n translate}} :\n </span><span>{{suppliersData.email}}
1 </span> </p>\n <p class="mb-1 text-capitalize "> <span\n class="border-0 text-uppercase small font-weight-bold">\n {{\'WEBSITE\'|translate}}:\n </span><span>{{suppliersData.website}} </span> </p>\n <p class="mb-1 text-capitalize "> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'Address\' |\n translate}}:\n </span><span>{{suppliersData.adress}} </span> </p>\n <p class="mb-1 text-capitalize "> <span\n class="border-0 text-uppercase small font-weight-bold">\n {{\'Phone-Number\' |translate}}:\n </span><span>{{suppliersData.contact}} </span> </p>\n <p class="mb-1 text-capitalize "> <span\n class="border-0 text-uppercase small font-weight-bold">{{\'City\' |\n translate}}:\n </span><span>{{suppliersData.city}} </span> </p>\n\n\n </div>\n </div>\n\n </div>\n </div>\n </div>\n\n\n </div>\n\n\n\n\n\n\n\n\n\n\n </div>\n\n\n\n\n </div> --\x3e\n\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <div class=" emp-profile">\n <form method="post">\n <div class="row">\n <div class="col-md-3">\n <div class="profile-img">\n <img src="../../../../../../assets/images/avatar.png" alt=""/>\n \x3c!-- <div class="file btn btn-lg btn-primary">\n Change Photo\n <input type="file" name="file"/>\n </div> --\x3e\n </div>\n <div class="profile-work">\n <p>{{\'Responsable-Name\'\n | translate}} : </p>\n <a href="">{{suppliersData.supplier_name}}</a><br/>\n\n </div>\n\n </div>\n <div class="col-md-7 mt-2">\n\n <div class="tab-content profile-tab" id="myTabContent">\n\n <ul class="nav nav-tabs" id="myTab" role="tablist">\n <li class="nav-item">\n <a class="nav-link active" id="home-tab" data-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="true">Contact</a>\n </li>\n <li class="nav-item">\n <a class="nav-link" id="profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="profile" aria-selected="false">Address</a>\n </li>\n </ul>\n <div class="tab-pane fade show active mt-2" id="home" role="tabpanel" aria-labelledby="home-tab">\n <div class="row">\n <div class="col-md-6">\n <label>contact</label>\n </div>\n <div class="col-md-6">\n <p>{{suppliersData.contact}} </p>\n </div>\n </div>\n <div class="row">\n <div class="col-md-6">\n <label>email</label>\n </div>\n <div class="col-md-6">\n <p>{{suppliersData.email}}</p>\n </div>\n </div>\n <div class="row">\n <div class="col-md-6">\n <label>Website</label>\n </div>\n <div class="col-md-6">\n <p>{{suppliersData.website}}</p>\n </div>\n </div>\n\n </div>\n <div class="tab-pane fade mt-2" id="profile" role="tabpanel" aria-labelledby="profile-tab">\n <div class="row">\n <div class="col-md-6">\n <label>Country :</label>\n </div>\n <div class="col-md-6">\n <p>{{suppliersData.country}}</p>\n </div>\n </div>\n <div class="row">\n <div class="col-md-6">\n <label>City :</label>\n </div>\n <div class="col-md-6">\n <p>{{suppliersData.city}}</p>\n </div>\n </div>\n <div class="row">\n <div class="col-md-6">\n <label>Adress :</label>\n </div>\n <div class="col-md-6">\n <p>{{suppliersData.adress}}</p>\n </div>\n </div>\n <div class="row">\n <div class="col-md-6">\n <label>Postal code :</label>\n </div>\n <div class="col-md-6">\n <p>{{suppliersData.postal_code}}</p>\n </div>\n </div>\n\n <div class="row">\n <div class="col-md-12">\n <agm-map [latitude]="lat" [longitude]="lng" >\n <agm-marker [latitude]="lat" [longitude]="lng" >\n\n </agm-marker>\n\n </agm-map>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="col-md-2">\n <a routerLink="/shop/my-suppliers/edit/{{currentId}}"><button mat-button class="searchbutton"> {{\'Edit\' | translate }}</button></a>\n </div>\n </div>\n <div class="row">\n <div class="col-md-4">\n \x3c!-- <div class="profile-work">\n <p>WORK LINK</p>\n <a href="">Website Link</a><br/>
1\n <a href="">Bootsnipp Profile</a><br/>\n <a href="">Bootply Profile</a>\n <p>SKILLS</p>\n <a href="">Web Designer</a><br/>\n <a href="">Web Developer</a><br/>\n <a href="">WordPress</a><br/>\n <a href="">WooCommerce</a><br/>\n <a href="">PHP, .Net</a><br/>\n </div> --\x3e\n </div>\n <div class="col-md-8">\n\n </div>\n </div>\n </form>\n </div>\n',styles:[".emp-profile {\n padding: 3%;\n margin-top: 3%;\n margin-bottom: 3%;\n border-radius: 0.5rem;\n background: #fff;\n}\n\n.profile-img {\n text-align: center;\n}\n\n.profile-img img {\n width: 70%;\n height: 100%;\n}\n\n.profile-img .file {\n position: relative;\n overflow: hidden;\n margin-top: -20%;\n width: 70%;\n border: none;\n border-radius: 0;\n font-size: 15px;\n background: #212529b8;\n}\n\n.profile-img .file input {\n position: absolute;\n opacity: 0;\n right: 0;\n top: 0;\n}\n\n.profile-head h5 {\n color: #333;\n}\n\n.profile-head h6 {\n color: #a00000;\n}\n\n.profile-edit-btn {\n border: none;\n border-radius: 1.5rem;\n width: 70%;\n padding: 2%;\n font-weight: 600;\n color: #6c757d;\n cursor: pointer;\n}\n\n.proile-rating {\n font-size: 12px;\n color: #818182;\n margin-top: 5%;\n}\n\n.proile-rating span {\n color: #495057;\n font-size: 15px;\n font-weight: 600;\n}\n\n.profile-head .nav-tabs {\n margin-bottom: 5%;\n}\n\n.profile-head .nav-tabs .nav-link {\n font-weight: 600;\n border: none;\n}\n\n.profile-head .nav-tabs .nav-link.active {\n border: none;\n border-bottom: 2px solid #a00000;\n}\n\n.profile-work {\n padding: 14%;\n margin-top: -15%;\n}\n\n.profile-work p {\n font-size: 12px;\n color: #818182;\n font-weight: 600;\n margin-top: 10%;\n}\n\n.profile-work a {\n text-decoration: none;\n color: #495057;\n font-weight: 600;\n font-size: 14px;\n}\n\n.profile-work ul {\n list-style: none;\n}\n\n.profile-tab label {\n font-weight: 600;\n}\n\n.profile-tab p {\n font-weight: 600;\n color: #2b3238;\n}\n\n.searchbutton {\n background: none;\n border: none;\n line-height: 1;\n border-radius: 25px;\n display: block;\n background: #a00000 !important;\n color: #fff !important;\n font-size: 1rem !important;\n line-height: 1.1em;\n padding: 10px 30px;\n text-align: center;\n font-weight: 400;\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n display: inline-block;\n text-decoration: none;\n transition-property: all;\n transition-duration: 0.2s;\n text-transform: none;\n border: none !important;\n box-shadow: none !important;\n border-radius: 65px !important;\n margin: 1%;\n}\n\nagm-map {\n height: 400px !important;\n}"]})],nh);var jO=F(38321);let ah=class{constructor(t,e,a,r,i){this.supplierService=t,this.excelService=e,this.dialog=a,this._snackBar=r,this.translate=i,this.clicked=!1,this.displayedColumns=["id","company_name","supplier_name","email","phone_num1","country","tax_id","details"],this.dataSource=new $e.by,this.suppliersNum=0,this.suppwebsite=0,this.suppcontact=0,this.suppemail=0,this.suppExport=[]}ngOnInit(){this.onGetSuppliersList(),this.dataSource.paginator=this.paginator}ngAfterViewInit(){this.dataSource.sort=this.sort}onGetSuppliersList(){return this.supplierService.getChosenSuppliers().subscribe(t=>{this.suppliersList=t,this.suppliersData=this.suppliersList.data,this.dataSource.data=this.suppliersData;for(let e of this.suppliersData)this.suppliersNum+=1,""!=e.website&&(this.suppwebsite+=1),""!=e.contact&&(this.suppcontact+=1),""!=e.email&&(this.suppemail+=1);this.displayedColumns=["id","company_name","supplier_name","email","phone_num1","country","tax_id","details"]},t=>{console.log(t)})}onexportAsExcelFile(){switch(this.suppExport=[],this.translate.currentLang){case"en-GB":for(let r in this.suppliersData){var t={id:"",Supplier_Name:"",Company_Name:"",Email:"",Phone:"",Tax_ID:"",Adress:"",Country:"",City:"",Zip_Postal:""};a.id=this.suppliersData[r].id,t.Supplier_Name=this.suppliersData[r].supplier_name,t.Company_Name=this.suppliersData[r].company_name,t.Email=this.suppliersData[r].email,t.Phone=this.suppliersData[r].contact,t.Tax_ID=this.suppliersData[r].tax_id,t.Adress=this.suppliersData[r].adress,t.Country=this.suppliersData[r].country,t.City=this.suppliersData[r].city,t.Zip_Postal=this.suppliersData[r].postal_code,this.suppExport.push(t)}this.excelService.exportAsExcelFile(this.suppExport,"Suppliers List");break;case"it-IT":for(let r in this.suppliersData){var e={id:"",Nome:"",Nome_della_ditta:"",Email:"",Telefono:"",ID_fiscale:"",Indirizzo:"",Nazione:"",Citt\u00e0:"",CAP:""};a.id=this.suppliersData[r].id,e.Nome=this.suppliersData[r].supplier_name,e.Nome_della_ditta=this.suppliersData[r].company_name,e.Email=this.suppliersData[r].email,e.Telefono=this.suppliersData[r].contact,e.ID_fiscale=this.suppliersData[r].tax_id,e.Indirizzo=this.suppliersData[r].adress,e.Nazione=this.suppliersData[r].country,e.Citt\u00e0=this.suppliersData[r].city,e.CAP=this.suppliersData[r].postal_code,this.suppExport.push(e)}this.excelService.exportAsExcelFile(this.suppExport,"Fornitori");break;case"zh-CN":for(let r in this.suppliersData){var a={id:"",\u540d\u79f0:"",\u516c\u53f8\u540d\u5b57:"",\u7535\u5b50\u90ae\u4ef6:"",\u7535\u8bdd:"",\u7a0e:"",\u5730\u5740:"",\u56fd\u5bb6:"",\u57ce\u5e02:"",\u90ae\u653f\u7f16\u7801:""};a.id=this.suppliersData[r].id,a.\u540d\u79f0=this.suppliersData[r].supplier_name,a.\u516c\u53f8\u540d\u5b57=this.suppliersData[r].company_name,a.\u7535\u5b50\u90ae\u4ef6=this.suppliersData[r].email,a.\u7535\u8bdd=this.suppliersData[r].contact,a.\u7a0e=this.suppliersData[r].tax_id,a.\u5730\u5740=this.suppliersData[r].adress,a.\u56fd\u5bb6=this.suppliersData[r].country,a.\u57ce\u5e02=this.suppliersData[r].city,a.\u90ae\u653f\u7f16\u7801=this.suppliersData[r].postal_code,this.suppExport.push(a)}this.excelService.exportAsExcelFile(this.suppExport,"Siyou\u4f9b\u8d27\u5546")}}applyFilter(t){const e=t.target.value;this.dataSource.filter=e.trim().toLowerCase()}onChooseSupplier(){this.dialog.open(jO.Y,{autoFocus:!1,maxHeight:"90vh"})}onDeleteSupplier(t){return this.supplierService.deleteSupplierS2C(t).subscribe(e=>{this._snackBar.open("Chinese"===this.translate.currentLang?"\u4f9b\u8d27\u5546\u5df2\u6210\u529f\u5220\u9664":"Italian"===this.translate.currentLang?"Fornitore eliminato con successo":"Supplier Successfully Deleted","",{duration:2e3}),this.onGetSuppliersList()})}};ah.ctorParameters=()=>[{type:vn.e},{type:_o.x},{type:St.uw},{type:We.ux},{type:Y.sK}],ah.propDecorators={paginator:[{type:m.i9L,args:[Wa.NW,{static:!0}]}],sort:[{type:m.i9L,args:[Ma.YE,{static:!0}]}]},ah=(0,j.gn)([(0,m.wA2)({selector:"app-suppliers-list",template:'<div class=" rounded p-3 m-3 ">\n\n <div class="row">\n <div class="col">\n <div class="card-box bg-red rounded-lg">\n <div class="inner">\n <h3>{{suppliersNum}}</h3>\n <h5>{{"Supplier"| translate}}</h5>\n </div>\n </div>\n </div>\n\n <div class="col">\n <div class="card-box bg-red rounded-lg ">\n <div class="inner">\n <h3>{{suppwebsite}}</h3>\n <h5>{{"Supplier"| translate}}</h5>\n <p>{{"Have-a-phone-number"| translate}}</p>\n </div>\n </div>\n </div>\n <div class="col">\n <div class="card-box bg-red rounded-lg ">\n <div class="inner">\n <h3>{{suppcontact}}</h3>\n <h5>{{"Supplier"| translate}}</h5>\n <p>{{"Have-an-email"| translate}}</p>\n </div>\n </div>\n </div>\n <div class="col">\n <div class="card-box bg-red rounded-lg ">\n <div class="inner">\n <h3>{{suppemail}}</h3>\n <h5>{{"Supplier"| translate}}</h5>\n <p>{{"Have-a-website"| translate}}</p>\n\n </div>\n </div>\n </div>\n </div>\n <div class="rounded pt-3">\n\n\n <button mat-raised-button style="background-color: #cacaca; float:right; color: black;" (click)="onChooseSupplier()">\n <i class="fa fa-plus" aria-hidden="true"></i>\n\n {{ "Choose-Supplier" | translate}} </button>\n \x3c!-- <button mat-raised-button style="background-color: #a00000; float:right;margin-right:2%;"\n (click)="onexportAsExcelFile();clicked = true;" [disabled]="clicked">\n <i class="fa fa-plus" aria-hidden="true"></i>\n\n {{ "Export-Excels" | translate}} </button> --\x3e\n <div class="bt-date-submit" style="margin-right: 1%; float: right;"\n (click)="onexportAsExcelFile()"><i\n class="fas fa-download"></i></div>\n\n\n <div>\n <mat-form-field appearance="outline" style="width: 450px;">\n <mat-label>{{"search-supplier" | translate}}</mat-label>\n <input matInput (keyup)="applyFilter($event)" #input>\n </mat-form-field>\n <table mat-table [dataSource]="dataSource" class="table1" matSort>\n <ng-container matColumnDef="id">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'id\' | translate}} </th>\n <td mat-cell *matCellDef="let element">
1 {{element.id}}</td>\n </ng-container>\n <ng-container matColumnDef="supplier_name">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Supplier-Name\' | translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.supplier_name?element.supplier_name:\'--\'}}</td>\n </ng-container>\n <ng-container matColumnDef="company_name">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'company-name\' | translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.company_name?element.company_name:\'--\'}}</td>\n </ng-container>\n\n \x3c!-- Weight Column --\x3e\n <ng-container matColumnDef="email">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Email\' | translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.email?element.email:\'--\'}} </td>\n </ng-container>\n\n\n \x3c!-- <td mat-cell *matCellDef="let element"> {{element.images.image_url}} </td> --\x3e\n <ng-container matColumnDef="phone_num1">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Phone-Number\' | translate}} </th>\n <td mat-cell *matCellDef="let element">\n {{element.contact?element.contact:\'--\'}}\n\n\n </td>\n </ng-container>\n\n\n\n \x3c!-- <td mat-cell *matCellDef="let element"> {{element.images.image_url}} </td> --\x3e\n <ng-container matColumnDef="country">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Country\' | translate}} </th>\n <td mat-cell *matCellDef="let element">\n\n {{element.country?element.country:\'--\'}}\n\n </td>\n </ng-container>\n\n\n \x3c!-- <td mat-cell *matCellDef="let element"> {{element.images.image_url}} </td> --\x3e\n <ng-container matColumnDef="tax_id">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Tax-ID\' | translate}} </th>\n <td mat-cell *matCellDef="let element">\n {{element.tax_id}}\n\n </td>\n </ng-container>\n\n \x3c!-- Symbol Column --\x3e\n <ng-container matColumnDef="details">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'More-details\' | translate}} </th>\n <td mat-cell *matCellDef="let element">\n \x3c!-- <button routerLink="/shop/edit-supplier/{{element.id}}" title="" matTooltip="Show supplier full details"\n mat-icon-button><i class="material-icons icon-green" style="color: #a00000">\n edit\n </i>\n </button> --\x3e\n <button routerLink="/shop/supplier-full-details/{{element.id}}" title=""\n matTooltip="Show supplier full details" mat-icon-button><i class="material-icons icon-green"\n style="color: #a00000">\n view_headline\n </i>\n </button>\n <button mat-icon-button (click)="onDeleteSupplier(element.id)"><i class="material-icons icon-green"\n style="color: #a00000">delete\n </i>\n </button>\n\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;">\n </tr>\n </table>\n\n\n <mat-paginator [pageSize]="20" [pageSizeOptions]="[5, 10, 25, 100]"></mat-paginator>\n\n\n\n </div>\n\n\n\n\n\n </div>\n\n</div>\n',styles:[".bgc {\n margin-top: 120px;\n margin-left: 20px;\n margin-right: 20px;\n}\n\n.table1 {\n width: 100%;\n table-layout: fixed;\n}\n\n.table1 th,\n.table1 td {\n overflow: hidden;\n width: 20%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.card-box {\n position: relative;\n color: #fff;\n padding: 20px 20px 20px 20px;\n background-color: #ececec;\n}\n\n.card-box:hover {\n text-decoration: none;\n color: #f1f1f1;\n}\n\n.card-box:hover .icon i {\n font-size: 90px;\n transition: 1s;\n -webkit-transition: 1s;\n}\n\n.card-box p {\n font-size: 15px;\n}\n\n.card-box .mat-icon {\n color: white;\n}\n\n.card-box .card-box-footer {\n position: absolute;\n left: 0px;\n bottom: 0px;\n text-align: center;\n padding: 3px 0;\n color: rgba(255, 255, 255, 0.8);\n background: rgba(0, 0, 0, 0.1);\n width: 100%;\n text-decoration: none;\n}\n\n.card-box:hover .card-box-footer {\n background: rgba(0, 0, 0, 0.3);\n}\n\n.bg-red {\n background-color: #b3241f;\n height: 130px;\n color: #fff;\n}
1\n\n.bg-red h3 {\n color: white;\n}\n\n.bg-red h5 {\n color: white;\n}\n\n.bg-red p {\n color: white;\n}\n\n.bt-act-revenu {\n display: flex;\n margin-bottom: 3%;\n margin-top: 2%;\n}\n\n.bt-date-submit {\n color: white;\n padding: 10px;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}"]})],ah);var yY=F(165);let zg=class{constructor(t,e,a,r,i){this.wishlist=t,this.productService=e,this.snackbar=a,this.router=r,this.translate=i,this.wishlistData={},this.displayedColumns=["product_image_url","product_name","product_description","supplier","email","brand_name","category_name","actions"],this.dataSource=new $e.by(this.wishlistData)}ngOnInit(){this.onGetWishlist()}onGetWishlist(){return this.wishlist.getWishlist().subscribe(t=>{this.wishlistApi=t,this.wishlistData=this.wishlistApi.wishList,this.displayedColumns=["product_image_url","product_name","product_description","supplier","email","brand_name","category_name","actions"],this.dataSource=new $e.by(this.wishlistData)},t=>{console.log(t)})}addProductToWishlist(t){const e={product_id:t};return this.productService.addProductToWhishlist(e).subscribe(a=>{this.router.navigate(["/shop/my-wishlist"]),this.snackbar.open("Chinese"===this.translate.currentLang?"\u4ea7\u54c1\u5df2\u6210\u529f\u6dfb\u52a0\u5230\u613f\u671b\u5355":"Italian"===this.translate.currentLang?"Prodotto aggiunto con successo alla tua lista dei desideri":"Product added successfully to your wishlist","",{duration:2e3})},a=>{console.log(a)})}deleteProductFromWishlist(t){const e={product_id:t};return this.productService.addProductToWhishlist(e).subscribe(a=>{this.router.navigate(["shop/my-wishlist"]),this.snackbar.open("Chinese"===this.translate.currentLang?"\u4ea7\u54c1\u5df2\u6210\u529f\u5220\u9664":"Italian"===this.translate.currentLang?"Prodotto eliminato correttamente dalla tua lista dei desideri":"Product deleted successfully from your wishlist","",{duration:2e3})},a=>{})}applyFilter(t){this.dataSource.filter=t.trim().toLowerCase()}redirectTo(t){this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>this.router.navigate([t]))}};zg.ctorParameters=()=>[{type:yY.M},{type:Je.r},{type:We.ux},{type:It.F0},{type:Y.sK}],zg=(0,j.gn)([(0,m.wA2)({selector:"app-wishlist",template:'<div class=" p-3 rounded">\n\n\n\n\n\n\n\n\n <div >\n\n\n <mat-form-field appearance="outline" style="width: 25%;">\n <mat-label>{{\'common_filter\' | translate}}</mat-label>\n <input matInput (keyup)="applyFilter($event.target.value)" placeholder="Ex. Smartphone">\n </mat-form-field>\n\n <table mat-table [dataSource]="dataSource" class="table1 " matSort>\n\n\n\n\n\n \x3c!-- Position Column --\x3e\n <ng-container matColumnDef="product_image_url">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'prod_imgg\' | translate}} </th>\n \x3c!-- <td mat-cell *matCellDef="let element"> {{element.images.image_url}} </td> --\x3e\n <td mat-cell *matCellDef="let element">\n\n <img [src]="element.product_image_url" alt="" class="imgtable1">\n\n\n\n\n </td>\n </ng-container>\n\n \x3c!-- Name Column --\x3e\n\n\n <ng-container matColumnDef="product_name">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Product-Name\'| translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.product_name | slice:0:30}}</td>\n </ng-container>\n\n\n <ng-container matColumnDef="product_description">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{\'Product-Description\'| translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.product_description | slice:0:40}}</td>\n </ng-container>\n\n\n \x3c!-- Weight Column --\x3e\n\n\n \x3c!-- <td mat-cell *matCellDef="let element"> {{element.images.image_url}} </td> --\x3e\n <ng-container matColumnDef="supplier">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Supplier\'| translate}}</th>\n <td mat-cell *matCellDef="let element">\n {{element.supplier.first_name}} {{element.supplier.last_name}}\n\n\n </td>\n </ng-container>\n\n\n <ng-container matColumnDef="email">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Email\'| translate}} </th>\n <td mat-cell *matCellDef="let element" > {{element.supplier.email}} </td>\n </ng-container>\n\n\n\n \x3c!-- <td mat-cell *matCellDef="let element"> {{element.images.image_url}} </td> --\x3e\n <ng-container matColumnDef="brand_name">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'brand\' | translate}} </th>\n <td mat-cell *matCellDef="let element" > {{element.brand.brand_name}} </td>\n </ng-container>\n\n \x3c!-- <td mat-cell *matCellDef="let element"> {{element.images.image_url}} </td> --\x3e\n <ng-container matColumnDef="category_name">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Category\'| translate}} </th>\n <td mat-cell *matCellDef="let element">\n\n {{element.category.category_name}}\n\n </td>\n </ng-container>\n\n\n <ng-container matColumnDef="actions">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'common_actions\' | translate}} </th>\n <td mat-cell *matCellDef="let element">\n\x3c!--\n <button routerLink="/shop/shop-product-details/{{element.i
1d}}" title=""\n matTooltip="Show product item full details" mat-icon-button><i\n class="material-icons icon-green" style="color: darkcyan;">\n view_headline\n </i>\n </button> --\x3e\n\n\n\n\n <button matTooltip="Remove this product from your wishlist" mat-icon-button\n (click)="deleteProductFromWishlist(element.id)"><i\n class="material-icons icon-green" style="color: darkcyan;">\n delete_forever\n </i>\n </button>\n\n </td>\n </ng-container>\n\n\n\n \x3c!-- <td mat-cell *matCellDef="let element"> {{element.images.image_url}} </td> --\x3e\n\n\n\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;">\n </tr>\n </table>\n\n\n\n\n\n\n\n </div>\n\n</div>\n',styles:[".mainContainer {\n margin-top: 80px;\n padding: 30px;\n}\n\n.table1 {\n width: 100%;\n}\n\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.pricetable1 {\n color: red;\n}\n\n.distype {\n text-transform: capitalize;\n}\n\n.disprice {\n text-decoration: line-through;\n}\n\n.filterclass {\n margin-top: 70px;\n margin-right: 30px;\n margin-left: 30px;\n width: 90%;\n}\n\n.pagclass {\n margin-right: 30px;\n margin-left: 30px;\n width: 90%;\n}\n\nbody {\n margin-top: 20px;\n background: #FAFAFA;\n}\n\n.order-card {\n color: #fff;\n}\n\n.bg-c-blue {\n background: linear-gradient(45deg, #4099ff, #73b4ff);\n}\n\n.bg-c-green {\n background: linear-gradient(45deg, #2ed8b6, #59e0c5);\n}\n\n.bg-c-yellow {\n background: linear-gradient(45deg, #FFB64D, #ffcb80);\n}\n\n.bg-c-pink {\n background: linear-gradient(45deg, #FF5370, #ff869a);\n}\n\n.card {\n border-radius: 5px;\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.16);\n border: none;\n margin-bottom: 30px;\n transition: all 0.3s ease-in-out;\n}\n\n.card .card-block {\n padding: 25px;\n}\n\n.order-card i {\n font-size: 26px;\n}\n\n.f-left {\n float: left;\n}\n\n.f-right {\n float: right;\n}\n\ntd {\n margin-right: 10px;\n padding-left: 10px;\n}\n\nmat-paginator {\n width: 100%;\n}"]})],zg);var GO=F(88490);var KO=F(86374),WO=F(20266),rh=F(30850),Ik=F(44124),xY=F(81363);let ih=class{constructor(t,e,a,r,i,o,s,l,c,d){this.WareHouseService=t,this.sanitizer=e,this.router=a,this.datepipe=r,this.dialog=i,this.translate=o,this.loadingService=s,this.message=l,this.dialogService=c,this.purchaseServ=d,this.inboundcheck=!1,this.diabledBtn=!1,this.filterdata=[],this.btndetails=!0,this.tableName="po_product",this.completed=!1,this.dataFormSource1=[{type:"chainSelect",key:"chain_id",translateKey:"common_chain",rules:[{required:!0,message:"required"}]},{type:"supplierSelect",key:"supplier_id",rules:[{required:!0,message:"required"}]},{type:"dateTime",translateKey:"order_date",key:"order_date",rules:[{required:!0,message:"order_date_required"}]},{type:"select",key:"payment_status",translateKey:"common_paymentStatus",options:[{label:"common_paymentStatus_paid",value:"paid"},{label:"common_paymentStatus_not paid",value:"not paid"}],rules:[{required:!0,message:"common_paymentStatus_required"}]},{type:"textarea",translateKey:"Shipping address",placeholder:"Shipping address",key:"shipping_address"}],this.tableColumns=[{type:"checkbox",translationKey:"checkbox",key:"checkbox"},{type:"image",key:"img_url",translationKey:"Product image"},{type:"text",translationKey:"Product Name",key:"product_name"},{type:"text",translationKey:"product_name2",key:"product_name2"},{type:"text",translationKey:"Product Description",key:"product_description"},{type:"text",key:"cost_price",translationKey:"Product Price"},{type:"text",key:"product_barcode",translationKey:"product_barcode"},{type:"text",key:"product_barcode2",translationKey:"product_barcode2"},{type:"text",key:"week_avg_sales",translationKey:"week_avg_sales"},{type:"text",key:"month_avg_sales",translationKey:"month_avg_sales"},{type:"text",key:"quarter_avg_sales",translationKey:"quarter_avg_sales"},{type:"text",key:"year_avg_sales",translationKey:"year_avg_sales"},{type:"text",key:"inventory_quantity",translationKey:"Inventory quantity"},{type:"multiEdit",key:"product_quantity",translationKey:"Product-Quantity"},{key:"tax_rate",type:"number",translationKey:"Tax Rate"}
1,{type:"price",translationKey:"Tax_amount",key:"total_product_tax"},{type:"price",translationKey:"Total-ProductsPrice",key:"total_product_price"},{type:"price",translationKey:"Total Taxes Price",key:"total_product_tax_price"},{type:"text",translationKey:"inbound_return_stock",key:"inbound_return_stock"},{type:"text",translationKey:"last_inbound_quantity",key:"last_inbound_quantity"},{type:"date",translationKey:"last_inbound_time",key:"last_inbound_time"},{type:"text",translationKey:"outbound_return_stock",key:"outbound_return_stock"},{type:"text",translationKey:"last_outbound_quantity",key:"last_outbound_quantity"},{type:"date",translationKey:"last_outbound_time",key:"last_outbound_time"},{type:"date",translationKey:"last_order_time",key:"last_order_time"},{type:"actions",key:"actions",translationKey:"common_actions",list:["delete"]}],this.dataSource=[],this.componentName="shopAddPurchaseTable",this.sub_total=0,this.symbol_currency="",this.total_price=0,this.total_tax=0,this.total_tax_price=0,this.pageInfo={total:0,page:1,pageSize:100}}ngOnInit(){this.inboundcheck=this.router.url.includes("/shop/stock/in-out/purchase/purchas-and-stock-in-add-head?order_id"),this.purchaseServ.purchaseList=[],this.pageInfo.total=0,this.getPurchaseById(),this.dataFormSource1.find(t=>"order_date"===t.key).value=this.datepipe.transform(new Date,"yyyy-MM-dd")}nextStep(){let t;t=this.commonForm.handleSubmit(),console.log(t),"error"!==t?(this.completed=!0,console.log(this.completed),console.log(this.stepper),this.stepper.next()):(this.stepper.next(),this.stepper.previous(),this.completed=!1)}getPurchaseById(){if(!this.currentId)return;let t=[];const e=(a=1)=>{this.WareHouseService.getS2cPurchaseWithProductById(this.currentId,a).subscribe(r=>{this.dataFormSource1.forEach(s=>{s.value=r.data.purchaseOrder[s.key]}),this.dataFormSource1=[...this.dataFormSource1];const o=r.data.purchaseProducts.data.map((s,l)=>({...s,total_product_price:s.product_quantity*s.cost_price,total_product_tax:s.product_quantity*s.cost_price*(s.tax_rate/100),total_product_tax_price:s.product_quantity*s.cost_price+s.product_quantity*s.cost_price*(s.tax_rate/100),product_barcode2:s.product_barcode2&&"[]"!==s.product_barcode2?s.product_barcode2:"--",myId:(a-1)*r.data.purchaseProducts.per_page+l+1}));t=t.concat(o),this.purchaseServ.purchaseList=t,this.pageInfo.total=r.data.purchaseProducts.total,r.data.purchaseProducts.current_page<r.data.purchaseProducts.last_page?e(r.data.purchaseProducts.current_page+1):(this.total_price=r.data.purchaseOrder.total_price,this.total_tax=r.data.purchaseOrder.total_tax,this.total_tax_price=r.data.purchaseOrder.total_tax_price,this.loadingService.hideDialog())},r=>{console.log(r),this.loadingService.hideDialog()})};e()}handleBtnClick({type:t,item:e}){"delete"===t&&(this.purchaseServ.purchaseList=this.purchaseServ.purchaseList.filter(a=>a.id!==e.id)),"edit"===t&&this.addProductToPurchase(e)}handleAddPurchase(){const t=this.commonForm.handleSubmit();if("error"===t)return void this.stepper.previous();const e={...t};this.currentId?this.dialogService.confirmDialog({title:this.translate.instant("common_edit_title"),message:this.translate.instant("common_edit_purchase_info"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&this.WareHouseService.updateS2cManualPurchase(this.currentId,e).subscribe(r=>{200===r.code?(this.message.success(this.translate.instant("common_update_success")),this.router.navigate(["/shop/purchase/manual-purchase"])):this.message.error(r.msg)})}):this.WareHouseService.createS2cManualPurchase(e).subscribe(a=>{201===a.code?(this.message.success(this.translate.instant("common_add_success")),this.router.navigate(["/shop/purchase/manual-purchase"])):this.message.error(a.msg)})}handleAddPurchaseProducts(){const t={inventoryId:this.currentId,products:this.purchaseServ.purchaseList};console.log(t),this.currentId?0==this.purchaseServ.purchaseList.length?this.message.error(this.translate.instant("common_choose_one_product")):this.currentId?this.dialogService.confirmDialog({title:this.translate.instant("common_edit_title"),message:this.translate.instant("common_edit_purchase_info"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(e=>{e&&this.WareHouseService.updateS2cManualPurchase(this.currentId,t).subscribe(a=>{200===a.code?(this.message.success(this.translate.instant("common_update_success")),this.router.navigate(["/shop/purchase/manual-purchase"])):this.message.error(a.msg)})}):this.WareHouseService.createS2cManualPurchase(t).subscribe(e=>{201===e.code?(this.message.success(this.translate.instant("common_add_success")),this.router.navigate(["/shop/purchase/manual-purchase"])):this.message.error(e.msg)}):this.message.error(this.translate.instant("purchase_order_not_exist"))}navigateDetails(){this.router.navigate([`purchase/manual-purchase/detail/${this.currentId}`])}handlePrint(){}handleDate(t){console.log(t),"chain_id"==t.item.key&&(console.log(t.value.company_
1shipping_address),console.log(this.dataFormSource1),this.dataFormSource1.forEach(e=>{"shipping_address"===e.key&&(e.value=t.value.company_shipping_address),"chain_id"===e.key&&(e.value=t.value.id)}),this.dataFormSource1=[...this.dataFormSource1])}addProductToPurchase(t){console.log("addProductToPurchase"),console.log(t),this.router.url.includes("/purchase/manual-purchase/add")&&(t=this.commonForm.handleSubmit()),this.btndetails=!1,this.dialog.open(Ik.m,{width:"99%",height:"95%",data:t}).afterClosed().subscribe(a=>{if(a){if(a.myId){let r=this.purchaseServ.purchaseList.findIndex(i=>i.myId===a.myId);this.purchaseServ.purchaseList[r]=a,this.purchaseServ.purchaseList=[...this.purchaseServ.purchaseList]}else{const r=this.purchaseServ.purchaseList.slice(-1)[0]||{myId:0};this.purchaseServ.purchaseList=[...this.purchaseServ.purchaseList,{...a,total_product_tax:0,total_product_price:0,total_product_tax_price:0,myId:r.myId+1}],this.purchaseServ.purchaseList.map(i=>(i.id=+i.id,i))}for(let r=0;r<this.purchaseServ.purchaseList.length;r++)this.purchaseServ.purchaseList[r].isSelected=!1}})}importExcel(){this.dialog.open(WO.J,{panelClass:"custom-dialog-pursache"}).afterClosed().subscribe(e=>{try{const a=this.purchaseServ.purchaseList.slice(-1)[0]||{id:0};e.data.forEach(r=>{r.id=a.id+1}),this.purchaseServ.purchaseList=[...this.purchaseServ.purchaseList,...e.data]}catch(a){console.log(a)}})}quickAdd(t,e){if(console.log("filterdata:",t),console.log("datasource:",e),!this.currentId)return void this.message.error(this.translate.instant("purchase_order_not_exist"));t.currentId=this.currentId,t.type="purchaseOrder",e=this.purchaseServ.purchaseList,this.btndetails=!1;this.purchaseServ.purchaseList.filter(i=>"quick"===i.type);this.dialog.open(KO.y,{width:"95%",height:"95%",maxWidth:"100%",data:{filterdata:t,dataSource:this.purchaseServ.purchaseList}}).afterClosed().subscribe(i=>{const o=[];i.forEach(s=>{const l=this.purchaseServ.purchaseList.find(c=>c.id===s.id);l?(l.product_quantity=parseInt(s.product_quantity),l.total_product_price=s.total_product_price,l.total_product_tax=s.total_product_tax,l.total_product_tax_price=s.total_product_tax_price,console.log("obj:",l.product_quantity,s.product_quantity)):o.push({...s,type:"quick"})}),this.purchaseServ.purchaseList=[...this.purchaseServ.purchaseList,...o],console.log("purchaseList:",this.purchaseServ.purchaseList);for(let s=0;s<this.purchaseServ.purchaseList.length;s++)this.purchaseServ.purchaseList[s].isSelected=!1;o.forEach(s=>{this.total_price=this.total_price+s.cost_price*s.purchased_quantity}),console.log("after list:",this.purchaseServ.purchaseList)})}sanitizeImageUrl(t){return this.sanitizer.bypassSecurityTrustUrl(t)}openValidateOrderModal(t){this.dialog.open(sk.m,{data:t})}};ih.ctorParameters=()=>[{type:rh.l},{type:ct.H7},{type:It.F0},{type:Q.uU},{type:St.uw},{type:Y.sK},{type:Qe.E},{type:ne.I},{type:Bn.x},{type:xY.a}],ih.propDecorators={commonForm:[{type:m.i9L,args:["commonForm",{static:!0}]}],chainSelection:[{type:m.i9L,args:["chainSelection",{static:!0}]}],stepper:[{type:m.i9L,args:["stepper",{static:!0}]}],currentId:[{type:m.IIB}]},ih=(0,j.gn)([(0,m.wA2)({selector:"app-add-manual-purchase",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <mat-horizontal-stepper linear #stepper>\n <mat-step>\n <ng-template matStepLabel>{{\'purchaseOrder_details\' | translate}}</ng-template>\n <app-common-form [columns]="2" [isShowSubmitBtn]=false (onItemChange)="handleDate($event)" #commonForm [(dataSource)]="dataFormSource1" >\n </app-common-form>\n <div style="text-align: center;">\n <button mat-button (click)="handleAddPurchase()" id="btnNext"\n style="background-color: #a00000 ; color : white;"> {{\'Save\' |\n translate}}</button>\n </div>\n </mat-step>\n <mat-step>\n <ng-template matStepLabel>{{\'Products\' | translate}}</ng-template>\n <button (click)="quickAdd(commonForm.handleSubmit(),purchaseServ.purchaseList)" type="submit" class="btn-primary" mat-raised-button style="margin-right: 20px; display: inline-block;float:right; margin-top: 10px;\n margin-bottom: 10px;"> {{\'purchaseOrder_quickAdd\' | translate}}</button>\n <button (click)="addProductToPurchase(commonForm.handleSubmit())" type="submit" mat-raised-button style="background-color: rgba(184, 33, 38, 0.986); margin-right: 20px; display: inline-block;float:right; margin-top: 10px;\n margin-bottom: 10px;">{{\'purchaseOrder_add\' | translate}}</button>\n \x3c!-- <button (click)="importExcel()" type="submit" mat-raised-button style="background-color: rgba(184, 33, 38, 0.986); margin-right: 20px; display: inline-block;float:right; margin-top: 10px;\n margin-bottom: 10px;"> {{\'purchaseOrder_import\' | translate}}</button> --\x3e\n <app-common-search-list-table [tableName]="tableName" [columns]="tableColumns" [dataSource]="purchaseServ.purchaseList" [isAutoPages]="true"\n [isShowAdd]="false" [isShowDisplayColumn]="true" [isShowSearchBtn]="false"\n (onBtnClick)="handleBtnClick($event)" [uniqueTableKey]="componentName"></app-common-search-list-table>\n <div\n *ngIf="total_price!=null && ( router.url.includes(\'purchase/manual-purchase/edit\')|| router.url.includes(\'purchase/manual-purchase/add\'))"\n class="row justify-content-end">\n <div class="card col-4 m-2 pt-2" style="font-family: Poppins, serif; color: #747e88; width: 380px">\n <div class="row">\n <div class="col text-start">\n <h6>{{ "Total price" | translate }}:</h6>\n </div>\n <div class="col text-right">
1\n <span>{{ total_price | number: "1.2-2" }}{{symbol_currency}}</span>\n </div>\n </div>\n <div class="row">\n <div class="col text-start">\n <h6>{{ "Tax_amount" | translate }}:</h6>\n </div>\n <div class="col text-right">\n <span>{{ total_tax | number: "1.2-2" }} {{symbol_currency}}</span>\n </div>\n </div>\n <div class="row">\n <div class="col text-start">\n <h6>{{ "Total Taxes Price" | translate }}:</h6>\n </div>\n <div class="col text-right">\n <span>{{ total_tax_price | number: "1.2-2" }} {{symbol_currency}}</span>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col text-right">\n <div style="width: 100%;height: 100px;display: flex;justify-content: center;align-items: center;">\n <button mat-button matStepperPrevious\n style="background-color: #cacaca;color: black; margin-right: 1%;">{{"common_previous"|translate\n }}</button>\n <button (click)="handleAddPurchase()" mat-raised-button type="submit"\n style="background-color: #a00000; margin-right: 10px;"> <i class="fa fa-check" aria-hidden="true"></i>\n {{(currentId ? \'Edit Purchase\' :\'Add Purchase\') | translate}}\n </button>\n <button *ngIf="!router.url.includes(\'purchase/manual-purchase/add\') && btndetails"\n (click)="handlePrint();navigateDetails()" mat-raised-button type="submit"\n style="background-color: #a00000; margin-right: 10px;color: white;"> <i class="fa fa-check"\n aria-hidden="true"></i> {{\'Preview purchase\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </mat-step>\n </mat-horizontal-stepper>\n</div>\n',styles:["table {\n border-collapse: collapse;\n}\n\ntable col.is-highlighted {\n background: aquamarine;\n}\n\ntable th {\n padding: 0.25rem 0.75rem;\n background: rgba(0, 0, 0, 0.2);\n border: 1px solid black;\n}\n\ntable td {\n padding: 0.25rem 0.5rem;\n text-align: center;\n border: 1px solid black;\n}\n\ntable td:focus {\n outline: 0;\n background: aquamarine;\n}\n\ntable tr.is-highlighted {\n background: aquamarine;\n}"]})],ih);let Eg=class{constructor(t,e,a,r,i,o,s){this.WareHouseService=t,this.datepipe=e,this.loadingService=a,this.router=r,this.dialogService=i,this.translate=o,this.message=s,this.totalOrders=0,this.total_tax="0",this.total_tax_price="0",this.formDataSource=[{type:"chainSelect",key:"chain_id",isShowAll:!0,rules:[]},{type:"supplierSelect",key:"supplier_id"},{type:"dateTime",translateKey:"purchase_createdDate",key:"created_at",placeholder:"purchase_createdDate"},{type:"input",translateKey:"purchase_orderNumber",key:"order_number",placeholder:"purchase_orderNumber"},{type:"select",translateKey:"common_status",key:"status",placeholder:"common_status",options:[{label:"pending",value:"pending"},{label:"Passed",value:"passed"},{label:"Rejected",value:"rejected"}]},{type:"dateTime",translateKey:"Order Date",key:"date",placeholder:"Order Date"},{type:"dateSelect",key:"SelectedDate"},{type:"purchaseType",key:"type"}],this.columns=[{type:"checkbox",translationKey:"checkbox",key:"checkbox"},{type:"number",translationKey:"id",key:"id"},{type:"text",key:"order_number",translationKey:"purchase_orderNumber"},{type:"date",key:"order_date",translationKey:"Order Date"},{type:"text",translationKey:"common_supplier",key:"supplier"},{type:"PurchaseType",translationKey:"common_purchaseType",key:"type"},{type:"customColumn",translationKey:"common_status",key:"order_status"},{type:"text",translationKey:"TotalPurchaseQuantity",key:"total_po_quantity"},{type:"price",key:"total_price",translationKey:"productsCardComponent_totalCostPrice"},{type:"price",translationKey:"Total Tax Amount",key:"total_tax"},{type:"price",translationKey:"Total Taxes Price",key:"total_tax_price"},{translationKey:"common_create_user",type:"text",key:"created_user"},{type:"date",key:"created_at",translationKey:"purchase_createdDate"},{type:"actions",translationKey:"actions",key:"actions",list:["inbound","detail","edit","delete"]}],this.componentName="ManualPurchaseComponent",this.dataSource=[],this.pageInfo={page:1,pageSize:10,total:0},this.total_price=0,this.cardDataList=[{numberData:0,textData:"Total-orders"},{numberData:0,textData:"productsCardComponent_totalCostPrice",formatString:"1.2-2"},{numberData:0,textData:"Total Tax Amount",formatString:"1.2-2"},{numberData:0,textData:"Total Taxes Price",formatString:"1.2-2"}],this.searchParams={chain_id:"",supplier_id:"",created_at:"",order_number:"",status:"",date:"",shipping_date:"",date_from:"",date_to:"",page:1,type:""},this.otherBtns=[{translationKey:"Auto Replenishment",onclick:this.handleSmartClick.bind(this)}]}ngOnInit(){this.getPurchaseWarehouseList()}handleSmartClick(){try{this.router.navigate(["/shop/purchase/manual-purchase/auto-replenishment"])}catch(t){console.log(t)}}getPurchaseWarehouseList(t,e,a,r,i,o,s,l,c,d,u){this.loadingService.openDialog(),this.WareHouseService.getS2cPurchaseListBySupplier2(t,e,a,r,i,o,s,l,c,d,this.pageInfo.page).subscribe(h=>
1{this.total_price=0,this.getStatisticWarehousePurchase(t,e,a,r,i,o,s,l,c,this.pageInfo.page),this.dataSource=h.data.map(f=>({...f,supplier_name:f.supplier.supplier_name,order_status:f.order_status?f.order_status:"",shipping_date:f.shipping_date,created_at:this.datepipe.transform(new Date(f.created_at+"Z"),"yyyy-MM-dd HH:mm:ss")})),this.totalOrders=h.total,this.cardDataList[0].numberData=h.total,this.pageInfo.total=h.total,this.pageInfo.pageSize=h.per_page,this.loadingService.hideDialog()},h=>{console.log(h)})}getStatisticWarehousePurchase(t,e,a,r,i,o,s,l,c,d){this.loadingService.openDialog(),this.WareHouseService.getStatisticPurchase(t,e,a,r,i,o,s,l,c,this.pageInfo.page).subscribe(u=>{u.data?(console.log("vres.data",u.data),this.total_price=u.data.total_price.toFixed(2),this.cardDataList[1].numberData=u.data.total_price,this.cardDataList[2].numberData=u.data.total_tax,this.cardDataList[3].numberData=u.data.total_tax_price):this.message.error(u.msg)},u=>{console.log(u)})}handleAdd(){this.router.navigate(["/shop/purchase/manual-purchase/add"])}handleSubmit(t){console.log("searchparams:",t),this.searchParams=t,this.getPurchaseWarehouseList(this.searchParams.chain_id,this.searchParams.supplier_id,this.searchParams.created_at,this.searchParams.order_number,this.searchParams.status,this.searchParams.date,this.searchParams.shipping_date,this.searchParams.date_from,this.searchParams.date_to,this.searchParams.type,this.searchParams.page)}handleReset(){this.searchParams={chain_id:"",supplier_id:"",created_at:"",order_number:"",status:"",date:"",shipping_date:"",date_from:"",date_to:"",type:"",page:1},this.getPurchaseWarehouseList("","","","","","","","","","",1)}handleBtnClick({item:t,type:e}){"delete"===e?this.dialogService.confirmDialog({title:this.translate.instant("common_delete_title"),message:this.translate.instant("common_delete_inventory_info"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&this.WareHouseService.deleteS2cPurchase(t.id).subscribe(r=>{r&&(this.searchParams.page=1,this.pageInfo.page=1,this.message.success(this.translate.instant("common_delete_success")),this.getPurchaseWarehouseList(),this.getStatisticWarehousePurchase())})}):"edit"===e?this.router.navigate([`/shop/purchase/manual-purchase/edit/${t.id}`]):"detail"===e?this.router.navigate([`/shop/purchase/manual-purchase/detail/${t.id}`]):"confirm"===e?this.WareHouseService.confirmPurchase(t.id).subscribe(a=>{1===a.code?(this.message.success(this.translate.instant(a.data)),this.getPurchaseWarehouseList()):this.message.error(a.data)},a=>{console.log(a)}):"inbound"===e&&(localStorage.setItem("PurchaseOrder",JSON.stringify(t)),this.router.navigate(["/shop/stock/in-out/purchase/purchas-and-stock-in-add-head"],{queryParams:{order_id:t.id,order_number:t.order_number}}))}handleChangePaginator(t){this.pageInfo.page=t.page,this.searchParams.page=t.page,this.getPurchaseWarehouseList(this.searchParams.chain_id,this.searchParams.supplier_id,this.searchParams.created_at,this.searchParams.order_number,this.searchParams.status,this.searchParams.date,this.searchParams.shipping_date,this.searchParams.date_from,this.searchParams.date_to,this.searchParams.type,this.searchParams.page)}handleStatus(t){this.searchParams.status=t,this.getPurchaseWarehouseList(this.searchParams.chain_id,this.searchParams.supplier_id,this.searchParams.created_at,this.searchParams.order_number,this.searchParams.status,this.searchParams.date,this.searchParams.shipping_date,this.searchParams.date_from,this.searchParams.type,this.searchParams.date_to,1)}};Eg.ctorParameters=()=>[{type:rh.l},{type:Q.uU},{type:Qe.E},{type:It.F0},{type:Bn.x},{type:Y.sK},{type:ne.I}],Eg=(0,j.gn)([(0,m.wA2)({selector:"app-manual-purchase",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-products-card [cardDataList]="cardDataList"></app-products-card>\n <app-common-search-list-table\n [formColumn]="formDataSource"\n [currencyDisplay]="false"\n (onAddClick)="handleAdd()"\n [isFilterbyStatus]="false"\n [dataSource]="dataSource"\n [columns]="columns"\n [uniqueTableKey]="componentName"\n [pageInfo]="pageInfo"\n [otherBtns]="otherBtns"\n [tableName]="\'purchase_orders\'"\n (onSubmit)="handleSubmit($event)"\n (onReset)="handleReset()"\n (statusFilterChange)="handleStatus($event)"\n (onBtnClick)="handleBtnClick($event)"\n (pageChange)="handleChangePaginator($event)"\n >\n </app-common-search-list-table>\n </div>\n',styles:[":host ::ng-deep .mat-form-field-infix {\n padding: 0.7em 0 !important;\n border-top: 0.84375em solid transparent !important;\n}"]})],Eg);let qg=class{constructor(t){this.productsS2cService=t}
1ngOnInit(){this.getSiyouProduct()}getSiyouProduct(){return this.productsS2cService.getsiyouproduct(1).subscribe(t=>{this.siyouProducts=t,this.siyouProductsData=this.siyouProducts.data},t=>{console.log(t)})}};qg.ctorParameters=()=>[{type:Je.r}],qg=(0,j.gn)([(0,m.wA2)({selector:"app-shop-builling",template:'\n<h1 class="title-pack">{{"Siyou Packages" | translate}}</h1>\n<div class="snip1214">\n <div [ngClass]="(prod.product_name ==\'Starter\')?\'plan featured\':\'plan\'" *ngFor="let prod of siyouProductsData">\n <h3 class="plan-title">\n {{prod.product_name}}\n </h3>\n <div class="plan-cost"><span class="plan-price">${{prod.unit_price}}</span><span class="plan-type">/ Monthly</span></div>\n <ul class="plan-features">\n <li *ngFor="let pro of prod.items"><i class="ion-checkmark"> </i>{{pro.product_name}}</li>\n </ul>\n <div class="plan-select"><a routerLink="/shop/builling-order/{{prod.id}}">{{"Select Plan"| translate}}</a></div>\n </div>\n </div>',styles:['.title-pack {\n padding-bottom: 1%;\n position: relative;\n font-weight: 600;\n padding-top: 2%;\n margin-left: 1%;\n letter-spacing: 2px;\n text-transform: uppercase;\n font-weight: bold;\n color: #636363;\n font-size: 20px;\n text-align: center;\n}\n\n.snip1214 {\n font-family: "Raleway", Arial, sans-serif;\n color: #000000;\n text-align: center;\n font-size: 16px;\n margin: 40px 10px;\n}\n\n.snip1214 .plan {\n margin: 0;\n width: 25%;\n position: relative;\n float: left;\n background-color: #ffffff;\n border: 1px solid rgba(0, 0, 0, 0.1);\n}\n\n.snip1214 * {\n box-sizing: border-box;\n}\n\n.snip1214 header {\n position: relative;\n}\n\n.snip1214 .plan-title {\n position: relative;\n top: 0;\n font-weight: 800;\n padding: 5px 15px;\n margin: 0 auto;\n transform: translateY(-50%);\n margin: 0;\n display: inline-block;\n background-color: #a00000;\n color: white;\n text-transform: uppercase;\n}\n\n.snip1214 .plan-cost {\n padding: 0px 10px 20px;\n}\n\n.snip1214 .plan-price {\n font-family: "Montserrat", Arial, sans-serif;\n font-weight: 800;\n font-size: 2.4em;\n color: #a00000;\n}\n\n.snip1214 .plan-type {\n opacity: 0.6;\n}\n\n.snip1214 .plan-features {\n padding: 0;\n margin: 0;\n text-align: center;\n list-style: outside none none;\n font-size: 0.8em;\n}\n\n.snip1214 .plan-features li {\n border-top: 1px solid #d2d7e2;\n padding: 10px 5%;\n}\n\n.snip1214 .plan-features li:nth-child(even) {\n background: rgba(0, 0, 0, 0.08);\n}\n\n.snip1214 .plan-features i {\n margin-right: 8px;\n opacity: 0.4;\n}\n\n.snip1214 .plan-select {\n border-top: 1px solid #cacaca;\n padding: 10px 10px 0;\n}\n\n.snip1214 .plan-select a {\n background-color: #a00000;\n color: white;\n text-decoration: none;\n padding: 0.5em 1em;\n transform: translateY(50%);\n font-weight: 800;\n text-transform: uppercase;\n display: inline-block;\n}\n\n.snip1214 .plan-select a:hover {\n background-color: #cacaca;\n}\n\n.snip1214 .featured {\n margin-top: -10px;\n background-color: #919191;\n color: #ffffff;\n box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);\n z-index: 1;\n}\n\n.snip1214 .featured .plan-title,\n.snip1214 .featured .plan-price {\n color: #ffffff;\n}\n\n.snip1214 .featured .plan-cost {\n padding: 10px 10px 20px;\n}\n\n.snip1214 .featured .plan-features li {\n border-top: 1px solid rgba(255, 255, 255, 0.4);\n}\n\n.snip1214 .featured .plan-select {\n padding: 20px 10px 0;\n border-top: 1px solid rgba(255, 255, 255, 0.4);\n}\n\n@media only screen and (max-width: 767px) {\n .snip1214 .plan {\n width: 50%;\n }\n\n .snip1214 .plan-title,\n.snip1214 .plan-select a {\n transform: translateY(0);\n }\n\n .snip1214 .plan-cost,\n.snip1214 .featured .plan-cost {\n padding: 20px 10px 20px;\n }\n\n .snip1214 .plan-select,\n.snip1214 .featured .plan-select {\n padding: 10px 10px 10px;\n }\n\n .snip1214 .featured {\n margin-top: 0;\n }\n}\n\n@media only screen and (max-width: 440px) {\n .snip1214 .plan {\n width: 100%;\n }\n}']})],qg);let Hg=class{constructor(t,e,a,r,i,o,s){this.snackbar=t,this.datepipe=e,this.fundsS2cService=a,this._formBuilder=r,this.productsS2cService=i,this.orderService=o,this.activatedRouter=s,this.new=!1,this.isLinear=!1,this.product=[],this.formData=new FormData,s.params.subscribe(l=>{this.currentId=l.id})}
1ngOnInit(){this.onGetPaymentMeth(),this.getShippingAdress(),this.secondFormGroup=this._formBuilder.group({secondCtrl:["",V.kI.required]}),this.shippingFormGroup=this._formBuilder.group({shipping_address:["",V.kI.required],city:["",V.kI.required],state_province:["",V.kI.required],country:["",V.kI.required],zip_code:["",V.kI.required]}),this.dateFormGroup=this._formBuilder.group({required_date:["",V.kI.required],shipping_date:["",V.kI.required],delivery_date:["",V.kI.required]})}getShippingAdress(){return this.orderService.getShopBuilingOrders().subscribe(t=>{this.shippingAdress=t,this.shippingAdressData=this.shippingAdress.data},t=>{console.log(t)})}toFormData(t){const e=new FormData;for(const a of Object.keys(t)){const r=t[a];e.append(a,r)}return e}onAddShippingAdress(){this.formData=this.toFormData(this.shippingFormGroup.value),this.orderService.addShippingAdress(this.formData).subscribe(t=>{this.snackbar.open("Shipping Adress Added Successfuly","OK",{duration:1e3}),this.getShippingAdress(),this.new=!this.new})}onGetSiyouProductById(){return this.productsS2cService.getSiyoushopProduct(this.currentId).subscribe(t=>{this.siyouProduct=t,this.siyouProductData=this.siyouProduct.data},t=>{console.log(t)})}onGetPaymentMeth(t){return(0==t||!t)&&(t=""),this.fundsS2cService.getPaymentMethod(t).subscribe(e=>{this.paymentList=e,this.paymentData=this.paymentList.data},e=>{console.log(e)})}onAddOrder(t,e,a,r,i,o){var s=this.datepipe.transform(t,"yyyy-MM-dd"),l=this.datepipe.transform(e,"yyyy-MM-dd"),c=this.datepipe.transform(a,"yyyy-MM-dd"),d={product_id:this.currentId,product_quantity:o};this.product.push(d);var u={required_date:s,shipping_date:l,delivery_date:c,payment_method_id:r,shipping_address_id:i,siyou_products:this.product};return this.orderService.addShopOrder(u).subscribe(h=>{this.rslt=h,"order added successfully"==this.rslt&&this.snackbar.open("Successfully","OK",{duration:2e3})},h=>{console.log(h)})}};Hg.ctorParameters=()=>[{type:We.ux},{type:Q.uU},{type:Sr.e},{type:V.qu},{type:Je.r},{type:bn.C},{type:It.gz}],Hg=(0,j.gn)([(0,m.wA2)({selector:"app-builling-order",template:'<div class="bg-white m-3">\n \x3c!-- <button mat-raised-button (click)="isLinear = !isLinear" id="toggle-linear">\n {{!isLinear ? \'Enable linear mode\' : \'Disable linear mode\'}}\n </button> --\x3e\n <mat-horizontal-stepper [linear]="!isLinear" #stepper>\n <mat-step [stepControl]="secondFormGroup || shippingFormGroup">\n <form [formGroup]="secondFormGroup">\n <ng-template matStepLabel>{{"Fill out your shipping address"| translate}}</ng-template>\n <mat-form-field appearance="outline" style="width: 100%;">\n <mat-label>{{"Address"| translate}}</mat-label>\n <mat-select formControlName="secondCtrl" #shipping_address_id>\n <mat-option value=""> {{"Select"| translate}}\n </mat-option>\n <mat-option *ngFor=" let shipp of shippingAdressData" [value]="shipp.id">\n {{shipp.shipping_address}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n <p style="font-size: 14px; color : #a00000" (click)="new = !new"> {{"New Shipping Address"| translate}}</p>\n <form [formGroup]="shippingFormGroup" *ngIf="new" style="width: 100%;">\n <mat-form-field appearance="outline" style="margin-right: 1%;width: 15%;">\n <mat-label>{{"Shipping address"| translate}}</mat-label>\n <input matInput formControlName="shipping_address" [placeholder]="\'Shipping address\'| translate" required>\n </mat-form-field>\n <mat-form-field appearance="outline" style="margin-right: 1%;width: 15%;">\n <mat-label> {{"City"| translate}}</mat-label>\n <input matInput formControlName="city" [placeholder]="\'City\'| translate" required>\n </mat-form-field>\n <mat-form-field appearance="outline" style="margin-right: 1%;width: 15%;">\n <mat-label>{{"Province State"| translate}}</mat-label>\n <input matInput formControlName="state_province" [placeholder]="\'Province State\'| translate" required>\n </mat-form-field>\n <mat-form-field appearance="outline" style="margin-right: 1%;width: 15%;">\n <mat-label>{{"Country"| translate}}</mat-label>\n <input matInput formControlName="country" placeholder="Country" required>\n </mat-form-field>\n <mat-form-field appearance="outline" style="margin-right: 1%;width: 15%;">\n <mat-label>{{"Zip code"| translate}}</mat-label>\n <input matInput formControlName="zip_code" placeholder="ZIP Code" required>\n </mat-form-field>\n <button mat-button (click)="onAddShippingAdress()" type=\'button\' style="\n padding: 14px 14px 5px 14px;\n border: 1px solid gray;\n background-color: white;\n border-radius: 5px;\n color: gray;\n width: 20%;\n "> {{"add"| translate}}</button>\n\n </form>\n \x3c!-- <mat-form-field appearance="outline">\n <mat-label>City</mat-label>\n <input matInput formControlName="secondCtrl" placeholder="Ex. 1 Main St, New York, NY" required>\n </mat-form-field>\n <mat-form-field appearance="outline">\n <mat-label>Address</mat-label>\n <input matInput formControlName="secondCtrl" placeholder="Ex. 1 Main St, New York, NY" required>\n </mat-form-field> --\x3e\n <div>\n <button mat-button class="btn m-2" style="background-color : #a00000;color:white"\n matStepperNext> {{"Next"| translate}}</button>\n </div>\n </form>\n </mat-step>\n <mat-step [stepControl]="dateFormGroup">\n <form [formGroup]="dateFormGroup">\n <ng-template matStepLabel>{{"date"| translate}}</ng-template>\n <mat-form-field appearance="outline" style="width: 32%;margin-right: 1%">\n <mat-label>{{"Require-Date"| translate}}</mat-label>\n <input matInput [matDatepicker]="picker" formControlName="required_date" #required_date required />\n <mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 33%;margin-right: 1%">\n <mat-label>{{"Shipping-Date"| translate}}</mat-label>\n <input matInput [matDatepicker]="picker1" formControlName="shipping_date" #shipping_date required />\n <mat-datepicker-toggle matSuffix [for]="picker1"></mat-datepicker-toggle>\n <mat-datepicker #picker1></mat-datepicker>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 32%;margin-right: 1%">\n <mat-label>{{"Delivery-Date"| translate}}</mat-label>\n <input matInput [matDatepicker]="picker2" formControlName="delivery_date" #delivery_date required />\n <mat-datepicker-toggle matSuffix [for]="picker2"></mat-datepicker-toggle>\n <mat-datepicker #picker2></mat-datepicker>\n </mat-form-field>\n <div>\n <button mat-button class="btn m-2" style="background-color : #a00000;color:white"\n matStepperNext>{{"Next"| translate}}</button>\n <button mat-button class="btn m-2" style="background-color : #a00000;color:white"\n matStepperPrevious>{{"Back"| translate}}</button>\n <button mat-button class="btn m-2" style="background-color : #a00000;color:white"\n (click)="stepper.reset()">{{"Reset"| translate}}</button>\n </div>\n </form>\n </mat-step>\n <mat-step>\n <ng-template matStepLabel>{{"Products"| translate}}</ng-template>\n <mat-form-field appearance="outline" style="margin-right: 1%;width: 100%;">\n <mat-label> {{"Product-Quantity" | translate}}</mat-label>\n\n <input matInput #product_quantity />\n\n </mat-form-field>\n\n <div>\n <button mat-button class="btn m-2" style="background-color : #a00000;color:white"\n matStepperNext>{{"Next"| translate}}</button>\n <button mat-button class="btn m-2" style="background-color : #a00000;color:white"\n matStepperPrevious>{{"Back"| translate}}</button>\n <button mat-button class="btn m-2" style="background-color : #a00000;color:white"\n (click)="stepper.reset()">{{"Reset"| translate}}</button>\n\n </div>\n </mat-step>\n <mat-step>\n <ng-template matStepLabel>{{"Payment-method"| translate}}</ng-template>\n <mat-form-field appearance="outline" style="margin-right: 1%;width: 100%;">\n <mat-label> {{"Payment-method"| translate}}</mat-label>\n <mat-select #payment_method>\n <mat-option value=0>--None--</mat-option>\n <mat-option value="1">{{"cash"| translate}}</mat-option>\n <mat-option value="2">{{"debit"| translate}}</mat-option>\n <mat-option value="3">{{"credit"| translate}}</mat-option>\n </mat-select>\n </mat-form-field>\n\n <div>\n <button mat-button class="btn m-2" style="background-color : #cacaca;color:white" (click)="onAddOrder(required_date.value,shipping_date.value,delivery_date.value,payment_method.value,shipping_address_id.value,product_quantity.value)"> {{"Submit"| translate}}</button>\n\n <button mat-button class="btn m-2" style="background-color : #a00000;color:white"\n matStepperPrevious>{{"Back"| translate}}</button>\n <button mat-button class="btn m-2" style="background-color : #a00000;color:white"\n (click)="stepper.reset()">{{"Reset"| translate}}</button>\n\n </div>\n </mat-step>\n </mat-horizontal-stepper>\n</div>\n',styles:[".mat-stepper-vertical {\n margin-top: 8px;\n}\n\n.mat-form-field {\n margin-top: 16px;\n}"]})],Hg);let Bg=class{constructor(t,e,a,r,i,o){this.snackbar=t,this._formBuilder=e,this.orderService=a,this.dialog=r,this.userService=i,this.activatedRouter=o,this.countries=[],this.formData=new FormData,o.params.subscribe(s=>{this.currentId=s.id})}ngOnInit(){this.shippingFormGroup=this._formBuilder.group({shipping_address:["",V.kI.required],city:["",V.kI.required],state_province:["",V.kI.required],country:["",V.kI.required],zip_code:["",V.kI.required]}),this.getCountries()}getCountries(){this.userService.getCountries().subscribe(t=>{t.data&&(this.countries=t.data)})}toFormData(t){const e=new FormData;for(const a of Object.keys(t)){const r=t[a];e.append(a,r)}return e}onAddShippingAdress(){this.formData=this.toFormData(this.shippingFormGroup.value),this.orderService.addShippingAdress(this.formData).subscribe(t=>{this.snackbar.open("Shipping Adress Added Successfuly","OK",{duration:1e3}),this.dialog.closeAll()})}close(){this.dialog.closeAll()}};Bg.ctorParameters=()=>[{type:We.ux},{type:V.qu},{type:bn.C},{type:St.uw},{type:bo.K},{type:It.gz}],Bg=(0,j.gn)([(0,m.wA2)({selector:"app-add-shipping-address",template:'<span style=" width: 4%;\n margin-left: 98%; cursor: pointer;" (click)="close()">\n <img src="../../../../assets/images/close.svg">\n </span>\n<form [formGroup]="shippingFormGroup">\n <mat-form-field appearance="outline" style="width: 100%;" class="example-full-width">\n <mat-label>Shipping Adress</mat-label>\n <input matInput formControlName="shipping_address" placeholder="Shippin Adress" required>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 100%;" class="example-full-width">\n <mat-label>City</mat-label>\n <input matInput formControlName="city" placeholder="City" required>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 100%;" class="example-full-width">\n <mat-label>Province</mat-label>\n <input matInput formControlName="state_province" placeholder="Province" required>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width: 100%;" class="example-full-width">\n <mat-label>{{"Country"| translate}}</mat-label>\n <mat-select #country name="country" formControlName="country" required>\n <mat-option *ngFor="let country of countries" [value]="country.id"> {{country.name}}</mat-option>\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 100%;" class="example-full-width">\n <mat-label>Zip Code</mat-label>\n <input matInput formControlName="zip_code" placeholder="ZIP Code" required>\n </mat-form-field>\n <button class="btn btn-primary mt-2" (click)="onAddShippingAdress()">Submit</button>\n\n</form>\n',styles:[""]})],Bg);let jg=class{constructor(t,e,a,r,i,o,s){this.data=t,this.dialog=e,this._snackBar=a,this.router=r,this.orderService=i,this.translate=o,this.dialogRef=s}ngOnInit(){this.currentShippingAddressData=this.dialogRef.componentInstance.data,this.currentShippingAddress=this.currentShippingAddressData.id}onDeleteShipping(t){return this.orderService.deleteShippingAdress(this.currentShippingAddress).subscribe(e=>{this.dialog.closeAll(),this._snackBar.open("Successfully Deleted","OK",{duration:2e3})})}close(){this.dialog.closeAll()}};jg.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}
1,{type:St.uw},{type:We.ux},{type:It.F0},{type:bn.C},{type:Y.sK},{type:St.so}],jg=(0,j.gn)([(0,m.wA2)({selector:"app-delete-shipping-address",template:'<span style=" width: 4%;\n margin-left: 98%; cursor: pointer;" (click)="close()">\n <img src="../../../../assets/images/close.svg">\n </span>\n<form>\n <h3>Are you sure you want to delete this Shipping Address ?</h3>\n\n <p style="margin-top: 40px;" class="text-center d-block">\n <button style="margin-right: 10px; background-color: #303842; color: white;" type="submit" mat-raised-button\n mat-button color="warn" (click)="onDeleteShipping(currentShippingAddress)">Submit</button>\n <button mat-dialog-close mat-raised-button mat-button color="link" style="color: black;">Close</button>\n </p>\n</form>\n',styles:[""]})],jg);let Gg=class{constructor(t,e,a,r,i,o,s,l){this.data=t,this.snackbar=e,this._formBuilder=a,this.orderService=r,this.activatedRouter=i,this.dialogRef=o,this.dialog=s,this.userService=l,this.countries=[],this.formData=new FormData}ngOnInit(){this.currentShippingAddressData=this.dialogRef.componentInstance.data,this.currentShippingAddress=this.currentShippingAddressData.id,this.onGetSiyouShippingById(),this.shippingFormGroup=this._formBuilder.group({shipping_address:["",V.kI.required],city:["",V.kI.required],state_province:["",V.kI.required],country:["",V.kI.required],zip_code:["",V.kI.required]}),this.getCountries()}toFormData(t){const e=new FormData;for(const a of Object.keys(t)){const r=t[a];e.append(a,r)}return e}onEditShippingAdress(t,e,a,r,i){this.shippingFormGroup.get("shipping_address").setValue(t),this.shippingFormGroup.get("city").setValue(e),this.shippingFormGroup.get("state_province").setValue(a),this.shippingFormGroup.get("country").setValue(r),this.shippingFormGroup.get("zip_code").setValue(i),this.formData=this.toFormData(this.shippingFormGroup.value),this.orderService.editShippingAdress(this.currentShippingAddress,this.formData).subscribe(o=>{this.snackbar.open("Shipping Address Updated Successfuly","OK",{duration:1e3}),this.dialog.closeAll()})}close(){this.dialogRef.close()}onGetSiyouShippingById(){return this.orderService.getShippingAdressById(this.currentShippingAddress).subscribe(t=>{this.siyouShipping=t,this.siyouShippingData=this.siyouShipping.data},t=>{console.log(t)})}getCountries(){this.userService.getCountries().subscribe(t=>{t.data&&(this.countries=t.data)})}};Gg.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]},{type:We.ux},{type:V.qu},{type:bn.C},{type:It.gz},{type:St.so},{type:St.uw},{type:bo.K}],Gg=(0,j.gn)([(0,m.wA2)({selector:"app-edit-shipping-address",template:'<span style=" width: 4%;\n margin-left: 98%; cursor: pointer;" (click)="close()">\n <img src="../../../../assets/images/close.svg">\n </span>\n<form [formGroup]="shippingFormGroup">\n <mat-form-field appearance="outline" style="width: 100%;" class="example-full-width">\n <mat-label>Shipping Adress</mat-label>\n <input matInput formControlName="shipping_address" #shipping_address [value]="siyouShippingData.shipping_address" placeholder="Shippin Adress" required>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 100%;" class="example-full-width">\n <mat-label>City</mat-label>\n <input matInput formControlName="city" placeholder="City" #city required [value]="siyouShippingData.city" >\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 100%;" class="example-full-width">\n <mat-label>Province</mat-label>\n <input matInput formControlName="state_province" #state_province placeholder="Province" required [value]="siyouShippingData.state_province">\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width: 100%;" class="example-full-width">\n <mat-label>{{"Country"| translate}}</mat-label>\n <mat-select #country name="country" formControlName="country" required [value]="siyouShippingData.country">\n <mat-option *ngFor="let country of countries" [value]="country.id"> {{country.name}}</mat-option>\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 100%;" class="example-full-width">\n <mat-label>Zip Code</mat-label>\n <input matInput formControlName="zip_code" placeholder="ZIP Code" #zip_code required [value]="siyouShippingData.zip_code">\n </mat-form-field>\n <button class="btn btn-primary mt-2" (click)="onEditShippingAdress(shipping_address.value,city.value,state_province.value,country.value,zip_code.value)">Submit</button>\n\n</form>\n',styles:[""]})],Gg);let oh=class{constructor(t,e){this.orderService=t,this.dialog=e,this.dataSource=new $e.by,this.displayedColumns=["shipping_address","city","province","country","zip_code","actions"]}
1ngOnInit(){this.getShippingAdress(),this.dataSource.paginator=this.paginator}ngAfterViewInit(){this.dataSource.sort=this.sort}getShippingAdress(){return this.orderService.getShopBuilingOrders().subscribe(t=>{this.shippingAdress=t,this.shippingAdressData=this.shippingAdress.data,this.dataSource.data=this.shippingAdressData,this.displayedColumns=["shipping_address","city","province","country","zip_code","actions"]},t=>{console.log(t)})}openEditShippingModal(t){this.dialog.open(Gg,{data:t}).afterClosed().subscribe(a=>{this.getShippingAdress()})}openAddShippingModal(){this.dialog.open(Bg).afterClosed().subscribe(e=>{this.getShippingAdress()})}openDeleteShippingModal(t){this.dialog.open(jg,{data:t}).afterClosed().subscribe(a=>{this.getShippingAdress()})}};oh.ctorParameters=()=>[{type:bn.C},{type:St.uw}],oh.propDecorators={paginator:[{type:m.i9L,args:[Wa.NW,{static:!0}]}],sort:[{type:m.i9L,args:[Ma.YE,{static:!0}]}]},oh=(0,j.gn)([(0,m.wA2)({selector:"app-shipping-address",template:'<div class=" mainContainer p-3 m-3 rounded">\n\n <div class="mx-4">\n <div style=" margin-bottom: 70px;">\n <p class="mx-2 my-2" style="padding-top: 10px; font-size: 30px;">{{"Shipping-Address"| translate}} <i class="material-icons icon_add" (click)="openAddShippingModal()">add_circle_outline</i></p>\n <mat-divider style="width: 95%; margin-left: 5px;"></mat-divider>\n\n <table mat-table [dataSource]="dataSource" matSort style="width: 100%;">\n\n <ng-container matColumnDef="shipping_address">\n\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{"Shipping-Address"| translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.shipping_address}}</td>\n\n </ng-container>\n\n <ng-container matColumnDef="city">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{"City"| translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.city}} </td>\n </ng-container>\n\n\n <ng-container matColumnDef="province">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{"Province State"| translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.state_province}} </td>\n </ng-container>\n <ng-container matColumnDef="zip_code">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{"Zip code"| translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.zip_code}} </td>\n </ng-container>\n <ng-container matColumnDef="country">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{"Country"| translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.country}} </td>\n </ng-container>\n\n <ng-container matColumnDef="actions">\n <th mat-header-cell *matHeaderCellDef> {{\'common_actions\' | translate}}</th>\n <td mat-cell *matCellDef="let row">\n <button title="Edit this element" (click)="openEditShippingModal(row)" mat-icon-button><i\n class="material-icons icon-green" style="color: #303842">\n create\n </i>\n </button>\n\n <button title="Delete this element" (click)="openDeleteShippingModal(row)" mat-icon-button\n color="warn" style="color: #303842"><i class="material-icons">\n delete_forever\n </i></button>\n\n\n\n\n\n </td>\n\n\n\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>\n </table>\n\n <mat-paginator [pageSizeOptions]="[5, 10, 20]"></mat-paginator>\n </div>\n </div>\n</div>\n',styles:[""]})],oh);Qn().vfs=ju.I.vfs;class zY{}let Kg=class{constructor(t,e){this.chainService=t,this.translate=e,this.resume=new zY}generatePdf(t="open",e,a,r){if(null!=e&&0!=e){const i=this.getDocumentDefinition(e,a,r);switch(t){case"open":default:Qn().createPdf(i).open();break;case"print":Qn().createPdf(i).print();break;case"download":Qn().createPdf(i).download()}}}getDocumentDefinition(t,e,a){return{background:{image:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgEAlgCWAAD/7QAsUGhvdG9zaG9wIDMuMAA4QklNA+0AAAAAABAAlgAAAAEAAQCWAAAAAQAB/+FjpGh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8APD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4zLWMwMTEgNjYuMTQ1NjYxLCAyMDEyLzAyLzA2LTE0OjU2OjI3ICAgICAgICAiPgogICA8cmRmOlJERiB4bWxu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gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgIC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qABh7gZHQ4Z7xDi6kmKjEqmCmQAdDhmNI4yMAyD3AHQgZMEHzio5y7SRTmABIph1JMVGJVIGjiABJiozKphioxKhIpg4bnN3e8AOEYqJKhIph0JFOYPcBHQkUw6EinMACTFRmVSBo4kimHU//2Q==",width:600,heigth:1200},content:[{columns:[[this.getProfilePicObject(),{text:e,style:"title"}],{qr:`(${t})`,fit:"270",margin:[0,50,0,0],alignment:"left"}]},{text:a,style:"text"}],styles:{defaultStyle:{font:"Arial",color:"#000"},title:{margin:[0,150,50,0],color:"white",alignment:"justify",fontSize:20},text:{fontSize:20,alignment:"center",color:"white",margin:[0,10,0,0],decorationStyle:"wavy"},qr:{alignment:"center"}}}}ngOnInit(){this.onGetChainList()}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data},t=>{console.log(t)})}getProfilePicObject(){return this.resume.profilePic?{image:this.resume.profilePic,width:140,height:120,alignment:"left",margin:[0,0,0,0]}:null}fileChanged(t){const e=t.target.files[0];this.getBase64(e)}getBase64(t){console.log(t);const e=new FileReader;e.readAsDataURL(t),e.onload=()=>{this.resume.profilePic=e.result},e.onerror=a=>{}}};Kg.ctorParameters=()=>[{type:Oe.l},{type:Y.sK}],Kg=(0,j.gn)([(0,m.wA2)({selector:"app-marketing-file",template:'<div class="p-3 m-3">\n <div class="container-fluid">\n <form #resumeForm="ngForm">\n <div class="row">\n <div class="col-md-8">\n <div class="shadow-sm card">\n <div class="card-body">\n <h4 class="card-title d-flex align-items-center">\n\n {{\'Select-Chain\' | translate}} </h4>\n <div class="row">\n <mat-form-field appearance="outline" style="width: 100%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain_code>\n\n <mat-option value="0">--None--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.chain_code">{{chain.chain_name}}\n </mat-option>\n\n </mat-select>\n </mat-form-field>\n </div>\n <h4 class="card-title d-flex align-items-center">\n\n {{\'Title\'| translate}} </h4>\n <div class="row">\n\n <mat-form-field appearance="outline" class="form-element" style="width: 100%; ">\n <mat-label>{{\'Title\'| translate}}</mat-label>\n <input type="text" matInput placeholder="Add text" #title\n value="With the QR code there\'s no wasted times in the pickup line ...">\n\n </mat-form-field>\n\n </div>\n <h4 class="card-title d-flex align-items-center">\n\n {{\'Description\' | translate}} </h4>\n <div class="row">\n\n <mat-form-field appearance="outline" class="form-element" style="width: 100%; ">\n <mat-label>{{\'Description\'| translate}}</mat-label>\n <textarea type="text" matInput placeholder="Add text" #description\n value="All you have to do is to choose your items wether you are in our shop or through siyou tech plateforme and then to invoke it to the cash register or pay it online..."></textarea>\n\n </mat-form-field>\n\n </div>\n\n\n\n <h4 class="card-title d-flex align-items-center">\n {{"upload image"| translate}}</h4>\n <div class="form-group">\n\n <input type="file" class="form-control-file" (change)="fileChanged($event)" aria-describedby="fileHelpId">\n <p style=" font-size: 12px; color: red;"> 150px*150px</p>\n </div>\n <img *ngIf="resume.profilePic" [src]="resume.profilePic" class="img-thumbnail">\n </div>\n </div>\n </div>\n\n <div class="col-md-4">\n <div class="shadow-sm card action-buttons">\n <button class="btn btn-primary d-flex align-items-center justify-content-center"\n (click)="generatePdf(\'open\',chain_code.value, title.value,description.value)"\n [disabled]="!chain_code.value">\n <i class="material-icons">\n picture_as_pdf\n </i> <span>{{\'Open PDF\' | translate }}</span></button>\n <button class="btn btn-primary d-flex align-items-center justify-content-center"\n (click)="generatePdf(\'download\',chain_code.value, title.value,description.value)"\n [disabled]="!chain_code.value">\n <i class="material-icons">\n cloud_download\n </i><span>{{\'Download PDF\'| translate }}</span></button>\n <button class="btn btn-primary d-flex align-items-center justify-content-center"\n (click)="generatePdf(\'print\',chain_code.value,title.value, description.value)"\n [disabled]="!chain_code.value">\n <i class="material-icons">\n print\n </i><span>{{\'Print PDF\'| translate }}</span></button>\n\n <button type=\'reset\' class="btn btn-primary d-flex align-items-center justify-content-center">\n <i class="material-icons">\n clear\n </i><span>{{\'Reset\'| translate }}</span></button>\n </div>\n\n </div>\n </div>\n\n </form>\n </div>\n</div>\n',styles:[".row {\n padding: 10px;\n}\n\n.card {\n margin: 10px;\n}\n\n.material-icons {\n font-size: 30px;\n}\n\nbutton span {\n font-size: 22px;\n}\n\n.action-buttons button {\n margin: 5px;\n}"]})],Kg);let sh=class{constructor(t,e,a,r,i,o,s,l){this.fb=t,this.cd=e,this.advertisementService=a,this.chainService=r,this.formBuilder=i,this.dialog=o,this.snackBar=s,this.translate=l,this.formData=new FormData}ngOnInit(){this.onGetImages(),this.onGetChainList(),this.form=this.formBuilder.group({advertisement_image:[""],timer:[""]})}toFormData(t){const e=new FormData;for(const a of Object.keys(t)){const r=t[a];e.append(a,r)}return e}getFileChange(t){const e=this.resultInput.nativeElement;if(t.target.files.length>0){var a=new FileReader;const r=t.target.files[0];a.readAsDataURL(r),a.onload=i=>{this.imgURL=a.result},e.value=r.name,this.form.get("advertisement_image").setValue(r),this.formData.append("advertisement_image",this.form.get("advertisement_image").value)}}onGetImages(t){return this.advertisementService.GetPhotos(t).subscribe(e=>{this.img=e,this.imgData=this.img.data})}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data},t=>{console.log(t)})}onAddImage(t,e,a,r){this.form.get("timer").setValue(a),this.formData=this.toFormData(this.form.value),this.formData.append("ad_type",t),this.formData.append("sort",r),this.advertisementService.addOnlinePhotos(e,this.formData).subscribe(i=>{this.snackBar.open(("Chinese"===this.translate.currentLang||this.translate.currentLang,"Image Added Successfully"),"OK",{duration:1e3})},i=>{console.log(i)})}onDelete(t,e){return this.advertisementService.deleteImage(t).subscribe(a=>{this.onGetImages(e)},a=>{})}};sh.ctorParameters=()=>[{type:V.qu},{type:m.sBO},{type:Os}
1,{type:Oe.l},{type:V.qu},{type:St.uw},{type:We.ux},{type:Y.sK}],sh.propDecorators={resultInput:[{type:m.i9L,args:["resultInput"]}]},sh=(0,j.gn)([(0,m.wA2)({selector:"app-online-advertisement",template:'<div class="m-3 bg-white">\n \n <div class="row">\n \n <div class="col-md-5">\n \x3c!-- <img [src]="imgURL" *ngIf="imgURL" style="width: 30%; height:300px;">\n <img src="assets/images/pc.png" style="width: 60%; height:300px;"> --\x3e\n \n <img [src]="imgURL" *ngIf="imgURL" class="pc" id="pc">\n <img src="assets/images/mobile.png" class="top" id="top">\n </div>\n \n <div class="col-md-7">\n <form [formGroup]="form">\n <div class="row">\n <div class="col-md-4">\n <h4> {{"Ad Type"| translate}} </h4>\n </div>\n <div class="col-md-8">\n <mat-form-field appearance="outline" style="width: 100%;">\n <mat-label>{{\'Ad Type\'| translate}}</mat-label>\n <mat-select #ad_type>\n <mat-option value="image">{{"Picture"| translate}}</mat-option>\n <mat-option value="video">{{"video"| translate}}</mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n \n \n </div>\n <div class="row">\n \n <div class="col-sm">\n <h4> {{"commonFormComponent_uploadFile" | translate}} </h4>\n </div>\n <div class="col-sm">\n \n <a (click)="fileInputImg.click()" class=" btn btn-sm myButton" style="font-size: 18px;"> {{ "chose_img" | translate}}</a>\n <input accept=\'image/*,video/*\' class="none" #fileInputImg type="file" (change)="getFileChange($event)"\n style="display: none;" />\n <mat-form-field class="example-full-width" appearance="outline" style="display: none;">\n <mat-label>{{"commonFormComponent_uploadFile" | translate}}</mat-label>\n <input matInput type="text" #resultInput readonly>\n </mat-form-field>\n \n </div>\n <div class="col-sm">\n \n </div>\n \n </div>\n <br>\n <br>\n \n <div class="row">\n <div class="col-md-4">\n <h4> {{"Chose-a-chain"| translate}} </h4>\n </div>\n <div class="col-md-8">\n <mat-form-field appearance="outline" style="width: 100%;">\n <mat-label>{{\'Select-Chain\'| translate}}</mat-label>\n <mat-select #chain_id>\n \n <mat-option value=0>None</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n \n \n </mat-select>\n </mat-form-field>\n </div>\n \n \n </div>\n <br>\n <div class="row">\n <div class="col-md-4">\n <h4> {{\'Play time\' | translate}}</h4>\n </div>\n \n \n <div class="col-md-8">\n \n <mat-form-field appearance="outline" style="width: 100%;">\n <mat-label>{{\'Seconds\'| translate}}</mat-label>\n <input matInput type="number" formControlName="timer" #timer>\n <mat-hint style="color: red;">{{"Advice: picture resolution is 850*300"| translate}}</mat-hint>\n </mat-form-field>\n </div>\n \n \n </div>\n <br>\n <div class="row">\n <div class="col-md-4">\n <h4> {{\'common_sort\' | translate}}</h4>\n </div>\n \n \n <div class="col-md-8">\n \n <mat-form-field appearance="outline" style="width: 100%;">\n <mat-label>{{\'common_sort\'| translate}}</mat-label>\n <input matInput type="number" formControlName="sort" #sort>\n <mat-hint style="color: red;">{{"Advice: Sort Desc "| translate}}</mat-hint>\n </mat-form-field>\n </div>
1\n \n \n </div>\n <br>\n <div class="row">\n <div class="col-md-12" style="text-align: center;">\n <a (click)="onAddImage(ad_type.value,chain_id.value,timer.value,sort.value)" class="btn btn-sm myButton"\n style="background-color: red;margin-right:2%;"> {{\'Save\' | translate}}</a>\n \n <a class=" btn btn-sm myButton" style="background-color: gray;margin-right:2%;">\n {{\'common_cancel\' | translate}}</a>\n \n </div>\n \n \n </div>\n </form>\n </div>\n \n </div>\n <div class="row">\n <div class="col-md-4">\n <h4></h4>\n </div>\n </div>\n </div>',styles:[".mainContainer {\n background-color: white;\n}\n\n.main {\n padding: 35px;\n margin-left: 5%;\n margin-right: 5%;\n background-color: white;\n}\n\n.container {\n height: 300px;\n width: 300px;\n}\n\n.top {\n /* top: 100px; */\n /* z-index: 10; */\n width: 100%;\n}\n\n.pc {\n width: 40%;\n height: 15%;\n position: absolute;\n margin-top: 7%;\n margin-left: 26%;\n}\n\nh4 {\n padding: 5% 5% 5% 5%;\n}\n\n.myButton {\n background-color: #00d63d;\n display: inline-block;\n cursor: pointer;\n color: #ffffff;\n font-family: Arial;\n font-size: 23px;\n padding: 2px 22px;\n text-decoration: none;\n}\n\n.myButton:hover {\n background-color: #969696;\n}\n\n.myButton:active {\n position: relative;\n top: 1px;\n}"]})],sh);let Wg=class{constructor(t,e,a,r,i){this.advertisementService=t,this.chainService=e,this.dialogRef=a,this.snackBar=r,this.translate=i}ngOnInit(){this.onGetChainList(),this.chain_id=localStorage.getItem("chainInit"),this.onGetImages(this.chain_id)}onGetImages(t){return this.advertisementService.GetOnlinePhotos(t).subscribe(e=>{this.img=e,this.imgData=this.img.data,0==this.imgData.length&&this.snackBar.open("You Don't have pictures","",{duration:1e3})})}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}onDelete(t,e){return this.advertisementService.deleteOnlineImage(t).subscribe(a=>{this.snackBar.open(("Chinese"===this.translate.currentLang||this.translate.currentLang,"Image Deleted Successfully"),"OK",{duration:1e3}),this.onGetImages(e)},a=>{console.log(a)})}cancel(){this.dialogRef.close()}};Wg.ctorParameters=()=>[{type:Os},{type:Oe.l},{type:St.so},{type:We.ux},{type:Y.sK}],Wg=(0,j.gn)([(0,m.wA2)({selector:"app-online-advertisement-images",template:'<div class="rounded bgc">\n <div class="rounded ">\n\n\n<mat-form-field appearance="outline" style="width: 100%;">\n <mat-label>{{\'Select-Chain\'| translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>None</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n</mat-form-field>\n<a (click)="onGetImages(chain_id.value)" class="btn btn-sm myButton-online "\n style="background-color: red;margin-right:2%;"> {{"Show image" | translate}}</a>\n <a (click)="cancel()" class="btn btn-sm myButton-online "\n style="background-color: gray;"> {{\'common_cancel\' | translate}}</a>\n<br/>\n<br/>\n<br/>\n<div class="row">\n <div class="img col-md-3" *ngFor="let item of imgData">\n <a class="remove-image" (click)="onDelete(item.id,chain_id.value)" style="display: inline;">×</a>\n \x3c!-- \u5982\u679c\u662f\u89c6\u9891\uff08ad_type === \'video\'\uff09\uff0c\u663e\u793a\u89c6\u9891 --\x3e\n <video *ngIf="item.ad_type === \'video\'" controls width="100%">\n <source src="{{item.img_url}}" type="video/mp4">\n Your browser does not support the video tag.\n </video>\n \n \x3c!-- \u5426\u5219\uff08\u56fe\u7247\u6216\u5176\u4ed6\u60c5\u51b5\uff09\uff0c\u663e\u793a\u56fe\u7247 --\x3e\n <img *ngIf="item.ad_type !== \'video\'" src="{{item.img_url}}" width="100%">
1\n <span >{{\'common_sort\' | translate}}:{{item.priority}}<i *ngIf="item.ad_type !== \'video\'">{{item.width}}px * {{item.height}}px</i></span>\n </div>\n\n</div>\n</div></div>',styles:['.rounded {\n max-height: 600px !important;\n}\n\nbody {\n background: rgba(0, 0, 0, 0.9);\n max-width: 200px;\n padding-top: 5px;\n padding-bottom: 20px;\n}\n\n.uploa {\n position: relative;\n width: 100%;\n height: 200px;\n border: 2px dashed grey;\n border-radius: 5px;\n margin: 0% 1% 0% 0%;\n}\n\n.uploa .ok {\n text-align: center;\n}\n\n.myButton-online {\n background-color: #00d63d;\n display: inline-block;\n cursor: pointer;\n color: #ffffff;\n font-family: Arial;\n font-size: 23px;\n padding: 2px 22px;\n text-decoration: none;\n}\n\n.myButton-online :hover {\n background-color: #969696;\n}\n\n.myButton-online :active {\n position: relative;\n top: 1px;\n}\n\n.container button {\n margin-bottom: 20px;\n color: #fff;\n background: #16a085;\n border: none;\n width: 100%;\n height: 35px;\n margin-top: -20px;\n margin-left: -6px;\n margin-right: -4px;\n border-radius: 4px;\n border-bottom: 4px solid #117A60;\n transition: all 0.2s ease;\n outline: none;\n}\n\n.uploa button:hover {\n background: #149174;\n color: #0C5645;\n}\n\n.uploa button:active {\n border: 0;\n}\n\n.container button[disabled] {\n background: grey;\n border-bottom: 4px solid #505050;\n}\n\n.uploa mat-icon {\n color: grey;\n position: relative;\n font-size: 80px;\n text-align: center;\n margin: 30% 20% 20% 22%;\n}\n\n.uploadImage #imageBtn {\n margin-top: 15px;\n margin-left: 8px;\n}\n\n.uploadImage #imageBtn .uploadIconContainer {\n display: flex;\n justify-content: center;\n border-radius: 50%;\n padding: 8px;\n}\n\n.uploadImage #imageBtn .uploadIconContainer:hover {\n cursor: pointer;\n}\n\n.imgtable1 {\n max-width: 200px;\n max-height: 200px;\n padding-top: 5px;\n padding-bottom: 20px;\n}\n\ndiv.img {\n float: left;\n height: 200px;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n\ndiv.img span {\n background: rgba(0, 0, 0, 0.418);\n z-index: 1;\n position: absolute;\n text-align: center;\n font-family: Georgia;\n margin: 0 auto;\n left: 0;\n right: 0;\n top: 91%;\n color: white;\n width: 89%;\n}\n\nimg:hover {\n border: 1px solid #777;\n background-image: url("/src/assets/images/clear.png");\n}\n\ndiv.img img {\n width: 100%;\n height: 100%;\n}\n\ndiv.desc {\n padding: 15px;\n text-align: center;\n}\n\n.remove-image {\n display: none;\n position: absolute;\n top: -20px;\n right: 0px;\n border-radius: 10em;\n background: #16a085;\n border: 3px solid #fff;\n padding: 4px 8px 5px;\n text-decoration: none;\n font: 900 21px/21px sans-serif;\n color: #FFF;\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.3);\n text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);\n transition: background 0.5s;\n}\n\n.remove-image:hover {\n background: red;\n top: -20px;\n right: 0px;\n border-radius: 10em;\n padding: 6px 10px 7px;\n}\n\n.remove-image:active {\n background: red;\n top: -10px;\n right: -11px;\n}']})],Wg);var f0=F(31941);let Jg=class{constructor(t,e,a,r,i){this.productService=t,this.messageService=e,this.excelService=a,this.translate=r,this.supplierService=i,this.symbol_currency="",this.totalSuppliers=0,this.formDataSource=[{type:"input",translateKey:"search-by-Goods-shelf",placeholder:"search-by-Goods-shelf",key:"range_id",isShowAll:!0},{type:"input",translateKey:"Barcode",placeholder:"common_search",key:"barcode",isShowAll:!0},{type:"supplierSelect",key:"supplier_id",isShowAll:!0},{type:"chainSelect",key:"chain_id",isShowAll:!0},{type:"categorySelect",key:"category_id"}],this.componentName="productsSupplierS2c",this.columns=[{key:"img_url",translationKey:"prod_imgg",type:"image",sort:!1},{type:"text",key:"supplier",translationKey:"common_supplier",sort:!0},{type:"text",key:"category_name",translationKey:"Category"},{type:"text",key:"chain",translationKey:"Chain/WareHouse",sort:!0},{translationKey:"common_goodsShelfNo",type:"text",key:"range_id",sort:!0},{translationKey:"last_name",type:"text",key:"last_name",sort:!0},{translationKey:"common_productName",type:"text",key:"product_name",sort:!0},{type:"text",key:"product_barcode",translationKey:"Barcode",sort:!0},{type:"text",key:"product_quantity",translationKey:"common_productQuantity"},{type:"text",key:"warn_quantity",translationKey:"common_warnQuantity",sort:!0},{translationKey:"common_maxWarnQuantity",type:"text",key:"max_warn_quantity",sort:!0},{translationKey:"common_memberPrice",type:"price",key:"member_price",sort:!0},{type:"price",key:"unit_price",translationKey:"Unit-Price",sort:!0},{translationKey:"common_costPrice",type:"price",key:"cost_price",sort:!0},{translationKey:"common_taxRate",type:"percent",key:"tax_rate",sort:!0},{translationKey:"common_expiredDate",type:"date",key:"expired_date",sort:!0}],this.pageInfo={page:1,pageSize:20,total:0},this.searchParams={supplier_id:"",barcode:"",chain_id:"",range_id:"",category_id:""},this.dataSource=[]}ngOnInit(){this.symbol_currency=localStorage.getItem("currency_user"),this.getProdsList(),this.getProdsStatistic(),this.get
1Suppliers(),"0"===localStorage.getItem("cost_price")&&this.columns.splice(5,1)}getProdsList(){this.productService.getShopProductList({...this.searchParams,page:this.pageInfo.page,rows:this.pageInfo.pageSize}).subscribe(t=>{this.dataSource=t.data.map(e=>({...e,supplier_name:e.supplier?e.supplier.supplier_name:"",category_name:e.category?e.category.category_name:"",chain_name:e.chain?e.chain.chain_name:""})),this.pageInfo.total=t.total},t=>{console.log(t)})}getProdsStatistic(){this.productService.getStatisticProducts({...this.searchParams}).subscribe(t=>{t.data?this.totals=t.data[0]:this.messageService.error(this.translate.instant(t.msg))},t=>{console.log(t)})}getSuppliers(){return this.supplierService.getSuppliersListS2C().subscribe(t=>{this.totalSuppliers=t.data.length},t=>{console.log(t)})}handleDownload(t){let e=this.pageInfo.page,a=this.searchParams.chain_id,r=this.searchParams.category_id,i=this.searchParams.barcode,o=this.searchParams.supplier_id,s=this.searchParams.range_id;this.productService.downloadShopProductList(e,a,r,i,o,s).subscribe(l=>{const c=window.URL.createObjectURL(l.body);let d=document.createElement("a");d.href=c,d.download="product.xlsx",d.click(),URL.revokeObjectURL(c),d=null})}handleSubmit(t){this.searchParams={...this.searchParams,...t},this.pageInfo.page=1,this.getProdsList()}handleReset(){this.searchParams={supplier_id:"",barcode:"",chain_id:"",range_id:"",category_id:""},this.pageInfo={page:1,pageSize:20,total:0},this.getProdsList()}handleChangePaginator(t){this.pageInfo.page=t.page,this.getProdsList()}exportAsExcel(t,e){const a=[];a.push(e.map(r=>this.translate.instant(r.translationKey))),t.forEach(r=>{const i=[];e.forEach(o=>{i.push(r[o.key])}),a.push(i)}),this.excelService.exportAsExcelFile(a,"Product supplier List")}};Jg.ctorParameters=()=>[{type:Je.r},{type:ne.I},{type:_o.x},{type:Y.sK},{type:vn.e}],Jg=(0,j.gn)([(0,m.wA2)({selector:"app-products-supplier",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <div class="row">\n \x3c!-- style="max-width: 30%; margin-bottom: 20px;" --\x3e\n \n <div class="col-4 mb-4">\n <app-statistic [title]="\'Total-ProductItems\'|translate" [value]="pageInfo.total"></app-statistic>\n \x3c!-- <div class="card-box p-2 bg-c-blue rounded-lg">\n <div class="inner">\n <h5>{{"Total-ProductItems"|translate}}</h5>\n <h4 class="mb-0">{{pageInfo.total}}</h4>\n </div>\n </div> --\x3e\n </div>\n <div class="col-4 mb-4">\n <app-statistic [title]="\'Total Suppliers\'|translate" [value]="totalSuppliers"></app-statistic>\n \x3c!-- <div class="card-box p-2 bg-c-blue rounded-lg">\n <div class="inner">\n <h5>{{"Total Suppliers"|translate}}</h5>\n <h4 class="mb-0">{{totalSuppliers}}</h4>\n </div>\n </div> --\x3e\n </div>\n \x3c!-- <div class="col-3 mb-4">\n <div class="card-box p-2 bg-c-blue rounded-lg">\n <div class="inner">\n <h5>{{"total_quantity"|translate}}</h5>\n <h4 class="mb-0">{{totals.total_quantity}}</h4>\n </div>\n </div>\n </div> --\x3e\n <div class="col-4 mb-4">\n <app-statistic [title]="\'total_sales_cost\'|translate" [value]="totals.total_sales_cost | thousandSuff : 2 + symbol_currency"></app-statistic>\n \x3c!-- <div class="card-box p-2 bg-c-blue rounded-lg">\n <div class="inner">\n <h5>{{"total_sales_cost"|translate}}</h5>\n <h4 class="mb-0">{{totals.total_sales_cost | thousandSuff : 2}} {{symbol_currency}}</h4>\n </div>\n </div> --\x3e\n </div>\n\n </div>\n <div class="row">\n \x3c!-- style="max-width: 30%; margin-bottom: 20px;" --\x3e\n <div class="col-4 mb-4">\n <app-statistic [title]="\'total_sales\'|translate" [value]="totals.total_sales | thousandSuff : 2 + symbol_currency"></app-statistic>\n \x3c!-- <div class="card-box p-2 bg-c-blue rounded-lg">\n <div class="inner">\n <h5>{{"total_sales"|translate}}</h5>\n <h4 class="mb-0">{{totals.total_sales | thousandSuff : 2}} {{symbol_currency}}</h4>\n </div>\n </div> --\x3e\n </div>\n <div class="col-4 mb-4">\n <app-statistic [title]="\'total_sales_tax\'|translate" [value]="totals.total_sales_tax | thousandSuff : 2 + symbol_currency"></app-statistic>\n \x3c!-- <div class="card-box p-2 bg-c-blue rounded-lg">\n <div class="inner">\n <h5>{{"total_sales_tax"|translate}}</h5>\n <h4 class="mb-0">{{totals.total_sales_tax | thousandSuff : 2}} {{symbol_currency}}</h4>\n </div>\n </div> --\x3e\n </div>\n <div class="col-4 mb-4">\n <app-statistic [title]="\'total_sales_with_tax\'|translate" [value]="totals.total_sales_with_tax | thousandSuff : 2 + symbol_currency"></app-statistic>\n \x3c!-- <div class="card-box p-2 bg-c-blue rounded-lg">\n <div class="inner">\n <h5>{{"total_sales_with_tax"|translate}}</h5>\n <h4 class="mb-0">{{totals.total_sales_with_tax | thousandSuff : 2}} {{symbol_currency}}</h4>\n </div>\n </div> --\x3e\n </div>\n \x3c!-- <div class="col mb-4">\n <div class="card-box p-2 bg-c-blue rounded-lg">\n <div class="inner">\n <h5>{{"Total Suppliers"|translate}}</h5>\n <h4 class="mb-0"></h4>\n </div>\n </div>\n </div> --\x3e\n </div>\n <app-common-search-list-table\n [isShowAdd]="false"\n [formColumn]="formDataSource" [dataSource]="dataSource" [columns]="columns"\n [uniqueTableKey]="componentName" [pageInfo]="pageInfo" [isShowDownload]="true" (onDownload)="handleDownload($event)"\n (onSubmit)="handleSubmit($event)" (onReset)="handleReset()" (pageChange)="handleChangePaginator($event)">\n </app-common-search-list-table>\n</div>\n',providers:[f0.j],styles:[".bgc .table1 {\n width: 100%;\n table-layout: fixed;\n}\n.bgc .table1 th,\n.bgc .table1 td {\n overflow: hidden;\n width: 20%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.bgc .imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n.bgc .pricetable1 {\n color: red;\n}\n.bgc .card-box {\n position: relative;\n color: #fff;\n padding: 20px 20px 20px 20px;\n background-color: #ececec;\n}\n.bgc .card-box p {\n font-size: 15px;\n}\n.bgc .bg-green {\n background-color: #cacaca;\n height: 130px;\n color: black;\n}\n.bgc .mat-table {\n width: 100%;\n}\n.bgc .mat-table.resizing {\n -webkit-user-select: none;\n user-select: none;\n cursor: col-resize;\n}\n.bgc .mat-table .mat-cell span {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.bgc .mat-table .mat-header-cell {\n background-color: #F0F0F0;\n color: black;\n font-style: bold;\n position: relative;\n height: 30px;\n font-size: 14px;\n border-right: 2px solid rgba(201, 201, 201, 0.048);\n}\n.bgc .mat-table .mat-header-cell:not(:last-child) .resize-holder {\n cursor: col-resize;
1\n width: 20px;\n height: 100%;\n position: absolute;\n right: -10px;\n top: 0;\n z-index: 1;\n}\n.bgc .mat-table .mat-cell {\n width: 8rem;\n}\n.bgc .mat-table .mat-cell:not(:nth-child(1)),\n.bgc .mat-table .mat-header-cell:not(:nth-child(1)) {\n padding: 0 10px;\n}\n.card-box {\n position: relative;\n color: #fff;\n padding: 20px 20px 20px 20px;\n background-color: #ececec;\n height: 100%;\n}\n.card-box:hover {\n text-decoration: none;\n color: #f1f1f1;\n}\n.card-box:hover .icon i {\n font-size: 90px;\n transition: 1s;\n -webkit-transition: 1s;\n}\n.card-box p {\n font-size: 15px;\n}\n.card-box .mat-icon {\n color: white;\n}\n.card-box .card-box-footer {\n position: absolute;\n left: 0px;\n bottom: 0px;\n text-align: center;\n padding: 3px 0;\n color: rgba(255, 255, 255, 0.8);\n background: rgba(0, 0, 0, 0.1);\n width: 100%;\n text-decoration: none;\n}\n.card-box:hover .card-box-footer {\n background: rgba(0, 0, 0, 0.3);\n}\n.bg-c-blue {\n background: linear-gradient(45deg, #a00000, #a00000);\n}\n.bg-c-blue-outline {\n background-color: white !important;\n color: #a00000 !important;\n border: 2px solid #a00000 !important;\n}\n.bt-date-submit {\n color: white;\n padding: 10px;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n.bt-act-revenu {\n display: flex;\n margin-bottom: 3%;\n margin-top: 2%;\n float: right;\n}"]})],Jg);var JY=F(55141),JO=F(65239);let lh=class{constructor(t,e,a,r,i,o,s){this.warehouseService=t,this.supplierService=e,this.router=a,this.formBuilder=r,this.categoriesService=i,this.productService=o,this.chainService=s,this.displayedColumns=["range_id","product_name","product_barcode","product_quantity","tax_rate","category","supplier"],this.dataSource=new $e.by,this.fileToUpload=null,this._products=[],this.wopts={bookType:"xlsx",type:"array"},this.name="This is XLSX TO JSON CONVERTER",this.willDownload=!1,this.formData=new FormData}ngOnInit(){this.onGetStatusList(),this.onGetSuppliersList(),this.onGetCategoryList(),this.onGetChainList(),this.dataSource.paginator=this.paginator}ngAfterViewInit(){this.dataSource.sort=this.sort}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data},t=>{console.log(t)})}onGetCategoryList(){this.categoriesService.getCategories().subscribe(t=>{this.categoryList=t,this.categoryData=this.categoryList.data})}onGetSuppliersList(){return this.supplierService.getSuppliersListS2C().subscribe(t=>{this.suppliersList=t,this.suppliersData=this.suppliersList.data},t=>{console.log(t)})}onGetStatusList(){return this.warehouseService.GetStatusList().subscribe(t=>{this.status=t,this.statusList=this.status.data},t=>{console.log(t)})}onFileSelect(t){this.selectedFile=t.target.files[0]}toFormData(t){const e=new FormData;for(const a of Object.keys(t)){const r=t[a];e.append(a,r)}return e}onFileChange(t){let e=null;const a=new FileReader,r=t.target.files[0];a.onload=i=>{const o=a.result;e=JO.read(o,{type:"binary"}),this.jsonData=e.SheetNames.reduce((s,l)=>{const c=e.Sheets[l];return s[l]=JO.utils.sheet_to_json(c),s},{}),this.tableData=this.jsonData.Product,this.lengthTab=this.tableData.length},a.readAsBinaryString(r)}importProduct(){this.dataSource.data=this.tableData,this.dataSource.paginator=this.paginator,this.tableData.forEach(t=>{var e={product_unit_price:t.unit_price,product_name:t.product_name,item_barcode:t.product_barcode,tax_rate:t.tax_rate,product_quantity:t.product_quantity,store_product_cat_name:"",product_supplier_id:"",product_cost_price:t.cost_price,range_id:t.range_id};this._products.push(e)})}changeSupplier(t,e){this._products.forEach(a=>{a.item_barcode==e&&(a.product_supplier_id=t)})}chooseAllSupp(t){this._products.forEach(e=>{e.product_supplier_id=t})}changeCat(t,e){this._products.forEach(a=>{a.item_barcode==e&&(a.store_product_cat_name=t)})}chooseAllCat(t){this._products.forEach(e=>{e.store_product_cat_name=t})}addProductBatch(t){var e={chain_id:t,store_id:localStorage.getItem("store_id"),products:JSON.stringify(this._products)};return this.productService.addBatchproducts(e).subscribe(a=>{this.rslt=a,"product has been added !!"==this.rslt.data&&this.router.navigate(["/shop/products-list-s2c"])},a=>{console.log(a)})}};lh.ctorParameters=()=>[{type:JY.E},{type:vn.e},{type:It.F0},{type:V.qu},{type:Ee.G},{type:Je.r},{type:Oe.l}],lh.propDecorators={paginator:[{type:m.i9L,args:[Wa.NW,{static:!0}]}],sort:[{type:m.i9L,args:[Ma.YE,{static:!0}]}]},lh=(0,j.gn)([(0,m.wA2)({selector:"app-import-s2c-products",template:'<div class="m-3 p-3">\n <h4>Import Products</h4>\n <a href="assets/downloads/product_excel.xlsx" download style="font-size: 12px;">\n {{"download-Excel-template"| translate}}\n </a>\n <form novalidate>\n\n <br />\n\n \x3c!-- <div class="form-group" style="width: 100%">\n <label for="file">{{"products-file"| translate}}</label> <br />\n <input #fileInput type="file" name="products" (change)="onFileChange($event)" />\n <section (click)="fileInput.click()" style="margin-bottom: 1.5rem;"></section>\n <input matInput type="text" #resultInput readonly style="display: none;">\n </div> --\x3e\n <div style="width: 100%;">\n <input matInput type="file" (change)="onFileChange($event)" />\n <button type="button" mat-button\n style=" background-color: #cacaca ; color : black ;margin-right: 5px; width: 200px"\n (click)="importProduct()">\n \x3c!-- {{ "Save" | translate }} --\x3e Import\n </button>\n </div>\n \x3c!--<button type="button" mat-buttonstyle="margin-right: 5px; width: 200px"\n (click)="clickCancel()">\n {{ "common_cancel" | translate }}\n </button> --\x3e\n\n\n\n </form>\n <br />\n <hr />\n <br />\n\n <form>\n <mat-form-field appearance="outline" style="width : 80% ; margin-right:2% ;">\n <mat-label>{{\'Select-Chain\'| translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>None</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n\n <button mat-button style="width: 15%;\n padding: 14px 14px 9px 14px;\n border: 1px solid #d41507;\n background-color: white;\n border-radius: 5px;\n color: #d41507;\n font-size: 20px;\n float: right;" (click)="addProductBatch(chain_id.value)">\n {{ "Save" | translate }}\n </button>\n </form>\n <div>\n <table mat-table [dataSource]="dataSource" matSort>\n\n \x3c!-- ID Column --\x3e\n <ng-container matColumnDef="range_id">\n <th mat-header-cell *matHeaderCellDef> {{\'Goods shelf No\'| translate}}</th>\n <td mat-cell *matCellDef="let pro"> {{pro.range_id }} </td>\n </ng-container>\n <ng-container matColumnDef="product_name">\n <th mat-header-cell *matHeaderCellDef>{{\'Product-Name\'| translate}}</th>\n <td mat-cell *matCellDef="let pro"> {{pro.product_name}}</td>\n </ng-container>\n <ng-container matColumnDef="product_barcode">\n <th mat-header-cell *matHeaderCellDef> {{\'Barcode\'| translate}} </th>\n <td mat-cell *matCellDef="let pro"> {{pro.product_barcode}} </td>\n </ng-container>\n <ng-container matColumnDef="product_quantity">\n <th mat-header-cell *matHeaderCellDef> {{"Product-Quantity" | translate}} </th>\n <td mat-cell *matCellDef="let pro">\n {{pro.product_quantity}}\n </td>\n </ng-container>\n <ng-container matColumnDef="tax_rate">\n <th mat-header-cell *matHeaderCellDef> {{\'Tax Rate\'| translate}} </th>\n <td mat-cell *matCellDef="let pro">\n {{pro.tax_rate}}\n </td>\n </ng-container>\n \x3c!-- <ng-container matColumnDef="category">\n <th mat-header-cell *matHeaderCellDef > {{\'Category\'| translate}} </th>\n <td mat-cell *matCellDef="let pro">\n <p *ngIf="pro.category">{{pro.category.category_name}}</p>\n <p *ngIf="!pro.category">--</p>\n\n </td>\n </ng-container> --\x3e\n <ng-container matColumnDef="category">\n <th mat-header-cell *matHeaderCellDef>\n <mat-form-field appearance="standard" class="form-element">\n\n <mat-label>{{"categ_namee"| translate}}</mat-label>\n <mat-select [(value)]="selected" #categoryAll\
1n (selectionChange)="chooseAllCat(categoryAll.value)">\n <mat-option *ngFor="let category of categoryData" [value]="category.id">\n {{ category.category_name }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n </th>\n <td mat-cell *matCellDef="let pro">\n <mat-form-field appearance="standard" class="form-element">\n <mat-select [ngModel]="selected" [value]="category_id.value" #category_id\n (selectionChange)="changeCat(category_id.value,pro.product_barcode)">\n <mat-option *ngFor="let category of categoryData" [value]="category.id">\n {{ category.category_name }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </td>\n </ng-container>\n <ng-container matColumnDef="supplier">\n <th mat-header-cell *matHeaderCellDef>\n <mat-form-field appearance="standard" class="form-element">\n\n <mat-label>{{"Supplier"| translate}}</mat-label>\n <mat-select [(value)]="selectedSupp" #suppAll (selectionChange)="chooseAllSupp(suppAll.value)">\n <mat-option *ngFor="let supp of suppliersData" [value]="supp.id">\n {{supp.supplier_name}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n </th>\n <td mat-cell *matCellDef="let pro">\n <mat-form-field appearance="standard" class="form-element">\n <mat-select [ngModel]="selectedSupp" [value]="supplier_id.value" #supplier_id\n (selectionChange)="changeSupplier(supplier_id.value,pro.product_barcode)">\n <mat-option *ngFor="let supp of suppliersData" [value]="supp.id">\n {{supp.supplier_name}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </td>\n </ng-container>\n \x3c!-- <ng-container matColumnDef="supplier">\n <th mat-header-cell *matHeaderCellDef>\n <mat-form-field appearance="standard" class="form-element">\n\n <mat-label>{{"Supplier"| translate}}</mat-label>\n <mat-select [(value)]="selectedSupp" [value]="supplierAll.value" #supplierAll >\n <mat-option *ngFor="let supp of suppliersData" [value]="supp.id">\n {{ supp.supplier_name }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n </th>\n <td mat-cell *matCellDef="let order">\n <mat-form-field appearance="standard" class="form-element">\n <mat-select [ngModel]="selectedSupp" [value]="supplier_id.value" #supplier_id>\n <mat-option *ngFor="let supp of suppliersData" [value]="supp.id">\n {{ supp.supplier_name }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </td>\n </ng-container> --\x3e\n\n \x3c!-- Row shown when there is no matching data. --\x3e\n \x3c!-- <tr class="mat-row" *matNoDataRow>\n <td class="mat-cell" colspan="4">No data matching the filter "{{input.value}}"</td>\n </tr> --\x3e\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;">\n </tr>\n </table>\n <mat-paginator [pageSize]="10" [length]="lengthTab" [pageSizeOptions]="[5, 10, 25, 100]"></mat-paginator>\n\n </div>\n\n\n</div>\n',styles:["table {\n width: 100%;\n}\ntable td, table th {\n width: 10%;\n}"]})],lh);let Zg=class{constructor(t,e,a,r,i){this.data=t,this.dialog=e,this.chainService=a,this.categoryService=r,this.translate=i}ngOnInit(){this.onGetCategoriesList(),this.onGetChainList()}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data},t=>{console.log(t)})}onGetCategoriesList(){return this.categoryService.getCategories().subscribe(t=>{this.categories=t,this.catList=this.categories.data},t=>{console.log(t)})}Filter(t,e,a){let r={chain:a,category:t,barcode:e};this.dialog.close(r)}cancel(){this.dialog.close()}};Zg.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}
1,{type:St.so},{type:Oe.l},{type:Ee.G},{type:Y.sK}],Zg=(0,j.gn)([(0,m.wA2)({selector:"app-filter-product-category",template:'<span style=" margin-left: 95%;\ncursor: pointer;\nmargin-bottom: 20px;" (click)="cancel()">\n <img src="../../../../assets/images/close.svg">\n</span>\n<form style="display: flex;\nflex-wrap: wrap;">\n <mat-form-field appearance="outline" style="width:25%; margin-right:2% ;margin-left:2%;">\n\n <mat-label>{{\'Choose-Category\' | translate}} </mat-label>\n <mat-select #category_id [value]="catList[0].id" (selectionChange)="barcode.value=\'\'">\n\n\n <mat-option *ngFor="let subcat of catList" [value]="subcat.id">\n <p *ngIf="translate.currentLang === \'English\'">{{subcat.category_name }}</p>\n <p *ngIf="translate.currentLang === \'Chinese\'">{{subcat.category_cn }}</p>\n <p *ngIf="translate.currentLang === \'Italian\'">{{subcat.category_it }}</p>\n <p *ngIf="translate.currentLang === \'Fran\xe7ais\'">{{subcat.category_fr }}</p>\n </mat-option>\n\n </mat-select>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width:25%; margin-right:2% ;">\n <input matInput [placeholder]="\'Search-byBarcode\'| translate" #barcode [value]=""\n (change)=" category_id.value=\'\'">\n </mat-form-field>\n <mat-form-field appearance="outline" style="width:25%; margin-right:2% ">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}</mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n\n\n\n <div class="bt-date-submit" (click)="Filter(category_id.value,barcode.value ,chain_id.value)"><i class="fas fa-search"></i></div>\n</form>\n',styles:[".bt-date-submit {\n color: white;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n margin-top: 2%;\n margin-left: 5%;\n}"]})],Zg);let Xg=class{constructor(t,e,a,r,i,o,s){this.productService=t,this.categoryService=e,this.pagerService=a,this.translate=r,this.excelService=i,this.chainService=o,this.dialog=s,this.page=1,this.pager={},this.pager2={},this.filtred=!1,this.total=0,this.displayedColumns=["category","product_name","product_barcode","supplier","cost_price","unit_price","prod-qty","warn-qty","expired_date","chain"],this.dataSource=new $e.by,this.prodlist=[],this.prodExport=[]}ngOnInit(){this.onGetCategoriesList(),this.onGetChainList()}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data},t=>{console.log(t)})}onGetCategoriesList(){return this.categoryService.getCategories().subscribe(t=>{this.categories=t,this.catList=this.categories.data,this.category_id=this.catList[0].id,this.setPageFilter(1,this.category_id)},t=>{console.log(t)})}setPageFilter(t,e,a,r){""!=e&&e||""!=a&&a?""!=e&&e?(this.filtred=!0,this.page=t,this.pager2=this.pagerService.getPager(this.ProdLength,t),this.onGetProductsCategory(t,e,r)):""!=a&&a&&(this.filtred=!0,this.page=t,this.pager2=this.pagerService.getPager(this.ProdLength,t),this.onGetProductsBarcode(t,a,r)):(this.prodlist=[],this.dataSource=[],this.total=0)}applyFilter(t){const e=t.target.value;this.dataSource.filter=e.trim().toLowerCase()}onGetProductsCategory(t,e,a){return this.filtred=!0,this.productService.getProdsCategory(this.page,e,a).subscribe(r=>{this.prods=r,this.ProdLength=this.prods.total,this.prodlist=this.prods.data,this.pager2=this.pagerService.getPager(this.ProdLength,t),this.total=this.prods.total,this.dataSource.data=this.prodlist},r=>{console.log(r)})}onGetProductsBarcode(t,e,a){return this.filtred=!0,this.productService.getProdsBarcode(this.page,e,a).subscribe(r=>{this.prods=r,this.ProdLength=1,this.prodlist=this.prods.data,this.pager2=this.pagerService.getPager(this.ProdLength,t),this.total=this.prodlist.length,this.dataSource.data=this.prodlist},r=>{console.log(r)})}onexportAsExcelFile(){switch(this.prodExport=[],this.translate.currentLang){case"Italian":for(let r in this.prodlist){var t={Catena:"",numero_di_scaffale:"",Nome:"",codice_a_barre:"",Category:"",Unit_Price:"",Cost_Price:""};t.Catena=this.prodlist[r].chain.chain_name,t.numero_di_scaffale=this.prodlist[r].range_id,t.Nome=this.prodlist[r].product_name,t.codice_a_barre=String(this.prodlist[r].product_barcode),t.Category=this.prodlist[r].category.category_name,t.Unit_Price=this.prodlist[r].unit_price,t.Cost_Price=this.prodlist[r].cost_price,this.prodExport.push(t)}this.excelService.exportAsExcelFile(this.prodExport,"Prodotti");break;case"Chinese":for(let r in this.prodlist){var e={\u8fde\u9501\u540d\u79f0:"",\u8d27\u67b6\u53f7:"",\u4ea7\u54c1\u540d\u79f0:"",\u4ea7\u54c1\u6761\u7801:"",\u7c7b\u522b:"",\u5355\u4ef7:"",\u6210\u672c\u4ef7\u683c:""};e.\u8fde\u9501\u540d\u79f0=this.prodlist[r].chain.chain_name,e.\u8d27\u67b6\u53f7=this.prodlist[r].range_id,e.\u4ea7\u54c1\u540d\u79f0=this.prodlist[r].product_name,e.\u4ea7\u54c1\u6761\u7801=String(this.prodlist[r].product_barcode),e.\u7c7b\u522b=this.prodlist[r].category.category_name,e.\u5355\u4ef7=this.prodlist[r].unit_price,e.\u6210\u672c\u4ef7\u683c=this.prodlist[r].cost_price,this.prodExport.push(e)}this.excelService.exportAsExcelFile(this.prodExport,"\u4ea7\u54c1");break;default:for(let r in this.prodlist){var a={Chain:"",shelf_No:"",Product_Name:"",Barcode:"",Category:"",Unit_Price:"",Cost_Price:""};a.Chain=this.prodlist[r].chain.chain_name,a.shelf_No=this.prodlist[r].range_id,a.Product_Name=this.prodlist[r].product_name,a.Barcode=String(this.prodlist[r].product_barcode),a.Category=this.prodlist[r].category.category_name,a.Unit_Price=this.prodlist[r].unit_price,a.Cost_Price=this.prodlist[r].cost_price,this.prodExport.push(a)}this.excelService.exportAsExcelFile(this.prodExport,"Products List")}}Filter(){this.dialog.open(Zg,{autoFocus:!1,width:"50vw"}).afterClosed().subscribe(e=>{e&&(this.filterData=e,this.chain_id=this.filterData.chain,this.category_id=this.filterData.category,this.barcode=this.filterData.barcode,this.setPageFilter(1,this.category_id,this.barcode,this.chain_id))})}};Xg.ctorParameters=()=>[{type:Je.r},{type:Ee.G},{type:Ms.e},{type:Y.sK},{type:_o.x},{type:Oe.l},{type:St.uw}],Xg=(0,j.gn)([(0,m.wA2)({selector:"app-product-category",template:'<div class=" rounded p-3 m-3">\n <div class="row">\n <div class="col" style="max-width: 30%;margin-bottom: 2%;">\n <div class="card-box bg-c-blue rounded-lg">\n <div class="inner">\n <h5>{{"Total-category"|translate}}</h5>\n <h3>{{catList.length}}</h3>\n </div>\n </div>\n </div>\n\n <div class="col" style="max-width: 30%;margin-bottom: 2%;">\n <div class="card-box bg-c-blue rounded-lg">\n <div class="inner">\n <h5>{{"Total-products"|translate}}</h5>\n <h3>{{total}}</h3>\n\n </div>\n </div>\n </div>\n </div>\n <mat-form-field appearance="outline" style="width:30%">\n <mat-label>{{"Search" | translate}}</mat-label>\n <input matInput (keyup)="applyFilter($event)" #input>\n </mat-form-field>\n <div class="bt-act-revenu">\n <div class="bt-date-submit" style="margin-right: 1%;" (click)="Filter()" > <i\n class="material-icons" style="color: #fff;">filter_alt</i></div>\n <div class="bt-date-submit" style="margin-left: 5%;" (click)="onexportAsExcelFile();"><i\n class="material-icons" style="color: #fff;">\n download</i></div>\n\n </div>\n <div >\n\n <div class="col-sm-12">\n <div class="table-in-card">\n <div class="table-responsive">\n\n <table mat-table [dataSource]="dataSource" class="table1">\n <ng-container matColumnDef="category">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Category\'| translate}} </th>\n <td mat-cell *matCellDef="let element">\n <p *ngIf="element.category">{{element.category.category_name}}</p>\n <p *ngIf="!element.category">--</p>\n </ng-container>\n\n\n\n <ng-container matColumnDef="range_id">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Goods shelf No\'| translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.range_id }} </td>\n </ng-container>\n\n <ng-container matColumnDef="product_image">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{\'Image\'| translate}}</th>\n <td mat-cell *matCellDef="let element">\n <img [src]="element.img_url" alt="" class="imgtable1">\n </td>\n </ng-container>\n\n\n\n <ng-container matColumnDef="product_name">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{\'Product-Name\'| translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.product_name}}</td>\n </ng-container>\n\n\n\n\n <ng-container matColumnDef="product_barcode">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Barcode\'| translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.product_barcode}} </td>\n </ng-container>\n\n\n <ng-container matColumnDef="supplier">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Supplier\'| translate}} </th>\n <td mat-cell *matCellDef="let element">\n <p *ngIf="element.supplier">{{element.supplier.supplier_name}}</p>\n <p *ngIf="!element.supplier">--</p>\n </td>\n\n\n </ng-container>\n <ng-container matColumnDef="prod-qty">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"Product-Quantity" | translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.product_quantity }} </td>\n </ng-container>\n <ng-container matColumnDef="warn-qty">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"warn_quant" | translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.warn_quantity }} </td>\n </ng-container>\n <ng-container matColumnDef="chain">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Chain-Name\' | translate}}</th>\n <td mat-cell *matCellDef="let element">
1 {{element.chain.chain_name }} </td>\n </ng-container>\n <ng-container matColumnDef="expired_date">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"Expired date" | translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.expired_date}} </td>\n </ng-container>\n\n\n\n <ng-container matColumnDef="unit_price">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Unit-Price\'| translate}} </th>\n <td mat-cell *matCellDef="let element" class="pricetable1">\n\n\n {{element.unit_price | currency}}\n\n\n </td>\n </ng-container>\n <ng-container matColumnDef="cost_price">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Cost-Price\'| translate}} </th>\n <td mat-cell *matCellDef="let element" class="pricetable1">\n {{element.cost_price | currency}}\n </td>\n </ng-container>\n\n\n\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;">\n </tr>\n\n\n </table>\n </div>\n <div>\n\n <nav aria-label="Page navigation example">\n <ul *ngIf="pager2.pages && pager2.pages.length"\n class="pagination justify-content-center pagination-sm">\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === 1}">\n <a class="page-link"\n (click)="setPageFilter(1,category_id,barcode,chain_id)">{{\'first\'|\n translate}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === 1}">\n <a class="page-link"\n (click)="setPageFilter(pager2.currentPage - 1,category_id,barcode,chain_id)">{{\'previous\'|\n translate}}</a>\n </li>\n <li class="page-item active" *ngFor="let page of pager2.pages"\n [ngClass]="{active:pager2.currentPage === page}">\n <a class="page-link"\n (click)="setPageFilter(page,category_id,barcode,chain_id)">{{page}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === pager2.totalPages}">\n <a class="page-link"\n (click)="setPageFilter(pager2.currentPage + 1,category_id,barcode,chain_id)">{{\'Next\'|\n translate}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === pager2.totalPages}">\n <a class="page-link"\n (click)="setPageFilter(pager2.totalPages,category_id,barcode,chain_id)">{{\'last\'|\n translate}}</a>\n </li>\n </ul>\n </nav>\n </div>\n </div>\n </div>\n\n </div>\n\n\n\n\n\n</div>\n',styles:[".table1 {\n width: 100%;\n table-layout: fixed;\n}\n.table1 th,\n.table1 td {\n overflow: hidden;\n width: 20%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n.pricetable1 {\n color: red;\n}\n.card-box {\n position: relative;\n color: black;\n padding: 20px 20px 20px 20px;\n background-color: #ececec;\n}\n.card-box p {\n font-size: 15px;\n}\n.bg-green {\n background-color: #cacaca;\n height: 130px;\n color: black;\n}\n.mat-table {\n width: 100%;\n}\n.mat-table.resizing {\n -webkit-user-select: none;\n user-select: none;\n cursor: col-resize;\n}\n.mat-table .mat-cell span {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.mat-table .mat-header-cell {\n background-color: #e6e6e6;\n color: #707070;\n font-style: bold;\n position: relative;\n height: 30px;\n font-size: 14px;\n border-right: 2px solid rgba(201, 201, 201, 0.048);\n}\n.mat-table .mat-header-cell:not(:last-child) .resize-holder {\n cursor: col-resize;
1\n width: 20px;\n height: 100%;\n position: absolute;\n right: -10px;\n top: 0;\n z-index: 1;\n}\n.mat-table .mat-cell {\n width: 8rem;\n}\n.mat-table .mat-cell:not(:nth-child(1)),\n.mat-table .mat-header-cell:not(:nth-child(1)) {\n padding: 0 10px;\n}\n.card-box {\n position: relative;\n color: white;\n padding: 20px 20px 20px 20px;\n background-color: #ececec;\n height: 100%;\n}\n.card-box:hover {\n text-decoration: none;\n color: #f1f1f1;\n}\n.card-box:hover .icon i {\n font-size: 90px;\n transition: 1s;\n -webkit-transition: 1s;\n}\n.card-box p {\n font-size: 15px;\n}\n.card-box .mat-icon {\n color: white;\n}\n.card-box .card-box-footer {\n position: absolute;\n left: 0px;\n bottom: 0px;\n text-align: center;\n padding: 3px 0;\n color: rgba(255, 255, 255, 0.8);\n background: rgba(0, 0, 0, 0.1);\n width: 100%;\n text-decoration: none;\n}\n.card-box:hover .card-box-footer {\n background: rgba(0, 0, 0, 0.3);\n}\n.bg-c-blue {\n background: linear-gradient(45deg, #a00000, #cc0202);\n}\n.bt-date-submit {\n color: white;\n padding: 10px;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n.bt-act-revenu {\n display: flex;\n margin-bottom: 3%;\n margin-top: 2%;\n float: right;\n}"]})],Xg);let Yg=class{constructor(){}ngOnInit(){}};Yg.ctorParameters=()=>[],Yg=(0,j.gn)([(0,m.wA2)({selector:"app-contact",template:'\n <div class="form" style="width:100%">\n <div class="contact-info">\n <h3 class="title"> {{"Let\'s get in touch"|translate}}</h3>\n <p class="text"> {{"Contact us with the following details. and fillup the form with the details"|translate}} .</p>\n <div id="map-container-google-1" class="z-depth-1-half map-container">\n <iframe\n src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2810.544311472088!2d9.36022361494854!3d45.21655595795555!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x47872aa09d8c8785%3A0xead100633c9bd388!2sSiyou%20Technology%20Srl!5e0!3m2!1sfr!2stn!4v1610365019035!5m2!1sfr!2stn"\n width="600" height="450" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false"\n tabindex="0">\n </iframe>\n </div>\n\n <div class="social-media" style="width: 100%;">\n <p style="width: 40%;"> {{"Connect with us"|translate}}: </p>\n <div class="social-icons" style="width: 60%;"> <a href="#"> <i class="fa fa-facebook"></i> </a> <a href="#"> <i class="fa fa-twitter"></i> </a> <a href="#"> <i class="fa fa-instagram"></i> </a> <a href="#"> <i class="fa fa-linkedin"></i> </a> </div>\n </div>\n </div>\n <div class="contact-info-form"> <span class="circle one"></span> <span class="circle two"></span>\n <form action="" onclick="return false;" autocomplete="off">\n <h3 class="title"> {{"Contact us"|translate}}</h3>\n <div class="social-input-containers"> <input type="text" name="name" class="input" placeholder=" {{\'Name\'|translate}} " /> </div>\n <div class="social-input-containers"> <input type="email" name="email" class="input" placeholder=" {{\'Email\'|translate}} " /> </div>\n <div class="social-input-containers"> <input type="tel" name="phone" class="input" placeholder=" {{\'Phone\'|translate}} " /> </div>\n <div class="social-input-containers textarea"> <textarea name="message" class="input" placeholder=" {{\'Message\'|translate}} "></textarea> </div> <input type="submit" value=" {{\'Send\'|translate}}" class="btn" />\n </form>\n </div>\n</div>\n\n',styles:['@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\nbody,\ninput,\ntextarea {\n font-family: "Poppins", sans-serif;\n}\n::placeholder {\n color: #fff;\n opacity: 1;\n}\n.container {\n position: relative;\n width: 100%;\n min-height: 100vh;\n padding: 2rem;\n background-color: #fafafa;\n overflow: hidden;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.form {\n max-width: 90%;\n background-color: #fff;\n border-radius: 4px;\n box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);\n z-index: 1000;\n overflow: hidden;\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n margin: 5%;\n}\n.contact-info-form {\n background-color: rgba(184, 33, 38, 0.986);\n position: relative;\n}\n.circle {\n border-radius: 50%;\n background: linear-gradient(135deg, transparent 20%, #a7323254);\n position: absolute;\n}\n.circle.one {\n width: 130px;\n height: 130px;\n top: 130px;\n right: -40px;\n}\n.circle.two {\n width: 80px;\n height: 80px;\n top: 10px;\n right: 30px;\n}\n.contact-info-form:before {\n content: "";\n position: absolute;\n width: 26px;
1\n height: 26px;\n background-color: rgba(184, 33, 38, 0.986);\n transform: rotate(45deg);\n bottom: 66px;\n left: -13px;\n}\nform {\n padding: 2.3rem 2.2rem;\n z-index: 10;\n overflow: hidden;\n position: relative;\n}\n.title {\n color: #fff;\n font-weight: 500;\n font-size: 1.5rem;\n line-height: 1;\n margin-bottom: 0.7rem;\n}\n.social-input-containers {\n position: relative;\n margin: 1rem 0;\n}\n.input {\n width: 100%;\n outline: none;\n border: 2px solid #fafafa;\n background: none;\n padding: 0.6rem 1.2rem;\n color: #fff;\n font-weight: 500;\n font-size: 0.95rem;\n letter-spacing: 0.5px;\n border-radius: 4px;\n transition: 0.3s;\n}\ntextarea.input {\n padding: 0.8rem 1.2rem;\n min-height: 150px;\n border-radius: 4px;\n resize: none;\n overflow-y: auto;\n}\n.social-input-containers label {\n position: absolute;\n top: 50%;\n left: 15px;\n transform: translateY(-50%);\n padding: 0 0.4rem;\n color: #fafafa;\n font-size: 0.9rem;\n font-weight: 400;\n pointer-events: none;\n z-index: 1000;\n transition: 0.5s;\n}\n.social-input-containers.textarea label {\n top: 1rem;\n transform: translateY(0);\n}\n.btn {\n padding: 0.6rem 1.3rem;\n background-color: #fff;\n border: 2px solid #fafafa;\n font-size: 0.95rem;\n color: #bfbfbf;\n line-height: 1;\n border-radius: 4px;\n outline: none;\n cursor: pointer;\n transition: 0.3s;\n margin: 0;\n}\n.btn:hover {\n background-color: transparent;\n color: #fff;\n}\n.social-input-containers span {\n position: absolute;\n top: 0;\n left: 25px;\n transform: translateY(-50%);\n font-size: 0.8rem;\n padding: 0 0.4rem;\n color: transparent;\n pointer-events: none;\n z-index: 500;\n}\n.social-input-containers span:before,\n.social-input-containers span:after {\n content: "";\n position: absolute;\n width: 10%;\n opacity: 0;\n transition: 0.3s;\n height: 5px;\n background-color: rgba(184, 33, 38, 0.986);\n top: 50%;\n transform: translateY(-50%);\n}\n.social-input-containers span:before {\n left: 50%;\n}\n.social-input-containers span:after {\n right: 50%;\n}\n.social-input-containers.focus label {\n top: 0;\n transform: translateY(-50%);\n left: 25px;\n font-size: 0.8rem;\n}\n.social-input-containers.focus span:before,\n.social-input-containers.focus span:after {\n width: 50%;\n opacity: 1;\n}\n.contact-info {\n padding: 2.3rem 2.2rem;\n position: relative;\n}\n.contact-info .title {\n color: rgba(184, 33, 38, 0.986);\n}\n.text {\n color: #333;\n margin: 1.5rem 0 2rem 0;\n}\n.social-information {\n display: flex;\n color: #555;\n margin: 0.7rem 0;\n align-items: center;\n font-size: 0.95rem;\n}\n.icon {\n width: 28px;\n margin-right: 0.7rem;\n}\n.social-media {\n padding: 2rem 0 0 0;\n}\n.social-media p {\n color: #333;\n}\n.social-icons {\n display: flex;\n margin-top: 0.5rem;\n}\n.social-icons a {\n width: 35px;\n height: 35px;\n border-radius: 43px;\n background: linear-gradient(45deg, rgba(184, 33, 38, 0.986), rgba(184, 33, 38, 0.986));\n color: #fff;\n text-align: center;\n line-height: 35px;\n margin-right: 0.5rem;\n transition: 0.3s;\n}\n.social-icons a:hover {\n transform: scale(1.05);\n}\n.contact-info:before {\n content: "";\n position: absolute;\n width: 110px;\n height: 100px;\n border: 22px solid rgba(184, 33, 38, 0.986);\n border-radius: 50%;\n bottom: -77px;\n right: 50px;\n opacity: 0.3;\n}\n.social-information i {\n font-size: 22px;\n margin-bottom: 23px;\n margin-right: 8px;\n color: rgba(184, 33, 38, 0.986);\n}\n.big-circle {\n position: absolute;\n width: 500px;\n height: 500px;\n border-radius: 50%;\n background: linear-gradient(to bottom, rgba(184, 33, 38, 0.986), rgba(184, 33, 38, 0.986));\n bottom: 50%;\n right: 50%;\n transform: translate(-40%, 38%);\n}
1\n.big-circle:after {\n content: "";\n position: absolute;\n width: 360px;\n height: 360px;\n background-color: #fafafa;\n border-radius: 50%;\n top: calc(50% - 180px);\n left: calc(50% - 180px);\n}\n.square {\n position: absolute;\n height: 400px;\n top: 50%;\n left: 50%;\n transform: translate(181%, 11%);\n opacity: 0.2;\n}\n@media (max-width: 850px) {\n .form {\n grid-template-columns: 1fr;\n }\n\n .contact-info:before {\n bottom: initial;\n top: -75px;\n right: 65px;\n transform: scale(0.95);\n }\n\n .contact-info-form:before {\n top: -13px;\n left: initial;\n right: 70px;\n }\n\n .square {\n transform: translate(140%, 43%);\n height: 350px;\n }\n\n .big-circle {\n bottom: 75%;\n transform: scale(0.9) translate(-40%, 30%);\n right: 50%;\n }\n\n .text {\n margin: 1rem 0 1.5rem 0;\n }\n\n .social-media {\n padding: 1.5rem 0 0 0;\n }\n}\n@media (max-width: 480px) {\n .container {\n padding: 1.5rem;\n }\n\n .contact-info:before {\n display: none;\n }\n\n .square,\n.big-circle {\n display: none;\n }\n\n form,\n.contact-info {\n padding: 1.7rem 1.6rem;\n }\n\n .text,\n.social-information,\n.social-media p {\n font-size: 0.8rem;\n }\n\n .title {\n font-size: 1.15rem;\n }\n\n .social-icons a {\n width: 30px;\n height: 30px;\n line-height: 30px;\n }\n\n .icon {\n width: 23px;\n }\n\n .input {\n padding: 0.45rem 1.2rem;\n }\n\n .btn {\n padding: 0.45rem 1.2rem;\n }\n}']})],Yg);Qn().vfs=ju.I.vfs,Qn().fonts=Jb.R;let ch=class{constructor(t,e,a,r){this.data=t,this.translate=e,this.excelService=a,this.dialog=r,this.dataSource=new $e.by,this.displayedColumns=["range_id","product_name","product_barcode","supplier","category","cost_price","unit_price","warn_quantity","product_quantity","expired_date"],this.pdf=!0,this.csv=!1,this.prodExport=[]}ngOnInit(){this.dataSource.data=this.data,this.dataSource.paginator=this.paginator}PDF(){this.pdf=!0,this.csv=!1}CSV(){this.pdf=!1,this.csv=!0}cancel(){this.dialog.close()}generatePdf(t){const e=this.getDocumentDefinition(t);Qn().createPdf(e).download()}getDocumentDefinition(t){return{content:[{columns:[[{text:this.translate.instant("Products"),style:"prodtitle"},"\n"]]},{canvas:[{type:"line",x1:0,y1:60,x2:510,y2:60,lineWidth:1,color:"gray"}]},"\n\n",{table:{widths:[70,"*","*",50,50,50],body:[[{text:this.translate.instant("Goods shelf No"),style:"tableHeader"},{text:this.translate.instant("product_name"),style:"tableHeader"},{text:this.translate.instant("Barcode"),style:"tableHeader"},{text:this.translate.instant("Qty"),style:"tableHeader"},{text:this.translate.instant("Unit-Price"),style:"tableHeader"},{text:this.translate.instant("Total Cost"),style:"tableHeader"}],...t.map(e=>[e.range_id,e.product_name,e.product_barcode,e.product_quantity,e.cost_price,e.product_quantity*e.cost_price])]},layout:"lightHorizontalLines"},"\n",{canvas:[{type:"line",x1:0,y1:20,x2:510,y2:20,lineWidth:1,color:"gray"}]},"\n\n",{columns:[[{text:this.translate.instant("notes"),style:"title"},{text:"--",style:this.translate.instant("Store"),margin:[0,0,20,0]}]]}],styles:{prodtitle:{fontSize:20,color:"black",alignment:"center"},store:{fontSize:10,color:"black",alignment:"left"},title:{bold:!0,fontSize:10,alignment:"left"},subtitle:{bold:!0,fontSize:12,alignment:"left"},line:{color:"grey"},tableInfo:{fontSize:10},prod:{bold:!0,fontSize:15,alignment:"left",margin:[0,0,0,20]},tableExample:{margin:[0,20,0,15]},tableHeader:{bold:!0},text:{bold:!0,fontSize:15,alignment:"right",color:"black",margintop:50}}}}onexportAsExcelFile(t){switch(this.prodExport=[],this.translate.currentLang){case"Italian":for(let i in t){var e={numero_di_scaffale:"",Nome:"",codice_a_barre:"",Category:"",Unit_Price:"",Cost_Price:""};e.numero_di_scaffale=t[i].range_id,e.Nome=t[i].product_name,e.codice_a_barre=String(t[i].product_barcode),e.Category=t[i].category.category_name,e.Unit_Price=t[i].unit_price,e.Cost_Price=t[i].cost_price,this.prodExport.push(e)}this.excelService.exportAsExcelFile(this.prodExport,"Prodotti");break;case"Chinese":for(let i in t){var a={\u8d27\u67b6\u53f7:"",\u4ea7\u54c1\u540d\u79f0:"",\u4ea7\u54c1\u6761\u7801:"",\u7c7b\u522b:"",\u5355\u4ef7:"",\u6210\u672c\u4ef7\u683c:""};a.\u8d27\u67b6\u53f7=t[i].range_id,a.\u4ea7\u54c1\u540d\u79f0=t[i].product_name,a.\u4ea7\u54c1\u6761\u7801=String(t[i].product_barcode),a.\u7c7b\u522b=t[i].category.category_name,a.\u5355\u4ef7=t[i].unit_price,a.\u6210\u672c\u4ef7\u683c=t[i].cost_price,this.prodExport.push(a)}this.excelService.exportAsExcelFile(this.prodExport,"\u4ea7\u54c1");break;default:for(let i in t){var r={shelf_No:"",Product_Name:"",Barcode:"",Category:"",Unit_Price:"",Cost_Price:""};r.shelf_No=t[i].range_id,r.Product_Name=t[i].product_name,r.Barcode=String(t[i].product_barcode),r.Category=t[i].category.category_name,r.Unit_Price=t[i].unit_price,r.Cost_Price=t[i].cost_price,this.prodExport.push(r)}this.excelService.exportAsExcelFile(this.prodExport,"Products List")}}print(){1==this.pdf?this.generatePdf(this.data):this.onexportAsExcelFile(this.data),this.dialog.close()}};ch.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}
1,{type:Y.sK},{type:_o.x},{type:St.so}],ch.propDecorators={paginator:[{type:m.i9L,args:[Wa.NW,{static:!0}]}]},ch=(0,j.gn)([(0,m.wA2)({selector:"app-download",template:'\n <div class="row">\n <div class="col-11">\n <h4 class="title">{{"Download Products"|translate}}</h4>\n </div>\n <button type="button" (click)="cancel()" class="close" aria-label="Close"><span>\xd7</span></button>\n </div>\n\n\n <div data-test="modal-body" class="modal-body">\n <div data-test="row" class="row">\n <div data-test="col" class="col-12">\n <p>{{"Select your products file format to download"|translate}}</p>\n </div>\n <div class="switcher-form col-12">\n <div class="switcher-form-item" style="border-top-left-radius: .25rem;\n border-bottom-left-radius: .25rem;"(click)="PDF()" [ngClass]="{\'clicked-bt\': pdf == true}">PDF</div>\n <div class="switcher-form-item" style="border-top-right-radius: .25rem;\n border-bottom-right-radius: .25rem;" (click)="CSV()" [ngClass]="{\'clicked-bt\': csv == true}">CSV</div>\n </div>\n </div>\n <div data-test="row" class="row">\n <div data-test="col" class="col-12">\n <div data-test="col" class="col-12 ">\n <p>{{"Products selected to be downloaded"|translate}}</p>\n <div data-test="table" class="col-12">\n <table mat-table style="width:100%" [dataSource]="dataSource" multiTemplateDataRows matSort>\n\n <ng-container matColumnDef="range_id">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Goods shelf No\'| translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.range_id }} </td>\n </ng-container>\n\n\n <ng-container matColumnDef="product_name">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{\'Product-Name\'| translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.product_name}}</td>\n </ng-container>\n\n\n <ng-container matColumnDef="product_barcode">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Barcode\'| translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.product_barcode}} </td>\n </ng-container>\n <ng-container matColumnDef="supplier">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Supplier\'| translate}} </th>\n <td mat-cell *matCellDef="let element">\n <p *ngIf="element.supplier">{{element.supplier.supplier_name}}</p>\n <p *ngIf="!element.supplier">--</p>\n </td>\n\n\n </ng-container>\n <ng-container matColumnDef="category">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Category\'| translate}} </th>\n <td mat-cell *matCellDef="let element">\n <p *ngIf="element.category">{{element.category.category_name}}</p>\n <p *ngIf="!element.category">--</p>\n\n </td>\n </ng-container>\n\n\n\n <ng-container matColumnDef="unit_price">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Unit-Price\'| translate}} </th>\n <td mat-cell *matCellDef="let element" class="pricetable1">\n\n\n {{element.unit_price | currency }}\n\n\n </td>\n </ng-container>\n <ng-container matColumnDef="cost_price" >\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Cost-Price\'| translate}} </th>\n <td mat-cell *matCellDef="let element" class="pricetable1">\n {{element.cost_price | currency }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef="product_quantity">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"Product-Quantity" | translate}} </th>\n <td mat-cell *matCellDef="let element">\n {{element.product_quantity}}\n </td>\n </ng-container>\n <ng-container matColumnDef="warn_quantity">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'warn_quant\'| translate}}</th>\n <td mat-cell *matCellDef="let element">\n {{element.warn_quantity}}\n </td>\n </ng-container>\n <ng-container matColumnDef="expired_date">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{\'Expired date\'| translate}}</th>\n <td mat-cell *matCellDef="let element">\n {{element.expired_date}}\n </td>\n </ng-container>\n\n\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;">\n </table>\n <mat-paginator [pageSizeOptions]="[5, 10, 25, 100]"></mat-paginator>\n </div></div>\n</div>\n </div>\n</div>\n<div class="modal-footer">\n <button (click)="print()" type="button" class="btn Ripple-parent bt
1n-primary block" id="download-multiple-invoice-btn-download">Download\n <div class="Ripple is-reppling" style="top: -51.3125px; left: -13.6375px; width: 130px;">\n </div>\n </button>\n <button (click)="cancel()" type="button" class="btn Ripple-parent btn-cancel" id="download-multiple-invoice-btn-cancel">Cancel\n <div class="Ripple " style="top: 0px; left: 0px; width: 0px; height: 0px;">\n </div>\n </button>\n </div>\n\n\n',animations:[(0,Rt.X$)("detailExpand",[(0,Rt.SB)("collapsed, void",(0,Rt.oB)({height:"0px",minHeight:"0",display:"none"})),(0,Rt.SB)("expanded",(0,Rt.oB)({height:"*"})),(0,Rt.eR)("expanded <=> collapsed",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)")),(0,Rt.eR)("expanded <=> void",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])],styles:[".switcher-form {\n display: flex;\n height: 40px;\n}\n\n.switcher-form-item {\n width: 50%;\n background-color: #f0f0f0;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-bottom: 0;\n position: relative;\n font-weight: 600;\n letter-spacing: 1px;\n text-transform: uppercase;\n font-weight: bold;\n color: #353535;\n cursor: pointer;\n}\n\n.clicked-bt {\n border: 1px solid #333;\n background-color: #a00000;\n color: white;\n}\n\n.container {\n flex-direction: column;\n}\n\n.title {\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n font-weight: 400;\n font-size: 1.625rem;\n color: #242424;\n position: relative;\n padding-left: 0;\n margin-top: 0;\n padding-right: 3.5rem;\n margin-left: 2%;\n}\n\n.close {\n font-size: 36px;\n top: 7px;\n right: 31px;\n padding: 0 !important;\n color: #000;\n text-shadow: none;\n opacity: 1;\n margin: 0;\n line-height: normal;\n}\n\n.modal-header {\n border-top-left-radius: 0.125rem;\n border-top-right-radius: 0.125rem;\n}\n\n.red-svg {\n fill: red;\n}\n\n.green-svg {\n fill: #6dd400;\n}\n\n.row {\n display: flex;\n flex-wrap: wrap;\n margin-right: -20px;\n margin-left: -40px;\n}\n\n.btn-primary {\n border-radius: 0;\n background: none;\n border: none;\n line-height: 1;\n border-radius: 25px;\n display: block;\n background: #a00000 !important;\n color: #fff !important;\n font-size: 1rem !important;\n line-height: 1.1em;\n padding: 10px 30px;\n text-align: center;\n font-weight: 400;\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n display: inline-block;\n text-decoration: none;\n transition-property: all;\n transition-duration: 0.2s;\n text-transform: none;\n border: none !important;\n box-shadow: none !important;\n border-radius: 65px !important;\n}\n\n.btn-cancel {\n line-height: 1;\n display: block;\n color: #a00000 !important;\n font-size: 1rem !important;\n line-height: 1.1em;\n padding: 10px 30px;\n text-align: center;\n font-weight: 400;\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n display: inline-block;\n text-decoration: none;\n transition-property: all;\n transition-duration: 0.2s;\n text-transform: none;\n box-shadow: none !important;\n}\n\n.modal-footer {\n display: block;\n text-align: center;\n border: none;\n padding: 0;\n}\n\n.table1 {\n width: 100%;\n table-layout: fixed;\n}\n\n.table1 th,\n.table1 td {\n overflow: hidden;\n width: 20%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.pricetable1 {\n color: red;\n}\n\n.card-box {\n position: relative;\n color: #fff;\n padding: 20px 20px 20px 20px;\n background-color: #ececec;\n}\n\n.card-box p {\n font-size: 15px;\n}\n\n.bg-green {\n background-color: #cacaca;\n height: 130px;\n color: black;\n}\n\n.mat-table {\n width: 100%;\n}\n\n.mat-table.resizing {\n -webkit-user-select: none;\n user-select: none;\n cursor: col-resize;\n}\n\n.mat-table .mat-cell span {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.mat-table .mat-header-cell {\n background-color: white;\n color: black;\n font-style: bold;\n position: relative;\n height: 30px;\n font-size: 14px;\n border-right: 2px solid rgba(201, 201, 201, 0.048);\n}\n\n.mat-table .mat-header-cell:not(:last-child) .resize-holder {\n cursor: col-resize;
1\n width: 20px;\n height: 100%;\n position: absolute;\n right: -10px;\n top: 0;\n z-index: 1;\n}\n\n.mat-table .mat-cell {\n width: 8rem;\n}\n\n.mat-table .mat-cell:not(:nth-child(1)),\n.mat-table .mat-header-cell:not(:nth-child(1)) {\n padding: 0 10px;\n}"]})],ch);let Qg=class{constructor(t,e,a,r,i,o){this.data=t,this.dialog=e,this.chainService=a,this.categoryService=r,this.supplierService=i,this.translate=o}ngOnInit(){this.onGetCategoriesList(),this.onGetChainList(),this.onGetSuppliers()}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data},t=>{console.log(t)})}onGetSuppliers(){return this.supplierService.getSuppliersListS2C().subscribe(t=>{this.suppliersList=t,this.suppliers=this.suppliersList.data},t=>{console.log(t)})}onGetCategoriesList(){return this.categoryService.getCategories().subscribe(t=>{this.categories=t,this.catList=this.categories.data},t=>{console.log(t)})}Filter(t,e,a,r){let i={chain:t,category:e,supplier:a,range:r};this.dialog.close(i)}cancel(){this.dialog.close()}};Qg.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]},{type:St.so},{type:Oe.l},{type:Ee.G},{type:vn.e},{type:Y.sK}],Qg=(0,j.gn)([(0,m.wA2)({selector:"app-stock-management-filter",template:'<span style=" margin-left: 95%;\ncursor: pointer;\nmargin-bottom: 20px;" (click)="cancel()">\n <img src="../../../../assets/images/close.svg">\n</span>\n<form style="display: flex;\nflex-wrap: wrap;">\n\n <mat-form-field appearance="outline" style="width : 30% ; margin-right:2% ;">\n <mat-label>{{\'Select-Chain\'| translate}}</mat-label>\n <mat-select #chain_id>\n <mat-option value=0>None</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width : 30% ; margin-right:2% ;">\n <mat-label>{{\'Choose-Category\' | translate}} </mat-label>\n <mat-select #category_id>\n <input matInput style="padding: 8px 8px 8px 8px;" type="text" >\n <mat-option value="844">No Category</mat-option>\n\n <mat-option *ngFor="let subcat of catList" [value]="subcat.id">\n <p *ngIf="translate.currentLang === \'English\'">{{subcat.category_name }}</p>\n <p *ngIf="translate.currentLang === \'Chinese\'">{{subcat.category_cn }}</p>\n <p *ngIf="translate.currentLang === \'Italian\'">{{subcat.category_it }}</p>\n <p *ngIf="translate.currentLang === \'Fran\xe7ais\'">{{subcat.category_fr }}</p>\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n\n\n\n <mat-form-field appearance="outline" style="width : 30% ; margin-right:2% ;">\n <mat-label>{{\'Supplier\' | translate}}</mat-label>\n <mat-select #supplier_id>\n <input matInput style="padding: 8px 8px 8px 8px;" type="search" #supp>\n <mat-option *ngFor="let supp of suppliers" [value]="supp.id"> {{supp.supplier_name}}</mat-option>\n </mat-select>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width : 30% ; margin-right:2% ;">\n <input matInput [placeholder]="\'search-by-Goods-shelf\'| translate" #range_id>\n </mat-form-field>\n\n\n <div class="bt-date-submit" (click)="Filter(chain_id.value,category_id.value,supplier_id.value,range_id.value)"><i class="fas fa-search"></i></div>\n\n</form>\n',styles:[".bt-date-submit {\n color: white;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n margin-top: 2%;\n margin-left: 5%;\n}"]})],Qg);let dh=class{constructor(t,e,a,r,i){this.productService=t,this.pagerService=e,this.datepipe=a,this.translate=r,this.dialog=i,this.cost_price=localStorage.getItem("cost_price"),this.code=localStorage.getItem("curr"),this.page=1,this.day=0,this.month=(new Date).getMonth()+1,this.year=(new Date).getFullYear(),this.chainInit=localStorage.getItem("chainInit"),this.storeInit=localStorage.getItem("store_id"),this.displayedColumns=[],this.dataSource=new $e.by,this.pager={},this.pager2={},this.selecteditems=[],this.selection=new ll.Ov(!0,[])}ngOnInit(){this.currentDay=this.datepipe.transform(new Date,"yyyy-MM-dd"),this.onGetProdsListS2C(this.page)}setPageFilter(t,e,a,r,i,o){this.page=t,this.onGetProdsListS2C(t,e,a,r,i,o)}onGetProdsListS2C(t,e,a,r,i,o){return(0==e||!e)&&(e=""),(0==a||!a)&&(a=""),(0==r||!r)&&(r=""),(0==i||!i)&&(i=""),(0==o||!o)&&(o=""),this.productService.getProdsListS2C(this.page,e,a,r,i,o).subscribe(s=>{this.prods=s,this.prodsLength=this.prods.total,this.prodsData=this.prods.data,this.dataSource.data=this.prodsData,"1"==this.cost_price&&(this.displayedColumns=["select","range_id","product_image","product_name","product_barcode","supplier","category","cost_price","unit_price","warn_quantity","product_quantity","expired_date","actions"]),"0"==this.cost_price&&(this.displayedColumns=["select","range_id","product_image","product_name","product_barcode","supplier","category","unit_price","warn_quantity","product_quantity","expired_date","actions"]),this.pager2=this.pagerService.getPager(this.prodsLength,t)},s=>{console.log(s)})}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(t=>this.selection.select(t)),this.selecteditems=this.selection.selected}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.position+1}`:(this.isAllSelected()?"select":"deselect")+" all"}getCheckeditems(){this.selecteditems=this.selection.selected}download(){this.dialog.open(ch,{autoFocus:!1,width:"150vh",maxHeight:"95vh",data:this.selecteditems})}Filter(){this.dialog.open(Qg,{autoFocus:!1,width:"50vw"}).afterClosed().subscribe(e=>{e&&(this.filterData=e,this.chain=this.filterData.chain,this.cat=this.filterData.category,this.supp=this.filterData.supplier,this.range=this.filterData.range,this.setPageFilter(1,this.chain,this.cat,"",this.supp,this.range))})}};dh.ctorParameters=()=>[{type:Je.r},{type:Ms.e},{type:Q.uU},{type:Y.sK},{type:St.uw}],dh.propDecorators={supplier_id:[{type:m.i9L,args:["supplier_id"]}]},dh=(0,j.gn)([(0,m.wA2)({selector:"app-stock-management",template:'<div class="rounded bgc p-3 m-3">\n\n <div>\n <mat-form-field appearance="outline" style="width : 30% ; margin-right:2% ;">\n <input matInput [placeholder]="\'Search-byBarcode\'| translate" (keyup)="setPageFilter(1,chain, cat,barcode.value,supp,range)" #barcode>\n </mat-form-field>\n <div class="bt-act-revenu">\n <div class="bt-date-submit" style="margin-right: 1%;" (click)="Filter()" > <i\n class="material-icons" style="color: #fff;">filter_alt</i></div>\n <div class="bt-date-submit" style="margin-right: 3%;"\n *ngIf="selecteditems.length>0"(click)="download()"><i\n class="fas fa-download"></i></div>\n\n </div>\n <p *ngIf="selecteditems.length==0" styel="margin-left:3%">{{"Select products to download"|translate}}</p>\n </div>\n <div>\n <table mat-table [dataSource]="dataSource" class="table1">\n <ng-container matColumnDef="select">\n <th mat-header-cell *matHeaderCellDef>\n <mat-checkbox (change)="$event ? masterToggle() : null"\n [checked]="selection.hasValue() && isAllSelected()"\n [indeterminate]="selection.hasValue() && !isAllSelected()" [aria-label]="checkboxLabel()">\n </mat-checkbox>\n </th>\n <td mat-cell *matCellDef="let row">\n <mat-checkbox (click)="$event.stopPropagation()"\n (change)="$event ? selection.toggle(row) : null; getCheckeditems()"\n [checked]="selection.isSelected(row)" [aria-label]="checkboxLabel(row)">\n </mat-checkbox>\n </td>\n </ng-container>\n\n <ng-container matColumnDef="range_id">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Goods shelf No\'| translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.range_id }} </td>\n </ng-container>\n\n <ng-container matColumnDef="product_image">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{\'Image\'| translate}}</th>\n <td mat-cell *matCellDef="let element">\n <img [src]="element.img_url" alt="" class="imgtable1">\n </td>\n </ng-container>\n\n\n\n <ng-container matColumnDef="product_name">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{\'Product-Name\'| translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.product_name}}</td>\n </ng-container>\n\n\n\n\n <ng-container matColumnDef="product_barcode">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Barcode\'| translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.product_barcode}} </td>\n </ng-container>\n <ng-container matColumnDef="supplier">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Supplier\'| translate}} </th>\n <td mat-cell *matCellDef="let element">\n <p *ngIf="element.supplier">{{element.supplier.supplier_name}}</p>\n <p *ngIf="!element.supplier">--</p>\n </td>\n\n\n </ng-container>\n <ng-container matColumnDef="category">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Category\'| translate}} </th>\n <td mat-cell *matCellDef="let element">\n <p *ngIf="element.category">{{element.category.category_name}}</p>\n <p *ngIf="!element.category">--</p>\n\n </td>\n </ng-container>\n\n\n\n <ng-container matColumnDef="unit_price">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Unit-Price\'| translate}} </th>\n <td mat-cell *matCellDef="let element" class="pricetable1">\n\n\n {{element.unit_price | currency:code }}\n\n\n </td>\n </ng-container>\n <ng-container matColumnDef="cost_price" *ngIf="cost_price == \'1\'">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">
1 {{\'Cost-Price\'| translate}} </th>\n <td mat-cell *matCellDef="let element" class="pricetable1">\n {{element.cost_price | currency:code }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef="product_quantity">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"Product-Quantity" | translate}} </th>\n <td mat-cell *matCellDef="let element">\n {{element.product_quantity}}\n </td>\n </ng-container>\n <ng-container matColumnDef="warn_quantity">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'warn_quant\'| translate}}</th>\n <td mat-cell *matCellDef="let element">\n {{element.warn_quantity}}\n </td>\n </ng-container>\n <ng-container matColumnDef="expired_date">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{\'Expired date\'| translate}}</th>\n <td mat-cell *matCellDef="let element">\n {{element.expired_date}}\n </td>\n </ng-container>\n <ng-container matColumnDef="actions">\n <th mat-header-cell *matHeaderCellDef> {{\'common_actions\' | translate}} </th>\n <td mat-cell *matCellDef="let element">\n\n <button routerLink="/shop/products/{{element.id}}" title="" mat-icon-button><i\n class="material-icons icon-blue" style="color: #a00000;">\n view_headline\n </i>\n </button>\n <button mat-icon-button routerLink="/shop/products/edit/{{element.id}}" ><i\n class="material-icons icon-green" style="color: #a00000">edit\n </i>\n </button>\n </td>\n\n </ng-container>\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;">\n </tr>\n\n\n </table>\n <br />\n </div>\n <br />\n <div>\n\n <nav aria-label="Page navigation example">\n <ul *ngIf="pager2.pages && pager2.pages.length" class="pagination justify-content-center pagination-sm">\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === 1}">\n <a class="page-link"\n (click)="setPageFilter(1,chain, cat,barcode.value,supp,range)">{{\'first\'|\n translate}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === 1}">\n <a class="page-link"\n (click)="setPageFilter(pager2.currentPage - 1,chain, cat,barcode.value,supp,range);">{{\'previous\'|\n translate}}</a>\n </li>\n <li class="page-item active" *ngFor="let page of pager2.pages" [ngClass]="{active:pager2.currentPage === page}">\n <a class="page-link"\n (click)="setPageFilter(page,chain, cat,barcode.value,supp,range);">{{page}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === pager2.totalPages}">\n <a class="page-link"\n (click)="setPageFilter(pager2.currentPage + 1,chain, cat,barcode.value,supp,range);">{{\'Next\'|\n translate}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === pager2.totalPages}">\n <a class="page-link"\n (click)="setPageFilter(pager2.totalPages,chain, cat,barcode.value,supp,range);">{{\'last\'|\n translate}}</a>\n </li>\n </ul>\n </nav>\n </div>\n\n </div>\n',styles:[".bgc .table1 {\n width: 100%;\n table-layout: fixed;\n}\n.bgc .table1 th,\n.bgc .table1 td {\n overflow: hidden;\n width: 20%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.bgc .imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n.bgc .pricetable1 {\n color: red;\n}\n.bgc .card-box {\n position: relative;\n color: #fff;\n padding: 20px 20px 20px 20px;\n background-color: #ececec;\n}\n.bgc .card-box p {\n font-size: 15px;\n}\n.bgc .bg-green {\n background-color: #cacaca;\n height: 130px;\n color: black;\n}\n.bgc .mat-table {\n width: 100%;\n}\n.bgc .mat-table.resizing {\n -webkit-user-select: none;\n user-select: none;\n cursor: col-resize;\n}\n.bgc .mat-table .mat-cell span {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.bgc .mat-table .mat-header-cell {\n background-color: white;\n color: black;\n font-style: bold;\n position: relative;\n height: 30px;\n font-size: 14px;\n border-right: 2px solid rgba(201, 201, 201, 0.048);\n}\n.bgc .mat-table .mat-header-cell:not(:last-child) .resize-holder {\n cursor: col-resize;
1\n width: 20px;\n height: 100%;\n position: absolute;\n right: -10px;\n top: 0;\n z-index: 1;\n}\n.bgc .mat-table .mat-cell {\n width: 8rem;\n}\n.bgc .mat-table .mat-cell:not(:nth-child(1)),\n.bgc .mat-table .mat-header-cell:not(:nth-child(1)) {\n padding: 0 10px;\n}\n.bt-date-submit {\n color: white;\n padding: 10px;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n.bt-act-revenu {\n display: flex;\n margin-bottom: 3%;\n margin-top: 2%;\n float: right;\n}"]})],dh);var Mk=F(25270);Qn().vfs=ju.I.vfs,Qn().fonts=Jb.R;let uh=class{constructor(t,e,a,r,i){this.data=t,this.translate=e,this.excelService=a,this.datepipe=r,this.dialog=i,this.dataSource=new $e.by,this.displayedColumns=["amount","status","company_name","start_date","finish_date"],this.pdf=!0,this.csv=!1,this.prodExport=[]}ngOnInit(){this.dataSource.data=this.data,this.dataSource.paginator=this.paginator}PDF(){this.pdf=!0,this.csv=!1}CSV(){this.pdf=!1,this.csv=!0}cancel(){this.dialog.close()}print(){1==this.pdf?this.generatePdf(this.data):this.onexportAsExcelFile(this.data),this.dialog.close()}generatePdf(t){const e=this.getDocumentDefinition(t);Qn().createPdf(e).download()}getDocumentDefinition(t){return{content:[{columns:[[{text:this.translate.instant("Purchases"),style:"prodtitle"}]]},{canvas:[{type:"line",x1:0,y1:60,x2:510,y2:60,lineWidth:1,color:"gray"}]},"\n\n",{table:{widths:["*","*","*","*","*"],body:[[{text:this.translate.instant("amount"),style:"tableHeader"},{text:this.translate.instant("Status"),style:"tableHeader"},{text:this.translate.instant("company-name"),style:"tableHeader"},{text:this.translate.instant("Start-date"),style:"tableHeader"},{text:this.translate.instant("End-date"),style:"tableHeader"}],...t.map(e=>[e.amount,e.status,e.supplier.company_name,this.datepipe.transform(e.start_date,"yyyy-MM-dd"),this.datepipe.transform(e.finish_date,"yyyy-MM-dd")])]},layout:"lightHorizontalLines"},"\n",{canvas:[{type:"line",x1:0,y1:20,x2:510,y2:20,lineWidth:1,color:"gray"}]},"\n\n",{columns:[[{text:this.translate.instant("notes"),style:"title"},{text:"--",style:this.translate.instant("Store"),margin:[0,0,20,0]}]]}],styles:{prodtitle:{fontSize:20,color:"black",alignment:"center"},store:{fontSize:10,color:"black",alignment:"left"},title:{bold:!0,fontSize:10,alignment:"left"},subtitle:{bold:!0,fontSize:12,alignment:"left"},line:{color:"grey"},tableInfo:{fontSize:10},prod:{bold:!0,fontSize:15,alignment:"left",margin:[0,0,0,20]},tableExample:{margin:[0,20,0,15]},tableHeader:{bold:!0},text:{bold:!0,fontSize:15,alignment:"right",color:"black",margintop:50}}}}onexportAsExcelFile(t){switch(this.prodExport=[],this.translate.currentLang){case"Italian":for(let i in t){var e={Quantit\u00e0:"",Stato:"",Nome_della_ditta:"",Inizio:"",End_date:""};e.Quantit\u00e0=t[i].amount,e.Stato=t[i].status,e.Nome_della_ditta=t[i].supplier.company_name,e.Inizio=this.datepipe.transform(t[i].start_date,"yyyy-MM-dd"),e.End_date=this.datepipe.transform(t[i].finish_date,"yyyy-MM-dd"),this.prodExport.push(e)}this.excelService.exportAsExcelFile(this.prodExport,"Acquistare");break;case"Chinese":for(let i in t){var a={\u91d1\u989d:"",\u72b6\u6001:"",\u516c\u53f8\u540d\u5b57:"",\u9009\u62e9\u5f00\u59cb\u65e5\u671f:"",\u9009\u62e9\u7ed3\u675f\u65e5\u671f:""};a.\u9009\u62e9\u5f00\u59cb\u65e5\u671f=this.datepipe.transform(t[i].start_date,"yyyy-MM-dd"),a.\u9009\u62e9\u7ed3\u675f\u65e5\u671f=this.datepipe.transform(t[i].finish_date,"yyyy-MM-dd"),a.\u91d1\u989d=t[i].amount,a.\u72b6\u6001=t[i].status,a.\u516c\u53f8\u540d\u5b57=t[i].supplier.company_name,this.prodExport.push(a)}this.excelService.exportAsExcelFile(this.prodExport,"\u91c7\u8d2d");break;default:for(let i in t){var r={amount:"",status:"",company_name:"",start_date:"",finish_date:""};r.amount=t[i].amount,r.status=t[i].status,r.company_name=t[i].supplier.company_name,r.start_date=this.datepipe.transform(t[i].start_date,"yyyy-MM-dd"),r.finish_date=this.datepipe.transform(t[i].finish_date,"yyyy-MM-dd"),this.prodExport.push(r)}this.excelService.exportAsExcelFile(this.prodExport,"Purchase")}}};uh.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}
1,{type:Y.sK},{type:_o.x},{type:Q.uU},{type:St.so}],uh.propDecorators={paginator:[{type:m.i9L,args:[Wa.NW,{static:!0}]}]},uh=(0,j.gn)([(0,m.wA2)({selector:"app-download-purchase",template:'\n <div class="row">\n <div class="col-11">\n <h4 class="title">Download Purchase</h4>\n </div>\n <button type="button" (click)="cancel()" class="close" aria-label="Close"><span>\xd7</span></button>\n </div>\n\n\n <div data-test="modal-body" class="modal-body">\n <div data-test="row" class="row">\n <div data-test="col" class="col-12">\n <p>{{"Select file format to download"|translate}}</p>\n </div>\n <div class="switcher-form col-12">\n \x3c!-- <div class="switcher-form-item" style="border-top-left-radius: .25rem;\n border-bottom-left-radius: .25rem;"(click)="PDF()" [ngClass]="{\'clicked-bt\': pdf == true}">PDF</div> --\x3e\n \x3c!-- <div class="switcher-form-item" style="border-top-right-radius: .25rem;\n border-bottom-right-radius: .25rem;" (click)="CSV()" [ngClass]="{\'clicked-bt\': csv == true}">CSV</div> --\x3e\n </div>\n </div>\n <div data-test="row" class="row">\n <div data-test="col" class="col-12">\n <div data-test="col" class="col-12 ">\n <p>Purchases selected to be downloaded</p>\n <div data-test="table" class="col-12">\n <table mat-table style="width:100%" [dataSource]="dataSource" multiTemplateDataRows matSort>\n\n\n\n\n <ng-container matColumnDef="amount">\n <th mat-header-cell *matHeaderCellDef > {{"amount" | translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.amount}} </td>\n\n </ng-container>\n <ng-container matColumnDef="status">\n <th mat-header-cell *matHeaderCellDef > {{"Status"| translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.status}} </td>\n\n </ng-container>\n <ng-container matColumnDef="company_name">\n <th mat-header-cell *matHeaderCellDef > {{"company-name" | translate}}</th>\n <td mat-cell *matCellDef="let element">\n <p *ngIf="element.supplier.company_name">{{element.supplier.company_name}}</p>\n <p *ngIf="!element.supplier.company_name">--</p>\n </td>\n\n </ng-container>\n <ng-container matColumnDef="start_date">\n <th mat-header-cell *matHeaderCellDef >{{\'Start-date\' | translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.start_date }} </td>\n\n </ng-container>\n <ng-container matColumnDef="finish_date">\n <th mat-header-cell *matHeaderCellDef > {{\'End-date\' | translate }}</th>\n <td mat-cell *matCellDef="let element"> {{element.finish_date}} </td>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;">\n </table>\n <mat-paginator [pageSizeOptions]="[5, 10, 25, 100]"></mat-paginator>\n </div></div>\n</div>\n </div>\n</div>\n<div class="modal-footer">\n <button (click)="print()" type="button" class="btn Ripple-parent btn-primary block" id="download-multiple-invoice-btn-download">Download\n <div class="Ripple is-reppling" style="top: -51.3125px; left: -13.6375px; width: 130px;">\n </div>\n </button>\n <button (click)="cancel()" type="button" class="btn Ripple-parent btn-cancel" id="download-multiple-invoice-btn-cancel">{{\'common_cancel\' | translate}}\n <div class="Ripple " style="top: 0px; left: 0px; width: 0px; height: 0px;">\n </div>\n </button>\n </div>\n\n\n\n\n',styles:[".switcher-form {\n display: flex;\n height: 40px;\n}\n\n.switcher-form-item {\n width: 50%;\n background-color: #f0f0f0;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-bottom: 0;\n position: relative;\n font-weight: 600;\n letter-spacing: 1px;\n text-transform: uppercase;\n font-weight: bold;\n color: #353535;\n cursor: pointer;\n}\n\n.clicked-bt {\n border: 1px solid #333;\n background-color: #a00000;\n color: white;\n}\n\n.container {\n flex-direction: column;\n}\n\n.title {\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n font-weight: 400;\n font-size: 1.625rem;\n color: #242424;\n position: relative;\n padding-left: 0;\n margin-top: 0;\n padding-right: 3.5rem;\n margin-left: 2%;\n}\n\n.close {\n font-size: 36px;\n top: 7px;\n right: 31px;\n padding: 0 !important;\n color: #000;\n text-shadow: none;\n opacity: 1;\n margin: 0;\n line-height: normal;\n}\n\n.modal-header {\n border-top-left-radius: 0.125rem;\n border-top-right-radius: 0.125rem;\n}\n\n.red-svg {\n fill: red;\n}\n\n.green-svg {\n fill: #6dd400;\n}\n\n.row {\n display: flex;\n flex-wrap: wrap;\n margin-right: -20px;\n margin-left: -40px;\n}\n\n.btn-primary {\n border-radius: 0;\n background: none;\n border: none;\n line-height: 1;\n border-radius: 25px;\n display: block;\n background: #a00000 !important;\n color: #fff !important;\n font-size: 1rem !important;\n line-height: 1.1em;\n padding: 10px 30px;\n text-align: center;\n font-weight: 400;\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n display: inline-block;\n text-decoration: none;\n transition-property: all;\n transition-duration: 0.2s;\n text-transform: none;\n border: none !important;\n box-shadow: none !important;\n border-radius: 65px !important;\n}\n\n.btn-cancel {\n line-height: 1;\n display: block;\n color: #a00000 !important;\n font-size: 1rem !important;\n line-height: 1.1em;\n padding: 10px 30px;\n text-align: center;\n font-weight: 400;\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n display: inline-block;\n text-decoration: none;\n transition-property: all;\n transition-duration: 0.2s;\n text-transform: none;\n box-shadow: none !important;\n}\n\n.modal-footer {\n display: block;\n text-align: center;\n border: none;\n padding: 0;\n}\n\n.table1 {\n width: 100%;\n table-layout: fixed;\n}\n\n.table1 th,\n.table1 td {\n overflow: hidden;\n width: 20%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.pricetable1 {\n color: red;\n}\n\n.card-box {\n position: relative;\n color: #fff;\n padding: 20px 20px 20px 20px;\n background-color: #ececec;\n}\n\n.card-box p {\n font-size: 15px;\n}\n\n.bg-green {\n background-color: #cacaca;\n height: 130px;\n color: black;\n}\n\n.mat-table {\n width: 100%;\n}\n\n.mat-table.resizing {\n -webkit-user-select: none;\n user-select: none;\n cursor: col-resize;\n}\n\n.mat-table .mat-cell span {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.mat-table .mat-header-cell {\n background-color: white;\n color: black;\n font-style: bold;\n position: relative;\n height: 30px;\n font-size: 14px;\n border-right: 2px solid rgba(201, 201, 201, 0.048);\n}\n\n.mat-table .mat-header-cell:not(:last-child) .resize-holder {\n cursor: col-resize;
1\n width: 20px;\n height: 100%;\n position: absolute;\n right: -10px;\n top: 0;\n z-index: 1;\n}\n\n.mat-table .mat-cell {\n width: 8rem;\n}\n\n.mat-table .mat-cell:not(:nth-child(1)),\n.mat-table .mat-header-cell:not(:nth-child(1)) {\n padding: 0 10px;\n}"]})],uh);var ZO=F(36152);let ph=class{constructor(t,e,a,r,i,o,s){this.datepipe=t,this.fundsService=e,this.dialog=a,this.chainService=r,this.excelService=i,this.translate=o,this.message=s,this.exportMutiple=[],this.exportMutipleSales=[],this.accountingData={total_purchase:0,other_charges:0},this.chain_name=this.translate.instant("common_allChains"),this.code=localStorage.getItem("curr"),this.searchFormDataSource=[{type:"chainSelect",key:"chain_id"},{type:"select",key:"status",translateKey:"common_paymentStatus",options:[{label:"common_paymentStatus_all",value:"0"},{label:"common_paymentStatus_paid",value:"paid"},{label:"common_paymentStatus_not paid",value:"not paid"},{label:"cancel",value:"cancel"}]},{type:"dateTime",key:"from",placeholder:"Choose-astartdate",translateKey:"common_startDate"},{type:"dateTime",key:"to",placeholder:"Choose-anenddate",translateKey:"common_endDate"},{type:"select",key:"purchase_type",translateKey:"common_purchaseType",options:[{label:"common_purchaseType_all",value:"0"},{label:"common_purchaseType_manual",value:"manual"},{label:"common_purchaseType_quick",value:"quick"},{label:"common_purchaseType_b2b",value:"b2b"}]},{type:"supplierSelect",key:"supplier_id"}],this.tabId=0,this.purchaseParams={chain_id:"",from:"",to:"",status:"",purchase_type:"",supplier_id:"",page:1},this.purchaseDataSource=[],this.purchaseColumns=[{type:"checkbox",key:"checkbox",translationKey:""},{type:"image",key:"img_url",translationKey:"common_image"},{type:"price",key:"amount",translationKey:"Amount"},{type:"text",key:"payment_status",translationKey:"common_paymentStatus"},{type:"text",key:"purchase_type_str",translationKey:"common_purchaseType"},{type:"text",key:"chain_name",translationKey:"Chain"},{type:"text",key:"company_name",translationKey:"company-name"},{type:"text",key:"start_date",translationKey:"common_startDate"},{type:"text",key:"finish_date",translationKey:"common_endDate"},{type:"actions",key:"actions",translationKey:"common_actions",list:["image"]}],this.purchaseCheckedItem=[],this.purchasePageInfo={total:0,page:1,pageSize:20},this.purchaseComponentName="s2cFundPurchaseComponent"}ngOnInit(){this.getAccoutingExpenseData().subscribe(t=>{this.getChainNameById(0)})}getAccoutingExpenseData(){return this.fundsService.getPurchaseDetails(this.purchaseParams).pipe((0,ya.U)(t=>{this.purchaseDataSource=t.data.map(e=>({...e,company_name:e.supplier.company_name,chain_name:e.chain.chain_name,purchase_type_str:this.translate.instant("common_purchaseType_"+e.purchase_type),payment_status:this.translate.instant("common_paymentStatus_"+e.status)})),this.purchasePageInfo.total=t.total,this.accountingData.total_purchase=t.total_purchase}))}getPurchaseList(){this.fundsService.getPurchaseDetails(this.purchaseParams).subscribe(t=>{this.purchaseDataSource=t.data.map(e=>({...e,company_name:e.supplier.company_name,chain_name:e.chain.chain_name,purchase_type_str:this.translate.instant("common_purchaseType_"+e.purchase_type),payment_status:this.translate.instant("common_paymentStatus_"+e.status)})),this.purchasePageInfo.total=t.total,this.accountingData.total_purchase=t.total_purchase},t=>{console.log(t)})}handleSearch(t){2!==this.tabId?(this.purchaseParams={...this.purchaseParams,...t,page:1},this.getAccoutingExpenseData().subscribe(e=>{this.getChainNameById(t.chain_id)})):this.purchasedComponent.handleSearch(t)}getChainNameById(t){if(t&&0!=t)return this.chainService.getChainById(t).subscribe(e=>{this.chain_name=e.data.chain_name},e=>{console.log(e)});this.chain_name=this.translate.instant("common_allChains")}handleReset(){2!==this.tabId?(this.purchasePageInfo.page=1,this.purchaseParams={chain_id:"",from:"",to:"",status:"",purchase_type:"",supplier_id:"",page:1},this.getAccoutingExpenseData().subscribe(t=>{this.getChainNameById(0)})):this.purchasedComponent.handleReset()}handleCheckChange(t,e){"purchase"===e&&(this.purchaseCheckedItem=t)}handleDownLoad(t){if("purchase"===t){if(0===this.purchaseCheckedItem.length)return void this.message.error(this.translate.instant("common_displayedRows_required"));this.dialog.open(uh,{autoFocus:!1,width:"150vw",maxHeight:"95vh",data:this.purchaseCheckedItem})}}handleChangePaginator(t,e){"purchase"===e&&(this.purchasePageInfo.page=t.page,this.getPurchaseList())}handleAddClick(){this.dialog.open(Mk.h,{autoFocus:!1,maxHeight:"98vh"}).afterClosed().subscribe(e=>{"success"===e&&this.getPurchaseList()})}handleViewDetail({item:t,type:e}){"edit"===e?this.dialog.open(Mk.h,{data:{item:t},autoFocus:!1,maxHeight:"98vh"}).afterClosed().subscribe(r=>{"success"===r&&this.getPurchaseList()}):"image"===e&&this.dialog.open(ZO.a,{data:t,autoFocus:!1,maxHeight:"98vh",width:"400px"}).afterClosed().subscribe(a=>{"success"===a&&this.getPurchaseList()})}};ph.ctorParameters=()=>[{type:Q.uU},{type:Sr.e},{type:St.uw},{type:Oe.l},{type:_o.x},{type:Y.sK},{type:ne.I}],ph.propDecorators={purchasedComponent:[{type:m.i9L,args:["purchasedComponent",{static:!0}]}],commonSearchField:[{type:m.i9L,args:["commonSearchField",{static:!0}]}]},ph=(0,j.gn)([(0,m.wA2)({selector:"app-fund-expenses",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <div class="row">\n <div class="col-12 col-lg-4 d-flex flex-column">\n <div class="card flex-grow-1 text-white bg-primary my-2">\n <div class="card-body">\n <h3 class="card-title">\n {{ (accountingData.total_purchase + accountingData.other_charges) | currency:code }}\n </h3>
1\n <span>{{ "Total Receipt" | translate }}</span>\n </div>\n </div>\n </div>\n <div class="col-12 col-lg-4 d-flex flex-column">\n <div class="card flex-grow-1 text-white bg-primary my-2">\n <div class="card-body">\n <h3 class="card-title">\n {{ accountingData.total_purchase | currency:code }}\n </h3>\n <div class="w-100 d-flex justify-content-between">\n <span> {{ "Total Sales" | translate }}</span>\n <span>{{chain_name}}</span>\n </div>\n </div>\n </div>\n </div>\n <div class="col-12 col-lg-4 d-flex flex-column">\n <div class="card flex-grow-1 text-white bg-primary my-2">\n <div class="card-body">\n <h3 class="card-title">\n {{ accountingData.other_charges | currency:code }}\n </h3>\n <div class="w-100 d-flex justify-content-between">\n <span> {{ "Other Receipt" | translate }}</span>\n <span>{{chain_name}}</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n <app-common-search-field-form\n #commonSearchField\n [formColumn]="searchFormDataSource" (onSubmit)="handleSearch($event)"\n (onReset)="handleReset()">\n </app-common-search-field-form>\n <div style="margin-top: 20px;">\n <app-common-search-list-table [isShowFilterForm]="false" (onCheckChange)="handleCheckChange($event,\'purchase\')"\n [isShowAdd]="false" [isShowDownload]="true" (onDownload)="handleDownLoad(\'purchase\')"\n [dataSource]="purchaseDataSource" [columns]="purchaseColumns" [uniqueTableKey]="purchaseComponentName"\n [pageInfo]="purchasePageInfo" (pageChange)="handleChangePaginator($event,\'purchase\')" (onBtnClick)="handleViewDetail($event)">\n </app-common-search-list-table>\n </div>\n</div>\n',styles:[".mainContainer span {\n font-family: Roboto;\n font-weight: 500;\n font-size: 20px;\n}\n.mainContainer .example-element-row td {\n border-bottom-width: 0;\n}\n.mainContainer .example-element-detail {\n overflow: hidden;\n display: flex;\n}\n.mainContainer .orderProducts {\n padding: 10px;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n width: 100%;\n}\n.price1 {\n color: red;\n}\n.prod-img {\n max-width: 50px;\n max-height: 50px;\n}\n.pagination {\n cursor: pointer;\n}\n.page-item {\n cursor: pointer;\n}\n.page-item.active .page-link {\n z-index: 3;\n color: #fff;\n background-color: #cacaca;\n border-color: #cacaca;\n cursor: pointer;\n}\n.mat-card-image {\n width: calc(100% + 32px);\n margin: 16px -16px 16px -16px;\n}\n.card-box {\n position: relative;\n color: white;\n padding: 20px 20px 20px 20px;\n background-color: #a00000;\n height: 130px;\n}\n.button-date {\n width: 33%;\n color: #a00000;\n font-weight: bold;\n font-size: 13px;\n letter-spacing: 1px;\n margin-bottom: 0;\n width: 33.5%;\n text-transform: uppercase;\n}\n.container-time {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.button-date {\n background: #fff;\n border: 1px solid #a00000;\n font-weight: 500;\n font-size: 14px;\n letter-spacing: 0.25px;\n line-height: 58px;\n height: 58px;\n margin-left: 10px;\n margin-right: 8px;\n width: 100%;\n margin: 1%;\n text-align: center;\n color: #a00000;\n vertical-align: middle;\n border-radius: 4px;\n box-sizing: border-box;\n}\n.table1 {\n width: 100%;\n table-layout: fixed;\n}\n.table1 th,\n.table1 td {\n overflow: hidden;\n width: 20%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.mat-table {\n width: 100%;\n}\n.mat-table.resizing {\n -webkit-user-select: none;\n user-select: none;\n cursor: col-resize;\n}\n.mat-table .mat-cell span {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.mat-table .mat-header-cell {\n background-color: #e6e6e6;\n color: #707070;\n font-style: bold;\n position: relative;\n height: 30px;\n font-size: 14px;\n border-right: 2px solid rgba(201, 201, 201, 0.048);\n}\n.mat-table .mat-header-cell:not(:last-child) .resize-holder {\n cursor: col-resize;
1\n width: 20px;\n height: 100%;\n position: absolute;\n right: -10px;\n top: 0;\n z-index: 1;\n}\n.mat-table .mat-cell {\n width: 8rem;\n}\n.mat-table .mat-cell:not(:nth-child(1)),\n.mat-table .mat-header-cell:not(:nth-child(1)) {\n padding: 0 10px;\n}\n.header-all-tab {\n display: flex;\n justify-content: space-between;\n}\n.bt-act-revenu {\n display: flex;\n margin-bottom: 3%;\n margin-top: 2%;\n}\n.header-table {\n width: 100%;\n}\n.filter-time {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n grid-gap: 20px 28px;\n gap: 20px 28px;\n font-size: 14px;\n}\n.filter-to-from {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.bt-date-submit {\n color: white;\n padding: 10px;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n.bt-action-filter {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n grid-gap: 20px 28px;\n gap: 20px 28px;\n font-size: 14px;\n height: 50px;\n}\n.button-action-sales {\n background-color: #fff;\n color: black;\n font-size: 15px;\n}\n.error-msg {\n width: 100%;\n font-weight: 500;\n font-size: 13px;\n letter-spacing: 0.25px;\n line-height: 58px;\n width: 100%;\n color: red;\n font-weight: bold;\n}\n.card-title {\n color: white;\n}"]})],ph);let hh=class{constructor(t,e,a,r,i){this.fundsS2cService=t,this.translate=e,this.dialogRef=a,this.data=r,this.message=i,this.formDataSource=[]}ngOnInit(){this.data||(this.data={}),this.formDataSource=[{type:"input",key:"reason",translateKey:"Reasons",value:this.data.reason,rules:[{message:""}]},{type:"select",key:"type",translateKey:"Type",value:this.data.type,options:[{label:"Income",value:"income"},{label:"Expenses",value:"expense"}],rules:[{message:""}]},{type:"input",key:"remarks",translateKey:"Remarks...",value:this.data.remarks,rules:[{message:""}]}]}handleSubmit(t){this.data.id?this.fundsS2cService.editPaymentRaisonMethod(t,this.data.id).subscribe(e=>{200===e.code?(this.message.success(this.translate.instant("payment_reason_successfully_updated")),this.dialogRef.close("success")):this.message.error(e.msg)},e=>{console.log(e)}):this.fundsS2cService.addPaymentRaison(t).subscribe(e=>{201===e.code?(this.dialogRef.close("success"),this.message.success(this.translate.instant("payment_reason_successfully_added"))):this.message.error(e.msg)},e=>{console.log(e)})}cancel(){this.dialogRef.close()}};hh.ctorParameters=()=>[{type:Sr.e},{type:Y.sK},{type:St.so},{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]},{type:ne.I}],hh=(0,j.gn)([(0,m.wA2)({selector:"app-add-payment-raison",template:'<div mat-dialog-content>\n <div class="w-100 d-flex justify-content-end">\n <button mat-icon-button [mat-dialog-close]="false">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <app-common-form [dataSource]="formDataSource" (onSubmit)="handleSubmit($event)"></app-common-form>\n</div>\n',styles:[""]})],hh);let $g=class{constructor(t,e,a,r,i){this.translate=t,this.dialog=e,this.fundsS2cService=a,this.message=r,this.dialogService=i,this.dataSource=[],this.formDataSource=[{type:"select",key:"type",translateKey:"Type",options:[{label:"Income",value:"income"},{label:"Expenses",value:"expense"}]}],this.columns=[{key:"reason",translationKey:"Reasons",type:"text"},{key:"typeTranslated",translationKey:"Type",type:"text"},{key:"remarks",translationKey:"Remarks...",type:"text"},{key:"actions",translationKey:"actions",type:"actions",list:["edit","delete"]}],this.componentName="s2cPaymentRaison",this.searchParams={type:"",page:1},this.pageInfo={page:1,pageSize:20,total:0},this.translate.onLangChange.subscribe(o=>{this.dataSource.map(s=>{s.typeTranslated=this.translate.instant("income"==s.type?"Income":"Expenses")})})}ngOnInit(){this.getPaymentRaisonList()}handleAdd(){this.dialog.open(hh).afterClosed().subscribe(e=>{"success"===e&&this.getPaymentRaisonList()})}handleSearch(t){this.searchParams={...t,page:1},this.getPaymentRaisonList()}handleReset(){this.searchParams={type:"",page:1},this.getPaymentRaisonList()}handlePageChange(t){this.pageInfo.page=t.page,this.searchParams.page=t.page,this.getPaymentRaisonList()}getPaymentRaisonList(){this.fundsS2cService.getPaymentRaisonV2(this.searchParams).subscribe(t=>{this.dataSource=t.data,this.dataSource.map(e=>{e.typeTranslated=this.translate.instant("income"==e.type?"Income":"Expenses")}),this.pageInfo.total=t.total},t=>{console.log(t)})}handleBtnClick({item:t,type:e}){"delete"===e&&this.dialogService.confirmDialog({title:this.translate.instant("common_delete_title"),message:this.translate.instant("common_delete_message"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&this.fundsS2cService.deletePaymentRaison(t.id).subscribe(r=>{204===r.code?(this.message.success(this.translate.instant("payment_reason_successfully_deleted")),this.getPaymentRaisonList()):this.message.error(r.msg)},r=>{console.log(r)})}),"edit"===e&&this.dialog.open(hh,{data:t}).afterClosed().subscribe(r=>{"success"===r&&this.getPaymentRaisonList()})}};$g.ctorParameters=()=>[{type:Y.sK},{type:St.uw},{type:Sr.e},{type:ne.I},{type:Bn.x}],$g=(0,j.gn)([(0,m.wA2)({selector:"app-payment-raison",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-list-table \n (onAddClick)="handleAdd()" \n [dataSource]="dataSource" \n [columns]="columns"\n [uniqueTableKey]="componentName" \n (onBtnClick)="handleBtnClick($event)"\n (onSubmit)="handleSearch($event)"\n (onReset)="handleReset()"\n [pageInfo]="pageInfo"\n (pageChange)="handlePageChange($event)"\n [formColumn]="formDataSource">\n </app-common-search-list-table>\n</div>',styles:["table {\n width: 100%;\n}\ntable th,\ntable td {\n overflow: hidden;\n width: 150px;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.bt-date-submit {\n color: white;\n padding: 10px;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;
1\n cursor: pointer;\n}\n.bt-act-revenu {\n display: flex;\n margin-bottom: 3%;\n margin-top: 2%;\n float: right;\n}"]})],$g);var vQ=F(7128);let mh=class{constructor(t,e,a,r,i,o,s,l,c,d,u){this.router=t,this.snackbar=e,this.formBuilder=a,this.chainService=r,this.productshopSerivce=i,this.categoryService=o,this.dialog=s,this.supplierService=l,this.datepipe=c,this.translate=d,this.imageService=u,this.catId=null,this.categoryname="",this.dataSourceImage=[],this.barC="",this.formData=new FormData}ngOnInit(){this.form=this.formBuilder.group({chain_id:[""],product_name:["",[V.kI.required]],cost_price:["",[V.kI.required]],unit_price:["",[V.kI.required]],tax_rate:[""],product_quantity:["",[V.kI.required]],category_id:[""],barcode:["",[V.kI.required]],range_id:[""],supplier_id:[""],warn_quantity:[""],expired_date:this.daaate,store_id:parseInt(localStorage.getItem("store_id")),img_url:[""],img_name:[""]}),this.ongetChainList(),this.getCategoriesList(),this.onGetSuppliers()}toFormData(t){const e=new FormData;for(const a of Object.keys(t)){const r=t[a];e.append(a,r)}return e}redirectTo(t){this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>this.router.navigate([t]))}onSearchChange(t){this.suppliers=this.suppliers.filter(e=>e.supplier_name.toLowerCase().indexOf(t.toLowerCase())>=0),0==t.length&&this.onGetSuppliers()}filterSupplier(t){this.suppliers=this.suppliers.filter(e=>e.name.indexof(t)>=0)}onGetSuppliers(){return this.supplierService.getSuppliersListS2C().subscribe(t=>{this.suppliersList=t,this.suppliers=this.suppliersList.data},t=>{console.log(t)})}ongetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chainList=t,this.chainData=this.chainList.data},t=>{console.log(t)})}getCategoriesList(){this.categoryService.getCategories().subscribe(t=>{this.categoriesList=t,this.categoryData=this.categoriesList.data})}openChooseCategory(){this.dialog.open(vQ.j).afterClosed().subscribe(e=>{this.categoryId=e.data.id,this.categoryname=e.data.category_name})}openGallery(){this.dialog.open(Ti,{}).afterClosed().subscribe(e=>{this.imageId=e,this.imageService.getProductGalleryById(this.imageId).subscribe(a=>{this.galleryImage=a,this.galleryImageData=this.galleryImage.data})})}onAddProduct(t,e){if(this.daaate=this.datepipe.transform(t,"yyyy-MM-dd"),0===this.barC.length&&(this.barC=e),this.form.get("barcode").setValue(this.barC),this.form.get("category_id").setValue(this.categoryId),this.form.get("expired_date").setValue(this.daaate),typeof this.galleryImage<"u"&&this.galleryImageData.img_url&&(this.form.get("img_url").setValue(this.galleryImageData.img_url),this.form.get("img_name").setValue(this.galleryImageData.img_name)),0==this.form.value.chain_id.length){var a=this.chainData[0].id;this.form.get("chain_id").setValue(a)}this.formData=this.toFormData(this.form.value),this.form.valid&&this.productshopSerivce.addNewProduct(this.formData).subscribe(r=>{this.snackbar.open("Chinese"===this.translate.currentLang?"\u4ea7\u54c1\u5df2\u6210\u529f\u6dfb\u52a0\u5230\u8d2d\u7269\u8f66":"Italian"===this.translate.currentLang?"Prodotto aggiunto con successo al tuo carrello":"Product added to your cart successfully","",{duration:1e3}),this.router.navigate(["/shop/products-list-s2c"])})}getFileChange(t){const e=this.resultInput.nativeElement;if(t.target.files.length>0){const a=t.target.files[0];e.value=a.name,this.form.get("product_image").setValue(a),this.formData.append("product_image",this.form.get("product_image").value)}}onGenerateBarcode(t){return t.preventDefault(),this.productshopSerivce.generateBarcode().subscribe(e=>{this.bar=e,this.barData=this.bar.data,this.barC=this.barData},e=>{console.log(e)})}};mh.ctorParameters=()=>[{type:It.F0},{type:We.ux},{type:V.qu},{type:Oe.l},{type:Je.r},{type:Ee.G},{type:St.uw},{type:vn.e},{type:Q.uU},{type:Y.sK},{type:Wf.C}],mh.propDecorators={resultInput:[{type:m.i9L,args:["resultInput"]}],expired_date:[{type:m.i9L,args:["expired_date"]}]},mh=(0,j.gn)([(0,m.wA2)({selector:"app-quick-add-product",template:'<div class=" mainContainer p-3 mb-5 bg-white rounded">\n\n <div>\n <form action="" [formGroup]="form">\n <div>\n <p style="size: 50px;">{{"Quick Add New Product"|translate}}</p>\n <mat-divider style="margin-bottom: 30px;"></mat-divider>\n </div>\n <div class="row">\n <div class="col-md-6">\n <div class="form-group">\n <mat-form-field appearance="outline" class="form-element" >\n <mat-icon matSuffix>add_shopping_cart</mat-icon>\n <mat-label>{{\'Product-Name\' | translate}}<span style="color: red;">*</span></mat-label>\n <input type="text" matInput placeholder="Product Name" #product_name formControlName="product_name" >\n\n </mat-form-field>\n </div>\n <div class="form-group">\n <mat-form-field appearance="outline" class="form-element">\n <mat-icon matSuffix>add_shopping_cart</mat-icon>\n <mat-label>{{\'goods-shelf-No.\'| translate}}</mat-label>\n <input type="text" matInput placeholder=" \'goods-shelf-No.\'| translate" #range_id formControlName="range_id" >\n\n </mat-form-field>\n </div>\n </div>\n <div class="col-md-6">\n <div class="form-group" style="height: 100%;">\n \x3c!--\n <button mat-raised-button style="background-color: #cacaca;color : black; float: right; vertical-align: center; height: 55px;\n margin-top: 5px;" >\n Image\n </button> --\x3e\n <div class="file-upload" (click)="openGallery()">\n \x3c!-- <div class="uploadImage">\n <label id="imageBtn">\n <section class="uploadIconContainer" [ngStyle]="{\'background-color\': \'#46b7d7\'}" (click)="fileInput.click()">\n <mat-icon [ngStyle]="{\'color\': \'white\'}">file_upload</mat-icon>\n </section>\n </label>\n <input class="none" #fileInput type="file" name="product_image" (change)="getFileChange($event)"\n style="display: none;"\n />\n <mat-form-field class="example-full-width" appearance="outline" style="width: 95%;">\n <mat-label>{{\'Product-image\' | translate}}</mat-label>\n <input matInput type="text" #resultInput readonly>\n </mat-form-field>\n </div> --\x3e\n <input class="none"(click)="openGallery()" style="display: none;" />\n <input matInput class="file-input" type="text" #resultInput readonly>\n <img [src]="galleryImageData.img_url" *ngIf="galleryImageData" class="pc" id="pc" height="100" width="100">\n <div *ngIf="!galleryImageData" class="card-subtitle">{{"Choose your Image here"|translate}}</div>\n </div>\n </div>\n </div>\n</div>\n\n\n <div class="form-group" style=" display: flex; align-items: end; justify-content: space-between;">\n\n\n <mat-form-field appearance="outline" class="form-element" style="width: 80%;">\n <mat-icon matSuffix>qr_code</mat-icon>\n <mat-label>{{"product_barcode" | translate}}<span style="color: red;">*</span> </mat-label>\n\n\n\n\n <input type="text" #barcode [value]="barC" matInput placeholder="BarCode Product" formControlName="barcode" >\n\n\n </mat-form-field>\n\n <button mat-raised-button style="background-color: #cacaca; color: black; float: right; vertical-align: center; width: 15%; padding: 12px;"\n (click)="onGenerateBarcode($event)">\n <i class="fa fa-barcode" aria-hidden="true"></i>\n\n {{\'generate_barcode\' | translate}}\n </button>\n\n\n\n\n\n </div>\n\n\n \x3c!--\n <div class="uploadImage">\n <label id="imageBtn">\n <section class="uploadIconContainer" [ngStyle]="{\'background-color\': \'#a00000\'}" (click)="fileInput.click()">\n <mat-icon [ngStyle]="{\'color\': \'white\'}">file_upload</mat-icon>\n </section>\n </label>\n <input class="none" #fileInput type="file" name="product_image" (change)="getFileChange($event)"\n style="display: none;" />\n <mat-form-field class="example-full-width" appearance="outline">\n <mat-label>{{\'Product-image\' | translate}}</mat-label>\n <input matInput type="text" #resultInput readonly>\n </mat-form-field>\n </div>\n --\x3e\n\n <div class="form-group">\n <mat-form-field appearance="outline" class="form-element">\n <mat-label>
1{{\'Cost-PriceProduct\' | translate}}<span style="color: red;" >*</span></mat-label>\n <input type="text" matInput placeholder="Cost Price Product" #cost_price formControlName="cost_price">\n\n </mat-form-field>\n </div>\n\n <div class="form-group">\n\n <mat-form-field appearance="outline" class="form-element">\n <mat-label> {{\'Unit-PriceProduct\' | translate}}<span style="color: red;" >*</span></mat-label>\n <input type="text" matInput placeholder="{{\'Unit-PriceProduct\' | translate}}" #unit_price formControlName="unit_price">\n </mat-form-field>\n </div>\n\n\n\n <div class="form-group">\n <mat-form-field appearance="outline" class="form-element">\n <mat-label>{{\'Taxe-RateProduct\' | translate}}<span style="color: red;">*</span></mat-label>\n \x3c!-- <input matInput placeholder="{{\'Tax Rate\' | translate}}" #tax_rate formControlName="tax_rate"> --\x3e\n <mat-select #tax_rate formControlName="tax_rate">\n <mat-option value="1">1</mat-option>\n <mat-option value="2">2</mat-option>\n <mat-option value="3">3</mat-option>\n <mat-option value="4">4</mat-option>\n <mat-option value="5">5</mat-option>\n <mat-option value="6">6</mat-option>\n <mat-option value="7">7</mat-option>\n <mat-option value="8">8</mat-option>\n <mat-option value="9">9</mat-option>\n <mat-option value="10">10</mat-option>\n <mat-option value="11">11</mat-option>\n <mat-option value="12">12</mat-option>\n <mat-option value="13">13</mat-option>\n <mat-option value="14">14</mat-option>\n <mat-option value="15">15</mat-option>\n <mat-option value="16">16</mat-option>\n <mat-option value="17">17</mat-option>\n <mat-option value="16">18</mat-option>\n <mat-option value="19">19</mat-option>\n <mat-option value="20">20</mat-option>\n <mat-option value="21">21</mat-option>\n <mat-option value="22">22</mat-option>\n <mat-option value="23">23</mat-option>\n <mat-option value="24">24</mat-option>\n <mat-option value="25">25</mat-option>\n <mat-option value="26">26</mat-option>\n <mat-option value="27">27</mat-option>\n <mat-option value="28">28</mat-option>\n <mat-option value="29">29</mat-option>\n <mat-option value="30">30</mat-option>\n\n </mat-select>\n </mat-form-field>\n </div>\n <div class="form-group">\n <mat-form-field appearance="outline" class="form-element">\n <mat-icon matSuffix> Money </mat-icon>\n <mat-label>{{\'warn_quant\' | translate}}</mat-label>\n <input matInput placeholder="Warning Quantity" #warn_quantity formControlName="warn_quantity">\n\n </mat-form-field>\n </div>\n\n <div class="form-group">\n <mat-form-field appearance="outline" class="form-element">\n <mat-icon matSuffix> plus_one</mat-icon>\n <mat-label> {{\'Product-Quantity\' | translate}}</mat-label>\n <input matInput placeholder="Product" #product_quantity formControlName="product_quantity">\n\n </mat-form-field>\n </div>\n <div class="form-group">\n <mat-form-field appearance="outline" class="form-element">\n <mat-label>{{\'Supplier\' | translate}}</mat-label>\n <mat-select #supplier_id formControlName="supplier_id">\n <input matInput style="padding: 8px 8px 8px 8px;" type="search" #supp\n (input)="onSearchChange($event.target.value)">\n <mat-option *ngFor="let supp of suppliers" [value]="supp.id"> {{supp.supplier_name}}</mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n <div class="form-group">\n\n <mat-form-field class="example-full-width" appearance="outline" style="width: 85%;">\n <mat-label>{{\'Category\' | translate}} <span style="color: red;">*</span></mat-label>\n <input matInput #category_id [value]="categoryname" readonly>\n </mat-form-field>\n <mat-form-field class="example-full-width" appearance="outline" style="display: none;">\n <input matInput #category_id [value]="categoryId" formControlName="category_id" readonly>\n </mat-form-field>\n <button mat-raised-button\n style="background-color: #cacaca; color: black;float: right; vertical-align: center; margin-top: 4px;padding: 10px 10px 10px 10px;"\n (click)="openChooseCategory()">\n {{ "Choose-Category" | translate}}\n </button>\n </div>\n <div class="form-group">\n <mat-form-field appearance="outline" class="form-element">\n <mat-icon matSuffix>storefront</mat-icon>\n <mat-label>{{\'Chose-a-chain\' | translate}}</mat-label>\n <mat-select #chain_id formControlName="chain_id">\n <mat-option *ngFor="let chain of chainData" [value]="chain.id"> {{chain.chain_name}}</mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n <div class="form-group">\n <mat-form-field appearance="outline" class="form-element">\n\n <mat-label>{{\'Expired date\' | translate}}</mat-label>\n <input matInput [matDatepicker]="dp" placeholder="{{\'Expired date\'|translate}}" #expired_date>\n <mat-datepicker-toggle matSuffix [for]="dp"></mat-datepicker-toggle>\n <mat-datepicker #dp></mat-datepicker>\n </mat-form-field>\n </div>\n\n\n\n\n <button (click)="onAddProduct(expired_date.value,barcode.value)" type="submit" mat-raised-button\n style="background-color: #a00000; color: white; margin-right: 10px;" > <i class="fa fa-check"\n aria-hidden="true"></i>\n\n {{\'Submit\'| translate}}</button>\n <button routerLink="/shop/products-list-s2c" mat-raised-button style="background-color: #cacaca; color: black"><i\n class="fa fa-arrow-left" aria-hidden="true"></i>\n {{\'Back\' | translate}}</button>\n \x3c!-- </div> --\x3e\n </form>\n </div>\n</div>\n',styles:['.mainContainer {\n background-color: white;\n margin-left: 20px;\n margin-right: 20px;\n}\n\nmat-form-field {\n width: 100%;\n}\n\n.mat-raised-button {\n padding: 8px 8px 8px 8px;\n color: white;\n}\n\n.uploadImage {\n display: flex;\n flex-direction: row-reverse;\n}\n\n.uploadImage #imageBtn {\n margin-top: 15px;\n margin-left: 8px;\n}\n\n.uploadImage #imageBtn .uploadIconContainer {\n display: flex;\n justify-content: center;\n border-radius: 50%;\n padding: 8px;\n}
1\n\n.uploadImage #imageBtn .uploadIconContainer:hover {\n cursor: pointer;\n}\n\nhtml,\n.container {\n max-width: 1250px;\n margin: 30px auto 30px;\n padding: 0 !important;\n width: 90%;\n background-color: #fff;\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.1);\n}\n\nheader {\n background: #eee;\n background-image: url("https://images.pexels.com/photos/1731427/pexels-photo-1731427.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");\n background-repeat: no-repeat;\n background-position: center;\n background-size: cover;\n background-color: red;\n height: 250px;\n}\n\nheader i {\n position: relative;\n cursor: pointer;\n right: -96%;\n top: 25px;\n font-size: 18px !important;\n color: #fff;\n}\n\n@media (max-width: 800px) {\n header {\n height: 150px;\n }\n\n header i {\n right: -90%;\n }\n}\n\n.main {\n padding: 20px 20px 0px 20px;\n}\n\n.left {\n display: flex;\n align-items: center;\n flex-direction: column;\n}\n\n.photo {\n width: 200px;\n height: 200px;\n margin-top: -120px;\n border-radius: 100px;\n border: 4px solid #fff;\n}\n\n.active {\n width: 20px;\n height: 20px;\n border-radius: 20px;\n position: absolute;\n right: calc(50% - 70px);\n top: 75px;\n background-color: #ffc107;\n border: 3px solid #fff;\n}\n\n@media (max-width: 990px) {\n .active {\n right: calc(50% - 60px);\n top: 50px;\n }\n}\n\n.name {\n margin-top: 20px;\n font-family: "Poppins";\n font-weight: 600;\n font-size: 18pt;\n color: #777;\n}\n\n.info {\n margin-top: -5px;\n margin-bottom: 5px;\n font-family: "Poppins", sans-serif;\n font-size: 11pt;\n color: #aaa;\n}\n\n.stats {\n margin-top: 25px;\n text-align: center;\n padding-bottom: 20px;\n border-bottom: 1px solid #ededed;\n font-family: "Poppins", sans-serif;\n}\n\n.number-stat {\n padding: 0px;\n font-size: 14pt;\n font-weight: bold;\n font-family: "Poppins", sans-serif;\n color: #aaa;\n}\n\n.desc-stat {\n margin-top: -15px;\n font-size: 10pt;\n color: #bbb;\n}\n\n.desc {\n text-align: center;\n margin-top: 25px;\n margin: 25px 40px;\n color: #999;\n font-size: 11pt;\n font-family: "Poppins";\n padding-bottom: 25px;\n border-bottom: 1px solid #ededed;\n}\n\n.social {\n margin: 5px 0 12px 0;\n text-align: center;\n display: inline-block;\n font-size: 20pt;\n}\n\n.social i {\n cursor: pointer;\n margin: 0 15px;\n}\n\n.social i:nth-child(1) {\n color: #4267b2;\n}\n\n.social i:nth-child(2) {\n color: #1da1f2;\n}\n\n.social i:nth-child(3) {\n color: #bd081c;\n}\n\n.social i:nth-child(4) {\n color: #36465d;\n}\n\n.right {\n padding: 0 25px 0 25px !important;\n}\n\n.nav {\n display: inline-flex;\n}\n\n.nav li {\n margin: 40px 30px 0 10px;\n cursor: pointer;\n font-size: 13pt;\n text-transform: uppercase;\n font-family: "Poppins", sans-serif;\n font-weight: 700;\n color: #cacaca;\n}\n\n.nav li:hover,\n.nav li:nth-child(1) {\n color: #c90303;\n border-bottom: 2px solid #c90303;\n}\n\n.follow {\n position: absolute;\n right: 8%;\n top: 35px;\n font-size: 11pt;\n background-color: #cacaca;\n color: #fff;\n padding: 8px 15px;\n cursor: pointer;\n transition: all 0.4s;\n font-family: "Poppins", sans-serif;\n font-weight: 400;\n}\n\n.follow:hover {\n box-shadow: 0 0 15px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 0, 0, 0.2);\n}\n\n@media (max-width: 990px) {\n .nav {\n display: none;\n }\n\n .follow {\n width: 50%;\n margin-left: 25%;\n display: block;\n position: unset;\n text-align: center;\n }\n}\n\n.gallery {\n margin-top: 35px;\n}\n\n.gallery div {\n margin-bottom: 30px;\n}\n\n.gallery img {\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.1);\n width: auto;\n height: auto;\n cursor: pointer;\n max-width: 100%;\n}\n\n.containerCard {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n}\n\n.card {\n background-color: #fff;\n border-radius: 0.5rem;\n width: 90%;\n}\n\n.card .card-body {\n padding: 3.5rem 1.25rem;\n}\n\n.card .card-body .card-title {\n color: #cacaca;\n font-size: 1.25rem;\n font-weight: 700;\n text-align: center;\n margin-bottom: 0.25rem;\n}\n\n.card .card-body .card-subtitle {\n color: #777;\n font-weight: 500;\n text-align: center;\n}\n\n.image-upload {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n padding: 4%;\n /* margin-top: 2rem; */\n border: 2px dashed #cacaca;\n border-radius: 0.5rem;\n transition: background-color 0.25s ease-out;\n}\n\n.file-upload {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n padding: 5%;\n /* margin-top: 2rem; */\n border: 2px dashed #cacaca;\n border-radius: 0.5rem;\n transition: background-color 0.25s ease-out;\n height: 80%;\n}\n\n.file-upload:hover {\n background-color: #dbedff;\n}\n\n.file-upload .file-input {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n outline: none;\n cursor: pointer;\n}\n\n.icon {\n width: 75px;\n margin-bottom: 1rem;\n}\n\n@media (max-width: 576px) {\n .icon {\n width: 50px;\n }\n}\n\n.mat-dialog-content .productItemForm {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(0, 1fr));\n grid-gap: 1em;\n gap: 1em;\n overflow: hidden;\n}\n\n@media screen and (max-width: 900px) {\n .mat-dialog-content .productItemForm {\n display: flex;\n flex-direction: column;\n }\n}\n\n.mat-dialog-content .productItemForm .generalInfos {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n grid-template-rows: auto;\n grid-gap: 1em;\n gap: 1em;\n justify-content: center;\n overflow: auto;\n}\n\n@media screen and (max-width: 576px) {\n .mat-dialog-content .productItemForm .generalInfos {\n display: flex;\n flex-direction: column;\n }\n}
1\n\n.mat-dialog-content .productItemForm .itemCriteria {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n grid-template-rows: max-content;\n grid-gap: 1em;\n gap: 1em;\n justify-content: center;\n overflow: auto;\n}\n\n@media screen and (max-width: 576px) {\n .mat-dialog-content .productItemForm .itemCriteria {\n display: flex;\n flex-direction: column;\n }\n}\n\n.mat-dialog-content .productItemForm .imagesUploadSection {\n display: flex;\n flex-direction: column;\n}\n\n.mat-dialog-content .productItemForm .imagesUploadSection span {\n margin-bottom: 5px;\n font-family: Roboto;\n}\n\n.mat-dialog-content .productItemForm .imagesUploadSection .selectedImages {\n display: grid;\n margin-top: 10px;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n align-items: flex-start;\n overflow: auto;\n max-height: 250p;\n}\n\n.mat-dialog-content .productItemForm .imagesUploadSection .selectedImages mat-card {\n display: flex;\n position: relative;\n background-color: #e3e3e3;\n height: 150px;\n margin: 5px;\n padding: 8px;\n box-sizing: border-box;\n justify-content: center;\n align-items: center;\n}
1\n\n.mat-dialog-content .productItemForm .imagesUploadSection .selectedImages mat-card.imageBackgroundStyle {\n background-position: center;\n background-size: contain;\n background-repeat: no-repeat;\n}\n\n.mat-dialog-content .productItemForm .imagesUploadSection .selectedImages mat-card mat-icon {\n position: absolute;\n top: 5px;\n right: 5px;\n cursor: pointer;\n color: #e3e3e3;\n}\n\n.mat-dialog-content .productItemForm .imagesUploadSection #imagesSelect {\n height: 100px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-style: dashed;\n border-color: #e3e3e3;\n}\n\n.mat-dialog-content .productItemForm .imagesUploadSection #imagesSelect mat-icon {\n width: 48px;\n height: 48px;\n font-size: 48px;\n color: #e3e3e3;\n}\n\n.mat-dialog-content .productItemForm mat-form-field {\n width: 100%;\n}\n\n.mat-dialog-content .inputContainer {\n display: flex;\n flex-direction: row;\n}\n\n.mat-dialog-content .inputContainer .selectedColor {\n width: 25px;\n border-radius: 3px;\n margin-right: 5px;\n}\n\n.mat-dialog-content .inputContainer mat-select {\n display: flex;\n width: unset;\n}\n\n.mat-dialog-content .inputContainer mat-select .mat-select-trigger {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n\n.mat-dialog-content .inputContainer mat-select .mat-select-trigger .mat-select-value {\n max-width: unset;\n}']})],mh);let fh=class{constructor(t,e,a,r,i,o){this.modal=t,this.userService=e,this.shopManagerService=a,this.shopOperatorService=r,this.translate=i,this.snackbar=o,this.view=Rs.wr.Month,this.CalendarView=Rs.wr,this.viewDate=new Date,this.taskEvent=[],this.refresh=new Vn.xQ,this.events=[],this.activeDayIsOpen=!1,this.user="",this.manager=!1,this.operator=!1}
1ngOnInit(){this.onGetTasks(),this.getShopManagersList(),this.getShopOperatorsList()}onGetTasks(){return this.userService.getTasks().subscribe(t=>{this.tasks=t,this.tasksData=this.tasks.data,this.tasksData.forEach(e=>{var a={id:e.id,start:new Date(e.start_time),title:e.task_name,cssClass:e.assigned_to.first_name+" "+e.assigned_to.last_name,draggable:!1,meta:e.comments};this.events.push(a),this.view=Rs.wr.Month})})}getShopOperatorsList(){return this.shopOperatorService.getOperatorList().subscribe(t=>{this.shopOperators=t,this.shopoperatorsList=this.shopOperators.data},t=>{console.log(t)})}dayClicked({date:t,events:e}){(0,LO.Z)(t,this.viewDate)&&((0,NO.Z)(this.viewDate,t)&&!0===this.activeDayIsOpen||0===e.length?this.activeDayIsOpen=!1:this.activeDayIsOpen=!0,this.viewDate=t)}handleEvent(t,e){this.modalData={event:e,action:t},this.modal.open(this.modalContent,{size:"lg"})}addEvent(){this.events=[...this.events,{title:"",start:new Date,cssClass:"",draggable:!0}]}deleteEvent(t){this.userService.deletetask(t).subscribe(e=>{this.snackbar.open("Chinese"===this.translate.currentLang?"\u5220\u9664\u6210\u529f":"Italian"===this.translate.currentLang?"Eliminato con successo":"Deleted Successfully","OK",{duration:2e3}),this.events=[],this.onGetTasks()})}setView(t){this.view=t}closeOpenMonthViewDay(){this.activeDayIsOpen=!1}addTask(t,e,a,r="no description"){var i={task_name:e,task_description:r,start_time:a,assigned_to:t};this.userService.addtask(i).subscribe(o=>{this.message=o,"task added successfully"===this.message.data&&(this.snackbar.open("Chinese"===this.translate.currentLang?"\u6210\u529f\u6dfb\u52a0":"Italian"===this.translate.currentLang?" Aggiunto con successo":"Added Successfully","OK",{duration:1e3}),this.events=[],this.onGetTasks(),this.view=Rs.wr.Month)})}getShopManagersList(){return this.shopManagerService.getShopMangerList(status).subscribe(t=>{this.shopManagers=t,this.shopManagersList=this.shopManagers.data},t=>{console.log(t)})}onItemChange(t){"operator"==t?(this.manager=!1,this.operator=!0):(this.manager=!0,this.operator=!1)}addComment(t,e){var a={comment:e};this.userService.addComment(t,a).subscribe(r=>{this.messageComment=r;this.messageComment.data;"task comment added successfully"&&(this.snackbar.open("Chinese"===this.translate.currentLang?"\u6210\u529f\u6dfb\u52a0":"Italian"===this.translate.currentLang?" Aggiunto con successo":"Added Successfully","OK",{duration:1e3}),this.activeDayIsOpen=!1)})}};fh.ctorParameters=()=>[{type:Qs},{type:bo.K},{type:Gf.S},{type:FO.f},{type:Y.sK},{type:We.ux}],fh.propDecorators={modalContent:[{type:m.i9L,args:["modalContent",{static:!0}]}]},fh=(0,j.gn)([(0,m.wA2)({selector:"app-shop-calendar",template:'<div class="calendar">\n <div class="row">\n <div class="col-md-3">\n <div class="btn-group">\n <div class="btn btn-primary" mwlCalendarPreviousView [view]="view" [(viewDate)]="viewDate"\n (viewDateChange)="closeOpenMonthViewDay()">\n Previous\n </div>\n <div class="btn btn-outline-secondary" mwlCalendarToday [(viewDate)]="viewDate">\n Today\n </div>\n <div class="btn btn-primary" mwlCalendarNextView [view]="view" [(viewDate)]="viewDate"\n (viewDateChange)="closeOpenMonthViewDay()">\n Next\n </div>\n </div>\n </div>\n <div class="col-md-7 text-center">\n <h3>{{ viewDate | calendarDate:(view + \'ViewTitle\'):\'en\' }}</h3>\n </div>\n <div class="col-md-2">\n <div class="btn-group">\n <div class="btn btn-primary" (click)="setView(CalendarView.Month)" [class.active]="view === CalendarView.Month">\n Month\n </div>\n <div class="btn btn-primary" (click)="setView(CalendarView.Week)" [class.active]="view === CalendarView.Week">\n Week\n </div>\n <div class="btn btn-primary" (click)="setView(CalendarView.Day)" [class.active]="view === CalendarView.Day">\n Day\n </div>\n </div>\n </div>\n </div>\n <br />\n <div [ngSwitch]="view" *ngIf="tasksData">\n <mwl-calendar-month-view *ngSwitchCase="CalendarView.Month" [viewDate]="viewDate" [events]="events"\n [refresh]="refresh" [activeDayIsOpen]="activeDayIsOpen" (dayClicked)="dayClicked($event.day)"\n (eventClicked)="handleEvent(\'Clicked\', $event.event)">\n </mwl-calendar-month-view>\n <mwl-calendar-week-view *ngSwitchCase="CalendarView.Week" [viewDate]="viewDate" [events]="events"\n [refresh]="refresh" (eventClicked)="handleEvent(\'Clicked\', $event.event)">\n </mwl-calendar-week-view>\n <mwl-calendar-day-view *ngSwitchCase="CalendarView.Day" [viewDate]="viewDate" [events]="events ? events :\'\'"\n [refresh]="refresh">\n </mwl-calendar-day-view>\n </div>\n\n \x3c!-- Everything you see below is just for the demo, you don\'t need to include it in your app --\x3e\n\n <br /><br /><br />\n\n <h3>\n Tasks\n <button class="btn btn-primary float-right" (click)="addEvent()">\n Add new\n </button>\n <div class="clearfix"></div>\n </h3>\n\n <div class="table-responsive">\n <table class="table table-bordered">\n <thead>\n <tr>\n \x3c!-- <th>From </th> --\x3e\n <th>To </th>\n <th>
1Name</th>\n \x3c!-- <th>Description</th> --\x3e\n <th>Date</th>\n <th>Remove</th>\n </tr>\n </thead>\n\n <tbody>\n <tr *ngFor="let event of events">\n \x3c!-- <td>\n <input *ngIf="event.draggable == false" type="text" class="form-control" [(ngModel)]="event.color"\n readonly />\n\n </td> --\x3e\n <td>\n <input matInput *ngIf="event.draggable == false" type="text" class="form-control" [(ngModel)]="event.cssClass"\n readonly />\n <div *ngIf="event.draggable == true">\n\n\n <div style="display: flex;">\n <div class="user-item">\n <input type="radio" id="manager" name="user" value="manager" style="margin-right: 4px;"\n (change)="onItemChange($event.target.value)" />\n <label for="manager">Manager</label>\n </div>\n <div class="user-item">\n <input type="radio" id="operator" name="user" value="operator" style="margin-right: 4px;"\n (change)="onItemChange($event.target.value)" />\n <label for="operator">Operator</label>\n\n </div>\n\n </div>\n <select class="form-control" *ngIf="manager" [(ngModel)]="user">\n <option value="">Please choose Manager</option>\n <option *ngFor="let manager of shopManagersList" [value]="manager.id"> {{manager.first_name}}</option>\n\n </select>\n <select class="form-control" *ngIf="operator" [(ngModel)]="user">\n <option value="">Please choose Operator</option>\n <option *ngFor="let operator of shopoperatorsList" [value]="operator.id"> {{operator.first_name}}\n </option>\n\n </select>\n\n </div>\n\n </td>\n <td>\n <input *ngIf="event.draggable == false" type="text" class="form-control" [(ngModel)]="event.title" readonly />\n <input *ngIf="event.draggable == true" type="text" class="form-control" [(ngModel)]="event.title" />\n </td>\n \x3c!-- <td>\n <input *ngIf="event.draggable == false" type="text" class="form-control" [(ngModel)]="event.end"\n readonly />\n <input *ngIf="event.draggable == true" type="text" class="form-control" [(ngModel)]="event.end" />\n\n </td> --\x3e\n <td>\n\n <input class="form-control" *ngIf="event.draggable == false" [(ngModel)]="event.start" readonly>\n <input *ngIf="event.draggable == true" type="date" class="form-control" [(ngModel)]="event.start" />\n\n </td>\n\n <td>\n <button *ngIf="event.draggable == true" class="btn btn-success"\n (click)="addTask(user,event.title,event.start)" style="margin-right: 5px;">\n <i class="material-icons icon-green">check_circle\n </i>\n </button>\n <button class="btn btn-danger" (click)="deleteEvent(event.id)">\n <i class="material-icons icon-green">delete\n </i>\n </button>\n\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <ng-template #modalContent let-close="close">\n <div class="modal-header">\n <h5 class="modal-title">Event action occurred</h5>\n <button type="button" class="close" (click)="close()">\n <span aria-hidden="true">×</span>\n </button>\n </div>\n <div class="modal-body">\n \x3c!-- <div>\n Action:\n <pre>{{ modalData?.action }}</pre>\n </div> --\x3e\n <div>\n Comment:\n <div style="display: flex;">\n <input type="text" class="form-control" style="width: 80%;margin-right:2%" (keyup)="refresh.next()" #comment />\n <button class="btn btn-success btn-sm" (click)="addComment(modalData?.event.id,comment.value)"\n style="margin-right: 5px;">\n \x3c!-- <i class="material-icons icon-green">check_circle\n </i> --\x3e Add Comment\n </button>\n </div>\n\n\n </div>\n <div>\n Task:\n <pre>{{ modalData?.event | json }}</pre>\n </div>\n\n </div>\n <div class="modal-footer">\n <button type="button" class="btn btn-outline-secondary" (click)="close()">\n OK\n </button>\n </div>\n </ng-template>\n</div>\n',styles:["h3 {\n margin: 0 0 10px;\n}\n\npre {\n background-color: #f5f5f5;\n padding: 15px;\n}\n\n.calendar {\n margin: 5%;\n}\n\n.user-item {\n margin: 2%;\n}\n\ntable td, table th {\n width: 18%;\n}"]})],fh);var XO=F(50623),xQ=F(23267);let Kc=class{constructor(t,e,a,r,i,o,s,l){this.productService=t,this.datepipe=e,this.router=a,this.translate=r,this.purchaseService=i,this.excelService=o,this.configService=s,this.message=l,this.isLinear=!1,this.code=localStorage.getItem("curr"),this.cost_price=localStorage.getItem("cost_price"),this.barcodeInit="",this.keywordInit="",this.pager={},this.pager2={},this.filtred=!1,this.page=1,this.displayedColumns=["select","product_name","product_barcode","product_quantity","cost_price"],this.selection=new ll.Ov(!0,[]),this.displayedColumns1=["product_name","product_barcode","product_quantity","online_quantity"],this.rempli=!1,this.exportPurchase=[],this._online=[],this.fileName="ExcelSheet.xlsx",this.formDataSource=[{type:"supplierSelect",key:"supplier_id",rules:[{required:!0,message:"required"}]},{type:"chainSelect",key:"chain_id",isShowAll:!1,rules:[{required:!0,message:"required"}]},{type:"payment",key:"payment_method_id",rules:[{required:!0,message:"required"}]}
1,{type:"dateTime",key:"order_date",translateKey:"Start-date",rules:[{required:!0,message:"required"}]},{type:"select",key:"payment_status",translateKey:"common_paymentStatus",options:[{label:"common_paymentStatus_paid",value:"paid"},{label:"common_paymentStatus_not paid",value:"not paid"}],rules:[{required:!0,message:"required"}]}],this.columns=[{type:"checkbox",key:"checkbox",translationKey:""},{type:"text",key:"product_name",translationKey:"common_productName"},{type:"text",key:"product_barcode",translationKey:"Barcode"},{type:"text",key:"product_quantity",translationKey:"common_productQuantity"},{type:"price",key:"cost_price",translationKey:"Cost-Price"}],this.searchFormDataSource=[{type:"input",translateKey:"Search-byBarcode",key:"barcode"},{type:"categorySelect",key:"category_id"}],this.searchParams={category_id:"",barcode:"",page:1},this.componentName="shopAddQuickPurchaseComponent",this.pageInfo={page:1,pageSize:20,total:0},this.dataSource=[],this.checkItems={},this.renderCheckItems=[];let c=this.configService.getConfig();this.baseUrl=`${c.baseUrl}`,this.baseUrlS2C=`${c.baseUrlS2C}`}changeQty(t,e){var a=0;if(0==this._online.length){var r={product_id:e,purchased_quantity:t};this._online.push(r)}else if(this._online.forEach(o=>{o.product_id==e&&(a=1,o.purchased_quantity=t)}),0==a){var i={product_id:e,purchased_quantity:t};this._online.push(i)}this._online.length===this.selecteditems.length&&(this.rempli=!0)}changePurchase(t,e,a,r,i){var o=0;if(0==this.exportPurchase.length){var s={product_id:e,product_barcode:a,purchased_quantity:t,supplier:r,product_name:i};this.exportPurchase.push(s)}else if(this.exportPurchase.forEach(c=>{c.product_id==e&&(o=1,c.purchased_quantity=t)}),0==o){var l={product_id:e,product_barcode:a,purchased_quantity:t,supplier:r,product_name:i};this.exportPurchase.push(l)}}onSubmit(t,e,a,r,i){}onexportAsExcelFile(){this.excelService.exportAsExcelFile(this.exportPurchase,"Quick Purchase")}ngOnInit(){this.getProdsS2CList()}getProdsS2CList(){this.productService.getProdsListS2C2(this.searchParams).subscribe(t=>{this.dataSource=t.data,this.pageInfo.total=t.total},t=>{console.log(t)})}handleSubmit(){const t=this.commonForm.handleSubmit();if("error"!==t){var e={products:this.renderCheckItems.map(a=>({product_id:a.id,purchased_quantity:a.purchased_quantity})),...t};this.purchaseService.addPurchasedQuick2(e).subscribe(a=>{201===a.code?(this.message.success(this.translate.instant("quick_purchase_successfully_added")),this.router.navigate(["/shop/purchase/quick-purchase"])):this.message.error(this.translate.instant(a.msg))},a=>{console.log(a)})}else this.message.error("error")}handleSearch(t){this.searchParams={...t,page:1},this.getProdsS2CList()}handleCheckItem(t){try{this.checkItems[`page${this.pageInfo.page}`]=t;let e=[];for(let a in this.checkItems)e=[...e,...this.checkItems[a]];this.renderCheckItems=e}catch(e){console.log(e)}}handleReset(){this.searchParams={category_id:"",barcode:"",page:1},this.getProdsS2CList()}handleChangePaginator(t){this.pageInfo.page=t.page,this.searchParams.page=t.page,this.getProdsS2CList()}btnNextClick(){this.stepper.next()}btnPrevClick(){this.stepper.previous()}handleDelete(t){this.renderCheckItems=this.renderCheckItems.filter(e=>t.id!==e.id)}handleChangeInput({event:t,item:e}){this.renderCheckItems.find(r=>r.id===e.id).purchased_quantity=t.target.value}};Kc.ctorParameters=()=>[{type:Je.r},{type:Q.uU},{type:It.F0},{type:Y.sK},{type:Oi.B},{type:_o.x},{type:Yn.E},{type:ne.I}],Kc.propDecorators={sort:[{type:m.i9L,args:[Ma.YE,{static:!0}]}],drawer:[{type:m.i9L,args:[xQ.jA,{static:!0}]}],stepper:[{type:m.i9L,args:[Pk.ae,{static:!0}]}],commonForm:[{type:m.i9L,args:[XO.V,{static:!0}]}]},Kc=(0,j.gn)([(0,m.wA2)({selector:"app-add-quick-purchase",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <mat-horizontal-stepper linear #stepper>\n <mat-step>\n <ng-template matStepLabel>{{"Basic information"|translate}}</ng-template>\n <app-common-form #appCommonForm [isShowSubmitBtn]="false" [columns]="2" [dataSource]="formDataSource">\n </app-common-form>\n <div class="row mt-3 d-flex justify-content-center">\n <div class="col-12 text-center">\n <button class="btn btn-primary btn-min-width" (click)="btnNextClick()">\n {{ \'common_next\' | translate }}\n </button>\n </div>\n </div>\n </mat-step>\n <mat-step>\n <ng-template matStepLabel>{{"common_select_product"|translate}}</ng-template>\n <div class="row">\n <div class="col-12 col-lg-8">\n <app-common-search-list-table [formColumn]="searchFormDataSource" (onCheckCh
1ange)="handleCheckItem($event)"\n [checkSelectedList]="renderCheckItems" [dataSource]="dataSource" [isShowAdd]="false"\n [isShowDisplayColumn]="false" [columns]="columns" [uniqueTableKey]="componentName" [pageInfo]="pageInfo"\n (onSubmit)="handleSearch($event)" (onReset)="handleReset()" (pageChange)="handleChangePaginator($event)">\n </app-common-search-list-table>\n </div>\n <div class="col-12 col-lg-4">\n <p>{{\'selected_product\' | translate}}:</p>\n <div class="d-flex justify-content-between">\n <span style="width:40%" title="product_name">{{\'common_productName\' | translate}}</span>\n <span style="width:40%" title="stock_quantity">{{\'common_productQuantity\' | translate}}</span>\n <span style="width:20%" title="actions">{{\'actions\' | translate}}</span>\n </div>\n <div *ngFor="let obj of renderCheckItems"\n class="d-flex align-items-center justify-content-between">\n <span style="width:40%" title="product_name">{{obj.product_name}}</span>\n <span style="width:40%">\n <input (input)="handleChangeInput({event:$event,item:obj})" type="number" matInput\n [placeholder]="\'common_input\' | translate" />\n </span>\n <span style="width:20%" title="actions">\n <button (click)="handleDelete(obj)" mat-icon-button color="warn"\n matTooltip="{{ \'common_delete\' | translate }}">\n <mat-icon>delete</mat-icon>\n </button>\n </span>\n </div>\n </div>\n </div>\n\n <div class="row mt-3 d-flex justify-content-center">\n <div class="col-12 text-center mt-3">\n <button class="btn btn-primary btn-min-width mr-10" (click)="btnPrevClick()">{{ \'common_previous\' | translate\n }}</button>\n <button class="btn btn-primary btn-min-width" (click)="handleSubmit()">{{ \'Submit\' | translate\n }}</button>\n </div>\n </div>\n </mat-step>\n </mat-horizontal-stepper>\n</div>\n',styles:[".table1 th,\n.table1 td {\n width: 10%;\n}\n\n.table-container {\n margin-top: 90px;\n max-height: 500px;\n overflow: auto;\n}\n\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.pricetable1 {\n color: red;\n}\n\nmat-form-field {\n width: 100%;\n}\n\nmat-option {\n text-transform: capitalize;\n}"]})],Kc);let tv=class{constructor(t,e,a){this.dialog=t,this.chainService=e,this.supplierService=a}ngOnInit(){this.onGetChainList(),this.onGetSuppliersList()}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data},t=>{console.log(t)})}onGetSuppliersList(){return this.supplierService.getSuppliersListS2C().subscribe(t=>{this.suppliersList=t,this.suppliersData=this.suppliersList.data},t=>{console.log(t)})}Filter(t,e,a,r,i,o,s){let l={order_number:t,chain_id:e,supplier_id:a,odate:r,date_from:i,date_to:o,status:s};this.dialog.close(l)}cancel(){this.dialog.close()}};tv.ctorParameters=()=>[{type:St.so},{type:Oe.l},{type:vn.e}],tv=(0,j.gn)([(0,m.wA2)({selector:"app-filter-quick-purchase",template:'<span style=" margin-left: 98%;\ncursor: pointer;\nmargin-bottom: 20px;" (click)="cancel()">\n <img src="../../../../assets/images/close.svg">\n</span>\n<div style=" display: flex;\nalign-items: center;\nflex-wrap: wrap;\njustify-content: space-between;">\n <mat-form-field appearance="outline" style="width : 30% ; margin-right:2% ; display: none;">\n <mat-label> {{\'Order-number\'| translate}} </mat-label>\n <input matInput #order_number>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width : 30% ; margin-right:2% ;">\n <mat-label>{{\'Select-Chain\'| translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>{{\'None\'|translate}}</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width : 30% ; margin-right:2% ;">\n <mat-label>{{\'Select-Supplier\'| translate}}</mat-label>\n <mat-select #supplier_id>\n <mat-option value=0>{{\'None\'|translate}}</mat-option>\n <mat-option *ngFor="let supp of suppliersData" [value]="supp.id">{{supp.supplier_name}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n\n <mat-form-field appearance="outline" style="width: 30%; margin-right: 2%">\n <mat-label>{{\'Date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker" #odate />\n <mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </mat-form-field>\n\n\n <mat-form-field appearance="outline" style="width: 30%; margin-right: 2%">\n <mat-label>
1{{"Start-date"| translate }}</mat-label>\n <input matInput [matDatepicker]="picker2" #date_from />\n <mat-datepicker-toggle matSuffix [for]="picker2"></mat-datepicker-toggle>\n <mat-datepicker #picker2></mat-datepicker>\n </mat-form-field>\n\n\n <mat-form-field appearance="outline" style="width: 30%; margin-right: 2%">\n <mat-label>{{"End-date" | translate }}</mat-label>\n <input matInput [matDatepicker]="picker1" #date_to />\n <mat-datepicker-toggle matSuffix [for]="picker1"></mat-datepicker-toggle>\n <mat-datepicker #picker1></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width : 30% ; margin-right:2% ;">\n <mat-label>{{\'Status\'| translate}}</mat-label>\n <mat-select #status>\n <mat-option value=\'pending\'> {{\'Pending\' | translate}}</mat-option>\n <mat-option value=\'confirmed\'> {{\'Confirmed\' | translate}}</mat-option>\n\n </mat-select>\n </mat-form-field>\n <div style=" width: 30%;\n display: flex;\n justify-content: center;
1\n align-items: center;">\n <div class="bt-date-submit" (click)="Filter(order_number.value,chain_id.value,supplier_id.value,odate.value,date_from.value,date_to.value,status.value)"><i class="fas fa-search"></i></div>\n</div>\n</div>',styles:[".bt-date-submit {\n color: white;\n padding: 10px;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n margin-bottom: 30px;\n}"]})],tv);let gh=class{constructor(t,e,a,r,i,o,s,l,c){this.productService=t,this.chainService=e,this.categoryService=a,this.supplierService=r,this.snackBar=i,this.purchaseService=o,this.datepipe=s,this.translate=l,this.dialog=c,this.chainInit="",this.code=localStorage.getItem("curr"),this.prodsData=[],this.page=1,this.displayedColumns=["order_number","status","supplier","total_price","order_date","products","actions"],this.dataSource=new $e.by,this.pager={},this.item_return=0,this.clicked=!1,this.updatedQuantity=[]}ngOnInit(){this.onGetProdsListS2C(),this.onGetCategoriesList(),this.dataSource.paginator=this.paginator}ngAfterViewInit(){this.dataSource.sort=this.sort}onDelete(t,e){var a={barcode:[]};return a.barcode.push(t),this.productService.deleteProductquick(a,e).subscribe(r=>{this.snackBar.open("Chinese"===this.translate.currentLang?"\u5220\u9664\u4ea7\u54c1":"Italian"===this.translate.currentLang?"Prodotto eliminato":"Product Deleted","",{duration:1e3}),this.onGetProdsListS2C()},r=>{console.log(r)})}onGetProdsListS2C(t,e,a,r,i,o,s){return(0==i||!i)&&(i=""),(0==r||!r)&&(r=""),(0==t||!t)&&(t=""),(0==e||!e)&&(e=""),(0==a||!a)&&(a=""),(0==o||!o)&&(o=""),(0==s||!s)&&(s=""),this.orderDate=this.datepipe.transform(r,"yyyy-MM-dd"),this.productService.getQuickPurProducts(t,e,a,this.orderDate,i,o,s).subscribe(l=>{this.prods=l,this.prodsData=this.prods.data,this.dataSource.data=this.prodsData},l=>{console.log(l)})}onGetCategoriesList(){return this.categoryService.getCategories().subscribe(t=>{this.catList=t,this.catListData=this.catList.data},t=>{console.log(t)})}onConfirm(t,e,a){return this.purchaseService.confirmPurchasedQuick(t).subscribe(r=>{this.snackBar.open("Chinese"===this.translate.currentLang?"\u5feb\u901f\u91c7\u8d2d\u5df2\u6210\u529f\u786e\u8ba4":"Italian"===this.translate.currentLang?"Acquisto rapido confermato con successo":"Quick Purchase Successfully Confirmed","",{duration:1e3}),this.onGetProdsListS2C(e,a)},r=>{console.log(r)})}onAddtoStock(t){return this.purchaseService.addpurchasetostock(t).subscribe(e=>{this.snackBar.open("This order successfully added To STOCK","OK",{duration:1e3})},e=>{console.log(e)})}onDeleteQuick(t,e,a){return this.purchaseService.deleteOderQuick(t).subscribe(r=>{this.snackBar.open("Chinese"===this.translate.currentLang?"\u5feb\u901f\u91c7\u8d2d\u5df2\u6210\u529f\u5220\u9664":"Italian"===this.translate.currentLang?"Acquisto rapido eliminato con successo":"Quick Purchase Successfully Deleted","",{duration:1e3}),this.onGetProdsListS2C(e,a)},r=>{console.log(r)})}onEdit(){this.clicked=!0}onEditQuick(t,e,a){var r={products:this.updatedQuantity};return this.purchaseService.editPurchasedQuick(t,r).subscribe(i=>{this.snackBar.open("Chinese"===this.translate.currentLang?"\u5feb\u901f\u91c7\u8d2d\u5df2\u6210\u529f\u66f4\u65b0":"Italian"===this.translate.currentLang?"Acquisto rapido aggiornato con successo":"Quick Purchase Successfully Updated","",{duration:1e3}),this.onGetProdsListS2C(e,a)},i=>{console.log(i)})}changeQty(t,e){var a=0;if(0==this.updatedQuantity.length){var r={barcode:t,purchased_quantity:e};this.updatedQuantity.push(r)}else if(this.updatedQuantity.forEach(o=>{o.barcode==t&&(a=1,o.purchased_quantity=e)}),0==a){var i={barcode:t,purchased_quantity:e};this.updatedQuantity.push(i)}}Filter(){this.dialog.open(tv,{autoFocus:!1,width:"50vw"}).afterClosed().subscribe(e=>{e&&(this.filterData=e,this.chain_id=this.filterData.chain_id,this.date_from=this.filterData.date_from,this.date_to=this.filterData.date_to,this.odate=this.filterData.odate,this.order_number=this.filterData.order_number,this.status=this.filterData.status,this.supplier_id=this.filterData.supplier_id,this.onGetProdsListS2C(this.chain_id,this.supplier_id,this.order_number,this.odate,this.status,this.date_from,this.date_to))})}};gh.ctorParameters=()=>[{type:Je.r},{type:Oe.l},{type:Ee.G},{type:vn.e},{type:We.ux},{type:Oi.B},{type:Q.uU},{type:Y.sK},{type:St.uw}],gh.propDecorators={paginator:[{type:m.i9L,args:[Wa.NW,{static:!0}]}],sort:[{type:m.i9L,args:[Ma.YE,{static:!0}]}]},gh=(0,j.gn)([(0,m.wA2)({selector:"app-quick-purchase",template:'<div class="mainContainer p-3 m-5 rounded pb-8">\n\n <div>\n\n <mat-form-field appearance="outline" style="width : 30% ; margin-right:2% ;">\n <mat-label> {{\'Order-number\'| translate}} </mat-label>\n <input matInput #order_number (keyup)="onGetProdsListS2C(\'\',\'\',order_number.value,\'\',\'\',\'\',\'\')">\n </mat-form-field>\n <div class="bt-act-revenu">\n <div class="bt-date-submit" style="margin-right: 6%;" (click)="Filter()"> <i\n class="material-icons" style="color: #fff;">filter_alt</i></div>\n\n\n </div>\n \x3c!-- <div>\n\n <mat-form-field appearance="outline" style="width : 10% ; margin-right:2% ;">\n <mat-label> {{\'Order-number\'| translate}} </mat-label>\n <input matInput #order_number>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width : 10% ; margin-right:2% ;">\n <mat-label>{{\'Select-Chain\'| translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>{{\'None\'|translate}}</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n\n <mat-form-field appearance="outline" style="width : 10% ; margin-right:2% ;">\n <mat-label>{{\'Select-Supplier\'| translate}}</mat-label>\n <mat-select #supplier_id>\n <mat-option value=0>{{\'None\'|translate}}</mat-option>\n <mat-option *ngFor="let supp of suppliersData" [value]="supp.id">{{supp.supplier_name}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width: 10%; margin-right: 2%">\n <mat-label>{{\'Date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker" #odate />\n <mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </mat-form-field>\n\n\n <mat-form-field appearance="outline" style="width: 10%; margin-right: 2%">\n <mat-label>
1{{"Start-date"| translate }}</mat-label>\n <input matInput [matDatepicker]="picker2" #date_from />\n <mat-datepicker-toggle matSuffix [for]="picker2"></mat-datepicker-toggle>\n <mat-datepicker #picker2></mat-datepicker>\n </mat-form-field>\n\n\n <mat-form-field appearance="outline" style="width: 10%; margin-right: 2%">\n <mat-label>{{"End-date" | translate }}</mat-label>\n <input matInput [matDatepicker]="picker1" #date_to />\n <mat-datepicker-toggle matSuffix [for]="picker1"></mat-datepicker-toggle>\n <mat-datepicker #picker1></mat-datepicker>\n </mat-form-field>\n\n\n <mat-form-field appearance="outline" style="width : 10% ; margin-right:2% ;">\n <mat-label>{{\'Status\'| translate}}</mat-label>\n <mat-select #status>\n <mat-option value=\'pending\'> {{\'Pending\' | translate}}</mat-option>\n <mat-option value=\'confirmed\'> {{\'Confirmed\' | translate}}</mat-option>\n\n </mat-select>\n </mat-form-field>\n <button mat-raised-button style="width: 10%;\n padding: 14px 14px 9px 14px;\n background-color: #cacaca;\n color: white;\n font-size: 20px;"\n (click)="onGetProdsListS2C(chain_id.value,supplier_id.value,order_number.value,odate.value,status.value,date_from.value,date_to.value)">\n <i class="fa fa-search" aria-hidden="true"></i>\n\n {{\'common_filter\' | translate}}</button>\n\n\n\n </div> --\x3e\n <table mat-table [dataSource]="dataSource" multiTemplateDataRows matSort>\n\n\n <ng-container matColumnDef="order_number">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Order-number\'| translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.order_number}} </td>\n </ng-container>\n\n <ng-container matColumnDef="status">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Status\'| translate}}</th>\n <td mat-cell *matCellDef="let element">\n\n <p style="color: red" *ngIf="element.status== \'pending\' ">\n <svg height="14" width="14">\n <circle cx="7" cy="7" r="7" class="red-svg" />\n </svg>\n </p>\n <p style="color: green" *ngIf="element.status == \'confirmed\' "><svg height="14" width="14">\n <circle cx="7" cy="7" r="7" class="green-svg" />\n </svg> </p>\n\n </td>\n </ng-container>\n\n\n\n\n\n <ng-container matColumnDef="supplier">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Supplier\'| translate}} </th>\n <td mat-cell *matCellDef="let element">\n <p *ngIf="element.supplier"> {{element.supplier.supplier_name}} </p>\n <p *ngIf="!element.supplier"> -- </p>\n </td>\n </ng-container>\n\n <ng-container matColumnDef="total_price">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Order-Price\'| translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.total_price | currency:code }} </td>\n </ng-container>\n <ng-container matColumnDef="order_date">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'date\'| translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.created_at }} </td>\n </ng-container>\n\n\n <ng-container matColumnDef="products">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> {{\'Products\' | translate}}</th>\n <td mat-cell *matCellDef="let row">\n <button mat-icon-button matTooltip="Show products">\n <i class="material-icons icon-green" style="color: rgb(107, 107, 107);">expand_more</i>\n </button>\n </td>\n </ng-container>\n\n <ng-container matColumnDef="actions">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{\'common_actions\' | translate}}< </th>\n <td mat-cell *matCellDef="let element">\n <button mat-icon-button *ngIf="element.status == \'pending\'"\n (click)="onConfirm(element.i
1d,chain_id.value,supplier_id.value);onAddtoStock(element.id)"> <i\n class="material-icons icon-green" style="color: red;">cancel</i> </button>\n <button mat-icon-button *ngIf="element.status == \'confirmed\'"> <i class="material-icons icon-green"\n style="color: green;">check_circle</i> </button>\n\n <button mat-icon-button routerLink="/shop/download-quick-purchase/{{element.id}}"><i\n class="material-icons icon-green" style="color: blue ;">download</i></button>\n <button mat-icon-button (click)="onAddtoStock(element.id)"><i class="material-icons icon-green"\n style="color: blue ;">plus_one</i></button>\n </td>\n </ng-container>\n <ng-container matColumnDef="expandedDetail">\n <td mat-cell *matCellDef="let element" [attr.colspan]="displayedColumns.length">\n \x3c!-- <button mat-raised-button color="primary">Add New Unit</button> --\x3e\n <div class="example-element-detail"\n [@detailExpand]="element == expandedElement ? \'expanded\' : \'collapsed\'">\n <div class="showProducts" style="width: 100%;">\n <table class="mat-elevation-z8" style="width: 100%;">\n <tr>\n <th style="margin-right: 35px; padding: 10px;">\n {{\'Product-Name\' | translate}} </th>\n <th style="margin-right: 35px; padding: 10px;"> {{\'Barcode\' | translate}}\n </th>\n <th style="margin-right: 35px; padding: 10px;">\n {{\'Product-Quantity\' | translate}} </th>\n <th>\n {{\'Purchased Quantity\' | translate}}\n </th>\n <th style="margin-right: 35px; padding: 10px;"> {{\'common_actions\' | translate}}\n </th>\n\n\n\n </tr>\n <tr *ngFor="let prod_item of element.products">\n\n <td style="margin-right: 15px; padding: 10px;">\n {{prod_item.product_name}}\n </td>\n <td style="margin-right: 15px; padding: 10px;">\n {{prod_item.product_barcode}}\n </td>\n <td style="margin-right: 15px; padding: 10px;">\n {{prod_item.stock_quantity}}\n </td>\n <td>\n\n <input *ngIf="clicked == true" [value]="prod_item.product_quantity" [ngClass]="{\'edit_input\'
1: clicked == true}"\n #purchased_quantity\n (change)="changeQty(prod_item.product_barcode,purchased_quantity.value)">\n <p *ngIf="clicked == false"> {{prod_item.product_quantity}}</p>\n </td>\n\n\n\n <td style="margin-right: 15px; padding: 10px;">\n <button mat-icon-button *ngIf="clicked == false" (click)="onEdit()"><i\n class="material-icons icon-green" style="color:#cacaca;">edit\n </i></button>\n\n\n\n\n <button mat-icon-button><i class="material-icons icon-green"\n (click)="onDelete(prod_item.product_barcode,element.id)"\n style="color:#a00000;">delete\n </i>\n </button>\n\n\n\n\n </td>\n\n\n </tr>\n <tr>\n <td></td>\n <td></td>\n <td></td>\n <td></td>\n\n\n <td mat-icon-button>\n <div style="display: flex;">\n\n <p *ngIf="clicked == true"\n style="color:#a00000;margin:3%"\n (click)="onEditQuick(element.id,chain_id.value,supplier_id.value)">{{\'Confirm\' | translate}}</p>\n\n \x3c!-- <button mat-raised-button style="background-color:#a00000 ;"\n (click)="onDeleteQuick(element.id,chain_id.value,supplier_id.value)"><i\n class="material-icons icon-green" style="color:white;">delete\n </i> </button> --\x3e\n <p style="color:#a00000 ; margin:3%"\n (click)="onDeleteQuick(element.id,chain_id.value,supplier_id.value)">\n {{\'Delete\' | translate}}\n </p>\n <p style="color:#a00000 ; margin:3%"\n (click)="onEdit()">\n {{\'Edit\' | translate}}\n </p>\n </div>\n </td>\n </tr>\n </table>\n </div>\n </div>\n </td>\n </ng-container>\n\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let element; columns: displayedColumns;" class="example-element-row"\n [class.example-expanded-row]="expandedElement === element"\n (click)="expandedElement = expandedElement === element ? null : element"></tr>\n <tr mat-row *matRowDef="let row; columns: [\'expandedDetail\']" class="example-detail-row"></tr>\n </table>\n <mat-paginator [pageSize]="5" [pageSizeOptions]="[5, 10, 25, 100]"></mat-paginator>\n\n </div>\n</div>\n',animations:[(0,Rt.X$)("detailExpand",[(0,Rt.SB)("collapsed, void",(0,Rt.oB)({height:"0px",minHeight:"0",display:"none"})),(0,Rt.SB)("expanded",(0,Rt.oB)({height:"*"})),(0,Rt.eR)("expanded <=> collapsed",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)")),(0,Rt.eR)("expanded <=> void",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])],styles:[".mainContainer span {\n font-family: Roboto;\n font-weight: 500;\n font-size: 20px;\n}\n.mainContainer .green-svg {\n fill: #6dd400;\n}\n.mainContainer .red-svg {\n fill: red;\n}\n.mainContainer .edit_input {\n border: 1px solid #a00000;\n}\n.mainContainer table {\n width: 100%;\n margin-top: 15px;\n}\n.mainContainer table td {\n overflow-wrap: break-word;\n white-space: normal;\n width: 10%;\n}\n.mainContainer table .example-element-row td {\n border-bottom-width: 0;\n}\n.mainContainer table .example-element-detail {\n overflow: hidden;\n display: flex;\n}\n.mainContainer table tr.example-detail-row {\n height: 0;\n}\n.mainContainer table tr.example-element-row:not(.example-expanded-row):active {\n background: #efefef;\n}\n.mainContainer table .example-element-row td {\n border-bottom-width: 0;\n}\n.mainContainer table .example-element-detail {\n overflow: hidden;\n display: flex;\n}\n.mainContainer table .showProducts {\n padding: 10px;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n}\n.bt-date-submit {\n color: white;\n padding: 10px;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;
1\n cursor: pointer;\n}\n.bt-act-revenu {\n display: flex;\n margin-bottom: 3%;\n float: right;\n}"]})],gh);var ev=F(72725);ev.vfs=ju.I.vfs;class PQ{}let nv=class{constructor(t,e){this.activatedRouter=t,this.purchaseService=e,this.currencyLabel=localStorage.getItem("currency_user"),this.resume=new PQ,this.storeName=localStorage.getItem("store_name"),this.adress=localStorage.getItem("adress"),this.email=localStorage.getItem("userEmail"),this.contact=localStorage.getItem("phone_num1"),t.params.subscribe(a=>{this.currentId=a.id})}ngOnInit(){this.getQuickById(this.currentId)}generatePdf(t="open",e,a,r,i,o,s,l,c,d,u){const h=this.getDocumentDefinition(e,a,r,i,o,s,l,c,d,u);switch(t){case"open":default:ev.createPdf(h).open();break;case"print":ev.createPdf(h).print();break;case"download":ev.createPdf(h).download()}}getDocumentDefinition(t,e,a,r,i,o,s,l,c,d){var u=parseFloat(c)+parseFloat(c)*parseFloat(l)/100;return{content:[{columns:[[{text:"Preventivo",style:"preventivo"},{text:t,style:"supplier"}]]},{columns:[[{text:"Store : "+this.storeName,style:"store"},{text:"Adress : "+this.adress,style:"store"},{text:"Email : "+this.email,style:"store"},{text:"Contant No : "+this.contact,style:"store"},{text:"Data : "+s,style:"store"}],[{text:"Company : "+a,style:"supplier"},{text:"Supplier Name : "+e,style:"supplier"},{text:" Adress : "+r,style:"supplier"},{text:" Contact : "+i,style:"supplier"}]]},{text:"Products",style:"header"},{table:{widths:[30,"*","*",60,70],body:[[{text:"Q.t\xe0",style:"tableHeader"},{text:"Articolo n.",style:"tableHeader"},{text:"Barcode",style:"tableHeader"},{text:"Prezzo unitario",style:"tableHeader"},{text:"Totale riga",style:"tableHeader"}],...o.map(h=>[h.product_quantity,h.product_name,h.product_barcode,h.cost_price+` ${this.currencyLabel}`,this.totalprice(h.product_quantity,h.cost_price)+` ${this.currencyLabel}`])]}},{style:"tableExample",table:{widths:["*","*"],body:[[{text:"Totale",style:"tableHeader",colSpan:1,alignment:"left"},{text:c+` ${this.currencyLabel}`,alignment:"center"}],[{text:"IVA("+l+"%)",style:"tableHeader",colSpan:1,alignment:"left"},{text:(c*l/100).toFixed(2)+` ${this.currencyLabel}`,alignment:"center"}],[{text:"Totale (IVA Incl.)",style:"tableHeader",colSpan:1,alignment:"left"},{text:u.toFixed(2)+` ${this.currencyLabel}`,alignment:"center"}]]}},{text:" Coordinate Bancarie:\n"+d,style:"store"}],styles:{store:{fontSize:10,bold:!0,color:"gray",alignment:"left"},preventivo:{bold:!0,fontSize:30,alignment:"right",color:"black",margin:[0,0,0,20],width:150},supplier:{fontSize:10,bold:!0,color:"gray",alignment:"right"},header:{fontSize:18,bold:!0,margin:[0,20,0,10],decoration:"underline"},tableHeader:{bold:!0},tableExample:{alignment:"right",margin:[300,5,0,15]}}}}totalprice(t,e){return(t*e).toFixed(2)}getQuickById(t){return this.purchaseService.getPurchaseById(this.currentId).subscribe(e=>{this.currentOrder=e,this.currentOrderData=this.currentOrder.data[0]},e=>{console.log(e)})}getProfilePicObject(){return this.resume.profilePic?{image:this.resume.profilePic,width:150,alignment:"left",margin:[0,0,0,20]}:null}fileChanged(t){const e=t.target.files[0];this.getBase64(e)}getBase64(t){const e=new FileReader;e.readAsDataURL(t),e.onload=()=>{this.resume.profilePic=e.result},e.onerror=a=>{}}};nv.ctorParameters=()=>[{type:It.gz},{type:Oi.B}],nv=(0,j.gn)([(0,m.wA2)({selector:"app-download-quick",template:'<div class="p-3 m-3">\n <div class="container-fluid">\n <form #resumeForm="ngForm">\n <div class="row">\n <div class="col-md-8">\n <div class="shadow-sm card">\n <div class="card-body">\n <h4 class="card-title d-flex align-items-center">\n\n {{\'Order details\' | translate }} </h4>\n <div class="row">\n <div class="col-md-6">\n <div class="form-group">\n <label> {{\'Supplier-Name\' | translate }} </label>\n\n <input type="text" class="form-control" name="Supplier" #supplier placeholder="Supplier Name"\n [value]="currentOrderData.supplier.supplier_name" required>\n </div>\n\n <div class="form-group">\n <label> {{\'Company name\' | translate }}</label>\n <input type="text" class="form-control" name="Company" placeholder="Company Name" #company\n [value]="currentOrderData.supplier.company_name" required>\n </div>\n <div class="form-group">\n <label> {{\'Company address\' | translate }}</label>\n\n <input type="text" class="form-control" name="Adress" placeholder="Company Adress" #adress\n [value]="currentOrderData.supplier.adress" required>\n </div>\n\n </div>\n <div class="col-md-6">\n <div class="form-group">\n <label> {{\'Total price\' | translate }}</label>\n\n <input type="text" class="form-control" [value]="currentOrderData.total_price" #total\n placeholder="Total Price" required>\n </div>\n <div class="form-group">\n <label> IVA </label>\n\n <input type="text" class="form-control" [value]="22" #tax placeholder="Status" required>\n </div>\n <div class="form-group">\n <label> {{\'Created at\' | translate }} </label>\n\n <input type="text" class="form-control" name="Created at" placeholder="Created at" #date\n [value]="currentOrderData.created_at" required>\n </div>\n\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class="col-md-4">\n <div class="shadow-sm card action-buttons">\n <button class="btn btn-primary d-flex align-items-center justify-content-center"\n (click)="generatePdf(\'open\',currentOrderData.order_number,supplier.value,company.value,adress.value, currentOrderData.supplier.contact,currentOrderData.products,date.value,tax.value,total.value,banquaire.value)">\n <i class="material-icons">\n picture_as_pdf\n </i> <span>{{\'Open PDF\' | translate }}</span></button>\n <button class="btn btn-primary d-flex align-items-center justify-content-center"\n (click)="generatePdf(\'download\',currentOrderData.order_number,supplier.value,company.value,adress.value, currentOrderData.supplier.contact,currentOrderData.products,date.value,tax.value,total.value,banquaire.value)">\n <i class="material-icons">\n cloud_download\n </i><span>{{\'Download PDF\'| translate }}</span></button>\n <button class="btn btn-primary d-flex align-items-center justify-content-center"\n (click)="generatePdf(\'print\',currentOrderData.order_number,supplier.value,company.value,adress.value, currentOrderData.supplier.contact,currentOrderData.products,date.value,tax.value,total.value,banquaire.value)">\n <i class="material-icons">\n print\n </i><span>{{\'Print PDF\'| translate }}</span></button>\n\n <button type=\'reset\' class="btn btn-primary d-flex align-items-center justify-content-center">\n <i class="material-icons">\n clear\n </i><span>{{\'Reset\'| translate }}</span></button>\n </div>\n\n <div class="card p-4">\n <div class="form-group">\n <label class="h4 mb-3" for="">{{\'Show your picture in Resume\'| translate }}</label>\n <input type="file" class="form-control-file" (change)="fileChanged($event)" aria-describedby="fileHelpId">\n </div>\n <img *ngIf="resume.profilePic" [src]="resume.profilePic" class="img-thumbnail">\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <div class="shadow-sm card">\n <div class="card-body">\n <h4 class="card-title d-flex align-items-center">\n\n Coordinate Bancarie</h4>\n\n <div class="form-group">\n <textarea type="text" class="form-control" #banquaire placeholder="Coordinate Bancarie"\n required></textarea>\n </div>\n\n\n\n </div>\n </div>\n </div>\n\n\n </div>\n </form>\n </div>\n</div>',styles:[".row {\n padding: 10px;\n}\n\n.card {\n margin: 10px;\n}\n\n.material-icons {\n font-size: 30px;\n}\n\nbutton span {\n font-size: 22px;\n}\n\n.action-buttons button {\n margin: 5px;\n}"]})],nv);var IQ=F(30006),ti=F(49671);var RQ=F(64313),Ok=F(94327);let kr=class{constructor(t){this.translate=t}generateExcel(t,e,a){var r=this;return(0,ti.Z)(function*(i,o,s,l=[]){const c=s,d=o,u=new RQ.Workbook,h=u.addWorksheet("Sharing Data");h.addRow([c]).font={name:"Corbel",family:4,size:16,underline:"double",bold:!0},h.addRow([]);h.addRow([`${r.translate.instant((new Date).toLocaleDateString())}`]);h.mergeCells("A1:D2"),h.addRow([]),h.addRow(d).eachCell((x,S)=>{x.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFFFF00"},bgColor:{argb:"FF0000FF"}},x.border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}}}
1),i.forEach(x=>{h.addRow(x)});for(let x in l)h.getColumn(l[x]).alignment={vertical:"middle",horizontal:"right"};h.getColumn(3).width=30,h.getColumn(4).width=30,h.addRow([]);const b=h.addRow(["Siyou"]);b.getCell(1).fill={type:"pattern",pattern:"solid",fgColor:{argb:"a000006d"}},b.getCell(1).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},h.mergeCells(`A${b.number}:F${b.number}`),u.xlsx.writeBuffer().then(x=>{const S=new Blob([x],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"});Ok.saveAs(S,`${c}.xlsx`)})}).apply(this,arguments)}};kr.ctorParameters=()=>[{type:Y.sK}],kr=(0,j.gn)([(0,m.GSi)({providedIn:"root"})],kr);let vh=class{constructor(t,e,a,r,i){this.shopCashierService=t,this.translate=e,this.loadingService=a,this.excelService=r,this.translateService=i,this.total=0,this.dateParams={chain_id:"",cashier_id:"",date_from:"",date_to:"",start_date:"",finish_date:""},this.formDataSource=[{type:"cashierSelect",key:"cashier_id"},{type:"chainSelect",key:"chain_id"},{type:"dateTime",key:"date_from",placeholder:"common_startDate",translateKey:"common_startDate",value:qe.ou.now().toFormat("yyyy-MM-dd")},{type:"dateTime",key:"date_to",placeholder:"common_endDate",translateKey:"common_endDate",value:qe.ou.now().toFormat("yyyy-MM-dd")}],this.filterChain=!0,this.filterCashier=!0,this.TopCashier=this.translate.instant("Top Cashier"),this.cashTitle="Top Cashier",this.cashierTitle="Cashier Details",this.loadingService.openDialog()}ngOnInit(){this.CashierDetail(qe.ou.now().toFormat("yyyy-MM-dd"),qe.ou.now().toFormat("yyyy-MM-dd"),"","")}CashierDetail(t,e,a,r){this.CashierSub=this.shopCashierService.getCashierDetail(t,e,a,r).subscribe(i=>{if(200==i.code){this.Cashiers=i.data,this.loadingService.hideDialog();let s=i.totals.total_payment_amount_sum;console.log(i,"999iii",s),i.data.length<10?this.config={itemsPerPage:this.Cashiers.length,currentPage:1,totalItems:this.Cashiers.length}:this.config={itemsPerPage:10,currentPage:1,totalItems:this.Cashiers.length};let l=i.data.slice(0,4).map(h=>h.cashier_full_name);l.push("OTHERS");let c=i.data.map(h=>h.order_payment_amount_sum);console.log("order_payment_amount_sum111111",c);console.log("order_payment_amount_sum22222",c);for(let h=4;h<c.length;h++)this.total=this.total+c[h];c=c.slice(0,4),c.push(this.total);const u={afterDatasetsUpdate(h){},beforeDraw(h,f,v){const A=h.ctx,x=function LQ(n){let t=parseFloat(n),a=0;for(;t>=1e3;)t/=1e3,a++;return t.toFixed(2)+["","K","M","B","T"][a]}(h.config.options.plugins.centerText);if(x){const{fontStyle:S,fontColor:k,fontFamily:D}=v,I=24,M=S||"bold",R=k||"#000",N=D||"tahoma";A.font=`${M} ${I}px ${N}`,A.fillStyle=R,A.textBaseline="middle",A.textAlign="center";const U=x.toString(),z=Math.round((h.chartArea.left+h.chartArea.right)/2),B=Math.round((h.chartArea.top+h.chartArea.bottom)/2);A.fillText(U,z,B)}}};console.log("chartCenterTextPlugin",u),this.chart=new sr.Chart("canvas",{type:"doughnut",data:{labels:l,datasets:[{label:l,backgroundColor:["#a5be00","#ffc300","#00a6fb","#8187dc","#d3d3d3","#90e0ef","#caf0f8","#40916c","#52b788","#95d5b2"],data:c}]},options:{plugins:{centerText:s.toFixed(2)},title:{display:!0,text:this.translateService.instant("Top Cashier"),fontSize:20,lineHeight:1.5,fontFamily:"tahoma"},legend:{labels:{usePointStyle:!0,fontStyle:"bold"}}},plugins:[u]}),console.log("\u6d4b\u8bd5",this.chart,s)}})}getTopCashierTableBody(){return JSON.parse(JSON.stringify(this.Cashiers)).map(e=>(e.percent=(100*parseFloat(e.percent)).toFixed(2),e.profit_percent=(100*parseFloat(e.profit_percent)).toFixed(2),Object.values(e)))}generateExcelTopCashier(){this.cashHead=Object.keys(this.Cashiers[0]).map(e=>this.translateService.instant(e));this.excelService.generateExcel(this.getTopCashierTableBody(),this.cashHead,this.translateService.instant(this.cashTitle),[3,4,5,6,7,8,9,10,11,12,13])}handleSubmit(t){this.dateParams={...t,start_date:t.date_from,finish_date:t.date_to},this.CashierDetail(this.dateParams.date_from,this.dateParams.date_to,this.dateParams.chain_id,this.dateParams.cashier_id)}handleReset(){this.dateParams={chain_id:"",cashier_id:"",date_from:"",date_to:"",start_date:"",finish_date:""}}getCashierTableBody(){return this.Cashiers.map(t=>Object.values(t))}generateExcel(){this.cashierHead=Object.keys(this.Cashiers[0]).map(e=>this.translate.instant(e));this.excelService.generateExcel(this.getTopCashierTableBody(),this.cashierHead,this.translate.instant("Cashier Details"),[3,4,5,6,7,8,9,10,11,12,13])}ngOnDestroy(){var t=this;return(0,ti.Z)(function*(){t.CashierSub&&t.CashierSub.unsubscribe()})()}};vh.ctorParameters=()=>[{type:kg.f},{type:Y.sK},{type:Qe.E},{type:kr},{type:Y.sK}],vh.propDecorators={ngOnDestroy:[{type:m.L6J,args:["window:beforeunload"]}]},vh=(0,j.gn)([(0,m.wA2)({selector:"app-report-by-cashier",template:'\x3c!--\n * @Author: zizhan77 [email protected]\n * @Date: 2023-05-24 23:51:59\n * @LastEditors: zizhan77 [email protected]\n * @LastEditTime: 2023-05-28 04:36:25\n * @FilePath: \\b2s2c\\src\\app\\modules\\dashboard-shop\\components\\report-by-cashier\\report-by-cashier.component.html\n * @Description: \u8fd9\u662f\u9ed8\u8ba4\u8bbe\u7f6e,\u8bf7\u8bbe\u7f6e`customMade`, \u6253\u5f00koroFileHeader\u67e5\u7
170b\u914d\u7f6e \u8fdb\u884c\u8bbe\u7f6e: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n--\x3e\n<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-field-form [formColumn]="formDataSource" (onSubmit)="handleSubmit($event)"\n (onReset)="handleReset()">\n </app-common-search-field-form>\n \x3c!-- <app-common-metabase-report [metabaseDashboardKeyInConfig]="\'metabase_report_by_cashier_dashboard_ids\'" [formDataSource]="formDataSource" [filterChain]="filterChain" [filterCashier]="filterCashier"></app-common-metabase-report>\n--\x3e\n <div class="row" style="margin: 3px;">\n <mat-card class="col-md-4">\n <mat-icon *ngIf="chart" (click)="generateExcelTopCashier()" class="download">cloud_download</mat-icon>\n <canvas id="canvas" style="width: 100%; height: 530px;">\n {{ chart }} </canvas>\n </mat-card>\n\n <mat-card class="col-lg-8" style="overflow-y: auto;overflow-x: auto;">\n <div class="row">\n <div class="col">\n <h6>{{ "Cashier Details" | translate }}</h6>\n </div>\n <div *ngIf="Cashiers" class="col">\n \x3c!-- download excel button --\x3e\n <button (click)="generateExcel()" style="float: right;"\n class="btn btn-primary d-flex align-items-center justify-content-center">\n {{\'Download\' | translate}}\n <i class="material-icons"> download </i>\n </button>\n </div>\n </div>\n <div class="pb-3" style="overflow: auto; margin-bottom: 40px;">\n <table class="table table-hover">\n <thead>\n <tr style="border: hidden;">\n <th class="text-left">{{\'Cashier ID\' | translate}}</th>\n <th class="text-right">{{\'Cashier Full Name\' | translate}}</th>\n <th class="text-right">{{\'Percent\' | translate}}</th>\n <th class="text-right">{{\'Total Product Quantity\' | translate}}</th>\n <th class="text-right">{{\'Total Order Cost\' | translate}}</th>\n <th class="text-right">{{\'Profit\' | translate}}</th>\n <th class="text-right">{{\'profit_percent\' | translate}}</th>\n <th class="text-right">{{\'Total Payment Amount\' | translate}}</th>\n <th class="text-right">{{\'Total Cash\' | translate}}</th>\n <th class="text-right">{{\'Total Debit\' | translate}}</th>\n <th class="text-right">{{\'Total Credit Card\' | translate}}</th>\n <th class="text-right">{{\'Total Order Payment Amount\' | translate}}</th>\n <th class="text-right">{{\'Total Discount Amount\' | translate}}</th>\n </tr>\n </thead>\n <tbody *ngFor=\'let cash of Cashiers| paginate: config\'>\n <tr style="border: hidden;">\n <td class="text-left">{{cash.cashier_id}}</td>\n <td class="text-right">{{cash.cashier_full_name}}</td>\n <td class="text-right">{{cash.percent | percent}}</td>\n <td class="text-right">{{cash.product_quantity_sum}}</td>\n <td class="text-right">{{cash.order_cost_sum| number:\'0.2-2\'}}</td>\n <td class="text-right">{{cash.profit| number:\'0.2-2\'}}</td>\n <td class="text-right">{{cash.profit_percent | percent}}</td>\n <td class="text-right">{{cash.order_payment_amount_sum| number:\'0.2-2\'}}</td>\n <td class="text-right">{{cash.cash_sum| number:\'0.2-2\'}}</td>\n <td class="text-right">{{cash.debit_sum| number:\'0.2-2\'}}</td>\n <td class="text-right">{{cash.credit_card_sum| number:\'0.2-2\'}}</td>\n <td class="text-right">{{cash.payment_amount_sum| number:\'0.2-2\'}}</td>\n <td class="text-right">{{cash.discount_amount_sum| number:\'0.2-2\'}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class="pagination-custom">\n <pagination-controls (pageChange)="config.currentPage = $event" #paym previousLabel="" nextLabel="">\n </pagination-controls>\n </div>\n </mat-card>\n </div>\n',styles:['th {\n font-family: "Lato", sans-serif;\n font-style: normal;\n color: #949aab;\n text-align: left;\n font-weight: bold;\n font-size: 12px;\n white-space: nowrap;\n border: hidden;\n}\n\ntd {\n font-weight: 700;\n color: #4c5773;\n font-size: 12px;\n text-align: left;\n border-spacing: 0;\n font-family: "Lato", sans-serif;\n font-style: normal;\n white-space: nowrap;\n border: hidden;\n}\n\nh6 {\n white-space: nowrap;\n color: #4c5773;\n font-weight: bold;\n cursor: pointer;\n font-size: 0.875em;\n font-family: "Lato", sans-serif;\n font-style: normal;\n}
1\n\nh6:hover {\n color: #39a2db;\n}\n\nth:hover {\n color: #39a2db;\n cursor: pointer;\n}\n\n.scroller {\n overflow: scroll;\n}\n\nmat-card {\n margin-bottom: 3px;\n}\n\n.download {\n float: right;\n}\n\n.download:hover {\n color: #39A2DB;\n cursor: pointer;\n}\n\n::-webkit-scrollbar {\n width: 1em;\n overflow-y: auto;\n overflow-x: auto;\n}\n\n::-webkit-scrollbar-track {\n border-radius: 10px;\n}\n\n::-webkit-scrollbar-thumb {\n border-radius: 10px;\n}']})],vh);var NQ=F(77088);const YO='th {\n font-family: "Lato", sans-serif;\n font-style: normal;\n color: #949aab;\n text-align: left;\n font-weight: bold;\n font-size: 11.7px;\n white-space: nowrap;\n border: hidden;\n}\n\ntd {\n color: #4c5773;\n font-weight: bold;\n font-size: 12px;\n text-align: left;\n border-spacing: 0;\n font-family: "Lato", sans-serif;\n font-style: normal;\n white-space: nowrap;\n border: hidden;\n}\n\nh6 {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n color: #4c5773;\n font-weight: bold;\n cursor: pointer;\n font-size: 15px;\n font-family: "Lato", sans-serif;\n font-style: normal;\n}\n\nh6:hover {\n color: #39a2db;\n}\n\nth:hover {\n color: #39a2db;\n cursor: pointer;\n}\n\nmat-card {\n margin-bottom: 3px;\n}\n\n.download {\n float: right;\n}\n\n.download:hover {\n color: #39A2DB;\n cursor: pointer;\n}\n\n::-webkit-scrollbar {\n width: 1px;\n overflow-y: auto;\n overflow-x: auto;\n}\n\n::-webkit-scrollbar-track {\n border-radius: 10px;\n}\n\n::-webkit-scrollbar-thumb {\n border-radius: 10px;\n}';let g0=class{constructor(t,e){this.http=t,this.configService=e;let a=this.configService.getConfig();this.baseUrl=`${a.baseUrl}`,this.baseUrlS2C=`${a.baseUrlS2C}`}getCategoriesSystem(){return this.http.get(`${this.baseUrlS2C}/v2/category/system`)}getCategoriesAdmin(){return this.http.get(`${this.baseUrlS2C}/categories/admin`,{params:{store_id:localStorage.getItem("store_id")}})}getCategoriesS2CList(){return this.http.get(`${this.baseUrlS2C}/category/list`)}getMyCategoryById(t){return this.http.get(`${this.baseUrlS2C}/categories/${t}`)}addCategoryS2C(t){return this.http.post(`${this.baseUrlS2C}/Categories`,t)}editMyCategories(t,e){return this.http.post(`${this.baseUrlS2C}/v2/category/own/${e}`,t)}affectCategoryS2C(t){return this.http.post(`${this.baseUrlS2C}/Categories/assign`,t)}getCategoryCriteria(t){return this.http.get(`${this.baseUrl}/Criteria/List`,{params:{category_id:t}})}getCategoriesList(){return this.http.get(`${this.baseUrl}/categories`)}getCategories(){return this.http.get(`${this.baseUrlS2C}/Categories/shop1`,{params:{store_id:localStorage.getItem("store_id")}})}addCategory(t){return this.http.post(`${this.baseUrlS2C}/Categories`,t)}addCategoryByShop(t){return this.http.post(`${this.baseUrlS2C}/v2/category/own`,t)}addCriteriaToCategory(t){return this.http.post(`${this.baseUrl}/categories/criteria`,t)}deleteCateogy(t){return this.http.delete(`${this.baseUrlS2C}/Categories/${t}`)}editCategory(t,e){return this.http.post(`${this.baseUrlS2C}/category/update/${t}`,e)}getCategoriesWithCriterias(){return this.http.get(`${this.baseUrl}/Criteria/Categories`)}removeCriteriaFromCategory(t,e){return this.http.delete(`${this.baseUrl}/categories/${t}/${e}`)}deleteCategory(t){return this.http.delete(`${this.baseUrlS2C}/Categories/shop/remove/${t}`,{params:{store_id:localStorage.getItem("store_id")}})}deleteMyCategory(t){return this.http.delete(`${this.baseUrlS2C}/v2/category/own/${t}`)}editSort(t,e){let a={categories_orders:t};return e&&(a.parent_category_id=e),this.http.post(`${this.baseUrlS2C}/v2/category/own/order`,t,{params:a})}getCategorySalesDetails(t,e,a,r,i,o,s,l,c){return(!a||0==a)&&(a=""),(!t||0==t)&&(t=""),(!e||0==e)&&(e=""),(!r||0==r)&&(r=""),(!i||0==i)&&(i=""),(!o||0==o)&&(o=""),(!s||0==s)&&(s=""),this.http.get(`${this.baseUrlS2C}/v2/report/category/getCategorySalesDetails`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("shop_owner_id"),date_from:t,date_to:e,chain_id:a,category_id:r,supplier_id:i,sort_name:o,sort_type:s,page:l,per_page:c}})}getTopCategories(t,e,a,r,i,o,s){return(!a||0==a)&&(a=""),(!t||0==t)&&(t=""),(!e||0==e)&&(e=""),(!r||0==r)&&(r=""),(!i||0==i)&&(i=""),(!o||0==o)&&(o=""),(!s||0==s)&&(s=""),this.http.get(`${this.baseUrlS2C}/v2/report/category/getTopCategories`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("shop_owner_id"),date_from:t,date_to:e,chain_id:a,category_id:r,supplier_id:i,sort_name:o,sort_type:s}})}getPaymentDetails(t,e,a,r,i){return(!a||0==a)&&(a=""),(!t||0==t)&&(t=""),(!e||0==e)&&(e=""),this.http.get(`${this.baseUrlS2C}/v2/report/category/getPaymentDetails`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("shop_owner_id"),date_from:t,date_to:e,chain_id:a,sort_name:r,sort_type:i}})}getTaxRateDetails(t,e,a,r,i){return(!a||0==a)&&(a=""),(!t||0==t)&&(t=""),(!e||0==e)&&(e=""),this.http.get(`${this.baseUrlS2C}/v2/report/category/getTaxRateDetails`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("shop_owner_id"),date_from:t,date_to:e,chain_id:a,sort_name:r,sort_type:i}})}getCategoryProductDetailsById(t,e,a,r,i,o,s,l,c){return(!a||0==a)&&(a=""),(!r||0==r)&&(r=""),(!t||0==t)&&(t=""),(!e||0==e)&&(e=""),(!i||0==i)&&(i=""),(!s||0==s)&&(s=""),o||(o=""),(!l||0==l)&&(l=1),c||(c=0),this.http.get(`${this.baseUrlS2C}/v2/report/products-of-category/${t}`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("shop_owner_id"),date_from:a,date_to:r,category_id:t,chain_id:e,product_barcode:i,inventory_quantity:o,keyword:s,page:l,download:c}})}downloadCategory(t){return this.http.get(`${this.baseUrlS2C}/v2/report/category/downloadCategory/`,{params:t,responseType:"blob"})}};g0.ctorParameters=()=>[{type:Nt.eN},{type:Yn.E}],g0=(0,j.gn)([(0,m.GSi)({providedIn:"root"})],g0);let av=class{constructor(t,e){this.http=t,this.configService=e;let a=this.configService.getConfig();this.baseUrl=`${a.baseUrl}`,this.baseUrlS2C=`${a.baseUrlS2C}`}getFundsCheque(){return this.http.get(`${this.baseUrl}/funds/check`,{params:{token:localStorage.getItem("token")}})}editPurchasedFund(t,e){return this.http.post(`${this.baseUrl}/payment/fund/${e}`,t,{params:{token:localStorage.getItem("token")}})}getPurchasedFundById(t){return this.http.get(`${this.baseUrl}/payment/fund/list/${t}`,{params:{token:localStorage.getItem("token")}})}getFundsTransfert(){return this.http.get(`${this.baseUrl}/funds/transfert`,{params:{token:localStorage.getItem("token")}})}getFundsDelivery(){return this.http.get(`${this.baseUrl}/funds/delivery`,{params:{token:localStorage.getItem("token")}})}getFundById(t){return this.http.get(`${this.baseUrl}/funds/${t}`,{params:{token:localStorage.getItem("token")}})}getPaymentMethod(){return this.http.get(`${this.baseUrl}/payment/method`,{params:{token:localStorage.getItem("token")}})}addPaymentMethod(t){return this.http.post(`${this.baseUrl}/payment/method`,t,{params:{token:localStorage.getItem("token")}})}deletePaymentMethod(t){return this.http.delete(`${this.baseUrl}/payment/method/${t}`,{params:{token:localStorage.getItem("token")}})}editPaymentMethod(t,e){return this.http.post(`${this.baseUrl}/payment/method/${e}`,t,{params:{token:localStorage.getItem("token")}})}getPaymentMethodById(t){return this.http.get(`${this.baseUrl}/payment/method/list/${t}`,{params:{token:localStorage.getItem("token")}})}getFiltredPurchasedFundB2B(t,e,a){return(0==t||!t)&&(t=""),(0==e||!e)&&(e=""),(0==a||!a)&&(a=""),this.http.get(`${this.baseUrl}/payment/fund/list`,{params:{token:localStorage.getItem("token"),created_at:t,payment_method:e,finish_date:a}})}getPurchasedFundB2B(){return this.http.get(`${this.baseUrl}/payment/fund/list`,{params:{token:localStorage.getItem("token")}})}deletePurchasedFund(t){return this.http.delete(`${this.baseUrl}/payment/fund/${t}`,{params:{token:localStorage.getItem("token")}})}addFundsPaymentMethod(t){return this.http.post(`${this.baseUrl}/payment/fund`,t,{params:{token:localStorage.getItem("token")}})}getPaymentDetail(t,e,a,r,i){return(!a||0==a)&&(a=""),(!t||0==t)&&(t=""),(!e||0==e)&&(e=""),this.http.get(`${this.baseUrlS2C}/v2/report/payment-detail`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("shop_owner_id"),date_from:t,date_to:e,chain_id:a,sort_name:r,sort_type:i}})}};av.ctorParameters=()=>[{type:Nt.eN},{type:Yn.E}],av=(0,j.gn)([(0,m.GSi)({providedIn:"root"})],av);var QO=F(44144),FQ=F(35863);let Ah=class{constructor(t,e,a,r,i,o,s,l,c){this.categoriesService=t,this.fundsService=e,this.supplierS2cService=a,this.route=r,this.loadingService=i,this.translateService=o,this.router=s,this.excelService=l,this.chainDataService=c,this.displayedColumns=["type","intitule","prop","residence","bloc","statut","action"],this.dataSource=new $e.by,this.total=0,this.sortDir=1,this.curDate=new Date,this.dateParams={chain_id:"",category_id:"",supplier_id:"",date_from:"",date_to:"",start_date:"",finish_date:"",sort_name:"",sort_type:""}
1,this.getFileParams={date_from:"",date_to:"",chain_id:"",category_id:"",supplier_id:"",locale:localStorage.getItem("i18n")?localStorage.getItem("i18n"):"en-GB",shop_owner_id:localStorage.getItem("shop_owner_id")},this.formDataSource=[{type:"categorySelect",key:"category_id"},{type:"chainSelect",key:"chain_id"},{type:"dateTime",key:"date_from",placeholder:"common_startDate",translateKey:"common_startDate",value:qe.ou.now().minus({days:7}).toFormat("yyyy-MM-dd")},{type:"dateTime",key:"date_to",placeholder:"common_endDate",translateKey:"common_endDate",value:qe.ou.now().toFormat("yyyy-MM-dd")},{type:"sort",key:"sort_name"},{type:"sort",key:"sort_type"}],this.filterChain=!0,this.configCategories=[],this.total_order_payment_amount_sum=0,this.total_payment_amount_sum=0,this.total_quantity_sum=0,this.total_order_cost_sum=0,this.total_profit=0,this.showButtonDownloadicon=!1,this.showButtonDownload=!1,this.actionIconCat=[],this.actionIconPay=[],this.actionIconTax=[],this.indiceColumn=0,this.indiceColumnPay=0,this.indiceColumnTax=0,this.totalQuantity_sum=0,this.categoryTitle="Top Category",this.catTitle="Category Detail",this.paymentTitle="Payment-Details",this.taxTitle="Tax Rate Detail",this.loadingService.openDialog()}ngOnInit(){this.TopCategories("","","","","","category_id","DESC",1),this.getCategorySalesDetails("","","","","","category_id","DESC",1),this.PaymentDetail("","","","payment_name","DESC",1),this.TaxRateDetail("","","","item_rate","DESC",1)}configPagination(t,e){let a=e;a=t<7?{itemsPerPage:t,currentPage:1,totalItems:t}:{itemsPerPage:7,currentPage:1,totalItems:t}}getTotalOrderPaymentAmountSum(){return this.Payments.reduce((t,e)=>t+e.order_payment_amount_sum,0)}getTotalOrdersCount(){return this.Payments.reduce((t,e)=>t+e.total_orders,0)}getTotalPaymentAmountSum(){return this.Payments.reduce((t,e)=>t+e.payment_amount_sum,0)}getTotalOrderPaymentAmountSumTax(){return this.TaxRate.reduce((t,e)=>t+e.order_payment_amount_sum,0)}getTotalTaxAmountSum(){return this.TaxRate.reduce((t,e)=>t+e.tax_amount_sum,0)}getTotalPaymentAmountSumTax(){return this.TaxRate.reduce((t,e)=>t+e.payment_amount_sum,0)}getTotalProductQuantitySum(){return this.TaxRate.reduce((t,e)=>t+e.quantity_sum,0)}TopCategories(t,e,a,r,i,o,s,l){this.actionIconCat[l]="DESC"!=s,this.dateParams.sort_name=o,this.dateParams.sort_type=s,this.CategorySub=this.categoriesService.getTopCategories(t,e,a,r,i,o,s).subscribe(({data:d})=>{let u=0,h=[],f=[],v=[],A=[],b=0;if(Array.isArray(d)&&0!==d.length){if(u=d.length,h=u<=10?d:d.slice(0,9),f=h.map(S=>S.category_name),u>10&&f.push("OTHERS"),v=d.map(S=>+S.order_payment_amount_sum.replace(/,/g,"")),A=u<=10?v:v.slice(0,9),u>10){const S=v.slice(9).reduce((k,D)=>k+D,0);A.push(S)}b=v.reduce((S,k)=>S+k,0)}const x={afterDatasetsUpdate(S){},beforeDraw(S,k,D){const I=S.ctx,R=function VQ(n){let t=parseFloat(n),a=0;for(;t>=1e3;)t/=1e3,a++;return t.toFixed(2)+["","K","M","B","T"][a]}(S.config.options.plugins.centerText);if(R){const{fontStyle:N,fontColor:U,fontFamily:z}=D,B=24,K=N||"bold",W=U||"#000",Z=z||"tahoma";I.font=`${K} ${B}px ${Z}`,I.fillStyle=W,I.textBaseline="middle",I.textAlign="center";const X=R.toString(),tt=Math.round((S.chartArea.left+S.chartArea.right)/2),rt=Math.round((S.chartArea.top+S.chartArea.bottom)/2);I.fillText(X,tt,rt)}}};this.chart=new sr.Chart("canvas1",{type:"doughnut",data:{labels:f,datasets:[{label:"Category Payments",backgroundColor:["#0582ca","#00a6fb","#84d2f6","#008000","#38b000","#70e000","#7251b5","#9163cb","#c19ee0","#d3d3d3"],data:A}]},options:{title:{display:!0,text:this.translateService.instant("Top Category"),fontSize:17,lineHeight:1.5,fontFamily:"tahoma"},legend:{labels:{usePointStyle:!0,fontStyle:"bold"}},plugins:{centerText:b.toFixed(2)}},plugins:[x]})})}getCategorySalesDetails(t,e,a,r,i,o,s,l,c=1,d=10){let u;this.actionIconCat[l]="DESC"!=s,this.dateParams.sort_name=o,this.dateParams.sort_type=s,this.getFileParams.date_from=t||"",this.getFileParams.date_to=e||"",this.getFileParams.chain_id=a||"",this.getFileParams.category_id=r||"",this.getFileParams.supplier_id=i||"",this.CategorySub=this.categoriesService.getCategorySalesDetails(t,e,a,r,i,o,s,c,d).subscribe(h=>
1{if(!Array.isArray(h.data.data)||0===h.data.data.length)return console.log("No data received from the server."),this.CategoryList=[],this.dataSource.data=[],this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.total_order_payment_amount_sum=0,this.total_payment_amount_sum=0,this.total_quantity_sum=0,this.total_order_cost_sum=0,this.total_profit=0,this.totalQuantity_sum=0,u=0,void(this.config={itemsPerPage:0,currentPage:1,totalItems:0});if(this.CategoryList=h.data.data,this.dataSource.data=h.data.data,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.total_order_payment_amount_sum=h.total.total_order_payment_amount_sum.toFixed(2)||0,this.total_payment_amount_sum=h.total.total_payment_amount_sum.toFixed(2)||0,this.total_quantity_sum=h.total.total_quantity_sum.toFixed(2)||0,this.total_order_cost_sum=h.total.total_order_cost_sum.toFixed(2)||0,this.total_profit=h.total.total_profit.toFixed(2)||0,this.CategoryList.length>0){let f=this.CategoryList.map(v=>{let A=0;return v.quantity_sum&&"string"==typeof v.quantity_sum&&(A=v.quantity_sum.split(",").join("")),Number(A)});this.totalQuantity_sum=f.reduce((v,A)=>v+A,0)}u=Object.keys(this.CategoryList[0]).length;for(let f=1;f<u+1;f++)f!==l&&null==this.actionIconCat[f]&&(this.actionIconCat[f]=!1);this.config={itemsPerPage:h.data.per_page,currentPage:h.data.current_page,totalItems:h.data.total}})}changePage(t){this.getCategorySalesDetails(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.category_id,this.dateParams.supplier_id,this.dateParams.sort_name,this.dateParams.sort_type,!1,t)}clickCategoryName(t){const e=location.origin+"/shop/category-product-details/"+t.category_id+"?start_date="+this.dateParams.start_date+"&finish_date="+this.dateParams.finish_date;window.open(e)}PaymentDetail(t,e,a,r,i,o){let s;this.actionIconPay[o]="DESC"!=i,this.PaymentSub=this.categoriesService.getPaymentDetails(t,e,a,r,i).subscribe(l=>{if(!Array.isArray(l.data)||0===l.data.length)return console.log("No data received from the server."),this.Payments=[],void(this.configPayments={itemsPerPage:0,currentPage:1,totalItems:0});this.Payments=l.data,s=Object.keys(this.Payments[0]).length;for(let c=1;c<s+1;c++)c!==o&&null==this.actionIconPay[c]&&(this.actionIconPay[c]=!1);l.data.length<7?this.configPayments={itemsPerPage:this.Payments.length,currentPage:1,totalItems:this.Payments.length}:this.configPayments={itemsPerPage:7,currentPage:1,totalItems:this.Payments.length}})}TaxRateDetail(t,e,a,r,i,o){let s;this.actionIconTax[o]="DESC"!=i,this.TaxRateSub,this.categoriesService.getTaxRateDetails(t,e,a,r,i).subscribe(l=>{if(!Array.isArray(l.data)||0===l.data.length)return console.log("No data received from the server."),this.TaxRate=[],this.configTaxRate={
1itemsPerPage:0,currentPage:1,totalItems:0},void this.loadingService.hideDialog();this.TaxRate=l.data,s=Object.keys(this.TaxRate[0]).length,this.loadingService.hideDialog();for(let c=1;c<s+1;c++)c!==o&&null==this.actionIconTax[c]&&(this.actionIconTax[c]=!1);l.data.length<7?this.configTaxRate={itemsPerPage:this.TaxRate.length,currentPage:1,totalItems:this.TaxRate.length}:this.configTaxRate={itemsPerPage:7,currentPage:1,totalItems:this.TaxRate.length}})}getTopCategoryTableBody(){return this.Categories.map(t=>Object.values(t))}generateExcelTopCategory(){this.showButtonDownloadicon=!0,this.loadingService.openDialog(),this.categoryHead=Object.keys(this.Categories[0]).map(e=>this.translateService.instant(e));this.excelService.generateExcel(this.Categories.map(e=>Object.values(e)),this.categoryHead,this.translateService.instant(this.categoryTitle),[3,4,5,6,7,8]),this.showButtonDownloadicon=!1,this.loadingService.hideDialog()}handleSubmit(t){const e=t.chain_id;this.chainDataService.chains$.subscribe(r=>{this.chains=r,console.log("Chains:",this.chains)});const a=this.chains.find(r=>r.id===e);this.selectedChainName=a?a.chain_name:null,console.log("Selected Chain Name:",this.selectedChainName),this.dateParams={...t,start_date:t.date_from,finish_date:t.date_to},this.PaymentDetail(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.sort_name,this.dateParams.sort_type,1),this.TaxRateDetail(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.sort_name,this.dateParams.sort_type,1),this.TopCategories(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.category_id,this.dateParams.supplier_id,this.dateParams.sort_name,this.dateParams.sort_type,1),this.getCategorySalesDetails(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.category_id,this.dateParams.supplier_id,this.dateParams.sort_name,this.dateParams.sort_type,1)}handleReset(){this.dateParams={chain_id:"",supplier_id:"",category_id:"",date_from:"",date_to:"",start_date:"",finish_date:"",sort_name:"",sort_type:"desc"}}getCatTableBody(){return JSON.parse(JSON.stringify(this.Categories)).map(e=>(e.percent=(100*parseFloat(e.percent)).toFixed(4),e.profit_percent=(100*parseFloat(e.profit_percent)).toFixed(2),Object.values(e)))}generateExcelCat(){this.categoriesService.downloadCategory({...this.getFileParams}).subscribe(t=>{const e=new Blob([t],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"});Ok.saveAs(e,`${this.catTitle}_${this.getFileParams.date_from}_${this.getFileParams.date_to}_shop_${this.getFileParams.shop_owner_id}_chain_${this.selectedChainName}.xlsx`)})}getPaymentTableBody(){return JSON.parse(JSON.stringify(this.Payments)).map(e=>(e.percent=(100*parseFloat(e.percent)).toFixed(4),Object.values(e)))}generateExcelPayment(){this.showButtonDownload=!0,this.loadingService.openDialog(),this.paymentHead=Object.keys(this.Payments[0]).map(e=>this.translateService.instant(e));this.excelService.generateExcel(this.getPaymentTableBody(),this.paymentHead,this.translateService.instant(this.paymentTitle),[2,3]),this.showButtonDownload=!1,this.loadingService.hideDialog()}getTaxTableBody(){return JSON.parse(JSON.stringify(this.TaxRate)).map(e=>(e.percent=(100*parseFloat(e.percent)).toFixed(2),Object.values(e)))}generateExcelTax(){this.taxHead=Object.keys(this.TaxRate[0]).map(e=>this.translateService.instant(e));this.excelService.generateExcel(this.getTaxTableBody(),this.taxHead,this.translateService.instant(this.taxTitle),[4,5,6]),this.showButtonDownload=!1,this.loadingService.hideDialog()}ngOnDestroy(){var t=this;return(0,ti.Z)(function*(){t.CategorySub&&t.CategorySub.unsubscribe(),t.PaymentSub&&t.PaymentSub.unsubscribe(),t.TaxRateSub&&t.TaxRateSub.unsubscribe()})()}};Ah.ctorParameters=()=>[{type:g0},{type:av},{type:vn.e},{type:It.gz},{type:Qe.E},{type:Y.sK},{type:It.F0},{type:kr},{type:FQ.X}],Ah.propDecorators={paginator:[{type:m.i9L,args:[Wa.NW,{static:!0}]}],sort:[{type:m.i9L,args:[Ma.YE,{static:!0}]}],Input:[{type:m.i9L,args:[QO.Nt,{static:!0}]}],ngOnDestroy:[{type:m.L6J,args:["window:beforeunload"]}]},Ah=(0,j.gn)([(0,m.wA2)({selector:"app-report-by-category-new",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-field-form [formColumn]="formDataSource" (onSubmit)="handleSubmit($event)"\n (onReset)="handleReset()">\n </app-common-search-field-form>\n <div class="row" style="margin: 3px">\n <mat-card class="col-md-3">\n <mat-icon *ngIf="chart" [disabled]="showButtonDownloadicon" (click)="generateExcelTopCategory()" class="download">\n cloud_download</mat-icon>
1\n <canvas id="canvas1" style="width: 100%; height: 500px">\n {{ chart }}\n </canvas>\n </mat-card>\n <mat-card class="col-lg-9" style="overflow-y: auto; overflow-x: auto">\n <div class="row">\n <div class="col">\n <h6>{{ "Category Detail" | translate }}</h6>\n </div>\n <div *ngIf="CategoryList" class="col">\n \x3c!-- download excel button --\x3e\n <button [disabled]="showButtonDownload" (click)="generateExcelCat()" style="float: right"\n class="btn btn-primary d-flex align-items-center justify-content-center">\n {{ "Download" | translate }}\n <i class="material-icons"> download </i>\n </button>\n </div>\n </div>\n <div class="pb-3" style="overflow: auto; margin-bottom: 40px;">\n <table class="table table-hover">\n <thead>\n <tr style="border: hidden">\n <th class="text-left">\n {{ "Category ID" | translate }}\n <i *ngIf="actionIconCat[1] == false && CategoryList" (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_id\', \'ASC\', 1)\n " class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconCat[1] == true && CategoryList" (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_id\', \'DESC\', 1)\n " class="my-icon fa fa-chevron-up"></i>\n </th>\n <th class="text-right">\n {{ "Category Name" | translate }}\n <i *ngIf="actionIconCat[2] == false && CategoryList" (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_name\', \'ASC\', 2)\n " class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconCat[2] == true && CategoryList" (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_name\', \'DESC\', 2)\n " class="my-icon fa fa-chevron-up"></i>\n </th>\n <th class="text-right">\n {{ "Total Payment Amount" | translate }}\n <i *ngIf="actionIconCat[5] == false && CategoryList" (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_id\', \'ASC\', 5)\n " class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconCat[5] == true && CategoryList" (click)="\n TopCategories(\n \'\',\n \'\',\n \'\',\n \'\',\n \'\',\n \'payment_amount_sum\',\n \'DESC\',\n 5\n )\n " class="my-icon fa fa-chevron-up"></i>\n </th>\n\n <th class="text-right">\n {{ "Percent" | translate }}\n <i *ngIf="actionIconCat[4] == false && CategoryList" (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_id\', \'ASC\', 4)\n " class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconCat[4] == true && CategoryList" (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_id\', \'DESC\', 4)\n " class="my-icon fa fa-chevron-up"></i>\n </th>\n <th class="text-right">\n {{ "Total Order Payment Amount" | translate }}\n <i *ngIf="actionIconCat[3] == false && CategoryList" (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_id\', \'ASC\', 3)\n " class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconCat[3] == true && CategoryList" (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_id\', \'DESC\', 3)\n " class="my-icon fa fa-chevron-up"></i>\n </th>\n <th class="text-right">\n {{ "Total Cost" | translate }}\n </th>\n <th class="text-right">\n {{ "Total-Quantity" | translate }}\n <i *ngIf="actionIconCat[6] == false && CategoryList" (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'quantity_sum\', \'ASC\', 6)\n " class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconCat[6] == true && CategoryList" (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'quantity_sum\', \'DESC\', 6)\n " class="my-icon fa fa-chevron-up"></i>\n </th>\n <th class="text-right">\n {{ "Profit" | translate }}\n <i *ngIf="actionIconCat[7] == false && CategoryList"\n (click)="TopCategories(\'\', \'\', \'\', \'\', \'\', \'profit\', \'ASC\', 7)" class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconCat[7] == true && CategoryList"\n (click)="TopCategories(\'\', \'\', \'\', \'\', \'\', \'profit\', \'DESC\', 7)" class="my-icon fa fa-chevron-up"></i>\n </th>\n <th class="text-right">\n {{ "Profit Percent" | translate }}\n <i *ngIf="actionIconCat[8] == false && CategoryList" (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'profit_percent\', \'ASC\', 8)\n " class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconCat[8] == true && CategoryList" (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'profit_percent\', \'DESC\', 8)\n " class="my-icon fa fa-chevron-up"></i>\n </th>\n </tr>\n </thead>\n <tbody *ngFor="let c of CategoryList | paginate : config">\n <tr style="border: hidden">\n <td class="text-left">{{ c.category_id }}</td>\n <td class="text-right">\n <button routerLink="/shop/category-product-details/{{c.category_id}}" title=""\n mat-link-button style="text-decoration: underline; cursor: pointer; color: blue ; background-color: rgba(255,255,255,.001);">{{ c.category_name }}\n </button>\n \x3c!-- <a target="_blank" [routerLink]="[\'\', c.]"\n ></a> --\x3e\n </td>\n <td class="text-right">{{ c.order_payment_amount_sum }}</td>\n <td class="text-right">{{ c.percent | percent }}</td>\n <td class="text-right">{{ c.payment_amount_sum }}</td>\n <td class="text-right">{{ c.total_order_cost }}</td>\n <td class="text-right">{{ c.quantity_sum }}</td>\n <td class="text-right">{{ c.profit }}</td>\n <td class="text-right">{{ c.profit_percent | percent }}</td>\n </tr>\n </tbody>\n <tfoot>\n <tr style="border: hidden">\n <td class="text-left">{{ "Total" | translate }}</td>\n <td class="text-right">-</td>\n <td class="text-right">\n {{total_order_payment_amount_sum }}\n </td>\n <td class="text-right">-</td>\n <td class="text-right">\n {{total_payment_amount_sum}}\n </td>\n <td class="text-right">-</td>\n <td class="text-right">\n {{total_quantity_sum}}\n </td>\n <td class="text-right">\n {{total_profit}}\n </td>\n <td class="text-right">-</td>\n </tr>\n </tfoot>\n </table>\n </div>\n <div class="pagination-custom">\n <pagination-controls (pageChange)="changePage($event)" previousLabel="" nextLabel="">\n </pagination-controls>\n </div>\n </mat-card>\n </div>\n <div class="row" style="margin: 3px">\n <mat-card class="col-md-6" style="width: 100%; height: 430px; overflow-x: auto">\n <div class="row">\n <div class="col">\n <h6>{{ "Payment-Details" | translate }}</h6>\n </div>\n <div *ngIf="Payments" class="col">\n \x3c!-- download excel button --\x3e\n <button [disabled]="showButtonDownload" (click)="generateExcelPayment()" style="float: right"\n class="btn btn-primary d-flex align-items-center justify-content-center">\n {{ "Download" | translate }}\n <i class="material-icons"> download </i>\n </button>\n </div>\n </div>\n <div class="pb-3" style="overflow: auto; margin-bottom: 40px;">\n <table class="table table-hover">\n <thead>\n <tr style="border: hidden">\n <th class="text-left">\n {{ "payment_name" | translate }}\n <i *ngIf="actionIconPay[1] == false && Payments"\n (click)="PaymentDetail(\'\', \'\', \'\', \'payment_name\', \'ASC\', 1)" class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconPay[1] == true && Payments"\n (click)="PaymentDetail(\'\', \'\', \'\', \'payment_name\', \'DESC\', 1)" class="my-icon fa fa-chevron-up"></i>\n </th>\n <th class="text-right">\n {{ "Total Payment Amount" | translate }}\n <i *ngIf="actionIconPay[5] == false && Payments" (click)="\n PaymentDetail(\'\', \'\', \'\', \'payment_amount_sum\', \'ASC\', 5)\n " class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconPay[5] == true && Payments" (click)="\n PaymentDetail(\'\', \'\', \'\', \'payment_amount_sum\', \'DESC\', 5)\n " class="my-icon fa fa-chevron-up"></i>\n </th>\n <th class="text-right">\n {{ "Percent" | translate }}\n <i *ngIf="actionIconPay[3] == false && Payments" (click)="PaymentDetail(\'\', \'\', \'\', \'percent\', \'ASC\', 3)"\n class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconPay[3] == true && Payments" (click)="PaymentDetail(\'\', \'\', \'\', \'percent\', \'DESC\', 3)"\n class="my-icon fa fa-chevron-up"></i>\n </th>\n <th class="text-right">\n {{ "orders_count" | translate }}\n <i *ngIf="actionIconPay[4] == false && Payments"\n (click)="PaymentDetail(\'\', \'\', \'\', \'total_orders\', \'ASC\', 4)" class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconPay[4] == true && Payments"\n (click)="PaymentDetail(\'\', \'\', \'\', \'total_orders\', \'DESC\', 4)" class="my-icon fa fa-chevron-up"></i>\n </th>\n <th class="text-right">\n {{ "Total Order Payment Amount" | translate }}\n <i *ngIf="actionIconPay[2] == false && Payments" (click)="\n PaymentDetail(\n \'\',\n \'\',\n \'\',\n \'order_payment_amount_sum\',\n \'ASC\',\n 2\n )\n " class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconPay[2] == true && Payments" (click)="\n PaymentDetail(\n \'\',\n \'\',\n \'\',\n \'order_payment_amount_sum\',\n \'DESC\',\n 2\n )\n " class="my-icon fa fa-chevron-up"></i>\n </th>\n\n </tr>\n </thead>\n <tbody *ngFor="let p of Payments">\n <tr style="border: hidden">\n <td class="text-left">{{ p.payment_name }}</td>\n <td class="text-right">\n {{ p.order_payment_amount_sum | number : "0.2-2" }}\n </td>\n <td class="text-right">{{ p.percent | percent }}</td>\n <td class="text-right">{{ p.total_orders }}</td>\n <td class="text-right">\n {{ p.payment_amount_sum | number : "0.2-2" }}\n </td>\n </tr>\n </tbody>\n <tfoot>\n <tr>\n <td class="text-left">\n <strong>{{ "Total" | translate }}</strong>\n </td>\n <td class="text-right">\n <strong>{{\n getTotalOrderPaymentAmountSum() | number : "0.2-2"\n }}</strong>\n </td>\n <td></td>\n <td class="text-right">\n <strong>{{ getTotalOrdersCount() }}</strong>\n </td>\n <td class="text-right">\n <strong>{{\n getTotalPaymentAmountSum() | number : "0.2-2"\n }}</strong>\n </td>\n </tr>\n </tfoot>\n </table>\n </div>\n </mat-card>\n <mat-card class="col-md-6" style="width: 100%; height: 430px; overflow-x: auto">\n <div class="row">\n <div class="col">\n <h6>{{ "Tax Rate Detail" | translate }}</h6>\n </div>\n <div *ngIf="TaxRate" class="col">\n \x3c!-- download excel button --\x3e\n <button [disabled]="showButtonDownload" (click)="generateExcelTax()" style="float: right"\n class="btn btn-primary d-flex align-items-center justify-content-center">\n {{ "Download" | translate }}\n <i class="material-icons"> download </i>\n </button>\n </div>\n </div>\n <div class="pb-3" style="overflow: auto; margin-bottom: 40px;">\n <table class="table table-hover">\n <thead>\n <tr style="border: hidden">\n <th class="text-left">\n {{ "Tax Rate" | translate }}\n <i *ngIf="actionIconTax[1] == false && TaxRate" (click)="TaxRateDetail(\'\', \'\', \'\', \'item_rate\', \'ASC\', 1)"\n class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconTax[1] == true && TaxRate" (click)="TaxRateDetail(\'\', \'\', \'\', \'item_rate\', \'DESC\', 1)"\n class="my-icon fa fa-chevron-up"></i>\n </th>\n <th class="text-right">\n {{ "Total Payment Amount" | translate }}\n <i *ngIf="actionIconTax[5] == false && TaxRate" (click)="\n TaxRateDetail(\'\', \'\', \'\', \'payment_amount_sum\', \'ASC\', 5)\n " class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconTax[5] == true && TaxRate" (click)="\n TaxRateDetail(\'\', \'\', \'\', \'payment_amount_sum\', \'DESC\', 5)\n " class="my-icon fa fa-chevron-up"></i>\n </th>\n <th class="text-right">\n {{ "Total Tax Amount" | translate }}\n <i *ngIf="actionIconTax[3] == false && TaxRate"\n (click)="PaymentDetail(\'\', \'\', \'\', \'tax_amount_sum\', \'ASC\', 3)" class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconTax[3] == true && TaxRate"\n (click)="TaxRateDetail(\'\', \'\', \'\', \'tax_amount_sum\', \'DESC\', 3)" class="my-icon fa fa-chevron-up"></i>\n </th>\n <th class="text-right">\n {{ "Percent" | translate }}\n <i *ngIf="actionIconTax[4] == false && TaxRate" (click)="TaxRateDetail(\'\', \'\', \'\', \'percent\', \'ASC\', 4)"\n class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconTax[4] == true && TaxRate" (click)="TaxRateDetail(\'\', \'\', \'\', \'percent\', \'DESC\', 4)"\n class="my-icon fa fa-chevron-up"></i>\n </th>\n <th class="text-right">\n {{ "Total Order Payment Amount" | translate }}\n <i *ngIf="actionIconTax[2] == false && TaxRate" (click)="\n TaxRateDetail(\n \'\',\n \'\',\n \'\',\n \'order_payment_amount_sum\',\n \'ASC\',\n 2\n )\n " class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconTax[2] == true && TaxRate" (click)="\n TaxRateDetail(\n \'\',\n \'\',\n \'\',\n \'order_payment_amount_sum\',\n \'DESC\',\n 2\n )\n " class=
1"my-icon fa fa-chevron-up"></i>\n </th>\n\n <th class="text-right">\n {{ "Total Product Quantity" | translate }}\n <i *ngIf="actionIconTax[6] == false && Payments"\n (click)="TaxRateDetail(\'\', \'\', \'\', \'quantity_sum\', \'ASC\', 6)" class="my-icon fa fa-chevron-down"></i>\n <i *ngIf="actionIconTax[6] == true && Payments"\n (click)="TaxRateDetail(\'\', \'\', \'\', \'quantity_sum\', \'DESC\', 6)" class="my-icon fa fa-chevron-up"></i>\n </th>\n </tr>\n </thead>\n <tbody *ngFor="let t of TaxRate">\n <tr style="text-align: right; border: hidden">\n <td class="text-left">{{ t.item_rate }}</td>\n <td class="text-right">\n {{ t.order_payment_amount_sum | number : "0.2-2" }}\n </td>\n <td class="text-right">\n {{ t.tax_amount_sum | number : "0.2-2" }}\n </td>\n <td class="text-right">{{ t.percent | percent }}</td>\n <td class="text-right">\n {{ t.payment_amount_sum | number : "0.2-2" }}\n </td>\n <td class="text-right">{{ t.quantity_sum }}</td>\n </tr>\n </tbody>\n <tfoot>\n <tr>\n <td class="text-left">\n <strong>{{ "Total" | translate }}</strong>\n </td>\n <td class="text-right">\n \x3c!-- <strong>{{\n getTotalOrderPaymentAmountSum() | number : "0.2-2"\n }}</strong> --\x3e\n </td>\n <td></td>\n <td class="text-right">\n <strong>{{ getTotalOrdersCount() }}</strong>\n </td>\n <td class="text-right">\n <strong>{{\n getTotalPaymentAmountSum() | number : "0.2-2"\n }}</strong>\n </td>\n </tr>\n </tfoot>\n </table>\n </div>\n </mat-card>\n </div>\n</div>\n',styles:[YO]})],Ah);let yh=class{constructor(t,e,a,r,i,o,s,l,c,d,u){this.elementRef=t,this.categoriesService=e,this.productsService=a,this.loadingService=r,this.orderServiceService=i,this.translate=o,this.route=s,this.router=l,this.datePipe=c,this.excelService=d,this.translateService=u,this.total=0,this.total_order=0,this.total_order_amount=0,this.dateParams={chain_id:"",category_id:"",supplier_id:"",date_from:"",date_to:"",start_date:"",finish_date:"",sort_name:"",sort_type:""},this.chartCenterTextPlugin={afterDatasetsUpdate(h){},beforeDraw(h,f,v){const A=h.ctx,x=function qQ(n){let t=parseFloat(n),a=0;for(;t>=1e3;)t/=1e3,a++;return t.toFixed(2)+["","K","M","B","T"][a]}(h.config.options.plugins.centerText);if(x){const{fontStyle:S,fontColor:k,fontFamily:D}=v,I=24,M=S||"bold",R=k||"#000",N=D||"tahoma";A.font=`${M} ${I}px ${N}`,A.fillStyle=R,A.textBaseline="middle",A.textAlign="center";const U=x.toString(),z=Math.round((h.chartArea.left+h.chartArea.right)/2),B=Math.round((h.chartArea.top+h.chartArea.bottom)/2);A.fillText(U,z,B)}}},this.formDataSource=[{type:"chainSelect",key:"chain_id"},{type:"categorySelect",key:"category_id"},{type:"supplierSelect",key:"supplier_id"},{type:"dateTime",key:"date_from",placeholder:"common_startDate",translateKey:"common_startDate",value:qe.ou.now().minus({days:7}).toFormat("yyyy-MM-dd")},{type:"dateTime",key:"date_to",placeholder:"common_endDate",translateKey:"common_endDate",value:qe.ou.now().toFormat("yyyy-MM-dd")}],this.filterChain=!0,this.intLoadings=0,this.labeldaily=["Total Order Payment Amount","Total Order Cost"],this.labeltopProduct=[],this.categoryTitle="Top Category",this.productTitle="Top Products",this.loadingService.openDialog(),this.route.queryParams.subscribe(h=>{this.period=h.period})}ngOnInit(){console.log("come back");let t=this.datePipe.transform(new Date,"yyyy-MM-dd"),e=this.datePipe.transform(new Date((new Date).getTime()-6048e5),"yyyy-MM-dd");this.dateParams.start_date=e,this.dateParams.finish_date=t,this.intLoadings=0,this.loadingService.openDialog(),this.getTopCategories(e,t,"","","","category_id","desc"),this.getTopProduct(e,t,"",""),this.TotalOrders(e,t,"","",""),this.TotalOrderAmount(e,t,"","",""),this.getDaily(e,t,"",""),this.getWeekly(e,t,"",""),this.getMonthly(e,t,"",""),this.getQuarterly(e,t,"","")}TotalOrders(t,e,a,r,i){this.totalOrderSub=this.orderServiceService.getTotalOrders(t,e,a,r,i).subscribe(o=>{this.totalOrder=o.data[0].count,this.intLoadings=this.intLoadings+1,8==this.intLoadings&&this.loadingService.hideDialog()})}TotalOrderAmount(t,e,a,r,i){this.totalOrderAmountSub=this.orderServiceService.getTotalOrderAmount(t,e,a,r,i).subscribe(o=>{o.data[0].sum?this.totalOrderAmout=o.data[0].sum:this.totalOrderAmout=0,this.intLoadings=this.intLoadings+1,8==this.intLoadings&&this.loadingService.hideDialog()})}getDaily(t,e,a,r){this.OrderSub=this.orderServiceService.getOrderAmountDetail("daily",t,e,a,r).subscribe(i=>{this.Orders=i;let o=i.data.map(c=>c.payment_date),s=i.data.map(c=>c.order_cost_sum),l=i.data.map(c=>c.order_payment_amount_sum);this.chart=new sr.Chart("dailychart",{type:"line",data:{labels:o,datasets:[{label:this.translate.instant("Total Order Payment Amount"),data:l,lineTension:0,fill:!1,borderColor:"rgb(169, 137, 197)"},{label:this.translate.instant("Total Order Cost"),data:s,lineTension:0,fill:!1,borderColor:"rgb(152, 217, 217)"}]},options:{title:{display:!0,text:this.translate.instant("Daily Order Amount Detail"),fontSize:15,fontFamily:"Lato, sans-serif",fontColor:"#4c5773"}
1,legend:{display:!0,position:"top",labels:{boxWidth:80,fontColor:"#949aab"}}}}),this.intLoadings=this.intLoadings+1,8==this.intLoadings&&this.loadingService.hideDialog()})}getWeekly(t,e,a,r){this.OrderSub=this.orderServiceService.getOrderAmountDetail("weekly",t,e,a,r).subscribe(i=>{this.Orders=i;let o=i.data.map(c=>c.payment_date),s=i.data.map(c=>c.order_cost_sum),l=i.data.map(c=>c.order_payment_amount_sum);this.chart=new sr.Chart("weeklychart",{type:"line",data:{labels:o,datasets:[{label:this.translate.instant("Total Order Payment Amount"),data:l,lineTension:0,fill:!1,borderColor:"rgb(169, 137, 197)"},{label:this.translate.instant("Total Order Cost"),data:s,lineTension:0,fill:!1,borderColor:"rgb(152, 217, 217)"}]},options:{title:{display:!0,text:this.translate.instant("Weekly Order Amount Detail"),fontSize:15,fontFamily:"Lato, sans-serif",fontColor:"#4c5773"},legend:{display:!0,position:"top",labels:{boxWidth:80,fontColor:"#949aab"}}}}),this.intLoadings=this.intLoadings+1,8==this.intLoadings&&this.loadingService.hideDialog()})}getMonthly(t,e,a,r){this.OrderSub=this.orderServiceService.getOrderAmountDetail("monthly",t,e,a,r).subscribe(i=>{this.Orders=i;let o=i.data.map(c=>c.payment_date),s=i.data.map(c=>c.order_cost_sum),l=i.data.map(c=>c.order_payment_amount_sum);this.chart=new sr.Chart("monthlychart",{type:"line",data:{labels:o,datasets:[{label:this.translate.instant("Total Order Payment Amount"),data:l,lineTension:0,fill:!1,borderColor:"rgb(169, 137, 197)"},{label:this.translate.instant("Total Order Cost"),data:s,lineTension:0,fill:!1,borderColor:"rgb(152, 217, 217)"}]},options:{title:{display:!0,text:this.translate.instant("Monthly Order Amount Detail"),fontSize:15,fontFamily:"Lato, sans-serif",fontColor:"#4c5773"},legend:{display:!0,position:"top",labels:{boxWidth:80,fontColor:"#949aab"}}}}),this.intLoadings=this.intLoadings+1,8==this.intLoadings&&this.loadingService.hideDialog()})}getQuarterly(t,e,a,r){this.OrderSub=this.orderServiceService.getOrderAmountDetail("quaterly",t,e,a,r).subscribe(i=>{this.Orders=i,this.loadingService.hideDialog();let o=i.data.map(c=>c.payment_date),s=i.data.map(c=>c.order_cost_sum),l=i.data.map(c=>c.order_payment_amount_sum);this.chart=new sr.Chart("quaterlychart",{type:"line",data:{labels:o,datasets:[{label:this.translate.instant("Total Order Payment Amount"),data:l,lineTension:0,fill:!1,borderColor:"rgb(169, 137, 197)"},{label:this.translate.instant("Total Order Cost"),data:s,lineTension:0,fill:!1,borderColor:"rgb(152, 217, 217)"}]},options:{title:{display:!0,text:this.translate.instant("Quarterly Order Amount Detail"),fontSize:15,fontFamily:"Lato, sans-serif",fontColor:"#4c5773"},legend:{display:!0,position:"top",labels:{boxWidth:80,fontColor:"#949aab"}}}}),this.intLoadings=this.intLoadings+1,8==this.intLoadings&&this.loadingService.hideDialog()})}getCustom(){return this.formDataSource[""]}getTopCategories(t,e,a,r,i,o,s){this.CategorySub=this.categoriesService.getTopCategories(t,e,a,r,i,o,s).subscribe(l=>{let c,d=[],u=[],h=0;if(l.data.length>0){this.Categories=l.data,u=l.data.map(v=>Number(v.payment_amount_sum||0)||0),h=u.reduce((v,A)=>v+A,0),c=l.data.slice(0,5).map(v=>v.category_name),c.push("OTHERS"),d=l.data.map(v=>v.order_payment_amount_sum);let f=/\,/gi;for(let v=0;v<d.length;v++)d[v]=+d[v].replace(f,"");this.total=0;for(let v=9;v<d.length;v++)this.total=this.total+d[v];d=d.slice(0,5),d.push(this.total)}else c=null,d=null,this.Categories=null;this.chartTopCategorie=new sr.Chart("canvas1",{type:"doughnut",data:{labels:c,datasets:[{label:c,backgroundColor:["#0582ca","#00a6fb","#84d2f6","#008000","#38b000","#d3d3d3"],data:d}]},options:{title:{display:!0,position:"top",fontSize:17,lineHeight:1.5,fontFamily:"tahoma"},legend:{labels:{usePointStyle:!0,fontStyle:"bold"}},plugins:{centerText:h.toFixed(2)}},plugins:[this.chartCenterTextPlugin]}),this.intLoadings=this.intLoadings+1,8==this.intLoadings&&this.loadingService.hideDialog()})}getTopProduct(t,e,a,r){this.ProductSub=this.productsService.getTopProduct(t,e,a,r).subscribe(i=>{let o,s=[],l=[],c=0;if(i.data.length>0){l=i.data.map(d=>Number(d.payment_amount||0)||0),c=l.reduce((d,u)=>d+u,0),this.Products=i.data,o=i.data.slice(0,5).map(d=>d.product_name),o.push("OTHERS"),s=i.data.map(d=>d.payment_amount);for(let d=4;d<s.length;d++)this.total=this.total+s[d];s=s.slice(0,5),s.push(this.total)}else o=null,s=null;
1this.chartTopProduct=new sr.Chart("canvas",{type:"doughnut",data:{labels:o,datasets:[{label:o,backgroundColor:["#9f21e3","#cb5df1","#eabffa","#347f83","#35d475","#d3d3d3","#e7d8c9","#f1dca7","#bbd0ff","#faedcd"],data:s}]},options:{title:{display:!0,position:"top",fontSize:17,lineHeight:1.5,fontFamily:"tahoma"},legend:{labels:{usePointStyle:!0,fontStyle:"bold"}},plugins:{centerText:c.toFixed(2)}},plugins:[this.chartCenterTextPlugin]}),this.intLoadings=this.intLoadings+1,8==this.intLoadings&&this.loadingService.hideDialog()})}FilterDate1(t){}getCategoryTableBody(){return this.Categories.map(t=>(t.percent=(100*parseFloat(t.percent)).toFixed(4),t.profit=parseFloat(t.profit).toFixed(2),t.profit_percent=parseFloat(t.profit_percent).toFixed(2),t.payment_amount_sum=parseFloat(t.payment_amount_sum).toFixed(2),t.order_payment_amount_sum=parseFloat(t.order_payment_amount_sum).toFixed(2),Object.values(t)))}generateExcelCategory(){this.categoryHead=Object.keys(this.Categories[0]).map(e=>this.translateService.instant(e));this.excelService.generateExcel(this.getCategoryTableBody(),this.categoryHead,this.translateService.instant(this.categoryTitle),[3,4,5,6,7,8])}getTopProductTableBody(t,e,a,r){this.productsService.DownloadTopProduct(t,e,a,r).subscribe(o=>{this.TopProducts=o.data});return JSON.parse(JSON.stringify(this.TopProducts)).map(o=>(o.discount_amount=parseFloat(o.discount_amount).toFixed(2),o.order_amount=parseFloat(o.order_amount).toFixed(2),o.payment_amount=parseFloat(o.payment_amount).toFixed(2),Object.values(o)))}generateExcelProduct(){this.productsService.DownloadTopProduct(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.supplier_id).subscribe(e=>{this.TopProducts=e.data}),this.productHead=Object.keys(this.TopProducts[0]).map(e=>this.translateService.instant(e));this.excelService.generateExcel(this.getTopProductTableBody(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.supplier_id),this.productHead,this.translateService.instant(this.productTitle),[3,4,5,6,7])}handleSubmit(t){console.log("value",t),this.intLoadings,this.loadingService.openDialog(),this.dateParams={...t,start_date:t.date_from,finish_date:t.date_to},console.log("dateParams",this.dateParams),this.getTopProduct(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.supplier_id),this.getTopCategories(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.category_id,this.dateParams.supplier_id,this.dateParams.sort_name,this.dateParams.sort_type),this.TotalOrders(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.supplier_id,this.dateParams.category_id),this.TotalOrderAmount(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.supplier_id,this.dateParams.category_id),this.getDaily(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.supplier_id),this.getWeekly(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.supplier_id),this.getMonthly(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.supplier_id),this.getQuarterly(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.supplier_id)}handleReset(){this.dateParams={chain_id:"",supplier_id:"",category_id:"",date_from:"",date_to:"",start_date:"",finish_date:"",sort_name:"",sort_type:""}}ngOnDestroy(){var t=this;return(0,ti.Z)(function*(){t.CategorySub&&t.CategorySub.unsubscribe(),t.ProductSub&&t.ProductSub.unsubscribe(),t.OrderSub&&t.OrderSub.unsubscribe(),t.totalOrderSub&&t.totalOrderSub.unsubscribe(),t.totalOrderAmountSub&&t.totalOrderAmountSub.unsubscribe()})()}onClickEvent(t){t.target.id&&(this.loadingService.openDialog(),this.getTopProduct(this.dateParams.date_from,this.dateParams.date_to,this.dateParams.chain_id,this.dateParams.supplier_id),this.TotalOrders(this.dateParams.date_from,this.dateParams.date_to,this.dateParams.chain_id,this.dateParams.supplier_id,this.dateParams.category_id),this.TotalOrderAmount(this.dateParams.date_from,this.dateParams.date_to,this.dateParams.chain_id,this.dateParams.supplier_id,this.dateParams.category_id),this.getDaily(this.dateParams.date_from,this.dateParams.date_to,this.dateParams.chain_id,this.dateParams.supplier_id),this.getWeekly(this.dateParams.date_from,this.dateParams.date_to,this.dateParams.chain_id,this.dateParams.supplier_id),this.getMonthly(this.dateParams.date_from,this.dateParams.date_to,this.dateParams.chain_id,this.dateParams.supplier_id),this.getQuarterly(this.dateParams.date_from,this.dateParams.date_to,this.dateParams.chain_id,this.dateParams.supplier_id))}};yh.ctorParameters=()=>[{type:m.SBq},{type:Ee.G},{type:_g.s},{type:Qe.E},{type:bn.C},{type:Y.sK},{type:It.gz},{type:It.F0},{type:Q.uU},{type:kr},{type:Y.sK}],yh.propDecorators={draw1:[{type:m.i9L,args:["draw1",{static:!0}]}],ngOnDestroy:[{type:m.L6J,args:["window:beforeunload"]}],onClickEvent:[{type:m.L6J,args:["document:click",["$event"]]}]},yh=(0,j.gn)([(0,m.wA2)({selector:"app-sales-report",template:'<div class="container-fluid" i18n>\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n \x3c!--\n <div class="row">\n <mat-form-field appearance="outline" class="col-md-2">\n <mat-label>{{\'Duration\' | translate}}</mat-label>\n <mat-select name="duration" (selectionChange)="selectDuration($event)">\n <mat-option value="daily">{{\'Daily\' | translate}}</mat-option>\n <mat-option value="weekly">{{\'Weekly\' | translate}}</mat-option>\n <mat-option value="monthly">{{\'Monthly\' | translate}}</mat-option>\n <mat-option value="quarterly">{{\'Quarterly\' | translate}}</mat-option>\n <mat-option value="custom">{{\'Custom\' | translate}}</mat-option>\n </mat-select>\n </mat-form-field>--\x3e\n <app-common-search-field-form class="col-md-9" [formColumn]="formDataSource" (onSubmit)="handleSubmit($event)"\n (onReset)="handleReset()">\n </app-common-search-field-form>\n \x3c!-- <app-common-metabase-report [metabaseDashboardKeyInConfig]="\'metabase_sales_report_dashboard_ids\'" [formDataSource]="formDataSource" [filterChain]="filterChain" ></app-common-metabase-report>\n --\x3e\n\n <div class="row" style="margin: 3px;">\n <mat-card class="col-md-3">\n <div *ngIf="totalOrderAmout!=null && totalOrderAmout>=1000" class="totalOrder text-wrap">{{totalOrderAmout |\n convertNumber }}</div>\n <div *ngIf="totalOrderAmout!=null && totalOrderAmout<1000" class="totalOrder text-wrap">{{totalOrderAmout |\n number: "0.2-2" }}</div>\n <h6 *ngIf="totalOrderAmout!=null" class="totalTitle">{{\'Total Order Amount\' | translate}}</h6>\n </mat-card>\n <mat-card class="col-md-3">\n <div *ngIf="totalOrder!=null && totalOrder>=1000" class="totalCost text-wrap">{{totalOrder | convertNumber}}</div>\n <div *ngIf="totalOrder!=null && totalOrder<1000" class="totalCost text-wrap">{{totalOrder | number}}</div>\n <h6 *ngIf="totalOrder!=null" class="orderTitle">{{\'Total Orders\' | translate}}</h6>\n </mat-card>\n <mat-card class="col-md-3">\n <mat-icon *ngIf="chart" (click)="generateExcelProduct()" class="download">cloud_download</mat-icon>\n <h6 class="orderTitle">{{\'Top Products\' | translate}}</h6>
1\n <canvas id="canvas" style="width: 100%; height: 350px;">{{ chart }} </canvas>\n </mat-card>\n <mat-card class="col-md-3">\n <mat-icon *ngIf="chart" (click)="generateExcelCategory()" class="download">cloud_download</mat-icon>\n <h6 class="orderTitle">{{\'Top Category\'| translate}}</h6>\n <canvas id="canvas1" style="width: 100%; height: 350px;">{{ chart }} </canvas>\n </mat-card>\n </div>\n <div class="row" style="margin: 3px;">\n <mat-card class="col-md-12">\n <canvas id="dailychart" style="width:100%; height: 500px;">{{ chart }} </canvas>\n </mat-card>\n <mat-card class="col-md-12">\n <canvas id="weeklychart" style="width:100%;height: 500px">{{ chart }} </canvas>\n </mat-card>\n <mat-card class="col-md-12">\n <canvas id="monthlychart" style="width:100%;height: 500px">{{ chart }} </canvas>\n </mat-card>\n <mat-card class="col-md-12">\n <canvas id="quaterlychart" style="width:100%;height: 500px">{{ chart }} </canvas>\n </mat-card>\n </div>\n\n</div>\n',providers:[f0.j],styles:['.totalOrder {\n font-size: 3.0381rem;\n font-family: "Lato", sans-serif;\n color: #4c5773;\n font-style: normal;\n cursor: pointer;\n font-weight: 900;\n white-space: pre;\n left: auto;\n right: auto;\n padding-top: 100px;\n bottom: auto;\n text-align: center;\n word-wrap: break-word;\n}\n\n.totalOrder:hover {\n color: #39A2DB;\n}\n\n.totalTitle {\n text-align: center;\n font-family: "Lato", sans-serif;\n color: #4c5773;\n font-style: normal;\n font-weight: 700;\n cursor: pointer;\n font-size: 1.17em;\n}\n\n.totalTitle:hover {\n color: #39A2DB;\n}\n\n.totalCost {\n font-size: 3.0381rem;\n font-family: "Lato", sans-serif;\n color: #4c5773;\n font-style: normal;\n cursor: pointer;\n font-weight: 900;\n white-space: pre;\n text-align: center;\n align-self: center;\n left: auto;\n right: auto;\n padding-top: 100px;\n bottom: auto;\n word-wrap: break-word;\n}\n\n.totalCost:hover {\n color: #39A2DB;\n}\n\n.orderTitle {\n text-align: center;\n text-align: center;\n font-family: "Lato", sans-serif;\n color: #4c5773;\n font-style: normal;\n font-weight: 700;\n cursor: pointer;\n font-size: 1.17em;\n left: auto;\n right: auto;\n bottom: auto;\n}\n\n.orderTitle:hover {\n color: #39A2DB;\n}\n\n.button-24 {\n margin-top: 7px;\n margin-right: 10px;\n background: #ff4742;\n border: 1px solid #ff4742;\n border-radius: 6px;\n box-shadow: rgba(0, 0, 0, 0.1) 1px 2px 4px;\n box-sizing: border-box;\n color: #ffffff;\n cursor: pointer;\n display: inline-block;\n font-family: nunito, roboto, proxima-nova, "proxima nova", sans-serif;\n font-size: 16px;\n font-weight: 800;\n line-height: 16px;\n min-height: 40px;\n outline: 0;\n padding: 12px 14px;\n text-align: center;\n text-rendering: geometricprecision;\n text-transform: none;\n user-select: none;\n -webkit-user-select: none;\n touch-action: manipulation;\n vertical-align: middle;\n}\n\n.button-24:hover,\n.button-24:active {\n background-color: initial;\n background-position: 0 0;\n color: #ff4742;\n}\n\n.button-24:active {\n opacity: 0.5;\n}\n\nmat-card {\n margin-bottom: 3px;\n}\n\n.download {\n float: right;\n}\n\n.download:hover {\n color: #39A2DB;\n cursor: pointer;\n}']})],yh);let bh=class{constructor(t,e,a,r,i,o){this.supplierS2cService=t,this.excelService=e,this.loadingService=a,this.router=r,this.datePipe=i,this.translateService=o,this.Suppliers=[],this.Supp=[],this.total=0,this.dateParams={chain_id:"",supplier_id:"",date_from:"",date_to:"",start_date:"",finish_date:""},this.formDataSource=[{type:"supplierSelect",key:"supplier_id"},{type:"chainSelect",key:"chain_id"},{type:"dateTime",key:"date_from",placeholder:"common_startDate",translateKey:"common_startDate",value:qe.ou.now().minus({days:7}).toFormat("yyyy-MM-dd")},{type:"dateTime",key:"date_to",placeholder:"common_endDate",translateKey:"common_endDate",value:qe.ou.now().toFormat("yyyy-MM-dd")}],this.filterChain=!0,this.filterSupplier=!0,this.dataSource=[],this.showButtonDownload=!1,this.suppTitle="Top Suppliers",this.supplierTitle="Supplier-details",this.loadingService.openDialog()}ngOnInit(){let t=this.datePipe.transform(new Date,"yyyy-MM-dd"),e=this.datePipe.transform(new Date((new Date).getTime()-6048e5),"yyyy-MM-dd");
1this.getSuppliers(e,t,"","")}clickSupplierName(t){const e=location.origin+"/shop/supplier-product-details/"+t.supplier_id+"?start_date="+this.dateParams.start_date+"&finish_date="+this.dateParams.finish_date;window.open(e)}getSuppliers(t,e,a,r){this.SupplierSub=this.supplierS2cService.getTopSupplier(t,e,a,r).subscribe(i=>{if(i.data){this.Suppliers=i.data,this.loadingService.hideDialog(),i.data.length<7?this.config={itemsPerPage:this.Suppliers.length,currentPage:1,totalItems:this.Suppliers.length}:this.config={itemsPerPage:7,currentPage:1,totalItems:this.Suppliers.length};let o=i.data.slice(0,9).map(d=>d.supplier_name);o.push("OTHERS");let s=i.data.map(d=>d.order_payment_amount_sum),l=0;for(let d=0;d<s.length;d++)l+=s[d];for(let d=9;d<s.length-2;d++)this.total=this.total+s[d];s=s.slice(0,9),s.push(this.total);const c={afterDatasetsUpdate(d){},beforeDraw(d,u,h){const f=d.ctx,A=function jQ(n){let t=parseFloat(n),a=0;for(;t>=1e3;)t/=1e3,a++;return t.toFixed(2)+["","K","M","B","T"][a]}(d.config.options.plugins.centerText);if(A){const{fontStyle:b,fontColor:x,fontFamily:S}=h,k=24,D=b||"bold",I=x||"#000",M=S||"tahoma";f.font=`${D} ${k}px ${M}`,f.fillStyle=I,f.textBaseline="middle",f.textAlign="center";const R=A.toString(),N=Math.round((d.chartArea.left+d.chartArea.right)/2),U=Math.round((d.chartArea.top+d.chartArea.bottom)/2);f.fillText(R,N,U)}}};this.chart=new sr.Chart("canvas",{type:"doughnut",data:{labels:o,datasets:[{label:o,backgroundColor:["#ff758f","#1e88e5","#2196f3","#90caf9","#38a3a5","#80ed99","#c7f9cc","#85182a","#e01e37","#d3d3d3"],data:s}]},options:{title:{display:!0,text:this.translateService.instant("Top Suppliers"),fontSize:20,lineHeight:1.5,fontFamily:"tahoma"},legend:{labels:{usePointStyle:!0,fontStyle:"bold"}},plugins:{centerText:l.toFixed(2)}},plugins:[c]})}})}getTopSupplierTableBody(t){return JSON.parse(JSON.stringify(t)).map(a=>(a.percent=(100*parseFloat(a.percent)).toFixed(2),a.profit=parseFloat(a.profit).toFixed(2),a.profit_percent=parseFloat(a.profit_percent).toFixed(2),Object.values(a)))}generateExcelTopSupplier(){if(this.showButtonDownload=!0,this.loadingService.openDialog(),this.Suppliers){this.suppHead=Object.keys(this.Suppliers[0]).map(e=>this.translateService.instant(e));this.excelService.generateExcel(this.getTopSupplierTableBody(this.Suppliers),this.suppHead,this.translateService.instant(this.suppTitle),[3,4,5,6,7,8]),this.showButtonDownload=!1,this.loadingService.hideDialog()}}handleSubmit(t){this.dateParams={...t,page:1,start_date:t.date_from,finish_date:t.date_to},this.getSuppliers(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.supplier_id)}handleReset(){this.dateParams={chain_id:"",supplier_id:"",date_from:"",date_to:"",start_date:"",finish_date:""}}getSupplierTableBody(t){return JSON.parse(JSON.stringify(t)).map(a=>Object.values(a))}generateExcelSupplier(){if(this.showButtonDownload=!0,this.loadingService.openDialog(),this.Suppliers){this.supplierHead=Object.keys(this.Suppliers[0]).map(e=>this.translateService.instant(e));this.excelService.generateExcel(this.getSuppliersTableBody(this.Suppliers),this.supplierHead,this.translateService.instant(this.supplierTitle),[3,4,5,6,7,8]),this.showButtonDownload=!1,this.loadingService.hideDialog()}}getSuppliersTableBody(t){return JSON.parse(JSON.stringify(t)).map(a=>(a.percent=(100*parseFloat(a.percent)).toFixed(4),a.profit=parseFloat(a.profit).toFixed(2),a.profit_percent=parseFloat(a.profit_percent).toFixed(2),Object.values(a)))}ngOnDestroy(){var t=this;return(0,ti.Z)(function*(){t.SupplierSub&&t.SupplierSub.unsubscribe()})()}};bh.ctorParameters=()=>[{type:vn.e},{type:kr},{type:Qe.E},{type:It.F0},{type:Q.uU},{type:Y.sK}],bh.propDecorators={ngOnDestroy:[{type:m.L6J,args:["window:beforeunload"]}]},bh=(0,j.gn)([(0,m.wA2)({selector:"app-report-by-supplier",template:'\x3c!--\n * @Author : zizhan77\n * @Date : 2023-05-12 23:55:44\n * @LastEditors :\n * @LastEditTime : 2023-05-18 21:21:53\n * @FilePath : /b2s2c/src/app/modules/dashboard-shop/components/report-by-supplier/report-by-supplier.component.html\n--\x3e\n<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-field-form [formColumn]="formDataSource" (onSubmit)="handleSubmit($event)"\n (onReset)="handleReset()">\n </app-common-search-field-form>\n \x3c!-- <app-common-metabase-report [metabaseDashboardKeyInConfig]="\'metabase_report_by_supplier_dashboard_ids\'" [formDataSource]="formDataSource" [filterChain]="filterChain" [filterSupplier]="filterSupplier"></app-common-metabase-report>\n --\x3e\n <div class="row" style="margin: 3px;">\n <mat-card class="col-md-4">\n <mat-icon *ngIf="chart" [disabled]="showButtonDownload" (click)="generateExcelTopSupplier()" class="download">cloud_download</mat-icon>
1\n <canvas id="canvas" style="width: 100%; height: 530px;">{{ chart }} </canvas>\n </mat-card>\n\n <mat-card class="col-md-8" style="overflow-y: auto;overflow-x: auto;">\n <div class="row">\n <div class="col">\n <h6>{{ "Supplier-details" | translate }}</h6>\n </div>\n <div *ngIf="Suppliers" class="col">\n <button *ngIf="Suppliers" [disabled]="showButtonDownload" (click)="generateExcelSupplier()" style="float: right;"\n class="btn btn-primary d-flex align-items-center justify-content-center">\n {{\'Download\' | translate}}\n <i *ngIf="Suppliers" class="material-icons"> download </i>\n </button>\n </div>\n </div>\n <div class="pb-3" style="overflow: auto; margin-bottom: 40px;">\n <table class="table table-hover">\n <thead>\n <tr style="border: hidden;">\n <th class="text-left">{{\'supplier_id\' | translate}}</th>\n <th class="text-left">{{\'Supplier-Name\' | translate}}</th>\n <th style=\'text-align:right\'>{{\'Total Payment Amount\' | translate}}</th>\n <th style=\'text-align:right\'>{{\'Percent\' | translate}}</th>\n <th style=\'text-align:right\'>{{\'Total Order Payment Amount\' | translate}}</th>\n <th style=\'text-align:right\'>{{\'Total-Quantity\' | translate}}</th>\n <th style=\'text-align:right\'>{{\'Profit\' | translate}}</th>\n <th style=\'text-align:right\'>{{\'Profit Percent\' | translate}}</th>\n </tr>\n </thead>\n <tbody *ngFor=\'let supp of Suppliers| paginate:config\'>\n <tr>\n <td class="text-left">{{supp.supplier_id}}</td>\n \x3c!-- <td><a [routerLink]="[\'/supplier-product-details\', supp.supplier_id]">{{supp.supplier_name}}</a></td> --\x3e\n <td><a target="_blank"\n [routerLink]="[\'/shop/supplier-product-details\', supp.supplier_id]"\n style="text-decoration:underline;cursor:pointer;color:blue;">{{supp.supplier_name}}</a></td>\n <td style=\'text-align:right\'>{{supp.payment_amount_sum | number:\'0.2-2\' }}</td>\n <td style=\'text-align:right\'>{{supp.percent | percent}}</td>\n <td style=\'text-align:right\'>{{supp.order_payment_amount_sum | number:\'0.2-2\'}}</td>\n <td style=\'text-align:right\'>{{supp.quantity_sum}}</td>\n <td style=\'text-align:right\'>{{supp.profit| number:\'0.2-2\' }}</td>\n <td style=\'text-align:right\'>{{supp.profit_percent | percent}}</td>\n </tr>\n </tbody>\n\n </table>\n </div>\n <div class="" style="right: 0; position: absolute;">\n <pagination-controls (pageChange)="config.currentPage = $event" #paym previousLabel="" nextLabel="">\n </pagination-controls>\n </div>\n </mat-card>\n </div>\n</div>\n',styles:['th {\n font-family: "Lato", sans-serif;\n font-style: normal;\n color: #949aab;\n text-align: left;\n font-weight: bold;\n font-size: 13px;\n white-space: nowrap;\n border: hidden;\n}\n\ntd {\n font-weight: 700;\n color: #4c5773;\n font-size: 13px;\n font-weight: bold;\n text-align: left;\n border-spacing: 0;\n font-family: "Lato", sans-serif;\n font-style: normal;\n white-space: nowrap;\n border: hidden;\n}\n\nh6 {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n color: #4c5773;\n font-weight: bold;\n cursor: pointer;\n font-size: 15px;\n font-family: "Lato", sans-serif;\n font-style: normal;\n}\n\nh6:hover {\n color: #39A2DB;\n}\n\nth:hover {\n color: #39A2DB;\n cursor: pointer;\n}\n\n.scroller mat-card {\n overflow-x: hidden;\n overflow-y: scroll;\n}\n\nmat-card {\n margin-bottom: 3px;\n}\n\n.download {\n position: absolute;\n right: 11px;\n}\n\n.download:hover {\n color: #39A2DB;\n cursor: pointer;\n}\n\n::-webkit-scrollbar {\n width: 1px;\n overflow-y: auto;\n overflow-x: auto;\n}\n\n::-webkit-scrollbar-track {\n border-radius: 10px;\n}\n\n::-webkit-scrollbar-thumb {\n border-radius: 10px;\n height: 5px !important;\n}']})],bh);let _h=class{constructor(t,e,a,r,i,o,s){this.chainService=t,this.translate=e,this.datePipe=a,this.http=r,this.configService=i,this.excelService=o,this.message=s,this.dataSource=[],this.dateParams={chain_id:"",cassa_id:"",date_from:"",date_to:"",start_date:"",finish_date:""},this.totals={total_orders_count:0,total_order_payment_amount_sum:0,total_cash_sum:0,total_debit_sum:0,total_credit_card_sum:0,total_payment_amount_sum:0,total_discount_amount_sum:0,total_slip_count:0,total_slip_sum:0,total_receipt_count:0,total_receipt_sum:0,total_product_quantity_sum:0,total_order_cost_sum:0},this.cardDataList=[{numberData:0,textData:"Total Order Payment Amount"},{numberData:0,textData:"Total Payment Amount"},{numberData:0,textData:"Total Discount Amount"},{numberData:0,textData:"Total-orders"}],this.formDataSource=[{type:"chainSelect",key:"chain_id"}
1,{type:"dateTime",key:"date_from",placeholder:"common_startDate",translateKey:"common_startDate",value:qe.ou.now().toFormat("yyyy-MM-dd")},{type:"dateTime",key:"date_to",placeholder:"common_endDate",translateKey:"common_endDate",value:qe.ou.now().toFormat("yyyy-MM-dd")}],this.filterChain=!0,this.filterCashier=!0,this.arraySort=[],this.regTitle="Cash Register Detail"}ngOnInit(){let t=this.datePipe.transform(new Date,"yyyy-MM-dd");this.getCashRegisterDetail(t,t,"","")}onSortClick(t){let a=t.currentTarget.classList;a.contains("fa-chevron-up")?(a.remove("fa-chevron-up"),a.add("fa-chevron-down"),this.sortDir=-1):(a.add("fa-chevron-up"),a.remove("fa-chevron-down"),this.sortDir=1)}sortArr(t){this.arraySort.sort((e,a)=>(e=e[t].toLowerCase(),a=a[t].toLowerCase(),e.localeCompare(a)*this.sortDir))}getCashRegisterDetail(t,e,a,r){this.CashSub=this.chainService.getCashRegisterDetail(t,e,a,r).subscribe(i=>{console.log("data",i),0===i.code||200===i.code||this.message.error(i.msg),this.Cash=i.data,this.totals=i.totals,this.cardDataList=[{numberData:(i.totals.total_payment_amount_sum||0).toFixed(2)||0,textData:"Total Order Payment Amount"},{numberData:(i.totals.total_order_payment_amount_sum||0).toFixed(2)||0,textData:"Total Payment Amount"},{numberData:(i.totals.total_discount_amount_sum||0).toFixed(2)||0,textData:"Total Discount Amount"},{numberData:i.totals.total_orders_count||0,textData:"Total-orders"}],i.data.length<10?this.config={itemsPerPage:this.Cash.length,currentPage:1,totalItems:this.Cash.length}:this.config={itemsPerPage:10,currentPage:1,totalItems:this.Cash.length}})}handleSubmit(t){console.log("value",t),this.dateParams={...t,start_date:t.date_from,finish_date:t.date_to},this.getCashRegisterDetail(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.cassa_id)}handleReset(){this.dateParams={chain_id:"",cassa_id:"",date_from:"",date_to:"",start_date:"",finish_date:""}}getTableBody(){return this.Cash.map(t=>(t.percent=(100*parseFloat(t.percent)).toFixed(2),t.profit_percent=parseFloat(t.profit_percent).toFixed(2),Object.values(t)))}generateExcel(){this.chainService.getCashRegisterFile({date_from:this.dateParams.date_from,date_to:this.dateParams.date_to,locale:localStorage.getItem("i18n")?localStorage.getItem("i18n"):"en-GB",chain_id:this.dateParams.chain_id,shop_owner_id:localStorage.getItem("shop_owner_id")}).subscribe(t=>{const e=new Blob([t],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"});Ok.saveAs(e,`${this.regTitle}_${this.dateParams.date_from}_${this.dateParams.date_to}_chain_${this.dateParams.chain_id}.xlsx`)})}ngOnDestroy(){var t=this;return(0,ti.Z)(function*(){t.CashSub&&t.CashSub.unsubscribe()})()}};_h.ctorParameters=()=>[{type:Oe.l},{type:Y.sK},{type:Q.uU},{type:Nt.eN},{type:Yn.E},{type:kr},{type:ne.I}],_h.propDecorators={ngOnDestroy:[{type:m.L6J,args:["window:beforeunload"]}]},_h=(0,j.gn)([(0,m.wA2)({selector:"app-report-by-cash-register",template:'\x3c!--\n * @Author : zizhan77\n * @Date : 2023-05-13 17:04:41\n * @LastEditors : Please set LastEditors\n * @LastEditTime : 2023-05-22 11:32:01\n * @FilePath : /b2s2c/src/app/modules/dashboard-shop/components/report-by-cash-register/report-by-cash-register.component.html\n--\x3e\n<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-field-form [formColumn]="formDataSource" (onSubmit)="handleSubmit($event)"\n (onReset)="handleReset()">\n </app-common-search-field-form>\n <app-products-card [cardDataList]="cardDataList"></app-products-card>\n \x3c!-- <app-common-metabase-report [metabaseDashboardKeyInConfig]="\'metabase_report_by_cash_register_dashboard_ids\'"\n [formDataSource]="formDataSource" [filterChain]="filterChain"></app-common-metabase-report>\n --\x3e\n\n <div class="row" style="margin: 5px">\n <mat-card class="col-md-12" style="overflow: scroll;">\n <div class="row">\n <div class="col">\n <h6>{{ "Cash Register Detail" | translate }}</h6>\n </div>\n <div *ngIf="Cash" class="col">\n \x3c!-- download excel button --\x3e\n <button (click)="generateExcel()" style="float: right;"\n class="btn btn-primary d-flex align-items-center justify-content-center">\n {{\'Download\' | translate}}\n <i class="material-icons"> download </i>\n </button>\n </div>\n </div>\n <div class="pb-3" style="overflow: auto; margin-bottom: 40px;">\n <table class="table table-hover" style="border: hidden;">\n <thead>\n <tr>\n <th>{{\'Chain\' | translate}}</th>\n <th>{{\'Cash Register\' | translate}}</th>\n <th>{{\'orders_count\' | translate}}</th>\n <th>{{\'Total Order Payment Amount\' | translate}}</th>\n <th>{{\'Total Discount Amount\' | translate}}</th>\n <th>{{\'Total Payment Amount\' | translate}}</th>\n <th>{{\'Percent\' | translate}}</th>\n <th>{{\'Total Cash\' | translate}}</th>\n <th>{{\'Total Debit\' | translate}}</th>\n <th>{{\'Total Credit Card\' | translate}}</th>\n <th>{{\'Reconciliation Slip Count\' | translate}}</th>\n <th>{{\'Reconciliation Slip Account\' | translate}}</th>\n <th>{{\'Receipt Count\' | translate}}</th>\n <th>{{\'Receipt Account\' | translate}}</th>\n <th>{{\'Total Product Quantity\' | translate}}</th>\n <th>{{\'Total Order Cost\' | translate}}</th>\n <th>{{\'Profit\' | translate}}</th>\n <th>{{\'Profit Percent\' | translate}}</th>\n </tr>\n </thead>\n <tbody *ngFor=\'let c of Cash| paginate:config\'>\n <tr>\n <td>{{c.chain_name}}</td>\n <td class="text-right">{{c.cassa_id}}</td>\n <td class="text-right">{{c.orders_count}}</td>\n <td class="text-right">{{c.payment_amount_sum| number:\'0.2-2\' }}</td>\n <td class="text-right">{{c.discount_amount_sum | number:\'0.2-2\'}}</td>\n <td class="text-right">{{c.order_payment_amount_sum | number:\'0.2-2\'}}</td>\n\n \n <td class="text-right">{{c.percent | percent}}</td>\n <td class="text-right">{{c.cash_sum| number:\'0.2-2\' }}</td>\n <td class="text-right">{{c.debit_sum| number:\'0.2-2\' }}</td>\n <td class="text-right">{{c.credit_card_sum| number:\'0.2-2\'}}</td>\n\n <td class="text-right">{{c.slip_count}}</td>\n <td class="text-right" >{{c.slip_sum| number:\'0.2-2\' }}</td>\n\n <td class="text-right">{{c.receipt_count}}</td>\n <td class="text-right" >{{c.receipt_sum| number:\'0.2-2\' }}</td>\n <td class="text-right">{{c.product_quantity_sum| number:\'0.2-2\' }}</td>\n\n <td class="text-right">{{c.order_cost_sum| number:\'0.2-2\' }}</td>\n <td class="text-right">{{c.profit| number:\'0.2-2\' }}</td>\n <td class="text-right">{{c.profit_percent | percent}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class="pagination-custom mt-3 ">\n <pagination-controls (pageChange)="config.currentPage = $event" #paym previousLabel="" nextLabel="">\n </pagination-controls>\n </div>\n\n </mat-card>\n\n </div>\n</div>\n',styles:['th {\n font-family: "Lato", sans-serif;\n font-style: normal;\n color: #949aab;\n text-align: left;\n font-weight: bold;\n font-size: 12px;\n white-space: nowrap;\n border: hidden;\n}\n\ntd {\n font-weight: 700;\n color: #4c5773;\n font-size: 12px;\n text-align: left;\n border-spacing: 0;\n font-family: "Lato", sans-serif;\n font-style: normal;\n white-space: nowrap;\n border: hidden;\n}\n\nh6 {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n color: #4c5773;\n font-weight: bold;\n cursor: pointer;\n font-size: 0.875em;\n font-family: "Lato", sans-serif;\n font-style: normal;\n}
1\n\nh6:hover {\n color: #39A2DB;\n}\n\nth:hover {\n color: #39A2DB;\n cursor: pointer;\n}\n\n::-webkit-scrollbar {\n width: 1em;\n overflow-y: hidden;\n overflow-x: auto;\n}\n\n::-webkit-scrollbar-track {\n border-radius: 10px;\n}\n\n::-webkit-scrollbar-thumb {\n border-radius: 10px;\n}']})],_h);let rv=class{constructor(){}ngOnInit(){}};rv.ctorParameters=()=>[],rv=(0,j.gn)([(0,m.wA2)({selector:"app-purchase-orders",template:'<app-common-error code="403"></app-common-error>',styles:[""]})],rv);var iv=F(9035);let ov=class{constructor(t,e,a,r,i,o,s,l){this.route=t,this.stock=e,this.datepipe=a,this.translate=r,this.router=i,this.dialogService=o,this.message=s,this.loadingService=l,this.totalOrders=0,this.total_price="0",this.total_tax="0",this.total_tax_price="0",this.verif="sales return",this.id=this.route.snapshot.params.id,this.tableName="po_outbound_product",this.dataSource=[],this.searchParams={keyword:"",chain_id:"",page:1,status:""},this.pageInfo={total:0,page:1,pageSize:10},this.formDataSource=[{type:"commonSearch",translateKey:"common_search",placeholder:"common_search",key:"keyword"},{type:"chainSelect",key:"chain_id"},{type:"select",translateKey:"common_status",key:"status",placeholder:"common_status",options:[{label:"pending",value:"pending"},{label:"Complete",value:"Completed"},{label:"Passed",value:"Passed"},{label:"rejected",value:"rejected"}]}],this.columns=[{type:"checkbox",translationKey:"checkbox",key:"checkbox"},{translationKey:"Stock-out order number",type:"text",key:"batch_number"},{translationKey:"purchase_orderNumber",type:"text",key:"po_number"},{translationKey:"Chain/WareHouse",type:"text",key:"chain"},{translationKey:"common_supplier",type:"text",key:"suppliers"},{translationKey:"common_status",type:"text",key:"status"},{translationKey:"common_create_at",type:"date",key:"created_at"},{translationKey:"common_create_user",type:"text",key:"created_user"},{translationKey:"Notes",type:"text",key:"remark"},{translationKey:"common_actions",type:"actions",key:"actions",list:["detail","edit","delete"]}],this.cardDataList=[{numberData:0,textData:"all"},{numberData:0,textData:"Confirmed"},{numberData:0,textData:"pending"},{numberData:0,textData:"rejected"}]}ngOnInit(){this.getStockOutboundList(),this.create_user=localStorage.getItem("first_name")}handleSearch(t){}getStockOutboundList(t,e,a,r){this.stock.getStockOutbound(t,e,a,r,"po").subscribe(i=>{this.Outbound=i.data,this.totalOrders=i.total,this.cardDataList[0].numberData=i.total,this.dataSource=i.data,this.dataSource.forEach(o=>{o.status=o.inventory_status?o.inventory_status:"--",o.remark=o.remark?o.remark:"--",o.po_number=o.po?o.po.order_number:"","draft"===o.status?o.color_status="#1b9cdb":"Completed"===o.status?o.color_status="rgb(7, 106, 180)":"rejected"===o.status?o.color_status="#e3a554":"PartialReceipt"===o.status?o.color_status="#e20f7d":"canceled"===o.status?o.color_status="#b3241f":"confirmed"===o.status?o.color_status="#159137":"pending"===o.status?o.color_status="#f2acd5":"Passed"===o.status&&(o.color_status="#caf2aa")}),console.log(this.dataSource),this.pageInfo.total=i.total,this.getStatisticStockOutboundList(t,e,a,r,"po")})}getStatisticStockOutboundList(t,e,a,r,i){this.loadingService.openDialog(),this.stock.getstatisticStockOutbound(t,e,a,r,i).subscribe(o=>{o.data?(this.cardDataList[1].numberData=o.data.total_approved,this.cardDataList[2].numberData=o.data.total_pending,this.cardDataList[3].numberData=o.data.total_rejected,this.loadingService.hideDialog()):(this.message.error(o.msg),this.loadingService.hideDialog())})}handleAdd(){this.router.navigate(["shop/purchase/purchas-and-sales-return-add"])}handleSubmit(t){this.searchParams={...t},this.getStockOutboundList(this.searchParams.keyword,this.searchParams.chain_id,this.searchParams.page,this.searchParams.status)}handleReset(){this.searchParams={keyword:"",chain_id:"",page:1,status:""},this.getStockOutboundList("","",1,"")}handleStatus(t){this.searchParams.status=t,this.getStockOutboundList(this.searchParams.keyword,this.searchParams.chain_id,1,this.searchParams.status)}handleBtnClick({item:t,type:e}){"delete"===e?this.dialogService.confirmDialog({title:this.translate.instant("common_delete_title"),message:this.translate.instant("common_delete_inventory_info"),
1confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&this.stock.DeleteStockOutbound(t.id).subscribe(r=>{r&&(this.searchParams.page=1,this.pageInfo.page=1,this.message.success(this.translate.instant("common_delete_success")),this.getStockOutboundList())})}):"edit"===e?this.router.navigate([`/shop/stock/inventory/purchas-and-sales-return/edit/${t.id}`]):"detail"===e&&this.router.navigate([`/shop/stock/inventory/purchas-and-sales-return/detail/${t.id}`])}handleChangePaginator(t){this.pageInfo.page=t.page,this.searchParams.page=t.page,this.getStockOutboundList(this.searchParams.keyword,this.searchParams.chain_id,this.pageInfo.page,this.searchParams.status)}};ov.ctorParameters=()=>[{type:It.gz},{type:iv.s},{type:Q.uU},{type:Y.sK},{type:It.F0},{type:Bn.x},{type:ne.I},{type:Qe.E}],ov=(0,j.gn)([(0,m.wA2)({selector:"app-purchase-and-sales-return",template:'\x3c!--\n * @Author : zizhan77\n * @Date : 2023-05-12 23:55:44\n * @LastEditors : Please set LastEditors\n * @LastEditTime : 2023-05-22 11:55:30\n * @FilePath : /b2s2c/src/app/modules/dashboard-shop/components/purchase/purchase-and-sales-return/purchase-and-sales-return.component.html\n--\x3e\n<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-products-card [cardDataList]="cardDataList"></app-products-card>\n <app-common-search-list-table\n [tableName]="tableName"\n [dataSource]="dataSource"\n [columns]="columns"\n [isShowDisplayColumn]="true"\n [isFilterbyStatus]="false"\n [formColumn]="formDataSource"\n [isShowDownload]="false"\n [pageInfo]="pageInfo"\n (statusFilterChange)="handleStatus($event)"\n (pageChange)="handleChangePaginator($event)"\n (onReset)="handleReset()"\n (onSubmit)="handleSubmit($event)"\n (onAddClick)="handleAdd()"\n (onBtnClick)="handleBtnClick($event)"\n >\n </app-common-search-list-table>\n</div>\n',styles:["::ng-deep .mat-form-field-infix {\n padding: 0.7em 0 !important;\n border-top: 0.84375em solid transparent !important;\n}"]})],ov);let sv=class{constructor(t,e,a,r,i,o,s){this.dialog=t,this.data=e,this.productService=a,this.dialogService=r,this.message=i,this.translate=o,this.purchaseService=s,this.columns=[{type:"text",translationKey:"Product-Name",key:"product_name"},{type:"text",translationKey:"Product-Quantity",key:"product_barcode"},{type:"edit",translationKey:"Purchased Quantity",key:"product_quantity"},{type:"actions",translationKey:"actions",key:"actions",list:["delete"]}],this.dataSource=[]}ngOnInit(){this.dataSource=this.data.products}handleBtnClick({type:t,item:e}){"cellEdit"===t&&this.handleEditQuickProduct(e),"delete"===t&&this.handleDeleteProduct(e)}handleEditQuickProduct(t){var e={purchase_products:[{purchase_product_id:t.id,purchased_quantity:t.product_quantity}]};this.purchaseService.editPurchasedQuick2(this.data.id,e).subscribe(a=>{200===a.code?this.message.success(this.translate.instant("quick_purchase_successfully_updated")):this.message.error(this.translate.instant(a.data))},a=>{console.log(a)})}handleDeleteProduct(t){this.dialogService.confirmDialog({title:this.translate.instant("common_delete_title"),message:this.translate.instant("common_delete_quick_product_info"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(e=>{if(e){const a={purchase_products:[{purchase_product_id:t.id}]};this.productService.deleteProductquick2(this.data.id,a).subscribe(r=>{200===r.code?(this.message.success(this.translate.instant("quick_purchase_successfully_deleted")),this.dataSource=this.dataSource.filter(i=>i.product_quantity!==t.product_quantity)):this.message.error(this.translate.instant(r.msg))},r=>{console.log(r)})}})}cancel(){this.dialog.close()}};sv.ctorParameters=()=>[{type:St.so},{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]},{type:Je.r},{type:Bn.x},{type:ne.I},{type:Y.sK},{type:Oi.B}],sv=(0,j.gn)([(0,m.wA2)({selector:"app-filters-quick-purchase",template:'<div class="table-responsive order-product-list">\n <div class="d-flex flex-row-reverse">\n <div type="button" class="btn" (click)="cancel()">\n <mat-icon class="btn-clickable">close</mat-icon>\n </div>\n </div>\n <app-common-search-list-table\n [dataSource]="dataSource"\n [isAutoPages]="true"\n [isShowSearchBtn]="false"\n [columns]="columns"\n (onBtnClick)="handleBtnClick($event)"\n [isShowAdd]="false"\n [isShowDisplayColumn]="false"\n ></app-common-search-list-table>\n</div>\n',styles:[".bt-date-submit {\n color: white;\n padding: 10px;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;
1\n cursor: pointer;\n margin-bottom: 30px;\n}"]})],sv);let xh=class{constructor(t,e,a,r,i,o,s,l,c){this.productService=t,this.snackBar=e,this.purchaseService=a,this.datepipe=r,this.translate=i,this.dialog=o,this.router=s,this.message=l,this.dialogService=c,this.pager={},this.item_return=0,this.formDataSource=[{type:"input",translateKey:"Order-number",key:"order_number",placeholder:"Order-number"},{type:"chainSelect",key:"chain_id"},{type:"supplierSelect",key:"supplier_id"},{type:"dateTime",translateKey:"Date",key:"date"},{type:"dateTime",translateKey:"Start-date",key:"date_from"},{type:"dateTime",translateKey:"End-date",key:"date_to"},{type:"select",translateKey:"common_purchaseStatus",key:"status",options:[{label:"common_purchaseStatus_pending",value:"pending"},{label:"common_purchaseStatus_confirmed",value:"confirmed"}]}],this.searchParams={chain_id:"",supplier_id:"",order_number:"",date:"",status:"",date_from:"",date_to:"",page:1},this.pageInfo={page:1,pageSize:20,total:0},this.columns=[{type:"text",key:"order_number",translationKey:"Order-number"},{type:"status",key:"status",translationKey:"common_purchaseStatus"},{type:"text",key:"supplier",translationKey:"common_supplier"},{type:"price",key:"total_price",translationKey:"Order-Price"},{type:"text",key:"created_at",translationKey:"common_date"},{type:"actions",key:"actions",translationKey:"actions",list:["detail","delete"]}],this.dataSource=[],this.componentName="QuickPurchaseOrderComponent"}ngAfterViewInit(){}onConfirm(t,e,a){return this.purchaseService.confirmPurchasedQuick(t).subscribe(r=>{this.snackBar.open("Chinese"===this.translate.currentLang?"\u5feb\u901f\u91c7\u8d2d\u5df2\u6210\u529f\u786e\u8ba4":"Italian"===this.translate.currentLang?"Acquisto rapido confermato con successo":"Quick Purchase Successfully Confirmed","",{duration:1e3})},r=>{console.log(r)})}onAddtoStock(t){return this.purchaseService.addpurchasetostock(t).subscribe(e=>{this.snackBar.open("This order successfully added To STOCK","OK",{duration:1e3})},e=>{console.log(e)})}ngOnInit(){this.getQuickPurchaseOrderList()}getQuickPurchaseOrderList(){this.productService.getQuickPurProductsV2({...this.searchParams,page:this.pageInfo.page}).subscribe(t=>{this.dataSource=t.data.map(e=>({...e,supplier_name:e.supplier?e.supplier.supplier_name:""})),this.pageInfo.total=t.total},t=>{console.log(t)})}handleDownLoad(){console.log("\u4e0b\u8f7d")}handleAdd(){this.router.navigate(["/shop/purchase/quick-purchase/add"])}handleDeleteOrderQuick(t){this.dialogService.confirmDialog({title:this.translate.instant("common_delete_title"),message:this.translate.instant("common_delete_quick_purchase_info"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(e=>{e&&this.purchaseService.deleteOderQuick(t).subscribe(a=>{this.message.success(this.translate.instant("quick_purchase_successfully_deleted")),this.getQuickPurchaseOrderList()},a=>{console.log(a)})})}handleSubmit(t){this.searchParams={...t,page:1},this.getQuickPurchaseOrderList()}handleReset(){this.searchParams={chain_id:"",supplier_id:"",order_number:"",date:"",status:"",date_from:"",date_to:"",page:1},this.getQuickPurchaseOrderList()}handleBtnClick({item:t,type:e}){"detail"===e&&this.dialog.open(sv,{width:"700px",data:t}).afterClosed().subscribe(r=>{this.getQuickPurchaseOrderList()}),"delete"===e&&this.handleDeleteOrderQuick(t.id)}handleChangePaginator(t){this.pageInfo.page=t.page,this.searchParams.page=t.page,this.getQuickPurchaseOrderList()}};xh.ctorParameters=()=>[{type:Je.r},{type:We.ux},{type:Oi.B},{type:Q.uU},{type:Y.sK},{type:St.uw},{type:It.F0},{type:ne.I},{type:Bn.x}],xh.propDecorators={paginator:[{type:m.i9L,args:[Wa.NW,{static:!0}]}],sort:[{type:m.i9L,args:[Ma.YE,{static:!0}]}]},xh=(0,j.gn)([(0,m.wA2)({selector:"app-quick-purchase-order",template:'\n<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-list-table\n [formColumn]="formDataSource"\n [isShowDownload]="true"\n (onAddClick)="handleAdd()"\n (onDownload)="handleDownLoad()"\n [dataSource]="dataSource"\n [columns]="columns"\n [uniqueTableKey]="componentName"\n [pageInfo]="pageInfo"\n (onSubmit)="handleSubmit($event)"\n (onReset)="handleReset()"\n (onBtnClick)="handleBtnClick($event)"\n (pageChange)="handleChangePaginator($event)">\n </app-common-search-list-table>\n</div>\n',animations:[(0,Rt.X$)("detailExpand",[(0,Rt.SB)("collapsed, void",(0,Rt.oB)({height:"0px",minHeight:"0",display:"none"})),(0,Rt.SB)("expanded",(0,Rt.oB)({height:"*"})),(0,Rt.eR)("expanded <=> collapsed",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)")),(0,Rt.eR)("expanded <=> void",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])],styles:[".mainContainer span {\n font-family: Roboto;\n font-weight: 500;\n font-size: 20px;\n}\n.mainContainer .green-svg {\n fill: #6dd400;\n}\n.mainContainer .red-svg {\n fill: red;\n}\n.mainContainer .edit_input {\n border: 1px solid #a00000;\n}\n.mainContainer table {\n width: 100%;\n margin-top: 15px;\n}\n.mainContainer table td {\n overflow-wrap: break-word;\n white-space: normal;\n width: 10%;\n}\n.mainContainer table .example-element-row td {\n border-bottom-width: 0;\n}\n.mainContainer table .example-element-detail {\n overflow: hidden;\n display: flex;\n}\n.mainContainer table tr.example-detail-row {\n height: 0;\n}\n.mainContainer table tr.example-element-row:not(.example-expanded-row):active {\n background: #efefef;\n}\n.mainContainer table .example-element-row td {\n border-bottom-width: 0;\n}\n.mainContainer table .example-element-detail {\n overflow: hidden;\n display: flex;\n}\n.mainContainer table .showProducts {\n padding: 10px;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n}\n.bt-date-submit {\n color: white;\n padding: 10px;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;
1\n cursor: pointer;\n}\n.bt-act-revenu {\n display: flex;\n margin-bottom: 3%;\n float: right;\n}"]})],xh);let Sh=class{constructor(t,e,a,r,i,o,s,l){this.WareHouseService=t,this.router=e,this.supplierService=a,this.dialog=r,this.datepipe=i,this.snackbar=o,this.translate=s,this.loadingService=l,this.displayedColumns=["product_name","product_description","cost_price","product_barcode","product_quantity","tax_rate","category_id","actions"],this.oldProductPurchase=[],this.dataSource=new $e.by,this.loadingService.openDialog(),e.params.subscribe(c=>{this.currentId=c.id}),console.log("this.currentId"+this.currentId)}ngOnInit(){console.log("ngOnInit")}ngAfterViewInit(){this.dataSource.sort=this.sort}onGetPurchaseById(){this.loadingService.openDialog()}onGetSuppliers(){return this.supplierService.getSuppliersListS2C().subscribe(t=>{this.suppliersList=t,this.suppliers=this.suppliersList.data},t=>{console.log(t)})}onGetWareHouseList(){return this.WareHouseService.getWarehouseList().subscribe(t=>{this.wareHouseList=t,this.wareHouse=this.wareHouseList.data},t=>{console.log(t)})}addProductToPurchase(){this.dialog.open(Ik.m,{width:"800px",height:"800px"}).afterClosed().subscribe(e=>{e&&(this.oldProductPurchase.push(e),this.dataSource.data=this.oldProductPurchase)}),this.displayedColumns=["product_name","product_description","cost_price","product_barcode","product_quantity","tax_rate","category_id","actions"]}deleteProduct(t){for(let e=0;e<this.oldProductPurchase.length;e++)this.oldProductPurchase[e].product_name==t&&(this.oldProductPurchase.splice(e,1),this.dataSource.data=this.oldProductPurchase)}onEditPurshase(t,e,a,r,i,o,s,l,c,d){this.orderDate=this.datepipe.transform(t,"yyyy-MM-dd"),this.requiredDate=this.datepipe.transform(e,"yyyy-MM-dd"),this.shippingDatte=this.datepipe.transform(a,"yyyy-MM-dd");var u={warehouse_id:c,order_date:this.orderDate,required_date:this.requiredDate,shipping_date:this.requiredDate,shipping_type:r,shipping_address:i,shipping_price:o,order_weight:s,supplier_id:l,payment_methods:d,products:this.oldProductPurchase},h=this.currentId;this.WareHouseService.editPurchase(u,h).subscribe(f=>{this.rslt=f,(this.rslt.msg="success")&&this.snackbar.open("Chinese"===this.translate.currentLang?"\u66f4\u65b0\u6210\u529f":"Italian"===this.translate.currentLang?"aggiornato con successo":"updated Successfully","OK",{duration:2e3})})}};Sh.ctorParameters=()=>[{type:rh.l},{type:It.gz},{type:vn.e},{type:St.uw},{type:Q.uU},{type:We.ux},{type:Y.sK},{type:Qe.E}],Sh.propDecorators={sort:[{type:m.i9L,args:[Ma.YE,{static:!0}]}]},Sh=(0,j.gn)([(0,m.wA2)({selector:"app-edit-manual-purchase",template:'<app-add-manual-purchase [currentId]="currentId"></app-add-manual-purchase>\n',styles:[""]})],Sh);let Wc=class{constructor(t,e,a,r,i,o){this.purchaseService=t,this.message=e,this.router=a,this.translate=r,this.datePipe=i,this.snackbar=o,this.isInit=!0,this.searchFormDataSource=[{type:"chainSelect",key:"chain_id",translateKey:"Chain Warehouse"},{type:"supplierSelect",key:"supplier_id"},{type:"dateSelect",key:"SelectedDate",value:"last7Days"}],this.columns=[{type:"checkbox",key:"checkbox",translationKey:""},{type:"text",translationKey:"Chain Warehouse",key:"chain_name"},{type:"text",translationKey:"Supplier-Name",key:"supplier_name"},{type:"percent",translationKey:"Percent",key:"percent"},{key:"quantity_sum",type:"text",translationKey:"TotalSalesQuantity"},{key:"total_sales_cost",type:"text",translationKey:"TotalSalesCost"},{key:"sales_tax_amount",type:"price",translationKey:"SalesTaxAmount"},{type:"price",key:"payment_amount_sum",translationKey:"TotalSalesAmount"},{type:"price",key:"profit",translationKey:"SalesProfit"},{type:"percent",key:"profit_percent",translationKey:"profit_percent"}],this.renderCheckItems=[],this.dataSource=[],this.checkItems=[],this.searchParams={date_from:"",date_to:"",supplier_id:"",chain_id:""},this.pageInfo={page:1,pageSize:20,total:0},this.dataFormSource1=[{type:"select",translateKey:"Replenishment Scheme",key:"scheme_type",options:[{label:"daily_average_sales",value:1},{label:"inventory_upper_limit",value:0}],rules:[{required:!0,message:"replenishment_scheme_required"}]},{type:"chainSelect",key:"chain_id",translateKey:"common_chain",isShowAll:!1,disable:!0,rules:[{required:!0,message:"common_chain_required"}]},{type:"dateTime",translateKey:"order_date",key:"order_date",rules:[{required:!0,message:"order_date_required"}]},{type:"select",key:"payment_status",translateKey:"common_paymentStatus",options:[{label:"common_paymentStatus_paid",value:"paid"},{label:"common_paymentStatus_not paid",value:"not paid"}],rules:[{required:!0,message:"required"}]},{type:"dateTime",translateKey:"common_startDate",key:"date_from",rules:[{disabled:!0,message:""}]},{type:"dateTime",translateKey:"common_endDate",key:"date_to",rules:[{disabled:!0,message:""}]},{type:"textarea",translateKey:"Shipping address",placeholder:"Shipping address",key:"shipping_address"}],this.config={},this.showDay2=!0}ngOnInit(){this.stepper.selectionChange.subscribe(t=>{1===t.selectedIndex&&this.searchParams.chain_id&&"chainSelect"===this.dataFormSource1[2].type&&this.dataFormSource1.splice(2,1)})}getProcumentList(){this.purchaseService.getTopSupplierList({...this.searchParams,shop_owner_id:localStorage.getItem("shop_owner_id")}).subscribe(t=>{this.dataSource=t.data})}handleCheckItem(t){this.isInit&&(this.handleSearch(t),this.isInit=!1),t.date_from&&(this.searchParams.date_from=t.date_from),t.date_to&&(this.searchParams.date_to=t.date_to),this.checkItems=t,this.dataFormSource1.find(e=>"chainSelect"===e.type).value=this.checkItems[0].chain_id,this.dataFormSource1=[...this.dataFormSource1]}validate(){if(this.checkItems.length&&0!=this.checkItems.length)if(this.searchParams.date_from&&this.searchParams.date_to){const t=this.dataFormSource1.find(a=>"date_from"===a.key);t&&(t.value=this.searchParams.date_from);const e=this.dataFormSource1.find(a=>"date_to"===a.key);e&&(e.value=this.searchParams.date_to),this.dataFormSource1=[...this.dataFormSource1],this.stepper.next()}else this.message.error(this.translate.instant("date_from_to_alert_msg"));else this.message.error(this.translate.instant("Please select one supplier"))}handleSearch(t){t&&(this.searchParams={...t}),this.getProcumentList()}handleReset(){this.searchParams={date_from:this.datePipe.transform(new Date((new Date).getTime()-6048e5),"yyyy-MM-dd"),date_to:this.datePipe.transform(new Date,"yyyy-MM-dd"),supplier_id:"",chain_id:""},this.getProcumentList()}handleAddSmartPurchase(){const t=this.commonForm.handleSubmit();if("error"===t)return this.stepper.previous(),void this.stepper.next();const e={...t,supplier_ids:this.checkItems.map(a=>a.supplier_id),shipping_price:1*t.shipping_price,shop_owner_id:localStorage.getItem("shop_owner_id")};this.purchaseService.addSmartPurchasedShop(e).subscribe(a=>{200===a.code?(this.message.success(this.translate.instant("common_add_success")),this.router.navigate(["/shop/purchase/manual-purchase"])):this.message.error(this.translate.instant(a.msg))})}};Wc.ctorParameters=()=>[{type:Oi.B},{type:ne.I},{type:It.F0},{type:Y.sK},{type:Q.uU},{type:We.ux}],Wc.propDecorators={stepper:[{type:m.i9L,args:["stepper",{static:!0}]}],commonForm:[{type:m.i9L,args:["commonForm",{static:!0}]}]},Wc=(0,j.gn)([(0,m.wA2)({selector:"app-smart-procument",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n</div>\n<mat-horizontal-stepper linear #stepper>\n <mat-step>\n <ng-template matStepLabel>{{\'Products\' | translate}}</ng-template>\n <app-common-search-list-table [formColumn]="searchFormDataSource" [isFilterbyStatus]=false\n (onCheckCh
1ange)="handleCheckItem($event)" [checkSelectedList]="renderCheckItems" [dataSource]="dataSource"\n [isShowAdd]="false" [isShowPage]="false" [uniqueKey]="\'supplier_id\'" [isShowDisplayColumn]="false"\n [pageInfo]="pageInfo" [columns]="columns" (onSubmit)="handleSearch($event)" (onReset)="handleReset()">\n </app-common-search-list-table>\n <div style="text-align: center;" class="mt-15">\n <button (click)="validate()" mat-button style="background-color: #a00000 ; color : white;"> {{\'common_next\' |\n translate}}</button>\n </div>\n </mat-step>\n <mat-step>\n <form>\n <app-common-form [columns]="2" [isShowSubmitBtn]="false" #commonForm [dataSource]="dataFormSource1">\n </app-common-form>\n <div class="row justify-content-center mt-3">\n <button mat-button matStepperPrevious\n style="background-color: #cacaca;color: black; margin-right: 1%;">{{"common_previous"|translate }}</button>\n <button (click)="handleAddSmartPurchase()" mat-button type="submit"\n style="background-color: #a00000; margin-right: 10px;"> <i class="fa fa-check" aria-hidden="true"></i>\n {{(\'Add Purchase\') | translate}}\n </button>\n </div>\n </form>\n\n </mat-step>\n</mat-horizontal-stepper>\n',styles:[""]})],Wc);let lv=class{constructor(t,e,a,r,i,o,s){this.route=t,this.supplierS2cService=e,this.excelService=a,this.loadingservice=r,this.translateService=i,this.activatedRoute=o,this.router=s,this.supplierTitle="Supplier-details",this.Params={supplier_id:"",date_from:"",inventory_quantity:"",date_to:"",start_date:"",finish_date:"",product_barcode:"",chain_id:"",categorySelect:"",keyword:"",download:1},this.formDataSource=[{type:"input",key:"keyword",placeholder:"common_search",translateKey:"common_search"},{type:"numberComparison",key:"inventory_quantity",placeholder:"inventory quantity",translateKey:"inventory quantity"},{type:"input",key:"product_barcode",placeholder:"common_productBarcode",translateKey:"common_productBarcode"},{type:"chainSelect",key:"chain_id",isShowAll:!0,rules:[]},{type:"categorySelect",key:"categorySelect"},{type:"dateTime",key:"date_from",placeholder:"common_startDate",translateKey:"common_startDate"},{type:"dateTime",key:"date_to",placeholder:"common_endDate",translateKey:"common_endDate"}],this.page=1,this.showButtonDownload=!1,this.totalItems=0,this.perPage=0,this.supplier_id=this.route.snapshot.params.supplier_id,r.openDialog()}ngOnInit(){this.activatedRoute.queryParams.subscribe(t=>{console.log("params====",t),this.input_start_date=t.start_date,this.input_finish_date=t.finish_date,this.keyword=t.keyword,this.inventory_quantity=t.inventory_quantity,this.product_barcode=t.product_barcode,this.chain_id=t.chain_id,this.categorySelect=t.categorySelect,this.formDataSource.forEach(e=>{"start_date"==e.key?e.value=t.start_date:"finish_date"==e.key&&(e.value=t.finish_date)}),this.getSupplierProductDetailsById(this.supplier_id,t.start_date,t.finish_date,t.product_barcode,t.chain_id,"",t.inventory_quantity,t.keyword,this.page,0)})}changePage(t){this.page=t,this.getSupplierProductDetailsById(this.supplier_id,this.Params.start_date,this.Params.finish_date,this.Params.product_barcode,this.Params.chain_id,this.Params.categorySelect,+this.Params.inventory_quantity,this.Params.keyword,this.page,0)}getSupplierProductDetailsById(t,e,a,r,i,o,s,l,c,d){console.log("inventory_quantity1",s),this.supplierS2cService.getSupplierProductDetailsById(t,e,a,r,i,o,s,l,c,d).subscribe(u=>{this.SuppProducts=u.data.supplierDetailData,this.totalItems=this.SuppProducts.total,this.perPage=this.SuppProducts.per_page,this.total_order_item_quantity=u.data.total_SupplierDetailData.length>0?u.data.total_SupplierDetailData[0].total_order_item_quantity:0,this.total_order_item_amount=u.data.total_SupplierDetailData.length>0?u.data.total_SupplierDetailData[0].total_order_item_amount:0,this.total_order_CostPrice=u.data.total_SupplierDetailData.length>0?u.data.total_SupplierDetailData[0].totalCostPrice:0,this.total_order_item_Profit=u.data.total_SupplierDetailData.length>0?u.data.total_SupplierDetailData[0].totalProfit:0,this.total_order_item_payment_amount=u.data.total_SupplierDetailData.length>0?u.data.total_SupplierDetailData[0].total_order_item_payment_amount:0,this.loadingservice.hideDialog()})}handleSubmit(t){console.log("values",t),this.Params={...t,start_date:t.date_from,finish_date:t.date_to}
1,console.log("Params",this.Params),this.getSupplierProductDetailsById(this.supplier_id,this.Params.start_date,this.Params.finish_date,this.Params.product_barcode,this.Params.chain_id,this.Params.categorySelect,JSON.stringify(this.Params.inventory_quantity),this.Params.keyword,1,0)}handleReset(){this.Params={supplier_id:"",date_from:"",date_to:"",inventory_quantity:"",start_date:"",finish_date:"",product_barcode:"",chain_id:"",categorySelect:"",keyword:"",download:1}}DownloadSupplierodProducts(t,e,a,r,i,o,s,l=1){this.supplierS2cService.getSupplierProductDetailsById(this.supplier_id,t,e,a,i,r,o,s,l).subscribe(c=>{this.DowloadSuppProducts=c.data.supplierDetailData})}getSupplierTableBody(){return this.DowloadSuppProducts.map(t=>Object.values(t))}generateExcelSupplier(){this.showButtonDownload=!0,this.loadingservice.openDialog(),this.supplierS2cService.getSupplierProductDetailsById(this.supplier_id,this.Params.start_date,this.Params.finish_date,this.Params.product_barcode,this.Params.chain_id,+this.Params.inventory_quantity,this.Params.keyword,this.page,1).subscribe(t=>{this.DowloadSuppProducts=t.data.supplierDetailData.data,this.supplierHead=Object.keys(this.DowloadSuppProducts[0]).map(e=>this.translateService.instant(e)),this.excelService.generateExcel(this.DowloadSuppProducts.map(e=>Object.values(e)),this.supplierHead,this.translateService.instant(this.supplierTitle)),this.loadingservice.hideDialog()})}};lv.ctorParameters=()=>[{type:It.gz},{type:vn.e},{type:kr},{type:Qe.E},{type:Y.sK},{type:It.gz},{type:It.F0}],lv=(0,j.gn)([(0,m.wA2)({selector:"app-supplier-product-details",template:"\x3c!--\n * @Author : zizhan77\n * @Date : 2023-05-12 23:55:44\n * @LastEditors: zizhan77 [email protected]\n * @LastEditTime: 2023-06-04 23:32:25\n * @FilePath : /b2s2c/src/app/modules/dashboard-shop/components/supplier-product-details/supplier-product-details.component.html\n--\x3e\n<div class=\"container-fluid\">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <div class=\"row\">\n <div class=\"col-12 col-sm-6 col-lg-3 d-flex flex-column statistic\">\n <app-statistic value=\"{{total_order_item_quantity}}\" title=\"{{'Total-products' | translate}}\"></app-statistic>\n </div>\n <div class=\"col-12 col-sm-6 col-lg-3 d-flex flex-column statistic\">\n <app-statistic value=\"{{total_order_item_amount | number:'0.2-2'}}\" title=\"{{'productsCardComponent_totalUnitPrice' | translate}}\"></app-statistic>\n </div>\n <div class=\"col-12 col-sm-6 col-lg-3 d-flex flex-column statistic\">\n <app-statistic value=\"{{total_order_item_payment_amount|number:'0.2-2'}}\" title=\"{{'actual_income'|translate}}\"></app-statistic>\n </div>\n <div class=\"col-12 col-sm-6 col-lg-3 d-flex flex-column statistic\">\n <app-statistic value=\"{{total_order_CostPrice | number:'0.2-2'}}\" title=\"{{'productsCardComponent_totalCostPrice' | translate}}\"></app-statistic>\n </div>\n <div class=\"col-12 col-sm-6 col-lg-3 d-flex flex-column statistic\">\n <app-statistic value=\"{{total_order_item_Profit | number:'0.2-2'}}\" title=\"{{'productsCardComponent_totalProfit' | translate}}\"></app-statistic>\n </div>\n </div>\n \x3c!-- <app-common-search-field-form [formColumn]=\"formDataSource\" (onSubmit)=\"handleSubmit($event)\" --\x3e\n <app-common-search-field-form [input_start_date]=\"input_start_date\" [input_finish_date]=\"input_finish_date\"\n [formColumn]=\"formDataSource\" (onSubmit)=\"handleSubmit($event)\" (onReset)=\"handleReset()\">\n </app-common-search-field-form>\n\n <mat-card fxFlex=\"50\" style=\"width: 100%; height: auto;overflow-y: auto;overflow-x: auto;\">\n <div class=\"row\">\n <div class=\"col\">\n <h6>{{ \"Supplier Product Details\" | translate }}</h6>\n </div>\n <div *ngIf=\"SuppProducts\" class=\"col\">\n \x3c!-- download excel button --\x3e\n <button (click)=\"generateExcelSupplier()\" [disabled]=\"showButtonDownload\" style=\"float: right;\"\n class=\"btn btn-primary d-flex align-items-center justify-content-center\">\n {{'Download' | translate}}\n <i class=\"material-icons\"> download </i>\n </button>\n </div>\n </div>\n <div class=\"pb-3\" style=\"overflow: auto; margin-bottom: 40px;\">\n <table class=\"table table-hover\" style=\"border: hidden;\">\n <thead>\n <tr style=\"border: hidden;\">\n <th>{{'Product Barcode' | translate}}</th>\n <th>{{'Product Name' | translate}}</th>\n <th style='text-align:right'>{{'Inventory quantity' | translate}}</th>\n <th style='text-align:right'>{{'order_item_quantity' | translate}}</th>\n <th style='text-align:right'>{{'item_cost_price' | translate}}</th>\n <th style='text-align:right'>{{'Selling price' | translate}}</th>\n <th style='text-align:right'>{{'Sales amount' | translate}}</th>\n <th style='text-align:right'>{{'Tax Rate' | translate}}</th>\n <th>{{'Category Name' | translate}}</th>\n <th>{{'supplier' | translate}}</th>\n <th>{{'inbound_return_stock' | translate}}</th>\n <th>{{'last_inbound_quantity' | translate}}</th>\n <th>{{'last_inbound_time' | translate}}</th>\n <th>{{'outbound_return_stock' | translate}}</th>\n <th>{{'last_outbound_quantity' | translate}}</th>\n <th>{{'last_outbound_time' | translate}}</th>\n <th>{{'last_order_time' | translate}}</th>\n </tr>\n </thead>\n <tbody\n *ngFor='let s of SuppProducts.data| paginate:{ itemsPerPage: SuppProducts.per_page, currentPage: SuppProducts.current_page ,totalItems:SuppProducts.total}'>\n <tr style=\"border: hidden;\">\n <td>{{s.product_barcode}}</td>\n <td>{{s.product_name}}</td>\n <td style='text-align:right'>{{s.product_quantity}}</td>\n <td style='text-align:right'>{{s.order_item_quantity}}</td>\n <td style='text-align:right'>{{s.item_cost_price | number:'0.2-2'}}</td>\n <td style='text-align:right'>{{s.Products_unit_price | number:'0.2-2'}}</td>\n <td style='text-align:right'>{{s.order_item_amount | number:'0.2-2'}}</td>\n <td style='text-align:right'>{{s.product_tax_rate}}</td>\n <td>{{s.category_name}}</td>\n <td>{{s.supplier_name }}</td>\n \x3c!-- \u603b\u5165\u5e93\u6570\u91cf --\x3e\n <td>{{s.inbound_return_stock || '--' }}</td>\n \x3c!-- \u6700\u540e\u5165\u5e93\u6570\u91cf --\x3e\n <td>{{s.last_inbound_quantity || '--' }}</td>\n \x3c!-- \u6700\u540e\u5165\u5e93\u65f6\u95f4 --\x3e\n <td>{{s.last_inbound_time || '--' }}</td>\n \x3c!-- \u603b\u51fa\u5e93\u6570\u91cf --\x3e\n <td>{{s.outbound_return_stock || '--' }}</td>\n \x3c!-- \u6700\u540e\u51fa\u5e93\u6570\u91cf --\x3e\n <td>{{s.last_outbound_quantity || '--' }}</td>\n \x3c!-- \u6700\u540e\u51fa\u5e93\u65f6\u95f4 --\x3e\n <td>{{s.last_outbound_time || '--' }}</td>\n \x3c!-- \u6700\u8fd1\u9500\u552e\u65f6\u95f4 --\x3e\n <td>{{s.last_order_time || '--' }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n\n\n <div class=\"pagination-custom mt-3 pt-3\">\n <pagination-controls (pageChange)=\"changePage($event)\" previousLabel=\"\" nextLabel=\"\">\n </pagination-controls>\n </div>\n </mat-card>\n</div>\n",styles:['th {\n font-family: "Lato", sans-serif;\n font-style: normal;\n color: #949aab;\n text-align: left;\n font-weight: bold;\n font-size: 15px;\n white-space: nowrap;\n border: hidden;\n}\n\ntd {\n font-weight: 700;\n color: #4c5773;\n font-size: 12px;\n text-align: left;\n border-spacing: 0;\n font-family: "Lato", sans-serif;\n font-style: normal;\n white-space: nowrap;\n border: hidden;\n}\n\nh6 {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n color: #4c5773;\n font-weight: bold;\n cursor: pointer;\n font-size: 20px;\n font-family: "Lato", sans-serif;\n font-style: normal;\n}\n\n.spinner {\n align-items: center;\n justify-content: center;\n left: 290%;\n}
1\n\nh6:hover {\n color: #39A2DB;\n}\n\nth:hover {\n color: #39A2DB;\n cursor: pointer;\n}\n\n.statistic {\n margin-top: 10px;\n margin-bottom: 10px;\n}']})],lv);let cv=class{constructor(t,e,a,r,i,o,s,l){this.route=t,this.supplierS2cService=e,this.excelService=a,this.translateService=r,this.categoriesService=i,this.activatedRoute=o,this.router=s,this.loadingService=l,this.spinner=!0,this.supplierTitle="Supplier-details",this.Params={category_id:"",chain_id:"",date_from:"",date_to:"",start_date:"",finish_date:"",keyword:"",product_barcode:"",download:1,inventory_quantity:""},this.formDataSource=[{type:"categorySelect",key:"category_id"},{type:"chainSelect",key:"chain_id",isShowAll:!0,rules:[]},{type:"input",key:"keyword",placeholder:"common_search",translateKey:"common_search"},{type:"input",key:"inventory_quantity",placeholder:"inventory quantity",translateKey:"inventory quantity"},{type:"dateTime",key:"start_date",placeholder:"common_startDate",translateKey:"common_startDate"},{type:"dateTime",key:"finish_date",placeholder:"common_endDate",translateKey:"common_endDate"}],this.page=1,this.keyword="",this.product_barcode="",this.showButtonDownload=!1,this.category_id=this.route.snapshot.params.category_id,l.openDialog()}ngOnInit(){this.activatedRoute.queryParams.subscribe(t=>{this.input_start_date=t.start_date,this.input_finish_date=t.finish_date,this.keyword=t.keyword,this.inventory_quantity=t.inventory_quantity,this.product_barcode=t.product_barcode,this.formDataSource.forEach(e=>{"start_date"==e.key?e.value=t.start_date:"finish_date"==e.key?e.value=t.finish_date:"category_id"==e.key?e.value=this.category_id:"chain_id"==e.key&&(e.value=this.chain_id)}),this.getSupplierProductDetailsById(this.category_id,t.chain_id,t.start_date,t.finish_date,t.product_barcode,t.inventory_quantity,t.keyword,this.page,0)})}changePage(t){this.page=t,this.getSupplierProductDetailsById(this.Params.category_id,this.Params.chain_id,this.Params.start_date,this.Params.finish_date,this.Params.product_barcode,this.Params.inventory_quantity,this.Params.keyword,this.page,0)}getSupplierProductDetailsById(t,e,a,r,i,o,s,l,c){this.categoriesService.getCategoryProductDetailsById(t,e,a,r,i,o,s,l,c).subscribe(d=>{this.SuppProducts=d.data.supplierDetailData,this.loadingService.hideDialog(),this.total_order_item_quantity=d.data.total_SupplierDetailData.length>0?d.data.total_SupplierDetailData[0].total_order_item_quantity:0,this.total_order_item_amount=d.data.total_SupplierDetailData.length>0?d.data.total_SupplierDetailData[0].total_order_item_amount:0,this.total_order_CostPrice=d.data.total_SupplierDetailData.length>0?d.data.total_SupplierDetailData[0].totalCostPrice:0,this.total_order_item_Profit=d.data.total_SupplierDetailData.length>0?d.data.total_SupplierDetailData[0].totalProfit:0,this.total_order_item_payment_amount=d.data.total_SupplierDetailData.length>0?d.data.total_SupplierDetailData[0].total_order_item_payment_amount:0})}handleSubmit(t){this.formDataSource.forEach(e=>{"start_date"==e.key?t.start_date=e.value:"finish_date"==e.key&&(t.finish_date=e.value)}),this.formDataSource=this.formDataSource,this.Params={...t},this.getSupplierProductDetailsById(this.Params.category_id,this.Params.chain_id,this.Params.start_date,this.Params.finish_date,this.Params.product_barcode,this.Params.inventory_quantity,this.Params.keyword,1,0),this.router.navigate([`/shop/category-product-details/${this.Params.category_id}`],{skipLocationChange:!1})}handleReset(){this.Params={category_id:"",chain_id:"",date_from:"",date_to:"",start_date:"",finish_date:"",product_barcode:"",keyword:"",download:1,inventory_quantity:""}}DownloadCategory(t,e,a,r,i,o,s,l,c=1){this.categoriesService.getCategoryProductDetailsById(this.category_id,e,a,r,i,o,s,l,1).subscribe(d=>{this.DownloadSuppProducts=d.data.supplierDetailData})}getSupplierTableBody(){return this.DownloadSuppProducts.map(t=>Object.values(t))}generateExcelSupplier(){this.showButtonDownload=!0,this.loadingService.openDialog(),this.categoriesService.getCategoryProductDetailsById(this.category_id,this.Params.chain_id,this.Params.start_date,this.Params.finish_date,this.Params.product_barcode,this.Params.inventory_quantity,this.Params.keyword,this.page,1).subscribe(t=>{this.DownloadSuppProducts=t.data.supplierDetailData,this.supplierHead=Object.keys(this.DownloadSuppProducts[0]).map(e=>this.translateService.instant(e)),this.excelService.generateExcel(this.DownloadSuppProducts.map(e=>Object.values(e)),this.supplierHead,this.translateService.instant(this.supplierTitle)),this.showButtonDownload=!1,this.loadingService.hideDialog()})}};cv.ctorParameters=()=>[{type:It.gz},{type:vn.e},{type:kr},{type:Y.sK},{type:Ee.G},{type:It.gz},{type:It.F0},{type:Qe.E}],cv=(0,j.gn)([(0,m.wA2)({selector:"app-category-product-details",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <div class="row">\n <div class="col-12 col-sm-6 col-lg-3 d-flex flex-column">\n <div class="card flex-grow-1 text-white bg-primary my-2">\n <div class="card-body">\n <h3 class="card-title">{{total_order_item_quantity}}</h3>
1\n <span class="">{{"Total-products" | translate}}</span>\n </div>\n </div>\n </div>\n <div class="col-12 col-sm-6 col-lg-3 d-flex flex-column">\n <div class="card flex-grow-1 text-white bg-primary my-2">\n <div class="card-body">\n \x3c!-- <h3 class="card-title">{{total_item_unit_price | currency:\' \':\'symbol\':\'3.0-0\'}}</h3> --\x3e\n <h3 class="card-title">{{total_order_item_amount | number:"0.1-2" }}</h3>\n <span class="">{{"productsCardComponent_totalUnitPrice"| translate}}</span>\n </div>\n </div>\n </div>\n <div class="col-12 col-sm-6 col-lg-3 d-flex flex-column">\n <div class="card flex-grow-1 text-white bg-primary my-2">\n <div class="card-body">\n <h3 class="card-title">{{total_order_CostPrice | number:\'0.2-2\'}}</h3>\n <span class="">{{"productsCardComponent_totalCostPrice"| translate}}</span>\n </div>\n </div>\n </div>\n <div class="col-12 col-sm-6 col-lg-3 d-flex flex-column">\n <div class="card flex-grow-1 text-white bg-primary my-2">\n <div class="card-body">\n <h3 class="card-title">{{total_order_item_Profit | number:\'0.2-2\'}}</h3>\n <span class="">{{"productsCardComponent_totalProfit"| translate}}</span>\n </div>\n </div>\n </div>\n </div>\n \x3c!-- <app-common-search-field-form [formColumn]="formDataSource" (onSubmit)="handleSubmit($event)" --\x3e\n <app-common-search-field-form [input_start_date]="input_start_date" [input_finish_date]="input_finish_date"\n [category_selected_id]="6115" [formColumn]="formDataSource" (onSubmit)="handleSubmit($event)"\n (onReset)="handleReset()">\n </app-common-search-field-form>\n\n <mat-card fxFlex="50" style="width: 100%; height: auto;overflow-y: auto;overflow-x: auto;" class="scrollable-content">\n <div class="row">\n <div class="col">\n <h6>{{ "Category Product Details" | translate }}</h6>\n </div>\n <div *ngIf="SuppProducts" class="col">\n \x3c!-- download excel button --\x3e\n <button (click)="generateExcelSupplier()" [disabled]="showButtonDownload" style="float: right;"\n class="btn btn-primary d-flex align-items-center justify-content-center">\n {{\'Download\' | translate}}\n <i class="material-icons"> download </i>\n </button>\n </div>\n </div>\n <div class="pb-3" style="overflow: auto; margin-bottom: 40px;">\n <table class="table table-hover" style="border: hidden;">\n <thead>\n <tr style="border: hidden;">\n <th>{{\'Product Barcode\' | translate}}</th>\n <th>{{\'Product Name\' | translate}}</th>\n <th style=\'text-align:right\'>{{\'Inventory quantity\' | translate}}</th>\n <th style=\'text-align:right\'>{{\'order_item_quantity\' | translate}}</th>\n <th style=\'text-align:right\'>{{\'item_cost_price\' | translate}}</th>\n <th style=\'text-align:right\'>{{\'Selling price\' | translate}}</th>\n <th style=\'text-align:right\'>{{\'Sales amount\' | translate}}</th>\n <th style=\'text-align:right\'>{{\'Tax Rate\' | translate}}</th>\n <th>{{\'Category Name\' | translate}}</th>\n <th>{{\'supplier\' | translate}}</th>\n </tr>\n </thead>\n \n <tbody *ngFor=\'let s of SuppProducts.data| paginate:{ itemsPerPage: SuppProducts.per_page, currentPage: SuppProducts.current_page ,totalItems:SuppProducts.total}\'>\n <tr style="border: hidden;">\n <td>{{s.product_barcode}}</td>\n <td>{{s.product_name}}</td>\n <td style=\'text-align:right\'>{{s.product_quantity}}</td>\n <td style=\'text-align:right\'>{{s.order_item_quantity}}</td>\n <td style=\'text-align:right\'>{{s.item_cost_price | number:\'0.2-2\'}}</td>\n <td style=\'text-align:right\'>{{s.Products_unit_price | number:\'0.2-2\'}}</td>\n <td style=\'text-align:right\'>{{s.order_item_amount | number:\'0.2-2\'}}</td>\n <td style=\'text-align:right\'>{{s.product_tax_rate}}</td>\n <td>{{s.category_name}}</td>\n <td>{{s.supplier_name }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n\n\n <div class="pagination-custom mt-3 pt-3">\n <pagination-controls (pageChange)="changePage($event)" previousLabel="" nextLabel="">\n </pagination-controls>\n </div>\n\n </mat-card>\n</div>\n',styles:['th {\n font-family: "Lato", sans-serif;\n font-style: normal;\n color: #949aab;\n text-align: left;\n font-weight: bold;\n font-size: 15px;\n white-space: nowrap;\n border: hidden;\n}\n\ntd {\n font-weight: 700;\n color: #4c5773;\n font-size: 12px;\n text-align: left;\n border-spacing: 0;\n font-family: "Lato", sans-serif;\n font-style: normal;\n white-space: nowrap;\n border: hidden;\n}\n\nh6 {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n color: #4c5773;\n font-weight: bold;\n cursor: pointer;\n font-size: 20px;\n font-family: "Lato", sans-serif;\n font-style: normal;\n}\n\n.spinner {\n align-items: center;\n justify-content: center;\n left: 290%;\n}
1\n\nh6:hover {\n color: #39A2DB;\n}\n\nth:hover {\n color: #39A2DB;\n cursor: pointer;\n}']})],cv);let wh=class{constructor(t,e,a,r,i,o){this.productsService=t,this.datePipe=e,this.router=a,this.excelService=r,this.translateService=i,this.loadingservice=o,this.productHistoryHeadArr=["order_id","order_number","product_name","order_item_quantity","order_item_amount","order_item_payment_amount","order_date","chain_name","product_tax_rate","Products_unit_price","product_barcode","category_name","supplier_name"],this.ProductHistoryTitle="Product Sales History Report",this.page=1,this.dataSource=[],this.Params={chain_id:"",category_id:"",supplier_id:"",date_from:"",date_to:"",start_date:"",finish_date:"",keyword:"",product_barcode:"",download:1},this.formDataSource=[{type:"chainSelect",key:"chain_id"},{type:"input",key:"keyword",placeholder:"common_search",translateKey:"common_search"},{type:"input",key:"product_barcode",placeholder:"common_productBarcode",translateKey:"common_productBarcode"},{type:"categorySelect",key:"category_id"},{type:"supplierSelect",key:"supplier_id"},{type:"dateTime",key:"date_from",placeholder:"common_startDate",translateKey:"common_startDate",value:qe.ou.now().toFormat("yyyy-MM-dd")},{type:"dateTime",key:"date_to",placeholder:"common_endDate",translateKey:"common_endDate",value:qe.ou.now().toFormat("yyyy-MM-dd")}],this.showButtonDownload=!1,this.loadingservice.openDialog()}ngOnInit(){let t=this.datePipe.transform(new Date,"yyyy-MM-dd");this.GetProductsHistory("",t,t,"","","","","",0)}changePage(t){this.page=t,this.GetProductsHistory(this.Params.chain_id,this.Params.start_date,this.Params.finish_date,this.Params.supplier_id,this.Params.category_id,this.Params.keyword,this.page,this.Params.product_barcode,0)}GetProductsHistory(t,e,a,r,i,o,s,l,c){this.ProductsSub=this.productsService.getProductHistory(t,e,a,r,i,o,s,l,c).subscribe(d=>{this.ProductHistory=d.data.ProductsOfSaleHistoryData,this.loadingservice.hideDialog()})}DownloadProducts(t,e,a,r,i,o,s,l=1){this.productsService.getProductHistory(t,e,a,r,i,o,s,1).subscribe(c=>{this.DownloadProductHistory=c.data.ProductsOfSaleHistoryData})}getProductHistoryTableBody(){return this.DownloadProductHistory.map(t=>Object.values(t))}generateExcelProductHistory(){this.showButtonDownload=!0,this.loadingservice.openDialog(),this.productsService.getProductHistory(this.Params.chain_id,this.Params.start_date,this.Params.finish_date,this.Params.supplier_id,this.Params.category_id,this.Params.keyword,this.page,this.Params.product_barcode,1).subscribe(t=>{this.DownloadProductHistory=t.data.ProductsOfSaleHistoryData,this.ProductHistoryHead=Object.keys(this.DownloadProductHistory[0]).map(e=>this.translateService.instant(e)),this.excelService.generateExcel(this.DownloadProductHistory.map(e=>Object.values(e)),this.ProductHistoryHead,this.translateService.instant(this.ProductHistoryTitle)),this.showButtonDownload=!1,this.loadingservice.hideDialog()})}handleSubmit(t){this.Params={...t,start_date:t.date_from,finish_date:t.date_to},this.GetProductsHistory(this.Params.chain_id,this.Params.start_date,this.Params.finish_date,this.Params.supplier_id,this.Params.category_id,this.Params.keyword,1,this.Params.product_barcode,0)}handleReset(){this.Params={chain_id:"",category_id:"",product_barcode:"",supplier_id:"",date_from:"",date_to:"",start_date:"",finish_date:"",keyword:"",download:1}}ngOnDestroy(){this.ProductsSub&&this.ProductsSub.unsubscribe()}};wh.ctorParameters=()=>[{type:_g.s},{type:Q.uU},{type:It.F0},{type:kr},{type:Y.sK},{type:Qe.E}],wh.propDecorators={ngOnDestroy:[{type:m.L6J,args:["window:beforeunload"]}]},wh=(0,j.gn)([(0,m.wA2)({selector:"app-product-sales-history-report",template:"<div class=\"container-fluid\">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-field-form [formColumn]=\"formDataSource\" (onSubmit)=\"handleSubmit($event)\" (onReset)=\"handleReset()\">\n </app-common-search-field-form>\n\n\n <mat-card class=\"col-md-12\" style=\"overflow: scroll;\">\n <div class=\"row\">\n <div class=\"col\">\n <h6>{{ \"Product Sales History Report\" | translate }}</h6>\n </div>\n <div *ngIf=\"ProductHistory\" class=\"col\">\n <button *ngIf=\"ProductHistory\" (click)=\"generateExcelProductHistory()\" [disabled]=\"showButtonDownload\"\n style=\"float: right;\" class=\"btn btn-primary d-flex align-items-center justify-content-center\">\n {{'Download' | translate}}\n <i *ngIf=\"ProductHistory\" class=\"material-icons\"> download </i>\n </button>\n </div>\n </div>\n <div class=\"pb-3\" style=\"overflow: auto; margin-bottom: 40px;\">\n <table class=\"table table-hover\" style=\"border: hidden;\">\n <thead>\n <tr>\n <th>{{'order_id' | translate}}</th>\n <th>{{'Order-number' | translate}}</th>\n <th>{{'product_name' | translate}}</th>\n <th>{{'product_name2' | translate}}</th>\n <th style='text-align:right'>{{'order_item_quantity' | translate}}</th>\n <th style='text-align:right'>{{'order_item_amount' | translate}}</th>\n <th style='text-align:right'>{{'order_item_payment_amount' | translate}}</th>\n <th>{{'order_date' | translate}}</th>\n <th>{{'chain_name' | translate}}</th>\n <th>{{'product_tax_rate' | translate}}</th>\n \x3c!-- <th>{{'order_item_return' | translate}}</th> --\x3e\n <th style='text-align:right'>{{'Products_unit_price' | translate}}</th>\n \x3c!-- <th>{{'item_cost_price' | translate}}</th> --\x3e\n <th>{{'product_barcode' | translate}}</th>\n <th>{{'category_name' | translate}}</th>\n <th>{{'supplier_name' | translate}}</th>\n </tr>\n </thead>\n <tbody\n *ngFor='let p of ProductHistory.data| paginate:{ itemsPerPage: ProductHistory.per_page, currentPage: ProductHistory.current_page ,totalItems:ProductHistory.total}'>\n <tr>\n <td>{{p.order_id}}</td>\n <td>{{p.order_number}}</td>\n <td>{{p.product_name}}</td>\n <td>{{p.product_name2}}</td>\n <td style='text-align:right'>{{p.order_item_quantity}}</td>\n <td style='text-align:right'>{{p.order_item_amount | number:'0.2-2'}}</td>\n <td style='text-align:right'>{{p.order_item_payment_amount | number:'0.2-2'}}</td>\n <td>{{p.order_date}}</td>\n <td>{{p.chain_name}}</td>\n <td>{{p.product_tax_rate}}</td>\n \x3c!-- <td>{{p.order_item_return}}</td> --\x3e\n <td style='text-align:right'>{{p.Products_unit_price | number:'0.2-2'}}</td>\n \x3c!-- <td>{{p.item_cost_price}}</td> --\x3e\n <td>{{p.product_barcode}}</td>\n <td>{{p.category_name}}</td>\n <td>{{p.supplier_name}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"pagination-custom\">\n <pagination-controls (pageChange)=\"changePage($event)\" previousLabel=\"\" nextLabel=\"\">\n </pagination-controls>\n </div>\n </mat-card>\n</div>",providers:[Q.uU],styles:['th {\n font-family: "Lato", sans-serif;\n font-style: normal;\n color: #949aab;\n text-align: left;\n font-weight: bold;\n font-size: 12px;\n white-space: nowrap;\n border: hidden;\n}\n\ntd {\n font-weight: 700;\n color: #4c5773;\n font-size: 12px;\n text-align: left;\n border-spacing: 0;\n font-family: "Lato", sans-serif;\n font-style: normal;\n white-space: nowrap;\n border: hidden;\n}\n\nh6 {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n color: #4c5773;\n font-weight: bold;\n cursor: pointer;\n font-size: 0.875em;\n font-family: "Lato", sans-serif;\n font-style: normal;\n}
1\n\nh6:hover {\n color: #39A2DB;\n}\n\nth:hover {\n color: #39A2DB;\n cursor: pointer;\n}\n\n::-webkit-scrollbar {\n width: 1em;\n overflow-y: hidden;\n overflow-x: auto;\n}\n\n::-webkit-scrollbar-track {\n border-radius: 10px;\n}\n\n::-webkit-scrollbar-thumb {\n border-radius: 10px;\n}']})],wh);var h$=F(41435);let dv=class{constructor(t,e,a,r,i,o,s){this.productService=t,this.datepipe=e,this.dialogService=a,this.message=r,this.translate=i,this.router=o,this.loadingService=s,this.componentName="ProductsListS2CComponent",this.dataSource=[],this.selectCollection=[],this.isSelectedAll=!1,this.isNotSelectAll=!1,this.isShowModal=!1,this.showID=null,this.detailData={},this.searchParams={barcode:"",chain_id:"",search:"",date_from:"",date_to:"",page:1},this.detailColumns=[{translationKey:"",type:"price",key:""},{translationKey:"common_unitPrice",type:"price",key:"unit_price",sort:!0},{translationKey:"Profit",type:"percent",key:"profit",sort:!0},{translationKey:"common_costPrice",type:"price",key:"cost_price"},{translationKey:"common_memberPrice",type:"price",key:"member_price",sort:!0},{translationKey:"Discounted-Price",type:"price",key:"discount_price",sort:!0},{translationKey:"common_taxRate",type:"percent",key:"tax_rate",sort:!0},{translationKey:"common_productQuantity",type:"text",key:"product_quantity",sort:!0},{translationKey:"common_warnQuantity",type:"text",key:"warn_quantity",sort:!0},{translationKey:"common_maxWarnQuantity",type:"text",key:"max_warn_quantity",sort:!0},{translationKey:"quantity_per_box",type:"text",key:"quantity_per_box",sort:!0},{translationKey:"quantity_per_package",type:"text",key:"quantity_per_package",sort:!0}],this.columns=[{translationKey:"ID",type:"text",key:"id"},{key:"change_type",translationKey:"change_type",type:"text"},{key:"batch_number",translationKey:"Batch-number",type:"text"},{key:"sub_batch_number",translationKey:"sub_batch_number",type:"text"},{key:"product_name",translationKey:"prod_namee",type:"text"},{key:"product_barcode",translationKey:"product_barcode",type:"text"},{key:"user_id",translationKey:"common_email",type:"text"},{key:"url",translationKey:"url",type:"text",sort:!1},{key:"ip_address",translationKey:"Address",type:"text",sort:!1},{key:"event",translationKey:"Type",type:"text",sort:!1},{translationKey:"Updated at",type:"text",key:"updated_at",sort:!0},{translationKey:"common_actions",type:"actions",key:"actions"}],this.formDataSource=[{type:"commonSearch",translateKey:"common_search",placeholder:"common_search",key:"search"},{type:"commonSearch",translateKey:"product_barcode",placeholder:"product_barcode",key:"barcode"},{type:"select",key:"event",translateKey:"Type",options:[{label:"new_goods",value:"created"},{label:"old_goods",value:"updated"}]},{type:"select",key:"change_type",translateKey:"change_type",options:[{label:"batch_add_product",value:"batch_add_product"},{label:"pre_batch_add_product",value:"pre_batch_add_product"},{label:"update_product",value:"update_product"},{label:"add_product",value:"add_product"},{label:"member_price",value:"member_price"},{label:"unpack",value:"unpack"},{label:"batch_set_promotion",value:"batch_set_promotion"},{label:"update_inbound_stock",value:"update_inbound_stock"},{label:"restore_audit",value:"restore_audit"},{label:"reverse_audit",value:"reverse_audit"},{label:"checkout_cart",value:"checkout_cart"},{label:"refund_order",value:"refund_order"},{label:"refund_order_item",value:"refund_order_item"},{label:"promotion",value:"promotion"},{label:"restore_audit_v2",value:"restore_audit_v2"},{label:"order",value:"order"},{label:"product_level_price",value:"product_level_price"},{label:"initial_import_product",value:"initial_import_product"},{label:"product_return",value:"product_return"},{label:"delete_product",value:"delete_product"},{label:"create_product",value:"create_product"},{label:"unknown",value:"unknown"}]},{type:"chainSelect",key:"chain_id"},{type:"commonSearch",translateKey:"Batch-number",placeholder:"Batch-number",key:"batch_number"},{type:"commonSearch",translateKey:"sub_batch_number",placeholder:"sub_batch_number",key:"sub_batch_number"},{type:"dateTimes",key:"date_from",placeholder:"common_startDate",translateKey:"common_startDate",value:qe.ou.local().plus({hours:-1}).toFormat("yyyy-MM-dd"),timeValue:""},{type:"dateTimes",key:"date_to",placeholder:"common_endDate",translateKey:"common_endDate",value:qe.ou.local().toFormat("yyyy-MM-dd"),timeValue:""}],this.pageInfo={itemsPerPage:10,currentPage:1,totalItems:0},this.modulePath=this.router.isActive("/shop",!1)?"/shop":this.router.isActive("/wms",!1)?"/wms":"/"}ngAfterViewInit(){}ngOnInit(){this.searchParams.date_to=qe.ou.local().toFormat("yyyy-MM-dd HH:mm:ss"),this.searchParams.date_from=qe.ou.local().plus({hours:-1}).toFormat("yyyy-MM-dd HH:mm:ss"),this.formDataSource[3].timeValue=qe.ou.local().plus({hours:-1}).toFormat("yyyy-MM-dd HH:mm:ss").split(" ")[1],this.formDataSource[4].timeValue=qe.ou.local().toFormat("yyyy-MM-dd HH:mm:ss").split(" ")[1],this.getProductList()}handleReset(){this.searchParams={barcode:"",chain_id:"",search:"",date_from:qe.ou.local().plus({hours:-1}).toFormat("yyyy-MM-dd"),date_to:qe.ou.local().toFormat("yyyy-MM-dd"),page:1},this.getProductList()}getProductList(){this.loadingService.openDialog(),this.productService.getProductChangeHistory(this.searchParams).subscribe(t=>{this.loadingService.hideDialog(),this.dataSource=t.data,this.dataSource.forEach(e
1=>{e.change_type=this.translate.instant(e.change_type),e.event="created"==e.event?this.translate.instant("new_goods"):this.translate.instant("old_goods"),e.created_at=new h$.t(e.created_at).format("yyyy-MM-dd HH:mm:ss"),e.isSelected=!1}),this.pageInfo={itemsPerPage:t.per_page,currentPage:t.current_page,totalItems:t.total}})}handleSearch(t){if(t.date_from){const e=new Date(t.date_from);t.date_from=e.toISOString()}if(t.date_to){const e=new Date(t.date_to);t.date_to=e.toISOString()}console.log(t),this.searchParams={...t,page:1},this.getProductList()}handleChangePaginator(t){this.pageInfo.currentPage=t,this.searchParams.page=t,this.getProductList()}getAllItem(t){this.selectCollection=[],t.checked?this.dataSource.forEach(e=>{e.isSelected=!0,this.selectCollection.push(e.id)}):(this.selectCollection=[],this.dataSource.forEach(e=>{e.isSelected=!1}))}isAllSelected(){const t=this.dataSource.filter(e=>e.isSelected);return this.dataSource.length>0&&t.length===this.dataSource.length}isNotAllSelected(){const t=this.dataSource.filter(e=>e.isSelected);return t.length>0&&t.length<this.dataSource.length}getCheckedItems(t,e){const a=[];this.dataSource.forEach(r=>{r.id===e&&(r.isSelected=t.checked),r.isSelected&&a.push(r)}),this.selectCollection=Array.from(a,({id:r})=>r),this.isSelectedAll=this.isAllSelected(),this.isNotSelectAll=this.isNotAllSelected()}reduction(){this.selectCollection.length>0&&this.dialogService.confirmDialog({title:this.translate.instant("Reduction"),message:this.translate.instant("Reduction Message"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(t=>{t&&(this.loadingService.openDialog(),this.productService.reductionProduct({ids:this.selectCollection}).subscribe(e=>{this.loadingService.hideDialog(),"success"==e.status?(this.message.success(e.msg),this.getProductList()):this.message.error(e.msg)}))})}reverseAuditSelect(){if(this.selectCollection.length>0){const t=this.selectCollection.length,e=this.translate.instant("ReverseAuditSelectMessage",{count:t});this.dialogService.confirmDialog({title:this.translate.instant("ReverseAuditSelect"),message:e,confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&(this.loadingService.openDialog(),this.productService.reverseAuditSelect({ids:this.selectCollection}).subscribe(r=>{this.loadingService.hideDialog(),"success"==r.status?(this.message.success(r.msg),this.getProductList()):this.message.error(r.msg)}))})}}reverseAuditResult(){this.dialogService.confirmDialog({title:this.translate.instant("ReverseAuditResult"),message:this.translate.instant("Reduction Message"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(t=>{t&&(this.loadingService.openDialog(),this.productService.reverseAuditResult(this.searchParams).subscribe(e=>{this.loadingService.hideDialog(),"success"==e.status?(this.message.success(e.msg),this.getProductList()):this.message.error(e.msg)}))})}openMaskModal(t){this.showID=t,this.isShowModal=!0,this.productService.searchProductChangeDetail(t).subscribe(e=>{this.loadingService.hideDialog(),this.detailData=e})}closeMaskModal(){this.isShowModal=!1,this.showID=null,this.detailData={}}};dv.ctorParameters=()=>[{type:Je.r},{type:Q.uU},{type:Bn.x},{type:ne.I},{type:Y.sK},{type:It.F0},{type:Qe.E}],dv=(0,j.gn)([(0,m.wA2)({selector:"app-product-change-history",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-field-form [formColumn]="formDataSource" (onSubmit)="handleSearch($event)"\n (onReset)="handleReset()">\n </app-common-search-field-form>\n\n <div class="row" style="margin: 5px">\n <mat-card class="col-md-12">\n <div class="d-flex justify-content-end">\n <div *ngIf="dataSource" class="row" style = "margin-right: 20px;display: flex;align-items:center;justify-content:space-between">\n <button (click)="reduction()" type="button" class="btn btn-sm btn-outline-secondary d-flex mr-2">\n {{ "Reduction" | translate }}\n </button>\n <button (click)="reverseAuditSelect()" type="button" class="btn btn-sm btn-outline-secondary d-flex mr-2">\n {{ "ReverseAuditSelect" | translate }}\n </button>\n <button (click)="reverseAuditResult()" type="button" class="btn btn-sm btn-outline-secondary d-flex">\n {{ "ReverseAuditResult" | translate }}\n </button>\n </div>\n </div>\n\n <div class="table-responsive">\n <table class="table table-hover" style="border: hidden;">\n <thead>\n <tr>\n <th>\n <mat-checkbox (change)="getAllItem($event)" [indeterminate]="isNotSelectAll" [checked]="isSelectedAll">\n </mat-checkbox>\n </th>\n\n <th *ngFor="let item of columns; let i = index" [ngSwitch]="item.type" matColumnDef="{{ item.key }}">\n {{item.translationKey | translate}}\n </th>\n\n </tr>\n </thead>\n <tbody *ngFor=\'let c of dataSource| paginate:pageInfo\'>\n <tr>\n <td>\n <mat-checkbox (change)="getCheckedItems($event, c.id)" [checked]="c.isSelected">\n </mat-checkbox>\n </td>\n <td>{{c.id}}</td>\n <td>{{c.change_type}}</td>\n <td>{{c.batch_number}}</td>\n <td>{{c.sub_batch_number}}</td>\n <td>{{c.product_name}}</td>\n <td>{{c.product_barcode}}</td>\n <td>{{c.user_id}}</td>\n\n <td>\n <div class="longText" data-toggle="tooltip" title="{{c.url}}">\n {{c.url}}\n </div>\n </td>\n <td>{{c.ip_address}}</td>\n\n <td>{{c.event}}</td>\n\n <td>{{c.created_at}}</td>\n <td class="text-right">\n <button mat-icon-button color="primary" matTooltip="{{ \'common_detail\' | translate }}"\n (click)="openMaskModal(c.id)">\n <mat-icon>view_headline</mat-icon>\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n <div class="pagination-custom mt-3 ">\n <pagination-controls (pageChange)="handleChangePaginator($event)" #paym previousLabel="" nextLabel="">\n </pagination-controls>\n </div>\n </div>\n </mat-card>\n <div class="maskModal" *ngIf="isShowModal">\n <div class="modalView">\n <div class="modalTitle">\n <i></i>\n <h2>{{"Product Change Details"|translate }}</h2>\n <i class="material-icons" style="color: #b3241f; cursor: pointer;" (click)="closeMaskModal()">cancel</i>\n </div>\n <div class="detail" *ngIf="detailData.auditable">\n <div><span class="label">{{ \'common_productName\'| translate}}:</span>\n {{detailData.auditable.product_name||\'\'}} </div>\n <div><span class="label">{{ \'common_productBarcode\'| translate}}:</span>\n {{detailData.auditable.product_barcode||\'\'}} </div>\n <div><span class="label">{{ \'common_chain\' | translate}}:</span>\n {{detailData.auditable.chain_name||\'\'}} </div>\n <div><span class="label">{{ \'common_supplier\' | translate}}:</span>\n {{detailData.auditable.supplier.supplier_name||\'\'}} </div>\n <div><span class="label">{{ \'common_category\' | translate}}:</span>\n {{detailData.auditable.category_name||\'\'}} </div>\n </div>\n <div class="scrollableContainer">\n <table class="table table-hover" style="border: hidden;">\n <thead>\n <tr>\n <th *ngFor="let item of detailColumns; let i = index" [ngSwitch]="item.type"\n matColumnDef="{{ item.key }}">\n {{item.translationKey | translate}}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n <div>\n {{"new value"|translate }}\n </div>\n <div class="line"></div>\n <div> {{"old value"|translate }}</div>\n </td>\n <td>\n <div> {{detailData.new_values.unit_price||\'-\'}} <span\n *ngIf="detailData.new_values.unit_price > detailData.old_values.unit_price "\n style="color: #f61515;">\n \u2191\n </span>
1\n <span *ngIf="detailData.new_values.unit_price < detailData.old_values.unit_price "\n style="color: #08c928;">\n \u2193\n </span>\n </div>\n <div class="line"></div>\n <div> {{detailData.old_values.unit_price||\'-\'}} </div>\n </td>\n <td>\n <div> {{detailData.new_values.profit||\'-\'}} <span\n *ngIf="detailData.new_values.profit > detailData.old_values.profit " style="color: #f61515;">\n \u2191\n </span>\n <span *ngIf="detailData.new_values.profit < detailData.old_values.profit " style="color: #08c928;">\n \u2193\n </span>\n </div>\n <div class="line"></div>\n <div> {{detailData.old_values.profit||\'-\'}} </div>\n </td>\n <td>\n <div> {{detailData.new_values.cost_price||\'-\'}} <span\n *ngIf="detailData.new_values.cost_price > detailData.old_values.cost_price "\n style="color: #f61515;">\n \u2191\n </span>\n <span *ngIf="detailData.new_values.cost_price < detailData.old_values.cost_price "\n style="color: #08c928;">\n \u2193\n </span>\n </div>\n <div class="line"></div>\n <div> {{detailData.old_values.cost_price||\'-\'}} </div>\n </td>\n <td>\n <div> {{detailData.new_values.member_price||\'-\'}} <span\n *ngIf="detailData.new_values.member_price > detailData.old_values.member_price "\n style="color: #f61515;">\n \u2191\n </span>\n <span *ngIf="detailData.new_values.member_price < detailData.old_values.member_price "\n style="color: #08c928;">\n \u2193\n </span>\n </div>\n <div class="line"></div>\n <div> {{detailData.old_values.member_price||\'-\'}} </div>\n </td>\n <td>\n <div> {{detailData.new_values.discount_price||\'-\'}} <span\n *ngIf="detailData.new_values.discount_price > detailData.old_values.discount_price "\n style="color: #f61515;">\n \u2191\n </span>\n <span *ngIf="detailData.new_values.discount_price < detailData.old_values.discount_price "\n style="color: #08c928;">\n \u2193\n </span>\n </div>\n <div class="line"></div>\n <div> {{detailData.old_values.discount_price||\'-\'}} </div>\n </td>\n <td>\n <div> {{detailData.new_values.tax_rate||\'-\'}} <span\n *ngIf="detailData.new_values.tax_rate > detailData.old_values.tax_rate " style="color: #f61515;">\n \u2191\n </span>\n <span *ngIf="detailData.new_values.tax_rate < detailData.old_values.tax_rate "\n style="color: #08c928;">\n \u2193\n </span>\n </div>\n <div class="line"></div>\n <div> {{detailData.old_values.tax_rate||\'-\'}} </div>\n </td>\n <td>\n <div> {{detailData.new_values.product_quantity||\'-\'}} <span\n *ngIf="detailData.new_values.product_quantity > detailData.old_values.product_quantity "\n style="color: #f61515;">\n \u2191\n </span>\n <span *ngIf="detailData.new_values.product_quantity < detailData.old_values.product_quantity "\n style="color: #08c928;">\n \u2193\n </span>\n </div>\n <div class="line"></div>\n <div> {{detailData.old_values.product_quantity||\'-\'}} </div>\n </td>\n <td>\n <div> {{detailData.new_values.warn_quantity||\'-\'}} <span\n *ngIf="detailData.new_values.warn_quantity > detailData.old_values.warn_quantity "\n style="color: #f61515;">\n \u2191\n </span>
1\n <span *ngIf="detailData.new_values.warn_quantity < detailData.old_values.warn_quantity "\n style="color: #08c928;">\n \u2193\n </span>\n </div>\n <div class="line"></div>\n <div> {{detailData.old_values.warn_quantity||\'-\'}} </div>\n </td>\n <td>\n <div> {{detailData.new_values.max_warn_quantity||\'-\'}} <span\n *ngIf="detailData.new_values.max_warn_quantity > detailData.old_values.max_warn_quantity "\n style="color: #f61515;">\n \u2191\n </span>\n <span *ngIf="detailData.new_values.max_warn_quantity < detailData.old_values.max_warn_quantity "\n style="color: #08c928;">\n \u2193\n </span>\n </div>\n <div class="line"></div>\n <div> {{detailData.old_values.max_warn_quantity||\'-\'}} </div>\n </td>\n <td>\n <div> {{detailData.new_values.unit_per_box||\'-\'}} <span\n *ngIf="detailData.new_values.unit_per_box > detailData.old_values.unit_per_box "\n style="color: #f61515;">\n \u2191\n </span>\n <span *ngIf="detailData.new_values.unit_per_box < detailData.old_values.unit_per_box "\n style="color: #08c928;">\n \u2193\n </span>\n </div>\n <div class="line"></div>\n <div> {{detailData.old_values.unit_per_box||\'-\'}} </div>\n </td>\n <td>\n <div> {{detailData.new_values.unit_per_package||\'-\'}} <span\n *ngIf="detailData.new_values.unit_per_package > detailData.old_values.unit_per_package "\n style="color: #f61515;">\n \u2191\n </span>\n <span *ngIf="detailData.new_values.unit_per_package < detailData.old_values.unit_per_package "\n style="color: #08c928;">\n \u2193\n </span>\n </div>\n <div class="line"></div>\n <div> {{detailData.old_values.unit_per_package||\'-\'}} </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n</div>\n',styles:['th {\n font-family: "Lato", sans-serif;\n font-style: normal;\n color: #949aab;\n text-align: left;\n font-weight: bold;\n font-size: 12px;\n white-space: nowrap;\n border: hidden;\n}\n\n.longText {\n overflow: hidden;\n word-break: keep-all;\n white-space: nowrap;\n text-overflow: ellipsis;\n max-width: 200px;\n}\n\ntd {\n font-weight: 700;\n color: #4c5773;\n font-size: 12px;\n text-align: left;\n border-spacing: 0;\n font-family: "Lato", sans-serif;\n font-style: normal;\n white-space: nowrap;\n border: hidden;\n}\n\nh6 {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n color: #4c5773;\n font-weight: bold;\n cursor: pointer;\n font-size: 0.875em;\n font-family: "Lato", sans-serif;\n font-style: normal;\n}\n\nh6:hover {\n color: #39A2DB;\n}\n\nth:hover {\n color: #39A2DB;\n cursor: pointer;\n}\n\n::-webkit-scrollbar {\n width: 1em;\n overflow-y: hidden;\n overflow-x: auto;\n}\n\n::-webkit-scrollbar-track {\n border-radius: 10px;\n}\n\n::-webkit-scrollbar-thumb {\n border-radius: 10px;\n}\n\n.maskModal {\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.6);\n position: fixed;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 999999;\n}\n\n.maskModal .modalView {\n width: 70%;\n min-width: 1000px;\n min-height: 600px;\n background-color: #fff;\n padding: 24px;\n border-radius: 10px;\n}\n\n.maskModal .modalView .modalTitle {\n text-align: center;\n display: flex;\n flex-direction: row;\n line-height: 2;\n justify-content: space-between;\n align-items: center;\n}
1\n\n.maskModal .modalView .modalTitle img {\n cursor: pointer;\n width: 24px;\n height: 24px;\n}\n\n.maskModal .modalView .scrollableContainer {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n.maskModal .modalView .scrollableContainer .table {\n width: 100%;\n}\n\n.maskModal .modalView .scrollableContainer .table thead tr th {\n text-align: center;\n}\n\n.maskModal .modalView .scrollableContainer .table tbody tr td {\n text-align: center;\n}\n\n.maskModal .modalView .scrollableContainer .table tbody tr td .line {\n margin: 10px 0;\n width: 100%;\n}\n\n.maskModal .modalView .detail .label {\n font-size: 12px;\n color: #4c5773;\n margin-right: 24px;\n}\n\n::ng-deep .mat-drawer.mat-drawer-side {\n z-index: 1;\n}']})],dv);let kh=class{constructor(){}ngOnInit(){}};kh.ctorParameters=()=>[],kh=(0,j.gn)([(0,m.wA2)({selector:"app-purchase-guide",template:'\x3c!--\n * @Author: zizhan77 [email protected]\n * @Date: 2023-05-24 23:51:59\n * @LastEditors: zizhan77 [email protected]\n * @LastEditTime: 2023-08-30 02:15:15\n * @FilePath: \\b2s2c\\src\\app\\modules\\dashboard-shop\\components\\purchase\\purchase-guide\\purchase-guide.component.html\n * @Description: \u8fd9\u662f\u9ed8\u8ba4\u8bbe\u7f6e,\u8bf7\u8bbe\u7f6e`customMade`, \u6253\u5f00koroFileHeader\u67e5\u770b\u914d\u7f6e \u8fdb\u884c\u8bbe\u7f6e: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n--\x3e\n<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <div class="row mx-0">\n\n <mat-card class="col-3 example-card mr-2">\n <mat-card-title-group>\n <mat-card-title>\n <div class="col px-0 d-flex ">\n <div class="mr-3">\n <mat-icon class="iconstyle p-1 mr-2 rounded-circle">\n person\n </mat-icon>\n </div>\n <div class="">\n \x3c!-- <p class="titlecard font-weight-bold mb-1">Purchase from suppliers</p> --\x3e\n <p class="titlecard font-weight-bold mb-1">{{"purch_from_suppliers" | translate}}</p>\n \x3c!-- <span class="subtitle text-light">For items that need to be replenished to external\n suppliers</span> --\x3e\n <span class="subtitle text-light">{{"items_to_external_suppliers" | translate }}</span>\n </div>\n </div>\n </mat-card-title>\n </mat-card-title-group>\n <mat-card-content>\n <hr class="linehz mb-0 mt-2">\n <mat-vertical-stepper>\n <mat-step>\n \x3c!-- <ng-template matStepLabel> Buyer\'s entry <a class="ml-2" routerLink="/shop/my-suppliers">Supplier Profile</a>\n </ng-template> --\x3e\n \x3c!-- \u4f9b\u8d27\u5546\u5165\u4f4f --\x3e\n <ng-template matStepLabel>\n \x3c!-- {{"buyers_entry" | translate}} --\x3e<a class="ml-2"\n routerLink="/shop/my-suppliers/add">{{"supplier_checkin" | translate}}</a>\n </ng-template>\n </mat-step>\n \x3c!-- \u521b\u5efa\u8865\u8d27\u5efa\u8bae --\x3e\n <mat-step>\n\n <ng-template matStepLabel>\n <a class="ml-2" routerLink="/shop/purchase/suggest-purchase/add">{{"create_recommendation" | translate}}</a>\n </ng-template>\n </mat-step>\n \x3c!-- \u751f\u6210\u91c7\u8d2d\u8ba2\u5355 --\x3e\n <mat-step>\n\n <ng-template matStepLabel>\n <a class="ml-2" routerLink="/shop/purchase/manual-purchase/add">{{"generate_order" | translate}}</a>\n </ng-template>\n </mat-step>\n \x3c!-- \u91c7\u8d2d\u5165\u5e93 --\x3e\n <mat-step>\n\n <ng-template matStepLabel>\n <a class="ml-2" routerLink="/shop/stock/in-out/purchase/purchas-and-stock-in">{{"purchase_receipt" | translate}}</a>\n </ng-template>\n </mat-step>\n \x3c!-- \u91c7\u8d2d\u9000\u56de --\x3e\n <mat-step>\n\n <ng-template matStepLabel>\n <a class="ml-2"\n routerLink="/shop/purchase/purchas-and-sales-return">{{"Purchase_Return" | translate}}</a>\n </ng-template>\n </mat-step>\n \x3c!-- <mat-step>\n <ng-template matStepLabel> {{"buyer_submit" | translate}}<a class="ml-2"\n routerLink="/shop/purchase/manual-purchase">{{"Purchase Order (siyou B2B)" | translate}}</a>\n </ng-template>\n </mat-step>\n <mat-step>\n <ng-template matStepLabel> {{"supplier_logistics" | translate}}</ng-template>\n </mat-step>\n <mat-step>\n <ng-template matStepLabel> {{"warehouse_clerk" | translate}} <a class="mx-2"\n routerLink="/shop/stock/in-out/purchase/purchas-and-stock-in">{{"Purchase_receipt" | translate}}</a>\n </ng-template>\n </mat-step> --\x3e\n\n </mat-vertical-stepper>\n </mat-card-content>\n </mat-card>\n \x3c!-- <mat-card class="col-4 example-card mr-2">\n <mat-card-title-group class="">\n <mat-card-title>\n <div class="row mr-1">\n\n </div>\n </mat-card-title>\n\n\n </mat-card-title-group>\n <mat-card-content>\n <hr class="linehz mb-0 mt-2">\n\n </mat-card-content>\n </mat-card> --\x3e\n </div>\n</div>\n',styles:[".titlecard {\n font-size: 15px;\n}\n\n.subtitle {\n font-size: 13px;\n}\n\n.iconstyle {\n font-size: 70px;\n color: #1989fa;\n width: 80px;\n height: 80px;\n background: #dcdcdc9c;\n}\n\nhr.linehz {\n border-top: 1px solid #dcdcdc9c;\n}\n\n.mat-vertical-content {\n padding: 0 !important;\n}\n\n:host ::ng-deep mat-card {\n min-width: 340px;\n}"]})],kh);var Rk=F(21275);let Ch=class{constructor(t,e,a,r,i,o,s,l){this.purchaseService=t,this.router=e,this.dialog=a,this.dialogService=r,this.translate=i,this.message=o,this.route=s,this.loadingDialogService=l,this.formDataSource=[{type:"chainSelect",key:"chain_id",isShowAll:!0}],this.columns=[{translationKey:"",type:"checkbox",key:"checkbox"},{type:"text",translationKey:"Chain",key:"chain"},{type:"text",translationKey:"name",key:"name"},{type:"text",key:"type",translationKey:"Type"},{type:"text",key:"create_user",translationKey:"common_create_user"},{type:"text",key:"created_at",translationKey:"common_create_at"},{type:"text",translationKey:"Notes",key:"remark"},{type:"toggle",translationKey:"IsEanble",key:"is_enabled"},{type:"actions",translationKey:"actions",key:"actions",list:["edit","delete"]}],this.dataSource=[],this.componentName="PurchaseSuggestComponent",this.pageInfo={page:1,pageSize:10,total:0},this.searchParams={chain_id:"",supplier_id:"",created_at:"",order_number:"",status:"",date:"",shipping_date:"",date_from:"",date_to:"",page:1}
1,this.id=this.route.snapshot.params.id,this.selectIds=[]}ngOnInit(){this.getPurchaseSuggestList("","")}handleSubmit(t){this.searchParams={...t},this.getPurchaseSuggestList(this.searchParams.chain_id,this.searchParams.page)}handleReset(){this.getPurchaseSuggestList("","")}getPurchaseSuggestList(t,e){this.purchaseService.getPurchaseSuggestList(t,e).subscribe(a=>{this.PurchaseSuggest=a.data.data,this.dataSource=a.data.data.map(r=>({...r,type:this.translate.instant(r.type)})),console.log("getPurchaseSuggestList"),console.log(this.dataSource),this.pageInfo.total=a.data.total},a=>{console.log(a)})}handleToggle(t){try{let e;e=t.event.checked?1:0}catch(e){console.log("error",e)}}handleAdd(){this.router.navigate(["/shop/purchase/suggest-purchase/add"])}handleBtnClick({item:t,type:e,event:a}){if("delete"===e)this.dialogService.confirmDialog({title:this.translate.instant("common_delete_title"),message:this.translate.instant("common_delete_message"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(r=>{r&&this.purchaseService.deletePurchaseSuggest(t.id).subscribe(i=>{i&&(this.searchParams.page=1,this.pageInfo.page=1,this.message.success(this.translate.instant("common_delete_success"))),this.loadingDialogService.openDialog(),this.getPurchaseSuggestList(this.searchParams.chain_id,this.searchParams.page),this.loadingDialogService.hideDialog()})});else if("edit"===e)this.router.navigate([`/shop/purchase/suggest-purchase/edit/${t.id}`]);else if("toggle"===e){let r=a.checked?1:0;this.dialogService.confirmDialog({title:this.translate.instant("common_update_state_title"),message:this.translate.instant("common_update_state_msg"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(i=>{i?this.purchaseService.updateIsEnablePurchaseSuggest(t.id,{is_enabled:r}).subscribe(o=>{o.data?(this.enabled=o,this.message.success(this.translate.instant(o.translationKey))):(this.message.error(this.translate.instant(o.translationKey)),a.checked=!a.checked,a.source._checked=!a.source._checked)}):(a.checked=!a.checked,a.source._checked=!a.source._checked)})}}onCheckChangeList(t){this.selectIds=t.map(e=>e.id)}executeClick(){if(console.log(this.selectIds,"selectIds"),0!=this.selectIds.length&&this.selectIds){const t=this.translate.instant("ConfirmExecuteNow");this.dialogService.confirmDialog({title:this.translate.instant("execute_immediately"),message:t,confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(e=>{e&&this.purchaseService.execute({suggestion_ids:this.selectIds}).subscribe(a=>{console.log(a,"rrrr"),this.message.success(this.translate.instant("Create smart purchase order success"))},a=>{console.log(a)})})}else this.message.error(this.translate.instant("pleaseSelectData"))}handleChangePaginator(t){this.pageInfo.page=t.page,this.searchParams.page=t.page,this.getPurchaseSuggestList("",this.searchParams.page)}};Ch.ctorParameters=()=>[{type:Oi.B},{type:It.F0},{type:St.uw},{type:Bn.x},{type:Y.sK},{type:ne.I},{type:It.gz},{type:Qe.E}],Ch.propDecorators={checked:[{type:m.IIB}]},Ch=(0,j.gn)([(0,m.wA2)({selector:"app-purchase-suggest",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-list-table\n [formColumn]="formDataSource"\n [isShowExecute]="true"\n (onAddClick)="handleAdd()"\n [isFilterbyStatus]="false"\n [dataSource]="dataSource"\n (onCheckChange)="onCheckChangeList($event)"\n (onExecuteClick)="executeClick()"\n [checked]="checked"\n [columns]="columns"\n [uniqueTableKey]="componentName"\n [pageInfo]="pageInfo"\n (onSubmit)="handleSubmit($event)"\n (onReset)="handleReset()"\n (onBtnClick)="handleBtnClick($event)"\n (pageChange)="handleChangePaginator($event)"\n >\n </app-common-search-list-table>\n</div>\n',styles:[""]})],Ch);let Jc=class{constructor(t,e,a,r,i,o,s,l,c,d,u){this.router=t,this.route=e,this.datePipe=a,this.dialog=r,this.dialogRef=i,this.data=o,this.purchaseService=s,this.translate=l,this.message=c,this.supplierService=d,this.loadingService=u,this.dataFormSource1=[],this.onlySales=!1,this.selectedSuppliers=[],this.value=1,this.AddSuggestPurchase=new V.cw({store_id:new V.NI(localStorage.getItem("store_id"),V.kI.required),enable_inventory_upper_limit:new V.NI(!1),enable_inventory_lower_limit:new V.NI(!1),chain_id:new V.NI("",V.kI.required),execution:new V.NI("",V.kI.required),execution_time:new V.NI("",V.kI.required),only_s
1ales:new V.NI}),this.selectTime=qe.ou.local().toFormat("yyyy-MM-dd HH:mm:ss").split(" ")[1],this.suppliers=[],this.hideform=!1,this.showError=!1,this.scheme_type=!1,this.supplier_ids=[],this.dataFormSource1=[{type:"input",translateKey:"common_name",key:"name",isShowAll:!1,prompt:"suggest_purchase_name_prompt",rules:[{required:!0,message:"required"}]},{type:"chainSelect",translateKey:"Chain/WareHouse",key:"chain_id",isShowAll:!0,prompt:"Chain/WareHouse_prompt",rules:[{required:!0,message:"common_chain_required"}]},{type:"input",translateKey:"Notes",key:"remark",rules:[{message:""}]},{type:"supplierSelect",isShowAll:!1,isMultiple:!0,key:"supplier_id",rules:[{message:""}]},{type:"textarea",translateKey:"Shipping address",placeholder:"Shipping address",key:"shipping_address",rules:[{required:!0,message:"required"}]}]}ngOnInit(){var t=new Date;if(t.setDate(t.getDate()+1),this.tomorrow=t,this.currentToken=localStorage.getItem("token"),this.getsuppliers(),this.route.paramMap.subscribe(e=>{this.id=e.get("id")}),this.id||this.data?.id)this.getbyId();else{let e=new V.NI(15,[V.kI.required,V.kI.min(1)]),a=new V.NI(3,[V.kI.required,V.kI.min(1)]);this.AddSuggestPurchase.addControl("day1",e),this.AddSuggestPurchase.addControl("day2",a)}console.log("form:",this.dataFormSource1)}dateTo(t,e){"date"==e||(this.selectTime=t.target.value),this.selectTime&&this.AddSuggestPurchase.value.execution&&this.AddSuggestPurchase.value.execution_time&&(this.showError=!1)}handleItemChange(t){console.log(this.dataFormSource1),"chain_id"==t.key||"supplier_id"==t.key&&(this.AddSuggestPurchase.patchValue({supplier_id:t.value}),this.supplier_ids=t.value),console.log(t),console.log(t.value),console.log(this.dataFormSource1)}getbyId(){console.log("getby"),this.data.id&&(this.id=this.data.id),this.purchaseService.getPurchaseSuggestListById(this.id).subscribe(t=>{if(t.data[0]){let e=t.data[0];if(console.log("add-purchase-suggest.component.ts"),console.log(e),this.dataFormSource1.forEach(a=>{"chain_id"===a.key&&(a.value=e.chain_id?e.chain_id:"")}),this.commonForm.filterForm.patchValue({name:e.name?e.name:"",chain_id:e.chain_id?e.chain_id:"0",remark:e.remark?e.remark:"",shipping_address:e.shipping_address?e.shipping_address:"",supplier_id:e.supplier_ids?e.supplier_ids:[]}),this.scheme_type=!!e.scheme_type&&e.scheme_type,this.supplier_ids=e.supplier_ids?e.supplier_ids:[],this.AddSuggestPurchase.patchValue({create_user:e.create_user?e.create_user:"",execution:this.datePipe.transform(new Date(e.execution),"yyyy-MM-dd"),store_id:+localStorage.getItem("store_id"),execution_time:e.execution_time,enable_inventory_upper_limit:e.enable_inventory_upper_limit,enable_inventory_lower_limit:e.enable_inventory_lower_limit}),this.selectTime=e.execution_time,"daily_sales"===this.scheme_type){let a=new V.NI(15,[V.kI.required,V.kI.min(1)]),r=new V.NI(3,[V.kI.required,V.kI.min(1)]),i=new V.NI;this.AddSuggestPurchase.addControl("day1",a),this.AddSuggestPurchase.addControl("day2",r),this.AddSuggestPurchase.addControl("only_sales",i),this.AddSuggestPurchase.patchValue({day1:e.day1?e.day1:"",day2:e.day2?e.day2:"",only_sales:!!e.only_sales&&e.only_sales}),this.onlySales=!!e.only_sales&&e.only_sales}else this.AddSuggestPurchase.removeControl("day1"),this.AddSuggestPurchase.removeControl("day2")}})}ResetForm(){this.router.navigate(["/shop/purchase/suggest-purchase/add"])}getPurchaseById(){this.purchaseService.getPurchaseSuggestList().subscribe(t=>{this.purchasebyuser=t.data.data,this.purchasebyuser.forEach(e=>{this.user=e.create_user,this.AddSuggestPurchase.patchValue({create_user:this.user})})})}checkSupplier(t){this.AddSuggestPurchase.patchValue({suppliers:this.selectedSuppliers})}getsuppliers(){this.supplierService.getAllSuppliersListFromCustomer().subscribe(t=>{this.suppliers=t.data.map(e=>({id:e.id,supplier_name:e.supplier_name}))})}touchAllElements(t){Object.keys(t.controls).forEach(e=>{t.get(e).markAsTouched()})}submit(){console.log(this.commonForm);const t=this.commonForm.handleSubmit();if(this.AddSuggestPurchase.value.execution||(this.showError=!0),console.log(t),!t.name&&!t.shipping_address)return;if(!this.AddSuggestPurchase.invalid)return void console.log("error");console.log(this.supplier_ids);const e={...this.AddSuggestPurchase.value,...t,supplier_ids:this.supplier_ids,execution:this.datePipe.transform(new Date(this.AddSuggestPurchase.value.execution),"yyyy-MM-dd")};console.log(e),delete e.supplier_id,!this.AddSuggestPurchase.controls.invalid&&(this.data.id?this.dialogRef.close(e):this.id?this.purchaseService.updatePurchaseSuggest(e,this.id).subscribe(a=>{(a.msg="success")?(this.message.success(a.msg),this.router.navigate(["/shop/purchase/suggest-purchase"])):this.message.error(a.msg)}):this.purchaseService.addPurchaseSuggest(e).subscribe(a=>{a?(this.message.success(this.translate.instant("common_add_success")),this.router.navigate(["/shop/purchase/suggest-purchase"])):this.message.error(a.msg.translationKey)}))}handleSupplierChange(t){this.AddSuggestPurchase.value.suppliers=t}toggleSpanVisibility(t){this.onlySales=t.target.checked}};Jc.ctorParameters=()=>[{type:It.F0},{type:It.gz},{type:Q.uU},{type:St.uw},{type:St.so},{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}
1,{type:Oi.B},{type:Y.sK},{type:ne.I},{type:vn.e},{type:Qe.E}],Jc.propDecorators={commonForm:[{type:m.i9L,args:["commonForm",{static:!0}]}]},Jc=(0,j.gn)([(0,m.wA2)({selector:"app-add-purchase-suggest",template:'<div class="container-fluid">\n\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <div *ngIf="data.id">\n <label>{{\'enable_purchase_suggest\' | translate}} </label>\n <div class="row float-right ">\n <mat-icon style="cursor: pointer" matSuffix (click)="dialog.closeAll()">close</mat-icon>\n </div>\n </div>\n\n <div class="p-2 mx-2">\n <hr>\n <app-common-form [columns]="2" [isShowSubmitBtn]="false" (onItemChange)="handleItemChange($event)" [isSuggest]="true"\n #commonForm [dataSource]="dataFormSource1">\n </app-common-form>\n </div>\n\n <form [formGroup]="AddSuggestPurchase">\n <hr class="mb-4">\n <div style="display: flex; flex-direction: column;">\n\n <div *ngIf="scheme_type==\'daily_sales\' || !id" class="row mx-2 mb-4" style="width: 100%; padding-left: 10px;">\n <label>{{\'Calculation formula\' | translate}}:</label>\n <span>{{\'suggest_po_quantity\' | translate}} = {{\'Average daily sales in recent N days\' | translate}} * {{\'procurement_cycle\' | translate}}</span>\n <span *ngIf="!onlySales">-{{\'Available for sale inventory\' | translate}}-{{\'transportation inventory\' | translate}}\n \x3c!--) * {{\'base_coefficient\' | translate}} --\x3e\n </span>\n <div style="margin-left: 15px;">\n <input type="checkbox" name="only_sales" formControlName="only_sales" (change)="toggleSpanVisibility($event)" />\n <span>{{\'only_sales\' | translate}}</span>\n </div>\n </div>\n <div class="row m-2 d-flex align-items-center">\n <div class="col-md-6 pr-0" *ngIf="scheme_type==\'daily_sales\' || !id">\n \x3c!-- <div class="row mx-2 mb-4">\n <label>{{\'Calculation formula\' | translate}}:</label>\n <span>{{\'suggest_po_quantity\' | translate}} = {{\'Average daily sales in recent N days\' | translate}} * {{\'procurement_cycle\' | translate}}</span>\n <span *ngIf="!onlySales">-{{\'Available for sale inventory\' | translate}}-{{\'transportation inventory\' | translate}}\n </span>\n <div style="margin-left: 15px;">\n <input type="checkbox" name="only_sales" formControlName="only_sales" (change)="toggleSpanVisibility($event)" />\n <span>{{\'only_sales\' | translate}}</span>\n </div>\n </div> --\x3e\n <div class="row justify-content-start mx-2 mb-4">\n <mat-checkbox class="col-lg-5 col-md-3 col-sm-6 col-xs-6" labelPosition =\'before\' formControlName="enable_inventory_upper_limit">\n {{\'NotExceedingStockUpperLimit\' | translate}}\n <span data-toggle="tooltip" title="{{\'SuggestedRestockPlusCurrentStockNotExceedingStockLimit\' | translate}}">\n <i class="fa fa-question-circle"></i>\n </span>:\n </mat-checkbox>\n <mat-checkbox class="col-lg-5 col-md-3 col-sm-6 col-xs-6" labelPosition =\'before\' formControlName="enable_inventory_lower_limit">\n {{\'NotLowerThanStockLowerLimit\' | translate}}\n <span data-toggle="tooltip" title="{{\'RestockToMeetStockLowerLimit\' | translate}}">\n <i class="fa fa-question-circle"></i>\n </span>:\n </mat-checkbox>\n </div>\n <div class="row justify-content-start mx-2 mb-4">\n <label class="col-lg-5 col-md-6 col-sm-12 col-xs-12">{{\'sales_cycle\' | translate}}\n <span data-toggle="tooltip" title="{{\'sales_cycle_prompt\' | translate}}">\n <i class="fa fa-question-circle"></i>\n </span>\n <sup class="text-primary">*</sup> :</label>\n <div class="col">\n \n <input\n [ngClass]="{ \'invalid_input\': AddSuggestPurchase.controls.day1.errors || (AddSuggestPurchase.controls.day1.errors && AddSuggestPurchase.get(\'day1\').touched )}"\n type="number" name="day1" class="form-control" id="day1" formControlName="day1">\n <div class="invalid_text"\n *ngIf="AddSuggestPurchase.controls.day1.errors || (AddSuggestPurchase.controls.day1.errors && AddSuggestPurchase.get(\'day1\').touched )">\n <small> {{ \'sales_cycle_required\' |translate}}</small>\n <div *ngIf="AddSuggestPurchase.controls.day1.errors.min ">\n <small> {{ \'minimum_value 1\' |translate}}</small>\n </div>\n </div>
1\n <span>{{\'sales_cycle\' | translate}}</span>\n </div>\n \n </div>\n <div class="row justify-content-start mx-2">\n <label class="col-lg-5 col-md-6 col-sm-12 col-xs-12">{{\'procurement_cycle\' | translate}} \n <span class="ml-2" data-toggle="tooltip" title="{{\'procurement_cycle_desc\' | translate}}">\n <i class="fa fa-question-circle"></i>\n </span>\n <sup class="text-primary">*</sup> \n :</label>\n <div class="col">\n <input\n [ngClass]="{ \'invalid_input\': AddSuggestPurchase.controls.day2.errors || (AddSuggestPurchase.controls.day2.errors && AddSuggestPurchase.get(\'day2\').touched )}"\n type="number" name="day2" class="form-control" id="day2" formControlName="day2">\n <div class="invalid_text"\n *ngIf="AddSuggestPurchase.controls.day2.errors || (AddSuggestPurchase.controls.day2.errors && AddSuggestPurchase.get(\'day2\').touched )">\n {{ \'purchasing_cycle_required\' |translate}}\n <div *ngIf="AddSuggestPurchase.controls.day2.errors.min ">\n <small> {{ \'minimum_value 1\' |translate}}</small>\n </div>\n </div>\n </div>\n \n </div>\n \x3c!-- <div class="row justify-content-end mx-2">\n <div class="col-12 pr-0 ">\n <span></span>\n </div>\n </div> --\x3e\n </div>\n \n <div class="col-md-6 d-flex">\n <div class="" *ngIf="scheme_type==\'daily_sales\' || !id">\n <div class="px-2" style=" border-left:1px solid rgba(0, 0, 0, 0.1);height: 100%"> </div>\n </div>\n <div class="">\n <div class="row justify-content-start mx-2 mb-4">\n <label class="col-lg-5 col-md-6 col-sm-12 col-xs-12">{{\'execution_time\' | translate}}<sup\n class="text-primary">*</sup> :</label>\n <div class="col">\n <div class="date-inputs form-control ">\n <input readOnly matInput (dateInput)="dateTo($event,\'date\')" [min]="tomorrow"\n placeholder="{{\'choose-a-date\' | translate }}" [matDatepicker]="picker" formControlName="execution" />\n <mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <input type="time" formControlName="execution_time" matInput\n (change)="dateTo($event,\'time\')" />\n </div>\n <mat-error *ngIf="showError">{{\'execution_time_required\' | translate }}</mat-error>\n </div>\n </div>\n </div>\n </div>\n \n </div>\n </div>\n\n <div class="row justify-content-center mt-3">\n <button mat-raised-button type="reset" class="btn btn-min-width btn-light mr-2">\n {{"common_reset" | translate}}</button>\n <button mat-raised-button type="submit" class="btn btn-min-width btn-primary" (click)="submit()">\n <label class="mb-0" *ngIf="id"> {{\'Save\' |translate}}</label>\n <label class="mb-0" *ngIf="!id"> {{\'common_add\' |translate}}</label>\n </button>\n\n </div>\n </form>\n\n\n\n</div>\n',providers:[Q.uU],styles:["span {\n color: #8d8c8c;\n text-align: justify;\n word-wrap: break-word;\n}\n\n.mat-form-field-appearance-outline .mat-form-field-infix {\n padding: 0.5em 0 0.5em 0 !important;\n}\n\n.date-inputs {\n display: flex;\n align-items: center;\n}\n\n.date-inputs input {\n flex: 1;\n}"]})],Jc);var $O=F(33130),tR=F(38490);var x$=F(3761);let uv=class{constructor(t,e,a,r,i,o,s,l,c,d,u){this.router=t,this.intertransfertService=e,this.snackbar=a,this.translate=r,this.http=i,this.pagerService=o,this.datepipe=s,this.chainService=l,this.configService=c,this.dialogService=d,this.message=u,this.page=1,this.pager={},this.pager2={},this.filtred=!1,this.componentName="wmsTransfertAcceptKey",this.formDataSource=[{type:"dateTime",ke
1y:"created_at",translateKey:"Created at"},{type:"chainSelect",key:"chain_from",translateKey:"Chain From"},{type:"chainSelectTo",key:"chain_to",translateKey:"Chain To"},{type:"select",key:"tran_stat",translateKey:"status",options:[{label:"rejected",value:"rejected"},{label:"confirmed",value:"confirmed"},{label:"pending",value:"pending"}]}],this.columns=[{type:"date",key:"created_at",translationKey:"Date"},{type:"text",key:"chain_from_name",translationKey:"Chain From"},{type:"text",key:"chain_to_name",translationKey:"Chain To"},{type:"text",key:"requested_by_name",translationKey:"Requested By"},{type:"text",key:"checked_by_name",translationKey:"Checked By"},{type:"date",key:"required_date",translationKey:"Required Date",dateStrType:"shortStr"},{type:"text-button",key:"transfer_status",btnClickType:"text-button",translationKey:"status",disabled:!1},{type:"actions",key:"actions",translationKey:"actions",list:["detail","confirm","refused"]}],this.dataSource=[],this.transfert=[];let h=this.configService.getConfig();this.baseUrl=`${h.baseUrl}`,this.baseUrlS2C=`${h.baseUrlS2C}`}ngOnInit(){this.getRequestTransfet(this.page),this.onGetChainList(),this.getApiData()}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data},t=>{console.log(t)})}setPage(t){this.pager=this.pagerService.getPager(this.prodLength,t),this.page=t,this.getRequestTransfet(this.page)}getRequestTransfet(t){return this.intertransfertService.onGetTransfert(this.page).subscribe(e=>{this.requestTransfert=e,this.transfert=this.requestTransfert.data},e=>{console.log(e)})}getRequestTransfetFiltred(t,e,a,r,i){var o=this.datepipe.transform(r,"yyyy-MM-dd");return this.filtred,this.intertransfertService.getinterTransfertFilterd(this.page,e,a,o,i).subscribe(s=>{this.requestTransfert=s,this.prodsLength=this.requestTransfert.total,this.transfert=this.requestTransfert.data},s=>{console.log(s)})}setPageFilter(t,e,a,r,i){this.filtred=!0,this.page=t,this.pager2=this.pagerService.getPager(this.prodsLength,t),this.getRequestTransfetFiltred(t,e,a,r,i)}getApiData(t){this.http.get(`${this.baseUrlS2C}/chain_transfer/activelist`,{params:{token:localStorage.getItem("token"),page:this.page.toString(),...t}}).subscribe(e=>{this.dataSource=e.data,this.dataSource.map(a=>{a.chain_from_name=a.chain_adding_request?a.chain_adding_request.chain_name:"",a.chain_to_name=a.chain_receiving_request?a.chain_receiving_request.chain_name:"","pending"!==a.transfer_status&&(a.confirm_disable=!0,a.refused_disable=!0),a.is_requested_by&&a.is_requested_by.first_name&&a.is_requested_by.last_name?a.requested_by_name=a.is_requested_by.first_name+" "+a.is_requested_by.last_name:a.requested_by_name="",a.is_checked_by&&a.is_checked_by.first_name&&a.is_checked_by.last_name?a.checked_by_name=a.is_checked_by.first_name+" "+a.is_checked_by.last_name:a.checked_by_name=""}),this.allItems=e,this.prodLength=this.allItems.total,this.pager=this.pagerService.getPager(this.prodLength,1)})}handleDetailClick(t){this.router.navigate(["/shop/stock/management/inventory/transfert/detail",t])}handleBtnClick({item:t,type:e}){"detail"===e?this.router.navigate(["/shop/stock/management/inventory/transfert/detail",t.id]):"confirm"===e?this.dialogService.confirmDialog({title:this.translate.instant("common_confirm_title"),message:this.translate.instant("confirm_transfert_msg"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&this.intertransfertService.confirmTransfert(t.id).subscribe(r=>{this.message.success(this.translate.instant("status_updated_successfully")),t.confirm_disable=!0,t.refused_disable=!0},r=>{console.log(r)})}):"refused"===e&&this.dialogService.confirmDialog({title:this.translate.instant("Alert"),message:this.translate.instant("refused_transfert_msg"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&this.intertransfertService.refusedTransfert(t.id).subscribe(r=>{this.message.success(this.translate.instant("status_updated_successfully")),t.confirm_disable=!0,t.refused_disable=!0},r=>{console.log(r)})})}handleSubmit(t){console.log("event:",t);let e={};e.page=this.page,t.created_at&&(e.created_at=t.created_at),t.chain_from&&(e.chain_from_id=t.chain_from),t.chainSelectToId&&(e.chain_to_id=t.chainSelectToId),t.tran_stat&&(e.transfer_status=t.tran_stat),this.getApiData(e)}};uv.ctorParameters=()=>[{type:It.F0},{type:x$.t},{type:We.ux},{type:Y.sK},{type:Nt.eN},{type:Ms.e},{type:Q.uU},{type:Oe.l},{type:Yn.E}
1,{type:Bn.x},{type:ne.I}],uv=(0,j.gn)([(0,m.wA2)({selector:"app-transfert-accept",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-list-table \n [isShowAdd]="false"\n [dataSource]="dataSource" \n [columns]="columns"\n [uniqueTableKey]="componentName" \n (onBtnClick)="handleBtnClick($event)" \n [formColumn]="formDataSource"\n (onSubmit)="handleSubmit($event)"\n [isCustomSubmit]="true"\n [isAutoPages]="true">\n </app-common-search-list-table>\n</div>\n\n\n\n\x3c!-- <div class="chain_transfert">\n <div class="row table-invoice ">\n <div class="col-sm-12">\n <div class="table-in-card">\n <span id="txt1"> {{\'Accept Transfert\'| translate}}</span>\n <br />\n\n <hr>\n <form>\n <mat-form-field appearance="outline" style="width: 18%; margin-right: 2%">\n <mat-label>{{"Created at"|translate}}</mat-label>\n <input matInput [matDatepicker]="picker" #created_at/>\n <mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width : 18% ; margin-right:2% ;">\n <mat-label>{{"Chain From"|translate}}</mat-label>\n <mat-select #from_id>\n <mat-option value=0>None</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width : 18% ; margin-right:2% ;">\n <mat-label>{{"Chain To"|translate}}</mat-label>\n <mat-select #to_id>\n <mat-option value=0>None</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n </mat-select>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width : 21% ; margin-right:2% ;">\n <mat-label>{{\'common_status\' | translate}} </mat-label>\n <mat-select #tran_stat>\n <mat-option value=0>None</mat-option>\n <mat-option value="rejected">Rejected</mat-option>\n <mat-option value="confirmed">Confirmed</mat-option>\n <mat-option value="unchecked">Unchecked</mat-option>\n </mat-select>\n </mat-form-field>\n\n <button style="width: 15%;\n padding: 14px 14px 9px 14px;\n border: 1px solid #d41507;\n background-color: white;\n border-radius: 5px;\n color: #d41507;\n font-size: 20px;\n " (click)="getRequestTransfetFiltred(1,from_id.value,to_id.value,created_at.value,tran_stat.value)">\n <i class="fa fa-search" aria-hidden="true"></i>\n\n {{\'common_filter\' | translate}}</button>\n\n </form>\n <div class="table-responsive">\n\n <table class="table">\n <thead>\n <tr>\n <th> {{"Date"|translate}} </th>\n <th> {{\'Chain From\'| translate}}</th>\n <th> {{\'Chain To\'| translate}}</th>\n <th> {{\'Requested By\'| translate}}</th>\n <th> {{\'Checked By\'| translate}}</th>\n <th> {{\'Required Date\' | translate}}</th>\n <th> {{\'common_status\' | translate}}</th>\n <th> {{\'common_actions\' | translate}}</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor="let transfert of transfert">\n <td>{{transfert.created_at}}</td>\n\n <td>{{transfert.chain_adding_request.chain_name}}</td>\n <td>{{transfert.chain_receiving_request.chain_name}}</td>\n <td>\n <p *ngIf="transfert.is_requested_by"> {{transfert.is_requested_by.first_name}}\n {{transfert.is_requested_by.last_name}}</p>\n </td>\n <td>\n <p *ngIf="transfert.is_checked_by">{{transfert.is_checked_by.first_name}}\n {{transfert.is_checked_by.last_name}}</p>\n </td>\n <td style="color: red;">\n {{transfert.required_date}}\n\n </td>\n\n <td style="align-items: center;">\n\n <p >\n <svg *ngIf="transfert.transfer_status == \'unchecked\'" height="14" width="14" style=" margin-right: 5px" matTooltip="{{\'Unchecked\'|translate}}">\n <circle cx="7" cy="7" r="7" class="orange-svg" />\n </svg>\n <svg *ngIf="transfert.transfer_status != \'unchecked\'" height="14" width="14" style=" margin-right: 5px" matTooltip="{{\'Checked\'|translate}}">\n <circle cx="7" cy="7" r="7" class="gray-svg" />\n </svg>\n <svg *ngIf="transfert.transfer_status == \'rejected\'" height="14" width="14" style=" margin-right: 5px" matTooltip="{{\'Rejected\'|translate}}">\n <circle cx="7" cy="7" r="7" class="red-svg" />\n </svg>\n <svg *ngIf="transfert.transfer_status != \'rejected\'" height="14" width="14" style=" margin-right: 5px" matTooltip="{{\'Unrejected\'|translate}}">\n <circle cx="7" cy="7" r="7" class="gray-svg" />\n </svg>\n\n <svg *ngIf="transfert.transfer_status == \'confirmed\'" height="14" width="14" style=" margin-right: 5px" matTooltip="{{\'Confirmed\'|translate}}">\n <circle cx="7" cy="7" r="7" class="green-svg" />\n </svg>\n <svg *ngIf="transfert.transfer_status != \'confirmed\'" height="14" width="14" style=" margin-right: 5px" matTooltip="{{\'Unconfirmed\'|translate}}">\n <circle cx="7" cy="7" r="7" class="gray-svg" />\n </svg>\n </p>\n\n </td>\n\n <td>\n <button mat-icon-button color="primary" matTooltip="{{ \'common_detail\' | translate }}"\n (click)="handleDetailClick(transfert.id)">\n <mat-icon>view_headline</mat-icon>\n </button>\n <button mat-icon-button matTooltip="{{\'Confirm\'|translate}}"\n [disabled]="transfert.transfer_status ==\'confirmed\' ||transfert.transfer_status ==\'rejected\'"\n (click)="confirmTransfert(transfert.id)">\n <i class="fas fa-check fa-lg" [ngStyle]="{ \'color\': transfert.transfer_status ==\'confirmed\' ||transfert.transfer_status ==\'rejected\' ? \'#d9d9d9\':\'green\' }"></i>\n </button>\n <button mat-icon-button matTooltip="{{\'Refuse\'|translate}}"\n [disabled]="transfert.transfer_status ==\'confirmed\' ||transfert.transfer_status ==\'rejected\'"\n (click)="refusedTransfert(transfert.id)"\n title="ddddd">\n\n <i class="fas fa-times fa-lg" [ngStyle]="{ \'color\': transfert.transfer_status ==\'confirmed\' ||transfert.transfer_status ==\'rejected\' ? \'#d9d9d9\':\'red\' }"></i>\n </button>\n\n\n </td>\n\n\n </tr>\n </tbody>\n </table>\n <nav aria-label="Page navigation example" *ngIf="!filtred">\n <ul *ngIf="pager.pages && pager.pages.length" class="pagination justify-content-center pagination-sm">\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === 1}">\n <a class="page-link"\n (click)="setPage(1)">{{\'First\'|\n translate}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === 1}">\n <a class="page-link" (click)="setPage(pager.currentPage - 1)">{{\'Previous\'| translate}}</a>\n </li>\n <li class="page-item active" *ngFor="let page of pager.pages" [ngClass]="{active:pager.currentPage === page}">\n <a class="page-link" (click)="setPage(page)">{{page}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === pager.totalPages}">\n <a class="page-link" (click)="setPage(pager.currentPage + 1)">{{\'Next\'| translate}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === pager.totalPages}">\n <a class="page-link" (click)="setPage(pager.totalPages)">{{\'Last\'| translate}}</a>\n </li>\n </ul>\n </nav>\n <nav aria-label="Page navigation example" *ngIf="filtred">\n <ul *ngIf="pager2.pages && pager2.pages.length" class="pagination justify-content-center pagination-sm">\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === 1}">\n <a class="page-link"\n (click)="setPageFilter(1,from_id.value,to_id.value,created_at.value,tran_stat.value)">{{\'first\'|\n translate}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === 1}">\n <a class="page-link"\n (click)="setPageFilter(pager2.currentPage - 1,from_id.value,to_id.value,created_at.value,tran_stat.value);getRequestTransfetFiltred(page,from_id.value,to_id.value,created_at.value,tran_stat.value)">{{\'previous\'|\n translate}}</a>\n </li>\n <li class="page-item active" *ngFor="let page of pager2.pages" [ngClass]="{active:pager2.currentPage === page}">\n <a class="page-link"\n (click)="setPageFilter(page,from_id.value,to_id.value,created_at.value,tran_stat.value);getRequestTransfetFiltred(page,from_id.value,to_id.value,created_at.value,tran_stat.value)">{{page}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === pager2.totalPages}">\n <a class="page-link"\n (click)="setPageFilter(pager2.currentPage + 1,from_id.value,to_id.value,created_at.value,tran_stat.value);getRequestTransfetFiltred(page,from_id.value,to_id.value,created_at.value,tran_stat.value)">{{\'Next\'|\n translate}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager2.currentPage === pager2.totalPages}">\n <a class="page-link"\n (click)="setPageFilter(pager2.totalPages,from_id.value,to_id.value,created_at.value,tran_stat.value);getRequestTransfetFiltred(page,from_id.value,to_id.value,created_at.value,tran_stat.value)">{{\'last\'|\n translate}}</a>\n </li>\n </ul>\n </nav>\n </div>\n </div>\n </div>\n </div>\n</div> --\x3e\n\n',styles:[".chain_transfert {\n padding: 20px;\n}\n.chain_transfert .table-invoice .table-in-card {\n background: white;\n}
1\n.chain_transfert .table-invoice .table-in-card h3 {\n color: black;\n font-weight: bold;\n padding: 15px;\n}\n.chain_transfert .table-invoice .table-in-card .table thead tr th, .chain_transfert .table-invoice .table-in-card .table tbody tr td {\n vertical-align: middle;\n font-size: smaller;\n}\n.chain_transfert .table-invoice .table-in-card .table thead tr th {\n color: #999999;\n border-bottom: 0;\n}\n.chain_transfert .table-invoice .table-in-card .table tbody tr td:last-child a {\n color: #999999;\n}\n#txt1 {\n font-size: 28px;\n line-height: 24px;\n}\n.material-icons {\n display: inline-flex;\n vertical-align: top;\n margin: 0 20px;\n color: #d41507;\n}\n.red-svg {\n fill: red;\n}\n.green-svg {\n fill: #6dd400;\n}\n.orange-svg {\n fill: orange;\n}\n.gray-svg {\n fill: #d9d9d9;\n}"]})],uv);var eR=F(47130);var k$=F(77117),C$=F(74335),D$=F(53409);var I$=F(96831);let Dh=class{constructor(t,e,a){this.stockInervice=t,this.translate=e,this.router=a,this.stockIn_id=new V.NI,this.stockIn_id_filter=new V.NI,this.filteredstockIn=new I$.t(1),this._onDestroy=new Vn.xQ,this.showAll=!1,this.selected_id=0,this.stockInChange=new m.vpe}ngOnInit(){this.initData(),this.stockIn_id.setValidators(this.required?V.kI.required:V.kI.nullValidator),this.stockIn_id_filter.valueChanges.pipe((0,Sn.R)(this._onDestroy)).subscribe(()=>{this.filterstockIn()}),this.stockInSelection.compareWith=(t,e)=>t&&e&&t.id===e.id,this.stockInSelection.selectionChange.subscribe(t=>{this.stockInChange.emit(t.value)}),this.translate.onLangChange.subscribe(t=>{this.initData()})}newAllOption(){return{id:0,batch_number:this.translate.instant("common_allstockIn")}}getSelected(){this.stockIn.forEach(t=>{t.id==this.selected_id&&this.stockIn_id.setValue(t)})}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}initData(){this.stockInervice.getStockInboundList("","","","").pipe((0,xr.K)(t=>(0,Ka.of)({data:[]}))).subscribe(t=>{this.stockIn=t.data,this.showAll&&this.stockIn.unshift(this.newAllOption()),this.getSelected(),this.filteredstockIn.next(this.stockIn.slice())})}filterstockIn(){if(!this.stockIn)return;let t=this.stockIn_id_filter.value;t?(t=t.toLowerCase(),this.filteredstockIn.next(this.stockIn.filter(e=>e.batch_number.toLowerCase().indexOf(t)>-1))):this.filteredstockIn.next(this.stockIn.slice())}ngOnChanges(t){t.selected_id&&!t.selected_id.firstChange&&this.setSeletecedId(t.selected_id.currentValue||0)}setSeletecedId(t){this.selected_id=t;const e=this.stockIn.find(a=>a.id===t);e?this.stockIn_id.setValue(e):this.stockIn_id.setValue(null)}handleChange(){}};Dh.ctorParameters=()=>[{type:iv.s},{type:Y.sK},{type:It.F0}],Dh.propDecorators={stockInSelection:[{type:m.i9L,args:["stockInSelection",{static:!0}]}],required:[{type:m.IIB}],showAll:[{type:m.IIB}],selected_id:[{type:m.IIB}],stockInChange:[{type:m.r_U}]},Dh=(0,j.gn)([(0,m.wA2)({selector:"app-stock-in-selection",template:'<mat-form-field class="w-100" appearance="outline">\n <mat-icon matSuffix>business</mat-icon>\n <mat-label>{{\'Stock In\' | translate}} <sup *ngIf="required==true" class="text-primary">*</sup></mat-label>\n <mat-select [formControl]="stockIn_id" placeholder="{{ \'Stock In\' | translate }}" #stockInSelection>\n <mat-option>\n <ngx-mat-select-search [formControl]="stockIn_id_filter" placeholderL
1abel="{{ \'common_search\' | translate }}"\n noEntriesFoundLabel="{{ \'common_noEntries\' | translate }}">\n </ngx-mat-select-search>\n </mat-option>\n <mat-option *ngFor="let stockIn of filteredstockIn | async " [value]="stockIn"> {{stockIn.batch_number}}\n </mat-option>\n </mat-select>\n <mat-error>{{ \'common_stockIn_required\' | translate }}</mat-error>\n</mat-form-field>\n',styles:[""]})],Dh);let Th=class{constructor(t,e,a,r,i,o,s,l,c,d,u,h,f,v){this.loadingService=t,this.WareHouseService=e,this.StockInboundService=a,this.activatedRoute=r,this.loadingservice=i,this.router=o,this.dialogService=s,this.supplierService=l,this.dialog=c,this.snackbar=d,this.translate=u,this.message=h,this.datepipe=f,this.formBuilder=v,this.disabled=!1,this.inboundData=null,this.completed=!1,this.tableName="po_outbound",this.pageInfo={total:0,page:1,pageSize:100},this.displayedColumns=["product_name","product_description","product_price","product_barcode","product_quantity","tax_rate","category_id","actions"],this.statusList=[{name:"draft",value:"draft"},{name:"Confirmed",value:"Confirmed"},{name:"rejected",value:"rejected"},{name:"canceled",value:"canceled"},{name:"PartialReceipt",value:"PartialReceipt"},{name:"Completed",value:"Completed"}],this.currentId="",this.dataFormSource1=[{type:"POList",key:"po_id",translateKey:"purchase_orderNumber",rules:[{required:!0,message:"purchase_orderNumber_required"}],isShowAll:!1},{type:"chainSelect",key:"chain_id",isShowAll:!1,rules:[]},{type:"dateTime",translateKey:"last-entry-date",key:"operate_time"},{type:"supplierSelect",key:"supplier_id",rules:[],isShowAll:!1},{type:"stockInSelect",translateKey:"Stock In",key:"parent_id",rules:[{required:!0,message:"purchase_orderNumber_required"}],isShowAll:!0},{type:"select",translateKey:"Status",key:"status_id",rules:[{required:!0,message:"required"}]},{type:"input",translateKey:"Notes",placeholder:"Notes",key:"remark"}],this.tableColumns=[{type:"checkbox",translationKey:"checkbox",key:"checkbox"},{type:"text",translationKey:"Product Name",key:"name"},{type:"text",translationKey:"Product Description",key:"description"},{type:"text",key:"product_barcode",translationKey:"product_barcode"},{type:"text",key:"inventory_quantity",translationKey:"Inventory quantity"},{type:"text",key:"po_prodcut_quantity",translationKey:"po_prodcut_quantity"},{type:"text",key:"received_quantity",translationKey:"received_quantity"},{type:"text",key:"receiving_quantity",translationKey:"receiving_quantity"},{type:"text",key:"not_received_quantity",translationKey:"surplus_quantity"},{type:"multiEdit",key:"quantity",translationKey:"quantity_return"},{type:"text",key:"quantity_return",translationKey:"quantity_return_sum"},{key:"tax_rate",type:"number",translationKey:"Tax Rate"},{type:"text",key:"category",translationKey:"Category"}],this.dataSource=[],this.componentName="wmsAddPurchaseTable",this.sub_total=0,this.product_purchase=[],this.curDate=new Date}next(){let t;if(t=this.stockInForm.invalid,!0===t)return this.completed=!1,this.stepper.next(),void this.stepper.previous();this.completed=!0,this.stepper.next()}ngAfterViewInit(){}onAddPurshase(t,e,a,r,i,o,s,l,c){try{this.orderDate="2022-05-16",this.requiredDate="2022-05-17",this.shippingDatte="2022-05-18";var d={warehouse_id:c,order_date:this.orderDate,required_date:this.requiredDate,shipping_date:this.shippingDatte,shipping_type:r,shipping_address:i,shipping_price:o,order_weight:s,supplier_id:l,products:this.product_purchase};this.WareHouseService.addNewPurchase(d).subscribe(u=>{this.rslt=u,"success"==u.msg&&(this.snackbar.open("Chinese"===this.translate.currentLang?"\u6210\u529f\u6dfb\u52a0":"Italian"===this.translate.currentLang?" Aggiunto con successo":"Added Successfully","OK",{duration:2e3}),this.router.navigate(["/wms/purchase"]))})}catch(u){console.log(u)}}eventSelection(t){this.selectedStatus=t.value}open(){this.dialog.open(k$.Q).afterClosed().subscribe(e=>{this.product_purchase=e.data;for(let a=0;a<this.product_purchase.length;a++)this.product_purchase[a].product_description=this.product_purchase[a].product_description,delete this.product_purchase[a].product_description;for(let a=0;a<this.product_purchase.length;a++)this.product_purchase[a].cost_price=String(this.product_purchase[a].cost_price),this.product_purchase[a].product_barcode=String(this.product_purchase[a].product_barcode),this.product_purchase[a].product_quantity=String(this.product_purchase[a].product_quantity),this.product_purchase[a].tax_rate=String(this.product_purchase[a].tax_rate);this.sub_total=0;for(let a=0;a<this.product_purchase.length;a++){let o=this.product_purchase[a].cost_price*this.product_purchase[a].product_quantity;this.sub_total=this.sub_total+o}this.displayedColumns=["product_name","product_description","product_price","product_barcode","product_quantity","tax_rate","category_id","actions"]})}ngOnInit(){this.setupForm(),this.activatedRoute.params.subscribe(t=>
1{this.id=parseInt(t.id),this.id&&this.getStockOutById()}),this.router.url.includes("/purchase/purchas-and-sales-return-add")?(this.inboundcheck=!0,this.inboundCheckStatus=!0):(this.inboundcheck=!0,this.inboundCheckStatus=!1)}getStockOutById(){!this.id||(this.loadingservice.openDialog(),this.StockInboundService.getStockOutboundById(this.id).subscribe(t=>{try{let e;this.stockInForm.patchValue({remark:t.data.remark,status:t.data.inventory_status,parent_id:t.data.parent_id,supplier_id:t.data.supplier_id,to_chain_id:t.data.chain_id,po_id:t.data.order_id,order_number:t.data.po.order_number,operate_time:this.datepipe.transform(new Date(this.curDate.getTime()),"yyyy-MM-dd")});for(let a=0;a<t.data.parent.inventory_products.length;a++)e=t.data.quantity_returns.filter(r=>r.item_id===t.data.parent.inventory_products[a].id),e.length>0?t.data.parent.inventory_products[a].quantity=e[0].quantity:t.data.parent.inventory_products[a].quantity=null;console.log(t.data.parent.inventory_products),this.dataSource=t.data.inventory_products.map((a,r)=>({...a,name:a.purchase_product.product_name,description:a.product.product_description,product_barcode:a.product.product_barcode,inventory_quantity:a.product.product_quantity,po_prodcut_quantity:a.purchase_product.product_quantity,oldquantity_return:a.purchase_product.total_returned_quantity,quantity:a.product_quantity,oldquantity:a.product_quantity,quantity_return:a.purchase_product.total_outbound_quantity,category:a.purchase_product.category,received_quantity:a.purchase_product.total_inbound_passed_quantity,receiving_quantity:a.purchase_product.total_inbound_pending_quantity,tax_rate:a.purchase_product.tax_rate,not_received_quantity:a.purchase_product.product_quantity-a.purchase_product.total_inbound_passed_quantity-a.purchase_product.total_inbound_pending_quantity,myId:r+1})),console.log(this.dataSource)}catch(e){console.log(e)}},t=>{console.log(t)}))}handleBtnClick({type:t,item:e}){"cellEdit"===t&&this.dataSource.forEach(a=>{a.id==e.id&&(a.receiving_quantity=e.receiving_quantity)}),"delete"===t&&(this.dataSource=this.dataSource.filter(a=>a.id!==e.id)),"edit"===t&&this.addProductToPurchase(e)}handleAddPurchase(){let t;const e=this.stockInForm.value;if("error"===e)return;const a={...e,from_chain_id:0,shop_id:localStorage.getItem("store_id"),products:this.dataSource};if(null==a.remark&&(a.remark=""),a.products.forEach(r=>{+r.quantity_return>r.receiving_quantity&&(t=!0)}),0==a.products.length)this.message.error(this.translate.instant("common_choose_one_product"));else if(this.id)this.StockInboundService.newEditStockOutbound(a,this.id).pipe((0,xr.K)(r=>(403===r.error.code&&this.message.error(this.translate.instant(r.error.msg)),(0,Yf._)(r)))).subscribe(r=>{200===r.code?(this.message.success(this.translate.instant("common_update_success")),this.router.navigate(["/shop/purchase/purchas-and-sales-return"])):this.message.error(r.msg)});else{const r={...a,category:"po"};this.StockInboundService.newaddStockOutbound(r).subscribe(i=>{this.message.success(this.translate.instant("common_add_success")),this.router.navigate(["/shop/purchase/purchas-and-sales-return"])},i=>{})}}changeStatus(t){this.stockInForm.patchValue({status:t})}btnResetClick(){}handlePrint(){}addProductToPurchase(t){this.dialog.open(C$.a,{width:"800px",height:"800px",data:t}).afterClosed().subscribe(a=>{if(a)if(a.myId){let r=this.dataSource.findIndex(i=>i.myId===a.myId);this.dataSource[r]=a,this.dataSource=[...this.dataSource]}else{const r=this.dataSource.slice(-1)[0]||{myId:0};this.dataSource=[...this.dataSource,{...a,myId:r.myId+1}]}})}deleteProduct(t){for(let e=0;e<this.product_purchase.length;e++)if(this.product_purchase[e].product_name==t){let i=this.product_purchase[e].cost_price*this.product_purchase[e].product_quantity;this.sub_total=this.sub_total-i,this.product_purchase.splice(e,1)}}quickAdd(){const t=this.dataSource.filter(a=>"quick"===a.type);this.dialog.open(D$.C,{width:"800px",height:"800px",data:t}).afterClosed().subscribe(a=>{const r=[];a.forEach(i=>{this.dataSource.find(s=>s.id===i.id)||r.push({...i,type:"quick"})}),this.dataSource=[...this.dataSource,...r]})}get g(){return this.stockInForm.controls}setupForm(t){this.stockInForm=this.formBuilder.group({parent_id:[t?t.id:"",V.kI.required],supplier_id:[t?t.supplier_id:"",V.kI.required],to_chain_id:[t?t.to_chain_id:"",V.kI.required],po_id:[t?t.po_id:""],order_number:[t?t.po.order_number:"",V.kI.required],operate_time:[this.datepipe.transform(new Date(this.curDate.getTime()),"yyyy-MM-dd")],remark:[t?t.remark:""],status:[t?t.status:"pending",V.kI.required]}),this.loadingService.hideDialog()}
1handleChange(t){this.getStockInById(t.id)}getStockInById(t){if(!t)return;this.dataSource=[];const e=(a=1)=>this.StockInboundService.getStockInWithPageProductById(t,a).subscribe(r=>{try{var i=r.data;i.po_id=r.data.order_id,i.to_chain_id=r.data.chain_id,i.remark=r.data.remark,i.status="pending",this.setupForm(i);const o=r.data.inventory_products.data.map((s,l)=>({...s,name:s.purchase_product.product_name,description:s.product.product_description,product_barcode:s.product.product_barcode,inventory_quantity:s.product.product_quantity,po_prodcut_quantity:s.purchase_product.product_quantity,oldquantity_return:s.purchase_product.total_returned_quantity,quantity:0,quantity_return:s.purchase_product.total_outbound_quantity,category:s.purchase_product.category,received_quantity:s.purchase_product.total_inbound_passed_quantity,receiving_quantity:s.purchase_product.total_inbound_pending_quantity,tax_rate:s.purchase_product.tax_rate,not_received_quantity:s.purchase_product.product_quantity-s.purchase_product.total_inbound_passed_quantity-s.purchase_product.total_inbound_pending_quantity,myId:l+1}));this.dataSource=[...this.dataSource,...o],this.pageInfo.total=r.data.inventory_products.total,r.data.inventory_products.current_page<r.data.inventory_products.last_page&&e(r.data.inventory_products.current_page+1)}catch(o){console.log(o)}this.loadingService.hideDialog()},r=>{console.log(r)});e()}changeDate(t){this.operate_time=this.datepipe.transform(t.target.value,"yyyy-MM-dd")}};Th.ctorParameters=()=>[{type:Qe.E},{type:rh.l},{type:iv.s},{type:It.gz},{type:Qe.E},{type:It.F0},{type:Bn.x},{type:vn.e},{type:St.uw},{type:We.ux},{type:Y.sK},{type:ne.I},{type:Q.uU},{type:V.qu}],Th.propDecorators={sort:[{type:m.i9L,args:[Ma.YE,{static:!0}]}],supplierSelection:[{type:m.i9L,args:[Dh]}],stepper:[{type:m.i9L,args:[Pk.ae,{static:!0}]}],commonForm:[{type:m.i9L,args:["commonForm",{static:!0}]}],currentId:[{type:m.IIB}]},Th=(0,j.gn)([(0,m.wA2)({selector:"app-purchase-and-sales-return-add",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <mat-horizontal-stepper linear id="stepper">\n <ng-template matStepperIcon="edit">\n <mat-icon>insert_drive_file</mat-icon>\n </ng-template>\n <ng-template matStepperIcon="done">\n <mat-icon>done_all</mat-icon>\n </ng-template>\n\n <mat-step label="Step 1" [completed]="completed">\n <ng-template matStepLabel>{{"Basic information"|translate}}</ng-template>\n <form [formGroup]="stockInForm">\n <div class="row" [ngClass]="{\'disabledClass\':id}">\n <app-stock-in-selection class="col-md-4" (stockInChange)="handleChange($event)" [required]="true"\n [selected_id]="g.parent_id.value" #stockInSelection>\n </app-stock-in-selection>\n </div>\n <div class="row" [ngClass]="{\'disabledClass\':inboundcheck}">\n <app-common-po-selection class="col-md-4" [required]="true" [showAll]="false" [selected_id]="g.po_id.value" #poSelection>\n </app-common-po-selection>\n <app-chain-selection class="col-md-4" [showAll]="false" [required]="true" [selected_id]="g.to_chain_id.value" #chainSelection>\n </app-chain-selection>\n <app-supplier-selection class="col-md-4" [required]="false" [selected_id]="g.supplier_id.value"\n #supplierSelection>\n </app-supplier-selection>\n </div>\n <div class="row">\n\n <mat-form-field class="col-md-4" appearance="outline">\n <mat-label>{{\'last-entry-date\' | translate}}</mat-label>\n <input matInput [matDatepicker]="dp" placeholder="{{\'last-entry-date\'|translate}}" id="operate_time"\n name="operate_time" (dateChange)="changeDate($event)" formControlName="operate_time"\n [value]="g.operate_time.value">\n <mat-datepicker-toggle matSuffix [for]="dp"></mat-datepicker-toggle>\n <mat-datepicker #dp></mat-datepicker>\n </mat-form-field>\n <div class="col-md-4">\n <app-common-status-selection [required]="true" [selected_id]="g.status.value" (statusChange)="changeStatus($event)" #statusSelection>\n </app-common-status-selection>\n </div>\n\n <mat-form-field class="col-md-4" appearance="outline">\n <mat-label>{{\'Notes\' | translate}}</mat-label>\n <input type="text" matInput placeholder="{{\'Notes\' | translate}}" id="remark" name="remark"\n formControlName="remark" />\n </mat-form-field>\n </div>\n\n\n </form>\n <button mat-button (click)="ngOnInit()" class="bg-light mr-2"> {{\'Reset\' |\n translate}}</button>\n <button mat-button (click)="next()" mat-button class="bg-primary text-white" color="primary">{{\'Next\' | translate}}</button>\n\n </mat-step>\n\n <mat-step #step2 label="Step 2">\n <ng-template matStepLabel>{{\'Products\' | translate}}</ng-template>\n <app-common-search-list-table [tableName]="tableName" [columns]="tableColumns" [dataSource]="dataSource" [isAutoPages]="true"\n [isShowAdd]="false" [isShowSearchBtn]="false" (onBtnClick)="handleBtnClick($event)" [pageInfo]="pageInfo"\n [uniqueTableKey]="componentName"></app-common-search-list-table>\n <div style="width: 100%;height: 100px;display: flex;justify-content: center;align-items: center;">\n <button mat-button matStepperPrevious\n style="background-color: #cacaca;color: black; margin-right: 1%;">\n <mat-icon>arrow_back</mat-icon>\n {{"common_previous"|translate }}\n </button>\n <button (click)="handleAddPurchase()" mat-raised-button type="submit"\n style="background-color: #a00000; margin-right: 10px;"> <i class="fa fa-check" aria-hidden="true"></i>\n {{\'common_confirm\' | translate}}\n </button>\n </div>\n\n\n\n </mat-step>\n\n </mat-horizontal-stepper>\n</div>\n',styles:[""]})],Th);let Ph=class{constructor(t,e,a,r,i){this.stockin=t,this.route=e,this.formBuilder=a,this.loadingService=r,this.datepipe=i,this.dataSource=new $e.by,this.displayedColumns=["product_name","product_description","product_price","product_barcode","product_quantity","tax_rate","category_id","actions"],this.dataFormSource1=[{type:"POList",key:"po_id",translateKey:"purchase_orderNumber",rules:[{required:!0,message:"purchase_orderNumber_required"}],isShowAll:!1},{type:"chainSelect",key:"chain_id",isShowAll:!1,rules:[]},{type:"dateTime",translateKey:"last-entry-date",key:"operate_time"},{type:"supplierSelect",key:"supplier_id",rules:[],isShowAll:!1},{type:"stockInSelect",translateKey:"Stock In",key:"stockIn_id",rules:[{required:!0,message:"purchase_orderNumber_required"}],isShowAll:!0},{type:"input",translateKey:"Notes",placeholder:"Notes",key:"remark"}],this.id=null,this.currentId=""}
1ngOnInit(){this.route.paramMap.subscribe(t=>{this.currentId=parseInt(t.get("id"))})}};Ph.ctorParameters=()=>[{type:iv.s},{type:It.gz},{type:V.qu},{type:Qe.E},{type:Q.uU}],Ph=(0,j.gn)([(0,m.wA2)({selector:"app-purchase-and-sales-return-edit",template:'<app-purchase-and-sales-return-add [currentId]="currentId"></app-purchase-and-sales-return-add>\n',providers:[Q.uU],styles:[""]})],Ph);var N$=F(65673);let pv=class{constructor(t,e,a,r,i,o,s){this.chainService=t,this.warehouseService=e,this.pagerService=a,this.ReturnInboundsService=r,this.translate=i,this.snackbar=o,this.route=s,this.cost_price=localStorage.getItem("cost_price"),this.page=1,this.day=0,this.month=(new Date).getMonth()+1,this.year=(new Date).getFullYear(),this.checked=!1,this.displayedColumns=[],this.dataSource=new $e.by,this.pager={},this.pager2={},this.filtred=!1,this._products=[]}ngOnInit(){this.filtred=!1,this.onGetWarehouseList(),this.onGetChainList()}onGetWarehouseList(){return this.warehouseService.getWarehouseList().subscribe(t=>{this.warehouse=t,this.warehouseData=this.warehouse.data},t=>{console.log(t)})}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data},t=>{console.log(t)})}setPage(t,e){this.pager=this.pagerService.getPager(this.prodLength,t),this.page=t,this.onGetProdsList(this.page,e)}onGetProdsList(t,e){return this.filtred=!0,this.warehouseService.getChainProdsList(this.page,e).subscribe(a=>{this.prods=a,this.prodLength=this.prods.total,this.prodsList=this.prods,this.prodLength=this.prodsList.data.total,this.prodsData=this.prodsList.data.data,this.dataSource.data=this.prodsData,this.pager=this.pagerService.getPager(this.prodLength,t)},a=>{console.log(a)})}changeQty(t,e,a,r){var i=0;if(0==this._products.length){var o={product_id:a,return_quantity:r};this._products.push(o)}else if(""===r)this._products.forEach((l,c)=>{l.product_id===a&&this._products.splice(c,1)});else if(this._products.forEach(l=>{l.product_id==a&&(i=1,l.return_quantity=r)}),0==i){var s={product_id:a,return_quantity:r};this._products.push(s)}}onDistribution(t,e){let a={return_type:"in",warehouse_id:e,chain_id:t,products:this._products};return this.ReturnInboundsService.addWarehouseReturn(a).subscribe(r=>{"success"==r.msg&&this.snackbar.open("Chinese"===this.translate.currentLang?"\u6210\u529f\u6dfb\u52a0":"Italian"===this.translate.currentLang?" Aggiunto con successo":"Added Successfully","OK",{duration:2e3}),this.route.navigate(["/wms/return-warehouse-in"])})}};pv.ctorParameters=()=>[{type:Oe.l},{type:rh.l},{type:Ms.e},{type:N$.y},{type:Y.sK},{type:We.ux},{type:It.F0}],pv=(0,j.gn)([(0,m.wA2)({selector:"app-add-return-warehouse",template:'\n<div class="chain_transfert">\n <div class="row table-invoice">\n <div class="col-sm-12">\n <div class="table-in-card">\n\n <form>\n\n <mat-form-field appearance="outline" style="width : 18% ; margin-right: 2%;">\n <mat-label>{{"Chain From"|translate}}</mat-label>\n <mat-select #from_chain (selectionChange)="onGetProdsList(1,from_chain.value);">\n <mat-option [value]=0>None</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n\n <mat-form-field appearance="outline" style="width : 18% ; margin-right: 2%;">\n <mat-label>{{"To Warehouse"|translate}}</mat-label>\n <mat-select #to_wh >\n <mat-option [value]=0>None</mat-option>\n <mat-option *ngFor="let wm of warehouseData" [value]="wm.id">{{wm.name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n\n\n\n\n <button class ="btn" type=\'button\'\n\n (click)="onDistribution(from_chain.value,to_wh.value)">\n\n {{\'Save\' | translate}}</button>\n\n </form>\n <br/>\n <hr>\n <br/>\n \x3c!-- <form>\n\n <mat-form-field appearance="outline" style="width : 18% ; margin-right:2% ;">\n <mat-label>{{\'Choose-Category\' | translate}} </mat-label>\n <mat-select #category_id>\n <mat-option [value]=0>None</mat-option>\n <mat-option *ngFor="let subcat of catList" [value]="subcat.id">\n\n <p *ngIf="translate.currentLang === \'English\'">{{subcat.category_name }}</p>\n <p *ngIf="translate.currentLang === \'Chinese\'">{{subcat.category_cn }}</p>\n <p *ngIf="translate.currentLang === \'Italian\'">{{subcat.category_it }}</p>\n <p *ngIf="translate.currentLang === \'Fran\xe7ais\'">{{subcat.category_fr }}</p>\n </mat-option>\n\n </mat-select>\n </mat-form-field>\n\n\n\n\n <mat-form-field appearance="outline" style="width : 18% ; margin-right:2% ;">\n <mat-label>{{\'Supplier\' | translate}}</mat-label>\n <mat-select #supplier_id>\n <mat-option [value]=0>None</mat-option>\n <mat-option *ngFor="let supp of suppliers" [value]="supp.id"> {{supp.supplier_name}}</mat-option>\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width : 18% ; margin-right:2% ;">\n <input matInput [placeholder]="\'Search-byBarcode\'| translate" #barcode>\n </mat-form-field>\n\n <button type=\'button\' style=" margin-left: 20%;"\n (click)="setPageFilter(1,\'\',\'\',\'\',from_wh.value);">\n <i class="fa fa-search" aria-hidden="true"></i>\n\n {{\'common_filter\' | translate}}</button>\n\n </form>\n <br/>\n\n <hr/> --\x3e\n <table class="table1">\n <thead>\n <tr>\n\n <th>{{"Name"|translate}} </th>\n <th>{{"Barcode"|translate}} </th>\n <th>{{"Stock Qty"|translate}}</th>\n <th>{{"Warn Qty"|translate}}</th>\n <th>{{"Distribution Qty"|translate}}</th>\n\n\n </tr>\n </thead>\n <tbody>\n <tr *ngFor="let prod of prodsData">\n\n\n\n <td>{{prod.product_name | slice:0:10}
1}</td>\n <td>\n {{prod.product_barcode}}\n </td>\n <td style="text-align: center;">\n {{prod.product_quantity}}\n\n </td>\n <td style="text-align: center; color: red;">\n {{prod.warn_quantity}}\n\n </td>\n <td>\n <mat-form-field appearance="outline" style="width :100%;\n padding: 0 !important;">\n <mat-icon matSuffix >edit</mat-icon>\n <input matInput #dist_quantity [value]="dist_quantity.value" (change)="changeQty(prod.product_name,prod.product_barcode,prod.id,dist_quantity.value)" >\n </mat-form-field>\n </td>\n\n\n\n\n </tr>\n </tbody>\n </table>\n\n </div>\n <br>\n <div class="pagination-in">\n\n <nav aria-label="Page navigation example" >\n <ul *ngIf="pager.pages && pager.pages.length" class="pagination justify-content-center pagination-sm">\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === 1}">\n <a class="page-link"\n (click)="setPage(1,from_chain.value) ">{{\'first\'|\n translate}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === 1}">\n <a class="page-link" (click)="setPage(pager.currentPage - 1,from_chain.value)">{{\'previous\'| translate}}</a>\n </li>\n <li class="page-item active" *ngFor="let page of pager.pages" [ngClass]="{active:pager.currentPage === page}">\n <a class="page-link" (click)="setPage(page,from_chain.value)">{{page}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === pager.totalPages}">\n <a class="page-link" (click)="setPage(pager.currentPage + 1,from_chain.value)">{{\'Next\'| translate}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === pager.totalPages}">\n <a class="page-link" (click)="setPage(pager.totalPages,from_chain.value)">{{\'last\'| translate}}</a>\n </li>\n </ul>\n </nav>\n\n\n </div>\n </div>\n\n </div>\n</div>\n\n',providers:[Q.uU],styles:[".chain_transfert {\n padding: 20px;\n}\n.chain_transfert .table-invoice .table-in-card {\n background: white;\n}
1\n.chain_transfert .table-invoice .table-in-card h3 {\n color: black;\n font-weight: bold;\n padding: 15px;\n}\n.chain_transfert .table-invoice .table-in-card .table thead tr th, .chain_transfert .table-invoice .table-in-card .table tbody tr td {\n vertical-align: middle;\n font-size: smaller;\n width: 8%;\n}\n.chain_transfert .table-invoice .table-in-card .table thead tr th {\n color: #999999;\n border-bottom: 0;\n}\n.chain_transfert .table-invoice .table-in-card .table tbody tr td:last-child a {\n color: #999999;\n}\n.chain_transfert .table-invoice .table-in-card button {\n width: 15%;\n padding: 14px 14px 9px 14px;\n border: 1px solid #b30000;\n background-color: #b30000;\n border-radius: 5px;\n color: white;\n font-size: 20px;\n margin-top: 0.5%;\n}\n.chain_transfert .table-invoice form {\n display: flex;\n}\n.page-item.active .page-link {\n z-index: 3;\n color: #fff;\n background-color: rgba(184, 33, 38, 0.986);\n border-color: rgba(184, 33, 38, 0.986);\n}\n.page-link {\n color: rgba(184, 33, 38, 0.986);\n}\n::ng-deep .mat-form-field-appearance-outline .mat-form-field-wrapper {\n padding: 0 !important;\n}\n.table1 {\n width: 100%;\n table-layout: fixed;\n}\n.table1 th,\n.table1 td {\n overflow: hidden;\n width: 8%;\n white-space: nowrap;\n border-bottom: 1px solid #d6d6d6;\n}\n.table1 th {\n text-align: center;\n}\n::-webkit-scrollbar {\n width: 5px;\n}\n/* Handle */\n::-webkit-scrollbar-thumb {\n background: #EEE !important;\n}"]})],pv);var nR=F(33325);let Ri=class{constructor(t,e){this.http=t,this.configService=e;let a=this.configService.getConfig();this.baseUrlS2C=`${a.baseUrlS2C}`}getDefaultParams(t=!1){const e=localStorage.getItem("store_id"),a=localStorage.getItem("chain_id"),r={};return e&&(r.store_id=e),!t&&a&&(r.chain_id=a),r}getOwnCategories(t){const e=t?.ignore_chain_id||!1,{ignore_chain_id:a,...r}=t||{},i={...this.getDefaultParams(e),...r};return this.http.get(`${this.baseUrlS2C}/v399/category/own`,{params:i})}getOwnCategoriesFlat(t){const e=t?.ignore_chain_id||!1,{ignore_chain_id:a,...r}=t||{},i={...this.getDefaultParams(e),...r};return this.http.get(`${this.baseUrlS2C}/v399/category/own/list`,{params:i})}getOwnCategoriesHierarchy(t){const e=t?.ignore_chain_id||!1,{ignore_chain_id:a,...r}=t||{},i={...this.getDefaultParams(e),...r};return this.http.get(`${this.baseUrlS2C}/v399/category/own/list2`,{params:i})}createOwnCategory(t,e){const a=localStorage.getItem("store_id"),r=localStorage.getItem("chain_id"),i=e?.ignore_chain_id||!1;return a&&!t.has?.("store_id")&&t.append("store_id",a),!i&&r&&!t.has?.("chain_id")&&t.append("chain_id",r),this.http.post(`${this.baseUrlS2C}/v399/category/own`,t)}updateOwnCategory(t,e,a){const r=localStorage.getItem("store_id"),i=localStorage.getItem("chain_id"),o=a?.ignore_chain_id||!1;return r&&!e.has?.("store_id")&&e.append("store_id",r),!o&&i&&!e.has?.("chain_id")&&e.append("chain_id",i),this.http.post(`${this.baseUrlS2C}/v399/category/own/category_id/${t}`,e)}deleteOwnCategory(t,e){const a=e?.ignore_chain_id||!1,{ignore_chain_id:r,...i}=e||{},o={...this.getDefaultParams(a),...i};return this.http.delete(`${this.baseUrlS2C}/v399/category/own/category_id/${t}`,{params:o})}getLatestPresentId(t){const e={...this.getDefaultParams(),...t||{}};return this.http.get(`${this.baseUrlS2C}/v399/category/own/latest-present-id`,{params:e})}updateCategoryOrder(t,e,a){const r={category_orders:t},i=localStorage.getItem("chain_id");return r.chain_id=e??i??r.chain_id,a&&(r.parent_category_id=a),this.http.post(`${this.baseUrlS2C}/v399/category/own/order`,r)}updateCategoryOrderCross(t,e){const a={category_orders:t},r=localStorage.getItem("chain_id");return a.chain_id=e??r??a.chain_id,this.http.post(`${this.baseUrlS2C}/v399/category/own/updateCategoryOrder`,a)}getSystemCategories(t){const e=t?.ignore_chain_id||!1,{ignore_chain_id:a,...r}=t||{},i={...this.getDefaultParams(e),...r};return this.http.post(`${this.baseUrlS2C}/v399/category/system/list`,i)}relateSystemCategories(t,e){const a=e?.ignore_chain_id||!1,{ignore_chain_id:r,...i}=e||{},s={category_ids:t,...{...this.getDefaultParams(a),...i}};return this.http.post(`${this.baseUrlS2C}/v399/category/relate`,s)}detachSystemCategories(t,e){const a=e?.ignore_chain_id||!1,{ignore_chain_id:r,...i}=e||{},s={category_ids:t,...{...this.getDefaultParams(a),...i}};return this.http.post(`${this.baseUrlS2C}/v399/category/detach`,s)}relateSystemCategoryCountryRate(t,e){const a=this.getDefaultParams();return this.http.post(`${this.baseUrlS2C}/v399/category/countryRate/relate`,{category_id:t,country_rate_ids:e,...a})}};Ri.ctorParameters=()=>[{type:Nt.eN},{type:Yn.E}],Ri=(0,j.gn)([(0,m.GSi)({providedIn:"root"})],Ri);var Zc=F(57851),hv=F(35423);let mv=class{constructor(t,e,a,r,i){this.storeCategoriesService=t,this.translate=e,this.router=a,this.message=r,this.dialogService=i,this.isLoading=!1,this.treeControl=new Zc.VY(o=>o.sub_categories),this.dataSource=new hv.WX,this.hasChild=(o,s)=>!!s.sub_categories&&s.sub_categories.length>0}ngOnInit(){this.loadCategories()}getApiParams(){const t=localStorage.getItem("store_id"),e=localStorage.getItem("chain_id"),a={};return t&&(a.store_id=t),e&&(a.chain_id=e),a}loadCategories(){this.isLoading=!0,this.storeCategoriesService.getOwnCategoriesHierarchy(this.getApiParams()).subscribe(t=>{this.isLoading=!1;const e=this.normalizeCategories(t.data||[]);this.dataSource.data=e},t=>{this.isLoading=!1,console.error(t)})}
1normalizeCategories(t){return t?(t.forEach(e=>{e.subCategories&&(!e.sub_categories||0===e.sub_categories.length)&&(e.sub_categories=e.subCategories),e.sub_categories&&e.sub_categories.length>0&&this.normalizeCategories(e.sub_categories)}),t):[]}buildTree(t){const e=new Map,a=[];return t.forEach(r=>{r.sub_categories=[],e.set(String(r.id),r)}),t.forEach(r=>{const i=r.parent_category_id?String(r.parent_category_id):null;if(i&&e.has(i)){const o=e.get(i);o.sub_categories.some(s=>s.id===r.id)||o.sub_categories.push(r)}else a.push(r)}),a}addCategory(){this.router.navigate(["/shop/store-categories/add"])}goToSystemCategories(){this.router.navigate(["/shop/store-categories/system"])}goToChainCategories(){this.router.navigate(["/shop/store-categories/chain"])}editCategory(t){this.router.navigate(["/shop/store-categories/edit",t.id])}deleteCategory(t){this.dialogService.confirmDialog({title:this.translate.instant("common_delete_title"),message:this.translate.instant("common_delete_message")}).subscribe(e=>{e&&this.storeCategoriesService.deleteOwnCategory(t.id).subscribe(()=>{this.message.success(this.translate.instant("common_delete_success")),this.loadCategories()})})}};mv.ctorParameters=()=>[{type:Ri},{type:Y.sK},{type:It.F0},{type:ne.I},{type:Bn.x}],mv=(0,j.gn)([(0,m.wA2)({selector:"app-store-categories-list",template:'<div class="container-fluid">\n <div class="row">\n <div class="col-12">\n <div class="card">\n <div class="card-header d-flex justify-content-between align-items-center">\n <h4 class="card-title">{{ \'nav_productMgmt_categoryMgmt\' | translate }}</h4>\n <div>\n \n <button class="btn btn-warning mr-2" (click)="goToChainCategories()">\n {{ \'nav_productMgmt_storeCategory_chain\' | translate }}\n </button>\n <button class="btn btn-primary" (click)="addCategory()">\n <i class="fa fa-plus"></i> {{ \'common_add\' | translate }}\n </button>\n </div>\n </div>\n <div class="card-body">\n <mat-tree [dataSource]="dataSource" [treeControl]="treeControl" class="mat-tree">\n \x3c!-- This is the tree node template for leaf nodes --\x3e\n <mat-tree-node *matTreeNodeDef="let node" matTreeNodeToggle>\n <div class="mat-tree-node-content d-flex justify-content-between w-100 align-items-center">\n <span>{{ node.category_name }}</span>\n <div class="actions">\n <button class="btn btn-sm btn-info mr-1" (click)="editCategory(node)">\n <i class="fa fa-edit"></i>\n </button>\n <button class="btn btn-sm btn-danger" (click)="deleteCategory(node)">\n <i class="fa fa-trash"></i>\n </button>\n </div>\n </div>\n </mat-tree-node>\n \x3c!-- This is the tree node template for expandable nodes --\x3e\n <mat-nested-tree-node *matTreeNodeDef="let node; when: hasChild">\n <div class="mat-tree-node-content d-flex justify-content-between w-100 align-items-center">\n <div class="d-flex align-items-center">\n <button mat-icon-button matTreeNodeToggle\n [attr.aria-label]="\'Toggle \' + node.category_name">\n <mat-icon class="mat-icon-rtl-mirror">\n {{treeControl.isExpanded(node) ? \'expand_more\' : \'chevron_right\'}}\n </mat-icon>\n </button>\n <span>{{ node.category_name }}</span>\n </div>\n <div class="actions">\n <button class="btn btn-sm btn-info mr-1" (click)="editCategory(node)">\n <i class="fa fa-edit"></i>\n </button>\n <button class="btn btn-sm btn-danger" (click)="deleteCategory(node)">\n <i class="fa fa-trash"></i>\n </button>\n </div>\n </div>\n <div [class.example-tree-invisible]="!treeControl.isExpanded(node)"\n role="group">\n <ng-container matTreeNodeOutlet></ng-container>\n </div>\n </mat-nested-tree-node>\n </mat-tree>\n\n <div *ngIf="isLoading" class="text-center mt-3">\n <div class="spinner-border text-primary" role="status">
1\n <span class="sr-only">Loading...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n',styles:[".mat-tree {\n background: transparent;\n}\n\n.mat-tree-node {\n min-height: 48px;\n border-bottom: 1px solid #eee;\n}\n\n.mat-nested-tree-node {\n padding-left: 0;\n}\n\n.mat-tree-node button {\n margin-right: 8px;\n}\n\n.example-tree-invisible {\n display: none;\n}\n\n.mat-nested-tree-node ul, .mat-tree ul {\n padding-left: 40px;\n}\n\n.mat-nested-tree-node .mat-nested-tree-node {\n margin-left: 24px;\n}"]})],mv);let fv=class{constructor(t,e,a,r,i,o){this.fb=t,this.storeCategoriesService=e,this.router=a,this.route=r,this.translate=i,this.message=o,this.parentCategories=[],this.isLoading=!1,this.ignoreChain=!1}ngOnInit(){this.initForm(),this.ignoreChain="1"===this.route.snapshot.queryParamMap.get("ignore_chain_id"),this.loadParentCategories()}initForm(){this.addForm=this.fb.group({category_name:["",V.kI.required],parent_category_id:[null],allow_points:[0],taxe:[0],category_order:[0],is_quick:[0]})}loadParentCategories(){const t=this.ignoreChain?{ignore_chain_id:!0}:void 0;this.storeCategoriesService.getOwnCategoriesFlat(t).subscribe(e=>{const a=e.data||[];this.parentCategories=this.buildTree(a)})}onFileSelected(t){t.target.files.length>0&&(this.selectedImage=t.target.files[0])}onSubmit(){if(this.addForm.invalid)return;this.isLoading=!0;const t=new FormData;Object.keys(this.addForm.value).forEach(a=>{null!==this.addForm.value[a]&&t.append(a,this.addForm.value[a])}),this.selectedImage&&t.append("image",this.selectedImage);const e=this.ignoreChain?{ignore_chain_id:!0}:void 0;this.storeCategoriesService.createOwnCategory(t,e).subscribe(()=>{this.message.success(this.translate.instant("common_add_success")),this.isLoading=!1,this.router.navigate([this.ignoreChain?"/shop/store-categories/chain":"/shop/store-categories"])},a=>{this.isLoading=!1,console.error(a)})}onCancel(){this.router.navigate([this.ignoreChain?"/shop/store-categories/chain":"/shop/store-categories"])}buildTree(t){const e=new Map,a=[];return t.forEach(r=>{r.sub_categories=[],e.set(String(r.id),r)}),t.forEach(r=>{const i=r.parent_category_id?String(r.parent_category_id):null;if(i&&e.has(i)){const o=e.get(i);o.sub_categories.some(s=>s.id===r.id)||o.sub_categories.push(r)}else a.push(r)}),a}};fv.ctorParameters=()=>[{type:V.qu},{type:Ri},{type:It.F0},{type:It.gz},{type:Y.sK},{type:ne.I}],fv=(0,j.gn)([(0,m.wA2)({selector:"app-store-categories-add",template:'<div class="container-fluid">\n <div class="row">\n <div class="col-12">\n <div class="card">\n <div class="card-header">\n <h4 class="card-title">{{ \'common_add\' | translate }}</h4>\n </div>\n <div class="card-body">\n <form [formGroup]="addForm" (ngSubmit)="onSubmit()">\n \n <div class="form-group">\n <label>{{ \'category_name\' | translate }}</label>\n <input type="text" class="form-control" formControlName="category_name">\n <div *ngIf="addForm.get(\'category_name\').invalid && addForm.get(\'category_name\').touched" class="text-danger">\n {{ \'common_required\' | translate }}\n </div>\n </div>\n\n <div class="form-group">\n <label>{{ \'parent_category\' | translate }}</label>\n <select class="form-control" formControlName="parent_category_id">\n <option [ngValue]="null">{{ \'common_select\' | translate }}</option>\n <option *ngFor="let cat of parentCategories" [ngValue]="cat.id">\n {{ cat.category_name }}\n </option>\n </select>\n </div>\n\n <div class="form-group">\n <label>{{ \'common_image\' | translate }}</label>\n <input type="file" class="form-control" (change)="onFileSelected($event)" accept="image/*">\n </div>\n\n <div class="form-group">\n <label>{{ \'common_taxRate\' | translate }} (%)</label>\n <input type="number" class="form-control" formControlName="taxe">\n </div>\n\n <div class="form-group">\n <label>{{ \'common_sort\' | translate }}</label>\n <input type="number" class="form-control" formControlName="category_order">\n </div>\n\n <div class="form-group form-check">\n <input type="checkbox" class="form-check-input" formControlName="allow_points" id="allowPoints">\n <label class="form-check-label" for="allowPoints">{{ \'allow_points\' | translate }}</label>\n </div>\n\n <div class="mt-3">\n <button type="submit" class="btn btn-primary mr-2" [disabled]="isLoading">{{ \'common_save\' | translate }}</button>\n <button type="button" class="btn btn-secondary" (click)="onCancel()">{{ \'common_cancel\' | translate }}</button>\n </div>\n\n </form>\n </div>\n </div>\n </div>\n </div>\n</div>\n',styles:[""]})],fv);let gv=class{constructor(t,e,a,r,i,o){this.fb=t,this.storeCategoriesService=e,this.router=a,this.route=r,this.translate=i,this.message=o,this.parentCategories=[],this.isLoading=!1}
1ngOnInit(){this.categoryId=+this.route.snapshot.paramMap.get("id"),this.initForm(),this.loadParentCategories(),this.loadCategoryDetails()}initForm(){this.editForm=this.fb.group({category_name:["",V.kI.required],parent_category_id:[null],allow_points:[0],taxe:[0],category_order:[0],is_quick:[0]})}loadParentCategories(){this.storeCategoriesService.getOwnCategoriesFlat().subscribe(t=>{const e=t.data||[];this.parentCategories=this.buildTree(e)})}loadCategoryDetails(){this.storeCategoriesService.getOwnCategoriesFlat().subscribe(t=>{const a=(t.data||[]).find(r=>r.id==this.categoryId);a&&(this.editForm.patchValue({category_name:a.category_name,parent_category_id:a.parent_category_id,allow_points:a.allow_points,taxe:a.taxe,category_order:a.category_order,is_quick:a.is_quick}),this.currentImage=a.image)})}onFileSelected(t){t.target.files.length>0&&(this.selectedImage=t.target.files[0])}onSubmit(){if(this.editForm.invalid)return;this.isLoading=!0;const t=new FormData;Object.keys(this.editForm.value).forEach(e=>{null!==this.editForm.value[e]&&t.append(e,this.editForm.value[e])}),this.selectedImage&&t.append("image",this.selectedImage),this.storeCategoriesService.updateOwnCategory(this.categoryId,t).subscribe(()=>{this.message.success(this.translate.instant("common_update_success")),this.isLoading=!1,this.router.navigate(["/shop/store-categories"])},e=>{this.isLoading=!1,console.error(e)})}onCancel(){this.router.navigate(["/shop/store-categories"])}buildTree(t){const e=new Map,a=[];return t.forEach(r=>{r.sub_categories=[],e.set(String(r.id),r)}),t.forEach(r=>{const i=r.parent_category_id?String(r.parent_category_id):null;if(i&&e.has(i)){const o=e.get(i);o.sub_categories.some(s=>s.id===r.id)||o.sub_categories.push(r)}else a.push(r)}),a}};gv.ctorParameters=()=>[{type:V.qu},{type:Ri},{type:It.F0},{type:It.gz},{type:Y.sK},{type:ne.I}],gv=(0,j.gn)([(0,m.wA2)({selector:"app-store-categories-edit",template:'<div class="container-fluid">\n <div class="row">\n <div class="col-12">\n <div class="card">\n <div class="card-header">\n <h4 class="card-title">{{ \'common_edit\' | translate }}</h4>\n </div>\n <div class="card-body">\n <form [formGroup]="editForm" (ngSubmit)="onSubmit()">\n \n <div class="form-group">\n <label>{{ \'category_name\' | translate }}</label>\n <input type="text" class="form-control" formControlName="category_name">\n <div *ngIf="editForm.get(\'category_name\').invalid && editForm.get(\'category_name\').touched" class="text-danger">\n {{ \'common_required\' | translate }}\n </div>\n </div>\n\n <div class="form-group">\n <label>{{ \'parent_category\' | translate }}</label>\n <select class="form-control" formControlName="parent_category_id">\n <option [ngValue]="null">{{ \'common_select\' | translate }}</option>\n <option *ngFor="let cat of parentCategories" [ngValue]="cat.id">\n {{ cat.category_name }}\n </option>\n </select>\n </div>\n\n <div class="form-group">\n <label>{{ \'common_image\' | translate }}</label>\n <div *ngIf="currentImage" class="mb-2">\n <img [src]="currentImage" alt="Category Image" style="max-height: 100px;">\n </div>\n <input type="file" class="form-control" (change)="onFileSelected($event)" accept="image/*">\n </div>\n\n <div class="form-group">\n <label>{{ \'common_taxRate\' | translate }} (%)</label>\n <input type="number" class="form-control" formControlName="taxe">\n </div>\n\n <div class="form-group">\n <label>{{ \'common_sort\' | translate }}</label>\n <input type="number" class="form-control" formControlName="category_order">\n </div>\n\n <div class="form-group form-check">\n <input type="checkbox" class="form-check-input" formControlName="allow_points" id="allowPoints">\n <label class="form-check-label" for="allowPoints">{{ \'allow_points\' | translate }}</label>\n </div>\n\n <div class="mt-3">\n <button type="submit" class="btn btn-primary mr-2" [disabled]="isLoading">{{ \'common_save\' | translate }}</button>\n <button type="button" class="btn btn-secondary" (click)="onCancel()">{{ \'common_cancel\' | translate }}</button>\n </div>\n\n </form>\n </div>\n </div>\n </div>\n </div>\n</div>\n',styles:[""]})],gv);let vv=class{constructor(t,e,a,r){this.storeCategoriesService=t,this.message=e,this.translate=a,this.location=r,this.categories=[],this.isLoading=!1,this.treeControl=new Zc.VY(i=>i.sub_categories),this.dataSource=new hv.WX,this.checklistSelection=new ll.Ov(!0),this.hasChild=(i,o)=>!!o.sub_categories&&o.sub_categories.length>0}ngOnInit(){this.loadSystemCategories()}getApiParams(){const t=localStorage.getItem("store_id"),e=localStorage.getItem("chain_id"),a={};return t&&(a.store_id=t),e&&(a.chain_id=e),a}goBack(){this.location.back()}loadSystemCategories(){this.isLoading=!0,this.storeCategoriesService.getSystemCategories(this.getApiParams()).subscribe(t=>{this.isLoading=!1;const e=this.normalizeCategories(t.data||[]);this.dataSource.data=this.buildTree(e)},t=>{this.isLoading=!1,console.error(t)})}
1normalizeCategories(t){return t?(t.forEach(e=>{e.subCategories&&(!e.sub_categories||0===e.sub_categories.length)&&(e.sub_categories=e.subCategories),e.sub_categories&&e.sub_categories.length>0&&this.normalizeCategories(e.sub_categories)}),t):[]}buildTree(t){const e=new Map,a=[];return t.forEach(r=>{r.subCategories&&(!r.sub_categories||0===r.sub_categories.length)&&(r.sub_categories=r.subCategories),r.sub_categories||(r.sub_categories=[]),e.set(String(r.id),r)}),t.forEach(r=>{const i=r.parent_category_id?String(r.parent_category_id):null;if(i&&e.has(i)){const o=e.get(i);o.sub_categories.some(s=>s.id==r.id)||o.sub_categories.push(r)}else a.push(r)}),a}toggleRelation(t){1===t.is_related?this.detachCategory(t):this.relateCategory(t)}relateCategory(t){this.isLoading=!0,this.storeCategoriesService.relateSystemCategories([t.id],this.getApiParams()).subscribe(()=>{this.isLoading=!1,t.is_related=1,this.message.success(this.translate.instant("common_operate_success"))},e=>{this.isLoading=!1,console.error(e)})}descendantsAllSelected(t){const e=this.treeControl.getDescendants(t);return e.length>0&&e.every(r=>this.checklistSelection.isSelected(r))}descendantsPartiallySelected(t){return this.treeControl.getDescendants(t).some(r=>this.checklistSelection.isSelected(r))&&!this.descendantsAllSelected(t)}todoItemSelectionToggle(t){this.checklistSelection.toggle(t);const e=this.treeControl.getDescendants(t);this.checklistSelection.isSelected(t)?this.checklistSelection.select(...e):this.checklistSelection.deselect(...e)}batchAssociate(){const t=this.checklistSelection.selected;if(0===t.length)return void this.message.warning(this.translate.instant("common_select_at_least_one")||"Please select at least one item");const e=t.filter(a=>1!==a.is_related&&a.id).map(a=>a.id);0!==e.length?(this.isLoading=!0,this.storeCategoriesService.relateSystemCategories(e,this.getApiParams()).subscribe(()=>{this.isLoading=!1,t.forEach(a=>{e.includes(a.id)&&(a.is_related=1)}),this.checklistSelection.clear(),this.message.success(this.translate.instant("common_operate_success"))},a=>{this.isLoading=!1,console.error(a)})):this.message.warning(this.translate.instant("common_no_action_needed")||"No new items to associate")}detachCategory(t){this.isLoading=!0,this.storeCategoriesService.detachSystemCategories([t.id],this.getApiParams()).subscribe(()=>{this.isLoading=!1,t.is_related=0,this.message.success(this.translate.instant("common_operate_success"))},e=>{this.isLoading=!1,console.error(e)})}};vv.ctorParameters=()=>[{type:Ri},{type:ne.I},{type:Y.sK},{type:Q.Ye}],vv=(0,j.gn)([(0,m.wA2)({selector:"app-store-categories-system",template:'<div class="page-container">\n <div class="page-header d-flex align-items-center justify-content-between">\n <div class="d-flex align-items-center">\n <button mat-icon-button (click)="goBack()" class="mr-2">\n <mat-icon>arrow_back</mat-icon>\n </button>\n <h2 class="page-title mb-0">{{ \'nav_productMgmt_storeCategory_system\' | translate }}</h2>\n </div>\n <div>\n <button mat-raised-button color="primary" (click)="batchAssociate()" [disabled]="checklistSelection.isEmpty()">\n {{ \'associate_batch\' | translate }}\n </button>\n </div>\n </div>\n\n <div class="page-content">\n <div class="loading-container" *ngIf="isLoading">\n <mat-spinner diameter="40"></mat-spinner>\n </div>\n\n <mat-tree [dataSource]="dataSource" [treeControl]="treeControl" class="mat-tree" *ngIf="!isLoading">\n \x3c!-- Leaf node --\x3e\n <mat-tree-node *matTreeNodeDef="let node" matTreeNodeToggle>\n <div class="mat-tree-node-content d-flex justify-content-between w-100 align-items-center">\n <div class="d-flex align-items-center">\n \x3c!-- Add padding for leaf nodes to align with expandable nodes --\x3e\n <button mat-icon-button disabled></button>\n <mat-checkbox class="checklist-leaf-node mr-2"\n [checked]="checklistSelection.isSelected(node)"\n (change)="checklistSelection.toggle(node)"></mat-checkbox>
1\n <span>{{ node.category_name }}</span>\n <span class="status-badge ml-2" [class.active]="node.is_related === 1">\n {{ (node.is_related === 1 ? \'associated\' : \'not_associated\') | translate }}\n </span>\n </div>\n <div class="actions">\n <button mat-button color="primary" *ngIf="node.is_related !== 1" (click)="relateCategory(node)">\n {{ \'associate\' | translate }}\n </button>\n <button mat-button color="warn" *ngIf="node.is_related === 1" (click)="detachCategory(node)">\n {{ \'detach\' | translate }}\n </button>\n </div>\n </div>\n </mat-tree-node>\n\n \x3c!-- Expandable node --\x3e\n <mat-nested-tree-node *matTreeNodeDef="let node; when: hasChild">\n <div class="mat-tree-node-content d-flex justify-content-between w-100 align-items-center">\n <div class="d-flex align-items-center">\n <button mat-icon-button matTreeNodeToggle [attr.aria-label]="\'Toggle \' + node.category_name">\n <mat-icon class="mat-icon-rtl-mirror">\n {{treeControl.isExpanded(node) ? \'expand_more\' : \'chevron_right\'}}\n </mat-icon>\n </button>\n <mat-checkbox class="checklist-leaf-node mr-2"\n [checked]="descendantsAllSelected(node)"\n [indeterminate]="descendantsPartiallySelected(node)"\n (change)="todoItemSelectionToggle(node)"></mat-checkbox>\n <span>{{ node.category_name }}</span>\n <span class="status-badge ml-2" [class.active]="node.is_related === 1">\n {{ (node.is_related === 1 ? \'associated\' : \'not_associated\') | translate }}\n </span>\n </div>\n <div class="actions">\n <button mat-button color="primary" *ngIf="node.is_related !== 1" (click)="relateCategory(node)">\n {{ \'associate\' | translate }}\n </button>\n <button mat-button color="warn" *ngIf="node.is_related === 1" (click)="detachCategory(node)">\n {{ \'detach\' | translate }}\n </button>\n </div>\n </div>\n <div [class.example-tree-invisible]="!treeControl.isExpanded(node)" role="group">\n <ng-container matTreeNodeOutlet></ng-container>\n </div>\n </mat-nested-tree-node>\n </mat-tree>\n\n <div class="no-data" *ngIf="!isLoading && (!dataSource.data || dataSource.data.length === 0)">\n {{ \'common_no_data\' | translate }}\n </div>\n </div>\n</div>\n',styles:[".page-container {\n padding: 20px;\n}\n\n.page-header {\n margin-bottom: 20px;\n}\n\n.page-title {\n font-size: 24px;\n font-weight: 500;\n margin: 0;\n}\n\n.loading-container {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 200px;\n}\n\n.mat-tree {\n background: transparent;\n}\n\n.mat-tree-node,\n.mat-nested-tree-node > .mat-tree-node-content {\n min-height: 48px;\n border-bottom: 1px solid #eee;\n padding-right: 16px;\n}\n\n.mat-nested-tree-node {\n padding-left: 0;\n}\n\n.mat-tree-node button,\n.mat-nested-tree-node button {\n margin-right: 8px;\n}\n\n.status-badge {\n padding: 4px 8px;\n border-radius: 4px;\n background-color: #f5f5f5;\n color: #666;\n font-size: 12px;\n}\n\n.status-badge.active {\n background-color: #e6f7ff;\n color: #1890ff;\n}\n\n.example-tree-invisible {\n display: none;\n}\n\n.mat-nested-tree-node ul, .mat-tree ul {\n padding-left: 40px;\n}\n\n/* Adjust nested padding */\n\n.mat-nested-tree-node .mat-nested-tree-node {\n margin-left: 24px;\n}\n\n.no-data {\n text-align: center;\n padding: 40px;\n color: #999;\n}"]})],vv);let Av=class{constructor(t,e,a,r,i){this.storeCategoriesService=t,this.message=e,this.translate=a,this.location=r,this.router=i,this.categories=[],this.isLoading=!1,this.treeControl=new Zc.VY(o=>o.sub_categories),this.dataSource=new hv.WX,this.hasChild=(o,s)=>!!s.sub_categories&&s.sub_categories.length>0}ngOnInit(){this.loadChainCategories()}getApiParams(){const t=localStorage.getItem("store_id"),e={};return t&&(e.store_id=t),e}loadChainCategories(){this.isLoading=!0;const t={...this.getApiParams(),ignore_chain_id:!0};this.storeCategoriesService.getOwnCategoriesHierarchy(t).subscribe(e=>{this.isLoading=!1,this.dataSource.data=e.data||[]},e=>{this.isLoading=!1,console.error(e)})}buildTree(t){const e=new Map,a=[];return t.forEach(r=>{r.sub_categories=[],e.set(String(r.id),r)}),t.forEach(r=>{const i=r.parent_category_id?String(r.parent_category_id):null;if(i&&e.has(i)){const o=e.get(i);o.sub_categories.some(s=>s.id==r.id)||o.sub_categories.push(r)}else a.push(r)}),a}goBack(){this.location.back()}goToSystemCategories(){this.router.navigate(["/shop/chain-categories/system"])}goToAddChainCategory(){this.router.navigate(["/shop/store-categories/add"],{queryParams:{ignore_chain_id:1}})}toggleRelation(t){1===t.is_related?this.detachCategory(t):this.relateCategory(t)}relateCategory(t){this.isLoading=!0,this.storeCategoriesService.relateSystemCategories([t.id],this.getApiParams()).subscribe(()=>{this.isLoading=!1,t.is_related=1,this.message.success(this.translate.instant("common_operate_success"))},e=>{this.isLoading=!1,console.error(e)})}detachCategory(t){this.isLoading=!0,this.storeCategoriesService.detachSystemCategories([t.id],this.getApiParams()).subscribe(()=>{this.isLoading=!1,t.is_related=0,this.message.success(this.translate.instant("common_operate_success"))},e=>{this.isLoading=!1,console.error(e)})}};Av.ctorParameters=()=>[{type:Ri},{type:ne.I},{type:Y.sK},{type:Q.Ye},{type:It.F0}],Av=(0,j.gn)([(0,m.wA2)({selector:"app-store-categories-chain",template:'<div class="store-categories-chain-container">\n <div class="header-actions">\n <button mat-icon-button (click)="goBack()">\n <mat-icon>arrow_back</mat-icon>\n </button>\n <h2 class="mr-3">{{ \'nav_productMgmt_storeCategory_chain\' | translate }}</h2>\n <button class="btn btn-info mr-2" (click)="goToSystemCategories()">\n {{ \'nav_productMgmt_storeCategory_system\' | translate }}\n </button>\n <button class="btn btn-primary" (click)="goToAddChainCategory()">\n {{ \'common_add\' | translate }}\n </button>\n </div>\n \n <div class="tree-container" *ngIf="!isLoading">\n <mat-tree [dataSource]="dataSource" [treeControl]="treeControl" class="category-tree">\n <mat-tree-node *matTreeNodeDef="let node" matTreeNodeToggle>\n <div class="tree-node-content">\n <button mat-icon-button disabled></button>
1\n <span class="node-name">{{ node.category_name }}</span>\n <div class="node-actions">\n <mat-slide-toggle\n [checked]="node.is_related === 1"\n (change)="toggleRelation(node)"\n color="primary">\n {{ (node.is_related === 1 ? \'associated\' : \'common_associate\') | translate }}\n </mat-slide-toggle>\n </div>\n </div>\n </mat-tree-node>\n \n <mat-nested-tree-node *matTreeNodeDef="let node; when: hasChild">\n <div class="mat-tree-node">\n <button mat-icon-button matTreeNodeToggle [attr.aria-label]="\'Toggle \' + node.category_name">\n <mat-icon class="mat-icon-rtl-mirror">\n {{treeControl.isExpanded(node) ? \'expand_more\' : \'chevron_right\'}}\n </mat-icon>\n </button>\n <span class="node-name">{{ node.category_name }}</span>\n <div class="node-actions">\n <mat-slide-toggle\n [checked]="node.is_related === 1"\n (change)="toggleRelation(node)"\n color="primary">\n {{ (node.is_related === 1 ? \'associated\' : \'common_associate\') | translate }}\n </mat-slide-toggle>\n </div>\n </div>\n <div [class.category-tree-invisible]="!treeControl.isExpanded(node)" role="group">\n <ng-container matTreeNodeOutlet></ng-container>\n </div>\n </mat-nested-tree-node>\n </mat-tree>\n </div>\n \n <div class="loading-spinner" *ngIf="isLoading">\n <mat-spinner diameter="40"></mat-spinner>\n </div>\n \n <div class="no-data" *ngIf="!isLoading && dataSource.data.length === 0">\n {{ \'common_no_data\' | translate }}\n </div>\n </div>\n',styles:[".store-categories-chain-container {\n padding: 20px;\n}\n.store-categories-chain-container .header-actions {\n display: flex;\n align-items: center;\n margin-bottom: 20px;\n}\n.store-categories-chain-container .header-actions h2 {\n margin: 0 0 0 10px;\n}\n.store-categories-chain-container .tree-container {\n background: #fff;\n padding: 20px;\n border-radius: 4px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n.store-categories-chain-container .category-tree .mat-tree-node, .store-categories-chain-container .category-tree .tree-node-content {\n display: flex;\n align-items: center;\n min-height: 48px;\n flex: 1;\n}\n.store-categories-chain-container .category-tree .mat-tree-node .node-name, .store-categories-chain-container .category-tree .tree-node-content .node-name {\n flex: 1;\n margin-left: 8px;\n}\n.store-categories-chain-container .category-tree .mat-tree-node .node-actions, .store-categories-chain-container .category-tree .tree-node-content .node-actions {\n display: flex;\n align-items: center;\n gap: 10px;\n margin-right: 20px;\n}\n.store-categories-chain-container .category-tree .category-tree-invisible {\n display: none;\n}\n.store-categories-chain-container .category-tree ul, .store-categories-chain-container .category-tree li {\n margin-top: 0;\n margin-bottom: 0;\n list-style-type: none;\n}\n.store-categories-chain-container .loading-spinner {\n display: flex;\n justify-content: center;\n padding: 40px;\n}\n.store-categories-chain-container .no-data {\n text-align: center;\n padding: 40px;\n color: #666;\n}"]})],Av);let yv=class{constructor(t,e,a,r,i){this.storeCategoriesService=t,this.translate=e,this.router=a,this.message=r,this.dialogService=i,this.isLoading=!1,this.treeControl=new Zc.VY(o=>o.sub_categories||o.subCategories),this.dataSource=new hv.WX,this.hasChild=(o,s)=>!!s.sub_categories&&s.sub_categories.length>0}ngOnInit(){this.loadCategories()}getApiParams(){const t=localStorage.getItem("store_id"),e={ignore_chain_id:!0};return t&&(e.store_id=t),e}loadCategories(){this.isLoading=!0,this.storeCategoriesService.getOwnCategoriesHierarchy(this.getApiParams()).subscribe(t=>{this.isLoading=!1,this.dataSource.data=t.data||[]},t=>{this.isLoading=!1,console.error(t)})}buildTree(t){const e=new Map,a=[];return t.forEach(r=>{r.sub_categories=[],e.set(String(r.id),r)}),t.forEach(r=>{const i=r.parent_category_id?String(r.parent_category_id):null;if(i&&e.has(i)){const o=e.get(i);o.sub_categories.some(s=>s.id===r.id)||o.sub_categories.push(r)}else a.push(r)}),a}goToSystemCategories(){this.router.navigate(["/shop/chain-categories/system"])}deleteCategory(t){this.dialogService.confirmDialog({title:this.translate.instant("common_delete_title"),message:this.translate.instant("common_delete_message")}).subscribe(e=>
1{e&&this.storeCategoriesService.deleteOwnCategory(t.id,this.getApiParams()).subscribe(()=>{this.message.success(this.translate.instant("common_delete_success")),this.loadCategories()})})}};yv.ctorParameters=()=>[{type:Ri},{type:Y.sK},{type:It.F0},{type:ne.I},{type:Bn.x}],yv=(0,j.gn)([(0,m.wA2)({selector:"app-chain-categories-list",template:'<div class="container-fluid">\n <div class="row">\n <div class="col-12">\n <div class="card">\n <div class="card-header d-flex justify-content-between align-items-center">\n <h4 class="card-title">{{ \'nav_productMgmt_categoryMgmt\' | translate }} (Chain)</h4>\n \n </div>\n <div class="card-body">\n <mat-tree [dataSource]="dataSource" [treeControl]="treeControl" class="mat-tree">\n \x3c!-- This is the tree node template for leaf nodes --\x3e\n <mat-tree-node *matTreeNodeDef="let node" matTreeNodeToggle>\n <div class="mat-tree-node-content d-flex justify-content-between w-100 align-items-center">\n <span>{{ node.category_name }}</span>\n <div class="actions">\n <button class="btn btn-sm btn-primary mr-2" (click)="goToSystemCategories()">\n {{ \'common_associate\' | translate }}\n </button>\n <button class="btn btn-sm btn-danger" (click)="deleteCategory(node)">\n <i class="fa fa-trash"></i>\n </button>\n </div>\n </div>\n </mat-tree-node>\n \x3c!-- This is the tree node template for expandable nodes --\x3e\n <mat-nested-tree-node *matTreeNodeDef="let node; when: hasChild">\n <div class="mat-tree-node-content d-flex justify-content-between w-100 align-items-center">\n <div class="d-flex align-items-center">\n <button mat-icon-button matTreeNodeToggle\n [attr.aria-label]="\'Toggle \' + node.category_name">\n <mat-icon class="mat-icon-rtl-mirror">\n {{treeControl.isExpanded(node) ? \'expand_more\' : \'chevron_right\'}}\n </mat-icon>\n </button>\n <span>{{ node.category_name }}</span>\n </div>\n <div class="actions">\n <button class="btn btn-sm btn-primary mr-2" (click)="goToSystemCategories()">\n {{ \'common_associate\' | translate }}\n </button>\n <button class="btn btn-sm btn-danger" (click)="deleteCategory(node)">\n <i class="fa fa-trash"></i>\n </button>\n </div>\n </div>\n <div [class.example-tree-invisible]="!treeControl.isExpanded(node)"\n role="group">\n <ng-container matTreeNodeOutlet></ng-container>\n </div>\n </mat-nested-tree-node>\n </mat-tree>\n\n <div *ngIf="isLoading" class="text-center mt-3">\n <div class="spinner-border text-primary" role="status">\n <span class="sr-only">Loading...</span>\n </div>\n </div>\n \n <div class="no-data" *ngIf="!isLoading && (!dataSource.data || dataSource.data.length === 0)">\n {{ \'common_no_data\' | translate }}\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n',styles:[".mat-tree {\n background: transparent;\n}\n\n.mat-tree-node,\n.mat-nested-tree-node {\n font-size: 14px;\n}\n\n.mat-tree-node-content {\n padding: 8px 0;\n border-bottom: 1px solid #eee;\n}\n\n.actions {\n opacity: 0;\n transition: opacity 0.2s;\n}\n\n.mat-tree-node:hover .actions,\n.mat-nested-tree-node:hover .actions {\n opacity: 1;\n}\n\n.example-tree-invisible {\n display: none;\n}\n\n.mat-tree-node-content {\n min-height: 48px;\n}"]})],yv);let bv=class{constructor(t,e,a,r){this.storeCategoriesService=t,this.message=e,this.translate=a,this.location=r,this.categories=[],this.isLoading=!1,this.treeControl=new Zc.VY(i=>i.sub_categories),this.dataSource=new hv.WX,this.checklistSelection=new ll.Ov(!0),this.hasChild=(i,o)=>!!o.sub_categories&&o.sub_categories.length>0}ngOnInit(){this.loadSystemCategories()}getApiParams(){const t=localStorage.getItem("store_id"),e={ignore_chain_id:!0};return t&&(e.store_id=t),e}goBack(){this.location.back()}loadSystemCategories(){this.isLoading=!0,this.storeCategoriesService.getSystemCategories(this.getApiParams()).subscribe(t=>{this.isLoading=!1;const e=this.normalizeCategories(t.data||[]);this.dataSource.data=this.buildTree(e)},t=>{this.isLoading=!1,console.error(t)})}
1normalizeCategories(t){return t?(t.forEach(e=>{e.subCategories&&(!e.sub_categories||0===e.sub_categories.length)&&(e.sub_categories=e.subCategories),e.sub_categories&&e.sub_categories.length>0&&this.normalizeCategories(e.sub_categories)}),t):[]}buildTree(t){const e=new Map,a=[];return t.forEach(r=>{r.subCategories&&(!r.sub_categories||0===r.sub_categories.length)&&(r.sub_categories=r.subCategories),r.sub_categories||(r.sub_categories=[]),e.set(String(r.id),r)}),t.forEach(r=>{const i=r.parent_category_id?String(r.parent_category_id):null;if(i&&e.has(i)){const o=e.get(i);o.sub_categories.some(s=>s.id==r.id)||o.sub_categories.push(r)}else a.push(r)}),a}toggleRelation(t){1===t.is_related?this.detachCategory(t):this.relateCategory(t)}relateCategory(t){this.isLoading=!0,this.storeCategoriesService.relateSystemCategories([t.id],this.getApiParams()).subscribe(()=>{this.isLoading=!1,t.is_related=1,this.message.success(this.translate.instant("common_operate_success"))},e=>{this.isLoading=!1,console.error(e)})}descendantsAllSelected(t){const e=this.treeControl.getDescendants(t);return e.length>0&&e.every(r=>this.checklistSelection.isSelected(r))}descendantsPartiallySelected(t){return this.treeControl.getDescendants(t).some(r=>this.checklistSelection.isSelected(r))&&!this.descendantsAllSelected(t)}todoItemSelectionToggle(t){this.checklistSelection.toggle(t);const e=this.treeControl.getDescendants(t);this.checklistSelection.isSelected(t)?this.checklistSelection.select(...e):this.checklistSelection.deselect(...e)}batchAssociate(){const t=this.checklistSelection.selected;if(0===t.length)return void this.message.warning(this.translate.instant("common_select_at_least_one")||"Please select at least one item");const e=t.filter(a=>1!==a.is_related&&a.id).map(a=>a.id);0!==e.length?(this.isLoading=!0,this.storeCategoriesService.relateSystemCategories(e,this.getApiParams()).subscribe(()=>{this.isLoading=!1,t.forEach(a=>{e.includes(a.id)&&(a.is_related=1)}),this.checklistSelection.clear(),this.message.success(this.translate.instant("common_operate_success"))},a=>{this.isLoading=!1,console.error(a)})):this.message.warning(this.translate.instant("common_no_action_needed")||"No new items to associate")}detachCategory(t){this.isLoading=!0,this.storeCategoriesService.detachSystemCategories([t.id],this.getApiParams()).subscribe(()=>{this.isLoading=!1,t.is_related=0,this.message.success(this.translate.instant("common_operate_success"))},e=>{this.isLoading=!1,console.error(e)})}};bv.ctorParameters=()=>[{type:Ri},{type:ne.I},{type:Y.sK},{type:Q.Ye}],bv=(0,j.gn)([(0,m.wA2)({selector:"app-chain-categories-system",template:'<div class="page-container">\n <div class="page-header d-flex align-items-center justify-content-between">\n <div class="d-flex align-items-center">\n <button mat-icon-button (click)="goBack()" class="mr-2">\n <mat-icon>arrow_back</mat-icon>\n </button>\n <h2 class="page-title mb-0">{{ \'nav_productMgmt_storeCategory_system\' | translate }}</h2>\n </div>\n <div>\n <button mat-raised-button color="primary" (click)="batchAssociate()" [disabled]="checklistSelection.isEmpty()">\n {{ \'associate_batch\' | translate }}\n </button>\n </div>\n </div>\n\n <div class="page-content">\n <div class="loading-container" *ngIf="isLoading">\n <mat-spinner diameter="40"></mat-spinner>\n </div>\n\n <mat-tree [dataSource]="dataSource" [treeControl]="treeControl" class="mat-tree" *ngIf="!isLoading">\n \x3c!-- Leaf node --\x3e\n <mat-tree-node *matTreeNodeDef="let node" matTreeNodeToggle>\n <div class="mat-tree-node-content d-flex justify-content-between w-100 align-items-center">\n <div class="d-flex align-items-center">\n \x3c!-- Add padding for leaf nodes to align with expandable nodes --\x3e\n <button mat-icon-button disabled></button>\n <mat-checkbox class="checklist-leaf-node mr-2"\n [checked]="checklistSelection.isSelected(node)"\n (change)="checklistSelection.toggle(node)"></mat-checkbox>
1\n <span>{{ node.category_name }}</span>\n <span class="status-badge ml-2" [class.active]="node.is_related === 1">\n {{ (node.is_related === 1 ? \'associated\' : \'not_associated\') | translate }}\n </span>\n </div>\n <div class="actions">\n <button mat-button color="primary" *ngIf="node.is_related !== 1" (click)="relateCategory(node)">\n {{ \'associate\' | translate }}\n </button>\n <button mat-button color="warn" *ngIf="node.is_related === 1" (click)="detachCategory(node)">\n {{ \'detach\' | translate }}\n </button>\n </div>\n </div>\n </mat-tree-node>\n\n \x3c!-- Expandable node --\x3e\n <mat-nested-tree-node *matTreeNodeDef="let node; when: hasChild">\n <div class="mat-tree-node-content d-flex justify-content-between w-100 align-items-center">\n <div class="d-flex align-items-center">\n <button mat-icon-button matTreeNodeToggle [attr.aria-label]="\'Toggle \' + node.category_name">\n <mat-icon class="mat-icon-rtl-mirror">\n {{treeControl.isExpanded(node) ? \'expand_more\' : \'chevron_right\'}}\n </mat-icon>\n </button>\n <mat-checkbox class="checklist-leaf-node mr-2"\n [checked]="descendantsAllSelected(node)"\n [indeterminate]="descendantsPartiallySelected(node)"\n (change)="todoItemSelectionToggle(node)"></mat-checkbox>\n <span>{{ node.category_name }}</span>\n <span class="status-badge ml-2" [class.active]="node.is_related === 1">\n {{ (node.is_related === 1 ? \'associated\' : \'not_associated\') | translate }}\n </span>\n </div>\n <div class="actions">\n <button mat-button color="primary" *ngIf="node.is_related !== 1" (click)="relateCategory(node)">\n {{ \'associate\' | translate }}\n </button>\n <button mat-button color="warn" *ngIf="node.is_related === 1" (click)="detachCategory(node)">\n {{ \'detach\' | translate }}\n </button>\n </div>\n </div>\n <div [class.example-tree-invisible]="!treeControl.isExpanded(node)" role="group">\n <ng-container matTreeNodeOutlet></ng-container>\n </div>\n </mat-nested-tree-node>\n </mat-tree>\n\n <div class="no-data" *ngIf="!isLoading && (!dataSource.data || dataSource.data.length === 0)">\n {{ \'common_no_data\' | translate }}\n </div>\n </div>\n</div>\n',styles:[".page-container {\n padding: 24px;\n}\n\n.page-header {\n margin-bottom: 24px;\n}\n\n.page-title {\n font-size: 24px;\n font-weight: 500;\n color: #333;\n}\n\n.page-content {\n background: #fff;\n border-radius: 4px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n padding: 24px;\n min-height: 400px;\n}\n\n.loading-container {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 200px;\n}\n\n.mat-tree {\n background: transparent;\n}\n\n.mat-tree-node,\n.mat-nested-tree-node {\n font-size: 14px;\n}\n\n.mat-tree-node-content {\n padding: 8px 0;\n border-bottom: 1px solid #eee;\n min-height: 48px;\n}\n\n.status-badge {\n font-size: 12px;\n padding: 2px 8px;\n border-radius: 10px;\n background-color: #f5f5f5;\n color: #999;\n}\n\n.status-badge.active {\n background-color: #e6f7ff;\n color: #1890ff;\n}\n\n.actions {\n display: flex;\n gap: 8px;\n}\n\n.example-tree-invisible {\n display: none;\n}\n\n.no-data {\n text-align: center;\n padding: 40px;\n color: #999;\n}"]})],bv);var aR=F(14405);let _v=class{constructor(t,e,a){this.WareHouseService=t,this.InventoryServicesService=e,this.dialog=a}ngOnInit(){this.onGetWarehouseList(),this.onGetInventoryTaskList()}onGetWarehouseList(){return this.WareHouseService.getWarehouseList().subscribe(t=>{this.warehousesList=t,this.warehousesData=this.warehousesList.data},t=>{console.log(t)})}onGetInventoryTaskList(){return this.InventoryServicesService.getPendingInventoryTaskList("pending").subscribe(e=>{this.inventoryTask=e,this.inventoryTaskListData=this.inventoryTask.data},e=>{console.log(e)})}Filter(t,e,a){let r={warehouse_id:t,inventory_task_id:e,inventory_type:a};this.dialog.close(r)}cancel(){this.dialog.close()}};_v.ctorParameters=()=>[{type:rh.l},{type:aR.m},{type:St.so}],_v=(0,j.gn)([(0,m.wA2)({selector:"app-filter-physical-inventory",template:'<span style=" margin-left: 98%;\ncursor: pointer;\nmargin-bottom: 20px;" (click)="cancel()">\n <img src="../../../../assets/images/close.svg">\n</span>\n<div style=" display: flex;\nalign-items: center;\njustify-content: space-between;">\n <mat-form-field appearance="outline" style="width : 30% ; margin-right:2% ;">\n <mat-label> {{\'Warehouse\'| translate}}</mat-label>\n <mat-select #warehouse_id >\n <mat-option *ngFor="let warehouse of warehousesData" [value]="warehouse.id">{{warehouse.name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width : 30% ; margin-right:2% ;">\n <mat-label> {{\'Inventory Task\'| translate}}</mat-label>\n <mat-select #inventory_task_id >
1\n <mat-option value="0"> {{\'none\'| translate}}</mat-option>\n <mat-option *ngFor="let task of inventoryTaskListData" [value]="task.id">{{task.task_name}}</mat-option>\n </mat-select>\n </mat-form-field>\n\n\n <mat-form-field appearance="outline" style="width : 30% ; margin-right:2% ;">\n <mat-label> {{\'Inventory type\'| translate}}</mat-label>\n <mat-select #inventory_type >\n\n <mat-option [value]="1" > {{\'daily inventory\'| translate}}</mat-option>\n <mat-option [value]="2" > {{\'task inventory\'| translate}} </mat-option>\n </mat-select>\n </mat-form-field>\n <div style=" width: 30%;\n display: flex;\n justify-content: center;\n align-items: center;">\n <div class="bt-date-submit" (click)="Filter(warehouse_id.value,inventory_task_id.value,inventory_type.value)"><i class="fas fa-search"></i></div>\n</div>\n</div>\n',styles:[".bt-date-submit {\n color: white;\n padding: 10px;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n margin-bottom: 30px;\n}"]})],_v);var rR=F(46993);var ttt=F(630);let xv=class{constructor(t,e,a){this.router=t,this.StockInboundService=e,this.ReasonsService=a,this.loading=!1,t.params.subscribe(r=>{this.currentId=r.id})}ngOnInit(){this.onGetInboundById()}onGetInboundById(){return this.loading=!0,this.StockInboundService.getStockInById(this.currentId).subscribe(t=>{this.inbound=t,this.inboundData=this.inbound.data,this.inboundDataProduct=this.inbound.data.inventory_products,console.log(this.inboundDataProduct),this.loading=!1},t=>{console.log(t),this.loading=!1})}};xv.ctorParameters=()=>[{type:It.gz},{type:iv.s},{type:ttt.Z}],xv=(0,j.gn)([(0,m.wA2)({selector:"app-details-inbound",template:'<div class="container p-3 mb-5 mt-5 bg-white rounded">\n <h4 class="font-weight-bold mb-4 " style ="color: #a00000;">{{"Details"|translate}}\n </h4>\n <div>\n <div class="my-2" id="content">\n <div class="row">\n <div class="col-12">\n <div class="card border-0 ">\n <div class="card-body p-0 border-0 ">\n <div class="row p-2">\n <div class="col-md-6">\n <p class="mb-1 text-capitalize "> \n <span class="border-0 text-uppercase small font-weight-bold">{{"Number"|translate}} :</span>\n <span>{{inboundData.batch_number}} </span> \n </p>\n <p class="mb-1 text-capitalize "> \n <span class="border-0 text-uppercase small font-weight-bold">{{"Chain"|translate}}</span>\n <span>{{inboundData.chain.chain_name}} </span> </p>\n <p class="mb-1 text-capitalize "> \n <span class="border-0 text-uppercase small font-weight-bold">{{"Responsable First name"|translate}} : </span>\n <span>{{inboundData.chain.first_responsible_name}} </span> </p>\n </div>\n <div class="col-md-6">\n <p class="mb-1 text-capitalize "> \n \n </p>\n <p class="mb-1 text-capitalize "> <span\n class="border-0 text-uppercase small font-weight-bold">{{"Reason"|translate}} :\n </span><span>{{inboundData.reason.reason}} </span> </p>\n <p class="mb-1 text-capitalize "> <span\n class="border-0 text-uppercase small font-weight-bold">{{"Description"|translate}} :\n </span><span>{{inboundData.remark}} </span> </p>\n </div>\n\n <div class="col-md-12">\n <p class="mb-1 text-capitalize "> <span\n class="border-0 text-uppercase small font-weight-bold"> {{"Products"|translate}} </span>\n </p>\n <table class="table table-bordered" >\n <tr>\n <th> {{\'Product-Name\' | translate}}</th>\n <th>{{\'Barcode\' | translate}} </th>\n <th> {{"Cost Price"|translate}} </th>\n \x3c!-- <th> {{"min price"|translate}} </th> --\x3e\n <th> {{"taxe_rate"|translate}}</th>\n <th> {{"Product-Quantity" | translate}}</th>\n </tr>\n <tr *ngFor="let prod_item of inboundDataProduct">\n <td>\n {{prod_item.product.product_name}}\n </td>\n <td>\n {{prod_item.product.product_barcode}}\n </td>\n <td>\n {{prod_item.product.cost_price}}\n </td>\n \x3c!-- <td>\n {{prod_item.min_price}}\n </td> --\x3e\n <td>\n {{prod_item.product.tax_rate}}\n </td>\n <td>\n {{prod_item.product_quantity}}\n </td>\n </tr>\n </table>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n \x3c!-- <app-loading-dialog *ngIf="loading"></app-loading-dialog> --\x3e\n</div>\n',styles:['@charset "UTF-8";\n@media print {\n @page {\n size: A4;\n margin: 0;\n }\n body {\n width: 21cm;\n /* \u6839\u636e\u9700\u6c42\u81ea\u5b9a\u4e49\u5177\u4f53\u6570\u503c */\n padding: 0;\n margin: 0 auto;\n word-wrap: break-all;\n }\n\n p {\n font-size: 13px !important;\n }\n\n #content {\n position: fixed;\n top: 0;\n left: 0;\n padding: 0.5cm 0.2cm;\n width: 100%;\n margin: auto;\n }\n #content > .card {\n display: flex;\n justify-content: stretch;
1\n align-items: flex-start;\n }\n}']})],xv);var Lk=function(n,t){return(Lk=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,a){e.__proto__=a}||function(e,a){for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])})(n,t)};function pt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=n}Lk(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}Object.create;Object.create;var itt=function n(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},cl=new function n(){this.browser=new itt,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(cl.wxa=!0,cl.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?cl.worker=!0:!cl.hasGlobalWindow||"Deno"in window?(cl.node=!0,cl.svgSupported=!0):function stt(n,t){var e=t.browser,a=n.match(/Firefox\/([\d.]+)/),r=n.match(/MSIE\s([\d.]+)/)||n.match(/Trident\/.+?rv:(([\d.]+))/),i=n.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(n);a&&(e.firefox=!0,e.version=a[1]),r&&(e.ie=!0,e.version=r[1]),i&&(e.edge=!0,e.version=i[1],e.newEdge=+i[1].split(".")[0]>18),o&&(e.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,t.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(e.ie&&"transition"in s||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||e.ie&&+e.version>=9}(navigator.userAgent,cl);const we=cl;var lR="sans-serif",dl="12px "+lR;var ptt=function utt(n){var t={};if(typeof JSON>"u")return t;for(var e=0;e<n.length;e++){var a=String.fromCharCode(e+32),r=(n.charCodeAt(e)-20)/100;t[a]=r}return t}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),ei={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var n,t;return function(e,a){if(!n){var r=ei.createCanvas();n=r&&r.getContext("2d")}if(n)return t!==a&&(t=n.font=a||dl),n.measureText(e);e=e||"",a=a||dl;var i=/((?:\d+)?\.?\d*)px/.exec(a),o=i&&+i[1]||12,s=0;if(a.indexOf("mono")>=0)s=o*e.length;else for(var l=0;l<e.length;l++){var c=ptt[e[l]];s+=null==c?o:c*o}return{width:s}}}(),loadImage:function(n,t,e){var a=new Image;return a.onload=t,a.onerror=e,a.src=n,a}};var cR=Li(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(n,t){return n["[object "+t+"]"]=!0,n},{}),dR=Li(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(n,t){return n["[object "+t+"Array]"]=!0,n},{}),Ih=Object.prototype.toString,A0=Array.prototype,htt=A0.forEach,mtt=A0.filter,Uk=A0.slice,ftt=A0.map,uR=function(){}.constructor,y0=uR?uR.prototype:null,Fk="__proto__",gtt=2311;function pR(){return gtt++}function Vk(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];typeof console<"u"&&console.error.apply(console,n)}function Yt(n){if(null==n||"object"!=typeof n)return n;var t=n,e=Ih.call(n);if("[object Array]"===e){if(!wv(n)){t=[];for(var a=0,r=n.length;a<r;a++)t[a]=Yt(n[a])}}else if(dR[e]){if(!wv(n)){var i=n.constructor;if(i.from)t=i.from(n);else{t=new i(n.length);for(a=0,r=n.length;a<r;a++)t[a]=n[a]}}}else if(!cR[e]&&!wv(n)&&!Mh(n))for(var o in t={},n)n.hasOwnProperty(o)&&o!==Fk&&(t[o]=Yt(n[o]));return t}function le(n,t,e){if(!Xt(t)||!Xt(n))return e?Yt(t):n;for(var a in t)if(t.hasOwnProperty(a)&&a!==Fk){var r=n[a],i=t[a];!Xt(i)||!Xt(r)||vt(i)||vt(r)||Mh(i)||Mh(r)||hR(i)||hR(r)||wv(i)||wv(r)?(e||!(a in n))&&(n[a]=Yt(t[a])):le(r,i,e)}return n}function zk(n,t){for(var e=n[0],a=1,r=n.length;a<r;a++)e=le(e,n[a],t);return e}function ft(n,t){if(Object.assign)Object.assign(n,t);else for(var e in t)t.hasOwnProperty(e)&&e!==Fk&&(n[e]=t[e]);return n}function Kt(n,t,e){for(var a=ve(t),r=0,i=a.length;r<i;r++){var o=a[r];
vendor: 4,441 bytes, line 1
1(e?null!=t[o]:null==n[o])&&(n[o]=t[o])}return n}ei.createCanvas;function pe(n,t){if(n){if(n.indexOf)return n.indexOf(t);for(var e=0,a=n.length;e<a;e++)if(n[e]===t)return e}return-1}function Mn(n,t,e){if(n="prototype"in n?n.prototype:n,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var a=Object.getOwnPropertyNames(t),r=0;r<a.length;r++){var i=a[r];"constructor"!==i&&(e?null!=t[i]:null==n[i])&&(n[i]=t[i])}else Kt(n,t,e)}function _a(n){return!(!n||"string"==typeof n)&&"number"==typeof n.length}function q(n,t,e){if(n&&t)if(n.forEach&&n.forEach===htt)n.forEach(t,e);else if(n.length===+n.length)for(var a=0,r=n.length;a<r;a++)t.call(e,n[a],a,n);else for(var i in n)n.hasOwnProperty(i)&&t.call(e,n[i],i,n)}function At(n,t,e){if(!n)return[];if(!t)return qk(n);if(n.map&&n.map===ftt)return n.map(t,e);for(var a=[],r=0,i=n.length;r<i;r++)a.push(t.call(e,n[r],r,n));return a}function Li(n,t,e,a){if(n&&t){for(var r=0,i=n.length;r<i;r++)e=t.call(a,e,n[r],r,n);return e}}function Ne(n,t,e){if(!n)return[];if(!t)return qk(n);if(n.filter&&n.filter===mtt)return n.filter(t,e);for(var a=[],r=0,i=n.length;r<i;r++)t.call(e,n[r],r,n)&&a.push(n[r]);return a}function ve(n){if(!n)return[];if(Object.keys)return Object.keys(n);var t=[];for(var e in n)n.hasOwnProperty(e)&&t.push(e);return t}var Ut=y0&&jt(y0.bind)?y0.call.bind(y0.bind):function ytt(n,t){for(var e=[],a=2;a<arguments.length;a++)e[a-2]=arguments[a];return function(){return n.apply(t,e.concat(Uk.call(arguments)))}};function se(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return function(){return n.apply(this,t.concat(Uk.call(arguments)))}}function vt(n){return Array.isArray?Array.isArray(n):"[object Array]"===Ih.call(n)}function jt(n){return"function"==typeof n}function Lt(n){return"string"==typeof n}function Ek(n){return"[object String]"===Ih.call(n)}function ke(n){return"number"==typeof n}function Xt(n){var t=typeof n;return"function"===t||!!n&&"object"===t}function hR(n){return!!cR[Ih.call(n)]}function Xa(n){return!!dR[Ih.call(n)]}function Mh(n){return"object"==typeof n&&"number"==typeof n.nodeType&&"object"==typeof n.ownerDocument}function b0(n){return null!=n.colorStops}function Sv(n){return n!=n}function $n(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];for(var e=0,a=n.length;e<a;e++)if(null!=n[e])return n[e]}function ie(n,t){return n??t}function Ni(n,t,e){return n??t??e}function qk(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return Uk.apply(n,t)}function Hk(n){if("number"==typeof n)return[n,n,n,n];var t=n.length;return 2===t?[n[0],n[1],n[0],n[1]]:3===t?[n[0],n[1],n[2],n[1]]:n}function Oa(n,t){if(!n)throw new Error(t)}function ni(n){return null==n?null:"function"==typeof n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var mR="__ec_primitive__";function _0(n){n[mR]=!0}function wv(n){return n[mR]}var xtt=function(){function n(){this.data={}}return n.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},n.prototype.has=function(t){return this.data.hasOwnProperty(t)},n.prototype.get=function(t){return this.data[t]},n.prototype.set=function(t,e){return this.data[t]=e,this},n.prototype.keys=function(){return ve(this.data)},n.prototype.forEach=function(t){var e=this.data;for(var a in e)e.hasOwnProperty(a)&&t(e[a],a)},n}(),fR="function"==typeof Map;var wtt=function(){function n(t){var e=vt(t);this.data=function Stt(){return fR?new Map:new xtt}();var a=this;function r(i,o){e?a.set(i,o):a.set(o,i)}t instanceof n?t.each(r):t&&q(t,r)}return n.prototype.hasKey=function(t){return this.data.has(t)},n.prototype.get=function(t){return this.data.get(t)},n.prototype.set=function(t,e){return this.data.set(t,e),e},n.prototype.each=function(t,e){this.data.forEach(function(a,r){t.call(e,a,r)})},n.prototype.keys=function(){var t=this.data.keys();return fR?Array.from(t):t},n.prototype.removeKey=function(t){this.data.delete(t)},n}();function Et(n){return new wtt(n)}function kv(n,t){for(var e=new n.constructor(n.length+t.length),a=0;a<n.length;a++)e[a]=n[a];var r=n.length;for(a=0;a<t.length;a++)e[a+r]=t[a];return e}function x0(n,t){var e;if(Object.create)e=Object.create(n);else{var a=function(){};a.prototype=n,e=new a}return t&&ft(e,t),e}function gR(n){var t=n.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function Vt(n,t){return n.hasOwnProperty(t)}function Tn(){}
vendor: 5,310 bytes, line 1
1var S0=180/Math.PI,Bk=function(n,t){return(Bk=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,a){e.__proto__=a}||function(e,a){for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])})(n,t)};function cn(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=n}Bk(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}Object.create;Object.create;function Xc(n,t){return null==n&&(n=0),null==t&&(t=0),[n,t]}function Ra(n,t){return n[0]=t[0],n[1]=t[1],n}function Ko(n){return[n[0],n[1]]}function Dtt(n,t,e){return n[0]=t,n[1]=e,n}function bR(n,t,e){return n[0]=t[0]+e[0],n[1]=t[1]+e[1],n}function jk(n,t,e,a){return n[0]=t[0]+e[0]*a,n[1]=t[1]+e[1]*a,n}function Yc(n,t,e){return n[0]=t[0]-e[0],n[1]=t[1]-e[1],n}function Gk(n){return Math.sqrt(function Ttt(n){return n[0]*n[0]+n[1]*n[1]}(n))}function k0(n,t,e){return n[0]=t[0]*e,n[1]=t[1]*e,n}function Oh(n,t){var e=Gk(t);return 0===e?(n[0]=0,n[1]=0):(n[0]=t[0]/e,n[1]=t[1]/e),n}function Kk(n,t){return Math.sqrt((n[0]-t[0])*(n[0]-t[0])+(n[1]-t[1])*(n[1]-t[1]))}var ul=Kk;var Qc=function Ptt(n,t){return(n[0]-t[0])*(n[0]-t[0])+(n[1]-t[1])*(n[1]-t[1])};function C0(n,t,e,a){return n[0]=t[0]+a*(e[0]-t[0]),n[1]=t[1]+a*(e[1]-t[1]),n}function sa(n,t,e){var a=t[0],r=t[1];return n[0]=e[0]*a+e[2]*r+e[4],n[1]=e[1]*a+e[3]*r+e[5],n}function pl(n,t,e){return n[0]=Math.min(t[0],e[0]),n[1]=Math.min(t[1],e[1]),n}function hl(n,t,e){return n[0]=Math.max(t[0],e[0]),n[1]=Math.max(t[1],e[1]),n}var Rh=function n(t,e){this.target=t,this.topTarget=e&&e.topTarget},Itt=function(){function n(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return n.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Rh(e,t),"dragstart",t.event))},n.prototype._drag=function(t){var e=this._draggingTarget;if(e){var a=t.offsetX,r=t.offsetY,i=a-this._x,o=r-this._y;this._x=a,this._y=r,e.drift(i,o,t),this.handler.dispatchToElement(new Rh(e,t),"drag",t.event);var s=this.handler.findHover(a,r,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.handler.dispatchToElement(new Rh(l,t),"dragleave",t.event),s&&s!==l&&this.handler.dispatchToElement(new Rh(s,t),"dragenter",t.event))}},n.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new Rh(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Rh(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},n}();const Mtt=Itt;var Ott=function(){function n(t){t&&(this._$eventProcessor=t)}return n.prototype.on=function(t,e,a,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof e&&(r=a,a=e,e=null),!a||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),i[t]||(i[t]=[]);for(var s=0;s<i[t].length;s++)if(i[t][s].h===a)return this;var l={h:a,query:e,ctx:r||this,callAtLast:a.zrEventfulCallAtLast},c=i[t].length-1,d=i[t][c];return d&&d.callAtLast?i[t].splice(c,0,l):i[t].push(l),this},n.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},n.prototype.off=function(t,e){var a=this._$handlers;if(!a)return this;if(!t)return this._$handlers={},this;if(e){if(a[t]){for(var r=[],i=0,o=a[t].length;i<o;i++)a[t][i].h!==e&&r.push(a[t][i]);a[t]=r}a[t]&&0===a[t].length&&delete a[t]}else delete a[t];return this},n.prototype.trigger=function(t){for(var e=[],a=1;a<arguments.length;a++)e[a-1]=arguments[a];if(!this._$handlers)return this;var r=this._$handlers[t],i=this._$eventProcessor;if(r)for(var o=e.length,s=r.length,l=0;l<s;l++){var c=r[l];if(!i||!i.filter||null==c.query||i.filter(t,c.query))switch(o){case 0:c.h.call(c.ctx);break;case 1:c.h.call(c.ctx,e[0]);break;case 2:c.h.call(c.ctx,e[0],e[1]);break;default:c.h.apply(c.ctx,e)}}return i&&i.afterTrigger&&i.afterTrigger(t),this},n.prototype.triggerWithContext=function(t){for(var e=[],a=1;a<arguments.length;a++)e[a-1]=arguments[a];if(!this._$handlers)return this;var r=this._$handlers[t],i=this._$eventProcessor;if(r)for(var o=e.length,s=e[o-1],l=r.length,c=0;c<l;c++){var d=r[c];if(!i||!i.filter||null==d.query||i.filter(t,d.query))switch(o){case 0:d.h.call(s);break;case 1:d.h.call(s,e[0]);break;case 2:d.h.call(s,e[0],e[1]);break;default:d.h.apply(s,e.slice(1,o-1))}}return i&&i.afterTrigger&&i.afterTrigger(t),this},n}();const Cr=Ott;var Rtt=Math.log(2);function Wk(n,t,e,a,r,i){var o=a+"-"+r,s=n.length;if(i.hasOwnProperty(o))return i[o];if(1===t){var l=Math.round(Math.log((1<<s)-1&~r)/Rtt);return n[e][l]}for(var c=a|1<<e,d=e+1;a&1<<d;)d++;for(var u=0,h=0,f=0;h<s;h++){var v=1<<h;v&r||(u+=(f%2?-1:1)*n[e][h]*Wk(n,t-1,d,c,r|v,i),f++)}return i[o]=u,u}function _R(n,t){var e=[[n[0],n[1],1,0,0,0,-t[0]*n[0],-t[0]*n[1]],[0,0,0,n[0],n[1],1,-t[1]*n[0],-t[1]*n[1]],[n[2],n[3],1,0,0,0,-t[2]*n[2],-t[2]*n[3]],[0,0,0,n[2],n[3],1,-t[3]*n[2],-t[3]*n[3]],[n[4],n[5],1,0,0,0,-t[4]*n[4],-t[4]*n[5]],[0,0,0,n[4],n[5],1,-t[5]*n[4],-t[5]*n[5]],[n[6],n[7],1,0,0,0,-t[6]*n[6],-t[6]*n[7]],[0,0,0,n[
vendor: 15,808 bytes, line 1
16],n[7],1,-t[7]*n[6],-t[7]*n[7]]],a={},r=Wk(e,8,0,0,0,a);if(0!==r){for(var i=[],o=0;o<8;o++)for(var s=0;s<8;s++)null==i[s]&&(i[s]=0),i[s]+=((o+s)%2?-1:1)*Wk(e,7,0===o?1:0,1<<o,1<<s,a)/r*t[o];return function(l,c,d){var u=c*i[6]+d*i[7]+1;l[0]=(c*i[0]+d*i[1]+i[2])/u,l[1]=(c*i[3]+d*i[4]+i[5])/u}}}var xR="___zrEVENTSAVED",Jk=[];function Zk(n,t,e,a,r){if(t.getBoundingClientRect&&we.domSupported&&!SR(t)){var i=t[xR]||(t[xR]={}),o=function Ntt(n,t){var e=t.markers;if(e)return e;e=t.markers=[];for(var a=["left","right"],r=["top","bottom"],i=0;i<4;i++){var o=document.createElement("div"),l=i%2,c=(i>>1)%2;o.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[l]+":0",r[c]+":0",a[1-l]+":auto",r[1-c]+":auto",""].join("!important;"),n.appendChild(o),e.push(o)}return e}(t,i),s=function Utt(n,t,e){for(var a=e?"invTrans":"trans",r=t[a],i=t.srcCoords,o=[],s=[],l=!0,c=0;c<4;c++){var d=n[c].getBoundingClientRect(),u=2*c,h=d.left,f=d.top;o.push(h,f),l=l&&i&&h===i[u]&&f===i[u+1],s.push(n[c].offsetLeft,n[c].offsetTop)}return l&&r?r:(t.srcCoords=o,t[a]=e?_R(s,o):_R(o,s))}(o,i,r);if(s)return s(n,e,a),!0}return!1}function SR(n){return"CANVAS"===n.nodeName.toUpperCase()}var Ftt=/([&<>"'])/g,Vtt={"&":"&","<":"<",">":">",'"':""","'":"'"};function xa(n){return null==n?"":(n+"").replace(Ftt,function(t,e){return Vtt[e]})}var ztt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Xk=[],Ett=we.browser.firefox&&+we.browser.version.split(".")[0]<39;function Yk(n,t,e,a){return e=e||{},a?wR(n,t,e):Ett&&null!=t.layerX&&t.layerX!==t.offsetX?(e.zrX=t.layerX,e.zrY=t.layerY):null!=t.offsetX?(e.zrX=t.offsetX,e.zrY=t.offsetY):wR(n,t,e),e}function wR(n,t,e){if(we.domSupported&&n.getBoundingClientRect){var a=t.clientX,r=t.clientY;if(SR(n)){var i=n.getBoundingClientRect();return e.zrX=a-i.left,void(e.zrY=r-i.top)}if(Zk(Xk,n,a,r))return e.zrX=Xk[0],void(e.zrY=Xk[1])}e.zrX=e.zrY=0}function Qk(n){return n||window.event}function Dr(n,t,e){if(null!=(t=Qk(t)).zrX)return t;var a=t.type;if(a&&a.indexOf("touch")>=0){var o="touchend"!==a?t.targetTouches[0]:t.changedTouches[0];o&&Yk(n,o,t,e)}else{Yk(n,t,t,e);var i=function qtt(n){var t=n.wheelDelta;if(t)return t;var e=n.deltaX,a=n.deltaY;return null==e||null==a?t:3*Math.abs(0!==a?a:e)*(a>0?-1:a<0?1:e>0?-1:1)}(t);t.zrDelta=i?i/120:-(t.detail||0)/3}var s=t.button;return null==t.which&&void 0!==s&&ztt.test(t.type)&&(t.which=1&s?1:2&s?3:4&s?2:0),t}function $k(n,t,e,a){n.addEventListener(t,e,a)}function Htt(n,t,e,a){n.removeEventListener(t,e,a)}var Wo=function(n){n.preventDefault(),n.stopPropagation(),n.cancelBubble=!0};function kR(n){return 2===n.which||3===n.which}var Btt=function(){function n(){this._track=[]}return n.prototype.recognize=function(t,e,a){return this._doTrack(t,e,a),this._recognize(t)},n.prototype.clear=function(){return this._track.length=0,this},n.prototype._doTrack=function(t,e,a){var r=t.touches;if(r){for(var i={points:[],touches:[],target:e,event:t},o=0,s=r.length;o<s;o++){var l=r[o],c=Yk(a,l,{});i.points.push([c.zrX,c.zrY]),i.touches.push(l)}this._track.push(i)}},n.prototype._recognize=function(t){for(var e in t2)if(t2.hasOwnProperty(e)){var a=t2[e](this._track,t);if(a)return a}},n}();function CR(n){var t=n[1][0]-n[0][0],e=n[1][1]-n[0][1];return Math.sqrt(t*t+e*e)}var t2={pinch:function(n,t){var e=n.length;if(e){var a=(n[e-1]||{}).points,r=(n[e-2]||{}).points||a;if(r&&r.length>1&&a&&a.length>1){var i=CR(a)/CR(r);!isFinite(i)&&(i=1),t.pinchScale=i;var o=function jtt(n){return[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2]}(a);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:n[0].target,event:t}}}}};function D0(n){return n[0]=1,n[1]=0,n[2]=0,n[3]=1,n[4]=0,n[5]=0,n}function e2(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4],n[5]=t[5],n}function Jo(n,t,e){var a=t[0]*e[0]+t[2]*e[1],r=t[1]*e[0]+t[3]*e[1],i=t[0]*e[2]+t[2]*e[3],o=t[1]*e[2]+t[3]*e[3],s=t[0]*e[4]+t[2]*e[5]+t[4],l=t[1]*e[4]+t[3]*e[5]+t[5];return n[0]=a,n[1]=r,n[2]=i,n[3]=o,n[4]=s,n[5]=l,n}function Ui(n,t,e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4]+e[0],n[5]=t[5]+e[1],n}function $c(n,t,e,a){void 0===a&&(a=[0,0]);var r=t[0],i=t[2],o=t[4],s=t[1],l=t[3],c=t[5],d=Math.sin(e),u=Math.cos(e);return n[0]=r*u+s*d,n[1]=-r*d+s*u,n[2]=i*u+l*d,n[3]=-i*d+u*l,n[4]=u*(o-a[0])+d*(c-a[1])+a[0],n[5]=u*(c-a[1])-d*(o-a[0])+a[1],n}function n2(n,t,e){var a=e[0],r=e[1];return n[0]=t[0]*a,n[1]=t[1]*r,n[2]=t[2]*a,n[3]=t[3]*r,n[4]=t[4]*a,n[5]=t[5]*r,n}function Lh(n,t){var e=t[0],a=t[2],r=t[4],i=t[1],o=t[3],s=t[5],l=e*o-i*a;return l?(l=1/l,n[0]=o*l,n[1]=-i*l,n[2]=-a*l,n[3]=e*l,n[4]=(a*s-o*r)*l,n[5]=(i*r-e*s)*l,n):null}var Ktt=function(){function n(t,e){this.x=t||0,this.y=e||0}return n.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},n.prototype.clone=function(){return new n(this.x,this.y)},n.prototype.set=function(t,e){return this.x=t,this.y=e,this},n.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},n.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},n.prototype.scale=function(t){this.x*=t,this.y*=t},n.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},n.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},n.prototype.dot=function(t){return this.x*t.x+this.y*t.y},n.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},n.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},n.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},n.prototype.distance=function(t){var e=this.x-t.x,a=this.y-t.y;return Math.sqrt(e*e+a*a)},n.prototype.distanceSquare=function(t){var e=this.x-t.x,a=this.y-t.y;return e*e+a*a},n.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},n.prototype.transform=function(t){if(t){var e=this.x,a=this.y;return this.x=t[0]*e+t[2]*a+t[4],this.y=t[1]*e+t[3]*a+t[5],this}},n.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},n.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},n.set=function(t,e,a){t.x=e,t.y=a},n.copy=function(t,e){t.x=e.x,t.y=e.y},n.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},n.lenSquare=function(t){return t.x*t.x+t.y*t.y},n.dot=function(t,e){return t.x*e.x+t.y*e.y},n.add=function(t,e,a){t.x=e.x+a.x,t.y=e.y+a.y},n.sub=function(t,e,a){t.x=e.x-a.x,t.y=e.y-a.y},n.scale=function(t,e,a){t.x=e.x*a,t.y=e.y*a},n.scaleAndAdd=function(t,e,a,r){t.x=e.x+a.x*r,t.y=e.y+a.y*r},n.lerp=function(t,e,a,r){var i=1-r;t.x=i*e.x+r*a.x,t.y=i*e.y+r*a.y},n}();const ce=Ktt;var T0=Math.min,P0=Math.max,td=new ce,ed=new ce,nd=new ce,ad=new ce,Cv=new ce,Dv=new ce,Wtt=function(){function n(t,e,a,r){a<0&&(t+=a,a=-a),r<0&&(e+=r,r=-r),this.x=t,this.y=e,this.width=a,this.height=r}return n.prototype.union=function(t){var e=T0(t.x,this.x),a=T0(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=P0(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=P0(t.y+t.height,this.y+this.height)-a:this.height=t.height,this.x=e,this.y=a},n.prototype.applyTransform=function(t){n.applyTransform(this,this,t)},n.prototype.calculateTransform=function(t){var e=this,a=t.width/e.width,r=t.height/e.height,i=[1,0,0,1,0,0];return Ui(i,i,[-e.x,-e.y]),n2(i,i,[a,r]),Ui(i,i,[t.x,t.y]),i},n.prototype.intersect=function(t,e){if(!t)return!1;t instanceof n||(t=n.create(t));var a=this,r=a.x,i=a.x+a.width,o=a.y,s=a.y+a.height,l=t.x,c=t.x+t.width,d=t.y,u=t.y+t.height,h=!(i<l||c<r||s<d||u<o);if(e){var f=1/0,v=0,A=Math.abs(i-l),b=Math.abs(c-r),x=Math.abs(s-d),S=Math.abs(u-o),k=Math.min(A,b),D=Math.min(x,S);i<l||c<r?k>v&&(v=k,A<b?ce.set(Dv,-A,0):ce.set(Dv,b,0)):k<f&&(f=k,A<b?ce.set(Cv,A,0):ce.set(Cv,-b,0)),s<d||u<o?D>v&&(v=D,x<S?ce.set(Dv,0,-x):ce.set(Dv,0,S)):k<f&&(f=k,x<S?ce.set(Cv,0,x):ce.set(Cv,0,-S))}return e&&ce.copy(e,h?Cv:Dv),h},n.prototype.contain=function(t,e){var a=this;return t>=a.x&&t<=a.x+a.width&&e>=a.y&&e<=a.y+a.height},n.prototype.clone=function(){return new n(this.x,this.y,this.width,this.height)},n.prototype.copy=function(t){n.copy(this,t)},n.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},n.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},n.prototype.isZero=function(){return 0===this.width||0===this.height},n.create=function(t){return new n(t.x,t.y,t.width,t.height)},n.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},n.applyTransform=function(t,e,a){if(a){if(a[1]<1e-5&&a[1]>-1e-5&&a[2]<1e-5&&a[2]>-1e-5){var r=a[0],i=a[3],o=a[4],s=a[5];return t.x=e.x*r+o,t.y=e.y*i+s,t.width=e.width*r,t.height=e.height*i,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}td.x=nd.x=e.x,td.y=ad.y=e.y,ed.x=ad.x=e.x+e.width,ed.y=nd.y=e.y+e.height,td.transform(a),ad.transform(a),ed.transform(a),nd.transform(a),t.x=T0(td.x,ed.x,nd.x,ad.x),t.y=T0(td.y,ed.y,nd.y,ad.y);var l=P0(td.x,ed.x,nd.x,ad.x),c=P0(td.y,ed.y,nd.y,ad.y);t.width=l-t.x,t.height=c-t.y}else t!==e&&n.copy(t,e)},n}();const de=Wtt;function Ztt(){Wo(this.event)}var Xtt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.handler=null,e}return cn(t,n),t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(Cr),Tv=function n(t,e){this.x=t,this.y=e},Ytt=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],a2=new de(0,0,0,0),TR=function(n){function t(e,a,r,i,o){var s=n.call(this)||this;return s._hovered=new Tv(0,0),s.storage=e,s.painter=a,s.painterRoot=i,s._pointerSize=o,r=r||new Xtt,s.proxy=null,s.setHandlerProxy(r),s._draggingMgr=new Mtt(s),s}return cn(t,n),t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(q(Ytt,function(a){e.on&&e.on(a,this[a],this)},this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var a=e.zrX,r=e.zrY,i=IR(this,a,r),o=this._hovered,s=o.target;s&&!s.__zr&&(s=(o=this.findHover(o.x,o.y)).target);var l=this._hovered=i?new Tv(a,r):this.findHover(a,r),c=l.target,d=this.proxy;d.setCursor&&d.setCursor(c?c.cursor:"default"),s&&c!==s&&this.dispatchToElement(o,"mouseout",e),this.dispatchToElement(l,"mousemove",e),c&&c!==s&&this.dispatchToElement(l,"mouseover",e)},t.prototype.mouseout=function(e){var a=e.zrEventControl;"only_globalout"!==a&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==a&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new Tv(0,0)},t.prototype.dispatch=function(e,a){var r=this[e];r&&r.call(this,a)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var a=this.proxy;a.setCursor&&a.setCursor(e)},t.prototype.dispatchToElement=function(e,a,r){var i=(e=e||{}).target;if(!i||!i.silent){for(var o="on"+a,s=function Jtt(n,t,e){return{type:n,event:e,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:e.zrX,offsetY:e.zrY,gestureEvent:e.gestureEvent,pinchX:e.pinchX,pinchY:e.pinchY,pinchScale:e.pinchScale,wheelDelta:e.zrDelta,zrByTouch:e.zrByTouch,which:e.which,stop:Ztt}}(a,e,r);i&&(i[o]&&(s.cancelBubble=!!i[o].call(i,s)),i.trigger(a,s),i=i.__hostTarget?i.__hostTarget:i.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(a,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){"function"==typeof l[o]&&l[o].call(l,s),l.trigger&&l.trigger(a,s)}))}},t.prototype.findHover=function(e,a,r){var i=this.storage.getDisplayList(),o=new Tv(e,a);if(PR(i,o,e,a,r),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,c=l/2,d=new de(e-c,a-c,l,l),u=i.length-1;u>=0;u--){var h=i[u];h!==r&&!h.ignore&&!h.ignoreCoarsePointer&&(!h.parent||!h.parent.ignoreCoarsePointer)&&(a2.copy(h.getBoundingRect()),h.transform&&a2.applyTransform(h.transform),a2.intersect(d)&&s.push(h))}if(s.length)for(var v=Math.PI/12,A=2*Math.PI,b=0;b<c;b+=4)for(var x=0;x<A;x+=v){if(PR(s,o,e+b*Math.cos(x),a+b*Math.sin(x),r),o.target)return o}}return o},t.prototype.processGesture=function(e,a){this._gestureMgr||(this._gestureMgr=new Btt);var r=this._gestureMgr;"start"===a&&r.clear();var i=r.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===a&&r.clear(),i){var o=i.type;e.gestureEvent=o;var s=new Tv;s.target=i.target,this.dispatchToElement(s,o,i.event)}},t}(Cr);function Qtt(n,t,e){if(n[n.rectHover?"rectContain":"contain"](t,e)){for(var a=n,r=void 0,i=!1;a;){if(a.ignoreClip&&(i=!0),!i){var o=a.getClipPath();if(o&&!o.contain(t,e))return!1}a.silent&&(r=!0),a=a.__hostTarget||a.parent}return!r||"silent"}return!1}function PR(n,t,e,a,r){for(var i=n.length-1;i>=0;i--){var o=n[i],s=void 0;if(o!==r&&!o.ignore&&(s=Qtt(o,e,a))&&(!t.topTarget&&(t.topTarget=o),"silent"!==s)){t.target=o;break}}}function IR(n,t,e){var a=n.painter;return t<0||t>a.getWidth()||e<0||e>a.getHeight()}q(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(n){TR.prototype[n]=function(t){var i,o,e=t.zrX,a=t.zrY,r=IR(this,e,a);if(("mouseup"!==n||!r)&&(o=(i=this.findHover(e,a)).target),"mousedown"===n)this._downEl=o,this._downPoint=[t.zrX,t.zrY],this._upEl=o;else if("mouseup"===n)this._upEl=o;else if("click"===n){if(this._downEl!==this._upEl||!this._downPoint||ul(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,n,t)}});const $tt=TR;function OR(n,t,e,a){var r=t+1;if(r===e)return 1;if(a(n[r++],n[t])<0){for(;r<e&&a(n[r],n[r-1])<0;)r++;!function eet(n,t,e){for(e--;t<e;){var a=n[t];n[t++]=n[e],n[e--]=a}}(n,t,r)}else for(;r<e&&a(n[r],n[r-1])>=0;)r++;return r-t}function RR(n,t,e,a,r){for(a===t&&a++;a<e;a++){for(var l,i=n[a],o=t,s=a;o<s;)r(i,n[l=o+s>>>1])<0?s=l:o=l+1;var c=a-o;switch(c){case 3:n[o+3]=n[o+2];case 2:n[o+2]=n[o+1];case 1:n[o+1]=n[o];break;default:for(;c>0;)n[o+c]=n[o+c-1],c--}n[o]=i}}function r2(n,t,e,a,r,i){var o=0,s=0,l=1;if(i(n,t[e+r])>0){for(s=a-r;l<s&&i(n,t[e+r+l])>0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}else{for(s=r+1;l<s&&i(n,t[e+r-l])<=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var c=o;o=r-l,l=r-c}for(o++;o<l;){var d=o+(l-o>>>1);i(n,t[e+d])>0?o=d+1:l=d}return l}function i2(n,t,e,a,r,i){var o=0,s=0,l=1;if(i(n,t[e+r])<0){for(s=r+1;l<s&&i(n,t[e+r-l])<0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var c=o;o=r-l,l=r-c}else{for(s=a-r;l<s&&i(n,t[e+r+l])>=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}for(o++;o<l;){var d=o+(l-o>>>1);i(n,t[e+d])<0?l=d:o=d+1}return l}function net(n,t){var a,r,e=7,i=0,o=[];function d(f){var v=a[f],A=r[f],b=a[f+1],x=r[f+1];r[f]=A+x,f===i-3&&(a[f+1]=a[f+2],r[f+1]=r[f+2]),i--;var S=i2(n[b],n,v,A,0,t);v+=S,0!==(A-=S)&&(0!==(x=r2(n[v+A-1],n,b,x,x-1,t))&&(A<=x?function u(f,v,A,b){var x=0;for(x=0;x<v;x++)o[x]=n[f+x];var S=0,k=A,D=f;if(n[D++]=n[k++],0==--b){for(x=0;x<v;x++)n[D+x]=o[S+x];return}if(1===v){for(x=0;x<b;x++)n[D+x]=n[k+x];return void(n[D+b]=o[S])}for(var M,R,N,I=e;;){M=0,R=0,N=!1;do{if(t(n[k],o[S])<0){if(n[D++]=n[k++],R++,M=0,0==--b){N=!0;break}}else if(n[D++]=o[S++],M++,R=0,1==--v){N=!0;break}}while((M|R)<I);if(N)break;do{if(0!==(M=i2(n[k],o,S,v,0,t))){for(x=0;x<M;x++)n[D+x]=o[S+x];if(D+=M,S+=M,(v-=M)<=1){N=!0;break}}if(n[D++]=n[k++],0==--b){N=!0;break}if(0!==(R=r2(o[S],n,k,b,0,t))){for(x=0;x<R;x++)n[D+x]=n[k+x];if(D+=R,k+=R,0===(b-=R)){N=!0;break}}if(n[D++]=o[S++],1==--v){N=!0;break}I--}while(M>=7||R>=7);if(N)break;I<0&&(I=0),I+=2}if((e=I)<1&&(e=1),1===v){for(x=0;x<b;x++)n[D+x]=n[k+x];n[D+b]=o[S]}else{if(0===v)throw new Error;for(x=0;x<v;x++)n[D+x]=o[S+x]}}(v,A,b,x):function h(f,v,A,b){var x=0;for(x=0;x<b;x++)o[x]=n[A+x];var S=f+v-1,k=b-1,D=A+b-1,I=0,M=0;if(n[D--]=n[S--],0==--v){for(I=D-(b-1),x=0;x<b;x++)n[I+x]=o[x];return}if(1===b){for(M=(D-=v)+1,I=(S-=v)+1,x=v-1;x>=0;x--)n[M+x]=n[I+x];return void(n[D]=o[k])}for(var R=e;;){var N=0,U=0,z=!1;
vendor: 1,506 bytes, line 1
1do{if(t(o[k],n[S])<0){if(n[D--]=n[S--],N++,U=0,0==--v){z=!0;break}}else if(n[D--]=o[k--],U++,N=0,1==--b){z=!0;break}}while((N|U)<R);if(z)break;do{if(0!==(N=v-i2(o[k],n,f,v,v-1,t))){for(v-=N,M=(D-=N)+1,I=(S-=N)+1,x=N-1;x>=0;x--)n[M+x]=n[I+x];if(0===v){z=!0;break}}if(n[D--]=o[k--],1==--b){z=!0;break}if(0!==(U=b-r2(n[S],o,0,b,b-1,t))){for(b-=U,M=(D-=U)+1,I=(k-=U)+1,x=0;x<U;x++)n[M+x]=o[I+x];if(b<=1){z=!0;break}}if(n[D--]=n[S--],0==--v){z=!0;break}R--}while(N>=7||U>=7);if(z)break;R<0&&(R=0),R+=2}if((e=R)<1&&(e=1),1===b){for(M=(D-=v)+1,I=(S-=v)+1,x=v-1;x>=0;x--)n[M+x]=n[I+x];n[D]=o[k]}else{if(0===b)throw new Error;for(I=D-(b-1),x=0;x<b;x++)n[I+x]=o[x]}}(v,A,b,x)))}return a=[],r=[],{mergeRuns:function l(){for(;i>1;){var f=i-2;if(f>=1&&r[f-1]<=r[f]+r[f+1]||f>=2&&r[f-2]<=r[f]+r[f-1])r[f-1]<r[f+1]&&f--;else if(r[f]>r[f+1])break;d(f)}},forceMergeRuns:function c(){for(;i>1;){var f=i-2;f>0&&r[f-1]<r[f+1]&&f--,d(f)}},pushRun:function s(f,v){a[i]=f,r[i]=v,i+=1}}}function I0(n,t,e,a){e||(e=0),a||(a=n.length);var r=a-e;if(!(r<2)){var i=0;if(r<32)return void RR(n,e,a,e+(i=OR(n,e,a,t)),t);var o=net(n,t),s=function tet(n){for(var t=0;n>=32;)t|=1&n,n>>=1;return n+t}(r);do{if((i=OR(n,e,a,t))<s){var l=r;l>s&&(l=s),RR(n,e,e+l,e+i,t),i=l}o.pushRun(e,i),o.mergeRuns(),r-=i,e+=i}while(0!==r);o.forceMergeRuns()}}var LR=!1;function o2(){LR||(LR=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function NR(n,t){return n.zlevel===t.zlevel?n.z===t.z?n.z2-t.z2:n.z-t.z
vendor: 4,875 bytes, line 1
1:n.zlevel-t.zlevel}var aet=function(){function n(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=NR}return n.prototype.traverse=function(t,e){for(var a=0;a<this._roots.length;a++)this._roots[a].traverse(t,e)},n.prototype.getDisplayList=function(t,e){e=e||!1;var a=this._displayList;return(t||!a.length)&&this.updateDisplayList(e),a},n.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,a=this._displayList,r=0,i=e.length;r<i;r++)this._updateAndAddDisplayable(e[r],null,t);a.length=this._displayListLen,I0(a,NR)},n.prototype._updateAndAddDisplayable=function(t,e,a){if(!t.ignore||a){t.beforeUpdate(),t.update(),t.afterUpdate();var r=t.getClipPath();if(t.ignoreClip)e=null;else if(r){e=e?e.slice():[];for(var i=r,o=t;i;)i.parent=o,i.updateTransform(),e.push(i),o=i,i=i.getClipPath()}if(t.childrenRef){for(var s=t.childrenRef(),l=0;l<s.length;l++){var c=s[l];t.__dirty&&(c.__dirty|=1),this._updateAndAddDisplayable(c,e,a)}t.__dirty=0}else{var d=t;e&&e.length?d.__clipPaths=e:d.__clipPaths&&d.__clipPaths.length>0&&(d.__clipPaths=[]),isNaN(d.z)&&(o2(),d.z=0),isNaN(d.z2)&&(o2(),d.z2=0),isNaN(d.zlevel)&&(o2(),d.zlevel=0),this._displayList[this._displayListLen++]=d}var u=t.getDecalElement&&t.getDecalElement();u&&this._updateAndAddDisplayable(u,e,a);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,a);var f=t.getTextContent();f&&this._updateAndAddDisplayable(f,e,a)}},n.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},n.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,a=t.length;e<a;e++)this.delRoot(t[e]);else{var r=pe(this._roots,t);r>=0&&this._roots.splice(r,1)}},n.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},n.prototype.getRoots=function(){return this._roots},n.prototype.dispose=function(){this._displayList=null,this._roots=null},n}();const ret=aet;var UR;UR=we.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(n){return setTimeout(n,16)};const s2=UR;var M0={linear:function(n){return n},quadraticIn:function(n){return n*n},quadraticOut:function(n){return n*(2-n)},quadraticInOut:function(n){return(n*=2)<1?.5*n*n:-.5*(--n*(n-2)-1)},cubicIn:function(n){return n*n*n},cubicOut:function(n){return--n*n*n+1},cubicInOut:function(n){return(n*=2)<1?.5*n*n*n:.5*((n-=2)*n*n+2)},quarticIn:function(n){return n*n*n*n},quarticOut:function(n){return 1- --n*n*n*n},quarticInOut:function(n){return(n*=2)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2)},quinticIn:function(n){return n*n*n*n*n},quinticOut:function(n){return--n*n*n*n*n+1},quinticInOut:function(n){return(n*=2)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2)},sinusoidalIn:function(n){return 1-Math.cos(n*Math.PI/2)},sinusoidalOut:function(n){return Math.sin(n*Math.PI/2)},sinusoidalInOut:function(n){return.5*(1-Math.cos(Math.PI*n))},exponentialIn:function(n){return 0===n?0:Math.pow(1024,n-1)},exponentialOut:function(n){return 1===n?1:1-Math.pow(2,-10*n)},exponentialInOut:function(n){return 0===n?0:1===n?1:(n*=2)<1?.5*Math.pow(1024,n-1):.5*(2-Math.pow(2,-10*(n-1)))},circularIn:function(n){return 1-Math.sqrt(1-n*n)},circularOut:function(n){return Math.sqrt(1- --n*n)},circularInOut:function(n){return(n*=2)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)},elasticIn:function(n){var t,e=.1;return 0===n?0:1===n?1:(!e||e<1?(e=1,t=.1):t=.4*Math.asin(1/e)/(2*Math.PI),-e*Math.pow(2,10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/.4))},elasticOut:function(n){var t,e=.1;return 0===n?0:1===n?1:(!e||e<1?(e=1,t=.1):t=.4*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*n)*Math.sin((n-t)*(2*Math.PI)/.4)+1)},elasticInOut:function(n){var t,e=.1,a=.4;return 0===n?0:1===n?1:(!e||e<1?(e=1,t=.1):t=a*Math.asin(1/e)/(2*Math.PI),(n*=2)<1?e*Math.pow(2,10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/a)*-.5:e*Math.pow(2,-10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/a)*.5+1)},backIn:function(n){var t=1.70158;return n*n*((t+1)*n-t)},backOut:function(n){var t=1.70158;return--n*n*((t+1)*n+t)+1},backInOut:function(n){var t=2.5949095;return(n*=2)<1?n*n*((t+1)*n-t)*.5:.5*((n-=2)*n*((t+1)*n+t)+2)},bounceIn:function(n){return 1-M0.bounceOut(1-n)},bounceOut:function(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375},bounceInOut:function(n){return n<.5?.5*M0.bounceIn(2*n):.5*M0.bounceOut(2*n-1)+.5}};const FR=M0;var O0=Math.pow,ml=Math.sqrt,zR=ml(3),L0=1/3,Fi=Xc(),Tr=Xc(),Uh=Xc();function fl(n){return n>-1e-8&&n<1e-8}function ER(n){return n>1e-8||n<-1e-8}function Gn(n,t,e,a,r){var i=1-r;return i*i*(i*n+3*r*t)+r*r*(r*a+3*i*e)}function qR(n,t,e,a,r){var i=1-r;return 3*(((t-n)*i+2*(e-t)*r)*i+(a-e)*r*r)}
vendor: 10,777 bytes, line 1
1function N0(n,t,e,a,r,i){var o=a+3*(t-e)-n,s=3*(e-2*t+n),l=3*(t-n),c=n-r,d=s*s-3*o*l,u=s*l-9*o*c,h=l*l-3*s*c,f=0;if(fl(d)&&fl(u))if(fl(s))i[0]=0;else{(v=-l/s)>=0&&v<=1&&(i[f++]=v)}else{var A=u*u-4*d*h;if(fl(A)){var b=u/d,x=-b/2;(v=-s/o+b)>=0&&v<=1&&(i[f++]=v),x>=0&&x<=1&&(i[f++]=x)}else if(A>0){var S=ml(A),k=d*s+1.5*o*(-u+S),D=d*s+1.5*o*(-u-S);(v=(-s-((k=k<0?-O0(-k,L0):O0(k,L0))+(D=D<0?-O0(-D,L0):O0(D,L0))))/(3*o))>=0&&v<=1&&(i[f++]=v)}else{var I=(2*d*s-3*o*u)/(2*ml(d*d*d)),M=Math.acos(I)/3,R=ml(d),N=Math.cos(M),v=(-s-2*R*N)/(3*o),U=(x=(-s+R*(N+zR*Math.sin(M)))/(3*o),(-s+R*(N-zR*Math.sin(M)))/(3*o));v>=0&&v<=1&&(i[f++]=v),x>=0&&x<=1&&(i[f++]=x),U>=0&&U<=1&&(i[f++]=U)}}return f}function HR(n,t,e,a,r){var i=6*e-12*t+6*n,o=9*t+3*a-3*n-9*e,s=3*t-3*n,l=0;if(fl(o)){if(ER(i))(c=-s/i)>=0&&c<=1&&(r[l++]=c)}else{var d=i*i-4*o*s;if(fl(d))r[0]=-i/(2*o);else if(d>0){var c,u=ml(d),h=(-i-u)/(2*o);(c=(-i+u)/(2*o))>=0&&c<=1&&(r[l++]=c),h>=0&&h<=1&&(r[l++]=h)}}return l}function gl(n,t,e,a,r,i){var o=(t-n)*r+n,s=(e-t)*r+t,l=(a-e)*r+e,c=(s-o)*r+o,d=(l-s)*r+s,u=(d-c)*r+c;i[0]=n,i[1]=o,i[2]=c,i[3]=u,i[4]=u,i[5]=d,i[6]=l,i[7]=a}function BR(n,t,e,a,r,i,o,s,l,c,d){var u,v,A,b,x,h=.005,f=1/0;Fi[0]=l,Fi[1]=c;for(var S=0;S<1;S+=.05)Tr[0]=Gn(n,e,r,o,S),Tr[1]=Gn(t,a,i,s,S),(b=Qc(Fi,Tr))<f&&(u=S,f=b);f=1/0;for(var k=0;k<32&&!(h<1e-4);k++)v=u-h,A=u+h,Tr[0]=Gn(n,e,r,o,v),Tr[1]=Gn(t,a,i,s,v),b=Qc(Tr,Fi),v>=0&&b<f?(u=v,f=b):(Uh[0]=Gn(n,e,r,o,A),Uh[1]=Gn(t,a,i,s,A),x=Qc(Uh,Fi),A<=1&&x<f?(u=A,f=x):h*=.5);return d&&(d[0]=Gn(n,e,r,o,u),d[1]=Gn(t,a,i,s,u)),ml(f)}function iet(n,t,e,a,r,i,o,s,l){for(var c=n,d=t,u=0,h=1/l,f=1;f<=l;f++){var v=f*h,A=Gn(n,e,r,o,v),b=Gn(t,a,i,s,v),x=A-c,S=b-d;u+=Math.sqrt(x*x+S*S),c=A,d=b}return u}function ta(n,t,e,a){var r=1-a;return r*(r*n+2*a*t)+a*a*e}function l2(n,t,e,a){return 2*((1-a)*(t-n)+a*(e-t))}function jR(n,t,e){var a=n+e-2*t;return 0===a?.5:(n-t)/a}function Mv(n,t,e,a,r){var i=(t-n)*a+n,o=(e-t)*a+t,s=(o-i)*a+i;r[0]=n,r[1]=i,r[2]=s,r[3]=s,r[4]=o,r[5]=e}function GR(n,t,e,a,r,i,o,s,l){var c,d=.005,u=1/0;Fi[0]=o,Fi[1]=s;for(var h=0;h<1;h+=.05){Tr[0]=ta(n,e,r,h),Tr[1]=ta(t,a,i,h),(f=Qc(Fi,Tr))<u&&(c=h,u=f)}u=1/0;for(var v=0;v<32&&!(d<1e-4);v++){var A=c-d,b=c+d;Tr[0]=ta(n,e,r,A),Tr[1]=ta(t,a,i,A);var f=Qc(Tr,Fi);if(A>=0&&f<u)c=A,u=f;else{Uh[0]=ta(n,e,r,b),Uh[1]=ta(t,a,i,b);var x=Qc(Uh,Fi);b<=1&&x<u?(c=b,u=x):d*=.5}}return l&&(l[0]=ta(n,e,r,c),l[1]=ta(t,a,i,c)),ml(u)}function set(n,t,e,a,r,i,o){for(var s=n,l=t,c=0,d=1/o,u=1;u<=o;u++){var h=u*d,f=ta(n,e,r,h),v=ta(t,a,i,h),A=f-s,b=v-l;c+=Math.sqrt(A*A+b*b),s=f,l=v}return c}var cet=/cubic-bezier\(([0-9,\.e ]+)\)/;function c2(n){var t=n&&cet.exec(n);if(t){var e=t[1].split(","),a=+ni(e[0]),r=+ni(e[1]),i=+ni(e[2]),o=+ni(e[3]);if(isNaN(a+r+i+o))return;var s=[];return function(l){return l<=0?0:l>=1?1:N0(0,a,i,1,l,s)&&Gn(0,r,o,1,s[0])}}}var det=function(){function n(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Tn,this.ondestroy=t.ondestroy||Tn,this.onrestart=t.onrestart||Tn,t.easing&&this.setEasing(t.easing)}return n.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var a=this._life,r=t-this._startTime-this._pausedTime,i=r/a;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,s=o?o(i):i;if(this.onframe(s),1===i){if(!this.loop)return!0;var l=r%a;this._startTime=t-l,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},n.prototype.pause=function(){this._paused=!0},n.prototype.resume=function(){this._paused=!1},n.prototype.setEasing=function(t){this.easing=t,this.easingFunc=jt(t)?t:FR[t]||c2(t)},n}();const uet=det;var KR=function n(t){this.value=t},pet=function(){function n(){this._len=0}return n.prototype.insert=function(t){var e=new KR(t);return this.insertEntry(e),e},n.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},n.prototype.remove=function(t){var e=t.prev,a=t.next;e?e.next=a:this.head=a,a?a.prev=e:this.tail=e,t.next=t.prev=null,this._len--},n.prototype.len=function(){return this._len},n.prototype.clear=function(){this.head=this.tail=null,this._len=0},n}(),het=function(){function n(t){this._list=new pet,this._maxSize=10,this._map={},this._maxSize=t}return n.prototype.put=function(t,e){var a=this._list,r=this._map,i=null;if(null==r[t]){var o=a.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=a.head;a.remove(l),delete r[l.key],i=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new KR(e),s.key=t,a.insertEntry(s),r[t]=s}return i},n.prototype.get=function(t){var e=this._map[t],a=this._list;if(null!=e)return e!==a.tail&&(a.remove(e),a.insertEntry(e)),e.value},n.prototype.clear=function(){this._list.clear(),this._map={}},n.prototype.len=function(){return this._list.len()},n}();const Ov=het;var WR={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function ai(n){return(n=Math.round(n))<0?0:n>255?255:n}function Rv(n){return n<0?0:n>1?1:n}function d2(n){var t=n;return t.length&&"%"===t.charAt(t.length-1)?ai(parseFloat(t)/100*255):ai(parseInt(t,10))}function rd(n){var t=n;return t.length&&"%"===t.charAt(t.length-1)?Rv(parseFloat(t)/100):Rv(parseFloat(t))}function u2(n,t,e){return e<0?e+=1:e>1&&(e-=1),6*e<1?n+(t-n)*e*6:2*e<1?t:3*e<2?n+(t-n)*(2/3-e)*6:n}function vl(n,t,e){return n+(t-n)*e}function Pr(n,t,e,a,r){return n[0]=t,n[1]=e,n[2]=a,n[3]=r,n}function p2(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n}var JR=new Ov(20),U0=null;function Fh(n,t){U0&&p2(U0,t),U0=JR.put(n,U0||t.slice())}function Ya(n,t){if(n){t=t||[];var e=JR.get(n);if(e)return p2(t,e);var a=(n+="").replace(/ /g,"").toLowerCase();if(a in WR)return p2(t,WR[a]),Fh(n,t),t;var i,r=a.length;if("#"===a.charAt(0))return 4===r||5===r?(i=parseInt(a.slice(1,4),16))>=0&&i<=4095?(Pr(t,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,5===r?parseInt(a.slice(4),16)/15:1),Fh(n,t),t):void Pr(t,0,0,0,1):7===r||9===r?(i=parseInt(a.slice(1,7),16))>=0&&i<=16777215?(Pr(t,(16711680&i)>>16,(65280&i)>>8,255&i,9===r?parseInt(a.slice(7),16)/255:1),Fh(n,t),t):void Pr(t,0,0,0,1):void 0;var o=a.indexOf("("),s=a.indexOf(")");if(-1!==o&&s+1===r){var l=a.substr(0,o),c=a.substr(o+1,s-(o+1)).split(","),d=1;switch(l){case"rgba":if(4!==c.length)return 3===c.length?Pr(t,+c[0],+c[1],+c[2],1):Pr(t,0,0,0,1);d=rd(c.pop());case"rgb":return c.length>=3?(Pr(t,d2(c[0]),d2(c[1]),d2(c[2]),3===c.length?d:rd(c[3])),Fh(n,t),t):void Pr(t,0,0,0,1);case"hsla":return 4!==c.length?void Pr(t,0,0,0,1):(c[3]=rd(c[3]),h2(c,t),Fh(n,t),t);case"hsl":return 3!==c.length?void Pr(t,0,0,0,1):(h2(c,t),Fh(n,t),t);default:return}}Pr(t,0,0,0,1)}}function h2(n,t){var e=(parseFloat(n[0])%360+360)%360/360,a=rd(n[1]),r=rd(n[2]),i=r<=.5?r*(a+1):r+a-r*a,o=2*r-i;return Pr(t=t||[],ai(255*u2(o,i,e+1/3)),ai(255*u2(o,i,e)),ai(255*u2(o,i,e-1/3)),1),4===n.length&&(t[3]=n[3]),t}function m2(n,t){var e=Ya(n);if(e){for(var a=0;a<3;a++)e[a]=t<0?e[a]*(1-t)|0:(255-e[a])*t+e[a]|0,e[a]>255?e[a]=255:e[a]<0&&(e[a]=0);return Vi(e,4===e.length?"rgba":"rgb")}}function f2(n,t,e){if(t&&t.length&&(n>=0&&n<=1)){e=e||[];
vendor: 4,391 bytes, line 1
1var a=n*(t.length-1),r=Math.floor(a),i=Math.ceil(a),o=t[r],s=t[i],l=a-r;return e[0]=ai(vl(o[0],s[0],l)),e[1]=ai(vl(o[1],s[1],l)),e[2]=ai(vl(o[2],s[2],l)),e[3]=Rv(vl(o[3],s[3],l)),e}}function Lv(n,t,e,a){var r=Ya(n);if(n)return r=function fet(n){if(n){var l,c,t=n[0]/255,e=n[1]/255,a=n[2]/255,r=Math.min(t,e,a),i=Math.max(t,e,a),o=i-r,s=(i+r)/2;if(0===o)l=0,c=0;else{c=s<.5?o/(i+r):o/(2-i-r);var d=((i-t)/6+o/2)/o,u=((i-e)/6+o/2)/o,h=((i-a)/6+o/2)/o;t===i?l=h-u:e===i?l=1/3+d-h:a===i&&(l=2/3+u-d),l<0&&(l+=1),l>1&&(l-=1)}var f=[360*l,c,s];return null!=n[3]&&f.push(n[3]),f}}(r),null!=t&&(r[0]=function met(n){return(n=Math.round(n))<0?0:n>360?360:n}(t)),null!=e&&(r[1]=rd(e)),null!=a&&(r[2]=rd(a)),Vi(h2(r),"rgba")}function F0(n,t){var e=Ya(n);if(e&&null!=t)return e[3]=Rv(t),Vi(e,"rgba")}function Vi(n,t){if(n&&n.length){var e=n[0]+","+n[1]+","+n[2];return("rgba"===t||"hsva"===t||"hsla"===t)&&(e+=","+n[3]),t+"("+e+")"}}function V0(n,t){var e=Ya(n);return e?(.299*e[0]+.587*e[1]+.114*e[2])*e[3]/255+(1-e[3])*t:0}var ZR=new Ov(100);function g2(n){if(Lt(n)){var t=ZR.get(n);return t||(t=m2(n,-.1),ZR.put(n,t)),t}if(b0(n)){var e=ft({},n);return e.colorStops=At(n.colorStops,function(a){return{offset:a.offset,color:m2(a.color,-.1)}}),e}return n}var Nv=Math.round;function Uv(n){var t;if(n&&"transparent"!==n){if("string"==typeof n&&n.indexOf("rgba")>-1){var e=Ya(n);e&&(n="rgb("+e[0]+","+e[1]+","+e[2]+")",t=e[3])}}else n="none";return{color:n,opacity:t??1}}function Al(n){return n<1e-4&&n>-1e-4}function z0(n){return Nv(1e3*n)/1e3}function v2(n){return Nv(1e4*n)/1e4}var Aet={left:"start",right:"end",center:"middle",middle:"middle"};function YR(n){return n&&!!n.image}function A2(n){return YR(n)||function xet(n){return n&&!!n.svgElement}(n)}function QR(n){return"linear"===n.type}function $R(n){return"radial"===n.type}function tL(n){return n&&("linear"===n.type||"radial"===n.type)}function E0(n){return"url(#"+n+")"}function eL(n){var t=n.getGlobalScale(),e=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(e)/Math.log(10)),1)}function nL(n){var t=n.x||0,e=n.y||0,a=(n.rotation||0)*S0,r=ie(n.scaleX,1),i=ie(n.scaleY,1),o=n.skewX||0,s=n.skewY||0,l=[];return(t||e)&&l.push("translate("+t+"px,"+e+"px)"),a&&l.push("rotate("+a+")"),(1!==r||1!==i)&&l.push("scale("+r+","+i+")"),(o||s)&&l.push("skew("+Nv(o*S0)+"deg, "+Nv(s*S0)+"deg)"),l.join(" ")}var wet=we.hasGlobalWindow&&jt(window.btoa)?function(n){return window.btoa(unescape(encodeURIComponent(n)))}:typeof Buffer<"u"?function(n){return Buffer.from(n).toString("base64")}:function(n){return null},y2=Array.prototype.slice;function Zo(n,t,e){return(t-n)*e+n}function b2(n,t,e,a){for(var r=t.length,i=0;i<r;i++)n[i]=Zo(t[i],e[i],a);return n}function q0(n,t,e,a){for(var r=t.length,i=0;i<r;i++)n[i]=t[i]+e[i]*a;return n}function aL(n,t,e,a){for(var r=t.length,i=r&&t[0].length,o=0;o<r;o++){n[o]||(n[o]=[]);for(var s=0;s<i;s++)n[o][s]=t[o][s]+e[o][s]*a}return n}function Cet(n,t){for(var e=n.length,a=t.length,r=e>a?t:n,i=Math.min(e,a),o=r[i-1]||{color:[0,0,0,0],offset:0},s=i;s<Math.max(e,a);s++)r.push({offset:o.offset,color:o.color.slice()})}function Det(n,t,e){var a=n,r=t;if(a.push&&r.push){var i=a.length,o=r.length;if(i!==o)if(i>o)a.length=o;else for(var l=i;l<o;l++)a.push(1===e?r[l]:y2.call(r[l]));var c=a[0]&&a[0].length;for(l=0;l<a.length;l++)if(1===e)isNaN(a[l])&&(a[l]=r[l]);else for(var d=0;d<c;d++)isNaN(a[l][d])&&(a[l][d]=r[l][d])}}function Fv(n){if(_a(n)){var t=n.length;if(_a(n[0])){for(var e=[],a=0;a<t;a++)e.push(y2.call(n[a]));return e}return y2.call(n)}return n}function H0(n){return n[0]=Math.floor(n[0])||0,n[1]=Math.floor(n[1])||0,n[2]=Math.floor(n[2])||0,n[3]=null==n[3]?1:n[3],"rgba("+n.join(",")+")"}function oL(n){return 4===n||5===n}function G0(n){return 1===n||2===n}var zv=[0,0,0,0],Pet=function(){function n(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return n.prototype.isFinished=function(){return this._finished},n.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},n.prototype.needsAnimate=function(){return this.keyframes.length>=1},n.prototype.getAdditiveTrack=function(){return this._additiveTrack},n.prototype.addKeyframe=function(t,e,a){this._needsSort=!0;var r=this.keyframes,i=r.length,o=!1,s=6,l=e;if(_a(e)){var c=function Tet(n){return _a(n&&n[0])?2:1}(e);
vendor: 10,205 bytes, line 1
1s=c,(1===c&&!ke(e[0])||2===c&&!ke(e[0][0]))&&(o=!0)}else if(ke(e)&&!Sv(e))s=0;else if(Lt(e))if(isNaN(+e)){var d=Ya(e);d&&(l=d,s=3)}else s=0;else if(b0(e)){var u=ft({},l);u.colorStops=At(e.colorStops,function(f){return{offset:f.offset,color:Ya(f.color)}}),QR(e)?s=4:$R(e)&&(s=5),l=u}0===i?this.valType=s:(s!==this.valType||6===s)&&(o=!0),this.discrete=this.discrete||o;var h={time:t,value:l,rawValue:e,percent:0};return a&&(h.easing=a,h.easingFunc=jt(a)?a:FR[a]||c2(a)),r.push(h),h},n.prototype.prepare=function(t,e){var a=this.keyframes;this._needsSort&&a.sort(function(A,b){return A.time-b.time});for(var r=this.valType,i=a.length,o=a[i-1],s=this.discrete,l=G0(r),c=oL(r),d=0;d<i;d++){var u=a[d],h=u.value,f=o.value;u.percent=u.time/t,s||(l&&d!==i-1?Det(h,f,r):c&&Cet(h.colorStops,f.colorStops))}if(!s&&5!==r&&e&&this.needsAnimate()&&e.needsAnimate()&&r===e.valType&&!e._finished){this._additiveTrack=e;var v=a[0].value;for(d=0;d<i;d++)0===r?a[d].additiveValue=a[d].value-v:3===r?a[d].additiveValue=q0([],a[d].value,v,-1):G0(r)&&(a[d].additiveValue=1===r?q0([],a[d].value,v,-1):aL([],a[d].value,v,-1))}},n.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var d,f,v,a=null!=this._additiveTrack,r=a?"additiveValue":"value",i=this.valType,o=this.keyframes,s=o.length,l=this.propName,c=3===i,u=this._lastFr,h=Math.min;if(1===s)f=v=o[0];else{if(e<0)d=0;else if(e<this._lastFrP){for(d=h(u+1,s-1);d>=0&&!(o[d].percent<=e);d--);d=h(d,s-2)}else{for(d=u;d<s&&!(o[d].percent>e);d++);d=h(d-1,s-2)}v=o[d+1],f=o[d]}if(f&&v){this._lastFr=d,this._lastFrP=e;var b=v.percent-f.percent,x=0===b?1:h((e-f.percent)/b,1);v.easingFunc&&(x=v.easingFunc(x));var S=a?this._additiveValue:c?zv:t[l];if((G0(i)||c)&&!S&&(S=this._additiveValue=[]),this.discrete)t[l]=x<1?f.rawValue:v.rawValue;else if(G0(i))1===i?b2(S,f[r],v[r],x):function ket(n,t,e,a){for(var r=t.length,i=r&&t[0].length,o=0;o<r;o++){n[o]||(n[o]=[]);for(var s=0;s<i;s++)n[o][s]=Zo(t[o][s],e[o][s],a)}return n}(S,f[r],v[r],x);else if(oL(i)){var k=f[r],D=v[r],I=4===i;t[l]={type:I?"linear":"radial",x:Zo(k.x,D.x,x),y:Zo(k.y,D.y,x),colorStops:At(k.colorStops,function(R,N){var U=D.colorStops[N];return{offset:Zo(R.offset,U.offset,x),color:H0(b2([],R.color,U.color,x))}}),global:D.global},I?(t[l].x2=Zo(k.x2,D.x2,x),t[l].y2=Zo(k.y2,D.y2,x)):t[l].r=Zo(k.r,D.r,x)}else if(c)b2(S,f[r],v[r],x),a||(t[l]=H0(S));else{var M=Zo(f[r],v[r],x);a?this._additiveValue=M:t[l]=M}a&&this._addToTarget(t)}}},n.prototype._addToTarget=function(t){var e=this.valType,a=this.propName,r=this._additiveValue;0===e?t[a]=t[a]+r:3===e?(Ya(t[a],zv),q0(zv,zv,r,1),t[a]=H0(zv)):1===e?q0(t[a],t[a],r,1):2===e&&aL(t[a],t[a],r,1)},n}(),Iet=function(){function n(t,e,a,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&r?Vk("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=a)}return n.prototype.getMaxTime=function(){return this._maxTime},n.prototype.getDelay=function(){return this._delay},n.prototype.getLoop=function(){return this._loop},n.prototype.getTarget=function(){return this._target},n.prototype.changeTarget=function(t){this._target=t},n.prototype.when=function(t,e,a){return this.whenWithKeys(t,e,ve(e),a)},n.prototype.whenWithKeys=function(t,e,a,r){for(var i=this._tracks,o=0;o<a.length;o++){var s=a[o],l=i[s];if(!l){l=i[s]=new Pet(s);var c=void 0,d=this._getAdditiveTrack(s);if(d){var u=d.keyframes,h=u[u.length-1];c=h&&h.value,3===d.valType&&c&&(c=H0(c))}else c=this._target[s];if(null==c)continue;t>0&&l.addKeyframe(0,Fv(c),r),this._trackKeys.push(s)}l.addKeyframe(t,Fv(e[s]),r)}return this._maxTime=Math.max(this._maxTime,t),this},n.prototype.pause=function(){this._clip.pause(),this._paused=!0},n.prototype.resume=function(){this._clip.resume(),this._paused=!1},n.prototype.isPaused=function(){return!!this._paused},n.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},n.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,a=0;a<e;a++)t[a].call(this)},n.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var a=0;a<e.length;a++)e[a].call(this)},n.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,a=0;a<e.length;a++)t[e[a]].setFinished()},n.prototype._getAdditiveTrack=function(t){var e,a=this._additiveAnimators;if(a)for(var r=0;r<a.length;r++){var i=a[r].getTrack(t);i&&(e=i)}return e},n.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,a=[],r=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],s=this._tracks[o],l=this._getAdditiveTrack(o),c=s.keyframes,d=c.length;if(s.prepare(r,l),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var u=c[d-1];u&&(e._target[s.propName]=u.rawValue),s.setFinished()}else a.push(s)}if(a.length||this._force){var h=new uet({life:r,loop:this._loop,delay:this._delay||0,onframe:function(f){e._started=2;var v=e._additiveAnimators;if(v){for(var A=!1,b=0;b<v.length;b++)if(v[b]._clip){A=!0;break}A||(e._additiveAnimators=null)}for(b=0;b<a.length;b++)a[b].step(e._target,f);var x=e._onframeCbs;if(x)for(b=0;b<x.length;b++)x[b](e._target,f)},ondestroy:function(){e._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),t&&h.setEasing(t)}else this._doneCallback();return this}},n.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},n.prototype.delay=function(t){return this._delay=t,this},n.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},n.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},n.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},n.prototype.getClip=function(){return this._clip},n.prototype.getTrack=function(t){return this._tracks[t]},n.prototype.getTracks=function(){var t=this;return At(this._trackKeys,function(e){return t._tracks[e]})},n.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var a=this._tracks,r=this._trackKeys,i=0;i<t.length;i++){var o=a[t[i]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var s=!0;for(i=0;i<r.length;i++)if(!a[r[i]].isFinished()){s=!1;break}return s&&this._abortedCallback(),s},n.prototype.saveTo=function(t,e,a){if(t){e=e||this._trackKeys;for(var r=0;r<e.length;r++){var i=e[r],o=this._tracks[i];if(o&&!o.isFinished()){var s=o.keyframes,l=s[a?0:s.length-1];l&&(t[i]=Fv(l.rawValue))}}}},n.prototype.__changeFinalValue=function(t,e){e=e||ve(t);for(var a=0;a<e.length;a++){var r=e[a],i=this._tracks[r];if(i){var o=i.keyframes;if(o.length>1){var s=o.pop();i.addKeyframe(s.time,t[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},n}();const S2=Iet;function Vh(){return(new Date).getTime()}var Met=function(n){function t(e){var a=n.call(this)||this;return a._running=!1,a._time=0,a._pausedTime=0,a._pauseStart=0,a._paused=!1,e=e||{},a.stage=e.stage||{},a}return cn(t,n),t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var a=e.getClip();a&&this.addClip(a)},t.prototype.removeClip=function(e){if(e.animation){var a=e.prev,r=e.next;a?a.next=r:this._head=r,r?r.prev=a:this._tail=a,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var a=e.getClip();a&&this.removeClip(a),e.animation=null},t.prototype.update=function(e){for(var a=Vh()-this._pausedTime,r=a-this._time,i=this._head;i;){var o=i.next;i.step(a,r)&&(i.ondestroy(),this.removeClip(i)),i=o}this._time=a,e||(this.trigger("frame",r),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0,s2(function a(){e._running&&(s2(a),!e._paused&&e.update())})},t.prototype.start=function(){this._running||(this._time=Vh(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Vh(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Vh()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var a=e.next;e.prev=e.next=e.animation=null,e=a}this._head=this._tail=null},t.prototype.isFinished=function(){return null==this._head},t.prototype.animate=function(e,a){a=a||{},this.start();var r=new S2(e,a.loop);return this.addAnimator(r),r},t}(Cr);const Oet=Met;var w2=we.domSupported,k2=function(){var n=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e={pointerdown:1,pointerup:1,pointermove:1,pointerout:1};return{mouse:n,touch:["touchstart","touchend","touchmove"],pointer:At(n,function(r){var i=r.replace("mouse","pointer");return e.hasOwnProperty(i)?i:r})}}(),sL_mouse=["mousemove","mouseup"],sL_pointer=["pointermove","pointerup"],lL=!1;function C2(n){var t=n.pointerType;return"pen"===t||"touch"===t}function D2(n){n&&(n.zrByTouch=!0)}function cL(n,t){for(var e=t,a=!1;e&&9!==e.nodeType&&!(a=e.domBelongToZr||e!==t&&e===n.painterRoot);)e=e.parentNode;return a}var Uet=function n(t,e){this.stopPropagation=Tn,this.stopImmediatePropagation=Tn,this.preventDefault=Tn,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},ri={mousedown:function(n){n=Dr(this.dom,n),this.__mayPointerCapture=[n.zrX,n.zrY],this.trigger("mousedown",n)},mousemove:function(n){n=Dr(this.dom,n);var t=this.__mayPointerCapture;t&&(n.zrX!==t[0]||n.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",n)},mouseup:function(n){n=Dr(this.dom,n),this.__togglePointerCapture(!1),this.trigger("mouseup",n)},mouseout:function(n){cL(this,(n=Dr(this.dom,n)).toElement||n.relatedTarget)||(this.__pointerCapturing&&(n.zrEventC
vendor: 5,993 bytes, line 1
1ontrol="no_globalout"),this.trigger("mouseout",n))},wheel:function(n){lL=!0,n=Dr(this.dom,n),this.trigger("mousewheel",n)},mousewheel:function(n){lL||(n=Dr(this.dom,n),this.trigger("mousewheel",n))},touchstart:function(n){D2(n=Dr(this.dom,n)),this.__lastTouchMoment=new Date,this.handler.processGesture(n,"start"),ri.mousemove.call(this,n),ri.mousedown.call(this,n)},touchmove:function(n){D2(n=Dr(this.dom,n)),this.handler.processGesture(n,"change"),ri.mousemove.call(this,n)},touchend:function(n){D2(n=Dr(this.dom,n)),this.handler.processGesture(n,"end"),ri.mouseup.call(this,n),+new Date-+this.__lastTouchMoment<300&&ri.click.call(this,n)},pointerdown:function(n){ri.mousedown.call(this,n)},pointermove:function(n){C2(n)||ri.mousemove.call(this,n)},pointerup:function(n){ri.mouseup.call(this,n)},pointerout:function(n){C2(n)||ri.mouseout.call(this,n)}};q(["click","dblclick","contextmenu"],function(n){ri[n]=function(t){t=Dr(this.dom,t),this.trigger(n,t)}});var T2={pointermove:function(n){C2(n)||T2.mousemove.call(this,n)},pointerup:function(n){T2.mouseup.call(this,n)},mousemove:function(n){this.trigger("mousemove",n)},mouseup:function(n){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",n),t&&(n.zrEventControl="only_globalout",this.trigger("mouseout",n))}};function Fet(n,t){var e=t.domHandlers;we.pointerEventsSupported?q(k2.pointer,function(a){K0(t,a,function(r){e[a].call(n,r)})}):(we.touchEventsSupported&&q(k2.touch,function(a){K0(t,a,function(r){e[a].call(n,r),function Let(n){n.touching=!0,null!=n.touchTimer&&(clearTimeout(n.touchTimer),n.touchTimer=null),n.touchTimer=setTimeout(function(){n.touching=!1,n.touchTimer=null},700)}(t)})}),q(k2.mouse,function(a){K0(t,a,function(r){r=Qk(r),t.touching||e[a].call(n,r)})}))}function Vet(n,t){function e(a){K0(t,a,function r(i){i=Qk(i),cL(n,i.target)||(i=function Net(n,t){return Dr(n.dom,new Uet(n,t),!0)}(n,i),t.domHandlers[a].call(n,i))},{capture:!0})}we.pointerEventsSupported?q(sL_pointer,e):we.touchEventsSupported||q(sL_mouse,e)}function K0(n,t,e,a){n.mounted[t]=e,n.listenerOpts[t]=a,$k(n.domTarget,t,e,a)}function P2(n){var t=n.mounted;for(var e in t)t.hasOwnProperty(e)&&Htt(n.domTarget,e,t[e],n.listenerOpts[e]);n.mounted={}}var dL=function n(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},zet=function(n){function t(e,a){var r=n.call(this)||this;return r.__pointerCapturing=!1,r.dom=e,r.painterRoot=a,r._localHandlerScope=new dL(e,ri),w2&&(r._globalHandlerScope=new dL(document,T2)),Fet(r,r._localHandlerScope),r}return cn(t,n),t.prototype.dispose=function(){P2(this._localHandlerScope),w2&&P2(this._globalHandlerScope)},t.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},t.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,w2&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var a=this._globalHandlerScope;e?Vet(this,a):P2(a)}},t}(Cr);const Eet=zet;var uL=1;we.hasGlobalWindow&&(uL=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var W0=uL,M2="#333",O2="#ccc",pL=D0;function id(n){return n>5e-5||n<-5e-5}var od=[],zh=[],R2=[1,0,0,1,0,0],L2=Math.abs,Het=function(){function n(){}return n.prototype.getLocalTransform=function(t){return n.getLocalTransform(this,t)},n.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},n.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},n.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},n.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},n.prototype.needLocalTransform=function(){return id(this.rotation)||id(this.x)||id(this.y)||id(this.scaleX-1)||id(this.scaleY-1)||id(this.skewX)||id(this.skewY)},n.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),a=this.transform;e||t?(a=a||[1,0,0,1,0,0],e?this.getLocalTransform(a):pL(a),t&&(e?Jo(a,t,a):e2(a,t)),this.transform=a,this._resolveGlobalScaleRatio(a)):a&&(pL(a),this.invTransform=null)},n.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(od);var a=od[0]<0?-1:1,r=od[1]<0?-1:1,i=((od[0]-a)*e+a)/od[0]||0,o=((od[1]-r)*e+r)/od[1]||0;t[0]*=i,t[1]*=i,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],Lh(this.invTransform,t)},n.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},n.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],a=t[2]*t[2]+t[3]*t[3],r=Math.atan2(t[1],t[0]),i=Math.PI/2+r-Math.atan2(t[3],t[2]);a=Math.sqrt(a)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=a,this.originX=0,this.originY=0}},n.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||[1,0,0,1,0,0],Jo(zh,t.invTransform,e),e=zh);var a=this.originX,r=this.originY;(a||r)&&(R2[4]=a,R2[5]=r,Jo(zh,e,R2),zh[4]-=a,zh[5]-=r,e=zh),this.setLocalTransform(e)}},n.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},n.prototype.transformCoordToLocal=function(t,e){var a=[t,e],r=this.invTransform;return r&&sa(a,a,r),a},n.prototype.transformCoordToGlobal=function(t,e){var a=[t,e],r=this.transform;return r&&sa(a,a,r),a},n.prototype.getLineScale=function(){var t=this.transform;return t&&L2(t[0]-1)>1e-10&&L2(t[3]-1)>1e-10?Math.sqrt(L2(t[0]*t[3]-t[2]*t[1])):1},n.prototype.copyTransform=function(t){mL(this,t)},n.getLocalTransform=function(t,e){e=e||[];var a=t.originX||0,r=t.originY||0,i=t.scaleX,o=t.scaleY,s=t.anchorX,l=t.anchorY,c=t.rotation||0,d=t.x,u=t.y,h=t.skewX?Math.tan(t.skewX):0,f=t.skewY?Math.tan(-t.skewY):0;
vendor: 8,591 bytes, line 1
1if(a||r||s||l){var v=a+s,A=r+l;e[4]=-v*i-h*A*o,e[5]=-A*o-f*v*i}else e[4]=e[5]=0;return e[0]=i,e[3]=o,e[1]=f*i,e[2]=h*o,c&&$c(e,e,c),e[4]+=a+d,e[5]+=r+u,e},n.initDefaultProps=((t=n.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,void(t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0)),n;var t}(),zi=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function mL(n,t){for(var e=0;e<zi.length;e++){var a=zi[e];n[a]=t[a]}}const Xo=Het;var fL={};function ur(n,t){var e=fL[t=t||dl];e||(e=fL[t]=new Ov(500));var a=e.get(n);return null==a&&(a=ei.measureText(n,t).width,e.put(n,a)),a}function gL(n,t,e,a){var r=ur(n,t),i=J0(t),o=qv(0,r,e),s=Eh(0,i,a);return new de(o,s,r,i)}function Ev(n,t,e,a){var r=((n||"")+"").split("\n");if(1===r.length)return gL(r[0],t,e,a);for(var o=new de(0,0,0,0),s=0;s<r.length;s++){var l=gL(r[s],t,e,a);0===s?o.copy(l):o.union(l)}return o}function qv(n,t,e){return"right"===e?n-=t:"center"===e&&(n-=t/2),n}function Eh(n,t,e){return"middle"===e?n-=t/2:"bottom"===e&&(n-=t),n}function J0(n){return ur("\u56fd",n)}function ii(n,t){return"string"==typeof n?n.lastIndexOf("%")>=0?parseFloat(n)/100*t:parseFloat(n):n}function Z0(n,t,e){var a=t.position||"inside",r=null!=t.distance?t.distance:5,i=e.height,o=e.width,s=i/2,l=e.x,c=e.y,d="left",u="top";if(a instanceof Array)l+=ii(a[0],e.width),c+=ii(a[1],e.height),d=null,u=null;else switch(a){case"left":l-=r,c+=s,d="right",u="middle";break;case"right":l+=r+o,c+=s,u="middle";break;case"top":l+=o/2,c-=r,d="center",u="bottom";break;case"bottom":l+=o/2,c+=i+r,d="center";break;case"inside":l+=o/2,c+=s,d="center",u="middle";break;case"insideLeft":l+=r,c+=s,u="middle";break;case"insideRight":l+=o-r,c+=s,d="right",u="middle";break;case"insideTop":l+=o/2,c+=r,d="center";break;case"insideBottom":l+=o/2,c+=i-r,d="center",u="bottom";break;case"insideTopLeft":l+=r,c+=r;break;case"insideTopRight":l+=o-r,c+=r,d="right";break;case"insideBottomLeft":l+=r,c+=i-r,u="bottom";break;case"insideBottomRight":l+=o-r,c+=i-r,d="right",u="bottom"}return(n=n||{}).x=l,n.y=c,n.align=d,n.verticalAlign=u,n}var N2="__zr_normal__",U2=zi.concat(["ignore"]),Bet=Li(zi,function(n,t){return n[t]=!0,n},{ignore:!1}),qh={},jet=new de(0,0,0,0),F2=function(){function n(t){this.id=pR(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return n.prototype._init=function(t){this.attr(t)},n.prototype.drift=function(t,e,a){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=t,r[5]+=e,this.decomposeTransform(),this.markRedraw()},n.prototype.beforeUpdate=function(){},n.prototype.afterUpdate=function(){},n.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},n.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var a=this.textConfig,r=a.local,i=e.innerTransformable,o=void 0,s=void 0,l=!1;i.parent=r?this:null;var c=!1;if(i.copyTransform(e),null!=a.position){var d=jet;a.layoutRect?d.copy(a.layoutRect):d.copy(this.getBoundingRect()),r||d.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(qh,a,d):Z0(qh,a,d),i.x=qh.x,i.y=qh.y,o=qh.align,s=qh.verticalAlign;var u=a.origin;if(u&&null!=a.rotation){var h=void 0,f=void 0;"center"===u?(h=.5*d.width,f=.5*d.height):(h=ii(u[0],d.width),f=ii(u[1],d.height)),c=!0,i.originX=-i.x+h+(r?0:d.x),i.originY=-i.y+f+(r?0:d.y)}}null!=a.rotation&&(i.rotation=a.rotation);var v=a.offset;v&&(i.x+=v[0],i.y+=v[1],c||(i.originX=-v[0],i.originY=-v[1]));var A=null==a.inside?"string"==typeof a.position&&a.position.indexOf("inside")>=0:a.inside,b=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),x=void 0,S=void 0,k=void 0;A&&this.canBeInsideText()?(x=a.insideFill,S=a.insideStroke,(null==x||"auto"===x)&&(x=this.getInsideTextFill()),(null==S||"auto"===S)&&(S=this.getInsideTextStroke(x),k=!0)):(x=a.outsideFill,S=a.outsideStroke,(null==x||"auto"===x)&&(x=this.getOutsideFill()),(null==S||"auto"===S)&&(S=this.getOutsideStroke(x),k=!0)),((x=x||"#000")!==b.fill||S!==b.stroke||k!==b.autoStroke||o!==b.align||s!==b.verticalAlign)&&(l=!0,b.fill=x,b.stroke=S,b.autoStroke=k,b.align=o,b.verticalAlign=s,e.setDefaultTextStyle(b)),e.__dirty|=1,l&&e.dirtyStyle(!0)}},n.prototype.canBeInsideText=function(){return!0},n.prototype.getInsideTextFill=function(){return"#fff"},n.prototype.getInsideTextStroke=function(t){return"#000"},n.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?O2:M2},n.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),a="string"==typeof e&&Ya(e);a||(a=[255,255,255,1]);for(var r=a[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)a[o]=a[o]*r+(i?0:255)*(1-r);return a[3]=1,Vi(a,"rgba")},n.prototype.traverse=function(t,e){},n.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},ft(this.extra,e)):this[t]=e},n.prototype.hide=function(){this.ignore=!0,this.markRedraw()},n.prototype.show=function(){this.ignore=!1,this.markRedraw()},n.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(Xt(t))for(var r=ve(t),i=0;i<r.length;i++){var o=r[i];this.attrKV(o,t[o])}return this.markRedraw(),this},n.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,a=0;a<this.animators.length;a++){var r=this.animators[a],i=r.__fromStateTransition;if(!(r.getLoop()||i&&i!==N2)){var o=r.targetName,s=o?e[o]:e;r.saveTo(s)}}},n.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,U2)},n.prototype._savePrimaryToNormal=function(t,e,a){for(var r=0;r<a.length;r++){var i=a[r];null!=t[i]&&!(i in e)&&(e[i]=this[i])}},n.prototype.hasState=function(){return this.currentStates.length>0},n.prototype.getState=function(t){return this.states[t]},n.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},n.prototype.clearStates=function(t){this.useState(N2,!1,t)},n.prototype.useState=function(t,e,a,r){var i=t===N2;if(this.hasState()||!i){var s=this.currentStates,l=this.stateTransition;if(!(pe(s,t)>=0)||!e&&1!==s.length){var c;if(this.stateProxy&&!i&&(c=this.stateProxy(t)),c||(c=this.states&&this.states[t]),!c&&!i)return void Vk("State "+t+" not exists.");i||this.saveCurrentToNormalState(c);var d=!!(c&&c.hoverLayer||r);d&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,c,this._normalState,e,!a&&!this.__inHover&&l&&l.duration>0,l);var u=this._textContent,h=this._textGuide;return u&&u.useState(t,e,a,d),h&&h.useState(t,e,a,d),i?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),c}}},n.prototype.useStates=function(t,e,a){if(t.length){var r=[],i=this.currentStates,o=t.length,s=o===i.length;if(s)for(var l=0;l<o;l++)if(t[l]!==i[l]){s=!1;break}if(s)return;for(l=0;l<o;l++){var c=t[l],d=void 0;this.stateProxy&&(d=this.stateProxy(c,t)),d||(d=this.states[c]),d&&r.push(d)}var u=r[o-1],h=!!(u&&u.hoverLayer||a);h&&this._toggleHoverLayerFlag(!0);var f=this._mergeStates(r),v=this.stateTransition;this.saveCurrentToNormalState(f),this._applyStateObj(t.join(","),f,this._normalState,!1,!e&&!this.__inHover&&v&&v.duration>0,v);var A=this._textContent,b=this._textGuide;A&&A.useStates(t,e,h),b&&b.useStates(t,e,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},n.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},n.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},n.prototype.removeState=function(t){var e=pe(this.currentStates,t);if(e>=0){var a=this.currentStates.slice();a.splice(e,1),this.useStates(a)}},n.prototype.replaceState=function(t,e,a){var r=this.currentStates.slice(),i=pe(r,t),o=pe(r,e)>=0;i>=0?o?r.splice(i,1):r[i]=e:a&&!o&&r.push(e),this.useStates(r)},n.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},n.prototype._mergeStates=function(t){for(var a,e={},r=0;r<t.length;r++){var i=t[r];
vendor: 9,053 bytes, line 1
1ft(e,i),i.textConfig&&ft(a=a||{},i.textConfig)}return a&&(e.textConfig=a),e},n.prototype._applyStateObj=function(t,e,a,r,i,o){var s=!(e&&r);e&&e.textConfig?(this.textConfig=ft({},r?this.textConfig:a.textConfig),ft(this.textConfig,e.textConfig)):s&&a.textConfig&&(this.textConfig=a.textConfig);for(var l={},c=!1,d=0;d<U2.length;d++){var u=U2[d],h=i&&Bet[u];e&&null!=e[u]?h?(c=!0,l[u]=e[u]):this[u]=e[u]:s&&null!=a[u]&&(h?(c=!0,l[u]=a[u]):this[u]=a[u])}if(!i)for(d=0;d<this.animators.length;d++){var f=this.animators[d],v=f.targetName;f.getLoop()||f.__changeFinalValue(v?(e||a)[v]:e||a)}c&&this._transitionState(t,l,o)},n.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},n.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},n.prototype.getClipPath=function(){return this._clipPath},n.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},n.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},n.prototype.getTextContent=function(){return this._textContent},n.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new Xo,this._attachComponent(t),this._textContent=t,this.markRedraw())},n.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),ft(this.textConfig,t),this.markRedraw()},n.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},n.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},n.prototype.getTextGuideLine=function(){return this._textGuide},n.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},n.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},n.prototype.markRedraw=function(){this.__dirty|=1;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},n.prototype.dirty=function(){this.markRedraw()},n.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,a=this._textGuide;e&&(e.__inHover=t),a&&(a.__inHover=t)},n.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var a=0;a<e.length;a++)t.animation.addAnimator(e[a]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},n.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var a=0;a<e.length;a++)t.animation.removeAnimator(e[a]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},n.prototype.animate=function(t,e,a){var r=t?this[t]:this,i=new S2(r,e,a);return t&&(i.targetName=t),this.addAnimator(i,t),i},n.prototype.addAnimator=function(t,e){var a=this.__zr,r=this;t.during(function(){r.updateDuringAnimation(e)}).done(function(){var i=r.animators,o=pe(i,t);o>=0&&i.splice(o,1)}),this.animators.push(t),a&&a.animation.addAnimator(t),a&&a.wakeUp()},n.prototype.updateDuringAnimation=function(t){this.markRedraw()},n.prototype.stopAnimation=function(t,e){for(var a=this.animators,r=a.length,i=[],o=0;o<r;o++){var s=a[o];t&&t!==s.scope?i.push(s):s.stop(e)}return this.animators=i,this},n.prototype.animateTo=function(t,e,a){V2(this,t,e,a)},n.prototype.animateFrom=function(t,e,a){V2(this,t,e,a,!0)},n.prototype._transitionState=function(t,e,a,r){for(var i=V2(this,e,a,r),o=0;o<i.length;o++)i[o].__fromStateTransition=t},n.prototype.getBoundingRect=function(){return null},n.prototype.getPaintRect=function(){return null},n.initDefaultProps=function(){var t=n.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=1;function r(i,o,s,l){function c(d,u){Object.defineProperty(u,0,{get:function(){return d[s]},set:function(h){d[s]=h}}),Object.defineProperty(u,1,{get:function(){return d[l]},set:function(h){d[l]=h}})}Object.defineProperty(t,i,{get:function(){this[o]||c(this,this[o]=[]);return this[o]},set:function(d){this[s]=d[0],this[l]=d[1],this[o]=d,c(this,d)}})}Object.defineProperty&&(r("position","_legacyPos","x","y"),r("scale","_legacyScale","scaleX","scaleY"),r("origin","_legacyOrigin","originX","originY"))}(),n}();function V2(n,t,e,a,r){var i=[];vL(n,"",n,t,e=e||{},a,i,r);var o=i.length,s=!1,l=e.done,c=e.aborted,d=function(){s=!0,--o<=0&&(s?l&&l():c&&c())},u=function(){--o<=0&&(s?l&&l():c&&c())};o||l&&l(),i.length>0&&e.during&&i[0].during(function(v,A){e.during(A)});for(var h=0;h<i.length;h++){var f=i[h];d&&f.done(d),u&&f.aborted(u),e.force&&f.duration(e.duration),f.start(e.easing)}return i}function z2(n,t,e){for(var a=0;a<e;a++)n[a]=t[a]}function Ket(n,t,e){if(_a(t[e]))if(_a(n[e])||(n[e]=[]),Xa(t[e])){var a=t[e].length;n[e].length!==a&&(n[e]=new t[e].constructor(a),z2(n[e],t[e],a))}else{var r=t[e],i=n[e],o=r.length;if(function Get(n){return _a(n[0])}(r))for(var s=r[0].length,l=0;l<o;l++)i[l]?z2(i[l],r[l],s):i[l]=Array.prototype.slice.call(r[l]);else z2(i,r,o);i.length=r.length}else n[e]=t[e]}function vL(n,t,e,a,r,i,o,s){for(var l=ve(a),c=r.duration,d=r.delay,u=r.additive,h=r.setToFinal,f=!Xt(i),v=n.animators,A=[],b=0;b<l.length;b++){var x=l[b],S=a[x];if(null!=S&&null!=e[x]&&(f||i[x]))if(!Xt(S)||_a(S)||b0(S))A.push(x);else{if(t){s||(e[x]=S,n.updateDuringAnimation(t));continue}vL(n,x,e[x],S,r,i&&i[x],o,s)}else s||(e[x]=S,n.updateDuringAnimation(t),A.push(x))}var k=A.length;if(!u&&k)for(var D=0;D<v.length;D++){if((I=v[D]).targetName===t)if(I.stopTracks(A)){var R=pe(v,I);v.splice(R,1)}}if(r.force||(A=Ne(A,function(B){return!function Wet(n,t){return n===t||_a(n)&&_a(t)&&function Jet(n,t){var e=n.length;if(e!==t.length)return!1;for(var a=0;a<e;a++)if(n[a]!==t[a])return!1;return!0}(n,t)}(a[B],e[B])}),k=A.length),k>0||r.force&&!o.length){var I,N=void 0,U=void 0,z=void 0;if(s){U={},h&&(N={});for(D=0;D<k;D++){U[x=A[D]]=e[x],h?N[x]=a[x]:e[x]=a[x]}}else if(h){z={};for(D=0;D<k;D++){z[x=A[D]]=Fv(e[x]),Ket(e,a,x)}}(I=new S2(e,!1,!1,u?Ne(v,function(K){return K.targetName===t}):null)).targetName=t,r.scope&&(I.scope=r.scope),h&&N&&I.whenWithKeys(0,N,A),z&&I.whenWithKeys(0,z,A),I.whenWithKeys(c??500,s?U:a,A).delay(d||0),n.addAnimator(I,t),o.push(I)}}Mn(F2,Cr),Mn(F2,Xo);const AL=F2;var yL=function(n){function t(e){var a=n.call(this)||this;return a.isGroup=!0,a._children=[],a.attr(e),a}return cn(t,n),t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var a=this._children,r=0;r<a.length;r++)if(a[r].name===e)return a[r]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},t.prototype.addBefore=function(e,a){if(e&&e!==this&&e.parent!==this&&a&&a.parent===this){var r=this._children,i=r.indexOf(a);i>=0&&(r.splice(i,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,a){var r=pe(this._children,e);return r>=0&&this.replaceAt(a,r),this},t.prototype.replaceAt=function(e,a){var r=this._children,i=r[a];if(e&&e!==this&&e.parent!==this&&e!==i){r[a]=e,i.parent=null;var o=this.__zr;o&&i.removeSelfFromZr(o),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var a=this.__zr;a&&a!==e.__zr&&e.addSelfToZr(a),a&&a.refresh()},t.prototype.remove=function(e){var a=this.__zr,r=this._children,i=pe(r,e);return i<0||(r.splice(i,1),e.parent=null,a&&e.removeSelfFromZr(a),a&&a.refresh()),this},t.prototype.removeAll=function(){for(var e=this._children,a=this.__zr,r=0;r<e.length;r++){var i=e[r];a&&i.removeSelfFromZr(a),i.parent=null}return e.length=0,this},t.prototype.eachChild=function(e,a){for(var r=this._children,i=0;i<r.length;i++){var o=r[i];e.call(a,o,i)}return this},t.prototype.traverse=function(e,a){for(var r=0;r<this._children.length;r++){var i=this._children[r],o=e.call(a,i);i.isGroup&&!o&&i.traverse(e,a)}return this},t.prototype.addSelfToZr=function(e){n.prototype.addSelfToZr.call(this,e);for(var a=0;a<this._children.length;a++){this._children[a].addSelfToZr(e)}},t.prototype.removeSelfFromZr=function(e){n.prototype.removeSelfFromZr.call(this,e);for(var a=0;a<this._children.length;a++){this._children[a].removeSelfFromZr(e)}},t.prototype.getBoundingRect=function(e){for(var a=new de(0,0,0,0),r=e||this._children,i=[],o=null,s=0;s<r.length;s++){var l=r[s];
vendor: 12,379 bytes, line 1
1if(!l.ignore&&!l.invisible){var c=l.getBoundingRect(),d=l.getLocalTransform(i);d?(de.applyTransform(a,c,d),(o=o||a.clone()).union(a)):(o=o||c.clone()).union(c)}}return o||a},t}(AL);yL.prototype.type="group";const te=yL;var X0={},sd={};var E2,Yet=function(){function n(t,e,a){var r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,a=a||{},this.dom=e,this.id=t;var i=new ret,o=a.renderer||"canvas";X0[o]||(o=ve(X0)[0]),a.useDirtyRect=null!=a.useDirtyRect&&a.useDirtyRect;var s=new X0[o](e,i,a,t),l=a.ssr||s.ssrOnly;this.storage=i,this.painter=s;var f,c=we.node||we.worker||l?null:new Eet(s.getViewportRoot(),s.root),d=a.useCoarsePointer;(null==d||"auto"===d?we.touchEventsSupported:!!d)&&(f=ie(a.pointerSize,44)),this.handler=new $tt(i,s,c,s.root,f),this.animation=new Oet({stage:{update:l?null:function(){return r._flush(!0)}}}),l||this.animation.start()}return n.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},n.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},n.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},n.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function Xet(n){if(!n)return!1;if("string"==typeof n)return V0(n,1)<.4;if(n.colorStops){for(var t=n.colorStops,e=0,a=t.length,r=0;r<a;r++)e+=V0(t[r].color,1);return(e/=a)<.4}return!1}(t))},n.prototype.getBackgroundColor=function(){return this._backgroundColor},n.prototype.setDarkMode=function(t){this._darkMode=t},n.prototype.isDarkMode=function(){return this._darkMode},n.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},n.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},n.prototype.flush=function(){this._disposed||this._flush(!1)},n.prototype._flush=function(t){var e,a=Vh();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var r=Vh();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:r-a})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},n.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},n.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},n.prototype.refreshHover=function(){this._needsRefreshHover=!0},n.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},n.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},n.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},n.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},n.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},n.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},n.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},n.prototype.on=function(t,e,a){return this._disposed||this.handler.on(t,e,a),this},n.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},n.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},n.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof te&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},n.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,function Zet(n){delete sd[n]}(this.id))},n}();function bL(n,t){var e=new Yet(pR(),n,t);return sd[e.id]=e,e}function Fe(n,t,e,a){var r=t[0],i=t[1],o=e[0],s=e[1],l=i-r,c=s-o;if(0===l)return 0===c?o:(o+s)/2;if(a)if(l>0){if(n<=r)return o;if(n>=i)return s}else{if(n>=r)return o;if(n<=i)return s}else{if(n===r)return o;if(n===i)return s}return(n-r)/l*c+o}function Ot(n,t){switch(n){case"center":case"middle":n="50%";break;case"left":case"top":n="0%";break;case"right":case"bottom":n="100%"}return Lt(n)?function ent(n){return n.replace(/^\s+|\s+$/g,"")}(n).match(/%$/)?parseFloat(n)/100*t:parseFloat(n):null==n?NaN:+n}function wn(n,t,e){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),n=(+n).toFixed(t),e?n:+n}function Ir(n){return n.sort(function(t,e){return t-e}),n}function Ei(n){if(n=+n,isNaN(n))return 0;if(n>1e-14)for(var t=1,e=0;e<15;e++,t*=10)if(Math.round(n*t)/t===n)return e;return function nnt(n){var t=n.toString().toLowerCase(),e=t.indexOf("e"),a=e>0?+t.slice(e+1):0,r=e>0?e:t.length,i=t.indexOf("."),o=i<0?0:r-1-i;return Math.max(0,o-a)}(n)}function SL(n,t){var e=Math.log,a=Math.LN10,r=Math.floor(e(n[1]-n[0])/a),i=Math.round(e(Math.abs(t[1]-t[0]))/a),o=Math.min(Math.max(-r+i,0),20);return isFinite(o)?o:20}function wL(n,t){var e=Li(n,function(f,v){return f+(isNaN(v)?0:v)},0);if(0===e)return[];for(var a=Math.pow(10,t),r=At(n,function(f){return(isNaN(f)?0:f)/e*a*100}),i=100*a,o=At(r,function(f){return Math.floor(f)}),s=Li(o,function(f,v){return f+v},0),l=At(r,function(f,v){return f-o[v]});s<i;){for(var c=Number.NEGATIVE_INFINITY,d=null,u=0,h=l.length;u<h;++u)l[u]>c&&(c=l[u],d=u);++o[d],l[d]=0,++s}return At(o,function(f){return f/a})}function ant(n,t){var e=Math.max(Ei(n),Ei(t)),a=n+t;return e>20?a:wn(a,e)}var kL=9007199254740991;function CL(n){var t=2*Math.PI;return(n%t+t)%t}function Hv(n){return n>-1e-4&&n<1e-4}var rnt=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function qi(n){if(n instanceof Date)return n;if(Lt(n)){var t=rnt.exec(n);if(!t)return new Date(NaN);if(t[8]){var e=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(e-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,e,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}return null==n?new Date(NaN):new Date(Math.round(n))}function q2(n){if(0===n)return 0;var t=Math.floor(Math.log(n)/Math.LN10);return n/Math.pow(10,t)>=10&&t++,t}function DL(n,t){var e=q2(n),a=Math.pow(10,e),r=n/a;return n=(t?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*a,e>=-20?+n.toFixed(e<0?-e:0):n}function H2(n,t){var e=(n.length-1)*t+1,a=Math.floor(e),r=+n[a-1],i=e-a;return i?r+i*(n[a]-r):r}function TL(n){n.sort(function(l,c){return s(l,c,0)?-1:1});for(var t=-1/0,e=1,a=0;a<n.length;){for(var r=n[a].interval,i=n[a].close,o=0;o<2;o++)r[o]<=t&&(r[o]=t,i[o]=o?1:1-e),t=r[o],e=i[o];r[0]===r[1]&&i[0]*i[1]!=1?n.splice(a,1):a++}return n;function s(l,c,d){return l.interval[d]<c.interval[d]||l.interval[d]===c.interval[d]&&(l.close[d]-c.close[d]==(d?-1:1)||!d&&s(l,c,1))}}function Yo(n){var t=parseFloat(n);return t==n&&(0!==t||!Lt(n)||n.indexOf("x")<=0)?t:NaN}function PL(n){return!isNaN(Yo(n))}function IL(){return Math.round(9*Math.random())}function ML(n,t){return 0===t?n:ML(t,n%t)}function OL(n,t){return null==n?t:null==t?n:n*t/ML(n,t)}function RL(n,t,e){return(t-n)*e+n}var LL="series\0";function Be(n){return n instanceof Array?n:null==n?[]:[n]}function ld(n,t,e){if(n){n[t]=n[t]||{},n.emphasis=n.emphasis||{},n.emphasis[t]=n.emphasis[t]||{};for(var a=0,r=e.length;a<r;a++){var i=e[a];!n.emphasis[t].hasOwnProperty(i)&&n[t].hasOwnProperty(i)&&(n.emphasis[t][i]=n[t][i])}}}var UL=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function Hh(n){return!Xt(n)||vt(n)||n instanceof Date?n:n.value}function ont(n){return Xt(n)&&!(n instanceof Array)}function FL(n,t,e){var a="normalMerge"===e,r="replaceMerge"===e,i="replaceAll"===e;n=n||[],t=(t||[]).slice();var o=Et();q(t,function(l,c){Xt(l)||(t[c]=null)});var s=function snt(n,t,e){var a=[];if("replaceAll"===e)return a;for(var r=0;r<n.length;r++){var i=n[r];i&&null!=i.id&&t.set(i.id,r),a.push({existing:"replaceMerge"===e||jv(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return a}(n,o,e);return(a||r)&&function lnt(n,t,e,a){q(a,function(r,i){if(r&&null!=r.id){var o=Bv(r.id),s=e.get(o);if(null!=s){var l=n[s];Oa(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=r,l.existing=t[s],a[i]=null}}})}(s,n,o,t),a&&function cnt(n,t){q(t,function(e,a){if(e&&null!=e.name)for(var r=0;r<n.length;r++){var i=n[r].existing;if(!n[r].newOption&&i&&(null==i.id||null==e.id)&&!jv(e)&&!jv(i)&&VL("name",i,e))return n[r].newOption=e,void(t[a]=null)}})}(s,t),a||r?function dnt(n,t,e){q(t,function(a){if(a){for(var r,i=0;(r=n[i])&&(r.newOption||jv(r.existing)||r.existing&&null!=a.id&&!VL("id",a,r.existing));)i++;r?(r.newOption=a,r.brandNew=e):n.push({newOption:a,brandNew:e,existing:null,keyInfo:null}),i++}})}(s,t,r):i&&function unt(n,t){q(t,function(e){n.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})})}(s,t),function pnt(n){var t=Et();q(n,function(e){var a=e.existing;a&&t.set(a.id,e)}),q(n,function(e){var a=e.newOption;Oa(!a||null==a.id||!t.get(a.id)||t.get(a.id)===e,"id duplicates: "+(a&&a.id)),a&&null!=a.id&&t.set(a.id,e),!e.keyInfo&&(e.keyInfo={})}),q(n,function(e,a){var r=e.existing,i=e.newOption,o=e.keyInfo;if(Xt(i)){if(o.name=null!=i.name?Bv(i.name):r?r.name:LL+a,r)o.id=Bv(r.id);else if(null!=i.id)o.id=Bv(i.id);else{var s=0;do{o.id="\0"+o.name+"\0"+s++}while(t.get(o.id))}t.set(o.id,e)}})}(s),s}function VL(n,t,e){var a=zn(t[n],null),r=zn(e[n],null);return null!=a&&null!=r&&a===r}function Bv(n){return zn(n,"")}function zn(n,t){return null==n?t:Lt(n)?n:ke(n)||Ek(n)?n+"":t}function B2(n){var t=n.name;return!(!t||!t.indexOf(LL))}function jv(n){return n&&null!=n.id&&0===Bv(n.id).indexOf("\0_ec_\0")}function cd(n,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?vt(t.dataIndex)?At(t.dataIndex,function(e){return n.indexOfRawIndex(e)}):n.indexOfRawIndex(t.dataIndex):null!=t.name?vt(t.name)?At(t.name,function(e){return n.indexOfName(e)}):n.indexOfName(t.name):void 0}function _e(){var n="__ec_inner_"+vnt++;return function(t){return t[n]||(t[n]={})}}var vnt=IL();function Gv(n,t,e){var a=j2(t,e),r=a.mainTypeSpecified,i=a.queryOptionMap,s=a.others,l=e?e.defaultMainType:null;return!r&&l&&i.set(l,{}),i.each(function(c,d){var u=Kv(n,d,c,{useDefault:l===d,enableAll:!e||null==e.enableAll||e.enableAll,enableNone:!e||null==e.enableNone||e.enableNone});s[d+"Models"]=u.models,s[d+"Model"]=u.models[0]}),s}function j2(n,t){var e;if(Lt(n)){var a={};a[n+"Index"]=0,e=a}else e=n;var r=Et(),i={},o=!1;return q(e,function(s,l){if("dataIndex"!==l&&"dataIndexInside"!==l){var c=l.match(/^(\w+)(Index|Id|Name)$/)||[],d=c[1],u=(c[2]||"").toLowerCase();if(d&&u&&!(t&&t.includeMainTypes&&pe(t.includeMainTypes,d)<0))o=o||!!d,(r.get(d)||r.set(d,{}))[u]=s}else i[l]=s}),{mainTypeSpecified:o,queryOptionMap:r,others:i}}var On={useDefault:!0,enableAll:!1,enableNone:!1},Ant={useDefault:!1,enableAll:!0,enableNone:!0};function Kv(n,t,e,a){a=a||On;var r=e.index,i=e.id,o=e.name,s={models:null,specified:null!=r||null!=i||null!=o};if(!s.specified){var l=void 0;return s.models=a.useDefault&&(l=n.getComponent(t))?[l]:[],s}return"none"===r||!1===r?(Oa(a.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===r&&(Oa(a.enableAll,'`"all"` is not a valid value on index option.'),r=i=o=null),s.models=n.queryComponents({mainType:t,index:r,id:i,name:o}),s)}function zL(n,t,e){n.setAttribute?n.setAttribute(t,e):n[t]=e}function G2(n,t){var e=Et(),a=[];return q(n,function(r){var i=t(r);(e.get(i)||(a.push(i),e.set(i,[]))).push(r)}),{keys:a,buckets:e}}function EL(n,t,e,a,r){var i=null==t||"auto"===t;if(null==a)return a;
vendor: 8,169 bytes, line 1
1if(ke(a))return wn(o=RL(e||0,a,r),i?Math.max(Ei(e||0),Ei(a)):t);if(Lt(a))return r<1?e:a;for(var s=[],l=e,c=a,d=Math.max(l?l.length:0,c.length),u=0;u<d;++u){var h=n.getDimensionInfo(u);if(h&&"ordinal"===h.type)s[u]=(r<1&&l?l:c)[u];else{var f=l&&l[u]?l[u]:0,v=c[u],o=RL(f,v,r);s[u]=wn(o,i?Math.max(Ei(f),Ei(v)):t)}}return s}var dd="___EC__COMPONENT__CONTAINER___",qL="___EC__EXTENDED_CLASS___";function Hi(n){var t={main:"",sub:""};if(n){var e=n.split(".");t.main=e[0]||"",t.sub=e[1]||""}return t}function K2(n,t){n.$constructor=n,n.extend=function(e){var r,a=this;return function wnt(n){return jt(n)&&/^class\s/.test(Function.prototype.toString.call(n))}(a)?r=function(i){function o(){return i.apply(this,arguments)||this}return pt(o,i),o}(a):(r=function(){(e.$constructor||a).apply(this,arguments)},function vtt(n,t){var e=n.prototype;function a(){}for(var r in a.prototype=t.prototype,n.prototype=new a,e)e.hasOwnProperty(r)&&(n.prototype[r]=e[r]);n.prototype.constructor=n,n.superClass=t}(r,this)),ft(r.prototype,e),r[qL]=!0,r.extend=this.extend,r.superCall=Dnt,r.superApply=Tnt,r.superClass=a,r}}function HL(n,t){n.extend=t.extend}var knt=Math.round(10*Math.random());function Dnt(n,t){for(var e=[],a=2;a<arguments.length;a++)e[a-2]=arguments[a];return this.superClass.prototype[t].apply(n,e)}function Tnt(n,t,e){return this.superClass.prototype[t].apply(n,e)}function Y0(n){var t={};n.registerClass=function(a){var r=a.type||a.prototype.type;if(r){(function xnt(n){Oa(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal')})(r),a.prototype.type=r;var i=Hi(r);if(i.sub){if(i.sub!==dd){var o=function e(a){var r=t[a.main];return(!r||!r[dd])&&((r=t[a.main]={})[dd]=!0),r}(i);o[i.sub]=a}}else t[i.main]=a}return a},n.getClass=function(a,r,i){var o=t[a];if(o&&o[dd]&&(o=r?o[r]:null),i&&!o)throw new Error(r?"Component "+a+"."+(r||"")+" is used but not imported.":a+".type should be specified.");return o},n.getClassesByMainType=function(a){var r=Hi(a),i=[],o=t[r.main];return o&&o[dd]?q(o,function(s,l){l!==dd&&i.push(s)}):i.push(o),i},n.hasClass=function(a){var r=Hi(a);return!!t[r.main]},n.getAllClassMainTypes=function(){var a=[];return q(t,function(r,i){a.push(i)}),a},n.hasSubTypes=function(a){var r=Hi(a),i=t[r.main];return i&&i[dd]}}function ud(n,t){for(var e=0;e<n.length;e++)n[e][1]||(n[e][1]=n[e][0]);return t=t||!1,function(a,r,i){for(var o={},s=0;s<n.length;s++){var l=n[s][1];if(!(r&&pe(r,l)>=0||i&&pe(i,l)<0)){var c=a.getShallow(l,t);null!=c&&(o[n[s][0]]=c)}}return o}}var Int=ud([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),Mnt=function(){function n(){}return n.prototype.getAreaStyle=function(t,e){return Int(this,t,e)},n}(),W2=new Ov(50);function Ont(n){if("string"==typeof n){var t=W2.get(n);return t&&t.image}return n}function J2(n,t,e,a,r){if(n){if("string"==typeof n){if(t&&t.__zrImageSrc===n||!e)return t;var i=W2.get(n),o={hostEl:e,cb:a,cbPayload:r};return i?!Q0(t=i.image)&&i.pending.push(o):((t=ei.loadImage(n,BL,BL)).__zrImageSrc=n,W2.put(n,t.__cachedImgObj={image:t,pending:[o]})),t}return n}return t}function BL(){var n=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<n.pending.length;t++){var e=n.pending[t],a=e.cb;a&&a(this,e.cbPayload),e.hostEl.dirty()}n.pending.length=0}function Q0(n){return n&&n.width&&n.height}var Z2=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function jL(n,t,e,a,r,i){if(!e)return n.text="",void(n.isTruncated=!1);var o=(t+"").split("\n");i=GL(e,a,r,i);for(var s=!1,l={},c=0,d=o.length;c<d;c++)KL(l,o[c],i),o[c]=l.textLine,s=s||l.isTruncated;n.text=o.join("\n"),n.isTruncated=s}function GL(n,t,e,a){var r=ft({},a=a||{});r.font=t,e=ie(e,"..."),r.maxIterations=ie(a.maxIterations,2);var i=r.minChar=ie(a.minChar,0);r.cnCharWidth=ur("\u56fd",t);var o=r.ascCharWidth=ur("a",t);r.placeholder=ie(a.placeholder,"");for(var s=n=Math.max(0,n-1),l=0;l<i&&s>=o;l++)s-=o;var c=ur(e,t);return c>s&&(e="",c=0),s=n-c,r.ellipsis=e,r.ellipsisWidth=c,r.contentWidth=s,r.containerWidth=n,r}function KL(n,t,e){var a=e.containerWidth,r=e.font,i=e.contentWidth;if(!a)return n.textLine="",void(n.isTruncated=!1);var o=ur(t,r);if(o<=a)return n.textLine=t,void(n.isTruncated=!1);for(var s=0;;s++){if(o<=i||s>=e.maxIterations){t+=e.ellipsis;break}var l=0===s?Rnt(t,i,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*i/o):0;o=ur(t=t.substr(0,l),r)}""===t&&(t=e.placeholder),n.textLine=t,n.isTruncated=!0}function Rnt(n,t,e,a){for(var r=0,i=0,o=n.length;i<o&&r<t;i++){var s=n.charCodeAt(i);r+=0<=s&&s<=127?e:a}return i}var Nnt=function n(){},WL=function n(t){this.tokens=[],t&&(this.tokens=t)},Unt=function n(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1};function X2(n,t,e,a,r){var d,u,i=""===t,o=r&&e.rich[r]||{},s=n.lines,l=o.font||e.font,c=!1;if(a){var h=o.padding,f=h?h[1]+h[3]:0;if(null!=o.width&&"auto"!==o.width){var v=ii(o.width,a.width)+f;s.length>0&&v+a.accumWidth>a.width&&(d=t.split("\n"),c=!0),a.accumWidth=v}else{var A=JL(t,l,a.width,a.breakAll,a.accumWidth);a.accumWidth=A.accumWidth+f,u=A.linesWidths,d=A.lines}}else d=t.split("\n");for(var b=0;b<d.length;b++){var x=d[b],S=new Nnt;if(S.styleName=r,S.text=x,S.isLineHolder=!x&&!i,"number"==typeof o.width?S.width=o.width:S.width=u?u[b]:ur(x,l),b||c)s.push(new WL([S]));else{var k=(s[s.length-1]||(s[0]=new WL)).tokens,D=k.length;1===D&&k[0].isLineHolder?k[0]=S:(x||!D||i)&&k.push(S)}}}var znt=Li(",&?/;] ".split(""),function(n,t){return n[t]=!0,n},{});function Ent(n){return!function Vnt(n){var t=n.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}(n)||!!znt[n]}function JL(n,t,e,a,r){for(var i=[],o=[],s="",l="",c=0,d=0,u=0;u<n.length;u++){var h=n.charAt(u);if("\n"!==h){var f=ur(h,t),v=!a&&!Ent(h);(i.length?d+f>e:r+d+f>e)?d?(s||l)&&(v?(s||(s=l,l="",d=c=0),i.push(s),o.push(d-c),l+=h,s="",d=c+=f):(l&&(s+=l,l="",c=0),i.push(s),o.push(d),s=h,d=f)):v?(i.push(l),o.push(c),l=h,c=f):(i.push(h),o.push(f)):(d+=f,v?(l+=h,c+=f):(l&&(s+=l,l="",c=0),s+=h))}else l&&(s+=l,d+=c),i.push(s),o.push(d),s="",l="",c=0,d=0}return!i.length&&!s&&(s=n,l="",c=0),l&&(s+=l),s&&(i.push(s),o.push(d)),1===i.length&&(d+=r),{accumWidth:d,lines:i,linesWidths:o}}var Y2="__zr_style_"+Math.round(10*Math.random()),pd={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},$0={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};pd[Y2]=!0;var ZL=["z","z2","invisible"],qnt=["invisible"],Hnt=function(n){function t(e){return n.call(this,e)||this}return cn(t,n),t.prototype._init=function(e){for(var a=ve(e),r=0;r<a.length;r++){var i=a[r];"style"===i?this.useStyle(e[i]):n.prototype.attrKV.call(this,i,e[i])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(e,a,r,i){var o=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function Bnt(n,t,e){return Q2.copy(n.getBoundingRect()),n.transform&&Q2.applyTransform(n.transform),$2.width=t,$2.height=e,!Q2.intersect($2)}(this,e,a)||o&&!o[0]&&!o[3])return!1;if(r&&this.__clipPaths)for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1;if(i&&this.parent)for(var l=this.parent;l;){if(l.ignore)return!1;l=l.parent}return!0},t.prototype.contain=function(e,a){return this.rectContain(e,a)},t.prototype.traverse=function(e,a){e.call(a,this)},t.prototype.rectContain=function(e,a){var r=this.transformCoordToLocal(e,a);return this.getBoundingRect().contain(r[0],r[1])},t.prototype.getPaintRect=function(){var e=this._paintRect;if(!this._paintRect||this.__dirty){var a=this.transform,r=this.getBoundingRect(),i=this.style,o=i.shadowBlur||0,s=i.shadowOffsetX||0,l=i.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new de(0,0,0,0)),a?de.applyTransform(e,r,a):e.copy(r),(o||s||l)&&(e.width+=2*o+Math.abs(s),e.height+=2*o+Math.abs(l),e.x=Math.min(e.x,e.x+s-o),e.y=Math.min(e.y,e.y+l-o));var c=this.dirtyRectTolerance;
vendor: 9,665 bytes, line 1
1e.isZero()||(e.x=Math.floor(e.x-c),e.y=Math.floor(e.y-c),e.width=Math.ceil(e.width+1+2*c),e.height=Math.ceil(e.height+1+2*c))}return e},t.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new de(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(e){return this.animate("style",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(e,a){"style"!==e?n.prototype.attrKV.call(this,e,a):this.style?this.setStyle(a):this.useStyle(a)},t.prototype.setStyle=function(e,a){return"string"==typeof e?this.style[e]=a:ft(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(2&this.__dirty)},t.prototype.styleUpdated=function(){this.__dirty&=-3},t.prototype.createStyle=function(e){return x0(pd,e)},t.prototype.useStyle=function(e){e[Y2]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[Y2]},t.prototype._innerSaveToNormal=function(e){n.prototype._innerSaveToNormal.call(this,e);var a=this._normalState;e.style&&!a.style&&(a.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,a,ZL)},t.prototype._applyStateObj=function(e,a,r,i,o,s){n.prototype._applyStateObj.call(this,e,a,r,i,o,s);var c,l=!(a&&i);if(a&&a.style?o?i?c=a.style:(c=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(c,a.style)):(c=this._mergeStyle(this.createStyle(),i?this.style:r.style),this._mergeStyle(c,a.style)):l&&(c=r.style),c)if(o){var d=this.style;if(this.style=this.createStyle(l?{}:d),l)for(var u=ve(d),h=0;h<u.length;h++){(f=u[h])in c&&(c[f]=c[f],this.style[f]=d[f])}var v=ve(c);for(h=0;h<v.length;h++){var f=v[h];this.style[f]=this.style[f]}this._transitionState(e,{style:c},s,this.getAnimationStyleProps())}else this.useStyle(c);var A=this.__inHover?qnt:ZL;for(h=0;h<A.length;h++){f=A[h];a&&null!=a[f]?this[f]=a[f]:l&&null!=r[f]&&(this[f]=r[f])}},t.prototype._mergeStates=function(e){for(var r,a=n.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.style&&(r=r||{},this._mergeStyle(r,o.style))}return r&&(a.style=r),a},t.prototype._mergeStyle=function(e,a){return ft(e,a),e},t.prototype.getAnimationStyleProps=function(){return $0},t.initDefaultProps=((e=t.prototype).type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,void(e.__dirty=3)),t;var e}(AL),Q2=new de(0,0,0,0),$2=new de(0,0,0,0);const Mr=Hnt;var Qa=Math.min,$a=Math.max,tC=Math.sin,eC=Math.cos,hd=2*Math.PI,t_=Xc(),e_=Xc(),n_=Xc();function a_(n,t,e){if(0!==n.length){for(var a=n[0],r=a[0],i=a[0],o=a[1],s=a[1],l=1;l<n.length;l++)a=n[l],r=Qa(r,a[0]),i=$a(i,a[0]),o=Qa(o,a[1]),s=$a(s,a[1]);t[0]=r,t[1]=o,e[0]=i,e[1]=s}}function XL(n,t,e,a,r,i){r[0]=Qa(n,e),r[1]=Qa(t,a),i[0]=$a(n,e),i[1]=$a(t,a)}var YL=[],QL=[];function jnt(n,t,e,a,r,i,o,s,l,c){var d=HR,u=Gn,h=d(n,e,r,o,YL);l[0]=1/0,l[1]=1/0,c[0]=-1/0,c[1]=-1/0;for(var f=0;f<h;f++){var v=u(n,e,r,o,YL[f]);l[0]=Qa(v,l[0]),c[0]=$a(v,c[0])}h=d(t,a,i,s,QL);for(f=0;f<h;f++){var A=u(t,a,i,s,QL[f]);l[1]=Qa(A,l[1]),c[1]=$a(A,c[1])}l[0]=Qa(n,l[0]),c[0]=$a(n,c[0]),l[0]=Qa(o,l[0]),c[0]=$a(o,c[0]),l[1]=Qa(t,l[1]),c[1]=$a(t,c[1]),l[1]=Qa(s,l[1]),c[1]=$a(s,c[1])}function Gnt(n,t,e,a,r,i,o,s){var l=jR,c=ta,d=$a(Qa(l(n,e,r),1),0),u=$a(Qa(l(t,a,i),1),0),h=c(n,e,r,d),f=c(t,a,i,u);o[0]=Qa(n,r,h),o[1]=Qa(t,i,f),s[0]=$a(n,r,h),s[1]=$a(t,i,f)}function Knt(n,t,e,a,r,i,o,s,l){var c=pl,d=hl,u=Math.abs(r-i);if(u%hd<1e-4&&u>1e-4)return s[0]=n-e,s[1]=t-a,l[0]=n+e,void(l[1]=t+a);if(t_[0]=eC(r)*e+n,t_[1]=tC(r)*a+t,e_[0]=eC(i)*e+n,e_[1]=tC(i)*a+t,c(s,t_,e_),d(l,t_,e_),(r%=hd)<0&&(r+=hd),(i%=hd)<0&&(i+=hd),r>i&&!o?i+=hd:r<i&&o&&(r+=hd),o){var h=i;i=r,r=h}for(var f=0;f<i;f+=Math.PI/2)f>r&&(n_[0]=eC(f)*e+n,n_[1]=tC(f)*a+t,c(s,n_,s),d(l,n_,l))}var Ze={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},md=[],fd=[],Bi=[],yl=[],ji=[],Gi=[],nC=Math.min,aC=Math.max,gd=Math.cos,vd=Math.sin,Qo=Math.abs,rC=Math.PI,bl=2*rC,iC=typeof Float32Array<"u",Wv=[];function oC(n){return Math.round(n/rC*1e8)/1e8%2*rC}function sC(n,t){var e=oC(n[0]);e<0&&(e+=bl);var a=e-n[0],r=n[1];r+=a,!t&&r-e>=bl?r=e+bl:t&&e-r>=bl?r=e-bl:!t&&e>r?r=e+(bl-oC(e-r)):t&&e<r&&(r=e-(bl-oC(r-e))),n[0]=e,n[1]=r}var Wnt=function(){function n(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return n.prototype.increaseVersion=function(){this._version++},n.prototype.getVersion=function(){return this._version},n.prototype.setScale=function(t,e,a){(a=a||0)>0&&(this._ux=Qo(a/W0/t)||0,this._uy=Qo(a/W0/e)||0)},n.prototype.setDPR=function(t){this.dpr=t},n.prototype.setContext=function(t){this._ctx=t},n.prototype.getContext=function(){return this._ctx},n.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},n.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},n.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Ze.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},n.prototype.lineTo=function(t,e){var a=Qo(t-this._xi),r=Qo(e-this._yi),i=a>this._ux||r>this._uy;if(this.addData(Ze.L,t,e),this._ctx&&i&&this._ctx.lineTo(t,e),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=a*a+r*r;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},n.prototype.bezierCurveTo=function(t,e,a,r,i,o){return this._drawPendingPt(),this.addData(Ze.C,t,e,a,r,i,o),this._ctx&&this._ctx.bezierCurveTo(t,e,a,r,i,o),this._xi=i,this._yi=o,this},n.prototype.quadraticCurveTo=function(t,e,a,r){return this._drawPendingPt(),this.addData(Ze.Q,t,e,a,r),this._ctx&&this._ctx.quadraticCurveTo(t,e,a,r),this._xi=a,this._yi=r,this},n.prototype.arc=function(t,e,a,r,i,o){this._drawPendingPt(),Wv[0]=r,Wv[1]=i,sC(Wv,o),r=Wv[0];var s=(i=Wv[1])-r;return this.addData(Ze.A,t,e,a,a,r,s,0,o?0:1),this._ctx&&this._ctx.arc(t,e,a,r,i,o),this._xi=gd(i)*a+t,this._yi=vd(i)*a+e,this},n.prototype.arcTo=function(t,e,a,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,a,r,i),this},n.prototype.rect=function(t,e,a,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,a,r),this.addData(Ze.R,t,e,a,r),this},n.prototype.closePath=function(){this._drawPendingPt(),this.addData(Ze.Z);var t=this._ctx,e=this._x0,a=this._y0;return t&&t.closePath(),this._xi=e,this._yi=a,this},n.prototype.fill=function(t){t&&t.fill(),this.toStatic()},n.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},n.prototype.len=function(){return this._len},n.prototype.setData=function(t){var e=t.length;(!this.data||this.data.length!==e)&&iC&&(this.data=new Float32Array(e));for(var a=0;a<e;a++)this.data[a]=t[a];this._len=e},n.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,a=0,r=this._len,i=0;i<e;i++)a+=t[i].len();iC&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+a));for(i=0;i<e;i++)for(var o=t[i].data,s=0;s<o.length;s++)this.data[r++]=o[s];this._len=r},n.prototype.addData=function(t,e,a,r,i,o,s,l,c){if(this._saveData){var d=this.data;this._len+arguments.length>d.length&&(this._expandData(),d=this.data);for(var u=0;u<arguments.length;u++)d[this._len++]=arguments[u]}},n.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},n.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},n.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,iC&&this._len>11&&(this.data=new Float32Array(t)))}},n.prototype.getBoundingRect=function(){Bi[0]=Bi[1]=ji[0]=ji[1]=Number.MAX_VALUE,yl[0]=yl[1]=Gi[0]=Gi[1]=-Number.MAX_VALUE;var o,t=this.data,e=0,a=0,r=0,i=0;for(o=0;o<this._len;){var s=t[o++],l=1===o;switch(l&&(r=e=t[o],i=a=t[o+1]),s){case Ze.M:e=r=t[o++],a=i=t[o++],ji[0]=r,ji[1]=i,Gi[0]=r,Gi[1]=i;break;case Ze.L:XL(e,a,t[o],t[o+1],ji,Gi),e=t[o++],a=t[o++];break;case Ze.C:jnt(e,a,t[o++],t[o++],t[o++],t[o++],t[o],t[o+1],ji,Gi),e=t[o++],a=t[o++];break;case Ze.Q:Gnt(e,a,t[o++],t[o++],t[o],t[o+1],ji,Gi),e=t[o++],a=t[o++];break;case Ze.A:var c=t[o++],d=t[o++],u=t[o++],h=t[o++],f=t[o++],v=t[o++]+f;o+=1;var A=!t[o++];l&&(r=gd(f)*u+c,i=vd(f)*h+d),Knt(c,d,u,h,f,v,A,ji,Gi),e=gd(v)*u+c,a=vd(v)*h+d;break;case Ze.R:XL(r=e=t[o++],i=a=t[o++],r+t[o++],i+t[o++],ji,Gi);break;case Ze.Z:e=r,a=i}pl(Bi,Bi,ji),hl(yl,yl,Gi)}return 0===o&&(Bi[0]=Bi[1]=yl[0]=yl[1]=0),new de(Bi[0],Bi[1],yl[0]-Bi[0],yl[1]-Bi[1])},n.prototype._calculateLength=function(){var t=this.data,e=this._len,a=this._ux,r=this._uy,i=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var c=this._pathSegLen,d=0,u=0,h=0;h<e;){var f=t[h++],v=1===h;v&&(s=i=t[h],l=o=t[h+1]);var A=-1;switch(f){case Ze.M:i=s=t[h++],o=l=t[h++];break;case Ze.L:var b=t[h++],k=(x=t[h++])-o;(Qo(S=b-i)>a||Qo(k)>r||h===e-1)&&(A=Math.sqrt(S*S+k*k),i=b,o=x);break;case Ze.C:var D=t[h++],I=t[h++],x=(b=t[h++],t[h++]),M=t[h++],R=t[h++];A=iet(i,o,D,I,b,x,M,R,10),i=M,o=R;break;case Ze.Q:A=set(i,o,D=t[h++],I=t[h++],b=t[h++],x=t[h++],10),i=b,o=x;break;case Ze.A:var N=t[h++],U=t[h++],z=t[h++],B=t[h++],K=t[h++],W=t[h++],Z=W
vendor: 4,670 bytes, line 1
1+K;h+=1,v&&(s=gd(K)*z+N,l=vd(K)*B+U),A=aC(z,B)*nC(bl,Math.abs(W)),i=gd(Z)*z+N,o=vd(Z)*B+U;break;case Ze.R:s=i=t[h++],l=o=t[h++],A=2*t[h++]+2*t[h++];break;case Ze.Z:var S=s-i;k=l-o;A=Math.sqrt(S*S+k*k),i=s,o=l}A>=0&&(c[u++]=A,d+=A)}return this._pathLen=d,d},n.prototype.rebuildPath=function(t,e){var s,l,c,d,u,h,v,S,D,I,a=this.data,r=this._ux,i=this._uy,o=this._len,f=e<1,b=0,x=0,k=0;if(!f||(this._pathSegLen||this._calculateLength(),v=this._pathSegLen,S=e*this._pathLen))t:for(var M=0;M<o;){var R=a[M++],N=1===M;switch(N&&(s=c=a[M],l=d=a[M+1]),R!==Ze.L&&k>0&&(t.lineTo(D,I),k=0),R){case Ze.M:s=c=a[M++],l=d=a[M++],t.moveTo(c,d);break;case Ze.L:u=a[M++],h=a[M++];var U=Qo(u-c),z=Qo(h-d);if(U>r||z>i){if(f){if(b+(B=v[x++])>S){var K=(S-b)/B;t.lineTo(c*(1-K)+u*K,d*(1-K)+h*K);break t}b+=B}t.lineTo(u,h),c=u,d=h,k=0}else{var W=U*U+z*z;W>k&&(D=u,I=h,k=W)}break;case Ze.C:var Z=a[M++],X=a[M++],tt=a[M++],rt=a[M++],ot=a[M++],st=a[M++];if(f){if(b+(B=v[x++])>S){gl(c,Z,tt,ot,K=(S-b)/B,md),gl(d,X,rt,st,K,fd),t.bezierCurveTo(md[1],fd[1],md[2],fd[2],md[3],fd[3]);break t}b+=B}t.bezierCurveTo(Z,X,tt,rt,ot,st),c=ot,d=st;break;case Ze.Q:Z=a[M++],X=a[M++],tt=a[M++],rt=a[M++];if(f){if(b+(B=v[x++])>S){Mv(c,Z,tt,K=(S-b)/B,md),Mv(d,X,rt,K,fd),t.quadraticCurveTo(md[1],fd[1],md[2],fd[2]);break t}b+=B}t.quadraticCurveTo(Z,X,tt,rt),c=tt,d=rt;break;case Ze.A:var gt=a[M++],_t=a[M++],Mt=a[M++],zt=a[M++],Bt=a[M++],Qt=a[M++],Pe=a[M++],mn=!a[M++],ue=Mt>zt?Mt:zt,Jt=Qo(Mt-zt)>.001,me=Bt+Qt,Ht=!1;if(f)b+(B=v[x++])>S&&(me=Bt+Qt*(S-b)/B,Ht=!0),b+=B;if(Jt&&t.ellipse?t.ellipse(gt,_t,Mt,zt,Pe,Bt,me,mn):t.arc(gt,_t,ue,Bt,me,mn),Ht)break t;N&&(s=gd(Bt)*Mt+gt,l=vd(Bt)*zt+_t),c=gd(me)*Mt+gt,d=vd(me)*zt+_t;break;case Ze.R:s=c=a[M],l=d=a[M+1],u=a[M++],h=a[M++];var ae=a[M++],rn=a[M++];if(f){if(b+(B=v[x++])>S){var ze=S-b;t.moveTo(u,h),t.lineTo(u+nC(ze,ae),h),(ze-=ae)>0&&t.lineTo(u+ae,h+nC(ze,rn)),(ze-=rn)>0&&t.lineTo(u+aC(ae-ze,0),h+rn),(ze-=ae)>0&&t.lineTo(u,h+aC(rn-ze,0));break t}b+=B}t.rect(u,h,ae,rn);break;case Ze.Z:if(f){var B;if(b+(B=v[x++])>S){K=(S-b)/B;t.lineTo(c*(1-K)+s*K,d*(1-K)+l*K);break t}b+=B}t.closePath(),c=s,d=l}}},n.prototype.clone=function(){var t=new n,e=this.data;return t.data=e.slice?e.slice():Array.prototype.slice.call(e),t._len=this._len,t},n.CMD=Ze,n.initDefaultProps=((t=n.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,void(t._version=0)),n;var t}();const Ki=Wnt;function _l(n,t,e,a,r,i,o){if(0===r)return!1;var s=r,l=0;if(o>t+s&&o>a+s||o<t-s&&o<a-s||i>n+s&&i>e+s||i<n-s&&i<e-s)return!1;if(n===e)return Math.abs(i-n)<=s/2;var d=(l=(t-a)/(n-e))*i-o+(n*a-e*t)/(n-e);return d*d/(l*l+1)<=s/2*s/2}function Jnt(n,t,e,a,r,i,o,s,l,c,d){if(0===l)return!1;var u=l;return!(d>t+u&&d>a+u&&d>i+u&&d>s+u||d<t-u&&d<a-u&&d<i-u&&d<s-u||c>n+u&&c>e+u&&c>r+u&&c>o+u||c<n-u&&c<e-u&&c<r-u&&c<o-u)&&BR(n,t,e,a,r,i,o,s,c,d,null)<=u/2}function $L(n,t,e,a,r,i,o,s,l){if(0===o)return!1;var c=o;return!(l>t+c&&l>a+c&&l>i+c||l<t-c&&l<a-c&&l<i-c||s>n+c&&s>e+c&&s>r+c||s<n-c&&s<e-c&&s<r-c)&&GR(n,t,e,a,r,i,s,l,null)<=c/2}var t3=2*Math.PI;function pr(n){return(n%=t3)<0&&(n+=t3),n}var Jv=2*Math.PI;function Znt(n,t,e,a,r,i,o,s,l){if(0===o)return!1;var c=o;s-=n,l-=t;var d=Math.sqrt(s*s+l*l);if(d-c>e||d+c<e)return!1;if(Math.abs(a-r)%Jv<1e-4)return!0;if(i){var u=a;a=pr(r),r=pr(u)}else a=pr(a),r=pr(r);a>r&&(r+=Jv);var h=Math.atan2(l,s);return h<0&&(h+=Jv),h>=a&&h<=r||h+Jv>=a&&h+Jv<=r}function $o(n,t,e,a,r,i){if(i>t&&i>a||i<t&&i<a||a===t)return 0;var o=(i-t)/(a-t),s=a<t?1:-1;(1===o||0===o)&&(s=a<t?.5:-.5);var l=o*(e-n)+n;return l===r?1/0:l>r?s:0}var xl=Ki.CMD,Ad=2*Math.PI;var La=[-1,-1,-1],Or=[-1,-1];function Qnt(){var n=Or[0];Or[0]=Or[1],Or[1]=n}function $nt(n,t,e,a,r,i,o,s,l,c){if(c>t&&c>a&&c>i&&c>s||c<t&&c<a&&c<i&&c<s)return 0;var d=N0(t,a,i,s,c,La);if(0===d)return 0;for(var u=0,h=-1,f=void 0,v=void 0,A=0;A<d;A++){var b=La[A],x=0===b||1===b?.5:1;Gn(n,e,r,o,b)<l||(h<0&&(h=HR(t,a,i,s,Or),Or[1]<Or[0]&&h>1&&Qnt(),f=Gn(t,a,i,s,Or[0]),h>1&&(v=Gn(t,a,i,s,Or[1]))),2===h?b<Or[0]?u+=f<t?x:-x:b<Or[1]?u+=v<f?x:-x:u+=s<v?x:-x:b<Or[0]?u+=f<t?x:-x:u+=s<f?x:-x)}return u}function tat(n,t,e,a,r,i,o,s){if(s>t&&s>a&&s>i||s<t&&s<a&&s<i)return 0;var l=function oet(n,t,e,a,r){var i=n-2*t+e,o=2*(t-n),s=n-a,l=0;if(fl(i))ER(o)&&(c=-s/o)>=0&&c<=1&&(r[l++]=c);else{var d=o*o-4*i*s;if(fl(d))(c=-o/(2*i))>=0&&c<=1&&(r[l++]=c);else if(d>0){var c,u=ml(d),h=(-o-u)/(2*i);(c=(-o+u)/(2*i))>=0&&c<=1&&(r[l++]=c),h>=0&&h<=1&&(r[l++]=h)}}return l}(t,a,i,s,La);if(0===l)return 0;var c=jR(t,a,i);if(c>=0&&c<=1){for(var d=0,u=ta(t,a,i,c),h=0;h<l;h++){var f=0===La[h]||1===La[h]?.5:1;ta(n,e,r,La[h])<o||(La[h]<c?d+=u<t?f:-f:d+=i<u?f:-f)}return d}f=0===La[0]||1===La[0]?.5:1;return ta(n,e,r,La[0])<o?0:i<t?f:-f}
vendor: 4,278 bytes, line 1
1function eat(n,t,e,a,r,i,o,s){if((s-=t)>e||s<-e)return 0;var l=Math.sqrt(e*e-s*s);La[0]=-l,La[1]=l;var c=Math.abs(a-r);if(c<1e-4)return 0;if(c>=Ad-1e-4){a=0,r=Ad;var d=i?1:-1;return o>=La[0]+n&&o<=La[1]+n?d:0}if(a>r){var u=a;a=r,r=u}a<0&&(a+=Ad,r+=Ad);for(var h=0,f=0;f<2;f++){var v=La[f];if(v+n>o){var A=Math.atan2(s,v);d=i?1:-1;A<0&&(A=Ad+A),(A>=a&&A<=r||A+Ad>=a&&A+Ad<=r)&&(A>Math.PI/2&&A<1.5*Math.PI&&(d=-d),h+=d)}}return h}function e3(n,t,e,a,r){for(var h,f,i=n.data,o=n.len(),s=0,l=0,c=0,d=0,u=0,v=0;v<o;){var A=i[v++],b=1===v;switch(A===xl.M&&v>1&&(e||(s+=$o(l,c,d,u,a,r))),b&&(d=l=i[v],u=c=i[v+1]),A){case xl.M:l=d=i[v++],c=u=i[v++];break;case xl.L:if(e){if(_l(l,c,i[v],i[v+1],t,a,r))return!0}else s+=$o(l,c,i[v],i[v+1],a,r)||0;l=i[v++],c=i[v++];break;case xl.C:if(e){if(Jnt(l,c,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],t,a,r))return!0}else s+=$nt(l,c,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],a,r)||0;l=i[v++],c=i[v++];break;case xl.Q:if(e){if($L(l,c,i[v++],i[v++],i[v],i[v+1],t,a,r))return!0}else s+=tat(l,c,i[v++],i[v++],i[v],i[v+1],a,r)||0;l=i[v++],c=i[v++];break;case xl.A:var x=i[v++],S=i[v++],k=i[v++],D=i[v++],I=i[v++],M=i[v++];v+=1;var R=!!(1-i[v++]);h=Math.cos(I)*k+x,f=Math.sin(I)*D+S,b?(d=h,u=f):s+=$o(l,c,h,f,a,r);var N=(a-x)*D/k+x;if(e){if(Znt(x,S,D,I,I+M,R,t,N,r))return!0}else s+=eat(x,S,D,I,I+M,R,N,r);l=Math.cos(I+M)*k+x,c=Math.sin(I+M)*D+S;break;case xl.R:if(d=l=i[v++],u=c=i[v++],h=d+i[v++],f=u+i[v++],e){if(_l(d,u,h,u,t,a,r)||_l(h,u,h,f,t,a,r)||_l(h,f,d,f,t,a,r)||_l(d,f,d,u,t,a,r))return!0}else s+=$o(h,u,h,f,a,r),s+=$o(d,f,d,u,a,r);break;case xl.Z:if(e){if(_l(l,c,d,u,t,a,r))return!0}else s+=$o(l,c,d,u,a,r);l=d,c=u}}return!e&&!function Ynt(n,t){return Math.abs(n-t)<1e-4}(c,u)&&(s+=$o(l,c,d,u,a,r)||0),0!==s}var r_=Kt({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},pd),rat={style:Kt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},$0.style)},lC=zi.concat(["invisible","culling","z","z2","zlevel","parent"]),iat=function(n){function t(e){return n.call(this,e)||this}return cn(t,n),t.prototype.update=function(){var e=this;n.prototype.update.call(this);var a=this.style;if(a.decal){var r=this._decalEl=this._decalEl||new t;r.buildPath===t.prototype.buildPath&&(r.buildPath=function(l){e.buildPath(l,e.shape)}),r.silent=!0;var i=r.style;for(var o in a)i[o]!==a[o]&&(i[o]=a[o]);i.fill=a.fill?a.decal:null,i.decal=null,i.shadowColor=null,a.strokeFirst&&(i.stroke=null);for(var s=0;s<lC.length;++s)r[lC[s]]=this[lC[s]];r.__dirty|=1}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(e){var a=ve(e);this.shape=this.getDefaultShape();var r=this.getDefaultStyle();r&&this.useStyle(r);for(var i=0;i<a.length;i++){var o=a[i],s=e[o];"style"===o?this.style?ft(this.style,s):this.useStyle(s):"shape"===o?ft(this.shape,s):n.prototype.attrKV.call(this,o,s)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var e=this.style.fill;if("none"!==e){if(Lt(e)){var a=V0(e,0);return a>.5?M2:a>.2?"#eee":O2}if(e)return O2}return M2},t.prototype.getInsideTextStroke=function(e){var a=this.style.fill;if(Lt(a)){var r=this.__zr;if(!(!r||!r.isDarkMode())===V0(e,0)<.4)return a}},t.prototype.buildPath=function(e,a,r){},t.prototype.pathUpdated=function(){this.__dirty&=-5},t.prototype.getUpdatedPathProxy=function(e){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},t.prototype.createPathProxy=function(){this.path=new Ki(!1)},t.prototype.hasStroke=function(){var e=this.style,a=e.stroke;return!(null==a||"none"===a||!(e.lineWidth>0))},t.prototype.hasFill=function(){var a=this.style.fill;return null!=a&&"none"!==a},t.prototype.getBoundingRect=function(){var e=this._rect,a=this.style,r=!e;if(r){var i=!1;this.path||(i=!0,this.createPathProxy());var o=this.path;(i||4&this.__dirty)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),e=o.getBoundingRect
vendor: 6,008 bytes, line 1
1()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||r){s.copy(e);var l=a.strokeNoScale?this.getLineScale():1,c=a.lineWidth;if(!this.hasFill()){var d=this.strokeContainThreshold;c=Math.max(c,d??4)}l>1e-10&&(s.width+=c/l,s.height+=c/l,s.x-=c/l/2,s.y-=c/l/2)}return s}return e},t.prototype.contain=function(e,a){var r=this.transformCoordToLocal(e,a),i=this.getBoundingRect(),o=this.style;if(e=r[0],a=r[1],i.contain(e,a)){var s=this.path;if(this.hasStroke()){var l=o.lineWidth,c=o.strokeNoScale?this.getLineScale():1;if(c>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),function aat(n,t,e,a){return e3(n,t,!0,e,a)}(s,l/c,e,a)))return!0}if(this.hasFill())return function nat(n,t,e){return e3(n,0,!1,t,e)}(s,e,a)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():"shape"===e?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(e,a){"shape"===e?this.setShape(a):n.prototype.attrKV.call(this,e,a)},t.prototype.setShape=function(e,a){var r=this.shape;return r||(r=this.shape={}),"string"==typeof e?r[e]=a:ft(r,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(4&this.__dirty)},t.prototype.createStyle=function(e){return x0(r_,e)},t.prototype._innerSaveToNormal=function(e){n.prototype._innerSaveToNormal.call(this,e);var a=this._normalState;e.shape&&!a.shape&&(a.shape=ft({},this.shape))},t.prototype._applyStateObj=function(e,a,r,i,o,s){n.prototype._applyStateObj.call(this,e,a,r,i,o,s);var c,l=!(a&&i);if(a&&a.shape?o?i?c=a.shape:(c=ft({},r.shape),ft(c,a.shape)):(c=ft({},i?this.shape:r.shape),ft(c,a.shape)):l&&(c=r.shape),c)if(o){this.shape=ft({},this.shape);for(var d={},u=ve(c),h=0;h<u.length;h++){var f=u[h];"object"==typeof c[f]?this.shape[f]=c[f]:d[f]=c[f]}this._transitionState(e,{shape:d},s)}else this.shape=c,this.dirtyShape()},t.prototype._mergeStates=function(e){for(var r,a=n.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.shape&&(r=r||{},this._mergeStyle(r,o.shape))}return r&&(a.shape=r),a},t.prototype.getAnimationStyleProps=function(){return rat},t.prototype.isZeroArea=function(){return!1},t.extend=function(e){var a=function(i){function o(s){var l=i.call(this,s)||this;return e.init&&e.init.call(l,s),l}return cn(o,i),o.prototype.getDefaultStyle=function(){return Yt(e.style)},o.prototype.getDefaultShape=function(){return Yt(e.shape)},o}(t);for(var r in e)"function"==typeof e[r]&&(a.prototype[r]=e[r]);return a},t.initDefaultProps=((e=t.prototype).type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,void(e.__dirty=7)),t;var e}(Mr);const fe=iat;var oat=Kt({strokeFirst:!0,font:dl,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},r_),n3=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return cn(t,n),t.prototype.hasStroke=function(){var e=this.style,a=e.stroke;return null!=a&&"none"!==a&&e.lineWidth>0},t.prototype.hasFill=function(){var a=this.style.fill;return null!=a&&"none"!==a},t.prototype.createStyle=function(e){return x0(oat,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var a=e.text;null!=a?a+="":a="";var r=Ev(a,e.font,e.textAlign,e.textBaseline);if(r.x+=e.x||0,r.y+=e.y||0,this.hasStroke()){var i=e.lineWidth;r.x-=i/2,r.y-=i/2,r.width+=i,r.height+=i}this._rect=r}return this._rect},t.initDefaultProps=void(t.prototype.dirtyRectTolerance=10),t}(Mr);n3.prototype.type="tspan";const Zv=n3;var sat=Kt({x:0,y:0},pd),lat={style:Kt({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},$0.style)};var a3=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return cn(t,n),t.prototype.createStyle=function(e){return x0(sat,e)},t.prototype._getSize=function(e){var a=this.style,r=a[e];if(null!=r)return r;var i=function cat(n){return!!(n&&"string"!=typeof n&&n.width&&n.height)}(a.image)?a.image:this.__image;if(!i)return 0;var o="width"===e?"height":"width",s=a[o];return null==s?i[e]:i[e]/i[o]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return lat},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new de(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(Mr);a3.prototype.type="image";const la=a3;var Bh=Math.round;function r3(n,t,e){if(t){var a=t.x1,r=t.x2,i=t.y1,o=t.y2;n.x1=a,n.x2=r,n.y1=i,n.y2=o;var s=e&&e.lineWidth;return s&&(Bh(2*a)===Bh(2*r)&&(n.x1=n.x2=yd(a,s,!0)),Bh(2*i)===Bh(2*o)&&(n.y1=n.y2=yd(i,s,!0))),n}}function i3(n,t,e){if(t){var a=t.x,r=t.y,i=t.width,o=t.height;n.x=a,n.y=r,n.width=i,n.height=o;var s=e&&e.lineWidth;return s&&(n.x=yd(a,s,!0),n.y=yd(r,s,!0),n.width=Math.max(yd(a+i,s,!1)-n.x,0===i?0:1),n.height=Math.max(yd(r+o,s,!1)-n.y,0===o?0:1)),n}}function yd(n,t,e){if(!t)return n;var a=Bh(2*n);return(a+Bh(t))%2==0?a/2:(a+(e?1:-1))/2}var uat=function n(){this.x=0,this.y=0,this.width=0,this.height=0},pat={},o3=function(n){function t(e){return n.call(this,e)||this}return cn(t,n),t.prototype.getDefaultShape=function(){return new uat},t.prototype.buildPath=function(e,a){var r,i,o,s;if(this.subPixelOptimize){var l=i3(pat,a,this.style);r=l.x,i=l.y,o=l.width,s=l.height,l.r=a.r,a=l}else r=a.x,i=a.y,o=a.width,s=a.height;a.r?function dat(n,t){var s,l,c,d,u,e=t.x,a=t.y,r=t.width,i=t.height,o=t.r;r<0&&(e+=r,r=-r),i<0&&(a+=i,i=-i),"number"==typeof o?s=l=c=d=o:o instanceof Array?1===o.length?s=l=c=d=o[0]:2===o.length?(s=c=o[0],l=d=o[1]):3===o.length?(s=o[0],l=d=o[1],c=o[2]):(s=o[0],l=o[1],c=o[2],d=o[3]):s=l
vendor: 8,617 bytes, line 1
1=c=d=0,s+l>r&&(s*=r/(u=s+l),l*=r/u),c+d>r&&(c*=r/(u=c+d),d*=r/u),l+c>i&&(l*=i/(u=l+c),c*=i/u),s+d>i&&(s*=i/(u=s+d),d*=i/u),n.moveTo(e+s,a),n.lineTo(e+r-l,a),0!==l&&n.arc(e+r-l,a+l,l,-Math.PI/2,0),n.lineTo(e+r,a+i-c),0!==c&&n.arc(e+r-c,a+i-c,c,0,Math.PI/2),n.lineTo(e+d,a+i),0!==d&&n.arc(e+d,a+i-d,d,Math.PI/2,Math.PI),n.lineTo(e,a+s),0!==s&&n.arc(e+s,a+s,s,Math.PI,1.5*Math.PI)}(e,a):e.rect(r,i,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(fe);o3.prototype.type="rect";const Se=o3;var s3={fill:"#000"},hat={style:Kt({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},$0.style)},c3=function(n){function t(e){var a=n.call(this)||this;return a.type="text",a._children=[],a._defaultStyle=s3,a.attr(e),a}return cn(t,n),t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){n.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var a=this._children[e];a.zlevel=this.zlevel,a.z=this.z,a.z2=this.z2,a.culling=this.culling,a.cursor=this.cursor,a.invisible=this.invisible}},t.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):n.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(e){var a=this.innerTransformable;return a?a.getLocalTransform(e):n.prototype.getLocalTransform.call(this,e)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),n.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,function gat(n){return m3(n),q(n.rich,m3),n}(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(e){n.prototype.addSelfToZr.call(this,e);for(var a=0;a<this._children.length;a++)this._children[a].__zr=e},t.prototype.removeSelfFromZr=function(e){n.prototype.removeSelfFromZr.call(this,e);for(var a=0;a<this._children.length;a++)this._children[a].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var e=new de(0,0,0,0),a=this._children,r=[],i=null,o=0;o<a.length;o++){var s=a[o],l=s.getBoundingRect(),c=s.getLocalTransform(r);c?(e.copy(l),e.applyTransform(c),(i=i||e.clone()).union(e)):(i=i||l.clone()).union(l)}this._rect=i||e}return this._rect},t.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||s3},t.prototype.setTextContent=function(e){},t.prototype._mergeStyle=function(e,a){if(!a)return e;var r=a.rich,i=e.rich||r&&{};return ft(e,a),r&&i?(this._mergeRich(i,r),e.rich=i):i&&(e.rich=i),e},t.prototype._mergeRich=function(e,a){for(var r=ve(a),i=0;i<r.length;i++){var o=r[i];e[o]=e[o]||{},ft(e[o],a[o])}},t.prototype.getAnimationStyleProps=function(){return hat},t.prototype._getOrCreateChild=function(e){var a=this._children[this._childCursor];return(!a||!(a instanceof e))&&(a=new e),this._children[this._childCursor++]=a,a.__zr=this.__zr,a.parent=this,a},t.prototype._updatePlainTexts=function(){var e=this.style,a=e.font||dl,r=e.padding,o=function Lnt(n,t){null!=n&&(n+="");var h,e=t.overflow,a=t.padding,r=t.font,i="truncate"===e,o=J0(r),s=ie(t.lineHeight,o),l=!!t.backgroundColor,c="truncate"===t.lineOverflow,d=!1,u=t.width,f=(h=null==u||"break"!==e&&"breakAll"!==e?n?n.split("\n"):[]:n?JL(n,t.font,u,"breakAll"===e,0).lines:[]).length*s,v=ie(t.height,f);if(f>v&&c){var A=Math.floor(v/s);d=d||h.length>A,h=h.slice(0,A)}if(n&&i&&null!=u)for(var b=GL(u,r,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),x={},S=0;S<h.length;S++)KL(x,h[S],b),h[S]=x.textLine,d=d||x.isTruncated;var k=v,D=0;for(S=0;S<h.length;S++)D=Math.max(ur(h[S],r),D);null==u&&(u=D);var I=D;return a&&(k+=a[0]+a[2],I+=a[1]+a[3],u+=a[1]+a[3]),l&&(I=u),{lines:h,height:v,outerWidth:I,outerHeight:k,lineHeight:s,calculatedLineHeight:o,contentWidth:D,contentHeight:f,width:u,isTruncated:d}}(A3(e),e),s=cC(e),l=!!e.backgroundColor,c=o.outerHeight,d=o.outerWidth,u=o.contentWidth,h=o.lines,f=o.lineHeight,v=this._defaultStyle;this.isTruncated=!!o.isTruncated;var A=e.x||0,b=e.y||0,x=e.align||v.align||"left",S=e.verticalAlign||v.verticalAlign||"top",k=A,D=Eh(b,o.contentHeight,S);if(s||r){var I=qv(A,d,x),M=Eh(b,c,S);s&&this._renderBackground(e,e,I,M,d,c)}D+=f/2,r&&(k=v3(A,x,r),"top"===S?D+=r[0]:"bottom"===S&&(D-=r[2]));for(var R=0,N=!1,U=(g3("fill"in e?e.fill:(N=!0,v.fill))),z=(f3("stroke"in e?e.stroke:l||v.autoStroke&&!N?null:(R=2,v.stroke))),B=e.textShadowBlur>0,K=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),W=o.calculatedLineHeight,Z=0;Z<h.length;Z++){var X=this._getOrCreateChild(Zv),tt=X.createStyle();X.useStyle(tt),tt.text=h[Z],tt.x=k,tt.y=D,x&&(tt.textAlign=x),tt.textBaseline="middle",tt.opacity=e.opacity,tt.strokeFirst=!0,B&&(tt.shadowBlur=e.textShadowBlur||0,tt.shadowColor=e.textShadowColor||"transparent",tt.shadowOffsetX=e.textShadowOffsetX||0,tt.shadowOffsetY=e.textShadowOffsetY||0),tt.stroke=z,tt.fill=U,z&&(tt.lineWidth=e.lineWidth||R,tt.lineDash=e.lineDash,tt.lineDashOffset=e.lineDashOffset||0),tt.font=a,p3(tt,e),D+=f,K&&X.setBoundingRect(new de(qv(tt.x,u,tt.textAlign),Eh(tt.y,W,tt.textBaseline),u,W))}},t.prototype._updateRichTexts=function(){var e=this.style,r=function Fnt(n,t){var e=new Unt;if(null!=n&&(n+=""),!n)return e;for(var l,a=t.width,r=t.height,i=t.overflow,o="break"!==i&&"breakAll"!==i||null==a?null:{width:a,accumWidth:0,breakAll:"breakAll"===i},s=Z2.lastIndex=0;null!=(l=Z2.exec(n));){var c=l.index;c>s&&X2(e,n.substring(s,c),t,o),X2(e,l[2],t,o,l[1]),s=Z2.lastIndex}s<n.length&&X2(e,n.substring(s,n.length),t,o);var d=[],u=0,h=0,f=t.padding,v="truncate"===i,A="truncate"===t.lineOverflow,b={};function x(gt,_t,Mt){gt.width=_t,gt.lineHeight=Mt,u+=Mt,h=Math.max(h,_t)}t:for(var S=0;S<e.lines.length;S++){for(var k=e.lines[S],D=0,I=0,M=0;M<k.tokens.length;M++){var N=(R=k.tokens[M]).styleName&&t.rich[R.styleName]||{},U=R.textPadding=N.padding,z=U?U[1]+U[3]:0,B=R.font=N.font||t.font;R.contentHeight=J0(B);var K=ie(N.height,R.contentHeight);if(R.innerHeight=K,U&&(K+=U[0]+U[2]),R.height=K,R.lineHeight=Ni(N.lineHeight,t.lineHeight,K),R.align=N&&N.align||t.align,R.verticalAlign=N&&N.verticalAlign||"middle",A&&null!=r&&u+R.lineHeight>r){var W=e.lines.length;M>0?(k.tokens=k.tokens.slice(0,M),x(k,I,D),e.lines=e.lines.slice(0,S+1)):e.lines=e.lines.slice(0,S),e.isTruncated=e.isTruncated||e.lines.length<W;break t}var Z=N.width,X=null==Z||"auto"===Z;if("string"==typeof Z&&"%"===Z.charAt(Z.length-1))R.percentWidth=Z,d.push(R),R.contentWidth=ur(R.text,B);else{if(X){var tt=N.backgroundColor,rt=tt&&tt.image;rt&&Q0(rt=Ont(rt))&&(R.width=Math.max(R.width,rt.width*K/rt.height))}var ot=v&&null!=a?a-I:null;null!=ot&&ot<R.width?!X||ot<z?(R.text="",R.width=R.contentWidth=0):(jL(b,R.text,ot-z,B,t.ellipsis,{minChar:t.truncateMinChar}),R.text=b.text,e.isTruncated=e.isTruncated||b.isTruncated,R.width=R.contentWidth=ur(R.text,B)):R.contentWidth=ur(R.text,B)}R.width+=z,I+=R.width,N&&(D=Math.max(D,R.lineHeight))}x(k,I,D)}for(e.outerWidth=e.width=ie(a,h),e.outerHeight=e.height=ie(r,u),e.contentHeight=u,e.contentWidth=h,f&&(e.outerWidth+=f[1]+f[3],e.outerHeight+=f[0]+f[2]),S=0;S<d.length;S++){var R,st=(R=d[S]).percentWidth;R.width=parseInt(st,10)/100*e.width}return e}(A3(e),e),i=r.width,o=r.outerWidth,s=r.outerHeight,l=e.padding,c=e.x||0,d=e.y||0,u=this._defaultStyle,h=e.align||u.align,f=e.verticalAlign||u.verticalAlign;this.isTruncated=!!r.isTruncated;var v=qv(c,o,h),A=Eh(d,s,f),b=v,x=A;l&&(b+=l[3],x+=l[0]);var S=b+i;cC(e)&&this._renderBackground(e,e,v,A,o,s);for(var k=!!e.backgroundColor,D=0;D<r.lines.length;D++){for(var I=r.lines[D],M=I.tokens,R=M.length,N=I.lineHeight,U=I.width,z=0,B=b,K=S,W=R-1,Z=void 0;z<R&&(!(Z=M[z]).align||"left"===Z.align);)this._placeToken(Z,e,N,x,B,"left",k),U-=Z.width,B+=Z.width,z++;for(;W>=0&&"right"===(Z=M[W]).align;)this._placeToken(Z,e,N,x,K,"right",k),U-=Z.width,K-=Z.width,W--;for(B+=(i-(B-b)-(S-K)-U)/2;z<=W;)Z=M[z],this._placeToken(Z,e,N,x,B+Z.width/2,"center",k),B+=Z.width,z++;x+=N}},t.prototype._placeToken=function(e,a,r,i,o,s,l){var c=a.rich[e.styleName]||{};c.text=e.text;var d=e.verticalAlign,u=i+r/2;"top"===d?u=i+e.height/2:"bottom"===d&&(u=i+r-e.height/2),!e.isLineHolder&&cC(c)&&this._renderBackgroun
vendor: 4,159 bytes, line 1
1d(c,a,"right"===s?o-e.width:"center"===s?o-e.width/2:o,u-e.height/2,e.width,e.height);var f=!!c.backgroundColor,v=e.textPadding;v&&(o=v3(o,s,v),u-=e.height/2-v[0]-e.innerHeight/2);var A=this._getOrCreateChild(Zv),b=A.createStyle();A.useStyle(b);var x=this._defaultStyle,S=!1,k=0,D=g3("fill"in c?c.fill:"fill"in a?a.fill:(S=!0,x.fill)),I=f3("stroke"in c?c.stroke:"stroke"in a?a.stroke:f||l||x.autoStroke&&!S?null:(k=2,x.stroke)),M=c.textShadowBlur>0||a.textShadowBlur>0;b.text=e.text,b.x=o,b.y=u,M&&(b.shadowBlur=c.textShadowBlur||a.textShadowBlur||0,b.shadowColor=c.textShadowColor||a.textShadowColor||"transparent",b.shadowOffsetX=c.textShadowOffsetX||a.textShadowOffsetX||0,b.shadowOffsetY=c.textShadowOffsetY||a.textShadowOffsetY||0),b.textAlign=s,b.textBaseline="middle",b.font=e.font||dl,b.opacity=Ni(c.opacity,a.opacity,1),p3(b,c),I&&(b.lineWidth=Ni(c.lineWidth,a.lineWidth,k),b.lineDash=ie(c.lineDash,a.lineDash),b.lineDashOffset=a.lineDashOffset||0,b.stroke=I),D&&(b.fill=D);var R=e.contentWidth,N=e.contentHeight;A.setBoundingRect(new de(qv(b.x,R,b.textAlign),Eh(b.y,N,b.textBaseline),R,N))},t.prototype._renderBackground=function(e,a,r,i,o,s){var A,b,S,l=e.backgroundColor,c=e.borderWidth,d=e.borderColor,u=l&&l.image,h=l&&!u,f=e.borderRadius,v=this;if(h||e.lineHeight||c&&d){(A=this._getOrCreateChild(Se)).useStyle(A.createStyle()),A.style.fill=null;var x=A.shape;x.x=r,x.y=i,x.width=o,x.height=s,x.r=f,A.dirtyShape()}if(h)(S=A.style).fill=l||null,S.fillOpacity=ie(e.fillOpacity,1);else if(u){(b=this._getOrCreateChild(la)).onload=function(){v.dirtyStyle()};var k=b.style;k.image=l.image,k.x=r,k.y=i,k.width=o,k.height=s}c&&d&&((S=A.style).lineWidth=c,S.stroke=d,S.strokeOpacity=ie(e.strokeOpacity,1),S.lineDash=e.borderDash,S.lineDashOffset=e.borderDashOffset||0,A.strokeContainThreshold=0,A.hasFill()&&A.hasStroke()&&(S.strokeFirst=!0,S.lineWidth*=2));var D=(A||b).style;D.shadowBlur=e.shadowBlur||0,D.shadowColor=e.shadowColor||"transparent",D.shadowOffsetX=e.shadowOffsetX||0,D.shadowOffsetY=e.shadowOffsetY||0,D.opacity=Ni(e.opacity,a.opacity,1)},t.makeFont=function(e){var a="";return h3(e)&&(a=[e.fontStyle,e.fontWeight,u3(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),a&&ni(a)||e.textFont||e.font},t}(Mr),mat={left:!0,right:1,center:1},fat={top:1,bottom:1,middle:1},d3=["fontStyle","fontWeight","fontSize","fontFamily"];function u3(n){return"string"!=typeof n||-1===n.indexOf("px")&&-1===n.indexOf("rem")&&-1===n.indexOf("em")?isNaN(+n)?"12px":n+"px":n}function p3(n,t){for(var e=0;e<d3.length;e++){var a=d3[e],r=t[a];null!=r&&(n[a]=r)}}function h3(n){return null!=n.fontSize||n.fontFamily||n.fontWeight}function m3(n){if(n){n.font=c3.makeFont(n);var t=n.align;"middle"===t&&(t="center"),n.align=null==t||mat[t]?t:"left";var e=n.verticalAlign;"center"===e&&(e="middle"),n.verticalAlign=null==e||fat[e]?e:"top",n.padding&&(n.padding=Hk(n.padding))}}function f3(n,t){return null==n||t<=0||"transparent"===n||"none"===n?null:n.image||n.colorStops?"#000":n}function g3(n){return null==n||"none"===n?null:n.image||n.colorStops?"#000":n}function v3(n,t,e){return"right"===t?n-e[1]:"center"===t?n+e[3]/2-e[1]/2:n+e[3]}function A3(n){var t=n.text;return null!=t&&(t+=""),t}function cC(n){return!!(n.backgroundColor||n.lineHeight||n.borderWidth&&n.borderColor)}const Ce=c3;var ee=_e(),dC=function(n,t,e,a){if(a){var r=ee(a);r.dataIndex=e,r.dataType=t,r.seriesIndex=n,r.ssrType="chart","group"===a.type&&a.traverse(function(i){var o=ee(i);o.seriesIndex=n,o.dataIndex=e,o.dataType=t,o.ssrType="chart"})}},y3=1,b3={},_3=_e(),uC=_e(),Na=["emphasis","blur","select"],Yv=["normal","emphasis","blur","select"],bd="highlight",o_="downplay",Qv="select",s_="unselect",$v="toggleSelect";function Gh(n){return null!=n&&"none"!==n}function l_(n,t,e){n.onHoverStateChange&&(n.hoverState||0)!==e&&n.onHoverStateChange(t),n.hoverState=e}function x3(n){l_(n,"emphasis",2)}function S3(n){2===n.hoverState&&l_(n,"normal",0)}function hC(n){l_(n,"blur",1)}function w3(n){1===n.hoverState&&l_(n,"normal",0)}function Aat(n){n.selected=!0}function yat(n){n.selected=!1}function k3(n,t,e){t(n,e)}function ts(n,t,e){k3(n,t,e),n.isGroup&&n.traverse(function(a){k3(a,t,e)}
vendor: 8,376 bytes, line 1
1)}function c_(n,t){switch(t){case"emphasis":n.hoverState=2;break;case"normal":n.hoverState=0;break;case"blur":n.hoverState=1;break;case"select":n.selected=!0}}function mC(n,t){var e=this.states[n];if(this.style){if("emphasis"===n)return function _at(n,t,e,a){var r=e&&pe(e,"select")>=0,i=!1;if(n instanceof fe){var o=_3(n),s=r&&o.selectFill||o.normalFill,l=r&&o.selectStroke||o.normalStroke;if(Gh(s)||Gh(l)){var c=(a=a||{}).style||{};"inherit"===c.fill?(i=!0,a=ft({},a),(c=ft({},c)).fill=s):!Gh(c.fill)&&Gh(s)?(i=!0,a=ft({},a),(c=ft({},c)).fill=g2(s)):!Gh(c.stroke)&&Gh(l)&&(i||(a=ft({},a),c=ft({},c)),c.stroke=g2(l)),a.style=c}}if(a&&null==a.z2){i||(a=ft({},a));var d=n.z2EmphasisLift;a.z2=n.z2+(d??10)}return a}(this,0,t,e);if("blur"===n)return function Sat(n,t,e){var a=pe(n.currentStates,t)>=0,r=n.style.opacity,i=a?null:function bat(n,t,e,a){for(var r=n.style,i={},o=0;o<t.length;o++){var s=t[o],l=r[s];i[s]=l??(a&&a[s])}for(o=0;o<n.animators.length;o++){var c=n.animators[o];c.__fromStateTransition&&c.__fromStateTransition.indexOf(e)<0&&"style"===c.targetName&&c.saveTo(i,t)}return i}(n,["opacity"],t,{opacity:1}),o=(e=e||{}).style||{};return null==o.opacity&&(e=ft({},e),o=ft({opacity:a?r:.1*i.opacity},o),e.style=o),e}(this,n,e);if("select"===n)return function xat(n,t,e){if(e&&null==e.z2){e=ft({},e);var a=n.z2SelectLift;e.z2=n.z2+(a??9)}return e}(this,0,e)}return e}function _d(n){n.stateProxy=mC;var t=n.getTextContent(),e=n.getTextGuideLine();t&&(t.stateProxy=mC),e&&(e.stateProxy=mC)}function C3(n,t){!M3(n,t)&&!n.__highByOuter&&ts(n,x3)}function D3(n,t){!M3(n,t)&&!n.__highByOuter&&ts(n,S3)}function es(n,t){n.__highByOuter|=1<<(t||0),ts(n,x3)}function ns(n,t){!(n.__highByOuter&=~(1<<(t||0)))&&ts(n,S3)}function T3(n){ts(n,hC)}function fC(n){ts(n,w3)}function P3(n){ts(n,Aat)}function I3(n){ts(n,yat)}function M3(n,t){return n.__highDownSilentOnTouch&&t.zrByTouch}function O3(n){var t=n.getModel(),e=[],a=[];t.eachComponent(function(r,i){var o=uC(i),s="series"===r,l=s?n.getViewOfSeriesModel(i):n.getViewOfComponentModel(i);!s&&a.push(l),o.isBlured&&(l.group.traverse(function(c){w3(c)}),s&&e.push(i)),o.isBlured=!1}),q(a,function(r){r&&r.toggleBlurSeries&&r.toggleBlurSeries(e,!1,t)})}function gC(n,t,e,a){var r=a.getModel();function i(c,d){for(var u=0;u<d.length;u++){var h=c.getItemGraphicEl(d[u]);h&&fC(h)}}if(e=e||"coordinateSystem",null!=n&&t&&"none"!==t){var o=r.getSeriesByIndex(n),s=o.coordinateSystem;s&&s.master&&(s=s.master);var l=[];r.eachSeries(function(c){var d=o===c,u=c.coordinateSystem;if(u&&u.master&&(u=u.master),!("series"===e&&!d||"coordinateSystem"===e&&!(u&&s?u===s:d)||"series"===t&&d)){if(a.getViewOfSeriesModel(c).group.traverse(function(b){b.__highByOuter&&d&&"self"===t||hC(b)}),_a(t))i(c.getData(),t);else if(Xt(t))for(var v=ve(t),A=0;A<v.length;A++)i(c.getData(v[A]),t[v[A]]);l.push(c),uC(c).isBlured=!0}}),r.eachComponent(function(c,d){if("series"!==c){var u=a.getViewOfComponentModel(d);u&&u.toggleBlurSeries&&u.toggleBlurSeries(l,!0,r)}})}}function vC(n,t,e){if(null!=n&&null!=t){var a=e.getModel().getComponent(n,t);if(a){uC(a).isBlured=!0;var r=e.getViewOfComponentModel(a);!r||!r.focusBlurEnabled||r.group.traverse(function(i){hC(i)})}}}function AC(n,t,e,a){var r={focusSelf:!1,dispatchers:null};if(null==n||"series"===n||null==t||null==e)return r;var i=a.getModel().getComponent(n,t);if(!i)return r;var o=a.getViewOfComponentModel(i);if(!o||!o.findHighDownDispatchers)return r;for(var l,s=o.findHighDownDispatchers(e),c=0;c<s.length;c++)if("self"===ee(s[c]).focus){l=!0;break}return{focusSelf:l,dispatchers:s}}function R3(n){q(n.getAllData(),function(e){var a=e.data,r=e.type;a.eachItemGraphicEl(function(i,o){n.isSelected(o,r)?P3(i):I3(i)})})}function Tat(n){var t=[];return n.eachSeries(function(e){q(e.getAllData(),function(r){r.data;var o=r.type,s=e.getSelectedDataIndices();if(s.length>0){var l={dataIndex:s,seriesIndex:e.seriesIndex};null!=o&&(l.dataType=o),t.push(l)}})}),t}function xd(n,t,e){Sd(n,!0),ts(n,_d),yC(n,t,e)}function An(n,t,e,a){a?function Pat(n){Sd(n,!1)}(n):xd(n,t,e)}function yC(n,t,e){var a=ee(n);null!=t?(a.focus=t,a.blurScope=e):a.focus&&(a.focus=null)}var L3=["emphasis","blur","select"],Iat={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ca(n,t,e,a){e=e||"itemStyle";for(var r=0;r<L3.length;r++){var i=L3[r],o=t.getModel([i,e]);n.ensureState(i).style=a?a(o):o[Iat[e]]()}}function Sd(n,t){var e=!1===t,a=n;n.highDownSilentOnTouch&&(a.__highDownSilentOnTouch=n.highDownSilentOnTouch),(!e||a.__highDownDispatcher)&&(a.__highByOuter=a.__highByOuter||0,a.__highDownDispatcher=!e)}function tA(n){return!(!n||!n.__highDownDispatcher)}function bC(n){var t=n.type;return t===Qv||t===s_||t===$v}function N3(n){var t=n.type;return t===bd||t===o_}var U3=_e();function Kh(n,t,e,a,r){var i;if(t&&t.ecModel){var o=t.ecModel.getUpdatePayload();i=o&&o.animation}var l="update"===n;if(t&&t.isAnimationEnabled()){var c=void 0,d=void 0,u=void 0;return a?(c=ie(a.duration,200),d=ie(a.easing,"cubicOut"),u=0):(c=t.getShallow(l?"animationDurationUpdate":"animationDuration"),d=t.getShallow(l?"animationEasingUpdate":"animationEasing"),u=t.getShallow(l?"animationDelayUpdate":"animationDelay")),i&&(null!=i.duration&&(c=i.duration),null!=i.easing&&(d=i.easing),null!=i.delay&&(u=i.delay)),jt(u)&&(u=u(e,r)),jt(c)&&(c=c(e)),{duration:c||0,delay:u,easing:d}}return null}function _C(n,t,e,a,r,i,o){var l,s=!1;jt(r)?(o=i,i=r,r=null):Xt(r)&&(i=r.cb,o=r.during,s=r.isFrom,l=r.removeOpt,r=r.dataIndex);var c="leave"===n;c||t.stopAnimation("leave");var d=Kh(n,a,r,c?l||{}:null,a&&a.getAnimationDelayParams?a.getAnimationDelayParams(t,r):null);if(d&&d.duration>0){var v={duration:d.duration,delay:d.delay||0,easing:d.easing,done:i,force:!!i||!!o,setToFinal:!c,scope:n,during:o};s?t.animateFrom(e,v):t.animateTo(e,v)}else t.stopAnimation(),!s&&t.attr(e),o&&o(1),i&&i()}function Te(n,t,e,a,r,i){_C("update",n,t,e,a,r,i)}function dn(n,t,e,a,r,i){_C("enter",n,t,e,a,r,i)}function Wh(n){if(!n.__zr)return!0;for(var t=0;t<n.animators.length;t++){if("leave"===n.animators[t].scope)return!0}return!1}function Sl(n,t,e,a,r,i){Wh(n)||_C("leave",n,t,e,a,r,i)}function F3(n,t,e,a){n.removeTextContent(),n.removeTextGuideLine(),Sl(n,{style:{opacity:0}},t,e,a)}function eA(n,t,e){function a(){n.parent&&n.parent.remove(n)}n.isGroup?n.traverse(function(r){r.isGroup||F3(r,t,e,a)}):F3(n,t,e,a)}function oi(n){U3(n).oldStyle=n.style}var d_={};function V3(n,t){for(var e=0;e<Na.length;e++){var a=Na[e],r=t[a],i=n.ensureState(a);i.style=i.style||{},i.style.text=r}var o=n.currentStates.slice();n.clearStates(!0),n.setStyle({text:t.normal}),n.useStates(o,!0)}function xC(n,t,e){var s,a=n.labelFetcher,r=n.labelDataIndex,i=n.labelDimIndex,o=t.normal;a&&(s=a.getFormattedLabel(r,"normal",null,i,o&&o.get("formatter"),null!=e?{interpolatedValue:e}:null)),null==s&&(s=jt(n.defaultText)?n.defaultText(r,n,e):n.defaultText);for(var l={normal:s},c=0;c<Na.length;c++){var d=Na[c],u=t[d];l[d]=ie(a?a.getFormattedLabel(r,d,null,i,u&&u.get("formatter")):null,s)}return l}function da(n,t,e,a){e=e||d_;for(var r=n instanceof Ce,i=!1,o=0;o<Yv.length;o++){if((s=t[Yv[o]])&&s.getShallow("show")){i=!0;break}}var l=r?n:n.getTextContent();if(i){r||(l||(l=new Ce,n.setTextContent(l)),n.stateProxy&&(l.stateProxy=n.stateProxy));var c=xC(e,t),d=t.normal,u=!!d.getShallow("show"),h=tn(d,a&&a.normal,e,!1,!r);h.text=c.normal,r||n.setTextConfig(u_(d,e,!1));for(o=0;o<Na.length;o++){var s,f=Na[o];if(s=t[f]){var v=l.ensureState(f),A=!!ie(s.getShallow("show"),u);if(A!==u&&(v.ignore=!A),v.style=tn(s,a&&a[f],e,!0,!r),v.style.text=c[f],!r)n.ensureState(f).textConfig=u_(s,e,!0)}}l.silent=!!d.getShallow("silent"),null!=l.style.x&&(h.x=l.style.x),null!=l.style.y&&(h.y=l.style.y),l.ignore=!u,l.useStyle(h),l.dirty(),e.enableTextSetter&&(Jh(l).setLabelText=function(x){var S=xC(e,t,x);V3(l,S)})}else l&&(l.ignore=!0);n.dirty()}function Kn(n,t){t=t||"label";for(var e={normal:n.getModel(t)},a=0;a<Na.length;a++){var r=Na[a];e[r]=n.getModel([r,t])}return e}function tn(n,t,e,a,r){var i={};return function Nat(n,t,e,a,r){e=e||d_;var l,i=t.ecModel,o=i&&i.option.textStyle,s=function Uat(n){for(var t;n&&n!==n.ecModel;){var e=(n.option||d_).rich;if(e){t=t||{};for(var a=ve(e),r=0;r<a.length;r++){t[a[r]]=1}}n=n.parentModel}return t}(t);if(s)for(var c in l={},s)if(s.hasOwnProperty(c)){var d=t.getModel(["rich",c]);H3(l[c]={},d,o,e,a,r,!1,!0)}
vendor: 6,917 bytes, line 1
1l&&(n.rich=l);var u=t.get("overflow");u&&(n.overflow=u);var h=t.get("minMargin");null!=h&&(n.margin=h),H3(n,t,o,e,a,r,!0,!1)}(i,n,e,a,r),t&&ft(i,t),i}function u_(n,t,e){t=t||{};var r,a={},i=n.getShallow("rotate"),o=ie(n.getShallow("distance"),e?null:5),s=n.getShallow("offset");return"outside"===(r=n.getShallow("position")||(e?null:"inside"))&&(r=t.defaultOutsidePosition||"top"),null!=r&&(a.position=r),null!=s&&(a.offset=s),null!=i&&(i*=Math.PI/180,a.rotation=i),null!=o&&(a.distance=o),a.outsideFill="inherit"===n.get("color")?t.inheritColor||null:"auto",a}var z3=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],E3=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],q3=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function H3(n,t,e,a,r,i,o,s){e=!r&&e||d_;var l=a&&a.inheritColor,c=t.getShallow("color"),d=t.getShallow("textBorderColor"),u=ie(t.getShallow("opacity"),e.opacity);("inherit"===c||"auto"===c)&&(c=l||null),("inherit"===d||"auto"===d)&&(d=l||null),i||(c=c||e.color,d=d||e.textBorderColor),null!=c&&(n.fill=c),null!=d&&(n.stroke=d);var h=ie(t.getShallow("textBorderWidth"),e.textBorderWidth);null!=h&&(n.lineWidth=h);var f=ie(t.getShallow("textBorderType"),e.textBorderType);null!=f&&(n.lineDash=f);var v=ie(t.getShallow("textBorderDashOffset"),e.textBorderDashOffset);null!=v&&(n.lineDashOffset=v),!r&&null==u&&!s&&(u=a&&a.defaultOpacity),null!=u&&(n.opacity=u),!r&&!i&&null==n.fill&&a.inheritColor&&(n.fill=a.inheritColor);for(var A=0;A<z3.length;A++){var b=z3[A];null!=(x=ie(t.getShallow(b),e[b]))&&(n[b]=x)}for(A=0;A<E3.length;A++){b=E3[A];null!=(x=t.getShallow(b))&&(n[b]=x)}if(null==n.verticalAlign){var S=t.getShallow("baseline");null!=S&&(n.verticalAlign=S)}if(!o||!a.disableBox){for(A=0;A<q3.length;A++){var x;b=q3[A];null!=(x=t.getShallow(b))&&(n[b]=x)}var k=t.getShallow("borderType");null!=k&&(n.borderDash=k),("auto"===n.backgroundColor||"inherit"===n.backgroundColor)&&l&&(n.backgroundColor=l),("auto"===n.borderColor||"inherit"===n.borderColor)&&l&&(n.borderColor=l)}}function SC(n,t){var e=t&&t.getModel("textStyle");return ni([n.fontStyle||e&&e.getShallow("fontStyle")||"",n.fontWeight||e&&e.getShallow("fontWeight")||"",(n.fontSize||e&&e.getShallow("fontSize")||12)+"px",n.fontFamily||e&&e.getShallow("fontFamily")||"sans-serif"].join(" "))}var Jh=_e();function B3(n,t,e,a){if(n){var r=Jh(n);r.prevValue=r.value,r.value=e;var i=t.normal;r.valueAnimation=i.get("valueAnimation"),r.valueAnimation&&(r.precision=i.get("precision"),r.defaultInterpolatedText=a,r.statesModels=t)}}function j3(n,t,e,a,r){var i=Jh(n);if(i.valueAnimation&&i.prevValue!==i.value){var o=i.defaultInterpolatedText,s=ie(i.interpolatedValue,i.prevValue),l=i.value;n.percent=0,(null==i.prevValue?dn:Te)(n,{percent:1},a,t,null,function c(d){var u=EL(e,i.precision,s,l,d);i.interpolatedValue=1===d?null:u;var h=xC({labelDataIndex:t,labelFetcher:r,defaultText:o?o(u):u+""},i.statesModels,u);V3(n,h)})}}var Fat=["textStyle","color"],wC=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],kC=new Ce,Vat=function(){function n(){}return n.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(Fat):null)},n.prototype.getFont=function(){return SC({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},n.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},a=0;a<wC.length;a++)e[wC[a]]=this.getShallow(wC[a]);return kC.useStyle(e),kC.update(),kC.getBoundingRect()},n}();const zat=Vat;var G3=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Eat=ud(G3),qat=function(){function n(){}return n.prototype.getLineStyle=function(t){return Eat(this,t)},n}(),K3=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Hat=ud(K3),Bat=function(){function n(){}return n.prototype.getItemStyle=function(t,e){return Hat(this,t,e)},n}(),wd=function(){function n(t,e,a){this.parentModel=e,this.ecModel=a,this.option=t}return n.prototype.init=function(t,e,a){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i]},n.prototype.mergeOption=function(t,e){le(this.option,t,!0)},n.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},n.prototype.getShallow=function(t,e){var a=this.option,r=null==a?a:a[t];if(null==r&&!e){var i=this.parentModel;i&&(r=i.getShallow(t))}return r},n.prototype.getModel=function(t,e){var a=null!=t,r=a?this.parsePath(t):null;return new n(a?this._doGet(r):this.option,e=e||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},n.prototype.isEmpty=function(){return null==this.option},n.prototype.restoreData=function(){},n.prototype.clone=function(){return new(0,this.constructor)(Yt(this.option))},n.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},n.prototype.resolveParentPath=function(t){return t},n.prototype.isAnimationEnabled=function(){if(!we.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},n.prototype._doGet=function(t,e){var a=this.option;if(!t)return a;for(var r=0;r<t.length&&(!t[r]||null!=(a=a&&"object"==typeof a?a[t[r]]:null));r++);return null==a&&e&&(a=e._doGet(this.resolveParentPath(t),e.parentModel)),a},n}();K2(wd),function Cnt(n){var t=["__\0is_clz",knt++].join("_");n.prototype[t]=!0,n.isInstance=function(e){return!(!e||!e[t])}}(wd),Mn(wd,qat),Mn(wd,Bat),Mn(wd,Mnt),Mn(wd,zat);const en=wd;var jat=Math.round(10*Math.random());function Zh(n){return[n||"",jat++].join("_")}function wl(n,t){return le(le({},n,!0),t,!0)}var Xh="EN",h_={},DC={},W3=we.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||Xh).toUpperCase().indexOf("ZH")>-1?"ZH":Xh;function J3(n,t){n=n.toUpperCase(),DC[n]=new en(t),h_[n]=t}function TC(n){return DC[n]}J3("EN",{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),J3("ZH",{time:{month:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],dayOfWeekAbbr:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53cd\u9009"}},toolbox:{brush:{title:{rect:"\u77e9\u5f62\u9009\u62e9",polygon:"\u5708\u9009",lineX:"\u6a2a\u5411\u9009\u62e9",lineY:"\u7eb5\u5411\u9009\u62e9",keep:"\u4fdd\u6301\u9009\u62e9",clear:"\u6e05\u9664\u9009\u62e9"}},dataView:{title:"\u6570\u636e\u89c6\u56fe",lang:["\u6570\u636e\u89c6\u56fe","\u5173\u95ed","\u5237\u65b0"]},dataZoom:{title:{zoom:"\u533a\u57df\u7f29\u653e",back:"\u533a\u57df\u7f29\u653e\u8fd8\u539f"}},magicType:{title:{line:"\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",bar:"\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",stack:"\u5207\u6362\u4e3a\u5806\u53e0",tiled:"\u5207\u6362\u4e3a\u5e73\u94fa"}},restore:{title:"\u8fd8\u539f"},saveAsImage:{title:"\u4fdd\u5b58\u4e3a\u56fe\u7247",lang:["\u53f3\u952e\u53e6\u5b58\u4e3a\u56fe\u7247"]}},series:{typeNames:{pie:"\u997c\u56fe",bar:"\u67f1\u72b6\u56fe",line:"\u6298\u7ebf\u56fe",scatter:"\u6563\u70b9\u56fe",effectScatter:"\u6d9f\u6f2a\u6563\u70b9\u56fe",radar:"\u96f7\u8fbe\u56fe",tree:"\u6811\u56fe",treemap:"\u77e9\u5f62\u6811\u56fe",boxplot:"\u7bb1\u578b\u56fe",candlestick:"K\u7ebf\u56fe",k:"K\u7ebf\u56fe",heatmap:"\u70ed\u529b\u56fe",map:"\u5730\u56fe",parallel:"\u5e73\u884c\u5750\u6807\u56fe",lines:"\u7ebf\u56fe",graph:"\u5173\u7cfb\u56fe",sankey:"\u6851\u57fa\u56fe",funnel:"\u6f0f\u6597\u56fe",gauge:"\u4eea\u8868\u76d8\u56fe",pictorialBar:"\u8c61\u5f62\u67f1\u56fe",themeRiver:"\u4e3b\u9898\u6cb3\u6d41\u56fe",sunburst:"\u65ed\u65e5\u56fe",custom:"\u81ea\u5b9a\u4e49\u56fe\u8868",chart:"\u56fe\u8868"}},aria:{general:{withTitle:"\u8fd9\u662f\u4e00\u4e2a\u5173\u4e8e\u201c{title}\u201d\u7684\u56fe\u8868\u3002",withoutTitle:"\u8fd9\u662f\u4e00\u4e2a\u56fe\u8868\uff0c"},series:{single:{prefix:"",withName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\uff0c\u8868\u793a{seriesName}\u3002",withoutName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\u3002"},multiple:{prefix:"\u5b83\u7531{seriesCount}\u4e2a\u56fe\u8868\u7cfb\u5217\u7ec4\u6210\u3002",withName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a\u8868\u793a{seriesName}\u7684{seriesType}\uff0c",withoutName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a{seriesType}\uff0c",separator:{middle:"\uff1b",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636e\u662f\u2014\u2014",partialData:"\u5176\u4e2d\uff0c\u524d{displayCnt}\u9879\u662f\u2014\u2014",withName:"{name}\u7684\u6570\u636e\u662f{value}",withoutName:"{value}",separator:{middle:"\uff0c",end:""}}}});var nA=36e5,Rr=24*nA,Z3=365*Rr,aA={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},m_="{yyyy}-{MM}-{dd}",X3={year:"{yyyy}",month:"{yyyy}-{MM}",day:m_,hour:m_+" "+aA.hour,minute:m_+" "+aA.minute,second:m_+" "+aA.second,millisecond:aA.none},MC=["year","month","day","hour","minute","second","millisecond"],Y3=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function kl(n,t){return n+="","0000".substr(0,t-n.length)+n}function Yh(n){switch(n){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return n}}function Yat(n){return n===Yh(n)}function f_(n,t,e,a){var r=qi(n),i=r[OC(e)](),o=r[Qh(e)]()+1,s=Math.floor((o-1)/3)+1,l=r[g_(e)](),c=r["get"+(e?"UTC":"")+"Day"](),d=r[rA(e)](),u=(d-1)%12+1,h=r[v_(e)](),f=r[A_(e)](),v=r[y_(e)](),A=d>=12?"pm":"am",b=A.toUpperCase(),S=(a instanceof en?a:TC(a||W3)||function Xat(){return DC.EN}()).getModel("time"),k=S.get("month"),D=S.get("monthAbbr"),I=S.get("dayOfWeek"),M=S.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,A+"").replace(/{A}/g,b+"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,kl(i%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,k[o-1]).replace(/{MMM}/g,D[o-1]).replace(/{MM}/g,kl(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,kl(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,I[c]).replace(/{ee}/g,M[c]).replace(/{e}/g,c+"").replace(/{HH}/g,kl(d,2)).replace(/{H}/g,d+"").replace(/{hh}/g,kl(u+"",2)).replace(/{h}/g,u+"").replace(/{mm}/g,kl(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,kl(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,kl(v,3)).replace(/{S}/g,v+"")}function Q3(n,t){var e=qi(n),a=e[Qh(t)]()+1,r=e[g_(t)](),i=e[rA(t)](),o=e[v_(t)](),s=e[A_(t)](),c=0===e[y_(t)](),d=c&&0===s,u=d&&0===o,h=u&&0===i,f=h&&1===r;return f&&1===a?"year":f?"month":h?"day":u?"hour":d?"minute":c?"second":"millisecond"}function $3(n,t,e){var a=ke(n)?qi(n):n;switch(t=t||Q3(n,e)){case"year":return a[OC(e)]();case"half-year":return a[Qh(e)]()>=6?1:0;case"quarter":return Math.floor((a[Qh(e)]()+1)/4);case"month":return a[Qh(e)]();case"day":return a[g_(e)]();case"half-day":return a[rA(e)]()/24;case"hour":return a[rA(e)]();case"minute":return a[v_(e)]();case"second":return a[A_(e)]();case"millisecond":return a[y_(e)]()}}function OC(n){return n?"getUTCFullYear":"getFullYear"}function Qh(n){return n?"getUTCMonth":"getMonth"}function g_(n){return n?"getUTCDate":"getDate"}function rA(n){return n?"getUTCHours":"getHours"}function v_(n){return n?"getUTCMinutes":"getMinutes"}function A_(n){return n?"getUTCSeconds":"getSeconds"}function y_(n){return n?"getUTCMilliseconds":"getMilliseconds"}function trt(n){return n?"setUTCFullYear":"setFullYear"}function t5(n){return n?"setUTCMonth":"setMonth"}function e5(n){return n?"setUTCDate":"setDate"}function n5(n){return n?"setUTCHours":"setHours"}function a5(n){return n?"setUTCMinutes":"setMinutes"}function r5(n){return n?"setUTCSeconds":"setSeconds"}function i5(n){return n?"setUTCMilliseconds":"setMilliseconds"}function o5(n){if(!PL(n))return Lt(n)?n:"-";var t=(n+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function s5(n,t){return n=(n||"").toLowerCase().replace(/-(.)/g,function(e,a){return a.toUpperCase()}),t&&n&&(n=n.charAt(0).toUpperCase()+n.slice(1)),n}var $h=Hk;function RC(n,t,e){function r(d){return d&&ni(d)?d:"-"}function i(d){return!(null==d||isNaN(d)||!isFinite(d))}var o="time"===t,s=n instanceof Date;if(o||s){var l=o?qi(n):n;
vendor: 5,868 bytes, line 1
1if(!isNaN(+l))return f_(l,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",e);if(s)return"-"}if("ordinal"===t)return Ek(n)?r(n):ke(n)&&i(n)?n+"":"-";var c=Yo(n);return i(c)?o5(c):Ek(n)?r(n):"boolean"==typeof n?n+"":"-"}var l5=["a","b","c","d","e","f","g"],LC=function(n,t){return"{"+n+(t??"")+"}"};function c5(n,t,e){vt(t)||(t=[t]);var a=t.length;if(!a)return"";for(var r=t[0].$vars||[],i=0;i<r.length;i++){var o=l5[i];n=n.replace(LC(o),LC(o,0))}for(var s=0;s<a;s++)for(var l=0;l<r.length;l++){var c=t[s][r[l]];n=n.replace(LC(l5[l],s),e?xa(c):c)}return n}function kd(n,t){return t=t||"transparent",Lt(n)?n:Xt(n)&&n.colorStops&&(n.colorStops[0]||{}).color||t}function b_(n,t){if("_blank"===t||"blank"===t){var e=window.open();e.opener=null,e.location.href=n}else window.open(n,t)}var __=q,d5=["left","right","top","bottom","width","height"],Cd=[["width","left","right"],["height","top","bottom"]];function NC(n,t,e,a,r){var i=0,o=0;null==a&&(a=1/0),null==r&&(r=1/0);var s=0;t.eachChild(function(l,c){var f,v,d=l.getBoundingRect(),u=t.childAt(c+1),h=u&&u.getBoundingRect();if("horizontal"===n){var A=d.width+(h?-h.x+d.x:0);(f=i+A)>a||l.newline?(i=0,f=A,o+=s+e,s=d.height):s=Math.max(s,d.height)}else{var b=d.height+(h?-h.y+d.y:0);(v=o+b)>r||l.newline?(i+=s+e,o=0,v=b,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=i,l.y=o,l.markRedraw(),"horizontal"===n?i=f+e:o=v+e)})}var Dd=NC;se(NC,"vertical"),se(NC,"horizontal");function En(n,t,e){e=$h(e||0);var a=t.width,r=t.height,i=Ot(n.left,a),o=Ot(n.top,r),s=Ot(n.right,a),l=Ot(n.bottom,r),c=Ot(n.width,a),d=Ot(n.height,r),u=e[2]+e[0],h=e[1]+e[3],f=n.aspect;switch(isNaN(c)&&(c=a-s-h-i),isNaN(d)&&(d=r-l-u-o),null!=f&&(isNaN(c)&&isNaN(d)&&(f>a/r?c=.8*a:d=.8*r),isNaN(c)&&(c=f*d),isNaN(d)&&(d=c/f)),isNaN(i)&&(i=a-s-c-h),isNaN(o)&&(o=r-l-d-u),n.left||n.right){case"center":i=a/2-c/2-e[3];break;case"right":i=a-c-h}switch(n.top||n.bottom){case"middle":case"center":o=r/2-d/2-e[0];break;case"bottom":o=r-d-u}i=i||0,o=o||0,isNaN(c)&&(c=a-h-i-(s||0)),isNaN(d)&&(d=r-u-o-(l||0));var v=new de(i+e[3],o+e[0],c,d);return v.margin=e,v}function x_(n,t,e,a,r,i){var c,o=!r||!r.hv||r.hv[0],s=!r||!r.hv||r.hv[1],l=r&&r.boundingMode||"all";if((i=i||n).x=n.x,i.y=n.y,!o&&!s)return!1;if("raw"===l)c="group"===n.type?new de(0,0,+t.width||0,+t.height||0):n.getBoundingRect();else if(c=n.getBoundingRect(),n.needLocalTransform()){var d=n.getLocalTransform();(c=c.clone()).applyTransform(d)}var u=En(Kt({width:c.width,height:c.height},t),e,a),h=o?u.x-c.x:0,f=s?u.y-c.y:0;return"raw"===l?(i.x=h,i.y=f):(i.x+=h,i.y+=f),i===n&&n.markRedraw(),!0}function iA(n){var t=n.layoutMode||n.constructor.layoutMode;return Xt(t)?t:t?{type:t}:null}function Cl(n,t,e){var a=e&&e.ignoreSize;!vt(a)&&(a=[a,a]);var r=o(Cd[0],0),i=o(Cd[1],1);function o(d,u){var h={},f=0,v={},A=0;if(__(d,function(k){v[k]=n[k]}),__(d,function(k){s(t,k)&&(h[k]=v[k]=t[k]),l(h,k)&&f++,l(v,k)&&A++}),a[u])return l(t,d[1])?v[d[2]]=null:l(t,d[2])&&(v[d[1]]=null),v;if(2===A||!f)return v;if(f>=2)return h;for(var x=0;x<d.length;x++){var S=d[x];if(!s(h,S)&&s(n,S)){h[S]=n[S];break}}return h}function s(d,u){return d.hasOwnProperty(u)}function l(d,u){return null!=d[u]&&"auto"!==d[u]}function c(d,u,h){__(d,function(f){u[f]=h[f]})}c(Cd[0],n,r),c(Cd[1],n,i)}function tm(n){return u5({},n)}function u5(n,t){return t&&n&&__(d5,function(e){t.hasOwnProperty(e)&&(n[e]=t[e])}),n}var irt=_e(),em=function(n){function t(e,a,r){var i=n.call(this,e,a,r)||this;return i.uid=Zh("ec_cpt_model"),i}return pt(t,n),t.prototype.init=function(e,a,r){this.mergeDefaultAndTheme(e,r)},t.prototype.mergeDefaultAndTheme=function(e,a){var r=iA(this),i=r?tm(e):{};le(e,a.getTheme().get(this.mainType)),le(e,this.getDefaultOption()),r&&Cl(e,i,r)},t.prototype.mergeOption=function(e,a){le(this.option,e,!0);var r=iA(this);r&&Cl(this.option,e,r)},t.prototype.optionUpdated=function(e,a){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!function Snt(n){return!(!n||!n[qL])}(e))return e.defaultOption;var a=irt(this);if(!a.defaultOption){for(var r=[],i=e;i;){var o=i.prototype.defaultOption;o&&r.push(o),i=i.superClass}for(var s={},l=r.length-1;l>=0;l--)s=le(s,r[l],!0);a.defaultOption=s}return a.defaultOption},t.prototype.getReferringComponents=function(e,a){var r=e+"Index",i=e+"Id";return Kv(this.ecModel,e,{index:this.get(r,!0),id:this.get(i,!0)},a)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=((e=t.prototype).type="component",e.id="",e.name="",e.mainType="",e.subType="",void(e.componentIndex=0)),t;var e}(en);HL(em,en),Y0(em),function Gat(n){var t={};n.registerSubTypeDefaulter=function(e,a){var r=Hi(e);t[r.main]=a},n.determineSubType=function(e,a){var r=a.type;if(!r){var i=Hi(e).main;n.hasSubTypes(e)&&t[i]&&(r=t[i](a))}return r}}(em),function Kat(n,t){function a(i,o){return i[o]||(i[o]={predecessor:[],successor:[]}),i[o]}n.topologicalTravel=function(i,o,s,l){if(i.length){var c=function e(i){var o={},s=[];return q(i,function(l){var c=a(o,l),u=function r(i,o){var s=[];return q(i,function(l){pe(o,l)>=0&&s.push(l)}),s}(c.originalDeps=t(l),i);c.entryCount=u.length,0===c.entryCount&&s.push(l),q(u,function(h){pe(c.predecessor,h)<0&&c.predecessor.push(h);var f=a(o,h);pe(f.successor,h)<0&&f.successor.push(l)})}),{graph:o,noEntryList:s}}(o),d=c.graph,u=c.noEntryList,h={};for(q(i,function(S){h[S]=!0});u.length;){var f=u.pop(),v=d[f],A=!!h[f];A&&(s.call(l,f,v.originalDeps.slice()),delete h[f]),q(v.successor,A?x:b)}q(h,function(){throw new Error("")})}function b(S){d[S].entryCount--,0===d[S].entryCount&&u.push(S)}function x(S){h[S]=!0,b(S)}}}(em,function ort(n){var t=[];return q(em.getClassesByMainType(n),function(e){t=t.concat(e.depen
vendor: 11,683 bytes, line 1
1dencies||e.prototype.dependencies||[])}),t=At(t,function(e){return Hi(e).main}),"dataset"!==n&&pe(t,"dataset")<=0&&t.unshift("dataset"),t});const De=em;var p5="";typeof navigator<"u"&&(p5=navigator.platform||"");var nm="rgba(0, 0, 0, 0.2)";const srt={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:nm,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:nm,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:nm,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:nm,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:nm,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:nm,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:p5.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var h5=Et(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Lr="original",Sa="arrayRows",Nr="objectRows",Wi="keyedColumns",as="typedArray",m5="unknown",Ji="column",am="row",ua_Must=1,ua_Might=2,ua_Not=3,f5=_e();function g5(n,t,e){var a={},r=FC(t);if(!r||!n)return a;var d,u,i=[],o=[],s=t.ecModel,l=f5(s).datasetMap,c=r.uid+"_"+e.seriesLayoutBy;q(n=n.slice(),function(A,b){var x=Xt(A)?A:n[b]={name:A};"ordinal"===x.type&&null==d&&(d=b,u=v(x)),a[x.name]=[]});var h=l.get(c)||l.set(c,{categoryWayDim:u,valueWayDim:0});function f(A,b,x){for(var S=0;S<x;S++)A.push(b+S)}function v(A){var b=A.dimsDef;return b?b.length:1}return q(n,function(A,b){var x=A.name,S=v(A);if(null==d){var k=h.valueWayDim;f(a[x],k,S),f(o,k,S),h.valueWayDim+=S}else if(d===b)f(a[x],0,S),f(i,0,S);else{k=h.categoryWayDim;f(a[x],k,S),f(o,k,S),h.categoryWayDim+=S}}),i.length&&(a.itemName=i),o.length&&(a.seriesName=o),a}function UC(n,t,e){var a={};if(!FC(n))return a;var s,i=t.sourceFormat,o=t.dimensionsDefine;(i===Nr||i===Wi)&&q(o,function(d,u){"name"===(Xt(d)?d.name:d)&&(s=u)});var l=function(){for(var d={},u={},h=[],f=0,v=Math.min(5,e);f<v;f++){var A=A5(t.data,i,t.seriesLayoutBy,o,t.startIndex,f);h.push(A);var b=A===ua_Not;if(b&&null==d.v&&f!==s&&(d.v=f),(null==d.n||d.n===d.v||!b&&h[d.n]===ua_Not)&&(d.n=f),x(d)&&h[d.n]!==ua_Not)return d;b||(A===ua_Might&&null==u.v&&f!==s&&(u.v=f),(null==u.n||u.n===u.v)&&(u.n=f))}function x(S){return null!=S.v&&null!=S.n}return x(d)?d:x(u)?u:null}();if(l){a.value=[l.v];var c=s??l.n;a.itemName=[c],a.seriesName=[c]}return a}function FC(n){if(!n.get("data",!0))return Kv(n.ecModel,"dataset",{index:n.get("datasetIndex",!0),id:n.get("datasetId",!0)},On).models[0]}function v5(n,t){return A5(n.data,n.sourceFormat,n.seriesLayoutBy,n.dimensionsDefine,n.startIndex,t)}function A5(n,t,e,a,r,i){var o,l,c;if(Xa(n))return ua_Not;if(a){var d=a[i];Xt(d)?(l=d.name,c=d.type):Lt(d)&&(l=d)}if(null!=c)return"ordinal"===c?ua_Must:ua_Not;if(t===Sa){var u=n;if(e===am){for(var h=u[i],f=0;f<(h||[]).length&&f<5;f++)if(null!=(o=D(h[r+f])))return o}else for(f=0;f<u.length&&f<5;f++){var v=u[r+f];if(v&&null!=(o=D(v[i])))return o}}else if(t===Nr){var A=n;if(!l)return ua_Not;for(f=0;f<A.length&&f<5;f++){if((b=A[f])&&null!=(o=D(b[l])))return o}}else if(t===Wi){if(!l)return ua_Not;if(!(h=n[l])||Xa(h))return ua_Not;for(f=0;f<h.length&&f<5;f++)if(null!=(o=D(h[f])))return o}else if(t===Lr){var S=n;for(f=0;f<S.length&&f<5;f++){var b,k=Hh(b=S[f]);if(!vt(k))return ua_Not;if(null!=(o=D(k[i])))return o}}function D(I){var M=Lt(I);return null!=I&&Number.isFinite(Number(I))&&""!==I?M?ua_Might:ua_Not:M&&"-"!==I?ua_Must:void 0}return ua_Not}var VC=Et();var y5=_e(),prt=_e(),zC=function(){function n(){}return n.prototype.getColorFromPalette=function(t,e,a){var r=Be(this.get("color",!0)),i=this.get("colorLayer",!0);return b5(this,y5,r,i,t,e,a)},n.prototype.clearColorPalette=function(){!function mrt(n,t){t(n).paletteIdx=0,t(n).paletteNameMap={}}(this,y5)},n}();function EC(n,t,e,a){var r=Be(n.get(["aria","decal","decals"]));return b5(n,prt,r,null,t,e,a)}function b5(n,t,e,a,r,i,o){var s=t(i=i||n),l=s.paletteIdx||0,c=s.paletteNameMap=s.paletteNameMap||{};if(c.hasOwnProperty(r))return c[r];var d=null!=o&&a?function hrt(n,t){for(var e=n.length,a=0;a<e;a++)if(n[a].length>t)return n[a];return n[e-1]}(a,o):e;if((d=d||e)&&d.length){var u=d[l];return r&&(c[r]=u),s.paletteIdx=(l+1)%d.length,u}}var S_,oA,_5,x5="\0_ec_inner";var w5=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.prototype.init=function(e,a,r,i,o,s){i=i||{},this.option=null,this._theme=new en(i),this._locale=new en(o),this._optionManager=s},t.prototype.setOption=function(e,a,r){var i=D5(a);this._optionManager.setOption(e,r,i),this._resetOption(null,i)},t.prototype.resetOption=function(e,a){return this._resetOption(e,D5(a))},t.prototype._resetOption=function(e,a){var r=!1,i=this._optionManager;if(!e||"recreate"===e){var o=i.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this._mergeOption(o,a)):_5(this,o),r=!0}if(("timeline"===e||"media"===e)&&this.restoreData(),!e||"recreate"===e||"timeline"===e){var s=i.getTimelineOption(this);s&&(r=!0,this._mergeOption(s,a))}if(!e||"recreate"===e||"media"===e){var l=i.getMediaOption(this);l.length&&q(l,function(c){r=!0,this._mergeOption(c,a)},this)}return r},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,a){var r=this.option,i=this._componentsMap,o=this._componentsCount,s=[],l=Et(),c=a&&a.replaceMergeMainTypeMap;(function lrt(n){f5(n).datasetMap=Et()})(this),q(e,function(u,h){null!=u&&(De.hasClass(h)?h&&(s.push(h),l.set(h,!0)):r[h]=null==r[h]?Yt(u):le(r[h],u,!0))}),c&&c.each(function(u,h){De.hasClass(h)&&!l.get(h)&&(s.push(h),l.set(h,!0))}),De.topologicalTravel(s,De.getAllClassMainTypes(),function d(u){var h=function urt(n,t,e){var a=VC.get(t);if(!a)return e;var r=a(n);return r?e.concat(r):e}(this,u,Be(e[u])),f=i.get(u),v=f?c&&c.get(u)?"replaceMerge":"normalMerge":"replaceAll",A=FL(f,h,v);(function mnt(n,t,e){q(n,function(a){var r=a.newOption;Xt(r)&&(a.keyInfo.mainType=t,a.keyInfo.subType=function fnt(n,t,e,a){return t.type?t.type:e?e.subType:a.determineSubType(n,t)}(t,r,a.existing,e))})})(A,u,De),r[u]=null,i.set(u,null),o.set(u,0);var k,b=[],x=[],S=0;q(A,function(I,M){var R=I.existing,N=I.newOption;if(N){var U="series"===u,z=De.getClass(u,I.keyInfo.subType,!U);if(!z)return;if("tooltip"===u){if(k)return;k=!0}if(R&&R.constructor===z)R.name=I.keyInfo.name,R.mergeOption(N,this),R.optionUpdated(N,!1);else{var W=ft({componentIndex:M},I.keyInfo);ft(R=new z(N,this,this,W),W),I.brandNew&&(R.__requireNewView=!0),R.init(N,this,this),R.optionUpdated(null,!0)}}else R&&(R.mergeOption({},this),R.optionUpdated({},!1));R?(b.push(R.option),x.push(R),S++):(b.push(void 0),x.push(void 0))},this),r[u]=b,i.set(u,x),o.set(u,S),"series"===u&&S_(this)},this),this._seriesIndices||S_(this)},t.prototype.getOption=function(){var e=Yt(this.option);return q(e,function(a,r){if(De.hasClass(r)){for(var i=Be(a),o=i.length,s=!1,l=o-1;l>=0;l--)i[l]&&!jv(i[l])?s=!0:(i[l]=null,!s&&o--);i.length=o,e[r]=i}}),delete e[x5],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,a){var r=this._componentsMap.get(e);if(r){var i=r[a||0];if(i)return i;if(null==a)for(var o=0;o<r.length;o++)if(r[o])return r[o]}},t.prototype.queryComponents=function(e){var a=e.mainType;if(!a)return[];var l,r=e.index,i=e.id,o=e.name,s=this._componentsMap.get(a);return s&&s.length?(null!=r?(l=[],q(Be(r),function(c){s[c]&&l.push(s[c])})):l=null!=i?k5("id",i,s):null!=o?k5("name",o,s):Ne(s,function(c){return!!c}),C5(l,e)):[]},t.prototype.findComponents=function(e){var a=e.query,r=e.mainType,i=function s(c){var d=r+"Index",u=r+"Id",h=r+"Name";return!c||null==c[d]&&null==c[u]&&null==c[h]?null:{mainType:r,index:c[d],id:c[u],name:c[h]}}(a);return function l(c){return e.filter?Ne(c,e.filter):c}(C5(i?this.queryComponents(i):Ne(this._componentsMap.get(r),function(c){return!!c}),e))},t.prototype.eachComponent=function(e,a,r){var i=this._componentsMap;if(jt(e)){var o=a,s=e;i.each(function(u,h){for(var f=0;u&&f<u.length;f++){var v=u[f];v&&s.call(o,h,v,v.componentIndex)}})}else for(var l=Lt(e)?i.get(e):Xt(e)?this.findComponents(e):null,c=0;l&&c<l.length;c++){var d=l[c];d&&a.call(r,d,d.componentIndex)}},t.prototype.getSeriesByName=function(e){var a=zn(e,null);return Ne(this._componentsMap.get("series"),function(r){return!!r&&null!=a&&r.name===a})},t.prototype.getSeriesByIndex=function(e){return this._componentsMap.get("series")[e]},t.prototype.getSeriesByType=function(e){return Ne(this._componentsMap.get("series"),function(a){return!!a&&a.subType===e})},t.prototype.getSeries=function(){return Ne(this._componentsMap.get("series"),function(e){return!!e})},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(e,a){oA(this),q(this._seriesIndices,function(r){var i=this._componentsMap.get("series")[r];e.call(a,i,r)},this)},t.prototype.eachRawSeries=function(e,a){q(this._componentsMap.get("series"),function(r){r&&e.call(a,r,r.componentIndex)})},t.prototype.eachSeriesByType=function(e,a,r){oA(this),q(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];o.subType===e&&a.call(r,o,i)},this)},t.prototype.eachRawSeriesByType=function(e,a,r){return q(this.getSeriesByType(e),a,r)},t.prototype.isSeriesFiltered=function(e){return oA(this),null==this._seriesIndicesMap.get(e.componentIndex)},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(e,a){oA(this);var r=[];q(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];e.call(a,o,i)&&r.push(i)},this),this._seriesIndices=r,this._seriesIndicesMap=Et(r)},t.prototype.restoreData=function(e){S_(this);var a=this._componentsMap,r=[];a.each(function(i,o){De.hasClass(o)&&r.push(o)}),De.topologicalTravel(r,De.getAllClassMainTypes(),function(i){q(a.get(i),function(o){o&&("series"!==i||!function vrt(n,t){if(t){var e=t.seriesIndex,a=t.seriesId,r=t.seriesName;return null!=e&&n.componentIndex!==e||null!=a&&n.id!==a||null!=r&&n.name!==r}}(o,e))&&o.restoreData()})})},t.internalField=(S_=function(e){var a=e._seriesIndices=[];q(e._componentsMap.get("series"),function(r){r&&a.push(r.componentIndex)}),e._seriesIndicesMap=Et(a)},oA=function(e){},void(_5=function(e,a){e.option={},e.option[x5]=1,e._componentsMap=Et({series:[]}),e._componentsCount=Et();var r=a.aria;Xt(r)&&null==r.enabled&&(r.enabled=!0),function Art(n,t){var e=n.color&&!n.colorLayer;q(t,function(a,r){"colorLayer"===r&&e||De.hasClass(r)||("object"==typeof a?n[r]=n[r]?le(n[r],a,!1):Yt(a):null==n[r]&&(n[r]=a))})}(a,e._theme.option),le(a,srt,!1),e._mergeOption(a,null)})),t}(en);function k5(n,t,e){if(vt(t)){var a=Et();return q(t,function(i){null!=i&&(null!=zn(i,null)&&a.set(i,!0))}),Ne(e,function(i){return i&&a.get(i[n])})}var r=zn(t,null);return Ne(e,function(i){return i&&null!=r&&i[n]===r})}function C5(n,t){return t.hasOwnProperty("subType")?Ne(n,function(e){return e&&e.subType===t.subType}):n}function D5(n){var t=Et();
vendor: 4,906 bytes, line 1
1return n&&q(Be(n.replaceMerge),function(e){t.set(e,!0)}),{replaceMergeMainTypeMap:t}}Mn(w5,zC);const T5=w5;var yrt=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];const P5=function n(t){q(yrt,function(e){this[e]=Ut(t[e],t)},this)};var qC={},_rt=function(){function n(){this._coordinateSystems=[]}return n.prototype.create=function(t,e){var a=[];q(qC,function(r,i){var o=r.create(t,e);a=a.concat(o||[])}),this._coordinateSystems=a},n.prototype.update=function(t,e){q(this._coordinateSystems,function(a){a.update&&a.update(t,e)})},n.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},n.register=function(t,e){qC[t]=e},n.get=function(t){return qC[t]},n}();const sA=_rt;var xrt=/^(min|max)?(.+)$/,Srt=function(){function n(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return n.prototype.setOption=function(t,e,a){t&&(q(Be(t.series),function(o){o&&o.data&&Xa(o.data)&&_0(o.data)}),q(Be(t.dataset),function(o){o&&o.source&&Xa(o.source)&&_0(o.source)})),t=Yt(t);var r=this._optionBackup,i=function wrt(n,t,e){var r,i,a=[],o=n.baseOption,s=n.timeline,l=n.options,c=n.media,d=!!n.media,u=!!(l||s||o&&o.timeline);function h(f){q(t,function(v){v(f,e)})}return o?(i=o).timeline||(i.timeline=s):((u||d)&&(n.options=n.media=null),i=n),d&&vt(c)&&q(c,function(f){f&&f.option&&(f.query?a.push(f):r||(r=f))}),h(i),q(l,function(f){return h(f)}),q(a,function(f){return h(f.option)}),{baseOption:i,timelineOptions:l||[],mediaDefault:r,mediaList:a}}(t,e,!r);this._newBaseOption=i.baseOption,r?(i.timelineOptions.length&&(r.timelineOptions=i.timelineOptions),i.mediaList.length&&(r.mediaList=i.mediaList),i.mediaDefault&&(r.mediaDefault=i.mediaDefault)):this._optionBackup=i},n.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],Yt(t?e.baseOption:this._newBaseOption)},n.prototype.getTimelineOption=function(t){var e,a=this._timelineOptions;if(a.length){var r=t.getComponent("timeline");r&&(e=Yt(a[r.getCurrentIndex()]))}return e},n.prototype.getMediaOption=function(t){var e=this._api.getWidth(),a=this._api.getHeight(),r=this._mediaList,i=this._mediaDefault,o=[],s=[];if(!r.length&&!i)return s;for(var l=0,c=r.length;l<c;l++)krt(r[l].query,e,a)&&o.push(l);return!o.length&&i&&(o=[-1]),o.length&&!function Drt(n,t){return n.join(",")===t.join(",")}(o,this._currentMediaIndices)&&(s=At(o,function(d){return Yt(-1===d?i.option:r[d].option)})),this._currentMediaIndices=o,s},n}();function krt(n,t,e){var a={width:t,height:e,aspectratio:t/e},r=!0;return q(n,function(i,o){var s=o.match(xrt);if(s&&s[1]&&s[2]){var l=s[1],c=s[2].toLowerCase();(function Crt(n,t,e){return"min"===e?n>=t:"max"===e?n<=t:n===t})(a[c],i,l)||(r=!1)}}),r}const Trt=Srt;var si=q,lA=Xt,I5=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function HC(n){var t=n&&n.itemStyle;if(t)for(var e=0,a=I5.length;e<a;e++){var r=I5[e],i=t.normal,o=t.emphasis;i&&i[r]&&(n[r]=n[r]||{},n[r].normal?le(n[r].normal,i[r]):n[r].normal=i[r],i[r]=null),o&&o[r]&&(n[r]=n[r]||{},n[r].emphasis?le(n[r].emphasis,o[r]):n[r].emphasis=o[r],o[r]=null)}}function wa(n,t,e){if(n&&n[t]&&(n[t].normal||n[t].emphasis)){var a=n[t].normal,r=n[t].emphasis;a&&(e?(n[t].normal=n[t].emphasis=null,Kt(n[t],a)):n[t]=a),r&&(n.emphasis=n.emphasis||{},n.emphasis[t]=r,r.focus&&(n.emphasis.focus=r.focus),r.blurScope&&(n.emphasis.blurScope=r.blurScope))}}function cA(n){wa(n,"itemStyle"),wa(n,"lineStyle"),wa(n,"areaStyle"),wa(n,"label"),wa(n,"labelLine"),wa(n,"upperLabel"),wa(n,"edgeLabel")}function Rn(n,t){var e=lA(n)&&n[t],a=lA(e)&&e.textStyle;if(a)for(var r=0,i=UL.length;r<i;r++){var o=UL[r];a.hasOwnProperty(o)&&(e[o]=a[o])}}function Ur(n){n&&(cA(n),Rn(n,"label"),n.emphasis&&Rn(n.emphasis,"label"))}function rs(n){return vt(n)?n:n?[n]:[]}function M5(n){return(vt(n)?n[0]:n)||{}}function Irt(n,t){si(rs(n.series),function(a){lA(a)&&function Prt(n){if(lA(n)){HC(n),cA(n),Rn(n,"label"),Rn(n,"upperLabel"),Rn(n,"edgeLabel"),n.emphasis&&(Rn(n.emphasis,"label"),Rn(n.emphasis,"upperLabel"),Rn(n.emphasis,"edgeLabel"));var t=n.markPoint;t&&(HC(t),Ur(t));var e=n.markLine;e&&(HC(e),Ur(e));var a=n.markArea;a&&Ur(a);var r=n.data;if("graph"===n.type){r=r||n.nodes;var i=n.links||n.edges;if(i&&!Xa(i))for(var o=0;o<i.length;o++)Ur(i[o]);q(n.categories,function(c){cA(c)})}if(r&&!Xa(r))for(o=0;o<r.length;o++)Ur(r[o]);if((t=n.markPoint)&&t.data){var s=t.data;for(o=0;o<s.length;o++)Ur(s[o])}if((e=n.markLine)&&e.data){var l=e.data;for(o=0;o<l.length;o++)vt(l[o])?(Ur(l[o][0]),Ur(l[o][1])):Ur(l[o])}"gauge"===n.type?(Rn(n,"axisLabel"),Rn(n,"title"),Rn(n,"detail")):"treemap"===n.type?(wa(n.breadcrumb,"itemStyle"),q
vendor: 3,165 bytes, line 1
1(n.levels,function(c){cA(c)})):"tree"===n.type&&cA(n.leaves)}}(a)});var e=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&e.push("valueAxis","categoryAxis","logAxis","timeAxis"),si(e,function(a){si(rs(n[a]),function(r){r&&(Rn(r,"axisLabel"),Rn(r.axisPointer,"label"))})}),si(rs(n.parallel),function(a){var r=a&&a.parallelAxisDefault;Rn(r,"axisLabel"),Rn(r&&r.axisPointer,"label")}),si(rs(n.calendar),function(a){wa(a,"itemStyle"),Rn(a,"dayLabel"),Rn(a,"monthLabel"),Rn(a,"yearLabel")}),si(rs(n.radar),function(a){Rn(a,"name"),a.name&&null==a.axisName&&(a.axisName=a.name,delete a.name),null!=a.nameGap&&null==a.axisNameGap&&(a.axisNameGap=a.nameGap,delete a.nameGap)}),si(rs(n.geo),function(a){lA(a)&&(Ur(a),si(rs(a.regions),function(r){Ur(r)}))}),si(rs(n.timeline),function(a){Ur(a),wa(a,"label"),wa(a,"itemStyle"),wa(a,"controlStyle",!0);var r=a.data;vt(r)&&q(r,function(i){Xt(i)&&(wa(i,"label"),wa(i,"itemStyle"))})}),si(rs(n.toolbox),function(a){wa(a,"iconStyle"),si(a.feature,function(r){wa(r,"iconStyle")})}),Rn(M5(n.axisPointer),"label"),Rn(M5(n.tooltip).axisPointer,"label")}function O5(n){n&&q(Rrt,function(t){t[0]in n&&!(t[1]in n)&&(n[t[1]]=n[t[0]])})}var Rrt=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Lrt=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],BC=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function dA(n){var t=n&&n.itemStyle;if(t)for(var e=0;e<BC.length;e++){var a=BC[e][1],r=BC[e][0];null!=t[a]&&(t[r]=t[a])}}function R5(n){!n||"edge"===n.alignTo&&null!=n.margin&&null==n.edgeDistance&&(n.edgeDistance=n.margin)}function L5(n){!n||n.downplay&&!n.blur&&(n.blur=n.downplay)}function N5(n,t){if(n)for(var e=0;e<n.length;e++)t(n[e]),n[e]&&N5(n[e].children,t)}function U5(n,t){Irt(n,t),n.series=Be(n.series),q(n.series,function(e){if(Xt(e)){var a=e.type;if("line"===a)null!=e.clipOverflow&&(e.clip=e.clipOverflow);else if("pie"===a||"gauge"===a){if(null!=e.clockWise&&(e.clockwise=e.clockWise),R5(e.label),(r=e.data)&&!Xa(r))for(var i=0;i<r.length;i++)R5(r[i]);null!=e.hoverOffset&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset))}else if("gauge"===a){var o=function Mrt(n,t){for(var e=t.split(","),a=n,r=0;r<e.length&&null!=(a=a&&a[e[r]]);r++);return a}(e,"pointer.color");null!=o&&function Ort(n,t,e,a){for(var o,r=t.split(","),i=n,s=0;s<r.length-1;s++)null==i[o=r[s]]&&(i[o]={}),i=i[o];(a||null==i[r[s]])&&(i[r[s]]=e)}(e,"itemStyle.color",o)}else if("bar"===a){var r;if(dA(e),dA(e.backgroundStyle),dA(e.emphasis),(r=e.data)&&!Xa(r))for(i=0;i<r.length;i++)"object"==typeof r[i]&&(dA(r[i]),dA(r[i]&&r[i].emphasis))}else if("sunburst"===a){var s=e.highlightPolicy;s&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=s)),L5(e),N5(e.data,L5)}else"graph"===a||"sankey"===a?function Nrt(n){!n||null!=n.focusNodeAdjacency&&(n.emphasis=n.emphasis||{},null==n.emphasis.focus&&(n.emphasis.focus="adjacency"))}(e):"map"===a&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation&&Kt(e,e.mapLocation));null!=e.hoverAnimation&&(e.emphasis=e.emphasis||{}
vendor: 13,000 bytes, line 1
1,e.emphasis&&null==e.emphasis.scale&&(e.emphasis.scale=e.hoverAnimation)),O5(e)}}),n.dataRange&&(n.visualMap=n.dataRange),q(Lrt,function(e){var a=n[e];a&&(vt(a)||(a=[a]),q(a,function(r){O5(r)}))})}function Frt(n){q(n,function(t,e){var a=[],r=[NaN,NaN],i=[t.stackResultDimension,t.stackedOverDimension],o=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";o.modify(i,function(c,d,u){var f,v,h=o.get(t.stackedDimension,u);if(isNaN(h))return r;s?v=o.getRawIndex(u):f=o.get(t.stackedByDimension,u);for(var A=NaN,b=e-1;b>=0;b--){var x=n[b];if(s||(v=x.data.rawIndexOf(x.stackedByDimension,f)),v>=0){var S=x.data.getByRawIndex(x.stackResultDimension,v);if("all"===l||"positive"===l&&S>0||"negative"===l&&S<0||"samesign"===l&&h>=0&&S>0||"samesign"===l&&h<=0&&S<0){h=ant(h,S),A=S;break}}}return a[0]=h,a[1]=A,a})})}var w_=function n(t){this.data=t.data||(t.sourceFormat===Wi?{}:[]),this.sourceFormat=t.sourceFormat||m5,this.seriesLayoutBy=t.seriesLayoutBy||Ji,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var a=0;a<e.length;a++){var r=e[a];null==r.type&&v5(this,a)===ua_Must&&(r.type="ordinal")}};function jC(n){return n instanceof w_}function GC(n,t,e){e=e||F5(n);var a=t.seriesLayoutBy,r=function zrt(n,t,e,a,r){var i,o;if(!n)return{dimensionsDefine:V5(r),startIndex:o,dimensionsDetectedCount:i};if(t===Sa){var s=n;"auto"===a||null==a?z5(function(c){null!=c&&"-"!==c&&(Lt(c)?null==o&&(o=1):o=0)},e,s,10):o=ke(a)?a:a?1:0,!r&&1===o&&(r=[],z5(function(c,d){r[d]=null!=c?c+"":""},e,s,1/0)),i=r?r.length:e===am?s.length:s[0]?s[0].length:null}else if(t===Nr)r||(r=function Ert(n){for(var e,t=0;t<n.length&&!(e=n[t++]););if(e)return ve(e)}(n));else if(t===Wi)r||(r=[],q(n,function(c,d){r.push(d)}));else if(t===Lr){var l=Hh(n[0]);i=vt(l)&&l.length||1}return{startIndex:o,dimensionsDefine:V5(r),dimensionsDetectedCount:i}}(n,e,a,t.sourceHeader,t.dimensions);return new w_({data:n,sourceFormat:e,seriesLayoutBy:a,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:Yt(t)})}function KC(n){return new w_({data:n,sourceFormat:Xa(n)?as:Lr})}function Vrt(n){return new w_({data:n.data,sourceFormat:n.sourceFormat,seriesLayoutBy:n.seriesLayoutBy,dimensionsDefine:Yt(n.dimensionsDefine),startIndex:n.startIndex,dimensionsDetectedCount:n.dimensionsDetectedCount})}function F5(n){var t=m5;if(Xa(n))t=as;else if(vt(n)){0===n.length&&(t=Sa);for(var e=0,a=n.length;e<a;e++){var r=n[e];if(null!=r){if(vt(r)||Xa(r)){t=Sa;break}if(Xt(r)){t=Nr;break}}}}else if(Xt(n))for(var i in n)if(Vt(n,i)&&_a(n[i])){t=Wi;break}return t}function V5(n){if(n){var t=Et();return At(n,function(e,a){var r={name:(e=Xt(e)?e:{name:e}).name,displayName:e.displayName,type:e.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var i=t.get(r.name);return i?r.name+="-"+i.count++:t.set(r.name,{count:1}),r})}}function z5(n,t,e,a){if(t===am)for(var r=0;r<e.length&&r<a;r++)n(e[r]?e[r][0]:null,r);else{var i=e[0]||[];for(r=0;r<i.length&&r<a;r++)n(i[r],r)}}function E5(n){var t=n.sourceFormat;return t===Nr||t===Wi}var Td,Pd,Id,q5,H5,B5=function(){function n(t,e){var a=jC(t)?t:KC(t);this._source=a;var r=this._data=a.data;a.sourceFormat===as&&(this._offset=0,this._dimSize=e,this._data=r),H5(this,r,a)}return n.prototype.getSource=function(){return this._source},n.prototype.count=function(){return 0},n.prototype.getItem=function(t,e){},n.prototype.appendData=function(t){},n.prototype.clean=function(){},n.protoInitialize=((t=n.prototype).pure=!1,void(t.persistent=!0)),n.internalField=function(){var t;H5=function(o,s,l){var c=l.sourceFormat,d=l.seriesLayoutBy,u=l.startIndex,h=l.dimensionsDefine;if(ft(o,q5[JC(c,d)]),c===as)o.getItem=e,o.count=r,o.fillStorage=a;else{var v=G5(c,d);o.getItem=Ut(v,null,s,u,h);var A=W5(c,d);o.count=Ut(A,null,s,u,h)}};var e=function(o,s){o-=this._offset,s=s||[];for(var l=this._data,c=this._dimSize,d=c*o,u=0;u<c;u++)s[u]=l[d+u];return s},a=function(o,s,l,c){for(var d=this._data,u=this._dimSize,h=0;h<u;h++){for(var f=c[h],v=null==f[0]?1/0:f[0],A=null==f[1]?-1/0:f[1],b=s-o,x=l[h],S=0;S<b;S++){var k=d[S*u+h];x[o+S]=k,k<v&&(v=k),k>A&&(A=k)}f[0]=v,f[1]=A}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(o){for(var s=0;s<o.length;s++)this._data.push(o[s])}(t={})[Sa+"_"+Ji]={pure:!0,appendData:i},t[Sa+"_"+am]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Nr]={pure:!0,appendData:i},t[Wi]={pure:!0,appendData:function(o){var s=this._data;q(o,function(l,c){for(var d=s[c]||(s[c]=[]),u=0;u<(l||[]).length;u++)d.push(l[u])})}},t[Lr]={appendData:i},t[as]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},q5=t}(),n;var t}(),j5=function(n,t,e,a){return n[a]},qrt=((Td={})[Sa+"_"+Ji]=function(n,t,e,a){return n[a+t]},Td[Sa+"_"+am]=function(n,t,e,a,r){a+=t;for(var i=r||[],o=n,s=0;s<o.length;s++){var l=o[s];i[s]=l?l[a]:null}return i},Td[Nr]=j5,Td[Wi]=function(n,t,e,a,r){for(var i=r||[],o=0;o<e.length;o++){var l=n[e[o].name];i[o]=l?l[a]:null}return i},Td[Lr]=j5,Td);function G5(n,t){return qrt[JC(n,t)]}var K5=function(n,t,e){return n.length},Hrt=((Pd={})[Sa+"_"+Ji]=function(n,t,e){return Math.max(0,n.length-t)},Pd[Sa+"_"+am]=function(n,t,e){var a=n[0];return a?Math.max(0,a.length-t):0},Pd[Nr]=K5,Pd[Wi]=function(n,t,e){var r=n[e[0].name];return r?r.length:0},Pd[Lr]=K5,Pd);function W5(n,t){return Hrt[JC(n,t)]}var WC=function(n,t,e){return n[t]},Brt=((Id={})[Sa]=WC,Id[Nr]=function(n,t,e){return n[e]},Id[Wi]=WC,Id[Lr]=function(n,t,e){var a=Hh(n);return a instanceof Array?a[t]:a},Id[as]=WC,Id);function J5(n){return Brt[n]}function JC(n,t){return n===Sa?n+"_"+t:n}function rm(n,t,e){if(n){var a=n.getRawDataItem(t);if(null!=a){var r=n.getStore(),i=r.getSource().sourceFormat;if(null!=e){var o=n.getDimensionIndex(e),s=r.getDimensionProperty(o);return J5(i)(a,o,s)}var l=a;return i===Lr&&(l=Hh(a)),l}}}var jrt=/\{@(.+?)\}/g,k_=function(){function n(){}return n.prototype.getDataParams=function(t,e){var a=this.getData(e),r=this.getRawValue(t,e),i=a.getRawIndex(t),o=a.getName(t),s=a.getRawDataItem(t),l=a.getItemVisual(t,"style"),c=l&&l[a.getItemVisual(t,"drawType")||"fill"],d=l&&l.stroke,u=this.mainType,h="series"===u,f=a.userOutput&&a.userOutput.get();return{componentType:u,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:i,data:s,dataType:e,value:r,color:c,borderColor:d,dimensionNames:f?f.fullDimensions:null,encode:f?f.encode:null,$vars:["seriesName","name","value"]}},n.prototype.getFormattedLabel=function(t,e,a,r,i,o){e=e||"normal";var s=this.getData(a),l=this.getDataParams(t,a);(o&&(l.value=o.interpolatedValue),null!=r&&vt(l.value)&&(l.value=l.value[r]),i)||(i=s.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"]));return jt(i)?(l.status=e,l.dimensionIndex=r,i(l)):Lt(i)?c5(i,l).replace(jrt,function(u,h){var f=h.length,v=h;"["===v.charAt(0)&&"]"===v.charAt(f-1)&&(v=+v.slice(1,f-1));var A=rm(s,t,v);if(o&&vt(o.interpolatedValue)){var b=s.getDimensionIndex(v);b>=0&&(A=o.interpolatedValue[b])}return null!=A?A+"":""}):void 0},n.prototype.getRawValue=function(t,e){return rm(this.getData(e),t)},n.prototype.formatTooltip=function(t,e,a){},n}();function Z5(n){var t,e;return Xt(n)?n.type&&(e=n):t=n,{text:t,frag:e}}function uA(n){return new Grt(n)}var Grt=function(){function n(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return n.prototype.perform=function(t){var i,e=this._upstream,a=t&&t.skip;if(this._dirty&&e){var r=this.context;r.data=r.outputData=e.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!a&&(i=this._plan(this.context));var u,o=d(this._modBy),s=this._modDataCount||0,l=d(t&&t.modBy),c=t&&t.modDataCount||0;function d(S){return!(S>=1)&&(S=1),S}(o!==l||s!==c)&&(i="reset"),(this._dirty||"reset"===i)&&(this._dirty=!1,u=this._doReset(a)),this._modBy=l,this._modDataCount=c;var h=t&&t.step;if(this._dueEnd=e?e._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,v=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!a&&(u||f<v)){var A=this._progress;if(vt(A))for(var b=0;b<A.length;b++)this._doProgress(A[b],f,v,l,c);else this._doProgress(A,f,v,l,c)}this._dueIndex=v;var x=null!=this._settedOutputEnd?this._settedOutputEnd:v;this._outputDueEnd=x}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},n.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},n.prototype._doProgress=function(t,e,a,r,i){X5.reset(e,a,r,i),this._callingProgress=t,this._callingProgress({start:e,end:a,count:a-e,next:X5.next},this.context)},n.prototype._doReset=function(t){var e,a;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(a=e.forceFirstProgress,e=e.progress),vt(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var r=this._downstream;return r&&r.dirty(),a},n.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},n.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},n.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},n.prototype.getUpstream=function(){return this._upstream},n.prototype.getDownstream=function(){return this._downstream},n.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},n}(),X5=function(){var n,t,e,a,r,i={reset:function(l,c,d,u){t=l,n=c,e=d,a=u,r=Math.ceil(a/e),i.next=e>1&&a>0?s:o}};return i;function o(){return t<n?t++:null}function s(){var l=t%r*e+Math.ceil(t/r),c=t>=n?null:l<a?l:t;return t++,c}}();typeof console<"u"&&console.warn&&console.log;function Ue(n){throw new Error(n)}function Dl(n,t){var e=t&&t.type;return"ordinal"===e?n:("time"===e&&!ke(n)&&null!=n&&"-"!==n&&(n=+qi(n)),null==n||""===n?NaN:Number(n))}var Zrt=Et({number:function(n){return parseFloat(n)},time:function(n){return+qi(n)},trim:function(n){return Lt(n)?ni(n):n}});function Q5(n){return Zrt.get(n)}var $5={lt:function(n,t){return n<t},lte:function(n,t){return n<=t},gt:function(n,t){return n>t},gte:function(n,t){return n>=t}},Xrt=function(){function n(t,e){if(!ke(e)){Ue("")}this._opFn=$5[t],this._rvalFloat=Yo(e)}return n.prototype.evaluate=function(t){return ke(t)?this._opFn(t,this._rvalFloat):this._opFn(Yo(t),this._rvalFloat)},n}(),tN=function(){function n(t,e){var a="desc"===t;this._resultLT=a?1:-1,null==e&&(e=a?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return n.prototype.evaluate=function(t,e){var a=ke(t)?t:Yo(t),r=ke(e)?e:Yo(e),i=isNaN(a),o=isNaN(r);if(i&&(a=this._incomparable),o&&(r=this._incomparable),i&&o){var s=Lt(t),l=Lt(e);s&&(a=l?t:0),l&&(r=s?e:0)}return a<r?this._resultLT:a>r?-this._resultLT:0},n}(),Yrt=function(){function n(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Yo(e)}return n.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var a=typeof t;a!==this._rvalTypeof&&("number"===a||"number"===this._rvalTypeof)&&(e=Yo(t)===this._rvalFloat)}return this._isEQ?e:!e},n}();function Qrt(n,t){return"eq"===n||"ne"===n?new Yrt("eq"===n,t):Vt($5,n)?new Xrt(n,t):null}var $rt=function(){function n(){}return n.prototype.getRawData=function(){throw new Error("not supported")},n.prototype.getRawDataItem=function(t){throw new Error("not supported")},n.prototype.cloneRawData=function(){},n.prototype.getDimensionInfo=function(t){},n.prototype.cloneAllDimensionInfo=function(){},n.prototype.count=function(){},n.prototype.retrieveValue=function(t,e){},n.prototype.retrieveValueFromItem=function(t,e){},n.prototype.convertValue=function(t,e){return Dl(t,e)},n}();function eit(n){if(!XC(n.sourceFormat)){Ue("")}return n.data}function nit(n){var t=n.sourceFormat,e=n.data;if(!XC(t)){Ue("")}if(t===Sa){for(var r=[],i=0,o=e.length;i<o;i++)r.push(e[i].slice());return r}if(t===Nr){for(r=[],i=0,o=e.length;i<o;i++)r.push(ft({},e[i]));return r}}function ait(n,t,e){if(null!=e){if(ke(e)||!isNaN(e)&&!Vt(t,e))return n[e];if(Vt(t,e))return t[e]}}function rit(n){return Yt(n)}var eN=Et();function sit(n,t,e,a){t.length||Ue(""),Xt(n)||Ue("");var i=n.type,o=eN.get(i);o||Ue("");var s=At(t,function(d){return function tit(n,t){var e=new $rt,a=n.data,r=e.sourceFormat=n.sourceFormat,i=n.startIndex;n.seriesLayoutBy!==Ji&&Ue("");var s=[],l={},c=n.dimensionsDefine;if(c)q(c,function(A,b){var x=A.name,S={index:b,name:x,displayName:A.dis
vendor: 8,025 bytes, line 1
1playName};s.push(S),null!=x&&(Vt(l,x)&&Ue(""),l[x]=S)});else for(var d=0;d<n.dimensionsDetectedCount;d++)s.push({index:d});var u=G5(r,Ji);t.__isBuiltIn&&(e.getRawDataItem=function(A){return u(a,i,s,A)},e.getRawData=Ut(eit,null,n)),e.cloneRawData=Ut(nit,null,n);var h=W5(r,Ji);e.count=Ut(h,null,a,i,s);var f=J5(r);e.retrieveValue=function(A,b){var x=u(a,i,s,A);return v(x,b)};var v=e.retrieveValueFromItem=function(A,b){if(null!=A){var x=s[b];if(x)return f(A,b,x.name)}};return e.getDimensionInfo=Ut(ait,null,s,l),e.cloneAllDimensionInfo=Ut(rit,null,s),e}(d,o)});return At(Be(o.transform({upstream:s[0],upstreamList:s,config:Yt(n.config)})),function(d,u){Xt(d)||Ue(""),d.data||Ue(""),XC(F5(d.data))||Ue("");var v,A=t[0];if(A&&0===u&&!d.dimensions){var b=A.startIndex;b&&(d.data=A.data.slice(0,b).concat(d.data)),v={seriesLayoutBy:Ji,sourceHeader:b,dimensions:A.metaRawOption.dimensions}}else v={seriesLayoutBy:Ji,sourceHeader:0,dimensions:d.dimensions};return GC(d.data,v,null)})}function XC(n){return n===Sa||n===Nr}var YC,C_="undefined",lit=typeof Uint32Array===C_?Array:Uint32Array,cit=typeof Uint16Array===C_?Array:Uint16Array,nN=typeof Int32Array===C_?Array:Int32Array,aN=typeof Float64Array===C_?Array:Float64Array,rN={float:aN,int:nN,ordinal:Array,number:Array,time:aN};function im(n){return n>65535?lit:cit}function dit(n){var t=n.constructor;return t===Array?n.slice():new t(n)}function iN(n,t,e,a,r){var i=rN[e||"float"];if(r){var o=n[t],s=o&&o.length;if(s!==a){for(var l=new i(a),c=0;c<s;c++)l[c]=o[c];n[t]=l}}else n[t]=new i(a)}var uit=function(){function n(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Et()}return n.prototype.initData=function(t,e,a){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var r=t.getSource(),i=this.defaultDimValueGetter=YC[r.sourceFormat];this._dimValueGetter=a||i,this._rawExtent=[];E5(r);this._dimensions=At(e,function(s){return{type:s.type,property:s.property}}),this._initDataFromProvider(0,t.count())},n.prototype.getProvider=function(){return this._provider},n.prototype.getSource=function(){return this._provider.getSource()},n.prototype.ensureCalculationDimension=function(t,e){var a=this._calcDimNameToIdx,r=this._dimensions,i=a.get(t);if(null!=i){if(r[i].type===e)return i}else i=r.length;return r[i]={type:e},a.set(t,i),this._chunks[i]=new rN[e||"float"](this._rawCount),this._rawExtent[i]=[1/0,-1/0],i},n.prototype.collectOrdinalMeta=function(t,e){var a=this._chunks[t],r=this._dimensions[t],i=this._rawExtent,o=r.ordinalOffset||0,s=a.length;0===o&&(i[t]=[1/0,-1/0]);for(var l=i[t],c=o;c<s;c++){var d=a[c]=e.parseAndCollect(a[c]);isNaN(d)||(l[0]=Math.min(d,l[0]),l[1]=Math.max(d,l[1]))}r.ordinalMeta=e,r.ordinalOffset=s,r.type="ordinal"},n.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},n.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},n.prototype.appendData=function(t){var e=this._provider,a=this.count();e.appendData(t);var r=e.count();return e.persistent||(r+=a),a<r&&this._initDataFromProvider(a,r,!0),[a,r]},n.prototype.appendValues=function(t,e){for(var a=this._chunks,r=this._dimensions,i=r.length,o=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),c=0;c<i;c++){iN(a,c,(d=r[c]).type,l,!0)}for(var u=[],h=s;h<l;h++)for(var f=h-s,v=0;v<i;v++){var d=r[v],A=YC.arrayRows.call(this,t[f]||u,d.property,f,v);a[v][h]=A;var b=o[v];A<b[0]&&(b[0]=A),A>b[1]&&(b[1]=A)}return this._rawCount=this._count=l,{start:s,end:l}},n.prototype._initDataFromProvider=function(t,e,a){for(var r=this._provider,i=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,c=At(o,function(S){return S.property}),d=0;d<s;d++){var u=o[d];l[d]||(l[d]=[1/0,-1/0]),iN(i,d,u.type,e,a)}if(r.fillStorage)r.fillStorage(t,e,i,l);else for(var h=[],f=t;f<e;f++){h=r.getItem(f,h);for(var v=0;v<s;v++){var A=i[v],b=this._dimValueGetter(h,c[v],f,v);A[f]=b;var x=l[v];b<x[0]&&(x[0]=b),b>x[1]&&(x[1]=b)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent=[]},n.prototype.count=function(){return this._count},n.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var a=this._chunks[t];return a?a[this.getRawIndex(e)]:NaN},n.prototype.getValues=function(t,e){var a=[],r=[];if(null==e){e=t,t=[];for(var i=0;i<this._dimensions.length;i++)r.push(i)}else r=t;i=0;for(var o=r.length;i<o;i++)a.push(this.get(r[i],e));return a},n.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var a=this._chunks[t];return a?a[e]:NaN},n.prototype.getSum=function(t){var a=0;if(this._chunks[t])for(var r=0,i=this.count();r<i;r++){var o=this.get(t,r);isNaN(o)||(a+=o)}return a},n.prototype.getMedian=function(t){var e=[];this.each([t],function(i){isNaN(i)||e.push(i)});var a=e.sort(function(i,o){return i-o}),r=this.count();return 0===r?0:r%2==1?a[(r-1)/2]:(a[r/2]+a[r/2-1])/2},n.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,a=e[t];if(null!=a&&a<this._count&&a===t)return t;for(var r=0,i=this._count-1;r<=i;){var o=(r+i)/2|0;if(e[o]<t)r=o+1;else{if(!(e[o]>t))return o;i=o-1}}return-1},n.prototype.indicesOfNearest=function(t,e,a){var i=this._chunks[t],o=[];if(!i)return o;null==a&&(a=1/0);for(var s=1/0,l=-1,c=0,d=0,u=this.count();d<u;d++){var f=e-i[this.getRawIndex(d)],v=Math.abs(f);v<=a&&((v<s||v===s&&f>=0&&l<0)&&(s=v,l=f,c=0),f===l&&(o[c++]=d))}return o.length=c,o},n.prototype.getIndices=function(){var t,e=this._indices;if(e){var a=e.constructor,r=this._count;if(a===Array){t=new a(r);for(var i=0;i<r;i++)t[i]=e[i]}else t=new a(e.buffer,0,r)}else{t=new(a=im(this._rawCount))(this.count());for(i=0;i<t.length;i++)t[i]=i}return t},n.prototype.filter=function(t,e){if(!this._count)return this;for(var a=this.clone(),r=a.count(),o=new(im(a._rawCount))(r),s=[],l=t.length,c=0,d=t[0],u=a._chunks,h=0;h<r;h++){var f=void 0,v=a.getRawIndex(h);if(0===l)f=e(h);else if(1===l){f=e(u[d][v],h)}else{for(var b=0;b<l;b++)s[b]=u[t[b]][v];s[b]=h,f=e.apply(null,s)}f&&(o[c++]=v)}return c<r&&(a._indices=o),a._count=c,a._extent=[],a._updateGetRawIdx(),a},n.prototype.selectRange=function(t){var e=this.clone(),a=e._count;if(!a)return this;var r=ve(t),i=r.length;if(!i)return this;var o=e.count(),l=new(im(e._rawCount))(o),c=0,d=r[0],u=t[d][0],h=t[d][1],f=e._chunks,v=!1;if(!e._indices){var A=0;if(1===i){for(var b=f[r[0]],x=0;x<a;x++){((S=b[x])>=u&&S<=h||isNaN(S))&&(l[c++]=A),A++}v=!0}else if(2===i){b=f[r[0]];var k=f[r[1]],D=t[r[1]][0],I=t[r[1]][1];for(x=0;x<a;x++){var S=b[x],M=k[x];(S>=u&&S<=h||isNaN(S))&&(M>=D&&M<=I||isNaN(M))&&(l[c++]=A),A++}v=!0}}if(!v)if(1===i)for(x=0;x<o;x++){var R=e.getRawIndex(x);((S=f[r[0]][R])>=u&&S<=h||isNaN(S))&&(l[c++]=R)}else for(x=0;x<o;x++){for(var N=!0,U=(R=e.getRawIndex(x),0);U<i;U++){var z=r[U];((S=f[z][R])<t[z][0]||S>t[z][1])&&(N=!1)}N&&(l[c++]=e.getRawIndex(x))}return c<o&&(e._indices=l),e._count=c,e._extent=[],e._updateGetRawIdx(),e},n.prototype.map=function(t,e){var a=this.clone(t);return this._updateDims(a,t,e),a},n.prototype.modify=function(t,e){this._updateDims(this,t,e)},n.prototype._updateDims=function(t,e,a){for(var r=t._chunks,i=[],o=e.length,s=t.count(),l=[],c=t._rawExtent,d=0;d<e.length;d++)c[e[d]]=[1/0,-1/0];for(var u=0;u<s;u++){for(var h=t.getRawIndex(u),f=0;f<o;f++)l[f]=r[e[f]][h];l[o]=u;var v=a&&a.apply(null,l);if(null!=v){"object"!=typeof v&&(i[0]=v,v=i);for(d=0;d<v.length;d++){var A=e[d],b=v[d],x=c[A],S=r[A];S&&(S[h]=b),b<x[0]&&(x[0]=b),b>x[1]&&(x[1]=b)}}}},n.prototype.lttbDownSample=function(t,e){var d,u,h,a=this.clone([t],!0),i=a._chunks[t],o=this.count(),s=0,l=Math.floor(1/e),c=this.getRawIndex(0),f=new(im(this._rawCount))(Math.min(2*(Math.ceil(o/l)+2),o));f[s++]=c;for(var v=1;v<o-1;v+=l){for(var A=Math.min(v+l,o-1),b=Math.min(v+2*l,o),x=(b+A)/2,S=0,k=A;k<b;k++){var I=i[D=this.getRawIndex(k)];isNaN(I)||(S+=I)}S/=b-A;var M=v,R=Math.min(v+l,o),N=v-1,U=i[c];d=-1,h=M;var z=-1,B=0;for(k=M;k<R;k++){var D;I=i[D=this.getRawIndex(k)];
vendor: 5,149 bytes, line 1
1isNaN(I)?(B++,z<0&&(z=D)):(u=Math.abs((N-x)*(I-U)-(N-k)*(S-U)))>d&&(d=u,h=D)}B>0&&B<R-M&&(f[s++]=Math.min(z,h),h=Math.max(z,h)),f[s++]=h,c=h}return f[s++]=this.getRawIndex(o-1),a._count=s,a._indices=f,a.getRawIndex=this._getRawIdx,a},n.prototype.minmaxDownSample=function(t,e){for(var a=this.clone([t],!0),r=a._chunks,i=Math.floor(1/e),o=r[t],s=this.count(),l=new(im(this._rawCount))(2*Math.ceil(s/i)),c=0,d=0;d<s;d+=i){var u=d,h=o[this.getRawIndex(u)],f=d,v=o[this.getRawIndex(f)],A=i;d+i>s&&(A=s-d);for(var b=0;b<A;b++){var S=o[this.getRawIndex(d+b)];S<h&&(h=S,u=d+b),S>v&&(v=S,f=d+b)}var k=this.getRawIndex(u),D=this.getRawIndex(f);u<f?(l[c++]=k,l[c++]=D):(l[c++]=D,l[c++]=k)}return a._count=c,a._indices=l,a._updateGetRawIdx(),a},n.prototype.downSample=function(t,e,a,r){for(var i=this.clone([t],!0),o=i._chunks,s=[],l=Math.floor(1/e),c=o[t],d=this.count(),u=i._rawExtent[t]=[1/0,-1/0],h=new(im(this._rawCount))(Math.ceil(d/l)),f=0,v=0;v<d;v+=l){l>d-v&&(l=d-v,s.length=l);for(var A=0;A<l;A++){var b=this.getRawIndex(v+A);s[A]=c[b]}var x=a(s),S=this.getRawIndex(Math.min(v+r(s,x)||0,d-1));c[S]=x,x<u[0]&&(u[0]=x),x>u[1]&&(u[1]=x),h[f++]=S}return i._count=f,i._indices=h,i._updateGetRawIdx(),i},n.prototype.each=function(t,e){if(this._count)for(var a=t.length,r=this._chunks,i=0,o=this.count();i<o;i++){var s=this.getRawIndex(i);switch(a){case 0:e(i);break;case 1:e(r[t[0]][s],i);break;case 2:e(r[t[0]][s],r[t[1]][s],i);break;default:for(var l=0,c=[];l<a;l++)c[l]=r[t[l]][s];c[l]=i,e.apply(null,c)}}},n.prototype.getDataExtent=function(t){var e=this._chunks[t],a=[1/0,-1/0];if(!e)return a;var o,r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(o=this._extent[t])return o.slice();for(var s=(o=a)[0],l=o[1],c=0;c<r;c++){var u=e[this.getRawIndex(c)];u<s&&(s=u),u>l&&(l=u)}return o=[s,l],this._extent[t]=o,o},n.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var a=[],r=this._chunks,i=0;i<r.length;i++)a.push(r[i][e]);return a},n.prototype.clone=function(t,e){var a=new n,r=this._chunks,i=t&&Li(t,function(s,l){return s[l]=!0,s},{});if(i)for(var o=0;o<r.length;o++)a._chunks[o]=i[o]?dit(r[o]):r[o];else a._chunks=r;return this._copyCommonProps(a),e||(a._indices=this._cloneIndices()),a._updateGetRawIdx(),a},n.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=Yt(this._extent),t._rawExtent=Yt(this._rawExtent)},n.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var a=this._indices.length;e=new t(a);for(var r=0;r<a;r++)e[r]=this._indices[r]}else e=new t(this._indices);return e}return null},n.prototype._getRawIdxIdentity=function(t){return t},n.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},n.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},n.internalField=function(){function t(e,a,r,i){return Dl(e[i],this._dimensions[i])}YC={arrayRows:t,objectRows:function(e,a,r,i){return Dl(e[a],this._dimensions[i])},keyedColumns:t,original:function(e,a,r,i){var o=e&&(null==e.value?e:e.value);return Dl(o instanceof Array?o[i]:o,this._dimensions[i])},typedArray:function(e,a,r,i){return e[i]}}}(),n}();const QC=uit;var oN=function(){function n(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return n.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},n.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},n.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},n.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},n.prototype._createSource=function(){this._setLocalSource([],[]);var r,i,t=this._sourceHost,e=this._getUpstreamSourceManagers(),a=!!e.length;if(D_(t)){var o=t,s=void 0,l=void 0,c=void 0;if(a){var d=e[0];d.prepareSource(),s=(c=d.getSource()).data,l=c.sourceFormat,i=[d._getVersionSign()]}else l=Xa(s=o.get("data",!0))?as:Lr,i=[];var u=this._getSourceMetaRawOption()||{},h=c&&c.metaRawOption||{},f=ie(u.seriesLayoutBy,h.seriesLayoutBy)||null,v=ie(u.sourceHeader,h.sourceHeader),A=ie(u.dimensions,h.dimensions);r=f!==h.seriesLayoutBy||!!v!=!!h.sourceHeader||A?[GC(s,{seriesLayoutBy:f,sourceHeader:v,dimensions:A},l)]:[]}else{var x=t;if(a){var S=this._applyTransform(e);r=S.sourceList,i=S.upstreamSignList}else{r=[GC(x.get("source",!0),this._getSourceMetaRawOption(),null)],i=[]}}this._setLocalSource(r,i)},n.prototype._applyTransform=function(t){var e=this._sourceHost,a=e.get("transform",!0),r=e.get("fromTransformResult",!0);if(null!=r){1!==t.length&&lN("")}var o,s=[],l=[];return q(t,function(c){c.prepareSource();var d=c.getSource(r||0);null!=r&&!d&&lN(""),s.push(d),l.push(c._getVersionSign())}),a?o=function oit(n,t,e){var a=Be(n),r=a.length;r||Ue("");for(var o=0,s=r;o<s;
vendor: 4,798 bytes, line 1
1o++)t=sit(a[o],t),o!==s-1&&(t.length=Math.max(t.length,1));return t}(a,s,e.componentIndex):null!=r&&(o=[Vrt(s[0])]),{sourceList:o,upstreamSignList:l}},n.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var a=t[e];if(a._isDirty()||this._upstreamSignList[e]!==a._getVersionSign())return!0}},n.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var a=this._getUpstreamSourceManagers();return a[0]&&a[0].getSource(t)}return e},n.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},n.prototype._innerGetDataStore=function(t,e,a){var i=this._storeList,o=i[0];o||(o=i[0]={});var s=o[a];if(!s){var l=this._getUpstreamSourceManagers()[0];D_(this._sourceHost)&&l?s=l._innerGetDataStore(t,e,a):(s=new QC).initData(new B5(e,t.length),t),o[a]=s}return s},n.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(D_(t)){var e=FC(t);return e?[e.getSourceManager()]:[]}return At(function crt(n){return n.get("transform",!0)||n.get("fromTransformResult",!0)?Kv(n.ecModel,"dataset",{index:n.get("fromDatasetIndex",!0),id:n.get("fromDatasetId",!0)},On).models:[]}(t),function(a){return a.getSourceManager()})},n.prototype._getSourceMetaRawOption=function(){var e,a,r,t=this._sourceHost;if(D_(t))e=t.get("seriesLayoutBy",!0),a=t.get("sourceHeader",!0),r=t.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=t;e=i.get("seriesLayoutBy",!0),a=i.get("sourceHeader",!0),r=i.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:a,dimensions:r}},n}();function sN(n){n.option.transform&&_0(n.option.transform)}function D_(n){return"series"===n.mainType}function lN(n){throw new Error(n)}function cN(n){var t=n.lineHeight;return null==t?"line-height:1":"line-height:"+xa(t+"")+"px"}function dN(n,t){var e=n.color||"#6e7079",a=n.fontSize||12,r=n.fontWeight||"400",i=n.color||"#464646",o=n.fontSize||14,s=n.fontWeight||"900";return"html"===t?{nameStyle:"font-size:"+xa(a+"")+"px;color:"+xa(e)+";font-weight:"+xa(r+""),valueStyle:"font-size:"+xa(o+"")+"px;color:"+xa(i)+";font-weight:"+xa(s+"")}:{nameStyle:{fontSize:a,fill:e,fontWeight:r},valueStyle:{fontSize:o,fill:i,fontWeight:s}}}var hit=[0,10,20,30],mit=["","\n","\n\n","\n\n\n"];function Wn(n,t){return t.type=n,t}function $C(n){return"section"===n.type}function uN(n){return $C(n)?fit:git}function pN(n){if($C(n)){var t=0,e=n.blocks.length,a=e>1||e>0&&!n.noHeader;return q(n.blocks,function(r){var i=pN(r);i>=t&&(t=i+ +(a&&(!i||$C(r)&&!r.noHeader)))}),t}return 0}function fit(n,t,e,a){var r=t.noHeader,i=function vit(n){return{html:hit[n],richText:mit[n]}}(pN(t)),o=[],s=t.blocks||[];Oa(!s||vt(s)),s=s||[];var l=n.orderMode;if(t.sortBlocks&&l){s=s.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(Vt(c,l)){var d=new tN(c[l],null);s.sort(function(A,b){return d.evaluate(A.sortParam,b.sortParam)})}else"seriesDesc"===l&&s.reverse()}q(s,function(A,b){var x=t.valueFormatter,S=uN(A)(x?ft(ft({},n),{valueFormatter:x}):n,A,b>0?i.html:0,a);null!=S&&o.push(S)});var u="richText"===n.renderMode?o.join(i.richText):tD(a,o.join(""),r?e:i.html);if(r)return u;var h=RC(t.header,"ordinal",n.useUTC),f=dN(a,n.renderMode).nameStyle,v=cN(a);return"richText"===n.renderMode?mN(n,h,f)+i.richText+u:tD(a,'<div style="'+f+";"+v+';">'+xa(h)+"</div>"+u,e)}function git(n,t,e,a){var r=n.renderMode,i=t.noName,o=t.noValue,s=!t.markerType,l=t.name,c=n.useUTC,d=t.valueFormatter||n.valueFormatter||function(D){return At(D=vt(D)?D:[D],function(I,M){return RC(I,vt(f)?f[M]:f,c)})};if(!i||!o){var u=s?"":n.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",r),h=i?"":RC(l,"ordinal",c),f=t.valueType,v=o?[]:d(t.value,t.dataIndex),A=!s||!i,b=!s&&i,x=dN(a,r),S=x.nameStyle,k=x.valueStyle;return"richText"===r?(s?"":u)+(i?"":mN(n,h,S))+(o?"":function bit(n,t,e,a,r){var i=[r],o=a?10:20;return e&&i.push({padding:[0,0,0,o],align:"right"}),n.markupStyleCreator.wrapRichTextStyle(vt(t)?t.join(" "):t,i)}(n,v,A,b,k)):tD(a,(s?"":u)+(i?"":function Ait(n,t,e){return'<span style="'+e+";"+(t?"margin-left:2px":"")+'">'+xa(n)+"</span>"}(h,!s,S))+(o?"":function yit(n,t,e,a){var r=e?"10px":"20px",i=t?"float:right;margin-left:"+r:"";return n=vt(n)?n:[n],'<span style="'+i+";"+a+'">'+At(n,function(o){return xa(o)}).join(" ")+"</span>"}(v,A,b,k)),e)}}function hN(n,t,e,a,r,i){if(n)return uN(n)({useUTC:r,renderMode:e,orderMode:a,markupStyleCreator:t,valueFormatter:n.valueFormatter},n,0,i)}function tD(n,t,e){return'<div style="'+("margin: "+e+"px 0 0")+";"+cN(n)+';">'+t+'<div style="clear:both"></div></div>'}function mN(n,t,e){return n.markupStyleCreator.wrapRichTextStyle(t,e)}function fN(n,t){return kd(n.getData().getItemVisual(t,"style")[n.visualDrawType])}
vendor: 9,026 bytes, line 1
1function gN(n,t){return n.get("padding")??("richText"===t?[8,10]:10)}var eD=function(){function n(){this.richTextStyles={},this._nextStyleNameId=IL()}return n.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},n.prototype.makeTooltipMarker=function(t,e,a){var r="richText"===a?this._generateStyleName():null,i=function nrt(n,t){var e=Lt(n)?{color:n,extraCssText:t}:n||{},a=e.color,r=e.type;t=e.extraCssText;var i=e.renderMode||"html";return a?"html"===i?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+xa(a)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+xa(a)+";"+(t||"")+'"></span>':{renderMode:i,content:"{"+(e.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}:""}({color:e,type:t,renderMode:a,markerId:r});return Lt(i)?i:(this.richTextStyles[r]=i.style,i.content)},n.prototype.wrapRichTextStyle=function(t,e){var a={};vt(e)?q(e,function(i){return ft(a,i)}):ft(a,e);var r=this._generateStyleName();return this.richTextStyles[r]=a,"{"+r+"|"+t+"}"},n}();function vN(n){var d,u,h,f,t=n.series,e=n.dataIndex,a=n.multipleSeries,r=t.getData(),i=r.mapDimensionsAll("defaultedTooltip"),o=i.length,s=t.getRawValue(e),l=vt(s),c=fN(t,e);if(o>1||l&&!o){var v=function _it(n,t,e,a,r){var i=t.getData(),o=Li(n,function(u,h,f){var v=i.getDimensionInfo(f);return u||v&&!1!==v.tooltip&&null!=v.displayName},!1),s=[],l=[],c=[];function d(u,h){var f=i.getDimensionInfo(h);!f||!1===f.otherDims.tooltip||(o?c.push(Wn("nameValue",{markerType:"subItem",markerColor:r,name:f.displayName,value:u,valueType:f.type})):(s.push(u),l.push(f.type)))}return a.length?q(a,function(u){d(rm(i,e,u),u)}):q(n,d),{inlineValues:s,inlineValueTypes:l,blocks:c}}(s,t,e,i,c);d=v.inlineValues,u=v.inlineValueTypes,h=v.blocks,f=v.inlineValues[0]}else if(o){var A=r.getDimensionInfo(i[0]);f=d=rm(r,e,i[0]),u=A.type}else f=d=l?s[0]:s;var b=B2(t),x=b&&t.name||"",S=r.getName(e),k=a?x:S;return Wn("section",{header:x,noHeader:a||!b,sortParam:f,blocks:[Wn("nameValue",{markerType:"item",markerColor:c,name:k,noName:!ni(k),value:d,valueType:u,dataIndex:e})].concat(h||[])})}var Tl=_e();function T_(n,t){return n.getName(t)||n.getId(t)}var P_="__universalTransitionEnabled",I_=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return pt(t,n),t.prototype.init=function(e,a,r){this.seriesIndex=this.componentIndex,this.dataTask=uA({count:Sit,reset:wit}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,r),(Tl(this).sourceManager=new oN(this)).prepareSource();var o=this.getInitialData(e,r);yN(o,this),this.dataTask.context.data=o,Tl(this).dataBeforeProcessed=o,AN(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(e,a){var r=iA(this),i=r?tm(e):{},o=this.subType;De.hasClass(o)&&(o+="Series"),le(e,a.getTheme().get(this.subType)),le(e,this.getDefaultOption()),ld(e,"label",["show"]),this.fillDataTextStyle(e.data),r&&Cl(e,i,r)},t.prototype.mergeOption=function(e,a){e=le(this.option,e,!0),this.fillDataTextStyle(e.data);var r=iA(this);r&&Cl(this.option,e,r);var i=Tl(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(e,a);yN(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,Tl(this).dataBeforeProcessed=o,AN(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(e){if(e&&!Xa(e))for(var a=["show"],r=0;r<e.length;r++)e[r]&&e[r].label&&ld(e[r],"label",a)},t.prototype.getInitialData=function(e,a){},t.prototype.appendData=function(e){this.getRawData().appendData(e.data)},t.prototype.getData=function(e){var a=nD(this);if(a){var r=a.context.data;return null!=e&&r.getLinkedData?r.getLinkedData(e):r}return Tl(this).data},t.prototype.getAllData=function(){var e=this.getData();return e&&e.getLinkedDataAll?e.getLinkedDataAll():[{data:e}]},t.prototype.setData=function(e){var a=nD(this);if(a){var r=a.context;r.outputData=e,a!==this.dataTask&&(r.data=e)}Tl(this).data=e},t.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return Et(e)},t.prototype.getSourceManager=function(){return Tl(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return Tl(this).dataBeforeProcessed},t.prototype.getColorBy=function(){return this.get("colorBy")||"series"},t.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},t.prototype.getBaseAxis=function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},t.prototype.formatTooltip=function(e,a,r){return vN({series:this,dataIndex:e,multipleSeries:a})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(we.node&&(!e||!e.ssr))return!1;var a=this.getShallow("animation");return a&&this.getData().count()>this.getShallow("animationThreshold")&&(a=!1),!!a},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,a,r){var i=this.ecModel,o=zC.prototype.getColorFromPalette.call(this,e,a,r);return o||(o=i.getColorFromPalette(e,a,r)),o},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,a){this._innerSelect(this.getData(a),e)},t.prototype.unselect=function(e,a){var r=this.option.selectedMap;if(r){var i=this.option.selectedMode,o=this.getData(a);if("series"===i||"all"===r)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var s=0;s<e.length;s++){var c=T_(o,e[s]);r[c]=!1,this._selectedDataIndicesMap[c]=-1}}},t.prototype.toggleSelect=function(e,a){for(var r=[],i=0;i<e.length;i++)r[0]=e[i],this.isSelected(e[i],a)?this.unselect(r,a):this.select(r,a)},t.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var e=this._selectedDataIndicesMap,a=ve(e),r=[],i=0;i<a.length;i++){var o=e[a[i]];o>=0&&r.push(o)}return r},t.prototype.isSelected=function(e,a){var r=this.option.selectedMap;if(!r)return!1;var i=this.getData(a);return("all"===r||r[T_(i,e)])&&!i.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[P_])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,a){var r,i,o=this.option,s=o.selectedMode,l=a.length;if(s&&l)if("series"===s)o.selectedMap="all";else if("multiple"===s){Xt(o.selectedMap)||(o.selectedMap={});for(var c=o.selectedMap,d=0;d<l;d++){var u=a[d];c[h=T_(e,u)]=!0,this._selectedDataIndicesMap[h]=e.getRawIndex(u)}}else if("single"===s||!0===s){var f=a[l-1],h=T_(e,f);o.selectedMap=((r={})[h]=!0,r),this._selectedDataIndicesMap=((i={})[h]=e.getRawIndex(f),i)}},t.prototype._initSelectedMapFromData=function(e){if(!this.option.selectedMap){var a=[];e.hasItemOption&&e.each(function(r){var i=e.getRawDataItem(r);i&&i.selected&&a.push(r)}),a.length>0&&this._innerSelect(e,a)}},t.registerClass=function(e){return De.registerClass(e)},t.protoInitialize=((e=t.prototype).type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",void(e.visualDrawType="fill")),t;var e}(De);function AN(n){var t=n.name;B2(n)||(n.name=function xit(n){var t=n.getRawData(),e=t.mapDimensionsAll("seriesName"),a=[];return q(e,function(r){var i=t.getDimensionInfo(r);i.displayName&&a.push(i.displayName)}),a.join(" ")}(n)||t)}function Sit(n){return n.model.getRawData().count()}function wit(n){var t=n.model;return t.setData(t.getRawData().cloneShallow()),kit}function kit(n,t){t.outputData&&n.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function yN(n,t){q(kv(n.CHANGABLE_METHODS,n.DOWNSAMPLE_METHODS),function(e){n.wrapMethod(e,se(Cit,t))})}function Cit(n,t){var e=nD(n);return e&&e.setOutputEnd((t||this).count()),t}function nD(n){var t=(n.ecModel||{}).scheduler,e=t&&t.getPipeline(n.uid);if(e){var a=e.currentTask;if(a){var r=a.agentStubMap;r&&(a=r.get(n.uid))}return a}}Mn(I_,k_),Mn(I_,zC),HL(I_,De);const hn=I_;var aD=function(){function n(){this.group=new te,this.uid=Zh("viewComponent")}return n.prototype.init=function(t,e){},n.prototype.render=function(t,e,a,r){},n.prototype.dispose=function(t,e){},n.prototype.updateView=function(t,e,a,r){},n.prototype.updateLayout=function(t,e,a,r){},n.prototype.updateVisual=function(t,e,a,r){},n.prototype.toggleBlurSeries=function(t,e,a){},n.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},n}();K2(aD),Y0(aD);const xn=aD;function sm(){var n=_e();return function(t){var e=n(t),a=t.pipelineContext,r=!!e.large,i=!!e.progressiveRen
vendor: 7,154 bytes, line 1
1der,o=e.large=!(!a||!a.large),s=e.progressiveRender=!(!a||!a.progressiveRender);return(r!==o||i!==s)&&"reset"}}var lm=Ki.CMD,Dit=[[],[],[]],bN=Math.sqrt,Tit=Math.atan2;function _N(n,t){if(t){var r,i,o,s,l,c,e=n.data,a=n.len(),d=lm.M,u=lm.C,h=lm.L,f=lm.R,v=lm.A,A=lm.Q;for(o=0,s=0;o<a;){switch(r=e[o++],s=o,i=0,r){case d:case h:i=1;break;case u:i=3;break;case A:i=2;break;case v:var b=t[4],x=t[5],S=bN(t[0]*t[0]+t[1]*t[1]),k=bN(t[2]*t[2]+t[3]*t[3]),D=Tit(-t[1]/k,t[0]/S);e[o]*=S,e[o++]+=b,e[o]*=k,e[o++]+=x,e[o++]*=S,e[o++]*=k,e[o++]+=D,e[o++]+=D,s=o+=2;break;case f:c[0]=e[o++],c[1]=e[o++],sa(c,c,t),e[s++]=c[0],e[s++]=c[1],c[0]+=e[o++],c[1]+=e[o++],sa(c,c,t),e[s++]=c[0],e[s++]=c[1]}for(l=0;l<i;l++){var I=Dit[l];I[0]=e[o++],I[1]=e[o++],sa(I,I,t),e[s++]=I[0],e[s++]=I[1]}}n.increaseVersion()}}var rD=Math.sqrt,M_=Math.sin,O_=Math.cos,pA=Math.PI;function xN(n){return Math.sqrt(n[0]*n[0]+n[1]*n[1])}function iD(n,t){return(n[0]*t[0]+n[1]*t[1])/(xN(n)*xN(t))}function SN(n,t){return(n[0]*t[1]<n[1]*t[0]?-1:1)*Math.acos(iD(n,t))}function wN(n,t,e,a,r,i,o,s,l,c,d){var u=l*(pA/180),h=O_(u)*(n-e)/2+M_(u)*(t-a)/2,f=-1*M_(u)*(n-e)/2+O_(u)*(t-a)/2,v=h*h/(o*o)+f*f/(s*s);v>1&&(o*=rD(v),s*=rD(v));var A=(r===i?-1:1)*rD((o*o*(s*s)-o*o*(f*f)-s*s*(h*h))/(o*o*(f*f)+s*s*(h*h)))||0,b=A*o*f/s,x=A*-s*h/o,S=(n+e)/2+O_(u)*b-M_(u)*x,k=(t+a)/2+M_(u)*b+O_(u)*x,D=SN([1,0],[(h-b)/o,(f-x)/s]),I=[(h-b)/o,(f-x)/s],M=[(-1*h-b)/o,(-1*f-x)/s],R=SN(I,M);if(iD(I,M)<=-1&&(R=pA),iD(I,M)>=1&&(R=0),R<0){var N=Math.round(R/pA*1e6)/1e6;R=2*pA+N%2*pA}d.addData(c,S,k,o,s,D,R,u,i)}var Pit=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Iit=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var kN=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return cn(t,n),t.prototype.applyTransform=function(e){},t}(fe);function CN(n){return null!=n.setData}function DN(n,t){var e=function Mit(n){var t=new Ki;if(!n)return t;var o,e=0,a=0,r=e,i=a,s=Ki.CMD,l=n.match(Pit);if(!l)return t;for(var c=0;c<l.length;c++){for(var d=l[c],u=d.charAt(0),h=void 0,f=d.match(Iit)||[],v=f.length,A=0;A<v;A++)f[A]=parseFloat(f[A]);for(var b=0;b<v;){var x=void 0,S=void 0,k=void 0,D=void 0,I=void 0,M=void 0,R=void 0,N=e,U=a,z=void 0,B=void 0;switch(u){case"l":e+=f[b++],a+=f[b++],h=s.L,t.addData(h,e,a);break;case"L":e=f[b++],a=f[b++],h=s.L,t.addData(h,e,a);break;case"m":e+=f[b++],a+=f[b++],h=s.M,t.addData(h,e,a),r=e,i=a,u="l";break;case"M":e=f[b++],a=f[b++],h=s.M,t.addData(h,e,a),r=e,i=a,u="L";break;case"h":e+=f[b++],h=s.L,t.addData(h,e,a);break;case"H":e=f[b++],h=s.L,t.addData(h,e,a);break;case"v":a+=f[b++],h=s.L,t.addData(h,e,a);break;case"V":a=f[b++],h=s.L,t.addData(h,e,a);break;case"C":h=s.C,t.addData(h,f[b++],f[b++],f[b++],f[b++],f[b++],f[b++]),e=f[b-2],a=f[b-1];break;case"c":h=s.C,t.addData(h,f[b++]+e,f[b++]+a,f[b++]+e,f[b++]+a,f[b++]+e,f[b++]+a),e+=f[b-2],a+=f[b-1];break;case"S":x=e,S=a,z=t.len(),B=t.data,o===s.C&&(x+=e-B[z-4],S+=a-B[z-3]),h=s.C,N=f[b++],U=f[b++],e=f[b++],a=f[b++],t.addData(h,x,S,N,U,e,a);break;case"s":x=e,S=a,z=t.len(),B=t.data,o===s.C&&(x+=e-B[z-4],S+=a-B[z-3]),h=s.C,N=e+f[b++],U=a+f[b++],e+=f[b++],a+=f[b++],t.addData(h,x,S,N,U,e,a);break;case"Q":N=f[b++],U=f[b++],e=f[b++],a=f[b++],h=s.Q,t.addData(h,N,U,e,a);break;case"q":N=f[b++]+e,U=f[b++]+a,e+=f[b++],a+=f[b++],h=s.Q,t.addData(h,N,U,e,a);break;case"T":x=e,S=a,z=t.len(),B=t.data,o===s.Q&&(x+=e-B[z-4],S+=a-B[z-3]),e=f[b++],a=f[b++],h=s.Q,t.addData(h,x,S,e,a);break;case"t":x=e,S=a,z=t.len(),B=t.data,o===s.Q&&(x+=e-B[z-4],S+=a-B[z-3]),e+=f[b++],a+=f[b++],h=s.Q,t.addData(h,x,S,e,a);break;case"A":k=f[b++],D=f[b++],I=f[b++],M=f[b++],R=f[b++],wN(N=e,U=a,e=f[b++],a=f[b++],M,R,k,D,I,h=s.A,t);break;case"a":k=f[b++],D=f[b++],I=f[b++],M=f[b++],R=f[b++],wN(N=e,U=a,e+=f[b++],a+=f[b++],M,R,k,D,I,h=s.A,t)}}("z"===u||"Z"===u)&&(h=s.Z,t.addData(h),e=r,a=i),o=h}return t.toStatic(),t}(n),a=ft({},t);return a.buildPath=function(r){if(CN(r)){r.setData(e.data),(i=r.getContext())&&r.rebuildPath(i,1)}else{var i=r;e.rebuildPath(i,1)}},a.applyTransform=function(r){_N(e,r),this.dirtyShape()},a}function TN(n,t){return new kN(DN(n,t))}function oD(n,t){t=t||{};var e=new fe;return n.shape&&e.setShape(n.shape),e.setStyle(n.style),t.bakeTransform?_N(e.path,n.getComputedTransform()):t.toLocal?e.setLocalTransform(n.getComputedTransform()):e.copyTransform(n),e.buildPath=n.buildPath,e.applyTransform=e.applyTransform,e.z=n.z,e.z2=n.z2,e.zlevel=n.zlevel,e}var Lit=function n(){this.cx=0,this.cy=0,this.r=0},PN=function(n){function t(e){return n.call(this,e)||this}return cn(t,n),t.prototype.getDefaultShape=function(){return new Lit},t.prototype.buildPath=function(e,a){e.moveTo(a.cx+a.r,a.cy),e.arc(a.cx,a.cy,a.r,0,2*Math.PI)},t}(fe);PN.prototype.type="circle";const Pl=PN;var Nit=function n(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},IN=function(n){function t(e){return n.call(this,e)||this}return cn(t,n),t.prototype.getDefaultShape=function(){return new Nit},t.prototype.buildPath=function(e,a){var r=.5522848,i=a.cx,o=a.cy,s=a.rx,l=a.ry,c=s*r,d=l*r;e.moveTo(i-s,o),e.bezierCurveTo(i-s,o-d,i-c,o-l,i,o-l),e.bezierCurveTo(i+c,o-l,i+s,o-d,i+s,o),e.bezierCurveTo(i+s,o+d,i+c,o+l,i,o+l),e.bezierCurveTo(i-c,o+l,i-s,o+d,i-s,o),e.closePath()},t}(fe);IN.prototype.type="ellipse";const sD=IN;var MN=Math.PI,lD=2*MN,Md=Math.sin,cm=Math.cos,Uit=Math.acos,ka=Math.atan2,ON=Math.abs,hA=Math.sqrt,mA=Math.max,Zi=Math.min,li=1e-4;function R_(n,t,e,a,r,i,o){var s=n-e,l=t-a,c=(o?i:-i)/hA(s*s+l*l),d=c*l,u=-c*s,h=n+d,f=t+u,v=e+d,A=a+u,b=(h+v)/2,x=(f+A)/2,S=v-h,k=A-f,D=S*S+k*k,I=r-i,M=h*A-v*f,R=(k<0?-1:1)*hA(mA(0,I*I*D-M*M)),N=(M*k-S*R)/D,U=(-M*S-k*R)/D,z=(M*k+S*R)/D,B=(-M*S+k*R)/D,K=N-b,W=U-x,Z=z-b,X=B-x;return K*K+W*W>Z*Z+X*X&&(N=z,U=B),{cx:N,cy:U,x0:-d,y0:-u,x1:N*(r/I-1),y1:U*(r/I-1)}}function zit(n,t){var e,a=mA(t.r,0),r=mA(t.r0||0,0),i=a>0;if(i||r>0){if(i||(a=r,r=0),r>a){var s=a;a=r,r=s}var l=t.startAngle,c=t.endAngle;if(!isNaN(l)&&!isNaN(c)){var d=t.cx,u=t.cy,h=!!t.clockwise,f=ON(c-l),v=f>lD&&f%lD;if(v>li&&(f=v),a>li)if(f>lD-li)n.moveTo(d+a*cm(l),u+a*Md(l)),n.arc(d,u,a,l,c,!h),r>li&&(n.moveTo(d+r*cm(c),u+r*Md(c)),n.arc(d,u,r,c,l,h));else{var A=void 0,b=void 0,x=void 0,S=void 0,k=void 0,D=void 0,I=void 0,M=void 0,R=void 0,N=void 0,U=void 0,z=void 0,B=void 0,K=void 0,W=void 0,Z=void 0,X=a*cm(l),tt=a*Md(l),rt=r*cm(c),ot=r*Md(c),st=f>li;if(st){var gt=t.cornerRadius;gt&&(e=function Vit(n){var t;if(vt(n)){var e=n.length;if(!e)return n;t=1===e?[n[0],n[0],0,0]:2===e?[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if(z>li){Jt=Zi(A,z),Ht=R_(rt,ot,B,K,r,-(me=Zi(b,z)),h),ae=R_(X,tt,W,Z,r,-Jt,h);n.lineTo(d+Ht.cx+Ht.x0,u+Ht.cy+Ht.y0),z<N&&Jt===me?n.arc(d+Ht.cx,u+Ht.cy,z,ka(Ht.y0,Ht.x0),ka(ae.y0,ae.x0),!h):(me>0&&n.arc(d+Ht.cx,u+Ht.cy,me,ka(Ht.y0,Ht.x0),ka(Ht.y1,Ht.x1),!h),n.arc(d,u,r,ka(Ht.cy+Ht.y1,Ht.cx+Ht.x1),ka(ae.cy+ae.y1,ae.cx+ae.x1),h),Jt>0&&n.arc(d+ae.cx,u+ae.cy,Jt,ka(ae.y1,ae.x1),ka(ae.y0,ae.x0),!h))}else n.lineTo(d+rt,u+ot),n.arc(d,u,r,c,l,h);else n.lineTo(d+rt,u+ot)}else n.moveTo(d,u);n.closePath()}}}var Eit=function n(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},RN=function(n){function t(e){return n.call(this,e)||this}return cn(t,n),t.prototype.getDefaultShape=function(){return new Eit},t.prototype.buildPath=function(e,a){zit(e,a)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(fe);RN.prototype.type="sector";const tr=RN;var qit=function n(){this.cx=0,this.cy=0,this.r=0,this.r0=0},LN=function(n){function t(e){return n.call(this,e)||this}return cn(t,n),t.prototype.getDefaultShape=function(){return new qit},t.prototype.buildPath=function(e,a){var r=a.cx,i=a.cy,o=2*Math.PI;e.moveTo(r+a.r,i),e.arc(r,i,a.r,0,o,!1),e.moveTo(r+a.r0,i),e.arc(r,i,a.r0,0,o,!0)},t}(fe);LN.prototype.type="ring";const L_=LN;function NN(n,t,e){var a=t.smooth,r=t.points;if(r&&r.length>=2){if(a){var i=function Hit(n,t,e,a){var l,c,d,u,r=[],i=[],o=[],s=[];if(a){d=[1/0,1/0],u=[-1/0,-1/0];for(var h=0,f=n.length;h<f;h++)pl(d,d,n[h]),hl(u,u,n[h]);pl(d,d,a[0]),hl(u,u,a[1])}for(h=0,f=n.length;h<f;h++){var v=n[h];if(e)l=n[h?h-1:f-1],c=n[(h+1)%f];else{if(0===h||h===f-1){r.push(Ko(n[h]));continue}l=n[h-1],c=n[h+1]}Yc(i,c,l),k0(i,i,t);var A=Kk(v,l),b=Kk(v,c),x=A+b;0!==x&&(A/=x,b/=x),k0(o,i,-A),k0(s,i,b);var S=bR([],v,o),k=bR([],v,s);a&&(hl(S,S,d),pl(S,S,u),hl(k,k,d),pl(k,k,u)),r.push(S),r.push(k)}return e&&r.push(r.shift()),r}(r,a,e,t.smoothConstraint);n.moveTo(r[0][0],r[0][1]);for(var o=r.length,s=0;s<(e?o:o-1);s++){var l=i[2*s],c=i[2*s+1],d=r[(s+1)%o];n.bezierCurveTo(l[0],l[1],c[0],c[1],d[0],d[1])}}else{n.moveTo(r[0][0],r[0][1]);s=1;for(var u=r.length;s<u;s++)n.lineTo(r[s][0],r[s][1])}e&&n.closePath()}}var Bit=function n(){this.points=null,this.smooth=0,this.smoothConstraint=null},UN=function(n){function t(e){return n.call(this,e)||this}return cn(t,n),t.prototype.getDefaultShape=function(){return new Bit},t.prototype.buildPath=function(e,a){NN(e,a,!0)},t}(fe);UN.prototype.type="polygon";const er=UN;var jit=function n(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},FN=function(n){function t(e){return n.call(this,e)||this}return cn(t,n),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new jit},t.prototype.buildPath=function(e,a){NN(e,a,!1)},t}(fe);FN.prototype.type="polyline";const nr=FN;var Git={},Kit=function n(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},VN=function(n){function t(e){return n.call(this,e)||this}return cn(t,n),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Kit},t.prototype.buildPath=function(e,a){var r,i,o,s;if(this.subPixelOptimize){var l=r3(Git,a,this.style);r=l.x1,i=l.y1,o=l.x2,s=l.y2}else r=a.x1,i=a.y1,o=a.x2,s=a.y2;var c=a.percent;0!==c&&(e.moveTo(r,i),c<1&&(o=r*(1-c)+o*c,s=i*(1-c)+s*c),e.lineTo(o,s))},t.prototype.pointAt=function(e){var a=this.shape;return[a.x1*(1-e)+a.x2*e,a.y1*(1-e)+a.y2*e]},t}(fe);VN.prototype.type="line";const ea=VN;var ar=[],Wit=function n(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function zN(n,t,e){var a=n.cpx2,r=n.cpy2;return null!=a||null!=r?[(e?qR:Gn)(n.x1,n.cpx1,n.cpx2,n.x2,t),(e?qR:Gn)(n.y1,n.cpy1,n.cpy2,n.y2,t)]:[(e?l2:ta)(n.x1,n.cpx1,n.x2,t),(e?l2:ta)(n.y1,n.cpy1,n.y2,t)]}var EN=function(n){function t(e){return n.call(this,e)||this}return cn(t,n),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Wit},t.prototype.buildPath=function(e,a){var r=a.x1,i=a.y1,o=a.x2,s=a.y2,l=a.cpx1,c=a.cpy1,d=a.cpx2,u=a.cpy2,h=a.percent;0!==h&&(e.moveTo(r,i),null==d||null==u?(h<1&&(Mv(r,l,o,h,ar),l=ar[1],o=ar[2],Mv(i,c,s,h,ar),c=ar[1],s=ar[2]),e.quadraticCurveTo(l,c,o,s)):(h<1&&(gl(r,l,d,o,h,ar),l=ar[1],d=ar[2],o=ar[3],gl(i,c,u,s,h,ar),c=ar[1],u=ar[2],s=ar[3]),e.bezierCurveTo(l,c,d,u,o,s)))},t.prototype.pointAt=function(e){return zN(this.shape,e,!1)},t.prototype.tangentAt=function(e){var a=zN(this.shape,e,!0);return Oh(a,a)},t}(fe);EN.prototype.type="bezier-curve";const N_=EN;var Jit=function n(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},qN=function(n){function t(e){return n.call(this,e)||this}return cn(t,n),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Jit},t.prototype.buildPath=function(e,a){var r=a.cx,i=a.cy,o=Math.max(a.r,0),s=a.startAngle,l=a.endAngle,c=a.clockwise,d=Math.cos(s),u=Math.sin(s);e.moveTo(d*o+r,u*o+i),e.arc(r,i,o,s,l,!c)},t}(fe);qN.prototype.type="arc";const cD=qN;var Zit=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type="compound",e}return cn(t,n),t.prototype._updatePathDirty=function(){for(var e=this.shape.paths,a=this.shapeChanged(),r=0;r<e.length;r++)a=a||e[r].shapeChanged();a&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var e=this.shape.paths||[],a=this.getGlobalScale(),r=0;r<e.length;
vendor: 4,170 bytes, line 1
1r++)e[r].path||e[r].createPathProxy(),e[r].path.setScale(a[0],a[1],e[r].segmentIgnoreThreshold)},t.prototype.buildPath=function(e,a){for(var r=a.paths||[],i=0;i<r.length;i++)r[i].buildPath(e,r[i].shape,!0)},t.prototype.afterBrush=function(){for(var e=this.shape.paths||[],a=0;a<e.length;a++)e[a].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),fe.prototype.getBoundingRect.call(this)},t}(fe);const dD=Zit;var Xit=function(){function n(t){this.colorStops=t||[]}return n.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},n}();const HN=Xit;var Yit=function(n){function t(e,a,r,i,o,s){var l=n.call(this,o)||this;return l.x=e??0,l.y=a??0,l.x2=r??1,l.y2=i??0,l.type="linear",l.global=s||!1,l}return cn(t,n),t}(HN);const fA=Yit;var Qit=function(n){function t(e,a,r,i,o){var s=n.call(this,i)||this;return s.x=e??.5,s.y=a??.5,s.r=r??.5,s.type="radial",s.global=o||!1,s}return cn(t,n),t}(HN);const BN=Qit;var Od=[0,0],Rd=[0,0],U_=new ce,F_=new ce,$it=function(){function n(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var a=0;a<4;a++)this._corners[a]=new ce;for(a=0;a<2;a++)this._axes[a]=new ce;t&&this.fromBoundingRect(t,e)}return n.prototype.fromBoundingRect=function(t,e){var a=this._corners,r=this._axes,i=t.x,o=t.y,s=i+t.width,l=o+t.height;if(a[0].set(i,o),a[1].set(s,o),a[2].set(s,l),a[3].set(i,l),e)for(var c=0;c<4;c++)a[c].transform(e);ce.sub(r[0],a[1],a[0]),ce.sub(r[1],a[3],a[0]),r[0].normalize(),r[1].normalize();for(c=0;c<2;c++)this._origin[c]=r[c].dot(a[0])},n.prototype.intersect=function(t,e){var a=!0,r=!e;return U_.set(1/0,1/0),F_.set(0,0),!this._intersectCheckOneSide(this,t,U_,F_,r,1)&&(a=!1,r)||!this._intersectCheckOneSide(t,this,U_,F_,r,-1)&&(a=!1,r)||r||ce.copy(e,a?U_:F_),a},n.prototype._intersectCheckOneSide=function(t,e,a,r,i,o){for(var s=!0,l=0;l<2;l++){var c=this._axes[l];if(this._getProjMinMaxOnAxis(l,t._corners,Od),this._getProjMinMaxOnAxis(l,e._corners,Rd),Od[1]<Rd[0]||Od[0]>Rd[1]){if(s=!1,i)return s;var d=Math.abs(Rd[0]-Od[1]),u=Math.abs(Od[0]-Rd[1]);Math.min(d,u)>r.len()&&(d<u?ce.scale(r,c,-d*o):ce.scale(r,c,u*o))}else if(a){d=Math.abs(Rd[0]-Od[1]),u=Math.abs(Od[0]-Rd[1]);Math.min(d,u)<a.len()&&(d<u?ce.scale(a,c,d*o):ce.scale(a,c,-u*o))}}return s},n.prototype._getProjMinMaxOnAxis=function(t,e,a){for(var r=this._axes[t],i=this._origin,o=e[0].dot(r)+i[t],s=o,l=o,c=1;c<e.length;c++){var d=e[c].dot(r)+i[t];s=Math.min(d,s),l=Math.max(d,l)}a[0]=s,a[1]=l},n}();const V_=$it;var tot=[],eot=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return cn(t,n),t.prototype.traverse=function(e,a){e.call(a,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(e,a){a?this._temporaryDisplayables.push(e):this._displayables.push(e),this.markRedraw()},t.prototype.addDisplayables=function(e,a){a=a||!1;for(var r=0;r<e.length;r++)this.addDisplayable(e[r],a)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(e){for(var a=this._cursor;a<this._displayables.length;a++)e&&e(this._displayables[a]);for(a=0;a<this._temporaryDisplayables.length;a++)e&&e(this._temporaryDisplayables[a])},t.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){(a=this._displayables[e]).parent=this,a.update(),a.parent=null}for(e=0;e<this._temporaryDisplayables.length;e++){var a;(a=this._temporaryDisplayables[e]).parent=this,a.update(),a.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new de(1/0,1/0,-1/0,-1/0),a=0;a<this._displayables.length;
vendor: 5,110 bytes, line 1
1a++){var r=this._displayables[a],i=r.getBoundingRect().clone();r.needLocalTransform()&&i.applyTransform(r.getLocalTransform(tot)),e.union(i)}this._rect=e}return this._rect},t.prototype.contain=function(e,a){var r=this.transformCoordToLocal(e,a);if(this.getBoundingRect().contain(r[0],r[1]))for(var o=0;o<this._displayables.length;o++){if(this._displayables[o].contain(e,a))return!0}return!1},t}(Mr);const not=eot;var z_=Math.max,E_=Math.min,uD={};function aot(n){return fe.extend(n)}var rot=function Oit(n,t){var e=DN(n,t);return function(r){function i(o){var s=r.call(this,o)||this;return s.applyTransform=e.applyTransform,s.buildPath=e.buildPath,s}return cn(i,r),i}(kN)};function iot(n,t){return rot(n,t)}function ci(n,t){uD[n]=t}function pD(n){if(uD.hasOwnProperty(n))return uD[n]}function q_(n,t,e,a){var r=TN(n,t);return e&&("center"===a&&(e=GN(e,r.getBoundingRect())),KN(r,e)),r}function jN(n,t,e){var a=new la({style:{image:n,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(r){if("center"===e){var i={width:r.width,height:r.height};a.setStyle(GN(t,i))}}});return a}function GN(n,t){var r,e=t.width/t.height,a=n.height*e;return a<=n.width?r=n.height:r=(a=n.width)/e,{x:n.x+n.width/2-a/2,y:n.y+n.height/2-r/2,width:a,height:r}}var Fr=function Rit(n,t){for(var e=[],a=n.length,r=0;r<a;r++){var i=n[r];e.push(i.getUpdatedPathProxy(!0))}var o=new fe(t);return o.createPathProxy(),o.buildPath=function(s){if(CN(s)){s.appendPath(e);var l=s.getContext();l&&s.rebuildPath(l,1)}},o};function KN(n,t){if(n.applyTransform){var a=n.getBoundingRect().calculateTransform(t);n.applyTransform(a)}}function dm(n,t){return r3(n,n,{lineWidth:t}),n}function oot(n){return i3(n.shape,n.shape,n.style),n}var H_=yd;function Ld(n,t){for(var e=D0([]);n&&n!==t;)Jo(e,n.getLocalTransform(),e),n=n.parent;return e}function di(n,t,e){return t&&!_a(t)&&(t=Xo.getLocalTransform(t)),e&&(t=Lh([],t)),sa([],n,t)}function B_(n,t,e){var a=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),r=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),i=["left"===n?-a:"right"===n?a:0,"top"===n?-r:"bottom"===n?r:0];return i=di(i,t,e),Math.abs(i[0])>Math.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function WN(n){return!n.isGroup}function gA(n,t,e){if(n&&t){var i=function a(o){var s={};return o.traverse(function(l){WN(l)&&l.anid&&(s[l.anid]=l)}),s}(n);t.traverse(function(o){if(WN(o)&&o.anid){var s=i[o.anid];if(s){var l=r(o);o.attr(r(s)),Te(o,l,e,ee(o).dataIndex)}}})}function r(o){var s={x:o.x,y:o.y,rotation:o.rotation};return function sot(n){return null!=n.shape}(o)&&(s.shape=ft({},o.shape)),s}}function JN(n,t){return At(n,function(e){var a=e[0];a=z_(a,t.x),a=E_(a,t.x+t.width);var r=e[1];return r=z_(r,t.y),[a,r=E_(r,t.y+t.height)]})}function lot(n,t){var e=z_(n.x,t.x),a=E_(n.x+n.width,t.x+t.width),r=z_(n.y,t.y),i=E_(n.y+n.height,t.y+t.height);if(a>=e&&i>=r)return{x:e,y:r,width:a-e,height:i-r}}function vA(n,t,e){var a=ft({rectHover:!0},t),r=a.style={strokeNoScale:!0};if(e=e||{x:-1,y:-1,width:2,height:2},n)return 0===n.indexOf("image://")?(r.image=n.slice(8),Kt(r,e),new la(a)):q_(n.replace("path://",""),a,e,"center")}function AA(n,t,e,a,r){for(var i=0,o=r[r.length-1];i<r.length;i++){var s=r[i];if(ZN(n,t,e,a,s[0],s[1],o[0],o[1]))return!0;o=s}}function ZN(n,t,e,a,r,i,o,s){var l=e-n,c=a-t,d=o-r,u=s-i,h=hD(d,u,l,c);if(function cot(n){return n<=1e-6&&n>=-1e-6}(h))return!1;var f=n-r,v=t-i,A=hD(f,v,l,c)/h;if(A<0||A>1)return!1;var b=hD(f,v,d,u)/h;return!(b<0||b>1)}function hD(n,t,e,a){return n*a-e*t}function Nd(n){var t=n.itemTooltipOption,e=n.componentModel,a=n.itemName,r=Lt(t)?{formatter:t}:t,i=e.mainType,o=e.componentIndex,s={componentType:i,name:a,$vars:["name"]};s[i+"Index"]=o;var l=n.formatterParamsExtra;l&&q(ve(l),function(d){Vt(s,d)||(s[d]=l[d],s.$vars.push(d))});var c=ee(n.el);c.componentMainType=i,c.componentIndex=o,c.tooltipConfig={name:a,option:Kt({content:a,encodeHTMLContent:!0,formatterParams:s},r)}}function XN(n,t){var e;n.isGroup&&(e=t(n)),e||n.traverse(t)}function Il(n,t){if(n)if(vt(n))for(var e=0;e<n.length;e++)XN(n[e],t);else XN(n,t)}ci("circle",Pl),ci("ellipse",sD),ci("sector",tr),ci("ring",L_),ci("polygon",er),ci("polyline",nr),ci("rect",Se),ci("line",ea),ci("bezierCurve",N_),ci("arc",cD);var YN=_e(),dot=sm(),mD=function(){function n(){this.group=new te,this.uid=Zh("viewChart"),this.renderTask=uA({plan:uot,reset:pot}),this.renderTask.context={view:this}}return n.prototype.init=function(t,e){},n.prototype.render=function(t,e,a,r){},n.prototype.highlight=function(t,e,a,r){var i=t.getData(r&&r.dataType);!i||$N(i,r,"emphasis")},n.prototype.downplay=function(t,e,a,r){var i=t.getData(r&&r.dataType);!i||$N(i,r,"normal")},n.prototype.remove=function(t,e){this.group.removeAll()},n.prototype.dispose=function(t,e){},n.prototype.updateView=function(t,e,a,r){this.render(t,e,a,r)},n.prototype.updateLayout=function(t,e,a,r){this.render(t,e,a,r)},n.prototype.updateVisual=function(t,e,a,r){this.render(t,e,a,r)},n.prototype.eachRendered=function(t){Il(this.group,t)},n.markUpdateMethod=function(t,e){YN(t).updateMethod=e},n.protoInitialize=void(n.prototype.type="chart"),n}();
vendor: 4,261 bytes, line 1
1function QN(n,t,e){n&&tA(n)&&("emphasis"===t?es:ns)(n,e)}function $N(n,t,e){var a=cd(n,t),r=t&&null!=t.highlightKey?function Oat(n){var t=b3[n];return null==t&&y3<=32&&(t=b3[n]=y3++),t}(t.highlightKey):null;null!=a?q(Be(a),function(i){QN(n.getItemGraphicEl(i),e,r)}):n.eachItemGraphicEl(function(i){QN(i,e,r)})}function uot(n){return dot(n.model)}function pot(n){var t=n.model,e=n.ecModel,a=n.api,r=n.payload,i=t.pipelineContext.progressiveRender,o=n.view,s=r&&YN(r).updateMethod,l=i?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==l&&o[l](t,e,a,r),hot[l]}K2(mD),Y0(mD);var hot={incrementalPrepareRender:{progress:function(n,t){t.view.incrementalRender(n,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(n,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};const nn=mD;var j_="\0__throttleOriginMethod",tU="\0__throttleRate",eU="\0__throttleType";function fD(n,t,e){var a,s,l,c,d,r=0,i=0,o=null;function u(){i=(new Date).getTime(),o=null,n.apply(l,c||[])}t=t||0;var h=function(){for(var f=[],v=0;v<arguments.length;v++)f[v]=arguments[v];a=(new Date).getTime(),l=this,c=f;var A=d||t,b=d||e;d=null,s=a-(b?r:i)-A,clearTimeout(o),b?o=setTimeout(u,A):s>=0?u():o=setTimeout(u,-s),r=a};return h.clear=function(){o&&(clearTimeout(o),o=null)},h.debounceNextCall=function(f){d=f},h}function um(n,t,e,a){var r=n[t];if(r){var i=r[j_]||r,o=r[eU];if(r[tU]!==e||o!==a){if(null==e||!a)return n[t]=i;(r=n[t]=fD(i,e,"debounce"===a))[j_]=i,r[eU]=a,r[tU]=e}return r}}function yA(n,t){var e=n[t];e&&e[j_]&&(e.clear&&e.clear(),n[t]=e[j_])}var nU=_e(),aU={itemStyle:ud(K3,!0),lineStyle:ud(G3,!0)},mot={lineStyle:"stroke",itemStyle:"fill"};function rU(n,t){return n.visualStyleMapper||aU[t]||(console.warn("Unknown style type '"+t+"'."),aU.itemStyle)}function iU(n,t){return n.visualDrawType||mot[t]||(console.warn("Unknown style type '"+t+"'."),"fill")}var fot={createOnAllSeries:!0,performRawSeries:!0,reset:function(n,t){var e=n.getData(),a=n.visualStyleAccessPath||"itemStyle",r=n.getModel(a),o=rU(n,a)(r),s=r.getShallow("decal");s&&(e.setVisual("decal",s),s.dirty=!0);var l=iU(n,a),c=o[l],d=jt(c)?c:null,u="auto"===o.fill||"auto"===o.stroke;if(!o[l]||d||u){var h=n.getColorFromPalette(n.name,null,t.getSeriesCount());o[l]||(o[l]=h,e.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||jt(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||jt(o.stroke)?h:o.stroke}if(e.setVisual("style",o),e.setVisual("drawType",l),!t.isSeriesFiltered(n)&&d)return e.setVisual("colorFromPalette",!1),{dataEach:function(f,v){var A=n.getDataParams(v),b=ft({},o);b[l]=d(A),f.setItemVisual(v,"style",b)}}}},bA=new en,got={createOnAllSeries:!0,performRawSeries:!0,reset:function(n,t){if(!n.ignoreStyleOnData&&!t.isSeriesFiltered(n)){var e=n.getData(),a=n.visualStyleAccessPath||"itemStyle",r=rU(n,a),i=e.getVisual("drawType");return{dataEach:e.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[a]){bA.option=l[a];var c=r(bA);ft(o.ensureUniqueItemVisual(s,"style"),c),bA.option.decal&&(o.setItemVisual(s,"decal",bA.option.decal),bA.option.decal.dirty=!0),i in c&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},vot={performRawSeries:!0,overallReset:function(n){var t=Et();n.eachSeries(function(e){var a=e.getColorBy();if(!e.isColorBySeries()){var r=e.type+"-"+a,i=t.get(r);i||(i={},t.set(r,i)),nU(e).scope=i}}),n.eachSeries(function(e){if(!e.isColorBySeries()&&!n.isSeriesFiltered(e)){var a=e.getRawData(),r={},i=e.getData(),o=nU(e).scope,s=e.visualStyleAccessPath||"itemStyle",l=iU(e,s);i.each(function(c){var d=i.getRawIndex(c);r[d]=c}),a.each(function(c){var d=r[c];if(i.getItemVisual(d,"colorFromPalette")){var h=i.ensureUniqueItemVisual(d,"style"),f=a.getName(c)||c+"",v=a.count();h[l]=e.getColorFromPalette(f,o,v)}})}})}},G_=Math.PI;var yot=function(){function n(t,e,a,r){this._stageTaskMap=Et(),this.ecInstance=t,this.api=e,a=this._dataProcessorHandlers=a.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=a.concat(r)}return n.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(a){var r=a.overallTask;r&&r.dirty()})},n.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var a=this._pipelineMap.get(t.__pipeline.id),r=a.context,o=!e&&a.progressiveEnabled&&(!r||r.progressiveRen
vendor: 5,296 bytes, line 1
1der)&&t.__idxInPipeline>a.blockIndex?a.step:null,s=r&&r.modDataCount;return{step:o,modBy:null!=s?Math.ceil(s/o):null,modDataCount:s}}},n.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},n.prototype.updateStreamModes=function(t,e){var a=this._pipelineMap.get(t.uid),i=t.getData().count(),o=a.progressiveEnabled&&e.incrementalPrepareRender&&i>=a.threshold,s=t.get("large")&&i>=t.get("largeThreshold"),l="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=a.context={progressiveRender:o,modDataCount:l,large:s}},n.prototype.restorePipelines=function(t){var e=this,a=e._pipelineMap=Et();t.eachSeries(function(r){var i=r.getProgressive(),o=r.uid;a.set(o,{id:o,head:null,tail:null,threshold:r.getProgressiveThreshold(),progressiveEnabled:i&&!(r.preventIncremental&&r.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(r,r.dataTask)})},n.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),a=this.api;q(this._allHandlers,function(r){var i=t.get(r.uid)||t.set(r.uid,{});Oa(!(r.reset&&r.overallReset),""),r.reset&&this._createSeriesStageTask(r,i,e,a),r.overallReset&&this._createOverallStageTask(r,i,e,a)},this)},n.prototype.prepareView=function(t,e,a,r){var i=t.renderTask,o=i.context;o.model=e,o.ecModel=a,o.api=r,i.__block=!t.incrementalPrepareRender,this._pipe(e,i)},n.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},n.prototype.performVisualTasks=function(t,e,a){this._performStageTasks(this._visualHandlers,t,e,a)},n.prototype._performStageTasks=function(t,e,a,r){r=r||{};var i=!1,o=this;function s(l,c){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(c.__pipeline.id))}q(t,function(l,c){if(!r.visualType||r.visualType===l.visualType){var d=o._stageTaskMap.get(l.uid),u=d.seriesTaskMap,h=d.overallTask;if(h){var f,v=h.agentStubMap;v.each(function(b){s(r,b)&&(b.dirty(),f=!0)}),f&&h.dirty(),o.updatePayload(h,a);var A=o.getPerformArgs(h,r.block);v.each(function(b){b.perform(A)}),h.perform(A)&&(i=!0)}else u&&u.each(function(b,x){s(r,b)&&b.dirty();var S=o.getPerformArgs(b,r.block);S.skip=!l.performRawSeries&&e.isSeriesFiltered(b.context.model),o.updatePayload(b,a),b.perform(S)&&(i=!0)})}}),this.unfinished=i||this.unfinished},n.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(a){e=a.dataTask.perform()||e}),this.unfinished=e||this.unfinished},n.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},n.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},n.prototype._createSeriesStageTask=function(t,e,a,r){var i=this,o=e.seriesTaskMap,s=e.seriesTaskMap=Et(),l=t.seriesType,c=t.getTargetSeries;function d(u){var h=u.uid,f=s.set(h,o&&o.get(h)||uA({plan:wot,reset:kot,count:Dot}));f.context={model:u,ecModel:a,api:r,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(u,f)}t.createOnAllSeries?a.eachRawSeries(d):l?a.eachRawSeriesByType(l,d):c&&c(a,r).each(d)},n.prototype._createOverallStageTask=function(t,e,a,r){var i=this,o=e.overallTask=e.overallTask||uA({reset:bot});o.context={ecModel:a,api:r,overallReset:t.overallReset,scheduler:i};var s=o.agentStubMap,l=o.agentStubMap=Et(),c=t.seriesType,d=t.getTargetSeries,u=!0,h=!1;function v(A){var b=A.uid,x=l.set(b,s&&s.get(b)||(h=!0,uA({reset:_ot,onDirty:Sot})));x.context={model:A,overallProgress:u},x.agent=o,x.__block=u,i._pipe(A,x)}Oa(!t.createOnAllSeries,""),c?a.eachRawSeriesByType(c,v):d?d(a,r).each(v):(u=!1,q(a.getSeries(),v)),h&&o.dirty()},n.prototype._pipe=function(t,e){var a=t.uid,r=this._pipelineMap.get(a);!r.head&&(r.head=e),r.tail&&r.tail.pipe(e),r.tail=e,e.__idxInPipeline=r.count++,e.__pipeline=r},n.wrapStageHandler=function(t,e){return jt(t)&&(t={overallReset:t,seriesType:Tot(t)}),t.uid=Zh("stageHandler"),e&&(t.visualType=e),t},n}();function bot(n){n.overallReset(n.ecModel,n.api,n.payload)}function _ot(n){return n.overallProgress&&xot}function xot(){this.agent.dirty(),this.getDownstream().dirty()}function Sot(){this.agent&&this.agent.dirty()}function wot(n){return n.plan?n.plan(n.model,n.ecModel,n.api,n.payload):null}function kot(n){n.useClearVisual&&n.data.clearAllVisual();var t=n.resetDefines=Be(n.reset(n.model,n.ecModel,n.api,n.payload));return t.length>1?At(t,function(e,a){return oU(a)}):Cot}var Cot=oU(0);function oU(n){return function(t,e){var a=e.data,r=e.resetDefines[n];if(r&&r.dataEach)for(var i=t.start;i<t.end;i++)r.dataEach(a,i);else r&&r.progress&&r.progress(t,a)}}function Dot(n){return n.data.count()}function Tot(n){K_=null;try{n(_A,sU)}catch{}return K_}var K_,_A={},sU={};function lU(n,t){for(var e in t.prototype)n[e]=Tn}lU(_A,T5),lU(sU,P5),_A.eachSeriesByType=_A.eachRawSeriesByType=function(n){K_=n},_A.eachComponent=function(n){"series"===n.mainType&&n.subType&&(K_=n.subType)};const cU=yot;var dU=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const Pot={color:dU,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],dU]};
vendor: 17,390 bytes, line 1
1var Ca="#B9B8CE",uU="#100C2A",W_=function(){return{axisLine:{lineStyle:{color:Ca}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},pU=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],hU={darkMode:!0,color:pU,backgroundColor:uU,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Ca},pageTextStyle:{color:Ca}},textStyle:{color:Ca},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Ca}},dataZoom:{borderColor:"#71708A",textStyle:{color:Ca},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Ca}},timeline:{lineStyle:{color:Ca},label:{color:Ca},controlStyle:{color:Ca,borderColor:Ca}},calendar:{itemStyle:{color:uU},dayLabel:{color:Ca},monthLabel:{color:Ca},yearLabel:{color:Ca}},timeAxis:W_(),logAxis:W_(),valueAxis:W_(),categoryAxis:W_(),line:{symbol:"circle"},graph:{color:pU},gauge:{title:{color:Ca},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Ca},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};hU.categoryAxis.splitLine.show=!1;const Iot=hU;var Mot=function(){function n(){}return n.prototype.normalizeQuery=function(t){var e={},a={},r={};if(Lt(t)){var i=Hi(t);e.mainType=i.main||null,e.subType=i.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};q(t,function(l,c){for(var d=!1,u=0;u<o.length;u++){var h=o[u],f=c.lastIndexOf(h);if(f>0&&f===c.length-h.length){var v=c.slice(0,f);"data"!==v&&(e.mainType=v,e[h.toLowerCase()]=l,d=!0)}}s.hasOwnProperty(c)&&(a[c]=l,d=!0),d||(r[c]=l)})}return{cptQuery:e,dataQuery:a,otherQuery:r}},n.prototype.filter=function(t,e){var a=this.eventInfo;if(!a)return!0;var r=a.targetEl,i=a.packedEvent,o=a.model,s=a.view;if(!o||!s)return!0;var l=e.cptQuery,c=e.dataQuery;return d(l,o,"mainType")&&d(l,o,"subType")&&d(l,o,"index","componentIndex")&&d(l,o,"name")&&d(l,o,"id")&&d(c,i,"name")&&d(c,i,"dataIndex")&&d(c,i,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,r,i));function d(u,h,f,v){return null==u[f]||h[v||f]===u[f]}},n.prototype.afterTrigger=function(){this.eventInfo=null},n}(),gD=["symbol","symbolSize","symbolRotate","symbolOffset"],mU=gD.concat(["symbolKeepAspect"]),Oot={createOnAllSeries:!0,performRawSeries:!0,reset:function(n,t){var e=n.getData();if(n.legendIcon&&e.setVisual("legendIcon",n.legendIcon),n.hasSymbolVisual){for(var a={},r={},i=!1,o=0;o<gD.length;o++){var s=gD[o],l=n.get(s);jt(l)?(i=!0,r[s]=l):a[s]=l}if(a.symbol=a.symbol||n.defaultSymbol,e.setVisual(ft({legendIcon:n.legendIcon||a.symbol,symbolKeepAspect:n.get("symbolKeepAspect")},a)),!t.isSeriesFiltered(n)){var c=ve(r);return{dataEach:i?function d(u,h){for(var f=n.getRawValue(h),v=n.getDataParams(h),A=0;A<c.length;A++){var b=c[A];u.setItemVisual(h,b,r[b](f,v))}}:null}}}}},Rot={createOnAllSeries:!0,performRawSeries:!0,reset:function(n,t){if(n.hasSymbolVisual&&!t.isSeriesFiltered(n))return{dataEach:n.getData().hasItemOption?function a(r,i){for(var o=r.getItemModel(i),s=0;s<mU.length;s++){var l=mU[s],c=o.getShallow(l,!0);null!=c&&r.setItemVisual(i,l,c)}}:null}}};function vD(n,t,e){switch(e){case"color":return n.getItemVisual(t,"style")[n.getVisual("drawType")];case"opacity":return n.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return n.getItemVisual(t,e)}}function xA(n,t){switch(t){case"color":return n.getVisual("style")[n.getVisual("drawType")];case"opacity":return n.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return n.getVisual(t)}}function fU(n,t,e,a){switch(e){case"color":n.ensureUniqueItemVisual(t,"style")[n.getVisual("drawType")]=a,n.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":n.ensureUniqueItemVisual(t,"style").opacity=a;break;case"symbol":case"symbolSize":case"liftZ":n.setItemVisual(t,e,a)}}function gU(n,t){function e(a,r){var i=[];return a.eachComponent({mainType:"series",subType:n,query:r},function(o){i.push(o.seriesIndex)}),i}q([[n+"ToggleSelect","toggleSelect"],[n+"Select","select"],[n+"UnSelect","unselect"]],function(a){t(a[0],function(r,i,o){r=ft({},r),o.dispatchAction(ft(r,{type:a[1],seriesIndex:e(i,r)}))})})}function pm(n,t,e,a,r){var i=n+t;e.isSilent(i)||a.eachComponent({mainType:"series",subType:"pie"},function(o){for(var s=o.seriesIndex,l=o.option.selectedMap,c=r.selected,d=0;d<c.length;d++)if(c[d].seriesIndex===s){var u=o.getData(),h=cd(u,r.fromActionPayload);e.trigger(i,{type:i,seriesId:o.id,name:vt(h)?u.getName(h[0]):u.getName(h),selected:Lt(l)?l:ft({},l)})}})}function Ud(n,t,e){for(var a;n&&(!t(n)||(a=n,!e));)n=n.__hostTarget||n.parent;return a}var Not=Math.round(9*Math.random()),Uot="function"==typeof Object.defineProperty,Fot=function(){function n(){this._id="__ec_inner_"+Not++}return n.prototype.get=function(t){return this._guard(t)[this._id]},n.prototype.set=function(t,e){var a=this._guard(t);return Uot?Object.defineProperty(a,this._id,{value:e,enumerable:!1,configurable:!0}):a[this._id]=e,this},n.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},n.prototype.has=function(t){return!!this._guard(t)[this._id]},n.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},n}();const Vot=Fot;var zot=fe.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(n,t){var e=t.cx,a=t.cy,r=t.width/2,i=t.height/2;n.moveTo(e,a-i),n.lineTo(e+r,a+i),n.lineTo(e-r,a+i),n.closePath()}}),Eot=fe.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(n,t){var e=t.cx,a=t.cy,r=t.width/2,i=t.height/2;n.moveTo(e,a-i),n.lineTo(e+r,a),n.lineTo(e,a+i),n.lineTo(e-r,a),n.closePath()}}),qot=fe.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(n,t){var e=t.x,a=t.y,r=t.width/5*3,i=Math.max(r,t.height),o=r/2,s=o*o/(i-o),l=a-i+o+s,c=Math.asin(s/o),d=Math.cos(c)*o,u=Math.sin(c),h=Math.cos(c),f=.6*o,v=.7*o;n.moveTo(e-d,l+s),n.arc(e,l,o,Math.PI-c,2*Math.PI+c),n.bezierCurveTo(e+d-u*f,l+s+h*f,e,a-v,e,a),n.bezierCurveTo(e,a-v,e-d+u*f,l+s+h*f,e-d,l+s),n.closePath()}}),Hot=fe.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(n,t){var e=t.height,a=t.width,r=t.x,i=t.y,o=a/3*2;n.moveTo(r,i),n.lineTo(r+o,i+e),n.lineTo(r,i+e/4*3),n.lineTo(r-o,i+e),n.lineTo(r,i),n.closePath()}}),jot={line:function(n,t,e,a,r){r.x1=n,r.y1=t+a/2,r.x2=n+e,r.y2=t+a/2},rect:function(n,t,e,a,r){r.x=n,r.y=t,r.width=e,r.height=a},roundRect:function(n,t,e,a,r){r.x=n,r.y=t,r.width=e,r.height=a,r.r=Math.min(e,a)/4},square:function(n,t,e,a,r){var i=Math.min(e,a);r.x=n,r.y=t,r.width=i,r.height=i},circle:function(n,t,e,a,r){r.cx=n+e/2,r.cy=t+a/2,r.r=Math.min(e,a)/2},diamond:function(n,t,e,a,r){r.cx=n+e/2,r.cy=t+a/2,r.width=e,r.height=a},pin:function(n,t,e,a,r){r.x=n+e/2,r.y=t+a/2,r.width=e,r.height=a},arrow:function(n,t,e,a,r){r.x=n+e/2,r.y=t+a/2,r.width=e,r.height=a},triangle:function(n,t,e,a,r){r.cx=n+e/2,r.cy=t+a/2,r.width=e,r.height=a}},J_={};q({line:ea,rect:Se,roundRect:Se,square:Se,circle:Pl,diamond:Eot,pin:qot,arrow:Hot,triangle:zot},function(n,t){J_[t]=new n});var Got=fe.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(n,t,e){var a=Z0(n,t,e),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===t.position&&(a.y=e.y+.4*e.height),a},buildPath:function(n,t,e){var a=t.symbolType;if("none"!==a){var r=J_[a];r||(r=J_[a="rect"]),jot[a](t.x,t.y,t.width,t.height,r.shape),r.buildPath(n,r.shape,e)}}});function Kot(n,t){if("image"!==this.type){var e=this.style;this.__isEmptyBrush?(e.stroke=n,e.fill=t||"#fff",e.lineWidth=2):"line"===this.shape.symbolType?e.stroke=n:e.fill=n,this.markRedraw()}}function Ln(n,t,e,a,r,i,o){var l,s=0===n.indexOf("empty");return s&&(n=n.substr(5,1).toLowerCase()+n.substr(6)),(l=0===n.indexOf("image://")?jN(n.slice(8),new de(t,e,a,r),o?"center":"cover"):0===n.indexOf("path://")?q_(n.slice(7),{},new de(t,e,a,r),o?"center":"cover"):new Got({shape:{symbolType:n,x:t,y:e,width:a,height:r}})).__isEmptyBrush=s,l.setColor=Kot,i&&l.setColor(i),l}function hm(n){return vt(n)||(n=[+n,+n]),[n[0]||0,n[1]||0]}function Fd(n,t){if(null!=n)return vt(n)||(n=[n,n]),[Ot(n[0],t[0])||0,Ot(ie(n[1],n[0]),t[1])||0]}function Vd(n){return isFinite(n)}function AD(n,t,e){for(var a="radial"===t.type?function Jot(n,t,e){var a=e.width,r=e.height,i=Math.min(a,r),o=null==t.x?.5:t.x,s=null==t.y?.5:t.y,l=null==t.r?.5:t.r;return t.global||(o=o*a+e.x,s=s*r+e.y,l*=i),o=Vd(o)?o:.5,s=Vd(s)?s:.5,l=l>=0&&Vd(l)?l:.5,n.createRadialGradient(o,s,0,o,s,l)}(n,t,e):function Wot(n,t,e){var a=null==t.x?0:t.x,r=null==t.x2?1:t.x2,i=null==t.y?0:t.y,o=null==t.y2?0:t.y2;return t.global||(a=a*e.width+e.x,r=r*e.width+e.x,i=i*e.height+e.y,o=o*e.height+e.y),a=Vd(a)?a:0,r=Vd(r)?r:1,i=Vd(i)?i:0,o=Vd(o)?o:0,n.createLinearGradient(a,i,r,o)}(n,t,e),r=t.colorStops,i=0;i<r.length;i++)a.addColorStop(r[i].offset,r[i].color);return a}function Z_(n){return parseInt(n,10)}function mm(n,t,e){var a=["width","height"][t],r=["clientWidth","clientHeight"][t],i=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[a]&&"auto"!==e[a])return parseFloat(e[a]);var s=document.defaultView.getComputedStyle(n);return(n[r]||Z_(s[a])||Z_(n.style[a]))-(Z_(s[i])||0)-(Z_(s[o])||0)|0}function yD(n){var t=n.style,e=t.lineDash&&t.lineWidth>0&&function Xot(n,t){return n&&"solid"!==n&&t>0?"dashed"===n?[4*t,2*t]:"dotted"===n?[t]:ke(n)?[n]:vt(n)?n:null:null}(t.lineDash,t.lineWidth),a=t.lineDashOffset;if(e){var r=t.strokeNoScale&&n.getLineScale?n.getLineScale():1;r&&1!==r&&(e=At(e,function(i){return i/r}),a/=r)}return[e,a]}var Yot=new Ki(!0);function X_(n){var t=n.stroke;return!(null==t||"none"===t||!(n.lineWidth>0))}function vU(n){return"string"==typeof n&&"none"!==n}function Y_(n){var t=n.fill;return null!=t&&"none"!==t}function AU(n,t){if(null!=t.fillOpacity&&1!==t.fillOpacity){var e=n.globalAlpha;n.globalAlpha=t.fillOpacity*t.opacity,n.fill(),n.globalAlpha=e}else n.fill()}function yU(n,t){if(null!=t.strokeOpacity&&1!==t.strokeOpacity){var e=n.globalAlpha;n.globalAlpha=t.strokeOpacity*t.opacity,n.stroke(),n.globalAlpha=e}else n.stroke()}function bD(n,t,e){var a=J2(t.image,t.__image,e);if(Q0(a)){var r=n.createPattern(a,t.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var i=new DOMMatrix;i.translateSelf(t.x||0,t.y||0),i.rotateSelf(0,0,(t.rotation||0)*S0),i.scaleSelf(t.scaleX||1,t.scaleY||1),r.setTransform(i)}return r}}var bU=["shadowBlur","shadowOffsetX","shadowOffsetY"],_U=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function xU(n,t,e,a,r){var i=!1;if(!a&&t===(e=e||{}))return!1;if(a||t.opacity!==e.opacity){rr(n,r),i=!0;var o=Math.max(Math.min(t.opacity,1),0);n.globalAlpha=isNaN(o)?pd.opacity:o}(a||t.blend!==e.blend)&&(i||(rr(n,r),i=!0),n.globalCompositeOperation=t.blend||pd.blend);for(var s=0;s<bU.length;s++){var l=bU[s];(a||t[l]!==e[l])&&(i||(rr(n,r),i=!0),n[l]=n.dpr*(t[l]||0))}return(a||t.shadowColor!==e.shadowColor)&&(i||(rr(n,r),i=!0),n.shadowColor=t.shadowColor||pd.shadowColor),i}function SU(n,t,e,a,r){var i=SA(t,r.inHover),o=a?null:e&&SA(e,r.inHover)||{};if(i===o)return!1;var s=xU(n,i,o,a,r);if((a||i.fill!==o.fill)&&(s||(rr(n,r),s=!0),vU(i.fill)&&(n.fillStyle=i.fill)),(a||i.stroke!==o.stroke)&&(s||(rr(n,r),s=!0),vU(i.stroke)&&(n.strokeStyle=i.stroke)),(a||i.opacity!==o.opacity)&&(s||(rr(n,r),s=!0),n.globalAlpha=null==i.opacity?1:i.opacity),t.hasStroke()){var c=i.lineWidth/(i.strokeNoScale&&t.getLineScale?t.getLineScale():1);n.lineWidth!==c&&(s||(rr(n,r),s=!0),n.lineWidth=c)}for(var d=0;d<_U.length;d++){var u=_U[d],h=u[0];(a||i[h]!==o[h])&&(s||(rr(n,r),s=!0),n[h]=i[h]||u[1])}return s}function wU(n,t){var e=t.transform,a=n.dpr||1;e?n.setTransform(a*e[0],a*e[1],a*e[2],a*e[3],a*e[4],a*e[5]):n.setTransform(a,0,0,a,0,0)}function rr(n,t){t.batchFill&&n.fill(),t.batchStroke&&n.stroke(),t.batchFill="",t.batchStroke=""}function SA(n,t){return t&&n.__hoverStyle||n.style}function PU(n,t){zd(n,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function zd(n,t,e,a){var r=t.transform;if(!t.shouldBePainted(e.viewWidth,e.viewHeight,!1,!1))return t.__dirty&=-2,void(t.__isRendered=!1);var i=t.__clipPaths,o=e.prevElClipPaths,s=!1,l=!1;if((!o||function Zot(n,t){if(n===t||!n&&!t)return!1;if(!n||!t||n.length!==t.length)return!0;for(var e=0;e<n.length;e++)if(n[e]!==t[e])return!0;return!1}(i,o))&&(o&&o.length&&(rr(n,e),n.restore(),l=s=!0,e.prevElClipPaths=null,e.allClipped=!1,e.prevEl=null),i&&i.length&&(rr(n,e),n.save(),function nst(n,t,e){for(var a=!1,r=0;r<n.length;r++){var i=n[r];a=a||i.isZeroArea(),wU(t,i),t.beginPath(),i.buildPath(t,i.shape),t.clip()}e.allClipped=a}(i,n,e),s=!0),e.prevElClipPaths=i),e.allClipped)t.__isRendered=!1;else{t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var c=e.prevEl;c||(l=s=!0);var d=t instanceof fe&&t.autoBatch&&function rst(n){var t=Y_(n),e=X_(n);return!(n.lineDash||!(+t^+e)||t&&"string"!=typeof n.fill||e&&"string"!=typeof n.stroke||n.strokePercent<1||n.strokeOpacity<1||n.fillOpacity<1)}(t.style);s||function ast(n,t){return n&&t?n[0]!==t[0]||n[1]!==t[1]||n[2]!==t[2]||n[3]!==t[3]||n[4]!==t[4]||n[5]!==t[5]:!(!n&&!t)}(r,c.transform)?(rr(n,e),wU(n,t)):d||rr(n,e);var u=SA(t,e.inHover);t instanceof fe?(1!==e.lastDrawType&&(l=!0,e.lastDrawType=1),SU(n,t,c,l,e),(!d||!e.batchFill&&!e.batchStroke)&&n.beginPath(),function Qot(n,t,e,a){var r,i=X_(e),o=Y_(e),s=e.strokePercent,l=s<1,c=!t.path;(!t.silent||l)&&c&&t.createPathProxy();var d=t.path||Yot,u=t.__dirty;if(!a){var h=e.fill,f=e.stroke,v=o&&!!h.colorStops,A=i&&!!f.colorStops,b=o&&!!h.image,x=i&&!!f.image,S=void 0,k=void 0,D=void 0,I=void 0,M=void 0;(v||A)&&(M=t.getBoundingRect()),v&&(S=u?AD(n,h,M):t.__canvasFillGradient,t.__canvasFillGradient=S),A&&(k=u?AD(n,f,M):t.__canvasStrokeGradient,t.__canvasStrokeGradient=k),b&&(D=u||!t.__canvasFillPattern?bD(n,h,t):t.__canvasFillPattern,t.__canvasFillPattern=D),x&&(I=u||!t.__canvasStrokePattern?bD(n,f,t):t.__canvasStrokePattern,t.__canvasStrokePattern=D),v?n.fillStyle=S:b&&(D?n.fillStyle=D:o=!1),A?n.strokeStyle=k:x&&(I?n.strokeStyle=I:i=!1)}var N,U,R=t.getGlobalScale();d.setScale(R[0],R[1],t.segmentIgnoreThreshold),n.setLineDash&&e.lineDash&&(N=(r=yD(t))[0],U=r[1]);var z=!0;(c||4&u)&&(d.setDPR(n.dpr),l?d.setContext(null):(d.setContext(n),z=!1),d.reset(),t.buildPath(d,t.shape,a),d.toStatic(),t.pathUpdated()),z&&d.rebuildPath(n,l?s:1),N&&(n.setLineDash(N),n.lineDashOffset=U),a||(e.strokeFirst?(i&&yU(n,e),o&&AU(n,e)):(o&&AU(n,e),i&&yU(n,e))),N&&n.setLineDash([])}(n,t,u,d),d&&(e.batchFill=u.fill||"",e.batchStroke=u.stroke||"")):t instanceof Zv?(3!==e.lastDrawType&&(l=!0,e.lastDrawType=3),SU(n,t,c,l,e),function tst(n,t,e){var a,r=e.text;if(null!=r&&(r+=""),r){n.font=e.font||dl,n.textAlign=e.textAlign,n.textBaseline=e.textBaseline;var i=void 0,o=void 0;n.setLineDash&&e.lineDash&&(i=(a=yD(t))[0],o=a[1]),i&&(n.setLineDash(i),n.lineDashOffset=o),e.strokeFirst?(X_(e)&&n.strokeText(r,e.x,e.y),Y_(e)&&n.fillText(r,e.x,e.y)):(Y_(e)&&n.fillText(r,e.x,e.y),X_(e)&&n.strokeText(r,e.x,e.y)),i&&n.setLineDash([])}}(n,t,u)):t instanceof la?(2!==e.lastDrawType&&(l=!0,e.lastDrawType=2),function est(n,t,e,a,r){return xU(n,SA(t,r.inHover),e&&SA(e,r.inHover),a,r)}(n,t,c,l,e),function $ot(n,t,e){var a=t.__image=J2(e.image,t.__image,t,t.onload);if(a&&Q0(a)){var r=e.x||0,i=e.y||0,o=t.getWidth(),s=t.getHeight(),l=a.width/a.height;if(null==o&&null!=s?o=s*l:null==s&&null!=o?s=o/l:null==o&&null==s&&(o=a.width,s=a.height),e.sWidth&&e.sHeight){var c=e.sx||0,d=e.sy||0;n.drawImage(a,c,d,e.sWidth,e.sHeight,r,i,o,s)}else if(e.sx&&e.sy){var u=o-(c=e.sx),h=s-(d=e.sy);n.drawImage(a,c,d,u,h,r,i,o,s)}else n.drawImage(a,r,i,o,s)}}(n,t,u)):t.getTemporalDisplayables&&(4!==e.lastDrawType&&(l=!0,e.lastDrawType=4),function ist(n,t,e){var a=t.getDisplayables(),r=t.getTemporalDisplayables();n.save();var o,s,i={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:e.viewWidth,viewHeight:e.viewHeight,inHover:e.inHover};for(o=t.getCursor(),s=a.length;o<s;o++){(l=a[o]).beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),zd(n,l,i,o===s-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),i.prevEl=l}for(var c=0,d=r.length;c<d;c++){var l;(l=r[c]).beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),zd(n,l,i,c===d-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),i.prevEl=l}t.clearTemporalDisplayables(),t.notClear=!0,n.restore()}(n,t,e)),d&&a&&rr(n,e),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),e.prevEl=t,t.__dirty=0,t.__isRendered=!0}}var _D=new Vot,IU=new Ov(100),MU=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function fm(n,t){if("none"===n)return null;var e=t.getDevicePixelRatio(),a=t.getZr(),r="svg"===a.painter.type;n.dirty&&_D.delete(n);var i=_D.get(n);if(i)return i;
1var o=Kt(n,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===o.backgroundColor&&(o.backgroundColor=null);var s={repeat:"repeat"};return function l(c){for(var d=[e],u=!0,h=0;h<MU.length;++h){var f=o[MU[h]];if(null!=f&&!vt(f)&&!Lt(f)&&!ke(f)&&"boolean"!=typeof f){u=!1;break}d.push(f)}var v;if(u){v=d.join(",")+(r?"-svg":"");var A=IU.get(v);A&&(r?c.svgElement=A:c.image=A)}var N,b=RU(o.dashArrayX),x=function ost(n){if(!n||"object"==typeof n&&0===n.length)return[0,0];if(ke(n)){var t=Math.ceil(n);return[t,t]}var e=At(n,function(a){return Math.ceil(a)});return n.length%2?e.concat(e):e}(o.dashArrayY),S=OU(o.symbol),k=function sst(n){return At(n,function(t){return LU(t)})}(b),D=LU(x),I=!r&&ei.createCanvas(),M=r&&{tag:"g",attrs:{},key:"dcl",children:[]},R=function U(){for(var B=1,K=0,W=k.length;K<W;++K)B=OL(B,k[K]);var Z=1;for(K=0,W=S.length;K<W;++K)Z=OL(Z,S[K].length);B*=Z;var X=D*k.length*S.length;return{width:Math.max(1,Math.min(B,o.maxTileWidth)),height:Math.max(1,Math.min(X,o.maxTileHeight))}}();I&&(I.width=R.width*e,I.height=R.height*e,N=I.getContext("2d")),function z(){N&&(N.clearRect(0,0,I.width,I.height),o.backgroundColor&&(N.fillStyle=o.backgroundColor,N.fillRect(0,0,I.width,I.height)));for(var B=0,K=0;K<x.length;++K)B+=x[K];if(!(B<=0))for(var W=-D,Z=0,X=0,tt=0;W<R.height;){if(Z%2==0){for(var rt=X/2%S.length,ot=0,st=0,gt=0;ot<2*R.width;){var _t=0;for(K=0;K<b[tt].length;++K)_t+=b[tt][K];if(_t<=0)break;if(st%2==0){var Mt=.5*(1-o.symbolSize),zt=ot+b[tt][st]*Mt,Bt=W+x[Z]*Mt,Qt=b[tt][st]*o.symbolSize,Pe=x[Z]*o.symbolSize,mn=gt/2%S[rt].length;ue(zt,Bt,Qt,Pe,S[rt][mn])}ot+=b[tt][st],++gt,++st===b[tt].length&&(st=0)}++tt===b.length&&(tt=0)}W+=x[Z],++X,++Z===x.length&&(Z=0)}function ue(Jt,me,Ht,ae,rn){var ze=r?1:e,Xe=Ln(rn,Jt*ze,me*ze,Ht*ze,ae*ze,o.color,o.symbolKeepAspect);if(r){var fn=a.painter.renderOneToVNode(Xe);fn&&M.children.push(fn)}else PU(N,Xe)}}(),u&&IU.put(v,I||M),c.image=I,c.svgElement=M,c.svgWidth=R.width,c.svgHeight=R.height}(s),s.rotation=o.rotation,s.scaleX=s.scaleY=r?1:1/e,_D.set(n,s),n.dirty=!1,s}function OU(n){if(!n||0===n.length)return[["rect"]];if(Lt(n))return[[n]];for(var t=!0,e=0;e<n.length;++e)if(!Lt(n[e])){t=!1;break}if(t)return OU([n]);var a=[];for(e=0;e<n.length;++e)Lt(n[e])?a.push([n[e]]):a.push(n[e]);return a}function RU(n){if(!n||0===n.length)return[[0,0]];if(ke(n))return[[t=Math.ceil(n),t]];for(var e=!0,a=0;a<n.length;++a)if(!ke(n[a])){e=!1;break}if(e)return RU([n]);var r=[];for(a=0;a<n.length;++a)if(ke(n[a])){var t=Math.ceil(n[a]);r.push([t,t])}else{(t=At(n[a],function(s){return Math.ceil(s)})).length%2==1?r.push(t.concat(t)):r.push(t)}return r}function LU(n){for(var t=0,e=0;e<n.length;++e)t+=n[e];return n.length%2==1?2*t:t}const ui=new Cr;var NU={};var Sst={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},Da="__flagInMainProcess",ir="__pendingUpdate",SD="__needsUpdateStatus",zU=/^[a-zA-Z0-9_]+$/,wD="__connectUpdateStatus";function qU(n){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(!this.isDisposed())return BU(this,n,t);this.id}}function HU(n){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return BU(this,n,t)}}function BU(n,t,e){return e[0]=e[0]&&e[0].toLowerCase(),Cr.prototype[t].apply(n,e)}var jU=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t}(Cr),GU=jU.prototype;GU.on=HU("on"),GU.off=HU("off");var gm,kD,$_,Ml,CD,DD,TD,wA,kA,KU,WU,PD,JU,tx,ZU,XU,Vr,YU,ex=function(n){function t(e,a,r){var i=n.call(this,new Mot)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],r=r||{},Lt(a)&&(a=QU[a]),i._dom=e;r.ssr&&function tnt(n){E2=n}(function(f){var v=ee(f),A=v.dataIndex;if(null!=A){var b=Et();return b.set("series_index",v.seriesIndex),b.set("data_index",A),v.ssrType&&b.set("ssr_type",v.ssrType),b}});var d=i._zr=bL(e,{renderer:r.renderer||"canvas",devicePixelRatio:r.devicePixelRatio,width:r.width,height:r.height,ssr:r.ssr,useDirtyRect:ie(r.useDirtyRect,!1),useCoarsePointer:ie(r.useCoarsePointer,"auto"),pointerSize:r.pointerSize});i._ssr=r.ssr,i._throttledZrFlush=fD(Ut(d.flush,d),17),(a=Yt(a))&&U5(a,!0),i._theme=a,i._locale=function Zat(n){if(Lt(n)){var t=h_[n.toUpperCase()]||{};return"ZH"===n||"EN"===n?Yt(t):le(Yt(t),Yt(h_.EN),!1)}return le(Yt(n),Yt(h_.EN),!1)}(r.locale||W3),i._coordSysMgr=new sA;var u=i._api=ZU(i);function h(f,v){return f.__prio-v.__prio}
vendor: 5,389 bytes, line 1
1return I0(ax,h),I0(MD,h),i._scheduler=new cU(i,u,MD,ax),i._messageCenter=new jU,i._initEvents(),i.resize=Ut(i.resize,i),d.animation.on("frame",i._onframe,i),KU(d,i),WU(d,i),_0(i),i}return pt(t,n),t.prototype._onframe=function(){if(!this._disposed){YU(this);var e=this._scheduler;if(this[ir]){var a=this[ir].silent;this[Da]=!0;try{gm(this),Ml.update.call(this,null,this[ir].updateParams)}catch(l){throw this[Da]=!1,this[ir]=null,l}this._zr.flush(),this[Da]=!1,this[ir]=null,wA.call(this,a),kA.call(this,a)}else if(e.unfinished){var r=1,i=this._model,o=this._api;e.unfinished=!1;do{var s=+new Date;e.performSeriesTasks(i),e.performDataProcessorTasks(i),DD(this,i),e.performVisualTasks(i),tx(this,this._model,o,"remain",{}),r-=+new Date-s}while(r>0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,a,r){if(!this[Da]){if(this._disposed)return void this.id;var i,o,s;if(Xt(a)&&(r=a.lazyUpdate,i=a.silent,o=a.replaceMerge,s=a.transition,a=a.notMerge),this[Da]=!0,!this._model||a){var l=new Trt(this._api),c=this._theme,d=this._model=new T5;d.scheduler=this._scheduler,d.ssr=this._ssr,d.init(null,null,null,c,this._locale,l)}this._model.setOption(e,{replaceMerge:o},OD);var u={seriesTransition:s,optionChanged:!0};if(r)this[ir]={silent:i,updateParams:u},this[Da]=!1,this.getZr().wakeUp();else{try{gm(this),Ml.update.call(this,null,u)}catch(h){throw this[ir]=null,this[Da]=!1,h}this._ssr||this._zr.flush(),this[ir]=null,this[Da]=!1,wA.call(this,i),kA.call(this,i)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||we.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){return e=e||{},this._zr.painter.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){return e=e||{},this._zr.painter.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(we.svgSupported){var e=this._zr;return q(e.storage.getDisplayList(),function(r){r.stopAnimation(null,!0)}),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(!this._disposed){var a=(e=e||{}).excludeComponents,r=this._model,i=[],o=this;q(a,function(l){r.eachComponent({mainType:l},function(c){var d=o._componentsMap[c.__viewId];d.group.ignore||(i.push(d),d.group.ignore=!0)})});var s="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return q(i,function(l){l.group.ignore=!1}),s}this.id},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var a="svg"===e.type,r=this.group,i=Math.min,o=Math.max,s=1/0;if(rx[r]){var l=s,c=s,d=-s,u=-s,h=[],f=e&&e.pixelRatio||this.getDevicePixelRatio();q(Ed,function(k,D){if(k.group===r){var I=a?k.getZr().painter.getSvgDom().innerHTML:k.renderToCanvas(Yt(e)),M=k.getDom().getBoundingClientRect();l=i(M.left,l),c=i(M.top,c),d=o(M.right,d),u=o(M.bottom,u),h.push({dom:I,left:M.left,top:M.top})}});var v=(d*=f)-(l*=f),A=(u*=f)-(c*=f),b=ei.createCanvas(),x=bL(b,{renderer:a?"svg":"canvas"});if(x.resize({width:v,height:A}),a){var S="";return q(h,function(k){var D=k.left-l,I=k.top-c;S+='<g transform="translate('+D+","+I+')">'+k.dom+"</g>"}),x.painter.getSvgRoot().innerHTML=S,e.connectedBackgroundColor&&x.painter.setBackgroundColor(e.connectedBackgroundColor),x.refreshImmediately(),x.painter.toDataURL()}return e.connectedBackgroundColor&&x.add(new Se({shape:{x:0,y:0,width:v,height:A},style:{fill:e.connectedBackgroundColor}})),q(h,function(k){var D=new la({style:{x:k.left*f-l,y:k.top*f-c,image:k.dom}});x.add(D)}),x.refreshImmediately(),b.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}this.id},t.prototype.convertToPixel=function(e,a){return CD(this,"convertToPixel",e,a)},t.prototype.convertFromPixel=function(e,a){return CD(this,"convertFromPixel",e,a)},t.prototype.containPixel=function(e,a){var i;if(!this._disposed)return q(Gv(this._model,e),function(s,l){l.indexOf("Models")>=0&&q(s,function(c){var d=c.coordinateSystem;if(d&&d.containPoint)i=i||!!d.containPoint(a);else if("seriesModels"===l){var u=this._chartsMap[c.__viewId];u&&u.containPoint&&(i=i||u.containPoint(a,c))}},this)},this),!!i;this.id},t.prototype.getVisual=function(e,a){var i=Gv(this._model,e,{defaultMainType:"series"}),s=i.seriesModel.getData(),l=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?s.indexOfRawIndex(i.dataIndex):null;return null!=l?vD(s,l,a):xA(s,a)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;q(Cst,function(a){var r=function(i){var l,o=e.getModel(),s=i.target;if("globalout"===a?l={}:s&&Ud(s,function(v){var A=ee(v);
1if(A&&null!=A.dataIndex){var b=A.dataModel||o.getSeriesByIndex(A.seriesIndex);return l=b&&b.getDataParams(A.dataIndex,A.dataType,s)||{},!0}if(A.eventData)return l=ft({},A.eventData),!0},!0),l){var d=l.componentType,u=l.componentIndex;("markLine"===d||"markPoint"===d||"markArea"===d)&&(d="series",u=l.seriesIndex);var h=d&&null!=u&&o.getComponent(d,u),f=h&&e["series"===h.mainType?"_chartsMap":"_componentsMap"][h.__viewId];l.event=i,l.type=a,e._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:h,view:f},e.trigger(a,l)}};r.zrEventfulCallAtLast=!0,e._zr.on(a,r,e)}),q(CA,function(a,r){e._messageCenter.on(r,function(i){this.trigger(r,i)},e)}),q(["selectchanged"],function(a){e._messageCenter.on(a,function(r){this.trigger(a,r)},e)}),function Lot(n,t,e){n.on("selectchanged",function(a){var r=e.getModel();a.isFromClick?(pm("map","selectchanged",t,r,a),pm("pie","selectchanged",t,r,a)):"select"===a.fromAction?(pm("map","selected",t,r,a),pm("pie","selected",t,r,a)):"unselect"===a.fromAction&&(pm("map","unselected",t,r,a),pm("pie","unselected",t,r,a))})}(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,this.getDom()&&zL(this.getDom(),LD,"");var a=this,r=a._api,i=a._model;q(a._componentsViews,function(o){o.dispose(i,r)}),q(a._chartsViews,function(o){o.dispose(i,r)}),a._zr.dispose(),a._dom=a._model=a._chartsMap=a._componentsMap=a._chartsViews=a._componentsViews=a._scheduler
1=a._api=a._zr=a._throttledZrFlush=a._theme=a._coordSysMgr=a._messageCenter=null,delete Ed[a.id]}},t.prototype.resize=function(e){if(!this[Da]){if(this._disposed)return void this.id;this._zr.resize(e);var a=this._model;if(this._loadingFX&&this._loadingFX.resize(),a){var r=a.resetOption("media"),i=e&&e.silent;this[ir]&&(null==i&&(i=this[ir].silent),r=!0,this[ir]=null),this[Da]=!0;try{r&&gm(this),Ml.update.call(this,{type:"resize",animation:ft({duration:0},e&&e.animation)})}catch(o){throw this[Da]=!1,o}this[Da]=!1,wA.call(this,i),kA.call(this,i)}}},t.prototype.showLoading=function(e,a){if(this._disposed)this.id;else if(Xt(e)&&(a=e,e=""),e=e||"default",this.hideLoading(),RD[e]){var r=RD[e](this._api,a),i=this._zr;this._loadingFX=r,i.add(r)}},t.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var a=ft({},e);return a.type=CA[e.type],a},t.prototype.dispatchAction=function(e,a){if(this._disposed)this.id;else if(Xt(a)||(a={silent:!!a}),nx[e.type]&&this._model){if(this[Da])return void this._pendingActions.push(e);var r=a.silent;TD.call(this,e,r);var i=a.flush;i?this._zr.flush():!1!==i&&we.browser.weChat&&this._throttledZrFlush(),wA.call(this,r),kA.call(this,r)}},t.prototype.updateLabelLayout=function(){ui.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)this.id;else{var a=e.seriesIndex;this.getModel().getSeriesByIndex(a).appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},t.internalField=function(){function e(u){u.clearColorPalette(),u.eachSeries(function(h){h.clearColorPalette()})}function r(u){for(var h=[],f=u.currentStates,v=0;v<f.length;v++){var A=f[v];"emphasis"===A||"blur"===A||"select"===A||h.push(A)}u.selected&&u.states.select&&h.push("select"),2===u.hoverState&&u.states.emphasis?h.push("emphasis"):1===u.hoverState&&u.states.blur&&h.push("blur"),u.useStates(h)}function s(u,h){if(!u.preventAutoZ){var f=u.get("z")||0,v=u.get("zlevel")||0;h.eachRendered(function(A){return l(A,f,v,-1/0),!0})}}function l(u,h,f,v){var A=u.getTextContent(),b=u.getTextGuideLine();if(u.isGroup)for(var S=u.childrenRef(),k=0;k<S.length;k++)v=Math.max(l(S[k],h,f,v),v);else u.z=h,u.zlevel=f,v=Math.max(u.z2,v);if(A&&(A.z=h,A.zlevel=f,isFinite(v)&&(A.z2=v+2)),b){var D=u.textGuideLineConfig;b.z=h,b.zlevel=f,isFinite(v)&&(b.z2=v+(D&&D.showAbove?1:-1))}return v}function c(u,h){h.eachRendered(function(f){if(!Wh(f)){var v=f.getTextContent(),A=f.getTextGuideLine();f.stateTransition&&(f.stateTransition=null),v&&v.stateTransition&&(v.stateTransition=null),A&&A.stateTransition&&(A.stateTransition=null),f.hasState()?(f.prevStates=f.currentStates,f.clearStates()):f.prevStates&&(f.prevStates=null)}})}function d(u,h){var f=u.getModel("stateAnimation"),v=u.isAnimationEnabled(),A=f.get("duration"),b=A>0?{duration:A,delay:f.get("delay"),easing:f.get("easing")}:null;h.eachRendered(function(x){if(x.states&&x.states.emphasis){if(Wh(x))return;if(x instanceof fe&&function Rat(n){var t=_3(n);t.normalFill=n.style.fill,t.normalStroke=n.style.stroke;var e=n.states.select||{};t.selectFill=e.style&&e.style.fill||null,t.selectStroke=e.style&&e.style.stroke||null}(x),x.__dirty){var S=x.prevStates;S&&x.useStates(S)}if(v){x.stateTransition=b;var k=x.getTextContent(),D=x.getTextGuideLine();k&&(k.stateTransition=b),D&&(D.stateTransition=b)}x.__dirty&&r(x)}})}gm=function(u){var h=u._scheduler;h.restorePipelines(u._model),h.prepareStageTasks(),kD(u,!0),kD(u,!1),h.plan()},kD=function(u,h){for(var f=u._model,v=u._scheduler,A=h?u._componentsViews:u._chartsViews,b=h?u._componentsMap:u._chartsMap,x=u._zr,S=u._api,k=0;k<A.length;k++)A[k].__alive=!1;function D(M){var R=M.__requireNewView;M.__requireNewView=!1;var N="_ec_"+M.id+"_"+M.type,U=!R&&b[N];if(!U){var z=Hi(M.type);(U=new(h?xn.getClass(z.main,z.sub):nn.getClass(z.sub))).init(f,S),b[N]=U,A.push(U),x.add(U.group)}M.__viewId=U.__id=N,U.__alive=!0,U.__model=M,U.group.__ecComponentInfo={mainType:M.mainType,index:M.componentIndex},!h&&v.prepareView(U,M,f,S)}
vendor: 4,231 bytes, line 1
1h?f.eachComponent(function(M,R){"series"!==M&&D(R)}):f.eachSeries(D);for(k=0;k<A.length;){var I=A[k];I.__alive?k++:(!h&&I.renderTask.dispose(),x.remove(I.group),I.dispose(f,S),A.splice(k,1),b[I.__id]===I&&delete b[I.__id],I.__id=I.group.__ecComponentInfo=null)}},$_=function(u,h,f,v,A){var b=u._model;if(b.setUpdatePayload(f),v){var x={};x[v+"Id"]=f[v+"Id"],x[v+"Index"]=f[v+"Index"],x[v+"Name"]=f[v+"Name"];var S={mainType:v,query:x};A&&(S.subType=A);var D,k=f.excludeSeriesId;null!=k&&(D=Et(),q(Be(k),function(M){var R=zn(M,null);null!=R&&D.set(R,!0)})),b&&b.eachComponent(S,function(M){if(!(D&&null!=D.get(M.id)))if(N3(f))if(M instanceof hn)f.type===bd&&!f.notBlur&&!M.get(["emphasis","disabled"])&&function wat(n,t,e){var a=n.seriesIndex,r=n.getData(t.dataType);if(r){var i=cd(r,t);i=(vt(i)?i[0]:i)||0;var o=r.getItemGraphicEl(i);if(!o)for(var s=r.count(),l=0;!o&&l<s;)o=r.getItemGraphicEl(l++);if(o){var c=ee(o);gC(a,c.focus,c.blurScope,e)}else{var d=n.get(["emphasis","focus"]),u=n.get(["emphasis","blurScope"]);null!=d&&gC(a,d,u,e)}}}(M,f,u._api);else{var N=AC(M.mainType,M.componentIndex,f.name,u._api),U=N.focusSelf,z=N.dispatchers;f.type===bd&&U&&!f.notBlur&&vC(M.mainType,M.componentIndex,u._api),z&&q(z,function(B){f.type===bd?es(B):ns(B)})}else bC(f)&&M instanceof hn&&(function Dat(n,t,e){if(bC(t)){var a=t.dataType,i=cd(n.getData(a),t);vt(i)||(i=[i]),n[t.type===$v?"toggleSelect":t.type===Qv?"select":"unselect"](i,a)}}(M,f,u._api),R3(M),Vr(u))},u),b&&b.eachComponent(S,function(M){D&&null!=D.get(M.id)||I(u["series"===v?"_chartsMap":"_componentsMap"][M.__viewId])},u)}else q([].concat(u._componentsViews).concat(u._chartsViews),I);function I(M){M&&M.__alive&&M[h]&&M[h](M.__model,b,u._api,f)}},Ml={prepareAndUpdate:function(u){gm(this),Ml.update.call(this,u,{optionChanged:null!=u.newOption})},update:function(u,h){var f=this._model,v=this._api,A=this._zr,b=this._coordSysMgr,x=this._scheduler;if(f){f.setUpdatePayload(u),x.restoreData(f,u),x.performSeriesTasks(f),b.create(f,v),x.performDataProcessorTasks(f,u),DD(this,f),b.update(f,v),e(f),x.performVisualTasks(f,u),PD(this,f,v,u,h);var S=f.get("backgroundColor")||"transparent",k=f.get("darkMode");A.setBackgroundColor(S),null!=k&&"auto"!==k&&A.setDarkMode(k),ui.trigger("afterupdate",f,v)}},updateTransform:function(u){var h=this,f=this._model,v=this._api;if(f){f.setUpdatePayload(u);var A=[];f.eachComponent(function(x,S){if("series"!==x){var k=h.getViewOfComponentModel(S);if(k&&k.__alive)if(k.updateTransform){var D=k.updateTransform(S,f,v,u);D&&D.update&&A.push(k)}else A.push(k)}});var b=Et();f.eachSeries(function(x){var S=h._chartsMap[x.__viewId];if(S.updateTransform){var k=S.updateTransform(x,f,v,u);k&&k.update&&b.set(x.uid,1)}else b.set(x.uid,1)}),e(f),this._scheduler.performVisualTasks(f,u,{setDirty:!0,dirtyMap:b}),tx(this,f,v,u,{},b),ui.trigger("afterupdate",f,v)}},updateView:function(u){var h=this._model;!h||(h.setUpdatePayload(u),nn.markUpdateMethod(u,"updateView"),e(h),this._scheduler.performVisualTasks(h,u,{setDirty:!0}),PD(this,h,this._api,u,{}),ui.trigger("afterupdate",h,this._api))},updateVisual:function(u){var h=this,f=this._model;!f||(f.setUpdatePayload(u),f.eachSeries(function(v){v.getData().clearAllVisual()}),nn.markUpdateMethod(u,"updateVisual"),e(f),this._scheduler.performVisualTasks(f,u,{visualType:"visual",setDirty:!0}),f.eachComponent(function(v,A){if("series"!==v){var b=h.getViewOfComponentModel(A);b&&b.__alive&&b.updateVisual(A,f,h._api,u)}}),f.eachSeries(function(v){h._chartsMap[v.__viewId].updateVisual(v,f,h._api,u)}),ui.trigger("afterupdate",f,this._api))},updateLayout:function(u){Ml.update.call(this,u)}},CD=function(u,h,f,v){if(u._disposed)u.id;else for(var x,A=u._model,b=u._coordSysMgr.getCoordinateSystems(),S=Gv(A,f),k=0;k<b.length;k++){var D=b[k];if(D[h]&&null!=(x=D[h](A,S,v)))return x}},DD=function(u,h){var f=u._chartsMap,v=u._scheduler;h.eachSeries(function(A){v.updateStreamModes(A,f[A.__viewId])})},TD=function(u,h){var f=this,v=this.getModel(),A=u.type,b=u.escapeConnect,x=nx[A],S=x.actionInfo,k=(S.update||"update").split(":"),D=k.pop(),I=null!=k[0]&&Hi(k[0]);this[Da]=!0;var M=[u],R=!1;u.batch&&(R=!0,M=At(u.batch,function(Z){return(Z=Kt(ft({},Z),u)).batch=null,Z}));var U,N=[],z=bC(u),B=N3(u);
1if(B&&O3(this._api),q(M,function(Z){if((U=(U=x.action(Z,f._model,f._api))||ft({},Z)).type=S.event||U.type,N.push(U),B){var X=j2(u),tt=X.queryOptionMap,ot=X.mainTypeSpecified?tt.keys()[0]:"series";$_(f,D,Z,ot),Vr(f)}else z?($_(f,D,Z,"series"),Vr(f)):I&&$_(f,D,Z,I.main,I.sub)}),"none"!==D&&!B&&!z&&!I)try{this[ir]?(gm(this),Ml.update.call(this,u),this[ir]=null):Ml[D].call(this,u)}catch(Z){throw this[Da]=!1,Z}if(U=R?{type:S.event||A,escapeConnect:b,batch:N}:N[0],this[Da]=!1,!h){var K=this._messageCenter;if(K.trigger(U.type,U),z){var W={type:"selectchanged",escapeConnect:b,selected:Tat(v),isFromClick:u.isFromClick||!1,fromAction:u.type,fromActionPayload:u};K.trigger(W.type,W)}}},wA=function(u){for(var h=this._pendingActions;h.length;){var f=h.shift();TD.call(this,f,u)}},kA=function(u){!u&&this.trigger("updated")},KU=function(u,h){u.on("rendered",function(f){h.trigger("rendered",f),u.animation.isFinished()&&!h[ir]&&!h._scheduler.unfinished&&!h._pendingActions.length&&h.trigger("finished")})},WU=function(u,h){u.on("mouseover",function(f){var A=Ud(f.target,tA);A&&(function kat(n,t,e){var a=ee(n),r=AC(a.componentMainType,a.componentIndex,a.componentHighDownName,e),i=r.dispatchers,o=r.focusSelf;i?(o&&vC(a.componentMainType,a.componentIndex,e),q(i,function(s){return C3(s,t)})):(gC(a.seriesIndex,a.focus,a.blurScope,e),"self"===a.focus&&vC(a.componentMainType,a.componentIndex,e),C3(n,t))}(A,f,h._api),Vr(h))}).on("mouseout",function(f){var A=Ud(f.target,tA);A&&(function Cat(n,t,e){O3(e);var a=ee(n),r=AC(a.componentMainType,a.componentIndex,a.componentHighDownName,e).dispatchers;r?q(r,function(i){return D3(i,t)}):D3(n,t)}(A,f,h._api),Vr(h))}).on("click",function(f){var A=Ud(f.target,function(S){return null!=ee(S).dataIndex},!0);if(A){var b=A.selected?"unselect":"select",x=ee(A);h._api.dispatchAction({type:b,dataType:x.dataType,dataIndexInside:x.dataIndex,seriesIndex:x.seriesIndex,isFromClick:!0})}})},PD=function(u,h,f,v,A){(function a(u){var h=[],f=[],v=!1;if(u.eachComponent(function(S,k){var D=k.get("zlevel")||0,I=k.get("z")||0,M=k.getZLevelKey();v=v||!!M,("series"===S?f:h).push({zlevel:D,z:I,idx:k.componentIndex,type:S,key:M})}),v){var b,x,A=h.concat(f);I0(A,function(S,k){return S.zlevel===k.zlevel?S.z-k.z:S.zlevel-k.zlevel}),q(A,function(S){var k=u.getComponent(S.type,S.idx),D=S.zlevel,I=S.key;null!=b&&(D=Math.max(b,D)),I?(D===b&&I!==x&&D++,x=I):x&&(D===b&&D++,x=""),b=D,k.setZLevel(D)})}})(h),JU(u,h,f,v,A),q(u._chartsViews,function(b){b.__alive=!1}),tx(u,h,f,v,A),q(u._chartsViews,function(b){b.__alive||b.remove(h,f)})},JU=function(u,h,f,v,A,b){q(b||u._componentsViews,function(x){var S=x.__model;c(S,x),x.render(S,h,f,v),s(S,x),d(S,x)})},tx=function(u,h,f,v,A,b){var x=u._scheduler;A=ft(A||{},{updatedSeries:h.getSeries()}),ui.trigger("series:beforeupdate",h,f,A);var S=!1;h.eachSeries(function(k){var D=u._chartsMap[k.__viewId];D.__alive=!0;var I=D.renderTask;x.updatePayload(I,v),c(k,D),b&&b.get(k.uid)&&I.dirty(),I.perform(x.getPerformArgs(I))&&(S=!0),D.group.silent=!!k.get("silent"),function o(u,h){var f=u.get("blendMode")||null;h.eachRendered(function(v){v.isGroup||(v.style.blend=f)})}(k,D),R3(k)}),x.unfinished=S||x.unfinished,ui.trigger("series:layoutlabels",h,f,A),ui.trigger("series:transition",h,f,A),h.eachSeries(function(k){var D=u._chartsMap[k.__viewId];s(k,D),d(k,D)}),function i(u,h){var v=u._zr.storage,A=0;v.traverse(function(b){b.isGroup||A++}),A>h.get("hoverLayerThreshold")&&!we.node&&!we.worker&&h.eachSeries(function(b){if(!b.preventUsingHoverLayer){var x=u._chartsMap[b.__viewId];x.__alive&&x.eachRendered(function(S){S.states.emphasis&&(S.states.emphasis.hoverLayer=!0)})}})}(u,h),ui.trigger("series:afterupdate",h,f,A)},Vr=function(u){u[SD]=!0,u.getZr().wakeUp()},YU=function(u){!u[SD]||(u.getZr().storage.traverse(function(h){Wh(h)||r(h)}),u[SD]=!1)},ZU=function(u){return new(function(h){function f(){return null!==h&&h.apply(this,arguments)||this}return pt(f,h),f.prototype.getCoordinateSystems=function(){return u._coordSysMgr.getCoordinateSystems()},f.prototype.getComponentByElement=function(v){for(;v;){var A=v.__ecComponentInfo;if(null!=A)return u._model.getComponent(A.mainType,A.index);v=v.parent}},f.prototype.enterEmphasis=function(v,A){es(v,A),Vr(u)},f.prototype.leaveEmphasis=function(v,A){ns(v,A),Vr(u)}
1,f.prototype.enterBlur=function(v){T3(v),Vr(u)},f.prototype.leaveBlur=function(v){fC(v),Vr(u)},f.prototype.enterSelect=function(v){P3(v),Vr(u)},f.prototype.leaveSelect=function(v){I3(v),Vr(u)},f.prototype.getModel=function(){return u.getModel()},f.prototype.getViewOfComponentModel=function(v){return u.getViewOfComponentModel(v)},f.prototype.getViewOfSeriesModel=function(v){return u.getViewOfSeriesModel(v)},f}(P5))(u)},XU=function(u){function h(f,v){for(var A=0;A<f.length;A++){f[A][wD]=v}}q(CA,function(f,v){u._messageCenter.on(v,function(A){if(rx[u.group]&&0!==u[wD]){if(A&&A.escapeConnect)return;var b=u.makeActionFromEvent(A),x=[];q(Ed,function(S){S!==u&&S.group===u.group&&x.push(S)}),h(x,0),q(x,function(S){1!==S[wD]&&S.dispatchAction(b)}),h(x,2)}})})}}(),t}(Cr),ID=ex.prototype;ID.on=qU("on"),ID.off=qU("off"),ID.one=function(n,t,e){var a=this;this.on.call(this,n,function r(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];t&&t.apply&&t.apply(this,i),a.off(n,r)},e)};var Cst=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];var nx={},CA={},MD=[],OD=[],ax=[],QU={},RD={},Ed={},rx={},Dst=+new Date-0,LD=(new Date,"_echarts_instance_");function $U(n){return Ed[function ynt(n,t){return n.getAttribute?n.getAttribute(t):n[t]}(n,LD)]}function tF(n,t){QU[n]=t}function eF(n){pe(OD,n)<0&&OD.push(n)}function nF(n,t){UD(MD,n,t,2e3)}function ND(n,t){ui.on(n,t)}function Xi(n,t,e){jt(t)&&(e=t,t="");var a=Xt(n)?n.type:[n,n={event:t}][0];n.event=(n.event||a).toLowerCase(),t=n.event,!CA[t]&&(Oa(zU.test(a)&&zU.test(t)),nx[a]||(nx[a]={action:e,actionInfo:n}),CA[t]=a)}function qd(n,t){UD(ax,n,t,3e3,"visual")}var aF=[];function UD(n,t,e,a,r){if((jt(t)||Xt(t))&&(e=t,t=a),!(pe(aF,e)>=0)){aF.push(e);var i=cU.wrapStageHandler(e,r);i.__prio=t,i.__raw=e,n.push(i)}}function rF(n,t){RD[n]=t}var Nst=function iit(n){var t=(n=Yt(n)).type;t||Ue("");var a=t.split(":");2!==a.length&&Ue("");var r=!1;"echarts"===a[0]&&(t=a[1],r=!0),n.__isBuiltIn=r,eN.set(t,n)};qd(2e3,fot),qd(4500,got),qd(4500,vot),qd(2e3,Oot),qd(4500,Rot),qd(7e3,function lst(n,t){n.eachRawSeries(function(e){if(!n.isSeriesFiltered(e)){var a=e.getData();a.hasItemVisual()&&a.each(function(o){var s=a.getItemVisual(o,"decal");s&&(a.ensureUniqueItemVisual(o,"style").decal=fm(s,t))});var r=a.getVisual("decal");if(r)a.getVisual("style").decal=fm(r,t)}})}),eF(U5),nF(900,function Urt(n){var t=Et();n.eachSeries(function(e){var a=e.get("stack");if(a){var r=t.get(a)||t.set(a,[]),i=e.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:e};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}}),t.each(Frt)}),rF("default",function Aot(n,t){Kt(t=t||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",
vendor: 4,686 bytes, line 1
1spinnerRadius:10,lineWidth:5,zlevel:0});var e=new te,a=new Se({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});e.add(a);var o,r=new Ce({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),i=new Se({style:{fill:"none"},textContent:r,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});return e.add(i),t.showSpinner&&((o=new cD({shape:{startAngle:-G_/2,endAngle:-G_/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*G_/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:3*G_/2}).delay(300).start("circularInOut"),e.add(o)),e.resize=function(){var s=r.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,c=(n.getWidth()-2*l-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:l),d=n.getHeight()/2;t.showSpinner&&o.setShape({cx:c,cy:d}),i.setShape({x:c-l,y:d-l,width:2*l,height:2*l}),a.setShape({x:0,y:0,width:n.getWidth(),height:n.getHeight()})},e.resize(),e}),Xi({type:bd,event:bd,update:bd},Tn),Xi({type:o_,event:o_,update:o_},Tn),Xi({type:Qv,event:Qv,update:Qv},Tn),Xi({type:s_,event:s_,update:s_},Tn),Xi({type:$v,event:$v,update:$v},Tn),tF("light",Pot),tF("dark",Iot);var iF=[],Ust={registerPreprocessor:eF,registerProcessor:nF,registerPostInit:function Ist(n){ND("afterinit",n)},registerPostUpdate:function Mst(n){ND("afterupdate",n)},registerUpdateLifecycle:ND,registerAction:Xi,registerCoordinateSystem:function Ost(n,t){sA.register(n,t)},registerLayout:function Rst(n,t){UD(ax,n,t,1e3,"layout")},registerVisual:qd,registerTransform:Nst,registerLoading:rF,registerMap:function Lst(n,t,e){var a=function ust(n){return NU[n]}("registerMap");a&&a(n,t,e)},registerImpl:function dst(n,t){NU[n]=t},PRIORITY:Sst,ComponentModel:De,ComponentView:xn,SeriesModel:hn,ChartView:nn,registerComponentModel:function(n){De.registerClass(n)},registerComponentView:function(n){xn.registerClass(n)},registerSeriesModel:function(n){hn.registerClass(n)},registerChartView:function(n){nn.registerClass(n)},registerSubTypeDefaulter:function(n,t){De.registerSubTypeDefaulter(n,t)},registerPainter:function(n,t){!function Qet(n,t){X0[n]=t}(n,t)}};function he(n){vt(n)?q(n,function(t){he(t)}):pe(iF,n)>=0||(iF.push(n),jt(n)&&(n={install:n}),n.install(Ust))}var DA=2*Math.PI,Hd=Ki.CMD,Fst=["top","right","bottom","left"];function Vst(n,t,e,a,r){var i=e.width,o=e.height;switch(n){case"top":a.set(e.x+i/2,e.y-t),r.set(0,-1);break;case"bottom":a.set(e.x+i/2,e.y+o+t),r.set(0,1);break;case"left":a.set(e.x-t,e.y+o/2),r.set(-1,0);break;case"right":a.set(e.x+i+t,e.y+o/2),r.set(1,0)}}function zst(n,t,e,a,r,i,o,s,l){o-=n,s-=t;var c=Math.sqrt(o*o+s*s),d=(o/=c)*e+n,u=(s/=c)*e+t;if(Math.abs(a-r)%DA<1e-4)return l[0]=d,l[1]=u,c-e;if(i){var h=a;a=pr(r),r=pr(h)}else a=pr(a),r=pr(r);a>r&&(r+=DA);var f=Math.atan2(s,o);if(f<0&&(f+=DA),f>=a&&f<=r||f+DA>=a&&f+DA<=r)return l[0]=d,l[1]=u,c-e;var v=e*Math.cos(a)+n,A=e*Math.sin(a)+t,b=e*Math.cos(r)+n,x=e*Math.sin(r)+t,S=(v-o)*(v-o)+(A-s)*(A-s),k=(b-o)*(b-o)+(x-s)*(x-s);return S<k?(l[0]=v,l[1]=A,Math.sqrt(S)):(l[0]=b,l[1]=x,Math.sqrt(k))}function ix(n,t,e,a,r,i,o,s){var l=r-n,c=i-t,d=e-n,u=a-t,h=Math.sqrt(d*d+u*u),v=(l*(d/=h)+c*(u/=h))/h;s&&(v=Math.min(Math.max(v,0),1)),v*=h;var A=o[0]=n+v*d,b=o[1]=t+v*u;return Math.sqrt((A-r)*(A-r)+(b-i)*(b-i))}function oF(n,t,e,a,r,i,o){e<0&&(n+=e,e=-e),a<0&&(t+=a,a=-a);var s=n+e,l=t+a,c=o[0]=Math.min(Math.max(r,n),s),d=o[1]=Math.min(Math.max(i,t),l);return Math.sqrt((c-r)*(c-r)+(d-i)*(d-i))}var pi=[];function Est(n,t,e){var a=oF(t.x,t.y,t.width,t.height,n.x,n.y,pi);return e.set(pi[0],pi[1]),a}function qst(n,t,e){for(var s,l,a=0,r=0,i=0,o=0,c=1/0,d=t.data,u=n.x,h=n.y,f=0;f<d.length;){var v=d[f++];1===f&&(i=a=d[f],o=r=d[f+1]);var A=c;switch(v){case Hd.M:a=i=d[f++],r=o=d[f++];break;case Hd.L:A=ix(a,r,d[f],d[f+1],u,h,pi,!0),a=d[f++],r=d[f++];break;case Hd.C:A=BR(a,r,d[f++],d[f++],d[f++],d[f++],d[f],d[f+1],u,h,pi),a=d[f++],r=d[f++];break;case Hd.Q:A=GR(a,r,d[f++],d[f++],d[f],d[f+1],u,h,pi),a=d[f++],r=d[f++];break;case Hd.A:var b=d[f++],x=d[f++],S=d[f++],k=d[f++],D=d[f++],I=d[f++];f+=1;var M=!!(1-d[f++]);s=Math.cos(D)*S+b,l=Math.sin(D)*k+x,f<=1&&(i=s,o=l),A=zst(b,x,k,D,D+I,M,(u-b)*k/S+b,h,pi),a=Math.cos(D+I)*S+b,r=Math.sin(D+I)*k+x;break;case Hd.R:A=oF(i=a=d[f++],o=r=d[f++],d[f++],d[f++],u,h,pi);break;case Hd.Z:A=ix(a,r,i,o,u,h,pi,!0),a=i,r=o}A<c&&(c=A,e.set(pi[0],pi[1]))}return c}var hi=new ce,an=new ce,Pn=new ce,Yi=new ce,Qi=new ce;function sF(n,t){if(n){var e=n.getTextGuideLine(),a=n.getTextContent();if(a&&e){var r=n.textGuideLineConfig||{}
vendor: 25,667 bytes, line 1
1,i=[[0,0],[0,0],[0,0]],o=r.candidates||Fst,s=a.getBoundingRect().clone();s.applyTransform(a.getComputedTransform());var l=1/0,c=r.anchor,d=n.getComputedTransform(),u=d&&Lh([],d),h=t.get("length2")||0;c&&Pn.copy(c);for(var f=0;f<o.length;f++){Vst(o[f],0,s,hi,Yi),ce.scaleAndAdd(an,hi,Yi,h),an.transform(u);var A=n.getBoundingRect(),b=c?c.distance(an):n instanceof fe?qst(an,n.path,Pn):Est(an,A,Pn);b<l&&(l=b,an.transform(d),Pn.transform(d),Pn.toArray(i[0]),an.toArray(i[1]),hi.toArray(i[2]))}lF(i,t.get("minTurnAngle")),e.setShape({points:i})}}}var ox=[],Ua=new ce;function lF(n,t){if(t<=180&&t>0){t=t/180*Math.PI,hi.fromArray(n[0]),an.fromArray(n[1]),Pn.fromArray(n[2]),ce.sub(Yi,hi,an),ce.sub(Qi,Pn,an);var e=Yi.len(),a=Qi.len();if(!(e<.001||a<.001)){Yi.scale(1/e),Qi.scale(1/a);var r=Yi.dot(Qi);if(Math.cos(t)<r){var o=ix(an.x,an.y,Pn.x,Pn.y,hi.x,hi.y,ox,!1);Ua.fromArray(ox),Ua.scaleAndAdd(Qi,o/Math.tan(Math.PI-t));var s=Pn.x!==an.x?(Ua.x-an.x)/(Pn.x-an.x):(Ua.y-an.y)/(Pn.y-an.y);if(isNaN(s))return;s<0?ce.copy(Ua,an):s>1&&ce.copy(Ua,Pn),Ua.toArray(n[1])}}}}function Hst(n,t,e){if(e<=180&&e>0){e=e/180*Math.PI,hi.fromArray(n[0]),an.fromArray(n[1]),Pn.fromArray(n[2]),ce.sub(Yi,an,hi),ce.sub(Qi,Pn,an);var a=Yi.len(),r=Qi.len();if(!(a<.001||r<.001))if(Yi.scale(1/a),Qi.scale(1/r),Yi.dot(t)<Math.cos(e)){var s=ix(an.x,an.y,Pn.x,Pn.y,hi.x,hi.y,ox,!1);Ua.fromArray(ox);var l=Math.PI/2,d=l+Math.acos(Qi.dot(t))-e;if(d>=l)ce.copy(Ua,Pn);else{Ua.scaleAndAdd(Qi,s/Math.tan(Math.PI/2-d));var u=Pn.x!==an.x?(Ua.x-an.x)/(Pn.x-an.x):(Ua.y-an.y)/(Pn.y-an.y);if(isNaN(u))return;u<0?ce.copy(Ua,an):u>1&&ce.copy(Ua,Pn)}Ua.toArray(n[1])}}}function FD(n,t,e,a){var r="normal"===e,i=r?n:n.ensureState(e);i.ignore=t;var o=a.get("smooth");o&&!0===o&&(o=.3),i.shape=i.shape||{},o>0&&(i.shape.smooth=o);var s=a.getModel("lineStyle").getLineStyle();r?n.useStyle(s):i.style=s}function Bst(n,t){var e=t.smooth,a=t.points;if(a)if(n.moveTo(a[0][0],a[0][1]),e>0&&a.length>=3){var r=ul(a[0],a[1]),i=ul(a[1],a[2]);if(!r||!i)return n.lineTo(a[1][0],a[1][1]),void n.lineTo(a[2][0],a[2][1]);var o=Math.min(r,i)*e,s=C0([],a[1],a[0],o/r),l=C0([],a[1],a[2],o/i),c=C0([],s,l,.5);n.bezierCurveTo(s[0],s[1],s[0],s[1],c[0],c[1]),n.bezierCurveTo(l[0],l[1],l[0],l[1],a[2][0],a[2][1])}else for(var d=1;d<a.length;d++)n.lineTo(a[d][0],a[d][1])}function VD(n,t,e){var a=n.getTextGuideLine(),r=n.getTextContent();if(r){for(var i=t.normal,o=i.get("show"),s=r.ignore,l=0;l<Yv.length;l++){var c=Yv[l],d=t[c],u="normal"===c;if(d){var h=d.get("show");if((u?s:ie(r.states[c]&&r.states[c].ignore,s))||!ie(h,o)){var v=u?a:a&&a.states[c];v&&(v.ignore=!0),a&&FD(a,!0,c,d);continue}a||(a=new nr,n.setTextGuideLine(a),!u&&(s||!o)&&FD(a,!0,"normal",t.normal),n.stateProxy&&(a.stateProxy=n.stateProxy)),FD(a,!1,c,d)}}if(a){Kt(a.style,e),a.style.fill=null;var A=i.get("showAbove");(n.textGuideLineConfig=n.textGuideLineConfig||{}).showAbove=A||!1,a.buildPath=Bst}}else a&&n.removeTextGuideLine()}function zD(n,t){t=t||"labelLine";for(var e={normal:n.getModel(t)},a=0;a<Na.length;a++){var r=Na[a];e[r]=n.getModel([r,t])}return e}function cF(n){for(var t=[],e=0;e<n.length;e++){var a=n[e];if(!a.defaultAttr.ignore){var r=a.label,i=r.getComputedTransform(),o=r.getBoundingRect(),s=!i||i[1]<1e-5&&i[2]<1e-5,l=r.style.margin||0,c=o.clone();c.applyTransform(i),c.x-=l/2,c.y-=l/2,c.width+=l,c.height+=l;var d=s?new V_(o,i):null;t.push({label:r,labelLine:a.labelLine,rect:c,localRect:o,obb:d,priority:a.priority,defaultAttr:a.defaultAttr,layoutOption:a.computedLayoutOption,axisAligned:s,transform:i})}}return t}function dF(n,t,e,a,r,i){var o=n.length;if(!(o<2)){n.sort(function(U,z){return U.rect[t]-z.rect[t]});for(var l,s=0,c=!1,d=[],u=0,h=0;h<o;h++){var f=n[h],v=f.rect;(l=v[t]-s)<0&&(v[t]-=l,f.label[t]-=l,c=!0);var A=Math.max(-l,0);d.push(A),u+=A,s=v[t]+v[e]}u>0&&i&&M(-u/o,0,o);var S,k,b=n[0],x=n[o-1];return D(),S<0&&R(-S,.8),k<0&&R(k,.8),D(),I(S,k,1),I(k,S,-1),D(),S<0&&N(-S),k<0&&N(k),c}function D(){S=b.rect[t]-a,k=r-x.rect[t]-x.rect[e]}function I(U,z,B){if(U<0){var K=Math.min(z,-U);if(K>0){M(K*B,0,o);var W=K+U;W<0&&R(-W*B,1)}else R(-U*B,1)}}function M(U,z,B){0!==U&&(c=!0);for(var K=z;K<B;K++){var W=n[K];W.rect[t]+=U,W.label[t]+=U}}function R(U,z){for(var B=[],K=0,W=1;W<o;W++){var Z=n[W-1].rect,X=Math.max(n[W].rect[t]-Z[t]-Z[e],0);B.push(X),K+=X}if(K){var tt=Math.min(Math.abs(U)/K,z);if(U>0)for(W=0;W<o-1;W++){M(B[W]*tt,0,W+1)}else for(W=o-1;W>0;W--){M(-(B[W-1]*tt),W,o)}}}function N(U){var z=U<0?-1:1;U=Math.abs(U);for(var B=Math.ceil(U/(o-1)),K=0;K<o-1;K++)if(z>0?M(B,0,K+1):M(-B,o-K-1,o),(U-=B)<=0)return}}function uF(n,t,e,a){return dF(n,"y","height",t,e,a)}function pF(n){var t=[];n.sort(function(A,b){return b.priority-A.priority});var e=new de(0,0,0,0);function a(A){if(!A.ignore){var b=A.ensureState("emphasis");null==b.ignore&&(b.ignore=!1)}A.ignore=!0}for(var r=0;r<n.length;r++){var i=n[r],o=i.axisAligned,s=i.localRect,l=i.transform,c=i.label,d=i.labelLine;e.copy(i.rect),e.width-=.1,e.height-=.1,e.x+=.05,e.y+=.05;for(var u=i.obb,h=!1,f=0;f<t.length;f++){var v=t[f];if(e.intersect(v.rect)){if(o&&v.axisAligned){h=!0;break}if(v.obb||(v.obb=new V_(v.localRect,v.transform)),u||(u=new V_(s,l)),u.intersect(v.obb)){h=!0;break}}}h?(a(c),d&&a(d)):(c.attr("ignore",i.defaultAttr.ignore),d&&d.attr("ignore",i.defaultAttr.labelGuideIgnore),t.push(i))}}function Gst(n){if(n){for(var t=[],e=0;e<n.length;e++)t.push(n[e].slice());return t}}function Kst(n,t){var e=n.label,a=t&&t.getTextGuideLine();return{dataIndex:n.dataIndex,dataType:n.dataType,seriesIndex:n.seriesModel.seriesIndex,text:n.label.style.text,rect:n.hostRect,labelRect:n.rect,align:e.style.align,verticalAlign:e.style.verticalAlign,labelLinePoints:Gst(a&&a.shape.points)}}var hF=["align","verticalAlign","width","height","fontSize"],Fa=new Xo,ED=_e(),Wst=_e();function sx(n,t,e){for(var a=0;a<e.length;a++){var r=e[a];null!=t[r]&&(n[r]=t[r])}}var lx=["x","y","rotation"],Jst=function(){function n(){this._labelList=[],this._chartViewList=[]}return n.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},n.prototype._addLabel=function(t,e,a,r,i){var o=r.style,l=r.__hostTarget.textConfig||{},c=r.getComputedTransform(),d=r.getBoundingRect().plain();de.applyTransform(d,d,c),c?Fa.setLocalTransform(c):(Fa.x=Fa.y=Fa.rotation=Fa.originX=Fa.originY=0,Fa.scaleX=Fa.scaleY=1),Fa.rotation=pr(Fa.rotation);var h,u=r.__hostTarget;if(u){h=u.getBoundingRect().plain();var f=u.getComputedTransform();de.applyTransform(h,h,f)}var v=h&&u.getTextGuideLine();this._labelList.push({label:r,labelLine:v,seriesModel:a,dataIndex:t,dataType:e,layoutOption:i,computedLayoutOption:null,rect:d,hostRect:h,priority:h?h.width*h.height:0,defaultAttr:{ignore:r.ignore,labelGuideIgnore:v&&v.ignore,x:Fa.x,y:Fa.y,scaleX:Fa.scaleX,scaleY:Fa.scaleY,rotation:Fa.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:r.cursor,attachedPos:l.position,attachedRot:l.rotation}})},n.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var a=t.__model,r=a.get("labelLayout");!jt(r)&&!ve(r).length||t.group.traverse(function(i){if(i.ignore)return!0;var o=i.getTextContent(),s=ee(i);o&&!o.disableLabelLayout&&e._addLabel(s.dataIndex,s.dataType,a,o,r)})},n.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),a=t.getHeight();function r(k,D){return function(){sF(k,D)}}for(var i=0;i<this._labelList.length;i++){var o=this._labelList[i],s=o.label,l=s.__hostTarget,c=o.defaultAttr,d=void 0;d=(d=jt(o.layoutOption)?o.layoutOption(Kst(o,l)):o.layoutOption)||{},o.computedLayoutOption=d;var u=Math.PI/180;l&&l.setTextConfig({local:!1,position:null!=d.x||null!=d.y?null:c.attachedPos,rotation:null!=d.rotate?d.rotate*u:c.attachedRot,offset:[d.dx||0,d.dy||0]});var h=!1;if(null!=d.x?(s.x=Ot(d.x,e),s.setStyle("x",0),h=!0):(s.x=c.x,s.setStyle("x",c.style.x)),null!=d.y?(s.y=Ot(d.y,a),s.setStyle("y",0),h=!0):(s.y=c.y,s.setStyle("y",c.style.y)),d.labelLinePoints){var f=l.getTextGuideLine();f&&(f.setShape({points:d.labelLinePoints}),h=!1)}ED(s).needsUpdateLabelLine=h,s.rotation=null!=d.rotate?d.rotate*u:c.rotation,s.scaleX=c.scaleX,s.scaleY=c.scaleY;for(var A=0;A<hF.length;A++){var b=hF[A];s.setStyle(b,null!=d[b]?d[b]:c.style[b])}if(d.draggable){if(s.draggable=!0,s.cursor="move",l){var x=o.seriesModel;if(null!=o.dataIndex)x=o.seriesModel.getData(o.dataType).getItemModel(o.dataIndex);s.on("drag",r(l,x.getModel("labelLine")))}}else s.off("drag"),s.cursor=c.cursor}},n.prototype.layout=function(t){var e=t.getWidth(),a=t.getHeight(),r=cF(this._labelList),i=Ne(r,function(l){return"shiftX"===l.layoutOption.moveOverlap}),o=Ne(r,function(l){return"shiftY"===l.layoutOption.moveOverlap});(function jst(n,t,e,a){return dF(n,"x","width",t,e,a)})(i,0,e),uF(o,0,a),pF(Ne(r,function(l){return l.layoutOption.hideOverlap}))},n.prototype.processLabelsOverall=function(){var t=this;q(this._chartViewList,function(e){var a=e.__model,r=e.ignoreLabelLineUpdate,i=a.isAnimationEnabled();e.group.traverse(function(o){if(o.ignore&&!o.forceLabelAnimation)return!0;var s=!r,l=o.getTextContent();!s&&l&&(s=ED(l).needsUpdateLabelLine),s&&t._updateLabelLine(o,a),i&&t._animateLabels(o,a)})})},n.prototype._updateLabelLine=function(t,e){var a=t.getTextContent(),r=ee(t),i=r.dataIndex;if(a&&null!=i){var o=e.getData(r.dataType),s=o.getItemModel(i),l={},c=o.getItemVisual(i,"style");if(c){var d=o.getVisual("drawType");l.stroke=c[d]}var u=s.getModel("labelLine");VD(t,zD(s),l),sF(t,u)}},n.prototype._animateLabels=function(t,e){var a=t.getTextContent(),r=t.getTextGuideLine();if(a&&(t.forceLabelAnimation||!a.ignore&&!a.invisible&&!t.disableLabelAnimation&&!Wh(t))){var o=(i=ED(a)).oldLayout,s=ee(t),l=s.dataIndex,c={x:a.x,y:a.y,rotation:a.rotation},d=e.getData(s.dataType);if(o){a.attr(o);var h=t.prevStates;h&&(pe(h,"select")>=0&&a.attr(i.oldLayoutSelect),pe(h,"emphasis")>=0&&a.attr(i.oldLayoutEmphasis)),Te(a,c,e,l)}else if(a.attr(c),!Jh(a).valueAnimation){var u=ie(a.style.opacity,1);a.style.opacity=0,dn(a,{style:{opacity:u}},e,l)}if(i.oldLayout=c,a.states.select){var f=i.oldLayoutSelect={};sx(f,c,lx),sx(f,a.states.select,lx)}if(a.states.emphasis){var v=i.oldLayoutEmphasis={};sx(v,c,lx),sx(v,a.states.emphasis,lx)}j3(a,l,d,e,e)}if(r&&!r.ignore&&!r.invisible){o=(i=Wst(r)).oldLayout;var i,A={points:r.shape.points};o?(r.attr({shape:o}),Te(r,{shape:A},e)):(r.setShape(A),r.style.strokePercent=0,dn(r,{style:{strokePercent:1}},e)),i.oldLayout=A}},n}();const Zst=Jst;var qD=_e();function mF(n){n.registerUpdateLifecycle("series:beforeupdate",function(t,e,a){var r=qD(e).labelManager;r||(r=qD(e).labelManager=new Zst),r.clearLabels()}),n.registerUpdateLifecycle("series:layoutlabels",function(t,e,a){var r=qD(e).labelManager;a.updatedSeries.forEach(function(i){r.addLabelsOfSeries(e.getViewOfSeriesModel(i))}),r.updateLayoutConfig(e),r.layout(e),r.processLabelsOverall()})}function fF(n,t,e){var a=ei.createCanvas(),r=t.getWidth(),i=t.getHeight(),o=a.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=r+"px",o.height=i+"px",a.setAttribute("data-zr-dom-id",n)),a.width=r*e,a.height=i*e,a}he(mF);var Xst=function(n){function t(e,a,r){var o,i=n.call(this)||this;i.motionBlur=!1,i.lastFrameAlpha=.7,i.dpr=1,i.virtual=!1,i.config={},i.incremental=!1,i.zlevel=0,i.maxRepaintRectCount=5,i.__dirty=!0,i.__firstTimePaint=!0,i.__used=!1,i.__drawIndex=0,i.__startIndex=0,i.__endIndex=0,i.__prevStartIndex=null,i.__prevEndIndex=null,r=r||W0,"string"==typeof e?o=fF(e,a,r):Xt(e)&&(e=(o=e).id),i.id=e,i.dom=o;var s=o.style;return s&&(gR(o),o.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),i.painter=a,i.dpr=r,i}return cn(t,n),t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=fF("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,a,r,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var b,o=[],s=this.maxRepaintRectCount,l=!1,c=new de(0,0,0,0);function d(S){if(S.isFinite()&&!S.isZero())if(0===o.length){(k=new de(0,0,0,0)).copy(S),o.push(k)}else{for(var D=!1,I=1/0,M=0,R=0;R<o.length;++R){var N=o[R];if(N.intersect(S)){var U=new de(0,0,0,0);U.copy(N),U.union(S),o[R]=U,D=!0;break}if(l){c.copy(S),c.union(N);var z=S.width*S.height,B=N.width*N.height,W=c.width*c.height-z-B;W<I&&(I=W,M=R)}}var k;if(l&&(o[M].union(S),D=!0),!D)(k=new de(0,0,0,0)).copy(S),o.push(k);l||(l=o.length>=s)}}for(var u=this.__startIndex;u<this.__endIndex;++u){if(h=e[u]){var f=h.shouldBePainted(r,i,!0,!0);(v=h.__isRendered&&(1&h.__dirty||!f)?h.getPrevPaintRect():null)&&d(v);var A=f&&(1&h.__dirty||!h.__isRendered)?h.getPaintRect():null;A&&d(A)}}for(u=this.__prevStartIndex;u<this.__prevEndIndex;++u){var h,v;f=(h=a[u])&&h.shouldBePainted(r,i,!0,!0);if(h&&(!f||!h.__zr)&&h.__isRendered)(v=h.getPrevPaintRect())&&d(v)}do{b=!1;for(u=0;u<o.length;)if(o[u].isZero())o.splice(u,1);else{for(var x=u+1;x<o.length;)o[u].intersect(o[x])?(b=!0,o[u].union(o[x]),o.splice(x,1)):x++;u++}}while(b);return this._paintRects=o,o},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(e,a){var r=this.dpr,i=this.dom,o=i.style,s=this.domBack;o&&(o.width=e+"px",o.height=a+"px"),i.width=e*r,i.height=a*r,s&&(s.width=e*r,s.height=a*r,1!==r&&this.ctxBack.scale(r,r))},t.prototype.clear=function(e,a,r){var i=this.dom,o=this.ctx,s=i.width,l=i.height;a=a||this.clearColor;var c=this.motionBlur&&!e,d=this.lastFrameAlpha,u=this.dpr,h=this;c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,s/u,l/u));var f=this.domBack;function v(A,b,x,S){if(o.clearRect(A,b,x,S),a&&"transparent"!==a){var k=void 0;if(b0(a))k=(a.global||a.__width===x&&a.__height===S)&&a.__canvasGradient||AD(o,a,{x:0,y:0,width:x,height:S}),a.__canvasGradient=k,a.__width=x,a.__height=S;else(function btt(n){return null!=n.image})(a)&&(a.scaleX=a.scaleX||u,a.scaleY=a.scaleY||u,k=bD(o,a,{dirty:function(){h.setUnpainted(),h.painter.refresh()}}));o.save(),o.fillStyle=k||a,o.fillRect(A,b,x,S),o.restore()}c&&(o.save(),o.globalAlpha=d,o.drawImage(f,A,b,x,S),o.restore())}!r||c?v(0,0,s,l):r.length&&q(r,function(A){v(A.x*u,A.y*u,A.width*u,A.height*u)})},t}(Cr);const HD=Xst;var Bd=314159;var tlt=function(){function n(t,e,a,r){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=a=ft({},a||{}),this.dpr=a.devicePixelRatio||W0,this._singleCanvas=i,this.root=t,t.style&&(gR(t),t.innerHTML=""),this.storage=e;var s=this._zlevelList;this._prevDisplayList=[];var l=this._layers;if(i){var d=t,u=d.width,h=d.height;null!=a.width&&(u=a.width),null!=a.height&&(h=a.height),this.dpr=a.devicePixelRatio||1,d.width=u*this.dpr,d.height=h*this.dpr,this._width=u,this._height=h;var f=new HD(d,this,this.dpr);f.__builtin__=!0,f.initContext(),l[Bd]=f,f.zlevel=Bd,s.push(Bd),this._domRoot=t}else{this._width=mm(t,0,a),this._height=mm(t,1,a);var c=this._domRoot=function $st(n,t){var e=document.createElement("div");return e.style.cssText=["position:relative","width:"+n+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",e}(this._width,this._height);t.appendChild(c)}}return n.prototype.getType=function(){return"canvas"},n.prototype.isSingleCanvas=function(){return this._singleCanvas},n.prototype.getViewportRoot=function(){return this._domRoot},n.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},n.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),a=this._prevDisplayList,r=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,a,t,this._redrawId);for(var i=0;i<r.length;i++){var o=r[i],s=this._layers[o];if(!s.__builtin__&&s.refresh){var l=0===i?this._backgroundColor:null;s.refresh(l)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},n.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},n.prototype._paintHoverList=function(t){var e=t.length,a=this._hoverlayer;if(a&&a.clear(),e){for(var i,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var s=t[o];s.__inHover&&(a||(a=this._hoverlayer=this.getLayer(1e5)),i||(i=a.ctx).save(),zd(i,s,r,o===e-1))}i&&i.restore()}},n.prototype.getHoverLayer=function(){return this.getLayer(1e5)},n.prototype.paintOne=function(t,e){PU(t,e)},n.prototype._paintList=function(t,e,a,r){if(this._redrawId===r){a=a||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,e,a),o=i.finished,s=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),s&&this._paintHoverList(t),o)this.eachLayer(function(c){c.afterBrush&&c.afterBrush()});else{var l=this;s2(function(){l._paintList(t,e,a,r)})}}},n.prototype._compositeManually=function(){var t=this.getLayer(Bd).ctx,e=this._domRoot.width,a=this._domRoot.height;t.clearRect(0,0,e,a),this.eachBuiltinLayer(function(r){r.virtual&&t.drawImage(r.dom,0,0,e,a)})},n.prototype._doPaintList=function(t,e,a){for(var r=this,i=[],o=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],c=this._layers[l];c.__builtin__&&c!==this._hoverlayer&&(c.__dirty||a)&&i.push(c)}for(var d=!0,u=!1,h=function(A){var b=i[A],x=b.ctx,S=o&&b.createRepaintRects(t,e,f._width,f._height),k=a?b.__startIndex:b.__drawIndex,D=!a&&b.incremental&&Date.now,I=D&&Date.now(),M=b.zlevel===f._zlevelList[0]?f._backgroundColor:null;if(b.__startIndex===b.__endIndex)b.clear(!1,M,S);else if(k===b.__startIndex){var R=t[k];(!R.incremental||!R.notClear||a)&&b.clear(!1,M,S)}-1===k&&(console.error("For some unknown reason. drawIndex is -1"),k=b.__startIndex);var N,U=function(W){var Z={inHover:!1,allClipped:!1,prevEl:null,viewWidth:r._width,viewHeight:r._height};for(N=k;N<b.__endIndex;N++){var X=t[N];if(X.__inHover&&(u=!0),r._doPaintEl(X,b,o,W,Z,N===b.__endIndex-1),D)if(Date.now()-I>15)break}Z.prevElClipPaths&&x.restore()};if(S)if(0===S.length)N=b.__endIndex;else for(var z=f.dpr,B=0;B<S.length;++B){var K=S[B];x.save(),x.beginPath(),x.rect(K.x*z,K.y*z,K.width*z,K.height*z),x.clip(),U(K),x.restore()}else x.save(),U(),x.restore();b.__drawIndex=N,b.__drawIndex<b.__endIndex&&(d=!1)},f=this,v=0;v<i.length;v++)h(v);return we.wxa&&q(this._layers,function(A){A&&A.ctx&&A.ctx.draw&&A.ctx.draw()}),{finished:d,needsRefreshHover:u}},n.prototype._doPaintEl=function(t,e,a,r,i,o){var s=e.ctx;if(a){var l=t.getPaintRect();(!r||l&&l.intersect(r))&&(zd(s,t,i,o),t.setPrevPaintRect(l))}else zd(s,t,i,o)},n.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=Bd);var a=this._layers[t];return a||((a=new HD("zr_"+t,this,this.dpr)).zlevel=t,a.__builtin__=!0,this._layerConfig[t]?le(a,this._layerConfig[t],!0):this._layerConfig[t-.01]&&le(a,this._layerConfig[t-.01],!0),e&&(a.virtual=e),this.insertLayer(t,a),a.initContext()),a},n.prototype.insertLayer=function(t,e){var a=this._layers,r=this._zlevelList,i=r.length,o=this._domRoot,s=null,l=-1;if(!a[t]&&function Qst(n){return!(!n||!n.__builtin__&&("function"!=typeof n.resize||"function"!=typeof n.refresh))}(e)){if(i>0&&t>r[0]){for(l=0;l<i-1&&!(r[l]<t&&r[l+1]>t);l++);s=a[r[l]]}if(r.splice(l+1,0,t),a[t]=e,!e.virtual)if(s){var c=s.dom;c.nextSibling?o.insertBefore(e.dom,c.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},n.prototype.eachLayer=function(t,e){for(var a=this._zlevelList,r=0;r<a.length;r++){var i=a[r];t.call(e,this._layers[i],i)}},n.prototype.eachBuiltinLayer=function(t,e){for(var a=this._zlevelList,r=0;r<a.length;r++){var i=a[r],o=this._layers[i];o.__builtin__&&t.call(e,o,i)}},n.prototype.eachOtherLayer=function(t,e){for(var a=this._zlevelList,r=0;r<a.length;r++){var i=a[r],o=this._layers[i];o.__builtin__||t.call(e,o,i)}},n.prototype.getLayers=function(){return this._layers},n.prototype._updateLayerStatus=function(t){function e(u){i&&(i.__endIndex!==u&&(i.__dirty=!0),i.__endIndex=u)}if(this.eachBuiltinLayer(function(u,h){u.__dirty=u.__used=!1}),this._singleCanvas)for(var a=1;a<t.length;a++){if((r=t[a]).zlevel!==t[a-1].zlevel||r.incremental){this._needsManuallyCompositing=!0;break}}var s,l,i=null,o=0;for(l=0;l<t.length;l++){var r,c=(r=t[l]).zlevel,d=void 0;s!==c&&(s=c,o=0),r.incremental?((d=this.getLayer(c+.001,this._needsManuallyCompositing)).incremental=!0,o=1):d=this.getLayer(c+(o>0?.01:0),this._needsManuallyCompositing),d.__builtin__||Vk("ZLevel "+c+" has been used by unkown layer "+d.id),d!==i&&(d.__used=!0,d.__startIndex!==l&&(d.__dirty=!0),d.__startIndex=l,d.incremental?d.__drawIndex=-1:d.__drawIndex=l,e(l),i=d),1&r.__dirty&&!r.__inHover&&(d.__dirty=!0,d.incremental&&d.__drawIndex<0&&(d.__drawIndex=l))}e(l),this.eachBuiltinLayer(function(u,h){!u.__used&&u.getElementCount()>0&&(u.__dirty=!0,u.__startIndex=u.__endIndex=u.__drawIndex=0),u.__dirty&&u.__drawIndex<0&&(u.__drawIndex=u.__startIndex)})},n.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},n.prototype._clearLayer=function(t){t.clear()},n.prototype.setBackgroundColor=function(t){this._backgroundColor=t,q(this._layers,function(e){e.setUnpainted()})},n.prototype.configLayer=function(t,e){if(e){var a=this._layerConfig;a[t]?le(a[t],e,!0):a[t]=e;for(var r=0;r<this._zlevelList.length;r++){var i=this._zlevelList[r];if(i===t||i===t+.01)le(this._layers[i],a[t],!0)}}},n.prototype.delLayer=function(t){var e=this._layers,a=this._zlevelList,r=e[t];!r||(r.dom.parentNode.removeChild(r.dom),delete e[t],a.splice(pe(a,t),1))},n.prototype.resize=function(t,e){if(this._domRoot.style){var a=this._domRoot;a.style.display="none";var r=this._opts,i=this.root;if(null!=t&&(r.width=t),null!=e&&(r.height=e),t=mm(i,0,r),e=mm(i,1,r),a.style.display="",this._width!==t||e!==this._height){for(var o in a.style.width=t+"px",a.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(Bd).resize(t,e)}return this},n.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},n.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},n.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[Bd].dom;var e=new HD("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var a=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var r=e.dom.width,i=e.dom.height;this.eachLayer(function(u){u.__builtin__?a.drawImage(u.dom,0,0,r,i):u.renderToCanvas&&(a.save(),u.renderToCanvas(a),a.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},s=this.storage.getDisplayList(!0),l=0,c=s.length;l<c;l++){var d=s[l];zd(a,d,o,l===c-1)}return e.dom},n.prototype.getWidth=function(){return this._width},n.prototype.getHeight=function(){return this._height},n}();const elt=tlt;var BD=Math.sin,jD=Math.cos,vF=Math.PI,jd=2*Math.PI,alt=180/vF,rlt=function(){function n(){}return n.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},n.prototype.moveTo=function(t,e){this._add("M",t,e)},n.prototype.lineTo=function(t,e){this._add("L",t,e)},n.prototype.bezierCurveTo=function(t,e,a,r,i,o){this._add("C",t,e,a,r,i,o)},n.prototype.quadraticCurveTo=function(t,e,a,r){this._add("Q",t,e,a,r)},n.prototype.arc=function(t,e,a,r,i,o){this.ellipse(t,e,a,a,0,r,i,o)},n.prototype.ellipse=function(t,e,a,r,i,o,s,l){var c=s-o,d=!l,u=Math.abs(c),h=Al(u-jd)||(d?c>=jd:-c>=jd),f=c>0?c%jd:c%jd+jd,v=!1;v=!!h||!Al(u)&&f>=vF==!!d;var A=t+a*jD(o),b=e+r*BD(o);this._start&&this._add("M",A,b);var x=Math.round(i*alt);if(h){var S=1/this._p,k=(d?1:-1)*(jd-S);this._add("A",a,r,x,1,+d,t+a*jD(o+k),e+r*BD(o+k)),S>.01&&this._add("A",a,r,x,0,+d,A,b)}else{var D=t+a*jD(s),I=e+r*BD(s);this._add("A",a,r,x,+v,+d,D,I)}},n.prototype.rect=function(t,e,a,r){this._add("M",t,e),this._add("l",a,0),this._add("l",0,r),this._add("l",-a,0),this._add("Z")},n.prototype.closePath=function(){this._d.length>0&&this._add("Z")},n.prototype._add=function(t,e,a,r,i,o,s,l,c){for(var d=[],u=this._p,h=1;h<arguments.length;h++){var f=arguments[h];if(isNaN(f))return void(this._invalid=!0);d.push(Math.round(f*u)/u)}this._d.push(t+d.join(" ")),this._start="Z"===t},n.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},n.prototype.getStr=function(){return this._str},n}();const AF=rlt;var TA="none",ilt=Math.round;var GD=["lineCap","miterLimit","lineJoin"],llt=At(GD,function(n){return"stroke-"+n.toLowerCase()});function clt(n,t,e,a){var r=null==t.opacity?1:t.opacity;if(e instanceof la)n("opacity",r);else{if(function olt(n){var t=n.fill;return null!=t&&t!==TA}(t)){var i=Uv(t.fill);n("fill",i.color);var o=null!=t.fillOpacity?t.fillOpacity*i.opacity*r:i.opacity*r;(a||o<1)&&n("fill-opacity",o)}else n("fill",TA);if(function slt(n){var t=n.stroke;return null!=t&&t!==TA}(t)){var s=Uv(t.stroke);n("stroke",s.color);var l=t.strokeNoScale?e.getLineScale():1,c=l?(t.lineWidth||0)/l:0,d=null!=t.strokeOpacity?t.strokeOpacity*s.op
vendor: 19,460 bytes, line 1
1acity*r:s.opacity*r,u=t.strokeFirst;if((a||1!==c)&&n("stroke-width",c),(a||u)&&n("paint-order",u?"stroke":"fill"),(a||d<1)&&n("stroke-opacity",d),t.lineDash){var h=yD(e),f=h[0],v=h[1];f&&(v=ilt(v||0),n("stroke-dasharray",f.join(",")),(v||a)&&n("stroke-dashoffset",v))}else a&&n("stroke-dasharray",TA);for(var A=0;A<GD.length;A++){var b=GD[A];if(a||t[b]!==r_[b]){var x=t[b]||r_[b];x&&n(llt[A],x)}}}else a&&n("stroke",TA)}}var yF="http://www.w3.org/2000/svg",bF="http://www.w3.org/1999/xlink",_F="ecmeta_";function xF(n){return document.createElementNS(yF,n)}function Jn(n,t,e,a,r){return{tag:n,attrs:e||{},children:a,text:r,key:t}}function KD(n,t){var e=(t=t||{}).newline?"\n":"";return function a(r){var i=r.children,o=r.tag,s=r.attrs,l=r.text;return function plt(n,t){var e=[];if(t)for(var a in t){var r=t[a],i=a;!1!==r&&(!0!==r&&null!=r&&(i+='="'+r+'"'),e.push(i))}return"<"+n+" "+e.join(" ")+">"}(o,s)+("style"!==o?xa(l):l||"")+(i?""+e+At(i,function(c){return a(c)}).join(e)+e:"")+function hlt(n){return"</"+n+">"}(o)}(n)}function WD(n){return{zrId:n,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function SF(n,t,e,a){return Jn("svg","root",{width:n,height:t,xmlns:yF,"xmlns:xlink":bF,version:"1.1",baseProfile:"full",viewBox:!!a&&"0 0 "+n+" "+t},e)}var flt=0;function wF(){return flt++}var kF={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},Gd="transform-origin";function glt(n,t,e){var a=ft({},n.shape);ft(a,t),n.buildPath(e,a);var r=new AF;return r.reset(eL(n)),e.rebuildPath(r,1),r.generateStr(),r.getStr()}function vlt(n,t){var e=t.originX,a=t.originY;(e||a)&&(n[Gd]=e+"px "+a+"px")}var Alt={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function CF(n,t){var e=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[e]=n,e}function DF(n){return Lt(n)?kF[n]?"cubic-bezier("+kF[n]+")":c2(n)?n:"":""}function dx(n,t,e,a){var r=n.animators,i=r.length,o=[];if(n instanceof dD){var s=function ylt(n,t,e){var i,o,a=n.shape.paths,r={};if(q(a,function(l){var c=WD(e.zrId);c.animation=!0,dx(l,{},c,!0);var d=c.cssAnims,u=c.cssNodes,h=ve(d),f=h.length;if(f){var v=d[o=h[f-1]];for(var A in v){var b=v[A];r[A]=r[A]||{d:""},r[A].d+=b.d||""}for(var x in u){var S=u[x].animation;S.indexOf(o)>=0&&(i=S)}}}),i){t.d=!1;var s=CF(r,e);return i.replace(o,s)}}(n,t,e);if(s)o.push(s);else if(!i)return}else if(!i)return;for(var l={},c=0;c<i;c++){var d=r[c],u=[d.getMaxTime()/1e3+"s"],h=DF(d.getClip().easing),f=d.getDelay();h?u.push(h):u.push("linear"),f&&u.push(f/1e3+"s"),d.getLoop()&&u.push("infinite");var v=u.join(" ");l[v]=l[v]||[v,[]],l[v][1].push(d)}function A(S){var k=S[1],D=k.length,I={},M={},R={},N="animation-timing-function";function U(ue,Jt,me){for(var Ht=ue.getTracks(),ae=ue.getMaxTime(),rn=0;rn<Ht.length;rn++){var ze=Ht[rn];if(ze.needsAnimate()){var Xe=ze.keyframes,fn=ze.propName;if(me&&(fn=me(fn)),fn)for(var Zn=0;Zn<Xe.length;Zn++){var mr=Xe[Zn],or=Math.round(mr.time/ae*100)+"%",hu=DF(mr.easing),Jl=mr.rawValue;(Lt(Jl)||ke(Jl))&&(Jt[or]=Jt[or]||{},Jt[or][fn]=mr.rawValue,hu&&(Jt[or][N]=hu))}}}}for(var z=0;z<D;z++){(K=(B=k[z]).targetName)?"shape"===K&&U(B,M):!a&&U(B,I)}for(var W in I){var Z={};mL(Z,n),ft(Z,I[W]);var X=nL(Z),tt=I[W][N];R[W]=X?{transform:X}:{},vlt(R[W],Z),tt&&(R[W][N]=tt)}var rt,ot=!0;for(var W in M){R[W]=R[W]||{};var st=!rt;tt=M[W][N];st&&(rt=new Ki);var gt=rt.len();rt.reset(),R[W].d=glt(n,M[W],rt);var _t=rt.len();if(!st&>!==_t){ot=!1;break}tt&&(R[W][N]=tt)}if(!ot)for(var W in R)delete R[W].d;if(!a)for(z=0;z<D;z++){var B,K;"style"===(K=(B=k[z]).targetName)&&U(B,R,function(Ht){return Alt[Ht]})}var Bt,Mt=ve(R),zt=!0;for(z=1;z<Mt.length;z++){var Qt=Mt[z-1],Pe=Mt[z];if(R[Qt][Gd]!==R[Pe][Gd]){zt=!1;break}Bt=R[Qt][Gd]}if(zt&&Bt){for(var W in R)R[W][Gd]&&delete R[W][Gd];t[Gd]=Bt}if(Ne(Mt,function(ue){return ve(R[ue]).length>0}).length)return CF(R,e)+" "+S[0]+" both"}for(var b in l){(s=A(l[b]))&&o.push(s)}if(o.length){var x=e.zrId+"-cls-"+wF();e.cssNodes["."+x]={animation:o.join(",")},t.class=x}}function TF(n,t,e,a){var r=JSON.stringify(n),i=e.cssStyleCache[r];i||(i=e.zrId+"-cls-"+wF(),e.cssStyleCache[r]=i,e.cssNodes["."+i+(a?":hover":"")]=n),t.class=t.class?t.class+" "+i:i}var PA=Math.round;function PF(n){return n&&Lt(n.src)}function IF(n){return n&&jt(n.toDataURL)}function JD(n,t,e,a){clt(function(r,i){var o="fill"===r||"stroke"===r;o&&tL(i)?UF(t,n,r,a):o&&A2(i)?FF(e,n,r,a):n[r]=i,o&&a.ssr&&"none"===i&&(n["pointer-events"]="visible")},t,e,!1),function Dlt(n,t,e){var a=n.style;if(function bet(n){return n&&(n.shadowBlur||n.shadowOffsetX||n.shadowOffsetY)}(a)){var r=function _et(n){var t=n.style,e=n.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),e[0],e[1]].join(",")}(n),i=e.shadowCache,o=i[r];if(!o){var s=n.getGlobalScale(),l=s[0],c=s[1];if(!l||!c)return;var d=a.shadowOffsetX||0,u=a.shadowOffsetY||0,h=a.shadowBlur,f=Uv(a.shadowColor),v=f.opacity,A=f.color,S=h/2/l+" "+h/2/c;o=e.zrId+"-s"+e.shadowIdx++,e.defs[o]=Jn("filter",o,{id:o,x:"-100%",y:"-100%",width:"300%",height:"300%"},[Jn("feDropShadow","",{dx:d/l,dy:u/c,stdDeviation:S,"flood-color":A,"flood-opacity":v})]),i[r]=o}t.filter=E0(o)}}(e,n,a)}function ZD(n,t){var e=function $et(n){if("function"==typeof E2)return E2(n)}(t);e&&(e.each(function(a,r){null!=a&&(n[(_F+r).toLowerCase()]=a+"")}),t.isSilent()&&(n[_F+"silent"]="true"))}function MF(n){return Al(n[0]-1)&&Al(n[1])&&Al(n[2])&&Al(n[3]-1)}function XD(n,t,e){if(t&&(!function _lt(n){return Al(n[4])&&Al(n[5])}(t)||!MF(t))){var a=e?10:1e4;n.transform=MF(t)?"translate("+PA(t[4]*a)/a+" "+PA(t[5]*a)/a+")":function vet(n){return"matrix("+z0(n[0])+","+z0(n[1])+","+z0(n[2])+","+z0(n[3])+","+v2(n[4])+","+v2(n[5])+")"}(t)}}function OF(n,t,e){for(var a=n.points,r=[],i=0;i<a.length;i++)r.push(PA(a[i][0]*e)/e),r.push(PA(a[i][1]*e)/e);t.points=r.join(" ")}function RF(n){return!n.smooth}var Slt={circle:[function xlt(n){var t=At(n,function(e){return"string"==typeof e?[e,e]:e});return function(e,a,r){for(var i=0;i<t.length;i++){var o=t[i],s=e[o[0]];null!=s&&(a[o[1]]=PA(s*r)/r)}}}(["cx","cy","r"])],polyline:[OF,RF],polygon:[OF,RF]};function LF(n,t){var e=n.style,a=n.shape,r=Slt[n.type],i={},o=t.animation,s="path",l=n.style.strokePercent,c=t.compress&&eL(n)||4;if(!r||t.willUpdate||r[1]&&!r[1](a)||o&&function wlt(n){for(var t=n.animators,e=0;e<t.length;e++)if("shape"===t[e].targetName)return!0;return!1}(n)||l<1){var u=!n.path||n.shapeChanged();n.path||n.createPathProxy();var h=n.path;u&&(h.beginPath(),n.buildPath(h,n.shape),n.pathUpdated());var f=h.getVersion(),v=n,A=v.__svgPathBuilder;(v.__svgPathVersion!==f||!A||l!==v.__svgPathStrokePercent)&&(A||(A=v.__svgPathBuilder=new AF),A.reset(c),h.rebuildPath(A,l),A.generateStr(),v.__svgPathVersion=f,v.__svgPathStrokePercent=l),i.d=A.getStr()}else{s=n.type;var d=Math.pow(10,c);r[0](a,i,d)}return XD(i,n.transform),JD(i,e,n,t),ZD(i,n),t.animation&&dx(n,i,t),t.emphasis&&function blt(n,t,e){if(!n.ignore)if(n.isSilent())TF(a={"pointer-events":"none"},t,e,!0);else{var r=n.states.emphasis&&n.states.emphasis.style?n.states.emphasis.style:{},i=r.fill;if(!i){var o=n.style&&n.style.fill,s=n.states.select&&n.states.select.style&&n.states.select.style.fill,l=n.currentStates.indexOf("select")>=0&&s||o;l&&(i=g2(l))}var c=r.lineWidth;c&&(c/=!r.strokeNoScale&&n.transform?n.transform[0]:1);var a={cursor:"pointer"};i&&(a.fill=i),r.stroke&&(a.stroke=r.stroke),c&&(a["stroke-width"]=c),TF(a,t,e,!0)}}(n,i,t),Jn(s,n.id+"",i)}function NF(n,t){return n instanceof fe?LF(n,t):n instanceof la?function klt(n,t){var e=n.style,a=e.image;if(a&&!Lt(a)&&(PF(a)?a=a.src:IF(a)&&(a=a.toDataURL())),a){var r=e.x||0,i=e.y||0,l={href:a,width:e.width,height:e.height};return r&&(l.x=r),i&&(l.y=i),XD(l,n.transform),JD(l,e,n,t),ZD(l,n),t.animation&&dx(n,l,t),Jn("image",n.id+"",l)}}(n,t):n instanceof Zv?function Clt(n,t){var e=n.style,a=e.text;if(null!=a&&(a+=""),a&&!isNaN(e.x)&&!isNaN(e.y)){var r=e.font||dl,i=e.x||0,o=function yet(n,t,e){return"top"===e?n+=t/2:"bottom"===e&&(n-=t/2),n}(e.y||0,J0(r),e.textBaseline),l={"dominant-baseline":"central","text-anchor":Aet[e.textAlign]||e.textAlign};if(h3(e)){var c="",d=e.fontStyle,u=u3(e.fontSize);if(!parseFloat(u))return;var h=e.fontFamily||lR,f=e.fontWeight;c+="font-size:"+u+";font-family:"+h+";",d&&"normal"!==d&&(c+="font-style:"+d+";"),f&&"normal"!==f&&(c+="font-weight:"+f+";"),l.style=c}else l.style="font: "+r;return a.match(/\s/)&&(l["xml:space"]="preserve"),i&&(l.x=i),o&&(l.y=o),XD(l,n.transform),JD(l,e,n,t),ZD(l,n),t.animation&&dx(n,l,t),Jn("text",n.id+"",l,void 0,a)}}(n,t):void 0}function UF(n,t,e,a){var i,r=n[e],o={gradientUnits:r.global?"userSpaceOnUse":"objectBoundingBox"};if(QR(r))i="linearGradient",o.x1=r.x,o.y1=r.y,o.x2=r.x2,o.y2=r.y2;else{if(!$R(r))return;i="radialGradient",o.cx=ie(r.x,.5),o.cy=ie(r.y,.5),o.r=ie(r.r,.5)}for(var s=r.colorStops,l=[],c=0,d=s.length;c<d;++c){var u=100*v2(s[c].offset)+"%",f=Uv(s[c].color),v=f.color,A=f.opacity,b={offset:u};b["stop-color"]=v,A<1&&(b["stop-opacity"]=A),l.push(Jn("stop",c+"",b))}var S=KD(Jn(i,"",o,l)),k=a.gradientCache,D=k[S];D||(D=a.zrId+"-g"+a.gradientIdx++,k[S]=D,o.id=D,a.defs[D]=Jn(i,D,o,l)),t[e]=E0(D)}function FF(n,t,e,a){var u,r=n.style[e],i=n.getBoundingRect(),o={},s=r.repeat,l="no-repeat"===s,c="repeat-x"===s,d="repeat-y"===s;if(YR(r)){var h=r.imageWidth,f=r.imageHeight,v=void 0,A=r.image;if(Lt(A)?v=A:PF(A)?v=A.src:IF(A)&&(v=A.toDataURL()),typeof Image>"u"){var b="Image width/height must been given explictly in svg-ssr renderer.";Oa(h,b),Oa(f,b)}else if(null==h||null==f){var x=function(z,B){if(z){var K=z.elm,W=h||B.width,Z=f||B.height;"pattern"===z.tag&&(c?(Z=1,W/=i.width):d&&(W=1,Z/=i.height)),z.attrs.width=W,z.attrs.height=Z,K&&(K.setAttribute("width",W),K.setAttribute("height",Z))}},S=J2(v,null,n,function(z){l||x(M,z),x(u,z)});S&&S.width&&S.height&&(h=h||S.width,f=f||S.height)}u=Jn("image","img",{href:v,width:h,height:f}),o.width=h,o.height=f}else r.svgElement&&(u=Yt(r.svgElement),o.width=r.svgWidth,o.height=r.svgHeight);if(u){var k,D;l?k=D=1:c?(D=1,k=o.width/i.width):d?(k=1,D=o.height/i.height):o.patternUnits="userSpaceOnUse",null!=k&&!isNaN(k)&&(o.width=k),null!=D&&!isNaN(D)&&(o.height=D);var I=nL(r);I&&(o.patternTransform=I);var M=Jn("pattern","",o,[u]),R=KD(M),N=a.patternCache,U=N[R];U||(U=a.zrId+"-p"+a.patternIdx++,N[R]=U,o.id=U,M=a.defs[U]=Jn("pattern",U,o,[u])),t[e]=E0(U)}}function Tlt(n,t,e){var a=e.clipPathCache,r=e.defs,i=a[n.id];if(!i){var o={id:i=e.zrId+"-c"+e.clipPathIdx++};a[n.id]=i,r[i]=Jn("clipPath",i,o,[LF(n,e)])}t["clip-path"]=E0(i)}function VF(n){return document.createTextNode(n)}function Kd(n,t,e){n.insertBefore(t,e)}function zF(n,t){n.removeChild(t)}function EF(n,t){n.appendChild(t)}function qF(n){return n.parentNode}function HF(n){return n.nextSibling}function YD(n,t){n.textContent=t}var Ilt=Jn("","");function QD(n){return void 0===n}function $i(n){return void 0!==n}function Mlt(n,t,e){for(var a={},r=t;r<=e;++r){var i=n[r].key;void 0!==i&&(a[i]=r)}return a}function IA(n,t){var e=n.key===t.key;return n.tag===t.tag&&e}function MA(n){var t,e=n.children,a=n.tag;if($i(a)){var r=n.elm=xF(a);if($D(Ilt,n),vt(e))for(t=0;t<e.length;++t){var i=e[t];null!=i&&EF(r,MA(i))}else $i(n.text)&&!Xt(n.text)&&EF(r,VF(n.text))}else n.elm=VF(n.text);return n.elm}function jF(n,t,e,a,r){for(;a<=r;++a){var i=e[a];null!=i&&Kd(n,MA(i),t)}}function ux(n,t,e,a){for(;e<=a;++e){var r=t[e];if(null!=r)if($i(r.tag)){zF(qF(r.elm),r.elm)}else zF(n,r.elm)}}function $D(n,t){var e,a=t.elm,r=n&&n.attrs||{},i=t.attrs||{};if(r!==i){for(e in i){var o=i[e];r[e]!==o&&(!0===o?a.setAttribute(e,""):!1===o?a.removeAttribute(e):"style"===e?a.style.cssText=o:120!==e.charCodeAt(0)?a.setAttribute(e,o):"xmlns:xlink"===e||"xmlns"===e?a.setAttributeNS("http://www.w3.org/2000/xmlns/",e,o):58===e.charCodeAt(3)?a.setAttributeNS("http://www.w3.org/XML/1998/namespace",e,o):58===e.charCodeAt(5)?a.setAttributeNS(bF,e,o):a.setAttribute(e,o))}for(e in r)e in i||a.removeAttribute(e)}}function vm(n,t){var e=t.elm=n.elm,a=n.children,r=t.children;n!==t&&($D(n,t),QD(t.text)?$i(a)&&$i(r)?a!==r&&function Olt(n,t,e){for(var u,h,f,a=0,r=0,i=t.length-1,o=t[0],s=t[i],l=e.length-1,c=e[0],d=e[l];a<=i&&r<=l;)null==o?o=t[++a]:null==s?s=t[--i]:null==c?c=e[++r]:null==d?d=e[--l]:IA(o,c)?(vm(o,c),o=t[++a],c=e[++r]):IA(s,d)?(vm(s,d),s=t[--i],d=e[--l]):IA(o,d)?(vm(o,d),Kd(n,o.elm,HF(s.elm)),o=t[++a],d=e[--l]):IA(s,c)?(vm(s,c),Kd(n,s.elm,o.elm),s=t[--i],c=e[++r]):(QD(u)&&(u=Mlt(t,a,i)),QD(h=u[c.key])||(f=t[h]).tag!==c.tag?Kd(n,MA(c),o.elm):(vm(f,c),t[h]=void 0,Kd(n,f.elm,o.elm)),c=e[++r]);(a<=i||r<=l)&&(a>i?jF(n,null==e[l+1]?null:e[l+1].elm,e,r,l):ux(n,t,a,i))}(e,a,r):$i(r)?($i(n.text)&&YD(e,""),jF(e,null,r,0,r.length-1)):$i(a)?ux(e,a,0,a.length-1):$i(n.text)&&YD(e,""):n.text!==t.text&&($i(a)&&ux(e,a,0,a.length-1),YD(e,t.text)))}var Llt=0,Nlt=function(){function n(t,e,a){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=e,this._opts=a=ft({},a),this.root=t,this._id="zr"+Llt++,this._oldVNode=SF(a.width,a.height),t&&!a.ssr){var r=this._viewport=document.createElement("div");r.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=xF("svg");$D(null,this._oldVNode),r.appendChild(i),t.appendChild(r)}this.resize(a.width,a.height)}return n.prototype.getType=function(){return this.type},n.prototype.getViewportRoot=function(){return this._viewport},n.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},n.prototype.getSvgDom=function(){return this._svgDom},n.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function Rlt(n,t){if(IA(n,t))vm(n,t);else{var e=n.elm,a=qF(e);MA(t),null!==a&&(Kd(a,t.elm,HF(e)),ux(a,[n],0,0))}return t}(this._oldVNode,t),this._oldVNode=t}},n.prototype.renderOneToVNode=function(t){return NF(t,WD(this._id))},n.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),a=this._width,r=this._height,i=WD(this._id);i.animation=t.animation,i.willUpdate=t.willUpdate,i.compress=t.compress,i.emphasis=t.emphasis,i.ssr=this._opts.ssr;var o=[],s=this._bgVNode=function Ult(n,t,e,a){var r;if(e&&"none"!==e)if(r=Jn("rect","bg",{width:n,height:t,x:"0",y:"0"}),tL(e))UF({fill:e},r.attrs,"fill",a);else if(A2(e))FF({style:{fill:e},dirty:Tn,getBoundingRect:function(){return{width:n,height:t}}},r.attrs,"fill",a);else{var i=Uv(e),o=i.color,s=i.opacity;r.attrs.fill=o,s<1&&(r.attrs["fill-opacity"]=s)}return r}(a,r,this._backgroundColor,i);s&&o.push(s);var l=t.compress?null:this._mainVNode=Jn("g","main",{},[]);this._paintList(e,i,l?l.children:o),l&&o.push(l);var c=At(ve(i.defs),function(h){return i.defs[h]});if(c.length&&o.push(Jn("defs","defs",{},c)),t.animation){var d=function mlt(n,t,e){var a=(e=e||{}).newline?"\n":"",r=" {"+a,i=a+"}",o=At(ve(n),function(l){return l+r+At(ve(n[l]),function(c){return c+":"+n[l][c]+";"}).join(a)+i}).join(a),s=At(ve(t),function(l){return"@keyframes "+l+r+At(ve(t[l]),function(c){return c+r+At(ve(t[l][c]),function(d){var u=t[l][c][d];return"d"===d&&(u='path("'+u+'")'),d+":"+u+";"}).join(a)+i}).join(a)+i}).join(a);return o||s?["<![CDATA[",o,s,"]]>"].join(a):""}(i.cssNodes,i.cssAnims,{newline:!0});if(d){var u=Jn("style","stl",{},[],d);o.push(u)}}return SF(a,r,o,t.useViewBox)},n.prototype.renderToString=function(t){return t=t||{},KD(this.renderToVNode({animation:ie(t.cssAnimation,!0),emphasis:ie(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:ie(t.useViewBox,!0)}),{newline:!0})},n.prototype.setBackgroundColor=function(t){this._backgroundColor=t},n.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},n.prototype._paintList=function(t,e,a){for(var s,l,r=t.length,i=[],o=0,c=0,d=0;d<r;d++){var u=t[d];if(!u.invisible){var h=u.__clipPaths,f=h&&h.length||0,v=l&&l.length||0,A=void 0;for(A=Math.max(f-1,v-1);A>=0&&(!h||!l||h[A]!==l[A]);A--);for(var b=v-1;b>A;b--)s=i[--o-1];for(var x=A+1;x<f;x++){var S={};Tlt(h[x],S,e);var k=Jn("g","clip-g-"+c++,S,[]);(s?s.children:a).push(k),i[o++]=k,s=k}l=h;var D=NF(u,e);D&&(s?s.children:a).push(D)}}},n.prototype.resize=function(t,e){var a=this._opts,r=this.root,i=this._viewport;if(null!=t&&(a.width=t),null!=e&&(a.height=e),r&&i&&(i.style.display="none",t=mm(r,0,a),e=mm(r,1,a),i.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,i){var o=i.style;o.width=t+"px",o.height=e+"px"}if(A2(this._backgroundColor))this.refresh();else{var s=this._svgDom;s&&(s.setAttribute("width",t),s.setAttribute("height",e));var l=this._bgVNode&&this._bgVNode.elm;l&&(l.setAttribute("width",t),l.setAttribute("height",e))}}},n.prototype.getWidth=function(){return this._width},n.prototype.getHeight=function(){return this._height},n.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},n.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},n.prototype.toDataURL=function(t){var e=this.renderToString(),a="data:image/svg+xml;";return t?(e=wet(e))&&a+"base64,"+e:a+"charset=UTF-8,"+encodeURIComponent(e)},n}();const Flt=Nlt;function OA(n){return null==n?0:n.length||1}function KF(n){return n}var zlt=function(){function n(t,e,a,r,i,o){this._old=t,this._new=e,this._oldKeyGetter=a||KF,this._newKeyGetter=r||KF,this.context=i,this._diffModeMultiple="multiple"===o}return n.prototype.add=function(t){return this._add=t,this},n.prototype.update=function(t){return this._update=t,this},n.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},n.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},n.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},n.prototype.remove=function(t){return this._remove=t,this},n.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},n.prototype._executeOneToOne=function(){var t=this._old,e=this._new,a={},r=new Array(t.length),i=new Array(e.length);this._initIndexMap(t,null,r,"_oldKeyGetter"),this._initIndexMap(e,a,i,"_newKeyGetter");for(var o=0;o<t.length;o++){var s=r[o],l=a[s],c=OA(l);if(c>1){var d=l.shift();1===l.length&&(a[s]=l[0]),this._update&&this._update(d,o)}else 1===c?(a[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(i,a)},n.prototype._executeMultiple=function(){var t=this._old,e=this._new,a={},r={},i=[],o=[];this._initIndexMap(t,a,i,"_oldKeyGetter"),this._initIndexMap(e,r,o,"_newKeyGetter");for(var s=0;s<i.length;s++){var l=i[s],c=a[l],d=r[l],u=OA(c),h=OA(d);if(u>1&&1===h)this._updateManyToOne&&this._updateManyToOne(d,c),r[l]=null;else if(1===u&&h>
vendor: 16,847 bytes, line 1
11)this._updateOneToMany&&this._updateOneToMany(d,c),r[l]=null;else if(1===u&&1===h)this._update&&this._update(d,c),r[l]=null;else if(u>1&&h>1)this._updateManyToMany&&this._updateManyToMany(d,c),r[l]=null;else if(u>1)for(var f=0;f<u;f++)this._remove&&this._remove(c[f]);else this._remove&&this._remove(c)}this._performRestAdd(o,r)},n.prototype._performRestAdd=function(t,e){for(var a=0;a<t.length;a++){var r=t[a],i=e[r],o=OA(i);if(o>1)for(var s=0;s<o;s++)this._add&&this._add(i[s]);else 1===o&&this._add&&this._add(i);e[r]=null}},n.prototype._initIndexMap=function(t,e,a,r){for(var i=this._diffModeMultiple,o=0;o<t.length;o++){var s="_ec_"+this[r](t[o],o);if(i||(a[o]=s),e){var l=e[s],c=OA(l);0===c?(e[s]=o,i&&a.push(s)):1===c?e[s]=[l,o]:l.push(o)}}},n}();const is=zlt;var Elt=function(){function n(t,e){this._encode=t,this._schema=e}return n.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},n.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},n}();function tT(n,t){return n.hasOwnProperty(t)||(n[t]=[]),n[t]}function px(n){return"category"===n?"ordinal":"time"===n?"time":"float"}const hx=function n(t){this.otherDims={},null!=t&&ft(this,t)};var jlt=_e(),Glt={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},WF=function(){function n(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return n.prototype.isDimensionOmitted=function(){return this._dimOmitted},n.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=XF(this.source)))},n.prototype.getSourceDimensionIndex=function(t){return ie(this._dimNameMap.get(t),-1)},n.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},n.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=E5(this.source),a=!YF(t),r="",i=[],o=0,s=0;o<t;o++){var l=void 0,c=void 0,d=void 0,u=this.dimensions[s];if(u&&u.storeDimIndex===o)l=e?u.name:null,c=u.type,d=u.ordinalMeta,s++;else{var h=this.getSourceDimension(o);h&&(l=e?h.name:null,c=h.type)}i.push({property:l,type:c,ordinalMeta:d}),e&&null!=l&&(!u||!u.isCalculationCoord)&&(r+=a?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),r+="$",r+=Glt[c]||"f",d&&(r+=d.uid),r+="$"}var f=this.source;return{dimensions:i,hash:[f.seriesLayoutBy,f.startIndex,r].join("$$")}},n.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,a=0;e<this._fullDimCount;e++){var r=void 0,i=this.dimensions[a];if(i&&i.storeDimIndex===e)i.isCalculationCoord||(r=i.name),a++;else{var o=this.getSourceDimension(e);o&&(r=o.name)}t.push(r)}return t},n.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},n}();function JF(n){return n instanceof WF}function ZF(n){for(var t=Et(),e=0;e<(n||[]).length;e++){var a=n[e],r=Xt(a)?a.name:a;null!=r&&null==t.get(r)&&t.set(r,e)}return t}function XF(n){var t=jlt(n);return t.dimNameMap||(t.dimNameMap=ZF(n.dimensionsDefine))}function YF(n){return n>30}var $F,mx,LA,NA,eT,UA,nT,RA=Xt,Ol=At,Klt=typeof Int32Array>"u"?Array:Int32Array,Jlt=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Zlt=["_approximateExtent"],Xlt=function(){function n(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var a,r=!1;JF(t)?(a=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(r=!0,a=t),a=a||["x","y"];for(var i={},o=[],s={},l=!1,c={},d=0;d<a.length;d++){var u=a[d],h=Lt(u)?new hx({name:u}):u instanceof hx?u:new hx(u),f=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=f,h.coordDimIndex=0);var v=h.otherDims=h.otherDims||{};o.push(f),i[f]=h,null!=c[f]&&(l=!0),h.createInvertedIndices&&(s[f]=[]),0===v.itemName&&(this._nameDimIdx=d),0===v.itemId&&(this._idDimIdx=d),r&&(h.storeDimIndex=d)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(l),this.hostModel=e,this._invertedIndicesMap=s,this._dimOmitted){var A=this._dimIdxToName=Et();q(o,function(b){A.set(i[b].storeDimIndex,b)})}}return n.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var a=this._dimIdxToName.get(e);if(null!=a)return a;var r=this._schema.getSourceDimension(e);return r?r.name:void 0},n.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var a=this._getDimInfo(t);return a?a.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},n.prototype._recognizeDimIndex=function(t){if(ke(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},n.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},n.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},n.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(a){return e.hasOwnProperty(a)?e[a]:void 0}:function(a){return e[a]}},n.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},n.prototype.mapDimension=function(t,e){var a=this._dimSummary;if(null==e)return a.encodeFirstDimNotExtra[t];var r=a.encode[t];return r?r[e]:null},n.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},n.prototype.getStore=function(){return this._store},n.prototype.initData=function(t,e,a){var i,r=this;if(t instanceof QC&&(i=t),!i){var o=this.dimensions,s=jC(t)||_a(t)?new B5(t,o.length):t;i=new QC;var l=Ol(o,function(c){return{type:r._dimInfos[c].type,property:c}});i.initData(s,l,a)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=function qlt(n,t){var e={},a=e.encode={},r=Et(),i=[],o=[],s={};q(n.dimensions,function(h){var f=n.getDimensionInfo(h),v=f.coordDim;if(v){var A=f.coordDimIndex;tT(a,v)[A]=h,f.isExtraCoord||(r.set(v,1),function Hlt(n){return!("ordinal"===n||"time"===n)}(f.type)&&(i[0]=h),tT(s,v)[A]=n.getDimensionIndex(f.name)),f.defaultTooltip&&o.push(h)}h5.each(function(b,x){var S=tT(a,x),k=f.otherDims[x];null!=k&&!1!==k&&(S[k]=f.name)})});var l=[],c={};r.each(function(h,f){var v=a[f];c[f]=v[0],l=l.concat(v)}),e.dataDimsOnCoord=l,e.dataDimIndicesOnCoord=At(l,function(h){return n.getDimensionInfo(h).storeDimIndex}),e.encodeFirstDimNotExtra=c;var d=a.label;d&&d.length&&(i=d.slice());var u=a.tooltip;return u&&u.length?o=u.slice():o.length||(o=i.slice()),a.defaultedLabel=i,a.defaultedTooltip=o,e.userOutput=new Elt(s,t),e}(this,this._schema),this.userOutput=this._dimSummary.userOutput},n.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},n.prototype.appendValues=function(t,e){var a=this._store.appendValues(t,e&&e.length),r=a.start,i=a.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var s=r;s<i;s++){var l=s-r;this._nameList[s]=e[l],o&&nT(this,s)}},n.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,a=0;a<e.length;a++){var r=this._dimInfos[e[a]];r.ordinalMeta&&t.collectOrdinalMeta(r.storeDimIndex,r.ordinalMeta)}},n.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==as&&!t.fillStorage},n.prototype._doInit=function(t,e){if(!(t>=e)){var r=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList;if(r.getSource().sourceFormat===Lr&&!r.pure)for(var c=[],d=t;d<e;d++){var u=r.getItem(d,c);if(!this.hasItemOption&&ont(u)&&(this.hasItemOption=!0),u){var h=u.name;null==i[d]&&null!=h&&(i[d]=zn(h,null));var f=u.id;null==o[d]&&null!=f&&(o[d]=zn(f,null))}}if(this._shouldMakeIdFromName())for(d=t;d<e;d++)nT(this,d);$F(this)}},n.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},n.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},n.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},n.prototype.setCalculationInfo=function(t,e){RA(t)?ft(this._calculationInfo,t):this._calculationInfo[t]=e},n.prototype.getName=function(t){var e=this.getRawIndex(t),a=this._nameList[e];return null==a&&null!=this._nameDimIdx&&(a=LA(this,this._nameDimIdx,e)),null==a&&(a=""),a},n.prototype._getCategory=function(t,e){var a=this._store.get(t,e),r=this._store.getOrdinalMeta(t);return r?r.categories[a]:a},n.prototype.getId=function(t){return mx(this,this.getRawIndex(t))},n.prototype.count=function(){return this._store.count()},n.prototype.get=function(t,e){var a=this._store,r=this._dimInfos[t];if(r)return a.get(r.storeDimIndex,e)},n.prototype.getByRawIndex=function(t,e){var a=this._store,r=this._dimInfos[t];if(r)return a.getByRawIndex(r.storeDimIndex,e)},n.prototype.getIndices=function(){return this._store.getIndices()},n.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},n.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},n.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},n.prototype.getValues=function(t,e){var a=this,r=this._store;return vt(t)?r.getValues(Ol(t,function(i){return a._getStoreDimIndex(i)}),e):r.getValues(t)},n.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,a=0,r=e.length;a<r;a++)if(isNaN(this._store.get(e[a],t)))return!1;return!0},n.prototype.indexOfName=function(t){for(var e=0,a=this._store.count();e<a;e++)if(this.getName(e)===t)return e;return-1},n.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},n.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},n.prototype.rawIndexOf=function(t,e){var a=t&&this._invertedIndicesMap[t],r=a&&a[e];return null==r||isNaN(r)?-1:r},n.prototype.indicesOfNearest=function(t,e,a){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,a)},n.prototype.each=function(t,e,a){jt(t)&&(a=e,e=t,t=[]);var r=a||this,i=Ol(NA(t),this._getStoreDimIndex,this);this._store.each(i,r?Ut(e,r):e)},n.prototype.filterSelf=function(t,e,a){jt(t)&&(a=e,e=t,t=[]);var r=a||this,i=Ol(NA(t),this._getStoreDimIndex,this);return this._store=this._store.filter(i,r?Ut(e,r):e),this},n.prototype.selectRange=function(t){var e=this,a={},r=ve(t),i=[];return q(r,function(o){var s=e._getStoreDimIndex(o);a[s]=t[o],i.push(s)}),this._store=this._store.selectRange(a),this},n.prototype.mapArray=function(t,e,a){jt(t)&&(a=e,e=t,t=[]),a=a||this;var r=[];return this.each(t,function(){r.push(e&&e.apply(this,arguments))},a),r},n.prototype.map=function(t,e,a,r){var i=a||r||this,o=Ol(NA(t),this._getStoreDimIndex,this),s=UA(this);return s._store=this._store.map(o,i?Ut(e,i):e),s},n.prototype.modify=function(t,e,a,r){var o=a||r||this,s=Ol(NA(t),this._getStoreDimIndex,this);this._store.modify(s,o?Ut(e,o):e)},n.prototype.downSample=function(t,e,a,r){var i=UA(this);return i._store=this._store.downSample(this._getStoreDimIndex(t),e,a,r),i},n.prototype.minmaxDownSample=function(t,e){var a=UA(this);return a._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),a},n.prototype.lttbDownSample=function(t,e){var a=UA(this);return a._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),a},n.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},n.prototype.getItemModel=function(t){var e=this.hostModel,a=this.getRawDataItem(t);return new en(a,e,e&&e.ecModel)},n.prototype.diff=function(t){var e=this;return new is(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(a){return mx(t,a)},function(a){return mx(e,a)})},n.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},n.prototype.setVisual=function(t,e){this._visual=this._visual||{},RA(t)?ft(this._visual,t):this._visual[t]=e},n.prototype.getItemVisual=function(t,e){var a=this._itemVisuals[t];return(a&&a[e])??this.getVisual(e)},n.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},n.prototype.ensureUniqueItemVisual=function(t,e){var a=this._itemVisuals,r=a[t];r||(r=a[t]={});var i=r[e];return null==i&&(vt(i=this.getVisual(e))?i=i.slice():RA(i)&&(i=ft({},i)),r[e]=i),i},n.prototype.setItemVisual=function(t,e,a){var r=this._itemVisuals[t]||{};this._itemVisuals[t]=r,RA(e)?ft(r,e):r[e]=a},n.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},n.prototype.setLayout=function(t,e){RA(t)?ft(this._layout,t):this._layout[t]=e},n.prototype.getLayout=function(t){return this._layout[t]},n.prototype.getItemLayout=function(t){return this._itemLayouts[t]},n.prototype.setItemLayout=function(t,e,a){this._itemLayouts[t]=a?ft(this._itemLayouts[t]||{},e):e},n.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},n.prototype.setItemGraphicEl=function(t,e){var a=this.hostModel&&this.hostModel.seriesIndex;dC(a,this.dataType,t,e),this._graphicEls[t]=e},n.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},n.prototype.eachItemGraphicEl=function(t,e){q(this._graphicEls,function(a,r){a&&t&&t.call(e,a,r)})},n.prototype.cloneShallow=function(t){return t||(t=new n(this._schema?this._schema:Ol(this.dimensions,this._getDimInfo,this),this.hostModel)),eT(t,this),t._store=this._store,t},n.prototype.wrapMethod=function(t,e){var a=this[t];!jt(a)||(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var r=a.apply(this,arguments);return e.apply(this,[r].concat(qk(arguments)))})},n.internalField=($F=function(t){var e=t._invertedIndicesMap;q(e,function(a,r){var i=t._dimInfos[r],o=i.ordinalMeta,s=t._store;if(o){a=e[r]=new Klt(o.categories.length);for(var l=0;l<a.length;l++)a[l]=-1;for(l=0;l<s.count();l++)a[s.get(i.storeDimIndex,l)]=l}})},LA=function(t,e,a){return zn(t._getCategory(e,a),null)},mx=function(t,e){var a=t._idList[e];return null==a&&null!=t._idDimIdx&&(a=LA(t,t._idDimIdx,e)),null==a&&(a="e\0\0"+e),a},NA=function(t){return vt(t)||(t=null!=t?[t]:[]),t},UA=function(t){var e=new n(t._schema?t._schema:Ol(t.dimensions,t._getDimInfo,t),t.hostModel);return eT(e,t),e},eT=function(t,e){q(Jlt.concat(e.__wrappedMethods||[]),function(a){e.hasOwnProperty(a)&&(t[a]=e[a])}),t.__wrappedMethods=e.__wrappedMethods,q(Zlt,function(a){t[a]=Yt(e[a])}),t._calculationInfo=ft({},e._calculationInfo)},void(nT=function(t,e){var a=t._nameList,r=t._idList,i=t._nameDimIdx,o=t._idDimIdx,s=a[e],l=r[e];if(null==s&&null!=i&&(a[e]=s=LA(t,i,e)),null==l&&null!=o&&(r[e]=l=LA(t,o,e)),null==l&&null!=s){var c=t._nameRepeatCount,d=c[s]=(c[s]||0)+1;l=s,d>1&&(l+="__ec__"+d),r[e]=l}})),n}();const Va=Xlt;function Am(n,t){jC(n)||(n=KC(n));var e=(t=t||{}).coordDimensions||[],a=t.dimensionsDefine||n.dimensionsDefine||[],r=Et(),i=[],o=function Qlt(n,t,e,a){var r=Math.max(n.dimensionsDetectedCount||1,t.length,e.length,a||0);return q(t,function(i){var o;Xt(i)&&(o=i.dimsDef)&&(r=Math.max(r,o.length))}),r}(n,e,a,t.dimensionsCount),s=t.canOmitUnusedDimensions&&YF(o),l=a===n.dimensionsDefine,c=l?XF(n):ZF(a),d=t.encodeDefine;!d&&t.encodeDefaulter&&(d=t.encodeDefaulter(n,o));for(var u=Et(d),h=new nN(o),f=0;f<h.length;f++)h[f]=-1;function v(U){var z=h[U];if(z<0){var B=a[U],K=Xt(B)?B:{name:B},W=new hx,Z=K.name;null!=Z&&null!=c.get(Z)&&(W.name=W.displayName=Z),null!=K.type&&(W.type=K.type),null!=K.displayName&&(W.displayName=K.displayName);var X=i.length;return h[U]=X,W.storeDimIndex=U,i.push(W),W}return i[z]}if(!s)for(f=0;f<o;f++)v(f);u.each(function(U,z){var B=Be(U).slice();if(1===B.length&&!Lt(B[0])&&B[0]<0)u.set(z,!1);else{var K=u.set(z,[]);q(B,function(W,Z){var X=Lt(W)?c.get(W):W;null!=X&&X<o&&(K[Z]=X,b(v(X),z,Z))})}});var A=0;function b(U,z,B){null!=h5.get(z)?U.otherDims[z]=B:(U.coordDim=z,U.coordDimIndex=B,r.set(z,!0))}q(e,function(U){var z,B,K,W;if(Lt(U))z=U,W={};else{z=(W=U).name;var Z=W.ordinalMeta;W.ordinalMeta=null,(W=ft({},W)).ordinalMeta=Z,B=W.dimsDef,K=W.otherDims,W.name=W.coordDim=W.coordDimIndex=W.dimsDef=W.otherDims=null}var X=u.get(z);if(!1!==X){if(!(X=Be(X)).length)for(var tt=0;tt<(B&&B.length||1);tt++){for(;A<o&&null!=v(A).coordDim;)A++;A<o&&X.push(A++)}q(X,function(rt,ot){var st=v(rt);
1if(l&&null!=W.type&&(st.type=W.type),b(Kt(st,W),z,ot),null==st.name&&B){var gt=B[ot];!Xt(gt)&&(gt={name:gt}),st.name=st.displayName=gt.name,st.defaultTooltip=gt.defaultTooltip}K&&Kt(st.otherDims,K)})}});var x=t.generateCoord,S=t.generateCoordCount,k=null!=S;S=x?S||1:0;var D=x||"value";function I(U){null==U.name&&(U.name=U.coordDim)}if(s)q(i,function(U){I(U)}),i.sort(function(U,z){return U.storeDimIndex-z.storeDimIndex});else for(var M=0;M<o;M++){var R=v(M);null==R.coordDim&&(R.coordDim=$lt(D,r,k),R.coordDimIndex=0,(!x||S<=0)&&(R.isExtraCoord=!0),S--),I(R),null==R.type&&(v5(n,M)===ua_Must||R.isExtraCoord&&(null!=R.otherDims.itemName||null!=R.otherDims.seriesName))&&(R.type="ordinal")}return function Ylt(n){for(var t=Et(),e=0;e<n.length;e++){var a=n[e],r=a.name,i=t.get(r)||0;i>0&&(a.name=r+(i-1)),i++,t.set(r,i)}}(i),new WF({source:n,dimensions:i,fullDimensionCount:o,dimensionOmitted:s})}function $lt(n,t,e){if(e||t.hasKey(n)){for(var a=0;t.hasKey(n+a);)a++;n+=a}return t.set(n,!0),n}var tct=function n(t){this.coordSysDims=[],this.axisMap=Et(),this.categoryAxisMap=Et(),this.coordSysName=t};var nct={cartesian2d:function(n,t,e,a){var r=n.getReferringComponents("xAxis",On).models[0],i=n.getReferringComponents("yAxis",On).models[0];t.coordSysDims=["x","y"],e.set("x",r),e.set("y",i),ym(r)&&(a.set("x",r),t.firstCategoryDimIndex=0),ym(i)&&(a.set("y",i),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},singleAxis:function(n,t,e,a){var r=n.getReferringComponents("singleAxis",On).models[0];t.coordSysDims=["single"],e.set("single",r),ym(r)&&(a.set("single",r),t.firstCategoryDimIndex=0)},polar:function(n,t,e,a){var r=n.getReferringComponents("polar",On).models[0],i=r.findAxisModel("radiusAxis"),o=r.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],e.set("radius",i),e.set("angle",o),ym(i)&&(a.set("radius",i),t.firstCategoryDimIndex=0),ym(o)&&(a.set("angle",o),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(n,t,e,a){t.coordSysDims=["lng","lat"]},parallel:function(n,t,e,a){var r=n.ecModel,i=r.getComponent("parallel",n.get("parallelIndex")),o=t.coordSysDims=i.dimensions.slice();q(i.parallelAxisIndex,function(s,l){var c=r.getComponent("parallelAxis",s),d=o[l];e.set(d,c),ym(c)&&(a.set(d,c),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=l))})}};function ym(n){return"category"===n.get("type")}function act(n,t,e){var i,o,s,a=(e=e||{}).byIndex,r=e.stackedCoordDimension;!function rct(n){return!JF(n.schema)}(t)?(o=t.schema,i=o.dimensions,s=t.store):i=t;var c,d,u,h,l=!(!n||!n.get("stack"));if(q(i,function(S,k){Lt(S)&&(i[k]=S={name:S}),l&&!S.isExtraCoord&&(!a&&!c&&S.ordinalMeta&&(c=S),!d&&"ordinal"!==S.type&&"time"!==S.type&&(!r||r===S.coordDim)&&(d=S))}),d&&!a&&!c&&(a=!0),d){u="__\0ecstackresult_"+n.id,h="__\0ecstackedover_"+n.id,c&&(c.createInvertedIndices=!0);var f=d.coordDim,v=d.type,A=0;q(i,function(S){S.coordDim===f&&A++});var b={name:u,coordDim:f,coordDimIndex:A,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},x={name:h,coordDim:h,coordDimIndex:A+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};o?(s&&(b.storeDimIndex=s.ensureCalculationDimension(h,v),x.storeDimIndex=s.ensureCalculationDimension(u,v)),o.appendCalculationDimension(b),o.appendCalculationDimension(x)):(i.push(b),i.push(x))}return{stackedDimension:d&&d.name,stackedByDimension:c&&c.name,isStackedByIndex:a,stackedOverDimension:h,stackResultDimension:u}}function Rl(n,t){return!!t&&t===n.getCalculationInfo("stackedDimension")}function t6(n,t){return Rl(n,t)?n.getCalculationInfo("stackResultDimension"):t}const os=function sct(n,t,e){e=e||{};var r,a=t.getSourceManager(),i=!1;n?(i=!0,r=KC(n)):i=(r=a.getSource()).sourceFormat===Lr;var o=function ect(n){var t=n.get("coordinateSystem"),e=new tct(t),a=nct[t];if(a)return a(n,e,e.axisMap,e.categoryAxisMap),e}(t),s=function ict(n,t){var r,e=n.get("coordinateSystem"),a=sA.get(e);return t&&t.coordSysDims&&(r=At(t.coordSysDims,function(i){var o={name:i},s=t.axisMap.get(i);if(s){var l=s.get("type");o.type=px(l)}return o})),r||(r=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]),r}
vendor: 5,964 bytes, line 1
1(t,o),l=e.useEncodeDefaulter,c=jt(l)?l:l?se(g5,s,t):null,u=Am(r,{coordDimensions:s,generateCoord:e.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:c,canOmitUnusedDimensions:!i}),h=function oct(n,t,e){var a,r;return e&&q(n,function(i,o){var s=i.coordDim,l=e.categoryAxisMap.get(s);l&&(null==a&&(a=o),i.ordinalMeta=l.getOrdinalMeta(),t&&(i.createInvertedIndices=!0)),null!=i.otherDims.itemName&&(r=!0)}),!r&&null!=a&&(n[a].otherDims.itemName=0),a}(u.dimensions,e.createInvertedIndices,o),f=i?null:a.getSharedDataStore(u),v=act(t,{schema:u,store:f}),A=new Va(u,t);A.setCalculationInfo(v);var b=null!=h&&function lct(n){if(n.sourceFormat===Lr){var t=function cct(n){for(var t=0;t<n.length&&null==n[t];)t++;return n[t]}(n.data||[]);return!vt(Hh(t))}}(r)?function(x,S,k,D){return D===h?k:this.defaultDimValueGetter(x,S,k,D)}:null;return A.hasItemOption=!1,A.initData(i?r:f,null,b),A};var dct=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return pt(t,n),t.prototype.getInitialData=function(e){return os(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var a=new te,r=Ln("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);a.add(r),r.setStyle(e.lineStyle);var i=this.getData().getVisual("symbol"),o=this.getData().getVisual("symbolRotate"),s="none"===i?"circle":i,l=.8*e.itemHeight,c=Ln(s,(e.itemWidth-l)/2,(e.itemHeight-l)/2,l,l,e.itemStyle.fill);a.add(c),c.setStyle(e.itemStyle);var d="inherit"===e.iconRotate?o:e.iconRotate||0;return c.rotation=d*Math.PI/180,c.setOrigin([e.itemWidth/2,e.itemHeight/2]),s.indexOf("empty")>-1&&(c.style.stroke=c.style.fill,c.style.fill="#fff",c.style.lineWidth=2),a},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(hn);const uct=dct;function bm(n,t){var e=n.mapDimensionsAll("defaultedLabel"),a=e.length;if(1===a){var r=rm(n,t,e[0]);return null!=r?r+"":null}if(a){for(var i=[],o=0;o<e.length;o++)i.push(rm(n,t,e[o]));return i.join(" ")}}function e6(n,t){var e=n.mapDimensionsAll("defaultedLabel");if(!vt(t))return t+"";for(var a=[],r=0;r<e.length;r++){var i=n.getDimensionIndex(e[r]);i>=0&&a.push(t[i])}return a.join(" ")}var pct=function(n){function t(e,a,r,i){var o=n.call(this)||this;return o.updateData(e,a,r,i),o}return pt(t,n),t.prototype._createSymbol=function(e,a,r,i,o){this.removeAll();var s=Ln(e,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),s.drift=hct,this._symbolType=e,this.add(s)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){es(this.childAt(0))},t.prototype.downplay=function(){ns(this.childAt(0))},t.prototype.setZ=function(e,a){var r=this.childAt(0);r.zlevel=e,r.z=a},t.prototype.setDraggable=function(e,a){var r=this.childAt(0);r.draggable=e,r.cursor=!a&&e?"move":r.cursor},t.prototype.updateData=function(e,a,r,i){this.silent=!1;var o=e.getItemVisual(a,"symbol")||"circle",s=e.hostModel,l=t.getSymbolSize(e,a),c=o!==this._symbolType,d=i&&i.disableAnimation;if(c){var u=e.getItemVisual(a,"symbolKeepAspect");this._createSymbol(o,e,a,l,u)}else{(h=this.childAt(0)).silent=!1;var f={scaleX:l[0]/2,scaleY:l[1]/2};d?h.attr(f):Te(h,f,s,a),oi(h)}if(this._updateCommon(e,a,l,r,i),c){var h=this.childAt(0);if(!d){f={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,dn(h,f,s,a)}}d&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,a,r,i,o){var c,d,u,h,f,v,A,b,x,s=this.childAt(0),l=e.hostModel;if(i&&(c=i.emphasisItemStyle,d=i.blurItemStyle,u=i.selectItemStyle,h=i.focus,f=i.blurScope,A=i.labelStatesModels,b=i.hoverScale,x=i.cursorStyle,v=i.emphasisDisabled),!i||e.hasItemOption){var S=i&&i.itemModel?i.itemModel:e.getItemModel(a),k=S.getModel("emphasis");c=k.getModel("itemStyle").getItemStyle(),u=S.getModel(["select","itemStyle"]).getItemStyle(),d=S.getModel(["blur","itemStyle"]).getItemStyle(),h=k.get("focus"),f=k.get("blurScope"),v=k.get("disabled"),A=Kn(S),b=k.getShallow("scale"),x=S.getShallow("cursor")}var D=e.getItemVisual(a,"symbolRotate");s.attr("rotation",(D||0)*Math.PI/180||0);var I=Fd(e.getItemVisual(a,"symbolOffset"),r);I&&(s.x=I[0],s.y=I[1]),x&&s.attr("cursor",x);var M=e.getItemVisual(a,"style"),R=M.fill;if(s instanceof la){var N=s.style;s.useStyle(ft({image:N.image,x:N.x,y:N.y,width:N.width,height:N.height},M))}else s.__isEmptyBrush?s.useStyle(ft({},M)):s.useStyle(M),s.style.decal=null,s.setColor(R,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var U=e.getItemVisual(a,"liftZ"),z=this._z2;null!=U?null==z&&(this._z2=s.z2,s.z2+=U):null!=z&&(s.z2=z,this._z2=null);var B=o&&o.useNameLabel;da(s,A,{labelFetcher:l,labelDataIndex:a,defaultText:function K(X){return B?e.getName(X):bm(e,X)},inheritColor:R,defaultOpacity:M.opacity}),this._sizeX=r[0]/2,this._sizeY=r[1]/2;var W=s.ensureState("emphasis");W.style=c,s.ensureState("select").style=u,s.ensureState("blur").style=d;var Z=null==b||!0===b?Math.max(1.1,3/this._sizeY):isFinite(b)&&b>0?+b:1;W.scaleX=this._sizeX*Z,W.scaleY=this._sizeY*Z,this.setSymbolScale(1),An(this,h,f,v)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,a,r){var i=this.childAt(0),o=ee(this).dataIndex,s=r&&r.animation;if(this.silent=i.silent=!0,r&&r.fadeLabel){var l=i.getTextContent();l&&Sl(l,{style:{opacity:0}
vendor: 11,345 bytes, line 1
1},a,{dataIndex:o,removeOpt:s,cb:function(){i.removeTextContent()}})}else i.removeTextContent();Sl(i,{style:{opacity:0},scaleX:0,scaleY:0},a,{dataIndex:o,cb:e,removeOpt:s})},t.getSymbolSize=function(e,a){return hm(e.getItemVisual(a,"symbolSize"))},t}(te);function hct(n,t){this.parent.drift(n,t)}const FA=pct;function aT(n,t,e,a){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(a.isIgnore&&a.isIgnore(e))&&!(a.clipShape&&!a.clipShape.contain(t[0],t[1]))&&"none"!==n.getItemVisual(e,"symbol")}function n6(n){return null!=n&&!Xt(n)&&(n={isIgnore:n}),n||{}}function a6(n){var t=n.hostModel,e=t.getModel("emphasis");return{emphasisItemStyle:e.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:e.get("focus"),blurScope:e.get("blurScope"),emphasisDisabled:e.get("disabled"),hoverScale:e.get("scale"),labelStatesModels:Kn(t),cursorStyle:t.get("cursor")}}var mct=function(){function n(t){this.group=new te,this._SymbolCtor=t||FA}return n.prototype.updateData=function(t,e){this._progressiveEls=null,e=n6(e);var a=this.group,r=t.hostModel,i=this._data,o=this._SymbolCtor,s=e.disableAnimation,l=a6(t),c={disableAnimation:s},d=e.getSymbolPoint||function(u){return t.getItemLayout(u)};i||a.removeAll(),t.diff(i).add(function(u){var h=d(u);if(aT(t,h,u,e)){var f=new o(t,u,l,c);f.setPosition(h),t.setItemGraphicEl(u,f),a.add(f)}}).update(function(u,h){var f=i.getItemGraphicEl(h),v=d(u);if(aT(t,v,u,e)){var A=t.getItemVisual(u,"symbol")||"circle",b=f&&f.getSymbolType&&f.getSymbolType();if(!f||b&&b!==A)a.remove(f),(f=new o(t,u,l,c)).setPosition(v);else{f.updateData(t,u,l,c);var x={x:v[0],y:v[1]};s?f.attr(x):Te(f,x,r)}a.add(f),t.setItemGraphicEl(u,f)}else a.remove(f)}).remove(function(u){var h=i.getItemGraphicEl(u);h&&h.fadeOut(function(){a.remove(h)},r)}).execute(),this._getSymbolPoint=d,this._data=t},n.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(a,r){var i=t._getSymbolPoint(r);a.setPosition(i),a.markRedraw()})},n.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=a6(t),this._data=null,this.group.removeAll()},n.prototype.incrementalUpdate=function(t,e,a){function r(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],a=n6(a);for(var i=t.start;i<t.end;i++){var o=e.getItemLayout(i);if(aT(e,o,i,a)){var s=new this._SymbolCtor(e,i,this._seriesScope);s.traverse(r),s.setPosition(o),this.group.add(s),e.setItemGraphicEl(i,s),this._progressiveEls.push(s)}}},n.prototype.eachRendered=function(t){Il(this._progressiveEls||this.group,t)},n.prototype.remove=function(t){var e=this.group,a=this._data;a&&t?a.eachItemGraphicEl(function(r){r.fadeOut(function(){e.remove(r)},a.hostModel)}):e.removeAll()},n}();const VA=mct;function r6(n,t,e){var a=n.getBaseAxis(),r=n.getOtherAxis(a),i=function fct(n,t){var e=0,a=n.scale.getExtent();return"start"===t?e=a[0]:"end"===t?e=a[1]:ke(t)&&!isNaN(t)?e=t:a[0]>0?e=a[0]:a[1]<0&&(e=a[1]),e}(r,e),o=a.dim,s=r.dim,l=t.mapDimension(s),c=t.mapDimension(o),d="x"===s||"radius"===s?1:0,u=At(n.dimensions,function(v){return t.mapDimension(v)}),h=!1,f=t.getCalculationInfo("stackResultDimension");return Rl(t,u[0])&&(h=!0,u[0]=f),Rl(t,u[1])&&(h=!0,u[1]=f),{dataDimsForPoint:u,valueStart:i,valueAxisDim:s,baseAxisDim:o,stacked:!!h,valueDim:l,baseDim:c,baseDataOffset:d,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function i6(n,t,e,a){var r=NaN;n.stacked&&(r=e.get(e.getCalculationInfo("stackedOverDimension"),a)),isNaN(r)&&(r=n.valueStart);var i=n.baseDataOffset,o=[];return o[i]=e.get(n.baseDim,a),o[1-i]=r,t.dataToPoint(o)}var o6=typeof Float32Array<"u",gct=o6?Float32Array:Array;function to(n){return vt(n)?o6?new Float32Array(n):n:new gct(n)}var Ll=Math.min,Nl=Math.max;function Wd(n,t){return isNaN(n)||isNaN(t)}function rT(n,t,e,a,r,i,o,s,l){for(var c,d,u,h,f,v,A=e,b=0;b<a;b++){var x=t[2*A],S=t[2*A+1];if(A>=r||A<0)break;if(Wd(x,S)){if(l){A+=i;continue}break}if(A===e)n[i>0?"moveTo":"lineTo"](x,S),u=x,h=S;else{var k=x-c,D=S-d;if(k*k+D*D<.5){A+=i;continue}if(o>0){for(var I=A+i,M=t[2*I],R=t[2*I+1];M===x&&R===S&&b<a;)b++,A+=i,M=t[2*(I+=i)],R=t[2*I+1],k=(x=t[2*A])-c,D=(S=t[2*A+1])-d;var N=b+1;if(l)for(;Wd(M,R)&&N<a;)N++,M=t[2*(I+=i)],R=t[2*I+1];var U=.5,z=0,B=0,K=void 0,W=void 0;if(N>=a||Wd(M,R))f=x,v=S;else{z=M-c,B=R-d;var Z=x-c,X=M-x,tt=S-d,rt=R-S,ot=void 0,st=void 0;if("x"===s){var gt=z>0?1:-1;f=x-gt*(ot=Math.abs(Z))*o,v=S,K=x+gt*(st=Math.abs(X))*o,W=S}else if("y"===s){var _t=B>0?1:-1;f=x,v=S-_t*(ot=Math.abs(tt))*o,K=x,W=S+_t*(st=Math.abs(rt))*o}else ot=Math.sqrt(Z*Z+tt*tt),f=x-z*o*(1-(U=(st=Math.sqrt(X*X+rt*rt))/(st+ot))),v=S-B*o*(1-U),W=S+B*o*U,K=Ll(K=x+z*o*U,Nl(M,x)),W=Ll(W,Nl(R,S)),K=Nl(K,Ll(M,x)),v=S-(B=(W=Nl(W,Ll(R,S)))-S)*ot/st,f=Ll(f=x-(z=K-x)*ot/st,Nl(c,x)),v=Ll(v,Nl(d,S)),K=x+(z=x-(f=Nl(f,Ll(c,x))))*st/ot,W=S+(B=S-(v=Nl(v,Ll(d,S))))*st/ot}n.bezierCurveTo(u,h,f,v,x,S),u=K,h=W}else n.lineTo(x,S)}c=x,d=S,A+=i}return b}var s6=function n(){this.smooth=0,this.smoothConstraint=!0},yct=function(n){function t(e){var a=n.call(this,e)||this;return a.type="ec-polyline",a}return pt(t,n),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new s6},t.prototype.buildPath=function(e,a){var r=a.points,i=0,o=r.length/2;if(a.connectNulls){for(;o>0&&Wd(r[2*o-2],r[2*o-1]);o--);for(;i<o&&Wd(r[2*i],r[2*i+1]);i++);}for(;i<o;)i+=rT(e,r,i,o,o,1,a.smooth,a.smoothMonotone,a.connectNulls)+1},t.prototype.getPointOn=function(e,a){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var s,l,i=this.path.data,o=Ki.CMD,c="x"===a,d=[],u=0;u<i.length;){var f=void 0,v=void 0,A=void 0,b=void 0,x=void 0,S=void 0,k=void 0;switch(i[u++]){case o.M:s=i[u++],l=i[u++];break;case o.L:if(f=i[u++],v=i[u++],(k=c?(e-s)/(f-s):(e-l)/(v-l))<=1&&k>=0){var D=c?(v-l)*k+l:(f-s)*k+s;return c?[e,D]:[D,e]}s=f,l=v;break;case o.C:f=i[u++],v=i[u++],A=i[u++],b=i[u++],x=i[u++],S=i[u++];var I=c?N0(s,f,A,x,e,d):N0(l,v,b,S,e,d);if(I>0)for(var M=0;M<I;M++){var R=d[M];if(R<=1&&R>=0){D=c?Gn(l,v,b,S,R):Gn(s,f,A,x,R);return c?[e,D]:[D,e]}}s=x,l=S}}},t}(fe),bct=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t}(s6),l6=function(n){function t(e){var a=n.call(this,e)||this;return a.type="ec-polygon",a}return pt(t,n),t.prototype.getDefaultShape=function(){return new bct},t.prototype.buildPath=function(e,a){var r=a.points,i=a.stackedOnPoints,o=0,s=r.length/2,l=a.smoothMonotone;if(a.connectNulls){for(;s>0&&Wd(r[2*s-2],r[2*s-1]);s--);for(;o<s&&Wd(r[2*o],r[2*o+1]);o++);}for(;o<s;){var c=rT(e,r,o,s,s,1,a.smooth,l,a.connectNulls);rT(e,i,o+c-1,c,s,-1,a.stackedOnSmooth,l,a.connectNulls),o+=c+1,e.closePath()}},t}(fe);function c6(n,t,e,a,r){var i=n.getArea(),o=i.x,s=i.y,l=i.width,c=i.height,d=e.get(["lineStyle","width"])||0;o-=d/2,s-=d/2,l+=d,c+=d,l=Math.ceil(l),o!==Math.floor(o)&&(o=Math.floor(o),l++);var u=new Se({shape:{x:o,y:s,width:l,height:c}});if(t){var h=n.getBaseAxis(),f=h.isHorizontal(),v=h.inverse;f?(v&&(u.shape.x+=l),u.shape.width=0):(v||(u.shape.y+=c),u.shape.height=0);var A=jt(r)?function(b){r(b,u)}:null;dn(u,{shape:{width:l,height:c,x:o,y:s}},e,null,a,A)}return u}function d6(n,t,e){var a=n.getArea(),r=wn(a.r0,1),i=wn(a.r,1),o=new tr({shape:{cx:wn(n.cx,1),cy:wn(n.cy,1),r0:r,r:i,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});t&&("angle"===n.getBaseAxis().dim?o.shape.endAngle=a.startAngle:o.shape.r=r,dn(o,{shape:{endAngle:a.endAngle,r:i}},e));return o}function zA(n,t,e,a,r){return n?"polar"===n.type?d6(n,t,e):"cartesian2d"===n.type?c6(n,t,e,a,r):null:null}function Jd(n,t){return n.type===t}function u6(n,t){if(n.length===t.length){for(var e=0;e<n.length;e++)if(n[e]!==t[e])return;return!0}}function p6(n){for(var t=1/0,e=1/0,a=-1/0,r=-1/0,i=0;i<n.length;){var o=n[i++],s=n[i++];isNaN(o)||(t=Math.min(o,t),a=Math.max(o,a)),isNaN(s)||(e=Math.min(s,e),r=Math.max(s,r))}return[[t,e],[a,r]]}function h6(n,t){var e=p6(n),a=e[0],r=e[1],i=p6(t),o=i[0],s=i[1];return Math.max(Math.abs(a[0]-o[0]),Math.abs(a[1]-o[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function m6(n){return ke(n)?n:n?.5:0}function Ul(n,t,e,a,r){var i=e.getBaseAxis(),o="x"===i.dim||"radius"===i.dim?0:1,s=[],l=0,c=[],d=[],u=[],h=[];if(r){for(l=0;l<n.length;l+=2){var f=t||n;!isNaN(f[l])&&!isNaN(f[l+1])&&h.push(n[l],n[l+1])}n=h}for(l=0;l<n.length-2;l+=2)switch(u[0]=n[l+2],u[1]=n[l+3],d[0]=n[l],d[1]=n[l+1],s.push(d[0],d[1]),a){case"end":c[o]=u[o],c[1-o]=d[1-o],s.push(c[0],c[1]);break;case"middle":var v=(d[o]+u[o])/2,A=[];c[o]=A[o]=v,c[1-o]=d[1-o],A[1-o]=u[1-o],s.push(c[0],c[1]),s.push(A[0],A[1]);break;default:c[o]=d[o],c[1-o]=u[1-o],s.push(c[0],c[1])}return s.push(n[l++],n[l++]),s}function xct(n,t){var r,i,e=[],a=n.length;function o(d,u,h){var f=d.coord,A=function get(n,t,e){if(t&&t.length&&n>=0&&n<=1){var a=n*(t.length-1),r=Math.floor(a),i=Math.ceil(a),o=Ya(t[r]),s=Ya(t[i]),l=a-r,c=Vi([ai(vl(o[0],s[0],l)),ai(vl(o[1],s[1],l)),ai(vl(o[2],s[2],l)),Rv(vl(o[3],s[3],l))],"rgba");return e?{color:c,leftIndex:r,rightIndex:i,value:a}:c}}((h-f)/(u.coord-f),[d.color,u.color]);return{coord:h,color:A}}for(var s=0;s<a;s++){var l=n[s],c=l.coord;if(c<0)r=l;else{if(c>t){i?e.push(o(i,l,t)):r&&e.push(o(r,l,0),o(r,l,t));break}r&&(e.push(o(r,l,0)),r=null),e.push(l),i=l}}return e}function wct(n,t,e){var a=n.get("showAllSymbol"),r="auto"===a;if(!a||r){var i=e.getAxesByScale("ordinal")[0];if(i&&(!r||!function kct(n,t){var e=n.getExtent(),a=Math.abs(e[1]-e[0])/n.scale.count();isNaN(a)&&(a=0);for(var r=t.count(),i=Math.max(1,Math.round(r/5)),o=0;o<r;o+=i)if(1.5*FA.getSymbolSize(t,o)[n.isHorizontal()?1:0]>a)return!1;return!0}(i,t))){var o=t.mapDimension(i.dim),s={};return q(i.getViewLabels(),function(l){var c=i.scale.getRawOrdinalNumber(l.tickValue);s[c]=1}),function(l){return!s.hasOwnProperty(t.get(o,l))}}}}function Cct(n,t){return isNaN(n)||isNaN(t)}function f6(n,t){return[n[2*t],n[2*t+1]]}function g6(n){if(n.get(["endLabel","show"]))return!0;for(var t=0;t<Na.length;t++)if(n.get([Na[t],"endLabel","show"]))return!0;return!1}function iT(n,t,e,a){if(Jd(t,"cartesian2d")){var r=a.getModel("endLabel"),i=r.get("valueAnimation"),o=a.getData(),s={lastFrameIndex:0},l=g6(a)?function(f,v){n._endLabelOnDuring(f,v,o,s,i,r,t)}:null,c=t.getBaseAxis().isHorizontal(),d=c6(t,e,a,function(){var f=n._endLabel;f&&e&&null!=s.originalX&&f.attr({x:s.originalX,y:s.originalY})},l);if(!a.get("clip",!0)){var u=d.shape,h=Math.max(u.width,u.height);c?(u.y-=h,u.height+=2*h):(u.x-=h,u.width+=2*h)}return l&&l(1,d),d}return d6(t,e,a)}var Ict=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.prototype.init=function(){var e=new te,a=new VA;this.group.add(a.group),this._symbolDraw=a,this._lineGroup=e,this._changePolyState=Ut(this._changePolyState,this)},t.prototype.render=function(e,a,r){var i=e.coordinateSystem,o=this.group,s=e.getData(),l=e.getModel("lineStyle"),c=e.getModel("areaStyle"),d=s.getLayout("points")||[],u="polar"===i.type,h=this._coordSys,f=this._symbolDraw,v=this._polyline,A=this._polygon,b=this._lineGroup,x=!a.ssr&&e.get("animation"),S=!c.isEmpty(),k=c.get("origin"),D=r6(i,s,k),I=S&&function _ct(n,t,e){if(!e.valueDim)return[];for(var a=t.count(),r=to(2*a),i=0;i<a;i++){var o=i6(e,n,t,i);r[2*i]=o[0],r[2*i+1]=o[1]}return r}
vendor: 9,885 bytes, line 1
1(i,s,D),M=e.get("showSymbol"),R=e.get("connectNulls"),N=M&&!u&&wct(e,s,i),U=this._data;U&&U.eachItemGraphicEl(function(Qt,Pe){Qt.__temp&&(o.remove(Qt),U.setItemGraphicEl(Pe,null))}),M||f.remove(),o.add(b);var B,z=!u&&e.get("step");i&&i.getArea&&e.get("clip",!0)&&(null!=(B=i.getArea()).width?(B.x-=.1,B.y-=.1,B.width+=.2,B.height+=.2):B.r0&&(B.r0-=.5,B.r+=.5)),this._clipShapeForSymbol=B;var K=function Sct(n,t,e){var a=n.getVisual("visualMeta");if(a&&a.length&&n.count()&&"cartesian2d"===t.type){for(var r,i,o=a.length-1;o>=0;o--){var s=n.getDimensionInfo(a[o].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){i=a[o];break}}if(i){var l=t.getAxis(r),c=At(i.stops,function(k){return{coord:l.toGlobalCoord(l.dataToCoord(k.value)),color:k.color}}),d=c.length,u=i.outerColors.slice();d&&c[0].coord>c[d-1].coord&&(c.reverse(),u.reverse());var h=xct(c,"x"===r?e.getWidth():e.getHeight()),f=h.length;if(!f&&d)return c[0].coord<0?u[1]?u[1]:c[d-1].color:u[0]?u[0]:c[0].color;var A=h[0].coord-10,b=h[f-1].coord+10,x=b-A;if(x<.001)return"transparent";q(h,function(k){k.offset=(k.coord-A)/x}),h.push({offset:f?h[f-1].offset:.5,color:u[1]||"transparent"}),h.unshift({offset:f?h[0].offset:.5,color:u[0]||"transparent"});var S=new fA(0,0,0,0,h,!0);return S[r]=A,S[r+"2"]=b,S}}}(s,i,r)||s.getVisual("style")[s.getVisual("drawType")];if(v&&h.type===i.type&&z===this._step){S&&!A?A=this._newPolygon(d,I):A&&!S&&(b.remove(A),A=this._polygon=null),u||this._initOrUpdateEndLabel(e,i,kd(K));var W=b.getClipPath();if(W)dn(W,{shape:iT(this,i,!1,e).shape},e);else b.setClipPath(iT(this,i,!0,e));M&&f.updateData(s,{isIgnore:N,clipShape:B,disableAnimation:!0,getSymbolPoint:function(Qt){return[d[2*Qt],d[2*Qt+1]]}}),(!u6(this._stackedOnPoints,I)||!u6(this._points,d))&&(x?this._doUpdateAnimation(s,I,i,r,z,k,R):(z&&(I&&(I=Ul(I,d,i,z,R)),d=Ul(d,null,i,z,R)),v.setShape({points:d}),A&&A.setShape({points:d,stackedOnPoints:I})))}else M&&f.updateData(s,{isIgnore:N,clipShape:B,disableAnimation:!0,getSymbolPoint:function(Qt){return[d[2*Qt],d[2*Qt+1]]}}),x&&this._initSymbolLabelAnimation(s,i,B),z&&(I&&(I=Ul(I,d,i,z,R)),d=Ul(d,null,i,z,R)),v=this._newPolyline(d),S?A=this._newPolygon(d,I):A&&(b.remove(A),A=this._polygon=null),u||this._initOrUpdateEndLabel(e,i,kd(K)),b.setClipPath(iT(this,i,!0,e));var X=e.getModel("emphasis"),tt=X.get("focus"),rt=X.get("blurScope"),ot=X.get("disabled");(v.useStyle(Kt(l.getLineStyle(),{fill:"none",stroke:K,lineJoin:"bevel"})),ca(v,e,"lineStyle"),v.style.lineWidth>0&&"bolder"===e.get(["emphasis","lineStyle","width"]))&&(v.getState("emphasis").style.lineWidth=+v.style.lineWidth+1);ee(v).seriesIndex=e.seriesIndex,An(v,tt,rt,ot);var gt=m6(e.get("smooth")),_t=e.get("smoothMonotone");if(v.setShape({smooth:gt,smoothMonotone:_t,connectNulls:R}),A){var Mt=s.getCalculationInfo("stackedOnSeries"),zt=0;A.useStyle(Kt(c.getAreaStyle(),{fill:K,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),Mt&&(zt=m6(Mt.get("smooth"))),A.setShape({smooth:gt,stackedOnSmooth:zt,smoothMonotone:_t,connectNulls:R}),ca(A,e,"areaStyle"),ee(A).seriesIndex=e.seriesIndex,An(A,tt,rt,ot)}var Bt=this._changePolyState;s.eachItemGraphicEl(function(Qt){Qt&&(Qt.onHoverStateChange=Bt)}),this._polyline.onHoverStateChange=Bt,this._data=s,this._coordSys=i,this._stackedOnPoints=I,this._points=d,this._step=z,this._valueOrigin=k,e.get("triggerLineEvent")&&(this.packEventData(e,v),A&&this.packEventData(e,A))},t.prototype.packEventData=function(e,a){ee(a).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,a,r,i){var o=e.getData(),s=cd(o,i);if(this._changePolyState("emphasis"),!(s instanceof Array)&&null!=s&&s>=0){var l=o.getLayout("points"),c=o.getItemGraphicEl(s);if(!c){var d=l[2*s],u=l[2*s+1];if(isNaN(d)||isNaN(u)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(d,u))return;var h=e.get("zlevel")||0,f=e.get("z")||0;(c=new FA(o,s)).x=d,c.y=u,c.setZ(h,f);var v=c.getSymbolPath().getTextContent();v&&(v.zlevel=h,v.z=f,v.z2=this._polyline.z2+1),c.__temp=!0,o.setItemGraphicEl(s,c),c.stopSymbolAnimation(!0),this.group.add(c)}c.highlight()}else nn.prototype.highlight.call(this,e,a,r,i)},t.prototype.downplay=function(e,a,r,i){var o=e.getData(),s=cd(o,i);if(this._changePolyState("normal"),null!=s&&s>=0){var l=o.getItemGraphicEl(s);l&&(l.__temp?(o.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else nn.prototype.downplay.call(this,e,a,r,i)},t.prototype._changePolyState=function(e){var a=this._polygon;c_(this._polyline,e),a&&c_(a,e)},t.prototype._newPolyline=function(e){var a=this._polyline;return a&&this._lineGroup.remove(a),a=new yct({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(a),this._polyline=a,a},t.prototype._newPolygon=function(e,a){var r=this._polygon;return r&&this._lineGroup.remove(r),r=new l6({shape:{points:e,stackedOnPoints:a},segmentIgnoreThreshold:2}),this._lineGroup.add(r),this._polygon=r,r},t.prototype._initSymbolLabelAnimation=function(e,a,r){var i,o,s=a.getBaseAxis(),l=s.inverse;"cartesian2d"===a.type?(i=s.isHorizontal(),o=!1):"polar"===a.type&&(i="angle"===s.dim,o=!0);var c=e.hostModel,d=c.get("animationDuration");jt(d)&&(d=d(null));var u=c.get("animationDelay")||0,h=jt(u)?u(null):u;e.eachItemGraphicEl(function(f,v){var A=f;if(A){var b=[f.x,f.y],x=void 0,S=void 0,k=void 0;if(r)if(o){var D=r,I=a.pointToCoord(b);i?(x=D.startAngle,S=D.endAngle,k=-I[1]/180*Math.PI):(x=D.r0,S=D.r,k=I[0])}else{var M=r;i?(x=M.x,S=M.x+M.width,k=f.x):(x=M.y+M.height,S=M.y,k=f.y)}var R=S===x?0:(k-x)/(S-x);l&&(R=1-R);var N=jt(u)?u(v):d*R+h,U=A.getSymbolPath(),z=U.getTextContent();A.attr({scaleX:0,scaleY:0}),A.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:N}),z&&z.animateFrom({style:{opacity:0}},{duration:300,delay:N}),U.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,a,r){var i=e.getModel("endLabel");if(g6(e)){var o=e.getData(),s=this._polyline,l=o.getLayout("points");if(!l)return s.removeTextContent(),void(this._endLabel=null);var c=this._endLabel;c||((c=this._endLabel=new Ce({z2:200})).ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var d=function Dct(n){for(var t=n.length/2;t>0&&Cct(n[2*t-2],n[2*t-1]);t--);return t-1}(l);d>=0&&(da(s,Kn(e,"endLabel"),{inheritColor:r,labelFetcher:e,labelDataIndex:d,defaultText:function(u,h,f){return null!=f?e6(o,f):bm(o,u)},enableTextSetter:!0},function Pct(n,t){var e=t.getBaseAxis(),a=e.isHorizontal(),r=e.inverse,i=a?r?"right":"left":"center",o=a?"middle":r?"top":"bottom";return{normal:{align:n.get("align")||i,verticalAlign:n.get("verticalAlign")||o}}}(i,a)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,a,r,i,o,s,l){var c=this._endLabel,d=this._polyline;if(c){e<1&&null==i.originalX&&(i.originalX=c.x,i.originalY=c.y);var u=r.getLayout("points"),h=r.hostModel,f=h.get("connectNulls"),v=s.get("precision"),A=s.get("distance")||0,b=l.getBaseAxis(),x=b.isHorizontal(),S=b.inverse,k=a.shape,D=S?x?k.x:k.y+k.height:x?k.x+k.width:k.y,I=(x?A:0)*(S?-1:1),M=(x?0:-A)*(S?-1:1),R=x?"x":"y",N=function Tct(n,t,e){for(var i,o,a=n.length/2,r="x"===e?0:1,s=0,l=-1,c=0;c<a;c++)if(o=n[2*c+r],!isNaN(o)&&!isNaN(n[2*c+1-r])){if(0===c){i=o;continue}if(i<=t&&o>=t||i>=t&&o<=t){l=c;break}s=c,i=o}return{range:[s,l],t:(t-i)/(o-i)}}(u,D,R),U=N.range,z=U[1]-U[0],B=void 0;if(z>=1){if(z>1&&!f){var K=f6(u,U[0]);c.attr({x:K[0]+I,y:K[1]+M}),o&&(B=h.getRawValue(U[0]))}else{(K=d.getPointOn(D,R))&&c.attr({x:K[0]+I,y:K[1]+M});var W=h.getRawValue(U[0]),Z=h.getRawValue(U[1]);o&&(B=EL(r,v,W,Z,N.t))}i.lastFrameIndex=U[0]}else{var X=1===e||i.lastFrameIndex>0?U[0]:0;K=f6(u,X);o&&(B=h.getRawValue(X)),c.attr({x:K[0]+I,y:K[1]+M})}if(o){var tt=Jh(c);"function"==typeof tt.setLabelText&&tt.setLabelText(B)}}},t.prototype._doUpdateAnimation=function(e,a,r,i,o,s,l){var c=this._polyline,d=this._polygon,u=e.hostModel,h=function Act(n,t,e,a,r,i,o,s){for(var l=function vct(n,t){var e=[];return t.diff(n).add(function(a){e.push({cmd:"+",idx:a})}).update(function(a,r){e.push({cmd:"=",idx:r,idx1:a})}).remove(function(a){e.push({cmd:"-",idx:a})}).execute(),e}(n,t),c=[],d=[],u=[],h=[],f=[],v=[],A=[],b=r6(r,t,o),x=n.getLayout("points")||[],S=t.getLayout("points")||[],k=0;k<l.length;k++){var D=l[k],I=!0,M=void 0,R=void 0;switch(D.cmd){case"=":M=2*D.idx,R=2*D.idx1;var N=x[M],U=x[M+1],z=S[R],B=S[R+1];(isNaN(N)||isNaN(U))&&(N=z,U=B),c.push(N,U),d.push(z,B),u.push(e[M],e[M+1]),h.push(a[R],a[R+1]),A.push(t.getRawIndex(D.idx1));break;case"+":var K=D.idx,W=b.dataDimsForPoint,Z=r.dataToPoint([t.get(W[0],K),t.get(W[1],K)]);R=2*K,c.push(Z[0],Z[1]),d.push(S[R],S[R+1]);var X=i6(b,r,t,K);u.push(X[0],X[1]),h.push(a[R],a[R+1]),A.push(t.getRawIndex(K));break;case"-":I=!1}I&&(f.push(D),v.push(v.length))}v.sort(function(Qt,Pe){return A[Qt]-A[Pe]});var tt=c.length,rt=to(tt),ot=to(tt),st=to(tt),gt=to(tt),_t=[];for(k=0;k<v.length;k++){var Mt=v[k],zt=2*k,Bt=2*Mt;rt[zt]=c[Bt],rt[zt+1]=c[Bt+1],ot[zt]=d[Bt],ot[zt+1]=d[Bt+1],st[zt]=u[Bt],st[zt+1]=u[Bt+1],gt[zt]=h[Bt],gt[zt+1]=h[Bt+1],_t[k]=f[Mt]}return{current:rt,next:ot,stackedOnCurrent:st,stackedOnNext:gt,status:_t}}(this._data,e,this._stackedOnPoints,a,this._coordSys,0,this._valueOrigin),f=h.current,v=h.stackedOnCurrent,A=h.next,b=h.stackedOnNext;if(o&&(v=Ul(h.stackedOnCurrent,h.current,r,o,l),f=Ul(h.current,null,r,o,l),b=Ul(h.stackedOnNext,h.next,r,o,l),A=Ul(h.next,null,r,o,l)),h6(f,A)>3e3||d&&h6(v,b)>3e3)return c.stopAnimation(),c.setShape({points:A}),void(d&&(d.stopAnimation(),d.setShape({points:A,stackedOnPoints:b})));c.shape.__points=h.current,c.shape.points=f;var x={shape:{points:A}};h.current!==f&&(x.shape.__points=h.next),c.stopAnimation(),Te(c,x,u),d&&(d.setShape({points:f,stackedOnPoints:v}),d.stopAnimation(),Te(d,{shape:{stackedOnPoints:b}}
vendor: 13,641 bytes, line 1
1,u),c.shape.points!==d.shape.points&&(d.shape.points=c.shape.points));for(var S=[],k=h.status,D=0;D<k.length;D++){if("="===k[D].cmd){var M=e.getItemGraphicEl(k[D].idx1);M&&S.push({el:M,ptIdx:D})}}c.animators&&c.animators.length&&c.animators[0].during(function(){d&&d.dirtyShape();for(var R=c.shape.__points,N=0;N<S.length;N++){var U=S[N].el,z=2*S[N].ptIdx;U.x=R[z],U.y=R[z+1],U.markRedraw()}})},t.prototype.remove=function(e){var a=this.group,r=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),r&&r.eachItemGraphicEl(function(i,o){i.__temp&&(a.remove(i),r.setItemGraphicEl(o,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(nn);const Mct=Ict;function EA(n,t){return{seriesType:n,plan:sm(),reset:function(e){var a=e.getData(),r=e.coordinateSystem,i=e.pipelineContext,o=t||i.large;if(r){var s=At(r.dimensions,function(f){return a.mapDimension(f)}).slice(0,2),l=s.length,c=a.getCalculationInfo("stackResultDimension");Rl(a,s[0])&&(s[0]=c),Rl(a,s[1])&&(s[1]=c);var d=a.getStore(),u=a.getDimensionIndex(s[0]),h=a.getDimensionIndex(s[1]);return l&&{progress:function(f,v){for(var A=f.end-f.start,b=o&&to(A*l),x=[],S=[],k=f.start,D=0;k<f.end;k++){var I=void 0;if(1===l){var M=d.get(u,k);I=r.dataToPoint(M,null,S)}else x[0]=d.get(u,k),x[1]=d.get(h,k),I=r.dataToPoint(x,null,S);o?(b[D++]=I[0],b[D++]=I[1]):v.setItemLayout(k,I.slice())}o&&v.setLayout("points",b)}}}}}}var Oct={average:function(n){for(var t=0,e=0,a=0;a<n.length;a++)isNaN(n[a])||(t+=n[a],e++);return 0===e?NaN:t/e},sum:function(n){for(var t=0,e=0;e<n.length;e++)t+=n[e]||0;return t},max:function(n){for(var t=-1/0,e=0;e<n.length;e++)n[e]>t&&(t=n[e]);return isFinite(t)?t:NaN},min:function(n){for(var t=1/0,e=0;e<n.length;e++)n[e]<t&&(t=n[e]);return isFinite(t)?t:NaN},nearest:function(n){return n[0]}},Rct=function(n){return Math.round(n.length/2)};function v6(n){return{seriesType:n,reset:function(t,e,a){var r=t.getData(),i=t.get("sampling"),o=t.coordinateSystem,s=r.count();if(s>10&&"cartesian2d"===o.type&&i){var l=o.getBaseAxis(),c=o.getOtherAxis(l),d=l.getExtent(),u=a.getDevicePixelRatio(),h=Math.abs(d[1]-d[0])*(u||1),f=Math.round(s/h);if(isFinite(f)&&f>1){"lttb"===i?t.setData(r.lttbDownSample(r.mapDimension(c.dim),1/f)):"minmax"===i&&t.setData(r.minmaxDownSample(r.mapDimension(c.dim),1/f));var v=void 0;Lt(i)?v=Oct[i]:jt(i)&&(v=i),v&&t.setData(r.downSample(r.mapDimension(c.dim),1/f,v,Rct))}}}}}var oT="__ec_stack_";function sT(n){return n.get("stack")||oT+n.seriesIndex}function lT(n){return n.dim+n.index}function A6(n,t){var e=[];return t.eachSeriesByType(n,function(a){S6(a)&&e.push(a)}),e}function y6(n){var t=function Uct(n){var t={};q(n,function(l){var d=l.coordinateSystem.getBaseAxis();if("time"===d.type||"value"===d.type)for(var u=l.getData(),h=d.dim+"_"+d.index,f=u.getDimensionIndex(u.mapDimension(d.dim)),v=u.getStore(),A=0,b=v.count();A<b;++A){var x=v.get(f,A);t[h]?t[h].push(x):t[h]=[x]}});var e={};for(var a in t)if(t.hasOwnProperty(a)){var r=t[a];if(r){r.sort(function(l,c){return l-c});for(var i=null,o=1;o<r.length;++o){var s=r[o]-r[o-1];s>0&&(i=null===i?s:Math.min(i,s))}e[a]=i}}return e}(n),e=[];return q(n,function(a){var s,i=a.coordinateSystem.getBaseAxis(),o=i.getExtent();if("category"===i.type)s=i.getBandWidth();else if("value"===i.type||"time"===i.type){var l=i.dim+"_"+i.index,c=t[l],d=Math.abs(o[1]-o[0]),u=i.scale.getExtent(),h=Math.abs(u[1]-u[0]);s=c?d/h*c:d}else{var f=a.getData();s=Math.abs(o[1]-o[0])/f.count()}var v=Ot(a.get("barWidth"),s),A=Ot(a.get("barMaxWidth"),s),b=Ot(a.get("barMinWidth")||(w6(a)?.5:1),s),x=a.get("barGap"),S=a.get("barCategoryGap");e.push({bandWidth:s,barWidth:v,barMaxWidth:A,barMinWidth:b,barGap:x,barCategoryGap:S,axisKey:lT(i),stackId:sT(a)})}),b6(e)}function b6(n){var t={};q(n,function(a,r){var i=a.axisKey,o=a.bandWidth,s=t[i]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;t[i]=s;var c=a.stackId;l[c]||s.autoWidthCount++,l[c]=l[c]||{width:0,maxWidth:0};var d=a.barWidth;d&&!l[c].width&&(l[c].width=d,d=Math.min(s.remainedWidth,d),s.remainedWidth-=d);var u=a.barMaxWidth;u&&(l[c].maxWidth=u);var h=a.barMinWidth;h&&(l[c].minWidth=h);var f=a.barGap;null!=f&&(s.gap=f);var v=a.barCategoryGap;null!=v&&(s.categoryGap=v)});var e={};return q(t,function(a,r){e[r]={};var i=a.stacks,o=a.bandWidth,s=a.categoryGap;if(null==s){var l=ve(i).length;s=Math.max(35-4*l,15)+"%"}var c=Ot(s,o),d=Ot(a.gap,1),u=a.remainedWidth,h=a.autoWidthCount,f=(u-c)/(h+(h-1)*d);f=Math.max(f,0),q(i,function(x){var S=x.maxWidth,k=x.minWidth;if(x.width){var D=x.width;S&&(D=Math.min(D,S)),k&&(D=Math.max(D,k)),x.width=D,u-=D+d*D,h--}else{D=f;S&&S<D&&(D=Math.min(S,u)),k&&k>D&&(D=k),D!==f&&(x.width=D,u-=D+d*D,h--)}}),f=(u-c)/(h+(h-1)*d),f=Math.max(f,0);var A,v=0;q(i,function(x,S){x.width||(x.width=f),A=x,v+=x.width*(1+d)}),A&&(v-=A.width*d);var b=-v/2;q(i,function(x,S){e[r][S]=e[r][S]||{bandWidth:o,offset:b,width:x.width},b+=x.width*(1+d)})}),e}function _6(n,t){var e=A6(n,t),a=y6(e);q(e,function(r){var i=r.getData(),s=r.coordinateSystem.getBaseAxis(),l=sT(r),c=a[lT(s)][l],d=c.offset,u=c.width;i.setLayout({bandWidth:c.bandWidth,offset:d,size:u})})}function x6(n){return{seriesType:n,plan:sm(),reset:function(t){if(S6(t)){var e=t.getData(),a=t.coordinateSystem,r=a.getBaseAxis(),i=a.getOtherAxis(r),o=e.getDimensionIndex(e.mapDimension(i.dim)),s=e.getDimensionIndex(e.mapDimension(r.dim)),l=t.get("showBackground",!0),c=e.mapDimension(i.dim),d=e.getCalculationInfo("stackResultDimension"),u=Rl(e,c)&&!!e.getCalculationInfo("stackedOnSeries"),h=i.isHorizontal(),f=function Vct(n,t){var e=t.model.get("startValue");return e||(e=0),t.toGlobalCoord(t.dataToCoord("log"===t.type?e>0?e:1:e))}(0,i),v=w6(t),A=t.get("barMinHeight")||0,b=d&&e.getDimensionIndex(d),x=e.getLayout("size"),S=e.getLayout("offset");return{progress:function(k,D){for(var B,I=k.count,M=v&&to(3*I),R=v&&l&&to(3*I),N=v&&to(I),U=a.master.getRect(),z=h?U.width:U.height,K=D.getStore(),W=0;null!=(B=k.next());){var Z=K.get(u?b:o,B),X=K.get(s,B),tt=f,rt=void 0;u&&(rt=+Z-K.get(o,B));var ot=void 0,st=void 0,gt=void 0,_t=void 0;if(h){var Mt=a.dataToPoint([Z,X]);if(u)tt=a.dataToPoint([rt,X])[0];ot=tt,st=Mt[1]+S,gt=Mt[0]-tt,_t=x,Math.abs(gt)<A&&(gt=(gt<0?-1:1)*A)}else{Mt=a.dataToPoint([X,Z]);if(u)tt=a.dataToPoint([X,rt])[1];ot=Mt[0]+S,st=tt,gt=x,_t=Mt[1]-tt,Math.abs(_t)<A&&(_t=(_t<=0?-1:1)*A)}v?(M[W]=ot,M[W+1]=st,M[W+2]=h?gt:_t,R&&(R[W]=h?U.x:ot,R[W+1]=h?st:U.y,R[W+2]=z),N[B]=B):D.setItemLayout(B,{x:ot,y:st,width:gt,height:_t}),W+=3}v&&D.setLayout({largePoints:M,largeDataIndices:N,largeBackgroundPoints:R,valueAxisHorizontal:h})}}}}}}function S6(n){return n.coordinateSystem&&"cartesian2d"===n.coordinateSystem.type}function w6(n){return n.pipelineContext&&n.pipelineContext.large}var k6=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.getInitialData=function(e,a){return os(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,a,r){var i=this.coordinateSystem;if(i&&i.clampData){var o=i.clampData(e),s=i.dataToPoint(o);if(r)q(i.getAxes(),function(h,f){if("category"===h.type&&null!=a){var v=h.getTicksCoords(),A=h.getTickModel().get("alignWithLabel"),b=o[f],x="x1"===a[f]||"y1"===a[f];if(x&&!A&&(b+=1),v.length<2)return;if(2===v.length)return void(s[f]=h.toGlobalCoord(h.getExtent()[x?1:0]));for(var S=void 0,k=void 0,D=1,I=0;I<v.length;I++){var M=v[I].coord,R=I===v.length-1?v[I-1].tickValue+D:v[I].tickValue;if(R===b){k=M;break}if(R<b)S=M;else if(null!=S&&R>b){k=(M+S)/2;break}1===I&&(D=R-v[0].tickValue)}null==k&&(S?S&&(k=v[v.length-1].coord):k=v[0].coord),s[f]=h.toGlobalCoord(k)}});else{var l=this.getData(),c=l.getLayout("offset"),d=l.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;s[u]+=c+d/2}return s}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(hn);hn.registerClass(k6);const fx=k6;var zct=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.getInitialData=function(){return os(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),a=this.get("largeThreshold");return a>e&&(e=a),e},t.prototype.brushSelector=function(e,a,r){return r.rect(a.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=wl(fx.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(fx);const Ect=zct;var qct=function n(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},Hct=function(n){function t(e){var a=n.call(this,e)||this;return a.type="sausage",a}return pt(t,n),t.prototype.getDefaultShape=function(){return new qct},t.prototype.buildPath=function(e,a){var r=a.cx,i=a.cy,o=Math.max(a.r0||0,0),s=Math.max(a.r,0),l=.5*(s-o),c=o+l,d=a.startAngle,u=a.endAngle,h=a.clockwise,f=2*Math.PI,v=h?u-d<f:d-u<f;v||(d=u-(h?f:-f));var A=Math.cos(d),b=Math.sin(d),x=Math.cos(u),S=Math.sin(u);v?(e.moveTo(A*o+r,b*o+i),e.arc(A*c+r,b*c+i,l,-Math.PI+d,d,!h)):e.moveTo(A*s+r,b*s+i),e.arc(r,i,s,d,u,!h),e.arc(x*c+r,S*c+i,l,u-2*Math.PI,u-Math.PI,!h),0!==o&&e.arc(r,i,o,u,d,h)},t}(fe);const gx=Hct;function vx(n,t,e){return t*Math.sin(n)*(e?-1:1)}function Ax(n,t,e){return t*Math.cos(n)*(e?1:-1)}function Zd(n,t,e){var a=n.get("borderRadius");if(null==a)return e?{cornerRadius:0}:null;vt(a)||(a=[a,a,a,a]);var r=Math.abs(t.r||0-t.r0||0);return{cornerRadius:At(a,function(i){return ii(i,r)})}}var cT=Math.max,dT=Math.min;var Kct=function(n){function t(){var e=n.call(this)||this;return e.type=t.type,e._isFirstFrame=!0,e}return pt(t,n),t.prototype.render=function(e,a,r,i){this._model=e,this._removeOnRenderedListener(r),this._updateDrawMode(e);var o=e.get("coordinateSystem");("cartesian2d"===o||"polar"===o)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,a,r):this._renderNormal(e,a,r,i))},t.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},t.prototype.incrementalRender=function(e,a){this._progressiveEls=[],this._incrementalRenderLarge(e,a)},t.prototype.eachRendered=function(e){Il(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var a=e.pipelineContext.large;(null==this._isLargeDraw||a!==this._isLargeDraw)&&(this._isLargeDraw=a,this._clear())},t.prototype._renderNormal=function(e,a,r,i){var u,o=this.group,s=e.getData(),l=this._data,c=e.coordinateSystem,d=c.getBaseAxis();"cartesian2d"===c.type?u=d.isHorizontal():"polar"===c.type&&(u="angle"===d.dim);var h=e.isAnimationEnabled()?e:null,f=function Wct(n,t){var e=n.get("realtimeSort",!0),a=t.getBaseAxis();if(e&&"category"===a.type&&"cartesian2d"===t.type)return{baseAxis:a,otherAxis:t.getOtherAxis(a)}}(e,c);f&&this._enableRealtimeSort(f,s,r);var v=e.get("clip",!0)||f,A=function Gct(n,t){var e=n.getArea&&n.getArea();if(Jd(n,"cartesian2d")){var a=n.getBaseAxis();if("category"!==a.type||!a.onBand){var r=t.getLayout("bandWidth");a.isHorizontal()?(e.x-=r,e.width+=2*r):(e.y-=r,e.height+=2*r)}}return e}(c,s);o.removeClipPath();var b=e.get("roundCap",!0),x=e.get("showBackground",!0),S=e.getModel("backgroundStyle"),k=S.get("borderRadius")||0,D=[],I=this._backgroundEls,M=i&&i.isInitSort,R=i&&"changeAxisOrder"===i.type;function N(B){var K=yx[c.type](s,B),W=function tdt(n,t,e){return new("polar"===n.type?tr:Se)({shape:U6(t,e,n),silent:!0,z2:0})}(c,u,K);return W.useStyle(S.getItemStyle()),"cartesian2d"===c.type?W.setShape("r",k):W.setShape("cornerRadius",k),D[B]=W,W}s.diff(l).add(function(B){var K=s.getItemModel(B),W=yx[c.type](s,B,K);if(x&&N(B),s.hasValue(B)&&I6[c.type](W)){var Z=!1;v&&(Z=C6[c.type](A,W));var X=D6[c.type](e,s,B,W,u,h,d.model,!1,b);f&&(X.forceLabelAnimation=!0),O6(X,s,B,K,W,e,u,"polar"===c.type),M?X.attr({shape:W}):f?T6(f,h,X,W,B,u,!1,!1):dn(X,{shape:W},e,B),s.setItemGraphicEl(B,X),o.add(X),X.ignore=Z}}).update(function(B,K){var W=s.getItemModel(B),Z=yx[c.type](s,B,W);if(x){var X=void 0;0===I.length?X=N(K):((X=I[K]).useStyle(S.getItemStyle()),"cartesian2d"===c.type?X.setShape("r",k):X.setShape("cornerRadius",k),D[B]=X);var tt=yx[c.type](s,B);Te(X,{shape:U6(u,tt,c)},h,B)}var ot=l.getItemGraphicEl(K);if(s.hasValue(B)&&I6[c.type](Z)){var st=!1;if(v&&((st=C6[c.type](A,Z))&&o.remove(ot)),ot?oi(ot):ot=D6[c.type](e,s,B,Z,u,h,d.model,!!ot,b),f&&(ot.forceLabelAnimation=!0),R){var gt=ot.getTextContent();if(gt){var _t=Jh(gt);null!=_t.prevValue&&(_t.prevValue=_t.value)}}else O6(ot,s,B,W,Z,e,u,"polar"===c.type);M?ot.attr({shape:Z}):f?T6(f,h,ot,Z,B,u,!0,R):Te(ot,{shape:Z},e,B,null),s.setItemGraphicEl(B,ot),ot.ignore=st,o.add(ot)}else o.remove(ot)}).remove(function(B){var K=l.getItemGraphicEl(B);K&&eA(K,e,B)}).execute();var U=this._backgroundGroup||(this._backgroundGroup=new te);U.removeAll();for(var z=0;z<D.length;++z)U.add(D[z]);o.add(U),this._backgroundEls=D,this._data=s},t.prototype._renderLarge=function(e,a,r){this._clear(),L6(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,a){this._removeBackgroun
vendor: 6,387 bytes, line 1
1d(),L6(a,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(e){var a=e.get("clip",!0)&&zA(e.coordinateSystem,!1,e),r=this.group;a?r.setClipPath(a):r.removeClipPath()},t.prototype._enableRealtimeSort=function(e,a,r){var i=this;if(a.count()){var o=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(a,e,r),this._isFirstFrame=!1;else{var s=function(l){var c=a.getItemGraphicEl(l),d=c&&c.shape;return d&&Math.abs(o.isHorizontal()?d.height:d.width)||0};this._onRendered=function(){i._updateSortWithinSameData(a,s,o,r)},r.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,a,r){var i=[];return e.each(e.mapDimension(a.dim),function(o,s){var l=r(s);l=l??NaN,i.push({dataIndex:s,mappedValue:l,ordinalNumber:o})}),i.sort(function(o,s){return s.mappedValue-o.mappedValue}),{ordinalNumbers:At(i,function(o){return o.ordinalNumber})}},t.prototype._isOrderChangedWithinSameData=function(e,a,r){for(var i=r.scale,o=e.mapDimension(r.dim),s=Number.MAX_VALUE,l=0,c=i.getOrdinalMeta().categories.length;l<c;++l){var d=e.rawIndexOf(o,i.getRawOrdinalNumber(l)),u=d<0?Number.MIN_VALUE:a(e.indexOfRawIndex(d));if(u>s)return!0;s=u}return!1},t.prototype._isOrderDifferentInView=function(e,a){for(var r=a.scale,i=r.getExtent(),o=Math.max(0,i[0]),s=Math.min(i[1],r.getOrdinalMeta().categories.length-1);o<=s;++o)if(e.ordinalNumbers[o]!==r.getRawOrdinalNumber(o))return!0},t.prototype._updateSortWithinSameData=function(e,a,r,i){if(this._isOrderChangedWithinSameData(e,a,r)){var o=this._dataSort(e,r,a);this._isOrderDifferentInView(o,r)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",axisId:r.index,sortInfo:o}))}},t.prototype._dispatchInitSort=function(e,a,r){var i=a.baseAxis,o=this._dataSort(e,i,function(s){return e.get(e.mapDimension(a.otherAxis.dim),s)});r.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:o})},t.prototype.remove=function(e,a){this._clear(this._model),this._removeOnRenderedListener(a)},t.prototype.dispose=function(e,a){this._removeOnRenderedListener(a)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var a=this.group,r=this._data;e&&e.isAnimationEnabled()&&r&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],r.eachItemGraphicEl(function(i){eA(i,e,ee(i).dataIndex)})):a.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(nn),C6={cartesian2d:function(n,t){var e=t.width<0?-1:1,a=t.height<0?-1:1;e<0&&(t.x+=t.width,t.width=-t.width),a<0&&(t.y+=t.height,t.height=-t.height);var r=n.x+n.width,i=n.y+n.height,o=cT(t.x,n.x),s=dT(t.x+t.width,r),l=cT(t.y,n.y),c=dT(t.y+t.height,i),d=s<o,u=c<l;return t.x=d&&o>r?s:o,t.y=u&&l>i?c:l,t.width=d?0:s-o,t.height=u?0:c-l,e<0&&(t.x+=t.width,t.width=-t.width),a<0&&(t.y+=t.height,t.height=-t.height),d||u},polar:function(n,t){var e=t.r0<=t.r?1:-1;if(e<0){var a=t.r;t.r=t.r0,t.r0=a}var r=dT(t.r,n.r),i=cT(t.r0,n.r0);t.r=r,t.r0=i;var o=r-i<0;if(e<0){a=t.r;t.r=t.r0,t.r0=a}return o}},D6={cartesian2d:function(n,t,e,a,r,i,o,s,l){var c=new Se({shape:ft({},a),z2:1});(c.__dataIndex=e,c.name="item",i)&&(c.shape[r?"height":"width"]=0);return c},polar:function(n,t,e,a,r,i,o,s,l){var c=!r&&l?gx:tr,d=new c({shape:a,z2:1});d.name="item";var u=M6(r);if(d.calculateTextPosition=function Bct(n,t){var e=(t=t||{}).isRoundCap;return function(a,r,i){var o=r.position;if(!o||o instanceof Array)return Z0(a,r,i);var s=n(o),l=null!=r.distance?r.distance:5,c=this.shape,d=c.cx,u=c.cy,h=c.r,f=c.r0,v=(h+f)/2,A=c.startAngle,b=c.endAngle,x=(A+b)/2,S=e?Math.abs(h-f)/2:0,k=Math.cos,D=Math.sin,I=d+h*k(A),M=u+h*D(A),R="left",N="top";switch(s){case"startArc":I=d+(f-l)*k(x),M=u+(f-l)*D(x),R="center",N="top";break;case"insideStartArc":I=d+(f+l)*k(x),M=u+(f+l)*D(x),R="center",N="bottom";break;case"startAngle":I=d+v*k(A)+vx(A,l+S,!1),M=u+v*D(A)+Ax(A,l+S,!1),R="right",N="middle";break;case"insideStartAngle":I=d+v*k(A)+vx(A,-l+S,!1),M=u+v*D(A)+Ax(A,-l+S,!1),R="left",N="middle";break;case"middle":I=d+v*k(x),M=u+v*D(x),R="center",N="middle";break;case"endArc":I=d+(h+l)*k(x),M=u+(h+l)*D(x),R="center",N="bottom";break;case"insideEndArc":I=d+(h-l)*k(x),M=u+(h-l)*D(x),R="center",N="top";break;case"endAngle":I=d+v*k(b)+vx(b,l+S,!0),M=u+v*D(b)+Ax(b,l+S,!0),R="left",N="middle";break;case"insideEndAngle":I=d+v*k(b)+vx(b,-l+S,!0),M=u+v*D(b)+Ax(b,-l+S,!0),R="right",N="middle";break;default:return Z0(a,r,i)}return(a=a||{}).x=I,a.y=M,a.align=R,a.verticalAlign=N,a}}(u,{isRoundCap:c===gx}),i){var f=r?"r":"endAngle",v={};d.shape[f]=r?a.r0:a.startAngle,v[f]=a[f],(s?Te:dn)(d,{shape:v},i)}return d}};function T6(n,t,e,a,r,i,o,s){var l,c;i?(c={x:a.x,width:a.width},l={y:a.y,height:a.height}):(c={y:a.y,height:a.height},l={x:a.x,width:a.width}),s||(o?Te:dn)(e,{shape:l},t,r,null),(o?Te:dn)(e,{shape:c},t?n.baseAxis.model:null,r)}function P6(n,t){for(var e=0;e<t.length;e++)if(!isFinite(n[t[e]]))return!0;return!1}var Jct=["x","y","width","height"],Zct=["cx","cy","r","startAngle","endAngle"],I6={cartesian2d:function(n){return!P6(n,Jct)},polar:function(n){return!P6(n,Zct)}},yx={cartesian2d:function(n,t,e){var a=n.getItemLayout(t),r=e?function Yct(n,t){var e=n.get(["itemStyle","borderColor"]);if(!e||"none"===e)return 0;var a=n.get(["itemStyle","borderWidth"])||0,r=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),i=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(a,r,i)}(e,a):0,i=a.width>0?1:-1,o=a.height>0?1:-1;return{x:a.x+i*r/2,y:a.y+o*r/2,width:a.width-i*r,height:a.height-o*r}},polar:function(n,t,e){var a=n.getItemLayout(t);return{cx:a.cx,cy:a.cy,r0:a.r0,r:a.r,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}}};function M6(n){return e=n?"Arc":"Angle",function(a){switch(a){case"start":case"insideStart":case"end":case"insideEnd":return a+e;default:return a}};var e}function O6(n,t,e,a,r,i,o,s){var l=t.getItemVisual(e,"style");if(s){if(!i.get("roundCap")){var d=n.shape;ft(d,Zd(a.getModel("itemStyle"),d,!0)),n.setShape(d)}}else{var c=a.get(["itemStyle","borderRadius"])||0;n.setShape("r",c)}n.useStyle(l);var h=a.getShallow("cursor");h&&n.attr("cursor",h);var f=s?o?r.r>=r.r0?"endArc":"startArc":r.endAngle>
vendor: 14,330 bytes, line 1
1=r.startAngle?"endAngle":"startAngle":o?r.height>=0?"bottom":"top":r.width>=0?"right":"left",v=Kn(a);da(n,v,{labelFetcher:i,labelDataIndex:e,defaultText:bm(i.getData(),e),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:f});var A=n.getTextContent();if(s&&A){var b=a.get(["label","position"]);n.textConfig.inside="middle"===b||null,function jct(n,t,e,a){if(ke(a))n.setTextConfig({rotation:a});else if(vt(t))n.setTextConfig({rotation:0});else{var l,r=n.shape,i=r.clockwise?r.startAngle:r.endAngle,o=r.clockwise?r.endAngle:r.startAngle,s=(i+o)/2,c=e(t);switch(c){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":l=s;break;case"startAngle":case"insideStartAngle":l=i;break;case"endAngle":case"insideEndAngle":l=o;break;default:return void n.setTextConfig({rotation:0})}var d=1.5*Math.PI-l;"middle"===c&&d>Math.PI/2&&d<1.5*Math.PI&&(d-=Math.PI),n.setTextConfig({rotation:d})}}(n,"outside"===b?f:b,M6(o),a.get(["label","rotate"]))}B3(A,v,i.getRawValue(e),function(S){return e6(t,S)});var x=a.getModel(["emphasis"]);An(n,x.get("focus"),x.get("blurScope"),x.get("disabled")),ca(n,a),function Xct(n){return null!=n.startAngle&&null!=n.endAngle&&n.startAngle===n.endAngle}(r)&&(n.style.fill="none",n.style.stroke="none",q(n.states,function(S){S.style&&(S.style.fill=S.style.stroke="none")}))}var Qct=function n(){},R6=function(n){function t(e){var a=n.call(this,e)||this;return a.type="largeBar",a}return pt(t,n),t.prototype.getDefaultShape=function(){return new Qct},t.prototype.buildPath=function(e,a){for(var r=a.points,i=this.baseDimIdx,o=1-this.baseDimIdx,s=[],l=[],c=this.barWidth,d=0;d<r.length;d+=3)l[i]=c,l[o]=r[d+2],s[i]=r[d+i],s[o]=r[d+o],e.rect(s[0],s[1],l[0],l[1])},t}(fe);function L6(n,t,e,a){var r=n.getData(),i=r.getLayout("valueAxisHorizontal")?1:0,o=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=n.getModel("backgroundStyle"),c=r.getLayout("largeBackgroundPoints");if(c){var d=new R6({shape:{points:c},incremental:!!a,silent:!0,z2:0});d.baseDimIdx=i,d.largeDataIndices=o,d.barWidth=s,d.useStyle(l.getItemStyle()),t.add(d),e&&e.push(d)}var u=new R6({shape:{points:r.getLayout("largePoints")},incremental:!!a,ignoreCoarsePointer:!0,z2:1});u.baseDimIdx=i,u.largeDataIndices=o,u.barWidth=s,t.add(u),u.useStyle(r.getVisual("style")),u.style.stroke=null,ee(u).seriesIndex=n.seriesIndex,n.get("silent")||(u.on("mousedown",N6),u.on("mousemove",N6)),e&&e.push(u)}var N6=fD(function(n){var e=function $ct(n,t,e){for(var a=n.baseDimIdx,r=1-a,i=n.shape.points,o=n.largeDataIndices,s=[],l=[],c=n.barWidth,d=0,u=i.length/3;d<u;d++){var h=3*d;if(l[a]=c,l[r]=i[h+2],s[a]=i[h+a],s[r]=i[h+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),t>=s[0]&&t<=s[0]+l[0]&&e>=s[1]&&e<=s[1]+l[1])return o[d]}return-1}(this,n.offsetX,n.offsetY);ee(this).dataIndex=e>=0?e:null},30,!1);function U6(n,t,e){if(Jd(e,"cartesian2d")){var a=t,r=e.getArea();return{x:n?a.x:r.x,y:n?r.y:a.y,width:n?a.width:r.width,height:n?r.height:a.height}}var i=t;return{cx:(r=e.getArea()).cx,cy:r.cy,r0:n?r.r0:i.r0,r:n?r.r:i.r,startAngle:n?i.startAngle:0,endAngle:n?i.endAngle:2*Math.PI}}const edt=Kct;var F6=2*Math.PI,bx=Math.PI/180;function V6(n,t){return En(n.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function z6(n,t){var e=V6(n,t),a=n.get("center"),r=n.get("radius");vt(r)||(r=[0,r]);var d,u,i=Ot(e.width,t.getWidth()),o=Ot(e.height,t.getHeight()),s=Math.min(i,o),l=Ot(r[0],s/2),c=Ot(r[1],s/2),h=n.coordinateSystem;if(h){var f=h.dataToPoint(a);d=f[0]||0,u=f[1]||0}else vt(a)||(a=[a,a]),d=Ot(a[0],i)+e.x,u=Ot(a[1],o)+e.y;return{cx:d,cy:u,r0:l,r:c}}function adt(n,t,e){t.eachSeriesByType(n,function(a){var r=a.getData(),i=r.mapDimension("value"),o=V6(a,e),s=z6(a,e),l=s.cx,c=s.cy,d=s.r,u=s.r0,h=-a.get("startAngle")*bx,f=a.get("endAngle"),v=a.get("padAngle")*bx;f="auto"===f?h-F6:-f*bx;var b=a.get("minAngle")*bx+v,x=0;r.each(i,function(rt){!isNaN(rt)&&x++});var S=r.getSum(i),k=Math.PI/(S||x)*2,D=a.get("clockwise"),I=a.get("roseType"),M=a.get("stillShowZeroSum"),R=r.getDataExtent(i);R[0]=0;var N=D?1:-1,U=[h,f],z=N*v/2;sC(U,!D),h=U[0],f=U[1];var B=E6(a);B.startAngle=h,B.endAngle=f,B.clockwise=D;var K=Math.abs(f-h),W=K,Z=0,X=h;if(r.setLayout({viewRect:o,r:d}),r.each(i,function(rt,ot){var st;if(isNaN(rt))r.setItemLayout(ot,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:D,cx:l,cy:c,r0:u,r:I?NaN:d});else{(st="area"!==I?0===S&&M?k:rt*k:K/x)<b?(st=b,W-=b):Z+=rt;var gt=X+N*st,_t=0,Mt=0;v>st?Mt=_t=X+N*st/2:(_t=X+z,Mt=gt-z),r.setItemLayout(ot,{angle:st,startAngle:_t,endAngle:Mt,clockwise:D,cx:l,cy:c,r0:u,r:I?Fe(rt,R,[u,d]):d}),X=gt}}),W<F6&&x)if(W<=.001){var tt=K/x;r.each(i,function(rt,ot){if(!isNaN(rt)){var st=r.getItemLayout(ot);st.angle=tt;var gt=0,_t=0;tt<v?_t=gt=h+N*(ot+.5)*tt:(gt=h+N*ot*tt+z,_t=h+N*(ot+1)*tt-z),st.startAngle=gt,st.endAngle=_t}})}else k=W/Z,X=h,r.each(i,function(rt,ot){if(!isNaN(rt)){var st=r.getItemLayout(ot),gt=st.angle===b?b:rt*k,_t=0,Mt=0;gt<v?Mt=_t=X+N*gt/2:(_t=X+z,Mt=X+N*gt-z),st.startAngle=_t,st.endAngle=Mt,X+=N*gt}})})}var E6=_e();function qA(n){return{seriesType:n,reset:function(t,e){var a=e.findComponents({mainType:"legend"});if(a&&a.length){var r=t.getData();r.filterSelf(function(i){for(var o=r.getName(i),s=0;s<a.length;s++)if(!a[s].isSelected(o))return!1;return!0})}}}}var rdt=Math.PI/180;function q6(n,t,e,a,r,i,o,s,l,c){if(!(n.length<2)){for(var h=n.length,f=0;f<h;f++)if("outer"===n[f].position&&"labelLine"===n[f].labelAlignTo){var v=n[f].label.x-c;n[f].linePoints[1][0]+=v,n[f].label.x=c}uF(n,l,l+o)&&function u(A){for(var b={list:[],maxY:0},x={list:[],maxY:0},S=0;S<A.length;S++)if("none"===A[S].labelAlignTo){var k=A[S],D=k.label.y>e?x:b,I=Math.abs(k.label.y-e);if(I>=D.maxY){var M=k.label.x-t-k.len2*r,R=a+k.len,N=Math.abs(M)<R?Math.sqrt(I*I/(1-M*M/R/R)):R;D.rB=N,D.maxY=I}D.list.push(k)}d(b),d(x)}(n)}function d(A){for(var b=A.rB,x=b*b,S=0;S<A.list.length;S++){var k=A.list[S],D=Math.abs(k.label.y-e),I=a+k.len,M=I*I,R=Math.sqrt(Math.abs((1-D*D/x)*M)),N=t+(R+k.len2)*r,U=N-k.label.x;H6(k,k.targetTextWidth-U*r,!0),k.label.x=N}}}function H6(n,t,e){if(void 0===e&&(e=!1),null==n.labelStyleWidth){var a=n.label,r=a.style,i=n.rect,o=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,c=r.overflow,d=i.width+(o?0:l);if(t<d||e){var u=i.height;if(c&&c.match("break")){a.setStyle("backgroundColor",null),a.setStyle("width",t-l);var h=a.getBoundingRect();a.setStyle("width",Math.ceil(h.width)),a.setStyle("backgroundColor",o)}else{var f=t-l,v=t<d?f:e?f>n.unconstrainedWidth?null:f:null;a.setStyle("width",v)}var A=a.getBoundingRect();i.width=A.width;var b=(a.style.margin||0)+2.1;i.height=A.height+b,i.y-=(i.height-u)/2}}}function uT(n){return"center"===n.position}function odt(n){var a,r,t=n.getData(),e=[],i=!1,o=(n.get("minShowLabelAngle")||0)*rdt,s=t.getLayout("viewRect"),l=t.getLayout("r"),c=s.width,d=s.x,u=s.y,h=s.height;function f(M){M.ignore=!0}t.each(function(M){var R=t.getItemGraphicEl(M),N=R.shape,U=R.getTextContent(),z=R.getTextGuideLine(),B=t.getItemModel(M),K=B.getModel("label"),W=K.get("position")||B.get(["emphasis","label","position"]),Z=K.get("distanceToLabelLine"),X=K.get("alignTo"),tt=Ot(K.get("edgeDistance"),c),rt=K.get("bleedMargin"),ot=B.getModel("labelLine"),st=ot.get("length");st=Ot(st,c);var gt=ot.get("length2");if(gt=Ot(gt,c),Math.abs(N.endAngle-N.startAngle)<o)return q(U.states,f),U.ignore=!0,void(z&&(q(z.states,f),z.ignore=!0));if(function v(M){if(!M.ignore)return!0;for(var R in M.states)if(!1===M.states[R].ignore)return!0;return!1}(U)){var Bt,Qt,Pe,mn,_t=(N.startAngle+N.endAngle)/2,Mt=Math.cos(_t),zt=Math.sin(_t);a=N.cx,r=N.cy;var ue="inside"===W||"inner"===W;if("center"===W)Bt=N.cx,Qt=N.cy,mn="center";else{var Jt=(ue?(N.r+N.r0)/2*Mt:N.r*Mt)+a,me=(ue?(N.r+N.r0)/2*zt:N.r*zt)+r;if(Bt=Jt+3*Mt,Qt=me+3*zt,!ue){var Ht=Jt+Mt*(st+l-N.r),ae=me+zt*(st+l-N.r),rn=Ht+(Mt<0?-1:1)*gt;Bt="edge"===X?Mt<0?d+tt:d+c-tt:rn+(Mt<0?-Z:Z),Qt=ae,Pe=[[Jt,me],[Ht,ae],[rn,ae]]}mn=ue?"center":"edge"===X?Mt>0?"right":"left":Mt>0?"left":"right"}var Xe=Math.PI,fn=0,Zn=K.get("rotate");if(ke(Zn))fn=Zn*(Xe/180);else if("center"===W)fn=0;else if("radial"===Zn||!0===Zn){fn=Mt<0?-_t+Xe:-_t}else if("tangential"===Zn&&"outside"!==W&&"outer"!==W){var or=Math.atan2(Mt,zt);or<0&&(or=2*Xe+or),zt>0&&(or=Xe+or),fn=or-Xe}if(i=!!fn,U.x=Bt,U.y=Qt,U.rotation=fn,U.setStyle({verticalAlign:"middle"}),ue){U.setStyle({align:mn});var uM=U.states.select;uM&&(uM.x+=U.x,uM.y+=U.y)}else{var Jl=U.getBoundingRect().clone();Jl.applyTransform(U.getComputedTransform());var F9=(U.style.margin||0)+2.1;Jl.y-=F9/2,Jl.height+=F9,e.push({label:U,labelLine:z,position:W,len:st,len2:gt,minTurnAngle:ot.get("minTurnAngle"),maxSurfaceAngle:ot.get("maxSurfaceAngle"),surfaceNormal:new ce(Mt,zt),linePoints:Pe,textAlign:mn,labelDistance:Z,labelAlignTo:X,edgeDistance:tt,bleedMargin:rt,rect:Jl,unconstrainedWidth:Jl.width,labelStyleWidth:U.style.width})}R.setTextConfig({inside:ue})}}),!i&&n.get("avoidLabelOverlap")&&function idt(n,t,e,a,r,i,o,s){for(var l=[],c=[],d=Number.MAX_VALUE,u=-Number.MAX_VALUE,h=0;h<n.length;h++){var f=n[h].label;uT(n[h])||(f.x<t?(d=Math.min(d,f.x),l.push(n[h])):(u=Math.max(u,f.x),c.push(n[h])))}for(h=0;h<n.length;h++)if(!uT(v=n[h])&&v.linePoints){if(null!=v.labelStyleWidth)continue;f=v.label;var A=v.linePoints,b=void 0;b="edge"===v.labelAlignTo?f.x<t?A[2][0]-v.labelDistance-o-v.edgeDistance:o+r-v.edgeDistance-A[2][0]-v.labelDistance:"labelLine"===v.labelAlignTo?f.x<t?d-o-v.bleedMargin:o+r-u-v.bleedMargin:f.x<t?f.x-o-v.bleedMargin:o+r-f.x-v.bleedMargin,v.targetTextWidth=b,H6(v,b)}for(q6(c,t,e,a,1,0,i,0,s,u),q6(l,t,e,a,-1,0,i,0,s,d),h=0;h<n.length;h++){var v;if(!uT(v=n[h])&&v.linePoints){f=v.label,A=v.linePoints;var x="edge"===v.labelAlignTo,S=f.style.padding,k=S?S[1]+S[3]:0,D=f.style.backgroundColor?0:k,I=v.rect.width+D,M=A[1][0]-A[2][0];x?f.x<t?A[2][0]=o+v.edgeDistance+I+v.labelDistance:A[2][0]=o+r-v.edgeDistance-I-v.labelDistance:(f.x<t?A[2][0]=f.x+v.labelDistance:A[2][0]=f.x-v.labelDistance,A[1][0]=A[2][0]+M),A[1][1]=A[2][1]=f.y}}}(e,a,r,l,c,h,d,u);for(var A=0;A<e.length;A++){var b=e[A],x=b.label,S=b.labelLine,k=isNaN(x.x)||isNaN(x.y);if(x){x.setStyle({align:b.textAlign}),k&&(q(x.states,f),x.ignore=!0);var D=x.states.select;D&&(D.x+=x.x,D.y+=x.y)}if(S){var I=b.linePoints;k||!I?(q(S.states,f),S.ignore=!0):(lF(I,b.minTurnAngle),Hst(I,b.surfaceNormal,b.maxSurfaceAngle),S.setShape({points:I}),x.__hostTarget.textGuideLineConfig={anchor:new ce(I[0][0],I[0][1])})}}}var sdt=function(n){function t(e,a,r){var i=n.call(this)||this;i.z2=2;var o=new Ce;return i.setTextContent(o),i.updateData(e,a,r,!0),i}return pt(t,n),t.prototype.updateData=function(e,a,r,i){var o=this,s=e.hostModel,l=e.getItemModel(a),c=l.getModel("emphasis"),d=e.getItemLayout(a),u=ft(Zd(l.getModel("itemStyle"),d,!0),d);if(isNaN(u.startAngle))o.setShape(u);else{if(i){o.setShape(u);var h=s.getShallow("animationType");s.ecModel.ssr?(dn(o,{scaleX:0,scaleY:0},s,{dataIndex:a,isFrom:!0}),o.originX=u.cx,o.originY=u.cy):"scale"===h?(o.shape.r=d.r0,dn(o,{shape:{r:d.r}},s,a)):null!=r?(o.setShape({startAngle:r,endAngle:r}),dn(o,{shape:{startAngle:d.startAngle,endAngle:d.endAngle}},s,a)):(o.shape.endAngle=d.startAngle,Te(o,{shape:{endAngle:d.endAngle}},s,a))}else oi(o),Te(o,{shape:u},s,a);o.useStyle(e.getItemVisual(a,"style")),ca(o,l);var f=(d.startAngle+d.endAngle)/2,v=s.get("selectedOffset"),A=Math.cos(f)*v,b=Math.sin(f)*v,x=l.getShallow("cursor");x&&o.attr("cursor",x),this._updateLabel(s,e,a),o.ensureState("emphasis").shape=ft({r:d.r+(c.get("scale")&&c.get("scaleSize")||0)},Zd(c.getModel("itemStyle"),d)),ft(o.ensureState("select"),{x:A,y:b,shape:Zd(l.getModel(["select","itemStyle"]),d)}),ft(o.ensureState("blur"),{shape:Zd(l.getModel(["blur","itemStyle"]),d)});var S=o.getTextGuideLine(),k=o.getTextContent();S&&ft(S.ensureState("select"),{x:A,y:b}),ft(k.ensureState("select"),{x:A,y:b}),An(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))}},t.prototype._updateLabel=function(e,a,r){var i=this,o=a.getItemModel(r),s=o.getModel("labelLine"),l=a.getItemVisual(r,"style"),c=l&&l.fill,d=l&&l.opacity;da(i,Kn(o),{labelFetcher:a.hostModel,labelDataIndex:r,inheritColor:c,defaultOpacity:d,defaultText:e.getFormattedLabel(r,"normal")||a.getName(r)});var u=i.getTextContent();i.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var h=e.get(["label","position"]);if("outside"!==h&&"outer"!==h)i.removeTextGuideLine();else{var f=this.getTextGuideLine();f||(f=new nr,this.setTextGuideLine(f)),VD(this,zD(o),{stroke:c,opacity:Ni(s.get(["lineStyle","opacity"]),d,1)})}},t}(tr),ldt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return pt(t,n),t.prototype.render=function(e,a,r,i){var c,o=e.getData(),s=this._data,l=this.group;if(!s&&o.count()>0){for(var d=o.getItemLayout(0),u=1;isNaN(d&&d.startAngle)&&u<o.count();++u)d=o.getItemLayout(u);d&&(c=d.startAngle)}if(this._emptyCircleSector&&l.remove(this._emptyCircleSector),0===o.count()&&e.get("showEmptyCircle")){var h=E6(e),f=new tr({shape:ft(z6(e,r),h)});f.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=f,l.add(f)}o.diff(s).add(function(v){var A=new sdt(o,v,c);o.setItemGraphicEl(v,A),l.add(A)}).update(function(v,A){var b=s.getItemGraphicEl(A);b.updateData(o,v,c),b.off("click"),l.add(b),o.setItemGraphicEl(v,b)}).remove(function(v){eA(s.getItemGraphicEl(v),e,v)}).execute(),odt(e),"expansion"!==e.get("animationTypeUpdate")&&(this._data=o)},t.prototype.dispose=function(){},t.prototype.containPoint=function(e,a){var i=a.getData().getItemLayout(0);if(i){var o=e[0]-i.cx,s=e[1]-i.cy,l=Math.sqrt(o*o+s*s);return l<=i.r&&l>=i.r0}},t.type="pie",t}(nn);const cdt=ldt;function _m(n,t,e){t=vt(t)&&{coordDimensions:t}||ft({encodeDefine:n.getEncode()},t);var a=n.getSource(),r=Am(a,t).dimensions,i=new Va(r,n);return i.initData(a,e),i}var ddt=function(){function n(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return n.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},n.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},n.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},n.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},n}();const HA=ddt;var udt=_e(),pdt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}
vendor: 4,110 bytes, line 1
1return pt(t,n),t.prototype.init=function(e){n.prototype.init.apply(this,arguments),this.legendVisualProvider=new HA(Ut(this.getData,this),Ut(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.mergeOption=function(){n.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return _m(this,{coordDimensions:["value"],encodeDefaulter:se(UC,this)})},t.prototype.getDataParams=function(e){var a=this.getData(),r=udt(a),i=r.seats;if(!i){var o=[];a.each(a.mapDimension("value"),function(l){o.push(l)}),i=r.seats=wL(o,a.hostModel.get("percentPrecision"))}var s=n.prototype.getDataParams.call(this,e);return s.percent=i[e]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(e){ld(e,"labelLine",["show"]);var a=e.labelLine,r=e.emphasis.labelLine;a.show=a.show&&e.label.show,r.show=r.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(hn);const hdt=pdt;var gdt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return pt(t,n),t.prototype.getInitialData=function(e,a){return os(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){return this.option.progressive??(this.option.large?5e3:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){return this.option.progressiveThreshold??(this.option.large?1e4:this.get("progressiveThreshold"))},t.prototype.brushSelector=function(e,a,r){return r.point(a.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(hn);const vdt=gdt;var Adt=function n(){},ydt=function(n){function t(e){var a=n.call(this,e)||this;return a._off=0,a.hoverDataIdx=-1,a}return pt(t,n),t.prototype.getDefaultShape=function(){return new Adt},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,a){var u,r=a.points,i=a.size,o=this.symbolProxy,s=o.shape,l=e.getContext?e.getContext():e,c=l&&i[0]<4,d=this.softClipShape;if(c)this._ctx=l;else{for(this._ctx=null,u=this._off;u<r.length;){var h=r[u++],f=r[u++];isNaN(h)||isNaN(f)||d&&!d.contain(h,f)||(s.x=h-i[0]/2,s.y=f-i[1]/2,s.width=i[0],s.height=i[1],o.buildPath(e,s,!0))}this.incremental&&(this._off=u,this.notClear=!0)}},t.prototype.afterBrush=function(){var s,e=this.shape,a=e.points,r=e.size,i=this._ctx,o=this.softClipShape;if(i){for(s=this._off;s<a.length;){var l=a[s++],c=a[s++];isNaN(l)||isNaN(c)||o&&!o.contain(l,c)||i.fillRect(l-r[0]/2,c-r[1]/2,r[0],r[1])}this.incremental&&(this._off=s,this.notClear=!0)}},t.prototype.findDataIndex=function(e,a){for(var r=this.shape,i=r.points,o=r.size,s=Math.max(o[0],4),l=Math.max(o[1],4),c=i.length/2-1;c>=0;c--){var d=2*c,u=i[d]-s/2,h=i[d+1]-l/2;if(e>=u&&a>=h&&e<=u+s&&a<=h+l)return c}return-1},t.prototype.contain=function(e,a){var r=this.transformCoordToLocal(e,a),i=this.getBoundingRect
vendor: 2,074 bytes, line 1
1();return e=r[0],a=r[1],i.contain(e,a)?(this.hoverDataIdx=this.findDataIndex(e,a))>=0:(this.hoverDataIdx=-1,!1)},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var a=this.shape,r=a.points,i=a.size,o=i[0],s=i[1],l=1/0,c=1/0,d=-1/0,u=-1/0,h=0;h<r.length;){var f=r[h++],v=r[h++];l=Math.min(f,l),d=Math.max(f,d),c=Math.min(v,c),u=Math.max(v,u)}e=this._rect=new de(l-o/2,c-s/2,d-l+o,u-c+s)}return e},t}(fe),bdt=function(){function n(){this.group=new te}return n.prototype.updateData=function(t,e){this._clear();var a=this._create();a.setShape({points:t.getLayout("points")}),this._setCommon(a,t,e)},n.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild(function(a){if(null!=a.startIndex){var r=2*(a.endIndex-a.startIndex),i=4*a.startIndex*2;e=new Float32Array(e.buffer,i,r)}a.setShape("points",e),a.reset()})},n.prototype.incrementalPrepareUpdate=function(t){this._clear()},n.prototype.incrementalUpdate=function(t,e,a){var r=this._newAdded[0],i=e.getLayout("points"),o=r&&r.shape.points;if(o&&o.length<2e4){var s=o.length,l=new Float32Array(s+i.length);l.set(o),l.set(i,s),r.endIndex=t.end,r.setShape({points:l})}else{this._newAdded=[];var c=this._create();c.startIndex=t.start,c.endIndex=t.end,c.incremental=!0,c.setShape({points:i}),this._setCommon(c,e,a)}},n.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},n.prototype._create=function(){var t=new ydt({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},n.prototype._setCommon=function(t,e,a){var r=e.hostModel;a=a||{};var i=e.getVisual("symbolSize");t.setShape("size",i instanceof Array?i:[i,i]),t.softClipShape=a.clipShape||null,t.symbolProxy=Ln(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(r.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var s=e.getVisual("style"),l=s&&s.fill;l&&t.setColor(l);var c=ee(t);c.seriesIndex=r.seriesIndex,t.on("mousemove",function(d){c.dataIndex=null;var u=t.hoverDataIdx;u>
vendor: 38,190 bytes, line 1
1=0&&(c.dataIndex=u+(t.startIndex||0))})},n.prototype.remove=function(){this._clear()},n.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},n}();const _dt=bdt;var xdt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r){var i=e.getData();this._updateSymbolDraw(i,e).updateData(i,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,a,r){var i=e.getData();this._updateSymbolDraw(i,e).incrementalPrepareUpdate(i),this._finished=!1},t.prototype.incrementalRender=function(e,a,r){this._symbolDraw.incrementalUpdate(e,a.getData(),{clipShape:this._getClipShape(a)}),this._finished=e.end===a.getData().count()},t.prototype.updateTransform=function(e,a,r){var i=e.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var o=EA("").reset(e,a,r);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){if(e.get("clip",!0)){var a=e.coordinateSystem;return a&&a.getArea&&a.getArea(.1)}},t.prototype._updateSymbolDraw=function(e,a){var r=this._symbolDraw,o=a.pipelineContext.large;return(!r||o!==this._isLargeDraw)&&(r&&r.remove(),r=this._symbolDraw=o?new _dt:new VA,this._isLargeDraw=o,this.group.removeAll()),this.group.add(r.group),r},t.prototype.remove=function(e,a){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(nn);const Sdt=xdt;var wdt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(De);const kdt=wdt;var BA=function(){function n(){}return n.prototype.getNeedCrossZero=function(){return!this.option.scale},n.prototype.getCoordSysModel=function(){},n}(),pT=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",On).models[0]},t.type="cartesian2dAxis",t}(De);Mn(pT,BA);var j6={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},Cdt=le({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},j6),hT=le({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},j6);const G6={category:Cdt,value:hT,time:le({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},hT),log:Kt({logBase:10},hT)};var Pdt=0,Idt=function(){function n(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Pdt}return n.createByAxisModel=function(t){var e=t.option,a=e.data,r=a&&At(a,Mdt);return new n({categories:r,needCollect:!r,deduplication:!1!==e.dedplication})},n.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},n.prototype.parseAndCollect=function(t){var e,a=this._needCollect;if(!Lt(t)&&!a)return t;if(a&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var r=this._getOrCreateMap();return null==(e=r.get(t))&&(a?(e=this.categories.length,this.categories[e]=t,r.set(t,e)):e=NaN),e},n.prototype._getOrCreateMap=function(){return this._map||(this._map=Et(this.categories))},n}();function Mdt(n){return Xt(n)&&null!=n.value?n.value:n+""}const mT=Idt;var Odt={value:1,category:1,time:1,log:1};function xm(n,t,e,a){q(Odt,function(r,i){var o=le(le({},G6[i],!0),a,!0),s=function(l){function c(){var d=null!==l&&l.apply(this,arguments)||this;return d.type=t+"Axis."+i,d}return pt(c,l),c.prototype.mergeDefaultAndTheme=function(d,u){var h=iA(this),f=h?tm(d):{};le(d,u.getTheme().get(i+"Axis")),le(d,this.getDefaultOption()),d.type=K6(d),h&&Cl(d,f,h)},c.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=mT.createByAxisModel(this))},c.prototype.getCategories=function(d){var u=this.option;if("category"===u.type)return d?u.data:this.__ordinalMeta.categories},c.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},c.type=t+"Axis."+i,c.defaultOption=o,c}(e);n.registerComponentModel(s)}),n.registerSubTypeDefaulter(t+"Axis",K6)}function K6(n){return n.type||(n.data?"category":"value")}var W6=function(){function n(t){this._setting=t||{},this._extent=[1/0,-1/0]}return n.prototype.getSetting=function(t){return this._setting[t]},n.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},n.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},n.prototype.getExtent=function(){return this._extent.slice()},n.prototype.setExtent=function(t,e){var a=this._extent;isNaN(t)||(a[0]=t),isNaN(e)||(a[1]=e)},n.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},n.prototype.isBlank=function(){return this._isBlank},n.prototype.setBlank=function(t){this._isBlank=t},n}();Y0(W6);const ss=W6;function fT(n){return"interval"===n.type||"log"===n.type}function Rdt(n,t,e,a){var r={},i=n[1]-n[0],o=r.interval=DL(i/t,!0);null!=e&&o<e&&(o=r.interval=e),null!=a&&o>a&&(o=r.interval=a);var s=r.intervalPrecision=J6(o);return function Ldt(n,t){!isFinite(n[0])&&(n[0]=t[0]),!isFinite(n[1])&&(n[1]=t[1]),Z6(n,0,t),Z6(n,1,t),n[0]>n[1]&&(n[0]=n[1])}(r.niceTickExtent=[wn(Math.ceil(n[0]/o)*o,s),wn(Math.floor(n[1]/o)*o,s)],n),r}function gT(n){var t=Math.pow(10,q2(n)),e=n/t;return e?2===e?e=3:3===e?e=5:e*=2:e=1,wn(e*t)}function J6(n){return Ei(n)+2}function Z6(n,t,e){n[t]=Math.max(Math.min(n[t],e[1]),e[0])}function _x(n,t){return n>=t[0]&&n<=t[1]}function xx(n,t){return t[1]===t[0]?.5:(n-t[0])/(t[1]-t[0])}function Sx(n,t){return n*(t[1]-t[0])+t[0]}var X6=function(n){function t(e){var a=n.call(this,e)||this;a.type="ordinal";var r=a.getSetting("ordinalMeta");return r||(r=new mT({})),vt(r)&&(r=new mT({categories:At(r,function(i){return Xt(i)?i.value:i})})),a._ordinalMeta=r,a._extent=a.getSetting("extent")||[0,r.categories.length-1],a}return pt(t,n),t.prototype.parse=function(e){return null==e?NaN:Lt(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return _x(e=this.parse(e),this._extent)&&null!=this._ordinalMeta.categories[e]},t.prototype.normalize=function(e){return xx(e=this._getTickNumber(this.parse(e)),this._extent)},t.prototype.scale=function(e){return e=Math.round(Sx(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){for(var e=[],a=this._extent,r=a[0];r<=a[1];)e.push({value:r}),r++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(null!=e){for(var a=e.ordinalNumbers,r=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,l=Math.min(s,a.length);o<l;++o){var c=a[o];r[o]=c,i[c]=o}for(var d=0;o<s;++o){for(;null!=i[d];)d++;r.push(d),i[d]=o}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},t.prototype._getTickNumber=function(e){var a=this._ticksByOrdinalNumber;return a&&e>=0&&e<a.length?a[e]:e},t.prototype.getRawOrdinalNumber=function(e){var a=this._ordinalNumbersByTick;return a&&e>=0&&e<a.length?a[e]:e},t.prototype.getLabel=function(e){if(!this.isBlank()){var a=this.getRawOrdinalNumber(e.value),r=this._ordinalMeta.categories[a];return null==r?"":r+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(e,a){this.unionExtent(e.getApproximateExtent(a))},t.prototype.isInExtentRange=function(e){return e=this._getTickNumber(e),this._extent[0]<=e&&this._extent[1]>=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(ss);ss.registerClass(X6);const vT=X6;var Xd=wn,Y6=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return pt(t,n),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return _x(e,this._extent)},t.prototype.normalize=function(e){return xx(e,this._extent)},t.prototype.scale=function(e){return Sx(e,this._extent)},t.prototype.setExtent=function(e,a){var r=this._extent;isNaN(e)||(r[0]=parseFloat(e)),isNaN(a)||(r[1]=parseFloat(a))},t.prototype.unionExtent=function(e){var a=this._extent;e[0]<a[0]&&(a[0]=e[0]),e[1]>a[1]&&(a[1]=e[1]),this.setExtent(a[0],a[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=J6(e)},t.prototype.getTicks=function(e){var a=this._interval,r=this._extent,i=this._niceExtent,o=this._intervalPrecision,s=[];if(!a)return s;r[0]<i[0]&&(e?s.push({value:Xd(i[0]-a,o)}):s.push({value:r[0]}));for(var c=i[0];c<=i[1]&&(s.push({value:c}),(c=Xd(c+a,o))!==s[s.length-1].value);)if(s.length>1e4)return[];var d=s.length?s[s.length-1].value:i[1];return r[1]>d&&(e?s.push({value:Xd(d+a,o)}):s.push({value:r[1]})),s},t.prototype.getMinorTicks=function(e){for(var a=this.getTicks(!0),r=[],i=this.getExtent(),o=1;o<a.length;o++){for(var s=a[o],l=a[o-1],c=0,d=[],h=(s.value-l.value)/e;c<e-1;){var f=Xd(l.value+(c+1)*h);f>i[0]&&f<i[1]&&d.push(f),c++}r.push(d)}return r},t.prototype.getLabel=function(e,a){if(null==e)return"";var r=a&&a.precision;return null==r?r=Ei(e.value)||0:"auto"===r&&(r=this._intervalPrecision),o5(Xd(e.value,r,!0))},t.prototype.calcNiceTicks=function(e,a,r){e=e||5;var i=this._extent,o=i[1]-i[0];if(isFinite(o)){o<0&&(o=-o,i.reverse());var s=Rdt(i,e,a,r);this._intervalPrecision=s.intervalPrecision,this._interval=s.interval,this._niceExtent=s.niceTickExtent}},t.prototype.calcNiceExtent=function(e){var a=this._extent;if(a[0]===a[1])if(0!==a[0]){var r=Math.abs(a[0]);e.fixMax||(a[1]+=r/2),a[0]-=r/2}else a[1]=1;var i=a[1]-a[0];isFinite(i)||(a[0]=0,a[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var o=this._interval;e.fixMin||(a[0]=Xd(Math.floor(a[0]/o)*o)),e.fixMax||(a[1]=Xd(Math.ceil(a[1]/o)*o))},t.prototype.setNiceExtent=function(e,a){this._niceExtent=[e,a]},t.type="interval",t}(ss);ss.registerClass(Y6);const Fl=Y6;var Q6=function(n){function t(e){var a=n.call(this,e)||this;return a.type="time",a}return pt(t,n),t.prototype.getLabel=function(e){var a=this.getSetting("useUTC");return f_(e.value,X3[function Qat(n){switch(n){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(Yh(this._minLevelUnit))]||X3.second,a,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(e,a,r){var i=this.getSetting("useUTC");return function $at(n,t,e,a,r){var i=null;if(Lt(e))i=e;else if(jt(e))i=e(n.value,t,{level:n.level});else{var o=ft({},aA);if(n.level>0)for(var s=0;s<MC.length;++s)o[MC[s]]="{primary|"+o[MC[s]]+"}";var l=e?!1===e.inherit?e:Kt(e,o):o,c=Q3(n.value,r);if(l[c])i=l[c];else if(l.inherit){for(s=Y3.indexOf(c)-1;s>=0;--s)if(l[c]){i=l[c];break}i=i||o.none}if(vt(i)){var u=null==n.level?0:n.level>=0?n.level:i.length+n.level;i=i[u=Math.min(u,i.length-1)]}}return f_(new Date(n.value),i,r,a)}(e,a,r,this.getSetting("locale"),i)},t.prototype.getTicks=function(){var e=this._interval,a=this._extent,r=[];if(!e)return r;r.push({value:a[0],level:0});var i=this.getSetting("useUTC"),o=function Hdt(n,t,e,a){var r=1e4,i=Y3,o=0;function s(z,B,K,W,Z,X,tt){for(var rt=new Date(B),ot=B,st=rt[W]();ot<K&&ot<=a[1];)tt.push({value:ot}),st+=z,rt[Z](st),ot=rt.getTime();tt.push({value:ot,notAdd:!0})}function l(z,B,K){var W=[],Z=!B.length;if(!function Udt(n,t,e,a){var r=qi(t),i=qi(e),o=function(v){return $3(r,v,a)===$3(i,v,a)},s=function(){return o("year")},l=function(){return s()&&o("month")},c=function(){return l()&&o("day")},d=function(){return c()&&o("hour")},u=function(){return d()&&o("minute")},h=function(){return u()&&o("second")},f=function(){return h()&&o("millisecond")};switch(n){case"year":return s();case"month":return l();case"day":return c();case"hour":return d();case"minute":return u();case"second":return h();case"millisecond":return f()}}(Yh(z),a[0],a[1],e)){Z&&(B=[{value:qdt(new Date(a[0]),z,e)},{value:a[1]}]);for(var X=0;X<B.length-1;X++){var tt=B[X].value,rt=B[X+1].value;if(tt!==rt){var ot=void 0,st=void 0,gt=void 0,_t=!1;switch(z){case"year":ot=Math.max(1,Math.round(t/Rr/365)),st=OC(e),gt=trt(e);break;case"half-year":case"quarter":case"month":ot=Vdt(t),st=Qh(e),gt=t5(e);break;case"week":case"half-week":case"day":ot=Fdt(t,31),st=g_(e),gt=e5(e),_t=!0;break;case"half-day":case"quarter-day":case"hour":ot=zdt(t),st=rA(e),gt=n5(e);break;case"minute":ot=$6(t,!0),st=v_(e),gt=a5(e);break;case"second":ot=$6(t,!1),st=A_(e),gt=r5(e);break;case"millisecond":ot=Edt(t),st=y_(e),gt=i5(e)}s(ot,tt,rt,st,gt,_t,W),"year"===z&&K.length>1&&0===X&&K.unshift({value:K[0].value-ot})}}for(X=0;X<W.length;X++)K.push(W[X]);return W}}for(var c=[],d=[],u=0,h=0,f=0;f<i.length&&o++<r;++f){var v=Yh(i[f]);if(Yat(i[f]))if(l(i[f],c[c.length-1]||[],d),v!==(i[f+1]?Yh(i[f+1]):null)){if(d.length){h=u,d.sort(function(z,B){return z.value-B.value});for(var b=[],x=0;x<d.length;++x){var S=d[x].value;(0===x||d[x-1].value!==S)&&(b.push(d[x]),S>=a[0]&&S<=a[1]&&u++)}var k=(a[1]-a[0])/t;if(u>1.5*k&&h>k/1.5||(c.push(b),u>k||n===i[f]))break}d=[]}}var D=Ne(At(c,function(z){return Ne(z,function(B){return B.value>=a[0]&&B.value<=a[1]&&!B.notAdd})}),function(z){return z.length>0}),I=[],M=D.length-1;for(f=0;f<D.length;++f)for(var R=D[f],N=0;N<R.length;++N)I.push({value:R[N].value,level:M-f});I.sort(function(z,B){return z.value-B.value});var U=[];for(f=0;f<I.length;++f)(0===f||I[f].value!==I[f-1].value)&&U.push(I[f]);return U}(this._minLevelUnit,this._approxInterval,i,a);return(r=r.concat(o)).push({value:a[1],level:0}),r},t.prototype.calcNiceExtent=function(e){var a=this._extent;if(a[0]===a[1]&&(a[0]-=Rr,a[1]+=Rr),a[1]===-1/0&&a[0]===1/0){var r=new Date;a[1]=+new Date(r.getFullYear(),r.getMonth(),r.getDate()),a[0]=a[1]-Rr}this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},t.prototype.calcNiceTicks=function(e,a,r){e=e||10;var i=this._extent,o=i[1]-i[0];this._approxInterval=o/e,null!=a&&this._approxInterval<a&&(this._approxInterval=a),null!=r&&this._approxInterval>r&&(this._approxInterval=r);var s=kx.length,l=Math.min(function(n,t,e,a){for(;e<a;){var r=e+a>>>1;n[r][1]<t?e=r+1:a=r}return e}(kx,this._approxInterval,0,s),s-1);this._interval=kx[l][1],this._minLevelUnit=kx[Math.max(l-1,0)][0]},t.prototype.parse=function(e){return ke(e)?e:+qi(e)},t.prototype.contain=function(e){return _x(this.parse(e),this._extent)},t.prototype.normalize=function(e){return xx(this.parse(e),this._extent)},t.prototype.scale=function(e){return Sx(e,this._extent)},t.type="time",t}(Fl),kx=[["second",1e3],["minute",6e4],["hour",nA],["quarter-day",6*nA],["half-day",12*nA],["day",1.2*Rr],["half-week",3.5*Rr],["week",7*Rr],["month",31*Rr],["quarter",95*Rr],["half-year",Z3/2],["year",Z3]];function Fdt(n,t){return(n/=Rr)>16?16:n>7.5?7:n>3.5?4:n>1.5?2:1}function Vdt(n){return(n/=2592e6)>6?6:n>3?3:n>2?2:1}function zdt(n){return(n/=nA)>12?12:n>6?6:n>3.5?4:n>2?2:1}function $6(n,t){return(n/=t?6e4:1e3)>30?30:n>20?20:n>15?15:n>10?10:n>5?5:n>2?2:1}function Edt(n){return DL(n,!0)}function qdt(n,t,e){var a=new Date(n);switch(Yh(t)){case"year":case"month":a[t5(e)](0);case"day":a[e5(e)](1);case"hour":a[n5(e)](0);case"minute":a[a5(e)](0);case"second":a[r5(e)](0),a[i5(e)](0)}return a.getTime()}ss.registerClass(Q6);const tV=Q6;var eV=ss.prototype,jA=Fl.prototype,Bdt=wn,jdt=Math.floor,Gdt=Math.ceil,Cx=Math.pow,mi=Math.log,AT=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Fl,e._interval=0,e}return pt(t,n),t.prototype.getTicks=function(e){var a=this._originalScale,r=this._extent,i=a.getExtent();return At(jA.getTicks.call(this,e),function(s){var l=s.value,c=wn(Cx(this.base,l));return c=l===r[0]&&this._fixMin?Dx(c,i[0]):c,{value:c=l===r[1]&&this._fixMax?Dx(c,i[1]):c}},this)},t.prototype.setExtent=function(e,a){var r=mi(this.base);e=mi(Math.max(0,e))/r,a=mi(Math.max(0,a))/r,jA.setExtent.call(this,e,a)},t.prototype.getExtent=function(){var e=this.base,a=eV.getExtent.call(this);a[0]=Cx(e,a[0]),a[1]=Cx(e,a[1]);var i=this._originalScale.getExtent();return this._fixMin&&(a[0]=Dx(a[0],i[0])),this._fixMax&&(a[1]=Dx(a[1],i[1])),a},t.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var a=this.base;e[0]=mi(e[0])/mi(a),e[1]=mi(e[1])/mi(a),eV.unionExtent.call(this,e)},t.prototype.unionExtentFromData=function(e,a){this.unionExtent(e.getApproximateExtent(a))},t.prototype.calcNiceTicks=function(e){e=e||10;var a=this._extent,r=a[1]-a[0];if(!(r===1/0||r<=0)){var i=function int(n){return Math.pow(10,q2(n))}(r);for(e/r*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var s=[wn(Gdt(a[0]/i)*i),wn(jdt(a[1]/i)*i)];this._interval=i,this._niceExtent=s}},t.prototype.calcNiceExtent=function(e){jA.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return _x(e=mi(e)/mi(this.base),this._extent)},t.prototype.normalize=function(e){return xx(e=mi(e)/mi(this.base),this._extent)},t.prototype.scale=function(e){return e=Sx(e,this._extent),Cx(this.base,e)},t.type="log",t}(ss),nV=AT.prototype;function Dx(n,t){return Bdt(n,Ei(t))}nV.getMinorTicks=jA.getMinorTicks,nV.getLabel=jA.getLabel,ss.registerClass(AT);const Kdt=AT;var Wdt=function(){function n(t,e,a){this._prepareParams(t,e,a)}return n.prototype._prepareParams=function(t,e,a){a[1]<a[0]&&(a=[NaN,NaN]),this._dataMin=a[0],this._dataMax=a[1];var r=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var i=e.get("min",!0);null==i&&(i=e.get("startValue",!0));var o=this._modelMinRaw=i;jt(o)?this._modelMinNum=Tx(t,o({min:a[0],max:a[1]})):"dataMin"!==o&&(this._modelMinNum=Tx(t,o));var s=this._modelMaxRaw=e.get("max",!0);if(jt(s)?this._modelMaxNum=Tx(t,s({min:a[0],max:a[1]})):"dataMax"!==s&&(this._modelMaxNum=Tx(t,s)),r)this._axisDataLen=e.getCategories().length;else{var l=e.get("boundaryGap"),c=vt(l)?l:[l||0,l||0];"boolean"==typeof c[0]||"boolean"==typeof c[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[ii(c[0],1),ii(c[1],1)]}},n.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,a=this._dataMax,r=this._axisDataLen,i=this._boundaryGapInner,o=t?null:a-e||Math.abs(e),s="dataMin"===this._modelMinRaw?e:this._modelMinNum,l="dataMax"===this._modelMaxRaw?a:this._modelMaxNum,c=null!=s,d=null!=l;null==s&&(s=t?r?0:NaN:e-i[0]*o),null==l&&(l=t?r?r-1:NaN:a+i[1]*o),(null==s||!isFinite(s))&&(s=NaN),(null==l||!isFinite(l))&&(l=NaN);var u=Sv(s)||Sv(l)||t&&!r;this._needCrossZero&&(s>0&&l>0&&!c&&(s=0),s<0&&l<0&&!d&&(l=0));var h=this._determinedMin,f=this._determinedMax;return null!=h&&(s=h,c=!0),null!=f&&(l=f,d=!0),{min:s,max:l,minFixed:c,maxFixed:d,isBlank:u}},n.prototype.modifyDataMinMax=function(t,e){this[Zdt[t]]=e},n.prototype.setDeterminedMinMax=function(t,e){this[Jdt[t]]=e},n.prototype.freeze=function(){this.frozen=!0},n}(),Jdt={min:"_determinedMin",max:"_determinedMax"},Zdt={min:"_dataMin",max:"_dataMax"};function aV(n,t,e){var a=n.rawExtentInfo;return a||(a=new Wdt(n,t,e),n.rawExtentInfo=a,a)}function Tx(n,t){return null==t?null:Sv(t)?NaN:n.parse(t)}function rV(n,t){var e=n.type,a=aV(n,t,n.getExtent()).calculate();n.setBlank(a.isBlank);var r=a.min,i=a.max,o=t.ecModel;if(o&&"time"===e){var s=A6("bar",o),l=!1;if(q(s,function(u){l=l||u.getBaseAxis()===t.axis}),l){var c=y6(s),d=function Xdt(n,t,e,a){var r=e.axis.getExtent(),i=Math.abs(r[1]-r[0]),o=function Fct(n,t,e){if(n&&t){var a=n[lT(t)];return null!=a&&null!=e?a[sT(e)]:a}}(a,e.axis);if(void 0===o)return{min:n,max:t};var s=1/0;q(o,function(f){s=Math.min(f.offset,s)});var l=-1/0;q(o,function(f){l=Math.max(f.offset+f.width,l)}),s=Math.abs(s),l=Math.abs(l);var c=s+l,d=t-n,h=d/(1-(s+l)/i)-d;return{min:n-=h*(s/c),max:t+=h*(l/c)}}(r,i,t,c);r=d.min,i=d.max}}return{extent:[r,i],fixMin:a.minFixed,fixMax:a.maxFixed}}function Sm(n,t){var e=t,a=rV(n,e),r=a.extent,i=e.get("splitNumber");n instanceof Kdt&&(n.base=e.get("logBase"));var o=n.type,s=e.get("interval"),l="interval"===o||"time"===o;n.setExtent(r[0],r[1]),n.calcNiceExtent({splitNumber:i,fixMin:a.fixMin,fixMax:a.fixMax,minInterval:l?e.get("minInterval"):null,maxInterval:l?e.get("maxInterval"):null}),null!=s&&n.setInterval&&n.setInterval(s)}function Px(n,t){if(t=t||n.get("type"))switch(t){case"category":return new vT({ordinalMeta:n.getOrdinalMeta?n.getOrdinalMeta():n.getCategories(),extent:[1/0,-1/0]});case"time":return new tV({locale:n.ecModel.getLocaleModel(),useUTC:n.ecModel.get("useUTC")});default:return new(ss.getClass(t)||Fl)}}function wm(n){var a,t=n.getLabelModel().get("formatter"),e="category"===n.type?n.scale.getExtent()[0]:null;return"time"===n.scale.type?(a=t,function(r,i){return n.scale.getFormattedLabel(r,i,a)}):Lt(t)?function(a){return function(r){var i=n.scale.getLabel(r);return a.replace("{value}",i??"")}}(t):jt(t)?function(a){return function(r,i){return null!=e&&(i=r.value-e),a(yT(n,r),i,null!=r.level?{level:r.level}:null)}}(t):function(a){return n.scale.getLabel(a)}}function yT(n,t){return"category"===n.type?n.scale.getLabel(t):t.value}function $dt(n,t){var e=t*Math.PI/180,a=n.width,r=n.height,i=a*Math.abs(Math.cos(e))+Math.abs(r*Math.sin(e)),o=a*Math.abs(Math.sin(e))+Math.abs(r*Math.cos(e));return new de(n.x,n.y,i,o)}function bT(n){return n.get("interval")??"auto"}function iV(n){return"category"===n.type&&0===bT(n.getLabelModel())}function Ix(n,t){var e={};return q(n.mapDimensionsAll(t),function(a){e[t6(n,a)]=!0}),ve(e)}var eut=function(){function n(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return n.prototype.getAxis=function(t){return this._axes[t]},n.prototype.getAxes=function(){return At(this._dimList,function(t){return this._axes[t]},this)},n.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Ne(this.getAxes(),function(e){return e.scale.type===t})},n.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},n}();var _T=["x","y"];function oV(n){return"interval"===n.type||"time"===n.type}var aut=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=_T,e}return pt(t,n),t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,a=this.getAxis("y").scale;if(oV(e)&&oV(a)){var r=e.getExtent(),i=a.getExtent(),o=this.dataToPoint([r[0],i[0]]),s=this.dataToPoint([r[1],i[1]]),l=r[1]-r[0],c=i[1]-i[0];if(l&&c){var d=(s[0]-o[0])/l,u=(s[1]-o[1])/c,h=o[0]-r[0]*d,f=o[1]-i[0]*u,v=this._transform=[d,0,0,u,h,f];this._invTransform=Lh([],v)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var a=this.getAxis("x"),r=this.getAxis("y");return a.contain(a.toLocalCoord(e[0]))&&r.contain(r.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,a){var r=this.dataToPoint(e),i=this.dataToPoint(a),o=this.getArea(),s=new de(r[0],r[1],i[0]-r[0],i[1]-r[1]);return o.intersect(s)},t.prototype.dataToPoint=function(e,a,r){r=r||[];var i=e[0],o=e[1];if(this._transform&&null!=i&&isFinite(i)&&null!=o&&isFinite(o))return sa(r,e,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return r[0]=s.toGlobalCoord(s.dataToCoord(i,a)),r[1]=l.toGlobalCoord(l.dataToCoord(o,a)),r},t.prototype.clampData=function(e,a){var r=this.getAxis("x").scale,i=this.getAxis("y").scale,o=r.getExtent(),s=i.getExtent(),l=r.parse(e[0]),c=i.parse(e[1]);return(a=a||[])[0]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),a[1]=Math.min(Math.max(Math.min(s[0],s[1]),c),Math.max(s[0],s[1])),a},t.prototype.pointToData=function(e,a){var r=[];if(this._invTransform)return sa(r,e,this._invTransform);var i=this.getAxis("x"),o=this.getAxis("y");return r[0]=i.coordToData(i.toLocalCoord(e[0]),a),r[1]=o.coordToData(o.toLocalCoord(e[1]),a),r},t.prototype.getOtherAxis=function(e){return this.getAxis("x"===e.dim?"y":"x")},t.prototype.getArea=function(e){e=e||0;var a=this.getAxis("x").getGlobalExtent(),r=this.getAxis("y").getGlobalExtent(),i=Math.min(a[0],a[1])-e,o=Math.min(r[0],r[1])-e,s=Math.max(a[0],a[1])-i+e,l=Math.max(r[0],r[1])-o+e;return new de(i,o,s,l)},t}(eut);const rut=aut;var GA=_e();function sV(n,t){var e=At(t,function(a){return n.scale.parse(a)});return"time"===n.type&&e.length>0&&(e.sort(),e.unshift(e[0]),e.push(e[e.length-1])),e}function iut(n){var t=n.getLabelModel().get("customValues");if(t){var e=wm(n),a=n.scale.getExtent();return{labels:At(Ne(sV(n,t),function(o){return o>=a[0]&&o<=a[1]}),function(o){var s={value:o};return{formattedLabel:e(s),rawLabel:n.scale.getLabel(s),tickValue:o}})}}return"category"===n.type?function sut(n){var t=n.getLabelModel(),e=lV(n,t);return!t.get("show")||n.scale.isBlank()?{labels:[],labelCategoryInterval:e.labelCategoryInterval}:e}(n):function cut(n){var t=n.scale.getTicks(),e=wm(n);return{labels:At(t,function(a,r){return{level:a.level,formattedLabel:e(a,r),rawLabel:n.scale.getLabel(a),tickValue:a.value}})}}(n)}function out(n,t){var e=n.getTickModel().get("customValues");if(e){var a=n.scale.getExtent();return{ticks:Ne(sV(n,e),function(i){return i>=a[0]&&i<=a[1]})}}return"category"===n.type?function lut(n,t){var i,o,e=cV(n,"ticks"),a=bT(t),r=dV(e,a);if(r)return r;if((!t.get("show")||n.scale.isBlank())&&(i=[]),jt(a))i=hV(n,a,!0);else if("auto"===a){var s=lV(n,n.getLabelModel());o=s.labelCategoryInterval,i=At(s.labels,function(l){return l.tickValue})}else i=pV(n,o=a,!0);return uV(e,a,{ticks:i,tickCategoryInterval:o})}(n,t):{ticks:At(n.scale.getTicks(),function(i){return i.value})}}function lV(n,t){var i,o,e=cV(n,"labels"),a=bT(t),r=dV(e,a);return r||(jt(a)?i=hV(n,a):(o="auto"===a?function dut(n){return GA(n).autoInterval??(GA(n).autoInterval=n.calculateCategoryInterval())}(n):a,i=pV(n,o)),uV(e,a,{labels:i,labelCategoryInterval:o}))}function cV(n,t){return GA(n)[t]||(GA(n)[t]=[])}function dV(n,t){for(var e=0;e<n.length;e++)if(n[e].key===t)return n[e].value}function uV(n,t,e){return n.push({key:t,value:e}),e}function pV(n,t,e){var a=wm(n),r=n.scale,i=r.getExtent(),o=n.getLabelModel(),s=[],l=Math.max((t||0)+1,1),c=i[0],d=r.count();0!==c&&l>1&&d/l>2&&(c=Math.round(Math.ceil(c/l)*l));var u=iV(n),h=o.get("showMinLabel")||u,f=o.get("showMaxLabel")||u;h&&c!==i[0]&&A(i[0]);for(var v=c;v<=i[1];v+=l)A(v);function A(b){var x={value:b};s.push(e?b:{formattedLabel:a(x),rawLabel:r.getLabel(x),tickValue:b})}return f&&v-l!==i[1]&&A(i[1]),s}function hV(n,t,e){var a=n.scale,r=wm(n),i=[];return q(a.getTicks(),function(o){var s=a.getLabel(o),l=o.value;t(o.value,s)&&i.push(e?l:{formattedLabel:r(o),rawLabel:s,tickValue:l})}),i}var mV=[0,1],hut=function(){function n(t,e,a){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=a||[0,0]}return n.prototype.contain=function(t){var e=this._extent,a=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]);return t>=a&&t<=r},n.prototype.containData=function(t){return this.scale.contain(t)},n.prototype.getExtent=function(){return this._extent.slice()},n.prototype.getPixelPrecision=function(t){return SL(t||this.scale.getExtent(),this._extent)},n.prototype.setExtent=function(t,e){var a=this._extent;a[0]=t,a[1]=e},n.prototype.dataToCoord=function(t,e){var a=this._extent,r=this.scale;return t=r.normalize(t),this.onBand&&"ordinal"===r.type&&fV(a=a.slice(),r.count()),Fe(t,mV,a,e)},n.prototype.coordToData=function(t,e){var a=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&fV(a=a.slice(),r.count());var i=Fe(t,a,mV,e);return this.scale.scale(i)},n.prototype.pointToData=function(t,e){},n.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),i=At(out(this,e).ticks,function(s){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this);return function mut(n,t,e,a){var r=t.length;if(!n.onBand||e||!r)return;var o,s,i=n.getExtent();if(1===r)t[0].coord=i[0],o=t[1]={coord:i[1],tickValue:t[0].tickValue};else{var l=t[r-1].tickValue-t[0].tickValue,c=(t[r-1].coord-t[0].coord)/l;q(t,function(f){f.coord-=c/2});var d=n.scale.getExtent();s=1+d[1]-t[r-1].tickValue,o={coord:t[r-1].coord+c*s,tickValue:d[1]+1},t.push(o)}var u=i[0]>i[1];function h(f,v){return f=wn(f),v=wn(v),u?f>v:f<v}h(t[0].coord,i[0])&&(a?t[0].coord=i[0]:t.shift()),a&&h(i[0],t[0].coord)&&t.unshift({coord:i[0]}),h(i[1],o.coord)&&(a?o.coord=i[1]:t.pop()),a&&h(o.coord,i[1])&&t.push({coord:i[1]})}(this,i,e.get("alignWithLabel"),t.clamp),i},n.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick").get("splitNumber");return e>0&&e<100||(e=5),At(this.scale.getMinorTicks(e),function(i){return At(i,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this)},n.prototype.getViewLabels=function(){return iut(this).labels},n.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},n.prototype.getTickModel=function(){return this.model.getModel("axisTick")},n.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),a=e[1]-e[0]+(this.onBand?1:0);0===a&&(a=1);var r=Math.abs(t[1]-t[0]);return Math.abs(r)/a},n.prototype.calculateCategoryInterval=function(){return function uut(n){var t=function put(n){var t=n.getLabelModel();return{axisRotate:n.getRotate?n.getRotate():n.isHorizontal&&!n.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}(n),e=wm(n),a=(t.axisRotate-t.labelRotate)/180*Math.PI,r=n.scale,i=r.getExtent(),o=r.count();if(i[1]-i[0]<1)return 0;var s=1;o>40&&(s=Math.max(1,Math.floor(o/40)));for(var l=i[0],c=n.dataToCoord(l+1)-n.dataToCoord(l),d=Math.abs(c*Math.cos(a)),u=Math.abs(c*Math.sin(a)),h=0,f=0;l<=i[1];l+=s){var v,A,b=Ev(e({value:l}),t.font,"center","top");v=1.3*b.width,A=1.3*b.height,h=Math.max(h,v,7),f=Math.max(f,A,7)}var x=h/d,S=f/u;isNaN(x)&&(x=1/0),isNaN(S)&&(S=1/0);var k=Math.max(0,Math.floor(Math.min(x,S))),D=GA(n.model),I=n.getExtent(),M=D.lastAutoInterval,R=D.lastTickCount;return null!=M&&null!=R&&Math.abs(M-k)<=1&&Math.abs(R-o)<=1&&M>k&&D.axisExtent0===I[0]&&D.axisExtent1===I[1]?k=M:(D.lastTickCount=o,D.lastAutoInterval=k,D.axisExtent0=I[0],D.axisExtent1=I[1]),k}(this)},n}();function fV(n,t){var r=(n[1]-n[0])/t/2;n[0]+=r,n[1]-=r}const fi=hut;var fut=function(n){function t(e,a,r,i,o){var s=n.call(this,e,a,r)||this;return s.index=0,s.type=i||"value",s.position=o||"bottom",s}return pt(t,n),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.getGlobalExtent=function(e){var a=this.getExtent();return a[0]=this.toGlobalCoord(a[0]),a[1]=this.toGlobalCoord(a[1]),e&&a[0]>a[1]&&a.reverse(),a},t.prototype.pointToData=function(e,a){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),a)},t.prototype.setCategorySortInfo=function(e){if("category"!==this.type)return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(fi);const gut=fut;function xT(n,t,e){e=e||{};var a=n.coordinateSystem,r=t.axis,i={},o=r.getAxesOnZeroOf()[0],s=r.position,l=o?"onZero":s,c=r.dim,d=a.getRect(),u=[d.x,d.x+d.width,d.y,d.y+d.height],h={left:0,right:1,top:0,bottom:1,onZero:2},f=t.get("offset")||0,v="x"===c?[u[2]-f,u[3]+f]:[u[0]-f,u[1]+f];if(o){var A=o.toGlobalCoord(o.dataToCoord(0));v[h.onZero]=Math.max(Math.min(A,v[1]),v[0])}i.position=["y"===c?v[h[l]]:u[0],"x"===c?v[h[l]]:u[3]],i.rotation=Math.PI/2*("x"===c?0:1);i.labelDirection=i.tickDirection=i.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],i.labelOffset=o?v[h[s]]-v[h.onZero]:0,t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),$n(e.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var x=t.get(["axisLabel","rotate"]);return i.labelRotate="top"===l?-x:x,i.z2=1,i}function gV(n){return"cartesian2d"===n.get("coordinateSystem")}function vV(n){var t={xAxisModel:null,yAxisModel:null};return q(t,function(e,a){var r=a.replace(/Model$/,""),i=n.getReferringComponents(r,On).models[0];t[a]=i}),t}var ST=Math.log;function AV(n,t,e){var a=Fl.prototype,r=a.getTicks.call(e),i=a.getTicks.call(e,!0),o=r.length-1,s=a.getInterval.call(e),l=rV(n,t),c=l.extent,d=l.fixMin,u=l.fixMax;if("log"===n.type){var h=ST(n.base);c=[ST(c[0])/h,ST(c[1])/h]}n.setExtent(c[0],c[1]),n.calcNiceExtent({splitNumber:o,fixMin:d,fixMax:u});var f=a.getExtent.call(n);d&&(c[0]=f[0]),u&&(c[1]=f[1]);var v=a.getInterval.call(n),A=c[0],b=c[1];if(d&&u)v=(b-A)/o;else if(d)for(b=c[0]+v*o;b<c[1]&&isFinite(b)&&isFinite(c[1]);)v=gT(v),b=c[0]+v*o;else if(u)for(A=c[1]-v*o;A>c[0]&&isFinite(A)&&isFinite(c[0]);)v=gT(v),A=c[1]-v*o;else{n.getTicks().length-1>o&&(v=gT(v));var S=v*o;(A=wn((b=Math.ceil(c[1]/v)*v)-S))<0&&c[0]>=0?(A=0,b=wn(S)):b>0&&c[1]<=0&&(b=0,A=-wn(S))}var k=(r[0].value-i[0].value)/s,D=(r[o].value-i[o].value)/s;a.setExtent.call(n,A+v*k,b+v*D),a.setInterval.call(n,v),(k||D)&&a.setNiceExtent.call(n,A+v,b-v)}var vut=function(){function n(t,e,a){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=_T,this._initCartesian(t,e,a),this.model=t}return n.prototype.getRect=function(){return this._rect},n.prototype.update=function(t,e){var a=this._axesMap;function r(o){var s,l=ve(o),c=l.length;if(c){for(var d=[],u=c-1;u>=0;u--){var f=o[+l[u]],v=f.model,A=f.scale;fT(A)&&v.get("alignTicks")&&null==v.get("interval")?d.push(f):(Sm(A,v),fT(A)&&(s=f))}d.length&&(s||Sm((s=d.pop()).scale,s.model),q(d,function(b){AV(b.scale,b.model,s.scale)}))}}this._updateScale(t,this.model),r(a.x),r(a.y);var i={};q(a.x,function(o){yV(a,"y",o,i)}),q(a.y,function(o){yV(a,"x",o,i)}),this.resize(this.model,e)},n.prototype.resize=function(t,e,a){var r=t.getBoxLayoutParams(),i=!a&&t.get("containLabel"),o=En(r,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var s=this._axesList;function l(){q(s,function(c){var d=c.isHorizontal(),u=d?[0,o.width]:[0,o.height],h=c.inverse?1:0;c.setExtent(u[h],u[1-h]),function Aut(n,t){var e=n.getExtent(),a=e[0]+e[1];n.toGlobalCoord="x"===n.dim?function(r){return r+t}:function(r){return a-r+t},n.toLocalCoord="x"===n.dim?function(r){return r-t}:function(r){return a-r+t}}(c,d?o.x:o.y)})}l(),i&&(q(s,function(c){if(!c.model.get(["axisLabel","inside"])){var d=function Qdt(n){var t=n.model,e=n.scale;if(t.get(["axisLabel","show"])&&!e.isBlank()){var a,r,i=e.getExtent();r=e instanceof vT?e.count():(a=e.getTicks()).length;var l,o=n.getLabelModel(),s=wm(n),c=1;r>40&&(c=Math.ceil(r/40));for(var d=0;d<r;d+=c){var h=s(a?a[d]:{value:i[0]+d},d),v=$dt(o.getTextRect(h),o.get("rotate")||0);l?l.union(v):l=v}return l}}(c);if(d){var u=c.isHorizontal()?"height":"width",h=c.model.get(["axisLabel","margin"]);o[u]-=d[u]+h,"top"===c.position?o.y+=d.height+h:"left"===c.position&&(o.x+=d.width+h)}}}),l()),q(this._coordsList,function(c){c.calcAffineTransform()})},n.prototype.getAxis=function(t,e){var a=this._axesMap[t];if(null!=a)return a[e||0]},n.prototype.getAxes=function(){return this._axesList.slice()},n.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var a="x"+t+"y"+e;return this._coordsMap[a]}Xt(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var r=0,i=this._coordsList;r<i.length;r++)if(i[r].getAxis("x").index===t||i[r].getAxis("y").index===e)return i[r]},n.prototype.getCartesians=function(){return this._coordsList.slice()},n.prototype.convertToPixel=function(t,e,a){var r=this._findConvertTarget(e);return r.cartesian?r.cartesian.dataToPoint(a):r.axis?r.axis.toGlobalCoord(r.axis.dataToCoord(a)):null},n.prototype.convertFromPixel=function(t,e,a){var r=this._findConvertTarget(e);return r.cartesian?r.cartesian.pointToData(a):r.axis?r.axis.coordToData(r.axis.toLocalCoord(a)):null},n.prototype._findConvertTarget=function(t){var s,l,e=t.seriesModel,a=t.xAxisModel||e&&e.getReferringComponents("xAxis",On).models[0],r=t.yAxisModel||e&&e.getReferringComponents("yAxis",On).models[0],i=t.gridModel,o=this._coordsList;if(e)pe(o,s=e.coordinateSystem)<0&&(s=null);else if(a&&r)s=this.getCartesian(a.componentIndex,r.componentIndex);else if(a)l=this.getAxis("x",a.componentIndex);else if(r)l=this.getAxis("y",r.componentIndex);else if(i){i.coordinateSystem===this&&(s=this._coordsList[0])}return{cartesian:s,axis:l}},n.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},n.prototype._initCartesian=function(t,e,a){var r=this,i=this,o={left:!1,right:!1,top:!1,bottom:!1},s={x:{},y:{}},l={x:0,y:0};if(e.eachComponent("xAxis",c("x"),this),e.eachComponent("yAxis",c("y"),this),!l.x||!l.y)return this._axesMap={},void(this._axesList=[]);function c(d){return function(u,h){if(wT(u,t)){var f=u.get("position");"x"===d?"top"!==f&&"bottom"!==f&&(f=o.bottom?"top":"bottom"):"left"!==f&&"right"!==f&&(f=o.left?"right":"left"),o[f]=!0;var v=new gut(d,Px(u),[0,0],u.get("type"),f),A="category"===v.type;v.onBand=A&&u.get("boundaryGap"),v.inverse=u.get("inverse"),u.axis=v,v.model=u,v.grid=i,v.index=h,i._axesList.push(v),s[d][h]=v,l[d]++}}}
vendor: 11,371 bytes, line 1
1this._axesMap=s,q(s.x,function(d,u){q(s.y,function(h,f){var v="x"+u+"y"+f,A=new rut(v);A.master=r,A.model=t,r._coordsMap[v]=A,r._coordsList.push(A),A.addAxis(d),A.addAxis(h)})})},n.prototype._updateScale=function(t,e){function a(r,i){q(Ix(r,i.dim),function(o){i.scale.unionExtentFromData(r,o)})}q(this._axesList,function(r){if(r.scale.setExtent(1/0,-1/0),"category"===r.type){var i=r.model.get("categorySortInfo");r.scale.setSortInfo(i)}}),t.eachSeries(function(r){if(gV(r)){var i=vV(r),o=i.xAxisModel,s=i.yAxisModel;if(!wT(o,e)||!wT(s,e))return;var l=this.getCartesian(o.componentIndex,s.componentIndex),c=r.getData(),d=l.getAxis("x"),u=l.getAxis("y");a(c,d),a(c,u)}},this)},n.prototype.getTooltipAxes=function(t){var e=[],a=[];return q(this.getCartesians(),function(r){var i=null!=t&&"auto"!==t?r.getAxis(t):r.getBaseAxis(),o=r.getOtherAxis(i);pe(e,i)<0&&e.push(i),pe(a,o)<0&&a.push(o)}),{baseAxes:e,otherAxes:a}},n.create=function(t,e){var a=[];return t.eachComponent("grid",function(r,i){var o=new n(r,t,e);o.name="grid_"+i,o.resize(r,e,!0),r.coordinateSystem=o,a.push(o)}),t.eachSeries(function(r){if(gV(r)){var i=vV(r),o=i.xAxisModel,s=i.yAxisModel,c=o.getCoordSysModel().coordinateSystem;r.coordinateSystem=c.getCartesian(o.componentIndex,s.componentIndex)}}),a},n.dimensions=_T,n}();function wT(n,t){return n.getCoordSysModel()===t}function yV(n,t,e,a){e.getAxesOnZeroOf=function(){return i?[i]:[]};var i,r=n[t],o=e.model,s=o.get(["axisLine","onZero"]),l=o.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)bV(r[l])&&(i=r[l]);else for(var c in r)if(r.hasOwnProperty(c)&&bV(r[c])&&!a[d(r[c])]){i=r[c];break}i&&(a[d(i)]=!0)}function d(u){return u.dim+"_"+u.index}}function bV(n){return n&&"category"!==n.type&&"time"!==n.type&&function Ydt(n){var t=n.scale.getExtent(),e=t[0],a=t[1];return!(e>0&&a>0||e<0&&a<0)}(n)}const yut=vut;var Vl=Math.PI,Yd=function(){function n(t,e){this.group=new te,this.opt=e,this.axisModel=t,Kt(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var a=new te({x:e.position[0],y:e.position[1],rotation:e.rotation});a.updateTransform(),this._transformGroup=a}return n.prototype.hasBuilder=function(t){return!!_V[t]},n.prototype.add=function(t){_V[t](this.opt,this.axisModel,this.group,this._transformGroup)},n.prototype.getGroup=function(){return this.group},n.innerTextLayout=function(t,e,a){var i,o,r=CL(e-t);return Hv(r)?(o=a>0?"top":"bottom",i="center"):Hv(r-Vl)?(o=a>0?"bottom":"top",i="center"):(o="middle",i=r>0&&r<Vl?a>0?"right":"left":a>0?"left":"right"),{rotation:r,textAlign:i,textVerticalAlign:o}},n.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},n.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},n}(),_V={axisLine:function(n,t,e,a){var r=t.get(["axisLine","show"]);if("auto"===r&&n.handleAutoShown&&(r=n.handleAutoShown("axisLine")),r){var i=t.axis.getExtent(),o=a.transform,s=[i[0],0],l=[i[1],0],c=s[0]>l[0];o&&(sa(s,s,o),sa(l,l,o));var d=ft({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),u=new ea({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:d,strokeContainThreshold:n.strokeContainThreshold||5,silent:!0,z2:1});dm(u.shape,u.style.lineWidth),u.anid="line",e.add(u);var h=t.get(["axisLine","symbol"]);if(null!=h){var f=t.get(["axisLine","symbolSize"]);Lt(h)&&(h=[h,h]),(Lt(f)||ke(f))&&(f=[f,f]);var v=Fd(t.get(["axisLine","symbolOffset"])||0,f),A=f[0],b=f[1];q([{rotate:n.rotation+Math.PI/2,offset:v[0],r:0},{rotate:n.rotation-Math.PI/2,offset:v[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(x,S){if("none"!==h[S]&&null!=h[S]){var k=Ln(h[S],-A/2,-b/2,A,b,d.stroke,!0),D=x.r+x.offset,I=c?l:s;k.attr({rotation:x.rotate,x:I[0]+D*Math.cos(n.rotation),y:I[1]-D*Math.sin(n.rotation),silent:!0,z2:11}),e.add(k)}})}}},axisTickLabel:function(n,t,e,a){var r=function xut(n,t,e,a){var r=e.axis,i=e.getModel("axisTick"),o=i.get("show");if("auto"===o&&a.handleAutoShown&&(o=a.handleAutoShown("axisTick")),o&&!r.scale.isBlank()){for(var s=i.getModel("lineStyle"),l=a.tickDirection*i.get("length"),d=wV(r.getTicksCoords(),t.transform,l,Kt(s.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}),"ticks"),u=0;u<d.length;u++)n.add(d[u]);return d}}(e,a,t,n),i=function wut(n,t,e,a){var r=e.axis;if($n(a.axisLabelShow,e.get(["axisLabel","show"]))&&!r.scale.isBlank()){var o=e.getModel("axisLabel"),s=o.get("margin"),l=r.getViewLabels(),c=($n(a.labelRotate,o.get("rotate"))||0)*Vl/180,d=Yd.innerTextLayout(a.rotation,c,a.labelDirection),u=e.getCategories&&e.getCategories(!0),h=[],f=Yd.isLabelSilent(e),v=e.get("triggerEvent");return q(l,function(A,b){var x="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(A.tickValue):A.tickValue,S=A.formattedLabel,k=A.rawLabel,D=o;if(u&&u[x]){var I=u[x];Xt(I)&&I.textStyle&&(D=new en(I.textStyle,o,e.ecModel))}var M=D.getTextColor()||e.get(["axisLine","lineStyle","color"]),R=r.dataToCoord(x),N=D.getShallow("align",!0)||d.textAlign,U=ie(D.getShallow("alignMinLabel",!0),N),z=ie(D.getShallow("alignMaxLabel",!0),N),B=D.getShallow("verticalAlign",!0)||D.getShallow("baseline",!0)||d.textVerticalAlign,K=ie(D.getShallow("verticalAlignMinLabel",!0),B),W=ie(D.getShallow("verticalAlignMaxLabel",!0),B),Z=new Ce({x:R,y:a.labelOffset+a.labelDirection*s,rotation:d.rotation,silent:f,z2:10+(A.level||0),style:tn(D,{text:S,align:0===b?U:b===l.length-1?z:N,verticalAlign:0===b?K:b===l.length-1?W:B,fill:jt(M)?M("category"===r.type?k:"value"===r.type?x+"":x,b):M})});if(Z.anid="label_"+x,Nd({el:Z,componentModel:e,itemName:S,formatterParamsExtra:{isTruncated:function(){return Z.isTruncated},value:k,tickIndex:b}}),v){var X=Yd.makeAxisEventDataBase(e);X.targetType="axisLabel",X.value=k,X.tickIndex=b,"category"===r.type&&(X.dataIndex=x),ee(Z).eventData=X}t.add(Z),Z.updateTransform(),h.push(Z),n.add(Z),Z.decomposeTransform()}),h}}(e,a,t,n);(function _ut(n,t,e){if(!iV(n.axis)){var a=n.get(["axisLabel","showMinLabel"]),r=n.get(["axisLabel","showMaxLabel"]);e=e||[];var i=(t=t||[])[0],o=t[1],s=t[t.length-1],l=t[t.length-2],c=e[0],d=e[1],u=e[e.length-1],h=e[e.length-2];!1===a?(zr(i),zr(c)):xV(i,o)&&(a?(zr(o),zr(d)):(zr(i),zr(c))),!1===r?(zr(s),zr(u)):xV(l,s)&&(r?(zr(l),zr(h)):(zr(s),zr(u)))}}(t,i,r),function Sut(n,t,e,a){var r=e.axis,i=e.getModel("minorTick");if(i.get("show")&&!r.scale.isBlank()){var o=r.getMinorTicksCoords();if(o.length)for(var s=i.getModel("lineStyle"),l=a*i.get("length"),c=Kt(s.getLineStyle(),Kt(e.getModel("axisTick").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})),d=0;d<o.length;d++)for(var u=wV(o[d],t.transform,l,c,"minorticks_"+d),h=0;h<u.length;h++)n.add(u[h])}}(e,a,t,n.tickDirection),t.get(["axisLabel","hideOverlap"]))&&pF(cF(At(i,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}})))},axisName:function(n,t,e,a){var r=$n(n.axisName,t.get("name"));if(r){var h,v,i=t.get("nameLocation"),o=n.nameDirection,s=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,c=t.axis.getExtent(),d=c[0]>c[1]?-1:1,u=["start"===i?c[0]-d*l:"end"===i?c[1]+d*l:(c[0]+c[1])/2,SV(i)?n.labelOffset+o*l:0],f=t.get("nameRotate");null!=f&&(f=f*Vl/180),SV(i)?h=Yd.innerTextLayout(n.rotation,f??n.rotation,o):(h=function but(n,t,e,a){var i,o,r=CL(e-n),s=a[0]>a[1],l="start"===t&&!s||"start"!==t&&s;return Hv(r-Vl/2)?(o=l?"bottom":"top",i="center"):Hv(r-1.5*Vl)?(o=l?"top":"bottom",i="center"):(o="middle",i=r<1.5*Vl&&r>Vl/2?l?"left":"right":l?"right":"left"),{rotation:r,textAlign:i,textVerticalAlign:o}}(n.rotation,i,f||0,c),null!=(v=n.axisNameAvailableWidth)&&(v=Math.abs(v/Math.sin(h.rotation)),!isFinite(v)&&(v=null)));var A=s.getFont(),b=t.get("nameTruncate",!0)||{},x=b.ellipsis,S=$n(n.nameTruncateMaxWidth,b.maxWidth,v),k=new Ce({x:u[0],y:u[1],rotation:h.rotation,silent:Yd.isLabelSilent(t),style:tn(s,{text:r,font:A,overflow:"truncate",width:S,ellipsis:x,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||h.textAlign,verticalAlign:s.get("verticalAlign")||h.textVerticalAlign}),z2:1});if(Nd({el:k,componentModel:t,itemName:r}),k.__fullText=r,k.anid="name",t.get("triggerEvent")){var D=Yd.makeAxisEventDataBase(t);D.targetType="axisName",D.name=r,ee(k).eventData=D}a.add(k),k.updateTransform(),e.add(k),k.decomposeTransform()}}};function zr(n){n&&(n.ignore=!0)}function xV(n,t){var e=n&&n.getBoundingRect().clone(),a=t&&t.getBoundingRect().clone();if(e&&a){var r=D0([]);return $c(r,r,-n.rotation),e.applyTransform(Jo([],r,n.getLocalTransform())),a.applyTransform(Jo([],r,t.getLocalTransform())),e.intersect(a)}}function SV(n){return"middle"===n||"center"===n}function wV(n,t,e,a,r){for(var i=[],o=[],s=[],l=0;l<n.length;l++){var c=n[l].coord;o[0]=c,o[1]=0,s[0]=c,s[1]=e,t&&(sa(o,o,t),sa(s,s,t));var d=new ea({shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:a,z2:2,autoBatch:!0,silent:!0});dm(d.shape,d.style.lineWidth),d.anid=r+"_"+n[l].tickValue,i.push(d)}return i}const ls=Yd;function kut(n,t){var e={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function Cut(n,t,e){var a=t.getComponent("tooltip"),r=t.getComponent("axisPointer"),i=r.get("link",!0)||[],o=[];q(e.getCoordinateSystems(),function(s){if(s.axisPointerEnabled){var l=KA(s.model),c=n.coordSysAxesInfo[l]={};n.coordSysMap[l]=s;var u=s.model.getModel("tooltip",a);if(q(s.getAxes(),se(A,!1,null)),s.getTooltipAxes&&a&&u.get("show")){var h="axis"===u.get("trigger"),f="cross"===u.get(["axisPointer","type"]),v=s.getTooltipAxes(u.get(["axisPointer","axis"]));(h||f)&&q(v.baseAxes,se(A,!f||"cross",h)),f&&q(v.otherAxes,se(A,"cross",!1))}}function A(b,x,S){var k=S.model.getModel("axisPointer",r),D=k.get("show");if(D&&("auto"!==D||b||DT(k))){null==x&&(x=k.get("triggerTooltip")),k=b?function Dut(n,t,e,a,r,i){var o=t.getModel("axisPointer"),l={};q(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(h){l[h]=Yt(o.get(h))}),l.snap="category"!==n.type&&!!i,"cross"===o.get("type")&&(l.type="line");var c=l.label||(l.label={});if(null==c.show&&(c.show=!1),"cross"===r){var d=o.get(["label","show"]);if(c.show=d??!0,!i){var u=l.lineStyle=o.get("crossStyle");u&&Kt(c,u.textStyle)}}return n.model.getModel("axisPointer",new en(l,e,a))}(S,u,r,t,b,x):k;var I=k.get("snap"),M=k.get("triggerEmphasis"),R=KA(S.model),N=x||I||"category"===S.type,U=n.axesInfo[R]={key:R,axis:S,coordSys:s,axisPointerModel:k,triggerTooltip:x,triggerEmphasis:M,involveSeries:N,snap:I,useHandle:DT(k),seriesModels:[],linkGroup:null};c[R]=U,n.seriesInvolved=n.seriesInvolved||N;var z=function Put(n,t){for(var e=t.model,a=t.dim,r=0;r<n.length;r++){var i=n[r]||{};if(kT(i[a+"AxisId"],e.id)||kT(i[a+"AxisIndex"],e.componentIndex)||kT(i[a+"AxisName"],e.name))return r}}(i,S);if(null!=z){var B=o[z]||(o[z]={axesInfo:{}});B.axesInfo[R]=U,B.mapper=i[z].mapper,U.linkGroup=B}}}})}(e,n,t),e.seriesInvolved&&function Tut(n,t){t.eachSeries(function(e){var a=e.coordinateSystem,r=e.get(["tooltip","trigger"],!0),i=e.get(["tooltip","show"],!0);!a||"none"===r||!1===r||"item"===r||!1===i||!1===e.get(["axisPointer","show"],!0)||q(n.coordSysAxesInfo[KA(a.model)],function(o){var s=o.axis;a.getAxis(s.dim)===s&&(o.seriesModels.push(e),null==o.seriesDataCount&&(o.seriesDataCount=0),o.seriesDataCount+=e.getData().count())})})}
vendor: 4,316 bytes, line 1
1(e,n),e}function kT(n,t){return"all"===n||vt(n)&&pe(n,t)>=0||n===t}function Iut(n){var t=CT(n);if(t){var e=t.axisPointerModel,a=t.axis.scale,r=e.option,i=e.get("status"),o=e.get("value");null!=o&&(o=a.parse(o));var s=DT(e);null==i&&(r.status=s?"show":"hide");var l=a.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o<l[0]&&(o=l[0]),r.value=o,s&&(r.status=t.axis.scale.isBlank()?"hide":"show")}}function CT(n){var t=(n.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[KA(n)]}function DT(n){return!!n.get(["handle","show"])}function KA(n){return n.type+"||"+n.id}var kV={},Out=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r,i){this.axisPointerClass&&Iut(e),n.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,r,!0)},t.prototype.updateAxisPointer=function(e,a,r,i){this._doUpdateAxisPointerClass(e,r,!1)},t.prototype.remove=function(e,a){var r=this._axisPointer;r&&r.remove(a)},t.prototype.dispose=function(e,a){this._disposeAxisPointer(a),n.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(e,a,r){var i=t.getAxisPointerClass(this.axisPointerClass);if(i){var o=function Mut(n){var t=CT(n);return t&&t.axisPointerModel}(e);o?(this._axisPointer||(this._axisPointer=new i)).render(e,o,a,r):this._disposeAxisPointer(a)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,a){kV[e]=a},t.getAxisPointerClass=function(e){return e&&kV[e]},t.type="axis",t}(xn);const Qd=Out;var TT=_e();function CV(n,t,e,a){var r=e.axis;if(!r.scale.isBlank()){var i=e.getModel("splitArea"),o=i.getModel("areaStyle"),s=o.get("color"),l=a.coordinateSystem.getRect(),c=r.getTicksCoords({tickModel:i,clamp:!0});if(c.length){var d=s.length,u=TT(n).splitAreaColors,h=Et(),f=0;if(u)for(var v=0;v<c.length;v++){var A=u.get(c[v].tickValue);if(null!=A){f=(A+(d-1)*v)%d;break}}var b=r.toGlobalCoord(c[0].coord),x=o.getAreaStyle();s=vt(s)?s:[s];for(v=1;v<c.length;v++){var S=r.toGlobalCoord(c[v].coord),k=void 0,D=void 0,I=void 0,M=void 0;r.isHorizontal()?(k=b,D=l.y,I=S-k,M=l.height,b=k+I):(k=l.x,D=b,I=l.width,b=D+(M=S-D));var R=c[v-1].tickValue;null!=R&&h.set(R,f),t.add(new Se({anid:null!=R?"area_"+R:null,shape:{x:k,y:D,width:I,height:M},style:Kt({fill:s[f]},x),autoBatch:!0,silent:!0})),f=(f+1)%d}TT(n).splitAreaColors=h}}}function DV(n){TT(n).splitAreaColors=null}var Rut=["axisLine","axisTickLabel","axisName"],Lut=["splitArea","splitLine","minorSplitLine"],TV=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="CartesianAxisPointer",e}return pt(t,n),t.prototype.render=function(e,a,r,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new te,this.group.add(this._axisGroup),e.get("show")){var s=e.getCoordSysModel(),l=xT(s,e),c=new ls(e,ft({handleAutoShown:function(u){for(var h=s.coordinateSystem.getCartesians(),f=0;f<h.length;f++)if(fT(h[f].getOtherAxis(e.axis).scale))return!0;return!1}},l));q(Rut,c.add,c),this._axisGroup.add(c.getGroup()),q(Lut,function(u){e.get([u,"show"])&&Nut[u](this,this._axisGroup,e,s)},this),i&&"changeAxisOrder"===i.type&&i.isInitSort||gA(o,this._axisGroup,e),n.prototype.render.call(this,e,a,r,i)}},t.prototype.remove=function(){DV(this)},t.type="cartesianAxis",t}(Qd),Nut={splitLine:function(n,t,e,a){var r=e.axis;if(!r.scale.isBlank()){var i=e.getModel("splitLine"),o=i.getModel("lineStyle"),s=o.get("color"),l=!1!==i.get("showMinLine"),c=!1!==i.get("showMaxLine");s=vt(s)?s:[s];for(var d=a.coordinateSystem.getRect(),u=r.isHorizontal(),h=0,f=r.getTicksCoords({tickModel:i}),v=[],A=[],b=o.getLineStyle(),x=0;x<f.length;x++){var S=r.toGlobalCoord(f[x].coord);if((0!==x||l)&&(x!==f.length-1||c)){var k=f[x].tickValue;u?(v[0]=S,v[1]=d.y,A[0]=S,A[1]=d.y+d.height):(v[0]=d.x,v[1]=S,A[0]=d.x+d.width,A[1]=S);var D=h++%s.length,I=new ea({anid:null!=k?"line_"+k:null,autoBatch:!0,shape:{x1:v[0],y1:v[1],x2:A[0],y2:A[1]},style:Kt({stroke:s[D]},b),silent:!0});dm(I.shape,b.lineWidth),t.add(I)}}}},minorSplitLine:function(n,t,e,a){var r=e.axis,o=e.getModel("minorSplitLine").getModel("lineStyle"),s=a.coordinateSystem.getRect(),l=r.isH
vendor: 8,565 bytes, line 1
1orizontal(),c=r.getMinorTicksCoords();if(c.length)for(var d=[],u=[],h=o.getLineStyle(),f=0;f<c.length;f++)for(var v=0;v<c[f].length;v++){var A=r.toGlobalCoord(c[f][v].coord);l?(d[0]=A,d[1]=s.y,u[0]=A,u[1]=s.y+s.height):(d[0]=s.x,d[1]=A,u[0]=s.x+s.width,u[1]=A);var b=new ea({anid:"minor_line_"+c[f][v].tickValue,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:u[0],y2:u[1]},style:h,silent:!0});dm(b.shape,h.lineWidth),t.add(b)}},splitArea:function(n,t,e,a){CV(n,t,e,a)}},PV=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.type="xAxis",t}(TV),Uut=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=PV.type,e}return pt(t,n),t.type="yAxis",t}(TV);var Fut=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type="grid",e}return pt(t,n),t.prototype.render=function(e,a){this.group.removeAll(),e.get("show")&&this.group.add(new Se({shape:e.coordinateSystem.getRect(),style:Kt({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(xn),IV={offset:0};function MV(n){n.registerComponentView(Fut),n.registerComponentModel(kdt),n.registerCoordinateSystem("cartesian2d",yut),xm(n,"x",pT,IV),xm(n,"y",pT,IV),n.registerComponentView(PV),n.registerComponentView(Uut),n.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}function zut(n){n.eachSeriesByType("radar",function(t){var e=t.getData(),a=[],r=t.coordinateSystem;if(r){var i=r.getIndicatorAxes();q(i,function(o,s){e.each(e.mapDimension(i[s].dim),function(l,c){a[c]=a[c]||[];var d=r.dataToPoint(l,s);a[c][s]=OV(d)?d:RV(r)})}),e.each(function(o){var s=function Att(n,t,e){if(n&&t)for(var a=0,r=n.length;a<r;a++)if(t.call(e,n[a],a,n))return n[a]}(a[o],function(l){return OV(l)})||RV(r);a[o].push(s.slice()),e.setItemLayout(o,a[o])})}})}function OV(n){return!isNaN(n[0])&&!isNaN(n[1])}function RV(n){return[n.cx,n.cy]}function Eut(n){var t=n.polar;if(t){vt(t)||(t=[t]);var e=[];q(t,function(a,r){a.indicator?(a.type&&!a.shape&&(a.shape=a.type),n.radar=n.radar||[],vt(n.radar)||(n.radar=[n.radar]),n.radar.push(a)):e.push(a)}),n.polar=e}q(n.series,function(a){a&&"radar"===a.type&&a.polarIndex&&(a.radarIndex=a.polarIndex)})}var qut=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r){var i=e.coordinateSystem,o=this.group,s=e.getData(),l=this._data;function c(h,f){var v=h.getItemVisual(f,"symbol")||"circle";if("none"!==v){var A=hm(h.getItemVisual(f,"symbolSize")),b=Ln(v,-1,-1,2,2),x=h.getItemVisual(f,"symbolRotate")||0;return b.attr({style:{strokeNoScale:!0},z2:100,scaleX:A[0]/2,scaleY:A[1]/2,rotation:x*Math.PI/180||0}),b}}function d(h,f,v,A,b,x){v.removeAll();for(var S=0;S<f.length-1;S++){var k=c(A,b);k&&(k.__dimIdx=S,h[S]?(k.setPosition(h[S]),lt[x?"initProps":"updateProps"](k,{x:f[S][0],y:f[S][1]},e,b)):k.setPosition(f[S]),v.add(k))}}function u(h){return At(h,function(f){return[i.cx,i.cy]})}s.diff(l).add(function(h){var f=s.getItemLayout(h);if(f){var v=new er,A=new nr,b={shape:{points:f}};v.shape.points=u(f),A.shape.points=u(f),dn(v,b,e,h),dn(A,b,e,h);var x=new te,S=new te;x.add(A),x.add(v),x.add(S),d(A.shape.points,f,S,s,h,!0),s.setItemGraphicEl(h,x)}}).update(function(h,f){var v=l.getItemGraphicEl(f),A=v.childAt(0),b=v.childAt(1),x=v.childAt(2),S={shape:{points:s.getItemLayout(h)}};!S.shape.points||(d(A.shape.points,S.shape.points,x,s,h,!1),oi(b),oi(A),Te(A,S,e),Te(b,S,e),s.setItemGraphicEl(h,v))}).remove(function(h){o.remove(l.getItemGraphicEl(h))}).execute(),s.eachItemGraphicEl(function(h,f){var v=s.getItemModel(f),A=h.childAt(0),b=h.childAt(1),x=h.childAt(2),S=s.getItemVisual(f,"style"),k=S.fill;o.add(h),A.useStyle(Kt(v.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:k})),ca(A,v,"lineStyle"),ca(b,v,"areaStyle");var D=v.getModel("areaStyle"),I=D.isEmpty()&&D.parentModel.isEmpty();b.ignore=I,q(["emphasis","select","blur"],function(N){var U=v.getModel([N,"areaStyle"]),z=U.isEmpty()&&U.parentModel.isEmpty();b.ensureState(N).ignore=z&&I}),b.useStyle(Kt(D.getAreaStyle(),{fill:k,opacity:.7,decal:S.decal}));var M=v.getModel("emphasis"),R=M.getModel("itemStyle").getItemStyle();x.eachChild(function(N){if(N instanceof la){var U=N.style;N.useStyle(ft({image:U.image,x:U.x,y:U.y,width:U.width,height:U.height},S))}else N.useStyle(S),N.setColor(k),N.style.strokeNoScale=!0;N.ensureState("emphasis").style=Yt(R);var B=s.getStore().get(s.getDimensionIndex(N.__dimIdx),f);(null==B||isNaN(B))&&(B=""),da(N,Kn(v),{labelFetcher:s.hostModel,labelDataIndex:f,labelDimIndex:N.__dimIdx,defaultText:B,inheritColor:k,defaultOpacity:S.opacity})}),An(h,M.get("focus"),M.get("blurScope"),M.get("disabled"))}),this._data=s},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(nn);const Hut=qut;var But=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return pt(t,n),t.prototype.init=function(e){n.prototype.init.apply(this,arguments),this.legendVisualProvider=new HA(Ut(this.getData,this),Ut(this.getRawData,this))},t.prototype.getInitialData=function(e,a){return _m(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(e,a,r){var i=this.getData(),s=this.coordinateSystem.getIndicatorAxes(),l=this.getData().getName(e),c=""===l?this.name:l,d=fN(this,e);return Wn("section",{header:c,sortBlocks:!0,blocks:At(s,function(u){var h=i.get(i.mapDimension(u.dim),e);return Wn("nameValue",{markerType:"subItem",markerColor:d,name:u.name,value:h,sortParam:h})})})},t.prototype.getTooltipPosition=function(e){if(null!=e)for(var a=this.getData(),r=this.coordinateSystem,i=a.getValues(At(r.dimensions,function(c){return a.mapDimension(c)}),e),o=0,s=i.length;o<s;o++)if(!isNaN(i[o])){var l=r.getIndicatorAxes();return r.coordToPoint(l[o].dataToCoord(i[o]),o)}},t.type="series.radar",t.dependencies=["radar"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},t}(hn);const jut=But;var WA=G6.value;function Mx(n,t){return Kt({show:t},n)}var Gut=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.optionUpdated=function(){var e=this.get("boundaryGap"),a=this.get("splitNumber"),r=this.get("scale"),i=this.get("axisLine"),o=this.get("axisTick"),s=this.get("axisLabel"),l=this.get("axisName"),c=this.get(["axisName","show"]),d=this.get(["axisName","formatter"]),u=this.get("axisNameGap"),h=this.get("triggerEvent"),f=At(this.get("indicator")||[],function(v){null!=v.max&&v.max>0&&!v.min?v.min=0:null!=v.min&&v.min<0&&!v.max&&(v.max=0);var A=l;null!=v.color&&(A=Kt({color:v.color},l));var b=le(Yt(v),{boundaryGap:e,splitNumber:a,scale:r,axisLine:i,axisTick:o,axisLabel:s,name:v.text,showName:c,nameLocation:"end",nameGap:u,nameTextStyle:A,triggerEvent:h},!1);if(Lt(d)){var x=b.name;b.name=d.replace("{value}",x??"")}else jt(d)&&(b.name=d(b.name,b));var S=new en(b,null,this.ecModel);return Mn(S,BA.prototype),S.mainType="radar",S.componentIndex=this.componentIndex,S},this);this._indicatorModels=f},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:le({lineStyle:{color:"#bbb"}},WA.axisLine),axisLabel:Mx(WA.axisLabel,!1),axisTick:Mx(WA.axisTick,!1),splitLine:Mx(WA.splitLine,!0),splitArea:Mx(WA.splitArea,!0),indicator:[]},t}(De);const Kut=Gut;var Wut=["axisLine","axisTickLabel","axisName"],Jut=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r){this.group.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e){var a=e.coordinateSystem;q(At(a.getIndicatorAxes(),function(o){var s=o.model.get("showName")?o.name:"";return new ls(o.model,{axisName:s,position:[a.cx,a.cy],rotation:o.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}),function(o){q(Wut,o.add,o),this.group.add(o.getGroup())},this)},t.prototype._buildSplitLineAndArea=function(e){var a=e.coordinateSystem,r=a.getIndicatorAxes();if(r.length){var i=e.get("shape"),o=e.getModel("splitLine"),s=e.getModel("splitArea"),l=o.getModel("lineStyle"),c=s.getModel("areaStyle"),d=o.get("show"),u=s.get("show"),h=l.get("
1color"),f=c.get("color"),v=vt(h)?h:[h],A=vt(f)?f:[f],b=[],x=[];if("circle"===i)for(var k=r[0].getTicksCoords(),D=a.cx,I=a.cy,M=0;M<k.length;M++){if(d)b[S(b,v,M)].push(new Pl({shape:{cx:D,cy:I,r:k[M].coord}}));if(u&&M<k.length-1)x[S(x,A,M)].push(new L_({shape:{cx:D,cy:I,r0:k[M].coord,r:k[M+1].coord}}))}else{var N,U=At(r,function(X,tt){var rt=X.getTicksCoords();return N=null==N?rt.length-1:Math.min(rt.length-1,N),At(rt,function(ot){return a.coordToPoint(ot.coord,tt)})}),z=[];for(M=0;M<=N;M++){for(var B=[],K=0;K<r.length;K++)B.push(U[K][M]);if(B[0]&&B.push(B[0].slice()),d)b[S(b,v,M)].push(new nr({shape:{points:B}}));if(u&&z)x[S(x,A,M-1)].push(new er({shape:{points:B.concat(z)}}));z=B.slice().reverse()}}var W=l.getLineStyle(),Z=c.getAreaStyle();q(x,function(X,tt){this.group.add(Fr(X,{style:Kt({stroke:"none",fill:A[tt%A.length]},Z),silent:!0}))},this),q(b,function(X,tt){this.group.add(Fr(X,{style:Kt({fill:"none",stroke:v[tt%v.length]},W),silent:!0}))},this)}function S(X,tt,rt){var ot=rt%tt.length;return X[ot]=X[ot]||[],ot}},t.type="radar",t}(xn);const Zut=Jut;var Xut=function(n){function t(e,a,r){var i=n.call(this,e,a,r)||this;return i.type="value",i.angle=0,i.name="",i}return pt(t,n),t}(fi);const Yut=Xut;var Qut=function(){function n(t,e,a){this.dimensions=[],this._model=t,this._indicatorAxes=At(t.getIndicatorModels(),function(r,i){var o="indicator_"+i,s=new Yut(o,new Fl);return s.name=r.get("name"),s.model=r,r.axis=s,this.dimensions.push(o),s},this),this.resize(t,a)}return n.prototype.getIndicatorAxes=function(){return this._indicatorAxes},n.prototype.dataToPoint=function(t,e){var a=this._indicatorAxes[e];return this.coordToPoint(a.dataToCoord(t),e)},n.prototype.coordToPoint=function(t,e){var r=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(r),this.cy-t*Math.sin(r)]},n.prototype.pointToData=function(t){var e=t[0]-this.cx,a=t[1]-this.cy,r=Math.sqrt(e*e+a*a);e/=r,a/=r;for(var s,i=Math.atan2(-a,e),o=1/0,l=-1,c=0;c<this._indicatorAxes.length;c++){var d=this._indicatorAxes[c],u=Math.abs(i-d.angle);u<o&&(s=d,l=c,o=u)}return[l,+(s&&s.coordToData(r))]},n.prototype.resize=function(t,e){var a=t.get("center"),r=e.getWidth(),i=e.getHeight(),o=Math.min(r,i)/2;this.cx=Ot(a[0],r),this.cy=Ot(a[1],i),this.startAngle=t.get("startAngle")*Math.PI/180;var s=t.get("radius");(Lt(s)||ke(s))&&(s=[0,s]),this.r0=Ot(s[0],o),this.r=Ot(s[1],o),q(this._indicatorAxes,function(l,c){l.setExtent(this.r0,this.r);var d=this.startAngle+c*Math.PI*2/this._indicatorAxes.length;d=Math.atan2(Math.sin(d),Math.cos(d)),l.angle=d},this)},n.prototype.update=function(t,e){var a=this._indicatorAxes,r=this._model;q(a,function(s){s.scale.setExtent(1/0,-1/0)}),t.eachSeriesByType("radar",function(s,l){if("radar"===s.get("coordinateSystem")&&t.getComponent("radar",s.get("radarIndex"))===r){var c=s.getData();q(a,function(d){d.scale.unionExtentFromData(c,c.mapDimension(d.dim))})}},this);var i=r.get("splitNumber"),o=new Fl;o.setExtent(0,i),o.setInterval(1),q(a,function(s,l){AV(s.scale,s.model,o)})},n.prototype.convertToPixel=function(t,e,a){return console.warn("Not implemented."),null},n.prototype.convertFromPixel=function(t,e,a){return console.warn("Not implemented."),null},n.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},n.create=function(t,e){var a=[];return t.eachComponent("radar",function(r){var i=new n(r,t,e);a.push(i),r.coordinateSystem=i}),t.eachSeriesByType("radar",function(r){"radar"===r.get("coordinateSystem")&&(r.coordinateSystem=a[r.get("radarIndex")||0])}),a},n.dimensions=[],n}();const $ut=Qut;function tpt(n){n.registerCoordinateSystem("radar",$ut),n.registerComponentModel(Kut),n.registerComponentView(Zut),n.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each(function(a){e.setItemVisual(a,"legendIcon","roundRect")}),e.setVisual("legendIcon","roundRect")}})}var LV="\0_ec_interaction_mutex";function NV(n,t){return!!PT(n)[t]}function PT(n){return n[LV]||(n[LV]={})}Xi({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},Tn);var rpt=function(n){function t(e){var a=n.call(this)||this;a._zr=e;var r=Ut(a._mousedownHandler,a),i=Ut(a._mousemoveHandler,a),o=Ut(a._mouseupHandler,a),s=Ut(a._mousewheelHandler,a),l=Ut(a._pinchHandler,a);return a.enable=function(c,d){this.disable(),this._opt=Kt(Yt(d)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==c&&(c=!0),(!0===c||"move"===c||"pan"===c)&&(e.on("mousedown",r),e.on("mousemove",i),e.on("mouseup",o)),(!0===c||"scale"===c||"zoom"===c)&&(e.on("mousewheel",s),e.on("pinch",l))},a.disable=function(){e.off("mousedown",r),e.off("mousemove",i),e.off("mouseup",o),e.off("mousewheel",s),e.off("pinch",l)},a}return pt(t,n),t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(e){this.pointerChecker=e},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(e){if(!kR(e)){for(var a=e.target;a;){if(a.draggable)return;a=a.__hostTarget||a.parent}var r=e.offsetX,i=e.offsetY;this.pointerChecker&&this.pointerChecker(e,r,i)&&(this._x=r,this._y=i,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(this._dragging&&Ox("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!NV(this._zr,"globalPan")){var a=e.offsetX,r=e.offsetY,i=this._x,o=this._y,s=a-i,l=r-o;this._x=a,this._y=r,this._opt.preventDefaultMouseMove&&Wo(e.event),UV(this,"pan","moveOnMouseMove",e,{dx:s,dy:l,oldX:i,oldY:o,newX:a,newY:r,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){kR(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var a=Ox("zoomOnMouseWheel",e,this._opt),r=Ox("moveOnMouseWheel",e,this._opt),i=e.wheelDelta,o=Math.abs(i),s=e.offsetX,l=e.offsetY;if(0!==i&&(a||r)){if(a){var c=o>3?1.4:o>1?1.2:1.1;IT(this,"zoom","zoomOnMouseWheel",e,{scale:i>0?c:1/c,originX:s,originY:l,isAvailableBehavior:null})}if(r){var u=Math.abs(i);IT(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(i>0?1:-1)*(u>3?.4:u>1?.15:.05),originX:s,originY:l,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){NV(this._zr,"globalPan")||IT(this,"zoom",null,e,{scale:e.pinchScale>1?1.1:1/1.1,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})},t}(Cr);function IT(n,t,e,a,r){n.pointerChecker&&n.pointerChecker(a,r.originX,r.originY)&&(Wo(a.event),UV(n,t,e,a,r))}function UV(n,t,e,a,r){r.isAvailableBehavior=Ut(Ox,null,e,a),n.trigger(t,r)}function Ox(n,t,e){var a=e[n];return!n||a&&(!Lt(a)||t.event[a+"Key"])}const JA=rpt;function MT(n,t,e){var a=n.target;a.x+=t,a.y+=e,a.dirty()}function OT(n,t,e,a){var r=n.target,i=n.zoomLimit,o=n.zoom=n.zoom||1;if(o*=t,i){var s=i.min||0,l=i.max||1/0;o=Math.max(Math.min(l,o),s)}var c=o/n.zoom;n.zoom=o,r.x-=(e-r.x)*(c-1),r.y-=(a-r.y)*(c-1),r.scaleX*=c,r.scaleY*=c,r.dirty()}var ipt={axisPointer:1,tooltip:1,brush:1};function Rx(n,t,e){var a=t.getComponentByElement(n.topTarget),r=a&&a.coordinateSystem;return a&&a!==e&&!ipt.hasOwnProperty(a.mainType)&&r&&r.model!==e}function FV(n){Lt(n)&&(n=(new DOMParser).parseFromString(n,"text/xml"));var e=n;for(9===e.nodeType&&(e=e.firstChild);
vendor: 14,901 bytes, line 1
1"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var RT,Lx={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},VV=ve(Lx),Nx={"alignment-baseline":"textBaseline","stop-color":"stopColor"},zV=ve(Nx),opt=function(){function n(){this._defs={},this._root=null}return n.prototype.parse=function(t,e){e=e||{};var a=FV(t);this._defsUsePending=[];var r=new te;this._root=r;var d,u,i=[],o=a.getAttribute("viewBox")||"",s=parseFloat(a.getAttribute("width")||e.width),l=parseFloat(a.getAttribute("height")||e.height);isNaN(s)&&(s=null),isNaN(l)&&(l=null),hr(a,r,null,!0,!1);for(var c=a.firstChild;c;)this._parseNode(c,r,i,null,!1,!1),c=c.nextSibling;if(function cpt(n,t){for(var e=0;e<t.length;e++){var a=t[e];a[0].style[a[1]]=n[a[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],o){var h=Ux(o);h.length>=4&&(d={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(d&&null!=s&&null!=l&&(u=WV(d,{x:0,y:0,width:s,height:l}),!e.ignoreViewBox)){var f=r;(r=new te).add(f),f.scaleX=f.scaleY=u.scale,f.x=u.x,f.y=u.y}return!e.ignoreRootClip&&null!=s&&null!=l&&r.setClipPath(new Se({shape:{x:0,y:0,width:s,height:l}})),{root:r,width:s,height:l,viewBoxRect:d,viewBoxTransform:u,named:i}},n.prototype._parseNode=function(t,e,a,r,i,o){var l,s=t.nodeName.toLowerCase(),c=r;if("defs"===s&&(i=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)l=e;else{if(!i){var d=RT[s];if(d&&Vt(RT,s)){l=d.call(this,t,e);var u=t.getAttribute("name");if(u){var h={name:u,namedFrom:null,svgNodeTagLower:s,el:l};a.push(h),"g"===s&&(c=h)}else r&&a.push({name:r.name,namedFrom:r,svgNodeTagLower:s,el:l});e.add(l)}}var f=EV[s];if(f&&Vt(EV,s)){var v=f.call(this,t),A=t.getAttribute("id");A&&(this._defs[A]=v)}}if(l&&l.isGroup)for(var b=t.firstChild;b;)1===b.nodeType?this._parseNode(b,l,a,c,i,o):3===b.nodeType&&o&&this._parseText(b,l),b=b.nextSibling},n.prototype._parseText=function(t,e){var a=new Zv({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Er(e,a),hr(t,a,this._defsUsePending,!1,!1),function spt(n,t){var e=t.__selfStyle;if(e){var a=e.textBaseline,r=a;a&&"auto"!==a&&"baseline"!==a?"before-edge"===a||"text-before-edge"===a?r="top":"after-edge"===a||"text-after-edge"===a?r="bottom":("central"===a||"mathematical"===a)&&(r="middle"):r="alphabetic",n.style.textBaseline=r}var i=t.__inheritedStyle;if(i){var o=i.textAlign,s=o;o&&("middle"===o&&(s="center"),n.style.textAlign=s)}}(a,e);var r=a.style,i=r.fontSize;i&&i<9&&(r.fontSize=9,a.scaleX*=i/9,a.scaleY*=i/9);var o=(r.fontSize||r.fontFamily)&&[r.fontStyle,r.fontWeight,(r.fontSize||12)+"px",r.fontFamily||"sans-serif"].join(" ");r.font=o;var s=a.getBoundingRect();return this._textX+=s.width,e.add(a),a},n.internalField=void(RT={g:function(t,e){var a=new te;return Er(e,a),hr(t,a,this._defsUsePending,!1,!1),a},rect:function(t,e){var a=new Se;return Er(e,a),hr(t,a,this._defsUsePending,!1,!1),a.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),a.silent=!0,a},circle:function(t,e){var a=new Pl;return Er(e,a),hr(t,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),a.silent=!0,a},line:function(t,e){var a=new ea;return Er(e,a),hr(t,a,this._defsUsePending,!1,!1),a.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),a.silent=!0,a},ellipse:function(t,e){var a=new sD;return Er(e,a),hr(t,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),a.silent=!0,a},polygon:function(t,e){var r,a=t.getAttribute("points");a&&(r=BV(a));var i=new er({shape:{points:r||[]},silent:!0});return Er(e,i),hr(t,i,this._defsUsePending,!1,!1),i},polyline:function(t,e){var r,a=t.getAttribute("points");a&&(r=BV(a));var i=new nr({shape:{points:r||[]},silent:!0});return Er(e,i),hr(t,i,this._defsUsePending,!1,!1),i},image:function(t,e){var a=new la;return Er(e,a),hr(t,a,this._defsUsePending,!1,!1),a.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),a.silent=!0,a},text:function(t,e){var a=t.getAttribute("x")||"0",r=t.getAttribute("y")||"0",i=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(a)+parseFloat(i),this._textY=parseFloat(r)+parseFloat(o);var s=new te;return Er(e,s),hr(t,s,this._defsUsePending,!1,!0),s},tspan:function(t,e){var a=t.getAttribute("x"),r=t.getAttribute("y");null!=a&&(this._textX=parseFloat(a)),null!=r&&(this._textY=parseFloat(r));var i=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",s=new te;return Er(e,s),hr(t,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),s},path:function(t,e){var r=TN(t.getAttribute("d")||"");return Er(e,r),hr(t,r,this._defsUsePending,!1,!1),r.silent=!0,r}}),n}(),EV={lineargradient:function(n){var t=parseInt(n.getAttribute("x1")||"0",10),e=parseInt(n.getAttribute("y1")||"0",10),a=parseInt(n.getAttribute("x2")||"10",10),r=parseInt(n.getAttribute("y2")||"0",10),i=new fA(t,e,a,r);return qV(n,i),HV(n,i),i},radialgradient:function(n){var t=parseInt(n.getAttribute("cx")||"0",10),e=parseInt(n.getAttribute("cy")||"0",10),a=parseInt(n.getAttribute("r")||"0",10),r=new BN(t,e,a);return qV(n,r),HV(n,r),r}};function qV(n,t){"userSpaceOnUse"===n.getAttribute("gradientUnits")&&(t.global=!0)}function HV(n,t){for(var e=n.firstChild;e;){if(1===e.nodeType&&"stop"===e.nodeName.toLocaleLowerCase()){var a=e.getAttribute("offset"),r=void 0;r=a&&a.indexOf("%")>0?parseInt(a,10)/100:a?parseFloat(a):0;var i={};KV(e,i,i);var o=i.stopColor||e.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:r,color:o})}e=e.nextSibling}}function Er(n,t){n&&n.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),Kt(t.__inheritedStyle,n.__inheritedStyle))}function BV(n){for(var t=Ux(n),e=[],a=0;a<t.length;a+=2){var r=parseFloat(t[a]),i=parseFloat(t[a+1]);e.push([r,i])}return e}function hr(n,t,e,a,r){var i=t,o=i.__inheritedStyle=i.__inheritedStyle||{},s={};1===n.nodeType&&(function ppt(n,t){var e=n.getAttribute("transform");if(e){e=e.replace(/,/g," ");var a=[],r=null;e.replace(upt,function(u,h,f){return a.push(h,f),""});for(var i=a.length-1;i>0;i-=2){var o=a[i],s=a[i-1],l=Ux(o);switch(r=r||[1,0,0,1,0,0],s){case"translate":Ui(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":n2(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":$c(r,r,-parseFloat(l[0])*LT,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":Jo(r,[1,0,Math.tan(parseFloat(l[0])*LT),1,0,0],r);break;case"skewY":Jo(r,[1,Math.tan(parseFloat(l[0])*LT),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}t.setLocalTransform(r)}}(n,t),KV(n,o,s),a||function hpt(n,t,e){for(var a=0;a<VV.length;a++){var r=VV[a];null!=(i=n.getAttribute(r))&&(t[Lx[r]]=i)}for(a=0;a<zV.length;a++){var i;r=zV[a];null!=(i=n.getAttribute(r))&&(e[Nx[r]]=i)}}(n,o,s)),i.style=i.style||{},null!=o.fill&&(i.style.fill=jV(i,"fill",o.fill,e)),null!=o.stroke&&(i.style.stroke=jV(i,"stroke",o.stroke,e)),q(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(l){null!=o[l]&&(i.style[l]=parseFloat(o[l]))}),q(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(l){null!=o[l]&&(i.style[l]=o[l])}),r&&(i.__selfStyle=s),o.lineDash&&(i.style.lineDash=At(Ux(o.lineDash),function(l){return parseFloat(l)})),("hidden"===o.visibility||"collapse"===o.visibility)&&(i.invisible=!0),"none"===o.display&&(i.ignore=!0)}var lpt=/^url\(\s*#(.*?)\)/;function jV(n,t,e,a){var r=e&&e.match(lpt);if(!r)return"none"===e&&(e=null),e;var i=ni(r[1]);a.push([n,t,i])}var dpt=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Ux(n){return n.match(dpt)||[]}var upt=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,LT=Math.PI/180;var GV=/([^\s:;]+)\s*:\s*([^:;]+)/g;function KV(n,t,e){var a=n.getAttribute("style");if(a){GV.lastIndex=0;for(var r;null!=(r=GV.exec(a));){var i=r[1],o=Vt(Lx,i)?Lx[i]:null;o&&(t[o]=r[2]);var s=Vt(Nx,i)?Nx[i]:null;s&&(e[s]=r[2])}}}function WV(n,t){var e=t.width/n.width,a=t.height/n.height,r=Math.min(e,a);return{scale:r,x:-(n.x+n.width/2)*r+(t.x+t.width/2),y:-(n.y+n.height/2)*r+(t.y+t.height/2)}}function JV(n,t){return Math.abs(n-t)<1e-8}function $d(n,t,e){var a=0,r=n[0];if(!r)return!1;for(var i=1;i<n.length;i++){var o=n[i];a+=$o(r[0],r[1],o[0],o[1],t,e),r=o}var s=n[0];return(!JV(r[0],s[0])||!JV(r[1],s[1]))&&(a+=$o(r[0],r[1],s[0],s[1],t,e)),0!==a}var gpt=[];function NT(n,t){for(var e=0;e<n.length;e++)sa(n[e],n[e],t)}function ZV(n,t,e,a){for(var r=0;r<n.length;r++){var i=n[r];a&&(i=a.project(i)),i&&isFinite(i[0])&&isFinite(i[1])&&(pl(t,t,i),hl(e,e,i))}}var XV=function(){function n(t){this.name=t}return n.prototype.setCenter=function(t){this._center=t},n.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},n}(),YV=function n(t,e){this.type="polygon",this.exterior=t,this.interiors=e},QV=function n(t){this.type="linestring",this.points=t},$V=function(n){function t(e,a,r){var i=n.call(this,e)||this;return i.type="geoJSON",i.geometries=a,i._center=r&&[r[0],r[1]],i}return pt(t,n),t.prototype.calcCenter=function(){for(var a,e=this.geometries,r=0,i=0;i<e.length;i++){var o=e[i],s=o.exterior,l=s&&s.length;l>r&&(a=o,r=l)}if(a)return function vpt(n){for(var t=0,e=0,a=0,r=n.length,i=n[r-1][0],o=n[r-1][1],s=0;s<r;s++){var l=n[s][0],c=n[s][1],d=i*c-l*o;t+=d,e+=(i+l)*d,a+=(o+c)*d,i=l,o=c}return t?[e/t/3,a/t/3,t]:[n[0][0]||0,n[0][1]||0]}(a.exterior);var c=this.getBoundingRect();return[c.x+c.width/2,c.y+c.height/2]},t.prototype.getBoundingRect=function(e){var a=this._rect;if(a&&!e)return a;var r=[1/0,1/0],i=[-1/0,-1/0];return q(this.geometries,function(s){"polygon"===s.type?ZV(s.exterior,r,i,e):q(s.points,function(l){ZV(l,r,i,e)})}),isFinite(r[0])&&isFinite(r[1])&&isFinite(i[0])&&isFinite(i[1])||(r[0]=r[1]=i[0]=i[1]=0),a=new de(r[0],r[1],i[0]-r[0],i[1]-r[1]),e||(this._rect=a),a},t.prototype.contain=function(e){var a=this.getBoundingRect(),r=this.geometries;if(!a.contain(e[0],e[1]))return!1;t:for(var i=0,o=r.length;i<o;i++){var s=r[i];if("polygon"===s.type){var l=s.exterior,c=s.interiors;if($d(l,e[0],e[1])){for(var d=0;d<(c?c.length:0);d++)if($d(c[d],e[0],e[1]))continue t;return!0}}}return!1},t.prototype.transformTo=function(e,a,r,i){var o=this.getBoundingRect(),s=o.width/o.height;r?i||(i=r/s):r=s*i;for(var l=new de(e,a,r,i),c=o.calculateTransform(l),d=this.geometries,u=0;u<d.length;u++){var h=d[u];"polygon"===h.type?(NT(h.exterior,c),q(h.interiors,function(f){NT(f,c)})):q(h.points,function(f){NT(f,c)})}(o=this._rect).copy(l),this._center=[o.x+o.width/2,o.y+o.height/2]},t.prototype.cloneShallow=function(e){null==e&&(e=this.name);var a=new t(e,this.geometries,this._center);return a._rect=this._rect,a.transformTo=null,a},t}(XV),Apt=function(n){function t(e,a){var r=n.call(this,e)||this;return r.type="geoSVG",r._elOnlyForCalculate=a,r}return pt(t,n),t.prototype.calcCenter=function(){for(var e=this._elOnlyForCalculate,a=e.getBoundingRect(),r=[a.x+a.width/2,a.y+a.height/2],i=D0(gpt),o=e;o&&!o.isGeoSVGGraphicRoot;)Jo(i,o.getLocalTransform(),i),o=o.parent;return Lh(i,i),sa(r,r,i),r},t}(XV),ypt=Et(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),bpt=function(){function n(t,e){this.type="geoSVG",this._usedGraphicMap=Et(),this._freedGraphics=[],this._mapName=t,this._parsedXML=FV(e)}return n.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=function xpt(n){var t=[],e=Et();return q(n,function(a){if(null==a.namedFrom){var r=new Apt(a.name,a.el);t.push(r),e.set(a.name,r)}}),{regions:t,regionsMap:e}}(t.named),a=e.regions,r=e.regionsMap;this._regions=a,this._regionsMap=r}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},n.prototype._buildGraphic=function(t){var e,a;try{e=t&&function mpt(n,t){return(new opt).parse(n,t)}(t,{ignoreViewBox:!0,ignoreRootClip:!0})||{},Oa(null!=(a=e.root))}catch(b){throw new Error("Invalid svg format\n"+b.message)}var r=new te;r.add(a),r.isGeoSVGGraphicRoot=!0;var i=e.width,o=e.height,s=e.viewBoxRect,l=this._boundingRect;if(!l){var c=void 0,d=void 0,u=void 0,h=void 0;if(null!=i?(c=0,u=i):s&&(c=s.x,u=s.width),null!=o?(d=0,h=o):s&&(d=s.y,h=s.height),null==c||null==d){var f=a.getBoundingRect();null==c&&(c=f.x,u=f.width),null==d&&(d=f.y,h=f.height)}l=this._boundingRect=new de(c,d,u,h)}if(s){var v=WV(s,l);a.scaleX=a.scaleY=v.scale,a.x=v.x,a.y=v.y}r.setClipPath(new Se({shape:l.plain()}));var A=[];return q(e.named,function(b){null!=ypt.get(b.svgNodeTagLower)&&(A.push(b),function _pt(n){n.silent=!1,n.isGroup&&n.traverse(function(t){t.silent=!1})}(b.el))}),{root:r,boundingRect:l,named:A}},n.prototype.useGraphic=function(t){var e=this._usedGraphicMap,a=e.get(t);return a||(a=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,a),a)},n.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,a=e.get(t);a&&(e.removeKey(t),this._freedGraphics.push(a))},n}();function UT(n,t,e){for(var a=0;a<n.length;a++)n[a]=tz(n[a],t[a],e)}function tz(n,t,e){for(var a=[],r=t[0],i=t[1],o=0;o<n.length;o+=2){var s=n.charCodeAt(o)-64,l=n.charCodeAt(o+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),r=s+=r,i=l+=i,a.push([s/e,l/e])}return a}function wpt(n,t){return n=function Spt(n){if(!n.UTF8Encoding)return n;var t=n,e=t.UTF8Scale;return null==e&&(e=1024),q(t.features,function(r){var i=r.geometry,o=i.encodeOffsets,s=i.coordinates;if(o)switch(i.type){case"LineString":i.coordinates=tz(s,o,e);break;case"Polygon":case"MultiLineString":UT(s,o,e);break;case"MultiPolygon":q(s,function(l,c){return UT(l,o[c],e)})}}),t.UTF8Encoding=!1,t}(n),At(Ne(n.features,function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0}),function(e){var a=e.properties,r=e.geometry,i=[];
1switch(r.type){case"Polygon":var o=r.coordinates;i.push(new YV(o[0],o.slice(1)));break;case"MultiPolygon":q(r.coordinates,function(l){l[0]&&i.push(new YV(l[0],l.slice(1)))});break;case"LineString":i.push(new QV([r.coordinates]));break;case"MultiLineString":i.push(new QV(r.coordinates))}var s=new $V(a[t||"name"],i,a.cp);return s.properties=a,s})}for(var FT=[126,25],tu=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],eu=0;eu<tu.length;eu++)for(var km=0;km<tu[eu].length;km++)tu[eu][km][0]/=10.5,tu[eu][km][1]/=-14,tu[eu][km][0]+=FT[0],tu[eu][km][1]+=FT[1];var Cpt={\u5357\u6d77\u8bf8\u5c9b:[32,80],\u5e7f\u4e1c:[0,-10],\u9999\u6e2f:[10,5],\u6fb3\u95e8:[-10,10],\u5929\u6d25:[5,5]};var Tpt=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];var Mpt=function(){function n(t,e,a){this.type="geoJSON",this._parsedMap=Et(),this._mapName=t,this._specialAreas=a,this._geoJSON=function Rpt(n){return Lt(n)?typeof JSON<"u"&&JSON.parse?JSON.parse(n):new Function("return ("+n+");")():n}(e)}return n.prototype.load=function(t,e){e=e||"name";var a=this._parsedMap.get(e);if(!a){var r=this._parseToRegions(e);a=this._parsedMap.set(e,{regions:r,boundingRect:Opt(r)})}var i=Et(),o=[];return q(a.regions,function(s){var l=s.name;t&&Vt(t,l)&&(s=s.cloneShallow(l=t[l])),o.push(s),i.set(l,s)}),{regions:o,boundingRect:a.boundingRect||new de(0,0,0,0),regionsMap:i}},n.prototype._parseToRegions=function(t){var r,e=this._mapName,a=this._geoJSON;try{r=a?wpt(a,t):[]}catch(i){throw new Error("Invalid geoJson format\n"+i.message)}return function kpt(n,t){if("china"===n){for(var e=0;e<t.length;e++)if("\u5357\u6d77\u8bf8\u5c9b"===t[e].name)return;t.push(new $V("\u5357\u6d77\u8bf8\u5c9b",At(tu,function(a){return{type:"polygon",exterior:a}}),FT))}}(e,r),q(r,function(i){var o=i.name;(function Dpt(n,t){if("china"===n){var e=Cpt[t.name];if(e){var a=t.getCenter();a[0]+=e[0]/10.5,a[1]+=-e[1]/14,t.setCenter(a)}}})(e,i),function Ppt(n,t){"china"===n&&"\u53f0\u6e7e"===t.name&&t.geometries.push({type:"polygon",exterior:Tpt[0]})}(e,i);var s=this._specialAreas&&this._specialAreas[o];s&&i.transformTo(s.left,s.top,s.width,s.height)},this),r},n.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},n}();function Opt(n){for(var t,e=0;e<n.length;e++){var a=n[e].getBoundingRect();(t=t||a.clone()).union(a)}return t}var ZA=Et();const cs_registerMap=function(n,t,e){if(t.svg){var a=new bpt(n,t.svg);ZA.set(n,a)}else{var r=t.geoJson||t.geoJSON;r&&!t.features?e=t.specialAreas:r=t;a=new Mpt(n,r,e);ZA.set(n,a)}},cs_getGeoResource=function(n){return ZA.get(n)},cs_getMapForUser=function(n){var t=ZA.get(n);return t&&"geoJSON"===t.type&&t.getMapForUser()},cs_load=function(n,t,e){var a=ZA.get(n);if(a)return a.load(t,e)};var VT=["rect","circle","line","ellipse","polygon","polyline","path"],Lpt=Et(VT),Npt=Et(VT.concat(["g"])),Upt=Et(VT.concat(["g"])),nz=_e();function Fx(n){var t=n.getItemStyle(),e=n.get("areaColor");return null!=e&&(t.fill=e),t}function az(n){var t=n.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var Fpt=function(){function n(t){var e=new te;this.uid=Zh("ec_map_draw"),this._controller=new JA(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new te),e.add(this._svgGroup=new te)}return n.prototype.draw=function(t,e,a,r,i){var o="geo"===t.mainType,s=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},function(x){!s&&x.getHostGeoModel()===t&&(s=x.getData())});var l=t.coordinateSystem,c=this._regionsGroup,d=this.group,u=l.getTransformInfo(),h=u.raw,f=u.roam;!c.childAt(0)||i?(d.x=f.x,d.y=f.y,d.scaleX=f.scaleX,d.scaleY=f.scaleY,d.dirty()):Te(d,f,t);var A=s&&s.getVisual("visualMeta")&&s.getVisual("visualMeta").length>0,b={api:a,geo:l,mapOrGeoModel:t,data:s,isVisualEncodedByVisualMap:A,isGeo:o,transformInfoRaw:h};"geoJSON"===l.resourceType?this._buildGeoJSON(b):"geoSVG"===l.resourceType&&this._buildSVG(b),this._updateController(t,e,a),this._updateMapSelectHandler(t,c,a,r)},n.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=Et(),a=Et(),r=this._regionsGroup,i=t.transformInfoRaw,o=t.mapOrGeoModel,s=t.data,l=t.geo.projection,c=l&&l.stream;function d(f,v){return v&&(f=v(f)),f&&[f[0]*i.scaleX+i.x,f[1]*i.scaleY+i.y]}function u(f){for(var v=[],A=!c&&l&&l.project,b=0;b<f.length;++b){var x=d(f[b],A);x&&v.push(x)}return v}function h(f){return{shape:{points:u(f)}}}r.removeAll(),q(t.geo.regions,function(f){var v=f.name,A=e.get(v),b=a.get(v)||{},x=b.dataIdx,S=b.regionModel;if(!A){A=e.set(v,new te),r.add(A),x=s?s.indexOfName(v):null;
1var k=(S=t.isGeo?o.getRegionModel(v):s?s.getItemModel(x):null).get("silent",!0);null!=k&&(A.silent=k),a.set(v,{dataIdx:x,regionModel:S})}var D=[],I=[];q(f.geometries,function(N){if("polygon"===N.type){var U=[N.exterior].concat(N.interiors||[]);c&&(U=cz(U,c)),q(U,function(B){D.push(new er(h(B)))})}else{var z=N.points;c&&(z=cz(z,c,!0)),q(z,function(B){I.push(new nr(h(B)))})}});var M=d(f.getCenter(),l&&l.project);function R(N,U){if(N.length){var z=new dD({culling:!0,segmentIgnoreThreshold:1,shape:{paths:N}});A.add(z),rz(t,z,x,S),iz(t,z,v,S,o,x,M),U&&(az(z),q(z.states,az))}}R(D),R(I,!0)}),e.each(function(f,v){var A=a.get(v),b=A.dataIdx,x=A.regionModel;oz(t,f,v,x,o,b),sz(t,f,v,x,o),lz(t,f,v,x,o)},this)},n.prototype._buildSVG=function(t){var e=t.geo.map,a=t.transformInfoRaw;this._svgGroup.x=a.x,this._svgGroup.y=a.y,this._svgGroup.scaleX=a.scaleX,this._svgGroup.scaleY=a.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var r=this._svgDispatcherMap=Et(),i=!1;q(this._svgGraphicRecord.named,function(o){var s=o.name,l=t.mapOrGeoModel,c=t.data,d=o.svgNodeTagLower,u=o.el,h=c?c.indexOfName(s):null,f=l.getRegionModel(s);null!=Lpt.get(d)&&u instanceof Mr&&rz(t,u,h,f),u instanceof Mr&&(u.culling=!0);var v=f.get("silent",!0);(null!=v&&(u.silent=v),u.z2EmphasisLift=0,o.namedFrom||(null!=Upt.get(d)&&iz(t,u,s,f,l,h,null),oz(t,u,s,f,l,h),sz(t,u,s,f,l),null==Npt.get(d)))||("self"===lz(t,u,s,f,l)&&(i=!0),(r.get(s)||r.set(s,[])).push(u))},this),this._enableBlurEntireSVG(i,t)},n.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var r=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse(function(i){if(!i.isGroup){_d(i);var o=i.ensureState("blur").style||{};null==o.opacity&&null!=r&&(o.opacity=r),i.ensureState("emphasis")}})}},n.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},n.prototype.findHighDownDispatchers=function(t,e){if(null==t)return[];var a=e.coordinateSystem;if("geoJSON"===a.resourceType){var r=this._regionsGroupByName;if(r){var i=r.get(t);return i?[i]:[]}}else if("geoSVG"===a.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},n.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},n.prototype._useSVG=function(t){var e=cs_getGeoResource(t);if(e&&"geoSVG"===e.type){var a=e.useGraphic(this.uid);this._svgGroup.add(a.root),this._svgGraphicRecord=a,this._svgMapName=t}},n.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=cs_getGeoResource(t);e&&"geoSVG"===e.type&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},n.prototype._updateController=function(t,e,a){var r=t.coordinateSystem,i=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=r.getZoom(),i.enable(t.get("roam")||!1);var s=t.mainType;function l(){var c={type:"geoRoam",componentType:s};return c[s+"Id"]=t.id,c}i.off("pan").on("pan",function(c){this._mouseDownFlag=!1,MT(o,c.dx,c.dy),a.dispatchAction(ft(l(),{dx:c.dx,dy:c.dy,animation:{duration:0}}))},this),i.off("zoom").on("zoom",function(c){this._mouseDownFlag=!1,OT(o,c.scale,c.originX,c.originY),a.dispatchAction(ft(l(),{totalZoom:o.zoom,zoom:c.scale,originX:c.originX,originY:c.originY,animation:{duration:0}}))},this),i.setPointerChecker(function(c,d,u){return r.containPoint([d,u])&&!Rx(c,a,t)})},n.prototype.resetForLabelLayout=function(){this.group.traverse(function(t){var e=t.getTextContent();e&&(e.ignore=nz(e).ignore)})},n.prototype._updateMapSelectHandler=function(t,e,a,r){var i=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",function(){i._mouseDownFlag=!0}),e.on("click",function(o){!i._mouseDownFlag||(i._mouseDownFlag=!1)}))},n}();function rz(n,t,e,a){var r=a.getModel("itemStyle"),i=a.getModel(["emphasis","itemStyle"]),o=a.getModel(["blur","itemStyle"]),s=a.getModel(["select","itemStyle"]),l=Fx(r),c=Fx(i),d=Fx(s),u=Fx(o),h=n.data;if(h){var f=h.getItemVisual(e,"style"),v=h.getItemVisual(e,"decal");n.isVisualEncodedByVisualMap&&f.fill&&(l.fill=f.fill),v&&(l.decal=fm(v,n.api))}t.setStyle(l),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=c,t.ensureState("select").style=d,t.ensureState("blur").style=u,_d(t)}function iz(n,t,e,a,r,i,o){var s=n.data,l=n.isGeo,c=s&&isNaN(s.get(s.mapDimension("value"),i)),d=s&&s.getItemLayout(i);if(l||c||d&&d.showLabel){var u=l?e:i,h=void 0;(!s||i>=0)&&(h=r);var f=o?{normal:{align:"center",verticalAlign:"middle"}}:null;da(t,Kn(a),{labelFetcher:h,labelDataIndex:u,defaultText:e},f);var v=t.getTextContent();if(v&&(nz(v).ignore=v.ignore,t.textConfig&&o)){var A=t.getBoundingRect
vendor: 7,145 bytes, line 1
1().clone();t.textConfig.layoutRect=A,t.textConfig.position=[(o[0]-A.x)/A.width*100+"%",(o[1]-A.y)/A.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function oz(n,t,e,a,r,i){n.data?n.data.setItemGraphicEl(i,t):ee(t).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:e,region:a&&a.option||{}}}function sz(n,t,e,a,r){n.data||Nd({el:t,componentModel:r,itemName:e,itemTooltipOption:a.get("tooltip")})}function lz(n,t,e,a,r){t.highDownSilentOnTouch=!!r.get("selectedMode");var i=a.getModel("emphasis"),o=i.get("focus");return An(t,o,i.get("blurScope"),i.get("disabled")),n.isGeo&&function Mat(n,t,e){var a=ee(n);a.componentMainType=t.mainType,a.componentIndex=t.componentIndex,a.componentHighDownName=e}(t,r,e),o}function cz(n,t,e){var r,a=[];function i(){r=[]}function o(){r.length&&(a.push(r),r=[])}var s=t({polygonStart:i,polygonEnd:o,lineStart:i,lineEnd:o,point:function(l,c){isFinite(l)&&isFinite(c)&&r.push([l,c])},sphere:function(){}});return!e&&s.polygonStart(),q(n,function(l){s.lineStart();for(var c=0;c<l.length;c++)s.point(l[c][0],l[c][1]);s.lineEnd()}),!e&&s.polygonEnd(),a}const dz=Fpt;var Vpt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var o=this.group;if(o.removeAll(),!e.getHostGeoModel()){if(this._mapDraw&&i&&"geoRoam"===i.type&&this._mapDraw.resetForLabelLayout(),i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===e.id)(s=this._mapDraw)&&o.add(s.group);else if(e.needsDrawMap){var s=this._mapDraw||new dz(r);o.add(s.group),s.draw(e,a,r,this,i),this._mapDraw=s}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&a.getComponent("legend")&&this._renderSymbols(e,a,r)}}},t.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},t.prototype._renderSymbols=function(e,a,r){var i=e.originalData,o=this.group;i.each(i.mapDimension("value"),function(s,l){if(!isNaN(s)){var c=i.getItemLayout(l);if(c&&c.point){var d=c.point,u=c.offset,h=new Pl({style:{fill:e.getData().getVisual("style").fill},shape:{cx:d[0]+9*u,cy:d[1],r:3},silent:!0,z2:8+(u?0:11)});if(!u){var f=e.mainSeries.getData(),v=i.getName(l),A=f.indexOfName(v),b=i.getItemModel(l),x=b.getModel("label"),S=f.getItemGraphicEl(A);da(h,Kn(b),{labelFetcher:{getFormattedLabel:function(k,D){return e.getFormattedLabel(A,D)}},defaultText:v}),h.disableLabelAnimation=!0,x.get("position")||h.setTextConfig({position:"bottom"}),S.onHoverStateChange=function(k){c_(h,k)}}o.add(h)}}})},t.type="map",t}(nn);const zpt=Vpt;var Ept=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.needsDrawMap=!1,e.seriesGroup=[],e.getTooltipPosition=function(a){if(null!=a){var r=this.getData().getName(a),i=this.coordinateSystem,o=i.getRegion(r);return o&&i.dataToPoint(o.getCenter())}},e}return pt(t,n),t.prototype.getInitialData=function(e){for(var a=_m(this,{coordDimensions:["value"],encodeDefaulter:se(UC,this)}),r=Et(),i=[],o=0,s=a.count();o<s;o++){var l=a.getName(o);r.set(l,o)}return q(cs_load(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,function(d){var v,u=d.name,h=r.get(u),f=d.properties&&d.properties.echartsStyle;null==h?(v={name:u},i.push(v)):v=a.getRawDataItem(h),f&&le(v,f)}),a.appendData(i),a},t.prototype.getHostGeoModel=function(){var e=this.option.geoIndex;return null!=e?this.ecModel.getComponent("geo",e):null},t.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},t.prototype.getRawValue=function(e){var a=this.getData();return a.get(a.mapDimension("value"),e)},t.prototype.getRegionModel=function(e){var a=this.getData();return a.getItemModel(a.indexOfName(e))},t.prototype.formatTooltip=function(e,a,r){for(var i=this.getData(),o=this.getRawValue(e),s=i.getName(e),l=this.seriesGroup,c=[],d=0;d<l.length;d++){var u=l[d].originalData.indexOfName(s),h=i.mapDimension("value");isNaN(l[d].originalData.get(h,u))||c.push(l[d].name)}return Wn("section",{header:c.join(", "),noHeader:!c.length,blocks:[Wn("nameValue",{name:s,value:o})]})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.getLegendIcon=function(e){var a=e.icon||"roundRect",r=Ln(a,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill);return r.setStyle(e.itemStyle),r.style.stroke="none",a.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill="#fff",r.style.lineWidth=2),r},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t}(hn);const qpt=Ept;function Bpt(n){var t={};n.eachSeriesByType("map",function(e){var a=e.getHostGeoModel(),r=a?"o"+a.id:"i"+e.getMapType();(t[r]=t[r]||[]).push(e)}),q(t,function(e,a){for(var r=function Hpt(n,t){var e={};return q(n,function(a){a.each(a.mapDimension("value"),function(r,i){var o="ec-"+a.getName(i);e[o]=e[o]||[],isNaN(r)||e[o].push(r)})}),n[0].map(n[0].mapDimension("value"),function(a,r){for(var i="ec-"+n[0].getName(r),o=0,s=1/0,l=-1/0,c=e[i].length,d=0;d<c;d++)s=Math.min(s,e[i][d]),l=Math.max(l,e[i][d]),o+=e[i][d];return 0===c?NaN:"min"===t?s:"max"===t?l:"average"===t?o/c:o})}(At(e,function(o){return o.getData()}),e[0].get("mapValueCalculation")),i=0;i<e.length;i++)e[i].originalData=e[i].getData();for(i=0;i<e.length;i++)e[i].seriesGroup=e,e[i].needsDrawMap=0===i&&!e[i].getHostGeoModel(),e[i].setData(r.cloneShallow()),e[i].mainSeries=e[0]})}function jpt(n){var t={};n.eachSeriesByType("map",function(e){var a=e.getMapType();if(!e.getHostGeoModel()&&!t[a]){var r={};q(e.seriesGroup,function(o){var s=o.coordinateSystem,l=o.originalData;o.get("showLegendSymbol")&&n.getComponent("legend")&&l.each(l.mapDimension("value"),function(c,d){var u=l.getName(d),h=s.getRegion(u);if(h&&!isNaN(c)){var f=r[u]||0,v=s.dataToPoint(h.getCenter());r[u]=f+1,l.setItemLayout(d,{point:v,offset:f})}})});var i=e.getData();i.each(function(o){var s=i.getName(o),l=i.getItemLayout(o)||{};l.showLabel=!r[s],i.setItemLayout(o,l)}),t[a]=!0}})}var uz=sa,Gpt=function(n){function t(e){var a=n.call(this)||this;return a.type="view",a.dimensions=["x","y"],a._roamTransformable=new Xo,a._rawTransformable=new Xo,a.name=e,a}return pt(t,n),t.prototype.setBoundingRect=function(e,a,r,i){return this._rect=new de(e,a,r,i),this._rect},t.prototype.getBoundingRect=function(){return this._rect},t.prototype.setViewRect=function(e,a,r,i){this._transformTo(e,a,r,i),this._viewRect=ne
vendor: 5,277 bytes, line 1
1w de(e,a,r,i)},t.prototype._transformTo=function(e,a,r,i){var o=this.getBoundingRect(),s=this._rawTransformable;s.transform=o.calculateTransform(new de(e,a,r,i));var l=s.parent;s.parent=null,s.decomposeTransform(),s.parent=l,this._updateTransform()},t.prototype.setCenter=function(e,a){!e||(this._center=[Ot(e[0],a.getWidth()),Ot(e[1],a.getHeight())],this._updateCenterAndZoom())},t.prototype.setZoom=function(e){e=e||1;var a=this.zoomLimit;a&&(null!=a.max&&(e=Math.min(a.max,e)),null!=a.min&&(e=Math.max(a.min,e))),this._zoom=e,this._updateCenterAndZoom()},t.prototype.getDefaultCenter=function(){var e=this.getBoundingRect();return[e.x+e.width/2,e.y+e.height/2]},t.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},t.prototype.getZoom=function(){return this._zoom||1},t.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},t.prototype._updateCenterAndZoom=function(){var e=this._rawTransformable.getLocalTransform(),a=this._roamTransformable,r=this.getDefaultCenter(),i=this.getCenter(),o=this.getZoom();i=sa([],i,e),r=sa([],r,e),a.originX=i[0],a.originY=i[1],a.x=r[0]-i[0],a.y=r[1]-i[1],a.scaleX=a.scaleY=o,this._updateTransform()},t.prototype._updateTransform=function(){var e=this._roamTransformable,a=this._rawTransformable;a.parent=e,e.updateTransform(),a.updateTransform(),e2(this.transform||(this.transform=[]),a.transform||[1,0,0,1,0,0]),this._rawTransform=a.getLocalTransform(),this.invTransform=this.invTransform||[],Lh(this.invTransform,this.transform),this.decomposeTransform()},t.prototype.getTransformInfo=function(){var e=this._rawTransformable,a=this._roamTransformable,r=new Xo;return r.transform=a.transform,r.decomposeTransform(),{roam:{x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY},raw:{x:e.x,y:e.y,scaleX:e.scaleX,scaleY:e.scaleY}}},t.prototype.getViewRect=function(){return this._viewRect},t.prototype.getViewRectAfterRoam=function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},t.prototype.dataToPoint=function(e,a,r){var i=a?this._rawTransform:this.transform;return r=r||[],i?uz(r,e,i):Ra(r,e)},t.prototype.pointToData=function(e){var a=this.invTransform;return a?uz([],e,a):[e[0],e[1]]},t.prototype.convertToPixel=function(e,a,r){var i=pz(a);return i===this?i.dataToPoint(r):null},t.prototype.convertFromPixel=function(e,a,r){var i=pz(a);return i===this?i.pointToData(r):null},t.prototype.containPoint=function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])},t.dimensions=["x","y"],t}(Xo);function pz(n){var t=n.seriesModel;return t?t.coordinateSystem:null}const XA=Gpt;var Kpt={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},hz=["lng","lat"],mz=function(n){function t(e,a,r){var i=n.call(this,e)||this;i.dimensions=hz,i.type="geo",i._nameCoordMap=Et(),i.map=a;var h,o=r.projection,s=cs_load(a,r.nameMap,r.nameProperty),l=cs_getGeoResource(a),d=(i.resourceType=l?l.type:null,i.regions=s.regions),u=Kpt[l.type];if(i._regionsMap=s.regionsMap,i.regions=s.regions,i.projection=o,o)for(var f=0;f<d.length;f++){var v=d[f].getBoundingRect(o);(h=h||v.clone()).union(v)}else h=s.boundingRect;return i.setBoundingRect(h.x,h.y,h.width,h.height),i.aspectScale=o?1:ie(r.aspectScale,u.aspectScale),i._invertLongitute=!o&&u.invertLongitute,i}return pt(t,n),t.prototype._transformTo=function(e,a,r,i){var o=this.getBoundingRect(),s=this._invertLongitute;o=o.clone(),s&&(o.y=-o.y-o.height);var l=this._rawTransformable;l.transform=o.calculateTransform(new de(e,a,r,i));var c=l.parent;l.parent=null,l.decomposeTransform(),l.parent=c,s&&(l.scaleY=-l.scaleY),this._updateTransform()},t.prototype.getRegion=function(e){return this._regionsMap.get(e)},t.prototype.getRegionByCoord=function(e){for(var a=this.regions,r=0;r<a.length;r++){var i=a[r];if("geoJSON"===i.type&&i.contain(e))return a[r]}},t.prototype.addGeoCoord=function(e,a){this._nameCoordMap.set(e,a)},t.prototype.getGeoCoord=function(e){var a=this._regionsMap.get(e);return this._nameCoordMap.get(e)||a&&a.getCenter()},t.prototype.dataToPoint=function(e,a,r){if(Lt(e)&&(e=this.getGeoCoord(e)),e){var i=this.projection;return i&&(e=i.project(e)),e&&this.projectedToPoint(e,a,r)}},t.prototype.pointToData=function(e){var a=this.projection;return a&&(e=a.unproject(e)),e&&this.pointToProjected(e)},t.prototype.pointToProjected=function(e){return n.prototype.pointToData.call(this,e)},t.prototype.projectedToPoint=function(e,a,r){return n.prototype.dataToPoint.call(this,e,a,r)},t.prototype.convertToPixel=function(e,a,r){var i=fz(a);return i===this?i.dataToPoint(r):null},t.prototype.convertFromPixel=function(e,a,r){var i=fz(a);return i===this?i.pointToData(r):null},t}(XA);function fz(n){var t=n.geoModel,e=n.seriesModel;return t?t.coordinateSystem:e?e.coordinateSystem||(e.getReferringComponents("geo",On).models[0]||{}).coordinateSystem:null}Mn(mz,XA);const gz=mz;function vz(n,t){var e=n.get("boundingCoords");if(null!=e){var a=e[0],r=e[1];if(isFinite(a[0])&&isFinite(a[1])&&isFinite(r[0])&&isFinite(r[1])){var i=this.projection;if(i){var o=a[0],s=a[1],l=r[0],c=r[1];a=[1/0,1/0],r=[-1/0,-1/0];var d=function(M,R,N,U){for(var z=N-M,B=U-R,K=0;K<=100;K++){var W=K/100,Z=i.project([M+z*W,R+B*W]);pl(a,a,Z),hl(r,r,Z)}};d(o,s,l,s),d(l,s,l,c),d(l,c,o,c),d(o,c,l,s)}
1this.setBoundingRect(a[0],a[1],r[0]-a[0],r[1]-a[1])}}var S,k,D,u=this.getBoundingRect(),h=n.get("layoutCenter"),f=n.get("layoutSize"),v=t.getWidth(),A=t.getHeight(),b=u.width/u.height*this.aspectScale,x=!1;if(h&&f&&(S=[Ot(h[0],v),Ot(h[1],A)],k=Ot(f,Math.min(v,A)),!isNaN(S[0])&&!isNaN(S[1])&&!isNaN(k)&&(x=!0)),x)D={},b>1?(D.width=k,D.height=k/b):(D.height=k,D.width=k*b),D.y=S[1]-D.height/2,D.x=S[0]-D.width/2;else{var I=n.getBoxLayoutParams();I.aspect=b,D=En(I,{width:v,height:A})}this.setViewRect(D.x,D.y,D.width,D.height),this.setCenter(n.get("center"),t),this.setZoom(n.get("zoom"))}var Jpt=function(){function n(){this.dimensions=hz}return n.prototype.create=function(t,e){var a=[];function r(o){return{nameProperty:o.get("nameProperty"),aspectScale:o.get("aspectScale"),projection:o.get("projection")}}t.eachComponent("geo",function(o,s){var l=o.get("map"),c=new gz(l+s,l,ft({nameMap:o.get("nameMap")},r(o)));c.zoomLimit=o.get("scaleLimit"),a.push(c),o.coordinateSystem=c,c.model=o,c.resize=vz,c.resize(o,e)}),t.eachSeries(function(o){if("geo"===o.get("coordinateSystem")){var l=o.get("geoIndex")||0;o.coordinateSystem=a[l]}});var i={};return t.eachSeriesByType("map",function(o){if(!o.getHostGeoModel()){var s=o.getMapType();i[s]=i[s]||[],i[s].push(o)}}),q(i,function(o,s){var l=At(o,function(d){return d.get("nameMap")}),c=new gz(s,s,ft({nameMap:zk(l)},r(o[0])));c.zoomLimit=$n.apply(null,At(o,function(d){return d.get("scaleLimit")})),a.push(c),c.resize=vz,c.resize(o[0],e),q(o,function(d){d.coordinateSystem=c,function Wpt(n,t){q(t.get("geoCoord"),function(e,a){n.addGeoCoord(a,e)})}(c,d)})}),a},n.prototype.getFilledRegions=function(t,e,a,r){for(var i=(t||[]).slice(),o=Et(),s=0;s<i.length;s++)o.set(i[s].name,i[s]);return q(cs_load(e,a,r).regions,function(c){var d=c.name,u=o.get(d),h=c.properties&&c.properties.echartsStyle;u||(u={name:d},i.push(u)),h&&le(u,h)}),i},n}();const Az=new Jpt;var Xpt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.init=function(e,a,r){var i=cs_getGeoResource(e.map);if(i&&"geoJSON"===i.type){var o=e.itemStyle=e.itemStyle||{};"color"in o||(o.color="#eee")}this.mergeDefaultAndTheme(e,r),ld(e,"label",["show"])},t.prototype.optionUpdated=function(){var e=this,a=this.option;a.regions=Az.getFilledRegions(a.regions,a.map,a.nameMap,a.nameProperty);var r={};this._optionModelMap=Li(a.regions||[],function(i,o){var s=o.name;return s&&(i.set(s,new en(o,e,e.ecModel)),o.selected&&(r[s]=!0)),i},Et()),a.selectedMap||(a.selectedMap=r)},t.prototype.getRegionModel=function(e){return this._optionModelMap.get(e)||new en(null,this,this.ecModel)},t.prototype.getFormattedLabel=function(e,a){var r=this.getRegionModel(e),i="normal"===a?r.get(["label","formatter"]):r.get(["emphasis","label","formatter"]),o={name:e};return jt(i)?(o.status=a,i(o)):Lt(i)?i.replace("{a}",e??""):void 0},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.select=function(e){var a=this.option,r=a.selectedMode;r&&("multiple"!==r&&(a.selectedMap=null),(a.selectedMap||(a.selectedMap={}))[e]=!0)},t.prototype.unSelect=function(e){var a=this.option.selectedMap;a&&(a[e]=!1)},t.prototype.toggleSelected=function(e){this[this.isSelected(e)?"unSelect":"select"](e)},t.prototype.isSelected=function(e){var a=this.option.selectedMap;return!(!a||!a[e])},t.type="geo",t.layoutMode="box",t.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},t}(De);const Ypt=Xpt;function yz(n,t){return n.pointToProjected?n.pointToProjected(t):n.pointToData(t)}function zT(n,t,e,a){var r=n.getZoom(),i=n.getCenter(),o=t.zoom,s=n.projectedToPoint?n.projectedToPoint(i):n.dataToPoint(i);if(null!=t.dx&&null!=t.dy&&(s[0]-=t.dx,s[1]-=t.dy,n.setCenter(yz(n,s),a)),null!=o){if
vendor: 6,419 bytes, line 1
1(e){var l=e.min||0,c=e.max||1/0;o=Math.max(Math.min(r*o,c),l)/r}n.scaleX*=o,n.scaleY*=o;var d=(t.originX-n.x)*(o-1),u=(t.originY-n.y)*(o-1);n.x-=d,n.y-=u,n.updateTransform(),n.setCenter(yz(n,s),a),n.setZoom(o*r)}return{center:n.getCenter(),zoom:n.getZoom()}}var Qpt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.focusBlurEnabled=!0,e}return pt(t,n),t.prototype.init=function(e,a){this._api=a},t.prototype.render=function(e,a,r,i){if(this._model=e,!e.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new dz(r));var o=this._mapDraw;o.draw(e,a,r,this,i),o.group.on("click",this._handleRegionClick,this),o.group.silent=e.get("silent"),this.group.add(o.group),this.updateSelectStatus(e,a,r)},t.prototype._handleRegionClick=function(e){var a;Ud(e.target,function(r){return null!=(a=ee(r).eventData)},!0),a&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:a.name})},t.prototype.updateSelectStatus=function(e,a,r){var i=this;this._mapDraw.group.traverse(function(o){var s=ee(o).eventData;if(s)return i._model.isSelected(s.name)?r.enterSelect(o):r.leaveSelect(o),!0})},t.prototype.findHighDownDispatchers=function(e){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(e,this._model)},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},t.type="geo",t}(xn);const $pt=Qpt;function tht(n,t,e){cs_registerMap(n,t,e)}function bz(n){function t(e,a){a.update="geo:updateSelectStatus",n.registerAction(a,function(r,i){var o={},s=[];return i.eachComponent({mainType:"geo",query:r},function(l){l[e](r.name),q(l.coordinateSystem.regions,function(u){o[u.name]=l.isSelected(u.name)||!1});var d=[];q(o,function(u,h){o[h]&&d.push(h)}),s.push({geoIndex:l.componentIndex,name:d})}),{selected:o,allSelected:s,name:r.name}})}n.registerCoordinateSystem("geo",Az),n.registerComponentModel(Ypt),n.registerComponentView($pt),n.registerImpl("registerMap",tht),n.registerImpl("getMap",function(e){return cs_getMapForUser(e)}),t("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),t("select",{type:"geoSelect",event:"geoselected"}),t("unSelect",{type:"geoUnSelect",event:"geounselected"}),n.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(e,a,r){var i=e.componentType||"series";a.eachComponent({mainType:i,query:e},function(o){var s=o.coordinateSystem;if("geo"===s.type){var l=zT(s,e,o.get("scaleLimit"),r);o.setCenter&&o.setCenter(l.center),o.setZoom&&o.setZoom(l.zoom),"series"===i&&q(o.seriesGroup,function(c){c.setCenter(l.center),c.setZoom(l.zoom)})}})})}function aht(n,t){var e=n.isExpand?n.children:[],a=n.parentNode.children,r=n.hierNode.i?a[n.hierNode.i-1]:null;if(e.length){!function oht(n){for(var t=n.children,e=t.length,a=0,r=0;--e>=0;){var i=t[e];i.hierNode.prelim+=a,i.hierNode.modifier+=a,r+=i.hierNode.change,a+=i.hierNode.shift+r}}(n);var i=(e[0].hierNode.prelim+e[e.length-1].hierNode.prelim)/2;r?(n.hierNode.prelim=r.hierNode.prelim+t(n,r),n.hierNode.modifier=n.hierNode.prelim-i):n.hierNode.prelim=i}else r&&(n.hierNode.prelim=r.hierNode.prelim+t(n,r));n.parentNode.hierNode.defaultAncestor=function sht(n,t,e,a){if(t){for(var r=n,i=n,o=i.parentNode.children[0],s=t,l=r.hierNode.modifier,c=i.hierNode.modifier,d=o.hierNode.modifier,u=s.hierNode.modifier;s=ET(s),i=qT(i),s&&i;){r=ET(r),o=qT(o),r.hierNode.ancestor=n;var h=s.hierNode.prelim+u-i.hierNode.prelim-c+a(s,i);h>0&&(cht(lht(s,n,e),n,h),c+=h,l+=h),u+=s.hierNode.modifier,c+=i.hierNode.modifier,l+=r.hierNode.modifier,d+=o.hierNode.modifier}s&&!ET(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=u-l),i&&!qT(o)&&(o.hierNode.thread=i,o.hierNode.modifier+=c-d,e=n)}return e}(n,r,n.parentNode.hierNode.defaultAncestor||a[0],t)}function rht(n){var t=n.hierNode.prelim+n.parentNode.hierNode.modifier;n.setLayout({x:t},!0),n.hierNode.modifier+=n.parentNode.hierNode.modifier}function _z(n){return arguments.length?n:dht}function YA(n,t){return n-=Math.PI/2,{x:t*Math.cos(n),y:t*Math.sin(n)}}function ET(n){var t=n.children;return t.length&&n.isExpand?t[t.length-1]:n.hierNode.thread}function qT(n){var t=n.children;return t.length&&n.isExpand?t[0]:n.hierNode.thread}function lht(n,t,e){return n.hierNode.ancestor.parentNode===t.parentNode?n.hierNode.ancestor:e}function cht(n,t,e){var a=e/(t.hierNode.i-n.hierNode.i);t.hierNode.change-=a,t.hierNode.shift+=e,t.hierNode.modifier+=e,t.hierNode.prelim+=e,n.hierNode.change+=a}function dht(n,t){return n.parentNode===t.parentNode?1:2}var uht=function n(){this.parentPoint=[],this.childPoints=[]},pht=function(n){function t(e){return n.call(this,e)||this}return pt(t,n),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new uht},t.prototype.buildPath=function(e,a){var r=a.childPoints,i=r.length,o=a.parentPoint,s=r[0],l=r[i-1];if(1===i)return e.moveTo(o[0],o[1]),void e.lineTo(s[0],s[1]);var c=a.orient,d="TB"===c||"BT"===c?0:1,u=1-d,h=Ot(a.forkPosition,1),f=[];f[d]=o[d],f[u]=o[u]+(l[u]-o[u])*h,e.moveTo(o[0],o[1]),e.lineTo(f[0],f[1]),e.moveTo(s[0],s[1]),f[d]=s[d],e.lineTo(f[0],f[1]),f[d]=l[d],e.lineTo(f[0],f[1]),e.lineTo(l[0],l[1]);for(var v=1;v<i-1;v++){var A=r[v];e.moveTo(A[0],A[1]),f[d]=A[d],e.lineTo(f[0],f[1])}},t}(fe),hht=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e._mainGroup=new te,e}return pt(t,n),t.prototype.init=function(e,a){this._controller=new JA(a.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.prototype.render=function(e,a,r){var i=e.getData(),o=e.layoutInfo,s=this._mainGroup;"radial"===e.get("layout")?(s.x=o.x+o.width/2,s.y=o.y+o.height/2):(s.x=o.x,s.y=o.y),this._updateViewCoordSys(e,r),this._updateController(e,a,r);var c=this._data;i.diff(c).add(function(d){xz(i,d)&&Sz(i,d,null,s,e)}).update(function(d,u){var h=c.getItemGraphicEl(u);xz(i,d)?Sz(i,d,h,s,e):h&&Cz(c,u,h,s,e)}).remove(function(d){var u=c.getItemGraphicEl(d);u&&Cz(c,d,u,s,e)}).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===e.get("expandAndCollapse")&&i.eachItemGraphicEl(function(d,u){d.off("click").on("click",function(){r.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:u})})}),this._data=i},t.prototype._updateViewCoordSys=function(e,a){var r=e.getData(),i=[];r.each(function(u){var h=r.getItemLayout(u);
vendor: 4,181 bytes, line 1
1h&&!isNaN(h.x)&&!isNaN(h.y)&&i.push([+h.x,+h.y])});var o=[],s=[];a_(i,o,s);var l=this._min,c=this._max;s[0]-o[0]==0&&(o[0]=l?l[0]:o[0]-1,s[0]=c?c[0]:s[0]+1),s[1]-o[1]==0&&(o[1]=l?l[1]:o[1]-1,s[1]=c?c[1]:s[1]+1);var d=e.coordinateSystem=new XA;d.zoomLimit=e.get("scaleLimit"),d.setBoundingRect(o[0],o[1],s[0]-o[0],s[1]-o[1]),d.setCenter(e.get("center"),a),d.setZoom(e.get("zoom")),this.group.attr({x:d.x,y:d.y,scaleX:d.scaleX,scaleY:d.scaleY}),this._min=o,this._max=s},t.prototype._updateController=function(e,a,r){var i=this,o=this._controller,s=this._controllerHost,l=this.group;o.setPointerChecker(function(c,d,u){var h=l.getBoundingRect();return h.applyTransform(l.transform),h.contain(d,u)&&!Rx(c,r,e)}),o.enable(e.get("roam")),s.zoomLimit=e.get("scaleLimit"),s.zoom=e.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(c){MT(s,c.dx,c.dy),r.dispatchAction({seriesId:e.id,type:"treeRoam",dx:c.dx,dy:c.dy})}).on("zoom",function(c){OT(s,c.scale,c.originX,c.originY),r.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:c.scale,originX:c.originX,originY:c.originY}),i._updateNodeAndLinkScale(e),r.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(e){var a=e.getData(),r=this._getNodeGlobalScale(e);a.eachItemGraphicEl(function(i,o){i.setSymbolScale(r)})},t.prototype._getNodeGlobalScale=function(e){var a=e.coordinateSystem;if("view"!==a.type)return 1;var r=this._nodeScaleRatio,i=a.scaleX||1;return((a.getZoom()-1)*r+1)/i},t.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},t.type="tree",t}(nn);function xz(n,t){var e=n.getItemLayout(t);return e&&!isNaN(e.x)&&!isNaN(e.y)}function Sz(n,t,e,a,r){var i=!e,o=n.tree.getNodeByDataIndex(t),s=o.getModel(),l=o.getVisual("style").fill,c=!1===o.isExpand&&0!==o.children.length?l:"#fff",d=n.tree.root,u=o.parentNode===d?o:o.parentNode||o,h=n.getItemGraphicEl(u.dataIndex),f=u.getLayout(),v=h?{x:h.__oldX,y:h.__oldY,rawX:h.__radialOldRawX,rawY:h.__radialOldRawY}:f,A=o.getLayout();i?((e=new FA(n,t,null,{symbolInnerColor:c,useNameLabel:!0})).x=v.x,e.y=v.y):e.updateData(n,t,null,{symbolInnerColor:c,useNameLabel:!0}),e.__radialOldRawX=e.__radialRawX,e.__radialOldRawY=e.__radialRawY,e.__radialRawX=A.rawX,e.__radialRawY=A.rawY,a.add(e),n.setItemGraphicEl(t,e),e.__oldX=e.x,e.__oldY=e.y,Te(e,{x:A.x,y:A.y},r);var b=e.getSymbolPath();if("radial"===r.get("layout")){var x=d.children[0],S=x.getLayout(),k=x.children.length,D=void 0,I=void 0;if(A.x===S.x&&!0===o.isExpand&&x.children.length){var M={x:(x.children[0].getLayout().x+x.children[k-1].getLayout().x)/2,y:(x.children[0].getLayout().y+x.children[k-1].getLayout().y)/2};(D=Math.atan2(M.y-S.y,M.x-S.x))<0&&(D=2*Math.PI+D),(I=M.x<S.x)&&(D-=Math.PI)}else(D=Math.atan2(A.y-S.y,A.x-S.x))<0&&(D=2*Math.PI+D),0===o.children.length||0!==o.children.length&&!1===o.isExpand?(I=A.x<S.x)&&(D-=Math.PI):(I=A.x>S.x)||(D-=Math.PI);var R=I?"left":"right",N=s.getModel("label"),U=N.get("rotate"),z=U*(Math.PI/180),B=b.getTextContent();B&&(b.setTextConfig({position:N.get("position")||R,rotation:null==U?-D:z,origin:"center"}),B.setStyle("verticalAlign","middle"))}var K=s.get(["emphasis","focus"]),W="relative"===K?kv(o.getAncestorsIndices(),o.getDescendantIndices()):"ancestor"===K?o.getAncestorsIndices():"descendant"===K?o.getDescendantIndices():null;W&&(ee(e).focus=W),function mht(n,t,e,a,r,i,o,s){var l=t.getModel(),c=n.get("edgeShape"),d=n.get("layout"),u=n.getOrient(),h=n.get(["lineStyle","curveness"]),f=n.get("edgeForkPosition"),v=l.getModel("lineStyle").getLineStyle(),A=a.__edge;if("curve"===c)t.parentNode&&t.parentNode!==e&&(A||(A=a.__edge=new N_({shape:HT(d,u,h,r,r)})),Te(A,{shape:HT(d,u,h,i,o)},n));else if("polyline"===c&&"orthogonal"===d&&t!==e&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var b=t.children,x=[],S=0;S<b.length;S++){var k=b[S].getLayout();x.push([k.x,k.y])}A||(A=a.__edge=new pht({shape:{parentPoint:[o.x,o.y],childPoints:[[o.x,o.y]],orient:u,forkPosition:f}})),Te(A,{shape:{parentPoint:[o.x,o.y],childPoints:x}},n)}A&&("polyline"!==c||t.isExpand)&&(A.useStyle(Kt({strokeNoScale:!0,fill:null}
vendor: 11,358 bytes, line 1
1,v)),ca(A,l,"lineStyle"),_d(A),s.add(A))}(r,o,d,e,v,f,A,a),e.__edge&&(e.onHoverStateChange=function(Z){if("blur"!==Z){var X=o.parentNode&&n.getItemGraphicEl(o.parentNode.dataIndex);X&&1===X.hoverState||c_(e.__edge,Z)}})}function wz(n,t,e,a,r){var o=kz(t.tree.root,n),s=o.source,l=o.sourceLayout,c=t.getItemGraphicEl(n.dataIndex);if(c){var u=t.getItemGraphicEl(s.dataIndex).__edge,h=c.__edge||(!1===s.isExpand||1===s.children.length?u:void 0),f=a.get("edgeShape"),v=a.get("layout"),A=a.get("orient"),b=a.get(["lineStyle","curveness"]);h&&("curve"===f?Sl(h,{shape:HT(v,A,b,l,l),style:{opacity:0}},a,{cb:function(){e.remove(h)},removeOpt:r}):"polyline"===f&&"orthogonal"===a.get("layout")&&Sl(h,{shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]]},style:{opacity:0}},a,{cb:function(){e.remove(h)},removeOpt:r}))}}function kz(n,t){for(var a,e=t.parentNode===n?t:t.parentNode||t;null==(a=e.getLayout());)e=e.parentNode===n?e:e.parentNode||e;return{source:e,sourceLayout:a}}function Cz(n,t,e,a,r){var i=n.tree.getNodeByDataIndex(t),s=kz(n.tree.root,i).sourceLayout,l={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};Sl(e,{x:s.x+1,y:s.y+1},r,{cb:function(){a.remove(e),n.setItemGraphicEl(t,null)},removeOpt:l}),e.fadeOut(null,n.hostModel,{fadeLabel:!0,animation:l}),i.children.forEach(function(c){wz(c,n,a,r,l)}),wz(i,n,a,r,l)}function HT(n,t,e,a,r){var i,o,s,l,c,d,u,h;if("radial"===n){c=a.rawX,u=a.rawY,d=r.rawX,h=r.rawY;var f=YA(c,u),v=YA(c,u+(h-u)*e),A=YA(d,h+(u-h)*e),b=YA(d,h);return{x1:f.x||0,y1:f.y||0,x2:b.x||0,y2:b.y||0,cpx1:v.x||0,cpy1:v.y||0,cpx2:A.x||0,cpy2:A.y||0}}return c=a.x,u=a.y,d=r.x,h=r.y,("LR"===t||"RL"===t)&&(i=c+(d-c)*e,o=u,s=d+(c-d)*e,l=h),("TB"===t||"BT"===t)&&(i=c,o=u+(h-u)*e,s=d,l=h+(u-h)*e),{x1:c,y1:u,x2:d,y2:h,cpx1:i,cpy1:o,cpx2:s,cpy2:l}}const fht=hht;var qr=_e();function vht(n,t){if(function xht(n){return qr(n).mainData===n}(this)){var e=ft({},qr(this).datas);e[this.dataType]=t,Dz(t,e,n)}else BT(t,this.dataType,qr(this).mainData,n);return t}function Aht(n,t){return n.struct&&n.struct.update(),t}function yht(n,t){return q(qr(t).datas,function(e,a){e!==t&&BT(e.cloneShallow(),a,t,n)}),t}function bht(n){var t=qr(this).mainData;return null==n||null==t?t:qr(t).datas[n]}function _ht(){var n=qr(this).mainData;return null==n?[{data:n}]:At(ve(qr(n).datas),function(t){return{type:t,data:qr(n).datas[t]}})}function Dz(n,t,e){qr(n).datas={},q(t,function(a,r){BT(a,r,n,e)})}function BT(n,t,e,a){qr(e).datas[t]=n,qr(n).mainData=e,n.dataType=t,a.struct&&(n[a.structAttr]=a.struct,a.struct[a.datasAttr[t]]=n),n.getLinkedData=bht,n.getLinkedDataAll=_ht}const Tz=function ght(n){var t=n.mainData,e=n.datas;e||(e={main:t},n.datasAttr={main:"data"}),n.datas=n.mainData=null,Dz(t,e,n),q(e,function(a){q(t.TRANSFERABLE_METHODS,function(r){a.wrapMethod(r,se(vht,n))})}),t.wrapMethod("cloneShallow",se(yht,n)),q(t.CHANGABLE_METHODS,function(a){t.wrapMethod(a,se(Aht,n))}),Oa(e[t.dataType]===t)};var Sht=function(){function n(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return n.prototype.isRemoved=function(){return this.dataIndex<0},n.prototype.eachNode=function(t,e,a){jt(t)&&(a=e,e=t,t=null),Lt(t=t||{})&&(t={order:t});var o,r=t.order||"preorder",i=this[t.attr||"children"];"preorder"===r&&(o=e.call(a,this));for(var s=0;!o&&s<i.length;s++)i[s].eachNode(t,e,a);"postorder"===r&&e.call(a,this)},n.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var a=0;a<this.children.length;a++){var r=this.children[a];r.updateDepthAndHeight(t+1),r.height>e&&(e=r.height)}this.height=e+1},n.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,a=this.children,r=a.length;e<r;e++){var i=a[e].getNodeById(t);if(i)return i}},n.prototype.contains=function(t){if(t===this)return!0;for(var e=0,a=this.children,r=a.length;e<r;e++){var i=a[e].contains(t);if(i)return i}},n.prototype.getAncestors=function(t){for(var e=[],a=t?this:this.parentNode;a;)e.push(a),a=a.parentNode;return e.reverse(),e},n.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},n.prototype.getDescendantIndices=function(){var t=[];return this.eachNode(function(e){t.push(e.dataIndex)}),t},n.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},n.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},n.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},n.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},n.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},n.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},n.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},n.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},n.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},n.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},n.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},n.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},n}(),wht=function(){function n(t){this.type="tree",this._nodes=[],this.hostModel=t}return n.prototype.eachNode=function(t,e,a){this.root.eachNode(t,e,a)},n.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},n.prototype.getNodeById=function(t){return this.root.getNodeById(t)},n.prototype.update=function(){for(var t=this.data,e=this._nodes,a=0,r=e.length;a<r;a++)e[a].dataIndex=-1;for(a=0,r=t.count();a<r;a++)e[t.getRawIndex(a)].dataIndex=a},n.prototype.clearLayouts=function(){this.data.clearItemLayouts()},n.createTree=function(t,e,a){var r=new n(e),i=[],o=1;!function s(d,u){var h=d.value;o=Math.max(o,vt(h)?h.length:1),i.push(d);var f=new Sht(zn(d.name,""),r);u?function kht(n,t){var e=t.children;n.parentNode!==t&&(e.push(n),n.parentNode=t)}(f,u):r.root=f,r._nodes.push(f);var v=d.children;if(v)for(var A=0;A<v.length;A++)s(v[A],f)}(t),r.root.updateDepthAndHeight(0);var l=Am(i,{coordDimensions:["value"],dimensionsCount:o}).dimensions,c=new Va(l,e);return c.initData(i),a&&a(c),Tz({mainData:c,struct:r,structAttr:"tree"}),r.update(),r},n}();const jT=wht;function QA(n,t,e){if(n&&pe(t,n.type)>=0){var a=e.getData().tree.root,r=n.targetNode;if(Lt(r)&&(r=a.getNodeById(r)),r&&a.contains(r))return{node:r};var i=n.targetNodeId;if(null!=i&&(r=a.getNodeById(i)))return{node:r}}}function Pz(n){for(var t=[];n;)(n=n.parentNode)&&t.push(n);return t.reverse()}function GT(n,t){return pe(Pz(n),t)>=0}function Vx(n,t){for(var e=[];n;){var a=n.dataIndex;e.push({name:n.name,dataIndex:a,value:t.getRawValue(a)}),n=n.parentNode}return e.reverse(),e}var Cht=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return pt(t,n),t.prototype.getInitialData=function(e){var a={name:e.name,children:e.data},r=e.leaves||{},i=new en(r,this,this.ecModel),o=jT.createTree(a,this,function s(u){u.wrapMethod("getItemModel",function(h,f){var v=o.getNodeByDataIndex(f);return v&&v.children.length&&v.isExpand||(h.parentModel=i),h})});var l=0;o.eachNode("preorder",function(u){u.depth>l&&(l=u.depth)});var d=e.expandAndCollapse&&e.initialTreeDepth>=0?e.initialTreeDepth:l;return o.root.eachNode("preorder",function(u){var h=u.hostTree.data.getRawDataItem(u.dataIndex);u.isExpand=h&&null!=h.collapsed?!h.collapsed:u.depth<=d}),o.data},t.prototype.getOrient=function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,a,r){for(var i=this.getData().tree,o=i.root.children[0],s=i.getNodeByDataIndex(e),l=s.getValue(),c=s.name;s&&s!==o;)c=s.parentNode.name+"."+c,s=s.parentNode;return Wn("nameValue",{name:c,value:l,noValue:isNaN(l)||null==l})},t.prototype.getDataParams=function(e){var a=n.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return a.treeAncestors=Vx(r,this),a.collapsed=!r.isExpand,a},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(hn);const Dht=Cht;function $A(n,t){for(var a,e=[n];a=e.pop();)if(t(a),a.isExpand){var r=a.children;if(r.length)for(var i=r.length-1;i>=0;i--)e.push(r[i])}}function Pht(n,t){n.eachSeriesByType("tree",function(e){!function Iht(n,t){var e=function iht(n,t){return En(n.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(n,t);n.layoutInfo=e;var a=n.get("layout"),r=0,i=0,o=null;"radial"===a?(r=2*Math.PI,i=Math.min(e.height,e.width)/2,o=_z(function(k,D){return(k.parentNode===D.parentNode?1:2)/k.depth})):(r=e.width,i=e.height,o=_z());var s=n.getData().tree.root,l=s.children[0];if(l){(function nht(n){var t=n;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var a,r,e=[t];a=e.pop();)if(r=a.children,a.isExpand&&r.length)for(var o=r.length-1;o>=0;o--){var s=r[o];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},e.push(s)}})(s),function Tht(n,t,e){for(var i,a=[n],r=[];i=a.pop();)if(r.push(i),i.isExpand){var o=i.children;if(o.length)for(var s=0;s<o.length;s++)a.push(o[s])}for(;i=r.pop();)t(i,e)}(l,aht,o),s.hierNode.modifier=-l.hierNode.prelim,$A(l,rht);var c=l,d=l,u=l;$A(l,function(k){var D=k.getLayout().x;D<c.getLayout().x&&(c=k),D>d.getLayout().x&&(d=k),k.depth>u.depth&&(u=k)});var h=c===d?1:o(c,d)/2,f=h-c.getLayout().x,v=0,A=0,b=0,x=0;if("radial"===a)v=r/(d.getLayout().x+h+f),A=i/(u.depth-1||1),$A(l,function(k){b=(k.getLayout().x+f)*v,x=(k.depth-1)*A;var D=YA(b,x);k.setLayout({x:D.x,y:D.y,rawX:b,rawY:x},!0)});else{var S=n.getOrient();"RL"===S||"LR"===S?(A=i/(d.getLayout().x+h+f),v=r/(u.depth-1||1),$A(l,function(k){x=(k.getLayout().x+f)*A,b="LR"===S?(k.depth-1)*v:r-(k.depth-1)*v,k.setLayout({x:b,y:x},!0)})):("TB"===S||"BT"===S)&&(v=r/(d.getLayout().x+h+f),A=i/(u.depth-1||1),$A(l,function(k){b=(k.getLayout().x+f)*v,x="TB"===S?(k.depth-1)*A:i-(k.depth-1)*A,k.setLayout({x:b,y:x},!0)}))}}}(e,t)})}function Mht(n){n.eachSeriesByType("tree",function(t){var e=t.getData();e.tree.eachNode(function(r){var o=r.getModel().getModel("itemStyle").getItemStyle();ft(e.ensureUniqueItemVisual(r.dataIndex,"style"),o)})})}var Iz=["treemapZoomToNode","treemapRender","treemapMove"];function Mz(n){var e=n.getData().tree,a={};e.eachNode(function(r){for(var i=r;i&&i.depth>
vendor: 5,769 bytes, line 1
11;)i=i.parentNode;var o=EC(n.ecModel,i.name||i.dataIndex+"",a);r.setVisual("decal",o)})}var Nht=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.preventUsingHoverLayer=!0,e}return pt(t,n),t.prototype.getInitialData=function(e,a){var r={name:e.name,children:e.data};Oz(r);var i=e.levels||[],o=this.designatedVisualItemStyle={},s=new en({itemStyle:o},this,a);i=e.levels=function Uht(n,t){var e=Be(t.get("color")),a=Be(t.get(["aria","decal","decals"]));if(e){var r,i;q(n=n||[],function(s){var l=new en(s),c=l.get("color"),d=l.get("decal");(l.get(["itemStyle","color"])||c&&"none"!==c)&&(r=!0),(l.get(["itemStyle","decal"])||d&&"none"!==d)&&(i=!0)});var o=n[0]||(n[0]={});return r||(o.color=e.slice()),!i&&a&&(o.decal=a.slice()),n}}(i,a);var l=At(i||[],function(u){return new en(u,s,a)},this),c=jT.createTree(r,this,function d(u){u.wrapMethod("getItemModel",function(h,f){var v=c.getNodeByDataIndex(f),A=v?l[v.depth]:null;return h.parentModel=A||s,h})});return c.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,a,r){var i=this.getData(),o=this.getRawValue(e);return Wn("nameValue",{name:i.getName(e),value:o})},t.prototype.getDataParams=function(e){var a=n.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return a.treeAncestors=Vx(r,this),a.treePathInfo=a.treeAncestors,a},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},ft(this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var a=this._idIndexMap;a||(a=this._idIndexMap=Et(),this._idIndexMapCount=0);var r=a.get(e);return null==r&&a.set(e,r=this._idIndexMapCount++),r},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var a=this.getRawData().tree.root;(!e||e!==a&&!a.contains(e))&&(this._viewRoot=a)},t.prototype.enableAriaDecal=function(){Mz(this)},t.type="series.treemap",t.layoutMode="box",t.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25b6",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t}(hn);function Oz(n){var t=0;q(n.children,function(a){Oz(a);var r=a.value;vt(r)&&(r=r[0]),t+=r});var e=n.value;vt(e)&&(e=e[0]),(null==e||isNaN(e))&&(e=t),e<0&&(e=0),vt(n.value)?n.value[0]=e:n.value=e}const Fht=Nht;var zht=function(){function n(t){this.group=new te,t.add(this.group)}return n.prototype.render=function(t,e,a,r){var i=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),i.get("show")&&a){var s=i.getModel("itemStyle"),l=i.getModel("emphasis"),c=s.getModel("textStyle"),d=l.getModel(["itemStyle","textStyle"]),u={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(a,u,c),this._renderContent(t,u,s,l,c,d,r),x_(o,u.pos,u.box)}},n.prototype._prepare=function(t,e,a){for(var r=t;r;r=r.parentNode){var i=zn(r.getModel().get("name"),""),o=a.getTextRect(i),s=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=s+8,e.renderList.push({node:r,text:i,width:s})}},n.prototype._renderContent=function(t,e,a,r,i,o,s){for(var l=0,c=e.emptyItemWidth,d=t.get(["breadcrumb","height"]),u=function art(n,t,e){var a=t.width,r=t.height,i=Ot(n.left,a),o=Ot(n.top,r),s=Ot(n.right,a),l=Ot(n.bottom,r);return(isNaN(i)||isNaN(parseFloat(n.left)))&&(i=0),(isNaN(s)||isNaN(parseFloat(n.right)))&&(s=a),(isNaN(o)||isNaN(parseFloat(n.top)))&&(o=0),(isNaN(l)||isNaN(parseFloat(n.bottom)))&&(l=r),e=$h(e||0),{width:Math.max(s-i-e[1]-e[3],0),height:Math.max(l-o-e[0]-e[2],0)}}(e.pos,e.box),h=e.totalWidth,f=e.renderList,v=r.getModel("itemStyle").getItemStyle(),A=f.length-1;A>=0;A--){var b=f[A],x=b.node,S=b.width,k=b.text;h>u.width&&(h-=S-c,S=c,k=null);var D=new er({shape:{points:Eht(l,0,S,d,A===f.length-1,0===A)},style:Kt(a.getItemStyle(),{lineJoin:"bevel"}),textContent:new Ce({style:tn(i,{text:k})}),textConfig:{position:"inside"},z2:1e5,onclick:se(s,x)});D.disableLabelAnimation=!0,D.getTextContent().ensureState("emphasis").style=tn(o,{text:k}),D.ensureState("emphasis").style=v,An(D,r.get("focus"),r.get("blurScope"),r.get("disabled")),this.group.add(D),qht(D,t,x),l+=S+8}},n.prototype.remove=function(){this.group.removeAll()},n}();function Eht(n,t,e,a,r,i){var o=[[r?n:n-5,t],[n+e,t],[n+e,t+a],[r?n:n-5,t+a]];return!i&&o.splice(2,0,[n+e+5,t+a/2]),!r&&o.push([n,t+a/2]),o}function qht(n,t,e){ee(n).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:e&&e.dataIndex,name:e&&e.name},treePathInfo:e&&Vx(e,t)}}const Hht=zht;var Bht=function(){function n(){this._storage=[],this._elExistsMap={}}
vendor: 15,592 bytes, line 1
1return n.prototype.add=function(t,e,a,r,i){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:a,delay:r,easing:i}),!0)},n.prototype.finished=function(t){return this._finishedCallback=t,this},n.prototype.start=function(){for(var t=this,e=this._storage.length,a=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},r=0,i=this._storage.length;r<i;r++){var o=this._storage[r];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:a,aborted:a})}return this},n}();var WT=te,Lz=Se,Uz="label",Fz="upperLabel",nu=ud([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),Vz=function(n){var t=nu(n);return t.stroke=t.fill=t.lineWidth=null,t},zx=_e(),Jht=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e._state="ready",e._storage={nodeGroup:[],background:[],content:[]},e}return pt(t,n),t.prototype.render=function(e,a,r,i){if(!(pe(a.findComponents({mainType:"series",subType:"treemap",query:i}),e)<0)){this.seriesModel=e,this.api=r,this.ecModel=a;var l=QA(i,["treemapZoomToNode","treemapRootToNode"],e),c=i&&i.type,d=e.layoutInfo,u=!this._oldTree,h=this._storage,f="treemapRootToNode"===c&&l&&h?{rootNodeGroup:h.nodeGroup[l.node.getRawIndex()],direction:i.direction}:null,v=this._giveContainerGroup(d),A=e.get("animation"),b=this._doRender(v,e,f);!A||u||c&&"treemapZoomToNode"!==c&&"treemapRootToNode"!==c?b.renderFinally():this._doAnimation(v,b,e,f),this._resetController(r),this._renderBreadcrumb(e,r,l)}},t.prototype._giveContainerGroup=function(e){var a=this._containerGroup;return a||(a=this._containerGroup=new WT,this._initEvents(a),this.group.add(a)),a.x=e.x,a.y=e.y,a},t.prototype._doRender=function(e,a,r){var i=a.getData().tree,o=this._oldTree,s={nodeGroup:[],background:[],content:[]},l={nodeGroup:[],background:[],content:[]},c=this._storage,d=[];function u(S,k,D,I){return function Zht(n,t,e,a,r,i,o,s,l,c){if(!o)return;var d=o.getLayout(),u=n.getData(),h=o.getModel();if(u.setItemGraphicEl(o.dataIndex,null),!d||!d.isInView)return;var f=d.width,v=d.height,A=d.borderWidth,b=d.invisible,x=o.getRawIndex(),S=s&&s.getRawIndex(),k=o.viewChildren,D=d.upperHeight,I=k&&k.length,M=h.getModel("itemStyle"),R=h.getModel(["emphasis","itemStyle"]),N=h.getModel(["blur","itemStyle"]),U=h.getModel(["select","itemStyle"]),z=M.get("borderRadius")||0,B=Qt("nodeGroup",WT);if(!B)return;if(l.add(B),B.x=d.x||0,B.y=d.y||0,B.markRedraw(),zx(B).nodeWidth=f,zx(B).nodeHeight=v,d.isAboveViewRoot)return B;var K=Qt("background",Lz,c,20);K&>(B,K,I&&d.upperLabelHeight);var W=h.getModel("emphasis"),Z=W.get("focus"),X=W.get("blurScope"),tt=W.get("disabled"),rt="ancestor"===Z?o.getAncestorsIndices():"descendant"===Z?o.getDescendantIndices():Z;if(I)tA(B)&&Sd(B,!1),K&&(Sd(K,!tt),u.setItemGraphicEl(o.dataIndex,K),yC(K,rt,X));else{var ot=Qt("content",Lz,c,30);ot&&_t(B,ot),K.disableMorphing=!0,K&&tA(K)&&Sd(K,!1),Sd(B,!tt),u.setItemGraphicEl(o.dataIndex,B);var st=h.getShallow("cursor");st&&ot.attr("cursor",st),yC(B,rt,X)}return B;function gt(ue,Jt,me){var Ht=ee(Jt);if(Ht.dataIndex=o.dataIndex,Ht.seriesIndex=n.seriesIndex,Jt.setShape({x:0,y:0,width:f,height:v,r:z}),b)Mt(Jt);else{Jt.invisible=!1;var ae=o.getVisual("style"),rn=ae.stroke,ze=Vz(M);ze.fill=rn;var Xe=nu(R);Xe.fill=R.get("borderColor");var fn=nu(N);fn.fill=N.get("borderColor");var Zn=nu(U);if(Zn.fill=U.get("borderColor"),me){var mr=f-2*A;zt(Jt,rn,ae.opacity,{x:A,y:0,width:mr,height:D})}else Jt.removeTextContent();Jt.setStyle(ze),Jt.ensureState("emphasis").style=Xe,Jt.ensureState("blur").style=fn,Jt.ensureState("select").style=Zn,_d(Jt)}ue.add(Jt)}function _t(ue,Jt){var me=ee(Jt);me.dataIndex=o.dataIndex,me.seriesIndex=n.seriesIndex;var Ht=Math.max(f-2*A,0),ae=Math.max(v-2*A,0);if(Jt.culling=!0,Jt.setShape({x:A,y:A,width:Ht,height:ae,r:z}),b)Mt(Jt);else{Jt.invisible=!1;var rn=o.getVisual("style"),ze=rn.fill,Xe=Vz(M);Xe.fill=ze,Xe.decal=rn.decal;var fn=nu(R),Zn=nu(N),mr=nu(U);zt(Jt,ze,rn.opacity,null),Jt.setStyle(Xe),Jt.ensureState("emphasis").style=fn,Jt.ensureState("blur").style=Zn,Jt.ensureState("select").style=mr,_d(Jt)}ue.add(Jt)}function Mt(ue){!ue.invisible&&i.push(ue)}function zt(ue,Jt,me,Ht){var ae=h.getModel(Ht?Fz:Uz),rn=zn(h.get("name"),null),ze=ae.getShallow("show");da(ue,Kn(h,Ht?Fz:Uz),{defaultText:ze?rn:null,inheritColor:Jt,defaultOpacity:me,labelFetcher:n,labelDataIndex:o.dataIndex});var Xe=ue.getTextContent();if(Xe){var fn=Xe.style,Zn=Hk(fn.padding||0);Ht&&(ue.setTextConfig({layoutRect:Ht}),Xe.disableLabelLayout=!0),Xe.beforeUpdate=function(){var or=Math.max((Ht?Ht.width:ue.shape.width)-Zn[1]-Zn[3],0),hu=Math.max((Ht?Ht.height:ue.shape.height)-Zn[0]-Zn[2],0);(fn.width!==or||fn.height!==hu)&&Xe.setStyle({width:or,height:hu})},fn.truncateMinChar=2,fn.lineOverflow="truncate",Bt(fn,Ht,d);var mr=Xe.getState("emphasis");Bt(mr?mr.style:null,Ht,d)}}function Bt(ue,Jt,me){var Ht=ue?ue.text:null;if(!Jt&&me.isLeafRoot&&null!=Ht){var ae=n.get("drillDownIcon",!0);ue.text=ae?ae+" "+Ht:Ht}}function Qt(ue,Jt,me,Ht){var ae=null!=S&&e[ue][S],rn=r[ue];return ae?(e[ue][S]=null,Pe(rn,ae)):b||((ae=new Jt)instanceof Mr&&(ae.z2=function Xht(n,t){return 100*n+t}(me,Ht)),mn(rn,ae)),t[ue][x]=ae}function Pe(ue,Jt){var me=ue[x]={};Jt instanceof WT?(me.oldX=Jt.x,me.oldY=Jt.y):me.oldShape=ft({},Jt.shape)}function mn(ue,Jt){var me=ue[x]={},Ht=o.parentNode,ae=Jt instanceof te;if(Ht&&(!a||"drillDown"===a.direction)){var rn=0,ze=0,Xe=r.background[Ht.getRawIndex()];!a&&Xe&&Xe.oldShape&&(rn=Xe.oldShape.width,ze=Xe.oldShape.height),ae?(me.oldX=0,me.oldY=ze):me.oldShape={x:rn,y:ze,width:0,height:0}}me.fadein=!ae}}(a,l,c,r,s,d,S,k,D,I)}!function A(S,k,D,I,M){function R(U){return U.getId()}function N(U,z){var B=null!=U?S[U]:null,K=null!=z?k[z]:null,W=u(B,K,D,M);W&&A(B&&B.viewChildren||[],K&&K.viewChildren||[],W,I,M+1)}I?(k=S,q(S,function(U,z){!U.isRemoved()&&N(z,z)})):new is(k,S,R,R).add(N).update(N).remove(se(N,null)).execute()}(i.root?[i.root]:[],o&&o.root?[o.root]:[],e,i===o||!o,0);var h=function b(S){var k={nodeGroup:[],background:[],content:[]};return S&&q(S,function(D,I){var M=k[I];q(D,function(R){R&&(M.push(R),zx(R).willDelete=!0)})}),k}(c);if(this._oldTree=i,this._storage=l,this._controllerHost){var f=this.seriesModel.layoutInfo,v=i.root.getLayout();v.width===f.width&&v.height===f.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:s,willDeleteEls:h,renderFinally:function x(){q(h,function(S){q(S,function(k){k.parent&&k.parent.remove(k)})}),q(d,function(S){S.invisible=!0,S.dirty()})}}},t.prototype._doAnimation=function(e,a,r,i){var o=r.get("animationDurationUpdate"),s=r.get("animationEasing"),l=(jt(o)?0:o)||0,c=(jt(s)?null:s)||"cubicOut",d=function jht(){return new Bht}();q(a.willDeleteEls,function(u,h){q(u,function(f,v){if(!f.invisible){var b,A=f.parent,x=zx(A);if(i&&"drillDown"===i.direction)b=A===i.rootNodeGroup?{shape:{x:0,y:0,width:x.nodeWidth,height:x.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var S=0,k=0;x.willDelete||(S=x.nodeWidth/2,k=x.nodeHeight/2),b="nodeGroup"===h?{x:S,y:k,style:{opacity:0}}:{shape:{x:S,y:k,width:0,height:0},style:{opacity:0}}}b&&d.add(f,b,l,0,c)}})}),q(this._storage,function(u,h){q(u,function(f,v){var A=a.lastsForAnimation[h][v],b={};!A||(f instanceof te?null!=A.oldX&&(b.x=f.x,b.y=f.y,f.x=A.oldX,f.y=A.oldY):(A.oldShape&&(b.shape=ft({},f.shape),f.setShape(A.oldShape)),A.fadein?(f.setStyle("opacity",0),b.style={opacity:1}):1!==f.style.opacity&&(b.style={opacity:1})),d.add(f,b,l,0,c))})},this),this._state="animating",d.finished(Ut(function(){this._state="ready",a.renderFinally()},this)).start()},t.prototype._resetController=function(e){var a=this._controller,r=this._controllerHost;r||(this._controllerHost={target:this.group},r=this._controllerHost),a||((a=this._controller=new JA(e.getZr())).enable(this.seriesModel.get("roam")),r.zoomLimit=this.seriesModel.get("scaleLimit"),r.zoom=this.seriesModel.get("zoom"),a.on("pan",Ut(this._onPan,this)),a.on("zoom",Ut(this._onZoom,this)));var i=new de(0,0,e.getWidth(),e.getHeight());a.setPointerChecker(function(o,s,l){return i.contain(s,l)})},t.prototype._clearController=function(){var e=this._controller;this._controllerHost=null,e&&(e.dispose(),e=null)},t.prototype._onPan=function(e){if("animating"!==this._state&&(Math.abs(e.dx)>3||Math.abs(e.dy)>3)){var a=this.seriesModel.getData().tree.root;if(!a)return;var r=a.getLayout();if(!r)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x+e.dx,y:r.y+e.dy,width:r.width,height:r.height}})}},t.prototype._onZoom=function(e){var a=e.originX,r=e.originY,i=e.scale;if("animating"!==this._state){var o=this.seriesModel.getData().tree.root;if(!o)return;var s=o.getLayout();if(!s)return;var c,l=new de(s.x,s.y,s.width,s.height),d=this._controllerHost;c=d.zoomLimit;var u=d.zoom=d.zoom||1;if(u*=i,c){var h=c.min||0,f=c.max||1/0;u=Math.max(Math.min(f,u),h)}var v=u/d.zoom;d.zoom=u;var A=this.seriesModel.layoutInfo,b=[1,0,0,1,0,0];Ui(b,b,[-(a-=A.x),-(r-=A.y)]),n2(b,b,[v,v]),Ui(b,b,[a,r]),l.applyTransform(b),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:l.x,y:l.y,width:l.width,height:l.height}})}},t.prototype._initEvents=function(e){var a=this;e.on("click",function(r){if("ready"===a._state){var i=a.seriesModel.get("nodeClick",!0);if(i){var o=a.findTarget(r.offsetX,r.offsetY);if(o){var s=o.node;if(s.getLayout().isLeafRoot)a._rootToNode(o);else if("zoomToNode"===i)a._zoomToNode(o);else if("link"===i){var l=s.hostTree.data.getItemModel(s.dataIndex),c=l.get("link",!0),d=l.get("target",!0)||"blank";c&&b_(c,d)}}}}},this)},t.prototype._renderBreadcrumb=function(e,a,r){var i=this;r||((r=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(a.getWidth()/2,a.getHeight()/2))||(r={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new Hht(this.group))).render(e,a,r.node,function(o){"animating"!==i._state&&(GT(e.getViewRoot(),o)?i._rootToNode({node:o}):i._zoomToNode({node:o}))})},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,a){var r;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(o){var s=this._storage.background[o.getRawIndex()];if(s){var l=s.transformCoordToLocal(e,a),c=s.shape;if(!(c.x<=l[0]&&l[0]<=c.x+c.width&&c.y<=l[1]&&l[1]<=c.y+c.height))return!1;r={node:o,offsetX:l[0],offsetY:l[1]}}},this),r},t.type="treemap",t}(nn);const Yht=Jht;var ey=q,Qht=Xt,JT=function(){function n(t){var e=t.mappingMethod,a=t.type,r=this.option=Yt(t);this.type=a,this.mappingMethod=e,this._normalizeData=emt[e];var i=n.visualHandlers[a];this.applyVisual=i.applyVisual,this.getColorMapper=i.getColorMapper,this._normalizedToVisual=i._normalizedToVisual[e],"piecewise"===e?(ZT(r),function $ht(n){var t=n.pieceList;n.hasSpecialVisual=!1,q(t,function(e,a){e.originIndex=a,null!=e.visual&&(n.hasSpecialVisual=!0)})}(r)):"category"===e?r.categories?function tmt(n){var t=n.categories,e=n.categoryMap={},a=n.visual;if(ey(t,function(o,s){e[o]=s}),!vt(a)){var r=[];Xt(a)?ey(a,function(o,s){var l=e[s];r[l??-1]=o}):r[-1]=a,a=Ez(n,r)}for(var i=t.length-1;i>=0;i--)null==a[i]&&(delete e[t[i]],t.pop())}(r):ZT(r,!0):(Oa("linear"!==e||r.dataExtent),ZT(r))}return n.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},n.prototype.getNormalizer=function(){return Ut(this._normalizeData,this)},n.listVisualTypes=function(){return ve(n.visualHandlers)},n.isValidType=function(t){return n.visualHandlers.hasOwnProperty(t)},n.eachVisual=function(t,e,a){Xt(t)?q(t,e,a):e.call(a,t)},n.mapVisual=function(t,e,a){var r,i=vt(t)?[]:Xt(t)?{}:(r=!0,null);return n.eachVisual(t,function(o,s){var l=e.call(a,o,s);r?i=l:i[s]=l}),i},n.retrieveVisuals=function(t){var a,e={};return t&&ey(n.visualHandlers,function(r,i){t.hasOwnProperty(i)&&(e[i]=t[i],a=!0)}),a?e:null},n.prepareVisualTypes=function(t){if(vt(t))t=t.slice();else{if(!Qht(t))return[];var e=[];ey(t,function(a,r){e.push(r)}),t=e}return t.sort(function(a,r){return"color"===r&&"color"!==a&&0===a.indexOf("color")?1:-1}),t},n.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},n.findPieceIndex=function(t,e,a){for(var r,i=1/0,o=0,s=e.length;o<s;o++){var l=e[o].value;if(null!=l){if(l===t||Lt(l)&&l===t+"")return o;a&&h(l,o)}}for(o=0,s=e.length;o<s;o++){var c=e[o],d=c.interval,u=c.close;if(d){if(d[0]===-1/0){if(Hx(u[1],t,d[1]))return o}else if(d[1]===1/0){if(Hx(u[0],d[0],t))return o}else if(Hx(u[0],d[0],t)&&Hx(u[1],t,d[1]))return o;a&&h(d[0],o),a&&h(d[1],o)}}if(a)return t===1/0?e.length-1:t===-1/0?0:r;function h(f,v){var A=Math.abs(f-t);A<i&&(i=A,r=v)}},n.visualHandlers={color:{applyVisual:ny("color"),getColorMapper:function(){var t=this.option;return Ut("category"===t.mappingMethod?function(e,a){return!a&&(e=this._normalizeData(e)),ay.call(this,e)}:function(e,a,r){var i=!!r;return!a&&(e=this._normalizeData(e)),r=f2(e,t.parsedVisual,r),i?r:Vi(r,"rgba")},this)},_normalizedToVisual:{linear:function(t){return Vi(f2(t,this.option.parsedVisual),"rgba")},category:ay,piecewise:function(t,e){var a=YT.call(this,e);return null==a&&(a=Vi(f2(t,this.option.parsedVisual),"rgba")),a},fixed:au}},colorHue:qx(function(t,e){return Lv(t,e)}),colorSaturation:qx(function(t,e){return Lv(t,null,e)}),colorLightness:qx(function(t,e){return Lv(t,null,null,e)}),colorAlpha:qx(function(t,e){return F0(t,e)}),decal:{applyVisual:ny("decal"),_normalizedToVisual:{linear:null,category:ay,piecewise:null,fixed:null}},opacity:{applyVisual:ny("opacity"),_normalizedToVisual:XT([0,1])},liftZ:{applyVisual:ny("liftZ"),_normalizedToVisual:{linear:au,category:au,piecewise:au,fixed:au}},symbol:{applyVisual:function(t,e,a){a("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:zz,category:ay,piecewise:function(t,e){var a=YT.call(this,e);return null==a&&(a=zz.call(this,t)),a},fixed:au}},symbolSize:{applyVisual:ny("symbolSize"),_normalizedToVisual:XT([0,1])}},n}();function ZT(n,t){var e=n.visual,a=[];Xt(e)?ey(e,function(i){a.push(i)}):null!=e&&a.push(e);!t&&1===a.length&&!{color:1,symbol:1}.hasOwnProperty(n.type)&&(a[1]=a[0]),Ez(n,a)}function qx(n){return{applyVisual:function(t,e,a){var r=this.mapValueToVisual(t);a("color",n(e("color"),r))},_normalizedToVisual:XT([0,1])}}function zz(n){var t=this.option.visual;return t[Math.round(Fe(n,[0,1],[0,t.length-1],!0))]||{}}function ny(n){return function(t,e,a){a(n,this.mapValueToVisual(t))}}function ay(n){var t=this.option.visual;return t[this.option.loop&&-1!==n?n%t.length:n]}function au(){return this.option.visual[0]}function XT(n){return{linear:function(t){return Fe(t,n,this.option.visual,!0)},category:ay,piecewise:function(t,e){var a=YT.call(this,e);return null==a&&(a=Fe(t,n,this.option.visual,!0)),a},fixed:au}}function YT(n){var t=this.option,e=t.pieceList;if(t.hasSpecialVisual){var r=e[JT.findPieceIndex(n,e)];if(r&&r.visual)return r.visual[this.type]}}
1function Ez(n,t){return n.visual=t,"color"===n.type&&(n.parsedVisual=At(t,function(e){return Ya(e)||[0,0,0,1]})),t}var emt={linear:function(n){return Fe(n,this.option.dataExtent,[0,1],!0)},piecewise:function(n){var t=this.option.pieceList,e=JT.findPieceIndex(n,t,!0);if(null!=e)return Fe(e,[0,t.length-1],[0,1],!0)},category:function(n){return(this.option.categories?this.option.categoryMap[n]:n)??-1},fixed:Tn};function Hx(n,t,e){return n?t<=e:t<e}const pa=JT;var qz=_e();const amt={seriesType:"treemap",reset:function(n){var e=n.getData().tree.root;e.isRemoved()||Hz(e,{},n.getViewRoot().getAncestors(),n)}};function Hz(n,t,e,a){var r=n.getModel(),i=n.getLayout(),o=n.hostTree.data;if(i&&!i.invisible&&i.isInView){var h,s=r.getModel("itemStyle"),l=function rmt(n,t,e){var a=ft({},t),r=e.designatedVisualItemStyle;return q(["color","colorAlpha","colorSaturation"],function(i){r[i]=t[i];var o=n.get(i);r[i]=null,null!=o&&(a[i]=o)}),a}(s,t,a),c=o.ensureUniqueItemVisual(n.dataIndex,"style"),d=s.get("borderColor"),u=s.get("borderColorSaturation");null!=u&&(d=function imt(n,t){return null!=t?Lv(t,null,null,n):null}(u,h=Bz(l))),c.stroke=d;var f=n.viewChildren;if(f&&f.length){var v=function omt(n,t,e,a,r,i){if(i&&i.length){var o=$T(t,"color")||null!=r.color&&"none"!==r.color&&($T(t,"colorAlpha")||$T(t,"colorSaturation"));if(o){var s=t.get("visualMin"),l=t.get("visualMax"),c=e.dataExtent.slice();null!=s&&s<c[0]&&(c[0]=s),null!=l&&l>c[1]&&(c[1]=l);var d=t.get("colorMappingBy"),u={type:o.name,dataExtent:c,visual:o.range};"color"!==u.type||"index"!==d&&"id"!==d?u.mappingMethod="linear":(u.mappingMethod="category",u.loop=!0);var h=new pa(u);return qz(h).drColorMappingBy=d,h}}}(0,r,i,0,l,f);q(f,function(A,b){if(A.depth>=e.length||A===e[A.depth]){var x=function smt(n,t,e,a,r,i){var o=ft({},t);if(r){var s=r.type,l="color"===s&&qz(r).drColorMappingBy,c="index"===l?a:"id"===l?i.mapIdToIndex(e.getId()):e.getValue(n.get("visualDimension"));o[s]=r.mapValueToVisual(c)}return o}(r,l,A,b,v,a);Hz(A,x,e,a)}})}else h=Bz(l),c.fill=h}}function Bz(n){var t=QT(n,"color");
vendor: 4,440 bytes, line 1
1if(t){var e=QT(n,"colorAlpha"),a=QT(n,"colorSaturation");return a&&(t=Lv(t,null,null,a)),e&&(t=F0(t,e)),t}}function QT(n,t){var e=n[t];if(null!=e&&"none"!==e)return e}function $T(n,t){var e=n.get(t);return vt(e)&&e.length?{name:t,range:e}:null}var ry=Math.max,Bx=Math.min,jz=$n,tP=q,Gz=["itemStyle","borderWidth"],lmt=["itemStyle","gapWidth"],cmt=["upperLabel","show"],dmt=["upperLabel","height"];const umt={seriesType:"treemap",reset:function(n,t,e,a){var r=e.getWidth(),i=e.getHeight(),o=n.option,s=En(n.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),l=o.size||[],c=Ot(jz(s.width,l[0]),r),d=Ot(jz(s.height,l[1]),i),u=a&&a.type,f=QA(a,["treemapZoomToNode","treemapRootToNode"],n),v="treemapRender"===u||"treemapMove"===u?a.rootRect:null,A=n.getViewRoot(),b=Pz(A);if("treemapMove"!==u){var x="treemapZoomToNode"===u?function vmt(n,t,e,a,r){var i=(t||{}).node,o=[a,r];if(!i||i===e)return o;for(var s,l=a*r,c=l*n.option.zoomToNodeRatio;s=i.parentNode;){for(var d=0,u=s.children,h=0,f=u.length;h<f;h++)d+=u[h].getValue();var v=i.getValue();if(0===v)return o;c*=d/v;var A=s.getModel(),b=A.get(Gz);(c+=4*b*b+(3*b+Math.max(b,Zz(A)))*Math.pow(c,.5))>kL&&(c=kL),i=s}c<l&&(c=l);var S=Math.pow(c/l,.5);return[a*S,r*S]}(n,f,A,c,d):v?[v.width,v.height]:[c,d],S=o.sort;S&&"asc"!==S&&"desc"!==S&&(S="desc");var k={squareRatio:o.squareRatio,sort:S,leafDepth:o.leafDepth};A.hostTree.clearLayouts();var D={x:0,y:0,width:x[0],height:x[1],area:x[0]*x[1]};A.setLayout(D),Kz(A,k,!1,0),D=A.getLayout(),tP(b,function(M,R){var N=(b[R+1]||A).getValue();M.setLayout(ft({dataExtent:[N,N],borderWidth:0,upperHeight:0},D))})}var I=n.getData().tree.root;I.setLayout(function Amt(n,t,e){if(t)return{x:t.x,y:t.y};var a={x:0,y:0};if(!e)return a;var r=e.node,i=r.getLayout();if(!i)return a;for(var o=[i.width/2,i.height/2],s=r;s;){var l=s.getLayout();o[0]+=l.x,o[1]+=l.y,s=s.parentNode}return{x:n.width/2-o[0],y:n.height/2-o[1]}}(s,v,f),!0),n.setLayoutInfo(s),Jz(I,new de(-s.x,-s.y,r,i),b,A,0)}};function Kz(n,t,e,a){var r,i;if(!n.isRemoved()){var o=n.getLayout();r=o.width,i=o.height;var s=n.getModel(),l=s.get(Gz),c=s.get(lmt)/2,d=Zz(s),u=Math.max(l,d),h=l-c,f=u-c;n.setLayout({borderWidth:l,upperHeight:u,upperLabelHeight:d},!0);var v=(r=ry(r-2*h,0))*(i=ry(i-h-f,0)),A=function pmt(n,t,e,a,r,i){var o=n.children||[],s=a.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=a.leafDepth&&a.leafDepth<=i;if(r&&!l)return n.viewChildren=[];o=Ne(o,function(f){return!f.isRemoved()}),function mmt(n,t){return t&&n.sort(function(e,a){var r="asc"===t?e.getValue()-a.getValue():a.getValue()-e.getValue();return 0===r?"asc"===t?e.dataIndex-a.dataIndex:a.dataIndex-e.dataIndex:r}),n}(o,s);var c=function fmt(n,t,e){for(var a=0,r=0,i=t.length;r<i;r++)a+=t[r].getValue();var s,o=n.get("visualDimension");return t&&t.length?"value"===o&&e?(s=[t[t.length-1].getValue(),t[0].getValue()],"asc"===e&&s.reverse()):(s=[1/0,-1/0],tP(t,function(l){var c=l.getValue(o);c<s[0]&&(s[0]=c),c>s[1]&&(s[1]=c)})):s=[NaN,NaN],{sum:a,dataExtent:s}}(t,o,s);if(0===c.sum)return n.viewChildren=[];if(c.sum=function hmt(n,t,e,a,r){if(!a)return e;for(var i=n.get("visibleMin"),o=r.length,s=o,l=o-1;l>=0;l--){var c=r["asc"===a?o-l-1:l].getValue();c/e*t<i&&(s=l,e-=c)}return"asc"===a?r.splice(0,o-s):r.splice(s,o-s),e}(t,e,c.sum,s,o),0===c.sum)return n.viewChildren=[];for(var d=0,u=o.length;d<u;d++){var h=o[d].getValue()/c.sum*e;o[d].setLayout({area:h})}return l&&(o.length&&n.setLayout({isLeafRoot:!0},!0),o.length=0),n.viewChildren=o,n.setLayout({dataExtent:c.dataExtent},!0),o}(n,s,v,t,e,a);if(A.length){var b={x:h,y:f,width:r,height:i},x=Bx(r,i),S=1/0,k=[];k.area=0;for(var D=0,I=A.length;D<I;){var M=A[D];k.push(M),k.area+=M.getLayout().area;var R=gmt(k,x,t.squareRatio);R<=S?(D++,S=R):(k.area-=k.pop().getLayout().area,Wz(k,x,b,c,!1),x=Bx(b.width,b.height),k.length=k.area=0,S=1/0)}if(k.length&&Wz(k,x,b,c,!0),!e){var N=s.get("childrenVisibleMin");null!=N&&v<N&&(e=!0)}for(D=0,I=A.length;D<I;D++)Kz(A[D],t,e,a+1)}}}function gmt(n,t,e){for(var a=0,r=1/0,i=0,o=void 0,s=n.length;i<s;i++)(o=n[i].getLayout().area)&&(o<r&&(r=o),o>a&&(a=o));var l=n.area*n.area,c=t*t*e;return l?ry(c*a/l,l/(c*r)):1/0}function Wz(n,t,e,a,r){var i=t===e.width?0:1,o=1-i,s=["x","y"],l=["width","height"],c=e[s[i]],d=t?n.area/t:0;(r||d>e[l[o]])&&(d=e[l[o]]);for(var u=0,h=n.length;u<h;u++){var f=n[u],v={},A=d?f.getLayout().area/d:0,b=v[l[o]]=ry(d-2*a,0),x=e[s[i]]+e[l[i]]-c,S=u===h-1||x<A?x:A,k=v[l[i]]=ry(S-2*a,0);
vendor: 13,158 bytes, line 1
1v[s[o]]=e[s[o]]+Bx(a,b/2),v[s[i]]=c+Bx(a,k/2),c+=S,f.setLayout(v,!0)}e[s[o]]+=d,e[l[o]]-=d}function Jz(n,t,e,a,r){var i=n.getLayout(),o=e[r],s=o&&o===n;if(!(o&&!s||r===e.length&&n!==a)){n.setLayout({isInView:!0,invisible:!s&&!t.intersect(i),isAboveViewRoot:s},!0);var l=new de(t.x-i.x,t.y-i.y,t.width,t.height);tP(n.viewChildren||[],function(c){Jz(c,l,e,a,r+1)})}}function Zz(n){return n.get(cmt)?n.get(dmt):0}function bmt(n){var t=n.findComponents({mainType:"legend"});!t||!t.length||n.eachSeriesByType("graph",function(e){var a=e.getCategoriesData(),i=e.getGraph().data,o=a.mapArray(a.getName);i.filterSelf(function(s){var c=i.getItemModel(s).getShallow("category");if(null!=c){ke(c)&&(c=o[c]);for(var d=0;d<t.length;d++)if(!t[d].isSelected(c))return!1}return!0})})}function _mt(n){var t={};n.eachSeriesByType("graph",function(e){var a=e.getCategoriesData(),r=e.getData(),i={};a.each(function(o){var s=a.getName(o);i["ec-"+s]=o;var l=a.getItemModel(o),c=l.getModel("itemStyle").getItemStyle();c.fill||(c.fill=e.getColorFromPalette(s,t)),a.setItemVisual(o,"style",c);for(var d=["symbol","symbolSize","symbolKeepAspect"],u=0;u<d.length;u++){var h=l.getShallow(d[u],!0);null!=h&&a.setItemVisual(o,d[u],h)}}),a.count()&&r.each(function(o){var l=r.getItemModel(o).getShallow("category");if(null!=l){Lt(l)&&(l=i["ec-"+l]);var c=a.getItemVisual(l,"style");ft(r.ensureUniqueItemVisual(o,"style"),c);for(var u=["symbol","symbolSize","symbolKeepAspect"],h=0;h<u.length;h++)r.setItemVisual(o,u[h],a.getItemVisual(l,u[h]))}})})}function jx(n){return n instanceof Array||(n=[n,n]),n}function xmt(n){n.eachSeriesByType("graph",function(t){var e=t.getGraph(),a=t.getEdgeData(),r=jx(t.get("edgeSymbol")),i=jx(t.get("edgeSymbolSize"));a.setVisual("fromSymbol",r&&r[0]),a.setVisual("toSymbol",r&&r[1]),a.setVisual("fromSymbolSize",i&&i[0]),a.setVisual("toSymbolSize",i&&i[1]),a.setVisual("style",t.getModel("lineStyle").getLineStyle()),a.each(function(o){var s=a.getItemModel(o),l=e.getEdgeByIndex(o),c=jx(s.getShallow("symbol",!0)),d=jx(s.getShallow("symbolSize",!0)),u=s.getModel("lineStyle").getLineStyle(),h=a.ensureUniqueItemVisual(o,"style");switch(ft(h,u),h.stroke){case"source":var f=l.node1.getVisual("style");h.stroke=f&&f.fill;break;case"target":f=l.node2.getVisual("style");h.stroke=f&&f.fill}c[0]&&l.setVisual("fromSymbol",c[0]),c[1]&&l.setVisual("toSymbol",c[1]),d[0]&&l.setVisual("fromSymbolSize",d[0]),d[1]&&l.setVisual("toSymbolSize",d[1])})})}var Gx=function(n){return n.get("autoCurveness")||null},Xz=function(n,t){var e=Gx(n),a=20,r=[];if(ke(e))a=e;else if(vt(e))return void(n.__curvenessList=e);t>a&&(a=t);var i=a%2?a+2:a+3;r=[];for(var o=0;o<i;o++)r.push((o%2?o+1:o)/10*(o%2?-1:1));n.__curvenessList=r},iy=function(n,t,e){var a=[n.id,n.dataIndex].join("."),r=[t.id,t.dataIndex].join(".");return[e.uid,a,r].join("--\x3e")},Yz=function(n){var t=n.split("--\x3e");return[t[0],t[2],t[1]].join("--\x3e")},nP=function(n,t){var e=t.__edgeMap;return e[n]?e[n].length:0};function aP(n,t,e,a){var r=Gx(t),i=vt(r);if(!r)return null;var o=function(n,t){var e=iy(n.node1,n.node2,t);return t.__edgeMap[e]}(n,t);if(!o)return null;for(var s=-1,l=0;l<o.length;l++)if(o[l]===e){s=l;break}var c=function(n,t){return nP(iy(n.node1,n.node2,t),t)+nP(iy(n.node2,n.node1,t),t)}(n,t);Xz(t,c),n.lineStyle=n.lineStyle||{};var d=iy(n.node1,n.node2,t),u=t.__curvenessList,h=i||c%2?0:1;if(o.isForward)return u[h+s];var f=Yz(d),v=nP(f,t),A=u[s+v+h];return a?i?r&&0===r[0]?(v+h)%2?A:-A:((v%2?0:1)+h)%2?A:-A:(v+h)%2?A:-A:u[s+v+h]}function Qz(n){var t=n.coordinateSystem;if(!t||"view"===t.type){var e=n.getGraph();e.eachNode(function(a){var r=a.getModel();a.setLayout([+r.get("x"),+r.get("y")])}),rP(e,n)}}function rP(n,t){n.eachEdge(function(e,a){var r=Ni(e.getModel().get(["lineStyle","curveness"]),-aP(e,t,a,!0),0),i=Ko(e.node1.getLayout()),o=Ko(e.node2.getLayout()),s=[i,o];+r&&s.push([(i[0]+o[0])/2-(i[1]-o[1])*r,(i[1]+o[1])/2-(o[0]-i[0])*r]),e.setLayout(s)})}function Dmt(n,t){n.eachSeriesByType("graph",function(e){var a=e.get("layout"),r=e.coordinateSystem;if(r&&"view"!==r.type){var i=e.getData(),o=[];q(r.dimensions,function(h){o=o.concat(i.mapDimensionsAll(h))});for(var s=0;s<i.count();s++){for(var l=[],c=!1,d=0;d<o.length;d++){var u=i.get(o[d],s);isNaN(u)||(c=!0),l.push(u)}c?i.setItemLayout(s,r.dataToPoint(l)):i.setItemLayout(s,[NaN,NaN])}rP(i.graph,e)}else(!a||"none"===a)&&Qz(e)})}function oy(n){var t=n.coordinateSystem;if("view"!==t.type)return 1;var e=n.option.nodeScaleRatio,a=t.scaleX;return((t.getZoom()-1)*e+1)/a}function sy(n){var t=n.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}var $z=Math.PI,iP=[];function oP(n,t,e,a){var r=n.coordinateSystem;if(!r||"view"===r.type){var i=r.getBoundingRect(),o=n.getData(),s=o.graph,l=i.width/2+i.x,c=i.height/2+i.y,d=Math.min(i.width,i.height)/2,u=o.count();if(o.setLayout({cx:l,cy:c}),u){if(e){var h=r.pointToData(a),f=h[0],v=h[1],A=[f-l,v-c];Oh(A,A),k0(A,A,d),e.setLayout([l+A[0],c+A[1]],!0),tE(e,n.get(["circular","rotateLabel"]),l,c)}Tmt[t](n,s,o,d,l,c,u),s.eachEdge(function(x,S){var M,k=Ni(x.getModel().get(["lineStyle","curveness"]),aP(x,n,S),0),D=Ko(x.node1.getLayout()),I=Ko(x.node2.getLayout()),R=(D[0]+I[0])/2,N=(D[1]+I[1])/2;+k&&(M=[l*(k*=3)+R*(1-k),c*k+N*(1-k)]),x.setLayout([D,I,M])})}}}var Tmt={value:function(n,t,e,a,r,i,o){var s=0,l=e.getSum("value"),c=2*Math.PI/(l||o);t.eachNode(function(d){var u=d.getValue("value"),h=c*(l?u:1)/2;s+=h,d.setLayout([a*Math.cos(s)+r,a*Math.sin(s)+i]),s+=h})},symbolSize:function(n,t,e,a,r,i,o){var s=0;iP.length=o;var l=oy(n);t.eachNode(function(u){var h=sy(u);isNaN(h)&&(h=2),h<0&&(h=0),h*=l;var f=Math.asin(h/2/a);isNaN(f)&&(f=$z/2),iP[u.dataIndex]=f,s+=2*f});var c=(2*$z-s)/o/2,d=0;t.eachNode(function(u){var h=c+iP[u.dataIndex];d+=h,(!u.getLayout()||!u.getLayout().fixed)&&u.setLayout([a*Math.cos(d)+r,a*Math.sin(d)+i]),d+=h})}};function tE(n,t,e,a){var r=n.getGraphicEl();if(r){var o=n.getModel().get(["label","rotate"])||0,s=r.getSymbolPath();if(t){var l=n.getLayout(),c=Math.atan2(l[1]-a,l[0]-e);c<0&&(c=2*Math.PI+c);var d=l[0]<e;d&&(c-=Math.PI);var u=d?"left":"right";s.setTextConfig({rotation:-c,position:u,origin:"center"});var h=s.ensureState("emphasis");ft(h.textConfig||(h.textConfig={}),{position:u})}else s.setTextConfig({rotation:o*=Math.PI/180})}}function Pmt(n){n.eachSeriesByType("graph",function(t){"circular"===t.get("layout")&&oP(t,"symbolSize")})}var Cm=jk;function Mmt(n){n.eachSeriesByType("graph",function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var a=t.preservedPoints||{},r=t.getGraph(),i=r.data,o=r.edgeData,s=t.getModel("force"),l=s.get("initLayout");t.preservedPoints?i.each(function(k){var D=i.getId(k);i.setItemLayout(k,a[D]||[NaN,NaN])}):l&&"none"!==l?"circular"===l&&oP(t,"value"):Qz(t);var c=i.getDataExtent("value"),d=o.getDataExtent("value"),u=s.get("repulsion"),h=s.get("edgeLength"),f=vt(u)?u:[u,u],v=vt(h)?h:[h,h];v=[v[1],v[0]];var A=i.mapArray("value",function(k,D){var I=i.getItemLayout(D),M=Fe(k,c,f);return isNaN(M)&&(M=(f[0]+f[1])/2),{w:M,rep:M,fixed:i.getItemModel(D).get("fixed"),p:!I||isNaN(I[0])||isNaN(I[1])?null:I}}),b=o.mapArray("value",function(k,D){var I=r.getEdgeByIndex(D),M=Fe(k,d,v);isNaN(M)&&(M=(v[0]+v[1])/2);var R=I.getModel(),N=Ni(I.getModel().get(["lineStyle","curveness"]),-aP(I,t,D,!0),0);return{n1:A[I.node1.dataIndex],n2:A[I.node2.dataIndex],d:M,curveness:N,ignoreForceLayout:R.get("ignoreForceLayout")}}),x=e.getBoundingRect(),S=function Imt(n,t,e){for(var a=n,r=t,i=e.rect,o=i.width,s=i.height,l=[i.x+o/2,i.y+s/2],c=null==e.gravity?.1:e.gravity,d=0;d<a.length;d++){var u=a[d];u.p||(u.p=Xc(o*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),u.pp=Ko(u.p),u.edges=null}var v,A,h=null==e.friction?.6:e.friction,f=h;return{warmUp:function(){f=.8*h},setFixed:function(b){a[b].fixed=!0},setUnfixed:function(b){a[b].fixed=!1},beforeStep:function(b){v=b},afterStep:function(b){A=b},step:function(b){v&&v(a,r);for(var x=[],S=a.length,k=0;k<r.length;k++){var D=r[k];if(!D.ignoreForceLayout){var I=D.n1;Yc(x,(M=D.n2).p,I.p);var R=Gk(x)-D.d,N=M.w/(I.w+M.w);isNaN(N)&&(N=0),Oh(x,x),!I.fixed&&Cm(I.p,I.p,x,N*R*f),!M.fixed&&Cm(M.p,M.p,x,-(1-N)*R*f)}}for(k=0;k<S;k++)(U=a[k]).fixed||(Yc(x,l,U.p),Cm(U.p,U.p,x,c*f));for(k=0;k<S;k++){I=a[k];for(var z=k+1;z<S;z++){var M;Yc(x,(M=a[z]).p,I.p),0===(R=Gk(x))&&(Dtt(x,Math.random()-.5,Math.random()-.5),R=1);var B=(I.rep+M.rep)/R/R;!I.fixed&&Cm(I.pp,I.pp,x,B),!M.fixed&&Cm(M.pp,M.pp,x,-B)}}var K=[];for(k=0;k<S;k++){var U;(U=a[k]).fixed||(Yc(K,U.p,U.pp),Cm(U.p,U.p,K,f),Ra(U.pp,U.p))}var W=(f*=.992)<.01;A&&A(a,r,W),b&&b(W)}}}(A,b,{rect:x,gravity:s.get("gravity"),friction:s.get("friction")});S.beforeStep(function(k,D){for(var I=0,M=k.length;I<M;I++)k[I].fixed&&Ra(k[I].p,r.getNodeByIndex(I).getLayout())}),S.afterStep(function(k,D,I){for(var M=0,R=k.length;M<R;M++)k[M].fixed||r.getNodeByIndex(M).setLayout(k[M].p),a[i.getId(M)]=k[M].p;for(M=0,R=D.length;M<R;M++){var N=D[M],U=r.getEdgeByIndex(M),z=N.n1.p,B=N.n2.p,K=U.getLayout();(K=K?K.slice():[])[0]=K[0]||[],K[1]=K[1]||[],Ra(K[0],z),Ra(K[1],B),+N.curveness&&(K[2]=[(z[0]+B[0])/2-(z[1]-B[1])*N.curveness,(z[1]+B[1])/2-(B[0]-z[0])*N.curveness]),U.setLayout(K)}}),t.forceLayout=S,t.preservedPoints=a,S.step()}else t.forceLayout=null})}function Rmt(n,t){var e=[];return n.eachSeriesByType("graph",function(a){var r=a.get("coordinateSystem");if(!r||"view"===r){var i=a.getData(),s=[],l=[];a_(i.mapArray(function(b){var x=i.getItemModel(b);return[+x.get("x"),+x.get("y")]}),s,l),l[0]-s[0]==0&&(l[0]+=1,s[0]-=1),l[1]-s[1]==0&&(l[1]+=1,s[1]-=1);var c=(l[0]-s[0])/(l[1]-s[1]),d=function Omt(n,t,e){return En(ft(n.getBoxLayoutParams(),{aspect:e}),{width:t.getWidth(),height:t.getHeight()})}(a,t,c);isNaN(c)&&(s=[d.x,d.y],l=[d.x+d.width,d.y+d.height]);var u=l[0]-s[0],h=l[1]-s[1],f=d.width,v=d.height,A=a.coordinateSystem=new XA;A.zoomLimit=a.get("scaleLimit"),A.setBoundingRect(s[0],s[1],u,h),A.setViewRect(d.x,d.y,f,v),A.setCenter(a.get("center"),t),A.setZoom(a.get("zoom")),e.push(A)}}),e}var eE=ea.prototype,sP=N_.prototype,nE=function n(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};!function(n){function t(){return null!==n&&n.apply(this,arguments)||this}pt(t,n)}(nE);function lP(n){return isNaN(+n.cpx1)||isNaN(+n.cpy1)}var Lmt=function(n){function t(e){var a=n.call(this,e)||this;return a.type="ec-line",a}return pt(t,n),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new nE},t.prototype.buildPath=function(e,a){lP(a)?eE.buildPath.call(this,e,a):sP.buildPath.call(this,e,a)},t.prototype.pointAt=function(e){return lP(this.shape)?eE.pointAt.call(this,e):sP.pointAt.call(this,e)},t.prototype.tangentAt=function(e){var a=this.shape,r=lP(a)?[a.x2-a.x1,a.y2-a.y1]:sP.tangentAt.call(this,e);return Oh(r,r)},t}(fe);const Nmt=Lmt;var cP=["fromSymbol","toSymbol"];function aE(n){return"_"+n+"Type"}function rE(n,t,e){var a=t.getItemVisual(e,n);if(!a||"none"===a)return a;var r=t.getItemVisual(e,n+"Size"),i=t.getItemVisual(e,n+"Rotate"),o=t.getItemVisual(e,n+"Offset"),s=t.getItemVisual(e,n+"KeepAspect"),l=hm(r);return a+l+Fd(o||0,l)+(i||"")+(s||"")}function iE(n,t,e){var a=t.getItemVisual(e,n);if(a&&"none"!==a){var r=t.getItemVisual(e,n+"Size"),i=t.getItemVisual(e,n+"Rotate"),o=t.getItemVisual(e,n+"Offset"),s=t.getItemVisual(e,n+"KeepAspect"),l=hm(r),c=Fd(o||0,l),d=Ln(a,-l[0]/2+c[0],-l[1]/2+c[1],l[0],l[1],null,s);return d.__specifiedRotation=null==i||isNaN(i)?void 0:+i*Math.PI/180||0,d.name=n,d}}function dP(n,t){n.x1=t[0][0],n.y1=t[0][1],n.x2=t[1][0],n.y2=t[1][1],n.percent=1;var e=t[2];e?(n.cpx1=e[0],n.cpy1=e[1]):(n.cpx1=NaN,n.cpy1=NaN)}var Fmt=function(n){function t(e,a,r){var i=n.call(this)||this;return i._createLine(e,a,r),i}return pt(t,n),t.prototype._createLine=function(e,a,r){var i=e.hostModel,s=function Umt(n){var t=new Nmt({name:"line",subPixelOptimize:!0});return dP(t.shape,n),t}(e.getItemLayout(a));s.shape.percent=0,dn(s,{shape:{percent:1}},i,a),this.add(s),q(cP,function(l){var c=iE(l,e,a);this.add(c),this[aE(l)]=rE(l,e,a)},this),this._updateCommonStl(e,a,r)},t.prototype.updateData=function(e,a,r){var i=e.hostModel,o=this.childOfName("line"),s=e.getItemLayout(a),l={shape:{}};dP(l.shape,s),Te(o,l,i,a),q(cP,function(c){var d=rE(c,e,a),u=aE(c);if(this[u]!==d){this.remove(this.childOfName(c));var h=iE(c,e,a);this.add(h)}this[u]=d},this),this._updateCommonStl(e,a,r)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(e,a,r){var i=e.hostModel,o=this.childOfName("line"),s=r&&r.emphasisLineStyle,l=r&&r.blurLineStyle,c=r&&r.selectLineStyle,d=r&&r.labelStatesModels,u=r&&r.emphasisDisabled,h=r&&r.focus,f=r&&r.blurScope;if(!r||e.hasItemOption){var v=e.getItemModel(a),A=v.getModel("emphasis");s=A.getModel("lineStyle").getLineStyle(),l=v.getModel(["blur","lineStyle"]).getLineStyle(),c=v.getModel(["select","lineStyle"]).getLineStyle(),u=A.get("disabled"),h=A.get("focus"),f=A.get("blurScope"),d=Kn(v)}var b=e.getItemVisual(a,"style"),x=b.stroke;o.useStyle(b),o.style.fill=null,o.style.strokeNoScale=!0,o.ensureState("emphasis").style=s,o.ensureState("blur").style=l,o.ensureState("select").style=c,q
vendor: 6,902 bytes, line 1
1(cP,function(M){var R=this.childOfName(M);if(R){R.setColor(x),R.style.opacity=b.opacity;for(var N=0;N<Na.length;N++){var U=Na[N],z=o.getState(U);if(z){var B=z.style||{},K=R.ensureState(U),W=K.style||(K.style={});null!=B.stroke&&(W[R.__isEmptyBrush?"stroke":"fill"]=B.stroke),null!=B.opacity&&(W.opacity=B.opacity)}}R.markRedraw()}},this);var S=i.getRawValue(a);da(this,d,{labelDataIndex:a,labelFetcher:{getFormattedLabel:function(M,R){return i.getFormattedLabel(M,R,e.dataType)}},inheritColor:x||"#000",defaultOpacity:b.opacity,defaultText:(null==S?e.getName(a):isFinite(S)?wn(S):S)+""});var k=this.getTextContent();if(k){var D=d.normal;k.__align=k.style.align,k.__verticalAlign=k.style.verticalAlign,k.__position=D.get("position")||"middle";var I=D.get("distance");vt(I)||(I=[I,I]),k.__labelDistance=I}this.setTextConfig({position:null,local:!0,inside:!1}),An(this,h,f,u)},t.prototype.highlight=function(){es(this)},t.prototype.downplay=function(){ns(this)},t.prototype.updateLayout=function(e,a){this.setLinePoints(e.getItemLayout(a))},t.prototype.setLinePoints=function(e){var a=this.childOfName("line");dP(a.shape,e),a.dirty()},t.prototype.beforeUpdate=function(){var e=this,a=e.childOfName("fromSymbol"),r=e.childOfName("toSymbol"),i=e.getTextContent();if(a||r||i&&!i.ignore){for(var o=1,s=this.parent;s;)s.scaleX&&(o/=s.scaleX),s=s.parent;var l=e.childOfName("line");if(this.__dirty||l.__dirty){var c=l.shape.percent,d=l.pointAt(0),u=l.pointAt(c),h=Yc([],u,d);if(Oh(h,h),a&&(a.setPosition(d),f(a,0),a.scaleX=a.scaleY=o*c,a.markRedraw()),r&&(r.setPosition(u),f(r,1),r.scaleX=r.scaleY=o*c,r.markRedraw()),i&&!i.ignore){i.x=i.y=0,i.originX=i.originY=0;var v=void 0,A=void 0,b=i.__labelDistance,x=b[0]*o,S=b[1]*o,k=c/2,D=l.tangentAt(k),I=[D[1],-D[0]],M=l.pointAt(k);I[1]>0&&(I[0]=-I[0],I[1]=-I[1]);var R=D[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var N=-Math.atan2(D[1],D[0]);u[0]<d[0]&&(N=Math.PI+N),i.rotation=N}var U=void 0;switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":U=-S,A="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":U=S,A="top";break;default:U=0,A="middle"}switch(i.__position){case"end":i.x=h[0]*x+u[0],i.y=h[1]*S+u[1],v=h[0]>.8?"left":h[0]<-.8?"right":"center",A=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*x+d[0],i.y=-h[1]*S+d[1],v=h[0]>.8?"right":h[0]<-.8?"left":"center",A=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=x*R+d[0],i.y=d[1]+U,v=D[0]<0?"right":"left",i.originX=-x*R,i.originY=-U;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=M[0],i.y=M[1]+U,v="center",i.originY=-U;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-x*R+u[0],i.y=u[1]+U,v=D[0]>=0?"right":"left",i.originX=x*R,i.originY=-U}i.scaleX=i.scaleY=o,i.setStyle({verticalAlign:i.__verticalAlign||A,align:i.__align||v})}}}function f(z,B){var K=z.__specifiedRotation;if(null==K){var W=l.tangentAt(B);z.attr("rotation",(1===B?-1:1)*Math.PI/2-Math.atan2(W[1],W[0]))}else z.attr("rotation",K)}},t}(te);const uP=Fmt;var Vmt=function(){function n(t){this.group=new te,this._LineCtor=t||uP}return n.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var a=this,r=a.group,i=a._lineData;a._lineData=t,i||r.removeAll();var o=oE(t);t.diff(i).add(function(s){e._doAdd(t,s,o)}).update(function(s,l){e._doUpdate(i,t,l,s,o)}).remove(function(s){r.remove(i.getItemGraphicEl(s))}).execute()},n.prototype.updateLayout=function(){var t=this._lineData;!t||t.eachItemGraphicEl(function(e,a){e.updateLayout(t,a)},this)},n.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=oE(t),this._lineData=null,this.group.removeAll()},n.prototype.incrementalUpdate=function(t,e){function a(s){!s.isGroup&&!function zmt(n){return n.animators&&n.animators.length>0}(s)&&(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var r=t.start;r<t.end;r++){if(pP(e.getItemLayout(r))){var o=new this._LineCtor(e,r,this._seriesScope);o.traverse(a),this.group.add(o),e.setItemGraphicEl(r,o),this._progressiveEls.push(o)}}},n.prototype.remove=function(){this.group.removeAll()},n.prototype.eachRendered=function(t){Il(this._progressiveEls||this.group,t)},n.prototype._doAdd=function(t,e,a){if(pP(t.getItemLayout(e))){var i=new this._LineCtor(t,e,a);t.setItemGraphicEl(e,i),this.group.add(i)}},n.prototype._doUpdate=function(t,e,a,r,i){var o=t.getItemGraphicEl(a);pP(e.getItemLayout(r))?(o?o.updateData(e,r,i):o=new this._LineCtor(e,r,i),e.setItemGraphicEl(r,o),this.group.add(o)):this.group.remove(o)},n}();function oE(n){var t=n.hostModel,e=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:e.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:e.get("disabled"),blurScope:e.get("blurScope"),focus:e.get("focus"),labelStatesModels:Kn(t)}}function sE(n){return isNaN(n[0])||isNaN(n[1])}function pP(n){return n&&!sE(n[0])&&!sE(n[1])}const hP=Vmt;var mP=[],fP=[],gP=[],Dm=ta,vP=Qc,lE=Math.abs;function cE(n,t,e){for(var s,a=n[0],r=n[1],i=n[2],o=1/0,l=e*e,c=.1,d=.1;d<=.9;d+=.1){mP[0]=Dm(a[0],r[0],i[0],d),mP[1]=Dm(a[1],r[1],i[1],d),(u=lE(vP(mP,t)-l))<o&&(o=u,s=d)}for(var h=0;h<32;h++){var f=s+c;fP[0]=Dm(a[0],r[0],i[0],s),fP[1]=Dm(a[1],r[1],i[1],s),gP[0]=Dm(a[0],r[0],i[0],f),gP[1]=Dm(a[1],r[1],i[1],f);var u=vP(fP,t)-l;if(lE(u)<.01)break;var v=vP(gP,t)-l;c/=2,u<0?v>=0?s+=c:s-=c:v>=0?s-=c:s+=c}return s}function AP(n,t){var e=[],a=Mv,r=[[],[],[]],i=[[],[]],o=[];t/=2,n.eachEdge(function(s,l){var c=s.getLayout(),d=s.getVisual("fromSymbol"),u=s.getVisual("toSymbol");c.__original||(c.__original=[Ko(c[0]),Ko(c[1])],c[2]&&c.__original.push(Ko(c[2])));var h=c.__original;if(null!=c[2]){if(Ra(r[0],h[0]),Ra(r[1],h[2]),Ra(r[2],h[1]),d&&"none"!==d){var f=sy(s.node1),v=cE(r,h[0],f*t);a(r[0][0],r[1][0],r[2][0],v,e),r[0][0]=e[3],r[1][0]=e[4],a(r[0][1],r[1][1],r[2][1],v,e),r[0][1]=e[3],r[1][1]=e[4]}if(u&&"none"!==u){f=sy(s.node2),v=cE(r,h[1],f*t);a(r[0][0],r[1][0],r[2][0],v,e),r[1][0]=e[1],r[2][0]=e[2],a(r[0][1],r[1][1],r[2][1],v,e),r[1][1]=e[1],r[2][1]=e[2]}Ra(c[0],r[0]),Ra(c[1],r[2]),Ra(c[2],r[1])}else{if(Ra(i[0],h[0]),Ra(i[1],h[1]),Yc(o,i[1],i[0]),Oh(o,o),d&&"none"!==d){f=sy(s.node1);jk(i[0],i[0],o,f*t)}if(u&&"none"!==u){f=sy(s.node2);jk(i[1],i[1],o,-f*t)}Ra(c[0],i[0]),Ra(c[1],i[1])}})}function dE(n){return"view"===n.type}var Emt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.init=function(e,a){var r=new VA,i=new hP,o=this.group;this._controller=new JA(a.getZr()),this._controllerHost={target:o},o.add(r.group),o.add(i.group),this._symbolDraw=r,this._lineDraw=i,this._firstRen
vendor: 33,690 bytes, line 1
1der=!0},t.prototype.render=function(e,a,r){var i=this,o=e.coordinateSystem;this._model=e;var s=this._symbolDraw,l=this._lineDraw,c=this.group;if(dE(o)){var d={x:o.x,y:o.y,scaleX:o.scaleX,scaleY:o.scaleY};this._firstRender?c.attr(d):Te(c,d,e)}AP(e.getGraph(),oy(e));var u=e.getData();s.updateData(u);var h=e.getEdgeData();l.updateData(h),this._updateNodeAndLinkScale(),this._updateController(e,a,r),clearTimeout(this._layoutTimeout);var f=e.forceLayout,v=e.get(["force","layoutAnimation"]);f&&this._startForceLayoutIteration(f,v);var A=e.get("layout");u.graph.eachNode(function(k){var D=k.dataIndex,I=k.getGraphicEl(),M=k.getModel();if(I){I.off("drag").off("dragend");var R=M.get("draggable");R&&I.on("drag",function(U){switch(A){case"force":f.warmUp(),!i._layouting&&i._startForceLayoutIteration(f,v),f.setFixed(D),u.setItemLayout(D,[I.x,I.y]);break;case"circular":u.setItemLayout(D,[I.x,I.y]),k.setLayout({fixed:!0},!0),oP(e,"symbolSize",k,[U.offsetX,U.offsetY]),i.updateLayout(e);break;default:u.setItemLayout(D,[I.x,I.y]),rP(e.getGraph(),e),i.updateLayout(e)}}).on("dragend",function(){f&&f.setUnfixed(D)}),I.setDraggable(R,!!M.get("cursor")),"adjacency"===M.get(["emphasis","focus"])&&(ee(I).focus=k.getAdjacentDataIndices())}}),u.graph.eachEdge(function(k){var D=k.getGraphicEl(),I=k.getModel().get(["emphasis","focus"]);!D||"adjacency"===I&&(ee(D).focus={edge:[k.dataIndex],node:[k.node1.dataIndex,k.node2.dataIndex]})});var b="circular"===e.get("layout")&&e.get(["circular","rotateLabel"]),x=u.getLayout("cx"),S=u.getLayout("cy");u.graph.eachNode(function(k){tE(k,b,x,S)}),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(e,a){var r=this;!function i(){e.step(function(o){r.updateLayout(r._model),(r._layouting=!o)&&(a?r._layoutTimeout=setTimeout(i,16):i())})}()},t.prototype._updateController=function(e,a,r){var i=this,o=this._controller,s=this._controllerHost,l=this.group;o.setPointerChecker(function(c,d,u){var h=l.getBoundingRect();return h.applyTransform(l.transform),h.contain(d,u)&&!Rx(c,r,e)}),dE(e.coordinateSystem)?(o.enable(e.get("roam")),s.zoomLimit=e.get("scaleLimit"),s.zoom=e.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(c){MT(s,c.dx,c.dy),r.dispatchAction({seriesId:e.id,type:"graphRoam",dx:c.dx,dy:c.dy})}).on("zoom",function(c){OT(s,c.scale,c.originX,c.originY),r.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:c.scale,originX:c.originX,originY:c.originY}),i._updateNodeAndLinkScale(),AP(e.getGraph(),oy(e)),i._lineDraw.updateLayout(),r.updateLabelLayout()})):o.disable()},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,a=e.getData(),r=oy(e);a.eachItemGraphicEl(function(i,o){i&&i.setSymbolScale(r)})},t.prototype.updateLayout=function(e){AP(e.getGraph(),oy(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(nn);const qmt=Emt;function Tm(n){return"_EC_"+n}var Hmt=function(){function n(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return n.prototype.isDirected=function(){return this._directed},n.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var a=this._nodesMap;if(!a[Tm(t)]){var r=new ru(t,e);return r.hostGraph=this,this.nodes.push(r),a[Tm(t)]=r,r}},n.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},n.prototype.getNodeById=function(t){return this._nodesMap[Tm(t)]},n.prototype.addEdge=function(t,e,a){var r=this._nodesMap,i=this._edgesMap;if(ke(t)&&(t=this.nodes[t]),ke(e)&&(e=this.nodes[e]),t instanceof ru||(t=r[Tm(t)]),e instanceof ru||(e=r[Tm(e)]),t&&e){var o=t.id+"-"+e.id,s=new uE(t,e,a);return s.hostGraph=this,this._directed&&(t.outEdges.push(s),e.inEdges.push(s)),t.edges.push(s),t!==e&&e.edges.push(s),this.edges.push(s),i[o]=s,s}},n.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},n.prototype.getEdge=function(t,e){t instanceof ru&&(t=t.id),e instanceof ru&&(e=e.id);var a=this._edgesMap;return this._directed?a[t+"-"+e]:a[t+"-"+e]||a[e+"-"+t]},n.prototype.eachNode=function(t,e){for(var a=this.nodes,r=a.length,i=0;i<r;i++)a[i].dataIndex>=0&&t.call(e,a[i],i)},n.prototype.eachEdge=function(t,e){for(var a=this.edges,r=a.length,i=0;i<r;i++)a[i].dataIndex>=0&&a[i].node1.dataIndex>=0&&a[i].node2.dataIndex>=0&&t.call(e,a[i],i)},n.prototype.breadthFirstTraverse=function(t,e,a,r){if(e instanceof ru||(e=this._nodesMap[Tm(e)]),e){for(var i="out"===a?"outEdges":"in"===a?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(r,e,null))for(var s=[e];s.length;){var l=s.shift(),c=l[i];for(o=0;o<c.length;o++){var d=c[o],u=d.node1===l?d.node2:d.node1;if(!u.__visited){if(t.call(r,u,l))return;s.push(u),u.__visited=!0}}}}},n.prototype.update=function(){for(var t=this.data,e=this.edgeData,a=this.nodes,r=this.edges,i=0,o=a.length;i<o;i++)a[i].dataIndex=-1;for(i=0,o=t.count();i<o;i++)a[t.getRawIndex(i)].dataIndex=i;e.filterSelf(function(s){var l=r[e.getRawIndex(s)];return l.node1.dataIndex>=0&&l.node2.dataIndex>=0});for(i=0,o=r.length;i<o;i++)r[i].dataIndex=-1;for(i=0,o=e.count();i<o;i++)r[e.getRawIndex(i)].dataIndex=i},n.prototype.clone=function(){for(var t=new n(this._directed),e=this.nodes,a=this.edges,r=0;r<e.length;r++)t.addNode(e[r].id,e[r].dataIndex);for(r=0;r<a.length;r++){var i=a[r];t.addEdge(i.node1.id,i.node2.id,i.dataIndex)}return t},n}(),ru=function(){function n(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=t??"",this.dataIndex=e??-1}return n.prototype.degree=function(){return this.edges.length},n.prototype.inDegree=function(){return this.inEdges.length},n.prototype.outDegree=function(){return this.outEdges.length},n.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)},n.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var a=this.edges[e];a.dataIndex<0||(t.edge.push(a.dataIndex),t.node.push(a.node1.dataIndex,a.node2.dataIndex))}return t},n.prototype.getTrajectoryDataIndices=function(){for(var t=Et(),e=Et(),a=0;a<this.edges.length;a++){var r=this.edges[a];if(!(r.dataIndex<0)){t.set(r.dataIndex,!0);for(var i=[r.node1],o=[r.node2],s=0;s<i.length;){var l=i[s];s++,e.set(l.dataIndex,!0);for(var c=0;c<l.inEdges.length;c++)t.set(l.inEdges[c].dataIndex,!0),i.push(l.inEdges[c].node1)}for(s=0;s<o.length;){var d=o[s];s++,e.set(d.dataIndex,!0);for(c=0;c<d.outEdges.length;c++)t.set(d.outEdges[c].dataIndex,!0),o.push(d.outEdges[c].node2)}}}return{edge:t.keys(),node:e.keys()}},n}(),uE=function(){function n(t,e,a){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=a??-1}return n.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)},n.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},n.prototype.getTrajectoryDataIndices=function(){var t=Et(),e=Et();t.set(this.dataIndex,!0);for(var a=[this.node1],r=[this.node2],i=0;i<a.length;){var o=a[i];i++,e.set(o.dataIndex,!0);for(var s=0;s<o.inEdges.length;s++)t.set(o.inEdges[s].dataIndex,!0),a.push(o.inEdges[s].node1)}for(i=0;i<r.length;){var l=r[i];i++,e.set(l.dataIndex,!0);for(s=0;s<l.outEdges.length;s++)t.set(l.outEdges[s].dataIndex,!0),r.push(l.outEdges[s].node2)}return{edge:t.keys(),node:e.keys()}},n}();function pE(n,t){return{getValue:function(e){var a=this[n][t];return a.getStore().get(a.getDimensionIndex(e||"value"),this.dataIndex)},setVisual:function(e,a){this.dataIndex>=0&&this[n][t].setItemVisual(this.dataIndex,e,a)},getVisual:function(e){return this[n][t].getItemVisual(this.dataIndex,e)},setLayout:function(e,a){this.dataIndex>=0&&this[n][t].setItemLayout(this.dataIndex,e,a)},getLayout:function(){return this[n][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[n][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[n][t].getRawIndex(this.dataIndex)}}}Mn(ru,pE("hostGraph","data")),Mn(uE,pE("hostGraph","edgeData"));const Bmt=Hmt;function hE(n,t,e,a,r){for(var i=new Bmt(a),o=0;o<n.length;o++)i.addNode($n(n[o].id,n[o].name,o),o);var s=[],l=[],c=0;for(o=0;o<t.length;o++){var d=t[o],u=d.source,h=d.target;i.addEdge(u,h,c)&&(l.push(d),s.push($n(zn(d.id,null),u+" > "+h)),c++)}var v,f=e.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)v=os(n,e);else{var A=sA.get(f),b=A&&A.dimensions||[];pe(b,"value")<0&&b.concat(["value"]);var x=Am(n,{coordDimensions:b,encodeDefine:e.getEncode()}).dimensions;(v=new Va(x,e)).initData(n)}var S=new Va(["value"],e);return S.initData(l,s),r&&r(v,S),Tz({mainData:v,struct:i,structAttr:"graph",datas:{node:v,edge:S},datasAttr:{node:"data",edge:"edgeData"}}),i.update(),i}var jmt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return pt(t,n),t.prototype.init=function(e){n.prototype.init.apply(this,arguments);var a=this;function r(){return a._categoriesData}this.legendVisualProvider=new HA(r,r),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},t.prototype.mergeOption=function(e){n.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(e){n.prototype.mergeDefaultAndTheme.apply(this,arguments),ld(e,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,a){var r=e.edges||e.links||[],i=e.data||e.nodes||[],o=this;if(i&&r){!function kmt(n){!Gx(n)||(n.__curvenessList=[],n.__edgeMap={},Xz(n))}(this);var s=hE(i,r,this,!0,function l(c,d){c.wrapMethod("getItemModel",function(v){var x=o._categoriesModels[v.getShallow("category")];return x&&(x.parentModel=v.parentModel,v.parentModel=x),v});var u=en.prototype.getModel;function h(v,A){var b=u.call(this,v,A);return b.resolveParentPath=f,b}function f(v){if(v&&("label"===v[0]||"label"===v[1])){var A=v.slice();return"label"===v[0]?A[0]="edgeLabel":"label"===v[1]&&(A[1]="edgeLabel"),A}return v}d.wrapMethod("getItemModel",function(v){return v.resolveParentPath=f,v.getModel=h,v})});return q(s.edges,function(c){!function Cmt(n,t,e,a){if(Gx(e)){var r=iy(n,t,e),i=e.__edgeMap,o=i[Yz(r)];i[r]&&!o?i[r].isForward=!0:o&&i[r]&&(o.isForward=!0,i[r].isForward=!1),i[r]=i[r]||[],i[r].push(a)}}(c.node1,c.node2,this,c.dataIndex)},this),s.data}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(e,a,r){if("edge"===r){var i=this.getData(),o=this.getDataParams(e,r),s=i.graph.getEdgeByIndex(e),l=i.getName(s.node1.dataIndex),c=i.getName(s.node2.dataIndex),d=[];return null!=l&&d.push(l),null!=c&&d.push(c),Wn("nameValue",{name:d.join(" > "),value:o.value,noValue:null==o.value})}return vN({series:this,dataIndex:e,multipleSeries:a})},t.prototype._updateCategoriesData=function(){var e=At(this.option.categories||[],function(r){return null!=r.value?r:ft({value:0},r)}),a=new Va(["value"],this);a.initData(e),this._categoriesData=a,this._categoriesModels=a.mapArray(function(r){return a.getItemModel(r)})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.isAnimationEnabled=function(){return n.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(hn);const Gmt=jmt;var Kmt={type:"graphRoam",event:"graphRoam",update:"none"};var Jmt=function n(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},Zmt=function(n){function t(e){var a=n.call(this,e)||this;return a.type="pointer",a}return pt(t,n),t.prototype.getDefaultShape=function(){return new Jmt},t.prototype.buildPath=function(e,a){var r=Math.cos,i=Math.sin,o=a.r,s=a.width,l=a.angle,c=a.x-r(l)*s*(s>=o/3?1:2),d=a.y-i(l)*s*(s>=o/3?1:2);l=a.angle-Math.PI/2,e.moveTo(c,d),e.lineTo(a.x+r(l)*s,a.y+i(l)*s),e.lineTo(a.x+r(a.angle)*o,a.y+i(a.angle)*o),e.lineTo(a.x-r(l)*s,a.y-i(l)*s),e.lineTo(c,d)},t}(fe);const Xmt=Zmt;function Kx(n,t){var e=null==n?"":n+"";return t&&(Lt(t)?e=t.replace("{value}",e):jt(t)&&(e=t(n))),e}var Qmt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r){this.group.removeAll();var i=e.get(["axisLine","lineStyle","color"]),o=function Ymt(n,t){var e=n.get("center"),a=t.getWidth(),r=t.getHeight(),i=Math.min(a,r);return{cx:Ot(e[0],t.getWidth()),cy:Ot(e[1],t.getHeight()),r:Ot(n.get("radius"),i/2)}}(e,r);this._renderMain(e,a,r,i,o),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,a,r,i,o){var s=this.group,l=e.get("clockwise"),c=-e.get("startAngle")/180*Math.PI,d=-e.get("endAngle")/180*Math.PI,u=e.getModel("axisLine"),f=u.get("roundCap")?gx:tr,v=u.get("show"),A=u.getModel("lineStyle"),b=A.get("width"),x=[c,d];sC(x,!l),c=x[0];for(var S=(d=x[1])-c,k=c,D=[],I=0;v&&I<i.length;I++){var R=new f({shape:{startAngle:k,endAngle:d=c+S*Math.min(Math.max(i[I][0],0),1),cx:o.cx,cy:o.cy,clockwise:l,r0:o.r-b,r:o.r},silent:!0});R.setStyle({fill:i[I][1]}),R.setStyle(A.getLineStyle(["color","width"])),D.push(R),k=d}D.reverse(),q(D,function(U){return s.add(U)});var N=function(U){if(U<=0)return i[0][1];var z;for(z=0;z<i.length;z++)if(i[z][0]>=U&&(0===z?0:i[z-1][0])<U)return i[z][1];return i[z-1][1]};this._renderTicks(e,a,r,N,o,c,d,l,b),this._renderTitleAndDetail(e,a,r,N,o),this._renderAnchor(e,o),this._renderPointer(e,a,r,N,o,c,d,l,b)},t.prototype._renderTicks=function(e,a,r,i,o,s,l,c,d){for(var Z,X,u=this.group,h=o.cx,f=o.cy,v=o.r,A=+e.get("min"),b=+e.get("max"),x=e.getModel("splitLine"),S=e.getModel("axisTick"),k=e.getModel("axisLabel"),D=e.get("splitNumber"),I=S.get("splitNumber"),M=Ot(x.get("length"),v),R=Ot(S.get("length"),v),N=s,U=(l-s)/D,z=U/I,B=x.getModel("lineStyle").getLineStyle(),K=S.getModel("lineStyle").getLineStyle(),W=x.get("distance"),tt=0;tt<=D;tt++){if(Z=Math.cos(N),X=Math.sin(N),x.get("show")){var ot=new ea({shape:{x1:Z*(v-(rt=W?W+d:d))+h,y1:X*(v-rt)+f,x2:Z*(v-M-rt)+h,y2:X*(v-M-rt)+f},style:B,silent:!0});"auto"===B.stroke&&ot.setStyle({stroke:i(tt/D)}),u.add(ot)}if(k.get("show")){var rt=k.get("distance")+W,st=Kx(wn(tt/D*(b-A)+A),k.get("formatter")),gt=i(tt/D),_t=Z*(v-M-rt)+h,Mt=X*(v-M-rt)+f,zt=k.get("rotate"),Bt=0;"radial"===zt?(Bt=-N+2*Math.PI)>Math.PI/2&&(Bt+=Math.PI):"tangential"===zt?Bt=-N-Math.PI/2:ke(zt)&&(Bt=zt*Math.PI/180),0===Bt?u.add(new Ce({style:tn(k,{text:st,x:_t,y:Mt,verticalAlign:X<-.8?"top":X>.8?"bottom":"middle",align:Z<-.4?"left":Z>.4?"right":"center"},{inheritColor:gt}),silent:!0})):u.add(new Ce({style:tn(k,{text:st,x:_t,y:Mt,verticalAlign:"middle",align:"center"},{inheritColor:gt}),silent:!0,originX:_t,originY:Mt,rotation:Bt}))}if(S.get("show")&&tt!==D){rt=(rt=S.get("distance"))?rt+d:d;for(var Qt=0;Qt<=I;Qt++){Z=Math.cos(N),X=Math.sin(N);var Pe=new ea({shape:{x1:Z*(v-rt)+h,y1:X*(v-rt)+f,x2:Z*(v-R-rt)+h,y2:X*(v-R-rt)+f},silent:!0,style:K});"auto"===K.stroke&&Pe.setStyle({stroke:i((tt+Qt/I)/D)}),u.add(Pe),N+=z}N-=z}else N+=U}},t.prototype._renderPointer=function(e,a,r,i,o,s,l,c,d){var u=this.group,h=this._data,f=this._progressEls,v=[],A=e.get(["pointer","show"]),b=e.getModel("progress"),x=b.get("show"),S=e.getData(),k=S.mapDimension("value"),D=+e.get("min"),I=+e.get("max"),M=[D,I],R=[s,l];function N(z,B){var _t,W=S.getItemModel(z).getModel("pointer"),Z=Ot(W.get("width"),o.r),X=Ot(W.get("length"),o.r),tt=e.get(["pointer","icon"]),rt=W.get("offsetCenter"),ot=Ot(rt[0],o.r),st=Ot(rt[1],o.r),gt=W.get("keepAspect");return(_t=tt?Ln(tt,ot-Z/2,st-X,Z,X,null,gt):new Xmt({shape:{angle:-Math.PI/2,width:Z,r:X,x:ot,y:st}})).rotation=-(B+Math.PI/2),_t.x=o.cx,_t.y=o.cy,_t}function U(z,B){var W=b.get("roundCap")?gx:tr,Z=b.get("overlap"),X=Z?b.get("width"):d/S.count(),tt=Z?o.r-X:o.r-(z+1)*X,rt=Z?o.r:o.r-z*X,ot=new W({shape:{startAngle:s,endAngle:B,cx:o.cx,cy:o.cy,clockwise:c,r0:tt,r:rt}});return Z&&(ot.z2=Fe(S.get(k,z),[D,I],[100,0],!0)),ot}(x||A)&&(S.diff(h).add(function(z){var B=S.get(k,z);if(A){var K=N(z,s);dn(K,{rotation:-((isNaN(+B)?R[0]:Fe(B,M,R,!0))+Math.PI/2)},e),u.add(K),S.setItemGraphicEl(z,K)}if(x){var W=U(z,s),Z=b.get("clip");dn(W,{shape:{endAngle:Fe(B,M,R,Z)}},e),u.add(W),dC(e.seriesIndex,S.dataType,z,W),v[z]=W}}).update(function(z,B){var K=S.get(k,z);if(A){var W=h.getItemGraphicEl(B),Z=W?W.rotation:s,X=N(z,Z);X.rotation=Z,Te(X,{rotation:-((isNaN(+K)?R[0]:Fe(K,M,R,!0))+Math.PI/2)},e),u.add(X),S.setItemGraphicEl(z,X)}if(x){var tt=f[B],ot=U(z,tt?tt.shape.endAngle:s),st=b.get("clip");Te(ot,{shape:{endAngle:Fe(K,M,R,st)}},e),u.add(ot),dC(e.seriesIndex,S.dataType,z,ot),v[z]=ot}}).execute(),S.each(function(z){var B=S.getItemModel(z),K=B.getModel("emphasis"),W=K.get("focus"),Z=K.get("blurScope"),X=K.get("disabled");if(A){var tt=S.getItemGraphicEl(z),rt=S.getItemVisual(z,"style"),ot=rt.fill;if(tt instanceof la){var st=tt.style;tt.useStyle(ft({image:st.image,x:st.x,y:st.y,width:st.width,height:st.height},rt))}else tt.useStyle(rt),"pointer"!==tt.type&&tt.setColor(ot);tt.setStyle(B.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===tt.style.fill&&tt.setStyle("fill",i(Fe(S.get(k,z),M,[0,1],!0))),tt.z2EmphasisLift=0,ca(tt,B),An(tt,W,Z,X)}if(x){var gt=v[z];gt.useStyle(S.getItemVisual(z,"style")),gt.setStyle(B.getModel(["progress","itemStyle"]).getItemStyle()),gt.z2EmphasisLift=0,ca(gt,B),An(gt,W,Z,X)}}),this._progressEls=v)},t.prototype._renderAnchor=function(e,a){var r=e.getModel("anchor");if(r.get("show")){var o=r.get("size"),s=r.get("icon"),l=r.get("offsetCenter"),c=r.get("keepAspect"),d=Ln(s,a.cx-o/2+Ot(l[0],a.r),a.cy-o/2+Ot(l[1],a.r),o,o,null,c);d.z2=r.get("showAbove")?1:0,d.setStyle(r.getModel("itemStyle").getItemStyle()),this.group.add(d)}},t.prototype._renderTitleAndDetail=function(e,a,r,i,o){var s=this,l=e.getData(),c=l.mapDimension("value"),d=+e.get("min"),u=+e.get("max"),h=new te,f=[],v=[],A=e.isAnimationEnabled(),b=e.get(["pointer","showAbove"]);l.diff(this._data).add(function(x){f[x]=new Ce({silent:!0}),v[x]=new Ce({silent:!0})}).update(function(x,S){f[x]=s._titleEls[S],v[x]=s._detailEls[S]}).execute(),l.each(function(x){var S=l.getItemModel(x),k=l.get(c,x),D=new te,I=i(Fe(k,[d,u],[0,1],!0)),M=S.getModel("title");if(M.get("show")){var R=M.get("offsetCenter"),N=o.cx+Ot(R[0],o.r),U=o.cy+Ot(R[1],o.r);(z=f[x]).attr({z2:b?0:2,style:tn(M,{x:N,y:U,text:l.getName(x),align:"center",verticalAlign:"middle"},{inheritColor:I})}),D.add(z)}var B=S.getModel("detail");if(B.get("show")){var K=B.get("offsetCenter"),W=o.cx+Ot(K[0],o.r),Z=o.cy+Ot(K[1],o.r),X=Ot(B.get("width"),o.r),tt=Ot(B.get("height"),o.r),rt=e.get(["progress","show"])?l.getItemVisual(x,"style").fill:I,z=v[x],ot=B.get("formatter");z.attr({z2:b?0:2,style:tn(B,{x:W,y:Z,text:Kx(k,ot),width:isNaN(X)?null:X,height:isNaN(tt)?null:tt,align:"center",verticalAlign:"middle"},{inheritColor:rt})}),B3(z,{normal:B},k,function(gt){return Kx(gt,ot)}),A&&j3(z,x,l,e,{getFormattedLabel:function(gt,_t,Mt,zt,Bt,Qt){return Kx(Qt?Qt.interpolatedValue:k,ot)}}),D.add(z)}h.add(D)}),this.group.add(h),this._titleEls=f,this._detailEls=v},t.type="gauge",t}(nn);const $mt=Qmt;var tft=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.visualStyleAccessPath="itemStyle",e}return pt(t,n),t.prototype.getInitialData=function(e,a){return _m(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t}(hn);const eft=tft;var aft=["itemStyle","opacity"],rft=function(n){function t(e,a){var r=n.call(this)||this,i=r,o=new nr,s=new Ce;return i.setTextContent(s),r.setTextGuideLine(o),r.updateData(e,a,!0),r}return pt(t,n),t.prototype.updateData=function(e,a,r){var i=this,o=e.hostModel,s=e.getItemModel(a),l=e.getItemLayout(a),c=s.getModel("emphasis"),d=s.get(aft);d=d??1,r||oi(i),i.useStyle(e.getItemVisual(a,"style")),i.style.lineJoin="round",r?(i.setShape({points:l.points}),i.style.opacity=0,dn(i,{style:{opacity:d}},o,a)):Te(i,{style:{opacity:d},shape:{points:l.points}},o,a),ca(i,s),this._updateLabel(e,a),An(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},t.prototype._updateLabel=function(e,a){var r=this,i=this.getTextGuideLine(),o=r.getTextContent(),s=e.hostModel,l=e.getItemModel(a),d=e.getItemLayout(a).label,u=e.getItemVisual(a,"style"),h=u.fill;da(o,Kn(l),{labelFetcher:e.hostModel,labelDataIndex:a,defaultOpacity:u.opacity,defaultText:e.getName(a)},{normal:{align:d.textAlign,verticalAlign:d.verticalAlign}}),r.setTextConfig({local:!0,inside:!!d.inside,insideStroke:h,outsideFill:h});var f=d.linePoints;i.setShape({points:f}),r.textGuideLineConfig={anchor:f?new ce(f[0][0],f[0][1]):null},Te(o,{style:{x:d.x,y:d.y}},s,a),o.attr({rotation:d.rotation,originX:d.x,originY:d.y,z2:10}),VD(r,zD(l),{stroke:h})},t}(er),ift=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.ignoreLabelLineUpdate=!0,e}return pt(t,n),t.prototype.render=function(e,a,r){var i=e.getData(),o=this._data,s=this.group;i.diff(o).add(function(l){var c=new rft(i,l);i.setItemGraphicEl(l,c),s.add(c)}).update(function(l,c){var d=o.getItemGraphicEl(c);d.updateData(i,l),s.add(d),i.setItemGraphicEl(l,d)}).remove(function(l){eA(o.getItemGraphicEl(l),e,l)}).execute(),this._data=i},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(nn);const oft=ift;var sft=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.init=function(e){n.prototype.init.apply(this,arguments),this.legendVisualProvider=new HA(Ut(this.getData,this),Ut(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.getInitialData=function(e,a){return _m(this,{coordDimensions:["value"],encodeDefaulter:se(UC,this)})},t.prototype._defaultLabelLine=function(e){ld(e,"labelLine",["show"]);var a=e.labelLine,r=e.emphasis.labelLine;a.show=a.show&&e.label.show,r.show=r.show&&e.emphasis.label.show},t.prototype.getDataParams=function(e){var a=this.getData(),r=n.prototype.getDataParams.call(this,e),i=a.mapDimension("value"),o=a.getSum(i);return r.percent=o?+(a.get(i,e)/o*100).toFixed(2):0,r.$vars.push("percent"),r},t.type="series.funnel",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(hn);const lft=sft;function pft(n,t){n.eachSeriesByType("funnel",function(e){var a=e.getData(),r=a.mapDimension("value"),i=e.get("sort"),o=function cft(n,t){return En(n.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t),s=e.get("orient"),l=o.width,c=o.height,d=function dft(n,t){for(var e=n.mapDimension("value"),a=n.mapArray(e,function(l){return l}),r=[],i="ascending"===t,o=0,s=n.count();o<s;o++)r[o]=o;return jt(t)?r.sort(t):"none"!==t&&r.sort(function(l,c){return i?a[l]-a[c]:a[c]-a[l]}),r}(a,i),u=o.x,h=o.y,f="horizontal"===s?[Ot(e.get("minSize"),c),Ot(e.get("maxSize"),c)]:[Ot(e.get("minSize"),l),Ot(e.get("maxSize"),l)],v=a.getDataExtent(r),A=e.get("min"),b=e.get("max");null==A&&(A=Math.min(v[0],0)),null==b&&(b=v[1]);var x=e.get("funnelAlign"),S=e.get("gap"),D=(("horizontal"===s?l:c)-S*(a.count()-1))/a.count(),I=function(Z,X){if("horizontal"===s){var rt=Fe(a.get(r,Z)||0,[A,b],f,!0),ot=void 0;switch(x){case"top":ot=h;break;case"center":ot=h+(c-rt)/2;break;case"bottom":ot=h+(c-rt)}return[[X,ot],[X,ot+rt]]}var _t,gt=Fe(a.get(r,Z)||0,[A,b],f,!0);switch(x){case"left":_t=u;break;case"center":_t=u+(l-gt)/2;break;case"right":_t=u+l-gt}return[[_t,X],[_t+gt,X]]};"ascending"===i&&(D=-D,S=-S,"horizontal"===s?u+=l:h+=c,d=d.reverse());for(var M=0;M<d.length;M++){var R=d[M],N=d[M+1],U=a.getItemModel(R);if("horizontal"===s){var z=U.get(["itemStyle","width"]);null==z?z=D:(z=Ot(z,l),"ascending"===i&&(z=-z));var B=I(R,u),K=I(N,u+z);u+=z+S,a.setItemLayout(R,{points:B.concat(K.slice().reverse())})}else{var W=U.get(["itemStyle","height"]);null==W?W=D:(W=Ot(W,c),"ascending"===i&&(W=-W));B=I(R,h),K=I(N,h+W);h+=W+S,a.setItemLayout(R,{points:B.concat(K.slice().reverse())})}}!function uft(n){var e=n.hostModel.get("orient");n.each(function(a){var u,h,f,v,r=n.getItemModel(a),o=r.getModel("label").get("position"),s=r.getModel("labelLine"),l=n.getItemLayout(a),c=l.points,d="inner"===o||"inside"===o||"center"===o||"insideLeft"===o||"insideRight"===o;if(d)"insideLeft"===o?(h=(c[0][0]+c[3][0])/2+5,f=(c[0][1]+c[3][1])/2,u="left"):"insideRight"===o?(h=(c[1][0]+c[2][0])/2-5,f=(c[1][1]+c[2][1])/2,u="right"):(h=(c[0][0]+c[1][0]+c[2][0]+c[3][0])/4,f=(c[0][1]+c[1][1]+c[2][1]+c[3][1])/4,u="center"),v=[[h,f],[h,f]];else{var A=void 0,b=void 0,x=void 0,S=void 0,k=s.get("length");"left"===o?(A=(c[3][0]+c[0][0])/2,b=(c[3][1]+c[0][1])/2,h=(x=A-k)-5,u="right"):"right"===o?(A=(c[1][0]+c[2][0])/2,b=(c[1][1]+c[2][1])/2,h=(x=A+k)+5,u="left"):"top"===o?(A=(c[3][0]+c[0][0])/2,f=(S=(b=(c[3][1]+c[0][1])/2)-k)-5,u="center"):"bottom"===o?(A=(c[1][0]+c[2][0])/2,f=(S=(b=(c[1][1]+c[2][1])/2)+k)+5,u="center"):"rightTop"===o?(A="horizontal"===e?c[3][0]:c[1][0],b="horizontal"===e?c[3][1]:c[1][1],"horizontal"===e?(f=(S=b-k)-5,u="center"):(h=(x=A+k)+5,u="top")):"rightBottom"===o?(A=c[2][0],b=c[2][1],"horizontal"===e?(f=(S=b+k)+5,u="center"):(h=(x=A+k)+5,u="bottom")):"leftTop"===o?(A=c[0][0],b="horizontal"===e?c[0][1]:c[1][1],"horizontal"===e?(f=(S=b-k)-5,u="center"):(h=(x=A-k)-5,u="right")):"leftBottom"===o?(A="horizontal"===e?c[1][0]:c[3][0],b="horizontal"===e?c[1][1]:c[2][1],"horizontal"===e?(f=(S=b+k)+5,u="center"):(h=(x=A-k)-5,u="right")):(A=(c[1][0]+c[2][0])/2,b=(c[1][1]+c[2][1])/2,"horizontal"===e?(f=(S=b+k)+5,u="center"):(h=(x=A+k)+5,u="left")),"horizontal"===e?h=x=A:f=S=b,v=[[A,b],[x,S]]}l.label={linePoints:v,x:h,y:f,verticalAlign:"middle",textAlign:u,inside:d}})}(a)})}var fft=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e._dataGroup=new te,e._initialized=!1,e}return pt(t,n),t.prototype.init=function(){this.group.add(this._dataGroup)},t.prototype.render=function(e,a,r,i){this._progressiveEls=null;var o=this._dataGroup,s=e.getData(),l=this._data,c=e.coordinateSystem,d=c.dimensions,u=gE(e);if(s.diff(l).add(function h(b){yP(fE(s,o,b,d,c),s,b,u)}).update(function f(b,x){var S=l.getItemGraphicEl(x),k=mE(s,b,d,c);s.setItemGraphicEl(b,S),Te(S,{shape:{points:k}},e,b),oi(S),yP(S,s,b,u)}).remove(function v(b){var x=l.getItemGraphicEl(b);o.remove(x)}).execute(),!this._initialized){this._initialized=!0;var A=function gft(n,t,e){var a=n.model,r=n.getRect(),i=new Se({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),o="horizontal"===a.get("layout")?"width":"height";return i.setShape(o,0),dn(i,{shape:{width:r.width,height:r.height}},t,e),i}(c,e,function(){setTimeout(function(){o.removeClipPath()})});o.setClipPath(A)}this._data=s},t.prototype.incrementalPrepareRender=function(e,a,r){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},t.prototype.incrementalRender=function(e,a,r){for(var i=a.getData(),o=a.coordinateSystem,s=o.dimensions,l=gE(a),c=this._progressiveEls=[],d=e.start;d<e.end;d++){var u=fE(i,this._dataGroup,d,s,o);u.incremental=!0,yP(u,i,d,l),c.push(u)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(nn);function mE(n,t,e,a){for(var r=[],i=0;i<e.length;i++){var o=e[i],s=n.get(n.mapDimension(o),t);vft(s,a.getAxis(o).type)||r.push(a.dataToPoint(s,o))}return r}function fE(n,t,e,a,r){var i=mE(n,e,a,r),o=new nr({shape:{points:i},z2:10});return t.add(o),n.setItemGraphicEl(e,o),o}function gE(n){var t=n.get("smooth",!0);return!0===t&&(t=.3),Sv(t=Yo(t))&&(t=0),{smooth:t}}function yP(n,t,e,a){n.useStyle(t.getItemVisual(e,"style")),n.style.fill=null,n.setShape("smooth",a.smooth);var r=t.getItemModel(e),i=r.getModel("emphasis");ca(n,r,"lineStyle"),An(n,i.get("focus"),i.get("blurScope"),i.get("disabled"))}function vft(n,t){return"category"===t?null==n:null==n||isNaN(n)}const Aft=fft;var yft=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.visualStyleAccessPath="lineStyle",e.visualDrawType="stroke",e}return pt(t,n),t.prototype.getInitialData=function(e,a){return os(null,this,{useEncodeDefaulter:Ut(bft,null,this)})},t.prototype.getRawIndicesByActiveState=function(e){var a=this.coordinateSystem,r=this.getData(),i=[];return a.eachActiveState(r,function(o,s){e===o&&i.push(r.getRawIndex(s))}),i},t.type="series.parallel",t.dependencies=["parallel"],t.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},t}(hn);function bft(n){var t=n.ecModel.getComponent("parallel",n.get("parallelIndex"));if(t){var e={};return q(t.dimensions,function(a){var r=function _ft(n){return+n.replace("dim","")}(a);e[a]=r}),e}}const xft=yft;var Sft=["lineStyle","opacity"],wft={seriesType:"parallel",reset:function(n,t){var e=n.coordinateSystem,a={normal:n.get(["lineStyle","opacity"]),active:n.get("activeOpacity"),inactive:n.get("inactiveOpacity")};return{progress:function(r,i){e.eachActiveState(i,function(o,s){var l=a[o];if("normal"===o&&i.hasItemOption){var c=i.getItemModel(s).get(Sft,!0);null!=c&&(l=c)}i.ensureUniqueItemVisual(s,"style").opacity=l},r.start,r.end)}}}};const kft=wft;function Cft(n){(function Dft(n){if(!n.parallel){var t=!1;q(n.series,function(e){e&&"parallel"===e.type&&(t=!0)}),t&&(n.parallel=[{}])}})(n),function Tft(n){q(Be(n.parallelAxis),function(e){if(Xt(e)){var a=e.parallelIndex||0,r=Be(n.parallel)[a];r&&r.parallelAxisDefault&&le(e,r.parallelAxisDefault,!1)}})}(n)}var Ift=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r){this._model=e,this._api=r,this._handlers||(this._handlers={},q(Mft,function(i,o){r.getZr().on(o,this._handlers[o]=Ut(i,this))},this)),um(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},t.prototype.dispose=function(e,a){yA(this,"_throttledDispatchExpand"),q(this._handlers,function(r,i){a.getZr().off(i,r)}),this._handlers=null},t.prototype._throttledDispatchExpand=function(e){this._dispatchExpand(e)},t.prototype._dispatchExpand=function(e){e&&this._api.dispatchAction(ft({type:"parallelAxisExpand"},e))},t.type="parallel",t}(xn),Mft={mousedown:function(n){bP(this,"click")&&(this._mouseDownPoint=[n.offsetX,n.offsetY])},mouseup:function(n){var t=this._mouseDownPoint;if(bP(this,"click")&&t){var e=[n.offsetX,n.offsetY];if(Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)>5)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([n.offsetX,n.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(n){if(!this._mouseDownPoint&&bP(this,"mousemove")){var t=this._model,e=t.coordinateSystem.getSlidedAxisExpandWindow([n.offsetX,n.offsetY]),a=e.behavior;"jump"===a&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===a?null:{axisExpandWindow:e.axisExpandWindow,animation:"jump"===a?null:{duration:0}})}}};function bP(n,t){var e=n._model;return e.get("axisExpandable")&&e.get("axisExpandTriggerOn")===t}const Oft=Ift;var Rft=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}
vendor: 4,459 bytes, line 1
1return pt(t,n),t.prototype.init=function(){n.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var a=this.option;e&&le(a,e,!0),this._initDimensions()},t.prototype.contains=function(e,a){var r=e.get("parallelIndex");return null!=r&&a.getComponent("parallel",r)===this},t.prototype.setAxisExpand=function(e){q(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(a){e.hasOwnProperty(a)&&(this.option[a]=e[a])},this)},t.prototype._initDimensions=function(){var e=this.dimensions=[],a=this.parallelAxisIndex=[];q(Ne(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(i){return(i.get("parallelIndex")||0)===this.componentIndex},this),function(i){e.push("dim"+i.get("dim")),a.push(i.componentIndex)})},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},t}(De);const Lft=Rft;var Nft=function(n){function t(e,a,r,i,o){var s=n.call(this,e,a,r)||this;return s.type=i||"value",s.axisIndex=o,s}return pt(t,n),t.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},t}(fi);const Uft=Nft;function iu(n,t,e,a,r,i){n=n||0;var o=e[1]-e[0];if(null!=r&&(r=Pm(r,[0,o])),null!=i&&(i=Math.max(i,r??0)),"all"===a){var s=Math.abs(t[1]-t[0]);s=Pm(s,[0,o]),r=i=Pm(s,[r,i]),a=0}t[0]=Pm(t[0],e),t[1]=Pm(t[1],e);var l=_P(t,a);t[a]+=n;var u,c=r||0,d=e.slice();return l.sign<0?d[0]+=c:d[1]-=c,t[a]=Pm(t[a],d),u=_P(t,a),null!=r&&(u.sign!==l.sign||u.span<r)&&(t[1-a]=t[a]+l.sign*r),u=_P(t,a),null!=i&&u.span>i&&(t[1-a]=t[a]+u.sign*i),t}function _P(n,t){var e=n[t]-n[1-t];return{span:Math.abs(e),sign:e>0?-1:e<0?1:t?-1:1}}function Pm(n,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,n))}var xP=q,vE=Math.min,AE=Math.max,yE=Math.floor,Fft=Math.ceil,bE=wn,Vft=Math.PI,zft=function(){function n(t,e,a){this.type="parallel",this._axesMap=Et(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,a)}return n.prototype._init=function(t,e,a){var r=t.dimensions,i=t.parallelAxisIndex;xP(r,function(o,s){var l=i[s],c=e.getComponent("parallelAxis",l),d=this._axesMap.set(o,new Uft(o,Px(c),[0,0],c.get("type"),l)),u="category"===d.type;d.onBand=u&&c.get("boundaryGap"),d.inverse=c.get("inverse"),c.axis=d,d.model=c,d.coordinateSystem=c.coordinateSystem=this},this)},n.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},n.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),a=e.axisBase,r=e.layoutBase,i=e.pixelDimIndex,o=t[1-i],s=t[i];return o>=a&&o<=a+e.axisLength&&s>=r&&s<=r+e.layoutLength},n.prototype.getModel=function(){return this._model},n.prototype._updateAxesFromSeries=function(t,e){e.eachSeries(function(a){if(t.contains(a,e)){var r=a.getData();xP(this.dimensions,function(i){var o=this._axesMap.get(i);o.scale.unionExtentFromData(r,r.mapDimension(i)),Sm(o.scale,o.model)},this)}},this)},n.prototype.resize=function(t,e){this._rect=En(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},n.prototype.getRect=function(){return this._rect},n.prototype._makeLayoutInfo=function(){var v,t=this._model,e=this._rect,a=["x","y"],r=["width","height"],i=t.get("layout"),o="horizontal"===i?0:1,s=e[r[o]],l=[0,s],c=this.dimensions.length,d=Wx(t.get("axisExpandWidth"),l),u=Wx(t.get("axisExpandCount")||0,[0,c]),h=t.get("axisExpandable")&&c>3&&c>u&&u>1&&d>0&&s>0,f=t.get("axisExpandWindow");f?(v=Wx(f[1]-f[0],l),f[1]=f[0]+v):(v=Wx(d*(u-1),l),(f=[d*(t.get("axisExpandCenter")||yE(c/2))-v/2])[1]=f[0]+v);var b=(s-v)/(c-u);b<3&&(b=0);var x=[yE(bE(f[0]/d,1))+1,Fft(bE(f[1]/d,1))-1],S=b/d*f[0];return{layout:i,pixelDimIndex:o,layoutBase:e[a[o]],layoutLength:s,axisBase:e[a[1-o]],axisLength:e[r[1-o]],axisExpandable:h,axisExpandWidth:d,axisCollapseWidth:b,axisExpandWindow:f,axisCount:c,winInnerIndices:x,axisExpandWindow0Pos:S}},n.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,a=this.dimensions,r=this._makeLayoutInfo(),i=r.layout;e.each(function(o){var s=[0,r.axisLength],l=o.inverse?1:0;o.setExtent(s[l],s[1-l])}),xP(a,function(o,s){var l=(r.axisExpandable?qft:Eft)(s,r),c={horizontal:{x:l.position,y:r.axisLe
vendor: 6,322 bytes, line 1
1ngth},vertical:{x:0,y:l.position}},d={horizontal:Vft/2,vertical:0},u=[c[i].x+t.x,c[i].y+t.y],h=d[i],f=[1,0,0,1,0,0];$c(f,f,h),Ui(f,f,u),this._axesLayout[o]={position:u,rotation:h,transform:f,axisNameAvailableWidth:l.axisNameAvailableWidth,axisLabelShow:l.axisLabelShow,nameTruncateMaxWidth:l.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},n.prototype.getAxis=function(t){return this._axesMap.get(t)},n.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},n.prototype.eachActiveState=function(t,e,a,r){null==a&&(a=0),null==r&&(r=t.count());var i=this._axesMap,o=this.dimensions,s=[],l=[];q(o,function(b){s.push(t.mapDimension(b)),l.push(i.get(b).model)});for(var c=this.hasAxisBrushed(),d=a;d<r;d++){var u=void 0;if(c){u="active";for(var h=t.getValues(s,d),f=0,v=o.length;f<v;f++){if("inactive"===l[f].getActiveState(h[f])){u="inactive";break}}}else u="normal";e(u,d)}},n.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,a=!1,r=0,i=t.length;r<i;r++)"normal"!==e.get(t[r]).model.getActiveState()&&(a=!0);return a},n.prototype.axisCoordToPoint=function(t,e){return di([t,0],this._axesLayout[e].transform)},n.prototype.getAxisLayout=function(t){return Yt(this._axesLayout[t])},n.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),a=e.pixelDimIndex,r=e.axisExpandWindow.slice(),i=r[1]-r[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:r};var l,s=t[a]-e.layoutBase-e.axisExpandWindow0Pos,c="slide",d=e.axisCollapseWidth,u=this._model.get("axisExpandSlideTriggerArea"),h=null!=u[0];if(d)h&&d&&s<i*u[0]?(c="jump",l=s-i*u[2]):h&&d&&s>i*(1-u[0])?(c="jump",l=s-i*(1-u[2])):(l=s-i*u[1])>=0&&(l=s-i*(1-u[1]))<=0&&(l=0),(l*=e.axisExpandWidth/d)?iu(l,r,o,"all"):c="none";else{var f=r[1]-r[0],v=o[1]*s/f;(r=[AE(0,v-f/2)])[1]=vE(o[1],r[0]+f),r[0]=r[1]-f}return{axisExpandWindow:r,behavior:c}},n}();function Wx(n,t){return vE(AE(n,t[0]),t[1])}function Eft(n,t){var e=t.layoutLength/(t.axisCount-1);return{position:e*n,axisNameAvailableWidth:e,axisLabelShow:!0}}function qft(n,t){var s,d,e=t.layoutLength,a=t.axisExpandWidth,r=t.axisCount,i=t.axisCollapseWidth,o=t.winInnerIndices,l=i,c=!1;return n<o[0]?(s=n*i,d=i):n<=o[1]?(s=t.axisExpandWindow0Pos+n*a-t.axisExpandWindow[0],l=a,c=!0):(s=e-(r-1-n)*i,d=i),{position:s,axisNameAvailableWidth:l,axisLabelShow:c,nameTruncateMaxWidth:d}}const Hft=zft;var jft={create:function Bft(n,t){var e=[];return n.eachComponent("parallel",function(a,r){var i=new Hft(a,n,t);i.name="parallel_"+r,i.resize(a,t),a.coordinateSystem=i,i.model=a,e.push(i)}),n.eachSeries(function(a){if("parallel"===a.get("coordinateSystem")){var r=a.getReferringComponents("parallel",On).models[0];a.coordinateSystem=r.coordinateSystem}}),e}};const Gft=jft;var _E=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.activeIntervals=[],e}return pt(t,n),t.prototype.getAreaSelectStyle=function(){return ud([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(e){var a=this.activeIntervals=Yt(e);if(a)for(var r=a.length-1;r>=0;r--)Ir(a[r])},t.prototype.getActiveState=function(e){var a=this.activeIntervals;if(!a.length)return"normal";if(null==e||isNaN(+e))return"inactive";if(1===a.length){var r=a[0];if(r[0]<=e&&e<=r[1])return"active"}else for(var i=0,o=a.length;i<o;i++)if(a[i][0]<=e&&e<=a[i][1])return"active";return"inactive"},t}(De);Mn(_E,BA);const xE=_E;var ou=!0,ly=Math.min,Im=Math.max,Kft=Math.pow,SE="globalPan",Xft={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},Yft={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},wE={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},Qft=0,$ft=function(n){function t(e){var a=n.call(this)||this;return a._track=[],a._covers=[],a._handlers={},a._zr=e,a.group=new te,a._uid="brushController_"+Qft++,q(ogt,function(r,i){this._handlers[i]=Ut(r,this)},a),a}return pt(t,n),t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var a=this._zr;this._enableGlobalPan||function npt(n,t,e){PT(n)[t]=e}(a,SE,this._uid),q(this._handlers,function(r,i){a.on(i,r)}),this._brushType=e.brushType,this._brushOption=le(Yt(wE),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;(function apt(n,t,e){var a=PT(n);a[t]===e&&(a[t]=null)})(e,SE,this._uid),q(this._handlers,function(a,r){e.off(r,a)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var a=this._panels={};q(e,function(r){a[r.panelId]=Yt(r)})}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var a=this.group;return this._zr.add(a),a.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=a.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=At(e,function(h){return le(Yt(wE),h,!0)});var r=this._covers,i=this._covers=[],o=this,s=this._creatingCover;return new is(r,e,function c(h,f){return l(h.__brushOption,f)},l).add(d).update(d).remove(function u(h){r[h]!==s&&o.group.remove(r[h])}).execute(),this;function l(h,f){return(null!=h.id?h.id:"\0-brush-index-"+f)+"-"+h.brushType}function d(h,f){var v=e[h];if(null!=f&&r[f]===s)i[h]=r[f];else{var A=i[h]=null!=f?(r[f].__brushOption=v,r[f]):CE(o,kE(o,v));SP(o,A)}}},t.prototype.unmount=function(){return this.enableBrush(!1),CP(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(Cr);function kE(n,t){var e=Jx[t.brushType].createCover(n,t);return e.__brushOption=t,TE(e,t),n.group.add(e),e}function CE(n,t){var e=wP(t);return e.endCreating&&(e.endCreating(n,t),TE(t,t.__brushOption)),t}function DE(n,t){var e=t.__brushOption;wP(t).updateCoverShape(n,t,e.range,e)}function TE(n,t){var e=t.z;null==e&&(e=1e4),n.traverse(function(a){a.z=e,a.z2=e})}function SP(n,t){wP(t).updateCommon(n,t),DE(n,t)}function wP(n){return Jx[n.__brushOption.brushType]}function kP(n,t,e){var a=n._panels;if(!a)return ou;var r,i=n._transform;
vendor: 6,497 bytes, line 1
1return q(a,function(o){o.isTargetByCursor(t,e,i)&&(r=o)}),r}function PE(n,t){var e=n._panels;if(!e)return ou;var a=t.__brushOption.panelId;return null!=a?e[a]:ou}function CP(n){var t=n._covers,e=t.length;return q(t,function(a){n.group.remove(a)},n),t.length=0,!!e}function su(n,t){var e=At(n._covers,function(a){var r=a.__brushOption,i=Yt(r.range);return{brushType:r.brushType,panelId:r.panelId,range:i}});n.trigger("brush",{areas:e,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function IE(n){var t=n.length-1;return t<0&&(t=0),[n[0],n[t]]}function ME(n,t,e,a){var r=new te;return r.add(new Se({name:"main",style:TP(e),silent:!0,draggable:!0,cursor:"move",drift:se(LE,n,t,r,["n","s","w","e"]),ondragend:se(su,t,{isEnd:!0})})),q(a,function(i){r.add(new Se({name:i.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:se(LE,n,t,r,i),ondragend:se(su,t,{isEnd:!0})}))}),r}function OE(n,t,e,a){var r=a.brushStyle.lineWidth||0,i=Im(r,6),o=e[0][0],s=e[1][0],l=o-r/2,c=s-r/2,d=e[0][1],u=e[1][1],h=d-i+r/2,f=u-i+r/2,v=d-o,A=u-s,b=v+r,x=A+r;ds(n,t,"main",o,s,v,A),a.transformable&&(ds(n,t,"w",l,c,i,x),ds(n,t,"e",h,c,i,x),ds(n,t,"n",l,c,b,i),ds(n,t,"s",l,f,b,i),ds(n,t,"nw",l,c,i,i),ds(n,t,"ne",h,c,i,i),ds(n,t,"sw",l,f,i,i),ds(n,t,"se",h,f,i,i))}function DP(n,t){var e=t.__brushOption,a=e.transformable,r=t.childAt(0);r.useStyle(TP(e)),r.attr({silent:!a,cursor:a?"move":"default"}),q([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(i){var o=t.childOfName(i.join("")),s=1===i.length?PP(n,i[0]):function ngt(n,t){var e=[PP(n,t[0]),PP(n,t[1])];return("e"===e[0]||"w"===e[0])&&e.reverse(),e.join("")}(n,i);o&&o.attr({silent:!a,invisible:!a,cursor:a?Yft[s]+"-resize":null})})}function ds(n,t,e,a,r,i,o){var s=t.childOfName(e);s&&s.setShape(function rgt(n){var t=ly(n[0][0],n[1][0]),e=ly(n[0][1],n[1][1]),a=Im(n[0][0],n[1][0]),r=Im(n[0][1],n[1][1]);return{x:t,y:e,width:a-t,height:r-e}}(IP(n,t,[[a,r],[a+i,r+o]])))}function TP(n){return Kt({strokeNoScale:!0},n.brushStyle)}function RE(n,t,e,a){var r=[ly(n,e),ly(t,a)],i=[Im(n,e),Im(t,a)];return[[r[0],i[0]],[r[1],i[1]]]}function PP(n,t){var r=B_({w:"left",e:"right",n:"top",s:"bottom"}[t],function egt(n){return Ld(n.group)}(n));return{left:"w",right:"e",top:"n",bottom:"s"}[r]}function LE(n,t,e,a,r,i){var o=e.__brushOption,s=n.toRectRange(o.range),l=NE(t,r,i);q(a,function(c){var d=Xft[c];s[d[0]][d[1]]+=l[d[0]]}),o.range=n.fromRectRange(RE(s[0][0],s[1][0],s[0][1],s[1][1])),SP(t,e),su(t,{isEnd:!1})}function agt(n,t,e,a){var r=t.__brushOption.range,i=NE(n,e,a);q(r,function(o){o[0]+=i[0],o[1]+=i[1]}),SP(n,t),su(n,{isEnd:!1})}function NE(n,t,e){var a=n.group,r=a.transformCoordToLocal(t,e),i=a.transformCoordToLocal(0,0);return[r[0]-i[0],r[1]-i[1]]}function IP(n,t,e){var a=PE(n,t);return a&&a!==ou?a.clipPath(e,n._transform):Yt(e)}function MP(n){var t=n.event;t.preventDefault&&t.preventDefault()}function OP(n,t,e){return n.childOfName("main").contain(t,e)}function UE(n,t,e,a){var s,r=n._creatingCover,i=n._creatingPanel,o=n._brushOption;if(n._track.push(e.slice()),function tgt(n){var t=n._track;if(!t.length)return!1;var e=t[t.length-1],a=t[0],r=e[0]-a[0],i=e[1]-a[1];return Kft(r*r+i*i,.5)>6}(n)||r){if(i&&!r){"single"===o.brushMode&&CP(n);var l=Yt(o);l.brushType=FE(l.brushType,i),l.panelId=i===ou?null:i.panelId,r=n._creatingCover=kE(n,l),n._covers.push(r)}if(r){var c=Jx[FE(n._brushType,i)];r.__brushOption.range=c.getCreatingRange(IP(n,r,n._track)),a&&(CE(n,r),c.updateCommon(n,r)),DE(n,r),s={isEnd:a}}}else a&&"single"===o.brushMode&&o.removeOnClick&&kP(n,t,e)&&CP(n)&&(s={isEnd:a,removeOnClick:!0});return s}function FE(n,t){return"auto"===n?t.defaultBrushType:n}var ogt={mousedown:function(n){if(this._dragging)VE(this,n);else if(!n.target||!n.target.draggable){MP(n);var t=this.group.transformCoordToLocal(n.offsetX,n.offsetY);this._creatingCover=null,(this._creatingPanel=kP(this,n,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(n){var t=n.offsetX,e=n.offsetY,a=this.group.transformCoordToLocal(t,e);if(function igt(n,t,e){if(n._brushType&&!function sgt(n,t,e){var a=n._zr;return t<0||t>a.getWidth()||e<0||e>a.getHeight()}(n,t.offsetX,t.offsetY)){var a=n._zr,r=n._covers,i=kP(n,t,e);if(!n._dragging)for(var o=0;o<r.length;o++){var s=r[o].__brushOption;if(i&&(i===ou||s.panelId===i.panelId)&&Jx[s.brushType].contain(r[o],e[0],e[1]))return}i&&a.setCursorStyle("crosshair")}}(this,n,a),this._dragging){MP(n);var r=UE(this,n,a,!1);r&&su(this,r)}},mouseup:function(n){VE(this,n)}};function VE(n,t){if(n._dragging){MP(t);var e=t.offsetX,a=t.offsetY,r=n.group.transformCoordToLocal(e,a),i=UE(n,t,r,!0);n._dragging=!1,n._track=[],n._creatingCover=null,i&&su(n,i)}}var Jx={lineX:zE(0),lineY:zE(1),rect:{createCover:function(n,t){function e(a){return a}return ME({toRectRange:e,fromRectRange:e},n,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(n){var t=IE(n);return RE(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(n,t,e,a){OE(n,t,e,a)},updateCommon:DP,contain:OP},polygon:{createCover:function(n,t){var e=new te;return e.add(new nr({name:"main",style:TP(t),silent:!0})),e},getCreatingRange:function(n){return n},endCreating:function(n,t){t.remove(t.childAt(0)),t.add(new er({name:"main",draggable:!0,drift:se(agt,n,t),ondragend:se(su,n,{isEnd:!0})}))},updateCoverShape:function(n,t,e,a){t.childAt(0).setShape({points:IP(n,t,e)})},updateCommon:DP,contain:OP}};function zE(n){return{createCover:function(t,e){return ME({toRectRange:function(a){var r=[a,[0,100]];return n&&r.reverse(),r},fromRectRange:function(a){return a[n]}},t,e,[[["w"],["e"]],[["n"],["s"]]][n])},getCreatingRange:function(t){var e=IE(t);return[ly(e[0][n],e[1][n]),Im(e[0][n],e[1][n])]},updateCoverShape:function(t,e,a,r){var i,o=PE(t,e);if(o!==ou&&o.getLinearBrushOtherExtent)i=o.getLinearBrushOtherExtent(n);else{var s=t._zr;i=[0,[s.getWidth(),s.getHeight()][1-n]]}var l=[a,i];n&&l.reverse(),OE(t,e,l,r)},updateCommon:DP,contain:OP}}const RP=$ft;function EE(n){return n=LP(n),function(t){return JN(t,n)}}function qE(n,t){return n=LP(n),function(e){var a=t??e,r=a?n.width:n.height,i=a?n.x:n.y;return[i,i+(r||0)]}}function HE(n,t,e){var a=LP(n);return function(r,i){return a.contain(i[0],i[1])&&!Rx(r,t,e)}}function LP(n){return de.create(n)}var lgt=["axisLine","axisTickLabel","axisName"],cgt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.init=function(e,a){n.prototype.init.a
vendor: 21,941 bytes, line 1
1pply(this,arguments),(this._brushController=new RP(a.getZr())).on("brush",Ut(this._onBrush,this))},t.prototype.render=function(e,a,r,i){if(!function dgt(n,t,e){return e&&"axisAreaSelect"===e.type&&t.findComponents({mainType:"parallelAxis",query:e})[0]===n}(e,a,i)){this.axisModel=e,this.api=r,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new te,this.group.add(this._axisGroup),e.get("show")){var s=function pgt(n,t){return t.getComponent("parallel",n.get("parallelIndex"))}(e,a),l=s.coordinateSystem,c=e.getAreaSelectStyle(),d=c.width,u=e.axis.dim,f=ft({strokeContainThreshold:d},l.getAxisLayout(u)),v=new ls(e,f);q(lgt,v.add,v),this._axisGroup.add(v.getGroup()),this._refreshBrushController(f,c,e,s,d,r),gA(o,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,a,r,i,o,s){var l=r.axis.getExtent(),c=l[1]-l[0],d=Math.min(30,.1*Math.abs(c)),u=de.create({x:l[0],y:-o/2,width:c,height:o});u.x-=d,u.width+=2*d,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:"pl",clipPath:EE(u),isTargetByCursor:HE(u,s,i),getLinearBrushOtherExtent:qE(u,0)}]).enableBrush({brushType:"lineX",brushStyle:a,removeOnClick:!0}).updateCovers(function ugt(n){var t=n.axis;return At(n.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}})}(r))},t.prototype._onBrush=function(e){var a=e.areas,r=this.axisModel,i=r.axis,o=At(a,function(s){return[i.coordToData(s.range[0],!0),i.coordToData(s.range[1],!0)]});(!r.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:r.id,intervals:o})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(xn);const hgt=cgt;var mgt={type:"axisAreaSelect",event:"axisAreaSelected"};var ggt={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function BE(n){n.registerComponentView(Oft),n.registerComponentModel(Lft),n.registerCoordinateSystem("parallel",Gft),n.registerPreprocessor(Cft),n.registerComponentModel(xE),n.registerComponentView(hgt),xm(n,"parallel",xE,ggt),function fgt(n){n.registerAction(mgt,function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(a){a.axis.model.setActiveIntervals(t.intervals)})}),n.registerAction("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(a){a.setAxisExpand(t)})})}(n)}var Agt=function n(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},ygt=function(n){function t(e){return n.call(this,e)||this}return pt(t,n),t.prototype.getDefaultShape=function(){return new Agt},t.prototype.buildPath=function(e,a){var r=a.extent;e.moveTo(a.x1,a.y1),e.bezierCurveTo(a.cpx1,a.cpy1,a.cpx2,a.cpy2,a.x2,a.y2),"vertical"===a.orient?(e.lineTo(a.x2+r,a.y2),e.bezierCurveTo(a.cpx2+r,a.cpy2,a.cpx1+r,a.cpy1,a.x1+r,a.y1)):(e.lineTo(a.x2,a.y2+r),e.bezierCurveTo(a.cpx2,a.cpy2+r,a.cpx1,a.cpy1+r,a.x1,a.y1+r)),e.closePath()},t.prototype.highlight=function(){es(this)},t.prototype.downplay=function(){ns(this)},t}(fe),bgt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e._focusAdjacencyDisabled=!1,e}return pt(t,n),t.prototype.render=function(e,a,r){var i=this,o=e.getGraph(),s=this.group,l=e.layoutInfo,c=l.width,d=l.height,u=e.getData(),h=e.getData("edge"),f=e.get("orient");this._model=e,s.removeAll(),s.x=l.x,s.y=l.y,o.eachEdge(function(v){var A=new ygt,b=ee(A);b.dataIndex=v.dataIndex,b.seriesIndex=e.seriesIndex,b.dataType="edge";var W,Z,X,tt,rt,ot,st,gt,x=v.getModel(),S=x.getModel("lineStyle"),k=S.get("curveness"),D=v.node1.getLayout(),I=v.node1.getModel(),M=I.get("localX"),R=I.get("localY"),N=v.node2.getLayout(),U=v.node2.getModel(),z=U.get("localX"),B=U.get("localY"),K=v.getLayout();A.shape.extent=Math.max(1,K.dy),A.shape.orient=f,"vertical"===f?(W=(null!=M?M*c:D.x)+K.sy,Z=(null!=R?R*d:D.y)+D.dy,X=(null!=z?z*c:N.x)+K.ty,rt=W,ot=Z*(1-k)+(tt=null!=B?B*d:N.y)*k,st=X,gt=Z*k+tt*(1-k)):(W=(null!=M?M*c:D.x)+D.dx,Z=(null!=R?R*d:D.y)+K.sy,rt=W*(1-k)+(X=null!=z?z*c:N.x)*k,ot=Z,st=W*k+X*(1-k),gt=tt=(null!=B?B*d:N.y)+K.ty),A.setShape({x1:W,y1:Z,x2:X,y2:tt,cpx1:rt,cpy1:ot,cpx2:st,cpy2:gt}),A.useStyle(S.getItemStyle()),jE(A.style,f,v);var _t=""+x.get("value"),Mt=Kn(x,"edgeLabel");da(A,Mt,{labelFetcher:{getFormattedLabel:function(Qt,Pe,mn,ue,Jt,me){return e.getFormattedLabel(Qt,Pe,"edge",ue,Ni(Jt,Mt.normal&&Mt.normal.get("formatter"),_t),me)}},labelDataIndex:v.dataIndex,defaultText:_t}),A.setTextConfig({position:"inside"});var zt=x.getModel("emphasis");ca(A,x,"lineStyle",function(Qt){var Pe=Qt.getItemStyle();return jE(Pe,f,v),Pe}),s.add(A),h.setItemGraphicEl(v.dataIndex,A);var Bt=zt.get("focus");An(A,"adjacency"===Bt?v.getAdjacentDataIndices():"trajectory"===Bt?v.getTrajectoryDataIndices():Bt,zt.get("blurScope"),zt.get("disabled"))}),o.eachNode(function(v){var A=v.getLayout(),b=v.getModel(),x=b.get("localX"),S=b.get("localY"),k=b.getModel("emphasis"),D=b.get(["itemStyle","borderRadius"])||0,I=new Se({shape:{x:null!=x?x*c:A.x,y:null!=S?S*d:A.y,width:A.dx,height:A.dy,r:D},style:b.getModel("itemStyle").getItemStyle(),z2:10});da(I,Kn(b),{labelFetcher:{getFormattedLabel:function(R,N){return e.getFormattedLabel(R,N,"node")}},labelDataIndex:v.dataIndex,defaultText:v.id}),I.disableLabelAnimation=!0,I.setStyle("fill",v.getVisual("color")),I.setStyle("decal",v.getVisual("style").decal),ca(I,b),s.add(I),u.setItemGraphicEl(v.dataIndex,I),ee(I).dataType="node";var M=k.get("focus");An(I,"adjacency"===M?v.getAdjacentDataIndices():"trajectory"===M?v.getTrajectoryDataIndices():M,k.get("blurScope"),k.get("disabled"))}),u.eachItemGraphicEl(function(v,A){u.getItemModel(A).get("draggable")&&(v.drift=function(x,S){i._focusAdjacencyDisabled=!0,this.shape.x+=x,this.shape.y+=S,this.dirty(),r.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:u.getRawIndex(A),localX:this.shape.x/c,localY:this.shape.y/d})},v.ondragend=function(){i._focusAdjacencyDisabled=!1},v.draggable=!0,v.cursor="move")}),!this._data&&e.isAnimationEnabled()&&s.setClipPath(function _gt(n,t,e){var a=new Se({shape:{x:n.x-10,y:n.y-10,width:0,height:n.height+20}});return dn(a,{shape:{width:n.width+20}},t,e),a}(s.getBoundingRect(),e,function(){s.removeClipPath()})),this._data=e.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(nn);function jE(n,t,e){switch(n.fill){case"source":n.fill=e.node1.getVisual("color"),n.decal=e.node1.getVisual("style").decal;break;case"target":n.fill=e.node2.getVisual("color"),n.decal=e.node2.getVisual("style").decal;break;case"gradient":var a=e.node1.getVisual("color"),r=e.node2.getVisual("color");Lt(a)&&Lt(r)&&(n.fill=new fA(0,0,+("horizontal"===t),+("vertical"===t),[{color:a,offset:0},{color:r,offset:1}]))}}const xgt=bgt;var Sgt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.getInitialData=function(e,a){var r=e.edges||e.links||[],i=e.data||e.nodes||[],o=e.levels||[];this.levelModels=[];for(var s=this.levelModels,l=0;l<o.length;l++)null!=o[l].depth&&o[l].depth>=0&&(s[o[l].depth]=new en(o[l],this,a));return hE(i,r,this,!0,function d(u,h){u.wrapMethod("getItemModel",function(f,v){var A=f.parentModel,b=A.getData().getItemLayout(v);if(b){var x=b.depth,S=A.levelModels[x];S&&(f.parentModel=S)}return f}),h.wrapMethod("getItemModel",function(f,v){var A=f.parentModel,x=A.getGraph().getEdgeByIndex(v).node1.getLayout();if(x){var S=x.depth,k=A.levelModels[S];k&&(f.parentModel=k)}return f})}).data},t.prototype.setNodePosition=function(e,a){var i=(this.option.data||this.option.nodes)[e];i.localX=a[0],i.localY=a[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,a,r){function i(f){return isNaN(f)||null==f}if("edge"===r){var o=this.getDataParams(e,r),s=o.data,l=o.value;return Wn("nameValue",{name:s.source+" -- "+s.target,value:l,noValue:i(l)})}var u=this.getGraph().getNodeByIndex(e).getLayout().value,h=this.getDataParams(e,r).data.name;return Wn("nameValue",{name:null!=h?h+"":null,value:u,noValue:i(u)})},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(e,a){var r=n.prototype.getDataParams.call(this,e,a);if(null==r.value&&"node"===a){var o=this.getGraph().getNodeByIndex(e).getLayout().value;r.value=o}return r},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t}(hn);const wgt=Sgt;function kgt(n,t){n.eachSeriesByType("sankey",function(e){var a=e.get("nodeWidth"),r=e.get("nodeGap"),i=function Cgt(n,t){return En(n.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t);e.layoutInfo=i;var o=i.width,s=i.height,l=e.getGraph(),c=l.nodes,d=l.edges;!function Tgt(n){q(n,function(t){var e=El(t.outEdges,Zx),a=El(t.inEdges,Zx),r=t.getValue()||0,i=Math.max(e,a,r);t.setLayout({value:i},!0)})}(c),function Dgt(n,t,e,a,r,i,o,s,l){(function Pgt(n,t,e,a,r,i,o){for(var s=[],l=[],c=[],d=[],u=0,h=0;h<t.length;h++)s[h]=1;for(h=0;h<n.length;h++)l[h]=n[h].inEdges.length,0===l[h]&&c.push(n[h]);for(var f=-1;c.length;){for(var v=0;v<c.length;v++){var A=c[v],b=A.hostGraph.data.getRawDataItem(A.dataIndex),x=null!=b.depth&&b.depth>=0;x&&b.depth>f&&(f=b.depth),A.setLayout({depth:x?b.depth:u},!0),"vertical"===i?A.setLayout({dy:e},!0):A.setLayout({dx:e},!0);for(var S=0;S<A.outEdges.length;S++){var k=A.outEdges[S];s[t.indexOf(k)]=0;var I=k.node2;0==--l[n.indexOf(I)]&&d.indexOf(I)<0&&d.push(I)}}++u,c=d,d=[]}for(h=0;h<s.length;h++)if(1===s[h])throw new Error("Sankey is a DAG, the original data has cycle!");var R=f>u-1?f:u-1;o&&"left"!==o&&function Igt(n,t,e,a){if("right"===t){for(var r=[],i=n,o=0;i.length;){for(var s=0;s<i.length;s++){var l=i[s];l.setLayout({skNodeHeight:o},!0);for(var c=0;c<l.inEdges.length;c++){var d=l.inEdges[c];r.indexOf(d.node1)<0&&r.push(d.node1)}}i=r,r=[],++o}q(n,function(u){GE(u)||u.setLayout({depth:Math.max(0,a-u.getLayout().skNodeHeight)},!0)})}else"justify"===t&&function Mgt(n,t){q(n,function(e){!GE(e)&&!e.outEdges.length&&e.setLayout({depth:t},!0)})}(n,a)}(n,o,0,R),function Ogt(n,t,e){q(n,function(a){var r=a.getLayout().depth*t;"vertical"===e?a.setLayout({y:r},!0):a.setLayout({x:r},!0)})}(n,"vertical"===i?(r-e)/R:(a-e)/R,i)})(n,t,e,r,i,s,l),function Rgt(n,t,e,a,r,i,o){var s=function Lgt(n,t){var e=[],a="vertical"===t?"y":"x",r=G2(n,function(i){return i.getLayout()[a]});return r.keys.sort(function(i,o){return i-o}),q(r.keys,function(i){e.push(r.buckets.get(i))}),e}(n,o);(function Ngt(n,t,e,a,r,i){var o=1/0;q(n,function(s){var l=s.length,c=0;q(s,function(u){c+=u.getLayout().value});var d="vertical"===i?(a-(l-1)*r)/c:(e-(l-1)*r)/c;d<o&&(o=d)}),q(n,function(s){q(s,function(l,c){var d=l.getLayout().value*o;"vertical"===i?(l.setLayout({x:c},!0),l.setLayout({dx:d},!0)):(l.setLayout({y:c},!0),l.setLayout({dy:d},!0))})}),q(t,function(s){var l=+s.getValue()*o;s.setLayout({dy:l},!0)})})(s,t,e,a,r,o),NP(s,r,e,a,o);for(var l=1;i>0;i--)Ugt(s,l*=.99,o),NP(s,r,e,a,o),qgt(s,l,o),NP(s,r,e,a,o)}(n,t,i,r,a,o,s),function Hgt(n,t){var e="vertical"===t?"x":"y";q(n,function(a){a.outEdges.sort(function(r,i){return r.node2.getLayout()[e]-i.node2.getLayout()[e]}),a.inEdges.sort(function(r,i){return r.node1.getLayout()[e]-i.node1.getLayout()[e]})}),q(n,function(a){var r=0,i=0;q(a.outEdges,function(o){o.setLayout({sy:r},!0),r+=o.getLayout().dy}),q(a.inEdges,function(o){o.setLayout({ty:i},!0),i+=o.getLayout().dy})})}(n,s)}(c,d,a,r,o,s,0!==Ne(c,function(A){return 0===A.getLayout().value}).length?0:e.get("layoutIterations"),e.get("orient"),e.get("nodeAlign"))})}function GE(n){var t=n.hostGraph.data.getRawDataItem(n.dataIndex);return null!=t.depth&&t.depth>=0}function NP(n,t,e,a,r){var i="vertical"===r?"x":"y";q(n,function(o){o.sort(function(A,b){return A.getLayout()[i]-b.getLayout()[i]});for(var s,l,c,d=0,u=o.length,h="vertical"===r?"dx":"dy",f=0;f<u;f++)(c=d-(l=o[f]).getLayout()[i])>0&&(s=l.getLayout()[i]+c,"vertical"===r?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),d=l.getLayout()[i]+l.getLayout()[h]+t;if((c=d-t-("vertical"===r?a:e))>0){s=l.getLayout()[i]-c,"vertical"===r?l.setLayout({x:s},!0):l.setLayout({y:s},!0),d=s;for(f=u-2;f>=0;--f)(c=(l=o[f]).getLayout()[i]+l.getLayout()[h]+t-d)>0&&(s=l.getLayout()[i]-c,"vertical"===r?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),d=l.getLayout()[i]}})}function Ugt(n,t,e){q(n.slice().reverse(),function(a){q(a,function(r){if(r.outEdges.length){var i=El(r.outEdges,Fgt,e)/El(r.outEdges,Zx);if(isNaN(i)){var o=r.outEdges.length;i=o?El(r.outEdges,Vgt,e)/o:0}if("vertical"===e){var s=r.getLayout().x+(i-zl(r,e))*t;r.setLayout({x:s},!0)}else{var l=r.getLayout().y+(i-zl(r,e))*t;r.setLayout({y:l},!0)}}})})}function Fgt(n,t){return zl(n.node2,t)*n.getValue()}function Vgt(n,t){return zl(n.node2,t)}function zgt(n,t){return zl(n.node1,t)*n.getValue()}function Egt(n,t){return zl(n.node1,t)}function zl(n,t){return"vertical"===t?n.getLayout().x+n.getLayout().dx/2:n.getLayout().y+n.getLayout().dy/2}function Zx(n){return n.getValue()}function El(n,t,e){for(var a=0,r=n.length,i=-1;++i<r;){var o=+t(n[i],e);isNaN(o)||(a+=o)}return a}function qgt(n,t,e){q(n,function(a){q(a,function(r){if(r.inEdges.length){var i=El(r.inEdges,zgt,e)/El(r.inEdges,Zx);if(isNaN(i)){var o=r.inEdges.length;i=o?El(r.inEdges,Egt,e)/o:0}if("vertical"===e){var s=r.getLayout().x+(i-zl(r,e))*t;r.setLayout({x:s},!0)}else{var l=r.getLayout().y+(i-zl(r,e))*t;r.setLayout({y:l},!0)}}})})}function Bgt(n){n.eachSeriesByType("sankey",function(t){var e=t.getGraph(),a=e.nodes,r=e.edges;if(a.length){var i=1/0,o=-1/0;q(a,function(s){var l=s.getLayout().value;l<i&&(i=l),l>o&&(o=l)}),q(a,function(s){var c=new pa({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:t.get("color")}).mapValueToVisual(s.getLayout().value),d=s.getModel().get(["itemStyle","color"]);null!=d?(s.setVisual("color",d),s.setVisual("style",{fill:d})):(s.setVisual("color",c),s.setVisual("style",{fill:c}))})}r.length&&q(r,function(s){var l=s.getModel().get("lineStyle");s.setVisual("style",l)})})}var KE=function(){function n(){}return n.prototype._hasEncodeRule=function(t){var e=this.getEncode();return e&&null!=e.get(t)},n.prototype.getInitialData=function(t,e){var a,l,r=e.getComponent("xAxis",this.get("xAxisIndex")),i=e.getComponent("yAxis",this.get("yAxisIndex")),o=r.get("type"),s=i.get("type");"category"===o?(t.layout="horizontal",a=r.getOrdinalMeta(),l=!this._hasEncodeRule("x")):"category"===s?(t.layout="vertical",a=i.getOrdinalMeta(),l=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var c=["x","y"],d="horizontal"===t.layout?0:1,u=this._baseAxisDim=c[d],h=c[1-d],f=[r,i],v=f[d].get("type"),A=f[1-d].get("type"),b=t.data;if(b&&l){var x=[];q(b,function(D,I){var M;vt(D)?(M=D.slice(),D.unshift(I)):vt(D.value)?((M=ft({},D)).value=M.value.slice(),D.value.unshift(I)):M=D,x.push(M)}),t.data=x}var S=this.defaultValueDimensions,k=[{name:u,type:px(v),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:px(A),dimsDef:S.slice()}];return _m(this,{coordDimensions:k,dimensionsCount:S.length+1,encodeDefaulter:se(g5,k,this)})},n.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},n}(),WE=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],e.visualDrawType="stroke",e}return pt(t,n),t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},t}(hn);Mn(WE,KE,!0);const Ggt=WE;var Kgt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r){var i=e.getData(),o=this.group,s=this._data;this._data||o.removeAll();var l="horizontal"===e.get("layout")?1:0;i.diff(s).add(function(c){if(i.hasValue(c)){var u=JE(i.getItemLayout(c),i,c,l,!0);i.setItemGraphicEl(c,u),o.add(u)}}).update(function(c,d){var u=s.getItemGraphicEl(d);if(i.hasValue(c)){var h=i.getItemLayout(c);u?(oi(u),ZE(h,u,i,c)):u=JE(h,i,c,l),o.add(u),i.setItemGraphicEl(c,u)}else o.remove(u)}).remove(function(c){var d=s.getItemGraphicEl(c);d&&o.remove(d)}).execute(),this._data=i},t.prototype.remove=function(e){var a=this.group,r=this._data;this._data=null,r&&r.eachItemGraphicEl(function(i){i&&a.remove(i)})},t.type="boxplot",t}(nn),Wgt=function n(){},Jgt=function(n){function t(e){var a=n.call(this,e)||this;return a.type="boxplotBoxPath",a}return pt(t,n),t.prototype.getDefaultShape=function(){return new Wgt},t.prototype.buildPath=function(e,a){var r=a.points,i=0;for(e.moveTo(r[i][0],r[i][1]),i++;i<4;i++)e.lineTo(r[i][0],r[i][1]);for(e.closePath();i<r.length;i++)e.moveTo(r[i][0],r[i][1]),i++,e.lineTo(r[i][0],r[i][1])},t}(fe);function JE(n,t,e,a,r){var i=n.ends,o=new Jgt({shape:{points:r?Zgt(i,a,n):i}});return ZE(n,o,t,e,r),o}function ZE(n,t,e,a,r){var i=e.hostModel;(0,lt[r?"initProps":"updateProps"])(t,{shape:{points:n.ends}},i,a),t.useStyle(e.getItemVisual(a,"style")),t.style.strokeNoScale=!0,t.z2=100;var s=e.getItemModel(a),l=s.getModel("emphasis");ca(t,s),An(t,l.get("focus"),l.get("blurScope"),l.get("disabled"))}function Zgt(n,t,e){return At(n,function(a){return(a=a.slice())[t]=e.initBaseline,a})}const Xgt=Kgt;var cy=q;function Ygt(n){var t=function Qgt(n){var t=[],e=[];return n.eachSeriesByType("boxplot",function(a){var r=a.getBaseAxis(),i=pe(e,r);i<0&&(i=e.length,e[i]=r,t[i]={axis:r,seriesModels:[]}),t[i].seriesModels.push(a)}),t}(n);cy(t,function(e){var a=e.seriesModels;!a.length||(function $gt(n){var s,t=n.axis,e=n.seriesModels,a=e.length,r=n.boxWidthList=[],i=n.boxOffsetList=[],o=[];if("category"===t.type)s=t.getBandWidth();else{var l=0;cy(e,function(v){l=Math.max(l,v.getData().count())});var c=t.getExtent();s=Math.abs(c[1]-c[0])/l}cy(e,function(v){var A=v.get("boxWidth");vt(A)||(A=[A,A]),o.push([Ot(A[0],s)||0,Ot(A[1],s)||0])});var d=.8*s-2,u=d/a*.3,h=(d-u*(a-1))/a,f=h/2-d/2;cy(e,function(v,A){i.push(f),f+=u+h,r.push(Math.min(Math.max(h,o[A][0]),o[A][1]))})}(e),cy(a,function(r,i){!function tvt(n,t,e){var a=n.coordinateSystem,r=n.getData(),i=e/2,o="horizontal"===n.get("layout")?0:1,s=1-o,l=["x","y"],c=r.mapDimension(l[o]),d=r.mapDimensionsAll(l[s]);if(null==c||d.length<5)return;for(var u=0;u<r.count();u++){var h=r.get(c,u),f=k(h,d[2],u),v=k(h,d[0],u),A=k(h,d[1],u),b=k(h,d[3],u),x=k(h,d[4],u),S=[];D(S,A,!1),D(S,b,!0),S.push(v,A,x,b),I(S,v),I(S,x),I(S,f),r.setItemLayout(u,{initBaseline:f[s],ends:S})}function k(M,R,N){var B,U=r.get(R,N),z=[];return z[o]=M,z[s]=U,isNaN(M)||isNaN(U)?B=[NaN,NaN]:(B=a.dataToPoint(z))[o]+=t,B}function D(M,R,N){var U=R.slice(),z=R.slice();U[o]+=i,z[o]-=i,N?M.push(U,z):M.push(z,U)}function I(M,R){var N=R.slice(),U=R.slice();N[o]-=i,U[o]+=i,M.push(N,U)}}(r,e.boxOffsetList[i],e.boxWidthList[i])}))})}var nvt={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==Sa){Ue("")}var r=function evt(n,t){for(var e=[],a=[],r=(t=t||{}).boundIQR,i="none"===r||0===r,o=0;o<n.length;o++){var s=Ir(n[o].slice()),l=H2(s,.25),c=H2(s,.5),d=H2(s,.75),u=s[0],h=s[s.length-1],f=(r??1.5)*(d-l),v=i?u:Math.max(u,l-f),A=i?h:Math.min(h,d+f),b=t.itemNameFormatter,x=jt(b)?b({value:o}):Lt(b)?b.replace("{value}",o+""):o+"";e.push([x,v,l,c,d,A]);for(var S=0;S<s.length;S++){var k=s[S];if(k<v||k>A){var D=[x,k];a.push(D)}}}return{boxData:e,outliers:a}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:r.boxData},{data:r.outliers}]}};var rvt=["itemStyle","borderColor"],ivt=["itemStyle","borderColor0"],ovt=["itemStyle","borderColorDoji"],svt=["itemStyle","color"],lvt=["itemStyle","color0"];function UP(n,t){return t.get(n>0?svt:lvt)}function FP(n,t){return t.get(0===n?ovt:n>0?rvt:ivt)}var cvt={seriesType:"candlestick",plan:sm(),performRawSeries:!0,reset:function(n,t){if(!t.isSeriesFiltered(n))return!n.pipelineContext.large&&{progress:function(a,r){for(var i;null!=(i=a.next());){var o=r.getItemModel(i),s=r.getItemLayout(i).sign,l=o.getItemStyle();l.fill=UP(s,o),l.stroke=FP(s,o)||l.fill,ft(r.ensureUniqueItemVisual(i,"style"),l)}}}}};const dvt=cvt;var uvt=["color","borderColor"],pvt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,a,r){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,a,r,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,a):this._incrementalRenderNormal(e,a)},t.prototype.eachRendered=function(e){Il(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var a=e.pipelineContext.large;(null==this._isLargeDraw||a!==this._isLargeDraw)&&(this._isLargeDraw=a,this._clear())},t.prototype._renderNormal=function(e){var a=e.getData(),r=this._data,i=this.group,o=a.getLayout("isSimpleBox"),s=e.get("
1clip",!0),l=e.coordinateSystem,c=l.getArea&&l.getArea();this._data||i.removeAll(),a.diff(r).add(function(d){if(a.hasValue(d)){var u=a.getItemLayout(d);if(s&&XE(c,u))return;var h=VP(u,d,!0);dn(h,{shape:{points:u.ends}},e,d),zP(h,a,d,o),i.add(h),a.setItemGraphicEl(d,h)}}).update(function(d,u){var h=r.getItemGraphicEl(u);if(a.hasValue(d)){var f=a.getItemLayout(d);s&&XE(c,f)?i.remove(h):(h?(Te(h,{shape:{points:f.ends}},e,d),oi(h)):h=VP(f,d),zP(h,a,d,o),i.add(h),a.setItemGraphicEl(d,h))}else i.remove(h)}).remove(function(d){var u=r.getItemGraphicEl(d);u&&i.remove(u)}).execute(),this._data=a},t.prototype._renderLarge=function(e){this._clear(),YE(e,this.group);var a=e.get("clip",!0)?zA(e.coordinateSystem,!1,e):null;a?this.group.setClipPath(a):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,a){for(var o,r=a.getData(),i=r.getLayout("isSimpleBox");null!=(o=e.next());){var l=VP(r.getItemLayout(o),o);zP(l,r,o,i),l.incremental=!0,this.group.add(l),this._progressiveEls.push(l)}},t.prototype._incrementalRenderLarge=function(e,a){YE(a,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(nn),hvt=function n(){},mvt=function(n){function t(e){var a=n.call(this,e)||this;return a.type="normalCandlestickBox",a}return pt(t,n),t.prototype.getDefaultShape=function(){return new hvt},t.prototype.buildPath=function(e,a){var r=a.points;this.__simpleBox?(e.moveTo(r[4][0],r[4][1]),e.lineTo(r[6][0],r[6][1])):(e.moveTo(r[0][0],r[0][1]),e.lineTo(r[1][0],r[1][1]),e.lineTo(r[2][0],r[2][1]),e.lineTo(r[3][0],r[3][1]),e.closePath(),e.moveTo(r[4][0],r[4][1]),e.lineTo(r[5][0],r[5][1]),e.moveTo(r[6][0],r[6][1]),e.lineTo(r[7][0],r[7][1]))},t}(fe);function VP(n,t,e){var a=n.ends;return new mvt({shape:{points:e?fvt(a,n):a},z2:100})}function XE(n,t){for(var e=!0,a=0;a<t.ends.length;a++)if(n.contain(t.ends[a][0],t.ends[a][1])){e=!1;break}return e}function zP(n,t,e,a){var r=t.getItemModel(e);n.useStyle(t.getItemVisual(e,"style")),n.style.strokeNoScale=!0,n.__simpleBox=a,ca(n,r);var i=t.getItemLayout(e).sign;q(n.states,function(s,l){var c=r.getModel(l),d=UP(i,c),u=FP(i,c)||d,h=s.style||(s.style={});d&&(h.fill=d),u&&(h.stroke=u)});var o=r.getModel("emphasis");An(n,o.get("focus"),o.get("blurScope"),o.get("disabled"))}function fvt(n,t){return At(n,function(e){return(e=e.slice())[1]=t.initBaseline,e})}var gvt=function n(){},EP=function(n){function t(e){var a=n.call(this,e)||this;return a.type="largeCandlestickBox",a}return pt(t,n),t.prototype.getDefaultShape=function(){return new gvt},t.prototype.buildPath=function(e,a){for(var r=a.points,i=0;i<r.length;)if(this.__sign===r[i++]){var o=r[i++];e.moveTo(o,r[i++]),e.lineTo(o,r[i++])}else i+=3},t}(fe);function YE(n,t,e,a){var r=n.getData(),i=r.getLayout("largePoints"),o=new EP({shape:{points:i},__sign:1,ignoreCoarsePointer:!0});t.add(o);var s=new EP({shape:{points:i},__sign:-1,ignoreCoarsePointer:!0});t.add(s);var l=new EP({shape:{points:i},__sign:0,ignoreCoarsePointer:!0});t.add(l),qP(1,o,n,r),qP(-1,s,n,r),qP(0,l,n,r),a&&(o.incremental=!0,s.incremental=!0),e&&e.push(o,s)}function qP(n,t,e,a){var r=FP(n,e)||UP(n,e),i=e.getModel("itemStyle").getItemStyle(uvt);t.useStyle(i),t.style.fill=null,t.style.stroke=r}const vvt=pvt;var QE=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],e}return pt(t,n),t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(e,a,r){var i=a.getItemLayout(e);return i&&r.rect(i.brushRect)},t.type="series.candlestick",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(hn);Mn(QE,KE,!0);const Avt=QE;function yvt(n){!n||!vt(n.series)||q(n.series,function(t){Xt(t)&&"k"===t.type&&(t.type="candlestick")})}var bvt={seriesType:"candlestick",plan:sm(),reset:function(n){var t=n.coordinateSystem,e=n.getData(),a=function _vt(n,t){var a,e=n.getBaseAxis(),r="category"===e.type?e.getBandWidth():(a=e.getExtent(),Math.abs(a[1]-a[0])/t.count()),i=Ot(ie(n.get("barMaxWidth"),r),r),o=Ot(ie(n.get("barMinWidth"),
vendor: 15,770 bytes, line 1
11),r),s=n.get("barWidth");return null!=s?Ot(s,r):Math.max(Math.min(r/2,i),o)}(n,e),o=["x","y"],s=e.getDimensionIndex(e.mapDimension(o[0])),l=At(e.mapDimensionsAll(o[1]),e.getDimensionIndex,e),c=l[0],d=l[1],u=l[2],h=l[3];if(e.setLayout({candleWidth:a,isSimpleBox:a<=1.3}),!(s<0||l.length<4))return{progress:n.pipelineContext.large?function v(A,b){for(var k,M,x=to(4*A.count),S=0,D=[],I=[],R=b.getStore(),N=!!n.get(["itemStyle","borderColorDoji"]);null!=(M=A.next());){var U=R.get(s,M),z=R.get(c,M),B=R.get(d,M),K=R.get(u,M),W=R.get(h,M);isNaN(U)||isNaN(K)||isNaN(W)?(x[S++]=NaN,S+=3):(x[S++]=$E(R,M,z,B,d,N),D[0]=U,D[1]=K,k=t.dataToPoint(D,null,I),x[S++]=k?k[0]:NaN,x[S++]=k?k[1]:NaN,D[1]=W,k=t.dataToPoint(D,null,I),x[S++]=k?k[1]:NaN)}b.setLayout("largePoints",x)}:function f(A,b){for(var x,S=b.getStore();null!=(x=A.next());){var k=S.get(s,x),D=S.get(c,x),I=S.get(d,x),M=S.get(u,x),R=S.get(h,x),N=Math.min(D,I),U=Math.max(D,I),z=rt(N,k),B=rt(U,k),K=rt(M,k),W=rt(R,k),Z=[];ot(Z,B,0),ot(Z,z,1),Z.push(gt(W),gt(B),gt(K),gt(z));var tt=!!b.getItemModel(x).get(["itemStyle","borderColorDoji"]);b.setItemLayout(x,{sign:$E(S,x,D,I,d,tt),initBaseline:D>I?B[1]:z[1],ends:Z,brushRect:(_t=M,Mt=R,zt=k,Bt=void 0,Qt=void 0,Bt=rt(_t,zt),Qt=rt(Mt,zt),Bt[0]-=a/2,Qt[0]-=a/2,{x:Bt[0],y:Bt[1],width:a,height:Qt[1]-Bt[1]})})}var _t,Mt,zt,Bt,Qt;function rt(_t,Mt){var zt=[];return zt[0]=Mt,zt[1]=_t,isNaN(Mt)||isNaN(_t)?[NaN,NaN]:t.dataToPoint(zt)}function ot(_t,Mt,zt){var Bt=Mt.slice(),Qt=Mt.slice();Bt[0]=H_(Bt[0]+a/2,1,!1),Qt[0]=H_(Qt[0]-a/2,1,!0),zt?_t.push(Bt,Qt):_t.push(Qt,Bt)}function gt(_t){return _t[0]=H_(_t[0],1),_t}}}}};function $E(n,t,e,a,r,i){return e>a?-1:e<a?1:i?0:t>0?n.get(r,t-1)<=a?1:-1:1}const xvt=bvt;function t4(n,t){var e=t.rippleEffectColor||t.color;n.eachChild(function(a){a.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?e:null,fill:"fill"===t.brushType?e:null}})})}var wvt=function(n){function t(e,a){var r=n.call(this)||this,i=new FA(e,a),o=new te;return r.add(i),r.add(o),r.updateData(e,a),r}return pt(t,n),t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var a=e.symbolType,r=e.color,i=e.rippleNumber,o=this.childAt(1),s=0;s<i;s++){var l=Ln(a,-1,-1,2,2,r);l.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var c=-s/i*e.period+e.effectOffset;l.animate("",!0).when(e.period,{scaleX:e.rippleScale/2,scaleY:e.rippleScale/2}).delay(c).start(),l.animateStyle(!0).when(e.period,{opacity:0}).delay(c).start(),o.add(l)}t4(o,e)},t.prototype.updateEffectAnimation=function(e){for(var a=this._effectCfg,r=this.childAt(1),i=["symbolType","period","rippleScale","rippleNumber"],o=0;o<i.length;o++){var s=i[o];if(a[s]!==e[s])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}t4(r,e)},t.prototype.highlight=function(){es(this)},t.prototype.downplay=function(){ns(this)},t.prototype.getSymbolType=function(){var e=this.childAt(0);return e&&e.getSymbolType()},t.prototype.updateData=function(e,a){var r=this,i=e.hostModel;this.childAt(0).updateData(e,a);var o=this.childAt(1),s=e.getItemModel(a),l=e.getItemVisual(a,"symbol"),c=hm(e.getItemVisual(a,"symbolSize")),d=e.getItemVisual(a,"style"),u=d&&d.fill,h=s.getModel("emphasis");o.setScale(c),o.traverse(function(b){b.setStyle("fill",u)});var f=Fd(e.getItemVisual(a,"symbolOffset"),c);f&&(o.x=f[0],o.y=f[1]);var v=e.getItemVisual(a,"symbolRotate");o.rotation=(v||0)*Math.PI/180||0;var A={};A.showEffectOn=i.get("showEffectOn"),A.rippleScale=s.get(["rippleEffect","scale"]),A.brushType=s.get(["rippleEffect","brushType"]),A.period=1e3*s.get(["rippleEffect","period"]),A.effectOffset=a/e.count(),A.z=i.getShallow("z")||0,A.zlevel=i.getShallow("zlevel")||0,A.symbolType=l,A.color=u,A.rippleEffectColor=s.get(["rippleEffect","color"]),A.rippleNumber=s.get(["rippleEffect","number"]),"render"===A.showEffectOn?(this._effectCfg?this.updateEffectAnimation(A):this.startEffectAnimation(A),this._effectCfg=A):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(b){"emphasis"===b?"render"!==A.showEffectOn&&r.startEffectAnimation(A):"normal"===b&&"render"!==A.showEffectOn&&r.stopEffectAnimation()}),this._effectCfg=A,An(this,h.get("focus"),h.get("blurScope"),h.get("disabled"))},t.prototype.fadeOut=function(e){e&&e()},t}(te);const kvt=wvt;var Cvt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.init=function(){this._symbolDraw=new VA(kvt)},t.prototype.render=function(e,a,r){var i=e.getData(),o=this._symbolDraw;o.updateData(i,{clipShape:this._getClipShape(e)}),this.group.add(o.group)},t.prototype._getClipShape=function(e){var a=e.coordinateSystem,r=a&&a.getArea&&a.getArea();return e.get("clip",!0)?r:null},t.prototype.updateTransform=function(e,a,r){var i=e.getData();this.group.dirty();var o=EA("").reset(e,a,r);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout()},t.prototype._updateGroupTransform=function(e){var a=e.coordinateSystem;a&&a.getRoamTransform&&(this.group.transform=function Gtt(n){var t=[1,0,0,1,0,0];return e2(t,n),t}(a.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(e,a){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(nn);const Dvt=Cvt;var Tvt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return pt(t,n),t.prototype.getInitialData=function(e,a){return os(null,this,{useEncodeDefaulter:!0})},t.prototype.brushSelector=function(e,a,r){return r.point(a.getItemLayout(e))},t.type="series.effectScatter",t.dependencies=["grid","polar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},t}(hn);const Pvt=Tvt;var Mvt=function(n){function t(e,a,r){var i=n.call(this)||this;return i.add(i.createLine(e,a,r)),i._updateEffectSymbol(e,a),i}return pt(t,n),t.prototype.createLine=function(e,a,r){return new uP(e,a,r)},t.prototype._updateEffectSymbol=function(e,a){var i=e.getItemModel(a).getModel("effect"),o=i.get("symbolSize"),s=i.get("symbol");vt(o)||(o=[o,o]);var l=e.getItemVisual(a,"style"),c=i.get("color")||l&&l.stroke,d=this.childAt(1);this._symbolType!==s&&(this.remove(d),(d=Ln(s,-.5,-.5,1,1,c)).z2=100,d.culling=!0,this.add(d)),d&&(d.setStyle("shadowColor",c),d.setStyle(i.getItemStyle(["color"])),d.scaleX=o[0],d.scaleY=o[1],d.setColor(c),this._symbolType=s,this._symbolScale=o,this._updateEffectAnimation(e,i,a))},t.prototype._updateEffectAnimation=function(e,a,r){var i=this.childAt(1);if(i){var o=e.getItemLayout(r),s=1e3*a.get("period"),l=a.get("loop"),c=a.get("roundTrip"),d=a.get("constantSpeed"),u=$n(a.get("delay"),function(f){return f/e.count()*s/3});if(i.ignore=!0,this._updateAnimationPoints(i,o),d>0&&(s=this._getLineLength(i)/d*1e3),s!==this._period||l!==this._loop||c!==this._roundTrip){i.stopAnimation();var h=void 0;h=jt(u)?u(r):u,i.__t>0&&(h=-s*i.__t),this._animateSymbol(i,s,h,l,c)}this._period=s,this._loop=l,this._roundTrip=c}},t.prototype._animateSymbol=function(e,a,r,i,o){if(a>0){e.__t=0;var s=this,l=e.animate("",i).when(o?2*a:a,{__t:o?2:1}).delay(r).during(function(){s._updateSymbolPosition(e)});i||l.done(function(){s.remove(e)}),l.start()}},t.prototype._getLineLength=function(e){return ul(e.__p1,e.__cp1)+ul(e.__cp1,e.__p2)},t.prototype._updateAnimationPoints=function(e,a){e.__p1=a[0],e.__p2=a[1],e.__cp1=a[2]||[(a[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2]},t.prototype.updateData=function(e,a,r){this.childAt(0).updateData(e,a,r),this._updateEffectSymbol(e,a)},t.prototype._updateSymbolPosition=function(e){var a=e.__p1,r=e.__p2,i=e.__cp1,o=e.__t<1?e.__t:2-e.__t,s=[e.x,e.y],l=s.slice(),c=ta,d=l2;s[0]=c(a[0],i[0],r[0],o),s[1]=c(a[1],i[1],r[1],o);var u=e.__t<1?d(a[0],i[0],r[0],o):d(r[0],i[0],a[0],1-o),h=e.__t<1?d(a[1],i[1],r[1],o):d(r[1],i[1],a[1],1-o);e.rotation=-Math.atan2(h,u)-Math.PI/2,("line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)&&(void 0!==e.__lastT&&e.__lastT<e.__t?(e.scaleY=1.05*ul(l,s),1===o&&(s[0]=l[0]+(s[0]-l[0])/2,s[1]=l[1]+(s[1]-l[1])/2)):1===e.__lastT?e.scaleY=2*ul(a,s):e.scaleY=this._symbolScale[1]),e.__lastT=e.__t,e.ignore=!1,e.x=s[0],e.y=s[1]},t.prototype.updateLayout=function(e,a){this.childAt(0).updateLayout(e,a);var r=e.getItemModel(a).getModel("effect");this._updateEffectAnimation(e,r,a)},t}(te);const e4=Mvt;var Ovt=function(n){function t(e,a,r){var i=n.call(this)||this;return i._createPolyline(e,a,r),i}return pt(t,n),t.prototype._createPolyline=function(e,a,r){var i=e.getItemLayout(a),o=new nr({shape:{points:i}});this.add(o),this._updateCommonStl(e,a,r)},t.prototype.updateData=function(e,a,r){var i=e.hostModel;Te(this.childAt(0),{shape:{points:e.getItemLayout(a)}},i,a),this._updateCommonStl(e,a,r)},t.prototype._updateCommonStl=function(e,a,r){var i=this.childAt(0),o=e.getItemModel(a),s=r&&r.emphasisLineStyle,l=r&&r.focus,c=r&&r.blurScope,d=r&&r.emphasisDisabled;if(!r||e.hasItemOption){var u=o.getModel("emphasis");s=u.getModel("lineStyle").getLineStyle(),d=u.get("disabled"),l=u.get("focus"),c=u.get("blurScope")}i.useStyle(e.getItemVisual(a,"style")),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=s,An(this,l,c,d)},t.prototype.updateLayout=function(e,a){this.childAt(0).setShape("points",e.getItemLayout(a))},t}(te);const n4=Ovt;var Rvt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return pt(t,n),t.prototype.createLine=function(e,a,r){return new n4(e,a,r)},t.prototype._updateAnimationPoints=function(e,a){this._points=a;for(var r=[0],i=0,o=1;o<a.length;o++){var s=a[o-1],l=a[o];i+=ul(s,l),r.push(i)}if(0!==i){for(o=0;o<r.length;o++)r[o]/=i;this._offsets=r,this._length=i}else this._length=0},t.prototype._getLineLength=function(){return this._length},t.prototype._updateSymbolPosition=function(e){var a=e.__t<1?e.__t:2-e.__t,r=this._points,i=this._offsets,o=r.length;if(i){var l,s=this._lastFrame;if(a<this._lastFramePercent){for(l=Math.min(s+1,o-1);l>=0&&!(i[l]<=a);l--);l=Math.min(l,o-2)}else{for(l=s;l<o&&!(i[l]>a);l++);l=Math.min(l-1,o-2)}var d=(a-i[l])/(i[l+1]-i[l]),u=r[l],h=r[l+1];e.x=u[0]*(1-d)+d*h[0],e.y=u[1]*(1-d)+d*h[1];var f=e.__t<1?h[0]-u[0]:u[0]-h[0],v=e.__t<1?h[1]-u[1]:u[1]-h[1];e.rotation=-Math.atan2(v,f)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=a,e.ignore=!1}},t}(e4);const Lvt=Rvt;var Nvt=function n(){this.polyline=!1,this.curveness=0,this.segs=[]},Uvt=function(n){function t(e){var a=n.call(this,e)||this;return a._off=0,a.hoverDataIdx=-1,a}return pt(t,n),t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Nvt},t.prototype.buildPath=function(e,a){var o,r=a.segs,i=a.curveness;if(a.polyline)for(o=this._off;o<r.length;){var s=r[o++];if(s>0){e.moveTo(r[o++],r[o++]);for(var l=1;l<s;l++)e.lineTo(r[o++],r[o++])}}else for(o=this._off;o<r.length;){var c=r[o++],d=r[o++],u=r[o++],h=r[o++];if(e.moveTo(c,d),i>0){var f=(c+u)/2-(d-h)*i,v=(d+h)/2-(u-c)*i;e.quadraticCurveTo(f,v,u,h)}else e.lineTo(u,h)}this.incremental&&(this._off=o,this.notClear=!0)},t.prototype.findDataIndex=function(e,a){var r=this.shape,i=r.segs,o=r.curveness,s=this.style.lineWidth;if(r.polyline)for(var l=0,c=0;c<i.length;){var d=i[c++];if(d>0)for(var u=i[c++],h=i[c++],f=1;f<d;f++){if(_l(u,h,v=i[c++],A=i[c++],s,e,a))return l}l++}else for(l=0,c=0;c<i.length;){u=i[c++],h=i[c++];var v=i[c++],A=i[c++];if(o>0){if($L(u,h,(u+v)/2-(h-A)*o,(h+A)/2-(v-u)*o,v,A,s,e,a))return l}else if(_l(u,h,v,A,s,e,a))return l;l++}return-1},t.prototype.contain=function(e,a){var r=this.transformCoordToLocal(e,a),i=this.getBoundingRect();return e=r[0],a=r[1],i.contain(e,a)?(this.hoverDataIdx=this.findDataIndex(e,a))>=0:(this.hoverDataIdx=-1,!1)},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var r=this.shape.segs,i=1/0,o=1/0,s=-1/0,l=-1/0,c=0;c<r.length;){var d=r[c++],u=r[c++];i=Math.min(d,i),s=Math.max(d,s),o=Math.min(u,o),l=Math.max(u,l)}e=this._rect=new de(i,o,s,l)}return e},t}(fe),Fvt=function(){function n(){this.group=new te}return n.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},n.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},n.prototype.incrementalUpdate=function(t,e){var a=this._newAdded[0],r=e.getLayout("linesPoints"),i=a&&a.shape.segs;if(i&&i.length<2e4){var o=i.length,s=new Float32Array(o+r.length);s.set(i),s.set(r,o),a.setShape({segs:s})}else{this._newAdded=[];var l=this._create();l.incremental=!0,l.setShape({segs:r}),this._setCommon(l,e),l.__startIndex=t.start}},n.prototype.remove=function(){this._clear()},n.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},n.prototype._create=function(){var t=new Uvt({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},n.prototype._setCommon=function(t,e,a){var r=e.hostModel;t.setShape({polyline:r.get("polyline"),curveness:r.get(["lineStyle","curveness"])}),t.useStyle(r.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var i=e.getVisual("style");i&&i.stroke&&t.setStyle("stroke",i.stroke),t.setStyle("fill",null);var o=ee(t);o.seriesIndex=r.seriesIndex,t.on("mousemove",function(s){o.dataIndex=null;var l=t.hoverDataIdx;l>0&&(o.dataIndex=l+t.__startIndex)})},n.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},n}();const Vvt=Fvt;var zvt={seriesType:"lines",plan:sm(),reset:function(n){var t=n.coordinateSystem;if(t){var e=n.get("polyline"),a=n.pipelineContext.large;return{progress:function(r,i){var o=[];if(a){var s=void 0,l=r.end-r.start;if(e){for(var c=0,d=r.start;d<r.end;d++)c+=n.getLineCoordsCount(d);s=new Float32Array(l+2*c)}else s=new Float32Array(4*l);var u=0,h=[];for(d=r.start;d<r.end;d++){var f=n.getLineCoords(d,o);e&&(s[u++]=f);for(var v=0;v<f;v++)h=t.dataToPoint(o[v],!1,h),s[u++]=h[0],s[u++]=h[1]}i.setLayout("linesPoints",s)}else for(d=r.start;d<r.end;d++){var A=i.getItemModel(d),b=(f=n.getLineCoords(d,o),[]);if(e)for(var x=0;x<f;x++)b.push(t.dataToPoint(o[x]));else{b[0]=t.dataToPoint(o[0]),b[1]=t.dataToPoint(o[1]);var S=A.get(["lineStyle","curveness"]);+S&&(b[2]=[(b[0][0]+b[1][0])/2-(b[0][1]-b[1][1])*S,(b[0][1]+b[1][1])/2-(b[1][0]-b[0][0])*S])}i.setItemLayout(d,b)}}}}}};const a4=zvt;var Evt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r){var i=e.getData(),o=this._updateLineDraw(i,e),s=e.get("zlevel"),l=e.get(["effect","trailLength"]),c=r.getZr(),d="svg"===c.painter.getType();d||c.painter.getLayer(s).clear(!0),null!=this._lastZlevel&&!d&&c.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&l>0&&(d||c.configLayer(s,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(l/10+.9,1),0)})),o.updateData(i);var u=e.get("clip",!0)&&zA(e.coordinateSystem,!1,e);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=s,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,a,r){var i=e.getData();this._updateLineDraw(i,e).incrementalPrepareUpdate(i),this._clearLayer(r),this._finished=!1},t.prototype.incrementalRender=function(e,a,r){this._lineDraw.incrementalUpdate(e,a.getData()),this._finished=e.end===a.getData().count()},t.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},t.prototype.updateTransform=function(e,a,r){var i=e.getData(),o=e.pipelineContext;
vendor: 5,308 bytes, line 1
1if(!this._finished||o.large||o.progressiveRender)return{update:!0};var s=a4.reset(e,a,r);s.progress&&s.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(r)},t.prototype._updateLineDraw=function(e,a){var r=this._lineDraw,i=this._showEffect(a),o=!!a.get("polyline"),l=a.pipelineContext.large;return(!r||i!==this._hasEffet||o!==this._isPolyline||l!==this._isLargeDraw)&&(r&&r.remove(),r=this._lineDraw=l?new Vvt:new hP(o?i?Lvt:n4:i?e4:uP),this._hasEffet=i,this._isPolyline=o,this._isLargeDraw=l),this.group.add(r.group),r},t.prototype._showEffect=function(e){return!!e.get(["effect","show"])},t.prototype._clearLayer=function(e){var a=e.getZr();!("svg"===a.painter.getType())&&null!=this._lastZlevel&&a.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(e,a){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(a)},t.prototype.dispose=function(e,a){this.remove(e,a)},t.type="lines",t}(nn);const qvt=Evt;var Hvt=typeof Uint32Array>"u"?Array:Uint32Array,Bvt=typeof Float64Array>"u"?Array:Float64Array;function r4(n){var t=n.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(n.data=At(t,function(e){var r={coords:[e[0].coord,e[1].coord]};return e[0].name&&(r.fromName=e[0].name),e[1].name&&(r.toName=e[1].name),zk([r,e[0],e[1]])}))}var jvt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.visualStyleAccessPath="lineStyle",e.visualDrawType="stroke",e}return pt(t,n),t.prototype.init=function(e){e.data=e.data||[],r4(e);var a=this._processFlatCoordsArray(e.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(e.data=new Float32Array(a.count)),n.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(e){if(r4(e),e.data){var a=this._processFlatCoordsArray(e.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(e.data=new Float32Array(a.count))}n.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(e){var a=this._processFlatCoordsArray(e.data);a.flatCoords&&(this._flatCoords?(this._flatCoords=kv(this._flatCoords,a.flatCoords),this._flatCoordsOffset=kv(this._flatCoordsOffset,a.flatCoordsOffset)):(this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset),e.data=new Float32Array(a.count)),this.getRawData().appendData(e.data)},t.prototype._getCoordsFromItemModel=function(e){var a=this.getData().getItemModel(e);return a.option instanceof Array?a.option:a.getShallow("coords")},t.prototype.getLineCoordsCount=function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},t.prototype.getLineCoords=function(e,a){if(this._flatCoordsOffset){for(var r=this._flatCoordsOffset[2*e],i=this._flatCoordsOffset[2*e+1],o=0;o<i;o++)a[o]=a[o]||[],a[o][0]=this._flatCoords[r+2*o],a[o][1]=this._flatCoords[r+2*o+1];return i}var s=this._getCoordsFromItemModel(e);for(o=0;o<s.length;o++)a[o]=a[o]||[],a[o][0]=s[o][0],a[o][1]=s[o][1];return s.length},t.prototype._processFlatCoordsArray=function(e){var a=0;if(this._flatCoords&&(a=this._flatCoords.length),ke(e[0])){for(var r=e.length,i=new Hvt(r),o=new Bvt(r),s=0,l=0,c=0,d=0;d<r;){c++;var u=e[d++];i[l++]=s+a,i[l++]=u;for(var h=0;h<u;h++){var f=e[d++],v=e[d++];o[s++]=f,o[s++]=v}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,l),flatCoords:o,count:c}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},t.prototype.getInitialData=function(e,a){var i=new Va(["value"],this);return i.hasItemOption=!1,i.initData(e.data,[],function(o,s,l,c){if(o instanceof Array)return NaN;i.hasItemOption=!0;var d=o.value;return null!=d?d instanceof Array?d[c]:d:void 0}),i},t.prototype.formatTooltip=function(e,a,r){var o=this.getData().getItemModel(e),s=o.get("name");if(s)return s;var l=o.get("fromName"),c=o.get("toName"),d=[];return null!=l&&d.push(l),null!=c&&d.push(c),Wn("nameValue",{name:d.join(" > ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){return this.option.progressive??(this.option.large?1e4:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){return this.option.progressiveThreshold??(this.option.large?2e4:this.get("progressiveThreshold"))},t.prototype.getZLevelKey=function(){var e=this.getModel("effect"),a=e.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:e.get("show")&&a>0?a+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t}(hn);const Gvt=jvt;function Xx(n){return n instanceof Array||(n=[n,n]),n}var Kvt={seriesType:"lines",reset:function(n){var t=Xx(n.get("symbol")),e=Xx(n.get("symbolSize")),a=n.getData();return a.setVisual("fromSymbol",t&&t[0]),a.setVisual("toSymbol",t&&t[1]),a.setVisual("fromSymbolSize",e&&e[0]),a.setVisual("toSymbolSize",e&&e[1]),{dataEach:a.hasItemOption?function r(i,o){var s=i.getItemModel(o),l=Xx(s.get
vendor: 6,980 bytes, line 1
1Shallow("symbol",!0)),c=Xx(s.getShallow("symbolSize",!0));l[0]&&i.setItemVisual(o,"fromSymbol",l[0]),l[1]&&i.setItemVisual(o,"toSymbol",l[1]),c[0]&&i.setItemVisual(o,"fromSymbolSize",c[0]),c[1]&&i.setItemVisual(o,"toSymbolSize",c[1])}:null}}};const Wvt=Kvt;var Xvt=function(){function n(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=ei.createCanvas();this.canvas=t}return n.prototype.update=function(t,e,a,r,i,o){var s=this._getBrush(),l=this._getGradient(i,"inRange"),c=this._getGradient(i,"outOfRange"),d=this.pointSize+this.blurSize,u=this.canvas,h=u.getContext("2d"),f=t.length;u.width=e,u.height=a;for(var v=0;v<f;++v){var A=t[v],b=A[0],x=A[1],k=r(A[2]);h.globalAlpha=k,h.drawImage(s,b-d,x-d)}if(!u.width||!u.height)return u;for(var D=h.getImageData(0,0,u.width,u.height),I=D.data,M=0,R=I.length,N=this.minOpacity,z=this.maxOpacity-N;M<R;){k=I[M+3]/256;var B=4*Math.floor(255*k);if(k>0){var K=o(k)?l:c;k>0&&(k=k*z+N),I[M++]=K[B],I[M++]=K[B+1],I[M++]=K[B+2],I[M++]=K[B+3]*k*256}else M+=4}return h.putImageData(D,0,0),u},n.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=ei.createCanvas()),e=this.pointSize+this.blurSize,a=2*e;t.width=a,t.height=a;var r=t.getContext("2d");return r.clearRect(0,0,a,a),r.shadowOffsetX=a,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-e,e,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),t},n.prototype._getGradient=function(t,e){for(var a=this._gradientPixels,r=a[e]||(a[e]=new Uint8ClampedArray(1024)),i=[0,0,0,0],o=0,s=0;s<256;s++)t[e](s/255,!0,i),r[o++]=i[0],r[o++]=i[1],r[o++]=i[2],r[o++]=i[3];return r},n}();const Yvt=Xvt;function i4(n){var t=n.dimensions;return"lng"===t[0]&&"lat"===t[1]}var tAt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r){var i;a.eachComponent("visualMap",function(s){s.eachTargetSeries(function(l){l===e&&(i=s)})}),this._progressiveEls=null,this.group.removeAll();var o=e.coordinateSystem;"cartesian2d"===o.type||"calendar"===o.type?this._renderOnCartesianAndCalendar(e,r,0,e.getData().count()):i4(o)&&this._renderOnGeo(o,e,i,r)},t.prototype.incrementalPrepareRender=function(e,a,r){this.group.removeAll()},t.prototype.incrementalRender=function(e,a,r,i){var o=a.coordinateSystem;o&&(i4(o)?this.render(a,r,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(a,i,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){Il(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,a,r,i,o){var c,d,u,h,s=e.coordinateSystem,l=Jd(s,"cartesian2d");if(l){var f=s.getAxis("x"),v=s.getAxis("y");c=f.getBandWidth()+.5,d=v.getBandWidth()+.5,u=f.scale.getExtent(),h=v.scale.getExtent()}for(var A=this.group,b=e.getData(),x=e.getModel(["emphasis","itemStyle"]).getItemStyle(),S=e.getModel(["blur","itemStyle"]).getItemStyle(),k=e.getModel(["select","itemStyle"]).getItemStyle(),D=e.get(["itemStyle","borderRadius"]),I=Kn(e),M=e.getModel("emphasis"),R=M.get("focus"),N=M.get("blurScope"),U=M.get("disabled"),z=l?[b.mapDimension("x"),b.mapDimension("y"),b.mapDimension("value")]:[b.mapDimension("time"),b.mapDimension("value")],B=r;B<i;B++){var K=void 0,W=b.getItemVisual(B,"style");if(l){var Z=b.get(z[0],B),X=b.get(z[1],B);if(isNaN(b.get(z[2],B))||isNaN(Z)||isNaN(X)||Z<u[0]||Z>u[1]||X<h[0]||X>h[1])continue;var tt=s.dataToPoint([Z,X]);K=new Se({shape:{x:tt[0]-c/2,y:tt[1]-d/2,width:c,height:d},style:W})}else{if(isNaN(b.get(z[1],B)))continue;K=new Se({z2:1,shape:s.dataToRect([b.get(z[0],B)]).contentShape,style:W})}if(b.hasItemOption){var rt=b.getItemModel(B),ot=rt.getModel("emphasis");x=ot.getModel("itemStyle").getItemStyle(),S=rt.getModel(["blur","itemStyle"]).getItemStyle(),k=rt.getModel(["select","itemStyle"]).getItemStyle(),D=rt.get(["itemStyle","borderRadius"]),R=ot.get("focus"),N=ot.get("blurScope"),U=ot.get("disabled"),I=Kn(rt)}K.shape.r=D;var st=e.getRawValue(B),gt="-";st&&null!=st[2]&&(gt=st[2]+""),da(K,I,{labelFetcher:e,labelDataIndex:B,defaultOpacity:W.opacity,defaultText:gt}),K.ensureState("emphasis").style=x,K.ensureState("blur").style=S,K.ensureState("select").style=k,An(K,R,N,U),K.incremental=o,o&&(K.states.emphasis.hoverLayer=!0),A.add(K),b.setItemGraphicEl(B,K),this._progressiveEls&&this._progressiveEls.push(K)}},t.prototype._renderOnGeo=function(e,a,r,i){var o=r.targetVisuals.inRange,s=r.targetVisuals.outOfRange,l=a.getData(),c=this._hmLayer||this._hmLayer||new Yvt;c.blurSize=a.get("blurSize"),c.pointSize=a.get("pointSize"),c.minOpacity=a.get("minOpacity"),c.maxOpacity=a.get("maxOpacity");var d=e.getViewRect().clone(),u=e.getRoamTransform();d.applyTransform(u);var h=Math.max(d.x,0),f=Math.max(d.y,0),v=Math.min(d.width+d.x,i.getWidth()),A=Math.min(d.height+d.y,i.getHeight()),b=v-h,x=A-f,S=[l.mapDimension("lng"),l.mapDimension("lat"),l.mapDimension("value")],k=l.mapArray(S,function(R,N,U){var z=e.dataToPoint([R,N]);return z[0]-=h,z[1]-=f,z.push(U),z}),D=r.getExtent(),I="visualMap.continuous"===r.type?function $vt(n,t){var e=n[1]-n[0];return t=[(t[0]-n[0])/e,(t[1]-n[0])/e],function(a){return a>=t[0]&&a<=t[1]}}(D,r.option.range):function Qvt(n,t,e){var a=n[1]-n[0],r=(t=At(t,function(o){return{interval:[(o.interval[0]-n[0])/a,(o.interval[1]-n[0])/a]}})).length,i=0;return function(o){var s;for(s=i;s<r;s++)if((l=t[s].interval)[0]<=o&&o<=l[1]){i=s;break}if(s===r)for(s=i-1;s>=0;s--){var l;if((l=t[s].interval)[0]<=o&&o<=l[1]){i=s;break}}return s>=0&&s<r&&e[s]}}(D,r.getPieceList(),r.option.selected);c.update(k,b,x,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:s.color.getColorMapper()},I);var M=new la({style:{width:b,height:x,x:h,y:f,image:c.canvas},silent:!0});this.group.add(M)},t.type="heatmap",t}(nn);const eAt=tAt;var nAt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.getInitialData=function(e,a){return os(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=sA.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(hn);const aAt=nAt;var iAt=["itemStyle","borderWidth"],o4=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],HP=new Pl,oAt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r){var i=this.group,o=e.getData(),s=this._data,l=e.coordinateSystem,d=l.getBaseAxis().isHorizontal(),u=l.master.getRect(),h={ecSize:{width:r.getWidth(),height:r.getHeight()},seriesModel:e,coordSys:l,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.he
vendor: 1,615 bytes, line 1
1ight]],isHorizontal:d,valueDim:o4[+d],categoryDim:o4[1-+d]};o.diff(s).add(function(v){if(o.hasValue(v)){var A=h4(o,v),b=s4(o,v,A,h),x=m4(o,h,b);o.setItemGraphicEl(v,x),i.add(x),v4(x,h,b)}}).update(function(v,A){var b=s.getItemGraphicEl(A);if(o.hasValue(v)){var x=h4(o,v),S=s4(o,v,x,h),k=g4(o,S);b&&k!==b.__pictorialShapeStr&&(i.remove(b),o.setItemGraphicEl(v,null),b=null),b?function hAt(n,t,e){var a=e.animationModel,r=e.dataIndex;Te(n.__pictorialBundle,{x:e.bundlePosition[0],y:e.bundlePosition[1]},a,r),e.symbolRepeat?c4(n,t,e,!0):d4(n,t,e,!0),u4(n,e,!0),p4(n,t,e,!0)}(b,h,S):b=m4(o,h,S,!0),o.setItemGraphicEl(v,b),b.__pictorialSymbolMeta=S,i.add(b),v4(b,h,S)}else i.remove(b)}).remove(function(v){var A=s.getItemGraphicEl(v);A&&f4(s,v,A.__pictorialSymbolMeta.animationModel,A)}).execute();var f=e.get("clip",!0)?zA(e.coordinateSystem,!1,e):null;return f?i.setClipPath(f):i.removeClipPath(),this._data=o,this.group},t.prototype.remove=function(e,a){var r=this.group,i=this._data;e.get("animation")?i&&i.eachItemGraphicEl(function(o){f4(i,ee(o).dataIndex,e,o)}):r.removeAll()},t.type="pictorialBar",t}(nn);function s4(n,t,e,a){var r=n.getItemLayout(t),i=e.get("symbolRepeat"),o=e.get("symbolClip"),s=e.get("symbolPosition")||"start",c=(e.get("symbolRotate")||0)*Math.PI/180||0,d=e.get("symbolPatternSize")||2,u=e.isAnimationEnabled(),h={dataIndex:t,layout:r,itemModel:e,symbolType:n.getItemVisual(t,"symbol")||"circle",style:n.getItemVisual(t,"style"),symbolClip:o,symbolRepeat:i,symbolRepeatDirection:e.get("symbolRepeatDirection"),symbolPatternSize:d,rotation:c,animationModel:u?e:null,hoverScale:u&&e.get(["emp
1hasis","scale"]),z2:e.getShallow("z",!0)||0};(function sAt(n,t,e,a,r){var d,i=a.valueDim,o=n.get("symbolBoundingData"),s=a.coordSys.getOtherAxis(a.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),c=1-+(e[i.wh]<=0);if(vt(o)){var u=[BP(s,o[0])-l,BP(s,o[1])-l];u[1]<u[0]&&u.reverse(),d=u[c]}else d=null!=o?BP(s,o)-l:t?a.coordSysExtent[i.index][c]-l:e[i.wh];r.boundingLength=d,t&&(r.repeatCutLength=e[i.wh]);var h="x"===i.xy,f=s.inverse;r.pxSign=h&&!f||!h&&f?d>=0?1:-1:d>0?1:-1})(e,i,r,a,h),function lAt(n,t,e,a,r,i,o,s,l,c){var v,d=l.valueDim,u=l.categoryDim,h=Math.abs(e[u.wh]),f=n.getItemVisual(t,"symbolSize");v=vt(f)?f.slice():null==f?["100%","100%"]:[f,f],v[u.index]=Ot(v[u.index],h),v[d.index]=Ot(v[d.index],a?h:Math.abs(i)),c.symbolSize=v,(c.symbolScale=[v[0]/s,v[1]/s])[d.index]*=(l.isHorizontal?-1:1)*o}(n,t,r,i,0,h.boundingLength,h.pxSign,d,a,h),function cAt(n,t,e,a,r){var i=n.get(iAt)||0;i&&(HP.attr({scaleX:t[0],scaleY:t[1],rotation:e}),HP.updateTransform(),i/=HP.getLineScale(),i*=t[a.valueDim.index]),r.valueLineWidth=i||0}(e,h.symbolScale,c,a,h);var f=h.symbolSize,v=Fd(e.get("symbolOffset"),f);return function dAt(n,t,e,a,r,i,o,s,l,c,d,u){var h=d.categoryDim,f=d.valueDim,v=u.pxSign,A=Math.max(t[f.index]+s,0),b=A;if(a){var x=Math.abs(l),S=$n(n.get("symbolMargin"),"15%")+"",k=!1;S.lastIndexOf("!")===S.length-1&&(k=!0,S=S.slice(0,S.length-1));var D=Ot(S,t[f.index]),I=Math.max(A+2*D,0),M=k?0:2*D,R=PL(a),N=R?a:A4((x+M)/I);I=A+2*(D=(x-N*A)/2/(k?N:Math.max(N-1,1))),M=k?0:2*D,!R&&"fixed"!==a&&(N=c?A4((Math.abs(c)+M)/I):0),b=N*I-M,u.repeatTimes=N,u.symbolMargin=D}var z=v*(b/2),B=u.pathPosition=[];B[h.index]=e[h.wh]/2,B[f.index]="start"===o?z:"end"===o?l-z:l/2,i&&(B[0]+=i[0],B[1]+=i[1]);var K=u.bundlePosition=[];K[h.index]=e[h.xy],K[f.index]=e[f.xy];var W=u.barRectShape=ft({},e);W[f.wh]=v*Math.max(Math.abs(e[f.wh]),Math.abs(B[f.index]+z)),W[h.wh]=e[h.wh];var Z=u.clipShape={};Z[h.xy]=-e[h.xy],Z[h.wh]=d.ecSize[h.wh],Z[f.xy]=0,Z[f.wh]=e[f.wh]}(e,f,r,i,0,v,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,a,h),h}function BP(n,t){return n.toGlobalCoord(n.dataToCoord(n.scale.parse(t)))}function l4(n){var t=n.symbolPatternSize,e=Ln(n.symbolType,-t/2,-t/2,t,t);return e.attr({culling:!0}),"image"!==e.type&&e.setStyle({strokeNoScale:!0}),e}function c4(n,t,e,a){var r=n.__pictorialBundle,i=e.symbolSize,o=e.valueLineWidth,s=e.pathPosition,l=t.valueDim,c=e.repeatTimes||0,d=0,u=i[t.valueDim.index]+o+2*e.symbolMargin;for(jP(n,function(A){A.__pictorialAnimationIndex=d,A.__pictorialRepeatTimes=c,d<c?Mm(A,null,v(d),e,a):Mm(A,null,{scaleX:0,scaleY:0},e,a,function(){r.remove(A)}),d++});d<c;d++){var h=l4(e);h.__pictorialAnimationIndex=d,h.__pictorialRepeatTimes=c,r.add(h);var f=v(d);Mm(h,{x:f.x,y:f.y,scaleX:0,scaleY:0},{scaleX:f.scaleX,scaleY:f.scaleY,rotation:f.rotation},e,a)}function v(A){var b=s.slice(),x=e.pxSign,S=A;return("start"===e.symbolRepeatDirection?x>0:x<0)&&(S=c-1-A),b[l.index]=u*(S-c/2+.5)+s[l.index],{x:b[0],y:b[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation}}}function d4(n,t,e,a){var r=n.__pictorialBundle,i=n.__pictorialMainPath;i?Mm(i,null,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation},e,a):(i=n.__pictorialMainPath=l4(e),r.add(i),Mm(i,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:0,scaleY:0,rotation:e.rotation},{scaleX:e.symbolScale[0],scaleY:e.symbolScale[1]},e,a))}function u4(n,t,e){var a=ft({},t.barRectShape),r=n.__pictorialBarRect;r?Mm(r,null,{shape:a},t,e):((r=n.__pictorialBarRect=new Se({z2:2,shape:a,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,n.add(r))}function p4(n,t,e,a){if(e.symbolClip){var r=n.__pictorialClipPath,i=ft({},e.clipShape),o=t.valueDim,s=e.animationModel,l=e.dataIndex;if(r)Te(r,{shape:i},s,l);else{i[o.wh]=0,r=new Se({shape:i}),n.__pictorialBundle.setClipPath(r),n.__pictorialClipPath=r;var c={};c[o.wh]=e.clipShape[o.wh],lt[a?"updateProps":"initProps"](r,{shape:c},s,l)}}}function h4(n,t){var e=n.getItemModel(t);return e.getAnimationDelayParams=uAt,e.isAnimationEnabled=pAt,e}function uAt(n){return{index:n.__pictorialAnimationIndex,count:n.__pictorialRepeatTimes}}function pAt(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function m4(n,t,e,a){var r=new te,i=new te;return r.add(i),r.__pictorialBundle=i,i.x=e.bundlePosition[0],i.y=e.bundlePosition[1],e.symbolRepeat?c4(r,t,e):d4(r,0,e),u4(r,e,a),p4(r,t,e,a),r.__pictorialShapeStr=g4(n,e),r.__pictorialSymbolMeta=e,r}function f4(n,t,e,a){var r=a.__pictorialBarRect;r&&r.removeTextContent();var i=[];jP(a,function(o){i.push(o)}),a.__pictorialMainPath&&i.push(a.__pictorialMainPath),a.__pictorialClipPath&&(e=null),q(i,function(o){Sl(o,{scaleX:0,scaleY:0},e,t,function(){a.parent&&a.parent.remove(a)})}),n.setItemGraphicEl(t,null)}function g4(n,t){return[n.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function jP(n,t,e){q(n.__pictorialBundle.children(),function(a){a!==n.__pictorialBarRect&&t.call(e,a)})}function Mm(n,t,e,a,r,i){t&&n.attr(t),a.symbolClip&&!r?e&&n.attr(e):e&<[r?"updateProps":"initProps"](n,e,a.animationModel,a.dataIndex,i)}function v4(n,t,e){var a=e.dataIndex,r=e.itemModel,i=r.getModel("emphasis"),o=i.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),c=r.getShallow("cursor"),d=i.get("focus"),u=i.get("blurScope"),h=i.get("scale");jP(n,function(A){if(A instanceof la){var b=A.style;
vendor: 18,072 bytes, line 1
1A.useStyle(ft({image:b.image,x:b.x,y:b.y,width:b.width,height:b.height},e.style))}else A.useStyle(e.style);var x=A.ensureState("emphasis");x.style=o,h&&(x.scaleX=1.1*A.scaleX,x.scaleY=1.1*A.scaleY),A.ensureState("blur").style=s,A.ensureState("select").style=l,c&&(A.cursor=c),A.z2=e.z2});var f=t.valueDim.posDesc[+(e.boundingLength>0)],v=n.__pictorialBarRect;v.ignoreClip=!0,da(v,Kn(r),{labelFetcher:t.seriesModel,labelDataIndex:a,defaultText:bm(t.seriesModel.getData(),a),inheritColor:e.style.fill,defaultOpacity:e.style.opacity,defaultOutsidePosition:f}),An(n,d,u,i.get("disabled"))}function A4(n){var t=Math.round(n);return Math.abs(n-t)<1e-4?t:Math.ceil(n)}const mAt=oAt;var fAt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e.defaultSymbol="roundRect",e}return pt(t,n),t.prototype.getInitialData=function(e){return e.stack=null,n.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=wl(fx.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(fx);const gAt=fAt;var AAt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e._layers=[],e}return pt(t,n),t.prototype.render=function(e,a,r){var i=e.getData(),o=this,s=this.group,l=e.getLayerSeries(),c=i.getLayout("layoutInfo"),d=c.rect,u=c.boundaryGap;function h(b){return b.name}s.x=0,s.y=d.y+u[0];var f=new is(this._layersSeries||[],l,h,h),v=[];function A(b,x,S){var k=o._layers;if("remove"!==b){for(var M,D=[],I=[],R=l[x].indices,N=0;N<R.length;N++){var U=i.getItemLayout(R[N]),z=U.x,B=U.y0,K=U.y;D.push(z,B),I.push(z,B+K),M=i.getItemVisual(R[N],"style")}var W,Z=i.getItemLayout(R[0]),tt=e.getModel("label").get("margin"),rt=e.getModel("emphasis");if("add"===b){var ot=v[x]=new te;W=new l6({shape:{points:D,stackedOnPoints:I,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),ot.add(W),s.add(ot),e.isAnimationEnabled()&&W.setClipPath(function yAt(n,t,e){var a=new Se({shape:{x:n.x-10,y:n.y-10,width:0,height:n.height+20}});return dn(a,{shape:{x:n.x-50,width:n.width+100,height:n.height+20}},t,e),a}(W.getBoundingRect(),e,function(){W.removeClipPath()}))}else{ot=k[S];W=ot.childAt(0),s.add(ot),v[x]=ot,Te(W,{shape:{points:D,stackedOnPoints:I}},e),oi(W)}da(W,Kn(e),{labelDataIndex:R[N-1],defaultText:i.getName(R[N-1]),inheritColor:M.fill},{normal:{verticalAlign:"middle"}}),W.setTextConfig({position:null,local:!0});var st=W.getTextContent();st&&(st.x=Z.x-tt,st.y=Z.y0+Z.y/2),W.useStyle(M),i.setItemGraphicEl(x,W),ca(W,e),An(W,rt.get("focus"),rt.get("blurScope"),rt.get("disabled"))}else s.remove(k[x])}f.add(Ut(A,this,"add")).update(Ut(A,this,"update")).remove(Ut(A,this,"remove")).execute(),this._layersSeries=l,this._layers=v},t.type="themeRiver",t}(nn);const bAt=AAt;var _At=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.init=function(e){n.prototype.init.apply(this,arguments),this.legendVisualProvider=new HA(Ut(this.getData,this),Ut(this.getRawData,this))},t.prototype.fixData=function(e){var a=e.length,r={},i=G2(e,function(h){return r.hasOwnProperty(h[0]+"")||(r[h[0]+""]=-1),h[2]}),o=[];i.buckets.each(function(h,f){o.push({name:f,dataList:h})});for(var s=o.length,l=0;l<s;++l){for(var c=o[l].name,d=0;d<o[l].dataList.length;++d){var u=o[l].dataList[d][0]+"";r[u]=l}for(var u in r)r.hasOwnProperty(u)&&r[u]!==l&&(r[u]=l,e[a]=[u,0,c],a++)}return e},t.prototype.getInitialData=function(e,a){for(var i=this.getReferringComponents("singleAxis",On).models[0].get("type"),o=Ne(e.data,function(v){return void 0!==v[2]}),s=this.fixData(o||[]),l=[],c=this.nameMap=Et(),d=0,u=0;u<s.length;++u)l.push(s[u][2]),c.get(s[u][2])||(c.set(s[u][2],d),d++);var h=Am(s,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:px(i)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,f=new Va(h,this);return f.initData(s),f},t.prototype.getLayerSeries=function(){for(var e=this.getData(),a=e.count(),r=[],i=0;i<a;++i)r[i]=i;var o=e.mapDimension("single"),s=G2(r,function(c){return e.get("name",c)}),l=[];return s.buckets.each(function(c,d){c.sort(function(u,h){return e.get(o,u)-e.get(o,h)}),l.push({name:d,indices:c})}),l},t.prototype.getAxisTooltipData=function(e,a,r){vt(e)||(e=e?[e]:[]);for(var c,i=this.getData(),o=this.getLayerSeries(),s=[],l=o.length,d=0;d<l;++d){for(var u=Number.MAX_VALUE,h=-1,f=o[d].indices.length,v=0;v<f;++v){var A=i.get(e[0],o[d].indices[v]),b=Math.abs(A-a);b<=u&&(c=A,u=b,h=o[d].indices[v])}s.push(h)}return{dataIndices:s,nestestValue:c}},t.prototype.formatTooltip=function(e,a,r){var i=this.getData();return Wn("nameValue",{name:i.getName(e),value:i.get(i.mapDimension("value"),e)})},t.type="series.themeRiver",t.dependencies=["singleAxis"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},t}(hn);const xAt=_At;function SAt(n,t){n.eachSeriesByType("themeRiver",function(e){var a=e.getData(),r=e.coordinateSystem,i={},o=r.getRect();i.rect=o;var s=e.get("boundaryGap"),l=r.getAxis();(i.boundaryGap=s,"horizontal"===l.orient)?(s[0]=Ot(s[0],o.height),s[1]=Ot(s[1],o.height),y4(a,e,o.height-s[0]-s[1])):(s[0]=Ot(s[0],o.width),s[1]=Ot(s[1],o.width),y4(a,e,o.width-s[0]-s[1]));a.setLayout("layoutInfo",i)})}function y4(n,t,e){if(n.count())for(var f,a=t.coordinateSystem,r=t.getLayerSeries(),i=n.mapDimension("single"),o=n.mapDimension("value"),s=At(r,function(b){return At(b.indices,function(x){var S=a.dataToPoint(n.get(i,x));return S[1]=n.get(o,x),S})}),l=function wAt(n){for(var t=n.length,e=n[0].length,a=[],r=[],i=0,o=0;o<e;++o){for(var s=0,l=0;l<t;++l)s+=n[l][o][1];s>i&&(i=s),a.push(s)}for(var c=0;c<e;++c)r[c]=(i-a[c])/2;i=0;for(var d=0;d<e;++d){var u=a[d]+r[d];u>i&&(i=u)}return{y0:r,max:i}}(s),c=l.y0,d=e/l.max,u=r.length,h=r[0].indices.length,v=0;v<h;++v){f=c[v]*d,n.setItemLayout(r[0].indices[v],{layerIndex:0,x:s[0][v][0],y0:f,y:s[0][v][1]*d});for(var A=1;A<u;++A)f+=s[A-1][v][1]*d,n.setItemLayout(r[A].indices[v],{layerIndex:A,x:s[A][v][0],y0:f,y:s[A][v][1]*d})}}var TAt=function(n){function t(e,a,r,i){var o=n.call(this)||this;o.z2=2,o.textConfig={inside:!0},ee(o).seriesIndex=a.seriesIndex;var s=new Ce({z2:4,silent:e.getModel().get(["label","silent"])});return o.setTextContent(s),o.updateData(!0,e,a,r,i),o}return pt(t,n),t.prototype.updateData=function(e,a,r,i,o){this.node=a,a.piece=this,r=r||this._seriesModel,i=i||this._ecModel;var s=this;ee(s).dataIndex=a.dataIndex;var l=a.getModel(),c=l.getModel("emphasis"),d=a.getLayout(),u=ft({},d);u.label=null;var h=a.getVisual("style");h.lineJoin="bevel";var f=a.getVisual("decal");f&&(h.decal=fm(f,o));var v=Zd(l.getModel("itemStyle"),u,!0);ft(u,v),q(Na,function(S){var k=s.ensureState(S),D=l.getModel([S,"itemStyle"]);k.style=D.getItemStyle();var I=Zd(D,u);I&&(k.shape=I)}),e?(s.setShape(u),s.shape.r=d.r0,dn(s,{shape:{r:d.r}},r,a.dataIndex)):(Te(s,{shape:u},r),oi(s)),s.useStyle(h),this._updateLabel(r);var A=l.getShallow("cursor");A&&s.attr("cursor",A),this._seriesModel=r||this._seriesModel,this._ecModel=i||this._ecModel;var b=c.get("focus");An(this,"relative"===b?kv(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===b?a.getAncestorsIndices():"descendant"===b?a.getDescendantIndices():b,c.get("blurScope"),c.get("disabled"))},t.prototype._updateLabel=function(e){var a=this,r=this.node.getModel(),i=r.getModel("label"),o=this.node.getLayout(),s=o.endAngle-o.startAngle,l=(o.startAngle+o.endAngle)/2,c=Math.cos(l),d=Math.sin(l),u=this,h=u.getTextContent(),f=this.node.dataIndex,v=i.get("minAngle")/180*Math.PI,A=i.get("show")&&!(null!=v&&Math.abs(s)<v);function b(x,S){return x.get(S)??i.get(S)}h.ignore=!A,q(Yv,function(x){var S="normal"===x?r.getModel("label"):r.getModel([x,"label"]),k="normal"===x,D=k?h:h.ensureState(x),I=e.getFormattedLabel(f,x);k&&(I=I||a.node.name),D.style=tn(S,{},null,"normal"!==x,!0),I&&(D.style.text=I);var M=S.get("show");null!=M&&!k&&(D.ignore=!M);var R=b(S,"position"),N=k?u:u.states[x],U=N.style.fill;N.textConfig={outsideFill:"inherit"===S.get("color")?U:null,inside:"outside"!==R};var z,B=b(S,"distance")||0,K=b(S,"align"),W=b(S,"rotate"),Z=.5*Math.PI,X=1.5*Math.PI,tt=pr("tangential"===W?Math.PI/2-l:l),rt=tt>Z&&!Hv(tt-Z)&&tt<X;"outside"===R?(z=o.r+B,K=rt?"right":"left"):K&&"center"!==K?"left"===K?(z=o.r0+B,K=rt?"right":"left"):"right"===K&&(z=o.r-B,K=rt?"left":"right"):(z=s===2*Math.PI&&0===o.r0?0:(o.r+o.r0)/2,K="center"),D.style.align=K,D.style.verticalAlign=b(S,"verticalAlign")||"middle",D.x=z*c+o.cx,D.y=z*d+o.cy;var ot=0;"radial"===W?ot=pr(-l)+(rt?Math.PI:0):"tangential"===W?ot=pr(Math.PI/2-l)+(rt?Math.PI:0):ke(W)&&(ot=W*Math.PI/180),D.rotation=pr(ot)}),h.dirtyStyle()},t}(tr);const b4=TAt;var KP="sunburstRootToNode",_4="sunburstHighlight";var MAt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r,i){var o=this;this.seriesModel=e,this.api=r,this.ecModel=a;var s=e.getData(),l=s.tree.root,c=e.getViewRoot(),d=this.group,u=e.get("renderLabelForZeroData"),h=[];c.eachNode(function(S){h.push(S)});var f=this._oldChildren||[];(function v(S,k){if(0===S.length&&0===k.length)return;function D(M){return M.getId()}function I(M,R){!function A(S,k){if(!u&&S&&!S.getValue()&&(S=null),S!==l&&k!==l)if(k&&k.piece)S?(k.piece.updateData(!1,S,e,a,r),s.setItemGraphicEl(S.dataIndex,k.piece)):function b(S){!S||S.piece&&(d.remove(S.piece),S.piece=null)}(k);else if(S){var D=new b4(S,e,a,r);d.add(D),s.setItemGraphicEl(S.dataIndex,D)}}(null==M?null:S[M],null==R?null:k[R])}new is(k,S,D,D).add(I).update(I).remove(se(I,null)).execute()})(h,f),function x(S,k){k.depth>0?(o.virtualPiece?o.virtualPiece.updateData(!1,S,e,a,r):(o.virtualPiece=new b4(S,e,a,r),d.add(o.virtualPiece)),k.piece.off("click"),o.virtualPiece.on("click",function(D){o._rootToNode(k.parentNode)})):o.virtualPiece&&(d.remove(o.virtualPiece),o.virtualPiece=null)}(l,c),this._initEvents(),this._oldChildren=h},t.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",function(a){var r=!1;e.seriesModel.getViewRoot().eachNode(function(o){if(!r&&o.piece&&o.piece===a.target){var s=o.getModel().get("nodeClick");if("rootToNode"===s)e._rootToNode(o);else if("link"===s){var l=o.getModel(),c=l.get("link");if(c)b_(c,l.get("target",!0)||"_blank")}r=!0}})})},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:KP,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,a){var i=a.getData().getItemLayout(0);if(i){var o=e[0]-i.cx,s=e[1]-i.cy,l=Math.sqrt(o*o+s*s);return l<=i.r&&l>=i.r0}},t.type="sunburst",t}(nn);const OAt=MAt;var RAt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.ignoreStyleOnData=!0,e}return pt(t,n),t.prototype.getInitialData=function(e,a){var r={name:e.name,children:e.data};x4(r);var i=this._levelModels=At(e.levels||[],function(l){return new en(l,this,a)},this),o=jT.createTree(r,this,function s(l){l.wrapMethod("getItemModel",function(c,d){var u=o.getNodeByDataIndex(d),h=i[u.depth];return h&&(c.parentModel=h),c})});return o.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(e){var a=n.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return a.treePathInfo=Vx(r,this),a},t.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var a=this.getRawData().tree.root;(!e||e!==a&&!a.contains(e))&&(this._viewRoot=a)},t.prototype.enableAriaDecal=function(){Mz(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t}(hn);function x4(n){var t=0;q(n.children,function(a){x4(a);var r=a.value;vt(r)&&(r=r[0]),t+=r});var e=n.value;vt(e)&&(e=e[0]),(null==e||isNaN(e))&&(e=t),e<0&&(e=0),vt(n.value)?n.value[0]=e:n.value=e}const LAt=RAt;var S4=Math.PI/180;function NAt(n,t,e){t.eachSeriesByType(n,function(a){var r=a.get("center"),i=a.get("radius");vt(i)||(i=[0,i]),vt(r)||(r=[r,r]);var o=e.getWidth(),s=e.getHeight(),l=Math.min(o,s),c=Ot(r[0],o),d=Ot(r[1],s),u=Ot(i[0],l/2),h=Ot(i[1],l/2),f=-a.get("startAngle")*S4,v=a.get("minAngle")*S4,A=a.getData().tree.root,b=a.getViewRoot(),x=b.depth,S=a.get("sort");null!=S&&w4(b,S);var k=0;q(b.children,function(tt){!isNaN(tt.getValue())&&k++});var D=b.getValue(),I=Math.PI/(D||k)*2,M=b.depth>0,R=b.height-(M?-1:1),N=(h-u)/(R||1),U=a.get("clockwise"),z=a.get("stillShowZeroSum"),B=U?1:-1,K=function(tt,rt){if(tt){var ot=rt;if(tt!==A){var st=tt.getValue(),gt=0===D&&z?I:st*I;gt<v&&(gt=v),ot=rt+B*gt;var _t=tt.depth-x-(M?-1:1),Mt=u+N*_t,zt=u+N*(_t+1),Bt=a.getLevelModel(tt);if(Bt){var Qt=Bt.get("r0",!0),Pe=Bt.get("r",!0),mn=Bt.get("radius",!0);null!=mn&&(Qt=mn[0],Pe=mn[1]),null!=Qt&&(Mt=Ot(Qt,l/2)),null!=Pe&&(zt=Ot(Pe,l/2))}tt.setLayout({angle:gt,startAngle:rt,endAngle:ot,clockwise:U,cx:c,cy:d,r0:Mt,r:zt})}if(tt.children&&tt.children.length){var ue=0;q(tt.children,function(Jt){ue+=K(Jt,rt+ue)})}return ot-rt}};if(M){var W=u,Z=u+N,X=2*Math.PI;A.setLayout({angle:X,startAngle:f,endAngle:f+X,clockwise:U,cx:c,cy:d,r0:W,r:Z})}K(b,f)})}function w4(n,t){var e=n.children||[];n.children=function UAt(n,t){if(jt(t)){var e=At(n,function(r,i){var o=r.getValue();return{params:{depth:r.depth,height:r.height,dataIndex:r.dataIndex,getValue:function(){return o}},index:i}});return e.sort(function(r,i){return t(r.params,i.params)}),At(e,function(r){return n[r.index]})}var a="asc"===t;return n.sort(function(r,i){var o=(r.getValue()-i.getValue())*(a?1:-1);return 0===o?(r.dataIndex-i.dataIndex)*(a?-1:1):o})}(e,t),e.length&&q(n.children,function(a){w4(a,t)})}function FAt(n){var t={};n.eachSeriesByType("sunburst",function(a){var r=a.getData(),i=r.tree;i.eachNode(function(o){var l=o.getModel().getModel("itemStyle").getItemStyle();l.fill||(l.fill=function e(a,r,i){for(var o=a;o&&o.depth>1;)o=o.parentNode;var s=r.getColorFromPalette(o.name||o.dataIndex+"",t);return a.depth>1&&Lt(s)&&(s=m2(s,(a.depth-1)/(i-1)*.5)),s}(o,a,i.root.height)),ft(r.ensureUniqueItemVisual(o.dataIndex,"style"),l)})})}var k4={color:"fill",borderColor:"stroke"},zAt={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},us=_e(),EAt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(e,a){return os(null,this)},t.prototype.getDataParams=function(e,a,r){var i=n.prototype.getDataParams.call(this,e,a);return r&&(i.info=us(r).info),i},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(hn);const qAt=EAt;function HAt(n,t){return t=t||[0,0],At(["x","y"],function(e,a){var r=this.getAxis(e),i=t[a],o=n[a]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(i-o)-r.dataToCoord(i+o))},this)}function jAt(n,t){return t=t||[0,0],At([0,1],function(e){var a=t[e],r=n[e]/2,i=[],o=[];return i[e]=a-r,o[e]=a+r,i[1-e]=o[1-e]=t[1-e],Math.abs(this.dataToPoint(i)[e]-this.dataToPoint(o)[e])},this)}function KAt(n,t){var e=this.getAxis(),a=t instanceof Array?t[0]:t,r=(n instanceof Array?n[0]:n)/2;return"category"===e.type?e.getBandWidth():Math.abs(e.dataToCoord(a-r)-e.dataToCoord(a+r))}function JAt(n,t){return t=t||[0,0],At(["Radius","Angle"],function(e,a){var i=this["get"+e+"Axis"](),o=t[a],s=n[a]/2,l="category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-s)-i.dataToCoord(o+s));return"Angle"===e&&(l=l*Math.PI/180),l},this)}function C4(n,t,e,a){return n&&(n.legacy||!1!==n.legacy&&!e&&!a&&"tspan"!==t&&("text"===t||Vt(n,"text")))}function D4(n,t,e){var r,i,o,a=n;if("text"===t)o=a;else{o={},Vt(a,"text")&&(o.text=a.text),Vt(a,"rich")&&(o.rich=a.rich),Vt(a,"textFill")&&(o.fill=a.textFill),Vt(a,"textStroke")&&(o.stroke=a.textStroke),Vt(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Vt(a,"fontSize")&&(o.fontSize=a.fontSize),Vt(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Vt(a,"fontWeight")&&(o.fontWeight=a.fontWeight),i={type:"text",style:o,silent:!0},r={};var s=Vt(a,"textPosition");e?r.position=s?a.textPosition:"inside":s&&(r.position=a.textPosition),Vt(a,"textPosition")&&(r.position=a.textPosition),Vt(a,"textOffset")&&(r.offset=a.textOffset),Vt(a,"textRotation")&&(r.rotation=a.textRotation),Vt(a,"textDistance")&&(r.distance=a.textDistance)}return T4(o,n),q(o.rich,function(l){T4(l,l)}),{textConfig:r,textContent:i}}function T4(n,t){!t||(t.font=t.textFont||t.font,Vt(t,"textStrokeWidth")&&(n.lineWidth=t.textStrokeWidth),Vt(t,"textAlign")&&(n.align=t.textAlign),Vt(t,"textVerticalAlign")&&(n.verticalAlign=t.textVerticalAlign),Vt(t,"textLineHeight")&&(n.lineHeight=t.textLineHeight),Vt(t,"textWidth")&&(n.width=t.textWidth),Vt(t,"textHeight")&&(n.height=t.textHeight),Vt(t,"textBackgroun
1dColor")&&(n.backgroundColor=t.textBackgroundColor),Vt(t,"textPadding")&&(n.padding=t.textPadding),Vt(t,"textBorderColor")&&(n.borderColor=t.textBorderColor),Vt(t,"textBorderWidth")&&(n.borderWidth=t.textBorderWidth),Vt(t,"textBorderRadius")&&(n.borderRadius=t.textBorderRadius),Vt(t,"textBoxShadowColor")&&(n.shadowColor=t.textBoxShadowColor),Vt(t,"textBoxShadowBlur")&&(n.shadowBlur=t.textBoxShadowBlur),Vt(t,"textBoxShadowOffsetX")&&(n.shadowOffsetX=t.textBoxShadowOffsetX),Vt(t,"textBoxShadowOffsetY")&&(n.shadowOffsetY=t.textBoxShadowOffsetY))}function P4(n,t,e){var a=n;a.textPosition=a.textPosition||e.position||"inside",null!=e.offset&&(a.textOffset=e.offset),null!=e.rotation&&(a.textRotation=e.rotation),null!=e.distance&&(a.textDistance=e.distance);var r=a.textPosition.indexOf("inside")>=0,i=n.fill||"#000";I4(a,t);var o=null==a.textFill;return r?o&&(a.textFill=e.insideFill||"#fff",!a.textStroke&&e.insideStroke&&(a.textStroke=e.insideStroke),!a.textStroke&&(a.textStroke=i),null==a.textStrokeWidth&&(a.textStrokeWidth=2)):(o&&(a.textFill=n.fill||e.outsideFill||"#000"),!a.textStroke&&e.outsideStroke&&(a.textStroke=e.outsideStroke)),a.text=t.text,a.rich=t.rich,q(t.rich,function(s){I4(s,s)}),a}function I4(n,t){!t||(Vt(t,"fill")&&(n.textFill=t.fill),Vt(t,"stroke")&&(n.textStroke=t.fill),Vt(t,"lineWidth")&&(n.textStrokeWidth=t.lineWidth),Vt(t,"font")&&(n.font=t.font),Vt(t,"fontStyle")&&(n.fontStyle=t.fontStyle),Vt(t,"fontWeight")&&(n.fontWeight=t.fontWeight),Vt(t,"fontSize")&&(n.fontSize=t.fontSize),Vt(t,"fontFamily")&&(n.fontFamily=t.fontFamily),Vt(t,"align")&&(n.textAlign=t.align),Vt(t,"verticalAlign")&&(n.textVerticalAlign=t.verticalAlign),Vt(t,"lineHeight")&&(n.textLineHeight=t.lineHeight),Vt(t,"width")&&(n.textWidth=t.width),Vt(t,"height")&&(n.textHeight=t.height),Vt(t,"backgroundColor")&&(n.textBackgroundColor=t.backgroundColor),Vt(t,"padding")&&(n.textPadding=t.padding),Vt(t,"borderColor")&&(n.textBorderColor=t.borderColor),Vt(t,"borderWidth")&&(n.textBorderWidth=t.borderWidth),Vt(t,"borderRadius")&&(n.textBorderRadius=t.borderRadius),Vt(t,"shadowColor")&&(n.textBoxShadowColor=t.shadowColor),Vt(t,"shadowBlur")&&(n.textBoxShadowBlur=t.shadowBlur),Vt(t,"shadowOffsetX")&&(n.textBoxShadowOffsetX=t.shadowOffsetX),Vt(t,"shadowOffsetY")&&(n.textBoxShadowOffsetY=t.shadowOffsetY),Vt(t,"textShadowColor")&&(n.textShadowColor=t.textShadowColor),Vt(t,"textShadowBlur")&&(n.textShadowBlur=t.textShadowBlur),Vt(t,"textShadowOffsetX")&&(n.textShadowOffsetX=t.textShadowOffsetX),Vt(t,"textShadowOffsetY")&&(n.textShadowOffsetY=t.textShadowOffsetY))}var M4={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},O4=ve(M4),Yx=(Li(zi,function(n,t){return n[t]=1,n},{}),zi.join(", "),["","style","shape","extra"]),Om=_e();function WP(n,t,e,a,r){var i=n+"Animation",o=Kh(n,a,r)||{},s=Om(t).userDuring;return o.duration>0&&(o.during=s?Ut(eyt,{el:t,userDuring:s}):null,o.setToFinal=!0,o.scope=n),ft(o,e[i]),o}function Qx(n,t,e,a){var r=(a=a||{}).dataIndex,i=a.isInit,o=a.clearStyle,s=e.isAnimationEnabled(),l=Om(n),c=t.style;l.userDuring=t.during;var d={},u={};if(function ayt(n,t,e){for(var a=0;a<O4.length;a++){var r=O4[a],i=M4[r],o=t[r];o&&(e[i[0]]=o[0],e[i[1]]=o[1])}for(a=0;a<zi.length;a++){var s=zi[a];null!=t[s]&&(e[s]=t[s])}}(0,t,u),N4("shape",t,u),N4("extra",t,u),!i&&s&&(function nyt(n,t,e){for(var a=t.transition,r=lu(a)?zi:Be(a||[]),i=0;i<r.length;i++){var o=r[i];if("style"!==o&&"shape"!==o&&"extra"!==o){var s=n[o];e[o]=s}}}(n,t,d),L4("shape",n,t,d),L4("extra",n,t,d),function ryt(n,t,e,a){if(e){var i,r=n.style;if(r){var o=e.transition,s=t.transition;if(o&&!lu(o)){var l=Be(o);!i&&(i=a.style={});for(var c=0;c<l.length;c++){var u=r[d=l[c]];i[d]=u}}else if(n.getAnimationStyleProps&&(lu(s)||lu(o)||pe(s,"style")>=0)){var h=n.getAnimationStyleProps(),f=h?h.style:null;if(f){!i&&(i=a.style={});var v=ve(e);for(c=0;c<v.length;c++){var d;if(f[d=v[c]]){u=r[d];i[d]=u}}}}}}}(n,t,c,d)),u.style=c,function YAt(n,t,e){var a=t.style;if(!n.isGroup&&a){if(e){n.useStyle({});for(var r=n.animators,i=0;i<r.length;i++){var o=r[i];"style"===o.targetName&&o.changeTarget(n.style)}}n.setStyle(a)}t&&(t.style=null,t&&n.attr(t),t.style=a)}(n,u,o),function $At(n,t){Vt(t,"silent")&&(n.silent=t.silent),Vt(t,"ignore")&&(n.ignore=t.ignore),n instanceof Mr&&Vt(t,"invisible")&&(n.invisible=t.invisible),n instanceof fe&&Vt(t,"autoBatch")&&(n.autoBatch=t.autoBatch)}(n,t),s)if(i){var h={};q(Yx,function(v){var A=v?t[v]:t;A&&A.enterFrom&&(v&&(h[v]=h[v]||{}),ft(v?h[v]:h,A.enterFrom))});var f=WP("enter",n,t,e,r);f.duration>0&&n.animateFrom(h,f)}else!function QAt(n,t,e,a,r){if(r){var i=WP("update",n,t,a,e);i.duration>0&&n.animateFrom(r,i)}}(n,t,r||0,e,d);R4(n,t),c?n.dirty():n.markRedraw()}function R4(n,t){for(var e=Om(n).leaveToProps,a=0;a<Yx.length;a++){var r=Yx[a],i=r?t[r]:t;i&&i.leaveTo&&(e||(e=Om(n).leaveToProps={}),r&&(e[r]=e[r]||{}),ft(r?e[r]:e,i.leaveTo))}}
vendor: 4,296 bytes, line 1
1function $x(n,t,e,a){if(n){var r=n.parent,i=Om(n).leaveToProps;if(i){var o=WP("update",n,t,e,0);o.done=function(){r.remove(n),a&&a()},n.animateTo(i,o)}else r.remove(n),a&&a()}}function lu(n){return"all"===n}var eo={},tyt={setTransform:function(n,t){return eo.el[n]=t,this},getTransform:function(n){return eo.el[n]},setShape:function(n,t){var e=eo.el;return(e.shape||(e.shape={}))[n]=t,e.dirtyShape&&e.dirtyShape(),this},getShape:function(n){var t=eo.el.shape;if(t)return t[n]},setStyle:function(n,t){var e=eo.el,a=e.style;return a&&(a[n]=t,e.dirtyStyle&&e.dirtyStyle()),this},getStyle:function(n){var t=eo.el.style;if(t)return t[n]},setExtra:function(n,t){return(eo.el.extra||(eo.el.extra={}))[n]=t,this},getExtra:function(n){var t=eo.el.extra;if(t)return t[n]}};function eyt(){var n=this,t=n.el;if(t){var e=Om(t).userDuring,a=n.userDuring;if(e!==a)return void(n.el=n.userDuring=null);eo.el=t,a(tyt)}}function L4(n,t,e,a){var r=e[n];if(r){var o,i=t[n];if(i){var s=e.transition,l=r.transition;if(l)if(!o&&(o=a[n]={}),lu(l))ft(o,i);else for(var c=Be(l),d=0;d<c.length;d++){var h=i[u=c[d]];o[u]=h}else if(lu(s)||pe(s,n)>=0){!o&&(o=a[n]={});var f=ve(i);for(d=0;d<f.length;d++){var u;h=i[u=f[d]];iyt(r[u],h)&&(o[u]=h)}}}}}function N4(n,t,e){var a=t[n];if(a)for(var r=e[n]={},i=ve(a),o=0;o<i.length;o++){var s=i[o];r[s]=Fv(a[s])}}function iyt(n,t){return _a(n)?n!==t:null!=n&&isFinite(n)}var U4=_e(),oyt=["percent","easing","shape","style","extra"];function F4(n){n.stopAnimation("keyframe"),n.attr(U4(n))}function t1(n,t,e){if(e.isAnimationEnabled()&&t){if(vt(t))return void q(t,function(s){t1(n,s,e)});var a=t.keyframes,r=t.duration;if(e&&null==r){var i=Kh("enter",e,0);r=i&&i.duration}if(a&&r){var o=U4(n);q(Yx,function(s){if(!s||n[s]){var l;a.sort(function(d,u){return d.percent-u.percent}),q(a,function(d){var u=n.animators,h=s?d[s]:d;if(h){var f=ve(h);if(s||(f=Ne(f,function(b){return pe(oyt,b)<0})),f.length){l||((l=n.animate(s,t.loop,!0)).scope="keyframe");for(var v=0;v<u.length;v++)u[v]!==l&&u[v].targetName===l.targetName&&u[v].stopTracks(f);s&&(o[s]=o[s]||{});var A=s?o[s]:o;q(f,function(b){A[b]=((s?n[s]:n)||{})[b]}),l.whenWithKeys(r*d.percent,h,f,d.easing)}}}),l&&l.delay(t.delay||0).duration(r).start(t.easing)}})}}}var ps="emphasis",ql="normal",JP="blur",ZP="select",Hl=[ql,ps,JP,ZP],XP={normal:["itemStyle"],emphasis:[ps,"itemStyle"],blur:[JP,"itemStyle"],select:[ZP,"itemStyle"]},YP={normal:["label"],emphasis:[ps,"label"],blur:[JP,"label"],select:[ZP,"label"]},syt=["x","y"],Hr={normal:{},emphasis:{},blur:{},select:{}},cyt={cartesian2d:function BAt(n){var t=n.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(e){return n.dataToPoint(e)},size:Ut(HAt,n)}}},geo:function GAt(n){var t=n.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:n.getZoom()},api:{coord:function(e){return n.dataToPoint(e)},size:Ut(jAt,n)}}},single:function WAt(n){var t=n.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(e){return n.dataToPoint(e)},size:Ut(KAt,n)}}},polar:function ZAt(n){var t=n.getRadiusAxis(),e=n.getAngleAxis(),a=t.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:n.cx,cy:n.cy,r:a[1],r0:a[0]},api:{coord:function(r){var i=t.dataToRadius(r[0]),o=e.dataToAngle(r[1]),s=n.coordToPoint([i,o]);return s.push(i,o*Math.PI/180),s},size:Ut(JAt,n)}}},calendar:function XAt(n){var t=n.getRect(),e=n.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:n.getCellWidth(),cellHeight:n.getCellHeight(),rangeInfo:{start:e.start,end:e.end,weeks:e.weeks,dayCount:e.allDay}},api:{coord:function(a,r){return n.dataToPoint(a,r)}}}}};function QP(n){return n instanceof fe}function $P(n){return n instanceof Mr}var uyt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r,i){this._progressiveEls=null;var o=this._data,s=e.getData(),l=this.group,c=z4(e,s,a,r);o||l.removeAll(),s.diff(o).add(function(u){nI(r,null,u,c(u,i),e,l,s)}).remove(function(u){var h=o.getItemGraphicEl(u);h&&$x(h,us(h).option,e)}).update(function(u,h){var f=o.getItemGraphicEl(h);nI(r,f,u,c(u,i),e,l,s)}).execute();
vendor: 12,323 bytes, line 1
1var d=e.get("clip",!0)?zA(e.coordinateSystem,!1,e):null;d?l.setClipPath(d):l.removeClipPath(),this._data=s},t.prototype.incrementalPrepareRender=function(e,a,r){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,a,r,i,o){var s=a.getData(),l=z4(a,s,r,i),c=this._progressiveEls=[];function d(f){f.isGroup||(f.incremental=!0,f.ensureState("emphasis").hoverLayer=!0)}for(var u=e.start;u<e.end;u++){var h=nI(null,null,u,l(u,o),a,this.group,s);h&&(h.traverse(d),c.push(h))}},t.prototype.eachRendered=function(e){Il(this._progressiveEls||this.group,e)},t.prototype.filterForExposedEvent=function(e,a,r,i){var o=a.element;if(null==o||r.name===o)return!0;for(;(r=r.__hostTarget||r.parent)&&r!==this.group;)if(r.name===o)return!0;return!1},t.type="custom",t}(nn);const pyt=uyt;function tI(n){var e,t=n.type;if("path"===t){var a=n.shape,r=null!=a.width&&null!=a.height?{x:a.x||0,y:a.y||0,width:a.width,height:a.height}:null,i=j4(a);e=q_(i,null,r,a.layout||"center"),us(e).customPathData=i}else if("image"===t)e=new la({}),us(e).customImagePath=n.style.image;else if("text"===t)e=new Ce({});else if("group"===t)e=new te;else{if("compoundPath"===t)throw new Error('"compoundPath" is not supported yet.');var o=pD(t);if(!o){Ue("")}e=new o}return us(e).customGraphicType=t,e.name=n.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function eI(n,t,e,a,r,i,o){F4(t);var s=r&&r.normal.cfg;s&&t.setTextConfig(s),a&&null==a.transition&&(a.transition=syt);var l=a&&a.style;if(l){if("text"===t.type){var c=l;Vt(c,"textFill")&&(c.fill=c.textFill),Vt(c,"textStroke")&&(c.stroke=c.textStroke)}var d=void 0,u=QP(t)?l.decal:null;n&&u&&(u.dirty=!0,d=fm(u,n)),l.__decalPattern=d}$P(t)&&l&&((d=l.__decalPattern)&&(l.decal=d));Qx(t,a,i,{dataIndex:e,isInit:o,clearStyle:!0}),t1(t,a.keyframeAnimation,i)}function V4(n,t,e,a,r){var i=t.isGroup?null:t,o=r&&r[n].cfg;if(i){var s=i.ensureState(n);if(!1===a){var l=i.getState(n);l&&(l.style=null)}else s.style=a||null;o&&(s.textConfig=o),_d(i)}}function myt(n,t,e){var a=e===ql,r=a?t:e1(t,e),i=r?r.z2:null;null!=i&&((a?n:n.ensureState(e)).z2=i||0)}function z4(n,t,e,a){var r=n.get("renderItem"),i=n.coordinateSystem,o={};i&&(o=i.prepareCustoms?i.prepareCustoms(i):cyt[i.type](i));for(var c,d,s=Kt({getWidth:a.getWidth,getHeight:a.getHeight,getZr:a.getZr,getDevicePixelRatio:a.getDevicePixelRatio,value:function D(Z,X){return null==X&&(X=c),t.getStore().get(t.getDimensionIndex(Z||0),X)},style:function M(Z,X){null==X&&(X=c);var tt=t.getItemVisual(X,"style"),rt=tt&&tt.fill,ot=tt&&tt.opacity,st=S(X,ql).getItemStyle();null!=rt&&(st.fill=rt),null!=ot&&(st.opacity=ot);var gt={inheritColor:Lt(rt)?rt:"#000"},_t=k(X,ql),Mt=tn(_t,null,gt,!1,!0);Mt.text=_t.getShallow("show")?ie(n.getFormattedLabel(X,ql),bm(t,X)):null;var zt=u_(_t,gt,!1);return U(Z,st),st=P4(st,Mt,zt),Z&&N(st,Z),st.legacy=!0,st},ordinalRawValue:function I(Z,X){null==X&&(X=c),Z=Z||0;var tt=t.getDimensionInfo(Z);if(!tt){var rt=t.getDimensionIndex(Z);return rt>=0?t.getStore().get(rt,X):void 0}var ot=t.get(tt.name,X),st=tt&&tt.ordinalMeta;return st?st.categories[ot]:ot},styleEmphasis:function R(Z,X){null==X&&(X=c);var tt=S(X,ps).getItemStyle(),rt=k(X,ps),ot=tn(rt,null,null,!0,!0);ot.text=rt.getShallow("show")?Ni(n.getFormattedLabel(X,ps),n.getFormattedLabel(X,ql),bm(t,X)):null;var st=u_(rt,null,!0);return U(Z,tt),tt=P4(tt,ot,st),Z&&N(tt,Z),tt.legacy=!0,tt},visual:function z(Z,X){if(null==X&&(X=c),Vt(k4,Z)){var tt=t.getItemVisual(X,"style");return tt?tt[k4[Z]]:null}if(Vt(zAt,Z))return t.getItemVisual(X,Z)},barLayout:function B(Z){if("cartesian2d"===i.type){return function Nct(n){var t=[],e=n.axis,a="axis0";if("category"===e.type){for(var r=e.getBandWidth(),i=0;i<n.count;i++)t.push(Kt({bandWidth:r,axisKey:a,stackId:oT+i},n));var o=b6(t),s=[];for(i=0;i<n.count;i++){var l=o[a][oT+i];l.offsetCenter=l.offset+l.width/2,s.push(l)}return s}}(Kt({axis:i.getBaseAxis()},Z))}},currentSeriesIndices:function K(){return e.getCurrentSeriesIndices()},font:function W(Z){return SC(Z,e)}},o.api||{}),l={context:{},seriesId:n.id,seriesName:n.name,seriesIndex:n.seriesIndex,coordSys:o.coordSys,dataInsideLength:t.count(),encode:fyt(n.getData())},u={},h={},f={},v={},A=0;A<Hl.length;A++){var b=Hl[A];f[b]=n.getModel(XP[b]),v[b]=n.getModel(YP[b])}function x(Z){return Z===c?d||(d=t.getItemModel(Z)):t.getItemModel(Z)}function S(Z,X){return t.hasItemOption?Z===c?u[X]||(u[X]=x(Z).getModel(XP[X])):x(Z).getModel(XP[X]):f[X]}function k(Z,X){return t.hasItemOption?Z===c?h[X]||(h[X]=x(Z).getModel(YP[X])):x(Z).getModel(YP[X]):v[X]}return function(Z,X){return c=Z,d=null,u={},h={},r&&r(Kt({dataIndexInside:Z,dataIndex:t.getRawIndex(Z),actionType:X?X.type:null},l),s)};function N(Z,X){for(var tt in X)Vt(X,tt)&&(Z[tt]=X[tt])}function U(Z,X){Z&&(Z.textFill&&(X.textFill=Z.textFill),Z.textPosition&&(X.textPosition=Z.textPosition))}}function fyt(n){var t={};return q(n.dimensions,function(e){var a=n.getDimensionInfo(e);if(!a.isExtraCoord){var r=a.coordDim;(t[r]=t[r]||[])[a.coordDimIndex]=n.getDimensionIndex(e)}}),t}function nI(n,t,e,a,r,i,o){if(a){var s=aI(n,t,e,a,r,i);return s&&o.setItemGraphicEl(e,s),s&&An(s,a.focus,a.blurScope,a.emphasisDisabled),s}i.remove(t)}function aI(n,t,e,a,r,i){var o=-1,s=t;t&&E4(t,a,r)&&(o=pe(i.childrenRef(),t),t=null);var l=!t,c=t;c?c.clearStates():(c=tI(a),s&&function dyt(n,t){t.copyTransform(n),$P(t)&&$P(n)&&(t.setStyle(n.style),t.z=n.z,t.z2=n.z2,t.zlevel=n.zlevel,t.invisible=n.invisible,t.ignore=n.ignore,QP(t)&&QP(n)&&t.setShape(n.shape))}(s,c)),!1===a.morph?c.disableMorphing=!0:c.disableMorphing&&(c.disableMorphing=!1),Hr.normal.cfg=Hr.normal.conOpt=Hr.emphasis.cfg=Hr.emphasis.conOpt=Hr.blur.cfg=Hr.blur.conOpt=Hr.select.cfg=Hr.select.conOpt=null,Hr.isLegacy=!1,function vyt(n,t,e,a,r,i){if(!n.isGroup){q4(e,null,i),q4(e,ps,i);var o=i.normal.conOpt,s=i.emphasis.conOpt,l=i.blur.conOpt,c=i.select.conOpt;if(null!=o||null!=s||null!=c||null!=l){var d=n.getTextContent();if(!1===o)d&&n.removeTextContent();else{o=i.normal.conOpt=o||{type:"text"},d?d.clearStates():(d=tI(o),n.setTextContent(d)),eI(null,d,t,o,null,a,r);for(var u=o&&o.style,h=0;h<Hl.length;h++){var f=Hl[h];if(f!==ql){var v=i[f].conOpt;V4(f,d,0,rI(o,v,f),null)}}u?d.dirty():d.markRedraw()}}}}(c,e,a,r,l,Hr),function gyt(n,t,e,a,r){var i=e.clipPath;if(!1===i)n&&n.getClipPath()&&n.removeClipPath();else if(i){var o=n.getClipPath();o&&E4(o,i,a)&&(o=null),o||(o=tI(i),n.setClipPath(o)),eI(null,o,t,i,null,a,r)}}(c,e,a,r,l),eI(n,c,e,a,Hr,r,l),Vt(a,"info")&&(us(c).info=a.info);for(var d=0;d<Hl.length;d++){var u=Hl[d];if(u!==ql){var h=e1(a,u);V4(u,c,0,rI(a,h,u),Hr)}}return function hyt(n,t,e){if(!n.isGroup){var a=n,r=e.currentZ,i=e.currentZLevel;a.z=r,a.zlevel=i;var o=t.z2;null!=o&&(a.z2=o||0);for(var s=0;s<Hl.length;s++)myt(a,t,Hl[s])}}(c,a,r),"group"===a.type&&function Ayt(n,t,e,a,r){var i=a.children,o=i?i.length:0,s=a.$mergeChildren,l="byName"===s||a.diffChildrenByName,c=!1===s;if(o||l||c){if(l)return void function byt(n){new is(n.oldChildren,n.newChildren,H4,H4,n).add(B4).update(B4).remove(_yt).execute()}({api:n,oldChildren:t.children()||[],newChildren:i||[],dataIndex:e,seriesModel:r,group:t});c&&t.removeAll();for(var d=0;d<o;d++){var u=i[d],h=t.childAt(d);u?(null==u.ignore&&(u.ignore=!1),aI(n,h,e,u,r,t)):h.ignore=!0}for(var f=t.childCount()-1;f>=d;f--){var v=t.childAt(f);yyt(t,v,r)}}}(n,c,e,a,r),o>=0?i.replaceAt(c,o):i.add(c),c}function E4(n,t,e){var a=us(n),r=t.type,i=t.shape,o=t.style;return e.isUniversalTransitionEnabled()||null!=r&&r!==a.customGraphicType||"path"===r&&function xyt(n){return n&&(Vt(n,"pathData")||Vt(n,"d"))}(i)&&j4(i)!==a.customPathData||"image"===r&&Vt(o,"image")&&o.image!==a.customImagePath}function q4(n,t,e){var a=t?e1(n,t):n,r=t?rI(n,a,ps):n.style,i=n.type,o=a?a.textConfig:null,s=n.textContent,l=s?t?e1(s,t):s:null;if(r&&(e.isLegacy||C4(r,i,!!o,!!l))){e.isLegacy=!0;var c=D4(r,i,!t);!o&&c.textConfig&&(o=c.textConfig),!l&&c.textContent&&(l=c.textContent)}if(!t&&l){var d=l;!d.type&&(d.type="text")}var u=t?e[t]:e.normal;u.cfg=o,u.conOpt=l}function e1(n,t){return t?n?n[t]:null:n}function rI(n,t,e){var a=t&&t.style;return null==a&&e===ps&&n&&(a=n.styleEmphasis),a}function yyt(n,t,e){t&&$x(t,us(n).option,e)}function H4(n,t){return(n&&n.name)??"e\0\0"+t}function B4(n,t){var e=this.context,a=null!=n?e.newChildren[n]:null,r=null!=t?e.oldChildren[t]:null;aI(e.api,r,e.dataIndex,a,e.seriesModel,e.group)}function _yt(n){var t=this.context,e=t.oldChildren[n];e&&$x(e,us(e).option,t.seriesModel)}function j4(n){return n&&(n.pathData||n.d)}var cu=_e(),G4=Yt,iI=Ut,wyt=function(){function n(){this._dragging=!1,this.animationThreshold=15}return n.prototype.render=function(t,e,a,r){var i=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=a,r||this._lastValue!==i||this._lastStatus!==o){this._lastValue=i,this._lastStatus=o;var s=this._group,l=this._handle;if(!o||"hide"===o)return s&&s.hide(),void(l&&l.hide());s&&s.show(),l&&l.show();var c={};this.makeElOption(c,i,t,e,a);var d=c.graphicKey;d!==this._lastGraphicKey&&this.clear(a),this._lastGraphicKey=d;var u=this._moveAnimation=this.determineAnimation(t,e);if(s){var h=se(K4,e,u);this.updatePointerEl(s,c,h),this.updateLabelEl(s,c,h,e)}else s=this._group=new te,this.createPointerEl(s,c,t,e),this.createLabelEl(s,c,t,e),a.getZr().add(s);Z4(s,e,!0),this._renderHandle(i)}},n.prototype.remove=function(t){this.clear(t)},n.prototype.dispose=function(t){this.clear(t)},n.prototype.determineAnimation=function(t,e){var a=e.get("animation"),r=t.axis,i="category"===r.type,o=e.get("snap");if(!o&&!i)return!1;if("auto"===a||null==a){var s=this.animationThreshold;if(i&&r.getBandWidth()>s)return!0;if(o){var l=CT(t).seriesDataCount,c=r.getExtent();return Math.abs(c[0]-c[1])/l>s}return!1}return!0===a},n.prototype.makeElOption=function(t,e,a,r,i){},n.prototype.createPointerEl=function(t,e,a,r){var i=e.pointer;if(i){var o=cu(t).pointerEl=new lt[i.type](G4(e.pointer));t.add(o)}},n.prototype.createLabelEl=function(t,e,a,r){if(e.label){var i=cu(t).labelEl=new Ce(G4(e.label));t.add(i),J4(i,r)}},n.prototype.updatePointerEl=function(t,e,a){var r=cu(t).pointerEl;r&&e.pointer&&(r.setStyle(e.pointer.style),a(r,{shape:e.pointer.shape}))},n.prototype.updateLabelEl=function(t,e,a,r){var i=cu(t).labelEl;i&&(i.setStyle(e.label.style),a(i,{x:e.label.x,y:e.label.y}),J4(i,r))},n.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var s,e=this._axisPointerModel,a=this._api.getZr(),r=this._handle,i=e.getModel("handle"),o=e.get("status");if(!i.get("show")||!o||"hide"===o)return r&&a.remove(r),void(this._handle=null);this._handle||(s=!0,r=this._handle=vA(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(c){Wo(c.event)},onmousedown:iI(this._onHandleDragMove,this,0,0),drift:iI(this._onHandleDragMove,this),ondragend:iI(this._onHandleDragEnd,this)}),a.add(r)),Z4(r,e,!1),r.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=i.get("size");vt(l)||(l=[l,l]),r.scaleX=l[0]/2,r.scaleY=l[1]/2,um(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},n.prototype._moveHandleToValue=function(t,e){K4(this._axisPointerModel,!e&&this._moveAnimation,this._handle,oI(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},n.prototype._onHandleDragMove=function(t,e){var a=this._handle;if(a){this._dragging=!0;var r=this.updateHandleTransform(oI(a),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=r,a.stopAnimation(),a.attr(oI(r)),cu(a).lastProp=null,this._doDispatchAxisPointer()}},n.prototype._doDispatchAxisPointer=function(){if(this._handle){var e=this._payloadInfo,a=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:a.axis.dim,axisIndex:a.componentIndex}]})}},n.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},n.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),a=this._group,r=this._handle;e&&a&&(this._lastGraphicKey=null,a&&e.remove(a),r&&e.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),yA(this,"_doDispat
1chAxisPointer")},n.prototype.doClear=function(){},n.prototype.buildLabel=function(t,e,a){return{x:t[a=a||0],y:t[1-a],width:e[a],height:e[1-a]}},n}();function K4(n,t,e,a){W4(cu(e).lastProp,a)||(cu(e).lastProp=a,t?Te(e,a,n):(e.stopAnimation(),e.attr(a)))}function W4(n,t){if(Xt(n)&&Xt(t)){var e=!0;return q(t,function(a,r){e=e&&W4(n[r],a)}),!!e}return n===t}function J4(n,t){n[t.get(["label","show"])?"show":"hide"]()}function oI(n){return{x:n.x||0,y:n.y||0,rotation:n.rotation||0}}function Z4(n,t,e){var a=t.get("z"),r=t.get("zlevel");n&&n.traverse(function(i){"group"!==i.type&&(null!=a&&(i.z=a),null!=r&&(i.zlevel=r),i.silent=e)})}const sI=wyt;function lI(n){var a,t=n.get("type"),e=n.getModel(t+"Style");return"line"===t?(a=e.getLineStyle()).fill=null:"shadow"===t&&((a=e.getAreaStyle()).stroke=null),a}function X4(n,t,e,a,r){var o=Y4(e.get("value"),t.axis,t.ecModel,e.get("seriesDataIndices"),{precision:e.get(["label","precision"]),formatter:e.get(["label","formatter"])}),s=e.getModel("label"),l=$h(s.get("padding")||0),c=s.getFont(),d=Ev(o,c),u=r.position,h=d.width+l[1]+l[3],f=d.height+l[0]+l[2],v=r.align;"right"===v&&(u[0]-=h),"center"===v&&(u[0]-=h/2);var A=r.verticalAlign;"bottom"===A&&(u[1]-=f),"middle"===A&&(u[1]-=f/2),function kyt(n,t,e,a){var r=a.getWidth(),i=a.getHeight();n[0]=Math.min(n[0]+t,r)-t,n[1]=Math.min(n[1]+e,i)-e,n[0]=Math.max(n[0],0),n[1]=Math.max(n[1],0)}(u,h,f,a);var b=s.get("backgroundColor");(!b||"auto"===b)&&(b=t.get(["axisLine","lineStyle","color"])),n.label={x:u[0],y:u[1],style:tn(s,{text:o,font:c,fill:s.getTextColor(),padding:l,backgroundColor:b}),z2:10}}function Y4(n,t,e,a,r){n=t.scale.parse(n);var i=t.scale.getLabel({value:n},{precision:r.precision}),o=r.formatter;if(o){var s={value:yT(t,{value:n}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};q(a,function(l){var c=e.getSeriesByIndex(l.seriesIndex),d=l.dataIndexInside,u=c&&c.getDataParams(d);u&&s.seriesData.push(u)}),Lt(o)?i=o.replace("{value}",i):jt(o)&&(i=o(s))}return i}function cI(n,t,e){var a=[1,0,0,1,0,0];return $c(a,a,e.rotation),Ui(a,a,e.position),di([n.dataToCoord(t),(e.labelOffset||0)+(e.labelDirection||1)*(e.labelMargin||0)],a)}function Q4(n,t,e,a,r,i){var o=ls.innerTextLayout(e.rotation,0,e.labelDirection);e.labelMargin=r.get(["label","margin"]),X4(t,a,r,i,{position:cI(a.axis,n,e),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function dI(n,t,e){return{x1:n[e=e||0],y1:n[1-e],x2:t[e],y2:t[1-e]}}function $4(n,t,e){return{x:n[e=e||0],y:n[1-e],width:t[e],height:t[1-e]}}function tq(n,t,e,a,r,i){return{cx:n,cy:t,r0:e,r:a,startAngle:r,endAngle:i,clockwise:!0}}var Cyt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.prototype.makeElOption=function(e,a,r,i,o){var s=r.axis,l=s.grid,c=i.get("type"),d=eq(l,s).getOtherAxis(s).getGlobalExtent(),u=s.toGlobalCoord(s.dataToCoord(a,!0));if(c&&"none"!==c){var h=lI(i),f=Dyt[c](s,u,d);f.style=h,e.graphicKey=f.type,e.pointer=f}Q4(a,e,xT(l.model,r),r,i,o)},t.prototype.getHandleTransform=function(e,a,r){var i=xT(a.axis.grid.model,a,{labelInside:!1});i.labelMargin=r.get(["handle","margin"]);var o=cI(a.axis,e,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,a,r,i){var o=r.axis,s=o.grid,l=o.getGlobalExtent(!0),c=eq(s,o).getOtherAxis(o).getGlobalExtent(),d="x"===o.dim?0:1,u=[e.x,e.y];u[d]+=a[d],u[d]=Math.min(l[1],u[d]),u[d]=Math.max(l[0],u[d]);var h=(c[1]+c[0])/2,f=[h,h];f[d]=u[d];return{x:u[0],y:u[1],rotation:e.rotation,cursorPoint:f,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][d]}},t}(sI);function eq(n,t){var e={};return e[t.dim+"AxisIndex"]=t.index,n.getCartesian(e)}var Dyt={line:function(n,t,e){return{type:"Line",subPixelOptimize:!0,shape:dI([t,e[0]],[t,e[1]],nq(n))}},shadow:function(n,t,e){var a=Math.max(1,n.getBandWidth()),r=e[1]-e[0];return{type:"Rect",shape:$4([t-a/2,e[0]],[a,r],nq(n))}}};function nq(n){return"x"===n.dim?0:1}const Tyt=Cyt;var Pyt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(De);const Iyt=Pyt;var hs=_e(),Myt=q;function aq(n,t,e){if(!we.node){var a=t.getZr();hs(a).records||(hs(a).records={}),function Oyt(n,t){if(hs(n).initialized)return;function e(a,r){n.on(a,function(i){var o=function Nyt(n){var t={showTip:[],hideTip:[]},e=function(a){var r=t[a.type];r?r.push(a):(a.dispatchAction=e,n.dispatchAction(a))};return{dispatchAction:e,pendings:t}}(t);Myt(hs(n).records,function(s){s&&r(s,i,o.dispatchAction)}),function Ryt(n,t){var r,e=n.showTip.length,a=n.hideTip.length;e?r=n.showTip[e-1]:a&&(r=n.hideTip[a-1]),r&&(r.dispatchAction=null,t.dispatchAction(r))}(o.pendings,t)})}
vendor: 4,543 bytes, line 1
1hs(n).initialized=!0,e("click",se(rq,"click")),e("mousemove",se(rq,"mousemove")),e("globalout",Lyt)}(a,t),(hs(a).records[n]||(hs(a).records[n]={})).handler=e}}function Lyt(n,t,e){n.handler("leave",null,e)}function rq(n,t,e,a){t.handler(n,e,a)}function uI(n,t){if(!we.node){var e=t.getZr();(hs(e).records||{})[n]&&(hs(e).records[n]=null)}}var Uyt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r){var i=a.getComponent("tooltip"),o=e.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";aq("axisPointer",r,function(s,l,c){"none"!==o&&("leave"===s||o.indexOf(s)>=0)&&c({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},t.prototype.remove=function(e,a){uI("axisPointer",a)},t.prototype.dispose=function(e,a){uI("axisPointer",a)},t.type="axisPointer",t}(xn);const Fyt=Uyt;function iq(n,t){var r,e=[],a=n.seriesIndex;if(null==a||!(r=t.getSeriesByIndex(a)))return{point:[]};var i=r.getData(),o=cd(i,n);if(null==o||o<0||vt(o))return{point:[]};var s=i.getItemGraphicEl(o),l=r.coordinateSystem;if(r.getTooltipPosition)e=r.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(n.isStacked){var c=l.getBaseAxis(),u=l.getOtherAxis(c).dim,h=c.dim,f="x"===u||"radius"===u?1:0,v=i.mapDimension(h),A=[];A[f]=i.get(v,o),A[1-f]=i.get(i.getCalculationInfo("stackResultDimension"),o),e=l.dataToPoint(A)||[]}else e=l.dataToPoint(i.getValues(At(l.dimensions,function(x){return i.mapDimension(x)}),o))||[];else if(s){var b=s.getBoundingRect().clone();b.applyTransform(s.transform),e=[b.x+b.width/2,b.y+b.height/2]}return{point:e,el:s}}var oq=_e();function Vyt(n,t,e){var a=n.currTrigger,r=[n.x,n.y],i=n,o=n.dispatchAction||Ut(e.dispatchAction,e),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){n1(r)&&(r=iq({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},t).point);var l=n1(r),c=i.axesInfo,d=s.axesInfo,u="leave"===a||n1(r),h={},f={},v={list:[],map:{}},A={showPointer:se(Eyt,f),showTooltip:se(qyt,v)};q(s.coordSysMap,function(x,S){var k=l||x.containPoint(r);q(s.coordSysAxesInfo[S],function(D,I){var M=D.axis,R=function Gyt(n,t){for(var e=0;e<(n||[]).length;e++){var a=n[e];if(t.axis.dim===a.axisDim&&t.axis.model.componentIndex===a.axisIndex)return a}}(c,D);if(!u&&k&&(!c||R)){var N=R&&R.value;null==N&&!l&&(N=M.pointToData(r)),null!=N&&sq(D,N,A,!1,h)}})});var b={};return q(d,function(x,S){var k=x.linkGroup;k&&!f[S]&&q(k.axesInfo,function(D,I){var M=f[I];if(D!==x&&M){var R=M.value;k.mapper&&(R=x.axis.scale.parse(k.mapper(R,lq(D),lq(x)))),b[x.key]=R}})}),q(b,function(x,S){sq(d[S],x,A,!0,h)}),function Hyt(n,t,e){var a=e.axesInfo=[];q(t,function(r,i){var o=r.axisPointerModel.option,s=n[i];s?(!r.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!r.useHandle&&(o.status="hide"),"show"===o.status&&a.push({axisDim:r.axis.dim,axisIndex:r.axis.model.componentIndex,value:o.value})})}(f,d,h),function Byt(n,t,e,a){if(n1(t)||!n.list.length)return void a({type:"hideTip"});var r=((n.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};a({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:e.tooltipOption,position:e.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:n.list})}(v,r,n,o),function jyt(n,t,e){var a=e.getZr(),r="axisPointerLastHighlights",i=oq(a)[r]||{},o=oq(a)[r]={};q(n,function(c,d){var u=c.axisPointerModel.option;"show"===u.status&&c.triggerEmphasis&&q(u.seriesDataIndices,function(h){var f=h.seriesIndex+" | "+h.dataIndex;o[f]=h})});var s=[],l=[];q(i,function(c,d){!o[d]&&l.push(c)}),q(o,function(c,d){!i[d]&&s.push(c)}),l.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(d,0,e),h}}function sq(n,t,e,a,r){var i=n.axis;if(!i.scale.isBlank()&&i.containData(t)){if(!n.involveSeries)return void e.showPointer(n,t);var o=function zyt(n,t){var e=t.axis,a=e.dim,r=n,i=[],o=Number.MAX_VALUE,s=-1;return q(t.seriesModels,function(l,c){var u,h,d=l.getData().mapDimensionsAll(a);if(l.getAxisTooltipData){var f=l.getAxisTooltipData(d,n,e);h=f.dataIndices,u=f.nestestValue}else{if(!(h=l.getData().indicesOfNearest(d[0],n,"category"===e.type?.5:null)).length)return;u=l.getData().get(d[0],h[0])}if(null!=u&&isFinite(u)){var v=n-u,A=Math.abs(v);A<=o&&((A<o||v>=0&&s<0)&&(o=A,s=v,r=u,i.length=0),q(h,function(b){i.push({seriesIndex:l.seriesIndex,dataIndexInside:b,dataIndex:l.getData().getRawIndex(b)})}
vendor: 4,138 bytes, line 1
1))}}),{payloadBatch:i,snapToValue:r}}(t,n),s=o.payloadBatch,l=o.snapToValue;s[0]&&null==r.seriesIndex&&ft(r,s[0]),!a&&n.snap&&i.containData(l)&&null!=l&&(t=l),e.showPointer(n,t,s),e.showTooltip(n,o,l)}}function Eyt(n,t,e,a){n[t.key]={value:e,payloadBatch:a}}function qyt(n,t,e,a){var r=e.payloadBatch,i=t.axis,o=i.model,s=t.axisPointerModel;if(t.triggerTooltip&&r.length){var l=t.coordSys.model,c=KA(l),d=n.map[c];d||(d=n.map[c]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},n.list.push(d)),d.dataByAxis.push({axisDim:i.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:a,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function lq(n){var t=n.axis.model,e={},a=e.axisDim=n.axis.dim;return e.axisIndex=e[a+"AxisIndex"]=t.componentIndex,e.axisName=e[a+"AxisName"]=t.name,e.axisId=e[a+"AxisId"]=t.id,e}function n1(n){return!n||null==n[0]||isNaN(n[0])||null==n[1]||isNaN(n[1])}function dy(n){Qd.registerAxisPointerClass("CartesianAxisPointer",Tyt),n.registerComponentModel(Iyt),n.registerComponentView(Fyt),n.registerPreprocessor(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!vt(e)&&(t.axisPointer.link=[e])}}),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=kut(t,e)}),n.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},Vyt)}var Wyt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.prototype.makeElOption=function(e,a,r,i,o){var s=r.axis;"angle"===s.dim&&(this.animationThreshold=Math.PI/18);var l=s.polar,d=l.getOtherAxis(s).getExtent(),u=s.dataToCoord(a),h=i.get("type");if(h&&"none"!==h){var f=lI(i),v=Zyt[h](s,l,u,d);v.style=f,e.graphicKey=v.type,e.pointer=v}var b=function Jyt(n,t,e,a,r){var i=t.axis,o=i.dataToCoord(n),s=a.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var c,d,u,l=a.getRadiusAxis().getExtent();if("radius"===i.dim){var h=[1,0,0,1,0,0];$c(h,h,s),Ui(h,h,[a.cx,a.cy]),c=di([o,-r],h);var f=t.getModel("axisLabel").get("rotate")||0,v=ls.innerTextLayout(s,f*Math.PI/180,-1);d=v.textAlign,u=v.textVerticalAlign}else{var A=l[1];c=a.coordToPoint([A+r,o]);var b=a.cx,x=a.cy;d=Math.abs(c[0]-b)/A<.3?"center":c[0]>b?"left":"right",u=Math.abs(c[1]-x)/A<.3?"middle":c[1]>x?"top":"bottom"}return{position:c,align:d,verticalAlign:u}}(a,r,0,l,i.get(["label","margin"]));X4(e,r,i,o,b)},t}(sI);var Zyt={line:function(n,t,e,a){return"angle"===n.dim?{type:"Line",shape:dI(t.coordToPoint([a[0],e]),t.coordToPoint([a[1],e]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:e}}},shadow:function(n,t,e,a){var r=Math.max(1,n.getBandWidth()),i=Math.PI/180;return"angle"===n.dim?{type:"Sector",shape:tq(t.cx,t.cy,a[0],a[1],(-e-r/2)*i,(r/2-e)*i)}:{type:"Sector",shape:tq(t.cx,t.cy,e-r/2,e+r/2,0,2*Math.PI)}}};const Xyt=Wyt;var Yyt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.findAxisModel=function(e){var a;return this.ecModel.eachComponent(e,function(i){i.getCoordSysModel()===this&&(a=i)},this),a},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(De);const Qyt=Yyt;var pI=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",On).models[0]},t.type="polarAxis",t}(De);Mn(pI,BA);var $yt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.type="angleAxis",t}(pI),tbt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.type="radiusAxis",t}(pI),hI=function(n){function t(e,a){return n.call(this,"radius",e,a)||this}return pt(t,n),t.prototype.pointToData=function(e,a){return this.polar.pointToData(e,a)["radius"===this.dim?0:1]},t}(fi);hI.prototype.dataToRadius=fi.prototype.dataToCoord,hI.prototype.radiu
vendor: 4,988 bytes, line 1
1sToData=fi.prototype.coordToData;const ebt=hI;var nbt=_e(),mI=function(n){function t(e,a){return n.call(this,"angle",e,a||[0,360])||this}return pt(t,n),t.prototype.pointToData=function(e,a){return this.polar.pointToData(e,a)["radius"===this.dim?0:1]},t.prototype.calculateCategoryInterval=function(){var e=this,a=e.getLabelModel(),r=e.scale,i=r.getExtent(),o=r.count();if(i[1]-i[0]<1)return 0;var s=i[0],l=e.dataToCoord(s+1)-e.dataToCoord(s),c=Math.abs(l),d=Ev(null==s?"":s+"",a.getFont(),"center","top"),h=Math.max(d.height,7)/c;isNaN(h)&&(h=1/0);var f=Math.max(0,Math.floor(h)),v=nbt(e.model),A=v.lastAutoInterval,b=v.lastTickCount;return null!=A&&null!=b&&Math.abs(A-f)<=1&&Math.abs(b-o)<=1&&A>f?f=A:(v.lastTickCount=o,v.lastAutoInterval=f),f},t}(fi);mI.prototype.dataToAngle=fi.prototype.dataToCoord,mI.prototype.angleToData=fi.prototype.coordToData;const abt=mI;var cq=["radius","angle"],rbt=function(){function n(t){this.dimensions=cq,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new ebt,this._angleAxis=new abt,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return n.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},n.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},n.prototype.getAxis=function(t){return this["_"+t+"Axis"]},n.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},n.prototype.getAxesByScale=function(t){var e=[],a=this._angleAxis,r=this._radiusAxis;return a.scale.type===t&&e.push(a),r.scale.type===t&&e.push(r),e},n.prototype.getAngleAxis=function(){return this._angleAxis},n.prototype.getRadiusAxis=function(){return this._radiusAxis},n.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},n.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},n.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},n.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},n.prototype.pointToData=function(t,e){var a=this.pointToCoord(t);return[this._radiusAxis.radiusToData(a[0],e),this._angleAxis.angleToData(a[1],e)]},n.prototype.pointToCoord=function(t){var e=t[0]-this.cx,a=t[1]-this.cy,r=this.getAngleAxis(),i=r.getExtent(),o=Math.min(i[0],i[1]),s=Math.max(i[0],i[1]);r.inverse?o=s-360:s=o+360;var l=Math.sqrt(e*e+a*a);e/=l,a/=l;for(var c=Math.atan2(-a,e)/Math.PI*180,d=c<o?1:-1;c<o||c>s;)c+=360*d;return[l,c]},n.prototype.coordToPoint=function(t){var e=t[0],a=t[1]/180*Math.PI;return[Math.cos(a)*e+this.cx,-Math.sin(a)*e+this.cy]},n.prototype.getArea=function(){var t=this.getAngleAxis(),a=this.getRadiusAxis().getExtent().slice();a[0]>a[1]&&a.reverse();var r=t.getExtent(),i=Math.PI/180,o=1e-4;return{cx:this.cx,cy:this.cy,r0:a[0],r:a[1],startAngle:-r[0]*i,endAngle:-r[1]*i,clockwise:t.inverse,contain:function(s,l){var c=s-this.cx,d=l-this.cy,u=c*c+d*d,h=this.r,f=this.r0;return h!==f&&u-o<=h*h&&u+o>=f*f}}},n.prototype.convertToPixel=function(t,e,a){return dq(e)===this?this.dataToPoint(a):null},n.prototype.convertFromPixel=function(t,e,a){return dq(e)===this?this.pointToData(a):null},n}();function dq(n){var t=n.seriesModel,e=n.polarModel;return e&&e.coordinateSystem||t&&t.coordinateSystem}const ibt=rbt;function sbt(n,t){var e=this,a=e.getAngleAxis(),r=e.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),n.eachSeries(function(s){if(s.coordinateSystem===e){var l=s.getData();q(Ix(l,"radius"),function(c){r.scale.unionExtentFromData(l,c)}),q(Ix(l,"angle"),function(c){a.scale.unionExtentFromData(l,c)})}}),Sm(a.scale,a.model),Sm(r.scale,r.model),"category"===a.type&&!a.onBand){var i=a.getExtent(),o=360/a.scale.count();a.inverse?i[1]+=o:i[1]-=o,a.setExtent(i[0],i[1])}}function uq(n,t){var e;if(n.type=t.get("type"),n.scale=Px(t),n.onBand=t.get("boundaryGap")&&"category"===n.type,n.inverse=t.get("inverse"),function lbt(n){return"angleAxis"===n.mainType}(t)){n.inverse=n.inverse!==t.get("clockwise");var a=t.get("startAngle"),r=null!==(e=t.get("endAngle"))&&void 0!==e?e:a+(n.inverse?-360:360);n.setExtent(a,r)}t.axis=n,n.model=t}var cbt={dimensions:cq,create:function(n,t){var e=[];return n.eachComponent("polar",function(a,r){var i=new ibt(r+"");i.update=sbt;var o=i.getRadiusAxis(),s=i.getAngleAxis(),l=a.findAxisModel("radiusAxis"),c=a.findAxisModel("angleAxis");uq(o,l),uq(s,c),function obt(n,t,e){var a=t.get("center"),r=e.getWidth(),i=e.getHeight();n.cx=Ot(a[0],r),n.cy=Ot(a[1],i);var o=n.getRadiusAxis(),s=Math.min(r,i)/2,l=t.get("radius");null==l?l=[0,"100%"]:vt(l)||(l=[0,l]);var c=[Ot(l[0],s),Ot(l[1],s)];o.inverse?o.setExtent(c[1],c[0]):o.setExtent(c[0],c[1])}(i,a,t),e.push(i),a.coordinateSystem=i,i.model=a}
vendor: 2,728 bytes, line 1
1),n.eachSeries(function(a){if("polar"===a.get("coordinateSystem")){var r=a.getReferringComponents("polar",On).models[0];a.coordinateSystem=r.coordinateSystem}}),e}};const dbt=cbt;var ubt=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function a1(n,t,e){t[1]>t[0]&&(t=t.slice().reverse());var a=n.coordToPoint([t[0],e]),r=n.coordToPoint([t[1],e]);return{x1:a[0],y1:a[1],x2:r[0],y2:r[1]}}function r1(n){return n.getRadiusAxis().inverse?0:1}function pq(n){var t=n[0],e=n[n.length-1];t&&e&&Math.abs(Math.abs(t.coord-e.coord)-360)<1e-4&&n.pop()}var pbt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="PolarAxisPointer",e}return pt(t,n),t.prototype.render=function(e,a){if(this.group.removeAll(),e.get("show")){var r=e.axis,i=r.polar,o=i.getRadiusAxis().getExtent(),s=r.getTicksCoords(),l=r.getMinorTicksCoords(),c=At(r.getViewLabels(),function(d){d=Yt(d);var u=r.scale,h="ordinal"===u.type?u.getRawOrdinalNumber(d.tickValue):d.tickValue;return d.coord=r.dataToCoord(h),d});pq(c),pq(s),q(ubt,function(d){e.get([d,"show"])&&(!r.scale.isBlank()||"axisLine"===d)&&hbt[d](this.group,e,i,s,l,o,c)},this)}},t.type="angleAxis",t}(Qd),hbt={axisLine:function(n,t,e,a,r,i){var h,o=t.getModel(["axisLine","lineStyle"]),s=e.getAngleAxis(),l=Math.PI/180,c=s.getExtent(),d=r1(e),u=d?0:1,f=360===Math.abs(c[1]-c[0])?"Circle":"Arc";(h=0===i[u]?new lt[f]({shape:{cx:e.cx,cy:e.cy,r:i[d],startAngle:-c[0]*l,endAngle:-c[1]*l,clockwise:s.inverse},style:o.getLineStyle(),z2:1,silent:!0}):new L_({shape:{cx:e.cx,cy:e.cy,r:i[d],r0:i[u]},style:o.getLineStyle(),z2:1,silent:!0})).style.fill=null,n.add(h)},axisTick:function(n,t,e,a,r,i){var o=t.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),l=i[r1(e)],c=At(a,function(d){return new ea({shape:a1(e,[l,l+s],d.coord)})});n.add(Fr(c,{style:Kt(o.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(n,t,e,a,r,i){if(r.length){for(var o=t.getModel("axisTick"),s=t.getModel("minorTick"),l=(o.get("inside")?-1:1)*s.get("length"),c=i[r1(e)],d=[],u=0;u<r.length;u++)for(var h=0;h<r[u].length;h++)d.push(new ea({shape:a1(e,[c,c+l],r[u][h].coord)}));n.add(Fr(d,{style:Kt(s.getModel("lineStyle").getLineStyle(),Kt(o.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(n,t,e,a,r,i,o){var s=t.getCategories(!0),l=t.getModel("axisLabel"),c=l.get("margin"),d=t.get("triggerEvent");q(o,function(u,h){var f=l,v=u.tickValue,A=i[r1(e)],b=e.coordToPoint([A+c,u.coord]),x=e.cx,S=e.cy,k=Math.abs(b[0]-x)/A<.3?"center":b[0]>x?"left":"right",D=Math.abs(b[1]-S)/A<.3?"middle":b[1]>S?"top":"bottom";if(s&&s[v]){var I=s[v];
vendor: 13,882 bytes, line 1
1Xt(I)&&I.textStyle&&(f=new en(I.textStyle,l,l.ecModel))}var M=new Ce({silent:ls.isLabelSilent(t),style:tn(f,{x:b[0],y:b[1],fill:f.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:u.formattedLabel,align:k,verticalAlign:D})});if(n.add(M),d){var R=ls.makeAxisEventDataBase(t);R.targetType="axisLabel",R.value=u.rawLabel,ee(M).eventData=R}},this)},splitLine:function(n,t,e,a,r,i){var s=t.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),c=0;l=l instanceof Array?l:[l];for(var d=[],u=0;u<a.length;u++){var h=c++%l.length;d[h]=d[h]||[],d[h].push(new ea({shape:a1(e,i,a[u].coord)}))}for(u=0;u<d.length;u++)n.add(Fr(d[u],{style:Kt({stroke:l[u%l.length]},s.getLineStyle()),silent:!0,z:t.get("z")}))},minorSplitLine:function(n,t,e,a,r,i){if(r.length){for(var s=t.getModel("minorSplitLine").getModel("lineStyle"),l=[],c=0;c<r.length;c++)for(var d=0;d<r[c].length;d++)l.push(new ea({shape:a1(e,i,r[c][d].coord)}));n.add(Fr(l,{style:s.getLineStyle(),silent:!0,z:t.get("z")}))}},splitArea:function(n,t,e,a,r,i){if(a.length){var s=t.getModel("splitArea").getModel("areaStyle"),l=s.get("color"),c=0;l=l instanceof Array?l:[l];for(var d=[],u=Math.PI/180,h=-a[0].coord*u,f=Math.min(i[0],i[1]),v=Math.max(i[0],i[1]),A=t.get("clockwise"),b=1,x=a.length;b<=x;b++){var S=b===x?a[0].coord:a[b].coord,k=c++%l.length;d[k]=d[k]||[],d[k].push(new tr({shape:{cx:e.cx,cy:e.cy,r0:f,r:v,startAngle:h,endAngle:-S*u,clockwise:A},silent:!0})),h=-S*u}for(b=0;b<d.length;b++)n.add(Fr(d[b],{style:Kt({fill:l[b%l.length]},s.getAreaStyle()),silent:!0}))}}};const mbt=pbt;var fbt=["axisLine","axisTickLabel","axisName"],gbt=["splitLine","splitArea","minorSplitLine"],vbt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="PolarAxisPointer",e}return pt(t,n),t.prototype.render=function(e,a){if(this.group.removeAll(),e.get("show")){var r=this._axisGroup,i=this._axisGroup=new te;this.group.add(i);var o=e.axis,s=o.polar,l=s.getAngleAxis(),c=o.getTicksCoords(),d=o.getMinorTicksCoords(),u=l.getExtent()[0],h=o.getExtent(),f=function ybt(n,t,e){return{position:[n.cx,n.cy],rotation:e/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}(s,e,u),v=new ls(e,f);q(fbt,v.add,v),i.add(v.getGroup()),gA(r,i,e),q(gbt,function(A){e.get([A,"show"])&&!o.scale.isBlank()&&Abt[A](this.group,e,s,u,h,c,d)},this)}},t.type="radiusAxis",t}(Qd),Abt={splitLine:function(n,t,e,a,r,i){var s=t.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),c=0,d=e.getAngleAxis(),u=Math.PI/180,h=d.getExtent(),f=360===Math.abs(h[1]-h[0])?"Circle":"Arc";l=l instanceof Array?l:[l];for(var v=[],A=0;A<i.length;A++){var b=c++%l.length;v[b]=v[b]||[],v[b].push(new lt[f]({shape:{cx:e.cx,cy:e.cy,r:Math.max(i[A].coord,0),startAngle:-h[0]*u,endAngle:-h[1]*u,clockwise:d.inverse}}))}for(A=0;A<v.length;A++)n.add(Fr(v[A],{style:Kt({stroke:l[A%l.length],fill:null},s.getLineStyle()),silent:!0}))},minorSplitLine:function(n,t,e,a,r,i,o){if(o.length){for(var l=t.getModel("minorSplitLine").getModel("lineStyle"),c=[],d=0;d<o.length;d++)for(var u=0;u<o[d].length;u++)c.push(new Pl({shape:{cx:e.cx,cy:e.cy,r:o[d][u].coord}}));n.add(Fr(c,{style:Kt({fill:null},l.getLineStyle()),silent:!0}))}},splitArea:function(n,t,e,a,r,i){if(i.length){var s=t.getModel("splitArea").getModel("areaStyle"),l=s.get("color"),c=0;l=l instanceof Array?l:[l];for(var d=[],u=i[0].coord,h=1;h<i.length;h++){var f=c++%l.length;d[f]=d[f]||[],d[f].push(new tr({shape:{cx:e.cx,cy:e.cy,r0:u,r:i[h].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),u=i[h].coord}for(h=0;h<d.length;h++)n.add(Fr(d[h],{style:Kt({fill:l[h%l.length]},s.getAreaStyle()),silent:!0}))}}};const bbt=vbt;function hq(n){return n.get("stack")||"__ec_stack_"+n.seriesIndex}function mq(n,t){return t.dim+n.model.componentIndex}const Sbt=function _bt(n,t,e){var a={},r=function xbt(n){var t={};q(n,function(a,r){var i=a.getData(),o=a.coordinateSystem,s=o.getBaseAxis(),l=mq(o,s),c=s.getExtent(),d="category"===s.type?s.getBandWidth():Math.abs(c[1]-c[0])/i.count(),u=t[l]||{bandWidth:d,remainedWidth:d,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},h=u.stacks;t[l]=u;var f=hq(a);h[f]||u.autoWidthCount++,h[f]=h[f]||{width:0,maxWidth:0};var v=Ot(a.get("barWidth"),d),A=Ot(a.get("barMaxWidth"),d),b=a.get("barGap"),x=a.get("barCategoryGap");v&&!h[f].width&&(v=Math.min(u.remainedWidth,v),h[f].width=v,u.remainedWidth-=v),A&&(h[f].maxWidth=A),null!=b&&(u.gap=b),null!=x&&(u.categoryGap=x)});var e={};return q(t,function(a,r){e[r]={};var i=a.stacks,o=a.bandWidth,s=Ot(a.categoryGap,o),l=Ot(a.gap,1),c=a.remainedWidth,d=a.autoWidthCount,u=(c-s)/(d+(d-1)*l);u=Math.max(u,0),q(i,function(A,b){var x=A.maxWidth;x&&x<u&&(x=Math.min(x,c),A.width&&(x=Math.min(x,A.width)),c-=x,A.width=x,d--)}),u=(c-s)/(d+(d-1)*l),u=Math.max(u,0);var f,h=0;q(i,function(A,b){A.width||(A.width=u),f=A,h+=A.width*(1+l)}),f&&(h-=f.width*l);var v=-h/2;q(i,function(A,b){e[r][b]=e[r][b]||{offset:v,width:A.width},v+=A.width*(1+l)})}),e}(Ne(t.getSeriesByType(n),function(i){return!t.isSeriesFiltered(i)&&i.coordinateSystem&&"polar"===i.coordinateSystem.type}));t.eachSeriesByType(n,function(i){if("polar"===i.coordinateSystem.type){var o=i.getData(),s=i.coordinateSystem,l=s.getBaseAxis(),c=mq(s,l),d=hq(i),u=r[c][d],h=u.offset,f=u.width,v=s.getOtherAxis(l),A=i.coordinateSystem.cx,b=i.coordinateSystem.cy,x=i.get("barMinHeight")||0,S=i.get("barMinAngle")||0;a[d]=a[d]||[];for(var k=o.mapDimension(v.dim),D=o.mapDimension(l.dim),I=Rl(o,k),M="radius"!==l.dim||!i.get("roundCap",!0),N=v.model.get("startValue"),U=v.dataToCoord(N||0),z=0,B=o.count();z<B;z++){var K=o.get(k,z),W=o.get(D,z),Z=K>=0?"p":"n",X=U;I&&(a[d][W]||(a[d][W]={p:U,n:U}),X=a[d][W][Z]);var tt=void 0,rt=void 0,ot=void 0,st=void 0;if("radius"===v.dim){var gt=v.dataToCoord(K)-U,_t=l.dataToCoord(W);Math.abs(gt)<x&&(gt=(gt<0?-1:1)*x),tt=X,rt=X+gt,st=(ot=_t-h)-f,I&&(a[d][W][Z]=rt)}else{var Mt=v.dataToCoord(K,M)-U,zt=l.dataToCoord(W);Math.abs(Mt)<S&&(Mt=(Mt<0?-1:1)*S),rt=(tt=zt+h)+f,ot=X,st=X+Mt,I&&(a[d][W][Z]=st)}o.setItemLayout(z,{cx:A,cy:b,r0:tt,r:rt,startAngle:-ot*Math.PI/180,endAngle:-st*Math.PI/180,clockwise:ot>=st})}}})};var wbt={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},kbt={splitNumber:5},Cbt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.type="polar",t}(xn);function fI(n,t){t=t||{};var e=n.coordinateSystem,a=n.axis,r={},i=a.position,o=a.orient,s=e.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],c={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===o?c.vertical[i]:l[0],"horizontal"===o?c.horizontal[i]:l[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[o];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[i],n.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),$n(t.labelInside,n.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var h=t.rotate;return null==h&&(h=n.get(["axisLabel","rotate"])),r.labelRotation="top"===i?-h:h,r.z2=1,r}var Tbt=["axisLine","axisTickLabel","axisName"],Pbt=["splitArea","splitLine"],Ibt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="SingleAxisPointer",e}return pt(t,n),t.prototype.render=function(e,a,r,i){var o=this.group;o.removeAll();var s=this._axisGroup;this._axisGroup=new te;var l=fI(e),c=new ls(e,l);q(Tbt,c.add,c),o.add(this._axisGroup),o.add(c.getGroup()),q(Pbt,function(d){e.get([d,"show"])&&Mbt[d](this,this.group,this._axisGroup,e)},this),gA(s,this._axisGroup,e),n.prototype.render.call(this,e,a,r,i)},t.prototype.remove=function(){DV(this)},t.type="singleAxis",t}(Qd),Mbt={splitLine:function(n,t,e,a){var r=a.axis;if(!r.scale.isBlank()){var i=a.getModel("splitLine"),o=i.getModel("lineStyle"),s=o.get("color");s=s instanceof Array?s:[s];for(var l=o.get("width"),c=a.coordinateSystem.getRect(),d=r.isHorizontal(),u=[],h=0,f=r.getTicksCoords({tickModel:i}),v=[],A=[],b=0;b<f.length;++b){var x=r.toGlobalCoord(f[b].coord);d?(v[0]=x,v[1]=c.y,A[0]=x,A[1]=c.y+c.height):(v[0]=c.x,v[1]=x,A[0]=c.x+c.width,A[1]=x);var S=new ea({shape:{x1:v[0],y1:v[1],x2:A[0],y2:A[1]},silent:!0});dm(S.shape,l);var k=h++%s.length;u[k]=u[k]||[],u[k].push(S)}var D=o.getLineStyle(["color"]);for(b=0;b<u.length;++b)t.add(Fr(u[b],{style:Kt({stroke:s[b%s.length]},D),silent:!0}))}},splitArea:function(n,t,e,a){CV(n,e,a,a)}};const Obt=Ibt;var fq=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.getCoordSysModel=function(){return this},t.type="singleAxis",t.layoutMode="box",t.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},t}(De);Mn(fq,BA.prototype);const gI=fq;var Rbt=function(n){function t(e,a,r,i,o){var s=n.call(this,e,a,r)||this;return s.type=i||"value",s.position=o||"bottom",s}return pt(t,n),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.pointToData=function(e,a){return this.coordinateSystem.pointToData(e)[0]},t}(fi);const Lbt=Rbt;var gq=["single"],Nbt=function(){function n(t,e,a){this.type="single",this.dimension="single",this.dimensions=gq,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,a)}return n.prototype._init=function(t,e,a){var r=this.dimension,i=new Lbt(r,Px(t),[0,0],t.get("type"),t.get("position")),o="category"===i.type;i.onBand=o&&t.get("boundaryGap"),i.inverse=t.get("inverse"),i.orient=t.get("orient"),t.axis=i,i.model=t,i.coordinateSystem=this,this._axis=i},n.prototype.update=function(t,e){t.eachSeries(function(a){if(a.coordinateSystem===this){var r=a.getData();q(r.mapDimensionsAll(this.dimension),function(i){this._axis.scale.unionExtentFromData(r,i)},this),Sm(this._axis.scale,this._axis.model)}},this)},n.prototype.resize=function(t,e){this._rect=En({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},n.prototype.getRect=function(){return this._rect},n.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,a=e.isHorizontal(),r=a?[0,t.width]:[0,t.height],i=e.inverse?1:0;e.setExtent(r[i],r[1-i]),this._updateAxisTransform(e,a?t.x:t.y)},n.prototype._updateAxisTransform=function(t,e){var a=t.getExtent(),r=a[0]+a[1],i=t.isHorizontal();t.toGlobalCoord=i?function(o){return o+e}:function(o){return r-o+e},t.toLocalCoord=i?function(o){return o-e}:function(o){return r-o+e}},n.prototype.getAxis=function(){return this._axis},n.prototype.getBaseAxis=function(){return this._axis},n.prototype.getAxes=function(){return[this._axis]},n.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},n.prototype.containPoint=function(t){var e=this.getRect(),a=this.getAxis();return"horizontal"===a.orient?a.contain(a.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:a.contain(a.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},n.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},n.prototype.dataToPoint=function(t){var e=this.getAxis(),a=this.getRect(),r=[],i="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),r[i]=e.toGlobalCoord(e.dataToCoord(+t)),r[1-i]=0===i?a.y+a.height/2:a.x+a.width/2,r},n.prototype.convertToPixel=function(t,e,a){return vq(e)===this?this.dataToPoint(a):null},n.prototype.convertFromPixel=function(t,e,a){return vq(e)===this?this.pointToData(a):null},n}();function vq(n){var t=n.seriesModel,e=n.singleAxisModel;return e&&e.coordinateSystem||t&&t.coordinateSystem}const Ubt=Nbt;var Vbt={create:function Fbt(n,t){var e=[];return n.eachComponent("singleAxis",function(a,r){var i=new Ubt(a,n,t);i.name="single_"+r,i.resize(a,t),a.coordinateSystem=i,e.push(i)}),n.eachSeries(function(a){if("singleAxis"===a.get("coordinateSystem")){var r=a.getReferringComponents("singleAxis",On).models[0];a.coordinateSystem=r&&r.coordinateSystem}}),e},dimensions:gq};const zbt=Vbt;var Aq=["x","y"],Ebt=["width","height"],qbt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.prototype.makeElOption=function(e,a,r,i,o){var s=r.axis,l=s.coordinateSystem,c=vI(l,1-i1(s)),d=l.dataToPoint(a)[0],u=i.get("type");if(u&&"none"!==u){var h=lI(i),f=Hbt[u](s,d,c);f.style=h,e.graphicKey=f.type,e.pointer=f}Q4(a,e,fI(r),r,i,o)},t.prototype.getHandleTransform=function(e,a,r){var i=fI(a,{labelInside:!1});i.labelMargin=r.get(["handle","margin"]);var o=cI(a.axis,e,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,a,r,i){var o=r.axis,s=o.coordinateSystem,l=i1(o),c=vI(s,l),d=[e.x,e.y];d[l]+=a[l],d[l]=Math.min(c[1],d[l]),d[l]=Math.max(c[0],d[l]);var u=vI(s,1-l),h=(u[1]+u[0])/2,f=[h,h];return f[l]=d[l],{x:d[0],y:d[1],rotation:e.rotation,cursorPoint:f,tooltipOption:{verticalAlign:"middle"}}},t}(sI),Hbt={line:function(n,t,e){return{type:"Line",subPixelOptimize:!0,shape:dI([t,e[0]],[t,e[1]],i1(n))}},shadow:function(n,t,e){var a=n.getBandWidth(),r=e[1]-e[0];return{type:"Rect",shape:$4([t-a/2,e[0]],[a,r],i1(n))}}};function i1(n){return n.isHorizontal()?0:1}function vI(n,t){var e=n.getRect();return[e[Aq[t]],e[Aq[t]]+e[Ebt[t]]]}const Bbt=qbt;var jbt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.type="single",t}(xn);var Kbt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.init=function(e,a,r){var i=tm(e);
vendor: 4,225 bytes, line 1
1n.prototype.init.apply(this,arguments),yq(e,i)},t.prototype.mergeOption=function(e){n.prototype.mergeOption.apply(this,arguments),yq(this.option,e)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},t}(De);function yq(n,t){var a,e=n.cellSize;1===(a=vt(e)?e:n.cellSize=[e,e]).length&&(a[1]=a[0]);var r=At([0,1],function(i){return function rrt(n,t){return null!=n[Cd[t][0]]||null!=n[Cd[t][1]]&&null!=n[Cd[t][2]]}(t,i)&&(a[i]="auto"),null!=a[i]&&"auto"!==a[i]});Cl(n,t,{type:"box",ignoreSize:r})}const Wbt=Kbt;var Jbt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r){var i=this.group;i.removeAll();var o=e.coordinateSystem,s=o.getRangeInfo(),l=o.getOrient(),c=a.getLocaleModel();this._renderDayRect(e,s,i),this._renderLines(e,s,l,i),this._renderYearText(e,s,l,i),this._renderMonthText(e,c,l,i),this._renderWeekText(e,c,s,l,i)},t.prototype._renderDayRect=function(e,a,r){for(var i=e.coordinateSystem,o=e.getModel("itemStyle").getItemStyle(),s=i.getCellWidth(),l=i.getCellHeight(),c=a.start.time;c<=a.end.time;c=i.getNextNDay(c,1).time){var d=i.dataToRect([c],!1).tl,u=new Se({shape:{x:d[0],y:d[1],width:s,height:l},cursor:"default",style:o});r.add(u)}},t.prototype._renderLines=function(e,a,r,i){var o=this,s=e.coordinateSystem,l=e.getModel(["splitLine","lineStyle"]).getLineStyle(),c=e.get(["splitLine","show"]),d=l.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=a.start,h=0;u.time<=a.end.time;h++){v(u.formatedDate),0===h&&(u=s.getDateInfo(a.start.y+"-"+a.start.m));var f=u.date;f.setMonth(f.getMonth()+1),u=s.getDateInfo(f)}function v(A){o._firstDayOfMonth.push(s.getDateInfo(A)),o._firstDayPoints.push(s.dataToRect([A],!1).tl);var b=o._getLinePointsOfOneWeek(e,A,r);o._tlpoints.push(b[0]),o._blpoints.push(b[b.length-1]),c&&o._drawSplitline(b,l,i)}v(s.getNextNDay(a.end.time,1).formatedDate),c&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,d,r),l,i),c&&this._drawSplitline(o._getEdgesPoints(o._blpoints,d,r),l,i)},t.prototype._getEdgesPoints=function(e,a,r){var i=[e[0].slice(),e[e.length-1].slice()],o="horizontal"===r?0:1;return i[0][o]=i[0][o]-a/2,i[1][o]=i[1][o]+a/2,i},t.prototype._drawSplitline=function(e,a,r){var i=new nr({z2:20,shape:{points:e},style:a});r.add(i)},t.prototype._getLinePointsOfOneWeek=function(e,a,r){for(var i=e.coordinateSystem,o=i.getDateInfo(a),s=[],l=0;l<7;l++){var c=i.getNextNDay(o.time,l),d=i.dataToRect([c.time],!1);s[2*c.day]=d.tl,s[2*c.day+1]=d["horizontal"===r?"bl":"tr"]}return s},t.prototype._formatterLabel=function(e,a){return Lt(e)&&e?function ert(n,t,e){return q(t,function(a,r){n=n.replace("{"+r+"}",e?xa(a):a)}),n}(e,a):jt(e)?e(a):a.nameMap},t.prototype._yearTextPositionControl=function(e,a,r,i,o){var s=a[0],l=a[1],c=["center","bottom"];"bottom"===i?(l+=o,c=["center","top"]):"left"===i?s-=o:"right"===i?(s+=o,c=["center","top"]):l-=o;var d=0;return("left"===i||"right"===i)&&(d=Math.PI/2),{rotation:d,x:s,y:l,style:{align:c[0],verticalAlign:c[1]}}},t.prototype._renderYearText=function(e,a,r,i){var o=e.getModel("yearLabel");if(o.get("show")){var s=o.get("margin"),l=o.get("position");l||(l="horizontal"!==r?"top":"left");var c=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],d=(c[0][0]+c[1][0])/2,u=(c[0][1]+c[1][1])/2,h="horizontal"===r?0:1,f={top:[d,c[h][1]],bottom:[d,c[1-h][1]],left:[c[1-h][0],u],right:[c[h][0],u]},v=a.start.y;+a.end.y>+a.start.y&&(v=v+"-"+a.end.y);var A=o.get("formatter"),b={start:a.start.y,end:a.end.y,nameMap:v},x=this._formatterLabel(A,b),S=new Ce({z2:30,style:tn(o,{text:x}),silent:o.get("silent")});S.attr(this._yearTextPositionControl(S,f[l],r,l,s)),i.add(S)}}
vendor: 4,915 bytes, line 1
1,t.prototype._monthTextPositionControl=function(e,a,r,i,o){var s="left",l="top",c=e[0],d=e[1];return"horizontal"===r?(d+=o,a&&(s="center"),"start"===i&&(l="bottom")):(c+=o,a&&(l="middle"),"start"===i&&(s="right")),{x:c,y:d,align:s,verticalAlign:l}},t.prototype._renderMonthText=function(e,a,r,i){var o=e.getModel("monthLabel");if(o.get("show")){var s=o.get("nameMap"),l=o.get("margin"),c=o.get("position"),d=o.get("align"),u=[this._tlpoints,this._blpoints];(!s||Lt(s))&&(s&&(a=TC(s)||a),s=a.get(["time","monthAbbr"])||[]);var h="start"===c?0:1,f="horizontal"===r?0:1;l="start"===c?-l:l;for(var v="center"===d,A=o.get("silent"),b=0;b<u[h].length-1;b++){var x=u[h][b].slice(),S=this._firstDayOfMonth[b];if(v){var k=this._firstDayPoints[b];x[f]=(k[f]+u[0][b+1][f])/2}var D=o.get("formatter"),I=s[+S.m-1],M={yyyy:S.y,yy:(S.y+"").slice(2),MM:S.m,M:+S.m,nameMap:I},R=this._formatterLabel(D,M),N=new Ce({z2:30,style:ft(tn(o,{text:R}),this._monthTextPositionControl(x,v,r,c,l)),silent:A});i.add(N)}}},t.prototype._weekTextPositionControl=function(e,a,r,i,o){var s="center",l="middle",c=e[0],d=e[1],u="start"===r;return"horizontal"===a?(c=c+i+(u?1:-1)*o[0]/2,s=u?"right":"left"):(d=d+i+(u?1:-1)*o[1]/2,l=u?"bottom":"top"),{x:c,y:d,align:s,verticalAlign:l}},t.prototype._renderWeekText=function(e,a,r,i,o){var s=e.getModel("dayLabel");if(s.get("show")){var l=e.coordinateSystem,c=s.get("position"),d=s.get("nameMap"),u=s.get("margin"),h=l.getFirstDayOfWeek();if(!d||Lt(d))d&&(a=TC(d)||a),d=a.get(["time","dayOfWeekShort"])||At(a.get(["time","dayOfWeekAbbr"]),function(M){return M[0]});var v=l.getNextNDay(r.end.time,7-r.lweek).time,A=[l.getCellWidth(),l.getCellHeight()];u=Ot(u,Math.min(A[1],A[0])),"start"===c&&(v=l.getNextNDay(r.start.time,-(7+r.fweek)).time,u=-u);for(var b=s.get("silent"),x=0;x<7;x++){var D,S=l.getNextNDay(v,x),k=l.dataToRect([S.time],!1).center;D=Math.abs((x+h)%7);var I=new Ce({z2:30,style:ft(tn(s,{text:d[D]}),this._weekTextPositionControl(k,i,c,u,A)),silent:b});o.add(I)}}},t.type="calendar",t}(xn);const Zbt=Jbt;var AI=864e5,Xbt=function(){function n(t,e,a){this.type="calendar",this.dimensions=n.dimensions,this.getDimensionsInfo=n.getDimensionsInfo,this._model=t}return n.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},n.prototype.getRangeInfo=function(){return this._rangeInfo},n.prototype.getModel=function(){return this._model},n.prototype.getRect=function(){return this._rect},n.prototype.getCellWidth=function(){return this._sw},n.prototype.getCellHeight=function(){return this._sh},n.prototype.getOrient=function(){return this._orient},n.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},n.prototype.getDateInfo=function(t){var e=(t=qi(t)).getFullYear(),a=t.getMonth()+1,r=a<10?"0"+a:""+a,i=t.getDate(),o=i<10?"0"+i:""+i,s=t.getDay();return{y:e+"",m:r,d:o,day:s=Math.abs((s+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+r+"-"+o,date:t}},n.prototype.getNextNDay=function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},n.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var a=this._rangeInfo.weeks||1,r=["width","height"],i=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),s="horizontal"===this._orient?[a,7]:[7,a];q([0,1],function(u){d(i,u)&&(o[r[u]]=i[u]*s[u])});var l={width:e.getWidth(),height:e.getHeight()},c=this._rect=En(o,l);function d(u,h){return null!=u[h]&&"auto"!==u[h]}q([0,1],function(u){d(i,u)||(i[u]=c[r[u]]/s[u])}),this._sw=i[0],this._sh=i[1]},n.prototype.dataToPoint=function(t,e){vt(t)&&(t=t[0]),null==e&&(e=!0);var a=this.getDateInfo(t),r=this._rangeInfo,i=a.formatedDate;if(e&&!(a.time>=r.start.time&&a.time<r.end.time+AI))return[NaN,NaN];var o=a.day,s=this._getRangeInfo([r.start.time,i]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+s*this._sh+this._sh/2]:[this._rect.x+s*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},n.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},n.prototype.dataToRect=function(t,e){var a=this.dataToPoint(t,e);return{contentShape:{x:a[0]-(this._sw-this._lineWidth)/2,y:a[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:a,tl:[a[0]-this._sw/2,a[1]-this._sh/2],tr:[a[0]+this._sw/2,a[1]-this._sh/2],br:[a[0]+this._sw/2,a[1]+this._sh/2],bl:[a[0]-this._sw/2,a[1]+this._sh/2]}},n.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,a=Math.floor((t[1]-this._rect.y)/this._sh)+1,r=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(a,e-1,r):this._getDateByWeeksAndDay(e,a-1,r)}
vendor: 15,114 bytes, line 1
1,n.prototype.convertToPixel=function(t,e,a){var r=bq(e);return r===this?r.dataToPoint(a):null},n.prototype.convertFromPixel=function(t,e,a){var r=bq(e);return r===this?r.pointToData(a):null},n.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},n.prototype._initRangeOption=function(){var e,t=this._model.get("range");if(vt(t)&&1===t.length&&(t=t[0]),vt(t))e=t;else{var a=t.toString();if(/^\d{4}$/.test(a)&&(e=[a+"-01-01",a+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(a)){var r=this.getDateInfo(a),i=r.date;i.setMonth(i.getMonth()+1);var o=this.getNextNDay(i,-1);e=[r.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(a)&&(e=[a,a])}if(!e)return t;var s=this._getRangeInfo(e);return s.start.time>s.end.time&&e.reverse(),e},n.prototype._getRangeInfo=function(t){var a,e=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];e[0].time>e[1].time&&(a=!0,e.reverse());var r=Math.floor(e[1].time/AI)-Math.floor(e[0].time/AI)+1,i=new Date(e[0].time),o=i.getDate(),s=e[1].date.getDate();i.setDate(o+r-1);var l=i.getDate();if(l!==s)for(var c=i.getTime()-e[1].time>0?1:-1;(l=i.getDate())!==s&&(i.getTime()-e[1].time)*c>0;)r-=c,i.setDate(l-c);var d=Math.floor((r+e[0].day+6)/7),u=a?1-d:d-1;return a&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:r,weeks:d,nthWeek:u,fweek:e[0].day,lweek:e[1].day}},n.prototype._getDateByWeeksAndDay=function(t,e,a){var r=this._getRangeInfo(a);if(t>r.weeks||0===t&&e<r.fweek||t===r.weeks&&e>r.lweek)return null;var i=7*(t-1)-r.fweek+e,o=new Date(r.start.time);return o.setDate(+r.start.d+i),this.getDateInfo(o)},n.create=function(t,e){var a=[];return t.eachComponent("calendar",function(r){var i=new n(r,t,e);a.push(i),r.coordinateSystem=i}),t.eachSeries(function(r){"calendar"===r.get("coordinateSystem")&&(r.coordinateSystem=a[r.get("calendarIndex")||0])}),a},n.dimensions=["time","value"],n}();function bq(n){var t=n.calendarModel,e=n.seriesModel;return t?t.coordinateSystem:e?e.coordinateSystem:null}const Ybt=Xbt;function _q(n,t){var e;return q(t,function(a){null!=n[a]&&"auto"!==n[a]&&(e=!0)}),e}var xq=["transition","enterFrom","leaveTo"],e0t=xq.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function o1(n,t,e){if(e&&(!n[e]&&t[e]&&(n[e]={}),n=n[e],t=t[e]),n&&t)for(var a=e?xq:e0t,r=0;r<a.length;r++){var i=a[r];null==n[i]&&null!=t[i]&&(n[i]=t[i])}}var a0t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.preventAutoZ=!0,e}return pt(t,n),t.prototype.mergeOption=function(e,a){var r=this.option.elements;this.option.elements=null,n.prototype.mergeOption.call(this,e,a),this.option.elements=r},t.prototype.optionUpdated=function(e,a){var r=this.option,i=(a?r:e).elements,o=r.elements=a?[]:r.elements,s=[];this._flatten(i,s,null);var l=FL(o,s,"normalMerge"),c=this._elOptionsToUpdate=[];q(l,function(d,u){var h=d.newOption;!h||(c.push(h),function $bt(n,t){var e=n.existing;if(t.id=n.keyInfo.id,!t.type&&e&&(t.type=e.type),null==t.parentId){var a=t.parentOption;a?t.parentId=a.id:e&&(t.parentId=e.parentId)}t.parentOption=null}(d,h),function t0t(n,t,e){var a=ft({},e),r=n[t],i=e.$action||"merge";"merge"===i?r?(le(r,a,!0),Cl(r,a,{ignoreSize:!0}),u5(e,r),o1(e,r),o1(e,r,"shape"),o1(e,r,"style"),o1(e,r,"extra"),e.clipPath=r.clipPath):n[t]=a:"replace"===i?n[t]=a:"remove"===i&&r&&(n[t]=null)}(o,u,h),function n0t(n,t){if(n&&(n.hv=t.hv=[_q(t,["left","right"]),_q(t,["top","bottom"])],"group"===n.type)){var e=n,a=t;null==e.width&&(e.width=a.width=0),null==e.height&&(e.height=a.height=0)}}(o[u],h))},this),r.elements=Ne(o,function(d){return d&&delete d.$action,null!=d})},t.prototype._flatten=function(e,a,r){q(e,function(i){if(i){r&&(i.parentOption=r),a.push(i);var o=i.children;o&&o.length&&this._flatten(o,a,i),delete i.children}},this)},t.prototype.useElOptionsToUpdate=function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e},t.type="graphic",t.defaultOption={elements:[]},t}(De),Sq={path:null,compoundPath:null,group:te,image:la,text:Ce},Br=_e(),r0t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.init=function(){this._elMap=Et()},t.prototype.render=function(e,a,r){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,r)},t.prototype._updateElements=function(e){var a=e.useElOptionsToUpdate();if(a){var r=this._elMap,i=this.group,o=e.get("z"),s=e.get("zlevel");q(a,function(l){var c=zn(l.id,null),d=null!=c?r.get(c):null,u=zn(l.parentId,null),h=null!=u?r.get(u):i,f=l.type,v=l.style;"text"===f&&v&&l.hv&&l.hv[1]&&(v.textVerticalAlign=v.textBaseline=v.verticalAlign=v.align=null);var A=l.textContent,b=l.textConfig;if(v&&C4(v,f,!!b,!!A)){var x=D4(v,f,!0);!b&&x.textConfig&&(b=l.textConfig=x.textConfig),!A&&x.textContent&&(A=x.textContent)}var S=function i0t(n){return n=ft({},n),q(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(d5),function(t){delete n[t]}),n}(l),k=l.$action||"merge",D="merge"===k,I="replace"===k;if(D){var R=d;(M=!d)?R=wq(c,h,l.type,r):(R&&(Br(R).isNew=!1),F4(R)),R&&(Qx(R,S,e,{isInit:M}),kq(R,l,o,s))}else if(I){s1(d,l,r,e);var N=wq(c,h,l.type,r);N&&(Qx(N,S,e,{isInit:!0}),kq(N,l,o,s))}else"remove"===k&&(R4(d,l),s1(d,l,r,e));var U=r.get(c);if(U&&A)if(D){var z=U.getTextContent();z?z.attr(A):U.setTextContent(new Ce(A))}else I&&U.setTextContent(new Ce(A));if(U){var B=l.clipPath;if(B){var K=B.type,W=void 0,M=!1;if(D){var Z=U.getClipPath();W=(M=!Z||Br(Z).type!==K)?yI(K):Z}else I&&(M=!0,W=yI(K));U.setClipPath(W),Qx(W,B,e,{isInit:M}),t1(W,B.keyframeAnimation,e)}var X=Br(U);U.setTextConfig(b),X.option=l,function o0t(n,t,e){var a=ee(n).eventData;!n.silent&&!n.ignore&&!a&&(a=ee(n).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:n.name}),a&&(a.info=e.info)}(U,e,l),Nd({el:U,componentModel:e,itemName:U.name,itemTooltipOption:l.tooltip}),t1(U,l.keyframeAnimation,e)}})}},t.prototype._relocate=function(e,a){for(var r=e.option.elements,i=this.group,o=this._elMap,s=a.getWidth(),l=a.getHeight(),c=["x","y"],d=0;d<r.length;d++){if((f=null!=(h=zn((u=r[d]).id,null))?o.get(h):null)&&f.isGroup){var A=(v=f.parent)===i,b=Br(f),x=Br(v);b.width=Ot(b.option.width,A?s:x.width)||0,b.height=Ot(b.option.height,A?l:x.height)||0}}for(d=r.length-1;d>=0;d--){var u,h,f;if(f=null!=(h=zn((u=r[d]).id,null))?o.get(h):null){var v=f.parent,k=(x=Br(v),{}),D=x_(f,u,v===i?{width:s,height:l}:{width:x.width,height:x.height},null,{hv:u.hv,boundingMode:u.bounding},k);if(!Br(f).isNew&&D){for(var I=u.transition,M={},R=0;R<c.length;R++){var N=c[R],U=k[N];I&&(lu(I)||pe(I,N)>=0)?M[N]=U:f[N]=U}Te(f,M,e,0)}else f.attr(k)}}},t.prototype._clear=function(){var e=this,a=this._elMap;a.each(function(r){s1(r,Br(r).option,a,e._lastGraphicModel)}),this._elMap=Et()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(xn);function yI(n){var e=new(Vt(Sq,n)?Sq[n]:pD(n))({});return Br(e).type=n,e}function wq(n,t,e,a){var r=yI(e);return t.add(r),a.set(n,r),Br(r).id=n,Br(r).isNew=!0,r}function s1(n,t,e,a){n&&n.parent&&("group"===n.type&&n.traverse(function(i){s1(i,t,e,a)}),$x(n,t,a),e.removeKey(Br(n).id))}function kq(n,t,e,a){n.isGroup||q([["cursor",Mr.prototype.cursor],["zlevel",a||0],["z",e||0],["z2",0]],function(r){var i=r[0];Vt(t,i)?n[i]=ie(t[i],r[1]):null==n[i]&&(n[i]=r[1])}),q(ve(t),function(r){if(0===r.indexOf("on")){var i=t[r];n[r]=jt(i)?i:null}}),Vt(t,"draggable")&&(n.draggable=t.draggable),null!=t.name&&(n.name=t.name),null!=t.id&&(n.id=t.id)}var Cq=["x","y","radius","angle","single"],l0t=["cartesian2d","polar","singleAxis"];function Bl(n){return n+"Axis"}function d0t(n,t){var i,e=Et(),a=[],r=Et();n.eachComponent({mainType:"dataZoom",query:t},function(d){r.get(d.uid)||s(d)});do{i=!1,n.eachComponent("dataZoom",o)}while(i);function o(d){!r.get(d.uid)&&function l(d){var u=!1;return d.eachTargetAxis(function(h,f){var v=e.get(h);v&&v[f]&&(u=!0)}),u}(d)&&(s(d),i=!0)}function s(d){r.set(d.uid,!0),a.push(d),function c(d){d.eachTargetAxis(function(u,h){(e.get(u)||e.set(u,[]))[h]=!0})}(d)}return a}function Dq(n){var t=n.ecModel,e={infoList:[],infoMap:Et()};return n.eachTargetAxis(function(a,r){var i=t.getComponent(Bl(a),r);if(i){var o=i.getCoordSysModel();if(o){var s=o.uid,l=e.infoMap.get(s);l||(l={model:o,axisModels:[]},e.infoList.push(l),e.infoMap.set(s,l)),l.axisModels.push(i)}}}),e}var bI=function(){function n(){this.indexList=[],this.indexMap=[]}return n.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},n}(),u0t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e._autoThrottle=!0,e._noTarget=!0,e._rangePropMode=["percent","percent"],e}return pt(t,n),t.prototype.init=function(e,a,r){var i=Tq(e);this.settledOption=i,this.mergeDefaultAndTheme(e,r),this._doInit(i)},t.prototype.mergeOption=function(e){var a=Tq(e);le(this.option,e,!0),le(this.settledOption,a,!0),this._doInit(a)},t.prototype._doInit=function(e){var a=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var r=this.settledOption;q([["start","startValue"],["end","endValue"]],function(i,o){"value"===this._rangePropMode[o]&&(a[i[0]]=r[i[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),a=this._targetAxisInfoMap=Et();this._fillSpecifiedTargetAxis(a)?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(a,this._orient)),this._noTarget=!0,a.each(function(i){i.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(e){var a=!1;return q(Cq,function(r){var i=this.getReferringComponents(Bl(r),Ant);if(i.specified){a=!0;var o=new bI;q(i.models,function(s){o.add(s.componentIndex)}),e.set(r,o)}},this),a},t.prototype._fillAutoTargetAxisByOrient=function(e,a){var r=this.ecModel,i=!0;if(i){var o="vertical"===a?"y":"x";l(r.findComponents({mainType:o+"Axis"}),o)}i&&l(r.findComponents({mainType:"singleAxis",filter:function(d){return d.get("orient",!0)===a}}),"single");function l(c,d){var u=c[0];if(u){var h=new bI;if(h.add(u.componentIndex),e.set(d,h),i=!1,"x"===d||"y"===d){var f=u.getReferringComponents("grid",On).models[0];f&&q(c,function(v){u.componentIndex!==v.componentIndex&&f===v.getReferringComponents("grid",On).models[0]&&h.add(v.componentIndex)})}}}i&&q(Cq,function(c){if(i){var d=r.findComponents({mainType:Bl(c),filter:function(h){return"category"===h.get("type",!0)}});if(d[0]){var u=new bI;u.add(d[0].componentIndex),e.set(c,u),i=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(a){!e&&(e=a)},this),"y"===e?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var a=this.ecModel.option;this.option.throttle=a.animation&&a.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var a=this._rangePropMode,r=this.get("rangeMode");q([["start","startValue"],["end","endValue"]],function(i,o){var s=null!=e[i[0]],l=null!=e[i[1]];s&&!l?a[o]="percent":!s&&l?a[o]="value":r?a[o]=r[o]:s&&(a[o]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(a,r){null==e&&(e=this.ecModel.getComponent(Bl(a),r))},this),e},t.prototype.eachTargetAxis=function(e,a){this._targetAxisInfoMap.each(function(r,i){q(r.indexList,function(o){e.call(a,i,o)})})},t.prototype.getAxisProxy=function(e,a){var r=this.getAxisModel(e,a);if(r)return r.__dzAxisProxy},t.prototype.getAxisModel=function(e,a){var r=this._targetAxisInfoMap.get(e);if(r&&r.indexMap[a])return this.ecModel.getComponent(Bl(e),a)},t.prototype.setRawRange=function(e){var a=this.option,r=this.settledOption;q([["start","startValue"],["end","endValue"]],function(i){(null!=e[i[0]]||null!=e[i[1]])&&(a[i[0]]=r[i[0]]=e[i[0]],a[i[1]]=r[i[1]]=e[i[1]])},this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var a=this.option;q(["start","startValue","end","endValue"],function(r){a[r]=e[r]})},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,a){if(null!=e||null!=a)return this.getAxisProxy(e,a).getDataValueWindow();var r=this.findRepresentativeAxisProxy();return r?r.getDataValueWindow():void 0},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var a,r=this._targetAxisInfoMap.keys(),i=0;i<r.length;i++)for(var o=r[i],s=this._targetAxisInfoMap.get(o),l=0;l<s.indexList.length;l++){var c=this.getAxisProxy(o,s.indexList[l]);if(c.hostedBy(this))return c;a||(a=c)}return a},t.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},t.prototype.getOrient=function(){return this._orient},t.type="dataZoom",t.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],t.defaultOption={z:4,filterMode:"filter",start:0,end:100},t}(De);function Tq(n){var t={};return q(["start","end","startValue","endValue","throttle"],function(e){n.hasOwnProperty(e)&&(t[e]=n[e])}),t}const uy=u0t;var p0t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.type="dataZoom.select",t}(uy);const h0t=p0t;var m0t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r,i){this.dataZoomModel=e,this.ecModel=a,this.api=r},t.type="dataZoom",t}(xn);const _I=m0t;var f0t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.type="dataZoom.select",t}(_I);const g0t=f0t;var Rm=q,Pq=Ir,v0t=function(){function n(t,e,a,r){this._dimName=t,this._axisIndex=e,this.ecModel=r,this._dataZoomModel=a}return n.prototype.hostedBy=function(t){return this._dataZoomModel===t},n.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},n.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},n.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(e){if(function c0t(n){var t=n.get("coordinateSystem");return pe(l0t,t)>=0}(e)){var a=Bl(this._dimName),r=e.getReferringComponents(a,On).models[0];r&&this._axisIndex===r.componentIndex&&t.push(e)}},this),t},n.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},n.prototype.getMinMaxSpan=function(){return Yt(this._minMaxSpan)},n.prototype.calculateDataWindow=function(t){var c,e=this._dataExtent,r=this.getAxisModel().axis.scale,i=this._dataZoomModel.getRangePropMode(),o=[0,100],s=[],l=[];Rm(["start","end"],function(h,f){var v=t[h],A=t[h+"Value"];"percent"===i[f]?(null==v&&(v=o[f]),A=r.parse(Fe(v,o,e))):(c=!0,v=Fe(A=null==A?e[f]:r.parse(A),e,o)),l[f]=null==A||isNaN(A)?e[f]:A,s[f]=null==v||isNaN(v)?o[f]:v}),Pq(l),Pq(s);var d=this._minMaxSpan;function u(h,f,v,A,b){var x=b?"Span":"ValueSpan";iu(0,h,v,"all",d["min"+x],d["max"+x]);for(var S=0;S<2;
1S++)f[S]=Fe(h[S],v,A,!0),b&&(f[S]=r.parse(f[S]))}return c?u(l,s,e,o,!1):u(s,l,o,e,!0),{valueWindow:l,percentWindow:s}},n.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function A0t(n,t,e){var a=[1/0,-1/0];Rm(e,function(o){!function tut(n,t,e){t&&q(Ix(t,e),function(a){var r=t.getApproximateExtent(a);r[0]<n[0]&&(n[0]=r[0]),r[1]>n[1]&&(n[1]=r[1])})}(a,o.getData(),t)});var r=n.getAxisModel(),i=aV(r.axis.scale,r,a).calculate();return[i.min,i.max]}(this,this._dimName,e),this._updateMinMaxSpan();var a=this.calculateDataWindow(t.settledOption);this._valueWindow=a.valueWindow,this._percentWindow=a.percentWindow,this._setAxisModel()}},n.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var a=this._dimName,r=this.getTargetSeriesModels(),i=t.get("filterMode"),o=this._valueWindow;"none"!==i&&Rm(r,function(l){var c=l.getData(),d=c.mapDimensionsAll(a);if(d.length){if("weakFilter"===i){var u=c.getStore(),h=At(d,function(f){return c.getDimensionIndex(f)},c);c.filterSelf(function(f){for(var v,A,b,x=0;x<d.length;x++){var S=u.get(h[x],f),k=!isNaN(S),D=S<o[0],I=S>o[1];if(k&&!D&&!I)return!0;k&&(b=!0),D&&(v=!0),I&&(A=!0)}return b&&v&&A})}else Rm(d,function(f){if("empty"===i)l.setData(c=c.map(f,function(A){return function s(l){return l>=o[0]&&l<=o[1]}(A)?A:NaN}));else{var v={};v[f]=o,c.selectRange(v)}});Rm(d,function(f){c.setApproximateExtent(o,f)})}})}},n.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,a=this._dataExtent;Rm(["min","max"],function(r){var i=e.get(r+"Span"),o=e.get(r+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?i=Fe(a[0]+o,a,[0,100],!0):null!=i&&(o=Fe(i,[0,100],a,!0)-a[0]),t[r+"Span"]=i,t[r+"ValueSpan"]=o},this)},n.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,a=this._valueWindow;if(e){var r=SL(a,[0,500]);r=Math.min(r,20);var i=t.axis.scale.rawExtentInfo;0!==e[0]&&i.setDeterminedMinMax("min",+a[0].toFixed(r)),100!==e[1]&&i.setDeterminedMinMax("max",+a[1].toFixed(r)),i.freeze()}},n}();const y0t=v0t;var b0t={getTargetSeries:function(n){function t(r){n.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(o,s){var l=n.getComponent(Bl(o),s);r(o,s,l,i)})})}t(function(r,i,o,s){o.__dzAxisProxy=null});var e=[];t(function(r,i,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new y0t(r,i,s,n),e.push(o.__dzAxisProxy))});var a=Et();return q(e,function(r){q(r.getTargetSeriesModels(),function(i){a.set(i.uid,i)})}),a},overallReset:function(n,t){n.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(a,r){e.getAxisProxy(a,r).reset(e)}),e.eachTargetAxis(function(a,r){e.getAxisProxy(a,r).filterData(e,t)})}),n.eachComponent("dataZoom",function(e){var a=e.findRepresentativeAxisProxy();if(a){var r=a.getDataPercentWindow(),i=a.getDataValueWindow();e.setCalculatedRange({start:r[0],end:r[1],startValue:i[0],endValue:i[1]})}})}};const _0t=b0t;var Iq=!1;function xI(n){Iq||(Iq=!0,n.registerProcessor(n.PRIORITY.PROCESSOR.FILTER,_0t),function x0t(n){n.registerAction("dataZoom",function(t,e){q(d0t(e,t),function(r){r.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}(n),n.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function S0t(n){n.registerComponentModel(h0t),n.registerComponentView(g0t),xI(n)}var jr=function n(){},Mq={};function Lm(n,t){Mq[n]=t}function Oq(n){return Mq[n]}var w0t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.optionUpdated=function(){n.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;q(this.option.feature,function(a,r){var i=Oq(r);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),le(a,i.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(De);const k0t=w0t;function Rq(n,t){var e=$h(t.get("padding")),a=t.getItemStyle(["color","opacity"]);return a.fill=t.get("backgroundColor"),n=new Se({shape:{x:n.x-e[3],y:n.y-e[0],width:n.width+e[1]+e[3],height:n.height+e[0]+e[2],r:t.get("borderRadius")},style:a,silent:!0,z2:-1}
vendor: 4,312 bytes, line 1
1)}var D0t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.prototype.render=function(e,a,r,i){var o=this.group;if(o.removeAll(),e.get("show")){var s=+e.get("itemSize"),l="vertical"===e.get("orient"),c=e.get("feature")||{},d=this._features||(this._features={}),u=[];q(c,function(v,A){u.push(A)}),new is(this._featureNames||[],u).add(h).update(h).remove(se(h,null)).execute(),this._featureNames=u,function C0t(n,t,e){var a=t.getBoxLayoutParams(),r=t.get("padding"),i={width:e.getWidth(),height:e.getHeight()},o=En(a,i,r);Dd(t.get("orient"),n,t.get("itemGap"),o.width,o.height),x_(n,a,i,r)}(o,e,r),o.add(Rq(o.getBoundingRect(),e)),l||o.eachChild(function(v){var A=v.__title,b=v.ensureState("emphasis"),x=b.textConfig||(b.textConfig={}),S=v.getTextContent(),k=S&&S.ensureState("emphasis");if(k&&!jt(k)&&A){var D=k.style||(k.style={}),I=Ev(A,Ce.makeFont(D)),M=v.x+o.x,N=!1;v.y+o.y+s+I.height>r.getHeight()&&(x.position="top",N=!0);var U=N?-5-I.height:s+10;M+I.width/2>r.getWidth()?(x.position=["100%",U],D.align="right"):M-I.width/2<0&&(x.position=[0,U],D.align="left")}})}function h(v,A){var D,b=u[v],x=u[A],S=c[b],k=new en(S,e,e.ecModel);if(i&&null!=i.newTitle&&i.featureName===b&&(S.title=i.newTitle),b&&!x){if(function T0t(n){return 0===n.indexOf("my")}(b))D={onclick:k.option.onclick,featureName:b};else{var I=Oq(b);if(!I)return;D=new I}d[b]=D}else if(!(D=d[x]))return;D.uid=Zh("toolbox-feature"),D.model=k,D.ecModel=a,D.api=r;var M=D instanceof jr;b||!x?!k.get("show")||M&&D.unusable?M&&D.remove&&D.remove(a,r):(function f(v,A,b){var I,M,x=v.getModel("iconStyle"),S=v.getModel(["emphasis","iconStyle"]),k=A instanceof jr&&A.getIcons?A.getIcons():v.get("icon"),D=v.get("title")||{};Lt(k)?(I={})[b]=k:I=k,Lt(D)?(M={})[b]=D:M=D;var R=v.iconPaths={};q(I,function(N,U){var z=vA(N,{},{x:-s/2,y:-s/2,width:s,height:s});z.setStyle(x.getItemStyle()),z.ensureState("emphasis").style=S.getItemStyle();var K=new Ce({style:{text:M[U],align:S.get("textAlign"),borderRadius:S.get("textBorderRadius"),padding:S.get("textPadding"),fill:null,font:SC({fontStyle:S.get("textFontStyle"),fontFamily:S.get("textFontFamily"),fontSize:S.get("textFontSize"),fontWeight:S.get("textFontWeight")},a)},ignore:!0});z.setTextContent(K),Nd({el:z,componentModel:e,itemName:U,formatterParamsExtra:{title:M[U]}}),z.__title=M[U],z.on("mouseover",function(){var W=S.getItemStyle(),Z=l?null==e.get("right")&&"right"!==e.get("left")?"right":"left":null==e.get("bottom")&&"bottom"!==e.get("top")?"bottom":"top";K.setStyle({fill:S.get("textFill")||W.fill||W.stroke||"#000",backgroundColor:S.get("textBackgroundColor")}),z.setTextConfig({position:S.get("textPosition")||Z}),K.ignore=!e.get("showTitle"),r.enterEmphasis(this)}).on("mouseout",function(){"emphasis"!==v.get(["iconStatus",U])&&r.leaveEmphasis(this),K.hide()}),("emphasis"===v.get(["iconStatus",U])?es:ns)(z),o.add(z),z.on("click",Ut(A.onclick,A,a,r,U)),R[U]=z})}(k,D,b),k.setIconStatus=function(R,N){var U=this.option,z=this.iconPaths;U.iconStatus=U.iconStatus||{},U.iconStatus[R]=N,z[R]&&("emphasis"===N?es:ns)(z[R])},D instanceof jr&&D.render&&D.render(k,a,r,i)):M&&D.dispose&&D.dispose(a,r)}},t.prototype.updateView=function(e,a,r,i){q(this._features,function(o){o instanceof jr&&o.updateView&&o.updateView(o.model,a,r,i)})},t.prototype.remove=function(e,a){q(this._features,function(r){r instanceof jr&&r.remove&&r.remove(e,a)}),this.group.removeAll()},t.prototype.dispose=function(e,a){q(this._features,function(r){r instanceof jr&&r.dispose&&r.dispose(e,a)})},t.type="toolbox",t}(xn);const P0t=D0t;var I0t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.prototype.onclick=function(e,a){var r=this.model,i=r.get("name")||e.get("title.0.text")||"echarts",o="svg"===a.getZr().painter.getType(),s=o?"svg":r.get("type",!0)||"png",l=a.getConnectedDataURL({type:s,backgroundColor:r.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:r.get("connectedBackgroundColor"),excludeComponents:r.get("excludeComponents"),pixelRatio:r.get("pixelRatio")}),c=we.browser;if("function"!=typeof MouseEvent||!c.newEdge&&(c.ie||c.edge))if(window.navigator.msSaveOrOpenBlob||o){var h=l.split(","),f=h[0].indexOf("base64")>-1,v=o?decodeURIComponent(h[1]):h[1];f&&(v=window.atob(v));var A=i+"."+s;
vendor: 8,914 bytes, line 1
1if(window.navigator.msSaveOrOpenBlob){for(var b=v.length,x=new Uint8Array(b);b--;)x[b]=v.charCodeAt(b);var S=new Blob([x]);window.navigator.msSaveOrOpenBlob(S,A)}else{var k=document.createElement("iframe");document.body.appendChild(k);var D=k.contentWindow,I=D.document;I.open("image/svg+xml","replace"),I.write(v),I.close(),D.focus(),I.execCommand("SaveAs",!0,A),document.body.removeChild(k)}}else{var M=r.get("lang"),R='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(M&&M[0]||"")+'" /></body>',N=window.open();N.document.write(R),N.document.title=i}else{var d=document.createElement("a");d.download=i+"."+s,d.target="_blank",d.href=l;var u=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});d.dispatchEvent(u)}},t.getDefaultOption=function(e){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},t}(jr);const M0t=I0t;var Lq="__ec_magicType_stack__",O0t=[["line","bar"],["stack"]],R0t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.prototype.getIcons=function(){var e=this.model,a=e.get("icon"),r={};return q(e.get("type"),function(i){a[i]&&(r[i]=a[i])}),r},t.getDefaultOption=function(e){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},t.prototype.onclick=function(e,a,r){var i=this.model,o=i.get(["seriesIndex",r]);if(Nq[r]){var s={series:[]};q(O0t,function(u){pe(u,r)>=0&&q(u,function(h){i.setIconStatus(h,"normal")})}),i.setIconStatus(r,"emphasis"),e.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},function(u){var h=u.subType,f=u.id,v=Nq[r](h,f,u,i);v&&(Kt(v,u.option),s.series.push(v));var A=u.coordinateSystem;if(A&&"cartesian2d"===A.type&&("line"===r||"bar"===r)){var b=A.getAxesByScale("ordinal")[0];if(b){var S=b.dim+"Axis",D=u.getReferringComponents(S,On).models[0].componentIndex;s[S]=s[S]||[];for(var I=0;I<=D;I++)s[S][D]=s[S][D]||{};s[S][D].boundaryGap="bar"===r}}});var c,d=r;"stack"===r&&(c=le({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",r])&&(d="tiled")),a.dispatchAction({type:"changeMagicType",currentType:d,newOption:s,newTitle:c,featureName:"magicType"})}},t}(jr),Nq={line:function(n,t,e,a){if("bar"===n)return le({id:t,type:"line",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},a.get(["option","line"])||{},!0)},bar:function(n,t,e,a){if("line"===n)return le({id:t,type:"bar",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},a.get(["option","bar"])||{},!0)},stack:function(n,t,e,a){var r=e.get("stack")===Lq;if("line"===n||"bar"===n)return a.setIconStatus("stack",r?"normal":"emphasis"),le({id:t,stack:r?"":Lq},a.get(["option","stack"])||{},!0)}};Xi({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(n,t){t.mergeOption(n.newOption)});const L0t=R0t;var l1=new Array(60).join("-"),Nm="\t";function U0t(n){var t=[];return q(n,function(e,a){var r=e.categoryAxis,o=e.valueAxis.dim,s=[" "].concat(At(e.series,function(f){return f.name})),l=[r.model.getCategories()];q(e.series,function(f){var v=f.getRawData();l.push(f.getRawData().mapArray(v.mapDimension(o),function(A){return A}))});for(var c=[s.join(Nm)],d=0;d<l[0].length;d++){for(var u=[],h=0;h<l.length;h++)u.push(l[h][d]);c.push(u.join(Nm))}t.push(c.join("\n"))}),t.join("\n\n"+l1+"\n\n")}function F0t(n){return At(n,function(t){var e=t.getRawData(),a=[t.name],r=[];return e.each(e.dimensions,function(){for(var i=arguments.length,o=arguments[i-1],s=e.getName(o),l=0;l<i-1;l++)r[l]=arguments[l];a.push((s?s+Nm:"")+r.join(Nm))}),a.join("\n")}).join("\n\n"+l1+"\n\n")}function c1(n){return n.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var SI=new RegExp("[\t]+","g");function H0t(n,t){var e=n.split(new RegExp("\n*"+l1+"\n*","g")),a={series:[]};return q(e,function(r,i){if(function z0t(n){if(n.slice(0,n.indexOf("\n")).indexOf(Nm)>=0)return!0}(r)){var o=function E0t(n){for(var t=n.split(/\n+/g),a=[],r=At(c1(t.shift()).split(SI),function(l){return{name:l,data:[]}}),i=0;i<t.length;i++){var o=c1(t[i]).split(SI);a.push(o.shift());for(var s=0;s<o.length;s++)r[s]&&(r[s].data[i]=o[s])}return{series:r,categories:a}}(r),s=t[i],l=s.axisDim+"Axis";s&&(a[l]=a[l]||[],a[l][s.axisIndex]={data:o.categories},a.series=a.series.concat(o.series))}else{o=function q0t(n){for(var t=n.split(/\n+/g),e=c1(t.shift()),a=[],r=0;r<t.length;r++){var i=c1(t[r]);if(i){var o=i.split(SI),s="",l=void 0,c=!1;isNaN(o[0])?(c=!0,s=o[0],o=o.slice(1),a[r]={name:s,value:[]},l=a[r].value):l=a[r]=[];for(var d=0;d<o.length;d++)l.push(+o[d]);1===l.length&&(c?a[r].value=l[0]:a[r]=l[0])}}return{name:e,data:a}}(r);a.series.push(o)}}),a}var B0t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.prototype.onclick=function(e,a){setTimeout(function(){a.dispatchAction({type:"hideTip"})});var r=a.getDom(),i=this.model;this._dom&&r.removeChild(this._dom);var o=document.createElement("div");o.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",o.style.backgroundColor=i.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=i.get("lang")||[];s.innerHTML=l[0]||i.get("title"),s.style.cssText="margin:10px 20px",s.style.color=i.get("textColor");var c=document.createElement("div"),d=document.createElement("textarea");c.style.cssText="overflow:auto";var u=i.get("optionToContent"),h=i.get("contentToOption"),f=function V0t(n){var t=function N0t(n){var t={},e=[],a=[];return n.eachRawSeries(function(r){var i=r.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)e.push(r);else{var o=i.getBaseAxis();if("category"===o.type){var s=o.dim+"_"+o.index;t[s]||(t[s]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},a.push({axisDim:o.dim,axisIndex:o.index})),t[s].series.push(r)}else e.push(r)}}),{seriesGroupByCategoryAxis:t,other:e,meta:a}}(n);return{value:Ne([U0t(t.seriesGroupByCategoryAxis),F0t(t.other)],function(e){return!!e.replace(/[\n\t\s]/g,"")}).join("\n\n"+l1+"\n\n"),meta:t.meta}}(e);if(jt(u)){var v=u(a.getOption());Lt(v)?c.innerHTML=v:Mh(v)&&c.appendChild(v)}else{d.readOnly=i.get("readOnly");var A=d.style;A.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",A.color=i.get("textColor"),A.borderColor=i.get("textareaBorderColor"),A.backgroundColor=i.get("textareaColor"),d.value=f.value,c.appendChild(d)}var b=f.meta,x=document.createElement("div");x.style.cssText="position:absolute;bottom:5px;left:0;right:0";var S="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",k=document.createElement("div"),D=document.createElement("div");S+=";background-color:"+i.get("buttonColor"),S+=";color:"+i.get("buttonTextColor");var I=this;function M(){r.removeChild(o),I._dom=null}$k(k,"click",M),$k(D,"click",function(){if(null==h&&null!=u||null!=h&&null==u)M();else{var R;try{R=jt(h)?h(c,a.getOption()):H0t(d.value,b)}catch(N){throw M(),new Error("Data view format error "+N)}R&&a.dispatchAction({type:"changeDataView",newOption:R}),M()}}),k.innerHTML=l[1],D.innerHTML=l[2],D.style.cssText=k.style.cssText=S,!i.get("readOnly")&&x.appendChild(D),x.appendChild(k),o.appendChild(s),o.appendChild(c),o.appendChild(x),c.style.height=r.clientHeight-80+"px",r.appendChild(o),this._dom=o},t.prototype.remove=function(e,a){this._dom&&a.getDom().removeChild(this._dom)},t.prototype.dispose=function(e,a){this.remove(e,a)},t.getDefaultOption=function(e){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},t}(jr);function j0t(n,t){return At(n,function(e,a){var r=t&&t[a];
vendor: 2,453 bytes, line 1
1if(Xt(r)&&!vt(r)){Xt(e)&&!vt(e)||(e={value:e});var o=null!=r.name&&null==e.name;return e=Kt(e,r),o&&delete e.name,e}return e})}Xi({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(n,t){var e=[];q(n.newOption.series,function(a){var r=t.getSeriesByName(a.name)[0];if(r){var i=r.get("data");e.push({name:a.name,data:j0t(a.data,i)})}else e.push(ft({type:"scatter"},a))}),t.mergeOption(Kt({series:e},n.newOption))});const G0t=B0t;var Uq=q,Fq=_e();function wI(n){var t=Fq(n);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var X0t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.prototype.onclick=function(e,a){(function J0t(n){Fq(n).snapshots=null})(e),a.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])}},t}(jr);Xi({type:"restore",event:"restore",update:"prepareAndUpdate"},function(n,t){t.resetOption("recreate")});const Y0t=X0t;var Q0t=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],$0t=function(){function n(t,e,a){var r=this;this._targetInfoList=[];var i=Vq(e,t);q(t_t,function(o,s){(!a||!a.include||pe(a.include,s)>=0)&&o(i,r._targetInfoList)})}return n.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(a,r,i){if((a.coordRanges||(a.coordRanges=[])).push(r),!a.coordRange){a.coordRange=r;var o=CI[a.brushType](0,i,r);a.__rangeOffset={offset:Hq[a.brushType](o.values,a.range,[1,1]),xyMinMax:o.xyMinMax}}}),t},n.prototype.matchOutputRanges=function(t,e,a){q(t,function(r){var i=this.findTargetInfo(r,e);i&&!0!==i&&q(i.coordSyses,function(o){var s=CI[r.brushType](1,o,r.range,!0);a(r,s.values,o,e)})},this)},n.prototype.setInputRanges=function(t,e){q(t,function(a){var r=this.findTargetInfo(a,e);if(a.range=a.range||[],r&&!0!==r){a.panelId=r.panelId;var i=CI[a.brushType](0,r.coordSys,a.coordRange),o=a.__rangeOffset;a.range=o?Hq[a.brushType](i.values,o.offset,function e_t(n,t){var e=jq(n),a=jq(t),r=[e[0]/a[0],e[1]/a[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}(i.xyMinMax,o.xyMinMax)):i.values}},this)},n.prototype.makePanelOpts=function(t,e){return At(this._targetInfoList,function(a){var r=a.getPanelRect();
vendor: 4,175 bytes, line 1
1return{panelId:a.panelId,defaultBrushType:e?e(a):null,clipPath:EE(r),isTargetByCursor:HE(r,t,a.coordSysModel),getLinearBrushOtherExtent:qE(r)}})},n.prototype.controlSeries=function(t,e,a){var r=this.findTargetInfo(t,a);return!0===r||r&&pe(r.coordSyses,e.coordinateSystem)>=0},n.prototype.findTargetInfo=function(t,e){for(var a=this._targetInfoList,r=Vq(e,t),i=0;i<a.length;i++){var o=a[i],s=t.panelId;if(s){if(o.panelId===s)return o}else for(var l=0;l<zq.length;l++)if(zq[l](r,o))return o}return!0},n}();function kI(n){return n[0]>n[1]&&n.reverse(),n}function Vq(n,t){return Gv(n,t,{includeMainTypes:Q0t})}var t_t={grid:function(n,t){var e=n.xAxisModels,a=n.yAxisModels,r=n.gridModels,i=Et(),o={},s={};!e&&!a&&!r||(q(e,function(l){var c=l.axis.grid.model;i.set(c.id,c),o[c.id]=!0}),q(a,function(l){var c=l.axis.grid.model;i.set(c.id,c),s[c.id]=!0}),q(r,function(l){i.set(l.id,l),o[l.id]=!0,s[l.id]=!0}),i.each(function(l){var c=l.coordinateSystem,d=[];q(c.getCartesians(),function(u,h){(pe(e,u.getAxis("x").model)>=0||pe(a,u.getAxis("y").model)>=0)&&d.push(u)}),t.push({panelId:"grid--"+l.id,gridModel:l,coordSysModel:l,coordSys:d[0],coordSyses:d,getPanelRect:Eq.grid,xAxisDeclared:o[l.id],yAxisDeclared:s[l.id]})}))},geo:function(n,t){q(n.geoModels,function(e){var a=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:a,coordSyses:[a],getPanelRect:Eq.geo})})}},zq=[function(n,t){var e=n.xAxisModel,a=n.yAxisModel,r=n.gridModel;return!r&&e&&(r=e.axis.grid.model),!r&&a&&(r=a.axis.grid.model),r&&r===t.gridModel},function(n,t){var e=n.geoModel;return e&&e===t.geoModel}],Eq={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var n=this.coordSys,t=n.getBoundingRect().clone();return t.applyTransform(Ld(n)),t}},CI={lineX:se(qq,0),lineY:se(qq,1),rect:function(n,t,e,a){var r=n?t.pointToData([e[0][0],e[1][0]],a):t.dataToPoint([e[0][0],e[1][0]],a),i=n?t.pointToData([e[0][1],e[1][1]],a):t.dataToPoint([e[0][1],e[1][1]],a),o=[kI([r[0],i[0]]),kI([r[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(n,t,e,a){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:At(e,function(o){var s=n?t.pointToData(o,a):t.dataToPoint(o,a);return r[0][0]=Math.min(r[0][0],s[0]),r[1][0]=Math.min(r[1][0],s[1]),r[0][1]=Math.max(r[0][1],s[0]),r[1][1]=Math.max(r[1][1],s[1]),s}),xyMinMax:r}}};function qq(n,t,e,a){var r=e.getAxis(["x","y"][n]),i=kI(At([0,1],function(s){return t?r.coordToData(r.toLocalCoord(a[s]),!0):r.toGlobalCoord(r.dataToCoord(a[s]))})),o=[];return o[n]=i,o[1-n]=[NaN,NaN],{values:i,xyMinMax:o}}var Hq={lineX:se(Bq,0),lineY:se(Bq,1),rect:function(n,t,e){return[[n[0][0]-e[0]*t[0][0],n[0][1]-e[0]*t[0][1]],[n[1][0]-e[1]*t[1][0],n[1][1]-e[1]*t[1][1]]]},polygon:function(n,t,e){return At(n,function(a,r){return[a[0]-e[0]*t[r][0],a[1]-e[1]*t[r][1]]})}};function Bq(n,t,e,a){return[t[0]-a[n]*e[0],t[1]-a[n]*e[1]]}function jq(n){return n?[n[0][1]-n[0][0],n[1][1]-n[1][0]]:[NaN,NaN]}const DI=$0t;var TI=q,n_t=function hnt(n){return"\0_ec_\0"+n}("toolbox-dataZoom_"),a_t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.prototype.render=function(e,a,r,i){this._brushController||(this._brushController=new RP(r.getZr()),this._brushController.on("brush",Ut(this._onBrush,this)).mount()),function o_t(n,t,e,a,r){var i=e._isZoomActive;a&&"takeGlobalCursor"===a.type&&(i="dataZoomSelect"===a.key&&a.dataZoomSelectActive),e._isZoomActive=i,n.setIconStatus("zoom",i?"emphasis":"normal");var s=new DI(PI(n),t,{include:["grid"]}).makePanelOpts(r,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});e._brushController.setPanels(s).enableBrush(!(!i||!s.length)&&{brushType:"auto",brushStyle:n.getModel("brushStyle").getItemStyle()})}(e,a,this,i,r),function i_t(n,t){n.setIconStatus("back",function Z0t(n){return wI(n).length}(t)>1?"emphasis":"normal")}(e,a)},t.prototype.onclick=function(e,a,r){r_t[r].call(this)},t.prototype.remove=function(e,a){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,a){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var a=e.areas;
vendor: 17,346 bytes, line 1
1if(e.isEnd&&a.length){var r={},i=this.ecModel;this._brushController.updateCovers([]),new DI(PI(this.model),i,{include:["grid"]}).matchOutputRanges(a,i,function(c,d,u){if("cartesian2d"===u.type){var h=c.brushType;"rect"===h?(s("x",u,d[0]),s("y",u,d[1])):s({lineX:"x",lineY:"y"}[h],u,d)}}),function K0t(n,t){var e=wI(n);Uq(t,function(a,r){for(var i=e.length-1;i>=0&&!e[i][r];i--);if(i<0){var s=n.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(s){var l=s.getPercentRange();e[0][r]={dataZoomId:r,start:l[0],end:l[1]}}}}),e.push(t)}(i,r),this._dispatchZoomAction(r)}function s(c,d,u){var h=d.getAxis(c),f=h.model,v=function l(c,d,u){var h;return u.eachComponent({mainType:"dataZoom",subType:"select"},function(f){f.getAxisModel(c,d.componentIndex)&&(h=f)}),h}(c,f,i),A=v.findRepresentativeAxisProxy(f).getMinMaxSpan();(null!=A.minValueSpan||null!=A.maxValueSpan)&&(u=iu(0,u.slice(),h.scale.getExtent(),0,A.minValueSpan,A.maxValueSpan)),v&&(r[v.id]={dataZoomId:v.id,startValue:u[0],endValue:u[1]})}},t.prototype._dispatchZoomAction=function(e){var a=[];TI(e,function(r,i){a.push(Yt(r))}),a.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:a})},t.getDefaultOption=function(e){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},t}(jr),r_t={zoom:function(){var n=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:n})},back:function(){this._dispatchZoomAction(function W0t(n){var t=wI(n),e=t[t.length-1];t.length>1&&t.pop();var a={};return Uq(e,function(r,i){for(var o=t.length-1;o>=0;o--)if(r=t[o][i]){a[i]=r;break}}),a}(this.ecModel))}};function PI(n){var t={xAxisIndex:n.get("xAxisIndex",!0),yAxisIndex:n.get("yAxisIndex",!0),xAxisId:n.get("xAxisId",!0),yAxisId:n.get("yAxisId",!0)};return null==t.xAxisIndex&&null==t.xAxisId&&(t.xAxisIndex="all"),null==t.yAxisIndex&&null==t.yAxisId&&(t.yAxisIndex="all"),t}!function drt(n,t){Oa(null==VC.get(n)&&t),VC.set(n,t)}("dataZoom",function(n){var t=n.getComponent("toolbox",0),e=["feature","dataZoom"];if(t&&null!=t.get(e)){var a=t.getModel(e),r=[],o=Gv(n,PI(a));return TI(o.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),TI(o.yAxisModels,function(l){return s(l,"yAxis","yAxisIndex")}),r}function s(l,c,d){var u=l.componentIndex,h={type:"select",$fromToolbox:!0,filterMode:a.get("filterMode",!0)||"filter",id:n_t+c+u};h[d]=u,r.push(h)}});const s_t=a_t;var c_t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(De);const d_t=c_t;function Gq(n){var t=n.get("confine");return null!=t?!!t:"richText"===n.get("renderMode")}function Kq(n){if(we.domSupported)for(var t=document.documentElement.style,e=0,a=n.length;e<a;e++)if(n[e]in t)return n[e]}var Wq=Kq(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function Jq(n,t){if(!n)return t;t=s5(t,!0);var e=n.indexOf(t);return(n=-1===e?t:"-"+n.slice(0,e)+"-"+t).toLowerCase()}var h_t=Jq(Kq(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),II=Jq(Wq,"transform"),m_t="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(we.transform3dSupported?"will-change:transform;":"");function Zq(n,t,e){var a=n.toFixed(0)+"px",r=t.toFixed(0)+"px";if(!we.transformSupported)return e?"top:"+r+";left:"+a+";":[["top",r],["left",a]];var i=we.transform3dSupported,o="translate"+(i?"3d":"")+"("+a+","+r+(i?",0":"")+")";return e?"top:0;left:0;"+II+":"+o+";":[["top",0],["left",0],[Wq,o]]}function y_t(n,t,e){var a=[],r=n.get("transitionDuration"),i=n.get("backgroundColor"),o=n.get("shadowBlur"),s=n.get("shadowColor"),l=n.get("shadowOffsetX"),c=n.get("shadowOffsetY"),d=n.getModel("textStyle"),u=gN(n,"html"),h=l+"px "+c+"px "+o+"px "+s;return a.push("box-shadow:"+h),t&&r&&a.push(function v_t(n,t){var e="cubic-bezier(0.23,1,0.32,1)",a=" "+n/2+"s "+e,r="opacity"+a+",visibility"+a;return t||(a=" "+n+"s "+e,r+=we.transformSupported?","+II+a:",left"+a+",top"+a),h_t+":"+r}(r,e)),i&&a.push("background-color:"+i),q(["width","color","radius"],function(f){var v="border-"+f,A=s5(v),b=n.get(A);null!=b&&a.push(v+":"+b+("color"===f?"":"px"))}),a.push(function A_t(n){var t=[],e=n.get("fontSize"),a=n.getTextColor();a&&t.push("color:"+a),t.push("font:"+n.getFont());var r=ie(n.get("lineHeight"),Math.round(3*e/2));e&&t.push("line-height:"+r+"px");var i=n.get("textShadowColor"),o=n.get("textShadowBlur")||0,s=n.get("textShadowOffsetX")||0,l=n.get("textShadowOffsetY")||0;return i&&o&&t.push("text-shadow:"+s+"px "+l+"px "+o+"px "+i),q(["decoration","align"],function(c){var d=n.get(c);d&&t.push("text-"+c+":"+d)}),t.join(";")}(d)),null!=u&&a.push("padding:"+$h(u).join("px ")+"px"),a.join(";")+";"}function Xq(n,t,e,a,r){var i=t&&t.painter;if(e){var o=i&&i.getViewportRoot();o&&function Ltt(n,t,e,a,r){return Zk(Jk,t,a,r,!0)&&Zk(n,e,Jk[0],Jk[1])}(n,o,e,a,r)}else{n[0]=a,n[1]=r;var s=i&&i.getViewportRootOffset();s&&(n[0]+=s.offsetLeft,n[1]+=s.offsetTop)}n[2]=n[0]/t.getWidth(),n[3]=n[1]/t.getHeight()}var b_t=function(){function n(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,we.wxa)return null;var a=document.createElement("div");a.domBelongToZr=!0,this.el=a;var r=this._zr=t.getZr(),i=e.appendTo,o=i&&(Lt(i)?document.querySelector(i):Mh(i)?i:jt(i)&&i(t.getDom()));Xq(this._styleCoord,r,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(a),this._api=t,this._container=o;var s=this;a.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},a.onmousemove=function(l){if(l=l||window.event,!s._enterable){var c=r.handler;Dr(r.painter.getViewportRoot(),l,!0),c.dispatch("mousemove",l)}},a.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return n.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),a=function p_t(n,t){var e=n.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(n);return e?t?e[t]:e:null}(e,"position"),r=e.style;"absolute"!==r.position&&"absolute"!==a&&(r.position="relative")}var i=t.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=t.get("className")||""},n.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var a=this.el,r=a.style,i=this._styleCoord;a.innerHTML?r.cssText=m_t+y_t(t,!this._firstShow,this._longHide)+Zq(i[0],i[1],!0)+"border-color:"+kd(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},n.prototype.setContent=function(t,e,a,r,i){var o=this.el;if(null!=t){var s="";if(Lt(i)&&"item"===a.get("trigger")&&!Gq(a)&&(s=function g_t(n,t,e){if(!Lt(e)||"inside"===e)return"";var a=n.get("backgroundColor"),r=n.get("borderWidth");t=kd(t);var c,i=function f_t(n){return"left"===n?"right":"right"===n?"left":"top"===n?"bottom":"top"}(e),o=Math.max(1.5*Math.round(r),6),s="",l=II+":";pe(["left","right"],i)>-1?(s+="top:50%",l+="translateY(-50%) rotate("+(c="left"===i?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(c="top"===i?225:45)+"deg)");var d=c*Math.PI/180,u=o+r,h=u*Math.abs(Math.cos(d))+u*Math.abs(Math.sin(d)),v=t+" solid "+r+"px;";return'<div style="'+["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",(s+=";"+i+":-"+Math.round(100*((h-Math.SQRT2*r)/2+Math.SQRT2*r-(h-u)/2))/100+"px")+";"+l+";","border-bottom:"+v,"border-right:"+v,"background-color:"+a+";"].join("")+'"></div>'}(a,r,i)),Lt(t))o.innerHTML=t+s;else if(t){o.innerHTML="",vt(t)||(t=[t]);for(var l=0;l<t.length;l++)Mh(t[l])&&t[l].parentNode!==o&&o.appendChild(t[l]);if(s&&o.childNodes.length){var c=document.createElement("div");c.innerHTML=s,o.appendChild(c)}}}else o.innerHTML=""},n.prototype.setEnterable=function(t){this._enterable=t},n.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},n.prototype.moveTo=function(t,e){if(this.el){var a=this._styleCoord;if(Xq(a,this._zr,this._container,t,e),null!=a[0]&&null!=a[1]){var r=this.el.style;q(Zq(a[0],a[1]),function(o){r[o[0]]=o[1]})}}},n.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},n.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",we.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},n.prototype.hideLater=function(t){this._show&&(!this._inContent||!this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(Ut(this.hide,this),t)):this.hide())},n.prototype.isShow=function(){return this._show},n.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},n}();const __t=b_t;var x_t=function(){function n(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),Qq(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return n.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},n.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},n.prototype.setContent=function(t,e,a,r,i){var o=this;Xt(t)&&Ue(""),this.el&&this._zr.remove(this.el);var s=a.getModel("textStyle");this.el=new Ce({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:r,textShadowColor:s.get("textShadowColor"),fill:a.get(["textStyle","color"]),padding:gN(a,"richText"),verticalAlign:"top",align:"left"},z:a.get("z")}),q(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(c){o.el.style[c]=a.get(c)}),q(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(c){o.el.style[c]=s.get(c)||0}),this._zr.add(this.el);var l=this;this.el.on("mouseover",function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0}),this.el.on("mouseout",function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1})},n.prototype.setEnterable=function(t){this._enterable=t},n.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),a=Yq(t.style);return[e.width+a.left+a.right,e.height+a.top+a.bottom]},n.prototype.moveTo=function(t,e){var a=this.el;if(a){var r=this._styleCoord;Qq(r,this._zr,t,e),t=r[0],e=r[1];var i=a.style,o=jl(i.borderWidth||0),s=Yq(i);a.x=t+o+s.left,a.y=e+o+s.top,a.markRedraw()}},n.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},n.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},n.prototype.hideLater=function(t){this._show&&(!this._inContent||!this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(Ut(this.hide,this),t)):this.hide())},n.prototype.isShow=function(){return this._show},n.prototype.dispose=function(){this._zr.remove(this.el)},n}();function jl(n){return Math.max(0,n)}function Yq(n){var t=jl(n.shadowBlur||0),e=jl(n.shadowOffsetX||0),a=jl(n.shadowOffsetY||0);return{left:jl(t-e),right:jl(t+e),top:jl(t-a),bottom:jl(t+a)}}function Qq(n,t,e,a){n[0]=e,n[1]=a,n[2]=n[0]/t.getWidth(),n[3]=n[1]/t.getHeight()}const S_t=x_t;var w_t=new Se({shape:{x:-1,y:-1,width:2,height:2}}),k_t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.init=function(e,a){if(!we.node&&a.getDom()){var r=e.getComponent("tooltip"),i=this._renderMode=function bnt(n){return"auto"===n?we.domSupported?"html":"richText":n||"html"}(r.get("renderMode"));this._tooltipContent="richText"===i?new S_t(a):new __t(a,{appendTo:r.get("appendToBody",!0)?"body":r.get("appendTo",!0)})}},t.prototype.render=function(e,a,r){if(!we.node&&r.getDom()){this.group.removeAll(),this._tooltipModel=e,this._ecModel=a,this._api=r;var i=this._tooltipContent;i.update(e),i.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&e.get("transitionDuration")?um(this,"_updatePosition",50,"fixRate"):yA(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var a=this._tooltipModel.get("triggerOn");aq("itemTooltip",this._api,Ut(function(r,i,o){"none"!==a&&(a.indexOf(r)>=0?this._tryShow(i,o):"leave"===r&&this._hide(o))},this))},t.prototype._keepShow=function(){var e=this._tooltipModel,a=this._ecModel,r=this._api,i=e.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!r.isDisposed()&&o.manuallyShowTip(e,a,r,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(e,a,r,i){if(i.from!==this.uid&&!we.node&&r.getDom()){var o=$q(i,r);this._ticket="";var s=i.dataByCoordSys,l=function P_t(n,t,e){var a=j2(n).queryOptionMap,r=a.keys()[0];if(r&&"series"!==r){var l,o=Kv(t,r,a.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(o)if(e.getViewOfComponentModel(o).group.traverse(function(c){var d=ee(c).tooltipConfig;if(d&&d.name===n.name)return l=c,!0}),l)return{componentMainType:r,componentIndex:o.componentIndex,el:l}}}(i,a,r);if(l){var c=l.el.getBoundingRect().clone();c.applyTransform(l.el.transform),this._tryShow({offsetX:c.x+c.width/2,offsetY:c.y+c.height/2,target:l.el,position:i.position,positionDefault:"bottom"},o)}else if(i.tooltip&&null!=i.x&&null!=i.y){var d=w_t;d.x=i.x,d.y=i.y,d.update(),ee(d).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:d},o)}else if(s)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:s,tooltipOption:i.tooltipOption},o);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(e,a,r,i))return;var u=iq(i,a),h=u.point[0],f=u.point[1];null!=h&&null!=f&&this._tryShow({offsetX:h,offsetY:f,target:u.el,position:i.position,positionDefault:"bottom"},o)}else null!=i.x&&null!=i.y&&(r.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:r.getZr().findHover(i.x,i.y).target},o))}},t.prototype.manuallyHideTip=function(e,a,r,i){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide($q(i,r))},t.prototype._manuallyAxisShowTip=function(e,a,r,i){var o=i.seriesIndex,s=i.dataIndex,l=a.getComponent("axisPointer").coordSysAxesInfo;if(null!=o&&null!=s&&null!=l){var c=a.getSeriesByIndex(o);if(c)if("axis"===py([c.getData().getItemModel(s),c,(c.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return r.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:i.position}),!0}},t.prototype._tryShow=function(e,a){var r=e.target;if(this._tooltipModel){this._lastX=e.offsetX,this._lastY=e.offsetY;var o=e.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,e);else if(r){var l,c;if("legend"===ee(r).ssrType)return;this._lastDataByCoordSys=null,Ud(r,function(d){return null!=ee(d).dataIndex?(l=d,!0):null!=ee(d).tooltipConfig?(c=d,!0):void 0},!0),l?this._showSeriesItemTooltip(e,l,a):c?this._showComponentItemTooltip(e,c,a):this._hide(a)}else this._lastDataByCoordSys=null,this._hide(a)}},t.prototype._showOrMove=function(e,a){var r=e.get("showDelay");a=Ut(a,this),clearTimeout(this._showTimout),r>0?this._showTimout=setTimeout(a,r):a()},t.prototype._showAxisTooltip=function(e,a){var r=this._ecModel,i=this._tooltipModel,o=[a.offsetX,a.offsetY],s=py([a.tooltipOption],i),l=this._renderMode,c=[],d=Wn("section",{blocks:[],noHeader:!0}),u=[],h=new eD;q(e,function(S){q(S.dataByAxis,function(k){var D=r.getComponent(k.axisDim+"Axis",k.axisIndex),I=k.value;if(D&&null!=I){var M=Y4(I,D.axis,r,k.seriesDataIndices,k.valueLabelOpt),R=Wn("section",{header:M,noHeader:!ni(M),sortBlocks:!0,blocks:[]});d.blocks.push(R),q(k.seriesDataIndices,function(N){var U=r.getSeriesByIndex(N.seriesIndex),z=N.dataIndexInside,B=U.getDataParams(z);if(!(B.dataIndex<0)){B.axisDim=k.axisDim,B.axisIndex=k.axisIndex,B.axisType=k.axisType,B.axisId=k.axisId,B.axisValue=yT(D.axis,{value:
vendor: 4,410 bytes, line 1
1I}),B.axisValueLabel=M,B.marker=h.makeTooltipMarker("item",kd(B.color),l);var K=Z5(U.formatTooltip(z,!0,null)),W=K.frag;if(W){var Z=py([U],i).get("valueFormatter");R.blocks.push(Z?ft({valueFormatter:Z},W):W)}K.text&&u.push(K.text),c.push(B)}})}})}),d.blocks.reverse(),u.reverse();var f=a.position,v=s.get("order"),A=hN(d,h,l,v,r.get("useUTC"),s.get("textStyle"));A&&u.unshift(A);var b="richText"===l?"\n\n":"<br/>",x=u.join(b);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(e,c)?this._updatePosition(s,f,o[0],o[1],this._tooltipContent,c):this._showTooltipContent(s,x,c,Math.random()+"",o[0],o[1],f,null,h)})},t.prototype._showSeriesItemTooltip=function(e,a,r){var i=this._ecModel,o=ee(a),s=o.seriesIndex,l=i.getSeriesByIndex(s),c=o.dataModel||l,d=o.dataIndex,u=o.dataType,h=c.getData(u),f=this._renderMode,v=e.positionDefault,A=py([h.getItemModel(d),c,l&&(l.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),b=A.get("trigger");if(null==b||"item"===b){var x=c.getDataParams(d,u),S=new eD;x.marker=S.makeTooltipMarker("item",kd(x.color),f);var k=Z5(c.formatTooltip(d,!1,u)),D=A.get("order"),I=A.get("valueFormatter"),M=k.frag,R=M?hN(I?ft({valueFormatter:I},M):M,S,f,D,i.get("useUTC"),A.get("textStyle")):k.text,N="item_"+c.name+"_"+d;this._showOrMove(A,function(){this._showTooltipContent(A,R,x,N,e.offsetX,e.offsetY,e.position,e.target,S)}),r({type:"showTip",dataIndexInside:d,dataIndex:h.getRawIndex(d),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,a,r){var i="html"===this._renderMode,o=ee(a),l=o.tooltipConfig.option||{},c=l.encodeHTMLContent;if(Lt(l)){l={content:l,formatter:l},c=!0}c&&i&&l.content&&((l=Yt(l)).content=xa(l.content));var u=[l],h=this._ecModel.getComponent(o.componentMainType,o.componentIndex);h&&u.push(h),u.push({formatter:l.content});var f=e.positionDefault,v=py(u,this._tooltipModel,f?{position:f}:null),A=v.get("content"),b=Math.random()+"",x=new eD;this._showOrMove(v,function(){var S=Yt(v.get("formatterParams")||{});this._showTooltipContent(v,A,S,b,e.offsetX,e.offsetY,e.position,a,x)}),r({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,a,r,i,o,s,l,c,d){if(this._ticket="",e.get("showContent")&&e.get("show")){var u=this._tooltipContent;u.setEnterable(e.get("enterable"));var h=e.get("formatter");l=l||e.get("position");var f=a,A=this._getNearestPoint([o,s],r,e.get("trigger"),e.get("borderColor")).color;if(h)if(Lt(h)){var b=e.ecModel.get("useUTC"),x=vt(r)?r[0]:r;f=h,x&&x.axisType&&x.axisType.indexOf("time")>=0&&(f=f_(x.axisValue,f,b)),f=c5(f,r,!0)}else if(jt(h)){var k=Ut(function(D,I){D===this._ticket&&(u.setContent(I,d,e,A,l),this._updatePosition(e,l,o,s,u,r,c))},this);this._ticket=i,f=h(r,i,k)}else f=h;u.setContent(f,d,e,A,l),u.show(e,A),this._updatePosition(e,l,o,s,u,r,c)}},t.prototype._getNearestPoint=function(e,a,r,i){return"axis"===r||vt(a)?{color:i||("html"===this._renderMode?"#fff":"none")}:vt(a)?void 0:{color:i||a.color||a.borderColor}},t.prototype._updatePosition=function(e,a,r,i,o,s,l){var c=this._api.getWidth(),d=this._api.getHeight();a=a||e.get("position");var u=o.getSize(),h=e.get("align"),f=e.get("verticalAlign"),v=l&&l.getBoundingRect().clone();if(l&&v.applyTransform(l.transform),jt(a)&&(a=a([r,i],s,o.el,v,{viewSize:[c,d],contentSize:u.slice()})),vt(a))r=Ot(a[0],c),i=Ot(a[1],d);else if(Xt(a)){var A=a;A.width=u[0],A.height=u[1];var b=En(A,{width:c,height:d});r=b.x,i=b.y,h=null,f=null}else if(Lt(a)&&l){var x=function T_t(n,t,e,a){var r=e[0],i=e[1],o=Math.ceil(Math.SQRT2*a)+8,s=0,l=0,c=t.width,d=t.height;switch(n){case"inside":s=t.x+c/2-r/2,l=t.y+d/2-i/2;break;case"top":s=t.x+c/2-r/2,l=t.y-i-o;break;case"bottom":s=t.x+c/2-r/2,l=t.y+d+o;break;case"left":s=t.x-r-o,l=t.y+d/2-i/2;break;case"right":s=t.x+c+o,l=t.y+d/2-i/2}return[s,l]}(a,v,u,e.get("borderWidth"));r=x[0],i=x[1]}else{x=function C_t(n,t,e,a,r,i,o){var s=e.getSize(),l=s[0],c=s[1];return null!=i&&(n+l+i+2>a?n-=l+i:n+=i),null!=o&&(t+c+o>r?t-=c+o:t+=o),[n,t]}(r,i,o,c,d,h?null:20,f?null:20);r=x[0],i=x[1]}if(h&&(r-=tH(h)?u[0]/2:"right"===h?u[0]:0),f&&(i-=tH(f)?u[1]/2:"bottom"===f?u[1]:0),Gq(e)){x=function D_t(n,t,e,a,r){var i=e.getSize(),o=i[0],s=i[1];return n=Math.min(n+o,a)-o,t=Math.min(t+s,r)-s,n=Math.max(n,0),t=Math.max(t,0),[n,t]}(r,i,o,c,d);r=x[0],i=x[1]}o.moveTo(r,i)},t.prototype._updateContentNotChangedOnAxis=function(e,a){var r=this._lastDataByCoordSys,i=this._cbParam
vendor: 14,296 bytes, line 1
1sList,o=!!r&&r.length===e.length;return o&&q(r,function(s,l){var c=s.dataByAxis||[],u=(e[l]||{}).dataByAxis||[];(o=o&&c.length===u.length)&&q(c,function(h,f){var v=u[f]||{},A=h.seriesDataIndices||[],b=v.seriesDataIndices||[];(o=o&&h.value===v.value&&h.axisType===v.axisType&&h.axisId===v.axisId&&A.length===b.length)&&q(A,function(x,S){var k=b[S];o=o&&x.seriesIndex===k.seriesIndex&&x.dataIndex===k.dataIndex}),i&&q(h.seriesDataIndices,function(x){var S=x.seriesIndex,k=a[S],D=i[S];k&&D&&D.data!==k.data&&(o=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=a,!!o},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,a){we.node||!a.getDom()||(yA(this,"_updatePosition"),this._tooltipContent.dispose(),uI("itemTooltip",a))},t.type="tooltip",t}(xn);function py(n,t,e){var r,a=t.ecModel;e?(r=new en(e,a,a),r=new en(t.option,r,a)):r=t;for(var i=n.length-1;i>=0;i--){var o=n[i];o&&(o instanceof en&&(o=o.get("tooltip",!0)),Lt(o)&&(o={formatter:o}),o&&(r=new en(o,r,a)))}return r}function $q(n,t){return n.dispatchAction||Ut(t.dispatchAction,t)}function tH(n){return"center"===n||"middle"===n}const I_t=k_t;var O_t=["rect","polygon","keep","clear"];function R_t(n,t){var e=Be(n?n.brush:[]);if(e.length){var a=[];q(e,function(l){var c=l.hasOwnProperty("toolbox")?l.toolbox:[];c instanceof Array&&(a=a.concat(c))});var r=n&&n.toolbox;vt(r)&&(r=r[0]),r||(r={feature:{}},n.toolbox=[r]);var i=r.feature||(r.feature={}),o=i.brush||(i.brush={}),s=o.type||(o.type=[]);s.push.apply(s,a),function L_t(n){var t={};q(n,function(e){t[e]=1}),n.length=0,q(t,function(e,a){n.push(a)})}(s),t&&!s.length&&s.push.apply(s,O_t)}}var eH=q;function nH(n){if(n)for(var t in n)if(n.hasOwnProperty(t))return!0}function MI(n,t,e){var a={};return eH(t,function(i){var o=a[i]=function r(){var i=function(){};return i.prototype.__hidden=i.prototype,new i}();eH(n[i],function(s,l){if(pa.isValidType(l)){var c={type:l,visual:s};e&&e(c,i),o[l]=new pa(c),"opacity"===l&&((c=Yt(c)).type="colorAlpha",o.__hidden.__alphaForOpacity=new pa(c))}})}),a}function aH(n,t,e){var a;q(e,function(r){t.hasOwnProperty(r)&&nH(t[r])&&(a=!0)}),a&&q(e,function(r){t.hasOwnProperty(r)&&nH(t[r])?n[r]=Yt(t[r]):delete n[r]})}var rH={lineX:iH(0),lineY:iH(1),rect:{point:function(n,t,e){return n&&e.boundingRect.contain(n[0],n[1])},rect:function(n,t,e){return n&&e.boundingRect.intersect(n)}},polygon:{point:function(n,t,e){return n&&e.boundingRect.contain(n[0],n[1])&&$d(e.range,n[0],n[1])},rect:function(n,t,e){var a=e.range;if(!n||a.length<=1)return!1;var r=n.x,i=n.y,o=n.width,s=n.height,l=a[0];return!!($d(a,r,i)||$d(a,r+o,i)||$d(a,r,i+s)||$d(a,r+o,i+s)||de.create(n).contain(l[0],l[1])||AA(r,i,r+o,i,a)||AA(r,i,r,i+s,a)||AA(r+o,i,r+o,i+s,a)||AA(r,i+s,r+o,i+s,a))||void 0}}};function iH(n){var t=["x","y"],e=["width","height"];return{point:function(a,r,i){if(a){var o=i.range;return hy(a[n],o)}},rect:function(a,r,i){if(a){var o=i.range,s=[a[t[n]],a[t[n]]+a[e[n]]];return s[1]<s[0]&&s.reverse(),hy(s[0],o)||hy(s[1],o)||hy(o[0],s)||hy(o[1],s)}}}}function hy(n,t){return t[0]<=n&&n<=t[1]}var oH=["inBrush","outOfBrush"],OI="__ecBrushSelect",RI="__ecInBrushSelectEvent";function sH(n){n.eachComponent({mainType:"brush"},function(t){(t.brushTargetManager=new DI(t.option,n)).setInputRanges(t.areas,n)})}function V_t(n,t,e){var r,i,a=[];n.eachComponent({mainType:"brush"},function(o){e&&"takeGlobalCursor"===e.type&&o.setBrushOption("brush"===e.key?e.brushOption:{brushType:!1})}),sH(n),n.eachComponent({mainType:"brush"},function(o,s){var l={brushId:o.id,brushIndex:s,brushName:o.name,areas:Yt(o.areas),selected:[]};a.push(l);var c=o.option,d=c.brushLink,u=[],h=[],f=[],v=!1;s||(r=c.throttleType,i=c.throttleDelay);var A=At(o.areas,function(I){var M=H_t[I.brushType],R=Kt({boundingRect:M?M(I):void 0},I);return R.selectors=function F_t(n){var t=n.brushType,e={point:function(a){return rH[t].point(a,e,n)},rect:function(a){return rH[t].rect(a,e,n)}};return e}(R),R}),b=MI(o.option,oH,function(I){I.mappingMethod="fixed"});function x(I){return"all"===d||!!u[I]}function S(I){return!!I.length}vt(d)&&q(d,function(I){u[I]=1}),n.eachSeries(function(I,M){var R=f[M]=[];"parallel"===I.subType?function k(I,M){var R=I.coordinateSystem;v=v||R.hasAxisBrushed(),x(M)&&R.eachActiveState(I.getData(),function(N,U){"active"===N&&(h[U]=1)})}(I,M):function D(I,M,R){if(I.brushSelector&&!function q_t(n,t){var e=n.option.seriesIndex;return null!=e&&"all"!==e&&(vt(e)?pe(e,t)<0:t!==e)}(o,M)&&(q(A,function(U){o.brushTargetManager.controlSeries(U,I,n)&&R.push(U),v=v||S(R)}),x(M)&&S(R))){var N=I.getData();N.each(function(U){lH(I,R,N,U)&&(h[U]=1)})}}(I,M,R)}),n.eachSeries(function(I,M){var R={seriesId:I.id,seriesIndex:M,seriesName:I.name,dataIndex:[]};l.selected.push(R);var N=f[M],U=I.getData(),z=x(M)?function(B){return h[B]?(R.dataIndex.push(U.getRawIndex(B)),"inBrush"):"outOfBrush"}:function(B){return lH(I,N,U,B)?(R.dataIndex.push(U.getRawIndex(B)),"inBrush"):"outOfBrush"};(x(M)?v:S(N))&&function N_t(n,t,e,a,r,i){var s,o={};function l(u){return vD(e,s,u)}function c(u,h){fU(e,s,u,h)}function d(u,h){s=null==i?u:h;var f=e.getRawDataItem(s);if(!f||!1!==f.visualMap)for(var v=a.call(r,u),A=t[v],b=o[v],x=0,S=b.length;x<S;x++){var k=b[x];A[k]&&A[k].applyVisual(u,l,c)}}q(n,function(u){var h=pa.prepareVisualTypes(t[u]);o[u]=h}),null==i?e.each(d):e.each([i],d)}(oH,b,U,z)})}),function z_t(n,t,e,a,r){if(r){var i=n.getZr();if(!i[RI])i[OI]||(i[OI]=E_t),um(i,OI,e,t)(n,a)}}(t,r,i,a,e)}function E_t(n,t){if(!n.isDisposed()){var e=n.getZr();e[RI]=!0,n.dispatchAction({type:"brushSelect",batch:t}),e[RI]=!1}}function lH(n,t,e,a){for(var r=0,i=t.length;r<i;r++){var o=t[r];if(n.brushSelector(a,e,o.selectors,o))return!0}}var H_t={rect:function(n){return cH(n.range)},polygon:function(n){for(var t,e=n.range,a=0,r=e.length;a<r;a++){t=t||[[1/0,-1/0],[1/0,-1/0]];var i=e[a];i[0]<t[0][0]&&(t[0][0]=i[0]),i[0]>t[0][1]&&(t[0][1]=i[0]),i[1]<t[1][0]&&(t[1][0]=i[1]),i[1]>t[1][1]&&(t[1][1]=i[1])}return t&&cH(t)}};function cH(n){return new de(n[0][0],n[1][0],n[0][1]-n[0][0],n[1][1]-n[1][0])}var B_t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.init=function(e,a){this.ecModel=e,this.api=a,this.model,(this._brushController=new RP(a.getZr())).on("brush",Ut(this._onBrush,this)).mount()},t.prototype.render=function(e,a,r,i){this.model=e,this._updateController(e,a,r,i)},t.prototype.updateTransform=function(e,a,r,i){sH(a),this._updateController(e,a,r,i)},t.prototype.updateVisual=function(e,a,r,i){this.updateTransform(e,a,r,i)},t.prototype.updateView=function(e,a,r,i){this._updateController(e,a,r,i)},t.prototype._updateController=function(e,a,r,i){(!i||i.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(r)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(e){var a=this.model.id,r=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:a,areas:Yt(r),$from:a}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:a,areas:Yt(r),$from:a})},t.type="brush",t}(xn);const j_t=B_t;var K_t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.areas=[],e.brushOption={},e}return pt(t,n),t.prototype.optionUpdated=function(e,a){var r=this.option;!a&&aH(r,e,["inBrush","outOfBrush"]);var i=r.inBrush=r.inBrush||{};r.outOfBrush=r.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},t.prototype.setAreas=function(e){!e||(this.areas=At(e,function(a){return dH(this.option,a)},this))},t.prototype.setBrushOption=function(e){this.brushOption=dH(this.option,e),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},t}(De);function dH(n,t){return le({brushType:n.brushType,brushMode:n.brushMode,transformable:n.transformable,brushStyle:new en(n.brushStyle).getItemStyle(),removeOnClick:n.removeOnClick,z:n.z},t,!0)}const W_t=K_t;var J_t=["rect","polygon","lineX","lineY","keep","clear"],Z_t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return pt(t,n),t.prototype.render=function(e,a,r){var i,o,s;a.eachComponent({mainType:"brush"},function(l){i=l.brushType,o=l.brushOption.brushMode||"single",s=s||!!l.areas.length}),this._brushType=i,this._brushMode=o,q(e.get("type",!0),function(l){e.setIconStatus(l,("keep"===l?"multiple"===o:"clear"===l?s:l===i)?"emphasis":"normal")})},t.prototype.updateView=function(e,a,r){this.render(e,a,r)},t.prototype.getIcons=function(){var e=this.model,a=e.get("icon",!0),r={};return q(e.get("type",!0),function(i){a[i]&&(r[i]=a[i])}),r},t.prototype.onclick=function(e,a,r){var i=this._brushType,o=this._brushMode;"clear"===r?(a.dispatchAction({type:"axisAreaSelect",intervals:[]}),a.dispatchAction({type:"brush",command:"clear",areas:[]})):a.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===r?i:i!==r&&r,brushMode:"keep"===r?"multiple"===o?"single":"multiple":o}})},t.getDefaultOption=function(e){return{show:!0,type:J_t.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:e.getLocaleModel().get(["toolbox","brush","title"])}},t}(jr);const X_t=Z_t;var Q_t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return pt(t,n),t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}(De),$_t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.render=function(e,a,r){if(this.group.removeAll(),e.get("show")){var i=this.group,o=e.getModel("textStyle"),s=e.getModel("subtextStyle"),l=e.get("textAlign"),c=ie(e.get("textBaseline"),e.get("textVerticalAlign")),d=new Ce({style:tn(o,{text:e.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),u=d.getBoundingRect(),h=e.get("subtext"),f=new Ce({style:tn(s,{text:h,fill:s.getTextColor(),y:u.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),v=e.get("link"),A=e.get("sublink"),b=e.get("triggerEvent",!0);d.silent=!v&&!b,f.silent=!A&&!b,v&&d.on("click",function(){b_(v,"_"+e.get("target"))}),A&&f.on("click",function(){b_(A,"_"+e.get("subtarget"))}),ee(d).eventData=ee(f).eventData=b?{componentType:"title",componentIndex:e.componentIndex}:null,i.add(d),h&&i.add(f);var x=i.getBoundingRect(),S=e.getBoxLayoutParams();S.width=x.width,S.height=x.height;var k=En(S,{width:r.getWidth(),height:r.getHeight()},e.get("padding"));l||("middle"===(l=e.get("left")||e.get("right"))&&(l="center"),"right"===l?k.x+=k.width:"center"===l&&(k.x+=k.width/2)),c||("center"===(c=e.get("top")||e.get("bottom"))&&(c="middle"),"bottom"===c?k.y+=k.height:"middle"===c&&(k.y+=k.height/2),c=c||"top"),i.x=k.x,i.y=k.y,i.markRedraw();var D={align:l,verticalAlign:c};d.setStyle(D),f.setStyle(D),x=i.getBoundingRect();var I=k.margin,M=e.getItemStyle(["color","opacity"]);M.fill=e.get("backgroundColor");var R=new Se({shape:{x:x.x-I[3],y:x.y-I[0],width:x.width+I[1]+I[3],height:x.height+I[0]+I[2],r:e.get("borderRadius")},style:M,subPixelOptimize:!0,silent:!0});i.add(R)}},t.type="title",t}(xn);var ext=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.layoutMode="box",e}return pt(t,n),t.prototype.init=function(e,a,r){this.mergeDefaultAndTheme(e,r),this._initData()},t.prototype.mergeOption=function(e){n.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){null==e&&(e=this.option.currentIndex);var a=this._data.count();this.option.loop?e=(e%a+a)%a:(e>=a&&(e=a-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var o,e=this.option,a=e.data||[],r=e.axisType,i=this._names=[];"category"===r?(o=[],q(a,function(c,d){var h,u=zn(Hh(c),"");Xt(c)?(h=Yt(c)).value=d:h=d,o.push(h),i.push(u)})):o=a;var s={category:"ordinal",time:"time",value:"number"}[r]||"number";
vendor: 6,709 bytes, line 1
1(this._data=new Va([{name:"value",type:s}],this)).initData(o,i)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t}(De);const uH=ext;var pH=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.type="timeline.slider",t.defaultOption=wl(uH.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),t}(uH);Mn(pH,k_.prototype);const nxt=pH;var axt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.type="timeline",t}(xn);const rxt=axt;var ixt=function(n){function t(e,a,r,i){var o=n.call(this,e,a,r)||this;return o.type=i||"value",o}return pt(t,n),t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},t}(fi);const oxt=ixt;var LI=Math.PI,hH=_e(),sxt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.init=function(e,a){this.api=a},t.prototype.render=function(e,a,r){if(this.model=e,this.api=r,this.ecModel=a,this.group.removeAll(),e.get("show",!0)){var i=this._layout(e,r),o=this._createGroup("_mainGroup"),s=this._createGroup("_labelGroup"),l=this._axis=this._createAxis(i,e);e.formatTooltip=function(c){return Wn("nameValue",{noName:!0,value:l.scale.getLabel({value:c})})},q(["AxisLine","AxisTick","Control","CurrentPointer"],function(c){this["_render"+c](i,o,l,e)},this),this._renderAxisLabel(i,s,l,e),this._position(i,e)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(e,a){var s,r=e.get(["label","position"]),i=e.get("orient"),o=function cxt(n,t){return En(n.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},n.get("padding"))}(e,a),l={horizontal:"center",vertical:(s=null==r||"auto"===r?"horizontal"===i?o.y+o.height/2<a.getHeight()/2?"-":"+":o.x+o.width/2<a.getWidth()/2?"+":"-":Lt(r)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[i][r]:r)>=0||"+"===s?"left":"right"},c={horizontal:s>=0||"+"===s?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:LI/2},u="vertical"===i?o.height:o.width,h=e.getModel("controlStyle"),f=h.get("show",!0),v=f?h.get("itemSize"):0,A=f?h.get("itemGap"):0,b=v+A,x=e.get(["label","rotate"])||0;x=x*LI/180;var S,k,D,I=h.get("position",!0),M=f&&h.get("showPlayBtn",!0),R=f&&h.get("showPrevBtn",!0),N=f&&h.get("showNextBtn",!0),U=0,z=u;"left"===I||"bottom"===I?(M&&(S=[0,0],U+=b),R&&(k=[U,0],U+=b),N&&(D=[z-v,0],z-=b)):(M&&(S=[z-v,0],z-=b),R&&(k=[0,0],U+=b),N&&(D=[z-v,0],z-=b));var B=[U,z];return e.get("inverse")&&B.reverse(),{viewRect:o,mainLength:u,orient:i,rotation:d[i],labelRotation:x,labelPosOpt:s,labelAlign:e.get(["label","align"])||l[i],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||c[i],playPosition:S,prevBtnPosition:k,nextBtnPosition:D,axisExtent:B,controlSize:v,controlGap:A}},t.prototype._position=function(e,a){var r=this._mainGroup,i=this._labelGroup,o=e.viewRect;if("vertical"===e.orient){var s=[1,0,0,1,0,0],l=o.x,c=o.y+o.height;Ui(s,s,[-l,-c]),$c(s,s,-LI/2),Ui(s,s,[l,c]),(o=o.clone()).applyTransform(s)}var d=S(o),u=S(r.getBoundingRect()),h=S(i.getBoundingRect()),f=[r.x,r.y],v=[i.x,i.y];v[0]=f[0]=d[0][0];var b,A=e.labelPosOpt;null==A||Lt(A)?(k(f,u,d,1,b="+"===A?0:1),k(v,h,d,1,1-b)):(k(f,u,d,1,b=A>=0?0:1),v[1]=f[1]+A);function x(D){D.originX=d[0][0]-D.x,D.originY=d[1][0]-D.y}function S(D){return[[D.x,D.x+D.width],[D.y,D.y+D.height]]}function k(D,I,M,R,N){D[R]+=M[R][N]-I[R][N]}r.setPosition(f),i.setPosition(v),r.rotation=i.rotation=e.rotation,x(r),x(i)},t.prototype._createAxis=function(e,a){var r=a.getData(),i=a.get("axisType"),o=function lxt(n,t){if(t=t||n.get("type"))switch(t){case"category":return new vT({ordinalMeta:n.getCategories(),extent:[1/0,-1/0]});case"time":return new tV({locale:n.ecModel.getLocaleModel(),useUTC:n.ecModel.get("useUTC")});default:return new Fl}}(a,i);o.getTicks=function(){return r.mapArray(["value"],function(c){return{value:c}})};var s=r.getDataExtent("value");o.setExtent(s[0],s[1]),o.calcNiceTicks();
vendor: 13,811 bytes, line 1
1var l=new oxt("value",o,e.axisExtent,i);return l.model=a,l},t.prototype._createGroup=function(e){var a=this[e]=new te;return this.group.add(a),a},t.prototype._renderAxisLine=function(e,a,r,i){var o=r.getExtent();if(i.get(["lineStyle","show"])){var s=new ea({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:ft({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});a.add(s);var l=this._progressLine=new ea({shape:{x1:o[0],x2:this._currentPointer?this._currentPointer.x:o[0],y1:0,y2:0},style:Kt({lineCap:"round",lineWidth:s.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});a.add(l)}},t.prototype._renderAxisTick=function(e,a,r,i){var o=this,s=i.getData(),l=r.scale.getTicks();this._tickSymbols=[],q(l,function(c){var d=r.dataToCoord(c.value),u=s.getItemModel(c.value),h=u.getModel("itemStyle"),f=u.getModel(["emphasis","itemStyle"]),v=u.getModel(["progress","itemStyle"]),A={x:d,y:0,onclick:Ut(o._changeTimeline,o,c.value)},b=mH(u,h,a,A);b.ensureState("emphasis").style=f.getItemStyle(),b.ensureState("progress").style=v.getItemStyle(),xd(b);var x=ee(b);u.get("tooltip")?(x.dataIndex=c.value,x.dataModel=i):x.dataIndex=x.dataModel=null,o._tickSymbols.push(b)})},t.prototype._renderAxisLabel=function(e,a,r,i){var o=this;if(r.getLabelModel().get("show")){var l=i.getData(),c=r.getViewLabels();this._tickLabels=[],q(c,function(d){var u=d.tickValue,h=l.getItemModel(u),f=h.getModel("label"),v=h.getModel(["emphasis","label"]),A=h.getModel(["progress","label"]),b=r.dataToCoord(d.tickValue),x=new Ce({x:b,y:0,rotation:e.labelRotation-e.rotation,onclick:Ut(o._changeTimeline,o,u),silent:!1,style:tn(f,{text:d.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});x.ensureState("emphasis").style=tn(v),x.ensureState("progress").style=tn(A),a.add(x),xd(x),hH(x).dataIndex=u,o._tickLabels.push(x)})}},t.prototype._renderControl=function(e,a,r,i){var o=e.controlSize,s=e.rotation,l=i.getModel("controlStyle").getItemStyle(),c=i.getModel(["emphasis","controlStyle"]).getItemStyle(),d=i.getPlayState(),u=i.get("inverse",!0);function h(f,v,A,b){if(f){var x=ii(ie(i.get(["controlStyle",v+"BtnSize"]),o),o),k=function dxt(n,t,e,a){var r=a.style,i=vA(n.get(["controlStyle",t]),a||{},new de(e[0],e[1],e[2],e[3]));return r&&i.setStyle(r),i}(i,v+"Icon",[0,-x/2,x,x],{x:f[0],y:f[1],originX:o/2,originY:0,rotation:b?-s:0,rectHover:!0,style:l,onclick:A});k.ensureState("emphasis").style=c,a.add(k),xd(k)}}h(e.nextBtnPosition,"next",Ut(this._changeTimeline,this,u?"-":"+")),h(e.prevBtnPosition,"prev",Ut(this._changeTimeline,this,u?"+":"-")),h(e.playPosition,d?"stop":"play",Ut(this._handlePlayClick,this,!d),!0)},t.prototype._renderCurrentPointer=function(e,a,r,i){var o=i.getData(),s=i.getCurrentIndex(),l=o.getItemModel(s).getModel("checkpointStyle"),c=this,d={onCreate:function(u){u.draggable=!0,u.drift=Ut(c._handlePointerDrag,c),u.ondragend=Ut(c._handlePointerDragend,c),fH(u,c._progressLine,s,r,i,!0)},onUpdate:function(u){fH(u,c._progressLine,s,r,i)}};this._currentPointer=mH(l,l,this._mainGroup,{},this._currentPointer,d)},t.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},t.prototype._handlePointerDrag=function(e,a,r){this._clearTimer(),this._pointerChangeTimeline([r.offsetX,r.offsetY])},t.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},t.prototype._pointerChangeTimeline=function(e,a){var r=this._toAxisCoord(e)[0],o=Ir(this._axis.getExtent().slice());r>o[1]&&(r=o[1]),r<o[0]&&(r=o[0]),this._currentPointer.x=r,this._currentPointer.markRedraw();var s=this._progressLine;s&&(s.shape.x2=r,s.dirty());var l=this._findNearestTick(r),c=this.model;(a||l!==c.getCurrentIndex()&&c.get("realtime"))&&this._changeTimeline(l)},t.prototype._doPlayStop=function(){var e=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(function(){var a=e.model;e._changeTimeline(a.getCurrentIndex()+(a.get("rewind",!0)?-1:1))},this.model.get("playInterval")))},t.prototype._toAxisCoord=function(e){return di(e,this._mainGroup.getLocalTransform(),!0)},t.prototype._findNearestTick=function(e){var i,a=this.model.getData(),r=1/0,o=this._axis;return a.each(["value"],function(s,l){var c=o.dataToCoord(s),d=Math.abs(c-e);d<r&&(r=d,i=l)}),i},t.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},t.prototype._changeTimeline=function(e){var a=this.model.getCurrentIndex();"+"===e?e=a+1:"-"===e&&(e=a-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})},t.prototype._updateTicksStatus=function(){var e=this.model.getCurrentIndex(),a=this._tickSymbols,r=this._tickLabels;if(a)for(var i=0;i<a.length;i++)a&&a[i]&&a[i].toggleState("progress",i<e);if(r)for(i=0;i<r.length;i++)r&&r[i]&&r[i].toggleState("progress",hH(r[i]).dataIndex<=e)},t.type="timeline.slider",t}(rxt);function mH(n,t,e,a,r,i){var o=t.get("color");r?(r.setColor(o),e.add(r),i&&i.onUpdate(r)):((r=Ln(n.get("symbol"),-1,-1,2,2,o)).setStyle("strokeNoScale",!0),e.add(r),i&&i.onCreate(r));var l=t.getItemStyle(["color"]);r.setStyle(l),a=le({rectHover:!0,z2:100},a,!0);var c=hm(n.get("symbolSize"));a.scaleX=c[0]/2,a.scaleY=c[1]/2;var d=Fd(n.get("symbolOffset"),c);d&&(a.x=(a.x||0)+d[0],a.y=(a.y||0)+d[1]);var u=n.get("symbolRotate");return a.rotation=(u||0)*Math.PI/180||0,r.attr(a),r.updateTransform(),r}function fH(n,t,e,a,r,i){if(!n.dragging){var o=r.getModel("checkpointStyle"),s=a.dataToCoord(r.getData().get("value",e));if(i||!o.get("animation",!0))n.attr({x:s,y:0}),t&&t.attr({shape:{x2:s}});else{var l={duration:o.get("animationDuration",!0),easing:o.get("animationEasing",!0)};n.stopAnimation(null,!0),n.animateTo({x:s,y:0},l),t&&t.animateTo({shape:{x2:s}},l)}}}const uxt=sxt;function hxt(n){var t=n&&n.timeline;vt(t)||(t=t?[t]:[]),q(t,function(e){!e||function mxt(n){var t=n.type,e={number:"value",time:"time"};if(e[t]&&(n.axisType=e[t],delete n.type),gH(n),du(n,"controlPosition")){var a=n.controlStyle||(n.controlStyle={});du(a,"position")||(a.position=n.controlPosition),"none"===a.position&&!du(a,"show")&&(a.show=!1,delete a.position),delete n.controlPosition}q(n.data||[],function(r){Xt(r)&&!vt(r)&&(!du(r,"value")&&du(r,"name")&&(r.value=r.name),gH(r))})}(e)})}function gH(n){var t=n.itemStyle||(n.itemStyle={}),e=t.emphasis||(t.emphasis={}),a=n.label||n.label||{},r=a.normal||(a.normal={}),i={normal:1,emphasis:1};q(a,function(o,s){!i[s]&&!du(r,s)&&(r[s]=o)}),e.label&&!du(a,"emphasis")&&(a.emphasis=e.label,delete e.label)}function du(n,t){return n.hasOwnProperty(t)}function NI(n,t){if(!n)return!1;for(var e=vt(n)?n:[n],a=0;a<e.length;a++)if(e[a]&&e[a][t])return!0;return!1}function d1(n){ld(n,"label",["show"])}var u1=_e(),vH=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.createdBySelf=!1,e}return pt(t,n),t.prototype.init=function(e,a,r){this.mergeDefaultAndTheme(e,r),this._mergeOption(e,r,!1,!0)},t.prototype.isAnimationEnabled=function(){if(we.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,a){this._mergeOption(e,a,!1,!1)},t.prototype._mergeOption=function(e,a,r,i){var o=this.mainType;r||a.eachSeries(function(s){var l=s.get(this.mainType,!0),c=u1(s)[o];l&&l.data?(c?c._mergeOption(l,a,!0):(i&&d1(l),q(l.data,function(d){d instanceof Array?(d1(d[0]),d1(d[1])):d1(d)}),ft(c=this.createMarkerModelFromSeries(l,this,a),{mainType:this.mainType,seriesIndex:s.seriesIndex,name:s.name,createdBySelf:!0}),c.__hostSeries=s),u1(s)[o]=c):u1(s)[o]=null},this)},t.prototype.formatTooltip=function(e,a,r){var i=this.getData(),o=this.getRawValue(e),s=i.getName(e);return Wn("section",{header:this.name,blocks:[Wn("nameValue",{name:s,value:o,noName:!s,noValue:null==o})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.prototype.getDataParams=function(e,a){var r=k_.prototype.getDataParams.call(this,e,a),i=this.__hostSeries;return i&&(r.seriesId=i.id,r.seriesName=i.name,r.seriesType=i.subType),r},t.getMarkerModelFromSeries=function(e,a){return u1(e)[a]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(De);Mn(vH,k_.prototype);const Gl=vH;var gxt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.createMarkerModelFromSeries=function(e,a,r){return new t(e,a,r)},t.type="markPoint",t.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},t}(Gl);const vxt=gxt;function UI(n){return!(isNaN(parseFloat(n.x))&&isNaN(parseFloat(n.y)))}function p1(n,t,e,a,r,i){var o=[],l=Rl(t,a)?t.getCalculationInfo("stackResultDimension"):a,c=VI(t,l,n),d=t.indicesOfNearest(l,c)[0];o[r]=t.get(e,d),o[i]=t.get(l,d);var u=t.get(a,d),h=Ei(t.get(a,d));return(h=Math.min(h,20))>=0&&(o[i]=+o[i].toFixed(h)),[o,u]}var FI={min:se(p1,"min"),max:se(p1,"max"),average:se(p1,"average"),median:se(p1,"median")};function my(n,t){if(t){var e=n.getData(),a=n.coordinateSystem,r=a&&a.dimensions;if(!function Axt(n){return!isNaN(parseFloat(n.x))&&!isNaN(parseFloat(n.y))}(t)&&!vt(t.coord)&&vt(r)){var i=AH(t,e,a,n);if((t=Yt(t)).type&&FI[t.type]&&i.baseAxis&&i.valueAxis){var o=pe(r,i.baseAxis.dim),s=pe(r,i.valueAxis.dim),l=FI[t.type](e,i.baseDataDim,i.valueDataDim,o,s);t.coord=l[0],t.value=l[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&vt(r))for(var c=t.coord,d=0;d<2;d++)FI[c[d]]&&(c[d]=VI(e,e.mapDimension(r[d]),c[d]));else t.coord=[];return t}}function AH(n,t,e,a){var r={};return null!=n.valueIndex||null!=n.valueDim?(r.valueDataDim=null!=n.valueIndex?t.getDimension(n.valueIndex):n.valueDim,r.valueAxis=e.getAxis(function yxt(n,t){var e=n.getData().getDimensionInfo(t);return e&&e.coordDim}(a,r.valueDataDim)),r.baseAxis=e.getOtherAxis(r.valueAxis),r.baseDataDim=t.mapDimension(r.baseAxis.dim)):(r.baseAxis=a.getBaseAxis(),r.valueAxis=e.getOtherAxis(r.baseAxis),r.baseDataDim=t.mapDimension(r.baseAxis.dim),r.valueDataDim=t.mapDimension(r.valueAxis.dim)),r}function fy(n,t){return!(n&&n.containData&&t.coord&&!UI(t))||n.containData(t.coord)}function yH(n,t){return n?function(e,a,r,i){return Dl(i<2?e.coord&&e.coord[i]:e.value,t[i])}:function(e,a,r,i){return Dl(e.value,t[i])}}function VI(n,t,e){if("average"===e){var a=0,r=0;return n.each(t,function(i,o){isNaN(i)||(a+=i,r++)}),a/r}return"median"===e?n.getMedian(t):n.getDataExtent(t)["max"===e?1:0]}var zI=_e(),_xt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.init=function(){this.markerGroupMap=Et()},t.prototype.render=function(e,a,r){var i=this,o=this.markerGroupMap;o.each(function(s){zI(s).keep=!1}),a.eachSeries(function(s){var l=Gl.getMarkerModelFromSeries(s,i.type);l&&i.renderSeries(s,l,a,r)}),o.each(function(s){!zI(s).keep&&i.group.remove(s.group)})},t.prototype.markKeep=function(e){zI(e).keep=!0},t.prototype.toggleBlurSeries=function(e,a){var r=this;q(e,function(i){var o=Gl.getMarkerModelFromSeries(i,r.type);o&&o.getData().eachItemGraphicEl(function(l){l&&(a?T3(l):fC(l))})})},t.type="marker",t}(xn);const EI=_xt;function bH(n,t,e){var a=t.coordinateSystem;n.each(function(r){var o,i=n.getItemModel(r),s=Ot(i.get("x"),e.getWidth()),l=Ot(i.get("y"),e.getHeight());if(isNaN(s)||isNaN(l)){if(t.getMarkerPosition)o=t.getMarkerPosition(n.getValues(n.dimensions,r));else if(a){var c=n.get(a.dimensions[0],r),d=n.get(a.dimensions[1],r);o=a.dataToPoint([c,d])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),n.setItemLayout(r,o)})}var xxt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.updateTransform=function(e,a,r){a.eachSeries(function(i){var o=Gl.getMarkerModelFromSeries(i,"markPoint");o&&(bH(o.getData(),i,r),this.markerGroupMap.get(i.id).updateLayout())},this)},t.prototype.renderSeries=function(e,a,r,i){var o=e.coordinateSystem,s=e.id,l=e.getData(),c=this.markerGroupMap,d=c.get(s)||c.set(s,new VA),u=function Sxt(n,t,e){var a;a=n?At(n&&n.dimensions,function(s){return ft(ft({},t.getData().getDimensionInfo(t.getData().mapDimension(s))||{}),{name:s,ordinalMeta:null})}):[{name:"value",type:"float"}];var r=new Va(a,e),i=At(e.get("data"),se(my,t));n&&(i=Ne(i,se(fy,n)));var o=yH(!!n,a);return r.initData(i,null,o),r}(o,e,a);a.setData(u),bH(a.getData(),e,i),u.each(function(h){var f=u.getItemModel(h),v=f.getShallow("symbol"),A=f.getShallow("symbolSize"),b=f.getShallow("symbolRotate"),x=f.getShallow("symbolOffset"),S=f.getShallow("symbolKeepAspect");if(jt(v)||jt(A)||jt(b)||jt(x)){var k=a.getRawValue(h),D=a.getDataParams(h);jt(v)&&(v=v(k,D)),jt(A)&&(A=A(k,D)),jt(b)&&(b=b(k,D)),jt(x)&&(x=x(k,D))}var I=f.getModel("itemStyle").getItemStyle(),M=xA(l,"color");I.fill||(I.fill=M),u.setItemVisual(h,{symbol:v,symbolSize:A,symbolRotate:b,symbolOffset:x,symbolKeepAspect:S,style:I})}),d.updateData(u),this.group.add(d.group),u.eachItemGraphicEl(function(h){h.traverse(function(f){ee(f).dataModel=a})}),this.markKeep(d),d.group.silent=a.get("silent")||e.get("silent")},t.type="markPoint",t}(EI);const wxt=xxt;var Cxt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.createMarkerModelFromSeries=function(e,a,r){return new t(e,a,r)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t}(Gl);const Dxt=Cxt;var h1=_e(),Txt=function(n,t,e,a){var i,r=n.getData();
vendor: 12,038 bytes, line 1
1if(vt(a))i=a;else{var o=a.type;if("min"===o||"max"===o||"average"===o||"median"===o||null!=a.xAxis||null!=a.yAxis){var s=void 0,l=void 0;if(null!=a.yAxis||null!=a.xAxis)s=t.getAxis(null!=a.yAxis?"y":"x"),l=$n(a.yAxis,a.xAxis);else{var c=AH(a,r,t,n);s=c.valueAxis,l=VI(r,t6(r,c.valueDataDim),o)}var u="x"===s.dim?0:1,h=1-u,f=Yt(a),v={coord:[]};f.type=null,f.coord=[],f.coord[h]=-1/0,v.coord[h]=1/0;var A=e.get("precision");A>=0&&ke(l)&&(l=+l.toFixed(Math.min(A,20))),f.coord[u]=v.coord[u]=l,i=[f,v,{type:o,valueIndex:a.valueIndex,value:l}]}else i=[]}var b=[my(n,i[0]),my(n,i[1]),ft({},i[2])];return b[2].type=b[2].type||null,le(b[2],b[0]),le(b[2],b[1]),b};function m1(n){return!isNaN(n)&&!isFinite(n)}function _H(n,t,e,a){var r=1-n,i=a.dimensions[n];return m1(t[r])&&m1(e[r])&&t[n]===e[n]&&a.getAxis(i).containData(t[n])}function Pxt(n,t){if("cartesian2d"===n.type){var e=t[0].coord,a=t[1].coord;if(e&&a&&(_H(1,e,a,n)||_H(0,e,a,n)))return!0}return fy(n,t[0])&&fy(n,t[1])}function qI(n,t,e,a,r){var s,i=a.coordinateSystem,o=n.getItemModel(t),l=Ot(o.get("x"),r.getWidth()),c=Ot(o.get("y"),r.getHeight());if(isNaN(l)||isNaN(c)){if(a.getMarkerPosition)s=a.getMarkerPosition(n.getValues(n.dimensions,t));else{var d=i.dimensions,u=n.get(d[0],t),h=n.get(d[1],t);s=i.dataToPoint([u,h])}if(Jd(i,"cartesian2d")){var f=i.getAxis("x"),v=i.getAxis("y");d=i.dimensions;m1(n.get(d[0],t))?s[0]=f.toGlobalCoord(f.getExtent()[e?0:1]):m1(n.get(d[1],t))&&(s[1]=v.toGlobalCoord(v.getExtent()[e?0:1]))}isNaN(l)||(s[0]=l),isNaN(c)||(s[1]=c)}else s=[l,c];n.setItemLayout(t,s)}var Ixt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.updateTransform=function(e,a,r){a.eachSeries(function(i){var o=Gl.getMarkerModelFromSeries(i,"markLine");if(o){var s=o.getData(),l=h1(o).from,c=h1(o).to;l.each(function(d){qI(l,d,!0,i,r),qI(c,d,!1,i,r)}),s.each(function(d){s.setItemLayout(d,[l.getItemLayout(d),c.getItemLayout(d)])}),this.markerGroupMap.get(i.id).updateLayout()}},this)},t.prototype.renderSeries=function(e,a,r,i){var o=e.coordinateSystem,s=e.id,l=e.getData(),c=this.markerGroupMap,d=c.get(s)||c.set(s,new hP);this.group.add(d.group);var u=function Mxt(n,t,e){var a;a=n?At(n&&n.dimensions,function(c){return ft(ft({},t.getData().getDimensionInfo(t.getData().mapDimension(c))||{}),{name:c,ordinalMeta:null})}):[{name:"value",type:"float"}];var r=new Va(a,e),i=new Va(a,e),o=new Va([],e),s=At(e.get("data"),se(Txt,t,n,e));n&&(s=Ne(s,se(Pxt,n)));var l=yH(!!n,a);return r.initData(At(s,function(c){return c[0]}),null,l),i.initData(At(s,function(c){return c[1]}),null,l),o.initData(At(s,function(c){return c[2]})),o.hasItemOption=!0,{from:r,to:i,line:o}}(o,e,a),h=u.from,f=u.to,v=u.line;h1(a).from=h,h1(a).to=f,a.setData(v);var A=a.get("symbol"),b=a.get("symbolSize"),x=a.get("symbolRotate"),S=a.get("symbolOffset");function k(D,I,M){var R=D.getItemModel(I);qI(D,I,M,e,i);var N=R.getModel("itemStyle").getItemStyle();null==N.fill&&(N.fill=xA(l,"color")),D.setItemVisual(I,{symbolKeepAspect:R.get("symbolKeepAspect"),symbolOffset:ie(R.get("symbolOffset",!0),S[M?0:1]),symbolRotate:ie(R.get("symbolRotate",!0),x[M?0:1]),symbolSize:ie(R.get("symbolSize"),b[M?0:1]),symbol:ie(R.get("symbol",!0),A[M?0:1]),style:N})}vt(A)||(A=[A,A]),vt(b)||(b=[b,b]),vt(x)||(x=[x,x]),vt(S)||(S=[S,S]),u.from.each(function(D){k(h,D,!0),k(f,D,!1)}),v.each(function(D){var I=v.getItemModel(D).getModel("lineStyle").getLineStyle();v.setItemLayout(D,[h.getItemLayout(D),f.getItemLayout(D)]),null==I.stroke&&(I.stroke=h.getItemVisual(D,"style").fill),v.setItemVisual(D,{fromSymbolKeepAspect:h.getItemVisual(D,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(D,"symbolOffset"),fromSymbolRotate:h.getItemVisual(D,"symbolRotate"),fromSymbolSize:h.getItemVisual(D,"symbolSize"),fromSymbol:h.getItemVisual(D,"symbol"),toSymbolKeepAspect:f.getItemVisual(D,"symbolKeepAspect"),toSymbolOffset:f.getItemVisual(D,"symbolOffset"),toSymbolRotate:f.getItemVisual(D,"symbolRotate"),toSymbolSize:f.getItemVisual(D,"symbolSize"),toSymbol:f.getItemVisual(D,"symbol"),style:I})}),d.updateData(v),u.line.eachItemGraphicEl(function(D){ee(D).dataModel=a,D.traverse(function(I){ee(I).dataModel=a})}),this.markKeep(d),d.group.silent=a.get("silent")||e.get("silent")},t.type="markLine",t}(EI);const Oxt=Ixt;var Lxt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.createMarkerModelFromSeries=function(e,a,r){return new t(e,a,r)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}(Gl);const Nxt=Lxt;var f1=_e(),Uxt=function(n,t,e,a){var r=a[0],i=a[1];if(r&&i){var o=my(n,r),s=my(n,i),l=o.coord,c=s.coord;l[0]=$n(l[0],-1/0),l[1]=$n(l[1],-1/0),c[0]=$n(c[0],1/0),c[1]=$n(c[1],1/0);var d=zk([{},o,s]);return d.coord=[o.coord,s.coord],d.x0=o.x,d.y0=o.y,d.x1=s.x,d.y1=s.y,d}};function g1(n){return!isNaN(n)&&!isFinite(n)}function xH(n,t,e,a){var r=1-n;return g1(t[r])&&g1(e[r])}function Fxt(n,t){var e=t.coord[0],a=t.coord[1],r={coord:e,x:t.x0,y:t.y0},i={coord:a,x:t.x1,y:t.y1};return Jd(n,"cartesian2d")?!(!e||!a||!xH(1,e,a)&&!xH(0,e,a))||function bxt(n,t,e){return!(n&&n.containZone&&t.coord&&e.coord&&!UI(t)&&!UI(e))||n.containZone(t.coord,e.coord)}(n,r,i):fy(n,r)||fy(n,i)}function SH(n,t,e,a,r){var s,i=a.coordinateSystem,o=n.getItemModel(t),l=Ot(o.get(e[0]),r.getWidth()),c=Ot(o.get(e[1]),r.getHeight());if(isNaN(l)||isNaN(c)){if(a.getMarkerPosition){var d=n.getValues(["x0","y0"],t),u=n.getValues(["x1","y1"],t),h=i.clampData(d),f=i.clampData(u),v=[];"x0"===e[0]?v[0]=h[0]>f[0]?u[0]:d[0]:v[0]=h[0]>f[0]?d[0]:u[0],"y0"===e[1]?v[1]=h[1]>f[1]?u[1]:d[1]:v[1]=h[1]>f[1]?d[1]:u[1],s=a.getMarkerPosition(v,e,!0)}else{var x=[A=n.get(e[0],t),b=n.get(e[1],t)];i.clampData&&i.clampData(x,x),s=i.dataToPoint(x,!0)}if(Jd(i,"cartesian2d")){var S=i.getAxis("x"),k=i.getAxis("y"),A=n.get(e[0],t),b=n.get(e[1],t);g1(A)?s[0]=S.toGlobalCoord(S.getExtent()["x0"===e[0]?0:1]):g1(b)&&(s[1]=k.toGlobalCoord(k.getExtent()["y0"===e[1]?0:1]))}isNaN(l)||(s[0]=l),isNaN(c)||(s[1]=c)}else s=[l,c];return s}var wH=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],Vxt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.updateTransform=function(e,a,r){a.eachSeries(function(i){var o=Gl.getMarkerModelFromSeries(i,"markArea");if(o){var s=o.getData();s.each(function(l){var c=At(wH,function(u){return SH(s,l,u,i,r)});s.setItemLayout(l,c),s.getItemGraphicEl(l).setShape("points",c)})}},this)},t.prototype.renderSeries=function(e,a,r,i){var o=e.coordinateSystem,s=e.id,l=e.getData(),c=this.markerGroupMap,d=c.get(s)||c.set(s,{group:new te});this.group.add(d.group),this.markKeep(d);var u=function zxt(n,t,e){var a,r,i=["x0","y0","x1","y1"];if(n){var o=At(n&&n.dimensions,function(c){var d=t.getData();return ft(ft({},d.getDimensionInfo(d.mapDimension(c))||{}),{name:c,ordinalMeta:null})});r=At(i,function(c,d){return{name:c,type:o[d%2].type}}),a=new Va(r,e)}else a=new Va(r=[{name:"value",type:"float"}],e);var s=At(e.get("data"),se(Uxt,t,n,e));n&&(s=Ne(s,se(Fxt,n)));var l=n?function(c,d,u,h){return Dl(c.coord[Math.floor(h/2)][h%2],r[h])}:function(c,d,u,h){return Dl(c.value,r[h])};return a.initData(s,null,l),a.hasItemOption=!0,a}(o,e,a);a.setData(u),u.each(function(h){var f=At(wH,function(N){return SH(u,h,N,e,i)}),v=o.getAxis("x").scale,A=o.getAxis("y").scale,b=v.getExtent(),x=A.getExtent(),S=[v.parse(u.get("x0",h)),v.parse(u.get("x1",h))],k=[A.parse(u.get("y0",h)),A.parse(u.get("y1",h))];Ir(S),Ir(k);var I=!!(b[0]>S[1]||b[1]<S[0]||x[0]>k[1]||x[1]<k[0]);u.setItemLayout(h,{points:f,allClipped:I});var M=u.getItemModel(h).getModel("itemStyle").getItemStyle(),R=xA(l,"color");M.fill||(M.fill=R,Lt(M.fill)&&(M.fill=F0(M.fill,.4))),M.stroke||(M.stroke=R),u.setItemVisual(h,"style",M)}),u.diff(f1(d).data).add(function(h){var f=u.getItemLayout(h);if(!f.allClipped){var v=new er({shape:{points:f.points}});u.setItemGraphicEl(h,v),d.group.add(v)}}).update(function(h,f){var v=f1(d).data.getItemGraphicEl(f),A=u.getItemLayout(h);A.allClipped?v&&d.group.remove(v):(v?Te(v,{shape:{points:A.points}},a,h):v=new er({shape:{points:A.points}}),u.setItemGraphicEl(h,v),d.group.add(v))}).remove(function(h){var f=f1(d).data.getItemGraphicEl(h);d.group.remove(f)}).execute(),u.eachItemGraphicEl(function(h,f){var v=u.getItemModel(f),A=u.getItemVisual(f,"style");h.useStyle(u.getItemVisual(f,"style")),da(h,Kn(v),{labelFetcher:a,labelDataIndex:f,defaultText:u.getName(f)||"",inheritColor:Lt(A.fill)?F0(A.fill,1):"#000"}),ca(h,v),An(h,null,null,v.get(["emphasis","disabled"])),ee(h).dataModel=a}),f1(d).data=u,d.group.silent=a.get("silent")||e.get("silent")},t.type="markArea",t}(EI);const Ext=Vxt;var Bxt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return pt(t,n),t.prototype.init=function(e,a,r){this.mergeDefaultAndTheme(e,r),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(e,a){n.prototype.mergeOption.call(this,e,a),this._updateSelector(e)},t.prototype._updateSelector=function(e){var a=e.selector,r=this.ecModel;!0===a&&(a=e.selector=["all","inverse"]),vt(a)&&q(a,function(i,o){Lt(i)&&(i={type:i}),a[o]=le(i,function(n,t){return"all"===t?{type:"all",title:n.getLocaleModel().get(["legend","selector","all"])}:"inverse"===t?{type:"inverse",title:n.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(r,i.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var a=!1,r=0;r<e.length;r++){var i=e[r].get("name");if(this.isSelected(i)){this.select(i),a=!0;break}}!a&&this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var a=[],r=[];e.eachRawSeries(function(l){var d,c=l.name;if(r.push(c),l.legendVisualProvider){var h=l.legendVisualProvider.getAllNames();e.isSeriesFiltered(l)||(r=r.concat(h)),h.length?a=a.concat(h):d=!0}else d=!0;d&&B2(l)&&a.push(l.name)}),this._availableNames=r;var i=this.get("data")||a,o=Et(),s=At(i,function(l){return(Lt(l)||ke(l))&&(l={name:l}),o.get(l.name)?null:(o.set(l.name,!0),new en(l,this,this.ecModel))},this);this._data=Ne(s,function(l){return!!l})},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var a=this.option.selected;"single"===this.get("selectedMode")&&q(this._data,function(o){a[o.get("name")]=!1});a[e]=!0},t.prototype.unSelect=function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},t.prototype.toggleSelected=function(e){var a=this.option.selected;a.hasOwnProperty(e)||(a[e]=!0),this[a[e]?"unSelect":"select"](e)},t.prototype.allSelect=function(){var e=this._data,a=this.option.selected;q(e,function(r){a[r.get("name",!0)]=!0})},t.prototype.inverseSelect=function(){var e=this._data,a=this.option.selected;q(e,function(r){var i=r.get("name",!0);a.hasOwnProperty(i)||(a[i]=!0),a[i]=!a[i]})},t.prototype.isSelected=function(e){var a=this.option.selected;return!(a.hasOwnProperty(e)&&!a[e])&&pe(this._availableNames,e)>=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miter
vendor: 10,656 bytes, line 1
1Limit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(De);const HI=Bxt;var Um=se,BI=q,v1=te,jxt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!1,e}return pt(t,n),t.prototype.init=function(){this.group.add(this._contentGroup=new v1),this.group.add(this._selectorGroup=new v1),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,a,r){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var o=e.get("align"),s=e.get("orient");(!o||"auto"===o)&&(o="right"===e.get("left")&&"vertical"===s?"right":"left");var l=e.get("selector",!0),c=e.get("selectorPosition",!0);l&&(!c||"auto"===c)&&(c="horizontal"===s?"end":"start"),this.renderInner(o,e,a,r,l,s,c);var d=e.getBoxLayoutParams(),u={width:r.getWidth(),height:r.getHeight()},h=e.get("padding"),f=En(d,u,h),v=this.layoutInner(e,o,f,i,l,c),A=En(Kt({width:v.width,height:v.height},d),u,h);this.group.x=A.x-v.x,this.group.y=A.y-v.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Rq(v,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,a,r,i,o,s,l){var c=this.getContentGroup(),d=Et(),u=a.get("selectedMode"),h=[];r.eachRawSeries(function(f){!f.get("legendHoverLink")&&h.push(f.id)}),BI(a.getData(),function(f,v){var A=f.get("name");if(!this.newlineDisabled&&(""===A||"\n"===A)){var b=new v1;return b.newline=!0,void c.add(b)}var x=r.getSeriesByName(A)[0];if(!d.get(A))if(x){var S=x.getData(),k=S.getVisual("legendLineStyle")||{},D=S.getVisual("legendIcon"),I=S.getVisual("style"),M=this._createItem(x,A,v,f,a,e,k,I,D,u,i);M.on("click",Um(kH,A,null,i,h)).on("mouseover",Um(jI,x.name,null,i,h)).on("mouseout",Um(GI,x.name,null,i,h)),r.ssr&&M.eachChild(function(R){var N=ee(R);N.seriesIndex=x.seriesIndex,N.dataIndex=v,N.ssrType="legend"}),d.set(A,!0)}else r.eachRawSeries(function(R){if(!d.get(A)&&R.legendVisualProvider){var N=R.legendVisualProvider;if(!N.containName(A))return;var U=N.indexOfName(A),z=N.getItemVisual(U,"style"),B=N.getItemVisual(U,"legendIcon"),K=Ya(z.fill);K&&0===K[3]&&(K[3]=.2,z=ft(ft({},z),{fill:Vi(K,"rgba")}));var W=this._createItem(R,A,v,f,a,e,{},z,B,u,i);W.on("click",Um(kH,null,A,i,h)).on("mouseover",Um(jI,null,A,i,h)).on("mouseout",Um(GI,null,A,i,h)),r.ssr&&W.eachChild(function(Z){var X=ee(Z);X.seriesIndex=R.seriesIndex,X.dataIndex=v,X.ssrType="legend"}),d.set(A,!0)}},this)},this),o&&this._createSelector(o,a,i,s,l)},t.prototype._createSelector=function(e,a,r,i,o){var s=this.getSelectorGroup();BI(e,function(c){var d=c.type,u=new Ce({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){r.dispatchAction({type:"all"===d?"legendAllSelect":"legendInverseSelect",legendId:a.id})}});s.add(u),da(u,{normal:a.getModel("selectorLabel"),emphasis:a.getModel(["emphasis","selectorLabel"])},{defaultText:c.title}),xd(u)})},t.prototype._createItem=function(e,a,r,i,o,s,l,c,d,u,h){var f=e.visualDrawType,v=o.get("itemWidth"),A=o.get("itemHeight"),b=o.isSelected(a),x=i.get("symbolRotate"),S=i.get("symbolKeepAspect"),k=i.get("icon"),D=function Gxt(n,t,e,a,r,i,o){function s(b,x){"auto"===b.lineWidth&&(b.lineWidth=x.lineWidth>0?2:0),BI(b,function(S,k){"inherit"===b[k]&&(b[k]=x[k])})}var l=t.getModel("itemStyle"),c=l.getItemStyle(),d=0===n.lastIndexOf("empty",0)?"fill":"stroke",u=l.getShallow("decal");c.decal=u&&"inherit"!==u?fm(u,o):a.decal,"inherit"===c.fill&&(c.fill=a[r]),"inherit"===c.stroke&&(c.stroke=a[d]),"inherit"===c.opacity&&(c.opacity=("fill"===r?a:e).opacity),s(c,a);var h=t.getModel("lineStyle"),f=h.getLineStyle();if(s(f,e),"auto"===c.fill&&(c.fill=a.fill),"auto"===c.stroke&&(c.stroke=a.fill),"auto"===f.stroke&&(f.stroke=a.fill),!i){var v=t.get("inactiveBorderWidth"),A=c[d];c.lineWidth="auto"===v?a.lineWidth>0&&A?2:0:c.lineWidth,c.fill=t.get("inactiveColor"),c.stroke=t.get("inactiveBorderColor"),f.stroke=h.get("inactiveColor"),f.lineWidth=h.get("inactiveWidth")}return{itemStyle:c,lineStyle:f}}(d=k||d||"roundRect",i,l,c,f,b,h),I=new v1,M=i.getModel("textStyle");if(!jt(e.getLegendIcon)||k&&"inherit"!==k){var R="inherit"===k&&e.getData().getVisual("symbol")?"inherit"===x?e.getData().getVisual("symbolRotate"):x:0;I.add(function Kxt(n){var t=n.icon||"roundRect",e=Ln(t,0,0,n.itemWidth,n.itemHeight,n.itemStyle.fill,n.symbolKeepAspect);return e.setStyle(n.itemStyle),e.rotation=(n.iconRotate||0)*Math.PI/180,e.setOrigin([n.itemWidth/2,n.itemHeight/2]),t.indexOf("empty")>-1&&(e.style.stroke=e.style.fill,e.style.fill="#fff",e.style.lineWidth=2),e}({itemWidth:v,itemHeight:A,icon:d,iconRotate:R,itemStyle:D.itemStyle,lineStyle:D.lineStyle,symbolKeepAspect:S}))}else I.add(e.getLegendIcon({itemWidth:v,itemHeight:A,icon:d,iconRotate:x,itemStyle:D.itemStyle,lineStyle:D.lineStyle,symbolKeepAspect:S}));var N="left"===s?v+5:-5,U=s,z=o.get("formatter"),B=a;Lt(z)&&z?B=z.replace("{name}",a??""):jt(z)&&(B=z(a));var K=b?M.getTextColor():i.get("inactiveColor");I.add(new Ce({style:tn(M,{text:B,x:N,y:A/2,fill:K,align:U,verticalAlign:"middle"},{inheritColor:K})}));var W=new Se({shape:I.getBoundingRect(),style:{fill:"transparent"}}),Z=i.getModel("tooltip");return Z.get("show")&&Nd({el:W,componentModel:o,itemName:a,itemTooltipOption:Z.option}),I.add(W),I.eachChild(function(X){X.silent=!0}),W.silent=!u,this.getContentGroup().add(I),xd(I),I.__legendDataIndex=r,I},t.prototype.layoutInner=function(e,a,r,i,o,s){var l=this.getContentGroup(),c=this.getSelectorGroup();Dd(e.get("orient"),l,e.get("itemGap"),r.width,r.height);var d=l.getBoundingRect(),u=[-d.x,-d.y];if(c.markRedraw(),l.markRedraw(),o){Dd("horizontal",c,e.get("selectorItemGap",!0));var h=c.getBoundingRect(),f=[-h.x,-h.y],v=e.get("selectorButtonGap",!0),A=e.getOrient().index,b=0===A?"width":"height",x=0===A?"height":"width",S=0===A?"y":"x";"end"===s?f[A]+=d[b]+v:u[A]+=h[b]+v,f[1-A]+=d[x]/2-h[x]/2,c.x=f[0],c.y=f[1],l.x=u[0],l.y=u[1];var k={x:0,y:0};return k[b]=d[b]+v+h[b],k[x]=Math.max(d[x],h[x]),k[S]=Math.min(0,h[S]+f[1-A]),k}return l.x=u[0],l.y=u[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(xn);function kH(n,t,e,a){GI(n,t,e,a),e.dispatchAction({type:"legendToggleSelect",name:n??t}),jI(n,t,e,a)}function CH(n){for(var e,t=n.getZr().storage.getDisplayList(),a=0,r=t.length;a<r&&!(e=t[a].states.emphasis);)a++;return e&&e.hoverLayer}function jI(n,t,e,a){CH(e)||e.dispatchAction({type:"highlight",seriesName:n,name:t,excludeSeriesId:a})}function GI(n,t,e,a){CH(e)||e.dispatchAction({type:"downplay",seriesName:n,name:t,excludeSeriesId:a})}const DH=jxt;function Wxt(n){var t=n.findComponents({mainType:"legend"});t&&t.length&&n.filterSeries(function(e){for(var a=0;a<t.length;a++)if(!t[a].isSelected(e.name))return!1;return!0})}function gy(n,t,e){var a="allSelect"===n||"inverseSelect"===n,r={},i=[];e.eachComponent({mainType:"legend",query:t},function(s){a?s[n]():s[n](t.name),TH(s,r),i.push(s.componentIndex)});var o={};return e.eachComponent("legend",function(s){q(r,function(l,c){s[l?"select":"unSelect"](c)}),TH(s,o)}),a?{selected:o,legendIndex:i}:{name:t.name,selected:o}}function TH(n,t){var e=t||{};return q(n.getData(),function(a){var r=a.get("name");if("\n"!==r&&""!==r){var i=n.isSelected(r);Vt(e,r)?e[r]=e[r]&&i:e[r]=i}}),e}function PH(n){n.registerComponentModel(HI),n.registerComponentView(DH),n.registerProcessor(n.PRIORITY.PROCESSOR.SERIES_FILTER,Wxt),n.registerSubTypeDefaulter("legend",function(){return"plain"}),function Jxt(n){n.registerAction("legendToggleSelect","legendselectchanged",se(gy,"toggleSelected")),n.registerAction("legendAllSelect","legendselectall",se(gy,"allSelect")),n.registerAction("legendInverseSelect","legendinverseselect",se(gy,"inverseSelect")),n.registerAction("legendSelect","legendselected",se(gy,"select")),n.registerAction("legendUnSelect","legendunselected",se(gy,"unSelect"))}(n)}var Zxt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(e,a,r){var i=tm(e);n.prototype.init.call(this,e,a,r),IH(this,e,i)},t.prototype.mergeOption=function(e,a){n.prototype.mergeOption.call(this,e,a),IH(this,this.option,e)},t.type="legend.scroll",t.defaultOption=wl(HI.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(HI);function IH(n,t,e){var r=[1,1];r[n.getOrient().index]=0,Cl(t,e,{type:"box",ignoreSize:!!r})}const Xxt=Zxt;var MH=te,KI=["width","height"],WI=["x","y"],Yxt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!0,e._currentIndex=0,e}return pt(t,n),t.prototype.init=function(){n.prototype.init.call(this),this.group.add(this._containerGroup=new MH),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new MH)},t.prototype.resetInner=function(){n.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(e,a,r,i,o,s,l){var c=this;n.prototype.renderInner.call(this,e,a,r,i,o,s,l);var d=this._controllerGroup,u=a.get("pageIconSize",!0),h=vt(u)?u:[u,u];v("pagePrev",0);var f=a.getModel("pageTextStyle");function v(A,b){var x=A+"DataIndex",S=vA(a.get("pageIcons",!0)[a.getOrient().name][b],{onclick:Ut(c._pageGo,c,x,a,i)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});S.name=A,d.add(S)}d.add(new Ce({name:"pageText",style:{text:"xx/xx",fill:f.getTextColor(),font:f.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1)},t.prototype.layoutInner=function(e,a,r,i,o,s){var l=this.getSelectorGroup(),c=e.getOrient().index,d=KI[c],u=WI[c],h=KI[1-c],f=WI[1-c];o&&Dd("horizontal",l,e.get("selectorItemGap",!0));
vendor: 5,511 bytes, line 1
1var v=e.get("selectorButtonGap",!0),A=l.getBoundingRect(),b=[-A.x,-A.y],x=Yt(r);o&&(x[d]=r[d]-A[d]-v);var S=this._layoutContentAndController(e,i,x,c,d,h,f,u);if(o){if("end"===s)b[c]+=S[d]+v;else{var k=A[d]+v;b[c]-=k,S[u]-=k}S[d]+=A[d]+v,b[1-c]+=S[f]+S[h]/2-A[h]/2,S[h]=Math.max(S[h],A[h]),S[f]=Math.min(S[f],A[f]+b[1-c]),l.x=b[0],l.y=b[1],l.markRedraw()}return S},t.prototype._layoutContentAndController=function(e,a,r,i,o,s,l,c){var d=this.getContentGroup(),u=this._containerGroup,h=this._controllerGroup;Dd(e.get("orient"),d,e.get("itemGap"),i?r.width:null,i?null:r.height),Dd("horizontal",h,e.get("pageButtonItemGap",!0));var f=d.getBoundingRect(),v=h.getBoundingRect(),A=this._showController=f[o]>r[o],b=[-f.x,-f.y];a||(b[i]=d[c]);var x=[0,0],S=[-v.x,-v.y],k=ie(e.get("pageButtonGap",!0),e.get("itemGap",!0));A&&("end"===e.get("pageButtonPosition",!0)?S[i]+=r[o]-v[o]:x[i]+=v[o]+k);S[1-i]+=f[s]/2-v[s]/2,d.setPosition(b),u.setPosition(x),h.setPosition(S);var I={x:0,y:0};if(I[o]=A?r[o]:f[o],I[s]=Math.max(f[s],v[s]),I[l]=Math.min(0,v[l]+S[1-i]),u.__rectSize=r[o],A){var M={x:0,y:0};M[o]=Math.max(r[o]-v[o]-k,0),M[s]=I[s],u.setClipPath(new Se({shape:M})),u.__rectSize=M[o]}else h.eachChild(function(N){N.attr({invisible:!0,silent:!0})});var R=this._getPageInfo(e);return null!=R.pageIndex&&Te(d,{x:R.contentPosition[0],y:R.contentPosition[1]},A?e:null),this._updatePageInfoView(e,R),I},t.prototype._pageGo=function(e,a,r){var i=this._getPageInfo(a)[e];null!=i&&r.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:a.id})},t.prototype._updatePageInfoView=function(e,a){var r=this._controllerGroup;q(["pagePrev","pageNext"],function(d){var h=null!=a[d+"DataIndex"],f=r.childOfName(d);f&&(f.setStyle("fill",h?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),f.cursor=h?"pointer":"default")});var i=r.childOfName("pageText"),o=e.get("pageFormatter"),s=a.pageIndex,l=null!=s?s+1:0,c=a.pageCount;i&&o&&i.setStyle("text",Lt(o)?o.replace("{current}",null==l?"":l+"").replace("{total}",null==c?"":c+""):o({current:l,total:c}))},t.prototype._getPageInfo=function(e){var a=e.get("scrollDataIndex",!0),r=this.getContentGroup(),i=this._containerGroup.__rectSize,o=e.getOrient().index,s=KI[o],l=WI[o],c=this._findTargetItemIndex(a),d=r.children(),u=d[c],h=d.length,f=h?1:0,v={contentPosition:[r.x,r.y],pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return v;var A=D(u);v.contentPosition[o]=-A.s;for(var b=c+1,x=A,S=A,k=null;b<=h;++b)(!(k=D(d[b]))&&S.e>x.s+i||k&&!I(k,x.s))&&((x=S.i>x.i?S:k)&&(null==v.pageNextDataIndex&&(v.pageNextDataIndex=x.i),++v.pageCount)),S=k;for(b=c-1,x=A,S=A,k=null;b>=-1;--b)(!(k=D(d[b]))||!I(S,k.s))&&x.i<S.i&&(S=x,null==v.pagePrevDataIndex&&(v.pagePrevDataIndex=x.i),++v.pageCount,++v.pageIndex),x=k;return v;function D(M){if(M){var R=M.getBoundingRect(),N=R[l]+M[l];return{s:N,e:N+R[s],i:M.__legendDataIndex}}}function I(M,R){return M.e>=R&&M.s<=R+i}},t.prototype._findTargetItemIndex=function(e){return this._showController?(this.getContentGroup().eachChild(function(o,s){var l=o.__legendDataIndex;null==i&&null!=l&&(i=s),l===e&&(a=s)}),a??i):0;var a,i},t.type="legend.scroll",t}(DH);const Qxt=Yxt;function t1t(n){he(PH),n.registerComponentModel(Xxt),n.registerComponentView(Qxt),function $xt(n){n.registerAction("legendScroll","legendscroll",function(t,e){var a=t.scrollDataIndex;null!=a&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(r){r.setScrollDataIndex(a)})})}(n)}var n1t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.type="dataZoom.inside",t.defaultOption=wl(uy.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(uy);const a1t=n1t;var JI=_e();function r1t(n,t,e){JI(n).coordSysRecordMap.each(function(a){var r=a.dataZoomInfoMap.get(t.uid);r&&(r.getRange=e)})}function OH(n,t){if(t){n.removeKey(t.model.uid);var e=t.controller;e&&e.dispose()}}function s1t(n,t){n.isDisposed()||n.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function l1t(n,t,e,a){return n.coordinateSystem.containPoint([e,a])}function d1t(n){n.registerProcessor(n.PRIORITY.PROCESSOR.FILTER,function(t,e){var a=JI(e),r=a.coordSysRecordMap||(a.coordSysRecordMap=Et());r.each(function(i){i.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(i){q(Dq(i).infoList,function(s){var l=s.model.uid,c=r.get(l)||r.set(l,function o1t(n,t){var e={model:t,containsPoint:se(l1t,t),dispatchAction:se(s1t,n),dataZoomInfoMap:null,controller:null},a=e.controller=new JA(n.getZr());return q(["pan","zoom","scrollMove"],function(r){a.on(r,function(i){var o=[];e.dataZoomInfoMap.each(function(s){if(i.isAvailableBehavior(s.model.option)){var l=(s.getRange||{})[r],c=l&&l(s.dzReferCoordSysInfo,e.model.mainType,e.controller,i);!s.model.get("disabled",!0)&&c&&o.push({dataZoomId:s.model.id,start:c[0],end:c[1]})}}),o.length&&e.dispatchAction(o)})}),e}(e,s.model));(c.dataZoomInfoMap||(c.dataZoomInfoMap=Et())).set(i.uid,{dzReferCoordSysInfo:s,model:i,getRange:null})})}),r.each(function(i){var s,o=i.controller,l=i.dataZoomInfoMap;if(l){var c=l.keys()[0];null!=c&&(s=l.get(c))}if(s){var d=function c1t(n){var t,e="type_",a={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return n.each(function(i){var o=i.model,s=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");a[e+s]>a[e+t]&&(t=s),r=r&&o.get("preventDefaultMouseMove",!0)}
vendor: 4,145 bytes, line 1
1),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(l);o.enable(d.controlType,d.opt),o.setPointerChecker(i.containsPoint),um(i,"dispatchAction",s.model.get("throttle",!0),"fixRate")}else OH(r,i)})})}var u1t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return pt(t,n),t.prototype.render=function(e,a,r){n.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),r1t(r,e,{pan:Ut(ZI.pan,this),zoom:Ut(ZI.zoom,this),scrollMove:Ut(ZI.scrollMove,this)}))},t.prototype.dispose=function(){this._clear(),n.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){(function i1t(n,t){for(var e=JI(n).coordSysRecordMap,a=e.keys(),r=0;r<a.length;r++){var i=a[r],o=e.get(i),s=o.dataZoomInfoMap;if(s){var l=t.uid;s.get(l)&&(s.removeKey(l),s.keys().length||OH(e,o))}}})(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(_I),ZI={zoom:function(n,t,e,a){var r=this.range,i=r.slice(),o=n.axisModels[0];if(o){var s=XI[t](null,[a.originX,a.originY],o,e,n),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(i[1]-i[0])+i[0],c=Math.max(1/a.scale,0);i[0]=(i[0]-l)*c+l,i[1]=(i[1]-l)*c+l;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(iu(0,i,[0,100],0,d.minSpan,d.maxSpan),this.range=i,r[0]!==i[0]||r[1]!==i[1])return i}},pan:RH(function(n,t,e,a,r,i){var o=XI[a]([i.oldX,i.oldY],[i.newX,i.newY],t,r,e);return o.signal*(n[1]-n[0])*o.pixel/o.pixelLength}),scrollMove:RH(function(n,t,e,a,r,i){return XI[a]([0,0],[i.scrollDelta,i.scrollDelta],t,r,e).signal*(n[1]-n[0])*i.scrollDelta})};function RH(n){return function(t,e,a,r){var i=this.range,o=i.slice(),s=t.axisModels[0];if(s&&(iu(n(o,s,t,e,a,r),o,[0,100],"all"),this.range=o,i[0]!==o[0]||i[1]!==o[1]))return o}}var XI={grid:function(n,t,e,a,r){var i=e.axis,o={},s=r.model.coordinateSystem.getRect();return n=n||[0,0],"x"===i.dim?(o.pixel=t[0]-n[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=i.inverse?1:-1):(o.pixel=t[1]-n[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=i.inverse?-1:1),o},polar:function(n,t,e,a,r){var i=e.axis,o={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),c=s.getAngleAxis().getExtent();return n=n?s.pointToCoord(n):[0,0],t=s.pointToCoord(t),"radiusAxis"===e.mainType?(o.pixel=t[0]-n[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=i.inverse?1:-1):(o.pixel=t[1]-n[1],o.pixelLength=c[1]-c[0],o.pixelStart=c[0],o.signal=i.inverse?-1:1),o},singleAxis:function(n,t,e,a,r){var i=e.axis,o=r.model.coordinateSystem.getRect(),s={};return n=n||[0,0],"horizontal"===i.orient?(s.pixel=t[0]-n[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=i.inverse?1:-1):(s.pixel=t[1]-n[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=i.inverse?-1:1),s}};const p1t=u1t;function LH(n){xI(n),n.registerComponentModel(a1t),n.registerComponentView(p1t),d1t(n)}var h1t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=wl(uy.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.
11-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(uy);const m1t=h1t;var vy=Se,Ay="horizontal",UH="vertical",A1t=["line","bar","candlestick","scatter"],y1t={easing:"cubicOut",duration:100,delay:0},b1t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e._displayables={},e}return pt(t,n),t.prototype.init=function(e,a){this.api=a,this._onBrush=Ut(this._onBrush,this),this._onBrushEnd=Ut(this._onBrushEnd,this)},t.prototype.render=function(e,a,r,i){if(n.prototype.render.apply(this,arguments),um(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show"))return e.noTarget()?(this._clear(),void this.group.removeAll()):((!i||"dataZoom"!==i.type||i.from!==this.uid)&&this._buildView(),void this._updateView());this.group.removeAll()},t.prototype.dispose=function(){this._clear(),n.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){yA(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var a=this._displayables.sliderGroup=new te;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(a),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,a=this.api,i=e.get("brushSelect")?7:0,o=this._findCoordRect(),s={width:a.getWidth(),height:a.getHeight()},l=this._orient===Ay?{right:s.width-o.x-o.width,top:s.height-30-7-i,width:o.width,height:30}:{right:7,top:o.y,width:30,height:o.height},c=tm(e.option);q(["right","top","width","height"],function(u){"ph"===c[u]&&(c[u]=l[u])});var d=En(c,s);this._location={x:d.x,y:d.y},this._size=[d.width,d.height],this._orient===UH&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,a=this._location,r=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),o=i&&i.get("inverse"),s=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(r!==Ay||o?r===Ay&&o?{scaleY:l?1:-1,scaleX:-1}:r!==UH||o?{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?1:-1,scaleX:1});var c=e.getBoundingRect([s]);e.x=a.x-c.x,e.y=a.y-c.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,a=this._size,r=this._displayables.sliderGroup,i=e.get("brushSelect");r.add(new vy({silent:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var o=new vy({shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:"transparent"},z2:0,onclick:Ut(this._onClickPanel,this)}),s=this.api.getZr();i?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),r.add(o)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],e){var a=this._size,r=this._shadowSize||[],i=e.series,o=i.getRawData(),s=i.getShadowDim&&i.getShadowDim(),l=s&&o.getDimensionInfo(s)?i.getShadowDim():e.otherDim;if(null!=l){var c=this._shadowPolygonPts,d=this._shadowPolylinePts;if(o!==this._shadowData||l!==this._shadowDim||a[0]!==r[0]||a[1]!==r[1]){var u=o.getDataExtent(l),h=.3*(u[1]-u[0]);u=[u[0]-h,u[1]+h];var D,f=[0,a[1]],v=[0,a[0]],A=[[a[0],0],[0,0]],b=[],x=v[1]/(o.count()-1),S=0,k=Math.round(o.count()/a[0]);o.each([l],function(U,z){if(k>0&&z%k)S+=x;else{var B=null==U||isNaN(U)||""===U,K=B?0:Fe(U,u,f,!0);B&&!D&&z?(A.push([A[A.length-1][0],0]),b.push([b[b.length-1][0],0])):!B&&D&&(A.push([S,0]),b.push([S,0])),A.push([S,K]),b.push([S,K]),S+=x,D=B}}),c=this._shadowPolygonPts=A,d=this._shadowPolylinePts=b}this._shadowData=o,this._shadowDim=l,this._shadowSize=[a[0],a[1]];for(var U,z,B,K,W,I=this.dataZoomModel,R=0;R<3;R++){var N=(U=1===R,z=void 0,B=void 0,K=void 0,W=void 0,z=I.getModel(U?"selectedDataBackgroun
1d":"dataBackground"),B=new te,K=new er({shape:{points:c},segmentIgnoreThreshold:1,style:z.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),W=new nr({shape:{points:d},segmentIgnoreThreshold:1,style:z.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19}),B.add(K),B.add(W),B);this._displayables.sliderGroup.add(N),this._displayables.dataShadowSegs.push(N)}}}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,a=e.get("showDataShadow");if(!1!==a){var r,i=this.ecModel;return e.eachTargetAxis(function(o,s){q(e.getAxisProxy(o,s).getTargetSeriesModels(),function(c){if(!(r||!0!==a&&pe(A1t,c.get("type"))<0)){var h,d=i.getComponent(Bl(o),s).axis,u=function _1t(n){return{x:"y",y:"x",radius:"angle",angle:"radius"}[n]}(o),f=c.coordinateSystem;null!=u&&f.getOtherAxis&&(h=f.getOtherAxis(d).inverse),u=c.getData().mapDimension(u),r={thisAxis:d,series:c,thisDim:o,otherDim:u,otherAxisInverse:h}}},this)},this),r}},t.prototype._renderHandle=function(){var e=this.group,a=this._displayables,r=a.handles=[null,null],i=a.handleLabels=[null,null],o=this._displayables.sliderGroup,s=this._size,l=this.dataZoomModel,c=this.api,d=l.get("borderRadius")||0,u=l.get("brushSelect"),h=a.filler=new vy({silent:u,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});o.add(h),o.add(new vy({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:d},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),q([0,1],function(k){var D=l.get("handleIcon");!J_[D]&&D.indexOf("path://")<0&&D.indexOf("image://")<0&&(D="path://"+D);var I=Ln(D,-1,0,2,2,null,!0);I.attr({cursor:FH(this._orient),draggable:!0,drift:Ut(this._onDragMove,this,k),ondragend:Ut(this._onDragEnd,this),onmouseover:Ut(this._showDataInfo,this,!0),onmouseout:Ut(this._showDataInfo,this,!1),z2:5});var M=I.getBoundingRect(),R=l.get("handleSize");this._handleHeight=Ot(R,this._size[1]),this._handleWidth=M.width/M.height*this._handleHeight,I.setStyle(l.getModel("handleStyle").getItemStyle()),I.style.strokeNoScale=!0,I.rectHover=!0,I.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),xd(I);var N=l.get("handleColor");null!=N&&(I.style.fill=N),o.add(r[k]=I);var U=l.getModel("textStyle"),B=(l.get("handleLabel")||{}).show||!1;e.add(i[k]=new Ce({silent:!0,invisible:!B,style:tn(U,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:U.getTextColor(),font:U.getFont()}),z2:10}))},this);var f=h;if(u){var v=Ot(l.get("moveHandleSize"),s[1]),A=a.moveHandle=new Se({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:v}}),b=.8*v,x=a.moveHandleIcon=Ln(l.get("moveHandleIcon"),-b/2,-b/2,b,b,"#fff",!0);x.silent=!0,x.y=s[1]+v/2-.5,A.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var S=Math.min(s[1]/2,Math.max(v,10));(f=a.moveZone=new Se({invisible:!0,shape:{y:s[1]-S,height:v+S}})).on("mouseover",function(){c.enterEmphasis(A)}).on("mouseout",function(){c.leaveEmphasis(A)}),o.add(A),o.add(x),o.add(f)}f.attr({draggable:!0,cursor:FH(this._orient),drift:Ut(this._onDragMove,this,"all"),ondragstart:Ut(this._showDataInfo,this,!0),ondragend:Ut(this._onDragEnd,this),onmouseover:Ut(this._showDataInfo,this,!0),onmouseout:Ut(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),a=this._getViewExtent();this._handleEnds=[Fe(e[0],[0,100],a,!0),Fe(e[1],[0,100],a,!0)]},t.prototype._updateInterval=function(e,a){var r=this.dataZoomModel,i=this._handleEnds,o=this._getViewExtent(),s=r.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];iu(a,i,o,r.get("zoomLock")?"all":e,null!=s.minSpan?Fe(s.minSpan,l,o,!0):null,null!=s.maxSpan?Fe(s.maxSpan,l,o,!0):null);var c=this._range,d=this._range=Ir([Fe(i[0],o,l,!0),Fe(i[1],o,l,!0)]);return!c||c[0]!==d[0]||c[1]!==d[1]},t.prototype._updateView=function(e){var a=this._displayables,r=this._handleEnds,i=Ir(r.slice()),o=this._size;q([0,1],function(f){var v=a.handles[f],A=this._handleHeight;v.attr({scaleX:A/2,scaleY:A/2,x:r[f]+(f?-1:1),y:o[1]/2-A/2})}
vendor: 4,469 bytes, line 1
1,this),a.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:o[1]});var s={x:i[0],width:i[1]-i[0]};a.moveHandle&&(a.moveHandle.setShape(s),a.moveZone.setShape(s),a.moveZone.getBoundingRect(),a.moveHandleIcon&&a.moveHandleIcon.attr("x",s.x+s.width/2));for(var l=a.dataShadowSegs,c=[0,i[0],i[1],o[0]],d=0;d<l.length;d++){var u=l[d],h=u.getClipPath();h||(h=new Se,u.setClipPath(h)),h.setShape({x:c[d],y:0,width:c[d+1]-c[d],height:o[1]})}this._updateDataInfo(e)},t.prototype._updateDataInfo=function(e){var a=this.dataZoomModel,r=this._displayables,i=r.handleLabels,o=this._orient,s=["",""];if(a.get("showDetail")){var l=a.findRepresentativeAxisProxy();if(l){var c=l.getAxisModel().axis,d=this._range,u=e?l.calculateDataWindow({start:d[0],end:d[1]}).valueWindow:l.getDataValueWindow();s=[this._formatLabel(u[0],c),this._formatLabel(u[1],c)]}}var h=Ir(this._handleEnds.slice());function f(v){var A=Ld(r.handles[v].parent,this.group),b=B_(0===v?"right":"left",A),x=this._handleWidth/2+5,S=di([h[v]+(0===v?-x:x),this._size[1]/2],A);i[v].setStyle({x:S[0],y:S[1],verticalAlign:o===Ay?"middle":b,align:o===Ay?b:"center",text:s[v]})}f.call(this,0),f.call(this,1)},t.prototype._formatLabel=function(e,a){var r=this.dataZoomModel,i=r.get("labelFormatter"),o=r.get("labelPrecision");(null==o||"auto"===o)&&(o=a.getPixelPrecision());var s=null==e||isNaN(e)?"":"category"===a.type||"time"===a.type?a.scale.getLabel({value:Math.round(e)}):e.toFixed(Math.min(o,20));return jt(i)?i(e,s):Lt(i)?i.replace("{value}",s):s},t.prototype._showDataInfo=function(e){var r=(this.dataZoomModel.get("handleLabel")||{}).show||!1,o=this.dataZoomModel.getModel(["emphasis","handleLabel"]).get("show")||!1,s=e||this._dragging?o:r,l=this._displayables,c=l.handleLabels;c[0].attr("invisible",!s),c[1].attr("invisible",!s),l.moveHandle&&this.api[s?"enterEmphasis":"leaveEmphasis"](l.moveHandle,1)},t.prototype._onDragMove=function(e,a,r,i){this._dragging=!0,Wo(i.event);var s=di([a,r],this._displayables.sliderGroup.getLocalTransform(),!0),l=this._updateInterval(e,s[0]),c=this.dataZoomModel.get("realtime");this._updateView(!c),l&&c&&this._dispatchZoomAction(!0)},t.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},t.prototype._onClickPanel=function(e){var a=this._size,r=this._displayables.sliderGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(r[0]<0||r[0]>a[0]||r[1]<0||r[1]>a[1])){var i=this._handleEnds,o=(i[0]+i[1])/2,s=this._updateInterval("all",r[0]-o);this._updateView(),s&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var a=e.offsetX,r=e.offsetY;this._brushStart=new ce(a,r),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var a=this._displayables.brushRect;if(this._brushing=!1,a){a.attr("ignore",!0);var r=a.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(r.width)<5)){var o=this._getViewExtent(),s=[0,100];this._range=Ir([Fe(r.x,o,s,!0),Fe(r.x+r.width,o,s,!0)]),this._handleEnds=[r.x,r.x+r.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(Wo(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,a){var r=this._displayables,i=this.dataZoomModel,o=r.brushRect;o||(o=r.brushRect=new vy({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),r.sliderGroup.add(o)),o.attr("ignore",!1);var s=this._brushStart,l=this._displayables.sliderGroup,c=l.transformCoordToLocal(e,a),d=l.transformCoordToLocal(s.x,s.y),u=this._size;c[0]=Math.max(Math.min(u[0],c[0]),0),o.setShape({x:d[0],y:0,width:c[0]-d[0],height:u[1]})},t.prototype._dispatchZoomAction=function(e){var a=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?y1t:null,start:a[0],end:a[1]})},t.prototype._findCoordRect=function(){var e,a=Dq(this.dataZoomModel).infoList;if(!e&&a.length){var r=a[0].model.coordinateSystem;e=r.getRect&&r.getRect()}if(!e){var i=this.api.getWidth(),o=this.api.getHeight();e={x:.2*i,y:.2*o,width:.6*i,height:.6*o}}return e},t.type="dataZoom.slider",t}(_I);function FH(n){return"vertical"===n?"ns-resize":"ew-resize"}const x1t=b1t;function VH(n){n.registerComponentModel(m1t),n.registerComponentView(x1t),xI(n)}var w1t={get:function(n,t,e){var a=Yt((k1t[n]||{})[t]);return e&&vt(a)?a[a.length-1]:a}},k1t={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]}
vendor: 6,660 bytes, line 1
1,colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const zH=w1t;var EH=pa.mapVisual,C1t=pa.eachVisual,D1t=vt,qH=q,T1t=Ir,P1t=Fe,I1t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.stateList=["inRange","outOfRange"],e.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],e.layoutMode={type:"box",ignoreSize:!0},e.dataBound=[-1/0,1/0],e.targetVisuals={},e.controllerVisuals={},e}return pt(t,n),t.prototype.init=function(e,a,r){this.mergeDefaultAndTheme(e,r)},t.prototype.optionUpdated=function(e,a){var r=this.option;!a&&aH(r,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var a=this.stateList;e=Ut(e,this),this.controllerVisuals=MI(this.option.controller,a,e),this.targetVisuals=MI(this.option.target,a,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,a=[];return null==e||"all"===e?this.ecModel.eachSeries(function(r,i){a.push(i)}):a=Be(e),a},t.prototype.eachTargetSeries=function(e,a){q(this.getTargetSeriesIndices(),function(r){var i=this.ecModel.getSeriesByIndex(r);i&&e.call(a,i)},this)},t.prototype.isTargetSeries=function(e){var a=!1;return this.eachTargetSeries(function(r){r===e&&(a=!0)}),a},t.prototype.formatValueText=function(e,a,r){var c,i=this.option,o=i.precision,s=this.dataBound,l=i.formatter;r=r||["<",">"],vt(e)&&(e=e.slice(),c=!0);var d=a?e:c?[u(e[0]),u(e[1])]:u(e);return Lt(l)?l.replace("{value}",c?d[0]:d).replace("{value2}",c?d[1]:d):jt(l)?c?l(e[0],e[1]):l(e):c?e[0]===s[0]?r[0]+" "+d[1]:e[1]===s[1]?r[1]+" "+d[0]:d[0]+" - "+d[1]:d;function u(h){return h===s[0]?"min":h===s[1]?"max":(+h).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var e=this.option,a=T1t([e.min,e.max]);this._dataExtent=a},t.prototype.getDataDimensionIndex=function(e){var a=this.option.dimension;if(null!=a)return e.getDimensionIndex(a);for(var r=e.dimensions,i=r.length-1;i>=0;i--){var o=r[i],s=e.getDimensionInfo(o);if(!s.isCalculationCoord)return s.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,a=this.option,r={inRange:a.inRange,outOfRange:a.outOfRange},i=a.target||(a.target={}),o=a.controller||(a.controller={});le(i,r),le(o,r);var s=this.isCategory();function l(u){D1t(a.color)&&!u.inRange&&(u.inRange={color:a.color.slice().reverse()}),u.inRange=u.inRange||{color:e.get("gradientColor")}}l.call(this,i),l.call(this,o),function c(u,h,f){var v=u[h],A=u[f];v&&!A&&(A=u[f]={},qH(v,function(b,x){if(pa.isValidType(x)){var S=zH.get(x,"inactive",s);null!=S&&(A[x]=S,"color"===x&&!A.hasOwnProperty("opacity")&&!A.hasOwnProperty("colorAlpha")&&(A.opacity=[0,0]))}}))}.call(this,i,"inRange","outOfRange"),function d(u){var h=(u.inRange||{}).symbol||(u.outOfRange||{}).symbol,f=(u.inRange||{}).symbolSize||(u.outOfRange||{}).symbolSize,v=this.get("inactiveColor"),b=this.getItemSymbol()||"roundRect";qH(this.stateList,function(x){var S=this.itemSize,k=u[x];k||(k=u[x]={color:s?v:[v]}),null==k.symbol&&(k.symbol=h&&Yt(h)||(s?b:[b])),null==k.symbolSize&&(k.symbolSize=f&&Yt(f)||(s?S[0]:[S[0],S[0]])),k.symbol=EH(k.symbol,function(M){return"none"===M?b:M});var D=k.symbolSize;if(null!=D){var I=-1/0;C1t(D,function(M){M>I&&(I=M)}),k.symbolSize=EH(D,function(M){return P1t(M,[0,I],[0,S[0]],!0)})}},this)}.call(this,o)},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(De);const A1=I1t;var HH=[20,140],M1t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.optionUpdated=function(e,a){n.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(r){r.mappingMethod="linear",r.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){n.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=HH[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=HH[1])},t.prototype._resetRange=function(){var e=this.getExtent(),a=this.option.range;!a||a.auto?(e.auto=1,this.option.range=e):vt(a)&&(a[0]>a[1]&&a.reverse(),a[0]=Math.max(a[0],e[0]),a[1]=Math.min(a[1],e[1]))},t.prototype.completeVisualOption=function(){n.prototype.completeVisualOption.apply(this,arguments),q(this.stateList,function(e){var a=this.option.controller[e].symbolSize;a&&a[0]!==a[1]&&(a[0]=a[1]/3)},this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),a=Ir((this.get("range")||[]).slice());return a[0]>e[1]&&(a[0]=e[1]),a[1]>e[1]&&(a[1]=e[1]),a[0]<e[0]&&(a[0]=e[0]),a[1]<e[0]&&(a[1]=e[0]),a},t.prototype.getValueState=function(e){var a=this.option.range,r=this.getExtent();return(a[0]<=r[0]||a[0]<=e)&&(a[1]>=r[1]||e<=a[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var a=[];return this.eachTargetSeries(function(r){var i=[],o=r.getData();o.each(this.getDataDimensionIndex(o),function(s,l){e[0]<=s&&s<=e[1]&&i.push(l)},this),a.push({seriesId:r.id,dataIndex:i})},this),a},t.prototype.getVisualMeta=function(e){var a=BH(this,"outOfRange",this.getExtent()),r=BH(this,"inRange",this.option.range.slice()),i=[];function o(f,v){i.push({value:f,color:e(f,v)})}for(var s=0,l=0,c=r.length,d=a.length;l<d&&(!r.length||a[l]<=r[0]);l++)a[l]<r[s]&&o(a[l],"outOfRange");for(var u=1;s<c;s++,u=0)u&&i.length&&o(r[s],"outOfRange"),o(r[s],"inRange");for(u=1;l<d;l++)(!r.length||r[r.length-1]<a[l])&&(u&&(i.length&&o(i[i.length-1].value,"outOfRange"),u=0),o(a[l],"outOfRange"));var h=i.length;
vendor: 4,297 bytes, line 1
1return{stops:i,outerColors:[h?i[0].color:"transparent",h?i[h-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=wl(A1.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),t}(A1);function BH(n,t,e){if(e[0]===e[1])return e.slice();for(var r=(e[1]-e[0])/200,i=e[0],o=[],s=0;s<=200&&i<e[1];s++)o.push(i),i+=r;return o.push(e[1]),o}const O1t=M1t;var R1t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e.autoPositionValues={left:1,right:1,top:1,bottom:1},e}return pt(t,n),t.prototype.init=function(e,a){this.ecModel=e,this.api=a},t.prototype.render=function(e,a,r,i){this.visualMapModel=e,!1!==e.get("show")?this.doRender(e,a,r,i):this.group.removeAll()},t.prototype.renderBackground=function(e){var a=this.visualMapModel,r=$h(a.get("padding")||0),i=e.getBoundingRect();e.add(new Se({z2:-1,silent:!0,shape:{x:i.x-r[3],y:i.y-r[0],width:i.width+r[3]+r[1],height:i.height+r[0]+r[2]},style:{fill:a.get("backgroundColor"),stroke:a.get("borderColor"),lineWidth:a.get("borderWidth")}}))},t.prototype.getControllerVisual=function(e,a,r){var i=(r=r||{}).forceState,o=this.visualMapModel,s={};if("color"===a){var l=o.get("contentColor");s.color=l}function c(f){return s[f]}function d(f,v){s[f]=v}var u=o.controllerVisuals[i||o.getValueState(e)];return q(pa.prepareVisualTypes(u),function(f){var v=u[f];r.convertOpacityToAlpha&&"opacity"===f&&(f="colorAlpha",v=u.__alphaForOpacity),pa.dependsOn(f,a)&&v&&v.applyVisual(e,c,d)}),s[a]},t.prototype.positionGroup=function(e){var a=this.visualMapModel,r=this.api;x_(e,a.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})},t.prototype.doRender=function(e,a,r,i){},t.type="visualMap",t}(xn);const jH=R1t;var GH=[["left","right","width"],["top","bottom","height"]];function KH(n,t,e){var a=n.option,r=a.align;if(null!=r&&"auto"!==r)return r;for(var i={width:t.getWidth(),height:t.getHeight()},o="horizontal"===a.orient?1:0,s=GH[o],l=[0,null,10],c={},d=0;d<3;d++)c[GH[1-o][d]]=l[d],c[s[d]]=2===d?e[0]:a[s[d]];var u=[["x","width",3],["y","height",0]][o],h=En(c,i,a.padding);return s[(h.margin[u[2]]||0)+h[u[0]]+.5*h[u[1]]<.5*i[u[1]]?0:1]}function y1(n,t){return q(n||[],function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")}),n}var no=Fe,L1t=q,WH=Math.min,QI=Math.max,F1t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e._shapes={},e._dataInterval=[],e._handleEnds=[],e._hoverLinkDataIndices=[],e}return pt(t,n),t.prototype.init=function(e,a){n.prototype.init.call(this,e,a),this._hoverLinkFromSeriesMouseOver=Ut(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=Ut(this._hideIndicator,this)},t.prototype.doRender=function(e,a,r,i){(!i||"selectDataRange"!==i.type||i.from!==this.uid)&&this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var e=this.visualMapModel,a=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(a);var r=e.get("text");this._renderEndsText(a,r,0),this._renderEndsText(a,r,1),this._updateView(!0),this.renderBackground(a),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(a)},t.prototype._renderEndsText=function(e,a,r){if(a){var i=a[1-r];i=null!=i?i+"":"";var o=this.visualMapModel,s=o.get("textGap"),l=o.itemSize,c=this._shapes.mainGroup,d=this._applyTransform([l[0]/2,0===r?-s:l[1]+s],c),u=this._applyTransform(0===r?"bottom":"top",c),h=this._orient,f=this.visualMapModel.textStyleModel;this.group.add(new Ce({style:tn(f,{x:d[0],y:d[1],verticalAlign:"horizontal"===h?"middle":u,align:"horizontal"===h?u:"center",text:i})}))}},t.prototype._renderBar=function(e){var a=this.visualMapModel,r=this._shapes,i=a.itemSize,o=this._orient,s=this._useHandle,l=KH(a,this.api,i),c=r.mainGroup=this._createBarGroup(l),d=new te;
vendor: 44,994 bytes, line 1
1c.add(d),d.add(r.outOfRange=JH()),d.add(r.inRange=JH(null,s?XH(this._orient):null,Ut(this._dragHandle,this,"all",!1),Ut(this._dragHandle,this,"all",!0))),d.setClipPath(new Se({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var u=a.textStyleModel.getTextRect("\u56fd"),h=QI(u.width,u.height);s&&(r.handleThumbs=[],r.handleLabels=[],r.handleLabelPoints=[],this._createHandle(a,c,0,i,h,o),this._createHandle(a,c,1,i,h,o)),this._createIndicator(a,c,i,h,o),e.add(c)},t.prototype._createHandle=function(e,a,r,i,o,s){var l=Ut(this._dragHandle,this,r,!1),c=Ut(this._dragHandle,this,r,!0),d=ii(e.get("handleSize"),i[0]),u=Ln(e.get("handleIcon"),-d/2,-d/2,d,d,null,!0),h=XH(this._orient);u.attr({cursor:h,draggable:!0,drift:l,ondragend:c,onmousemove:function(x){Wo(x.event)}}),u.x=i[0]/2,u.useStyle(e.getModel("handleStyle").getItemStyle()),u.setStyle({strokeNoScale:!0,strokeFirst:!0}),u.style.lineWidth*=2,u.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),Sd(u,!0),a.add(u);var f=this.visualMapModel.textStyleModel,v=new Ce({cursor:h,draggable:!0,drift:l,onmousemove:function(x){Wo(x.event)},ondragend:c,style:tn(f,{x:0,y:0,text:""})});v.ensureState("blur").style={opacity:.1},v.stateTransition={duration:200},this.group.add(v);var A=[d,0],b=this._shapes;b.handleThumbs[r]=u,b.handleLabelPoints[r]=A,b.handleLabels[r]=v},t.prototype._createIndicator=function(e,a,r,i,o){var s=ii(e.get("indicatorSize"),r[0]),l=Ln(e.get("indicatorIcon"),-s/2,-s/2,s,s,null,!0);l.attr({cursor:"move",invisible:!0,silent:!0,x:r[0]/2});var c=e.getModel("indicatorStyle").getItemStyle();if(l instanceof la){var d=l.style;l.useStyle(ft({image:d.image,x:d.x,y:d.y,width:d.width,height:d.height},c))}else l.useStyle(c);a.add(l);var u=this.visualMapModel.textStyleModel,h=new Ce({silent:!0,invisible:!0,style:tn(u,{x:0,y:0,text:""})});this.group.add(h);var f=[("horizontal"===o?i/2:6)+r[0]/2,0],v=this._shapes;v.indicator=l,v.indicatorLabel=h,v.indicatorLabelPoint=f,this._firstShowIndicator=!0},t.prototype._dragHandle=function(e,a,r,i){if(this._useHandle){if(this._dragging=!a,!a){var o=this._applyTransform([r,i],this._shapes.mainGroup,!0);this._updateInterval(e,o[1]),this._hideIndicator(),this._updateView()}a===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),a?!this._hovering&&this._clearHoverLinkToSeries():ZH(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},t.prototype._resetInterval=function(){var e=this.visualMapModel,a=this._dataInterval=e.getSelected(),r=e.getExtent(),i=[0,e.itemSize[1]];this._handleEnds=[no(a[0],r,i,!0),no(a[1],r,i,!0)]},t.prototype._updateInterval=function(e,a){a=a||0;var r=this.visualMapModel,i=this._handleEnds,o=[0,r.itemSize[1]];iu(a,i,o,e,0);var s=r.getExtent();this._dataInterval=[no(i[0],o,s,!0),no(i[1],o,s,!0)]},t.prototype._updateView=function(e){var a=this.visualMapModel,r=a.getExtent(),i=this._shapes,o=[0,a.itemSize[1]],s=e?o:this._handleEnds,l=this._createBarVisual(this._dataInterval,r,s,"inRange"),c=this._createBarVisual(r,r,o,"outOfRange");i.inRange.setStyle({fill:l.barColor}).setShape("points",l.barPoints),i.outOfRange.setStyle({fill:c.barColor}).setShape("points",c.barPoints),this._updateHandle(s,l)},t.prototype._createBarVisual=function(e,a,r,i){var o={forceState:i,convertOpacityToAlpha:!0},s=this._makeColorGradient(e,o),l=[this.getControllerVisual(e[0],"symbolSize",o),this.getControllerVisual(e[1],"symbolSize",o)],c=this._createBarPoints(r,l);return{barColor:new fA(0,0,0,1,s),barPoints:c,handlesColor:[s[0].color,s[s.length-1].color]}},t.prototype._makeColorGradient=function(e,a){var i=[],o=(e[1]-e[0])/100;i.push({color:this.getControllerVisual(e[0],"color",a),offset:0});for(var s=1;s<100;s++){var l=e[0]+o*s;if(l>e[1])break;i.push({color:this.getControllerVisual(l,"color",a),offset:s/100})}return i.push({color:this.getControllerVisual(e[1],"color",a),offset:1}),i},t.prototype._createBarPoints=function(e,a){var r=this.visualMapModel.itemSize;return[[r[0]-a[0],e[0]],[r[0],e[0]],[r[0],e[1]],[r[0]-a[1],e[1]]]},t.prototype._createBarGroup=function(e){var a=this._orient,r=this.visualMapModel.get("inverse");return new te("horizontal"!==a||r?"horizontal"===a&&r?{scaleX:"bottom"===e?-1:1,rotation:-Math.PI/2}:"vertical"!==a||r?{scaleX:"left"===e?1:-1}:{scaleX:"left"===e?1:-1,scaleY:-1}:{scaleX:"bottom"===e?1:-1,rotation:Math.PI/2})},t.prototype._updateHandle=function(e,a){if(this._useHandle){var r=this._shapes,i=this.visualMapModel,o=r.handleThumbs,s=r.handleLabels,l=i.itemSize,c=i.getExtent(),d=this._applyTransform("left",r.mainGroup);L1t([0,1],function(u){var h=o[u];h.setStyle("fill",a.handlesColor[u]),h.y=e[u];var f=no(e[u],[0,l[1]],c,!0),v=this.getControllerVisual(f,"symbolSize");h.scaleX=h.scaleY=v/l[0],h.x=l[0]-v/2;var A=di(r.handleLabelPoints[u],Ld(h,this.group));if("horizontal"===this._orient){var b="left"===d||"top"===d?(l[0]-v)/2:(l[0]-v)/-2;A[1]+=b}s[u].setStyle({x:A[0],y:A[1],text:i.formatValueText(this._dataInterval[u]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",r.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(e,a,r,i){var o=this.visualMapModel,s=o.getExtent(),l=o.itemSize,c=[0,l[1]],d=this._shapes,u=d.indicator;if(u){u.attr("invisible",!1);var f=this.getControllerVisual(e,"color",{convertOpacityToAlpha:!0}),v=this.getControllerVisual(e,"symbolSize"),A=no(e,s,c,!0),b=l[0]-v/2,x={x:u.x,y:u.y};u.y=A,u.x=b;var S=di(d.indicatorLabelPoint,Ld(u,this.group)),k=d.indicatorLabel;k.attr("invisible",!1);var D=this._applyTransform("left",d.mainGroup),M="horizontal"===this._orient;k.setStyle({text:(r||"")+o.formatValueText(a),verticalAlign:M?D:"middle",align:M?"center":D});var R={x:b,y:A,style:{fill:f}},N={style:{x:S[0],y:S[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var U={duration:100,easing:"cubicInOut",additive:!0};u.x=x.x,u.y=x.y,u.animateTo(R,U),k.animateTo(N,U)}else u.attr(R),k.attr(N);this._firstShowIndicator=!1;var z=this._shapes.handleLabels;if(z)for(var B=0;B<z.length;B++)this.api.enterBlur(z[B])}},t.prototype._enableHoverLinkToSeries=function(){var e=this;this._shapes.mainGroup.on("mousemove",function(a){if(e._hovering=!0,!e._dragging){var r=e.visualMapModel.itemSize,i=e._applyTransform([a.offsetX,a.offsetY],e._shapes.mainGroup,!0,!0);i[1]=WH(QI(0,i[1]),r[1]),e._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=r[0])}}).on("mouseout",function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()})},t.prototype._enableHoverLinkFromSeries=function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},t.prototype._doHoverLinkToSeries=function(e,a){var r=this.visualMapModel,i=r.itemSize;if(r.option.hoverLink){var o=[0,i[1]],s=r.getExtent();e=WH(QI(o[0],e),o[1]);var l=function V1t(n,t,e){var a=6,r=n.get("hoverLinkDataSize");return r&&(a=no(r,t,e,!0)/2),a}(r,s,o),c=[e-l,e+l],d=no(e,o,s,!0),u=[no(c[0],o,s,!0),no(c[1],o,s,!0)];c[0]<o[0]&&(u[0]=-1/0),c[1]>o[1]&&(u[1]=1/0),a&&(u[0]===-1/0?this._showIndicator(d,u[1],"< ",l):u[1]===1/0?this._showIndicator(d,u[0],"> ",l):this._showIndicator(d,d,"\u2248 ",l));var h=this._hoverLinkDataIndices,f=[];(a||ZH(r))&&(f=this._hoverLinkDataIndices=r.findTargetDataIndices(u));var v=function gnt(n,t){var e={},a={};return r(n||[],e),r(t||[],a,e),[i(e),i(a)];function r(o,s,l){for(var c=0,d=o.length;c<d;c++){var u=zn(o[c].seriesId,null);if(null==u)return;for(var h=Be(o[c].dataIndex),f=l&&l[u],v=0,A=h.length;v<A;v++){var b=h[v];f&&f[b]?f[b]=null:(s[u]||(s[u]={}))[b]=1}}}function i(o,s){var l=[];for(var c in o)if(o.hasOwnProperty(c)&&null!=o[c])if(s)l.push(+c);else{var d=i(o[c],!0);d.length&&l.push({seriesId:c,dataIndex:d})}return l}}(h,f);this._dispatchHighDown("downplay",y1(v[0],r)),this._dispatchHighDown("highlight",y1(v[1],r))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var a;if(Ud(e.target,function(l){var c=ee(l);if(null!=c.dataIndex)return a=c,!0},!0),a){var r=this.ecModel.getSeriesByIndex(a.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(r)){var o=r.getData(a.dataType),s=o.getStore().get(i.getDataDimensionIndex(o),a.dataIndex);isNaN(s)||this._showIndicator(s,s)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var a=this._shapes.handleLabels;if(a)for(var r=0;r<a.length;r++)this.api.leaveBlur(a[r])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",y1(e,this.visualMapModel)),e.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(e,a,r,i){var o=Ld(a,i?null:this.group);return vt(e)?di(e,o,r):B_(e,o,r)},t.prototype._dispatchHighDown=function(e,a){a&&a.length&&this.api.dispatchAction({type:e,batch:a})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(jH);function JH(n,t,e,a){return new er({shape:{points:n},draggable:!!e,cursor:t,drift:e,onmousemove:function(r){Wo(r.event)},ondragend:a})}function ZH(n){return!!(n.get("hoverLinkOnHandle")??n.get("realtime"))}function XH(n){return"vertical"===n?"ns-resize":"ew-resize"}const z1t=F1t;var E1t={type:"selectDataRange",event:"dataRangeSelected",update:"update"},q1t=function(n,t){t.eachComponent({mainType:"visualMap",query:n},function(e){e.setSelected(n.selected)})},H1t=[{createOnAllSeries:!0,reset:function(n,t){var e=[];return t.eachComponent("visualMap",function(a){var r=n.pipelineContext;!a.isTargetSeries(n)||r&&r.large||e.push(function U_t(n,t,e,a){var r={};return q(n,function(i){var o=pa.prepareVisualTypes(t[i]);r[i]=o}),{progress:function(o,s){var l;function c(I){return vD(s,u,I)}function d(I,M){fU(s,u,I,M)}null!=a&&(l=s.getDimensionIndex(a));for(var u,h=s.getStore();null!=(u=o.next());){var f=s.getRawDataItem(u);if(!f||!1!==f.visualMap)for(var v=null!=a?h.get(l,u):u,A=e(v),b=t[A],x=r[A],S=0,k=x.length;S<k;S++){var D=x[S];b[D]&&b[D].applyVisual(v,c,d)}}}}}(a.stateList,a.targetVisuals,Ut(a.getValueState,a),a.getDataDimensionIndex(n.getData())))}),e}},{createOnAllSeries:!0,reset:function(n,t){var e=n.getData(),a=[];t.eachComponent("visualMap",function(r){if(r.isTargetSeries(n)){var i=r.getVisualMeta(Ut(B1t,null,n,r))||{stops:[],outerColors:[]},o=r.getDataDimensionIndex(e);o>=0&&(i.dimension=o,a.push(i))}}),n.getData().setVisual("visualMeta",a)}}];function B1t(n,t,e,a){for(var r=t.targetVisuals[a],i=pa.prepareVisualTypes(r),o={color:xA(n.getData(),"color")},s=0,l=i.length;s<l;s++){var c=i[s],d=r["opacity"===c?"__alphaForOpacity":c];d&&d.applyVisual(e,u,h)}return o.color;function u(f){return o[f]}function h(f,v){o[f]=v}}var YH=q;function j1t(n){var t=n&&n.visualMap;vt(t)||(t=t?[t]:[]),YH(t,function(e){if(e){Fm(e,"splitList")&&!Fm(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var a=e.pieces;a&&vt(a)&&YH(a,function(r){Xt(r)&&(Fm(r,"start")&&!Fm(r,"min")&&(r.min=r.start),Fm(r,"end")&&!Fm(r,"max")&&(r.max=r.end))})}})}function Fm(n,t){return n&&n.hasOwnProperty&&n.hasOwnProperty(t)}var QH=!1;function $H(n){QH||(QH=!0,n.registerSubTypeDefaulter("visualMap",function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}),n.registerAction(E1t,q1t),q(H1t,function(t){n.registerVisual(n.PRIORITY.VISUAL.COMPONENT,t)}),n.registerPreprocessor(j1t))}function t9(n){n.registerComponentModel(O1t),n.registerComponentView(z1t),$H(n)}var G1t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e._pieceList=[],e}return pt(t,n),t.prototype.optionUpdated=function(e,a){n.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var r=this._mode=this._determineMode();this._pieceList=[],K1t[this._mode].call(this,this._pieceList),this._resetSelected(e,a);var i=this.option.categories;this.resetVisual(function(o,s){"categories"===r?(o.mappingMethod="category",o.categories=Yt(i)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=At(this._pieceList,function(l){return l=Yt(l),"inRange"!==s&&(l.visual=null),l}))})},t.prototype.completeVisualOption=function(){var e=this.option,a={},r=pa.listVisualTypes(),i=this.isCategory();function o(s,l,c){return s&&s[l]&&s[l].hasOwnProperty(c)}q(e.pieces,function(s){q(r,function(l){s.hasOwnProperty(l)&&(a[l]=1)})}),q(a,function(s,l){var c=!1;q(this.stateList,function(d){c=c||o(e,d,l)||o(e.target,d,l)},this),!c&&q(this.stateList,function(d){(e[d]||(e[d]={}))[l]=zH.get(l,"inRange"===d?"active":"inactive",i)})},this),n.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,a){var r=this.option,i=this._pieceList,o=(a?r:e).selected||{};if(r.selected=o,q(i,function(l,c){var d=this.getSelectedMapKey(l);o.hasOwnProperty(d)||(o[d]=!0)},this),"single"===r.selectedMode){var s=!1;q(i,function(l,c){var d=this.getSelectedMapKey(l);o[d]&&(s?o[d]=!1:s=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return"categories"===this._mode?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=Yt(e)},t.prototype.getValueState=function(e){var a=pa.findPieceIndex(e,this._pieceList);return null!=a&&this.option.selected[this.getSelectedMapKey(this._pieceList[a])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var a=[],r=this._pieceList;return this.eachTargetSeries(function(i){var o=[],s=i.getData();s.each(this.getDataDimensionIndex(s),function(l,c){pa.findPieceIndex(l,r)===e&&o.push(c)},this),a.push({seriesId:i.id,dataIndex:o})},this),a},t.prototype.getRepresentValue=function(e){var a;if(this.isCategory())a=e.value;else if(null!=e.value)a=e.value;else{var r=e.interval||[];a=r[0]===-1/0&&r[1]===1/0?0:(r[0]+r[1])/2}return a},t.prototype.getVisualMeta=function(e){if(!this.isCategory()){var a=[],r=["",""],i=this,s=this._pieceList.slice();if(s.length){var l=s[0].interval[0];l!==-1/0&&s.unshift({interval:[-1/0,l]}),(l=s[s.length-1].interval[1])!==1/0&&s.push({interval:[l,1/0]})}else s.push({interval:[-1/0,1/0]});var c=-1/0;return q(s,function(d){var u=d.interval;u&&(u[0]>c&&o([c,u[0]],"outOfRange"),o(u.slice()),c=u[1])},this),{stops:a,outerColors:r}}function o(d,u){var h=i.getRepresentValue({interval:d});u||(u=i.getValueState(h));var f=e(h,u);d[0]===-1/0?r[0]=f:d[1]===1/0?r[1]=f:a.push({value:d[0],color:f},{value:d[1],color:f})}},t.type="visualMap.piecewise",t.defaultOption=wl(A1.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t}(A1),K1t={splitNumber:function(n){var t=this.option,e=Math.min(t.precision,20),a=this.getExtent(),r=t.splitNumber;r=Math.max(parseInt(r,10),1),t.splitNumber=r;for(var i=(a[1]-a[0])/r;+i.toFixed(e)!==i&&e<5;)e++;t.precision=e,i=+i.toFixed(e),t.minOpen&&n.push({interval:[-1/0,a[0]],close:[0,0]});for(var o=0,s=a[0];o<r;s+=i,o++){var l=o===r-1?a[1]:s+i;n.push({interval:[s,l],close:[1,1]})}t.maxOpen&&n.push({interval:[a[1],1/0],close:[0,0]}),TL(n),q(n,function(c,d){c.index=d,c.text=this.formatValueText(c.interval)},this)},categories:function(n){var t=this.option;q(t.categories,function(e){n.push({text:this.formatValueText(e,!0),value:e})},this),e9(t,n)},pieces:function(n){var t=this.option;q(t.pieces,function(e,a){Xt(e)||(e={value:e});var r={text:"",index:a};if(null!=e.label&&(r.text=e.label),e.hasOwnProperty("value")){var i=r.value=e.value;r.interval=[i,i],r.close=[1,1]}else{for(var o=r.interval=[],s=r.close=[0,0],l=[1,0,1],c=[-1/0,1/0],d=[],u=0;u<2;u++){for(var h=[["gte","gt","min"],["lte","lt","max"]][u],f=0;f<3&&null==o[u];f++)o[u]=e[h[f]],s[u]=l[f],d[u]=2===f;null==o[u]&&(o[u]=c[u])}d[0]&&o[1]===1/0&&(s[0]=0),d[1]&&o[0]===-1/0&&(s[1]=0),o[0]===o[1]&&s[0]&&s[1]&&(r.value=o[0])}r.visual=pa.retrieveVisuals(e),n.push(r)},this),e9(t,n),TL(n),q(n,function(e){var a=e.close,r=[["<","\u2264"][a[1]],[">","\u2265"][a[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,r)},this)}};function e9(n,t){var e=n.inverse;("vertical"===n.orient?!e:e)&&t.reverse()}const W1t=G1t;var J1t=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type=t.type,e}return pt(t,n),t.prototype.doRender=function(){var e=this.group;e.removeAll();var a=this.visualMapModel,r=a.get("textGap"),i=a.textStyleModel,o=i.getFont(),s=i.getTextColor(),l=this._getItemAlign(),c=a.itemSize,d=this._getViewData(),u=d.endsText,h=$n(a.get("showLabel",!0),!u),f=!a.get("selectedMode");u&&this._renderEndsText(e,u[0],c,h,l),q(d.viewPieceList,function(v){var A=v.piece,b=new te;b.onclick=Ut(this._onItemClick,this,A),this._enableHoverLink(b,v.indexInModelPieceList);var x=a.getRepresentValue(A);if(this._createItemSymbol(b,x,[0,0,c[0],c[1]],f),h){var S=this.visualMapModel.getValueState(x);b.add(new Ce({style:{x:"right"===l?-r:c[0]+r,y:c[1]/2,text:A.text,verticalAlign:"middle",align:l,font:o,fill:s,opacity:"outOfRange"===S?.5:1},silent:f}))}e.add(b)},this),u&&this._renderEndsText(e,u[1],c,h,l),Dd(a.get("orient"),e,a.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,a){var r=this;e.on("mouseover",function(){return i("highlight")}).on("mouseout",function(){return i("downplay")});var i=function(o){var s=r.visualMapModel;s.option.hoverLink&&r.api.dispatchAction({type:o,batch:y1(s.findTargetDataIndices(a),s)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,a=e.option;if("vertical"===a.orient)return KH(e,this.api,e.itemSize);var r=a.align;return(!r||"auto"===r)&&(r="left"),r},t.prototype._renderEndsText=function(e,a,r,i,o){if(a){var s=new te,l=this.visualMapModel.textStyleModel;s.add(new Ce({style:tn(l,{x:i?"right"===o?r[0]:0:r[0]/2,y:r[1]/2,verticalAlign:"middle",align:i?o:"center",text:a})})),e.add(s)}},t.prototype._getViewData=function(){var e=this.visualMapModel,a=At(e.getPieceList(),function(s,l){return{piece:s,indexInModelPieceList:l}}),r=e.get("text"),i=e.get("orient"),o=e.get("inverse");return("horizontal"===i?o:!o)?a.reverse():r&&(r=r.slice().reverse()),{viewPieceList:a,endsText:r}},t.prototype._createItemSymbol=function(e,a,r,i){var o=Ln(this.getControllerVisual(a,"symbol"),r[0],r[1],r[2],r[3],this.getControllerVisual(a,"color"));o.silent=i,e.add(o)},t.prototype._onItemClick=function(e){var a=this.visualMapModel,r=a.option,i=r.selectedMode;if(i){var o=Yt(r.selected),s=a.getSelectedMapKey(e);"single"===i||!0===i?(o[s]=!0,q(o,function(l,c){o[c]=c===s})):o[s]=!o[s],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},t.type="visualMap.piecewise",t}(jH);const Z1t=J1t;function n9(n){n.registerComponentModel(W1t),n.registerComponentView(Z1t),$H(n)}var Y1t={label:{enabled:!0},decal:{show:!1}},a9=_e(),Q1t={};function $1t(n,t){var e=n.getModel("aria");if(e.get("enabled")){var a=Yt(Y1t);le(a.label,n.getLocaleModel().get("aria"),!1),le(e.option,a,!1),function r(){if(e.getModel("decal").get("show")){var u=Et();n.eachSeries(function(h){if(!h.isColorBySeries()){var f=u.get(h.type);f||(f={},u.set(h.type,f)),a9(h).scope=f}}),n.eachRawSeries(function(h){if(!n.isSeriesFiltered(h))if(jt(h.enableAriaDecal))h.enableAriaDecal();else{var f=h.getData();if(h.isColorBySeries()){var S=EC(h.ecModel,h.name,Q1t,n.getSeriesCount()),k=f.getVisual("decal");f.setVisual("decal",D(k,S))}else{var v=h.getRawData(),A={},b=a9(h).scope;f.each(function(I){var M=f.getRawIndex(I);A[M]=I});var x=v.count();v.each(function(I){var M=A[I],R=v.getName(I)||I+"",N=EC(h.ecModel,R,b,x),U=f.getItemVisual(M,"decal");f.setItemVisual(M,"decal",D(U,N))})}}function D(I,M){var R=I?ft(ft({},M),I):M;return R.dirty=!0,R}})}}(),function i(){var c=t.getZr().dom;if(c){var d=n.getLocaleModel().get("aria"),u=e.getModel("label");if(u.option=Kt(u.option,d),u.get("enabled")){if(c.setAttribute("role","img"),u.get("description"))return void c.setAttribute("aria-label",u.get("description"));var b,h=n.getSeriesCount(),f=u.get(["data","maxCount"])||10,v=u.get(["series","maxCount"])||10,A=Math.min(h,v);if(!(h<1)){var x=function s(){var c=n.get("title");return c&&c.length&&(c=c[0]),c&&c.text}();if(x){var S=u.get(["general","withTitle"]);b=o(S,{title:x})}else b=u.get(["general","withoutTitle"]);var k=[],D=h>1?u.get(["series","multiple","prefix"]):u.get(["series","single","prefix"]);b+=o(D,{seriesCount:h}),n.eachSeries(function(N,U){if(U<A){var z=void 0,K=N.get("name")?"withName":"withoutName";z=o(z=h>1?u.get(["series","multiple",K]):u.get(["series","single",K]),{seriesId:N.seriesIndex,seriesName:N.get("name"),seriesType:l(N.subType)});var W=N.getData();if(W.count()>f)z+=o(u.get(["data","partialData"]),{displayCnt:f});else z+=u.get(["data","allData"]);for(var X=u.get(["data","separator","middle"]),tt=u.get(["data","separator","end"]),rt=u.get(["data","excludeDimensionId"]),ot=[],st=0;st<W.count();st++)if(st<f){var gt=W.getName(st),_t=rt?Ne(W.getValues(st),function(zt,Bt){return-1===pe(rt,Bt)}):W.getValues(st),Mt=u.get(["data",gt?"withName":"withoutName"]);ot.push(o(Mt,{name:gt,value:_t.join(X)}))}z+=ot.join(X)+tt,k.push(z)}});var I=u.getModel(["series","multiple","separator"]),M=I.get("middle"),R=I.get("end");b+=k.join(M)+R,c.setAttribute("aria-label",b)}}}}()}function o(c,d){if(!Lt(c))return c;var u=c;return q(d,function(h,f){u=u.replace(new RegExp("\\{\\s*"+f+"\\s*\\}","g"),h)}),u}function l(c){var d=n.getLocaleModel().get(["series","typeNames"]);return d[c]||d.chart}}function tSt(n){if(n&&n.aria){var t=n.aria;null!=t.show&&(t.enabled=t.show),t.label=t.label||{},q(["description","general","series","data"],function(e){null!=t[e]&&(t.label[e]=t[e])})}}var r9={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},nSt=function(){function n(t){var e=this._condVal=Lt(t)?new RegExp(t):function _tt(n){return"[object RegExp]"===Ih.call(n)}(t)?t:null;if(null==e){Ue("")}}return n.prototype.evaluate=function(t){var e=typeof t;return Lt(e)?this._condVal.test(t):!!ke(e)&&this._condVal.test(t+"")},n}(),aSt=function(){function n(){}return n.prototype.evaluate=function(){return this.value},n}(),rSt=function(){function n(){}return n.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},n}(),iSt=function(){function n(){}return n.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},n}(),oSt=function(){function n(){}return n.prototype.evaluate=function(){return!this.child.evaluate()},n}(),sSt=function(){function n(){}return n.prototype.evaluate=function(){for(var t=!!this.valueParser,a=(0,this.getValue)(this.valueGetterParam),r=t?this.valueParser(a):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(t?r:a))return!1;return!0},n}();function $I(n,t){if(!0===n||!1===n){var e=new aSt;return e.value=n,e}return o9(n)||Ue(""),n.and?i9("and",n,t):n.or?i9("or",n,t):n.not?function lSt(n,t){var e=n.not,a="";o9(e)||Ue(a);var r=new oSt;return r.child=$I(e,t),r.child||Ue(a),r}(n,t):function cSt(n,t){for(var e="",a=t.prepareGetValue(n),r=[],i=ve(n),o=n.parser,s=o?Q5(o):null,l=0;l<i.length;l++){var c=i[l];if("parser"!==c&&!t.valueGetterAttrMap.get(c)){var d=Vt(r9,c)?r9[c]:c,u=n[c],h=s?s(u):u,f=Qrt(d,h)||"reg"===d&&new nSt(h);f||Ue(e),r.push(f)}}r.length||Ue(e);var v=new sSt;return v.valueGetterParam=a,v.valueParser=s,v.getValue=t.getValue,v.subCondList=r,v}(n,t)}function i9(n,t,e){var a=t[n];vt(a)||Ue(""),a.length||Ue("");var i="and"===n?new rSt:new iSt;return i.children=At(a,function(o){return $I(o,e)}),i.children.length||Ue(""),i}function o9(n){return Xt(n)&&!_a(n)}var dSt=function(){function n(t,e){this._cond=$I(t,e)}return n.prototype.evaluate=function(){return this._cond.evaluate()},n}();var pSt={type:"echarts:filter",transform:function(n){for(var e,t=n.upstream,a=function uSt(n,t){return new dSt(n,t)}(n.config,{valueGetterAttrMap:Et({dimension:!0}),prepareGetValue:function(s){var c=s.dimension;Vt(s,"dimension")||Ue("");var d=t.getDimensionInfo(c);return d||Ue(""),{dimIdx:d.index}},getValue:function(s){return t.retrieveValueFromItem(e,s.dimIdx)}}),r=[],i=0,o=t.count();i<o;i++)e=t.getRawDataItem(i),a.evaluate()&&r.push(e);return{data:r}}},hSt={type:"echarts:sort",transform:function(n){var t=n.upstream,e=n.config,a="",r=Be(e);r.length||Ue(a);var i=[];q(r,function(d){var u=d.dimension,h=d.order,f=d.parser,v=d.incomparable;if(null==u&&Ue(a),"asc"!==h&&"desc"!==h&&Ue(a),v&&"min"!==v&&"max"!==v){Ue("")}if("asc"!==h&&"desc"!==h){Ue("")}var x=t.getDimensionInfo(u);x||Ue(a);var S=f?Q5(f):null;f&&!S&&Ue(a),i.push({dimIdx:x.index,parser:S,comparator:new tN(h,v)})});var o=t.sourceFormat;o!==Sa&&o!==Nr&&Ue(a);for(var s=[],l=0,c=t.count();l<c;l++)s.push(t.getRawDataItem(l));return s.sort(function(d,u){for(var h=0;h<i.length;h++){var f=i[h],v=t.retrieveValueFromItem(d,f.dimIdx),A=t.retrieveValueFromItem(u,f.dimIdx);f.parser&&(v=f.parser(v),A=f.parser(A));var b=f.comparator.evaluate(v,A);if(0!==b)return b}return 0}),{data:s}}};var fSt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type="dataset",e}return pt(t,n),t.prototype.init=function(e,a,r){n.prototype.init.call(this,e,a,r),this._sourceManager=new oN(this),sN(this)},t.prototype.mergeOption=function(e,a){n.prototype.mergeOption.call(this,e,a),sN(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:Ji},t}(De),gSt=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.type="dataset",e}return pt(t,n),t.type="dataset",t}(xn);var ao=Ki.CMD;function Vm(n,t){return Math.abs(n-t)<1e-5}function tM(n){var r,W,Z,X,tt,rt,ot,st,gt,_t,Mt,zt,Bt,Qt,Pe,mn,ue,Jt,me,Ht,t=n.data,e=n.len(),a=[],i=0,o=0,s=0,l=0;function c(W,Z){r&&r.length>2&&a.push(r),r=[W,Z]}function d(W,Z,X,tt){Vm(W,X)&&Vm(Z,tt)||r.push(W,Z,X,tt,X,tt)}for(var h,f,v,A,b=0;b<e;){var x=t[b++],S=1===b;switch(S&&(s=i=t[b],l=o=t[b+1],(x===ao.L||x===ao.C||x===ao.Q)&&(r=[s,l])),x){case ao.M:i=s=t[b++],o=l=t[b++],c(s,l);break;case ao.L:d(i,o,h=t[b++],f=t[b++]),i=h,o=f;break;case ao.C:r.push(t[b++],t[b++],t[b++],t[b++],i=t[b++],o=t[b++]);break;case ao.Q:h=t[b++],f=t[b++],v=t[b++],A=t[b++],r.push(i+2/3*(h-i),o+2/3*(f-o),v+2/3*(h-v),A+2/3*(f-A),v,A),i=v,o=A;break;case ao.A:var k=t[b++],D=t[b++],I=t[b++],M=t[b++],R=t[b++],N=t[b++]+R;b+=1;var U=!t[b++];h=Math.cos(R)*I+k,f=Math.sin(R)*M+D,S?c(s=h,l=f):d(i,o,h,f),i=Math.cos(N)*I+k,o=Math.sin(N)*M+D;for(var z=(U?-1:1)*Math.PI/2,B=R;U?B>N:B<N;B+=z){var K=U?Math.max(B+z,N):Math.min(B+z,N);W=B,Z=K,X=k,tt=D,rt=I,ot=M,st=void 0,gt=void 0,_t=void 0,Mt=void 0,zt=void 0,Bt=void 0,Qt=void 0,Pe=void 0,mn=void 0,ue=void 0,Jt=void 0,me=void 0,Ht=void 0,st=Math.abs(Z-W),gt=4*Math.tan(st/4)/3,_t=Z<W?-1:1,Mt=Math.cos(W),zt=Math.sin(W),Bt=Math.cos(Z),Qt=Math.sin(Z),Pe=Mt*rt+X,mn=zt*ot+tt,ue=Bt*rt+X,Jt=Qt*ot+tt,me=rt*gt*_t,Ht=ot*gt*_t,r.push(Pe-me*zt,mn+Ht*Mt,ue+me*Qt,Jt-Ht*Bt,ue,Jt)}break;case ao.R:s=i=t[b++],l=o=t[b++],h=s+t[b++],f=l+t[b++],c(h,l),d(h,l,h,f),d(h,f,s,f),d(s,f,s,l),d(s,l,h,l);break;case ao.Z:r&&d(i,o,s,l),i=s,o=l}}return r&&r.length>2&&a.push(r),a}function eM(n,t,e,a,r,i,o,s,l,c){if(Vm(n,e)&&Vm(t,a)&&Vm(r,o)&&Vm(i,s))l.push(o,s);else{var d=2/c,u=d*d,h=o-n,f=s-t,v=Math.sqrt(h*h+f*f);h/=v,f/=v;var A=e-n,b=a-t,x=r-o,S=i-s,k=A*A+b*b,D=x*x+S*S;if(k<u&&D<u)l.push(o,s);else{var I=h*A+f*b,M=-h*x-f*S;if(k-I*I<u&&I>=0&&D-M*M<u&&M>=0)l.push(o,s);else{var U=[],z=[];gl(n,e,r,o,.5,U),gl(t,a,i,s,.5,z),eM(U[0],z[0],U[1],z[1],U[2],z[2],U[3],z[3],l,c),eM(U[4],z[4],U[5],z[5],U[6],z[6],U[7],z[7],l,c)}}}}function s9(n,t,e){var a=n[t],r=n[1-t],i=Math.abs(a/r),o=Math.ceil(Math.sqrt(i*e)),s=Math.floor(e/o);0===s&&(s=1,o=e);for(var l=[],c=0;c<o;c++)l.push(s);var u=e-o*s;if(u>0)for(c=0;c<u;c++)l[c%o]+=1;return l}function l9(n,t,e){for(var a=n.r0,r=n.r,i=n.startAngle,o=n.endAngle,s=Math.abs(o-i),l=s*r,c=r-a,d=l>Math.abs(c),u=s9([l,c],d?0:1,t),h=(d?s:c)/u.length,f=0;f<u.length;f++)for(var v=(d?c:s)/u[f],A=0;A<u[f];A++){var b={};d?(b.startAngle=i+h*f,b.endAngle=i+h*(f+1),b.r0=a+v*A,b.r=a+v*(A+1)):(b.startAngle=i+v*A,b.endAngle=i+v*(A+1),b.r0=a+h*f,b.r=a+h*(f+1)),b.clockwise=n.clockwise,b.cx=n.cx,b.cy=n.cy,e.push(b)}}function c9(n,t,e,a){return n*a-e*t}function bSt(n,t,e,a,r,i,o,s){var l=e-n,c=a-t,d=o-r,u=s-i,h=c9(d,u,l,c);if(Math.abs(h)<1e-6)return null;var A=c9(n-r,t-i,d,u)/h;return A<0||A>1?null:new ce(A*l+n,A*c+t)}function _St(n,t,e){var a=new ce;ce.sub(a,e,t),a.normalize();var r=new ce;return ce.sub(r,n,t),r.dot(a)}function zm(n,t){var e=n[n.length-1];e&&e[0]===t[0]&&e[1]===t[1]||n.push(t)}function d9(n){var t=n.points,e=[],a=[];a_(t,e,a);var r=new de(e[0],e[1],a[0]-e[0],a[1]-e[1]),i=r.width,o=r.height,s=r.x,l=r.y,c=new ce,d=new ce;return i>o?(c.x=d.x=s+i/2,c.y=l,d.y=l+o):(c.y=d.y=l+o/2,c.x=s,d.x=s+i),function xSt(n,t,e){for(var a=n.length,r=[],i=0;i<a;i++){var o=n[i],s=n[(i+1)%a],l=bSt(o[0],o[1],s[0],s[1],t.x,t.y,e.x,e.y);l&&r.push({projPt:_St(l,t,e),pt:l,idx:i})}if(r.length<2)return[{points:n},{points:n}];r.sort(function(b,x){return b.projPt-x.projPt});var c=r[0],d=r[r.length-1];if(d.idx<c.idx){var u=c;c=d,d=u}var h=[c.pt.x,c.pt.y],f=[d.pt.x,d.pt.y],v=[h],A=[f];for(i=c.idx+1;i<=d.idx;i++)zm(v,n[i].slice());for(zm(v,f),zm(v,h),i=d.idx+1;i<=c.idx+a;i++)zm(A,n[i%a].slice());return zm(A,h),zm(A,f),[{points:v},{points:A}]}(t,c,d)}function b1(n,t,e,a){if(1===e)a.push(t);else{var r=Math.floor(e/2),i=n(t);b1(n,i[0],r,a),b1(n,i[1],e-r,a)}return a}function wSt(n,t){t.setStyle(n.style),t.z=n.z,t.z2=n.z2,t.zlevel=n.zlevel}function CSt(n,t){var r,e=[],a=n.shape;switch(n.type){case"rect":(function ySt(n,t,e){for(var a=n.width,r=n.height,i=a>r,o=s9([a,r],i?0:1,t),s=i?"width":"height",l=i?"height":"width",c=i?"x":"y",d=i?"y":"x",u=n[s]/o.length,h=0;h<o.length;h++)for(var f=n[l]/o[h],v=0;v<o[h];v++){var A={};A[c]=h*u,A[d]=v*f,A[s]=u,A[l]=f,A.x+=n.x,A.y+=n.y,e.push(A)}})(a,t,e),r=Se;break;case"sector":l9(a,t,e),r=tr;break;case"circle":l9({r0:0,r:a.r,startAngle:0,endAngle:2*Math.PI,cx:a.cx,cy:a.cy},t,e),r=tr;break;default:var i=n.getComputedTransform(),o=i?Math.sqrt(Math.max(i[0]*i[0]+i[1]*i[1],i[2]*i[2]+i[3]*i[3])):1,s=At(function ASt(n,t){var e=tM(n),a=[];t=t||1;for(var r=0;r<e.length;r++){var i=e[r],o=[],s=i[0],l=i[1];o.push(s,l);for(var c=2;c<i.length;){var d=i[c++],u=i[c++],h=i[c++],f=i[c++],v=i[c++],A=i[c++];eM(s,l,d,u,h,f,v,A,o,t),s=v,l=A}a.push(o)}return a}(n.getUpdatedPathProxy(),o),function(x){return function kSt(n){for(var t=[],e=0;e<n.length;)t.push([n[e++],n[e++]]);return t}(x)}),l=s.length;if(0===l)b1(d9,{points:s[0]},t,e);else if(l===t)for(var c=0;c<l;c++)e.push({points:s[c]});else{var d=0,u=At(s,function(x){var S=[],k=[];a_(x,S,k);var D=(k[1]-S[1])*(k[0]-S[0]);return d+=D,{poly:x,area:D}});u.sort(function(x,S){return S.area-x.area});var h=t;for(c=0;c<l;c++){var f=u[c];if(h<=0)break;var v=c===l-1?h:Math.ceil(f.area/d*t);v<0||(b1(d9,{points:f.poly},v,e),h-=v)}}r=er}if(!r)return function SSt(n,t){for(var e=[],a=0;a<t;a++)e.push(oD(n));return e}(n,t);var A=[];for(c=0;c<e.length;c++){var b=new r;b.setShape(e[c]),wSt(n,b),A.push(b)}return A}function DSt(n,t){var e=n.length,a=t.length;if(e===a)return[n,t];for(var r=[],i=[],o=e<a?n:t,s=Math.min(e,a),l=Math.abs(a-e)/6,c=(s-2)/6,d=Math.ceil(l/c)+1,u=[o[0],o[1]],h=l,f=2;f<s;){var v=o[f-2],A=o[f-1],b=o[f++],x=o[f++],S=o[f++],k=o[f++],D=o[f++],I=o[f++];if(h<=0)u.push(b,x,S,k,D,I);else{for(var M=Math.min(h,d-1)+1,R=1;R<=M;R++){var N=R/M;gl(v,b,S,D,N,r),gl(A,x,k,I,N,i),v=r[3],A=i[3],u.push(r[1],i[1],r[2],i[2],v,A),b=r[5],x=i[5],S=r[6],k=i[6]}h-=M-1}}return o===n?[u,t]:[n,u]}function u9(n,t){for(var e=n.length,a=n[e-2],r=n[e-1],i=[],o=0;o<t.length;)i[o++]=a,i[o++]=r;return i}function p9(n){for(var t=0,e=0,a=0,r=n.length,i=0,o=r-2;i<r;o=i,i+=2){var s=n[o],l=n[o+1],c=n[i],d=n[i+1],u=s*d-c*l;t+=u,e+=(s+c)*u,a+=(l+d)*u}return 0===t?[n[0]||0,n[1]||0]:[e/t/3,a/t/3,t]}function PSt(n,t,e,a){for(var r=(n.length-2)/6,i=1/0,o=0,s=n.length,l=s-2,c=0;c<r;c++){for(var d=6*c,u=0,h=0;h<s;h+=2){var f=0===h?d:(d+h-2)%l+2,v=n[f]-e[0],A=n[f+1]-e[1],S=t[h]-a[0]-v,k=t[h+1]-a[1]-A;u+=S*S+k*k}u<i&&(i=u,o=c)}return o}function ISt(n){for(var t=[],e=n.length,a=0;a<e;a+=2)t[a]=n[e-a-2],t[a+1]=n[e-a-1];return t}function _1(n){return n.__isCombineMorphing}var h9="__mOriginal_";function x1(n,t,e){var a=h9+t,r=n[a]||n[t];n[a]||(n[a]=n[t]);var i=e.replace,o=e.after,s=e.before;n[t]=function(){var c,l=arguments;return s&&s.apply(this,l),c=i?i.apply(this,l):r.apply(this,l),o&&o.apply(this,l),c}}function yy(n,t){var e=h9+t;n[e]&&(n[t]=n[e],n[e]=null)}function m9(n,t){for(var e=0;e<n.length;e++)for(var a=n[e],r=0;r<a.length;){var i=a[r],o=a[r+1];a[r++]=t[0]*i+t[2]*o+t[4],a[r++]=t[1]*i+t[3]*o+t[5]}}function f9(n,t){var e=n.getUpdatedPathProxy(),a=t.getUpdatedPathProxy(),r=function TSt(n,t){for(var e,a,r,i=[],o=[],s=0;s<Math.max(n.length,t.length);s++){var l=n[s],c=t[s],d=void 0,u=void 0;l?c?(a=d=(e=DSt(l,c))[0],r=u=e[1]):(u=u9(r||l,l),d=l):(d=u9(a||c,c),u=c),i.push(d),o.push(u)}return[i,o]}(tM(e),tM(a)),i=r[0],o=r[1],s=n.getComputedTransform(),l=t.getComputedTransform();s&&m9(i,s),l&&m9(o,l),x1(t,"updateTransform",{replace:function c(){this.transform=null}}),t.transform=null;var d=function MSt(n,t,e,a){for(var i,r=[],o=0;o<n.length;o++){var s=n[o],l=t[o],c=p9(s),d=p9(l);null==i&&(i=c[2]<0!=d[2]<0);var u=[],h=[],f=0,v=1/0,A=[],b=s.length;i&&(s=ISt(s));for(var x=6*PSt(s,l,c,d),S=b-2,k=0;k<S;k+=2){var D=(x+k)%S+2;u[k+2]=s[D]-c[0],u[k+3]=s[D+1]-c[1]}if(u[0]=s[x]-c[0],u[1]=s[x+1]-c[1],e>0)for(var I=a/e,M=-a/2;M<=a/2;M+=I){var R=Math.sin(M),N=Math.cos(M),U=0;for(k=0;k<s.length;k+=2){var z=u[k],B=u[k+1],K=l[k]-d[0],W=l[k+1]-d[1],Z=K*N-W*R,X=K*R+W*N;A[k]=Z,A[k+1]=X;var tt=Z-z,rt=X-B;U+=tt*tt+rt*rt}if(U<v){v=U,f=M;for(var ot=0;ot<A.length;ot++)h[ot]=A[ot]}}else for(var st=0;st<b;st+=2)h[st]=l[st]-d[0],h[st+1]=l[st+1]-d[1];r.push({from:u,to:h,fromCp:c,toCp:d,rotation:-f})}return r}(i,o,10,Math.PI),u=[];x1(t,"buildPath",{replace:function(h){for(var f=t.__morphT,v=1-f,A=[],b=0;b<d.length;b++){var x=d[b],S=x.from,k=x.to,D=x.rotation*f,I=x.fromCp,M=x.toCp,R=Math.sin(D),N=Math.cos(D);C0(A,I,M,f);for(var U=0;U<S.length;U+=2){var z=S[U],B=S[U+1],Z=z*v+(K=k[U])*f,X=B*v+(W=k[U+1])*f;u[U]=Z*N-X*R+A[0],u[U+1]=Z*R+X*N+A[1]}var tt=u[0],rt=u[1];h.moveTo(tt,rt);for(U=2;U<S.length;){var K=u[U++],W=u[U++],ot=u[U++],st=u[U++],gt=u[U++],_t=u[U++];tt===K&&rt===W&&ot===gt&&st===_t?h.lineTo(gt,_t):h.bezierCurveTo(K,W,ot,st,gt,_t),tt=gt,rt=_t}}}})}function nM(n,t,e){if(!n||!t)return t;var a=e.done,r=e.during;return f9(n,t),t.__morphT=0,t.animateTo({__morphT:1},Kt({during:function(o){t.dirtyShape(),r&&r(o)},done:function(){(function i(){yy(t,"buildPath"),yy(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape()})(),a&&a()}},e)),t}function OSt(n,t,e,a,r,i){n=r===e?0:Math.round(32767*(n-e)/(r-e)),t=i===a?0:Math.round(32767*(t-a)/(i-a));for(var l,s=0,c=32768;c>0;c/=2){var d=0,u=0;(n&c)>0&&(d=1),(t&c)>0&&(u=1),s+=c*c*(3*d^u),0===u&&(1===d&&(n=c-1-n,t=c-1-t),l=n,n=t,t=l)}return s}function S1(n){var t=1/0,e=1/0,a=-1/0,r=-1/0,i=At(n,function(s){var l=s.getBoundingRect(),c=s.getComputedTransform(),d=l.x+l.width/2+(c?c[4]:0),u=l.y+l.height/2+(c?c[5]:0);return t=Math.min(d,t),e=Math.min(u,e),a=Math.max(d,a),r=Math.max(u,r),[d,u]});return At(i,function(s,l){return{cp:s,z:OSt(s[0],s[1],t,e,a,r),path:n[l]}}).sort(function(s,l){return s.z-l.z}).map(function(s){return s.path})}function g9(n){return CSt(n.path,n.count)}function v9(n){return vt(n[0])}function A9(n,t){for(var e=[],a=n.length,r=0;r<a;r++)e.push({one:n[r],many:[]});for(r=0;r<t.length;r++){var i=t[r].length,o=void 0;for(o=0;o<i;o++)e[o%a].many.push(t[r][o])}var s=0;for(r=a-1;r>=0;r--)if(!e[r].many.length){var l=e[s].many;if(l.length<=1){if(!s)return e;s=0}i=l.length;var c=Math.ceil(i/2);e[r].many=l.slice(c,i),e[s].many=l.slice(0,c),s++}return e}var NSt={clone:function(n){for(var t=[],e=1-Math.pow(1-n.path.style.opacity,1/n.count),a=0;a<n.count;a++){var r=oD(n.path);r.setStyle("opacity",e),t.push(r)}return t},split:null};function rM(n,t,e,a,r,i){if(n.length&&t.length){var o=Kh("update",a,r);if(o&&o.duration>0){var c,d,s=a.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},o);v9(n)&&(c=n,d=t),v9(t)&&(c=t,d=n);for(var h=c?c===n:n.length>t.length,f=c?A9(d,c):A9(h?t:n,[h?n:t]),v=0,A=0;A<f.length;A++)v+=f[A].many.length;var b=0;for(A=0;A<f.length;A++)u(f[A],h,b,v),b+=f[A].many.length}}function u(x,S,k,D,I){var M=x.many,R=x.one;if(1!==M.length||I)for(var B=Kt({dividePath:NSt[e],individualDelay:s&&function(rt,ot,st,gt){return s(rt+k,D)}},l),K=S?function RSt(n,t,e){var a=[];!function r(I){for(var M=0;M<I.length;M++){var R=I[M];_1(R)?r(R.childrenRef()):R instanceof fe&&a.push(R)}}(n);var i=a.length;if(!i)return{fromIndividuals:[],toIndividuals:[],count:0};var s=(e.dividePath||g9)({path:t,count:i});if(s.length!==i)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0};a=S1(a),s=S1(s);for(var l=e.done,c=e.during,d=e.individualDelay,u=new Xo,h=0;h<i;h++){var f=a[h],v=s[h];v.parent=t,v.copyTransform(u),d||f9(f,v)}function A(I){for(var M=0;M<s.length;M++)s[M].addSelfToZr(I)}function b(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,yy(t,"addSelfToZr"),yy(t,"removeSelfFromZr")}t.__isCombineMorphing=!0,t.childrenRef=function(){return s},x1(t,"addSelfToZr",{after:function(I){A(I)}}),x1(t,"removeSelfFromZr",{after:function(I){for(var M=0;M<s.length;M++)s[M].removeSelfFromZr(I)}});var x=s.length;if(d){var S=x,k=function(){0==--S&&(b(),l&&l())};for(h=0;h<x;h++){var D=d?Kt({delay:(e.delay||0)+d(h,x,a[h],s[h]),done:k},e):e;nM(a[h],s[h],D)}}else t.__morphT=0,t.animateTo({__morphT:1},Kt({during:function(I){for(var M=0;M<x;M++){var R=s[M];R.__morphT=t.__morphT,R.dirtyShape()}c&&c(I)},done:function(){b();for(var I=0;I<n.length;I++)yy(n[I],"updateTransform");l&&l()}},e));return t.__zr&&A(t.__zr),{fromIndividuals:a,toIndividuals:s,count:x}}(M,R,B):function LSt(n,t,e){var a=t.length,r=[],i=e.dividePath||g9;if(_1(n)){!function o(f){for(var v=0;v<f.length;v++){var A=f[v];_1(A)?o(A.childrenRef()):A instanceof fe&&r.push(A)}}(n.childrenRef());var s=r.length;if(s<a)for(var l=0,c=s;c<a;c++)r.push(oD(r[l++%s]));r.length=a}else{r=i({path:n,count:a});var d=n.getComputedTransform();for(c=0;c<r.length;c++)r[c].setLocalTransform(d);if(r.length!==a)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0}}r=S1(r),t=S1(t);var u=e.individualDelay;for(c=0;c<a;c++){var h=u?Kt({delay:(e.delay||0)+u(c,a,r[c],t[c])},e):e;nM(r[c],t[c],h)}return{fromIndividuals:r,toIndividuals:t,count:t.length}}(R,M,B),W=K.fromIndividuals,Z=K.toIndividuals,X=W.length,tt=0;tt<X;tt++){z=s?Kt({delay:s(tt,X)},l):l;i(W[tt],Z[tt],S?M[tt]:x.one,S?x.one:M[tt],z)}else{var z,N=S?M[0]:R,U=S?R:M[0];if(_1(N))u({many:[N],one:U},!0,k,D,!0);else nM(N,U,z=s?Kt({delay:s(k,D)},l):l),i(N,U,N,U,z)}}}function uu(n){if(!n)return[];if(vt(n)){for(var t=[],e=0;e<n.length;e++)t.push(uu(n[e]));return t}var a=[];return n.traverse(function(r){r instanceof fe&&!r.disableMorphing&&!r.invisible&&!r.ignore&&a.push(r)}),a}var FSt=_e();function x9(n,t,e,a){var i=function VSt(n,t){for(var e=n.dimensions,a=0;a<e.length;a++){var r=n.getDimensionInfo(e[a]);if(r&&0===r.otherDims[t])return e[a]}}(n,a?"itemChildGroupId":"itemGroupId");if(i){var o=function zSt(n,t,e){var a=n.getDimensionInfo(e),r=a&&a.ordinalMeta;if(a){var i=n.get(a.name,t);return r&&r.categories[i]||i+""}}(n,t,i);return o}var s=n.getRawDataItem(t),l=a?"childGroupId":"groupId";return s&&s[l]?s[l]+"":a?void 0:e||n.getId(t)}function S9(n){var t=[];return q(n,function(e){var a=e.data,r=e.dataGroupId;if(!(a.count()>1e4))for(var i=a.getIndices(),o=0;o<i.length;o++)t.push({data:a,groupId:x9(a,o,r,!1),childGroupId:x9(a,o,r,!0),divide:e.divide,dataIndex:o})}),t}function iM(n,t,e){n.traverse(function(a){a instanceof fe&&dn(a,{style:{opacity:0}},t,{dataIndex:e,isFrom:!0})})}function oM(n){if(n.parent){var t=n.getComputedTransform();n.setLocalTransform(t),n.parent.remove(n)}}function Em(n){n.stopAnimation(),n.isGroup&&n.traverse(function(t){t.stopAnimation()})}function ESt(n,t,e){var a=Kh("update",e,t);a&&n.traverse(function(r){if(r instanceof Mr){var i=function Lat(n){return U3(n).oldStyle}(r);i&&r.animateFrom({style:i},a)}})}function w9(n,t,e){var a=S9(n),r=S9(t);function i(k,D,I,M,R){(I||k)&&D.animateFrom({style:I&&I!==k?ft(ft({},I.style),k.style):k.style},R)}var o=!1,s=0,l=Et(),c=Et();a.forEach(function(k){k.groupId&&l.set(k.groupId,!0),k.childGroupId&&c.set(k.childGroupId,!0)});for(var d=0;d<r.length;d++){var u=r[d].groupId;if(c.get(u)){s=1;break}var h=r[d].childGroupId;if(h&&l.get(h)){s=2;break}}function f(k,D){return function(I){var M=I.data,R=I.dataIndex;return D?M.getId(R):k?1===s?I.childGroupId:I.groupId:2===s?I.childGroupId:I.groupId}}var v=function qSt(n,t){var e=n.length;if(e!==t.length)return!1;for(var a=0;a<e;a++){var r=n[a],i=t[a];if(r.data.getId(r.dataIndex)!==i.data.getId(i.dataIndex))return!1}return!0}(a,r),A={};if(!v)for(d=0;d<r.length;d++){var b=r[d],x=b.data.getItemGraphicEl(b.dataIndex);x&&(A[x.id]=!0)}function S(k,D){var I=a[D],M=r[k],R=M.data.hostModel,N=I.data.getItemGraphicEl(I.dataIndex),U=M.data.getItemGraphicEl(M.dataIndex);N!==U?N&&A[N.id]||U&&(Em(U),N?(Em(N),oM(N),o=!0,rM(uu(N),uu(U),M.divide,R,k,i)):iM(U,R,k)):U&&ESt(U,M.dataIndex,R)}new is(a,r,f(!0,v),f(!1,v),null,"multiple").update(S).updateManyToOne(function(k,D){var I=r[k],M=I.data,R=M.hostModel,N=M.getItemGraphicEl(I.dataIndex),U=Ne(At(D,function(z){return a[z].data.getItemGraphicEl(a[z].dataIndex)}),function(z){return z&&z!==N&&!A[z.id]});N&&(Em(N),U.length?(q(U,function(z){Em(z),oM(z)}),o=!0,rM(uu(U),uu(N),I.divide,R,k,i)):iM(N,R,I.dataIndex))}).updateOneToMany(function(k,D){var I=a[D],M=I.data.getItemGraphicEl(I.dataIndex);if(!M||!A[M.id]){var R=Ne(At(k,function(U){return r[U].data.getItemGraphicEl(r[U].dataIndex)}),function(U){return U&&U!==M}),N=r[k[0]].data.hostModel;R.length&&(q(R,function(U){return Em(U)}),M?(Em(M),oM(M),o=!0,rM(uu(M),uu(R),I.divide,N,k[0],i)):q(R,function(U){return iM(U,N,k[0])}))}}).updateManyToMany(function(k,D){new is(D,k,function(I){return a[I].data.getId(a[I].dataIndex)},function(I){return r[I].data.getId(r[I].dataIndex)}).update(function(I,M){S(k[I],D[M])}).execute()}).execute(),o&&q(t,function(k){var I=k.data.hostModel,M=I&&e.getViewOfSeriesModel(I),R=Kh("update",I,0);M&&I.isAnimationEnabled()&&R&&R.duration>0&&M.group.traverse(function(N){N instanceof fe&&!N.animators.length&&N.animateFrom({style:{opacity:0}},R)})})}function k9(n){return n.getModel("universalTransition").get("seriesKey")||n.id}function C9(n){return vt(n)?n.sort().join(","):n}function Kl(n){if(n.hostModel)return n.hostModel.getModel("universalTransition").get("divideShape")}function HSt(n,t){var e=Et(),a=Et(),r=Et();return q(n.oldSeries,function(o,s){var l=n.oldDataGroupIds[s],c=n.oldData[s],d=k9(o),u=C9(d);a.set(u,{dataGroupId:l,data:c}),vt(d)&&q(d,function(h){r.set(h,{key:u,dataGroupId:l,data:c})})}),q(t.updatedSeries,function(o){if(o.isUniversalTransitionEnabled()&&o.isAnimationEnabled()){var s=o.get("dataGroupId"),l=o.getData(),c=k9(o),d=C9(c),u=a.get(d);if(u)e.set(d,{oldSeries:[{dataGroupId:u.dataGroupId,divide:Kl(u.data),data:u.data}],newSeries:[{dataGroupId:s,divide:Kl(l),data:l}]});else if(vt(c)){var h=[];q(c,function(A){var b=a.get(A);b.data&&h.push({dataGroupId:b.dataGroupId,divide:Kl(b.data),data:b.data})}),h.length&&e.set(d,{oldSeries:h,newSeries:[{dataGroupId:s,data:l,divide:Kl(l)}]})}else{var f=r.get(c);if(f){var v=e.get(f.key);v||(v={oldSeries:[{dataGroupId:f.dataGroupId,data:f.data,divide:Kl(f.data)}],newSeries:[]},e.set(f.key,v)),v.newSeries.push({dataGroupId:s,data:l,divide:Kl(l)})}}}}),e}function D9(n,t){for(var e=0;e<n.length;e++){if(null!=t.seriesIndex&&t.seriesIndex===n[e].seriesIndex||null!=t.seriesId&&t.seriesId===n[e].id)return e}}he([function nlt(n){n.registerPainter("canvas",elt)}]),he([function Vlt(n){n.registerPainter("svg",Flt)}]),he([function Lct(n){n.registerChartView(Mct),n.registerSeriesModel(uct),n.registerLayout(EA("line",!0)),n.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),a=t.getModel("lineStyle").getLineStyle();a&&!a.stroke&&(a.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",a)}}),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,v6("line"))}
1,function ndt(n){n.registerChartView(edt),n.registerSeriesModel(Ect),n.registerLayout(n.PRIORITY.VISUAL.LAYOUT,se(_6,"bar")),n.registerLayout(n.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,x6("bar")),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,v6("bar")),n.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var a=t.componentType||"series";e.eachComponent({mainType:a,query:t},function(r){t.sortInfo&&r.axis.setCategorySortInfo(t.sortInfo)})})},function fdt(n){n.registerChartView(cdt),n.registerSeriesModel(hdt),gU("pie",n.registerAction),n.registerLayout(se(adt,"pie")),n.registerProcessor(qA("pie")),n.registerProcessor(function mdt(n){return{seriesType:n,reset:function(t,e){var a=t.getData();a.filterSelf(function(r){var i=a.mapDimension("value"),o=a.get(i,r);return!(ke(o)&&!isNaN(o)&&o<0)})}}}("pie"))},function Vut(n){he(MV),n.registerSeriesModel(vdt),n.registerChartView(Sdt),n.registerLayout(EA("scatter"))},function ept(n){he(tpt),n.registerChartView(Hut),n.registerSeriesModel(jut),n.registerLayout(zut),n.registerProcessor(qA("radar")),n.registerPreprocessor(Eut)},function eht(n){he(bz),n.registerChartView(zpt),n.registerSeriesModel(qpt),n.registerLayout(jpt),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,Bpt),gU("map",n.registerAction)},function Rht(n){n.registerChartView(fht),n.registerSeriesModel(Dht),n.registerLayout(Pht),n.registerVisual(Mht),function Oht(n){n.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(a){var r=t.dataIndex,o=a.getData().tree.getNodeByDataIndex(r);o.isExpand=!o.isExpand})}),n.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,e,a){e.eachComponent({mainType:"series",subType:"tree",query:t},function(r){var o=zT(r.coordinateSystem,t,void 0,a);r.setCenter&&r.setCenter(o.center),r.setZoom&&r.setZoom(o.zoom)})})}(n)},function ymt(n){n.registerSeriesModel(Fht),n.registerChartView(Yht),n.registerVisual(amt),n.registerLayout(umt),function Lht(n){for(var t=0;t<Iz.length;t++)n.registerAction({type:Iz[t],update:"updateView"},Tn);n.registerAction({type:"treemapRootToNode",update:"updateView"},function(e,a){a.eachComponent({mainType:"series",subType:"treemap",query:e},function r(i,o){var l=QA(e,["treemapZoomToNode","treemapRootToNode"],i);if(l){var c=i.getViewRoot();c&&(e.direction=GT(c,l.node)?"rollUp":"drillDown"),i.resetViewRoot(l.node)}})})}(n)},function Wmt(n){n.registerChartView(qmt),n.registerSeriesModel(Gmt),n.registerProcessor(bmt),n.registerVisual(_mt),n.registerVisual(xmt),n.registerLayout(Dmt),n.registerLayout(n.PRIORITY.VISUAL.POST_CHART_LAYOUT,Pmt),n.registerLayout(Mmt),n.registerCoordinateSystem("graphView",{dimensions:XA.dimensions,create:Rmt}),n.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},Tn),n.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},Tn),n.registerAction(Kmt,function(t,e,a){e.eachComponent({mainType:"series",query:t},function(r){var o=zT(r.coordinateSystem,t,void 0,a);r.setCenter&&r.setCenter(o.center),r.setZoom&&r.setZoom(o.zoom)})})},function nft(n){n.registerChartView($mt),n.registerSeriesModel(eft)},function hft(n){n.registerChartView(oft),n.registerSeriesModel(lft),n.registerLayout(pft),n.registerProcessor(qA("funnel"))},function vgt(n){he(BE),n.registerChartView(Aft),n.registerSeriesModel(xft),n.registerVisual(n.PRIORITY.VISUAL.BRUSH,kft)},function jgt(n){n.registerChartView(xgt),n.registerSeriesModel(wgt),n.registerLayout(kgt),n.registerVisual(Bgt),n.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},function(a){a.setNodePosition(t.dataIndex,[t.localX,t.localY])})})},function avt(n){n.registerSeriesModel(Ggt),n.registerChartView(Xgt),n.registerLayout(Ygt),n.registerTransform(nvt)},function Svt(n){n.registerChartView(vvt),n.registerSeriesModel(Avt),n.registerPreprocessor(yvt),n.registerVisual(dvt),n.registerLayout(xvt)},function Ivt(n){n.registerChartView(Dvt),n.registerSeriesModel(Pvt),n.registerLayout(EA("effectScatter"))},function Jvt(n){n.registerChartView(qvt),n.registerSeriesModel(Gvt),n.registerLayout(a4),n.registerVisual(Wvt)},function rAt(n){n.registerChartView(eAt),n.registerSeriesModel(aAt)},function vAt(n){n.registerChartView(mAt),n.registerSeriesModel(gAt),n.registerLayout(n.PRIORITY.VISUAL.LAYOUT,se(_6,"pictorialBar")),n.registerLayout(n.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,x6("pictorialBar"))},function kAt(n){n.registerChartView(bAt),n.registerSeriesModel(xAt),n.registerLayout(SAt),n.registerProcessor(qA("themeRiver"))},function VAt(n){n.registerChartView(OAt),n.registerSeriesModel(LAt),n.registerLayout(se(NAt,"sunburst")),n.registerProcessor(se(qA,"sunburst")),n.registerVisual(FAt),function IAt(n){n.registerAction({type:KP,update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function a(r,i){var o=QA(t,[KP],r);if(o){var s=r.getViewRoot();s&&(t.direction=GT(s,o.node)?"rollUp":"drillDown"),r.resetViewRoot(o.node)}})}),n.registerAction({type:_4,update:"none"},function(t,e,a){t=ft({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},function r(i){var o=QA(t,[_4],i);o&&(t.dataIndex=o.node.dataIndex)}),a.dispatchAction(ft(t,{type:"highlight"}))}),n.registerAction({type:"sunburstUnhighlight",update:"updateView"},function(t,e,a){t=ft({},t),a.dispatchAction(ft(t,{type:"downplay"}))})}(n)},function Syt(n){n.registerChartView(pyt),n.registerSeriesModel(qAt)}]),he(function Kyt(n){he(MV),he(dy)}),he(function Dbt(n){he(dy),Qd.registerAxisPointerClass("PolarAxisPointer",Xyt),n.registerCoordinateSystem("polar",dbt),n.registerComponentModel(Qyt),n.registerComponentView(Cbt),xm(n,"angle",$yt,wbt),xm(n,"radiu
1s",tbt,kbt),n.registerComponentView(mbt),n.registerComponentView(bbt),n.registerLayout(se(Sbt,"bar"))}),he(bz),he(function Gbt(n){he(dy),Qd.registerAxisPointerClass("SingleAxisPointer",Bbt),n.registerComponentView(jbt),n.registerComponentView(Obt),n.registerComponentModel(gI),xm(n,"single",gI,gI.defaultOption),n.registerCoordinateSystem("single",zbt)}),he(BE),he(function Qbt(n){n.registerComponentModel(Wbt),n.registerComponentView(Zbt),n.registerCoordinateSystem("calendar",Ybt)}),he(function s0t(n){n.registerComponentModel(a0t),n.registerComponentView(r0t),n.registerPreprocessor(function(t){var e=t.graphic;vt(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])})}),he(function l_t(n){n.registerComponentModel(k0t),n.registerComponentView(P0t),Lm("saveAsImage",M0t),Lm("magicType",L0t),Lm("dataView",G0t),Lm("dataZoom",s_t),Lm("restore",Y0t),he(S0t)}),he(function M_t(n){he(dy),n.registerComponentModel(d_t),n.registerComponentView(I_t),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Tn),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Tn)}),he(dy),he(function Y_t(n){n.registerComponentView(j_t),n.registerComponentModel(W_t),n.registerPreprocessor(R_t),n.registerVisual(n.PRIORITY.VISUAL.BRUSH,V_t),n.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(a){a.setAreas(t.areas)})}),n.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},Tn),n.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},Tn),Lm("brush",X_t)}),he(function txt(n){n.registerComponentModel(Q_t),n.registerComponentView($_t)}),he(function fxt(n){n.registerComponentModel(nxt),n.registerComponentView(uxt),n.registerSubTypeDefaulter("timeline",function(){return"slider"}),function pxt(n){n.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e,a){var r=e.getComponent("timeline");return r&&null!=t.currentIndex&&(r.setCurrentIndex(t.currentIndex),!r.get("loop",!0)&&r.isIndexMax()&&r.getPlayState()&&(r.setPlayState(!1),a.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:r.get("replaceMerge",!0)}),Kt({currentIndex:r.option.currentIndex},t)}),n.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){var a=e.getComponent("timeline");a&&null!=t.playState&&a.setPlayState(t.playState)})}(n),n.registerPreprocessor(hxt)}),he(function kxt(n){n.registerComponentModel(vxt),n.registerComponentView(wxt),n.registerPreprocessor(function(t){NI(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}),he(function Rxt(n){n.registerComponentModel(Dxt),n.registerComponentView(Oxt),n.registerPreprocessor(function(t){NI(t.series,"markLine")&&(t.markLine=t.markLine||{})})}),he(function qxt(n){n.registerComponentModel(Nxt),n.registerComponentView(Ext),n.registerPreprocessor(function(t){NI(t.series,"markArea")&&(t.markArea=t.markArea||{})})}),he(function e1t(n){he(PH),he(t1t)}),he(function S1t(n){he(LH),he(VH)}),he(LH),he(VH),he(function X1t(n){he(t9),he(n9)}),he(t9),he(n9),he(function eSt(n){n.registerPreprocessor(tSt),n.registerVisual(n.PRIORITY.VISUAL.ARIA,$1t)}),he(function mSt(n){n.registerTransform(pSt),n.registerTransform(hSt)}),he(function vSt(n){n.registerComponentModel(fSt),n.registerComponentView(gSt)}),he(function jSt(n){n.registerUpdateLifecycle("series:beforeupdate",function(t,e,a){q(Be(a.seriesTransition),function(r){q(Be(r.to),function(i){for(var o=a.updatedSeries,s=0;s<o.length;s++)(null!=i.seriesIndex&&i.seriesIndex===o[s].seriesIndex||null!=i.seriesId&&i.seriesId===o[s].id)&&(o[s][P_]=!0)})})}),n.registerUpdateLifecycle("series:transition",function(t,e,a){var r=FSt(e);if(r.oldSeries&&a.updatedSeries&&a.optionChanged){var i=a.seriesTransition;if(i)q(Be(i),function(f){!function BSt(n,t,e,a){var r=[],i=[];q(Be(n.from),function(o){var s=D9(t.oldSeries,o);s>=0&&r.push({dataGroupId:t.oldDataGroupIds[s],data:t.oldData[s],divide:Kl(t.oldData[s]),groupIdDim:o.dimension})}),q(Be(n.to),function(o){var s=D9(e.updatedSeries,o);if(s>=0){var l=e.updatedSeries[s].getData();i.push({dataGroupId:t.oldDataGroupIds[s],data:l,divide:Kl(l),groupIdDim:o.dimension})}}),r.length>0&&i.length>0&&w9(r,i,a)}(f,r,a,e)});else{var o=HSt(r,a);q(o.keys(),function(f){var v=o.get(f);w9(v.oldSeries,v.newSeries,e)})}q(a.updatedSeries,function(f){f[P_]&&(f[P_]=!1)})}for(var s=t.getSeries(),l=r.oldSeries=[],c=r.oldDataGroupIds=[],d=r.oldData=[],u=0;u<s.length;u++){var h=s[u].getData();h.count()<1e4&&(l.push(s[u]),c.push(s[u].get("dataGroupId")),d.push(h))}})}),he(mF);let qm=class{constructor(t,e,a,r){this.http=t,this.translateServ=e,this.msgServ=a,this.configService=r,this.currency_user=localStorage.getItem("currency_user"),this.params={},this.formDataSource=[{type:"chainSelect",key:"chain_id",rules:[{required:!0,message:"required"}]},{type:"select",key:"period",translateKey:"period",value:"daily",options:[{label:"daily",value:"daily"},{label:"weekly",value:"weekly"},{label:"monthly",value:"monthly"},{label:"yearly",value:"yearly"}]}
1,{type:"dateTime",key:"date_from",placeholder:"common_startDate",translateKey:"common_startDate",rules:[{required:!0,message:"required"}],value:qe.ou.now().minus({days:7}).toFormat("yyyy-MM-dd")},{type:"dateTime",key:"date_to",placeholder:"common_endDate",translateKey:"common_endDate",rules:[{required:!0,message:"required"}],value:qe.ou.now().toFormat("yyyy-MM-dd")}],this.colors=["#5470C6","#91CC75","#EE6666"];let i=this.configService.getConfig();this.downloadUrl=`${i.baseUrlS2C}`}ngOnInit(){}handleSubmit(t){if(!t.chain_id)return void this.msgServ.error(this.translateServ.instant("common_chain_required"));if(!t.date_from||!t.date_to)return void this.msgServ.error(this.translateServ.instant("date_from_to_alert_msg"));if(this.titleTranslate=this.translateServ.instant("sales_trend"),this.costTranslate=this.translateServ.instant("Cost Price"),this.incomeTranslate=this.translateServ.instant("Income"),this.priceTranslate=this.translateServ.instant("price"),this.amountTranslate=this.translateServ.instant("Amount"),!this.myChart){const a=document.getElementById("chart");this.myChart=function Pst(n,t,e){var a=!(e&&e.ssr);if(a){var r=$U(n);if(r)return r}var i=new ex(n,t,e);return i.id="ec_"+Dst++,Ed[i.id]=i,a&&zL(n,LD,i.id),XU(i),ui.trigger("afterinit",i),i}(a),window.addEventListener("resize",()=>{this.myChart.resize()})}const e={chain_id:t.chain_id,start_date:t.date_from,end_date:t.date_to,period:t.period,locale:localStorage.getItem("i18n")?localStorage.getItem("i18n"):"en-GB"};this.params={...e},this.http.post("report/getOrderStats",e).subscribe(a=>{console.log("res:",a),this.setOption(a),this.draw()})}handleReset(){this.table.handleReset()}handleDownload(){const t=localStorage.getItem("token"),e=`${this.downloadUrl}/report/exportSalesData?token=${t}&chain_id=${this.params.chain_id}&start_date=${this.params.start_date}&end_date=${this.params.end_date}&period=${this.params.period}&locale=${this.params.locale}`;window.open(e,"_blank")}draw(){this.myChart.setOption(this.option)}setOption(t){this.option||this.initOption();const e=t.map(o=>o.days),a=t.map(o=>o.total_order),r=t.map(o=>o.income),i=t.map(o=>1*o.cost);this.option.xAxis[0].data=[...e],this.option.series[0].data=[...r],this.option.series[1].data=[...i],this.option.series[2].data=[...a]}initOption(){this.option={color:this.colors,tooltip:{trigger:"axis",axisPointer:{type:"cross"}},title:{text:this.titleTranslate,left:"center"},grid:{right:"10%",top:"10%"},legend:{top:"5%",data:[this.incomeTranslate,this.costTranslate,this.amountTranslate]},xAxis:[{type:"category",axisTick:{alignWithLabel:!0},data:[]}],yAxis:[{type:"value",name:this.priceTranslate,position:"left",alignTicks:!0,axisLine:{show:!0,lineStyle:{color:this.colors[0]}},axisLabel:{formatter:`{value} ${this.currency_user}`}},{type:"value",name:this.amountTranslate,position:"right",alignTicks:!0,axisLine:{show:!0,lineStyle:{color:this.colors[2]}},axisLabel:{formatter:"{value}"}}],series:[{name:this.incomeTranslate,type:"line",data:[]},{name:this.costTranslate,type:"line",data:[]},{name:this.amountTranslate,type:"line",yAxisIndex:1,data:[]}]}}};qm.ctorParameters=()=>[{type:h0.O},{type:Y.sK},{type:ne.I},{type:Yn.E}],qm.propDecorators={table:[{type:m.i9L,args:["table",{static:!1}]}]},qm=(0,j.gn)([(0,m.wA2)({selector:"app-sale-trend",template:'<div class="container1">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-field-form #table class="col-md-9" [isShowDownload]="true" [formColumn]="formDataSource" (onSubmit)="handleSubmit($event)"\n (onReset)="handleReset()" (onDownload)="handleDownload()">\n </app-common-search-field-form>\n <div id="chart"></div>\n</div>',styles:[".container1 {\n height: 98%;\n width: 100%;\n padding: 0 15px;\n margin: auto;\n}\n.container1 app-s2c-bread-crumbs {\n width: 100%;\n}\n.container1 app-common-search-field-form {\n width: 100%;\n}\n.container1 #chart {\n width: 100%;\n height: 600px;\n}"]})],qm);var T9="https://js.stripe.com/v3",WSt=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,P9="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",w1=null,YSt=function(t){return null!==w1||(w1=new Promise(function(e,a){if(typeof window>"u"||typeof document>"u")e(null);else if(window.Stripe&&t&&console.warn(P9),window.Stripe)e(window.Stripe);else try{var r=function(){for(var t=document.querySelectorAll('script[src^="'.concat(T9,'"]')),e=0;e<t.length;e++){var a=t[e];if(WSt.test(a.src))return a}return null}();r&&t?console.warn(P9):r||(r=function(t){var e=t&&!t.advancedFraudSignals?"?advancedFraudSignals=false":"",a=document.createElement("script");a.src="".concat(T9).concat(e);var r=document.head||document.body;if(!r)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(a),a}(t)),r.addEventListener("load",function(){window.Stripe?e(window.Stripe):a(new Error("Stripe.js not available"))}),r.addEventListener("error",function(){a(new Error("Failed to load Stripe.js"))})}catch(i){return void a(i)}})),w1},QSt=function(t,e,a){if(null===t)return null;var r=t.apply(void 0,e);return function(t,e){!t||!t._registerWrapper||t._registerWrapper({name:"stripe-js",version:"1.54.2",startTime:e})}(r,a),r},I9=Promise.resolve().then(function(){return YSt(null)}),M9=!1;I9.catch(function(n){M9||console.warn(n)});let k1=class{constructor(t,e){this.http=t,this.configService=e;let a=this.configService.getConfig();this.baseUrl=`${a.baseUrl}`,this.baseUrlS2C=`${a.baseUrlS2C}`}createPaymentIntent(t){return this.http.post(`${this.baseUrlS2C}/plugin/cashier/payment/checkout/create_intent`,t)}};k1.ctorParameters=()=>[{type:Nt.eN},{type:Yn.E}],k1=(0,j.gn)([(0,m.GSi)({providedIn:"root"})],k1);let Hm=class{constructor(t,e){this.http=t,this.cashierService=e,this.isLoading=!1,this.messages=[]}ngOnInit(){var t=this;return(0,ti.Z)(function*(){console.log("Component initialized"),t.isLoading=!0;try{const e=yield t.fetchPublishableKey();console.log("Publishable Key:",e),e?(t.stripe=yield function(){for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];M9=!0;var r=Date.now();return I9.then(function(i){return QSt(i,e,r)})}(e),t.stripe?(console.log("Stripe initialized"),t.clientSecret=yield t.createPaymentIntent(),console.log("Client Secret:",t.clientSecret)):console.error("Failed to initialize Stripe")):console.error("Publishable Key is null or undefined")}catch(e){console.error("Error during initialization:",e)}t.isLoading=!1})()}ngAfterViewInit(){}fetchPublishableKey(){return(0,ti.Z)(function*(){return"pk_test_51NDkDWBbl7O3qXvRgg3BFyJ1Md5SsNnHhBK8exb0uFlFPXGOfo8DPs6TP0N3AjfNRQGbPMoLfBDOiBhmLROexIk800boStwcoe"})()}createPaymentIntent(){var t=this;return(0,ti.Z)(function*(){try{const e={amount:1e3,currency:"usd"}
1,a=yield t.cashierService.createPaymentIntent(e).toPromise();if(a.error)return t.messages.push(a.error.message),"";t.clientSecret=a.clientSecret||"",console.log("Client Secret:",t.clientSecret);const r={theme:"stripe",variables:{colorPrimary:"#0570de",colorBackground:"#ffffff",colorText:"#30313d",colorDanger:"#df1b41",fontFamily:"Ideal Sans, system-ui, sans-serif",spacingUnit:"2px",borderRadius:"4px"}};return t.elements=t.stripe.elements({clientSecret:t.clientSecret,appearance:r}),t.mountElements(),t.clientSecret}catch(e){return console.error("Error creating PaymentIntent:",e),""}})()}mountElements(){this.elements.create("payment",{layout:"tabs"}).mount(this.paymentElementRef.nativeElement),this.elements.create("linkAuthentication").mount(this.linkAuthenticationElementRef.nativeElement);this.elements.create("address",{mode:"billing"}).mount(this.shippingAddressElementRef.nativeElement)}handleReturn(){console.log("\u8fd4\u56de\u64cd\u4f5c\u88ab\u89e6\u53d1")}handleSubmit(t){var e=this;return(0,ti.Z)(function*(){if(t.preventDefault(),e.isLoading)return;e.isLoading=!0;const{error:a}=yield e.stripe.confirmPayment({elements:e.elements,confirmParams:{return_url:`${window.location.origin}/return`}});a?e.messages.push(a.message):e.messages.push("An unexpected error occurred."),e.isLoading=!1})()}};Hm.ctorParameters=()=>[{type:Nt.eN},{type:k1}],Hm.propDecorators={paymentElementRef:[{type:m.i9L,args:["paymentElement",{static:!1}]}],linkAuthenticationElementRef:[{type:m.i9L,args:["linkAuthenticationElement",{static:!1}]}],shippingAddressElementRef:[{type:m.i9L,args:["shippingAddressElement",{static:!1}]}],googlePayElementRef:[{type:m.i9L,args:["googlePayElement",{static:!1}]}]},Hm=(0,j.gn)([(0,m.wA2)({selector:"app-subscription",template:'\x3c!-- subscription.component.html --\x3e\n<div class="fullscreen-content">\n <div class="content-left">\n \x3c!-- <a href="" class="logo-link">\n <img src="your-logo-url-here" alt="Logo" />\n </a> --\x3e\n <div class="billing-section">\n <h2>Manage your billing settings</h2>\n \x3c!-- \u5176\u4ed6\u5185\u5bb9 --\x3e\n </div>\n </div>\n <div class="content-right">\n \x3c!-- \u5bfc\u822a\u680f --\x3e\n <div class="breadcrumb-navigation">\n <button class="breadcrumb-button">Billing</button>\n <span class="breadcrumb-separator">></span>\n <span class="breadcrumb-current">\u652f\u4ed8\u65b9\u5f0f</span>\n </div>\n\n \x3c!-- \u6dfb\u52a0\u652f\u4ed8\u65b9\u5f0f\u6807\u9898 --\x3e\n <h3>\u6dfb\u52a0\u652f\u4ed8\u65b9\u5f0f</h3>\n\n \x3c!-- \u53f3\u4fa7\u5185\u5bb9 --\x3e\n <form id="payment-form" (submit)="handleSubmit($event)">\n <div #linkAuthenticationElement></div>\n <div #paymentElement></div>\n <div #shippingAddressElement></div>\n \x3c!-- <button id="submit" [disabled]="isLoading">Pay now</button> --\x3e\n \x3c!-- \u6309\u94ae\u5bb9\u5668 --\x3e\n <div class="form-buttons">\n \x3c!-- \u6dfb\u52a0\u6309\u94ae --\x3e\n <button class="btn btn-add" type="submit" [disabled]="isLoading">\u6dfb\u52a0</button>\n \x3c!-- \u8fd4\u56de\u6309\u94ae --\x3e\n <button class="btn btn-return" type="button" (click)="handleReturn()">\u8fd4\u56de</button>\n </div>\n </form>\n <div *ngFor="let message of messages">{{ message }}</div>\n <div id="messages" role="alert" style="display: none;"></div>\n </div>\n</div>\n',styles:['@charset "UTF-8";\n.fullscreen-content {\n display: flex;\n height: 100%;\n}\n.fullscreen-content .content-left, .fullscreen-content .content-right {\n flex: 1;\n padding: 64px 48px;\n}\n.fullscreen-content .content-left {\n background-color: #efe8e8;\n color: #fff;\n}\n.fullscreen-content .content-left .logo-link {\n display: block;\n margin-bottom: 32px;\n}\n.fullscreen-content .content-left .billing-section h2 {\n font-size: 24px;\n margin-bottom: 16px;\n}\n.fullscreen-content .content-right .form-buttons {\n display: flex;\n flex-direction: column;\n /* \u4f7f\u6309\u94ae\u5782\u76f4\u6392\u5217 */\n gap: 10px;\n /* \u6309\u94ae\u4e4b\u95f4\u7684\u95f4\u9694 */\n}\n.fullscreen-content .content-right .form-buttons .btn {\n padding: 10px 20px;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n font-weight: bold;\n margin-top: 20px;\n /* \u4e0e\u5176\u4ed6\u8868\u5355\u5143\u7d20\u7684\u95f4\u9694 */\n}\n.fullscreen-content .content-right .form-buttons .btn.btn-add {\n background-color: #4CAF50;\n /* \u793a\u4f8b\u7eff\u8272\u80cc\u666f */\n color: white;\n}\n.fullscreen-content .content-right .form-buttons .btn.btn-return {\n background-color: #f44336;\n /* \u793a\u4f8b\u7ea2\u8272\u80cc\u666f */\n color: white;\n}']})],Hm);var O9=F(48291);class rwt{}let by=class{constructor(t,e,a,r,i){this.data=t,this.dialog=e,this.http=a,this.msg=r,this.translate=i,this.isVisible=!1,this.isConfirmLoading=!1,this.code=localStorage.getItem("curr"),this.columns=[{type:"image",key:"img_url",translationKey:"common_image"},{type:"text",key:"product_name",translationKey:"common_productName"},{type:"text",key:"product_name2",translationKey:"product_name2"},{type:"text",key:"product_category_name",translationKey:"Category Name"},{type:"text",key:"product_barcode",translationKey:"common_productBarcode"},{type:"text",key:"order_item_quantity",translationKey:"common_productQuantity"},{type:"text",key:"item_unit_price",translationKey:"Unit-Price"},{translationKey:"common_actions",type:"actions",key:"actions",list:["edit"]}],console.log("data:",t)}ngOnInit(){console.log(this.data.dataSource),this.dataSource=this.data.dataSource.product_items.map((t,e)=>({...t,product_category_name:t.category?.category_name,product_name:t.item_name,order_item_quantity:t.order_item_quantity,product_barcode:this.data.dataSource.products[e].product_barcode})),console.log(this.data.dataSource)}cancel(){this.dialog.close()}handleClick({item:t}){console.log("item:",t),this.max_quantity=t.order_item_quantity,this.product_item=t,this.quantity=this.max_quantity,this.showModal()}showModal(){this.isVisible=!0}handleCancel(){this.isVisible=!1}handleOk(){if(console.log("quantity:",this.quantity,this.max_quantity),Number(this.quantity)>Number(this.max_quantity))return void this.msg.error(this.translate.instant("not_more_then")+" "+this.max_quantity);if(Number(this.quantity)<0)return void this.msg.errorWithTranslate("not_negative");this.isConfirmLoading=!0;const t=new rwt;t.chain_id=this.product_item.chain_id,t.order_item_id=this.product_item.id,t.refund_quantity=Number(this.quantity),this.http.postWithAllRes("orders/refundOrderItem",t).pipe((0,Ck.x)(()=>this.isConfirmLoading=!1)).subscribe(e=>{this.isConfirmLoading=!1,200===e.code?(this.msg.successWithTranlate(e.msg),this.isVisible=!1):this.msg.errorWithTranslate(e.msg)})}};by.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}
1,{type:St.so},{type:h0.O},{type:ne.I},{type:Y.sK}],by=(0,j.gn)([(0,m.wA2)({selector:"app-b2b-product-list",template:'<div class="table-responsive order-product-list">\n <div class="d-flex flex-space-between">\n <p>{{ \'product_refund\' | translate}}</p>\n <div type="button" class="btn" (click)="cancel()">\n <mat-icon class="btn-clickable">close</mat-icon>\n </div>\n </div>\n <app-common-search-list-table\n [dataSource]="dataSource"\n [isAutoPages]="true"\n [isShowSearchBtn]="false"\n [dataSource]="dataSource"\n [columns]="columns"\n uniqueTableKey="s2cProductDetailList"\n [isShowAdd]="false"\n [isShowDisplayColumn]="false"\n (onBtnClick)="handleClick($event)"\n ></app-common-search-list-table>\n </div>\n <nz-modal\n [(nzVisible)]="isVisible"\n [nzTitle]="modalTitle"\n [nzContent]="modalContent"\n [nzFooter]="modalFooter"\n (nzOnCancel)="handleCancel()"\n >\n <ng-template #modalTitle>\n {{\'refund_quantity\'|translate}}\n </ng-template>\n \n <ng-template #modalContent>\n <input nz-input [(ngModel)]="quantity" id="quantity" name="quantity" placeholder="{{\'refund_quantity\'|translate}}">\n </ng-template>\n \n <ng-template #modalFooter>\n <button nz-button nzType="primary" (click)="handleOk()" [nzLoading]="isConfirmLoading">{{\'Submit\'|translate}}</button>\n <button nz-button nzType="default" (click)="handleCancel()">{{\'cancel\'|translate}}</button>\n </ng-template>\n </nz-modal>',styles:[".imageCell {\n background-color: #fdcdd2;\n}\n.imageCell img {\n min-width: 100px;\n max-height: 150px;\n object-fit: contain;\n}\n.mat-row .mat-cell {\n cursor: pointer;\n}\n*[class*=mat-column-] {\n word-wrap: break-word;\n width: 150px !important;\n}\n.mat-column-actions {\n width: 80px !important;\n text-align: center;\n padding-right: 0 !important;\n}\n.mat-column-customize {\n width: 30px !important;\n text-align: end;\n}\n.mat-row:hover {\n background-color: #feebee;\n}\n.order-product-list td.mat-cell, .order-product-list td.mat-footer-cell, .order-product-list th.mat-header-cell {\n border-width: 0;\n}\n:host .flex-space-between {\n justify-content: space-between;\n align-items: center;\n}"]})],by);let _y=class{constructor(t,e,a,r,i,o,s,l,c){this.orderService=t,this.datepipe=e,this.loadingService=a,this.dialog=r,this.modal=i,this.msg=o,this.translateServ=s,this.route=l,this.router=c,this.columns=[{translationKey:"Order-Date",type:"date",key:"payment_date"},{translationKey:"Type",type:"text",key:"source"},{translationKey:"Order-number",type:"text",key:"order_number"},{translationKey:"Cashier-first-name",type:"text",key:"cashier"},{translationKey:"common_payment_status",type:"text",key:"payment_status"},{translationKey:"Payment-amount",type:"price",key:"payment_amount"},{translationKey:"common_unpaid_amount",type:"price",key:"unpaid_amount"},{translationKey:"Payment-method",type:"text",key:"payment_method",align:"right"},{translationKey:"Discount-Amount",type:"price",key:"discount_amount"},{translationKey:"VIP-point",type:"text",key:"vip_point",align:"right"},{translationKey:"Invoice",type:"text",key:"invoice",align:"right"},{translationKey:"common_actions",type:"actions",key:"actions",list:["refund","delete","detail"]}],this.dataSource=[],this.pageInfo={total:0,page:1,pageSize:10},this.formDataSource=[{type:"chainSelect",key:"chain_id"},{type:"cashierSelect",key:"cashier_id"},{type:"select",translateKey:"Payment-method",key:"payment_method_id",placeholder:"Payment-method",options:[{label:"Cash",value:"1"},{label:"debit",value:"2"},{label:"credit",value:"3"}]},{type:"dateTime",translateKey:"common_startDate",key:"start_date",placeholder:"common_startDate",value:qe.ou.now().toFormat("yyyy-MM-dd")},{type:"dateTime",translateKey:"common_endDate",key:"end_date",placeholder:"common_endDate",value:qe.ou.now().toFormat("yyyy-MM-dd")}],this.searchParams={page:1,chain_id:"",category_id:"",cashier_id:"",payment_method_id:"",start_date:qe.ou.now().toFormat("yyyy-MM-dd"),end_date:qe.ou.now().toFormat("yyyy-MM-dd"),source:"B2B"},this.categoryList=[],this.product_quantity_sum=0,this.payment_amount_sum=0,this.totalOrders=0,this.order_payment_amount_sum=0,this.discount_amount_sum="",this.order_cost_sum=0,this.total_tax="0",this.total_tax_price="0",this.total_price=0,this.cardDataList=[{numberData:0,textData:"Total-orders"},{numberData:0,textData:"Total Order Payment Amount"},{numberData:0,textData:"Total Order Cost"},{numberData:0,textData:"Total Discount Amount"},{numberData:0,textData:"Total Payment Amount"},{numberData:0,textData:"Total Product Quantity"},{numberData:0,textData:"total_unpaid_amount"},{numberData:0,textData:"total_paid_amount"}],this.loadingService.openDialog(),this.route.queryParams.subscribe(d=>{console.log("params:",d),d&&(this.formDataSource=[...this.formDataSource.map(u=>(d.chainId&&"chain_id"===u.key&&(u.value=d.chainId,this.searchParams.chain_id=d.chainId),d.days&&("start_date"===u.key||"end_date"===u.key)&&
1(u.value=d.days,this.searchParams.start_date=d.days,this.searchParams.end_date=d.days),u))],this.getOrdersList())})}ngOnInit(){this.getOrdersList()}getOrdersList(){this.orderService.filtreOrders(this.searchParams).subscribe(t=>{if(console.log("\u8ba2\u5355\u5217\u8868\u8fd4\u56de\u6570\u636e:",t),t&&t.data&&Array.isArray(t.data)){try{this.dataSource=t.data.map(e=>{let a;return a=e.order_payment_amount>0&&0===e.unpaid_amount?"common_fully_paid":e.order_payment_amount>0&&e.unpaid_amount>0?"common_partially_paid":0===e.order_payment_amount&&e.unpaid_amount>0?"common_not_paid":"common_payment_status_unknown",{...e,chainName:e?.chain?.chain_name||"",cashier:e?.cachier?.first_name||e?.cashier?.first_name||"",payment_method:e?.payment_method?.name||"",payment_status:this.translateServ.instant(a)}}),console.log("\u5904\u7406\u540e\u7684\u6570\u636e\u6e90:",this.dataSource)}catch(e){console.error("\u5904\u7406\u8ba2\u5355\u6570\u636e\u65f6\u51fa\u9519:",e),this.dataSource=[]}this.pageInfo.total=t.total||0,this.totalOrders=t.total||0,this.order_payment_amount_sum=t.order_payment_amount_sum||0,this.discount_amount_sum=Number(t.discount_amount_sum||0).toFixed(2),this.order_cost_sum=t.order_cost_sum||0,this.cardDataList[0].numberData=t.total||0,this.cardDataList[1].numberData=(t.payment_amount_sum||0).toFixed(2)||0,this.cardDataList[2].numberData=(t.order_cost_sum||0).toFixed(2)||0,this.cardDataList[3].numberData=(t.discount_amount_sum||0).toFixed(2),this.cardDataList[4].numberData=(t.order_payment_amount_sum||0).toFixed(2),this.cardDataList[5].numberData=t.product_quantity_sum||0,this.cardDataList[6].numberData=(t.unpaid_amount_sum||0).toFixed(2)||0,this.cardDataList[7].numberData=+(t.order_payment_amount_sum-t.unpaid_amount_sum||0).toFixed(2)}else console.warn("\u8fd4\u56de\u6570\u636e\u683c\u5f0f\u4e0d\u6b63\u786e:",t),this.dataSource=[],this.pageInfo.total=0;this.loadingService.hideDialog()},t=>{console.error("\u83b7\u53d6\u8ba2\u5355\u5217\u8868\u5931\u8d25:",t),this.loadingService.hideDialog(),this.dataSource=[],this.msg.error("\u83b7\u53d6\u8ba2\u5355\u5217\u8868\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5")})}handleSearch(t){this.pageInfo.page=1,this.searchParams={...t,page:1,source:"B2B"},this.getOrdersList()}handleReset(){this.searchParams={page:1,chain_id:"",category_id:"",cashier_id:"",payment_method_id:"",start_date:"",end_date:"",source:"B2B"},this.getOrdersList()}handleChangePaginator(t){this.pageInfo.page=t.page,this.searchParams.page=t.page,this.getOrdersList()}handleViewDetail({item:t,type:e}){"detail"===e&&this.router.navigate([`/shop/b2b-orders-list/detail/${t.id}`]),"refund"===e&&this.dialog.open(by,{autoFocus:!1,width:"100vw",hasBackdrop:!0,data:{dataSource:t}}),"delete"===e&&this.modal.confirm({nzTitle:this.translateServ.instant("refund_order_comfirm_msg"),nzContent:this.translateServ.instant("refund_confirm_content_msg"),nzOnOk:()=>this.refundOrder(t)})}refundOrder(t){console.log("data:",t);const e={chain_id:t.chain_id,order_id:t.id};this.orderService.refundOrder(e).subscribe(a=>{console.log('res"',a),200===a.code?(this.msg.successWithTranlate(a.msg),this.getOrdersList()):this.msg.errorWithTranslate(a.msg)})}};_y.ctorParameters=()=>[{type:bn.C},{type:Q.uU},{type:Qe.E},{type:St.uw},{type:UO.Sf},{type:ne.I},{type:Y.sK},{type:It.gz},{type:It.F0}],_y=(0,j.gn)([(0,m.wA2)({selector:"app-b2b-order-list",template:'\n<div class="s2c-manage-order-list container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-products-card [cardDataList]="cardDataList"></app-products-card>\n \n <app-common-search-list-table \n (onReset)="handleReset()"\n (onSubmit)="handleSearch($event)" \n [dataSource]="dataSource"\n [columns]="columns" \n [isShowAdd]="false" \n uniqueTableKey="orderListSelectColumn" \n [pageInfo]="pageInfo"\n (keyup.enter)="handleSearch($event)" \n (pageChange)="handleChangePaginator($event)" \n (onBtnClick)="handleViewDetail($event)" \n [formColumn]="formDataSource"\n >\n </app-common-search-list-table>\n </div>\n ',animations:[(0,Rt.X$)("detailExpand",[(0,Rt.SB)("collapsed",(0,Rt.oB)({height:"0px",minHeight:"0",visibility:"hidden"})),(0,Rt.SB)("expanded",(0,Rt.oB)({height:"*",visibility:"visible"})),(0,Rt.eR)("expanded <=> collapsed",(0,Rt.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])],styles:[".imageCell img {\n min-width: 150px;\n max-width: 150px;\n min-width: 100px;\n max-height: 100px;\n object-fit: cover;\n}\n\n.mat-row .mat-cell {\n cursor: pointer;\n}\n\n*[class*=mat-column-] {\n word-wrap: break-word;\n width: 150px !important;\n}\n\n.mat-column-actions {\n width: 80px !important;\n padding-right: 0 !important;\n}\n\n.mat-row:hover .mat-cell {\n background-color: #feebee;\n}\n\n.s2c-manage-order-list ::ng-deep app-common-form .mat-form-field-wrapper {\n padding-bottom: 0;\n}"]})],_y);var R9=F(15068);var swt=F(76894);let ms=class{constructor(t,e){this.http=t,this.configService=e;const a=this.configService.getConfig();this.baseUrlS2C=`${a.baseUrlS2C}`}getAllocationList(t){const e={...t};return this.http.post(`${this.baseUrlS2C}/shipping/allocation/list`,e,{params:{token:localStorage.getItem("token")||""}})}getAllocationDetail(t,e=10){const a={allocation_id:t,page_size:e};return this.http.post(`${this.baseUrlS2C}/shipping/allocation/detail`,a,{params:{token:localStorage.getItem("token")||""}})}getOrderAllocationView(t){const e={order_id:t};return this.http.post(`${this.baseUrlS2C}/shipping/allocation/order_detail`,e,{params:{token:localStorage.getItem("token")||""}})}getOrderBatchIntegrate(t){const e={order_id:t};return this.http.post(`${this.baseUrlS2C}/shipping/allocation/batch_integrate`,e,{params:{token:localStorage.getItem("token")||""}})}createAllocation(t){return this.http.post(`${this.baseUrlS2C}/shipping/allocation/V2/add`,t,{params:{token:localStorage.getItem("token")||""}})}updateAllocationProducts(t){return this.http.post(`${this.baseUrlS2C}/shipping/allocation/update_quantity`,t,{params:{token:localStorage.getItem("token")||""}})}updateAllocationStatus(t,e){const r={allocation_id:Array.isArray(t)?t:[t],status:e,force:!0};return this.http.post(`${this.baseUrlS2C}/shipping/allocation/update`,r,{params:{token:localStorage.getItem("token")||""}})}checkAllocationComplete(t){const e={order_id:t};return this.http.post(`${this.baseUrlS2C}/shipping/allocation/getAllocationCompete`,e,{params:{token:localStorage.getItem("token")||""}})}getStockOutList(t){return this.http.post(`${this.baseUrlS2C}/shipping/order/invoice_list`,t,{params:{token:localStorage.getItem("token")||""}})}createStockOutFromAllocation(t){return this.http.post(`${this.baseUrlS2C}/shipping/order/stock_out`,t,{params:{token:localStorage.getItem("token")||""}})}createInventoryAndShippingOrder(t){const e={...t,chain_id:Number(t.chain_id)};return this.http.post(`${this.baseUrlS2C}/shipping/order/create_inventory_and_shipping`,e,{params:{token:localStorage.getItem("token")||""}})}getShippingOrderList(t){return this.http.post(`${this.baseUrlS2C}/shipping/order/list`,t,{params:{token:localStorage.getItem("token")||""}})}getStockOutDetail(t){const e={invoice_id:t.invoice_id};return t.allocation_id&&(e.allocation_id=t.allocation_id),this.http.post(`${this.baseUrlS2C}/shipping/order/invoice_detail`,e,{params:{token:localStorage.getItem("token")||""}})}updateStockOutInventory(t){return this.http.post(`${this.baseUrlS2C}/allocation/order/update_inventory`,t,{params:{token:localStorage.getItem("token")||""}})}updateStockOutStatus(t){const e={stock_out_ids:Array.isArray(t.stock_out_ids)?t.stock_out_ids:[t.stock_out_ids],status:t.status};return this.http.post(`${this.baseUrlS2C}/allocation/order/invoice_update`,e,{params:{token:localStorage.getItem("token")||""}})}};ms.ctorParameters=()=>[{type:Nt.eN},{type:Yn.E}],ms=(0,j.gn)([(0,m.GSi)({providedIn:"root"})],ms);let Wl=class{constructor(t,e,a,r,i,o,s,l){this.route=t,this.router=e,this.fb=a,this.allocationService=r,this.loadingService=i,this.messageService=o,this.dialogData=s,this.dialogRef=l,this.header={},this.form=this.fb.group({remark:[""],shipping_type:[1],product_list:this.fb.array([])})}get products(){return this.form.get("product_list")}
1ngOnInit(){const t=this.route.snapshot.paramMap.get("orderId"),a=(this.dialogData&&null!=this.dialogData.orderId?this.dialogData.orderId:null)||t;a&&(this.orderId=Number(a),this.loadOrderAllocationView())}loadOrderAllocationView(){this.loadingService.openDialog(),this.allocationService.getOrderAllocationView(this.orderId).subscribe(t=>{this.loadingService.hideDialog();const e=t?.data||t?.result||t||{};this.header={orderNumber:e.order_number,customerName:e.customer_name,createdAt:e.created_at};let a=e.product_list||t?.product_list||t?.data?.product_list||t?.data||t?.list||[];Array.isArray(a)||(a=[]),this.products.clear(),a.forEach(r=>{const i=r.quantity??r.order_quantity-(r.allocation_quantity||0);this.products.push(this.fb.group({product_id:[r.product_id],sku_id:[r.sku_id],product_name:[r.product_name],order_quantity:[r.order_quantity],allocation_quantity:[r.allocation_quantity],max_quantity:[i],quantity:[i]}))})},()=>{this.loadingService.hideDialog(),this.messageService.error("\u52a0\u8f7d\u8ba2\u5355\u914d\u8d27\u4fe1\u606f\u5931\u8d25")})}removeProduct(t){this.products.length>1?this.products.removeAt(t):this.messageService.info("\u81f3\u5c11\u9700\u8981\u4fdd\u7559\u4e00\u4e2a\u4ea7\u54c1")}submit(){const t=this.form.value;let e=!1;const a=[];if(t.product_list.forEach((i,o)=>{if(i.quantity>0){const s=i.max_quantity||i.order_quantity-(i.allocation_quantity||0);i.quantity>s&&(e=!0,a.push(`${i.product_name}: \u914d\u8d27\u6570\u91cf(${i.quantity})\u4e0d\u80fd\u8d85\u8fc7\u53ef\u914d\u8d27\u6570\u91cf(${s})`)),i.quantity>i.order_quantity&&(e=!0,a.push(`${i.product_name}: \u914d\u8d27\u6570\u91cf(${i.quantity})\u4e0d\u80fd\u8d85\u8fc7\u8ba2\u5355\u6570\u91cf(${i.order_quantity})`))}}),e)return void this.messageService.error(a.join("; "));const r=t.product_list.filter(i=>i.quantity>0).map(i=>({product_id:i.product_id,sku_id:i.sku_id,product_name:i.product_name,order_quantity:i.order_quantity,quantity:i.quantity}));r.length?(this.loadingService.openDialog(),this.allocationService.createAllocation({order_id:this.orderId,shipping_type:t.shipping_type,remark:t.remark,product_list:r}).subscribe(i=>{this.loadingService.hideDialog(),this.messageService.success("\u521b\u5efa\u914d\u8d27\u5355\u6210\u529f");const o=i?.data?.id||i?.data?.allocation_id||i?.allocation_id;this.dialogRef?this.dialogRef.close({action:"created",orderId:this.orderId,allocationId:o}):this.orderId&&this.router.navigate(["/shop/wholesale-order-management/detail",this.orderId])},i=>{this.loadingService.hideDialog();const o=i?.error?.message||i?.message||"\u521b\u5efa\u914d\u8d27\u5355\u5931\u8d25";this.messageService.error(o)})):this.messageService.info("\u8bf7\u81f3\u5c11\u586b\u5199\u4e00\u6761\u914d\u8d27\u6570\u91cf")}};Wl.ctorParameters=()=>[{type:It.gz},{type:It.F0},{type:V.qu},{type:ms},{type:Qe.E},{type:ne.I},{type:void 0,decorators:[{type:m.FiY},{type:m.tBr,args:[St.WI]}]},{type:St.so,decorators:[{type:m.FiY}]}],Wl=(0,j.gn)([(0,m.wA2)({selector:"app-allocation-create",template:'<div class="allocation-create container-fluid" *ngIf="orderId">\n <h2>\n {{ \'allocation_create_title\' | translate }}\n <span *ngIf="header.orderNumber"> {{ header.orderNumber }}</span>\n <span *ngIf="!header.orderNumber"> #{{ orderId }}</span>\n </h2>\n\n \x3c!-- \u8ba2\u5355 & \u5ba2\u6237\u4fe1\u606f --\x3e\n <div class="header-info" *ngIf="header">\n <div class="row">\n <div class="col-md-6">\n <strong>{{ \'Order-number\' | translate }}:</strong>\n <span>{{ header.orderNumber }}</span>\n </div>\n <div class="col-md-6">\n <strong>{{ \'customer_name\' | translate }}:</strong>\n <span>{{ header.customerName }}</span>\n </div>\n </div>\n <div class="row mt-2">\n <div class="col-md-6">\n <strong>{{ \'Order-Date\' | translate }}:</strong>\n <span>{{ header.createdAt }}</span>\n </div>\n </div>\n </div>\n\n <form [formGroup]="form">\n <div class="form-group">\n <label>{{ \'remark\' | translate }}</label>\n <textarea class="form-control" formControlName="remark" rows="2"></textarea>\n </div>\n\n <table class="table table-bordered" formArrayName="product_list">\n <thead>\n <tr>\n <th>{{ \'product_name\' | translate }}</th>\n <th>{{ \'order_quantity\' | translate }}</th>\n <th>{{ \'allocation_quantity\' | translate }}</th>\n <th>\u53ef\u914d\u8d27\u6570\u91cf</th>\n <th>{{ \'allocation_quantity_current\' | translate }}</th>\n <th>\u64cd\u4f5c</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor="let ctrl of products.controls; let i = index" [formGroupName]="i">\n <td>{{ ctrl.get(\'product_name\')?.value }}</td>\n <td>{{ ctrl.get(\'order_quantity\')?.value }}</td>\n <td>{{ ctrl.get(\'allocation_quantity\')?.value || 0 }}</td>\n <td>{{ ctrl.get(\'max_quantity\')?.value || 0 }}</td>\n <td>\n <input\n type="number"\n class="form-control"\n formControlName="quantity"\n [min]="0"\n [max]="ctrl.get(\'max_quantity\')?.value"\n [attr.max]="ctrl.get(\'max_quantity\')?.value"\n />\n <small class="text-muted" *ngIf="ctrl.get(\'max_quantity\')?.value">\n \u6700\u5927: {{ ctrl.get(\'max_quantity\')?.value }}\n </small>\n </td>\n <td>\n <button \n mat-icon-button \n color="warn" \n (click)="removeProduct(i)"\n type="button"\n title="\u5220\u9664\u6b64\u4ea7\u54c1"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </form>\n\n <div class="actions">\n <button mat-raised-button color="primary" (click)="submit()">\n {{ \'allocation_create_confirm\' | translate }}\n </button>\n </div>\n</div>\n\n',styles:[".allocation-create h2 {\n margin-bottom: 16px;\n}\n.allocation-create .header-info {\n margin-bottom: 16px;\n font-size: 13px;\n}\n.allocation-create .header-info strong {\n margin-right: 4px;\n}\n.allocation-create table {\n width: 100%;\n margin-top: 16px;\n margin-bottom: 16px;\n}\n.allocation-create .actions {\n display: flex;\n gap: 8px;\n}"]})],Wl);let pu=class{constructor(t,e,a,r,i,o,s,l){this.route=t,this.fb=e,this.allocationService=a,this.loadingService=r,this.messageService=i,this.router=o,this.dialogData=s,this.dialogRef=l,this.header={},this.form=this.fb.group({products:this.fb.array([])})}get products(){return this.form.get("products")}
1ngOnInit(){const t=this.route.snapshot.paramMap.get("id"),a=(this.dialogData&&null!=this.dialogData.allocationId?this.dialogData.allocationId:null)||t;a&&(this.allocationId=Number(a),this.dialogData&&this.dialogData.header&&(this.header={...this.header,...this.dialogData.header},this.orderId=this.dialogData.header.orderId||this.orderId),this.loadDetail())}loadDetail(){this.loadingService.openDialog(),this.allocationService.getAllocationDetail(this.allocationId,1e3).subscribe(t=>{this.loadingService.hideDialog();const e=t?.data||t?.result||t||{};this.orderId=e.order_id||this.orderId,this.header={...this.header,orderNumber:e.order_number||this.header.orderNumber,customerName:e.customer_name||this.header.customerName,recipientName:e.recipient_name||this.header.recipientName,recipientPhone:e.recipient_phone||this.header.recipientPhone,deliveryAddress:e.delivery_address||this.header.deliveryAddress,createdAt:e.created_at||this.header.createdAt};let a=[];if(Array.isArray(e.product_list))a=e.product_list;else if(Array.isArray(e.data))a=e.data;else{const r=t?.products||e.products||t?.data?.products||t?.data||t?.result||null;a=r?r.data||r.list||r.items||r:t?.data||t?.list||[]}Array.isArray(a)||(a=[]),this.products.clear(),a.forEach(r=>{const i=r.product_name||r.product?.product_name||r.skus?.product_name,o=r.product_barcode||r.product?.product_barcode||r.skus?.product_barcode,s=r.order_quantity??r.orderQuantity??0;this.products.push(this.fb.group({product_id:[r.product_id],sku_id:[r.sku_id||r.sku],product_name:[i],product_barcode:[o],order_quantity:[s],quantity:[r.quantity],remaining_number:[r.remaining_number],out_number:[r.out_number],max_quantity:[s]}))})},()=>{this.loadingService.hideDialog(),this.messageService.error("\u52a0\u8f7d\u914d\u8d27\u660e\u7ec6\u5931\u8d25")})}save(){let t=!1;const e=[];if(this.products.value.forEach(r=>{r.quantity>r.order_quantity&&(t=!0,e.push(`${r.product_name}: \u914d\u8d27\u6570\u91cf(${r.quantity})\u4e0d\u80fd\u8d85\u8fc7\u8ba2\u5355\u6570\u91cf(${r.order_quantity})`)),r.quantity<0&&(t=!0,e.push(`${r.product_name}: \u914d\u8d27\u6570\u91cf\u4e0d\u80fd\u4e3a\u8d1f\u6570`))}),t)return void this.messageService.error(e.join("; "));const a=this.products.value.map(r=>({product_id:r.product_id,sku_id:r.sku_id,order_quantity:r.order_quantity,quantity:r.quantity}));this.loadingService.openDialog(),this.allocationService.updateAllocationProducts({allocation_id:this.allocationId,product_list:a}).subscribe(()=>{this.loadingService.hideDialog(),this.messageService.success("\u4fdd\u5b58\u6210\u529f"),this.loadDetail()},r=>{this.loadingService.hideDialog();const i=r?.error?.message||r?.message||"\u4fdd\u5b58\u5931\u8d25";this.messageService.error(i)})}markComplete(){this.loadingService.openDialog(),this.allocationService.updateAllocationStatus(this.allocationId,3).subscribe(()=>{this.loadingService.hideDialog(),this.messageService.success("\u5df2\u6807\u8bb0\u4e3a\u914d\u8d27\u5b8c\u6210"),this.dialogRef?this.dialogRef.close({action:"completed",orderId:this.orderId}):this.orderId&&this.router.navigate(["/shop/wholesale-order-management/detail",this.orderId])},()=>{this.loadingService.hideDialog(),this.messageService.error("\u64cd\u4f5c\u5931\u8d25")})}};pu.ctorParameters=()=>[{type:It.gz},{type:V.qu},{type:ms},{type:Qe.E},{type:ne.I},{type:It.F0},{type:void 0,decorators:[{type:m.FiY},{type:m.tBr,args:[St.WI]}]},{type:St.so,decorators:[{type:m.FiY}]}],pu=(0,j.gn)([(0,m.wA2)({selector:"app-allocation-detail",template:'<div class="allocation-detail container-fluid" *ngIf="allocationId">\n <h2>{{ \'allocation_detail_title\' | translate }}</h2>\n\n \x3c!-- \u5934\u90e8\uff1a\u8ba2\u5355 & \u5ba2\u6237\u4fe1\u606f --\x3e\n <div class="header-info" *ngIf="header">\n <div class="row">\n <div class="col-md-4">\n <strong>{{ \'Order-number\' | translate }}:</strong>\n <span>{{ header.orderNumber }}</span>\n </div>\n <div class="col-md-4">\n <strong>{{ \'customer_name\' | translate }}:</strong>\n <span>{{ header.customerName }}</span>\n </div>\n <div class="col-md-4">\n <strong>{{ \'Order-Date\' | translate }}:</strong>
1\n <span>{{ header.createdAt }}</span>\n </div>\n </div>\n <div class="row mt-2">\n <div class="col-md-4">\n <strong>{{ \'recipient_name\' | translate }}:</strong>\n <span>{{ header.recipientName }}</span>\n </div>\n <div class="col-md-4">\n <strong>{{ \'recipient_phone\' | translate }}:</strong>\n <span>{{ header.recipientPhone }}</span>\n </div>\n <div class="col-md-4">\n <strong>{{ \'delivery_address\' | translate }}:</strong>\n <span>{{ header.deliveryAddress }}</span>\n </div>\n </div>\n </div>\n\n <form [formGroup]="form">\n <table class="table table-bordered" *ngIf="products.controls.length">\n <thead>\n <tr>\n <th>{{ \'BarCode-Product\' | translate }}</th>\n <th>{{ \'product_name\' | translate }}</th>\n <th>{{ \'order_quantity\' | translate }}</th>\n <th>{{ \'allocated_quantity\' | translate }}</th>\n <th>{{ \'remaining_quantity\' | translate }}</th>\n <th>{{ \'out_quantity\' | translate }}</th>\n </tr>\n </thead>\n <tbody formArrayName="products">\n <tr *ngFor="let ctrl of products.controls; let i = index" [formGroupName]="i">\n <td>{{ ctrl.get(\'product_barcode\')?.value }}</td>\n <td>{{ ctrl.get(\'product_name\')?.value }}</td>\n <td>{{ ctrl.get(\'order_quantity\')?.value }}</td>\n <td>\n <input\n type="number"\n class="form-control"\n formControlName="quantity"\n [min]="0"\n [max]="ctrl.get(\'max_quantity\')?.value || ctrl.get(\'order_quantity\')?.value"\n [attr.max]="ctrl.get(\'max_quantity\')?.value || ctrl.get(\'order_quantity\')?.value"\n />\n <small class="text-muted" *ngIf="ctrl.get(\'order_quantity\')?.value">\n \u6700\u5927: {{ ctrl.get(\'order_quantity\')?.value }}\n </small>\n </td>\n <td>{{ ctrl.get(\'remaining_number\')?.value }}</td>\n <td>{{ ctrl.get(\'out_number\')?.value }}</td>\n </tr>\n </tbody>\n </table>\n </form>\n\n <div class="actions">\n <button mat-raised-button color="primary" (click)="save()">\n {{ \'common_save\' | translate }}\n </button>\n <button mat-button color="accent" (click)="markComplete()">\n {{ \'allocation_mark_complete\' | translate }}\n </button>\n </div>\n</div>\n\n',styles:[".allocation-detail h2 {\n margin-bottom: 16px;\n}\n.allocation-detail .header-info {\n margin-bottom: 16px;\n font-size: 13px;\n}\n.allocation-detail .header-info strong {\n margin-right: 4px;\n}\n.allocation-detail table {\n width: 100%;\n margin-bottom: 16px;\n}\n.allocation-detail .actions {\n display: flex;\n gap: 8px;\n}"]})],pu);let Bm=class{constructor(t,e,a,r,i,o){this.data=t,this.dialogRef=e,this.fb=a,this.allocationService=r,this.loadingService=i,this.messageService=o,this.mode="create",this.header={},this.form=this.fb.group({remark:[""],recipient_name:[""],recipient_phone:[""],delivery_address:[""],tracking_number:[""],products:this.fb.array([])})}get products(){return this.form.get("products")}ngOnInit(){if(this.mode=this.data.mode,this.allocationId=this.data.allocationId,this.stockOutId=this.data.stockOutId,this.orderId=this.data.orderId,this.chainId=this.data.chainId||localStorage.getItem("chain_id")||localStorage.getItem("chainInit")||"",this.header={...this.header,...this.data.header||{}},"create"===this.mode&&this.data.allocationRecord){const t=this.data.allocationRecord,e=Array.isArray(t.products)?t.products:[];return this.initProductsFromArray(e),this.header.allocationNo=t.order_number||t.allocation_no||this.header.allocationNo,this.header.orderNumber=t.order_no||t.order_number||this.header.orderNumber,this.header.customerName=t.customer?.company_name||t.customer?.first_name||t.customer_name||this.header.customerName,void(this.header.createdAt=t.created_at||this.header.createdAt)}"create"===this.mode?this.loadFromAllocation():this.loadFromStockOut()}initProductsFromArray(t){this.products.clear(),Array.isArray(t)&&t.forEach(e
1=>{const a=e.product_name||e.product?.product_name||e.skus?.product_name,r=e.product_barcode||e.product?.product_barcode||e.skus?.product_barcode,i=e.inventory_quantity??e.product?.product_quantity??e.skus?.product_quantity,o=e.quantity??e.allocated_quantity??0,s=e.order_quantity??0,l=e.out_number??0;this.products.push(this.fb.group({product_id:[e.product_id],product_name:[a],product_barcode:[r],inventory_quantity:[i],allocated_quantity:[o],order_quantity:[s],out_quantity:[l],current_out_quantity:[e.current_out_quantity||0]}))})}loadFromAllocation(){this.loadingService.openDialog(),this.allocationService.getAllocationDetail(this.allocationId,1e3).subscribe(t=>{this.loadingService.hideDialog();const e=t?.data||t?.result||t||{};this.header.orderNumber=e.order?.order_number||e.order_no||e.order_number||this.header.orderNumber,this.header.customerName=e.customer?.company_name||e.customer?.first_name||e.customer_name||this.header.customerName,this.header.createdAt=e.created_at||e.order?.created_at||this.header.createdAt,this.header.allocationNo=e.order_number_allocation||e.allocation_no||this.header.allocationNo;let a=[];if(Array.isArray(e.product_list))a=e.product_list;else if(Array.isArray(e.data))a=e.data;else{const r=t?.products||e.products||t?.data?.products||t?.data||t?.result||null;a=r?r.data||r.list||r.items||r:t?.data||t?.list||[]}Array.isArray(a)||(a=[]),this.products.clear(),a.forEach(r=>{const i=r.product_name||r.product?.product_name||r.skus?.product_name,o=r.product_barcode||r.product?.product_barcode||r.skus?.product_barcode,s=r.inventory_quantity??r.product?.product_quantity??r.skus?.product_quantity,l=r.quantity??r.allocated_quantity??0,c=r.order_quantity??0,d=r.out_number??0;this.products.push(this.fb.group({product_id:[r.product_id],product_name:[i],product_barcode:[o],inventory_quantity:[s],allocated_quantity:[l],order_quantity:[c],out_quantity:[d],current_out_quantity:[r.current_out_quantity??0]}))})},()=>{this.loadingService.hideDialog(),this.messageService.error("\u52a0\u8f7d\u914d\u8d27\u660e\u7ec6\u5931\u8d25")})}loadFromStockOut(){this.stockOutId?(this.loadingService.openDialog(),this.allocationService.getStockOutDetail({invoice_id:this.stockOutId}).subscribe(t=>{this.loadingService.hideDialog();const e=t?.data||t||{};this.header={allocationNo:e.allocation_no||e.allocation?.order_number||this.header.allocationNo,orderNumber:e.order_no||e.order_number||e.order?.order_number||this.header.orderNumber,customerName:e.customer?.company_name||e.customer?.first_name||this.header.customerName,createdAt:e.created_at||e.order?.created_at||this.header.createdAt,statusText:e.status_text||this.header.statusText};const a=e.products||e.items||e.product_list||e.data||[];this.products.clear(),(a||[]).forEach(r=>{const i=r.allocation||{},o=i.quantity??r.quantity??r.allocated_quantity??0,s=i.order_quantity??r.order_quantity??0,l=i.out_number??r.out_number??r.out_quantity??0,c=i.product_barcode||r.product_barcode||r.sku_barcode,d=r.sku_quantity??r.product_quantity??r.inventory_quantity;this.products.push(this.fb.group({product_id:[r.product_id],product_name:[r.product_name],product_barcode:[c],inventory_quantity:[d],allocated_quantity:[o],order_quantity:[s],out_quantity:[l],current_out_quantity:[r.current_out_quantity??l]}))})},()=>{this.loadingService.hideDialog(),this.messageService.error("\u52a0\u8f7d\u51fa\u5e93\u5355\u8be6\u60c5\u5931\u8d25")})):this.loadFromAllocation()}save(){if("edit"===this.mode&&this.stockOutId){const i=this.products.value.map(o=>({product_id:o.product_id,quantity:Number(o.current_out_quantity)||0}));return this.loadingService.openDialog(),void this.allocationService.updateStockOutInventory({stock_out_id:this.stockOutId,remark:this.form.value.remark,product_list:i}).subscribe(()=>{this.loadingService.hideDialog(),this.messageService.success("\u51fa\u5e93\u5355\u5df2\u66f4\u65b0"),this.dialogRef.close({action:"updatedStockOut",orderId:this.orderId})},()=>{this.loadingService.hideDialog(),this.messageService.error("\u66f4\u65b0\u51fa\u5e93\u5355\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5")})}const t=new Date,e=t.getFullYear()+"-"+String(t.getMonth()+1).padStart(2,"0")+"-"+String(t.getDate()).padStart(2,"0")+" "+String(t.getHours()).padStart(2,"0")+":"+String(t.getMinutes()).padStart(2,"0")+":"+String(t.getSeconds()).padStart(2,"0"),a=(this.products.value||[]).map(i=>({product_id:i.product_id,quantity:Number(i.allocated_quantity)||0})).filter(i=>i.quantity>0);this.loadingService.openDialog();const r=this.form.value||{};this.allocationService.createInventoryAndShippingOrder({allocation_id:this.allocationId,operate_time:e,remark:r.remark,chain_id:this.chainId,product_list:a,recipient_name:r.recipient_name,recipient_phone:r.recipient_phone,delivery_address:r.delivery_address,tracking_number:r.tracking_number}).subscribe(()=>{this.loadingService.hideDialog(),this.messageService.success("\u51fa\u5e93\u5355\u521b\u5efa\u6210\u529f"),this.dialogRef.close({action:"createdStockOut",orderId:this.orderId})},()=>{this.loadingService.hideDialog(),this.messageService.error("\u51fa\u5e93\u5355\u521b\u5efa\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u9
11cd\u8bd5")})}close(){this.dialogRef.close()}};Bm.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]},{type:St.so},{type:V.qu},{type:ms},{type:Qe.E},{type:ne.I}],Bm=(0,j.gn)([(0,m.wA2)({selector:"app-stock-out-from-allocation",template:'<div class="stock-out-dialog container-fluid">\n \x3c!-- \u5934\u90e8\uff1a\u5907\u6ce8 + \u4fdd\u5b58/\u53d6\u6d88 --\x3e\n <div class="dialog-header d-flex justify-content-between align-items-center mb-3">\n <h3 class="mb-0">\n {{ mode === \'create\' ? (\'\u521b\u5efa\u51fa\u5e93\u5355\' | translate) : (\'\u7f16\u8f91\u51fa\u5e93\u5355\' | translate) }}\n </h3>\n <div>\n <button mat-raised-button color="primary" (click)="save()">\n {{ mode === \'create\' ? \'\u51fa\u5e93\' : (\'common_save\' | translate) }}\n </button>\n </div>\n </div>\n\n <form [formGroup]="form">\n \x3c!-- \u5907\u6ce8 --\x3e\n <div class="form-group">\n <label>{{ \'remark\' | translate }}</label>\n <textarea class="form-control" formControlName="remark" rows="2"></textarea>\n </div>\n\n \x3c!-- \u8fd0\u8f93 / \u6536\u8d27\u4fe1\u606f\uff08\u9002\u914d\u65b0\u63a5\u53e3\uff09 --\x3e\n <div class="row">\n <div class="col-md-4">\n <div class="form-group">\n <label>\u6536\u8d27\u4eba\u59d3\u540d</label>\n <input class="form-control" formControlName="recipient_name" />\n </div>\n </div>\n <div class="col-md-4">\n <div class="form-group">\n <label>\u6536\u8d27\u4eba\u7535\u8bdd</label>\n <input class="form-control" formControlName="recipient_phone" />\n </div>\n </div>\n <div class="col-md-4">\n <div class="form-group">\n <label>\u8fd0\u5355\u53f7</label>\n <input class="form-control" formControlName="tracking_number" />\n </div>\n </div>\n </div>\n <div class="form-group">\n <label>\u6536\u8d27\u5730\u5740</label>\n <input class="form-control" formControlName="delivery_address" />\n </div>\n\n \x3c!-- \u914d\u8d27\u5355\u4fe1\u606f --\x3e\n <div class="allocation-info mb-3">\n <div class="row">\n <div class="col-md-4">\n <strong>\u914d\u8d27\u5355\u53f7:</strong>\n <span>{{ header.allocationNo }}</span>\n </div>\n <div class="col-md-4">\n <strong>{{ \'Order-number\' | translate }}:</strong>\n <span>{{ header.orderNumber }}</span>\n </div>\n <div class="col-md-4">\n <strong>{{ \'Order-Date\' | translate }}:</strong>\n <span>{{ header.createdAt }}</span>\n </div>\n </div>\n <div class="row mt-2">\n <div class="col-md-4">\n <strong>{{ \'customer_name\' | translate }}:</strong>\n <span>{{ header.customerName }}</span>\n </div>\n <div class="col-md-4">\n <strong>{{ \'Order-Status\' | translate }}:</strong>\n <span>{{ header.statusText }}</span>\n </div>\n </div>\n </div>\n\n \x3c!-- \u5546\u54c1\u5217\u8868 --\x3e\n <div class="table-responsive">\n <table class="table table-bordered table-sm" *ngIf="products.controls.length">\n <thead>\n <tr>\n <th>{{ \'product_name\' | translate }}</th>\n <th>{{ \'product_barcode\' | translate }}</th>\n <th>\u5e93\u5b58\u6570\u91cf</th>\n <th>\u5df2\u914d\u8d27\u6570\u91cf</th>\n <th>{{ \'order_quantity\' | translate }}</th>\n <th>\u5df2\u51fa\u5e93\u6570\u91cf</th>\n <th>\u672c\u6b21\u51fa\u5e93\u6570\u91cf</th>\n </tr>\n </thead>\n <tbody formArrayName="products">\n <tr *ngFor="let ctrl of products.controls; let i = index" [formGroupName]="i">\n <td>{{ ctrl.get(\'product_name\')?.value }}</td>\n <td>{{ ctrl.get(\'product_barcode\')?.value }}</td>\n <td>{{ ctrl.get(\'inventory_quantity\')?.value }}</td>\n <td>{{ ctrl.get(\'allocated_quantity\')?.value }}</td>\n <td>{{ ctrl.get(\'order_quantity\')?.value }}</td>\n <td>{{ ctrl.get(\'out_quantity\')?.value }}</td>\n <td>\n <input\n type="number"\n class="form-control"\n formControlName="current_out_quantity"\n [min]="0"\n />\n </td>\n </tr>\n </tbody>\n </table>\n\n <div class="p-3 text-center" *ngIf="!products.controls.length">\n {{ \'no_data_available\' | translate }}\n </div>\n </div>\n </form>\n</div>\n\n',styles:[".stock-out-dialog .dialog-header {\n border-bottom: 1px solid #eee;\n padding-bottom: 8px;\n}\n.stock-out-dialog .allocation-info {\n font-size: 13px;\n}\n.stock-out-dialog .allocation-info strong {\n margin-right: 4px;\n}\n.stock-out-dialog table {\n font-size: 12px;\n}"]})],Bm);let jm=class{constructor(t,e,a,r,i,o,s,l,c,d,u){this.orderService=t,this.currentStoreService=e,this.loadingService=a,this.messageService=r,this.dialogService=i,this.translate=o,this.router=s,this.fb=l,this.cdr=c,this.allocationService=d,this.dialog=u,this.subscriptions=[],this.currentStoreId=null,this.statusTabs=[{key:"pending_review",label:"\u5f85\u5ba1\u6838",translateKey:"wholesale_order_pending_review",count:0,b2bStatus:1},{key:"pending_stock",label:"\u5f85\u914d\u8d27",translateKey:"wholesale_order_pending_allocation",count:0,b2bStatus:3},{key:"stocked",label:"\u5df2\u914d\u8d27",translateKey:"wholesale_order_stocked",count:0,b2bStatus:12},{key:"in_transit",label:"\u8fd0\u8f93\u4e2d",translateKey:"wholesale_order_in_transit",count:0,b2bStatus:7},{key:"received",label:"\u5df2\u6536\u8d27",translateKey:"wholesale_order_received",count:0,b2bStatus:5},{key:"completed",label:"\u5df2\u5b8c\u6210",translateKey:"wholesale_order_completed",count:0,b2bStatus:4},{key:"terminated",label:"\u7ec8\u6b62",translateKey:"wholesale_order_terminated",count:0,b2bStatus:6,isSpecial:!0},{key:"returned",label:"\u9000\u8d27",translateKey:"wholesale_order_returning",count:0,b2bStatus:10,isSpecial:!0}],this.selectedStatus="pending_review",this.allOrders=[],this.filteredOrders=[],this.filterExpanded=!0,this.displayedColumns=["order_date","order_number","customer_name","status","product_quantity","total_ex_tax","tax_amount","total_inc_tax","payment_method","paid_amount","unpaid_amount","invoice_count","invoice_total_amount","delivery_method","salesperson","reviewer","order_account","source","remark","actions"],this.dataSource=new $e.by([]),this.selection=new ll.Ov(!1,[]),this.pageInfo={total:0,page:1,pageSize:10},this.deliveryMethods=[{value:"merchant_delivery",label:"\u5546\u5bb6\u914d\u9001"},{value:"logistics_delivery",label:"\u7269\u6d41\u914d\u9001"},{value:"self_pickup",label:"\u4e70\u5bb6\u81ea\u63d0"}],this.invoiceStatuses=[{value:"pending",label:"\u5f85\u5f00\u7968"},{value:"issued",label:"\u5df2\u5f00\u7968"},{value:"cancelled",label:"\u5df2\u53d6\u6d88"}],this.paymentMethods=[],this.customers=[],this.salespersons=[],this.reviewers=[],this.filterForm=this.fb.group({delivery_method:[""],customer_name:[""],payment_method_id:[""],invoice_status:[""],salesperson_id:[""],reviewer_id:[""]})}trackByOrderId(t,e){return e.id||e.order_id||e.orderId||t}
1ngOnInit(){const t=this.currentStoreService.getCurrentStore();t&&(this.currentStoreId=t.id);const e=this.currentStoreService.storeChanged$.pipe((0,Ja.h)(a=>null!==a),(0,Qb.x)((a,r)=>a?.id===r?.id)).subscribe(a=>{a&&String(a.id)!==String(this.currentStoreId)&&(console.log("\u95e8\u5e97\u5207\u6362\uff0c\u4ece",this.currentStoreId,"\u5207\u6362\u5230",a.id),this.currentStoreId=a.id,this.selectedStatus="pending_review",this.selection.clear(),this.pageInfo.page=1,this.loadOrderQuantity(),this.loadOrders())});this.subscriptions.push(e),this.loadOrderQuantity(),this.loadOrders(),this.loadPaymentMethods(),this.loadCustomers(),this.loadSalespersons(),this.loadReviewers()}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}ngAfterViewInit(){this.dataSource.sort=this.sort}loadOrders(){this.loadingService.openDialog();let t="";try{const i=this.currentStoreService.getCurrentStore();if(i)t=String(i.chain_id||i.id||"");else{const o=localStorage.getItem("store_id");t=localStorage.getItem("chain_id")||o||""}t||console.warn("\u65e0\u6cd5\u83b7\u53d6\u95e8\u5e97 chain_id\uff0c\u8ba2\u5355\u5217\u8868\u53ef\u80fd\u4e3a\u7a7a")}catch(i){console.warn("\u83b7\u53d6\u5f53\u524d\u95e8\u5e97\u5931\u8d25:",i);const o=localStorage.getItem("store_id");t=localStorage.getItem("chain_id")||o||""}const a=this.statusTabs.find(i=>i.key===this.selectedStatus)?.b2bStatus,r={page:this.pageInfo.page,pageSize:this.pageInfo.pageSize,source:"B2B",chain_id:t,category_id:"",cashier_id:"",payment_method_id:this.filterForm.value.payment_method_id||""};null!=a&&(r.B2B_status=a),this.orderService.filtreOrders(r).subscribe(i=>{console.log("\u8ba2\u5355API\u8fd4\u56de\u6570\u636e:",i),i&&i.data&&Array.isArray(i.data)?(this.allOrders=i.data.map(o=>this.mapOrderData(o)),console.log("\u6620\u5c04\u540e\u7684\u8ba2\u5355\u6570\u636e:",this.allOrders),console.log("\u8ba2\u5355\u72b6\u6001\u5217\u8868:",this.allOrders.map(o=>o.status)),this.pageInfo.total=i.total||0,this.applyFilters(),console.log("\u7b5b\u9009\u540e\u7684\u8ba2\u5355\u6570\u91cf:",this.filteredOrders.length)):(console.warn("API\u8fd4\u56de\u6570\u636e\u683c\u5f0f\u4e0d\u6b63\u786e:",i),this.allOrders=[],this.filteredOrders=[],this.dataSource.data=[],this.pageInfo.total=0),this.loadingService.hideDialog()},i=>{console.error("\u83b7\u53d6\u8ba2\u5355\u5217\u8868\u5931\u8d25:",i),this.loadingService.hideDialog(),this.messageService.error("\u83b7\u53d6\u8ba2\u5355\u5217\u8868\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5"),this.allOrders=[],this.filteredOrders=[],this.dataSource.data=[],this.pageInfo.total=0})}mapOrderData(t){let e=t.process_status||t.status||t.order_status||t.orderStatus||"pending_review";return e&&"string"==typeof e&&(e=e.toLowerCase().trim(),e={pending:"pending_review",review:"pending_review","pending review":"pending_review",pending_confirmation:"pending_review","pending confirmation":"pending_review",\u5f85\u786e\u8ba4:"pending_review",\u5f85\u5ba1\u6838:"pending_review",stock:"pending_stock","pending stock":"pending_stock",pending_allocation:"pending_stock","pending allocation":"pending_stock",\u5f85\u914d\u8d27:"pending_stock",stocked:"stocked",\u5df2\u914d\u8d27:"stocked",transit:"in_transit","in transit":"in_transit",\u8fd0\u8f93\u4e2d:"in_transit",received:"received",\u5df2\u6536\u8d27:"received",completed:"completed",\u5df2\u5b8c\u6210:"completed",terminated:"terminated",\u7ec8\u6b62:"terminated",returned:"returned",return:"returned",\u9000\u8d27:"returned"}[e]||e),{...t,order_date:t.payment_date||t.created_at||t.order_date||t.paymentDate,customer_name:t.customer?.company_name||t.customer_name||t.customer?.name||"",status:e,process_status:e,product_quantity:t.product_quantity||t.items?.length||t.products?.length||0,total_ex_tax:t.total_ex_tax||t.total_amount||t.totalAmount||0,tax_amount:t.tax_amount||t.taxAmount||0,total_inc_tax:t.total_inc_tax||(t.total_ex_tax||t.total_amount||0)+(t.tax_amount||0),payment_method:t.payment_method?.name||t.payment_method||t.paymentMethod?.name||"",paid_amount:t.paid_amount||t.order_payment_amount||t.paidAmount||0,unpaid_amount:t.unpaid_amount||t.unpaidAmount||0,invoice_count:t.invoice_count||t.invoices?.length||0,invoice_total_amount:t.invoice_total_amount||t.invoiceTotalAmount||0,delivery_method:t.delivery_method||t.shipping_method||t.deliveryMethod||"",salesperson:t.salesperson?.name||t.salesperson||t.salesPerson?.name||"",reviewer:t.reviewer?.name||t.reviewer||t.reviewerName||"",order_account:t.order_account||t.account||t.orderAccount||"",source:t.source||"B2B",remark:t.remark||t.notes||t.note||""}}loadOrderQuantity(){try{let t=null,e=null;const a=this.currentStoreService.getCurrentStore();if(a)t=a.chain_id||a.id,e=a.id;else{const r=localStorage.getItem("store_id");t=localStorage.getItem("chain_id")||r,e=r}if(!t)return void console.warn("\u5f53\u524d\u95e8\u5e97\u4e0d\u5b58\u5728\u6216 chain_id \u4e0d\u5b58\u5728\uff0c\u65e0\u6cd5\u52a0\u8f7d\u8ba2\u5355\u6570\u91cf\u7edf\u8ba1");this.orderService.getB2BOrdersQuantity(t,e).subscribe(r=>{console.log("\u8ba2\u5355\u6570\u91cf\u7edf\u8ba1\u8fd4\u56de:",r),r&&r.data&&this.statusTabs.forEac
1h(i=>{if(null!==i.b2bStatus&&void 0!==i.b2bStatus){const o=`status_${i.b2bStatus}`,s=`count_${i.b2bStatus}`,l=`B2B_status_${i.b2bStatus}`;i.count=r.data[o]||r.data[s]||r.data[l]||r.data[i.b2bStatus]||0}})},r=>{console.error("\u83b7\u53d6\u8ba2\u5355\u6570\u91cf\u7edf\u8ba1\u5931\u8d25:",r),this.updateStatusCounts()})}catch(t){console.error("\u52a0\u8f7d\u8ba2\u5355\u6570\u91cf\u7edf\u8ba1\u51fa\u9519:",t),this.updateStatusCounts()}}updateStatusCounts(){this.statusTabs.forEach(t=>{t.count=this.allOrders.filter(e=>(e.process_status||e.status||"").toLowerCase().trim()===t.key.toLowerCase().trim()).length})}applyFilters(){let t=[...this.allOrders];if(this.filterForm.value.delivery_method&&(t=t.filter(e=>e.delivery_method===this.filterForm.value.delivery_method)),this.filterForm.value.customer_name){const e=this.filterForm.value.customer_name.toLowerCase();t=t.filter(a=>a.customer_name.toLowerCase().includes(e))}this.filterForm.value.payment_method_id&&(t=t.filter(e=>e.payment_method_id===this.filterForm.value.payment_method_id)),this.filterForm.value.invoice_status&&(t=t.filter(e=>e.invoice_status===this.filterForm.value.invoice_status)),this.filterForm.value.salesperson_id&&(t=t.filter(e=>e.salesperson_id===this.filterForm.value.salesperson_id)),this.filterForm.value.reviewer_id&&(t=t.filter(e=>e.reviewer_id===this.filterForm.value.reviewer_id)),this.filteredOrders=t,this.dataSource.data=t,this.restoreSelection()}restoreSelection(){const t=this.selection.selected;if(0===t.length)return;const e=t[0],a=e.id||e.order_id||e.orderId;if(!a)return void this.selection.clear();this.selection.clear();const r=this.dataSource.data.find(i=>{const o=i.id||i.order_id||i.orderId;return o&&String(o)===String(a)});r?(this.selection.select(r),console.log("\u6062\u590d\u9009\u62e9\u72b6\u6001:",r.id)):console.warn("\u65e0\u6cd5\u5728\u65b0\u6570\u636e\u4e2d\u627e\u5230\u5df2\u9009\u4e2d\u7684\u8ba2\u5355\uff0cID:",a)}onStatusChange(t){this.selectedStatus=t,this.selection.clear(),this.pageInfo.page=1,this.loadOrders()}onSearch(){this.pageInfo.page=1,this.loadOrders(),this.loadOrderQuantity()}onReset(){this.filterForm.reset({delivery_method:"",customer_name:"",payment_method_id:"",invoice_status:"",salesperson_id:"",reviewer_id:""}),this.selectedStatus="pending_review",this.selection.clear(),this.pageInfo.page=1,this.loadOrders(),this.loadOrderQuantity()}isOrderSelectable(t){if(!t)return!1;const e=t.process_status||t.status||t.order_status||t.orderStatus||"",a=this.normalizeOrderStatus(e);return"pending_review"===this.selectedStatus?"pending_review"===a:"pending_stock"===this.selectedStatus&&"pending_stock"===a}isOrderSelected(t){if(!t)return!1;const e=t.id||t.order_id||t.orderId;if(!e)return!1;const a=this.selection.selected;if(0===a.length)return!1;const r=a[0],i=r.id||r.order_id||r.orderId;return i&&e&&String(i)===String(e)}onRowClick(t,e){if(e.target.closest("button")||e.target.closest("a")||"BUTTON"===e.target.tagName||"A"===e.target.tagName)return;const a=t.process_status||t.status||t.order_status||t.orderStatus||"",r=this.normalizeOrderStatus(a);"pending_review"===this.selectedStatus&&"pending_review"!==r||"pending_stock"===this.selectedStatus&&"pending_stock"!==r||this.toggleOrderSelection(t)}normalizeOrderStatus(t){if(!t)return"";const e=t.toLowerCase().trim();return"pending_confirmation"===e||"pending confirmation"===e?"pending_review":e}toggleOrderSelection(t){const e=t.process_status||t.status||t.order_status||t.orderStatus||"",a=this.normalizeOrderStatus(e);if("pending_review"!==this.selectedStatus||"pending_review"===a)if("pending_stock"!==this.selectedStatus||"pending_stock"===a){if(this.isOrderSelected(t)){this.selection.clear(),console.log("\u274c \u53d6\u6d88\u9009\u62e9\u8ba2\u5355:",t.id);const r=[...this.dataSource.data];this.dataSource.data=[],setTimeout(()=>{this.dataSource.data=r,this.cdr.detectChanges()},0)}else{this.selection.clear(),this.selection.select(t),console.log("\u2705 \u9009\u4e2d\u8ba2\u5355:",t.id,"\u8ba2\u5355\u53f7:",t.order_number||t.orderNumber),console.log("\u9009\u4e2d\u540e\u7684selection\u5bf9\u8c61:",this.selection.selected),console.log("\u9009\u4e2d\u540e\u7684isOrderSelected\u7ed3\u679c:",this.isOrderSelected(t));const r=[...this.dataSource.data];this.dataSource.data=[],setTimeout(()=>{this.dataSource.data=r,this.cdr.detectChanges()},0)}this.cdr.markForCheck(),this.cdr.detectChanges()}else console.warn("\u8ba2\u5355\u72b6\u6001\u4e0d\u662f\u5f85\u914d\u8d27\uff0c\u65e0\u6cd5\u9009\u62e9:",e,"\u
16807\u51c6\u5316\u540e:",a);else console.warn("\u8ba2\u5355\u72b6\u6001\u4e0d\u662f\u5f85\u5ba1\u6838\uff0c\u65e0\u6cd5\u9009\u62e9:",e,"\u6807\u51c6\u5316\u540e:",a)}selectOrder(t,e){e&&e.stopPropagation();const a=t.process_status||t.status||t.order_status||t.orderStatus||"",r=this.normalizeOrderStatus(a);"pending_review"===this.selectedStatus&&"pending_review"!==r||"pending_stock"===this.selectedStatus&&"pending_stock"!==r||(this.isOrderSelected(t)?(this.selection.clear(),this.dataSource.data=[...this.dataSource.data]):(this.selection.clear(),this.selection.select(t),this.dataSource.data=[...this.dataSource.data]),this.cdr.markForCheck(),this.cdr.detectChanges())}isSelectedOrderPendingReview(){const t=this.selection.selected;if(0===t.length||1!==t.length)return!1;const e=t[0],a=e.process_status||e.status||e.order_status||e.orderStatus||"";return"pending_review"===this.normalizeOrderStatus(a)}batchApprove(){const t=this.selection.selected;if(0===t.length)return void this.messageService.info("\u8bf7\u9009\u62e9\u8981\u64cd\u4f5c\u7684\u8ba2\u5355");if(!this.isSelectedOrderPendingReview())return this.messageService.info("\u53ea\u80fd\u5ba1\u6279\u5f85\u5ba1\u6279\u72b6\u6001\u7684\u8ba2\u5355"),void this.selection.clear();const e=t[0];this.dialogService.confirmDialog({title:this.translate.instant("confirm"),message:this.translate.instant("confirm_approve_order"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&this.approveOrder(e)})}batchReject(){const t=this.selection.selected;if(0===t.length)return void this.messageService.info("\u8bf7\u9009\u62e9\u8981\u64cd\u4f5c\u7684\u8ba2\u5355");if(!this.isSelectedOrderPendingReview())return this.messageService.info("\u53ea\u80fd\u62d2\u7edd\u5f85\u5ba1\u6279\u72b6\u6001\u7684\u8ba2\u5355"),void this.selection.clear();const e=t[0];this.dialogService.confirmDialog({title:this.translate.instant("confirm"),message:this.translate.instant("confirm_reject_order"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&this.rejectOrder(e)})}batchNextStep(){const t=this.selection.selected;if(0===t.length)return void this.messageService.info("\u8bf7\u9009\u62e9\u8981\u64cd\u4f5c\u7684\u8ba2\u5355");const e=t[0];"pending_stock"!==this.selectedStatus?"stocked"!==this.selectedStatus?this.messageService.info("\u5f53\u524d\u72b6\u6001\u7684\u4e0b\u4e00\u6b65\u529f\u80fd\u5f85\u5b9e\u73b0"):this.handleStockedNext(e):this.handleAllocation(e)}handleStockedNext(t){const e=t.id||t.order_id||t.orderId;if(!e)return void this.messageService.error("\u8ba2\u5355\u7f3a\u5c11ID\uff0c\u65e0\u6cd5\u6267\u884c\u4e0b\u4e00\u6b65");const a=t.delivery_method||t.deliveryType||t.delivery_type||"",r=String(a).toLowerCase(),i="self_pickup"===r||"pickup"===r||"buyer_pickup"===r;this.loadingService.openDialog(),this.allocationService.getAllocationList({page:1,pageSize:20,order_id:Number(e)}).subscribe(o=>{const s=o?.data??o?.list??o;let l=[];Array.isArray(s)?l=s:s&&Array.isArray(s.data)?l=s.data:s&&Array.isArray(s.list)&&(l=s.list);const c=l.filter(f=>"3"===String(f.status));if(!c.length)return this.loadingService.hideDialog(),void this.messageService.info("\u5f53\u524d\u8ba2\u5355\u6682\u65e0\u5df2\u914d\u8d27\u7684\u914d\u8d27\u5355");const d=c[0],u=d.id||d.allocation_id;if(!u)return this.loadingService.hideDialog(),void this.messageService.error("\u672a\u627e\u5230\u6709\u6548\u7684\u914d\u8d27\u5355ID");const h=t.chain_id||t.chainId||t.store_id||t.storeId;this.allocationService.getStockOutList({allocation_id:Number(u),chain_id:h}).subscribe(f=>{const v=f?.data??f?.list??f;let A=[];Array.isArray(v)?A=v:v&&Array.isArray(v.data)?A=v.data:v&&Array.isArray(v.list)&&(A=v.list);const b=A.length>0;this.loadingService.hideDialog(),this.dialog.open(Bm,{width:"960px",maxWidth:"95vw",data:{mode:b?"edit":"create",allocationId:Number(u),stockOutId:b?A[0].id||A[0].stock_out_id:void 0,orderId:Number(e),chainId:h,allocationRecord:d,header:{allocationNo:d.allocation_no||d.order_number||d.order_no,orderNumber:d.order?.order_number||t.order_number,createdAt:d.order?.created_at||t.created_at,
1statusText:i?"\u81ea\u63d0-\u5df2\u914d\u8d27":"\u5df2\u914d\u8d27"}}}).afterClosed().subscribe(S=>{S&&S.orderId&&this.router.navigate(["/shop/wholesale-order-management/detail",S.orderId])})},f=>{console.error("\u68c0\u67e5\u51fa\u5e93\u5355\u5931\u8d25:",f),this.loadingService.hideDialog(),this.messageService.error("\u68c0\u67e5\u51fa\u5e93\u5355\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5")})},o=>{console.error("\u83b7\u53d6\u914d\u8d27\u5355\u5217\u8868\u5931\u8d25:",o),this.loadingService.hideDialog(),this.messageService.error("\u83b7\u53d6\u914d\u8d27\u5355\u5217\u8868\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5")})}batchInvalidate(){const t=this.selection.selected;if(0===t.length)return void this.messageService.info("\u8bf7\u9009\u62e9\u8981\u64cd\u4f5c\u7684\u8ba2\u5355");t[0];this.dialogService.confirmDialog({title:this.translate.instant("confirm"),message:this.translate.instant("confirm_invalidate_order"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(a=>{a&&(this.loadingService.openDialog(),this.loadingService.hideDialog(),this.messageService.info("\u4f5c\u5e9f\u529f\u80fd\u5f85\u5b9e\u73b0"))})}processBatchAction(t,e){let a=0,r=0;t.forEach(i=>{"approve"===e?this.orderService.confirmShopOrder(i).subscribe(o=>{a++,a+r===t.length&&(this.loadingService.hideDialog(),0===r?(this.messageService.success("\u64cd\u4f5c\u6210\u529f"),this.selection.clear(),this.loadOrders()):this.messageService.info(`\u90e8\u5206\u64cd\u4f5c\u5931\u8d25\uff0c\u6210\u529f: ${a}, \u5931\u8d25: ${r}`))},o=>{r++,a+r===t.length&&(this.loadingService.hideDialog(),this.messageService.info(`\u90e8\u5206\u64cd\u4f5c\u5931\u8d25\uff0c\u6210\u529f: ${a}, \u5931\u8d25: ${r}`))}):this.orderService.rejectShopOrder(i).subscribe(o=>{a++,a+r===t.length&&(this.loadingService.hideDialog(),0===r?(this.messageService.success("\u64cd\u4f5c\u6210\u529f"),this.selection.clear(),this.loadOrders()):this.messageService.info(`\u90e8\u5206\u64cd\u4f5c\u5931\u8d25\uff0c\u6210\u529f: ${a}, \u5931\u8d25: ${r}`))},o=>{r++,a+r===t.length&&(this.loadingService.hideDialog(),this.messageService.info(`\u90e8\u5206\u64cd\u4f5c\u5931\u8d25\uff0c\u6210\u529f: ${a}, \u5931\u8d25: ${r}`))})})}approveOrder(t){this.dialogService.confirmDialog({title:this.translate.instant("confirm"),message:this.translate.instant("confirm_approve_order"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(e=>{e&&(this.loadingService.openDialog(),this.orderService.reviewB2BOrderV2(t.id,"passed").subscribe(a=>{this.loadingService.hideDialog(),a&&200===a.code?this.messageService.success(a.msg||"\u64cd\u4f5c\u6210\u529f"):this.messageService.success("\u64cd\u4f5c\u6210\u529f"),this.selection.clear(),this.loadOrders(),this.loadOrderQuantity()},a=>{this.loadingService.hideDialog();const r=a.error?.msg||a.message||"\u64cd\u4f5c\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5";this.messageService.error(r)}))})}rejectOrder(t){this.dialogService.confirmDialog({title:this.translate.instant("confirm"),message:this.translate.instant("confirm_reject_order"),confirmCaption:this.translate.instant("common_confirm"),cancelCaption:this.translate.instant("common_cancel")}).subscribe(e=>{e&&(this.loadingService.openDialog(),this.orderService.reviewB2BOrderV2(t.id,"rejected").subscribe(a=>{this.loadingService.hideDialog(),a&&200===a.code?this.messageService.success(a.msg||"\u64cd\u4f5c\u6210\u529f"):this.messageService.success("\u64cd\u4f5c\u6210\u529f"),this.selection.clear(),this.loadOrders(),this.loadOrderQuantity()},a=>{this.loadingService.hideDialog();const r=a.error?.msg||a.message||"\u64cd\u4f5c\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5";this.messageService.error(r)}))})}viewOrderDetail(t){this.router.navigate([`/shop/wholesale-order-management/detail/${t.id}`])}handleAllocation(t){const e=t.id||t.order_id||t.orderId;e?(this.loadingService.openDialog(),this.allocationService.getAllocationList({page:1,pageSize:20,order_id:Number(e)}).subscribe(a=>{this.loadingService.hideDialog();let r=a?.data??a?.list??a,i=[];if(i=Array.isArray(r)?r:r&&Array.isArray(r.data)?r.data:r&&Array.isArray(r.list)?r.list:[],Array.isArray(i)&&i.length>0)if(1===i.length){const o=i[0],s=o.id||o.allocation_id;if(s){const l={orderId:e,orderNumber:o.order_no||o.order_number,customerName:o.customer?.company_name||o.customer?.first_name,createdAt:o.order?.created_at};this.dialog.open(pu,{width:"960px",maxWidth:"95vw",data:{allocationId:s,header:l}}).afterClosed().subscribe(d=>{d&&(d.orderId?this.router.navigate(["/shop/wholesale-order-management/detail",d.orderId]):(this.loadOrders(),this.loadOrderQuantity()))})}else this.router.navigate(["/shop/allocation/list"],{queryParams:{order_id:e}})}else this.router.navigate(["/shop/allocation/list"],{queryParams:{order_id:e}});else this.dialog.open(Wl,{width:"960px",maxWidth:"95vw",data:{orderId:e}}).afterClosed().subscribe(s=>{s&&(s.orderId?this.router.navigate(["/shop/wholesale-order-management/detail",s.orderId]):(this.loadOrders(),this.loadOrderQuantity()))})},a=>{console.error("\u83b7\u53d6\u914d\u8d27\u5355\u5217\u8868\u5931\u8d25:",a),this.loadingService.hideDialog(),this.dialog.open(Wl,{width:"960px",maxWidth:"95vw",data:{orderId:e}}).afterClosed().subscribe(i=>{i&&(i.orderId?this.router.navigate(["/shop/wholesale-order-management/detail",i.orderId]):(this.loadOrders(),this.loadOrderQuantity()))})})):this.messageService.error("\u8ba2\u5355\u7f3a\u5c11ID\uff0c\u65e0\u6cd5\u8fdb\u884c\u914d\u8d27")}viewCustomerDetail(t){t.customer_id&&this.router.navigate([`/shop/customer/detail/${t.customer_id}`])}loadPaymentMethods(){this.orderService.getPaymentTypesList().subscribe(t=>{t&&t.data&&(this.paymentMethods=Array.isArray(t.data)?t.data:[])},t=>{console.error("\u52a0\u8f7d\u652f\u4ed8\u65b9\u5f0f\u5931\u8d25:",t)})}loadCustomers(){}loadSalespersons(){}loadReviewers(){}onPageChange(t){this.pageInfo.page===t.pageIndex+1&&this.pageInfo.pageSize===t.pageSize||(this.pageInfo.page=t.pageIndex+1,this.pageInfo.pageSize=t.pageSize,this.loadOrders())}toggleFilter(){this.filterExpanded=!this.filterExpanded}};jm.ctorParameters=()=>[{type:bn.C},{type:swt.r},{type:Qe.E},{type:ne.I},{type:Bn.x},{type:Y.sK},{type:It.F0},{type:V.qu},{type:m.sBO},{type:ms},{type:St.uw}],jm.propDecorators={paginator:[{type:m.i9L,args:[Wa.NW]}],sort:[{type:m.i9L,args:[Ma.YE]}]},jm=(0,j.gn)([(0,m.wA2)({selector:"app-wholesale-order-management",template:'<div class="wholesale-order-management container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n\n \x3c!-- \u9875\u9762\u6807\u9898 --\x3e\n <div class="page-header">\n <h2>{{ \'nav_salesMgmt_wholesaleOrderManagement\' | translate }}</h2>\n </div>
1\n\n \x3c!-- \u7b5b\u9009\u5668\u533a\u57df --\x3e\n <div class="filter-section">\n <div class="filter-header" (click)="toggleFilter()">\n <span class="filter-title">\n <mat-icon>{{ filterExpanded ? \'expand_less\' : \'expand_more\' }}</mat-icon>\n {{ \'common_filter\' | translate }}\n </span>\n <mat-icon class="toggle-icon">{{ filterExpanded ? \'expand_less\' : \'expand_more\' }}</mat-icon>\n </div>\n <form [formGroup]="filterForm" class="filter-form" [class.collapsed]="!filterExpanded">\n <div class="row">\n \x3c!-- \u914d\u9001\u65b9\u5f0f --\x3e\n <div class="col-md-3 col-sm-6 col-12">\n <mat-form-field appearance="outline">\n <mat-label>{{ \'delivery_method\' | translate }}</mat-label>\n <mat-select formControlName="delivery_method">\n <mat-option value="">{{ \'common_all\' | translate }}</mat-option>\n <mat-option *ngFor="let method of deliveryMethods" [value]="method.value">\n {{ method.label }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n\n \x3c!-- \u5ba2\u6237\u540d\u79f0 --\x3e\n <div class="col-md-3 col-sm-6 col-12">\n <mat-form-field appearance="outline">\n <mat-label>{{ \'customer_name\' | translate }}</mat-label>\n <input matInput formControlName="customer_name" placeholder="{{ \'customer_name\' | translate }}">\n </mat-form-field>\n </div>\n\n \x3c!-- \u652f\u4ed8\u65b9\u5f0f --\x3e\n <div class="col-md-3 col-sm-6 col-12">\n <mat-form-field appearance="outline">\n <mat-label>{{ \'Payment-method\' | translate }}</mat-label>\n <mat-select formControlName="payment_method_id">\n <mat-option value="">{{ \'common_all\' | translate }}</mat-option>\n <mat-option *ngFor="let method of paymentMethods" [value]="method.id">\n {{ method.name }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n\n \x3c!-- \u53d1\u7968\u72b6\u6001 --\x3e\n <div class="col-md-3 col-sm-6 col-12">\n <mat-form-field appearance="outline">\n <mat-label>{{ \'invoice_status\' | translate }}</mat-label>\n <mat-select formControlName="invoice_status">\n <mat-option value="">{{ \'common_all\' | translate }}</mat-option>\n <mat-option *ngFor="let status of invoiceStatuses" [value]="status.value">\n {{ status.label }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n\n \x3c!-- \u4e1a\u52a1\u5458 --\x3e\n <div class="col-md-3 col-sm-6 col-12">\n <mat-form-field appearance="outline">\n <mat-label>{{ \'salesperson\' | translate }}</mat-label>\n <mat-select formControlName="salesperson_id">\n <mat-option value="">{{ \'common_all\' | translate }}</mat-option>\n <mat-option *ngFor="let person of salespersons" [value]="person.id">\n {{ person.name }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n\n \x3c!-- \u5ba1\u6838\u5458 --\x3e\n <div class="col-md-3 col-sm-6 col-12">\n <mat-form-field appearance="outline">\n <mat-label>{{ \'reviewer\' | translate }}</mat-label>\n <mat-select formControlName="reviewer_id">\n <mat-option value="">{{ \'common_all\' | translate }}</mat-option>\n <mat-option *ngFor="let reviewer of reviewers" [value]="reviewer.id">\n {{ reviewer.name }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n </div>\n\n </form>\n <div class="filter-actions" [class.collapsed]="!filterExpanded">\n <button mat-raised-button color="primary" (click)="onSearch()">\n {{ \'common_search\' | translate }}\n </button>\n <button mat-button (click)="onReset()">\n {{ \'common_reset\' | translate }}\n </button>\n </div>\n </div>\n\n \x3c!-- \u72b6\u6001\u6807\u7b7e\u9875 --\x3e\n <div class="status-tabs">\n <button\n *ngFor="let tab of statusTabs; let i = index"\n mat-button\n [class.active]="selectedStatus === tab.key"\n [class.special-status]="tab.isSpecial"\n (click)="onStatusChange(tab.key)"\n class="status-tab"\n >\n {{ tab.translateKey | translate }} ({{ tab.count }})\n </button>\n </div>\n\n \x3c!-- \u8ba2\u5355\u5217\u8868\u8868\u683c --\x3e\n <div class="table-container">\n \x3c!-- \u64cd\u4f5c\u6309\u94ae\u533a\u57df - \u53f3\u4e0a\u89d2 --\x3e\n <div class="action-buttons-top-right">\n \x3c!-- \u5f85\u5ba1\u6279\u72b6\u6001\uff1a\u663e\u793a\u901a\u8fc7\u548c\u62d2\u7edd\u6309\u94ae --\x3e\n <div class="action-buttons" *ngIf="selectedStatus === \'pending_review\'">\n <button mat-raised-button color="warn" (click)="batchReject()" [disabled]="selection.selected.length === 0">\n <mat-icon>close</mat-icon>\n {{ \'reject\' | translate }}\n </button>\n <button mat-raised-button color="primary" (click)="batchApprove()" [disabled]="selection.selected.length === 0">\n <mat-icon>
1check</mat-icon>\n {{ \'approve\' | translate }}\n </button>\n </div>\n \n \x3c!-- \u5176\u4ed6\u72b6\u6001\uff1a\u663e\u793a\u4e0b\u4e00\u6b65\u548c\u4f5c\u5e9f\u6309\u94ae --\x3e\n <div class="action-buttons" *ngIf="selectedStatus !== \'pending_review\'">\n <button mat-raised-button color="warn" (click)="batchInvalidate()" [disabled]="selection.selected.length === 0">\n <mat-icon>delete</mat-icon>\n {{ \'invalidate\' | translate }}\n </button>\n <button mat-raised-button color="primary" (click)="batchNextStep()" [disabled]="selection.selected.length === 0">\n <mat-icon>arrow_forward</mat-icon>\n {{ \'next_step\' | translate }}\n </button>\n </div>\n </div>\n <table mat-table [dataSource]="dataSource" matSort class="order-table">\n \x3c!-- \u4e0b\u5355\u65f6\u95f4 --\x3e\n <ng-container matColumnDef="order_date">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{ \'Order-Date\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.order_date | date: \'yyyy-MM-dd HH:mm:ss\' }}</td>\n </ng-container>\n\n \x3c!-- \u8ba2\u5355\u53f7 --\x3e\n <ng-container matColumnDef="order_number">\n <th mat-header-cell *matHeaderCellDef>{{ \'Order-number\' | translate }}</th>\n <td mat-cell *matCellDef="let order">\n <a (click)="viewOrderDetail(order)" class="link-text">{{ order.order_number }}</a>\n </td>\n </ng-container>\n\n \x3c!-- \u5ba2\u6237\u540d\u79f0 --\x3e\n <ng-container matColumnDef="customer_name">\n <th mat-header-cell *matHeaderCellDef>{{ \'customer_name\' | translate }}</th>\n <td mat-cell *matCellDef="let order">\n <a (click)="viewCustomerDetail(order)" class="link-text">{{ order.customer_name }}</a>\n </td>\n </ng-container>\n\n \x3c!-- \u8ba2\u5355\u72b6\u6001 --\x3e\n <ng-container matColumnDef="status">\n <th mat-header-cell *matHeaderCellDef>{{ \'Order-Status\' | translate }}</th>\n <td mat-cell *matCellDef="let order">\n <span [class]="\'status-badge status-\' + (order.process_status || order.status)">\n {{ \'wholesale_order_\' + (order.process_status || order.status) | translate }}\n </span>\n </td>\n </ng-container>\n\n \x3c!-- \u4ea7\u54c1\u6570\u91cf --\x3e\n <ng-container matColumnDef="product_quantity">\n <th mat-header-cell *matHeaderCellDef>{{ \'product_quantity\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.product_quantity }}</td>\n </ng-container>\n\n \x3c!-- \u603b\u989d(\u4e0d\u542b\u7a0e) --\x3e\n <ng-container matColumnDef="total_ex_tax">\n <th mat-header-cell *matHeaderCellDef>{{ \'total_ex_tax\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.total_ex_tax | number: \'1.2-2\' }}</td>\n </ng-container>\n\n \x3c!-- \u7a0e\u989d --\x3e\n <ng-container matColumnDef="tax_amount">\n <th mat-header-cell *matHeaderCellDef>{{ \'tax_amount\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.tax_amount | number: \'1.2-2\' }}</td>\n </ng-container>\n\n \x3c!-- \u603b\u989d(\u542b\u7a0e) --\x3e\n <ng-container matColumnDef="total_inc_tax">\n <th mat-header-cell *matHeaderCellDef>{{ \'total_inc_tax\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.total_inc_tax | number: \'1.2-2\' }}</td>\n </ng-container>\n\n \x3c!-- \u652f\u4ed8\u65b9\u5f0f --\x3e\n <ng-container matColumnDef="payment_method">\n <th mat-header-cell *matHeaderCellDef>{{ \'Payment-method\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.payment_method }}</td>\n </ng-container>\n\n \x3c!-- \u5df2\u652f\u4ed8\u91d1\u989d --\x3e\n <ng-container matColumnDef="paid_amount">\n <th mat-header-cell *matHeaderCellDef>{{ \'paid_amount\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.paid_amount | number: \'1.2-2\' }}</td>\n </ng-container>\n\n \x3c!-- \u5f85\u652f\u4ed8\u91d1\u989d --\x3e\n <ng-container matColumnDef="unpaid_amount">\n <th mat-header-cell *matHeaderCellDef>{{ \'common_unpaid_amount\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.unpaid_amount | number: \'1.2-2\' }}</td>\n </ng-container>\n\n \x3c!-- \u53d1\u7968\u6570\u91cf --\x3e\n <ng-container matColumnDef="invoice_count">\n <th mat-header-cell *matHeaderCellDef>{{ \'invoice_count\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.invoice_count }}</td>\n </ng-container>\n\n \x3c!-- \u53d1\u7968\u603b\u91d1\u989d --\x3e\n <ng-container matColumnDef="invoice_total_amount">\n <th mat-header-cell *matHeaderCellDef>{{ \'invoice_total_amount\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.invoice_total_amount | number: \'1.2-2\' }}</td>\n </ng-container>\n\n \x3c!-- \u914d\u9001\u65b9\u5f0f --\x3e\n <ng-container matColumnDef="delivery_method">\n <th mat-header-cell *matHeaderCellDef>{{ \'delivery_method\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.delivery_method | translate }}</td>\n </ng-container>\n\n \x3c!-- \u4e1a\u52a1\u5458 --\x3e\n <ng-container matColumnDef="salesperson">\n <th mat-header-cell *matHeaderCellDef>{{ \'salesperson\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.salesperson }}</td>\n </ng-container>\n\n \x3c!-- \u5ba1\u6838\u5458 --\x3e\n <ng-container matColumnDef="reviewer">\n <th mat-header-cell *matHeaderCellDef>{{ \'reviewer\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.reviewer }}</td>\n </ng-container>\n\n \x3c!-- \u4e0b\u5355\u8d26\u53f7 --\x3e\n <ng-container matColumnDef="order_account">\n <th mat-header-cell *matHeaderCellDef>{{ \'order_account\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.order_account }}</td>\n </ng-container>\n\n \x3c!-- \u8ba2\u5355\u6765\u6e90 --\x3e\n <ng-container matColumnDef="source">\n <th mat-header-cell *matHeaderCellDef>{{ \'order_source\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.source }}</td>\n </ng-container>\n\n \x3c!-- \u5907\u6ce8 --\x3e\n <ng-container matColumnDef="remark">\n <th mat-header-cell *matHeaderCellDef>{{ \'remark\' | translate }}</th>\n <td mat-cell *matCellDef="let order">{{ order.remark }}</td>\n </ng-container>\n\n \x3c!-- \u64cd\u4f5c\u5217 --\x3e\n <ng-container matColumnDef="actions">\n <th mat-header-cell *matHeaderCellDef>{{ \'common_actions\' | translate }}</th>\n <td mat-cell *matCellDef="let order">\n <button mat-icon-button color="primary" (click)="approveOrder(order)" *ngIf="(order.process_status || order.status) === \'pending_review\'">\n <mat-icon>
1check</mat-icon>\n </button>\n <button mat-icon-button color="warn" (click)="rejectOrder(order)" *ngIf="(order.process_status || order.status) === \'pending_review\'">\n <mat-icon>close</mat-icon>\n </button>\n \x3c!-- \u5f85\u914d\u8d27\u72b6\u6001\uff1a\u8fdb\u5165\u914d\u8d27\u6d41\u7a0b --\x3e\n <button\n mat-icon-button\n color="primary"\n *ngIf="selectedStatus === \'pending_stock\'"\n (click)="handleAllocation(order)"\n >\n <mat-icon>local_shipping</mat-icon>\n </button>\n <button mat-icon-button (click)="viewOrderDetail(order)">\n <mat-icon>visibility</mat-icon>\n </button>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>\n <tr mat-row \n *matRowDef="let row; columns: displayedColumns; let i = index;"\n [attr.data-index]="i"\n (click)="onRowClick(row, $event)"\n [class.selected-row]="isOrderSelected(row)"\n [class.selectable-row]="selectedStatus === \'pending_review\' && isOrderSelectable(row)">\n </tr>\n </table>\n\n <mat-paginator\n #paginator\n [pageSizeOptions]="[10, 20, 50, 100]"\n [pageSize]="pageInfo.pageSize"\n [pageIndex]="pageInfo.page - 1"\n [length]="pageInfo.total"\n (page)="onPageChange($event)">\n </mat-paginator>\n </div>\n</div>\n',styles:['.wholesale-order-management {\n padding: 20px;\n}\n.wholesale-order-management .page-header {\n margin-bottom: 20px;\n}\n.wholesale-order-management .page-header h2 {\n margin: 0;\n font-size: 24px;\n font-weight: 500;\n}\n.wholesale-order-management .filter-section {\n background: #fff;\n border-radius: 4px;\n margin-bottom: 20px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n overflow: hidden;\n}\n.wholesale-order-management .filter-section .filter-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 15px 20px;\n background: #f8f9fa;\n border-bottom: 1px solid #e0e0e0;\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n transition: background-color 0.2s;\n}\n.wholesale-order-management .filter-section .filter-header:hover {\n background: #e9ecef;\n}\n.wholesale-order-management .filter-section .filter-header .filter-title {\n display: flex;\n align-items: center;\n gap: 8px;\n font-weight: 600;\n font-size: 16px;\n color: #333;\n}\n.wholesale-order-management .filter-section .filter-header .filter-title mat-icon {\n font-size: 20px;\n width: 20px;\n height: 20px;\n}\n.wholesale-order-management .filter-section .filter-header .toggle-icon {\n font-size: 24px;\n width: 24px;\n height: 24px;\n color: #666;\n transition: transform 0.3s;\n}\n.wholesale-order-management .filter-section .filter-form {\n padding: 20px;\n transition: max-height 0.3s ease-out, padding 0.3s ease-out, opacity 0.3s ease-out;\n max-height: 2000px;\n opacity: 1;\n overflow: hidden;\n}\n.wholesale-order-management .filter-section .filter-form.collapsed {\n max-height: 0;\n padding: 0 20px;\n opacity: 0;\n}\n.wholesale-order-management .filter-section .filter-form .row {\n margin: 0 -10px;\n}\n.wholesale-order-management .filter-section .filter-form .row > div {\n padding: 0 10px;\n}\n.wholesale-order-management .filter-section .filter-form mat-form-field {\n width: 100%;\n}\n.wholesale-order-management .filter-section .filter-actions {\n margin-top: 20px;\n display: flex;\n gap: 10px;\n padding: 0 20px 20px;\n transition: max-height 0.3s ease-out, padding 0.3s ease-out, opacity 0.3s ease-out, margin 0.3s ease-out;\n max-height: 100px;\n opacity: 1;\n overflow: hidden;\n}\n.wholesale-order-management .filter-section .filter-actions.collapsed {\n max-height: 0;\n padding: 0 20px;\n margin-top: 0;\n opacity: 0;\n}\n.wholesale-order-management .filter-section .filter-actions button {\n min-width: 100px;\n}\n.wholesale-order-management .status-tabs {\n display: flex;\n gap: 10px;\n margin-bottom: 20px;\n flex-wrap: wrap;\n background: #fff;\n padding: 15px;\n border-radius: 4px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n align-items: center;\n}\n.wholesale-order-management .status-tabs .status-tab {\n padding: 10px 20px;\n border-radius: 6px;\n border: 2px solid #e0e0e0;\n background: #f5f5f5;\n color: #333;\n cursor: pointer;\n transition: all 0.3s;\n font-weight: 500;\n font-size: 14px;\n min-width: 100px;\n text-align: center;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n position: relative;\n}\n.wholesale-order-management .status-tabs .status-tab:hover {\n background: #e8e8e8;\n border-color: #bdbdbd;\n transform: translateY(-1px);\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);\n}\n.wholesale-order-management .status-tabs .status-tab.active {\n background: #1976d2;\n color: #fff;\n border-color: #1976d2;\n font-weight: 600;\n box-shadow: 0 3px 8px rgba(25, 118, 210, 0.3);\n}\n.wholesale-order-management .status-tabs .status-tab.active:hover {\n background: #1565c0;\n border-color: #1565c0;\n transform: translateY(-1px);\n}\n.wholesale-order-management .status-tabs .status-tab.special-status {\n background: #efebe9;\n color: #c62828;\n border-color: #d7ccc8;\n}\n.wholesale-order-management .status-tabs .status-tab.special-status:hover {\n background: #d7ccc8;\n border-color: #bcaaa4;\n}\n.wholesale-order-management .status-tabs .status-tab.special-status.active {\n background: #1976d2;\n color: #fff;\n border-color: #1976d2;\n}\n.wholesale-order-management .status-tabs .status-tab:nth-child(5)::after {\n
1content: "";\n position: absolute;\n right: -15px;\n top: 50%;\n transform: translateY(-50%);\n width: 1px;\n height: 60%;\n background: #666;\n z-index: 1;\n}\n.wholesale-order-management .table-container {\n position: relative;\n padding-top: 60px;\n}\n.wholesale-order-management .action-buttons-top-right {\n position: absolute;\n top: 10px;\n right: 10px;\n z-index: 10;\n}\n.wholesale-order-management .action-buttons {\n display: flex;\n gap: 10px;\n margin: 0;\n}\n.wholesale-order-management .action-buttons button mat-icon {\n margin-right: 5px;\n}\n.wholesale-order-management .table-container {\n background: #fff;\n border-radius: 4px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n overflow-x: auto;\n}\n.wholesale-order-management .table-container .order-table {\n width: 100%;\n min-width: 2000px;\n}\n.wholesale-order-management .table-container .order-table th {\n font-weight: 600;\n background: #f5f5f5;\n}\n.wholesale-order-management .table-container .order-table td, .wholesale-order-management .table-container .order-table th {\n padding: 12px 8px;\n text-align: left;\n border-bottom: 1px solid #ddd;\n}\n.wholesale-order-management .table-container .order-table .link-text {\n color: #1976d2;\n cursor: pointer;\n text-decoration: none;\n}\n.wholesale-order-management .table-container .order-table .link-text:hover {\n text-decoration: underline;\n}\n.wholesale-order-management .table-container .order-table .selectable-row {\n cursor: pointer;\n transition: background-color 0.2s;\n}\n.wholesale-order-management .table-container .order-table .selectable-row:hover {\n background-color: #f5f5f5;\n}\n.wholesale-order-management .table-container .order-table .selectable-row .mat-cell {\n cursor: pointer;\n}\n.wholesale-order-management .table-container .order-table .selected-row {\n background-color: #e3f2fd !important;\n border-left: 4px solid #1976d2;\n}\n.wholesale-order-management .table-container .order-table .selected-row:hover {\n background-color: #bbdefb !important;\n}\n.wholesale-order-management .table-container .order-table .selected-row .mat-cell {\n background-color: transparent;\n}\n.wholesale-order-management .table-container .order-table .status-badge {\n display: inline-block;\n padding: 6px 12px;\n border-radius: 6px;\n font-size: 13px;\n font-weight: 600;\n text-align: center;\n min-width: 80px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n border: 1px solid rgba(0, 0, 0, 0.1);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n.wholesale-order-management .table-container .order-table .status-badge.status-pending_review {\n background: #ff6b00;\n color: #fff;\n border-color: #ff8c00;\n}\n.wholesale-order-management .table-container .order-table .status-badge.status-pending_stock {\n background: #0066cc;\n color: #fff;\n border-color: #0052a3;\n}\n.wholesale-order-management .table-container .order-table .status-badge.status-stocked {\n background: #00aa44;\n color: #fff;\n border-color: #008833;\n}\n.wholesale-order-management .table-container .order-table .status-badge.status-in_transit {\n background: #9933cc;\n color: #fff;\n border-color: #7a28a3;\n}\n.wholesale-order-management .table-container .order-table .status-badge.status-received {\n background: #00cccc;\n color: #fff;\n border-color: #00aaaa;\n}\n.wholesale-order-management .table-container .order-table .status-badge.status-completed {\n background: #00cc66;\n color: #fff;\n border-color: #00aa55;\n}\n.wholesale-order-management .table-container .order-table .status-badge.status-terminated {\n background: #cc0000;\n color: #fff;\n border-color: #aa0000;\n}\n.wholesale-order-management .table-container .order-table .status-badge.status-returned {\n background: #ff3300;\n color: #fff;\n border-color: #cc2800;\n}\n.wholesale-order-management .table-container mat-paginator {\n border-top: 1px solid #ddd;\n}\n@media (max-width: 768px) {\n .wholesale-order-management {\n padding: 10px;\n }\n .wholesale-order-management .filter-section {\n padding: 15px;\n }\n .wholesale-order-management .filter-section .row > div {\n margin-bottom: 10px;\n }\n .wholesale-order-management .status-tabs .status-tab {\n font-size: 12px;\n padding: 6px 12px;\n }\n .wholesale-order-management .table-container .order-table {\n font-size: 12px;\n }\n .wholesale-order-management .table-container .order-table td, .wholesale-order-management .table-container .order-table th {\n padding: 8px 4px;\n }\n}']})],jm);let xy=class{constructor(t,e,a,r,i,o){this.route=t,this.orderService=e,this.loadingService=a,this.messageService=r,this.allocationService=i,this.dialog=o,this.products=[],this.allocations=[],this.statusSteps=[{key:"pending_review",label:"\u5f85\u5ba1\u6838"},{key:"pending_stock",label:"\u5f85\u914d\u8d27"},{key:"stocked",label:"\u5df2\u914d\u8d27"},{key:"in_transit",label:"\u8fd0\u8f93\u4e2d"},{key:"received",label:"\u5df2\u6536\u8d27"},{key:"completed",label:"\u5df2\u5b8c\u6210"}],this.allocationStatusSteps=[{key:1,label:"\u5f85\u914d\u8d27"},{key:2,label:"\u914d\u8d27\u4e2d"},{key:3,label:"\u5df2\u5b8c\u6210"}]}
1ngOnInit(){const t=this.route.snapshot.paramMap.get("id");t&&(this.orderId=Number(t),this.loadOrderDetail(),this.loadOrderProducts(),this.loadAllocations())}normalizeStatus(t){if(!t)return"";const e=String(t).toLowerCase().trim();return{pending:"pending_review",review:"pending_review",pending_review:"pending_review",pending_confirmation:"pending_review",stock:"pending_stock",pending_stock:"pending_stock",pending_allocation:"pending_stock",stocked:"stocked",pending_shipment:"stocked",shipped:"in_transit",in_transit:"in_transit",received:"received",completed:"completed"}[e]||e}get currentStatus(){return this.normalizeStatus(this.order?.process_status||this.order?.status)}isStepActive(t){const e=this.currentStatus;if(!e)return!1;const a=this.statusSteps.findIndex(i=>i.key===t),r=this.statusSteps.findIndex(i=>i.key===e);return-1!==a&&(-1===r?t===e:a<=r)}loadOrderDetail(){this.loadingService.openDialog(),this.orderService.getSalesOrderDetail(this.orderId).subscribe(t=>{this.loadingService.hideDialog();const e=t?.data||t||{};let a=null;if(e.delivery_info)if("string"==typeof e.delivery_info)try{a=JSON.parse(e.delivery_info)}catch{a=null}else a=e.delivery_info;this.shippingAddress=a||e.shipping_address||e.shippingAddress||t?.shipping_address||null,this.order={...e,customer_name:e.customer_name||e.customer?.company_name||e.customer?.name||"",recipient_name:e.recipient_name,recipient_phone:e.recipient_phone,delivery_address:e.delivery_address,process_status:this.normalizeStatus(e.process_status||e.status||e.order_status),product_quantity:e.product_quantity||e.items?.length||e.products?.length||0,total_ex_tax:e.total_ex_tax||e.total_amount||e.totalAmount||0,tax_amount:e.tax_amount||e.taxAmount||0,total_inc_tax:e.total_inc_tax||(e.total_ex_tax||e.total_amount||0)+(e.tax_amount||0),paid_amount:e.paid_amount||e.order_payment_amount||e.paidAmount||0,unpaid_amount:e.unpaid_amount||e.unpaidAmount||0,invoice_count:e.invoice_count||e.invoices?.length||0,invoice_total_amount:e.invoice_total_amount||e.invoiceTotalAmount||0,payment_method:e.payment_method?.name||e.payment_method||e.paymentMethod?.name||""}},()=>{this.loadingService.hideDialog(),this.messageService.error("\u52a0\u8f7d\u8ba2\u5355\u8be6\u60c5\u5931\u8d25")})}loadOrderProducts(){this.orderService.getDetailProducts(this.orderId,1,100).subscribe(t=>{this.products=Array.isArray(t?.data)?t.data:[]})}loadAllocations(){this.allocationService.getOrderBatchIntegrate(this.orderId).subscribe(t=>{const e=t?.data||t||{};Array.isArray(e.allocations)?this.allocations=e.allocations:e.data&&Array.isArray(e.data.allocations)?this.allocations=e.data.allocations:this.allocations=[]},()=>{this.allocations=[]})}get canCreateAllocation(){return"pending_stock"===this.currentStatus}createAllocation(){this.dialog.open(Wl,{width:"800px",data:{orderId:this.orderId}}).afterClosed().subscribe(e=>{e&&"created"===e.action&&(this.messageService.success("\u914d\u8d27\u5355\u521b\u5efa\u6210\u529f"),this.refreshData())})}viewAllocationDetail(t){const e=t.id||t.allocation_id;e?this.dialog.open(pu,{width:"900px",data:{allocationId:e,header:{orderId:this.orderId,orderNumber:this.order?.order_number,customerName:this.order?.customer_name}}}).afterClosed().subscribe(r=>{r&&"completed"===r.action&&this.loadAllocations()}):this.messageService.error("\u914d\u8d27\u5355ID\u7f3a\u5931")}transferToShipping(t){const e=t.id||t.allocation_id;e?3===("string"==typeof t.status?parseInt(t.status,10):t.status)?(this.loadingService.openDialog(),this.allocationService.getStockOutList({allocation_id:e}).subscribe(r=>{this.loadingService.hideDialog();let i=[],o=r?.data??r?.list??r;Array.isArray(o)?i=o:o&&Array.isArray(o.data)?i=o.data:o&&Array.isArray(o.list)&&(i=o.list),0===i.length?this.createStockOut(t):this.messageService.info("\u8be5\u914d\u8d27\u5355\u5df2\u6709\u51fa\u5e93\u5355\uff0c\u53ef\u4ee5\u76f4\u63a5\u6d41\u8f6c")},()=>{this.loadingService.hideDialog(),this.messageService.error("\u68c0\u67e5\u51fa\u5e93\u5355\u5931\u8d25")})):this.messageService.info("\u53ea\u6709\u5df2\u5b8c\u6210\u7684\u914d\u8d27\u5355\u624d\u80fd\u6d41\u8f6c\u5230\u8fd0\u8f93\u4e2d"):this.messageService.error("\u914d\u8d27\u5355ID\u7f3a\u5931")}createStockOut(t){const e=t.id||t.allocation_id,a=localStorage.getItem("chain_id")||localStorage.getItem("chainInit")||"";this.dialog.open(Bm,{width:"800px",data:{mode:"create",allocationId:e,orderId:this.orderId,chainId:a,header:{allocationNo:t.order_number||t.allocation_no,orderNumber:this.order?.order_number,createdAt:t.created_at}}}).afterClosed().subscribe(i=>{i&&("createdStockOut"===i.action||"updatedStockOut"===i.action)&&this.loadAllocations()})}shouldShowAllocationProgress(t){const e=t.status||t.allocation_status||t.process_status;let a;if("string"==typeof e){if(a=parseInt(e,10),isNaN(a)){const r=e.toLowerCase();a=r.includes("\u5f85\u914d\u8d27")||r.includes("pending")?1:r.includes("\u914d\u8d27\u4e2d")||r.includes("processing")?2:r.includes("\u5df2\u5b8c\u6210")||r.includes("completed")?3:1}}else a=e;return!(null!=a&&!isNaN(a))||(1===a||2===a)}isAllocationCompleted(t){const e=t.status;return 3===("string"==typeof e?parseInt(e,10):e)}isAllocationStepActive(t,e){const a=t.status||1,r="string"==typeof a?parseInt(a,10):a,i=isNaN(r)?1:r;return 1===e?i>=1:2===e?i>=2:3===e&&3===i}getAllocationStatusText(t){const e=t.status;return{1:"\u5f85\u914d\u8d27",2:"\u914d\u8d27\u4e2d",3:"\u5df2\u5b8c\u6210",4:"\u5f02\u5e38"}["string"==typeof e?parseInt(e,10):e]||e||"\u672a\u77e5"}getBatchStatusText(t){return{pending_review:"\u5f85\u5ba1\u6838",pending_stock:"\u672a\u914d\u8d27",stocked:"\u5df2\u914d\u8d27",in_transit:"\u8fd0\u8f93\u4e2d",re
1ceived:"\u5df2\u6536\u8d27",completed:"\u5df2\u5b8c\u6210"}[this.getBatchCurrentStatus(t)]||"\u672a\u77e5"}getBatchCurrentStatus(t){if(!t)return"";const e=t.shipping_status||t.shippingStatus;if(null!=e){const i=String(e).toLowerCase().trim();if("in_transit"===i||"shipping"===i||"7"===i)return"in_transit";if("received"===i||"completed"===i||"4"===i)return"received"}const a=t.status??t.allocation_status??t.allocationStatus;if(null!=a){const i="string"==typeof a?parseInt(a,10):a;if(!isNaN(i)){if(1===i||2===i)return"pending_stock";if(3===i)return"stocked"}}const r=t.batch_process_status||t.calculated_status||t.current_status||t.status||t.shipping_status||t.allocation_status;return this.normalizeStatus(r)}isBatchStepActive(t,e){const a=this.getBatchCurrentStatus(t);if(!a)return!1;const r=this.statusSteps.findIndex(o=>o.key===e),i=this.statusSteps.findIndex(o=>o.key===a);return-1!==r&&(-1===i?e===a:r<=i)}onBatchStepClick(t,e){const a=this.getBatchCurrentStatus(t);"pending_stock"!==a||"stocked"!==e?"stocked"!==a||"in_transit"!==e||this.transferToShipping(t):this.viewAllocationDetail(t)}getBatchAllocationStatusText(t){const e=t.allocation_status||t.allocationStatus;if(!e)return"-";return{pending_allocation:"\u5f85\u914d\u8d27",allocating:"\u914d\u8d27\u4e2d",allocated:"\u5df2\u5b8c\u6210"}[String(e).toLowerCase()]||e}getBatchShippingStatusText(t){const e=t.shipping_status||t.shippingStatus;if(!e)return"-";return{pending_shipment:"\u5f85\u53d1\u8d27",in_transit:"\u8fd0\u8f93\u4e2d",received:"\u5df2\u6536\u8d27",completed:"\u5df2\u5b8c\u6210"}[String(e).toLowerCase()]||e}refreshData(){this.loadOrderDetail(),this.loadAllocations()}};xy.ctorParameters=()=>[{type:It.gz},{type:bn.C},{type:Qe.E},{type:ne.I},{type:ms},{type:St.uw}],xy=(0,j.gn)([(0,m.wA2)({selector:"app-wholesale-order-detail",template:'<div class="wholesale-order-detail container-fluid" *ngIf="order">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n\n \x3c!-- \u6807\u9898 --\x3e\n <div class="page-header d-flex justify-content-between align-items-center">\n <h2 class="mb-0">{{ \'SalesOrder\' | translate }} {{ order.order_number }}</h2>\n \x3c!-- \u521b\u5efa\u914d\u8d27\u5355\u6309\u94ae --\x3e\n <button \n *ngIf="canCreateAllocation"\n mat-raised-button \n color="primary" \n (click)="createAllocation()"\n class="create-allocation-btn"\n >\n <mat-icon>add</mat-icon>\n \u521b\u5efa\u914d\u8d27\u5355\n </button>\n </div>\n\n \x3c!-- \u8ba2\u5355\u72b6\u6001\u6b65\u9aa4\u6761 --\x3e\n <div class="status-section">\n <div class="status-title">\n {{ \'Order-Status\' | translate }}\n </div>\n <div class="status-steps">\n <div\n class="status-step"\n *ngFor="let step of statusSteps; let idx = index"\n [class.active]="isStepActive(step.key)"\n >\n <div class="circle">{{ idx + 1 }}</div>\n <div class="label">{{ step.label }}</div>\n </div>\n </div>\n </div>\n\n \x3c!-- \u6c47\u603b\u4fe1\u606f --\x3e\n <div class="summary-section card">\n <div class="card-body row text-center">\n <div class="col">\n <div class="summary-label">{{ \'product_quantity\' | translate }}</div>\n <div class="summary-value">{{ order.product_quantity }}</div>\n </div>\n <div class="col">\n <div class="summary-label">{{ \'total_ex_tax\' | translate }}</div>\n <div class="summary-value">{{ order.total_ex_tax | number: \'1.2-2\' }}</div>\n </div>\n <div class="col">\n <div class="summary-label">{{ \'tax_amount\' | translate }}</div>\n <div class="summary-value">{{ order.tax_amount | number: \'1.2-2\' }}</div>\n </div>\n <div class="col">\n <div class="summary-label">{{ \'total_inc_tax\' | translate }}</div>\n <div class="summary-value">{{ order.total_inc_tax | number: \'1.2-2\' }}</div>\n </div>\n <div class="col">\n <div class="summary-label">{{ \'paid_amount\' | translate }}</div>\n <div class="summary-value">{{ order.paid_amount | number: \'1.2-2\' }}</div>\n </div>\n <div class="col">\n <div class="summary-label">{{ \'common_unpaid_amount\' | translate }}</div>\n <div class="summary-value">{{ order.unpaid_amount | number: \'1.2-2\' }}</div>\n </div>\n <div class="col">\n <div class="summary-label">{{ \'invoice_count\' | translate }}</div>\n <div class="summary-value">{{ order.invoice_count }}</div>\n </div>\n <div class="col">\n <div class="summary-label">{{ \'invoice_total_amount\' | translate }}</div>\n <div class="summary-value">{{ order.invoice_total_amount | number: \'1.2-2\' }}</div>\n </div>\n <div class="col">\n <div class="summary-label">{{ \'Payment-method\' | translate }}</div>\n <div class="summary-value">{{ order.payment_method }}
1</div>\n </div>\n </div>\n </div>\n\n \x3c!-- \u6536\u8d27\u5730\u5740 & \u5ba2\u6237\u4fe1\u606f --\x3e\n <div class="row mt-3">\n <div class="col-md-6">\n <div class="card">\n <div class="card-header">\n {{ \'shipping_address\' | translate }}\n </div>\n <div class="card-body">\n <ng-container *ngIf="shippingAddress; else orderRecipient">\n <p><strong>{{ \'recipient_name\' | translate }}:</strong> {{ shippingAddress.recipient_name }}</p>\n <p><strong>{{ \'recipient_phone\' | translate }}:</strong> {{ shippingAddress.recipient_phone }}</p>\n <p><strong>{{ \'delivery_address\' | translate }}:</strong> {{ shippingAddress.delivery_address }}</p>\n <p><strong>{{ \'sender_name\' | translate }}:</strong> {{ shippingAddress.sender_name }}</p>\n <p><strong>{{ \'sender_phone\' | translate }}:</strong> {{ shippingAddress.sender_phone }}</p>\n <p><strong>{{ \'sender_address\' | translate }}:</strong> {{ shippingAddress.sender_address }}</p>\n </ng-container>\n <ng-template #orderRecipient>\n <p><strong>{{ \'customer_name\' | translate }}:</strong> {{ order.customer_name }}</p>\n <p><strong>{{ \'recipient_name\' | translate }}:</strong> {{ order.recipient_name }}</p>\n <p><strong>{{ \'recipient_phone\' | translate }}:</strong> {{ order.recipient_phone }}</p>\n <p><strong>{{ \'delivery_address\' | translate }}:</strong> {{ order.delivery_address }}</p>\n </ng-template>\n </div>\n </div>\n </div>\n <div class="col-md-6">\n <div class="card">\n <div class="card-header">\n {{ \'order_info\' | translate }}\n </div>\n <div class="card-body">\n <p><strong>{{ \'Order-number\' | translate }}:</strong> {{ order.order_number }}</p>\n <p><strong>{{ \'Order-Date\' | translate }}:</strong> {{ order.created_at }}</p>\n <p><strong>{{ \'Order-Status\' | translate }}:</strong> {{ \'wholesale_order_\' + currentStatus | translate }}</p>\n <p><strong>{{ \'delivery_method\' | translate }}:</strong> {{ order.delivery_method | translate }}</p>\n </div>\n </div>\n </div>\n </div>\n\n \x3c!-- \u5546\u54c1\u660e\u7ec6 --\x3e\n <div class="card mt-3">\n <div class="card-header">\n {{ \'Products\' | translate }}\n </div>\n <div class="card-body p-0">\n <table class="table table-bordered mb-0" *ngIf="products.length">\n <thead>\n <tr>\n <th>{{ \'product_barcode\' | translate }}</th>\n <th>{{ \'product_name\' | translate }}</th>\n <th>{{ \'common_purchaseQuantity\' | translate }}</th>\n <th>{{ \'item_unit_price_notax\' | translate }}</th>\n <th>{{ \'Total price no Tax\' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor="let p of products">\n <td>{{ p.product_barcode }}</td>\n <td>{{ p.product_name }}</td>\n <td>{{ p.order_item_quantity || p.product_quantity }}</td>\n <td>{{ p.item_unit_price | number: \'1.2-2\' }}</td>\n <td>{{ p.order_item_payment_amount || p.total_price | number: \'1.2-2\' }}</td>\n </tr>\n </tbody>\n </table>\n <div class="p-3 text-center" *ngIf="!products.length">\n {{ \'no_data_available\' | translate }}\n </div>\n </div>\n </div>\n\n \x3c!-- \u6279\u6b21\u5217\u8868\uff08\u57fa\u4e8e\u914d\u8d27\u5355\uff09 --\x3e\n <div class="card mt-3" *ngIf="allocations.length > 0">\n <div class="card-header">\n <h5 class="mb-0">\u6279\u6b21\u5217\u8868</h5>\n </div>\n <div class="card-body">\n <div class="allocation-item mb-3" *ngFor="let allocation of allocations">\n \x3c!-- \u6279\u6b21\u72b6\u6001\u7ebf\uff08\u4f7f\u7528\u4e0e\u8ba2\u5355\u76f8\u540c\u7684\u6b65\u9aa4\uff09 --\x3e\n <div class="allocation-status-section mb-2">\n <div class="status-title-small">\u6279\u6b21\u72b6\u6001</div>\n <div class="status-steps-small">\n <div\n class="status-step-small"\n *ngFor="let step of statusSteps; let idx = index"\n [class.active]="isBatchStepActive(allocation, step.key)"\n (click)="onBatchStepClick(allocation, step.key)"\n >\n <div class="circle-small">{{ idx + 1 }}</div>\n <div class="label-small">{{ step.label }}</div>\n </div>\n </div>\n </div>\n\n \x3c!-- \u6279\u6b21\u4fe1\u606f --\x3e\n <div class="allocation-info">\n <div class="row">\n <div class="col-md-3">\n <strong>\u6279\u6b21\u53f7:</strong>
1\n <span>{{ allocation.order_number || allocation.allocation_no || allocation.id }}</span>\n </div>\n <div class="col-md-3">\n <strong>\u6279\u6b21\u72b6\u6001:</strong>\n <span>{{ getBatchStatusText(allocation) }}</span>\n </div>\n <div class="col-md-2">\n <strong>\u914d\u8d27\u72b6\u6001:</strong>\n <span>{{ getBatchAllocationStatusText(allocation) }}</span>\n </div>\n <div class="col-md-2">\n <strong>\u8fd0\u8f93\u72b6\u6001:</strong>\n <span>{{ getBatchShippingStatusText(allocation) }}</span>\n </div>\n <div class="col-md-2 text-right">\n <button mat-button color="primary" (click)="viewAllocationDetail(allocation)">\n <mat-icon>visibility</mat-icon>\n \u67e5\u770b\u8be6\u60c5\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n',styles:['.wholesale-order-detail .page-header {\n margin-bottom: 16px;\n}\n.wholesale-order-detail .page-header .create-allocation-btn {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n.wholesale-order-detail .status-section {\n margin-bottom: 16px;\n}\n.wholesale-order-detail .status-section .status-title {\n margin-bottom: 8px;\n font-weight: 600;\n}\n.wholesale-order-detail .status-section .status-steps {\n display: flex;\n justify-content: space-between;\n padding-top: 16px;\n position: relative;\n}\n.wholesale-order-detail .status-section .status-step {\n text-align: center;\n flex: 1;\n position: relative;\n}\n.wholesale-order-detail .status-section .status-step::before {\n content: "";\n position: absolute;\n top: 16px;\n left: -50%;\n width: 100%;\n border-top: 2px dashed #e0e0e0;\n z-index: 0;\n}\n.wholesale-order-detail .status-section .status-step:first-child::before {\n content: none;\n}\n.wholesale-order-detail .status-section .status-step .circle {\n position: relative;\n z-index: 1;\n width: 32px;\n height: 32px;\n border-radius: 50%;\n border: 2px solid #ccc;\n margin: 0 auto 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 600;\n background-color: #fff;\n}\n.wholesale-order-detail .status-section .status-step.active .circle {\n border-color: #b82126;\n background-color: #b82126;\n color: #fff;\n}\n.wholesale-order-detail .status-section .status-step.active::before {\n border-top-style: solid;\n border-color: #b82126;\n}\n.wholesale-order-detail .status-section .status-step .label {\n font-size: 12px;\n}\n.wholesale-order-detail .summary-section .summary-label {\n font-size: 12px;\n color: #777;\n}\n.wholesale-order-detail .summary-section .summary-value {\n font-size: 14px;\n font-weight: 600;\n}\n.wholesale-order-detail .allocation-item,\n.wholesale-order-detail .shipping-item {\n border: 1px solid #e0e0e0;\n border-radius: 4px;\n padding: 12px;\n background-color: #fafafa;\n}\n.wholesale-order-detail .allocation-item .allocation-info,\n.wholesale-order-detail .allocation-item .shipping-info,\n.wholesale-order-detail .shipping-item .allocation-info,\n.wholesale-order-detail .shipping-item .shipping-info {\n margin-top: 8px;\n}\n.wholesale-order-detail .allocation-status-section,\n.wholesale-order-detail .shipping-status-section {\n margin-bottom: 12px;\n padding: 12px;\n background-color: #f9f9f9;\n border-radius: 4px;\n border: 1px solid #e0e0e0;\n}\n.wholesale-order-detail .allocation-status-section .status-title-small,\n.wholesale-order-detail .shipping-status-section .status-title-small {\n font-size: 13px;\n font-weight: 600;\n margin-bottom: 12px;\n color: #333;\n}\n.wholesale-order-detail .allocation-status-section .status-steps-small,\n.wholesale-order-detail .shipping-status-section .status-steps-small {\n display: flex;\n justify-content: space-between;\n padding-top: 12px;\n position: relative;\n}\n.wholesale-order-detail .allocation-status-section .status-step-small,\n.wholesale-order-detail .shipping-status-section .status-step-small {\n text-align: center;\n flex: 1;\n position: relative;\n}\n.wholesale-order-detail .allocation-status-section .status-step-small::before,\n.wholesale-order-detail .shipping-status-section .status-step-small::before {\n content: "";\n position: absolute;\n top: 12px;\n left: -50%;\n width: 100%;\n border-top: 2px dashed #e0e0e0;\n z-index: 0;\n}\n.wholesale-order-detail .allocation-status-section .status-step-small:first-child::before,\n.wholesale-order-detail .shipping-status-section .status-step-small:first-child::before {\n content: none;\n}\n.wholesale-order-detail .allocation-status-section .status-step-small .circle-small,\n.wholesale-order-detail .shipping-status-section .status-step-small .circle-small {\n position: relative;\n z-index: 1;\n width: 28px;\n height: 28px;\n border-radius: 50%;\n border: 2px solid #ccc;\n margin: 0 auto 6px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 600;\n font-size: 13px;\n background-color: #fff;\n transition: all 0.3s ease;\n}\n.wholesale-order-detail .allocation-status-section .status-step-small.active .circle-small,\n.wholesale-order-detail .shipping-status-section .status-step-small.active .circle-small {\n border-color: #b82126;\n background-color: #b82126;\n color: #fff;\n}\n.wholesale-order-detail .allocation-status-section .status-step-small.active::before,\n.wholesale-order-detail .shipping-status-section .status-step-small.active::before {\n border-top-style: solid;\n border-color: #b82126;\n}\n.wholesale-order-detail .allocation-status-section .status-step-small .label-small,\n.wholesale-order-detail .shipping-status-section .status-step-small .label-small {\n font-size: 12px;\n color: #666;\n font-weight: 500;\n}\n.wholesale-order-detail .allocation-completed-status,\n.wholesale-order-detail .shipping-completed-status {\n padding: 8px 12px;\n background-color: #f0f9ff;\n border-radius: 4px;\n border-left: 4px solid #53c31b;\n}\n.wholesale-order-detail .allocation-completed-status .status-badge,\n.wholesale-order-detail .shipping-completed-status .status-badge {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 13px;\n font-weight: 600;\n}\n.wholesale-order-detail .allocation-completed-status .status-badge.completed,\n.wholesale-order-detail .shipping-completed-status .status-badge.completed {\n color: #53c31b;\n}\n.wholesale-order-detail .allocation-completed-status .status-badge.completed mat-icon,\n.wholesale-order-detail .shipping-completed-status .status-badge.completed mat-icon {\n color: #53c31b;\n font-size: 20px;
1\n width: 20px;\n height: 20px;\n}']})],xy);let Sy=class{constructor(t,e,a,r,i){this.allocationService=t,this.route=e,this.router=a,this.loadingService=r,this.messageService=i,this.displayedColumns=["id","order_id","status","total_quantity","actions"],this.dataSource=new $e.by([]),this.pageInfo={total:0,page:1,pageSize:20}}ngOnInit(){const t=this.route.snapshot.queryParamMap.get("order_id");t&&(this.orderIdFilter=Number(t)),this.loadAllocations()}loadAllocations(){this.loadingService.openDialog();const t={page:this.pageInfo.page,pageSize:this.pageInfo.pageSize};this.orderIdFilter&&(t.order_id=this.orderIdFilter),this.allocationService.getAllocationList(t).subscribe(e=>{const a=e?.data||e?.list||[];this.dataSource.data=Array.isArray(a)?a:[],this.pageInfo.total=e?.total||this.dataSource.data.length,this.loadingService.hideDialog()},()=>{this.loadingService.hideDialog(),this.messageService.error("\u52a0\u8f7d\u914d\u8d27\u5355\u5217\u8868\u5931\u8d25")})}viewDetail(t){const e=t.id||t.allocation_id;e?this.router.navigate(["/shop/allocation/detail",e]):this.messageService.info("\u7f3a\u5c11\u914d\u8d27\u5355ID")}};Sy.ctorParameters=()=>[{type:ms},{type:It.gz},{type:It.F0},{type:Qe.E},{type:ne.I}],Sy=(0,j.gn)([(0,m.wA2)({selector:"app-allocation-list",template:'<div class="allocation-list container-fluid">\n <h2>{{ \'allocation_list_title\' | translate }}</h2>\n\n <table mat-table [dataSource]="dataSource" class="mat-elevation-z1">\n <ng-container matColumnDef="id">\n <th mat-header-cell *matHeaderCellDef>ID</th>\n <td mat-cell *matCellDef="let row">{{ row.id || row.allocation_id }}</td>\n </ng-container>\n\n <ng-container matColumnDef="order_id">\n <th mat-header-cell *matHeaderCellDef>{{ \'Order-number\' | translate }}</th>\n <td mat-cell *matCellDef="let row">{{ row.order_id }}</td>\n </ng-container>\n\n <ng-container matColumnDef="status">\n <th mat-header-cell *matHeaderCellDef>{{ \'Order-Status\' | translate }}</th>\n <td mat-cell *matCellDef="let row">{{ row.status }}</td>\n </ng-container>\n\n <ng-container matColumnDef="total_quantity">\n <th mat-header-cell *matHeaderCellDef>{{ \'product_quantity\' | translate }}</th>\n <td mat-cell *matCellDef="let row">{{ row.total_quantity }}</td>\n </ng-container>\n\n <ng-container matColumnDef="actions">\n <th mat-header-cell *matHeaderCellDef>{{ \'common_actions\' | translate }}</th>\n <td mat-cell *matCellDef="let row">\n <button mat-button color="primary" (click)="viewDetail(row)">\n {{ \'common_detail\' | translate }}\n </button>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>\n </table>\n</div>\n\n',styles:[".allocation-list h2 {\n margin-bottom: 16px;\n}\n.allocation-list table {\n width: 100%;\n}"]})],Sy);const Awt=[{path:"",component:Fu,children:[{path:"",redirectTo:"shop-overview",pathMatch:"full"},{path:"shop-overview",component:Dg},{path:"store",loadChildren:()=>F.e(936).then(F.bind(F,81936)).then(n=>n.StoreModule)},{path:"employee",loadChildren:()=>F.e(157).then(F.bind(F,39157)).then(n=>n.EmployeeModule)},{path:"promotion",loadChildren:()=>F.e(689).then(F.bind(F,40689)).then(n=>n.PromotionModule)},{path:"campaign",loadChildren:()=>Promise.all([F.e(592),F.e(964)]).then(F.bind(F,92964)).then(n=>n.CampaignModule)},{path:"template",loadChildren:()=>Promise.all([F.e(592),F.e(181)]).then(F.bind(F,53181)).then(n=>n.TemplateModule)},{path:"membership",loadChildren:()=>F.e(468).then(F.bind(F,73468)).then(n=>n.MembershipModule)},{path:"stock",loadChildren:()=>F.e(613).then(F.bind(F,20613)).then(n=>n.StockModule)},{path:"finance",loadChildren:()=>F.e(156).then(F.bind(F,61156)).then(n=>n.FinanceModule)},{path:"customer",loadChildren:()=>F.e(262).then(F.bind(F,29262)).then(n=>n.CustomerModule)},{path:"b2b-finance",loadChildren:()=>Promise.all([F.e(171),F.e(388)]).then(F.bind(F,92388)).then(n=>n.B2bFinanceModule)},{path:"b2b-fulfillment",loadChildren:()=>
1Promise.all([F.e(171),F.e(592),F.e(462)]).then(F.bind(F,23462)).then(n=>n.B2bFulfillmentModule)},{path:"b2b-returns",loadChildren:()=>Promise.all([F.e(171),F.e(592),F.e(774)]).then(F.bind(F,86774)).then(n=>n.B2bReturnsModule)},{path:"purchase/quick-purchase",component:xh,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt"},{translateKey:"nav_purchaseMgmt_quickPurchase"}]},{path:"purchase/quick-purchase/add",component:Kc,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt"},{translateKey:"nav_purchaseMgmt_quickPurchase",pathName:"/shop/purchase/quick-purchase"},{translateKey:"common_add"}]},{path:"purchase/manual-purchase",component:Eg,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt"},{translateKey:"nav_purchaseMgmt_purchaseOrders",pathName:"/shop/purchase/manual-purchase"}]},{path:"purchase/manual-purchase/add",component:ih,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt"},{translateKey:"nav_purchaseMgmt_purchaseOrders",pathName:"/shop/purchase/manual-purchase"},{translateKey:"common_add"}]},{path:"purchase/manual-purchase/detail/:id",component:GO.E,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt",pathName:""},{translateKey:"nav_purchaseMgmt_purchaseOrders",pathName:"/shop/purchase/manual-purchase"},{translateKey:"common_detail"}]},{path:"purchase/purchas-and-sales-return/detail/:id",component:rR.u,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt",pathName:""},{translateKey:"nav_purchaseMgmt_purchaseAndSalesReturn",pathName:"/shop/purchase/purchas-and-sales-return"},{translateKey:"common_detail"}]},{path:"stock/inventory/purchas-and-sales-return/detail/:id",component:rR.u,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt",pathName:""},{translateKey:"nav_purchaseMgmt_purchaseAndSalesReturn",pathName:"/shop/purchase/purchas-and-sales-return"},{translateKey:"common_detail"}]},{path:"purchase/manual-purchase/edit/:id",component:Sh,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt",pathName:""},{translateKey:"nav_purchaseMgmt_purchaseOrders",pathName:"/shop/purchase/manual-purchase"},{translateKey:"common_edit"}]},{path:"purchase/manual-purchase/auto-replenishment",component:Wc,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt",pathName:""},{translateKey:"nav_purchaseMgmt_purchaseOrders",pathName:"/shop/purchase/manual-purchase"},{translateKey:"Auto Replenishment"}]},{path:"purchase/smart-procument/edit/:id",component:Wc,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt",pathName:""},{translateKey:"nav_purchaseMgmt_Purchase",pathName:"/shop/purchase/manual-purchase"},{translateKey:"common_add"}]},{path:"purchase/guide-purchase",component:kh,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt"},{translateKey:"nav_purchaseMgmt_purchaseGuide"}]},{path:"purchase/suggest-purchase",component:Ch,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt"},{translateKey:"nav_purchaseMgmt_purchaseSuggest"}]},{path:"purchase/suggest-purchase/add",component:Jc,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt"},{translateKey:"nav_purchaseMgmt_purchaseSuggest",pathName:"/shop/purchase/suggest-purchase"},{translateKey:"common_add"}]},{path:"purchase/suggest-purchase/edit/:id",component:Jc,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt"},{translateKey:"nav_purchaseMgmt_purchaseSuggest",pathName:"/shop/purchase/suggest-purchase"},{translateKey:"common_edit"}]},{path:"purchase/orders",component:rv},{path:"purchase/guide-purchase",component:kh,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt_purchaseGuide"},{translateKey:"nav_purchaseMgmt_purchaseGuide",pathName:"/shop/purchase/guide-purchase"}]},{path:"purchase/purchas-and-sales-return-add",component:Th,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt",pathName:""},{translateKey:"nav_purchaseMgmt_purchaseAndSalesReturn",pathName:"/shop/purchase/purchas-and-sales-return"},{translateKey:"common_add"}]},{path:"stock/inventory/purchas-and-sales-return/edit/:id",component:Ph,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt",pathName:""},{translateKey:"nav_purchaseMgmt_purchaseAndSalesReturn",pathName:"/shop/purchase/purchas-and-sales-return"},{translateKey:"common_edit"}]},{path:"purchase/purchas-and-sales-return/edit/:id",component:Ph,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt",pathName:""},{translateKey:"nav_purchaseMgmt_purchaseAndSalesReturn",pathName:"/shop/purchase/purchas-and-sales-return"},{translateKey:"common_edit"}]},{path:"add-return-out",component:nR.n},{path:"return-warehouse-in",component:Rk.L},{path:"return-warehouse/add-return",component:pv},{path:"purchase/purchas-and-sales-return",component:ov,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt",pathName:""},{translateKey:"nav_purchaseMgmt_purchaseAndSalesReturn",pathName:""}]},{path:"error/:code",component:IQ.a},{path:"advertisement",component:zu},{path:"calendar",component:fh},{path:"add-fund",component:Bu},{path:"store-categories",component:mv,breadCrumbsArray:[{translateKey:"nav_productMgmt"},{translateKey:"nav_productMgmt_storeCategory"}]},{path:"store-categories/system",component:vv,breadCrumbsArray:[{translateKey:"nav_productMgmt"},{translateKey:"nav_productMgmt_storeCategory",pathName:"/shop/store-categories"},{translateKey:"nav_productMgmt_storeCategory_system"}]},{path:"store-categories/add",component:fv,breadCrumbsArray:[{translateKey:"nav_productMgmt"},{translateKey:"nav_productMgmt_storeCategory",pathName:"/shop/store-categories"},{translateKey:"common_add"}]},{path:"store-categories/edit/:id",component:gv,breadCrumbsArray:[{translateKey:"nav_productMgmt"},{translateKey:"nav_productMgmt_storeCategory",pathName:"/shop/store-categories"},{translateKey:"common_edit"}]},{path:"store-categories/chain",component:Av,breadCrumbsArray:[{translateKey:"nav_productMgmt"},{translateKey:"nav_productMgmt_storeCategory",pathName:"/shop/store-categories"},{translateKey:"nav_productMgmt_storeCategory_chain"}]},{path:"chain-categories",component:yv,breadCrumbsArray:[{translateKey:"nav_productMgmt"},{translateKey:"nav_productMgmt_chainCategory"}]},{path:"chain-categories/system",component:bv,breadCrumbsArray:[{translateKey:"nav_productMgmt"},{translateKey:"nav_productMgmt_chainCategory",pathName:"/shop/chain-categories"},{translateKey:"nav_productMgmt_storeCategory_system"}]},{path:"online-advertisement",component:sh},{path:"online-advertisement-images",component:Wg},{path:"filter-physical-inventory",component:_v},{path:"online-products",component:qc},{path:"online-products",component:qc},{path:"import-products",component:lh},{path:"stock-management",component:dh},{path:"online-cash-register",loadChildren:()=>F.e(869).then(F.bind(F,78869)).then(n=>n.CashRegisterModule)},{path:"expired-products",component:$p},{path:"warn-products",component:Ug,breadCrumbsArray:[{translateKey:"nav_inventoryAlert"},{translateKey:"nav_inventoryAlert_quantityAlert"}]},{path:"expiration-alert",component:NQ.C,breadCrumbsArray:[{translateKey:"nav_inventoryAlert"},{translateKey:"nav_inventoryAlert_expirationAlert"}]},{path:"products-component",component:Wp},{path:"purchase",component:qu},{path:"sales-out",component:tR._},{path:"transfert-accept",component:uv},{path:"purchase-return",component:eR.v},{path:"purchase/add",component:$O.n,breadCrumbsArray:[{translateKey:"nav_stockInOut_stockInDetail
1s_purchaseInbound",pathName:"/shop/purchase"},{translateKey:"Add Purchase"}]},{path:"suppliers-list",component:ah},{path:"supplier-full-details/:id",component:nh},{path:"my-suppliers",component:Vg,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt"},{translateKey:"nav_purchaseMgmt_suppilerMgmt"},{translateKey:"nav_purchaseMgmt_suppilerMgmt_mySupplier"}]},{path:"my-suppliers/edit/:id",component:Gc,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt"},{translateKey:"nav_purchaseMgmt_suppilerMgmt"},{translateKey:"nav_purchaseMgmt_suppilerMgmt_mySupplier",pathName:"/shop/my-suppliers"},{translateKey:"common_edit"}]},{path:"my-suppliers/add",component:Gc,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt"},{translateKey:"nav_purchaseMgmt_suppilerMgmt"},{translateKey:"nav_purchaseMgmt_suppilerMgmt_mySupplier",pathName:"/shop/my-suppliers"},{translateKey:"common_add"}]},{path:"my-suppliers/details/:id",component:nh,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt"},{translateKey:"nav_purchaseMgmt_suppilerMgmt"},{translateKey:"nav_purchaseMgmt_suppilerMgmt_mySupplier",pathName:"/shop/my-suppliers"},{translateKey:"common_detail"}]},{path:"my-wishlist",component:zg},{path:"shop-product-details/:id",component:Rg},{path:"products-list",component:Fg},{path:"images-gallery",component:Ti,breadCrumbsArray:[{translateKey:"nav_productMgmt"},{translateKey:"nav_productMgmt_imageGallery"}]},{path:"purshased",component:eh},{path:"invalid-orders",component:vg},{path:"valid-orders",component:bg},{path:"paid-orders",component:yg},{path:"order-full-details/:id",component:Ag},{path:"products",component:Ng,breadCrumbsArray:[{translateKey:"nav_productMgmt"},{translateKey:"nav_productList"}]},{path:"products/add",component:Xp,breadCrumbsArray:[{translateKey:"nav_productMgmt"},{translateKey:"nav_productList",pathName:"/shop/products"},{translateKey:"common_add"}]},{path:"products/:id",component:Lg,breadCrumbsArray:[{translateKey:"nav_productMgmt"},{translateKey:"nav_productList",pathName:"/shop/products"},{translateKey:"common_detail"}]},{path:"products/edit/:id",component:th,breadCrumbsArray:[{translateKey:"nav_productMgmt"},{translateKey:"nav_productList",pathName:"/shop/products"},{translateKey:"common_edit"}]},{path:"affect-categories",component:Yp},{path:"categories",component:Og},{path:"my-categories",component:Qp,breadCrumbsArray:[{translateKey:"nav_productMgmt_categoryMgmt",pathName:"/categories"},{translateKey:"nav_productMgmt_categoryMgmt_myCategory"}]},{path:"my-categories/:id/sub-categories",component:Qp,breadCrumbsArray:[{translateKey:"nav_productMgmt_categoryMgmt",pathName:"/categories"},{translateKey:"nav_productMgmt_categoryMgmt_myCategory"}]},{path:"my-categories/edit/:id/:direction/:parent_id",component:Mg,breadCrumbsArray:[{translateKey:"nav_productMgmt_categoryMgmt",pathName:"/categories"},{translateKey:"nav_productMgmt_categoryMgmt_myCategory",pathName:"/my-categories"},{translateKey:"common_edit"}]},{path:"my-categories/add/:parent_id",component:Bc,breadCrumbsArray:[{translateKey:"nav_productMgmt_categoryMgmt",pathName:"/categories"},{translateKey:"nav_productMgmt_categoryMgmt_myCategory",pathName:"/my-categories"},{translateKey:"common_add"}]},{path:"product-categories",component:Xg},{path:"cart",component:Bf},{path:"checkout",component:jf},{path:"download-quick-purchase/:id",component:nv},{path:"quick-add-product",component:mh},{path:"add-quick-purchase",component:Kc},{path:"quick-purchase",component:gh},{path:"my-account",component:Qf,breadCrumbsArray:[{translateKey:"User-information"}]},{path:"marketing-file",component:Kg},{path:"builling",component:qg},{path:"builling-order/:id",component:Hg},{path:"revenues",component:Ku,breadCrumbsArray:[{translateKey:"nav_accounting"},{translateKey:"sales-income"}]},{path:"expenses",component:ph,breadCrumbsArray:[{translateKey:"nav_accounting"},{translateKey:"nav_accounting_expenses"}]},{path:"expenses/accounts-payable/add",component:yc,breadCrumbsArray:[{translateKey:"nav_accounting"},{translateKey:"nav_accounting_expenses",pathName:"/shop/expenses"},{translateKey:"common_add_fund"}]},{path:"expenses/accounts-payable/edit/:id",component:yc,breadCrumbsArray:[{translateKey:"nav_accounting"},{translateKey:"nav_accounting_expenses",pathName:"/shop/expenses"},{translateKey:"common_edit_fund"}]},{path:"payment-methods",component:Kf,breadCrumbsArray:[{translateKey:"nav_accounting"},{translateKey:"nav_accounting_paymentMethods"}]},{path:"payment-reasons",component:$g,breadCrumbsArray:[{translateKey:"nav_accounting"},{translateKey:"nav_accounting_paymentReason"}]},{path:"useraccount",component:jp,breadCrumbsArray:[{translateKey:"nav_myAccount"},{translateKey:"nav_myAccount_profile"}]},{path:"shipping-address",component:oh},{path:"products-supplier-list-s2c",component:Jg,breadCrumbsArray:[{translateKey:"nav_purchaseMgmt_suppilerMgmt_viewProductBySupplier"}]},{path:"contact-s2c",component:Yg},{path:"orders-list",breadCrumbsArray:[{translateKey:"nav_salesMgmt"},{translateKey:"nav_salesMgmt_orderList"}],component:Gp},{path:"orders-list/detail/:id",breadCrumbsArray:[{translateKey:"nav_salesMgmt"},{translateKey:"nav_salesMgmt_orderList",pathName:"/shop/orders-list"},{translateKey:"common_detail"}],component:O9.a},{path:"allocation/list",component:Sy},{path:"allocation/detail/:id",component:pu},{path:"allocation/create/:orderId",component:Wl},{path:"orders-list-stockOutDetails",breadCrumbsArray:[{translateKey:"nav_stockInOut_stockOutDetails_salesOutbound"}],component:Gp},{path:"b2b-orders-list",breadCrumbsArray:[{translateKey:"nav_salesMgmt"},{translateKey:"nav_salesMgmt_b2borderList"}],component:_y},{path:"wholesale-order-management",breadCrumbsArray:[{translateKey:"nav_salesMgmt"},{translateKey:"nav_salesMgmt_wholesaleOrderManagement"}],component:jm},{path:"wholesale-order-management/detail/:id",breadCrumbsArray:[{translateKey:"nav_salesMgmt"},{translateKey:"nav_salesMgmt_wholesaleOrderManagement",pathName:"/shop/wholesale-order-management"},{translateKey:"common_detail"}],component:xy},{path:"b2b-orders-list/detail/:id",breadCrumbsArray:[{translateKey:"nav_salesMgmt"},{translateKey:"nav_salesMgmt_b2borderList",pathName:"/shop/b2b-orders-list"},{translateKey:"common_detail"}],component:R9.M},{path:"sales-report",breadCrumbsArray:[{translateKey:"nav_salesMgmt"},{translateKey:"nav_salesMgmt_salesReport"}],component:yh},{path:"sales-trend",breadCrumbsArray:[{translateKey:"nav_salesMgmt"},{translateKey:"sales_trend"}],component:qm},{path:"product-sales-history-report",breadCrumbsArray:[{translateKey:"Product Sales History Report"},{translateKey:"Product Sales History Report"}],component:wh},{path:"product-change-history",breadCrumbsArray:[{translateKey:"Product Change History"},{translateKey:"Product Change History"}],component:dv},{path:"reports-by-category-new",breadCrumbsArray:[{translateKey:"nav_salesMgmt"},{translateKey:"nav_salesMgmt_reportsByCategory"}],component:Ah},{path:"reports-by-cashier",breadCrumbsArray:[{translateKey:"nav_salesMgmt"},{translateKey:"nav_salesMgmt_reportsByCashier"}],component:vh},{path:"reports-by-supplier",breadCrumbsArray:[{translateKey:"nav_salesMgmt"},{translateKey:"nav_salesMgmt_reportsBySupplier"}
1],component:bh},{path:"reports-by-cash-register",breadCrumbsArray:[{translateKey:"nav_salesMgmt"},{translateKey:"nav_salesMgmt_reportsByCashRegister"}],component:_h},{path:"supplier-product-details/:supplier_id",component:lv},{path:"category-product-details/:category_id",component:cv},{path:"detail-other-inbound/:id",component:xv},{path:"bulk-sale",loadChildren:()=>F.e(394).then(F.bind(F,6394)).then(n=>n.BulkSaleModule)},{path:"subscription",component:Hm}]}];let sM=class{};sM=(0,j.gn)([(0,m.LVF)({imports:[It.Bz.forChild(Awt)],exports:[It.Bz]})],sM);let wy=class{constructor(t){this.shopmanagerService=t,this.newsalesmanager=new m.vpe}ngOnInit(){}addshopmanager(t,e,a,r){t&&e&&a&&r?this.shopmanagerService.saveShopManager({first_name:t,last_name:e,email:a,password:r,role_id:4}).subscribe(o=>{}):alert("please insert the required inputs")}};wy.ctorParameters=()=>[{type:Gf.S}],wy.propDecorators={newsalesmanager:[{type:m.r_U}],currentShopmanager:[{type:m.IIB}]},wy=(0,j.gn)([(0,m.wA2)({selector:"app-add-shopmanager",template:'<div class="mainContainer">\n <h3 class="sales-manager-title"> Add a new shop manager</h3>\n <form class="add-sales-manager" autocomplete="off">\n <p>\n <mat-form-field appearance="outline" class="add-sales-manager">\n <mat-label>First Name</mat-label>\n <input matInput placeholder="First Name" cols="4" rowHeight="100px" #first_name>\n </mat-form-field>\n </p>\n <p>\n <mat-form-field appearance="outline" class="add-sales-manager">\n <mat-label>Last Name</mat-label>\n <input matInput placeholder="Sale\'s Manager Name" cols="4" rowHeight="100px" #last_name>\n </mat-form-field>\n </p>\n <p>\n <mat-form-field appearance="outline" class="add-sales-manager">\n <mat-label>Email</mat-label>\n <input type="email" matInput placeholder="Email" cols="4" rowHeight="100px" #email>\n </mat-form-field>\n </p>\n <p>\n <mat-form-field appearance="outline" class="add-sales-manager">\n <mat-label>Password</mat-label>\n <input type="password" matInput placeholder="Password" cols="4" rowHeight="100px" #password>\n </mat-form-field>\n </p>\n <p>\n <mat-form-field appearance="outline" class="add-sales-manager">\n <mat-label>Confirm Password</mat-label>\n <input type="password" matInput placeholder="Confirm Password" cols="4" rowHeight="100px">\n </mat-form-field>\n </p>\n\n <mat-form-field>\n <mat-label>Select a Shop</mat-label>\n\n <div class="dropboxShop" id="cont1">\n <mat-select id="sel1" #fontSize value="Shop1" multiple>\n <mat-option value="Shop 2">SHOP 2</mat-option>\n <mat-option value="Shop 3">SHOP 3</mat-option>\n <mat-option value="Shop 4">SHOP 4</mat-option>\n <mat-option value="Shop 5">SHOP 5</mat-option>\n\n </mat-select>\n\n </div>\n\n </mat-form-field>\n\n <label id="selitems" value="sel1" placeholder="cont1"> </label>\n\n\n <script>\n $(function () {\n\n $(\'#sel1\').on(\'click\', function (e) {\n\n if ($(this).is(\':selected\')) {\n $(\'<input value="\' + $(this).val() + \'" />\').appendTo(\'#sel1\');\n }\n\n });\n\n });\n <\/script>\n\n\n\n <div class="example-button-row show-on-mobile">\n <button (click)="addshopmanager(first_name.value, last_name.value, email.value, password.value)"\n mat-raised-button color="primary">Validate</button>\n <button mat-dialog-close mat-raised-button color="warn" class="boutton-cancel">Cancel</button>\n </div>\n\n\n </form>\n</div>',styles:[".mainContainer {\n background-color: white;\n margin-top: 150px;\n padding: 20px;\n}"]})],wy);let C1=class{constructor(){}ngOnInit(){}};C1.ctorParameters=()=>[],C1=(0,j.gn)([(0,m.wA2)({selector:"app-shopmanager-modals",template:"<p>shopmanager-modals works!</p>\n",styles:[""]})],C1);let ky=class{constructor(t,e,a){this.datepipe=t,this.orderService=e,this.chainService=a,this.store_id=parseInt(localStorage.getItem("store_id")),this.chain_id=parseInt(localStorage.getItem("chainInit")),this.month=(new Date).getMonth()+1,this.year=(new Date).getFullYear(),this.storeInit=localStorage.getItem("store_id")}ngOnInit(){this.onGetOrders(1),this.onGetChainsList();var t=new Date((new Date).getFullYear(),(new Date).getMonth(),1);this.firstDay=this.datepipe.transform(t,"yyyy-MM-dd"),this.currentDay=this.datepipe.transform(new Date,"yyyy-MM-dd"),this.onGetStatOrdQuant(this.chain_id,this.storeInit,this.currentDay,this.currentDay),this.onGetStatOrdQuantMon(this.chain_id,this.storeInit,this.firstDay,this.currentDay)}onGetChainsList(){return this.chainService.getChainsList().subscribe(t=>{this.chainsList=t,this.chainData=this.chainsList.data,this.chainInit=this.chainData[0].id,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}onGetStatOrdQuant(t,e,a,r){this.chainInit=t;var i={start:this.currentDay,end:this.currentDay,chain_id:this.chainInit,store_id:this.storeInit};this.orderService.getStatOrdQuant(i).subscribe(o=>{this.statord=o,0===this.statord.data.days.length?this.day=0:this.day=this.statord.data.days[0].total,0===this.statord.data.years.length?this.statordyear=0:this.statordyear=this.statord.data.years[0].total},o=>{console.log(o)})}onGetStatOrdQuantMon(t,e,a,r){this.chainInit=t;var i={start:this.firstDay,end:this.currentDay,chain_id:this.chainInit,store_id:this.storeInit};return this.orderService.getStatOrdQuant(i).subscribe(o=>{this.statord=o,0===this.statord.data.total||0===this.statord.data.months.length?this.statordmonth=0:this.statordmonth=this.statord.data.months[0].total},o=>{console.log(o)})}onGetOrders(t){return this.orderService.getOrdersCashRegister(1).subscribe(e=>{this.orders=e,this.OrdersLenghth=this.orders.total},e=>{console.log(e)})}};ky.ctorParameters=()=>[{type:Q.uU},{type:bn.C},{type:Oe.l}],ky.propDecorators={_datePicker:[{type:m.i9L,args:["MatCalendar",{static:!0}]}]},ky=(0,j.gn)([(0,m.wA2)({selector:"app-orders-card",template:'<div class="rounded p-3 mb-1 ">\n <div class="row">\n <div class="col">\n <div class="card-box bg-green rounded-lg ">\n <div class="inner">\n <h3>{{OrdersLenghth}}</h3>\n <h6>{{\'all-orders\' | translate }}</h6>\n </div>\n </div>\n </div>\n \n <div class="col">\n <div class="card-box bg-green rounded-lg ">\n <div class="inner">\n <h3>{{day}}</h3>\n <h6>{{"orders-by-day" | translate }}</h6>\n <h6 style="float: right;">{{currentDay}}</h6>\n </div>\n </div>\n </div>\n <div class="col">\n <div class="card-box bg-green rounded-lg ">\n <div class="inner">\n <h3>{{statordmonth}}</h3>\n <h6>{{"orders-by-month" | translate }}</h6>\n <h6 style="float: right;">{{month}}</h6>\n\n </div>\n </div>\n </div>\n <div class="col">\n <div class="card-box bg-green rounded-lg ">\n <div class="inner">\n <h3>{{statordyear}}</h3>\n <h6>{{"orders-by-year" | translate }}</h6>\n <h6 style="float: right;">{{year}}</h6>\n </div>\n </div>\n </div>\n </div>\n </div>',styles:[".card-box {\n position: relative;\n color: white;\n padding: 20px 20px 20px 20px;\n background-color: #a00000;\n height: 130px;\n}"]})],ky);let Cy=class{constructor(t,e,a,r){this.shopCashierService=t,this.orderService=e,this.datepipe=a,this.chainService=r,this.store_id=parseInt(localStorage.getItem("store_id")),this.Series3=[],this.categories3=[]}
1ngOnInit(){this.onGetChainsList(),this.getShopcachiersList(),this.chart5Options={series:[{name:"Amount By Cashier",data:this.Series3}],chart:{height:350,type:"bar"},plotOptions:{bar:{dataLabels:{position:"top"}}},dataLabels:{offsetY:-20,style:{fontSize:"12px",colors:["#304758"]}},xaxis:{categories:this.categories3,position:"top",labels:{offsetY:-18},axisBorder:{show:!1},axisTicks:{show:!1},crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0,offsetY:-35}},fill:{type:"gradient",gradient:{shade:"light",type:"horizontal",shadeIntensity:.25,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1}},yaxis:{axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,formatter:function(t){return t+"%"}}}}}getShopcachiersList(){return this.shopCashierService.getCashierList().subscribe(t=>{this.shopcachiersList=t,localStorage.setItem(this.shopcachiersList[0].id,"cashierInit")},t=>{console.log(t)})}onGetChainsList(){return this.chainService.getChainsList().subscribe(t=>{this.chainsList=t,this.chainData=this.chainsList.data,this.chainInit=this.chainData[0].id,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}onGetAmountordersCashier(t,e,a,r){this.Series3=[],this.categories3=[];var s={start:this.datepipe.transform(t,"yyyy-MM-dd"),end:this.datepipe.transform(e,"yyyy-MM-dd"),store_id:this.store_id,chain_id:a,cachier_id:r};this.orderService.getStatOrderAmountCashier(s).subscribe(l=>{this.ordersList=l,this.ordersData=this.ordersList.data,this.ordersData.days.forEach(c=>{this.Series3.push(c.income),this.categories3.push(c.period)}),this.chart5Options={...this.chart5Options,series:[{name:"Amount By Cashier",data:this.Series3}],xaxis:{categories:this.categories3}}},l=>{console.log(l)})}};Cy.ctorParameters=()=>[{type:kg.f},{type:bn.C},{type:Q.uU},{type:Oe.l}],Cy=(0,j.gn)([(0,m.wA2)({selector:"app-stat-ordercashiers",template:'<app-orders-card></app-orders-card>\n\n<div class="row">\n<div class="col-md-12">\n <mat-card class="bg-white rounded-lg">\n <h5> {{\'Orders amount by cashier\'| translate }} </h5>\n <form action="" novalidate>\n <mat-form-field appearance="outline" style="width: 20%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker5" #date1 />\n <mat-datepicker-toggle matSuffix [for]="picker5"></mat-datepicker-toggle>\n <mat-datepicker #picker5></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width: 20%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker6" #date2 />\n <mat-datepicker-toggle matSuffix [for]="picker6"></mat-datepicker-toggle>\n <mat-datepicker #picker6></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width: 20%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chai_id>\n\n <mat-option value=0>--{{\'None\'|translate}}--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 20%;margin-right: 2%;">\n <mat-label>{{\'Cashiers\'|translate}}</mat-label>\n <mat-select #cachier_id>\n\n <mat-option value=0>--{{\'None\'|translate}}--</mat-option>\n <mat-option *ngFor="let cachier of shopcachiersList" [value]="cachier.id">\n {{cachier.first_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n <button mat-raised-button style="border: 1px solid #a00000; color: #a00000; padding: 12px 14px 8px 14px;\n font-size: 20px;"\n (click)="onGetAmountordersCashier(date1.value,date2.value,chai_id.value,cachier_id.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n <div>\n <apx-chart [series]="chart5Options.series" [chart]="chart5Options.chart"\n [dataLabels]="chart5Options.dataLabels" [plotOptions]="chart5Options.plotOptions"\n [yaxis]="chart5Options.yaxis" [xaxis]="chart5Options.xaxis" [fill]="chart5Options.fill"\n [title]="chart5Options.title"></apx-chart>\n </div>\n </mat-card>\n</div>\n</div>',styles:[""]})],Cy);(0,Q.p6)(new Date,"yyyy/MM/dd","en");let Gm=class{constructor(t,e,a,r){this.datepipe=t,this.categoriesService=e,this.productService=a,this.chainService=r,this.store_id=parseInt(localStorage.getItem("store_id")),this.chain_id=parseInt(localStorage.getItem("chainInit")),this.barchart=!1,this.linechart=!0,this.SeriesB=[],this.categoriesB=[],this.formData=new FormData}ngOnInit(){this.onGetChainsList();var t=new Date,e=new Date(t.getFullYear(),t.getMonth(),t.getDate()-2);this.onGetgrossProfit(this.chain_id,e,t),this.linechart=!0,this.chart3Options={series:[{name:"Profit",data:[10,20]}],chart:{height:350,type:"bar"},plotOptions:{bar:{dataLabels:{position:"bottom"}}},xaxis:{categories:this.categoriesB,position:"top",labels:{offsetY:-18},axisBorder:{show:!1},axisTicks:{show:!1}
1,crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0,offsetY:-35}},fill:{type:"gradient",gradient:{shade:"light",type:"horizontal",shadeIntensity:.25,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1}},yaxis:{axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1}}},this.getCategoriesList()}onGetChainsList(){return this.chainService.getChainsList().subscribe(t=>{this.chainsList=t,this.chainData=this.chainsList.data,this.chainInit=this.chainData[0].id,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}getCategoriesList(){this.categoriesService.getCategories().subscribe(t=>{this.categoriesList=t,this.categoryData=this.categoriesList.data})}barChart(){this.barchart=!0,this.linechart=!1}lineChart(){this.linechart=!0,this.barchart=!1}onGetgrossProfit(t,e,a){this.SeriesB=[],this.categoriesB=[];var o={start:this.datepipe.transform(e,"yyyy-MM-dd"),end:this.datepipe.transform(a,"yyyy-MM-dd"),chain_id:t,store_id:this.store_id};this.productService.getStatSalesProfit(o).subscribe(s=>{this.productList=s,this.productData=this.productList.data,this.productData.days.forEach(l=>{this.SeriesB.push(l.profit),this.categoriesB.push(l.period)}),this.chart3Options={...this.chart3Options,series:[{name:"Profit",data:this.SeriesB}],xaxis:{categories:this.categoriesB}}},s=>{console.log(s)})}};Gm.ctorParameters=()=>[{type:Q.uU},{type:Ee.G},{type:Je.r},{type:Oe.l}],Gm.propDecorators={chart:[{type:m.i9L,args:["chart"]}],chart2:[{type:m.i9L,args:["chart2"]}]},Gm=(0,j.gn)([(0,m.wA2)({selector:"app-stat-ordersprofit",template:'\n<app-orders-card></app-orders-card>\n\n <div class="row">\n <div class="col-md-12">\n <mat-card id="chart" class="bg-white rounded-lg p-5 ">\n <h5> {{"Gross Profit"| translate }} </h5>\n\n <form action="" novalidate>\n <mat-form-field appearance="outline" style="width: 25%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker3" #fromdate />\n <mat-datepicker-toggle matSuffix [for]="picker3"></mat-datepicker-toggle>\n <mat-datepicker #picker3></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width: 25%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker4" #todate />\n <mat-datepicker-toggle matSuffix [for]="picker4"></mat-datepicker-toggle>\n <mat-datepicker #picker4></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width: 25%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain_id>\n\n <mat-option value=0>--None--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n <button mat-raised-button style="border: 1px solid #a00000; color: #a00000; padding: 12px 14px 8px 14px;\n font-size: 20px;"\n (click)="onGetgrossProfit(chain_id.value,fromdate.value,todate.value)"> {{\'Validate\'|translate}}</button>\n\n </form>\n \x3c!-- <div *ngIf="linechart">\n <apx-chart [series]="chart2Options.series" [chart]="chart2Options.chart"\n [xaxis]="chart2Options.xaxis" [stroke]="chart2Options.stroke" [tooltip]="chart2Options.tooltip"\n [dataLabels]="chart2Options.dataLabels"></apx-chart>\n </div>\n <div *ngIf="barchart"> --\x3e\n <apx-chart [series]="chart3Options.series" [chart]="chart3Options.chart"\n [dataLabels]="chart3Options.dataLabels" [plotOptions]="chart3Options.plotOptions"\n [yaxis]="chart3Options.yaxis" [xaxis]="chart3Options.xaxis" [fill]="chart3Options.fill"\n [title]="chart3Options.title"></apx-chart>\n \x3c!-- </div> --\x3e\n \n </mat-card>\n </div>\n\n\n </div>\n',styles:[""]})],Gm);(0,Q.p6)(new Date,"yyyy/MM/dd","en");let Km=class{constructor(t,e,a,r,i){this.datepipe=t,this.categoriesService=e,this.orderService=a,this.chainService=r,this.ShopCashierService=i,this.store_id=parseInt(localStorage.getItem("store_id")),this.chain_id=parseInt(localStorage.getItem("chainInit")),this.cashierInit=parseInt(localStorage.getItem("cashierInit")),this.barchart=!0,this.areachart=!1,this.Series2=[],this.categories2=[],this.formData=new FormData}ngOnInit(){this.onGetChainsList();var t=new Date,e=new Date(t.getFullYear(),t.getMonth(),t.getDate()-7);this.onGetAmountorders(e,t),this.chart3Options={series:[{name:"series1",data:this.Series2}],chart:{height:350,type:"area"},dataLabels:{enabled:!1},stroke:{curve:"smooth"},xaxis:{type:"datetime",categories:this.categories2},tooltip:{x:{format:"dd/MM/yy HH:mm"}}},this.chart4Options={series:[{name:"basic",data:this.Series2}],chart:{type:"bar",height:350},plotOptions:{bar:{horizontal:!0}},dataLabels:{enabled:!1},xaxis:{categories:this.categories2}}}onGetChainsList(){return this.chainService.getChainsList().subscribe(t=>{this.chainsList=t,this.chainData=this.chainsList.data,this.chainInit=this.chainData[0].id,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}barChart(){this.barchart=!0,this.areachart=!1}AreaChart(){this.areachart=!0,this.barchart=!1}onGetAmountorders(t,e){this.Series2=[],this.categories2=[];var i={start:this.datepipe.transform(t,"yyyy-MM-dd"),end:this.datepipe.transform(e,"yyyy-MM-dd"),store_id:this.store_id};this.orderService.getStatOrderAmount(i).subscribe(o=>{this.ordersList=o,this.ordersData=this.ordersList.data,this.ordersData.days.forEach(s=>{this.Series2.push(s.income),this.categories2.push(s.period)}),this.chart3Options={...this.chart3Options,series:[{name:"Amount",data:this.Series2}],xaxis:{categories:this.categories2}},this.chart4Options={...this.chart4Options,series:[{name:"Amount",data:this.Series2}],xaxis:{categories:this.categories2}}},o=>{console.log(o)})}openDatePicker(t){t.open()}closeDatePicker(t,e){e.close(),this.fromDate=this.datepipe.transform(t._d,"yyyy-MM"),this.month=this.fromDate;var a={store_id:this.store_id,month:this.month};return this.orderService.getStatOrderAmountMonthly(a).subscribe(r=>{this.ordersList=r,this.ordersData=this.ordersList.data,this.chart3Options={...this.chart3Options,series:[{name:"Amount",data:[this.ordersData]}],xaxis:{categories:[this.month]}},this.chart4Options={...this.chart4Options,series:[{name:"Amount",data:[this.ordersData]}],xaxis:{categories:[this.month]}}},r=>{console.log(r)})}closeDatePickerYear(t,e){e.close(),this.fromDate=this.datepipe.transform(t._d,"yyyy"),this.month=this.fromDate;var a={store_id:this.store_id,month:this.month};return this.orderService.getStatOrderAmountMonthly(a).subscribe(r=>{this.ordersList=r,this.ordersData=this.ordersList.data,this.chart3Options={...this.chart3Options,series:[{name:"Amount",data:[this.ordersData]}],xaxis:{categories:[this.month]}},this.chart4Options={...this.chart4Options,series:[{name:"Amount",data:[this.ordersData]}],xaxis:{categories:[this.month]}}},r=>{console.log(r)})}};Km.ctorParameters=()=>[{type:Q.uU},{type:Ee.G},{type:bn.C},{type:Oe.l},{type:kg.f}],Km.propDecorators={chart3:[{type:m.i9L,args:["chart3"]}],chart4:[{type:m.i9L,args:["chart4"]}]},Km=(0,j.gn)([(0,m.wA2)({selector:"app-statc-ordersamount",template:'<app-orders-card></app-orders-card>\n\n<div class="mainContainer">\n <div class="row">\n \x3c!-- orders quantity Chart --\x3e\n <div class="col-md-12">\n \x3c!-- orders amount Chart --\x3e\n <mat-card class="bg-white rounded-lg ">\n <h5> {{\'Statistics orders amount\'|translate}}</h5>\n <form action="" novalidate>\n <mat-form-field appearance="outline" style="width: 20%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker3" #From />\n <mat-datepicker-toggle matSuffix [for]="picker3"></mat-datepicker-toggle>\n <mat-datepicker #picker3></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width: 20%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker4" #To />\n <mat-datepicker-toggle matSuffix [for]="picker4"></mat-datepicker-toggle>\n <mat-datepicker #picker4></mat-datepicker>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 20%; margin-right: 2%">\n <mat-label>Monthly</mat-label>\n <input matInput [matDatepicker]="dp2" (click)="openDatePicker(dp2)"\n style="max-width: 0;width :0" >\n <mat-datepicker-toggle matSuffix [for]="dp2"></mat-datepicker-toggle>\n <mat-datepicker #dp2 startView="multi-year"\n (monthSelected)="closeDatePicker($event, dp2)"></mat-datepicker>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 20%; margin-right: 2%">\n <mat-label>Yearly</mat-label>\n <input matInput [matDatepicker]="dp3" (click)="openDatePicker(dp3)"\n style="max-width: 0;width :0" >\n <mat-datepicker-toggle matSuffix [for]="dp3"></mat-datepicker-toggle>\n <mat-datepicker #dp3 startView="multi-year"\n (yearSelected)="closeDatePickerYear($event, dp3)"></mat-datepicker>\n </mat-form-field>\n\n <button mat-raised-button style="border: 1px solid #a00000; color: #a00000; padding: 12px 14px 8px 14px;\n font-size: 20px;"\n (click)="onGetAmountorders(From.value,To.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n <div *ngIf="barchart">\n <div id="chart4">\n <apx-chart [series]="chart4Options.series" [chart]="chart4Options.chart"\n [dataLabels]="chart4Options.dataLabels" [plotOptions]="chart4Options.plotOptions"\n [xaxis]="chart4Options.xaxis"></apx-chart>\n </div>\n </div>\n <div *ngIf="areachart">\n <div id="chart3">\n <apx-chart [series]="chart3Options.series" [chart]="chart3Options.chart"\n [xaxis]="chart3Options.xaxis" [stroke]="chart3Options.stroke"\n [tooltip]="chart3Options.tooltip" [dataLabels]="chart3Options.dataLabels"></apx-chart>\n\n </div>\n </div>\n <div style="text-align: center;">\n <button mat-button color="primary" (click)="barChart()">{{\'Bar chart\'|translate}}\n <mat-icon> show_chart</mat-icon>\n </button>\n <button mat-button color="accent" (click)="AreaChart()">{{\'Area Chart\'|translate}}\n <mat-icon> bar_chart</mat-icon>\n </button>\n </div>\n </mat-card>\n </div>\n </div>\n</div>\n\x3c!--End orders amount Chart --\x3e',styles:[""]})],Km);let Wm=class{constructor(t,e,a,r){this.datepipe=t,this.categoriesService=e,this.orderService=a,this.chainService=r,this.store_id=parseInt(localStorage.getItem("store_id")),this.chain_id=parseInt(localStorage.getItem("chainInit")),this.cashierInit=parseInt(localStorage.getItem("cashierInit")),this.Series=[],this.categories=[],this.barchart2=!1,this.linechart=!0,this.formData=new FormData}ngOnInit(){this.today=new Date,this.sixMonthsAgo=new Date,this.sixMonthsAgo.setMonth(this.today.getMonth()-6),this.onGetChainsList();var t=new Date,e=new Date(t.getFullYear(),t.getMonth(),t.getDate()-7);this.onGetQuantorders(this.chain_id,e,t),this.chartOptions={series:[{name:"Quantity",data:this.Series}],chart:{height:350,type:"bar",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{bar:{dataLabels:{position:"top"}}},xaxis:{categories:this.categories,tickPlacement:"on",position:"top",labels:{offsetY:-18},axisBorder:{show:!1},axisTicks:{show:!1}
1,crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0,offsetY:-35}},fill:{type:"gradient",gradient:{shade:"light",type:"horizontal",shadeIntensity:.25,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1}},yaxis:{axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1}}},this.chart2Options={series:[{name:"Quantity",data:this.Series}],chart:{height:350,type:"line",zoom:{enabled:!0}},dataLabels:{enabled:!0},stroke:{curve:"straight"},grid:{row:{colors:["#f3f3f3","transparent"],opacity:.5}},xaxis:{categories:this.categories}}}onGetChainsList(){return this.chainService.getChainsList().subscribe(t=>{this.chainsList=t,this.chainData=this.chainsList.data,this.chainInit=this.chainData[0].id,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}getCategoriesList(){this.categoriesService.getCategories().subscribe(t=>{this.categoriesList=t,this.categoryData=this.categoriesList.data})}onGetQuantorders(t,e,a){this.Series=[],this.categories=[];var o={start:this.datepipe.transform(e,"yyyy-MM-dd"),end:this.datepipe.transform(a,"yyyy-MM-dd"),chain_id:t,store_id:this.store_id};this.orderService.getStatOrderQuantity(o).subscribe(s=>{this.ordersList=s,this.ordersData=this.ordersList.data,this.ordersData.days.forEach(l=>{this.Series.push(l.total),this.categories.push(l.period)}),this.chart2Options={...this.chart2Options,series:[{name:"Quantity",data:this.Series}],xaxis:{categories:this.categories}},this.chartOptions={...this.chartOptions,series:[{name:"Quantity",data:this.Series}],xaxis:{categories:this.categories}}},s=>{console.log(s)})}lineChart(){this.linechart=!0,this.barchart2=!1}barChart2(){this.linechart=!1,this.barchart2=!0}openDatePicker(t){t.open()}closeDatePicker(t,e,a){a.close(),this.fromDate=this.datepipe.transform(e._d,"yyyy-MM"),this.month=this.fromDate,this.Series=[],this.categories=[];var r={chain_id:t,store_id:this.store_id,month:this.month};return this.orderService.getStatOrderQuantitymonthly(r).subscribe(i=>{this.ordersList=i,this.ordersData=this.ordersList.data,this.chart2Options={...this.chart2Options,series:[{name:"Quantity",data:[this.ordersData]}],xaxis:{categories:[this.month]}},this.chartOptions={...this.chartOptions,series:[{name:"Quantity",data:[this.ordersData]}],xaxis:{categories:[this.month]}}},i=>{console.log(i)})}closeDatePickerYear(t,e,a){a.close(),this.fromDate=this.datepipe.transform(e._d,"yyyy"),this.month=this.fromDate,this.Series=[],this.categories=[];var r={chain_id:t,store_id:this.store_id,month:this.month};return this.orderService.getStatOrderQuantitymonthly(r).subscribe(i=>{this.ordersList=i,this.ordersData=this.ordersList.data,this.chart2Options={...this.chart2Options,series:[{name:"Quantity",data:[this.ordersData]}],xaxis:{categories:[this.month]}},this.chartOptions={...this.chartOptions,series:[{name:"Quantity",data:[this.ordersData]}],xaxis:{categories:[this.month]}}},i=>{console.log(i)})}};Wm.ctorParameters=()=>[{type:Q.uU},{type:Ee.G},{type:bn.C},{type:Oe.l}],Wm.propDecorators={chart:[{type:m.i9L,args:["chart"]}],chart2:[{type:m.i9L,args:["chart2"]}]},Wm=(0,j.gn)([(0,m.wA2)({selector:"app-statc-ordersquantity",template:'\n<app-orders-card></app-orders-card>\n\n<div class="mainContainer">\n <div class="row">\n \x3c!-- orders quantity Chart --\x3e\n <div class="col-md-12">\n <mat-card class="bg-white rounded-lg ">\n <h5> {{\'Statistics orders quantity\'|translate}}</h5>\n <form action="" novalidate>\n <mat-form-field appearance="outline" style="width: 20%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chain>\n\n <mat-option>--{{\'None\'|translate}}--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 16%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker" #from [disabled]="!chain.value"/>\n <mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width: 16%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker2" #to [disabled]="!chain.value" />\n <mat-datepicker-toggle matSuffix [for]="picker2"></mat-datepicker-toggle>\n <mat-datepicker #picker2></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="outline" style="width: 14%; margin-right: 2%">\n <mat-label>Monthly</mat-label>\n <input matInput [matDatepicker]="dp2" (click)="openDatePicker(dp2)" style="max-width: 0;width :0" [disabled]="!chain.value">\n <mat-datepicker-toggle matSuffix [for]="dp2"></mat-datepicker-toggle>\n <mat-datepicker #dp2 startView="multi-year" (monthSelected)="closeDatePicker(chain.value,$event, dp2)"></mat-datepicker>\n </mat-form-field>\n <mat-form-field appearance="outline" style="width: 12%; margin-right: 2%">\n <mat-label>Yearly</mat-label>\n <input matInput [matDatepicker]="dp3" (click)="openDatePicker(dp3)" style="max-width: 0;width :0" [disabled]="!chain.value">\n <mat-datepicker-toggle matSuffix [for]="dp3"></mat-datepicker-toggle>\n <mat-datepicker #dp3 startView="multi-year" (yearSelected)="closeDatePickerYear(chain.value,$event, dp3)"></mat-datepicker>\n </mat-form-field>\n\n <button mat-raised-button style="border: 1px solid #a00000; color: #a00000; padding: 12px 14px 8px 14px;\n font-size: 20px;"\n (click)="onGetQuantorders(chain.value,from.value,to.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n <div *ngIf="linechart">\n <div id="chart2">\n <apx-chart [series]="chart2Options.series" [chart]="chart2Options.chart"\n [xaxis]="chart2Options.xaxis" [dataLabels]="chart2Options.dataLabels"\n [grid]="chart2Options.grid" [stroke]="chart2Options.stroke" [title]="chart2Options.title">\n </apx-chart>\n </div>\n </div>\n <div *ngIf="barchart2">\n <div id="chart">\n <apx-chart [series]="chartOptions.series" [chart]="chartOptions.chart"\n [dataLabels]="chartOptions.dataLabels" [plotOptions]="chartOptions.plotOptions"\n [yaxis]="chartOptions.yaxis" [xaxis]="chartOptions.xaxis" [fill]="chartOptions.fill"\n [title]="chartOptions.title"></apx-chart>\n\n </div>\n </div>\n <div style="text-align: center;">\n <button mat-button color="primary" (click)="lineChart()">{{\'Line chart\'|translate}}\n <mat-icon> show_chart</mat-icon>\n </button>\n <button mat-button color="accent" (click)="barChart2()">{{\'Bar chart\'|translate}}\n <mat-icon> bar_chart</mat-icon>\n </button>\n </div>\n </mat-card>\n </div>\n\n \x3c!--End orders quantity Chart --\x3e\n\n </div>\n \n</div>',styles:[""]})],Wm);let D1=class{constructor(t,e,a){this.datepipe=t,this.orderService=e,this.dialog=a}ngOnInit(){this.store_id=parseInt(localStorage.getItem("store_id")),this.first=new Date,this.last=new Date(this.first.getFullYear(),this.first.getMonth(),this.first.getDate()-2),this.ongetOrdersQuantity(this.first,this.last,this.store_id),this.ongetOrdersAmount(this.first,this.last,this.store_id),this.ongetOrdersProfit(this.first,this.last,this.store_id),this.ongetOrdersCashier(this.first,this.last,this.store_id)}ongetOrdersQuantity(t,e,a){var o={start:this.datepipe.transform(t,"yyyy-MM-dd"),end:this.datepipe.transform(e,"yyyy-MM-dd"),store_id:this.store_id};this.orderService.getorderquantitychains(o).subscribe(s=>{this.ordersList=s,this.ordersData=this.ordersList.data},s=>{console.log(s)})}ongetOrdersAmount(t,e,a){var o={start:this.datepipe.transform(t,"yyyy-MM-dd"),end:this.datepipe.transform(e,"yyyy-MM-dd"),store_id:this.store_id};this.orderService.getorderamountchains(o).subscribe(s=>{this.ordersAmountList=s,this.ordersAmounData=this.ordersAmountList.data},s=>{console.log(s)})}ongetOrdersProfit(t,e,a){var o={start:this.datepipe.transform(t,"yyyy-MM-dd"),end:this.datepipe.transform(e,"yyyy-MM-dd"),store_id:this.store_id};this.orderService.getStatSalesProfitallchains(o).subscribe(s=>{this.ordersProfitList=s,this.ordersProfitData=this.ordersProfitList.data},s=>{console.log(s)})}ongetOrdersCashier(t,e,a){var o={start:this.datepipe.transform(t,"yyyy-MM-dd"),end:this.datepipe.transform(e,"yyyy-MM-dd"),store_id:this.store_id};this.orderService.getStatOrderCashierallchains(o).subscribe(s=>{this.ordersCashierList=s,this.ordersCashierData=this.ordersCashierList.data},s=>{console.log(s)})}openOrdersQuantity(){this.dialog.open(Wm,{autoFocus:!1,maxHeight:"90vh"})}openOrdersAmount(){this.dialog.open(Km,{autoFocus:!1,maxHeight:"90vh"})}openOrdersProfit(){this.dialog.open(Gm,{autoFocus:!1,maxHeight:"90vh"})}openOrdersCasiers(){this.dialog.open(Cy,{autoFocus:!1,maxHeight:"90vh"})}};D1.ctorParameters=()=>[{type:Q.uU},{type:bn.C},{type:St.uw}],D1=(0,j.gn)([(0,m.wA2)({selector:"app-shop-overview-orders",template:'<div class="row">\n <div class="col-md-3">\n <div class="project-box-wrapper text-dark">\n <div class="project-box" >\n\n <div class="project-box-content-header">\n <p class="box-content-header">{{"orders"|translate}}</p>\n <p class="box-content-subheader">{{"Quantity"|translate}}</p>\n </div>\n <div style="overflow: scroll ;\n height: 150px;">\n <div class="box-progress-wrapper" *ngFor="let order of ordersData.Chains">\n <p class="box-progress-header">{{order.chain_name}}</p>\n <div class="box-progress-bar">
1\n <span class="box-progress"></span>\n </div>\n <p class="box-progress-percentage">{{order.total}}%</p>\n </div>\n </div>\n\n <div class="project-box-footer">\n <div class="participants">\n <button class="add-participant" style="color: white" (click)="openOrdersQuantity()">\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"\n fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"\n stroke-linejoin="round" class="feather feather-plus">\n <path d="M12 5v14M5 12h14" />\n </svg>\n </button>\n </div>\n <div class="days-left" style="color: black">\n {{last | date : \'shortDate\' }} - {{first | date : \'shortDate\'}}\n </div>\n </div>\n </div>\n </div>\n\n </div>\n\n <div class="col-md-3">\n <div class="project-box-wrapper text-dark">\n <div class="project-box" >\n <div class="project-box-content-header">\n <p class="box-content-header">{{"orders"|translate}}</p>\n <p class="box-content-subheader">{{"Amount"|translate}}</p>\n </div>\n <div style="overflow: scroll ;\n height: 150px;">\n <div class="box-progress-wrapper" *ngFor="let order of ordersAmounData.Chains">\n <p class="box-progress-header">{{order.chain_name}}</p>\n <div class="box-progress-bar">\n <span class="box-progress"></span>\n </div>\n <p class="box-progress-percentage">{{order.income}}%</p>\n </div>\n </div>\n\n <div class="project-box-footer">\n <div class="participants">\n <button class="add-participant" style="color: white;" (click)="openOrdersAmount()">\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"\n fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"\n stroke-linejoin="round" class="feather feather-plus">\n <path d="M12 5v14M5 12h14" />\n </svg>\n </button>\n\n </div>\n <div class="days-left" style="color: black">\n {{last | date : \'shortDate\' }} - {{first | date : \'shortDate\'}}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="col-md-3">\n <div class="project-box-wrapper text-dark">\n <div class="project-box">\n <div class="project-box-content-header">\n <p class="box-content-header">{{"orders"|translate}}</p>\n <p class="box-content-subheader">{{"Profit"|translate}}</p>\n </div>\n <div style="overflow: scroll ;\n height: 150px;">\n <div class="box-progress-wrapper" *ngFor="let order of ordersProfitData.Chains">\n <p class="box-progress-header">{{order.chain_name}}</p>\n <div class="box-progress-bar">\n <span class="box-progress"></span>\n </div>\n <p class="box-progress-percentage">{{order.profit}}%</p>\n \x3c!-- <div id="chart2">\n <apx-chart [series]="chartOptions2.series" [chart]="chartOptions2.chart"\n [dataLabels]="chartOptions2.dataLabels" [plotOptions]="chartOptions2.plotOptions"\n [yaxis]="chartOptions2.yaxis" [legend]="chartOptions2.legend" [fill]="chartOptions2.fill"\n [stroke]="chartOptions2.stroke" [tooltip]="chartOptions2.tooltip" [xaxis]="chartOptions2.xaxis"\n [theme]="chartOptions2.theme">\n </apx-chart>\n </div> --\x3e\n </div>\n </div>\n\n <div class="project-box-footer">\n <div class="participants">\n <button class="add-participant" style="color: white;" (click)="openOrdersProfit()">\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"\n fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"\n stroke-linejoin="round" class="feather feather-plus">\n <path d="M12 5v14M5 12h14" />\n </svg>\n </button>\n\n </div>\n <div class="days-left" style="color: black">\n {{last | date : \'shortDate\' }} - {{first | date : \'shortDate\'}}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="col-md-3">\n <div class="project-box-wrapper text-dark">\n <div class="project-box" style="background-color: #cccccc; ">\n <div class="project-box-content-header">\n <p class="box-content-header">{{"orders"|translate}}</p>\n <p class="box-content-subheader">{{"By Cashier"|translate}}</p>\n </div>\n <div style="overflow: scroll ;\n height: 150px;">\n <div class="box-progress-wrapper" *ngFor="let cash of ordersCashierData.cashiers">\n <p class="box-progress-header">{{cash.cashier_first_name}}</p>\n <div class="box-progress-bar">
1\n <span class="box-progress"></span>\n </div>\n <p class="box-progress-percentage">{{cash.income}}</p>\n </div>\n </div>\n\n <div class="project-box-footer">\n <div class="participants">\n <button class="add-participant" style="color: white;" (click)="openOrdersCasiers()">\n <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"\n fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"\n stroke-linejoin="round" class="feather feather-plus">\n <path d="M12 5v14M5 12h14" />\n </svg>\n </button>\n <button class="project-btn-more">\n <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"\n fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"\n stroke-linejoin="round" class="feather feather-more-vertical">\n <circle cx="12" cy="12" r="1" />\n <circle cx="12" cy="5" r="1" />\n <circle cx="12" cy="19" r="1" />\n </svg>\n </button>\n </div>\n <div class="days-left" style="color: black">\n {{last | date : \'shortDate\' }} - {{first | date : \'shortDate\'}}\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>',styles:['@charset "UTF-8";\nbody {\n overflow: hidden;\n display: flex;\n justify-content: center;\n background-color: var(--app-container);\n}\nbutton,\na {\n cursor: pointer;\n}\n.app-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n height: 100%;\n background-color: var(--app-container);\n transition: 0.2s;\n max-width: 1800px;\n}\n.app-content {\n display: flex;\n height: 100%;\n overflow: hidden;\n padding: 16px 24px 24px 0;\n}\n.app-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n padding: 16px 24px;\n position: relative;\n}\n.app-header-left, .app-header-right {\n display: flex;\n align-items: center;\n}\n.app-header-left {\n flex-grow: 1;\n}\n.app-header-right button {\n margin-left: 10px;\n}\n.app-icon {\n width: 26px;\n height: 2px;\n border-radius: 4px;\n background-color: var(--main-color);\n position: relative;\n}\n.app-icon:before, .app-icon:after {\n content: "";\n position: absolute;\n width: 12px;\n height: 2px;\n border-radius: 4px;\n background-color: var(--main-color);\n left: 50%;\n transform: translatex(-50%);\n}\n.app-icon:before {\n top: -6px;\n}\n.app-icon:after {\n bottom: -6px;\n}\n.app-name {\n color: var(--main-color);\n margin: 0;\n font-size: 20px;\n line-height: 24px;\n font-weight: 700;\n margin: 0 32px;\n}\n.mode-switch {\n background-color: transparent;\n border: none;\n padding: 0;\n color: var(--main-color);\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.search-wrapper {\n border-radius: 20px;\n background-color: var(--search-area-bg);\n padding-right: 12px;\n height: 40px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n max-width: 480px;\n color: var(--light-font);\n box-shadow: 0 2px 6px 0 rgba(136, 148, 171, 0.2), 0 24px 20px -24px rgba(71, 82, 107, 0.1);\n overflow: hidden;\n}\n.dark .search-wrapper {\n box-shadow: none;\n}\n.search-input {\n border: none;\n flex: 1;\n outline: none;\n height: 100%;\n padding: 0 20px;\n font-size: 16px;\n background-color: var(--search-area-bg);\n color: var(--main-color);\n}\n.search-input:placeholder {\n color: var(--main-color);\n opacity: 0.6;\n}\n.add-btn {\n color: #fff;\n background-color: var(--button-bg);\n padding: 0;\n border: 0;\n border-radius: 50%;\n width: 32px;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.notification-btn {\n color: var(--main-color);\n padding: 0;\n border: 0;\n background-color: transparent;\n height: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.profile-btn {\n padding: 0;\n border: 0;\n background-color: transparent;\n display: flex;\n align-items: center;\n padding-left: 12px;\n border-left: 2px solid #ddd;\n}\n.profile-btn img {\n width: 32px;\n height: 32px;\n object-fit: cover;\n border-radius: 50%;\n margin-right: 4px;\n}\n.profile-btn span {\n color: white !important;\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n}\n.page-content\xa0 {\n flex: 1;\n width: 100%;\n}\n.app-sidebar {\n padding: 40px 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.app-sidebar-link {\n color: var(--main-color);\n color: var(--link-color);\n margin: 16px 0;\n transition: 0.2s;\n border-radius: 50%;\n flex-shrink: 0;\n width: 40px;\n height: 40px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.app-sidebar-link:hover {\n background-color: var(--link-color-hover);\n color: var(--link-color-active);\n}\n.app-sidebar-link.active {\n background-color: var(--link-color-active-bg);\n color: var(--link-color-active);\n}\n.projects-section {\n flex: 2;\n background-color: var(--projects-section);\n border-radius: 32px;\n padding: 25px;\n height: 100%;\n flex-direction: column;\n}\n.projects-section-line {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-bottom: 32px;\n}\n.projects-section-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 24px;\n color: var(--main-color);\n}\n.projects-section-header p {\n font-size: 24px;\n line-height: 32px;\n font-weight: 700;\n opacity: 0.9;\n margin: 0;\n}\n.projects-section-header .time {\n font-size: 20px;\n}\n.projects-status {\n display: flex;\n}\n.item-status {\n display: flex;\n flex-direction: column;\n margin-right: 16px;\n}
1\n.item-status:not(:last-child) .status-type:after {\n content: "";\n position: absolute;\n right: 8px;\n top: 50%;\n transform: translatey(-50%);\n width: 6px;\n height: 6px;\n border-radius: 50%;\n border: 1px solid var(--secondary-color);\n}\n.status-number {\n font-size: 24px;\n line-height: 32px;\n font-weight: 700;\n color: var(--main-color);\n}\n.status-type {\n position: relative;\n padding-right: 24px;\n color: var(--secondary-color);\n}\n.view-actions {\n display: flex;\n align-items: center;\n}\n.view-btn {\n width: 36px;\n height: 36px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 6px;\n border-radius: 4px;\n background-color: transparent;\n border: none;\n color: var(--main-color);\n margin-left: 8px;\n transition: 0.2s;\n}\n.view-btn.active {\n background-color: var(--link-color-active-bg);\n color: var(--link-color-active);\n}\n.view-btn:not(.active):hover {\n background-color: var(--link-color-hover);\n color: var(--link-color-active);\n}\n.messages-section {\n flex-shrink: 0;\n padding-bottom: 32px;\n background-color: var(--projects-section);\n margin-left: 24px;\n flex: 1;\n width: 100%;\n border-radius: 30px;\n position: relative;\n overflow: auto;\n transition: all 300ms cubic-bezier(0.19, 1, 0.56, 1);\n}\n.messages-section .messages-close {\n position: absolute;\n top: 12px;\n right: 12px;\n z-index: 3;\n border: none;\n background-color: transparent;\n color: var(--main-color);\n display: none;\n}\n.messages-section.show {\n transform: translateX(0);\n opacity: 1;\n margin-left: 0;\n}\n.messages-section .projects-section-header {\n top: 0;\n z-index: 1;\n padding: 32px 24px 0 24px;\n background-color: var(--projects-section);\n}\n.message-box {\n border-top: 1px solid var(--message-box-border);\n padding: 16px;\n display: flex;\n align-items: flex-start;\n width: 100%;\n}\n.message-box:hover {\n background-color: var(--message-box-hover);\n border-top-color: var(--link-color-hover);\n}\n.message-box:hover + .message-box {\n border-top-color: var(--link-color-hover);\n}\n.message-box img {\n border-radius: 50%;\n object-fit: cover;\n width: 40px;\n height: 40px;\n}\n.message-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n}\n.message-header .name {\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n color: var(--main-color);\n margin: 0;\n}\n.message-content {\n padding-left: 16px;\n width: 100%;\n}\n.star-checkbox input {\n opacity: 0;\n position: absolute;\n width: 0;\n height: 0;\n}\n.star-checkbox label {\n width: 24px;\n height: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n.dark .star-checkbox {\n color: var(--secondary-color);\n}\n.dark .star-checkbox input:checked + label {\n color: var(--star);\n}\n.star-checkbox input:checked + label svg {\n fill: var(--star);\n transition: 0.2s;\n}\n.message-line {\n font-size: 14px;\n line-height: 20px;\n margin: 8px 0;\n color: var(--secondary-color);\n opacity: 0.7;\n}\n.message-line.time {\n text-align: right;\n margin-bottom: 0;\n}\n.project-boxes.jsGridView {\n display: flex;\n flex-wrap: wrap;\n}\n.project-boxes.jsGridView .project-box-wrapper {\n width: 25%;\n opacity: 0.9;\n}\n.project-boxes.jsListView .project-box {\n display: flex;\n position: relative;\n}\n.project-boxes.jsListView .project-box > * {\n margin-right: 24px;\n}\n.project-boxes.jsListView .more-wrapper {\n position: absolute;\n right: 16px;\n top: 16px;\n}\n.project-boxes.jsListView .project-box-content-header {\n order: 1;\n max-width: 120px;\n}\n.project-boxes.jsListView .project-box-header {\n order: 2;\n}\n.project-boxes.jsListView .project-box-footer {\n order: 3;\n padding-top: 0;\n flex-direction: column;\n justify-content: flex-start;\n}\n.project-boxes.jsListView .project-box-footer:after {\n display: none;\n}\n.project-boxes.jsListView .participants {\n margin-bottom: 8px;\n}\n.project-boxes.jsListView .project-box-content-header p {\n text-align: left;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.project-boxes.jsListView .project-box-header > span {\n position: absolute;\n bottom: 16px;\n left: 16px;\n font-size: 12px;\n}\n.project-boxes.jsListView .box-progress-wrapper {\n order: 3;\n flex: 1;\n}\n.project-box {\n background-color: #fff !important;\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.16) !important;\n border: 1px solid rgba(0, 0, 0, 0.05) !important;\n padding: 16px;\n}\n.project-box-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 16px;\n color: var(--main-color);\n}\n.project-box-header span {\n color: #4a4a4a;\n opacity: 0.7;\n font-size: 14px;\n line-height: 16px;\n}\n.project-box-content-header {\n text-align: center;\n margin-bottom: 16px;\n}\n.project-box-content-header p {\n margin: 0;\n}\n.project-box-wrapper {\n padding: 8px;\n transition: 0.2s;\n}\n.project-btn-more {\n padding: 0;\n height: 14px;\n width: 24px;\n height: 24px;\n position: relative;\n background-color: transparent;\n border: none;\n flex-shrink: 0;\n color: white;\n /*&:after, &:before {\n content: \'\';\n position: absolute;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background-color: var(--main-color);\n opacity: .8;\n left: 50%;\n transform: translatex(-50%);\n }\n\n &:before { top: 0;}\n &:after { bottom: 0; }*/\n}\n.more-wrapper {\n position: relative;\n}\n.box-content-header {\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n color: #a00000;\n}\n.box-content-subheader {\n font-size: 14px;\n line-height: 24px;\n color: #3a3a3a;\n}\n.box-progress {\n display: block;\n height: 4px;\n border-radius: 6px;\n}\n.box-progress-bar {\n width: 100%;\n height: 4px;\n border-radius: 6px;\n overflow: hidden;\n background-color: #D8D8D8;\n margin: 8px 0;\n}\n.box-progress-header {\n font-size: 14px;\n font-weight: 700;\n line-height: 16px;\n margin: 0;\n}\n.box-progress-percentage {\n text-align: right;\n margin: 0;\n font-size: 14px;\n font-weight: 700;\n line-height: 16px;\n}\n.project-box-footer {\n display: flex;\n justify-content: space-between;\n padding-top: 16px;\n position: relative;\n}
1\n.project-box-footer:after {\n content: "";\n position: absolute;\n background-color: rgba(255, 255, 255, 0.6);\n width: calc(100% + 32px);\n top: 0;\n left: -16px;\n height: 1px;\n}\n.participants {\n display: flex;\n align-items: center;\n}\n.participants img {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n overflow: hidden;\n object-fit: cover;\n}\n.participants img:not(:first-child) {\n margin-left: -8px;\n}\n.add-participant {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n border: none;\n background-color: black;\n margin-left: 6px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0;\n}\n.days-left {\n background-color: rgba(255, 255, 255, 0.6);\n font-size: 12px;\n border-radius: 20px;\n flex-shrink: 0;\n padding: 6px 16px;\n}\n.mode-switch.active .moon {\n fill: var(--main-color);\n}\n.messages-btn {\n border-radius: 4px 0 0 4px;\n position: absolute;\n right: 0;\n top: 58px;\n background-color: var(--message-btn);\n border: none;\n color: var(--main-color);\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 4px;\n display: none;\n}\n@media screen and (max-width: 980px) {\n .project-boxes.jsGridView .project-box-wrapper {\n width: 50%;\n }\n\n .status-number,\n.status-type {\n font-size: 14px;\n }\n\n .status-type:after {\n width: 4px;\n height: 4px;\n }\n\n .item-status {\n margin-right: 0;\n }\n}\n@media screen and (max-width: 880px) {\n .messages-section {\n transform: translateX(100%);\n position: absolute;\n opacity: 0;\n top: 0;\n z-index: 2;\n height: 100%;\n width: 100%;\n }\n .messages-section .messages-close {\n display: block;\n }\n\n .messages-btn {\n display: flex;\n }\n}\n@media screen and (max-width: 720px) {\n .app-name,\n.profile-btn span {\n display: none;\n }\n\n .add-btn,\n.notification-btn,\n.mode-switch {\n width: 20px;\n height: 20px;\n }\n .add-btn svg,\n.notification-btn svg,\n.mode-switch svg {\n width: 16px;\n height: 16px;\n }\n\n .app-header-right button {\n margin-left: 4px;\n }\n}\n@media screen and (max-width: 520px) {\n .projects-section {\n overflow: auto;\n }\n\n .project-boxes {\n overflow-y: visible;\n }\n\n .app-sidebar,\n.app-icon {\n display: none;\n }\n\n .app-content {\n padding: 16px 12px 24px 12px;\n }\n\n .status-number,\n.status-type {\n font-size: 10px;\n }\n\n .view-btn {\n width: 24px;\n height: 24px;\n }\n\n .app-header {\n padding: 16px 10px;\n }\n\n .search-input {\n max-width: 120px;\n }\n\n .project-boxes.jsGridView .project-box-wrapper {\n width: 100%;\n }\n\n .projects-section {\n padding: 24px 16px 0 16px;\n }\n\n .profile-btn img {\n width: 24px;\n height: 24px;\n }\n\n .app-header {\n padding: 10px;\n }\n\n .projects-section-header p,\n.projects-section-header .time {\n font-size: 18px;\n }\n\n .status-type {\n padding-right: 4px;\n }\n .status-type:after {\n display: none;\n }\n\n .search-input {\n font-size: 14px;\n }\n\n .messages-btn {\n top: 48px;\n }\n\n .box-content-header {\n font-size: 12px;\n line-height: 16px;\n }\n\n .box-content-subheader {\n font-size: 12px;\n line-height: 16px;\n color: white;\n }\n\n .project-boxes.jsListView .project-box-header > span {\n font-size: 10px;\n }\n\n .box-progress-header {\n font-size: 12px;\n color: white !important;\n }\n\n .chains {\n overflow: scroll;\n height: 150px;\n }\n\n .box-progress-percentage {\n font-size: 10px;\n color: #205623;\n }\n\n .days-left {\n font-size: 8px;\n padding: 6px 6px;\n text-align: center;\n }\n\n .project-boxes.jsListView .project-box > * {\n margin-right: 10px;\n }\n\n .project-boxes.jsListView .more-wrapper {\n right: 2px;\n top: 10px;\n }\n}\n#chart2 {\n max-width: 250px;\n min-width: 250px;\n max-height: 200px;\n min-height: 200px;\n position: relative;\n}\n#chart {\n max-height: 200px;\n min-height: 200px;\n position: relative;\n}\n/*\n * Off Canvas sidebar at medium breakpoint\n * --------------------------------------------------\n */\n.card {\n overflow: hidden;\n border: 0px solid transparent !important;\n border-radius: 0.25rem !important;\n}\n.card-body .rotate {\n z-index: 8;\n float: right;\n height: 100%;\n}\n.card-body .rotate i {\n color: whitesmoke;\n position: absolute;\n left: 0;\n left: auto;\n right: -10px;\n bottom: 0;\n display: block;\n transform: rotate(-44deg);\n}\n.row {\n flex-wrap: initial !important;\n}\n.total-stats {\n margin-top: 20px;\n}\n.total-stats .col-md-6:nth-child(3) .stats-card h3 small i.fa {\n padding: 2px 4px 0;\n}\n.total-stats .col-md-6 .stats-card {\n background: white;\n padding: 50px 10px;\n}\n.total-stats .col-md-6 .stats-card span {\n display: inline-block;\n border-radius: 50%;\n vertical-align: bottom;\n}\n.total-stats .col-md-6 .stats-card span i.fa {\n border: 1px solid white;\n padding: 20px 17px;\n border-radius: 50%;\n color: white;\n}\n.total-stats .col-md-6 .stats-card .orange-chart {\n background: #a00000;\n border: 5px solid #a50000;\n}\n.total-stats .col-md-6 .stats-card .purple-chart {\n background: #a00000;\n border: 5px solid #d30000;\n}\n.total-stats .col-md-6 .stats-card .red-chart {\n background: #707070;\n border: 5px solid #8a8a8a;\n}\n.total-stats .col-md-6 .stats-card .green-chart {\n background: #707070;\n border: 5px solid #8a8a8a;\n}\n.total-stats .col-md-6 .stats-card h3 {\n display: inline-block;\n font-weight: bold;\n padding-left: 20px;\n}\n.total-stats .col-md-6 .stats-card h3 small {\n font-size: small;\n}\n.total-stats .col-md-6 .stats-card h3 small i.fa {\n background: white;\n color: white;\n vertical-align: super;\n border-radius: 50%;\n padding: 0 4px 2px;\n}']})],D1);(0,Q.p6)(new Date,"yyyy/MM/dd","en");let Dy=class{constructor(t,e,a,r,i){this.datepipe=t,this.categoriesService=e,this.orderService=a,this.chainService=r,this.shopCashierService=i,this.store_id=parseInt(localStorage.getItem("store_id")),this.chain_id=parseInt(localStorage.getItem("chainInit")),this.cashierInit=parseInt(localStorage.getItem("cashierInit")),this.Series=[],this.categories=[],this.barchart2=!1,this.linechart=!0,this.barchart=!0,this.areachart=!1,this.Series2=[],this.categories2=[],this.Series3=[],this.categories3=[],this.barchart3=!0,this.areachart3=!1,this.formData=new FormData}
1ngOnInit(){this.onGetChainsList(),this.getShopcachiersList();var t=new Date,e=new Date(t.getFullYear(),t.getMonth(),t.getDate()-7);this.onGetQuantorders(this.chain_id,e,t),this.onGetAmountorders(e,t),this.chartOptions={series:[{name:"Quantity",data:this.Series}],chart:{height:350,type:"bar",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{bar:{dataLabels:{position:"top"}}},xaxis:{categories:this.categories,tickPlacement:"on",position:"top",labels:{offsetY:-18},axisBorder:{show:!1},axisTicks:{show:!1},crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0,offsetY:-35}},fill:{type:"gradient",gradient:{shade:"light",type:"horizontal",shadeIntensity:.25,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1}},yaxis:{axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1}}},this.chart2Options={series:[{name:"Quantity",data:this.Series}],chart:{height:350,type:"line",zoom:{enabled:!0}},dataLabels:{enabled:!0},stroke:{curve:"straight"},grid:{row:{colors:["#f3f3f3","transparent"],opacity:.5}},xaxis:{categories:this.categories}},this.chart3Options={series:[{name:"series1",data:this.Series2}],chart:{height:350,type:"area"},dataLabels:{enabled:!1},stroke:{curve:"smooth"},xaxis:{type:"datetime",categories:this.categories2},tooltip:{x:{format:"dd/MM/yy HH:mm"}}},this.chart4Options={series:[{name:"basic",data:this.Series2}],chart:{type:"bar",height:350},plotOptions:{bar:{horizontal:!0}},dataLabels:{enabled:!1},xaxis:{categories:this.categories2}},this.chart5Options={series:[{name:"Amount By Cashier",data:this.Series3}],chart:{height:350,type:"bar"},plotOptions:{bar:{dataLabels:{position:"top"}}},dataLabels:{offsetY:-20,style:{fontSize:"12px",colors:["#304758"]}},xaxis:{categories:this.categories3,position:"top",labels:{offsetY:-18},axisBorder:{show:!1},axisTicks:{show:!1},crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0,offsetY:-35}},fill:{type:"gradient",gradient:{shade:"light",type:"horizontal",shadeIntensity:.25,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1}},yaxis:{axisBorder:{show:!1},axisTicks:{show:!1},labels:{show:!1,formatter:function(a){return a+"%"}}}},this.getCategoriesList()}onGetChainsList(){return this.chainService.getChainsList().subscribe(t=>{this.chainsList=t,this.chainData=this.chainsList.data,this.chainInit=this.chainData[0].id,localStorage.setItem("chainInit",this.chainData[0].id)},t=>{console.log(t)})}getCategoriesList(){this.categoriesService.getCategories().subscribe(t=>{this.categoriesList=t,this.categoryData=this.categoriesList.data})}onGetQuantorders(t,e,a){this.Series=[],this.categories=[];var o={start:this.datepipe.transform(e,"yyyy-MM-dd"),end:this.datepipe.transform(a,"yyyy-MM-dd"),chain_id:t,store_id:this.store_id};this.orderService.getStatOrderQuantity(o).subscribe(s=>{this.ordersList=s,this.ordersData=this.ordersList.data,this.ordersData.days.forEach(l=>{this.Series.push(l.total),this.categories.push(l.period)}),this.chart2Options={...this.chart2Options,series:[{name:"Quantity",data:this.Series}],xaxis:{categories:this.categories}},this.chartOptions={...this.chartOptions,series:[{name:"Quantity",data:this.Series}],xaxis:{categories:this.categories}}},s=>{console.log(s)})}lineChart(){this.linechart=!0,this.barchart2=!1}barChart2(){this.linechart=!1,this.barchart2=!0}barChart(){this.barchart=!0,this.areachart=!1}AreaChart(){this.areachart=!0,this.barchart=!1}onGetAmountorders(t,e){this.Series2=[],this.categories2=[];var i={start:this.datepipe.transform(t,"yyyy-MM-dd"),end:this.datepipe.transform(e,"yyyy-MM-dd"),store_id:this.store_id};this.orderService.getStatOrderAmount(i).subscribe(o=>{this.ordersList=o,this.ordersData=this.ordersList.data,this.ordersData.days.forEach(s=>{this.Series2.push(s.income),this.categories2.push(s.period)}),this.chart4Options={...this.chart4Options,series:[{name:"Amount",data:this.Series2}],xaxis:{categories:this.categories2}},this.chart3Options={...this.chart3Options,series:[{name:"Amount",data:this.Series2}],xaxis:{categories:this.categories2}}},o=>{console.log(o)})}onGetAmountordersCashier(t,e,a,r){this.Series3=[],this.categories3=[];var s={start:this.datepipe.transform(t,"yyyy-MM-dd"),end:this.datepipe.transform(e,"yyyy-MM-dd"),store_id:this.store_id,chain_id:a,cachier_id:r};this.orderService.getStatOrderAmountCashier(s).subscribe(l=>{this.ordersList=l,this.ordersData=this.ordersList.data,this.ordersData.days.forEach(c=>
1{this.Series3.push(c.income),this.categories3.push(c.period)}),this.chart5Options={...this.chart5Options,series:[{name:"Amount By Cashier",data:this.Series3}],xaxis:{categories:this.categories3}}},l=>{console.log(l)})}getShopcachiersList(){return this.shopCashierService.getCashierList().subscribe(t=>{this.shopcachiersList=t,localStorage.setItem(this.shopcachiersList[0].id,"cashierInit")},t=>{console.log(t)})}barChart3(){this.barchart3=!0,this.areachart3=!1}AreaChart3(){this.areachart3=!0,this.barchart3=!1}};Dy.ctorParameters=()=>[{type:Q.uU},{type:Ee.G},{type:bn.C},{type:Oe.l},{type:kg.f}],Dy.propDecorators={chart:[{type:m.i9L,args:["chart"]}],chart2:[{type:m.i9L,args:["chart2"]}],chart3:[{type:m.i9L,args:["chart3"]}],chart4:[{type:m.i9L,args:["chart4"]}],chart5:[{type:m.i9L,args:["chart5"]}],chart6:[{type:m.i9L,args:["chart6"]}]},Dy=(0,j.gn)([(0,m.wA2)({selector:"app-shop-orders-statistics",template:'\n<app-orders-card></app-orders-card>\n\n<div class="mainContainer">\n <div class="row">\n \n\n\n \x3c!-- orders amount Chart --\x3e\n\n <div class="col-md-6">\n <mat-card class="bg-white rounded-lg ">\n <h5> {{\'Statistics orders amount\'|translate}}</h5>\n <form action="" novalidate>\n <mat-form-field appearance="standard" style="width: 37%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker3" #From />\n <mat-datepicker-toggle matSuffix [for]="picker3"></mat-datepicker-toggle>\n <mat-datepicker #picker3></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 37%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker4" #To />\n <mat-datepicker-toggle matSuffix [for]="picker4"></mat-datepicker-toggle>\n <mat-datepicker #picker4></mat-datepicker>\n </mat-form-field>\n\n <button mat-raised-button style="background-color: #a00000; color: white"\n (click)="onGetAmountorders(From.value,To.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n <div *ngIf="barchart">\n <div id="chart4">\n <apx-chart [series]="chart4Options.series" [chart]="chart4Options.chart"\n [dataLabels]="chart4Options.dataLabels" [plotOptions]="chart4Options.plotOptions"\n [xaxis]="chart4Options.xaxis"></apx-chart>\n </div>\n </div>\n <div *ngIf="areachart">\n <div id="chart3">\n <apx-chart [series]="chart3Options.series" [chart]="chart3Options.chart"\n [xaxis]="chart3Options.xaxis" [stroke]="chart3Options.stroke"\n [tooltip]="chart3Options.tooltip" [dataLabels]="chart3Options.dataLabels"></apx-chart>\n\n </div>\n </div>\n <div style="text-align: center;">\n <button mat-button color="primary" (click)="barChart()">{{\'Bar chart\'|translate}}\n <mat-icon> show_chart</mat-icon>\n </button>\n <button mat-button color="accent" (click)="AreaChart()">{{\'Area Chart\'|translate}}\n <mat-icon> bar_chart</mat-icon>\n </button>\n </div>\n </mat-card>\n </div>\n \x3c!--End orders amount Chart --\x3e\n\n </div>\n <br />\n <br />\n\n <div class="row">\n \x3c!-- orders amount by cashier --\x3e\n\n <div class="col-md-6">\n <mat-card class="bg-white rounded-lg">\n <h5> {{\'Orders amount by cashier\'| translate }} </h5>\n <form action="" novalidate>\n <mat-form-field appearance="standard" style="width: 18%; margin-right: 2%">\n <mat-label>{{\'Start-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker5" #date1 />\n <mat-datepicker-toggle matSuffix [for]="picker5"></mat-datepicker-toggle>\n <mat-datepicker #picker5></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 16%; margin-right: 2%">\n <mat-label>{{\'End-date\' | translate }}</mat-label>\n <input matInput [matDatepicker]="picker6" #date2 />\n <mat-datepicker-toggle matSuffix [for]="picker6"></mat-datepicker-toggle>\n <mat-datepicker #picker6></mat-datepicker>\n </mat-form-field>\n\n <mat-form-field appearance="standard" style="width: 16%;margin-right: 2%;">\n <mat-label>{{\'Select-Chain\' | translate}}</mat-label>\n <mat-select #chai_id>\n\n <mat-option value=0>--{{\'None\'|translate}}--</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n <mat-form-field appearance="standard" style="width: 16%;margin-right: 2%;">\n <mat-label>{{\'Cashiers\'|translate}}</mat-label>\n <mat-select #cachier_id>\n\n <mat-option value=0>--{{\'None\'|translate}}--</mat-option>\n <mat-option *ngFor="let cachier of shopcachiersList" [value]="cachier.id">\n {{cachier.first_name}}\n </mat-option>\n\n\n </mat-select>\n </mat-form-field>\n\n <button mat-raised-button style="background-color: #a00000; color: white"\n (click)="onGetAmountordersCashier(date1.value,date2.value,chai_id.value,cachier_id.value)">{{\'Validate\'|translate}}</button>\n\n </form>\n <div *ngIf="barchart3">\n <apx-chart [series]="chart5Options.series" [chart]="chart5Options.chart"\n [dataLabels]="chart5Options.dataLabels" [plotOptions]="chart5Options.plotOptions"\n [yaxis]="chart5Options.yaxis" [xaxis]="chart5Options.xaxis" [fill]="chart5Options.fill"\n [title]="chart5Options.title"></apx-chart>\n </div>\n <div *ngIf="areachart3">\n <apx-chart [series]="chart5Options.series" [chart]="chart5Options.chart"\n [dataLabels]="chart5Options.dataLabels" [plotOptions]="chart5Options.plotOptions"\n [yaxis]="chart5Options.yaxis" [xaxis]="chart5Options.xaxis" [fill]="chart5Options.fill"\n [title]="chart5Options.title"></apx-chart>\n </div>\n <div style="text-align: center;">\n <button mat-button color="primary" (click)="AreaChart3()">{{\'Line chart\'|translate}}\n <mat-icon> show_chart</mat-icon>\n </button>\n <button mat-button color="accent" (click)="barChart3()">{{\'Bar chart\'|translate}}\n <mat-icon> bar_chart</mat-icon>\n </button>\n </div>\n </mat-card>\n </div>\n \x3c!-- End orders amount by cashier --\x3e\n\n\n </div>\n</div>',styles:[".mainContainer {\n margin: 20px 20px 20px 20px;\n}\n\n.mat-raised-button {\n padding: 8px 8px 8px 8px;\n}\n\n.mat-button {\n padding: 8px 8px 8px 8px;\n}"]})],Dy);let lM=class{transform(t,e="narrow",a){return(0,Q.jK)(t,e,a)}};lM=(0,j.gn)([(0,m.E6H)({name:"currencySymbol"})],lM);var L9=F(84080);var zwt=F(61715);let T1=class{constructor(t,e,a){this.userService=t,this.datepipe=e,this.translate=a,this.dateNow=new Date,this.dDay=new Date("Jan 01 2021 00:00:00"),this.milliSecondsInASecond=1e3,this.hoursInADay=24,this.minutesInAnHour=60,this.SecondsInAMinute=60}getTimeDifference(){this.timeDifference=this.dDay.getTime()-(new Date).getTime(),this.allocateTimeUnits(this.timeDifference)}allocateTimeUnits(t){this.secondsToDday=Math.floor(t/this.milliSecondsInASecond%this.SecondsInAMinute),this.minutesToDday=Math.floor(t/(this.milliSecondsInASecond*this.minutesInAnHour)%this.SecondsInAMinute),this.hoursToDd
1ay=Math.floor(t/(this.milliSecondsInASecond*this.minutesInAnHour*this.SecondsInAMinute)%this.hoursInADay),this.daysToDday=Math.floor(t/(this.milliSecondsInASecond*this.minutesInAnHour*this.SecondsInAMinute*this.hoursInADay))}ngOnInit(){this.getMyLicense(),this.subscription=(0,zwt.F)(1e3).subscribe(t=>{this.getTimeDifference()})}ngOnDestroy(){this.subscription.unsubscribe()}getMyLicense(){this.userService.getLicence().subscribe(t=>{this.licence=t;var e=new Date(this.licence.finish_date);this.dDay=e})}};T1.ctorParameters=()=>[{type:bo.K},{type:Q.uU},{type:Y.sK}],T1=(0,j.gn)([(0,m.wA2)({selector:"app-count-down-timer",template:'<div class="timer">\n <span id="days"> {{"Licence Remind"| translate}}: </span>\n <span id="days"> -{{daysToDday}} </span>{{\'Days\' | translate}}\n <span id="hours"> {{hoursToDday}} </span>{{\'Hrs\' | translate}}\n <span id="minutes"> {{minutesToDday}} </span>{{\'Min\' | translate}}\n <span id="seconds"> {{secondsToDday}} </span>{{\'S\' | translate}}\n</div>\n',styles:[".timer {\n text-align: center;\n font-family: Arial, sans-serif;\n /* font-size: 1.4em; */\n /* letter-spacing: -1px; */\n color: white;\n}\n\n.timer span {\n font-size: 1em;\n margin: 0 3px 0 15px;\n}"]})],T1);let P1=class{constructor(t,e,a,r){this.discountService=t,this.productService=e,this.fundsS2cService=a,this.orderService=r}ngOnInit(){this.onGotTotalPromotion(),this.onGetDiscount(),this.onGetPendingPurchase(),this.onGetConfirmedPurchase(),this.onFiltrePaidPurFunds(),this.onFiltreNotPaidPurFunds(),this.onGetInvalidOrders(),this.onGetValidOrders()}onGotTotalPromotion(){return this.discountService.getPromotedListTotalS2c().subscribe(t=>{this.promotion=t,this.totalPromotion=this.promotion.data})}onGetDiscount(){return this.discountService.getDiscountListS2c().subscribe(t=>{this.discounts=t,this.discountsData=this.discounts.data,this.totalDiscount=this.discountsData.length})}onGetPendingPurchase(){return this.productService.getQuickPurProductsPending("pending").subscribe(e=>{this.prods=e,this.prodsData=this.prods.data,this.pendingPurchase=this.prodsData.length},e=>{console.log(e)})}onGetConfirmedPurchase(){return this.productService.getQuickPurProductsPending("confirmed").subscribe(e=>{this.products=e,this.productsData=this.products.data,this.confirmedPurchase=this.productsData.length},e=>{console.log(e)})}onFiltrePaidPurFunds(){return this.fundsS2cService.getFiltredPurchasedFundByStatus("paid").subscribe(e=>{this.fundsList=e,this.fundsData=this.fundsList.data,this.totalFundsPaid=this.fundsData.length},e=>{})}onFiltreNotPaidPurFunds(){return this.fundsS2cService.getFiltredPurchasedFundByStatus("not paid").subscribe(e=>{this.fundssList=e,this.fundssData=this.fundssList.data,this.totalFundsNotePaid=this.fundssData.length},e=>{})}onGetInvalidOrders(){return this.orderService.getShopInvalidOrders().subscribe(t=>{this.orderList=t,this.totalInvalidOrder=this.orderList.length})}onGetValidOrders(){return this.orderService.getShopValidOrders().subscribe(t=>{this.orderListValid=t,this.totalvalidOrder=this.orderListValid.length})}};P1.ctorParameters=()=>[{type:Tk.r},{type:Je.r},{type:Sr.e},{type:bn.C}],P1=(0,j.gn)([(0,m.wA2)({selector:"app-overview-common-function",template:'<div class="container-raccorci">\n <div class="stats">\n <div class="grid-card-box">\n <div>\n <div class="title-group">{{"common_discount"|translate}}</div>\n <div class="item-box">\n <div class="container-box" routerLink="/shop/promotion/offline-promotions-list">\n <p class="title">\n <span class="text-box">\n <span>{{"Promotion"|translate}}</span>\n </span>\n <span class="icon-box">\n {{totalPromotion}}\n </span>\n </p>\n </div>\n <div class="container-box" routerLink="/shop/membership/offline-discounts-list">\n <p class="title">\n <span class="text-box">\n <span>{{"common_discount"|translate}}</span>\n </span>
1\n <span class="icon-box">\n {{totalDiscount}}\n </span>\n </p>\n\n </div>\n </div>\n </div>\n <div>\n <div class="title-group">{{"Quick Purchase"|translate}}</div>\n <div class="item-box">\n <div class="container-box" routerLink="/shop/quick-purchase">\n <p class="title">\n <span class="text-box">\n <span>{{"Pending"|translate}}</span>\n </span>\n <span class="icon-box">\n {{pendingPurchase}}\n </span>\n </p>\n </div>\n <div class="container-box" routerLink="/shop/quick-purchase">\n <p class="title">\n <span class="text-box">\n <span>{{"Confirmed"|translate}}</span>\n </span>\n <span class="icon-box">\n {{confirmedPurchase}}\n </span>\n </p>\n </div>\n </div>\n </div>\n <div>\n <div class="title-group"> {{"Accounting"|translate}}</div>\n <div class="item-box">\n <div class="container-box" routerLink="/shop/purchased-funds">\n <p class="title">\n <span class="text-box">\n <span>{{"Paid"|translate}}</span>\n </span>\n <span class="icon-box">\n {{totalFundsPaid}}\n </span>\n </p>\n </div>\n <div class="container-box" routerLink="/shop/purchased-funds">\n <p class="title">\n <span class="text-box">\n <span>{{"Not Payed"|translate}}</span>\n </span>\n <span class="icon-box">\n {{totalFundsNotePaid}}\n </span>\n </p>\n </div>\n </div>\n </div>\n <div>\n <div class="title-group"> {{"Purchase (Siyou B2B)"|translate}}</div>\n <div class="item-box">\n <div class="container-box" routerLink="/shop/invalid-orders">\n <p class="title">\n <span class="text-box">\n <span> {{"Pending"|translate}}</span>\n </span>\n <span class="icon-box">\n {{totalInvalidOrder}}\n </span>\n </p>\n </div>\n <div class="container-box" routerLink="/shop/valid-orders">\n <p class="title">\n <span class="text-box">\n <span> {{"Confirmed"|translate}}</span>\n </span>\n <span class="icon-box">\n {{totalvalidOrder}}\n </span>\n </p>\n\n </div>\n </div>\n </div>\n\n </div>\n\n </div>\n</div>\n\n',styles:[".container-raccorci {\n width: 100%;\n background: #fff;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.grid-card-box {\n display: grid;\n grid-template-columns: repeat(2, 330px);\n grid-gap: 20px 28px;\n gap: 20px 28px;\n font-size: 14px;\n}\n\n.title-group {\n font-weight: bold;\n font-size: 13px;\n letter-spacing: 1px;\n margin-bottom: 0;\n text-transform: uppercase;\n color: black;\n cursor: pointer;\n margin-bottom: 10px;\n}\n\n.item-box {\n height: 70px;\n text-align: left;\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 20px 28px;\n gap: 20px 28px;\n font-size: 14px;\n}\n\n.container-box {\n display: flex;\n justify-content: center;\n align-items: center;\n box-shadow: 0 1px 2.94px 0.06px rgba(4, 26, 55, 0.16) !important;\n border: 1px solid rgba(0, 0, 0, 0.05);\n cursor: pointer;\n}\n\n.container-box .title {\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 0;\n}\n\n.container-box .title .icon-box {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n font-size: 12px;\n color: #fff;\n background-color: #FF5333;\n text-align: center;\n border-radius: 16px;\n padding: 0 4px;\n}\n\n.title-group {\n display: flex;\n align-items: center;\n justify-content: center;\n}"]})],P1);var N9=F(12138),U9=F(55013),Hwt=F(12687),Bwt=F(83431),jwt=F(50389);let Ty=class{constructor(t,e,a,r){this.productService=t,this.translate=e,this.message=a,this.router=r,this.componentName="SetWarningQuantityComponent",this.columns=[{key:"checkbox",translationKey:"",type:"checkbox"},{translationKey:"common_image",type:"image",key:"img_url"},{translationKey:"common_productName",type:"text",key:"product_name"},{translationKey:"common_productBarcode",type:"text",key:"product_barcode"},{translationKey:"common_productQuantity",type:"text",key:"product_quantity"},{translationKey:"common_warnQuantity",type:"text",key:"warn_quantity"},{translationKey:"common_maxWarnQuantity",type:"text",key:"max_warn_quantity"}],this.pageInfo={total:0,page:1,pageSize:20},this.formDataSource=[{type:"commonSearch",translateKey:"common_search",placeholder:"common_search",key:"keyword"},{type:"chainSelect",key:"chain_id"},{type:"categorySelect",key:"category_id"},{type:"supplierSelect",key:"supplier_id"},{type:"input",translateKey:"common_goodsShelfNo",placeholder:"common_goodsShelfNo",key:"range_id"},{type:"input",key:"barcode",translateKey:"common_productBarcode",placeholder:"common_productBarcode"}],this.searchParams={page:1,chain_id:"",category_id:"",supplier_id:"",range_id:"",barcode:"",keyword:""},this.rules=[{message:"required",required:!0},{message:"should_be_a_Number",pattern:new RegExp("\\d{1,8}")}],this.addFormDataSource=[{type:"input",key:"warn_percent",translateKey:"common_warnPercent",placeholder:"common_warnPercent",rules:this.rules},{type:"input",key:"max_warn_percent",translateKey:"common_maxWarnPercent",placeholder:"common_maxWarnPercent"}],this.chooseItem=[],this.isBtnDisabled=!0,this.enableAll=!1,this.selectedAll=!1}ngOnInit(){this.getProdsListS2C_fix()}ngAfterViewInit(){this.adjustMatStepperPadding()}adjustMatStepperPadding(){document.querySelectorAll(".mat-horizontal-stepper-header").forEach(t=>{t.classList.add("px-0")}),document.querySelectorAll(".mat-horizontal-content-container").forEach(t=>{t.classList.add("px-0")})}getProdsListS2C_fix(){this.productService.getShopProductList(this.searchParams).subscribe(t=>{t&&t.data?(this.dataSource=t.data.map(e=>({...e})),this.pageInfo.total=t.total,t.data.length>0&&(this.enableAll=!0)):(this.dataSource=null,this.enableAll=!1,this.selectedAll=!1)})}handleReset(){this.searchParams={page:1,chain_id:"",category_id:"",supplier_id:"",range_id:"",barcode:"",keyword:""},this.getProdsListS2C_fix()}handleSearch(t){this.pageInfo.page=1,this.searchParams={chain_id:t.chain_id?t.chain_id:"",category_id:t.category_id?t.category_id:"",keyword:t.keyword?t.keyword:"",barcode:t.barcode?t.barcode:"",supplier_id:t.supplier_id?t.supplier_id:"",range_id:t.range_id?t.range_id:"",page:1},this.getProdsListS2C_fix()}handleChangePaginator(t){this.pageInfo.page=t.page,this.searchParams.page=t.page,this.getProdsListS2C_fix()}handleSelectItem(t){this.chooseItem=t,this.isBtnDisabled=0===t.length}selectAllItems(){this.selectedAll=!0}btnUpdateClick(){const t=this.commonForm.handleSubmit();if(!t)return void this.message.error(this.translate.instant("message_warn_quantity"));if(t.max_warn_percent||(t.max_warn_percent=""),0===this.chooseItem.length&&!this.selectedAll)return void this.message.error(this.translate.instant("common_choose_one_product"));let e=null;return e=this.selectedAll?{...t,...this.searchParams}:{...t,product_ids:this.chooseItem.map(a=>a.id)},this.productService.setWarningQuantityBySearchConditions(e).subscribe(a=>{this.message.success(this.translate.instant("add_warning_quantity_success")),this.router.navigate(["/shop/warn-products"])},a=>{console.log(a)})}};Ty.ctorParameters=()=>[{type:Je.r},{type:Y.sK},{type:ne.I},{type:It.F0}],Ty.propDecorators={commonForm:[{type:m.i9L,args:[XO.V,{static:!0}]}]},Ty=(0,j.gn)([(0,m.wA2)({selector:"app-set-warning-quantity",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <mat-horizontal-stepper linear #stepper>\n <mat-step>\n <ng-template matStepLabel>{{"common_select_product"|translate}}</ng-template>\n <app-common-search-list-table (onReset)="handleReset()" (onSubmit)="handleSearch($event)"\n [dataSource]="dataSource" [columns]="columns" [isShowAdd]="false" uniqueTableKey="componentName"\n [pageInfo]="pageInfo" (pageChange)="handleChangePaginator($event)" (onCheckCh
1ange)="handleSelectItem($event)"\n [formColumn]="formDataSource">\n </app-common-search-list-table>\n\n <div class="col-12 d-flex justify-content-end">\n <button class="btn btn-min-width btn-primary mx-2" mat-button [disabled]="!enableAll" matStepperNext\n (click)="selectedAll = true">{{"setWarningQuantityComponent_btnForAll"|translate}}</button>\n <button class="btn btn-min-width btn-primary mx-2" mat-button [disabled]="isBtnDisabled" matStepperNext\n (click)="selectedAll = false">{{"setWarningQuantityComponent_btnForSelected"|translate}}</button>\n </div>\n </mat-step>\n <mat-step>\n <ng-template matStepLabel>{{"common_set_warn_quantity"|translate}}</ng-template>\n <app-common-form [columns]="2" [isShowSubmitBtn]=false [(dataSource)]="addFormDataSource">\n </app-common-form>\n <div class="col-12 d-flex justify-content-end">\n <button class="btn btn-min-width btn-primary mx-2" mat-button\n (click)="btnUpdateClick()">{{"common_save"|translate}}</button>\n <button class="btn btn-min-width btn-light mx-2" mat-button\n matStepperPrevious>{{"common_previous"|translate}}</button>\n </div>\n\n </mat-step>\n </mat-horizontal-stepper>\n</div>\n',styles:[".table1 th,\n.table1 td {\n width: 15%;\n}\n\n.table2 {\n overflow: scroll;\n}\n\n.table2 th,\n.table2 td {\n width: 15%;\n vertical-align: center;\n}\n\n.imgtable1 {\n max-width: 50px;\n max-height: 50px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.pricetable1 {\n color: red;\n}\n\nmat-form-field {\n width: 100%;\n}\n\nmat-option {\n text-transform: capitalize;\n}\n\n.switcher-form {\n display: flex;\n justify-content: space-around;\n height: 40px;\n margin: 2% 0;\n}\n\n.switcher-form-item {\n width: 50%;\n background-color: #f0f0f0;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-bottom: 0;\n position: relative;\n font-weight: 600;\n letter-spacing: 1px;\n text-transform: uppercase;\n font-weight: bold;\n color: #353535;\n cursor: pointer;\n}\n\n.clicked-bt {\n border: 1px solid #333;\n}\n\n.allprodust {\n margin: auto;\n width: 100%;\n height: 100%;\n}\n\n.allprodust-item {\n margin: 17% 0;\n width: 100%;\n height: 200px;\n background-color: white;\n padding: 7% 5%;\n}"]})],Ty);var Wwt=F(67186);let I1=class{constructor(t,e,a,r){this.formBuilder=t,this.dialog=r,this.mobileQuery=e.matchMedia("(max-width: 576px)"),this.mobileQueryListener=()=>a.detectChanges(),this.mobileQuery.addEventListener("change",this.mobileQueryListener),this.setupForm()}setupForm(){this.filterForm=this.formBuilder.group({status:[""]})}ngOnInit(){}ngOnDestroy(){this.mobileQuery.removeEventListener("change",this.mobileQueryListener)}btnSearchClick(){this.dialog.close({status:this.filterForm.value.status})}cancel(){this.dialog.close()}};I1.ctorParameters=()=>[{type:V.qu},{type:yo.vx},{type:m.sBO},{type:St.so}],I1=(0,j.gn)([(0,m.wA2)({selector:"app-filter-shop-operator",template:'<div class="container-fluid">\n <div class="row d-flex flex-row-reverse">\n <div type="button" class="btn" (click)="cancel()">\n <mat-icon class="btn-clickable">close</mat-icon>\n </div>\n </div>\n <form class="row d-flex" [formGroup]="filterForm">\n <mat-form-field appearance="outline" class="w-100">\n <mat-label>{{\'Status\' | translate}}</mat-label>\n <mat-select id="status" name="status" formControlName="status">\n <mat-option value="1"> {{\'Yes\' | translate}}</mat-option>\n <mat-option value="0"> {{\'No\' | translate}}</mat-option>\n </mat-select>\n </mat-form-field>\n </form>\n <div class="row d-flex justify-content-end">\n <div [ngClass]="{\'col-12\': mobileQuery.matches, \'mr-3\': !mobileQuery.matches}">\n <button type="button" class="btn btn-primary d-flex justify-content-center"\n [class.btn-block]="mobileQuery.matches" (click)="btnSearchClick()">\n <mat-icon class="align-middle">search</mat-icon>\n <span class=\'align-middle ml-1\'>{{ \'common_search\' | translate }}</span>\n </button>\n </div>\n </div>\n</div>',styles:[""]})],I1);let M1=class{constructor(t,e,a,r,i,o,s,l,c){this.data=t,this.dialog=e,this.chainService=a,this.categoryService=r,this.supplierService=i,this.translate=o,this.formBuilder=s,this.mobileQuery=l.matchMedia("(max-width: 576px)"),this.mobileQueryListener=()=>c.detectChanges(),this.mobileQuery.addEventListener("change",this.mobileQueryListener),this.currentLang=this.translate.currentLang,this.setupForm()}setupForm(){this.filterForm=this.formBuilder.group({chain_id:[this.data.chain_id?this.data.chain_id:""],category_id:[this.data.category_id?this.data.category_id:""],supplier_id:[this.data.supplier_id?this.data.supplier_id:""],range_id:[this.data.range_id?this.data.range_id:""]})}ngOnInit(){(0,Xf.aj)(this.chainService.getChainList().pipe((0,xr.K)(t=>(console.error("load chain list failed, err:"+t),(0,Ka.of)({data:[]})))),this.categoryService.getCategories().pipe((0,xr.K)(t=>(console.error("load categories failed, err:"+t),(0,Ka.of)({data:[]})))),this.supplierService.getSuppliersListS2C().pipe((0,xr.K)(t=>(console.error("load supplierlist failed, err:"+t),(0,Ka.of)({data:[]}))))).subscribe(([t,e,a])=>{this.chains=t.data,this.categories=e.data,this.suppliers=a.data,this.setupForm()})}ngOnDestroy(){this.mobileQuery.removeEventListener("change",this.mobileQueryListener)}btnSearchClick(){this.dialog.close({chain_id:this.filterForm.value.chain_id,category_id:this.filterForm.value.category_id,supplier_id:this.filterForm.value.supplier_id,range_id:this.filterForm.value.range_id})}btnResetClick(){this.data={},this.setupForm()}cancel(){this.dialog.close()}};M1.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}
1,{type:St.so},{type:Oe.l},{type:Ee.G},{type:vn.e},{type:Y.sK},{type:V.qu},{type:yo.vx},{type:m.sBO}],M1=(0,j.gn)([(0,m.wA2)({selector:"app-filter-product-list",template:'<div class="container-fluid">\n <div class="row d-flex flex-row-reverse">\n <div type="button" class="btn" (click)="cancel()">\n <mat-icon class="btn-clickable">close</mat-icon>\n </div>\n </div>\n <form class="row d-flex" [formGroup]="filterForm">\n <mat-form-field class="col-12 col-sm-6 col-md-4" appearance="outline">\n <mat-label> {{"Select-Chain"|translate}}</mat-label>\n <mat-select id="chain_id" name="chain_id" formControlName="chain_id">\n <mat-option *ngFor="let chain of chains" [value]="chain.id">{{chain.chain_name}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4" appearance="outline">\n <mat-label>{{\'Choose-Category\' | translate}} </mat-label>\n <mat-select [ngSwitch]="currentLang" id="category_id" name="category_id" formControlName="category_id">\n <mat-option *ngFor="let category of categories" [value]="category.id">\n <span *ngSwitchCase="\'it-IT\'">{{category.category_it}}</span>\n <span *ngSwitchCase="\'fr-FR\'">{{category.category_fr}}</span>\n <span *ngSwitchCase="\'zh-CN\'">{{category.category_cn}}</span>\n <span *ngSwitchDefault>{{category.category_name}}</span>\n </mat-option>\n </mat-select>\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4" appearance="outline">\n <mat-label>{{\'Supplier\' | translate}}</mat-label>\n <mat-select id="supplier_id" name="supplier_id" formControlName="supplier_id">\n <mat-option *ngFor="let supplier of suppliers" [value]="supplier.id">\n {{supplier.supplier_name}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n <mat-form-field class="col-12 col-sm-6 col-md-4" appearance="outline">\n <mat-label> {{"search-by-Goods-shelf"|translate}}</mat-label>\n <input matInput type="text" id="range_id" name="range_id" formControlName="range_id"\n [placeholder]="\'search-by-Goods-shelf\'| translate">\n </mat-form-field>\n </form>\n <div class="row d-flex justify-content-end">\n <div [ngClass]="{\'col-12\' : mobileQuery.matches, \'mb-3\': mobileQuery.matches, \'mr-3\': !mobileQuery.matches}">\n <button type="button" class="btn btn-light d-flex justify-content-center" [class.btn-block]="mobileQuery.matches"\n (click)="btnResetClick()">\n <mat-icon class="align-middle">restart_alt</mat-icon>\n <span class=\'align-middle ml-1\'>{{ \'common_reset\' | translate }}</span>\n </button>\n </div>\n <div [ngClass]="{\'col-12\': mobileQuery.matches, \'mr-3\': !mobileQuery.matches}">\n <button type="button" class="btn btn-primary d-flex justify-content-center"\n [class.btn-block]="mobileQuery.matches" (click)="btnSearchClick()">\n <mat-icon class="align-middle">search</mat-icon>\n <span class=\'align-middle ml-1\'>{{ \'common_search\' | translate }}</span>\n </button>\n </div>\n </div>\n</div>\n',styles:[""]})],M1);let O1=class{constructor(t,e,a,r,i,o){this.data=t,this.dialog=e,this.chainService=a,this.categoryService=r,this.supplierService=i,this.translate=o}ngOnInit(){this.onGetCategoriesList(),this.onGetChainList(),this.onGetSuppliers()}onGetChainList(){return this.chainService.getChainList().subscribe(t=>{this.chain=t,this.chainData=this.chain.data},t=>{console.log(t)})}onSearchChange(t){this.suppliers=this.suppliers.filter(e=>e.supplier_name.toLowerCase().indexOf(t.toLowerCase())>=0),0==t.length&&this.onGetSuppliers()}onGetSuppliers(){return this.supplierService.getSuppliersListS2C().subscribe(t=>{this.suppliersList=t,this.suppliers=this.suppliersList.data},t=>{console.log(t)})}onGetCategoriesList(){return this.categoryService.getCategories().subscribe(t=>{this.categories=t,this.catList=this.categories.data},t=>{console.log(t)})}applyFilter(t){this.catList=this.catList.filter(e=>e.category_name.toLowerCase().indexOf(t.toLowerCase())>=0),0==t.length&&this.onGetCategoriesList()}Filter(t,e,a){let r={chain:t,supplier:e,barcode:a};this.dialog.close(r)}cancel(){this.dialog.close()}};O1.ctorParameters=()=>[{type:void 0,decorators:[{type:m.tBr,args:[St.WI]}]}
1,{type:St.so},{type:Oe.l},{type:Ee.G},{type:vn.e},{type:Y.sK}],O1=(0,j.gn)([(0,m.wA2)({selector:"app-filter-product-supplier",template:'<span style=" margin-left: 95%;\ncursor: pointer;\nmargin-bottom: 20px;" (click)="cancel()">\n <img src="../../../../assets/images/close.svg">\n</span>\n<form style="display: flex;\nflex-wrap: wrap;">\n\n<mat-form-field appearance="outline" style="width : 27% ;">\n <mat-label>{{\'Supplier\' | translate}}</mat-label>\n <mat-select #supplier_id [value]="suppliers[1].id" >\n <mat-option [value]=0>{{\'none\' | translate}}</mat-option>\n <mat-option *ngFor="let supp of suppliers" [value]="supp.id"> {{supp.supplier_name}}</mat-option>\n </mat-select>\n</mat-form-field>\n\n\n\n<mat-form-field appearance="outline" style="width : 27% ;margin-left:2%">\n <input matInput #barcode (keyup)="supplier_id.value=\'\'"[placeholder]="\'Search-byBarcode\'| translate" >\n</mat-form-field>\n\n<mat-form-field appearance="outline" style="width : 27% ;margin-left:2%">\n <mat-label>{{\'Chain\' | translate}}</mat-label>\n <mat-select #chain_id >\n <mat-option [value]=0>{{\'none\' | translate}}</mat-option>\n <mat-option *ngFor="let chain of chainData" [value]="chain.id"> {{chain.chain_name}}</mat-option>\n </mat-select>\n</mat-form-field>\n\n <div class="bt-date-submit" (click)="Filter(chain_id.value,supplier_id.value,barcode.value)"><i class="fas fa-search"></i></div>\n</form>\n',styles:[".bt-date-submit {\n color: white;\n background-color: #a00000;\n border-radius: 50%;\n height: 42px;\n width: 42px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n margin-top: 2%;\n margin-left: 5%;\n}"]})],O1);var tkt=F(28353),ekt=F(20776);let Py=class{constructor(t,e,a,r,i,o,s,l){this.categoriesService=t,this.fundsService=e,this.supplierS2cService=a,this.route=r,this.loadingService=i,this.translateService=o,this.router=s,this.excelService=l,this.displayedColumns=["type","intitule","prop","residence","bloc","statut","action"],this.dataSource=new $e.by,this.total=0,this.sortDir=1,this.curDate=new Date,this.dateParams={chain_id:"",category_id:"",supplier_id:"",date_from:"",date_to:"",start_date:"",finish_date:"",sort_name:"",sort_type:""},this.formDataSource=[{type:"categorySelect",key:"category_id"},{type:"chainSelect",key:"chain_id"},{type:"dateTime",key:"start_date",placeholder:"common_startDate",translateKey:"common_startDate"},{type:"dateTime",key:"finish_date",placeholder:"common_endDate",translateKey:"common_endDate"},{type:"sort",key:"sort_name"},{type:"sort",key:"sort_type"}],this.filterChain=!0,this.configCategories=[],this.showButtonDownloadicon=!1,this.showButtonDownload=!1,this.actionIconCat=[],this.actionIconPay=[],this.actionIconTax=[],this.indiceColumn=0,this.indiceColumnPay=0,this.indiceColumnTax=0,this.categoryTitle="Top Category",this.catTitle="Category Detail",this.paymentTitle="Payment-Details",this.taxTitle="Tax Rate Detail",this.loadingService.openDialog()}ngOnInit(){this.TopCategories("","","","","","category_id","DESC",1),this.PaymentDetail("","","","payment_name","DESC",1),this.TaxRateDetail("","","","item_rate","DESC",1)}configPagination(t,e){let a=e;a=t<7?{itemsPerPage:t,currentPage:1,totalItems:t}:{itemsPerPage:7,currentPage:1,totalItems:t}}TopCategories(t,e,a,r,i,o,s,l){let c;this.actionIconCat[l]="DESC"!=s,this.dateParams.sort_name=o,this.dateParams.sort_type=s,this.CategorySub=this.categoriesService.getTopCategories(t,e,a,r,i,o,s).subscribe(d=>{this.Categories=d.data,this.dataSource.data=d.data,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,c=Object.keys(this.Categories[0]).length;for(let v=1;v<c+1;v++)v!==l&&null==this.actionIconCat[v]&&(this.actionIconCat[v]=!1);d.data.length<7?this.config={itemsPerPage:this.Categories.length,currentPage:1,totalItems:this.Categories.length}:this.config={itemsPerPage:7,currentPage:1,totalItems:this.Categories.length};let u=d.data.slice(0,9).map(v=>v.category_name);u.push("OTHERS");let h=d.data.map(v=>v.order_payment_amount_sum),f=/\,/gi;for(let v=0;v<h.length;v++)h[v]=+h[v].replace(f,"");for(let v=9;v<h.length;v++)this.total=this.total+h[v];h=h.slice(0,9),h.push(this.total),this.chart=new sr.Chart("canvas1",{type:"doughnut",data:{labels:u,datasets:[{label:u,backgroundColor:["#0582ca","#00a6fb","#84d2f6","#008000","#38b000","#70e000","#7251b5","#9163cb","#c19ee0","#d3d3d3"],data:h}]},options:{title:{display:!0,text:this.translateService.instant("Top Category"),fontSize:17,lineHeight:1.5,fontFamily:"tahoma"},legend:{labels:{usePointStyle:!0,fontStyle:"bold"}}}})})}clickCategoryName(t){const e=location.origin+"/shop/category-product-details/"+t.category_id+"?start_date="+this.dateParams.start_date+"&finish_date="+this.dateParams.finish_date;window.open(e)}PaymentDetail(t,e,a,r,i,o){let s;this.actionIconPay[o]="DESC"!=i,this.PaymentSub=this.fundsService.getPaymentDetail(t,e,a,r,i).subscribe(l=>{this.Payments=l.data,s=Object.keys(this.Payments[0]).length;for(let c=1;c<s+1;c++)c!==o&&null==this.actionIconPay[c]&&(this.actionIconPay[c]=!1);l.data.length<7?this.configPayments={itemsPerPage:this.Payments.length,currentPage:1,totalItems:this.Payments.length}:this.configPayments={itemsPerPage:7,currentPage:1,totalItems:this.Payments.length}})}TaxRateDetail(t,e,a,r,i,o){let s;this.actionIconTax[o]="DESC"!=i,this.TaxRateSub,this.supplierS2cService.getTaxRateDetail(t,e,a,r,i).subscribe(l=>{this.TaxRate=l.data,s=Object.keys(this.TaxRate[0]).length,this.loadingService.hideDialog();for(let c=1;c<s+1;c++)c!==o&&null==this.actionIconTax[c]&&(this.actionIconTax[c]=!1);
1l.data.length<7?this.configTaxRate={itemsPerPage:this.TaxRate.length,currentPage:1,totalItems:this.TaxRate.length}:this.configTaxRate={itemsPerPage:7,currentPage:1,totalItems:this.TaxRate.length}})}getTopCategoryTableBody(){return this.Categories.map(t=>Object.values(t))}generateExcelTopCategory(){this.showButtonDownloadicon=!0,this.loadingService.openDialog(),this.categoryHead=Object.keys(this.Categories[0]).map(e=>this.translateService.instant(e));this.excelService.generateExcel(this.Categories.map(e=>Object.values(e)),this.categoryHead,this.translateService.instant(this.categoryTitle),[3,4,5,6,7,8]),this.showButtonDownloadicon=!1,this.loadingService.hideDialog()}handleSubmit(t){this.dateParams={...t},this.PaymentDetail(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.sort_name,this.dateParams.sort_type,1),this.TaxRateDetail(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.sort_name,this.dateParams.sort_type,1),this.TopCategories(this.dateParams.start_date,this.dateParams.finish_date,this.dateParams.chain_id,this.dateParams.category_id,this.dateParams.supplier_id,this.dateParams.sort_name,this.dateParams.sort_type,1)}handleReset(){this.dateParams={chain_id:"",supplier_id:"",category_id:"",date_from:"",date_to:"",start_date:"",finish_date:"",sort_name:"",sort_type:"desc"}}getCatTableBody(){return JSON.parse(JSON.stringify(this.Categories)).map(e=>(e.percent=(100*parseFloat(e.percent)).toFixed(4),e.profit_percent=(100*parseFloat(e.profit_percent)).toFixed(2),Object.values(e)))}generateExcelCat(){if(this.showButtonDownload=!0,this.loadingService.openDialog(),this.Categories){this.catHead=Object.keys(this.Categories[0]).map(e=>this.translateService.instant(e));this.excelService.generateExcel(this.getCatTableBody(),this.catHead,this.translateService.instant(this.catTitle),[3,4,5,6,7,8]),this.showButtonDownload=!1,this.loadingService.hideDialog()}}getPaymentTableBody(){return JSON.parse(JSON.stringify(this.Payments)).map(e=>(e.percent=(100*parseFloat(e.percent)).toFixed(4),Object.values(e)))}generateExcelPayment(){this.showButtonDownload=!0,this.loadingService.openDialog(),this.paymentHead=Object.keys(this.Payments[0]).map(e=>this.translateService.instant(e));this.excelService.generateExcel(this.getPaymentTableBody(),this.paymentHead,this.translateService.instant(this.paymentTitle),[2,3]),this.showButtonDownload=!1,this.loadingService.hideDialog()}getTaxTableBody(){return JSON.parse(JSON.stringify(this.TaxRate)).map(e=>(e.percent=(100*parseFloat(e.percent)).toFixed(2),Object.values(e)))}generateExcelTax(){this.taxHead=Object.keys(this.TaxRate[0]).map(e=>this.translateService.instant(e));this.excelService.generateExcel(this.getTaxTableBody(),this.taxHead,this.translateService.instant(this.taxTitle),[4,5,6]),this.showButtonDownload=!1,this.loadingService.hideDialog()}ngOnDestroy(){var t=this;return(0,ti.Z)(function*(){t.CategorySub&&t.CategorySub.unsubscribe(),t.PaymentSub&&t.PaymentSub.unsubscribe(),t.TaxRateSub&&t.TaxRateSub.unsubscribe()})()}};Py.ctorParameters=()=>[{type:Ee.G},{type:av},{type:vn.e},{type:It.gz},{type:Qe.E},{type:Y.sK},{type:It.F0},{type:kr}],Py.propDecorators={paginator:[{type:m.i9L,args:[Wa.NW,{static:!0}]}],sort:[{type:m.i9L,args:[Ma.YE,{static:!0}]}],Input:[{type:m.i9L,args:[QO.Nt,{static:!0}]}],ngOnDestroy:[{type:m.L6J,args:["window:beforeunload"]}]},Py=(0,j.gn)([(0,m.wA2)({selector:"app-report-by-category",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-field-form\n [formColumn]="formDataSource"\n (onSubmit)="handleSubmit($event)"\n (onReset)="handleReset()"\n >\n </app-common-search-field-form>\n <div class="row" style="margin: 3px">\n <mat-card class="col-md-3">\n <mat-icon\n *ngIf="chart"\n [disabled]="showButtonDownloadicon"\n (click)="generateExcelTopCategory()"\n class="download"\n >\n cloud_download</mat-icon\n >\n <canvas id="canvas1" style="width: 100%; height: 500px">\n {{ chart }}\n </canvas>\n </mat-card>\n <mat-card class="col-lg-9" style="overflow-y: auto; overflow-x: auto">\n <div class="row">\n <div class="col">\n <h6>{{ "Category Detail" | translate }}</h6>\n </div>\n <div *ngIf="Categories" class="col">\n \x3c!-- download excel button --\x3e\n <button\n [disabled]="showButtonDownload"\n (click)="generateExcelCat()"\n style="float: right"\n class="btn btn-primary d-flex align-items-center justify-content-center"\n >\n {{ "Download" | translate }}\n <i class="material-icons"> download </i>\n </button>\n </div>\n </div>\n <div class="pb-3" style="overflow: auto; margin-bottom: 40px;">\n <table class="table table-hover">\n <thead>\n <tr style="border: hidden">\n <th class="text-left">\n {{ "Category ID" | translate }}\n <i\n *ngIf="actionIconCat[1] == false && Categories"\n (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_id\', \'ASC\', 1)\n "\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconCat[1] == true && Categories"\n (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_id\', \'DESC\', 1)\n "\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Category Name" | translate }}\n <i\n *ngIf="actionIconCat[2] == false && Categories"\n (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_name\', \'ASC\', 2)\n "\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconCat[2] == true && Categories"\n (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_name\', \'DESC\', 2)\n "\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Total Order Payment Amount" | translate }}\n <i\n *ngIf="actionIconCat[3] == false && Categories"\n (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_id\', \'ASC\', 3)\n "\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconCat[3] == true && Categories"\n (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_id\', \'DESC\', 3)\n "\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Percent" | translate }}\n <i\n *ngIf="actionIconCat[4] == false && Categories"\n (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_id\', \'ASC\', 4)\n "\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconCat[4] == true && Categories"\n (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_id\', \'DESC\', 4)\n "\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Total Payment Amount" | translate }}\n <i\n *ngIf="actionIconCat[5] == false && Categories"\n (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'category_id\', \'ASC\', 5)\n "\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconCat[5] == true && Categories"\n (click)="\n TopCategories(\n \'\',\n \'\',\n \'\',\n \'\',\n \'\',\n \'payment_amount_sum\',\n \'DESC\',\n 5\n )\n "\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Total-Quantity" | translate }}\n <i\n *ngIf="actionIconCat[6] == false && Categories"\n (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'quantity_sum\', \'ASC\', 6)\n "\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconCat[6] == true && Categories"\n (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'quantity_sum\', \'DESC\', 6)\n "\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Profit" | translate }}\n <i\n *ngIf="actionIconCat[7] == false && Categories"\n (click)="TopCategories(\'\', \'\', \'\', \'\', \'\', \'profit\', \'ASC\', 7)"\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconCat[7] == true && Categories"\n (click)="TopCategories(\'\', \'\', \'\', \'\', \'\', \'profit\', \'DESC\', 7)"\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Profit Percent" | translate }}\n <i\n *ngIf="actionIconCat[8] == false && Categories"\n (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'profit_percent\', \'ASC\', 8)\n "\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconCat[8] == true && Categories"\n (click)="\n TopCategories(\'\', \'\', \'\', \'\', \'\', \'profit_percent\', \'DESC\', 8)\n "\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n </tr>\n </thead>\n <tbody *ngFor="let c of Categories | paginate : config">\n <tr style="border: hidden">\n <td class="text-left">{{ c.category_id }}</td>\n <td class="text-right">\n <a\n target="_blank"\n [routerLink]="[\'/shop/category-product-details\', c.category_id]"\n style="text-decoration: underline; cursor: pointer; color: blue"\n >{{ c.category_name }}</a\n >\n </td>\n <td class="text-right">{{ c.order_payment_amount_sum }}</td>\n <td class="text-right">{{ c.percent | percent }}</td>\n <td class="text-right">{{ c.payment_amount_sum }}</td>\n <td class="text-right">{{ c.quantity_sum }}</td>\n <td class="text-right">{{ c.profit }}</td>\n <td class="text-right">{{ c.profit_percent | percent }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class="pagination-custom">\n <pagination-controls\n (pageChange)="config.currentPage = $event"\n previousLabel=""\n nextLabel=""\n >\n </pagination-controls>\n </div>\n </mat-card>\n </div>\n <div class="row" style="margin: 3px">\n <mat-card\n class="col-md-6"\n style="width: 100%; height: 430px; overflow-x: auto"\n >\n <div class="row">\n <div class="col">\n <h6>{{ "Payment-Details" | translate }}</h6>\n </div>\n <div *ngIf="Payments" class="col">\n \x3c!-- download excel button --\x3e\n <button\n [disabled]="showButtonDownload"\n (click)="generateExcelPayment()"\n style="float: right"\n class="btn btn-primary d-flex align-items-center justify-content-center"\n >\n {{ "Download" | translate }}\n <i class="material-icons"> download </i>\n </button>\n </div>\n </div>\n <div class="pb-3" style="overflow: auto; margin-bottom: 40px;">\n <table class="table table-hover">\n <thead>\n <tr style="border: hidden">\n <th class="text-left">\n {{ "payment_name" | translate }}\n <i\n *ngIf="actionIconPay[1] == false && Payments"\n (click)="PaymentDetail(\'\', \'\', \'\', \'payment_name\', \'ASC\', 1)"\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconPay[1] == true && Payments"\n (click)="PaymentDetail(\'\', \'\', \'\', \'payment_name\', \'DESC\', 1)"\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Total Order Payment Amount" | translate }}\n <i\n *ngIf="actionIconPay[2] == false && Payments"\n (click)="\n PaymentDetail(\n \'\',\n \'\',\n \'\',\n \'order_payment_amount_sum\',\n \'ASC\',\n 2\n )\n "\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconPay[2] == true && Payments"\n (click)="\n PaymentDetail(\n \'\',\n \'\',\n \'\',\n \'order_payment_amount_sum\',\n \'DESC\',\n 2\n )\n "\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Percent" | translate }}\n <i\n *ngIf="actionIconPay[3] == false && Payments"\n (click)="PaymentDetail(\'\', \'\', \'\', \'percent\', \'ASC\', 3)"\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconPay[3] == true && Payments"\n (click)="PaymentDetail(\'\', \'\', \'\', \'percent\', \'DESC\', 3)"\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "orders_count" | translate }}\n <i\n *ngIf="actionIconPay[4] == false && Payments"\n (click)="PaymentDetail(\'\', \'\', \'\', \'total_orders\', \'ASC\', 4)"\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconPay[4] == true && Payments"\n (click)="PaymentDetail(\'\', \'\', \'\', \'total_orders\', \'DESC\', 4)"\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Total Payment Amount" | translate }}\n <i\n *ngIf="actionIconPay[5] == false && Payments"\n (click)="\n PaymentDetail(\'\', \'\', \'\', \'payment_amount_sum\', \'ASC\', 5)\n "\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconPay[5] == true && Payments"\n (click)="\n PaymentDetail(\'\', \'\', \'\', \'payment_amount_sum\', \'DESC\', 5)\n "\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n </tr>\n </thead>\n <tbody *ngFor="let p of Payments">\n <tr style="border: hidden">\n
1 <td class="text-left">{{ p.payment_name }}</td>\n <td class="text-right">\n {{ p.order_payment_amount_sum | number : "0.2-2" }}\n </td>\n <td class="text-right">{{ p.percent | percent }}</td>\n <td class="text-right">{{ p.total_orders }}</td>\n <td class="text-right">\n {{ p.payment_amount_sum | number : "0.2-2" }}\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </mat-card>\n <mat-card\n class="col-md-6"\n style="width: 100%; height: 430px; overflow-x: auto"\n >\n <div class="row">\n <div class="col">\n <h6>{{ "Tax Rate Detail" | translate }}</h6>\n </div>\n <div *ngIf="TaxRate" class="col">\n \x3c!-- download excel button --\x3e\n <button\n [disabled]="showButtonDownload"\n (click)="generateExcelTax()"\n style="float: right"\n class="btn btn-primary d-flex align-items-center justify-content-center"\n >\n {{ "Download" | translate }}\n <i class="material-icons"> download </i>\n </button>\n </div>\n </div>\n <div class="pb-3" style="overflow: auto; margin-bottom: 40px;">\n <table class="table table-hover">\n <thead>\n <tr style="border: hidden">\n <th class="text-left">\n {{ "Tax Rate" | translate }}\n <i\n *ngIf="actionIconTax[1] == false && TaxRate"\n (click)="TaxRateDetail(\'\', \'\', \'\', \'item_rate\', \'ASC\', 1)"\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconTax[1] == true && TaxRate"\n (click)="TaxRateDetail(\'\', \'\', \'\', \'item_rate\', \'DESC\', 1)"\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Total Order Payment Amount" | translate }}\n <i\n *ngIf="actionIconTax[2] == false && TaxRate"\n (click)="\n TaxRateDetail(\n \'\',\n \'\',\n \'\',\n \'order_payment_amount_sum\',\n \'ASC\',\n 2\n )\n "\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconTax[2] == true && TaxRate"\n (click)="\n TaxRateDetail(\n \'\',\n \'\',\n \'\',\n \'order_payment_amount_sum\',\n \'DESC\',\n 2\n )\n "\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Total Tax Amount" | translate }}\n <i\n *ngIf="actionIconTax[3] == false && TaxRate"\n (click)="PaymentDetail(\'\', \'\', \'\', \'tax_amount_sum\', \'ASC\', 3)"\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconTax[3] == true && TaxRate"\n (click)="TaxRateDetail(\'\', \'\', \'\', \'tax_amount_sum\', \'DESC\', 3)"\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Percent" | translate }}\n <i\n *ngIf="actionIconTax[4] == false && TaxRate"\n (click)="TaxRateDetail(\'\', \'\', \'\', \'percent\', \'ASC\', 4)"\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconTax[4] == true && TaxRate"\n (click)="TaxRateDetail(\'\', \'\', \'\', \'percent\', \'DESC\', 4)"\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Total Payment Amount" | translate }}\n <i\n *ngIf="actionIconTax[5] == false && TaxRate"\n (click)="\n TaxRateDetail(\'\', \'\', \'\', \'payment_amount_sum\', \'ASC\', 5)\n "\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconTax[5] == true && TaxRate"\n (click)="\n TaxRateDetail(\'\', \'\', \'\', \'payment_amount_sum\', \'DESC\', 5)\n "\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n <th class="text-right">\n {{ "Total Product Quantity" | translate }}\n <i\n *ngIf="actionIconTax[6] == false && Payments"\n (click)="TaxRateDetail(\'\', \'\', \'\', \'quantity_sum\', \'ASC\', 6)"\n class="my-icon fa fa-chevron-down"\n ></i>\n <i\n *ngIf="actionIconTax[6] == true && Payments"\n (click)="TaxRateDetail(\'\', \'\', \'\', \'quantity_sum\', \'DESC\', 6)"\n class="my-icon fa fa-chevron-up"\n ></i>\n </th>\n </tr>\n </thead>\n <tbody *ngFor="let t of TaxRate">\n <tr style="text-align: right; border: hidden">\n <td class="text-left">{{ t.item_rate }}</td>\n <td class="text-right">\n {{ t.order_payment_amount_sum | number : "0.2-2" }}\n </td>\n <td class="text-right">\n {{ t.tax_amount_sum | number : "0.2-2" }}\n </td>\n <td class="text-right">{{ t.percent | percent }}</td>\n <td class="text-right">\n {{ t.payment_amount_sum | number : "0.2-2" }}\n </td>\n <td class="text-right">{{ t.quantity_sum }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </mat-card>\n </div>\n</div>\n',styles:[YO]})],Py);let R1=class{constructor(){}ngOnInit(){}};R1.ctorParameters=()=>[],R1=(0,j.gn)([(0,m.wA2)({selector:"app-inventory-physical",template:'<app-common-error code="403"></app-common-error>',styles:[""]})],R1);var cM,ikt=F(89329),okt=F(54333),skt=F(42831),lkt=F(54546);let dM=cM=class{static forRoot(){return{ngModule:cM,providers:[]}}};dM=cM=(0,j.gn)([(0,m.LVF)({declarations:[f0.j],imports:[],exports:[f0.j]})],dM);let L1=class{constructor(t,e,a,r,i,o,s){this.route=t,this.router=e,this.purchaseService=a,this.messageService=r,this.snackbar=i,this.supplierService=o,this.translate=s,this.isChecked=!1,this.isReadonly=!0,this.isDisabled=!0,this.id=null,this.EditSuggestPurchase=new V.cw({name:new V.NI("",[V.kI.required]),remark:new V.NI(""),chain_id:new V.NI(null),suppliers:new V.NI(null),create_user:new V.NI({value:"",disabled:!0}),day1:new V.NI(""),day2:new V.NI(""),enable_holiday:new V.NI(0),enable_weekend:new V.NI(0),execution_time:new V.NI("")}),this.suppliers=[]}ngOnInit(){this.route.paramMap.subscribe(t=>{this.id=t.get("id")}),this.id&&(this.getbyId(),this.getsuppliers())}
1selectChain(t){this.EditSuggestPurchase.get("chain_id").setValue(t.id)}getsuppliers(){this.supplierService.getAllSuppliersListFromCustomer().subscribe(t=>{this.suppliers=t.data.map(e=>({id:e.id,supplier_name:e.supplier_name}))})}getbyId(){this.purchaseService.getPurchaseSuggestListById(this.id).subscribe(t=>{this.rsltById=t.data[0],this.EditSuggestPurchase.patchValue({name:this.rsltById.name?this.rsltById.name:"",chain_id:this.rsltById.chain_id?this.rsltById.chain_id:"",remark:this.rsltById.remark?this.rsltById.remark:"",create_user:this.rsltById.create_user?this.rsltById.create_user:"",day1:this.rsltById.day1?this.rsltById.day1:V.kI.min(0),day2:this.rsltById.day2?this.rsltById.day2:V.kI.min(0),holiday_coefficient:this.rsltById.holiday_coefficient?this.rsltById.holiday_coefficient:0,weekend_coefficient:this.rsltById.weekend_coefficient?this.rsltById.weekend_coefficient:0,execution_time:this.rsltById.execution_time?this.rsltById.execution_time:"",shipping_address:this.rsltById.shipping_address?this.rsltById.shipping_address:"",shipping_price:this.rsltById.shipping_price?this.rsltById.shipping_price:"",shipping_date:this.rsltById.shipping_date?this.rsltById.shipping_date:"",expired_date:this.rsltById.expired_date?this.rsltById.expired_date:""})})}changeCheckbox(t){}get f(){return this.EditSuggestPurchase.controls}toggleReadonly(){this.isReadonly=!this.isReadonly}EnableHoliday(t){t.checked?this.EditSuggestPurchase.patchValue({enable_holiday:1}):this.EditSuggestPurchase.patchValue({enable_holiday:0})}EnableWeekend(t){t.checked?this.EditSuggestPurchase.patchValue({enable_weekend:1}):this.EditSuggestPurchase.patchValue({enable_weekend:0})}UpdateDate(){this.purchaseService.updatePurchaseSuggest(this.EditSuggestPurchase.value,this.id).subscribe(t=>{this.result=t,(this.result.msg="success")?(this.snackbar.open("Chinese"===this.translate.currentLang?"\u66f4\u65b0\u6210\u529f":"Italian"===this.translate.currentLang?"aggiornato con successo":"updated Successfully","OK",{duration:2e3}),this.router.navigate(["/shop/purchase/suggest-purchase"])):this.messageService.error(t.msg)})}};L1.ctorParameters=()=>[{type:It.gz},{type:It.F0},{type:Oi.B},{type:ne.I},{type:We.ux},{type:vn.e},{type:Y.sK}],L1=(0,j.gn)([(0,m.wA2)({selector:"app-edit-purchase-suggest",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <hr>\n <form [formGroup]="EditSuggestPurchase">\n <div class="row" style="margin-top:20px ;">\n\n\n <div class="col-md-6" style="display: inline-flex; ">\n <label style="margin-right: 10px; margin-top:8px;">{{\'common_name\' | translate}} :</label>\n <input type="text" name="name" class="form-control" id="name" placeholder="{{\'common_name\' | translate}}"\n formControlName="name" required>\n\n </div>\n <app-chain-selection [isShowAdd]="false" [required]="false" [selected_id]="EditSuggestPurchase.value.chain_id" #chainSelection (chainChange)="selectChain($event)">\n </app-chain-selection>\n\n <div class="col-md-6" style="display: inline-flex;">\n <label style="margin-right: 10px; margin-top:8px;">{{\'common_create_user\' | translate}} :</label>\n <input type="text" name="create_user" class="form-control" id="create_user" formControlName="create_user">\n </div>\n\n <div class="col-md-6" style="display: inline-flex;">\n <label style="margin-right: 10px; margin-top:8px;">{{\'Notes\' | translate}} :</label>\n <input type="text" name="remark" class="form-control" id="remark" placeholder="{{\'Notes\' | translate}}"\n formControlName="remark">\n </div>\n </div>\n \x3c!-- <div class="row" id="first">\n <div class="col-md-6" style="display: inline-flex;">\n <label style="margin-right: 10px; margin-top:10px;">{{\'common_supplier\' | translate}} :</label>\n <div class="col-5 px-0 pt-3">\n <ng-select [items]="suppliers" bindLabel="supplier_name" bindValue="id" [multiple]="true"\n formControlName="suppliers" placeholder="{{ \'common_supplier\' | translate }}"\n [(ngModel)]="selectedSuppliers">\n </ng-select>\n </div>\n </div>\n\n </div> --\x3e\n <hr>\n <div class="row">\n <div class="col-md-12">\n <label style="margin-right: 10px; margin-top:8px;">{{\'Calculation formula\' | translate}}:</label>
1\n <span style="margin-top: 20px;">{{\'Average daily sales in recent N days\' | translate}} * {{\'procurement_cycle\' |\n translate}}+{{\'Inventory Alert Lower Limit\' | translate}}-{{\'Available for sale inventory\' |\n translate}}-{{\'transportation inventory\' | translate}}) * {{\'base_coefficient\' | translate}}</span>\n </div>\n\n <div class="col-md-12">\n <label style="margin-right: 10px; margin-top:8px;">{{\'sales_cycle\' | translate}} :</label>\n <input type="number" name="day1" class="form-control" id="day1" value="3" formControlName="day1"><br>\n <span style="margin-top: 27px; margin-left: -300px;">{{\'sales_cycle\' | translate}}</span><br>\n </div>\n\n <div class="col-md-12">\n <label style="margin-right: 10px; margin-top:8px;">{{\'procurement_cycle\' | translate}} :</label>\n <input type="number" name="day2" class="form-control" id="day2" value="3" formControlName="day2"><br>\n <span style="margin-top: 27px; margin-left: -300px;">{{\'procurement_cycle_desc\' | translate}}</span><br>\n </div>\n\n <div class="col-md-12">\n <label style=" margin-top:8px;">{{\'base_coefficient\' | translate}} :</label>\n <span style="margin-top: 20px; margin-left: 5px;">{{\'base_coefficient_desc\' | translate}}</span>\n </div>\n\n <div class="col-md-12" style="margin-top: 20px;">\n <label style="margin-right: 10px; margin-top:8px;">\n <input (change)="EnableHoliday($event.target)" formControlName="enable_holiday" style="width: 30px; height: 20px;margin-top: 0px;" type="checkbox" value="2">\n <span style="color: rgba(0, 0, 0, 0.87);">{{\'holiday_coefficient\' | translate}}:</span> </label>\n <input type="number" name="holiday_coefficient" class="form-control" id="holiday_coefficient" placeholder="2.00"\n /><br/>\n <span class="text-wrap">{{\'holiday_coefficient_desc\' | translate}}</span>\n </div>\n\n <div class="col-md-12" style="margin-top: 20px;">\n <label style="margin-right: 10px; margin-top:8px;">\n <input (change)="EnableWeekend($event.target)" formControlName="enable_weekend" style="width: 30px; height: 20px;margin-top: 0px;" type="checkbox" value="3"/>\n <span style="color: rgba(0, 0, 0, 0.87);">{{\'weekend_coefficient\' | translate}}:</span></label>\n <input type="number" name="weekend_coefficient" class="form-control" id="weekend_coefficient" placeholder="3.00"\n /><br/>\n <span class="text-wrap">{{\'weekend_coefficient_desc\' | translate}}</span>\n\n </div>\n\n\n <div class="col-md-12 mt-3">\n <label style="margin-right: 10px; margin-top:8px;">{{\'execution_time\' | translate}}:</label>\n <mat-form-field appearance="outline" class="form-element">\n <mat-label>{{ \'execution_time\' | translate }} </mat-label>\n\n <input formControlName="execution_time" type="time" matInput\n placeholder="{{\'execution_time\' | translate}}" />\n </mat-form-field>\n </div>\n </div>\n <div style="text-align: center; margin-top: 270px;">\n <button mat-raised-button type="reset" (click)="getbyId()"\n style="background-color: #ffffff ; color : rgb(0, 0, 0);margin-right: 5px;border: 1 px black;">\n {{"Reset" | translate}}</button>\n <button mat-raised-button type="submit" (click)="UpdateDate()"\n style="background-color: #4254f5 ; color : rgb(255, 255, 255); ">\n {{\'common_edit\' |translate}}</button>\n\n </div>\n </form>\n\n\n\n</div>\n',styles:["label {\n align-items: center;\n height: 40px;\n width: 250px;\n margin-top: 50px;\n text-align: right;\n clear: both;\n float: left;\n padding-top: 10px;\n}\n\ninput {\n height: 40px;\n width: 300px;\n margin-top: 10px;\n float: left;\n}\n\nspan {\n color: #8d8c8c;\n word-wrap: break-word;\n}\n\napp-chain-selection {\n margin-left: 273px;\n width: 300px;\n}"]})],L1);var ukt=F(64352);let N1=class{constructor(t,e,a){this.router=t,this.InventoryServicesService=e,this.pagerService=a,this.displayedColumns=["category","product_name","product_barcode","prod-qty","check-qty","status"],this.dataSource=new $e.by,this.page=1,t.params.subscribe(r=>{this.currentId=r.id})}ngOnInit(){this.onProductByTaskId(1)}onProductByTaskId(t){return this.InventoryServicesService.getProductByTaskId(this.page,this.currentId).subscribe(e=>{this.currentTask=e,this.ProdLength=this.currentTask.total,this.prodlist=this.currentTask.data,this.pager2=this.pagerService.getPager(this.ProdLength,t),this.dataSource.data=this.prodlist},e=>{console.log(e)})}comparValues(t,e){for(let a=0;a<this.prodlist.length;a++)this.prodlist[a].id==t&&(this.currentProduct=t,this.prodlist[a].product_quantity==e?(this.egaux=!0,this.less=!1,this.more=!1):this.prodlist[a].product_quantity>e?(this.egaux=!1,this.less=!0,this.more=!1):this.prodlist[a].product_quantity<e&&(this.egaux=!1,this.less=!1,this.more=!0),""==e&&(this.egaux=!1,this.less=!1,this.more=!1))}};N1.ctorParameters=()=>[{type:It.gz},{type:aR.m},{type:Ms.e}],N1=(0,j.gn)([(0,m.wA2)({selector:"app-check-inventory-physical",template:'<div class="mainContainer p-3 roun
1ded pb-8">\n <div><span id="txt1"> {{\'Physical inventory\'| translate}}</span>\n <br />\n <hr>\n </div>\n\n <div>\n <div>\n\n\n\n <div class="bt-act-revenu">\n <div class="bt-date-submit" style="margin-right: 6%;"> <i\n class="material-icons" style="color: #fff;">filter_alt</i></div>\n\n <div class="bt-date-submit" style="margin-right: 6%;" routerLink="/wms/physical-inventory-add"><i\n class="material-icons" style="color: #fff;">add</i></div>\n </div>\n\n\n\n <table mat-table [dataSource]="dataSource" class="table1" style="width: 100%;">\n\n <ng-container matColumnDef="category">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Category\'| translate}} </th>\n <td mat-cell *matCellDef="let element">\n <p *ngIf="element.category">{{element.category.category_name}}</p>\n <p *ngIf="!element.category">--</p>\n </ng-container>\n\n\n\n\n <ng-container matColumnDef="product_name">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true">{{\'Product-Name\'| translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.product_name}}</td>\n </ng-container>\n\n\n\n\n <ng-container matColumnDef="product_barcode">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{\'Barcode\'| translate}} </th>\n <td mat-cell *matCellDef="let element"> {{element.product_barcode}} </td>\n </ng-container>\n\n\n\n <ng-container matColumnDef="prod-qty">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"Product-Quantity" | translate}}</th>\n <td mat-cell *matCellDef="let element"> {{element.product_quantity }} </td>\n </ng-container>\n\n <ng-container matColumnDef="check-qty">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"check-quantity" | translate}}</th>\n <td mat-cell *matCellDef="let element">\n <input placeholder="Put Quantity" #check\n style="\n border: none;\n border-bottom: 1px solid #8080809c;\n padding-left: 5%;\n width: 120px;" (keyup)="comparValues(element.id,check.value)" />\n </td>\n </ng-container>\n\n <ng-container matColumnDef="status">\n <th mat-header-cell *matHeaderCellDef [resizeColumn]="true"> {{"Status" | translate}}</th>\n <td mat-cell *matCellDef="let element">\n <i class="fas fa-level-up-alt" style="color: greenyellow;font-size: 25px;" *ngIf="more && element.id == currentProduct"></i>\n <i class="fas fa-level-down-alt" style="color: red;font-size: 25px;" *ngIf="less && element.id == currentProduct"></i>\n <i class="fas fa-equals" style="color: orange;font-size: 25px;" *ngIf="egaux && element.id == currentProduct"></i>\n </td>\n </ng-container>\n\n\n\n\n\n <tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>\n <tr mat-row *matRowDef="let row; columns: displayedColumns;">\n </tr>\n\n\n </table>\n </div>\n <br />\n <div class="pagination-in mt-4">\n \x3c!-- <nav aria-label="Page navigation example">\n <ul *ngIf="pager.pages && pager.pages.length" class="pagination justify-content-center pagination-sm">\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === 1}">\n <a class="page-link"\n (click)="setPage(1,warehouse_id,inventory_task_id,inventory_type)">{{\'first\'|\n translate}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === 1}">\n <a class="page-link"\n (click)="setPage(pager.currentPage - 1,warehouse_id,inventory_task_id,inventory_type)">{{\'previous\'|\n translate}}</a>\n </li>\n <li class="page-item active" *ngFor="let page of pager.pages" [ngClass]="{active:pager.currentPage === page}">\n <a class="page-link"\n (click)="setPage(page,warehouse_id,inventory_task_id,inventory_type)">{{page}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === pager.totalPages}">\n <a class="page-link"\n (click)="setPage(pager.currentPage + 1,warehouse_id,inventory_task_id,inventory_type)">{{\'Next\'|\n translate}}</a>\n </li>\n <li class="page-item " [ngClass]="{disabled:pager.currentPage === pager.totalPages}">\n <a class="page-link"\n (click)="setPage(pager.totalPages,warehouse_id,inventory_task_id,inventory_type)">{{\'last\'|\n translate}}</a>\n </li>\n </ul>\n </nav> --\x3e\n\n </div>\n </div>\n </div>\n',styles:[""]})],N1);var mkt=F(41846),fkt=F(44349),gkt=F(17355),vkt=F(59549),Akt=F(97392),ykt=F(59484);let U1=class{constructor(t,e){console.log("dashboard module init"),t.registerFontClassAlias("flags","fi"),t.addSvgIcon("siyou",e.bypassSecurityTrustResourceUrl("assets/svgs/siyou.svg")),t.addSvgIcon("products",e.bypassSecurityTrustResourceUrl("assets/svgs/products.svg")),t.addSvgIcon("orders",e.bypassSecurityTrustResourceUrl("assets/svgs/orders.svg")),t.addSvgIcon("catalogs",e.bypassSecurityTrustResourceUrl("assets/svgs/catalogs.svg")),t.addSvgIcon("warehouses",e.bypassSecurityTrustResourceUrl("assets/svgs/warehouse.svg")),t.addSvgIcon("funds",e.bypassSecurityTrustResourceUrl("assets/svgs/funds.svg")),t.addSvgIcon("logo_store",e.bypassSecurityTrustResourceUrl("assets/svgs/logo_store.svg")),t.addSvgIcon("minus",e.bypassSecurityTrustResourceUrl("assets/svgs/minus.svg")),t.addSvgIcon("noData",e.bypassSecurityTrustResourceUrl("assets/svgs/no_data.svg")),t.addSvgIcon("under_construction",e.bypassSecurityTrustResourceUrl("assets/svgs/under_construction.svg")),t.addSvgIcon("copy",e.bypassSecurityTrustResourceUrl("assets/images/copy.svg"))}};U1.ctorParameters=()=>[{type:Akt.jv},{type:ct.H7}],U1=(0,j.gn)([(0,m.LVF)({declarations:[gkt.P,fkt.b,Dh,m0,$O.n,Bc,skt.z,lkt.q,Gb,Mk.h,ck.m,Hu,hh,Kc,Bg,wy,R1,Xp,Gc,zu,qf,qu,jb,Hg,Eu,Bf,Yp,$8.G,jf,vc,ekt.L,Wb,Yg,T1,fg,lM,Fu,jg,Cg,jwt.$,aO.U,uh,nv,Gu,$f,Mg,Gg,$p,Wwt.l,Zg,M1,Kp,O1,tv,I1,ph,ukt.F,Ti,lh,Kg,Qf,Qp,Vg,sh,Wg,qc,ky,Gp,P1,Kf,$g,Xg,Rg,Lg,Wp,Ng,Jg,mh,gh,Ty,oh,Bu,qg,fh,Og,jO.Y,Sg,yc,pv,mkt.H,th,Ku,wg,vg,C1,Ag,Dy,Dg,D1,yg,Fg,Pg,eh,Ig,bg,Km,Wm,Cy,Gm,Tg,Jp,Zp,dh,Qg,nh,ah,Kb,jp,sk.m,Ug,zg,gg,vh,Jf,Py,Ah,bh,Rk.L,_h,yh,rv,xv,N1,ov,nR.n,_v,tR._,uv,eR.v,ZO.a,xh,sv,Eg,ih,Ik.m,WO.J,Sh,GO.E,ikt.Y,Wc,KO.y,Zf,lv,cv,wh,dv,kh,Ch,Rk.L,Jc,L1,Th,Ph,jc,qm,ch,Hm,mg,O9.a,_y,by,R9.M,jm,Hf,Sy,pu,Wl,xy,Bm,mv,fv,gv,vv,yv,bv,Av],imports:[Rs._8.forRoot({provide:Rs._A,useFactory:tkt.x}),Ao.forRoot(),dM.forRoot(),N9.U5,okt.JX,U9.HT,Zc.nZ,fc,Q.ez,sM,Ct._t,xt.A0,V.u5,Nt.JF,nt.Hi,Mi,J9.Co,L9.eL,V.UX,kt.Cl,nO.m,Y.aw,ykt.c],schemas:[m.MUr],providers:[Ac,Ef,Q.uU,zf,Ms.e,go,{provide:St.WI,useValue:{}},{provide:St.so,useValue:{}},{provide:vkt.o2,useValue:{appearance:"fill"}}],exports:[Hwt.rt,N9.U5,U9.HT,Zc.nZ,Ct._t,Bwt.U8,L9.eL,kt.Cl,jc,nO.m]})],U1)},77088:(ut,mt,F)=>{"use strict";F.d(mt,{C:()=>ha});var lt=F(97582);var Ct=F(94650),kt=F(44476),Q=F(58370),Nt=F(80953),m=F(40833);function V(je,$t){(0,m.Z)(2,arguments);var ye=(0,Nt.Z)(je),Un=(0,Nt.Z)($t),gn=ye.getTime()-Un.getTime();return gn<0?-1:gn>0?1:gn}var nt=F(53561),ct=F(95676);function Y(je,$t){(0,m.Z)(2,arguments);var Ie,ye=(0,Nt.Z)(je),Un=(0,Nt.Z)($t),gn=V(ye,Un),kn=Math.abs((0,nt.Z)(ye,Un));if(kn<1)Ie=0;else{1===ye.getMonth()&&ye.getDate()>27&&ye.setDate(30),ye.setMonth(ye.getMonth()-gn*kn);var fr=V(ye,Un)===-gn;(0,ct.Z)((0,Nt.Z)(je))&&1===kn&&1===V(je,Un)&&(fr=!1),Ie=gn*(kn-Number(fr))}return 0===Ie?0:Ie}var wt=F(87645),re=F(48293),qt=F(71665);function Ft(je){return(0,qt.Z)({},je)}var yt=F(9868),Wt=43200;function Tt(je,$t,ye){var Un,gn;(0,m.Z)(2,arguments);var kn=(0,Q.j)(),Ie=null!==(Un=null!==(gn=null==ye?void 0:ye.locale)&&void 0!==gn?gn:kn.locale)&&void 0!==Un?Un:re.Z;if(!Ie.formatDistance)throw new RangeError("locale must contain formatDistance property");var fr=V(je,$t);if(isNaN(fr))throw new RangeError("Invalid time value");var gi,ro,yn=(0,qt.Z)(Ft(ye),{addSuffix:Boolean(null==ye?void 0:ye.addSuffix),comparison:fr});fr>0?(gi=(0,Nt.Z)($t),ro=(0,Nt.Z)(je)):(gi=(0,Nt.Z)(je),ro=(0,Nt.Z)($t));var Ai,vi=(0,wt.Z)(ro,gi),Jm=((0,yt.Z)(ro)-(0,yt.Z)(gi))/1e3,Xn=Math.round((vi-Jm)/60);if(Xn<2)return null!=ye&&ye.includeSeconds?vi<5?Ie.formatDistance("lessThanXSeconds",5,yn):vi<10?Ie.formatDistance("lessThanXSeconds",10,yn):vi<20?Ie.formatDistance("lessThanXSeconds",20,yn):vi<40?Ie.formatDistance("halfAMinute",0,yn):vi<60?Ie.formatDistance("lessThanXMinutes",1,yn):Ie.formatDistance("xMinutes",1,yn):0===Xn?Ie.formatDistance("lessThanXMinutes",1,yn):Ie.formatDistance("xMinutes",Xn,yn);if(Xn<45)return Ie.formatDistance("xMinutes",Xn,yn);if(Xn<90)return Ie.formatDistance("aboutXHours",1,yn);if(Xn<1440){var Zl=Math.round(Xn/60);return Ie.formatDistance("aboutXHours",Zl,yn)}if(Xn<2520)return Ie.formatDistance("xDays",1,yn);if(Xn<Wt){var Zm=Math.round(Xn/1440);return Ie.formatDistance("xDays",Zm,yn)}if(Xn<86400)return Ai=Math.round(Xn/Wt),Ie.formatDistance("aboutXMonths",Ai,yn);if((Ai=Y(ro,gi))<12){var mu=Math.round(Xn/Wt);return Ie.formatDistance("xMonths",mu,yn)}
1var Ta=Ai%12,fs=Math.floor(Ai/12);return Ta<3?Ie.formatDistance("aboutXYears",fs,yn):Ta<9?Ie.formatDistance("overXYears",fs,yn):Ie.formatDistance("almostXYears",fs+1,yn)}function xe(je,$t){return(0,m.Z)(1,arguments),Tt(je,Date.now(),$t)}var Nn=F(78950);let ha=class{constructor($t,ye){this.productService=$t,this.router=ye,this.columns=[{translationKey:"common_image",type:"image",key:"img_url"},{translationKey:"common_goodsShelfNo",type:"text",key:"range_id"},{translationKey:"common_productName",type:"text",key:"product_name"},{translationKey:"common_productBarcode",type:"text",key:"product_barcode"},{translationKey:"common_supplier",type:"text",key:"supplier_name"},{translationKey:"common_category",type:"text",key:"category_name"},{translationKey:"common_productQuantity",type:"text",key:"product_quantity"},{translationKey:"common_expiredDate",type:"date",key:"expired_date",class:"text-danger",enableClassKey:"isExpired"},{translationKey:"common_utill_expire",type:"text",key:"utill_expire",class:"text-danger",enableClassKey:"isExpired"},{translationKey:"common_actions",type:"actions",key:"actions",list:["edit"]}],this.pageInfo={total:0,page:1,pageSize:20},this.formDataSource=[{type:"commonSearch",key:"keyword",translateKey:"common_productName",placeholder:"common_productName"},{type:"chainSelect",key:"chain_id"},{type:"categorySelect",key:"category_id"},{type:"supplierSelect",key:"supplier_id"},{type:"input",translateKey:"common_goodsShelfNo",placeholder:"common_goodsShelfNo",key:"range_id"},{type:"input",key:"barcode",translateKey:"common_productBarcode",placeholder:"common_productBarcode"},{type:"select",translateKey:"common_productExpirationDate",key:"expired",placeholder:"common_productExpirationDate",options:[{label:"common_not_expired",value:"0"},{label:"common_expired",value:"1"}]}],this.searchParams={page:1,expired:"",chain_id:"",category_id:"",supplier_id:"",range_id:"",barcode:"",keyword:""},this.categoryList=[]}ngOnInit(){this.getExpiredProdsListS2C()}getExpiredProdsListS2C(){this.productService.getExpiredProductListS2C(this.searchParams).subscribe($t=>{$t&&$t.data?(this.dataSource=$t.data.map(ye=>({...ye,supplier_name:ye.supplier.supplier_name,category_name:ye.category.category_name,isExpired:new Date(ye.expired_date).getTime()<(new Date).getTime(),utill_expire:xe(ye.expired_date)})),this.pageInfo.total=$t.total):this.dataSource=null})}handleReset(){this.searchParams={page:1,expired:"",chain_id:"",category_id:"",supplier_id:"",range_id:"",barcode:"",keyword:""},this.getExpiredProdsListS2C()}handleDownload($t){try{const ye={chain_id:$t.chain_id?$t.chain_id:"",category_id:$t.category_id?$t.category_id:"",supplier_id:$t.supplier_id?$t.supplier_id:"",range_id:$t.range_id?$t.range_id:"",barcode:$t.barcode?$t.barcode:"",keyword:$t.keyword?$t.keyword:"",expired:$t.expired?$t.expired:"",locale:localStorage.getItem("i18n")?localStorage.getItem("i18n"):"en-GB"};this.productService.downloadExpiredProductListS2C(ye).subscribe(Un=>{const gn=window.URL.createObjectURL(Un.body);let kn=document.createElement("a");kn.href=gn,kn.download="product_expiration.xlsx",kn.click(),URL.revokeObjectURL(gn),kn=null})}catch(ye){console.log(ye)}}handleSearch($t){this.pageInfo.page=1,this.searchParams={chain_id:$t.chain_id?$t.chain_id:"",category_id:$t.category_id?$t.category_id:"",supplier_id:$t.supplier_id?$t.supplier_id:"",range_id:$t.range_id?$t.range_id:"",barcode:$t.barcode?$t.barcode:"",keyword:$t.keyword?$t.keyword:"",expired:$t.expired?$t.expired:"",page:1},this.getExpiredProdsListS2C()}handleChangePaginator($t){this.pageInfo.page=$t.page,this.searchParams.page=$t.page,this.getExpiredProdsListS2C()}handleBtnClick({item:$t,type:ye}){"edit"===ye&&this.router.navigate(["/shop/products/edit/",$t.id])}handleRowClick($t){$t.id&&this.router.navigate(["/shop/products/",$t.id])}};ha.ctorParameters=()=>[{type:Nn.r},{type:kt.F0}],ha=(0,lt.gn)([(0,Ct.wA2)({selector:"app-expiration-alert",template:'<div class="container-fluid">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <app-common-search-list-table \n [isShowDownload]="true"\n (onReset)="handleReset()"\n (onDownload)="handleDownload($event)"\n (onSubmit)="handleSearch($event)" [dataSource]="dataSource"\n [columns]="columns" [isShowAdd]="false" uniqueTableKey="orderListSelectColumn" [pageInfo]="pageInfo"\n [isRowClickEnabled]="true" (pageChange)="handleChangePaginator($event)" (onBtnClick)="handleBtnClick($event)"\n (onRowClick)="handleRowClick($event)" [formColumn]="formDataSource">\n </app-common-search-list-table>\n</div>\n',styles:[""]})],ha)},77117:(ut,mt,F)=>{"use strict";F.d(mt,{Q:()=>wt});var lt=F(97582);var Ct=F(37340),kt=F(94650),Q=F(24006),Nt=F(65938),m=F(44476),V=F(56834),nt=F(19968),ct=F(55141),Y=F(65239);let wt=class{constructor(qt,Ft,yt,bt,Dt,Wt,ht){this.data=qt,this.orderService=Ft,this.warehouseService=yt,this.supplierService=bt,this.router=Dt,this.formBuilder=Wt,this.dialogRef=ht,this.orderDisplayedColumns=["order_date","order_price","shop_owner","statut","actions"],this.orderLength=0,this.sumOrder=0,this.fileToUpload=null,this.dataa=[[1,2],[3,4]],this.wopts={bookType:"xlsx",type:"array"},this.formData=new FormData}ngOnInit(){this.onGetPreOrders(),this.onGetStatusList(),this.onGetSuppliersList(),this.form=this.formBuilder.group({order_price:["",Q.kI.required],supplier_id:["",Q.kI.required],statut_id:["",Q.kI.required],products:[""]})}onGetSuppliersList(){return this.supplierService.getSuppliersListS2C().subscribe(qt=>{this.suppliersList=qt,this.suppliersData=this.suppliersList.data},qt=>{console.log(qt)})}onGetStatusList(){return this.warehouseService.GetStatusList().subscribe(qt=>{this.status=qt,this.statusList=this.status.data},qt=>{console.log(qt)})}onGetPreOrders(){return this.orderService.getPreOrders().subscribe(qt=>{this.orderInit=qt,this.orderList=this.orderInit.data;for(let yt of this.orderList)this.orderLength+=1,this.sumOrder+=yt.order_price;let Ft=0;this.orderList.forEach(yt=>{yt.order_price>Ft&&(Ft=yt.order_price,this.maxOrderPrice=yt.order_price,this.maxOrderDate=yt.order_date)}),this.lastOrder=this.orderList[this.orderList.length-1],this.lastOrderPrice=this.lastOrder.order_price,this.lastOrderDate=this.lastOrder.order_date})}onFileSelect(qt){this.selectedFile=qt.target.files[0]}openOrderFullDetails(qt){this.router.navigate([`shop/order-full-details/${qt}`])}applyFilter(qt){const Ft=qt.target.value;this.orderList.filter=Ft.trim().toLowerCase(),this.orderList.paginator&&this.orderList.paginator.firstPage()}getFileChange(qt){const Ft=this.resultInput.nativeElement;if(qt.target.files.length>0){const yt=qt.target.files[0];Ft.value=yt.name,this.form.get("products").setValue(yt),this.formData.append("products",this.form.get("products").value)}}onUploadFile(){this.dialogRef.close({data:this.dataa})}toFormData(qt){const Ft=new FormData;
1for(const yt of Object.keys(qt)){const bt=qt[yt];Ft.append(yt,bt)}return Ft}clickCancel(){this.dialogRef.close()}onFileChange(qt){this.dataa=[];const Ft=qt.target;if(1!==Ft.files.length)throw new Error("Cannot use multiple files");const yt=new FileReader;yt.onload=bt=>{const Dt=bt.target.result,Wt=Y.read(Dt,{type:"binary"}),ht=Wt.SheetNames[0],Tt=Wt.Sheets[ht];this.dataa=Y.utils.sheet_to_json(Tt,{header:0}),this.dataa.splice(this.dataa.indexOf(this.dataa[0]),1)},yt.readAsBinaryString(Ft.files[0])}};wt.ctorParameters=()=>[{type:void 0,decorators:[{type:kt.tBr,args:[Nt.WI]}]},{type:V.C},{type:ct.E},{type:nt.e},{type:m.F0},{type:Q.qu},{type:Nt.so}],wt.propDecorators={resultInput:[{type:kt.i9L,args:["resultInput"]}]},wt=(0,lt.gn)([(0,kt.wA2)({selector:"app-import-product-excel",template:'<span style=" width: 5%;\nmargin-left: 98%; cursor: pointer;" (click)="clickCancel()">\n <img src="../../../../assets/images/close.svg">\n</span>\n<div>\n <h4>{{"new-pre-order"| translate}}</h4>\n <a href="assets/downloads/Inventory_excel.xlsx" download>\n {{"download-Excel-template"| translate}}\n </a>\n <form [formGroup]="form" novalidate>\n\n <br />\n <br />\n <div class="form-group" style="width: 100%">\n <label for="file">{{"products-file"| translate}}</label> <br />\n <input #fileInput type="file" name="products" (change)="getFileChange($event);onFileChange($event)" />\n <section (click)="fileInput.click()" style="margin-bottom: 1.5rem;"></section>\n <input matInput type="text" #resultInput readonly style="display: none;">\n </div>\n\n <div>\n <button mat-button style="margin-right: 5%; width: 40% ; background-color: #a00000; color : white"\n (click)="onUploadFile()">\n {{ "Save" | translate }}\n </button>\n <button mat-button style="margin-right: 5px; width: 40% ;background-color: #cacaca;color: black;"\n (click)="clickCancel()">\n {{ "common_cancel" | translate }}\n </button>\n\n </div>\n\n </form>\n </div>\n',animations:[(0,Ct.X$)("detailExpand",[(0,Ct.SB)("collapsed",(0,Ct.oB)({height:"0px",minHeight:"0",visibility:"hidden"})),(0,Ct.SB)("expanded",(0,Ct.oB)({height:"*",visibility:"visible"})),(0,Ct.eR)("expanded <=> collapsed",(0,Ct.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])],styles:[""]})],wt)},53409:(ut,mt,F)=>{"use strict";F.d(mt,{C:()=>re});var lt=F(97582);var Ct=F(50623),kt=F(61036),Q=F(36955),Nt=F(89383),m=F(36895),V=F(78950),nt=F(94650),ct=F(65938),Y=F(23267),wt=F(58425);let re=class{constructor(Ft,yt,bt,Dt,Wt,ht,Tt){this.productService=Ft,this.datepipe=yt,this.translate=bt,this.configService=Dt,this.dialogRef=Wt,this.data=ht,this.messsage=Tt,this.formDataSource=[{type:"supplierSelect",key:"supplier_id",rules:[{required:!0,message:"required"}]},{type:"chainSelect",key:"chain_id",isShowAll:!1,rules:[{required:!0,message:"required"}]},{type:"payment",key:"payment_method_id",rules:[{required:!0,message:"required"}]},{type:"dateTime",key:"order_date",translateKey:"Start-date",rules:[{required:!0,message:"required"}]},{type:"select",key:"payment_status",translateKey:"common_paymentStatus",options:[{label:"common_paymentStatus_paid",value:"paid"},{label:"common_paymentStatus_not paid",value:"not paid"}],rules:[{required:!0,message:"required"}]}],this.columns=[{type:"checkbox",key:"checkbox",translationKey:""},{type:"text",key:"product_name",translationKey:"common_productName"},{type:"text",key:"product_barcode",translationKey:"Barcode"},{type:"price",key:"cost_price",translationKey:"Cost-Price"}],this.searchFormDataSource=[{type:"input",translateKey:"Search-byBarcode",key:"barcode"},{type:"categorySelect",key:"category_id"}],this.searchParams={category_id:"",barcode:"",page:1},this.componentName="shopAddQuickPurchaseComponent",this.pageInfo={page:1,pageSize:20,total:0},this.dataSource=[],this.checkItems={},this.renderCheckItems=[];this.configService.getConfig()}ngOnInit(){this.getProdsS2CList(),this.renderCheckItems=this.data}getProdsS2CList(){this.productService.getProdsListS2C2(this.searchParams).subscribe(Ft=>{this.dataSource=Ft.data,this.pageInfo.total=Ft.total},Ft=>{console.log(Ft)})}handleSubmit(){this.renderCheckItems.every(Ft=>Ft.purchased_quantity)?this.dialogRef.close(this.renderCheckItems.map(Ft=>({...Ft,product_quantity:Ft.purchased_quantity}))):this.messsage.error("Please Input Product Quantity")}handleSearch(Ft){this.searchParams={...Ft,page:1},this.getProdsS2CList()}handleCheckItem(Ft){try{this.checkItems[`page${this.pageInfo.page}`]=Ft;let yt=[];for(let bt in this.checkItems)yt=[...yt,...this.checkItems[bt]];this.renderCheckItems=yt}catch(yt){console.log(yt)}}handleReset(){this.searchParams={category_id:"",barcode:"",page:1},this.getProdsS2CList()}handleChangePaginator(Ft){this.pageInfo.page=Ft.page,this.searchParams.page=Ft.page,this.getProdsS2CList()}handleDelete(Ft){this.renderCheckItems=this.renderCheckItems.filter(yt=>Ft.id!==yt.id)}handleChangeInput({event:Ft,item:yt}){this.renderCheckItems.find(Dt=>Dt.id===yt.id).purchased_quantity=Ft.target.value}clickCancel(){this.dialogRef.close()}};re.ctorParameters=()=>[{type:V.r},{type:m.uU},{type:Nt.sK},{type:Q.E},{type:ct.so},{type:void 0,decorators:[{type:nt.tBr,args:[ct.WI]}]}
1,{type:kt.I}],re.propDecorators={drawer:[{type:nt.i9L,args:[Y.jA,{static:!0}]}],stepper:[{type:nt.i9L,args:[wt.ae,{static:!0}]}],commonForm:[{type:nt.i9L,args:[Ct.V,{static:!0}]}]},re=(0,lt.gn)([(0,nt.wA2)({selector:"app-add-quick-productsss",template:'<div mat-dialog-content>\n <div class="w-100 d-flex justify-content-end">\n <button mat-icon-button [mat-dialog-close]="false">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n <div class="row add-quick_warp">\n <div class="col-12 col-md-8">\n <app-common-search-list-table [formColumn]="searchFormDataSource" (onCheckChange)="handleCheckItem($event)"\n [checkSelectedList]="renderCheckItems" [dataSource]="dataSource" [isShowAdd]="false"\n [isShowDisplayColumn]="false" [columns]="columns" [pageInfo]="pageInfo"\n (onSubmit)="handleSearch($event)" (onReset)="handleReset()" (pageChange)="handleChangePaginator($event)">\n </app-common-search-list-table>\n </div>\n <div class="col-12 col-md-4">\n <p style="margin:1rem 0 3rem">{{\'selected_product\' | translate}}:</p>\n <div class="d-flex justify-content-between">\n <span style="width:40%" title="product_name">{{\'common_productName\' | translate}}</span>\n <span style="width:40%" title="stock_quantity">{{\'common_productQuantity\' | translate}}</span>\n <span style="width:20%" title="actions">{{\'actions\' | translate}}</span>\n </div>\n <div *ngFor="let obj of renderCheckItems" class="d-flex align-items-center justify-content-between">\n <span style="width:40%" title="product_name">{{obj.product_name}}</span>\n <span style="width:40%">\n <input (input)="handleChangeInput({event:$event,item:obj})" type="number" matInput\n [placeholder]="\'common_input\' | translate" />\n </span>\n <span style="width:20%" title="actions">\n <button (click)="handleDelete(obj)" mat-icon-button color="warn"\n matTooltip="{{ \'common_delete\' | translate }}">\n <mat-icon>delete</mat-icon>\n </button>\n </span>\n </div>\n </div>\n </div>\n\n <div class="row mt-3 d-flex justify-content-center">\n <div class="col-12 text-center mt-3">\n <button class="btn btn-primary btn-min-width" (click)="handleSubmit()">{{ \'Submit\' | translate}}</button>\n </div>\n </div>\n</div>\n',styles:[".add-quick_warp::ng-deep .button-warp {\n padding: 0;\n}"]})],re)},74335:(ut,mt,F)=>{"use strict";F.d(mt,{a:()=>Q});var lt=F(97582);var Ct=F(65938),kt=F(94650);let Q=class{constructor(m,V){this.dialogRef=m,this.data=V,this.formColumns=[{type:"input",translateKey:"Product Name",placeholder:"Product Name",key:"name"},{type:"input",translateKey:"Product Description",placeholder:"Product Description",key:"description"},{type:"input",translateKey:"Product Price",placeholder:"Product Price",key:"cost_price",inputType:"number"},{type:"input",translateKey:"Product Barcode",placeholder:"Product Barcode",key:"product_barcode"},{type:"input",translateKey:"Tax Rate",placeholder:"Tax Rate",key:"tax_rate",inputType:"number"},{type:"categorySelect",key:"category_id",isNeedName:!0},{type:"input",translateKey:"Product-Quantity",placeholder:"Product-Quantity",inputType:"number",key:"quantity"}]}ngOnInit(){this.data&&(this.formColumns.forEach(m=>{m.value=this.data[m.key]}),this.formColumns=[...this.formColumns])}onClose(){this.dialogRef.close()}handleAddPurchaseProduct(m){this.dialogRef.close({...this.data,...m})}};Q.ctorParameters=()=>[{type:Ct.so},{type:void 0,decorators:[{type:kt.tBr,args:[Ct.WI]}]}],Q=(0,lt.gn)([(0,kt.wA2)({selector:"app-add-product-purchase",template:'<span style=" width: 5%;\nmargin-left: 98%; cursor: pointer;" (click)="onClose()">\n <img src="../../../../assets/images/close.svg">\n</span>\n<div class="p-3 bg-white rounded">\n <div>\n <p style="size: 50px;">{{\'Add a new product\' | translate}} </p>\n <mat-divider style="margin-bottom: 30px;"></mat-divider>\n </div>\n <app-common-form\n [columns]="2"\n #commonForm\n (onSubmit)="handleAddPurchaseProduct($event)"\n [dataSource]="formColumns">\n </app-common-form>\n</div>\n\n\x3c!-- <div class="form-group col-md-6">\n <mat-form-field appearance="outline" class="form-element">\n <mat-label>{{\'categoryname\' | translate}}</mat-label>\n <mat-select #cat_id>\n\n <mat-option *ngFor="let category of categoryData" [value]="category.id"> {{category.category_name}}</mat-option>\n </mat-select>\n </mat-form-field>\n</div> --\x3e\n',styles:[".mainContainer {\n background-color: white;\n margin-top: 150px;\n margin-left: 20px;\n margin-right: 20px;\n}\n\nmat-form-field {\n width: 100%;\n}\n\n.container_form::-webkit-scrollbar {\n width: 3px;\n scrollbar-width: thin;\n scrollbar-width: thin;\n scrollbar-color: white;\n}\n\n.container_form::-webkit-scrollbar-track {\n background: #f0f0f0;\n}\n\n.container_form::-webkit-scrollbar-thumb {\n border: 3px solid rgba(184, 33, 38, 0.986);\n}"]})],Q)},46993:(ut,mt,F)=>{"use strict";F.d(mt,{u:()=>Ft});var lt=F(97582);var Ct=F(94650),kt=F(89383),Q=F(58219),Nt=F(44476),m=F(89329),V=
1F(65938),nt=F(9035),ct=F(85609),Y=F(30850),wt=F(80529),re=F(9991),qt=F(98046);let Ft=class{constructor(bt,Dt,Wt,ht,Tt,xe,Nn,ha,je,$t,ye){this.dialog=bt,this.WareHouseService=Dt,this.route=Wt,this.router=ht,this.excelService=Tt,this.translate=xe,this.stock=Nn,this.stockOutbound=ha,this.http=je,this.purchaseService=$t,this.loadingService=ye,this.companyInfo={},this.code=localStorage.getItem("curr"),this.total_quantity=0,this.allProductPrice=0,this.afterTaxRatePrice=0,this.dataSource=[],this.currentPurchaseData=0,this.totalQuantity=0,this.totalTaxAmount=0,this.totalAmount=0,this.tableTotalQuantity=0,this.tableTotalTaxAmount=0,this.tableTotalAmount=0,this.tableAllProductPrice=0,this.currencySymbol=localStorage.getItem("currency_user"),this.fontsize=14,this.currTableColumns=[],this.filteredArray=[],this.arrayImage=[],this.total_returned_quantity=0,this.title="nav_purchaseMgmt_purchaseAndSalesReturn",this.columns=[{key:"idd",translationKey:"Id",type:"number"},{key:"img_url",translationKey:"common_image",type:"image",sort:!1},{type:"text",translationKey:"product_barcode",key:"product_barcode"},{type:"text",translationKey:"product_name",key:"product_name"},{type:"text",translationKey:"product_name2",key:"product_name2"},{type:"number",translationKey:"product_number",key:"product_number"},{type:"number",translationKey:"shelf_number",key:"shelf_number"},{type:"price",translationKey:"Product Price",key:"cost_price"},{type:"number",translationKey:"return_quantity",key:"product_quantity"},{type:"number",translationKey:"Tax Rate",key:"tax_rate"},{type:"price",translationKey:"Tax_amount",key:"total_tax"},{type:"price",translationKey:"Total price",key:"total_cost"},{type:"price",translationKey:"Total Taxes Price",key:"total_cost_with_tax"}],this.pageInfo={page:1,pageSize:10,total:0},Wt.params.subscribe(Un=>{this.currentId=Un.id})}ngOnInit(){this.setTitle(this.router.url),this.getStockOutboundDetailsById(),this.getStockOutboundProductsByPage(),this.http.get("../../../../../../assets/images/logo2.png",{responseType:"blob"}).subscribe(bt=>{const Dt=new FileReader;Dt.onloadend=()=>{var Wt=Dt.result;this.notfoundImage=Wt},Dt.readAsDataURL(bt)});for(let bt=0;bt<this.columns.length;bt++){let Dt=this.columns[bt];this.currTableColumns.push(Dt.key)}localStorage.getItem("companyInfo")&&(this.companyInfo=JSON.parse(localStorage.getItem("companyInfo")))}setTitle(bt){!bt||(bt.includes("shop/stock/in-out/other-inbounds/detail")?this.title="Other Inbounds":bt.includes("shop/stock/in-out/other-outbounds/detail")?this.title="nav_stockInOut_stockOutDetails_otherInbound":this.title="nav_purchaseMgmt_purchaseAndSalesReturn")}changeCurrency(bt){this.currencySymbol=bt.symbol}changeRemark(bt){this.WareHouseService.editRemarkOutbound(bt,this.currentId).subscribe(Dt=>{})}getFontsize(bt){this.fontsize=bt}changeBarcode(bt){this.showbarcode=bt}getStockOutboundById(){let bt=[];return this.stock.getStockOutboundById(this.currentId).subscribe(Dt=>{this.currentPurchaseData=Dt.data;const Wt=[];bt.push({id:null,url:Dt.data.chain.chain_img?Dt.data.chain.chain_img:null}),this.currentPurchaseData.inventory_products.forEach((Tt,xe)=>{Tt.idd=xe+1,Tt.cost_price=null==Tt.product||null==Tt.product.cost_price?"0":Tt.product.cost_price,Tt.product_barcode=null==Tt.product||null==Tt.product.product_barcode?"":Tt.product.product_barcode,Tt.product_name=null==Tt.product||null==Tt.product.product_name?"":Tt.product.product_name,Tt.img_url=null==Tt.product||null==Tt.product.product_image?"":Tt.product.product_image,Tt.product_name2=null==Tt.product||null==Tt.product.product_name2?"":Tt.product.product_name2,Tt.tax_rate=null==Tt.product||null==Tt.product.tax_rate?"":Tt.product.tax_rate,this.total_returned_quantity+=Tt.total_returned_quantity?Tt.total_returned_quantity:0,Wt.push(Tt)}),this.currentPurchaseData.po?(console.log("curen:",this.currentPurchaseData.po),this.allProductPrice=this.currentPurchaseData.po.total_price,this.totalTaxAmount=this.currentPurchaseData.po.total_tax,this.totalAmount=this.currentPurchaseData.po.total_tax_price,this.payment_method=this.currentPurchaseData.po.payment_method):(this.allProductPrice
1=this.currentPurchaseData.total_price?this.currentPurchaseData.total_price:0,this.totalTaxAmount=this.currentPurchaseData.total_price?this.currentPurchaseData.total_price:0,this.totalAmount=this.currentPurchaseData.total_tax_price?this.currentPurchaseData.total_tax_price:0,this.payment_method=this.currentPurchaseData.payment_method?this.currentPurchaseData.payment_method:"");let ht=bt.filter(Tt=>null!==Tt.url);ht&&ht.length>0&&this.purchaseService.convertArray(JSON.stringify(ht)).subscribe(Tt=>{this.loadingService.hideDialog(),this.arrayConvertedImages=Tt.data}),this.rowinitial={idd:"empty",product_quantity:this.totalQuantity,img_url:"empty",product_barcode:"empty",product_name:"empty",product_name2:"empty",product_number:"empty",shelf_number:"empty",cost_price:"empty",tax_rate:"empty",total_returned_quantity:this.total_returned_quantity,total_tax:this.totalTaxAmount,total_cost:this.allProductPrice,total_cost_with_tax:this.totalAmount},this.dataSource=[...Wt,this.rowinitial]},Dt=>{console.log(Dt)})}getStockOutboundDetailsById(){return this.stockOutbound.getStockOutboundDetailsById(this.currentId).subscribe(bt=>{this.currentPurchaseData=bt.data;const Dt=[];Dt.push({id:null,url:bt.data.chain.chain_img?bt.data.chain.chain_img:null}),this.currentPurchaseData?(this.total_quantity=this.currentPurchaseData.statistics.total_quantity,this.allProductPrice=this.currentPurchaseData.statistics.total_cost_price,this.totalTaxAmount=this.currentPurchaseData.statistics.total_tax,this.totalAmount=this.currentPurchaseData.statistics.total_cost_with_tax):(this.allProductPrice=0,this.totalTaxAmount=0,this.totalAmount=0);let Wt=Dt.filter(ht=>null!==ht.url);Wt&&Wt.length>0&&this.purchaseService.convertArray(JSON.stringify(Wt)).subscribe(ht=>{this.loadingService.hideDialog(),this.arrayConvertedImages=ht.data})},bt=>{console.log(bt)})}handleChangePaginator(bt){console.log(bt),this.pageInfo.page=bt.page,this.pageInfo.page=bt.page,this.getStockOutboundProductsByPage()}getStockOutboundProductsByPage(){return this.stockOutbound.getStockOutboundProductsByPage(this.currentId,this.pageInfo.page,this.pageInfo.pageSize).subscribe(bt=>{const Dt=bt.data.data,Wt=[];console.log("this.totalTaxAmount "+this.totalTaxAmount),Dt.forEach((ht,Tt)=>{ht.idd=Tt+1,ht.cost_price=null==ht.product||null==ht.product.cost_price?"0":ht.product.cost_price,ht.product_barcode=null==ht.product||null==ht.product.product_barcode?"":ht.product.product_barcode,ht.product_name=null==ht.product||null==ht.product.product_name?"":ht.product.product_name,ht.img_url=null==ht.product||null==ht.product.product_image?"":ht.product.product_image,ht.product_name2=null==ht.product||null==ht.product.product_name2?"":ht.product.product_name2,ht.tax_rate=null==ht.product||null==ht.product.tax_rate?"":ht.product.tax_rate,this.totalQuantity+=ht.product_quantity?ht.product_quantity:0,this.tableTotalTaxAmount+=ht.total_tax?ht.total_tax:0,this.tableAllProductPrice+=ht.total_cost?ht.total_cost:0,this.tableTotalAmount+=ht.total_cost_with_tax?ht.total_cost_with_tax:0,Wt.push(ht)}),console.log("this.totalTaxAmount "+this.totalTaxAmount),this.rowinitial={idd:"empty",product_quantity:this.totalQuantity,img_url:"empty",product_barcode:"empty",product_name:"empty",product_name2:"empty",product_number:"empty",shelf_number:"empty",cost_price:"empty",tax_rate:"empty",total_tax:this.tableTotalTaxAmount,total_cost:this.tableAllProductPrice,total_cost_with_tax:this.tableTotalAmount},console.log(Wt),console.log(this.rowinitial),this.dataSource=Wt,this.dataSource=[...Wt,this.rowinitial],this.pageInfo.total=bt.data.total,console.log(bt.data.total),console.log(this.pageInfo.total),console.log(this.dataSource)},bt=>{console.log(bt)})}print(){window.print()}addProductToOldPurchase(){let bt=this.currentId;this.dialog.open(m.Y,{width:"800px",data:{purchaseId:bt},height:"800px"}).afterClosed().subscribe(Wt=>{Wt&&this.currentPurchaseData.products.push(Wt)})}sendDisplayColumns(bt){this.currTableColumns=[],this.currTableColumns=bt}exportAsExcel(){let bt=[];if(this.filteredArray=this.columns.filter(ht=>this.currTableColumns.some(Tt=>ht.key===Tt)),this.arrayConvertedImages&&this.arrayConvertedImages.length>0)for(let ht=0;ht<this.dataSource.length-1;ht++)bt=this.arrayConvertedImages.filter(Tt=>Tt.id===this.dataSource[ht].po_product_id),bt.length>0?this.dataSource[ht].img_url=bt[0].image:this.dataSource[ht].img_url=null;const Dt=[];try{Dt.push([null,null,null,`${this.currentPurchaseData.chain.chain_img?this.arrayConvertedImages[0].image:this.notfoundImage}`,`${this.translate.instant(this.title)}`,null,null,null]),Dt.push([null,null,null,null,`${this.translate.instant("Number")}: ${this.currentPurchaseData.number?this.currentPurchaseData.number:" --"}`,null,null,null,null,null,null]),Dt.push([null,null,null,null,`${this.translate.instant("sales_return_date")}: ${this.currentPurchaseData.create_at?this.currentPurchaseData.create_at:" --"}`,null,null,null,null,null,null,null,,]),Dt.push([]),Dt.push([]),Dt.push([`${this.translate.instant("company-name")}: ${this.currentPurchaseData.suppliers&&this.currentPurchaseData.suppliers.company_name?this.currentPurchaseData.suppliers.company_name:" --"}`,null,null,null,null,null,null,null,`${this.translate.instant("company-name")}: ${this.currentPurchaseData.chain&&this.currentPurchaseData.chain.chain_name?this.currentPurchaseData.chain.chain_name:" --"}`]),Dt.push([`${this.translate.instant("company_tax_number")}: ${this.currentPurchaseData.suppliers&&this.currentPurchaseData.suppliers.tax_number?this.currentPurchaseData.suppliers.tax_number:" --"}`,null,null,null,null,null,null,null,`${this.translate.instant("company_tax_number")}: ${this.currentPurchaseData.chain&&this.currentPurchaseData.chain.tax_number?this.currentPurchaseData.chain.tax_number:" --"}`]),Dt.push([`${this.translate.instant("company_person_contact")}: ${this.currentPurchaseData.chain&&this.currentPurchaseData.chain.contact?this.currentPurchaseData.chain.contact:" --"}`,null,null,null,null,null,null,null,`${this.translate.instant("company_person_contact")}: ${this.currentPurchaseData.suppliers&&this.currentPurchaseData.suppliers.contact?this.currentPurchaseData.suppliers.contact:" --"}`]),Dt.push([`${this.translate.instant("company_address")}: ${this.currentPurchaseData.suppliers&&this.currentPurchaseData.suppliers.adress?this.currentPurchaseData.suppliers.adress:" --"}`,null,null,null,null,null,null,null,`${this.translate.instant("company_address")}: ${this.currentPurchaseData.chain&&this.currentPurchaseData.chain.adress?this.currentPurchaseData.chain.adress:" --"}`]),Dt.push([`${this.translate.instant("company_website")}: ${this.currentPurchaseData.suppliers&&this.currentPurchaseData.suppliers.website?this.currentPurchaseData.suppliers.website:" --"}`,null,null,null,null,null,null,null,`${this.translate.instant("company_website")}: ${this.currentPurchaseData.chain&&this.currentPurchaseData.chain.website?this.currentPurchaseData.chain.website:" --"}`]),Dt.push([]),Dt.push([]),this.dataSource.length>1?(Dt.push(this.filteredArray.map(ht=>this.translate.instant(ht.translationKey))),this.dataSource.forEach(ht=>{const Tt=[];this.filteredArray.forEach(xe=>
1{"empty"==ht[xe.key]?Tt.push(""):ht[xe.key]?"price"==xe.type?Tt.push("-"+ht[xe.key].toFixed(2)):Tt.push(ht[xe.key]):Tt.push("--")}),Dt.push(Tt)})):Dt.push([null,null,null,`${this.translate.instant("no_data_available")}`,null,null,null,null]),Dt.push([]),Dt.push([]),Dt.push([this.translate.instant("Payment-Method-Name")+": "+this.payment_method,null,null,null,null,null,null,this.translate.instant("Total price")+": --"+this.allProductPrice.toFixed(2)+" "+this.currencySymbol,null]),Dt.push([this.translate.instant("bank_information")+": ",null,null,null,null,null,null,this.translate.instant("Tax_amount")+": -"+this.totalTaxAmount.toFixed(2)+" "+this.currencySymbol,null]),Dt.push([this.translate.instant("Information come from supplier describe"),null,null,null,null,null,null,null,this.translate.instant("Total Taxes Price")+":-"+this.totalAmount.toFixed(2)+" "+this.currencySymbol,null]),Dt.push([]),Dt.push([]),Dt.push([this.translate.instant("Sign")+": ",null,null,null,null,null,null,null,this.translate.instant("Sign")+": ",null]),Dt.push([]),Dt.push([this.translate.instant("common_date")+": ",null,null,null,null,null,null,null,this.translate.instant("common_date")+": ",null]),Dt.push([]),Dt.push([this.translate.instant("expiration_date")+": ",null,null,null,null,null,null,null,this.translate.instant("expiration_date")+": ",null]),Dt.push([]),Dt.push([this.translate.instant("remark")+": "+(this.currentPurchaseData.remark?this.currentPurchaseData.remark:" ")]);this.excelService.generateExcel(Dt,null,this.translate.instant(this.title),[2,3,4,5,6,7,8,9,10,11,12,13])}catch(ht){console.log(ht)}}};Ft.ctorParameters=()=>[{type:V.uw},{type:Y.l},{type:Nt.gz},{type:Nt.F0},{type:Q.x},{type:kt.sK},{type:nt.s},{type:ct.n},{type:wt.eN},{type:re.B},{type:qt.E}],Ft=(0,lt.gn)([(0,Ct.wA2)({selector:"app-purchase-and-sales-return-details",template:'<div class=" p-3 m-3 bg-white rounded">\n <div class="hidden-print">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n </div>\n <h4 class="hidden-print font-weight-bold mb-4"> {{title|translate}}</h4>\n <div style="text-align:right;" class="hidden-print">\n <button class="btn btn-primary mr-10" (click)="print()">{{"Print"|translate}}</button>\n <button class="btn btn-primary" (click)="exportAsExcel()">{{"Export-Excels"|translate}}</button>\n </div>\n <div>\n <div class="my-2" id="content">\n <div class="row">\n <div class="col-12" >\n <div class="card">\n <div class="card-body p-0">\n <div class="row mx-0 py-3 justify-content-end px-2">\n <div class="text-center d-flex p-1 col-lg-4 col-md-4 col-sm-4 col-xs-12">\n <div *ngIf="currentPurchaseData" style="background-color: rgba(160, 160, 160, 0.411);border-radius: 5px;">\n <img [src]="currentPurchaseData.chain.chain_img?currentPurchaseData.chain.chain_img:\'../../../../../../assets/images/logo2.png\'" width="120px" height="50px" alt="">\n </div>\n <div class="titleheader px-2">\n <h4 class="mb-0">{{ title | translate }}</h4>\n </div>\n </div>\n <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">\n <p class="mb-0 text-right" [ngStyle]="{\'font-size\':fontsize+\'px\'}"><span\n class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ "Number" | translate }}\n :</span>{{currentPurchaseData.batch_number?currentPurchaseData.batch_number:\'--\'}}\n </p>\n <p class="mb-0 text-right" [ngStyle]="{\'font-size\':fontsize+\'px\'}"><span\n class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ "sales_return_date" | translate }}\n :</span>{{currentPurchaseData.created_at?currentPurchaseData.created_at:\'--\'}}\n </p>\n </div>\n </div>\n <div class="row mx-0 my-3 px-4">\n <div class="col-12 d-flex justify-content-between pl-0">\n <div class="card col-lg-5 col-md-5 col-sm-6 col-xs-12 px-0 mr-3">\n <div class="card-body">\n <p class="mb-1 text-capitalize"> <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'supplier\' | translate}}</span></p>\n <p class="mb-1 text-capitalize">
1\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company-name\' |\n translate\n }}:</span>\n {{ currentPurchaseData.suppliers &&\n currentPurchaseData.suppliers.company_name?currentPurchaseData.suppliers.company_name:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company_tax_number\' |\n translate\n }}:</span>\n {{ currentPurchaseData.suppliers &&\n currentPurchaseData.suppliers.tax_number?currentPurchaseData.suppliers.tax_number:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{\n \'company_person_contact\'\n |\n translate\n }}:</span>\n {{ currentPurchaseData.suppliers &&\n currentPurchaseData.suppliers.contact?currentPurchaseData.suppliers.contact:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'company_address\' |\n translate\n }}:</span>\n {{ currentPurchaseData.suppliers &&\n currentPurchaseData.suppliers.adress?currentPurchaseData.suppliers.adress:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'company_website\' |\n translate\n }}:</span>\n {{ currentPurchaseData.suppliers &&\n currentPurchaseData.suppliers.website?currentPurchaseData.suppliers.website:\'--\' }}\n </p>\n </div>\n\n </div>\n <div class="card col-lg-5 col-md-5 col-sm-6 col-xs-12 px-0">\n\n\n\n\n <div class="card-body">\n <p class="mb-1 text-capitalize"> <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'Chain/WareHouse\' | translate }} </span></p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company-name\' |\n translate\n }}:</span>\n {{ currentPurchaseData.chain &&\n currentPurchaseData.chain.chain_name?currentPurchaseData.chain.chain_name:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company_tax_number\' |\n translate\n }}:</span>\n {{ currentPurchaseData.chain &&\n currentPurchaseData.chain.tax_number?currentPurchaseData.chain.tax_number:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{\n \'company_person_contact\'\n |\n translate\n }}:</span>\n {{ currentPurchaseData.chain &&\n currentPurchaseData.chain.contact?currentPurchaseData.chain.contact:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">
1\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company_address\' |\n translate\n }}:</span>\n {{ currentPurchaseData.chain &&\n currentPurchaseData.chain.adress?currentPurchaseData.chain.adress:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company_website\' |\n translate\n }}:</span>\n {{ currentPurchaseData.chain &&\n currentPurchaseData.chain.website?currentPurchaseData.chain.website:\'--\' }}\n </p>\n </div>\n </div>\n </div>\n </div>\n <div class="ml-10 mr-10" *ngIf="dataSource.length" >\n \x3c!-- ---------------------------- table ------------------------------------\x3e\n <app-common-search-list-table [tableName]="\'purchase_return_products\'" [dataSource]="dataSource" [isShowAdd]="false" [isShowPage]="true"\n class="text-primary" [isShowSearchBtn]="false" [isShowDisplayColumn]="true" [isFontsize]="true"\n [isFilterbyStatus]="false" [currencyDisplay]="true" [isBarecode]="true"\n (sendFontSize)="getFontsize($event)"\n (pageChange)="handleChangePaginator($event)"\n (sendDisplayColumns)="sendDisplayColumns($event)"\n (selectCurrency)="changeCurrency($event)" [pageInfo]="pageInfo" [columns]="columns">\n </app-common-search-list-table>\n \x3c!-- ---------------------------- /table ------------------------------------\x3e\n </div>\n <div class="row justify-content-center my-4" *ngIf="dataSource.length<1">\n <span class="font-weight-bold">{{\'no_data_available\'| translate}} </span>\n </div>\n <div class=" breakpageauto">\n <div class="row mx-0 p-2 justify-content-between">\n <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">\n \x3c!-- <p class="mb-0" [ngStyle]="{\'font-size\':fontsize+\'px\'}"><span class="small font-weight-bold mr-2">{{\n \'Payment-Method-Name\' | translate }}:\n </span>\n {{ currentPurchaseData.po.payment_method.name| translate }}\n </p>\n <p class="mb-0">\n <span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ \'Information come from store describe :\' | translate }}</span>\n </p>\n <p *ngIf="currentPurchaseData.chain.chain_district_info==null"> <span>{{\'no_data_available\'| translate}} </span></p>\n <textarea name="" id="" cols="62" rows="4" class="textDescription text-dark" disabled>{{currentPurchaseData.chain.chain_district_info}}</textarea>\n <p class="mb-0"> --\x3e\n \n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12 text-right">\n <p class="mb-0">\n <span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ \'quantity_sum\' | translate }}: </span> {{ total_quantity| number: "0.2-2" }} \n </p>\n <p class="mb-0">\n <span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ \'Total price\' | translate }}: </span> {{ allProductPrice| number: "0.2-2" }} {{currencySymbol}}\n </p>\n <p class="mb-0"><span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ \'Tax_amount\' | translate }}:</span>\n {{ totalTaxAmount| number: "0.2-2" }} {{currencySymbol}}\n </p>\n <p class="mb-0">
1\n <span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ \'Total Taxes Price\' | translate }}:</span>\n {{ totalAmount| number: "0.2-2" }} {{currencySymbol}}\n </p>\n\n </div>\n </div>\n <div class="row my-2 mx-0 p-2 justify-content-between">\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n <div class="card">\n <div class="card_body p-2">\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Sign\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'common_date\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'expiration_date\' | translate }}:\n </span>\n </p>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n <div class="card">\n <div class="card_body p-2">\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Sign\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'common_date\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'expiration_date\' | translate }}:\n </span>\n </p>\n </div>\n </div>\n </div>\n\n\n </div>\n <div class="row mx-2 p-2 pb-3 mb-3 ">\n <span class="mt-1 small font-weight-bold mx-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'remark\' |\n translate }}:</span>\n <span class="forprint">{{currentPurchaseData.remark}}</span>\n <span class="formedia">\n <textarea name="" id="" cols="62" rows="3" [value]="currentPurchaseData.remark" class="textRemark"\n [(ngModel)]="editremark"\n (blur)="changeRemark(editremark)"></textarea>\n </span>\n </div>\n </div>\n\n\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n',styles:['@charset "UTF-8";\n@media print {\n @page {\n size: A4;\n margin: 0;\n }\n body {\n width: 21cm;\n /* \u6839\u636e\u9700\u6c42\u81ea\u5b9a\u4e49\u5177\u4f53\u6570\u503c */\n padding: 0;\n margin: 0 auto;\n word-wrap: break-all;\n }\n\n p {\n font-size: 13px !important;\n }\n\n #content {\n position: fixed;\n top: 0;\n left: 0;\n padding: 0.5cm 0.2cm;\n width: 100%;\n margin: auto;\n }\n #content > .card {\n display: flex;\n justify-content: stretch;\n align-items: flex-start;\n }\n}\n.forPrint {\n margin: 0;\n}\n.textRemark {\n border: none;\n outline: none;\n}\ntextarea :focus-visible {\n border: 1px solid !important;\n outline: auto !important;\n}\n.textDescription {\n outline: none;\n background-color: white;\n border: none !important;\n font-weight: bold;\n overflow-y: hidden !important;\n resize: none !important;\n}\n.card {\n border: 1px solid #787474 !important;\n}']})],Ft)},96587:(ut,mt,F)=>{"use strict";F.d(mt,{w:()=>Q});var lt=F(97582),j=F(94650),xt=F(24850),Ct=F(72229),kt=F(95060);let Q=class{constructor(m){this.http=m}addOtherInbound(m){return this.http.postWithAllRes("stock/inbound/other/create",m)}addProduct(m){return this.http.postWithAllRes("stock/inbound/other/addProduct",m)}updateBaseInfo(m){return this.http.postWithAllRes("stock/inbound/other/update",m)}updateProducts(m){return this.http.postWithAllRes("stock/inbound/other/updateProduct",m)}deleteProdcts(m){return this.http.postWithAllRes("stock/inbound/other/deleteProduct",m)}getProducts(m){return this.http.post("stock/inbound/other/product/pageList",m).pipe((0,xt.U)(V=>{console.log("m:",V);const nt=V.inventory_products.data,ct=[];return console.log("m:",nt),nt.forEach(Y=>{const wt=new kt.g6;wt.product_id=Y.product_id,wt.product_quantity=Y.product_quantity,wt.img_url=Y.product.img_url,wt.product_name=Y.product.product_name,wt.product_description=Y.product.product_description,wt.cost_price=Y.product.cost_price,wt.product_barcode=Y.product.product_barcode,console.log("product:",wt),ct.push(wt)}),console.log("list:",nt),V.inventory_products.products=[...ct],V.inventory_products}))}getInboundDetail(m){return this.http.get(`stock/inbound/other/get?id=${m}`)}};Q.ctorParameters=()=>[{type:Ct.O}],Q=(0,lt.gn)([(0,j.GSi)({providedIn:"root"})],Q)},44349:(ut,mt,F)=>{"use strict";F.d(mt,{b:()=>nt});var lt=F(97582);var Ct=F(94650),kt=F(65938),Q=F(89383),Nt=F(42019),m=F(19968),V=F(30850);let nt=class{constructor(Y,wt,re,qt,Ft){this.WareHouseService=Y,this.supplierService=wt,this.categoryService=re,this.translate=qt,this.dialogRef=Ft}ngOnInit(){this.onGetWarehouseList(),this.onGetSuppliers(),this.onGetCategoriesList()}onGetWarehouseList(){return this.WareHouseService.getWarehouseList().subscribe(Y=>{this.warehousesList=Y,this.warehousesData=this.warehousesList.data},Y=>{console.log(Y)})}onGetCategoriesList(){return this.categoryService.getCategories().subscribe(Y=>{this.categories=Y,this.catList=this.categories.data},Y=>{console.log(Y)})}onGetSuppliers(){return this.supplierService.getSuppliersListS2C().subscribe(Y=>{this.suppliersList=Y,this.suppliers=this.suppliersList.data},Y=>{console.log(Y)})}filtersValues(Y,wt,re="",qt=""){var Ft={barcode:Y,product_name:wt,category_id:re,supplier_id:qt};this.dialogRef.close(Ft)}cancel(){this.dialogRef.close()}};nt.ctorParameters=()=>[{type:V.l},{type:m.e},{type:Nt.G},{type:Q.sK},{type:kt.so}],nt=(0,lt.gn)([(0,Ct.wA2)({selector:"app-filter-task-products",template:'<span style=" margin-left: 95%;\ncursor: pointer;\nmargin-bottom: 20px;" (click)="cancel()">\n <img src="../../../../../../../assets/images/close.svg">\n</span>\n<h2> {{ \'common_filter\' | translate}}</h2>\n<p>\n <mat-form-field appearance="legacy" style="width: 45% ; margin-right :7%;">\n <mat-label> {{\'Barcode\'| translate}}</mat-label>\n <input matInput #barcode>\n </mat-form-field>\n\n\n <mat-form-field appearance="legacy" style="width: 48% ;">\n <mat-label>{{\'Category\'| translate}}</mat-label>\n <mat-select #cate_id>\n\n <mat-option *ngFor="let subcat of catList" [value]="subcat.id">\n <p *ngIf="translate.currentLang === \'English\'">{{subcat.category_name }}</p>\n <p *ngIf="translate.currentLang === \'Chinese\'">{{subcat.category_cn }}</p>\n <p *ngIf="translate.currentLang === \'Italian\'">{{subcat.category_it }}</p>\n <p *ngIf="translate.currentLang === \'Fran\xe7ais\'">{{subcat.category_fr }}</p>\n </mat-option>\n </mat-select>\n </mat-form-field>\n</p>\n<p>\n <mat-form-field appearance="legacy" style="width: 45% ; margin-right :7%;">\n <mat-label>{{\'supplier\'| translate}}</mat-label>\n <mat-select #supplier_id>\n\n <mat-option *ngFor="let supp of suppliers" [value]="supp.id"> {{supp.supplier_name}}</mat-option>\n </mat-select>\n </mat-form-field>\n\n\n <mat-form-field appearance="legacy" style="width: 48% ;">\n <mat-label>{{\'product_name\' | translate}} </mat-label>\n <input matInput #product_name>\n </mat-form-field>\n</p>\n<div class="footer">\n <button class="searchbutton" (click)="filtersValues(barcode.value,product_name.value,cate_id.value,supplier_id.value)"> {{"Submit" |translate}}</button>\n <button mat-button mat-dialog-close class="cancelbutton"> {{"common_cancel" |translate}}</button>\n</div>\n',styles:["mat-icon {\n color: #a00000;\n}\n\n.searchbutton {\n background: none;\n border: none;\n line-height: 1;\n border-radius: 25px;\n display: block;\n background: #a00000 !important;\n color: #fff !important;\n font-size: 1rem !important;\n line-height: 1.1em;\n padding: 10px 30px;\n text-align: center;\n font-weight: 400;\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n display: inline-block;\n text-decoration: none;\n transition-property: all;\n transition-duration: 0.2s;\n text-transform: none;\n border: none !important;\n box-shadow: none !important;\n border-radius: 65px !important;\n margin: 1%;\n}\n\n.cancelbutton {\n line-height: 1;\n border-radius: 25px;\n display: block;\n background: #fff !important;\n color: #a00000 !important;\n font-size: 1rem !important;\n line-height: 1.1em;\n padding: 10px 30px;\n text-align: center;\n font-weight: 400;\n font-family: Tahoma, helvetica, arial, sans-serif !important;\n display: inline-block;\n text-decoration: none;\n transition-property: all;\n transition-duration: 0.2s;\n text-transform: none;\n border: solid 1px #a00000;\n box-shadow: none !important;\n border-radius: 65px !important;\n margin: 1%;\n}\n\n.footer {\n text-align: center;\n border: none;\n padding: 0;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n border-bottom-right-radius: calc(0.3rem - 1px);\n border-bottom-left-radius: calc(0.3rem - 1px);\n}"]})],nt)},20874:(ut,mt,F)=>{"use strict";F.d(mt,{B:()=>Ct});var lt=F(97582),j=F(94650),xt=F(72229);let Ct=class{constructor(Q){this.http=Q,this.URL={detail:Nt=>`v2/purchase_order/order/${Nt}`,detailProducts:(Nt,m=1)=>`v2/purchase_order/order/products/${Nt}?page=${m}`}}getDetail(Q){return this.http.get(this.URL.detail(Q))}getDetailProducts(Q,Nt=1){return this.http.get(this.URL.detailProducts(Q,Nt))}};Ct.ctorParameters=()=>[{type:xt.O}],Ct=(0,lt.gn)([(0,j.GSi)({providedIn:"root"})],Ct)},5653:(ut,mt,F)=>{"use strict";F.d(mt,{n:()=>Q});var lt=F(97582),j=F(94650),xt=F(80529),Ct=F(36955),kt=F(89383);let Q=class{constructor(m,V,nt){this.http=m,this.configService=V,this.translate=nt;let ct=this.configService.getConfig();this.baseUrl=`${ct.baseUrl}`,this.baseUrlS2C=`${ct.baseUrlS2C}`,this.language=this.translate.currentLang||"zh-CN",this.headers=new xt.WM({language:this.language})}addMember(m){return this.http.post(`${this.baseUrlS2C}/Member`,m,{params:{token:localStorage.getItem("token"),store_id:localStorage.getItem("store_id")}})}addNewMember(m){return this.http.post(`${this.baseUrlS2C}/Member`,m,{params:{token:localStorage.getItem("token"),store_id:localStorage.getItem("store_id")}})}updateMember(m,V){return this.http.post(`${this.baseUrlS2C}/Member/update/${m}`,V,{params:{token:localStorage.getItem("token"),store_id:localStorage.getItem("store_id")}})}getMember(m,V,nt,ct,Y,wt,re,qt,Ft){return V||(V=""),nt||(nt=""),ct||(ct=""),Y||(Y=""),Ft||(Ft=""),(2==qt||!qt)&&(qt=""),(0==re||!re)&&(re=""),(0==wt||!wt)&&(wt=""),this.http.get(`${this.baseUrlS2C}/Member`,{params:{page:m,token:localStorage.getItem("token"),store_id:localStorage.getItem("store_id"),card_num:V,first_name:nt,last_name:ct,contact:Y,level_id:wt,gender:re,status:qt,card_id:Ft}})}getInvalidMembers(m,V,nt,ct,Y,wt,re){return m||(m=""),V||(V=""),nt||(nt=""),ct||(ct=""),re||(re=""),(0==wt||!wt)&&(wt=""),(0==Y||!Y)&&(Y=""),this.http.get(`${this.baseUrlS2C}/Member/invalid`,{params:{token:localStorage.getItem("token"),store_id:localStorage.getItem("store_id"),card_num:m,first_name:V,last_name:nt,contact:ct,level_id:Y,gender:wt,card_id:re}})}activateMember(m){return this.http.put(`${this.baseUrlS2C}/Member/${m}`,{},{params:{token:localStorage.getItem("token")}})}exportBarcode(m){return this.http.get(`${this.baseUrlS2C}/members/cart`,{params:{token:localStorage.getItem("token"),store_id:localStorage.getItem("store_id"),num_cards:m}})}deleteMember(m){return this.http.delete(`${this.baseUrlS2C}/Member/${m}`,{params:{token:localStorage.getItem("token")}})}getMemberById(m){return this.http.get(`${this.baseUrlS2C}/Member/list/${m}`,{params:{token:localStorage.getItem("token")}})}getMembersV2(m){for(let V in m)(!m[V]||0==m[V])&&(m[V]="");return m.lang=this.language,this.http.get(`${this.baseUrlS2C}/v2/member`,{params:m})}downloadList(m){return m.lang=this.language,this.http.get(`${this.baseUrlS2C}/v2/member/download`,{params:m,responseType:"blob",observe:"response"})}};Q.ctorParameters=()=>[{type:xt.eN},{type:Ct.E},{type:kt.sK}],Q=(0,lt.gn)([(0,j.GSi)({providedIn:"root"})],Q)},49836:(ut,mt,F)=>{"use strict";F.d(mt,{t:()=>kt});var lt=F(97582),j=F(94650),xt=F(80529),Ct=F(36955);let kt=class{constructor(Nt,m){this.http=Nt,this.configService=m;let V=this.configService.getConfig();this.baseUrl=`${V.baseUrl}`,this.baseUrlS2C=`${V.baseUrlS2C}`}getPaymentTypesList(){return this.http.get(`${this.baseUrl}/payment/list`,{params:{token:localStorage.getItem("token")}})}};kt.ctorParameters=()=>[{type:xt.eN},{type:Ct.E}],kt=(0,lt.gn)([(0,j.GSi)({providedIn:"root"})],kt)},55417:(ut,mt,F)=>{"use strict";F.d(mt,{f:()=>Q});var lt=F(97582),j=F(94650),xt=F(80529),Ct=F(36955);new xt.WM({"Content-Type":"application/json"});let Q=class{constructor(m,V){this.http=m,this.configService=V;let nt=this.configService.getConfig();this.baseUrl=`${nt.baseUrl}`,this.baseUrlS2C=`${nt.baseUrlS2C}`}addOperator(m){return this.http.post(`${this.baseUrlS2C}/operator`,m,{params:{store_id:localStorage.getItem("store_id")}})}deactivateOperator(m,V){return this.http.post(`${this.baseUrlS2C}/operator/deactivate/${m}`,V)}activateOperator(m,V){return this.http.post(`${this.baseUrlS2C}/operator/activate/${m}`,V)}deleteOperator(m,V){return this.http.post(`${this.baseUrlS2C}/operator/delete/${m}`,V)}getOperatorList(){return this.http.get(`${this.baseUrlS2C}/operators/list`,{params:{store_id:localStorage.getItem("store_id")}})}getOperatorListSuper(m){return this.http.get(`${this.baseUrlS2C}/Accounts/operators`,{params:{store_id:m}})}getOperatorListByFilter(m){return this.http.get(`${this.baseUrlS2C}/operators/list2`,{params:{status:m}})}getOperotorById(m){return this.http.get(`${this.baseUrlS2C}/operator/${m}`)}updateOperator(m,V){return this.http.post(`${this.baseUrlS2C}/operator/update/${m}`,V)}};Q.ctorParameters=()=>[{type:xt.eN},{type:Ct.E}],Q=(0,lt.gn)([(0,j.GSi)({providedIn:"root"})],Q)},9035:(ut,mt,F)=>{"use strict";F.d(mt,{s:()=>Q});var lt=F(97582),j=F(94650),xt=F(80529),Ct=F(92340),kt=F(36955);let Q=class{constructor(m,V){this.http=m,this.configService=V;let nt=this.configService.getConfig();this.baseUrl=`${nt.baseUrl}`,this.baseUrlS2C=`${nt.baseUrlS2C}`}getReturnedProducts(m,V,nt){return this.http.get(`${this.baseUrlS2C}/Product/return`,{params:{chain_id:m,supplier_id:V,barcode:nt}})}cancel(m){return this.http.post(`${this.baseUrlS2C}/stock/inbound/cancel`,{id:m})}cancel2(m){return this.http.post(`${this.baseUrlS2C}/stock/inbound/reject`,{id:m})}delete(m){return this.http.post(`${this.baseUrlS2C}/stock/inbound/delete`,{id:m})}deleteBatch(m){return this.http.post(`${this.baseUrlS2C}/stock/inbound/delete`,{...m})}getStockInById(m){return this.http.get(`${this.baseUrlS2C}/stock/inbound/${m}`)}getStockInWithPageProductById(m,V=1){return this.http.get(`${this.baseUrlS2C}/stock/inbound/get_page_product/${m}`,{params:{page:V.toString()}})}addBatchproducts(m){return this.http.post(`${this.baseUrlS2C}/Product/bat`,m)}
1deleteProductquick(m,V){return this.http.post(`${this.baseUrlS2C}/quick/purchase/product/delete/${V}`,m)}deleteProductquick2(m,V){return this.http.post(`${this.baseUrlS2C}/v2/quick_purchase_order/${m}/products/delete`,V)}getQuickPurProducts(m,V,nt,ct,Y,wt,re){return this.http.get(`${this.baseUrlS2C}/quick/purchase`,{params:{chain_id:m,supplier_id:V,order_number:nt,date:ct,status:Y,date_from:wt,date_to:re}})}getQuickPurProductsV2(m){for(let V in m)(!m[V]||0==m[V])&&(m[V]="");return this.http.get(`${this.baseUrlS2C}/v2/quick_purchase_order`,{params:m})}getQuickPurProductsPending(m){return this.http.get(`${this.baseUrlS2C}/quick/purchase`,{params:{status:m}})}getStatKPIS(m){return this.http.post(`${this.baseUrlS2C}/stat/kpi`,m)}getTopProduct(m){return this.http.post(`${this.baseUrlS2C}/sale/top/products`,m)}getStatProducts(m){return this.http.post(`${this.baseUrlS2C}/stat/products`,m)}getAllSuppliersProducts(){return this.http.get(`${this.baseUrl}/products/shop/list`)}getAllSuppProdsWithItems(){return this.http.get(`${this.baseUrl}/products/shop/all`)}filterProductsList(m,V,nt,ct){return this.http.get(`${this.baseUrl}/products/shop/all`,{params:{category_id:m,brand_id:V,supplier_id:nt,barcode:ct}})}getProductsBestSellersOfSupplier(m){return this.http.get(`${this.baseUrl}/products/best/seller/${m}`)}addProductToWhishlist(m){return this.http.post(`${this.baseUrl}/products/favorit`,m)}getProductofMyWhishlist(){return this.http.get(`${this.baseUrl}/products/wish/list`)}getPurchasedProducts(m){return this.http.get(`${Ct.N}/products/purchased`,{params:{supplier_id:m}})}getProdByBar(m,V){return(0==m||!m)&&(m=""),(0==V||!V)&&(V=""),this.http.get(`${this.baseUrlS2C}/Product`,{params:{store_id:localStorage.getItem("store_id"),chain_id:m,item_barcode:V}})}getProdsListPurshS2C(m,V,nt,ct,Y){return(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==m||!m)&&(m=""),(0==ct||!ct)&&(ct=""),(0==Y||!Y)&&(Y=""),this.http.get(`${this.baseUrlS2C}/Product/all`,{params:{chain_id:V,supplier_id:nt,page:m,barcode:ct,category_id:Y}})}getProdsTochainreturn(m,V,nt){return(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==m||!m)&&(m=""),this.http.get(`${this.baseUrlS2C}/Product/all`,{params:{chain_id:V,barcode:nt,page:m}})}getProdsListS2C(m,V,nt,ct,Y,wt){return(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==ct||!ct)&&(ct=""),(0==Y||!Y)&&(Y=""),(0==wt||!wt)&&(wt=""),(0==m||!m)&&(m=""),this.http.get(`${this.baseUrlS2C}/Product/all`,{params:{chain_id:V,category_id:nt,barcode:ct,supplier_id:Y,range_id:wt,page:m}})}getProdsListS2C2(m){for(let V in m)(!m[V]||0==m[V])&&(m[V]="");return this.http.get(`${this.baseUrlS2C}/Product/all`,{params:m})}getStockInboundList(m,V,nt,ct,Y){return(0==m||!m)&&(m=""),(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==ct||!ct)&&(ct=""),(null==Y||!Y)&&(Y=""),this.http.get(`${this.baseUrlS2C}/stock/inbound/list`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id"),page:m,keyword:V,chain_id:nt,supplier_id:ct,status:Y}})}getOtherStockInboundList(m){return(0==m.page||!m.page)&&(m.page=""),(0==m.keyword||!m.keyword)&&(m.keyword=""),(0==m.chain_id||!m.chain_id)&&(m.chain_id=""),(0==m.supplier_id||!m.supplier_id)&&(m.supplier_id=""),(null==m.status||!m.status)&&(m.status=""),(null==m.reason_id||!m.reason_id)&&(m.reason_id=""),this.http.get(`${this.baseUrlS2C}/stock/inbound/other/list`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id"),page:m.page,keyword:m.keyword,chain_id:m.chain_id,supplier_id:m.supplier_id,status:m.status,reason_id:m.reason_id}})}getStatisticStockInboundList(m,V,nt,ct,Y,wt){return(0==m||!m)&&(m=""),(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==ct||!ct)&&(ct=""),(null==Y||!Y)&&(Y=""),(null==wt||!wt)&&(wt=""),this.http.get(`${this.baseUrlS2C}/stock/inbound/statistics`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id"),page:m,keyword:V,chain_id:nt,supplier_id:ct,status:Y,category:wt}})}addInbound2(m){return this.http.post(`${this.baseUrlS2C}/stock/inbound/create2`,m)}addInbound(m){return this.http.post(`${this.baseUrlS2C}/stock/inbound/create`,m)}
1addOtherInbound(m){return this.http.post(`${this.baseUrlS2C}/stock/inbound/other/create`,m)}updateOtherInbound(m){return this.http.post(`${this.baseUrlS2C}stock/inbound/other/update`,m)}updateInbound(m,V){for(let nt in V)(!V[nt]||0==V[nt])&&(V[nt]="");return this.http.post(`${this.baseUrlS2C}/stock/inbound/${m}`,V)}updateInboundV2(m,V){for(let nt in V)(!V[nt]||0==V[nt])&&(V[nt]="");return this.http.post(`${this.baseUrlS2C}/stock/inbound/update/${m}`,V)}downloadStockInList(m){return this.http.get(`${this.baseUrlS2C}/stock/inbound/download`,{params:m,responseType:"blob",observe:"response"})}getProdsListBycat(m,V){return(0==V||!V)&&(V=""),(0==m||!m)&&(m=""),this.http.get(`${this.baseUrlS2C}/Product/all`,{params:{category_id:V,page:m}})}getProdsListBybarcode(m,V){return(0==V||!V)&&(V=""),(0==m||!m)&&(m=""),this.http.get(`${this.baseUrlS2C}/Product/all`,{params:{barcode:V,page:m}})}downloadExpiredProductListS2C(m,V){return this.http.get(`${this.baseUrlS2C}/v2/product/expiration/download`,{params:m,responseType:"blob",observe:"response"})}getwarningProdsListS2C(m,V,nt,ct,Y,wt,re){return(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==ct||!ct)&&(ct=""),(0==Y||!Y)&&(Y=""),(0==wt||!wt)&&(wt=""),(0==m||!m)&&(m=""),this.http.post(`${this.baseUrlS2C}/Product/warn`,re,{params:{chain_id:V,category_id:nt,barcode:ct,supplier_id:Y,range_id:wt,page:m}})}getStockInboundListByWarnQuantity(m){for(let V in m)(!m[V]||0==m[V])&&(m[V]="");return this.http.get(`${this.baseUrlS2C}/v2/product/warn`,m)}downloadProductListByWarnQuantity(m){for(let V in m)(!m[V]||0==m[V])&&(m[V]="");return this.http.get(`${this.baseUrlS2C}/v2/product/warn/download`,{params:m,responseType:"blob",observe:"response"})}getNotDiscountedProducts(m,V,nt,ct){return this.http.get(`${this.baseUrlS2C}/promotion/products`,{params:{chain_id:V,keyword:nt,barcode:ct,page:m}})}getNotDiscountedProductsList(m){return this.http.get(`${this.baseUrlS2C}/promotion/products`,{params:m})}addReturnQuantity(m){return this.http.post(`${this.baseUrlS2C}/Product/return`,m)}editReturnQuantity(m,V){return this.http.post(`${this.baseUrlS2C}/Product/return/${m}`,V)}setWarningQuantityBySearchConditions(m){return this.http.post(`${this.baseUrlS2C}/v2/product/set_warn_quantity`,m)}setWarningQty(m){return this.http.post(`${this.baseUrlS2C}/product/setwarn_list`,m)}setAllWwarningQty(m){return this.http.post(`${this.baseUrlS2C}/product/setwarn`,m)}deleteReturnQuantity(m){return this.http.delete(`${this.baseUrlS2C}/Product/return/${m}`)}getStockInboundList1(){return this.http.get(`${this.baseUrlS2C}/stock/inbound/List`,{params:{store_id:localStorage.getItem("store_id"),chain_id:localStorage.getItem("chain_id")}})}addNewProduct(m){return this.http.post(`${this.baseUrlS2C}/stock/inbound`,m,{responseType:"text"})}addNewVersionProduct(m){return this.http.post(`${this.baseUrlS2C}/products/add`,m)}getProductById(m,V){return this.http.post(`${this.baseUrlS2C}/Product/web/${m}`,V)}generateBarcode(){return this.http.get(`${this.baseUrlS2C}/Product/Barcode`)}deleteStockIn(m){return this.http.post(`${this.baseUrlS2C}/stock/inbound/delete`,{id:m})}getstatStock(m){return this.http.post(`${this.baseUrlS2C}/stat/stock`,m)}updateProduct(m){return this.http.post(`${this.baseUrlS2C}/Product/update`,m,{responseType:"text"})}getStatProdQuant(m){return this.http.post(`${this.baseUrlS2C}/stat/product/quantity1`,m)}getStatTopProd(m){return this.http.post(`${this.baseUrlS2C}/stat/sale/top/products`,m)}getStatTopProdAllchains(m){return this.http.post(`${this.baseUrlS2C}/stat/sale/top/products2/ym`,m)}getStatTopCatAllchains(m){return this.http.post(`${this.baseUrlS2C}/stat/sale/top/categories2/ym`,m)}getStatTopSupplierAllchains(m){return this.http.post(`${this.baseUrlS2C}/stat/sale/top/suppliers2/ym`,m)}getStatTopSupplier(m){return this.http.post(`${this.baseUrlS2C}/stat/sale/top/suppliers`,m)}getStatTopProdCat(m){return this.http.post(`${this.baseUrlS2C}/stat/sale/hot/category`,m)}getStatSalesTurnover(m){return this.http.post(`${this.baseUrlS2C}/stat/sale/turnover`,m)}getStatSalesProfit(m){return this.http.post(`${this.baseUrlS2C}/stat/gross/profit1`,m)}addsiyouproduct(m){return this.http.post(`${this.baseUrlS2C}/siyou_shop/product/create`,m)}
1editsiyouproduct(m,V){return this.http.post(`${this.baseUrlS2C}/siyou_shop/product/update/${m}`,V)}getsiyouproduct(m){return this.http.get(`${this.baseUrlS2C}/siyou_shop/product/list`,{params:{is_package:m}})}addImageProduct(m){return this.http.post(`${this.baseUrlS2C}/siyou_shop/product/addimage`,m)}deleteImageProduct(m,V){return this.http.post(`${this.baseUrlS2C}/siyou_shop/product/deleteimage/${m}`,V)}getSiyoushopProduct(m){return this.http.get(`${this.baseUrlS2C}/siyou_shop/product/detail/${m}`)}deleteSiyouShopProductItem(m,V){return this.http.post(`${this.baseUrlS2C}/siyou_shop/product/deleteitem/${m}`,V)}deleteSiyouShopProduct(m,V){return this.http.post(`${this.baseUrlS2C}/siyou_shop/product/delete/${m}`,V)}getProdsSupplierListS2C(m,V,nt,ct,Y){return(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==m||!m)&&(m=""),(!ct||0==ct)&&(ct=""),(!Y||0==Y)&&(Y=""),this.http.get(`${this.baseUrlS2C}/Product/sup_cat`,{params:{supplier_id:V,chain_id:nt,barcode:ct,keyword:Y,page:m}})}getProdsSupplierByBarCode(m,V,nt,ct,Y){return(0==ct||!ct)&&(ct=""),(0==nt||!nt)&&(nt=""),(0==m||!m)&&(m=""),(0==V||!V)&&(V=""),(!Y||0==Y)&&(Y=""),this.http.get(`${this.baseUrlS2C}/Product/sup_cat_barcode`,{params:{barcode:ct,chain_id:nt,keywod:Y,supplier_id:V,page:m}})}getProdsCategory(m,V,nt){return(0==V||!V)&&(V=""),(0==m||!m)&&(m=""),(0==nt||!nt)&&(nt=""),this.http.get(`${this.baseUrlS2C}/Product/sup_cat`,{params:{category_id:V,page:m,chain_id:nt}})}getProdsBarcode(m,V,nt){return(0==V||!V)&&(V=""),(0==m||!m)&&(m=""),(0==nt||!nt)&&(nt=""),this.http.get(`${this.baseUrlS2C}/Product/sup_cat_barcode`,{params:{barcode:V,page:m,chain_id:nt}})}initInventoryByProductIds(m){return this.http.post(`${this.baseUrlS2C}/v2/inventory/init_by_product_ids`,{...m})}initInventoryBySearchConditions(m){return this.http.post(`${this.baseUrlS2C}/v2/inventory/init_by_search_conditions`,{...m})}getStockOutbound(m,V,nt,ct,Y){return(0==m||!m)&&(m=""),(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(null==ct||!ct)&&(ct=""),(null==Y||!Y)&&(Y=""),this.http.get(`${this.baseUrlS2C}/stock/outbound/list`,{params:{token:localStorage.getItem("token"),keyword:m,chain_id:V,page:nt,status:ct,category:Y}})}getstatisticStockOutbound(m,V,nt,ct,Y){return(0==m||!m)&&(m=""),(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(null==ct||!ct)&&(ct=""),(null==Y||!Y)&&(Y=""),this.http.get(`${this.baseUrlS2C}/stock/outbound/statistics`,{params:{token:localStorage.getItem("token"),keyword:m,chain_id:V,page:nt,status:ct,category:Y}})}getInvLossList(m,V,nt,ct){return(0==m||!m)&&(m=""),(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==ct||!ct)&&(ct=""),this.http.get(`${this.baseUrlS2C}/stock/loss/list`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id"),barcode:m,chain_id:V,category_id:nt,page:ct}})}EditStockOutbound(m,V){return this.http.post(`${this.baseUrlS2C}/stock/outbound/${V}`,m,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id")}})}newEditStockOutbound(m,V){return this.http.post(`${this.baseUrlS2C}/stock/outbound/update/${V}`,m,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id")}})}DeleteStockOutbound(m){return this.http.delete(`${this.baseUrlS2C}/stock/outbound/${m}`)}getStockOutboundById(m){return this.http.get(`${this.baseUrlS2C}/stock/outbound/${m}`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id")}})}addStockOutbound(m){return this.http.post(`${this.baseUrlS2C}/stock/outbound/create`,m)}newaddStockOutbound(m){return this.http.post(`${this.baseUrlS2C}/stock/outbound/create2`,m)}addInvLoss(m){return this.http.post(`${this.baseUrlS2C}/stock/loss/create`,m)}};Q.ctorParameters=()=>[{type:xt.eN},{type:kt.E}],Q=(0,lt.gn)([(0,j.GSi)({providedIn:"root"})],Q)},85609:(ut,mt,F)=>{"use strict";F.d(mt,{n:()=>Q});var lt=F(97582),j=F(94650),xt=F(80529),Ct=F(92340),kt=F(36955);let Q=class{constructor(m,V){this.http=m,this.configService=V;let nt=this.configService.getConfig();this.baseUrl=`${nt.baseUrl}`,this.baseUrlS2C=`${nt.baseUrlS2C}`}getReturnedProducts(m,V,nt){return this.http.get(`${this.baseUrlS2C}/Product/return`,{params:{chain_id:m,supplier_id:V,barcode:nt}})}cancel(m){return this.http.post(`${this.baseUrlS2C}/stock/outbound/cancel`,{id:m})}cancel2(m){return this.http.post(`${this.baseUrlS2C}/stock/outbound/reject`,{id:m})}delete(m){return this.http.post(`${this.baseUrlS2C}/stock/outbound/delete`,{id:m})}deleteBatch(m){return this.http.post(`${this.baseUrlS2C}/stock/outbound/delete`,{...m})}getStockOutById(m){return this.http.get(`${this.baseUrlS2C}/stock/outbound/${m}`)}addBatchproducts(m){return this.http.post(`${this.baseUrlS2C}/Product/bat`,m)}
1deleteProductquick(m,V){return this.http.post(`${this.baseUrlS2C}/quick/purchase/product/delete/${V}`,m)}deleteProductquick2(m,V){return this.http.post(`${this.baseUrlS2C}/v2/quick_purchase_order/${m}/products/delete`,V)}getQuickPurProducts(m,V,nt,ct,Y,wt,re){return this.http.get(`${this.baseUrlS2C}/quick/purchase`,{params:{chain_id:m,supplier_id:V,order_number:nt,date:ct,status:Y,date_from:wt,date_to:re}})}getStockOutboundDetailsById(m){return this.http.get(`${this.baseUrlS2C}/stock/outbound/${m}/details`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id")}})}getStockOutboundProductsByPage(m,V=1,nt=10){return this.http.get(`${this.baseUrlS2C}/stock/outbound/${m}/products`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id"),page:V.toString(),per_page:nt.toString()}})}getQuickPurProductsV2(m){for(let V in m)(!m[V]||0==m[V])&&(m[V]="");return this.http.get(`${this.baseUrlS2C}/v2/quick_purchase_order`,{params:m})}getQuickPurProductsPending(m){return this.http.get(`${this.baseUrlS2C}/quick/purchase`,{params:{status:m}})}getStatKPIS(m){return this.http.post(`${this.baseUrlS2C}/stat/kpi`,m)}getTopProduct(m){return this.http.post(`${this.baseUrlS2C}/sale/top/products`,m)}getStatProducts(m){return this.http.post(`${this.baseUrlS2C}/stat/products`,m)}getAllSuppliersProducts(){return this.http.get(`${this.baseUrl}/products/shop/list`)}getAllSuppProdsWithItems(){return this.http.get(`${this.baseUrl}/products/shop/all`)}filterProductsList(m,V,nt,ct){return this.http.get(`${this.baseUrl}/products/shop/all`,{params:{category_id:m,brand_id:V,supplier_id:nt,barcode:ct}})}getProductsBestSellersOfSupplier(m){return this.http.get(`${this.baseUrl}/products/best/seller/${m}`)}addProductToWhishlist(m){return this.http.post(`${this.baseUrl}/products/favorit`,m)}getProductofMyWhishlist(){return this.http.get(`${this.baseUrl}/products/wish/list`)}getPurchasedProducts(m){return this.http.get(`${Ct.N}/products/purchased`,{params:{supplier_id:m}})}getProdByBar(m,V){return(0==m||!m)&&(m=""),(0==V||!V)&&(V=""),this.http.get(`${this.baseUrlS2C}/Product`,{params:{store_id:localStorage.getItem("store_id"),chain_id:m,item_barcode:V}})}getProdsListPurshS2C(m,V,nt,ct,Y){return(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==m||!m)&&(m=""),(0==ct||!ct)&&(ct=""),(0==Y||!Y)&&(Y=""),this.http.get(`${this.baseUrlS2C}/Product/all`,{params:{chain_id:V,supplier_id:nt,page:m,barcode:ct,category_id:Y}})}getProdsTochainreturn(m,V,nt){return(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==m||!m)&&(m=""),this.http.get(`${this.baseUrlS2C}/Product/all`,{params:{chain_id:V,barcode:nt,page:m}})}getProdsListS2C(m,V,nt,ct,Y,wt){return(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==ct||!ct)&&(ct=""),(0==Y||!Y)&&(Y=""),(0==wt||!wt)&&(wt=""),(0==m||!m)&&(m=""),this.http.get(`${this.baseUrlS2C}/Product/all`,{params:{chain_id:V,category_id:nt,barcode:ct,supplier_id:Y,range_id:wt,page:m}})}getProdsListS2C2(m){for(let V in m)(!m[V]||0==m[V])&&(m[V]="");return this.http.get(`${this.baseUrlS2C}/Product/all`,{params:m})}getStockOutboundList(m,V,nt,ct,Y){return(0==m||!m)&&(m=""),(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==ct||!ct)&&(ct=""),(null==Y||!Y)&&(Y=""),this.http.get(`${this.baseUrlS2C}/stock/outbound/list`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id"),page:m,keyword:V,chain_id:nt,supplier_id:ct,status:Y}})}getOtherStockOutboundList(m){return(0==m.page||!m.page)&&(m.page=""),(0==m.keyword||!m.keyword)&&(m.keyword=""),(0==m.chain_id||!m.chain_id)&&(m.chain_id=""),(0==m.supplier_id||!m.supplier_id)&&(m.supplier_id=""),(null==m.status||!m.status)&&(m.status=""),(null==m.reason_id||!m.reason_id)&&(m.reason_id=""),this.http.get(`${this.baseUrlS2C}/stock/outbound/other/list`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id"),page:m.page,keyword:m.keyword,chain_id:m.chain_id,supplier_id:m.supplier_id,status:m.status,reason_id:m.reason_id}})}getStatisticStockOutboundList(m,V,nt,ct,Y){return(0==m||!m)&&(m=""),(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==ct||!ct)&&(ct=""),(null==Y||!Y)&&(Y=""),this.http.get(`${this.baseUrlS2C}/stock/outbound/statistics`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id"),page:m,keyword:V,chain_id:nt,supplier_id:ct,status:Y}})}addInbound2(m){return this.http.post(`${this.baseUrlS2C}/stock/outbound/create2`,m)}addInbound(m){return this.http.post(`${this.baseUrlS2C}/stock/outbound/create`,m)}
1addOtherOutbound(m){return this.http.post(`${this.baseUrlS2C}/stock/outbound/other/create`,m)}updateOtherOutbound(m){return this.http.post(`${this.baseUrlS2C}/stock/outbound/other/update`,m)}updateInbound(m,V){for(let nt in V)(!V[nt]||0==V[nt])&&(V[nt]="");return this.http.post(`${this.baseUrlS2C}/stock/outbound/${m}`,V)}updateInboundV2(m,V){for(let nt in V)(!V[nt]||0==V[nt])&&(V[nt]="");return this.http.post(`${this.baseUrlS2C}/stock/outbound/update/${m}`,V)}downloadStockOutList(m){return this.http.get(`${this.baseUrlS2C}/stock/outbound/download`,{params:m,responseType:"blob",observe:"response"})}getProdsListBycat(m,V){return(0==V||!V)&&(V=""),(0==m||!m)&&(m=""),this.http.get(`${this.baseUrlS2C}/Product/all`,{params:{category_id:V,page:m}})}getProdsListBybarcode(m,V){return(0==V||!V)&&(V=""),(0==m||!m)&&(m=""),this.http.get(`${this.baseUrlS2C}/Product/all`,{params:{barcode:V,page:m}})}getwarningProdsListS2C(m,V,nt,ct,Y,wt,re){return(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==ct||!ct)&&(ct=""),(0==Y||!Y)&&(Y=""),(0==wt||!wt)&&(wt=""),(0==m||!m)&&(m=""),this.http.post(`${this.baseUrlS2C}/Product/warn`,re,{params:{chain_id:V,category_id:nt,barcode:ct,supplier_id:Y,range_id:wt,page:m}})}getStockOutboundListByWarnQuantity(m){for(let V in m)(!m[V]||0==m[V])&&(m[V]="");return this.http.get(`${this.baseUrlS2C}/v2/product/warn`,m)}downloadProductListByWarnQuantity(m){for(let V in m)(!m[V]||0==m[V])&&(m[V]="");return this.http.get(`${this.baseUrlS2C}/v2/product/warn/download`,{params:m,responseType:"blob",observe:"response"})}getNotDiscountedProducts(m,V,nt,ct){return this.http.get(`${this.baseUrlS2C}/promotion/products`,{params:{chain_id:V,keyword:nt,barcode:ct,page:m}})}getNotDiscountedProductsList(m){return this.http.get(`${this.baseUrlS2C}/promotion/products`,{params:m})}addReturnQuantity(m){return this.http.post(`${this.baseUrlS2C}/Product/return`,m)}editReturnQuantity(m,V){return this.http.post(`${this.baseUrlS2C}/Product/return/${m}`,V)}setWarningQuantityBySearchConditions(m){return this.http.post(`${this.baseUrlS2C}/v2/product/set_warn_quantity`,m)}setWarningQty(m){return this.http.post(`${this.baseUrlS2C}/product/setwarn_list`,m)}setAllWwarningQty(m){return this.http.post(`${this.baseUrlS2C}/product/setwarn`,m)}deleteReturnQuantity(m){return this.http.delete(`${this.baseUrlS2C}/Product/return/${m}`)}getStockOutboundList1(){return this.http.get(`${this.baseUrlS2C}/stock/outbound/List`,{params:{store_id:localStorage.getItem("store_id"),chain_id:localStorage.getItem("chain_id")}})}addNewProduct(m){return this.http.post(`${this.baseUrlS2C}/stock/outbound`,m,{responseType:"text"})}addNewVersionProduct(m){return this.http.post(`${this.baseUrlS2C}/products/add`,m)}getProductById(m,V){return this.http.post(`${this.baseUrlS2C}/Product/web/${m}`,V)}generateBarcode(){return this.http.get(`${this.baseUrlS2C}/Product/Barcode`)}deleteStockOut(m){return this.http.post(`${this.baseUrlS2C}/stock/outbound/delete`,{id:m})}getstatStock(m){return this.http.post(`${this.baseUrlS2C}/stat/stock`,m)}updateProduct(m){return this.http.post(`${this.baseUrlS2C}/Product/update`,m,{responseType:"text"})}getStatProdQuant(m){return this.http.post(`${this.baseUrlS2C}/stat/product/quantity1`,m)}getStatTopProd(m){return this.http.post(`${this.baseUrlS2C}/stat/sale/top/products`,m)}getStatTopProdAllchains(m){return this.http.post(`${this.baseUrlS2C}/stat/sale/top/products2/ym`,m)}getStatTopCatAllchains(m){return this.http.post(`${this.baseUrlS2C}/stat/sale/top/categories2/ym`,m)}getStatTopSupplierAllchains(m){return this.http.post(`${this.baseUrlS2C}/stat/sale/top/suppliers2/ym`,m)}getStatTopSupplier(m){return this.http.post(`${this.baseUrlS2C}/stat/sale/top/suppliers`,m)}getStatTopProdCat(m){return this.http.post(`${this.baseUrlS2C}/stat/sale/hot/category`,m)}getStatSalesTurnover(m){return this.http.post(`${this.baseUrlS2C}/stat/sale/turnover`,m)}getStatSalesProfit(m){return this.http.post(`${this.baseUrlS2C}/stat/gross/profit1`,m)}addsiyouproduct(m){return this.http.post(`${this.baseUrlS2C}/siyou_shop/product/create`,m)}editsiyouproduct(m,V){return this.http.post(`${this.baseUrlS2C}/siyou_shop/product/update/${m}`,V)}getsiyouproduct(m){return this.http.get(`${this.baseUrlS2C}/siyou_shop/product/list`,{params:{is_package:m}}
1)}addImageProduct(m){return this.http.post(`${this.baseUrlS2C}/siyou_shop/product/addimage`,m)}deleteImageProduct(m,V){return this.http.post(`${this.baseUrlS2C}/siyou_shop/product/deleteimage/${m}`,V)}getSiyoushopProduct(m){return this.http.get(`${this.baseUrlS2C}/siyou_shop/product/detail/${m}`)}deleteSiyouShopProductItem(m,V){return this.http.post(`${this.baseUrlS2C}/siyou_shop/product/deleteitem/${m}`,V)}deleteSiyouShopProduct(m,V){return this.http.post(`${this.baseUrlS2C}/siyou_shop/product/delete/${m}`,V)}getProdsSupplierListS2C(m,V,nt,ct,Y){return(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==m||!m)&&(m=""),(!ct||0==ct)&&(ct=""),(!Y||0==Y)&&(Y=""),this.http.get(`${this.baseUrlS2C}/Product/sup_cat`,{params:{supplier_id:V,chain_id:nt,barcode:ct,keyword:Y,page:m}})}getProdsSupplierByBarCode(m,V,nt,ct,Y){return(0==ct||!ct)&&(ct=""),(0==nt||!nt)&&(nt=""),(0==m||!m)&&(m=""),(0==V||!V)&&(V=""),(!Y||0==Y)&&(Y=""),this.http.get(`${this.baseUrlS2C}/Product/sup_cat_barcode`,{params:{barcode:ct,chain_id:nt,keywod:Y,supplier_id:V,page:m}})}getProdsCategory(m,V,nt){return(0==V||!V)&&(V=""),(0==m||!m)&&(m=""),(0==nt||!nt)&&(nt=""),this.http.get(`${this.baseUrlS2C}/Product/sup_cat`,{params:{category_id:V,page:m,chain_id:nt}})}getProdsBarcode(m,V,nt){return(0==V||!V)&&(V=""),(0==m||!m)&&(m=""),(0==nt||!nt)&&(nt=""),this.http.get(`${this.baseUrlS2C}/Product/sup_cat_barcode`,{params:{barcode:V,page:m,chain_id:nt}})}initInventoryByProductIds(m){return this.http.post(`${this.baseUrlS2C}/v2/inventory/init_by_product_ids`,{...m})}initInventoryBySearchConditions(m){return this.http.post(`${this.baseUrlS2C}/v2/inventory/init_by_search_conditions`,{...m})}getStockOutbound(m,V,nt,ct){return(0==m||!m)&&(m=""),(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(null==ct||!ct)&&(ct=""),this.http.get(`${this.baseUrlS2C}/stock/outbound/list`,{params:{token:localStorage.getItem("token"),keyword:m,chain_id:V,page:nt,status:ct}})}getstatisticStockOutbound(m,V,nt,ct){return(0==m||!m)&&(m=""),(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(null==ct||!ct)&&(ct=""),this.http.get(`${this.baseUrlS2C}/stock/outbound/statistics`,{params:{token:localStorage.getItem("token"),keyword:m,chain_id:V,page:nt,status:ct}})}getInvLossList(m,V,nt,ct){return(0==m||!m)&&(m=""),(0==V||!V)&&(V=""),(0==nt||!nt)&&(nt=""),(0==ct||!ct)&&(ct=""),this.http.get(`${this.baseUrlS2C}/stock/loss/list`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id"),barcode:m,chain_id:V,category_id:nt,page:ct}})}EditStockOutbound(m,V){return this.http.post(`${this.baseUrlS2C}/stock/outbound/${V}`,m,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id")}})}newEditStockOutbound(m,V){return this.http.post(`${this.baseUrlS2C}/stock/outbound/update/${V}`,m,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id")}})}DeleteStockOutbound(m){return this.http.delete(`${this.baseUrlS2C}/stock/outbound/${m}`)}getStockOutboundById(m){return this.http.get(`${this.baseUrlS2C}/stock/outbound/${m}`,{params:{token:localStorage.getItem("token"),shop_owner_id:localStorage.getItem("user_id")}})}addStockOutbound(m){return this.http.post(`${this.baseUrlS2C}/stock/outbound/create`,m)}newaddStockOutbound(m){return this.http.post(`${this.baseUrlS2C}/stock/outbound/create2`,m)}addInvLoss(m){return this.http.post(`${this.baseUrlS2C}/stock/loss/create`,m)}};Q.ctorParameters=()=>[{type:xt.eN},{type:kt.E}],Q=(0,lt.gn)([(0,j.GSi)({providedIn:"root"})],Q)},68332:function(ut,mt,F){ut.exports=function(lt){"use strict";function j(p,g){return p(g={exports:{}},g.exports),g.exports}function xt(p){return p&&p.default||p}lt=lt&<.hasOwnProperty("default")?lt.default:lt;var Ct={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
vendor: 5,690 bytes, line 1
1ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},kt=j(function(p){var g={};for(var y in Ct)Ct.hasOwnProperty(y)&&(g[Ct[y]]=y);var _=p.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var w in _)if(_.hasOwnProperty(w)){if(!("channels"in _[w]))throw new Error("missing channels property: "+w);if(!("labels"in _[w]))throw new Error("missing channel labels property: "+w);if(_[w].labels.length!==_[w].channels)throw new Error("channel and label counts mismatch: "+w);var C=_[w].channels,T=_[w].labels;delete _[w].channels,delete _[w].labels,Object.defineProperty(_[w],"channels",{value:C}),Object.defineProperty(_[w],"labels",{value:T})}function O(P,L){return Math.pow(P[0]-L[0],2)+Math.pow(P[1]-L[1],2)+Math.pow(P[2]-L[2],2)}_.rgb.hsl=function(P){var it,Pt,L=P[0]/255,E=P[1]/255,H=P[2]/255,J=Math.min(L,E,H),et=Math.max(L,E,H),at=et-J;return et===J?it=0:L===et?it=(E-H)/at:E===et?it=2+(H-L)/at:H===et&&(it=4+(L-E)/at),(it=Math.min(60*it,360))<0&&(it+=360),Pt=(J+et)/2,[it,100*(et===J?0:Pt<=.5?at/(et+J):at/(2-et-J)),100*Pt]},_.rgb.hsv=function(P){var L,E,H,J,et,at=P[0]/255,it=P[1]/255,dt=P[2]/255,Pt=Math.max(at,it,dt),Gt=Pt-Math.min(at,it,dt),Zt=function(Ae){return(Pt-Ae)/6/Gt+.5};return 0===Gt?J=et=0:(et=Gt/Pt,L=Zt(at),E=Zt(it),H=Zt(dt),at===Pt?J=H-E:it===Pt?J=1/3+L-H:dt===Pt&&(J=2/3+E-L),J<0?J+=1:J>1&&(J-=1)),[360*J,100*et,100*Pt]},_.rgb.hwb=function(P){var L=P[0],E=P[1],H=P[2];return[_.rgb.hsl(P)[0],1/255*Math.min(L,Math.min(E,H))*100,100*(H=1-1/255*Math.max(L,Math.max(E,H)))]},_.rgb.cmyk=function(P){var it,L=P[0]/255,E=P[1]/255,H=P[2]/255;return[100*((1-L-(it=Math.min(1-L,1-E,1-H)))/(1-it)||0),100*((1-E-it)/(1-it)||0),100*((1-H-it)/(1-it)||0),100*it]},_.rgb.keyword=function(P){var L=g[P];if(L)return L;var H,E=1/0;for(var J in Ct)if(Ct.hasOwnProperty(J)){var at=O(P,Ct[J]);at<E&&(E=at,H=J)}return H},_.keyword.rgb=function(P){return Ct[P]},_.rgb.xyz=function(P){var L=P[0]/255,E=P[1]/255,H=P[2]/255;return[100*(.4124*(L=L>.04045?Math.pow((L+.055)/1.055,2.4):L/12.92)+.3576*(E=E>.04045?Math.pow((E+.055)/1.055,2.4):E/12.92)+.1805*(H=H>.04045?Math.pow((H+.055)/1.055,2.4):H/12.92)),100*(.2126*L+.7152*E+.0722*H),100*(.0193*L+.1192*E+.9505*H)]},_.rgb.lab=function(P){var L=_.rgb.xyz(P),E=L[0],H=L[1],J=L[2];return H/=100,J/=108.883,E=(E/=95.047)>.008856?Math.pow(E,1/3):7.787*E+16/116,[116*(H=H>.008856?Math.pow(H,1/3):7.787*H+16/116)-16,500*(E-H),200*(H-(J=J>.008856?Math.pow(J,1/3):7.787*J+16/116))]},_.hsl.rgb=function(P){var J,et,at,it,dt,L=P[0]/360,E=P[1]/100,H=P[2]/100;if(0===E)return[dt=255*H,dt,dt];J=2*H-(et=H<.5?H*(1+E):H+E-H*E),it=[0,0,0];for(var Pt=0;Pt<3;Pt++)(at=L+1/3*-(Pt-1))<0&&at++,at>1&&at--,dt=6*at<1?J+6*(et-J)*at:2*at<1?et:3*at<2?J+(et-J)*(2/3-at)*6:J,it[Pt]=255*dt;return it},_.hsl.hsv=function(P){var L=P[0],E=P[1]/100,H=P[2]/100,J=E,et=Math.max(H,.01);return E*=(H*=2)<=1?H:2-H,J*=et<=1?et:2-et,[L,100*(0===H?2*J/(et+J):2*E/(H+E)),(H+E)/2*100]},_.hsv.rgb=function(P){var L=P[0]/60,E=P[1]/100,H=P[2]/100,J=Math.floor(L)%6,et=L-Math.floor(L),at=255*H*(1-E),it=255*H*(1-E*et),dt=255*H*(1-E*(1-et));switch(H*=255,J){case 0:return[H,dt,at];case 1:return[it,H,at];case 2:return[at,H,dt];case 3:return[at,it,H];case 4:return[dt,at,H];case 5:return[H,at,it]}},_.hsv.hsl=function(P){var et,at,it,L=P[0],E=P[1]/100,H=P[2]/100,J=Math.max(H,.01);return it=(2-E)*H,at=E*J,[L,100*(at=(at/=(et=(2-E)*J)<=1?et:2-et)||0),100*(it/=2)]},_.hwb.rgb=function(P){var et,at,it,dt,Pt,Gt,Zt,L=P[0]/360,E=P[1]/100,H=P[2]/100,J=E+H;switch(J>1&&(E/=J,H/=J),it=6*L-(et=Math.floor(6*L)),0!=(1&et)&&(it=1-it),dt=E+it*((at=1-H)-E),et){default:case 6:case 0:Pt=at,Gt=dt,Zt=E;break;case 1:Pt=dt,Gt=at,Zt=E;break;case 2:Pt=E,Gt=at,Zt=dt;break;case 3:Pt=E,Gt=dt,Zt=at;break;case 4:Pt=dt,Gt=E,Zt=at;break;case 5:Pt=at,Gt=E,Zt=dt}return[255*Pt,255*Gt,255*Zt]},_.cmyk.rgb=function(P){var L=P[0]/100,E=P[1]/100,H=P[2]/100,J=P[3]/100;return[255*(1-Math.min(1,L*(1-J)+J)),255*(1-Math.min(1,E*(1-J)+J)),255*(1-Math.min(1,H*(1-J)+J))]},_.xyz.rgb=function(P){var J,et,at,L=P[0]/100,E=P[1]/100,H=P[2]/100;return et=-.9689*L+1.8758*E+.0415*H,at=.0557*L+-.204*E+1.057*H,J=(J=3.2406*L+-1.5372*E+-.4986*H)>.0031308?1.055*Math.pow(J,1/2.4)-.055:12.92*J,et=et>.0031308?1.055*Math.pow(et,1/2.4)-.055:12.92*et,at=at>.0031308?1.055*Math.pow(at,1/2.4)-.055:12.92*at,[255*(J=Math.min(Math.max(0,J),
vendor: 53,570 bytes, line 1
11)),255*(et=Math.min(Math.max(0,et),1)),255*(at=Math.min(Math.max(0,at),1))]},_.xyz.lab=function(P){var L=P[0],E=P[1],H=P[2];return E/=100,H/=108.883,L=(L/=95.047)>.008856?Math.pow(L,1/3):7.787*L+16/116,[116*(E=E>.008856?Math.pow(E,1/3):7.787*E+16/116)-16,500*(L-E),200*(E-(H=H>.008856?Math.pow(H,1/3):7.787*H+16/116))]},_.lab.xyz=function(P){var J,et,at,L=P[0];J=P[1]/500+(et=(L+16)/116),at=et-P[2]/200;var it=Math.pow(et,3),dt=Math.pow(J,3),Pt=Math.pow(at,3);return et=it>.008856?it:(et-16/116)/7.787,J=dt>.008856?dt:(J-16/116)/7.787,at=Pt>.008856?Pt:(at-16/116)/7.787,[J*=95.047,et*=100,at*=108.883]},_.lab.lch=function(P){var et,L=P[0],E=P[1],H=P[2];return(et=360*Math.atan2(H,E)/2/Math.PI)<0&&(et+=360),[L,Math.sqrt(E*E+H*H),et]},_.lch.lab=function(P){var at,L=P[0],E=P[1];return at=P[2]/360*2*Math.PI,[L,E*Math.cos(at),E*Math.sin(at)]},_.rgb.ansi16=function(P){var L=P[0],E=P[1],H=P[2],J=1 in arguments?arguments[1]:_.rgb.hsv(P)[2];if(0===(J=Math.round(J/50)))return 30;var et=30+(Math.round(H/255)<<2|Math.round(E/255)<<1|Math.round(L/255));return 2===J&&(et+=60),et},_.hsv.ansi16=function(P){return _.rgb.ansi16(_.hsv.rgb(P),P[2])},_.rgb.ansi256=function(P){var L=P[0],E=P[1],H=P[2];return L===E&&E===H?L<8?16:L>248?231:Math.round((L-8)/247*24)+232:16+36*Math.round(L/255*5)+6*Math.round(E/255*5)+Math.round(H/255*5)},_.ansi16.rgb=function(P){var L=P%10;if(0===L||7===L)return P>50&&(L+=3.5),[L=L/10.5*255,L,L];var E=.5*(1+~~(P>50));return[(1&L)*E*255,(L>>1&1)*E*255,(L>>2&1)*E*255]},_.ansi256.rgb=function(P){if(P>=232){var L=10*(P-232)+8;return[L,L,L]}var E;return P-=16,[Math.floor(P/36)/5*255,Math.floor((E=P%36)/6)/5*255,E%6/5*255]},_.rgb.hex=function(P){var E=(((255&Math.round(P[0]))<<16)+((255&Math.round(P[1]))<<8)+(255&Math.round(P[2]))).toString(16).toUpperCase();return"000000".substring(E.length)+E},_.hex.rgb=function(P){var L=P.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!L)return[0,0,0];var E=L[0];3===L[0].length&&(E=E.split("").map(function(it){return it+it}).join(""));var H=parseInt(E,16);return[H>>16&255,H>>8&255,255&H]},_.rgb.hcg=function(P){var dt,L=P[0]/255,E=P[1]/255,H=P[2]/255,J=Math.max(Math.max(L,E),H),et=Math.min(Math.min(L,E),H),at=J-et;return dt=at<=0?0:J===L?(E-H)/at%6:J===E?2+(H-L)/at:4+(L-E)/at+4,dt/=6,[360*(dt%=1),100*at,100*(at<1?et/(1-at):0)]},_.hsl.hcg=function(P){var L=P[1]/100,E=P[2]/100,H=1,J=0;return(H=E<.5?2*L*E:2*L*(1-E))<1&&(J=(E-.5*H)/(1-H)),[P[0],100*H,100*J]},_.hsv.hcg=function(P){var L=P[1]/100,E=P[2]/100,H=L*E,J=0;return H<1&&(J=(E-H)/(1-H)),[P[0],100*H,100*J]},_.hcg.rgb=function(P){var L=P[0]/360,E=P[1]/100,H=P[2]/100;if(0===E)return[255*H,255*H,255*H];var J=[0,0,0],et=L%1*6,at=et%1,it=1-at,dt=0;switch(Math.floor(et)){case 0:J[0]=1,J[1]=at,J[2]=0;break;case 1:J[0]=it,J[1]=1,J[2]=0;break;case 2:J[0]=0,J[1]=1,J[2]=at;break;case 3:J[0]=0,J[1]=it,J[2]=1;break;case 4:J[0]=at,J[1]=0,J[2]=1;break;default:J[0]=1,J[1]=0,J[2]=it}return dt=(1-E)*H,[255*(E*J[0]+dt),255*(E*J[1]+dt),255*(E*J[2]+dt)]},_.hcg.hsv=function(P){var L=P[1]/100,H=L+P[2]/100*(1-L),J=0;return H>0&&(J=L/H),[P[0],100*J,100*H]},_.hcg.hsl=function(P){var L=P[1]/100,H=P[2]/100*(1-L)+.5*L,J=0;return H>0&&H<.5?J=L/(2*H):H>=.5&&H<1&&(J=L/(2*(1-H))),[P[0],100*J,100*H]},_.hcg.hwb=function(P){var L=P[1]/100,H=L+P[2]/100*(1-L);return[P[0],100*(H-L),100*(1-H)]},_.hwb.hcg=function(P){var L=P[1]/100,H=1-P[2]/100,J=H-L,et=0;return J<1&&(et=(H-J)/(1-J)),[P[0],100*J,100*et]},_.apple.rgb=function(P){return[P[0]/65535*255,P[1]/65535*255,P[2]/65535*255]},_.rgb.apple=function(P){return[P[0]/255*65535,P[1]/255*65535,P[2]/255*65535]},_.gray.rgb=function(P){return[P[0]/100*255,P[0]/100*255,P[0]/100*255]},_.gray.hsl=_.gray.hsv=function(P){return[0,0,P[0]]},_.gray.hwb=function(P){return[0,100,P[0]]},_.gray.cmyk=function(P){return[0,0,0,P[0]]},_.gray.lab=function(P){return[P[0],0,0]},_.gray.hex=function(P){var L=255&Math.round(P[0]/100*255),H=((L<<16)+(L<<8)+L).toString(16).toUpperCase();return"000000".substring(H.length)+H},_.rgb.gray=function(P){return[(P[0]+P[1]+P[2])/3/255*100]}});function ht(){for(var p={},g=Object.keys(kt),y=g.length,_=0;_<y;_++)p[g[_]]={distance:-1,parent:null};return p}function Tt(p){var g=ht(),y=[p];for(g[p].distance=0;y.length;)for(var _=y.pop(),w=Object.keys(kt[_]),C=w.length,T=0;T<C;T++){var O=w[T],P=g[O];-1===P.distance&&(P.distance=g[_].distance+1,P.parent=_,y.unshift(O))}return g}function xe(p,g){return function(y){return g(p(y))}}function Nn(p,g){for(var y=[g[p].parent,p],_=kt[g[p].parent][p],w=g[p].parent;g[w].parent;)y.unshift(g[w].parent),_=xe(kt[g[w].parent][w],_),w=g[w].parent;return _.conversion=y,_}kt.rgb,kt.hsl,kt.hsv,kt.hwb,kt.cmyk,kt.xyz,kt.lab,kt.lch,kt.hex,kt.keyword,kt.ansi16,kt.ansi256,kt.hcg,kt.apple,kt.gray;var ha=function(p){for(var g=Tt(p),y={},_=Object.keys(g),w=_.length,C=0;C<w;C++){var T=_[C];null!==g[T].parent&&(y[T]=Nn(T,g))}return y},je={};function ye(p){var g=function(y){return null==y?y:(arguments.length>1&&(y=Array.prototype.slice.call(arguments)),p(y))};return"conversion"in p&&(g.conversion=p.conversion),g}function Un(p){var g=function(y){if(null==y)return y;arguments.length>1&&(y=Array.prototype.slice.call(arguments));var _=p(y);if("object"==typeof _)for(var w=_.length,C=0;C<w;C++)_[C]=Math.round(_[C]);return _};return"conversion"in p&&(g.conversion=p.conversion),g}Object.keys(kt).forEach(function(p){je[p]={},Object.defineProperty(je[p],"channels",{value:kt[p].channels}),Object.defineProperty(je[p],"labels",{value:kt[p].labels});var g=ha(p);Object.keys(g).forEach(function(_){var w=g[_];je[p][_]=Un(w),je[p][_].raw=ye(w)})});var gn=je,kn={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Ie={getRgba:fr,getHsla:yn,getRgb:ro,getHsl:vi,getHwb:gi,getAlpha:Jm,hexString:Xn,rgbString:Ai,rgbaString:Zl,percentString:Zm,percentaString:mu,hslString:Ta,hslaString:fs,hwbString:za,keyword:Iy};function fr(p){if(p){var g=/^#([a-fA-F0-9]{3,4})$/i,y=/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i,_=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,w=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,C=/(\w+)/,T=[0,0,0],O=1,P=p.match(g),L="";if(P){L=(P=P[1])[3];for(var E=0;E<T.length;E++)T[E]=parseInt(P[E]+P[E],16);L&&(O=Math.round(parseInt(L+L,16)/255*100)/100)}else if(P=p.match(y)){for(L=P[2],P=P[1],E=0;E<T.length;E++)T[E]=parseInt(P.slice(2*E,2*E+2),16);L&&(O=Math.round(parseInt(L,16)/255*100)/100)}else if(P=p.match(_)){for(E=0;E<T.length;E++)T[E]=parseInt(P[E+1]);O=parseFloat(P[4])}else if(P=p.match(w)){for(E=0;E<T.length;E++)T[E]=Math.round(2.55*parseFloat(P[E+1]));O=parseFloat(P[4])}else if(P=p.match(C)){if("transparent"==P[1])return[0,0,0,0];if(!(T=kn[P[1]]))return}for(E=0;E<T.length;E++)T[E]=gr(T[E],0,255);return O=O||0==O?gr(O,0,1):1,T[3]=O,T}}function yn(p){if(p){var g=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,y=p.match(g);if(y){var _=parseFloat(y[4]);return[gr(parseInt(y[1]),0,360),gr(parseFloat(y[2]),0,100),gr(parseFloat(y[3]),0,100),gr(isNaN(_)?1:_,0,1)]}}}function gi(p){if(p){var g=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,y=p.match(g);if(y){var _=parseFloat(y[4]);return[gr(parseInt(y[1]),0,360),gr(parseFloat(y[2]),0,100),gr(parseFloat(y[3]),0,100),gr(isNaN(_)?1:_,0,1)]}}}function ro(p){var g=fr(p);return g&&g.slice(0,3)}function vi(p){var g=yn(p);return g&&g.slice(0,3)}function Jm(p){var g=fr(p);return g||(g=yn(p))||(g=gi(p))?g[3]:void 0}function Xn(p,y){return y=void 0!==y&&3===p.length?y:p[3],"#"+fu(p[0])+fu(p[1])+fu(p[2])+(y>=0&&y<1?fu(Math.round(255*y)):"")}function Ai(p,g){return g<1||p[3]&&p[3]<1?Zl(p,g):"rgb("+p[0]+", "+p[1]+", "+p[2]+")"}function Zl(p,g){return void 0===g&&(g=void 0!==p[3]?p[3]:1),"rgba("+p[0]+", "+p[1]+", "+p[2]+", "+g+")"}function Zm(p,g){return g<1||p[3]&&p[3]<1?mu(p,g):"rgb("+Math.round(p[0]/255*100)+"%, "+Math.round(p[1]/255*100)+"%, "+Math.round(p[2]/255*100)+"%)"}function mu(p,g){return"rgba("+Math.round(p[0]/255*100)+"%, "+Math.round(p[1]/255*100)+"%, "+Math.round(p[2]/255*100)+"%, "+(g||p[3]||1)+")"}function Ta(p,g){return g<1||p[3]&&p[3]<1?fs(p,g):"hsl("+p[0]+", "+p[1]+"%, "+p[2]+"%)"}function fs(p,g){return void 0===g&&(g=void 0!==p[3]?p[3]:1),"hsla("+p[0]+", "+p[1]+"%, "+p[2]+"%, "+g+")"}function za(p,g){return void 0===g&&(g=void 0!==p[3]?p[3]:1),"hwb("+p[0]+", "+p[1]+"%, "+p[2]+"%"+(void 0!==g&&1!==g?", "+g:"")+")"}function Iy(p){return gs[p.slice(0,3)]}function gr(p,g,y){return Math.min(Math.max(g,p),y)}function fu(p){var g=p.toString(16).toUpperCase();return g.length<2?"0"+g:g}var gs={};for(var My in kn)gs[kn[My]]=My;var Pa=function(p){return p instanceof Pa?p:this instanceof Pa?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof p?(g=Ie.getRgba(p))?this.setValues("rgb",g):(g=Ie.getHsla(p))?this.setValues("hsl",g):(g=Ie.getHwb(p))&&this.setValues("hwb",g):"object"==typeof p&&(void 0!==(g=p).r||void 0!==g.red?this.setValues("rgb",g):void 0!==g.l||void 0!==g.lightness?this.setValues("hsl",g):void 0!==g.v||void 0!==g.value?this.setValues("hsv",g):void 0!==g.w||void 0!==g.whiteness?this.setValues("hwb",g):(void 0!==g.c||void 0!==g.cyan)&&this.setValues("cmyk",g)))):new Pa(p);var g};Pa.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var p=this.values;return 1!==p.alpha?p.hwb.concat([p.alpha]):p.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var p=this.values;return p.rgb.concat([p.alpha])},hslaArray:function(){var p=this.values;return p.hsl.concat([p.alpha])},alpha:function(p){return void 0===p?this.values.alpha:(this.setValues("alpha",p),this)},red:function(p){return this.setChannel("rgb",0,p)},green:function(p){return this.setChannel("rgb",1,p)},blue:function(p){return this.setChannel("rgb",2,p)},hue:function(p){return p&&(p=(p%=360)<0?360+p:p),this.setChannel("hsl",0,p)},saturation:function(p){return this.setChannel("hsl",1,p)},lightness:function(p){return this.setChannel("hsl",2,p)},saturationv:function(p){return this.setChannel("hsv",1,p)},whiteness:function(p){return this.setChannel("hwb",1,p)},blackness:function(p){return this.setChannel("hwb",2,p)},value:function(p){return this.setChannel("hsv",2,p)},cyan:function(p){return this.setChannel("cmyk",0,p)},magenta:function(p){return this.setChannel("cmyk",1,p)},yellow:function(p){return this.setChannel("cmyk",2,p)},black:function(p){return this.setChannel("cmyk",3,p)},hexString:function(){return Ie.hexString(this.values.rgb)},rgbString:function(){return Ie.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return Ie.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return Ie.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return Ie.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return Ie.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return Ie.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return Ie.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var p=this.values.rgb;return p[0]<<16|p[1]<<8|p[2]},luminosity:function(){for(var p=this.values.rgb,g=[],y=0;y<p.length;y++){var _=p[y]/255;g[y]=_<=.03928?_/12.92:Math.pow((_+.055)/1.055,2.4)}return.2126*g[0]+.7152*g[1]+.0722*g[2]},contrast:function(p){var g=this.luminosity(),y=p.luminosity();return g>y?(g+.05)/(y+.05):(y+.05)/(g+.05)},level:function(p){var g=this.contrast(p);return g>=7.1?"AAA":g>=4.5?"AA":""},dark:function(){var p=this.values.rgb;return(299*p[0]+587*p[1]+114*p[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var p=[],g=0;g<3;g++)p[g]=255-this.values.rgb[g];return this.setValues("rgb",p),this},lighten:function(p){var g=this.values.hsl;return g[2]+=g[2]*p,this.setValues("hsl",g),this},darken:function(p){var g=this.values.hsl;return g[2]-=g[2]*p,this.setValues("hsl",g),this},saturate:function(p){var g=this.values.hsl;return g[1]+=g[1]*p,this.setValues("hsl",g),this},desaturate:function(p){var g=this.values.hsl;return g[1]-=g[1]*p,this.setValues("hsl",g),this},whiten:function(p){var g=this.values.hwb;return g[1]+=g[1]*p,this.setValues("hwb",g),this},blacken:function(p){var g=this.values.hwb;return g[2]+=g[2]*p,this.setValues("hwb",g),this},greyscale:function(){var p=this.values.rgb,g=.3*p[0]+.59*p[1]+.11*p[2];return this.setValues("rgb",[g,g,g]),this},clearer:function(p){var g=this.values.alpha;return this.setValues("alpha",g-g*p),this},opaquer:function(p){var g=this.values.alpha;return this.setValues("alpha",g+g*p),this},rotate:function(p){var g=this.values.hsl,y=(g[0]+p)%360;return g[0]=y<0?360+y:y,this.setValues("hsl",g),this},mix:function(p,g){var y=this,_=p,w=void 0===g?.5:g,C=2*w-1,T=y.alpha()-_.alpha(),O=((C*T==-1?C:(C+T)/(1+C*T))+1)/2,P=1-O;return this.rgb(O*y.red()+P*_.red(),O*y.green()+P*_.green(),O*y.blue()+P*_.blue()).alpha(y.alpha()*w+_.alpha()*(1-w))},toJSON:function(){return this.rgb()},clone:function(){var _,w,p=new Pa,g=this.values,y=p.values;for(var C in g)g.hasOwnProperty(C)&&(_=g[C],"[object Array]"===(w={}.toString.call(_))?y[C]=_.slice(0):"[object Number]"===w?y[C]=_:console.error("unexpected color value:",_));return p}},Pa.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},Pa.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},Pa.prototype.getValues=function(p){for(var g=this.values,y={},_=0;_<p.length;_++)y[p.charAt(_)]=g[p][_];return 1!==g.alpha&&(y.a=g.alpha),y},Pa.prototype.setValues=function(p,g){var T,P,y=this.values,_=this.spaces,w=this.maxes,C=1;if(this.valid=!0,"alpha"===p)C=g;else if(g.length)y[p]=g.slice(0,p.length),C=g[p.length];else if(void 0!==g[p.charAt(0)]){for(T=0;T<p.length;T++)y[p][T]=g[p.charAt(T)];C=g.a}else if(void 0!==g[_[p][0]]){var O=_[p];for(T=0;T<p.length;T++)y[p][T]=g[O[T]];C=g.alpha}if(y.alpha=Math.max(0,Math.min(1,void 0===C?y.alpha:C)),"alpha"===p)return!1;for(T=0;T<p.length;T++)P=Math.max(0,Math.min(w[p][T],y[p][T])),y[p][T]=Math.round(P);for(var L in _)L!==p&&(y[L]=gn[p][L](y[p]));return!0},Pa.prototype.setSpace=function(p,g){var y=g[0];return void 0===y?this.getValues(p):("number"==typeof y&&(y=Array.prototype.slice.call(g)),this.setValues(p,y),this)},Pa.prototype.setChannel=function(p,g,y){var _=this.values[p];return void 0===y?_[g]:(y===_[g]||(_[g]=y,this.setValues(p,_)),this)},typeof window<"u"&&(window.Color=Pa);var gu=Pa;function Oy(p){return-1===["__proto__","prototype","constructor"].indexOf(p)}var p,Re={noop:function(){},uid:(p=0,function(){return p++}),isNullOrUndef:function(p){return null===p||typeof p>"u"},isArray:function(p){if(Array.isArray&&Array.isArray(p))return!0;var g=Object.prototype.toString.call(p);return"[object"===g.substr(0,7)&&"Array]"===g.substr(-6)},isObject:function(p){return null!==p&&"[object Object]"===Object.prototype.toString.call(p)},isFinite:function(p){return("number"==typeof p||p instanceof Number)&&isFinite(p)},valueOrDefault:function(p,g){return typeof p>"u"?g:p},valueAtIndexOrDefault:function(p,g,y){return Re.valueOrDefault(Re.isArray(p)?p[g]:p,y)},callback:function(p,g,y){if(p&&"function"==typeof p.call)return p.apply(y,g)},each:function(p,g,y,_){var w,C,T;if(Re.isArray(p))if(C=p.length,_)for(w=C-1;w>=0;w--)g.call(y,p[w],w);else for(w=0;w<C;w++)g.call(y,p[w],w);else if(Re.isObject(p))for(C=(T=Object.keys(p)).length,w=0;w<C;w++)g.call(y,p[T[w]],T[w])},arrayEquals:function(p,g){var y,_,w,C;if(!p||!g||p.length!==g.length)return!1;for(y=0,_=p.length;y<_;++y)if(w=p[y],C=g[y],w instanceof Array&&C instanceof Array){if(!Re.arrayEquals(w,C))return!1}else if(w!==C)return!1;return!0},clone:function(p){if(Re.isArray(p))return p.map(Re.clone);if(Re.isObject(p)){for(var g=Object.create(p),y=Object.keys(p),_=y.length,w=0;w<_;++w)g[y[w]]=Re.clone(p[y[w]]);return g}return p},_merger:function(p,g,y,_){if(Oy(p)){var w=g[p],C=y[p];Re.isObject(w)&&Re.isObject(C)?Re.merge(w,C,_):g[p]=Re.clone(C)}},_mergerIf:function(p,g,y){if(Oy(p)){var _=g[p],w=y[p];Re.isObject(_)&&Re.isObject(w)?Re.mergeIf(_,w):g.hasOwnProperty(p)||(g[p]=Re.clone(w))}},merge:function(p,g,y){var C,T,O,P,L,_=Re.isArray(g)?g:[g],w=_.length;if(!Re.isObject(p))return p;for(C=(y=y||{}).merger||Re._merger,T=0;T<w;++T)if(g=_[T],Re.isObject(g))for(L=0,P=(O=Object.keys(g)).length;L<P;++L)C(O[L],p,g,y);return p},mergeIf:function(p,g){return Re.merge(p,g,{merger:Re._mergerIf})},extend:Object.assign||function(p){return Re.merge(p,[].slice.call(arguments,1),{merger:function(g,y,_){y[g]=_[g]}})},inherits:function(p){var g=this,y=p&&p.hasOwnProperty("constructor")?p.constructor:function(){return g.apply(this,arguments)},_=function(){this.constructor=y};return _.prototype=g.prototype,y.prototype=new _,y.extend=Re.inherits,p&&Re.extend(y.prototype,p),y.__super__=g.prototype,y},_deprecated:function(p,g,y,_){void 0!==g&&console.warn(p+': "'+y+'" is deprecated. Please use "'+_+'" instead')}},Ea=Re;Re.callCallback=Re.callback,Re.indexOf=function(p,g,y){return Array.prototype.indexOf.call(p,g,y)},Re.getValueOrDefault=Re.valueOrDefault,Re.getValueAtIndexOrDefault=Re.valueAtIndexOrDefault;var Xl={linear:function(p){return p},easeInQuad:function(p){return p*p},easeOutQuad:function(p){return-p*(p-2)},easeInOutQuad:function(p){return(p/=.5)<1?.5*p*p:-.5*(--p*(p-2)-1)},easeInCubic:function(p){return p*p*p},easeOutCubic:function(p){return(p-=1)*p*p+1},easeInOutCubic:function(p){return(p/=.5)<1?.5*p*p*p:.5*((p-=2)*p*p+2)},easeInQuart:function(p){return p*p*p*p},easeOutQuart:function(p){return-((p-=1)*p*p*p-1)},easeInOutQuart:function(p){return(p/=.5)<1?.5*p*p*p*p:-.5*((p-=2)*p*p*p-2)},easeInQuint:function(p){return p*p*p*p*p},easeOutQuint:function(p){return(p-=1)*p*p*p*p+1},easeInOutQuint:function(p){return(p/=.5)<1?.5*p*p*p*p*p:.5*((p-=2)*p*p*p*p+2)},easeInSine:function(p){return 1-Math.cos(p*(Math.PI/2))},easeOutSine:function(p){return Math.sin(p*(Math.PI/2))},easeInOutSine:function(p){return-.5*(Math.cos(Math.PI*p)-1)},easeInExpo:function(p){return 0===p?0:Math.pow(2,10*(p-1))},easeOutExpo:function(p){return 1===p?1:1-Math.pow(2,-10*p)},easeInOutExpo:function(p){return 0===p?0:1===p?1:(p/=.5)<1?.5*Math.pow(2,10*(p-1)):.5*(2-Math.pow(2,-10*--p))},easeInCirc:function(p){return p>=1?p:-(Math.sqrt(1-p*p)-1)},easeOutCirc:function(p){return Math.sqrt(1-(p-=1)*p)},easeInOutCirc:function(p){return(p/=.5)<1?-.5*(Math.sqrt(1-p*p)-1):.5*(Math.sqrt(1-(p-=2)*p)+1)},easeInElastic:function(p){var g=1.70158,y=0,_=1;return 0===p?0:1===p?1:(y||(y=.3),_<1?(_=1,g=y/4):g=y/(2*Math.PI)*Math.asin(1/_),-_*Math.pow(2,10*(p-=1))*Math.sin((p-g)*(2*Math.PI)/y))},easeOutElastic:function(p){var g=1.70158,y=0,_=1;return 0===p?0:1===p?1:(y||(y=.3),_<1?(_=1,g=y/4):g=y/(2*Math.PI)*Math.asin(1/_),_*Math.pow(2,-10*p)*Math.sin((p-g)*(2*Math.PI)/y)+1)},easeInOutElastic:function(p){var g=1.70158,y=0,_=1;return 0===p?0:2==(p/=.5)?1:(y||(y=.45),_<1?(_=1,g=y/4):g=y/(2*Math.PI)*Math.asin(1/_),p<1?_*Math.pow(2,10*(p-=1))*Math.sin((p-g)*(2*Math.PI)/y)*-.5:_*Math.pow(2,-10*(p-=1))*Math.sin((p-g)*(2*Math.PI)/y)*.5+1)},easeInBack:function(p){var g=1.70158;return p*p*((g+1)*p-g)},easeOutBack:function(p){var g=1.70158;return(p-=1)*p*((g+1)*p+g)+1},easeInOutBack:function(p){var g=1.70158;return(p/=.5)<1?p*p*((1+(g*=1.525))*p-g)*.5:.5*((p-=2)*p*((1+(g*=1.525))*p+g)+2)},easeInBounce:function(p){return 1-Xl.easeOutBounce(1-p)},easeOutBounce:function(p){return p<1/2.75?7.5625*p*p:p<2/2.75?7.5625*(p-=1.5/2.75)*p+.75:p<2.5/2.75?7.5625*(p-=2.25/2.75)*p+.9375:7.5625*(p-=2.625/2.75)*p+.984375},easeInOutBounce:function(p){return p<.5?.5*Xl.easeInBounce(2*p):.5*Xl.easeOutBounce(2*p-1)+.5}},F1={effects:Xl};Ea.easingEffects=Xl;var na=Math.PI,V1=na/180,io=2*na,qa=na/2,Ha=na/4,Ry=2*na/3,vu={clear:function(p){p.ctx.clearRect(0,0,p.width,p.height)},roundedRect:function(p,g,y,_,w,C){if(C){var T=Math.min(C,w/2,_/2),O=g+T,P=y+T,L=g+_-T,E=y+w-T;p.moveTo(g,P),O<L&&P<E?(p.arc(O,P,T,-na,-qa),p.arc(L,P,T,-qa,0),p.arc(L,E,T,0,qa),p.arc(O,E,T,qa,na)):O<L?(p.moveTo(O,y),p.arc(L,P,T,-qa,qa),p.arc(O,P,T,qa,na+qa)):P<E?(p.arc(O,P,T,-na,0),p.arc(O,E,T,0,na)):p.arc(O,P,T,-na,na),p.closePath(),p.moveTo(g,y)}else p.rect(g,y,_,w)},drawPoint:function(p,g,y,_,w,C){var T,O,P,L,E,H=(C||0)*V1;if(g&&"object"==typeof g&&("[object HTMLImageElement]"===(T=g.toString())||"[object HTMLCanvasElement]"===T))return p.save(),p.translate(_,w),p.rotate(H),p.drawImage(g,-g.width/2,-g.height/2,g.width,g.height),void p.restore();if(!(isNaN(y)||y<=0)){switch(p.beginPath(),g){default:p.arc(_,w,y,0,io),p.closePath();break;case"triangle":p.moveTo(_+Math.sin(H)*y,w-Math.cos(H)*y),H+=Ry,p.lineTo(_+Math.sin(H)*y,w-Math.cos(H)*y),H+=Ry,p.lineTo(_+Math.sin(H)*y,w-Math.cos(H)*y),p.closePath();break;case"rectRounded":L=y-(E=.516*y),O=Math.cos(H+Ha)*L,P=Math.sin(H+Ha)*L,p.arc(_-O,w-P,E,H-na,H-qa),p.arc(_+P,w-O,E,H-qa,H),p.arc(_+O,w+P,E,H,H+qa),p.arc(_-P,w+O,E,H+qa,H+na),p.closePath();break;case"rect":if(!C){L=Math.SQRT1_2*y,p.rect(_-L,w-L,2*L,2*L);break}H+=Ha;case"rectRot":O=Math.cos(H)*y,P=Math.sin(H)*y,p.moveTo(_-O,w-P),p.lineTo(_+P,w-O),p.lineTo(_+O,w+P),p.lineTo(_-P,w+O),p.closePath();break;case"crossRot":H+=Ha;case"cross":O=Math.cos(H)*y,P=Math.sin(H)*y,p.moveTo(_-O,w-P),p.lineTo(_+O,w+P),p.moveTo(_+P,w-O),p.lineTo(_-P,w+O);break;case"star":O=Math.cos(H)*y,P=Math.sin(H)*y,p.moveTo(_-O,w-P),p.lineTo(_+O,w+P),p.moveTo(_+P,w-O),p.lineTo(_-P,w+O),H+=Ha,O=Math.cos(H)*y,P=Math.sin(H)*y,p.moveTo(_-O,w-P),p.lineTo(_+O,w+P),p.moveTo(_+P,w-O),p.lineTo(_-P,w+O);break;case"line":O=Math.cos(H)*y,P=Math.sin(H)*y,p.moveTo(_-O,w-P),p.lineTo(_+O,w+P);break;case"dash":p.moveTo(_,w),p.lineTo(_+Math.cos(H)*y,w+Math.sin(H)*y)}p.fill(),p.stroke()}},_isPointInArea:function(p,g){var y=1e-6;return p.x>g.left-y&&p.x<g.right+y&&p.y>g.top-y&&p.y<g.bottom+y},clipArea:function(p,g){p.save(),p.beginPath(),p.rect(g.left,g.top,g.right-g.left,g.bottom-g.top),p.clip()},unclipArea:function(p){p.restore()},lineTo:function(p,g,y,_){var w=y.steppedLine;if(w){if("middle"===w){var C=(g.x+y.x)/2;p.lineTo(C,_?y.y:g.y),p.lineTo(C,_?g.y:y.y)}else"after"===w&&!_||"after"!==w&&_?p.lineTo(g.x,y.y):p.lineTo(y.x,g.y);p.lineTo(y.x,y.y)}else y.tension?p.bezierCurveTo(_?g.controlPointPreviousX:g.controlPointNextX,_?g.controlPointPreviousY:g.controlPointNextY,_?y.controlPointNextX:y.controlPointPreviousX,_?y.controlPointNextY:y.controlPointPreviousY,y.x,y.y):p.lineTo(y.x,y.y)}},z1=vu;Ea.clear=vu.clear,Ea.drawRoundedRectangle=function(p){p.beginPath(),vu.roundedRect.apply(vu,arguments)};var Ly={_set:function(p,g){return Ea.merge(this[p]||(this[p]={}),g)}};Ly._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var oe=Ly,Yl=Ea.valueOrDefault;function E1(p){return!p||Ea.isNullOrUndef(p.size)||Ea.isNullOrUndef(p.family)?null:(p.style?p.style+" ":"")+(p.weight?p.weight+" ":"")+p.size+"px "+p.family}var Xm={toLineHeight:function(p,g){var y=(""+p).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!y||"normal"===y[1])return 1.2*g;switch(p=+y[2],y[3]){case"px":return p;case"%":p/=100}return g*p},toPadding:function(p){var g,y,_,w;return Ea.isObject(p)?(g=+p.top||0,y=+p.right||0,_=+p.bottom||0,w=+p.left||0):g=y=_=w=+p||0,{top:g,right:y,bottom:_,left:w,height:g+_,width:w+y}},_parseFont:function(p){var g=oe.global,y=Yl(p.fontSize,g.defaultFontSize),_={family:Yl(p.fontFamily,g.defaultFontFamily),lineHeight:Ea.options.toLineHeight(Yl(p.lineHeight,g.defaultLineHeight),y),size:y,style:Yl(p.fontStyle,g.defaultFontStyle),weight:null,string:""};return _.string=E1(_),_},resolve:function(p,g,y,_){var C,T,O,w=!0;for(C=0,T=p.length;C<T;++C)if(void 0!==(O=p[C])&&(void 0!==g&&"function"==typeof O&&(O=O(g),w=!1),void 0!==y&&Ea.isArray(O)&&(O=O[y],w=!1),void 0!==O))return _&&!w&&(_.cacheable=!1),O}},Ym={_factorize:function(p){var _,g=[],y=Math.sqrt(p);for(_=1;_<y;_++)p%_==0&&(g.push(_),g.push(p/_));return y===(0|y)&&g.push(y),g.sort(function(w,C){return w-C}).pop(),g},log10:Math.log10||function(p){var g=Math.log(p)*Math.LOG10E,y=Math.round(g);return p===Math.pow(10,y)?y:g}},q1=Ym;Ea.log10=Ym.log10;var H1=function(p,g){return{x:function(y){return p+p+g-y},setWidth:function(y){g=y},textAlign:function(y){return"center"===y?y:"right"===y?"left":"right"},xPlus:function(y,_){return y-_},leftForLtr:function(y,_){return y-_}}},B1=function(){return{x:function(p){return p},setWidth:function(p){},textAlign:function(p){return p},xPlus:function(p,g){return p+g},leftForLtr:function(p,g){return p}}},G=Ea,W1=F1,J1=z1,Z1=Xm,X1=q1,Y1={getRtlAdapter:function(p,g,y){return p?H1(g,y):B1()},overrideTextDirection:function(p,g){var y,_;("ltr"===g||"rtl"===g)&&(_=[(y=p.canvas.style).getPropertyValue("direction"),y.getPropertyPriority("direction")],y.setProperty("direction",g,"important"),p.prevTextDirection=_)},restoreTextDirection:function(p){var g=p.prevTextDirection;void 0!==g&&(delete p.prevTextDirection,p.canvas.style.setProperty("direction",g[0],g[1]))}};function Q1(p,g,y,_){var C,T,O,P,L,E,H,J,et,w=Object.keys(y);for(C=0,T=w.length;C<T;++C)if(E=y[O=w[C]],g.hasOwnProperty(O)||(g[O]=E),(P=g[O])!==E&&"_"!==O[0]){if(p.hasOwnProperty(O)||(p[O]=P),(H=typeof E)==typeof(L=p[O]))if("string"===H){if((J=gu(L)).valid&&(et=gu(E)).valid){g[O]=et.mix(J,_).rgbString();continue}}else if(G.isFinite(L)&&G.isFinite(E)){g[O]=L+(E-L)*_;continue}g[O]=E}}G.easing=W1,G.canvas=J1,G.options=Z1,G.math=X1,G.rtl=Y1;var Qm=function(p){G.extend(this,p),this.initialize.apply(this,arguments)};G.extend(Qm.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var p=this;return p._view||(p._view=G.extend({},p._model)),p._start={},p},transition:function(p){var g=this,y=g._model,_=g._start,w=g._view;return y&&1!==p?(w||(w=g._view={}),_||(_=g._start={}),Q1(_,w,y,p),g):(g._view=G.extend({},y),g._start=null,g)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return G.isNumber(this._model.x)&&G.isNumber(this._model.y)}}),Qm.extend=G.inherits;var vr=Qm,$m=vr.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),tf=$m;Object.defineProperty($m.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty($m.prototype,"chartInstance",{get:function(){return this.chart},set:function(p){this.chart=p}}),oe._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:G.noop,onComplete:G.noop}});var Gr={animations:[],request:null,addAnimation:function(p,g,y,_){var C,T,w=this.animations;for(g.chart=p,g.startTime=Date.now(),g.duration=y,_||(p.animating=!0),C=0,T=w.length;C<T;++C)if(w[C].chart===p)return void(w[C]=g);w.push(g),1===w.length&&this.requestAnimationFrame()},cancelAnimation:function(p){var g=G.findIndex(this.animations,function(y){return y.chart===p});-1!==g&&(this.animations.splice(g,1),p.animating=!1)},requestAnimationFrame:function(){var p=this;null===p.request&&(p.request=G.requestAnimFrame.call(window,function(){p.request=null,p.startDigest()}))},startDigest:function(){var p=this;p.advance(),p.animations.length>0&&p.requestAnimationFrame()},advance:function(){for(var g,y,_,w,p=this.animations,C=0;C<p.length;)y=(g=p[C]).chart,_=g.numSteps,w=Math.floor((Date.now()-g.startTime)/g.duration*_)+1,g.currentStep=Math.min(w,_),G.callback(g.render,[y,g],y),G.callback(g.onAnimationProgress,[g],y),g.currentStep>=_?(G.callback(g.onAnimationComplete,[g],y),y.animating=!1,p.splice(C,1)):++C}},vs=G.options.resolve,As=["push","pop","shift","splice","unshift"];function $1(p,g){p._chartjs?p._chartjs.listeners.push(g):(Object.defineProperty(p,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[g]}}),As.forEach(function(y){var _="onData"+y.charAt(0).toUpperCase()+y.slice(1),w=p[y];Object.defineProperty(p,y,{configurable:!0,enumerable:!1,value:function(){var C=Array.prototype.slice.call(arguments),T=w.apply(this,C);return G.each(p._chartjs.listeners,function(O){"function"==typeof O[_]&&O[_].apply(O,C)}),T}})}))}function ys(p,g){var y=p._chartjs;if(y){var _=y.listeners,w=_.indexOf(g);-1!==w&&_.splice(w,1),!(_.length>0)&&(As.forEach(function(C){delete p[C]}),delete p._chartjs)}}var ef=function(p,g){this.initialize(p,g)};G.extend(ef.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(p,g){var y=this;y.chart=p,y.index=g,y.linkScales(),y.addElements(),y._type=y.getMeta().type},updateIndex:function(p){this.index=p},linkScales:function(){var p=this,g=p.getMeta(),y=p.chart,_=y.scales,w=p.getDataset(),C=y.options.scales;(null===g.xAxisID||!(g.xAxisID in _)||w.xAxisID)&&(g.xAxisID=w.xAxisID||C.xAxes[0].id),(null===g.yAxisID||!(g.yAxisID in _)||w.yAxisID)&&(g.yAxisID=w.yAxisID||C.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(p){return this.chart.scales[p]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&ys(this._data,this)},createMetaDataset:function(){var p=this,g=p.datasetElementType;return g&&new g({_chart:p.chart,_datasetIndex:p.index})},createMetaData:function(p){var g=this,y=g.dataElementType;return y&&new y({_chart:g.chart,_datasetIndex:g.index,_index:p})},addElements:function(){var w,C,p=this,g=p.getMeta(),y=p.getDataset().data||[],_=g.data;for(w=0,C=y.length;w<C;++w)_[w]=_[w]||p.createMetaData(w);g.dataset=g.dataset||p.createMetaDataset()},addElementAndReset:function(p){var g=this.createMetaData(p);this.getMeta().data.splice(p,0,g),this.updateElement(g,p,!0)},buildOrUpdateElements:function(){var p=this,g=p.getDataset(),y=g.data||(g.data=[]);p._data!==y&&(p._data&&ys(p._data,p),y&&Object.isExtensible(y)&&$1(y,p),p._data=y),p.resyncElements()},_configure:function(){var p=this;p._config=G.merge(Object.create(null),[p.chart.options.datasets[p._type],p.getDataset()],{merger:function(g,y,_){"_meta"!==g&&"data"!==g&&G._merger(g,y,_)}})},_update:function(p){var g=this;g._configure(),g._cachedDataOpts=null,g.update(p)},update:G.noop,transition:function(p){for(var g=this.getMeta(),y=g.data||[],_=y.length,w=0;w<_;++w)y[w].transition(p);g.dataset&&g.dataset.transition(p)},draw:function(){var p=this.getMeta(),g=p.data||[],y=g.length,_=0;for(p.dataset&&p.dataset.draw();_<y;++_)g[_].draw()},getStyle:function(p){var w,g=this,y=g.getMeta(),_=y.dataset;return g._configure(),_&&void 0===p?w=g._resolveDatasetElementOptions(_||{}):(p=p||0,w=g._resolveDataElementOptions(y.data[p]||{},p)),(!1===w.fill||null===w.fill)&&(w.backgroundColor=w.borderColor),w},_resolveDatasetElementOptions:function(p,g){var L,E,H,J,y=this,_=y.chart,w=y._config,C=p.custom||{},T=_.options.elements[y.datasetElementType.prototype._type]||{},O=y._datasetElementOptions,P={},et={chart:_,dataset:y.getDataset(),datasetIndex:y.index,hover:g};for(L=0,E=O.length;L<E;++L)H=O[L],J=g?"hover"+H.charAt(0).toUpperCase()+H.slice(1):H,P[H]=vs([C[J],w[J],T[J]],et);return P},_resolveDataElementOptions:function(p,g){var y=this,_=p&&p.custom,w=y._cachedDataOpts;if(w&&!_)return w;var J,et,at,it,C=y.chart,T=y._config,O=C.options.elements[y.dataElementType.prototype._type]||{},P=y._dataElementOptions,L={},E={chart:C,dataIndex:g,dataset:y.getDataset(),datasetIndex:y.index},H={cacheable:!_};if(_=_||{},G.isArray(P))for(et=0,at=P.length;et<at;++et)L[it=P[et]]=vs([_[it],T[it],O[it]],E,g,H);else for(et=0,at=(J=Object.keys(P)).length;et<at;++et)L[it=J[et]]=vs([_[it],T[P[it]],T[it],O[it]],E,g,H);return H.cacheable&&(y._cachedDataOpts=Object.freeze(L)),L},removeHoverStyle:function(p){G.merge(p._model,p.$previousStyle||{}),delete p.$previousStyle},setHoverStyle:function(p){var g=this.chart.data.datasets[p._datasetIndex],y=p._index,_=p.custom||{},w=p._model,C=G.getHoverColor;p.$previousStyle={backgroundColor:w.backgroundColor,borderColor:w.borderColor,borderWidth:w.borderWidth},w.backgroundColor=vs([_.hoverBackgroundColor,g.hoverBackgroundColor,C(w.backgroundColor)],void 0,y),w.borderColor=vs([_.hoverBorderColor,g.hoverBorderColor,C(w.borderColor)],void 0,y),w.borderWidth=vs([_.hoverBorderWidth,g.hoverBorderWidth,w.borderWidth],void 0,y)},_removeDatasetHoverStyle:function(){var p=this.getMeta().dataset;p&&this.removeHoverStyle(p)},_setDatasetHoverStyle:function(){var y,_,w,C,T,O,p=this.getMeta().dataset,g={};if(p){for(O=p._model,T=this._resolveDatasetElementOptions(p,!0),y=0,_=(C=Object.keys(T)).length;y<_;++y)g[w=C[y]]=O[w],O[w]=T[w];p.$previousStyle=g}},resyncElements:function(){var p=this,g=p.getMeta(),y=p.getDataset().data,_=g.data.length,w=y.length;w<_?g.data.splice(w,_-w):w>_&&p.insertElements(_,w-_)},insertElements:function(p,g){for(var y=0;y<g;++y)this.addElementAndReset(p+y)},onDataPush:function(){var p=arguments.length;this.insertElements(this.getDataset().data.length-p,p)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(p,g){this.getMeta().data.splice(p,g),this.insertElements(p,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),ef.extend=G.inherits;var Ba=ef,Ar=2*Math.PI;function Ny(p,g){var y=g.startAngle,_=g.endAngle,w=g.pixelMargin,C=w/g.outerRadius,T=g.x,O=g.y;p.beginPath(),p.arc(T,O,g.outerRadius,y-C,_+C),g.innerRadius>w?(C=w/g.innerRadius,p.arc(T,O,g.innerRadius-w,_+C,y-C,!0)):p.arc(T,O,w,_+Math.PI/2,y-Math.PI/2),p.closePath(),p.clip()}function tS(p,g,y,_){var C,w=y.endAngle;for(_&&(y.endAngle=y.startAngle+Ar,Ny(p,y),y.endAngle=w,y.endAngle===y.startAngle&&y.fullCircles&&(y.endAngle+=Ar,y.fullCircles--)),p.beginPath(),p.arc(y.x,y.y,y.innerRadius,y.startAngle+Ar,y.startAngle,!0),C=0;C<y.fullCircles;++C)p.stroke();for(p.beginPath(),p.arc(y.x,y.y,g.outerRadius,y.startAngle,y.startAngle+Ar),C=0;C<y.fullCircles;++C)p.stroke()}function eS(p,g,y){var _="inner"===g.borderAlign;_?(p.lineWidth=2*g.borderWidth,p.lineJoin="round"):(p.lineWidth=g.borderWidth,p.lineJoin="bevel"),y.fullCircles&&tS(p,g,y,_),_&&Ny(p,y),p.beginPath(),p.arc(y.x,y.y,g.outerRadius,y.startAngle,y.endAngle),p.arc(y.x,y.y,y.innerRadius,y.endAngle,y.startAngle,!0),p.closePath(),p.stroke()}oe._set("global",{elements:{arc:{backgroundColor:oe.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var nS=vr.extend({_type:"arc",inLabelRange:function(p){var g=this._view;return!!g&&Math.pow(p-g.x,2)<Math.pow(g.radius+g.hoverRadius,2)},inRange:function(p,g){var y=this._view;if(y){for(var _=G.getAngleFromPoint(y,{x:p,y:g}),w=_.angle,C=_.distance,T=y.startAngle,O=y.endAngle;O<T;)O+=Ar;for(;w>O;)w-=Ar;for(;w<T;)w+=Ar;var P=w>=T&&w<=O,L=C>=y.innerRadius&&C<=y.outerRadius;return P&&L}return!1},getCenterPoint:function(){var p=this._view,g=(p.startAngle+p.endAngle)/2,y=(p.innerRadius+p.outerRadius)/2;return{x:p.x+Math.cos(g)*y,y:p.y+Math.sin(g)*y}},getArea:function(){var p=this._view;return Math.PI*((p.endAngle-p.startAngle)/(2*Math.PI))*(Math.pow(p.outerRadius,2)-Math.pow(p.innerRadius,2))},tooltipPosition:function(){var p=this._view,g=p.startAngle+(p.endAngle-p.startAngle)/2,y=(p.outerRadius-p.innerRadius)/2+p.innerRadius;return{x:p.x+Math.cos(g)*y,y:p.y+Math.sin(g)*y}},draw:function(){var w,p=this._chart.ctx,g=this._view,y="inner"===g.borderAlign?.33:0,_={x:g.x,y:g.y,innerRadius:g.innerRadius,outerRadius:Math.max(g.outerRadius-y,0),pixelMargin:y,startAngle:g.startAngle,endAngle:g.endAngle,fullCircles:Math.floor(g.circumference/Ar)};if(p.save(),p.fillStyle=g.backgroundColor,p.strokeStyle=g.borderColor,_.fullCircles){for(_.endAngle=_.startAngle+Ar,p.beginPath(),p.arc(_.x,_.y,_.outerRadius,_.startAngle,_.endAngle),p.arc(_.x,_.y,_.innerRadius,_.endAngle,_.startAngle,!0),p.closePath(),w=0;w<_.fullCircles;++w)p.fill();_.endAngle=_.startAngle+g.circumference%Ar}p.beginPath(),p.arc(_.x,_.y,_.outerRadius,_.startAngle,_.endAngle),p.arc(_.x,_.y,_.innerRadius,_.endAngle,_.startAngle,!0),p.closePath(),p.fill(),g.borderWidth&&eS(p,g,_),p.restore()}}),Uy=G.valueOrDefault,Fy=oe.global.defaultColor;oe._set("global",{elements:{line:{tension:.4,backgroundColor:Fy,borderWidth:3,borderColor:Fy,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var aS=vr.extend({_type:"line",draw:function(){var L,E,H,p=this,g=p._view,y=p._chart.ctx,_=g.spanGaps,w=p._children.slice(),C=oe.global,T=C.elements.line,O=-1,P=p._loop;if(w.length){if(p._loop){for(L=0;L<w.length;++L)if(E=G.previousItem(w,L),!w[L]._view.skip&&E._view.skip){w=w.slice(L).concat(w.slice(0,L)),P=_;break}P&&w.push(w[0])}for(y.save(),y.lineCap=g.borderCapStyle||T.borderCapStyle,y.setLineDash&&y.setLineDash(g.borderDash||T.borderDash),y.lineDashOffset=Uy(g.borderDashOffset,T.borderDashOffset),y.lineJoin=g.borderJoinStyle||T.borderJoinStyle,y.lineWidth=Uy(g.borderWidth,T.borderWidth),y.strokeStyle=g.borderColor||C.defaultColor,y.beginPath(),(H=w[0]._view).skip||(y.moveTo(H.x,H.y),O=0),L=1;L<w.length;++L)H=w[L]._view,E=-1===O?G.previousItem(w,L):w[O],H.skip||(O!==L-1&&!_||-1===O?y.moveTo(H.x,H.y):G.canvas.lineTo(y,E._view,H),O=L);P&&y.closePath(),y.stroke(),y.restore()}}}),rS=G.valueOrDefault,Vy=oe.global.defaultColor;function zy(p){var g=this._view;return!!g&&Math.abs(p-g.x)<g.radius+g.hitRadius}function iS(p){var g=this._view;return!!g&&Math.abs(p-g.y)<g.radius+g.hitRadius}oe._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:Vy,borderColor:Vy,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var oS=vr.extend({_type:"point",inRange:function(p,g){var y=this._view;return!!y&&Math.pow(p-y.x,2)+Math.pow(g-y.y,2)<Math.pow(y.hitRadius+y.radius,2)},inLabelRange:zy,inXRange:zy,inYRange:iS,getCenterPoint:function(){var p=this._view;return{x:p.x,y:p.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var p=this._view;return{x:p.x,y:p.y,padding:p.radius+p.borderWidth}},draw:function(p){var g=this._view,y=this._chart.ctx,_=g.pointStyle,w=g.rotation,C=g.radius,T=g.x,O=g.y,P=oe.global,L=P.defaultColor;g.skip||(void 0===p||G.canvas._isPointInArea(g,p))&&(y.strokeStyle=g.borderColor||L,y.lineWidth=rS(g.borderWidth,P.elements.point.borderWidth),y.fillStyle=g.backgroundColor||L,G.canvas.drawPoint(y,_,C,T,O,w))}}),Ey=oe.global.defaultColor;function Kr(p){return p&&void 0!==p.width}function nf(p){var g,y,_,w,C;return Kr(p)?(C=p.width/2,g=p.x-C,y=p.x+C,_=Math.min(p.y,p.base),w=Math.max(p.y,p.base)):(C=p.height/2,g=Math.min(p.x,p.base),y=Math.max(p.x,p.base),_=p.y-C,w=p.y+C),{left:g,top:_,right:y,bottom:w}}function qy(p,g,y){return p===g?y:p===y?g:p}function sS(p){var g=p.borderSkipped,y={};return g&&(p.horizontal?p.base>p.x&&(g=qy(g,"left","right")):p.base<p.y&&(g=qy(g,"bottom","top")),y[g]=!0),y}function lS(p,g,y){var C,T,O,P,_=p.borderWidth,w=sS(p);return G.isObject(_)?(C=+_.top||0,T=+_.right||0,O=+_.bottom||0,P=+_.left||0):C=T=O=P=+_||0,{t:w.top||C<0?0:C>y?y:C,r:w.right||T<0?0:T>g?g:T,b:w.bottom||O<0?0:O>y?y:O,l:w.left||P<0?0:P>g?g:P}}function cS(p){var g=nf(p),y=g.right-g.left,_=g.bottom-g.top,w=lS(p,y/2,_/2);return{outer:{x:g.left,y:g.top,w:y,h:_},inner:{x:g.left+w.l,y:g.top+w.t,w:y-w.l-w.r,h:_-w.t-w.b}}}function Ql(p,g,y){var _=null===g,w=null===y,C=!(!p||_&&w)&&nf(p);return C&&(_||g>=C.left&&g<=C.right)&&(w||y>=C.top&&y<=C.bottom)}oe._set("global",{elements:{rectangle:{backgroundColor:Ey,borderColor:Ey,borderSkipped:"bottom",borderWidth:0}}});var Au=vr.extend({_type:"rectangle",draw:function(){var p=this._chart.ctx,g=this._view,y=cS(g),_=y.outer,w=y.inner;p.fillStyle=g.backgroundColor,p.fillRect(_.x,_.y,_.w,_.h),(_.w!==w.w||_.h!==w.h)&&(p.save(),p.beginPath(),p.rect(_.x,_.y,_.w,_.h),p.clip(),p.fillStyle=g.borderColor,p.rect(w.x,w.y,w.w,w.h),p.fill("evenodd"),p.restore())},height:function(){var p=this._view;return p.base-p.y},inRange:function(p,g){return Ql(this._view,p,g)},inLabelRange:function(p,g){var y=this._view;return Kr(y)?Ql(y,p,null):Ql(y,null,g)},inXRange:function(p){return Ql(this._view,p,null)},inYRange:function(p){return Ql(this._view,null,p)},getCenterPoint:function(){var g,y,p=this._view;return Kr(p)?(g=p.x,y=(p.y+p.base)/2):(g=(p.x+p.base)/2,y=p.y),{x:g,y}},getArea:function(){var p=this._view;return Kr(p)?p.width*Math.abs(p.y-p.base):p.height*Math.abs(p.x-p.base)},tooltipPosition:function(){var p=this._view;return{x:p.x,y:p.y}}}),ma={},dS=nS,uS=aS,pS=oS,hS=Au;ma.Arc=dS,ma.Line=uS,ma.Point=pS,ma.Rectangle=hS;var $l=G._deprecated,bs=G.valueOrDefault;function mS(p,g){var _,w,C,T,y=p._length;for(C=1,T=g.length;C<T;++C)y=Math.min(y,Math.abs(g[C]-g[C-1]));for(C=0,T=p.getTicks().length;C<T;++C)w=p.getPixelForTick(C),y=C>0?Math.min(y,Math.abs(w-_)):y,_=w;return y}function _s(p,g,y){var O,P,_=y.barThickness,w=g.stackCount,C=g.pixels[p],T=G.isNullOrUndef(_)?mS(g.scale,g.pixels):-1;return G.isNullOrUndef(_)?(O=T*y.categoryPercentage,P=y.barPercentage):(O=_*w,P=1),{chunk:O/w,ratio:P,start:C-O/2}}function yu(p,g,y){var P,_=g.pixels,w=_[p],C=p>0?_[p-1]:null,T=p<_.length-1?_[p+1]:null,O=y.categoryPercentage;return null===C&&(C=w-(null===T?g.end-g.start:T-w)),null===T&&(T=w+w-C),P=w-(w-Math.min(C,T))/2*O,{chunk:Math.abs(T-C)/2*O/g.stackCount,ratio:y.barPercentage,start:P}}oe._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),oe._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Hy=Ba.extend({dataElementType:ma.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var g,y,p=this;Ba.prototype.initialize.apply(p,arguments),(g=p.getMeta()).stack=p.getDataset().stack,g.bar=!0,y=p._getIndexScale().options,$l("bar chart",y.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),$l("bar chart",y.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),$l("bar chart",y.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),$l("bar chart",p._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),$l("bar chart",y.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(p){var _,w,g=this,y=g.getMeta().data;for(g._ruler=g.getRuler(),_=0,w=y.length;_<w;++_)g.updateElement(y[_],_,p)},updateElement:function(p,g,y){var _=this,w=_.getMeta(),C=_.getDataset(),T=_._resolveDataElementOptions(p,g);p._xScale=_.getScaleForId(w.xAxisID),p._yScale=_.getScaleForId(w.yAxisID),p._datasetIndex=_.index,p._index=g,p._model={backgroundColor:T.backgroundColor,borderColor:T.borderColor,borderSkipped:T.borderSkipped,borderWidth:T.borderWidth,datasetLabel:C.label,label:_.chart.data.labels[g]},G.isArray(C.data[g])&&(p._model.borderSkipped=null),_._updateElementGeometry(p,g,y,T),p.pivot()},_updateElementGeometry:function(p,g,y,_){var w=this,C=p._model,T=w._getValueScale(),O=T.getBasePixel(),P=T.isHorizontal(),L=w._ruler||w.getRuler(),E=w.calculateBarValuePixels(w.index,g,_),H=w.calculateBarIndexPixels(w.index,g,L,_);C.horizontal=P,C.base=y?O:E.base,C.x=P?y?O:E.head:H.center,C.y=P?H.center:y?O:E.head,C.height=P?H.size:void 0,C.width=P?void 0:H.size},_getStacks:function(p){var O,P,g=this,y=g._getIndexScale(),_=y._getMatchingVisibleMetas(g._type),w=y.options.stacked,C=_.length,T=[];for(O=0;O<C&&(P=_[O],(!1===w||-1===T.indexOf(P.stack)||void 0===w&&void 0===P.stack)&&T.push(P.stack),P.index!==p);++O);return T},getStackCount:function(){return this._getStacks().length},getStackIndex:function(p,g){var y=this._getStacks(p),_=void 0!==g?y.indexOf(g):-1;return-1===_?y.length-1:_},getRuler:function(){var _,w,p=this,g=p._getIndexScale(),y=[];for(_=0,w=p.getMeta().data.length;_<w;++_)y.push(g.getPixelForValue(null,_,p.index));return{pixels:y,start:g._startPixel,end:g._endPixel,stackCount:p.getStackCount(),scale:g}},calculateBarValuePixels:function(p,g,y){var dt,Pt,Gt,Zt,Ae,ge,Ve,_=this,w=_.chart,C=_._getValueScale(),T=C.isHorizontal(),O=w.data.datasets,P=C._getMatchingVisibleMetas(_._type),L=C._parseValue(O[p].data[g]),E=y.minBarLength,H=C.options.stacked,J=_.getMeta().stack,et=void 0===L.start?0:L.max>=0&&L.min>=0?L.min:L.max,at=void 0===L.start?L.end:L.max>=0&&L.min>=0?L.max-L.min:L.min-L.max,it=P.length;if(H||void 0===H&&void 0!==J)for(dt=0;dt<it&&(Pt=P[dt]).index!==p;++dt)Pt.stack===J&&(Gt=void 0===(Ve=C._parseValue(O[Pt.index].data[g])).start?Ve.end:Ve.min>=0&&Ve.max>=0?Ve.max:Ve.min,(L.min<0&&Gt<0||L.max>=0&&Gt>0)&&(et+=Gt));return Zt=C.getPixelForValue(et),ge=(Ae=C.getPixelForValue(et+at))-Zt,void 0!==E&&Math.abs(ge)<E&&(ge=E,Ae=at>=0&&!T||at<0&&T?Zt-E:Zt+E),{size:ge,base:Zt,head:Ae,center:Ae+ge/2}},calculateBarIndexPixels:function(p,g,y,_){var w=this,C="flex"===_.barThickness?yu(g,y,_):_s(g,y,_),T=w.getStackIndex(p,w.getMeta().stack),O=C.start+C.chunk*T+C.chunk/2,P=Math.min(bs(_.maxBarThickness,1/0),C.chunk*C.ratio);return{base:O-P/2,head:O+P/2,center:O,size:P}},draw:function(){var p=this,g=p.chart,y=p._getValueScale(),_=p.getMeta().data,w=p.getDataset(),C=_.length,T=0;for(G.canvas.clipArea(g.ctx,g.chartArea);T<C;++T){var O=y._parseValue(w.data[T]);!isNaN(O.min)&&!isNaN(O.max)&&_[T].draw()}G.canvas.unclipArea(g.ctx)},_resolveDataElementOptions:function(){var p=this,g=G.extend({},Ba.prototype._resolveDataElementOptions.apply(p,arguments)),y=p._getIndexScale().options,_=p._getValueScale().options;return g.barPercentage=bs(y.barPercentage,g.barPercentage),g.barThickness=bs(y.barThickness,g.barThickness),g.categoryPercentage=bs(y.categoryPercentage,g.categoryPercentage),g.maxBarThickness=bs(y.maxBarThickness,g.maxBarThickness),g.minBarLength=bs(_.minBarLength,g.minBarLength),g}}),af=G.valueOrDefault,fS=G.options.resolve;oe._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(p,g){var y=g.datasets[p.datasetIndex].label||"",_=g.datasets[p.datasetIndex].data[p.index];return y+": ("+p.xLabel+", "+p.yLabel+", "+_.r+")"}}}});var xs=Ba.extend({dataElementType:ma.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(p){var g=this,_=g.getMeta().data;G.each(_,function(w,C){g.updateElement(w,C,p)})},updateElement:function(p,g,y){var _=this,w=_.getMeta(),C=p.custom||{},T=_.getScaleForId(w.xAxisID),O=_.getScaleForId(w.yAxisID),P=_._resolveDataElementOptions(p,g),L=_.getDataset().data[g],E=_.index,H=y?T.getPixelForDecimal(.5):T.getPixelForValue("object"==typeof L?L:NaN,g,E),J=y?O.getBasePixel():O.getPixelForValue(L,g,E);p._xScale=T,p._yScale=O,p._options=P,p._datasetIndex=E,p._index=g,p._model={backgroundColor:P.backgroundColor,borderColor:P.borderColor,borderWidth:P.borderWidth,hitRadius:P.hitRadius,pointStyle:P.pointStyle,rotation:P.rotation,radius:y?0:P.radius,skip:C.skip||isNaN(H)||isNaN(J),x:H,y:J},p.pivot()},setHoverStyle:function(p){var g=p._model,y=p._options,_=G.getHoverColor;p.$previousStyle={backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,radius:g.radius},g.backgroundColor=af(y.hoverBackgroundColor,_(y.backgroundColor)),g.borderColor=af(y.hoverBorderColor,_(y.borderColor)),g.borderWidth=af(y.hoverBorderWidth,y.borderWidth),g.radius=y.radius+y.hoverRadius},_resolveDataElementOptions:function(p,g){var y=this,_=y.chart,w=y.getDataset(),C=p.custom||{},T=w.data[g]||{},O=Ba.prototype._resolveDataElementOptions.apply(y,arguments),P={chart:_,dataIndex:g,dataset:w,datasetIndex:y.index};return y._cachedDataOpts===O&&(O=G.extend({},O)),O.radius=fS([C.radius,T.r,y._config.radius,_.options.elements.point.radius],P,g),O}}),yi=G.valueOrDefault,so=Math.PI,Wr=2*so,lo=so/2;oe._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(p){var C,T,O,g=document.createElement("ul"),y=p.data,_=y.datasets,w=y.labels;if(g.setAttribute("class",p.id+"-legend"),_.length)for(C=0,T=_[0].data.length;C<T;++C)(O=g.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=_[0].backgroundColor[C],w[C]&&O.appendChild(document.createTextNode(w[C]));return g.outerHTML},legend:{labels:{generateLabels:function(p){var g=p.data;return g.labels.length&&g.datasets.length?g.labels.map(function(y,_){var w=p.getDatasetMeta(0),C=w.controller.getStyle(_);return{text:y,fillStyle:C.backgroundColor,strokeStyle:C.borderColor,lineWidth:C.borderWidth,hidden:isNaN(g.datasets[0].data[_])||w.data[_].hidden,index:_}}):[]}},onClick:function(p,g){var w,C,T,y=g.index,_=this.chart;for(w=0,C=(_.data.datasets||[]).length;w<C;++w)(T=_.getDatasetMeta(w)).data[y]&&(T.data[y].hidden=!T.data[y].hidden);_.update()}},cutoutPercentage:50,rotation:-lo,circumference:Wr,tooltips:{callbacks:{title:function(){return""},label:function(p,g){var y=g.labels[p.index],_=": "+g.datasets[p.datasetIndex].data[p.index];return G.isArray(y)?(y=y.slice())[0]+=_:y+=_,y}}}});var tc=Ba.extend({dataElementType:ma.Arc,linkScales:G.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroun
1dColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(p){for(var g=0,y=0;y<p;++y)this.chart.isDatasetVisible(y)&&++g;return g},update:function(p){var at,it,dt,Pt,g=this,y=g.chart,_=y.chartArea,w=y.options,C=1,T=1,O=0,P=0,L=g.getMeta(),E=L.data,H=w.cutoutPercentage/100||0,J=w.circumference,et=g._getRingWeight(g.index);if(J<Wr){var Gt=w.rotation%Wr,Zt=(Gt+=Gt>=so?-Wr:Gt<-so?Wr:0)+J,Ae=Math.cos(Gt),ge=Math.sin(Gt),Ve=Math.cos(Zt),Le=Math.sin(Zt),Ke=Gt<=0&&Zt>=0||Zt>=Wr,sn=Gt<=lo&&Zt>=lo||Zt>=Wr+lo,In=Gt<=-lo&&Zt>=-lo||Zt>=so+lo,Cn=Gt===-so||Zt>=so?-1:Math.min(Ae,Ae*H,Ve,Ve*H),Hn=In?-1:Math.min(ge,ge*H,Le,Le*H),Ds=Ke?1:Math.max(Ae,Ae*H,Ve,Ve*H),Ts=sn?1:Math.max(ge,ge*H,Le,Le*H);C=(Ds-Cn)/2,T=(Ts-Hn)/2,O=-(Ds+Cn)/2,P=-(Ts+Hn)/2}for(dt=0,Pt=E.length;dt<Pt;++dt)E[dt]._options=g._resolveDataElementOptions(E[dt],dt);for(y.borderWidth=g.getMaxBorderWidth(),at=(_.right-_.left-y.borderWidth)/C,it=(_.bottom-_.top-y.borderWidth)/T,y.outerRadius=Math.max(Math.min(at,it)/2,0),y.innerRadius=Math.max(y.outerRadius*H,0),y.radiusLength=(y.outerRadius-y.innerRadius)/(g._getVisibleDatasetWeightTotal()||1),y.offsetX=O*y.outerRadius,y.offsetY=P*y.outerRadius,L.total=g.calculateTotal(),g.outerRadius=y.outerRadius-y.radiusLength*g._getRingWeightOffset(g.index),g.innerRadius=Math.max(g.outerRadius-y.radiusLength*et,0),dt=0,Pt=E.length;dt<Pt;++dt)g.updateElement(E[dt],dt,p)},updateElement:function(p,g,y){var _=this,w=_.chart,C=w.chartArea,T=w.options,O=T.animation,P=(C.left+C.right)/2,L=(C.top+C.bottom)/2,E=T.rotation,H=T.rotation,J=_.getDataset(),et=y&&O.animateRotate||p.hidden?0:_.calculateCircumference(J.data[g])*(T.circumference/Wr),at=y&&O.animateScale?0:_.innerRadius,it=y&&O.animateScale?0:_.outerRadius,dt=p._options||{};G.extend(p,{_datasetIndex:_.index,_index:g,_model:{backgroundColor:dt.backgroundColor,borderColor:dt.borderColor,borderWidth:dt.borderWidth,borderAlign:dt.borderAlign,x:P+w.offsetX,y:L+w.offsetY,startAngle:E,endAngle:H,circumference:et,outerRadius:it,innerRadius:at,label:G.valueAtIndexOrDefault(J.label,g,w.data.labels[g])}});var Pt=p._model;(!y||!O.animateRotate)&&(Pt.startAngle=0===g?T.rotation:_.getMeta().data[g-1]._model.endAngle,Pt.endAngle=Pt.startAngle+Pt.circumference),p.pivot()},calculateTotal:function(){var _,p=this.getDataset(),g=this.getMeta(),y=0;return G.each(g.data,function(w,C){_=p.data[C],!isNaN(_)&&!w.hidden&&(y+=Math.abs(_))}),y},calculateCircumference:function(p){var g=this.getMeta().total;return g>0&&!isNaN(p)?Wr*(Math.abs(p)/g):0},getMaxBorderWidth:function(p){var w,C,T,O,P,L,E,H,g=this,y=0,_=g.chart;if(!p)for(w=0,C=_.data.datasets.length;w<C;++w)if(_.isDatasetVisible(w)){p=(T=_.getDatasetMeta(w)).data,w!==g.index&&(P=T.controller);break}if(!p)return 0;for(w=0,C=p.length;w<C;++w)O=p[w],P?(P._configure(),L=P._resolveDataElementOptions(O,w)):L=O._options,"inner"!==L.borderAlign&&(E=L.borderWidth,y=(H=L.hoverBorderWidth)>(y=E>y?E:y)?H:y);return y},setHoverStyle:function(p){var g=p._model,y=p._options,_=G.getHoverColor;p.$previousStyle={backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth},g.backgroundColor=yi(y.hoverBackgroundColor,_(y.backgroundColor)),g.borderColor=yi(y.hoverBorderColor,_(y.borderColor)),g.borderWidth=yi(y.hoverBorderWidth,y.borderWidth)},_getRingWeightOffset:function(p){for(var g=0,y=0;y<p;++y)this.chart.isDatasetVisible(y)&&(g+=this._getRingWeight(y));return g},_getRingWeight:function(p){return Math.max(yi(this.chart.data.datasets[p].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});oe._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),oe._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var gS=Hy.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}
vendor: 18,780 bytes, line 1
1),ja=G.valueOrDefault,vS=G.options.resolve,rf=G.canvas._isPointInArea;function By(p,g){var y=p&&p.options.ticks||{},_=y.reverse,w=void 0===y.min?g:0,C=void 0===y.max?g:0;return{start:_?C:w,end:_?w:C}}function jy(p,g,y){var _=y/2,w=By(p,_),C=By(g,_);return{top:C.end,right:w.end,bottom:C.start,left:w.start}}function AS(p){var g,y,_,w;return G.isObject(p)?(g=p.top,y=p.right,_=p.bottom,w=p.left):g=y=_=w=p,{top:g,right:y,bottom:_,left:w}}oe._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Ss=Ba.extend({datasetElementType:ma.Line,dataElementType:ma.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(p){var P,L,g=this,y=g.getMeta(),_=y.dataset,w=y.data||[],C=g.chart.options,T=g._config,O=g._showLine=ja(T.showLine,C.showLines);for(g._xScale=g.getScaleForId(y.xAxisID),g._yScale=g.getScaleForId(y.yAxisID),O&&(void 0!==T.tension&&void 0===T.lineTension&&(T.lineTension=T.tension),_._scale=g._yScale,_._datasetIndex=g.index,_._children=w,_._model=g._resolveDatasetElementOptions(_),_.pivot()),P=0,L=w.length;P<L;++P)g.updateElement(w[P],P,p);for(O&&0!==_._model.tension&&g.updateBezierControlPoints(),P=0,L=w.length;P<L;++P)w[P].pivot()},updateElement:function(p,g,y){var J,et,_=this,w=_.getMeta(),C=p.custom||{},T=_.getDataset(),O=_.index,P=T.data[g],L=_._xScale,E=_._yScale,H=w.dataset._model,at=_._resolveDataElementOptions(p,g);J=L.getPixelForValue("object"==typeof P?P:NaN,g,O),et=y?E.getBasePixel():_.calculatePointY(P,g,O),p._xScale=L,p._yScale=E,p._options=at,p._datasetIndex=O,p._index=g,p._model={x:J,y:et,skip:C.skip||isNaN(J)||isNaN(et),radius:at.radius,pointStyle:at.pointStyle,rotation:at.rotation,backgroundColor:at.backgroundColor,borderColor:at.borderColor,borderWidth:at.borderWidth,tension:ja(C.tension,H?H.tension:0),steppedLine:!!H&&H.steppedLine,hitRadius:at.hitRadius}},_resolveDatasetElementOptions:function(p){var g=this,y=g._config,_=p.custom||{},w=g.chart.options,C=w.elements.line,T=Ba.prototype._resolveDatasetElementOptions.apply(g,arguments);return T.spanGaps=ja(y.spanGaps,w.spanGaps),T.tension=ja(y.lineTension,C.tension),T.steppedLine=vS([_.steppedLine,y.steppedLine,C.stepped]),T.clip=AS(ja(y.clip,jy(g._xScale,g._yScale,T.borderWidth))),T},calculatePointY:function(p,g,y){var P,L,E,H,J,et,at,_=this,w=_.chart,C=_._yScale,T=0,O=0;if(C.options.stacked){for(J=+C.getRightValue(p),at=(et=w._getSortedVisibleDatasetMetas()).length,P=0;P<at&&(E=et[P]).index!==y;++P)L=w.data.datasets[E.index],"line"===E.type&&E.yAxisID===C.id&&((H=+C.getRightValue(L.data[g]))<0?O+=H||0:T+=H||0);return J<0?C.getPixelForValue(O+J):C.getPixelForValue(T+J)}return C.getPixelForValue(p)},updateBezierControlPoints:function(){var T,O,P,L,p=this,g=p.chart,y=p.getMeta(),_=y.dataset._model,w=g.chartArea,C=y.data||[];function E(H,J,et){return Math.max(Math.min(H,et),J)}if(_.spanGaps&&(C=C.filter(function(H){return!H._model.skip})),"monotone"===_.cubicInterpolationMode)G.splineCurveMonotone(C);else for(T=0,O=C.length;T<O;++T)P=C[T]._model,L=G.splineCurve(G.previousItem(C,T)._model,P,G.nextItem(C,T)._model,_.tension),P.controlPointPreviousX=L.previous.x,P.controlPointPreviousY=L.previous.y,P.controlPointNextX=L.next.x,P.controlPointNextY=L.next.y;if(g.options.elements.line.capBezierPoints)for(T=0,O=C.length;T<O;++T)P=C[T]._model,rf(P,w)&&(T>0&&rf(C[T-1]._model,w)&&(P.controlPointPreviousX=E(P.controlPointPreviousX,w.left,w.right),P.controlPointPreviousY=E(P.controlPointPreviousY,w.top,w.bottom)),T<C.length-1&&rf(C[T+1]._model,w)&&(P.controlPointNextX=E(P.controlPointNextX,w.left,w.right),P.controlPointNextY=E(P.controlPointNextY,w.top,w.bottom)))},draw:function(){var P,p=this,g=p.chart,y=p.getMeta(),_=y.data||[],w=g.chartArea,C=g.canvas,T=0,O=_.length;for(p._showLine&&(P=y.dataset._model.clip,G.canvas.clipArea(g.ctx,{left:!1===P.left?0:w.left-P.left,right:!1===P.right?C.width:w.right+P.right,top:!1===P.top?0:w.top-P.top,bottom:!1===P.bottom?C.height:w.bottom+P.bottom}),y.dataset.draw(),G.canvas.unclipArea(g.ctx));T<O;++T)_[T].draw(w)},setHoverStyle:function(p){var g=p._model,y=p._options,_=G.getHoverColor;p.$previousStyle={backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,radius:g.radius},g.backgroundColor=ja(y.hoverBackgroundColor,_(y.backgroundColor)),g.borderColor=ja(y.hoverBorderColor,_(y.borderColor)),g.borderWidth=ja(y.hoverBorderWidth,y.borderWidth),g.radius=ja(y.hoverRadius,y.radius)}}),yS=G.options.resolve;oe._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(p){var C,T,O,g=document.createElement("ul"),y=p.data,_=y.datasets,w=y.labels;if(g.setAttribute("class",p.id+"-legend"),_.length)for(C=0,T=_[0].data.length;C<T;++C)(O=g.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=_[0].backgroundColor[C],w[C]&&O.appendChild(document.createTextNode(w[C]));return g.outerHTML},legend:{labels:{generateLabels:function(p){var g=p.data;return g.labels.length&&g.datasets.length?g.labels.map(function(y,_){var w=p.getDatasetMeta(0),C=w.controller.getStyle(_);return{text:y,fillStyle:C.backgroundColor,strokeStyle:C.borderColor,lineWidth:C.borderWidth,hidden:isNaN(g.datasets[0].data[_])||w.data[_].hidden,index:_}}):[]}},onClick:function(p,g){var w,C,T,y=g.index,_=this.chart;for(w=0,C=(_.data.datasets||[]).length;w<C;++w)(T=_.getDatasetMeta(w)).data[y].hidden=!T.data[y].hidden;_.update()}},tooltips:{callbacks:{title:function(){return""},label:function(p,g){return g.labels[p.index]+": "+p.yLabel}}}});var bS=Ba.extend({dataElementType:ma.Arc,linkScales:G.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(p){var P,L,E,g=this,y=g.getDataset(),_=g.getMeta(),w=g.chart.options.startAngle||0,C=g._starts=[],T=g._angles=[],O=_.data;for(g._updateRadius(),_.count=g.countVisibleElements(),P=0,L=y.data.length;P<L;P++)C[P]=w,E=g._computeAngle(P),T[P]=E,w+=E;for(P=0,L=O.length;P<L;++P)O[P]._options=g._resolveDataElementOptions(O[P],P),g.updateElement(O[P],P,p)},_updateRadius:function(){var p=this,g=p.chart,y=g.chartArea,_=g.options,w=Math.min(y.right-y.left,y.bottom-y.top);g.outerRadius=Math.max(w/2,0),g.innerRadius=Math.max(_.cutoutPercentage?g.outerRadius/100*_.cutoutPercentage:1,0),g.radiusLength=(g.outerRadius-g.innerRadius)/g.getVisibleDatasetCount(),p.outerRadius=g.outerRadius-g.radiusLength*p.index,p.innerRadius=p.outerRadius-g.radiusLength},updateElement:function(p,g,y){var _=this,w=_.chart,C=_.getDataset(),T=w.options,O=T.animation,P=w.scale,L=w.data.labels,E=P.xCenter,H=P.yCenter,J=T.startAngle,et=p.hidden?0:P.getDistanceFromCenterForValue(C.data[g]),at=_._starts[g],it=at+(p.hidden?0:_._angles[g]),dt=O.animateScale?0:P.getDistanceFromCenterForValue(C.data[g]),Pt=p._options||{};G.extend(p,{_datasetIndex:_.index,_index:g,_scale:P,_model:{backgroundColor:Pt.backgroundColor,borderColor:Pt.borderColor,borderWidth:Pt.borderWidth,borderAlign:Pt.borderAlign,x:E,y:H,innerRadius:0,outerRadius:y?dt:et,startAngle:y&&O.animateRotate?J:at,endAngle:y&&O.animateRotate?J:it,label:G.valueAtIndexOrDefault(L,g,L[g])}}),p.pivot()},countVisibleElements:function(){var p=this.getDataset(),g=this.getMeta(),y=0;return G.each(g.data,function(_,w){!isNaN(p.data[w])&&!_.hidden&&y++}),y},setHoverStyle:function(p){var g=p._model,y=p._options,_=G.getHoverColor,w=G.valueOrDefault;p.$previousStyle={backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth},g.backgroundColor=w(y.hoverBackgroundColor,_(y.backgroundColor)),g.borderColor=w(y.hoverBorderColor,_(y.borderColor)),g.borderWidth=w(y.hoverBorderWidth,y.borderWidth)},_computeAngle:function(p){var g=this,y=this.getMeta().count,_=g.getDataset(),w=g.getMeta();if(isNaN(_.data[p])||w.data[p].hidden)return 0;var C={chart:g.chart,dataIndex:p,dataset:_,datasetIndex:g.index};return yS([g.chart.options.elements.arc.angle,2*Math.PI/y],C,p)}});oe._set("pie",G.clone(oe.doughnut)),oe._set("pie",{cutoutPercentage:0});var _S=tc,aa=G.valueOrDefault;oe._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var xS=Ba.extend({datasetElementType:ma.Line,dataElementType:ma.Point,linkScales:G.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(p){var O,P,g=this,y=g.getMeta(),_=y.dataset,w=y.data||[],C=g.chart.scale,T=g._config;for(void 0!==T.tension&&void 0===T.lineTension&&(T.lineTension=T.tension),_._scale=C,_._datasetIndex=g.index,_._children=w,_._loop=!0,_._model=g._resolveDatasetElementOptions(_),_.pivot(),O=0,P=w.length;O<P;++O)g.updateElement(w[O],O,p);for(g.updateBezierControlPoints(),O=0,P=w.length;O<P;++O)w[O].pivot()},updateElement:function(p,g,y){var _=this,w=p.custom||{},C=_.getDataset(),T=_.chart.scale,O=T.getPointPositionForValue(g,C.data[g]),P=_._resolveDataElementOptions(p,g),L=_.getMeta().dataset._model,E=y?T.xCenter:O.x,H=y?T.yCenter:O.y;p._scale=T,p._options=P,p._datasetIndex=_.index,p._index=g,p._model={x:E,y:H,skip:w.skip||isNaN(E)||isNaN(H),radius:P.radius,pointStyle:P.pointStyle,rotation:P.rotation,backgroundColor:P.backgroundColor,borderColor:P.borderColor,borderWidth:P.borderWidth,tension:aa(w.tension,L?L.tension:0),hitRadius:P.hitRadius}},_resolveDatasetElementOptions:function(){var p=this,g=p._config,y=p.chart.options,_=Ba.prototype._resolveDatasetElementOptions.apply(p,arguments);return _.spanGaps=aa(g.spanGaps,y.spanGaps),_.tension=aa(g.lineTension,y.elements.line.tension),_},updateBezierControlPoints:function(){var w,C,T,O,p=this,g=p.getMeta(),y=p.chart.chartArea,_=g.data||[];function P(L,E,H){return Math.max(Math.min(L,H),E)}for(g.dataset._model.spanGaps&&(_=_.filter(function(L){return!L._model.skip})),w=0,C=_.length;w<C;++w)T=_[w]._model,O=G.splineCurve(G.previousItem(_,w,!0)._model,T,G.nextItem(_,w,!0)._model,T.tension),T.controlPointPreviousX=P(O.previous.x,y.left,y.right),T.controlPointPreviousY=P(O.previous.y,y.top,y.bottom),T.controlPointNextX=P(O.next.x,y.left,y.right),T.controlPointNextY=P(O.next.y,y.top,y.bottom)},setHoverStyle:function(p){var g=p._model,y=p._options,_=G.getHoverColor;p.$previousStyle={backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,radius:g.radius},g.backgroundColor=aa(y.hoverBackgroundColor,_(y.backgroundColor)),g.borderColor=aa(y.hoverBorderColor,_(y.borderColor)),g.borderWidth=aa(y.hoverBorderWidth,y.borderWidth),g.radius=aa(y.hoverRadius,y.radius)}});oe._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(p){return"("+p.xLabel+", "+p.yLabel+")"}}}}),oe._set("global",{datasets:{scatter:{showLine:!1}}});var of={bar:Hy,bubble:xs,doughnut:tc,horizontalBar:gS,line:Ss,polarArea:bS,pie:_S,radar:xS,scatter:Ss};function bi(p,g){return p.native?{x:p.x,y:p.y}:G.getRelativePosition(p,g)}function ec(p,g){var _,w,C,T,O,P,y=p._getSortedVisibleDatasetMetas();for(w=0,T=y.length;w<T;++w)for(C=0,O=(_=y[w].data).length;C<O;++C)(P=_[C])._view.skip||g(P)}function sf(p,g){var y=[];return ec(p,function(_){_.inRange(g.x,g.y)&&y.push(_)}),y}function lf(p,g,y,_){var w=Number.POSITIVE_INFINITY,C=[];return ec(p,function(T){if(!y||T.inRange(g.x,g.y)){var O=T.getCenterPoint(),P=_(g,O);P<w?(C=[T],w=P):P===w&&C.push(T)}}),C}function nc(p){var g=-1!==p.indexOf("x"),y=-1!==p.indexOf("y");return function(_,w){var C=g?Math.abs(_.x-w.x):0,T=y?Math.abs(_.y-w.y):0;return Math.sqrt(Math.pow(C,2)+Math.pow(T,2))}}function cf(p,g,y){var _=bi(g,p);y.axis=y.axis||"x";var w=nc(y.axis),C=y.intersect?sf(p,_):lf(p,_,!1,w),T=[];return C.length?(p._getSortedVisibleDatasetMetas().forEach(function(O){var P=O.data[C[0]._index];P&&!P._view.skip&&T.push(P)}),T):[]}var qn={modes:{single:function(p,g){var y=bi(g,p),_=[];return ec(p,function(w){if(w.inRange(y.x,y.y))return _.push(w),_}),_.slice(0,1)},label:cf,index:cf,dataset:function(p,g,y){var _=bi(g,p);y.axis=y.axis||"xy";var w=nc(y.axis),C=y.intersect?sf(p,_):lf(p,_,!1,w);return C.length>0&&(C=p.getDatasetMeta(C[0]._datasetIndex).data),C},"x-axis":function(p,g){return cf(p,g,{intersect:!1})},point:function(p,g){return sf(p,bi(g,p))},nearest:function(p,g,y){var _=bi(g,p);y.axis=y.axis||"xy";var w=nc(y.axis);return lf(p,_,y.intersect,w)},x:function(p,g,y){var _=bi(g,p),w=[],C=!1;return ec(p,function(T){T.inXRange(_.x)&&w.push(T),T.inRange(_.x,_.y)&&(C=!0)}),y.intersect&&!C&&(w=[]),w},y:function(p,g,y){var _=bi(g,p),w=[],C=!1;return ec(p,function(T){T.inYRange(_.y)&&w.push(T),T.inRange(_.x,_.y)&&(C=!0)}),y.intersect&&!C&&(w=[]),w}}},df=G.extend;function ac(p,g){return G.where(p,function(y){return y.pos===g})}function rc(p,g){return p.sort(function(y,_){var w=g?_:y,C=g?y:_;return w.weight===C.weight?w.index-C.index:w.weight-C.weight})}function Gy(p){var y,_,w,g=[];for(y=0,_=(p||[]).length;y<_;++y)w=p[y],g.push({index:y,box:w,pos:w.position,horizontal:w.isHorizontal(),weight:w.weight});return g}function wS(p,g){var y,_,w;for(y=0,_=p.length;y<_;++y)(w=p[y]).width=w.horizontal?w.box.fullWidth&&g.availableWidth:g.vBoxMaxWidth,w.height=w.horizontal&&g.hBoxMaxHeight}function Ky(p){var g=Gy(p),y=rc(ac(g,"left"),!0),_=rc(ac(g,"right")),w=rc(ac(g,"top"),!0),C=rc(ac(g,"bottom"));return{leftAndTop:y.concat(w),rightAndBottom:_.concat(C),chartArea:ac(g,"chartArea"),vertical:y.concat(_),horizontal:w.concat(C)}}function Wy(p,g,y,_){return Math.max(p[y],g[y])+Math.max(p[_],g[_])}function kS(p,g,y){var C,T,_=y.box,w=p.maxPadding;if(y.size&&(p[y.pos]-=y.size),y.size=y.horizontal?_.height:_.width,p[y.pos]+=y.size,_.getPadding){var O=_.getPadding();w.top=Math.max(w.top,O.top),w.left=Math.max(w.left,O.left),w.bottom=Math.max(w.bottom,O.bottom),w.right=Math.max(w.right,O.right)}if(C=g.outerWidth-Wy(w,p,"left","right"),T=g.outerHeight-Wy(w,p,"top","bottom"),C!==p.w||T!==p.h){p.w=C,p.h=T;var P=y.horizontal?[C,p.w]:[T,p.h];return!(P[0]===P[1]||isNaN(P[0])&&isNaN(P[1]))}}function bu(p){var g=p.maxPadding;function y(_){var w=Math.max(g[_]-p[_],0);return p[_]+=w,w}p.y+=y("top"),p.x+=y("left"),y("right"),y("bottom")}function CS(p,g){var y=g.maxPadding;function _(w){var C={left:0,top:0,right:0,bottom:0};return w.forEach(function(T){C[T]=Math.max(g[T],y[T])}),C}return _(p?["left","right"]:["top","bottom"])}function _u(p,g,y){var w,C,T,O,P,L,_=[];for(w=0,C=p.length;w<C;++w)(O=(T=p[w]).box).update(T.width||g.w,T.height||g.h,CS(T.horizontal,g)),kS(g,y,T)&&(L=!0,_.length&&(P=!0)),O.fullWidth||_.push(T);return P&&_u(_,g,y)||L}function Jy(p,g,y){var T,O,P,L,_=y.padding,w=g.x,C=g.y;for(T=0,O=p.length;T<O;++T)L=(P=p[T]).box,P.horizontal?(L.left=L.fullWidth?_.left:g.left,L.right=L.fullWidth?y.outerWidth-_.right:g.left+g.w,L.top=C,L.bottom=C+L.height,L.width=L.right-L.left,C=L.bottom):(L.left=w,L.right=w+L.width,L.top=g.top,L.bottom=g.top+g.h,L.height=L.bottom-L.top,w=L.right);g.x=w,g.y=C}oe._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var Ia={defaults:{},addBox:function(p,g){p.boxes||(p.boxes=[]),g.fullWidth=g.fullWidth||!1,g.position=g.position||"top",g.weight=g.weight||0,g._layers=g._layers||function(){return[{z:0,draw:function(){g.draw.apply(g,arguments)}}]},p.boxes.push(g)},removeBox:function(p,g){var y=p.boxes?p.boxes.indexOf(g):-1;-1!==y&&p.boxes.splice(y,1)},configure:function(p,g,y){for(var T,_=["fullWidth","position","weight"],w=_.length,C=0;C<w;++C)T=_[C],y.hasOwnProperty(T)&&(g[T]=y[T])},update:function(p,g,y){if(p){var _=p.options.layout||{},w=G.options.toPadding(_.padding),C=g-w.width,T=y-w.height,O=Ky(p.boxes),P=O.vertical,L=O.horizontal,E=Object.freeze({outerWidth:g,outerHeight:y,padding:w,availableWidth:C,vBoxMaxWidth:C/2/P.length,hBoxMaxHeight:T/2}),H=df({maxPadding:df({},w),w:C,h:T,x:w.left,y:w.top},w);wS(P.concat(L),E),_u(P,H,E),_u(L,H,E)&&_u(P,H,E),bu(H),Jy(O.leftAndTop,H,E),H.x+=H.w,H.y+=H.h,Jy(O.rightAndBottom,H,E),p.chartArea={left:H.left,top:H.top,right:H.left+H.w,bottom:H.top+H.h},G.each(O.chartArea,function(J){var et=J.box;df(et,p.chartArea),et.update(H.w,H.h)})}}},DS={acquireContext:function(p){return p&&p.canvas&&(p=p.canvas),p&&p.getContext("2d")||null}},TS="/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n",PS=xt(Object.freeze({__proto__:null,default:TS})),ra="$chartjs",pf="chartjs-",hf=pf+"size-monitor",Zy=pf+"render-monitor",IS=pf+"render-animation",Xy=["animationstart","webkitAnimationStart"],MS={touchstart:"mousedown",touchmove:"mou
1semove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function Yy(p,g){var y=G.getStyle(p,g),_=y&&y.match(/^(\d+)(\.\d+)?px$/);return _?Number(_[1]):void 0}function OS(p,g){var y=p.style,_=p.getAttribute("height"),w=p.getAttribute("width");if(p[ra]={initial:{height:_,width:w,style:{display:y.display,height:y.height,width:y.width}}},y.display=y.display||"block",null===w||""===w){var C=Yy(p,"width");void 0!==C&&(p.width=C)}if(null===_||""===_)if(""===p.style.height)p.height=p.width/(g.options.aspectRatio||2);else{var T=Yy(p,"height");void 0!==C&&(p.height=T)}return p}var Qy=!!function(){var p=!1;try{var g=Object.defineProperty({},"passive",{get:function(){p=!0}});window.addEventListener("e",null,g)}catch{}return p}()&&{passive:!0};function ic(p,g,y){p.addEventListener(g,y,Qy)}function mf(p,g,y){p.removeEventListener(g,y,Qy)}function ff(p,g,y,_,w){return{type:p,chart:g,native:w||null,x:void 0!==y?y:null,y:void 0!==_?_:null}}function LS(p,g){var y=MS[p.type]||p.type,_=G.getRelativePosition(p,g);return ff(y,g,_.x,_.y,p)}function NS(p,g){var y=!1,_=[];return function(){_=Array.prototype.slice.call(arguments),g=g||this,y||(y=!0,G.requestAnimFrame.call(window,function(){y=!1,p.apply(g,_)}))}}function oc(p){var g=document.createElement("div");return g.className=p||"",g}function US(p){var g=1e6,y=oc(hf),_=oc(hf+"-expand"),w=oc(hf+"-shrink");_.appendChild(oc()),w.appendChild(oc()),y.appendChild(_),y.appendChild(w),y._reset=function(){_.scrollLeft=g,_.scrollTop=g,w.scrollLeft=g,w.scrollTop=g};var C=function(){y._reset(),p()};return ic(_,"scroll",C.bind(_,"expand")),ic(w,"scroll",C.bind(w,"shrink")),y}function FS(p,g){var y=p[ra]||(p[ra]={}),_=y.renderProxy=function(w){w.animationName===IS&&g()};G.each(Xy,function(w){ic(p,w,_)}),y.reflow=!!p.offsetParent,p.classList.add(Zy)}function VS(p){var g=p[ra]||{},y=g.renderProxy;y&&(G.each(Xy,function(_){mf(p,_,y)}),delete g.renderProxy),p.classList.remove(Zy)}function zS(p,g,y){var _=p[ra]||(p[ra]={}),w=_.resizer=US(NS(function(){if(_.resizer){var C=y.options.maintainAspectRatio&&p.parentNode,T=C?C.clientWidth:0;g(ff("resize",y)),C&&C.clientWidth<T&&y.canvas&&g(ff("resize",y))}}));FS(p,function(){if(_.resizer){var C=p.parentNode;C&&C!==w.parentNode&&C.insertBefore(w,C.firstChild),w._reset()}})}function ES(p){var g=p[ra]||{},y=g.resizer;delete g.resizer,VS(p),y&&y.parentNode&&y.parentNode.removeChild(y)}function qS(p,g){var y=p[ra]||(p[ra]={});if(!y.containsStyles){y.containsStyles=!0,g="/* Chart.js */\n"+g;var _=document.createElement("style");_.setAttribute("type","text/css"),_.appendChild(document.createTextNode(g)),p.appendChild(_)}}var on={disableCSSInjection:!1,_enabled:typeof window<"u"&&typeof document<"u",_ensureLoaded:function(p){if(!this.disableCSSInjection){var g=p.getRootNode?p.getRootNode():document;qS(g.host?g:document.head,PS)}},acquireContext:function(p,g){"string"==typeof p?p=document.getElementById(p):p.length&&(p=p[0]),p&&p.canvas&&(p=p.canvas);var y=p&&p.getContext&&p.getContext("2d");return y&&y.canvas===p?(this._ensureLoaded(p),OS(p,g),y):null},releaseContext:function(p){var g=p.canvas;if(g[ra]){var y=g[ra].initial;["height","width"].forEach(function(_){var w=y[_];G.isNullOrUndef(w)?g.removeAttribute(_):g.setAttribute(_,w)}),G.each(y.style||{},function(_,w){g.style[w]=_}),g.width=g.width,delete g[ra]}},addEventListener:function(p,g,y){var _=p.canvas;if("resize"!==g){var w=y[ra]||(y[ra]={});ic(_,g,(w.proxies||(w.proxies={}))[p.id+"_"+g]=function(O){y(LS(O,p))})}else zS(_,y,p)},removeEventListener:function(p,g,y){var _=p.canvas;if("resize"!==g){var T=((y[ra]||{}).proxies||{})[p.id+"_"+g];!T||mf(_,g,T)}else ES(_)}};G.addEvent=ic,G.removeEvent=mf;var HS=on._enabled?on:DS,ws=G.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},HS);oe._set("global",{plugins:{}});var Ye={_plugins:[],_cacheId:0,register:function(p){var g=this._plugins;[].concat(p).forEach(function(y){-1===g.indexOf(y)&&g.push(y)}),this._cacheId++},unregister:function(p){var g=this._plugins;
vendor: 84,681 bytes, line 1
1[].concat(p).forEach(function(y){var _=g.indexOf(y);-1!==_&&g.splice(_,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(p,g,y){var C,T,O,P,L,_=this.descriptors(p),w=_.length;for(C=0;C<w;++C)if("function"==typeof(L=(O=(T=_[C]).plugin)[g])&&((P=[p].concat(y||[])).push(T.options),!1===L.apply(O,P)))return!1;return!0},descriptors:function(p){var g=p.$plugins||(p.$plugins={});if(g.id===this._cacheId)return g.descriptors;var y=[],_=[],w=p&&p.config||{},C=w.options&&w.options.plugins||{};return this._plugins.concat(w.plugins||[]).forEach(function(T){if(-1===y.indexOf(T)){var P=T.id,L=C[P];!1!==L&&(!0===L&&(L=G.clone(oe.global.plugins[P])),y.push(T),_.push({plugin:T,options:L||{}}))}}),g.descriptors=_,g.id=this._cacheId,_},_invalidate:function(p){delete p.$plugins}},_i={constructors:{},defaults:{},registerScaleType:function(p,g,y){this.constructors[p]=g,this.defaults[p]=G.clone(y)},getScaleConstructor:function(p){return this.constructors.hasOwnProperty(p)?this.constructors[p]:void 0},getScaleDefaults:function(p){return this.defaults.hasOwnProperty(p)?G.merge(Object.create(null),[oe.scale,this.defaults[p]]):{}},updateScaleDefaults:function(p,g){var y=this;y.defaults.hasOwnProperty(p)&&(y.defaults[p]=G.extend(y.defaults[p],g))},addScalesToLayout:function(p){G.each(p.scales,function(g){g.fullWidth=g.options.fullWidth,g.position=g.options.position,g.weight=g.options.weight,Ia.addBox(p,g)})}},yr=G.valueOrDefault,co=G.rtl.getRtlAdapter;oe._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:G.noop,title:function(p,g){var y="",_=g.labels,w=_?_.length:0;if(p.length>0){var C=p[0];C.label?y=C.label:C.xLabel?y=C.xLabel:w>0&&C.index<w&&(y=_[C.index])}return y},afterTitle:G.noop,beforeBody:G.noop,beforeLabel:G.noop,label:function(p,g){var y=g.datasets[p.datasetIndex].label||"";return y&&(y+=": "),G.isNullOrUndef(p.value)?y+=p.yLabel:y+=p.value,y},labelColor:function(p,g){var w=g.getDatasetMeta(p.datasetIndex).data[p.index]._view;return{borderColor:w.borderColor,backgroundColor:w.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:G.noop,afterBody:G.noop,beforeFooter:G.noop,footer:G.noop,afterFooter:G.noop}}});var $y={average:function(p){if(!p.length)return!1;var g,y,_=0,w=0,C=0;for(g=0,y=p.length;g<y;++g){var T=p[g];if(T&&T.hasValue()){var O=T.tooltipPosition();_+=O.x,w+=O.y,++C}}return{x:_/C,y:w/C}},nearest:function(p,g){var C,T,O,y=g.x,_=g.y,w=Number.POSITIVE_INFINITY;for(C=0,T=p.length;C<T;++C){var P=p[C];if(P&&P.hasValue()){var L=P.getCenterPoint(),E=G.distanceBetweenPoints(g,L);E<w&&(w=E,O=P)}}if(O){var H=O.tooltipPosition();y=H.x,_=H.y}return{x:y,y:_}}};function Ga(p,g){return g&&(G.isArray(g)?Array.prototype.push.apply(p,g):p.push(g)),p}function Jr(p){return("string"==typeof p||p instanceof String)&&p.indexOf("\n")>-1?p.split("\n"):p}function ks(p){var g=p._xScale,y=p._yScale||p._scale,_=p._index,w=p._datasetIndex,C=p._chart.getDatasetMeta(w).controller,T=C._getIndexScale(),O=C._getValueScale();return{xLabel:g?g.getLabelForIndex(_,w):"",yLabel:y?y.getLabelForIndex(_,w):"",label:T?""+T.getLabelForIndex(_,w):"",value:O?""+O.getLabelForIndex(_,w):"",index:_,datasetIndex:w,x:p._model.x,y:p._model.y}}function gf(p){var g=oe.global;return{xPadding:p.xPadding,yPadding:p.yPadding,xAlign:p.xAlign,yAlign:p.yAlign,rtl:p.rtl,textDirection:p.textDirection,bodyFontColor:p.bodyFontColor,_bodyFontFamily:yr(p.bodyFontFamily,g.defaultFontFamily),_bodyFontStyle:yr(p.bodyFontStyle,g.defaultFontStyle),_bodyAlign:p.bodyAlign,bodyFontSize:yr(p.bodyFontSize,g.defaultFontSize),bodySpacing:p.bodySpacing,titleFontColor:p.titleFontColor,_titleFontFamily:yr(p.titleFontFamily,g.defaultFontFamily),_titleFontStyle:yr(p.titleFontStyle,g.defaultFontStyle),titleFontSize:yr(p.titleFontSize,g.defaultFontSize),_titleAlign:p.titleAlign,titleSpacing:p.titleSpacing,titleMarginBottom:p.titleMarginBottom,footerFontColor:p.footerFontColor,_footerFontFamily:yr(p.footerFontFamily,g.defaultFontFamily),_footerFontStyle:yr(p.footerFontStyle,g.defaultFontStyle),footerFontSize:yr(p.footerFontSize,g.defaultFontSize),_footerAlign:p.footerAlign,footerSpacing:p.footerSpacing,footerMarginTop:p.footerMarginTop,caretSize:p.caretSize,cornerRadius:p.cornerRadius,backgroundColor:p.backgroundColor,opacity:0,legendColorBackground:p.multiKeyBackground,displayColors:p.displayColors,borderColor:p.borderColor,borderWidth:p.borderWidth}}function BS(p,g){var y=p._chart.ctx,_=2*g.yPadding,w=0,C=g.body,T=C.reduce(function(at,it){return at+it.before.length+it.lines.length+it.after.length},0);T+=g.beforeBody.length+g.afterBody.length;var O=g.title.length,P=g.footer.length,L=g.titleFontSize,E=g.bodyFontSize,H=g.footerFontSize;_+=O*L,_+=O?(O-1)*g.titleSpacing:0,_+=O?g.titleMarginBottom:0,_+=T*E,_+=T?(T-1)*g.bodySpacing:0,_+=P?g.footerMarginTop:0,_+=P*H,_+=P?(P-1)*g.footerSpacing:0;var J=0,et=function(at){w=Math.max(w,y.measureText(at).width+J)};return y.font=G.fontString(L,g._titleFontStyle,g._titleFontFamily),G.each(g.title,et),y.font=G.fontString(E,g._bodyFontStyle,g._bodyFontFamily),G.each(g.beforeBody.concat(g.afterBody),et),J=g.displayColors?E+2:0,G.each(C,function(at){G.each(at.before,et),G.each(at.lines,et),G.each(at.after,et)}),J=0,y.font=G.fontString(H,g._footerFontStyle,g._footerFontFamily),G.each(g.footer,et),{width:w+=2*g.xPadding,height:_}}function tb(p,g){var y=p._model,_=p._chart,w=p._chart.chartArea,C="center",T="center";y.y<g.height?T="top":y.y>_.height-g.height&&(T="bottom");var O,P,L,E,H,J=(w.left+w.right)/2,et=(w.top+w.bottom)/2;"center"===T?(O=function(it){return it<=J},P=function(it){return it>J}):(O=function(it){return it<=g.width/2},P=function(it){return it>=_.width-g.width/2}),L=function(it){return it+g.width+y.caretSize+y.caretPadding>_.width},E=function(it){return it-g.width-y.caretSize-y.caretPadding<0},H=function(it){return it<=et?"top":"bottom"},O(y.x)?(C="left",L(y.x)&&(C="center",T=H(y.y))):P(y.x)&&(C="right",E(y.x)&&(C="center",T=H(y.y)));var at=p._options;return{xAlign:at.xAlign?at.xAlign:C,yAlign:at.yAlign?at.yAlign:T}}function jS(p,g,y,_){var w=p.x,C=p.y,T=p.caretSize,O=p.caretPadding,P=p.cornerRadius,L=y.xAlign,E=y.yAlign,H=T+O,J=P+O;return"right"===L?w-=g.width:"center"===L&&((w-=g.width/2)+g.width>_.width&&(w=_.width-g.width),w<0&&(w=0)),"top"===E?C+=H:C-="bottom"===E?g.height+H:g.height/2,"center"===E?"left"===L?w+=H:"right"===L&&(w-=H):"left"===L?w-=J:"right"===L&&(w+=J),{x:w,y:C}}function xu(p,g){return"center"===g?p.x+p.width/2:"right"===g?p.x+p.width-p.xPadding:p.x+p.xPadding}function eb(p){return Ga([],Jr(p))}var nb=vr.extend({initialize:function(){this._model=gf(this._options),this._lastActive=[]},getTitle:function(){var p=this,y=p._options.callbacks,_=y.beforeTitle.apply(p,arguments),w=y.title.apply(p,arguments),C=y.afterTitle.apply(p,arguments),T=[];return T=Ga(T,Jr(_)),T=Ga(T,Jr(w)),T=Ga(T,Jr(C))},getBeforeBody:function(){return eb(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(p,g){var y=this,_=y._options.callbacks,w=[];return G.each(p,function(C){var T={before:[],lines:[],after:[]};Ga(T.before,Jr(_.beforeLabel.call(y,C,g))),Ga(T.lines,_.label.call(y,C,g)),Ga(T.after,Jr(_.afterLabel.call(y,C,g))),w.push(T)}),w},getAfterBody:function(){return eb(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var p=this,g=p._options.callbacks,y=g.beforeFooter.apply(p,arguments),_=g.footer.apply(p,arguments),w=g.afterFooter.apply(p,arguments),C=[];return C=Ga(C,Jr(y)),C=Ga(C,Jr(_)),C=Ga(C,Jr(w))},update:function(p){var H,J,g=this,y=g._options,_=g._model,w=g._model=gf(y),C=g._active,T=g._data,O={xAlign:_.xAlign,yAlign:_.yAlign},P={x:_.x,y:_.y},L={width:_.width,height:_.height},E={x:_.caretX,y:_.caretY};if(C.length){w.opacity=1;var et=[],at=[];E=$y[y.position].call(g,C,g._eventPosition);var it=[];for(H=0,J=C.length;H<J;++H)it.push(ks(C[H]));y.filter&&(it=it.filter(function(dt){return y.filter(dt,T)})),y.itemSort&&(it=it.sort(function(dt,Pt){return y.itemSort(dt,Pt,T)})),G.each(it,function(dt){et.push(y.callbacks.labelColor.call(g,dt,g._chart)),at.push(y.callbacks.labelTextColor.call(g,dt,g._chart))}),w.title=g.getTitle(it,T),w.beforeBody=g.getBeforeBody(it,T),w.body=g.getBody(it,T),w.afterBody=g.getAfterBody(it,T),w.footer=g.getFooter(it,T),w.x=E.x,w.y=E.y,w.caretPadding=y.caretPadding,w.labelColors=et,w.labelTextColors=at,w.dataPoints=it,P=jS(w,L=BS(this,w),O=tb(this,L),g._chart)}else w.opacity=0;return w.xAlign=O.xAlign,w.yAlign=O.yAlign,w.x=P.x,w.y=P.y,w.width=L.width,w.height=L.height,w.caretX=E.x,w.caretY=E.y,g._model=w,p&&y.custom&&y.custom.call(g,w),g},drawCaret:function(p,g){var y=this._chart.ctx,_=this._view,w=this.getCaretPosition(p,g,_);y.lineTo(w.x1,w.y1),y.lineTo(w.x2,w.y2),y.lineTo(w.x3,w.y3)},getCaretPosition:function(p,g,y){var _,w,C,T,O,P,L=y.caretSize,E=y.cornerRadius,H=y.xAlign,J=y.yAlign,et=p.x,at=p.y,it=g.width,dt=g.height;if("center"===J)O=at+dt/2,"left"===H?(w=(_=et)-L,C=_,T=O+L,P=O-L):(w=(_=et+it)+L,C=_,T=O-L,P=O+L);else if("left"===H?(_=(w=et+E+L)-L,C=w+L):"right"===H?(_=(w=et+it-E-L)-L,C=w+L):(_=(w=y.caretX)-L,C=w+L),"top"===J)O=(T=at)-L,P=T;else{O=(T=at+dt)+L,P=T;var Pt=C;C=_,_=Pt}return{x1:_,x2:w,x3:C,y1:T,y2:O,y3:P}},drawTitle:function(p,g,y){var C,T,O,_=g.title,w=_.length;if(w){var P=co(g.rtl,g.x,g.width);for(p.x=xu(g,g._titleAlign),y.textAlign=P.textAlign(g._titleAlign),y.textBaseline="middle",C=g.titleFontSize,T=g.titleSpacing,y.fillStyle=g.titleFontColor,y.font=G.fontString(C,g._titleFontStyle,g._titleFontFamily),O=0;O<w;++O)y.fillText(_[O],P.x(p.x),p.y+C/2),p.y+=C+T,O+1===w&&(p.y+=g.titleMarginBottom-T)}},drawBody:function(p,g,y){var J,et,at,it,dt,Pt,Gt,Zt,_=g.bodyFontSize,w=g.bodySpacing,C=g._bodyAlign,T=g.body,O=g.displayColors,P=0,L=O?xu(g,"left"):0,E=co(g.rtl,g.x,g.width),H=function(Ve){y.fillText(Ve,E.x(p.x+P),p.y+_/2),p.y+=_+w},Ae=E.textAlign(C);for(y.textAlign=C,y.textBaseline="middle",y.font=G.fontString(_,g._bodyFontStyle,g._bodyFontFamily),p.x=xu(g,Ae),y.fillStyle=g.bodyFontColor,G.each(g.beforeBody,H),P=O&&"right"!==Ae?"center"===C?_/2+1:_+2:0,dt=0,Gt=T.length;dt<Gt;++dt){for(J=T[dt],et=g.labelTextColors[dt],at=g.labelColors[dt],y.fillStyle=et,G.each(J.before,H),Pt=0,Zt=(it=J.lines).length;Pt<Zt;++Pt){if(O){var ge=E.x(L);y.fillStyle=g.legendColorBackground,y.fillRect(E.leftForLtr(ge,_),p.y,_,_),y.lineWidth=1,y.strokeStyle=at.borderColor,y.strokeRect(E.leftForLtr(ge,_),p.y,_,_),y.fillStyle=at.backgroundColor,y.fillRect(E.leftForLtr(E.xPlus(ge,1),_-2),p.y+1,_-2,_-2),y.fillStyle=et}H(it[Pt])}G.each(J.after,H)}P=0,G.each(g.afterBody,H),p.y-=w},drawFooter:function(p,g,y){var C,T,_=g.footer,w=_.length;if(w){var O=co(g.rtl,g.x,g.width);for(p.x=xu(g,g._footerAlign),p.y+=g.footerMarginTop,y.textAlign=O.textAlign(g._footerAlign),y.textBaseline="middle",C=g.footerFontSize,y.fillStyle=g.footerFontColor,y.font=G.fontString(C,g._footerFontStyle,g._footerFontFamily),T=0;T<w;++T)y.fillText(_[T],O.x(p.x),p.y+C/2),p.y+=C+g.footerSpacing}},drawBackground:function(p,g,y,_){y.fillStyle=g.backgroundColor,y.strokeStyle=g.borderColor,y.lineWidth=g.borderWidth;var w=g.xAlign,C=g.yAlign,T=p.x,O=p.y,P=_.width,L=_.height,E=g.cornerRadius;y.beginPath(),y.moveTo(T+E,O),"top"===C&&this.drawCaret(p,_),y.lineTo(T+P-E,O),y.quadraticCurveTo(T+P,O,T+P,O+E),"center"===C&&"right"===w&&this.drawCaret(p,_),y.lineTo(T+P,O+L-E),y.quadraticCurveTo(T+P,O+L,T+P-E,O+L),"bottom"===C&&this.drawCaret(p,_),y.lineTo(T+E,O+L),y.quadraticCurveTo(T,O+L,T,O+L-E),"center"===C&&"left"===w&&this.drawCaret(p,_),y.lineTo(T,O+E),y.quadraticCurveTo(T,O,T+E,O),y.closePath(),y.fill(),g.borderWidth>0&&y.stroke()},draw:function(){var p=this._chart.ctx,g=this._view;if(0!==g.opacity){var y={width:g.width,height:g.height},_={x:g.x,y:g.y},w=Math.abs(g.opacity<.001)?0:g.opacity,C=g.title.length||g.beforeBody.length||g.body.length||g.afterBody.length||g.footer.length;this._options.enabled&&C&&(p.save(),p.globalAlpha=w,this.drawBackground(_,g,p,y),_.y+=g.yPadding,G.rtl.overrideTextDirection(p,g.textDirection),this.drawTitle(_,g,p),this.drawBody(_,g,p),this.drawFooter(_,g,p),G.rtl.restoreTextDirection(p,g.textDirection),p.restore())}},handleEvent:function(p){var g=this,y=g._options,_=!1;return g._lastActive=g._lastActive||[],"mouseout"===p.type?g._active=[]:(g._active=g._chart.getElementsAtEventForMode(p,y.mode,y),y.reverse&&g._active.reverse()),(_=!G.arrayEquals(g._active,g._lastActive))&&(g._lastActive=g._active,(y.enabled||y.custom)&&(g._eventPosition={x:p.x,y:p.y},g.update(!0),g.pivot())),_}}),GS=$y,vf=nb;vf.positioners=GS;var sc=G.valueOrDefault;function ab(){return G.merge(Object.create(null),[].slice.call(arguments),{merger:function(p,g,y,_){if("xAxes"===p||"yAxes"===p){var C,T,O,w=y[p].length;for(g[p]||(g[p]=[]),C=0;C<w;++C)O=y[p][C],T=sc(O.type,"xAxes"===p?"category":"linear"),C>=g[p].length&&g[p].push({}),!g[p][C].type||O.type&&O.type!==g[p][C].type?G.merge(g[p][C],[_i.getScaleDefaults(T),O]):G.merge(g[p][C],O)}else G._merger(p,g,y,_)}})}function Su(){return G.merge(Object.create(null),[].slice.call(arguments),{merger:function(p,g,y,_){var w=g[p]||Object.create(null),C=y[p];"scales"===p?g[p]=ab(w,C):"scale"===p?g[p]=G.merge(w,[_i.getScaleDefaults(C.type),C]):G._merger(p,g,y,_)}})}function KS(p){var g=(p=p||Object.create(null)).data=p.data||{};return g.datasets=g.datasets||[],g.labels=g.labels||[],p.options=Su(oe.global,oe[p.type],p.options||{}),p}function WS(p){var g=p.options;G.each(p.scales,function(y){Ia.removeBox(p,y)}),g=Su(oe.global,oe[p.config.type],g),p.options=p.config.options=g,p.ensureScalesHaveIDs(),p.buildOrUpdateScales(),p.tooltip._options=g.tooltips,p.tooltip.initialize()}function rb(p,g,y){var _,w=function(C){return C.id===_};do{_=g+y++}while(G.findIndex(p,w)>=0);return _}function ib(p){return"top"===p||"bottom"===p}function ob(p,g){return function(y,_){return y[p]===_[p]?y[g]-_[g]:y[p]-_[p]}}oe._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var xi=function(p,g){return this.construct(p,g),this};G.extend(xi.prototype,{construct:function(p,g){var y=this;g=KS(g);var _=ws.acquireContext(p,g),w=_&&_.canvas,C=w&&w.height,T=w&&w.width;y.id=G.uid(),y.ctx=_,y.canvas=w,y.config=g,y.width=T,y.height=C,y.aspectRatio=C?T/C:null,y.options=g.options,y._bufferedRender=!1,y._layers=[],y.chart=y,y.controller=y,xi.instances[y.id]=y,Object.defineProperty(y,"data",{get:function(){return y.config.data},set:function(O){y.config.data=O}}),_&&w?(y.initialize(),y.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var p=this;return Ye.notify(p,"beforeInit"),G.retinaScale(p,p.options.devicePixelRatio),p.bindEvents(),p.options.responsive&&p.resize(!0),p.initToolTip(),Ye.notify(p,"afterInit"),p},clear:function(){return G.canvas.clear(this),this},stop:function(){return Gr.cancelAnimation(this),this},resize:function(p){var g=this,y=g.options,_=g.canvas,w=y.maintainAspectRatio&&g.aspectRatio||null,C=Math.max(0,Math.floor(G.getMaximumWidth(_))),T=Math.max(0,Math.floor(w?C/w:G.getMaximumHeight(_)));if((g.width!==C||g.height!==T)&&(_.width=g.width=C,_.height=g.height=T,_.style.width=C+"px",_.style.height=T+"px",G.retinaScale(g,y.devicePixelRatio),!p)){var O={width:C,height:T};Ye.notify(g,"resize",[O]),y.onResize&&y.onResize(g,O),g.stop(),g.update({duration:y.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var p=this.options,g=p.scales||{},y=p.scale;G.each(g.xAxes,function(_,w){_.id||(_.id=rb(g.xAxes,"x-axis-",w))}),G.each(g.yAxes,function(_,w){_.id||(_.id=rb(g.yAxes,"y-axis-",w))}),y&&(y.id=y.id||"scale")},buildOrUpdateScales:function(){var p=this,g=p.options,y=p.scales||{},_=[],w=Object.keys(y).reduce(function(C,T){return C[T]=!1,C},{});g.scales&&(_=_.concat((g.scales.xAxes||[]).map(function(C){return{options:C,dtype:"category",dposition:"bottom"}}),(g.scales.yAxes||[]).map(function(C){return{options:C,dtype:"linear",dposition:"left"}}))),g.scale&&_.push({options:g.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),G.each(_,function(C){var T=C.options,O=T.id,P=sc(T.type,C.dtype);ib(T.position)!==ib(C.dposition)&&(T.position=C.dposition),w[O]=!0;var L=null;if(O in y&&y[O].type===P)(L=y[O]).options=T,L.ctx=p.ctx,L.chart=p;else{var E=_i.getScaleConstructor(P);if(!E)return;L=new E({id:O,type:P,options:T,ctx:p.ctx,chart:p}),y[L.id]=L}L.mergeTicksOptions(),C.isDefault&&(p.scale=L)}),G.each(w,function(C,T){C||delete y[T]}),p.scales=y,_i.addScalesToLayout(this)},buildOrUpdateControllers:function(){var _,w,p=this,g=[],y=p.data.datasets;for(_=0,w=y.length;_<w;_++){var C=y[_],T=p.getDatasetMeta(_),O=C.type||p.config.type;if(T.type&&T.type!==O&&(p.destroyDatasetMeta(_),T=p.getDatasetMeta(_)),T.type=O,T.order=C.order||0,T.index=_,T.controller)T.controller.updateIndex(_),T.controller.linkScales();else{var P=of[T.type];if(void 0===P)throw new Error('"'+T.type+'" is not a chart type.');T.controller=new P(p,_),g.push(T.controller)}}return g},resetElements:function(){var p=this;G.each(p.data.datasets,function(g,y){p.getDatasetMeta(y).controller.reset()},p)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(p){var y,_,g=this;if((!p||"object"!=typeof p)&&(p={duration:p,lazy:arguments[1]}),WS(g),Ye._invalidate(g),!1!==Ye.notify(g,"beforeUpdate")){g.tooltip._data=g.data;var w=g.buildOrUpdateControllers();for(y=0,_=g.data.datasets.length;y<_;y++)g.getDatasetMeta(y).controller.buildOrUpdateElements();g.updateLayout(),g.options.animation&&g.options.animation.duration&&G.each(w,function(C){C.reset()}),g.updateDatasets(),g.tooltip.initialize(),g.lastActive=[],Ye.notify(g,"afterUpdate"),g._layers.sort(ob("z","_idx")),g._bufferedRender?g._bufferedRequest={duration:p.duration,easing:p.easing,lazy:p.lazy}:g.render(p)}},updateLayout:function(){var p=this;!1!==Ye.notify(p,"beforeLayout")&&(Ia.update(this,this.width,this.height),p._layers=[],G.each(p.boxes,function(g){g._configure&&g._configure(),p._layers.push.apply(p._layers,g._layers())},p),p._layers.forEach(function(g,y){g._idx=y}),Ye.notify(p,"afterScaleUpdate"),Ye.notify(p,"afterLayout"))},updateDatasets:function(){var p=this;if(!1!==Ye.notify(p,"beforeDatasetsUpdate")){for(var g=0,y=p.data.datasets.length;g<y;++g)p.updateDataset(g);Ye.notify(p,"afterDatasetsUpdate")}},updateDataset:function(p){var g=this,y=g.getDatasetMeta(p),_={meta:y,index:p};!1!==Ye.notify(g,"beforeDatasetUpdate",[_])&&(y.controller._update(),Ye.notify(g,"afterDatasetUpdate",[_]))},render:function(p){var g=this;(!p||"object"!=typeof p)&&(p={duration:p,lazy:arguments[1]});var y=g.options.animation,_=sc(p.duration,y&&y.duration),w=p.lazy;if(!1!==Ye.notify(g,"beforeRender")){var C=function(O){Ye.notify(g,"afterRender"),G.callback(y&&y.onComplete,[O],g)};if(y&&_){var T=new tf({numSteps:_/16.66,easing:p.easing||y.easing,render:function(O,P){var L=G.easing.effects[P.easing],E=P.currentStep,H=E/P.numSteps;O.draw(L(H),H,E)},onAnimationProgress:y.onProgress,onAnimationComplete:C});Gr.addAnimation(g,T,_,w)}else g.draw(),C(new tf({numSteps:0,chart:g}));return g}},draw:function(p){var y,_,g=this;if(g.clear(),G.isNullOrUndef(p)&&(p=1),g.transition(p),!(g.width<=0||g.height<=0)&&!1!==Ye.notify(g,"beforeDraw",[p])){for(_=g._layers,y=0;y<_.length&&_[y].z<=0;++y)_[y].draw(g.chartArea);for(g.drawDatasets(p);y<_.length;++y)_[y].draw(g.chartArea);g._drawTooltip(p),Ye.notify(g,"afterDraw",[p])}},transition:function(p){for(var g=this,y=0,_=(g.data.datasets||[]).length;y<_;++y)g.isDatasetVisible(y)&&g.getDatasetMeta(y).controller.transition(p);g.tooltip.transition(p)},_getSortedDatasetMetas:function(p){var w,C,g=this,_=[];for(w=0,C=(g.data.datasets||[]).length;w<C;++w)(!p||g.isDatasetVisible(w))&&_.push(g.getDatasetMeta(w));return _.sort(ob("order","index")),_},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(p){var y,_,g=this;if(!1!==Ye.notify(g,"beforeDatasetsDraw",[p])){for(_=(y=g._getSortedVisibleDatasetMetas()).length-1;_>=0;--_)g.drawDataset(y[_],p);Ye.notify(g,"afterDatasetsDraw",[p])}},drawDataset:function(p,g){var y=this,_={meta:p,index:p.index,easingValue:g};!1!==Ye.notify(y,"beforeDatasetDraw",[_])&&(p.controller.draw(g),Ye.notify(y,"afterDatasetDraw",[_]))},_drawTooltip:function(p){var g=this,y=g.tooltip,_={tooltip:y,easingValue:p};!1!==Ye.notify(g,"beforeTooltipDraw",[_])&&(y.draw(),Ye.notify(g,"afterTooltipDraw",[_]))},getElementAtEvent:function(p){return qn.modes.single(this,p)},getElementsAtEvent:function(p){return qn.modes.label(this,p,{intersect:!0})},getElementsAtXAxis:function(p){return qn.modes["x-axis"](this,p,{intersect:!0})},getElementsAtEventForMode:function(p,g,y){var _=qn.modes[g];return"function"==typeof _?_(this,p,y):[]},getDatasetAtEvent:function(p){return qn.modes.dataset(this,p,{intersect:!0})},getDatasetMeta:function(p){var g=this,y=g.data.datasets[p];y._meta||(y._meta={});var _=y._meta[g.id];return _||(_=y._meta[g.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:y.order||0,index:p}),_},getVisibleDatasetCount:function(){for(var p=0,g=0,y=this.data.datasets.length;g<y;++g)this.isDatasetVisible(g)&&p++;return p},isDatasetVisible:function(p){var g=this.getDatasetMeta(p);return"boolean"==typeof g.hidden?!g.hidden:!this.data.datasets[p].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(p){var g=this.id,y=this.data.datasets[p],_=y._meta&&y._meta[g];_&&(_.controller.destroy(),delete y._meta[g])},destroy:function(){var y,_,p=this,g=p.canvas;for(p.stop(),y=0,_=p.data.datasets.length;y<_;++y)p.destroyDatasetMeta(y);g&&(p.unbindEvents(),G.canvas.clear(p),ws.releaseContext(p.ctx),p.canvas=null,p.ctx=null),Ye.notify(p,"destroy"),delete xi.instances[p.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var p=this;p.tooltip=new vf({_chart:p,_chartInstance:p,_data:p.data,_options:p.options.tooltips},p)},bindEvents:function(){var p=this,g=p._listeners={},y=function(){p.eventHandler.apply(p,arguments)};G.each(p.options.events,function(_){ws.addEventListener(p,_,y),g[_]=y}),p.options.responsive&&(y=function(){p.resize()},ws.addEventListener(p,"resize",y),g.resize=y)},unbindEvents:function(){var p=this,g=p._listeners;!g||(delete p._listeners,G.each(g,function(y,_){ws.removeEventListener(p,_,y)}))},updateHoverStyle:function(p,g,y){var w,C,T,_=y?"set":"remove";for(C=0,T=p.length;C<T;++C)(w=p[C])&&this.getDatasetMeta(w._datasetIndex).controller[_+"HoverStyle"](w);"dataset"===g&&this.getDatasetMeta(p[0]._datasetIndex).controller["_"+_+"DatasetHoverStyle"]()},eventHandler:function(p){var g=this,y=g.tooltip;if(!1!==Ye.notify(g,"beforeEvent",[p])){g._bufferedRender=!0,g._bufferedRequest=null;var _=g.handleEvent(p);y&&(_=y._start?y.handleEvent(p):_|y.handleEvent(p)),Ye.notify(g,"afterEvent",[p]);var w=g._bufferedRequest;return w?g.render(w):_&&!g.animating&&(g.stop(),g.render({duration:g.options.hover.animationDuration,lazy:!0})),g._bufferedRender=!1,g._bufferedRequest=null,g}},handleEvent:function(p){var g=this,y=g.options||{},_=y.hover,w=!1;return g.lastActive=g.lastActive||[],"mouseout"===p.type?g.active=[]:g.active=g.getElementsAtEventForMode(p,_.mode,_),G.callback(y.onHover||y.hover.onHover,[p.native,g.active],g),("mouseup"===p.type||"click"===p.type)&&y.onClick&&y.onClick.call(g,p.native,g.active),g.lastActive.length&&g.updateHoverStyle(g.lastActive,_.mode,!1),g.active.length&&_.mode&&g.updateHoverStyle(g.active,_.mode,!0),w=!G.arrayEquals(g.active,g.lastActive),g.lastActive=g.active,w}}),xi.instances={};var be=xi;xi.Controller=xi,xi.types={},G.configMerge=Su,G.scaleMerge=ab;var wu=function(){function p(_,w,C){var T;return"string"==typeof _?(T=parseInt(_,10),-1!==_.indexOf("%")&&(T=T/100*w.parentNode[C])):T=_,T}function g(_){return null!=_&&"none"!==_}function y(_,w,C){var T=document.defaultView,O=G._getParentNode(_),P=T.getComputedStyle(_)[w],L=T.getComputedStyle(O)[w],E=g(P),H=g(L),J=Number.POSITIVE_INFINITY;return E||H?Math.min(E?p(P,_,C):J,H?p(L,O,C):J):"none"}G.where=function(_,w){if(G.isArray(_)&&Array.prototype.filter)return _.filter(w);var C=[];return G.each(_,function(T){w(T)&&C.push(T)}),C},G.findIndex=Array.prototype.findIndex?function(_,w,C){return _.findIndex(w,C)}:function(_,w,C){C=void 0===C?_:C;for(var T=0,O=_.length;T<O;++T)if(w.call(C,_[T],T,_))return T;return-1},G.findNextWhere=function(_,w,C){G.isNullOrUndef(C)&&(C=-1);for(var T=C+1;T<_.length;T++){var O=_[T];if(w(O))return O}},G.findPreviousWhere=function(_,w,C){G.isNullOrUndef(C)&&(C=_.length);for(var T=C-1;T>=0;T--){var O=_[T];if(w(O))return O}},G.isNumber=function(_){return!isNaN(parseFloat(_))&&isFinite(_)},G.almostEquals=function(_,w,C){return Math.abs(_-w)<C},G.almostWhole=function(_,w){var C=Math.round(_);return C-w<=_&&C+w>=_},G.max=function(_){return _.reduce(function(w,C){return isNaN(C)?w:Math.max(w,C)},Number.NEGATIVE_INFINITY)},G.min=function(_){return _.reduce(function(w,C){return isNaN(C)?w:Math.min(w,C)},Number.POSITIVE_INFINITY)},G.sign=Math.sign?function(_){return Math.sign(_)}:function(_){return 0==(_=+_)||isNaN(_)?_:_>0?1:-1},G.toRadians=function(_){return _*(Math.PI/180)},G.toDegrees=function(_){return _*(180/Math.PI)},G._decimalPlaces=function(_){if(G.isFinite(_)){for(var w=1,C=0;Math.round(_*w)/w!==_;)w*=10,C++;return C}},G.getAngleFromPoint=function(_,w){var C=w.x-_.x,T=w.y-_.y,O=Math.sqrt(C*C+T*T),P=Math.atan2(T,C);return P<-.5*Math.PI&&(P+=2*Math.PI),{angle:P,distance:O}},G.distanceBetweenPoints=function(_,w){return Math.sqrt(Math.pow(w.x-_.x,2)+Math.pow(w.y-_.y,2))},G.aliasPixel=function(_){return _%2==0?0:.5},G._alignPixel=function(_,w,C){var T=_.currentDevicePixelRatio,O=C/2;return Math.round((w-O)*T)/T+O},G.splineCurve=function(_,w,C,T){var O=_.skip?w:_,P=w,L=C.skip?w:C,E=Math.sqrt(Math.pow(P.x-O.x,2)+Math.pow(P.y-O.y,2)),H=Math.sqrt(Math.pow(L.x-P.x,2)+Math.pow(L.y-P.y,2)),J=E/(E+H),et=H/(E+H),at=T*(J=isNaN(J)?0:J),it=T*(et=isNaN(et)?0:et);return{previous:{x:P.x-at*(L.x-O.x),y:P.y-at*(L.y-O.y)},next:{x:P.x+it*(L.x-O.x),y:P.y+it*(L.y-O.y)}}},G.EPSILON=Number.EPSILON||1e-14,G.splineCurveMonotone=function(_){var T,O,P,L,H,J,et,at,it,w=(_||[]).map(function(dt){return{model:dt._model,deltaK:0,mK:0}}),C=w.length;for(T=0;T<C;++T)if(!(P=w[T]).model.skip){if(O=T>0?w[T-1]:null,(L=T<C-1?w[T+1]:null)&&!L.model.skip){var E=L.model.x-P.model.x;P.deltaK=0!==E?(L.model.y-P.model.y)/E:0}!O||O.model.skip?P.mK=P.deltaK:!L||L.model.skip?P.mK=O.deltaK:this.sign(O.deltaK)!==this.sign(P.deltaK)?P.mK=0:P.mK=(O.deltaK+P.deltaK)/2}for(T=0;T<C-1;++T)if(P=w[T],L=w[T+1],!P.model.skip&&!L.model.skip){if(G.almostEquals(P.deltaK,0,this.EPSILON)){P.mK=L.mK=0;continue}H=P.mK/P.deltaK,J=L.mK/P.deltaK,!((at=Math.pow(H,2)+Math.pow(J,2))<=9)&&(et=3/Math.sqrt(at),P.mK=H*et*P.deltaK,L.mK=J*et*P.deltaK)}for(T=0;T<C;++T)!(P=w[T]).model.skip&&(O=T>0?w[T-1]:null,L=T<C-1?w[T+1]:null,O&&!O.model.skip&&(it=(P.model.x-O.model.x)/3,P.model.controlPointPreviousX=P.model.x-it,P.model.controlPointPreviousY=P.model.y-it*P.mK),L&&!L.model.skip&&(it=(L.model.x-P.model.x)/3,P.model.controlPointNextX=P.model.x+it,P.model.controlPointNextY=P.model.y+it*P.mK))},G.nextItem=function(_,w,C){return C?w>=_.length-1?_[0]:_[w+1]:w>=_.length-1?_[_.length-1]:_[w+1]},G.previousItem=function(_,w,C){return C?w<=0?_[_.length-1]:_[w-1]:w<=0?_[0]:_[w-1]},G.niceNum=function(_,w){var C=Math.floor(G.log10(_)),T=_/Math.pow(10,C);return(w?T<1.5?1:T<3?2:T<7?5:10:T<=1?1:T<=2?2:T<=5?5:10)*Math.pow(10,C)},G.requestAnimFrame=typeof window>"u"?function(_){_()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(_){return window.setTimeout(_,1e3/60)},G.getRelativePosition=function(_,w){var C,T,O=_.originalEvent||_,P=_.target||_.srcElement,L=P.getBoundingClientRect(),E=O.touches;E&&E.length>0?(C=E[0].clientX,T=E[0].clientY):(C=O.clientX,T=O.clientY);var H=parseFloat(G.getStyle(P,"padding-left")),J=parseFloat(G.getStyle(P,"padding-top")),et=parseFloat(G.getStyle(P,"padding-right")),at=parseFloat(G.getStyle(P,"padding-bottom")),it=L.right-L.left-H-et,dt=L.bottom-L.top-J-at;return{x:C=Math.round((C-L.left-H)/it*P.width/w.currentDevicePixelRatio),y:T=Math.round((T-L.top-J)/dt*P.height/w.currentDevicePixelRatio)}},G.getConstraintWidth=function(_){return y(_,"max-width","clientWidth")},G.getConstraintHeight=function(_){return y(_,"max-height","clientHeight")},G._calculatePadding=function(_,w,C){return(w=G.getStyle(_,w)).indexOf("%")>-1?C*parseInt(w,10)/100:parseInt(w,10)},G._getParentNode=function(_){var w=_.parentNode;return w&&"[object ShadowRoot]"===w.toString()&&(w=w.host),w},G.getMaximumWidth=function(_){var w=G._getParentNode(_);if(!w)return _.clientWidth;var C=w.clientWidth,P=C-G._calculatePadding(w,"padding-left",C)-G._calculatePadding(w,"padding-right",C),L=G.getConstraintWidth(_);return isNaN(L)?P:Math.min(P,L)},G.getMaximumHeight=function(_){var w=G._getParentNode(_);if(!w)return _.clientHeight;var C=w.clientHeight,P=C-G._calculatePadding(w,"padding-top",C)-G._calculatePadding(w,"padding-bottom",C),L=G.getConstraintHeight(_);return isNaN(L)?P:Math.min(P,L)},G.getStyle=function(_,w){return _.currentStyle?_.currentStyle[w]:document.defaultView.getComputedStyle(_,null).getPropertyValue(w)},G.retinaScale=function(_,w){var C=_.currentDevicePixelRatio=w||typeof window<"u"&&window.devicePixelRatio||1;if(1!==C){var T=_.canvas,O=_.height,P=_.width;T.height=O*C,T.width=P*C,_.ctx.scale(C,C),!T.style.height&&!T.style.width&&(T.style.height=O+"px",T.style.width=P+"px")}},G.fontString=function(_,w,C){return w+" "+_+"px "+C},G.longestText=function(_,w,C,T){var O=(T=T||{}).data=T.data||{},P=T.garbageCollect=T.garbageCollect||[];T.font!==w&&(O=T.data={},P=T.garbageCollect=[],T.font=w),_.font=w;var H,J,et,at,it,L=0,E=C.length;for(H=0;H<E;H++)if(null!=(at=C[H])&&!0!==G.isArray(at))L=G.measureText(_,O,P,L,at);else if(G.isArray(at))for(J=0,et=at.length;J<et;J++)null!=(it=at[J])&&!G.isArray(it)&&(L=G.measureText(_,O,P,L,it));var dt=P.length/2;if(dt>C.length){for(H=0;H<dt;H++)delete O[P[H]];P.splice(0,dt)}return L},G.measureText=function(_,w,C,T,O){var P=w[O];return P||(P=w[O]=_.measureText(O).width,C.push(O)),P>T&&(T=P),T},G.numberOfLabelLines=function(_){var w=1;return G.each(_,function(C){G.isArray(C)&&C.length>w&&(w=C.length)}),w},G.color=gu?function(_){return _ instanceof CanvasGradient&&(_=oe.global.defaultColor),gu(_)}:function(_){return console.error("Color.js not found!"),_},G.getHoverColor=function(_){return _ instanceof CanvasPattern||_ instanceof CanvasGradient?_:G.color(_).saturate(.5).darken(.1).rgbString()}};function uo(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Zr(p){this.options=p||{}}G.extend(Zr.prototype,{formats:uo,parse:uo,format:uo,add:uo,diff:uo,startOf:uo,endOf:uo,_create:function(p){return p}}),Zr.override=function(p){G.extend(Zr.prototype,p)};var Af={_date:Zr},lc={formatters:{values:function(p){return G.isArray(p)?p:""+p},linear:function(p,g,y){var _=y.length>3?y[2]-y[1]:y[1]-y[0];Math.abs(_)>1&&p!==Math.floor(p)&&(_=p-Math.floor(p));var w=G.log10(Math.abs(_)),C="";if(0!==p)if(Math.max(Math.abs(y[0]),Math.abs(y[y.length-1]))<1e-4){var O=G.log10(Math.abs(p)),P=Math.floor(O)-Math.floor(w);P=Math.max(Math.min(P,20),0),C=p.toExponential(P)}else{var L=-1*Math.floor(w);L=Math.max(Math.min(L,20),0),C=p.toFixed(L)}else C="0";return C},logarithmic:function(p,g,y){var _=p/Math.pow(10,Math.floor(G.log10(p)));return 0===p?"0":1===_||2===_||5===_||0===g||g===y.length-1?p.toExponential():""}}},po=G.isArray,cc=G.isNullOrUndef,ho=G.valueOrDefault,Cs=G.valueAtIndexOrDefault;function ZS(p,g){for(var y=[],_=p.length/g,w=0,C=p.length;w<C;w+=_)y.push(p[Math.floor(w)]);return y}function XS(p,g,y){var L,_=p.getTicks().length,w=Math.min(g,_-1),C=p.getPixelForTick(w),T=p._startPixel,O=p._endPixel,P=1e-6;if(!(y&&(L=1===_?Math.max(C-T,O-C):0===g?(p.getPixelForTick(1)-C)/2:(C-p.getPixelForTick(w-1))/2,C+=w<g?L:-L,C<T-P||C>O+P)))return C}function yf(p,g){G.each(p,function(y){var C,_=y.gc,w=_.length/2;if(w>g){for(C=0;C<w;++C)delete y.data[_[C]];_.splice(0,w)}})}function YS(p,g,y,_){var E,H,J,et,at,it,dt,Pt,Gt,Zt,Ae,ge,Ve,w=y.length,C=[],T=[],O=[],P=0,L=0;for(E=0;E<w;++E){if(et=y[E].label,at=y[E].major?g.major:g.minor,p.font=it=at.string,dt=_[it]=_[it]||{data:{},gc:[]},Pt=at.lineHeight,Gt=Zt=0,cc(et)||po(et)){if(po(et))for(H=0,J=et.length;H<J;++H)Ae=et[H],!cc(Ae)&&!po(Ae)&&(Gt=G.measureText(p,dt.data,dt.gc,Gt,Ae),Zt+=Pt)}else Gt=G.measureText(p,dt.data,dt.gc,Gt,et),Zt=Pt;C.push(Gt),T.push(Zt),O.push(Pt/2),P=Math.max(Gt,P),L=Math.max(Zt,L)}function Le(Ke){return{width:C[Ke]||0,height:T[Ke]||0,offset:O[Ke]||0}}return yf(_,w),ge=C.indexOf(P),Ve=T.indexOf(L),{first:Le(0),last:Le(w-1),widest:Le(ge),highest:Le(Ve)}}function dc(p){return p.drawTicks?p.tickMarkLength:0}function ku(p){var g,y;return p.display?(g=G.options._parseFont(p),y=G.options.toPadding(p.padding),g.lineHeight+y.height):0}function bf(p,g){return G.extend(G.options._parseFont({fontFamily:ho(g.fontFamily,p.fontFamily),fontSize:ho(g.fontSize,p.fontSize),fontStyle:ho(g.fontStyle,p.fontStyle),lineHeight:ho(g.lineHeight,p.lineHeight)}),{color:G.options.resolve([g.fontColor,p.fontColor,oe.global.defaultFontColor])})}function _f(p){var g=bf(p,p.minor);return{minor:g,major:p.major.enabled?bf(p,p.major):g}}function Cu(p){var y,_,w,g=[];for(_=0,w=p.length;_<w;++_)typeof(y=p[_])._index<"u"&&g.push(y);return g}function sb(p){var y,_,g=p.length;if(g<2)return!1;for(_=p[0],y=1;y<g;++y)if(p[y]-p[y-1]!==_)return!1;return _}function QS(p,g,y,_){var T,O,P,L,w=sb(p),C=(g.length-1)/_;if(!w)return Math.max(C,1);for(P=0,L=(T=G.math._factorize(w)).length-1;P<L;P++)if((O=T[P])>C)return O;return Math.max(C,1)}function $S(p){var y,_,g=[];for(y=0,_=p.length;y<_;y++)p[y].major&&g.push(y);return g}function tw(p,g,y){var C,T,_=0,w=g[0];for(y=Math.ceil(y),C=0;C<p.length;C++)T=p[C],C===w?(T._index=C,w=g[++_*y]):delete T.label}function uc(p,g,y,_){var O,P,L,E,w=ho(y,0),C=Math.min(ho(_,p.length),p.length),T=0;for(g=Math.ceil(g),_&&(g=(O=_-y)/Math.floor(O/g)),E=w;E<0;)T++,E=Math.round(w+T*g);for(P=Math.max(w,0);P<C;P++)L=p[P],P===E?(L._index=P,T++,E=Math.round(w+T*g)):delete L.label}oe._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:lc.formatters.values,minor:{},major:{}}});var xf=vr.extend({zeroLineIndex:0,getPadding:function(){var p=this;return{left:p.paddingLeft||0,top:p.paddingTop||0,right:p.paddingRight||0,bottom:p.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var p=this.chart.data;return this.options.labels||(this.isHorizontal()?p.xLabels:p.yLabels)||p.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){G.callback(this.options.beforeUpdate,[this])},update:function(p,g,y){var T,O,P,L,E,_=this,w=_.options.ticks,C=w.sampleSize;if(_.beforeUpdate(),_.maxWidth=p,_.maxHeight=g,_.margins=G.extend({left:0,right:0,top:0,bottom:0},y),_._ticks=null,_.ticks=null,_._labelSizes=null,_._maxLabelLines=0,_.longestLabelWidth=0,_.longestTextCache=_.longestTextCache||{},_._gridLineItems=null,_._labelItems=null,_.beforeSetDimensions(),_.setDimensions(),_.afterSetDimensions(),_.beforeDataLimits(),_.determineDataLimits(),_.afterDataLimits(),_.beforeBuildTicks(),L=_.buildTicks()||[],(!(L=_.afterBuildTicks(L)||L)||!L.length)&&_.ticks)for(L=[],T=0,O=_.ticks.length;T<O;++T)L.push({value:_.ticks[T],major:!1});return _._ticks=L,E=C<L.length,P=_._convertTicksToLabels(E?ZS(L,C):L),_._configure(),_.beforeCalculateTickRotation(),_.calculateTickRotation(),_.afterCalculateTickRotation(),_.beforeFit(),_.fit(),_.afterFit(),_._ticksToDraw=w.display&&(w.autoSkip||"auto"===w.source)?_._autoSkip(L):L,E&&(P=_._convertTicksToLabels(_._ticksToDraw)),_.ticks=P,_.afterUpdate(),_.minSize},_configure:function(){var y,_,p=this,g=p.options.ticks.reverse;p.isHorizontal()?(y=p.left,_=p.right):(y=p.top,_=p.bottom,g=!g),p._startPixel=y,p._endPixel=_,p._reversePixels=g,p._length=_-y},afterUpdate:function(){G.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){G.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var p=this;p.isHorizontal()?(p.width=p.maxWidth,p.left=0,p.right=p.width):(p.height=p.maxHeight,p.top=0,p.bottom=p.height),p.paddingLeft=0,p.paddingTop=0,p.paddingRight=0,p.paddingBottom=0},afterSetDimensions:function(){G.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){G.callback(this.options.beforeDataLimits,[this])},determineDataLimits:G.noop,afterDataLimits:function(){G.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){G.callback(this.options.beforeBuildTicks,[this])},buildTicks:G.noop,afterBuildTicks:function(p){var g=this;return po(p)&&p.length?G.callback(g.options.afterBuildTicks,[g,p]):(g.ticks=G.callback(g.options.afterBuildTicks,[g,g.ticks])||g.ticks,p)},beforeTickToLabelConversion:function(){G.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var p=this,g=p.options.ticks;p.ticks=p.ticks.map(g.userCallback||g.callback,this)},afterTickToLabelConversion:function(){G.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){G.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var O,P,L,E,H,J,et,p=this,g=p.options,y=g.ticks,_=p.getTicks().length,w=y.minRotation||0,C=y.maxRotation,T=w;!p._isVisible()||!y.display||w>=C||_<=1||!p.isHorizontal()?p.labelRotation=w:(P=(O=p._getLabelSizes()).widest.width,L=O.highest.height-O.highest.offset,E=Math.min(p.maxWidth,p.chart.width-P),P+6>(H=g.offset?p.maxWidth/_:E/(_-1))&&(H=E/(_-(g.offset?.5:1)),J=p.maxHeight-dc(g.gridLines)-y.padding-ku(g.scaleLabel),et=Math.sqrt(P*P+L*L),T=G.toDegrees(Math.min(Math.asin(Math.min((O.highest.height+6)/H,1)),Math.asin(Math.min(J/et,1))-Math.asin(L/et))),T=Math.max(w,Math.min(C,T))),p.labelRotation=T)},afterCalculateTickRotation:function(){G.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){G.callback(this.options.beforeFit,[this])},fit:function(){var p=this,g=p.minSize={width:0,height:0},y=p.chart,_=p.options,w=_.ticks,C=_.scaleLabel,T=_.gridLines,O=p._isVisible(),P="bottom"===_.position,L=p.isHorizontal();if(L?g.width=p.maxWidth:O&&(g.width=dc(T)+ku(C)),L?O&&(g.height=dc(T)+ku(C)):g.height=p.maxHeight,w.display&&O){var E=_f(w),H=p._getLabelSizes(),J=H.first,et=H.last,at=H.widest,it=H.highest,dt=.4*E.minor.lineHeight,Pt=w.padding;if(L){var Gt=0!==p.labelRotation,Zt=G.toRadians(p.labelRotation),Ae=Math.cos(Zt),ge=Math.sin(Zt),Ve=ge*at.width+Ae*(it.height-(Gt?it.offset:0))+(Gt?0:dt);g.height=Math.min(p.maxHeight,g.height+Ve+Pt);var sn,Fn,Le=p.getPixelForTick(0)-p.left,Ke=p.right-p.getPixelForTick(p.getTicks().length-1);Gt?(sn=P?Ae*J.width+ge*J.offset:ge*(J.height-J.offset),Fn=P?ge*(et.height-et.offset):Ae*et.width+ge*et.offset):(sn=J.width/2,Fn=et.width/2),p.paddingLeft=Math.max((sn-Le)*p.width/(p.width-Le),0)+3,p.paddingRight=Math.max((Fn-Ke)*p.width/(p.width-Ke),0)+3}else{var In=w.mirror?0:at.width+Pt+dt;g.width=Math.min(p.maxWidth,g.width+In),p.paddingTop=J.height/2,p.paddingBottom=et.height/2}}p.handleMargins(),L?(p.width=p._length=y.width-p.margins.left-p.margins.right,p.height=g.height):(p.width=g.width,p.height=p._length=y.height-p.margins.top-p.margins.bottom)},handleMargins:function(){var p=this;p.margins&&(p.margins.left=Math.max(p.paddingLeft,p.margins.left),p.margins.top=Math.max(p.paddingTop,p.margins.top),p.margins.right=Math.max(p.paddingRight,p.margins.right),p.margins.bottom=Math.max(p.paddingBottom,p.margins.bottom))},afterFit:function(){G.callback(this.options.afterFit,[this])},isHorizontal:function(){var p=this.options.position;return"top"===p||"bottom"===p},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(p){if(cc(p))return NaN;if(("number"==typeof p||p instanceof Number)&&!isFinite(p))return NaN;if(p)if(this.isHorizontal()){if(void 0!==p.x)return this.getRightValue(p.x)}else if(void 0!==p.y)return this.getRightValue(p.y);return p},_convertTicksToLabels:function(p){var y,_,w,g=this;for(g.ticks=p.map(function(C){return C.value}),g.beforeTickToLabelConversion(),y=g.convertTicksToLabels(p)||g.ticks,g.afterTickToLabelConversion(),_=0,w=p.length;_<w;++_)p[_].label=y[_];return y},_getLabelSizes:function(){var p=this,g=p._labelSizes;return g||(p._labelSizes=g=YS(p.ctx,_f(p.options.ticks),p.getTicks(),p.longestTextCache),p.longestLabelWidth=g.widest.width),g},_parseValue:function(p){var g,y,_,w;return po(p)?(g=+this.getRightValue(p[0]),y=+this.getRightValue(p[1]),_=Math.min(g,y),w=Math.max(g,y)):(g=void 0,y=p=+this.getRightValue(p),_=p,w=p),{min:_,max:w,start:g,end:y}},_getScaleLabel:function(p){var g=this._parseValue(p);return void 0!==g.start?"["+g.start+", "+g.end+"]":+this.getRightValue(p)},getLabelForIndex:G.noop,getPixelForValue:G.noop,getValueForPixel:G.noop,getPixelForTick:function(p){var g=this,y=g.options.offset,_=g._ticks.length,w=1/Math.max(_-(y?0:1),1);return p<0||p>_-1?null:g.getPixelForDecimal(p*w+(y?w/2:0))},getPixelForDecimal:function(p){var g=this;return g._reversePixels&&(p=1-p),g._startPixel+p*g._length},getDecimalForPixel:function(p){var g=(p-this._startPixel)/this._length;return this._reversePixels?1-g:g},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var p=this,g=p.min,y=p.max;return p.beginAtZero?0:g<0&&y<0?y:g>0&&y>0?g:0},_autoSkip:function(p){var L,E,H,J,g=this,y=g.options.ticks,_=g._length,w=y.maxTicksLimit||_/g._tickSize()+1,C=y.major.enabled?$S(p):[],T=C.length,O=C[0],P=C[T-1];if(T>w)return tw(p,C,T/w),Cu(p);if(H=QS(C,p,_,w),T>0){for(L=0,E=T-1;L<E;L++)uc(p,H,C[L],C[L+1]);return J=T>1?(P-O)/(T-1):null,uc(p,H,G.isNullOrUndef(J)?0:O-J,O),uc(p,H,P,G.isNullOrUndef(J)?p.length:P+J),Cu(p)}return uc(p,H),Cu(p)},_tickSize:function(){var p=this,g=p.options.ticks,y=G.toRadians(p.labelRotation),_=Math.abs(Math.cos(y)),w=Math.abs(Math.sin(y)),C=p._getLabelSizes(),T=g.autoSkipPadding||0,O=C?C.widest.width+T:0,P=C?C.highest.height+T:0;return p.isHorizontal()?P*_>O*w?O/_:P/w:P*w<O*_?P/_:O/w},_isVisible:function(){var _,w,C,p=this,g=p.chart,y=p.options.display;if("auto"!==y)return!!y;for(_=0,w=g.data.datasets.length;_<w;++_)if(g.isDatasetVisible(_)&&((C=g.getDatasetMeta(_)).xAxisID===p.id||C.yAxisID===p.id))return!0;return!1},_computeGridLineItems:function(p){var dt,Pt,Gt,Zt,Ae,ge,Ve,Le,Ke,sn,Fn,In,Cn,Hn,Ds,Ts,Nf,g=this,y=g.chart,_=g.options,w=_.gridLines,C=_.position,T=w.offsetGridLines,O=g.isHorizontal(),P=g._ticksToDraw,L=P.length+(T?1:0),E=dc(w),H=[],J=w.drawBorder?Cs(w.lineWidth,0,0):0,et=J/2,at=G._alignPixel,it=function(zw){return at(y,zw,J)};for("top"===C?(dt=it(g.bottom),Ve=g.bottom-E,Ke=dt-et,Fn=it(p.top)+et,Cn=p.bottom):"bottom"===C?(dt=it(g.top),Fn=p.top,Cn=it(p.bottom)-et,Ve=dt+et,Ke=g.top+E):"left"===C?(dt=it(g.right),ge=g.right-E,Le=dt-et,sn=it(p.left)+et,In=p.right):(dt=it(g.left),sn=p.left,In=it(p.right)-et,ge=dt+et,Le=g.left+E),Pt=0;Pt<L;++Pt)Gt=P[Pt]||{},!(cc(Gt.label)&&Pt<P.length)&&(Pt===g.zeroLineIndex&&_.offset===T?(Hn=w.zeroLineWidth,Ds=w.zeroLineColor,Ts=w.zeroLineBorderDash||[],Nf=w.zeroLineBorderDashOffset||0):(Hn=Cs(w.lineWidth,Pt,1),Ds=Cs(w.color,Pt,"rgba(0,0,0,0.1)"),Ts=w.borderDash||[],Nf=w.borderDashOffset||0),void 0!==(Zt=XS(g,Gt._index||Pt,T))&&(Ae=at(y,Zt,Hn),O?ge=Le=sn=In=Ae:Ve=Ke=Fn=Cn=Ae,H.push({tx1:ge,ty1:Ve,tx2:Le,ty2:Ke,x1:sn,y1:Fn,x2:In,y2:Cn,width:Hn,color:Ds,borderDash:Ts,borderDashOffset:Nf})));return H.ticksLength=L,H.borderValue=dt,H},_computeLabelItems:function(){var J,et,at,it,dt,Pt,Gt,Zt,Ae,ge,Ve,Le,p=this,g=p.options,y=g.ticks,_=g.position,w=y.mirror,C=p.isHorizontal(),T=p._ticksToDraw,O=_f(y),P=y.padding,L=dc(g.gridLines),E=-G.toRadians(p.labelRotation),H=[];for("top"===_?(Pt=p.bottom-L-P,Gt=E?"left":"center"):"bottom"===_?(Pt=p.top+L+P,Gt=E?"right":"center"):"left"===_?(dt=p.right-(w?0:L)-P,Gt=w?"left":"right"):(dt=p.left+(w?0:L)+P,Gt=w?"right":"left"),J=0,et=T.length;J<et;++J)it=(at=T[J]).label,!cc(it)&&(Zt=p.getPixelForTick(at._index||J)+y.labelOffset,ge=(Ae=at.major?O.major:O.minor).lineHeight,Ve=po(it)?it.length:1,C?(dt=Zt,Le="top"===_?((E?1:.5)-Ve)*ge:(E?0:.5)*ge):(Pt=Zt,Le=(1-Ve)*ge/2),H.push({x:dt,y:Pt,rotation:E,label:it,font:Ae,textOffset:Le,textAlign:Gt}));return H},_drawGrid:function(p){var g=this,y=g.options.gridLines;if(y.display){var P,L,E,H,J,_=g.ctx,w=g.chart,C=G._alignPixel,T=y.drawBorder?Cs(y.lineWidth,0,0):0,O=g._gridLineItems||(g._gridLineItems=g._computeGridLineItems(p));for(E=0,H=O.length;E<H;++E)P=(J=O[E]).width,L=J.color,P&&L&&(_.save(),_.lineWidth=P,_.strokeStyle=L,_.setLineDash&&(_.setLineDash(J.borderDash),_.lineDashOffset=J.borderDashOffset),_.beginPath(),y.drawTicks&&(_.moveTo(J.tx1,J.ty1),_.lineTo(J.tx2,J.ty2)),y.drawOnChartArea&&(_.moveTo(J.x1,J.y1),_.lineTo(J.x2,J.y2)),_.stroke(),_.restore());if(T){var dt,Pt,Gt,Zt,et=T,at=Cs(y.lineWidth,O.ticksLength-1,1),it=O.borderValue;g.isHorizontal()?(dt=C(w,g.left,et)-et/2,Pt=C(w,g.right,at)+at/2,Gt=Zt=it):(Gt=C(w,g.top,et)-et/2,Zt=C(w,g.bottom,at)+at/2,dt=Pt=it),_.lineWidth=T,_.strokeStyle=Cs(y.color,0),_.beginPath(),_.moveTo(dt,Gt),_.lineTo(Pt,Zt),_.stroke()}}},_drawLabels:function(){var p=this;if(p.options.ticks.display){var w,C,T,O,P,L,E,H,y=p.ctx,_=p._labelItems||(p._labelItems=p._computeLabelItems());for(w=0,T=_.length;w<T;++w){if(L=(P=_[w]).font,y.save(),y.translate(P.x,P.y),y.rotate(P.rotation),y.font=L.string,y.fillStyle=L.color,y.textBaseline="middle",y.textAlign=P.textAlign,E=P.label,H=P.textOffset,po(E))for(C=0,O=E.length;C<O;++C)y.fillText(""+E[C],0,H),H+=L.lineHeight;else y.fillText(E,0,H);y.restore()}}},_drawTitle:function(){var p=this,g=p.ctx,y=p.options,_=y.scaleLabel;if(_.display){var E,H,w=ho(_.fontColor,oe.global.defaultFontColor),C=G.options._parseFont(_),T=G.options.toPadding(_.padding),O=C.lineHeight/2,P=y.position,L=0;if(p.isHorizontal())E=p.left+p.width/2,H="bottom"===P?p.bottom-O-T.bottom:p.top+O+T.top;else{var J="left"===P;E=J?p.left+O+T.top:p.right-O-T.top,H=p.top+p.height/2,L=J?-.5*Math.PI:.5*Math.PI}g.save(),g.translate(E,H),g.rotate(L),g.textAlign="center",g.textBaseline="middle",g.fillStyle=w,g.font=C.string,g.fillText(_.labelString,0,0),g.restore()}},draw:function(p){var g=this;!g._isVisible()||(g._drawGrid(p),g._drawTitle(),g._drawLabels())},_layers:function(){var p=this,g=p.options,y=g.ticks&&g.ticks.z||0,_=g.gridLines&&g.gridLines.z||0;return p._isVisible()&&y!==_&&p.draw===p._draw?[{z:_,draw:function(){p._drawGrid.apply(p,arguments),p._drawTitle.apply(p,arguments)}},{z:y,draw:function(){p._drawLabels.apply(p,arguments)}}]:[{z:y,draw:function(){p.draw.apply(p,arguments)}}]},_getMatchingVisibleMetas:function(p){var g=this,y=g.isHorizontal();return g.chart._getSortedVisibleDatasetMetas().filter(function(_){return(!p||_.type===p)&&(y?_.xAxisID===g.id:_.yAxisID===g.id)})}});xf.prototype._draw=xf.prototype.draw;var fa=xf,Sf=G.isNullOrUndef,lb={position:"bottom"},cb=fa.extend({determineDataLimits:function(){var O,p=this,g=p._getLabels(),y=p.options.ticks,_=y.min,w=y.max,C=0,T=g.length-1;void 0!==_&&(O=g.indexOf(_))>=0&&(C=O),void 0!==w&&(O=g.indexOf(w))>=0&&(T=O),p.minIndex=C,p.maxIndex=T,p.min=g[C],p.max=g[T]},buildTicks:function(){var p=this,g=p._getLabels(),y=p.minIndex,_=p.maxIndex;p.ticks=0===y&&_===g.length-1?g:g.slice(y,_+1)},getLabelForIndex:function(p,g){var y=this,_=y.chart;return _.getDatasetMeta(g).controller._getValueScaleId()===y.id?y.getRightValue(_.data.datasets[g].data[p]):y._getLabels()[p]},_configure:function(){var p=this,g=p.options.offset,y=p.ticks;fa.prototype._configure.call(p),p.isHorizontal()||(p._reversePixels=!p._reversePixels),y&&(p._startValue=p.minIndex-(g?.5:0),p._valueRange=Math.max(y.length-(g?0:1),1))},getPixelForValue:function(p,g,y){var w,C,T,_=this;return!Sf(g)&&!Sf(y)&&(p=_.chart.data.datasets[y].data[g]),Sf(p)||(w=_.isHorizontal()?p.x:p.y),(void 0!==w||void 0!==p&&isNaN(g))&&(C=_._getLabels(),p=G.valueOrDefault(w,p),g=-1!==(T=C.indexOf(p))?T:g,isNaN(g)&&(g=p)),_.getPixelForDecimal((g-_._startValue)/_._valueRange)},getPixelForTick:function(p){var g=this.ticks;return p<0||p>g.length-1?null:this.getPixelForValue(g[p],p+this.minIndex)},getValueForPixel:function(p){var g=this,y=Math.round(g._startValue+g.getDecimalForPixel(p)*g._valueRange);return Math.min(Math.max(y,0),g.ticks.length-1)},getBasePixel:function(){return this.bottom}}),ew=lb;cb._defaults=ew;var db=G.noop,mo=G.isNullOrUndef;function wf(p,g){var et,at,it,dt,y=[],_=1e-14,w=p.stepSize,C=w||1,T=p.maxTicks-1,O=p.min,P=p.max,L=p.precision,E=g.min,H=g.max,J=G.niceNum((H-E)/T/C)*C;if(J<_&&mo(O)&&mo(P))return[E,H];(dt=Math.ceil(H/J)-Math.floor(E/J))>T&&(J=G.niceNum(dt*J/T/C)*C),w||mo(L)?et=Math.pow(10,G._decimalPlaces(J)):(et=Math.pow(10,L),J=Math.ceil(J*et)/et),at=Math.floor(E/J)*J,it=Math.ceil(H/J)*J,w&&(!mo(O)&&G.almostWhole(O/J,J/1e3)&&(at=O),!mo(P)&&G.almostWhole(P/J,J/1e3)&&(it=P)),dt=(it-at)/J,dt=G.almostEquals(dt,Math.round(dt),J/1e3)?Math.round(dt):Math.ceil(dt),at=Math.round(at*et)/et,it=Math.round(it*et)/et,y.push(mo(O)?at:O);for(var Pt=1;Pt<dt;++Pt)y.push(Math.round((at+Pt*J)*et)/et);return y.push(mo(P)?it:P),y}var Du=fa.extend({getRightValue:function(p){return"string"==typeof p?+p:fa.prototype.getRightValue.call(this,p)},handleTickRangeOptions:function(){var p=this,y=p.options.ticks;if(y.beginAtZero){var _=G.sign(p.min),w=G.sign(p.max);_<0&&w<0?p.max=0:_>0&&w>0&&(p.min=0)}var C=void 0!==y.min||void 0!==y.suggestedMin,T=void 0!==y.max||void 0!==y.suggestedMax;void 0!==y.min?p.min=y.min:void 0!==y.suggestedMin&&(null===p.min?p.min=y.suggestedMin:p.min=Math.min(p.min,y.suggestedMin)),void 0!==y.max?p.max=y.max:void 0!==y.suggestedMax&&(null===p.max?p.max=y.suggestedMax:p.max=Math.max(p.max,y.suggestedMax)),C!==T&&p.min>=p.max&&(C?p.max=p.min+1:p.min=p.max-1),p.min===p.max&&(p.max++,y.beginAtZero||p.min--)},getTickLimit:function(){var w,p=this,g=p.options.ticks,y=g.stepSize,_=g.maxTicksLimit;return y?w=Math.ceil(p.max/y)-Math.floor(p.min/y)+1:(w=p._computeTickLimit(),_=_||11),_&&(w=Math.min(_,w)),w},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:db,buildTicks:function(){var p=this,y=p.options.ticks,_=p.getTickLimit(),w={maxTicks:_=Math.max(2,_),min:y.min,max:y.max,precision:y.precision,stepSize:G.valueOrDefault(y.fixedStepSize,y.stepSize)},C=p.ticks=wf(w,p);p.handleDirectionalChanges(),p.max=G.max(C),p.min=G.min(C),y.reverse?(C.reverse(),p.start=p.max,p.end=p.min):(p.start=p.min,p.end=p.max)},convertTicksToLabels:function(){var p=this;p.ticksAsNumbers=p.ticks.slice(),p.zeroLineIndex=p.ticks.indexOf(0),fa.prototype.convertTicksToLabels.call(p)},_configure:function(){var w,p=this,g=p.getTicks(),y=p.min,_=p.max;fa.prototype._configure.call(p),p.options.offset&&g.length&&(y-=w=(_-y)/Math.max(g.length-1,1)/2,_+=w),p._startValue=y,p._endValue=_,p._valueRange=_-y}}),nw={position:"left",ticks:{callback:lc.formatters.linear}},aw=0,kf=1;function rw(p,g,y){var _=[y.type,void 0===g&&void 0===y.stack?y.index:"",y.stack].join(".");return void 0===p[_]&&(p[_]={pos:[],neg:[]}),p[_]}function Cf(p,g,y,_){var E,H,w=p.options,T=rw(g,w.stacked,y),O=T.pos,P=T.neg,L=_.length;for(E=0;E<L;++E)H=p._parseValue(_[E]),!(isNaN(H.min)||isNaN(H.max)||y.data[E].hidden)&&(O[E]=O[E]||0,P[E]=P[E]||0,w.relativePoints?O[E]=100:H.min<0||H.max<0?P[E]+=H.min:O[E]+=H.max)}function iw(p,g,y){var w,C,_=y.length;for(w=0;w<_;++w)C=p._parseValue(y[w]),!(isNaN(C.min)||isNaN(C.max)||g.data[w].hidden)&&(p.min=Math.min(p.min,C.min),p.max=Math.max(p.max,C.max))}var ub=Du.extend({determineDataLimits:function(){var P,L,E,H,p=this,g=p.options,_=p.chart.data.datasets,w=p._getMatchingVisibleMetas(),C=g.stacked,T={},O=w.length;if(p.min=Number.POSITIVE_INFINITY,p.max=Number.NEGATIVE_INFINITY,void 0===C)for(P=0;!C&&P<O;++P)C=void 0!==(L=w[P]).stack;for(P=0;P<O;++P)E=_[(L=w[P]).index].data,C?Cf(p,T,L,E):iw(p,L,E);G.each(T,function(J){H=J.pos.concat(J.neg),p.min=Math.min(p.min,G.min(H)),p.max=Math.max(p.max,G.max(H))}),p.min=G.isFinite(p.min)&&!isNaN(p.min)?p.min:aw,p.max=G.isFinite(p.max)&&!isNaN(p.max)?p.max:kf,p.handleTickRangeOptions()},_computeTickLimit:function(){var g,p=this;return p.isHorizontal()?Math.ceil(p.width/40):(g=G.options._parseFont(p.options.ticks),Math.ceil(p.height/g.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(p,g){return this._getScaleLabel(this.chart.data.datasets[g].data[p])},getPixelForValue:function(p){var g=this;return g.getPixelForDecimal((+g.getRightValue(p)-g._startValue)/g._valueRange)},getValueForPixel:function(p){return this._startValue+this.getDecimalForPixel(p)*this._valueRange},getPixelForTick:function(p){var g=this.ticksAsNumbers;return p<0||p>g.length-1?null:this.getPixelForValue(g[p])}}),pb=nw;ub._defaults=pb;var Df=G.valueOrDefault,ga=G.math.log10;function ow(p,g){var T,O,y=[],_=Df(p.min,Math.pow(10,Math.floor(ga(g.min)))),w=Math.floor(ga(g.max)),C=Math.ceil(g.max/Math.pow(10,w));0===_?(T=Math.floor(ga(g.minNotZero)),O=Math.floor(g.minNotZero/Math.pow(10,T)),y.push(_),_=O*Math.pow(10,T)):(T=Math.floor(ga(_)),O=Math.floor(_/Math.pow(10,T)));var P=T<0?Math.pow(10,Math.abs(T)):1;do{y.push(_),10==++O&&(O=1,P=++T>=0?1:P),_=Math.round(O*Math.pow(10,T)*P)/P}while(T<w||T===w&&O<C);var L=Df(p.max,_);return y.push(L),y}var hb={position:"left",ticks:{callback:lc.formatters.logarithmic}};function Tu(p,g){return G.isFinite(p)&&p>=0?p:g}var Pu=fa.extend({determineDataLimits:function(){var T,O,P,L,E,H,p=this,g=p.options,y=p.chart,_=y.data.datasets,w=p.isHorizontal();function C(dt){return w?dt.xAxisID===p.id:dt.yAxisID===p.id}p.min=Number.POSITIVE_INFINITY,p.max=Number.NEGATIVE_INFINITY,p.minNotZero=Number.POSITIVE_INFINITY;var J=g.stacked;if(void 0===J)for(T=0;T<_.length;T++)if(O=y.getDatasetMeta(T),y.isDatasetVisible(T)&&C(O)&&void 0!==O.stack){J=!0;break}if(g.stacked||J){var et={};for(T=0;T<_.length;T++){var at=[(O=y.getDatasetMeta(T)).type,void 0===g.stacked&&void 0===O.stack?T:"",O.stack].join(".");if(y.isDatasetVisible(T)&&C(O))for(void 0===et[at]&&(et[at]=[]),E=0,H=(L=_[T].data).length;E<H;E++){var it=et[at];P=p._parseValue(L[E]),!(isNaN(P.min)||isNaN(P.max)||O.data[E].hidden||P.min<0||P.max<0)&&(it[E]=it[E]||0,it[E]+=P.max)}}G.each(et,function(dt){if(dt.length>0){var Pt=G.min(dt),Gt=G.max(dt);p.min=Math.min(p.min,Pt),p.max=Math.max(p.max,Gt)}})}else for(T=0;T<_.length;T++)if(O=y.getDatasetMeta(T),y.isDatasetVisible(T)&&C(O))for(E=0,H=(L=_[T].data).length;E<H;E++)P=p._parseValue(L[E]),!(isNaN(P.min)||isNaN(P.max)||O.data[E].hidden||P.min<0||P.max<0)&&(p.min=Math.min(P.min,p.min),p.max=Math.max(P.max,p.max),0!==P.min&&(p.minNotZero=Math.min(P.min,p.minNotZero)));p.min=G.isFinite(p.min)?p.min:null,p.max=G.isFinite(p.max)?p.max:null,p.minNotZero=G.isFinite(p.minNotZero)?p.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var p=this,g=p.options.ticks,y=1,_=10;p.min=Tu(g.min,p.min),p.max=Tu(g.max,p.max),p.min===p.max&&(0!==p.min&&null!==p.min?(p.min=Math.pow(10,Math.floor(ga(p.min))-1),p.max=Math.pow(10,Math.floor(ga(p.max))+1)):(p.min=y,p.max=_)),null===p.min&&(p.min=Math.pow(10,Math.floor(ga(p.max))-1)),null===p.max&&(p.max=0!==p.min?Math.pow(10,Math.floor(ga(p.min))+1):_),null===p.minNotZero&&(p.min>0?p.minNotZero=p.min:p.max<1?p.minNotZero=Math.pow(10,Math.floor(ga(p.max))):p.minNotZero=y)},buildTicks:function(){var p=this,g=p.options.ticks,y=!p.isHorizontal(),_={min:Tu(g.min),max:Tu(g.max)},w=p.ticks=ow(_,p);p.max=G.max(w),p.min=G.min(w),g.reverse?(y=!y,p.start=p.max,p.end=p.min):(p.start=p.min,p.end=p.max),y&&w.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),fa.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(p,g){return this._getScaleLabel(this.chart.data.datasets[g].data[p])},getPixelForTick:function(p){var g=this.tickValues;return p<0||p>g.length-1?null:this.getPixelForValue(g[p])},_getFirstTickValue:function(p){var g=Math.floor(ga(p));return Math.floor(p/Math.pow(10,g))*Math.pow(10,g)},_configure:function(){var p=this,g=p.min,y=0;fa.prototype._configure.call(p),0===g&&(g=p._getFirstTickValue(p.minNotZero),y=Df(p.options.ticks.fontSize,oe.global.defaultFontSize)/p._length),p._startValue=ga(g),p._valueOffset=y,p._valueRange=(ga(p.max)-ga(g))/(1-y)},getPixelForValue:function(p){var g=this,y=0;return(p=+g.getRightValue(p))>g.min&&p>0&&(y=(ga(p)-g._startValue)/g._valueRange+g._valueOffset),g.getPixelForDecimal(y)},getValueForPixel:function(p){var g=this,y=g.getDecimalForPixel(p);return 0===y&&0===g.min?0:Math.pow(10,g._startValue+(y-g._valueOffset)*g._valueRange)}}),sw=hb;Pu._defaults=sw;var pc=G.valueOrDefault,Tf=G.valueAtIndexOrDefault,Iu=G.options.resolve,lw={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:lc.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(p){return p}}};function hc(p){var g=p.ticks;return g.display&&p.display?pc(g.fontSize,oe.global.defaultFontSize)+2*g.backdropPaddingY:0}function cw(p,g,y){return G.isArray(y)?{w:G.longestText(p,p.font,y),h:y.length*g}:{w:p.measureText(y).width,h:g}}function Mu(p,g,y,_,w){return p===_||p===w?{start:g-y/2,end:g+y/2}:p<_||p>w?{start:g-y,end:g}:{start:g,end:g+y}}function dw(p){var w,C,T,g=G.options._parseFont(p.options.pointLabels),y={l:0,r:p.width,t:0,b:p.height-p.paddingTop},_={};p.ctx.font=g.string,p._pointLabelSizes=[];var O=p.chart.data.labels.length;for(w=0;w<O;w++){T=p.getPointPosition(w,p.drawingArea+5),C=cw(p.ctx,g.lineHeight,p.pointLabels[w]),p._pointLabelSizes[w]=C;var P=p.getIndexAngle(w),L=G.toDegrees(P)%360,E=Mu(L,T.x,C.w,0,180),H=Mu(L,T.y,C.h,90,270);E.start<y.l&&(y.l=E.start,_.l=P),E.end>y.r&&(y.r=E.end,_.r=P),H.start<y.t&&(y.t=H.start,_.t=P),H.end>y.b&&(y.b=H.end,_.b=P)}p.setReductions(p.drawingArea,y,_)}function Pf(p){return 0===p||180===p?"center":p<180?"left":"right"}function mb(p,g,y,_){var C,T,w=y.y+_/2;if(G.isArray(g))for(C=0,T=g.length;C<T;++C)p.fillText(g[C],y.x,w),w+=_;else p.fillText(g,y.x,w)}function uw(p,g,y){90===p||270===p?y.y-=g.h/2:(p>270||p<90)&&(y.y-=g.h)}function fb(p){var g=p.ctx,y=p.options,_=y.pointLabels,w=hc(y),C=p.getDistanceFromCenterForValue(y.ticks.reverse?p.min:p.max),T=G.options._parseFont(_);g.save(),g.font=T.string,g.textBaseline="middle";for(var O=p.chart.data.labels.length-1;O>=0;O--){var P=0===O?w/2:0,L=p.getPointPosition(O,C+P+5),E=Tf(_.fontColor,O,oe.global.defaultFontColor);g.fillStyle=E;var H=p.getIndexAngle(O),J=G.toDegrees(H);g.textAlign=Pf(J),uw(J,p._pointLabelSizes[O],L),mb(g,p.pointLabels[O],L,T.lineHeight)}g.restore()}function gb(p,g,y,_){var L,w=p.ctx,C=g.circular,T=p.chart.data.labels.length,O=Tf(g.color,_-1),P=Tf(g.lineWidth,_-1);if((C||T)&&O&&P){if(w.save(),w.strokeStyle=O,w.lineWidth=P,w.setLineDash&&(w.setLineDash(g.borderDash||[]),w.lineDashOffset=g.borderDashOffset||0),w.beginPath(),C)w.arc(p.xCenter,p.yCenter,y,0,2*Math.PI);else{L=p.getPointPosition(0,y),w.moveTo(L.x,L.y);for(var E=1;E<T;E++)L=p.getPointPosition(E,y),w.lineTo(L.x,L.y)}w.closePath(),w.stroke(),w.restore()}}function mc(p){return G.isNumber(p)?p:0}var If=Du.extend({setDimensions:function(){var p=this;p.width=p.maxWidth,p.height=p.maxHeight,p.paddingTop=hc(p.options)/2,p.xCenter=Math.floor(p.width/2),p.yCenter=Math.floor((p.height-p.paddingTop)/2),p.drawingArea=Math.min(p.height-p.paddingTop,p.width)/2},determineDataLimits:function(){var p=this,g=p.chart,y=Number.POSITIVE_INFINITY,_=Number.NEGATIVE_INFINITY;G.each(g.data.datasets,function(w,C){if(g.isDatasetVisible(C)){var T=g.getDatasetMeta(C);G.each(w.data,function(O,P){var L=+p.getRightValue(O);isNaN(L)||T.data[P].hidden||(y=Math.min(L,y),_=Math.max(L,_))})}}),p.min=y===Number.POSITIVE_INFINITY?0:y,p.max=_===Number.NEGATIVE_INFINITY?0:_,p.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/hc(this.options))},convertTicksToLabels:function(){var p=this;Du.prototype.convertTicksToLabels.call(p),p.pointLabels=p.chart.data.labels.map(function(){var g=G.callback(p.options.pointLabels.callback,arguments,p);return g||0===g?g:""})},getLabelForIndex:function(p,g){return+this.getRightValue(this.chart.data.datasets[g].data[p])},fit:function(){var p=this,g=p.options;g.display&&g.pointLabels.display?dw(p):p.setCenterPoint(0,0,0,0)},setReductions:function(p,g,y){var _=this,w=g.l/Math.sin(y.l),C=Math.max(g.r-_.width,0)/Math.sin(y.r),T=-g.t/Math.cos(y.t),O=-Math.max(g.b-(_.height-_.paddingTop),0)/Math.cos(y.b);w=mc(w),C=mc(C),T=mc(T),O=mc(O),_.drawingArea=Math.min(Math.floor(p-(w+C)/2),Math.floor(p-(T+O)/2)),_.setCenterPoint(w,C,T,O)},setCenterPoint:function(p,g,y,_){var w=this,C=w.width-g-w.drawingArea,T=p+w.drawingArea,O=y+w.drawingArea,P=w.height-w.paddingTop-_-w.drawingArea;w.xCenter=Math.floor((T+C)/2+w.left),w.yCenter=Math.floor((O+P)/2+w.top+w.paddingTop)},getIndexAngle:function(p){var g=this.chart,C=(p*(360/g.data.labels.length)+((g.options||{}).startAngle||0))%360;return(C<0?C+360:C)*Math.PI*2/360},getDistanceFromCenterForValue:function(p){var g=this;if(G.isNullOrUndef(p))return NaN;var y=g.drawingArea/(g.max-g.min);return g.options.ticks.reverse?(g.max-p)*y:(p-g.min)*y},getPointPosition:function(p,g){var y=this,_=y.getIndexAngle(p)-Math.PI/2;return{x:Math.cos(_)*g+y.xCenter,y:Math.sin(_)*g+y.yCenter}},getPointPositionForValue:function(p,g){return this.getPointPosition(p,this.getDistanceFromCenterForValue(g))},getBasePosition:function(p){var g=this,y=g.min,_=g.max;return g.getPointPositionForValue(p||0,g.beginAtZero?0:y<0&&_<0?_:y>0&&_>0?y:0)},_drawGrid:function(){var O,P,L,p=this,g=p.ctx,y=p.options,_=y.gridLines,w=y.angleLines,C=pc(w.lineWidth,_.lineWidth),T=pc(w.color,_.color);if(y.pointLabels.display&&fb(p),_.display&&G.each(p.ticks,function(E,H){0!==H&&(P=p.getDistanceFromCenterForValue(p.ticksAsNumbers[H]),gb(p,_,P,H))}),w.display&&C&&T){for(g.save(),g.lineWidth=C,g.strokeStyle=T,g.setLineDash&&(g.setLineDash(Iu([w.borderDash,_.borderDash,[]])),g.lineDashOffset=Iu([w.borderDashOffset,_.borderDashOffset,0])),O=p.chart.data.labels.length-1;O>=0;O--)P=p.getDistanceFromCenterForValue(y.ticks.reverse?p.min:p.max),L=p.getPointPosition(O,P),g.beginPath(),g.moveTo(p.xCenter,p.yCenter),g.lineTo(L.x,L.y),g.stroke();g.restore()}},_drawLabels:function(){var p=this,g=p.ctx,_=p.options.ticks;if(_.display){var O,P,w=p.getIndexAngle(0),C=G.options._parseFont(_),T=pc(_.fontColor,oe.global.defaultFontColor);g.save(),g.font=C.string,g.translate(p.xCenter,p.yCenter),g.rotate(w),g.textAlign="center",g.textBaseline="middle",G.each(p.ticks,function(L,E){0===E&&!_.reverse||(O=p.getDistanceFromCenterForValue(p.ticksAsNumbers[E]),_.showLabelBackdrop&&(P=g.measureText(L).width,g.fillStyle=_.backdropColor,g.fillRect(-P/2-_.backdropPaddingX,-O-C.size/2-_.backdropPaddingY,P+2*_.backdropPaddingX,C.size+2*_.backdropPaddingY)),g.fillStyle=T,g.fillText(L,0,-O))}),g.restore()}},_drawTitle:G.noop}),pw=lw;If._defaults=pw;var Mf=G._deprecated,vb=G.options.resolve,hw=G.valueOrDefault,Ab=Number.MIN_SAFE_INTEGER||-9007199254740991,Xr=Number.MAX_SAFE_INTEGER||9007199254740991,Si={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}},va=Object.keys(Si);function yb(p,g){return p-g}function mw(p){var _,w,C,g={},y=[];for(_=0,w=p.length;_<w;++_)g[C=p[_]]||(g[C]=!0,y.push(C));return y}function bb(p){return G.valueOrDefault(p.time.min,p.ticks.min)}function _b(p){return G.valueOrDefault(p.time.max,p.ticks.max)}function Ou(p,g,y,_){if("linear"===_||!p.length)return[{time:g,pos:0},{time:y,pos:1}];var T,O,P,L,E,w=[],C=[g];for(T=0,O=p.length;T<O;++T)(L=p[T])>g&&L<y&&C.push(L);for(C.push(y),T=0,O=C.length;T<O;++T)E=C[T+1],P=C[T-1],L=C[T],(void 0===P||void 0===E||Math.round((E+P)/2)!==L)&&w.push({time:L,pos:T/(O-1)});return w}function fw(p,g,y){for(var C,T,O,_=0,w=p.length-1;_>=0&&_<=w;){if(T=p[(C=_+w>>1)-1]||null,O=p[C],!T)return{lo:null,hi:O};if(O[g]<y)_=C+1;else{if(!(T[g]>y))return{lo:T,hi:O};w=C-1}}return{lo:O,hi:null}}function wi(p,g,y,_){var w=fw(p,g,y),C=w.lo?w.hi?w.lo:p[p.length-2]:p[0],T=w.lo?w.hi?w.hi:p[p.length-1]:p[1],O=T[g]-C[g],P=O?(y-C[g])/O:0,L=(T[_]-C[_])*P;return C[_]+L}function Of(p,g){var y=p._adapter,_=p.options.time,w=_.parser,C=w||_.format,T=g;return"function"==typeof w&&(T=w(T)),G.isFinite(T)||(T="string"==typeof C?y.parse(T,C):y.parse(T)),null!==T?+T:(!w&&"function"==typeof C&&(T=C(g),G.isFinite(T)||(T=y.parse(T))),T)}function fo(p,g){if(G.isNullOrUndef(g))return null;var y=p.options.time,_=Of(p,p.getRightValue(g));return null===_||y.round&&(_=+p._adapter.startOf(_,y.round)),_}function xb(p,g,y,_){var C,T,O,w=va.length;for(C=va.indexOf(p);C<w-1;++C)if(O=(T=Si[va[C]]).steps?T.steps:Xr,T.common&&Math.ceil((y-g)/(O*T.size))<=_)return va[C];return va[w-1]}function gw(p,g,y,_,w){var C,T;for(C=va.length-1;C>=va.indexOf(y);C--)if(T=va[C],Si[T].common&&p._adapter.diff(w,_,T)>=g-1)return T;return va[y?va.indexOf(y):0]}function vw(p){for(var g=va.indexOf(p)+1,y=va.length;g<y;++g)if(Si[va[g]].common)return va[g]}function Sb(p,g,y,_){var J,w=p._adapter,C=p.options,T=C.time,O=T.unit||xb(T.minUnit,g,y,_),P=vb([T.stepSize,T.unitStepSize,1]),L="week"===O&&T.isoWeekday,E=g,H=[];if(L&&(E=+w.startOf(E,"isoWeek",L)),E=+w.startOf(E,L?"day":O),w.diff(y,g,O)>1e5*P)throw g+" and "+y+" are too far apart with stepSize of "+P+" "+O;for(J=E;J<y;J=+w.add(J,P,O))H.push(J);return(J===y||"ticks"===C.bounds)&&H.push(J),H}function wb(p,g,y,_,w){var O,P,C=0,T=0;return w.offset&&g.length&&(O=wi(p,"time",g[0],"pos"),C=1===g.length?1-O:(wi(p,"time",g[1],"pos")-O)/2,P=wi(p,"time",g[g.length-1],"pos"),T=1===g.length?P:(P-wi(p,"time",g[g.length-2],"pos"))/2),{start:C,end:T,factor:1/(C+1+T)}}function Aw(p,g,y,_){var O,P,w=p._adapter,C=+w.startOf(g[0].value,_),T=g[g.length-1].value;for(O=C;O<=T;O=+w.add(O,1,_))(P=y[O])>=0&&(g[P].major=!0);return g}function kb(p,g,y){var T,O,_=[],w={},C=g.length;for(T=0;T<C;++T)w[O=g[T]]=T,_.push({value:O,major:!1});return 0!==C&&y?Aw(p,_,w,y):_}var yw={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}},Cb=fa.extend({initialize:function(){this.mergeTicksOptions(),fa.prototype.initialize.call(this)},update:function(){var p=this,g=p.options,y=g.time||(g.time={}),_=p._adapter=new Af._date(g.adapters.date);return Mf("time scale",y.format,"time.format","time.parser"),Mf("time scale",y.min,"time.min","ticks.min"),Mf("time scale",y.max,"time.max","ticks.max"),G.mergeIf(y.displayFormats,_.formats()),fa.prototype.update.apply(p,arguments)},getRightValue:function(p){return p&&void 0!==p.t&&(p=p.t),fa.prototype.getRightValue.call(this,p)},determineDataLimits:function(){var E,H,J,et,at,it,dt,p=this,g=p.chart,y=p._adapter,_=p.options,w=_.time.unit||"day",C=Xr,T=Ab,O=[],P=[],L=[],Pt=p._getLabels();for(E=0,J=Pt.length;E<J;++E)L.push(fo(p,Pt[E]));for(E=0,J=(g.data.datasets||[]).length;E<J;++E)if(g.isDatasetVisible(E))if(at=g.data.datasets[E].data,G.isObject(at[0]))for(P[E]=[],H=0,et=at.length;H<et;++H)it=fo(p,at[H]),O.push(it),P[E][H]=it;else P[E]=L.slice(0),dt||(O=O.concat(L),dt=!0);else P[E]=[];L.length&&(C=Math.min(C,L[0]),T=Math.max(T,L[L.length-1])),O.length&&(O=J>1?mw(O).sort(yb):O.sort(yb),C=Math.min(C,O[0]),T=Math.max(T,O[O.length-1])),C=fo(p,bb(_))||C,T=fo(p,_b(_))||T,C=C===Xr?+y.startOf(Date.now(),w):C,T=T===Ab?+y.endOf(Date.now(),w)+1:T,p.min=Math.min(C,T),p.max=Math.max(C+1,T),p._table=[],p._timestamps={data:O,datasets:P,labels:L}},buildTicks:function(){var H,J,et,p=this,g=p.min,y=p.max,_=p.options,w=_.ticks,C=_.time,T=p._timestamps,O=[],P=p.getLabelCapacity(g),L=w.source,E=_.distribution;for(T="data"===L||"auto"===L&&"series"===E?T.data:"labels"===L?T.labels:Sb(p,g,y,P),"ticks"===_.bounds&&T.length&&(g=T[0],y=T[T.length-1]),g=fo(p,bb(_))||g,y=fo(p,_b(_))||y,H=0,J=T.length;H<J;++H)(et=T[H])>=g&&et<=y&&O.push(et);return p.min=g,p.max=y,p._unit=C.unit||(w.autoSkip?xb(C.minUnit,p.min,p.max,P):gw(p,O.length,C.minUnit,p.min,p.max)),p._majorUnit=w.major.enabled&&"year"!==p._unit?vw(p._unit):void 0,p._table=Ou(p._timestamps.data,g,y,E),p._offsets=wb(p._table,O,g,y,_),w.reverse&&O.reverse(),kb(p,O,p._majorUnit)},getLabelForIndex:function(p,g){var y=this,_=y._adapter,w=y.chart.data,C=y.options.time,T=w.labels&&p<w.labels.length?w.labels[p]:"",O=w.datasets[g].data[p];return G.isObject(O)&&(T=y.getRightValue(O)),C.tooltipFormat?_.format(Of(y,T),C.tooltipFormat):"string"==typeof T?T:_.format(Of(y,T),C.displayFormats.datetime)},tickFormatFunction:function(p,g,y,_){var w=this,C=w._adapter,T=w.options,O=T.time.displayFormats,P=O[w._unit],L=w._majorUnit,E=O[L],H=y[g],J=T.ticks,et=L&&E&&H&&H.major,at=C.format(p,_||(et?E:P)),it=et?J.major:J.minor,dt=vb([it.callback,it.userCallback,J.callback,J.userCallback]);return dt?dt(at,g,y):at},convertTicksToLabels:function(p){var y,_,g=[];for(y=0,_=p.length;y<_;++y)g.push(this.tickFormatFunction(p[y].value,y,p));return g},getPixelForOffset:function(p){var g=this,y=g._offsets,_=wi(g._table,"time",p,"pos");return g.getPixelForDecimal((y.start+_)*y.factor)},getPixelForValue:function(p,g,y){var _=this,w=null;if(void 0!==g&&void 0!==y&&(w=_._timestamps.datasets[y][g]),null===w&&(w=fo(_,p)),null!==w)return _.getPixelForOffset(w)},getPixelForTick:function(p){var g=this.getTicks();return p>=0&&p<g.length?this.getPixelForOffset(g[p].value):null},getValueForPixel:function(p){var g=this,y=g._offsets,_=g.getDecimalForPixel(p)/y.factor-y.end,w=wi(g._table,"pos",_,"time");return g._adapter._create(w)},_getLabelSize:function(p){var g=this,y=g.options.ticks,_=g.ctx.measureText(p).width,w=G.toRadians(g.isHorizontal()?y.maxRotation:y.minRotation),C=Math.cos(w),T=Math.sin(w),O=hw(y.fontSize,oe.global.defaultFontSize);return{w:_*C+O*T,h:_*T+O*C}},getLabelWidth:function(p){return this._getLabelSize(p).w},getLabelCapacity:function(p){var g=this,y=g.options.time,_=y.displayFormats,w=_[y.unit]||_.millisecond,C=g.tickFormatFunction(p,0,kb(g,[p],g._majorUnit),w),T=g._getLabelSize(C),O=Math.floor(g.isHorizontal()?g.width/T.w:g.height/T.h);return g.options.offset&&O--,O>0?O:1}}),bw=yw;Cb._defaults=bw;var _w={category:cb,linear:ub,logarithmic:Pu,radialLinear:If,time:Cb},xw={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Af._date.override("function"==typeof lt?{_id:"moment",formats:function(){return xw},parse:function(p,g){return"string"==typeof p&&"string"==typeof g?p=lt(p,g):p instanceof lt||(p=lt(p)),p.isValid()?p.valueOf():null},format:function(p,g){return lt(p).format(g)},add:function(p,g,y){return lt(p).add(g,y).valueOf()},diff:function(p,g,y){return lt(p).diff(lt(g),y)},startOf:function(p,g,y){return p=lt(p),"isoWeek"===g?p.isoWeekday(y).valueOf():p.startOf(g).valueOf()},endOf:function(p,g){return lt(p).endOf(g).valueOf()},_create:function(p){return lt(p)}}:{}),oe._set("global",{plugins:{filler:{propagate:!0}}});var Sw={dataset:function(p){var g=p.fill,y=p.chart,_=y.getDatasetMeta(g),C=_&&y.isDatasetVisible(g)&&_.dataset._children||[],T=C.length||0;return T?function(O,P){return P<T&&C[P]._view||null}:null},boundary:function(p){var g=p.boundary,y=g?g.x:null,_=g?g.y:null;return G.isArray(g)?function(w,C){return g[C]}:function(w){return{x:null===y?w.x:y,y:null===_?w.y:_}}}};function ww(p,g,y){var C,_=p._model||{},w=_.fill;if(void 0===w&&(w=!!_.backgroundColor),!1===w||null===w)return!1;if(!0===w)return"origin";if(C=parseFloat(w,10),isFinite(C)&&Math.floor(C)===C)return("-"===w[0]||"+"===w[0])&&(C=g+C),!(C===g||C<0||C>=y)&&C;switch(w){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return w;default:return!1}}function kw(p){var C,g=p.el._model||{},y=p.el._scale||{},_=p.fill,w=null;if(isFinite(_))return null;if("start"===_?w=void 0===g.scaleBottom?y.bottom:g.scaleBottom:"end"===_?w=void 0===g.scaleTop?y.top:g.scaleTop:void 0!==g.scaleZero?w=g.scaleZero:y.getBasePixel&&(w=y.getBasePixel()),null!=w){if(void 0!==w.x&&void 0!==w.y)return w;if(G.isFinite(w))return{x:(C=y.isHorizontal())?w:null,y:C?null:w}}return null}function Cw(p){var T,O,P,L,E,g=p.el._scale,y=g.options,_=g.chart.data.labels.length,w=p.fill,C=[];if(!_)return null;for(T=y.ticks.reverse?g.max:g.min,O=y.ticks.reverse?g.min:g.max,P=g.getPointPositionForValue(0,T),L=0;L<_;++L)E="start"===w||"end"===w?g.getPointPositionForValue(L,"start"===w?T:O):g.getBasePosition(L),y.gridLines.circular&&(E.cx=P.x,E.cy=P.y,E.angle=g.getIndexAngle(L)-Math.PI/2),C.push(E);return C}function Dw(p){return(p.el._scale||{}).getPointPositionForValue?Cw(p):kw(p)}function Tw(p,g,y){var T,w=p[g].fill,C=[g];if(!y)return w;for(;!1!==w&&-1===C.indexOf(w);){if(!isFinite(w))return w;if(!(T=p[w]))return!1;if(T.visible)return w;C.push(w),w=T.fill}return!1}function Pw(p){var g=p.fill,y="dataset";return!1===g?null:(isFinite(g)||(y="boundary"),Sw[y](p))}function Db(p){return p&&!p.skip}function Tb(p,g,y,_,w){var C,T,O,P;if(_&&w){for(p.moveTo(g[0].x,g[0].y),C=1;C<_;++C)G.canvas.lineTo(p,g[C-1],g[C]);if(void 0!==y[0].angle){for(T=y[0].cx,O=y[0].cy,P=Math.sqrt(Math.pow(y[0].x-T,2)+Math.pow(y[0].y-O,2)),C=w-1;C>0;--C)p.arc(T,O,P,y[C].angle,y[C-1].angle,!0);return}for(p.lineTo(y[w-1].x,y[w-1].y),C=w-1;C>0;--C)G.canvas.lineTo(p,y[C],y[C-1],!0)}}function Iw(p,g,y,_,w,C){var J,et,at,it,dt,Pt,Gt,Zt,T=g.length,O=_.spanGaps,P=[],L=[],E=0,H=0;for(p.beginPath(),J=0,et=T;J<et;++J)dt=y(it=g[at=J%T]._view,at,_),Pt=Db(it),Gt=Db(dt),C&&void 0===Zt&&Pt&&(et=T+(Zt=J+1)),Pt&&Gt?(E=P.push(it),H=L.push(dt)):E&&H&&(O?(Pt&&P.push(it),Gt&&L.push(dt)):(Tb(p,P,L,E,H),E=H=0,P=[],L=[]));Tb(p,P,L,E,H),p.closePath(),p.fillStyle=w,p.fill()}var Mw={id:"filler",afterDatasetsUpdate:function(p,g){var C,T,O,P,y=(p.data.datasets||[]).length,_=g.propagate,w=[];for(T=0;T<y;++T)P=null,(O=(C=p.getDatasetMeta(T)).dataset)&&O._model&&O instanceof ma.Line&&(P={visible:p.isDatasetVisible(T),fill:ww(O,T,y),chart:p,el:O}),C.$filler=P,w.push(P);for(T=0;T<y;++T)(P=w[T])&&(P.fill=Tw(w,T,_),P.boundary=Dw(P),P.mapper=Pw(P))},beforeDatasetsDraw:function(p){var _,w,C,T,O,P,L,g=p._getSortedVisibleDatasetMetas(),y=p.ctx;for(w=g.length-1;w>=0;--w)(_=g[w].$filler)&&_.visible&&(T=(C=_.el)._view,O=C._children||[],P=_.mapper,L=T.backgroundColor||oe.global.defaultColor,P&&L&&O.length&&(G.canvas.clipArea(y,p.chartArea),Iw(y,O,P,T,L,C._loop),G.canvas.unclipArea(y)))}},Ow=G.rtl.getRtlAdapter,ki=G.noop,Ci=G.valueOrDefault;function Rf(p,g){return p.usePointStyle&&p.boxWidth>g?g:p.boxWidth}oe._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(p,g){var y=g.datasetIndex,_=this.chart,w=_.getDatasetMeta(y);w.hidden=null===w.hidden?!_.data.datasets[y].hidden:null,_.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(p){var g=p.data.datasets,y=p.options.legend||{},_=y.labels&&y.labels.usePointStyle;return p._getSortedDatasetMetas().map(function(w){var C=w.controller.getStyle(_?0:void 0);return{text:g[w.index].label,fillStyle:C.backgroundColor,hidden:!p.isDatasetVisible(w.index),lineCap:C.borderCapStyle,lineDash:C.borderDash,lineDashOffset:C.borderDashOffset,lineJoin:C.borderJoinStyle,lineWidth:C.borderWidth,strokeStyle:C.borderColor,pointStyle:C.pointStyle,rotation:C.rotation,datasetIndex:w.index}},this)}}},legendCallback:function(p){var _,w,C,g=document.createElement("ul"),y=p.data.datasets;for(g.setAttribute("class",p.id+"-legend"),_=0,w=y.length;_<w;_++)(C=g.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=y[_].backgroundColor,y[_].label&&C.appendChild(document.createTextNode(y[_].label));return g.outerHTML}});var Pb=vr.extend({initialize:function(p){var g=this;G.extend(g,p),g.legendHitBoxes=[],g._hoveredItem=null,g.doughnutMode=!1},beforeUpdate:ki,update:function(p,g,y){var _=this;return _.beforeUpdate(),_.maxWidth=p,_.maxHeight=g,_.margins=y,_.beforeSetDimensions(),_.setDimensions(),_.afterSetDimensions(),_.beforeBuildLabels(),_.buildLabels(),_.afterBuildLabels(),_.beforeFit(),_.fit(),_.afterFit(),_.afterUpdate(),_.minSize},afterUpdate:ki,beforeSetDimensions:ki,setDimensions:function(){var p=this;p.isHorizontal()?(p.width=p.maxWidth,p.left=0,p.right=p.width):(p.height=p.maxHeight,p.top=0,p.bottom=p.height),p.paddingLeft=0,p.paddingTop=0,p.paddingRight=0,p.paddingBottom=0,p.minSize={width:0,height:0}},afterSetDimensions:ki,beforeBuildLabels:ki,buildLabels:function(){var p=this,g=p.options.labels||{},y=G.callback(g.generateLabels,[p.chart],p)||[];g.filter&&(y=y.filter(function(_){return g.filter(_,p.chart.data)})),p.options.reverse&&y.reverse(),p.legendItems=y},afterBuildLabels:ki,beforeFit:ki,fit:function(){var p=this,g=p.options,y=g.labels,_=g.display,w=p.ctx,C=G.options._parseFont(y),T=C.size,O=p.legendHitBoxes=[],P=p.minSize,L=p.isHorizontal();if(L?(P.width=p.maxWidth,P.height=_?10:0):(P.width=_?10:0,P.height=p.maxHeight),_){if(w.font=C.string,L){var E=p.lineWidths=[0],H=0;w.textAlign="left",w.textBaseline="middle",G.each(p.legendItems,function(Gt,Zt){var ge=Rf(y,T)+T/2+w.measureText(Gt.text).width;(0===Zt||E[E.length-1]+ge+2*y.padding>P.width)&&(H+=T+y.padding,E[E.length-(Zt>0?0:1)]=0),O[Zt]={left:0,top:0,width:ge,height:T},E[E.length-1]+=ge+y.padding}),P.height+=H}else{var J=y.padding,et=p.columnWidths=[],at=p.columnHeights=[],it=y.padding,dt=0,Pt=0;G.each(p.legendItems,function(Gt,Zt){var ge=Rf(y,T)+T/2+w.measureText(Gt.text).width;Zt>0&&Pt+T+2*J>P.height&&(it+=dt+y.padding,et.push(dt),at.push(Pt),dt=0,Pt=0),dt=Math.max(dt,ge),Pt+=T+J,O[Zt]={left:0,top:0,width:ge,height:T}}),it+=dt,et.push(dt),at.push(Pt),P.width+=it}p.width=P.width,p.height=P.height}else p.width=P.width=p.height=P.height=0},afterFit:ki,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var p=this,g=p.options,y=g.labels,_=oe.global,w=_.defaultColor,C=_.elements.line,T=p.height,O=p.columnHeights,P=p.width,L=p.lineWidths;if(g.display){var it,E=Ow(g.rtl,p.left,p.minSize.width),H=p.ctx,J=Ci(y.fontColor,_.defaultFontColor),et=G.options._parseFont(y),at=et.size;H.textAlign=E.textAlign("left"),H.textBaseline="middle",H.lineWidth=.5,H.strokeStyle=J,H.fillStyle=J,H.font=et.string;var dt=Rf(y,at),Pt=p.legendHitBoxes,Gt=function(Le,Ke,sn){if(!(isNaN(dt)||dt<=0)){H.save();var Fn=Ci(sn.lineWidth,C.borderWidth);if(H.fillStyle=Ci(sn.fillStyle,w),H.lineCap=Ci(sn.lineCap,C.borderCapStyle),H.lineDashOffset=Ci(sn.lineDashOffset,C.borderDashOffset),H.lineJoin=Ci(sn.lineJoin,C.borderJoinStyle),H.lineWidth=Fn,H.strokeStyle=Ci(sn.strokeStyle,w),H.setLineDash&&H.setLineDash(Ci(sn.lineDash,C.borderDash)),y&&y.usePointStyle){var In=dt*Math.SQRT2/2,Cn=E.xPlus(Le,dt/2),Hn=Ke+at/2;G.canvas.drawPoint(H,sn.pointStyle,In,Cn,Hn,sn.rotation)}else H.fillRect(E.leftForLtr(Le,dt),Ke,dt,at),0!==Fn&&H.strokeRect(E.leftForLtr(Le,dt),Ke,dt,at);H.restore()}},Zt=function(Le,Ke,sn,Fn){var In=at/2,Cn=E.xPlus(Le,dt+In),Hn=Ke+In;H.fillText(sn.text,Cn,Hn),sn.hidden&&(H.beginPath(),H.lineWidth=2,H.moveTo(Cn,Hn),H.lineTo(E.xPlus(Cn,Fn),Hn),H.stroke())},Ae=function(Le,Ke){switch(g.align){case"start":return y.padding;case"end":return Le-Ke;default:return(Le-Ke+y.padding)/2}},ge=p.isHorizontal();it=ge?{x:p.left+Ae(P,L[0]),y:p.top+y.padding,line:0}:{x:p.left+y.padding,y:p.top+Ae(T,O[0]),line:0},G.rtl.overrideTextDirection(p.ctx,g.textDirection);var Ve=at+y.padding;G.each(p.legendItems,function(Le,Ke){var sn=H.measureText(Le.text).width,Fn=dt+at/2+sn,In=it.x,Cn=it.y;E.setWidth(p.minSize.width),ge?Ke>0&&In+Fn+y.padding>p.left+p.minSize.width&&(Cn=it.y+=Ve,it.line++,In=it.x=p.left+Ae(P,L[it.line])):Ke>0&&Cn+Ve>p.top+p.minSize.height&&(In=it.x=In+p.columnWidths[it.line]+y.padding,it.line++,Cn=it.y=p.top+Ae(T,O[it.line]));var Hn=E.x(In);Gt(Hn,Cn,Le),Pt[Ke].left=E.leftForLtr(Hn,Pt[Ke].width),Pt[Ke].top=Cn,Zt(Hn,Cn,Le,sn),ge?it.x+=Fn+y.padding:it.y+=Ve}),G.rtl.restoreTextDirection(p.ctx,g.textDirection)}},_getLegendItemAt:function(p,g){var _,w,C,y=this;if(p>=y.left&&p<=y.right&&g>=y.top&&g<=y.bottom)for(C=y.legendHitBoxes,_=0;_<C.length;++_)if(p>=(w=C[_]).left&&p<=w.left+w.width&&g>=w.top&&g<=w.top+w.height)return y.legendItems[_];return null},handleEvent:function(p){var w,g=this,y=g.options,_="mouseup"===p.type?"click":p.type;if("mousemove"===_){if(!y.onHover&&!y.onLeave)return}else{if("click"!==_)return;if(!y.onClick)return}w=g._getLegendItemAt(p.x,p.y),"click"===_?w&&y.onClick&&y.onClick.call(g,p.native,w):(y.onLeave&&w!==g._hoveredItem&&(g._hoveredItem&&y.onLeave.call(g,p.native,g._hoveredItem),g._hoveredItem=w),y.onHover&&w&&y.onHover.call(g,p.native,w))}});function Ib(p,g){var y=new Pb({ctx:p.ctx,options:g,chart:p});Ia.configure(p,y,g),Ia.addBox(p,y),p.legend=y}var Rw={id:"legend",_element:Pb,beforeInit:function(p){var g=p.options.legend;g&&Ib(p,g)},beforeUpdate:function(p){var g=p.options.legend,y=p.legend;g?(G.mergeIf(g,oe.global.legend),y?(Ia.configure(p,y,g),y.options=g):Ib(p,g)):y&&(Ia.removeBox(p,y),delete p.legend)},afterEvent:function(p,g){var y=p.legend;y&&y.handleEvent(g)}},br=G.noop;oe._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Mb=vr.extend({initialize:function(p){var g=this;G.extend(g,p),g.legendHitBoxes=[]},beforeUpdate:br,update:function(p,g,y){var _=this;return _.beforeUpdate(),_.maxWidth=p,_.maxHeight=g,_.margins=y,_.beforeSetDimensions(),_.setDimensions(),_.afterSetDimensions(),_.beforeBuildLabels(),_.buildLabels(),_.afterBuildLabels(),_.beforeFit(),_.fit(),_.afterFit(),_.afterUpdate(),_.minSize},afterUpdate:br,beforeSetDimensions:br,setDimensions:function(){var p=this;p.isHorizontal()?(p.width=p.maxWidth,p.left=0,p.right=p.width):(p.height=p.maxHeight,p.top=0,p.bottom=p.height),p.paddingLeft=0,p.paddingTop=0,p.paddingRight=0,p.paddingBottom=0,p.minSize={width:0,height:0}},afterSetDimensions:br,beforeBuildLabels:br,buildLabels:br,afterBuildLabels:br,beforeFit:br,fit:function(){var C,p=this,g=p.options,y=p.minSize={},_=p.isHorizontal();g.display?(C=(G.isArray(g.text)?g.text.length:1)*G.options._parseFont(g).lineHeight+2*g.padding,p.width=y.width=_?p.maxWidth:C,p.height=y.height=_?C:p.maxHeight):p.width=y.width=p.height=y.height=0},afterFit:br,isHorizontal:function(){var p=this.options.position;return"top"===p||"bottom"===p},draw:function(){var p=this,g=p.ctx,y=p.options;if(y.display){var H,J,et,_=G.options._parseFont(y),w=_.lineHeight,C=w/2+y.padding,T=0,O=p.top,P=p.left,L=p.bottom,E=p.right;g.fillStyle=G.valueOrDefault(y.fontColor,oe.global.defaultFontColor),g.font=_.string,p.isHorizontal()?(J=P+(E-P)/2,et=O+C,H=E-P):(J="left"===y.position?P+C:E-C,et=O+(L-O)/2,H=L-O,T=Math.PI*("left"===y.position?-.5:.5)),g.save(),g.translate(J,et),g.rotate(T),g.textAlign="center",g.textBaseline="middle";var at=y.text;if(G.isArray(at))for(var it=0,dt=0;dt<at.length;++dt)g.fillText(at[dt],0,it,H),it+=w;else g.fillText(at,0,0,H);g.restore()}}});function Ob(p,g){var y=new Mb({ctx:p.ctx,options:g,chart:p});
1Ia.configure(p,y,g),Ia.addBox(p,y),p.titleBlock=y}var Di={},Nw=Mw,Uw=Rw,Fw={id:"title",_element:Mb,beforeInit:function(p){var g=p.options.title;g&&Ob(p,g)},beforeUpdate:function(p){var g=p.options.title,y=p.titleBlock;g?(G.mergeIf(g,oe.global.title),y?(Ia.configure(p,y,g),y.options=g):Ob(p,g)):y&&(Ia.removeBox(p,y),delete p.titleBlock)}};for(var Lf in Di.filler=Nw,Di.legend=Uw,Di.title=Fw,be.helpers=G,wu(),be._adapters=Af,be.Animation=tf,be.animationService=Gr,be.controllers=of,be.DatasetController=Ba,be.defaults=oe,be.Element=vr,be.elements=ma,be.Interaction=qn,be.layouts=Ia,be.platform=ws,be.plugins=Ye,be.Scale=fa,be.scaleService=_i,be.Ticks=lc,be.Tooltip=vf,be.helpers.each(_w,function(p,g){be.scaleService.registerScaleType(g,p,p._defaults)}),Di)Di.hasOwnProperty(Lf)&&be.plugins.register(Di[Lf]);be.platform.initialize();var Vw=be;return typeof window<"u"&&(window.Chart=be),be.Chart=be,be.Legend=Di.legend._element,be.Title=Di.title._element,be.pluginService=be.plugins,be.PluginBase=be.Element.extend({}),be.canvasHelpers=be.helpers.canvas,be.layoutService=be.layouts,be.LinearScaleBase=Du,be.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(p){be[p]=function(g,y){return new be(g,be.helpers.merge(y||{},{type:p.charAt(0).toLowerCase()+p.slice(1)}))}}),Vw}(function(){try{return F(15439)}catch{}}())},6192:ut=>{"use strict";ut.exports='@charset "UTF-8";\n@media print {\n @page {\n size: A4;\n margin: 0;\n }\n body {\n width: 21cm;\n /* \u6839\u636e\u9700\u6c42\u81ea\u5b9a\u4e49\u5177\u4f53\u6570\u503c */\n padding: 0;\n margin: 0 auto;\n word-wrap: break-all;\n }\n\n p {\n font-size: 13px !important;\n }\n\n #content {\n position: fixed;\n top: 0;\n left: 0;\n padding: 0.5cm 0.2cm;\n width: 100%;\n margin: auto;\n }\n #content > .card {\n display: flex;\n justify-content: stretch;\n align-items: flex-start;\n }\n}\n@media print {\n @page {\n size: A4;\n margin: 0;\n }\n body {\n width: 21cm;\n /* \u6839\u636e\u9700\u6c42\u81ea\u5b9a\u4e49\u5177\u4f53\u6570\u503c */\n padding: 0;\n margin: 0 auto;\n word-wrap: break-all;\n }\n\n .hidden-print {\n display: none;\n }\n\n p {\n font-size: 13px !important;\n }\n\n .forPrint {\n margin: 0;\n }\n\n #content {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n margin: auto;\n }\n}\np {\n font-size: 15px;\n}\n.textRemark {\n border: none;\n outline: none;\n resize: none !important;\n}\n.textDescription {\n outline: none;\n background-color: white;\n border: none !important;\n overflow-y: hidden !important;\n resize: none !important;\n}\n.mat-column-img_url {\n padding-left: 10px !important;\n}\ntextarea :focus-visible {\n border: 1px solid !important;\n outline: auto !important;\n}\n.order-info {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.order-info .calc-info {\n text-align: right;\n}\n.order-info .calc-info .left-label {\n display: inline-block;\n width: 150px;\n text-align: right;\n margin-right: 20px;\n}\n.order-info .right-value {\n text-align: left;\n width: 150px;\n}\n.order-title {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.infoPurchase {\n margin-right: 10px;\n margin-left: 30px;\n}\n.card {\n border: 1px solid #787474 !important;\n}\n::ng-deep .mat-form-field-infix {\n border-top: 0.84375em solid transparent !important;\n}'},18915:ut=>{"use strict";ut.exports='@charset "UTF-8";\n@media print {\n @page {\n size: A4;\n margin: 0;\n }\n body {\n width: 21cm;\n /* \u6839\u636e\u9700\u6c42\u81ea\u5b9a\u4e49\u5177\u4f53\u6570\u503c */\n padding: 0;\n margin: 0 auto;\n word-wrap: break-all;\n }\n\n p {\n font-size: 13px !important;\n }\n\n #content {\n position: fixed;\n top: 0;\n left: 0;\n padding: 0.5cm 0.2cm;\n width: 100%;\n margin: auto;\n }\n #content > .card {\n display: flex;\n justify-content: stretch;\n align-items: flex-start;\n }\n}\n@media print {\n @page {\n size: A4;\n margin: 0;\n }\n body {\n width: 21cm;\n /* \u6839\u636e\u9700\u6c42\u81ea\u5b9a\u4e49\u5177\u4f53\u6570\u503c */\n padding: 0;\n margin: 0 auto;\n word-wrap: break-all;\n }\n\n .hidden-print {\n display: none;\n }\n\n p {\n font-size: 13px !important;\n }\n\n .forPrint {\n margin: 0;\n }\n\n #content {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n margin: auto;\n }\n}\np {\n font-size: 15px;\n}\n.textRemark {\n border: none;\n outline: none;\n resize: none !important;\n}\n.textDescription {\n outline: none;\n background-color: white;\n border: none !important;\n overflow-y: hidden !important;\n resize: none !important;\n}\n.mat-column-img_url {\n padding-left: 10px !important;\n}\ntextarea :focus-visible {\n border: 1px solid !important;\n outline: auto !important;\n}\n.order-info {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.order-info .calc-info {\n text-align: right;\n}\n.order-info .calc-info .left-label {\n display: inline-block;\n width: 150px;\n text-align: right;\n margin-right: 20px;\n}\n.order-info .right-value {\n text-align: left;\n width: 150px;\n}\n.order-title {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.infoPurchase {\n margin-right: 10px;\n margin-left: 30px;\n}\n.card {\n border: 1px solid #787474 !important;\n}\n::ng-deep .mat-form-field-infix {\n border-top: 0.84375em solid transparent !important;\n}'},57997:ut=>{"use strict";ut.exports='@charset "UTF-8";\n@media print {\n @page {\n size: A4;\n margin: 0;\n }\n body {\n width: 21cm;\n /* \u6839\u636e\u9700\u6c42\u81ea\u5b9a\u4e49\u5177\u4f53\u6570\u503c */\n padding: 0;\n margin: 0 auto;\n word-wrap: break-all;\n }\n\n p {\n font-size: 13px !important;\n }\n\n #content {\n position: fixed;\n top: 0;\n left: 0;\n padding: 0.5cm 0.2cm;\n width: 100%;\n margin: auto;\n }\n #content > .card {\n display: flex;\n justify-content: stretch;
1\n align-items: flex-start;\n }\n}\n@media print {\n @page {\n size: A4;\n margin: 0;\n }\n body {\n width: 21cm;\n /* \u6839\u636e\u9700\u6c42\u81ea\u5b9a\u4e49\u5177\u4f53\u6570\u503c */\n padding: 0;\n margin: 0 auto;\n word-wrap: break-all;\n }\n\n .hidden-print {\n display: none;\n }\n\n p {\n font-size: 13px !important;\n }\n\n .forPrint {\n margin: 0;\n }\n\n #content {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n margin: auto;\n }\n}\np {\n font-size: 15px;\n}\n.textRemark {\n border: none;\n outline: none;\n resize: none !important;\n}\n.textDescription {\n outline: none;\n background-color: white;\n border: none !important;\n overflow-y: hidden !important;\n resize: none !important;\n}\n.mat-column-img_url {\n padding-left: 10px !important;\n}\ntextarea :focus-visible {\n border: 1px solid !important;\n outline: auto !important;\n}\n.order-info {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.order-info .calc-info {\n text-align: right;\n}\n.order-info .calc-info .left-label {\n display: inline-block;\n width: 150px;\n text-align: right;\n margin-right: 20px;\n}\n.order-info .right-value {\n text-align: left;\n width: 150px;\n}\n.order-title {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.infoPurchase {\n margin-right: 10px;\n margin-left: 30px;\n}\n.card {\n border: 1px solid #787474 !important;\n}\n::ng-deep .mat-form-field-infix {\n border-top: 0.84375em solid transparent !important;\n}'},60982:ut=>{"use strict";ut.exports='<div class="" id="forPrint">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n\n <h4 class=" font-weight-bold mb-4">\n {{ "nav_purchaseMgmt_purchaseOrders" | translate }}\n </h4>\n <div style="text-align: right">\n <button class="btn btn-primary mr-10" (click)="print()">\n {{ "Print" | translate }}\n </button>\n <button class="btn btn-primary" (click)="exportAsExcel()">\n {{ "Export-Excels" | translate }}\n </button>\n </div>\n </div>\n <div class="my-2" id="content">\n <div class="row mx-0">\n <div class="col-12">\n <div class="card">\n <div class="card-body p-0">\n <div class="row mx-0 py-3 justify-content-end px-2">\n <div class="text-center d-flex p-1 col-lg-4 col-md-4 col-sm-4 col-xs-12">\n <div *ngIf="currentPurchaseData" style="background-color: rgba(160, 160, 160, 0.411);border-radius: 5px;">\n <img [src]="currentPurchaseData.chain.chain_img?currentPurchaseData.chain.chain_img:\'../../../../../../assets/images/logo2.png\'" width="120px" height="50px" alt="">\n </div>\n <div class="titleheader px-2">\n <h4 class="mb-0">{{ "Purchase_order" | translate }}</h4>\n </div>\n </div>\n <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">\n <p class="mb-0 text-right" [ngStyle]="{\'font-size\':fontsize+\'px\'}"><span\n class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ "Number" | translate }}\n :</span>{{currentPurchaseData.order_number?currentPurchaseData.order_number:\'--\'}}\n </p>\n <p class="mb-0 text-right" [ngStyle]="{\'font-size\':fontsize+\'px\'}"><span\n class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ "Created at" | translate }}\n :</span>{{currentPurchaseData.created_at?currentPurchaseData.created_at:\'--\'}}\n </p>\n </div>\n \x3c!-- <div class="titleheader px-2">\n <h4 class="mb-0">{{ "Purchase_order" | translate }}</h4>\n </div> --\x3e\n </div>\n <div class="row mx-0 my-3 px-4">\n <div class="col-12 d-flex justify-content-between pl-0">\n <div class="card col-lg-5 col-md-5 col-sm-6 col-xs-12 px-0 mr-3">\n <div class="card-body">\n <p class="mb-1 text-capitalize"> <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'Chain/WareHouse\' | translate }}</span></p>\n <p class="mb-1 text-capitalize">
1\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company-name\' |\n translate\n }}:</span>\n {{ currentPurchaseData.chain &&\n currentPurchaseData.chain.chain_name?currentPurchaseData.chain.chain_name:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company_tax_number\' |\n translate\n }}:</span>\n {{ currentPurchaseData.chain &&\n currentPurchaseData.chain.tax_number?currentPurchaseData.chain.tax_number:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{\n \'company_person_contact\'\n |\n translate\n }}:</span>\n {{ currentPurchaseData.chain &&\n currentPurchaseData.chain.contact?currentPurchaseData.chain.contact:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company_address\' |\n translate\n }}:</span>\n {{ currentPurchaseData.chain &&\n currentPurchaseData.chain.adress?currentPurchaseData.chain.adress:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company_website\' |\n translate\n }}:</span>\n {{ currentPurchaseData.chain &&\n currentPurchaseData.chain.website?currentPurchaseData.chain.website:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{\n \'company_shipping_date\'\n |\n translate\n }}:</span>\n {{ currentPurchaseData &&\n currentPurchaseData.shipping_date?currentPurchaseData.shipping_date:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{\n \'company_shipping_address\'\n |\n translate\n }}:</span>\n {{ currentPurchaseData &&\n currentPurchaseData.shipping_address?currentPurchaseData.shipping_address:\'--\' }}\n </p>\n\n </div>\n\n </div>\n <div class="card col-lg-5 col-md-5 col-sm-6 col-xs-12 px-0">\n <div class="card-body">\n <p class="mb-1 text-capitalize"> <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'supplier\' | translate}}</span></p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company-name\' |\n translate\n }}:</span>\n {{ currentPurchaseData.supplier &&\n currentPurchaseData.supplier.company_name?currentPurchaseData.supplier.company_name:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">
1\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company_tax_number\' |\n translate\n }}:</span>\n {{ currentPurchaseData.supplier &&\n currentPurchaseData.supplier.tax_number?currentPurchaseData.supplier.tax_number:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{\n \'company_person_contact\'\n |\n translate\n }}:</span>\n {{ currentPurchaseData.supplier &&\n currentPurchaseData.supplier.contact?currentPurchaseData.supplier.contact:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'company_address\' |\n translate\n }}:</span>\n {{ currentPurchaseData.supplier &&\n currentPurchaseData.supplier.adress?currentPurchaseData.supplier.adress:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'company_website\' |\n translate\n }}:</span>\n {{ currentPurchaseData.supplier &&\n currentPurchaseData.supplier.website?currentPurchaseData.supplier.website:\'--\' }}\n </p>\n </div>\n </div>\n </div>\n </div>\n <div>\n <button (click)="addProductToOldPurchase()" type="submit" mat-raised-button style="\n background-color: rgba(184, 33, 38, 0.986);\n margin-right: 20px;\n display: inline-block;\n float: right;\n margin-top: 20px;\n margin-bottom: 10px;\n " [style.display]="\n currentPurchaseData.statut_id != 2 ? \'none\' : \'flex\'\n " [disabled]="currentPurchaseData.statut_id != 2">\n {{ "New Product" | translate }}\n </button>\n </div>\n <div class="ml-10 mr-10" *ngIf="dataSource.length">\n \x3c!-- ---------------------------- table ------------------------------------\x3e\n <app-common-search-list-table [tableName]="\'purchase_order_products\'" [dataSource]="dataSource" [isShowAdd]="false" \n class="text-primary" [isShowSearchBtn]="false" [isShowDisplayColumn]="true" [isFontsize]="true"\n [isFilterbyStatus]="false" [isBarecode]="true"\n [currencyDisplay]="true" (selectCurrency)="changeCurrency($event)"\n (sendFontSize)="getFontsize($event)"\n [pageInfo]="pageInfo" [columns]="columns" (pageChange)="handleChangePaginator($event)">\n </app-common-search-list-table>\n \x3c!-- ---------------------------- /table ------------------------------------\x3e\n </div>\n <div class="row justify-content-center my-4" *ngIf="currentPurchaseData && dataSource.length<2">\n <span class="font-weight-bold">{{\'no_data_available\'| translate}} </span>\n </div>\n <div class=" breakpageauto">\n <div class="row mx-0 p-2 justify-content-between">\n <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">\n \x3c!-- <p class="mb-0" [ngStyle]="{\'font-size\':fontsize+\'px\'}"><span class="small font-weight-bold mr-2">{{\n \'Payment-Method-Name\' | translate }}:\n </span>\n {{ currentPurchaseData.payment_method?.name | translate }}\n </p>\n <p class="mb-0">
1\n <span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ \'Information come from supplier describe :\' | translate }}</span>\n </p>\n <p *ngIf="currentPurchaseData.supplier.description==null">\n <span>{{\'no_data_available\'| translate}} </span>\n </p>\n <textarea name="" id="" cols="62" rows="4" class="textDescription text-dark" [ngStyle]="{\'font-size\':fontsize+\'px\'}" disabled>{{currentPurchaseData.supplier.description}}</textarea> --\x3e\n\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12 text-right">\n <p class="mb-0">\n <span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Total price\'\n | translate }}: </span>\n {{ currentPurchaseData.total_price| number: "0.2-2" }} {{currencySymbol}}\n </p>\n <p class="mb-0"><span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{\n \'Tax_amount\' | translate }}:</span>\n {{ currentPurchaseData.total_tax| number: "0.2-2" }} {{currencySymbol}}\n </p>\n <p class="mb-0">\n <span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Total Taxes Price\' |\n translate }}:</span>\n {{ currentPurchaseData.total_tax_price| number: "0.2-2" }} {{currencySymbol}}\n </p>\n\n </div>\n </div>\n <div class="row my-2 mx-0 p-2 justify-content-between">\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n <div class="card">\n <div class="card_body p-2">\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Sign\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'common_date\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'expiration_date\' | translate }}:\n </span>\n </p>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n <div class="card">\n <div class="card_body p-2">\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Sign\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'common_date\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'expiration_date\' | translate }}:\n </span>\n </p>\n </div>\n </div>\n </div>\n\n\n </div>\n <div class="row mx-2 p-2 pb-3 mb-3 ">\n <span class="mt-1 small font-weight-bold mx-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'remark\' |\n translate }}:</span>\n <span class="forprint">{{currentPurchaseData.remark}}</span>
1\n <span class="formedia">\n <textarea name="" id="" cols="62" rows="3" [value]="currentPurchaseData.remark" class="textRemark"\n [(ngModel)]="editremark"\n (blur)="changeRemark(editremark)"></textarea>\n </span>\n </div>\n </div>\n\n </div>\n </div>\n </div>\n </div>\n </div>\n'},16565:ut=>{"use strict";ut.exports='<div class="" id="forPrint">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <h4 class=" font-weight-bold mb-4">\n {{ "SalesOrder" | translate }}\n </h4>\n <div style="text-align: right">\n <button class="btn btn-primary mr-10" (click)="print()">\n {{ "Print" | translate }}\n </button>\n <button class="btn btn-primary mr-10" (click)="printList()">\n {{ "Print List" | translate }}\n </button>\n <button class="btn btn-primary mr-10" (click)="exportAsExcel()">\n {{ "Export-Excels" | translate }}\n </button>\n <button class="btn btn-primary" (click)="goCreatePicking()">\n {{ "b2b_picking_create_title" | translate }}\n </button>\n </div>\n</div>\n<div class="my-2" id="content">\n <div class="row mx-0">\n <div class="col-12">\n <div class="card">\n <div class="card-body p-0">\n <div class="row mx-0 py-3 justify-content-end px-2">\n <div class="text-center d-flex p-1 col-lg-4 col-md-4 col-sm-4 col-xs-12">\n <div *ngIf="currentPurchaseData" style="background-color: rgba(160, 160, 160, 0.411);border-radius: 5px;">\n <img [src]="currentPurchaseData.chain.chain_img?currentPurchaseData.chain.chain_img:\'../../../../../../assets/images/logo2.png\'" width="120px" height="50px" alt="">\n </div>\n <div class="titleheader px-2">\n <h4 class="mb-0">{{ "SalesOrder" | translate }}</h4>\n </div>\n </div>\n <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">\n\n <p class="mb-0 text-right" [ngStyle]="{\'font-size\':fontsize+\'px\'}"><span\n class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ "Type" | translate }}\n :</span>{{currentPurchaseData.source?currentPurchaseData.source:\'--\'}}\n </p>\n <p class="mb-0 text-right" [ngStyle]="{\'font-size\':fontsize+\'px\'}"><span\n class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ "Number" | translate }}\n :</span>{{currentPurchaseData.order_number?currentPurchaseData.order_number:\'--\'}}\n </p>\n <p class="mb-0 text-right" [ngStyle]="{\'font-size\':fontsize+\'px\'}"><span\n class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ "Created at" | translate }}\n :</span>{{currentPurchaseData.created_at?currentPurchaseData.created_at:\'--\'}}\n </p>\n </div>\n </div>\n <div class="row mx-0 my-3 px-4" id="printList_ignore_componey">\n <div class="col-12 d-flex justify-content-between pl-0">\n <div class="card col-lg-5 col-md-5 col-sm-6 col-xs-12 px-0 mr-3">\n <div class="card-body">\n <p class="mb-1 text-capitalize"> <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{currentPurchaseData && currentPurchaseData.source && currentPurchaseData.source === \'S2C\' ? \'member\' : currentPurchaseData && currentPurchaseData.source && currentPurchaseData.source === \'B2B\' ? \'customer\' : \'\'}}</span></p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company-name\' |\n translate\n }}:</span>\n {{ currentPurchaseData.buyer &&\n currentPurchaseData.buyer.company_name?currentPurchaseData.buyer.company_name:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">
1\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'company_address\' |\n translate\n }}:</span>\n {{ currentPurchaseData.buyer &&\n currentPurchaseData.buyer.adress?currentPurchaseData.buyer.adress:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company_tax_number\' | translate }}:</span>\n {{ currentPurchaseData.buyer && currentPurchaseData.buyer.vat_number ?currentPurchaseData.buyer.vat_number :\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'company_person_contact\'| translate }}:</span>\n {{ currentPurchaseData.buyer && currentPurchaseData.buyer.first_name && currentPurchaseData.buyer.last_name ? (currentPurchaseData.buyer.first_name + \' \' + currentPurchaseData.buyer.last_name) : \'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'contact_number\'| translate }}:</span>\n {{ currentPurchaseData.buyer && currentPurchaseData.buyer.phone ?currentPurchaseData.buyer.phone :\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'common_email\'| translate }}:</span>\n {{ currentPurchaseData.buyer && currentPurchaseData.buyer.email ?currentPurchaseData.buyer.email :\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'To\'| translate }}:</span>\n {{ currentPurchaseData.buyer && currentPurchaseData.buyer.recipient_name?currentPurchaseData.buyer.recipient_name:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'common_telephone\'| translate }}:</span>\n {{ currentPurchaseData.buyer && currentPurchaseData.buyer.recipient_phone?currentPurchaseData.buyer.recipient_phone:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'common_address\'| translate }}:</span>\n {{ currentPurchaseData.buyer && currentPurchaseData.buyer.delivery_address?currentPurchaseData.buyer.delivery_address:\'--\' }}\n </p>\n </div>\n </div>\n <div class="card col-lg-5 col-md-5 col-sm-6 col-xs-12 px-0">\n <div class="card-body">\n <p class="mb-1 text-capitalize"> <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'seller\' |translate }}</span></p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'Chain-Name\' | translate }}:</span>\n {{ currentPurchaseData.chain && currentPurchaseData.chain.chain_name?currentPurchaseData.chain.chain_name:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'Chain Adress\' | translate }}:</span>\n {{ currentPurchaseData.chain && currentPurchaseData.chain.adress?currentPurchaseData.chain.adress:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">
1\n <span class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company-name\' | translate }}:</span>\n {{ currentPurchaseData.chain && currentPurchaseData.chain.company_name?currentPurchaseData.chain.company_name:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company_tax_number\' | translate }}:</span>\n {{ currentPurchaseData.chain && currentPurchaseData.chain.tax_number?currentPurchaseData.chain.tax_number:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'company_person_contact\'| translate }}:</span>\n {{ currentPurchaseData.chain && currentPurchaseData.chain.first_responsible_name?currentPurchaseData.chain.first_responsible_name:\'
1--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'contact_number\'| translate }}:</span>\n {{ currentPurchaseData.chain && currentPurchaseData.chain.contact?currentPurchaseData.chain.contact:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'common_email\'| translate }}:</span>\n {{ currentPurchaseData.chain && currentPurchaseData.chain.email?currentPurchaseData.chain.email:\'--\' }}\n </p>\n </div>\n </div>\n </div>\n </div>\n <div id="printList_ignore_btn">\n <button (click)="addProductToOldPurchase()" type="submit" mat-raised-button style="\n background-color: rgba(184, 33, 38, 0.986);\n margin-right: 20px;\n display: inline-block;\n float: right;\n margin-top: 20px;\n margin-bottom: 10px;"\n [style.display]="currentPurchaseData.statut_id !== 2 ? \'none\' : \'flex\'" [disabled]="currentPurchaseData.statut_id !== 2">\n {{ "New Product" | translate }}\n </button>\n </div>\n <div class="ml-10 mr-10" *ngIf="dataSource.length">\n \x3c!-- ---------------------------- table ------------------------------------\x3e\n <app-common-search-list-table [dataSource]="dataSource" [isShowAdd]="false"\n class="text-primary" [isShowSearchBtn]="false" [isShowDisplayColumn]="true" [isFontsize]="true"\n [isFilterbyStatus]="false" [isBarecode]="true"\n [currencyDisplay]="false" (selectCurrency)="changeCurrency($event)"\n (sendFontSize)="getFontsize($event)"\n [pageInfo]="pageInfo" [columns]="columns"\n [tableName]="\'b2b_order_detail_product\'"\n (pageChange)="handleChangePaginator($event)">\n </app-common-search-list-table>\n \x3c!-- ---------------------------- /table ------------------------------------\x3e\n </div>\n <div class="row justify-content-center my-4" *ngIf="currentPurchaseData && dataSource.length<2">\n <span class="font-weight-bold">{{\'no_data_available\'| translate}} </span>\n </div>\n <div class=" breakpageauto">\n <div class="row mx-0 p-2 justify-content-between">\n <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12 text-right">\n\n <p class="mb-0">\n <span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Total price\' | translate }}: </span>\n {{ currentPurchaseData.order_payment_amount | number: "0.2-2" }} {{currencySymbol}}\n </p>\n <p class="mb-0">\n <span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Tax_amount\' | translate }}:</span>\n {{ currentPurchaseData.tax_amount | number: "0.2-2" }} {{currencySymbol}}\n </p>\n <p class="mb-0">\n <span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'special discount\' | translate }}: </span>\n {{ currentPurchaseData.discount_amount | number: "0.2-2" }} {{currencySymbol}}\n </p>\n <p class="mb-0">\n <span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Total Taxes Price\' |\n translate }}:</span>\n {{ currentPurchaseData.order_payment_amount*1 + currentPurchaseData.tax_amount*1 | number: "0.2-2" }} {{currencySymbol}}\n </p>\n\n </div>\n </div>\n <div class="row my-2 mx-0 p-2 justify-content-between" id="printList_ignore_sign">\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n <div class="card">\n <div class="card_body p-2">\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Sign\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'common_date\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'expiration_date\' | translate }}:\n </span>\n </p>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n <div class="card">\n <div class="card_body p-2">\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Sign\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'common_date\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'expiration_date\' | translate }}:\n </span>\n </p>\n </div>\n </div>\n </div>\n </div>\n <div class="row mx-2 p-2 pb-3 mb-3 ">
1\n <span class="mt-1 small font-weight-bold mx-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'remark\' |\n translate }}:</span>\n <span class="forprint">{{currentPurchaseData.remark}}</span>\n <span class="formedia card col-md-12">\n <textarea name="" id="" cols="62" rows="3" class="textRemark"\n [(ngModel)]="currentPurchaseData.remark"\n (blur)="changeRemark(currentPurchaseData.remark)"></textarea>\n </span>\n </div>\n </div>\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'},7447:ut=>{"use strict";ut.exports='<div class="" id="forPrint">\n <app-s2c-bread-crumbs></app-s2c-bread-crumbs>\n <h4 class=" font-weight-bold mb-4">\n {{ "SalesOrder" | translate }}\n </h4>\n <div style="text-align: right">\n <button class="btn btn-primary mr-10" (click)="print()">\n {{ "Print" | translate }}\n </button>\n <button class="btn btn-primary mr-10" (click)="printList()">\n {{ "Print List" | translate }}\n </button>\n <button class="btn btn-primary" (click)="exportAsExcel()">\n {{ "Export-Excels" | translate }}\n </button>\n </div>\n </div>\n <div class="my-2" id="content">\n <div class="row mx-0">\n <div class="col-12">\n <div class="card">\n <div class="card-body p-0">\n <div class="row mx-0 py-3 justify-content-end px-2">\n <div class="text-center d-flex p-1 col-lg-4 col-md-4 col-sm-4 col-xs-12">\n <div *ngIf="currentPurchaseData" style="background-color: rgba(160, 160, 160, 0.411);border-radius: 5px;">\n <img [src]="currentPurchaseData.chain.chain_img?currentPurchaseData.chain.chain_img:\'../../../../../../assets/images/logo2.png\'" width="120px" height="50px" alt="">\n </div>\n <div class="titleheader px-2">\n <h4 class="mb-0">{{ "SalesOrder" | translate }}</h4>\n </div>\n </div>\n <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">\n\n <p class="mb-0 text-right" [ngStyle]="{\'font-size\':fontsize+\'px\'}"><span\n class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ "Type" | translate }}\n :</span>{{currentPurchaseData.source?currentPurchaseData.source:\'--\'}}\n </p>\n <p class="mb-0 text-right" [ngStyle]="{\'font-size\':fontsize+\'px\'}"><span\n class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ "Number" | translate }}\n :</span>{{currentPurchaseData.order_number?currentPurchaseData.order_number:\'--\'}}\n </p>\n <p class="mb-0 text-right" [ngStyle]="{\'font-size\':fontsize+\'px\'}"><span\n class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">\n {{ "Created at" | translate }}\n :</span>{{currentPurchaseData.created_at?currentPurchaseData.created_at:\'--\'}}\n </p>\n </div>\n </div>\n <div class="row mx-0 my-3 px-4" id="printList_ignore_componey">\n <div class="col-12 d-flex justify-content-between pl-0">\n <div class="card col-lg-5 col-md-5 col-sm-6 col-xs-12 px-0 mr-3">\n <div class="card-body">\n <p class="mb-1 text-capitalize"> <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{currentPurchaseData && currentPurchaseData.source && currentPurchaseData.source === \'S2C\' ? \'member\' : currentPurchaseData && currentPurchaseData.source && currentPurchaseData.source === \'B2B\' ? \'customer\' : \'\'}}</span></p>\n <p class="mb-1 text-capitalize">
1\n <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company-name\' |\n translate\n }}:</span>\n {{ currentPurchaseData.buyer &&\n currentPurchaseData.buyer.company_name?currentPurchaseData.buyer.company_name:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'company_address\' |\n translate\n }}:</span>\n {{ currentPurchaseData.buyer &&\n currentPurchaseData.buyer.adress?currentPurchaseData.buyer.adress:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company_tax_number\' | translate }}:</span>\n {{ currentPurchaseData.buyer && currentPurchaseData.buyer.vat_number ?currentPurchaseData.buyer.vat_number :\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'company_person_contact\'| translate }}:</span>\n {{ currentPurchaseData.buyer && currentPurchaseData.buyer.first_name && currentPurchaseData.buyer.last_name ? (currentPurchaseData.buyer.first_name + \' \' + currentPurchaseData.buyer.last_name) : \'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'contact_number\'| translate }}:</span>\n {{ currentPurchaseData.buyer && currentPurchaseData.buyer.phone ?currentPurchaseData.buyer.phone :\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'common_email\'| translate }}:</span>\n {{ currentPurchaseData.buyer && currentPurchaseData.buyer.email ?currentPurchaseData.buyer.email :\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'To\'| translate }}:</span>\n {{ currentPurchaseData.buyer && currentPurchaseData.buyer.recipient_name?currentPurchaseData.buyer.recipient_name:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'common_telephone\'| translate }}:</span>\n {{ currentPurchaseData.buyer && currentPurchaseData.buyer.recipient_phone?currentPurchaseData.buyer.recipient_phone:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'common_address\'| translate }}:</span>\n {{ currentPurchaseData.buyer && currentPurchaseData.buyer.delivery_address?currentPurchaseData.buyer.delivery_address:\'--\' }}\n </p>\n </div>\n </div>\n <div class="card col-lg-5 col-md-5 col-sm-6 col-xs-12 px-0">\n <div class="card-body">\n <p class="mb-1 text-capitalize"> <span class="border-0 text-uppercase small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'seller\' |translate }}</span></p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'Chain-Name\' | translate }}:</span>\n {{ currentPurchaseData.chain && currentPurchaseData.chain.chain_name?currentPurchaseData.chain.chain_name:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">
1\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'Chain Adress\' | translate }}:</span>\n {{ currentPurchaseData.chain && currentPurchaseData.chain.adress?currentPurchaseData.chain.adress:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company-name\' | translate }}:</span>\n {{ currentPurchaseData.chain && currentPurchaseData.chain.company_name?currentPurchaseData.chain.company_name:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}"> {{ \'company_tax_number\' | translate }}:</span>\n {{ currentPurchaseData.chain && currentPurchaseData.chain.tax_number?currentPurchaseData.chain.tax_number:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'company_person_contact\'| translate }}:</span>\n {{ currentPurchaseData.chain && currentPurchaseData.chain.first_responsible_name?currentPurchaseData.chain.first_responsible_name:\'
1--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'contact_number\'| translate }}:</span>\n {{ currentPurchaseData.chain && currentPurchaseData.chain.contact?currentPurchaseData.chain.contact:\'--\' }}\n </p>\n <p class="mb-1 text-capitalize">\n <span class="border-0 text-uppercase small font-weight-bold mr-2"> {{ \'common_email\'| translate }}:</span>\n {{ currentPurchaseData.chain && currentPurchaseData.chain.email?currentPurchaseData.chain.email:\'--\' }}\n </p>\n </div>\n </div>\n </div>\n </div>\n <div id="printList_ignore_btn">\n <button (click)="addProductToOldPurchase()" type="submit" mat-raised-button style="\n background-color: rgba(184, 33, 38, 0.986);\n margin-right: 20px;\n display: inline-block;\n float: right;\n margin-top: 20px;\n margin-bottom: 10px;"\n [style.display]="currentPurchaseData.statut_id !== 2 ? \'none\' : \'flex\'" [disabled]="currentPurchaseData.statut_id !== 2">\n {{ "New Product" | translate }}\n </button>\n </div>\n <div class="ml-10 mr-10" *ngIf="dataSource.length">\n \x3c!-- ---------------------------- table ------------------------------------\x3e\n <app-common-search-list-table [dataSource]="dataSource" [isShowAdd]="false"\n class="text-primary" [isShowSearchBtn]="false" [isShowDisplayColumn]="true" [isFontsize]="true"\n [isFilterbyStatus]="false" [isBarecode]="true"\n [currencyDisplay]="false" (selectCurrency)="changeCurrency($event)"\n (sendFontSize)="getFontsize($event)"\n [pageInfo]="pageInfo" [columns]="columns"\n [tableName]="\'order_detail_product\'"\n (pageChange)="handleChangePaginator($event)">\n </app-common-search-list-table>\n \x3c!-- ---------------------------- /table ------------------------------------\x3e\n </div>\n <div class="row justify-content-center my-4" *ngIf="currentPurchaseData && dataSource.length<2">\n <span class="font-weight-bold">{{\'no_data_available\'| translate}} </span>\n </div>\n <div class=" breakpageauto">\n <div class="row mx-0 p-2 justify-content-between">\n <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12 text-right">\n <p class="mb-0">\n <span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Total price\' | translate }}: </span>\n {{ currentPurchaseData.order_payment_amount-currentPurchaseData.order_payment_amount * 0.22 | number: "0.2-2" }} {{currencySymbol}}\n </p>\n <p class="mb-0"><span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{\n \'Tax_amount\' | translate }}:</span>\n {{ currentPurchaseData.order_payment_amount * 0.22 | number: "0.2-2" }} {{currencySymbol}}\n </p>\n <p class="mb-0">\n <span class="small font-weight-bold mr-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Total Taxes Price\' |\n translate }}:</span>\n {{ currentPurchaseData.order_payment_amount| number: "0.2-2" }} {{currencySymbol}}\n </p>\n\n </div>\n </div>\n <div class="row my-2 mx-0 p-2 justify-content-between" id="printList_ignore_sign">\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n <div class="card">\n <div class="card_body p-2">\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Sign\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'common_date\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'expiration_date\' | translate }}:\n </span>\n </p>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n <div class="card">\n <div class="card_body p-2">\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'Sign\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'common_date\' | translate }}:\n </span>\n </p>\n <p class="my-2 mb-0"><span class="small font-weight-bold mr-2"\n [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'expiration_date\' | translate }}:\n </span>\n </p>\n </div>\n </div>\n </div>\n </div>\n <div class="row mx-2 p-2 pb-3 mb-3 ">
1\n <span class="mt-1 small font-weight-bold mx-2" [ngStyle]="{\'font-size\':fontsize+\'px\'}">{{ \'remark\' |\n translate }}:</span>\n <span class="forprint">{{currentPurchaseData.remark}}</span>\n <span class="formedia card col-md-12">\n <textarea name="" id="" cols="62" rows="3" class="textRemark"\n [(ngModel)]="currentPurchaseData.remark"\n (blur)="changeRemark(currentPurchaseData.remark)"></textarea>\n </span>\n </div>\n </div>\n\n </div>\n </div>\n </div>\n </div>\n </div>\n'}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.