"use strict";(self.webpackChunkwebadmin=self.webpackChunkwebadmin||[]).push([["libs_dialogs_channel-partners_cancel-report-export_cancel-report-export_component_ts"],{64354:(b,c,e)=>{e.r(c),e.d(c,{NxCancelExportDialog:()=>m});var _=e(82529),d=e(60177),i=e(60802),s=e(40221),t=e(4020),g=e(92388),x=e(64147);let m=(()=>{class a extends s.f{constructor({exportDialogRef:r,cancelExport$:n},o,l){super(o),this.exportDialogRef=r,this.cancelExport$=n}cancelExport(){this.exportDialogRef.close(),this.dialogRef.close(),this.cancelExport$.next(),this.cancelExport$.complete()}static{this.\u0275fac=function(n){return new(n||a)(t.rXU(_.Qs),t.rXU(_.ce),t.rXU(g.L))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["nx-cancel-export-dialog"]],features:[t.Vt3],decls:14,vars:0,consts:[[1,"nx-modal__header"],["translate","",1,"nx-modal__header-title"],["type","button","data-dismiss","modal","aria-label","Close",1,"nx-modal__header-close-btn",3,"click"],[1,"close-content"],[1,"nx-modal__content"],[1,"nx-modal__body"],["translate","",1,"nx-modal__body-text"],[1,"nx-modal__footer"],["type","button","translate","",1,"nx-button--primary",3,"click"],["type","button","translate","",1,"btn","btn-default",3,"click"]],template:function(n,o){1&n&&(t.j41(0,"div",0)(1,"h1",1),t.EFF(2," Cancel Export? "),t.k0s(),t.j41(3,"button",2),t.bIt("click",function(){return o.close()}),t.nrm(4,"span",3),t.k0s()(),t.j41(5,"div",4)(6,"div",5)(7,"p",6),t.EFF(8," Your export is not complete. Would you like to cancel the export? "),t.k0s()(),t.j41(9,"div",7)(10,"button",8),t.bIt("click",function(){return o.close()}),t.EFF(11," Continue Export "),t.k0s(),t.j41(12,"button",9),t.bIt("click",function(){return o.cancelExport()}),t.EFF(13," Cancel "),t.k0s()()())},dependencies:[d.MD,i.h,x.M],styles:['p[_ngcontent-%COMP%]{margin-bottom:unset}.nx-modal__header[_ngcontent-%COMP%]{position:relative;background-color:var(--dialog-header-bg);overflow:hidden;text-overflow:ellipsis;padding:.75rem calc(38px + 1rem) .75rem 1rem;border-bottom:1px solid var(--dialog-border-color);border-top-left-radius:2px;border-top-right-radius:2px}.nx-modal__header-title[_ngcontent-%COMP%]{font-family:var(--font-family-medium);font-size:var(--h5-font-size)!important;font-weight:500!important;color:var(--dialog-header-color);line-height:1.5rem}.nx-modal__header-close-btn[_ngcontent-%COMP%]{outline:none;border:none;border-radius:0;color:inherit;padding:0;position:absolute;right:6px;top:50%;transform:translateY(-50%);background-color:transparent;height:32px!important;width:32px;padding:0!important;display:flex;justify-content:center;align-items:center}.nx-modal__header-close-btn[_ngcontent-%COMP%]:focus-visible{outline:none}.nx-modal__header-close-btn[_ngcontent-%COMP%]:before, .nx-modal__header-close-btn[_ngcontent-%COMP%]:after{content:" ";position:absolute;background-color:var(--btn-close-bg);height:16px;width:1px}.nx-modal__header-close-btn[_ngcontent-%COMP%]:before{transform:rotate(-45deg)}.nx-modal__header-close-btn[_ngcontent-%COMP%]:after{transform:rotate(45deg)}.nx-modal__header-close-btn[_ngcontent-%COMP%]:hover, .nx-modal__header-close-btn[_ngcontent-%COMP%]:focus-visible{background-color:var(--btn-close-hover-bg)}.nx-modal__header-close-btn[_ngcontent-%COMP%]:hover:before, .nx-modal__header-close-btn[_ngcontent-%COMP%]:hover:after, .nx-modal__header-close-btn[_ngcontent-%COMP%]:focus-visible:before, .nx-modal__header-close-btn[_ngcontent-%COMP%]:focus-visible:after{background-color:var(--btn-close-hover-color)}.nx-modal__header-close-btn[_ngcontent-%COMP%]:active{background-color:var(--btn-close-active-bg)}.nx-modal__header-close-btn[_ngcontent-%COMP%]:active:before, .nx-modal__header-close-btn[_ngcontent-%COMP%]:active:after{background-color:var(--btn-close-active-color)}.nx-modal__content[_ngcontent-%COMP%]{border-bottom-left-radius:2px;border-bottom-right-radius:2px;background-color:var(--dialog-bg);padding:1rem;display:flex;flex-direction:column;gap:1rem}.nx-modal__body[_ngcontent-%COMP%]{flex:1}.nx-modal__footer[_ngcontent-%COMP%]{display:flex;gap:.5rem;justify-content:flex-start}.nx-modal__footer[_ngcontent-%COMP%]   .btn-default[_ngcontent-%COMP%]{order:1}.nx-modal__footer--justify-between[_ngcontent-%COMP%]{justify-content:space-between}.nx-modal__footer--justify-between[_ngcontent-%COMP%]   .btn-default[_ngcontent-%COMP%]{order:0}.nx-modal__footer--justify-end[_ngcontent-%COMP%]{justify-content:flex-end}.nx-modal__footer--justify-end[_ngcontent-%COMP%]   .btn-default[_ngcontent-%COMP%]{order:0}.nx-modal__footer[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{min-width:80px}.nx-modal__header-title[_ngcontent-%COMP%]{margin:0}.nx-modal__footer[_ngcontent-%COMP%]{margin-top:20px}']})}}return a})()}}]);