PageSourceSearch

https://almutahidah.com/chunk-5JYHSTJN.js

js almutahidah.com collected 2026-09-27 07:09:57 UTC 4,404 bytes, 1 lines download raw bytes

1import{a as R}from"./chunk-XZ7Z6ERF.js";import{a as O}from"./chunk-EMCE6EVZ.js";import"./chunk-BYXBJQAS.js";import"./chunk-MCQML6YT.js";import"./chunk-XNXLFDZX.js";import"./chunk-IENL4UJA.js";import{d as L,e as B}from"./chunk-JLWCQ6UT.js";import{H as q,W as F}from"./chunk-P4C42LQP.js";import"./chunk-RZZCZ2VH.js";import{m as k,w as E}from"./chunk-Z7IUSDSQ.js";import{Ac as y,Je as a,Kd as g,Ke as s,Le as b,Pe as T,Ra as h,Vf as m,Wf as l,Xf as d,ff as w,hf as c,ic as C,ig as M,kb as I,lb as P,mg as x,pe as i,s as v,t as S,vg as u,wg as f,xg as _,zc as n}from"./chunk-SRTQBDBP.js";import"./chunk-EJD3L6HM.js";import"./chunk-T7NDVU76.js";var D=t=>({number:t});function j(t,o){if(t&1&&(a(0,"div",9),b(1,"img",10),s()),t&2){let e=c();n(),i("src",e.isSuccess==!1?"../../../../assets/images/payment/payment-fail.svg":"../../../../assets/images/payment/payment-success.svg",C)}}function N(t,o){t&1&&(a(0,"div",11),m(1),u(2,"translate"),s()),t&2&&(n(),d(" ",f(2,1,"thankyou")," "))}function V(t,o){if(t&1&&(a(0,"span",14),m(1),u(2,"translate"),s()),t&2){let e=c(2);n(),l(_(2,1,"PaymentLandingPage.ContractIsPaid",x(4,D,e.paymentData.sequenceNumber)))}}function z(t,o){if(t&1&&(a(0,"span",12),m(1),u(2,"translate"),s()),t&2){let e=c(2);n(),l(_(2,1,"PaymentLandingPage.RequestIsPaid",x(4,D,e.paymentData.sequenceNumber)))}}function A(t,o){if(t&1&&(a(0,"div",12),g(1,V,3,6,"span",13)(2,z,3,6,"span",5),s()),t&2){let e=c();n(),i("ngIf",e.paymentType!=e.Type.IndividualRequest&&e.paymentType!=e.Type.FinancialRequest),n(),i("ngIf",e.paymentType==e.Type.IndividualRequest||e.paymentType==e.Type.FinancialRequest)}}function G(t,o){if(t&1&&(a(0,"h4",15)(1,"span"),m(2),s()()),t&2){let e=c();n(2),l(e.error)}}function H(t,o){if(t&1){let e=T();a(0,"button",16),w("click",function(){I(e);let r=c();return P(r.reload())}),m(1),u(2,"translate"),s()}t&2&&(n(),d(" ",f(2,1,"PaymentLandingPage.TryAgain")," "))}function U(t,o){t&1&&(a(0,"a",17),m(1),u(2,"translate"),s()),t&2&&(n(),d(" ",f(2,1,"PaymentLandingPage.GoToHome")," "))}var ne=(()=>{class t{constructor(e,p){this.route=e,this.paymentMethodsService=p,this.isSuccess=null,this.Type=O}ngOnInit(){S([this.route.queryParams,this.route.params]).pipe(v(e=>({query:e[0],params:e[1]}))).subscribe(e=>{e.query.id?this.checkOutId=e.query.id:this.checkOutId=e.params?.id,this.paymentType=e.params?.type,this.getStatus()})}getStatus(){this.paymentMethodsService.getStatus(this.checkOutId).subscribe(e=>{this.paymentData=e.data,this.isSuccess=e.data.isSuccess},e=>{this.isSuccess=!1,this.error=e?.error?.message})}reload(){window.location.reload()}static{this.\u0275fac=function(p){return new(p||t)(y(q),y(R))}}static{this.\u0275cmp=h({type:t,selectors:[["app-payment-status"]],standalone:!0,features:[M],decls:10,vars:6,consts:[["id","paymentStatus",1,"container","py-5","pt-0"],[1,"align-items-center","d-flex","flex-column","gap-3","justify-content-center"],[1,"order-lg-1","order-0","text-center"],["class","order-lg-0 order-1",4,"ngIf"],["class","fs-32 f-w-bold ext-center text-00C3BE",4,"ngIf"],["class","fs-24 f-w-regular textMain",4,"ngIf"],["class","fs-24 f-w-regular text-FF0000",4,"ngIf"],["class","btn main-button fs-20 f-w-regular mt-3",3,"click",4,"ngIf"],["class","btn main-button fs-20 f-w-regular mt-3","routerLink","/home",4,"ngIf"],[1,"order-lg-0","order-1"],[1,"img-fluid","mb
1-3",3,"src"],[1,"fs-32","f-w-bold","ext-center","text-00C3BE"],[1,"fs-24","f-w-regular","textMain"],["class","fs-24 f-w-regular text-center textMain",4,"ngIf"],[1,"fs-24","f-w-regular","text-center","textMain"],[1,"fs-24","f-w-regular","text-FF0000"],[1,"btn","main-button","fs-20","f-w-regular","mt-3",3,"click"],["routerLink","/home",1,"btn","main-button","fs-20","f-w-regular","mt-3"]],template:function(p,r){p&1&&(a(0,"div")(1,"div",0)(2,"div",1)(3,"div",2),g(4,j,2,1,"div",3)(5,N,3,3,"div",4)(6,A,3,2,"div",5)(7,G,3,1,"h4",6)(8,H,3,3,"button",7)(9,U,3,3,"a",8),s()()()()),p&2&&(n(4),i("ngIf",r.isSuccess!=null),n(),i("ngIf",r.isSuccess),n(),i("ngIf",r.isSuccess==!0),n(),i("ngIf",r.isSuccess==!1&&!r.customError),n(),i("ngIf",r.isSuccess==!1),n(),i("ngIf",r.isSuccess==!0))},dependencies:[B,L,E,k,F],styles:[".text-red[_ngcontent-%COMP%]{color:#e23737}.main-header[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:cover;max-height:270px;margin-top:100px}#paymentStatus[_ngcontent-%COMP%]{margin-top:100px}"]})}}return t})();export{ne as PaymentStatusComponent};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.