1(()=>{var t={3459:(t,a,e)=>{"use strict";e.d(a,{A:()=>Ci});var s=e(66278),i=e(70406);const o={isApp:"APP"==={NODE_ENV:"production",VUE_APP_CLOUDFLARE_CAPTCHA_SITE_KEY:"0x4AAAAAAABeqgfk6yXGUY3T",VUE_APP_COUNTRY:"UK",VUE_APP_CURRENCY:"GBP",VUE_APP_CURRENCY_SYMBOL:"£",VUE_APP_GTAG:"G-CZJHV3FCQX",VUE_APP_GTM:"GTM-59C2ZGL5",VUE_APP_LOGO:"aif_uk.svg",VUE_APP_LOGO_DARK:"aif_uk_dark.svg",VUE_APP_OTHER_URL_BASE:"https://www.alimdaad.com",VUE_APP_STRIPE_KEY:"pk_live_3IdTeBV5b9Y7EtHXQWgiIawh",VUE_APP_TITLE:"Al-Imdaad Foundation UK",VUE_APP_URL_BASE:"https://www.alimdaad.co.uk",BASE_URL:"/"}.VUE_APP_MODE},n={isApp:t=>t.isApp},r={state:o,getters:n};var c=e(94335);const d=async t=>{try{const a=await c.A.post("https://www.alimdaad.co.uk/adms/api/user/v2/login",{},{auth:t,headers:{baseSystemType:"PUBLIC_WEBSITE"}});return a}catch(a){const t="error";return t}},u=t=>c.A.put(`https://www.alimdaad.co.uk/adms/api/users/v2/password/reset?email=${t}`),l=t=>c.A.put("https://www.alimdaad.co.uk/adms/api/users/password/verify",t,{headers:{baseSystemType:"PUBLIC_WEBSITE"}}),p=t=>{let a=t.address;null!==a&&(a={addressType:"PHYSICAL_ADDRESS",addressLine1:t.primaryAddress.addressLine1,addressLine2:t.primaryAddress.addressLine2||"",town:t.primaryAddress.town,postalCode:t.primaryAddress.postalCode,province:t.primaryAddress.province||"",country:t.primaryAddress.country,primaryAddress:!0});const e={email:t.email,userTitleId:t.userTitleId,idNumber:t.idNumber,passportNumber:t.passportNumber,countryOfIssueID:t.countryOfIssueID,individualTaxNumber:t.individualTaxNumber,firstName:t.firstName,lastName:t.lastName,cell:t.cell,telHome:t.telHome,zakaatCalculationDate:t.zakaatCalculationDate,primaryAddress:a,correspondence:t.correspondence,giftAid:t.giftAid,credentials:{username:t.username,password:t.password,confirmPassword:t.confirmPassword}};return c.A.post("https://www.alimdaad.co.uk/adms/api/registration/v2/donor",e,{headers:{baseSystemType:"PUBLIC_WEBSITE"}})},m=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/users/donor/?aifID=${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),h=t=>c.A.put("https://www.alimdaad.co.uk/adms/api/users/donor/search",t,{headers:{baseSystemType:"PUBLIC_WEBSITE"}}),w=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/users/v2/donor/exists?aifID=${t}`,{headers:{baseSystemType:"PUBLIC_WEBSITE"}}),b=t=>c.A.put("https://www.alimdaad.co.uk/adms/api/users/v2/credentials",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),g=t=>c.A.put("https://www.alimdaad.co.uk/adms/api/users/v2/details",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),A=async t=>c.A.put("https://www.alimdaad.co.uk/adms/api/users/v2/primary/address",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),y=async t=>c.A.put(`https://www.alimdaad.co.uk/adms/api/users/v2/secondaryAddress/${Ci.state.user.user.userID}`,t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),f=async t=>c.A.put(`https://www.alimdaad.co.uk/adms/api/users/v2/additional/contact/${Ci.state.user.user.userID}`,t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),S=async t=>c.A.put(`https://www.alimdaad.co.uk/adms/api/users/v2/additional/contact/${Ci.state.user.user.userID}`,t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),D=t=>c.A.post("https://www.alimdaad.co.uk/adms/api/volunteer/withProfile/add",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),T=t=>c.A.post("https://www.alimdaad.co.uk/adms/api/volunteer/add",t,{headers:{baseSystemType:"PUBLIC_WEBSITE"}}),k=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/donors/all",{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),I=t=>c.A.put(`https://www.alimdaad.co.uk/adms/api/users/user/upload?base64String=${t}`,{},{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),C=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/registration/validateIDNumber/${t}`,{headers:{baseSystemType:"PUBLIC_WEBSITE"}}),P={user:null,userDonors:null,jwt:null,userStatus:null,loggedInTime:null,loginPopup:!1,donateAs:null},B={setUser(t,a){t.user=a,t.donateAs=a},setDonateAs(t,a){t.donateAs=a},setUserStatus(t,a){t.userStatus=a},setLoginPopupStatus(t,a){t.loginPopup=a},setUserDonors(t,a){t.userDonors=a},setJWT(t,a){t.jwt=a}
1,setLoginTime(t,a){t.loggedInTime=a}},E={async setUserStatus({commit:t},a){await t("setUserStatus",a)},async setLoginTime({commit:t},a){await t("setLoginTime",a)},async setLoginPopupStatus({commit:t},a){await t("setLoginPopupStatus",a)},async setDonateAs({commit:t},a){await t("setDonateAs",a);const e=await k();t("setUserDonors",e.data)},async login({commit:t,dispatch:a,rootState:e},s){a("setUserStatus","loading");const i=await d(s),o=Date.now()+864e5;if("error"===i)a("setUserStatus","error");else{a("setUserStatus","logging in"),t("setJWT",i.data),a("setLoginTime",o);const n=await m(s.username);await t("setUser",n.data);const r=await k();t("setUserDonors",r.data),a("setUserStatus","logged in"),e.mode.isApp&&a("initPushNotifications",{root:!0})}},async registerDonor({dispatch:t},a){t("setUserStatus","loading");const e=await p(a);return e&&await t("login",{username:a.username,password:a.password}),1},async forgotPassword({commit:t},a){const e=await u(a);return e},async resetPasswordVerify({commit:t},a){const e=await l(a);return e},async logout({commit:t,dispatch:a}){await t("setUser",null),await t("setJWT",null),await t("setLoginTime",null),await t("setUserDonors",null),await t("setUserStatus",null),await t("setDonateAs",null),await a("setUserTransactions",null,{root:!0}),await a("set18ATransactions",null,{root:!0}),await a("setOrganisationTransactions",null,{root:!0}),await a("setGroupTransactions",null,{root:!0}),await a("setUserDebitOrders",null,{root:!0}),await a("setUserDailySadaqah",null,{root:!0}),await a("setOrganisations",null,{root:!0}),await a("setGroups",null,{root:!0}),await a("setZakaat",null,{root:!0})},async updateUserDetails({commit:t},a){await g(a);const e=await m(a.email);t("setUser",e.data)},async updateUserAddress({commit:t},a){await A(a);const e=await m(a.email);t("setUser",e.data)},async updateUserSecondaryAddress({commit:t,state:a},e){await y(e);const s=await m(a.user.email);t("setUser",s.data)},async updateUserSecondaryEmail({commit:t,state:a},e){await f(e);const s=await m(a.user.email);t("setUser",s.data)},async updateUserSecondaryPhone({commit:t,state:a},e){await S(e);const s=await m(a.user.email);t("setUser",s.data)},async updateUserCredentials({commit:t},a){await b(a);const e=await m(a.email);t("setUser",e.data)},async volunteer({state:t},a){if(t.user)await D(a);else{const t=await w(a.userRegistrationDto.email);if(t.data)return"You are already a volunteer";await T(a)}},async saveProfileImage({_:t},a){await I(a)},async findUser({_:t},a){const e=await h(a);return e.data},async checkUserExists({_:t},a){const e=await w(a);return e.data},async verifyIDNumber({_:t},a){const e=await C(a);return e.data}},R={user:t=>t.user,userDonors:t=>t.userDonors,jwt:t=>t.jwt,userStatus:t=>t.userStatus,loginPopup:t=>t.loginPopup,loggedInTime:t=>t.loggedInTime,donateAs:t=>t.donateAs},v={state:P,mutations:B,actions:E,getters:R},L=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/transactions/count/users/find/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),z=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/transactions/count/taxCertificate/find/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),O=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/transactions/pledge/count/users/find/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),U=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/donor-group/count/all/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),G=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/organisations/count/users/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),j=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/zakaat/count/zakaatDetails/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),x={countDailySadaqa:0,countTransactions:0,countTaxCertificate:0,countPledge:0,countGroup:0,countOrganisations:0,countZakaat:0,countDailySadaqaStatus:"ready",countTransactionsStatus:"ready",countTaxCertificateStatus:"ready",countPledgeStatus:"ready",countGroupStatus:"ready",countOrganisationsStatus:"ready",countZakaatStatus:"ready"},M={setDailySadaqaCount(t,a){t.countDailySadaqa=a},setTransactionsCount(t,a){t.countTransactions=a},setTaxCertificateCount(t,a){t.countTaxCertificate=a},setPledgeCount(t,a){t.countPledge=a},setGroupCount(t,a){t.countGroup=a},setOrganisationsCount(t,a){t.countOrganisations=a},setZakaatCount(t,a){t.countZakaat=a},setDailySadaqaCountStatus(t,a){t.countDailySadaqaStatus=a},setTransactionsCountStatus(t,a){t.countTransactionsStatus=a},setTaxCertificateCountStatus(t,a){t.countTaxCertificateStatus=a},setPledgeCountStatus(t,a){t.countPledgeStatus=a},setGroupCountStatus(t,a){t.countGroupStatus=a},setOrganisationsCountStatus(t,a){t.countOrganisationsStatus=a},setZakaatCountStatus(t,a){t.countZakaatStatus=a}},N={getAllCounts({dispatch:t}){t("getRecurringDonationsCount",{root:!0}),t("getTransactionsCount"),t("getTaxCertificateCount"),t("getPledgeCount"),t("getGroupCount"),t("getOrganisationsCount"),t("getZakaatCount")},async getTransactionsCount({commit:t,rootState:a}){t("setTransactionsCountStatus","loading");const e=await L(a.user.user.userID);t("setTransactionsCount",e.data),t("setTransactionsCountStatus","ready")},async getTaxCertificateCount({commit:t,rootState:a}){t("setTaxCertificateCountStatus","loading");const e=await z(a.user.user.userID);t("setTaxCertificateCount",e.data),t("setTaxCertificateCountStatus","ready")},async getPledgeCount({commit:t,rootState:a}){t("setPledgeCountStatus","loading");const e=await O(a.user.user.userID);t("setPledgeCount",e.data),t("setPledgeCountStatus","ready")},async getGroupCount({commit:t,rootState:a}){t("setGroupCountStatus","loading");const e=await U(a.user.user.userID);t("setGroupCount",e.data),t("setGroupCountStatus","ready")},async getOrganisationsCount({commit:t,rootState:a}){t("setOrganisationsCountStatus","loading");const e=await G(a.user.user.userID);t("setOrganisationsCount",e.data),t("setOrganisationsCountStatus","ready")},async getZakaatCount({commit:t,rootState:a}){t("setZakaatCountStatus","loading");const e=await j(a.user.user.userID);t("setZakaatCount",e.data),t("setZakaatCountStatus","ready")}},W={countDailySadaqa:t=>t.countDailySadaqa,countTransactions:t=>t.countTransactions,countTaxCertificate:t=>t.countTaxCertificate,countPledge:t=>t.countPledge,countGroup:t=>t.countGroup,countOrganisations:t=>t.countOrganisations,countZakaat:t=>t.countZakaat,countDailySadaqaStatus:t=>t.countDailySadaqaStatus,countTransactionsStatus:t=>t.countTransactionsStatus,countTaxCertificateStatus:t=>t.countTaxCertificateStatus,countPledgeStatus:t=>t.countPledgeStatus,countGroupStatus:t=>t.countGroupStatus,countOrganisationsStatus:t=>t.countOrganisationsStatus,countZakaatStatus:t=>t.countZakaatStatus},Z={state:x,mutations:M,actions:N,getters:W};e(44114),e(18111),e(7588);const q=()=>c.A.get(`https://www.alimdaad.co.uk/adms/api/organisations/users/${Ci.state.user.user.userID}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`}}),F=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/users/user?userId=${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`}}),H=t=>c.A.post("https://www.alimdaad.co.uk/adms/api/organisations/save",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),V=t=>c.A.put(`https://www.alimdaad.co.uk/adms/api/organisations/image/upload/${t.organisationID}?base64String=${t.image}`,{},{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Q=t=>c.A.put("https://www.alimdaad.co.uk/adms/api/organisations/update",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),K=t=>c.A.put(`https://www.alimdaad.co.uk/adms/api/organisations/update/addresses/${t.organisationID}`,t.addressList,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),J=t=>c.A.put(`https://www.alimdaad.co.uk/adms/api/organisations/update/contactPeople/${t.organisationID}`,t.contactPeople,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Y=t=>c.A.delete(`https://www.alimdaad.co.uk/adms/api/organisations/remove/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),_={organisations:null,organisationsStatus:null},X={setOrganisations(t,a){t.organisations=a},setOrganisationStatus(t,a){t.organisationsStatus=a}},$={async setOrganisations({commit:t},a){await t("setOrganisations",a)},async fetchOrganisations({dispatch:t}){await t("setOrganisationStatus","loading");const a=await q(),e=[];a.data.length>0&&await a.data.forEach((t=>{t.archive||e.push(t)})),await t("setOrganisations",e),await t("setOrganisationStatus","ready")},async addOrganisation({dispatch:t},a){const e=await H(a);if(a.image){const s={organisationID:e.data.organisationID,image:a.image};await t("saveOrgImage",s)}await t("fetchOrganisations")},async saveOrgImage({_:t},a){await V(a)},async fetchOrganisationAdmin({_:t},a){const e=await F(a),s=e.data.firstName+" "+e.data.lastName;return s},async updateOrganisation({dispatch:t},a){await Q(a),await t("fetchOrganisations")},async saveOrgAddress({_:t},a){await K(a)},async saveOrgContactPeople({_:t},a){await J(a)},async setOrganisationStatus({commit:t},a){await t("setOrganisationStatus",a)},async deleteOrganisation({dispatch:t},a){await Y(a),await t("fetchOrganisations")}},tt={organisations:t=>t.organisations,organisationsStatus:t=>t.organisationsStatus},at={state:_,mutations:X,actions:$,getters:tt},et=async t=>c.A.post("https://www.alimdaad.co.uk/adms/api/donor-group/add",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),st=async t=>c.A.put("https://www.alimdaad.co.uk/adms/api/donor-group/edit",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),it=()=>c.A.get(`https://www.alimdaad.co.uk/adms/api/donor-group/all/${Ci.state.user.user.userID}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),ot=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/donor-group/members/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),nt=(t,a)=>c.A.post(`https://www.alimdaad.co.uk/adms/api/donor-group/inviteMembers/${t}/${a}`,{},{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),rt=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/users/donor/exists?aifID=${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),ct=t=>c.A.post(`https://www.alimdaad.co.uk/adms/api/donor-group/verifyInvite/${t}`,{},{headers:{baseSystemType:"PUBLIC_WEBSITE"}}),dt=t=>c.A.delete(`https://www.alimdaad.co.uk/adms/api/donor-group/delete/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),ut=t=>c.A.delete(`https://www.alimdaad.co.uk/adms/api/donor-group/${t.groupID}/members/${t.memberID}/leave`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),lt=t=>c.A.delete(`https://www.alimdaad.co.uk/adms/api/donor-group/${t.groupID}/members/${t.memberID}/remove`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),pt=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/donor-group/transactions/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),mt=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/donor-group/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),ht={groups:null,groupsStatus:null,groupMembersStatus:null,myGroups:null,otherGroups:null,groupMembers:null,groupTransactions:null,groupTransactionStatus:null,group:null},wt={setGroups(t,a){t.groups=a},setGroupStatus(t,a){t.groupsStatus=a},setMembersStatus(t,a){t.groupMembersStatus=a},setMyGroups(t,a){t.myGroups=a},setOtherGroups(t,a){t.otherGroups=a},setGroupMembers(t,a){t.groupMembers=a},setGroupTransaction(t,a){t.groupTransactions=a},setGroupTransactionStatus(t,a){t.groupTransactionStatus=a},setGroup(t,a){t.group=a}},bt={async setGroups({commit:t,dispatch:a,rootState:e},s){await a("setGroupStatus","loading");const i=[],o=[],n=[];s&&s.length>
10&&await s.forEach((t=>{t.donorGroupDeleted||(t.groupFounder.userID===e.user.user.userID?i.push(t):o.push(t),n.push(t))})),await t("setMyGroups",i),await t("setOtherGroups",o),await t("setGroups",n),await a("setGroupStatus","ready")},async createGroup({dispatch:t},a){await t("setGroupStatus","adding"),await et(a),await t("setGroupStatus","added"),await t("fetchGroups")},async editGroup({dispatch:t},a){await t("setGroupStatus","editing"),await st(a),await t("setGroupStatus","edited"),await t("fetchGroups")},async deleteGroup({dispatch:t},a){await t("setGroupStatus","deleting"),await dt(a),await t("setGroupStatus","deleted"),await t("fetchGroups")},async leaveGroup({dispatch:t},a){await t("setMembersStatus","removing"),await ut(a),await t("setMembersStatus","removed"),await t("fetchGroups")},async removeGroupMember({dispatch:t},a){await t("setMembersStatus","removing"),await lt(a),await t("fetchGroupMembers",a.groupID)},async fetchGroups({dispatch:t}){await t("setGroupStatus","loading");const a=await it();await t("setGroupStatus","ready"),await t("setGroups",a.data)},async setGroupStatus({commit:t},a){await t("setGroupStatus",a)},async addGroupMembers({dispatch:t},a){await t("setMembersStatus","adding"),await nt(a.groupID,a.email),await t("setMembersStatus","added")},async checkUser({dispatch:t},a){const e=await rt(a.email);!0===e.data?await t("addGroupMembers",a):await t("setMembersStatus","notFound")},async verifyInvite({dispatch:t},a){await t("setMembersStatus","joining");const e=await ct(a);!0===e.data?await t("setMembersStatus","ready"):await t("setMembersStatus","error")},async setMembersStatus({commit:t},a){await t("setMembersStatus",a)},async fetchGroupMembers({dispatch:t},a){await t("setMembersStatus","loading");const e=await ot(a);await t("setMembersStatus","ready"),await t("setMembers",e.data)},async setMembers({commit:t,dispatch:a},e){await a("setMembersStatus","loading"),await t("setGroupMembers",e),await a("setMembersStatus","ready")},async fetchGroupTransactions({dispatch:t},a){await t("setGroupTransactionStatus","loading");const e=await mt(a);await t("setGroup",e.data);const s=await pt(a);await t("setGroupTransactionStatus","ready"),await t("setGroupTransactions",s.data)},async setGroup({commit:t},a){await t("setGroup",a)},async setGroupTransactions({commit:t,dispatch:a},e){await a("setGroupTransactionStatus","loading"),await t("setGroupTransaction",e),await a("setGroupTransactionStatus","ready")},async setGroupTransactionStatus({commit:t},a){await t("setGroupTransactionStatus",a)}},gt={groups:t=>t.groups,myGroups:t=>t.myGroups,otherGroups:t=>t.otherGroups,groupsStatus:t=>t.groupsStatus,groupMembersStatus:t=>t.groupMembersStatus,groupMembers:t=>t.groupMembers,groupTransactions:t=>t.groupTransactions,group:t=>t.group,groupTransactionStatus:t=>t.groupTransactionStatus},At={state:ht,mutations:wt,actions:bt,getters:gt};var yt=e(38815);const ft=e(5419),St={pastZakaat:null,zakaatStatus:null},Dt={setPastZakaat(t,a){t.pastZakaat=a},setZakaatStatus(t,a){t.zakaatStatus=a}},Tt={async setZakaat({commit:t,dispatch:a},e){await a("setZakaatStatus","loading"),await t("setPastZakaat",e),await a("setZakaatStatus","ready")},async fetchPastZakaat({dispatch:t}){await t("setZakaatStatus","loading");const a=await(0,yt.hk)();await t("setZakaatStatus","ready"),await t("setZakaat",a.data)},async setZakaatStatus({commit:t},a){await t("setZakaatStatus",a)},async deleteZakaatDetails({dispatch:t},a){await(0,yt.Al)(a),await t("fetchPastZakaat")},async downloadZakaatSummary({rootState:t,dispatch:a},e){await(0,yt.r)(e).then((s=>{const i={data:s.data,fileName:`Alim-Zakaat-${e}.pdf`};t.mode.isApp?a("downloadFile",i,{root:!0}):ft(i.data,i.fileName)}))}},kt={pastZakaat:t=>{if(t.pastZakaat&&t.pastZakaat.length>0){const a=[...t.pastZakaat].sort(((t,a)=>a.spotPriceDate-t.spotPriceDate));return a}return t.pastZakaat},zakaatStatus:t=>t.zakaatStatus},It={state:St,mutations:Dt,actions:Tt,getters:kt};e(13579),e(14603),e(47566),e(98721);const Ct=t=>{const a=100,e=t||0;return c.A.get(`https://www.alimdaad.co.uk/adms/api/transactions/users/find/${Ci.state.user.user.userID}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"},params:{startPosition:e,pageSize:a,sortField:"transactionDate",sortOrder:"DESC"}})},Pt=(t,a,e)=>{const s=a||0,i=e||100;return c.A.get(`https://www.alimdaad.co.uk/adms/api/transactions/organisations/find/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"},params:{startPosition:s,pageSize:i,sortField:"transactionDate",sortOrder:"DESC"}})},Bt=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/donor-group/transactions/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Et=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/transactions/v2/canDownload/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Rt=(t=0,a=100)=>c.A.get(`https://www.alimdaad.co.uk/adms/api/transactions/taxCertificate/find/${Ci.state.user.user.userID}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"},params:{startPosition:t,pageSize:a,sortField:"transactionDate",sortOrder:"DESC"}}),vt=t=>{let a={};return null!==Ci.state.user.jwt&&(a={Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}),c.A.get(`https://www.alimdaad.co.uk/adms/api/transactions/v2/receipts/download/${t}`,{headers:a,responseType:"blob"})},Lt=t=>{let a={};return null!==Ci.state.user.jwt&&(a={Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}),c.A.get(`https://www.alimdaad.co.uk/adms/api/transactions/receipts/email/${t}`,{headers:a,responseType:"blob"})},zt=t=>{let a={};return null!==Ci.state.user.jwt&&(a={Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}),c.A.put("https://www.alimdaad.co.uk/adms/api/transactions/receipt/selection/download",t,{headers:a,responseType:"blob"})},Ot=()=>{let t={};const a={userID:Ci.state.user.user.userID};return null!==Ci.state.user.jwt&&(t={Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}),c.A.put("https://www.alimdaad.co.uk/adms/api/transactions/receipt/summary/all",a,{headers:t,responseType:"blob"})},Ut=t=>{let a={};return null!==Ci.state.user.jwt&&(a={Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}),c.A.get(`https://www.alimdaad.co.uk/adms/api/transactions/v2/taxCertificate/download/${t}`,{headers:a,responseType:"blob"})},Gt=t=>{let a={};return null!==Ci.state.user.jwt&&(a={Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}),c.A.post("https://www.alimdaad.co.uk/adms/api/transactions/v2/taxCertificate/selection/download",t,{headers:a,responseType:"blob"})},jt=t=>{let a={};return null!==Ci.state.user.jwt&&(a={Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}),c.A.post("https://www.alimdaad.co.uk/adms/api/transactions/v2/taxCertificate/between/dates",t,{headers:a,responseType:"blob"})},xt=()=>{let t={};const a={userID:Ci.state.user.user.userID};return null!==Ci.state.user.jwt&&(t={Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}),c.A.put("https://www.alimdaad.co.uk/adms/api/transactions/v2/taxCertificate/summary/all",a,{headers:t,responseType:"blob"})},Mt=()=>c.A.get(`https://www.alimdaad.co.uk/adms/api/debitOrders/user/${Ci.state.user.user.userID}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Nt=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/lookup/banks/universal/all",{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Wt=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/lookup/banks/all",{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Zt=()=>c.A.get(`https://www.alimdaad.co.uk/adms/api/debitOrders/dailySadaqa/user/${Ci.state.user.user.userID}?startPosition=1&pageSize=100&sortField=transactionID&sortOrder=ASC`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),qt=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/debitOrders/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Ft=t=>c.A.put(`https://www.alimdaad.co.uk/adms/api/debitOrders/stop/${t}?reason=stopitfromsite`,{},{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Ht=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/debitOrders/summary/breakdown/download/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"},responseType:"blob"}),Vt=t=>c.A.post("https://www.alimdaad.co.uk/adms/api/debitOrders/za/update",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Qt=e(5419),Kt=(t,a)=>t.debitOrderID<a.debitOrderID?1:t.debitOrderID>a.debitOrderID?-1:0,Jt={transactions:[],userTransactions:[],organisationTransactions:[],userGroupTransactions:[],pledges:[],debitOrders:null,dailySadaqah:null,debitOrdersStatus:null,dailySadaqahStatus:null,organisationTransactionsStatus:null,userGroupTransactionsStatus:null,userTransactionsStatus:null,section18ATransactionsStatus:null,section18ATransactions:null,emailReceiptStatus:null,downloadReceiptStatus:null,bankOptions:null,bankAllOptions:null},Yt={setUserTransactions(t,a){const e=[];a&&a.length>0?t.userTransactions&&t.userTransactions.length>
10?(a.forEach((a=>{t.userTransactions.some((t=>t.transactionID===a.transactionID))||e.push(a)})),t.userTransactions=e.concat(t.userTransactions)):t.userTransactions=a:t.userTransactions=e},setOrganisationTransactions(t,a){const e=[];a&&a.length>0?t.organisationTransactions&&t.organisationTransactions.length>0?(a.forEach((a=>{t.organisationTransactions.some((t=>t.transactionID===a.transactionID))||e.push(a)})),t.organisationTransactions=e.concat(t.organisationTransactions)):t.organisationTransactions=a:t.organisationTransactions=e},setGroupTransactions(t,a){const e=[];a&&a.length>0?t.userGroupTransactions&&t.userGroupTransactions.length>0?(a.forEach((a=>{t.userGroupTransactions.some((t=>t.transactionID===a.transactionID))||e.push(a)})),t.userGroupTransactions=e.concat(t.userGroupTransactions)):t.userGroupTransactions=a:t.userGroupTransactions=e},setTransactions(t){t.transactions=t.userTransactions.concat(t.organisationTransactions,t.userGroupTransactions).sort(((t,a)=>a.transactionDate-t.transactionDate))},setPledges(t,a){const e=[];a&&a.length>0?t.pledges&&t.pledges.length>0?(a.forEach((a=>{t.pledges.some((t=>t.transactionID===a.transactionID))||e.push(a)})),t.pledges=e.concat(t.pledges)):t.pledges=a:t.pledges=e},setBankOptions(t,a){t.bankOptions=a},setBankAllOptions(t,a){t.bankAllOptions=a},setDailySadaqah(t,a){t.dailySadaqah=a||null},setDebitOrders(t,a){t.debitOrders=a||null},setDebitOrdersStatus(t,a){t.debitOrdersStatus=a},setDailySadaqahStatus(t,a){t.dailySadaqahStatus=a},setOrganisationTransactionsStatus(t,a){t.organisationTransactionsStatus=a},setUserTransactionsStatus(t,a){t.userTransactionsStatus=a},setGroupTransactionsStatus(t,a){t.userGroupTransactionsStatus=a},set18ATransactions(t,a){const e=[];a&&a.length>0?t.section18ATransactions&&t.section18ATransactions.length>0?(a.forEach((a=>{t.section18ATransactions.some((t=>t.transactionID===a.transactionID))||e.push(a)})),t.section18ATransactions=e.concat(t.section18ATransactions)):t.section18ATransactions=a:t.section18ATransactions=e},set18ATransactionsStatus(t,a){t.section18ATransactionsStatus=a},setEmailReceiptStatus(t,a){t.emailReceiptStatus=a},setDownloadReceiptStatus(t,a){t.downloadReceiptStatus=a}},_t={async setDebitOrdersStatus({commit:t},a){await t("setDebitOrdersStatus",a)},async fetchBankOptions({commit:t}){const a=await Nt();await t("setBankOptions",a.data)},async fetchBankAllOptions({commit:t}){const a=await Wt();await t("setBankAllOptions",a.data)},async setDailySadaqahStatus({commit:t},a){await t("setDailySadaqahStatus",a)},async setOrganisationTransactionsStatus({commit:t},a){await t("setOrganisationTransactionsStatus",a)},async setUserTransactionsStatus({commit:t},a){await t("setUserTransactionsStatus",a)},async setGroupTransactionsStatus({commit:t},a){await t("setGroupTransactionsStatus",a)},async setUserTransactions({commit:t},a){const e=[],s=[];a&&a.length>0&&a.forEach((t=>{1===t.paymentOption.paymentID||5===t.paymentOption.paymentID||11!==t.transactionStatus.transactionStatusID&&1!==t.transactionStatus.transactionStatusID?3!==t.transactionStatus.transactionStatusID&&6!==t.transactionStatus.transactionStatusID&&7!==t.transactionStatus.transactionStatusID&&8!==t.transactionStatus.transactionStatusID&&e.push(t):s.push(t)})),await t("setUserTransactions",e),await t("setPledges",s),await t("setTransactions")},async fetchUserTransactions({dispatch:t},a){t("setUserTransactionsStatus","loading");const e=await Ct(a);e&&e.data&&await t("setUserTransactions",e.data),await t("setUserTransactionsStatus","ready")},async set18ATransactionsStatus({commit:t},a){await t("set18ATransactionsStatus",a)},async set18ATransactions({commit:t},a){await t("set18ATransactions",a)},async fetch18ATransactions({dispatch:t},a){t("set18ATransactionsStatus","loading");const e=await Rt();await t("set18ATransactions",e.data),await t("set18ATransactionsStatus","ready")},async check18A({_:t},a){const e=await Et(a);return e.data},async downloadSection18({rootState:t,dispatch:a},e){await Ut(e).then((s=>{const i={data:s.data,fileName:`18A-${t.user.user.donorID}-${e}.pdf`};t.mode.isApp?a("downloadFile",i,{root:!0}):Qt(i.data,i.fileName)}))},async downloadMultipleSection18({rootState:t,dispatch:a},e){await Gt(e).then((e=>{const s={data:e.data,fileName:"Alim-TaxCertificate.zip"};t.mode.isApp?a("downloadZip",s,{root:!0}):Qt(s.data,s.fileName)}))},async downloadDatesSection18({rootState:t,dispatch:a},e){await jt(e).then((s=>{if("application/pdf"===s.headers["content-type"]){const i={data:s.data,fileName:`Alim-TaxCertificate${e.startDate}_${e.endDate}.pdf`};t.mode.isApp?a("downloadFile",i,{root:!0}):Qt(i.data,i.fileName)}if("application/zip"===s.headers["content-type"]){const i={data:s.data,fileName:`Alim-TaxCertificate${e.startDate}_${e.endDate}.zip`};t.mode.isApp?a("downloadZip",i,{root:!0}):Qt(i.data,i.fileName)}}))},async downloadSection18Summary({rootState:t,dispatch:a},e){await xt().then((e=>{if("application/pdf"===e.headers["content-type"]){const s={data:e.data,fileName:"Alim-TaxCertificateSummary.pdf"};t.mode.isApp?a("downloadFile",s,{root:!0}):Qt(s.data,s.fileName)}if("application/zip"===e.headers["content-type"]){const s={data:e.data,fileName:"Alim-TaxCertificateSummary.zip"};t.mode.isApp?a("downloadZip",s,{root:!0}):Qt(s.data,s.fileName)}}))},async setOrganisationTransactions({commit:t},a){const e=[],s=[];a&&a.length>0&&a.forEach((t=>{1===t.paymentOption.paymentID||5===t.paymentOption.paymentID||11!==t.transactionStatus.transactionStatusID&&1!==t.transactionStatus.transactionStatusID?3!==t.transactionStatus.transactionStatusID&&6!==t.transactionStatus.transactionStatusID&&7!==t.transactionStatus.transactionStatusID&&8!==t.transactionStatus.transactionStatusID&&e.push(t):s.push(t)})),await t("setOrganisationTransactions",e),await t("setPledges",s),await t("setTransactions")},async fetchOrganisationTransactions({dispatch:t},a){t("setOrganisationTransactionsStatus","loading");const e=await Pt(a);await t("setOrganisationTransactions",e.data),await t("setOrganisationTransactionsStatus","ready")},async setGroupTransactions({commit:t},a){const e=[],s=[];a&&a.length>0&&a.forEach((t=>{1===t.paymentOption.paymentID||5===t.paymentOption.paymentID||11!==t.transactionStatus.transactionStatusID&&1!==t.transactionStatus.transactionStatusID?3!==t.transactionStatus.transactionStatusID&&6!==t.transactionStatus.transactionStatusID&&7!==t.transactionStatus.transactionStatusID&&8!==t.transactionStatus.transactionStatusID&&e.push(t):s.push(t)})),await t("setGroupTransactions",e),await t("setPledges",s),await t("setTransactions")},async fetchGroupTransactions({dispatch:t},a){t("setGroupTransactionsStatus","loading");const e=await Bt(a);await t("setGroupTransactions",e.data),await t("setGroupTransactionsStatus","ready")},async printTransactionReceipt({_:t},a){await vt(a).then((t=>{const a=URL.createObjectURL(t.data);window.open(a)}))},async downloadTransactionReceipt({rootState:t,dispatch:a},e){await a("setDownloadReceiptStatus","downloading");let s=`AIF${e.userID}`;e.organisationID&&(s=e.organisationID),await vt(e.transactionID).then((i=>{const o={data:i.data,fileName:`${s}_${e.transactionReference}.pdf`};t.mode.isApp?a("downloadFile",o,{root:!0}):Qt(o.data,o.fileName)})),await a("setDownloadReceiptStatus","downloaded"),setTimeout((()=>{a("setDownloadReceiptStatus",null)}),2e3)},async setEmailReceiptStatus({commit:t},a){await t("setEmailReceiptStatus",a)},async setDownloadReceiptStatus({commit:t},a){await t("setDownloadReceiptStatus",a)},async emailTransactionReceipt({dispatch:t},a){await t("setEmailReceiptStatus","sending"),await Lt(a),await t("setEmailReceiptStatus","sent"),setTimeout((()=>{t("setEmailReceiptStatus",null)}),2e3)},async printSummaryAll({_:t},a){await Ot().then((t=>{const a=URL.createObjectURL(t.data);window.open(a)}))},async downloadSummaryAll({rootState:t,dispatch:a},e){await Ot(e).then((e=>{const s={data:e.data,fileName:"Alim-Summary.pdf"};t.mode.isApp?a("downloadFile",s,{root:!0}):Qt(s.data,s.fileName)}))},async downloadMultipleTransactionReceipt({rootState:t,dispatch:a},e){await zt(e).then((e=>{const s={data:e.data,fileName:"AlimReceipts.zip"};t.mode.isApp?a("downloadZip",s,{root:!0}):Qt(s.data,s.fileName)}))},async setUserDebitOrders({commit:t},a){await t("setDebitOrders",a)},async fetchUserDebitOrders({dispatch:t}){t("setDebitOrdersStatus","loading");const a=await Mt(),e=[];a.data&&a.data.forEach((t=>{1!==t.debitOrderStatus.debitOrderStatusID&&2!==t.debitOrderStatus.debitOrderStatusID||t.dailySadaqa||e.push(t)})),e.sort(Kt),await t("setUserDebitOrders",e),await t("setDebitOrdersStatus","ready")},async fetchDebitOrderDetails({_:t},a){const e=await qt(a);return e},async stopDebitOrder({_:t},a){await Ft(a)},async updateDebitOrder({dispatch:t},a){await t("setDebitOrdersStatus","updating"),await Vt(a),await t("setDebitOrdersStatus","updated"),await t("fetchUserDebitOrders")},async downloadDebitOrderDetails({rootState:t,dispatch:a},e){await Ht(e).then((s=>{const i={data:s.data,fileName:`Alim-Receipt${e}.pdf`};t.mode.isApp?a("downloadFile",i,{root:!0}):Qt(i.data,i.fileName)}))},async setUserDailySadaqah({commit:t},a){await t("setDailySadaqah",a)},async fetchUserDailySadaqah({dispatch:t}){t("setDailySadaqahStatus","loading");const a=await Zt();await t("setUserDailySadaqah",a.data),await t("setDailySadaqahStatus","ready")}},Xt={transactions:t=>t.transactions,userTransactions:t=>t.userTransactions,organisationTransactions:t=>t.organisationTransactions,userGroupTransactions:t=>t.userGroupTransactions,debitOrders:t=>t.debitOrders,dailySadaqah:t=>t.dailySadaqah,debitOrdersStatus:t=>t.debitOrdersStatus,dailySadaqahStatus:t=>t.dailySadaqahStatus,organisationTransactionsStatus:t=>t.organisationTransactionsStatus,userGroupTransactionsStatus:t=>t.userGroupTransactionsStatus,userTransactionsStatus:t=>t.userTransactionsStatus,section18ATransactionsStatus:t=>t.section18ATransactionsStatus,bankOptions:t=>t.bankOptions,bankAllOptions:t=>t.bankAllOptions,pledges:t=>t.pledges,emailReceiptStatus:t=>t.emailReceiptStatus,downloadReceiptStatus:t=>t.downloadReceiptStatus,section18ATransactions:t=>(t.section18ATransactions&&t.section18ATransactions.length>0&&t.section18ATransactions.sort(((t,a)=>a.transactionDate-t.transactionDate)),t.section18ATransactions)},$t={state:Jt,mutations:Yt,actions:_t,getters:Xt};e(20116);const ta={cart:[],newCart:[],giftAid:!1},aa={addToCart(t,a){if(t.newCart=[],t.newCart.push(a),t.cart.length>0){const e=t.cart.findIndex((t=>t.projectId===a.projectId));if(a.plaqueDescription&&""!==a.plaqueDescription)t.cart.push(a);else if(e>=0&&(!t.cart[e].plaqueDescription||""!==t.cart[e].plaqueDescription)){const s=parseFloat(t.cart[e].amount),i=parseFloat(a.amount),o=s+i;
1t.cart[e].amount=o.toString(),t.cart[e].donationTypes.forEach(((t,e)=>{let s=0;t.amount&&(s=parseFloat(t.amount));let i=0;a.donationTypes[e].amount&&(i=parseFloat(a.donationTypes[e].amount));const o=s+i;t.amount=o>0?o.toString():null}))}else t.cart.push(a)}else t.cart.push(a)},clearCart(t){t.cart=[]},setGiftAid(t,a){t.giftAid=a},editCart(t,a){t.cart[a.key]=a.item},updateCart(t,a){t.cart=a},deleteCartItem(t,a){t.cart.splice(a,1)}},ea={addToCart({commit:t,rootGetters:a},e){if(t("addToCart",e),"undefined"!==typeof window&&window.dataLayer){const t=a.contentProjects.find((t=>t.id===e.projectId));window.dataLayer.push({event:"add_to_cart",item_id:e.projectId,item_name:t?t.name:String(e.projectId),value:e.amount,currency:"£"===e.currency?"GBP":"ZAR"})}},clearCart({commit:t}){t("clearCart")},setGiftAid({commit:t},a){t("setGiftAid",a)},editCart({commit:t},a){let e=0;a.item.donationTypes.forEach((t=>{e+=Number(t.amount)})),a.item.amount=e,t("editCart",a)},updateCart({commit:t},a){t("clearCart"),t("updateCart",a)},deleteCartItem({commit:t}
1,a){t("deleteCartItem",a)}},sa={cart:t=>t.cart,newCart:t=>t.newCart},ia={state:ta,mutations:aa,actions:ea,getters:sa},oa=(t,a,e)=>c.A.post("https://www.alimdaad.co.uk/adms/api/donations/initiate/payFast/creditCard",{transactionReference:t,returnUrl:a,cancelUrl:a.replace(/paymentcomplete.*/,"paymentcancelled"),notifyUrl:"https://www.alimdaad.co.uk/adms/api/donations/call-back/pay-fast",captchaToken:e,additionalPaymentOptionsEnabled:!0},{headers:{baseSystemType:"PUBLIC_WEBSITE"}}),na=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/donations/creditCard/payFast/verify/${t}`,{headers:{baseSystemType:"PUBLIC_WEBSITE"}}),ra=(t,a)=>{let e={};return e=null!==Ci.state.user.jwt?{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}:{baseSystemType:"PUBLIC_WEBSITE"},c.A.get(`https://www.alimdaad.co.uk/adms/api/transactions/v2/receipts/download/${t}`,{headers:e,responseType:"blob"})},ca=(t,a,e,s)=>{let i=null;Ci.state.cart.giftAid?i=Ci.state.cart.giftAid:s&&(i=s.giftAid);const o={id:t||0,email:a,donationDtoList:e,giftAid:i,sponsored:s.sponsored,ownMoney:s.ownMoney,paymentOption:s.paymentOption,anonymousDonorDTO:s.anonymousDetails,bankAccountID:s.bankAccountID};return a?(o.userID=Ci.state.user.user.userID,c.A.post("https://www.alimdaad.co.uk/adms/api/donations/v2/withDonorProfile",o,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}})):c.A.post("https://www.alimdaad.co.uk/adms/api/donations/v2/anonymous",o,{headers:{baseSystemType:"PUBLIC_WEBSITE"}})},da=(t,a)=>{const e={transactionDTO:{donationDtoList:t,userID:a.userID,paymentOption:a.paymentOption},groupID:a.groupID,madeByFounder:!0};return c.A.post("https://www.alimdaad.co.uk/adms/api/donor-group/donation",e,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}})},ua=t=>c.A.post("https://www.alimdaad.co.uk/adms/api/donations/v2/withDonorProfile",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),la=t=>c.A.post("https://www.alimdaad.co.uk/adms/api/debitOrders/save",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),pa=t=>c.A.post("https://www.alimdaad.co.uk/adms/api/debitOrders/za/save",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),ma=e(5419),ha={lastTransactionId:null,lastTransactionRef:null,lastTransaction:null},wa={setLastTransactionId(t,a){t.lastTransactionId=a},setLastTransaction(t,a){t.lastTransaction=a},setLastTransactionRef(t,a){t.lastTransactionRef=a},clearLastTransactionRef(t){t.lastTransactionRef=null}},ba={async getTransactionReference({commit:t,getters:a},e){let s=null;const i=a.user?a.user.email:"",o=[];let n=1;return"R"!==e.cart[0].currency&&(n=3),e.groupID?(e.cart.forEach((t=>{let e={};t.donationTypes.forEach((s=>{if(s.amount&&s.amount>0){const i=s.type?s.type.donationType.donationTypeID:null;e={donorID:a.user?a.user.donorID:"",amount:s.amount,donationTypeID:i,projectID:t.projectId?t.projectId:null,notes:t.comment||"",paymentGatewayResponse:"",currencyId:n},o.push(e)}}))})),s=await da(o,e)):a.user?e.cart.forEach((t=>{let e={};t.donationTypes.forEach((s=>{if(s.amount&&s.amount>0){const r=s.type?s.type.donationType.donationTypeID:null;let c=!1;t.plaqueDescription&&(c=!0),e={email:i,donorID:a.user?a.user.donorID:"",amount:s.amount,donationTypeID:r,projectID:t.projectId?t.projectId:null,notes:t.comment||"",personalizedPlaque:c,plaqueDescription:t.plaqueDescription,paymentGatewayResponse:"",currencyId:n},o.push(e)}}))})):e.cart.forEach((t=>{let e={};t.donationTypes.forEach((s=>{if(s.amount&&s.amount>0){const r=s.type?s.type.donationType.donationTypeID:null;let c=!1;t.plaqueDescription&&(c=!0),e={email:i,donorID:a.user?a.user.donorID:"",amount:s.amount,donationTypeID:r,projectID:t.projectId?t.projectId:null,notes:t.comment||"",personalizedPlaque:c,plaqueDescription:t.plaqueDescription,paymentGatewayResponse:"",currencyId:n},o.push(e)}}))})),s=await ca(0,i,o,e),t("setLastTransactionRef",s.data.transactionReference),t("setLastTransactionId",s.data.id),t("setLastTransaction",s.data),s},async checkout({dispatch:t},a){return await t("initiateStripePayment",a,{root:!0})},async bankDonationOnceOff({_:t},a){const e=await ua(a);return e},async bankDonationRecurring({_:t},a){const e=await la(a);return e},async debitOrdersZA({dispatch:t},a){const e=await pa(a);return t("clearCart",{root:!0}),t("fetchUserDebitOrders",{root:!0}),e},getReceiptUrl({state:t,rootState:a,dispatch:e},s){let i=`AIF${t.lastTransaction.userID}`;t.lastTransaction.organisationID&&(i=t.lastTransaction.organisationID),ra(t.lastTransactionId,s).then((s=>{const o={data:s.data,fileName:`${i}_${t.lastTransaction.transactionReference}.pdf`};a.mode.isApp&&e("downloadFile",o,{root:!0}),ma(s.data,`${i}_${t.lastTransaction.transactionReference}.pdf`)}))}},ga={lastTransactionRef:t=>t.lastTransactionRef},Aa={state:ha,mutations:wa,actions:ba,getters:ga};e(22489),e(61701);const ya=(t,a)=>{const e=t||0,s=a||1e3;return c.A.get("https://www.alimdaad.co.uk/adms/api/posters/all",{params:{startPosition:e,pageSize:s,sortField:"lastModified",sortOrder:"DESC"}})},fa=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/posters/live"),Sa=(t,a)=>{const e=t||0,s=a||1e3;return c.A.get("https://www.alimdaad.co.uk/adms/api/projects/all",{params:{startPosition:e,pageSize:s,sortField:"priority",sortOrder:"DESC"}})},Da=(t,a)=>{const e=t||0,s=a||1e3;return c.A.get("https://www.alimdaad.co.uk/adms/api/projects/types",{params:{startPosition:e,pageSize:s,sortField:"name",sortOrder:"ASC"}})},Ta=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/galleries/${t}/`),ka=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/projects/admin/withDonationTypes"),Ia=(t,a)=>t.length?t.map((t=>({...a.find((a=>a.projectID===t.adminProjectId)),...t}))):[],Ca={allProjects:[],contentProjects:[],adminProjects:[],projects:[],projectsWithDonationTypes:[],projectTypes:[],posters:[],visiblePosters:[],currentPosters:[],projectGallery:[],suggestedPrice:[]},Pa={setProjects(t,a){t.allProjects=a,t.allProjects.filter((a=>!!a.currentAppeal&&(t.projects.push(a),!0)))},setProjectsWithDonationTypes(t,a){t.projectsWithDonationTypes=a},setProjectTypes(t,a){t.projectTypes=a},setContentProjects(t,a){a.filter((a=>!!a.currentAppeal&&(t.contentProjects.push(a),!0)))},setAdminProjects(t,a){a.filter((a=>!a.archive&&(t.adminProjects.push(a),!0)))},setSuggestedPrice(t,a){a.filter((a=>!!a.suggestedPrice&&(t.suggestedPrice.push(a),!0)))},setPosters(t,a){if(t.posters=a,t.currentPosters=[],t.posters.length<1)return!1;t.posters.filter((a=>!!a.isVisible&&(!!a.project&&(!!a.currentAppeal&&(!a.currentAppeal||(t.currentPosters.push(a),!1))))))},setSliderPosters(t,a){t.visiblePosters=a},setProjectGallery(t,a){t.projectGallery=a}},Ba={fetchProjects({commit:t}){Promise.all([Sa(),ka()]).then((([a,e])=>{t("setProjectsWithDonationTypes",e.data);const s=Ia(a.data,e.data);t("setProjects",s)}))},getContentProjects({commit:t}){Sa().then((a=>{t("setContentProjects",a.data)}))},getAdminProjects({commit:t}){ka().then((a=>{t("setAdminProjects",a.data),t("setSuggestedPrice",a.data)}))},fetchMoreProjects({commit:t,state:a},{start:e,count:s}){Sa(e,s).then((e=>{const s=Ia(e.data,a.projectsWithDonationTypes);t("setProjects",[...s,...a.allProjects])}))},setProjectTypes({commit:t},a){t("setProjectTypes",a)},fetchProjectTypes({dispatch:t}){Da().then((a=>{t("setProjectTypes",a.data)}))},setPosters({commit:t},a){t("setPosters",a)},fetchPosters({dispatch:t}){ya().then((a=>{t("setPosters",a.data)}))},fetchSliderPosters({commit:t}){fa().then((a=>{t("setSliderPosters",a.data)}))},setGallery({commit:t},a){t("setProjectGallery",a)},fetchGalleries({dispatch:t},a){Ta(a).then((a=>{t("setGallery",a.data)}))}},Ea={projects:t=>t.projects,allProjects:t=>t.allProjects,projectsWithDonationTypes:t=>t.projectsWithDonationTypes,projectTypes:t=>t.projectTypes,posters:t=>t.posters,visiblePosters:t=>t.visiblePosters,currentPosters:t=>t.currentPosters,projectGallery:t=>t.projectGallery,contentProjects:t=>t.contentProjects,adminProjects:t=>t.adminProjects,suggestedPrice:t=>t.suggestedPrice},Ra={state:Ca,mutations:Pa,actions:Ba,getters:Ea},va=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/lookup/donationTypes/all"),La=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/lookup/currencies/all"),za=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/lookup/correspondances/notificationType"),Oa=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/lookup/correspondances/marketing"),Ua=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/lookup/userTitle/all"),Ga=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/lookup/countries/all"),ja=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/lookup/bankAccounts/all"),xa={titles:[],countries:[],donationTypes:[],correspondenceOptions:[],marketingCorrespondenceOptions:[],currencies:[],bankAccounts:[]},Ma={setTitles(t,a){t.titles=a},setCorrespondence(t,a){t.correspondenceOptions=a},setMarketingCorrespondence(t,a){t.marketingCorrespondenceOptions=a},setCountries(t,a){t.countries=a},setDonationTypes(t,a){t.donationTypes=a},setCurrencies(t,a){t.currencies=a},setBankAccounts(t,a){t.bankAccounts=a}},Na={setTitles({commit:t},a){t("setTitles",a)},fetchTitles({dispatch:t}){Ua().then((a=>{t("setTitles",a.data)}))},setBankAccounts({commit:t},a){t("setBankAccounts",a)},fetchBankAccounts({dispatch:t}){ja().then((a=>{t("setBankAccounts",a.data)}))},setCorrespondence({commit:t},a){t("setCorrespondence",a)},setMarketingCorrespondence({commit:t},a){t("setMarketingCorrespondence",a)},fetchCorrespondence({dispatch:t}){za().then((a=>(t("setCorrespondence",a.data),a.data)))},fetchMarketingCorrespondence({dispatch:t}){Oa().then((a=>(t("setMarketingCorrespondence",a.data),a.data)))},setCountries({commit:t},a){t("setCountries",a)},fetchCountries({dispatch:t}){Ga().then((a=>{t("setCountries",a.data)}))},setDonationTypes({commit:t},a){t("setDonationTypes",a)},fetchDonationTypes({dispatch:t}){va().then((a=>{t("setDonationTypes",a.data)}))},setCurrencies({commit:t},a){t("setCurrencies",a)},fetchCurrencies({dispatch:t}){La().then((a=>{t("setCurrencies",a.data)}))}},Wa={titles:t=>t.titles,countries:t=>t.countries,donationTypes:t=>t.donationTypes,correspondenceOptions:t=>t.correspondenceOptions,marketingCorrespondenceOptions:t=>t.marketingCorrespondenceOptions,currencies:t=>t.currencies,bankAccounts:t=>t.bankAccounts},Za={state:xa,mutations:Ma,actions:Na,getters:Wa},qa=(t,a)=>{const e=t||0,s=a||10;return c.A.get("https://www.alimdaad.co.uk/adms/api/news",{params:{startPosition:e,pageSize:s,sortField:"priority",sortOrder:"DESC"}})},Fa={news:[]},Ha={setNews(t,a){t.news=a}},Va={setNews({commit:t},a){t("setNews",a)},fetchNews({dispatch:t}){qa().then((a=>{t("setNews",a.data)}))}},Qa={news:t=>t.news},Ka={state:Fa,mutations:Ha,actions:Va,getters:Qa},Ja={activeSlider:{},showOptions:!0,isInteracted:!1},Ya={setActiveSlider(t,a){t.showOptions=!1,a&&(t.activeSlider=a,setTimeout((()=>{t.showOptions=!0}),50))},setInteracted(t,a){t.isInteracted=a}},_a={setActiveSlider({commit:t},a){t("setActiveSlider",a)},setInteracted({commit:t},a){t("setInteracted",a)}},Xa={activeSlider:t=>t.activeSlider,showOptions:t=>t.showOptions,isInteracted:t=>t.isInteracted},$a={state:Ja,mutations:Ya,actions:_a,getters:Xa},te={currentZakaah:{},zakaatAssets:{},commodities:[],cashAssets:[],policyAssets:[],investmentAssets:[],businessAssets:[],debtorAssets:[],partnershipAssets:[],zakaatLiabilities:{},basicLiabilities:[],zakaatHomeLoanLiabilities:[],zakaatVehicleLiabilities:[],commoditiesTotal:0,cashAssetsTotal:0,policyAssetsTotal:0,investmentAssetsTotal:0,businessAssetsTotal:0,debtorAssetsTotal:0,partnershipAssetsTotal:0,basicLiabilitiesTotal:0,zakaatHomeLoanLiabilitiesTotal:0,zakaatVehicleLiabilitiesTotal:0,zakaatAssetsTotal:0,zakaatLiabilitiesTotal:0,pastZakaahs:[]},ae={setFromPast(t){t.zakaatAssets=t.currentZakaah.zakaatAssets,t.commodities=t.currentZakaah.zakaatAssets.commodities,t.cashAssets=t.currentZakaah.zakaatAssets.cashAssets,t.policyAssets=t.currentZakaah.zakaatAssets.policyAssets,t.investmentAssets=t.currentZakaah.zakaatAssets.investmentAssets,t.businessAssets=t.currentZakaah.zakaatAssets.businessAssets,t.debtorAssets=t.currentZakaah.zakaatAssets.debtorAssets,t.partnershipAssets=t.currentZakaah.zakaatAssets.partnershipAssets,t.zakaatLiabilities=t.currentZakaah.zakaatLiabilities,t.basicLiabilities=t.currentZakaah.zakaatLiabilities.basicLiabilities,t.zakaatHomeLoanLiabilities=t.currentZakaah.zakaatLiabilities.zakaatHomeLoanLiabilities,t.zakaatVehicleLiabilities=t.currentZakaah.zakaatLiabilities.zakaatVehicleLiabilities},calculateAll(t){let a=0;
1t.commodities.forEach((t=>{a+=Number(t.amount)})),t.commoditiesTotal=a;let e=0;t.cashAssets.forEach((t=>{e+=Number(t.amount)})),t.cashAssetsTotal=e;let s=0;t.policyAssets.forEach((t=>{s+=Number(t.amount)})),t.policyAssetsTotal=s;let i=0;t.investmentAssets.forEach((t=>{i+=Number(t.amount)})),t.investmentAssetsTotal=i;let o=0;t.businessAssets.forEach((t=>{o+=Number(t.amount)})),t.businessAssetsTotal=o;let n=0;t.debtorAssets.forEach((t=>{n+=Number(t.amount)})),t.debtorAssetsTotal=n;let r=0;t.partnershipAssets.forEach((t=>{r+=Number(t.total)})),t.partnershipAssetsTotal=r,t.zakaatAssetsTotal=Number(t.partnershipAssetsTotal)+Number(t.debtorAssetsTotal)+Number(t.businessAssetsTotal)+Number(t.investmentAssetsTotal)+Number(t.policyAssetsTotal)+Number(t.cashAssetsTotal)+Number(t.commoditiesTotal);let c=0;t.basicLiabilities.forEach((t=>{c+=Number(t.amount)})),t.basicLiabilitiesTotal=c;let d=0;t.zakaatHomeLoanLiabilities.forEach((t=>{d+=Number(t.monthlyInstalments)})),t.zakaatHomeLoanLiabilitiesTotal=d;let u=0;t.zakaatVehicleLiabilities.forEach((t=>{u+=Number(t.monthlyInstalments)})),t.zakaatVehicleLiabilitiesTotal=u,t.zakaatLiabilitiesTotal=Number(t.zakaatVehicleLiabilitiesTotal)+Number(t.zakaatHomeLoanLiabilitiesTotal)+Number(t.basicLiabilitiesTotal)},setCommodities(t){t.zakaatAssets.commodities=t.commodities,t.currentZakaah.zakaatAssets=t.zakaatAssets;let a=0;t.commodities.forEach((t=>{a+=Number(t.amount)})),t.commoditiesTotal=a},addToCommodities(t,a){t.commodities.push(a)},clearCommodities(t){t.commodities=[]},editCommodities(t,a){t.commodities[a.key]=a.item},deleteCommoditiesItem(t,a){t.commodities.splice(a,1)},setMoney(t){t.zakaatAssets.cashAssets=t.cashAssets,t.currentZakaah.zakaatAssets=t.zakaatAssets;let a=0;t.cashAssets.forEach((t=>{a+=Number(t.amount)})),t.cashAssetsTotal=a},addToMoney(t,a){t.cashAssets.push(a),t.zakaatAssets.cashAssets=t.cashAssets,t.currentZakaah.zakaatAssets=t.zakaatAssets;let e=0;t.cashAssets.forEach((t=>{e+=Number(t.amount)})),t.cashAssetsTotal=e},clearMoney(t){t.cashAssets=[]},editMoney(t,a){t.cashAssets[a.key]=a.item},deleteMoneyItem(t,a){t.cashAssets.splice(a,1)},setPolicies(t){t.zakaatAssets.policyAssets=t.policyAssets,t.currentZakaah.zakaatAssets=t.zakaatAssets;let a=0;t.policyAssets.forEach((t=>{a+=Number(t.amount)})),t.policyAssetsTotal=a},addToPolicies(t,a){t.policyAssets.push(a)},clearPolicies(t){t.policyAssets=[]},editPolicies(t,a){t.policyAssets[a.key]=a.item},deletePoliciesItem(t,a){t.policyAssets.splice(a,1)},setInvestments(t){t.zakaatAssets.investmentAssets=t.investmentAssets,t.currentZakaah.zakaatAssets=t.zakaatAssets;let a=0;t.investmentAssets.forEach((t=>{a+=Number(t.amount)})),t.investmentAssetsTotal=a},addToInvestments(t,a){t.investmentAssets.push(a)},clearInvestments(t){t.investmentAssets=[]},editInvestments(t,a){t.investmentAssets[a.key]=a.item},deleteInvestmentsItem(t,a){t.investmentAssets.splice(a,1)},setBusiness(t){t.zakaatAssets.businessAssets=t.businessAssets,t.currentZakaah.zakaatAssets=t.zakaatAssets;let a=0;t.businessAssets.forEach((t=>{a+=Number(t.amount)})),t.businessAssetsTotal=a},addToBusiness(t,a){t.businessAssets.push(a)},clearBusiness(t){t.businessAssets=[]},editBusiness(t,a){t.businessAssets[a.key]=a.item},deleteBusinessItem(t,a){t.businessAssets.splice(a,1)},setDebtors(t){t.zakaatAssets.debtorAssets=t.debtorAssets,t.currentZakaah.zakaatAssets=t.zakaatAssets;let a=0;t.debtorAssets.forEach((t=>{a+=Number(t.amount)})),t.debtorAssetsTotal=a},addToDebtors(t,a){t.debtorAssets.push(a)},clearDebtors(t){t.debtorAssets=[]},editDebtors(t,a){t.debtorAssets[a.key]=a.item},deleteDebtorsItem(t,a){t.debtorAssets.splice(a,1)},setPartnership(t){t.zakaatAssets.partnershipAssets=t.partnershipAssets,t.currentZakaah.zakaatAssets=t.zakaatAssets;let a=0;t.partnershipAssets.forEach((t=>{a+=Number(t.total)})),t.partnershipAssetsTotal=a},addToPartnership(t,a){t.partnershipAssets.push(a)},clearPartnership(t){t.partnershipAssets=[]},editPartnership(t,a){t.partnershipAssets[a.key]=a.item},deletePartnershipItem(t,a){t.partnershipAssets.splice(a,1)},setGeneral(t){t.zakaatLiabilities.basicLiabilities=t.basicLiabilities,t.currentZakaah.zakaatLiabilities=t.zakaatLiabilities;let a=0;
1t.basicLiabilities.forEach((t=>{a+=Number(t.amount)})),t.basicLiabilitiesTotal=a},addToGeneral(t,a){t.basicLiabilities.push(a)},clearGeneral(t){t.basicLiabilities=[]},editGeneral(t,a){t.basicLiabilities[a.key]=a.item},deleteGeneralItem(t,a){t.basicLiabilities.splice(a,1)},setHome(t){t.zakaatLiabilities.zakaatHomeLoanLiabilities=t.zakaatHomeLoanLiabilities,t.currentZakaah.zakaatLiabilities=t.zakaatLiabilities;let a=0;t.zakaatHomeLoanLiabilities.forEach((t=>{a+=Number(t.monthlyInstalments)})),t.zakaatHomeLoanLiabilitiesTotal=a},addToHome(t,a){t.zakaatHomeLoanLiabilities.push(a)},clearHome(t){t.zakaatHomeLoanLiabilities=[]},editHome(t,a){t.zakaatHomeLoanLiabilities[a.key]=a.item},deleteHomeItem(t,a){t.zakaatHomeLoanLiabilities.splice(a,1)},setVehicle(t){t.zakaatLiabilities.zakaatVehicleLiabilities=t.zakaatVehicleLiabilities,t.currentZakaah.zakaatLiabilities=t.zakaatLiabilities;let a=0;t.zakaatVehicleLiabilities.forEach((t=>{a+=Number(t.monthlyInstalments)})),t.zakaatVehicleLiabilitiesTotal=a},addToVehicle(t,a){t.zakaatVehicleLiabilities.push(a)},clearVehicle(t){t.zakaatVehicleLiabilities=[]},editVehicle(t,a){t.zakaatVehicleLiabilities[a.key]=a.item},deleteVehicleItem(t,a){t.zakaatVehicleLiabilities.splice(a,1)},setZakaah(t,a){t.currentZakaah=a},clearZakaah(t){t.currentZakaah={}},editZakaah(t,a){t.currentZakaah[a.key]=a.item},deleteZakaahItem(t,a){t.currentZakaah[a]={}},setPastZakaahs(t,a){t.pastZakaahs=a}},ee={setFromPast({commit:t}){t("setFromPast")},addToCommodities({commit:t},a){t("addToCommodities",a),t("setCommodities"),t("calculateAll")},clearCommodities({commit:t}){t("clearCommodities"),t("setCommodities"),t("calculateAll")},editCommodities({commit:t},a){t("editCommodities",a),t("setCommodities"),t("calculateAll")},deleteCommoditiesItem({commit:t},a){t("deleteCommoditiesItem",a),t("setCommodities"),t("calculateAll")},addToMoney({commit:t},a){t("addToMoney",a),t("setMoney"),t("calculateAll")},clearMoney({commit:t}){t("clearMoney"),t("setMoney"),t("calculateAll")},editMoney({commit:t},a){t("editMoney",a),t("setMoney"),t("calculateAll")},deleteMoneyItem({commit:t},a){t("deleteMoneyItem",a),t("setMoney"),t("calculateAll")},addToPolicies({commit:t},a){t("addToPolicies",a),t("setPolicies"),t("calculateAll")},clearPolicies({commit:t}){t("clearPolicies"),t("setPolicies"),t("calculateAll")},editPolicies({commit:t},a){t("editPolicies",a),t("setPolicies"),t("calculateAll")},deletePoliciesItem({commit:t},a){t("deletePoliciesItem",a),t("setPolicies"),t("calculateAll")},addToInvestments({commit:t},a){t("addToInvestments",a),t("setInvestments"),t("calculateAll")},clearInvestments({commit:t}){t("clearInvestments"),t("setInvestments"),t("calculateAll")},editInvestments({commit:t},a){t("editInvestments",a),t("setInvestments"),t("calculateAll")},deleteInvestmentsItem({commit:t},a){t("deleteInvestmentsItem",a),t("setInvestments"),t("calculateAll")},addToBusiness({commit:t},a){t("addToBusiness",a),t("setBusiness"),t("calculateAll")},clearBusiness({commit:t}){t("clearBusiness"),t("setBusiness"),t("calculateAll")},editBusiness({commit:t},a){t("editBusiness",a),t("setBusiness"),t("calculateAll")},deleteBusinessItem({commit:t},a){t("deleteBusinessItem",a),t("setBusiness"),t("calculateAll")},addToDebtors({commit:t},a){t("addToDebtors",a),t("setDebtors"),t("calculateAll")},clearDebtors({commit:t}){t("clearDebtors"),t("setDebtors"),t("calculateAll")},editDebtors({commit:t},a){t("editDebtors",a),t("setDebtors"),t("calculateAll")},deleteDebtorsItem({commit:t},a){t("deleteDebtorsItem",a),t("setDebtors"),t("calculateAll")},addToPartnership({commit:t},a){t("addToPartnership",a),t("setPartnership"),t("calculateAll")},clearPartnership({commit:t}){t("clearPartnership"),t("setPartnership"),t("calculateAll")},editPartnership({commit:t},a){t("editPartnership",a),t("setPartnership"),t("calculateAll")},deletePartnershipItem({commit:t},a){t("deletePartnershipItem",a),t("setPartnership"),t("calculateAll")},addToGeneral({commit:t},a){t("addToGeneral",a),t("setGeneral"),t("calculateAll")},clearGeneral({commit:t}){t("clearGeneral"),t("setGeneral"),t("calculateAll")},editGeneral({commit:t},a){t("editGeneral",a),t("setGeneral"),t("calculateAll")},deleteGeneralItem({commit:t},a){t("deleteGeneralItem",a),t("setGeneral"),t("calculateAll")},addToHome({commit:t},a){t("addToHome",a),t("setHome"),t("calculateAll")},clearHome({commit:t}){t("clearHome"),t("setHome"),t("calculateAll")},editHome({commit:t},a){t("editHome",a),t("setHome"),t("calculateAll")},deleteHomeItem({commit:t},a){t("deleteHomeItem",a),t("setHome"),t("calculateAll")},addToVehicle({commit:t},a){t("addToVehicle",a),t("setVehicle"),t("calculateAll")},clearVehicle({commit:t}){t("clearVehicle"),t("setVehicle"),t("calculateAll")},editVehicle({commit:t},a){t("editVehicle",a),t("setVehicle"),t("calculateAll")},deleteVehicleItem({commit:t},a){t("deleteVehicleItem",a),t("setVehicle"),t("calculateAll")},async setZakaah({dispatch:t,commit:a},e){await a("setZakaah",e),await t("setFromPast"),await a("calculateAll")},clearZakaah({commit:t}){t("clearZakaah")},editZakaah({commit:t},a){let e=0;
1a.item.donationTypes.forEach((t=>{e+=Number(t.amount)})),a.item.amount=e,t("editZakaah",a)},deleteZakaahItem({commit:t},a){t("deleteZakaahItem",a)},async setPastZakaahs({dispatch:t,commit:a},e){await a("setPastZakaahs",e),await t("setFromPast")},fetchPastZakaahs({dispatch:t,rootState:a}){null!==a.user.user&&(0,yt.hk)().then((a=>{t("setPastZakaahs",a.data)}))},async saveZakaah({dispatch:t,rootState:a},e){null!==a.user.user?await(0,yt.Ok)(e):await(0,yt.aZ)(e),t("fetchPastZakaat",{root:!0})}},se={currentZakaah:t=>t.currentZakaah,zakaatAssets:t=>t.zakaatAssets,commodities:t=>t.commodities,cashAssets:t=>t.cashAssets,investmentAssets:t=>t.investmentAssets,policyAssets:t=>t.policyAssets,businessAssets:t=>t.businessAssets,debtorAssets:t=>t.debtorAssets,partnershipAssets:t=>t.partnershipAssets,pastZakaahs:t=>t.pastZakaahs,zakaatLiabilities:t=>t.zakaatLiabilities,basicLiabilities:t=>t.basicLiabilities,zakaatHomeLoanLiabilities:t=>t.zakaatHomeLoanLiabilities,zakaatVehicleLiabilities:t=>t.zakaatVehicleLiabilities,commoditiesTotal:t=>t.commoditiesTotal,cashAssetsTotal:t=>t.cashAssetsTotal,policyAssetsTotal:t=>t.policyAssetsTotal,investmentAssetsTotal:t=>t.investmentAssetsTotal,businessAssetsTotal:t=>t.businessAssetsTotal,debtorAssetsTotal:t=>t.debtorAssetsTotal,partnershipAssetsTotal:t=>t.partnershipAssetsTotal,zakaatLiabilitiesTotal:t=>t.zakaatLiabilitiesTotal,basicLiabilitiesTotal:t=>t.basicLiabilitiesTotal,zakaatHomeLoanLiabilitiesTotal:t=>t.zakaatHomeLoanLiabilitiesTotal,zakaatVehicleLiabilitiesTotal:t=>t.zakaatVehicleLiabilitiesTotal,zakaatAssetsTotal:t=>t.zakaatAssetsTotal},ie={state:te,mutations:ae,actions:ee,getters:se},oe=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/currencies/exchange/${t}`),ne=t=>c.A.get(`https://api.aladhan.com/v1/gToH?date=${t}`),re=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/zakaat/goldSpotPrice
1sPerOunce/${t}`),ce=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/zakaat/silverSpotPricesPerOunce/${t}`),de=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/zakaat/goldSpotPricesPerGram/${t}`),ue=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/zakaat/silverSpotPricesPerGram/${t}`),le={exchangeRate:null,gregorianToHijri:null,goldRatePerOunce:null,silverRatePerOunce:null,goldRatePerGram:null,silverRatePerGram:null},pe={setExchangeRate(t,a){t.exchangeRate=a},setGregorianToHijri(t,a){t.gregorianToHijri=a},setGoldSpotPricesPerOunce(t,a){t.goldRatePerOunce=a},setSilverSpotPricesPerOunce(t,a){t.silverRatePerOunce=a},setGoldSpotPricesPerGram(t,a){t.goldRatePerGram=a},setSilverSpotPricesPerGram(t,a){t.silverRatePerGram=a}},me={async setExchangeRate({commit:t},a){const e=await oe(a);t("setExchangeRate",e.data)},async setGregorianToHijri({commit:t},a){const e=await ne(a);t("setGregorianToHijri",e.data)},async setGoldSpotPricesPerOunce({commit:t},a){const e=await re(a);t("setGoldSpotPricesPerOunce",e.data)},async setSilverSpotPricesPerOunce({commit:t},a){const e=await ce(a);t("setSilverSpotPricesPerOunce",e.data)}
1,async setGoldSpotPricesPerGram({commit:t},a){const e=await de(a);t("setGoldSpotPricesPerGram",e.data)},async setSilverSpotPricesPerGram({commit:t},a){const e=await ue(a);t("setSilverSpotPricesPerGram",e.data)}},he={exchangeRate:t=>t.exchangeRate,gregorianToHijri:t=>t.gregorianToHijri,goldRatePerOunce:t=>t.goldRatePerOunce,silverRatePerOunce:t=>t.silverRatePerOunce,goldRatePerGram:t=>t.goldRatePerGram,silverRatePerGram:t=>t.silverRatePerGram},we={state:le,mutations:pe,actions:me,getters:he},be=async t=>{const a={fullName:t.fullName,email:t.email,cellNumber:t.cellNumber,message:t.message,enquirySubject:t.enquirySubject,captchaToken:t.captchaToken};return c.A.post("https://www.alimdaad.co.uk/adms/api/enquiries/save",a).then((t=>t)).catch((t=>t))},ge=async t=>{const a={firstName:t.firstName,lastName:t.lastName,email:t.email,cell:t.cell,consented:t.consented};return c.A.post("https://www.alimdaad.co.uk/adms/api/subscriptions/save",a)},Ae=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/lookup/enquiryTypes/all"),ye=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/lookup/contacts/headoffice"),fe=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/lookup/contacts/sa"),Se=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/lookup/contacts/international"),De={headOffice:[],branches:[],internationalBranches:[],contactReasons:[]},Te={setHeadOffice(t,a){t.headOffice=a},setBranches(t,a){t.branches=a},setInternational(t,a){t.internationalBranches=a},setContactReasons(t,a){t.contactReasons=a}},ke={setHeadOffice({commit:t},a){t("setHeadOffice",a)},fetchHeadOffice({dispatch:t}){ye().then((a=>{t("setHeadOffice",a.data)}))},setBranches({commit:t},a){t("setBranches",a)},async getContactReason({commit:t}){const a=await Ae();t("setContactReasons",a.data)},fetchBranches({dispatch:t}){fe().then((a=>{t("setBranches",a.data)}))},setInternational({commit:t},a){t("setInternational",a)},fetchInternational({dispatch:t}){Se().then((a=>{t("setInternational",a.data)}))},async sendForm({_:t},a){const e=await be(a);return e?e.data:0},async subscribeTo({commit:t},a){const e=await ge(a);return e.data}},Ie={headOffice:t=>t.headOffice,branches:t=>t.branches,internationalBranches:t=>t.internationalBranches,contactReasons:t=>t.contactReasons},Ce={state:De,mutations:Te,actions:ke,getters:Ie},Pe=(t,a,e)=>c.A.get(`https://www.alimdaad.co.uk/adms/api/images/thumbnail/${t}/${a}/${e}`),Be={async getImage({_:t},a){const e=await Pe(a.imageName,a.width,a.height);if(e)return e.data[0]}},Ee={actions:Be},Re={isOpenOverlay:!1,isMobile:!1},ve={setOpenOverlay(t,a){t.isOpenOverlay=a},SET_MOBILE(t,a){t.isMobile=a}},Le={async setOpen({commit:t},a){await t("setOpenOverlay",a)},async setMobile({commit:t},a){await t("SET_MOBILE",a)}},ze={isOpenOverlay:t=>t.isOpenOverlay,isMobile:t=>t.isMobile},Oe={state:Re,mutations:ve,actions:Le,getters:ze},Ue=(t,a,e)=>c.A.post("https://www.alimdaad.co.uk/adms/api/donations/initiate/stripe/creditCard",{transactionReference:t,returnUrl:a,captchaToken:e},{headers:{baseSystemType:"PUBLIC_WEBSITE"}}),Ge=(t,a)=>c.A.post("https://www.alimdaad.co.uk/adms/api/donations/cancel-payment/stripe/creditCard",{transactionReference:t,paymentIntentID:a},{headers:{baseSystemType:"PUBLIC_WEBSITE"}}),je=(t,a)=>c.A.post("https://www.alimdaad.co.uk/adms/api/donations/creditCard/stripe/verify",{transactionReference:t,paymentIntentID:a},{headers:{baseSystemType:"PUBLIC_WEBSITE"}}),xe=`${location.protocol}//${location.host}/%23/paymentcompleteUk`,Me={stripeClientSecret:null,stripePaymentIntentID:null},Ne={setClientSecret(t,a){t.stripeClientSecret=a},setPaymentIntentID(t,a){t.stripePaymentIntentID=a}},We={async initiateStripePayment({commit:t,rootState:a},e){const s=await Ue(a.donation.lastTransactionRef,xe,e);if(s)return t("setClientSecret",s.data.stripePaymentIntentCreation.client_secret),t("setPaymentIntentID",s.data.stripePaymentIntentCreation.id),s.data},async cancelStripePayment({commit:t,state:a,rootState:e}){const s=await Ge(e.donation.lastTransactionRef,a.stripePaymentIntentID);return t("setClientSecret",null),t("setPaymentIntentID",null),s.data},async verifyStripePayment({state:t,rootState:a}){const e=await je(a.donation.lastTransactionRef,t.stripePaymentIntentID);return e.data}},Ze={stripeClientSecret:t=>t.stripeClientSecret,stripePaymentIntentID:t=>t.stripePaymentIntentID},qe={state:Me,mutations:Ne,actions:We,getters:Ze},Fe=t=>c.A.post("https://www.alimdaad.co.uk/adms/api/dailySadaqah/save",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),He=t=>c.A.post("https://www.alimdaad.co.uk/adms/api/dailySadaqah/za/logged-in/save",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Ve=t=>c.A.post("https://www.alimdaad.co.uk/adms/api/recurringDonation/save",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Qe=(t,a,e)=>c.A.post("https://www.alimdaad.co.uk/adms/api/donations/subscriptions/initiate/payFast/creditCard",{subscriptionReference:t,returnUrl:a,cancelUrl:a.replace(/recurringpaymentcomplete.*|paymentcomplete.*/,"paymentcancelled"),notifyUrl:"https://www.alimdaad.co.uk/adms/api/donations/subscriptions/call-back/pay-fast",captchaToken:e,additionalPaymentOptionsEnabled:!0},{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Ke=(t,a,e)=>c.A.post("https://www.alimdaad.co.uk/adms/api/donations/subscriptions/initiate/stripe/creditCard",{subscriptionReference:t,returnUrl:a,captchaToken:e},{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}});var Je=e(44641);const Ye={async saveSadaqah({rootState:t},a){if(t.user.user)try{const t=await He(a);if(t&&200===t.status)return t}catch(e){}else try{const t=await Fe(a);if(t&&200===t.status)return t}catch(e){}},async saveSadaqahUk({rootState:t},a){const e=Je.c9.now().toISO(),s=!!t.user.user.giftAid&&t.user.user.giftAid,i={startDate:e,frequency:"DAILY",debitOrderDay:1,dailySadaqaDonation:!0,recurringDonationType:"CREDIT_CARD",untilCancelled:!0,totalDailySadaqah:a.totalDailySadaqah,transactionDTO:{userID:a.userID?a.userID:0,giftAid:s,organisationID:a.organisationID?a.organisationID:0,sponsored:!0}};try{const t=await Ve(i);if(t&&200===t.status)return t}catch(o){}}},_e={actions:Ye},Xe=(t,a)=>{const e=t||0,s=a||10;return c.A.get("https://www.alimdaad.co.uk/adms/api/fundraisers/live/all",{params:{startPosition:e,pageSize:s,sortField:"fundraiserID",sortOrder:"ASC"}})},$e=()=>c.A.get("https://www.alimdaad.co.uk/adms/api/fundraisers/live/all/count"),ts={verifiedFundraisers:[],verifiedFundraisersCount:0},as={SET_FUNDRAISERS(t,a){t.verifiedFundraisers=a},SET_FUNDRAISERS_COUNT(t,a){t.verifiedFundraisersCount=a}},es={async getFundraisers({commit:t,state:a}){const e=await Xe(0,a.verifiedFundraisersCount);e.data&&await t("SET_FUNDRAISERS",e.data)},async getFundraisersCount({commit:t,dispatch:a}){const e=await $e();e&&(await t("SET_FUNDRAISERS_COUNT",e.data),e.data>0&&await a("getFundraisers"))}},ss={verifiedFundraisers:t=>t.verifiedFundraisers},is={state:ts,mutations:as,actions:es,getters:ss},os="https://s3.us-east-2.amazonaws.com/aiappstatic.co.za/done.html",ns={async payApp({rootState:t},a){const e=await oa(t.donation.lastTransactionRef,os,a);if(e.data)return e.data}},rs={actions:ns},cs={stripeSubscriptionClientSecret:null,stripeSubscriptionPaymentIntentID:null},ds={setSubscriptionClientSecret(t,a){t.stripeSubscriptionClientSecret=a},setSubscriptionPaymentIntentID(t,a){t.stripeSubscriptionPaymentIntentID=a}},us={async saveRecurringDonation({_:t},a){try{const t=await Ve(a);return t}catch(e){}},async initiatePayfast({_:t},a){const e=`${location.protocol}//${location.host}/recurringpaymentcomplete/${a.transactionRef}/${a.recurringDonationID}`,s=await Qe(a.transactionRef,e,a.token);if(s.data)return s.data},async initiateStripeSubscription({commit:t},a){const e=`${location.protocol}//${location.host}/recurringpaymentcompleteUk/${a.transactionRef}`,s=await Ke(a.transactionRef,e,a.token);if(s.data&&s.data.stripeSubscription&&s.data.stripeSubscription.id&&s.data.stripeSubscription.pending_setup_intent&&s.data.stripeSubscription.pending_setup_intent.id&&s.data.stripeSubscription.pending_setup_intent.client_secret)return t("setSubscriptionClientSecret",s.data.stripeSubscription.pending_setup_intent.client_secret),t("setSubscriptionPaymentIntentID",s.data.stripeSubscription.pending_setup_intent.id),s.data}},ls={stripeSubscriptionClientSecret:t=>t.stripeSubscriptionClientSecret,stripeSubscriptionPaymentIntentID:t=>t.stripeSubscriptionPaymentIntentID},ps={state:cs,mutations:ds,actions:us,getters:ls},ms=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/recurringDonation/count/user/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),hs=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/recurringDonation/count/dailySadaqa/user/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),ws={countRecurringDonations:0,countRecurringDonationsStatus:"ready",countDailySadaqahDonations:0,countDailySadaqahDonationsStatus:"ready"},bs={setRecurringDonationsCount(t,a){t.countRecurringDonations=a},setRecurringDonationsCountStatus(t,a){t.countRecurringDonationsStatus=a},setDailySadaqahDonationsCount(t,a){t.countDailySadaqahDonations=a},setDailySadaqahDonationsCountStatus(t,a){t.countDailySadaqahDonationsStatus=a}},gs={async getRecurringDonationsCount({commit:t,rootState:a}){t("setRecurringDonationsCountStatus","loading");const e=await ms(a.user.user.userID);t("setRecurringDonationsCount",e.data),t("setRecurringDonationsCountStatus","ready")},async getDailySadaqahDonationsCount({commit:t,rootState:a}){t("setDailySadaqahDonationsCountStatus","loading");const e=await hs(a.user.user.userID);t("setDailySadaqahDonationsCount",e.data),t("setDailySadaqahDonationsCountStatus","ready")}},As={countRecurringDonations:t=>t.countRecurringDonations,countRecurringDonationsStatus:t=>t.countRecurringDonationsStatus,countDailySadaqahDonations:t=>t.countDailySadaqahDonations,countDailySadaqahDonationsStatus:t=>t.countDailySadaqahDonationsStatus},ys={state:ws,mutations:bs,actions:gs,getters:As},fs=(t,a,e)=>c.A.get(`https://www.alimdaad.co.uk/adms/api/recurringDonation/user/${t}?startPosition=${a}&pageSize=${e}&sortField=recurringDonationID&sortOrder=DESC`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Ss=(t,a,e)=>c.A.get(`https://www.alimdaad.co.uk/adms/api/recurringDonation/d
1ailySadaqa/user/${t}?startPosition=${a}&pageSize=${e}&sortField=recurringDonationID&sortOrder=DESC`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Ds=(t,a)=>t.recurringDonationID<a.recurringDonationID?1:t.recurringDonationID>a.recurringDonationID?-1:0,Ts={allRecurringDonations:[],allRecurringDonationsStatus:"ready",allDailySadaqahRecurringDonations:[],allDailySadaqahRecurringDonationsStatus:"ready"},ks={setAllRecurringDonations(t,a){a&&a.length>0&&a.forEach((a=>{t.allRecurringDonations.some((t=>t.recurringDonationID===a.recurringDonationID))||t.allRecurringDonations.push(a)}))},clearAllRecurringDonations(t){t.allRecurringDonations=[]},setAllRecurringDonationsStatus(t,a){t.allRecurringDonationsStatus=a},setUpdatedDonation(t,a){const e=t.allRecurringDonations.findIndex((t=>t.recurringDonationID===a.recurringDonationID));t.allRecurringDonations[e]=a},setAllDailySadaqahRecurringDonations(t,a){a&&a.length>0&&a.forEach((a=>{t.allDailySadaqahRecurringDonations.some((t=>t.recurringDonationID===a.recurringDonationID))||t.allDailySadaqahRecurringDonations.push(a)}))},clearAllDailySadaqahRecurringDonations(t){t.allDailySadaqahRecurringDonations=[]},setAllDailySadaqahRecurringDonationsStatus(t,a){t.allDailySadaqahRecurringDonationsStatus=a},setUpdatedDailySadaqahDonation(t,a){const e=t.allDailySadaqahRecurringDonations.findIndex((t=>t.recurringDonationID===a.recurringDonationID));t.allDailySadaqahRecurringDonations[e]=a}},Is={async getAllRecurringDonations({commit:t,rootState:a},e){t("setAllRecurringDonationsStatus","loading"),0===e.startPosition&&t("clearAllRecurringDonations");const s=await fs(a.user.user.userID,e.startPosition,e.pageSize);t("setAllRecurringDonations",s.data),t("setAllRecurringDonationsStatus","ready")},updateStoreRecurringDonation({commit:t},a){t("setUpdatedDonation",a)},async getAllDailySadaqahRecurringDonations({commit:t,rootState:a},e){t("setAllDailySadaqahRecurringDonationsStatus","loading"),0===e.startPosition&&t("clearAllDailySadaqahRecurringDonations");const s=await Ss(a.user.user.userID,e.startPosition,e.pageSize);t("setAllDailySadaqahRecurringDonations",s.data),t("setAllDailySadaqahRecurringDonationsStatus","ready")},updateStoreDailySadaqahRecurringDonation({commit:t},a){t("setUpdatedDailySadaqahDonation",a)}},Cs={allRecurringDonations:t=>t.allRecurringDonations.sort(Ds).filter((t=>!t.recurringDonationStatus||9===t.recurringDonationStatus.recurringDonationStatusID||6===t.recurringDonationStatus.recurringDonationStatusID||5===t.recurringDonationStatus.recurringDonationStatusID||7===t.recurringDonationStatus.recurringDonationStatusID)),allRecurringDonationsStatus:t=>t.allRecurringDonationsStatus,allDailySadaqahRecurringDonations:t=>t.allDailySadaqahRecurringDonations.sort(Ds).filter((t=>!t.recurringDonationStatus||9===t.recurringDonationStatus.recurringDonationStatusID||6===t.recurringDonationStatus.recurringDonationStatusID||5===t.recurringDonationStatus.recurringDonationStatusID||7===t.recurringDonationStatus.recurringDonationStatusID)),allDailySadaqahRecurringDonationsStatus:t=>t.allDailySadaqahRecurringDonationsStatus},Ps={state:Ts,mutations:ks,actions:Is,getters:Cs},Bs=t=>c.A.post("https://www.alimdaad.co.uk/adms/api/recurringDonation/update",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Es=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/recurringDonation/creditCard/UpdateCardDetails/${t}?returnURL=https://www.alimdaad.co.uk/managerecurringdonations`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Rs={async updateRecurringDonation({dispatch:t},a){try{const e=await Bs(a);return await t("updateStoreRecurringDonation",a,{root:!0}),e}catch(e){return"Error"}},async updateCardDetails({_:t},a){try{const t=await Es(a);return t}catch(e){return"Error"}}},vs={actions:Rs},Ls=t=>c.A.put("https://www.alimdaad.co.uk/adms/api/recurringDonation/cancel",t,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),zs={async cancelRecurringDonation({_:t},a){const e={recurringDonationID:a,reason:"Cancel"};try{const t=await Ls(e);return t}catch(s){return"Error"}}},Os={actions:zs},Us=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/recurringDonation/summary/download/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"},responseType:"blob"}),Gs=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/recurringDonation/summary/breakdown/download/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"},responseType:"blob"}),js=e(5419),xs={async downloadRecurringDonationSummary({rootState:t,dispatch:a},e){try{Us(e).then((s=>{const i={data:s.data,fileName:`${t.user.user.donorID}_${e}.pdf`};t.mode.isApp?a("downloadFile",i,{root:!0}):js(i.data,i.fileName)}))}catch(s){return"Error"}},async downloadRecurringDonationSummaryBreakdown({rootState:t,dispatch:a},e){try{Gs(e).then((s=>{const i={data:s.data,fileName:`${t.user.user.donorID}_${e}.pdf`};t.mode.isApp?a("downloadFile",i,{root:!0}):js(i.data,i.fileName)}))}catch(s){return"Error"}}},Ms={actions:xs},Ns=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/donations/subscriptions/creditCard/payFast/verify/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Ws=t=>c.A.get(`https://www.alimdaad.co.uk/adms/api/donations/subscriptions/creditCard/stripe/verify/${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),Zs={getPayFastSubscriptionStatus({_:t},a){return Ns(a)},verifyStripeSubscription({_:t},a){return Ws(a)}},qs={actions:Zs},Fs=()=>c.A.get("https://ipapi.co/country/"),Hs={selectedLocation:null},Vs={SET_LOCATION(t,a){t.selectedLocation=a}},Qs={async getLocation({_:t}){try{const t=await Fs();return t.data}catch(a){return"Error"}},async setLocation({commit:t},a){t("SET_LOCATION",a)}},Ks={selectedLocation:t=>t.selectedLocation},Js={state:Hs,mutations:Vs,actions:Qs,getters:Ks};var Ys=e(67408),_s=e(70223),Xs=e(9213);const $s={apiKey:"AIzaSyD5EggZG7S8zl0q6BZnYPPGE5bwbho4hc4",authDomain:"al-imdaad-app-88ec2.firebaseapp.com",databaseURL:"https://al-imdaad-app-88ec2-default-rtdb.firebaseio.com",projectId:"al-imdaad-app-88ec2",storageBucket:"al-imdaad-app-88ec2.appspot.com",messagingSenderId:"74678962136",appId:"1:74678962136:web:41ae3348d289e2e3a194ad",measurementId:"G-13G68HLQD9"},ti=(0,_s.Wp)($s),ai=(0,Xs.C3)(ti),ei=async t=>(await(0,Xs.hZ)((0,Xs.KR)(ai,"users/"+t.userID),t),t.token);var si=e(39325);const ii={token:null},oi={SET_TOKEN(t,a){t.token=a}},ni={async initPushNotifications({commit:t,dispatch:a}){try{const e=await Ys.h.requestPermissions();"granted"===e.receive&&Ys.h.register(),Ys.h.addListener("registration",(e=>{t("SET_TOKEN",e.value),a("updateUserToken",e.value)})),Ys.h.addListener("registrationError",(t=>{})),Ys.h.addListener("pushNotificationReceived",(t=>{})),Ys.h.addListener("pushNotificationActionPerformed",(t=>{const a=t.notification.data;a.route&&si.A.push(a.route)}))}catch(e){}},updateUserToken({rootState:t},a){const e={userID:t.user.user.userID,token:a};return ei(e)}},ri={token:t=>t.token},ci={state:ii,mutations:oi,actions:ni,getters:ri},di=async t=>c.A.delete(`https://www.alimdaad.co.uk/adms/api/users/account/deletion?reason=${t}`,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}).then((t=>t)).catch((t=>t)),ui=async()=>c.A.get("https://www.alimdaad.co.uk/adms/api/users/account/status/deleted",{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}).then((t=>t)).catch((t=>t)),li={async deleteAccount({_:t},a){return await di(a)},async checkDeleteAccountStatus({_:t}){return await ui()}},pi={actions:li};var mi=e(85142),hi=e(16789);const wi={downloadUri:null},bi={setDownloadUri(t,a){t.downloadUri=a}},gi={async downloadFile({commit:t,dispatch:a},e){try{const s=new FileReader;s.readAsDataURL(e.data),s.onloadend=async()=>{const i=s.result,o=await mi.YA.writeFile({path:e.fileName,data:i,directory:mi.__.Documents,recursive:!0});return await t("setDownloadUri",o.uri),await a("openDownloadedFile"),!0}}catch(s){return s}},async downloadZip({commit:t,dispatch:a},e){try{const s=new FileReader;s.readAsDataURL(e.data),s.onloadend=async()=>{const i=s.result,o=await mi.YA.writeFile({path:e.fileName,data:i,directory:mi.__.Documents,recursive:!0});return await t("setDownloadUri",o.uri),await a("openDownloadedZipFile"),!0}}catch(s){return s}},async openDownloadedFile({state:t}){if(""!==t.downloadUri)try{await hi.M.open({filePath:t.downloadUri,contentType:"application/pdf"})}catch(a){}},async openDownloadedZipFile({state:t}){if(""!==t.downloadUri)try{await hi.M.open({filePath:t.downloadUri,contentType:"application/zip"})}catch(a){}}},Ai={state:wi,mutations:bi,actions:gi},yi=(t,a)=>{const e={donationDtoList:t,sponsored:a};return c.A.post("https://www.alimdaad.co.uk/adms/api/donations/calculate/charge/amount",e,{headers:{Authorization:`Bearer ${Ci.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}})},fi={async getCardCharges({getters:t},a){const e=[],s=t.user?t.user.email:"";let i=1;if((a.cart&&a.cart.length>0&&a.cart[0]&&a.cart[0].currency&&"R"!==a.cart[0].currency||a.defaultCurrency&&"R"!==a.defaultCurrency)&&(i=3),a.cart&&a.cart.length>0)a.cart.forEach((a=>{let o={};a.donationTypes&&a.donationTypes.length>
10?a.donationTypes.forEach((n=>{if(n.amount&&n.amount>0){const r=n.type?n.type.donationType.donationTypeID:null;let c=!1;a.plaqueDescription&&(c=!0),o={email:s,donorID:t.user?t.user.donorID:"",amount:n.amount,donationTypeID:r,projectID:a.projectId?a.projectId:null,notes:a.comment||"",personalizedPlaque:c,plaqueDescription:a.plaqueDescription,paymentGatewayResponse:"",currencyId:i},e.push(o)}})):e.push(a)}));else if(a.amount){const t={amount:a.amount,currencyId:i};e.push(t)}const o=await yi(e,a.sponsored);if(o&&o.data)return o.data},async getSadaqahCardCharges({getters:t},a){const e=[],s=t.user?t.user.email:"";let i=1;"R"!==a.currency&&(i=3);const o={email:s,donorID:t.user?t.user.donorID:"",amount:a.total,currencyId:i};e.push(o);const n=await yi(e,a.sponsored);if(n&&n.data)return n.data}},Si={actions:fi},Di=`${location.protocol}//${location.host}/paymentcomplete`,Ti="https://s3.us-east-2.amazonaws.com/aiappstatic.co.za/done.html",ki={async initiatePayFastPayment({rootState:t},a){let e=Di;t.mode.isApp&&(e=Ti);const s=await oa(t.donation.lastTransactionRef,e,a);if(s&&s.data)return s.data},getPayFastTransactionStatus({rootState:t}){return na(t.donation.lastTransactionRef)}},Ii={actions:ki},Ci=(0,s.y$)({plugins:[(0,i.A)({paths:["user","cart","donation","ukCheckout"],key:["vuexaif"]})],state:{},mutations:{},actions:{},modules:{mode:r,user:v,count:Z,organisations:at,groups:At,zakaat:It,transactions:$t,donation:Aa,projects:Ra,lookups:Za,cart:ia,news:Ka,slider:$a,zakaatCalculator:ie,rates:we,contact:Ce,image:Ee,layout:Oe,ukCheckout:qe,dailySadaqah:_e,verifiedFundraisers:is,payment:rs,recurringDonations:ps,recurringDonationsCount:ys,recurringDonationsTransaction:Ps,recurringDonationsEdit:vs,recurringDonationsCancel:Os,recurringDonationsDownload:Ms,recurringDonationsGet:qs,location:Js,pushNotifications:ci,deleteAccount:pi,appDownload:Ai,cardChargesGet:Si,payFast:Ii}})},9388:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoYAAAD6CAMAAAALK3bYAAAB3VBMVEVHcExXV1deXl5mZmZubm5hYWF4eHiUlJSmpqaNjY1zc3NcXFydnZ2EhISSkpJoaGhJSUkqKioVFRUAAAAfHx9zc3OcnJw0NDR9fX2Hh4c+Pj5TU1NZWVlqamoKCgp9fX1eXl4gICBAQEBwcHAQEBCAgIBgYGAwMDBQUFAHFQoXSiQdXy8nfj4kdDkaVCoQNRqzs7Pm5ubq6ur////i4uKRkZHd3d3y8vLFxcXs7Oz4+Pjj4+Pu7u7Z2dkqiUQ0qFMxnk4DCwXR0dHz8/Ofn5/V1dXv7+/39/eIiIgKIBAulEkNKhVra2utra25ubn19fX29vbAwMDp6el6enr09PQUPx/g4ODw8PAhaTSXl5ckXWPl5eW7u7syZLg6ja/x8fE6ddZChfQ9krfNzc04pE7JrxNuUwI6pU7WuBP7vATcpQQ/LwE7pk6tggMfGAE9p05+XgIQDADssQReRwI/qU69jgOddgNAqU5POwGOagKQkJCgoKDNmQOwsLDQ0NA8qFQvIwE1ply5sDdMgenFeEvKT1nqQzXwcSPobiGwMig5GArOOy9JFRHcPzJ1IhuTKiEPBAM7EQ1YGRSiLiUdCAdLgem/NytJgOhnHReEJh4sDQpIgOhHgOhFf+dGRnWH0GEdAAAAIHRSTlMAOq/Z78f6////9pD//v//////////////////aub//U59rgoAABDaSURBVHgB7NhVYutAEEXBkUk3McqCMOx/k48ZQ+OvqjWcge4CAAAAAAAAAAAAAAAAAA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MMjfehI7KwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVgEx7xPyZ7b/SQAAAABJRU5ErkJggg=="},19140:(t,a,e)=>{"use strict";e(44114);var s=e(53751),i=e(20641);const o={ref:"page"},n={class:"main_content",ref:"main"};function r(t,a,e,r,c,d){const u=(0,i.g2)("TopNav"),l=(0,i.g2)("router-view"),p=(0,i.g2)("BottomNav"),m=(0,i.g2)("MyFooter"),h=(0,i.g2)("BackToTop"),w=(0,i.g2)("CookieLaw"),b=(0,i.g2)("QuickDonateSticky"),g=(0,i.g2)("GetCurrentLocation");return(0,i.uX)(),(0,i.CE)("div",o,[(0,i.bF)(u),(0,i.Lk)("div",n,[(0,i.bF)(l)],512),t.isMobile||t.isApp?(0,i.Q3)("",!0):((0,i.uX)(),(0,i.Wv)(p,{key:0,height:"80"})),(0,i.bF)(m,{scrolled:c.scrolled,isHome:"Home"===t.$route.name},null,8,["scrolled","isHome"]),c.scrolled&&!t.isOpenOverlay?((0,i.uX)(),(0,i.Wv)(h,{key:1,percentage:c.percentage},null,8,["percentage"])):(0,i.Q3)("",!0),(0,i.bF)(w,{onAccept:d.onCookieAccept},null,8,["onAccept"]),(0,i.bF)(s.eB,{name:"slideInUp"},{default:(0,i.k6)((()=>[d.showQuickDonate?((0,i.uX)(),(0,i.Wv)(b,{key:0})):(0,i.Q3)("",!0)])),_:1}),(0,i.bF)(g)],512)}e(18111),e(7588);var c=e(75220),d=e(66278),u=e(30009),l=e(90033);const p={class:"w-100"},m={class:"gradient"},h={class:"container-xl"},w={class:"row align-items-center nav-holder"};function b(t,a,e,s,o,n){const r=(0,i.g2)("TopMenuLayoutMobile"),c=(0,i.g2)("TopMenuLayoutDesktop"),d=(0,i.g2)("HomeBackgroundTop"),u=(0,i.g2)("Backgroun
1dTop");return(0,i.uX)(),(0,i.CE)("div",p,[(0,i.Lk)("div",m,[(0,i.Lk)("div",{class:(0,l.C4)(["abs_nav",{"d-none d-lg-block":t.loginPopup,home_overlay:n.isHome,"top-env-padding":t.isApp}])},[(0,i.Lk)("div",h,[(0,i.Lk)("div",w,[(0,i.bF)(r),(0,i.bF)(c)])])],2),n.isHome?((0,i.uX)(),(0,i.Wv)(d,{key:0})):((0,i.uX)(),(0,i.Wv)(u,{key:1}))])])}const g={class:"back"},A={key:0,class:"position-absolute top-0 start-50 translate-middle mt-5 white-text"};function y(t,a,e,s,o,n){const r=(0,i.g2)("Slider"),c=(0,i.gN)("touch");return(0,i.uX)(),(0,i.CE)("div",g,[(0,i.bo)(((0,i.uX)(),(0,i.CE)("span",null,[a[3]||(a[3]=(0,i.Lk)("div",{class:"bg_overlay"},null,-1)),n.noPosters?(0,i.Q3)("",!0):((0,i.uX)(),(0,i.Wv)(r,{key:0,visiblePosters:t.visiblePosters,ref:"slider"},null,8,["visiblePosters"])),(0,i.Lk)("div",{class:"shape",onClick:a[0]||(a[0]=(...t)=>n.goToProject&&n.goToProject(...t))},[n.noPosters?((0,i.uX)(),(0,i.CE)("div",A,a[1]||(a[1]=[(0,i.Lk)("div",{class:"spinner-border",role:"status"},[(0,i.Lk)("span",{class:"visually-hidden"},"Loading...")],-1)]))):(0,i.Q3)("",!0),a[2]||(a[2]=(0,i.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 100",preserveAspectRatio:"none"},[(0,i.Lk)("path",{class:"elementor-shape-fill",d:"M500,97C126.7,96.3,0.8,19.8,0,0v100l1000,0V1C1000,19.4,873.3,97.8,500,97z"})],-1))]),a[4]||(a[4]=(0,i.Lk)("div",{class:"shape_inner"},null,-1))])),[[c,n.swipeHandler,"swipe"]])])}const f={components:{Slider:(0,i.$V)((()=>e.e(2166).then(e.bind(e,12166))))},name:"HomeBackgroundTop",async mounted(){this.noPosters&&await this.fetchSliderPosters()},computed:{...(0,d.L8)(["visiblePosters","activeSlider"]),noPosters(){return!(this.visiblePosters&&!(this.visiblePosters&&this.visiblePosters.length<1))}},methods:{...(0,d.i0)(["fetchSliderPosters"]),goToProject(){this.$router.push("/project/"+this.activeSlider.project.id)},swipeHandler(t){"right"===t?this.$refs.slider.previous():"left"===t&&this.$refs.slider.next()}}};var S=e(66262);const D=(0,S.A)(f,[["render",y],["__scopeId","data-v-1de5fcb2"]]),T=D,k={class:"col-12 pt-4 d-none d-lg-block"},I={class:"row m-0 align-items-center"},C={class:"col-auto px-0"},P={class:"col-lg px-0 align-self-end"},B={class:"col-auto px-0"},E={class:"col-auto pe-0"};function R(t,a,e,s,o,n){const r=(0,i.g2)("TheLogo"),c=(0,i.g2)("MainMenu"),d=(0,i.g2)("TopMenuIconLinks"),u=(0,i.g2)("TopMenuDonateButton");return(0,i.uX)(),(0,i.CE)("div",k,[(0,i.Lk)("div",I,[(0,i.Lk)("div",C,[(0,i.bF)(r,{onClick:a[0]||(a[0]=t=>n.goTo("")),isNav:!0})]),(0,i.Lk)("div",P,[(0,i.bF)(c)]),(0,i.Lk)("div",B,[(0,i.bF)(d)]),(0,i.Lk)("div",E,[(0,i.bF)(u)])])])}const v={components:{TheLogo:(0,i.$V)((()=>e.e(907).then(e.bind(e,90907)))),MainMenu:(0,i.$V)((()=>e.e(7179).then(e.bind(e,97179)))),TopMenuIconLinks:(0,i.$V)((()=>e.e(6372).then(e.bind(e,86372)))),TopMenuDonateButton:(0,i.$V)((()=>e.e(8462).then(e.bind(e,78462))))},name:"TopMenuLayoutDesktop",computed:{isUK(){return!0}},methods:{goTo(t){window.scrollTo(0,0),this.$router.push("/"+t)}}},L=(0,S.A)(v,[["render",R]]),z=L,O={class:"col-12 px-0 d-lg-none"},U={class:"row m-0 align-items-center justify-content-center g-1"},G={class:"col p-0"},j={class:"col-auto text-center"},x={class:"col p-0"},M={class:"row mx-0 justify-content-end"},N={class:"col-auto ps-1 text-right"};function W(t,a,e,s,o,n){const r=(0,i.g2)("MainMenu"),c=(0,i.g2)("TheLogo"),d=(0,i.g2)("SwitchLocation"),u=(0,i.g2)("IconSearch2"),l=(0,i.g2)("SearchItem");return(0,i.uX)(),(0,i.CE)("div",O,[(0,i.Lk)("div",U,[(0,i.Lk)("div",G,[(0,i.bF)(r)]),(0,i.Lk)("div",j,[(0,i.bF)(c,{onClick:a[0]||(a[0]=t=>n.goTo("")),isNav:!0})]),(0,i.Lk)("div",x,[(0,i.Lk)("div",M,[(0,i.bF)(d),(0,i.Lk)("div",N,[(0,i.bF)(l,{align:"right",onClick:a[1]||(a[1]=t=>n.goTo("search")),size:"xsmall"},{default:(0,i.k6)((()=>[(0,i.bF)(u,{color:"gold",class:"px-0"})])),_:1})])])])])])}const Z={components:{TheLogo:(0,i.$V)((()=>e.e(907).then(e.bind(e,90907)))),SearchItem:(0,i.$V)((()=>e.e(2983).then(e.bind(e,42983)))),MainMenu:(0,i.$V)((()=>e.e(7179).then(e.bind(e,97179)))),IconSearch2:(0,i.$V)((()=>e.e(8817).then(e.bind(e,48817)))),SwitchLocation:(0,i.$V)((()=>e.e(5784).then(e.bind(e,95784))))},name:"TopMenuLayoutMobile",computed:{isUK(){return!0}},methods:{goTo(t){window.scrollTo(0,0),this.$router.push("/"+t)}}}
1,q=(0,S.A)(Z,[["render",W]]),F=q,H={components:{BackgroundTop:(0,i.$V)((()=>e.e(4158).then(e.bind(e,24158)))),HomeBackgroundTop:T,TopMenuLayoutDesktop:z,TopMenuLayoutMobile:F},name:"TopNav",computed:{...(0,d.L8)(["loginPopup","isApp"]),isHome(){return"Home"===this.$route.name},isUK(){return!0},isZA(){return!1}},methods:{goTo(t){window.scrollTo(0,0),this.$router.push("/"+t)}}},V=(0,S.A)(H,[["render",b],["__scopeId","data-v-1fc5d907"]]),Q=V,K={class:"row mx-0 p-3"},J={class:"col-12 p-0"},Y={class:"row m-0 justify-content-center"},_={class:"col-9 text-center"},X={class:"bold green-text"},$={class:"bold green-text"},tt={class:"col-md-9 p-0 text-center"},at={class:"row justify-content-center my-3 g-2 g-md-3"},et={class:"col-6"},st={class:"row mx-0 p-2 p-md-3 border border-3 rounded-4"},it={class:"col-12 px-0 text-center"},ot=["src"],nt={class:"bold green-text mt-2"},rt={class:"bold green-text mb-2"},ct={class:"col-6"},dt={class:"row mx-0 p-2 p-md-3 border border-3 rounded-4 borderActive"},ut={class:"col-12 px-0 text-center"},lt=["src"],pt={class:"bold green-text mt-2"},mt={class:"bold green-text mb-2"};function ht(t,a,s,o,n,r){const c=(0,i.g2)("CustomButtonComponent"),d=(0,i.g2)("FullPopup");return r.showSwitcher?((0,i.uX)(),(0,i.Wv)(d,{key:0},{default:(0,i.k6)((()=>[(0,i.Lk)("div",K,[(0,i.Lk)("div",J,[a[2]||(a[2]=(0,i.Lk)("div",{class:"row m-0 justify-content-center"},[(0,i.Lk)("div",{class:"col-9 col-md-auto text-center px-0 pb-3 border_bottom mb-3 green-text font23 medium"}," Switch Site Region & Currency ")],-1)),(0,i.Lk)("div",Y,[(0,i.Lk)("div",_,[a[0]||(a[0]=(0,i.eW)(" We detected that you are accessing our ")),(0,i.Lk)("span",X,(0,l.v_)(r.siteDetails.currentSite.display),1),a[1]||(a[1]=(0,i.eW)(" site from ")),(0,i.Lk)("span",$,(0,l.v_)(r.siteDetails.fromLocation.display),1)]),(0,i.Lk)("div",tt,[(0,i.Lk)("div",at,[(0,i.Lk)("div",et,[(0,i.Lk)("div",st,[(0,i.Lk)("div",it,[r.siteDetails.currentSite.icon?((0,i.uX)(),(0,i.CE)("img",{key:0,src:e(94504)("./"+r.siteDetails.currentSite.icon+".png"),class:"img-fluid round_image"},null,8,ot)):(0,i.Q3)("",!0),(0,i.Lk)("div",nt,(0,l.v_)(r.siteDetails.currentSite.name),1),(0,i.Lk)("div",rt,(0,l.v_)(r.siteDetails.currentSite.currency),1),(0,i.bF)(c,{color:"goldGreen",width:"100",class:"px-2",btnText:r.siteDetails.currentSite.buttonText,onButtonClicked:r.continueTo},null,8,["btnText","onButtonClicked"])])])]),(0,i.Lk)("div",ct,[(0,i.Lk)("div",dt,[(0,i.Lk)("div",ut,[r.siteDetails.fromLocation.icon?((0,i.uX)(),(0,i.CE)("img",{key:0,src:e(94504)("./"+r.siteDetails.fromLocation.icon+".png"),class:"img-fluid round_image"},null,8,lt)):(0,i.Q3)("",!0),(0,i.Lk)("div",pt,(0,l.v_)(r.siteDetails.fromLocation.name),1),(0,i.Lk)("div",mt,(0,l.v_)(r.siteDetails.fromLocation.currency),1),(0,i.bF)(c,{color:"goldGreen",width:"100",class:"px-2",btnText:r.siteDetails.fromLocation.buttonText,onButtonClicked:r.switchTo},null,8,["btnText","onButtonClicked"])])])])])])])])])])),_:1})):(0,i.Q3)("",!0)}const wt={components:{FullPopup:(0,i.$V)((()=>e.e(1220).then(e.bind(e,81220)))),CustomButtonComponent:(0,i.$V)((()=>e.e(5235).then(e.bind(e,85235))))},data(){return{countryLocation:""}},async mounted(){this.countryLocation=await this.getLocation()},computed:{...(0,d.L8)(["isMobile","selectedLocation"]),isUK(){return!0},otherUrl(){return"https://www.alimdaad.com"},siteDetails(){const t={currentSite:{display:"",country:"",name:"",icon:"",currency:"",buttonText:"Continue"},fromLocation:{display:"",country:"",name:"",icon:"",currency:"",url:"",buttonText:"Switch to"}};return this.isUK?(t.currentSite.display="United Kingdom",t.currentSite.country="UK",t.currentSite.name="United Kingdom",t.currentSite.icon="uk_image",t.currentSite.currency="GBP (£)"):(t.currentSite.display="South African",t.currentSite.country="ZA",t.currentSite.name="South Africa",t.currentSite.icon="za_image",t.currentSite.currency="ZAR (R)"),"GB"===this.countryLocation?(t.fromLocation.display="the United Kingdom",t.fromLocation.country="UK",t.fromLocation.name="United Kingdom",t.fromLocation.icon="uk_image",t.fromLocation.currency="GBP (£)",t.fromLocation.url=this.otherUrl,t.fromLocation.buttonText="Switch to UK site",this.isMobile&&(t.fromLocation.buttonText="Switch to UK")):"ZA"===this.countryLocation&&(t.fromLocation.display="South Africa",t.fromLocation.country="ZA",t.fromLocation.name="South Africa",t.fromLocation.icon="za_image",t.fromLocation.currency="ZAR (R)",t.fromLocation.url=this.otherUrl,t.fromLocation.buttonText="Switch to ZA site",this.isMobile&&(t.fromLocation.buttonText="Switch to ZA")),t},showSwitcher(){return!this.$route.path.includes("paymentcomplete")&&(!(this.selectedLocation||!this.countryLocation||"Error"===this.countryLocation)&&(!(!this.isUK||"GB"===this.countryLocation)||!this.isUK&&"GB"===this.countryLocation))}},methods:{...(0,d.i0)(["getLocation","setLocation"]),switchTo(){window.location.href=this.siteDetails.fromLocation.url},continueTo(){this.setLocation(this.siteDetails.currentSite.country)}}},bt=(0,S.A)(wt,[["render",ht],["__scopeId","data-v-11fd9987"]]),gt=bt,At={components:{TopNav:Q,GetCurrentLocation:gt,MyFooter:(0,i.$V)((()=>e.e(4298).then(e.bind(e,93899)))),BottomNav:(0,i.$V)((()=>e.e(5625).then(e.bind(e,55625)))),CookieLaw:(0,i.$V)((()=>e.e(1080).then(e.bind(e,51080)))),BackToTop:(0,i.$V)((()=>
1e.e(554).then(e.bind(e,20554)))),QuickDonateSticky:(0,i.$V)((()=>e.e(6072).then(e.bind(e,36072))))},setup(){const t=(0,c.lq)();(0,u.u)({title:()=>t.name?`${t.name} | Al-Imdaad Foundation UK`:"Al-Imdaad Foundation UK",meta:[{name:"description",content:()=>t.meta.description}]})},data(){return{isHover:!1,limitPosition:20,scrolled:!1,pageHeight:null,percentage:null,quickDonateScroll:450,quickDonateHide:!1,url:"https://www.alimdaad.co.uk"}},watch:{$route(t,a){this.matchHeight();const e=Date.now();this.loggedInTime&&e>this.loggedInTime&&(this.logout(),this.$router.push("/"))},theUserID(){null!==this.theUserID&&this.getUserStuff()},organisations(){this.organisations&&this.getOrganisations()},groups(){this.organisations&&this.getGroups()}},mounted(){this.checkMobile(),window.addEventListener("scroll",this.handleScroll),window.addEventListener("resize",this.handleResize),this.handleResize(),this.initPushNotifications()},unmounted(){window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.handleResize)},async beforeMount(){await this.getContentProjects(),await this.getAdminProjects(),this.fetchProjects(),this.fetchProjectTypes(),this.fetchCountries(),await this.fetchDonationTypes(),this.fetchPosters(),this.fetchNews(),this.fetchCurrencies(),this.fetchHeadOffice(),this.fetchBranches(),this.fetchInternational(),this.user&&this.userTransactions&&this.userTransactions.length<1&&this.fetchUserTransactions(),this.user&&!this.section18ATransactions&&this.fetch18ATransactions(),this.user&&!this.organisations&&this.fetchOrganisations(),this.user&&this.organisations&&this.organisationTransactions&&this.organisationTransactions.length<1&&this.getOrganisations(),this.user&&!this.groups&&this.fetchGroups(),this.user&&this.groups&&this.userGroupTransactions&&this.userGroupTransactions.length<1&&this.getGroups(),this.user&&!this.debitOrders&&this.fetchUserDebitOrders(),this.user&&!this.dailySadaqah&&this.fetchUserDailySadaqah(),this.user&&!this.pastZakaat&&this.fetchPastZakaat()},computed:{...(0,d.L8)(["isApp","isOpenOverlay","isMobile","user","donateAs","loggedInTime","userDonors","userTransactions","organisationTransactions","organisations","debitOrders","dailySadaqah","userGroupTransactions","groups","pastZakaat","section18ATransactions"]),theUserID(){return this.user?this.user.userID:null},showQuickDonate(){return!this.isMobile&&"Home"!==this.$route.name&&"Donate Now"!==this.$route.name&&"Donation Checkout"!==this.$route.name&&"Project"!==this.$route.name&&!this.quickDonateHide}},beforeRouteEnter(t,a,e){e((t=>{t.matchHeight()}))},methods:{...(0,d.i0)(["setMobile","getContentProjects","getAdminProjects","fetchProjects","fetchMoreProjects","fetchProjectTypes","fetchCountries","fetchDonationTypes","fetchPosters","fetchNews","fetchCurrencies","fetchHeadOffice","fetchBranches","fetchInternational","fetchOrganisations","fetchUserTransactions","fetchOrganisationTransactions","fetchGroups","fetchGroupTransactions","fetchUserDebitOrders","fetchUserDailySadaqah","fetchPastZakaat","fetch18ATransactions","logout","initPushNotifications"]),onCookieAccept(){this.$gtm.enable(!0)},matchHeight(){setTimeout((()=>{const t=this.$refs.page.scrollHeight;this.pageHeight=t}),700)},handleScroll(){this.matchHeight(),this.isBottomInViewport();const t=window.scrollY+innerHeight,a=t/this.pageHeight;this.percentage=a>1?1:a,window.scrollY>this.limitPosition?this.scrolled=!0:this.scrolled=!1},getUserStuff(){this.user&&(this.fetchGroups(),this.fetchUserDebitOrders(),this.fetchUserDailySadaqah(),this.fetchOrganisations(),this.fetchUserTransactions(),this.fetchPastZakaat(),this.fetch18ATransactions())},getOrganisations(){this.organisations&&this.organisations.length>0&&this.organisations.forEach((t=>{this.fetchOrganisationTransactions(t.organisationID)}))},getGroups(){this.groups&&this.groups.length>0&&this.groups.forEach((t=>{this.fetchGroupTransactions(t.donorGroupID)}))},handleResize(){this.checkMobile()},isBottomInViewport(){const t=this.$refs.main.getBoundingClientRect().bottom,a=t-window.innerHeight;this.quickDonateHide=a<100},checkMobile(){window.innerWidth<992?this.setMobile(!0):this.setMobile(!1)}}},yt=(0,S.A)(At,[["render",r]]),ft=yt;var St=e(39325),Dt=e(3459),Tt=e(43491),kt=e(68347),It=e(98379);e(59841),e(38398),e(6878),e(58668),e(14706),e(78821),e(60044),e(22190);const Ct=(0,s.Ef)(ft),Pt=(0,It.c)();
1Ct.use(Pt),Ct.use(Dt.A),Ct.use(St.A),Ct.use(kt.A),Ct.use((0,Tt.d8)({id:"GTM-59C2ZGL5",enabled:"true"===localStorage.getItem("cookie:accepted"),vueRouter:St.A}));const Bt=Ct.config.globalProperties.$gtm,Et=Bt.trackEvent.bind(Bt),Rt=Bt.enable.bind(Bt),vt=[];Bt.trackEvent=function(t){Bt.options.enabled?Et(t):vt.push(t)},Bt.enable=function(t,a){if(Rt(t,a),t&&vt.length>0)while(vt.length>0)Et(vt.shift())},Ct.mount("#app")},21309:(t,a,e)=>{"use strict";t.exports=e.p+"img/al-rayaanbank.d3b4fedc.png"},22190:(t,a,e)=>{"use strict";e.r(a)},26552:(t,a,e)=>{"use strict";t.exports=e.p+"img/daily-sadaqah-logo.1bf58062.png"},34e3:(t,a,e)=>{"use strict";t.exports=e.p+"img/nedbank.b807877b.png"},35965:(t,a,e)=>{"use strict";t.exports=e.p+"img/fnb.25078b07.png"},38815:(t,a,e)=>{"use strict";e.d(a,{Al:()=>c,Ok:()=>o,aZ:()=>n,fR:()=>u,hk:()=>r,r:()=>d});var s=e(94335),i=e(3459);const o=t=>(t.zakaatDetailID||delete t.zakaatDetailID,s.A.post("https://www.alimdaad.co.uk/adms/api/zakaat/v2/saveDetails/withProfile",t,{headers:{baseSystemType:"PUBLIC_WEBSITE",Authorization:`Bearer ${i.A.state.user.jwt}`}})),n=t=>(t.zakaatDetailID||delete t.zakaatDetailID,s.A.post("https://www.alimdaad.co.uk/adms/api/zakaat/v2/saveDetails/anonymous",t,{headers:{baseSystemType:"PUBLIC_WEBSITE"}})),r=()=>{if(null!==i.A.state.user.user)return s.A.get(`https://www.alimdaad.co.uk/adms/api/zakaat/v2/pastZakaatDetails/${i.A.state.user.user.id}`,{headers:{Authorization:`Bearer ${i.A.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}})},c=t=>s.A.delete(`https://www.alimdaad.co.uk/adms/api/zakaat/zakaatDetails/delete/${t}`,{headers:{Authorization:`Bearer ${i.A.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}}),d=t=>s.A.get(`https://www.alimdaad.co.uk/adms/api/zakaat/summary/download/${t}`,{headers:{Authorization:`Bearer ${i.A.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"},responseType:"blob"}),u=t=>s.A.get(`https://www.alimdaad.co.uk/adms/api/zakaat/useExistingDetails/${t}`,{headers:{Authorization:`Bearer ${i.A.state.user.jwt}`,baseSystemType:"PUBLIC_WEBSITE"}})},39325:(t,a,e)=>{"use strict";e.d(a,{A:()=>c});e(18111),e(7588);var s=e(75220);const i="UK";let o={path:"/checkout/:id",name:"Donation Checkout",component:()=>Promise.all([e.e(281),e.e(7085)]).then(e.bind(e,28170)),meta:{description:"View your donation cart"}};"UK"===i&&(o={path:"/checkout/:id",name:"Donation Checkout",component:()=>Promise.all([e.e(281),e.e(7085)]).then(e.bind(e,18229)),meta:{description:"View your donation cart"}});const n=[{path:"/",name:"Home",component:()=>e.e(7962).then(e.bind(e,3443)),meta:{description:"South African based non-profit relief organisation dedicated to providing humanitarian services in crisis and non-crisis situations"}},{path:"/deleteaccount",name:"Request Account Delete Page",component:()=>e.e(7962).then(e.bind(e,13434)),meta:{description:"This is Home description"}},{path:"/reset",name:"Reset password",component:()=>e.e(135).then(e.bind(e,63535)),props:t=>({query:t.query}),meta:{description:"Reset you password"}},{path:"/profile/:id",name:"Donor Profile",component:()=>e.e(9844).then(e.bind(e,48126)),meta:{requiresAuth:!0}},{path:"/profileedit",name:"Edit Profile",component:()=>e.e(9844).then(e.bind(e,10712)),meta:{requiresAuth:!0}},{path:"/donorgroups",name:"Donor Groups",component:()=>e.e(2353).then(e.bind(e,48287)),meta:{requiresAuth:!0}},{path:"/donorgroupconfirmation",name:"Donor Group Confirmation",component:()=>e.e(2353).then(e.bind(e,58522)),props:t=>({query:t.query.donorGroupInvite}),meta:{requiresAuth:!0}},{path:"/grouptransactions/:id",name:"Group Transactions",component:()=>e.e(2353).then(e.bind(e,63676)),meta:{requiresAuth:!0}},{path:"/managezakaah",name:"Zakaah Calculations",component:()=>e.e(3921).then(e.bind(e,93494)),meta:{requiresAuth:!0}},{path:"/organisations",name:"Organisations",component:()=>e.e(4306).then(e.bind(e,1730)),meta:{requiresAuth:!0}},{path:"/organisationnew",name:"New Organisation",component:()=>e.e(4306).then(e.bind(e,41419)),meta:{requiresAuth:!0}},{path:"/organisationedit/:id",name:"Edit Organisation",component:()=>e.e(4306).then(e.bind(e,37320)),meta:{requiresAuth:!0}},{path:"/organisationdonations/:id",name:"Organisation Donations",component:()=>e.e(4306).then(e.bind(e,3435)),meta:{requiresAuth:!0}},{path:"/managesadaqah",name:"Manage Daily Sadaqah",component:()=>e.e(1994).then(e.bind(e,92914)),meta:{requiresAuth:!0}},{path:"/manage18a",name:"Manage Section 18A",component:()=>e.e(8431).then(e.bind(e,73112)),meta:{requiresAuth:!0}},{path:"/giftaidpreferences",name:"GiftAid Preferences",component:()=>e.e(6411).then(e.bind(e,94861)),meta:{requiresAuth:!0}},{path:"/dailysadaqah",name:"Daily Sadaqah",component:()=>e.e(2064).then(e.bind(e,34544)),meta:{description:"Change a life, every day."}},o,{path:"/donate",name:"Donate Now",component:()=>e.e(16).then(e.bind(e,19403)),meta:{description:"Make a difference with your donations today."}},{path:"/paymentcancelled",name:"Payment Cancelled",component:()=>Promise.all([e.e(281),e.e(7085)]).then(e.bind(e,97482)),meta:{description:"Your payment has been cancelled."}},{path:"/paymentcomplete",name:"Payment Complete",component:()=>Promise.all([e.e(281),e.e(7085)]).then(e.bind(e,54596)),meta:{description:"Thank y
1ou for donating."}},{path:"/recurringpaymentcomplete/:subscriptionRef/:donationId",name:"Recurring Payment Complete",component:()=>Promise.all([e.e(281),e.e(7085)]).then(e.bind(e,27670)),meta:{description:"Thank you for setting up your recurring donation."}},{path:"/paymentcompleteUk",name:"Payment Complete ",component:()=>Promise.all([e.e(281),e.e(7085)]).then(e.bind(e,90640)),props:t=>({query:t.query}),meta:{description:"Thank you for donating."}},{path:"/recurringpaymentcompleteUk/:subscriptionRef/:donationId",name:"Recurring Payment Complete ",component:()=>Promise.all([e.e(281),e.e(7085)]).then(e.bind(e,2845)),meta:{description:"Thank you for setting up your recurring donation."}},{path:"/recurringdonations",name:"Recurring Donations ",component:()=>e.e(16).then(e.bind(e,12469)),meta:{requiresAuth:!0,description:"View and manage your recurring donations"}},{path:"/managerecurringdonations",name:"Recurring Donations",component:()=>e.e(3038).then(e.bind(e,20003)),meta:{requiresAuth:!0,description:"View and manage your recurring donations"}},{path:"/debitorders",name:"Debit Orders",component:()=>e.e(3038).then(e.bind(e,82996)),meta:{requiresAuth:!0,description:"View and manage your debit orders "}},{path:"/pledges",name:"Pledged Donations",component:()=>e.e(3038).then(e.bind(e,64016)),meta:{requiresAuth:!0,description:"View, manage and complete your pledges"}},{path:"/appeals/:id",name:"Appeals",component:()=>e.e(663).then(e.bind(e,9532)),meta:{description:"Browse through all the ways you can make a difference."}},{path:"/news",name:"News",component:()=>e.e(1408).then(e.bind(e,73471)),meta:{description:"View the latest news"}},{path:"/news/:id",name:"News Article",component:()=>e.e(1408).then(e.bind(e,26488)),meta:{description:"Individual news article"}},{path:"/ourwork",name:"Our Work",component:()=>e.e(8010).then(e.bind(e,47425)),meta:{description:"Empowering lives in over 75 countries worldwide"}},{path:"/sudan",name:"Sudan Emergency Appeal",component:()=>e.e(4195).then(e.bind(e,4195)),props:{id:513},meta:{description:"Al-Imdaad Sudan Emergency Appeal"}},{path:"/project/:id",name:"Project",component:()=>e.e(4195).then(e.bind(e,4195)),props:!0,meta:{description:"Individual project"}},{path:"/contact",name:"Contact Us",component:()=>e.e(8863).then(e.bind(e,67025)),meta:{description:"Get in touch"}},{path:"/aboutus",name:"About Us",component:()=>e.e(7760).then(e.bind(e,14886)),meta:{description:"Striving to serve humanity for over twenty years"}},{path:"/section18a",name:"Section 18A",component:()=>e.e(315).then(e.bind(e,19233)),meta:{description:"Tax Returns Benefits when donating to the Al-Imdaad Foundation"}},{path:"/giftaid",name:"The Gift Aid Scheme",component:()=>e.e(6339).then(e.bind(e,20744)),meta:{description:"Gift Aid is a government scheme which is open to all charity supporters who pay UK Income and Capital Gains tax"}},{path:"/volunteer",name:"Volunteer",component:()=>Promise.all([e.e(281),e.e(4153)]).then(e.bind(e,83916)),meta:{description:"Become an ambassador of change today"}},{path:"/waystodonate",name:"Donation Methods",component:()=>e.e(16).then(e.bind(e,48823)),meta:{description:"Ways to Donate"}},{path:"/zakaahcalculator/:id",name:"Zakaah Calculator",component:()=>e.e(3921).then(e.bind(e,59496)),meta:{description:"This calculator will assist you to calculate your zakaat."}},{path:"/verifiedfundraisers",name:"Verified Fundraisers",component:()=>e.e(5089).then(e.bind(e,63824)),meta:{description:"Search for a verified fundraiser near you"}},{path:"/search",name:"Search",component:()=>e.e(9265).then(e.bind(e,41088)),meta:{description:"Enter a keyword to search for appeals or project updates."}},{path:"/appdownload",name:"App Download",component:()=>e.e(8354).then(e.bind(e,92833)),meta:{description:"Serve humanity on-the-go with our official app"}},{path:"/donationspolicy",name:"Donations Policy",component:()=>e.e(6088).then(e.bind(e,39589)),meta:{description:"It is important to mention that Al-Imdaad Foundation operate a 100% donation policy for Zakaat and Sadaqaah"}},{path:"/privacypolicy",name:"Privacy Policy",component:()=>e.e(6088).then(e.bind(e,45620)),meta:{description:"Al-Imdaad Foundation respects the privacy of our users. This Privacy Policy explains how we
1collect, use, disclose, and safeguard your information when you use our mobile application or visit our Website"}},{path:"/terms",name:"Terms & Conditions",component:()=>e.e(6088).then(e.bind(e,66725)),meta:{description:"The Al-Imdaad Foundation is a non-profit humanitarian aid relief organisation (NGO) registered in the Republic of South Africa, dedicated to providing humanitarian services in crisis and non-crisis situations to most needy orphans, widows and destitute, irrespective of race, religion, culture, creed and geographical boundary"}},{path:"/disclaimer",name:"Disclaimer",component:()=>e.e(6088).then(e.bind(e,56228)),meta:{description:"The information contained in this website is for general information purposes only."}}],r=(0,s.aE)({history:(0,s.LA)(),routes:n});r.beforeResolve((async t=>{window.scrollTo(0,0)})),r.beforeEach(((t,a,e)=>{if(t.hash&&"/"===t.path)try{const a=t.hash.substring(1);let s=a;const i={};if(a.includes("?")){const t=a.split("?");s=t[0];const e=t[1],o=e.split("&");o.forEach((t=>{const a=t.split("=");2===a.length&&(i[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))}))}e({path:s,query:i,replace:!0})}catch(s){e({path:"/",replace:!0})}else e()}));const c=r},43638:(t,a,e)=>{"use strict";t.exports=e.p+"img/Bismillah-Khutbah-1.72d5e359.png"},60044:(t,a,e)=>{"use strict";e.r(a)},61305:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAETElEQVR42t2aX0hTURjA7xSdC7T0JRCS3laZezbowVfpzcwZVsz5YARCb5Vg0EsGJhS9WCzoJSg16GF3mwkz89FeEkFFmsttRs79cU+95Ol8d7vjbjv33nPOzpTtwgfids53fvvO/c7350iSkAdZgj9i9nQ6PYJlZv9TYHmzofPXVuPlv5t1FxGI8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xMXatEItESGZ9epfXtIltvxHcGr2XnfM8Zrj4iDMT5ygrNAVWRZmgOJpVKLcEPW157GpsyHNk/sfY0tNpgq4u7MHD7i+t4Lwx4D6m9E88VDhs+iCp9hQMOu4pd4Si9VCN7xV+q8R3PpRrSNadTg/6nZV9zwqH4iVxzMr14Nh9Y3iBcPNvIXTyDOgGkpyIvnv0Hv7A+AE/8IWcAAAAASUVORK5CYII="},65395:(t,a,e)=>{"use strict";t.exports=e.p+"img/p.82017b00.png"},77570:(t,a,e)=>{"use strict";t.exports=e.p+"img/absa.724057cd.png"},78266:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEKUlEQVR42t2aS0wTQRjHd2m23ZLURy9qjYWTBaRFPQjGR4y24sUXQksCooByEFE8epCjeNFoYiyaYlBEIwpeuq1GQ33UhIAcfG9bqSXag0EK7QWCwjhTUtKWbW237e7CJP9ks4/Z/eX7vpnvm1kMS0MDGIZ7cnbmO7M3NjhIjYkmNtihRhziwilalA+CQsfoHLzmJNXt6F7X6h0F6FmM70Yrtqm+SotaHUThMI2pACsRBW5aWnTJDfviHMC1qriElqgpB543wxogSqgvB+zTJd+yNeMAHxU71zmlRd00np6PZxTqW6J+9A2+KyMQTtnmWjor358xgGihd8k21aXPjVwuybjnh2lYsx9wBhHucqTmzvfcXWRKED6fb/nExIQNCvjcI4A3GGLDGwizghXEOVOpvKf/5jsEERKfMDRROPRBuX1lchBXKqRNd3Vvm7q04MngLSAcmKBlEnezxg7tPQQRkpBgYMx0JARxql17MhxiHmaAAUbNDwwaQeNb4vrunKZObYAJRFCWgUNz3Hnmco+uNxaE4GAkmkeMEL8GddumaS1oo+KDIPUOCsDN8DzgkheXLACZ/KR7Cpxa8MeRGIwQYsYhKTRHQJw/rc6b/rJnFoEkA9M7wK+bBZPW8KyZJMnWqgNrwN+ve8Cig4FlRIgDJwjCjeqjagRDR8IY2cYMRzCweBsOFmdKpbJgrsib09GDUZaBA4DRzC5mvC3XgPfC1YxrtM+uwmQyWUM4CCOMI0GYKMtwqHoUH+3RIEg1hxjczJx8zHChQCDQhsH4sDOBMMFMJ+hm3f3XwdC315xp0PXyFQLxxAIJwhxeCHMjARgudfZB6QgmFoun4oEgHRM4TPODfVOYSCQC/wMJwpQpwIxAYc7c3wuWDkhCrlW2CFxrKQR78/1Sz9IZfmNNiEejJ0Ra0LN725JIUeDMXrcgaaxmgqCSh3D//A1auj6BCxyo771XFZHGV7FM45kgNM0vAVZmzrjEFdQw/HQ85cKKTwik7ErrxbilrnERQOBHzDNrT75YH1G3T33WWlO1hJpDCCSJ3mpOaTlICBB4GTUrP/68hHFt68pjbY/Q3SkkstL6MOZKY32SS6Z8QWSVm/2K2mfxt+Yab+tOCNWdQpJVP61NaEX+9B1dp1AhyEpLR1IbPY0xNnr4cickQm95k3vcltx+Yn1w6834TkAQQ7nNNnb7iGNjY8vGx8dtfLsTUQEtwRZi/j8TAMQe76hJw2NMJO1O8ZqsmqrNKqf83A2xlF9WZanLyN8PaOwmDZZuPKMzNrQCfMd/54l0NJQaSPSUGSVt6UwAJQYLJa+xZv6nmuiGMk+URhOoJmAdyJRbarC2Kur6uP/NiWFIwHNOPM+HUA2kgTIResoOP9AjNlgmReUUQELH8NwIugYDuB3duwY+M18Updj+Afdojd7DrWBrAAAAAElFTkSuQmCC"},86992:(t,a,e)=>{"use strict";
1t.exports=e.p+"img/Gift-Aid-Logo-Green.8e09e4a8.png"},87374:(t,a,e)=>{"use strict";t.exports=e.p+"img/appdownload.978ae05c.png"},88518:(t,a,e)=>{"use strict";t.exports=e.p+"img/south-africa-flag.50c234cd.png"},91386:(t,a,e)=>{"use strict";t.exports=e.p+"img/bg.82017b00.png"},94504:(t,a,e)=>{var s={"./Bismillah-Khutbah-1.png":43638,"./Gift-Aid-Logo-Green.png":86992,"./absa.png":77570,"./al-rayaanbank.png":21309,"./albaraka.png":12900,"./appdownload.png":87374,"./bg.png":91386,"./daily-sadaqah-logo.png":26552,"./default.png":11836,"./fnb.png":35965,"./googleplay.png":9388,"./nedbank.png":34e3,"./p.png":65395,"./south-africa-flag.png":88518,"./uk_image.png":61305,"./za_image.png":78266};function i(t){var a=o(t);return e(a)}function o(t){if(!e.o(s,t)){var a=new Error("Cannot find module '"+t+"'");throw a.code="MODULE_NOT_FOUND",a}return s[t]}i.keys=function(){return Object.keys(s)},i.resolve=o,t.exports=i,i.id=94504}},a={};function e(s){var i=a[s];if(void 0!==i)return i.exports;var o=a[s]={exports:{}};return t[s].call(o.exports,o,o.exports,e),o.exports}e.m=t,(()=>{var t=[];e.O=(a,s,i,o)=>{if(!s){var n=1/0;for(u=0;u<t.length;u++){s=t[u][0],i=t[u][1],o=t[u][2];for(var r=!0,c=0;c<s.length;c++)(!1&o||n>=o)&&Object.keys(e.O).every((t=>e.O[t](s[c])))?s.splice(c--,1):(r=!1,o<n&&(n=o));if(r){t.splice(u--,1);var d=i();void 0!==d&&(a=d)}}return a}o=o||0;for(var u=t.length;u>0&&t[u-1][2]>o;u--)t[u]=t[u-1];t[u]=[s,i,o]}})(),(()=>{e.n=t=>{var a=t&&t.__esModule?()=>t["default"]:()=>t;return e.d(a,{a}),a}})(),(()=>{e.d=(t,a)=>{for(var s in a)e.o(a,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:a[s]})}})(),(()=>{e.f={},e.e=t=>Promise.all(Object.keys(e.f).reduce(((a,s)=>(e.f[s](t,a),a)),[]))})(),(()=>{e.u=t=>"js/"+({16:"group-donate",135:"group-auth",315:"group-resources-18a",663:"group-appeals",1408:"group-news",1994:"group-sadaqah",2064:"sadaqah",2353:"group-groups",3038:"group-recurring",3921:"group-zakaah",4153:"group-volunteer",4306:"group-organisations",5089:"group-fundraisers",6088:"group-legal",6339:"group-resources-giftaid",6411:"group-giftaid",7085:"group-checkout",7760:"group-about",7962:"home",8010:"group-ourwork",8354:"group-app",8431:"group-manage18",8863:"group-contact",9265:"group-search",9844:"group-profile"}[t]||t)+"."+{6:"471436a9",15:"3ee242bc",16:"23f2524e",71:"2328a1cf",80:"511389a3",135:"0fbc3b8d",170:"2e32322a",173:"b081fb56",202:"ca78182c",229:"fcb2f6d8",240:"c28d3767",281:"4f998f77",315:"e8370023",341:"fe30d6ca",348:"a906cde0",352:"6e241f9c",376:"bc8e8fe1",390:"e044855e",402:"babf741d",440:"f70b9302",443:"f7bb370a",455:"0084e827",510:"5afdb4a8",535:"c5ccca8b",542:"0fdad79a",554:"0860501e",585:"3e6d2e09",586:"1dec2c55",592:"c99e9c0e",622:"7a203f52",629:"89475e58",659:"3b686cde",663:"fa40fd38",693:"ace25395",695:"0d8918c2",703:"1b807f1d",710:"54ec70c0",713:"f31319e0",718:"9b255ea8",758:"737bc71a",799:"f697bca6",814:"f3c43f2e",827:"13907a0d",862:"c765cce6",907:"327144d8",931:"b473dd04",944:"a44da828",972:"fffb51c5",1003:"96f0385b",1022:"eb7382c9",1055:"ab7cebe9",1072:"d486ffd5",1080:"5e58c85a",1092:"03b356d0",1101:"11f0464a",1112:"5ce6daad",1117:"b3777e7d",1128:"cb2b7a6e",1155:"2a2e5393",1157:"60b582f1",1173:"ff59e40a",1186:"15c0aab2",1195:"26a31881",1213:"ad138cde",1220:"08f330c2",1239:"c574dfd2",1285:"b194a4a0",1326:"f030e541",1346:"5f16d01a",1390:"4eb95453",1399:"4a3ba083",1408:"f923ffbc",1470:"196d10e7",1473:"ae3723d5",1492:"1847a9d4",1497:"0d41ca7d",1566:"c0c95da7",1585:"80134db9",1625:"362759d0",1667:"70cc2c1a",1683:"3054447e",1696:"cfa7a8ce",1703:"3bf8cdb8",1735:"d3e65e2d",1747:"8e68479c",1755:"72f4c4d4",1758:"b77f1041",1761:"d53f69d5",1786:"17009858",1842:"b23770c3",1848:"890233f2",1963:"d9583704",1993:"27aa85a1",1994:"42158c78",2008:"1c5aa17e",2016:"bd147c7f",2024:"acdf68f4",2039:"d0e9e753",2064:"20881ec5",2073:"fac42d59",2078:"f928a122",2128:"88fe94ef",2143:"9cd9da1d",2166:"b9c82356",2193:"2474c614",2200:"4d308363",2227:"cb54612a",2260:"5e4a9e41",2274:"f0bf90b0",2280:"79d919d7",2334:"15ff7762",2338:"8bc6fb0f",2353:"ef5aa89a",2358:"84c770c0",2359:"a1f54d77",2410:"db7ec06c",2413:"55ecdf55",2436:"8ee88ec0",2452:"39353f79",2468:"d19d985a",2522:"b8602364",2567:"4072d538",2578:"6c0546ec",2586:"b5e7e6ec",2635:"61f37c73",2639:"9ee752b3",2640:"4d737322",2641:"eb7fddbf",2691:"14e5ede3",2695:"3f6d89e9",2714:"6cbf5c40",2715:"fd766e5c",2760:"d978ea42",2808:"4051710d",2813:"6a335c88",2824:"44837597",2838:"c6ea3892",2879:"0b811d49",2887:"d54eb825",2914:"abb9604c",2940:"1325b8f0",2983:"aa2aabf2",3023:"c4e703c6",3038:"0f2abe2c",3067:"65c01df3",3081:"30c18fd4",3111:"e5e9fd3a",3156:"b8b72b0b",3163:"fe738a40",3240:"b1643646",3258:"ccbc99d2",3259:"e4a95dd9",3263:"66f8301c",3270:"93cf2c76",3292:"c06bf966",3293:"b018c972",3315:"d5dfba1c",3334:"6c3cbf71",3397:"1d58c923",3445:"3013432e",3446:"559981ba",3496:"17960106",3498:"10d56531",3505:"85ac8569",3522:"20ccd8ba",3559:"2fb0f5a8",3625:"16892077",3627:"d1c04589",3656:"707af860",3679:"46a3b62c",3688:"beee079f",3709:"7eff59c1",3719:"7af
10e1ea",3724:"9061dde4",3725:"92f47dac",3726:"238e2e24",3760:"82665438",3769:"86039f5d",3793:"d4ab086d",3839:"b8716d99",3845:"e956dec9",3864:"313c76c0",3917:"11eebd85",3921:"20076916",3932:"68f57a08",3944:"0ed19b30",3945:"c2980f0f",3982:"c84e2f71",4018:"f4e8dd63",4056:"ea978b07",4073:"aec5922d",4137:"a3c96fdf",4138:"eea56444",4153:"b282d278",4158:"0adfa54c",4184:"bc297aa1",4195:"1dc4bca9",4230:"c564b32d",4235:"d630b8b3",4236:"36d07180",4269:"8d815639",4298:"f2c7819c",4306:"982d6c6c",4319:"daf6c227",4401:"33c30373",4420:"3dfdf2fe",4454:"b5e983d1",4501:"8f85f36d",4525:"4d7196f1",4542:"93909b7b",4543:"58ad5bd8",4560:"be383834",4563:"4ac18c01",4575:"e28dd843",4580:"690b6f4f",4581:"1be0a084",4617:"83ae07fb",4634:"1ba3f89d",4641:"c4ff3daf",4665:"8c19cdd0",4671:"c72f0866",4716:"fca70ce8",4719:"cc148292",4723:"e51dc887",4724:"8342a656",4735:"cb2e78ff",4798:"7cfc5e26",4807:"6ab13f9f",4818:"1cc015fc",4821:"0dbfd0e0",4828:"b975297d",4885:"dfe81865",4887:"88b4b696",4961:"5d0b1d6c",4962:"1bc034d4",4982:"2d783e91",4996:"1f931006",5024:"017667cb",5076:"9cfffaa3",5082:"9db8a131",5089:"33f8746d",5099:"e880674c",5119:"0462aeab",5127:"778221ab",5184:"39611147",5199:"ca8bde96",5235:"9e4f061a",5268:"31125626",5271:"03b5172f",5280:"75cefc9a",5294:"8f0c0459",5337:"48441661",5367:"5dc13569",5397:"bb1dc8c2",5404:"1b0d99f3",5448:"f52748b8",5565:"a240ab17",5613:"c0f76e42",5616:"d4e51242",5625:"a1398292",5634:"b218741c",5636:"531e33c6",5643:"8ec36952",5674:"d0ca2c29",5675:"608993be",5680:"e72fcf8b",5681:"f20f5c1f",5710:"66ce0796",5734:"a7b9ff74",5750:"e35a20bf",5784:"a46343fa",5801:"4abe4fd3",5856:"24e1abb4",5873:"9369bf1d",5883:"53dedf93",5942:"b9d132d2",5960:"64f633bf",5980:"6aace2ef",5981:"9c8b11d0",5982:"b03284e0",6002:"2fa93fc2",6072:"3d54a0d8",6073:"87b7fdb1",6088:"40fbffc9",6097:"625d3604",6102:"80602ddb",6123:"30c15f5f",6161:"7d88f164",6163:"ad836b36",6165:"b0337fbc",6199:"cec7be4e",6202:"fd27f0cd",6291:"ab91e9fe",6309:"91b56c61",6335:"e7bd9c93",6338:"4b3dd5e4",6339:"164482cc",6348:"94a8d230",6372:"91ca0a2b",6411:"aac539c4",6424:"6ab10895",6427:"7342a3e2",6440:"72449ef8",6462:"f5b787ab",6495:"fff07c8a",6518:"e7b38e1e",6526:"cee80b24",6532:"0654bc62",6545:"9bfcc0c2",6561:"dedb282c",6653:"ee53e6e2",6678:"69b0c499",6706:"67aab4a2",6736:"8ea5b0ff",6875:"5ea98a03",6910:"29f3ead7",6952:"ce43952b",6976:"f46eb4ea",6980:"c640b7f2",6995:"8b024f44",7008:"494e07f2",7085:"cca32140",7109:"c17f8357",7124:"09df7d68",7134:"302407ee",7147:"58400958",7166:"9c8dc475",7179:"4f1df2df",7186:"30e47b5a",7205:"021b68ac",7256:"9740acb9",7270:"ac0f69b1",7326:"875c4cf3",7358:"ade51eb7",7359:"fdbfbfb2",7368:"9496c9bf",7375:"80642d49",7388:"906db146",7394:"7b88d8fc",7411:"717980a0",7442:"518825aa",7463:"744101d7",7468:"504d0232",7473:"cdf150e4",7476:"5019b9a6",7494:"0bb28ef2",7555:"721a4584",7592:"1b175b6a",7614:"d5481390",7623:"e95c59d8",7632:"4cd79fcc",7640:"758bd706",7644:"95932938",7663:"4489d87b",7680:"d1e165e4",7693:"312badc1",7717:"af823945",7760:"d7f13a16",7762:"00631d39",7783:"4261e593",7816:"8558998e",7869:"80b435d4",7884:"64523962",7892:"34282563",7910:"0ced5b90",7916:"7b786cd5",7917:"fde6d68e",7922:"f263900f",7929:"7b8069ac",7942:"bdf69c36",7962:"9c952d03",8004:"d95b8908",8010:"4a
17f4735",8040:"5372bc3d",8047:"bf3beb61",8052:"231a351e",8064:"179222ac",8073:"fd715544",8082:"335731e3",8087:"74dc260b",8093:"3321d9cd",8107:"934d5cd7",8124:"2464a654",8137:"e2059180",8144:"4b19149d",8151:"ae7ee157",8169:"d5dcbc08",8175:"43b7c418",8219:"9aebc960",8237:"6a9f4419",8277:"b1db4073",8316:"1e76a1f4",8348:"8c10f72f",8354:"28de413e",8360:"02c52175",8362:"316e49b6",8431:"c201fcc2",8445:"1c68a289",8462:"0a1f1b44",8504:"f73c953b",8507:"7eb82739",8517:"2da807a2",8545:"49e7e23a",8558:"292df56b",8583:"81440830",8644:"7cd5b158",8667:"3f2bfe33",8688:"c5e2a353",8690:"d46a1963",8700:"501451d6",8711:"05f78267",8728:"4751c59a",8745:"74781c81",8771:"0205e5b8",8795:"c504b3a3",8806:"5110f635",8807:"4c673c1d",8810:"57fae7f0",8815:"c0a94a04",8817:"b231793c",8821:"610793a4",8832:"e59f7988",8863:"434512c7",8867:"04340c3d",8922:"b047d81e",8966:"68bbce09",8977:"4b3f4bb0",9032:"967b4750",9053:"5ce6eaac",9132:"673c4d62",9145:"46b03552",9178:"eabe076b",9231:"e3fe7658",9244:"bb99d230",9265:"4cd28bab",9274:"f523ddb1",9313:"30dc5d06",9329:"1ab6dd9a",9376:"fd6e6f3d",9399:"d9de7e16",9407:"9ee8769a",9419:"bed969aa",9471:"8bb71bff",9485:"2535611b",9505:"57ea81b9",9512:"9013430e",9516:"da2a767b",9539:"d4f2bd25",9558:"1d91044f",9561:"3a4c372b",9592:"16439562",9603:"1a6e0cc1",9613:"1ce200c1",9618:"1a325fa4",9622:"42fe6a2a",9633:"798cb969",9644:"f1f56ac4",9669:"8a06cd0f",9708:"e9ff5b90",9723:"b8560536",9759:"6b0e528f",9795:"d309400f",9835:"01f954b4",9844:"a79b612e",9893:"7138ab6b",9903:"3e16fbec",9919:"98df6664",9948:"25ab0060",9956:"929de24b",9967:"a4f0fc04"}[t]+".js"})(),(()=>{e.miniCssF=t=>"css/"+({16:"group-donate",135:"group-auth",315:"group-resources-18a",1408:"group-news",2353:"group-groups",3921:"group-zakaah",4153:"group-volunteer",4306:"group-organisations",6088:"group-legal",6339:"group-resources-giftaid",6411:"group-giftaid",7085:"group-checkout",7760:"group-about",7962:"home",8010:"group-ourwork",8354:"group-app",8431:"group-manage18",9265:"group-search",9844:"group-profile"}[t]||t)+"."+{6:"92c66d9a",15:"ae49ff7e",16:"8d5fac7f",71:"c147deda",135:"533f2a47",170:"b377982e",173:"b7f2bbc9",202:"e3d2035a",229:"5c23b51b",240:"1a8449b4",315:"c29a83d1",341:"39388d64",348:"0220b9d9",376:"a7f475cc",402:"f5ccfc16",455:"0e1a4c3b",510:"b6d03ae2",535:"09c57adc",542:"f0948007",554:"348f13b4",585:"b8a6fdef",586:"00738c4f",592:"88608289",629:"51570c3c",693:"1b1f55fe",695:"4f8ded32",703:"2e4745aa",713:"41ca6fdc",758:"8c03af1b",799:"2209f50b",814:"7796c8a8",827:"7092d08f",862:"18adec86",907:"61691ffe",972:"748cf7e5",1022:"8e23bc9d",1055:"19cc8cc5",1072:"65bf249f",1080:"9d1e84cd",1101:"ad5fb1de",1117:"34e99b76",1128:"3c1a9d48",1157:"8d4fa1dc",1186:"bdb12b1c",1195:"8daec464",1213:"533f2a47",1220:"2811634c",1239:"c0616774",1285:"16016d83",1326:"b02ba108",1346:"1bc8bbf3",1390:"21d876c7",1399:"dbc653fb",1408:"75b093be",1473:"1c7ccd0a",1497:"6c54defd",1566:"8d2efdad",1585:"ade7a1f5",1625:"c99461b9",1667:"55ed3c6a",1683:"30bce1f9",1696:"38ec1b80",1703:"06544d20",1735:"8138a505",1755:"f46a320a",1758:"297c4b42",1786:"f38a47a2",1842:"1d092ac3",2008:"24715f6d",2016:"fb0cfd37",2039:"b2da4e18",2073:"5fb83cbf",2078:"0117ceef",2143:"9411e644",2166:"2cf9d14a",2193:"a3f40b01",2200:"8e222992",2260:"f50de31f",2274:"01f4b365",2280:"ac7d62d7",2338:"494afd9f",2353:"865f52ff",2358:"b128ea99",2359:"e76b522c",2413:"79fc0027",2452:"382be578",2468:"ca1896b0",2522:"990c937f",2567:"bad06f40",2639:"136026dd",2640:"c98e3d8d",2691:"15ecc284",2695:"ecea3bf0",2714:"865a607e",2715:"2ce8aabf",2760:"114a37cf",2808:"14b712ef",2813:"3af7dc71",2824:"9c49a6d1",2838:"31f92dd5",2879:"c0ee31f5",2914:"17048864",2983:"8dd56fc8",3067:"e63e266a",3081:"5fead81f",3111:"852c6e20",3156:"394bc46a",3163:"8c571ee0",3240:"f7138b34",3258:"48b23d70",3315:"a7fc12c4",3334:"13f493c0",3445:"6ed7ebf2",3496:"a58e6ae2",3498:"71b1f663",3505:"05eb8674",3522:"0a577a75",3559:"64fc1631",3625:"baf26513",3656:"2f9f242c",3679:"187ae989",3709:"249ad1db",3719:"ef93a800",3724:"83536bd2",3725:"091a8fb8",3726:"d65e8290",3845:"a6d395ac",3864:"a5a4c83b",3917:"485901db",3921:"b7214ddf",3944:"5df5e499",3982:"b07ebe4f",4056:"d4bed671",4073:"99960569",4137:"c5d6e75c",4153:"280d7ef2",4158:"f5340e1c",4184:"74351acc",4235:"f4a5806d",4236:"1ac3e7e0",4298:"67def054",4306:"cc008a17",4319:"a51d9243",4454:"e497562e",4501:"c8d03ea3",4525:"7bce10a5",4542:"f08d4e00",4560:"f4dccd02",4580:"e3dba381",4581:"d2e29ca9",4634:"a6a0e256",4671:"3919dd17",4716:"8f6596b3",4724:"f53df41d",4798:"4c90e479",4807:"3534a62f",4818:"45b7ed35",4821:"e58b89fe",4885:"95c6953b",4887:"5ae89282",4961:"c66adf54",4962:"178d4170",4996:"cbc9cd72",5024:"c3b3bf7c",5082:"6a97f40e",5099:"5eb32ce0",5119:"22cb5e98",5127:"186f9d5d",5184:"8b60d4ae",5199:"f96f7e47",5235:"91ee8b6b",5268:"9104368d",5271:"d3025449",5294:"6be0243d",5337:"f796171e",5367:"9cd66b0c",5397:"6bfc1074",5404:"20a761f2",5448:"7a4c79dc",5565:"89203527",5616:"6b7c6006",5625:"fe723c38",5643:"6295411b",5675:"3b045189",5681:"e9be8487",5710:"e949b344",5734:"74bfda8b",5801:"c305d95f",5856:"1a102ebd",5873:"8b9c1a70",5883:"e8768d38",5942:"25ac3236",5960:"48cbee6b",5982:"bb4e648d",6072:"3074e0e1",6073:"1c8ca591",6088:"a681adb5",6097:"067d95dc",6123:"90496a51",6161:"9f51a22b",6165:"f24996c6",6199:"7690011c",6291:"93a642ad",6309:"e4a3b8a6",6338:"fa3500dd",6339:"40fa87e8",6348:"f0d86fab",6411:"01506b01",6462:"89c71e12",6495:"07bd45c6",6518:"2060ae58",6532:"d201de7f",6545:"7595d795",6561:"391a6045",6736:"c95063e9",6875:"4dea3a22",6910:"215c4c2e",6952:"34017808",6976:"f24b28a3",6980:"5a201ec7",6995:"62e662dc",7008:"e899b1a8",7085:"416666cb",7109:"13ab7c18",7179:"086feec3",7358:"c7e4203d",7359:"b2446aad",7368:"45027257",7375:"ece19b74",7388:"3c90f443",7394:"761b2bc7",7411:"ae10b017",7442:"3dc38e4d",7468:"c6f73442",7473:"de4638cf",7494:"c15aa3d9",7592:"34cc393c",7614:"08baaa5b",7632:"cbb90214",7640:"684d2cb9",7644:"249229ec",7693:"08f938ea",7760:"2d762617",7762:"92a7a81e",7783:"bd29e528",7869:"030959a9",7884:"3b0ad0af",7892:"a5326149",7910:"ad5fa938",7916:"dfcf4b15",7917:"32982714",7922:"db2a89d1",7942:"23f65a36",7962:"f85e95da",8004:"30593ff8",8010:"99c45b38",8040:"1bd1e943",8047:"1181cba9",8073:"0585cf5e",8087:"b470b470",8124:"25b9cccc",8137:"835a11e3",8144:"ed4d049e",8151:"5b9997a7",8169:"3b9f2fdd",8175:"04155f5e",8219:"a3546fdf",8237:"b3800d13",8277:"4b2157f1",8348:"bb2b308f",8354:"cfef4c47",8362:"2041a78b",8431:"cd7a6123",8445:"98a21352",8462:"92324cc2",8504:"dcd29dda",8507:"70782fc4",8517:"6b1c05c8",8545:"bf2974c1",8558:"804b5d70",8583:"1f9c0fbd",8644:"85de647d",8667:"45d2767a",8690:"78c4d6d0",8700:"1a0d444d",8711:"533f2943",8728:"030b6a38",8745:"248fb55c",8771:"ed63524d",8806:"e5a7f7b9",8810:"99b8642b",8815:"616e29cc",8817:"2ea2d3b1",8821:"505b0e41",8867:"bae4b78c",8922:"0b4960de",8966:"59f49b58",8977:"caf3ab87",9032
1:"e6b5cb18",9053:"7d51a8ac",9132:"c6215a98",9145:"f92a2181",9178:"0c1157b9",9231:"8e4badcd",9244:"6fdb32fe",9265:"dd16fb5b",9274:"a892449f",9329:"4dace278",9399:"0e40a88e",9419:"b5d367cd",9471:"8486362a",9485:"e277a008",9512:"0fdbce13",9516:"9da02542",9539:"5c79bd53",9558:"2209471d",9592:"260fcac0",9603:"4bc00701",9613:"fbef2ad2",9622:"6e50f2fd",9644:"04a15174",9708:"2a26c865",9759:"9fdfd18b",9795:"a58aa587",9835:"6d26e869",9844:"51ed21c0",9893:"c3f7edf0",9919:"82ca161e",9967:"7ff6a885"}[t]+".css"})(),(()=>{e.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()})(),(()=>{e.o=(t,a)=>Object.prototype.hasOwnProperty.call(t,a)})(),(()=>{var t={},a="alimdaadweb:";e.l=(s,i,o,n)=>{if(t[s])t[s].push(i);else{var r,c;if(void 0!==o)for(var d=document.getElementsByTagName("script"),u=0;u<d.length;u++){var l=d[u];if(l.getAttribute("src")==s||l.getAttribute("data-webpack")==a+o){r=l;break}}r||(c=!0,r=document.createElement("script"),r.charset="utf-8",r.timeout=120,e.nc&&r.setAttribute("nonce",e.nc),r.setAttribute("data-webpack",a+o),r.src=s),t[s]=[i];var p=(a,e)=>{r.onerror=r.onload=null,clearTimeout(m);var i=t[s];if(delete t[s],r.parentNode&&r.parentNode.removeChild(r),i&&i.forEach((t=>t(e))),a)return a(e)},m=setTimeout(p.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=p.bind(null,r.onerror),r.onload=p.bind(null,r.onload),c&&document.head.appendChild(r)}}})(),(()=>{e.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),(()=>{e.p="/"})(),(()=>{if("undefined"!==typeof document){var t=(t,a,s,i,o)=>{var n=document.createElement("link");n.rel="stylesheet",n.type="text/css",e.nc&&(n.nonce=e.nc);var r=e=>{if(n.onerror=n.onload=null,"load"===e.type)i();else{var s=e&&e.type,r=e&&e.target&&e.target.href||a,c=new Error("Loading CSS chunk "+t+" failed.\n("+s+": "+r+")");c.name="ChunkLoadError",c.code="CSS_CHUNK_LOAD_FAILED",c.type=s,c.request=r,n.parentNode&&n.parentNode.removeChild(n),o(c)}};return n.onerror=n.onload=r,n.href=a,s?s.parentNode.insertBefore(n,s.nextSibling):document.head.appendChild(n),n},a=(t,a)=>{for(var e=document.getElementsByTagName("link"),s=0;s<e.length;s++){var i=e[s],o=i.getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(o===t||o===a))return i}var n=document.getElementsByTagName("style");for(s=0;s<n.length;s++){i=n[s],o=i.getAttribute("data-href");if(o===t||o===a)return i}},s=s=>new Promise(((i,o)=>{var n=e.miniCssF(s),r=e.p+n;if(a(n,r))return i();t(s,r,null,i,o)})),i={3524:0};e.f.miniCss=(t,a)=>{var e={6:1,15:1,16:1,71:1,135:1,170:1,173:1,202:1,229:1,240:1,315:1,341:1,348:1,376:1,402:1,455:1,510:1,535:1,542:1,554:1,585:1,586:1,592:1,629:1,693:1,695:1,703:1,713:1,758:1,799:1,814:1,827:1,862:1,907:1,972:1,1022:1,1055:1,1072:1,1080:1,1101:1,1117:1,1128:1,1157:1,1186:1,1195:1,1213:1,1220:1,1239:1,1285:1,1326:1,1346:1,1390:1,1399:1,1408:1,1473:1,1497:1,1566:1,1585:1,1625:1,1667:1,1683:1,1696:1,1703:1,1735:1,1755:1,1758:1,1786:1,1842:1,2008:1,2016:1,2039:1,2073:1,2078:1,2143:1,2166:1,2193:1,2200:1,2260:1,2274:1,2280:1,2338:1,2353:1,2358:1,2359:1,2413:1,2452:1,2468:1,2522:1,2567:1,2639:1,2640:1,2691:1,2695:1,2714:1,2715:1,2760:1,2808:1,2813:1,2824:1,2838:1,2879:1,2914:1,2983:1,3067:1,3081:1,3111:1,3156:1,3163:1,3240:1,3258:1,3315:1,3334:1,3445:1,3496:1,3498:1,3505:1,3522:1,3559:1,3625:1,3656:1,3679:1,3709:1,3719:1,3724:1,3725:1,3726:1,3845:1,3864:1,3917:1,3921:1,3944:1,3982:1,4056:1,4073:1,4137:1,4153:1,4158:1,4184:1,4235:1,4236:1,4298:1,4306:1,4319:1,4454:1,4501:1,4525:1,4542:1,4560:1,4580:1,4581:1,4634:1,4671:1,4716:1,4724:1,4798:1,4807:1,4818:1,4821:1,4885:1,4887:1,4961:1,4962:1,4996:1,5024:1,5082:1,5099:1,5119:1,5127:1,5184:1,5199:1,5235:1,5268:1,5271:1,5294:1,5337:1,5367:1,5397:1,5404:1,5448:1,5565:1,5616:1,5625:1,5643:1,5675:1,5681:1,5710:1,5734:1,5801:1,5856:1,5873:1,5883:1,5942:1,5960:1,5982:1,6072:1,6073:1,6088:1,6097:1,6123:1,6161:1,6165:1,6199:1,6291:1,6309:1,
16338:1,6339:1,6348:1,6411:1,6462:1,6495:1,6518:1,6532:1,6545:1,6561:1,6736:1,6875:1,6910:1,6952:1,6976:1,6980:1,6995:1,7008:1,7085:1,7109:1,7179:1,7358:1,7359:1,7368:1,7375:1,7388:1,7394:1,7411:1,7442:1,7468:1,7473:1,7494:1,7592:1,7614:1,7632:1,7640:1,7644:1,7693:1,7760:1,7762:1,7783:1,7869:1,7884:1,7892:1,7910:1,7916:1,7917:1,7922:1,7942:1,7962:1,8004:1,8010:1,8040:1,8047:1,8073:1,8087:1,8124:1,8137:1,8144:1,8151:1,8169:1,8175:1,8219:1,8237:1,8277:1,8348:1,8354:1,8362:1,8431:1,8445:1,8462:1,8504:1,8507:1,8517:1,8545:1,8558:1,8583:1,8644:1,8667:1,8690:1,8700:1,8711:1,8728:1,8745:1,8771:1,8806:1,8810:1,8815:1,8817:1,8821:1,8867:1,8922:1,8966:1,8977:1,9032:1,9053:1,9132:1,9145:1,9178:1,9231:1,9244:1,9265:1,9274:1,9329:1,9399:1,9419:1,9471:1,9485:1,9512:1,9516:1,9539:1,9558:1,9592:1,9603:1,9613:1,9622:1,9644:1,9708:1,9759:1,9795:1,9835:1,9844:1,9893:1,9919:1,9967:1};i[t]?a.push(i[t]):0!==i[t]&&e[t]&&a.push(i[t]=s(t).then((()=>{i[t]=0}),(a=>{throw delete i[t],a})))}}})(),(()=>{var t={3524:0};e.f.j=(a,s)=>{var i=e.o(t,a)?t[a]:void 0;if(0!==i)if(i)s.push(i[2]);else{var o=new Promise(((e,s)=>i=t[a]=[e,s]));s.push(i[2]=o);var n=e.p+e.u(a),r=new Error,c=s=>{if(e.o(t,a)&&(i=t[a],0!==i&&(t[a]=void 0),i)){var o=s&&("load"===s.type?"missing":s.type),n=s&&s.target&&s.target.src;r.message="Loading chunk "+a+" failed.\n("+o+": "+n+")",r.name="ChunkLoadError",r.type=o,r.request=n,i[1](r)}};e.l(n,c,"chunk-"+a,a)}},e.O.j=a=>0===t[a];var a=(a,s)=>{var i,o,n=s[0],r=s[1],c=s[2],d=0;if(n.some((a=>0!==t[a]))){for(i in r)e.o(r,i)&&(e.m[i]=r[i]);if(c)var u=c(e)}for(a&&a(s);d<n.length;d++)o=n[d],e.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return e.O(u)},s=self["webpackChunkalimdaadweb"]=self["webpackChunkalimdaadweb"]||[];s.forEach(a.bind(null,0)),s.push=a.bind(null,s.push.bind(s))})();var s=e.O(void 0,[504],(()=>e(19140)));s=e.O(s)})();
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.