PageSourceSearch

https://erthdubai.ae/_next/static/chunks/619-d3fac3d9e95dc543.js

js erthdubai.ae collected 2026-10-02 00:14:44 UTC 215,789 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[619],{323:(e,l,t)=>{t.r(l),t.d(l,{default:()=>c});var a=t(95155),s=t(3903),i=t(71972),n=t(38833),r=t(43485),o=t(14295),d=t(16405),m=t(15239);let c=e=>{var l,t,c,u,x,h;let{block:p}=e,g="ar"===(0,s.useCurrentLocale)(),{BackdropImage:v,Image:f,Content:b,OverlayOnNextSection:w,SectionDetails:y}=p||{},j=!!(null==f||null==(t=f.ImageMobile)||null==(l=t.data)?void 0:l.attributes),N=(0,o.cn)("inset-0 h-full w-full !bg-contain lg:absolute [&_img]:object-contain [&_img]:object-bottom",w&&"h-[115%] max-xxl:h-[125%] max-xl:h-[135%] max-lg:h-full");return(0,a.jsxs)("section",{className:(0,o.cn)("two-column-content-image-block relative isolate px-8 max-sm:px-2",!(null==y?void 0:y.DisableBottomSpace)&&"mb-24 max-md:mb-12"),children:[(null==y?void 0:y.BlockID)?(0,a.jsx)(r.A,{id:null==y?void 0:y.BlockID}):null,(0,a.jsxs)("div",{dir:"ltr",className:(0,o.cn)("two-column-content-image-inner relative isolate flex size-full min-h-screen items-center justify-end overflow-hidden rounded-6xl p-36 text-white max-lg:min-h-0 max-lg:flex-col-reverse max-lg:p-16 max-lg:pb-0 max-sm:gap-12 max-sm:px-8 xl:min-h-[82rem]","bg-[linear-gradient(156deg,#1B3453_0%,#2C4D76_25%,#406B98_50%,#679BCD_75%,#92BDE0_100%)]"),children:[(null==v||null==(u=v.Image)||null==(c=u.data)?void 0:c.attributes)?(0,a.jsx)(i.default,{children:(0,a.jsx)(m.default,{fill:!0,loading:"eager",src:(0,o.Gf)(null==v?void 0:v.Image),alt:(0,o.fr)(null==v?void 0:v.Image,"Backdrop Image"),className:"pointer-events-none inset-0 -z-20 size-full object-cover object-center"})}):null,(0,a.jsxs)(i.default,{className:(0,o.cn)("img-block pointer-events-none inset-0 -z-10 size-full lg:absolute",!w&&"overflow-hidden"),children:[(null==f||null==(h=f.Image)||null==(x=h.data)?void 0:x.attributes)?(0,a.jsx)(n.A,{image:null==f?void 0:f.Image,width:1568,height:1530,className:(0,o.cn)(N,j&&"max-lg:hidden"),alternativeText:"Left Column Image"}):null,j?(0,a.jsx)(n.A,{image:null==f?void 0:f.ImageMobile,width:1568,height:1530,className:(0,o.cn)(N,"lg:hidden"),alternativeText:"Left Column Image"}):null]}),b?(0,a.jsx)(i.default,{dir:g?"rtl":void 0,className:"content w-full max-w-[53.2rem] space-y-8 text-start max-xxl:max-w-[45.2rem] max-xl:max-w-[40rem] max-lg:max-w-full [&_p]:opacity-80",children:(0,d.Ay)(b)}):null]})]})}},848:(e,l,t)=>{t.r(l),t.d(l,{default:()=>m});var a=t(95155),s=t(71972),i=t(33878),n=t(43485),r=t(14295),o=t(16405),d=t(98933);let m=e=>{let{block:l,page:t}=e,{Title:m,SectionDetails:c}=l||{},u=(null==m?void 0:m.trim())?m:"",x=(0,r.QZ)(u)||(null==t?void 0:t.PageTitle),h=[...(0,r.Oh)(null==t?void 0:t.ParentPage),{title:x}].filter(Boolean);return(0,a.jsxs)(s.default,{enableInView:!1,className:(0,r.cn)("plain-banner relative px-32 pt-[19.5rem] max-lg:px-24 max-md-lg:px-8 max-md-lg:pt-56",!(null==c?void 0:c.DisableBottomSpace)&&"mb-24 max-md:mb-12"),children:[(null==c?void 0:c.BlockID)?(0,a.jsx)(n.A,{id:c.BlockID}):null,(0,a.jsxs)("div",{className:"mx-auto flex w-full max-w-[56rem] flex-col items-center gap-12 text-center max-md:gap-8",children:[(0,a.jsx)(i.default,{classNames:{list:"mx-auto justify-center"},trail:h}),u?(0,a.jsx)("div",{className:"w-full font-dm-serif-text text-[4.6rem] capitalize leading-none lg:text-[6.6rem] rtl:!leading-tight [&_*]:!mb-0 [&_*]:!text-[length:inherit] [&_*]:!font-normal [&_*]:!leading-[inherit]",children:(0,o.Ay)(u)}):x?(0,a.jsx)("h1",{className:"h2 capitalize lg:text-[6.6rem] rtl:!leading-tight",children:(0,d.oQ)(x)}):null]})]})}},7118:(e,l,t)=>{t.r(l),t.d(l,{default:()=>m});var a=t(95155),s=t(3903),i=t(37808),n=t(14295),r=t(15239),o=t(53261),d=t(98933);let m=e=>{let{block:l}=e,{Title:t,Description:m,slides:c}=l||{},u=(0,s.useCurrentLocale)();return(null==c?void 0:c.length)===0?null:(0,a.jsx)(o.default,{className:"mb-24 px-32 max-lg:px-24 max-md:mb-12 max-md:px-8",children:(0,a.jsx)("div",{className:"flex flex-col gap-12",children:(0,a.jsxs)(i.FN,{opts:{direction:"ar"===u?"rtl":"ltr",dragFree:!0},className:"static mb-0 w-full [&_.carousel-content]:overflow-visible",children:[(0,a.jsxs)("div",{className:"relative mb-16 flex w-full justify-between gap-16 max-sm:mb-8 max-sm:flex-col max-sm:gap-8 sm:items-center",children:[(0,a.jsxs)("div",{className:"flex w-full flex-col gap-6",children:[t?(0,a.jsx)("h2",{className:"w-full text-[3.2rem] leading-tight",children:(0,d.oQ)(t)}):null,m?(0,a.jsx)("p",{className:"small opacity-60",children:(0,d.oQ)(m)}):null]}),(0,a.jsxs)("div",{className:"flex w-auto flex-row items-center gap-6 max-sm:mt-6 sm:justify-between",children:[(0,a.jsx)(i.Q8,{className:"prev static flex size-20 transform-none items-center justify-center rounded-full rtl:-scale-x-100",children:(0,a.jsx)("span",{className:"text-white",children:"←"})}),(0,a.jsx)(i.Oj,{className:"next static flex size-20 transform-none items-center justify-center rounded-full rtl:-scale-x-100",children:(0,a.jsx)("span",{className:"text-white",children:"→"})})]})]}),(0,a.jsx)(i.Wk,{className:"-ms-8 max-sm:-ms-4",children:null==c?void 0:c.map((e,l)=>{var t,s;return(0,a.jsx)(i.A7,{className:"basis-2/6 ps-8 max-md-lg:basis-1/2 max-sm:basis-full max-sm:ps-4",children:(0,a.jsxs)("div",{className:"relative flex size-full select-none flex-col gap-20 overflow-hidden rounded-4xl bg-primary/5 p-12",children:[(0,a.jsx)(r.default,{src:"/images/grid.svg",fill:!0,alt:"Grid background",className:"masked-linear-gradient !-inset-2 -z-10 !size-[102%] max-w-[unset] object-cover object-top"}),(0,a.jsxs)("div",{className:"flex w-full items-center justify-between gap-12",children:[(0,a.jsx)("h3",{className:"h4 whitespace-pre-line",children:(0,d.oQ)(null==e?void 0:e.Title)}),(null==e||null==(s=e.Icon)||null==(t=s.data)?void 0:t.attributes)?(0,a.jsx)(r.default,{src:(0,n.Gf)(null==e?void 0:e.Icon),alt:(null==e?void 0:e.Title)||"",width:48,height:48,unoptimized:!0,className:"size-24 rounded-full bg-primary"}):null]}),(0,a.jsx)("p",{className:"w-full opacity-80",children:(0,d.oQ)(null==e?void 0:e.SubTitle)})]})},"criteria-card-".concat(null==e?void 0:e.id))})})]})})})}},7915:(e,l,t)=>{t.d(l,{L:()=>n});var a=t(12115);let s={days:0,hours:0,minutes:0,seconds:0},i=e=>{if(!e)return null;let l=new Date(e).getTime()-Date.now();return!Number.isFinite(l)||l<=0?s:{days:Math.floor(l/864e5),hours:Math.floor(l%864e5/36e5),minutes:Math.floor(l%36e5/6e4),seconds:Math.floor(l%6e4/1e3)}},n=e=>{let[l,t]=(0,a.useState)(null);return(0,a.useEffect)(()=>
1{if(!e)return void t(null);t(i(e));let l=setInterval(()=>t(i(e)),1e3);return()=>clearInterval(l)},[e]),l}},9938:(e,l,t)=>{t.d(l,{A:()=>r});var a=t(95155),s=t(14295),i=t(52619),n=t.n(i);let r=e=>{let{children:l,className:t,...i}=e;return(0,a.jsx)(n(),{className:(0,s.cn)("absolute inset-0 z-10 size-full",t),prefetch:!1,...i})}},13755:(e,l,t)=>{t.d(l,{A:()=>c});var a=t(95155),s=t(38833),i=t(14295),n=t(36117),r=t.n(n),o=t(52619),d=t.n(o),m=t(98933);let c=e=>{var l;let{data:t}=e,{CoverStory:n,createdAt:o,StoryTitle:c}=(null==t?void 0:t.attributes)||{},u=(0,i.ex)(t),x=r()(o).format("DD / MM / YYYY");return(0,a.jsxs)("div",{className:"story-item relative",children:[(0,a.jsx)(d(),{href:"/community-stories/".concat(null==t?void 0:t.id),className:"absolute inset-0 z-10 size-full"}),(null==n||null==(l=n.data)?void 0:l.attributes)||!u?(0,a.jsx)(s.A,{image:n,alternativeText:c,fill:!0,className:"relative mb-8 aspect-[0.71] w-full overflow-hidden rounded-4xl bg-body-700"}):(0,a.jsx)(s.A,{image:null,imageSrc:u,alternativeText:c,fill:!0,className:"relative mb-8 aspect-[0.71] w-full overflow-hidden rounded-4xl bg-body-700"}),(0,a.jsxs)("time",{className:"mb-4 flex items-center gap-6",children:[(0,a.jsx)("span",{className:"size-3 rounded-full bg-primary"})," ",x]}),(0,a.jsx)("h3",{className:"h4 !leading-snug",children:(0,m.oQ)(c)})]})}},18222:(e,l,t)=>{t.r(l),t.d(l,{default:()=>x});var a=t(95155),s=t(14295),i=t(12115),n=t(91837),r=t(67016),o=t(84592);let d=e=>{let{placeholder:l="Search...",className:t,onSearch:n}=e,[r,o]=(0,i.useState)(""),d=(0,i.useRef)((0,s.sg)(e=>n(e),500)).current;return(0,i.useEffect)(()=>{d(r)},[r,d]),(0,a.jsx)("input",{type:"text",value:r,onChange:e=>{o(e.target.value)},placeholder:l,className:"w-full px-4 py-2 border border-gray-300 rounded-lg ".concat(t)})};var m=t(3998),c=t(11186),u=t(98933);let x=e=>{var l,t,x,h,p,g;let{block:v}=e,f=[{title:"Latest First",value:"PublishedDate:desc"},{title:"Oldest First",value:"PublishedDate:asc"}],[b,w]=(0,i.useState)(""),[y,j]=(0,i.useState)(""),[N,S]=(0,i.useState)(f[0].value),{data:C,error:A,size:k,setSize:T,isLoading:z}=(0,r.Ay)(e=>{let l=(0,s.Nr)({page:e+1,pageSize:1,query:b,category:y,sort:N});return"/api/articles?".concat(l)},{revalidateFirstPage:!1,keepPreviousData:!0}),{data:I}=(0,n.Ay)("/api/articles/categories");if(A)return(0,a.jsx)("div",{children:"Error loading data"});if(!C&&z)return(0,a.jsx)("div",{className:"mb-36 text-center",children:"Loading..."});let _=null==C?void 0:C.flatMap(e=>{var l;return null==e||null==(l=e.data)?void 0:l.data}),L=(null==C||null==(h=C[C.length-1])||null==(x=h.data)||null==(t=x.meta)||null==(l=t.pagination)?void 0:l.pageCount)||0;return(0,a.jsxs)("section",{className:"px-12",children:[(0,a.jsxs)("div",{className:"mb-12 flex flex-col gap-8 md:flex-row md:items-center md:justify-between md:gap-32",children:[(0,a.jsx)(d,{className:"w-full",onSearch:e=>w(e),placeholder:"Search articles"}),(0,a.jsxs)("div",{className:"flex items-center gap-5",children:[(0,a.jsxs)(c.l6,{value:y,onValueChange:e=>j("all"===e?"":e),children:[(0,a.jsx)(c.bq,{className:"w-[180px]",children:(0,a.jsx)(c.yv,{placeholder:"All Categories"})}),(0,a.jsxs)(c.gC,{children:[(0,a.jsx)(c.eb,{value:"all",children:"All Categories"}),null==I||null==(g=I.data)||null==(p=g.data)?void 0:p.map(e=>(0,a.jsx)(c.eb,{value:e.attributes.Key,children:(0,u.oQ)(e.attributes.Title)},e.id))]})]},y),(0,a.jsxs)(c.l6,{value:N,onValueChange:e=>S(e),children:[(0,a.jsx)(c.bq,{className:"w-[180px]",children:(0,a.jsx)(c.yv,{placeholder:"All Categories"})}),(0,a.jsx)(c.gC,{children:null==f?void 0:f.map((e,l)=>(0,a.jsx)(c.eb,{value:e.value,children:(0,u.oQ)(e.title)},l))})]},N)]})]}),(0,a.jsxs)("p",{className:"small mb-12",children:[L," results found"]}),(0,a.jsx)("div",{className:"-mx-4 mb-12 flex flex-wrap",children:null==_?void 0:_.map((e,l)=>(0,a.jsx)("div",{className:"w-full px-4 sm:w-1/2 lg:w-1/3",children:(0,a.jsx)(o.A,{data:null==e?void 0:e.attributes},l)},l))}),k<L&&(0,a.jsx)("div",{className:"mb-20 text-center",children:(0,a.jsx)(m.A,{size:"default",onClick:()=>T(k+1),children:"Load More"})})]})}},19859:(e,l,t)=>{t.r(l),t.d(l,{default:()=>r});var a=t(95155),s=t(12115),i=t(57088);let n=(0,s.forwardRef)((e,l)=>{let{src:t,controls:n=!0,autoPlay:r=!1,muted:o=!1,poster:d,loop:m=!1,crossOrigin:c,width:u="100%",height:x="auto",preload:h="metadata",onError:p,onReady:g,className:v,hlsConfig:f}=e,b=(0,s.useRef)(null),w=(0,s.useRef)(null);return(0,s.useImperativeHandle)(l,()=>({video:b.current,hls:w.current,play:async()=>
1{if(b.current)try{await b.current.play()}catch(e){}},pause:()=>{var e;return null==(e=b.current)?void 0:e.pause()}})),(0,s.useEffect)(()=>{let e=b.current;if(!e)return;if(!t){w.current&&(w.current.destroy(),w.current=null),e.removeAttribute("src"),e.load();return}if(!(e=>{try{return new URL(e,window.location.href).pathname.toLowerCase().endsWith(".m3u8")}catch(l){return e.toLowerCase().split("?")[0].endsWith(".m3u8")}})(t)){w.current&&(w.current.destroy(),w.current=null),e.src=t;try{e.load()}catch(e){}null==g||g(e),r&&e.play().catch(()=>{});return}if(e.canPlayType("application/vnd.apple.mpegurl")){w.current&&(w.current.destroy(),w.current=null),e.src=t;try{e.load()}catch(e){}g&&g(e);return}w.current||(w.current=new i.Ay({autoStartLoad:!0,maxBufferLength:30,xhrSetup:(e,l)=>{},...f}));let l=w.current,a=(e,t)=>{if(null==p||p(t),t.fatal)switch(t.type){case i.Ay.ErrorTypes.NETWORK_ERROR:l.startLoad();break;case i.Ay.ErrorTypes.MEDIA_ERROR:l.recoverMediaError();break;default:l.destroy(),w.current=null}};return l.attachMedia(e),l.on(i.Ay.Events.MEDIA_ATTACHED,()=>{l.loadSource(t),l.on(i.Ay.Events.MANIFEST_PARSED,()=>{null==g||g(e),r&&e.play().catch(()=>{})})}),l.on(i.Ay.Events.ERROR,a),()=>{try{l.off(i.Ay.Events.ERROR,a),l.detachMedia(),l.destroy()}catch(e){}w.current===l&&(w.current=null)}},[t,r,p,g,f]),(0,s.useEffect)(()=>()=>{if(w.current){try{w.current.destroy()}catch(e){}w.current=null}},[]),(0,a.jsx)("video",{ref:b,className:v,controls:n,autoPlay:r,muted:o,poster:d,loop:m,crossOrigin:c,width:u,height:x,preload:h,playsInline:!0,style:{display:"block",width:u,height:x}})});n.displayName="HlsPlayer";let r=n},21589:(e,l,t)=>{t.d(l,{default:()=>h});var a=t(95155),s=t(3903),i=t(3998),n=t(68725),r=t(98933),o=t(14295),d=t(65229),m=t(15239),c=t(20063),u=t(12115);let x=e=>{var l,t,n;let{subcategory:d,categorySlug:c,isEntityContext:u}=e,{SubcategorySlug:x,SubcategoryContent:h,SubcategoryIcon:p,SubcategoryTitle:g}=(null==d?void 0:d.attributes)||{},v=(0,s.s9)(),f=u?"/dashboard/entity-awards/".concat(c,"/").concat(x):"/awards/".concat(c,"/").concat(x);return(0,a.jsx)("div",{className:"relative flex items-start rounded-4xl bg-primary/10 p-12 transition-colors entity:bg-gray-100 max-sm:p-8",children:(0,a.jsxs)("div",{className:"flex h-full flex-col items-start justify-start gap-8 text-start",children:[(null==p||null==(l=p.data)?void 0:l.attributes)?(0,a.jsx)(m.default,{src:(0,o.Gf)(p),alt:(null==p||null==(n=p.data)||null==(t=n.attributes)?void 0:t.alternativeText)||"Category Icon",width:30,height:30,unoptimized:!0,className:"size-20 object-contain"}):null,(0,a.jsx)("h4",{className:"min-h-24 text-balance rtl:!leading-tight",children:(0,r.oQ)(g)}),(0,a.jsx)("p",{className:"text-xl opacity-60",children:(0,r.oQ)(h||"")}),(0,a.jsx)(i.A,{className:"mt-auto shrink-0",href:f,children:(0,r.oQ)(v("ExploreMore"))})]})})},h=e=>{var l,t,h,p,g,v,f,b;let{data:w,categoryId:y}=e,{CategoryTitle:j,AwardsSubcategories:N,CategoryColor:S,CategoryIcon:C,CategoryThumbnail:A,CategorySlug:k,IsMainCategory:T,showSubCategory:z,CategoryContent:I}=w||{},_=(0,c.useRouter)(),L=(0,c.usePathname)(),R=(0,c.useSearchParams)(),M=R.get("categoryId"),[Q,E]=(0,u.useState)(!1),[P,D]=(0,u.useState)(!1),F=null==L?void 0:L.replace(/^\/[a-z]{2}\//,"/").startsWith("/dashboard/entity-awards"),U=(0,s.s9)(),B="en"===(0,s.useCurrentLocale)();if((0,u.useEffect)(()=>{if(M&&M==y){E(!0);let e=new URLSearchParams(R.toString());e.delete("categoryId");let l=window.location.pathname+(e.toString()?"?".concat(e.toString()):"");_.replace(l)}},[M,y,R,_]),!w)return null;let V=null==N||null==(h=N.data)||null==(t=h[0])||null==(l=t.attributes)?void 0:l.SubcategorySlug,O=T&&z?"/".concat(V):"/".concat(k,"/").concat(V),G=!!(null==N||null==(p=N.data)?void 0:p.length),q=T&&z&&G,H=G&&!q,W=A?(0,o.Gf)(A,"blur"):null,Z=A?(0,o.Gf)(A):null,Y=S||"#7F6C4D",K="w-fit border-body bg-body px-[4rem] py-[1.6rem] text-[1.4rem] font-bold !text-body-txt tracking-[-0.01em] lg:hover:border-secondary lg:hover:bg-secondary lg:hover:!text-white active:border-primary-700 active:bg-primary-700 active:!text-white";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("article",{className:"group relative h-[55rem] w-full overflow-hidden rounded-[3.2rem] text-white max-md:h-[48rem]",children:[(0,a.jsx)("div",{className:(0,o.cn)("absolute inset-0 size-full overflow-hidden rounded-[3.2rem]","blurred-img",P&&"loaded"),style:{backgroundImage:W?"linear-gradient(180deg, ".concat(Y,"00 0%, ").concat(Y,"99 100%), url(").concat(W,")"):void 0,backgroundColor:Y,backgroundSize:"cover",backgroundPosition:"center"},children:Z?(0,a.jsx)(m.default,{src:Z,alt:(0,o.fr)(A)||j||"Category",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1280px) 50vw, 25vw",unoptimized:!0,className:"!inset-0 !size-full object-cover transition-transform duration-700 group-hover:scale-105",onLoad:e=>{var l;null==(l=e.currentTarget.parentElement)||l.classList.add("loaded"),D(!0)}}):null}
1),(0,a.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 rounded-[3.2rem]",style:{backgroundImage:"linear-gradient(180deg, ".concat(Y,"00 34%, ").concat(Y," 68%), linear-gradient(90deg, rgba(0,0,0,0.3), rgba(0,0,0,0.3))")}}),(0,a.jsxs)("div",{className:"relative z-10 flex h-full flex-col justify-between p-[3.2rem] max-sm:p-8",children:[(0,a.jsx)("div",{className:"flex size-24 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[rgba(250,246,234,0.2)] backdrop-blur-[2.2rem]",children:(null==C||null==(g=C.data)?void 0:g.attributes)?(0,a.jsx)(m.default,{src:(0,o.Gf)(C),alt:(null==C||null==(f=C.data)||null==(v=f.attributes)?void 0:v.alternativeText)||j||"Category Icon",width:28,height:28,unoptimized:!0,className:"size-[2.8rem] object-contain"}):null}),(0,a.jsxs)("div",{className:"mt-auto flex w-full flex-col gap-7 text-white",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-[0.8rem]",children:[B?null:(0,a.jsx)("p",{className:"small !mb-0 font-bold leading-normal opacity-100",children:(0,r.oQ)(U("Category"))}),(0,a.jsx)("h3",{className:(0,o.cn)("!mb-0 text-[3rem] font-normal leading-none",!B&&"text-balance"),children:B?(e=>{if(!e)return e;let l=e.trim().split(/\s+/).filter(Boolean);if(l.length<2)return(0,r.oQ)(e);let t=l[l.length-1],s=l.slice(0,-1).join(" ");return(0,a.jsxs)(a.Fragment,{children:[(0,r.oQ)(s,"cat-rest"),(0,a.jsx)("br",{}),(0,r.oQ)(t,"cat-last")]})})(j):(0,r.oQ)(j)}),B?(0,a.jsx)("p",{className:"small mb-0 font-bold leading-normal opacity-100",children:(0,r.oQ)(U("Category"))}):null]}),(0,a.jsx)("div",{className:"h-px w-full bg-white/40"}),I?(0,a.jsx)("p",{className:"small !mb-0 line-clamp-2 font-normal leading-normal ltr:font-merriweather",children:(0,r.oQ)(I)}):null,q?(0,a.jsx)(i.A,{href:F?"/dashboard/entity-awards".concat(O):"/awards".concat(O),className:(0,o.cn)(K),children:(0,r.oQ)(U("EntityAwardsParticipate"))}):(0,a.jsx)(i.A,{className:(0,o.cn)(K),onClick:()=>{H&&E(!0)},disabled:!G,children:(0,r.oQ)(U("EntityAwardsParticipate"))})]})]})]}),(0,a.jsx)(n._s,{open:Q,onOpenChange:E,children:(0,a.jsx)(n.zj,{className:"z-[100] rounded-none",children:(0,a.jsxs)("div",{className:"mx-auto max-h-[90vh] w-full overflow-auto p-24 max-md:p-12 max-sm:p-8",children:[(0,a.jsxs)(n.BE,{className:"mb-20 p-0 max-md:mb-12",children:[(0,a.jsx)(n.gk,{className:"text-balance pr-12 text-start text-3xl font-normal sm:text-[3.2rem] lg:leading-tight",children:(0,r.oQ)(U("SelectSubcategoryOf"))}),(0,a.jsxs)("div",{className:"absolute end-16 top-12 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary max-sm:end-8 max-sm:top-8",onClick:()=>E(!1),role:"button",tabIndex:0,"aria-label":"Close",children:[(0,a.jsx)(d.A,{className:"size-10"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]}),(null==N||null==(b=N.data)?void 0:b.length)?(0,a.jsx)("div",{className:"overflow-y-auto overflow-x-clip",children:(0,a.jsx)("div",{className:"grid grid-cols-3 gap-x-12 gap-y-8 max-xl:grid-cols-2 max-xl:gap-x-8 max-sm:grid-cols-1",children:N.data.map(e=>(0,a.jsx)(x,{subcategory:e,categorySlug:k,isEntityContext:F},e.id))})}):null]})})})]})}},23495:(e,l,t)=>{t.d(l,{A:()=>n});var a=t(95155),s=t(14295),i=t(19859);function n(e){let{VideoURL:l,image:t,videoOptions:n}=e;return(0,a.jsx)(a.Fragment,{children:l?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(i.default,{className:(0,s.cn)("award-video !size-full object-cover",null==n?void 0:n.videoClassName),autoPlay:!0,loop:!0,muted:!0,controls:!1,src:l,poster:(0,s.Gf)(t),...n})}):(0,a.jsx)("img",{src:(0,s.Gf)(t)||"./images/placeholder.png",alt:(0,s.fr)(t),className:(0,s.cn)("!size-full object-cover",null==n?void 0:n.imageClassName)})})}},23974:(e,l,t)=>{t.d(l,{S:()=>o});var a=t(95155),s=t(89783),i=t(12115),n=t(14295);let r=e=>(0,a.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,a.jsx)("rect",{width:"16",height:"16",rx:"4",fill:"currentColor"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.0303 4.84467C13.3232 5.13756 13.3232 5.61244 13.0303 5.90533L7.03033 11.9053C6.73744 12.1982 6.26256 12.1982 5.96967 11.9053L3.34467 9.28033C3.05178 8.98744 3.05178 8.51256 3.34467 8.21967C3.63756 7.92678 4.11244 7.92678 4.40533 8.21967L6.5 10.3143L11.9697 4.84467C12.2626 4.55178 12.7374 4.55178 13.0303 4.84467Z",fill:"white"})]}),o=i.forwardRef((e,l)=>{let{className:t,...i}=e;return(0,a.jsx)(s.bL,{ref:l,className:(0,n.cn)("border-body-txt/60 focus-visible:ring-ring data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground peer flex h-6 w-6 shrink-0 translate-y-[0.2rem] items-center justify-center rounded-[0.4rem] border focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",t),...i,children:(0,a.jsx)(s.C1,{className:(0,n.cn)("flex items-center justify-center text-current"),children:(0,a.jsx)(r,{})})})});o.displayName=s.bL.displayName},24701:(e,l,t)=>{t.r(l),t.d(l,{default:()=>c});var a=t(95155),s=t(53261),i=t(33878),n=t(55454),r=t(43485),o=t(14295),d=t(16405),m=t(98933);let c=e=>{var l,t;let{block:c,page:u}
1=e,{Title:x,Media:h,SectionDetails:p}=c||{},g=(null==x?void 0:x.trim())?x:"",v=(0,o.QZ)(g)||(null==u?void 0:u.PageTitle),f=[...(0,o.Oh)(null==u?void 0:u.ParentPage),{title:v}].filter(Boolean);return(0,a.jsxs)(s.default,{className:(0,o.cn)("page-banner px-8 pt-8 max-al:px-4 max-al:pt-4",!(null==p?void 0:p.DisableBottomSpace)&&"mb-24 max-md:mb-12"),children:[(null==p?void 0:p.BlockID)?(0,a.jsx)(r.A,{id:p.BlockID}):null,(0,a.jsxs)("div",{className:"relative isolate flex min-h-[75.8rem] items-center justify-center overflow-hidden rounded-[3.2rem] bg-body-900 max-xl:min-h-[68rem] max-lg:h-[60rem] max-md:h-[45rem] max-md:min-h-[70rem] max-md:rounded-4xl max-sm:min-h-[calc(100vh-2rem)]",children:[(0,a.jsx)(n.A,{media:{Image:null==h?void 0:h.Image,MobileImage:(null==h||null==(t=h.ImageMobile)||null==(l=t.data)?void 0:l.attributes)?null==h?void 0:h.ImageMobile:null==h?void 0:h.Image,VideoUrl:null==h?void 0:h.VideoURL,MobileVideoUrl:(null==h?void 0:h.VideoURLMobile)||(null==h?void 0:h.VideoURL)},alt:v||"Page Banner",className:"absolute inset-0 -z-10"}),(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 -z-10 bg-body-txt/30"}),(0,a.jsxs)("div",{className:"relative flex w-full max-w-[103.9rem] flex-col items-center gap-8 px-8 text-center text-white max-md:gap-6",children:[(0,a.jsx)(i.default,{className:"opacity-80",classNames:{list:"mx-auto justify-center",link:"!text-white/50 after:bg-white lg:hover:!text-white"},trail:f}),g?(0,a.jsx)("div",{className:"w-full font-dm-serif-text text-[7.6rem] leading-none text-white max-lg:text-[6rem] max-md:text-[3.2rem] rtl:!leading-tight [&_*]:!mb-0 [&_*]:!text-[length:inherit] [&_*]:!font-normal [&_*]:!leading-[inherit]",children:(0,d.Ay)(g)}):v?(0,a.jsx)("h1",{className:"h1 text-white max-lg:!text-[6rem] max-lg:!leading-none max-md:!text-[3.2rem] rtl:!leading-tight",children:(0,m.oQ)(v)}):null]})]})]})}},28123:(e,l,t)=>{t.d(l,{default:()=>g});var a=t(95155),s=t(3903),i=t(3998),n=t(68725),r=t(90987);t(76444),t(50909);var o=t(93048),d=t(14295),m=t(65229),c=t(15239),u=t(20063),x=t(12115),h=t(98933);let p=e=>{var l,t,n;let{subcategory:r,categorySlug:o,categoryIcon:m,isEntityContext:u}=e,{SubcategorySlug:x,SubcategoryContent:p,SubcategoryIcon:g,SubcategoryTitle:v}=(null==r?void 0:r.attributes)||{},f=(0,s.s9)(),b=u?"/dashboard/entity-awards/".concat(o,"/").concat(x):"/awards/".concat(o,"/").concat(x);return(0,a.jsx)("div",{className:(0,d.cn)("relative flex items-start rounded-4xl bg-primary/10 p-12 transition-colors entity:bg-gray-100 max-sm:p-8"),children:(0,a.jsxs)("div",{className:"flex h-full flex-col items-start justify-start gap-8 text-start",children:[(null==g||null==(l=g.data)?void 0:l.attributes)?(0,a.jsx)(c.default,{src:(0,d.Gf)(g),alt:(null==g||null==(n=g.data)||null==(t=n.attributes)?void 0:t.alternativeText)||"Category Icon",width:30,height:30,unoptimized:!0,className:"size-20 object-contain"}):null,(0,a.jsx)("h4",{className:"min-h-24 text-balance rtl:!leading-tight",children:(0,h.oQ)(v)}),(0,a.jsx)("p",{className:"text-xl opacity-60",children:(0,h.oQ)(p||"")}),(0,a.jsx)(i.A,{className:"mt-auto shrink-0",href:b,children:(0,h.oQ)(f("ExploreMore"))})]})})},g=e=>{var l,t,g,v,f,b,w,y,j,N,S,C,A,k,T,z,I;let{data:_,categoryId:L,SimpleLayout:R=!1}=e,{CategoryTitle:M,AwardsSubcategories:Q,CategoryColor:E,CategoryIcon:P,CategorySlug:D,IsMainCategory:F,showSubCategory:U,CategoryContent:B,CategoryCountText:V}=_||{},O=(0,u.useRouter)(),G=(0,u.usePathname)(),q=(0,u.useSearchParams)(),H=q.get("categoryId"),[W,Z]=(0,x.useState)(!1),[Y,K]=(0,x.useState)(!1);(0,o.A)("(max-width: 991px)");let X=null==G?void 0:G.replace(/^\/[a-z]{2}\//,"/").startsWith("/dashboard/entity-awards"),J=(0,s.s9)();if((0,x.useEffect)(()=>{if(H&&H==L){K(!0);let e=new URLSearchParams(q.toString());e.delete("categoryId");let l=window.location.pathname+(e.toString()?"?".concat(e.toString()):"");O.replace(l)}},[H]),!_)return null;let $=null==Q||null==(g=Q.data)||null==(t=g[0])||null==(l=t.attributes)?void 0:l.SubcategorySlug,ee=F&&U?"/".concat($):"/".concat(D,"/").concat($);return F&&!U?(0,a.jsxs)("div",{className:"relative isolate flex w-full select-none flex-col items-center gap-20 overflow-hidden rounded-4xl px-32 py-20 max-lg:p-16 max-sm:p-8 md:col-span-6 md:flex-row md:gap-40 xl:gap-80",style:{backgroundColor:E||void 0},children:[(0,a.jsx)("div",{className:"absolute inset-0 -z-20 size-full opacity-80 [mask-image:linear-gradient(to_top,transparent_25%,black_75%)]",style:{backgroundImage:'url("/images/grid-loop.svg")'}}),(0,a.jsx)("img",{className:"pointer-events-none absolute start-0 top-0 hidden size-full max-w-full object-cover sm:block rtl:-scale-x-100",src:"/images/grand-award.png"}),(0,a.jsx)("div",{className:"relative flex w-full max-w-[53.8rem] flex-col justify-center gap-8",children:(0,a.jsx)("h4",{className:"h1 text-balance",children:(0,h.oQ)(M)})}),(0,a.jsx)("p",{className:"opacity-60",children:(0,h.oQ)(B||"")})]}):F&&U?(0,a.jsx)("div",{className:(0,d.cn)("group relative flex w-full flex-1 flex-col items-center justify-center gap-8 rounded-4xl p-24 transition-all duration-500 max-lg:p-16 md-lg:min-h-[32rem] lg:hover:shadow-lg",X?"border border-body-txt/10 bg-body-txt/5 entity:bg-gray-100 md:col-span-2 lg:hover:border-primary/30":"md:col-span-3"),style:{backgroundColor:X?void 0:E||void 0},children:(0,a.jsxs)("div",{className:"relative flex w-full flex-col items-center justify-center gap-8",children:[(0,a.jsxs)("div",{className:"relative flex w-full flex-col items-center justify-start gap-4 text-center",children:[(null==P||null==(v=P.data)?void 0:v.attributes)?(0,a.jsx)(c.default,{src:(0,d.Gf)(null==P||null==(b=P.data)||null==(f=b.attributes)?void 0:f.url),alt:(null==P||null==(y=P.data)||null==(w=y.attributes)?void 0:w.alternativeText)||"Category Icon",width:40,height:40,unoptimized:!0,className:"size-16 object-contain"}):null,(0,a.jsxs)("div",{className:"relative flex w-full flex-col items-center justify-center gap-2 text-center",children:[(0,a.jsx)("h4",{className:"text-balance rtl:!leading-tight",children:(0,h.oQ)(M)}),B?(0,a.jsx)("p",{className:"small opacity-60",children:(0,h.oQ)(B)}):null]})]}),(0,a.jsx)(i.A,{className:"py-4 max-md-lg:min-w-60",href:X?"/dashboard/entity-awards".concat(ee):"/awards".concat(ee),children:(0,h.oQ)(J("ExploreMore"))})]})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:(0,d.cn)("group relative flex w-full flex-1 cursor-pointer flex-col items-center justify-center gap-8 rounded-4xl p-24 transition-all duration-500 max-lg:p-16 md-lg:min-h-[32rem] lg:hover:shadow-lg",X?"border border-body-txt/10 bg-body-txt/5 entity:bg-gray-100 md:col-span-2 lg:hover:border-primary/30":"md:col-span-3"),style:{backgroundColor:X?void 0:E||void 0},onMouseEnter:()=>Z(!0),onMouseLeave:()=>Z(!1),onClick:()=>{var e;(null==Q||null==(e=Q.data)?void 0:e.length)&&K(!0)},children:[(0,a.jsxs)(r.jc,{children:[(0,a.jsx)(r.d0,{className:"absolute end-8 top-8 text-[2.4rem]",children:(0,a.jsx)("span",{className:"icon-info opacity-60"})}),(null==Q||null==(j=Q.data)?void 0:j.length)?(0,a.jsxs)(r.Et,{className:"min-w-[32rem] rounded-2xl bg-body p-6 shadow-lg",children:[(0,a.jsx)("div",{className:"absolute -top-2 left-1/2 size-0 -translate-x-1/2 border-x-8 border-b-8 border-x-trans
1parent border-b-body"}),(0,a.jsxs)("label",{className:"sub-label mb-4 block font-bold opacity-50",children:[J("AwardSubcategories"),":"]}),Q.data.map(e=>(0,a.jsx)("div",{className:"small border-t border-body-txt/10 py-3 last-of-type:pb-0",children:(0,h.oQ)(e.attributes.SubcategoryTitle)},e.id))]}):null]}),(0,a.jsxs)("div",{className:"relative flex w-full flex-col items-center justify-center gap-8",children:[(0,a.jsxs)("div",{className:"relative flex w-full flex-col items-center justify-start gap-4 text-center",children:[(null==P||null==(N=P.data)?void 0:N.attributes)?(0,a.jsx)(c.default,{src:(0,d.Gf)(null==P||null==(C=P.data)||null==(S=C.attributes)?void 0:S.url),alt:(null==P||null==(k=P.data)||null==(A=k.attributes)?void 0:A.alternativeText)||"Category Icon",width:40,height:40,unoptimized:!0,className:"size-16 object-contain"}):null,(0,a.jsxs)("div",{className:"relative flex w-full flex-col items-center justify-center gap-2 text-center",children:[(0,a.jsx)("h4",{className:"text-balance rtl:!leading-tight",children:(0,h.oQ)(M)}),(0,a.jsx)("div",{className:"small opacity-60",children:V||J("NumberOfSubCategories",{number:(null==Q||null==(T=Q.data)?void 0:T.length)||0})})]})]}),(0,a.jsx)(i.A,{className:"py-4 max-md-lg:min-w-60",children:(0,h.oQ)(J("Select"))})]})]}),(0,a.jsx)(n._s,{open:Y,onOpenChange:K,children:(0,a.jsx)(n.zj,{className:"z-[100] rounded-none",children:(0,a.jsxs)("div",{className:"mx-auto max-h-[90vh] w-full overflow-auto p-24 max-md:p-12 max-sm:p-8",children:[(0,a.jsxs)(n.BE,{className:"mb-20 p-0 max-md:mb-12",children:[(0,a.jsx)(n.gk,{className:"text-balance pr-12 text-start text-3xl font-normal sm:text-[3.2rem] lg:leading-tight",children:(0,h.oQ)(J("SelectSubcategoryOf"))}),(0,a.jsxs)("div",{className:"absolute end-16 top-12 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary max-sm:end-8 max-sm:top-8",onClick:()=>K(!1),role:"button",tabIndex:0,"aria-label":"Close",children:[(0,a.jsx)(m.A,{className:"size-10"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]}),(null==Q||null==(z=Q.data)?void 0:z.length)?(0,a.jsx)("div",{className:"overflow-y-auto overflow-x-clip",children:(0,a.jsx)("div",{className:"grid grid-cols-3 gap-x-12 gap-y-8 max-xl:grid-cols-2 max-xl:gap-x-8 max-sm:grid-cols-1",children:null==Q||null==(I=Q.data)?void 0:I.map(e=>(0,a.jsx)(p,{subcategory:e,categorySlug:D,categoryIcon:P,isEntityContext:X},e.id))})}):null]})})})]})}},32518:(e,l,t)=>{t.r(l),t.d(l,{default:()=>u});var a=t(95155),s=t(3903),i=t(53261),n=t(43485),r=t(14295),o=t(16405),d=t(15239);let m={en:{ios:"/images/download-on-ios.svg",play:"/images/get-it-on-playstore.svg"},ar:{ios:"/images/download-on-ios-ar.svg",play:"/images/get-it-on-playstore-ar.svg"}},c=e=>{var l,t;let{href:s,badge:i,badgeAlt:n,qr:o,qrAlt:m}=e;if(!s&&!(null==o||null==(l=o.data)?void 0:l.attributes))return null;let c=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.default,{src:i,alt:n,width:312,height:96,className:"h-[4.8rem] w-auto min-w-0 max-w-[15.6rem] flex-1 object-contain object-left"}),(null==o||null==(t=o.data)?void 0:t.attributes)?(0,a.jsx)(d.default,{src:(0,r.Gf)(o),alt:m,width:270,height:270,className:"size-36 shrink-0 object-contain max-xl:size-32 max-lg:size-28"}):null]}),u="flex min-w-0 max-w-[29.6rem] flex-1 items-center justify-between gap-4 rounded-[1.6rem] bg-body-500 p-[1.6rem] transition-colors duration-500 max-sm:max-w-none lg:hover:bg-body-600";return s?(0,a.jsx)("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:u,children:c}):(0,a.jsx)("div",{className:u,children:c})},u=e=>{var l,t,u,x;let{block:h}=e,p="ar"===(0,s.useCurrentLocale)()?m.ar:m.en,{Content:g,AppStoreLink:v,AppStoreQR:f,PlaystoreLink:b,PlaystoreQR:w,LargeImage:y,SectionDetails:j}=h||{},N=!!(v||b||(null==f||null==(l=f.data)?void 0:l.attributes)||(null==w||null==(t=w.data)?void 0:t.attributes));return g||N||(null==y||null==(u=y.data)?void 0:u.attributes)?(0,a.jsxs)(i.default,{className:(0,r.cn)("download-app-block overflow-hidden max-md-lg:px-8",(null==j?void 0:j.DisableBottomSpace)?"-mb-8":"mb-40 max-md:mb-16"),
1children:[(null==j?void 0:j.BlockID)?(0,a.jsx)(n.A,{id:j.BlockID}):null,(0,a.jsxs)("div",{className:"mx-auto flex w-full items-center gap-16 max-md-lg:flex-col max-md-lg:items-start max-md-lg:gap-12",children:[(null==y||null==(x=y.data)?void 0:x.attributes)?(0,a.jsx)("div",{className:"relative aspect-[760/812] w-[52.8%] shrink-0 max-xl:w-[46%] max-lg:w-[42%] max-md-lg:order-2 max-md-lg:-mx-8 max-md-lg:w-[calc(100%+4rem)] max-md-lg:max-w-none max-md-lg:pl-20 md-lg:ps-20",children:(0,a.jsx)("div",{className:"relative size-full",children:(0,a.jsx)(d.default,{src:(0,r.Gf)(y),alt:(0,r.fr)(y,"Erth Dubai app"),fill:!0,className:"object-contain object-bottom",sizes:"(max-width: 991px) 90vw, 53vw"})})}):null,(0,a.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col items-start gap-16 pe-32 max-lg:pe-16 max-md-lg:order-1 max-md-lg:w-full max-md-lg:gap-12 max-md-lg:pe-0",children:[g?(0,a.jsx)("div",{className:"content w-full max-w-[48.7rem] space-y-8 max-md-lg:space-y-6 [&_:is(h1,h2,h3)]:!text-[4.6rem] [&_:is(h1,h2,h3)]:!leading-none [&_:is(h1,h2,h3)]:max-md-lg:!text-[3.2rem] [&_:is(h1,h2,h3)]:max-md-lg:!leading-[1.1] rtl:[&_:is(h1,h2,h3)]:!leading-normal [&_p]:text-1xl [&_p]:!leading-normal rtl:[&_p]:!leading-snug",children:(0,o.Ay)(g)}):null,N?(0,a.jsxs)("div",{className:"flex w-full flex-wrap items-center gap-3 max-sm:flex-col max-sm:items-stretch",children:[(0,a.jsx)(c,{href:v,badge:p.ios,badgeAlt:"Download on the App Store",qr:f,qrAlt:"App Store QR code"}),(0,a.jsx)(c,{href:b,badge:p.play,badgeAlt:"Get it on Google Play",qr:w,qrAlt:"Google Play QR code"})]}):null]})]})]}):null}},33878:(e,l,t)=>{t.r(l),t.d(l,{Separator:()=>d,default:()=>m});var a=t(95155),s=t(3903),i=t(14295),n=t(52619),r=t.n(n),o=t(98933);let d=()=>(0,a.jsx)("span",{className:"mx-[0.8rem] text-3xl opacity-50",children:"/"}),m=e=>{let{trail:l,className:t,classNames:n}=e,m=null==l?void 0:l.filter(e=>!!e.title),c=(0,s.s9)();return(0,a.jsx)("div",{className:(0,i.cn)("breadcrumbs text-mobster",t),children:(0,a.jsxs)("ul",{className:(0,i.cn)("flex w-fit flex-wrap items-center text-ellipsis whitespace-nowrap max-lg:text-[14px] max-lg:leading-[20px]",null==n?void 0:n.list),children:[(0,a.jsxs)("li",{className:"text-breadcrumb inline-flex leading-tight",children:[(0,a.jsx)(r(),{className:(0,i.cn)("link-underline after:bg-mobster text-body-txt/50 !opacity-100 transition-colors duration-500 lg:hover:text-primary",null==n?void 0:n.link),href:"/",children:(0,o.oQ)(c("Home"))}),(null==m?void 0:m.length)?(0,a.jsx)(d,{}):null]}),null==m?void 0:m.map((e,l)=>(0,a.jsx)("li",{className:(0,i.cn)("text-breadcrumb flex whitespace-break-spaces leading-tight opacity-80",(null==e?void 0:e.link)&&!(null==e?void 0:e.enabled)&&"cursor-not-allowed"),children:e.link?(0,a.jsxs)(a.Fragment,{children:[(null==e?void 0:e.enabled)!==!1?(0,a.jsx)(r(),{className:(0,i.cn)("link-underline after:bg-mobster text-body-txt/50 !opacity-100 transition-colors duration-500 lg:hover:text-primary",null==n?void 0:n.link),href:((e,l)=>{var t,a,s;let i=(null==m||null==(s=m.slice(0,l))||null==(a=s.map(e=>null==e?void 0:e.link))||null==(t=a.filter(Boolean))?void 0:t.join("/"))||"",n=(null==e?void 0:e.link)?"/".concat(e.link):"";return"".concat(i?"/".concat(i):"").concat(n)})(e,l),children:(0,o.oQ)(e.title)}):(0,o.oQ)(e.title),(0,a.jsx)(d,{})]}):(0,o.oQ)(e.title)},"link-".concat(l)))]})})}},34543:(e,l,t)=>{t.d(l,{default:()=>M});var a=t(95155),s=t(53261),i=t(1141),n=t(22544),r=t(3903),o=t(14295),d=t(11186),m=t(98933),c=t(86651),u=t(12115),x=t(94067),h=t(12463);let p="peer h-[6.4rem] w-full rounded-[1.2rem] bg-body px-8 pb-2 pt-8 text-xl text-body-txt outline-none transition-colors duration-300 placeholder:text-transparent focus:ring-1 focus:ring-body-txt/20 disabled:opacity-60",g="h-[6.4rem] justify-between rounded-[1.2rem] border-none bg-body px-8 py-0 text-xl normal-case text-body-txt hover:border-none data-[placeholder]:text-body-txt/50",v="rounded-[1.2rem] border-body-txt/10 bg-body p-0",f="px-8 py-5 text-xl normal-case hover:bg-body-txt/5 data-[state=checked]:bg-body-txt/5",b={"w-50%":"sm:w-[calc(50%-0.6rem)]","w-25%":"sm:w-[calc(25%-0.9rem)]"},w=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,y=e=>{let{message:l}=e;return l?(0,a.jsx)("p",{className:"mt-2 text-lg text-red-600",children:(0,m.oQ)(l)}):null},j=e=>{let{country:l}=e,t=h.Ay[l];return(0,a.jsx)("span",{className:"flex h-[1.6rem] w-[2.2rem] shrink-0 items-center justify-center overflow-hidden rounded-[0.2rem] [&_svg]:size-full [&_svg]:object-cover",children:t?(0,a.jsx)(t,{title:l}):null})},N=e=>{let{htmlFor:l,label:t,required:s,className:i}=e;return(0,a.jsxs)("label",{htmlFor:l,className:(0,o.cn)("pointer-events-none absolute start-8 top-1/2 z-10 -translate-y-1/2 text-xl leading-none text-body-txt/50 transition-all duration-300","peer-focus:top-[1.4rem] peer-focus:translate-y-0 peer-focus:text-lg","peer-[:not(:placeholder-shown)]:top-[1.4rem] peer-[:not(:placeholder-shown)]:translate-y-0 peer-[:not(:placeholder-shown)]:text-lg",i),children:[t,s?(0,a.jsx)("span",{children:" *"}):null]})},S=e=>
1{let{value:l,onChange:t,label:s,required:i,inputId:n}=e,h=(0,r.s9)(),b=(0,r.useCurrentLocale)(),[w,y]=(0,u.useState)(()=>{var e;return(l?null==(e=(0,x.lq)(l))?void 0:e.country:void 0)||"AE"}),[S,C]=(0,u.useState)(()=>{var e,t;return(l?null==(t=(0,x.lq)(l))||null==(e=t.nationalNumber)?void 0:e.toString():"")||""}),[A,k]=(0,u.useState)("");(0,u.useEffect)(()=>{var e,t;if(!l)return void C("");let a=null==(t=(0,x.lq)(l))||null==(e=t.nationalNumber)?void 0:e.toString();a&&a!==S&&C(a)},[l]);let T=(0,u.useMemo)(()=>(0,x.X6)().map(e=>({code:e,name:((e,l)=>{try{return new Intl.DisplayNames([l],{type:"region"}).of(e)||e}catch(l){return e}})(e,b),callingCode:(0,x.Ko)(e)})).sort((e,l)=>e.name.localeCompare(l.name,b)),[b]),z=(0,u.useMemo)(()=>{let e=A.trim().toLowerCase();return e?T.filter(l=>l.name.toLowerCase().includes(e)||l.code.toLowerCase().includes(e)||"+".concat(l.callingCode).includes(e)):T},[T,A]),I=(e,l)=>{let a=l.replace(/\D/g,"");C(a),t(a?"+".concat((0,x.Ko)(e)).concat(a):"")};return(0,a.jsxs)("div",{className:"flex items-center gap-3",dir:"ltr",children:[(0,a.jsxs)(d.l6,{value:w,onValueChange:e=>{y(e),I(e,S)},children:[(0,a.jsx)(d.bq,{"aria-label":h("Country"),className:(0,o.cn)(g,"w-auto shrink-0 gap-3 [direction:rtl]"),children:(0,a.jsxs)("span",{className:"!flex items-center gap-3 leading-none",children:[(0,a.jsx)(j,{country:w}),(0,a.jsxs)("span",{className:"leading-none",children:["+",(0,x.Ko)(w)]})]})}),(0,a.jsxs)(d.gC,{className:(0,o.cn)(v,"max-h-[32rem]"),children:[(0,a.jsx)("div",{className:"sticky -top-1 z-10 border-b border-body-txt/10 bg-body p-4",onKeyDown:e=>e.stopPropagation(),children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(c.A,{className:"pointer-events-none absolute start-4 top-1/2 size-6 -translate-y-1/2 text-body-txt/50"}),(0,a.jsx)("input",{value:A,onChange:e=>k(e.target.value),placeholder:h("Search"),className:"h-[4.4rem] w-full rounded-[1rem] bg-body-700 ps-12 text-xl outline-none placeholder:text-body-txt/50"})]})}),z.map(e=>(0,a.jsx)(d.eb,{value:e.code,className:f,children:(0,a.jsxs)("span",{className:"flex items-center gap-4",children:[(0,a.jsx)(j,{country:e.code}),(0,a.jsx)("span",{className:"truncate",children:(0,m.oQ)(e.name)}),(0,a.jsxs)("span",{className:"text-body-txt/50",children:["+",e.callingCode]})]})},"country-".concat(e.code))),z.length?null:(0,a.jsx)("p",{className:"px-8 py-5 text-xl text-body-txt/50",children:(0,m.oQ)(h("NoResultsFound"))})]})]}),(0,a.jsxs)("div",{className:"relative w-full rtl:[direction:rtl]",children:[(0,a.jsx)("input",{id:n,type:"tel",inputMode:"tel",placeholder:" ",value:S,onChange:e=>I(w,e.target.value),className:p}),(0,a.jsx)(N,{htmlFor:n,label:s,required:i})]})]})},C=e=>{let{formFields:l,control:t,register:s}=e,i=(0,r.s9)(),{errors:c}=(0,n.lN)({control:t});return(null==l?void 0:l.length)?(0,a.jsx)("div",{className:"flex w-full flex-wrap gap-[1.2rem]",children:l.map(e=>{var l;let r=(null==e?void 0:e.submissionKey)||"field-".concat(null==e?void 0:e.id);return(0,a.jsxs)("div",{className:(0,o.cn)("w-full",(null==e?void 0:e.width)?b[e.width]:void 0),children:[(e=>{let l=(null==e?void 0:e.submissionKey)||"field-".concat(null==e?void 0:e.id),r=null==e?void 0:e.label,c=(null==e?void 0:e.placeholder)||r,u=(null==e?void 0:e.customErrorMessage)||void 0,h=null!=e&&!!e.required&&(u||i("FieldIsRequired"));switch(null==e?void 0:e.fieldType){case"select":return(0,a.jsx)(n.xI,{control:t,name:l,rules:{required:h},render:l=>{var t;let{field:{onChange:s,value:i}}=l;return(0,a.jsxs)(d.l6,{value:i||"",onValueChange:s,children:[(0,a.jsx)(d.bq,{"aria-label":r,className:g,children:(0,a.jsx)(d.yv,{placeholder:(null==e?void 0:e.required)?"".concat(c," *"):c})}),(0,a.jsx)(d.gC,{className:v,children:null==e||null==(t=e.selectOptions)?void 0:t.map(e=>(0,a.jsx)(d.eb,{value:e.value,className:f,children:e.label||e.value},"option-".concat(e.id)))})]})}});case"textarea":return(0,a.jsxs)("div",{className:"relative w-full",children:[(0,a.jsx)("textarea",{id:l,placeholder:" ",rows:4,className:(0,o.cn)(p,"h-[13.2rem] resize-none pb-6 pt-12"),...s(l,{required:h})}),(0,a.jsx)(N,{htmlFor:l,label:r,required:null==e?void 0:e.required,
1className:"top-[2rem] translate-y-0"})]});case"phone":return(0,a.jsx)(n.xI,{control:t,name:l,rules:{required:h,validate:e=>!e||(0,x.g0)(e)||i("InvalidPhoneNumber")},render:t=>{let{field:{onChange:s,value:i}}=t;return(0,a.jsx)(S,{value:i,onChange:s,label:r,required:!!(null==e?void 0:e.required),inputId:l})}});case"checkbox":return(0,a.jsxs)("label",{className:"flex items-center gap-4 text-xl text-body-txt",children:[(0,a.jsx)("input",{id:l,type:"checkbox",className:"size-6 rounded-sm accent-primary",...s(l,{required:h})}),(0,m.oQ)(r)]});default:return(0,a.jsxs)("div",{className:"relative w-full",children:[(0,a.jsx)("input",{id:l,type:(null==e?void 0:e.fieldType)==="number"?"number":(null==e?void 0:e.fieldType)==="email"?"email":"text",placeholder:" ",className:p,...s(l,{required:h,pattern:(null==e?void 0:e.fieldType)==="email"?{value:w,message:u||i("InvalidEmailAddress")}:void 0})}),(0,a.jsx)(N,{htmlFor:l,label:r,required:null==e?void 0:e.required})]})}})(e),(0,a.jsx)(y,{message:null==c||null==(l=c[r])?void 0:l.message})]},"simple-field-".concat(null==e?void 0:e.id))})}):null};var A=t(3998),k=t(51834),T=t(16405),z=t(15239),I=t(20063);let _=e=>{var l,t,s,d,c,x,h,p,g,v;let{formDetails:f,formInfo:b,submitClassName:w}=e,y=(0,r.useCurrentLocale)(),j=(0,r.s9)(),[N,S]=(0,u.useState)(!1),[_,L]=(0,u.useState)(0),[R,M]=(0,u.useState)(!1),Q=(0,u.useRef)(null),E=(0,u.useRef)(null),P=(0,I.useRouter)(),{control:D,register:F,handleSubmit:U,watch:B,reset:V,formState:{errors:O,isSubmitting:G}}=(0,n.mN)({defaultValues:{requestDate:new Date}}),q=async e=>{var l,t,a,s,i,n,r,o,d,m,c,u,x,h,p,g,v,b,w,j,N;let C="";if(null==f||null==(l=f.attributes)?void 0:l.useCaptcha){if(!Q.current)return;C=await Q.current.executeAsync()}let A=null==(t=Object.entries(e))?void 0:t.map(e=>{let[l,t]=e;return{key:l,value:t}}),k={formType:null==f?void 0:f.id,jsonSubmission:A,XCaptcha:(null==f||null==(a=f.attributes)?void 0:a.useCaptcha)?C:""},T=new FormData;if(T.append("data",JSON.stringify(k)),null==(s=Object.entries(e))||s.map(e=>{let[l,t]=e;Array.isArray(t)&&(null==t?void 0:t.every(e=>e instanceof File))&&(null==t||t.forEach(e=>T.append("files.".concat(l),e)))}),G)return;let z=await fetch("/api/form-submit?locale=".concat(y),{method:"POST",body:T}),I=await z.json();(null==I||null==(i=I.data)?void 0:i.id)&&(M(!0),V(),L(e=>e+1),(null==f||null==(d=f.attributes)||null==(o=d.formRedirect)||null==(r=o.data)||null==(n=r.attributes)?void 0:n.type)=="page"?(null==f||null==(v=f.attributes)||null==(g=v.formRedirect)||null==(p=g.data)||null==(h=p.attributes)?void 0:h.route)&&P.push(null==f||null==(N=f.attributes)||null==(j=N.formRedirect)||null==(w=j.data)||null==(b=w.attributes)?void 0:b.route):(null==f||null==(x=f.attributes)||null==(u=x.formRedirect)||null==(c=u.data)||null==(m=c.attributes)?void 0:m.type)=="popup"&&(S(!0),setTimeout(()=>{S(!1)},5e3)))};return(0,a.jsxs)("div",{className:"relative size-full scroll-m-48",id:"form-section",ref:E,children:[(0,a.jsx)(k.lG,{open:N,onOpenChange:S,children:(0,a.jsxs)(k.Cf,{className:"gap-0",children:[(0,a.jsx)("div",{className:"dialog-header mb-12 flex justify-center",children:(0,a.jsx)(z.default,{src:"ar"==y?"/images/Erth-Dubai-Logo-AR.svg":"/images/Erth-Dubai-Logo.svg",width:140,height:54,alt:"Erth Dubai Logo"})}),(0,a.jsx)("div",{className:"dialog-content flex flex-col gap-8 text-center [&_h3]:text-[3rem]",children:(null==f||null==(d=f.attributes)||null==(s=d.formRedirect)||null==(t=s.data)||null==(l=t.attributes)?void 0:l.content)?(0,T.Ay)(null==f||null==(p=f.attributes)||null==(h=p.formRedirect)||null==(x=h.data)||null==(c=x.attributes)?void 0:c.content):null}),(0,a.jsx)(k.HM,{className:"!outline-none",children:(0,a.jsx)(A.A,{variant:"black",className:"mt-12 w-full",children:(0,m.oQ)(j("Okay"))})})]})}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("form",{className:"w-full",onSubmit:U(q),children:[(0,a.jsx)(C,{control:D,formFields:null==f||null==(g=f.attributes)?void 0:g.formFields,register:F}),(null==f||null==(v=f.attributes)?void 0:v.useCaptcha)?(0,a.jsx)(i.A,{ref:Q,sitekey:"6Lf5_KYqAAAAAOTbcb1kRrHxGiiQnpxUKXAB3Wxr",size:"invisible"}):null]}),(0,a.jsx)("div",{className:"mt-8 text-start",children:(0,a.jsx)(A.A,{onClick:U(q),className:(0,o.cn)("w-full border-none bg-black uppercase hover:text-beige",w),type:"submit",disabled:G,loading:G,children:(0,a.jsx)("span",{className:(0,o.cn)("z-2 text3 relative",!w&&"uppercase"),children:(0,m.oQ)(j("Submit"))})})})]})]})};var L=t(55454),R=t(43485);let M=e=>{var l,t,i,n,r,d;let{block:c,formDetails:u,formInfo:x}
1=e,{Title:h,Description:p,Media:g,SectionDetails:v}=c||{},f=!!((null==g||null==(t=g.Image)||null==(l=t.data)?void 0:l.attributes)||(null==g||null==(n=g.ImageMobile)||null==(i=n.data)?void 0:i.attributes)||(null==g?void 0:g.VideoURL)||(null==g?void 0:g.VideoURLMobile));return(0,a.jsxs)(s.default,{className:(0,o.cn)("form-block px-32 max-lg:px-24 max-md-lg:px-8 max-sm:px-2",!(null==v?void 0:v.DisableBottomSpace)&&"mb-40 max-md:mb-16"),children:[(null==v?void 0:v.BlockID)?(0,a.jsx)(R.A,{id:v.BlockID}):null,(0,a.jsxs)("div",{className:"mx-auto flex w-full items-stretch gap-8 max-md-lg:flex-col max-md-lg:gap-2",children:[f?(0,a.jsx)("div",{className:"relative aspect-[610/749] w-[47.7%] shrink-0 overflow-hidden rounded-4xl bg-body-900 max-md-lg:aspect-[16/10] max-md-lg:w-full",children:(0,a.jsx)(L.A,{media:{Image:null==g?void 0:g.Image,MobileImage:(null==g||null==(d=g.ImageMobile)||null==(r=d.data)?void 0:r.attributes)?null==g?void 0:g.ImageMobile:null==g?void 0:g.Image,VideoUrl:null==g?void 0:g.VideoURL,MobileVideoUrl:(null==g?void 0:g.VideoURLMobile)||(null==g?void 0:g.VideoURL)},alt:h||"Form",mobileBreakpoint:991,className:"size-full"})}):null,(0,a.jsxs)("div",{className:(0,o.cn)("flex flex-1 flex-col gap-12 rounded-4xl bg-body-700 p-16 max-md-lg:p-8",!f&&"mx-auto max-w-[65rem]"),children:[h||p?(0,a.jsxs)("div",{className:"flex flex-col gap-10 max-md:gap-8",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-6 max-md:gap-4",children:[h?(0,a.jsx)("h3",{className:"text-[3.2rem] !leading-[1.1] max-md-lg:!text-[2.4rem] rtl:!leading-tight",children:(0,m.oQ)(h)}):null,p?(0,a.jsx)("p",{className:"whitespace-pre-line text-1xl !leading-[1.5] max-md-lg:text-xl",children:(0,m.oQ)(p)}):null]}),(0,a.jsx)("div",{className:"h-px w-full bg-body-txt/10"})]}):null,(0,a.jsx)(_,{formDetails:u,formInfo:x,submitClassName:"h-[5.4rem] w-auto self-start border-none bg-primary px-14 normal-case text-white lg:hover:bg-primary-700"})]})]})]})}},36516:(e,l,t)=>{t.d(l,{A:()=>u,T:()=>m});var a=t(95155),s=t(51834),i=t(14295),n=t(57389),r=t(65229),o=t(15239),d=t(12115);let m=e=>{let l=e.match(/(?:vimeo\.com\/)(\d+)/);return l?l[1]:e.replace(/\D/g,"")||e},c=()=>{document.querySelectorAll('iframe[src*="player.vimeo.com"]').forEach(e=>{let l=e.getBoundingClientRect();if(l.top<window.innerHeight&&l.bottom>0){var t;null==(t=e.contentWindow)||t.postMessage('{"method":"play"}',"*")}})},u=e=>{var l;let{items:t,index:u,onIndexChange:x,open:h,onOpenChange:p}=e,g=null!=(l=t[u])?l:t[0];if((0,d.useEffect)(()=>{if(!h){let e=setTimeout(c,150);return()=>clearTimeout(e)}},[h]),!g)return null;let v=(e=>{var l,t,a,s,n,r,o,d,c,u,x,h,p;let g=null==e||null==(l=e.attributes)?void 0:l.EmbedCode,v=null==e||null==(a=e.attributes)||null==(t=a.Media)?void 0:t.VideoURL,f=null==e||null==(n=e.attributes)||null==(s=n.Media)?void 0:s.Image,b=(0,i.Gf)(f),w=v?m(v):null,y=g?(e=>{let l=e.match(/<iframe[^>]+src=["']([^"']+)["']/i);if(l)return{src:l[1],aspectRatio:"16/9"};let t=e.match(/data-instgrm-permalink=["']([^"'?]+)/i);if(t){var a;let e=null==(a=t[1].match(/\/(?:p|reel)\/([^/]+)/))?void 0:a[1];if(e)return{src:"https://www.instagram.com/p/".concat(e,"/embed/"),aspectRatio:"4/5"}}let s=e.match(/cite=["']https:\/\/www\.tiktok\.com\/[^"']*\/video\/(\d+)/i);return s?{src:"https://www.tiktok.com/embed/v2/".concat(s[1]),aspectRatio:"9/16"}:null})(g):null,j=null==e||null==(r=e.attributes)?void 0:r.Description,N=null!=(x=null==f||null==(d=f.data)||null==(o=d.attributes)?void 0:o.width)?x:16,S=null!=(h=null==f||null==(u=f.data)||null==(c=u.attributes)?void 0:c.height)?h:9,[C,A]=(null!=(p=null==y?void 0:y.aspectRatio)?p:"".concat(N," / ").concat(S)).split("/").map(Number);return{embedCode:g,vimeoId:w,localImageSrc:b,localImage:f,resolvedEmbed:y,description:j,mediaW:N,mediaH:S,modalW:C,modalH:A}})(g),f=u<t.length-1;return(0,a.jsx)(s.lG,{open:h,onOpenChange:p,children:(0,a.jsxs)(s.ZJ,{children:[(0,a.jsx)(s.LC,{}),(0,a.jsxs)(n.UC,{className:(0,i.cn)("fixed inset-0 z-[1001] flex items-center justify-center !outline-none","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95"),children:[(0,a.jsx)("div",{className:"relative overflow-hidden rounded-2xl",style:{maxHeight:"90dvh",aspectRatio:"".concat(v.modalW," / ").concat(v.modalH),width:"min(90vw, calc(90dvh * ".concat(v.modalW," / ").concat(v.modalH,"))")},children:(()=>{var e,l,t,s,i;return v.embedCode?v.resolvedEmbed?(0,a.jsx)("iframe",{src:v.resolvedEmbed.src,className:"size-full border-0",allow:"autoplay; fullscreen",title:""}):(0,a.jsx)("div",{className:"absolute inset-0 overflow-auto [&>*]:size-full [&_iframe]:size-full [&_iframe]:border-0",dangerouslySetInnerHTML:{__html:v.embedCode}}):v.vimeoId?(0,a.jsx)("iframe",{src:"https://player.vimeo.com/video/".concat(v.vimeoId,"?autoplay=1&title=0&byline=0&portrait=0&dnt=1"),allow:"autoplay; fullscreen",className:"size-full",title:null!=(e=v.description)?e:""}):v.localImageSrc?(0,a.jsx)(o.default,{src:v.localImageSrc,alt:null!=(i=null==(s=v.localImage)||null==(t=s.data)||null==(l=t.attributes)?void 0:l.alternativeText)?i:"",width:v.mediaW,height:v.mediaH,className:"absolute inset-0 size-full object-contain"}):null})()}),(0,a.jsxs)(s.HM,{className:"group absolute end-4 top-4 z-10 flex size-14 transform-none items-center justify-center rounded-full border border-white text-white transition-all duration-500 hover:bg-white hover:text-black rtl:-scale-x-100",children:[(0,a.jsx)(r.A,{className:"size-8 text-white group-hover:text-black"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]}),(0,a.jsxs)("div",{className:"bottom-8 gap-4 max-md-lg:absolute max-md-lg:flex",children:[u>0&&(0,a.jsx)("button",{className:"start-[5%] flex size-20 transform-none items-center justify-center rounded-full border border-white text-white transition-all duration-500 hover:bg-white hover:text-black md-lg:absolute rtl:-scale-x-100",onClick:()=>x(u-1),"aria-label":"Previous",children:(0,a.jsx)("span",{className:"icon-arrow -scale-x-100"})}),f&&(0,a.jsx)("button",{className:"end-[5%] flex size-20 transform-none items-center justify-center rounded-full border border-white text-white transition-all duration-500 hover:bg-white hover:text-black md-lg:absolute rtl:-scale-x-100",onClick:()=>x(u+1),"aria-label":"Next",children:(0,a.jsx)("span",{className:"icon-arrow"})})]})]})]})})}},37345:(e,l,t)=>{t.r(l),t.d(l,{default:()=>y});var a=t(95155),s=t(3998),i=t(98933),n=t(14295),r=t(91374),o=t(41407),d=t(34384),m=t(29447),c=t(16405),u=t(15239),x=t(12115),h=t(3903),p=t(93048),g=t(67016),v=t(42357);let f=[[{id:1,h:170},{id:2,h:545},{id:3,h:380},{id:4,h:380}],[{id:5,h:380},{id:6,h:545},{id:7,h:420},{id:8,h:380}],[{id:9,h:545},{id:10,h:545},{id:11,h:380}],[{id:12,h:240},{id:13,h:545},{id:14,h:380},{id:15,h:545}]],b=()=>{var e;let l=(0,h.useCurrentLocale)();(0,h.s9)();let t=(0,x.useCallback)((e,t)=>t&&t.data.length<10?null:"/api/libraries?pageSize=".concat(10,"&locale=").concat(l),[l]),{data:s,isLoading:i,isValidating:o,size:c,setSize:u}=(0,g.Ay)(t,e=>fetch(e).then(e=>e.json()),{revalidateFirstPage:!1}),b=(0,x.useMemo)(()=>{var e;return(null!=(e=null==s?void 0:s.flatMap(e=>{var l;return null!=(l=null==e?void 0:e.data)?l:[]}))?e:[]).filter(e=>null==e?void 0:e.attributes)},[s]),w=o&&c>(null!=(e=null==s?void 0:s.length)?e:0),y=(0,x.useMemo)(()=>{var e,l;let t=null==s?void 0:s[s.length-1];if(!t)return!1;let{page:a,pageCount:i}=null!=(l=null==t||null==(e=t.meta)?void 0:e.pagination)?l:{};return a<i},[s]),j=(0,x.useRef)(null),N=(0,x.useRef)(null);(0,x.useEffect)(()=>
1{if(!j.current||!y||w)return;let e=new IntersectionObserver(e=>{let[l]=e;l.isIntersecting&&u(e=>e+1)},{threshold:.1});return e.observe(j.current),()=>e.disconnect()},[y,w,u]);let{scrollYProgress:S}=(0,d.L)({target:N,offset:["start end","end start"]}),C=(0,p.A)("(max-width: 640px)"),A=(0,m.G)(S,[0,1],C?[5,0]:[-70,150]),k=(0,m.G)(S,[0,1],C?[50,-80]:[150,-350]),T=(0,m.G)(S,[0,1],C?[35,-60]:[10,-280]),z=(0,x.useMemo)(()=>[A,k,0,T],[A,k,T]),I=(0,x.useMemo)(()=>{let e=Array.from({length:4},()=>[]),l=[,,,,].fill(0);return b.forEach(t=>{var a,s,i;let n,r=null==(i=t.attributes.Media)||null==(s=i.Image)||null==(a=s.data)?void 0:a.attributes,o=t.attributes.EmbedCode;n=(null==r?void 0:r.width)&&(null==r?void 0:r.height)?r.height/r.width:(null==o?void 0:o.includes("tiktok.com"))?16/9:(null==o?void 0:o.includes("instagram.com"))?5/4:16/9;let d=l.indexOf(Math.min(...l));e[d].push(t),l[d]+=300*n+32}),e},[b]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"library-list relative isolate gap-12 px-32 max-lg:px-24 max-md-lg:px-8 max-sm:mb-16",children:[(0,a.jsx)("div",{ref:N,className:(0,n.cn)("card-list grid grid-cols-2 gap-8 al:grid-cols-4",i&&"opacity-50 transition-opacity",!i&&0===b.length&&"hidden"),children:i?f.map((e,l)=>(0,a.jsx)(r.P.div,{style:{y:z[l]},className:"flex flex-col gap-8",children:e.map(e=>(0,a.jsx)("div",{className:"w-full animate-pulse overflow-hidden rounded-4xl bg-body-txt/10",style:{aspectRatio:"305 / ".concat(e.h)}},e.id))},l)):I.map((e,l)=>(0,a.jsx)(r.P.div,{style:{y:z[l]},className:"flex flex-col gap-8",children:e.map(e=>(0,a.jsx)(v.A,{item:e,allItems:b,itemIndex:b.findIndex(l=>(null==l?void 0:l.id)===(null==e?void 0:e.id))},null==e?void 0:e.id))},l))}),w&&(0,a.jsx)("div",{className:"mt-12 flex justify-center",children:(0,a.jsx)("div",{className:"size-10 animate-spin rounded-full border-2 border-body-txt/20 border-t-body-txt"})}),(0,a.jsx)("div",{ref:j,className:"h-px"})]})})},w=r.P.create(u.default),y=e=>{var l,t;let{block:h}=e,p=(0,x.useRef)(null),g=(0,o.I)(),{scrollYProgress:v}=(0,d.L)({target:p,offset:["start start","end start"]}),f=(0,m.G)(v,[0,1],["0%","-4%"]),y=(0,m.G)(v,[0,1],["0%","6%"]);if(!h)return null;let{Title:j,Content:N,FeaturedImage:S,BackgroundImage:C,CTA_One:A,CTA_Two:k,LoadLibraryItems:T,SectionDetails:z}=h;return(0,a.jsxs)("section",{ref:p,className:(0,n.cn)("relative isolate flex flex-col gap-64 overflow-hidden pt-48 max-md-lg:mb-20 max-sm:gap-48 md:pt-56 lg:pt-64",!(null==z?void 0:z.DisableBottomSpace)&&"mb-24 max-md:mb-12"),children:[(0,a.jsxs)("div",{className:"relative z-20 mx-auto flex max-w-[103.9rem] flex-col items-center gap-12 px-8 text-center max-sm:gap-8 md:px-20 lg:px-32",children:[(0,a.jsxs)("div",{className:"flex w-full flex-col items-center gap-8",children:[j?(0,a.jsx)("h1",{className:"p1 font-merriweather opacity-80 rtl:!leading-normal",children:(0,i.oQ)((0,c.Ay)(j))}):null,N?(0,a.jsx)("div",{className:"w-full [&_h2]:text-[3.2rem] [&_h2]:leading-none [&_h2]:opacity-100 md:[&_h2]:text-[5.4rem] lg:[&_h2]:text-[6.6rem] rtl:[&_h2]:!leading-tight [&_p]:mx-auto [&_p]:mt-8 [&_p]:max-w-[65.7rem] [&_p]:text-1xl [&_p]:leading-normal rtl:[&_p]:mt-12",children:(0,c.Ay)(N)}):null]}),A||k?(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-4 max-sm:w-full max-sm:flex-col",children:[A?(0,a.jsx)(s.A,{href:A.URL,target:A.Target,className:"min-w-80 font-bold max-sm:w-full",children:(0,i.oQ)(A.Title)}):null,k?(0,a.jsx)(s.A,{href:k.URL,target:k.Target,variant:"transparent",className:"min-w-80 border-primary font-bold text-primary max-sm:w-full",children:(0,i.oQ)(k.Title)}):null]}):null]}),(0,a.jsx)(u.default,{src:"/images/bg-pattern-long.svg",fill:!0,alt:"","aria-hidden":"true",className:"pointer-events-none -z-40 object-cover opacity-30 transition-opacity duration-700 ease-out motion-reduce:transition-none lg:group-hover:opacity-40"}),(0,a.jsxs)("div",{"aria-hidden":"true",className:"banner-image pointer-events-none relative -z-20 h-[38rem] max-md-lg:h-[35rem] max-sm:h-72",children:[(null==C||null==(l=C.data)?void 0:l.attributes)&&!T?(0,a.jsx)(w,{src:(0,n.Gf)(C),alt:"",fill:!0,priority:!0,sizes:"100vw",className:"!bottom-auto top-0 !h-auto object-cover",style:{y:g?0:f}}):null,T?(0,a.jsx)(b,{}):null]}),(null==S||null==(t=S.data)?void 0:t.attributes)?(0,a.jsx)(r.P.div,{className:"featured-image pointer-events-none absolute inset-x-0 bottom-0 -z-10 mx-auto h-[47rem] max-w-[34rem] max-md-lg:h-[42rem] max-md-lg:max-w-[25rem] max-sm:h-96 max-sm:max-w-60",
1style:{y:g?0:y},children:(0,a.jsx)(u.default,{src:(0,n.Gf)(S),alt:(0,n.fr)(S,"Featured image"),width:S.data.attributes.width||1280,height:S.data.attributes.height||1783,priority:!0,sizes:"(max-width: 768px) 100vw, 1280px",className:"h-auto w-full object-contain object-top"})}):null,(0,a.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 bottom-0 z-0 h-1/4 bg-gradient-to-b from-transparent to-body max-sm:h-1/6"})]})}},37496:(e,l,t)=>{t.r(l),t.d(l,{default:()=>j});var a=t(95155),s=t(3903),i=t(35674),n=t(74457),r=t(38833);let o=e=>(0,a.jsxs)("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,a.jsx)("path",{d:"M8.5 14C11.8137 14 14.5 11.3137 14.5 8C14.5 4.68629 11.8137 2 8.5 2C5.18629 2 2.5 4.68629 2.5 8C2.5 11.3137 5.18629 14 8.5 14Z",stroke:"#272727",strokeOpacity:"0.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M8 7.5C8.13261 7.5 8.25979 7.55268 8.35355 7.64645C8.44732 7.74021 8.5 7.86739 8.5 8V10.5C8.5 10.6326 8.55268 10.7598 8.64645 10.8536C8.74021 10.9473 8.86739 11 9 11",stroke:"#272727",strokeOpacity:"0.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M8.25 6C8.66421 6 9 5.66421 9 5.25C9 4.83579 8.66421 4.5 8.25 4.5C7.83579 4.5 7.5 4.83579 7.5 5.25C7.5 5.66421 7.83579 6 8.25 6Z",fill:"#272727",fillOpacity:"0.5"})]});var d=t(31359),m=t(3998),c=t(23974),u=t(79933),x=t(14295),h=t(66942),p=t(52619),g=t.n(p),v=t
1(20063),f=t(12115),b=t(22544),w=t(15653),y=t(98933);let j=e=>{var l,t,p,j,N,S,C,A,k,T,z,I,_;let{block:L}=e,R=(0,s.s9)(),M=(0,x.TT)(),Q=(0,v.useRouter)(),[E,P]=(0,f.useState)(!1),[D,F]=(0,f.useState)(""),[U,B]=(0,f.useState)(!0),[V,O]=(0,f.useState)(null),[G,q]=(0,f.useState)(!1),[H,W]=(0,f.useState)(!0),[Z,Y]=(0,f.useState)(!0),K=(e=>w.z.object({AwardsCategory:w.z.number().nullable(),AwardsSubcategory:w.z.number(),Stories:w.z.union([w.z.string(),w.z.number()]).optional(),StoryType:w.z.enum(["Existing Story","Open Submission"],{errorMap:()=>({message:e("StoryTypeError")})}),SubmissionTitle:w.z.string().optional(),SubmissionDescription:w.z.string().optional(),SubmissionUrl:w.z.string().optional()}).superRefine((l,t)=>{if("Open Submission"===l.StoryType)if(l.SubmissionTitle&&""!==l.SubmissionTitle.trim()?l.SubmissionTitle.length>255&&t.addIssue({path:["SubmissionTitle"],message:e("SubmissionTitleMaxLength"),code:w.z.ZodIssueCode.custom}):t.addIssue({path:["SubmissionTitle"],message:e("SubmissionTitleRequired"),code:w.z.ZodIssueCode.custom}),l.SubmissionUrl&&""!==l.SubmissionUrl.trim())try{new URL(l.SubmissionUrl)}catch(l){t.addIssue({path:["SubmissionUrl"],message:e("InvalidUrlFormat"),code:w.z.ZodIssueCode.custom})}else t.addIssue({path:["SubmissionUrl"],message:e("UrlRequired"),code:w.z.ZodIssueCode.custom});"Existing Story"===l.StoryType&&(void 0===l.Stories||""===l.Stories||"number"!=typeof l.Stories)&&t.addIssue({path:["Stories"],message:e("StoriesRequired"),code:w.z.ZodIssueCode.custom})}))(R),{register:X,handleSubmit:J,formState:{errors:$},setValue:ee,watch:el,control:et}=(0,b.mN)({resolver:(0,h.u)(K),defaultValues:{AwardsCategory:null}});el();let ea=el("AwardsCategory"),es=el("StoryType"),ei=async e=>{let l=(e=>{let l={locale:M,AwardsCategory:Number(e.AwardsCategory),AwardsSubcategory:Number(e.AwardsSubcategory)};return"Open Submission"===e.StoryType?{data:{...l,Stories:[],StoryType:"Open Submission",SubmissionTitle:e.SubmissionTitle,SubmissionDescription:e.SubmissionDescription,SubmissionUrl:e.SubmissionUrl}}:{data:{...l,Stories:[Number(e.Stories)],StoryType:"Existing Story"}}})(e);try{var t;if(E)return;(0,u.oR)({title:R("Submitting")}),P(!0);let e=await (await fetch("/api/awards/submit-story-for-award",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)})).json();(null==e||null==(t=e.data)?void 0:t.attributes)&&Q.push("/dashboard/awards/thank-you"),P(!1)}catch(e){P(!1),(0,u.oR)({title:R("ErrorSubmitting")})}},en=async()=>{var e;let l=await fetch("/api/list/get-user-stories"),t=await l.json();return(null==t||null==(e=t.list)?void 0:e.length)===0};return(0,f.useEffect)(()=>{(async()=>{O(await en())})()},[]),(0,f.useEffect)(()=>{F(es),null==ea?B(!0):B(!1)},[es,ea]),(0,a.jsxs)("div",{className:"px-32 pt-20 max-lg:px-24 max-md:px-8 md:bg-[url(/images/path12.png)] md:bg-[length:100%] md:bg-center md:bg-no-repeat md:pt-48",children:[(0,a.jsx)("h2",{className:"h3 mb-7 text-center md:mb-12",children:(0,y.oQ)(null==L?void 0:L.Title)}),(0,a.jsxs)("form",{className:"flex w-full flex-col gap-8 bg-body md:mx-auto md:w-1/2",onSubmit:J(ei),children:[(0,a.jsx)(n.A,{label:R("SelectCat"),required:!0,destructive:!!(null==$?void 0:$.AwardsCategory),setValue:ee,endpoint:"/api/list/get-awards-category",helperText:null==$||null==(l=$.AwardsCategory)?void 0:l.message,...X("AwardsCategory")}),(0,a.jsx)(n.A,{label:R("SelectSubCat"),required:!0,disabled:U,destructive:!!(null==$?void 0:$.AwardsSubcategory),setValue:ee,onSelectChange:(e,l)=>{l&&(e=>{W(!!(null==e?void 0:e.hasOpenSubmission)),Y(!!(null==e?void 0:e.hasExistingSubmission))})(l)},queryParams:ea,helperText:null==$||null==(t=$.AwardsSubcategory)?void 0:t.message,endpoint:"/api/list/get-awards-subcategory",...X("AwardsSubcategory")}),(0,a.jsx)(n.A,{label:R("SelectStoryType"),required:!0,destructive:!!(null==$?void 0:$.StoryType),setValue:ee,value:es,helperText:null==$||null==(p=$.StoryType)?void 0:p.message,queryParams:null==ea?null:"openSubmissionState=".concat(H,"&existingSubmissionState=").concat(Z),endpoint:"/api/list/get-story-type",...X("StoryType")}),"Open Submission"==D&&H&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.A,{label:R("SubmissionTitle"),destructive:!!(null==$?void 0:$.SubmissionTitle),...X("SubmissionTitle"),helperText:null==$||null==(j=$.SubmissionTitle)?void 0:j.message,required:!0}),(0,a.jsx)(i.A,{destructive:!!(null==$?void 0:$.SubmissionDescription),...X("SubmissionDescription"),helperText:null==$||null==(N=$.SubmissionDescription)?void 0:N.message,type:"textarea",placeholder:R("EnterPartDesc")}),(0,a.jsx)(i.A,{label:R("URL"),destructive:!!(null==$?void 0:$.SubmissionUrl),...X("SubmissionUrl"),helperText:null==$||null==(S=$.SubmissionUrl)?void 0:S.message,required:!0}),(0,a.jsxs)("div",{className:"flex items-start gap-2",children:[(0,a.jsx)(d.A,{}),(0,a.jsx)("p",{className:"text-[11px] leading-[1.4rem] text-gray-500",children:null==L?void 0:L.URLInfo})]})]}),"Existing Story"==D&&!V&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(n.A,{label:R("SelectStory"),required:!0,destructive:!!(null==$?void 0:$.Stories),setValue:ee,helperText:null==$||null==(C=$.Stories)?void 0:C.message,endpoint:"/api/list/get-user-stories",...X("Stories")})}),V&&"Existing Story"==D&&(0,a.jsxs)("div",{className:"flex flex-col items-center gap-8",children:[(null==L||null==(k=L.NoStoryIcon)||null==(A=k.data)?void 0:A.attributes)&&(0,a.jsx)(r.A,{width:80,height:80,alternativeText:null==L||null==(I=L.NoStoryIcon)||null==(z=I.data)||null==(T=z.attributes)?void 0:T.alternativeText,imageSize:"small",n
1oBlur:!0,image:null==L?void 0:L.NoStoryIcon}),(0,a.jsx)("h2",{className:"h4",children:(0,y.oQ)(null==L?void 0:L.NoStoryTitle)}),(0,a.jsx)("p",{className:"text-center text-[1.4rem] text-gray-500",children:(0,y.oQ)(null==L?void 0:L.NoStoryDesc)}),(0,a.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[H&&(0,a.jsx)(m.A,{type:"button",onClick:()=>ee("StoryType","Open Submission"),className:"w-full",loading:E,children:(0,y.oQ)(null==L?void 0:L.NoStoryButtonTitle)}),(0,a.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,a.jsx)(o,{}),(0,a.jsx)("p",{className:"text-center text-[11px] text-gray-500",children:null==L?void 0:L.NoStoryInfo1})]})]}),(0,a.jsx)("p",{className:"text-[1.4rem] text-gray-600",children:null==L?void 0:L.NoStoryInfo2}),(0,a.jsxs)("div",{className:"rounded-4xl bg-beigeCard p-6 md:p-12",children:[(null==L?void 0:L.Title)?(0,a.jsx)("h3",{className:"h4",children:(0,y.oQ)(null==L?void 0:L.HowToPartTitle)}):null,(0,a.jsx)("ul",{className:"flex flex-col gap-8 py-8",children:null==L||null==(_=L.HowToPartList)?void 0:_.map(e=>(0,a.jsxs)("li",{className:"flex items-center gap-[1.4rem]",children:[(0,a.jsx)("div",{className:"flex size-[5.2rem] items-center justify-center overflow-hidden rounded-full bg-beigeWhite",children:(0,a.jsx)(r.A,{alternativeText:(null==e?void 0:e.Title)||"",imageSize:"medium",className:"size-full p-2",width:670,height:670,image:null==e?void 0:e.Icon})}),(0,a.jsx)("p",{className:"text-xl text-black max-md:max-w-80",children:(0,y.oQ)(null==e?void 0:e.Title)})]},null==e?void 0:e.id))}),(0,a.jsx)(m.A,{variant:"black",className:"w-full",type:"button",onClick:()=>Q.push("/dashboard?initalForm=true"),children:(0,y.oQ)(null==L?void 0:L.ButtonTitle)})]})]}),!(V&&"Existing Story"===es)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"items-top flex gap-3 border-t border-body-txt/10 pt-8",children:[(0,a.jsx)(c.S,{id:"awardsTerms",checked:G,onCheckedChange:q}),(0,a.jsx)("div",{className:"grid gap-1.5 leading-none",children:(0,a.jsx)("label",{htmlFor:"awardsTerms",className:"text-lg leading-8 text-body-txt/80 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:R("AcceptTnC",{terms:(0,a.jsx)(g(),{className:"text-primary underline transition-colors duration-300 lg:hover:text-primary-700",href:"/terms-and-conditions",children:(0,y.oQ)(R("TermsConditions"))}),privacy:(0,a.jsx)(g(),{className:"text-primary underline transition-colors duration-300 lg:hover:text-primary-700",href:"/privacy-policy",children:(0,y.oQ)(R("PrivacyPolicy"))})})})})]}),(0,a.jsx)(m.A,{className:"w-full",loading:E,variant:"black",disabled:!G,children:(0,y.oQ)(R("Proceed"))})]})]})]})}},38383:(e,l,t)=>{t.d(l,{A:()=>d});var a=t(95155),s=t(3903),i=t(3998),n=t(98933),r=t(14295),o=t(15239);let d=e=>{var l,t,d,m,c,u,x,h,p,g,v,f,b,w,y;let{data:j,className:N,classNames:S}=e,C=(0,s.s9)(),A=(0,s.useCurrentLocale)(),k=(null==j||null==(l=j.Story)?void 0:l.WinnerName)?null==j||null==(t=j.Story)?void 0:t.WinnerName:"en"===A?null==j||null==(d=j.Author)?void 0:d.full_name:(null==j||null==(m=j.Author)?void 0:m.full_name_ar)||(null==j||null==(c=j.Author)?void 0:c.full_name)||"".concat(null==j||null==(u=j.Author)?void 0:u.first_name," ").concat(null==j||null==(x=j.Author)?void 0:x.last_name),T=(null==j||null==(h=j.Story)?void 0:h.WinnerImage)||(null==j||null==(p=j.Story)?void 0:p.CoverStory);return(0,a.jsxs)("div",{className:(0,r.cn)("relative isolate flex h-full w-full select-none flex-col justify-between overflow-hidden rounded-6xl bg-body-900 pb-16 text-center text-body-txt max-md-lg:pb-12",N),children:[(0,a.jsx)(o.default,{src:"/images/award-card-bg-pattern.svg",width:588,height:468,alt:"",className:(0,r.cn)("pointer-events-none absolute left-1/2 top-[-15%] -z-10 h-[47rem] max-h-none w-[60rem] max-w-none -translate-x-1/2 object-cover [mask-image:linear-gradient(to_bottom,transparent_0%,#000_22%,#000_64%,transparent_100%)]",null==S?void 0:S.bgImage)}),(0,a.jsxs)("div",{className:(0,r.cn)("relative mx-auto mt-[5%] aspect-[287/283] w-[60%] ltr:translate-x-[3%] rtl:-translate-x-[3%]",null==S?void 0:S.winnerImageBlock),children:[(0,a.jsx)("div",{className:"absolute inset-0 overflow-hidden",children:(0,a.jsx)(o.default,{src:T?(0,r.Gf)(T):"/images/book_PH.jpg",className:"object-cover object-top",fill:!0,alt:(null==j||null==(g=j.Story)?void 0:g.StoryTitle)||"Winner Image"})}),(0,a.jsx)("div",{className:"pointer-events-none absolute start-[-22%] top-[91%] h-[21%] w-[136%] bg-body-900 blur-[1.4rem]"}),(0,a.jsx)(o.default,{src:"/images/Award_Trophy-plain.png",alt:"",width:240,height:236,className:"absolute start-[-10.5%] top-[58.5%] h-auto w-[42%] object-contain"})]}),(0,a.jsxs)("div",{className:"relative mx-auto mt-12 flex w-[88%] flex-col items-center gap-12 max-md-lg:gap-10",children:[(0,a.jsxs)("div",{className:"flex w-full flex-col items-center gap-6 [word-break:break-word]",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center gap-3",children:[k?(0,a.jsx)("div",{className:"text-1xl font-bold leading-normal text-primary max-md-lg:text-xl",children:(0,n.oQ)(k)}):null,(null==j||null==(v=j.Story)?void 0:v.StoryTitle)?(0,a.jsx)("h3",{className:"line-clamp-3 text-balance text-[3.2rem] leading-[1.2] max-md-lg:text-[2.6rem] rtl:!leading-normal",children:(0,n.oQ)(null==j||null==(f=j.Story)?void 0:f.StoryTitle)}):null]}),(null==j||null==(b=j.AwardsSubcategory)?void 0:b.SubcategoryTitle)?(0,a.jsx)("div",{className:"small font-bold leading-normal opacity-60",children:(0,n.oQ)(null==j||null==(w=j.AwardsSubcategory)?void 0:w.SubcategoryTitle)}):null]}),(0,a.jsx)(i.A,{href:"/community-stories/".concat(null==j||null==(y=j.Story)?void 0:y.id),className:"min-w-[14.5rem]",children:(0,n.oQ)(C("ReadStory"))})]})]})}},38833:(e,l,t)=>{t.d(l,{A:()=>n});var a=t(95155),s=t(14295),i=t(15239);let n=e=>{let{image:l,imageSrc:t,alternativeText:n,className:r,noBlur:o=!1,enableTransition:d=!1,imageSize:m,debug:c=!1,...u}=e,x=o,h=(0,s.Gf)(l,m),p=(null==e?void 0:e.unoptimized)||!1;"https://api.erthdubai.ae/uploads/book_PH_3b92964a57.jpg"==h&&(p=!0,x=!0);let g=(0,a.jsx)(i.default,{className:"size-full object-cover object-center opacity-100 transition-opacity duration-500 [&:not(.init):not(.skip-init)]:opacity-0 ".concat(d?"transition-all !duration-700 ease-in-out":""),src:t||h,unoptimized:p,alt:t?n:l&&(0,s.fr)(l,n),...u,onLoad:e=>{let l=e.currentTarget;l.classList.add("init");let t=l.parentElement;t&&(t.classList.add("loaded"),setTimeout(()=>{l.classList.remove("opacity-100","transition-opacity","duration-500"),t.removeAttribute("style")},500))},quality:100});return x?(0,a.jsx)("div",{className:(0,s.cn)("blurred-img relative overflow-hidden !blur-none",r),children:g}):(0,a.jsx)("div",{className:(0,s.cn)("blurred-img relative overflow-hidden",r),style:{backgroundImage:""},children:g})}},40649:(e,l,t)=>{t.r(l),t.d(l,{default:()=>h});var a=t(95155),s=t(3903),i=t(37808),n=t(93048),r=t(14295),o=t(16405),d=t(15239),m=t
1(53261),c=t(3998),u=t(98933);let x=e=>{var l,t;let{data:s}=e,{ButtonText:i,Cover:n,DownloadFile:o,Title:m}=s||{};return(0,a.jsxs)("div",{className:"flex flex-col items-center gap-12 text-center",children:[(null==n||null==(l=n.data)?void 0:l.attributes)?(0,a.jsx)("div",{className:"relative aspect-[0.71] w-full overflow-hidden",children:(0,a.jsx)(d.default,{src:(0,r.Gf)(n),alt:n.data.attributes.alternativeText||m,className:"max-w-full rounded-4xl",unoptimized:!0,fill:!0})}):null,(0,a.jsx)("h3",{className:"h4 !leading-normal lg:text-[3.2rem]",children:(0,u.oQ)(m)}),(null==o||null==(t=o.data)?void 0:t.attributes)?(0,a.jsx)(c.A,{href:(0,r.Gf)(o),target:"_blank",rel:"noopener noreferrer",className:"mt-auto min-w-72 max-md:min-w-60",children:(0,u.oQ)(i)}):null]})},h=e=>{let{block:l,page:t}=e,{Content:r,StoryItems:d}=l||{},c=(0,n.A)("(max-width: 640px)"),u=(0,s.useCurrentLocale)();return(0,a.jsxs)(m.default,{className:"discover-stories-block relative isolate mb-40 px-32 max-lg:px-24 max-md-lg:px-8 max-sm:mb-16",children:[r?(0,a.jsx)("div",{className:"mb-24 flex flex-col items-center gap-12 text-center max-sm:mb-12 max-sm:[&_h3]:text-[2rem] max-sm:[&_h3]:leading-none",children:(0,o.Ay)(r)}):null,(null==d?void 0:d.length)?c?(0,a.jsx)(i.FN,{opts:{direction:"ar"===u?"rtl":"ltr",dragFree:!0},className:"static mb-0 w-full [&_.carousel-content]:overflow-visible",children:(0,a.jsx)(i.Wk,{className:"-ms-4",children:null==d?void 0:d.map((e,l)=>(0,a.jsx)(i.A7,{className:"basis-[75%] ps-4",children:(0,a.jsx)(x,{data:e},null==e?void 0:e.id)},"story-item-card-".concat(null==e?void 0:e.id)))})}):(0,a.jsx)("div",{className:"grid grid-cols-3 gap-16",children:null==d?void 0:d.map(e=>(0,a.jsx)(x,{data:e},null==e?void 0:e.id))}):null]})}},40711:(e,l,t)=>{t.r(l),t.d(l,{default:()=>y});var a=t(95155),s=t(71972),i=t(53261),n=t(3998),r=t(14295),o=t(91374),d=t(16405),m=t(36489),c=t(15239),u=t(52619),x=t.n(u),h=t(12115),p=t(15279),g=t(38833),v=t(15859),f=t(47605);let b=(0,h.forwardRef)((e,l)=>{var t,s,i,n,o,d,m,c,u,x,p,b;let{data:w}=e,y=(0,h.useRef)(null);(0,h.useImperativeHandle)(l,()=>y.current);let{ImageOne:j,ImageTwo:N,ImageThree:S,ImageFour:C,ImageFive:A,ImageSix:k}=w||{},[T,z]=(0,h.useState)(!1),I=(0,h.useRef)(null),_=(0,h.useRef)(null),L=(0,h.useRef)(null),R=(0,h.useRef)(null),M=(0,h.useRef)(null),Q=(0,h.useRef)(null),E=(0,h.useMemo)(()=>Array.from({length:6}).map(()=>.5+Math.random()),[]);return(0,v.L)(()=>{let e=[...(null==I?void 0:I.current)?[I.current]:[],...(null==L?void 0:L.current)?[L.current]:[],...(null==_?void 0:_.current)?[_.current]:[],...(null==R?void 0:R.current)?[R.current]:[],...(null==M?void 0:M.current)?[M.current]:[],...(null==Q?void 0:Q.current)?[Q.current]:[]],l=[...(null==I?void 0:I.current)?[I.current]:[],...(null==L?void 0:L.current)?[L.current]:[],...(null==M?void 0:M.current)?[M.current]:[],...(null==Q?void 0:Q.current)?[Q.current]:[]],t=[...(null==_?void 0:_.current)?[_.current]:[],...(null==R?void 0:R.current)?[R.current]:[]];e.length&&f.Ay.set(e,{y:"6rem"}),(null==t?void 0:t.length)&&f.Ay.to(l,{y:0,duration:1,ease:"circ.out",onComplete:()=>{(null==t?void 0:t.length)||z(!0)}}),(null==t?void 0:t.length)&&f.Ay.to(t,{y:0,duration:1,delay:.15,ease:"circ.out",onComplete:()=>{z(!0)}})},{scope:y}),(0,v.L)(()=>{if(T)return window.addEventListener("mousemove",e),()=>{window.removeEventListener("mousemove",e)};function e(e){let l=window.innerWidth/2,t=window.innerHeight/2,a=e.clientX-l,s=e.clientY-t;[I.current,_.current,L.current,R.current,M.current,Q.current].forEach((e,l)=>{e&&f.Ay.to(e,{x:a/50*E[l],y:s/50*E[l],ease:"power2.out",duration:.3})})}},{scope:y,dependencies:[E,T]}),(0,a.jsxs)("div",{children:[(null==j||null==(s=j.Image)||null==(t=s.data)?void 0:t.attributes)?(0,a.jsx)("div",{ref:I,className:(0,r.cn)("img-1 absolute start-[13.111vw] top-[11.167vw] h-[clamp(95px,13.611vw,13.611vw)] w-[clamp(67px,9.722vw,9.722vw)] rotate-[-8.95deg] overflow-hidden rounded-[1.8rem] [transform-style:preserve-3d] max-lg:top-[13.167vw] max-md-lg:rounded-2xl max-md:start-16 max-md:top-[12rem] max-sm:start-12 max-sm:top-[110px]","rtl:rotate-[17.3deg] rtl:max-md:hidden rtl:md:start-[9.583vw] rtl:md:top-[12.083vw]"),children:(0,a.jsx)(g.A,{width:244,height:348,loading:"eager",image:null==j?void 0:j.Image,className:"size-full",alternativeText:"Banner Image One",noBlur:!0})}):null,(null==N||null==(n=N.Image)||null==(i=n.data)?void 0:i.attributes)?(0,a.jsx)("div",{ref:_,className:(0,r.cn)("img-2 absolute bottom-[2.764vw] start-[16.903vw] z-20 h-[clamp(153px,19.306vw,19.306vw)] w-[clamp(100px,13.819vw,13.819vw)] rotate-[-8.95deg] overflow-hidden rounded-[1.8rem] [transform-style:preserve-3d] max-lg:bottom-[5.972vw] max-lg:start-[10.903vw] max-md-lg:rounded-2xl max-md:bottom-32 max-md:start-20 max-sm:bottom-0 max-sm:start-10","rtl:rotate-[13.59deg] rtl:max-sm:bottom-8"),children:(0,a.jsx)(g.A,{width:340,height:480,loading:"eager",image:null==N?void 0:N.Image,className:"size-full",alternativeText:"Banner Image Two",noBlur:!0})}):null,(null==S||null==(d=S.Image)||null==(o=d.data)?void 0:o.attributes)?(0,a.jsx)("div",{ref:L,className:(0,r.cn)("img-3 absolute end-[14.458vw] top-[10.403vw] h-[clamp(95px,13.542vw,13.542vw)] w-[clamp(67px,9.722vw,9.722vw)] rotate-[8.6deg] overflow-hidden rounded-4xl [transform-style:preserve-3d] max-lg:end-[10.458vw] max-lg:top-[13.403vw] max-md-lg:rounded-2xl max-md:end-16 max-md:top-[12rem] max-sm:end-20 max-sm:top-[112px]","rtl:rotate-[-12.38deg] rtl:md:end-[9.167vw] rtl:md:top-[12.708vw]"),children:(0,a.jsx)(g.A,{width:280,height:390,loading:"eager",image:null==S?void 0:S.Image,className:"size-full",alternativeText:"Banner Image Three",noBlur:!0})}
1):null,(null==C||null==(c=C.Image)||null==(m=c.data)?void 0:m.attributes)?(0,a.jsx)("div",{ref:R,className:(0,r.cn)("img-4 absolute bottom-[2.764vw] end-[12.778vw] z-20 h-[clamp(150px,19.444vw,19.444vw)] w-[clamp(103px,13.889vw,13.889vw)] rotate-[13.59deg] overflow-hidden rounded-[1.2rem] [transform-style:preserve-3d] max-lg:bottom-[5.972vw] max-lg:end-[10.903vw] max-md-lg:rounded-2xl max-md:bottom-32 max-md:end-20 max-sm:bottom-2 max-sm:end-14","rtl:rotate-[-13.58deg] rtl:max-sm:bottom-8 rtl:md:end-[16.903vw] rtl:md:rounded-[1.8rem]"),children:(0,a.jsx)(g.A,{width:400,height:560,loading:"eager",image:null==C?void 0:C.Image,className:"size-full",alternativeText:"Banner Image Four",noBlur:!0})}):null,(null==A||null==(x=A.Image)||null==(u=x.data)?void 0:u.attributes)?(0,a.jsx)("div",{ref:M,className:(0,r.cn)("img-5 absolute start-[2.528vw] top-[23.153vw] h-[clamp(95px,13.611vw,13.611vw)] w-[clamp(67px,9.722vw,9.722vw)] rotate-[-8.95deg] overflow-hidden rounded-[1.8rem] [transform-style:preserve-3d] max-lg:top-[28.361vw] max-md-lg:rounded-2xl max-md:start-16 max-md:top-[12rem] max-md:hidden max-sm:start-12 max-sm:top-[110px]","rtl:rotate-[14.8deg] rtl:max-md:block rtl:md:start-[1.042vw] rtl:md:top-[27.778vw]"),children:(0,a.jsx)(g.A,{width:244,height:348,loading:"eager",image:null==A?void 0:A.Image,className:"size-full",alternativeText:"Banner Image One",noBlur:!0})}):null,(null==k||null==(b=k.Image)||null==(p=b.data)?void 0:p.attributes)?(0,a.jsx)("div",{ref:Q,className:(0,r.cn)("img-6 absolute end-[2.5vw] top-[21.361vw] h-[clamp(73px,13.542vw,13.542vw)] w-[clamp(55px,9.722vw,9.722vw)] rotate-[13.59deg] overflow-hidden rounded-4xl [transform-style:preserve-3d] max-lg:top-[28.361vw] max-md-lg:rounded-2xl max-md:end-40 max-md:top-[20rem] max-md:hidden max-sm:end-20 max-sm:top-[132px]","rtl:rotate-[-13.92deg] rtl:md:end-[1.111vw] rtl:md:top-[27.778vw] rtl:md:h-[12.083vw] rtl:md:w-[8.472vw]"),children:(0,a.jsx)(g.A,{width:280,height:390,loading:"eager",image:null==k?void 0:k.Image,className:"size-full",alternativeText:"Banner Image Three",noBlur:!0})}):null]})});b.displayName="FloatingCovers";var w=t(98933);let y=e=>{var l,t,u,g,v,f;let{block:y}=e,{Title:j,Tagline:N,ImageOne:S,ImageTwo:C,ImageThree:A,ImageFour:k,ImageFive:T,ImageSix:z,FeaturedImage:I,Backgroun
1dImage:_,Layout:L,Button:R,ButtonTwo:M,Content:Q}=y||{},E="with-featured-image"==L,{data:P,status:D}=(0,m.useSession)(),F=!!P&&((null==P?void 0:P.provider)=="uaepass"||(null==P?void 0:P.provider)=="credentials"||(null==P?void 0:P.provider)=="user-login"||(null==P?void 0:P.provider)=="entity-login"||(null==P?void 0:P.provider)=="entity"),U=(0,h.useRef)(null),B=(0,p.Ub)("(max-width: 640px)"),V=(null==M?void 0:M.Title)&&(null==M?void 0:M.URL),O=(0,h.useMemo)(()=>Q?(0,a.jsx)("p",{className:(0,r.cn)("max-w-[41.5rem] text-center",!E&&"lg:pt-16"),children:(0,w.oQ)(Q)}):null,[]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("section",{ref:U,className:(0,r.cn)("home-banner relative z-10 flex justify-center px-8 pb-[9.375vw] pt-[13.194vw] max-lg:h-[90svh] max-lg:max-h-[700px] max-lg:overflow-hidden max-lg:pt-56 max-md:h-[60svh] max-sm:h-svh max-sm:flex-col max-sm:pt-36 lg:min-h-[56.722vw]",V&&"max-sm:min-h-[680px]",E&&"!overflow-visible overflow-x-clip lg:-mb-48"),children:[E&&(null==_||null==(l=_.data)?void 0:l.attributes)?(0,a.jsx)(o.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},children:(0,a.jsx)(c.default,{src:(0,r.Gf)(_),alt:(null==_||null==(u=_.data)||null==(t=u.attributes)?void 0:t.alternativeText)||"Background Image",layout:"fill",objectFit:"contain",className:"absolute inset-0 z-0 m-auto !h-auto w-full max-w-[100rem] lg:!top-36"})}):null,(0,a.jsxs)(s.default,{className:(0,r.cn)("inner-block relative z-50 flex flex-col items-center gap-16 max-md:gap-10",E&&"gap-12"),children:[(0,a.jsxs)("div",{className:"lg:[&_h1]:leading-1 flex flex-col items-center gap-8 text-center rtl:max-sm:[&_br]:block max-sm:[&_h1]:text-[33px] max-sm:[&_h1]:leading-[33px] lg:[&_h1]:text-[4.583vw] rtl:[&_h1]:!leading-[1.4] rtl:max-sm:[&_h1]:!leading-[50px]",children:[N?(0,a.jsx)("div",{className:"tagline p1",children:(0,w.oQ)(N)}):null,j?(0,a.jsx)("h1",{className:(0,r.cn)("title",E&&"sr-only"),children:(0,d.Ay)(j)}):null,E&&(null==I||null==(g=I.data)?void 0:g.attributes)?(0,a.jsx)(c.default,{src:(0,r.Gf)(I),alt:(null==I||null==(f=I.data)||null==(v=f.attributes)?void 0:v.alternativeText)||"Featured Image",width:750,height:360,objectFit:"contain",className:"mx-auto w-full max-w-[75rem] max-lg:max-w-[55rem]"}):null]}),(0,a.jsxs)("div",{className:"button flex gap-8 max-sm:flex-col",children:[R?F?(0,a.jsx)(x(),{href:"/dashboard",className:"custom-button b1 flex cursor-pointer items-center justify-center gap-6 truncate rounded-6xl border border-primary bg-primary px-14 py-6 !text-white outline-none transition-all duration-500 active:border-primary-700 active:bg-primary-700 disabled:pointer-events-none disabled:opacity-60 max-lg:text-[14px] max-lg:leading-[20px] max-md-lg:px-8 max-md-lg:py-6 max-sm:!duration-100 lg:hover:border-primary-700 lg:hover:bg-primary-700 rtl:font-medium",target:null==R?void 0:R.Target,children:(0,w.oQ)(null==R?void 0:R.Title)}):(0,a.jsx)(n.A,{href:null==R?void 0:R.URL,target:null==R?void 0:R.Target,children:(0,w.oQ)(null==R?void 0:R.Title)}):null,V?(0,a.jsx)(n.A,{href:null==M?void 0:M.URL,target:null==M?void 0:M.Target,variant:"transparent",className:"border-primary text-primary",children:(0,w.oQ)(null==M?void 0:M.Title)}):null]}),B?null:O]}),(0,a.jsx)(b,{ref:U,data:{ImageOne:S,ImageTwo:C,ImageThree:A,ImageFour:k,ImageFive:T,ImageSix:z}})]}),B?(0,a.jsx)(i.default,{className:"mb-24 mt-12 px-8",children:O}):null]})}},42262:(e,l,t)=>{t.r(l),t.d(l,{default:()=>j});var a=t(95155),s=t(3903),i=t(23495),n=t(51834),r=t(9938),o=t(14295),d=t(41407),m=t(34384),c=t(29447),u=t(91374),x=t(1835),h=t(15239),p=t(12115);t(74062),t(80878);var g=t(67262),v=t(74551),f=t(53261),b=t(49864),w=t(3998),y=t(98933);let j=e=>{var l,t,j,N,S,C,A,k,T,z,I,_,L,R,M,Q,E,P,D,F,U,B,V,O,G,q,H;let{block:W}=e,[Z,Y]=(0,p.useState)(0),[K,X]=(0,p.useState)(!1),J=(0,p.useRef)(null),$=(0,p.useRef)(null),ee=(0,p.useRef)(null),el=(0,s.useCurrentLocale)(),et=(0,d.I)(),ea=!!(null==W||null==(l=W.SectionDetails)?void 0:l.DisableBottomSpace),{scrollYProgress:es}=(0,m.L)({target:ee,offset:["start start","end start"]}),ei=(0,c.G)(es,[0,1],["-7rem","4rem"]);return(0,p.useEffect)(()=>(document.querySelectorAll("body").forEach(e=>{e.classList.add("has-awards-banner")}),()=>{document.querySelectorAll("body").forEach(e=>{e.classList.remove("has-awards-banner")})}),[]),(0,a.jsxs)(f.default,{className:"awards-home-category-banner relative [&~.awards-winner-block_.awards-winner-block-inner]:h-auto [&~.awards-winner-block_.awards-winner-block-inner]:pb-40",children:[(0,a.jsxs)("div",{ref:ee,className:(0,o.cn)("relative isolate flex min-h-screen flex-col gap-16 overflow-hidden px-32 py-72 max-lg:px-24 max-md-lg:px-8 max-md:min-h-[125vh] max-md:pt-60 md:flex-row md:pb-0",ea?"mb-0":"mb-40 md:mb-20"),children:[(0,a.jsxs)("div",{className:"absolute start-0 top-0 -z-10 size-full overflow-hidden bg-gray",children:[(0,a.jsx)("div",{style:{position:"absolute",inset:0,pointerEvents:"none",zIndex:1,background:"linear-gradient(180deg, #000000 0%, rgba(0,0,0,0) 22.39%),linear-gradient(90deg, rgba(0,0,0,0.5) 24.41%, rgba(0,0,0,0) 50%),linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25))"}}),(0,a.jsx)(v.RC,{modules:[g.Vx,g.xI,g._R],onSwiper:e=>{$.current=e},effect:"fade",spaceBetween:0,slidesPerView:1,style:{width:"100%",height:"100%",position:"absolute",inset:0,zIndex:0,overflowX:"hidden"},speed:1e3,allowTouchMove:!1,rewind:!0,children:null==W||null==(j=W.Winners)||null==(t=j.data)?void 0:t.map((e,l)=>{var t,s,n,r,o,d,m,c,u,x,h,p,g,f,b,w;let y=null==e||null==(o=e.attributes)||null==(r=o.AwardsSubcategory)||null==(n=r.data)||null==(s=n.attributes)||null==(t=s.MediaFiles)?void 0:t.VideoURL,j=null==e||null==(x=e.attributes)||null==(u=x.AwardsSubcategory)||null==(c=u.data)||null==(m
1=c.attributes)||null==(d=m.MediaFiles)?void 0:d.Image,N=null==e||null==(w=e.attributes)||null==(b=w.AwardsSubmission)||null==(f=b.data)||null==(g=f.attributes)||null==(p=g.Story)||null==(h=p.data)?void 0:h.attributes,S=(null==N?void 0:N.CoverVideo)||y;return(0,a.jsx)(v.qr,{style:{width:"100%",height:"100%"},children:(0,a.jsx)(i.A,{VideoURL:null==S?void 0:S.Url,image:(null==S?void 0:S.Thumbnail)||j,videoOptions:{videoClassName:"pointer-events-none scale-150"}})},l)})})]}),(0,a.jsxs)("div",{className:"z-10 flex w-full flex-col items-center gap-5 text-center text-white md:w-[60%] md:items-start md:text-start",children:[(0,a.jsx)("h1",{className:"mb-5 whitespace-pre-line",children:(0,y.oQ)(null==W?void 0:W.Title)}),(0,a.jsx)("p",{className:"text-[2rem] opacity-100 md:whitespace-pre-line",children:(0,y.oQ)(null==W?void 0:W.SubTitle)}),(0,a.jsx)("p",{className:"opacity-80 md:whitespace-pre-line",children:(0,y.oQ)(null==W?void 0:W.Description)}),(0,a.jsxs)("div",{className:"mt-8 flex items-center justify-center gap-6 md:justify-start",children:[(null==W?void 0:W.CTA_One)?(0,a.jsx)(w.A,{href:null==W||null==(N=W.CTA_One)?void 0:N.URL,target:null==W||null==(S=W.CTA_One)?void 0:S.Target,children:(0,y.oQ)(null==W||null==(C=W.CTA_One)?void 0:C.Title)}):null,(null==W?void 0:W.CTA_Two)?(0,a.jsx)(w.A,{href:null==W||null==(A=W.CTA_Two)?void 0:A.URL,target:null==W||null==(k=W.CTA_Two)?void 0:k.Target,variant:"transparent",className:"border-white text-white",children:(0,y.oQ)(null==W||null==(T=W.CTA_Two)?void 0:T.Title)}):null]})]}),(null==W||null==(I=W.Winners)||null==(z=I.data)?void 0:z.length)?(0,a.jsxs)("div",{className:"relative flex w-full flex-col items-center gap-4 md:w-[40%] md:items-end",children:[(0,a.jsx)(v.RC,{modules:[g.Vx,g.xI],controller:{control:$.current},spaceBetween:33,slidesPerView:"auto",style:{width:"100%",overflow:"visible",height:"41rem"},speed:500,onSwiper:e=>{J.current=e},onSlideChange:e=>{Y(e.activeIndex)},centeredSlides:!0,breakpoints:{767:{centeredSlides:!1}},loop:!1,rewind:!0,children:null==W||null==(L=W.Winners)||null==(_=L.data)?void 0:_.map((e,l)=>{var t,s,n,d,m,c,u,p,g,f,b,w,j,N,S,C,A,k,T,z;let I=null==e||null==(n=e.attributes)||null==(s=n.AwardsSubcategory)||null==(t=s.data)?void 0:t.attributes,_=null==e||null==(g=e.attributes)||null==(p=g.AwardsSubmission)||null==(u=p.data)||null==(c=u.attributes)||null==(m
1=c.Story)||null==(d=m.data)?void 0:d.id,L=null==e||null==(S=e.attributes)||null==(N=S.AwardsSubmission)||null==(j=N.data)||null==(w=j.attributes)||null==(b=w.Story)||null==(f=b.data)?void 0:f.attributes,R=null==L?void 0:L.CoverVideo,M=null==L?void 0:L.CoverStory;return(0,a.jsx)(v.qr,{style:{width:"27rem",height:"39rem"},children:(0,a.jsxs)("div",{style:{transition:"500ms all ease-in-out",opacity:l<Z?"".concat(.8-Math.max(0,(Z-l)*.2)):1},className:(0,o.cn)("relative isolate flex size-full flex-col justify-between overflow-hidden rounded-4xl p-8 text-white ".concat(l<Z?"!scale-90 !shadow-none blur-sm":""," ")),children:[(0,a.jsx)(r.A,{href:"/community-stories/".concat(_)}),(null==R?void 0:R.Url)?(0,a.jsx)(i.A,{VideoURL:null==R?void 0:R.Url,image:null==R?void 0:R.Thumbnail,videoOptions:{videoClassName:"pointer-events-none absolute scale-150 -z-20 h-auto w-full rounded-[2rem] object-cover inset-0 "}}):(0,a.jsx)(h.default,{src:(null==M||null==(C=M.data)?void 0:C.attributes)?(0,o.Gf)(M):"/images/book_PH.jpg",fill:!0,alt:(null==M||null==(k=M.data)||null==(A=k.attributes)?void 0:A.alternativeText)||"Award Winner ".concat(l+1),className:"-z-20 h-auto w-full rounded-[2rem] object-cover"}),(0,a.jsx)("div",{className:(0,o.cn)("absolute inset-0 -z-10 size-full bg-black/20",!(null==L||null==(z=L.CoverStory)||null==(T=z.data)?void 0:T.attributes)&&"bg-black/50")}),(0,a.jsx)("div",{className:"pill truncate rounded-full bg-primary px-6 py-4 ltr:font-bold",children:(0,a.jsxs)(x.Ay,{duration:15,direction:"en"===el?x.Z9:x.Ql,children:[(0,a.jsx)("span",{children:(0,y.oQ)(null==I?void 0:I.SubcategoryTitle)}),(0,a.jsx)("span",{className:"px-2",children:"•"}),(0,a.jsx)("span",{children:(0,y.oQ)(null==I?void 0:I.SubcategoryTitle)}),(0,a.jsx)("span",{className:"px-2",children:"•"})]})}),(0,a.jsx)("div",{className:"p1",children:(0,y.oQ)((null==L?void 0:L.WinnerName)||(null==L?void 0:L.StoryTitle))})]})},l)})}),(0,a.jsxs)("div",{className:"flex items-center gap-6",children:[(0,a.jsx)("button",{onClick:()=>{J.current&&J.current.slidePrev()},className:"z-20 flex size-[5.4rem] cursor-pointer items-center justify-center rounded-full border border-white","aria-label":"Previous Slide",type:"button",children:(0,a.jsx)(b.A,{className:"rtl:-scale-x-100"})}),(0,a.jsx)("button",{onClick:()=>{J.current&&J.current.slideNext()},className:"z-20 flex size-[5.4rem] rotate-180 cursor-pointer items-center justify-center rounded-full border border-white","aria-label":"Next Slide",type:"button",children:(0,a.jsx)(b.A,{className:"rtl:-scale-x-100"})})]})]}):null,(0,a.jsx)(n.lG,{open:K,onOpenChange:X,children:(0,a.jsxs)(n.Cf,{className:"!size-full max-h-[90%] max-w-[90%] gap-0 !p-0",children:[(0,a.jsx)(i.A,{VideoURL:null==W||null==(D=W.SubCategoryList)||null==(P=D[Z])||null==(E=P.SubCategory)||null==(Q=E.data)||null==(M=Q.attributes)||null==(R=M.MediaFiles)?void 0:R.VideoURL,image:null==W||null==(G=W.SubCategoryList)||null==(O=G[Z])||null==(V=O.SubCategory)||null==(B=V.data)||null==(U=B.attributes)||null==(F=U.MediaFiles)?void 0:F.Image,videoOptions:{muted:!1,loop:!1,controls:!0,videoClassName:"!object-contain !w-auto mx-auto",imageClassName:"!object-contain"}}),(0,a.jsx)(n.HM,{className:"absolute end-0 top-0 !outline-none"})]})})]}),ea?null:(0,a.jsx)("svg",{width:"465",height:"72",viewBox:"0 0 465 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"rtl:start-none pointer-events-none absolute -bottom-1 start-1/2 z-10 -translate-x-1/2 rtl:end-1/2 rtl:translate-x-1/2",children:(0,a.jsx)("path",{d:"M232.5 0C102.688 0 131.75 72 0 72H465C339.062 72 362.312 0 232.5 0Z",fill:"#FAF6EA"})}),(0,a.jsx)(u.P.img,{src:(null==W||null==(H=W.TrophyImage)||null==(q=H.data)?void 0:q.attributes)?(0,o.Gf)(null==W?void 0:W.TrophyImage):"/images/awards-banner-ic.png",alt:"",className:"pointer-events-none absolute inset-x-0 -bottom-28 z-20 mx-auto h-auto w-[25rem] max-sm:w-80",style:{y:ea&&!et?ei:0}})]})}},42357:(e,l,t)=>{t.d(l,{A:()=>u});var a=t(95155),s=t(36516),i=t(98933),n=t(14295),r=t(15239),o=t(12115),d=t(91837);let m=e=>fetch(e).then(e=>{if(!e.ok)throw Error("".concat(e.status));return e.json()}),c=e=>{let{text:l}=e;return l?(0,a.jsx)("div",{className:"absolute inset-x-0 bottom-0 max-h-full translate-y-2 overflow-auto opacity-0 transition-all duration-300 scrollbar-hide group-hover:translate-y-0 group-hover:opacity-100",children:(0,a.jsx)("div",{className:"rounded-t-4xl bg-black/40 p-8 backdrop-blur-md",children:(0,a.jsx)("p",{className:"p leading-snug text-white",children:(0,i.oQ)(l)})})}):null},u=(0,o.memo)(e=>{var l,t,i,u,x,h,p,g,v,f,b,w,y,j,N,S,C,A,k,T,z,I,_,L,R,M,Q;let{item:E,allItems:P,itemIndex:D=0}=e,F=null==E||null==(l=E.attributes)?void 0:l.Description,U=null==E||null==(i=E.attributes)||null==(t=i.Media)?void 0:t.VideoURL,B=null==E||null==(x=E.attributes)||null==(u=x.Media)?void 0:u.Image,V=(0,n.Gf)(B),O=!!U,G=O?(0,s.T)(U):null,q=O&&!V,{data:H,isLoading:W}=(0,d.Ay)(G?"/api/vimeo?id=".concat(G):null,m),[Z,Y]=(0,o.useState)(!1),[K,X]=(0,o.useState)(D),J=(0,o.useRef)(null),$=(0,o.useRef)(null),[ee,el]=(0,o.useState)(!1),et=(0,o.useMemo)(()=>null!=P?P:[E],[P,E]);(0,o.useEffect)(()=>
1{if(!J.current||!O)return;let e=new IntersectionObserver(e=>{var l,t,a,s;let[i]=e;i.isIntersecting?(el(!0),null==(t=$.current)||null==(l=t.contentWindow)||l.postMessage('{"method":"play"}',"*")):null==(s=$.current)||null==(a=s.contentWindow)||a.postMessage('{"method":"pause"}',"*")},{threshold:.1});return e.observe(J.current),()=>e.disconnect()},[O]);let ea=()=>{X(D),Y(!0)},es=(0,a.jsx)(s.A,{items:et,index:K,onIndexChange:X,open:Z,onOpenChange:Y});if(O){let e=null!=(k=null!=(A=null==H?void 0:H.thumbnail)?A:V)?k:null,l=null!=(T=null==B||null==(y=B.data)||null==(w=y.attributes)?void 0:w.alternativeText)?T:"";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{ref:J,"data-id":null==E?void 0:E.id,style:{aspectRatio:"".concat(null!=(I=null!=(z=null==H?void 0:H.width)?z:null==B||null==(N=B.data)||null==(j=N.attributes)?void 0:j.width)?I:16," / ").concat(null!=(L=null!=(_=null==H?void 0:H.height)?_:null==B||null==(C=B.data)||null==(S=C.attributes)?void 0:S.height)?L:9)},className:"group relative w-full cursor-pointer overflow-hidden rounded-4xl",onClick:ea,children:[q&&W?(0,a.jsx)("div",{className:"absolute inset-0 animate-pulse bg-body-txt/10"}):e?(0,a.jsx)(r.default,{src:e,alt:l,fill:!0,className:"object-cover",sizes:"(max-width: 768px) 50vw, 25vw"}):(0,a.jsx)("div",{className:"absolute inset-0 bg-body-txt/10"}),ee&&G&&(0,a.jsx)("iframe",{ref:$,src:"https://player.vimeo.com/video/".concat(G,"?background=1&autoplay=1&loop=1&byline=0&title=0"),allow:"autoplay; fullscreen",className:"pointer-events-none absolute inset-0 size-full border-0",title:""}),(0,a.jsx)(c,{text:F})]}),es]})}if(!V)return null;let ei=null!=(R=null==B||null==(p=B.data)||null==(h=p.attributes)?void 0:h.alternativeText)?R:"",en=null!=(M=null==B||null==(v=B.data)||null==(g=v.attributes)?void 0:g.width)?M:600,er=null!=(Q=null==B||null==(b=B.data)||null==(f=b.attributes)?void 0:f.height)?Q:800;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"group relative w-full cursor-pointer overflow-hidden rounded-4xl",onClick:ea,children:[(0,a.jsx)(r.default,{src:V,alt:ei,width:en,height:er,className:"block h-auto w-full transition-transform duration-500 group-hover:scale-105"}),(0,a.jsx)(c,{text:F})]}),es]})})},43485:(e,l,t)=>{t.d(l,{A:()=>i});var a=t(95155),s=t(14295);let i=e=>{let{id:l,className:t}=e;return(0,a.jsx)("div",{id:l,className:(0,s.cn)("-translate-y-40",t)})}},45140:(e,l,t)=>{t.r(l),t.d(l,{default:()=>x});var a=t(95155),s=t(14295),i=t(47605),n=t(55580),r=t(16405),o=t(15239),d=t(12115),m=t(53261),c=t(98933);let u=e=>{var l,t,i;let{prize:n,index:m}=e,u=(0,d.useRef)(null);if(!n)return null;let{Title:x,Content:h,Image:p}=n;return(0,a.jsxs)("div",{ref:u,className:"prize-card relative flex flex-col rounded-4xl border border-[#C6C5C5]/50 bg-body p-16 pt-[28.4rem] max-lg:px-8 max-lg:pb-8 max-sm:pt-[16.4rem]","data-index":m,children:[(null==p||null==(l=p.data)?void 0:l.attributes)&&(0,a.jsx)(o.default,{src:(0,s.Gf)(p),alt:(null==p||null==(i=p.data)||null==(t=i.attributes)?void 0:t.alternativeText)||x,fill:!0,className:"absolute start-0 top-0 h-auto max-h-[26.4rem] w-full rounded-t-4xl object-cover object-bottom max-sm:max-h-[14.4rem]",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",priority:!0}),(0,a.jsx)("h3",{className:"h4 mb-4 md:text-[3.2rem]",children:(0,c.oQ)(x)}),h&&(0,a.jsx)("div",{className:"flex flex-col gap-8 text-xl [&_ul]:list-disc [&_ul]:pl-6",children:(0,r.Ay)(h)})]})},x=e=>{let{block:l}=e,{Title:t,PrizeOne:s,PrizeTwo:r,PrizeThree:o}=l||{},x=(0,d.useRef)(null),h=[s,r,o].filter(e=>!!e);return((0,d.useLayoutEffect)(()=>{i.os.registerPlugin(n.u)},[]),(0,d.useEffect)(()=>{if(!h.length||!(window.innerWidth>991))return;let e=i.os.utils.toArray(".prize-card");e.forEach((e,l)=>{0!==l&&(i.os.set(e,{y:"".concat(20*l,"%"),opacity:.7}),i.os.to(e,{scrollTrigger:{trigger:x.current,start:"top 80%",end:"center center",scrub:!0},y:0,opacity:1,ease:"power2.inOut"}))});let l=()=>{n.u.getAll().forEach(e=>e.kill()),window.innerWidth>991?e.forEach((e,l)=>{0!==l&&(i.os.set(e,{y:"".concat(20*l,"%"),opacity:.7}),i.os.to(e,{scrollTrigger:{trigger:x.current,start:"top 80%",end:"center center",scrub:!0},y:0,opacity:1,ease:"power2.inOut"}))}
1):e.forEach(e=>{i.os.set(e,{y:0,opacity:1})})};return window.addEventListener("resize",l),()=>{n.u.getAll().forEach(e=>e.kill()),window.removeEventListener("resize",l)}},[h.length]),h.length)?(0,a.jsx)(m.default,{children:(0,a.jsxs)("div",{ref:x,className:"prizes-block mb-24 bg-body-500 px-32 py-32 max-lg:px-24 max-md-lg:px-8 max-md:py-24",children:[t&&(0,a.jsx)("h2",{className:"h3 mb-16",children:(0,c.oQ)(t)}),(0,a.jsx)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-3",children:h.map((e,l)=>(0,a.jsx)(u,{prize:e,index:l},"prize-".concat(l)))})]})}):null}},46880:(e,l,t)=>{t.r(l),t.d(l,{default:()=>u});var a=t(95155),s=t(55454),i=t(43485),n=t(98933),r=t(14295),o=t(16405),d=t(15239),m=t(12115),c=t(53261);let u=e=>{var l,t,u;let{block:x}=e,{Title:h,IconList:p,MediaList:g,SectionDetails:v}=null!=x?x:{},f=(0,m.useMemo)(()=>(g||[]).filter(e=>{var l,t,a,s;return(null==e||null==(t=e.Image)||null==(l=t.data)?void 0:l.attributes)||(null==e||null==(s=e.ImageMobile)||null==(a=s.data)?void 0:a.attributes)||(null==e?void 0:e.VideoURL)||(null==e?void 0:e.VideoURLMobile)}),[g]),[b,w]=(0,m.useState)(0);(0,m.useEffect)(()=>{f.length<2||w(Math.floor(Math.random()*f.length))},[f.length]);let y=f[b]||f[0];return h||(null==p?void 0:p.length)?(0,a.jsxs)(c.default,{className:(0,r.cn)("icons-list-block relative isolate flex min-h-screen flex-col overflow-hidden text-white max-md-lg:gap-[3rem] max-md-lg:px-8 max-md-lg:pb-12 max-md-lg:pt-8 max-sm:gap-8 md-lg:justify-between md-lg:px-32 md-lg:pb-[4.8rem] md-lg:pt-40","md-lg:portrait:aspect-[16/10] md-lg:portrait:min-h-fit md-lg:portrait:pt-20",!(null==v?void 0:v.DisableBottomSpace)&&"mb-32 max-md:mb-20"),children:[(null==v?void 0:v.BlockID)?(0,a.jsx)(i.A,{id:null==v?void 0:v.BlockID}):null,h?(0,a.jsx)("div",{children:(0,o.Ay)(h)}):null,(null==p?void 0:p.length)?(0,a.jsx)("div",{className:"order-2 grid grid-cols-2 gap-8 max-md-lg:gap-[1.2rem] max-sm:grid-cols-1 max-sm:gap-2",children:null==p?void 0:p.map((e,l)=>{var t,s,i,o,m,c,u;return(0,a.jsxs)("div",{className:"item flex items-center gap-[3.2rem] overflow-hidden rounded-4xl border border-body-txt/5 bg-body-700 p-[3.2rem] text-body-txt max-md-lg:items-start max-md-lg:gap-10 max-md-lg:p-6 max-sm:items-center max-sm:gap-2 max-sm:p-4 md-lg:bg-body",children:[(null==e||null==(s=e.Icon)||null==(t=s.data)?void 0:t.attributes)?(0,a.jsx)(d.default,{src:(0,r.Gf)(null==e?void 0:e.Icon),alt:null!=(c=null==e||null==(m=e.Icon)||null==(o=m.data)||null==(i=o.attributes)?void 0:i.alternativeText)?c:"List Icon",width:144,height:132,className:"h-24 w-[7.2rem] shrink-0 object-contain object-center max-md-lg:size-[4.8rem] max-sm:size-12"}):null,(null==e?void 0:e.Title)?(0,a.jsx)("p",{className:"p1 text-pretty font-bold !opacity-100 max-md-lg:sub-label sm:whitespace-pre-line rtl:!leading-snug",children:(0,n.oQ)(null==e?void 0:e.Title)}):null]},"item-".concat(null!=(u=null==e?void 0:e.id)?u:l))})}):null,y?(0,a.jsxs)("div",{className:"absolute inset-0 -z-10",children:[(0,a.jsx)(s.A,{media:{Image:null==y?void 0:y.Image,MobileImage:(null==y||null==(t=y.ImageMobile)||null==(l=t.data)?void 0:l.attributes)?null==y?void 0:y.ImageMobile:null==y?void 0:y.Image,VideoUrl:null==y?void 0:y.VideoURL,MobileVideoUrl:(null==y?void 0:y.VideoURLMobile)||(null==y?void 0:y.VideoURL)},alt:"Icon List Media",mobileBreakpoint:990,className:"size-full max-md-lg:[&_img]:object-bottom"},"list-media-".concat(null!=(u=null==y?void 0:y.id)?u:b)),(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 hidden bg-black/20 lg:bg-[linear-gradient(to_bottom,rgba(0,0,0,0.55)_0%,rgba(0,0,0,0.45)_30%,rgba(0,0,0,0.15)_55%,rgba(0,0,0,0)_75%)]"})]}):null]}):null}},47667:(e,l,t)=>{t.r(l),t.d(l,{default:()=>n});var a=t(95155),s=t(71972),i=t(16405);let n=e=>{let{block:l}=e;if(null==l?void 0:l.content)return(0,a.jsx)("article",{className:"mb-28 max-w-[89rem] px-12 max-md:px-8 [&_p:last-child]:mb-0",children:(0,a.jsx)(s.default,{enableInView:!1,children:(0,i.Ay)(null==l?void 0:l.content)})})}},48666:(e,l,t)=>{t.d(l,{default:()=>u});var a=t(95155),s=t(3903),i=t(3998),n=t(37808),r=t(14295),o=t(15239),d=t(12115),m=t(36516);let c=[{box:"w-[30rem] max-md:w-[18rem]",offset:"mt-[5.5rem] max-md:mt-[3.5rem]",ratio:"aspect-[300/375]",pull:"ms-[5rem] max-md:ms-[2.5rem]",depth:.62,z:26},{box:"w-[22rem] max-md:w-[13rem]",offset:"mt-[14rem] max-md:mt-[8.5rem]",ratio:"aspect-[220/275]",pull:"ms-[4.5rem] max-md:ms-[2.5rem]",depth:.9,z:42},{box:"w-[25rem] max-md:w-[15rem]",offset:"mt-[11rem] max-md:mt-[6.5rem]",ratio:"aspect-[250/290]",pull:"ms-[4.5rem] max-md:ms-[2.5rem]",depth:.78,z:36},{box:"w-[32rem] max-md:w-[19rem]",offset:"mt-[3rem] max-md:mt-[2rem]",ratio:"aspect-[320/400]",pull:"ms-[5rem] max-md:ms-[2.5rem]",depth:.55,z:20},{box:"w-[24rem] max-md:w-[14.5rem]",offset:"mt-[13rem] max-md:mt-[8rem]",ratio:"aspect-[240/278]",pull:"ms-[4rem] max-md:ms-[2rem]",depth:.82,z:38},{box:"w-[27rem] max-md:w-[16rem]",offset:"mt-[9rem] max-md:mt-[5.5rem]",ratio:"aspect-[270/313]",pull:"ms-[4.5rem] max-md:ms-[2.5rem]",depth:.72,z:32},{box:"w-[21rem] max-md:w-[12.5rem]",offset:"mt-[15rem] max-md:mt-[9rem]",ratio:"aspect-[210/262]",pull:"ms-[4.5rem] max-md:ms-[2.5rem]",depth:.95,z:45},{box:"w-[29rem] max-md:w-[17.5rem]",offset:"mt-[6rem] max-md:mt-[3.5rem]",ratio:"aspect-[290/363]",pull:"ms-[5rem] max-md:ms-[2.5rem]",depth:.66,z:28},{box:"w-[23rem] max-md:w-[14rem]",offset:"mt-[12.5rem] max-md:mt-[7.5rem]",ratio:"aspect-[230/287]",pull:"ms-[4rem] max-md:ms-[2rem]",depth:.86,z:40},{box:"w-[31rem] max-md:w-[18.5rem]",offset:"mt-[4rem] max-md:mt-[2.5rem]",ratio:"aspect-[310/388]",pull:"ms-[5rem] max-md:ms-[2.5rem]",depth:.58,z:22}],u=e=>{let{block:l,slides:t}
1=e,{CTA:u,SectionDetails:x}=l||{},h=(null==u?void 0:u.URL)?/^(https?:|mailto:|tel:|#|\/)/.test(u.URL)?u.URL:"/".concat(u.URL):void 0,p=(0,s.s9)(),g="ar"===(0,s.useCurrentLocale)(),v=g?1:-1,[f,b]=(0,d.useState)(),w=(0,d.useRef)(null),[y,j]=(0,d.useState)(!1),[N,S]=(0,d.useState)(!1),[C,A]=(0,d.useState)(0),k=(0,d.useMemo)(()=>t.map(e=>e.item),[t]),T=(0,d.useRef)(null);return(0,d.useEffect)(()=>{let e;if(!f)return;let l=window.matchMedia("(prefers-reduced-motion: reduce)").matches,t=0,a=!1,s=!1,i=()=>{l||a||s||(()=>{let{location:e,offsetLocation:l,previousLocation:t,target:a,translate:s,scrollLooper:i,slideLooper:n}=f.internalEngine();e.add(.55*v),l.set(e),t.set(e),a.set(e),s.to(l.get()),i.loop(v),n.loop()})(),(()=>{let e=f.rootNode().getBoundingClientRect(),l=e.left+e.width/2;f.slideNodes().forEach(t=>{let a=t.querySelector("[data-parallax]");if(!a)return;let s=t.getBoundingClientRect(),i=(s.left+s.width/2-l)/(e.width||1)*(Number(a.dataset.parallax)||1)*v*42;a.style.transform="translate3d(".concat(i.toFixed(2),"px, 0, 0)");let n=a.querySelector("[data-parallax-inner]");n&&(n.style.transform="translate3d(".concat((-(.25*i)).toFixed(2),"px, 0, 0)"))})})(),t=requestAnimationFrame(i)},n=()=>{a=!0,s=!1,clearTimeout(e)},r=()=>{a=!1,s=!0,clearTimeout(e),e=setTimeout(()=>{s=!1},700)},o=()=>{s=!1,clearTimeout(e)};return f.on("pointerDown",n),f.on("pointerUp",r),f.on("settle",o),t=requestAnimationFrame(i),()=>{f.off("pointerDown",n),f.off("pointerUp",r),f.off("settle",o),clearTimeout(e),cancelAnimationFrame(t)}},[f,v]),(0,d.useEffect)(()=>{let e=w.current;if(!e||y)return;let l=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&(j(!0),l.disconnect())},{threshold:.1});return l.observe(e),()=>l.disconnect()},[y]),(0,a.jsxs)("section",{ref:w,id:null==x?void 0:x.BlockID,className:(0,r.cn)("library-slider-block relative overflow-x-clip",!(null==x?void 0:x.DisableBottomSpace)&&"mb-40 max-md:mb-16"),children:[(0,a.jsx)("div",{className:"mx-auto hidden px-32 max-lg:px-24 max-md-lg:px-8",children:(0,a.jsx)("div",{className:"h-px w-full bg-body-txt/10"})}),(0,a.jsx)(n.FN,{setApi:b,opts:{loop:!0,dragFree:!0,align:"start",direction:g?"rtl":"ltr"},className:"mt-40 w-full max-md:mt-20",children:(0,a.jsx)(n.Wk,{className:"h-[50rem] items-start overflow-visible max-md:h-[30rem]",parentClassName:"overflow-visible",children:t.map((e,l)=>{let t=c[l%c.length];return(0,a.jsx)(n.A7,{className:(0,r.cn)("relative basis-auto select-none pl-0 ps-0",t.box,t.offset,t.pull,"cursor-grab active:cursor-grabbing"),style:{zIndex:t.z},children:(0,a.jsx)("div",{"data-parallax":t.depth,className:(0,r.cn)("relative w-full overflow-hidden rounded-4xl bg-body-900 will-change-transform",t.ratio),children:(0,a.jsx)("button",{type:"button",className:"group block size-full","aria-label":p("Library"),onPointerDown:e=>{T.current={x:e.clientX,y:e.clientY}},onClick:e=>{let t=T.current;T.current=null,t&&(Math.abs(e.clientX-t.x)>6||Math.abs(e.clientY-t.y)>6)||(A(l),S(!0))},children:(0,a.jsxs)("div",{"data-parallax-inner":!0,className:"absolute inset-y-0 -start-[8%] w-[116%] will-change-transform",children:[(0,a.jsx)(o.default,{src:e.src,alt:"",width:800,height:940,className:"size-full select-none object-cover transition-transform duration-700 lg:group-hover:scale-[1.04]"}),e.vimeoId&&y?(0,a.jsx)("iframe",{src:"https://player.vimeo.com/video/".concat(e.vimeoId,"?background=1&autoplay=1&loop=1&muted=1&byline=0&title=0&dnt=1"),allow:"autoplay; fullscreen",title:"",loading:"lazy",style:{aspectRatio:e.ratio},className:"pointer-events-none absolute left-1/2 top-1/2 min-h-full min-w-full -translate-x-1/2 -translate-y-1/2 border-0"}):null]})})})},"library-slide-".concat(e.id))})})}),(0,a.jsx)(m.A,{items:k,index:C,onIndexChange:A,open:N,onOpenChange:S}),(null==u?void 0:u.Title)?(0,a.jsx)("div",{className:"mt-16 flex justify-center px-8",children:(0,a.jsx)(i.A,{href:h,target:u.Target||"_self",className:"min-w-72",children:u.Title.trim()})}):null]})}},49810:(e,l,t)=>{t.r(l),t.d(l,{default:()=>r});var a=t(95155);let s=[{featureType:"administrative",elementType:"labels.text.fill",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"labels.text.stroke",stylers:[{color:"#000000"}]},{featureType:"landscape",elementType:"all",stylers:[{visibility:"on"},{color:"#ffffff"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"all",stylers:[{visibility:"on"},{color:"#000000"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"}]},{featureType:"road",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"all",stylers:[{visibility:"off"}]}];var i=t(37911),n=t(15239);let r=e=>{let{block:l}=e,t=(0,i.n1)(),r={lat:Number(null==l?void 0:l.Latitude),lng:Number(null==l?void 0:l.Longitude)},o={lat:Number(null==l?void 0:l.Latitude),lng:Number(null==l?void 0:l.Longitude)};return t?(0,a.jsx)("div",{className:" text-black  h-[75vh] w-full",children:(0,a.jsx)(i.T5,{mapTypeId:google.maps.MapTypeId.ROADMAP,styles:s,defaultZoom:13,zoomControlOptions:{position:google.maps.ControlPosition.RIGHT_CENTER},defaultCenter:o,scrollwheel:!1,mapTypeControl:!1,streetViewControl:!1,scaleControl:!0,zoomControl:!0,children:(0,a.jsx)(i.J8,{position:r,title:"Maps",children:(0,a.jsx)(n.default,{src:"/images/marker.png",alt:"Marker Icon",width:25,height:25})})})}):null}},49864:(e,l,t)=>{t.d(l,{A:()=>s});var a=t(95155);let s=e=>(0,a.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,a.jsx)("path",{d:"M17.3078 10.0384L4.66969 10.0384L10.4747 15.8434L9.00007 17.3077L0.692382 8.99999L9.00007 0.692294L10.4643 2.15652L4.66969 7.96152L17.3078 7.96152L17.3078 10.0384Z",fill:"white"})})},50654:(e,l,t)=>{t.d(l,{default:()=>h});var a=t(95155),s=t(3903),i=t(3998),n=t(98933),r=t(14295),o=t(15239);let d=e=>{var l,t,d,m,c,u,x,h,p,g,v,f;let{data:b,className:w,classNames:y}=e,j=(0,s.s9)(),N=(0,s.useCurrentLocale)(),S=(null==b?void 0:b.Entity)||(null==b||null==(l=b.Story)?void 0:l.Entity)||(null==b||null==(t=b.Author)?void 0:t.entity)||null,C="en"===N?null==S?void 0:S.EntityName:(null==S?void 0:S.EntityName_ar)||(null==S?void 0:S.EntityName),A=C||(null==b||null==(d=b.Story)?void 0:d.WinnerName)||("en"===N?null==b||null==(m
1=b.Author)?void 0:m.full_name:(null==b||null==(c=b.Author)?void 0:c.full_name_ar)||(null==b||null==(u=b.Author)?void 0:u.full_name)),k=(null==S?void 0:S.EntityLogo)||(null==b||null==(x=b.Story)?void 0:x.WinnerImage);return(0,a.jsxs)("div",{className:(0,r.cn)("relative isolate flex h-full w-full select-none flex-col justify-between overflow-hidden rounded-6xl bg-body-500 pb-16 text-center text-body-txt max-md-lg:pb-12",w),children:[(0,a.jsx)(o.default,{src:"/images/award-card-bg-pattern-light.svg",width:588,height:468,alt:"",className:(0,r.cn)("pointer-events-none absolute left-1/2 top-[-15%] -z-10 h-[47rem] max-h-none w-[60rem] max-w-none -translate-x-1/2 object-cover [mask-image:linear-gradient(to_bottom,transparent_0%,#000_22%,#000_64%,transparent_100%)]",null==y?void 0:y.bgImage)}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:(0,r.cn)("relative mx-auto mt-[12%] aspect-[230/218] w-[48%]",null==y?void 0:y.logoBlock),children:k?(0,a.jsx)(o.default,{src:(0,r.Gf)(k),className:"object-contain",fill:!0,alt:C||"Entity Logo"}):null}),(0,a.jsx)("div",{className:"mx-auto mt-11 h-px w-56 max-w-[60%] bg-body-txt/10 max-md-lg:mt-8"})]}),(0,a.jsxs)("div",{className:"relative mx-auto mt-12 flex w-[88%] flex-col items-center gap-12 max-md-lg:gap-10",children:[(0,a.jsxs)("div",{className:"flex w-full flex-col items-center gap-6 [word-break:break-word]",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center gap-3",children:[A?(0,a.jsx)("div",{className:"text-1xl font-bold leading-[1.5] text-primary max-md-lg:text-xl",children:(0,n.oQ)(A)}):null,(null==b||null==(h=b.Story)?void 0:h.StoryTitle)?(0,a.jsx)("h3",{className:"line-clamp-3 text-balance text-[3.2rem] leading-[1.2] max-md-lg:text-[2.6rem] rtl:!leading-normal",children:(0,n.oQ)(null==b||null==(p=b.Story)?void 0:p.StoryTitle)}):null]}),(null==b||null==(g=b.AwardsSubcategory)?void 0:g.SubcategoryTitle)?(0,a.jsx)("div",{className:"small font-bold leading-[1.5] opacity-60",children:(0,n.oQ)(null==b||null==(v=b.AwardsSubcategory)?void 0:v.SubcategoryTitle)}):null]}),(0,a.jsx)(i.A,{href:"/community-stories/".concat(null==b||null==(f=b.Story)?void 0:f.id),className:"min-w-[14.5rem]",children:(0,n.oQ)(j("ReadStory"))})]})]})};var m=t(37808),c=t(93048),u=t(71700),x=t(53261);let h=e=>{var l,t;let{block:i,data:o}=e,{Title:h}=i||{},p=(0,s.useCurrentLocale)();(0,c.A)("(max-width: 640px)");let g=(null==o||null==(t=o.data)||null==(l=t.attributes)?void 0:l.awardWinners)||[],v=g.length>0&&g.length<4?[...g,...g]:g;return(null==v?void 0:v.length)===0?null:(0,a.jsx)(x.default,{className:"private-entities-award-winners mb-24 px-32 max-lg:px-24 max-md:mb-12 max-md:px-8",children:(0,a.jsxs)(m.FN,{opts:{direction:"ar"===p?"rtl":"ltr",dragFree:!0,align:"start",loop:!0},plugins:[(0,u.A)({delay:5e3})],className:"static mb-0 w-full [&_.carousel-content]:overflow-visible",children:[(0,a.jsxs)("div",{className:"relative mb-16 flex w-full justify-between gap-16 max-md:mb-8 max-sm:mb-8 max-sm:flex-col max-sm:gap-8 sm:items-center",children:[(0,a.jsx)("div",{className:"flex w-full flex-col gap-6",children:h?(0,a.jsx)("h2",{className:"w-full text-[3.2rem] leading-tight max-md:text-[2.4rem] rtl:!leading-snug",children:(0,n.oQ)(h)}):null}),(0,a.jsxs)("div",{className:"flex w-auto flex-row items-center gap-6 max-sm:hidden sm:justify-between",children:[(0,a.jsx)(m.Q8,{variant:"navLight",className:"prev static flex size-20 !translate-y-0 transform-none items-center justify-center rounded-full rtl:-scale-x-100",children:(0,a.jsx)("span",{className:"text-white",children:"←"})}),(0,a.jsx)(m.Oj,{variant:"navLight",className:"next static flex size-20 !translate-y-0 transform-none items-center justify-center rounded-full rtl:-scale-x-100",children:(0,a.jsx)("span",{className:"text-white",children:"→"})})]})]}),(0,a.jsx)(m.Wk,{className:"-ms-8 max-md-lg:-ms-4",children:null==v?void 0:v.map((e,l)=>(0,a.jsx)(m.A7,{className:(0,r.cn)("basis-1/2 ps-8 max-lg:basis-1/2 max-md-lg:basis-[60%] max-md-lg:ps-4 max-sm:basis-[95%]",(null==g?void 0:g.length)>2&&"lg:basis-[38.333333%]"),children:(0,a.jsx)(d,{data:e})},"award-winner-card-".concat(null==e?void 0:e.id)))})]})})}},50691:(e,l,t)=>{t.r(l),t.d(l,{default:()=>p});var a=t(95155),s=t(3903),i=t(12115);function n(e){let{className:l}=e,t=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=t.current;if(!e)return;let l=window.devicePixelRatio||1,a=Math.PI,s=Math.sqrt,i=Math.round,n=Math.random,r=Math.cos,o=Math.sin,d=window.requestAnimationFrame,m=window.cancelAnimationFrame,c=Date.now||(()=>new Date().getTime());var u=window;let x=c(),h=u.cancelAnimationFrame||u.webkitCancelAnimationFrame||u.clearTimeout;d=u.requestAnimationFrame||u.webkitRequestAnimationFrame||function(e){let l=c(),t=Math.max(0,16-(l-x)),a=window.setTimeout(()=>e(l),t);return x=l,a},m=e=>h.call(u,e);
1let p=a/180,g=[["#723100","#AD500B"],["#9F4400","#C46622"],["#723100","#C46622"],["#9F4400","#AD500B"]],v=Math.min(.2*window.innerWidth,620);function f(e){var l,t;return .5>n()?(l=v,0+n()*(l-0)):(t=e-v,t+n()*(e-t))}function b(e,l){this.x=e,this.y=l,this.Length=function(){return s(this.SqrLength())},this.SqrLength=function(){return this.x*this.x+this.y*this.y},this.Add=function(e){this.x+=e.x,this.y+=e.y},this.Sub=function(e){this.x-=e.x,this.y-=e.y},this.Div=function(e){this.x/=e,this.y/=e},this.Mul=function(e){this.x*=e,this.y*=e},this.Normalize=function(){let e=this.SqrLength();if(0!==e){let l=1/s(e);this.x*=l,this.y*=l}},this.Normalized=function(){let e=this.SqrLength();if(0!==e){let l=1/s(e);return new b(this.x*l,this.y*l)}return new b(0,0)}}function w(e,l,t,a){this.position=new b(e,l),this.mass=t,this.drag=a,this.force=new b(0,0),this.velocity=new b(0,0),this.AddForce=function(e){this.force.Add(e)},this.CurrentForce=function(){let e=new b(this.force.x,this.force.y),l=this.velocity.Length(),t=new b(this.velocity.x,this.velocity.y);return t.Mul(this.drag*this.mass*l),e.Sub(t),e},this.Integrate=function(e){let l=this.CurrentForce();l.Div(this.mass);let t=new b(this.velocity.x,this.velocity.y);t.Mul(e),this.position.Add(t),l.Mul(e),this.velocity.Add(l),this.force=new b(0,0)}}function y(e,t){this.wavePhase=n()*a*2,this.waveAmp=10*n()+4,this.waveFreq=2*n()+1.5,this.drift=8*n()-4,this.pos=new b(e,t),this.shape=.75>n()?0:2;let s=6*n()+6;this.w=s*(.6*n()+.8),this.h=s*(.6*n()+.8),this.rotationSpeed=600*n()+800,this.angle=p*n()*360,this.rotation=p*n()*360,this.cosA=1,this.oscillationSpeed=1.5*n()+.5,this.xSpeed=40,this.ySpeed=60*n()+50,this.time=n();let d=i(n()*(g.length-1));this.frontColor=g[d][0],this.backColor=g[d][1],this.Update=e=>{this.time+=e,this.rotation+=this.rotationSpeed*e,this.cosA=r(p*this.rotation),this.pos.x+=r(this.time*this.oscillationSpeed)*this.xSpeed*e,this.wavePhase+=e*this.waveFreq,this.pos.x+=o(this.wavePhase)*this.waveAmp*e,this.pos.x+=this.drift*e,this.pos.x<0&&(this.pos.x=0),this.pos.x>y.bounds.x&&(this.pos.x=y.bounds.x),this.pos.y+=this.ySpeed*e,this.pos.y>y.bounds.y&&(this.pos.x=f(y.bounds.x),this.pos.y=0)},this.Draw=e=>{e.fillStyle=this.cosA>0?this.frontColor:this.backColor;let t=.5*this.w,a=.5*this.h,s=r(this.angle),i=o(this.angle),n=this.cosA;function d(e,l){return{x:e*s-l*i,y:(e*i+l*s)*n}}if(e.beginPath(),2===this.shape){let s=d(0,-a),i=d(t,a),n=d(-t,a);e.moveTo((this.pos.x+s.x)*l,(this.pos.y+s.y)*l),e.lineTo((this.pos.x+i.x)*l,(this.pos.y+i.y)*l),e.lineTo((this.pos.x+n.x)*l,(this.pos.y+n.y)*l),e.closePath()}else{let s=d(-t,-a),i=d(t,-a),n=d(t,a),r=d(-t,a);e.moveTo((this.pos.x+s.x)*l,(this.pos.y+s.y)*l),e.lineTo((this.pos.x+i.x)*l,(this.pos.y+i.y)*l),e.lineTo((this.pos.x+n.x)*l,(this.pos.y+n.y)*l),e.lineTo((this.pos.x+r.x)*l,(this.pos.y+r.y)*l),e.closePath()}e.fill()}}function j(e,t,a,d,m,c,u,x){this.particleDist=d,this.particleCount=a,this.particleMass=u,this.particleDrag=x,this.particles=[];let h=i(n()*(g.length-1));this.frontColor=g[h][0],this.backColor=g[h][1],this.xOff=r(p*c)*m,this.yOff=o(p*c)*m,this.position=new b(e,t),this.prevPosition=new b(e,t),this.velocityInherit=2*n()+4,this.time=100*n(),this.oscillationSpeed=2*n()+2,this.oscillationDistance=40*n()+40,this.ySpeed=40*n()+80;for(let l=0;l<this.particleCount;l++)this.particles[l]=new w(e,t-l*this.particleDist,this.particleMass,this.particleDrag);this.Update=e=>{this.time+=e*this.oscillationSpeed,this.position.y+=this.ySpeed*e,this.position.x+=r(this.time)*this.oscillationDistance*e,this.particles[0].position=this.position;let l=this.prevPosition.x-this.position.x,t=this.prevPosition.y-this.position.y,a=s(l*l+t*t);this.prevPosition=new b(this.position.x,this.position.y);for(let l=1;l<this.particleCount;l++){let t=b.Sub(this.particles[l-1].position,this.particles[l].position);t.Normalize(),t.Mul(a/e*this.velocityInherit),this.particles[l].AddForce(t)}for(let l=1;l<this.particleCount;l++)this.particles[l].Integrate(e);for(let e=1;e<this.particleCount;e++){let l=new b(this.particles[e].position.x,this.particles[e].position.y);l.Sub(this.particles[e-1].position),l.Normalize(),l.Mul(this.particleDist),l.Add(this.particles[e-1].position),this.particles[e].position=l}this.position.y>j.bounds.y+this.particleDist*this.particleCount&&this.Reset()},this.Reset=()=>{this.position.y=-n()*j.bounds.y,this.position.x=f(j.bounds.x),this.prevPosition=new b(this.position.x,this.position.y),this.velocityInherit=2*n()+4,this.time=100*n(),this.oscillationSpeed=2*n()+1.5,this.oscillationDistance=40*n()+40,this.ySpeed=40*n()+80;let e=i(n()*(g.length-1));this.frontColor=g[e][0],this.backColor=g[e][1],this.particles=[];for(let e=0;e<this.particleCount;e++)this.particles[e]=new w(this.position.x,this.position.y-e*this.particleDist,this.particleMass,this.particleDrag)},this.Side=(e,l,t,a,s,i)=>(e-t)*(i-a)-(l-a)*(s-t),this.Draw=e=>{for(let t=0;t<this.particleCount-1;t++){let a=new b(this.particles[t].position.x+this.xOff,this.particles[t].position.y+this.yOff),s=new b(this.particles[t+1].position.x+this.xOff,this.particles[t+1].position.y+this.yOff);0>this.Side(this.particles[t].position.x,this.particles[t].position.y,this.particles[t+1].position.x,this.particles[t+1].position.y,s.x,s.y)?(e.fillStyle=this.frontColor,e.strokeStyle=this.frontColor):(e.fillStyle=this.backColor,e.strokeStyle=this.backColor),0===t?(e.beginPath(),e.moveTo(this.particles[t].position.x*l,this.particles[t].position.y*l),e.lineTo(this.particles[t+1].position.x*l,this.particles[t+1].position.y*l),e.lineTo((this.particles[t+1].position.x+s.x)*.5*l,(this.particles[t+1].position.y+s.y)*.5*l),e.closePath(),e.stroke(),e.fill(),e.beginPath(),e.moveTo(s.x*l,s.y*l),e.lineTo(a.x*l,a.y*l),e.lineTo((this.particles[t+1].position.x+s.x)*.5*l,(this.particles[t+1].position.y+s.y)*.5*l)):t===this.particleCount-2?(e.beginPath(),e.moveTo(this.particles[t].position.x*l,this.particles[t].position.y*l),e.lineTo(this.particles[t+1].position.x*l,this.particles[t+1].position.y*l),e.lineTo((this.particles[t].position.x+a.x)*.5*l,(this.particles[t].position.y+a.y)*.5*l),e.closePath(),e.stroke(),e.fill(),e.beginPath(),e.moveTo(s.x*l,s.y*l),e.lineTo(a.x*l,a.y*l),e.lineTo((this.particles[t].position.x+a.x)*.5*l,(this.particles[t].position.y+a.y)*.5*l)):(e.beginPath(),e.moveTo(this.particles[t].position.x*l,this.particles[t].position.y*l),e.lineTo(this.particles[t+1].position.x*l,this.particles[t+1].position.y*l),e.lineTo(s.x*l,s.y*l),e.lineTo(a.x*l,a.y*l)),e.closePath(),e.stroke(),e.fill()}}}b.Sub=function(e,l){return new b(e.x-l.x,e.y-l.y)},y.bounds=new b(0,0),j.bounds=new b(0,0);let N=e.parentElement;if(!N)return;let S=e.getContext("2d");if(!S)return;let C=N.offsetWidth,A=N.offsetHeight;e.width=C*l,e.height=A*l;let k=[],T=[];j.bounds=new b(C,A),y.bounds=new b(C,A);for(let e=0;e<0;e++)k[e]=new j(f(C),-n()*A*2,20,8,8,45,1,.05);for(let e=0;e<55;e++)T[e]=new y(f(C),n()*A);let z=null;function I(){var t,a;v=Math.min(.35*window.innerWidth,420),C=null!=(t=null==N?void 0:N.offsetWidth)?t:0,A=null!=(a=null==N?void 0:N.offsetHeight)?a:0,C&&A&&e&&(e.width=C*l,e.height=A*l,y.bounds=new b(C,A),j.bounds=new b(C,A))}return window.addEventListener("resize",I),!function l(){if(S&&e){S.clearRect(0,0,e.width,e.height);for(let e=0;e<55;e++)T[e].Update(.01),T[e].Draw(S);for(let e=0;e<0;
1e++)k[e].Update(.01),k[e].Draw(S);z=d(l)}}(),()=>{window.removeEventListener("resize",I),z&&m(z)}},[]),(0,a.jsx)("canvas",{ref:t,className:l,style:{position:"absolute",left:0,top:0,height:"100%",width:"100%",pointerEvents:"none"}})}var r=t(53261),o=t(33878),d=t(3998),m=t(93048),c=t(14295),u=t(16405),x=t(15239),h=t(98933);let p=e=>{var l,t,p,g,v,f;let{block:b,page:w}=e,{Title:y,SubTitle:j,WinnerName:N,WinnerImage:S,AboutWinnerLabel:C,AboutWinnerParaOne:A,AboutWinnerParaTwo:k,CTA:T}=b||{},z=(0,c.Oh)(null==w?void 0:w.ParentPage),I=(0,s.useCurrentLocale)(),_=[...z,{title:y}].filter(Boolean),L=(0,m.A)("(max-width: 640px)"),[R,M]=(0,i.useState)(!1);return(0,a.jsxs)(r.default,{className:"grand-award-winner-banner relative isolate mb-32 flex items-start gap-12 px-32 pt-72 max-lg:px-24 max-md-lg:px-8 max-md:pt-60 max-sm:mb-16 max-sm:flex-col max-sm:pt-48",children:[L?null:(0,a.jsx)(n,{className:(0,c.cn)("pointer-events-none z-10","ar"===I?"-translate-x-28 [clip-path:polygon(0_0,_50%_0,_50%_100%,_0_100%)]":"translate-x-28 [clip-path:polygon(50%_0,_100%_0,_100%_100%,_50%_100%)]")}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)(o.default,{className:(0,c.cn)("mb-20 max-sm:mb-12"),classNames:{link:"after:bg-white hover:opacity-80"},trail:_}),(0,a.jsx)("div",{className:"flex-1 sm:hidden",children:(null==S||null==(l=S.data)?void 0:l.attributes)?(0,a.jsx)(x.default,{src:(0,c.Gf)(S),width:740,height:740,alt:(null==S||null==(p=S.data)||null==(t=p.attributes)?void 0:t.alternativeText)||y,className:"block max-w-full object-contain object-bottom",unoptimized:!0}):null}),(0,a.jsx)("h1",{className:"mb-24 text-[2rem] leading-normal text-primary max-sm:mb-8 sm:text-[3.4rem] rtl:mb-20 rtl:!leading-none",children:(0,h.oQ)(y)}),j?(0,a.jsx)("p",{className:"h6 max-sm:small sm:mb-8",children:(0,h.oQ)(j)}):null,N?(0,a.jsx)("h3",{className:"mb-24 max-sm:mb-8 max-sm:text-[3rem]",children:(0,h.oQ)(N)}):null,C?(0,a.jsx)("p",{className:"mb-4 opacity-50 max-sm:small",children:(0,h.oQ)(C)}):null,(0,a.jsxs)("div",{className:"flex flex-col gap-12 max-sm:[&_p]:small max-sm:gap-8 sm:items-start",children:[A?(0,a.jsx)("div",{className:"flex flex-col gap-12 max-sm:gap-8",children:(0,u.Ay)(A)}):null,k?(0,a.jsxs)(a.Fragment,{children:[R&&(0,a.jsx)("div",{className:"flex flex-col gap-12 max-sm:gap-8",children:(0,u.Ay)(k)}),(0,a.jsx)(d.A,{onClick:()=>M(e=>!e),children:R?"en"===I?"Read Less":"اقرأ أقل":"en"===I?"Read More":"اقرأ المزيد"})]}):null]})]}),(0,a.jsx)("div",{className:"flex-1 max-sm:hidden",children:(null==S||null==(g=S.data)?void 0:g.attributes)?(0,a.jsx)(x.default,{src:(0,c.Gf)(S),width:740,height:740,alt:(null==S||null==(f=S.data)||null==(v=f.attributes)?void 0:v.alternativeText)||y,className:"block max-w-full object-contain object-bottom md-lg:translate-x-28 rtl:md-lg:-translate-x-28",unoptimized:!0}):null})]})}},50909:(e,l,t)=>{t(95155),t(12115),t(14295)},53096:(e,l,t)=>{t.r(l),t.d(l,{default:()=>g});var a=t(95155),s=t(53261),i=t(38833),n=t(3998),r=t(14295),o=t(91374),d=t(47605),m=t(55580),c=t(72378),u=t(65229),x=t(12115),h=t(98933);let p=e=>{var l,t,s;let{block:o,className:d,visited:m,setIsPopupOpen:x,setVisited:p,session:g}=e,{isPopup:v,Icon:f,Subtitle:b,Title:w,Button:y,Image:j}=o||{};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:(0,r.cn)("awards-participation mb-5 rounded-4xl bg-beige max-lg:p-4 md:mb-16",v&&"fixed bottom-16 end-16 z-50 !mb-0 w-full max-w-[37rem] bg-primary p-4 text-white max-sm:bottom-8 max-sm:end-0 max-sm:start-0 max-sm:mx-auto max-sm:max-w-[90%]",d),children:[v?(0,a.jsx)(u.A,{className:"absolute end-4 top-4 cursor-pointer",onClick:()=>{x&&(c.A.get("isAwardsVisited")?x(!1):(p&&p(!0),c.A.set("isAwardsVisited","true")))}}):null,(0,a.jsxs)("div",{className:(0,r.cn)("flex items-center gap-32 max-lg:gap-5",v&&"gap-4"),children:[(0,a.jsx)("div",{className:(0,r.cn)("h-auto w-[46rem]",v?"size-44 shrink-0 object-contain":"max-lg:w-[29.3rem]"),children:(null==f||null==(l=f.data)?void 0:l.attributes)&&(0,a.jsx)(i.A,{imageSize:"medium",width:670,height:670,image:f,alternativeText:(null==f||null==(s=f.data)||null==(t=s.attributes)?void 0:t.alternativeText)||"Icon",className:"!overflow-visible [&_img]:object-contain"})}),(0,a.jsxs)("div",{className:(0,r.cn)("flex flex-col gap-8 py-12 max-lg:gap-5",v&&"gap-4 py-8"),children:[(0,a.jsx)("h2",{className:(0,r.cn)("text-[4rem] leading-[4rem] max-lg:h4 max-lg:leading-8 max-md:text-[15px] lg:max-w-[46rem] rtl:!leading-relaxed",v&&"text-[1.8rem] leading-tight"),children:(0,h.oQ)(w)}),(0,a.jsx)("p",{className:(0,r.cn)("p opacity-70 max-lg:leading-6 max-md:text-[10px]",v&&"text-[1.2rem] leading-tight"),children:(0,h.oQ)(b)}),v?null:(0,a.jsx)(n.A,{href:null==y?void 0:y.URL,className:"w-max max-lg:hidden",children:(0,h.oQ)(null==y?void 0:y.Title)})]})]}),v?(0,a.jsx)(n.A,{href:null==y?void 0:y.URL,className:"w-full bg-white !text-black lg:hover:!text-white",children:(0,h.oQ)(null==y?void 0:y.Title)}):null]}),v?null:(0,a.jsx)(n.A,{href:null==y?void 0:y.URL,className:"mt-4 w-full !p-4 lg:hidden",children:(0,h.oQ)(null==y?void 0:y.Title)})]})},g=e=>{var l,t,n,r;let{block:u,session:h}=e,{isPopup:g,Icon:v,IsDisabled:f,Entities:b}=u||{},[w,y]=(0,x.useState)(!1),[j,N]=(0,x.useState)(!0),[S,C]=(0,x.useState)(!0),[A,k]=(0,x.useState)(!1),T=null==h||null==(l=h.user)?void 0:l.entity;return((0,x.useLayoutEffect)(()=>{d.os.registerPlugin(m.u)},[]),(0,x.useEffect)(()=>{c.A.get("isAwardsVisited");let e=(()=>{let e=m.u.create({start:"top+=2% top",endTrigger:document.body,end:"bottom top",onEnter:()=>{k(!0),e.kill()},onLeaveBack:()=>k(!1)});return e})();return()=>{e.kill()}},[]),!f&&(null==b?void 0:b.data)&&T&&!b.data.some(e=>e.id===T.id))?null:g?(0,a.jsx)(a.Fragment,{children:j?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(o.P.div,{initial:{opacity:0}
1,animate:{opacity:+!!A},exit:{opacity:0},transition:{duration:.3},className:"relative z-50",children:(0,a.jsx)(p,{block:u,setIsPopupOpen:N,setVisited:C,visited:S,session:h})},"awards-modal")}):(0,a.jsx)("div",{className:"fixed bottom-16 end-16 z-50 flex size-32 cursor-pointer items-center justify-center rounded-full bg-primary text-white",onClick:()=>N(!0),children:(null==v||null==(t=v.data)?void 0:t.attributes)&&(0,a.jsx)(i.A,{className:"object-contain",imageSize:"medium",width:80,height:80,image:v,alternativeText:(null==v||null==(r=v.data)||null==(n=r.attributes)?void 0:n.alternativeText)||"Icon"})})}):(0,a.jsx)(s.default,{className:"awards-section max-lg:mb-16",children:(0,a.jsx)(p,{block:u,session:h})})}},53261:(e,l,t)=>{t.r(l),t.d(l,{default:()=>r});var a=t(95155),s=t(74570),i=t(91374),n=t(12115);let r=e=>{let{id:l,className:t,children:r,...o}=e,d=(0,n.useRef)(null),m=(0,s.W)(d,{once:!0,margin:"-25%"});return(0,a.jsx)(i.P.section,{id:l,className:t,variants:{initial:{opacity:0,y:0},enter:()=>({y:"0",opacity:1,transition:{ease:"easeOut",duration:.8}})},initial:"initial",animate:m?"enter":"",ref:d,...o,children:r})}},54344:(e,l,t)=>{t.r(l),t.d(l,{default:()=>f});var a=t(95155),s=t(3903),i=t(14295),n=t(1835),r=t(67909),o=t(3998),d=t(23495),m=t(98933);function c(e){var l,t,r,c,u;let{data:x,isActive:h}=e,p=(0,s.useCurrentLocale)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{style:{background:"linear-gradient(180deg, var(--color-primary, #C36520) 0%, transparent 100%)",opacity:+!!h},className:"absolute left-0 top-0 size-full transition-all duration-300 [border-radius:13.5rem_13.5rem_1.6rem_1.6rem]"}),(0,a.jsx)("div",{className:"relative z-10 overflow-hidden bg-black [border-radius:13.5rem_13.5rem_1.6rem_1.6rem]",style:{width:"calc(100% - 1rem)",height:"calc(100% - 1rem)",background:"flex cursor-pointer items-center gap-3 text-2xl font-medium leading-6 transition-all duration-500 max-al:translate-y-[-1px] max-al:text-white al:hover:text-primary rtl:font-bold undefined font-merriweather"},children:(0,a.jsx)(d.A,{VideoURL:null==x||null==(l=x.MediaFiles)?void 0:l.VideoURL,image:null==x||null==(t=x.MediaFiles)?void 0:t.Image,videoOptions:{videoClassName:"scale-150"}})}),(0,a.jsx)(o.A,{variant:h?"primary":"transparent",href:"/awards/".concat(null==x||null==(u=x.AwardsCategory)||null==(c=u.data)||null==(r=c.attributes)?void 0:r.CategorySlug,"/").concat(null==x?void 0:x.SubcategorySlug),className:(0,i.cn)("px-7 py-4 opacity-100","absolute bottom-12 end-4 start-4 z-20 max-w-full",!h&&"border-white text-white"),children:(0,a.jsxs)(n.Ay,{duration:15,direction:"en"===p?n.Z9:n.Ql,children:[(0,a.jsx)("span",{children:(0,m.oQ)(null==x?void 0:x.SubcategoryTitle)}),(0,a.jsx)("span",{className:"px-2",children:"•"}),(0,a.jsx)("span",{children:(0,m.oQ)(null==x?void 0:x.SubcategoryTitle)}),(0,a.jsx)("span",{className:"px-2",children:"•"})]})})]})}(0,r.default)(()=>Promise.resolve().then(t.bind(t,19859)),{loadableGenerated:{webpack:()=>[19859]},ssr:!1});var u=t(51834),x=t(12115);t(74062),t(80878);var h=t(67262),p=t(74551),g=t(53261),v=t(49864);let f=e=>{var l,t,s,n,r,f,b,w,y,j,N,S,C,A,k,T,z,I,_;let{block:L}=e,[R,M]=(0,x.useState)(0),[Q,E]=(0,x.useState)(!1),P=(0,x.useRef)(null),D=(0,x.useRef)(null);return(0,x.useEffect)(()=>(document.querySelectorAll("body").forEach(e=>{e.classList.add("has-awards-banner")}),()=>{document.querySelectorAll("body").forEach(e=>{e.classList.remove("has-awards-banner")})}),[]),(0,a.jsxs)(g.default,{className:"relative",children:[(0,a.jsxs)("div",{className:"awards-category-banner relative isolate mb-40 flex min-h-screen flex-col gap-16 overflow-hidden px-32 py-72 max-lg:px-24 max-md-lg:px-8 max-md:pt-60 md:mb-20 md:flex-row md:pb-0",children:[(0,a.jsxs)("div",{className:"absolute start-0 top-0 -z-10 size-full overflow-hidden bg-gray",children:[(0,a.jsx)("div",{style:{position:"absolute",inset:0,pointerEvents:"none",zIndex:1,background:"linear-gradient(180deg, #000000 0%, rgba(0,0,0,0) 22.39%),linear-gradient(90deg, rgba(0,0,0,0.5) 24.41%, rgba(0,0,0,0) 50%),linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25))"}}),(0,a.jsx)(p.RC,{modules:[h.Vx,h.xI,h._R],onSwiper:e=>{D.current=e},effect:"fade",spaceBetween:0,slidesPerView:1,style:{width:"100%",height:"100%",position:"absolute",inset:0,zIndex:0,overflowX:"hidden"},speed:1e3,allowTouchMove:!1,children:null==L||null==(l=L.SubCategoryList)?void 0:l.map((e,l)=>{var t,s;let{SubCategory:{data:{attributes:i}}}=e;return(0,a.jsx)(p.qr,{style:{width:"100%",height:"100%"},children:(0,a.jsx)(d.A,{VideoURL:null==i||null==(t=i.MediaFiles)?void 0:t.VideoURL,image:null==i||null==(s=i.MediaFiles)?void 0:s.Image,videoOptions:{videoClassName:"pointer-events-none scale-150"}})},l)})})]}),(0,a.jsxs)("div",{className:"z-10 flex w-full flex-col items-center gap-5 text-center text-white md:w-1/2 md:items-start md:text-start",children:[(0,a.jsx)("h1",{className:"mb-5 whitespace-pre-line",children:(0,m.oQ)(null==L?void 0:L.Title)}),(0,a.jsx)("p",{className:"text-[2rem] opacity-100 md:whitespace-pre-line",children:(0,m.oQ)(null==L?void 0:L.SubTitle)}),(0,a.jsx)("p",{className:"opacity-80 md:whitespace-pre-line",children:(0,m.oQ)(null==L?void 0:L.Description)}),(0,a.jsxs)("div",{className:"mt-8 flex items-center justify-center gap-6 md:justify-start",children:[(null==L?void 0:L.ParticipateButton)?(0,a.jsx)(o.A,{href:null==L||null==(t=L.ParticipateButton)?void 0:t.URL,target:null==L||null==(s=L.ParticipateButton)?void 0:s.Target,children:(0,m.oQ)(null==L||null==(n=L.ParticipateButton)?void 0:n.Title)}):null,(0,a.jsx)(o.A,{variant:"transparent",className:"border-white text-white",onClick:()=>E(!0),children:(0,m.oQ)(null==L?void 0:L.WatchButtonTitle)})]})]}),(0,a.jsxs)("div",{className:"relative flex w-full flex-col items-center gap-4 md:w-1/2 md:items-end",children:[(0,a.jsx)(p.RC,{modules:[h.Vx,h.xI],controller:{control:D.current},spaceBetween:33,slidesPerView:"auto",style:{width:"100%",overflow:"visible",height:"38rem"},speed:500,onSwiper:e=>{P.current=e},onSlideChange:e=>{M(e.activeIndex)},centeredSlides:!0,breakpoints:{767:{centeredSlides:!1}},children:null==L||null==(r=L.SubCategoryList)?void 0:r.map((e,l)=>{var t,s;return(0,a.jsx)(p.qr,{style:{width:"27rem",height:"36rem"},children:(0,a.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"13.5rem 13.5rem 1.6rem 1.6rem",boxShadow:"0px 4px 64px 0px #000000A6",transition:"500ms all ease-in-out",opacity:l<R?"".concat(.8-Math.max(0,(R-l)*.2)):1},className:(0,i.cn)("size-full !overflow-visible ".concat(l<R?"!scale-90 !shadow-none blur-sm":""," ")),children:(0,a.jsx)(c,{data:{src:"https://player.vimeo.com/external/1073351745.m3u8?s=50991f6f305a3567fc15c5ca6882a277d14f9089&logging=false",...null==e||null==(s=e.SubCategory)||null==(t=s.data)?void 0:t.attributes,...(null==e?void 0:e.TitleOverride)?{SubcategoryTitle:null==e?void 0:e.TitleOverride}:{}},isActive:l===R})})},l)})}),(0,a.jsxs)("div",{className:"flex items-center gap-6",children:[(0,a.jsx)("button",{onClick:()=>{P.current&&P.current.slidePrev()},className:"z-20 flex size-[5.4rem] cursor-pointer items-center justify-center rounded-full border border-white","aria-label":"Previous Slide",type:"button",children:(0,a.jsx)(v.A,{className:"rtl:-scale-x-100"})}),(0,a.jsx)("button",{onClick:()=>{P.current&&P.current.slideNext()}
1,className:"z-20 flex size-[5.4rem] rotate-180 cursor-pointer items-center justify-center rounded-full border border-white","aria-label":"Next Slide",type:"button",children:(0,a.jsx)(v.A,{className:"rtl:-scale-x-100"})})]})]}),(0,a.jsx)(u.lG,{open:Q,onOpenChange:E,children:(0,a.jsxs)(u.Cf,{className:"!size-full max-h-[90%] max-w-[90%] gap-0 !p-0",children:[(0,a.jsx)(d.A,{VideoURL:null==L||null==(N=L.SubCategoryList)||null==(j=N[R])||null==(y=j.SubCategory)||null==(w=y.data)||null==(b=w.attributes)||null==(f=b.MediaFiles)?void 0:f.VideoURL,image:null==L||null==(z=L.SubCategoryList)||null==(T=z[R])||null==(k=T.SubCategory)||null==(A=k.data)||null==(C=A.attributes)||null==(S=C.MediaFiles)?void 0:S.Image,videoOptions:{muted:!1,loop:!1,controls:!0,videoClassName:"!object-contain !w-auto mx-auto",imageClassName:"!object-contain"}}),(0,a.jsx)(u.HM,{className:"absolute end-0 top-0 !outline-none"})]})})]}),(0,a.jsx)("svg",{width:"465",height:"72",viewBox:"0 0 465 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"rtl:start-none pointer-events-none absolute -bottom-1 start-1/2 z-10 -translate-x-1/2 rtl:end-1/2 rtl:translate-x-1/2",children:(0,a.jsx)("path",{d:"M232.5 0C102.688 0 131.75 72 0 72H465C339.062 72 362.312 0 232.5 0Z",fill:"#FAF6EA"})}),(0,a.jsx)("img",{src:(null==L||null==(_=L.TrophyImage)||null==(I=_.data)?void 0:I.attributes)?(0,i.Gf)(null==L?void 0:L.TrophyImage):"/images/awards-banner-ic.png",alt:"",className:"rtl:start-none absolute -bottom-28 start-1/2 z-20 h-auto w-[28rem] -translate-x-1/2 max-sm:w-80 rtl:end-1/2 rtl:translate-x-1/2"})]})}},55986:(e,l,t)=>{t.d(l,{default:()=>m});var a=t(95155),s=t(3903),i=t(53261),n=t(38383),r=t(37808),o=t(71700),d=t(98933);let m=e=>{var l,t;let{block:m,data:c}=e,{Title:u}=m||{},x=(0,s.useCurrentLocale)(),h=(null==c||null==(t=c.data)||null==(l=t.attributes)?void 0:l.awardWinners)||[];return(null==h?void 0:h.length)===0?null:(0,a.jsx)(i.default,{className:"community-award-winners mb-24 px-32 max-lg:px-24 max-md:mb-12 max-md:px-8",children:(0,a.jsxs)(r.FN,{opts:{direction:"ar"===x?"rtl":"ltr",dragFree:!0,align:"start",loop:!0},plugins:[(0,o.A)({delay:5e3})],className:"static mb-0 w-full [&_.carousel-content]:overflow-visible",children:[(0,a.jsxs)("div",{className:"relative mb-16 flex w-full justify-between gap-16 max-md:mb-8 max-sm:mb-8 max-sm:flex-col max-sm:gap-8 sm:items-center",children:[(0,a.jsx)("div",{className:"flex w-full flex-col gap-6",children:u?(0,a.jsx)("h2",{className:"w-full text-[3.2rem] leading-tight max-md:text-[2.4rem] rtl:!leading-snug",children:(0,d.oQ)(u)}):null}),(0,a.jsxs)("div",{className:"flex w-auto flex-row items-center gap-6 max-sm:hidden sm:justify-between",children:[(0,a.jsx)(r.Q8,{variant:"navLight",className:"prev static flex size-20 !translate-y-0 transform-none items-center justify-center rounded-full rtl:-scale-x-100",children:(0,a.jsx)("span",{className:"text-white",children:"←"})}),(0,a.jsx)(r.Oj,{variant:"navLight",className:"next static flex size-20 !translate-y-0 transform-none items-center justify-center rounded-full rtl:-scale-x-100",children:(0,a.jsx)("span",{className:"text-white",children:"→"})})]})]}),(0,a.jsx)(r.Wk,{className:"-ms-8 max-md-lg:-ms-4",children:null==h?void 0:h.map((e,l)=>(0,a.jsx)(r.A7,{className:"basis-[38.333333%] ps-8 max-lg:basis-1/2 max-md-lg:basis-[60%] max-md-lg:ps-4 max-sm:basis-[95%]",children:(0,a.jsx)(n.A,{data:e})},"award-winner-card-".concat(null==e?void 0:e.id)))})]})})}},58442:(e,l,t)=>{t.d(l,{default:()=>u});var a=t(95155),s=t(53261),i=t(33878),n=t(43485),r=t(3998),o=t(98933),d=t(14295),m=t(15239),c=t(12115);let u=e=>{var l,t,u,x,h,p,g,v;let{block:f,page:b,data:w}=e,{Title:y,StoryName:j,StoryDescription:N,BackgroundImage:S,CTA:C,CTA_Two:A,SectionDetails:k}=f||{},T=(null==w||null==(u=w.data)||null==(t=u.attributes)||null==(l=t.awardWinners)?void 0:l[0])||{},z=(null==T||null==(x=T.Story)?void 0:x.WinnerImage)||(null==T||null==(h=T.Story)?void 0:h.CoverStory),I=[...(0,d.Oh)(null==b?void 0:b.ParentPage),{title:null!=(v=null!=(g=null==b?void 0:b.PageTitle)?g:y)?v:j}].filter(Boolean);if((0,c.useEffect)(()=>{let e=document.querySelectorAll("body");
1return e.forEach(e=>{e.classList.add("has-awards-banner")}),()=>{e.forEach(e=>{e.classList.remove("has-awards-banner")})}},[]),!y&&!j&&!N&&!C&&!A)return null;let _=z?(0,d.Gf)(z):null;return(0,a.jsxs)(s.default,{className:"awards-winner-block relative isolate",children:[(null==k?void 0:k.BlockID)?(0,a.jsx)(n.A,{id:k.BlockID}):null,(0,a.jsxs)("div",{className:(0,d.cn)("awards-winner-block-inner relative isolate flex flex-col overflow-hidden bg-body-txt px-32 pt-64 text-white lg:h-screen","max-lg:px-24 max-md-lg:px-8 max-md:min-h-[70rem] max-md:gap-12 max-md:pt-48","max-sm:min-h-[60rem] max-sm:pt-48","md:rounded-b-[3rem]",(null==k?void 0:k.DisableBottomSpace)?"mb-0":"mb-40 max-md:mb-16"),children:[(null==S||null==(p=S.data)?void 0:p.attributes)?(0,a.jsx)(m.default,{src:(0,d.Gf)(S),alt:(0,d.fr)(S,y||j||"Awards Banner Background"),fill:!0,className:"pointer-events-none absolute inset-0 -z-20 object-cover object-bottom rtl:-scale-x-100",unoptimized:!0,priority:!0}):null,(0,a.jsx)(i.default,{className:(0,d.cn)("relative z-10 [&_.text-breadcrumb]:text-white [&_a]:!text-white/50 [&_li]:opacity-100"),classNames:{link:"after:bg-white hover:opacity-80"},trail:I}),(0,a.jsxs)("div",{className:"relative z-10 flex min-h-0 w-full flex-1 items-end justify-between gap-16 max-lg:gap-12 max-md:flex-col max-md:items-center max-md:gap-4",children:[(0,a.jsxs)("div",{className:"flex w-full flex-col items-start gap-16 pb-24 max-md:max-w-full max-md:gap-6 max-md:pb-0",children:[(0,a.jsxs)("div",{className:"flex w-full max-w-[65rem] flex-col items-start gap-8",children:[y?(0,a.jsx)("p",{className:"h4 font-merriweather font-bold text-primary max-sm:small",children:(0,o.oQ)(y)}):null,(0,a.jsxs)("div",{className:"flex w-full flex-col items-start gap-6 max-md:items-center",children:[j?(0,a.jsx)("h1",{className:"h2 whitespace-pre-line text-white max-sm:!text-[3.2rem] max-sm:!leading-none rtl:!leading-tight",children:(0,o.oQ)(j)}):null,N?(0,a.jsx)("p",{className:"whitespace-pre-line text-white/80 max-sm:small max-sm:hidden",children:(0,o.oQ)(N)}):null]})]}),(null==C?void 0:C.Title)||(null==A?void 0:A.Title)?(0,a.jsxs)("div",{className:"flex flex-row flex-wrap items-center gap-6 max-sm:gap-5",children:[(null==C?void 0:C.Title)?(0,a.jsx)(r.A,{href:C.URL||void 0,target:C.Target||"_self",variant:"transparent",className:"border-white text-white max-sm:min-w-56",children:(0,o.oQ)(C.Title)}):null,(null==A?void 0:A.Title)?(0,a.jsx)(r.A,{href:A.URL||void 0,target:A.Target||"_self",children:(0,o.oQ)(A.Title)}):null]}):null]}),_?(0,a.jsx)("div",{className:"flex h-full max-h-full shrink-0 items-end self-stretch max-md:mx-auto",children:(0,a.jsx)(m.default,{src:_,alt:(0,d.fr)(z,j||y||"Story Cover"),width:590,height:700,className:"size-auto max-w-[40.972vw] object-contain max-sm:max-w-96 sm:max-h-[min(48.611vw,100%)]",unoptimized:!0,priority:!0})}):null]})]})]})}},61424:(e,l,t)=>{t.d(l,{default:()=>b});var a=t(95155),s=t(53261),i=t(43485),n=t(3998),r=t(98933),o=t(14295),d=t(16405),m=t(67909),c=t(15239),u=t(3903),x=t(3495),h=t(89677),p=t(7915);let g=e=>{let{className:l}=e,t=(0,u.s9)(),{awardsOpeningDate:s}=(0,x.n)(),i=(0,p.L)(s);return i?(0,a.jsxs)("div",{className:(0,o.cn)("flex flex-col items-start gap-2",l),children:[(0,a.jsx)("div",{className:"text-base font-bold",children:t("SubmissionsOpenUntil")}),(0,a.jsx)(h.A,{size:"sm",remaining:i,labels:{days:t("Days"),hours:t("Hours"),minutes:t("Minutes"),seconds:t("Seconds")},labelClassName:"text-body-txt/60"})]}):null},v=(0,m.default)(()=>Promise.all([t.e(9066),t.e(9103),t.e(1956)]).then(t.bind(t,81956)),{loadableGenerated:{webpack:()=>[81956]},ssr:!1}),f=e=>{var l;let{item:t,featured:s,className:i,children:d}=e;return(0,a.jsxs)("div",{className:(0,o.cn)("test relative flex flex-col justify-center rounded-4xl px-24 pb-20 pt-48 transition-[height] duration-500 ease-out max-lg:p-16 max-md-lg:gap-4 max-md-lg:p-16 max-sm:p-10","md-lg:absolute md-lg:inset-y-0 md-lg:my-auto md-lg:h-[46.9rem] md-lg:w-1/2 md-lg:hover:z-20 md-lg:hover:h-[49.8rem]",s?"bg-body-600 md-lg:end-0 md-lg:z-10":"bg-body-700 md-lg:start-0",i),children:[d,(0,a.jsxs)("div",{className:"flex w-full flex-col items-start justify-between gap-6 max-md-lg:gap-10 md-lg:min-h-[30.4rem] md-lg:shrink-0 lg:max-w-xl",children:[(0,a.jsxs)("div",{className:"flex w-full flex-col items-start gap-6 max-lg:gap-4",children:[(null==t?void 0:t.Title)?(0,a.jsx)("h3",{className:"h3 whitespace-pre-line text-body-txt max-lg:!text-[3.2rem] max-lg:!leading-none rtl:!leading-tight",children:(0,r.oQ)(t.Title)}):null,(null==t?void 0:t.Description)?(0,a.jsx)("p",{className:"whitespace-pre-line text-pretty opacity-80 max-lg:small max-lg:leading-normal",children:(0,r.oQ)(t.Description)}):null]}),(null==t||null==(l=t.CTA)?void 0:l.Title)?(0,a.jsx)(n.A,{href:t.CTA.URL||void 0,target:t.CTA.Target||"_self",variant:s?"primary":"transparent",className:(0,o.cn)("h-[5.4rem] px-14 font-bold max-lg:w-full","mt-auto",!s&&"border-primary text-primary"),children:(0,r.oQ)(t.CTA.Title)}):null]})]})},b=e=>{let{block:l}
1=e,{AwardList:t,SectionDetails:n,TrophyImage:m,EnableTrophyAnimation:u,Title:x,SubTitle:h}=l||{},p=(t||[]).slice(0,2);if(!p.length)return null;let b=p[p.length-1],w=p.length>1?p[0]:null,y=m?(0,o.Gf)(m):null,j=(0,o.fr)(m,(null==b?void 0:b.Title)||"Award"),N=y?u?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(v,{className:"absolute inset-0"})}):(0,a.jsx)(c.default,{src:y,alt:j,fill:!0,unoptimized:!0,className:"object-contain",sizes:"(max-width: 1024px) 60vw, 339px"}):null;return(0,a.jsxs)(s.default,{className:(0,o.cn)("award-list-block px-16 py-[2rem] max-lg:px-8",!(null==n?void 0:n.DisableBottomSpace)&&"mb-24 max-md:mb-12"),children:[(null==n?void 0:n.BlockID)?(0,a.jsx)(i.A,{id:n.BlockID}):null,x||h?(0,a.jsxs)("div",{className:"mb-40 flex flex-col items-center gap-8 max-md-lg:mb-16 max-sm:mb-10",children:[x?(0,a.jsx)("h2",{className:"p uppercase tracking-wider text-primary",children:(0,r.oQ)(x)}):null,h?(0,a.jsx)("div",{className:"h2 text-center max-sm:text-[3.2rem] [&_*]:!mb-0 [&_*]:!text-[length:inherit] [&_*]:!font-normal [&_*]:!leading-[inherit]",children:(0,d.Ay)(h)}):null]}):null,(0,a.jsxs)("div",{className:"relative flex w-full flex-col gap-2 md-lg:-mt-16 md-lg:block md-lg:h-[50rem]",children:[w?(0,a.jsx)(f,{item:w,className:"max-lg:pe-40 md-lg:pe-16"}):null,(0,a.jsxs)(f,{item:b,featured:!0,className:(0,o.cn)("ps-80 max-lg:ps-40 md-lg:ps-80 rtl:md-lg:ps-96"),children:[(0,a.jsx)(g,{className:"max-lg:mb-4 sm:ms-auto md-lg:absolute md-lg:end-6 md-lg:top-6 lg:end-10 lg:top-10 rtl:md-lg:left-6 rtl:lg:left-10"}),w||!y?null:(0,a.jsx)("div",{className:"pointer-events-none relative mx-auto mb-4 aspect-[339/398] w-[58%] max-w-md lg:absolute lg:inset-y-0 lg:end-[4%] lg:my-auto lg:mb-0 lg:h-[90.7%] lg:w-auto lg:max-w-none",children:N})]}),w&&y?(0,a.jsx)("div",{className:(0,o.cn)("pointer-events-none absolute start-1/2 top-1/2 z-30 hidden aspect-[403/473] -translate-x-1/2 -translate-y-1/2 md-lg:block rtl:translate-x-1/2",u?"h-[57.3rem]":"h-[47.3rem]"),children:N}):null]})]})}},62626:(e,l,t)=>{t.d(l,{default:()=>p});var a=t(95155),s=t(3903),i=t(53261),n=t(3495),r=t(33878),o=t(89677),d=t(55454),m=t(7915),c=t(98933),u=t(14295),x=t(16405),h=t(12115);let p=e=>{var l,t,p;let{block:g,page:v}=e,f=(0,s.s9)(),{awardsOpeningDate:b}=(0,n.n)(),w=(0,m.L)(b),y=(0,u.Oh)(null==v?void 0:v.ParentPage),j=null!=(t=null==g?void 0:g.Title)?t:null==v?void 0:v.PageTitle,N=[...y,{title:null!=(p=null==v?void 0:v.PageTitle)?p:j}].filter(Boolean),S={days:f("Days"),hours:f("Hours"),minutes:f("Minutes"),seconds:f("Seconds")};(0,h.useEffect)(()=>{let e=document.querySelectorAll("body");return e.forEach(e=>{e.classList.add("has-awards-banner")}),()=>{e.forEach(e=>{e.classList.remove("has-awards-banner")})}},[]);let C=null==g?void 0:g.Media;return(0,a.jsxs)(i.default,{className:(0,u.cn)("countdown-banner relative isolate flex min-h-[88rem] flex-col items-center justify-between gap-24 overflow-hidden rounded-b-6xl px-32 pb-24 pt-96 text-center text-white","max-lg:px-24 max-md-lg:px-8 max-md:min-h-[70rem] max-md:gap-16 max-md:pb-16 max-md:pt-60","max-sm:min-h-screen max-sm:justify-end max-sm:gap-16 max-sm:rounded-b-[3rem] max-sm:px-8 max-sm:pb-12 max-sm:pt-48",(null==g||null==(l=g.SectionDetails)?void 0:l.DisableBottomSpace)?"mb-0":"mb-16 md:mb-32"),children:[(0,a.jsxs)("div",{className:"absolute inset-0 -z-10 overflow-hidden bg-body-txt",children:[(0,a.jsx)(d.A,{media:{Image:null==C?void 0:C.Image,VideoUrl:null==C?void 0:C.VideoURL},alt:j||"Countdown Banner",className:"size-full",imageClassName:"size-full",videoClassName:"size-full"}),(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-black/40"}),(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0",style:{background:"linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 35%, rgba(0,0,0,0.45) 70%, rgba(0,0,0,0.65) 100%)"}})]}),(0,a.jsxs)("div",{className:"relative z-10 mx-auto flex w-full max-w-[70rem] flex-col items-center gap-32 max-sm:max-w-none max-sm:gap-16",children:[(0,a.jsxs)("div",{className:"flex w-full flex-col items-center gap-8 max-sm:gap-8",children:[(0,a.jsx)(r.default,{className:(0,u.cn)("hidden [&_.text-breadcrumb]:text-white [&_a]:!text-white/50 [&_li]:opacity-100 [&_ul]:mx-auto [&_ul]:justify-center"),classNames:{link:"after:bg-white hover:opacity-80"},trail:N}),j?(0,a.jsx)("h1",{className:"whitespace-pre-line text-balance text-[6.6rem] font-normal leading-none text-white max-md:text-[4.8rem] max-sm:text-[3.2rem] rtl:!leading-tight",children:(0,c.oQ)(j)}):null]}
1),((null==g?void 0:g.Subtitle)||b)&&(0,a.jsxs)("div",{className:"relative z-10 flex w-full max-w-[43.3rem] flex-col items-center gap-8 max-sm:max-w-lg max-sm:gap-8",children:[(null==g?void 0:g.Subtitle)?(0,a.jsx)("p",{className:"text-balance text-[1.8rem] leading-[1.1] text-white opacity-100 max-sm:text-xl max-sm:leading-normal",children:(0,c.oQ)(g.Subtitle)}):null,w?(0,a.jsx)(o.A,{remaining:w,labels:S,className:"w-full"}):null]})]}),(null==g?void 0:g.Content)?(0,a.jsxs)("div",{className:"relative z-10 flex w-full flex-col items-center sm:mt-auto",children:[(0,a.jsx)("div",{className:"h-px w-full max-w-[128rem] bg-white/30"}),(0,a.jsx)("div",{className:"mt-24 max-w-[67.5rem] text-1xl leading-[1.6] text-white opacity-80 max-sm:mt-12 max-sm:max-w-none max-sm:text-xl [&_p]:text-balance [&_p]:opacity-100",children:(0,x.Ay)(g.Content)})]}):null]})}},68725:(e,l,t)=>{t.d(l,{BE:()=>u,Uz:()=>o,_s:()=>r,gk:()=>x,zj:()=>c});var a=t(95155),s=t(12115),i=t(83161),n=t(14295);let r=e=>{let{shouldScaleBackground:l=!0,...t}=e;return(0,a.jsx)(i._s.Root,{shouldScaleBackground:l,...t})};r.displayName="Drawer";let o=i._s.Trigger,d=i._s.Portal;i._s.Close;let m=s.forwardRef((e,l)=>{let{className:t,...s}=e;return(0,a.jsx)(i._s.Overlay,{ref:l,className:(0,n.cn)("fixed inset-0 z-[99] bg-black/80",t),...s})});m.displayName=i._s.Overlay.displayName;let c=s.forwardRef((e,l)=>{let{className:t,children:s,...r}=e;return(0,a.jsxs)(d,{children:[(0,a.jsx)(m,{}),(0,a.jsxs)(i._s.Content,{ref:l,className:(0,n.cn)("fixed inset-x-0 bottom-0 z-[999] mt-24 flex h-auto flex-col rounded-t-6xl bg-body",t),...r,children:[(0,a.jsx)("div",{className:"bg-muted mx-auto mt-4 h-2 w-[100px] rounded-full"}),s]})]})});c.displayName="DrawerContent";let u=e=>{let{className:l,...t}=e;return(0,a.jsx)("div",{className:(0,n.cn)("grid gap-1.5 p-8 text-center sm:text-left",l),...t})};u.displayName="DrawerHeader";let x=s.forwardRef((e,l)=>{let{className:t,...s}=e;return(0,a.jsx)(i._s.Title,{ref:l,className:(0,n.cn)("text-lg font-semibold leading-none tracking-tight",t),...s})});x.displayName=i._s.Title.displayName,s.forwardRef((e,l)=>{let{className:t,...s}=e;return(0,a.jsx)(i._s.Description,{ref:l,className:(0,n.cn)("text-muted-foreground text-sm",t),...s})}).displayName=i._s.Description.displayName},68994:(e,l,t)=>{t.r(l),t.d(l,{default:()=>h});var a=t(95155),s=t(3903),i=t(53261),n=t(38833),r=t(98933),o=t(14295),d=t(16405),m=t(36489),c=t(15239),u=t(20063),x=t(12115);let h=e=>{var l,t,h,p,g,v,f,b,w,y,j,N,S,C,A,k,T;let{block:z,page:I}=e,{data:_,status:L}=(0,m.useSession)();null==_||null==(l=_.user)||l.entity,(0,s.s9)();let R=(0,u.usePathname)(),M=null==R?void 0:R.replace(/^\/[a-z]{2}(?=\/|$)/,"").startsWith("/dashboard/entity-awards");return[...(0,o.Oh)(null==I?void 0:I.ParentPage),{title:null==I?void 0:I.PageTitle}].filter(Boolean),(0,a.jsxs)(i.default,{className:(0,o.cn)("awards-banner 2 relative isolate gap-12 px-32 pb-24 max-lg:px-24 max-md-lg:px-8 max-md:pb-24",M?"pt-16":"pt-72 max-md:pt-60"),children:[(0,a.jsxs)("div",{className:(0,o.cn)(!(null==z?void 0:z.HideStats)&&"pb-16"),children:[(0,a.jsx)("h1",{className:"h2 mb-12 whitespace-pre-line md:text-[6.6rem] rtl:mb-20 rtl:!leading-snug",children:(0,r.oQ)(null!=(T=null==I?void 0:I.PageDescription)?T:null==I?void 0:I.PageTitle)}),(null==z?void 0:z.Content)?(0,a.jsx)("div",{className:"max-w-[58rem] space-y-12",children:(0,r.oQ)((0,d.Ay)(null==z?void 0:z.Content))}):null]}),(0,a.jsx)(a.Fragment,{children:(null==z?void 0:z.HideStats)?null:(0,a.jsxs)("div",{className:(0,o.cn)("flex w-full flex-col gap-4 lg:flex-row",(null==z||null==(t=z.IconTextValue)?void 0:t.length)>3&&"flex-wrap"),children:[(0,a.jsx)("div",{className:"flex w-full flex-col gap-4 md:flex-row lg:w-[66.6%]",children:(null==z?void 0:z.IconTextValue)&&(0,a.jsxs)(a.Fragment,{children:[z.IconTextValue[0]&&(0,a.jsxs)("div",{className:"flex w-full flex-col justify-between rounded-4xl bg-beigeCard p-8 md:w-1/2",children:[(0,a.jsxs)("div",{className:"flex flex-col md:gap-6",children:[(null==(g=z.IconTextValue[0])||null==(p=g.Icon)||null==(h=p.data)?void 0:h.attributes)&&(0,a.jsx)("div",{className:"size-[3.2rem]",children:(0,a.jsx)(n.A,{width:32,height:32,alternativeText:null==(w=z.IconTextValue[0])||null==(b=w.Icon)||null==(f=b.data)||null==(v=f.attributes)?void 0:v.alternativeText,image:null==(y=z.IconTextValue[0])?void 0:y.Icon})}),(0,a.jsx)("h3",{className:"text-xl md:h4",children:(0,r.oQ)(null==(j=z.IconTextValue[0])?void 0:j.Title)})]}),(null==(N=z.IconTextValue[0])?void 0:N.Value)&&(0,a.jsx)("div",{className:"strong text-[2.4rem] font-extrabold text-primary prose-h2:text-[6.2rem] md:text-[3.4rem] prose-h2:md:text-[10.2rem] [&_.first-word]:text-[3rem] [&_.first-word]:leading-none [&_.first-word]:md:text-[10rem]",children:(0,d.Ay)((e=>{if(!e)return"";let l=e.indexOf(" ");if(-1===l)return'<span class="first-word">'.concat(e,"</span>");let t=e.substring(0,l),a=e.substring(l);return'<span class="first-word">'.concat(t,"</span>").concat(a)})(null==(S=z.IconTextValue[0])?void 0:S.Value))})]},"stats-card-0"),z.IconTextValue.length>1&&(0,a.jsx)("div",{className:"flex w-full flex-col gap-4 md:w-1/2",children:z.IconTextValue.slice(1).map((e,l)=>{var t,s,i,m,u,x,h,p,g,v,f,b,w;return(0,a.jsxs)("div",{className:(0,o.cn)("flex flex-1 flex-col gap-8 rounded-4xl bg-beigeCard p-8 md:gap-14 rtl:md:gap-8",(null==e||null==(s=e.AwardCategory)||null==(t=s.data)?void 0:t.length)&&"gap-6"),children:[(null==e||null==(m
1=e.AwardCategory)||null==(i=m.data)?void 0:i.length)?null:(0,a.jsxs)("div",{className:"flex justify-between",children:[(null==e||null==(x=e.Icon)||null==(u=x.data)?void 0:u.attributes)&&(0,a.jsx)("div",{className:"size-[3.2rem]",children:(0,a.jsx)(n.A,{width:32,height:32,alternativeText:null==e||null==(g=e.Icon)||null==(p=g.data)||null==(h=p.attributes)?void 0:h.alternativeText,image:null==e?void 0:e.Icon})}),(null==e?void 0:e.Value)&&(0,a.jsx)("div",{className:"strong text-[3.4rem] font-extrabold leading-none text-primary prose-h2:h3 md:text-[5rem]",children:(0,d.Ay)(null==e?void 0:e.Value)})]}),(0,a.jsx)("h4",{className:"text-xl md:h4",children:(0,r.oQ)(null==e?void 0:e.Title)}),(null==e||null==(f=e.AwardCategory)||null==(v=f.data)?void 0:v.length)?(0,a.jsx)("div",{className:"border-t-blac flex flex-col gap-6 border-t border-t-body-txt/10 pt-6",children:null==e||null==(w=e.AwardCategory)||null==(b=w.data)?void 0:b.map((e,l)=>{var t,s,i,n,d,m,u,x,h,p,g,v;return(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(null==e||null==(i=e.attributes)||null==(s=i.CategoryIcon)||null==(t=s.data)?void 0:t.attributes)?(0,a.jsx)(c.default,{src:(0,o.Gf)(null==e||null==(u=e.attributes)||null==(m
1=u.CategoryIcon)||null==(d=m.data)||null==(n=d.attributes)?void 0:n.url),alt:(null==e||null==(g=e.attributes)||null==(p=g.CategoryIcon)||null==(h=p.data)||null==(x=h.attributes)?void 0:x.alternativeText)||"",width:25,height:25,unoptimized:!0}):null,(0,a.jsx)("h3",{className:"h6 text-primary",children:(0,r.oQ)(null==e||null==(v=e.attributes)?void 0:v.CategoryTitle)})]},"award-category-".concat(l))})}):null]},"stats-card-".concat(l+1))})})]})}),(0,a.jsxs)("div",{className:"flex flex-1 justify-between rounded-4xl bg-beigeCard p-[3px] max-lg:items-center max-md:w-full md:gap-16 md:p-4 lg:flex-col",children:[(0,a.jsx)("h3",{className:"px-4 pt-4 text-xl leading-8 md:h4 max-lg:w-[35%] max-md:ps-4",children:(0,r.oQ)(null==z||null==(C=z.StoryType)?void 0:C.Title)}),(0,a.jsx)("div",{className:"flex items-center rounded-4xl bg-beigeWhite entity:bg-gray max-lg:flex-1 max-md:py-6",children:null==z||null==(k=z.StoryType)||null==(A=k.ImageAndTitle)?void 0:A.map((e,l)=>{var t,s;return(0,a.jsxs)(x.Fragment,{children:[(0,a.jsxs)("div",{className:(0,o.cn)("relative flex w-1/2 flex-col items-center justify-center gap-6",0===l&&"before:absolute before:end-0 before:h-full before:w-px before:bg-primary/10 md:px-11 md:py-[3.45rem] before:md:h-[calc(100%-6rem)]"),children:[(0,a.jsx)("div",{className:"flex size-[4.5rem] flex-col justify-center md:size-32",children:(0,a.jsx)(n.A,{width:150,height:150,image:null==e?void 0:e.Image})}),(0,a.jsx)("p",{className:"text-balance max-md:text-center max-md:text-lg",children:(0,r.oQ)(null==e?void 0:e.Title)})]}),(null==z||null==(s=z.StoryType)||null==(t=s.ImageAndTitle)?void 0:t.length)===l+1?null:(0,a.jsx)("div",{className:"h-40 w-px bg-secondary opacity-10"})]},null==e?void 0:e.id)})})]})]})})]})}},68998:(e,l,t)=>{t.r(l),t.d(l,{default:()=>z});var a=t(95155),s=t(3903),i=t(53261),n=t(78277),r=t(80155),o=t(14295),d=t(86651),m=t(12115);let c=e=>{let{updateState:l,label:t,className:s,defaultValue:i}=e,[n,c]=(0,m.useState)(""),u=(0,r.d)(n);return(0,m.useEffect)(()=>
1{l({keyword:u})},[u]),(0,a.jsxs)("div",{className:(0,o.cn)("rounded-xxl relative flex w-full max-w-[70rem] items-center gap-6 max-lg:max-w-full",s),children:[(0,a.jsx)("input",{defaultValue:i,placeholder:t,onChange:e=>c(e.target.value),className:"flex-1 rounded-full border border-black/25 bg-transparent py-6 pe-8 ps-20 text-[1.6rem] leading-10 outline-none transition-all duration-300 placeholder:text-[1.6rem] placeholder:font-light placeholder:leading-10 placeholder:text-black/60 focus:border-black/50 active:border-black/50"}),(0,a.jsx)(d.A,{size:20,className:"absolute start-6"})]})};var u=t(3998),x=t(78252),h=t(31719);let p=x.bL,g=x.l9;x.YJ,x.ZL,x.Pb;let v=x.z6;m.forwardRef((e,l)=>{let{className:t,inset:s,children:i,...n}=e;return(0,a.jsxs)(x.ZP,{ref:l,className:(0,o.cn)("focus:bg-accent data-[state=open]:bg-accent flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none",s&&"pl-8",t),...n,children:[i,(0,a.jsx)(h.vKP,{className:"ml-auto size-4"})]})}).displayName=x.ZP.displayName,m.forwardRef((e,l)=>{let{className:t,...s}=e;return(0,a.jsx)(x.G5,{ref:l,className:(0,o.cn)("bg-popover text-popover-foreground z-50 min-w-32 overflow-hidden rounded-md border p-1 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...s})}).displayName=x.G5.displayName;let f=m.forwardRef((e,l)=>{let{className:t,sideOffset:s=4,...i}=e;return(0,a.jsx)(x.ZL,{children:(0,a.jsx)(x.UC,{ref:l,sideOffset:s,className:(0,o.cn)("text shadow-card bg-beige z-50 min-w-32 overflow-hidden rounded-xl border border-black/25 p-8","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...i})})});f.displayName=x.UC.displayName,m.forwardRef((e,l)=>{let{className:t,inset:s,...i}=e;return(0,a.jsx)(x.q7,{ref:l,className:(0,o.cn)("outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",t),...i})}).displayName=x.q7.displayName,m.forwardRef((e,l)=>{let{className:t,children:s,checked:i,...n}=e;return(0,a.jsxs)(x.H_,{ref:l,className:(0,o.cn)("focus:bg-accent text-h2 relative flex cursor-default select-none items-center pl-12 outline-none transition-colors data-[disabled]:pointer-events-none data-[state=checked]:bg-black data-[disabled]:opacity-50",t),checked:i,...n,children:[(0,a.jsx)("span",{className:"border-grey absolute left-0 flex size-8 items-center justify-center rounded-[1px] border",children:(0,a.jsx)(x.VF,{children:(0,a.jsx)(h.Srz,{className:"size-4"})})}),s]})}).displayName=x.H_.displayName;let b=m.forwardRef((e,l)=>{let{className:t,children:s,...i}=e;return(0,a.jsx)(x.hN,{ref:l,className:(0,o.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...i,children:s})});b.displayName=x.hN.displayName,m.forwardRef((e,l)=>{let{className:t,inset:s,...i}=e;return(0,a.jsx)(x.JU,{ref:l,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",t),...i})}).displayName=x.JU.displayName,m.forwardRef((e,l)=>{let{className:t,...s}=e;return(0,a.jsx)(x.wv,{ref:l,className:(0,o.cn)("bg-muted -mx-1 my-1 h-px",t),...s})}).displayName=x.wv.displayName;var w=t(52200),y=t(24033),j=t(98933);let N=e=>{let{val:l,list:t,title:i,updateState:n,objectKey:r="sort",type:d}=e,c=(0,s.s9)();return"accordion"===d?(0,a.jsx)(w.bL,{type:"single",collapsible:!0,children:(0,a.jsxs)(w.q7,{value:null!=i?i:"Filter",children:[(0,a.jsxs)(w.l9,{className:"group p flex w-full justify-between gap-4 border-b border-black/25 py-4",children:[(0,a.jsx)("div",{className:"flex items-center gap-4",children:(0,a.jsx)("span",{children:(0,j.oQ)(i)})}),(0,a.jsx)(y.A,{size:20,className:"shrink-0 text-black transition-transform duration-300 ease-linear group-data-[state=open]:-scale-y-100"})]}),(0,a.jsx)(w.UC,{className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden transition-all",children:(0,a.jsx)("div",{className:"space-y-4 pt-4",children:(0,a.jsx)("div",{className:"flex flex-col gap-3",children:null==t?void 0:t.map(e=>(0,a.jsxs)(m.Fragment,{children:[(0,a.jsx)("input",{type:"radio",id:"sort
1-item-".concat(e.key),name:"accordion-radio",value:e.key,checked:l===e.key,onChange:()=>n({[r]:e.key}),className:"hidden size-4 [&:checked+label]:bg-secondary/25 [&:checked+label]:p-2"}),(0,a.jsx)("label",{htmlFor:"sort-item-".concat(e.key),className:"p flex cursor-pointer items-center gap-3",children:c(e.label)},e.key)]},"sort-item-".concat(e.key)))})})})]})}):(0,a.jsxs)(p,{children:[(0,a.jsx)(g,{asChild:!0,children:(0,a.jsxs)(u.A,{className:(0,o.cn)("data-[state=open]:border-darkGrey data-[state=open]:bg-darkGrey group p h-[5.7rem] min-w-72 justify-between !rounded-full normal-case data-[state=open]:text-black md:gap-2","justify-between border-black/25 bg-transparent px-6 [&_.btn-inner]:w-full [&_.btn-inner]:justify-between"),variant:"outline",children:[i?"".concat(i):null,(0,a.jsx)(y.A,{size:24,className:"shrink-0 text-black opacity-50 transition-transform duration-300 ease-linear group-data-[state=open]:-scale-y-100"})]})}),(0,a.jsx)(f,{align:"start",className:"flex max-h-[30rem] w-96 flex-col p-0",children:(0,a.jsx)(v,{value:l,className:"custom-scroll flex h-auto max-h-[30rem] flex-col overflow-y-auto py-1",onValueChange:e=>n({[r]:e}),children:null==t?void 0:t.map(e=>(0,a.jsx)(b,{value:null==e?void 0:e.key,className:"p-0 px-4 py-4 transition-colors duration-500 data-[state=checked]:bg-secondary/25 lg:hover:bg-secondary/25",children:(0,a.jsx)("label",{className:"cursor-pointer text-xl",children:c(null==e?void 0:e.label)})},null==e?void 0:e.key))})})]})};var S=t(83247);let C=[{key:"createdAt:desc",label:"LatestFirst"},{key:"createdAt:asc",label:"OldestFirst"},{key:"StoryTitle:asc",label:"Alphabetical"},{key:"StoryTitle:desc",label:"AlphabeticalReverse"}];var A=t(91374),k=t(67016),T=t(13755);let z=e=>{var l,t,r,d;let{block:u}=e,x=(0,s.s9)(),h=(0,s.useCurrentLocale)(),p=(0,m.useRef)(null),g=(0,m.useRef)(null),v=(0,m.useRef)(null),[f,b]=(0,m.useState)(!0),{searchPlaceholder:w}=u,{state:y,updateState:z}=(0,S.v)({selectedCategories:[],selectedYears:[],sort:"createdAt:desc",page:1}),{data:I,error:_,size:L,setSize:R,isValidating:M,isLoading:Q}=(0,k.Ay)(e=>{let l=(0,o.Nr)({...y,page:e+1,pageSize:8,locale:h});return"/api/stories?".concat(l)},{revalidateFirstPage:!1,keepPreviousData:!0}),E=!I&&!_,P=M||I&&void 0===I[L-1],D=(null==I?void 0:I.flatMap(e=>{var l;return null==e||null==(l=e.data)?void 0:l.data}))||[],F=(null==I?void 0:I.flatMap(e=>{var l;return null==e||null==(l=e.data)?void 0:l.meta}))||[];(0,m.useEffect)(()=>{var e;let l=null==F||null==(e=F[0])?void 0:e.pagination;l&&L>=l.pageCount&&f&&b(!1)},[F,L]);let U=(0,m.useCallback)(e=>{e[0].isIntersecting&&!P&&!Q&&f&&R(L+1)},[P,f,R,L]);return(0,m.useEffect)(()=>{if(!p.current)return;let e=new IntersectionObserver(U,{root:null,rootMargin:"50%",threshold:.1});return e.observe(p.current),()=>e.disconnect()},[U]),(0,a.jsx)(i.default,{children:(0,a.jsxs)("div",{ref:g,className:"mb-12",children:[(0,a.jsxs)("div",{className:"mb-12 flex items-center justify-between gap-4 max-sm:mb-6 max-sm:flex-col",children:[(0,a.jsx)(c,{updateState:z,label:null!=w?w:x("Search")}),(0,a.jsx)("div",{className:"flex gap-2 max-sm:w-full max-sm:[&_button]:w-full",children:(0,a.jsx)(N,{list:C,val:null==y?void 0:y.sort,title:x("SortBy"),updateState:z})})]}),Q?(0,a.jsx)("div",{className:"mb-12 flex min-h-screen justify-center px-4 py-10",children:(0,a.jsx)(n.A,{})}):(null==F||null==(t=F[0])||null==(l=t.pagination)?void 0:l.total)>0?(0,a.jsx)(A.P.div,{ref:v,className:"grid min-h-[70vh] grid-cols-4 gap-16 max-xl:grid-cols-3 max-md-lg:grid-cols-2 max-sm:grid-cols-1",initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.8,ease:"easeOut"},children:D.map((e,l)=>(0,a.jsx)(T.A,{data:e},"story-".concat(null==e?void 0:e.id)))}):(0,a.jsx)("h3",{className:"h4 py-20 pb-20 text-center opacity-50",children:(0,j.oQ)(x("NoResultsFoundText"))}),!P&&!E&&f&&(null==F||null==(d=F[0])||null==(r=d.pagination)?void 0:r.pageCount)>L?(0,a.jsx)("div",{ref:p,className:"mt-16 flex w-full justify-center",children:(0,a.jsx)(n.A,{})}):null]})})}},70888:(e,l,t)=>{t.r(l),t.d(l,{default:()=>c});var a=t(95155),s=t(53261),i=t(55454),n=t(43485),r=t(3998),o=t(98933),d=t(14295),m=t(16405);let c=e=>{var l,t,c,u,x,h;let{block:p}=e,{Content:g,Media:v,CTA_One:f,CTA_Two:b,SectionDetails:w}=p||{},y=!!((null==v||null==(t=v.Image)||null==(l=t.data)?void 0:l.attributes)||(null==v||null==(u=v.ImageMobile)||null==(c=u.data)?void 0:c.attributes)||(null==v?void 0:v.VideoURL)||(null==v?void 0:v.VideoURLMobile));return g||y?(0,a.jsxs)(s.default,{className:(0,d.cn)("media-with-content-ctas relative isolate px-8 max-sm:px-2",!(null==w?void 0:w.DisableBottomSpace)&&"mb-32 max-sm:mb-20"),children:[(null==w?void 0:w.BlockID)?(0,a.jsx)(n.A,{id:null==w?void 0:w.BlockID}):null,(0,a.jsxs)("div",{className:"relative isolate flex min-h-screen flex-col items-center justify-end overflow-hidden rounded-6xl bg-body-txt px-16 pb-28 text-center text-white max-xl:min-h-[68rem] max-lg:h-[60rem] max-lg:px-8 max-md-lg:aspect-[4/5] max-md-lg:h-auto max-md-lg:min-h-0 max-sm:aspect-auto max-sm:min-h-[88vh] max-sm:pb-12 xl:min-h-[82rem]",children:[(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 -z-10 hidden bg-black/30 bg-[linear-gradient(to_top,rgba(0,0,0,0.8)_7.93%,rgba(0,0,0,0)_50%)]"}),(0,a.jsxs)("div",{className:"relative flex w-full flex-col items-center gap-16 max-md:gap-10 max-sm:gap-8",children:[g?(0,a.jsx)("div",{className:"content w-full max-w-[78.1rem] space-y-8 max-sm:[&_p]:!p1 max-md:space-y-6 [&_h1]:max-lg:!text-[3.2rem] [&_h2]:max-lg:!text-[3.2rem] [&_h3]:max-lg:!text-[3.2rem] [&_p]:mx-auto [&_p]:max-w-[65.1rem] [&_p]:text-1xl [&_p]:leading-[1.5]",children:(0,m.Ay)(g)}):null,(null==f?void 0:f.Title)||(null==b?void 0:b.Title)?(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-6 max-sm:w-full max-sm:flex-col max-sm:gap-6",children:[(null==f?void 0:f.Title)?(0,a.jsx)(r.A,{href:f.URL||void 0,target:f.Target||"_self",className:"h-[5.4rem] min-w-[23.9rem] px-14 max-sm:w-full max-sm:min-w-0",children:(0,o.oQ)(f.Title)}):null,(null==b?void 0:b.Title)?(0,a.jsx)(r.A,{href:b.URL||void 0,target:b.Target||"_self",variant:"transparent",className:"h-[5.4rem] border-body px-14 !text-body max-sm:w-full max-sm:min-w-0 lg:hover:!text-white",children:(0,o.oQ)(b.Title)}):null]}):null]}),y?(0,a.jsx)(i.A,{media:{Image:null==v?void 0:v.Image,MobileImage:(null==v||null==(h=v.ImageMobile)||null==(x=h.data)?void 0:x.attributes)?null==v?void 0:v.ImageMobile:null==v?void 0:v.Image,VideoUrl:null==v?void 0:v.VideoURL,MobileVideoUrl:(null==v?void 0:v.VideoURLMobile)||(null==v?void 0:v.VideoURL)},alt:"Media",mobileBreakpoint:990,className:"absolute inset-0 -z-20 max-md-lg:[&_img]:object-top"}):null]})]}):null}},71851:(e,l,t)=>{t.r(l),t.d(l,{default:()=>b});var a=t(95155),s=t(3903),i=t(55454),n=t(37808),r=t(98933),o=t(14295),d=t(53350),m=t(53615),c=t(29447),u=t(91374),x=t(16405),h=t(15239),p=t(12115);let g=[{start:"11.6%",top:"25.2%",width:"25%",rotate:-6.3,strength:22},{start:"65.1%",top:"34%",width:"30%",rotate:6.23,strength:10},{start:"67%",startAr:"63%",top:"3%",width:"25%",rotate:5.35,strength:25,zIndex:-1}],v={stiffness:120,damping:18,mass:.6},f=e=>{var l,t,n,x,p,f,b,w,y,j,N,S,C,A,k,T,z;let{slide:I,showConnector:_,flipConnector:L}=e,R=(0,d.d)(0),M=(0,d.d)(0),Q=(0,m.z)(R,v),E=(0,m.z)(M,v),P=[{x:(0,c.G)(Q,e=>-e*g[0].strength),y:(0,c.G)(E,e=>-e*g[0].strength*.8)},{x:(0,c.G)(Q,e=>-e*g[1].strength),y:(0,c.G)(E,e=>-e*g[1].strength*.8)},{x:(0,c.G)(Q,e=>-e*g[2].strength),y:(0,c.G)(E,e=>-e*g[2].strength*.8)}],D=[null==I?void 0:I.CardImageOne,null==I?void 0:I.CardImageTwo,null==I?void 0:I.CardImageThree],F="ar"===(0,s.useCurrentLocale)(),U=!!((null==I||null==(n=I.Media)||null==(t=n.Image)||null==(l=t.data)?void 0:l.attributes)||(null==I||null==(f=I.Media)||null==(p=f.ImageMobile)||null==(x=p.data)?void 0:x.attributes)||(null==I||null==(b=I.Media)?void 0:b.VideoURL)||(null==I||null==(w=I.Media)?void 0:w.VideoURLMobile));return(0,a.jsxs)("div",{className:"relative flex size-full flex-col rounded-6xl bg-body-900 p-24 max-md-lg:p-16 max-sm:rounded-4xl",onMouseMove:e=>{let l=e.currentTarget.getBoundingClientRect();R.set((e.clientX-l.left)/l.width-.5),M.set((e.clientY-l.top)/l.height-.5)},onMouseLeave:()=>{R.set(0),M.set(0)},children:[(0,a.jsxs)("div",{className:"isolate",children:[(0,a.jsxs)("div",{className:"relative flex h-full flex-col items-center gap-10 max-sm:gap-7",children:[U?(0,a.jsx)("div",{className:"relative aspect-[0.9] w-80 shrink-0 overflow-hidden rounded-t-[30.8rem] max-md-lg:w-[16.6rem] max-sm:w-[13.5rem]",children:(0,a.jsx)(i.A,{media:{Image:null==I||null==(y=I.Media)?void 0:y.Image,MobileImage:(null==I||null==(S=I.Media)||null==(N=S.ImageMobile)||null==(j=N.data)?void 0:j.attributes)?null==I||null==(C=I.Media)?void 0:C.ImageMobile:null==I||null==(A=I.Media)?void 0:A.Image,VideoUrl:null==I||null==(k=I.Media)?void 0:k.VideoURL,MobileVideoUrl:(null==I||null==(T=I.Media)?void 0:T.VideoURLMobile)||(null==I||null==(z=I.Media)?void 0:z.VideoURL)},alt:(null==I?void 0:I.Title)||"How it works step",className:"size-full"})}):null,(0,a.jsxs)("div",{className:"relative z-20 flex w-full flex-col items-center gap-6 text-center max-sm:gap-2",children:[(null==I?void 0:I.Title)?(0,a.jsx)("h4",{className:"!leading-none max-sm:!p rtl:!leading-tight",children:(0,r.oQ)(I.Title)}):null,(null==I?void 0:I.Description)?(0,a.jsx)("p",{className:"small !leading-normal max-sm:!sub-label",children:(0,r.oQ)(I.Description)}):null]})]}),D.map((e,l)=>{var t;return(null==e||null==(t=e.data)?void 0:t.attributes)?(0,a.jsx)(u.P.div,{className:"pointer-events-none absolute z-10 overflow-hidden",style:{insetInlineStart:F&&g[l].startAr||g[l].start,top:g[l].top,width:g[l].width,rotate:g[l].rotate,zIndex:g[l].zIndex,x:P[l].x,y:P[l].y},children:(0,a.jsx)(h.default,{src:(0,o.Gf)(e),alt:(0,o.fr)(e,"Story type card"),width:468,height:515,quality:100,sizes:"(max-width: 640px) 180px, (max-width: 1024px) 200px, 260px",className:"h-auto w-full object-contain"})},"floating-card-".concat(l)):null})]}),_?(0,a.jsx)(h.default,{src:"/images/curved-line-new.svg",alt:"",width:193,height:17,className:(0,o.cn)("pointer-events-none absolute end-[-5.9rem] top-[63.5%] z-20 w-[10.2rem] max-sm:hidden rtl:-scale-x-100",L&&"-scale-y-100")}):null]})},b=e=>{let{block:l}
1=e,{Title:t,Slides:i,SectionDetails:r}=l||{},[d,m]=(0,p.useState)(),[c,u]=(0,p.useState)(!1),h=(0,p.useRef)(!1),g=(0,s.useCurrentLocale)();return((0,p.useEffect)(()=>{if(!d)return;let e=()=>{let e=d.canScrollNext()||d.canScrollPrev();e!==h.current&&(h.current=e,u(e))};return e(),d.on("reInit",e),d.on("select",e),()=>{d.off("reInit",e),d.off("select",e)}},[d]),t||(null==i?void 0:i.length))?(0,a.jsx)("section",{id:null==r?void 0:r.BlockID,className:(0,o.cn)("how-it-works bg-body px-32 max-lg:px-24 max-md-lg:px-8",!(null==r?void 0:r.DisableBottomSpace)&&"mb-40 max-md:mb-16"),children:(0,a.jsxs)("div",{className:"inner mx-auto flex flex-col items-center gap-16 max-md:gap-8",children:[t?(0,a.jsx)("div",{className:"content mx-auto flex max-w-[53rem] flex-col gap-8 text-center max-md:gap-6 max-sm:text-start [&_:is(h1,h2,h3)]:!text-[4.6rem] [&_:is(h1,h2,h3)]:!leading-none [&_:is(h1,h2,h3)]:max-sm:!text-[3.2rem]",children:(0,x.Ay)(t)}):null,(null==i?void 0:i.length)?(0,a.jsx)(n.FN,{setApi:m,opts:{direction:"ar"===g?"rtl":"ltr",align:"start",containScroll:"trimSnaps",watchDrag:c},className:"w-full",children:(0,a.jsx)(n.Wk,{parentClassName:"[&_.carousel-content]:!overflow-visible overflow-visible",className:"-ms-8 max-sm:-ms-4",children:i.map((e,l)=>{var t;return(0,a.jsx)(n.A7,{className:(0,o.cn)("basis-1/2 ps-8 max-md:basis-[49%] max-sm:basis-[84%] max-sm:ps-4 lg:basis-1/3",c&&"cursor-grab active:cursor-grabbing"),children:(0,a.jsx)(f,{slide:e,showConnector:l<i.length-1,flipConnector:l%2==1})},"hiw-slide-".concat(null!=(t=null==e?void 0:e.id)?t:l))})})}):null]})}):null}},73540:(e,l,t)=>{t.r(l),t.d(l,{default:()=>m});var a=t(95155),s=t(53261),i=t(43485),n=t(3998),r=t(98933),o=t(14295),d=t(15239);let m=e=>{let{block:l}
1=e,{Tagline:t,Title:m,Content:c,CTA:u,SectionDetails:x}=l||{},h=null==l?void 0:l.Image;if(!m&&!c&&!u)return null;let p=h?(0,o.Gf)(h):null,g=(0,o.fr)(h,m||t||"Info");return(0,a.jsxs)(s.default,{className:(0,o.cn)("info-with-cta relative overflow-visible px-32 pt-24 max-lg:px-8 max-lg:pt-[8rem]",!(null==x?void 0:x.DisableBottomSpace)&&"mb-16"),children:[(null==x?void 0:x.BlockID)?(0,a.jsx)(i.A,{id:x.BlockID}):null,(0,a.jsxs)("div",{className:"relative overflow-visible",children:[p?(0,a.jsx)("div",{className:(0,o.cn)("pointer-events-none absolute z-10","-top-24 start-0 h-[42.5rem] w-[60.4rem]","max-lg:inset-x-0 max-lg:top-0 max-lg:mx-auto max-lg:h-[17.5rem] max-lg:w-[29rem] max-lg:max-w-none max-lg:-translate-y-[25%]"),children:(0,a.jsx)(d.default,{src:p,alt:g,width:604,height:425,unoptimized:!0,className:"size-full object-contain object-bottom",sizes:"(max-width: 1024px) 290px, 604px",priority:!0})}):null,(0,a.jsx)("div",{className:(0,o.cn)("relative flex h-[36.6rem] items-center overflow-visible rounded-[3.2rem] bg-body-600","py-[6.4rem] pe-[6.4rem] ps-[66rem] max-xl:ps-[50rem]","max-lg:h-auto max-lg:flex-col max-lg:items-stretch max-lg:gap-10 max-lg:px-10 max-lg:pb-10 max-lg:pt-60"),children:(0,a.jsxs)("div",{className:"relative z-20 flex w-full max-w-[47rem] flex-col items-start gap-12 max-lg:max-w-full max-lg:gap-8",children:[(0,a.jsxs)("div",{className:"flex w-full flex-col items-start gap-6 max-lg:gap-4",children:[t?(0,a.jsx)("p",{className:"small font-bold uppercase tracking-wider text-primary max-lg:sub-label max-lg:tracking-[0.04em]",children:(0,r.oQ)(t)}):null,(0,a.jsxs)("div",{className:"flex w-full flex-col items-start gap-6 max-lg:gap-4",children:[m?(0,a.jsx)("h3",{className:"h3 whitespace-pre-line text-balance text-body-txt max-lg:!text-[3.2rem] max-lg:!leading-none rtl:!leading-tight",children:(0,r.oQ)(m)}):null,c?(0,a.jsx)("p",{className:"whitespace-pre-line text-1xl leading-normal text-body-txt/80 max-lg:small max-lg:leading-[1.5]",children:(0,r.oQ)(c)}):null]})]}),(null==u?void 0:u.Title)?(0,a.jsx)(n.A,{href:u.URL||void 0,target:u.Target||"_self",className:"px-14 max-lg:w-full",children:(0,r.oQ)(u.Title)}):null]})})]})]})}},73938:(e,l,t)=>{t.r(l),t.d(l,{default:()=>N});var a=t(95155),s=t(3903),i=t(71972),n=t(17154),r=t(38833),o=t(43485),d=t(15239),m=t(32467),c=t(92885),u=t(14295),x=t(12115),h=t(18490);let p=(0,c.F)("",{variants:{variant:{primary:"border-primary bg-primary lg:hover:border-primary-700 lg:hover:bg-primary-700 border text-white",secondary:"lg:hover:text-body-txt border border-orange-400 bg-orange-400 text-white lg:hover:border-black/20 lg:hover:bg-transparent",outline:"border-body lg:hover:border-primary lg:hover:bg-primary border bg-transparent lg:hover:text-white",ghost:"",black:"border-body-txt bg-body-txt text-white"}}}),g=(0,c.F)("custom-button disabled:text-body-txt/40 max-md-lg:px-5 max-md-lg:py-3.5 flex cursor-pointer items-center justify-center gap-6 truncate outline-none transition-all duration-500 disabled:pointer-events-none disabled:border-black/20 disabled:bg-black/10",{variants:{variant:{primary:p({variant:"primary"}),secondary:p({variant:"secondary"}),outline:p({variant:"outline"}),ghost:p({variant:"ghost"}),black:p({variant:"black"})},size:{default:"b1 rounded-[7rem] px-10 py-8 font-bold rtl:font-medium"}},defaultVariants:{variant:"primary",size:"default"}}),v=x.forwardRef((e,l)=>{let{className:t,variant:s,size:i,href:n,onClick:r,loading:o,children:d,asChild:c,...x}=e;return(c&&m.DX,n)?(0,a.jsx)(h.N,{className:(0,u.cn)(g({variant:s,size:i}),t),ref:l,href:n,...x,onClick:r,children:d}):(0,a.jsx)("div",{className:(0,u.cn)(g({variant:s,size:i}),t,"pointer-events-none"),ref:l,children:d})});v.displayName="CustomTag";var f=t(16405),b=t(15279),w=t(98933);let y=e=>{let{className:l,items:t}=e;if(t.length)return(0,a.jsx)("div",{className:(0,u.cn)("flex flex-wrap gap-11",l),children:null==t?void 0:t.map(e=>(0,a.jsxs)("div",{className:"item flex flex-col gap-3 border-s border-body-txt/20 ps-8",children:[(0,a.jsx)("div",{className:"number text-[3.2rem] font-bold leading-[3.5rem] text-primary-700",children:null==e?void 0:e.Number}),(0,a.jsx)("div",{className:"description text-xl opacity-80",children:(0,w.oQ)(null==e?void 0:e.Description)})]},"key-value-".concat(null==e?void 0:e.id)))})};var j=t(3998);let N=e=>{var l,t,m,c,h,p,g,N;let{block:S}=e,[C,A]=(0,x.useState)(null),k=(0,x.useMemo)(()=>{var e,l;return null==C||null==(l=C.data)||null==(e=l.data)?void 0:e[0]},[C]),T=(0,x.useMemo)(()=>{var e;return{id:null==k?void 0:k.id,csrfToken:null==C||null==(e=C.meta)?void 0:e.csrfToken}},[C]),{Content:z,FormType:I,Image:_,Tag:L,Button:R,KeyValueList:M,SectionDetail
1s:Q,AppListTitle:E,IOSURL:P,AndroidURL:D,AppleStoreLogo:F,PlayStoreLogo:U}=S||{},B=(0,b.Ub)("(max-width: 600px)"),V=(0,b.Ub)("(max-width: 1024px)"),O=(0,b.Ub)("(max-width: 991px)"),G=(0,s.useCurrentLocale)(),q=(0,u.gK)(null!=(N=null==Q?void 0:Q.BackgroundColor)?N:null),H=(0,x.useMemo)(()=>{var e,l,t,s;return(0,a.jsxs)("div",{className:"flex flex-col gap-8 max-sm:gap-4 lg:mt-24",children:[E?(0,a.jsx)("h4",{children:(0,w.oQ)(E)}):null,(0,a.jsxs)("div",{className:"flex items-center gap-12 max-sm:gap-8",children:[(null==F||null==(e=F.data)?void 0:e.attributes)?P?(0,a.jsx)("a",{href:P,target:"_blank",children:(0,a.jsx)(d.default,{src:(0,u.Gf)(F),alt:(0,u.fr)(F,"App Store Logo"),width:332,height:68,className:"h-[3.4rem] w-[16.6rem] object-contain object-center max-sm:w-40"})}):(0,a.jsx)(d.default,{src:(0,u.Gf)(F),alt:(0,u.fr)(F,"App Store Logo"),width:332,height:68,className:"h-[3.4rem] w-[16.6rem] object-contain object-center max-sm:w-40"}):null,(null==F||null==(l=F.data)?void 0:l.attributes)&&(null==U||null==(t=U.data)?void 0:t.attributes)?(0,a.jsx)("div",{className:"spacer h-[4.1rem] w-[0.1rem] bg-body-txt/10"}):null,(null==U||null==(s=U.data)?void 0:s.attributes)?D?(0,a.jsx)("a",{href:D,target:"_blank",children:(0,a.jsx)(d.default,{src:(0,u.Gf)(U),alt:(0,u.fr)(U,"Play Store Logo"),width:362,height:82,className:"h-[4.1rem] w-[18.1rem] object-contain object-center max-sm:w-40"})}):(0,a.jsx)(d.default,{src:(0,u.Gf)(U),alt:(0,u.fr)(U,"Play Store Logo"),width:362,height:82,className:"h-[4.1rem] w-[18.1rem] object-contain object-center max-sm:w-40"}):null]})]})},[]);(0,x.useEffect)(()=>{W()},[]);let W=async()=>{var e,l;A(await (await fetch("/api/get-form-data?locale=".concat(G,"&formID=").concat(null==I||null==(l=I.data)||null==(e=l.attributes)?void 0:e.formID))).json())};return(0,a.jsxs)("section",{className:(0,u.cn)("waiting-list-block relative flex overflow-hidden bg-body-500 px-32 py-52 max-xxl:py-48 max-lg:px-24 max-lg:py-32 max-md-lg:px-8 max-md:py-20 lg:min-h-screen",q,!(null==Q?void 0:Q.DisableBottomSpace)&&"mb-32 max-md:mb-16"),children:[(null==Q?void 0:Q.BlockID)?(0,a.jsx)(o.A,{id:null==Q?void 0:Q.BlockID}):null,(0,a.jsxs)(i.default,{className:"w-full",children:[(0,a.jsxs)("div",{className:"content flex w-[calc(100%-60.4rem)] flex-col gap-10 max-xxl:w-[calc(100%-524px)] max-xl:w-[calc(100%-434px)] max-lg:w-full max-lg:flex-col lg:[&_p]:max-w-[51.5rem]",children:[z?(0,f.Ay)(z):null,V?(0,a.jsxs)("div",{className:"flex items-center gap-8",children:[R&&(null==R?void 0:R.Title)&&(null==R?void 0:R.URL)?(0,a.jsx)(j.A,{href:null==R?void 0:R.URL,target:null==R?void 0:R.Target,className:"max-al:min-w-[145px] max-sm:hidden",children:(0,w.oQ)(null==R?void 0:R.Title)}):null,M&&(null==M?void 0:M.length)>0?(0,a.jsx)(y,{items:M,className:"lg:ms-[4.5rem]"}):null]}):null,O?H:null,(0,a.jsxs)("div",{className:"relative z-10 mt-14 flex items-center gap-6 max-lg:mt-[400px] max-md:justify-center [&_.form-group]:mb-0 [&_form]:mt-0 [&_form]:w-full [&_form]:max-w-[35.4rem]",children:[(null==I||null==(l=I.data)?void 0:l.attributes)?(0,a.jsx)("div",{className:"form-block min-w-64 max-lg:hidden rtl:font-medium",children:(null==L?void 0:L.Title)?(0,a.jsx)(v,{variant:"black",children:(0,w.oQ)(null==L?void 0:L.Title)}):null}):null,(null==C||null==(m=C.data)||null==(t=m.data)?void 0:t[0])?(0,a.jsx)(n.A,{data:{formData:k,formInfo:T}}):null,R&&(null==R?void 0:R.Title)&&(null==R?void 0:R.URL)?(0,a.jsx)(j.A,{href:null==R?void 0:R.URL,target:null==R?void 0:R.Target,className:"max-al:min-w-[145px] max-lg:hidden max-sm:flex",children:(0,w.oQ)(null==R?void 0:R.Title)}):null,!V&&M&&(null==M?void 0:M.length)>0?(0,a.jsx)(y,{items:M,className:"lg:ms-[4.5rem]"}):null]}),O?null:H]}),(null==_||null==(h=_.Image)||null==(c=h.data)?void 0:c.attributes)?(0,a.jsx)(r.A,{image:B&&(null==_||null==(g=_.ImageMobile)||null==(p=g.data)?void 0:p.attributes)?null==_?void 0:_.ImageMobile:null==_?void 0:_.Image,fill:!0,className:"pointer-events-none absolute end-0 size-full max-w-[70.6rem] overflow-visible !bg-contain !bg-right-bottom max-xl:max-w-[52.6rem] max-lg:mx-auto max-md-lg:bottom-0 max-md-lg:max-h-[550px] max-md-lg:max-w-[430px] md-lg:top-0 lg:rtl:end-24 [&_img]:object-contain [&_img]:object-right-bottom",alternativeText:"Waiting List Image"}):null]})]})}},76444:(e,l,t)=>{t(95155),t(12115),t(14295)},78277:(e,l,t)=>{t.d(l,{A:()=>s});var a=t(95155);let s=()=>(0,a.jsx)("div",{className:"flex items-start justify-center px-8 py-20",children:(0,a.jsx)("div",{className:"listing_loader"})})},83247:(e,l,t)=>{t.d(l,{v:()=>s});var a=t(12115);let s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[l,t]=(0,a.useState)({...e});return{state:l,updateState:e=>{t(l=>({...l,...e}))}}}},84592:(e,l,t)=>{t.d(l,{A:()=>m});var a=t(95155),s=t(18490),i=t(14295),n=t(36117),r=t.n(n),o=t(15239),d=t(98933);let m=e=>{var l;let{data:t}=e;return(0,a.jsxs)("div",{className:"group relative h-full",children:[(0,a.jsx)(s.N,{href:"/news/".concat(null==t?void 0:t.PageUid),children:(0,a.jsx)("div",{className:"relative aspect-[1.3] w-full",children:(0,a.jsx)(o.default,{className:"object-cover",src:(0,i.Gf)(null==t?void 0:t.Image),alt:null!=(l=null==t?void 0:t.Title)?l:"news-image",fill:!0})})}),(0,a.jsxs)("div",{className:"pb-16 pt-8",children:[(0,a.jsx)("p",{className:"mb-4 text-black/50",children:r()(null==t?void 0:t.PublishedDate).format("D MMMM YYYY")}),(0,a.jsx)(s.N,{href:"/news/".concat(null==t?void 0:t.PageUid),children:(0,a.jsx)("p",{className:"h4",children:(0,d.oQ)(null==t?void 0:t.PageTitle)})})]})]})}},89677:(e,l,t)=>{t.d(l,{A:()=>u});var a=t(95155),s=t(3903),i=t(98933),n=t(14295),r=t(12115);let o=e=>{let{uid:l}=e,t="grain-".concat(l),s="border-top-".concat(l),i="border-bottom-".concat(l),n="noise-".concat(l),r="top-shade-".concat(l),o="bottom-shade-".concat(l);
1return(0,a.jsxs)("svg",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 size-full",viewBox:"0 0 94.6836 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",children:[(0,a.jsx)("path",{d:"M79.2881 0C87.7907 0.000179782 94.6835 6.89291 94.6836 15.3955V43.5107H93.1436C91.443 43.5108 90.0645 44.8893 90.0645 46.5898V54.1719C90.0645 55.8724 91.443 57.251 93.1436 57.251H94.6836V84.6045C94.6835 93.1071 87.7907 99.9998 79.2881 100H15.3955C6.89284 99.9999 7.5725e-05 93.1072 0 84.6045V57.251H1.54004C3.24038 57.2507 4.61914 55.8723 4.61914 54.1719V46.5898C4.61914 44.8894 3.24038 43.511 1.54004 43.5107H0V15.3955C0.000113696 6.89286 6.89286 9.48914e-05 15.3955 0H79.2881Z",fill:"#FAF6EA"}),(0,a.jsx)("path",{d:"M79.2881 0C87.7907 0.000179782 94.6835 6.89291 94.6836 15.3955V43.5107H93.1436C91.443 43.5108 90.0645 44.8893 90.0645 46.5898V54.1719C90.0645 55.8724 91.443 57.251 93.1436 57.251H94.6836V84.6045C94.6835 93.1071 87.7907 99.9998 79.2881 100H15.3955C6.89284 99.9999 7.5725e-05 93.1072 0 84.6045V57.251H1.54004C3.24038 57.2507 4.61914 55.8723 4.61914 54.1719V46.5898C4.61914 44.8894 3.24038 43.511 1.54004 43.5107H0V15.3955C0.000113696 6.89286 6.89286 9.48914e-05 15.3955 0H79.2881Z",fill:"url(#".concat(t,")"),opacity:"0.55"}),(0,a.jsx)("path",{d:"M90.0645 15.4C90.0645 8.5 84.5 2.3 77.6 2.3H17C10.1 2.3 4.6 8.5 4.6 15.4V49.6H90.0645V15.4Z",fill:"url(#".concat(r,")"),opacity:"0.4"}),(0,a.jsx)("path",{d:"M4.6 50.4H90.0645V84.6C90.0645 91.5 84.5 97.7 77.6 97.7H17C10.1 97.7 4.6 91.5 4.6 84.6V50.4Z",fill:"url(#".concat(o,")"),opacity:"0.3"}),(0,a.jsx)("path",{d:"M93.1434 43.5129V16.1541C93.1434 8.07639 86.5951 1.52815 78.5175 1.52815H16.165C8.0873 1.52815 1.53906 8.07639 1.53906 16.1541V43.5129",stroke:"url(#".concat(s,")"),strokeWidth:"1.1",fill:"none",opacity:"0.7"}),(0,a.jsx)("path",{d:"M93.1434 57.2525V83.848C93.1434 91.9256 86.5951 98.4739 78.5175 98.4739H16.165C8.0873 98.4739 1.53906 91.9256 1.53906 83.8479V57.2525",stroke:"url(#".concat(i,")"),strokeWidth:"1.1",fill:"none",opacity:"0.7"}),(0,a.jsx)("path",{d:"M91.6035 46.5784C91.6035 45.7282 92.2928 45.0389 93.1431 45.0389C93.9934 45.0389 94.6827 45.7282 94.6827 46.5784V54.2763C94.6827 55.1266 93.9934 55.8158 93.1431 55.8158C92.2928 55.8158 91.6035 55.1266 91.6035 54.2763V46.5784Z",fill:"#A3714C"}),(0,a.jsx)("path",{d:"M91.9883 48.8887C91.9883 48.4636 92.3329 48.1189 92.7581 48.1189C93.1832 48.1189 93.5278 48.4636 93.5278 48.8887V54.2772C93.5278 54.7024 93.1832 55.047 92.7581 55.047C92.3329 55.047 91.9883 54.7024 91.9883 54.2772V48.8887Z",fill:"white",fillOpacity:"0.35"}),(0,a.jsx)("path",{d:"M0 46.5784C0 45.7282 0.689288 45.0389 1.53957 45.0389C2.38985 45.0389 3.07914 45.7282 3.07914 46.5784V54.2763C3.07914 55.1266 2.38985 55.8158 1.53957 55.8158C0.689288 55.8158 0 55.1266 0 54.2763V46.5784Z",fill:"#A3714C"}),(0,a.jsx)("path",{d:"M0.384766 48.8887C0.384766 48.4636 0.72941 48.1189 1.15455 48.1189C1.57969 48.1189 1.92433 48.4636 1.92433 48.8887V54.2772C1.92433 54.7024 1.57969 55.047 1.15455 55.047C0.72941 55.047 0.384766 54.7024 0.384766 54.2772V48.8887Z",fill:"white",fillOpacity:"0.4"}),(0,a.jsx)("rect",{x:"4.61914",y:"49.5",width:"85.446",height:"1",fill:"#736B5E",opacity:"0.85"}),(0,a.jsxs)("defs",{children:[(0,a.jsxs)("linearGradient",{id:s,x1:"47.34",y1:"1.53",x2:"47.34",y2:"43.51",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#C36520"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#C36520",stopOpacity:"0"})]}),(0,a.jsxs)("linearGradient",{id:i,x1:"47.34",y1:"57.25",x2:"47.34",y2:"98.47",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#C36520",stopOpacity:"0"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#C36520"})]}),(0,a.jsxs)("linearGradient",{id:r,x1:"47",y1:"2",x2:"47",y2:"50",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#000",stopOpacity:"0.06"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#000",stopOpacity:"0"})]}),(0,a.jsxs)("linearGradient",{id:o,x1:"47",y1:"50",x2:"47",y2:"98",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#000",stopOpacity:"0"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#000",stopOpacity:"0.08"})]}),(0,a.jsxs)("filter",{id:n,x:"-20%",y:"-20%",width:"140%",height:"140%",children:[(0,a.jsx)("feTurbulence",{type:"fractalNoise",baseFrequency:"1.15",numOctaves:"3",stitchTiles:"stitch",result:"noise"}),(0,a.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.55  0 0 0 0 0.4  0 0 0 0 0.22  0 0 0 0.55 0",in:"noise"})]}),(0,a.jsx)("pattern",{id:t,patternUnits:"userSpaceOnUse",width:"94.6836",height:"100",children:(0,a.jsx)("rect",{width:"94.6836",height:"100",filter:"url
1(#".concat(n,")")})})]})]})},d={lg:{row:"gap-[1.8rem] max-sm:gap-[1.2rem]",unit:"w-[9.5rem] gap-[1.3rem] max-sm:w-[7.1rem] max-sm:gap-[1.2rem]",card:"h-40 max-sm:h-[7.5rem]",digit:"text-[5.6rem] max-sm:text-[3.6rem]",label:"text-[1.5rem] tracking-[0.06em] max-sm:text-lg max-sm:tracking-[0.04em]",cornerTop:"rounded-t-[1.08rem] max-sm:rounded-t-[0.81rem]",cornerBottom:"rounded-b-[1.08rem] max-sm:rounded-b-[0.81rem]"},sm:{row:"gap-[0.6rem]",unit:"w-[4.8rem] gap-2",card:"h-[5.1rem]",digit:"text-[2.8rem]",label:"text-[0.8rem] uppercase tracking-[0.04em]",cornerTop:"rounded-t-[0.55rem]",cornerBottom:"rounded-b-[0.55rem]"}},m=e=>{let{half:l,value:t,size:s,className:i,onAnimationEnd:r}=e;return(0,a.jsxs)("div",{onAnimationEnd:r,className:(0,n.cn)("absolute inset-x-0 flex h-1/2 justify-center overflow-hidden","top"===l?(0,n.cn)("top-0 items-end",d[s].cornerTop):(0,n.cn)("bottom-0 items-start",d[s].cornerBottom),i),children:[(0,a.jsx)("span",{className:(0,n.cn)("font-dm-serif-text leading-none text-primary",d[s].digit,"top"===l?"translate-y-1/2":"-translate-y-1/2 brightness-[0.9]"),children:t}),(0,a.jsx)("span",{"aria-hidden":!0,className:(0,n.cn)("pointer-events-none absolute inset-x-0 h-1/2","top"===l?"bottom-0 bg-gradient-to-t from-black/[0.07] to-transparent":"top-0 bg-gradient-to-b from-black/[0.09] to-transparent")})]})},c=e=>{let{value:l,label:t,uid:s,size:c="lg",labelClassName:u}=e,[x,h]=(0,r.useState)(l),p=String(Math.max(0,l)).padStart(2,"0"),g=String(Math.max(0,x)).padStart(2,"0"),v=x!==l;return(0,r.useEffect)(()=>{if(!v)return;let e=setTimeout(()=>h(l),700);return()=>clearTimeout(e)},[v,l]),(0,a.jsxs)("div",{className:(0,n.cn)("flex flex-col items-center",d[c].unit),children:[(0,a.jsxs)("div",{className:(0,n.cn)("countdown-flip-unit relative w-full [perspective:30rem]",d[c].card),children:[(0,a.jsx)(o,{uid:s}),(0,a.jsxs)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 end-[4.88%] start-[4.88%]",children:[(0,a.jsx)(m,{half:"top",value:p,size:c}),(0,a.jsx)(m,{half:"bottom",value:g,size:c}),v?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m,{half:"top",value:g,size:c,className:"animate-flip-fold bg-[#FAF6EA] [backface-visibility:hidden] [transform-origin:bottom] motion-reduce:animate-none"},"fold-".concat(g,"-").concat(p)),(0,a.jsx)(m,{half:"bottom",value:p,size:c,className:"animate-flip-unfold bg-[#FAF6EA] [backface-visibility:hidden] [transform-origin:top] [transform:rotateX(180deg)] motion-reduce:animate-none",onAnimationEnd:()=>h(l)},"unfold-".concat(g,"-").concat(p))]}):null]}),(0,a.jsx)("span",{className:"sr-only",children:p})]}),(0,a.jsx)("p",{className:(0,n.cn)("font-bold capitalize text-white/60",d[c].label,u),children:(0,i.oQ)(t)})]})},u=e=>{let{remaining:l,labels:t,size:i="lg",className:o,labelClassName:m}=e,u="ar"===(0,s.useCurrentLocale)(),x=(0,r.useId)().replace(/[^a-zA-Z0-9]/g,""),h=[{key:"days",value:l.days,label:t.days},{key:"hours",value:l.hours,label:t.hours},{key:"minutes",value:l.minutes,label:t.minutes},{key:"seconds",value:l.seconds,label:t.seconds}];return(0,a.jsx)("div",{dir:u?"rtl":"ltr",className:(0,n.cn)("countdown-flip-row flex items-center justify-center",d[i].row,o),children:h.map(e=>(0,a.jsx)(c,{uid:"".concat(x,"-").concat(e.key),value:e.value,label:e.label,size:i,labelClassName:m},e.key))})}},89898:(e,l,t)=>{t.r(l),t.d(l,{default:()=>m});var a=t(95155),s=t(53261),i=t(38833),n=t(43485);let r=e=>(0,a.jsx)("svg",{width:"133",height:"78",viewBox:"0 0 133 78",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,a.jsx)("path",{opacity:"0.2",d:"M133 0C131.105 8.27756 129.104 17.0857 126.998 26.4245C125.102 35.7633 123.312 44.8898 121.627 53.8041C119.942 62.5061 118.573 70.5714 117.52 78H74.2399L72.0285 74.498C73.924 66.8571 76.346 58.7918 79.2945 50.302C82.2431 41.8122 85.4022 33.2163 88.772 24.5143C92.3523 15.8122 95.8274 7.64082 99.1972 0H133ZM60.9715 0C59.076 8.27756 57.0752 17.0857 54.9691 26.4245C53.0736 35.7633 51.2835 44.8898 49.5986 53.8041C47.9137 62.5061 46.5447 70.5714 45.4917 78H2.2114L0 74.498C1.89549 66.8571 4.3175 58.7918 7.26603 50.302C10.2146 41.8122 13.3737 33.2163 16.7435 24.5143C20.3238 15.8122 23.7989 7.64082 27.1686 0H60.9715Z",fill:"currentColor"})});var o=t(98933),d=t(14295);let m=e=>{var l,t,m;let{block:c}
1=e,{Heading:u,Title:x,Image:h,Quote:p,SectionDetails:g}=c||{},v=(0,d.gK)(null!=(m=null==g?void 0:g.BackgroundColor)?m:null);return(0,a.jsxs)(s.default,{className:(0,d.cn)("quote-block px-32 max-lg:px-24 max-md-lg:px-8 max-md-lg:pb-0",v,(null==g?void 0:g.DisableBottomSpace)?"":"mb-32 max-md:mb-16"),children:[(null==g?void 0:g.BlockID)?(0,a.jsx)(n.A,{id:null==g?void 0:g.BlockID}):null,(0,a.jsxs)("div",{className:(0,d.cn)("flex gap-40 max-lg:gap-20 max-md-lg:flex-col-reverse max-md-lg:gap-16 max-md-lg:pt-28"),children:[(null==h||null==(t=h.Image)||null==(l=t.data)?void 0:l.attributes)?(0,a.jsx)(i.A,{width:706,height:832,image:null==h?void 0:h.Image,className:"relative aspect-[0.848] w-[41.3rem] min-w-[28.5rem] !bg-contain max-al:w-[36rem] max-md-lg:mx-auto max-md-lg:w-96 max-sm:w-[90%] [&_img]:absolute [&_img]:inset-0 [&_img]:object-contain [&_img]:object-bottom",alternativeText:"Quote Image"}):null,(0,a.jsxs)("div",{className:"quote-content relative flex w-[calc(100%-50.3rem)] flex-col gap-8 py-56 pe-[8.5rem] max-al:pb-20 max-lg:w-[calc(100%-20rem)] max-lg:pe-24 max-lg:pt-28 max-md-lg:w-full max-md-lg:gap-8 max-md-lg:p-0",children:[u?(0,a.jsx)("h2",{className:"small uppercase !leading-normal text-primary",children:(0,o.oQ)(u)}):null,p?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r,{className:(0,d.cn)("absolute end-0 top-10 opacity-20 max-lg:top-10 max-lg:w-36 max-md-lg:-top-16 max-md-lg:w-28 rtl:-scale-x-100",v&&"max-md-lg:-top-24")}),(0,a.jsx)("h3",{className:"md:h3-small",children:(0,o.oQ)(p)})]}):null,x?(0,a.jsx)("div",{className:"text-[2rem] font-normal opacity-80 rtl:text-[2.5rem] rtl:leading-normal",children:(0,o.oQ)(x)}):null]})]})]})}},90987:(e,l,t)=>{t.d(l,{Et:()=>o,d0:()=>r,jc:()=>n});var a=t(95155),s=t(52736);t(12115);var i=t(14295);function n(e){let{...l}=e;return(0,a.jsx)(s.bL,{"data-slot":"hover-card",...l})}function r(e){let{...l}=e;return(0,a.jsx)(s.l9,{"data-slot":"hover-card-trigger",...l})}function o(e){let{className:l,align:t="center",sideOffset:n=4,...r}=e;return(0,a.jsx)(s.ZL,{"data-slot":"hover-card-portal",children:(0,a.jsx)(s.UC,{"data-slot":"hover-card-content",align:t,sideOffset:n,className:(0,i.cn)("bg-popover text-popover-foreground origin-(--radix-hover-card-content-transform-origin) outline-hidden z-50 w-64 rounded-md border p-4 shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",l),...r})})}},92895:(e,l,t)=>{t.r(l),t.d(l,{default:()=>c});var a=t(95155),s=t(3903),i=t(14295),n=t(15239),r=t(12115),o=t(3998),d=t(9938),m=t(98933);let c=e=>{let{block:l}=e,{Title:t,SubTitle:c,Entities:u,SectionDetails:x}=l||{},h=(0,s.s9)(),[p,g]=(0,r.useState)(12),v=null==u?void 0:u.slice(0,p),f=u&&u.length>p;return(null==u?void 0:u.length)===0?null:(0,a.jsxs)("section",{className:(0,i.cn)("participated-entities bg-body-900 px-32 pt-32 max-lg:px-24 max-md:px-8 max-md:pt-12",(null==x?void 0:x.DisableBottomSpace)?"pb-0":"pb-32 max-md:pb-12"),children:[t?(0,a.jsx)("h2",{className:"h3 mb-32 w-full text-center leading-tight max-md:mb-8 max-md:text-[2.4rem]",children:(0,m.oQ)(t)}):null,c?(0,a.jsx)("h3",{className:"mb-16 flex w-full flex-col items-center gap-16 text-center text-[3.2rem] leading-tight max-md:h5 after:block after:h-px after:w-full after:max-w-[56rem] after:bg-body-txt after:opacity-10 max-md:mb-8 max-md:gap-8",children:(0,m.oQ)(c)}):null,(0,a.jsxs)("div",{className:(0,i.cn)("relative grid grid-cols-4 gap-12 max-lg:gap-8 max-sm:grid-cols-2 max-sm:gap-4"),children:[null==v?void 0:v.map((e,l)=>{var t,s,r;return(0,a.jsxs)("div",{className:"relative flex justify-center",children:[(null==e?void 0:e.URL)?(0,a.jsx)(d.A,{href:null==e?void 0:e.URL}):null,(0,a.jsx)(n.default,{src:(0,i.Gf)(null==e?void 0:e.Logo),width:280,height:110,alt:(null==e||null==(r=e.Logo)||null==(s=r.data)||null==(t=s.attributes)?void 0:t.alternativeText)||"Entity ".concat(l+1),className:"h-auto w-full"})]},null==e?void 0:e.id)}),(0,a.jsx)("div",{className:(0,i.cn)("mask-gradient-bottom pointer-events-none absolute bottom-0 h-[22.5rem] w-full -scale-y-100 bg-body-900 max-lg:h-[10.5rem]",!f&&"hidden")})]}),f?(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)(o.A,{onClick:()=>g(e=>e+4),children:(0,m.oQ)(h("LoadMore"))})}):null]})}},92985:(e,l,t)=>{t.r(l),t.d(l,{default:()=>d});var a=t(95155),s=t(3903),i=t(37808),n=t(98933),r=t(14295);let o=e=>{let{image:l}=e,t=(0,r.Gf)(null==l?void 0:l.Image);return(0,a.jsx)("div",{className:"flex size-full items-center justify-center rounded-4xl bg-body-900 p-8 max-md:p-2",children:(0,a.jsx)("div",{role:"img","aria-label":(0,r.fr)(null==l?void 0:l.Image,"Logo"),className:"size-full bg-body-txt",style:{maskImage:'url("'.concat(t,'")'),WebkitMaskImage:'url("'.concat(t,'")'),maskSize:"contain",WebkitMaskSize:"contain",maskRepeat:"no-repeat",WebkitMaskRepeat:"no-repeat",maskPosition:"center",WebkitMaskPosition:"center"}})})},d=e=>{let{block:l}
1=e,{Title:t,Images:d,SectionDetails:m}=l||{},c=(0,s.useCurrentLocale)(),u=(d||[]).filter(e=>{var l,t;return null==e||null==(t=e.Image)||null==(l=t.data)?void 0:l.attributes}),x=u.length>3,h="flex h-72 w-[32rem] !ps-8 pl-0";return(0,a.jsxs)("section",{className:(0,r.cn)("logo-ticker flex overflow-hidden px-32 max-lg:px-24 max-md-lg:flex-col max-md-lg:px-8 md-lg:items-center",!(null==m?void 0:m.DisableBottomSpace)&&"mb-16"),children:[t?(0,a.jsx)("h2",{className:"h3 shrink-0 max-lg:text-[24px] max-lg:leading-[26px] max-md-lg:mb-12 md-lg:max-w-[20rem] lg:max-w-[30.9rem]",children:(0,n.oQ)(t)}):null,u.length?x?(0,a.jsxs)(i.FN,{autoPlay:!0,autoPlayOptions:{delay:0,stopOnInteraction:!1,stopOnMouseEnter:!1},opts:{loop:!0,duration:1e4,direction:"ar"==c?"rtl":"ltr"},className:"md-lg:w-[calc(100%-30.9rem+15rem)] lg:w-[calc(100%-30.9rem+8rem)]",children:[(0,a.jsx)("div",{className:"pointer-events-none absolute -start-28 top-1/2 z-40 h-[120%] w-40 -translate-y-1/2 bg-body blur-[1.4rem] max-md-lg:hidden"}),(0,a.jsxs)(i.Wk,{parentClassName:"max-md-lg:-ms-8 overflow-visible",children:[u.map(e=>(0,a.jsx)(i.A7,{className:h,children:(0,a.jsx)(o,{image:e})},"logo-".concat(null==e?void 0:e.id))),u.map(e=>(0,a.jsx)(i.A7,{className:h,children:(0,a.jsx)(o,{image:e})},"logo-duplicate-".concat(null==e?void 0:e.id)))]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"ms-8 flex min-w-0 flex-1 justify-end gap-8 max-lg:gap-6 max-md-lg:hidden",children:u.map(e=>(0,a.jsx)("div",{className:"h-72 min-w-0 shrink grow-0 basis-[32rem]",children:(0,a.jsx)(o,{image:e})},"logo-".concat(null==e?void 0:e.id)))}),(0,a.jsx)(i.FN,{opts:{loop:!1,align:"start",direction:"ar"==c?"rtl":"ltr"},className:"md-lg:hidden",children:(0,a.jsx)(i.Wk,{parentClassName:"max-md-lg:-ms-8 overflow-visible",children:u.map(e=>(0,a.jsx)(i.A7,{className:h,children:(0,a.jsx)(o,{image:e})},"logo-mobile-".concat(null==e?void 0:e.id)))})})]}):null]})}},93558:(e,l,t)=>{t.r(l),t.d(l,{default:()=>n});var a=t(95155),s=t(3495),i=t(12115);let n=e=>{let{darkHeader:l,lightHeader:t}=e,{setIsDarkHeader:n}=(0,s.n)();return(0,i.useEffect)(()=>(n(!!l),()=>{n(!1)}),[]),(0,i.useEffect)(()=>{if(t)return document.body.classList.add("has-light-header"),()=>{document.body.classList.remove("has-light-header")}},[t]),(0,a.jsx)(a.Fragment,{})}},95912:(e,l,t)=>{t.d(l,{default:()=>y});var a=t(95155),s=t(3903),i=t(11186),n=t(26549),r=t(14295),o=t(34384),d=t(29447),m=t(91374),c=t(12115),u=t(91837),x=t(67016),h=t(53261),p=t(33878),g=t(15239);let v=e=>{let{EnablePattern:l}=e;return l?(0,a.jsx)("div",{className:"pointer-events-none absolute start-0 top-0 -z-10 w-full overflow-hidden opacity-40",children:(0,a.jsx)(g.default,{width:1440,height:1078,src:"/images/bg-pattern.svg",alt:"Erth Dubai",unoptimized:!0,className:"relative !bottom-auto !left-1/2 !h-auto w-[109.7rem] min-w-[100vw] -translate-x-1/2 object-contain object-top"})}):null};var f=t(42357),b=t(98933);let w=[[{id:1,h:170},{id:2,h:545},{id:3,h:380},{id:4,h:380}],[{id:5,h:380},{id:6,h:545},{id:7,h:420},{id:8,h:380}],[{id:9,h:545},{id:10,h:545},{id:11,h:380}],[{id:12,h:240},{id:13,h:545},{id:14,h:380},{id:15,h:545}]],y=e=>{var l;let{block:t,page:g,libraries:y,categories:j,fileTypes:N,fileTypeCounts:S={}}=e,[C,A]=(0,c.useState)("all"),[k,T]=(0,c.useState)("all"),[z,I]=(0,c.useState)(n.Bv),_=(0,s.useCurrentLocale)(),L=(0,s.s9)(),{data:R}=(0,u.Ay)("all"!==C?"/api/libraries/counts?category=".concat(C,"&locale=").concat(_):null,e=>fetch(e).then(e=>e.json())),M=null!=R?R:S,Q=(0,c.useCallback)((e,l)=>l&&l.data.length<20?null:"/api/libraries?category=".concat(C,"&fileType=").concat(k,"&sort=").concat(z,"&page=").concat(e+1,"&pageSize=").concat(20,"&locale=").concat(_),[C,k,z,_]),{data:E,isLoading:P,isValidating:D,size:F,setSize:U}=(0,x.Ay)(Q,e=>fetch(e).then(e=>e.json()),{fallbackData:y?[y]:void 0,revalidateFirstPage:!1});(0,c.useEffect)(()=>{U(1)},[C,k,z,U]);let B=(0,c.useMemo)(()=>{var e;return null!=(e=null==E?void 0:E.flatMap(e=>e.data))?e:[]},[E]),V=D&&F>(null!=(l=null==E?void 0:E.length)?l:0),O=(0,c.useMemo)(()=>{var e,l;let t=null==E?void 0:E[E.length-1];if(!t)return!1;let{page:a,pageCount:s}=null!=(l=null==t||null==(e=t.meta)?void 0:e.pagination)?l:{};return a<s},[E]),G=(0,c.useRef)(null),q=(0,c.useRef)(null);(0,c.useEffect)(()=>
1{if(!G.current||!O||V)return;let e=new IntersectionObserver(e=>{let[l]=e;l.isIntersecting&&U(e=>e+1)},{threshold:.1});return e.observe(G.current),()=>e.disconnect()},[O,V,U]);let{scrollYProgress:H}=(0,o.L)({target:q,offset:["start end","end start"]}),W=(0,d.G)(H,[0,1],[10,0]),Z=(0,d.G)(H,[0,1],[150,-250]),Y=(0,d.G)(H,[0,1],[100,-180]),K=(0,c.useMemo)(()=>[W,Z,0,Y],[W,Z,Y]),X=(0,c.useMemo)(()=>{let e=Array.from({length:4},()=>[]),l=[,,,,].fill(0);return B.forEach(t=>{var a,s,i;let n,r=null==(i=t.attributes.Media)||null==(s=i.Image)||null==(a=s.data)?void 0:a.attributes,o=t.attributes.EmbedCode;n=(null==r?void 0:r.width)&&(null==r?void 0:r.height)?r.height/r.width:(null==o?void 0:o.includes("tiktok.com"))?16/9:(null==o?void 0:o.includes("instagram.com"))?5/4:16/9;let d=l.indexOf(Math.min(...l));e[d].push(t),l[d]+=300*n+32}),e},[B]),J=(0,c.useMemo)(()=>[...(0,r.Oh)(null==g?void 0:g.ParentPage),{title:null==t?void 0:t.Title}].filter(Boolean),[null==g?void 0:g.ParentPage,null==t?void 0:t.Title]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{EnablePattern:!0}),(0,a.jsxs)(h.default,{className:"library-list relative isolate gap-12 px-32 pb-24 pt-72 max-lg:px-24 max-md-lg:px-8 max-md:pb-24 max-md:pt-60 max-sm:mb-16",children:[(0,a.jsx)(p.default,{className:(0,r.cn)("mb-12"),classNames:{link:"after:bg-white hover:opacity-80"},trail:J}),(0,a.jsxs)("div",{className:"mb-12 max-md:mb-8",children:[(0,a.jsx)("h1",{className:"h2 lg:text-[6.6rem]",children:(0,b.oQ)(null==t?void 0:t.Title)}),(0,a.jsxs)("div",{className:"mt-12 flex flex-wrap items-center justify-between gap-6",children:[N&&N.data.length>0&&(0,a.jsx)("div",{className:"flex flex-1 flex-wrap gap-3 max-sm:w-full max-sm:flex-none max-sm:flex-nowrap max-sm:overflow-x-auto",children:N.data.map(e=>{let l=e.attributes.ShowAll?"all":String(e.id),t=k===l,s=e.attributes.ShowAll?"all":String(e.id);return(0,a.jsxs)("button",{onClick:()=>T(l),className:(0,r.cn)("sub-label flex items-center gap-2 rounded-full border p-[0.8rem] ps-8 transition-colors",t?"border-transparent bg-[#A85C38] text-white":"border-body-txt/20 bg-transparent text-body-txt/60 hover:border-body-txt/40"),children:[(0,a.jsx)("span",{children:(0,b.oQ)(e.attributes.FileTypeTitle)}),void 0!==M[s]&&(0,a.jsx)("span",{className:(0,r.cn)("sub-label flex size-[3.2rem] items-center justify-center rounded-full",t?"bg-white/20 text-white":e.attributes.ShowAll?"text-body-txt/50":"bg-black/5 text-black/60"),children:M[s]})]},e.id)})}),j&&j.data.length>0&&(0,a.jsx)("div",{className:"max-w-[30rem] flex-none max-sm:w-full max-sm:max-w-full",children:(0,a.jsxs)(i.l6,{value:C,onValueChange:A,children:[(0,a.jsx)(i.bq,{className:"!normal-case",children:(0,a.jsx)(i.yv,{})}),(0,a.jsx)(i.gC,{children:j.data.map(e=>{var l;let t=e.attributes.ShowAll?"all":null!=(l=e.attributes.CategorySlug)?l:String(e.id);return(0,a.jsx)(i.eb,{value:t,children:(0,b.oQ)(e.attributes.CategoryTitle)},e.id)})})]})}),(0,a.jsx)("div",{className:"max-w-[30rem] flex-none max-sm:w-full max-sm:max-w-full",children:(0,a.jsxs)(i.l6,{value:z,onValueChange:e=>I(e),children:[(0,a.jsx)(i.bq,{"aria-label":L("SortBy"),className:"!normal-case",children:(0,a.jsx)(i.yv,{})}),(0,a.jsx)(i.gC,{children:Object.keys(n.aV).map(e=>(0,a.jsx)(i.eb,{value:e,children:(0,b.oQ)(L("latest"===e?"LatestFirst":"OldestFirst"))},e))})]})})]})]}),(0,a.jsx)("div",{className:"h-px w-full bg-body-txt/10"}),!P&&0===B.length&&(0,a.jsx)("div",{className:"flex min-h-64 items-center justify-center",children:(0,a.jsx)("p",{className:"text-body-txt/40",children:(0,b.oQ)(L("NoResultsFound"))})}),(0,a.jsx)("div",{ref:q,className:(0,r.cn)("card-list mt-12 grid grid-cols-2 gap-8 overflow-hidden al:grid-cols-4",P&&"opacity-50 transition-opacity",!P&&0===B.length&&"hidden"),children:P?w.map((e,l)=>(0,a.jsx)(m.P.div,{style:{y:K[l]},className:"flex flex-col gap-8",children:e.map(e=>(0,a.jsx)("div",{className:"w-full animate-pulse overflow-hidden rounded-4xl bg-body-txt/10",style:{aspectRatio:"305 / ".concat(e.h)}},e.id))},l)):X.map((e,l)=>(0,a.jsx)(m.P.div,{style:{y:K[l]},className:"flex flex-col gap-8",children:e.map(e=>(0,a.jsx)(f.A,{item:e,allItems:B,itemIndex:B.findIndex(l=>(null==l?void 0:l.id)===(null==e?void 0:e.id))},null==e?void 0:e.id))},l))}),V&&(0,a.jsx)("div",{className:"mt-12 flex justify-center",children:(0,a.jsx)("div",{className:"size-10 animate-spin rounded-full border-2 border-body-txt/20 border-t-body-txt"})}),(0,a.jsx)("div",{ref:G,className:"h-px"})]})]})}},99622:(e,l,t)=>{t.r(l),t.d(l,{default:()=>m});var a=t(95155),s=t(98933),i=t(14295),n=t(16405),r=t(15239),o=t(53261),d=t(33878);let m=e=>{var l,t,m,c,u,x,h;let{block:p,page:g}=e,v=(0,i.Oh)(null==g?void 0:g.ParentPage),f=null==g?void 0:g.PageTitle,b=[...v,{title:f}
1].filter(Boolean);return(0,a.jsxs)(o.default,{className:"awards-banner 1 relative isolate flex gap-12 px-32 pt-72 max-lg:px-24 max-md-lg:px-8 max-md:pt-60",children:[(0,a.jsxs)("div",{className:"max-w-[58rem] pb-48",children:[(0,a.jsx)(d.default,{className:(0,i.cn)("mb-16"),classNames:{link:"after:bg-white hover:opacity-80"},trail:b}),(0,a.jsx)("h1",{className:"h2 mb-12 md:text-[6.6rem] rtl:mb-20 rtl:!leading-none",children:(0,s.oQ)(null!=(h=null==p?void 0:p.OverwriteTitle)?h:null==g?void 0:g.PageTitle)}),(null==p?void 0:p.Content)?(0,a.jsx)("div",{className:"flex flex-col gap-12",children:(0,n.Ay)(null==p?void 0:p.Content)}):null]}),(0,a.jsx)("div",{className:"flex-1",children:(null==p||null==(m=p.AwardImage)||null==(t=m.data)||null==(l=t.attributes)?void 0:l.url)?(0,a.jsx)(r.default,{src:(0,i.Gf)(null==p?void 0:p.AwardImage),alt:(null==p||null==(x=p.AwardImage)||null==(u=x.data)||null==(c=u.attributes)?void 0:c.alternativeText)||f,fill:!0,className:"!-end-56 !start-auto bottom-0 -z-10 !h-auto w-full min-w-[35rem] max-w-[calc(100%-40rem)] object-contain object-bottom max-lg:max-w-[calc(100%-30rem)] max-md:!top-52 max-md:opacity-40 max-sm:!inset-x-0 max-sm:!top-auto max-sm:mx-auto 3xl:max-w-[1370px]"}):null})]})}},99697:(e,l,t)=>{t.d(l,{default:()=>h});var a=t(95155),s=t(53261),i=t(37808),n=t(14295),r=t(16405),o=t(15239),d=t(12115);let m=["0","1","2","3","4","5","6","7","8","9"],c=(0,d.forwardRef)((e,l)=>{let{value:t,className:s,animate:i=!0}=e,r=t.split(""),[o,c]=(0,d.useState)(!i);return(0,d.useEffect)(()=>{if(!i)return;let e=0,l=requestAnimationFrame(()=>{e=requestAnimationFrame(()=>c(!0))});return()=>{cancelAnimationFrame(l),cancelAnimationFrame(e)}},[i]),(0,a.jsx)("span",{ref:l,dir:"ltr",className:(0,n.cn)("inline-flex items-center leading-none",s),"aria-label":t,children:r.map((e,l)=>{let t=m.indexOf(e);return t<0?(0,a.jsx)("span",{"aria-hidden":!0,className:"flex h-[1em] items-center leading-none",children:e},"char-".concat(l)):(0,a.jsx)("span",{"aria-hidden":!0,className:"inline-block h-[1em] overflow-hidden leading-none",children:(0,a.jsx)("span",{className:"ease-[cubic-bezier(0.16,1,0.3,1)] flex flex-col leading-none transition-transform duration-1000",style:{transform:"translateY(-".concat((o?t:0)*10,"%)"),transitionDelay:"".concat(90*l,"ms")},children:m.map(e=>(0,a.jsx)("span",{className:"flex h-[1em] items-center leading-none",children:e},e))})},"reel-".concat(l))})})});c.displayName="RollingNumber";var u=t(98933);let x=e=>"".concat((null==e?void 0:e.Prefix)||"").concat((null==e?void 0:e.Number)||"").concat((null==e?void 0:e.Suffix)||""),h=e=>{var l;let{block:t}=e,{Title:m,SubTitle:h,Numbers:p,SectionDetails:g}=t||{},v=(p||[]).filter(e=>(null==e?void 0:e.Number)||(null==e?void 0:e.Title)),f=v.length,b=(0,d.useMemo)(()=>{if(!f)return[];if(1===f)return[0];let e=Math.max(1,Math.ceil(9/f));return Array.from({length:f*e},(e,l)=>l%f)},[f]),[w,y]=(0,d.useState)(null),[j,N]=(0,d.useState)(0),[S,C]=(0,d.useState)(!1),A=(0,d.useRef)(null),[k,T]=(0,d.useState)(0),z=(0,d.useRef)(null);(0,d.useEffect)(()=>{let e=A.current;if(!e)return;let l=new IntersectionObserver(e=>{let[l]=e;return C(l.isIntersecting)},{threshold:.35});return l.observe(e),()=>l.disconnect()},[]),(0,d.useEffect)(()=>{var e,l;let t=null==w||null==(l=w.plugins)||null==(e=l.call(w))?void 0:e.autoplay;t&&(S?t.play():t.stop())},[w,S]),(0,d.useEffect)(()=>{if(!w||!f)return;let e=()=>N(w.selectedScrollSnap()%f);return e(),w.on("select",e),w.on("reInit",e),()=>{w.off("select",e),w.off("reInit",e)}},[w,f]),(0,d.useEffect)(()=>{var e;let l=z.current;if(!l)return;let t=()=>T(l.getBoundingClientRect().width),a=new ResizeObserver(t);return a.observe(l),t(),null==(e=document.fonts)||e.ready.then(t).catch(()=>void 0),()=>a.disconnect()},[j,f]);let I=(e,l)=>(0,a.jsx)("p",{dir:"ltr",className:(0,n.cn)("flex items-center justify-center px-8 text-center font-dm-serif-text leading-none transition-all duration-500",e===j?"translate-y-[-3.7rem] text-[14rem] text-primary blur-0 max-al:text-[11rem] max-md-lg:text-[8rem] max-sm:translate-y-[-2.5rem] max-sm:text-[5rem]":"text-[9.4rem] text-primary/40 blur-[3px] max-al:text-[7.4rem] max-md-lg:text-[5.4rem] max-sm:text-[3.2rem]"),children:(0,a.jsx)(c,{ref:e===j&&l<f?z:null,value:x(v[e]),animate:e===j},"roll-".concat(l,"-").concat(j))}),_=(0,d.useCallback)(e=>{if(!w||!f)return;let l=w.selectedScrollSnap();w.scrollTo(l+(e-l%f))},[w,f]);return f?(0,a.jsxs)(s.default,{id:null==g?void 0:g.BlockID,className:(0,n.cn)("number-ticker-block relative isolate overflow-hidden",!(null==g?void 0:g.DisableBottomSpace)&&"mb-40 max-md:mb-16"),
1children:[(0,a.jsx)(o.default,{src:"/images/bg-pattern.svg",alt:"Erth Dubai",unoptimized:!0,fill:!0,className:"pointer-events-none -z-20 object-cover object-center opacity-40"}),(0,a.jsxs)("div",{ref:A,className:"relative mx-auto flex items-center px-32 max-lg:px-24 max-md-lg:flex-col max-md-lg:gap-16 max-md-lg:px-8",children:[(0,a.jsxs)("div",{className:"relative z-10 flex w-[45%] shrink-0 flex-col gap-20 max-md-lg:w-full max-md-lg:gap-10",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-6",children:[h?(0,a.jsx)("p",{className:"font-merriweather text-xl font-bold uppercase leading-normal tracking-[0.04em] text-primary",children:(0,u.oQ)(h)}):null,m?(0,a.jsx)("div",{className:"content capitalize [&_*]:!leading-none [&_h1]:!mb-0 [&_h2]:!mb-0 [&_p]:!mb-0 [&_p]:font-dm-serif-text [&_p]:text-[6.6rem] max-md-lg:[&_p]:text-[4.6rem] max-sm:[&_p]:text-[3.6rem]",children:(0,r.Ay)(m)}):null]}),f>1?(0,a.jsx)("div",{className:"flex items-center gap-4",children:v.map((e,l)=>{var t;return(0,a.jsx)("button",{type:"button","aria-label":(null==e?void 0:e.Title)||x(e),"aria-current":l===j,onClick:()=>_(l),className:(0,n.cn)("size-3 rounded-full transition-colors duration-500",l===j?"bg-body-txt":"bg-body-txt/20")},"ticker-dot-".concat(null!=(t=null==e?void 0:e.id)?t:l))})}):null]}),(0,a.jsx)("div",{className:"relative flex flex-1 justify-center max-md-lg:w-full",children:(0,a.jsxs)("div",{className:"relative aspect-[739/700] w-[73.9rem] max-w-none max-al:w-[60rem] max-md-lg:w-full max-md-lg:max-w-[50rem] ltr:al:-translate-x-40",children:[(0,a.jsx)(o.default,{src:"/images/number-ticker-bubble.svg",alt:"","aria-hidden":!0,width:739,height:700,className:"pointer-events-none absolute inset-0 size-full object-contain"}),(0,a.jsx)(o.default,{src:"/images/number-ticker-bubble-inner.svg",alt:"","aria-hidden":!0,width:669,height:635,className:"pointer-events-none absolute inset-x-0 top-[4.6%] mx-auto h-[90.7%] w-[90.5%] object-contain"}),(0,a.jsx)("div",{className:"absolute inset-0 flex translate-y-[-1.7rem] items-center justify-center",children:(0,a.jsxs)("div",{className:"relative w-full",children:[f>1?(0,a.jsx)(i.FN,{setApi:y,orientation:"vertical",opts:{loop:!0,align:"center"},autoPlay:!0,autoPlayOptions:{delay:4e3,stopOnInteraction:!1,stopOnMouseEnter:!0},className:"w-full",children:(0,a.jsx)(i.Wk,{parentClassName:"w-full [mask-image:linear-gradient(to_bottom,transparent,black_18%,black_82%,transparent)]",className:"-mt-0 h-[58.2rem] max-al:h-[48rem] max-md-lg:h-[38.4rem] max-sm:h-[25.5rem]",children:b.map((e,l)=>(0,a.jsx)(i.A7,{className:"flex basis-[19.4rem] items-center justify-center pt-0 max-al:basis-64 max-md-lg:basis-[12.8rem] max-sm:basis-[8.5rem]",children:I(e,l)},"ticker-".concat(l)))})}):(0,a.jsx)("div",{className:"flex h-[58.2rem] w-full items-center justify-center max-al:h-[48rem] max-md-lg:h-[38.4rem] max-sm:h-[25.5rem]",children:I(0,0)}),(0,a.jsxs)("div",{className:"pointer-events-none absolute inset-x-0 top-1/2 flex translate-y-[5.7rem] flex-col items-center gap-6 max-al:translate-y-[4.2rem] max-md-lg:translate-y-[2.7rem] max-sm:translate-y-[1.6rem] max-sm:gap-4",children:[(0,a.jsx)("span",{"aria-hidden":!0,className:"h-px bg-body-txt/10 transition-[width] duration-500",style:{width:k?"".concat(k,"px"):"0px"}}),(0,a.jsx)("p",{className:"px-8 text-center font-dm-serif-text text-[2.4rem] leading-[1.1] text-body-txt max-sm:text-1xl",children:(0,u.oQ)(null==(l=v[j])?void 0:l.Title)})]})]})})]})})]})]}):null}}}]);

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.