PageSourceSearch

https://truhoma.org/_next/static/chunks/8404-4ce261bb70d76cec.js

js truhoma.org collected 2026-10-04 21:03:11 UTC 50,918 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8404],{99001:function(e,t,n){n.d(t,{CM:function(){return s},F7:function(){return c},Fq:function(){return j},H0:function(){return O},IM:function(){return y},IT:function(){return P},K9:function(){return A},Kd:function(){return C},OZ:function(){return u},WW:function(){return M},XP:function(){return x},Y0:function(){return E},YS:function(){return D},YY:function(){return p},ZR:function(){return g},_K:function(){return w},dT:function(){return Z},eu:function(){return I},g0:function(){return f},j$:function(){return k},l3:function(){return d},mG:function(){return h},n1:function(){return v},nx:function(){return z},oR:function(){return R},qH:function(){return b},qk:function(){return S},vN:function(){return F},vq:function(){return _},wZ:function(){return m},xE:function(){return q}}),n(19587);var i=n(45362);n(12746);var o=n(8714);n(5979);var a=n(6720);n(85755);var r=n(70998),l=n(6774);let d=(0,l.Z)("div",{target:"ebm46h631"})({name:"1mvcac4",styles:"max-width:1230px;margin-left:auto;margin-right:auto;padding:40px 25px;@media (max-width: 810px){padding:25px;}@media (max-width: 768px){margin-bottom:20px;}"}),s=(0,l.Z)("div",{target:"ebm46h630"})({name:"kfejnw",styles:"width:100%;display:flex;flex-direction:column;margin-bottom:40px;@media (max-width: 810px){flex-flow:row wrap;}"}),c=(0,l.Z)("div",{target:"ebm46h629"})({name:"18pxhhi",styles:"display:flex;width:100%;@media (max-width: 1064px){margin-top:50px;}@media (max-width: 810px){flex-flow:row wrap;justify-content:center;margin-top:25%;}"}),p=(0,l.Z)("img",{target:"ebm46h628"})({name:"1qi1j9b",styles:"width:216px;height:216px;border-radius:108px;background-color:#ededed;z-index:100;margin-top:-100px;margin-right:24px;margin-left:24px;position:relative;@media (max-width: 810px){margin-top:0;margin-bottom:18px;border:4px solid white;}"}),u=(0,l.Z)("div",{target:"ebm46h627"})({name:"fqiuqq",styles:"display:flex;align-items:center;justify-content:start;margin-top:36px;position:relative;@media (max-width: 810px){flex-flow:row wrap;width:100%;display:flex;align-items:center;justify-content:center;}"}),h=(0,l.Z)("div",{target:"ebm46h626"})({name:"1s7lq0q",styles:"display:flex;align-items:center;margin-top:-50px;width:100%;justify-content:space-between;@media (max-width: 1064px){margin-top:-94px;}@media (max-width: 990px){margin-top:-46px;flex-direction:column;align-items:start;justify-content:unset;}@media (max-width: 810px){flex-direction:column;align-items:center;margin-top:0;}"}),m=(0,l.Z)("div",{target:"ebm46h625"})({name:"zqu09h",styles:"display:flex;flex-direction:column;h1{font-style:normal;font-weight:600;font-size:36px;line-height:38px;color:#000000;margin-bottom:0;@media (max-width: 560px){white-space:break-spaces;}}text{font-style:normal;font-weight:normal;font-size:20px;line-height:30px;color:#000000;}@media (max-width: 810px){align-items:center;justify-content:center;}@media (max-width: 768px){text-align:center;}"}),x=(0,l.Z)("div",{target:"ebm46h624"})({name:"d6sw33",styles:"display:flex;flex-direction:column;h2{font-style:normal;font-weight:600;font-size:20px;line-height:19px;color:#000000;margin:0;}text{font-style:normal;font-weight:normal;font-size:20px;line-height:30px;color:#000000;white-space:nowrap;@media (max-width: 990px){margin-top:-5px;}}@media (max-width: 990px){margin-top:24px;flex-direction:row;justify-content:flex-start;margin-left:0;}h2{margin-right:8px;color:#8c8c8c;}"}),g=(0,l.Z)("div",{target:"ebm46h623"})({name:"1mk9io",styles:"height:61px;width:1px;margin:0 32px;opacity:0.3;border:1px solid #8c8c8c;@media (max-width: 990px){display:none;}"}),v=(0,l.Z)("div",{target:"ebm46h622"})({name:"ch7ywl",styles:"height:36px;display:flex;align-items:center;margin-top:80px;align-self:start;position:absolute;right:-32px;text{font-style:normal;font-weight:normal;font-size:20px;line-height:30px;color:#000000;padding-top:5px;}&>:not(:last-child){margin-right:8px;}&>:first-child{margin-right:12px;}img{padding-top:0!important;}@media (max-width: 810px){position:relative;right:0;width:100%;justify-content:flex-start;text{color:#8c8c8c;}}"}),f=(0,l.Z)("a",{target:"ebm46h621"})({name:"1hzus5u",styles:"border-radius:50%;cursor:pointer;width:36px;height:36px!important"}),y=(0,l.Z)("div",{target:"ebm46h620"})({name:"15wghgz",styles:"overflow:auto;padding:40px;flex-grow:1;background-color:#f8f9fa;
1border:1px solid #f0f0f0;box-sizing:border-box;border-radius:8px;font-style:normal;font-weight:normal;font-size:20px;line-height:27px;color:#000000;@media (max-width: 768px){padding:24px;}"}),j=(0,l.Z)("div",{target:"ebm46h619"})({name:"19jsx5m",styles:"display:flex;flex-direction:column;align-items:center;width:100%;justify-content:center"}),b=(0,l.Z)("img",{target:"ebm46h618"})({name:"mn87jg",styles:"max-width:220px"}),w=(0,l.Z)(r.Z.Text,{target:"ebm46h617"})({name:"11xue19",styles:"font-size:24px;line-height:28px;color:#000000;margin-top:25px"});(0,l.Z)("div",{target:"ebm46h616"})({name:"1pfepei",styles:"display:flex;flex-direction:column;padding:28px;width:100%;flex-grow:1;background:#fafafa;border:1px solid #f0f0f0;box-sizing:border-box;border-radius:8px"});let k=(0,l.Z)("h3",{target:"ebm46h615"})({name:"etu7cn",styles:"font-size:32px;line-height:125%;color:#000000;margin-bottom:8px!important;@media (max-width: 768px){font-weight:600;font-size:24px;line-height:125%;}"}),z=(0,l.Z)("div",{target:"ebm46h614"})({name:"1pmep8",styles:"background-color:#f8f9fa;border-radius:8px;border:1px solid #ededed;padding:14px 14px;display:flex;flex-wrap:wrap;justify-content:start;margin-bottom:48px;@media (max-width: 768px){margin-bottom:72px;display:block;}"}),Z=(0,l.Z)("div",{target:"ebm46h613"})({name:"138rvas",styles:"text-align:center;width:67px;
1display:inline-block;position:relative;margin:8px;@media (max-width: 768px){display:flex;width:48px;margin-bottom:16px;}"}),P=(0,l.Z)("img",{target:"ebm46h612"})({name:"1mew3z5",styles:"width:68px;height:68px;border-radius:50%;background-color:#ededed;@media (max-width: 768px){width:48px;height:48px;}"}),D=(0,l.Z)("div",{target:"ebm46h611"})({name:"6xk8mb",styles:"font-size:14px;line-height:20px;color:#000000;margin-top:10px;@media (max-width: 768px){padding-top:6px;padding-left:8px;white-space:nowrap;}"}),C=(0,l.Z)("div",{target:"ebm46h610"})({name:"u21ddu",styles:"width:100%;flex:1;margin-left:19px;height:1px;background:#8c8c8c;margin-right:5px"}),q=(0,l.Z)(a.default,{target:"ebm46h69"})({name:"1hxdqyw",styles:"background-color:#42d487;font-size:20px;color:#000;margin-top:20px;:hover{color:#000!important;}"}),O=(0,l.Z)(o.default,{target:"ebm46h68"})({name:"1i8uh1a",styles:"@media (max-width: 992px){margin-top:72px;margin-bottom:72px;}"}),I=(0,l.Z)(o.default,{target:"ebm46h67"})(""),_=(0,l.Z)("div",{target:"ebm46h66"})({name:"18epmf6",styles:"background-color:#f8f9fa;border-radius:8px;border:1px solid #ededed"}),R=(0,l.Z)("div",{target:"ebm46h65"})({name:"70vgep",styles:"border-radius:8px;padding:10px 10px;display:flex;flex-wrap:wrap;justify-content:start;@media (max-width: 628px){justify-content:center;}"}),M=(0,l.Z)("div",{target:"ebm46h64"})({name:"1099up5",styles:"padding:20px 20px 12px;display:flex;justify-content:space-between;@media (max-width: 768px){justify-content:unset;display:block;padding:20px 20px 6px;}"}),F=(0,l.Z)("div",{target:"ebm46h63"})({name:"tqf3sy",styles:"font-size:20px;line-height:27px;span{color:#42d487;}@media (max-width: 768px){font-size:16px;line-height:20px;margin-bottom:24px;}"}),S=(0,l.Z)("div",{target:"ebm46h62"})({name:"1p90tyq",styles:"background-color:#fff;border-radius:8px;border:1px solid #42d487;font-size:12px;line-height:14px;color:#656a77;padding:10px 16px;cursor:pointer;:hover{background-color:#eaf9f1;}@media (max-width: 768px){text-align:center;}"}),A=(0,l.Z)("div",{target:"ebm46h61"})({name:"242wcq",styles:"background-color:#f8f9fa;border-radius:8px;border:1px solid #ededed;padding:24px"}),E=(0,l.Z)(i.default,{target:"ebm46h60"})({name:"16oi2g2",styles:"margin-top:48px;margin-bottom:20px;@media (max-width: 992px){flex-direction:column-reverse;margin-bottom:0;}"})},65283:function(e,t,n){var i=n(8932),o=n(41977);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach(function(t){(0,i.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}t.Z={getFilters:e=>o.x1.get("/DonationRequest/ExplorerFilter",{headers:e?{"accept-language":e}:{}}),getProject:(e,t,n)=>o.x1.get("/CharityProject/".concat(e),r(r({},t?{headers:{cookie:t}}:{}),{},{timeout:8e3,headers:n?{"accept-language":n}:{}})),getProjectPrivate:e=>o.x1.get("/CharityProject/Own/".concat(e)),getOverflowProject:e=>o.x1.get("/CharityProject/OverflowProject",{headers:{"accept-language":e}}),getProjectGallery:(e,t,n)=>o.x1.get("/CharityProject/".concat(e,"/Gallery"),r(r({},t?{headers:{cookie:t}}:{}),{},{timeout:8e3,headers:n?{"accept-language":n}:{}}))}},55373:function(e,t,n){var i,o,a,r,l;let d,s,c,p,u;n.d(t,{Rq:function(){return p},Y0:function(){return u}}),(i=d||(d={}))[i.SpouseMale=10]="SpouseMale",i[i.SpouseFemale=20]="SpouseFemale",i[i.Son=30]="Son",i[i.Daughter=40]="Daughter",i[i.Grandpa=50]="Grandpa",i[i.Grandma=60]="Grandma",i[i.OtherMember=70]="OtherMember",(o=s||(s={}))[o.UnemployedNoIncome=10]="UnemployedNoIncome",o[o.UnemployedWithSocialHelp=40]="UnemployedWithSocialHelp",o[o.FullyEmployed=20]="FullyEmployed",o[o.PartTimeJob=30]="PartTimeJob",o[o.Retiree=50]="Retiree",o[o.Student=60]="Student",o[o.DisabledPerson=70]="DisabledPerson",(a=c||(c={}))[a.Individual=10]="Individual",a[a.MarriedOrNonMaritalPartnerShip=20]="MarriedOrNonMaritalPartnerShip",a[a.Divorced=30]="Divorced",a[a.Widowed=40]="Widowed",a[a.ExtramaritalPartner=50]="ExtramaritalPartner",(r=p||(p={}))[r.ManagementAdministrationOperations=10]="ManagementAdministrationOperations",r[r.PersonnelAndHumanResource=20]="PersonnelAndHumanResource",r[r.MarketingCommunicationCampaigning=30]="MarketingCommunicationCampaigning",r[r.VolunteerManagement=40]="VolunteerManagement",r[r.PolicyDevelopmentResearch=50]="PolicyDevelopmentResearch",r[r.Fundraising=60]="Fundraising",r[r.GrantOfficersAdvisers=70]="GrantOfficersAdvisers",r[r.Other=80]="Other",(l=u||(u={}))[l.Male=10]="Male",l[l.Female=20]="Female"},58404:function(e,t,n){n.r(t),n.d(t,{CoverImgContainer:function(){return ei},CoverImgContainerv2:function(){return eo},__N_SSG:function(){return B},default:function(){return X}}),n(5979);var i=n(6720);n(19587);var o=n(45362);n(60382);var a=n(12783);n(64227);var r=n(61073);n(12746);var l=n(8714),d=n(6774),s=n(98788),c=n(75830),p=n(29409),u=n(99001),h=n(4601),m=n(30164),x=n.n(m),g=n(41977),v=n(77639),f=n(83424),y=n(7037),j=n.n(y),b=n(88082),w=n(32466),k=n(22986),z=n(21395),Z=n(65283),P=n(23329),D=n(66731),C=n.n(D),q=n(51859),O=n(55544),I=n(53953),_=n(14914);n(75984);var R=n(8932),M=n(42493),F=n.n(M),S=n(93288);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?A(Object(n),!0).forEach(function(t){(0,R.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function U(e){let{photo:t,imageProps:{alt:n,title:i,sizes:o,className:a,onClick:r},wrapperStyle:l}=e;return(0,S.jsx)("div",{style:E(E({},l),{},{position:"relative"}),children:(0,S.jsx)(F(),{fill:!0,src:t,placeholder:"blurDataURL"in t?"blur":void 0,alt:n,title:i,sizes:o,className:a,onClick:r})})}var N=n(55373),W=n(13154),$=n(66495);function T(e){let{width:t,strokeColor:n,strokeColorSecond:i,percent:o,percentSecond:a,note:r}=e;function l(e,t,n,i,o){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"bottom",l=t-o/2,d=0,s=-l,c=0,p=-2*l;switch(r){case"left":d=-l,s=0,c=2*l,p=0;break;case"right":d=l,s=0,c=-2*l,p=0;break;case"bottom":s=l,p=2*l}let u="M 50,50 m ".concat(d,",").concat(s,"\n   a ").concat(l,",").concat(l," 0 1 1 ").concat(c,",").concat(-p,"\n   a ").concat(l,",").concat(l," 0 1 1 ").concat(-c,",").concat(p),h=2*Math.PI*l,m={stroke:i,strokeDasharray:"".concat(n/100*(h-a),"px ").concat(h,"px"),strokeDashoffset:"-".concat(a/2+e/100*(h-a),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:u,pathStyle:m}}function d(e){let t=l(0,e,100,"#f5f5f5",6,75,"bottom");return(0,S.jsx)("path",{d:t.pathString,"stroke-linecap":"round",stroke:t.pathStyle.stroke,"stroke-width":"6","fill-opacity":"0",strokeDasharray:t.pathStyle.strokeDasharray,strokeDashoffset:t.pathStyle.strokeDashoffset,style:{transition:t.pathStyle.transition}})}function s(e,t,n){let i=l(0,n,Math.max(Math.min(e,100),0),t,6,75,"bottom");return(0,S.jsx)("path",{d:i.pathString,"stroke-linecap":"round",stroke:i.pathStyle.stroke,"stroke-width":"6","fill-opacity":"0",strokeDasharray:i.pathStyle.strokeDasharray,strokeDashoffset:i.pathStyle.strokeDashoffset,style:{transition:i.pathStyle.transition}})}return(0,S.jsx)(L,{children:(0,S.jsxs)(Y,{style:{width:"".concat(t,"px"),height:"".concat(t,"px")},children:[(0,S.jsxs)("svg",{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",children:[d(50),d(44),s(o,n,50),s(a,i,44)]}),(0,S.jsx)(G,{children:"".concat(o.toFixed(0),"%")}),(0,S.jsx)(H,{style:{color:i},children:"".concat(a.toFixed(0),"%")}),(0,S.jsx)(V,{children:r})]})})}let L=(0,d.Z)("div",{target:"e2jrtw44"})({name:"w6xjze",styles:"box-sizing:border-box;margin:0;padding:0;color:black;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:'tnum',\"tnum\";display:inline-block"}),Y=(0,d.Z)("div",{target:"e2jrtw43"})({name:"1a2pzrm",styles:"position:relative;display:inline-block;width:100%;overflow:hidden;vertical-align:middle;border-radius:100px;line-height:1;background-color:transparent;color:black;font-size:39px;font-variant:tabular-nums;list-style:none;font-feature-settings:'tnum',\"tnum\";span{display:inline-block;word-break:normal;position:absolute;top:50%;left:50%;width:100%;margin:0;padding:0;color:black;font-size:1em;line-height:1;white-space:normal;text-align:center;transform:translate(-50%, -50%);}"}),G=(0,d.Z)("span",{target:"e2jrtw42"})({name:"21lfcg",styles:"top:40%!important"}),H=(0,d.Z)("span",{target:"e2jrtw41"})({name:"gxtcnq",styles:"top:55%!important;font-size:0.7em!important"}),V=(0,d.Z)("span",{target:"e2jrtw40"})({name:"18u3k1e",styles:"top:66%!important;font-size:16px!important"});var K=n(2729),B=!0,X=(0,s.Xt)(function(e){var t,n,i,d,m,y,D,R,M,F,A,E,L,Y,G,H,V,B,X,e0,e2,e1,e6,e4,e8,e5,e7,e3,e9,te,tt,tn,ti,to,ta,tr,tl,td,ts,tc,tp,tu,th,tm,tx,tg,tv,tf,ty,tj,tb,tw,tk,tz,tZ,tP,tD,tC,tq,tO;let tI,t_,tR;let{initialData:tM,descriptionTranslated:tF,notFound:tS,titleTranslated:tA}=e,tE=(0,z.useRouter)(),[tU]=(0,v.aM)("id"),{0:tN,1:tW}=(0,w.useState)(0),{0:t$,1:tT}=(0,w.useState)(""),{addItem:tL,cart:tY,removeItem:tG}=(0,k.jD)(),tH=(null===(t=(0,s.oR)().getState().user)||void 0===t?void 0:t.discriminator)=="UserIndividualDonee",{t:tV,lang:tK}=(0,b.Z)("project"),{data:tB,mutate:tX}=(0,f.ZP)(["CharityProject/".concat(tU),tU],(e,t)=>Z.Z.getProject(t).then(e=>e.data),{initialData:tM,revalidateOnMount:!0}),{0:tJ,1:tQ}=(0,w.useState)(-1),{0:t0,1:t2}=(0,w.useState)(""),{data:t1}=(0,f.ZP)(["CharityProject/".concat(tU,"/Gallery"),tU],(e,t)=>Z.Z.getProjectGallery(t).then(e=>e.data),{revalidateOnFocus:!1,revalidateOnMount:!0,revalidateOnReconnect:!1,refreshWhenOffline:!1,refreshWhenHidden:!1,refreshInterval:0}),t6=(e,t,n)=>Intl.NumberFormat(tE.locale||"sl-SI",t?{style:"currency",currency:t,minimumFractionDigits:!0===n?0:2,currencyDisplay:!0===n?"code":"narrowSymbol"}:{maximumFractionDigits:2,minimumFractionDigits:2}).format(Math.abs(e)).replace(/^(-)?([A-Z]{3})\s*(.+)$/,"$1$3 $2");function t4(e,t){if(e){var n;return j()(e).format((null===(n=tE.locale)||void 0===n?void 0:n.substring(0,2))=="sl"?"DD.MM.YYYY".concat(t?"":" [ob] HH:mm"):"MM/DD/YYYY".concat(t?"":" [at] HH:mm"))}}function t8(e,t,n,i){return Math.floor(e.reduce((e,i)=>{let{width:o,height:a}=i;return e+(null!=o?o:500)/((null!=a?a:500)>0&&null!=a?a:500)*t*n},Math.max(i*(e.length-1),0)))}let t5=(0,K.useMediaQuery)({maxWidth:"768px"});(0,w.useEffect)(()=>{tX(tM)},[tM]);let t7={day:0,hours:0};if(null!=tB){let t3=j().duration(j()(null==tB?void 0:tB.deadlineOn).diff(j()()));t7.day=Math.floor(t3.asDays()),t7.hours=t3.hours()}let t9=tY.items.find(e=>e.projectId==(null==tB?void 0:tB.id)&&"project"==e.type),ne=((null!==(n=null==tB?void 0:tB.budget)&&void 0!==n?n:0)-(null!==(i=null==tB?void 0:tB.donatedAmount)&&void 0!==i?i:0))/(null!==(d=null==tB?void 0:tB.package.value)&&void 0!==d?d:1),nt=(null!==(m=null==tB?void 0:tB.packageCount)&&void 0!==m?m:0)-ne,nn={title:tV("common:seo.project_title",{projectName:null!==(y=null==tM?void 0:tM.name)&&void 0!==y?y:""}),imageUrl:"".concat(g.v2,"CharityProject/").concat(null==tM?void 0:tM.id,"/Image?share=1&ref=").concat((null==tM?void 0:tM.updatedAt)||""),description:null!=tM&&tM.metadescription?null==tM?void 0:tM.metadescription:tV("common:seo.project_description",{name:null!==(D=null==tM?void 0:tM.charity.officialName)&&void 0!==D?D:"2",count:null!==(R=null==tM?void 0:tM.householdsInNeed)&&void 0!==R?R:1}),path:tM&&tM.shareUrl?tM.shareUrl:"/project/".concat(null==tM?void 0:tM.name.replace(/\s+/g,"-"),"/").concat(tU)},ni=tE.locale&&"en-us"==tE.locale.toLowerCase(),no=ni?[20,50,100]:[5,10,20],na=()=>{try{var e;let t=parseFloat((null===(e=tE.locale)||void 0===e?void 0:e.substring(0,2).toLowerCase())==="sl"?t$.replace(",","."):t$);if(isNaN(t))return 0;return t}catch(n){return 0}};if(tB&&(tI=tB.isAmountProject?(0,S.jsxs)(eq,{children:[(0,S.jsxs)(ep,{children:[tV("project_publisheddate"),(0,S.jsx)("b",{children:t4(tB.publishedOn,!0)})]}),tB.isProjectWithoutLimit||(null==tB?void 0:tB.budget)==0?(0,S.jsx)(S.Fragment,{}):(0,S.jsxs)(ep,{children:[tV("project_budgetamount"),(0,S.jsx)("b",{children:t6(null!==(to=null==tB?void 0:tB.budget)&&void 0!==to?to:0,null!==(ta=null==tB?void 0:tB.currency)&&void 0!==ta?ta:"EUR")})]}),(0,S.jsxs)(ep,{children:[tV("project_donationsamount"),(0,S.jsx)("b",{children:t6(null!==(tr=null==tB?void 0:tB.donatedAmount)&&void 0!==tr?tr:0,null!==(tl=null==tB?void 0:tB.currency)&&void 0!==tl?tl:"EUR")})]}),tB.isProjectWithoutLimit||(null==tB?void 0:tB.budget)==0?(0,S.jsx)(S.Fragment,{}):(0,S.jsxs)(ep,{children:[tV("project_remainingamount"),(0,S.jsx)("b",{children:t6((null!==(td=null==tB?void 0:tB.budget)&&void 0!==td?td:0)-(null!==(ts=null==tB?void 0:tB.donatedAmount)&&void 0!==ts?ts:0),null!==(tc=null==tB?void 0:tB.currency)&&void 0!==tc?tc:"EUR")})]}),null!==(tp=null==tB?void 0:tB.usedDonations)&&void 0!==tp&&tp?(0,S.jsxs)(ep,{children:[tV("project_useddonations"),(0,S.jsx)("b",{children:t6(null!==(tu=null==tB?void 0:tB.usedDonations)&&void 0!==tu?tu:0,null!==(th=null==tB?void 0:tB.currency)&&void 0!==th?th:"EUR")})]}):(0,S.jsx)(S.Fragment,{}),(0,S.jsxs)(ep,{children:[tV("number_of_donors"),(0,S.jsx)("b",{children:null!==(tm=null==tB?void 0:tB.donationCount)&&void 0!==tm?tm:0})]}),tB.lastDonation?(0,S.jsxs)(ep,{children:[tV("project_lastdonation"),(0,S.jsx)("b",{children:t4(tB.lastDonation)})]}):(0,S.jsx)(S.Fragment,{}),(0,S.jsx)(eu,{children:tV("thankyoulabel")})]}):tB.isCampaign&&tB.isCampaignWithDonate?(0,S.jsxs)(eq,{children:[(0,S.jsxs)(ep,{children:[tV("project_publisheddate"),(0,S.jsx)("b",{children:t4(tB.publishedOn,!0)})]}),tB.isProjectWithoutLimit||(null==tB?void 0:tB.budget)==0?(0,S.jsx)(S.Fragment,{}):(0,S.jsxs)(ep,{children:[tV("project_budgetamount"),(0,S.jsx)("b",{children:t6(null!==(tx=null==tB?void 0:tB.budget)&&void 0!==tx?tx:0,null!==(tg=null==tB?void 0:tB.currency)&&void 0!==tg?tg:"EUR")})]}),(0,S.jsxs)(ep,{children:[tV("project_donationsamount"),(0,S.jsx)("b",{children:t6(null!==(tv=null==tB?void 0:tB.donatedAmount)&&void 0!==tv?tv:0,null!==(tf=null==tB?void 0:tB.currency)&&void 0!==tf?tf:"EUR")})]}),tB.isProjectWithoutLimit||(null==tB?void 0:tB.budget)==0?(0,S.jsx)(S.Fragment,{}):(0,S.jsxs)(ep,{children:[tV("project_remainingamount"),(0,S.jsx)("b",{children:t6((null!==(ty=null==tB?void 0:tB.budget)&&void 0!==ty?ty:0)-(null!==(tj=null==tB?void 0:tB.donatedAmount)&&void 0!==tj?tj:0),null!==(tb=null==tB?void 0:tB.currency)&&void 0!==tb?tb:"EUR")})]}),null!==(tw=null==tB?void 0:tB.usedDonations)&&void 0!==tw&&tw?(0,S.jsxs)(ep,{children:[tV("project_useddonations"),(0,S.jsx)("b",{children:t6(null!==(tk=null==tB?void 0:tB.usedDonations)&&void 0!==tk?tk:0,null!==(tz=null==tB?void 0:tB.currency)&&void 0!==tz?tz:"EUR")})]}):(0,S.jsx)(S.Fragment,{}),(0,S.jsxs)(ep,{children:[tV("number_of_donors"),(0,S.jsx)("b",{children:null!==(tZ=null==tB?void 0:tB.donationCount)&&void 0!==tZ?tZ:0})]}),tB.lastDonation?(0,S.jsxs)(ep,{children:[tV("project_lastdonation"),(0,S.jsx)("b",{children:t4(tB.lastDonation)})]}):(0,S.jsx)(S.Fragment,{}),(0,S.jsx)(eu,{children:tV("thankyoulabel")})]}):(0,S.jsxs)(eq,{children:[tB&&!tB.projectIsIndividualRequest&&(0,S.jsxs)(ep,{children:[tV("household_in_need"),(0,S.jsx)("b",{children:null==tB?void 0:tB.householdsInNeed})]}),(0,S.jsxs)(ep,{children:[tV("package_value"),(0,S.jsx)("b",{children:tB&&tB.package&&tB.package.value?tB.packageValueMin&&tB.packageValueMax&&tB.packageValueMin!=tB.packageValueMax?"".concat(t6(tB.packageValueMin,null!==(tP=null==tB?void 0:tB.package.currency)&&void 0!==tP?tP:"EUR")," - ").concat(t6(tB.packageValueMax,null!==(tD=null==tB?void 0:tB.package.currency)&&void 0!==tD?tD:"EUR"),")}"):t6(null==tB?void 0:tB.package.value,null==tB?void 0:tB.package.currency):""})]}),(0,S.jsxs)(ep,{children:[tV("funded_packages"),(0,S.jsx)("b",{children:t6(nt)})]}),(0,S.jsxs)(ep,{children:[tV("remaining_packages"),(0,S.jsx)("b",{children:t6(ne)})]}),(0,S.jsxs)(ep,{children:[tV("number_of_donors"),(0,S.jsx)("b",{children:null!==(tC=null==tB?void 0:tB.donationCount)&&void 0!==tC?tC:0})]}),(0,S.jsx)(eu,{children:tV("thankyoulabel")})]})),tB&&(t_=tB.hideDeadline?(0,S.jsx)(S.Fragment,{}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(u.ZR,{}),(0,S.jsx)(u.XP,{children:t7.day<0||t7.hours<0?(0,S.jsx)("h2",{children:tV("expired")}):(null==tB?void 0:tB.status)==50?(0,S.jsx)("h2",{children:tV("closed")}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("h2",{children:tV("expires_after")+":"}),(0,S.jsx)("text",{children:0==t7.day?(0,S.jsx)(h.Z,{i18nKey:"project:time-left-hours",values:{hour:1==t7.hours?1:t7.hours}}):(0,S.jsx)(h.Z,{i18nKey:"project:time-left",values:{day:null!==(tq=t7.day)&&void 0!==tq?tq:"",hour:t7.hours}})})]})})]})),tB){if(tB.isCampaign)tB.childProjects&&tB.childProjects.length>0&&(tR=(0,S.jsxs)(l.default,{lg:12,md:24,xs:24,children:[(0,S.jsx)(eD,{children:tV("linked_projects")}),(0,S.jsx)(eS,{children:tB.childProjects.map(e=>{var t,n,i,o,a,r;return(0,S.jsx)(C(),{passHref:!0,legacyBehavior:!0,href:e.slug?"/project/".concat(e.slug,"/").concat(e.id):"/project/".concat(e.name.replace(/\s+/g,"-"),"/").concat(e.id),children:(0,S.jsxs)(eA,{onMouseEnter(){t2(e.id)},onMouseLeave:()=>t2(""),children:[(0,S.jsx)(eB,{$type:"donation",children:null==e?void 0:e.name}),(0,S.jsxs)(eE,{children:[(0,S.jsx)(eU,{children:(0,S.jsx)(eT,{alt:"",src:(null==e?void 0:e.gender)==N.Y0.Male?"/assets/global/spouse-male.svg":"/assets/global/spouse-female.svg",width:80,height:80})}),(0,S.jsxs)(eG,{children:[1==e.dependentAmount?(0,S.jsxs)(eH,{children:[" ",tV("explorer:household_size-1-member",{size:null!==(t=null==e?void 0:e.dependentAmount)&&void 0!==t?t:0})]}):(0,S.jsxs)(eH,{children:[" ",tV("explorer:household_size",{size:null!==(n=null==e?void 0:e.dependentAmount)&&void 0!==n?n:0})]}),(0,S.jsx)(eV,{children:e.address?e.address.postalTown&&null!=e&&e.address.countryCode?e.address.postalTown+", "+W.getName(null==e?void 0:e.address.countryCode,(null!==(i=tE.locale)&&void 0!==i?i:"en").substring(0,2)):null!=e&&e.address.postalTown?null==e?void 0:e.address.postalTown:null!=e&&e.address.countryCode?W.getName(null==e?void 0:e.address.countryCode,(null!==(o=tE.locale)&&void 0!==o?o:"en").substring(0,2)):"":""})]})]}
1),(0,S.jsx)(eN,{children:(0,S.jsx)(eK,{children:e.description})}),(0,S.jsx)(eW,{children:(0,S.jsxs)(eY,{children:[(0,S.jsx)(eL,{children:e.isAmountProject&&e.isProjectWithoutLimit?e.donatedAmount.toLocaleString(tE.locale,{currency:null!==(a=null==tB?void 0:tB.currency)&&void 0!==a?a:"EUR",style:"currency"}).replace(".",(null===(r=tE.locale)||void 0===r?void 0:r.substring(0,2))=="sl"?",":"."):"".concat(Math.floor(e.donatedAmount/e.budget*100).toString(),"%")}),e.isAmountProject&&e.isProjectWithoutLimit?(0,S.jsx)("p",{children:tV("explorer:project-funded")}):(0,S.jsx)(S.Fragment,{})]})}),(0,S.jsx)(e$,{style:{color:t0==e.id?"#42D487":"#000000"},children:e.isAmountProject&&e.isProjectWithoutLimit?tV("explorer:donate-btn"):e.donatedAmount>=e.budget?tV("explorer:donate-btn-ended"):tV("explorer:donate-btn")})]})},e.id)})})]}));else if(!tB.isAmountProject){let nr=tB.package&&tB.package.items&&tB.package.items.filter(e=>1==e.amount).length===tB.package.items.length;tR=(0,S.jsxs)(l.default,{lg:12,md:24,xs:24,children:[(0,S.jsx)(eD,{children:tV("package_contains")}),(0,S.jsx)(eM,{children:(0,S.jsxs)(eP,{children:[(0,S.jsx)(Q,{children:Array.from([,,].keys()).map((e,t)=>{var n,i,o,a,r,l;return(0,S.jsx)(ee,{children:null==tB?void 0:null===(n=tB.package)||void 0===n?void 0:null===(i=n.items)||void 0===i?void 0:i.slice(t*Math.ceil((null==tB?void 0:null===(o=tB.package)||void 0===o?void 0:null===(a=o.items)||void 0===a?void 0:a.length)/2),(t+1)*Math.ceil((null==tB?void 0:null===(r=tB.package)||void 0===r?void 0:null===(l=r.items)||void 0===l?void 0:l.length)/2)).map((e,t,n)=>(0,S.jsx)(eZ,{children:nr?e.name:"".concat(e.amount,"x ").concat(e.name)},e.id))},"column-".concat(t))})}),(0,S.jsx)(et,{children:null==tB?void 0:null===(tO=tB.package)||void 0===tO?void 0:tO.description})]})})]})}}function nl(){return tB&&tB.shareUrl?tB.shareUrl:"".concat("https://truhoma.org","/").concat(tE.locale,"/project/").concat(tB&&tB.slug?tB.slug:null==tB?void 0:tB.name.replace(/\s+/g,"-"),"/").concat(tU)}return(0,S.jsxs)(c.Z,{type:"anonymous",seo:nn,children:[(0,S.jsxs)(u.l3,{children:[(0,S.jsxs)(u.CM,{children:[tB&&tB.imageDimensionIsV2?(0,S.jsx)(eo,{children:(0,S.jsx)(x(),{src:tB?tB.image?tB.image:tB.projectIsIndividualRequest?"/assets/request-preview/Profile-cover.svg":"".concat(g.v2,"CharityProject/").concat(tB.id,"/Image?ref=").concat(tB.updatedAt||""):"/assets/request-preview/Profile-cover.svg",layout:"fill",objectFit:"cover",alt:null==tB?void 0:tB.name})}):(0,S.jsx)(ei,{children:(0,S.jsx)(x(),{src:tB?tB.image?tB.image:tB.projectIsIndividualRequest?"/assets/request-preview/Profile-cover.svg":"".concat(g.v2,"CharityProject/").concat(tB.id,"/Image?ref=").concat(tB.updatedAt||""):"/assets/request-preview/Profile-cover.svg",layout:"fill",objectFit:"cover",alt:null==tB?void 0:tB.name})}),(0,S.jsxs)(u.OZ,{children:[(0,S.jsx)(u.F7,{children:tB&&tB.projectIsIndividualRequest&&tB.projectIndividualRequestData?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(en,{children:(0,S.jsx)(x(),{src:20==tB.projectIndividualRequestData.gender?"/assets/global/spouse-female.svg":"/assets/global/spouse-male.svg",layout:"fill",objectFit:"cover",alt:null==tB?void 0:tB.charity.officialName})}),(0,S.jsxs)(u.mG,{children:[(0,S.jsxs)(u.wZ,{children:[(0,S.jsx)("h1",{children:1==tB.projectIndividualRequestData.dependentAmount?tV("donationreq:household_size-1-member",{size:1}):tV("donationreq:household_size",{size:tB.projectIndividualRequestData.dependentAmount})}),(0,S.jsx)("text",{children:tB.projectIndividualRequestData.address.postalTown&&tB.projectIndividualRequestData.address.countryCode?tB.projectIndividualRequestData.address.postalTown+", "+W.getName(tB.projectIndividualRequestData.address.countryCode,(null!==(M=tE.locale)&&void 0!==M?M:"en").substring(0,2)):tB.projectIndividualRequestData.address.postalTown?tB.projectIndividualRequestData.address.postalTown:tB.projectIndividualRequestData.address.countryCode?W.getName(tB.projectIndividualRequestData.address.countryCode,(null!==(F=tE.locale)&&void 0!==F?F:"en").substring(0,2)):""})]}),t_]})]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(en,{as:"div",children:(0,S.jsx)(x(),{src:(null==tB?void 0:tB.charity.logo)||"".concat(g.v2,"Charity/").concat(null==tB?void 0:tB.charity.id,"/Logo?ref=").concat((null==tB?void 0:tB.charityUpdatedAt)||""),layout:"fill",objectFit:"cover",alt:null==tB?void 0:tB.charity.officialName})}),(0,S.jsxs)(u.mG,{children:[(0,S.jsxs)(u.wZ,{children:[(0,S.jsx)("h1",{children:null==tB?void 0:tB.name}),(0,S.jsx)("text",{children:null==tB?void 0:tB.charity.officialName})]}),t_]})]})}),(0,S.jsx)(S.Fragment,{children:(0,S.jsxs)(u.n1,{children:[(0,S.jsx)("text",{children:tV("share")}),(0,S.jsx)(u.g0,{href:"https://www.facebook.com/sharer.php?u=".concat(encodeURIComponent(nl())),children:(0,S.jsx)(x(),{width:36,height:36,src:"/assets/global/facebook-logo.png",alt:""})}),(0,S.jsx)(u.g0,{href:"https://www.linkedin.com/shareArticle?mini=ture&url=".concat(encodeURIComponent(nl())),children:(0,S.jsx)(x(),{width:36,height:36,src:"/assets/global/linkedin-logo.png",alt:""})}),(0,S.jsx)(u.g0,{href:"https://twitter.com/share?url=".concat(encodeURIComponent(nl())),children:(0,S.jsx)(x(),{width:36,height:36,src:"/assets/global/twitter-logo.png",alt:""})}),(0,S.jsx)(u.g0,{onClick(){navigator.clipboard.writeText(nl()),r.default.success(tV("common:messages.link-copied"))},children:(0,S.jsx)(x(),{width:36,height:36,src:"/assets/global/link-logo.png",alt:""})}),(0,S.jsx)(u.Kd,{})]})})]})]}),null!=tB&&tB.isCampaign&&(null==tB?void 0:tB.isCampaignWithDonate)!==!0?(0,S.jsxs)(eC,{children:[(0,S.jsx)(eF,{children:" "}),(0,S.jsx)("h5",{children:(0,S.jsx)(C(),{href:"/tracker/".concat((null==tB?void 0:tB.address)||(null==tB?void 0:tB.id)),children:tV("view-campaign")})})]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)(eC,{children:[(0,S.jsx)(eF,{children:tV(null!=tB&&tB.isCampaign?"campaign_funding":"project_funding")}),(0,S.jsx)("h5",{children:(0,S.jsx)(C(),{href:"/tracker/".concat((null==tB?void 0:tB.address)||(null==tB?void 0:tB.id)),children:tV(null!=tB&&tB.isCampaign?"view-campaign":"view-project")})})]}),null!=tB&&tB.isCampaign?(0,S.jsx)(J,{children:tV("campaign_note")}):(0,S.jsx)(S.Fragment,{}),(0,S.jsxs)(ex,{children:[(0,S.jsx)(eh,{children:(0,S.jsx)(o.default,{children:(0,S.jsxs)(eO,{children:[tB&&tB.isProjectWithoutLimit?(0,S.jsx)(x(),{width:220,height:220,objectFit:"contain",src:"/assets/global/projectwithoutlimit.png",alt:""}):(0,S.jsxs)(eI,{children:[tB&&tB.isOngoingProject?(0,S.jsx)(T,{width:220,strokeColor:"#42D487",strokeColorSecond:"#f7afa3",percent:Math.floor((null!==(A=null==tB?void 0:tB.donatedAmount)&&void 0!==A?A:0)/(null!==(E=null==tB?void 0:tB.budget)&&void 0!==E?E:0)*100),percentSecond:Math.floor((null!==(L=null==tB?void 0:null===(Y=tB.ongoingCurrentMonthStat)||void 0===Y?void 0:Y.donatedAmount)&&void 0!==L?L:0)/(null!==(G=null==tB?void 0:null===(H=tB.ongoingCurrentMonthStat)||void 0===H?void 0:H.budget)&&void 0!==G?G:0)*100),note:tV("legend.ongoing_note",{currentIntervalNo:null==tB?void 0:null===(V=tB.ongoingCurrentMonthStat)||void 0===V?void 0:V.currentIntervalNo,maxIntervalNo:null==tB?void 0:null===(B=tB.ongoingCurrentMonthStat)||void 0===B?void 0:B.maxIntervalNo})}):(0,S.jsx)(a.default,{width:220,strokeColor:"#42D487",type:"dashboard",percent:Math.floor((null!==(X=null==tB?void 0:tB.donatedAmount)&&void 0!==X?X:0)/(null!==(e0=null==tB?void 0:tB.budget)&&void 0!==e0?e0:0)*100)}),tB&&tB.isOngoingProject?(0,S.jsxs)(ec,{children:[(0,S.jsxs)("div",{children:[(0,S.jsx)(es,{$filled:!0}),tV("legend.funded")]}),(0,S.jsxs)("div",{children:[(0,S.jsx)(es,{$filledOngoing:!0}),tV("legend.ongoing_monthly_funded")]}),(0,S.jsxs)("div",{children:[(0,S.jsx)(es,{}),tV("legend.available")]})]}):(0,S.jsxs)(ec,{children:[(0,S.jsxs)("div",{children:[(0,S.jsx)(es,{$filled:!0}),tV("legend.funded")]}),(0,S.jsxs)("div",{children:[(0,S.jsx)(es,{}),tV("legend.available")]})]})]}),tI]})})}),(0,S.jsxs)(eR,{$isDonee:tH,children:[(0,S.jsx)(em,{children:tB&&tB.isProjectWithoutLimit?tV("project_value_withoutlimit",{value:t6(null!==(e2=null==tB?void 0:tB.donatedAmount)&&void 0!==e2?e2:0,null!==(e1=null==tB?void 0:tB.currency)&&void 0!==e1?e1:"EUR")}):tV("project_value",{value:t6(null!==(e6=null==tB?void 0:tB.budget)&&void 0!==e6?e6:0,null!==(e4=null==tB?void 0:tB.currency)&&void 0!==e4?e4:"EUR")})}),(0,S.jsx)(ef,{children:tV("select_amount")}),(0,S.jsxs)(ey,{children:[(0,S.jsx)(e_,{children:[...no,null!==(e8=null==tB?void 0:tB.package.value)&&void 0!==e8?e8:ni?500:40].map((e,t)=>{if(3==t&&no.includes(e))return null;{var n,i,o;let a=tB&&tB.isAmountProject?(null!==(n=null==tB?void 0:tB.budget)&&void 0!==n?n:0)-(null!==(i=null==tB?void 0:tB.donatedAmount)&&void 0!==i?i:0):"number"==typeof(null==tB?void 0:tB.package.value)?tB.package.value*ne:0;return(a>0&&e>a&&(e=a),0==e)?null:(0,S.jsx)(er,{onClick:()=>tT(e.toString()),$active:na()===e,$content:null!==(o=null==tB?void 0:tB.currency)&&void 0!==o?o:"EUR",$isDonee:tH,disabled:e>a&&a>0,children:new Intl.NumberFormat(tE.locale||"sl-SI",{maximumFractionDigits:2,minimumFractionDigits:0}).format(e)},"pkgbtn_".concat(t))}})}),(0,S.jsx)("span",{children:tV("or")}),(0,S.jsxs)(ej,{style:{backgroundColor:"".concat(tH?"#f2f2f2":0===na()||[5,10,20,40].includes(na())?"transparent":"#c3f1d7")},children:[(0,S.jsx)($.Af,{value:t$,placeholder:tV("specific_amount"),onChange:tT}),(0,S.jsx)("span",{children:null!==(e5=null==tB?void 0:tB.currency)&&void 0!==e5?e5:"EUR"})]})]}),tB&&tB.isProjectWithoutLimit?(0,S.jsx)(ew,{}):(0,S.jsx)(eb,{onClick(){var e,t;return tT(tB&&tB.isAmountProject?((null!==(e=null==tB?void 0:tB.budget)&&void 0!==e?e:0)-(null!==(t=null==tB?void 0:tB.donatedAmount)&&void 0!==t?t:0)).toString():"number"==typeof(null==tB?void 0:tB.package.value)?(tB.package.value*ne).toString():"")},style:{backgroundColor:"".concat(tH?"#f2f2f2":na()>0&&na()===(tB&&tB.isAmountProject?(null!==(e7=null==tB?void 0:tB.budget)&&void 0!==e7?e7:0)-(null!==(e3=null==tB?void 0:tB.donatedAmount)&&void 0!==e3?e3:0):"number"==typeof(null==tB?void 0:tB.package.value)?tB.package.value*ne:0)?"#c3f1d7":"transparent")},children:(0,S.jsx)("p",{children:tV("pay_all_description")})}),(0,S.jsxs)(ek,{children:[(0,S.jsx)(el,{onClick(){var e,t,n,i,o,a,r;return null!=t9?tG(t9):tL({projectId:null==tB?void 0:tB.id,type:"project",charityName:null!==(e=null==tB?void 0:null===(t=tB.charity)||void 0===t?void 0:t.officialName)&&void 0!==e?e:"",name:null!==(n=null==tB?void 0:tB.name)&&void 0!==n?n:"",price:(null!==(i=null==tB?void 0:tB.package.value)&&void 0!==i?i:0)*tN,amount:na(),packageValue:null==tB?void 0:tB.package.value,budget:(null!==(o=null==tB?void 0:tB.budget)&&void 0!==o?o:0)-(null!==(a=null==tB?void 0:tB.donatedAmount)&&void 0!==a?a:0),donated:null==tB?void 0:tB.donatedAmount,currency:null!==(r=null==tB?void 0:tB.currency)&&void 0!==r?r:"EUR"})},disabled:0==na()||tH,type:"primary",children:tY.items.filter(e=>e.projectId===(null==tB?void 0:tB.id)).length>0?tV("added"):"".concat(tV("donateBtn")," ").concat(t6(na(),null!==(e9=null==tB?void 0:tB.currency)&&void 0!==e9?e9:"EUR",!0))}),tB&&(tB.projectIsIndividualRequest||null!=tB&&tB.isCampaign||null!=tB&&tB.isCampaignWithDonate)?(0,S.jsx)(S.Fragment,{}):(0,S.jsx)(ez,{children:(0,S.jsx)(h.Z,{i18nKey:"project:contact_us",components:{p:(0,S.jsx)("p",{}),customComponent:(0,S.jsx)(C(),{href:"mailto:[email protected]",passHref:!0})},values:{email:"[email protected]."}})})]})]})]})]}),(0,S.jsxs)(eg,{gutter:12,children:[(0,S.jsxs)(l.default,{lg:void 0===tR?24:12,md:24,xs:24,children:[tB&&tB.smsPaymentOption&&tB.smsPaymentOption.show&&(0,S.jsxs)(eX,{children:[(0,S.jsx)(eJ,{children:(0,P.ZP)(null!==(te=null==tB?void 0:null===(tt=tB.smsPaymentOption)||void 0===tt?void 0:tt.note.replace(" .",".").replace(/\n/g,"<br/>"))&&void 0!==te?te:"")}),!t5&&tB.smsPaymentOption.upnqr_dataurl&&(0,S.jsx)(eQ,{children:(0,S.jsx)("img",{src:tB.smsPaymentOption.upnqr_dataurl})})]}),(0,S.jsx)(eD,{children:tV(tB&&tB.projectIsIndividualRequest?"donationreq:request-preview.subtitle-1":tB&&tB.isCampaign?"about_project_campaign":"about_project")}),(0,S.jsx)(ea,{children:(0,P.ZP)(null!==(tn=null==tB?void 0:tB.description.replace(" .",".").replace(/\n/g,"<br/>"))&&void 0!==tn?tn:"")}),tB&&tB.projectIsIndividualRequest&&tB.projectIndividualRequestData&&tB.projectIndividualRequestData.dependentAmount&&tB.projectIndividualRequestData.dependentAmount>1?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(eD,{children:tV("donationreq:request-preview.subtitle-3")}),(0,S.jsx)(u.nx,{children:null===(ti=tB.projectIndividualRequestData.dependants)||void 0===ti?void 0:ti.map(e=>(function(e){switch(e){case 10:return{icon:"spouse-male.svg",text:tV("donationreq:family-members.0")};case 20:return{icon:"spouse-female.svg",text:tV("donationreq:family-members.1")};case 40:return{icon:"daughter.svg",text:tV("donationreq:family-members.3")};case 30:return{icon:"son.svg",text:tV("donationreq:family-members.2")};case 50:return{icon:"grandpa.svg",text:tV("donationreq:family-members.4")};case 60:return{icon:"grandma.svg",text:tV("donationreq:family-members.5")};default:return{icon:"other.svg",text:tV("donationreq:family-members.6")}}})(e.dependantType)).map((e,t)=>(0,S.jsxs)(u.dT,{children:[(0,S.jsx)(u.IT,{src:"/assets/global/".concat(e.icon)}),(0,S.jsx)(u.YS,{children:e.text})]},t))})]}):(0,S.jsx)(S.Fragment,{})]}),void 0===tR?(0,S.jsx)(S.Fragment,{}):tR]}),t1&&t1.length>0?(0,S.jsx)(ev,{children:(0,S.jsxs)(l.default,{flex:"auto",children:[(0,S.jsx)(eD,{children:tV("project_gallery")}),(0,S.jsxs)(ea,{children:[(0,S.jsx)(q.Z,{layout:"rows",renderPhoto:U,photos:t1.map(e=>{var t,n;return{src:e.image,width:null!==(t=e.width)&&void 0!==t?t:500,height:null!==(n=e.height)&&void 0!==n?n:500,title:(null==tB?void 0:tB.name)||"",description:e.description}}),targetRowHeight:200,spacing:20,onClick(e){let{index:t}=e;return tQ(t)},componentsProps:e=>e&&t8(t1,200,1.2,20)<=e?{containerProps:{style:{maxWidth:"".concat(t8(t1,200,1.2,20),"px")}}}:{}}),(0,S.jsx)(O.ZP,{index:tJ,slides:t1.map(e=>{var t,n;return{src:e.image,width:null!==(t=e.width)&&void 0!==t?t:500,height:null!==(n=e.height)&&void 0!==n?n:500,title:(null==tB?void 0:tB.name)||"",description:e.description}}),open:tJ>=0,close:()=>tQ(-1),plugins:[I.Z,_.Z],captions:{showToggle:!1,descriptionTextAlign:"start",descriptionMaxLines:3},zoom:{scrollToZoom:!0,maxZoomPixelRatio:4,zoomInMultiplier:2}})]})]})}):(0,S.jsx)(S.Fragment,{}),tB&&tB.parentProject?(0,S.jsx)("div",{style:{display:"flex",justifyContent:"end"},children:(0,S.jsx)(ed,{onClick(){tE.push(tB&&tB.parentProject?tB.parentProject.slug?"/project/".concat(tB.parentProject.slug,"/").concat(tB.parentProject.id):"/project/".concat(tB.parentProject.name.replace(/\s+/g,"-"),"/").concat(tB.parentProject.id):"/donor/explorer")},children:tV("back-to-campaign")})}):(0,S.jsx)("div",{style:{display:"flex",justifyContent:"end"},children:(0,S.jsx)(ed,{onClick(){tE.push("/donor/explorer")},children:tV("back-to-list")})})]}),(0,S.jsx)(p.Z,{})]})});let J=(0,d.Z)("div",{target:"eyhw02z55"})({name:"1l5l7my",styles:"font-size:20px;line-height:27px;color:#000000;padding:0px;margin-bottom:24px"}),Q=(0,d.Z)("div",{target:"eyhw02z54"})({name:"162na0s",styles:"display:flex;@media (max-width: 560px){display:block;}"}),ee=(0,d.Z)("div",{target:"eyhw02z53"})({name:"1d3w5wq",styles:"width:100%"}),et=(0,d.Z)("div",{target:"eyhw02z52"})({name:"renb5v",styles:"margin-top:20px;font-size:16px;font-weight:400;font-style:italic;line-height:1.2em"}),en=(0,d.Z)("div",{target:"eyhw02z51"})({name:"1merk72",styles:"width:216px;height:216px;border-radius:50%;z-index:100;margin-top:-100px;margin-right:24px;margin-left:24px;position:relative;border:2px solid #ededed;flex-shrink:0;overflow:hidden;background:#ededed;@media (max-width: 810px){margin-top:50px;margin-bottom:18px;}"}),ei=(0,d.Z)("div",{target:"eyhw02z50"})({name:"8yl0rp",styles:"width:auto;height:230px;mix-blend-mode:multiply;border-radius:30px;position:relative;overflow:hidden;@media (max-width: 1064px){display:none;}@media (max-width: 810px){display:inline-block;position:absolute;width:100%;border-radius:0;height:auto;left:0;top:116px;aspect-ratio:3/1;}"}),eo=(0,d.Z)("div",{target:"eyhw02z49"})({name:"18894rb",styles:"width:auto;aspect-ratio:3.1872659176029962546816479400749;height:auto;mix-blend-mode:multiply;border-radius:30px;position:relative;overflow:hidden;@media (max-width: 768px){display:inline-block;posit
1ion:absolute;width:100%;border-radius:0;height:auto;left:0;top:116px;aspect-ratio:16/9;}"}),ea=(0,d.Z)("div",{target:"eyhw02z48"})({name:"1rvrz7a",styles:"font-size:20px;line-height:27px;color:#000000;background-color:#f8f9fa;padding:40px;border-radius:8px;margin-bottom:48px;@media (max-width: 500px){padding:24px;}"}),er=(0,d.Z)("button",{target:"eyhw02z47"})("width:auto;height:72px;position:relative;border:1.5px solid #42d487;box-sizing:border-box;border-radius:8px;margin-right:16px;outline:none;background:",e=>e.$isDonee?"#f2f2f2":null!=e&&e.$active?"#c3f1d7":"transparent",";font-size:20px;color:#000;padding-left:20px;padding-right:20px;padding-bottom:19px;& span{position:absolute;left:50%;transform:translate(-50%);line-height:1;}&::after{content:",e=>"'".concat(e.$content,"'"),";font-size:14px;color:#42d487;position:absolute;left:50%;transform:translate(-50%);bottom:14px;line-height:0.34;}&:disabled{color:#ededed;border-color:#ededed;}&:disabled::after{color:#ededed;}&:not(:disabled):hover{cursor:pointer;background:#c3f1d7;transition:0.3s background;}@media (max-width: 786px){margin-right:8px;padding-left:14px;padding-right:14px;&:last-child{margin-right:0;}}"),el=(0,d.Z)(i.default,{target:"eyhw02z46"})({name:"1cam0yv",styles:"color:#000;width:308px;height:56px;cursor:pointer;@media (max-width: 600px){width:250px;}@media (max-width: 400px){width:100%;}"}),ed=(0,d.Z)(i.default,{target:"eyhw02z45"})({name:"uzimx6",styles:"background-color:#42d487;font-size:20px;margin-top:20px;color:#000;@media (max-width: 500px){width:100%!important;}"}),es=(0,d.Z)("div",{target:"eyhw02z44"})("background-color:",e=>e.$filled?"#42d487":e.$filledOngoing?"#f7afa3":"#E3E4E7",";border-radius:50%;width:15px;height:15px;min-width:15px;min-height:15px;margin-right:8px;display:inline-block;vertical-align:middle;"),ec=(0,d.Z)("div",{target:"eyhw02z43"})({name:"kmlbha",styles:"display:flex;width:220px;justify-content:start;flex-wrap:wrap;margin-top:10px;&>div{white-space:nowrap;margin-right:8px;margin-bottom:4px;}"}),ep=(0,d.Z)("p",{target:"eyhw02z42"})({name:"176u8re",styles:"font-size:16px;line-height:20px;color:#656a77;b{color:#000000;margin-left:8px;}"}),eu=(0,d.Z)("p",{target:"eyhw02z41"})({name:"bt4541",styles:"font-size:16px;line-height:20px;color:#656a77"}),eh=(0,d.Z)("div",{target:"eyhw02z40"})({name:"1096fgb",styles:"border-right:1px solid #e3e4e7;padding-right:34px;@media (max-width: 768px){border-right:unset;padding-right:0;}"}),em=(0,d.Z)("div",{target:"eyhw02z39"})({name:"8gqq7k",styles:"font-size:24px;line-height:30px;font-weight:600;margin-bottom:8px;span{color:#42d487;}"}),ex=(0,d.Z)("div",{target:"eyhw02z38"})({name:"v95e79",styles:"background-color:#f8f9fa;border-radius:8px;padding:48px;display:flex;@media (max-width: 768px){display:block;padding:24px;}"}),eg=(0,d.Z)(o.default,{target:"eyhw02z37"})({name:"f70my9",styles:"margin-top:48px"}),ev=(0,d.Z)(o.default,{target:"eyhw02z36"})({name:"db9nhh",styles:"margin-top:0px"}),ef=(0,d.Z)("span",{target:"eyhw02z35"})({name:"155n89m",styles:"font-size:20px;line-height:27px"}),ey=(0,d.Z)("div",{target:"eyhw02z34"})({name:"r4cvae",styles:"display:flex;margin-top:24px;span{font-size:18px;line-height:24px;color:#656a77;vertical-align:text-top;margin:auto 16px auto 0;}@media (max-width: 950px){display:block;width:fit-content;text-align:center;margin-left:auto;margin-right:auto;}"}),ej=(0,d.Z)("div",{target:"eyhw02z33"})({name:"1tjt1wr",styles:"height:72px;border:1.5px solid #42d487;border-radius:8px;padding:10px 16px;width:100%;position:relative;text-align:center;input{height:24px;background-color:transparent;outline:none;border:none;border-bottom:1px solid #656a77;width:auto;text-align:center;margin:auto 0;font-size:14px;border-radius:0;outline:0;box-shadow:none!important;color:black;padding:1px 2px;line-height:inherit;::placeholder{text-align:center;}&:focus::placeholder{color:transparent;}&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0;}}span{position:absolute!important;left:50%!important;font-size:14px!important;color:#42d487!important;transform:translate(-50%)!important;bottom:14px!important;line-height:0.34!important;}"}),eb=(0,d.Z)("div",{target:"eyhw02z32"})({name:"1s8114f",styles:"width:100%;color:#656a77;text-align:center;border:1.5px solid #ededed;border-radius:8px;font-size:16px;line-height:20px;margin-top:16px;margin-bottom:32px;padding:16px;cursor:pointer;&:hover{background-color:#eaf9f1;}p{margin-bottom:0;}"}),ew=(0,d.Z)("div",{target:"eyhw02z31"})({name:"1s22u92",styles:"margin-bottom:32px"}),ek=(0,d.Z)("div",{target:"eyhw02z30"})({name:"hyck8i",styles:"width:100%;text-align:center"}),ez=(0,d.Z)("p",{target:"eyhw02z29"})({name:"ii3qpm",styles:"font-size:14px;line-height:20px;color:#656a77;margin-top:32px;margin-bottom:0;
1a{cursor:pointer;}"}),eZ=(0,d.Z)("div",{target:"eyhw02z28"})({name:"f73xiv",styles:"font-weight:600;font-size:20px;line-height:30px;display:block;margin-right:20px;/*width: calc(50% - 10px);\n  margin-right: 10px;\n  @media (max-width: 560px) {\n    width: 100%;\n    margin-right: 0;\n  }*/"}),eP=(0,d.Z)("div",{target:"eyhw02z27"})({name:"1iljm0f",styles:"display:block;/*@media (max-width: 560px) {\n    display: grid;\n  }*/"}),eD=(0,d.Z)("div",{target:"eyhw02z26"})({name:"14ieahp",styles:"line-height:30px;font-size:24px;font-weight:600;@media (max-width: 768px){margin-bottom:32px;}"}),eC=(0,d.Z)("div",{target:"eyhw02z25"})({name:"2e80wa",styles:"margin-bottom:14px;display:flex;justify-content:space-between;a{font-weight:600!important;font-size:20px!important;line-height:30px!important;}h5{margin-bottom:0;}@media (max-width: 768px){display:block;}"}),eq=(0,d.Z)("div",{target:"eyhw02z24"})({name:"1n5wsq3",styles:"margin-left:48px;margin-top:54px;white-space:nowrap;@media (max-width: 1120px){margin-top:0;margin-left:0;text-align:center;}@media (max-width: 768px){border-bottom:1px solid #e3e4e7;padding-bottom:16px;margin-bottom:32px;}"}),eO=(0,d.Z)("div",{target:"eyhw02z23"})({name:"l4tn1a",styles:"display:flex;@media (max-width: 1120px){display:block;}@media (max-width: 768px){margin:auto;}"}),eI=(0,d.Z)("div",{target:"eyhw02z22"})(""),e_=(0,d.Z)("div",{target:"eyhw02z21"})({name:"z4tpk0",styles:"display:flex;@media (max-width: 950px){margin-right:0;}"}),eR=(0,d.Z)("div",{target:"eyhw02z20"})("padding-left:34px;@media (max-width: 768px){padding-left:0;text-align:center;}*{cursor:",e=>e.$isDonee?"not-llowed":"unset",";pointer-events:",e=>e.$isDonee?"none":"unset",";}"),eM=(0,d.Z)("div",{target:"eyhw02z19"})({name:"1q4wsli",styles:"font-size:20px;line-height:27px;color:#000000;background-color:#f8f9fa;padding:40px;border-radius:8px;@media (max-width: 500px){padding:24px;}"}),eF=(0,d.Z)("div",{target:"eyhw02z18"})({name:"7psb7o",styles:"line-height:30px;font-size:24px;font-weight:600;@media (max-width: 768px){margin-bottom:16px;}"}),eS=(0,d.Z)("div",{target:"eyhw02z17"})({name:"1xkgkmy",styles:"background-color:transparent;padding:0px;border-radius:0px;@media (max-width: 500px){padding:24px;}width:100%;max-width:100%;display:flex;justify-content:space-between;flex-wrap:wrap"}),eA=(0,d.Z)("div",{target:"eyhw02z16"})({name:"13u9sr2",styles:"min-width:280px;max-width:280px;height:350px;border:1px solid #ededed;border-radius:8px;position:relative;margin:0 0px 20px;cursor:pointer"}),eE=(0,d.Z)("div",{target:"eyhw02z15"})({name:"12ontv4",styles:"display:flex;margin-top:27px"}),eU=(0,d.Z)("div",{target:"eyhw02z14"})({name:"ihyzo9",styles:"background:#ededed;width:80px;height:80px;border-radius:50%;margin-left:24px;margin-right:16px;min-width:80px!important"}),eN=(0,d.Z)("div",{target:"eyhw02z13"})({name:"1t77pvt",styles:"padding:16px 24px 0"}),eW=(0,d.Z)("div",{target:"eyhw02z12"})({name:"ri5hqe",styles:"margin-top:21px;display:flex;justify-content:space-between;position:absolute;bottom:52px;padding:0 20px;width:100%"}),e$=(0,d.Z)("div",{target:"eyhw02z11"})({name:"17jpihx",styles:"height:52px;text-align:center;font-size:16px;line-height:100%;letter-spacing:0.01em;padding-top:18px;position:absolute;width:100%;bottom:0;border-top:1px solid #d9d9d9;cursor:pointer"}),eT=(0,d.Z)(x(),{target:"eyhw02z10"})({name:"1ctzt00",styles:"border-radius:50%;border:1px solid #ededed!important;object-fit:cover"}),eL=(0,d.Z)("div",{target:"eyhw02z9"})({name:"17il4lm",styles:"font-weight:600;font-size:18px;line-height:125%;color:#29b56b;margin-right:4px"}),eY=(0,d.Z)("div",{target:"eyhw02z8"})({name:"1sncah6",styles:"display:flex;p{font-size:18px;line-height:125%;}"}),eG=(0,d.Z)("div",{target:"eyhw02z7"})({name:"7xarqj",styles:"margin-top:5px;margin-right:10px"}),eH=(0,d.Z)("div",{target:"eyhw02z6"})({name:"21v8ij",styles:"font-size:14px;line-height:125%"}),eV=(0,d.Z)("div",{target:"eyhw02z5"})({name:"1d6wqih",styles:"font-size:14px;line-height:20px;margin-top:8px;color:#656a77"}),eK=(0,d.Z)("div",{target:"eyhw02z4"})({name:"dp07bz",styles:"font-weight:600;font-size:20px;line-height:30px;overflow:hidden;display:-webkit-box;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;max-height:90px"}),eB=(0,d.Z)("div",{target:"eyhw02z3"})("background-color:",e=>"project"==e.$type?"#42D487":"donation"==e.$type?"#f7afa3":"#ffe7ae",";border-radius:0 0 8px 8px;width:fit-content;height:28px;margin-left:24px;padding:5px 12px 0;font-size:14px;"),eX=(0,d.Z)("div",{target:"eyhw02z2"})({name:"buuhl7",styles:"display:flex;color:#000000;background-color:#f8f9fa;padding:40px;border-radius:8px;margin-bottom:48px;align-items:center;flex-wrap:wrap"}),eJ=(0,d.Z)("div",{target:"eyhw02z1"})({name:"19p5gyh",styles:"flex:1;line-height:1.2em;font-size:24px;font-weight:600;min-width:220px;margin-right:1em;b{color:#42D487;}div{margin-top:20px;font-weight:normal;font-size:18px;}"}),eQ=(0,d.Z)("div",{target:"eyhw02z0"})({name:"6drczx",styles:"flex:0;margin:20px 0px;img{max-width:250px;}a{line-height:56px;}"})}}]);

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.