PageSourceSearch

https://baitmohammedbinkhalifa.ae/_next/static/chunks/pages/[[...path]]-e1cf759a9dddf77f.js

js baitmohammedbinkhalifa.ae collected 2026-10-07 21:00:04 UTC 49,760 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[183],{429:e=>{e.exports={wideBgSection:"WideBgSection_wideBgSection__DzvCw"}},668:(e,l,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[[...path]]",function(){return a(7112)}])},845:e=>{e.exports={flipCard:"FlipCard_flipCard__9h4Lr",inverse:"FlipCard_inverse__hPV8o"}},985:e=>{e.exports={spaceCard:"SpaceCard_spaceCard__czmq9"}},1181:e=>{e.exports={chips:"Chips_chips__xrEJj"}},1885:e=>{e.exports={mediaItem:"MediaItem_mediaItem__2fBeS"}},2838:(e,l,a)=>{"use strict";var n=a(9742);let s={};s.sitecoreApiKey=n.env.SITECORE_API_KEY||"5B5ECD1F-7FA9-426B-A738-099F26D3C749",s.sitecoreApiHost=n.env.SITECORE_API_HOST||"https://mc2-c21b7e05-10ef-44c0-a30d-036b-cd.azurewebsites.net",s.sitecoreSiteName=n.env.SITECORE_SITE_NAME||"bmbkSite",s.graphQLEndpointPath=n.env.GRAPH_QL_ENDPOINT_PATH||"/sitecore/api/graph/items/web",s.defaultLanguage=n.env.DEFAULT_LANGUAGE||"en",s.graphQLEndpoint=n.env.GRAPH_QL_ENDPOINT||"https://mc2-c21b7e05-10ef-44c0-a30d-036b-cd.azurewebsites.net/sitecore/api/graph/items/web",s.layoutServiceConfigurationName=n.env.LAYOUT_SERVICE_CONFIGURATION_NAME||"sxa-jss",s.publicUrl="https://baitmohammedbinkhalifa.ae",s.sitecoreEnableTracking=n.env.SITECORE_ENABLE_TRACKING||"",e.exports=s},3062:e=>{e.exports={contactInfo:"ContactInfoMap_contactInfo__amuLc",contactItem:"ContactInfoMap_contactItem__BvqDu",contactIframe:"ContactInfoMap_contactIframe__PH4Ql"}},3804:e=>{e.exports={socialSection:"SocialSection_socialSection__yJGvU"}},3972:e=>{e.exports={clippedImage:"ClippedImage_clippedImage__57jjT"}},5877:e=>{e.exports={videoCard:"VideoCard_videoCard__uMspK",playing:"VideoCard_playing__oNVOq"}},5925:e=>{e.exports={subscription:"Subscription_subscription__Lbnfy"}},7076:e=>{e.exports={imageVideoContent:"ImageVideoContent_imageVideoContent__VPYQ8"}},7112:(e,l,a)=>{"use strict";a.r(l),a.d(l,{__N_SSP:()=>lE,default:()=>lI});var n={};a.r(n),a.d(n,{AboutBMBKTwoColumnContent:()=>X,default:()=>ee});var s={};a.r(s),a.d(s,{AboutPageBookNowContent:()=>ei,default:()=>et});var i={};a.r(i),a.d(i,{AboutPageBookNowContentWithBackground:()=>ed,default:()=>em});var t={};a.r(t),a.d(t,{AboutPageSingleImageContent:()=>eu,default:()=>ex});var r={};a.r(r),a.d(r,{BookNow:()=>ef,default:()=>eS,getServerSideProps:()=>ey});var o={};a.r(o),a.d(o,{ContactInfoMap:()=>ek,default:()=>eA});var c={};a.r(c),a.d(c,{ContactUs:()=>eP,default:()=>eL});var d={};a.r(d),a.d(d,{HTMLContent:()=>eO,default:()=>eq});var m={};a.r(m),a.d(m,{HomeVideoBannerContent:()=>eV,default:()=>eH});var u={};a.r(u),a.d(u,{ImageVideoContent:()=>eJ,default:()=>eQ});var x={};a.r(x),a.d(x,{SocialSection:()=>e6,default:()=>e8});var v={};a.r(v),a.d(v,{SpaceCategories:()=>e9,default:()=>le,getServerSideProps:()=>e3});var h={};a.r(h),a.d(h,{SpaceListing:()=>ll,default:()=>ln,getServerSideProps:()=>la});var p={};a.r(p),a.d(p,{SpacesDetail:()=>ld,default:()=>lm});var g={};a.r(g),a.d(g,{Statistics:()=>lj,default:()=>lb});var j={};a.r(j),a.d(j,{VisionMissionContent:()=>lS,default:()=>lC,getServerSideProps:()=>l_});var b={};a.r(b),a.d(b,{WorldOfBMBK:()=>lw,default:()=>lk});var N=a(7876),f=a(4232),y=a(9478),S=a(5809),_=a(7328),C=a.n(_),w=a(2838),k=a.n(w),A=a(4883);let T=()=>null;var E=a(8600),I=a(2928);let M=k().publicUrl,F=null;F=a(8627).A;let B=e=>{var l,a,n,s,i,t,r,o,c,d;let{layoutData:m,headLinks:u}=e,{route:x}=m.sitecore,v=(0,I.Cx)(),h=null==x?void 0:x.fields,p=(e=>{var l,a,n;let{Title:s,pageTitle:i,BrowserTitle:t,"Page Title":r}=e||{};return(null==s||null==(l=s.value)?void 0:l.toString())||(null==i||null==(a=i.value)?void 0:a.toString())||(null==t||null==(n=t.value)?void 0:n.toString())||(null==r?void 0:r.value.toString())||"Page"})(h),g=(e=>{switch(e){case"berklee":case"clsite":case"cfsite":case"qasralhosn":case"abudhabiculture":case"baitalgahwa":case"gcsite":case"zpe":case"alc":case"szba":case"cultureall":default:return null;case"baitmohammed":return F}})("baitmohammed");return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(T,{}),(0,N.jsxs)(C(),{children:[(0,N.jsx)("title",{children:p}),(0,N.jsx)("link",{rel:"icon",href:"".concat(M,"/favicon.ico"),type:"image/x-icon"}),u.map(e=>(0,N.jsx)("link",{rel:e.rel,href:e.href},e.href)),(0,N.jsx)("meta",{name:"title",content:(null==h||null==(a=h.Title)||null==(l=a.value)?void 0:l.toString())||p}),(0,N.jsx)("meta",{name:"open:graph:title",content:null==h||null==(s=h.OpenGraphTitle)||null==(n=s.value)?void 0:n.toString()}),(0,N.jsx)("meta",{name:"description",content:null==h||null==(t=h.MetaDescription)||null==(i=t.value)?void 0:i.toString()}),(0,N.jsx)("meta",{name:"open:graph:description",content:null==h||null==(o=h.OpenGraphDescription)||null==(r=o.value)?void 0:r.toString()}),(0,N.jsx)("meta",{name:"keywords",content:null==h||null==(d=h.MetaKeywords)||null==(c=d.value)?void 0:c.toString()}),(0,N.jsx)("meta",{name:"referrer",content:"strict-origin-when-cross-origin"})]}),x&&(g?(0,N.jsx)(g,{layoutData:m,isEEActive:v}):(0,N.jsxs)(E.A,{isEEActive:v,children:[(0,N.jsx)("header",{children:(0,N.jsx)(A.O,{name:"header",rendering:x,disableSuspense:!0})}),(0,N.jsx)("main",{children:(0,N.jsx)("div",{className:"container",children:(0,N.jsx)(A.O,{name:"main",rendering:x,disableSuspense:!0})})}),(0,N.jsx)("footer",{children:(0,N.jsx)(A.O,{name:"footer",rendering:x,disableSuspense:!0})})]}))]})};var P=a(4596),L=a(3327),D=a(9363),O=a(7554),q=a(5891),R=a(3677),V=a(5477),H=a(6129),z=a(3509),U=a(4244),K=a(3972),G=a.n(K);let W=e=>{var l;let{field:a,className:n=""}=e;return(0,I.Cx)()?(0,N.jsx)(U.a,{field:a}):(0,N.jsx)("div",{className:G().clippedImage+" "+(n||""),children:(0,N.jsxs)("svg",{viewBox:"0 0 1000 730",children:[(0,N.jsxs)("clipPath",{id:"clipPath",children:[(0,N.jsx)("polygon",{className:"cls-1",points:"998.95 750 706.57 750 706.57 116.9 852.76 0 998.95 116.9 998.95 750"}),(0,N.jsx)("path",{className:"cls-1",d:"M552.26,0C485,0,430.44,56,430.44,125V750H674.08V125C674.08,56,619.54,0,552.26,0Z"}),(0,N.jsx)("rect",{width:397.95,height:750})]}),(0,N.jsx)("image",{xlinkHref:(null==(l=a.value)?void 0:l.src)||"",x:0,y:0,style:{clipPath:"url(#clipPath)"}})]})})};var $=a(6955),Y=a(3207),J=a(5768),Q=a(22),Z=a(312);let X=e=>{var l,a,n,s;let{fields:i}=e,{Title:t,Description:r,Link:o,Image:c,"Mobile Image":d,Video:m,"Mobile Video":u}=i,x=null==d||null==(l=d.value)?void 0:l.src,v=null==u||null==(a=u.value)?void 0:a.src;return(0,N.jsx)("section",{className:"mb-8",children:(0,N.jsxs)("div",{className:"row",children:[(0,N.jsxs)("div",{className:"col-12 col-lg-6",children:[(null==c||null==(n=c.value)?void 0:n.src)&&(0,N.jsx)(W,{field:c,className:x?"d-none d-md-block":""}),x&&(0,N.jsx)(W,{field:d,className:"d-md-none"}),(null==m||null==(s=m.value)?void 0:s.src)&&(0,N.jsx)("video",{src:m.value.src,autoPlay:!0,muted:!0,loop:!0}),v&&(0,N.jsx)("video",{src:u.value.src,autoPlay:!0,muted:!0,loop:!0})]}),(0,N.jsx)("div",{className:"col-12 col-xl-1 d-none d-xl-block"}),(0,N.jsxs)("div",{className:"col-12 col-lg-6 col-xl-5 mt-6",children:[(0,N.jsx)($.E,{field:t,tag:"h1",className:"typo--h2 text--uppercase"}),(null==r?void 0:r.value)&&(0,N.jsx)(J.A,{variant:"small",className:"mb-6",children:(0,N.jsx)(Y.s,{field:r})}),(null==o?void 0:o.value)&&(0,N.jsx)(Q.r,{field:o,className:"btn btn--primary text--uppercase",showLinkTextWithChildrenPresent:!0,children:(0,N.jsx)(Z.A,{icon:"chevron-right",domain:"baitmohammed",size:{w:11,h:12}}
1)})]})]})})},ee=X;var el=a(1885),ea=a.n(el);let en=e=>{var l,a,n,s;let{fields:i,aspectRatio:t="2-1",className:r=""}=e,{Image:o,"Mobile Image":c,Video:d,"Mobile Video":m}=i,u=null==c||null==(l=c.value)?void 0:l.src,x=null==m||null==(a=m.value)?void 0:a.src;return(0,N.jsx)("section",{className:"".concat(ea().mediaItem," ").concat(r||""),children:(0,N.jsx)("figure",{className:"ar ar--".concat(t),children:(0,N.jsxs)("div",{className:"ar__content",children:[o&&(0,N.jsx)(U.a,{field:o,className:u?"d-none d-md-block":""}),c&&(0,N.jsx)(U.a,{field:c,className:"d-block d-md-none"}),(null==d||null==(n=d.value)?void 0:n.src)&&(0,N.jsx)("video",{className:x?"d-none d-md-block":"",src:d.value.src,autoPlay:!0,muted:!0,loop:!0}),(null==m||null==(s=m.value)?void 0:s.src)&&(0,N.jsx)("video",{className:"d-block d-md-none",src:m.value.src,autoPlay:!0,muted:!0,loop:!0})]})})})};var es=a(3482);let ei=e=>{let{fields:l}=e,{Title:a,Description:n,Image:s,"Button Text":i,"Button Link":t}=l;return(0,N.jsx)("section",{id:"events",className:"mb-8",children:(0,N.jsxs)("div",{className:"row",children:[(0,N.jsx)("div",{className:"col-12 col-lg-6 col-xl-5",children:(0,N.jsx)(en,{fields:{Image:s},aspectRatio:"auto",className:"mediaItem--purple"})}),(0,N.jsx)("div",{className:"col-12 col-xl-1 d-none d-xl-block"}),(0,N.jsxs)("div",{className:"col-12 col-lg-6 col-xl-6 mt-8",children:[(0,N.jsx)(Y.s,{field:a,className:"text--uppercase"}),(null==n?void 0:n.value)&&(0,N.jsx)(J.A,{variant:"small",className:"mb-6",children:(0,N.jsx)(Y.s,{field:n})}),(null==t?void 0:t.value)&&(null==i?void 0:i.value)&&(0,N.jsxs)(Q.r,{field:t,className:"btn text--uppercase",children:[(0,N.jsx)($.E,{field:i})," ",(0,N.jsx)(Z.A,{icon:"chevron-right",domain:"baitmohammed",size:{w:11,h:12}})]})]})]})})},et=(0,es.O)(ei);var er=a(429),eo=a.n(er);let ec=e=>{let{children:l,className:a="",bgStyles:n,...s}=e;return(0,N.jsxs)("section",{className:"".concat(eo().wideBgSection," ").concat(a||""),...s,children:[(0,N.jsx)("div",{style:n}),l]})},ed=e=>{let{fields:l}=e,{Title:a,Description:n,Image:s,"Button Text":i,"Button Link":t,"CSS Class":r,"Button CSS Class":o}=l;return(0,N.jsx)(es.nX,{animation:"fadeUp",children:(0,N.jsx)(ec,{className:"mb-8 ".concat(null==r?void 0:r.value),children:(0,N.jsx)("section",{className:"py-9",children:(0,N.jsxs)("div",{className:"row",children:[(0,N.jsx)("div",{className:"col-12 col-lg-6 col-xl-5",children:(0,N.jsx)(en,{fields:{Image:s},aspectRatio:"auto",className:"mediaItem--purple"})}),(0,N.jsx)("div",{className:"col-12 col-xl-1 d-none d-xl-block"}),(0,N.jsxs)("div",{className:"col-12 col-lg-6 col-xl-6 mt-8",children:[(0,N.jsx)(Y.s,{field:a,className:"text--uppercase"}),(null==n?void 0:n.value)&&(0,N.jsx)(J.A,{variant:"small",className:"mb-6",children:(0,N.jsx)(Y.s,{field:n})}),(null==t?void 0:t.value)&&(null==i?void 0:i.value)&&(0,N.jsxs)(Q.r,{field:t,className:"btn text--uppercase ".concat(null==o?void 0:o.value),children:[(0,N.jsx)($.E,{field:i})," ",(0,N.jsx)(Z.A,{icon:"chevron-right",domain:"baitmohammed",size:{w:11,h:12}})]})]})]})})})})},em=(0,es.O)(ed),eu=e=>{let{fields:l}=e,{Title:a,Description:n,Image:s}=l;return(0,N.jsx)("section",{className:"mb-8",children:(0,N.jsxs)("div",{className:"row",children:[(0,N.jsxs)("div",{className:"col-12 col-lg-6 col-xl-5 order-2 order-lg-1",children:[(0,N.jsx)(Y.s,{field:a,className:"mt-5 mb-3 text--uppercase"}),(null==n?void 0:n.value)&&(0,N.jsx)(J.A,{variant:"small",className:"mb-6",children:(0,N.jsx)(Y.s,{field:n})})]}),(0,N.jsx)("div",{className:"col-12 col-xl-1 d-none d-xl-block"}),(0,N.jsx)("div",{className:"col-12 col-lg-6 my-4 order-1 order-lg-2",children:s&&(0,N.jsx)(W,{field:s})})]})})},ex=(0,es.O)(eu);var ev=a(4230),eh=a(3688),ep=a(7953),eg=a(2650),ej=a(9080),eb=a.n(ej),eN=a(706);let ef=e=>{var l,a,n,s;let{fields:i}=e,{t}=(0,eg.s9)(),[r,o]=(0,f.useState)(!1),[c,d]=(0,f.useState)(!1),m=[{value:"ForMeetingRooms",label:t("ForMeetingRooms")||"For Rooms "},{value:"ForAllOtherSpaces",label:t("ForAllOtherSpaces")||"For Courtyard "}],u=t("Single Field Error Message")||"You missed 1 field. It has been highlighted",x=[{name:"meeting-booking-title",type:"radio",label:t("Purpose of Booking")||"Select Purpose",options:m,required:!0,className:"col-12 ".concat(eb().preferences," mb-4")},{name:"fname",type:"text",placeholder:t("First Name")||"First Name",label:t("First Name")||"First Name",required:!0,className:"col-12 col-md-6 mb-5",errorMessage:u},{name:"lname",type:"text",placeholder:t("Last Name")||"Last Name",label:t("Last Name")||"Last Name",required:!0,className:"col-12 col-md-6 mb-5",errorMessage:u},{name:"e-mail",type:"email",placeholder:t("Email ID")||"Email",label:t("Email ID")||"Email",required:!0,className:"col-12 col-md-6 mb-5",errorMessage:u},{name:"PhoneNum",type:"tel",placeholder:"50 123 4567",label:t("Phone")||"Phone",required:!0,className:"col-12 col-md-6 mb-5",errorMessage:u},{name:"job-title",type:"text",placeholder:t("Job Title")||"Job title",label:t("Job Title")||"Job title",required:!0,className:"col-12 col-md-6 mb-5",errorMessage:u},{name:"organization",type:"text",placeholder:t("Organization")||"Organization",label:t("Organization")||"Organization",required:!0,className:"col-12 col-md-6 mb-5",errorMessage:u},{name:"radio-group",type:"radio",label:t("Contact Preferences")||"Contact preferences",className:"col-12 my-6",options:[{value:"ByEmail",label:t("By Email")||"By email"},{value:"ByPhone",label:t("By Phone")||"By phone"}]},{name:"tarea",type:"textarea",placeholder:t("Purpose of Booking")||"Reason for booking",label:t("Purpose of Booking")||"Reason for booking",required:!0,className:"col-12 mb-5",rows:5,errorMessage:u},{name:"meetingAgred",type:"checkbox",label:(0,N.jsxs)(N.Fragment,{children:[t("I agree with")||"I agree with the "," ",(null==i||null==(a=i.TermsAndCondition)||null==(l=a.value)?void 0:l.href)?(0,N.jsx)(Q.r,{field:i.TermsAndCondition,className:"text-primary text-decoration-underline"}):(0,N.jsx)("a",{href:t("Terms And Conditions Link")||"#",className:"text-primary text-decoration-underline",target:"_blank",rel:"noopener noreferrer",children:t("Terms And Conditions")||"terms and conditions"})]}),required:!0,className:"col-12 mb-5",errorMessage:u}];return(0,N.jsx)("section",{className:"".concat(eb().bookNow," py-8"),children:(0,N.jsx)("div",{className:"container container-expanded",children:(0,N.jsxs)("div",{className:"row",children:[(0,N.jsxs)("div",{className:"col-lg-4 col-xl-4 mb-6",children:[(null==i?void 0:i.Title)&&(0,N.jsx)($.E,{field:i.Title,tag:"h1",className:"typo--h3 text--uppercase text--color-white mb-4"}),(null==i?void 0:i.SubTitle)&&(0,N.jsx)($.E,{field:i.SubTitle,tag:"h2",className:"typo--h5 text--color-white mb-4"}),(null==i?void 0:i.Description)&&(0,N.jsx)(J.A,{className:"text--color-white mb-6",children:(0,N.jsx)(Y.s,{field:i.Description})})]}),(0,N.jsx)("div",{className:"col-lg-8 col-xl-7 offset-xl-1",children:(0,N.jsxs)("div",{className:eb().formWrapper,children:[(0,N.jsx)(J.A,{variant:"large",className:"text--color-black",children:(0,N.jsx)("p",{children:t("SelectPurpose")||"Select Purpose"})}),(0,N.jsx)(ep.l,{apiUrl:"".concat("https://scapim.dct.gov.ae/prod-culture/api/v1","/BMBK/Forms/BookNowFormSubmission"),method:"POST",autoSubmit:!1,onLoadingStart:()=>{o(!1),d(!1)},onSubmit:(e,l)=>{if((null==l?void 0:l.message)==="success")if(l.crmresponse)try{let e=JSON.parse(l.crmresponse);e.Errormessage&&""!==e.Errormessage?d(!0):o(!0)}catch(e){d(!0)}else o(!0);else d(!0)},formFields:x,initialValues:{"meeting-booking-title":"ForMeetingRooms","radio-group":"ByEmail",meetingAgred:!0},buildRequestBody:e=>{let l={...e};!0===l.meetingAgred&&(l.meetingAgred="on");let a=l["meeting-booking-title"];return"ForMeetingRooms"===a?l.formPageNameMeeting="Meeting":"ForAllOtherSpaces"===a&&(l.formPageNameOtherSpace="OtherSpaceTab"),l},contentType:"application/x-www-form-urlencoded",submitButton:(0,N.jsxs)(eN.A,{type:"submit",variant:"primary",className:"btn--blue",children:[t("Submit")||"Submit",(0,N.jsx)(Z.A,{icon:"chevron-right",domain:"baitmohammed",size:{w:11,h:12}}
1)]})}),(0,N.jsxs)(J.A,{className:"my-6",children:[r&&(0,N.jsx)("p",{style:{color:"green"},children:t("Successful Booking Message")||"Thank you for submitting the space reservation form. Someone from our team will get back to you as soon as possible."}),c&&(0,N.jsx)("p",{style:{color:"red"},children:t("Error Message")||"Error In form submission"})]}),(null==i||null==(s=i["Sample File"])||null==(n=s.value)?void 0:n.href)&&(0,N.jsx)("div",{className:"mt-4",children:(0,N.jsx)(Q.r,{field:i["Sample File"],className:"btn btn-secondary"})})]})})]})})})},ey=async(e,l)=>{var a,n;let s=new ev.l,i=(null==e?void 0:e.dataSource)||"",t=null==l||null==(n=l.sitecore)||null==(a=n.context)?void 0:a.language;return await (null==s?void 0:s.makeRequest('query BookNowGqlQuery($datasource: String!, $language: String!) {\n  datasourceItem: item(path: $datasource, language: $language)\n    {\n      id\n      name\n      path\n\n      children(first: 20) {\n        id\n        name\n        path\n\n        Name: field(name: "Name") {\n          ... on TextField {\n            value\n          }\n        }\n      }\n    }\n}',i,t))},eS=(0,eh.O)(ef);var e_=a(826),eC=a(3062),ew=a.n(eC);let ek=e=>{var l,a,n;let{fields:s}=e,{Title:i,Summary:t,"Email Address":r,"Phone Number":o,Timings:c,"Map IFrame Link":d,"Map Get Direction Link":m}=s,u=(null==r?void 0:r.value)||(null==o?void 0:o.value)||(null==c?void 0:c.value),{t:x}=(0,eg.s9)();return(0,N.jsx)("section",{className:"mb-8 ".concat(ew().contactInfo),children:(0,N.jsxs)("div",{className:"row",children:[(0,N.jsxs)("div",{className:"col-12 col-md-6 col-lg-4 mb-6 order-3 order-md-1",children:[(0,N.jsx)("h2",{className:"text--color-blue",children:(0,N.jsxs)("div",{className:"d-flex align-items-center g-6",children:[(0,N.jsx)("span",{children:(0,N.jsx)(Z.A,{icon:"books",domain:"baitmohammed",size:44})}),(0,N.jsx)($.E,{field:i,tag:"span",className:"d-inline-block text--uppercase"})]})}),(null==t?void 0:t.value)&&(0,N.jsx)(J.A,{variant:"small",className:"mb-6",children:(0,N.jsx)($.E,{field:t})}),u&&(0,N.jsxs)(J.A,{variant:"small",className:"mt-6",children:[(null==r?void 0:r.value)&&(0,N.jsxs)("a",{href:"mailto:".concat(null==r?void 0:r.value),className:"d-flex align-items-center g-4 ".concat(ew().contactItem," mb-6 link"),children:[(0,N.jsx)(Z.A,{icon:"email",domain:"baitmohammed"})," ",(0,N.jsx)($.E,{field:r})]}),(null==o?void 0:o.value)&&(0,N.jsxs)("a",{href:"tel:".concat(null==o?void 0:o.value),className:"d-flex align-items-center g-4 ".concat(ew().contactItem," mb-6 link"),children:[(0,N.jsx)(Z.A,{icon:"phone",domain:"baitmohammed"})," ",(0,N.jsx)($.E,{field:o})]}),(null==c?void 0:c.value)&&(0,N.jsxs)("p",{className:"d-flex align-items-center g-4 ".concat(ew().contactItem," mb-6"),children:[(0,N.jsx)(Z.A,{icon:"clock",domain:"baitmohammed"})," ",(0,N.jsx)($.E,{field:c})]})]})]}),(0,N.jsx)("div",{className:"col-12 col-lg-1 d-none d-lg-flex order-2"}),(0,N.jsx)("div",{className:"col-12 col-md-6 col-lg-7 mb-6 order-1 order-md-3",children:(null==d||null==(l=d.value)?void 0:l.href)&&(0,N.jsxs)("div",{className:ew().contactIframe,children:[(0,N.jsx)(e_.A,{src:null==d||null==(a=d.value)?void 0:a.href}),(null==m||null==(n=m.value)?void 0:n.href)&&(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)(Q.r,{field:m,rel:"noopener noreferrer",target:"_blank",className:"btn btn--primary d-none d-md-inline-flex",children:[(0,N.jsx)(Z.A,{icon:"direction",domain:"baitmohammed"})," ",x("Get Direction")]}),(0,N.jsx)(Q.r,{field:m,rel:"noopener noreferrer",target:"_blank",className:"btn btn--primary",children:(0,N.jsx)(Z.A,{icon:"expand",domain:"baitmohammed"})})]})]})})]})})},eA=(0,es.O)(ek);var eT=a(4059),eE=a(5925),eI=a.n(eE);let eM=()=>{let{t:e}=(0,eg.s9)(),[l,a]=(0,f.useState)(!1),[n,s]=(0,f.useState)(!1),[i,t]=(0,f.useState)(!1),r=[{name:"email",type:"email",placeholder:e("SubscribeNewsletterEmailPlaceholderText")||"Your email address",errorMessage:e("Single Field Error Message")||"You missed 1 field. It has been highlighted",required:!0,className:"col-12 mb-5"}];return(0,N.jsxs)("section",{id:"newsletter",className:"".concat(eI().subscription," mx-auto p-8"),children:[(0,N.jsx)("div",{className:"row",children:(0,N.jsxs)("div",{className:"col-12 text--align-center mb-3",children:[(0,N.jsx)("h5",{className:"text--uppercase mb-4",children:e("SubscribeNewsletterHeadingText")||"Subscribe to Our Newsletter"}),(0,N.jsx)(J.A,{className:"mb-2",children:e("SubscribeNewsletterEnterEmailText")||"Enter your email:"})]})}),(0,N.jsx)("div",{className:"row",children:(0,N.jsxs)("div",{className:"col-12",children:[(0,N.jsx)(eT.A,{className:"form--newsletter",apiUrl:"".concat("https://scapim.dct.gov.ae/prod-culture/api/v1","/BMBK/Forms/SubscriptionFormSubmissionToCRM"),method:"POST",autoSubmit:!1,onLoadingStart:()=>{a(!1),s(!1),t(!1)},onSubmit:(e,l)=>{if((null==l?void 0:l.status)===!0)if("success"===l.message){a(!0);let l=e.hdnThanksUrl||"";if(l){let a=e["e-mail1"];window.location.href="".concat(l,"?email=").concat(encodeURIComponent(a))}}else l.message&&l.message.toLowerCase().includes("already")?s(!0):t(!0);else t(!0)},formFields:r,submitButtonLabel:e("SubscribeNewsletterSubscribeText")||"Subscribe",contentType:"application/x-www-form-urlencoded"}),(0,N.jsxs)(J.A,{className:"text--align-center mt-6",children:[l&&(0,N.jsx)("p",{className:"text--bold text--color-green",children:(0,N.jsx)("span",{dangerouslySetInnerHTML:{__html:e("Subscription Thank You Heading")||'THANK you <span class="d-none d-md-block">for subscription</span>'}})}),n&&(0,N.jsx)("p",{className:"text--bold text--color-red",children:e("You Are Already Subscribed")||"You Are Already Subscribed"}),i&&(0,N.jsx)("p",{className:"text--bold text--color-red",children:e("Error Message")||"Error"})]})]})})]})};var eF=a(8652),eB=a.n(eF);let eP=e=>{var l,a,n;let{fields:s}=e,{t:i}=(0,eg.s9)(),[t,r]=(0,f.useState)(!1),[o,c]=(0,f.useState)(!1),[d,m]=(0,f.useState)(!1),[u,x]=(0,f.useState)(""),[v,h]=(0,f.useState)([]),p=null==s?void 0:s.metaData,g=i("Single Field Error Message")||"You missed 1 field. It has been highlighted",j=[{name:"fname",type:"text",placeholder:i("First Name")||"First Name",label:i("First Name")||"First Name",required:!0,className:"col-12 col-md-6 mb-5",errorMessage:g},{name:"lname",type:"text",placeholder:i("Last Name")||"Last Name",label:i("Last Name")||"Last Name",required:!0,className:"col-12 col-md-6 mb-5",errorMessage:g},{name:"e-mail",type:"email",placeholder:i("Email ID")||"Email",label:i("Email ID")||"Email",required:!0,className:"col-12 col-md-6 mb-5",errorMessage:g},{name:"intl",type:"tel",placeholder:"50 123 4567",label:i("Phone")||"Phone",required:!0,className:"col-12 col-md-6 mb-5",errorMessage:g},{name:"Country",type:"select",placeholder:i("CountryDefaultText")||"Select Country",label:i("Country")||"Country",required:!0,className:"col-12 col-md-6 mb-5",options:(null==p||null==(l=p.country)?void 0:l.map(e=>({value:e.key,label:e.value})).sort((e,l)=>e.label.localeCompare(l.label)))||[],onChange:e=>b(e),allOptionLabel:i("CountryDefaultText")||"Select Country",errorMessage:g},{name:"SendMessage_Region",type:"select",placeholder:i("RegionDefaultText")||"Select Region",label:i("Region")||"Region",required:d,className:"col-12 col-md-6 mb-5".concat(d?"":" d-none"),options:(null==p||null==(a=p.region)?void 0:a.map(e=>({value:e.key,label:e.value})))||[],onChange:e=>y(e),allOptionLabel:i("RegionDefaultText")||"Select Region",errorMessage:g},{name:"SendMessage_Area",type:"select",placeholder:i("AreaDefaultText")||"Select Area",label:i("Area")||"Area",required:d&&""!==u,className:"col-12 col-md-6 mb-5".concat(d?"":" d-none"),options:v,disabled:!u||""===u,allOptionLabel:i("AreaDefaultText")||"Select Area",errorMessage:g},{name:"SendMessage_CaseType",type:"select",placeholder:i("CaseTypeDefaultText")||"Select Case Type",label:i("Case Type")||"Case Type",required:!0,className:"col-12 col-md-6 mb-5",options:(null==p||null==(n=p.subject)?void 0:n.map(e=>({value:e.key,label:e.value})))||[],errorMessage:g,allOptionLabel:i("CaseTypeDefaultText")||"Select Case Type"},{name:"SendMessage.Title",type:"text",placeholder:i("Title")||"Title",label:i("Title")||"Title",required:!0,className:"col-12 col-md-6 mb-5",errorMessage:g},{name:"tarea",type:"textarea",placeholder:i("Message")||"Message",label:i("Message")||"Message",required:!0,className:"col-12 mb-5",rows:5,errorMessage:g},{name:"radio-group",type:"radio",label:i("Contact Preferences")||"Contact Preferences",className:"col-12 my-6",options:[{value:"email",label:i("By Email")||"By Email"},{value:"phone",label:i("By Phone")||"By Phone"}]},{name:"check",type:"checkbox",label:(0,N.jsxs)(N.Fragment,{children:[i("I agree with")||"I agree with the"," ",(0,N.jsx)("a",{href:i("Terms And Conditions Link")||"#",className:"text-primary text-decoration-underline",target:"_blank",rel:"noopener noreferrer",children:i("Terms And Conditions")||"terms and conditions"})]}),required:!0,className:"col-12 mb-5",errorMessage:g}],b=e=>{var l;let a=null==p||null==(l=p.country)?void 0:l.find(l=>l.key===e);if(a){let e=a.value;m("United Arab Emirates"===e||e.toLowerCase().includes("emirates")||"UAE"===e)}else m(!1);x(""),h([])},y=e=>{var l;x(e);let a=null==p||null==(l=p.region)?void 0:l.find(l=>l.key===e);a&&a.relatedRecords?h(a.relatedRecords.map(e=>({value:e.relatedKey,label:e.relatedValue})).sort((e,l)=>e.label.localeCompare(l.label))):h([])};return(0,N.jsx)("section",{className:"py-8",children:(0,N.jsxs)("div",{className:"row",children:[(0,N.jsxs)("div",{className:"col-12 col-md-4 col-lg-3 mb-6 mb-md-0",children:[(0,N.jsx)("h5",{className:"text--uppercase",dangerouslySetInnerHTML:{__html:i("Let Us Know Your Dream")}}),(0,N.jsx)(J.A,{className:"mt-4",children:i("ContactUsDescription")})]}),(0,N.jsx)("div",{className:"col-12 col-lg-1 d-none d-lg-flex"}),(0,N.jsxs)("div",{className:"col-12 col-md-8 col-lg-8",children:[(0,N.jsx)(ep.l,{apiUrl:"".concat("https://scapim.dct.gov.ae/prod-culture/api/v1","/BMBK/Forms/ContactUsFormSubmission"),method:"POST",autoSubmit:!1,onLoadingStart:()=>{r(!1),c(!1)},onSubmit:(e,l)=>{if((null==l?void 0:l.status)===!0)if(l.crmresponse)try{let e=JSON.parse(l.crmresponse);e.Errormessage&&""!==e.Errormessage?c(!0):r(!0)}catch(e){c(!0)}else r(!0);else c(!0)},formFields:j,initialValues:{"radio-group":"email",check:!0},submitButton:(0,N.jsxs)(eN.A,{type:"submit",variant:"primary",className:"btn--blue",children:[i("Submit")||"Submit",(0,N.jsx)(Z.A,{icon:"chevron-right",domain:"baitmohammed",size:{w:11,h:12}}
1)]}),className:"mt-4 mt-md-0 ".concat(eB().contactForm),contentType:"application/x-www-form-urlencoded",recaptchaSiteKey:"6LdJqFgaAAAAABVVYBJ2YH1wtCgrkgx-yVJ8GlxC"}),(0,N.jsxs)(J.A,{className:"my-6",children:[t&&(0,N.jsx)("p",{style:{color:"green"},children:i("Successful Submission Message")||"Form Submitted Successfully"}),o&&(0,N.jsx)("p",{style:{color:"red"},children:i("Error Message")||"Error In form submission"})]})]}),(0,N.jsx)("div",{className:"col-12",children:(0,N.jsx)(eM,{})})]})})},eL=eP;var eD=a(1113);let eO=e=>{let{Content:l}=e.fields;return(0,N.jsx)("div",{className:"html-content body-copy body-copy--small",children:(0,N.jsx)(eD.s,{field:l})})},eq=(0,es.O)(eO),eR=e=>{var l,a,n,s,i;let{fields:t,className:r=""}=e,{Title:o,SubTitle:c,"Video Thumbnail":d,Video:m,"Mobile Video":u,"Button Text":x,"Button Link":v,Description:h}=t,p=null==d||null==(l=d.value)?void 0:l.src;return(0,N.jsxs)("section",{className:"hero-banner mb-8 ".concat(r||""),children:[(0,N.jsxs)("figure",{children:[p&&(0,N.jsx)(U.a,{field:d,loading:"eager",className:"d-none d-md-block"}),(null==m||null==(a=m.value)?void 0:a.src)&&(0,N.jsx)("video",{className:"d-none d-md-block",src:m.value.src,...p?{poster:null==d||null==(n=d.value)?void 0:n.src}:{autoPlay:!0},preload:"metadata",muted:!0,loop:!0,playsInline:!0}),(null==u||null==(s=u.value)?void 0:s.src)&&(0,N.jsx)("video",{className:"d-block d-md-none",src:u.value.src,...p?{poster:null==d||null==(i=d.value)?void 0:i.src}:{autoPlay:!0},preload:"metadata",muted:!0,loop:!0,playsInline:!0})]}),(0,N.jsx)("div",{children:(0,N.jsx)("div",{className:"container px-0",children:(0,N.jsx)("div",{className:"row",children:(0,N.jsxs)("div",{className:"col-12 col-lg-10 offset-lg-1",children:[(0,N.jsx)($.E,{field:o,tag:"h2",className:"d-inline-block text--uppercase typo--sprayed text--color-white py-2"}),(null==c?void 0:c.value)&&(0,N.jsx)(J.A,{className:"text--color-white",children:(0,N.jsx)(Y.s,{field:c})}),(null==h?void 0:h.value)&&(0,N.jsx)(J.A,{className:"text--color-white",children:(0,N.jsx)(Y.s,{field:h})}),(null==v?void 0:v.value)&&(null==x?void 0:x.value)&&(0,N.jsx)(Q.r,{field:v,className:"btn btn--link text--uppercase",children:(0,N.jsx)($.E,{field:x})})]})})})})]})},eV=e=>(0,N.jsx)(eR,{...e}),eH=(0,es.O)(eV);var ez=a(7076),eU=a.n(ez),eK=a(558),eG=a(5877),eW=a.n(eG),e$=a(6140);let eY=e=>{var l,a,n,s;let{fields:i,className:t=""}=e,{Title:r,SubTitle:o,Description:c,VideoThumbnail:d,Video:m,MobileVideo:u,ButtonText:x,ButtonLink:v}=i,[h,p]=(0,f.useState)(!1),[g,j]=(0,f.useState)(!1),b=(0,f.useRef)(null),y=(0,f.useRef)(null),S=null==u||null==(l=u.value)?void 0:l.src,_=null==d||null==(a=d.value)?void 0:a.src,C=(null==r?void 0:r.value)||(null==o?void 0:o.value)||(null==c?void 0:c.value)||(null==x?void 0:x.value)&&(null==v?void 0:v.value),w=(0,f.useCallback)(()=>{var e,l;null==(e=b.current)||e.pause(),null==(l=y.current)||l.pause()},[]),k=(0,f.useCallback)(()=>{w(),j(window.innerWidth<768)},[w]);(0,f.useEffect)(()=>{let e=(0,e$.nF)(k,100);return k(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[k]);let A=()=>{let e=g?y.current:b.current,l=g?b.current:y.current;null==l||l.pause(),e&&(p(!0),e.play())};return(0,N.jsxs)(eK.Zp,{ariaLabel:"".concat(null==r?void 0:r.value),className:"".concat(eW().videoCard," ").concat(h?eW().playing:""," ").concat(t||""),children:[(0,N.jsxs)(eK.MH,{children:[(0,N.jsx)("div",{className:"ar ar--16-9",onClick:A,children:(0,N.jsxs)("div",{className:"ar__content",children:[d&&(0,N.jsx)(U.a,{field:d}),(null==m||null==(n=m.value)?void 0:n.src)&&(0,N.jsx)("video",{ref:b,className:S?"d-none d-md-block":"",src:m.value.src,...!_&&{autoPlay:!0},controls:!0}),(null==u||null==(s=u.value)?void 0:s.src)&&(0,N.jsx)("video",{ref:y,className:"d-block d-md-none",src:u.value.src,...!_&&{autoPlay:!0},controls:!0})]})}),(0,N.jsx)("button",{type:"button",className:"btn",onClick:A,children:(0,N.jsx)(Z.A,{icon:"video-play",domain:"baitmohammed"})})]}),C&&(0,N.jsxs)(eK.Wu,{className:"p-8 d-flex flex-flex-column justify-content-center",children:[(0,N.jsx)($.E,{field:r,tag:"h2",className:"text--uppercase"}),(null==o?void 0:o.value)&&(0,N.jsx)($.E,{field:o,tag:"h3",className:"text--uppercase"}),(null==c?void 0:c.value)&&(0,N.jsx)(J.A,{variant:"small",children:(0,N.jsx)($.E,{field:c,tag:"p"})}),(null==x?void 0:x.value)&&(null==v?void 0:v.value)&&(0,N.jsx)(Q.r,{field:v,className:"btn btn--link text--uppercase",children:(0,N.jsx)($.E,{field:x})})]})]})},eJ=e=>{let{fields:l}=e,{Title:a,SubTitle:n,Description:s,"Video Thumbnail":i,Video:t,"Mobile Video":r,"Button Text":
1o,"Button Link":c}=l;return(0,N.jsx)("section",{className:"".concat(eU().imageVideoContent," py-8 mb-10"),children:(0,N.jsx)(eY,{fields:{Title:a,SubTitle:n,Description:s,VideoThumbnail:i,Video:t,MobileVideo:r,ButtonText:o,ButtonLink:c}})})},eQ=(0,es.O)(eJ);var eZ=a(845),eX=a.n(eZ);let e0=e=>{var l;let{fields:a,href:n,variant:s="normal",className:i,icon:t}=e,{Title:r,Description:o,Image:c}=a,d="".concat(eX().flipCard," ").concat("inverse"===s?eX().inverse:""),m=null!=o&&!!o.value&&"string"==typeof o.value&&o.value.includes("<a");return(0,N.jsxs)(eK.Zp,{href:m?void 0:n,className:"".concat(d," ").concat(i||""),children:[(0,N.jsxs)(eK.MH,{children:[t&&(0,N.jsx)("div",{className:"card__icon",children:t}),(0,N.jsx)("div",{className:"ar ar--full-height",children:(0,N.jsx)("div",{className:"ar__content",children:(null==c||null==(l=c.value)?void 0:l.src)&&(0,N.jsx)(U.a,{field:c})})})]}),(0,N.jsxs)(eK.Wu,{className:"d-flex flex-column align-items-center p-6",children:[t&&(0,N.jsx)("div",{className:"card__icon",children:t}),(null==r?void 0:r.value)&&(0,N.jsx)($.E,{field:r,tag:"h4",className:"mb-2"}),(null==o?void 0:o.value)&&(0,N.jsx)(J.K,{variant:"small",children:(0,N.jsx)(Y.s,{field:o})})]})]})};var e1=a(3804),e2=a.n(e1);let e6=e=>{var l,a,n;let{fields:s}=e,{Title:i,Description:t,Tag:r,MainImage:o,"Event Banner Image":c,Image1:d,Image2:m,"Image1 Link":u,"image2 Link":x,"Event Banner Link":v,Image1Description:h,Image2Description:p,"Event Description":g,"Event Title":j}=s;return(0,N.jsx)(es.nX,{animation:"fadeUp",children:(0,N.jsxs)("section",{className:"mb-8",children:[(0,N.jsx)("div",{className:"row",children:(0,N.jsxs)("div",{className:"col-12 text--align-center",children:[(0,N.jsx)(Y.s,{tag:"h2",field:i,className:"typo--h1 text--uppercase text--color-black"}),(null==t?void 0:t.value)&&(0,N.jsx)(Y.s,{field:t}),(null==r?void 0:r.value)&&(0,N.jsx)($.E,{field:r})]})}),(0,N.jsxs)("div",{className:"row no-gutters pt-10 ".concat(e2().socialSection),children:[(0,N.jsx)("div",{className:"col-12 col-lg-6",children:(0,N.jsx)(en,{fields:{Image:o},aspectRatio:"full-height",className:"mediaItem--no-decor mediaItem--full-height"})}),(0,N.jsxs)("div",{className:"col-12 col-lg-6",children:[(0,N.jsx)(e0,{href:null==v||null==(l=v.value)?void 0:l.href,variant:"inverse",fields:{Image:c,Title:j,Description:g},icon:(0,N.jsx)(Z.A,{icon:"facebook",domain:"baitmohammed"})}),(0,N.jsxs)("div",{className:"row no-gutters",children:[(0,N.jsx)("div",{className:"col-6",children:(0,N.jsx)(e0,{href:null==u||null==(a=u.value)?void 0:a.href,variant:"inverse",className:"card--bg-red",fields:{Image:d,Description:h},icon:(0,N.jsx)(Z.A,{icon:"twitter",domain:"baitmohammed"})})}),(0,N.jsx)("div",{className:"col-6",children:(0,N.jsx)(e0,{href:null==x||null==(n=x.value)?void 0:n.href,className:"card--bg-blue",fields:{Image:m,Description:p},icon:(0,N.jsx)(Z.A,{icon:"instagram",domain:"baitmohammed"})})})]})]})]})]})})},e8=(0,es.O)(e6);var e5=a(985),e4=a.n(e5);let e7=e=>{var l;let{fields:a,href:n}=e,{Title:s,Description:i,Image:t}=a,{t:r}=(0,eg.s9)();return(0,N.jsxs)(eK.Zp,{href:n,className:e4().spaceCard,children:[(0,N.jsx)(eK.MH,{children:(0,N.jsx)("div",{className:"ar ar--16-9",children:(0,N.jsx)("div",{className:"ar__content",children:(null==t||null==(l=t.value)?void 0:l.src)&&(0,N.jsx)(U.a,{field:t})})})}),(0,N.jsxs)(eK.Wu,{className:"d-flex flex-flex-column align-items-start",children:[(0,N.jsx)($.E,{field:s,tag:"h4"}),(null==i?void 0:i.value)&&(0,N.jsx)(J.K,{variant:"small",children:(0,N.jsx)(Y.s,{field:i})}),n&&(0,N.jsxs)(eN.$,{type:"button",variant:"link",className:"mt-auto",children:[r("Space READ DETAILS")," ",(0,N.jsx)(Z.A,{icon:"arrow-right",domain:"baitmohammed"})]})]})]})},e9=e=>{var l,a;let{fields:n,datasourceItem:s}=e,{Title:i,Description:t,ListingPageLink:r}=n,o=(null==s?void 0:s.children)&&(null==(l=s.children)?void 0:l.length)>0;return(0,N.jsx)(es.nX,{animation:"fadeUp",children:(0,N.jsxs)("section",{className:"mb-8",children:[(0,N.jsx)("div",{className:"row",children:(0,N.jsxs)("div",{className:"col-12 col-lg-5 my-8",children:[(0,N.jsx)("h2",{className:"text--color-pink",children:(0,N.jsxs)("div",{className:"d-flex align-items-center g-6",children:[(0,N.jsx)("span",{children:(0,N.jsx)(Z.A,{icon:"books",domain:"baitmohammed",size:44})}),(0,N.jsx)($.E,{field:i,tag:"span",className:"d-inline-block text--uppercase"})]})}),(null==t?void 0:t.value)&&(0,N.jsx)(J.A,{variant:"small",children:(0,N.jsx)(Y.s,{field:t})})]})}),o&&(0,N.jsx)("div",{className:"row",children:null==s||null==(a=s.children)?void 0:a.map((e,l)=>{var a,n,s;let i={Image:{value:null==e?void 0:e.Image},Title:null==e?void 0:e.Title,Description:null==e?void 0:e.Description},t=(null==e||null==(n=e.Title)||null==(a=n.value)?void 0:a.toLowerCase().replace(/\s+/g,"-"))||"";return(0,N.jsx)("div",{className:"col-12 col-md-4",children:(0,N.jsx)(e7,{fields:i,href:(null==r||null==(s=r.value)?void 0:s.href)+"#"+t})},l)})}),(null==r?void 0:r.value)&&(0,N.jsx)("div",{className:"row mt-5",children:(0,N.jsx)("div",{className:"col-12 text--align-center",children:(0,N.jsx)(Q.r,{field:r,className:"btn btn--primary btn--blue text--uppercase",showLinkTextWithChildrenPresent:!0,children:(0,N.jsx)(Z.A,{icon:"chevron-right",domain:"baitmohammed",size:{w:11,h:12}}
1)})})})]})})},e3=async(e,l)=>{var a,n;let s=new ev.l,i=(null==e?void 0:e.dataSource)||"",t=null==l||null==(n=l.sitecore)||null==(a=n.context)?void 0:a.language;return await (null==s?void 0:s.makeRequest('query SpaceCategoriesGqlQuery($datasource: String!, $language: String!) {\n  datasourceItem: item(path: $datasource, language: $language) {\n    id\n    name\n    path\n    \n    children(includeTemplateIDs: "0F8568599FA5418F95965785DDF52978", first: 10) {\n      id\n      name\n      path\n\n      Title: field(name: "CategoryTitle") {\n        ... on TextField {\n          value\n        }\n      }\n\n      CategoryName: field(name: "categoryName") {\n        ... on TextField {\n          value\n        }\n      }\n\n      Description: field(name: "CategoryDescription") {\n        ... on TextField {\n          value\n        }\n      }\n\n      Image: field(name: "Image") {\n        ... on ImageField {\n          title\n          src\n          alt\n          width\n          height\n        }\n      }\n    }\n  }\n}',i,t))},le=e9,ll=e=>{var l,a,n,s,i,t,r;let{fields:o,datasourceItem:c}=e,{Title:d,Description:m}=o,u=(null==c?void 0:c.children)&&(null==(l=c.children)?void 0:l.length)>0,x=null==c||null==(s=c.children)||null==(n=s[0])||null==(a=n.Category)?void 0:a.targetItem;return(0,N.jsxs)("section",{className:"mb-8",children:[(0,N.jsx)("div",{className:"row mb-6",children:(0,N.jsxs)("div",{className:"col-12",children:[(0,N.jsx)("h2",{className:"text--color-pink",children:(0,N.jsxs)("div",{className:"d-flex align-items-center g-6",children:[(0,N.jsx)("span",{children:(0,N.jsx)(Z.A,{icon:"books",domain:"baitmohammed",size:44})}),(0,N.jsx)($.E,{field:d,tag:"span",className:"d-inline-block text--uppercase"})]})}),(null==m?void 0:m.value)&&(0,N.jsx)(J.A,{variant:"small",children:(0,N.jsx)(Y.s,{field:m})})]})}),u&&(0,N.jsxs)("div",{className:"row",children:[x&&(0,N.jsxs)("div",{className:"col-12 mb-6",children:[(null==(i=x.title)?void 0:i.value)&&(0,N.jsx)($.E,{field:x.title,tag:"h3",id:x.title.value.toLowerCase().replace(/\s+/g,"-"),className:"typo--h4 text--uppercase text--color-black mb-4"}),(null==(t=x.description)?void 0:t.value)&&(0,N.jsx)(J.A,{variant:"small",children:(0,N.jsx)($.E,{field:x.description})})]}),null==c||null==(r=c.children)?void 0:r.map((e,l)=>{let a={Image:{value:null==e?void 0:e.Image},Title:null==e?void 0:e.Title,Description:null==e?void 0:e.Description};return(0,N.jsx)("div",{className:"col-12 col-md-4 col-lg-3",children:(0,N.jsx)(e7,{fields:a,href:null==e?void 0:e.url})},l)})]})]})},la=async(e,l)=>{var a,n,s,i,t,r,o;let c=new ev.l,d=(null==e||null==(t=e.fields)||null==(i=t.CategoryFolder)||null==(s=i.fields)||null==(n=s.ListingPageLink)||null==(a=n.value)?void 0:a.id)||"",m=null==l||null==(o=l.sitecore)||null==(r=o.context)?void 0:r.language;return await (null==c?void 0:c.makeRequest('query SpaceListingGqlQuery($datasource: String!, $language: String!) {\n  datasourceItem: item(path: $datasource, language: $language)\n    {\n      id\n      name\n      path\n      \n      children(includeTemplateIDs: "89E58080DAA74AF8ABD4D7F76D0EEA6F") {\n        id\n        name\n        path\n        url\n\n        Title: field(name: "Space Title") {\n          ... on TextField {\n            value\n          }\n        }\n\n        Description: field(name: "Space Short Description") {\n          ... on TextField {\n            value\n          }\n        }\n\n        Image: field(name: "SpaceImage") {\n          ... on ImageField {\n            title\n            src\n            alt\n            width\n            height\n          }\n        }\n\n        Link: field(name: "Link button") {\n          ... on LinkField {\n            url\n            href: url\n            text\n            target\n          }\n        }\n\n        Category: field(name: "Space category") {\n          ... on ReferenceField {\n            targetItem\n            {\n              id\n              title: field(name: "CategoryTitle"){\n              ... on TextField {\n                    value\n                }\n              }\n              description: field(name: "CategoryDescription"){\n              ... on TextField {\n                    value\n                }\n              }\n              \n            }\n          }\n        }\n      }\n    }\n}',d||"",m))},ln=ll;var ls=a(1181),li=a.n(ls);let lt=e=>{let{items:l}=e;return 0===l.length?null:(0,N.jsx)("ul",{className:li().chips,children:l.map((e,l)=>(0,N.jsx)("li",{children:e.value},l))})};var lr=a(9022),lo=a(8546),lc=a.n(lo);let ld=e=>{var l;let{fields:a}=e,{item:n,list:s}=a,{t:i}=(0,eg.s9)();if(!n)return null;let{"Space Title":t,"Space Description":r,Capacity:o,"Space Tags":c,"Link button":d,SpaceImage:m}=n,u=(null==c?void 0:c.value)?c.value.split(",").map(e=>e.trim()).filter(e=>e.length>0).map(e=>({value:e})):[],x=s&&s.length>0,v=x&&s.length>1;return(0,N.jsx)("section",{className:"mt-4 mb-8",children:(0,N.jsxs)("div",{className:"row",children:[(0,N.jsxs)("div",{className:"col-12 col-lg-6 col-xl-5 order-2 order-lg-1",children:[(null==t?void 0:t.value)&&(0,N.jsx)($.E,{field:t,tag:"h2",className:"text--color-pink text--uppercase mb-4"}),(null==r?void 0:r.value)&&(0,N.jsx)(J.A,{className:"mb-4",children:(0,N.jsx)(Y.s,{field:r})}),(null==o?void 0:o.value)&&(0,N.jsxs)(J.A,{className:"mb-6",children:[(0,N.jsxs)("strong",{children:[i("Capacity"),": "]})," ",o.value," ",i("People")]}),u.length>0&&(0,N.jsx)("div",{className:"mb-6",children:(0,N.jsx)(lt,{items:u})}),(null==d||null==(l=d.value)?void 0:l.href)&&(0,N.jsx)("div",{className:"mb-6",children:(0,N.jsx)(Q.r,{field:d,className:"btn btn--primary btn--pink",showLinkTextWithChildrenPresent:!0,children:(0,N.jsx)(Z.A,{icon:"chevron-right",domain:"baitmohammed",size:{w:11,h:12}}
1)})})]}),(0,N.jsx)("div",{className:"col-12 d-none d-xl-block col-xl-1 order-lg-2"}),(0,N.jsx)("div",{className:"col-12 col-lg-6 col-xl-6 order-1 order-lg-3",children:(null==m?void 0:m.value)&&(0,N.jsx)(W,{field:m})}),x&&(0,N.jsx)("div",{className:"col-12 col-lg-8 col-xl-6 my-6 order-3",children:v?(0,N.jsx)(lr.F,{showPagination:!1,className:lc().spacesCarousel,children:s.map(e=>(0,N.jsx)(lr.A,{children:(0,N.jsx)("figure",{className:"ar ar--16-9",children:(0,N.jsx)("div",{className:"ar__content",children:(0,N.jsx)(U.a,{field:e.fields["Large Image"]})})})},e.id))}):(0,N.jsx)("figure",{className:"ar ar--16-9",children:(0,N.jsx)("div",{className:"ar__content",children:(0,N.jsx)(U.a,{field:s[0].fields["Large Image"]})})})})]})})},lm=(0,es.O)(ld),lu=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,[a,n]=(0,f.useState)(0),s=parseInt(e.replace(/\D/g,""))||0,i=e.replace(/^\d+/,"");return(0,f.useEffect)(()=>{if(0===s)return;let e=Date.now(),a=()=>{let i=Math.min((Date.now()-e)/l,1);n(Math.round(i*(2-i)*s)),i<1&&requestAnimationFrame(a)};requestAnimationFrame(a)},[s,l]),"".concat(a).concat(i)};var lx=a(9809),lv=a.n(lx);let lh=e=>{let{Title:l,Icon:a,Number:n,AdditionalSymbol:s,animationSpeed:i=2e3}=e,t=lu(n.value,i);return(0,N.jsxs)(eK.Zp,{className:lv().counterCard,children:[(0,N.jsx)(eK.MH,{className:"mb-6",children:(0,N.jsx)("div",{className:"ar ar--1-1",children:(0,N.jsx)("div",{className:"ar__content",children:(0,N.jsx)(U.a,{field:a})})})}),(0,N.jsxs)(eK.Wu,{className:"text--align-center",children:[(0,N.jsxs)("span",{className:"d-block typo--h2 mb-3",children:[(0,N.jsx)($.E,{field:s}),t]}),(0,N.jsx)($.E,{field:l,className:"typo--h5",tag:"h3"})]})]})};var lp=a(7384),lg=a.n(lp);let lj=e=>{let{fields:l}=e;return(null==l?void 0:l.list)&&l.list.length>0?(0,N.jsx)(es.ng,{delay:500,animationDuration:"normal",children:(0,N.jsx)("section",{className:"mt-8 pb-8",children:(0,N.jsx)("div",{className:lg().statistics+" py-8",children:(0,N.jsx)("div",{className:"row justify-content-center",children:l.list.map(e=>(0,N.jsx)("div",{className:"col-12 col-md-4",children:(0,N.jsx)(lh,{Title:e.fields.Title,Icon:e.fields.Icon,Number:e.fields["Stats In Numbers"],AdditionalSymbol:e.fields["Stats Additional Symbol"]})},e.id))})})})}):null},lb=(0,eh.O)(lj);var lN=a(8107),lf=a.n(lN);let ly=e=>{let{fields:l,className:a,inverse:n}=e,{Title:s,Summary:i,Image:t,MobileImage:r}=l,o="".concat(lf().visionCard," ").concat(n?lf().inverse:""," ").concat(a||"");return(0,N.jsx)(N.Fragment,{children:(0,N.jsxs)(eK.Zp,{ariaLabel:"".concat(null==s?void 0:s.value),className:o,children:[(0,N.jsxs)(eK.MH,{children:[(0,N.jsx)("div",{className:"ar ar--4-3 d-none d-md-block",children:(0,N.jsxs)("div",{className:"ar__content",children:[t&&(0,N.jsx)(U.a,{field:t,className:"d-none d-md-block"}),r&&(0,N.jsx)(U.a,{field:r,className:"d-block d-md-none"})]})}),(0,N.jsx)("div",{className:"ar ar--3-4 d-block d-md-none",children:(0,N.jsxs)("div",{className:"ar__content",children:[t&&(0,N.jsx)(U.a,{field:t,className:"d-none d-md-block"}),r&&(0,N.jsx)(U.a,{field:r,className:"d-block d-md-none"})]})})]}),(0,N.jsxs)(eK.Wu,{className:"py-8 px-6 py-md-6 px-md-6 p-xl-8 d-flex flex-flex-column justify-content-center",children:[(0,N.jsx)($.E,{field:s,tag:"h2",className:"text--uppercase"}),(null==i?void 0:i.value)&&(0,N.jsx)(J.A,{variant:"small",children:(0,N.jsx)($.E,{field:i,tag:"p"})})]})]})})},lS=e=>{var l,a,n;let{datasourceItem:s}=e;return s&&(null==s?void 0:s.children)&&(null==(l=s.children)?void 0:l.length)>0?(0,N.jsxs)("section",{className:"mb-10",children:[(0,N.jsx)("div",{className:"row no-gutters d-none d-md-flex",children:null==s||null==(a=s.children)?void 0:a.map((e,l)=>(0,N.jsx)("div",{className:"col-12 col-xxl-4",children:(0,N.jsx)(ly,{fields:e,inverse:1===l,className:"card--type-".concat(l+1)})},e.id))}),(0,N.jsx)("div",{className:"d-block d-md-none block--container-offset",children:(0,N.jsx)(lr.F,{showPagination:!1,showNavigation:!1,slidesPerView:1.2,spaceBetween:16,centeredSlides:!0,children:null==s||null==(n=s.children)?void 0:n.map(e=>(0,N.jsx)(lr.A,{children:(0,N.jsx)(ly,{fields:e,className:"mb-0"})},e.id))})})]}):null},l_=async(e,l)=>{var a,n;let s=new ev.l,i=(null==e?void 0:e.dataSource)||"",t=null==l||null==(n=l.sitecore)||null==(a=n.context)?void 0:a.language;
1return await (null==s?void 0:s.makeRequest('query VisionMissionGqlQuery($datasource: String!, $language: String!) {\n  datasourceItem: item(path: $datasource, language: $language)\n    {\n      id\n      name\n      path\n      \n      children {\n        id\n        name\n        path\n\n        Title: field(name: "Title") {\n          ... on TextField {\n            value\n          }\n        }\n\n        Summary: field(name: "Summary") {\n          ... on TextField {\n            value\n          }\n        }\n\n        Image: field(name: "Image") {\n          ... on ImageField {\n            title\n            src\n            alt\n            width\n            height\n          }\n        }\n\n        MobileImage: field(name: "Mobile Image") {\n          ... on ImageField {\n            title\n            src\n            alt\n            width\n            height\n          }\n        }\n      }\n    }\n}',i,t))},lC=(0,es.O)(lS),lw=()=>(0,N.jsx)("section",{}),lk=lw,lA=new Map;lA.set("CodeSnippet",O),lA.set("ContentBlock",q),lA.set("Image",R),lA.set("RichText",V),lA.set("Text",H),lA.set("Title",z),lA.set("AboutBMBKTwoColumnContent",n),lA.set("AboutPageBookNowContent",s),lA.set("AboutPageBookNowContentWithBackground",i),lA.set("AboutPageSingleImageContent",t),lA.set("BookNow",r),lA.set("ContactInfoMap",o),lA.set("ContactUs",c),lA.set("HTMLContent",d),lA.set("HomeVideoBannerContent",m),lA.set("ImageVideoContent",u),lA.set("SocialSection",x),lA.set("SpaceCategories",v),lA.set("SpaceListing",h),lA.set("SpacesDetail",p),lA.set("Statistics",g),lA.set("VisionMissionContent",j),lA.set("WorldOfBMBK",b);let lT=new D.N({components:lA});lT.getModuleFactory();var lE=!0;let lI=e=>{var l;let{notFound:a,serverError:n,componentProps:s,layoutData:i,headLinks:t}=e;if((0,f.useEffect)(()=>{(0,I.Te)()},[]),n)return(0,N.jsx)(S.default,{});if(a||!(null==i||null==(l=i.sitecore)?void 0:l.route))return(0,N.jsx)(y.A,{});let r=i.sitecore.context.pageEditing;return(0,N.jsx)(P.Ph,{value:s,children:(0,N.jsx)(L.Ge,{componentFactory:lT.getComponentFactory({isEditing:r}),layoutData:i,children:(0,N.jsx)(B,{layoutData:i,headLinks:t})})})}},7384:e=>{e.exports={statistics:"Statistics_statistics__t9Z7o"}},8107:e=>{e.exports={visionCard:"VisionCard_visionCard__Hyi18",inverse:"VisionCard_inverse__jYXDl"}},8546:e=>{e.exports={spacesCarousel:"SpacesDetail_spacesCarousel___i760"}},8627:(e,l,a)=>{"use strict";a.d(l,{A:()=>m});var n=a(7876),s=a(7328),i=a.n(s),t=a(4883),r=a(8600),o=a(7719),c=a(8399),d=a(7980);let m=e=>{var l,a,s;let{layoutData:m,isEEActive:u}=e,{route:x,context:v}=m.sitecore,h=!!(null==v?void 0:v.header),p=!!(null==v?void 0:v.footer),g=null==v?void 0:v.header,j=null==v?void 0:v.footer,b=null==v?void 0:v.cookieInfo,N=(null==v||null==(l=v.header)?void 0:l.globalHeaderTags)||"",f=(null==v||null==(a=v.header)?void 0:a.pageHeaderTags)||"",y=(null==v||null==(s=v.header)?void 0:s.globalBodyTags)||"",S=(null==x?void 0:x.displayName)==="Home";return x?(0,n.jsxs)(n.Fragment,{children:[(N||f||y)&&(0,n.jsxs)(i(),{children:[N&&(0,n.jsx)("div",{className:"d-none",dangerouslySetInnerHTML:{__html:N}}),f&&(0,n.jsx)("div",{className:"d-none",dangerouslySetInnerHTML:{__html:f}}),y&&(0,n.jsx)("div",{className:"d-none",dangerouslySetInnerHTML:{__html:y}})]}),(0,n.jsxs)(r.A,{isEEActive:u,children:[h&&(0,n.jsx)(o.A,{...g}),(0,n.jsx)("main",{children:(0,n.jsx)("div",{className:"container",children:(0,n.jsx)(t.O,{name:"main",rendering:x,disableSuspense:!0})})}),p&&(0,n.jsx)(c.A,{...j,isHomePage:S}),(0,n.jsx)(d.A,{cookieInfo:b})]})]}):(0,n.jsx)(n.Fragment,{})}},8652:e=>{e.exports={contactForm:"ContactUs_contactForm__kEdqt"}},9080:e=>{e.exports={bookNow:"BookNow_bookNow__PP5SZ",formWrapper:"BookNow_formWrapper__jCl8F",preferences:"BookNow_preferences__NZwfn"}},9809:e=>{e.exports={counterCard:"CounterCard_counterCard__FAjb3"}}},e=>{e.O(0,[593,691,223,804,282,636,792],()=>e(e.s=668)),_N_E=e.O()}]);

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.