highcourt-affidavit-elements 0.2.26 → 0.2.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -95,7 +95,7 @@ ${e.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
`;this.renderer.setProperty(this.responsiveStyleElement,"innerHTML",this.domSanitizer.bypassSecurityTrustStyle(e))}}destroyResponsiveStyle(){this.responsiveStyleElement&&(this.renderer.removeChild(this.document.head,this.responsiveStyleElement),this.responsiveStyleElement=null)}destroyStyleElement(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.unbindDocumentEditListener(),this.editingCell=null,this.initialized=null,this.destroyStyleElement(),this.destroyResponsiveStyle()}getPaginatorStyleClasses(e){return[this.paginatorStyleClass,e].filter(n=>!!n).join(" ").trim()}static \u0275fac=function(n){return new(n||t)(E(Me),E(Rt),E(Ve),E(Ce),E(qe),E(Lv),E(Se),E(Wl),E(go),E(Ze),E($i))};static \u0275cmp=V({type:t,selectors:[["p-table"]],contentQueries:function(n,o,r){if(n&1&&De(r,be,4),n&2){let a;U(a=q())&&(o.templates=a)}},viewQuery:function(n,o){if(n&1&&Re(Bq,5)(zq,5)(Hq,5)(jq,5)(Uq,5)(qq,5)(Gq,5)(Qq,5)(Wq,5),n&2){let r;U(r=q())&&(o.containerViewChild=r.first),U(r=q())&&(o.resizeHelperViewChild=r.first),U(r=q())&&(o.reorderIndicatorUpViewChild=r.first),U(r=q())&&(o.reorderIndicatorDownViewChild=r.first),U(r=q())&&(o.wrapperViewChild=r.first),U(r=q())&&(o.tableViewChild=r.first),U(r=q())&&(o.tableHeaderViewChild=r.first),U(r=q())&&(o.tableFooterViewChild=r.first),U(r=q())&&(o.scroller=r.first)}},hostAttrs:[1,"p-element"],inputs:{frozenColumns:"frozenColumns",frozenValue:"frozenValue",style:"style",styleClass:"styleClass",tableStyle:"tableStyle",tableStyleClass:"tableStyleClass",paginator:[2,"paginator","paginator",F],pageLinks:[2,"pageLinks","pageLinks",fe],rowsPerPageOptions:"rowsPerPageOptions",alwaysShowPaginator:[2,"alwaysShowPaginator","alwaysShowPaginator",F],paginatorPosition:"paginatorPosition",paginatorStyleClass:"paginatorStyleClass",paginatorDropdownAppendTo:"paginatorDropdownAppendTo",paginatorDropdownScrollHeight:"paginatorDropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:[2,"showCurrentPageReport","showCurrentPageReport",F],showJumpToPageDropdown:[2,"showJumpToPageDropdown","showJumpToPageDropdown",F],showJumpToPageInput:[2,"showJumpToPageInput","showJumpToPageInput",F],showFirstLastIcon:[2,"showFirstLastIcon","showFirstLastIcon",F],showPageLinks:[2,"showPageLinks","showPageLinks",F],defaultSortOrder:[2,"defaultSortOrder","defaultSortOrder",fe],sortMode:"sortMode",resetPageOnSort:[2,"resetPageOnSort","resetPageOnSort",F],selectionMode:"selectionMode",selectionPageOnly:[2,"selectionPageOnly","selectionPageOnly",F],contextMenuSelection:"contextMenuSelection",contextMenuSelectionMode:"contextMenuSelectionMode",dataKey:"dataKey",metaKeySelection:[2,"metaKeySelection","metaKeySelection",F],rowSelectable:"rowSelectable",rowTrackBy:"rowTrackBy",lazy:[2,"lazy","lazy",F],lazyLoadOnInit:[2,"lazyLoadOnInit","lazyLoadOnInit",F],compareSelectionBy:"compareSelectionBy",csvSeparator:"csvSeparator",exportFilename:"exportFilename",filters:"filters",globalFilterFields:"globalFilterFields",filterDelay:[2,"filterDelay","filterDelay",fe],filterLocale:"filterLocale",expandedRowKeys:"expandedRowKeys",editingRowKeys:"editingRowKeys",rowExpandMode:"rowExpandMode",scrollable:[2,"scrollable","scrollable",F],scrollDirection:"scrollDirection",rowGroupMode:"rowGroupMode",scrollHeight:"scrollHeight",virtualScroll:[2,"virtualScroll","virtualScroll",F],virtualScrollItemSize:[2,"virtualScrollItemSize","virtualScrollItemSize",fe],virtualScrollOptions:"virtualScrollOptions",virtualScrollDelay:[2,"virtualScrollDelay","virtualScrollDelay",fe],frozenWidth:"frozenWidth",responsive:"responsive",contextMenu:"contextMenu",resizableColumns:[2,"resizableColumns","resizableColumns",F],columnResizeMode:"columnResizeMode",reorderableColumns:[2,"reorderableColumns","reorderableColumns",F],loading:[2,"loading","loading",F],loadingIcon:"loadingIcon",showLoader:[2,"showLoader","showLoader",F],rowHover:[2,"rowHover","rowHover",F],customSort:[2,"customSort","customSort",F],showInitialSortBadge:[2,"showInitialSortBadge","showInitialSortBadge",F],autoLayout:[2,"autoLayout","autoLayout",F],exportFunction:"exportFunction",exportHeader:"exportHeader",stateKey:"stateKey",stateStorage:"stateStorage",editMode:"editMode",groupRowsBy:"groupRowsBy",groupRowsByOrder:[2,"groupRowsByOrder","groupRowsByOrder",fe],responsiveLayout:"responsiveLayout",breakpoint:"breakpoint",paginatorLocale:"paginatorLocale",value:"value",columns:"columns",first:"first",rows:"rows",totalRecords:"totalRecords",sortField:"sortField",sortOrder:"sortOrder",multiSortMeta:"multiSortMeta",selection:"selection",selectAll:"selectAll",virtualRowHeight:"virtualRowHeight"},outputs:{contextMenuSelectionChange:"contextMenuSelectionChange",selectAllChange:"selectAllChange",selectionChange:"selectionChange",onRowSelect:"onRowSelect",onRowUnselect:"onRowUnselect",onPage:"onPage",onSort:"onSort",onFilter:"onFilter",onLazyLoad:"onLazyLoad",onRowExpand:"onRowExpand",onRowCollapse:"onRowCollapse",onContextMenuSelect:"onContextMenuSelect",onColResize:"onColResize",onColReorder:"onColReorder",onRowReorder:"onRowReorder",onEditInit:"onEditInit",onEditComplete:"onEditComplete",onEditCancel:"onEditCancel",onHeaderCheckboxToggle:"onHeaderCheckboxToggle",sortFunction:"sortFunction",firstChange:"firstChange",rowsChange:"rowsChange",onStateSave:"onStateSave",onStateRestore:"onStateRestore"},standalone:!1,features:[Xe([Lv]),Xt],decls:16,vars:22,consts:[["container",""],["wrapper",""],["buildInTable",""],["scroller",""],["table",""],["thead",""],["tfoot",""],["resizeHelper",""],["reorderIndicatorUp",""],["reorderIndicatorDown",""],[3,"ngStyle","ngClass"],["class","p-datatable-loading-overlay p-component-overlay",4,"ngIf"],["class","p-datatable-header",4,"ngIf"],[3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale","onPageChange",4,"ngIf"],[1,"p-datatable-wrapper",3,"ngStyle"],[3,"items","columns","style","scrollHeight","itemSize","step","delay","inline","autoSize","lazy","loaderDisabled","showSpacer","showLoader","options","onLazyLoad",4,"ngIf"],[4,"ngIf"],["class","p-datatable-footer",4,"ngIf"],["class","p-column-resizer-helper",3,"ngStyle",4,"ngIf"],["class","p-datatable-reorder-indicator-up",3,"ngStyle",4,"ngIf"],["class","p-datatable-reorder-indicator-down",3,"ngStyle",4,"ngIf"],[1,"p-datatable-loading-overlay","p-component-overlay"],[3,"class",4,"ngIf"],[3,"spin","styleClass",4,"ngIf"],["class","p-datatable-loading-icon",4,"ngIf"],[3,"spin","styleClass"],[1,"p-datatable-loading-icon"],[4,"ngTemplateOutlet"],[1,"p-datatable-header"],[3,"onPageChange","rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale"],["pTemplate","dropdownicon"],["pTemplate","firstpagelinkicon"],["pTemplate","previouspagelinkicon"],["pTemplate","lastpagelinkicon"],["pTemplate","nextpagelinkicon"],[3,"onLazyLoad","items","columns","scrollHeight","itemSize","step","delay","inline","autoSize","lazy","loaderDisabled","showSpacer","showLoader","options"],["pTemplate","content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","table",3,"ngClass","ngStyle"],["role","rowgroup",1,"p-datatable-thead"],["role","rowgroup","class","p-datatable-tbody p-datatable-frozen-tbody",3,"value","frozenRows","pTableBody","pTableBodyTemplate","frozen",4,"ngIf"],["role","rowgroup",1,"p-datatable-tbody",3,"ngClass","ngStyle","value","pTableBody","pTableBodyTemplate","scrollerOptions"],["role","rowgroup","class","p-datatable-scroller-spacer",3,"ngStyle",4,"ngIf"],["role","rowgroup","class","p-datatable-tfoot",4,"ngIf"],["role","rowgroup",1,"p-datatable-tbody","p-datatable-frozen-tbody",3,"value","frozenRows","pTableBody","pTableBodyTemplate","frozen"],["role","rowgroup",1,"p-datatable-scroller-spacer",3,"ngStyle"],["role","rowgroup",1,"p-datatable-tfoot"],[1,"p-datatable-footer"],[1,"p-column-resizer-helper",3,"ngStyle"],[1,"p-datatable-reorder-indicator-up",3,"ngStyle"],[1,"p-datatable-reorder-indicator-down",3,"ngStyle"]],template:function(n,o){n&1&&(c(0,"div",10,0),_(2,oG,3,2,"div",11)(3,aG,2,1,"div",12)(4,CG,6,24,"p-paginator",13),c(5,"div",14,1),_(7,IG,3,17,"p-scroller",15)(8,MG,2,7,"ng-container",16)(9,FG,10,26,"ng-template",null,2,Ue),d(),_(11,ZG,6,24,"p-paginator",13)(12,XG,2,1,"div",17)(13,$G,2,2,"div",18)(14,iQ,4,4,"span",19)(15,sQ,4,4,"span",20),d()),n&2&&(z(o.styleClass),m("ngStyle",o.style)("ngClass",St(16,Kq,o.rowHover||o.selectionMode,o.scrollable,o.scrollable&&o.scrollHeight==="flex")),O("id",o.id),p(2),m("ngIf",o.loading&&o.showLoader),p(),m("ngIf",o.captionTemplate),p(),m("ngIf",o.paginator&&(o.paginatorPosition==="top"||o.paginatorPosition=="both")),p(),m("ngStyle",ne(20,Yq,o.virtualScroll?"":o.scrollHeight)),p(2),m("ngIf",o.virtualScroll),p(),m("ngIf",!o.virtualScroll),p(3),m("ngIf",o.paginator&&(o.paginatorPosition==="bottom"||o.paginatorPosition=="both")),p(),m("ngIf",o.summaryTemplate),p(),m("ngIf",o.resizableColumns),p(),m("ngIf",o.reorderableColumns),p(),m("ngIf",o.reorderableColumns))},dependencies:()=>[ke,xe,We,Ne,lO,be,Ka,Sv,Ov,so,BQ],styles:[`@layer primeng{.p-datatable{position:relative}.p-datatable>.p-datatable-wrapper{overflow:auto}.p-datatable-table{border-spacing:0px;width:100%}.p-datatable .p-sortable-column{cursor:pointer;-webkit-user-select:none;user-select:none}.p-datatable .p-sortable-column .p-column-title,.p-datatable .p-sortable-column .p-sortable-column-icon,.p-datatable .p-sortable-column .p-sortable-column-badge{vertical-align:middle}.p-datatable .p-sortable-column .p-icon-wrapper{display:inline}.p-datatable .p-sortable-column .p-sortable-column-badge{display:inline-flex;align-items:center;justify-content:center}.p-datatable-hoverable-rows .p-selectable-row{cursor:pointer}.p-datatable-scrollable>.p-datatable-wrapper{position:relative}.p-datatable-scrollable-table>.p-datatable-thead{position:sticky;top:0;z-index:2}.p-datatable-scrollable-table>.p-datatable-frozen-tbody{position:sticky;z-index:1}.p-datatable-scrollable-table>.p-datatable-tfoot{position:sticky;bottom:0;z-index:1}.p-datatable-scrollable .p-frozen-column{position:sticky;background:inherit;z-index:1}.p-datatable-scrollable th.p-frozen-column{z-index:1}.p-datatable-flex-scrollable{display:flex;flex-direction:column;height:100%}.p-datatable-flex-scrollable>.p-datatable-wrapper{display:flex;flex-direction:column;flex:1;height:100%}.p-datatable-scrollable-table>.p-datatable-tbody>.p-rowgroup-header{position:sticky;z-index:2}.p-datatable-resizable-table>.p-datatable-thead>tr>th,.p-datatable-resizable-table>.p-datatable-tfoot>tr>td,.p-datatable-resizable-table>.p-datatable-tbody>tr>td{overflow:hidden;white-space:nowrap}.p-datatable-resizable-table>.p-datatable-thead>tr>th.p-resizable-column:not(.p-frozen-column){background-clip:padding-box;position:relative}.p-datatable-resizable-table-fit>.p-datatable-thead>tr>th.p-resizable-column:last-child .p-column-resizer{display:none}.p-datatable .p-column-resizer{display:block;position:absolute!important;top:0;right:0;margin:0;width:.5rem;height:100%;padding:0;cursor:col-resize;border:1px solid transparent}.p-datatable .p-column-resizer-helper{width:1px;position:absolute;z-index:10;display:none}.p-datatable .p-row-editor-init,.p-datatable .p-row-editor-save,.p-datatable .p-row-editor-cancel,.p-datatable .p-row-toggler{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-datatable-reorder-indicator-up,.p-datatable-reorder-indicator-down{position:absolute}.p-datatable-reorderablerow-handle,[pReorderableColumn]{cursor:move}.p-datatable .p-datatable-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:3}.p-column-filter-row{display:flex;align-items:center;width:100%}.p-column-filter-menu{display:inline-flex}.p-column-filter-row p-columnfilterformelement{flex:1 1 auto;width:1%}.p-column-filter-menu-button,.p-column-filter-clear-button{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;text-decoration:none;overflow:hidden;position:relative}.p-column-filter-overlay{position:absolute;top:0;left:0}.p-column-filter-row-items{margin:0;padding:0;list-style:none}.p-column-filter-row-item{cursor:pointer}.p-column-filter-add-button,.p-column-filter-remove-button{justify-content:center}.p-column-filter-add-button .p-button-label,.p-column-filter-remove-button .p-button-label{flex-grow:0}.p-column-filter-buttonbar{display:flex;align-items:center;justify-content:space-between}.p-column-filter-buttonbar .p-button{width:auto}.p-datatable-tbody>tr>td>.p-column-title{display:none}.p-datatable-scroller-spacer{display:flex}.p-datatable .p-scroller .p-scroller-loading{transform:none!important;min-height:0;position:sticky;top:0;left:0}}
|
|
98
|
-
`],encapsulation:2})}return t})(),BQ=(()=>{class t{dt;tableService;cd;el;columns;template;get value(){return this._value}set value(e){this._value=e,this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&this.dt.rowGroupMode==="subheader"&&this.updateFrozenRowGroupHeaderStickyPosition()}frozen;frozenRows;scrollerOptions;subscription;_value;ngAfterViewInit(){this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&this.dt.rowGroupMode==="subheader"&&this.updateFrozenRowGroupHeaderStickyPosition()}constructor(e,n,o,r){this.dt=e,this.tableService=n,this.cd=o,this.el=r,this.subscription=this.dt.tableService.valueSource$.subscribe(()=>{this.dt.virtualScroll&&this.cd.detectChanges()})}shouldRenderRowGroupHeader(e,n,o){let r=j.resolveFieldData(n,this.dt.groupRowsBy),a=e[o-(1+this.dt._first)];if(a){let s=j.resolveFieldData(a,this.dt.groupRowsBy);return r!==s}else return!0}shouldRenderRowGroupFooter(e,n,o){let r=j.resolveFieldData(n,this.dt.groupRowsBy),a=e[o+(1+this.dt._first)];if(a){let s=j.resolveFieldData(a,this.dt.groupRowsBy);return r!==s}else return!0}shouldRenderRowspan(e,n,o){let r=j.resolveFieldData(n,this.dt.groupRowsBy),a=e[o-1];if(a){let s=j.resolveFieldData(a,this.dt.groupRowsBy);return r!==s}else return!0}calculateRowGroupSize(e,n,o){let r=j.resolveFieldData(n,this.dt.groupRowsBy),a=r,s=0;for(;r===a;){s++;let l=e[++o];if(l)a=j.resolveFieldData(l,this.dt.groupRowsBy);else break}return s===1?null:s}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}updateFrozenRowStickyPosition(){this.el.nativeElement.style.top=T.getOuterHeight(this.el.nativeElement.previousElementSibling)+"px"}updateFrozenRowGroupHeaderStickyPosition(){if(this.el.nativeElement.previousElementSibling){let e=T.getOuterHeight(this.el.nativeElement.previousElementSibling);this.dt.rowGroupHeaderStyleObject.top=e+"px"}}getScrollerOption(e,n){return this.dt.virtualScroll?(n=n||this.scrollerOptions,n?n[e]:null):null}getRowIndex(e){let n=this.dt.paginator?this.dt.first+e:e,o=this.getScrollerOption("getItemOptions");return o?o(n).index:n}static \u0275fac=function(n){return new(n||t)(E(Cp),E(Lv),E(Se),E(Ce))};static \u0275cmp=V({type:t,selectors:[["","pTableBody",""]],hostAttrs:[1,"p-element"],inputs:{columns:[0,"pTableBody","columns"],template:[0,"pTableBodyTemplate","template"],value:"value",frozen:[2,"frozen","frozen",F],frozenRows:[2,"frozenRows","frozenRows",F],scrollerOptions:"scrollerOptions"},standalone:!1,attrs:lQ,decls:5,vars:5,consts:[[4,"ngIf"],["ngFor","",3,"ngForOf","ngForTrackBy"],["role","row",4,"ngIf"],["role","row"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,o){n&1&&_(0,bQ,2,2,"ng-container",0)(1,OQ,2,2,"ng-container",0)(2,FQ,2,2,"ng-container",0)(3,LQ,2,5,"ng-container",0)(4,NQ,2,5,"ng-container",0),n&2&&(m("ngIf",!o.dt.expandedRowTemplate),p(),m("ngIf",o.dt.expandedRowTemplate&&!(o.frozen&&o.dt.frozenExpandedRowTemplate)),p(),m("ngIf",o.dt.frozenExpandedRowTemplate&&o.frozen),p(),m("ngIf",o.dt.loading),p(),m("ngIf",o.dt.isEmpty()&&!o.dt.loading))},dependencies:[ot,xe,We],encapsulation:2})}return t})();var Vh=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=J({type:t});static \u0275inj=Z({imports:[oe,Rh,ti,ea,zs,gn,Ec,wc,ta,cO,bo,Sv,Ov,so,tO,iO,nO,cn,$S,eO,Ic,oO,re,bo]})}return t})();var zQ=["filter"],HQ=["paymentSection"],jQ=()=>({width:"50vw"}),Nh=()=>({width:"50vw"}),Bh=()=>({"960px":"75vw","640px":"100vw"}),UQ=()=>({width:"90vw",maxWidth:"800px"}),qQ=()=>["title"];function GQ(t,i){if(t&1){let e=P();c(0,"div",89),x(1,"i",90),c(2,"span"),g(3),d(),c(4,"button",91),I("click",function(){y(e);let o=f(2);return C(o.copyApplicationRef())}),x(5,"i",92),d()()}if(t&2){let e,n=f(2);p(3),k((e=n.application())==null?null:e.ref_no)}}function QQ(t,i){if(t&1){let e=P();c(0,"div",100)(1,"div",101)(2,"div",102),x(3,"img",103),d(),c(4,"div",104)(5,"h4",105),g(6,"Paystack"),d(),c(7,"p",106),g(8,"Secure online payment with cards"),d()()(),c(9,"div",107)(10,"div",108)(11,"span",109),g(12,"Amount"),d(),c(13,"span",110),g(14),Ct(15,"currency"),d()(),c(16,"div",111)(17,"angular4-paystack",112),I("onClose",function(){y(e);let o=f(3);return C(o.cancelPaystackPayment())})("callback",function(o){y(e);let r=f(3);return C(r.processPayment(o,"paystack"))}),c(18,"button",113,1),x(20,"i",94),c(21,"span"),g(22,"Pay with Paystack"),d()()()(),c(23,"button",114),I("click",function(){y(e);let o=pe(19),r=f(3);return C(r.triggerPaystackPayment(o))}),x(24,"i",94),c(25,"span"),g(26,"Pay with Paystack"),d()()()()}if(t&2){let e=f(3);p(3),m("src","data:image/png;base64,"+e.paystack_icon,_e),p(11),k(Ji(15,7,e.getPaymentAmount("paystack"),"NGN","symbol-narrow","1.2-2")),p(3),m("email",e.paymentEmail)("amount",e.calculateAmount(e.getPaymentAmount("paystack"))*100)("ref",e.paymentReference)("key",e.paystackKey)("split_code",e.getSplitCode("paystack"))}}function WQ(t,i){if(t&1){let e=P();c(0,"div",93,0)(2,"div",29)(3,"h3"),x(4,"i",94),g(5," Payment Section"),d(),c(6,"button",95),I("click",function(){y(e);let o=f(2);return C(o.closePaySection())}),x(7,"i",96),d()(),c(8,"div",31)(9,"div",97)(10,"div",98),_(11,QQ,27,12,"div",99),d()()()()}if(t&2){let e=f(2);p(11),m("ngIf",e.allowOnlinePayment&&e.isPaymentMethodAllowed("paystack"))}}function KQ(t,i){if(t&1&&(c(0,"div",118),x(1,"i",119),c(2,"span",120),g(3),d()()),t&2){let e=f(3);p(3),k(e.currentDocTitle)}}function YQ(t,i){if(t&1){let e=P();c(0,"div",121)(1,"button",122),I("click",function(){y(e);let o=f(3);return C(o.displayDocModal=!1)}),d(),c(2,"button",123),I("click",function(){y(e);let o=f(3);return C(o.onOpenCurrentDocument())}),d()()}}function ZQ(t,i){if(t&1){let e=P();N(0),c(1,"p-dialog",115),Ht("visibleChange",function(o){y(e);let r=f(2);return Wt(r.displayDocModal,o)||(r.displayDocModal=o),C(o)}),_(2,KQ,4,1,"ng-template",70),c(3,"div",116),x(4,"img",117),d(),_(5,YQ,3,0,"ng-template",68),d(),B()}if(t&2){let e=f(2);p(),It(Pe(4,UQ)),zt("visible",e.displayDocModal),p(3),m("src",e.currentDoc,_e)}}function JQ(t,i){t&1&&(c(0,"span"),g(1,"Document title is required"),d())}function XQ(t,i){if(t&1&&(c(0,"div",149),_(1,JQ,2,0,"span",16),d()),t&2){let e,n=f().$implicit;p(),m("ngIf",(e=n.get("title"))==null||e.errors==null?null:e.errors.required)}}function $Q(t,i){if(t&1){let e=P();c(0,"button",150),I("click",function(){y(e),f();let o=pe(17);return C(o.click())}),d()}}function eW(t,i){if(t&1&&(c(0,"div",151),x(1,"img",152),d()),t&2){let e,n=f(),o=n.$implicit,r=n.index,a=f(4);p(),m("src",a.filePreviews[r].data,_e)("alt",(e=o.get("title"))==null?null:e.value)}}function tW(t,i){if(t&1){let e=P();c(0,"div",137)(1,"div",138)(2,"div",139)(3,"label",140),g(4," Document Title "),c(5,"span",141),g(6),d(),c(7,"span",142),g(8,"*"),d()(),x(9,"input",143),_(10,XQ,2,1,"div",144),d(),c(11,"div",139)(12,"label",140),g(13,"Upload Document"),d(),_(14,$Q,1,0,"button",145)(15,eW,2,2,"div",146),c(16,"input",147,2),I("change",function(o){let r=y(e).index,a=f(4);return C(a.handleFileUpload(o,r))}),d()(),c(18,"button",148),I("click",function(){let o=y(e).index,r=f(4);return C(r.removeDocument(o))}),d()()()}if(t&2){let e,n,o=i.$implicit,r=i.index,a=f(4);m("formGroupName",r),p(6),k(r+1),p(3),tt("error",((e=o.get("title"))==null?null:e.invalid)&&((e=o.get("title"))==null?null:e.touched)),p(),m("ngIf",((n=o.get("title"))==null?null:n.invalid)&&((n=o.get("title"))==null?null:n.touched)),p(4),m("ngIf",!(a.filePreviews[r]!=null&&a.filePreviews[r].data)),p(),m("ngIf",a.filePreviews[r]==null?null:a.filePreviews[r].data)}}function nW(t,i){if(t&1){let e=P();c(0,"div",31)(1,"div",127)(2,"h4",128),g(3,"Add Document(s)"),d(),c(4,"form",129)(5,"div",130),_(6,tW,19,7,"div",131),d(),c(7,"div",132)(8,"button",133),I("click",function(){y(e);let o=f(3);return C(o.addDocument())}),d()(),c(9,"div",134)(10,"button",135),I("click",function(){y(e);let o=f(3);return o.canPreviewDoc=!1,C(o.canAddDoc=!1)}),d(),c(11,"button",136),I("click",function(){y(e);let o=f(3);return o.canPreviewDoc=!0,C(o.canAddDoc=!1)}),d()()()()()}if(t&2){let e=f(3);p(4),m("formGroup",e.documentForm),p(2),m("ngForOf",e.filesFormControl.controls),p(5),m("disabled",e.isFormInvalid)}}function iW(t,i){if(t&1&&(c(0,"div",159)(1,"div",160)(2,"span",161),g(3),d(),c(4,"h5",162),g(5),d()(),x(6,"img",163),d()),t&2){let e,n=i.$implicit,o=i.index,r=f(4);p(3),k(o+1),p(2),k((e=n.get("title"))==null?null:e.value),p(),m("src",r.filePreviews[o].data,_e)}}function oW(t,i){if(t&1){let e=P();c(0,"div",31)(1,"div",153)(2,"h4",154),g(3,"Document Summary"),d(),c(4,"div",41),_(5,iW,7,3,"div",155),d(),c(6,"div",156)(7,"button",157),I("click",function(){y(e);let o=f(3);return o.canPreviewDoc=!1,C(o.canAddDoc=!0)}),d(),c(8,"button",158),I("click",function(){y(e);let o=f(3);return C(o.saveDoc())}),d()()()()}if(t&2){let e=f(3);p(5),m("ngForOf",e.filesFormControl.controls)}}function rW(t,i){if(t&1&&(c(0,"div",124)(1,"div",29)(2,"h3"),x(3,"i",125),g(4," Document Management"),d()(),_(5,nW,12,3,"div",126)(6,oW,9,1,"div",126),d()),t&2){let e=f(2);p(5),m("ngIf",e.canAddDoc),p(),m("ngIf",e.canPreviewDoc)}}function aW(t,i){if(t&1&&(c(0,"div",168)(1,"div",169)(2,"span",170),g(3),d(),c(4,"h5"),g(5),d()(),x(6,"div",171),d()),t&2){let e=i.$implicit,n=i.index,o=f(3);p(3),k(n+1),p(2),me("Clause ",n+1),p(),m("innerHtml",o.sanitizeHtml(e.content),Ei)}}function sW(t,i){if(t&1&&(c(0,"div",164)(1,"h4",165),g(2,"Clauses"),d(),c(3,"div",166),_(4,aW,7,3,"div",167),d()()),t&2){let e,n=f(2);p(4),m("ngForOf",(e=n.application())==null?null:e.clauses)}}function lW(t,i){if(t&1&&(c(0,"div",177)(1,"span",178),g(2),d(),c(3,"span",179),g(4),d()()),t&2){let e=f().$implicit,n=f(3);p(2),k(e.label),p(2),k(n.formatIfDate(e.provided_value))}}function cW(t,i){if(t&1&&(N(0),_(1,lW,5,2,"div",176),B()),t&2){let e=i.$implicit;p(),m("ngIf",e.provided_value&&e.provided_value!=="null")}}function dW(t,i){if(t&1&&(c(0,"div",172)(1,"h4",173),g(2,"Additional Information"),d(),c(3,"div",174),_(4,cW,2,1,"ng-container",175),d()()),t&2){let e,n=f(2);p(4),m("ngForOf",(e=n.application())==null?null:e.formEntries)}}function pW(t,i){t&1&&(c(0,"div",180),g(1,"Not Provided"),d())}function uW(t,i){if(t&1&&x(0,"img",181),t&2){let e,n=f(2);m("src",(e=n.application())==null?null:e.passport_photo_file,_e)}}function mW(t,i){t&1&&(c(0,"div",180),g(1,"Not Provided"),d())}function fW(t,i){if(t&1&&x(0,"img",182),t&2){let e,n=f(2);m("src",(e=n.application())==null?null:e.signature_file,_e)}}function hW(t,i){t&1&&(c(0,"div",180),g(1,"Not Provided"),d())}function gW(t,i){if(t&1&&x(0,"img",183),t&2){let e,n=f(2);m("src",(e=n.application())==null?null:e.identity_card_file,_e)}}function AW(t,i){t&1&&(c(0,"tr")(1,"th"),g(2,"Document Title"),d(),c(3,"th",194),g(4,"Actions"),d()())}function _W(t,i){if(t&1){let e=P();c(0,"tr")(1,"td")(2,"div",162),x(3,"i",195),g(4),d()(),c(5,"td",194)(6,"div",54)(7,"button",196),I("click",function(){let o=y(e).$implicit,r=f(3);return C(r.docModalOpen(o))}),d(),c(8,"button",197),I("click",function(){let o=y(e).$implicit,r=f(3);return C(r.deleteDoc(o.id))}),d()()()()}if(t&2){let e=i.$implicit;p(4),me(" ",e.title," ")}}function bW(t,i){t&1&&(c(0,"tr")(1,"td",198),x(2,"i",199),c(3,"p",200),g(4,"No documents found"),d()()())}function vW(t,i){if(t&1){let e=P();c(0,"div",28)(1,"div",29)(2,"h3"),x(3,"i",184),g(4," Uploaded Documents"),d(),c(5,"button",185),I("click",function(){y(e);let o=f(2);return C(o.openAddDocFormSection())}),x(6,"i",186),g(7," Add Document "),d()(),c(8,"div",31)(9,"div",187)(10,"div",188),x(11,"i",189),c(12,"input",190,3),I("input",function(o){y(e);let r=pe(15),a=f(2);return C(a.onGlobalFilter(r,o))}),d()(),c(14,"p-table",191,4),_(16,AW,5,0,"ng-template",70)(17,_W,9,1,"ng-template",192)(18,bW,5,0,"ng-template",193),d()()()()}if(t&2){let e=f(2);p(14),m("value",e.docs)("rows",10)("rowHover",!0)("paginator",!0)("globalFilterFields",Pe(5,qQ))}}function yW(t,i){if(t&1){let e=P();c(0,"button",201),I("click",function(){y(e);let o=f(2);return C(o.displayPaySection())}),d()}}function CW(t,i){if(t&1){let e=P();c(0,"button",202),I("click",function(){y(e);let o=f(2);return C(o.goToEdit())}),d()}}function xW(t,i){if(t&1){let e=P();c(0,"button",203),I("click",function(){y(e);let o=f(2);return C(o.openAddDocFormSection())}),d()}}function wW(t,i){if(t&1){let e=P();c(0,"button",204),I("click",function(){y(e);let o=f(2);return C(o.affidavitPreview())}),d()}}function IW(t,i){if(t&1){let e=P();c(0,"div",213)(1,"p",214),g(2,"To Acknowledge/Approve Query Changes"),d(),c(3,"button",215),I("click",function(){y(e);let o=f(3);return C(o.approveQueryChanges())}),d()()}}function EW(t,i){if(t&1&&(c(0,"div",52)(1,"div",53)(2,"h3"),g(3,"Last Query"),d()(),c(4,"div",22)(5,"div",205)(6,"p",206),g(7),d(),c(8,"div",207)(9,"span",208),g(10),Ct(11,"date"),d(),c(12,"div",209)(13,"span",210),g(14,"Acknowledged:"),d(),x(15,"p-tag",211),d()(),_(16,IW,4,0,"div",212),d()()()),t&2){let e=f(2);p(7),k((e.applicationQuery==null?null:e.applicationQuery.query)??"(not set)"),p(3),k($t(11,5,e.applicationQuery==null?null:e.applicationQuery.created_at,"MMM d, y, h:mm a")),p(5),m("value",e.applicationQuery!=null&&e.applicationQuery.is_acknowledged?"Yes":"No")("severity",e.applicationQuery!=null&&e.applicationQuery.is_acknowledged?"success":"danger"),p(),m("ngIf",(e.applicationQuery==null?null:e.applicationQuery.was_edited_once)&&(e.applicationQuery==null?null:e.applicationQuery.is_acknowledged)==!1)}}function MW(t,i){if(t&1){let e=P();c(0,"button",216),I("click",function(){y(e);let o=f(2);return C(o.displayIDCardModal=!1)}),d()}}function SW(t,i){}function OW(t,i){if(t&1){let e=P();c(0,"button",217),I("click",function(){y(e);let o=f(2);return C(o.printpart("printCashRef"))}),d(),c(1,"button",218),I("click",function(){y(e);let o=f(2);return C(o.closeCashPayModal())}),d()}}function TW(t,i){}function PW(t,i){if(t&1){let e=P();c(0,"button",217),I("click",function(){y(e);let o=f(2);return C(o.printpart("printCashRef1"))}),d(),c(1,"button",218),I("click",function(){y(e);let o=f(2);return C(o.closeRrrModal())}),d()}}function kW(t,i){}function DW(t,i){if(t&1){let e=P();c(0,"button",217),I("click",function(){y(e);let o=f(2);return C(o.printpart("printPaydirectRef"))}),d(),c(1,"button",218),I("click",function(){y(e);let o=f(2);return C(o.displayPaydirectModal=!1)}),d()}}function FW(t,i){}function RW(t,i){if(t&1){let e=P();c(0,"button",217),I("click",function(){y(e);let o=f(2);return C(o.printpart("printZenithRef"))}),d(),c(1,"button",218),I("click",function(){y(e);let o=f(2);return C(o.closeZenithPayModal())}),d()}}function LW(t,i){if(t&1){let e=P();c(0,"div",6)(1,"div",7)(2,"div",8)(3,"h1",9),g(4,"Application Details"),d(),c(5,"p",10),g(6,"View and manage your affidavit application information"),d()(),c(7,"div",11)(8,"div",12),x(9,"i",13),c(10,"span"),g(11),d()(),_(12,GQ,6,1,"div",14),d()(),_(13,WQ,12,1,"div",15)(14,ZQ,6,5,"ng-container",16),c(15,"div",17)(16,"div",18),_(17,rW,7,2,"div",19),c(18,"div",20)(19,"div",21)(20,"div",22)(21,"h4",23),g(22,"Application ID"),d(),c(23,"p",24),g(24),d()()(),c(25,"div",25)(26,"div",22)(27,"h4",23),g(28,"Affidavit Type"),d(),c(29,"p",24),g(30),d()()(),c(31,"div",26)(32,"div",22)(33,"h4",23),g(34,"Deponent Name"),d(),c(35,"p",24),g(36),d()()(),c(37,"div",27)(38,"div",22)(39,"h4",23),g(40,"Payment Status"),d(),c(41,"p",24),g(42),d()()()(),c(43,"div",28)(44,"div",29)(45,"h3"),x(46,"i",30),g(47," Personal Information"),d()(),c(48,"div",31)(49,"div",32)(50,"div",33)(51,"span",34),g(52,"Deponent NIN"),d(),c(53,"span",35),g(54),d()(),c(55,"div",33)(56,"span",34),g(57,"Native Town"),d(),c(58,"span",35),g(59),d()(),c(60,"div",33)(61,"span",34),g(62,"Country of Origin"),d(),c(63,"span",35),g(64),d()(),c(65,"div",33)(66,"span",34),g(67,"State of Origin"),d(),c(68,"span",35),g(69),d()(),c(70,"div",33)(71,"span",34),g(72,"Place of Residence"),d(),c(73,"span",35),g(74),d()(),c(75,"div",33)(76,"span",34),g(77,"Occupation"),d(),c(78,"span",35),g(79),d()(),c(80,"div",33)(81,"span",34),g(82,"Gender"),d(),c(83,"span",35),g(84),d()(),c(85,"div",33)(86,"span",34),g(87,"Religion"),d(),c(88,"span",35),g(89),d()()()()(),c(90,"div",28)(91,"div",29)(92,"h3"),x(93,"i",36),g(94," Affidavit Details"),d()(),c(95,"div",31)(96,"div",37)(97,"span",34),g(98,"Affidavit Title"),d(),c(99,"span",35),g(100),d()(),_(101,sW,5,1,"div",38)(102,dW,5,1,"div",39),d()(),c(103,"div",28)(104,"div",29)(105,"h3"),x(106,"i",40),g(107," Supporting Documents"),d()(),c(108,"div",31)(109,"div",41)(110,"div",42)(111,"span",43),g(112,"Passport Photo"),d(),c(113,"div",44),_(114,pW,2,0,"div",45)(115,uW,1,1,"img",46),d()(),c(116,"div",42)(117,"span",43),g(118,"Signature Photo"),d(),c(119,"div",44),_(120,mW,2,0,"div",45)(121,fW,1,1,"img",47),d()(),c(122,"div",42)(123,"span",43),g(124,"ID Card"),d(),c(125,"div",44),_(126,hW,2,0,"div",45)(127,gW,1,1,"img",48),d()(),c(128,"div",42)(129,"span",43),g(130,"Preferred Court"),d(),c(131,"div",44)(132,"span",49),g(133),d()()()()()(),_(134,vW,19,6,"div",50),d(),c(135,"div",51)(136,"div",52)(137,"div",53)(138,"h3"),g(139,"Quick Actions"),d()(),c(140,"div",22)(141,"div",54),_(142,yW,1,0,"button",55)(143,CW,1,0,"button",56)(144,xW,1,0,"button",57)(145,wW,1,0,"button",58),d()()(),c(146,"div",52)(147,"div",53)(148,"h3"),g(149,"Applicant Information"),d()(),c(150,"div",22)(151,"div",59)(152,"div",60),x(153,"i",61),c(154,"span"),g(155),d()(),c(156,"div",62),x(157,"i",63),c(158,"span"),g(159),d()()()()(),_(160,EW,17,8,"div",64),d()(),c(161,"p-dialog",65),Ht("visibleChange",function(o){y(e);let r=f();return Wt(r.displayIDCardModal,o)||(r.displayIDCardModal=o),C(o)}),c(162,"div",66),x(163,"img",67),d(),_(164,MW,1,0,"ng-template",68),d(),c(165,"p-dialog",69),Ht("visibleChange",function(o){y(e);let r=f();return Wt(r.displayCashModal,o)||(r.displayCashModal=o),C(o)}),_(166,SW,0,0,"ng-template",70),c(167,"div",71),x(168,"button",72),c(169,"div",73)(170,"span",74),g(171," Copy the "),c(172,"strong",75),g(173,"Payment Reference Number"),d(),g(174," below and present to any High Court agent with the sum of "),c(175,"strong",75),g(176),Ct(177,"number"),d(),g(178," to proceed with the affidavit cash payment. "),d()(),c(179,"div",76)(180,"span",77),g(181,"Payee"),d(),c(182,"div",78),g(183),d()(),c(184,"div",76)(185,"span",77),g(186,"Payment Reference Number"),d(),c(187,"div",78),g(188),c(189,"button",79),I("click",function(){let o;y(e);let r=f();return C(r.copyCode((o=r.application())==null||o.revenuePaymentEntry==null?null:o.revenuePaymentEntry.ref_id))}),d()()()(),_(190,OW,2,0,"ng-template",68),d(),c(191,"p-dialog",80),Ht("visibleChange",function(o){y(e);let r=f();return Wt(r.displayRrrModal,o)||(r.displayRrrModal=o),C(o)}),_(192,TW,0,0,"ng-template",70),c(193,"div",71),x(194,"button",81),c(195,"div",73)(196,"span",74),g(197," Copy the "),c(198,"strong",75),g(199,"RRR"),d(),g(200," below and use any Remita payment channel to pay the sum of "),c(201,"strong",75),g(202),Ct(203,"number"),d(),g(204," to proceed with your request. "),d()(),c(205,"div",76)(206,"span",77),g(207,"Payee"),d(),c(208,"div",78),g(209),d()(),c(210,"div",76)(211,"span",77),g(212,"RRR"),d(),c(213,"div",78),g(214),c(215,"button",82),I("click",function(){let o;y(e);let r=f();return C(r.copyCode((o=r.application())==null||o.revenuePaymentEntry==null?null:o.revenuePaymentEntry.rrr))}),d()()()(),_(216,PW,2,0,"ng-template",68),d(),c(217,"p-dialog",83),Ht("visibleChange",function(o){y(e);let r=f();return Wt(r.displayPaydirectModal,o)||(r.displayPaydirectModal=o),C(o)}),_(218,kW,0,0,"ng-template",70),c(219,"div",71),x(220,"button",84),c(221,"div",73)(222,"span",74),g(223," To proceed with the affidavit payment, copy the "),c(224,"strong",75),g(225,"Payment Reference Number"),d(),g(226," and pay "),c(227,"strong",75),g(228),Ct(229,"number"),d(),g(230," via the Interswitch PayDirect platform. "),d()(),c(231,"div",76)(232,"span",77),g(233,"Payee"),d(),c(234,"div",78),g(235),d()(),c(236,"div",76)(237,"span",77),g(238,"Payment Reference Number"),d(),c(239,"div",78),g(240),c(241,"button",85),I("click",function(){let o;y(e);let r=f();return C(r.copyCode((o=r.application())==null||o.revenuePaymentEntry==null?null:o.revenuePaymentEntry.ref_id))}),d()()()(),_(242,DW,2,0,"ng-template",68),d(),c(243,"p-dialog",86),Ht("visibleChange",function(o){y(e);let r=f();return Wt(r.displayZenithPayModal,o)||(r.displayZenithPayModal=o),C(o)}),_(244,FW,0,0,"ng-template",70),c(245,"div",71),x(246,"button",87),c(247,"div",73)(248,"span",74),g(249," Copy the "),c(250,"strong",75),g(251,"Payment Reference Number"),d(),g(252," below and present to any Zenith Bank teller with the sum of "),c(253,"strong",75),g(254),Ct(255,"number"),d(),g(256," to complete your affidavit payment. "),d()(),c(257,"div",76)(258,"span",77),g(259,"Payee"),d(),c(260,"div",78),g(261),d()(),c(262,"div",76)(263,"span",77),g(264,"Payment Reference Number"),d(),c(265,"div",78),g(266),c(267,"button",85),I("click",function(){let o;y(e);let r=f();return C(r.copyCode(((o=r.application())==null||o.revenuePaymentEntry==null?null:o.revenuePaymentEntry.ref_id)??""))}),d()()()(),_(268,RW,2,0,"ng-template",68),d(),x(269,"p-toast",88),d()}if(t&2){let e,n,o,r,a,s,l,u,h,A,b,v,w,M,S,D,L,Q,K,W,ie,ge,se,Ie,Ye,it,ht,In,Vn,Tt,Gt,dn,ki,xn,Or,ca,Tr,Pr,Wo,kr,Ko,l0,Oe=f();p(8),m("ngClass",Oe.getStatusClass()),p(),tt("pi-check-circle",((e=Oe.application())==null?null:e.status)==="approved")("pi-clock",((n=Oe.application())==null?null:n.status)==="pending"||((n=Oe.application())==null?null:n.status)==="draft")("pi-exclamation-triangle",((o=Oe.application())==null?null:o.status)==="queried"),p(2),k(Oe.getStatusText()),p(),m("ngIf",(r=Oe.application())==null?null:r.ref_no),p(),m("ngIf",Oe.displayPaymentSection),p(),m("ngIf",Oe.displayDocModal),p(3),m("ngIf",Oe.canPreviewDoc||Oe.canAddDoc),p(7),k(((a=Oe.application())==null?null:a.ref_no)||"Not available"),p(6),k(((s=Oe.application())==null?null:s.affidavit_type_name)||"Not set"),p(6),k(((l=Oe.application())==null?null:l.deponent_name)||"Not set"),p(),m("ngClass",(u=Oe.application())!=null&&u.is_paid?"success":"warning"),p(5),k((h=Oe.application())!=null&&h.is_paid?"Paid":"Not Paid"),p(12),k(((A=Oe.application())==null?null:A.deponent_nin)||"Not set"),p(5),k(((b=Oe.application())==null?null:b.town_native)||"Not set"),p(5),k(((v=Oe.application())==null||v.state==null||v.state.country==null?null:v.state.country.name)||"Not set"),p(5),k(((w=Oe.application())==null||w.state==null?null:w.state.name)||"Not set"),p(5),k(((M=Oe.application())==null?null:M.town_resident)||"Not set"),p(5),k(((S=Oe.application())==null?null:S.occupation)||"Not set"),p(5),k(((D=Oe.application())==null?null:D.gender)||"Not set"),p(5),k(((L=Oe.application())==null?null:L.religion)||"Not set"),p(11),k(((Q=Oe.application())==null?null:Q.affidavit_type_name)||"Not set"),p(),m("ngIf",((K=Oe.application())==null?null:K.is_clauses_editable)&&((K=Oe.application())==null||K.clauses==null?null:K.clauses.length)),p(),m("ngIf",(W=Oe.application())==null||W.formEntries==null?null:W.formEntries.length),p(12),m("ngIf",!((ie=Oe.application())!=null&&ie.passport_photo_file)),p(),m("ngIf",(ge=Oe.application())==null?null:ge.passport_photo_file),p(5),m("ngIf",!((se=Oe.application())!=null&&se.signature_file)),p(),m("ngIf",(Ie=Oe.application())==null?null:Ie.signature_file),p(5),m("ngIf",!((Ye=Oe.application())!=null&&Ye.identity_card_file)),p(),m("ngIf",(it=Oe.application())==null?null:it.identity_card_file),p(6),k(((ht=Oe.application())==null||ht.court==null?null:ht.court.name)||"Value not set"),p(),m("ngIf",Oe.docs.length>0),p(8),m("ngIf",!((In=Oe.application())!=null&&In.is_paid)),p(),m("ngIf",((Vn=Oe.application())==null?null:Vn.status)==="draft"||((Vn=Oe.application())==null?null:Vn.status)==="queried"),p(),m("ngIf",((Tt=Oe.application())==null?null:Tt.status)==="draft"||((Tt=Oe.application())==null?null:Tt.status)==="queried"),p(),m("ngIf",((Gt=Oe.application())==null?null:Gt.status)==="approved"&&((Gt=Oe.application())==null?null:Gt.is_paid)&&!Oe.previewAffidavit),p(10),k(((dn=Oe.application())==null?null:dn.applicant_email)||"Not provided"),p(4),k(((ki=Oe.application())==null?null:ki.applicant_phone)||"Not provided"),p(),m("ngIf",Oe.applicationQuery==null?null:Oe.applicationQuery.query),p(),It(Pe(98,jQ)),zt("visible",Oe.displayIDCardModal),m("modal",!0)("draggable",!1)("resizable",!1),p(2),m("src",((xn=Oe.application())==null?null:xn.identity_photo_file)||((xn=Oe.application())==null?null:xn.passport_photo_file)||Oe.no_image,_e),p(2),It(Pe(99,Nh)),zt("visible",Oe.displayCashModal),m("closable",!1)("modal",!0)("breakpoints",Pe(100,Bh)),p(11),me("\u20A6",$t(177,86,Oe.getPaymentAmount("revenue"),"1.2-2")),p(7),k((Or=Oe.application())==null?null:Or.deponent_name),p(5),me(" ",(ca=Oe.application())==null||ca.revenuePaymentEntry==null?null:ca.revenuePaymentEntry.ref_id," "),p(3),It(Pe(101,Nh)),zt("visible",Oe.displayRrrModal),m("closable",!1)("modal",!0)("breakpoints",Pe(102,Bh)),p(11),me("\u20A6",$t(203,89,Oe.getPaymentAmount("remita"),"1.2-2")),p(7),k((Tr=Oe.application())==null?null:Tr.deponent_name),p(5),me(" ",((Pr=Oe.application())==null||Pr.revenuePaymentEntry==null?null:Pr.revenuePaymentEntry.rrr)||"Not Set"," "),p(3),It(Pe(103,Nh)),zt("visible",Oe.displayPaydirectModal),m("closable",!1)("modal",!0)("breakpoints",Pe(104,Bh)),p(11),me("\u20A6",$t(229,92,Oe.getPaymentAmount("paydirect"),"1.2-2")),p(7),k((Wo=Oe.application())==null?null:Wo.deponent_name),p(5),me(" ",(kr=Oe.application())==null||kr.revenuePaymentEntry==null?null:kr.revenuePaymentEntry.ref_id," "),p(3),It(Pe(105,Nh)),zt("visible",Oe.displayZenithPayModal),m("closable",!1)("modal",!0)("breakpoints",Pe(106,Bh)),p(11),me("\u20A6",$t(255,95,Oe.getPaymentAmount("zenith"),"1.2-2")),p(7),k((Ko=Oe.application())==null?null:Ko.deponent_name),p(5),me(" ",(l0=Oe.application())==null||l0.revenuePaymentEntry==null?null:l0.revenuePaymentEntry.ref_id," ")}}var fO=(()=>{class t{fb;paymentEndpoint;clipboardApi;messageService;affidavitAppDocEndpoint;paymentKeysEndpoint;affidavitPageStore;affidavitAppEndpoint;affidavitApplicationQueryEndpoint;affidavitApplicationEndpoint;paymentOptionsSettingEndpoint;appNotificationService;sanitizer;filter;paymentSection;handlePayment=new R;applicationRefno;getApplication=new R;apiMode=null;apiBaseUrl="";application=je(null);approver;creator;application_ref;currentState=ue.currentState;paystack_icon=Ke.paystack_icon;no_image="data:image/png;base64,"+Ke.no_image;shouldDisplayAffidavitSection=!1;paystackKey="";remitaKey="";remitaMode="";applicationQuery;paymentSetting;lastPaymentRef="";paymentEmail="";paymentAmount=0;owner_id;affidavitSetting;affidavit;canPreviewDoc=!1;canAddDoc=!1;displayDocModal=!1;currentDoc="";currentDocTitle="";currentDocFile="";documentForm;filePreviews=[];docs=[];canEdit=!1;hasQuery=!1;displayCashModal=!1;displayRrrModal=!1;displayIDCardModal=!1;displayPaymentSection=!1;displayPaydirectModal=!1;displayZenithPayModal=!1;allowCashPayment=!1;allowOnlinePayment=!1;allowRemitaPayment=!1;allowInterswitchPayment=!1;allowZenithPayment=!1;allowAgentPaydirectPayment=!1;user=null;interswitchMerchantCode=ue.interswitch_mechant_code;interswitchItemId=ue.interswitch_pay_item;interswitch_paymentMode=ue.interswitch_mode;pdfLogo="assets/images/logo-pdf.png";docxLogo="assets/images/logo-docx.png";docLogo="assets/images/logo-doc.jpeg";noImage=Ke.no_image;cashIcon=Ke.cash_icon;remitaIcon=Ke.remita_icon;showHeader=!0;previewAffidavit=!1;allowPassportUpload=!1;allowOathCommissionerSignaturePhoto=!1;stateTitle=ue.stateTitleSentence;constructor(e,n,o,r,a,s,l,u,h,A,b,v,w){this.fb=e,this.paymentEndpoint=n,this.clipboardApi=o,this.messageService=r,this.affidavitAppDocEndpoint=a,this.paymentKeysEndpoint=s,this.affidavitPageStore=l,this.affidavitAppEndpoint=u,this.affidavitApplicationQueryEndpoint=h,this.affidavitApplicationEndpoint=A,this.paymentOptionsSettingEndpoint=b,this.appNotificationService=v,this.sanitizer=w,this.documentForm=this.fb.group({files:this.fb.array([this.fb.group({title:["",Y.required,Y.min(2)],file:["",Y.required]})])}),this.affidavitPageStore.mode$.subscribe({next:M=>{this.apiMode=M;let S=this.apiMode??Fe.TEST;this.apiBaseUrl=S===Fe.PRODUCTION?ue.productionApiUrl:ue.testApiUrl}})}ngOnInit(){this.affidavitPageStore.startLoading("Fetching Data . . ."),this.affidavitPageStore.state$.subscribe(e=>{this.applicationRefno=e.refNo??""}),this.applicationRefno&&this.loadData(),this.paymentOptionsSettingEndpoint.single(1).subscribe({next:e=>{this.paymentSetting=e.data,this.allowCashPayment=this.paymentSetting?.allow_cash_payment,this.allowOnlinePayment=this.paymentSetting?.allow_online_payment,this.allowRemitaPayment=this.paymentSetting?.allow_remita_payment??!1,this.allowInterswitchPayment=this.paymentSetting?.allow_interswitch_payment??!1,this.allowZenithPayment=this.paymentSetting?.allow_zenith_payment??!1,this.allowAgentPaydirectPayment=this.paymentSetting?.allow_agent_paydirect_payment??!1}}),this.paymentKeysEndpoint.fetchPaymentKeys().subscribe({next:e=>{this.paystackKey=e.paystack_key,this.remitaKey=e.remita_key,this.remitaMode=e.remita_mode}})}onGlobalFilter(e,n){e.filterGlobal(n.target.value,"contains")}clear(e){e.clear(),this.filter.nativeElement.value=""}loadQuery(e){return _t(this,null,function*(){this.applicationQuery=(yield this.affidavitApplicationQueryEndpoint.single(e).toPromise())?.data})}loadData(){this.affidavitPageStore.startLoading("Loading . . ."),this.affidavitAppEndpoint.singleByRefNo(this.applicationRefno).subscribe(e=>{this.application.set(e.data),console.log("application",this.application()),this.user=this.application()?.createdBy??null,this.shouldDisplayAffidavitSection=(this.application()?.formEntries?.length??0)>0,this.docs=this.application()?.docs??[],this.getApplication.emit(this.application()),this.application()?.last_query_id&&(this.loadQuery(this.application()?.last_query_id??0),this.application()?.has_query&&(this.hasQuery=!0)),this.affidavitPageStore.stopLoading(),this.loadPaymentInfo()},e=>{this.appNotificationService.showError({title:e.error,detail:e.message}),this.affidavitPageStore.stopLoading(),this.affidavitPageStore.toggle("new")})}approveQueryChanges(){this.affidavitPageStore.startLoading("Acknowledging Query . . ."),this.affidavitApplicationEndpoint.aknowledgeQueryChanges(this.application()?.ref_no??"").subscribe({next:e=>{this.application.set(e.data),this.affidavitPageStore.stopLoading(),this.application()?.last_query_id&&(this.hasQuery=!0,this.loadQuery(this.application()?.last_query_id??0)),this.appNotificationService.showSuccess({title:"Success!!",detail:"Your changes have been submitted successfully!"})},error:e=>{this.affidavitPageStore.stopLoading(),this.appNotificationService.showError({title:"Error!!",detail:e.message||e})}})}closePaySection(){this.displayPaymentSection=!1,setTimeout(()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},100)}displayPaySection(){this.displayPaymentSection=!0,setTimeout(()=>{if(this.paymentSection?.nativeElement){let o=this.paymentSection.nativeElement.getBoundingClientRect().top+window.pageYOffset-20;window.scrollTo({top:o,behavior:"smooth"})}},150)}loadPaymentInfo(){this.paymentEmail=this.application()?.applicant_email??"",this.paymentAmount=this.application()?.revenuePaymentEntry?.total??0}goBack(){window.history.back()}goToEdit(){this.affidavitPageStore.startLoading("Fetching Data . . ."),this.affidavitPageStore.setRefNo(this.application()?.ref_no??""),this.affidavitPageStore.toggle("edit-application")}get paymentReference(){return this.lastPaymentRef=this.application()?.revenuePaymentEntry?.ref_id??"__"+Date.now().toString(),this.lastPaymentRef}cancelPaystackPayment(){console.log("Paystack Payment cancelled...")}copyRefNo(e){this.clipboardApi.copyFromContent(e),this.messageService.add({severity:"success",summary:e,detail:"Was Copied Successfully"})}copyApplicationRef(){this.application()?.ref_no&&this.copyRefNo(this.application()?.ref_no??"")}getStatusClass(){switch(this.application()?.status??""){case"approved":return"success";case"queried":return"danger";case"pending":case"draft":return"warning";default:return"default"}}getStatusText(){switch(this.application()?.status??""){case"approved":return"Approved";case"queried":return"Queried";case"pending":return"Pending";case"draft":return"Draft";default:return"Unknown"}}navigateToPreviewAffidavit(){this.affidavitPreview()}printpart(e="printCashRef"){let n=document.getElementById(e);if(!n)return;let o=window.open("");o?.document.write(n.innerHTML),o?.stop(),o?.print(),o?.close()}processPayment(e,n){let o;switch(n){case hi.PAYSTACK:o={email:this.paymentEmail,amount:this.paymentAmount,client_tx_ref:e.reference,host_tx_ref:e.transaction,prn:this.application()?.revenuePaymentEntry?.ref_id??"",host_response_payload:JSON.stringify(e),payment_method:hi.PAYSTACK};break;case hi.REMITA:o={email:this.paymentEmail,amount:this.paymentAmount,client_tx_ref:this.lastPaymentRef,host_tx_ref:e.transaction,prn:this.application()?.revenuePaymentEntry?.ref_id??"",host_response_payload:JSON.stringify(e),payment_method:hi.REMITA};break;default:return}this.affidavitPageStore.startLoading("Processing . . ."),this.paymentEndpoint.processPayment(o).subscribe({next:r=>{this.appNotificationService.showSuccess({title:"Success!!",detail:"Your payment has been recieved!"}),this.application.set(r.data),this.handlePayment.emit({status:"success",data:this.application}),this.affidavitPageStore.stopLoading(),this.loadData(),this.closePaySection()},error:r=>{this.affidavitPageStore.stopLoading(),this.appNotificationService.showError({title:"Error!!",detail:r.message||r})}})}showDialog(){this.displayCashModal=!0}closeCashPayModal(){this.displayCashModal=!1}affidavitPreview(){this.affidavitPageStore.startLoading("Loading Affidavit . . ."),this.affidavitPageStore.setRefNo(this.application()?.affidavit?.ref_no??""),this.affidavitPageStore.toggle("affidavit-detail")}handleImageError(e){e.target.src=`data:image/gif;base64,${this.noImage}`}calculateAmount(e,n){return bc(e??0)}getPaymentAmount(e){return(this.application()?.split_codes?.find(r=>r.payment_method.code===e)?.payment_method.txn_fee??0)+(this.application()?.revenuePaymentEntry?.total??0)}getSplitCode(e){let n=this.application()?.split_codes?.find(r=>r?.payment_method?.code===e),o=n?.split_codes.code;if((n?.split_codes.type=="json"||n?.split_codes.type=="calculated")&&(o=JSON.parse(JSON.stringify(o)),n.split_codes.type=="calculated")){let r=n.split_codes.amount_field,a=JSON.parse(o);a.forEach(s=>{s[r]=r.percentage/100*(this.application()?.revenuePaymentEntry?.total??0)}),o=a}return o||""}isPaymentMethodAllowed(e){return!this.application()?.split_codes||!Array.isArray(this.application()?.split_codes)?!0:this.application()?.split_codes?.some(n=>n?.payment_method?.code===e)??!1}showRrrDialog(){this.displayRrrModal=!0}closeRrrModal(){this.displayRrrModal=!1}showZenithPayDialog(){this.displayZenithPayModal=!0}closeZenithPayModal(){this.displayZenithPayModal=!1}copyCode(e){this.clipboardApi.copyFromContent(e),this.messageService.add({severity:"success",summary:e,detail:"Was Copied Successfully"})}get filesFormControl(){return this.documentForm.controls.files}get isFormInvalid(){return this.filesFormControl.invalid}addDocument(){if(this.filesFormControl.controls.some(n=>n.get("file")?.value==""||n.get("title")?.value=="")){this.appNotificationService.showInfo({title:"Complete current entries first"});return}this.filesFormControl.push(this.fb.group({title:["",Y.required,Y.min(2)],file:["",Y.required]})),this.filePreviews.push({type:"unknown",data:null})}removeDocument(e){this.filesFormControl.removeAt(e),this.filePreviews.splice(e,1)}docModalOpen(e){this.currentDocFile=e.doc_name,this.currentDoc=this.validateFile(this.currentDocFile),this.currentDocTitle=e.title,this.displayDocModal=!0}handleFileUpload(e,n){let o=e.target.files[0];if(o){let r=o.type,a=new FileReader;r.startsWith("image/")?(a.onload=()=>{this.filePreviews[n]={type:"image",data:a.result}},a.readAsDataURL(o)):r==="application/pdf"?this.filePreviews[n]={type:"pdf",data:"assets/images/logo-pdf.png"}:(r==="application/msword"||r==="application/vnd.openxmlformats-officedocument.wordprocessingml.document")&&(this.filePreviews[n]={type:"doc",data:"assets/images/logo-doc.jpeg"}),this.filesFormControl.at(n).patchValue({file:o})}}openAddDocFormSection(){this.canAddDoc=!0,this.canPreviewDoc=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}sanitizeHtml(e){return this.sanitizer.bypassSecurityTrustHtml(e??"")}formatIfDate(e){if(!e)return"Not set";let n=Date.parse(e);return isNaN(n)?e:pf(n,"dd/MM/yyyy","en-US")}triggerPaystackPayment(e){e?.click()}triggerRemitaPayment(e){e?.click()}onOpenCurrentDocument(){}get documentFormControls(){return this.documentForm.controls}saveDoc(){if(this.filesFormControl.controls.some(r=>r.get("file")?.value==""||r.get("title")?.value=="")){this.appNotificationService.showInfo({title:"Finish all entries to submit"});return}let n={files:this.filesFormControl.controls.map((r,a)=>({file:r.get("file")?.value,title:r.get("title")?.value}))},o=new FormData;o.append("app_id",this.application()?.id?.toString()??""),n.files.forEach((r,a)=>{o.append(`files[${a}][file]`,r.file),o.append(`files[${a}][title]`,r.title)}),this.affidavitPageStore.startLoading("Upoading Document(s) . . ."),this.affidavitAppDocEndpoint.create(o).subscribe({next:r=>{},error:r=>{this.affidavitPageStore.stopLoading(),this.appNotificationService.showError({title:"Error!!",detail:r.message||r})},complete:()=>{this.affidavitPageStore.stopLoading(),this.appNotificationService.showSuccess({title:"Document(s)",detail:"Added Successfully!"}),window.location.reload()}})}validateFile(e){if(e){let n=e.slice(-4),o=this.apiBaseUrl+"/file/get/"+e;switch(n){case".pdf":o=this.pdfLogo;break;case".doc":o=this.docLogo;break;case"docx":o=this.docxLogo;break;case"":o="assets/images/noimage.gif";break}return o}return""}deleteDoc(e){let n=this.docs.find(o=>o.id===e);n&&(this.affidavitPageStore.startLoading("Deleting ..."),this.affidavitAppDocEndpoint.delete(n.id).subscribe({next:()=>{let o=this.docs.filter(r=>r.id!==n.id);this.affidavitPageStore.stopLoading(),this.appNotificationService.showSuccess({title:"Document",detail:"Removed Successfully!"}),this.docs=o},error:()=>{this.affidavitPageStore.stopLoading(),this.appNotificationService.showError({title:"Error!!",detail:"An error occurred while deleting your document(s)..."})}}))}static \u0275fac=function(n){return new(n||t)(E(zi),E(Ya),E(vc),E(Ni),E(Mh),E(Za),E(Te),E(fi),E(Ja),E(ui),E(vr),E(kn),E($i))};static \u0275cmp=V({type:t,selectors:[["application-detail"]],viewQuery:function(n,o){if(n&1&&Re(zQ,5)(HQ,5),n&2){let r;U(r=q())&&(o.filter=r.first),U(r=q())&&(o.paymentSection=r.first)}},outputs:{handlePayment:"handlePayment",getApplication:"getApplication"},standalone:!1,decls:1,vars:1,consts:[["paymentSection",""],["paystackButton",""],["documentFile",""],["filter",""],["dt1",""],["class","application-detail-container",4,"ngIf"],[1,"application-detail-container"],[1,"application-header"],[1,"header-content"],[1,"application-title"],[1,"application-subtitle"],[1,"header-actions"],[1,"status-badge",3,"ngClass"],[1,"pi"],["class","ref-number",4,"ngIf"],["class","section-card payment-section mb-3",4,"ngIf"],[4,"ngIf"],[1,"content-grid"],[1,"main-content"],["class","section-card document-section",4,"ngIf"],[1,"overview-grid"],[1,"overview-card","primary","p-2"],[1,"card-content"],[1,"card-title"],[1,"card-value"],[1,"overview-card","secondary"],[1,"overview-card","success"],[1,"overview-card",3,"ngClass"],[1,"section-card"],[1,"section-header"],[1,"pi","pi-user"],[1,"section-content"],[1,"info-grid"],[1,"info-item"],[1,"info-label"],[1,"info-value"],[1,"pi","pi-file-text"],[1,"affidavit-title"],["class","clauses-section",4,"ngIf"],["class","form-entries",4,"ngIf"],[1,"pi","pi-images"],[1,"documents-grid"],[1,"document-item"],[1,"doc-label"],[1,"doc-content"],["class","no-doc",4,"ngIf"],["class","doc-image","onerror","this.src=noImage;","alt","Passport Photo",3,"src",4,"ngIf"],["class","doc-image","onerror","this.src=noImage;","alt"," Signature Photo",3,"src",4,"ngIf"],["class","doc-image","onerror","this.src=noImage;","alt","ID Card",3,"src",4,"ngIf"],[1,"court-name"],["class","section-card",4,"ngIf"],[1,"sidebar"],[1,"sidebar-card"],[1,"card-header"],[1,"action-buttons"],["pButton","","type","button","icon","pi pi-credit-card","label","Proceed to Payment","class","action-btn success",3,"click",4,"ngIf"],["pButton","","type","button","icon","pi pi-file-edit","label","Edit Application","class","action-btn info",3,"click",4,"ngIf"],["pButton","","type","button","icon","pi pi-file-arrow-up","label","Add Document(s)","class","action-btn warning",3,"click",4,"ngIf"],["pButton","","type","button","icon","pi pi-file-pdf","label","Preview Affidavit","class","action-btn info",3,"click",4,"ngIf"],[1,"contact-info"],[1,"info-row","mb-3"],[1,"pi","pi-envelope","text-primary","mr-3"],[1,"info-row"],[1,"pi","pi-phone","text-primary","mr-3"],["class","sidebar-card",4,"ngIf"],["header","Identity Card",3,"visibleChange","visible","modal","draggable","resizable"],[1,"modal-content"],["onerror","this.src=no_image;","alt","Identity Card",1,"id-image",3,"src"],["pTemplate","footer"],["id","printCashRef",3,"visibleChange","visible","closable","modal","breakpoints"],["pTemplate","header"],[1,"cash-modal"],["pButton","","type","button","label","CASH PAYMENT INFORMATION","disabled","",1,"p-button-outlined","p-button-success","w-full","text-xl"],[1,"alert-body","printRef"],[1,"blck-font","text-lg","font-bold","d-block"],[1,"green-font"],[1,"modal-field"],[1,"label"],[1,"value"],["pButton","","type","button","icon","pi pi-clone","title","Copy Reference Number",1,"p-button-outlined","p-button-success","p-button-rounded",3,"click"],["id","printCashRef1",3,"visibleChange","visible","closable","modal","breakpoints"],["pButton","","type","button","label","Remita RRR Information","disabled","",1,"p-button-outlined","p-button-success","w-full","text-xl"],["pButton","","type","button","icon","pi pi-clone","title","Copy RRR",1,"p-button-outlined","p-button-success","p-button-rounded",3,"click"],["id","printPaydirectRef",3,"visibleChange","visible","closable","modal","breakpoints"],["pButton","","type","button","label","PAY-DIRECT PAYMENT INFORMATION","disabled","",1,"p-button-outlined","p-button-success","w-full","text-xl"],["pButton","","type","button","icon","pi pi-clone",1,"p-button-outlined","p-button-success","p-button-rounded",3,"click"],["id","printZenithRef",3,"visibleChange","visible","closable","modal","breakpoints"],["pButton","","type","button","label","ZENITH BANK (IN-BRANCH) PAYMENT INFORMATION","disabled","",1,"p-button-outlined","p-button-success","w-full","text-xl"],["position","top-right"],[1,"ref-number"],[1,"pi","pi-hashtag"],["type","button","pTooltip","Copy to clipboard",1,"copy-btn",3,"click"],[1,"pi","pi-copy"],[1,"section-card","payment-section","mb-3"],[1,"pi","pi-credit-card"],["type","button",1,"close-btn",3,"click"],[1,"pi","pi-times"],[1,"payment-gateway-container"],[1,"payment-methods-grid"],["class","payment-method-card paystack-card",4,"ngIf"],[1,"payment-method-card","paystack-card"],[1,"payment-card-header"],[1,"payment-icon"],["alt","Paystack",1,"payment-logo",3,"src"],[1,"payment-info"],[1,"payment-title"],[1,"payment-description"],[1,"payment-card-content"],[1,"payment-amount"],[1,"amount-label"],[1,"amount-value"],[1,"hidden-paystack-wrapper"],[3,"onClose","callback","email","amount","ref","key","split_code"],["type","button",1,"hidden-paystack-btn"],["type","button",1,"modern-paystack-btn-custom",3,"click"],[3,"visibleChange","visible"],[1,"document-preview"],["alt","Document","onerror","this.src=noImage;",1,"document-image",3,"src"],[1,"dialog-header"],[1,"pi","pi-file-pdf","text-red-500","mr-3"],[1,"text-xl","font-semibold"],[1,"dialog-actions"],["pButton","","type","button","icon","pi pi-times","label","Close",1,"p-button-warning",3,"click"],["pButton","","type","button","icon","pi pi-download","label","Download",1,"p-button-success",3,"click"],[1,"section-card","document-section"],[1,"pi","pi-upload"],["class","section-content",4,"ngIf"],[1,"form-container"],[1,"form-title"],[1,"document-form",3,"formGroup"],["formArrayName","files",1,"form-fields"],["class","document-field",3,"formGroupName",4,"ngFor","ngForOf"],[1,"form-actions"],["pButton","","type","button","icon","pi pi-plus","label","Add Document",1,"add-btn",3,"click"],[1,"form-footer"],["pButton","","type","button","icon","pi pi-times","label","Cancel",1,"cancel-btn",3,"click"],["pButton","","type","button","icon","pi pi-eye","label","Preview",1,"preview-btn",3,"click","disabled"],[1,"document-field",3,"formGroupName"],[1,"field-row"],[1,"field-group"],[1,"field-label"],[1,"field-number"],[1,"required"],["type","text","maxlength","50","formControlName","title","placeholder","Enter document title...",1,"form-input"],["class","error-message",4,"ngIf"],["pButton","","pRipple","","type","button","class","upload-btn","icon","pi pi-upload","label","Upload",3,"click",4,"ngIf"],["class","file-preview",4,"ngIf"],["type","file","formControlName","file","accept","image/*, application/pdf",1,"hidden",3,"change"],["pButton","","type","button","icon","pi pi-times",1,"remove-btn",3,"click"],[1,"error-message"],["pButton","","pRipple","","type","button","icon","pi pi-upload","label","Upload",1,"upload-btn",3,"click"],[1,"file-preview"],["onerror","this.src='assets/images/noimage.gif';",1,"preview-image",3,"src","alt"],[1,"summary-container"],[1,"summary-title"],["class","document-card",4,"ngFor","ngForOf"],[1,"summary-actions"],["pButton","","type","button","icon","pi pi-arrow-left","label","Back to Edit",1,"back-btn",3,"click"],["pButton","","type","button","icon","pi pi-save","label","Save Documents",1,"save-btn",3,"click"],[1,"document-card"],[1,"doc-header"],[1,"doc-number"],[1,"doc-title"],["alt","Document","onerror","this.src='assets/images/noimage.gif';",1,"doc-image",3,"src"],[1,"clauses-section"],[1,"clauses-title"],[1,"clauses-grid"],["class","clause-card",4,"ngFor","ngForOf"],[1,"clause-card"],[1,"clause-header"],[1,"clause-number"],[1,"clause-content",3,"innerHtml"],[1,"form-entries"],[1,"entries-title"],[1,"entries-grid"],[4,"ngFor","ngForOf"],["class","entry-item",4,"ngIf"],[1,"entry-item"],[1,"entry-label"],[1,"entry-value"],[1,"no-doc"],["onerror","this.src=noImage;","alt","Passport Photo",1,"doc-image",3,"src"],["onerror","this.src=noImage;","alt"," Signature Photo",1,"doc-image",3,"src"],["onerror","this.src=noImage;","alt","ID Card",1,"doc-image",3,"src"],[1,"pi","pi-folder-open"],["type","button",1,"add-doc-btn",3,"click"],[1,"pi","pi-plus"],[1,"table-container"],[1,"search-bar"],[1,"pi","pi-search","search-icon"],["pInputText","","type","text","placeholder","Search documents...",1,"search-input",3,"input"],["dataKey","ref_no","responsiveLayout","scroll",1,"documents-table",3,"value","rows","rowHover","paginator","globalFilterFields"],["pTemplate","body"],["pTemplate","emptymessage"],[1,"text-center"],[1,"pi","pi-file-pdf","text-red-500","mr-2"],["pButton","","type","button","icon","pi pi-eye","pTooltip","View Document","tooltipPosition","top",1,"view-btn",3,"click"],["pButton","","type","button","icon","pi pi-trash","pTooltip","Delete Document","tooltipPosition","top",1,"delete-btn",3,"click"],["colspan","2",1,"text-center","py-8"],[1,"pi","pi-folder-open","text-4xl","text-muted","mb-2","block"],[1,"text-muted"],["pButton","","type","button","icon","pi pi-credit-card","label","Proceed to Payment",1,"action-btn","success",3,"click"],["pButton","","type","button","icon","pi pi-file-edit","label","Edit Application",1,"action-btn","info",3,"click"],["pButton","","type","button","icon","pi pi-file-arrow-up","label","Add Document(s)",1,"action-btn","warning",3,"click"],["pButton","","type","button","icon","pi pi-file-pdf","label","Preview Affidavit",1,"action-btn","info",3,"click"],[1,"query-content"],[1,"query-text"],[1,"query-meta"],[1,"query-date"],[1,"query-status"],[1,"status-label"],["styleClass","ml-2",3,"value","severity"],["class","query-actions",4,"ngIf"],[1,"query-actions"],[1,"query-hint"],["pButton","","type","button","icon","pi pi-check","label","Click here!",1,"approve-btn",3,"click"],["pButton","","type","button","icon","pi pi-check","label","Close",1,"p-button-danger","p-button-outlined",3,"click"],["pButton","","type","button","icon","pi pi-print","label","Print",1,"p-button-success",3,"click"],["pButton","","type","button","icon","pi pi-times","label","Close",1,"p-button-outlined","p-button-danger",3,"click"]],template:function(n,o){n&1&&_(0,LW,270,107,"div",5),n&2&&m("ngIf",!o.previewAffidavit)},dependencies:[ke,ot,xe,Tn,Un,qn,On,No,Xn,Jn,pr,Bi,Jl,Ut,be,yr,Pn,mr,Cc,Cr,Cp,Mt,Ls,Vs,Lo],styles:['#p-button[_ngcontent-%COMP%]{margin:-50px!important}.card-min-h[_ngcontent-%COMP%]{min-height:140px}@media print{@page{margin:0!important;padding:0!important}.no-print[_ngcontent-%COMP%], .show[_ngcontent-%COMP%], .main-page[_ngcontent-%COMP%]{visibility:hidden!important;background-color:#fff!important}.printRef[_ngcontent-%COMP%]{max-width:100%!important;height:100px!important;flex:0 0 100%!important}.modal-content[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{visibility:visible;overflow:visible}.main-page[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{display:none}.modal[_ngcontent-%COMP%]{position:absolute;left:0;top:0;margin:0;padding:0;visibility:visible;overflow:visible!important}.modal-dialog[_ngcontent-%COMP%]{visibility:visible!important;overflow:visible!important}}.pulse-button[_ngcontent-%COMP%]{background:#5a99d4;cursor:pointer;box-shadow:0 0 #5a99d480;-webkit-animation:_ngcontent-%COMP%_pulse 1.5s infinite}.pulse-button[_ngcontent-%COMP%]:hover{-webkit-animation:none}@-webkit-keyframes _ngcontent-%COMP%_pulse{70%{box-shadow:0 0 0 50px #5a99d400}to{box-shadow:0 0 #5a99d400}}.application-detail-container[_ngcontent-%COMP%]{padding:1rem 1.5rem 2rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9,#e2e8f0);min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;position:relative}.application-detail-container[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;height:200px;background:linear-gradient(135deg,#022c220d,#0478570d);z-index:0;pointer-events:none}.application-detail-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{position:relative;z-index:1}.application-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding:2.5rem 3rem;background:linear-gradient(135deg,#022c22,#047857 45%,#0d6449);border-radius:24px;box-shadow:0 25px 50px #00000026,0 0 0 1px #ffffff1a;color:#fff;position:relative;overflow:hidden}.application-header[_ngcontent-%COMP%]:before{content:"";position:absolute;top:-50%;right:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);animation:_ngcontent-%COMP%_pulse 8s ease-in-out infinite}@keyframes _ngcontent-%COMP%_pulse{0%,to{transform:scale(1);opacity:.5}50%{transform:scale(1.1);opacity:.8}}.header-content[_ngcontent-%COMP%] h1.application-title[_ngcontent-%COMP%]{font-size:2.5rem;font-weight:700;margin:0 0 .5rem;background:linear-gradient(45deg,#fff,#f0f0f0);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.header-content[_ngcontent-%COMP%] .application-subtitle[_ngcontent-%COMP%]{font-size:1.1rem;opacity:.9;margin:0;font-weight:400}.header-actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem}.header-actions[_ngcontent-%COMP%] .status-badge[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:.75rem 1.5rem;border-radius:50px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:.875rem;font-weight:500}.header-actions[_ngcontent-%COMP%] .status-badge.success[_ngcontent-%COMP%]{background:#22c55e4d;border-color:#22c55e80}.header-actions[_ngcontent-%COMP%] .status-badge.warning[_ngcontent-%COMP%]{background:#fbbf244d;border-color:#fbbf2480}.header-actions[_ngcontent-%COMP%] .status-badge.danger[_ngcontent-%COMP%]{background:#ef44444d;border-color:#ef444480}.header-actions[_ngcontent-%COMP%] .status-badge.default[_ngcontent-%COMP%]{background:#9ca3af4d;border-color:#9ca3af80}.header-actions[_ngcontent-%COMP%] .status-badge[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1rem}.header-actions[_ngcontent-%COMP%] .ref-number[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;background:#fff3;padding:.75rem 1.5rem;border-radius:50px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.3);font-family:Monaco,Menlo,monospace;font-weight:500}.header-actions[_ngcontent-%COMP%] .ref-number[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.2rem}.header-actions[_ngcontent-%COMP%] .ref-number[_ngcontent-%COMP%] .copy-btn[_ngcontent-%COMP%]{background:none;border:none;color:#fff;cursor:pointer;padding:.25rem;border-radius:4px;transition:background-color .2s}.header-actions[_ngcontent-%COMP%] .ref-number[_ngcontent-%COMP%] .copy-btn[_ngcontent-%COMP%]:hover{background:#fff3}.content-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,.8fr);gap:1rem;align-items:start}@media(max-width:1280px){.content-grid[_ngcontent-%COMP%]{grid-template-columns:minmax(0,1.35fr) minmax(260px,.85fr)}}@media(max-width:1024px){.content-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}.main-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.section-card[_ngcontent-%COMP%]{background:#fff;border-radius:20px;box-shadow:0 4px 20px #00000014,0 0 0 1px #0000000a;border:1px solid rgba(226,232,240,.8);overflow:hidden;transition:all .4s cubic-bezier(.4,0,.2,1);position:relative}.section-card[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#10b981,#059669,#047857);opacity:0;transition:opacity .3s ease}.section-card[_ngcontent-%COMP%]:hover{box-shadow:0 12px 40px #00000026,0 0 0 1px #10b98133;transform:translateY(-4px);border-color:#10b9814d}.section-card[_ngcontent-%COMP%]:hover:before{opacity:1}.section-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:1.75rem 2.5rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9,#e2e8f0);border-bottom:2px solid rgba(16,185,129,.1);position:relative}.section-header[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;width:60px;height:3px;background:linear-gradient(90deg,#10b981,#059669);border-radius:0 3px 3px 0}.section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:1.25rem;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:.75rem}.section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#64748b;font-size:1.1rem}.section-header[_ngcontent-%COMP%] .close-btn[_ngcontent-%COMP%]{background:none;border:none;color:#64748b;cursor:pointer;padding:.5rem;border-radius:8px;transition:all .2s}.section-header[_ngcontent-%COMP%] .close-btn[_ngcontent-%COMP%]:hover{background:#f1f5f9;color:#475569}.section-header[_ngcontent-%COMP%] .add-doc-btn[_ngcontent-%COMP%]{background:#10b981;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.5rem}.section-header[_ngcontent-%COMP%] .add-doc-btn[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.section-content[_ngcontent-%COMP%]{padding:2.5rem}.form-footer[_ngcontent-%COMP%], .summary-actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;gap:1rem;margin-top:1.5rem}.form-footer[_ngcontent-%COMP%] .cancel-btn[_ngcontent-%COMP%], .form-footer[_ngcontent-%COMP%] .back-btn[_ngcontent-%COMP%], .summary-actions[_ngcontent-%COMP%] .cancel-btn[_ngcontent-%COMP%], .summary-actions[_ngcontent-%COMP%] .back-btn[_ngcontent-%COMP%]{background:#ff9f43!important;border:1px solid rgb(255,159,67)!important;color:#0f172a!important;box-shadow:0 12px 24px #ff9f4359}.form-footer[_ngcontent-%COMP%] .cancel-btn[_ngcontent-%COMP%]:hover, .form-footer[_ngcontent-%COMP%] .back-btn[_ngcontent-%COMP%]:hover, .summary-actions[_ngcontent-%COMP%] .cancel-btn[_ngcontent-%COMP%]:hover, .summary-actions[_ngcontent-%COMP%] .back-btn[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 16px 32px #ff9f4373}.overview-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.overview-card[_ngcontent-%COMP%]{background:#fff;border-radius:18px;padding:2rem;box-shadow:0 4px 20px #00000014,0 0 0 1px #0000000a;border:1px solid rgba(241,245,249,.8);transition:all .4s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:1rem;position:relative;overflow:hidden}.overview-card[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;width:5px;height:100%;background:linear-gradient(180deg,#10b981,#059669,#047857);transition:width .3s ease}.overview-card[_ngcontent-%COMP%]:hover{transform:translateY(-6px) scale(1.02);box-shadow:0 12px 40px #10b98133,0 0 0 1px #10b9814d;border-color:#10b98166}.overview-card[_ngcontent-%COMP%]:hover:before{width:6px}.overview-card.primary[_ngcontent-%COMP%], .overview-card.secondary[_ngcontent-%COMP%], .overview-card.success[_ngcontent-%COMP%], .overview-card.warning[_ngcontent-%COMP%]{border-left:none}.overview-card[_ngcontent-%COMP%] .card-icon[_ngcontent-%COMP%]{width:3rem;height:3rem;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#fff}.overview-card.primary[_ngcontent-%COMP%] .overview-card[_ngcontent-%COMP%] .card-icon[_ngcontent-%COMP%], .overview-card.secondary[_ngcontent-%COMP%] .overview-card[_ngcontent-%COMP%] .card-icon[_ngcontent-%COMP%], .overview-card.success[_ngcontent-%COMP%] .overview-card[_ngcontent-%COMP%] .card-icon[_ngcontent-%COMP%], .overview-card.warning[_ngcontent-%COMP%] .overview-card[_ngcontent-%COMP%] .card-icon[_ngcontent-%COMP%]{background:#10b981}.overview-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{flex:1}.overview-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{margin:0 0 .5rem;font-size:.875rem;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.overview-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .card-value[_ngcontent-%COMP%]{margin:0;font-size:1.125rem;font-weight:600;color:#1e293b}.info-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.info-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem;padding:1.25rem;background:linear-gradient(135deg,#f8fafc,#fff);border-radius:12px;border:1px solid rgba(226,232,240,.6);transition:all .3s ease;position:relative;overflow:hidden}.info-item[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;width:3px;height:100%;background:linear-gradient(180deg,#10b981,#059669);opacity:0;transition:opacity .3s ease}.info-item[_ngcontent-%COMP%]:hover{transform:translate(4px);box-shadow:0 4px 12px #10b98126;border-color:#10b9814d;background:linear-gradient(135deg,#f0fdf4,#fff)}.info-item[_ngcontent-%COMP%]:hover:before{opacity:1}.info-item[_ngcontent-%COMP%] .info-label[_ngcontent-%COMP%]{display:block;font-size:.875rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.25rem}.info-item[_ngcontent-%COMP%] .info-value[_ngcontent-%COMP%]{font-size:1.1rem;color:#1e293b;font-weight:600;line-height:1.5}.sidebar[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;position:sticky;top:2rem}@media(max-width:1024px){.sidebar[_ngcontent-%COMP%]{position:static}}.sidebar-card[_ngcontent-%COMP%]{background:#fff;border-radius:20px;box-shadow:0 4px 20px #00000014,0 0 0 1px #0000000a;border:1px solid rgba(241,245,249,.8);overflow:hidden;transition:all .3s ease;position:relative}.sidebar-card[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#10b981,#059669);opacity:0;transition:opacity .3s ease}.sidebar-card[_ngcontent-%COMP%]:hover{box-shadow:0 8px 30px #10b98126,0 0 0 1px #10b98133;transform:translateY(-2px)}.sidebar-card[_ngcontent-%COMP%]:hover:before{opacity:1}.sidebar-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{padding:1.5rem 2rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9,#e2e8f0);border-bottom:2px solid rgba(16,185,129,.1);position:relative}.sidebar-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;width:50px;height:3px;background:linear-gradient(90deg,#10b981,#059669);border-radius:0 3px 3px 0}.sidebar-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:1.125rem;font-weight:600;color:#1e293b}.sidebar-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{padding:1.5rem}.contact-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.info-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;font-size:.95rem;color:#1e293b}.query-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.query-text[_ngcontent-%COMP%]{font-size:.95rem;color:#1e293b;line-height:1.6;margin:0}.query-meta[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;font-size:.875rem;color:#64748b}.query-date[_ngcontent-%COMP%]{font-weight:500}.query-status[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.status-label[_ngcontent-%COMP%]{font-weight:500}.query-actions[_ngcontent-%COMP%]{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.query-hint[_ngcontent-%COMP%]{font-size:.875rem;color:#64748b;margin-bottom:.5rem}.approve-btn[_ngcontent-%COMP%]{width:100%;background:#10b981;color:#fff;border:none;padding:.75rem 1rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.approve-btn[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.action-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.action-buttons[_ngcontent-%COMP%] .action-btn[_ngcontent-%COMP%]{width:100%;padding:.875rem 1rem;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.5rem}.action-buttons[_ngcontent-%COMP%] .action-btn.primary[_ngcontent-%COMP%]{background:#3b82f6;color:#fff}.action-buttons[_ngcontent-%COMP%] .action-btn.primary[_ngcontent-%COMP%]:hover{background:#2563eb;transform:translateY(-1px)}.action-buttons[_ngcontent-%COMP%] .action-btn.success[_ngcontent-%COMP%]{background:#10b981;color:#fff}.action-buttons[_ngcontent-%COMP%] .action-btn.success[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.action-buttons[_ngcontent-%COMP%] .action-btn.info[_ngcontent-%COMP%]{background:#06b6d4;color:#fff}.action-buttons[_ngcontent-%COMP%] .action-btn.info[_ngcontent-%COMP%]:hover{background:#0891b2;transform:translateY(-1px)}.action-buttons[_ngcontent-%COMP%] .action-btn.warning[_ngcontent-%COMP%]{background:#f59e0b;color:#fff}.action-buttons[_ngcontent-%COMP%] .action-btn.warning[_ngcontent-%COMP%]:hover{background:#d97706;transform:translateY(-1px)}.action-buttons[_ngcontent-%COMP%] .action-btn.danger[_ngcontent-%COMP%]{background:#ef4444;color:#fff}.action-buttons[_ngcontent-%COMP%] .action-btn.danger[_ngcontent-%COMP%]:hover{background:#dc2626;transform:translateY(-1px)}.affidavit-title[_ngcontent-%COMP%]{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;border-left:5px solid #0d6449}.affidavit-title[_ngcontent-%COMP%] .info-label[_ngcontent-%COMP%]{display:block;font-size:.875rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.affidavit-title[_ngcontent-%COMP%] .info-value[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:600;color:#1e293b}.clauses-section[_ngcontent-%COMP%]{margin-bottom:2rem}.clauses-section[_ngcontent-%COMP%] .clauses-title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:600;color:#1e293b;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #10b981;display:inline-block}.clauses-section[_ngcontent-%COMP%] .clauses-grid[_ngcontent-%COMP%]{display:grid;gap:1rem}.clauses-section[_ngcontent-%COMP%] .clause-card[_ngcontent-%COMP%]{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000000a;transition:all .3s ease;border-left:5px solid #0d6449}.clauses-section[_ngcontent-%COMP%] .clause-card[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000014}.clauses-section[_ngcontent-%COMP%] .clause-card[_ngcontent-%COMP%] .clause-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.clauses-section[_ngcontent-%COMP%] .clause-card[_ngcontent-%COMP%] .clause-header[_ngcontent-%COMP%] .clause-number[_ngcontent-%COMP%]{background:#10b981;color:#fff;width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.875rem;font-weight:600}.clauses-section[_ngcontent-%COMP%] .clause-card[_ngcontent-%COMP%] .clause-header[_ngcontent-%COMP%] .clause-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:500;color:#1e293b}.clauses-section[_ngcontent-%COMP%] .clause-card[_ngcontent-%COMP%] .clause-content[_ngcontent-%COMP%]{font-size:.9rem;color:#475569;line-height:1.6}.form-entries[_ngcontent-%COMP%]{margin-top:1.5rem}.entries-title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:600;color:#1e293b;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #10b981;display:inline-block}.entries-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.entry-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.entry-label[_ngcontent-%COMP%]{font-size:.875rem;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.entry-value[_ngcontent-%COMP%]{font-size:1rem;color:#1e293b;font-weight:500}.documents-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.document-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;padding:1.5rem;background:linear-gradient(135deg,#f8fafc,#fff);border-radius:16px;border:1px solid rgba(226,232,240,.6);transition:all .3s ease;position:relative;overflow:hidden}.document-item[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;width:3px;height:100%;background:linear-gradient(180deg,#10b981,#059669);opacity:0;transition:opacity .3s ease}.document-item[_ngcontent-%COMP%]:hover{transform:translateY(-4px);box-shadow:0 8px 20px #10b98126;border-color:#10b9814d;background:linear-gradient(135deg,#f0fdf4,#fff)}.document-item[_ngcontent-%COMP%]:hover:before{opacity:1}.doc-label[_ngcontent-%COMP%]{font-size:.875rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.08em}.doc-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-height:150px;background:linear-gradient(135deg,#fff,#f8fafc);border-radius:14px;border:2px dashed rgba(226,232,240,.8);transition:all .3s ease}.document-item[_ngcontent-%COMP%]:hover .doc-content[_ngcontent-%COMP%]{border-color:#10b9814d;background:linear-gradient(135deg,#f0fdf4,#fff)}.no-doc[_ngcontent-%COMP%]{color:#94a3b8;font-size:.875rem;font-style:italic}.doc-image[_ngcontent-%COMP%]{max-width:100%;max-height:200px;border-radius:8px;object-fit:contain}.court-name[_ngcontent-%COMP%]{font-size:1rem;color:#1e293b;font-weight:500}.payment-gateway-container[_ngcontent-%COMP%]{padding:2rem;background:transparent;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.payment-methods-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.5rem;max-width:1200px;margin:0 auto}.payment-method-card[_ngcontent-%COMP%]{background:#fff;border-radius:24px;padding:2rem;box-shadow:0 10px 30px #0000001a,0 0 0 1px #0000000d;border:1px solid rgba(241,245,249,.8);transition:all .4s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.payment-method-card[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--card-gradient-start),var(--card-gradient-end))}.payment-method-card[_ngcontent-%COMP%]:hover{transform:translateY(-6px) scale(1.02);box-shadow:0 25px 50px #10b98140,0 0 0 1px #10b9814d;border-color:#10b98166}.payment-method-card.paystack-card[_ngcontent-%COMP%], .payment-method-card.remita-card[_ngcontent-%COMP%], .payment-method-card.quickteller-card[_ngcontent-%COMP%], .payment-method-card.cash-card[_ngcontent-%COMP%], .payment-method-card.paydirect-card[_ngcontent-%COMP%], .payment-method-card.zenith-card[_ngcontent-%COMP%]{--card-gradient-start: #10b981;--card-gradient-end: #059669}.payment-card-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.payment-card-header[_ngcontent-%COMP%] .payment-icon[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:16px;background:#f8fafc;display:flex;align-items:center;justify-content:center;border:2px solid #e5e7eb;transition:all .3s ease}.payment-card-header[_ngcontent-%COMP%] .payment-icon[_ngcontent-%COMP%] .payment-logo[_ngcontent-%COMP%]{width:40px;height:40px;object-fit:contain}.payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%]{flex:1}.payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%] .payment-title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:600;margin:0 0 .25rem;color:#1f2937}.payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%] .payment-description[_ngcontent-%COMP%]{font-size:.875rem;color:#6b7280;margin:0;line-height:1.4}.payment-card-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8fafc;border-radius:12px;border:1px solid #e5e7eb}.payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%] .amount-label[_ngcontent-%COMP%]{font-size:.875rem;color:#6b7280;font-weight:500}.payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%] .amount-value[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700;color:#1f2937}.modern-paystack-btn-custom[_ngcontent-%COMP%], .modern-remita-btn-custom[_ngcontent-%COMP%], .modern-quickteller-btn[_ngcontent-%COMP%], .modern-cash-btn[_ngcontent-%COMP%], .modern-paydirect-btn[_ngcontent-%COMP%], .modern-zenith-btn[_ngcontent-%COMP%]{width:100%;padding:1.25rem 1.75rem;border:none;border-radius:16px;font-weight:700;font-size:1.1rem;cursor:pointer;transition:all .4s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;gap:.875rem;position:relative;overflow:hidden;text-transform:uppercase;letter-spacing:.5px;min-height:56px;background:linear-gradient(135deg,#10b981,#059669,#047857);color:#fff;box-shadow:0 6px 20px #10b9814d}.modern-paystack-btn-custom[_ngcontent-%COMP%]:before, .modern-remita-btn-custom[_ngcontent-%COMP%]:before, .modern-quickteller-btn[_ngcontent-%COMP%]:before, .modern-cash-btn[_ngcontent-%COMP%]:before, .modern-paydirect-btn[_ngcontent-%COMP%]:before, .modern-zenith-btn[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .6s cubic-bezier(.4,0,.2,1)}.modern-paystack-btn-custom[_ngcontent-%COMP%]:after, .modern-remita-btn-custom[_ngcontent-%COMP%]:after, .modern-quickteller-btn[_ngcontent-%COMP%]:after, .modern-cash-btn[_ngcontent-%COMP%]:after, .modern-paydirect-btn[_ngcontent-%COMP%]:after, .modern-zenith-btn[_ngcontent-%COMP%]:after{content:"";position:absolute;top:50%;left:50%;width:0;height:0;background:#ffffff26;border-radius:50%;transform:translate(-50%,-50%);transition:all .6s cubic-bezier(.4,0,.2,1)}.modern-paystack-btn-custom[_ngcontent-%COMP%]:hover:before, .modern-remita-btn-custom[_ngcontent-%COMP%]:hover:before, .modern-quickteller-btn[_ngcontent-%COMP%]:hover:before, .modern-cash-btn[_ngcontent-%COMP%]:hover:before, .modern-paydirect-btn[_ngcontent-%COMP%]:hover:before, .modern-zenith-btn[_ngcontent-%COMP%]:hover:before{left:100%}.modern-paystack-btn-custom[_ngcontent-%COMP%]:hover:after, .modern-remita-btn-custom[_ngcontent-%COMP%]:hover:after, .modern-quickteller-btn[_ngcontent-%COMP%]:hover:after, .modern-cash-btn[_ngcontent-%COMP%]:hover:after, .modern-paydirect-btn[_ngcontent-%COMP%]:hover:after, .modern-zenith-btn[_ngcontent-%COMP%]:hover:after{width:300px;height:300px}.modern-paystack-btn-custom[_ngcontent-%COMP%]:hover, .modern-remita-btn-custom[_ngcontent-%COMP%]:hover, .modern-quickteller-btn[_ngcontent-%COMP%]:hover, .modern-cash-btn[_ngcontent-%COMP%]:hover, .modern-paydirect-btn[_ngcontent-%COMP%]:hover, .modern-zenith-btn[_ngcontent-%COMP%]:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 12px 35px #10b98180;background:linear-gradient(135deg,#059669,#047857,#065f46)}.modern-paystack-btn-custom[_ngcontent-%COMP%]:active, .modern-remita-btn-custom[_ngcontent-%COMP%]:active, .modern-quickteller-btn[_ngcontent-%COMP%]:active, .modern-cash-btn[_ngcontent-%COMP%]:active, .modern-paydirect-btn[_ngcontent-%COMP%]:active, .modern-zenith-btn[_ngcontent-%COMP%]:active{transform:translateY(-1px) scale(.98);transition:all .1s ease}.modern-paystack-btn-custom[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .modern-remita-btn-custom[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .modern-quickteller-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .modern-cash-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .modern-paydirect-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .modern-zenith-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.25rem;transition:all .3s cubic-bezier(.4,0,.2,1);z-index:1;position:relative}.modern-paystack-btn-custom[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modern-remita-btn-custom[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modern-quickteller-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modern-cash-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modern-paydirect-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modern-zenith-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{z-index:1;position:relative}.modern-paystack-btn-custom[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%], .modern-remita-btn-custom[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%], .modern-quickteller-btn[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%], .modern-cash-btn[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%], .modern-paydirect-btn[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%], .modern-zenith-btn[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%]{transform:scale(1.15) rotate(5deg)}.view-rrr-btn[_ngcontent-%COMP%]{width:100%;margin-top:.75rem;padding:.875rem 1.25rem;background:linear-gradient(135deg,#10b981,#059669,#047857);border:none;border-radius:12px;color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;gap:.625rem;position:relative;overflow:hidden;box-shadow:0 4px 15px #10b98133}.view-rrr-btn[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.view-rrr-btn[_ngcontent-%COMP%]:hover{background:linear-gradient(135deg,#059669,#047857,#065f46);transform:translateY(-2px);box-shadow:0 8px 25px #10b98166}.view-rrr-btn[_ngcontent-%COMP%]:hover:before{left:100%}.view-rrr-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1rem;transition:transform .3s ease;color:#fff}.view-rrr-btn[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%]{transform:scale(1.1)}.hidden-paystack-wrapper[_ngcontent-%COMP%], .hidden-remita-wrapper[_ngcontent-%COMP%], .hidden-quickteller-wrapper[_ngcontent-%COMP%]{position:absolute;top:-9999px;left:-9999px;opacity:0;pointer-events:none;z-index:-1;width:1px;height:1px;overflow:hidden}.hidden-paystack-btn[_ngcontent-%COMP%], .hidden-remita-btn[_ngcontent-%COMP%], .hidden-quickteller-btn[_ngcontent-%COMP%]{display:none}.cash-modal[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.25rem}.modal-field[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.35rem}.modal-field[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.85rem;font-weight:600;color:#22c55e;letter-spacing:.04em;text-transform:uppercase}.modal-field[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;font-size:1.2rem;font-weight:600;color:#0f172a}.alert-body[_ngcontent-%COMP%]{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;padding:1.25rem;color:#0f172a}.payment-section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%]{padding-bottom:2rem}.form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0}.document-form[_ngcontent-%COMP%], .form-fields[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.document-field[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;padding:1.5rem;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.field-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 1fr auto;gap:1rem;align-items:start}.field-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.field-label[_ngcontent-%COMP%]{font-size:.875rem;font-weight:500;color:#1e293b;display:flex;align-items:center;gap:.5rem}.field-number[_ngcontent-%COMP%]{background:#10b981;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600}.required[_ngcontent-%COMP%]{color:#ef4444}.form-input[_ngcontent-%COMP%]{padding:.75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;transition:all .2s}.form-input[_ngcontent-%COMP%]:focus{outline:none;border-color:#10b981;box-shadow:0 0 0 3px #10b9811a}.form-input.error[_ngcontent-%COMP%]{border-color:#ef4444}.error-message[_ngcontent-%COMP%]{color:#ef4444;font-size:.875rem;margin-top:.25rem}.upload-btn[_ngcontent-%COMP%]{background:#10b981;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.upload-btn[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.file-preview[_ngcontent-%COMP%]{margin-top:.5rem}.preview-image[_ngcontent-%COMP%]{max-width:150px;max-height:120px;border-radius:8px;object-fit:cover;border:1px solid #e2e8f0}.remove-btn[_ngcontent-%COMP%]{background:#ef4444;color:#fff;border:none;padding:.5rem;border-radius:8px;cursor:pointer;transition:all .2s}.remove-btn[_ngcontent-%COMP%]:hover{background:#dc2626}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:1rem}.add-btn[_ngcontent-%COMP%]{background:#3b82f6;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.add-btn[_ngcontent-%COMP%]:hover{background:#2563eb;transform:translateY(-1px)}.preview-btn[_ngcontent-%COMP%]{background:#10b981;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.preview-btn[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.preview-btn[_ngcontent-%COMP%]:disabled{background:#94a3b8;cursor:not-allowed}.summary-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.summary-title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0}.document-card[_ngcontent-%COMP%]{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1rem;box-shadow:0 2px 8px #0000000a}.doc-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.doc-number[_ngcontent-%COMP%]{background:#10b981;color:#fff;width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.875rem;font-weight:600}.doc-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:500;color:#1e293b;margin:0}.save-btn[_ngcontent-%COMP%]{background:#10b981;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.save-btn[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.table-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.search-bar[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center}.search-icon[_ngcontent-%COMP%]{position:absolute;left:1rem;color:#64748b;z-index:1}.search-input[_ngcontent-%COMP%]{width:100%;padding:.75rem 1rem .75rem 2.5rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;transition:all .2s}.search-input[_ngcontent-%COMP%]:focus{outline:none;border-color:#10b981;box-shadow:0 0 0 3px #10b9811a}.documents-table[_ngcontent-%COMP%]{width:100%}.view-btn[_ngcontent-%COMP%], .delete-btn[_ngcontent-%COMP%]{margin:0 .25rem}.modal-content[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:2rem}.id-image[_ngcontent-%COMP%]{max-width:100%;max-height:500px;border-radius:8px;object-fit:contain}.document-preview[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:2rem;background:#f8fafc;border-radius:12px}.document-image[_ngcontent-%COMP%]{max-width:100%;max-height:600px;border-radius:8px;object-fit:contain}.dialog-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem}.dialog-actions[_ngcontent-%COMP%]{display:flex;gap:1rem;justify-content:flex-end}.add-doc-btn[_ngcontent-%COMP%]{background:#10b981;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.5rem}.add-doc-btn[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.coming-soon-note[_ngcontent-%COMP%]{text-align:center;padding:1rem;color:#6b7280;font-style:italic}@media(max-width:768px){.application-detail-container[_ngcontent-%COMP%]{padding:1rem}.payment-methods-grid[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:1rem}.payment-method-card[_ngcontent-%COMP%]{padding:1.25rem}.application-header[_ngcontent-%COMP%]{flex-direction:column;gap:1rem;text-align:center;padding:1.5rem}.header-content[_ngcontent-%COMP%] h1.application-title[_ngcontent-%COMP%]{font-size:2rem}.header-actions[_ngcontent-%COMP%]{flex-direction:column;align-items:center;gap:.75rem}.status-badge[_ngcontent-%COMP%], .ref-number[_ngcontent-%COMP%]{width:100%;justify-content:center}.content-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.sidebar[_ngcontent-%COMP%]{position:static}.sidebar-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{text-align:center}.action-buttons[_ngcontent-%COMP%]{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:.75rem}.action-btn[_ngcontent-%COMP%]{width:calc(50% - .375rem)}.affidavit-title[_ngcontent-%COMP%]{padding:1rem;border-left:none}.clauses-section[_ngcontent-%COMP%] .clauses-title[_ngcontent-%COMP%]{text-align:center}.overview-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.overview-card[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;gap:.75rem}.card-icon[_ngcontent-%COMP%]{width:4rem;height:4rem}.card-content[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{font-size:.8rem}.card-content[_ngcontent-%COMP%] .card-value[_ngcontent-%COMP%]{font-size:1rem}.info-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.info-item[_ngcontent-%COMP%] .info-label[_ngcontent-%COMP%]{text-align:center}.payment-section[_ngcontent-%COMP%]{margin-bottom:1rem}.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%]{flex-direction:row;justify-content:space-between;align-items:center;padding:1.25rem;gap:1rem}.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.1rem;margin:0;flex:1;display:flex;align-items:center;gap:.5rem}.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1rem}.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%] .close-btn[_ngcontent-%COMP%]{padding:.5rem;font-size:1.1rem;flex-shrink:0;min-width:36px;min-height:36px;display:flex;align-items:center;justify-content:center}.payment-section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%]{padding:1.25rem 1rem}.payment-gateway-container[_ngcontent-%COMP%]{padding:0}.payment-methods-grid[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:1.25rem}.payment-method-card[_ngcontent-%COMP%]{padding:1.5rem 1.25rem;border-radius:16px}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%]{flex-direction:row;align-items:center;text-align:left;gap:1rem;margin-bottom:1.5rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-icon[_ngcontent-%COMP%]{width:56px;height:56px;border-radius:14px;flex-shrink:0}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-icon[_ngcontent-%COMP%] .payment-logo[_ngcontent-%COMP%]{width:36px;height:36px}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%]{flex:1;min-width:0}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%] .payment-title[_ngcontent-%COMP%]{font-size:1.15rem;margin-bottom:.5rem;word-wrap:break-word}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%] .payment-description[_ngcontent-%COMP%]{font-size:.85rem;line-height:1.5;word-wrap:break-word}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%]{flex-direction:column;gap:1.25rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%]{flex-direction:row;justify-content:space-between;align-items:center;gap:.75rem;padding:1rem;border-radius:10px}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%] .amount-label[_ngcontent-%COMP%]{font-size:.85rem;white-space:nowrap}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%] .amount-value[_ngcontent-%COMP%]{font-size:1.35rem;font-weight:700;white-space:nowrap;text-align:right}.payment-method-card[_ngcontent-%COMP%] .modern-paystack-btn-custom[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-remita-btn-custom[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-quickteller-btn[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-zenith-btn[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-cash-btn[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-paydirect-btn[_ngcontent-%COMP%]{width:100%;padding:1rem 1.25rem;font-size:.95rem;min-height:52px;border-radius:12px;letter-spacing:.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payment-method-card[_ngcontent-%COMP%] .modern-paystack-btn-custom[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-remita-btn-custom[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-quickteller-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-zenith-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-cash-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-paydirect-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.1rem;flex-shrink:0}.payment-method-card[_ngcontent-%COMP%] .modern-paystack-btn-custom[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-remita-btn-custom[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-quickteller-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-zenith-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-cash-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-paydirect-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.95rem;flex:1;text-align:center}.payment-method-card[_ngcontent-%COMP%] .view-rrr-btn[_ngcontent-%COMP%]{width:100%;padding:.875rem 1rem;font-size:.875rem;margin-top:.75rem;white-space:nowrap}.payment-method-card[_ngcontent-%COMP%] .view-rrr-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{flex-shrink:0}}@media(max-width:480px){.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%]{padding:1rem}.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1rem;gap:.4rem}.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:.9rem}.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%] .close-btn[_ngcontent-%COMP%]{padding:.4rem;min-width:32px;min-height:32px;font-size:1rem}.payment-section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%]{padding:1rem .75rem}.payment-method-card[_ngcontent-%COMP%]{padding:1.25rem 1rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%]{gap:.75rem;margin-bottom:1.25rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-icon[_ngcontent-%COMP%]{width:48px;height:48px}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-icon[_ngcontent-%COMP%] .payment-logo[_ngcontent-%COMP%]{width:32px;height:32px}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%] .payment-title[_ngcontent-%COMP%]{font-size:1.05rem;margin-bottom:.4rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%] .payment-description[_ngcontent-%COMP%]{font-size:.8rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%]{gap:1rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%]{padding:.875rem;flex-direction:column;align-items:flex-start;gap:.5rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%] .amount-label[_ngcontent-%COMP%]{font-size:.8rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%] .amount-value[_ngcontent-%COMP%]{font-size:1.25rem;text-align:left;width:100%}.payment-method-card[_ngcontent-%COMP%] .modern-paystack-btn-custom[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-remita-btn-custom[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-quickteller-btn[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-zenith-btn[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-cash-btn[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-paydirect-btn[_ngcontent-%COMP%]{padding:.875rem 1rem;font-size:.9rem;min-height:48px}.payment-method-card[_ngcontent-%COMP%] .modern-paystack-btn-custom[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-remita-btn-custom[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-quickteller-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-zenith-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-cash-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-paydirect-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1rem}.payment-method-card[_ngcontent-%COMP%] .modern-paystack-btn-custom[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-remita-btn-custom[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-quickteller-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-zenith-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-cash-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-paydirect-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.9rem}.payment-method-card[_ngcontent-%COMP%] .view-rrr-btn[_ngcontent-%COMP%]{padding:.75rem .875rem;font-size:.85rem}}']})}return t})();var zh=(()=>{class t{court=null;currentState=ue.currentState;court_bg_path=Ke.court_bg;court_logo_path2=Ke.court_of_arm;get divisionLabel(){return`${(this.court?.division||this.court?.name||"PORT HARCOURT").toUpperCase()} JUDICIAL DIVISION`}constructor(){}ngOnInit(){}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=V({type:t,selectors:[["app-print-header"]],inputs:{court:"court"},standalone:!1,decls:11,vars:5,consts:[[1,"print-header-doc","text-center"],[1,"print-header-doc__grid"],[1,"print-header-doc__logo-left"],["alt","Coat of Arms","height","90","width","100",3,"src"],[1,"print-header-doc__title-wrap"],[1,"print-header-doc__main-title"],[1,"print-header-doc__subtitle"],[1,"print-header-doc__logo-right"],["alt","Court Seal","height","90","width","90",3,"src"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"div",2),x(3,"img",3),d(),c(4,"div",4)(5,"h1",5),g(6,"FEDERAL HIGH COURT OF NIGERIA"),d(),c(7,"p",6),g(8),d()(),c(9,"div",7),x(10,"img",8),d()()()),n&2&&(p(3),m("src",Qm("data:image/png;base64,",o.court_logo_path2),_e),p(5),k(o.divisionLabel),p(2),m("src",Qm("data:image/png;base64,",o.court_bg_path),_e))},styles:[".print-header-doc[_ngcontent-%COMP%]{padding-top:10px;margin-bottom:-10px;font-family:Arial,Helvetica,sans-serif}.print-header-doc__grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;max-width:100%}.print-header-doc__logo-left[_ngcontent-%COMP%]{justify-self:start}.print-header-doc__logo-left[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;height:90px;width:100px;object-fit:contain}.print-header-doc__title-wrap[_ngcontent-%COMP%]{justify-self:center;text-align:center}.print-header-doc__main-title[_ngcontent-%COMP%]{margin:0 0 .25rem;font-size:1.75rem;font-weight:700;color:#0a640b;letter-spacing:.02em;line-height:1.2}.print-header-doc__subtitle[_ngcontent-%COMP%]{margin:0;font-size:1.1rem;font-weight:600;color:#0a640b}.print-header-doc__logo-right[_ngcontent-%COMP%]{justify-self:end}.print-header-doc__logo-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;height:90px;width:90px;object-fit:contain}"]})}return t})();var NW=()=>({width:"50vw"});function BW(t,i){t&1&&(c(0,"div"),x(1,"div",52)(2,"div",53)(3,"br"),d())}function zW(t,i){t&1&&(c(0,"div",54),x(1,"app-print-header"),c(2,"h2",55)(3,"span",56),g(4,"Affidavit"),d()(),x(5,"br"),d())}function HW(t,i){if(t&1&&x(0,"img",58),t&2){let e,n=f(2);m("src",Ta((e=n.application())==null?null:e.passport_photo_file),_e)}}function jW(t,i){if(t&1&&(c(0,"span"),_(1,HW,1,2,"img",57),d()),t&2){let e,n=f();p(),m("ngIf",(e=n.application())==null?null:e.passport_photo_file)}}function UW(t,i){if(t&1&&(c(0,"li",59)(1,"b"),g(2),d()()),t&2){let e=i.$implicit;p(2),k(e==null?null:e.content)}}function qW(t,i){t&1&&(c(0,"p",60),g(1,"\xA0"),d())}function GW(t,i){if(t&1&&x(0,"img",61),t&2){let e,n=f();m("src",Ta((e=n.application())==null?null:e.signature_file),_e)}}function QW(t,i){t&1&&(c(0,"div",62),g(1," \xA0 "),d())}function WW(t,i){if(t&1&&x(0,"img",65),t&2){let e,n=f(2);m("src",n.sanitizeImageUrl(((e=n.application())==null?null:e.authorization_signature)??""),_e)}}function KW(t,i){if(t&1&&(c(0,"div",63),_(1,WW,1,1,"img",64),d()),t&2){let e,n=f();p(),m("ngIf",(e=n.application())==null?null:e.authorization_signature)}}function YW(t,i){if(t&1&&x(0,"img",66),t&2){let e,n=f();m("src",n.sanitizeImageUrl((((e=n.application())==null?null:e.seal_image)||((e=n.application())==null?null:e.barcode_file))??n.no_image),_e)}}function ZW(t,i){if(t&1&&(c(0,"p",67)(1,"a",68),g(2),d()()),t&2){let e=f();p(),m("href",e.verificationUrl,_e),p(),k(e.verificationUrl)}}function JW(t,i){if(t&1){let e=P();c(0,"p-button",69),I("click",function(){y(e);let o=f();return C(o.displayIDCardModal=!1)}),d()}}var gO=(()=>{class t{affidavitEndpoint;affidavitPageStore;affidavitApplicationSettingEndpoint;sanitizer;appId;application=je(null);affidavitSetting;stateTitle=ue.stateTitleSentence;no_image="data:image/png;base64,"+Ke.no_image;verifyAffidavitBaseUrl=ue.verifyAffidavitTestBaseUrl;displayIDCardModal=!1;showHeader=!0;allowPassportUpload=!1;allowOathCommissionerSignaturePhoto=je(!1);qrCode=je("");constructor(e,n,o,r){this.affidavitEndpoint=e,this.affidavitPageStore=n,this.affidavitApplicationSettingEndpoint=o,this.sanitizer=r}ngOnInit(){this.affidavitPageStore.startLoading("Loading . . ."),this.affidavitPageStore.state$.subscribe(e=>{this.appId=e.refNo??"",this.verifyAffidavitBaseUrl=ue.production?ue.verifyAffidavitLiveBaseUrl:ue.verifyAffidavitTestBaseUrl}),this.appId&&(this.affidavitPageStore.startLoading("Loading Affidavit . . ."),this.affidavitEndpoint.findByRefNo(this.appId).subscribe({next:e=>{this.application.set(e.data),console.log("application",this.application()),this.qrCode.set(e.qr_code),this.affidavitPageStore.stopLoading()},error:e=>{this.affidavitPageStore.stopLoading()}})),this.affidavitApplicationSettingEndpoint.single(1).subscribe({next:e=>{this.affidavitSetting=e.data,this.allowPassportUpload=this.affidavitSetting?.allow_passport_photo,this.allowOathCommissionerSignaturePhoto.set(this.affidavitSetting?.allow_oath_commissioner_signature_photo)},error:e=>console.log(e)})}goBack(){this.affidavitPageStore.toggle("new")}printAffidavit(){window.print()}sanitizeImageUrl(e){return this.sanitizer.bypassSecurityTrustUrl(e)}get verificationUrl(){let e=this.application()?.ref_no??"";return e?`${this.verifyAffidavitBaseUrl}${e}`:""}getInitials(e){if(!e||!e.trim())return"";let n=e.trim().split(/\s+/).slice(0,3);return n.map(o=>o.charAt(0).toUpperCase()).join(".")+(n.length?".":"")}static \u0275fac=function(n){return new(n||t)(E(fi),E(Te),E(Ui),E($i))};static \u0275cmp=V({type:t,selectors:[["affidavit-print"]],standalone:!1,decls:109,vars:41,consts:[["name","viewport","content","width=device-width, initial-scale=1.0"],[1,"print-page-container"],[1,"print-header"],[1,"header-content"],[1,"print-title"],[1,"print-subtitle"],[1,"header-actions"],["pButton","","type","button","icon","pi pi-print","label","Print Affidavit",1,"print-btn",3,"click"],["pButton","","type","button","icon","pi pi-arrow-left","label","Go Back",1,"back-btn",3,"click"],[1,"affidavit-content"],[1,"affidavit-document"],["id","printRef",1,"main","minus-margin",2,"font-family","Arial !important"],[1,"affidavit-form"],[4,"ngIf"],["class","header",4,"ngIf"],[1,"content-container"],[1,"content-affidavit-type-title","text-black","text-center","font-bold","text-transform-uppercase","font-weight-bolder"],[2,"color","black !important","font-size","18px !important","margin","5px 0px !important","text-align","center","margin-top","30px","margin-bottom","30px"],[2,"line-height","1.8","font-size","22px","color","black !important","font-family","Arial !important"],[1,"text-uppercase"],[2,"line-height","1.8"],["colspan","3"],["style",`
|
|
98
|
+
`],encapsulation:2})}return t})(),BQ=(()=>{class t{dt;tableService;cd;el;columns;template;get value(){return this._value}set value(e){this._value=e,this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&this.dt.rowGroupMode==="subheader"&&this.updateFrozenRowGroupHeaderStickyPosition()}frozen;frozenRows;scrollerOptions;subscription;_value;ngAfterViewInit(){this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&this.dt.rowGroupMode==="subheader"&&this.updateFrozenRowGroupHeaderStickyPosition()}constructor(e,n,o,r){this.dt=e,this.tableService=n,this.cd=o,this.el=r,this.subscription=this.dt.tableService.valueSource$.subscribe(()=>{this.dt.virtualScroll&&this.cd.detectChanges()})}shouldRenderRowGroupHeader(e,n,o){let r=j.resolveFieldData(n,this.dt.groupRowsBy),a=e[o-(1+this.dt._first)];if(a){let s=j.resolveFieldData(a,this.dt.groupRowsBy);return r!==s}else return!0}shouldRenderRowGroupFooter(e,n,o){let r=j.resolveFieldData(n,this.dt.groupRowsBy),a=e[o+(1+this.dt._first)];if(a){let s=j.resolveFieldData(a,this.dt.groupRowsBy);return r!==s}else return!0}shouldRenderRowspan(e,n,o){let r=j.resolveFieldData(n,this.dt.groupRowsBy),a=e[o-1];if(a){let s=j.resolveFieldData(a,this.dt.groupRowsBy);return r!==s}else return!0}calculateRowGroupSize(e,n,o){let r=j.resolveFieldData(n,this.dt.groupRowsBy),a=r,s=0;for(;r===a;){s++;let l=e[++o];if(l)a=j.resolveFieldData(l,this.dt.groupRowsBy);else break}return s===1?null:s}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}updateFrozenRowStickyPosition(){this.el.nativeElement.style.top=T.getOuterHeight(this.el.nativeElement.previousElementSibling)+"px"}updateFrozenRowGroupHeaderStickyPosition(){if(this.el.nativeElement.previousElementSibling){let e=T.getOuterHeight(this.el.nativeElement.previousElementSibling);this.dt.rowGroupHeaderStyleObject.top=e+"px"}}getScrollerOption(e,n){return this.dt.virtualScroll?(n=n||this.scrollerOptions,n?n[e]:null):null}getRowIndex(e){let n=this.dt.paginator?this.dt.first+e:e,o=this.getScrollerOption("getItemOptions");return o?o(n).index:n}static \u0275fac=function(n){return new(n||t)(E(Cp),E(Lv),E(Se),E(Ce))};static \u0275cmp=V({type:t,selectors:[["","pTableBody",""]],hostAttrs:[1,"p-element"],inputs:{columns:[0,"pTableBody","columns"],template:[0,"pTableBodyTemplate","template"],value:"value",frozen:[2,"frozen","frozen",F],frozenRows:[2,"frozenRows","frozenRows",F],scrollerOptions:"scrollerOptions"},standalone:!1,attrs:lQ,decls:5,vars:5,consts:[[4,"ngIf"],["ngFor","",3,"ngForOf","ngForTrackBy"],["role","row",4,"ngIf"],["role","row"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,o){n&1&&_(0,bQ,2,2,"ng-container",0)(1,OQ,2,2,"ng-container",0)(2,FQ,2,2,"ng-container",0)(3,LQ,2,5,"ng-container",0)(4,NQ,2,5,"ng-container",0),n&2&&(m("ngIf",!o.dt.expandedRowTemplate),p(),m("ngIf",o.dt.expandedRowTemplate&&!(o.frozen&&o.dt.frozenExpandedRowTemplate)),p(),m("ngIf",o.dt.frozenExpandedRowTemplate&&o.frozen),p(),m("ngIf",o.dt.loading),p(),m("ngIf",o.dt.isEmpty()&&!o.dt.loading))},dependencies:[ot,xe,We],encapsulation:2})}return t})();var Vh=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=J({type:t});static \u0275inj=Z({imports:[oe,Rh,ti,ea,zs,gn,Ec,wc,ta,cO,bo,Sv,Ov,so,tO,iO,nO,cn,$S,eO,Ic,oO,re,bo]})}return t})();var zQ=["filter"],HQ=["paymentSection"],jQ=()=>({width:"50vw"}),Nh=()=>({width:"50vw"}),Bh=()=>({"960px":"75vw","640px":"100vw"}),UQ=()=>({width:"90vw",maxWidth:"800px"}),qQ=()=>["title"];function GQ(t,i){if(t&1){let e=P();c(0,"div",89),x(1,"i",90),c(2,"span"),g(3),d(),c(4,"button",91),I("click",function(){y(e);let o=f(2);return C(o.copyApplicationRef())}),x(5,"i",92),d()()}if(t&2){let e,n=f(2);p(3),k((e=n.application())==null?null:e.ref_no)}}function QQ(t,i){if(t&1){let e=P();c(0,"div",100)(1,"div",101)(2,"div",102),x(3,"img",103),d(),c(4,"div",104)(5,"h4",105),g(6,"Paystack"),d(),c(7,"p",106),g(8,"Secure online payment with cards"),d()()(),c(9,"div",107)(10,"div",108)(11,"span",109),g(12,"Amount"),d(),c(13,"span",110),g(14),Ct(15,"currency"),d()(),c(16,"div",111)(17,"angular4-paystack",112),I("onClose",function(){y(e);let o=f(3);return C(o.cancelPaystackPayment())})("callback",function(o){y(e);let r=f(3);return C(r.processPayment(o,"paystack"))}),c(18,"button",113,1),x(20,"i",94),c(21,"span"),g(22,"Pay with Paystack"),d()()()(),c(23,"button",114),I("click",function(){y(e);let o=pe(19),r=f(3);return C(r.triggerPaystackPayment(o))}),x(24,"i",94),c(25,"span"),g(26,"Pay with Paystack"),d()()()()}if(t&2){let e=f(3);p(3),m("src","data:image/png;base64,"+e.paystack_icon,_e),p(11),k(Ji(15,7,e.getPaymentAmount("paystack"),"NGN","symbol-narrow","1.2-2")),p(3),m("email",e.paymentEmail)("amount",e.calculateAmount(e.getPaymentAmount("paystack"))*100)("ref",e.paymentReference)("key",e.paystackKey)("split_code",e.getSplitCode("paystack"))}}function WQ(t,i){if(t&1){let e=P();c(0,"div",93,0)(2,"div",29)(3,"h3"),x(4,"i",94),g(5," Payment Section"),d(),c(6,"button",95),I("click",function(){y(e);let o=f(2);return C(o.closePaySection())}),x(7,"i",96),d()(),c(8,"div",31)(9,"div",97)(10,"div",98),_(11,QQ,27,12,"div",99),d()()()()}if(t&2){let e=f(2);p(11),m("ngIf",e.allowOnlinePayment&&e.isPaymentMethodAllowed("paystack"))}}function KQ(t,i){if(t&1&&(c(0,"div",118),x(1,"i",119),c(2,"span",120),g(3),d()()),t&2){let e=f(3);p(3),k(e.currentDocTitle)}}function YQ(t,i){if(t&1){let e=P();c(0,"div",121)(1,"button",122),I("click",function(){y(e);let o=f(3);return C(o.displayDocModal=!1)}),d(),c(2,"button",123),I("click",function(){y(e);let o=f(3);return C(o.onOpenCurrentDocument())}),d()()}}function ZQ(t,i){if(t&1){let e=P();N(0),c(1,"p-dialog",115),Ht("visibleChange",function(o){y(e);let r=f(2);return Wt(r.displayDocModal,o)||(r.displayDocModal=o),C(o)}),_(2,KQ,4,1,"ng-template",70),c(3,"div",116),x(4,"img",117),d(),_(5,YQ,3,0,"ng-template",68),d(),B()}if(t&2){let e=f(2);p(),It(Pe(4,UQ)),zt("visible",e.displayDocModal),p(3),m("src",e.currentDoc,_e)}}function JQ(t,i){t&1&&(c(0,"span"),g(1,"Document title is required"),d())}function XQ(t,i){if(t&1&&(c(0,"div",149),_(1,JQ,2,0,"span",16),d()),t&2){let e,n=f().$implicit;p(),m("ngIf",(e=n.get("title"))==null||e.errors==null?null:e.errors.required)}}function $Q(t,i){if(t&1){let e=P();c(0,"button",150),I("click",function(){y(e),f();let o=pe(17);return C(o.click())}),d()}}function eW(t,i){if(t&1&&(c(0,"div",151),x(1,"img",152),d()),t&2){let e,n=f(),o=n.$implicit,r=n.index,a=f(4);p(),m("src",a.filePreviews[r].data,_e)("alt",(e=o.get("title"))==null?null:e.value)}}function tW(t,i){if(t&1){let e=P();c(0,"div",137)(1,"div",138)(2,"div",139)(3,"label",140),g(4," Document Title "),c(5,"span",141),g(6),d(),c(7,"span",142),g(8,"*"),d()(),x(9,"input",143),_(10,XQ,2,1,"div",144),d(),c(11,"div",139)(12,"label",140),g(13,"Upload Document"),d(),_(14,$Q,1,0,"button",145)(15,eW,2,2,"div",146),c(16,"input",147,2),I("change",function(o){let r=y(e).index,a=f(4);return C(a.handleFileUpload(o,r))}),d()(),c(18,"button",148),I("click",function(){let o=y(e).index,r=f(4);return C(r.removeDocument(o))}),d()()()}if(t&2){let e,n,o=i.$implicit,r=i.index,a=f(4);m("formGroupName",r),p(6),k(r+1),p(3),tt("error",((e=o.get("title"))==null?null:e.invalid)&&((e=o.get("title"))==null?null:e.touched)),p(),m("ngIf",((n=o.get("title"))==null?null:n.invalid)&&((n=o.get("title"))==null?null:n.touched)),p(4),m("ngIf",!(a.filePreviews[r]!=null&&a.filePreviews[r].data)),p(),m("ngIf",a.filePreviews[r]==null?null:a.filePreviews[r].data)}}function nW(t,i){if(t&1){let e=P();c(0,"div",31)(1,"div",127)(2,"h4",128),g(3,"Add Document(s)"),d(),c(4,"form",129)(5,"div",130),_(6,tW,19,7,"div",131),d(),c(7,"div",132)(8,"button",133),I("click",function(){y(e);let o=f(3);return C(o.addDocument())}),d()(),c(9,"div",134)(10,"button",135),I("click",function(){y(e);let o=f(3);return o.canPreviewDoc=!1,C(o.canAddDoc=!1)}),d(),c(11,"button",136),I("click",function(){y(e);let o=f(3);return o.canPreviewDoc=!0,C(o.canAddDoc=!1)}),d()()()()()}if(t&2){let e=f(3);p(4),m("formGroup",e.documentForm),p(2),m("ngForOf",e.filesFormControl.controls),p(5),m("disabled",e.isFormInvalid)}}function iW(t,i){if(t&1&&(c(0,"div",159)(1,"div",160)(2,"span",161),g(3),d(),c(4,"h5",162),g(5),d()(),x(6,"img",163),d()),t&2){let e,n=i.$implicit,o=i.index,r=f(4);p(3),k(o+1),p(2),k((e=n.get("title"))==null?null:e.value),p(),m("src",r.filePreviews[o].data,_e)}}function oW(t,i){if(t&1){let e=P();c(0,"div",31)(1,"div",153)(2,"h4",154),g(3,"Document Summary"),d(),c(4,"div",41),_(5,iW,7,3,"div",155),d(),c(6,"div",156)(7,"button",157),I("click",function(){y(e);let o=f(3);return o.canPreviewDoc=!1,C(o.canAddDoc=!0)}),d(),c(8,"button",158),I("click",function(){y(e);let o=f(3);return C(o.saveDoc())}),d()()()()}if(t&2){let e=f(3);p(5),m("ngForOf",e.filesFormControl.controls)}}function rW(t,i){if(t&1&&(c(0,"div",124)(1,"div",29)(2,"h3"),x(3,"i",125),g(4," Document Management"),d()(),_(5,nW,12,3,"div",126)(6,oW,9,1,"div",126),d()),t&2){let e=f(2);p(5),m("ngIf",e.canAddDoc),p(),m("ngIf",e.canPreviewDoc)}}function aW(t,i){if(t&1&&(c(0,"div",168)(1,"div",169)(2,"span",170),g(3),d(),c(4,"h5"),g(5),d()(),x(6,"div",171),d()),t&2){let e=i.$implicit,n=i.index,o=f(3);p(3),k(n+1),p(2),me("Clause ",n+1),p(),m("innerHtml",o.sanitizeHtml(e.content),Ei)}}function sW(t,i){if(t&1&&(c(0,"div",164)(1,"h4",165),g(2,"Clauses"),d(),c(3,"div",166),_(4,aW,7,3,"div",167),d()()),t&2){let e,n=f(2);p(4),m("ngForOf",(e=n.application())==null?null:e.clauses)}}function lW(t,i){if(t&1&&(c(0,"div",177)(1,"span",178),g(2),d(),c(3,"span",179),g(4),d()()),t&2){let e=f().$implicit,n=f(3);p(2),k(e.label),p(2),k(n.formatIfDate(e.provided_value))}}function cW(t,i){if(t&1&&(N(0),_(1,lW,5,2,"div",176),B()),t&2){let e=i.$implicit;p(),m("ngIf",e.provided_value&&e.provided_value!=="null")}}function dW(t,i){if(t&1&&(c(0,"div",172)(1,"h4",173),g(2,"Additional Information"),d(),c(3,"div",174),_(4,cW,2,1,"ng-container",175),d()()),t&2){let e,n=f(2);p(4),m("ngForOf",(e=n.application())==null?null:e.formEntries)}}function pW(t,i){t&1&&(c(0,"div",180),g(1,"Not Provided"),d())}function uW(t,i){if(t&1&&x(0,"img",181),t&2){let e,n=f(2);m("src",(e=n.application())==null?null:e.passport_photo_file,_e)}}function mW(t,i){t&1&&(c(0,"div",180),g(1,"Not Provided"),d())}function fW(t,i){if(t&1&&x(0,"img",182),t&2){let e,n=f(2);m("src",(e=n.application())==null?null:e.signature_file,_e)}}function hW(t,i){t&1&&(c(0,"div",180),g(1,"Not Provided"),d())}function gW(t,i){if(t&1&&x(0,"img",183),t&2){let e,n=f(2);m("src",(e=n.application())==null?null:e.identity_card_file,_e)}}function AW(t,i){t&1&&(c(0,"tr")(1,"th"),g(2,"Document Title"),d(),c(3,"th",194),g(4,"Actions"),d()())}function _W(t,i){if(t&1){let e=P();c(0,"tr")(1,"td")(2,"div",162),x(3,"i",195),g(4),d()(),c(5,"td",194)(6,"div",54)(7,"button",196),I("click",function(){let o=y(e).$implicit,r=f(3);return C(r.docModalOpen(o))}),d(),c(8,"button",197),I("click",function(){let o=y(e).$implicit,r=f(3);return C(r.deleteDoc(o.id))}),d()()()()}if(t&2){let e=i.$implicit;p(4),me(" ",e.title," ")}}function bW(t,i){t&1&&(c(0,"tr")(1,"td",198),x(2,"i",199),c(3,"p",200),g(4,"No documents found"),d()()())}function vW(t,i){if(t&1){let e=P();c(0,"div",28)(1,"div",29)(2,"h3"),x(3,"i",184),g(4," Uploaded Documents"),d(),c(5,"button",185),I("click",function(){y(e);let o=f(2);return C(o.openAddDocFormSection())}),x(6,"i",186),g(7," Add Document "),d()(),c(8,"div",31)(9,"div",187)(10,"div",188),x(11,"i",189),c(12,"input",190,3),I("input",function(o){y(e);let r=pe(15),a=f(2);return C(a.onGlobalFilter(r,o))}),d()(),c(14,"p-table",191,4),_(16,AW,5,0,"ng-template",70)(17,_W,9,1,"ng-template",192)(18,bW,5,0,"ng-template",193),d()()()()}if(t&2){let e=f(2);p(14),m("value",e.docs)("rows",10)("rowHover",!0)("paginator",!0)("globalFilterFields",Pe(5,qQ))}}function yW(t,i){if(t&1){let e=P();c(0,"button",201),I("click",function(){y(e);let o=f(2);return C(o.displayPaySection())}),d()}}function CW(t,i){if(t&1){let e=P();c(0,"button",202),I("click",function(){y(e);let o=f(2);return C(o.goToEdit())}),d()}}function xW(t,i){if(t&1){let e=P();c(0,"button",203),I("click",function(){y(e);let o=f(2);return C(o.openAddDocFormSection())}),d()}}function wW(t,i){if(t&1){let e=P();c(0,"button",204),I("click",function(){y(e);let o=f(2);return C(o.affidavitPreview())}),d()}}function IW(t,i){if(t&1){let e=P();c(0,"div",213)(1,"p",214),g(2,"To Acknowledge/Approve Query Changes"),d(),c(3,"button",215),I("click",function(){y(e);let o=f(3);return C(o.approveQueryChanges())}),d()()}}function EW(t,i){if(t&1&&(c(0,"div",52)(1,"div",53)(2,"h3"),g(3,"Last Query"),d()(),c(4,"div",22)(5,"div",205)(6,"p",206),g(7),d(),c(8,"div",207)(9,"span",208),g(10),Ct(11,"date"),d(),c(12,"div",209)(13,"span",210),g(14,"Acknowledged:"),d(),x(15,"p-tag",211),d()(),_(16,IW,4,0,"div",212),d()()()),t&2){let e=f(2);p(7),k((e.applicationQuery==null?null:e.applicationQuery.query)??"(not set)"),p(3),k($t(11,5,e.applicationQuery==null?null:e.applicationQuery.created_at,"MMM d, y, h:mm a")),p(5),m("value",e.applicationQuery!=null&&e.applicationQuery.is_acknowledged?"Yes":"No")("severity",e.applicationQuery!=null&&e.applicationQuery.is_acknowledged?"success":"danger"),p(),m("ngIf",(e.applicationQuery==null?null:e.applicationQuery.was_edited_once)&&(e.applicationQuery==null?null:e.applicationQuery.is_acknowledged)==!1)}}function MW(t,i){if(t&1){let e=P();c(0,"button",216),I("click",function(){y(e);let o=f(2);return C(o.displayIDCardModal=!1)}),d()}}function SW(t,i){}function OW(t,i){if(t&1){let e=P();c(0,"button",217),I("click",function(){y(e);let o=f(2);return C(o.printpart("printCashRef"))}),d(),c(1,"button",218),I("click",function(){y(e);let o=f(2);return C(o.closeCashPayModal())}),d()}}function TW(t,i){}function PW(t,i){if(t&1){let e=P();c(0,"button",217),I("click",function(){y(e);let o=f(2);return C(o.printpart("printCashRef1"))}),d(),c(1,"button",218),I("click",function(){y(e);let o=f(2);return C(o.closeRrrModal())}),d()}}function kW(t,i){}function DW(t,i){if(t&1){let e=P();c(0,"button",217),I("click",function(){y(e);let o=f(2);return C(o.printpart("printPaydirectRef"))}),d(),c(1,"button",218),I("click",function(){y(e);let o=f(2);return C(o.displayPaydirectModal=!1)}),d()}}function FW(t,i){}function RW(t,i){if(t&1){let e=P();c(0,"button",217),I("click",function(){y(e);let o=f(2);return C(o.printpart("printZenithRef"))}),d(),c(1,"button",218),I("click",function(){y(e);let o=f(2);return C(o.closeZenithPayModal())}),d()}}function LW(t,i){if(t&1){let e=P();c(0,"div",6)(1,"div",7)(2,"div",8)(3,"h1",9),g(4,"Application Details"),d(),c(5,"p",10),g(6,"View and manage your affidavit application information"),d()(),c(7,"div",11)(8,"div",12),x(9,"i",13),c(10,"span"),g(11),d()(),_(12,GQ,6,1,"div",14),d()(),_(13,WQ,12,1,"div",15)(14,ZQ,6,5,"ng-container",16),c(15,"div",17)(16,"div",18),_(17,rW,7,2,"div",19),c(18,"div",20)(19,"div",21)(20,"div",22)(21,"h4",23),g(22,"Application ID"),d(),c(23,"p",24),g(24),d()()(),c(25,"div",25)(26,"div",22)(27,"h4",23),g(28,"Affidavit Type"),d(),c(29,"p",24),g(30),d()()(),c(31,"div",26)(32,"div",22)(33,"h4",23),g(34,"Deponent Name"),d(),c(35,"p",24),g(36),d()()(),c(37,"div",27)(38,"div",22)(39,"h4",23),g(40,"Payment Status"),d(),c(41,"p",24),g(42),d()()()(),c(43,"div",28)(44,"div",29)(45,"h3"),x(46,"i",30),g(47," Personal Information"),d()(),c(48,"div",31)(49,"div",32)(50,"div",33)(51,"span",34),g(52,"Deponent NIN"),d(),c(53,"span",35),g(54),d()(),c(55,"div",33)(56,"span",34),g(57,"Native Town"),d(),c(58,"span",35),g(59),d()(),c(60,"div",33)(61,"span",34),g(62,"Country of Origin"),d(),c(63,"span",35),g(64),d()(),c(65,"div",33)(66,"span",34),g(67,"State of Origin"),d(),c(68,"span",35),g(69),d()(),c(70,"div",33)(71,"span",34),g(72,"Place of Residence"),d(),c(73,"span",35),g(74),d()(),c(75,"div",33)(76,"span",34),g(77,"Occupation"),d(),c(78,"span",35),g(79),d()(),c(80,"div",33)(81,"span",34),g(82,"Gender"),d(),c(83,"span",35),g(84),d()(),c(85,"div",33)(86,"span",34),g(87,"Religion"),d(),c(88,"span",35),g(89),d()()()()(),c(90,"div",28)(91,"div",29)(92,"h3"),x(93,"i",36),g(94," Affidavit Details"),d()(),c(95,"div",31)(96,"div",37)(97,"span",34),g(98,"Affidavit Title"),d(),c(99,"span",35),g(100),d()(),_(101,sW,5,1,"div",38)(102,dW,5,1,"div",39),d()(),c(103,"div",28)(104,"div",29)(105,"h3"),x(106,"i",40),g(107," Supporting Documents"),d()(),c(108,"div",31)(109,"div",41)(110,"div",42)(111,"span",43),g(112,"Passport Photo"),d(),c(113,"div",44),_(114,pW,2,0,"div",45)(115,uW,1,1,"img",46),d()(),c(116,"div",42)(117,"span",43),g(118,"Signature Photo"),d(),c(119,"div",44),_(120,mW,2,0,"div",45)(121,fW,1,1,"img",47),d()(),c(122,"div",42)(123,"span",43),g(124,"ID Card"),d(),c(125,"div",44),_(126,hW,2,0,"div",45)(127,gW,1,1,"img",48),d()(),c(128,"div",42)(129,"span",43),g(130,"Preferred Court"),d(),c(131,"div",44)(132,"span",49),g(133),d()()()()()(),_(134,vW,19,6,"div",50),d(),c(135,"div",51)(136,"div",52)(137,"div",53)(138,"h3"),g(139,"Quick Actions"),d()(),c(140,"div",22)(141,"div",54),_(142,yW,1,0,"button",55)(143,CW,1,0,"button",56)(144,xW,1,0,"button",57)(145,wW,1,0,"button",58),d()()(),c(146,"div",52)(147,"div",53)(148,"h3"),g(149,"Applicant Information"),d()(),c(150,"div",22)(151,"div",59)(152,"div",60),x(153,"i",61),c(154,"span"),g(155),d()(),c(156,"div",62),x(157,"i",63),c(158,"span"),g(159),d()()()()(),_(160,EW,17,8,"div",64),d()(),c(161,"p-dialog",65),Ht("visibleChange",function(o){y(e);let r=f();return Wt(r.displayIDCardModal,o)||(r.displayIDCardModal=o),C(o)}),c(162,"div",66),x(163,"img",67),d(),_(164,MW,1,0,"ng-template",68),d(),c(165,"p-dialog",69),Ht("visibleChange",function(o){y(e);let r=f();return Wt(r.displayCashModal,o)||(r.displayCashModal=o),C(o)}),_(166,SW,0,0,"ng-template",70),c(167,"div",71),x(168,"button",72),c(169,"div",73)(170,"span",74),g(171," Copy the "),c(172,"strong",75),g(173,"Payment Reference Number"),d(),g(174," below and present to any High Court agent with the sum of "),c(175,"strong",75),g(176),Ct(177,"number"),d(),g(178," to proceed with the affidavit cash payment. "),d()(),c(179,"div",76)(180,"span",77),g(181,"Payee"),d(),c(182,"div",78),g(183),d()(),c(184,"div",76)(185,"span",77),g(186,"Payment Reference Number"),d(),c(187,"div",78),g(188),c(189,"button",79),I("click",function(){let o;y(e);let r=f();return C(r.copyCode((o=r.application())==null||o.revenuePaymentEntry==null?null:o.revenuePaymentEntry.ref_id))}),d()()()(),_(190,OW,2,0,"ng-template",68),d(),c(191,"p-dialog",80),Ht("visibleChange",function(o){y(e);let r=f();return Wt(r.displayRrrModal,o)||(r.displayRrrModal=o),C(o)}),_(192,TW,0,0,"ng-template",70),c(193,"div",71),x(194,"button",81),c(195,"div",73)(196,"span",74),g(197," Copy the "),c(198,"strong",75),g(199,"RRR"),d(),g(200," below and use any Remita payment channel to pay the sum of "),c(201,"strong",75),g(202),Ct(203,"number"),d(),g(204," to proceed with your request. "),d()(),c(205,"div",76)(206,"span",77),g(207,"Payee"),d(),c(208,"div",78),g(209),d()(),c(210,"div",76)(211,"span",77),g(212,"RRR"),d(),c(213,"div",78),g(214),c(215,"button",82),I("click",function(){let o;y(e);let r=f();return C(r.copyCode((o=r.application())==null||o.revenuePaymentEntry==null?null:o.revenuePaymentEntry.rrr))}),d()()()(),_(216,PW,2,0,"ng-template",68),d(),c(217,"p-dialog",83),Ht("visibleChange",function(o){y(e);let r=f();return Wt(r.displayPaydirectModal,o)||(r.displayPaydirectModal=o),C(o)}),_(218,kW,0,0,"ng-template",70),c(219,"div",71),x(220,"button",84),c(221,"div",73)(222,"span",74),g(223," To proceed with the affidavit payment, copy the "),c(224,"strong",75),g(225,"Payment Reference Number"),d(),g(226," and pay "),c(227,"strong",75),g(228),Ct(229,"number"),d(),g(230," via the Interswitch PayDirect platform. "),d()(),c(231,"div",76)(232,"span",77),g(233,"Payee"),d(),c(234,"div",78),g(235),d()(),c(236,"div",76)(237,"span",77),g(238,"Payment Reference Number"),d(),c(239,"div",78),g(240),c(241,"button",85),I("click",function(){let o;y(e);let r=f();return C(r.copyCode((o=r.application())==null||o.revenuePaymentEntry==null?null:o.revenuePaymentEntry.ref_id))}),d()()()(),_(242,DW,2,0,"ng-template",68),d(),c(243,"p-dialog",86),Ht("visibleChange",function(o){y(e);let r=f();return Wt(r.displayZenithPayModal,o)||(r.displayZenithPayModal=o),C(o)}),_(244,FW,0,0,"ng-template",70),c(245,"div",71),x(246,"button",87),c(247,"div",73)(248,"span",74),g(249," Copy the "),c(250,"strong",75),g(251,"Payment Reference Number"),d(),g(252," below and present to any Zenith Bank teller with the sum of "),c(253,"strong",75),g(254),Ct(255,"number"),d(),g(256," to complete your affidavit payment. "),d()(),c(257,"div",76)(258,"span",77),g(259,"Payee"),d(),c(260,"div",78),g(261),d()(),c(262,"div",76)(263,"span",77),g(264,"Payment Reference Number"),d(),c(265,"div",78),g(266),c(267,"button",85),I("click",function(){let o;y(e);let r=f();return C(r.copyCode(((o=r.application())==null||o.revenuePaymentEntry==null?null:o.revenuePaymentEntry.ref_id)??""))}),d()()()(),_(268,RW,2,0,"ng-template",68),d(),x(269,"p-toast",88),d()}if(t&2){let e,n,o,r,a,s,l,u,h,A,b,v,w,M,S,D,L,Q,K,W,ie,ge,se,Ie,Ye,it,ht,In,Vn,Tt,Gt,dn,ki,xn,Or,ca,Tr,Pr,Wo,kr,Ko,l0,Oe=f();p(8),m("ngClass",Oe.getStatusClass()),p(),tt("pi-check-circle",((e=Oe.application())==null?null:e.status)==="approved")("pi-clock",((n=Oe.application())==null?null:n.status)==="pending"||((n=Oe.application())==null?null:n.status)==="draft")("pi-exclamation-triangle",((o=Oe.application())==null?null:o.status)==="queried"),p(2),k(Oe.getStatusText()),p(),m("ngIf",(r=Oe.application())==null?null:r.ref_no),p(),m("ngIf",Oe.displayPaymentSection),p(),m("ngIf",Oe.displayDocModal),p(3),m("ngIf",Oe.canPreviewDoc||Oe.canAddDoc),p(7),k(((a=Oe.application())==null?null:a.ref_no)||"Not available"),p(6),k(((s=Oe.application())==null?null:s.affidavit_type_name)||"Not set"),p(6),k(((l=Oe.application())==null?null:l.deponent_name)||"Not set"),p(),m("ngClass",(u=Oe.application())!=null&&u.is_paid?"success":"warning"),p(5),k((h=Oe.application())!=null&&h.is_paid?"Paid":"Not Paid"),p(12),k(((A=Oe.application())==null?null:A.deponent_nin)||"Not set"),p(5),k(((b=Oe.application())==null?null:b.town_native)||"Not set"),p(5),k(((v=Oe.application())==null||v.state==null||v.state.country==null?null:v.state.country.name)||"Not set"),p(5),k(((w=Oe.application())==null||w.state==null?null:w.state.name)||"Not set"),p(5),k(((M=Oe.application())==null?null:M.town_resident)||"Not set"),p(5),k(((S=Oe.application())==null?null:S.occupation)||"Not set"),p(5),k(((D=Oe.application())==null?null:D.gender)||"Not set"),p(5),k(((L=Oe.application())==null?null:L.religion)||"Not set"),p(11),k(((Q=Oe.application())==null?null:Q.affidavit_type_name)||"Not set"),p(),m("ngIf",((K=Oe.application())==null?null:K.is_clauses_editable)&&((K=Oe.application())==null||K.clauses==null?null:K.clauses.length)),p(),m("ngIf",(W=Oe.application())==null||W.formEntries==null?null:W.formEntries.length),p(12),m("ngIf",!((ie=Oe.application())!=null&&ie.passport_photo_file)),p(),m("ngIf",(ge=Oe.application())==null?null:ge.passport_photo_file),p(5),m("ngIf",!((se=Oe.application())!=null&&se.signature_file)),p(),m("ngIf",(Ie=Oe.application())==null?null:Ie.signature_file),p(5),m("ngIf",!((Ye=Oe.application())!=null&&Ye.identity_card_file)),p(),m("ngIf",(it=Oe.application())==null?null:it.identity_card_file),p(6),k(((ht=Oe.application())==null||ht.court==null?null:ht.court.name)||"Value not set"),p(),m("ngIf",Oe.docs.length>0),p(8),m("ngIf",!((In=Oe.application())!=null&&In.is_paid)),p(),m("ngIf",((Vn=Oe.application())==null?null:Vn.status)==="draft"||((Vn=Oe.application())==null?null:Vn.status)==="queried"),p(),m("ngIf",((Tt=Oe.application())==null?null:Tt.status)==="draft"||((Tt=Oe.application())==null?null:Tt.status)==="queried"),p(),m("ngIf",((Gt=Oe.application())==null?null:Gt.status)==="approved"&&((Gt=Oe.application())==null?null:Gt.is_paid)&&!Oe.previewAffidavit),p(10),k(((dn=Oe.application())==null?null:dn.applicant_email)||"Not provided"),p(4),k(((ki=Oe.application())==null?null:ki.applicant_phone)||"Not provided"),p(),m("ngIf",Oe.applicationQuery==null?null:Oe.applicationQuery.query),p(),It(Pe(98,jQ)),zt("visible",Oe.displayIDCardModal),m("modal",!0)("draggable",!1)("resizable",!1),p(2),m("src",((xn=Oe.application())==null?null:xn.identity_photo_file)||((xn=Oe.application())==null?null:xn.passport_photo_file)||Oe.no_image,_e),p(2),It(Pe(99,Nh)),zt("visible",Oe.displayCashModal),m("closable",!1)("modal",!0)("breakpoints",Pe(100,Bh)),p(11),me("\u20A6",$t(177,86,Oe.getPaymentAmount("revenue"),"1.2-2")),p(7),k((Or=Oe.application())==null?null:Or.deponent_name),p(5),me(" ",(ca=Oe.application())==null||ca.revenuePaymentEntry==null?null:ca.revenuePaymentEntry.ref_id," "),p(3),It(Pe(101,Nh)),zt("visible",Oe.displayRrrModal),m("closable",!1)("modal",!0)("breakpoints",Pe(102,Bh)),p(11),me("\u20A6",$t(203,89,Oe.getPaymentAmount("remita"),"1.2-2")),p(7),k((Tr=Oe.application())==null?null:Tr.deponent_name),p(5),me(" ",((Pr=Oe.application())==null||Pr.revenuePaymentEntry==null?null:Pr.revenuePaymentEntry.rrr)||"Not Set"," "),p(3),It(Pe(103,Nh)),zt("visible",Oe.displayPaydirectModal),m("closable",!1)("modal",!0)("breakpoints",Pe(104,Bh)),p(11),me("\u20A6",$t(229,92,Oe.getPaymentAmount("paydirect"),"1.2-2")),p(7),k((Wo=Oe.application())==null?null:Wo.deponent_name),p(5),me(" ",(kr=Oe.application())==null||kr.revenuePaymentEntry==null?null:kr.revenuePaymentEntry.ref_id," "),p(3),It(Pe(105,Nh)),zt("visible",Oe.displayZenithPayModal),m("closable",!1)("modal",!0)("breakpoints",Pe(106,Bh)),p(11),me("\u20A6",$t(255,95,Oe.getPaymentAmount("zenith"),"1.2-2")),p(7),k((Ko=Oe.application())==null?null:Ko.deponent_name),p(5),me(" ",(l0=Oe.application())==null||l0.revenuePaymentEntry==null?null:l0.revenuePaymentEntry.ref_id," ")}}var fO=(()=>{class t{fb;paymentEndpoint;clipboardApi;messageService;affidavitAppDocEndpoint;paymentKeysEndpoint;affidavitPageStore;affidavitAppEndpoint;affidavitApplicationQueryEndpoint;affidavitApplicationEndpoint;paymentOptionsSettingEndpoint;appNotificationService;sanitizer;filter;paymentSection;handlePayment=new R;applicationRefno;getApplication=new R;apiMode=null;apiBaseUrl="";application=je(null);approver;creator;application_ref;currentState=ue.currentState;paystack_icon=Ke.paystack_icon;no_image="data:image/png;base64,"+Ke.no_image;shouldDisplayAffidavitSection=!1;paystackKey="";remitaKey="";remitaMode="";applicationQuery;paymentSetting;lastPaymentRef="";paymentEmail="";paymentAmount=0;owner_id;affidavitSetting;affidavit;canPreviewDoc=!1;canAddDoc=!1;displayDocModal=!1;currentDoc="";currentDocTitle="";currentDocFile="";documentForm;filePreviews=[];docs=[];canEdit=!1;hasQuery=!1;displayCashModal=!1;displayRrrModal=!1;displayIDCardModal=!1;displayPaymentSection=!1;displayPaydirectModal=!1;displayZenithPayModal=!1;allowCashPayment=!1;allowOnlinePayment=!1;allowRemitaPayment=!1;allowInterswitchPayment=!1;allowZenithPayment=!1;allowAgentPaydirectPayment=!1;user=null;interswitchMerchantCode=ue.interswitch_mechant_code;interswitchItemId=ue.interswitch_pay_item;interswitch_paymentMode=ue.interswitch_mode;pdfLogo="assets/images/logo-pdf.png";docxLogo="assets/images/logo-docx.png";docLogo="assets/images/logo-doc.jpeg";noImage=Ke.no_image;cashIcon=Ke.cash_icon;remitaIcon=Ke.remita_icon;showHeader=!0;previewAffidavit=!1;allowPassportUpload=!1;allowOathCommissionerSignaturePhoto=!1;stateTitle=ue.stateTitleSentence;constructor(e,n,o,r,a,s,l,u,h,A,b,v,w){this.fb=e,this.paymentEndpoint=n,this.clipboardApi=o,this.messageService=r,this.affidavitAppDocEndpoint=a,this.paymentKeysEndpoint=s,this.affidavitPageStore=l,this.affidavitAppEndpoint=u,this.affidavitApplicationQueryEndpoint=h,this.affidavitApplicationEndpoint=A,this.paymentOptionsSettingEndpoint=b,this.appNotificationService=v,this.sanitizer=w,this.documentForm=this.fb.group({files:this.fb.array([this.fb.group({title:["",Y.required,Y.min(2)],file:["",Y.required]})])}),this.affidavitPageStore.mode$.subscribe({next:M=>{this.apiMode=M;let S=this.apiMode??Fe.TEST;this.apiBaseUrl=S===Fe.PRODUCTION?ue.productionApiUrl:ue.testApiUrl}})}ngOnInit(){this.affidavitPageStore.startLoading("Fetching Data . . ."),this.affidavitPageStore.state$.subscribe(e=>{this.applicationRefno=e.refNo??""}),this.applicationRefno&&this.loadData(),this.paymentOptionsSettingEndpoint.single(1).subscribe({next:e=>{this.paymentSetting=e.data,this.allowCashPayment=this.paymentSetting?.allow_cash_payment,this.allowOnlinePayment=this.paymentSetting?.allow_online_payment,this.allowRemitaPayment=this.paymentSetting?.allow_remita_payment??!1,this.allowInterswitchPayment=this.paymentSetting?.allow_interswitch_payment??!1,this.allowZenithPayment=this.paymentSetting?.allow_zenith_payment??!1,this.allowAgentPaydirectPayment=this.paymentSetting?.allow_agent_paydirect_payment??!1}}),this.paymentKeysEndpoint.fetchPaymentKeys().subscribe({next:e=>{this.paystackKey=e.paystack_key,this.remitaKey=e.remita_key,this.remitaMode=e.remita_mode}})}onGlobalFilter(e,n){e.filterGlobal(n.target.value,"contains")}clear(e){e.clear(),this.filter.nativeElement.value=""}loadQuery(e){return _t(this,null,function*(){this.applicationQuery=(yield this.affidavitApplicationQueryEndpoint.single(e).toPromise())?.data})}loadData(){this.affidavitPageStore.startLoading("Loading . . ."),this.affidavitAppEndpoint.singleByRefNo(this.applicationRefno).subscribe(e=>{this.application.set(e.data),console.log("application",this.application()),this.user=this.application()?.createdBy??null,this.shouldDisplayAffidavitSection=(this.application()?.formEntries?.length??0)>0,this.docs=this.application()?.docs??[],this.getApplication.emit(this.application()),this.application()?.last_query_id&&(this.loadQuery(this.application()?.last_query_id??0),this.application()?.has_query&&(this.hasQuery=!0)),this.affidavitPageStore.stopLoading(),this.loadPaymentInfo()},e=>{this.appNotificationService.showError({title:e.error,detail:e.message}),this.affidavitPageStore.stopLoading(),this.affidavitPageStore.toggle("new")})}approveQueryChanges(){this.affidavitPageStore.startLoading("Acknowledging Query . . ."),this.affidavitApplicationEndpoint.aknowledgeQueryChanges(this.application()?.ref_no??"").subscribe({next:e=>{this.application.set(e.data),this.affidavitPageStore.stopLoading(),this.application()?.last_query_id&&(this.hasQuery=!0,this.loadQuery(this.application()?.last_query_id??0)),this.appNotificationService.showSuccess({title:"Success!!",detail:"Your changes have been submitted successfully!"})},error:e=>{this.affidavitPageStore.stopLoading(),this.appNotificationService.showError({title:"Error!!",detail:e.message||e})}})}closePaySection(){this.displayPaymentSection=!1,setTimeout(()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},100)}displayPaySection(){this.displayPaymentSection=!0,setTimeout(()=>{if(this.paymentSection?.nativeElement){let o=this.paymentSection.nativeElement.getBoundingClientRect().top+window.pageYOffset-20;window.scrollTo({top:o,behavior:"smooth"})}},150)}loadPaymentInfo(){this.paymentEmail=this.application()?.applicant_email??"",this.application()?.revenuePaymentEntry?.total_agent?this.paymentAmount=(this.application()?.revenuePaymentEntry?.total_agent??0)*100:this.paymentAmount=(this.application()?.revenuePaymentEntry?.total??0)*100,this.paymentAmount=+this.paymentAmount.toFixed(2)}goBack(){window.history.back()}goToEdit(){this.affidavitPageStore.startLoading("Fetching Data . . ."),this.affidavitPageStore.setRefNo(this.application()?.ref_no??""),this.affidavitPageStore.toggle("edit-application")}get paymentReference(){return this.lastPaymentRef=this.application()?.revenuePaymentEntry?.ref_id??"__"+Date.now().toString(),this.lastPaymentRef}cancelPaystackPayment(){console.log("Paystack Payment cancelled...")}copyRefNo(e){this.clipboardApi.copyFromContent(e),this.messageService.add({severity:"success",summary:e,detail:"Was Copied Successfully"})}copyApplicationRef(){this.application()?.ref_no&&this.copyRefNo(this.application()?.ref_no??"")}getStatusClass(){switch(this.application()?.status??""){case"approved":return"success";case"queried":return"danger";case"pending":case"draft":return"warning";default:return"default"}}getStatusText(){switch(this.application()?.status??""){case"approved":return"Approved";case"queried":return"Queried";case"pending":return"Pending";case"draft":return"Draft";default:return"Unknown"}}navigateToPreviewAffidavit(){this.affidavitPreview()}printpart(e="printCashRef"){let n=document.getElementById(e);if(!n)return;let o=window.open("");o?.document.write(n.innerHTML),o?.stop(),o?.print(),o?.close()}processPayment(e,n){let o;switch(n){case hi.PAYSTACK:o={email:this.paymentEmail,amount:this.paymentAmount,client_tx_ref:e.reference,host_tx_ref:e.transaction,prn:this.application()?.revenuePaymentEntry?.ref_id??"",host_response_payload:JSON.stringify(e),payment_method:hi.PAYSTACK};break;case hi.REMITA:o={email:this.paymentEmail,amount:this.paymentAmount,client_tx_ref:this.lastPaymentRef,host_tx_ref:e.transaction,prn:this.application()?.revenuePaymentEntry?.ref_id??"",host_response_payload:JSON.stringify(e),payment_method:hi.REMITA};break;default:return}this.affidavitPageStore.startLoading("Processing . . ."),this.paymentEndpoint.processPayment(o).subscribe({next:r=>{this.appNotificationService.showSuccess({title:"Success!!",detail:"Your payment has been recieved!"}),this.application.set(r.data),this.handlePayment.emit({status:"success",data:this.application}),this.affidavitPageStore.stopLoading(),this.loadData(),this.closePaySection()},error:r=>{this.affidavitPageStore.stopLoading(),this.appNotificationService.showError({title:"Error!!",detail:r.message||r})}})}showDialog(){this.displayCashModal=!0}closeCashPayModal(){this.displayCashModal=!1}affidavitPreview(){this.affidavitPageStore.startLoading("Loading Affidavit . . ."),this.affidavitPageStore.setRefNo(this.application()?.affidavit?.ref_no??""),this.affidavitPageStore.toggle("affidavit-detail")}handleImageError(e){e.target.src=`data:image/gif;base64,${this.noImage}`}calculateAmount(e,n){return bc(e??0)}getPaymentAmount(e){return(this.application()?.split_codes?.find(r=>r.payment_method.code===e)?.payment_method.txn_fee??0)+(this.application()?.revenuePaymentEntry?.total??0)}getSplitCode(e){let n=this.application()?.split_codes?.find(r=>r?.payment_method?.code===e),o=n?.split_codes.code;if((n?.split_codes.type=="json"||n?.split_codes.type=="calculated")&&(o=JSON.parse(JSON.stringify(o)),n.split_codes.type=="calculated")){let r=n.split_codes.amount_field,a=JSON.parse(o);a.forEach(s=>{s[r]=r.percentage/100*(this.application()?.revenuePaymentEntry?.total??0)}),o=a}return o||""}isPaymentMethodAllowed(e){return!this.application()?.split_codes||!Array.isArray(this.application()?.split_codes)?!0:this.application()?.split_codes?.some(n=>n?.payment_method?.code===e)??!1}showRrrDialog(){this.displayRrrModal=!0}closeRrrModal(){this.displayRrrModal=!1}showZenithPayDialog(){this.displayZenithPayModal=!0}closeZenithPayModal(){this.displayZenithPayModal=!1}copyCode(e){this.clipboardApi.copyFromContent(e),this.messageService.add({severity:"success",summary:e,detail:"Was Copied Successfully"})}get filesFormControl(){return this.documentForm.controls.files}get isFormInvalid(){return this.filesFormControl.invalid}addDocument(){if(this.filesFormControl.controls.some(n=>n.get("file")?.value==""||n.get("title")?.value=="")){this.appNotificationService.showInfo({title:"Complete current entries first"});return}this.filesFormControl.push(this.fb.group({title:["",Y.required,Y.min(2)],file:["",Y.required]})),this.filePreviews.push({type:"unknown",data:null})}removeDocument(e){this.filesFormControl.removeAt(e),this.filePreviews.splice(e,1)}docModalOpen(e){this.currentDocFile=e.doc_name,this.currentDoc=this.validateFile(this.currentDocFile),this.currentDocTitle=e.title,this.displayDocModal=!0}handleFileUpload(e,n){let o=e.target.files[0];if(o){let r=o.type,a=new FileReader;r.startsWith("image/")?(a.onload=()=>{this.filePreviews[n]={type:"image",data:a.result}},a.readAsDataURL(o)):r==="application/pdf"?this.filePreviews[n]={type:"pdf",data:"assets/images/logo-pdf.png"}:(r==="application/msword"||r==="application/vnd.openxmlformats-officedocument.wordprocessingml.document")&&(this.filePreviews[n]={type:"doc",data:"assets/images/logo-doc.jpeg"}),this.filesFormControl.at(n).patchValue({file:o})}}openAddDocFormSection(){this.canAddDoc=!0,this.canPreviewDoc=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}sanitizeHtml(e){return this.sanitizer.bypassSecurityTrustHtml(e??"")}formatIfDate(e){if(!e)return"Not set";let n=Date.parse(e);return isNaN(n)?e:pf(n,"dd/MM/yyyy","en-US")}triggerPaystackPayment(e){e?.click()}triggerRemitaPayment(e){e?.click()}onOpenCurrentDocument(){}get documentFormControls(){return this.documentForm.controls}saveDoc(){if(this.filesFormControl.controls.some(r=>r.get("file")?.value==""||r.get("title")?.value=="")){this.appNotificationService.showInfo({title:"Finish all entries to submit"});return}let n={files:this.filesFormControl.controls.map((r,a)=>({file:r.get("file")?.value,title:r.get("title")?.value}))},o=new FormData;o.append("app_id",this.application()?.id?.toString()??""),n.files.forEach((r,a)=>{o.append(`files[${a}][file]`,r.file),o.append(`files[${a}][title]`,r.title)}),this.affidavitPageStore.startLoading("Upoading Document(s) . . ."),this.affidavitAppDocEndpoint.create(o).subscribe({next:r=>{},error:r=>{this.affidavitPageStore.stopLoading(),this.appNotificationService.showError({title:"Error!!",detail:r.message||r})},complete:()=>{this.affidavitPageStore.stopLoading(),this.appNotificationService.showSuccess({title:"Document(s)",detail:"Added Successfully!"}),window.location.reload()}})}validateFile(e){if(e){let n=e.slice(-4),o=this.apiBaseUrl+"/file/get/"+e;switch(n){case".pdf":o=this.pdfLogo;break;case".doc":o=this.docLogo;break;case"docx":o=this.docxLogo;break;case"":o="assets/images/noimage.gif";break}return o}return""}deleteDoc(e){let n=this.docs.find(o=>o.id===e);n&&(this.affidavitPageStore.startLoading("Deleting ..."),this.affidavitAppDocEndpoint.delete(n.id).subscribe({next:()=>{let o=this.docs.filter(r=>r.id!==n.id);this.affidavitPageStore.stopLoading(),this.appNotificationService.showSuccess({title:"Document",detail:"Removed Successfully!"}),this.docs=o},error:()=>{this.affidavitPageStore.stopLoading(),this.appNotificationService.showError({title:"Error!!",detail:"An error occurred while deleting your document(s)..."})}}))}static \u0275fac=function(n){return new(n||t)(E(zi),E(Ya),E(vc),E(Ni),E(Mh),E(Za),E(Te),E(fi),E(Ja),E(ui),E(vr),E(kn),E($i))};static \u0275cmp=V({type:t,selectors:[["application-detail"]],viewQuery:function(n,o){if(n&1&&Re(zQ,5)(HQ,5),n&2){let r;U(r=q())&&(o.filter=r.first),U(r=q())&&(o.paymentSection=r.first)}},outputs:{handlePayment:"handlePayment",getApplication:"getApplication"},standalone:!1,decls:1,vars:1,consts:[["paymentSection",""],["paystackButton",""],["documentFile",""],["filter",""],["dt1",""],["class","application-detail-container",4,"ngIf"],[1,"application-detail-container"],[1,"application-header"],[1,"header-content"],[1,"application-title"],[1,"application-subtitle"],[1,"header-actions"],[1,"status-badge",3,"ngClass"],[1,"pi"],["class","ref-number",4,"ngIf"],["class","section-card payment-section mb-3",4,"ngIf"],[4,"ngIf"],[1,"content-grid"],[1,"main-content"],["class","section-card document-section",4,"ngIf"],[1,"overview-grid"],[1,"overview-card","primary","p-2"],[1,"card-content"],[1,"card-title"],[1,"card-value"],[1,"overview-card","secondary"],[1,"overview-card","success"],[1,"overview-card",3,"ngClass"],[1,"section-card"],[1,"section-header"],[1,"pi","pi-user"],[1,"section-content"],[1,"info-grid"],[1,"info-item"],[1,"info-label"],[1,"info-value"],[1,"pi","pi-file-text"],[1,"affidavit-title"],["class","clauses-section",4,"ngIf"],["class","form-entries",4,"ngIf"],[1,"pi","pi-images"],[1,"documents-grid"],[1,"document-item"],[1,"doc-label"],[1,"doc-content"],["class","no-doc",4,"ngIf"],["class","doc-image","onerror","this.src=noImage;","alt","Passport Photo",3,"src",4,"ngIf"],["class","doc-image","onerror","this.src=noImage;","alt"," Signature Photo",3,"src",4,"ngIf"],["class","doc-image","onerror","this.src=noImage;","alt","ID Card",3,"src",4,"ngIf"],[1,"court-name"],["class","section-card",4,"ngIf"],[1,"sidebar"],[1,"sidebar-card"],[1,"card-header"],[1,"action-buttons"],["pButton","","type","button","icon","pi pi-credit-card","label","Proceed to Payment","class","action-btn success",3,"click",4,"ngIf"],["pButton","","type","button","icon","pi pi-file-edit","label","Edit Application","class","action-btn info",3,"click",4,"ngIf"],["pButton","","type","button","icon","pi pi-file-arrow-up","label","Add Document(s)","class","action-btn warning",3,"click",4,"ngIf"],["pButton","","type","button","icon","pi pi-file-pdf","label","Preview Affidavit","class","action-btn info",3,"click",4,"ngIf"],[1,"contact-info"],[1,"info-row","mb-3"],[1,"pi","pi-envelope","text-primary","mr-3"],[1,"info-row"],[1,"pi","pi-phone","text-primary","mr-3"],["class","sidebar-card",4,"ngIf"],["header","Identity Card",3,"visibleChange","visible","modal","draggable","resizable"],[1,"modal-content"],["onerror","this.src=no_image;","alt","Identity Card",1,"id-image",3,"src"],["pTemplate","footer"],["id","printCashRef",3,"visibleChange","visible","closable","modal","breakpoints"],["pTemplate","header"],[1,"cash-modal"],["pButton","","type","button","label","CASH PAYMENT INFORMATION","disabled","",1,"p-button-outlined","p-button-success","w-full","text-xl"],[1,"alert-body","printRef"],[1,"blck-font","text-lg","font-bold","d-block"],[1,"green-font"],[1,"modal-field"],[1,"label"],[1,"value"],["pButton","","type","button","icon","pi pi-clone","title","Copy Reference Number",1,"p-button-outlined","p-button-success","p-button-rounded",3,"click"],["id","printCashRef1",3,"visibleChange","visible","closable","modal","breakpoints"],["pButton","","type","button","label","Remita RRR Information","disabled","",1,"p-button-outlined","p-button-success","w-full","text-xl"],["pButton","","type","button","icon","pi pi-clone","title","Copy RRR",1,"p-button-outlined","p-button-success","p-button-rounded",3,"click"],["id","printPaydirectRef",3,"visibleChange","visible","closable","modal","breakpoints"],["pButton","","type","button","label","PAY-DIRECT PAYMENT INFORMATION","disabled","",1,"p-button-outlined","p-button-success","w-full","text-xl"],["pButton","","type","button","icon","pi pi-clone",1,"p-button-outlined","p-button-success","p-button-rounded",3,"click"],["id","printZenithRef",3,"visibleChange","visible","closable","modal","breakpoints"],["pButton","","type","button","label","ZENITH BANK (IN-BRANCH) PAYMENT INFORMATION","disabled","",1,"p-button-outlined","p-button-success","w-full","text-xl"],["position","top-right"],[1,"ref-number"],[1,"pi","pi-hashtag"],["type","button","pTooltip","Copy to clipboard",1,"copy-btn",3,"click"],[1,"pi","pi-copy"],[1,"section-card","payment-section","mb-3"],[1,"pi","pi-credit-card"],["type","button",1,"close-btn",3,"click"],[1,"pi","pi-times"],[1,"payment-gateway-container"],[1,"payment-methods-grid"],["class","payment-method-card paystack-card",4,"ngIf"],[1,"payment-method-card","paystack-card"],[1,"payment-card-header"],[1,"payment-icon"],["alt","Paystack",1,"payment-logo",3,"src"],[1,"payment-info"],[1,"payment-title"],[1,"payment-description"],[1,"payment-card-content"],[1,"payment-amount"],[1,"amount-label"],[1,"amount-value"],[1,"hidden-paystack-wrapper"],[3,"onClose","callback","email","amount","ref","key","split_code"],["type","button",1,"hidden-paystack-btn"],["type","button",1,"modern-paystack-btn-custom",3,"click"],[3,"visibleChange","visible"],[1,"document-preview"],["alt","Document","onerror","this.src=noImage;",1,"document-image",3,"src"],[1,"dialog-header"],[1,"pi","pi-file-pdf","text-red-500","mr-3"],[1,"text-xl","font-semibold"],[1,"dialog-actions"],["pButton","","type","button","icon","pi pi-times","label","Close",1,"p-button-warning",3,"click"],["pButton","","type","button","icon","pi pi-download","label","Download",1,"p-button-success",3,"click"],[1,"section-card","document-section"],[1,"pi","pi-upload"],["class","section-content",4,"ngIf"],[1,"form-container"],[1,"form-title"],[1,"document-form",3,"formGroup"],["formArrayName","files",1,"form-fields"],["class","document-field",3,"formGroupName",4,"ngFor","ngForOf"],[1,"form-actions"],["pButton","","type","button","icon","pi pi-plus","label","Add Document",1,"add-btn",3,"click"],[1,"form-footer"],["pButton","","type","button","icon","pi pi-times","label","Cancel",1,"cancel-btn",3,"click"],["pButton","","type","button","icon","pi pi-eye","label","Preview",1,"preview-btn",3,"click","disabled"],[1,"document-field",3,"formGroupName"],[1,"field-row"],[1,"field-group"],[1,"field-label"],[1,"field-number"],[1,"required"],["type","text","maxlength","50","formControlName","title","placeholder","Enter document title...",1,"form-input"],["class","error-message",4,"ngIf"],["pButton","","pRipple","","type","button","class","upload-btn","icon","pi pi-upload","label","Upload",3,"click",4,"ngIf"],["class","file-preview",4,"ngIf"],["type","file","formControlName","file","accept","image/*, application/pdf",1,"hidden",3,"change"],["pButton","","type","button","icon","pi pi-times",1,"remove-btn",3,"click"],[1,"error-message"],["pButton","","pRipple","","type","button","icon","pi pi-upload","label","Upload",1,"upload-btn",3,"click"],[1,"file-preview"],["onerror","this.src='assets/images/noimage.gif';",1,"preview-image",3,"src","alt"],[1,"summary-container"],[1,"summary-title"],["class","document-card",4,"ngFor","ngForOf"],[1,"summary-actions"],["pButton","","type","button","icon","pi pi-arrow-left","label","Back to Edit",1,"back-btn",3,"click"],["pButton","","type","button","icon","pi pi-save","label","Save Documents",1,"save-btn",3,"click"],[1,"document-card"],[1,"doc-header"],[1,"doc-number"],[1,"doc-title"],["alt","Document","onerror","this.src='assets/images/noimage.gif';",1,"doc-image",3,"src"],[1,"clauses-section"],[1,"clauses-title"],[1,"clauses-grid"],["class","clause-card",4,"ngFor","ngForOf"],[1,"clause-card"],[1,"clause-header"],[1,"clause-number"],[1,"clause-content",3,"innerHtml"],[1,"form-entries"],[1,"entries-title"],[1,"entries-grid"],[4,"ngFor","ngForOf"],["class","entry-item",4,"ngIf"],[1,"entry-item"],[1,"entry-label"],[1,"entry-value"],[1,"no-doc"],["onerror","this.src=noImage;","alt","Passport Photo",1,"doc-image",3,"src"],["onerror","this.src=noImage;","alt"," Signature Photo",1,"doc-image",3,"src"],["onerror","this.src=noImage;","alt","ID Card",1,"doc-image",3,"src"],[1,"pi","pi-folder-open"],["type","button",1,"add-doc-btn",3,"click"],[1,"pi","pi-plus"],[1,"table-container"],[1,"search-bar"],[1,"pi","pi-search","search-icon"],["pInputText","","type","text","placeholder","Search documents...",1,"search-input",3,"input"],["dataKey","ref_no","responsiveLayout","scroll",1,"documents-table",3,"value","rows","rowHover","paginator","globalFilterFields"],["pTemplate","body"],["pTemplate","emptymessage"],[1,"text-center"],[1,"pi","pi-file-pdf","text-red-500","mr-2"],["pButton","","type","button","icon","pi pi-eye","pTooltip","View Document","tooltipPosition","top",1,"view-btn",3,"click"],["pButton","","type","button","icon","pi pi-trash","pTooltip","Delete Document","tooltipPosition","top",1,"delete-btn",3,"click"],["colspan","2",1,"text-center","py-8"],[1,"pi","pi-folder-open","text-4xl","text-muted","mb-2","block"],[1,"text-muted"],["pButton","","type","button","icon","pi pi-credit-card","label","Proceed to Payment",1,"action-btn","success",3,"click"],["pButton","","type","button","icon","pi pi-file-edit","label","Edit Application",1,"action-btn","info",3,"click"],["pButton","","type","button","icon","pi pi-file-arrow-up","label","Add Document(s)",1,"action-btn","warning",3,"click"],["pButton","","type","button","icon","pi pi-file-pdf","label","Preview Affidavit",1,"action-btn","info",3,"click"],[1,"query-content"],[1,"query-text"],[1,"query-meta"],[1,"query-date"],[1,"query-status"],[1,"status-label"],["styleClass","ml-2",3,"value","severity"],["class","query-actions",4,"ngIf"],[1,"query-actions"],[1,"query-hint"],["pButton","","type","button","icon","pi pi-check","label","Click here!",1,"approve-btn",3,"click"],["pButton","","type","button","icon","pi pi-check","label","Close",1,"p-button-danger","p-button-outlined",3,"click"],["pButton","","type","button","icon","pi pi-print","label","Print",1,"p-button-success",3,"click"],["pButton","","type","button","icon","pi pi-times","label","Close",1,"p-button-outlined","p-button-danger",3,"click"]],template:function(n,o){n&1&&_(0,LW,270,107,"div",5),n&2&&m("ngIf",!o.previewAffidavit)},dependencies:[ke,ot,xe,Tn,Un,qn,On,No,Xn,Jn,pr,Bi,Jl,Ut,be,yr,Pn,mr,Cc,Cr,Cp,Mt,Ls,Vs,Lo],styles:['#p-button[_ngcontent-%COMP%]{margin:-50px!important}.card-min-h[_ngcontent-%COMP%]{min-height:140px}@media print{@page{margin:0!important;padding:0!important}.no-print[_ngcontent-%COMP%], .show[_ngcontent-%COMP%], .main-page[_ngcontent-%COMP%]{visibility:hidden!important;background-color:#fff!important}.printRef[_ngcontent-%COMP%]{max-width:100%!important;height:100px!important;flex:0 0 100%!important}.modal-content[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{visibility:visible;overflow:visible}.main-page[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{display:none}.modal[_ngcontent-%COMP%]{position:absolute;left:0;top:0;margin:0;padding:0;visibility:visible;overflow:visible!important}.modal-dialog[_ngcontent-%COMP%]{visibility:visible!important;overflow:visible!important}}.pulse-button[_ngcontent-%COMP%]{background:#5a99d4;cursor:pointer;box-shadow:0 0 #5a99d480;-webkit-animation:_ngcontent-%COMP%_pulse 1.5s infinite}.pulse-button[_ngcontent-%COMP%]:hover{-webkit-animation:none}@-webkit-keyframes _ngcontent-%COMP%_pulse{70%{box-shadow:0 0 0 50px #5a99d400}to{box-shadow:0 0 #5a99d400}}.application-detail-container[_ngcontent-%COMP%]{padding:1rem 1.5rem 2rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9,#e2e8f0);min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;position:relative}.application-detail-container[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;height:200px;background:linear-gradient(135deg,#022c220d,#0478570d);z-index:0;pointer-events:none}.application-detail-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{position:relative;z-index:1}.application-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding:2.5rem 3rem;background:linear-gradient(135deg,#022c22,#047857 45%,#0d6449);border-radius:24px;box-shadow:0 25px 50px #00000026,0 0 0 1px #ffffff1a;color:#fff;position:relative;overflow:hidden}.application-header[_ngcontent-%COMP%]:before{content:"";position:absolute;top:-50%;right:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);animation:_ngcontent-%COMP%_pulse 8s ease-in-out infinite}@keyframes _ngcontent-%COMP%_pulse{0%,to{transform:scale(1);opacity:.5}50%{transform:scale(1.1);opacity:.8}}.header-content[_ngcontent-%COMP%] h1.application-title[_ngcontent-%COMP%]{font-size:2.5rem;font-weight:700;margin:0 0 .5rem;background:linear-gradient(45deg,#fff,#f0f0f0);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.header-content[_ngcontent-%COMP%] .application-subtitle[_ngcontent-%COMP%]{font-size:1.1rem;opacity:.9;margin:0;font-weight:400}.header-actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem}.header-actions[_ngcontent-%COMP%] .status-badge[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:.75rem 1.5rem;border-radius:50px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:.875rem;font-weight:500}.header-actions[_ngcontent-%COMP%] .status-badge.success[_ngcontent-%COMP%]{background:#22c55e4d;border-color:#22c55e80}.header-actions[_ngcontent-%COMP%] .status-badge.warning[_ngcontent-%COMP%]{background:#fbbf244d;border-color:#fbbf2480}.header-actions[_ngcontent-%COMP%] .status-badge.danger[_ngcontent-%COMP%]{background:#ef44444d;border-color:#ef444480}.header-actions[_ngcontent-%COMP%] .status-badge.default[_ngcontent-%COMP%]{background:#9ca3af4d;border-color:#9ca3af80}.header-actions[_ngcontent-%COMP%] .status-badge[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1rem}.header-actions[_ngcontent-%COMP%] .ref-number[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;background:#fff3;padding:.75rem 1.5rem;border-radius:50px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.3);font-family:Monaco,Menlo,monospace;font-weight:500}.header-actions[_ngcontent-%COMP%] .ref-number[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.2rem}.header-actions[_ngcontent-%COMP%] .ref-number[_ngcontent-%COMP%] .copy-btn[_ngcontent-%COMP%]{background:none;border:none;color:#fff;cursor:pointer;padding:.25rem;border-radius:4px;transition:background-color .2s}.header-actions[_ngcontent-%COMP%] .ref-number[_ngcontent-%COMP%] .copy-btn[_ngcontent-%COMP%]:hover{background:#fff3}.content-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,.8fr);gap:1rem;align-items:start}@media(max-width:1280px){.content-grid[_ngcontent-%COMP%]{grid-template-columns:minmax(0,1.35fr) minmax(260px,.85fr)}}@media(max-width:1024px){.content-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}.main-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.section-card[_ngcontent-%COMP%]{background:#fff;border-radius:20px;box-shadow:0 4px 20px #00000014,0 0 0 1px #0000000a;border:1px solid rgba(226,232,240,.8);overflow:hidden;transition:all .4s cubic-bezier(.4,0,.2,1);position:relative}.section-card[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#10b981,#059669,#047857);opacity:0;transition:opacity .3s ease}.section-card[_ngcontent-%COMP%]:hover{box-shadow:0 12px 40px #00000026,0 0 0 1px #10b98133;transform:translateY(-4px);border-color:#10b9814d}.section-card[_ngcontent-%COMP%]:hover:before{opacity:1}.section-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:1.75rem 2.5rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9,#e2e8f0);border-bottom:2px solid rgba(16,185,129,.1);position:relative}.section-header[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;width:60px;height:3px;background:linear-gradient(90deg,#10b981,#059669);border-radius:0 3px 3px 0}.section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:1.25rem;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:.75rem}.section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#64748b;font-size:1.1rem}.section-header[_ngcontent-%COMP%] .close-btn[_ngcontent-%COMP%]{background:none;border:none;color:#64748b;cursor:pointer;padding:.5rem;border-radius:8px;transition:all .2s}.section-header[_ngcontent-%COMP%] .close-btn[_ngcontent-%COMP%]:hover{background:#f1f5f9;color:#475569}.section-header[_ngcontent-%COMP%] .add-doc-btn[_ngcontent-%COMP%]{background:#10b981;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.5rem}.section-header[_ngcontent-%COMP%] .add-doc-btn[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.section-content[_ngcontent-%COMP%]{padding:2.5rem}.form-footer[_ngcontent-%COMP%], .summary-actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;gap:1rem;margin-top:1.5rem}.form-footer[_ngcontent-%COMP%] .cancel-btn[_ngcontent-%COMP%], .form-footer[_ngcontent-%COMP%] .back-btn[_ngcontent-%COMP%], .summary-actions[_ngcontent-%COMP%] .cancel-btn[_ngcontent-%COMP%], .summary-actions[_ngcontent-%COMP%] .back-btn[_ngcontent-%COMP%]{background:#ff9f43!important;border:1px solid rgb(255,159,67)!important;color:#0f172a!important;box-shadow:0 12px 24px #ff9f4359}.form-footer[_ngcontent-%COMP%] .cancel-btn[_ngcontent-%COMP%]:hover, .form-footer[_ngcontent-%COMP%] .back-btn[_ngcontent-%COMP%]:hover, .summary-actions[_ngcontent-%COMP%] .cancel-btn[_ngcontent-%COMP%]:hover, .summary-actions[_ngcontent-%COMP%] .back-btn[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 16px 32px #ff9f4373}.overview-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.overview-card[_ngcontent-%COMP%]{background:#fff;border-radius:18px;padding:2rem;box-shadow:0 4px 20px #00000014,0 0 0 1px #0000000a;border:1px solid rgba(241,245,249,.8);transition:all .4s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:1rem;position:relative;overflow:hidden}.overview-card[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;width:5px;height:100%;background:linear-gradient(180deg,#10b981,#059669,#047857);transition:width .3s ease}.overview-card[_ngcontent-%COMP%]:hover{transform:translateY(-6px) scale(1.02);box-shadow:0 12px 40px #10b98133,0 0 0 1px #10b9814d;border-color:#10b98166}.overview-card[_ngcontent-%COMP%]:hover:before{width:6px}.overview-card.primary[_ngcontent-%COMP%], .overview-card.secondary[_ngcontent-%COMP%], .overview-card.success[_ngcontent-%COMP%], .overview-card.warning[_ngcontent-%COMP%]{border-left:none}.overview-card[_ngcontent-%COMP%] .card-icon[_ngcontent-%COMP%]{width:3rem;height:3rem;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#fff}.overview-card.primary[_ngcontent-%COMP%] .overview-card[_ngcontent-%COMP%] .card-icon[_ngcontent-%COMP%], .overview-card.secondary[_ngcontent-%COMP%] .overview-card[_ngcontent-%COMP%] .card-icon[_ngcontent-%COMP%], .overview-card.success[_ngcontent-%COMP%] .overview-card[_ngcontent-%COMP%] .card-icon[_ngcontent-%COMP%], .overview-card.warning[_ngcontent-%COMP%] .overview-card[_ngcontent-%COMP%] .card-icon[_ngcontent-%COMP%]{background:#10b981}.overview-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{flex:1}.overview-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{margin:0 0 .5rem;font-size:.875rem;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.overview-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .card-value[_ngcontent-%COMP%]{margin:0;font-size:1.125rem;font-weight:600;color:#1e293b}.info-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.info-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem;padding:1.25rem;background:linear-gradient(135deg,#f8fafc,#fff);border-radius:12px;border:1px solid rgba(226,232,240,.6);transition:all .3s ease;position:relative;overflow:hidden}.info-item[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;width:3px;height:100%;background:linear-gradient(180deg,#10b981,#059669);opacity:0;transition:opacity .3s ease}.info-item[_ngcontent-%COMP%]:hover{transform:translate(4px);box-shadow:0 4px 12px #10b98126;border-color:#10b9814d;background:linear-gradient(135deg,#f0fdf4,#fff)}.info-item[_ngcontent-%COMP%]:hover:before{opacity:1}.info-item[_ngcontent-%COMP%] .info-label[_ngcontent-%COMP%]{display:block;font-size:.875rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.25rem}.info-item[_ngcontent-%COMP%] .info-value[_ngcontent-%COMP%]{font-size:1.1rem;color:#1e293b;font-weight:600;line-height:1.5}.sidebar[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;position:sticky;top:2rem}@media(max-width:1024px){.sidebar[_ngcontent-%COMP%]{position:static}}.sidebar-card[_ngcontent-%COMP%]{background:#fff;border-radius:20px;box-shadow:0 4px 20px #00000014,0 0 0 1px #0000000a;border:1px solid rgba(241,245,249,.8);overflow:hidden;transition:all .3s ease;position:relative}.sidebar-card[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#10b981,#059669);opacity:0;transition:opacity .3s ease}.sidebar-card[_ngcontent-%COMP%]:hover{box-shadow:0 8px 30px #10b98126,0 0 0 1px #10b98133;transform:translateY(-2px)}.sidebar-card[_ngcontent-%COMP%]:hover:before{opacity:1}.sidebar-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{padding:1.5rem 2rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9,#e2e8f0);border-bottom:2px solid rgba(16,185,129,.1);position:relative}.sidebar-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;width:50px;height:3px;background:linear-gradient(90deg,#10b981,#059669);border-radius:0 3px 3px 0}.sidebar-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:1.125rem;font-weight:600;color:#1e293b}.sidebar-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{padding:1.5rem}.contact-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.info-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;font-size:.95rem;color:#1e293b}.query-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.query-text[_ngcontent-%COMP%]{font-size:.95rem;color:#1e293b;line-height:1.6;margin:0}.query-meta[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;font-size:.875rem;color:#64748b}.query-date[_ngcontent-%COMP%]{font-weight:500}.query-status[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.status-label[_ngcontent-%COMP%]{font-weight:500}.query-actions[_ngcontent-%COMP%]{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.query-hint[_ngcontent-%COMP%]{font-size:.875rem;color:#64748b;margin-bottom:.5rem}.approve-btn[_ngcontent-%COMP%]{width:100%;background:#10b981;color:#fff;border:none;padding:.75rem 1rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.approve-btn[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.action-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.action-buttons[_ngcontent-%COMP%] .action-btn[_ngcontent-%COMP%]{width:100%;padding:.875rem 1rem;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.5rem}.action-buttons[_ngcontent-%COMP%] .action-btn.primary[_ngcontent-%COMP%]{background:#3b82f6;color:#fff}.action-buttons[_ngcontent-%COMP%] .action-btn.primary[_ngcontent-%COMP%]:hover{background:#2563eb;transform:translateY(-1px)}.action-buttons[_ngcontent-%COMP%] .action-btn.success[_ngcontent-%COMP%]{background:#10b981;color:#fff}.action-buttons[_ngcontent-%COMP%] .action-btn.success[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.action-buttons[_ngcontent-%COMP%] .action-btn.info[_ngcontent-%COMP%]{background:#06b6d4;color:#fff}.action-buttons[_ngcontent-%COMP%] .action-btn.info[_ngcontent-%COMP%]:hover{background:#0891b2;transform:translateY(-1px)}.action-buttons[_ngcontent-%COMP%] .action-btn.warning[_ngcontent-%COMP%]{background:#f59e0b;color:#fff}.action-buttons[_ngcontent-%COMP%] .action-btn.warning[_ngcontent-%COMP%]:hover{background:#d97706;transform:translateY(-1px)}.action-buttons[_ngcontent-%COMP%] .action-btn.danger[_ngcontent-%COMP%]{background:#ef4444;color:#fff}.action-buttons[_ngcontent-%COMP%] .action-btn.danger[_ngcontent-%COMP%]:hover{background:#dc2626;transform:translateY(-1px)}.affidavit-title[_ngcontent-%COMP%]{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;border-left:5px solid #0d6449}.affidavit-title[_ngcontent-%COMP%] .info-label[_ngcontent-%COMP%]{display:block;font-size:.875rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.affidavit-title[_ngcontent-%COMP%] .info-value[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:600;color:#1e293b}.clauses-section[_ngcontent-%COMP%]{margin-bottom:2rem}.clauses-section[_ngcontent-%COMP%] .clauses-title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:600;color:#1e293b;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #10b981;display:inline-block}.clauses-section[_ngcontent-%COMP%] .clauses-grid[_ngcontent-%COMP%]{display:grid;gap:1rem}.clauses-section[_ngcontent-%COMP%] .clause-card[_ngcontent-%COMP%]{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000000a;transition:all .3s ease;border-left:5px solid #0d6449}.clauses-section[_ngcontent-%COMP%] .clause-card[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000014}.clauses-section[_ngcontent-%COMP%] .clause-card[_ngcontent-%COMP%] .clause-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.clauses-section[_ngcontent-%COMP%] .clause-card[_ngcontent-%COMP%] .clause-header[_ngcontent-%COMP%] .clause-number[_ngcontent-%COMP%]{background:#10b981;color:#fff;width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.875rem;font-weight:600}.clauses-section[_ngcontent-%COMP%] .clause-card[_ngcontent-%COMP%] .clause-header[_ngcontent-%COMP%] .clause-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:500;color:#1e293b}.clauses-section[_ngcontent-%COMP%] .clause-card[_ngcontent-%COMP%] .clause-content[_ngcontent-%COMP%]{font-size:.9rem;color:#475569;line-height:1.6}.form-entries[_ngcontent-%COMP%]{margin-top:1.5rem}.entries-title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:600;color:#1e293b;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #10b981;display:inline-block}.entries-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.entry-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.entry-label[_ngcontent-%COMP%]{font-size:.875rem;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.entry-value[_ngcontent-%COMP%]{font-size:1rem;color:#1e293b;font-weight:500}.documents-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.document-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;padding:1.5rem;background:linear-gradient(135deg,#f8fafc,#fff);border-radius:16px;border:1px solid rgba(226,232,240,.6);transition:all .3s ease;position:relative;overflow:hidden}.document-item[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;width:3px;height:100%;background:linear-gradient(180deg,#10b981,#059669);opacity:0;transition:opacity .3s ease}.document-item[_ngcontent-%COMP%]:hover{transform:translateY(-4px);box-shadow:0 8px 20px #10b98126;border-color:#10b9814d;background:linear-gradient(135deg,#f0fdf4,#fff)}.document-item[_ngcontent-%COMP%]:hover:before{opacity:1}.doc-label[_ngcontent-%COMP%]{font-size:.875rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.08em}.doc-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-height:150px;background:linear-gradient(135deg,#fff,#f8fafc);border-radius:14px;border:2px dashed rgba(226,232,240,.8);transition:all .3s ease}.document-item[_ngcontent-%COMP%]:hover .doc-content[_ngcontent-%COMP%]{border-color:#10b9814d;background:linear-gradient(135deg,#f0fdf4,#fff)}.no-doc[_ngcontent-%COMP%]{color:#94a3b8;font-size:.875rem;font-style:italic}.doc-image[_ngcontent-%COMP%]{max-width:100%;max-height:200px;border-radius:8px;object-fit:contain}.court-name[_ngcontent-%COMP%]{font-size:1rem;color:#1e293b;font-weight:500}.payment-gateway-container[_ngcontent-%COMP%]{padding:2rem;background:transparent;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.payment-methods-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.5rem;max-width:1200px;margin:0 auto}.payment-method-card[_ngcontent-%COMP%]{background:#fff;border-radius:24px;padding:2rem;box-shadow:0 10px 30px #0000001a,0 0 0 1px #0000000d;border:1px solid rgba(241,245,249,.8);transition:all .4s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.payment-method-card[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--card-gradient-start),var(--card-gradient-end))}.payment-method-card[_ngcontent-%COMP%]:hover{transform:translateY(-6px) scale(1.02);box-shadow:0 25px 50px #10b98140,0 0 0 1px #10b9814d;border-color:#10b98166}.payment-method-card.paystack-card[_ngcontent-%COMP%], .payment-method-card.remita-card[_ngcontent-%COMP%], .payment-method-card.quickteller-card[_ngcontent-%COMP%], .payment-method-card.cash-card[_ngcontent-%COMP%], .payment-method-card.paydirect-card[_ngcontent-%COMP%], .payment-method-card.zenith-card[_ngcontent-%COMP%]{--card-gradient-start: #10b981;--card-gradient-end: #059669}.payment-card-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.payment-card-header[_ngcontent-%COMP%] .payment-icon[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:16px;background:#f8fafc;display:flex;align-items:center;justify-content:center;border:2px solid #e5e7eb;transition:all .3s ease}.payment-card-header[_ngcontent-%COMP%] .payment-icon[_ngcontent-%COMP%] .payment-logo[_ngcontent-%COMP%]{width:40px;height:40px;object-fit:contain}.payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%]{flex:1}.payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%] .payment-title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:600;margin:0 0 .25rem;color:#1f2937}.payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%] .payment-description[_ngcontent-%COMP%]{font-size:.875rem;color:#6b7280;margin:0;line-height:1.4}.payment-card-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8fafc;border-radius:12px;border:1px solid #e5e7eb}.payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%] .amount-label[_ngcontent-%COMP%]{font-size:.875rem;color:#6b7280;font-weight:500}.payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%] .amount-value[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700;color:#1f2937}.modern-paystack-btn-custom[_ngcontent-%COMP%], .modern-remita-btn-custom[_ngcontent-%COMP%], .modern-quickteller-btn[_ngcontent-%COMP%], .modern-cash-btn[_ngcontent-%COMP%], .modern-paydirect-btn[_ngcontent-%COMP%], .modern-zenith-btn[_ngcontent-%COMP%]{width:100%;padding:1.25rem 1.75rem;border:none;border-radius:16px;font-weight:700;font-size:1.1rem;cursor:pointer;transition:all .4s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;gap:.875rem;position:relative;overflow:hidden;text-transform:uppercase;letter-spacing:.5px;min-height:56px;background:linear-gradient(135deg,#10b981,#059669,#047857);color:#fff;box-shadow:0 6px 20px #10b9814d}.modern-paystack-btn-custom[_ngcontent-%COMP%]:before, .modern-remita-btn-custom[_ngcontent-%COMP%]:before, .modern-quickteller-btn[_ngcontent-%COMP%]:before, .modern-cash-btn[_ngcontent-%COMP%]:before, .modern-paydirect-btn[_ngcontent-%COMP%]:before, .modern-zenith-btn[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .6s cubic-bezier(.4,0,.2,1)}.modern-paystack-btn-custom[_ngcontent-%COMP%]:after, .modern-remita-btn-custom[_ngcontent-%COMP%]:after, .modern-quickteller-btn[_ngcontent-%COMP%]:after, .modern-cash-btn[_ngcontent-%COMP%]:after, .modern-paydirect-btn[_ngcontent-%COMP%]:after, .modern-zenith-btn[_ngcontent-%COMP%]:after{content:"";position:absolute;top:50%;left:50%;width:0;height:0;background:#ffffff26;border-radius:50%;transform:translate(-50%,-50%);transition:all .6s cubic-bezier(.4,0,.2,1)}.modern-paystack-btn-custom[_ngcontent-%COMP%]:hover:before, .modern-remita-btn-custom[_ngcontent-%COMP%]:hover:before, .modern-quickteller-btn[_ngcontent-%COMP%]:hover:before, .modern-cash-btn[_ngcontent-%COMP%]:hover:before, .modern-paydirect-btn[_ngcontent-%COMP%]:hover:before, .modern-zenith-btn[_ngcontent-%COMP%]:hover:before{left:100%}.modern-paystack-btn-custom[_ngcontent-%COMP%]:hover:after, .modern-remita-btn-custom[_ngcontent-%COMP%]:hover:after, .modern-quickteller-btn[_ngcontent-%COMP%]:hover:after, .modern-cash-btn[_ngcontent-%COMP%]:hover:after, .modern-paydirect-btn[_ngcontent-%COMP%]:hover:after, .modern-zenith-btn[_ngcontent-%COMP%]:hover:after{width:300px;height:300px}.modern-paystack-btn-custom[_ngcontent-%COMP%]:hover, .modern-remita-btn-custom[_ngcontent-%COMP%]:hover, .modern-quickteller-btn[_ngcontent-%COMP%]:hover, .modern-cash-btn[_ngcontent-%COMP%]:hover, .modern-paydirect-btn[_ngcontent-%COMP%]:hover, .modern-zenith-btn[_ngcontent-%COMP%]:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 12px 35px #10b98180;background:linear-gradient(135deg,#059669,#047857,#065f46)}.modern-paystack-btn-custom[_ngcontent-%COMP%]:active, .modern-remita-btn-custom[_ngcontent-%COMP%]:active, .modern-quickteller-btn[_ngcontent-%COMP%]:active, .modern-cash-btn[_ngcontent-%COMP%]:active, .modern-paydirect-btn[_ngcontent-%COMP%]:active, .modern-zenith-btn[_ngcontent-%COMP%]:active{transform:translateY(-1px) scale(.98);transition:all .1s ease}.modern-paystack-btn-custom[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .modern-remita-btn-custom[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .modern-quickteller-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .modern-cash-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .modern-paydirect-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .modern-zenith-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.25rem;transition:all .3s cubic-bezier(.4,0,.2,1);z-index:1;position:relative}.modern-paystack-btn-custom[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modern-remita-btn-custom[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modern-quickteller-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modern-cash-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modern-paydirect-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modern-zenith-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{z-index:1;position:relative}.modern-paystack-btn-custom[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%], .modern-remita-btn-custom[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%], .modern-quickteller-btn[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%], .modern-cash-btn[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%], .modern-paydirect-btn[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%], .modern-zenith-btn[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%]{transform:scale(1.15) rotate(5deg)}.view-rrr-btn[_ngcontent-%COMP%]{width:100%;margin-top:.75rem;padding:.875rem 1.25rem;background:linear-gradient(135deg,#10b981,#059669,#047857);border:none;border-radius:12px;color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;gap:.625rem;position:relative;overflow:hidden;box-shadow:0 4px 15px #10b98133}.view-rrr-btn[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.view-rrr-btn[_ngcontent-%COMP%]:hover{background:linear-gradient(135deg,#059669,#047857,#065f46);transform:translateY(-2px);box-shadow:0 8px 25px #10b98166}.view-rrr-btn[_ngcontent-%COMP%]:hover:before{left:100%}.view-rrr-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1rem;transition:transform .3s ease;color:#fff}.view-rrr-btn[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%]{transform:scale(1.1)}.hidden-paystack-wrapper[_ngcontent-%COMP%], .hidden-remita-wrapper[_ngcontent-%COMP%], .hidden-quickteller-wrapper[_ngcontent-%COMP%]{position:absolute;top:-9999px;left:-9999px;opacity:0;pointer-events:none;z-index:-1;width:1px;height:1px;overflow:hidden}.hidden-paystack-btn[_ngcontent-%COMP%], .hidden-remita-btn[_ngcontent-%COMP%], .hidden-quickteller-btn[_ngcontent-%COMP%]{display:none}.cash-modal[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.25rem}.modal-field[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.35rem}.modal-field[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.85rem;font-weight:600;color:#22c55e;letter-spacing:.04em;text-transform:uppercase}.modal-field[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;font-size:1.2rem;font-weight:600;color:#0f172a}.alert-body[_ngcontent-%COMP%]{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;padding:1.25rem;color:#0f172a}.payment-section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%]{padding-bottom:2rem}.form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0}.document-form[_ngcontent-%COMP%], .form-fields[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.document-field[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;padding:1.5rem;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.field-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 1fr auto;gap:1rem;align-items:start}.field-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.field-label[_ngcontent-%COMP%]{font-size:.875rem;font-weight:500;color:#1e293b;display:flex;align-items:center;gap:.5rem}.field-number[_ngcontent-%COMP%]{background:#10b981;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600}.required[_ngcontent-%COMP%]{color:#ef4444}.form-input[_ngcontent-%COMP%]{padding:.75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;transition:all .2s}.form-input[_ngcontent-%COMP%]:focus{outline:none;border-color:#10b981;box-shadow:0 0 0 3px #10b9811a}.form-input.error[_ngcontent-%COMP%]{border-color:#ef4444}.error-message[_ngcontent-%COMP%]{color:#ef4444;font-size:.875rem;margin-top:.25rem}.upload-btn[_ngcontent-%COMP%]{background:#10b981;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.upload-btn[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.file-preview[_ngcontent-%COMP%]{margin-top:.5rem}.preview-image[_ngcontent-%COMP%]{max-width:150px;max-height:120px;border-radius:8px;object-fit:cover;border:1px solid #e2e8f0}.remove-btn[_ngcontent-%COMP%]{background:#ef4444;color:#fff;border:none;padding:.5rem;border-radius:8px;cursor:pointer;transition:all .2s}.remove-btn[_ngcontent-%COMP%]:hover{background:#dc2626}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:1rem}.add-btn[_ngcontent-%COMP%]{background:#3b82f6;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.add-btn[_ngcontent-%COMP%]:hover{background:#2563eb;transform:translateY(-1px)}.preview-btn[_ngcontent-%COMP%]{background:#10b981;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.preview-btn[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.preview-btn[_ngcontent-%COMP%]:disabled{background:#94a3b8;cursor:not-allowed}.summary-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.summary-title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0}.document-card[_ngcontent-%COMP%]{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1rem;box-shadow:0 2px 8px #0000000a}.doc-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.doc-number[_ngcontent-%COMP%]{background:#10b981;color:#fff;width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.875rem;font-weight:600}.doc-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:500;color:#1e293b;margin:0}.save-btn[_ngcontent-%COMP%]{background:#10b981;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.save-btn[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.table-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.search-bar[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center}.search-icon[_ngcontent-%COMP%]{position:absolute;left:1rem;color:#64748b;z-index:1}.search-input[_ngcontent-%COMP%]{width:100%;padding:.75rem 1rem .75rem 2.5rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;transition:all .2s}.search-input[_ngcontent-%COMP%]:focus{outline:none;border-color:#10b981;box-shadow:0 0 0 3px #10b9811a}.documents-table[_ngcontent-%COMP%]{width:100%}.view-btn[_ngcontent-%COMP%], .delete-btn[_ngcontent-%COMP%]{margin:0 .25rem}.modal-content[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:2rem}.id-image[_ngcontent-%COMP%]{max-width:100%;max-height:500px;border-radius:8px;object-fit:contain}.document-preview[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:2rem;background:#f8fafc;border-radius:12px}.document-image[_ngcontent-%COMP%]{max-width:100%;max-height:600px;border-radius:8px;object-fit:contain}.dialog-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem}.dialog-actions[_ngcontent-%COMP%]{display:flex;gap:1rem;justify-content:flex-end}.add-doc-btn[_ngcontent-%COMP%]{background:#10b981;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.5rem}.add-doc-btn[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.coming-soon-note[_ngcontent-%COMP%]{text-align:center;padding:1rem;color:#6b7280;font-style:italic}@media(max-width:768px){.application-detail-container[_ngcontent-%COMP%]{padding:1rem}.payment-methods-grid[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:1rem}.payment-method-card[_ngcontent-%COMP%]{padding:1.25rem}.application-header[_ngcontent-%COMP%]{flex-direction:column;gap:1rem;text-align:center;padding:1.5rem}.header-content[_ngcontent-%COMP%] h1.application-title[_ngcontent-%COMP%]{font-size:2rem}.header-actions[_ngcontent-%COMP%]{flex-direction:column;align-items:center;gap:.75rem}.status-badge[_ngcontent-%COMP%], .ref-number[_ngcontent-%COMP%]{width:100%;justify-content:center}.content-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.sidebar[_ngcontent-%COMP%]{position:static}.sidebar-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{text-align:center}.action-buttons[_ngcontent-%COMP%]{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:.75rem}.action-btn[_ngcontent-%COMP%]{width:calc(50% - .375rem)}.affidavit-title[_ngcontent-%COMP%]{padding:1rem;border-left:none}.clauses-section[_ngcontent-%COMP%] .clauses-title[_ngcontent-%COMP%]{text-align:center}.overview-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.overview-card[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;gap:.75rem}.card-icon[_ngcontent-%COMP%]{width:4rem;height:4rem}.card-content[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{font-size:.8rem}.card-content[_ngcontent-%COMP%] .card-value[_ngcontent-%COMP%]{font-size:1rem}.info-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.info-item[_ngcontent-%COMP%] .info-label[_ngcontent-%COMP%]{text-align:center}.payment-section[_ngcontent-%COMP%]{margin-bottom:1rem}.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%]{flex-direction:row;justify-content:space-between;align-items:center;padding:1.25rem;gap:1rem}.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.1rem;margin:0;flex:1;display:flex;align-items:center;gap:.5rem}.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1rem}.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%] .close-btn[_ngcontent-%COMP%]{padding:.5rem;font-size:1.1rem;flex-shrink:0;min-width:36px;min-height:36px;display:flex;align-items:center;justify-content:center}.payment-section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%]{padding:1.25rem 1rem}.payment-gateway-container[_ngcontent-%COMP%]{padding:0}.payment-methods-grid[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:1.25rem}.payment-method-card[_ngcontent-%COMP%]{padding:1.5rem 1.25rem;border-radius:16px}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%]{flex-direction:row;align-items:center;text-align:left;gap:1rem;margin-bottom:1.5rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-icon[_ngcontent-%COMP%]{width:56px;height:56px;border-radius:14px;flex-shrink:0}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-icon[_ngcontent-%COMP%] .payment-logo[_ngcontent-%COMP%]{width:36px;height:36px}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%]{flex:1;min-width:0}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%] .payment-title[_ngcontent-%COMP%]{font-size:1.15rem;margin-bottom:.5rem;word-wrap:break-word}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%] .payment-description[_ngcontent-%COMP%]{font-size:.85rem;line-height:1.5;word-wrap:break-word}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%]{flex-direction:column;gap:1.25rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%]{flex-direction:row;justify-content:space-between;align-items:center;gap:.75rem;padding:1rem;border-radius:10px}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%] .amount-label[_ngcontent-%COMP%]{font-size:.85rem;white-space:nowrap}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%] .amount-value[_ngcontent-%COMP%]{font-size:1.35rem;font-weight:700;white-space:nowrap;text-align:right}.payment-method-card[_ngcontent-%COMP%] .modern-paystack-btn-custom[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-remita-btn-custom[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-quickteller-btn[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-zenith-btn[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-cash-btn[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-paydirect-btn[_ngcontent-%COMP%]{width:100%;padding:1rem 1.25rem;font-size:.95rem;min-height:52px;border-radius:12px;letter-spacing:.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payment-method-card[_ngcontent-%COMP%] .modern-paystack-btn-custom[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-remita-btn-custom[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-quickteller-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-zenith-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-cash-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-paydirect-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.1rem;flex-shrink:0}.payment-method-card[_ngcontent-%COMP%] .modern-paystack-btn-custom[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-remita-btn-custom[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-quickteller-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-zenith-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-cash-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-paydirect-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.95rem;flex:1;text-align:center}.payment-method-card[_ngcontent-%COMP%] .view-rrr-btn[_ngcontent-%COMP%]{width:100%;padding:.875rem 1rem;font-size:.875rem;margin-top:.75rem;white-space:nowrap}.payment-method-card[_ngcontent-%COMP%] .view-rrr-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{flex-shrink:0}}@media(max-width:480px){.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%]{padding:1rem}.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1rem;gap:.4rem}.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:.9rem}.payment-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%] .close-btn[_ngcontent-%COMP%]{padding:.4rem;min-width:32px;min-height:32px;font-size:1rem}.payment-section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%]{padding:1rem .75rem}.payment-method-card[_ngcontent-%COMP%]{padding:1.25rem 1rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%]{gap:.75rem;margin-bottom:1.25rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-icon[_ngcontent-%COMP%]{width:48px;height:48px}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-icon[_ngcontent-%COMP%] .payment-logo[_ngcontent-%COMP%]{width:32px;height:32px}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%] .payment-title[_ngcontent-%COMP%]{font-size:1.05rem;margin-bottom:.4rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-header[_ngcontent-%COMP%] .payment-info[_ngcontent-%COMP%] .payment-description[_ngcontent-%COMP%]{font-size:.8rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%]{gap:1rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%]{padding:.875rem;flex-direction:column;align-items:flex-start;gap:.5rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%] .amount-label[_ngcontent-%COMP%]{font-size:.8rem}.payment-method-card[_ngcontent-%COMP%] .payment-card-content[_ngcontent-%COMP%] .payment-amount[_ngcontent-%COMP%] .amount-value[_ngcontent-%COMP%]{font-size:1.25rem;text-align:left;width:100%}.payment-method-card[_ngcontent-%COMP%] .modern-paystack-btn-custom[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-remita-btn-custom[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-quickteller-btn[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-zenith-btn[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-cash-btn[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-paydirect-btn[_ngcontent-%COMP%]{padding:.875rem 1rem;font-size:.9rem;min-height:48px}.payment-method-card[_ngcontent-%COMP%] .modern-paystack-btn-custom[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-remita-btn-custom[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-quickteller-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-zenith-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-cash-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-paydirect-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1rem}.payment-method-card[_ngcontent-%COMP%] .modern-paystack-btn-custom[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-remita-btn-custom[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-quickteller-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-zenith-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-cash-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .payment-method-card[_ngcontent-%COMP%] .modern-paydirect-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.9rem}.payment-method-card[_ngcontent-%COMP%] .view-rrr-btn[_ngcontent-%COMP%]{padding:.75rem .875rem;font-size:.85rem}}']})}return t})();var zh=(()=>{class t{court=null;currentState=ue.currentState;court_bg_path=Ke.court_bg;court_logo_path2=Ke.court_of_arm;get divisionLabel(){return`${(this.court?.division||this.court?.name||"PORT HARCOURT").toUpperCase()} JUDICIAL DIVISION`}constructor(){}ngOnInit(){}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=V({type:t,selectors:[["app-print-header"]],inputs:{court:"court"},standalone:!1,decls:11,vars:5,consts:[[1,"print-header-doc","text-center"],[1,"print-header-doc__grid"],[1,"print-header-doc__logo-left"],["alt","Coat of Arms","height","90","width","100",3,"src"],[1,"print-header-doc__title-wrap"],[1,"print-header-doc__main-title"],[1,"print-header-doc__subtitle"],[1,"print-header-doc__logo-right"],["alt","Court Seal","height","90","width","90",3,"src"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"div",2),x(3,"img",3),d(),c(4,"div",4)(5,"h1",5),g(6,"FEDERAL HIGH COURT OF NIGERIA"),d(),c(7,"p",6),g(8),d()(),c(9,"div",7),x(10,"img",8),d()()()),n&2&&(p(3),m("src",Qm("data:image/png;base64,",o.court_logo_path2),_e),p(5),k(o.divisionLabel),p(2),m("src",Qm("data:image/png;base64,",o.court_bg_path),_e))},styles:[".print-header-doc[_ngcontent-%COMP%]{padding-top:10px;margin-bottom:-10px;font-family:Arial,Helvetica,sans-serif}.print-header-doc__grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;max-width:100%}.print-header-doc__logo-left[_ngcontent-%COMP%]{justify-self:start}.print-header-doc__logo-left[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;height:90px;width:100px;object-fit:contain}.print-header-doc__title-wrap[_ngcontent-%COMP%]{justify-self:center;text-align:center}.print-header-doc__main-title[_ngcontent-%COMP%]{margin:0 0 .25rem;font-size:1.75rem;font-weight:700;color:#0a640b;letter-spacing:.02em;line-height:1.2}.print-header-doc__subtitle[_ngcontent-%COMP%]{margin:0;font-size:1.1rem;font-weight:600;color:#0a640b}.print-header-doc__logo-right[_ngcontent-%COMP%]{justify-self:end}.print-header-doc__logo-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;height:90px;width:90px;object-fit:contain}"]})}return t})();var NW=()=>({width:"50vw"});function BW(t,i){t&1&&(c(0,"div"),x(1,"div",52)(2,"div",53)(3,"br"),d())}function zW(t,i){t&1&&(c(0,"div",54),x(1,"app-print-header"),c(2,"h2",55)(3,"span",56),g(4,"Affidavit"),d()(),x(5,"br"),d())}function HW(t,i){if(t&1&&x(0,"img",58),t&2){let e,n=f(2);m("src",Ta((e=n.application())==null?null:e.passport_photo_file),_e)}}function jW(t,i){if(t&1&&(c(0,"span"),_(1,HW,1,2,"img",57),d()),t&2){let e,n=f();p(),m("ngIf",(e=n.application())==null?null:e.passport_photo_file)}}function UW(t,i){if(t&1&&(c(0,"li",59)(1,"b"),g(2),d()()),t&2){let e=i.$implicit;p(2),k(e==null?null:e.content)}}function qW(t,i){t&1&&(c(0,"p",60),g(1,"\xA0"),d())}function GW(t,i){if(t&1&&x(0,"img",61),t&2){let e,n=f();m("src",Ta((e=n.application())==null?null:e.signature_file),_e)}}function QW(t,i){t&1&&(c(0,"div",62),g(1," \xA0 "),d())}function WW(t,i){if(t&1&&x(0,"img",65),t&2){let e,n=f(2);m("src",n.sanitizeImageUrl(((e=n.application())==null?null:e.authorization_signature)??""),_e)}}function KW(t,i){if(t&1&&(c(0,"div",63),_(1,WW,1,1,"img",64),d()),t&2){let e,n=f();p(),m("ngIf",(e=n.application())==null?null:e.authorization_signature)}}function YW(t,i){if(t&1&&x(0,"img",66),t&2){let e,n=f();m("src",n.sanitizeImageUrl((((e=n.application())==null?null:e.seal_image)||((e=n.application())==null?null:e.barcode_file))??n.no_image),_e)}}function ZW(t,i){if(t&1&&(c(0,"p",67)(1,"a",68),g(2),d()()),t&2){let e=f();p(),m("href",e.verificationUrl,_e),p(),k(e.verificationUrl)}}function JW(t,i){if(t&1){let e=P();c(0,"p-button",69),I("click",function(){y(e);let o=f();return C(o.displayIDCardModal=!1)}),d()}}var gO=(()=>{class t{affidavitEndpoint;affidavitPageStore;affidavitApplicationSettingEndpoint;sanitizer;appId;application=je(null);affidavitSetting;stateTitle=ue.stateTitleSentence;no_image="data:image/png;base64,"+Ke.no_image;verifyAffidavitBaseUrl=ue.verifyAffidavitTestBaseUrl;displayIDCardModal=!1;showHeader=!0;allowPassportUpload=!1;allowOathCommissionerSignaturePhoto=je(!1);qrCode=je("");constructor(e,n,o,r){this.affidavitEndpoint=e,this.affidavitPageStore=n,this.affidavitApplicationSettingEndpoint=o,this.sanitizer=r}ngOnInit(){this.affidavitPageStore.startLoading("Loading . . ."),this.affidavitPageStore.state$.subscribe(e=>{this.appId=e.refNo??"",this.verifyAffidavitBaseUrl=ue.production?ue.verifyAffidavitLiveBaseUrl:ue.verifyAffidavitTestBaseUrl}),this.appId&&(this.affidavitPageStore.startLoading("Loading Affidavit . . ."),this.affidavitEndpoint.findByRefNo(this.appId).subscribe({next:e=>{this.application.set(e.data),console.log("application",this.application()),this.qrCode.set(e.qr_code),this.affidavitPageStore.stopLoading()},error:e=>{this.affidavitPageStore.stopLoading()}})),this.affidavitApplicationSettingEndpoint.single(1).subscribe({next:e=>{this.affidavitSetting=e.data,this.allowPassportUpload=this.affidavitSetting?.allow_passport_photo,this.allowOathCommissionerSignaturePhoto.set(this.affidavitSetting?.allow_oath_commissioner_signature_photo)},error:e=>console.log(e)})}goBack(){this.affidavitPageStore.toggle("new")}printAffidavit(){window.print()}sanitizeImageUrl(e){return this.sanitizer.bypassSecurityTrustUrl(e)}get verificationUrl(){let e=this.application()?.ref_no??"";return e?`${this.verifyAffidavitBaseUrl}${e}`:""}getInitials(e){if(!e||!e.trim())return"";let n=e.trim().split(/\s+/).slice(0,3);return n.map(o=>o.charAt(0).toUpperCase()).join(".")+(n.length?".":"")}static \u0275fac=function(n){return new(n||t)(E(fi),E(Te),E(Ui),E($i))};static \u0275cmp=V({type:t,selectors:[["affidavit-print"]],standalone:!1,decls:109,vars:41,consts:[["name","viewport","content","width=device-width, initial-scale=1.0"],[1,"print-page-container"],[1,"print-header"],[1,"header-content"],[1,"print-title"],[1,"print-subtitle"],[1,"header-actions"],["pButton","","type","button","icon","pi pi-print","label","Print Affidavit",1,"print-btn",3,"click"],["pButton","","type","button","icon","pi pi-arrow-left","label","Go Back",1,"back-btn",3,"click"],[1,"affidavit-content"],[1,"affidavit-document"],["id","printRef",1,"main","minus-margin",2,"font-family","Arial !important"],[1,"affidavit-form"],[4,"ngIf"],["class","header",4,"ngIf"],[1,"content-container"],[1,"content-affidavit-type-title","text-black","text-center","font-bold","text-transform-uppercase","font-weight-bolder"],[2,"color","black !important","font-size","18px !important","margin","5px 0px !important","text-align","center","margin-top","30px","margin-bottom","30px"],[2,"line-height","1.8","font-size","22px","color","black !important","font-family","Arial !important"],[1,"text-uppercase"],[2,"line-height","1.8"],["colspan","3"],["style",`
|
|
99
99
|
font-size: 22px;
|
|
100
100
|
color: black !important;
|
|
101
101
|
font-family: Arial !important;
|