1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[166],{4458:(E,O,l)=>{l.d(O,{H:()=>I});var i=l(1180),t=l(5879),s=l(4391),v=l(6814),C=l(3999);function w(r,m){if(1&r){const _=t.EpF();t.TgZ(0,"button",6),t.NdJ("click",function(){t.CHM(_);const f=t.oxw().$implicit,u=t.oxw();return t.KtG(u.layout.setTheme(f.value))}),t.ALo(1,"translate"),t._UZ(2,"i",7),t.qZA()}if(2&r){const _=t.oxw().$implicit,p=t.oxw();t.s9C("title",t.lcZ(1,6,_.name)),t.xp6(2),t.Tol(_.icon),t.ekj("rotate-180",p.layout.theme==_.value)}}function L(r,m){if(1&r&&(t.ynx(0),t.YNc(1,w,3,8,"button",5),t.BQk()),2&r){const _=m.$implicit,p=t.oxw();t.xp6(1),t.Q6J("ngIf",p.layout.theme!=_.value)}}function b(r,m){if(1&r){const _=t.EpF();t.TgZ(0,"button",9),t.NdJ("click",function(){t.CHM(_);const f=t.oxw().$implicit,u=t.oxw();return t.KtG(u.layout.setLanguage(f.culture,f.dir))}),t.ALo(1,"translate"),t._UZ(2,"i",10),t._uU(3),t.qZA()}if(2&r){const _=t.oxw().$implicit;t.s9C("title",t.lcZ(1,2,"Change language")),t.xp6(3),t.Oqu(_.name)}}function M(r,m){if(1&r&&(t.ynx(0),t.YNc(1,b,4,4,"button",8),t.BQk()),2&r){const _=m.$implicit,p=t.oxw();t.xp6(1),t.Q6J("ngIf",p.layout.culture!=_.culture)}}let I=(()=>{var r;class m{constructor(p){(0,i.Z)(this,"layout",void 0),this.layout=p}}return r=m,(0,i.Z)(m,"\u0275fac",function(p){return new(p||r)(t.Y36(s.Pb))}),(0,i.Z)(m,"\u0275cmp",t.Xpm({type:r,selectors:[["app-accessiblity-bar"]],decls:12,vars:11,consts:[[1,"flex","gap-1"],[4,"ngFor","ngForOf"],["onclick","setFontSize(1)",1,"btn","p-0","w-4","h-4",3,"title"],["onclick","setFontSize(-1)",1,"btn","p-0","w-4","h-4",3,"title"],["onclick","resetFontSize('16px')",1,"btn","p-0","w-4","h-4",3,"title"],["class","btn p-0 w-4 h-4",3,"title","click",4,"ngIf"],[1,"btn","p-0","w-4","h-4",3,"title","click"],[2,"font-size","1em"],["class","btn p-0 ps-1 pe-2 h-4",3,"title","click",4,"ngIf"],[1,"btn","p-0","ps-1","pe-2","h-4",3,"title","click"],[1,"ft-globe"]],template:function(p,f){1&p&&(t.TgZ(0,"div",0),t.YNc(1,L,2,1,"ng-container",1),t.TgZ(2,"button",2),t.ALo(3,"translate"),t._uU(4,"A+"),t.qZA(),t.TgZ(5,"button",3),t.ALo(6,"translate"),t._uU(7,"A-"),t.qZA(),t.TgZ(8,"button",4),t.ALo(9,"translate"),t._uU(10,"A"),t.qZA(),t.YNc(11,M,2,1,"ng-container",1),t.qZA()),2&p&&(t.xp6(1),t.Q6J("ngForOf",f.layout.themes),t.xp6(1),t.s9C("title",t.lcZ(3,5,"Increase font size")),t.xp6(3),t.s9C("title",t.lcZ(6,7,"Decrease font size")),t.xp6(3),t.s9C("title",t.lcZ(9,9,"Reset font size")),t.xp6(3),t.Q6J("ngForOf",f.layout.languages))},dependencies:[v.sg,v.O5,C.X$],encapsulation:2})),m})()},8084:(E,O,l)=>{l.d(O,{E:()=>I});var i=l(1180),t=l(553),s=l(5879),v=l(6814),C=l(7951),w=l(3999),L=l(4391);function b(r,m){if(1&r&&(s._UZ(0,"img",7),s.ALo(1,"fileUrl")),2&r){const _=m.$implicit,p=s.oxw(2);s.s9C("src",s.xi3(1,1,_.imagePath,p.folder),s.LSH)}}function M(r,m){if(1&r&&(s.TgZ(0,"div"),s._UZ(1,"app-image-slider",1),s.TgZ(2,"div",2)(3,"h4",3),s._uU(4),s.qZA(),s.TgZ(5,"h4",4),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.TgZ(8,"div",5),s._uU(9),s.qZA(),s.TgZ(10,"h4",4),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.TgZ(13,"div",5),s._uU(14),s.qZA()(),s.YNc(15,b,2,4,"img",6),s.qZA()),2&r){const _=s.oxw();s.Gre("project-condition card flex-col-row align-center gap-2 p-1 box-shadow ",_.css,""),s.ekj("none",!_.model.filtered),s.xp6(1),s.Q6J("items",_.model.images)("folder",_.folder),s.xp6(3),s.Oqu(_.model.description),s.xp6(2),s.Oqu(s.lcZ(7,13,"Project summary")),s.xp6(3),s.Oqu(_.model.summary),s.xp6(2),s.Oqu(s.lcZ(12,15,"Project objectives")),s.xp6(3),s.Oqu(_.model.objectives),s.xp6(1),s.Q6J("ngForOf",_.model.images)}}let I=(()=>{var r;class m{constructor(){(0,i.Z)(this,"folder",t.N.folders.conditions),(0,i.Z)(this,"css",""),(0,i.Z)(this,"model",void 0)}}return r=m,(0,i.Z)(m,"\u0275fac",function(p){return new(p||r)}),(0,i.Z)(m,"\u0275cmp",s.Xpm({type:r,selectors:[["app-condition-project"]],inputs:{css:"css",model:"model"},decls:1,vars:1,consts:[[3,"class","none",4,"ngIf"],[3,"items","folder"],[1,"p-1"],[1,"color-5","description","mb-2"],[1,"color-3"],[1,"justify-text","pt-1","pb-2","pre-wrap"],["style","width: 0;height:0;visibility: hidden;",3,"src",4,"ngFor","ngForOf"],[2,"width","0","height","0","visibility","hidden",3,"src"]],template:function(p,f){1&p&&s.YNc(0,M,16,17,"div",0),2&p&&s.Q6J("ngIf",f.model)}
1,dependencies:[v.sg,v.O5,C.V,w.X$,L.OR],encapsulation:2})),m})()},7971:(E,O,l)=>{l.d(O,{a:()=>v});var i=l(1180),t=l(5879),s=l(3999);let v=(()=>{var C;class w{constructor(){(0,i.Z)(this,"text","Donate now")}ngOnInit(){}}return C=w,(0,i.Z)(w,"\u0275fac",function(b){return new(b||C)}),(0,i.Z)(w,"\u0275cmp",t.Xpm({type:C,selectors:[["app-donate-button"]],inputs:{text:"text"},decls:5,vars:3,consts:[["onclick","setDonateButtonPosition(event)",1,"donate-button","flex","align-center","bg-gradient","color-5","cursor-pointer","hover-shadow"],["fill","Red","viewBox","0 0 32 32"],["d","M26.996 12.898c-.064-2.207-1.084-4.021-2.527-5.13-1.856-1.428-4.415-1.69-6.542-.132-.702.516-1.359 1.23-1.927 2.168-.568-.938-1.224-1.652-1.927-2.167-2.127-1.559-4.685-1.297-6.542.132-1.444 1.109-2.463 2.923-2.527 5.13-.035 1.172.145 2.48.788 3.803 1.01 2.077 5.755 6.695 10.171 10.683l.035.038.002-.002.002.002.036-.038c4.415-3.987 9.159-8.605 10.17-10.683.644-1.323.822-2.632.788-3.804z"]],template:function(b,M){1&b&&(t.TgZ(0,"button",0),t.O4$(),t.TgZ(1,"svg",1),t._UZ(2,"path",2),t.qZA(),t._uU(3),t.ALo(4,"translate"),t.qZA()),2&b&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,M.text),"\n"))},dependencies:[s.X$],encapsulation:2})),w})()},9877:(E,O,l)=>{l.d(O,{X:()=>_});var i=l(1180),t=l(5879),s=l(6668),v=l(4391),C=l(2623),w=l(6814),L=l(3999);const b=function(p){return[p]};function M(p,f){if(1&p&&(t.TgZ(0,"a",7)(1,"div",8),t._UZ(2,"img",9),t.qZA(),t.TgZ(3,"label",10),t._uU(4),t.ALo(5,"translate"),t.qZA()()),2&p){const u=f.$implicit;t.Q6J("routerLink",t.VKq(5,b,u.url)),t.xp6(2),t.Q6J("src",u.img,t.LSH),t.xp6(2),t.Oqu(t.lcZ(5,3,u.name))}}function I(p,f){if(1&p&&(t.TgZ(0,"div",5),t.YNc(1,M,6,7,"a",6),t.qZA()),2&p){const u=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",u.items)}}function r(p,f){if(1&p){const u=t.EpF();t.TgZ(0,"a",12),t.NdJ("click",function(){const T=t.CHM(u).$implicit,x=t.oxw(2);return t.KtG(x.donate(T))}),t.TgZ(1,"div",8),t._UZ(2,"img",9),t.qZA(),t.TgZ(3,"label",10),t._uU(4),t.ALo(5,"translate"),t.qZA()()}if(2&p){const u=f.$implicit;t.xp6(2),t.Q6J("src",u.img,t.LSH),t.xp6(2),t.Oqu(t.lcZ(5,2,u.name))}}function m(p,f){if(1&p&&(t.TgZ(0,"div",5),t.YNc(1,r,6,4,"a",11),t.qZA()),2&p){const u=t.oxw();t.xp6(1),t.Q6J("ngForOf",u.items)}}let _=(()=>{var p;class f{constructor(A,d,T,x){(0,i.Z)(this,"route",void 0),(0,i.Z)(this,"router",void 0),(0,i.Z)(this,"modal",void 0),(0,i.Z)(this,"cart",void 0),(0,i.Z)(this,"items",[{id:1,type:"atm",name:"MethodCreditCard",url:"/atm",img:"assets/img/methods/1.png"}]),(0,i.Z)(this,"preselect",!0),this.route=A,this.router=d,this.modal=T,this.cart=x}ngOnInit(){"gift"!=this.route.snapshot.queryParamMap.get("action")&&(this.items.push({id:2,type:"sms",name:"MethodSMS",url:"/sms",img:"assets/img/methods/2.png"}),this.items.push({id:4,type:"app",name:"MethodAttendToAwqaf",url:"/app",img:"assets/img/methods/3.png"}),this.items.push({id:5,type:"rep",name:"Request delegate",url:"/rep",img:"assets/img/methods/4.png"}),this.items.push({id:6,type:"points",name:"Nearest offices",url:"/points",img:"assets/img/methods/1.png"}))}
1donate(A){switch(this.modal.pop(),A.type){case"atm":this.cart.donateCard();break;case"sms":this.cart.donateSms();break;case"fawran":this.cart.donateFawran();break;case"app":this.router.navigate(["/app"],{queryParams:{eid:this.cart.model.donationTypeId}});break;case"rep":this.router.navigate(["/rep"],{queryParams:{eid:this.cart.model.donationTypeId}});break;case"points":this.router.navigate(["/points"])}}}return p=f,(0,i.Z)(f,"\u0275fac",function(A){return new(A||p)(t.Y36(s.gz),t.Y36(s.F0),t.Y36(v.Z7),t.Y36(C.N))}),(0,i.Z)(f,"\u0275cmp",t.Xpm({type:p,selectors:[["app-donate-methods"]],inputs:{preselect:"preselect"},decls:8,vars:5,consts:[[1,"donate-methods",2,"max-width","30em"],[1,"flex","space-between","align-center"],[1,"p-2","pt-0","color-5","text-center","fw-600"],["src","assets/img/donate.png",1,"no-events",2,"width","5.5em","filter","drop-shadow(0px 10px 21px var(--color-1))","margin","5px 5px -30px 5px"],["class","flex-col gap-2",4,"ngIf"],[1,"flex-col","gap-2"],["class","btn btn-1 rounded btn-donate p-0 gap-1 justify-start fill box-shadow-2",3,"routerLink",4,"ngFor","ngForOf"],[1,"btn","btn-1","rounded","btn-donate","p-0","gap-1","justify-start","fill","box-shadow-2",3,"routerLink"],[1,"icon","no-events"],[3,"src"],[1,"fs-mid","no-events"],["class","btn btn-1 rounded btn-donate p-0 gap-1 justify-start fill box-shadow-2",3,"click",4,"ngFor","ngForOf"],[1,"btn","btn-1","rounded","btn-donate","p-0","gap-1","justify-start","fill","box-shadow-2",3,"click"]],template:function(A,d){1&A&&(t.TgZ(0,"div",0)(1,"div",1)(2,"h3",2),t._uU(3),t.ALo(4,"translate"),t.qZA(),t._UZ(5,"img",3),t.qZA(),t.YNc(6,I,2,1,"div",4),t.YNc(7,m,2,1,"div",4),t.qZA()),2&A&&(t.xp6(3),t.Oqu(t.lcZ(4,3,"Please select donation method")),t.xp6(3),t.Q6J("ngIf",!d.preselect),t.xp6(1),t.Q6J("ngIf",d.preselect))},dependencies:[w.sg,w.O5,s.rH,L.X$],encapsulation:2})),f})()},7951:(E,O,l)=>{l.d(O,{V:()=>f});var i=l(1180),t=l(5879),s=l(4391),v=l(6814),C=l(3999);function w(u,A){if(1&u){const d=t.EpF();t.TgZ(0,"img",14),t.NdJ("click",function(x){t.CHM(d);const k=t.oxw(3),P=t.MAs(2);return k.previewEnabled&&P.show(),t.KtG(x.stopPropagation())}),t.ALo(1,"fileUrl"),t.qZA()}if(2&u){const d=t.oxw(),T=d.index,x=d.$implicit,k=t.oxw(2);t.ekj("scale-removecorner",T===k.currentIndex)("cursor-pointer",k.previewEnabled),t.s9C("src",t.xi3(1,5,x.imagePath,k.folder),t.LSH)}}function L(u,A){if(1&u&&(t.ynx(0),t.YNc(1,w,2,8,"img",13),t.BQk()),2&u){const d=A.index,T=t.oxw(2);t.xp6(1),t.Q6J("ngIf",d===T.currentIndex)}}function b(u,A){if(1&u){const d=t.EpF();t.TgZ(0,"button",15),t.NdJ("click",function(x){return t.CHM(d),t.oxw(2),t.MAs(2).show(),t.KtG(x.stopPropagation())}),t.ALo(1,"translate"),t._UZ(2,"i",16),t.qZA()}2&u&&t.s9C("title",t.lcZ(1,1,"Preview"))}function M(u,A){if(1&u){const d=t.EpF();t.TgZ(0,"div",17),t.NdJ("click",function(x){return x.stopPropagation()}),t.TgZ(1,"button",18),t.NdJ("click",function(){t.CHM(d);const x=t.oxw(2);return t.KtG(x.setIndex(-1))}),t.ALo(2,"translate"),t._UZ(3,"i",19),t.qZA(),t.TgZ(4,"span",20),t._uU(5),t.qZA(),t.TgZ(6,"button",18),t.NdJ("click",function(){t.CHM(d);const x=t.oxw(2);return t.KtG(x.setIndex(1))}),t.ALo(7,"translate"),t._UZ(8,"i",21),t.qZA()()}if(2&u){const d=t.oxw(2);t.xp6(1),t.s9C("title",t.lcZ(2,6,"Previous")),t.Q6J("disabled",0===d.currentIndex),t.xp6(4),t.AsE("",d.currentIndex+1," / ",d.items.length,""),t.xp6(1),t.s9C("title",t.lcZ(7,8,"Next")),t.Q6J("disabled",d.currentIndex===d.items.length-1)}}function I(u,A){if(1&u&&(t.TgZ(0,"div",8),t.YNc(1,L,2,1,"ng-container",9),t.TgZ(2,"div",10),t.YNc(3,b,3,3,"button",11),t.YNc(4,M,9,10,"div",12),t.qZA()()),2&u){const d=t.oxw();t.xp6(1),t.Q6J("ngForOf",d.items),t.xp6(2),t.Q6J("ngIf",d.previewEnabled),t.xp6(1),t.Q6J("ngIf",d.items.length>1)}}function r(u,A){if(1&u){const d=t.EpF();t.TgZ(0,"button",22),t.NdJ("click",function(x){return t.CHM(d),t.oxw().setIndex(-1),t.KtG(x.stopPropagation())}),t.ALo(1,"translate"),t._UZ(2,"i",19),t.qZA()}if(2&u){const d=t.oxw();t.s9C("title",t.lcZ(1,2,"Previous")),t.Q6J("disabled",0===d.currentIndex)}}function m(u,A){if(1&u&&(t.TgZ(0,"label"),t._uU(1),t.qZA()),2&u){const d=t.oxw();
1t.xp6(1),t.AsE("",d.currentIndex+1," / ",d.items.length,"")}}function _(u,A){if(1&u){const d=t.EpF();t.TgZ(0,"button",22),t.NdJ("click",function(x){return t.CHM(d),t.oxw().setIndex(1),t.KtG(x.stopPropagation())}),t.ALo(1,"translate"),t._UZ(2,"i",21),t.qZA()}if(2&u){const d=t.oxw();t.s9C("title",t.lcZ(1,2,"Next")),t.Q6J("disabled",d.currentIndex===d.items.length-1)}}function p(u,A){if(1&u&&(t._UZ(0,"img",23),t.ALo(1,"fileUrl")),2&u){const d=t.oxw();t.Q6J("src",t.xi3(1,1,d.items[d.currentIndex].imagePath,d.folder),t.LSH)}}let f=(()=>{var u;class A{constructor(T){(0,i.Z)(this,"ui",void 0),(0,i.Z)(this,"currentIndex",0),(0,i.Z)(this,"items",[]),(0,i.Z)(this,"folder",void 0),(0,i.Z)(this,"previewEnabled",!1),this.ui=T}setIndex(T){this.currentIndex=this.ui.setIndex(this.currentIndex,T,this.items.length)}}return u=A,(0,i.Z)(A,"\u0275fac",function(T){return new(T||u)(t.Y36(s.Fz))}),(0,i.Z)(A,"\u0275cmp",t.Xpm({type:u,selectors:[["app-image-slider"]],inputs:{items:"items",folder:"folder",previewEnabled:"previewEnabled"},decls:9,vars:5,consts:[["class","carousel carousel-full no-opacity",4,"ngIf"],["header","Preview","position","center","dismissible","yes","width","100em"],["previewModal",""],[1,"header-content","flex","content-center","items-center","gap-1"],["class","btn",3,"disabled","title","click",4,"ngIf"],[4,"ngIf"],[1,"modal-body","p-0","flex","content-center","items-center",2,"background","#00000014","min-height","30vh"],["style","max-width: 100%; max-height: 88vh; width: auto; height: auto; object-fit: contain; display: block; margin: auto;","alt","",3,"src",4,"ngIf"],[1,"carousel","carousel-full","no-opacity"],[4,"ngFor","ngForOf"],[1,"flex","buttons","space-between","items-center","position-absolute","bottom-0","w-fill","ps-1","pe-1","pb-1"],["class","btn-slider-action",3,"title","click",4,"ngIf"],["class","flex align-center gap-sm slider-nav ms-auto",3,"click",4,"ngIf"],["class","mt-1 mb-1",3,"src","scale-removecorner","cursor-pointer","click",4,"ngIf"],[1,"mt-1","mb-1",3,"src","click"],[1,"btn-slider-action",3,"title","click"],[1,"ft-image"],[1,"flex","align-center","gap-sm","slider-nav","ms-auto",3,"click"],[1,"btn-slider-nav",3,"disabled","title","click"],[1,"ft-chevron-prev"],[1,"slider-counter"],[1,"ft-chevron-next"],[1,"btn",3,"disabled","title","click"],["alt","",2,"max-width","100%","max-height","88vh","width","auto","height","auto","object-fit","contain","display","block","margin","auto",3,"src"]],template:function(T,x){1&T&&(t.YNc(0,I,5,3,"div",0),t.TgZ(1,"wq-modal",1,2)(3,"div",3),t.YNc(4,r,3,4,"button",4),t.YNc(5,m,2,2,"label",5),t.YNc(6,_,3,4,"button",4),t.qZA(),t.TgZ(7,"div",6),t.YNc(8,p,2,4,"img",7),t.qZA()()),2&T&&(t.Q6J("ngIf",null==x.items?null:x.items.length),t.xp6(4),t.Q6J("ngIf",x.items.length>1),t.xp6(1),t.Q6J("ngIf",x.items.length>1),t.xp6(1),t.Q6J("ngIf",x.items.length>1),t.xp6(2),t.Q6J("ngIf",null==x.items?null:x.items.length))},dependencies:[v.sg,v.O5,s.zS,C.X$,s.OR],encapsulation:2})),A})()},7480:(E,O,l)=>{l.d(O,{$:()=>ht});var i=l(1180),t=l(5879),s=l(4391),v=l(2623),C=l(6814),w=l(6668),L=l(2848),b=l(3999);function M(o,c){if(1&o&&(t.O4$(),t.kcU(),t.TgZ(0,"div",5),t._uU(1),t.ALo(2,"number"),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Oqu(t.lcZ(2,1,e.cart.total))}}const I=function(){return["/cart"]};function r(o,c){if(1&o&&(t.TgZ(0,"a",1),t.ALo(1,"translate"),t.O4$(),t.TgZ(2,"svg",2),t._UZ(3,"path",3),t.qZA(),t.YNc(4,M,3,3,"div",4),t.qZA()),2&o){const e=t.oxw();t.s9C("title",t.lcZ(1,3,"Charity cart")),t.Q6J("routerLink",t.DdM(5,I)),t.xp6(4),t.Q6J("ngIf",e.cart.total>0)}}let m=(()=>{var o;class c{constructor(a){(0,i.Z)(this,"cart",void 0),this.cart=a}}return o=c,(0,i.Z)(c,"\u0275fac",function(a){return new(a||o)(t.Y36(v.N))}),(0,i.Z)(c,"\u0275cmp",t.Xpm({type:o,selectors:[["app-cart-button"]],decls:1,vars:1,consts:[["id","cart-button","class","menu-link cart-button position-relative fill-height","routerLinkActive","active","style","color:red",3,"routerLink","title",4,"ngIf"],["id","cart-button","routerLinkActive","active",1,"menu-link","cart-button","position-relative","fill-height",2,"color","red",3,"routerLink","title"],["viewBox","0 0 122.9 107.5",2,"width","1.5em","height","1.5em"],["fill","currentColor","d","M3.9,7.9C1.8,7.9,0,6.1,0,3.9C0,1.8,1.8,0,3.9,0h10.2c0.1,0,0.3,0,0.4,0c3.6,0.1,6.8,0.8,9.5,2.5c3,1.9,5.2,4.8,6.4,9.1 c0,0.1,0,0.2,0.1,0.3l1,4H119c2.2,0,3.9,1.8,3.9,3.9c0,0.4-0.1,0.8-0.2,1.2l-10.2,41.1c-0.4,1.8-2,3-3.8,3v0H44.7 c1.4,5.2,2.8,8,4.7,9.3c2.3,1.5,6.3,1.6,13,1.5h0.1v0h45.2c2.2,0,3.9,1.8,3.9,3.9c0,2.2-1.8,3.9-3.9,3.9H62.5v0 c-8.3,0.1-13.4-0.1-17.5-2.8c-4.2-2.8-6.4-7.6-8.6-16.3l0,0L23,13.9c0-0.1,0-0.1-0.1-0.2c-0.6-2.2-1.6-3.7-3-4.5 c-1.4-0.9-3.3-1.3-5.5-1.3c-0.1,0-0.2,0-0.3,0H3.9L3.9,7.9z M96,88.3c5.3,0,9.6,4.3,9.6,9.6c0,5.3-4.3,9.6-9.6,9.6 c-5.3,0-9.6-4.3-9.6-9.6C86.4,92.6,90.7,88.3,96,88.3L96,88.3z M53.9,88.3c5.3,0,9.6,4.3,9.6,9.6c0,5.3-4.3,9.6-9.6,9.6 c-5.3,0-9.6-4.3-9.6-9.6C44.3,92.6,48.6,88.3,53.9,88.3L53.9,88.3z M33.7,23.7l8.9,33.5h63.1l8.3-33.5H33.7L33.7,23.7z"],["class","badge badge-danger badge-cart",4,"ngIf"],[1,"badge","badge-danger","badge-cart"]],template:function(a,n){1&a&&t.YNc(0,r,5,6,"a",0),2&a&&t.Q6J("ngIf",!n.cart.giftId)},dependencies:[C.O5,w.rH,w.Od,C.JJ,b.X$],encapsulation:2})),c})();function _(o,c){if(1&o&&(t.O4$(),t.kcU(),t.TgZ(0,"div",10),t._uU(1),t.qZA()),2&o){const e=t.oxw();
1t.xp6(1),t.Oqu(e.cart.total)}}const p=function(){return["/gift"]};function f(o,c){1&o&&(t.TgZ(0,"div",11)(1,"h3",12),t._uU(2,"\u0623\u0631\u0633\u0644 \u0647\u062f\u064a\u0629"),t.qZA(),t.TgZ(3,"p",13),t._uU(4,"\u062d\u062b \u0627\u0644\u0646\u0628\u064a - \u0635\u0644\u0649 \u0627\u0644\u0644\u0647 \u0639\u0644\u064a\u0647 \u0648\u0633\u0644\u0645 - \u0639\u0644\u0649 \u0627\u0644\u0647\u062f\u064a\u0629 \u0648\u0642\u0628\u0644\u0647\u0627\u060c \u0648\u0644\u0627 \u0623\u062c\u0645\u0644 \u0645\u0646 \u0623\u0646 \u062a\u0647\u062f\u064a \u0644\u0645\u0646 \u062a\u062d\u0628 \u0635\u062f\u0642\u0629 \u062c\u0627\u0631\u064a\u0629 \u0644\u0627 \u064a\u0646\u0642\u0637\u0639 \u0623\u062c\u0631\u0647\u0627"),t.qZA(),t.TgZ(5,"a",14),t._uU(6,"\u0623\u0631\u0633\u0644 \u0647\u062f\u064a\u062a\u0643 \u0644\u0645\u0646 \u062a\u062d\u0628"),t._UZ(7,"i",15),t.qZA()()),2&o&&(t.xp6(5),t.Q6J("routerLink",t.DdM(1,p)))}const u=function(){return["/waqf"]},A=function(){return{action:"gift"}};function d(o,c){1&o&&(t.TgZ(0,"div",11)(1,"p",16),t._uU(2,"\u0644\u0644\u0645\u062a\u0627\u0628\u0639\u0629\u060c \u0627\u062e\u062a\u0631 \u0637\u0631\u064a\u0642\u0629 \u0627\u0644\u0648\u0642\u0641\u060c \u0648\u0642\u0645 \u0628\u0625\u0636\u0627\u0641\u0629 \u0648\u0642\u0641\u064a\u0627\u062a \u0625\u0644\u0649 \u0647\u062f\u064a\u062a\u0643"),t.qZA(),t.TgZ(3,"a",17),t._uU(4,"\u0627\u062e\u062a\u0631 \u0637\u0631\u064a\u0642\u0629 \u0627\u0644\u0648\u0642\u0641"),t.qZA()()),2&o&&(t.xp6(3),t.Q6J("routerLink",t.DdM(2,u))("queryParams",t.DdM(3,A)))}const T=function(){return["/atm"]},x=function(){return["/cart"]};function k(o,c){1&o&&(t.TgZ(0,"div",18)(1,"a",19),t._uU(2,"\u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0645\u0632\u064a\u062f \u0645\u0646 \u0627\u0644\u0648\u0642\u0641\u064a\u0627\u062a"),t.qZA(),t.TgZ(3,"a",20),t._uU(4,"\u0627\u0644\u0645\u062a\u0627\u0628\u0639\u0629 \u0648\u0627\u0644\u062f\u0641\u0639"),t.qZA()()),2&o&&(t.xp6(1),t.Q6J("routerLink",t.DdM(2,T)),t.xp6(2),t.Q6J("routerLink",t.DdM(3,x)))}let P=(()=>{var o;class c{constructor(a){(0,i.Z)(this,"cart",void 0),this.cart=a}ngOnInit(){}}return o=c,(0,i.Z)(c,"\u0275fac",function(a){return new(a||o)(t.Y36(v.N))}),(0,i.Z)(c,"\u0275cmp",t.Xpm({type:o,selectors:[["app-gift-button"]],decls:12,vars:9,consts:[["data-dropdown","",1,"dropdown","fill-height"],["id","gift-button","data-dropdown-button","",1,"dropdown-toggle","menu-link","cart-button","position-relative","fill-height","color-5",3,"title"],["viewBox","0 0 490 490",2,"width","1.5em","height","1.5em"],["fill","currentColor","d","M475,100.031h-65.792c10.483-15.805,13.518-34.99,8.297-53.228c-0.278-0.975-1.567-4.819-1.94-5.79 C408.268,22.11,392.826,8.083,373.2,2.529c-20.051-5.676-41.06-1.695-57.633,10.923L245,67.179l-70.567-53.727 c-16.572-12.617-37.577-16.6-57.634-10.923C97.173,8.084,81.732,22.11,74.438,41.01c-0.362,0.937-1.663,4.815-1.94,5.785 c-5.223,18.245-2.189,37.43,8.294,53.236H15c-8.284,0-15,6.715-15,14.999V235.02c0,8.284,6.716,14.999,15,14.999h15v224.982 C30,483.285,36.716,490,45,490h400c8.284,0,15-6.715,15-14.999V250.019h15c8.284,0,15-6.715,15-14.999V115.029 C490,106.746,483.284,100.031,475,100.031z M260,93.463l73.741-56.144c8.994-6.848,20.398-9.01,31.289-5.926 c10.462,2.961,18.68,10.404,22.541,20.408c0.204,0.53,0.934,2.703,1.09,3.25c2.974,10.386,0.892,21.387-5.711,30.18 c-6.823,9.087-17.188,14.325-28.437,14.368c-1.215,0.005-9.514,0.432-9.514,0.432h-85V93.463z M260,162.286l40.757,57.735H260 V162.286z M101.338,55.052c0.156-0.545,0.881-2.708,1.086-3.238c3.866-10.017,12.084-17.46,22.545-20.421 c10.89-3.083,22.294-0.922,31.289,5.926L230,93.463v6.568h-85c0,0-8.298-0.427-9.514-0.432 c-11.248-0.044-21.612-5.281-28.436-14.368C100.447,76.437,98.365,65.437,101.338,55.052z M30,220.021v-89.993h200v89.993H30z M430,460.002H60V250.019h170v104.992c0,8.284,6.716,14.999,15,14.999s15-6.715,15-14.999V250.019h61.934l30.812,43.647 c4.779,6.768,14.14,8.38,20.905,3.604c6.768-4.777,8.382-14.136,3.604-20.903l-18.601-26.348H430V460.002z M460,220.021H337.479 l-63.529-89.993H460V220.021z"],["class","badge badge-danger",4,"ngIf"],[1,"dropdown-menu","end","p-2",2,"min-width","min(20em, 80vw)"],[1,"flex","items-center","p-2","pb-1"],["src","https://islam.gov.qa/cdn/img/awqaf/services/donatenow.png",1,"m-0-auto",2,"width","4em","outline","4px s
1olid var(--color-1)","outline-offset","4px","border-radius","50%"],["class","flex-col gap-2 p-1",4,"ngIf"],["class","flex-col gap-1 p-1",4,"ngIf"],[1,"badge","badge-danger"],[1,"flex-col","gap-2","p-1"],[1,"fw-600","text-center","m-0"],[1,"text-center","color-text"],[1,"btn","btn-primary","btn-next",3,"routerLink"],[1,"ft-arrow-next"],[1,"text-center"],[1,"btn","btn-primary-light",3,"routerLink","queryParams"],[1,"flex-col","gap-1","p-1"],[1,"btn","btn-primary-light",3,"routerLink"],[1,"btn","btn-primary",3,"routerLink"]],template:function(a,n){1&a&&(t.TgZ(0,"div",0)(1,"button",1),t.ALo(2,"translate"),t.O4$(),t.TgZ(3,"svg",2),t._UZ(4,"path",3),t.qZA(),t.YNc(5,_,2,1,"div",4),t.qZA(),t.kcU(),t.TgZ(6,"div",5)(7,"div",6),t._UZ(8,"img",7),t.qZA(),t.YNc(9,f,8,2,"div",8),t.YNc(10,d,5,4,"div",8),t.YNc(11,k,5,4,"div",9),t.qZA()()),2&a&&(t.xp6(1),t.ekj("gift-active",n.cart.giftId),t.s9C("title",t.lcZ(2,7,"Send gift")),t.xp6(4),t.Q6J("ngIf",n.cart.giftId&&n.cart.total>0),t.xp6(4),t.Q6J("ngIf",!n.cart.giftId),t.xp6(1),t.Q6J("ngIf",n.cart.giftId&&0==n.cart.total),t.xp6(1),t.Q6J("ngIf",n.cart.giftId&&n.cart.total>0))},dependencies:[C.O5,w.rH,b.X$],encapsulation:2})),c})();var H=l(4458);const J=function(o){return[o]};function h(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"a",44),t.NdJ("click",function(){t.CHM(e);const n=t.oxw();return t.KtG(n.layout.toggleDrawer())}),t._UZ(1,"img",45),t.TgZ(2,"label"),t._uU(3),t.ALo(4,"translate"),t.qZA()()}if(2&o){const e=c.$implicit;t.Q6J("routerLink",t.VKq(5,J,e.route)),t.xp6(1),t.MGl("src","https://islam.gov.qa/cdn/img/awqaf/services/",e.img,"",t.LSH),t.xp6(2),t.Oqu(t.lcZ(4,3,e.title))}}function q(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"a",44),t.NdJ("click",function(){t.CHM(e);const n=t.oxw(2);return t.KtG(n.layout.toggleDrawer())}),t._UZ(1,"img",45),t.TgZ(2,"label"),t._uU(3),t.ALo(4,"translate"),t.qZA()()}if(2&o){const e=t.oxw().$implicit;t.Q6J("routerLink",t.VKq(5,J,e.url)),t.xp6(1),t.MGl("src","https://islam.gov.qa/cdn/img/awqaf/services/",e.img,"",t.LSH),t.xp6(2),t.Oqu(t.lcZ(4,3,e.title))}}function g(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"a",48),t.NdJ("click",function(){t.CHM(e);const n=t.oxw(2);return t.KtG(n.layout.toggleDrawer())}),t._UZ(1,"img",45),t.TgZ(2,"label"),t._uU(3),t.ALo(4,"translate"),t.qZA()()}if(2&o){const e=t.oxw().$implicit;t.Q6J("href",e.url,t.LSH),t.xp6(1),t.MGl("src","https://islam.gov.qa/cdn/img/awqaf/services/",e.img,"",t.LSH),t.xp6(2),t.Oqu(t.lcZ(4,3,e.title))}}function U(o,c){if(1&o&&(t.ynx(0),t.YNc(1,q,5,7,"a",46),t.YNc(2,g,5,5,"a",47),t.BQk()),2&o){const e=c.$implicit;t.xp6(1),t.Q6J("ngIf",!e.external),t.xp6(1),t.Q6J("ngIf",e.external)}}function y(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"a",48),t.NdJ("click",function(){t.CHM(e);const n=t.oxw();return t.KtG(n.layout.toggleDrawer())}),t._UZ(1,"img",45),t.TgZ(2,"label"),t._uU(3),t.ALo(4,"translate"),t.qZA()()}if(2&o){const e=c.$implicit;t.Q6J("href",e.url,t.LSH),t.xp6(1),t.Udp("width",e.external?null:"auto"),t.Q6J("src",e.external?"https://islam.gov.qa/cdn/img/awqaf/services/"+e.img:"assets/img/drawer/"+e.img,t.LSH),t.xp6(2),t.Oqu(t.lcZ(4,5,e.title))}}const N=function(){return["/"]};let F=(()=>{var o;class c{onWindowScroll(){const a=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;this.scroll=a>60}constructor(a,n){(0,i.Z)(this,"data",void 0),(0,i.Z)(this,"layout",void 0),(0,i.Z)(this,"scroll",!1),(0,i.Z)(this,"css",""),(0,i.Z)(this,"items",[{title:"Waqf procedures",url:"/procedures",external:!1,img:"4.png"},{title:"Al-Masaref Al-Waqfiya",url:"/masaref",external:!1,img:"masaref.png"},{title:"News",url:"/news",external:!1,img:"news.png"},{title:"About us",url:"/about",external:!1,img:"about.png"},{title:"Contact us",url:"/contact",external:!1,img:"whatsapp.png"},{title:"Suggestions and complaints",url:"/feedback",external:!1,img:"10.png"},{title:"Employee portal",url:"https://outlook.office365.com/",external:!0,img:"portal.png"},{title:"Majales",url:"/majales",external:!1,img:"11.png"},{title:"review",url:"/review",external:!1,img:"rating.png"},{title:"Settings",url:"/settings",external:!1,img:"settings.png"}]),(0,i.Z)(this,"apps",[{title:"Official Website",url:"https://awqaf.gov.qa",external:!0,img:"masaref.png"},{title:"Little Muhadeth",url:"https://islam.gov.qa/muhadeth",external:!0,img:"muhadeth.png"},{title:"Waqf & Picture",url:"https://awqaf.gov.qa/wp",external:!0,img:"wp.png"}
1,{title:"Awqaf Journal",url:"https://awqaf.gov.qa/jour",external:!0,img:"journal.png"},{title:"Research Award",url:"https://awqaf.gov.qa/eslah",external:!0,img:"eslah.png"},{title:"Supplier Portal",url:"https://islam.gov.qa/isupp/",external:!1,img:"isupp.png"},{title:"kshaf waqf",url:"https://kshaf.awqaf.gov.qa/",external:!1,img:"kashaf-al-waqf.png"}]),this.data=a,this.layout=n}ngOnInit(){}scrollTop(){window.scroll({top:0,left:0,behavior:"smooth"})}}return o=c,(0,i.Z)(c,"\u0275fac",function(a){return new(a||o)(t.Y36(L.D),t.Y36(s.Pb))}),(0,i.Z)(c,"\u0275cmp",t.Xpm({type:o,selectors:[["app-header"]],hostBindings:function(a,n){1&a&&t.NdJ("scroll",function(){return n.onWindowScroll()},!1,t.Jf7)},inputs:{css:"css"},decls:72,vars:51,consts:[[1,"menubar"],[1,"container","flex"],[1,"menu-link","flex","gap-1",3,"title","click"],[1,"menu-icon"],["viewBox","0 0 30.7 19.39",2,"width","3em","height","1.75em"],["fill","currentColor","d","m6.94,1.45c.39,0,.7-.33.7-.73s-.31-.73-.7-.73-.7.33-.7.73.31.73.7.73Zm11.89,0c.39,0,.7-.33.7-.73s-.31-.73-.7-.73-.7.33-.7.73.31.73.7.73Zm1.83,0c.39,0,.7-.33.7-.73s-.31-.73-.7-.73-.7.33-.7.73.31.73.7.73Zm-7.25,7.85h0s9.46,0,9.46,0v-4.41s0-.01,0-.02c0-.94-.24-1.64-.72-2.13-.48-.48-1.06-.72-1.75-.72h-2.53v2.53s0,.05,0,.08c0,.88.22,1.58.65,2.1.43.52,1.01.78,1.74.78h0s1.66,0,1.66,0v.96h-8.52c-.49-.03-.85-.22-1.08-.59-.25-.4-.38-.9-.38-1.49,0-.01,0-.02,0-.03v-.52h0V0h-.93v6.34s0,.05,0,.08c0,.88.22,1.58.65,2.1.43.52,1.01.78,1.74.78Zm6.86-2.6h0c-.49-.03-.85-.22-1.08-.59-.25-.4-.38-.9-.38-1.49v-1.77h1.59s0,0,.02,0h0c.6.01,1.02.27,1.27.77.16.32.24.74.24,1.26h0v1.83h-1.
166Zm8.6-1.81v-.02c0-.94-.24-1.64-.72-2.13-.48-.48-1.06-.72-1.75-.72h-2.53v2.53s0,.05,0,.08c0,.88.22,1.58.65,2.1.43.52,1.01.78,1.74.78h0s1.66,0,1.66,0v.96h-4.06v.82h5v-4.41Zm-.94-.02v1.83h-1.66c-.49-.03-.85-.22-1.08-.59-.25-.4-.38-.9-.38-1.49,0-.01,0-.02,0-.03v-1.74h1.59s.01,0,.02,0h0c.6.01,1.02.27,1.27.77.16.32.24.74.24,1.26h0Zm-1.51,7.96c-.48.48-.72,1.19-.72,2.13,0,0,0,.01,0,.02v1.13h0v1.85s0,.06,0,.1c0,0,0,.01,0,.02v1.13h0v.2h.93v-.2h0v-1.14h0c0-.51.08-.93.24-1.26.25-.5.67-.76,1.27-.77h0s.01,0,.02,0h0s2.53,0,2.53,0v-.82h-2.53c-.59,0-1.1.18-1.53.52v-.76h0c0-.51.08-.93.24-1.26.25-.5.67-.76,1.27-.77h0s0,0,0,0c0,0,.01,0,.02,0h0s2.53,0,2.53,0v-.82h-2.53c-.69,0-1.28.24-1.75.72Zm-4.19-.72h-2.53v2.53s0,.05,0,.08c0,.03,0,.07,0,.1v4.56h.94v-2.28c.39.33.88.49,1.46.5h1.66v1.78h.94v-4.43c0-.94-.24-1.64-.72-2.13-.48-.48-1.06-.72-1.75-.72Zm1.53,2.85v1.83h-1.66c-.49-.03-.85-.22-1.08-.59-.25-.39-.37-.89-.37-1.48v-1.78h1.59s.01,0,.02,0h0c.6.01,1.02.27,1.27.77.16.32.24.74.24,1.26h0ZM29.77,0v9.3h.94V0h-.94ZM12.48,12.47h-.94v3.47h0v.55c0,.6-.12,1.09-.38,1.49-.23.37-.59.57-1.08.59h0s-.42,0-.42,0v-5.07h-.94v5.07h-.47c-.49-.03-.85-.22-1.08-.59-.25-.4-.38-.9-.38-1.49,0-.01,0-.02,0-.03v-.52h0v-3.47h-.93v3.96s0,.05,0,.08c0,.88.22,1.58.65,2.1.43.52,1.01.78,1.74.78h1.82c.73,0,1.31-.27,1.74-.78.43-.52.65-1.22.65-2.1,0-.03,0-.05,0-.08v-3.96Zm-9.95-.36H0v2.53s0,.05,0,.08c0,.03,0,.07,0,.1v4.56h.94v-2.28c.39.33.88.49,1.46.5h1.66v1.78h.94v-4.42s0-.01,0-.02c0-.94-.24-1.64-.72-2.13-.48-.48-1.06-.72-1.75-.72Zm1.53,2.85v1.83h-1.66c-.49-.03-.85-.22-1.08-.59-.25-.39-.37-.89-.37-1.48v-1.79h1.59s.01,0,.02,0h0c.6.01,1.02.27,1.27.77.16.32.24.74.24,1.26h0Zm14.31.02s0-.01,0-.02c0-.94-.24-1.64-.72-2.13-.48-.48-1.06-.72-1.75-.72h-2.53v4.31s0,.05,0,.08c0,.88.22,1.58.65,2.1.43.52,1.01.78,1.74.78h3.28v-.82h-.68v-3.59Zm-.94-.02v3.61h-1.66c-.49-.03-.85-.22-1.08-.59-.25-.4-.37-.9-.37-1.49v-3.55h1.59s.01,0,.02,0h0c.6.01,1.02.27,1.27.77.16.32.24.74.24,1.26h0ZM2.41,9.3h0s7.63,0,7.63,0v-4.41s0-.01,0-.02c0-.94-.24-1.64-.72-2.13-.48-.48-1.06-.72-1.75-.72h-2.53v2.53s0,.05,0,.08c0,.88.22,1.58.65,2.1.43.52,1.01.78,1.74.78h0s1.66,0,1.66,0v.96H2.41c-.49-.03-.85-.22-1.08-.59-.25-.4-.38-.9-.38-1.49,0-.01,0-.02,0-.03v-.52h0v-3.47H.02v3.96s0,.05,0,.08c0,.88.22,1.58.65,2.1.43.52,1.01.78,1.74.78Zm5.03-2.6h0c-.49-.03-.85-.22-1.08-.59-.25-.4-.38-.9-.38-1.49v-1.77h1.59s.01,0,.02,0h0c.6.01,1.02.27,1.27.77.16.32.24.74.24,1.26h0v1.83h-1.
166ZM29.57.87h-1.01v-.07c0-.14.02-.26.07-.35.07-.14.19-.21.36-.22h.33v-.23h-.32c-.19,0-.36.07-.49.2-.13.14-.2.33-.2.6v.07h-.4v.23h1.67v-.23Z"],[1,"logos","flex","gap-2","align-center",3,"click"],["src","assets/img/logos/ministry/logo.png","alt","Ministry Logo",1,"m-flex",2,"height","clamp(3em, 10vw, 3em)"],["alt","Ministry Logo",1,"d-flex",2,"height","clamp(3em, 10vw, 3em)",3,"src"],["src","assets/img/logos/awqaf.png","alt","Awqaf Logo",2,"height","clamp(3em, 10vw, 3em)"],[1,"ms-auto"],["routerLinkActive","active",1,"menu-link","d-flex",3,"routerLink","title","click"],["fill","currentColor","viewBox","0 0 32 32",2,"width","1.5em"],["d","M31.772 16.043l-15.012-15.724c-0.189-0.197-0.449-0.307-0.721-0.307s-0.533 0.111-0.722 0.307l-15.089 15.724c-0.383 0.398-0.369 1.031 0.029 1.414 0.399 0.382 1.031 0.371 1.414-0.029l1.344-1.401v14.963c0 0.552 0.448 1 1 1h6.986c0.551 0 0.998-0.445 1-0.997l0.031-9.989h7.969v9.986c0 0.552 0.448 1 1 1h6.983c0.552 0 1-0.448 1-1v-14.968l1.343 1.407c0.197 0.204 0.459 0.308 0.722 0.308 0.249 0 0.499-0.092 0.692-0.279 0.398-0.382 0.411-1.015 0.029-1.413zM26.985 14.213v15.776h-4.983v-9.986c0-0.552-0.448-1-1-1h-9.965c-0.551 0-0.998 0.445-1 0.997l-0.031 9.989h-4.989v-15.777c0-0.082-0.013-0.162-0.032-0.239l11.055-11.52 10.982 11.507c-0.021 0.081-0.036 0.165-0.036 0.252z"],[3,"click"],["href","https://twitter.com/waqfqa","target","_blank",1,"menu-link","d-flex",3,"title"],["viewBox","0 0 1200 1227","fill","currentColor",2,"--width-button-icon","1.25em"],["d","M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284h.026ZM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026Z"],["href","https://facebook.com/waqfqa","target","_blank",1,"menu-link","d-flex",3,"title"],["viewBox","0 0 15 15","fill","none",2,"width","1.5em"],["d","M7.5 14.5C3.63401 14.5 0.5 11.366 0.5 7.5C0.5 3.63401 3.63401 0.5 7.5 0.5C11.366 0.5 14.5 3.63401 14.5 7.5C14.5 11.366 11.366 14.5 7.5 14.5ZM7.5 14.5V6.5C7.5 5.39543 8.39543 4.5 9.5 4.5H10M5 8.5H10","stroke","currentColor"],["href","https://instagram.com/waqfqa","target","_blank",1,"menu-link","d-flex",3,"title"],["d","M11 3.5H12M4.5 0.5H10.5C12.7091 0.5 14.5 2.29086 14.5 4.5V10.5C14.5 12.7091 12.7091 14.5 10.5 14.5H4.5C2.29086 14.5 0.5 12.7091 0.5 10.5V4.5C0.5 2.29086 2.29086 0.5 4.5 0.5ZM7.5 10.5C5.84315 10.5 4.5 9.15685 4.5 7.5C4.5 5.84315 5.84315 4.5 7.5 4.5C9.15685 4.5 10.5 5.84315 10.5 7.5C10.5 9.15685 9.15685 10.5 7.5 10.5Z","stroke","currentColor"],["href","https://youtube.com/@waqfqa","target","_blank",1,"menu-link","d-flex",3,"title"],["d","M1.61087 12.738L1.5061 13.2269H1.5061L1.61087 12.738ZM13.3891 12.738L13.4939 13.2269L13.3891 12.738ZM13.3891 2.26196L13.4939 1.77306V1.77306L13.3891 2.26196ZM1.61087 2.26196L1.71563 2.75086L1.61087 2.26196ZM6.5 5.5L6.77735 5.08398C6.62392 4.98169 6.42665 4.97215 6.26407 5.05916C6.10149 5.14617 6 5.3156 6 5.5H6.5ZM6.5 9.5H6C6 9.6844 6.10149 9.85383 6.26407 9.94084C6.42665 10.0278 6.62392 10.0183 6.77735 9.91603L6.5 9.5ZM9.5 7.5L9.77735 7.91603C9.91645 7.82329 10 7.66718 10 7.5C10 7.33282 9.91645 7.17671 9.77735 7.08398L9.5 7.5ZM0 3.63609V11.3639H1V3.63609H0ZM15 11.3639V3.63609H14V11.3639H15ZM1.5061 13.2269C5.45719 14.0736 9.54281 14.0736 13.4939 13.2269L13.2844 12.2491C9.4714 13.0662 5.5286 13.0662 1.71563 12.2491L1.5061 13.2269ZM13.4939 1.77306C9.54281 0.926396 5.45719 0.926396 1.5061 1.77306L1.71563 2.75086C5.5286 1.9338 9.4714 1.9338 13.2844 2.75086L13.4939 1.77306ZM15 3.63609C15 2.73766 14.3724 1.9613 13.4939 1.77306L13.2844 2.75086C13.7018 2.84031 14 3.20919 14 3.63609H15ZM14 11.3639C14 11.7908 13.7018 12.1597 13.2844 12.2491L13.4939 13.2269C14.3724 13.0387 15 12.2623 15 11.3639H14ZM0 11.3639C0 12.2623 0.627614 13.0387 1.5061 13.2269L1.71563 12.2491C1.29821 12.1597 1 11.7908 1 11.3639H0ZM1 3.63609C1 3.20919 1.29821 2.84031 1.71563 2.75086L1.5061 1.77306C0.627614 1.9613 0 2.73766 0 3.63609H1ZM6 5.5V9.5H7V5.5H6ZM6.77735 9.91603L9.77735 7.91603L9.22265 7.08398L6.22265 9.08398L6.77735 9.91603ZM9.77735 7.08398L6.77735 5.08398L6.22265 5.91603L9.22265 7.91603L9.77735 7.08398Z","fill","currentColor"],[1,"drawer","flex","no-print"],[1,"overlay",3,"click"],[1,"content","p-2","pt-8","pb-4"],[1,"container","pt-2","pb-2"],[1,"flex","flex-wrap","space-between","align-center"],["src","assets/img/logos/awqaf.png",1,"logo",2,"width","6em"],[1,"scroll"],[1,"fg-1","flex-col","gap-1"],[1,"text-center"],[1,"flex","flex-wrap","justify-center","gap-1"],["class","link flex gap-1 align-center p-1 color-5 hover-color",3,"routerLink","click",4,"ngFor","ngForOf"],["href","https://awqaf.gov.qa/supporter/","target","_blank",1,"link","flex","gap-1","align-center","p-1","color-5","hover-color",3,"click"],["src","https://islam.gov.qa/cdn/img/awqaf/services/wsupport.png",1,"bright"],[1,"text-center","border-top","pt-2","mt-2"],[4,"ngFor","ngForOf"],[1,"flex","flex-wrap","justify-center","gap-1","pb-3"],["class","link flex gap-1 align-center p-1 color-5 hover-color","target","_blank",3,"href","click",4,"ngFor","ngForOf"],[1,"flex-col","align-center","gap-1"],[1,"btn","notches","flex","justify-center","p-2","gap-0","cursor-pointer",3,"title","click"],[1,"link","flex","gap-1","align-center","p-1","color-5","hover-color",3,"routerLink","click"],[1,"bright",3,"src"],["class","link flex gap-1 align-center p-1 color-5 hover-color",3,"routerLink","click",4,"ngIf"],["class","link flex gap-1 align-center p-1 color-5 hover-color","target","_blank",3,"href","click",4,"ngIf"],["target","_blank",1,"link","flex","gap-1","align-center","p-1","color-5","hover-color",3,"href","click"]],template:function(a,n){1&a&&(t.TgZ(0,"div",0)(1,"div",1)(2,"button",2),t.NdJ("click",function(){return n.layout.toggleDrawer()}),t.ALo(3,"translate"),t.TgZ(4,"div",3),t._UZ(5,"span")(6,"span")(7,"span"),t.qZA(),t.O4$(),t.TgZ(8,"svg",4),t._UZ(9,"path",5),t.qZA()(),t.kcU(),t.TgZ(10,"div",6),t.NdJ("click",function(){return n.scrollTop()}),t._UZ(11,"img",7)(12,"img",8)(13,"img",9),t.qZA(),t._UZ(14,"span",10),t.TgZ(15,"a",11),t.NdJ("click",function(){return n.layout.toggleDrawer(!1)}),t.ALo(16,"translate"),t.O4$(),t.TgZ(17,"svg",12),t._UZ(18,"path",13),t.qZA()(),t.kcU(),t.TgZ(19,"app-gift-button",14),t.NdJ("click",function(){return n.layout.toggleDrawer(!1)}),t.qZA(),t.TgZ(20,"app-cart-button",14),t.NdJ("click",function(){return n.layout.toggleDrawer(!1)}),t.qZA(),t.TgZ(21,"a",15),t.ALo(22,"translate"),t.O4$(),t.TgZ(23,"svg",16),t._UZ(24,"path",17),t.qZA()(),t.kcU(),t.TgZ(25,"a",18),t.ALo(26,"translate"),t.O4$(),t.TgZ(27,"svg",19),t._UZ(28,"path",20),t.qZA()(),t.kcU(),t.TgZ(29,"a",21),t.ALo(30,"translate"),t.O4$(),t.TgZ(31,"svg",19),t._UZ(32,"path",22),t.qZA()(),t.kcU(),t.TgZ(33,"a",23),t.ALo(34,"translate"),t.O4$(),t.TgZ(35,"svg",19),t._UZ(36,"path",24),t.qZA()()()(),t.kcU(),t.TgZ(37,"div",25)(38,"div",26),t.NdJ("click",function(){return n.layout.toggleDrawer()}),t.qZA(),t.TgZ(39,"div",27)(40,"div",28)(41,"div",29),t._UZ(42,"img",30)(43,"app-accessiblity-bar"),t.qZA()(),t.TgZ(44,"div",31)(45,"div",32),t._UZ(46,"div"),t.TgZ(47,"h3",33),t._uU(48),t.ALo(49,"translate"),t.qZA(),t.TgZ(50,"div",34),t.YNc(51,h,5,7,"a",35),t.TgZ(52,"a",36),t.NdJ("click",function(){return n.layout.toggleDrawer()}),t._UZ(53,"img",37),t.TgZ(54,"label"),t._uU(55),t.ALo(56,"translate"),t.qZA()()(),t.TgZ(57,"h3",38),t._uU(58),t.ALo(59,"translate"),t.qZA(),t.TgZ(60,"div",34),t.YNc(61,U,3,2,"ng-container",39),t.qZA(),t.TgZ(62,"h3",38),t._uU(63),t.ALo(64,"translate"),t.qZA(),t.TgZ(65,"div",40),t.YNc(66,y,5,7,"a",41),t.qZA()(),t.TgZ(67,"div",42)(68,"button",43),t.NdJ("click",function(){return n.layout.toggleDrawer()}),t.ALo(69,"translate"),t._UZ(70,"span")(71,"span"),t.qZA()()()()()),2&a&&(t.ekj("scrolling",n.scroll)("expanded",n.layout.drawer)("transparent",n.layout.fulllayout),t.xp6(2),t.s9C("title",t.lcZ(3,28,"Our Services")),t.xp6(2),t.ekj("close",n.layout.drawer),t.xp6(8),t.MGl("src","assets/img/logos/ministry/",n.layout.theme,".png",t.LSH),t.xp6(3),t.s9C("title",t.lcZ(16,30,"Home")),t.Q6J("routerLink",t.DdM(50,N)),t.xp6(6),t.MGl("title","X (",t.lcZ(22,32,"Twitter"),")"),t.xp6(4),t.s9C("title",t.lcZ(26,34,"Facebook")),t.xp6(4),t.s9C("title",t.lcZ(30,36,"Instagram")),t.xp6(4),t.s9C("title",t.lcZ(34,38,"YouTube")),t.xp6(4),t.ekj("show",n.layout.drawer),t.xp6(1),t.ekj("show",n.layout.drawer),t.xp6(10),t.Oqu(t.lcZ(49,40,"Services")),t.xp6(3),t.Q6J("ngForOf",n.data.services),t.xp6(4),t.Oqu(t.lcZ(56,42,"Support system")),t.xp6(3),t.Oqu(t.lcZ(59,44,"More")),t.xp6(3),t.Q6J("ngForOf",n.items),t.xp6(2),t.Oqu(t.lcZ(64,46,"Our Websites")),t.xp6(3),t.Q6J("ngForOf",n.apps),t.xp6(2),t.s9C("title",t.lcZ(69,48,"Close")))},dependencies:[C.sg,C.O5,w.rH,w.Od,m,P,H.H,b.X$],encapsulation:2})),c})(),B=(()=>{var o;class c{constructor(a){(0,i.Z)(this,"layout",void 0),(0,i.Z)(this,"currentYear",(new Date).getFullYear()),this.layout=a}}return o=c,(0,i.Z)(c,"\u0275fac",function(a){return new(a||o)(t.Y36(s.Pb))}),(0,i.Z)(c,"\u0275cmp",t.Xpm({type:o,selectors:[["app-footer"]],decls:32,vars:17,consts:[["viewBox","0 0 1920 250","fill","none",2,"margin-bottom","-10px"],["d","M0 71L45.7 84.3C91.3 97.7 182.7 124.3 274.2 140C365.7 155.7 457.3 160.3 548.8 156C640.3 151.7 731.7 138.3 823 123.7C914.3 109 1005.7 93 1097 98.2C1188.3 103.3 1279.7 129.7 1371.2 140C1462.7 150.3 1554.3 144.7 1645.8 138.2C1737.3 131.7 1828.7 124.3 1874.3 120.7L1920 117L1920 301L1874.3 301C1828.7 301 1737.3 301 1645.8 301C1554.3 301 1462.7 301 1371.2 301C1279.7 301 1188.3 301 1097 301C1005.7 301 914.3 301 823 301C731.7 301 640.3 301 548.8 301C457.3 301 365.7 301 274.2 301C182.7 301 91.3 301 45.7 301L0 301Z","fill","var(--color-border)",2,"opacity",".1"],["d","M0 148L45.7 154.7C91.3 161.3 182.7 174.7 274.2 185.5C365.7 196.3 457.3 204.7 548.8 198.5C640.3 192.3 731.7 171.7 823 170.8C914.3 170 1005.7 189 1097 198.2C1188.3 207.3 1279.7 206.7 1371.2 206.5C14
162.7 206.3 1554.3 206.7 1645.8 200.3C1737.3 194 1828.7 181 1874.3 174.5L1920 168L1920 301L1874.3 301C1828.7 301 1737.3 301 1645.8 301C1554.3 301 1462.7 301 1371.2 301C1279.7 301 1188.3 301 1097 301C1005.7 301 914.3 301 823 301C731.7 301 640.3 301 548.8 301C457.3 301 365.7 301 274.2 301C182.7 301 91.3 301 45.7 301L0 301Z","fill","var(--color-border)",2,"opacity",".1"],["d","M0 214L45.7 219C91.3 224 182.7 234 274.2 237C365.7 240 457.3 236 548.8 238.3C640.3 240.7 731.7 249.3 823 246.8C914.3 244.3 1005.7 230.7 1097 225.7C1188.3 220.7 1279.7 224.3 1371.2 230.7C1462.7 237 1554.3 246 1645.8 248.5C1737.3 251 1828.7 247 1874.3 245L1920 243L1920 301L1874.3 301C1828.7 301 1737.3 301 1645.8 301C1554.3 301 1462.7 301 1371.2 301C1279.7 301 1188.3 301 1097 301C1005.7 301 914.3 301 823 301C731.7 301 640.3 301 548.8 301C457.3 301 365.7 301 274.2 301C182.7 301 91.3 301 45.7 301L0 301Z","fill","var(--color-main-dark)"],[1,"bg-main-dark","pt-6"],[1,"container"],[1,"flex-col-row","gap-4","items-center","justify-center-between"],[1,"flex-col","gap-2"],[1,"logos","flex","items-center","gap-4"],["alt","ministry",3,"src"],["src","assets/img/logos/awqaf.png","alt","awqaf"],[1,"flex-col","items-center","gap-1"],[1,"color-5"],[1,"flex","gap-2"],["href","https://apps.apple.com/ca/app/%D8%A3%D9%88%D9%82%D8%A7%D9%81/id1616468818","target","_blank",1,"flex-col","items-center","gap-1"],["src","assets/img/icons/qrios.png",1,"br-1",2,"width","6em"],["src","assets/img/icons/app-store.png",2,"width","6em"],["href","https://play.google.com/store/apps/details?id=qa.gov.awqaf.islam.Waqf","target","_blank",1,"flex-col","items-center","gap-1"],["src","assets/img/icons/qrandroid.png",1,"br-1",2,"width","6em"],["src","assets/img/icons/play-store.png",2,"width","6em"],[1,"flex-col-row","items-center","gap-1","border-top","mt-2","pt-2"],[1,"ms-auto"],[1,"opacity-80","text-center"]],template:function(a,n){1&a&&(t.O4$(),t.TgZ(0,"svg",0),t._UZ(1,"path",1)(2,"path",2)(3,"path",3),t.qZA(),t.kcU(),t.TgZ(4,"footer",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8),t._UZ(9,"img",9)(10,"img",10),t.qZA()(),t.TgZ(11,"div",11)(12,"small",12),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.TgZ(15,"div",13)(16,"a",14),t._UZ(17,"img",15)(18,"img",16),t.qZA(),t.TgZ(19,"a",17),t._UZ(20,"img",18)(21,"img",19),t.qZA()()()(),t.TgZ(22,"div",20)(23,"small",12),t._uU(24),t.ALo(25,"translate"),t.qZA(),t._UZ(26,"span",21),t.TgZ(27,"small",22),t._uU(28),t.ALo(29,"translate"),t.ALo(30,"translate"),t.ALo(31,"translate"),t.qZA()()()()),2&a&&(t.xp6(9),t.MGl("src","assets/img/logos/ministry/",n.layout.theme,".png",t.LSH),t.xp6(4),t.Oqu(t.lcZ(14,7,"Download Awqaf App from app stores")),t.xp6(11),t.AsE(" ",n.currentYear," \xa9 ",t.lcZ(25,9,"All rights reserved"),""),t.xp6(4),t.lnq(" ",t.lcZ(29,11,"General Directorate of Endowments")," - ",t.lcZ(30,13,"Ministry of Endowments and Islamic Affairs")," - ",t.lcZ(31,15,"State of Qatar")," "))},dependencies:[b.X$],encapsulation:2})),c})();var Y=l(9877),S=l(6223);function W(o,c){if(1&o&&(t._UZ(0,"img",18),t.ALo(1,"fileUrl")),2&o){const e=t.oxw();t.s9C("src",t.xi3(1,1,e.cart.model.imagePath,e.cart.model.folder),t.LSH)}}function K(o,c){if(1&o&&(t.TgZ(0,"h5",19),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&o){const e=t.oxw();
1t.xp6(1),t.Oqu(t.lcZ(2,1,e.cart.model.donationTypeId<=6?"Masraf Waqfi":"Waqfiya"))}}function j(o,c){if(1&o&&(t.TgZ(0,"div",20),t._UZ(1,"i",21),t.TgZ(2,"span"),t._uU(3),t.ALo(4,"translate"),t.TgZ(5,"strong"),t._uU(6),t.ALo(7,"translate"),t.qZA()()()),2&o){const e=t.oxw();t.xp6(3),t.hij("",t.lcZ(4,3,"Share price"),": "),t.xp6(3),t.AsE("",e.sharePrice," ",t.lcZ(7,5,"QR"),"")}}function R(o,c){if(1&o&&(t.TgZ(0,"span",26),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&o){const e=t.oxw().$implicit,a=t.oxw();t.xp6(1),t.Oqu(t.lcZ(2,1,a.getSuggestionLabel(e)))}}const Q=function(o){return{count:o}};function $(o,c){if(1&o&&(t.TgZ(0,"span",26),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&o){const e=t.oxw(2).$implicit,a=t.oxw();t.xp6(1),t.Oqu(t.xi3(2,1,"shares_count",t.VKq(4,Q,a.getSuggestionAmount(e)/a.sharePrice)))}}function G(o,c){if(1&o&&t.YNc(0,$,3,6,"span",27),2&o){const e=t.oxw(2);t.Q6J("ngIf",e.sharePrice)}}function V(o,c){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"number"),t.TgZ(3,"small"),t._uU(4),t.ALo(5,"translate"),t.qZA()()),2&o){const e=t.oxw().$implicit,a=t.oxw();t.xp6(1),t.Oqu(t.lcZ(2,2,a.getSuggestionAmount(e))),t.xp6(3),t.hij(" ",t.lcZ(5,4,"QR"),"")}}function z(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"button",22),t.NdJ("click",function(){const Z=t.CHM(e).$implicit,D=t.oxw();return t.KtG(D.selectSuggestion(Z))}),t.YNc(1,R,3,3,"span",23),t.YNc(2,G,1,1,"ng-template",null,24,t.W1O),t.YNc(4,V,6,6,"span",25),t.qZA()}if(2&o){const e=c.$implicit,a=t.MAs(3),n=t.oxw();t.ekj("active",(null!=e&&e.contactHotline?n.showHotlineMessage:n.cart.currentModel.amount==n.getSuggestionAmount(e))&&!n.showOtherInput),t.xp6(1),t.Q6J("ngIf",n.getSuggestionLabel(e))("ngIfElse",a),t.xp6(3),t.Q6J("ngIf",!(null!=e&&e.contactHotline))}}function X(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"button",28),t.NdJ("click",function(){t.CHM(e);const n=t.oxw();return t.KtG(n.selectOther())}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&o){const e=t.oxw();t.ekj("active",e.showOtherInput),t.xp6(1),t.Oqu(t.lcZ(2,3,"Other"))}}function tt(o,c){1&o&&(t.TgZ(0,"div",29),t._UZ(1,"i",30),t.TgZ(2,"span"),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"a",31),t.NdJ("click",function(a){return a.stopPropagation()}),t._UZ(6,"i",32),t._uU(7," 66011160 "),t.qZA()()),2&o&&(t.xp6(3),t.Oqu(t.lcZ(4,1,"appartement_hotline_msg")))}function et(o,c){if(1&o&&(t.TgZ(0,"div",40),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"number"),t.ALo(4,"translate"),t.TgZ(5,"strong"),t._uU(6),t.ALo(7,"number"),t.ALo(8,"translate"),t.qZA()()),2&o){const e=t.oxw(2);t.xp6(1),t.lnq(" ",t.xi3(2,5,"shares_count",t.VKq(16,Q,e.otherShares))," \xd7 ",t.lcZ(3,8,e.sharePrice)," ",t.lcZ(4,10,"QR")," = "),t.xp6(5),t.AsE("",t.lcZ(7,12,e.otherShares*e.sharePrice)," ",t.lcZ(8,14,"QR"),"")}}function nt(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"div",33)(1,"div",34)(2,"button",35),t.NdJ("click",function(){t.CHM(e);const n=t.oxw();return t.KtG(n.changeShares(-1))}),t.TgZ(3,"span",36),t._uU(4,"\u2212"),t.qZA()(),t.TgZ(5,"input",37),t.NdJ("ngModelChange",function(n){t.CHM(e);const Z=t.oxw();return t.KtG(Z.otherShares=n)})("ngModelChange",function(){t.CHM(e);const n=t.oxw();return t.KtG(n.onSharesChange())})("keydown",function(n){return"."===n.key||","===n.key||"e"===n.key||"E"===n.key||"-"===n.key||"+"===n.key?n.preventDefault():null}),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"button",38),t.NdJ("click",function(){t.CHM(e);const n=t.oxw();return t.KtG(n.changeShares(1))}),t.TgZ(8,"span",36),t._uU(9,"+"),t.qZA()()(),t.YNc(10,et,9,18,"div",39),t.qZA()}if(2&o){const e=t.oxw();
1t.xp6(2),t.Q6J("disabled",!e.otherShares||e.otherShares<=1),t.xp6(3),t.s9C("placeholder",t.lcZ(6,5,"Enter number of shares")),t.Q6J("ngModel",e.otherShares)("min",1),t.xp6(5),t.Q6J("ngIf",e.otherShares&&e.otherShares>0)}}function ot(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"input",41),t.NdJ("ngModelChange",function(n){t.CHM(e);const Z=t.oxw();return t.KtG(Z.cart.currentModel.amount=n)}),t.ALo(1,"translate"),t.qZA()}if(2&o){const e=t.oxw();t.s9C("placeholder",t.lcZ(1,4,"Choose or enter amount")),t.Q6J("ngModel",e.cart.currentModel.amount)("min",e.minOtherAmount)("readonly",e.sharePrice&&!e.showOtherInput)}}function it(o,c){if(1&o&&(t.TgZ(0,"small",42),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"number"),t.ALo(4,"translate"),t.qZA()),2&o){const e=t.oxw();t.xp6(1),t.lnq("",t.lcZ(2,3,"Minimum amount is")," ",t.lcZ(3,5,e.minOtherAmount)," ",t.lcZ(4,7,"QR"),"")}}const at=function(){return["/cart"]};let rt=(()=>{var o;class c{constructor(a,n,Z){(0,i.Z)(this,"modal",void 0),(0,i.Z)(this,"rest",void 0),(0,i.Z)(this,"cart",void 0),(0,i.Z)(this,"showOtherInput",!1),(0,i.Z)(this,"showHotlineMessage",!1),(0,i.Z)(this,"otherShares",null),(0,i.Z)(this,"donateCardSub",void 0),this.modal=a,this.rest=n,this.cart=Z}ngOnInit(){this.donateCardSub=this.cart.donateCardEvent.subscribe(()=>{this.showOtherInput=!1,this.showHotlineMessage=!1,this.otherShares=null})}ngOnDestroy(){this.donateCardSub?.unsubscribe()}get sharePrice(){return this.cart.customAmountStep}get minOtherAmount(){return 10}selectOther(){this.showOtherInput=!0,this.showHotlineMessage=!1,this.otherShares=null,this.cart.currentModel.amount=null}changeShares(a){const Z=(this.otherShares||0)+a;Z>=1&&(this.otherShares=Z,this.onSharesChange())}onSharesChange(){if(null!=this.otherShares){const a=Math.floor(+this.otherShares);this.otherShares=a<1?1:a}this.cart.currentModel.amount=this.otherShares&&this.otherShares>=1&&this.sharePrice?this.otherShares*this.sharePrice:null}getSuggestionAmount(a){return"object"==typeof a?a.amount:a}getSuggestionLabel(a){return"object"==typeof a?a.label:null}selectSuggestion(a){if(this.showOtherInput=!1,this.otherShares=null,a?.contactHotline)return this.showHotlineMessage=!0,void(this.cart.currentModel.amount=null);this.showHotlineMessage=!1,this.cart.currentModel.amount=this.getSuggestionAmount(a)}isAmountValid(){const a=+this.cart.currentModel.amount;return!!a&&a>=this.minOtherAmount}}return o=c,(0,i.Z)(c,"\u0275fac",function(a){return new(a||o)(t.Y36(s.Z7),t.Y36(s.vg),t.Y36(v.N))}),(0,i.Z)(c,"\u0275cmp",t.Xpm({type:o,selectors:[["app-donate-credit-card"]],decls:26,vars:26,consts:[[1,"donate-card","flex-col","gap-2"],[1,"flex","justify-center","position-relative"],["class","w-fill","style","max-height: 20em",3,"src",4,"ngIf"],[1,"pt-4","pb-1",2,"position","absolute","bottom","0","left","0","right","0","background","linear-gradient(to bottom, #00000003, #000000ab)"],["class","text-center color-white m-0 fw-normal",4,"ngIf"],[1,"text-center","color-white","m-0","text-shadow"],["class","card card-info flex align-center justify-center gap-1 p-1",4,"ngIf"],[1,"suggestions","grid","gap-1"],["class","btn btn-1 btn-scale ps-1 pe-1 flex-col gap-0",3,"active","click",4,"ngFor","ngForOf"],["class","btn btn-1 btn-scale ps-1 pe-1",3,"active","click",4,"ngIf"],["class","card card-warn flex align-center gap-1 p-2",4,"ngIf"],["class","flex-col gap-sm",4,"ngIf"],["class","input-round text-center fs-mid","lang","en","type","number",3,"ngModel","min","placeholder","readonly","ngModelChange",4,"ngIf"],["class","text-center color-warn",4,"ngIf"],[1,"actions","grid","gap-1","mt-auto"],[1,"btn","rounded","fw-600","color-5",3,"disabled","routerLink","click"],[1,"btn","rounded","fw-600","color-5",3,"disabled","click"],[1,"btn","rounded","fw-600",3,"disabled","click"],[1,"w-fill",2,"max-height","20em",3,"src"],[1,"text-center","color-white","m-0","fw-normal"],[1,"card","card-info","flex","align-center","justify-center","gap-1","p-1"],[1,"ft-info"],[1,"btn","btn-1","btn-scale","ps-1","pe-1","flex-col","gap-0",3,"click"],["class","fs-sm",4,"ngIf","ngIfElse"],["autoLabel",""],[4,"ngIf"],[1,"fs-sm"],["class","fs-sm",4,"ngIf"],[1,"btn","btn-1","btn-scale","ps-1","pe-1",3,"click"],[1,"card","card-warn","flex","align-center","gap-1","p-2"],[1,"ft-phone"],["href","tel:0097466011160",1,"btn","btn-1","rounded","ms-auto","ps-2","pe-2","fw-600","flex","align-center","gap-1",3,"click"],[1,"ft-phone-call"],[1,"flex-col","gap-sm"],[1,"shares-stepper"],[1,"btn","btn-1","rounded",2,"width","40px","height","40px","padding","0","flex-shrink","0",3,"disabled","click"],[2,"font-size","1.5em","line-height","1"],["lang","en","type","number","step","1","inputmode","numeric","autofocus","",3,"ngModel","min","placeholder","ngModelChange","keydown"],[1,"btn","btn-1","rounded",2,"width","40px","height","40px","padding","0","flex-shrink","0",3,"click"],["class","card card-info text-center fw-600",4,"ngIf"],[1,"card","card-info","text-center","fw-600"],["lang","en","type","number",1,"input-rou
1nd","text-center","fs-mid",3,"ngModel","min","placeholder","readonly","ngModelChange"],[1,"text-center","color-warn"]],template:function(a,n){1&a&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,W,2,4,"img",2),t.TgZ(3,"div",3),t.YNc(4,K,3,3,"h5",4),t.TgZ(5,"h3",5),t._uU(6),t.ALo(7,"translate"),t.qZA()()(),t.YNc(8,j,8,7,"div",6),t.TgZ(9,"div",7),t.YNc(10,z,5,5,"button",8),t.YNc(11,X,3,5,"button",9),t.qZA(),t.YNc(12,tt,8,3,"div",10),t.YNc(13,nt,11,7,"div",11),t.YNc(14,ot,2,6,"input",12),t.YNc(15,it,5,9,"small",13),t.TgZ(16,"div",14)(17,"button",15),t.NdJ("click",function(){return n.cart.add()}),t._uU(18),t.ALo(19,"translate"),t.qZA(),t.TgZ(20,"button",16),t.NdJ("click",function(){return n.cart.add()}),t._uU(21),t.ALo(22,"translate"),t.qZA(),t.TgZ(23,"button",17),t.NdJ("click",function(){return n.cart.currentModel.amount="",n.cart.remove(n.cart.model)}),t._uU(24),t.ALo(25,"translate"),t.qZA()()()),2&a&&(t.xp6(2),t.Q6J("ngIf",n.cart.model&&n.cart.model.imagePath),t.xp6(2),t.Q6J("ngIf",!n.cart.model.masrefId),t.xp6(2),t.Oqu(t.lcZ(7,17,n.cart.model.name)),t.xp6(2),t.Q6J("ngIf",n.sharePrice),t.xp6(2),t.Q6J("ngForOf",n.cart.cardSuggestions),t.xp6(1),t.Q6J("ngIf",n.sharePrice),t.xp6(1),t.Q6J("ngIf",n.showHotlineMessage&&!n.showOtherInput),t.xp6(1),t.Q6J("ngIf",n.showOtherInput&&n.sharePrice),t.xp6(1),t.Q6J("ngIf",!n.showOtherInput&&!n.showHotlineMessage),t.xp6(1),t.Q6J("ngIf",!n.showOtherInput&&!n.showHotlineMessage&&n.cart.currentModel.amount&&n.cart.currentModel.amount<n.minOtherAmount),t.xp6(2),t.Q6J("disabled",!n.isAmountValid())("routerLink",t.DdM(25,at)),t.xp6(1),t.Oqu(t.lcZ(19,19,"Donate now")),t.xp6(2),t.Q6J("disabled",!n.isAmountValid()),t.xp6(1),t.Oqu(t.lcZ(22,21,"Charity cart")),t.xp6(2),t.Q6J("disabled",!n.cart.currentModel.amount),t.xp6(1),t.Oqu(t.lcZ(25,23,"Reset")))},dependencies:[C.sg,C.O5,S.Fj,S.wV,S.JJ,S.qQ,S.On,w.rH,C.JJ,b.X$,s.OR],encapsulation:2})),c})();function st(o,c){if(1&o&&(t.TgZ(0,"h5",7)(1,"span"),t._uU(2),t.ALo(3,"translate"),t.qZA()()),2&o){const e=t.oxw();
1t.xp6(2),t.Oqu(t.lcZ(3,1,e.cart.model.donationTypeId<=6?"Masraf Waqfi":"Waqfiya"))}}function ct(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"button",15),t.NdJ("click",function(){const Z=t.CHM(e).$implicit,D=t.oxw(2);return t.KtG(D.setAmount(Z))}),t.TgZ(1,"span"),t._uU(2),t.qZA(),t.TgZ(3,"small"),t._uU(4),t.ALo(5,"translate"),t.qZA()()}if(2&o){const e=c.$implicit,a=t.oxw(2);t.ekj("active",a.model.amount==e),t.xp6(2),t.Oqu(e),t.xp6(2),t.Oqu(t.lcZ(5,4,"QR"))}}function lt(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){const Z=t.CHM(e).$implicit,D=t.oxw(2);return t.KtG(D.setType(Z.type))}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&o){const e=c.$implicit,a=t.oxw(2);t.ekj("active",a.model.type==e.type),t.xp6(1),t.Oqu(t.lcZ(2,3,e.title))}}function ut(o,c){if(1&o&&(t.TgZ(0,"div",8)(1,"div",9),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",10),t.YNc(5,ct,6,6,"button",11),t.qZA(),t.TgZ(6,"div",12),t._uU(7),t.ALo(8,"translate"),t.qZA(),t.TgZ(9,"div",13),t.YNc(10,lt,3,5,"button",14),t.qZA()()),2&o){const e=t.oxw();
1t.xp6(2),t.Oqu(t.lcZ(3,4,"Select amount")),t.xp6(3),t.Q6J("ngForOf",e.cart.smsSuggestions),t.xp6(2),t.Oqu(t.lcZ(8,6,"Select donation type")),t.xp6(3),t.Q6J("ngForOf",e.types)}}function pt(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"div",8)(1,"div",17)(2,"button",18),t.NdJ("click",function(){t.CHM(e);const n=t.oxw();return t.KtG(n.options=!1)}),t._UZ(3,"i",19),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"div",20),t._uU(7),t.qZA()(),t.TgZ(8,"a",21),t._UZ(9,"i",22),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.TgZ(12,"div",23),t._uU(13),t.ALo(14,"translate"),t.qZA(),t.TgZ(15,"button",24),t.NdJ("click",function(){t.CHM(e);const n=t.oxw();return t.KtG(n.copy(n.code))}),t._UZ(16,"i",25),t._uU(17),t.ALo(18,"translate"),t.TgZ(19,"span",26),t._uU(20),t.qZA()(),t.TgZ(21,"button",24),t.NdJ("click",function(){t.CHM(e);const n=t.oxw();return t.KtG(n.copy(n.number))}),t._UZ(22,"i",25),t._uU(23),t.ALo(24,"translate"),t.TgZ(25,"span",26),t._uU(26),t.qZA()()()}if(2&o){const e=t.oxw();t.xp6(4),t.hij(" ",t.lcZ(5,10,"Back"),""),t.xp6(3),t.Oqu(e.message),t.xp6(1),t.hYB("href","sms:",e.number,"?body=",e.code,"",t.LSH),t.xp6(2),t.Oqu(t.lcZ(11,12,"Send SMS Now")),t.xp6(3),t.Oqu(t.lcZ(14,14,"OR")),t.xp6(4),t.Oqu(t.lcZ(18,16,"Copy code")),t.xp6(3),t.Oqu(e.code),t.xp6(3),t.Oqu(t.lcZ(24,18,"Copy number")),t.xp6(3),t.Oqu(e.number)}}let _t=(()=>{var o;class c{constructor(a,n,Z,D){(0,i.Z)(this,"modal",void 0),(0,i.Z)(this,"rest",void 0),(0,i.Z)(this,"cart",void 0),(0,i.Z)(this,"layout",void 0),(0,i.Z)(this,"code",""),(0,i.Z)(this,"message","Select amount"),(0,i.Z)(this,"options",!1),(0,i.Z)(this,"model",{amount:0,type:""}),(0,i.Z)(this,"number","92229"),(0,i.Z)(this,"types",[{title:"One time",type:"O"},{title:"Daily",type:"D"},{title:"Monthly",type:"M"}]),this.modal=a,this.rest=n,this.cart=Z,this.layout=D}ngOnInit(){this.cart.donateSmsEvent.subscribe(a=>{this.options=!1,this.model={amount:0,type:0}})}setAmount(a){this.model.amount=a,this.setHint()}setType(a){this.model.type=a,this.setHint()}setHint(){0!=this.model.amount?""!=this.model.type?(this.code=`${this.model.type}${this.model.amount}${this.layout.culture.toUpperCase()}${this.cart.model.donationTypeId}`,this.options=!0,this.message="ar"==this.layout.culture?`\u0644\u0644\u0645\u062a\u0627\u0628\u0639\u0629\u060c \u064a\u0631\u062c\u0649 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0643\u0648\u062f \u0627\u0644\u062a\u0627\u0644\u064a ${this.code} \u0628\u0631\u0633\u0627\u0644\u0629 \u0646\u0635\u064a\u0651\u0629\u
1060c \u0625\u0644\u0649 \u0627\u0644\u0631\u0642\u0645 ${this.number}`:`To continue, please send this code ${this.code} by SMS to this number ${this.number}`):this.message="Select donation type":this.message="Select amount"}copy(a){navigator.clipboard.writeText(a)}}return o=c,(0,i.Z)(c,"\u0275fac",function(a){return new(a||o)(t.Y36(s.Z7),t.Y36(s.vg),t.Y36(v.N),t.Y36(s.Pb))}),(0,i.Z)(c,"\u0275cmp",t.Xpm({type:o,selectors:[["app-donate-sms"]],decls:11,vars:10,consts:[[1,"donate-sms","flex-col","gap-1"],[1,"flex","justify-center","position-relative"],[1,"fill",3,"src"],[1,"pt-4","pb-1",2,"position","absolute","bottom","0","left","0","right","0","background","linear-gradient(to bottom, #00000003, #000000ab)"],["class","text-center color-white m-0 fw-normal",4,"ngIf"],[1,"text-center","color-white","m-0","text-shadow"],["class","flex-col gap-1",4,"ngIf"],[1,"text-center","color-white","m-0","fw-normal"],[1,"flex-col","gap-1"],[1,"fw-600"],[1,"suggestions","grid","gap-1"],["class","btn rounded btn-secondary btn-scale fw-600 color-5 flex align-center gap-sm",3,"active","click",4,"ngFor","ngForOf"],[1,"fw-600","mt-2"],[1,"types","grid","gap-1"],["class","btn rounded btn-secondary btn-scale fw-600 color-5",3,"active","click",4,"ngFor","ngForOf"],[1,"btn","rounded","btn-secondary","btn-scale","fw-600","color-5","flex","align-center","gap-sm",3,"click"],[1,"btn","rounded","btn-secondary","btn-scale","fw-600","color-5",3,"click"],[1,"flex","align-center","gap-1"],[1,"btn","btn-default","gap-1","color-5","pe-1",3,"click"],[1,"ft-arrow-prev"],[1,"fw-600","text-center","border-start","ps-1","pe-1"],[1,"btn","rounded","btn-secondary","justify-start","fw-600","color-5","flex","gap-1","ps-2","pe-2",3,"href"],[1,"ft-mail"],[1,"text-center"],[1,"btn","rounded","btn-secondary","space-between","fw-600","color-5","flex","gap-1","ps-2","pe-2",3,"click"],[1,"ft-copy"],[1,"ms-auto"]],template:function(a,n){1&a&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"img",2),t.ALo(3,"fileUrl"),t.TgZ(4,"div",3),t.YNc(5,st,4,3,"h5",4),t.TgZ(6,"h3",5),t._uU(7),t.ALo(8,"translate"),t.qZA()()(),t.YNc(9,ut,11,8,"div",6),t.YNc(10,pt,27,20,"div",6),t.qZA()),2&a&&(t.xp6(2),t.s9C("src",t.xi3(3,5,n.cart.model.imagePath,n.cart.model.folder),t.LSH),t.xp6(3),t.Q6J("ngIf",!n.cart.model.masrefId),t.xp6(2),t.Oqu(t.lcZ(8,8,n.cart.model.name)),t.xp6(2),t.Q6J("ngIf",!n.options),t.xp6(1),t.Q6J("ngIf",n.options))},dependencies:[C.sg,C.O5,b.X$,s.OR],encapsulation:2})),c})(),dt=(()=>{var o;class c{selectMethod(a){this.selectedMethod=a}confirmPayment(){switch(this.selectedMethod){case"credit":this.payWithCreditCard();break;case"debit":this.payWithDebitCard();break;case"apple":this.payWithApplePay();break;default:console.warn("No payment method selected")}}constructor(a,n,Z,D){(0,i.Z)(this,"modal",void 0),(0,i.Z)(this,"rest",void 0),(0,i.Z)(this,"cart",void 0),(0,i.Z)(this,"layout",void 0),(0,i.Z)(this,"applePayAvailable",!1),(0,i.Z)(this,"options",!1),(0,i.Z)(this,"selectedMethod",null),this.modal=a,this.rest=n,this.cart=Z,this.layout=D}ngOnInit(){this.cart.donateFawranEvent.subscribe(a=>{this.options=!0}),this.applePayAvailable=window.ApplePaySession&&ApplePaySession.canMakePayments()}payWithCreditCard(){}payWithDebitCard(){}payWithApplePay(){}}return o=c,(0,i.Z)(c,"\u0275fac",function(a){return new(a||o)(t.Y36(s.Z7),t.Y36(s.vg),t.Y36(v.N),t.Y36(s.Pb))}),(0,i.Z)(c,"\u0275cmp",t.Xpm({type:o,selectors:[["app-payment-type"]],decls:10,vars:6,consts:[[1,"payment-type","flex-col","gap-1"],[1,"flex-col","gap-2"],[1,"btn","rounded","btn-primary","space-between","fw-600","flex","gap-1","ps-2","pe-2",3,"click"],[1,"ft-credit-card"]],template:function(a,n){1&a&&(t.TgZ(0,"div",0)(1,"div",1)(2,"button",2),t.NdJ("click",function(){return n.payWithCreditCard()}),t._UZ(3,"i",3),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.TgZ(6,"button",2),t.NdJ("click",function(){return n.payWithDebitCard()}),t._UZ(7,"i",3),t._uU(8),t.ALo(9,"translate"),t.qZA()()()),2&a&&(t.xp6(4),t.hij(" ",t.lcZ(5,2,"Pay with Credit Card")," "),t.xp6(4),t.hij(" ",t.lcZ(9,4,"Pay with Debit Card")," "))},dependencies:[b.X$],encapsulation:2})),c})();function mt(o,c){1&o&&t._UZ(0,"app-footer")}function gt(o,c){1&o&&t._UZ(0,"wq-otp-form")}let ht=(()=>{var o;class c{constructor(a,n,Z,D){(0,i.Z)(this,"otp",void 0),(0,i.Z)(this,"modal",void 0),(0,i.Z)(this,"layout",void 0),(0,i.Z)(this,"cart",void 0),this.otp=a,this.modal=n,this.layout=Z,this.cart=D}}return o=c,(0,i.Z)(c,"\u0275fac",function(a){return new(a||o)(t.Y36(s.Wn),t.Y36(s.Z7),t.Y36(s.Pb),t.Y36(v.N))}),(0,i.Z)(c,"\u0275cmp",t.Xpm({type:o,selectors:[["app-layout"]],decls:22,vars:3,consts:[[1,"gradient-section","bg-tiles"],[1,"flex-col","space-between"],["css","bg-gradient"],[4,"ngIf"],["name","methods-modal","header","Donate now","dismissible","yes"],[1,"modal-body","pt-0","pb-8","h-min-content"],[3,"preselect"],["name","credit-card-modal","header","Credit card","dismissible","yes"],[1,"modal-body","pt-0","pb-4","h-min-content"],["name","sms-modal","header","SMS","dismissible","yes"],["name","otp-modal","header","Code verification","width","fit-content",3,"dismissed"],[1,"modal-body","pt-0"],["name","payment-modal","header","Payment Type","width","fit-content","dismissible","yes"]],template:function(a,n){1&a&&(t.TgZ(0,"div",0)(1,"main",1)(2,"div"),t._UZ(3,"app-header",2)(4,"router-outlet"),t.qZA(),t.YNc(5,mt,1,0,"app-footer",3),t.qZA()(),t.TgZ(6,"wq-modal",4)(7,"div",5),t._UZ(8,"a
1pp-donate-methods",6),t.qZA()(),t.TgZ(9,"wq-modal",7)(10,"div",8),t._UZ(11,"app-donate-credit-card"),t.qZA()(),t.TgZ(12,"wq-modal",9)(13,"div",8),t._UZ(14,"app-donate-sms"),t.qZA()(),t.TgZ(15,"wq-modal",10),t.NdJ("dismissed",function(){return n.otp.show=!1}),t.TgZ(16,"div",11),t.YNc(17,gt,1,0,"wq-otp-form",3),t.qZA()(),t.TgZ(18,"wq-modal",12)(19,"div",11),t._UZ(20,"app-payment-type"),t.qZA()(),t._UZ(21,"wq-otp")),2&a&&(t.xp6(5),t.Q6J("ngIf",n.layout.footer),t.xp6(3),t.Q6J("preselect",!0),t.xp6(9),t.Q6J("ngIf",n.otp.show))},dependencies:[C.O5,w.lC,s.zS,s.vK,s._M,F,B,Y.X,rt,_t,dt],encapsulation:2})),c})()},7134:(E,O,l)=>{l.d(O,{L:()=>J});var i=l(1180),t=l(5879),s=l(6814),v=l(6223),C=l(6668),w=l(4391),L=l(3999);function b(h,q){if(1&h&&t._UZ(0,"img",8),2&h){const g=t.oxw();t.Q6J("src",g.cover,t.LSH)}}const M=function(){return["/services"]};function I(h,q){1&h&&(t.TgZ(0,"li",12)(1,"a",13),t._uU(2),t.ALo(3,"translate"),t.qZA()()),2&h&&(t.xp6(1),t.Q6J("routerLink",t.DdM(4,M)),t.xp6(1),t.Oqu(t.lcZ(3,2,"Our Services")))}const r=function(){return["/"]};function m(h,q){if(1&h&&(t.TgZ(0,"ul",11)(1,"li",12)(2,"a",13),t._uU(3),t.ALo(4,"translate"),t.qZA()(),t.YNc(5,I,4,5,"li",14),t.TgZ(6,"li",15),t._uU(7),t.ALo(8,"translate"),t.qZA()()),2&h){const g=t.oxw(2);t.xp6(2),t.Q6J("routerLink",t.DdM(8,r)),t.xp6(1),t.Oqu(t.lcZ(4,4,"Home")),t.xp6(2),t.Q6J("ngIf",g.servicesLink),t.xp6(2),t.Oqu(t.lcZ(8,6,null==g.component?null:g.component.header))}}function _(h,q){if(1&h&&(t.TgZ(0,"div",9)(1,"h1"),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.Hsn(4,3),t.YNc(5,m,9,9,"ul",10),t.qZA()),2&h){const g=t.oxw();t.ekj("no-print",!g.printHeader),t.xp6(2),t.Oqu(t.lcZ(3,4,null==g.component?null:g.component.header)),t.xp6(3),t.Q6J("ngIf",g.hasNavigation)}}function p(h,q){if(1&h&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&h){const g=t.oxw(2);t.xp6(1),t.AsE("",t.lcZ(2,2,"Results")," (",null==g.component?null:g.component.count,")")}}function f(h,q){1&h&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&h&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"No results to view")))}function u(h,q){1&h&&(t.TgZ(0,"div",19),t._UZ(1,"wq-spinner"),t._uU(2),t.ALo(3,"translate"),t.qZA()),2&h&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"Please wait"),"... "))}function A(h,q){if(1&h&&(t.TgZ(0,"div",16),t.YNc(1,p,3,4,"span",17),t.YNc(2,f,3,3,"span",17),t.YNc(3,u,4,3,"div",18),t.qZA()),2&h){const g=t.oxw();
1t.xp6(1),t.Q6J("ngIf",(null==g.component?null:g.component.count)>0),t.xp6(1),t.Q6J("ngIf",!(null!=g.component&&g.component.isBusy)&&0==(null==g.component?null:g.component.count)),t.xp6(1),t.Q6J("ngIf",null==g.component?null:g.component.isBusy)}}function d(h,q){if(1&h){const g=t.EpF();t.TgZ(0,"button",26),t.NdJ("click",function(){t.CHM(g);const y=t.oxw(2);return t.KtG(null==y.component?null:y.component.clearFilter())}),t.ALo(1,"translate"),t._UZ(2,"i",27),t.qZA()}2&h&&t.s9C("title",t.lcZ(1,1,"Clear filter"))}function T(h,q){if(1&h){const g=t.EpF();t.TgZ(0,"div",20)(1,"input",21),t.NdJ("ngModelChange",function(y){t.CHM(g);const N=t.oxw();return t.KtG(N.component.query=y)})("input",function(){t.CHM(g);const y=t.oxw();return t.KtG(null==y.component?null:y.component.filter())}),t.ALo(2,"translate"),t.qZA(),t.TgZ(3,"div",22),t.YNc(4,d,3,3,"button",23),t.TgZ(5,"button",24),t.ALo(6,"translate"),t._UZ(7,"i",25),t.qZA()()()}if(2&h){const g=t.oxw();t.xp6(1),t.MGl("placeholder","",t.lcZ(2,4,"Search"),"..."),t.Q6J("ngModel",g.component.query),t.xp6(3),t.Q6J("ngIf",null==g.component?null:g.component.query),t.xp6(1),t.s9C("title",t.lcZ(6,6,"Search"))}}function x(h,q){if(1&h){const g=t.EpF();t.TgZ(0,"button",33),t.NdJ("click",function(){t.CHM(g);const y=t.oxw(2);return t.KtG(null==y.component?null:y.component.clearFilter())}),t._UZ(1,"i",34),t._uU(2),t.ALo(3,"translate"),t.qZA()}2&h&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"Clear filter"),""))}function k(h,q){if(1&h&&(t.TgZ(0,"div",28)(1,"h3",29),t._UZ(2,"i",30),t.qZA(),t.TgZ(3,"label",31),t._uU(4),t.ALo(5,"translate"),t.qZA(),t.YNc(6,x,4,3,"button",32),t.qZA()),2&h){const g=t.oxw();
1t.xp6(4),t.Oqu(t.lcZ(5,2,g.emptyPlaceholder)),t.xp6(2),t.Q6J("ngIf",null==g.component?null:g.component.query)}}const P=[[["",8,"header"]],[["",8,"toolbar"]],[["",8,"results"]],[["",8,"navigation"]]],H=[".header",".toolbar",".results",".navigation"];let J=(()=>{var h;class q{constructor(){(0,i.Z)(this,"component",void 0),(0,i.Z)(this,"showSearchBox",!0),(0,i.Z)(this,"showHeader",!0),(0,i.Z)(this,"showCount",!0),(0,i.Z)(this,"hasNavigation",!0),(0,i.Z)(this,"servicesLink",!0),(0,i.Z)(this,"emptyPlaceholder","Try filter with other criteria"),(0,i.Z)(this,"printHeader",!0),(0,i.Z)(this,"cover",null)}}return h=q,(0,i.Z)(q,"\u0275fac",function(U){return new(U||h)}),(0,i.Z)(q,"\u0275cmp",t.Xpm({type:h,selectors:[["app-search-layout"]],inputs:{component:"component",showSearchBox:"showSearchBox",showHeader:"showHeader",showCount:"showCount",hasNavigation:"hasNavigation",servicesLink:"servicesLink",emptyPlaceholder:"emptyPlaceholder",printHeader:"printHeader",cover:"cover"},ngContentSelectors:H,decls:11,vars:13,consts:[[1,"container","ps-0","pe-0","pb-6"],["style","width:100%",3,"src",4,"ngIf"],["class","page-header",3,"no-print",4,"ngIf"],[1,"flex-col-row","gap-1","space-between","align-center","pb-2"],["class","fs-mid fw-600 color-5",4,"ngIf"],[1,"flex","gap-1","no-print"],["class","input-field search no-border box-shadow",4,"ngIf"],["class","flex-col gap-2 align-center pt-4 pb-4","style","border: .1em dashed var(--color-border);border-radius: 1em;",4,"ngIf"],[2,"width","100%",3,"src"],[1,"page-header"],["class","navigation",4,"ngIf"],[1,"navigation"],[1,"navigation-item"],[3,"routerLink"],["class","navigation-item",4,"ngIf"],[1,"navigation-item","active"],[1,"fs-mid","fw-600","color-5"],[4,"ngIf"],["class","flex gap-1 align-center",4,"ngIf"],[1,"flex","gap-1","align-center"],[1,"input-field","search","no-border","box-shadow"],["type","text",3,"placeholder","ngModel","ngModelChange","input"],[1,"input-actions"],["type","button",3,"title","click",4,"ngIf"],["type","button",3,"title"],[1,"ft-search"],["type","button",3,"title","click"],[1,"ft-x"],[1,"flex-col","gap-2","align-center","pt-4","pb-4",2,"border",".1em dashed var(--color-border)","border-radius","1em"],[1,"color-5"],[1,"ft-filter"],[1,"fw-600","color-5"],["class","btn",3,"click",4,"ngIf"],[1,"btn",3,"click"],[1,"ft-x","search"]],template:function(U,y){1&U&&(t.F$t(P),t.TgZ(0,"div",0),t.YNc(1,b,1,1,"img",1),t.YNc(2,_,6,6,"div",2),t.Hsn(3),t.TgZ(4,"div",3),t.YNc(5,A,4,3,"div",4),t.TgZ(6,"div",5),t.Hsn(7,1),t.YNc(8,T,8,8,"div",6),t.qZA()(),t.Hsn(9,2),t.YNc(10,k,7,4,"div",7),t.qZA()),2&U&&(t.ekj("pt-6",!y.cover)("bg-main-light",null!==y.cover),t.xp6(1),t.Q6J("ngIf",y.cover),t.xp6(1),t.Q6J("ngIf",y.showHeader),t.xp6(2),t.ekj("no-print",!y.printHeader)("p-2",null!==y.cover),t.xp6(1),t.Q6J("ngIf",y.showCount),t.xp6(3),t.Q6J("ngIf",y.showSearchBox),t.xp6(2),t.Q6J("ngIf",!(null!=y.component&&y.component.isBusy)&&0==(null==y.component?null:y.component.count)))},dependencies:[s.O5,v.Fj,v.JJ,v.On,C.rH,w.M9,L.X$],styles:[".input-field.search[_ngcontent-%COMP%]{max-width:100%}@media (max-width: 768px){.flex-col-row[_ngcontent-%COMP%]{flex-direction:column!important;align-items:flex-start!important}.flex-col-row[_ngcontent-%COMP%] .flex.gap-1[_ngcontent-%COMP%]{width:100%;flex-wrap:wrap}.input-field.search[_ngcontent-%COMP%]{width:100%;min-width:100%}.input-field.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-size:14px;padding:.6rem 2.5rem .6rem .8rem}}@media (max-width: 480px){.flex-col-row[_ngcontent-%COMP%] .flex.gap-1[_ngcontent-%COMP%]{gap:.5rem!important}.input-field.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-size:13px;padding:.5rem 2.5rem .5rem .7rem}.input-field.search[_ngcontent-%COMP%] .input-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:32px;height:32px;font-size:13px}}@media (min-width: 769px){.input-field.search[_ngcontent-%COMP%]{max-width:350px;min-width:280px}}"]})),q})()},9348:(E,O,l)=>{l.d(O,{V:()=>r});var i=l(1180),t=l(5879),s=l(2848),v=l(4391),C=l(6814),w=l(6668),L=l(3999);const b=function(m){return[m]};function M(m,_){if(1&m&&(t.TgZ(0,"a",3)(1,"div",4)(2,"div",5),t._UZ(3,"img",8),t.qZA(),t.TgZ(4,"label",7),t._uU(5),t.ALo(6,"translate"),t.qZA()()()),2&m){const p=_.$implicit;t.Q6J("routerLink",t.VKq(5,b,p.route)),t.xp6(3),t.MGl("src","https://islam.gov.qa/cdn/img/awqaf/services/",p.img,"",t.LSH),t.xp6(2),t.Oqu(t.lcZ(6,3,p.title))}}const I=function(){return["/services"]};let r=(()=>{var m;class _{constructor(f,u){(0,i.Z)(this,"data",void 0),(0,i.Z)(this,"ui",void 0),(0,i.Z)(this,"index",0),this.data=f,this.ui=u}setIndex(f){this.index=this.ui.setIndex(this.index,f,this.data.services.length)}}return m=_,(0,i.Z)(_,"\u0275fac",function(f){return new(f||m)(t.Y36(s.D),t.Y36(v.Fz))}),(0,i.Z)(_,"\u0275cmp",t.Xpm({type:m,selectors:[["app-service-slider"]],decls:10,vars:6,consts:[[1,"container"],[1,"service-slider","flex","justify-center","gap-2"],["class","card border",3,"routerLink",4,"ngFor","ngForOf"],[1,"card","border",3,"routerLink"],[1,"service","flex-col","align-center","text-center","gap-1","pt-2","pb-2"],[1,"bg-gradient","rounded","flex-col","items-center","content-center"],["src","https://islam.gov.qa/cdn/img/awqaf/services/masaref.png","alt","icon",1,"no-events"],[1,"color-5","no-events"],["alt","icon",1,"no-events",3,"src"]],template:function(f,u){1&f&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,M,7,7,"a",2),t.TgZ(3,"a",3)(4,"div",4)(5,"div",5),t._UZ(6,"img",6),t.qZA(),t.TgZ(7,"label",7),t._uU(8),t.ALo(9,"translate"),t.qZA()()()()()),2&f&&(t.xp6(2),t.Q6J("ngForOf",u.data.services),t.xp6(1),t.Q6J("routerLink",t.DdM(5,I)),t.xp6(5),t.Oqu(t.lcZ(9,3,"More")))},dependencies:[C.sg,w.rH,L.X$],encapsulation:2})),_})()},2623:(E,O,l)=>{l.d(O,{N:()=>L});var i=l(1180),t=l(553),s=l(8645),v=l(5879),C=l(4391),w=l(6668);let L=(()=>{var b;class M{constructor(r,m){(0,i.Z)(this,"modal",void 0),(0,i.Z)(this,"route",void 0),(0,i.Z)(this,"giftId",null),(0,i.Z)(this,"model",{}),(0,i.Z)(this,"total",0),(0,i.Z)(this,"items",[]),(0,i.Z)(this,"currentModel",{}),(0,i.Z)(this,"cardSuggestions",[50,100,500,1e3,2e3]),(0,i.Z)(this,"smsSuggestions",[10,50,100,500]),(0,i.Z)(this,"customAmountStep",null),(0,i.Z)(this,"type",""),(0,i.Z)(this,"animate",!1),(0,i.Z)(this,"donateSmsEvent",new s.x),(0,i.Z)(this,"donateFawranEvent",new s.x),(0,i.Z)(this,"donateCardEvent",new s.x),(0,i.Z)(this,"checkoutData",null),this.modal=r,this.route=m}adjust(r){r.masrefId?(r.folder=t.N.folders.projects,r.name=r.projectName):r.mosqueNo?r.folder=t.N.folders.buildMosques:r.location?r.folder=t.N.folders.endowments:r.isIftar?(r.name=r.name,r.folder=t.N.folders.endowments):(r.folder=t.N.folders.endowments,r.name=r.donationType)}donate(r){this.model=r,this.donateCardEvent.next({}),this.currentModel.amount=Math.abs(r.amount),void 0!==r._cardSuggestions&&(this.cardSuggestions=r._cardSuggestions,this.smsSuggestions=r._smsSuggestions,this.customAmountStep=r._customAmountStep??null),"atm"==this.type?this.donateCard():"sms"==this.type||"fawran"==this.type?this.donateSms():this.modal.show("methods-modal"),this.adjust(r)}donateCard(){this.modal.show("credit-card-modal")}donateSms(){this.donateSmsEvent.next({}),this.modal.show("sms-modal")}donateFawran(){this.donateFawranEvent.next({}),this.modal.show("fawran-modal")}addToCart(r){this.currentModel={},this.currentModel.amount=r.amount,this.model=r,this.adjust(r),this.add()}add(){let r;r=this.items.find(this.model?.isIftar?m=>m.isIftar&&m.id===this.model.id:m=>m.donationTypeId==this.model.donationTypeId),r||(r=this.model,this.items.push(r)),r.amount=Math.abs(this.currentModel.amount),r.amountEndowment=this.currentModel.amount,r.amountDonation=0,this.calcTotal(),this.modal.pop(),this.model={},this.currentModel={},window.animateCart(r.imageUrl)}remove(r){let m=-1;m=this.items.findIndex(r?.isIftar?_=>_.isIftar&&_.id===r.id:_=>_.donationTypeId==r.donationTypeId),m>-1&&(this.items.splice(m,1),this.calcTotal())}
1clear(){this.total=0,this.items.forEach(r=>{r.amount=0}),this.items=[]}calcTotal(){let r=0;this.items.forEach(m=>{r+=m?.amount}),this.total=r}setCheckoutData(r){this.checkoutData=r}getCheckoutData(){const r=this.checkoutData;return this.checkoutData=null,r}}return b=M,(0,i.Z)(M,"\u0275fac",function(r){return new(r||b)(v.LFG(C.Z7),v.LFG(w.gz))}),(0,i.Z)(M,"\u0275prov",v.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})),M})()}}]);
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.