PageSourceSearch

https://www.silesiacitycenter.com.pl/_next/static/chunks/pages/page/[slug]-d10c3025c580564b.js

js silesiacitycenter.com.pl collected 2026-10-02 08:36:09 UTC 30,090 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2882],{12138:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/page/[slug]",function(){return c(16848)}])},16848:function(i,b,a){"use strict";a.r(b),a.d(b,{"__N_SSP":function(){return ac},"default":function(){return ad}});var j=a(85893),k=a(67294),c=a(11163),l=a.n(c),d=a(41664),m=a.n(d),n=a(559),o=a(64278),p=a(97505),q=a(27044),r=function(b){var c,d,e,f,a=null==b?void 0:b.data,g=null==a?void 0:null===(c=a.media)|| void 0===c?void 0:c.hash,h=null==a?void 0:null===(d=a.media)|| void 0===d?void 0:d.ext,i=(null==a?void 0:a.alt)||(null==a?void 0:null===(e=a.media)|| void 0===e?void 0:e.alt),k=(null==a?void 0:a.name)||(null==a?void 0:null===(f=a.media)|| void 0===f?void 0:f.name);return(0,j.jsx)("div",{className:"w-full h-[calc(100vw*0.5)] max-h-[620px] min-h-[320px] mb-14 items-center justify-center",children:(0,j.jsx)(q.Z,{url:g,ext:h,alt:i,name:k,className:"w-full h-full object-cover",priority:null==b?void 0:b.priority})})},s=a(7371),t=function(a){var b,c,d,f=null==a?void 0:null===(b=a.data)|| void 0===b?void 0:b.description,g=null==a?void 0:null===(c=a.data)|| void 0===c?void 0:c.heading,e=null==a?void 0:null===(d=a.data)|| void 0===d?void 0:d.videoUrl;return(0,j.jsxs)("div",{className:"px-4 md:px-12",children:[(0,j.jsx)("h1",{className:"text-4xl font-normal mb-6",children:g}),(0,j.jsx)("div",{dangerouslySetInnerHTML:{__html:f},id:"strapi-editor",className:"text-md overflow-x-scroll "}),e&&(0,j.jsx)("div",{className:"w-full aspect-video mt-12",children:(0,j.jsx)("iframe",{className:"w-full h-full",src:"https://www.youtube.com/embed/".concat((0,s.P9)(e)),title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})]})},u=a(15254),v=function(a){var b,c,d,e,h=(0,u.$G)("common").t,f=null==a?void 0:null===(b=a.data)|| void 0===b?void 0:b.section,g=null==a?void 0:null===(c=a.data)|| void 0===c?void 0:c.showNavigation;return(0,j.jsxs)("div",{className:"flex w-full flex-col md:flex-row max-w-7xl gap-4 md:gap-24 ",children:[(0,j.jsx)("div",{className:"w-full ".concat(g?"md:w-2/3":"w-full"," flex order-2 md:order-1 flex-row items-center"),children:(0,j.jsx)("ul",{className:"text-left",children:null==(d=f)?void 0:d.map(function(a){var b=null==a?void 0:a.heading,c=null==a?void 0:a.description;return(0,j.jsxs)("li",{id:b,className:"flex flex-col gap-6 pt-10",children:[(0,j.jsx)("h1",{className:"text-xl font-semibold",children:b}),(0,j.jsx)("div",{id:"strapi-editor",className:"flex flex-col gap-8 text-md overflow-x-auto",dangerouslySetInnerHTML:{__html:c}})]},b)})})}),g&&(0,j.jsx)("div",{className:" text-gray-400 order-1 md:order-2 md:w-1/3 w-full pt-10 flex justify-content ",children:(0,j.jsxs)("div",{className:"bg-white.200 flex w-full flex-col p-4 gap-6 h-fit",children:[(0,j.jsx)("h1",{children:h("navigateToSection")}),(0,j.jsx)("ul",{className:"flex flex-col gap-2 text-sm text-black",children:null==(e=f)?void 0:e.map(function(b){var a=null==b?void 0:b.heading;return(0,j.jsx)("li",{id:a,children:(0,j.jsx)("button",{onClick:function(){return(0,s.cx)(a)},className:"text-md text-left",children:a})},a)})})]})})]})},w=a(78516),x=a(60432),y=a(33923),e=a(34051),z=a.n(e),A=a(82175),B=a(74231),C=a(96652),D=a(35160),f=a(9198),E=a.n(f),F=a(59610),g=a(30381),G=a.n(g),H=a(85549),I=a(61929);function J(c,d,e,f,g,h,i){try{var a=c[h](i),b=a.value}catch(j){e(j);return}a.done?d(b):Promise.resolve(b).then(f,g)}function K(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function L(d){for(var a=1;a<arguments.length;a++){var c=null!=arguments[a]?arguments[a]:{},b=Object.keys(c);"function"==typeof Object.getOwnPropertySymbols&&(b=b.concat(Object.getOwnPropertySymbols(c).filter(function(a){return Object.getOwnPropertyDescriptor(c,a).enumerable}))),b.forEach(function(a){K(d,a,c[a])})}return d}var M=function(c){var g,h,b=c.inputObject,a=c.formik,i=c.pickDate,d=c.t,o=c.daysAvailable,e=(0,k.useState)([]),m=e[0],p=e[1],f=(0,k.useState)([]),n=f[0],q=f[1],r=(h=(g=z().mark(function a(){var b,c,d;return z().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=3,C.d.getEventLandingPageAvailableTimes(null===l()|| void 0===l()?void 0:null===(b=l().query
1)|| void 0===b?void 0:b.slug);case 3:p(null!==(d=null==(c=a.sent)?void 0:c.activeSlots)&& void 0!==d?d:[]);case 6:case"end":return a.stop()}},a)}),function(){var a=this,b=arguments;return new Promise(function(d,e){var f=g.apply(a,b);function c(a){J(f,d,e,c,h,"next",a)}function h(a){J(f,d,e,c,h,"throw",a)}c(void 0)})}),function(){return h.apply(this,arguments)});(0,k.useEffect)(function(){(null==b?void 0:b.label)==="Date"&&r()},[null==b?void 0:b.label]),(0,k.useEffect)(function(){a.values.date?m.length>0?s(a.values.date):r():q([])},[a.values.date,m.length]),(0,k.useEffect)(function(){if(a.values.time){var b=a.values.time.split("-"),c=b[0].trim()+":00.000",d=b[1].trim()+":00.000",e=G()(a.values.date).format("YYYY-MM-DD");(null==o?void 0:o.find(function(a){return a.date===e&&a.startTime===c&&a.endTime===d&&a.allowMultipleBooking}))?a.setFieldValue("isApproved",!1):a.setFieldValue("isApproved",!0)}},[a.values.time]);var s=function(b){var a=m.find(function(a){return a.availableDate===G()(b).format("YYYY-MM-DD")});a&&a.availableSlots?q((0,H.r)(a.availableSlots)):q([])};return(null==b?void 0:b.label)==="Date"?(0,j.jsx)("div",{className:"flex flex-col w-full md:w-1/2 gap-2",children:(0,j.jsx)(E(),{wrapperClassName:"w-full",selected:a.values.date,onChange:i("date"),minDate:G()().toDate(),filterDate:function(a){return!!m.find(function(b){return b.availableDate===G()(a).format("YYYY-MM-DD")})},calendarStartDay:1,customInput:(0,j.jsx)(F.Z,{inputProps:L({wrapperClassName:"w-full",placeholder:d("common:fields.date")},a.getFieldProps("date"),a.getFieldMeta("date"),{type:"text",className:"cursor-pointer",value:G()(a.values.date).isValid()?G()(a.values.date).format("DD.MM.YYYY"):"",label:"".concat(d("common:fields.chooseDate"))})})})},null==b?void 0:b.id):(0,j.jsx)("div",{className:"flex flex-col w-full md:w-1/2 gap-2",children:(0,j.jsx)(I.Z,L({label:"".concat(d("common:fields.chooseTime")," *")},a.getFieldProps("time"),a.getFieldMeta("time"),{onChange:a.setFieldValue,placeholder:d("common:fields.time"),wrapperClassName:"col-span-12 md:col-span-6 lg:col-span-6",slotsAvailable:n,id:"time"}))},null==b?void 0:b.id)},h=a(83253),N=a.n(h);function O(c){var a=c.message,b=(0,k.useState)(!1),d=b[0],e=b[1];return(0,k.useEffect)(function(){e(!0)},[a]),(0,j.jsx)(N(),{isOpen:d,className:"max-w-[90%] w-[1024px] bg-white p-4 xs:p-6 max-h-[90vh] overflow-auto",onRequestClose:function(){e(!1),window.location.reload()},contentLabel:"Make an appointment modal",children:(0,j.jsx)("div",{className:"flex items-center justify-center h-[10rem]",children:(0,j.jsx)("p",{className:"text-lg text-green-600",children:a})})})}var P=a(57765),Q=a(67392);function R(c,d,e,f,g,h,i){try{var a=c[h](i),b=a.value}catch(j){e(j);return}a.done?d(b):Promise.resolve(b).then(f,g)}function S(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function T(d){for(var a=1;a<arguments.length;a++){var c=null!=arguments[a]?arguments[a]:{},b=Object.keys(c);"function"==typeof Object.getOwnPropertySymbols&&(b=b.concat(Object.getOwnPropertySymbols(c).filter(function(a){return Object.getOwnPropertyDescriptor(c,a).enumerable}))),b.forEach(function(a){S(d,a,c[a])})}return d}var U=function(a){return(0,j.jsx)("div",{dangerouslySetInnerHTML:{__html:a}})},V=["Event registration form","Media campaign form"],W=function(b){var i,l,r,t,y=function(a){var b;return a.length<2?a.join(""):a[0]+((b=a[1]).charAt(0).toUpperCase()+b.slice(1))},a=null==b?void 0:b.data,E=null==b?void 0:b.pageName,d=(null==a?void 0:a.dateTime)||[],f=(null==a?void 0:a.checkbox)||[],g=(null==a?void 0:a.input)||[],m=null==a?void 0:a.successMessage,v=null==a?void 0:a.errorMessage,w=null==a?void 0:a.submitBtnLabel,x=null==a?void 0:a.heading,F=null==a?void 0:a.workingDays,G=b.isUsingRegistrationForms,n=b.formType,H=V.includes(n),I="Default form"===n,J=(0,c.useRouter)(),K=(0,u.$G)("common").t,o=(0,k.useState)(),e=o[0],L=o[1],p=(0,k.useState)(!1),q=p[0],N=p[1],S=function(a){return a.includes("_")?y(a.split("_")):a},h=(0,A.TA)({initialValues:(i={},g.forEach(function(a){var b=null==a?void 0:a.label;i[(0,s.gQ)(b)]=""}),f.forEach(function(a){i[null==a?void 0:a.name]=!1}),d.forEach(function(a){var b=null==a?void 0:a.label;i[(0,s.gQ)(b)]=""}
1),i[Q.u]="",i),validationSchema:B.Ry().shape((l={},g.forEach(function(a){var b=(0,s.gQ)(null==a?void 0:a.label);"phone_number"===b?l[b]=(null==a?void 0:a.isMandatory)?B.Z_().matches(/^[\+]?[(]?[0-9]{3}[)]?[-\s\.]?[0-9]{3}[-\s\.]?[0-9]{5,6}$/,K("fields.invalidPhoneNumber")).required("".concat(K("fields.required",{field:K("fields.phoneNumber")}))):B.Z_().matches(/^[\+]?[(]?[0-9]{3}[)]?[-\s\.]?[0-9]{3}[-\s\.]?[0-9]{5,6}$/,K("common:fields.invalidPhoneNumber")):"email"===b?l[b]=(null==a?void 0:a.isMandatory)?B.Z_().email(K("invalidEmail")).required("".concat(K("fields.required",{field:K("fields.email")}))):B.Z_().email(K("invalidEmail")):l[b]=(null==a?void 0:a.isMandatory)?B.Z_().required("".concat(K("fields.required",{field:K("fields.".concat(S(b)))}))):B.Z_()}),f.forEach(function(a){var b=null==a?void 0:a.name;l[b]=(null==a?void 0:a.isMandatory)?B.O7().isTrue("".concat(K("fields.required",{field:b}))):B.O7()}),d.forEach(function(a){var b=(0,s.gQ)(null==a?void 0:a.label);l[b]=(null==a?void 0:a.isMandatory)?B.Z_().required("".concat(K("fields.required",{field:K("fields.".concat(S(b)))}))).nullable():B.Z_()}),l)),onSubmit:(t=(r=z().mark(function c(d){var e,f,g;return z().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(G&&H&&(d.registration_source="Event registration form"===n?"in-mall event":"media campaign",d.isRegistrationForm=!0),!b.onSubmitForm){c.next=3;break}return c.abrupt("return",b.onSubmitForm(d));case 3:if(N(!0),!(I&&(null==a?void 0:a.email))){c.next=16;break}return d.formId=null==a?void 0:a.id,d.pageName=E,d.slug=J.query.slug,c.next=10,C.d.submitLandingPageForm(JSON.stringify(T({},d)));case 10:L(e=c.sent),N(!1),setTimeout(function(){h.resetForm()},2e3),c.next=22;break;case 16:return c.next=19,C.d.sendToCRM(T({},d,{type:"landing-page",source:null==window?void 0:null===(f=window.location)|| void 0===f?void 0:f.href}));case 19:L(null==(g=c.sent)?void 0:g.json),N(!1);case 22:case"end":return c.stop()}},c)}),function(){var a=this,b=arguments;return new Promise(function(d,e){var f=r.apply(a,b);function c(a){R(f,d,e,c,g,"next",a)}function g(a){R(f,d,e,c,g,"throw",a)}c(void 0)})}),function(a){return t.apply(this,arguments)})}),W=(0,k.useCallback)(function(a){return function(b){b&&(h.setFieldValue(a,b),h.setFieldError(a,void 0),h.setFieldTouched(a,!1),h.setFieldValue("time",null))}},[h]);return(0,j.jsxs)("div",{className:"w-full flex flex-col items-center",children:[!Boolean(e)&&!q&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("h1",{className:"text-3xl text-center",children:x}),(0,j.jsxs)("form",{className:"flex flex-col px-8 lg:px-0 w-full lg:w-1/2 gap-4 mt-8 lg:flex-col lg:justify-center",onSubmit:h.handleSubmit,children:[(0,j.jsx)(P.Z,{value:h.values[Q.u],onChange:h.handleChange}),null==g?void 0:g.map(function(a){var b=K("fields.".concat(S((0,s.gQ)(null==a?void 0:a.label))));return b+=a.isMandatory?" *":"",(0,j.jsxs)("div",{className:"flex flex-col w-full gap-2",children:[(0,j.jsx)("input",{onChange:h.handleChange,onBlur:h.handleBlur,className:"w-full px-3  border-transparent border-b-gray-300  focus:border-gray-500 focus:ring-0",type:"text",name:(0,s.gQ)(null==a?void 0:a.label),placeholder:b}),h.errors[(0,s.gQ)(null==a?void 0:a.label)]&&h.touched[(0,s.gQ)(null==a?void 0:a.label)]&&(0,j.jsx)("div",{className:"px-3 text-sm text-red-600",children:String(h.errors[(0,s.gQ)(null==a?void 0:a.label)])})]},null==a?void 0:a.id)}),null==f?void 0:f.map(function(a){return(0,j.jsxs)("div",{className:"ml-2 flex gap-4 w-full flex-col",children:[(0,j.jsxs)("div",{className:"flex gap-4",children:[(0,j.jsx)("input",{checked:h.values[a.name],onChange:h.handleChange,name:a.name,type:"checkbox",className:"w-4 h-4 text-blue-600 bg-gray-100 rounded border-gray-300 focus:ring-0 mt-1"}),(0,j.jsxs)("div",{className:"flex",children:[(0,j.jsx)("label",{className:"leading-relaxed text-left",dangerouslySetInnerHTML:{__html:null==a?void 0:a.label}}),a.isMandatory&&(0,j.jsx)("span",{className:"ml-1 mr-1",children:"*"})]})]}),h.errors[a.name]&&h.touched[a.name]&&(0,j.jsx)("div",{className:"px-3 text-sm text-red-600",children:String(h.errors[a.name])})]},null==a?void 0:a.id)}),(null==d?void 0:d.length)?(0,j.jsx)("div",{className:"flex flex-col md:flex-row w-full gap-4",children:null==d?void 0:d.map(function(a){return(0,j.jsx)(M,{inputObject:a,formik:h,pickDate:W,t:K,daysAvailable:F},null==a?void 0:a.id)})}):null,(0,j.jsx)("div",{className:"w-full flex justify-center mt-4",children:(0,j.jsx)("button",{type:"submit",className:"border border-gray-300 ease-in duration-200 p-3 px-6 ",children:(0,j.jsx)("span",{children:w})})})]})]})," ",q&&(0,j.jsx)("div",{className:"w-[90%] p-8 min-w-96 min-h-64 flex items-center justify-center",children:(0,j.jsx)(D.Z,{color:"black"})}),(null==e?void 0:e.code)=="created"&&m&&(0,j.jsx)(O,{message:U(m)}),(null==e?void 0:e.code)=="updated"&&(0,j.jsx)("div",{className:"p-8 min-w-96 min-h-64 tracking-wide text-center",children:U(v)})]})},X=a(1968),Y=a(83160),Z=a(18001),$=a(48300),_=a(56950),aa=a(11250);a(95828);var ab=function(A){var e,f,g,h,i,l,u,b=A.props,z=null==b?void 0:b.t,a=null==b?void 0:null===(e=b.pageData)|| void 0===e?void 0:null===(f=e.json)|| void 0===f?void 0:f.data,B=null==a?void 0:a.pageBody,q=null==a?void 0:a.name,C=null==a?void 0:a.pageHeading,D=null==a?void 0:a.showInstagram,E=null==a?void 0:a.showBreadcrumbs,F=null==a?void 0:a.showPageName,H=b.isUsingRegistrationForms||!1,d=null==b?void 0:null===(g=b.staticData)|| void 0===g?void 0:null===(h=g.seoData)|| void 0===h?void 0:h.seo,I=(0,c.useRouter)(),G=function(a){return null==a?void 0:a.map(function(a){var b,c;switch(null==a?void 0:a.__component){case"shared.section":return(0,j.jsx)("li",{className:"first:mt-0 ",children:(0,j.jsx)(p.Z,{csrSection:a})},null==a?void 0:a.id);case"shared.section-with-nav":return(0,j.jsx)("li",{className:"first:mt-0 ",children:(0,j.jsx)(v,{data:a})},null==a?void 0:a.id);case"shared.pdf":return(0,j.jsx)("li",{className:"first:mt-0 ",children:(0,j.jsx)(y.Z,{data:a})},null==a?void 0:a.id);case"shared.form":return(0,j.jsx)("li",{className:"first:mt-0 ",children:(0,j.jsx)(W,{data:a,isUsingRegistrationForms:H,formType:null==a?void 0:a.formType,pageName:q})},null==a?void 0:a.id);case"shared.tenants":return(0,j.jsx)(j.Fragment,{children:(null==a?void 0:a.showTenants)&&(0,j.jsxs)("li",{className:"flex font-semibold flex-col",children:[(0,j.jsx)("h1",{className:"text-2xl",children:null==a?void 0:a.heading}),(0,j.jsx)("ul",{className:"list-none grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-8 w-full mt-6 py-8 bg-white",children:null==(b=null==a?void 0:a.tenants)?void 0:b.map(function(a){var b,c,d,e,f=null==a?void 0:null===(b=a.logo)|| void 0===b?void 0:b.hash,g=null==a?void 0:null===(c=a.logo)|| void 0===c?void 0:c.ext,h=null==a?void 0:a.slug,i=null==a?void 0:a.id,k=null==a?void 0:null===(d=a.menu_category)|| void 0===d?void 0:d.categorySlug,l=null==a?void 0:null===(e=a.menu_sub_category)|| void 0===e?void 0:e.subCategorySlug,m=(0,s.je)(a);return(0,j.jsx)("li",{className:"",children:(0,j.jsx)(X.Z,{tenantName:null==a?void 0:a.name,href:(0,s.NM)(k,h,l,m,null==I?void 0:I.locale),hash:f,ext:g})},i)})})," "]})});case"shared.offers":return(0,j.jsx)(j.Fragment,{children:(null==a?void 0:a.showOffers)&&(0,j.jsxs)("li",{className:"flex gap-4 flex-col",children:[(0,j.jsx)("h1",{className:"text-2xl font-semibold",children:null==a?void 0:a.heading}),(0,j.jsx)("ul",{className:"mt-2 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 gap-y-[5.5rem] md:gap-y-24 w-full py-16 place-items-top",children:null==(c=null==a?void 0:a.offers)?void 0:c.map(function(a){var b,c,d,e=null==a?void 0:a.name,f=null==a?void 0:a.startDate,g=null==a?void 0:a.endDate,h=null==a?void 0:a.slug,i=null==a?void 0:a.id,k=null==a?void 0:a.offer_type,l=null==a?void 0:null===(b=a.tenant)|| void 0===b?void 0:null===(c=b.logo)|| void 0===c?void 0:c.url,n=null==a?void 0:null===(d=a.special_promotion)|| void 0===d?void 0:d.backgroundImage;return(0,j.jsx)("div",{className:"flex flex-col w-full text-center",children:(0,j.jsx)(m(),{href:"".concat(z("url./offers"),"/").concat(h),passHref:!0,children:(0,j.jsx)("a",{children:(0,j.jsx)("div",{className:"h-full mt-auto",children:(0,j.jsx)(_.Z,{name:e,startDate:f,endDate:g,tenantLogoUrl:l,offerType:k,specialPromoBgImage:n})})})})},i)})})]})});case"global.mixed-section":return(0,j.jsx)(Y.Z,{section:a},null==a?void 0:a.id);case"sections.services-section":return(0,j.jsx)(Z.Z,{service:a},null==a?void 0:a.id);default:j.Fragment}})};return(0,k.useEffect)(function(){G(B)},[b]),(0,j.jsxs)("section",{className:"flex gap-12 flex-col items-center justify-center h-fit pt-6 px-4 md:px-12",children:[(0,j.jsx)(aa.Z,{title:q+" | "+(null==d?void 0:d.metaTitle),description:(null==a?void 0:null===(i=a.seo)|| void 0===i?void 0:i.metaDescription)||(null==d?void 0:d.metaDescription),keywords:(null==a?void 0:null===(l=a.seo)|| void 0===l?void 0:l.keywords)||(null==d?void 0:d.keywords)}),(0,j.jsxs)("div",{className:"flex flex-col w-full max-w-7xl ",children:[E&&(0,j.jsxs)("div",{className:"flex flex-row items-center pb-6",children:[(0,j.jsx)(n.Z,{name:z("home"),href:x.ft,className:"text-sm font-light text-gray.100"}),(0,j.jsx)("p",{className:"px-4.5 text-sm font-light text-gray.100",children:">"}
1),(0,j.jsx)(n.Z,{name:q,href:"".concat(z("url./page"),"/").concat(null==a?void 0:a.slug),className:"text-sm font-light text-black line-clamp-1"})]}),F&&(0,j.jsx)("h1",{className:"font-semibold text-3xl py-6","aria-label":"CSR",children:q}),(0,j.jsx)("ul",{className:"flex flex-col w-full gap-12 overflow-x-scroll no-scrollbar",children:null==(u=C)?void 0:u.map(function(a){switch(null==a?void 0:a.__component){case"carousel.carousel":return(0,j.jsx)("li",{className:"first:mt-0 ",children:(0,j.jsx)(o.Z,{data:a})},null==a?void 0:a.id);case"shared.media":return(0,j.jsxs)("li",{className:"first:mt-0",children:[(0,j.jsx)(r,{data:a,priority:!0})," "]},null==a?void 0:a.id);case"shared.simple-section":return(0,j.jsx)("li",{className:"first:mt-0 overflow-auto",children:(0,j.jsx)(t,{data:a})},null==a?void 0:a.id);default:j.Fragment}})}),(0,j.jsx)("ul",{className:"flex flex-col w-full gap-12 overflow-x-scroll no-scrollbar",children:G(B)}),(null==b?void 0:b.registrationForm)&&(0,j.jsx)($.Z,{data:b.registrationForm})]}),!!D&&(0,j.jsx)("div",{className:"w-full",children:(0,j.jsx)(w.Z,{})})]})},ac=!0,ad=function(a){return(0,j.jsx)(ab,{props:a})}},64278:function(d,b,a){"use strict";var e=a(85893),f=a(30719),g=a(88116),h=a(27044),i=a(7371),j=a(93463),c=a(41664),k=a.n(c),l=a(20141);b.Z=function(a){var c,d,m=(0,l.o)(),o=m.mobile,p=m.tablet,n=(null==a?void 0:null===(c=a.data)|| void 0===c?void 0:c.carouselItem)?null==a?void 0:null===(d=a.data)|| void 0===d?void 0:d.carouselItem:null==a?void 0:a.data,b=(0,i.U4)(n),q=function(b){var c=b.image,a=b.mobileMedia;if((o||p)&&a){var d=null!=a?a:{},f=d.hash,g=d.ext;return{hash:f,ext:g,hasMobileMedia:a}}var e=null!=c?c:{},h=e.hash,i=e.ext;return{hash:h,ext:i}};return(0,e.jsx)("div",{className:"",children:(null==b?void 0:b.length)>0?(0,e.jsx)("div",{className:"w-full relative pb-[45%] max-h-800 min-h-300 overflow-hidden",children:(0,e.jsx)("div",{className:"absolute top-0 left-0 w-full h-full",children:(0,e.jsx)(j.Z,{centeredSlides:!0,autoplay:{delay:5e3,disableOnInteraction:!0},loop:!0,pagination:{clickable:!0},keyboard:!0,navigation:!0,modules:[g.pt,g.tl,g.W_,g.xW],className:"mySwiper",children:null==b?void 0:b.map(function(a,d){var b,g=null==a?void 0:null===(b=a.link)|| void 0===b?void 0:b.href,c=q(a),i=c.hash,j=c.ext,l=c.hasMobileMedia;return(0,e.jsx)(f.o5,{className:"w-full",children:function(c){var b,f=c.preload;return(0,e.jsx)("div",{className:"w-full h-full top-0",children:(0,e.jsx)(k(),{href:g||"/",children:(0,e.jsx)("a",{className:"z-50 w-full h-full lg:border-black text-[14px] lg:text-[16px] text-b hover:bg-black hover:text-white transition",children:(0,e.jsx)(h.Z,{className:"w-full h-full object-contain",title:null==a?void 0:a.title,alt:null==a?void 0:null===(b=a.image)|| void 0===b?void 0:b.alternativeText,ext:j,url:i,priority:0===d,preload:f,isContain:Boolean(l&&o),hasAspectRatio:!0})})})})}},d)})})})}):(0,e.jsx)(e.Fragment,{})})}},33923:function(c,b,a){"use strict";var d=a(85893),e=a(73984);b.Z=function(g){var b,c,f,a=null==g?void 0:g.data,h=e.API_URL+(null==a?void 0:null===(b=a.downloadPdf)|| void 0===b?void 0:b.url),i=null==a?void 0:a.buttonLabel,j=null==a?void 0:a.description,k=null==a?void 0:a.heading;return(0,d.jsxs)("section",{className:" my-6 gap-4 flex flex-col overflow-x-auto",children:[(0,d.jsx)("h1",{className:"text-3xl text-left",children:k}),(0,d.jsx)("div",{id:"strapi-editor",className:"text-left",dangerouslySetInnerHTML:{__html:j}}),(null===(c=a.media)|| void 0===c?void 0:c.url)&&(0,d.jsx)("img",{className:"mx-auto w-1/3",src:a.media.url,alt:a.media.name,title:a.media.name}),(0,d.jsx)("div",{className:"flex justify-start",children:(null==a?void 0:null===(f=a.downloadPdf)|| void 0===f?void 0:f.url)&&(0,d.jsx)("a",{className:"w-fit my-4 hover:bg-black hover:text-white transform ease-in duration-300 py-3 px-16 border border-gray-500",target:"_blank",href:h,rel:"noreferrer",children:i})})]})}},18001:function(c,b,a){"use strict";var d=a(85893),e=a(67294),f=a(88116),g=a(30719),h=a(73984),i=a(93463),j=a(86271);function k(c,a){(null==a||a>c.length)&&(a=c.length);for(var b=0,d=new Array(a);b<a;b++)d[b]=c[b];return d}var l=function(){var a=arguments.length>0&& void 0!==arguments[0]?arguments[0]:"";return a.replace(/<[^>]*>/g,"").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').trim()},m=function(b){var a=b.direction;return(0,d.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"h-4 w-4","aria-hidden":!0,
1children:"left"===(void 0===a?"left":a)?(0,d.jsx)("path",{d:"M15 18l-6-6 6-6"}):(0,d.jsx)("path",{d:"M9 6l6 6-6 6"})})},n=function(f){var a=f.service,b=null==a?void 0:a.picture,c=(null==b?void 0:b.url)?"".concat(h.API_URL).concat(b.url):"",g=(null==b?void 0:b.alternativeText)||(null==b?void 0:b.alt)||(null==a?void 0:a.title)||"",e=l((null==a?void 0:a.description)||"");return(0,d.jsxs)("article",{className:"flex h-full w-full flex-col overflow-hidden rounded-2xl bg-white text-left shadow-sm",children:[(0,d.jsx)("div",{className:"relative aspect-[4/3] w-full overflow-hidden bg-white.100",children:c&&(0,d.jsx)("img",{src:c,alt:g,className:"absolute inset-0 h-full w-full object-cover"})}),(0,d.jsxs)("div",{className:"flex flex-1 flex-col gap-2 p-4 sm:p-5 md:p-6",children:[(null==a?void 0:a.service_type)&&(0,d.jsx)("p",{className:"text-xs text-gray.200 sm:text-sm",children:a.service_type}),(null==a?void 0:a.title)&&(0,d.jsx)("h3",{className:"text-lg font-semibold text-primaryBlack sm:text-xl md:text-2xl",children:a.title}),e&&(0,d.jsx)("p",{className:"text-sm leading-relaxed text-gray.300 md:text-base",children:e}),(null==a?void 0:a.buttonLabel)&&(null==a?void 0:a.buttonLink)&&(0,d.jsx)("div",{className:"mt-auto pt-4",children:(0,d.jsx)("a",{href:a.buttonLink,target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center rounded-full bg-primaryBlack px-5 py-2.5 text-sm font-medium text-white.200 transition hover:bg-gray.300",children:a.buttonLabel})})]})]})};b.Z=function(w){var c,o,b=w.service,p=b.title,x=b.bgColor,a=b.services,q=b.titleColor,h=b.description,r=(c=(0,j.i)(),o=1,function(a){if(Array.isArray(a))return a}(c)||function(b,e){var f,g,a=null==b?null:"undefined"!=typeof Symbol&&b[Symbol.iterator]||b["@@iterator"];if(null!=a){var c=[],d=!0,h=!1;try{for(a=a.call(b);!(d=(f=a.next()).done)&&(c.push(f.value),!e||c.length!==e);d=!0);}catch(i){h=!0,g=i}finally{try{d||null==a.return||a.return()}finally{if(h)throw g}}return c}}(c,o)||function(a,c){if(a){if("string"==typeof a)return k(a,c);var b=Object.prototype.toString.call(a).slice(8,-1);if("Object"===b&&a.constructor&&(b=a.constructor.name),"Map"===b||"Set"===b)return Array.from(b);if("Arguments"===b||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return k(a,c)}}(c,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],D=(0,e.useRef)(null),s=(0,e.useState)(!0),y=s[0],E=s[1],t=(0,e.useState)(!1),z=t[0],F=t[1],u=(0,e.useState)("left"),A=u[0],G=u[1];if((0,e.useEffect)(function(){a.length<5&&r>=1366?G("center"):G("left")},[r,null==a?void 0:a.length]),!(null==a?void 0:a.length))return null;var l,B=function(){var a;return null===(a=D.current)|| void 0===a?void 0:a.slidePrev()},C=function(){var a;return null===(a=D.current)|| void 0===a?void 0:a.slideNext()},v=function(a){E(a.isBeginning),F(a.isEnd)};return(0,d.jsx)("section",{id:"more-services",className:"px-4 md:px-12 md:py-10 min-h-[700px] py-12",style:{backgroundColor:x||"#ffffff"},children:(0,d.jsxs)("div",{className:"w-full gap-12 px-4 py-16 flex flex-col h-full max-w-7xl mx-auto swiper overflow-hidden",children:[p&&(0,d.jsx)("h1",{className:"mb-4 text-center text-5xl tracking-tight",style:{color:null!=q?q:"#000000"},children:p}),h&&(null==h?void 0:h.length)>10&&(0,d.jsx)("div",{id:"strapi-editor",className:"overflow-hidden mb-2 first:mt-0",dangerouslySetInnerHTML:{__html:h}}),(null==a?void 0:a.length)>4&&(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("button",{type:"button",onClick:B,disabled:y,"aria-label":"Previous services",className:"flex h-9 w-9 items-center justify-center rounded-full bg-white text-primaryBlack transition hover:bg-white.200 disabled:opacity-40",children:(0,d.jsx)(m,{direction:"left"})}),(0,d.jsx)("button",{type:"button",onClick:C,disabled:z,"aria-label":"Next services",className:"flex h-9 w-9 items-center justify-center rounded-full bg-white text-primaryBlack transition hover:bg-white.200 disabled:opacity-40",children:(0,d.jsx)(m,{direction:"right"})})]}),(0,d.jsx)("div",{className:"flex w-full swiper-align-".concat(A),children:(0,d.jsx)(i.Z,{slidesPerView:(l=r)<640?1.1:l<1024?2.2:l<2e3?.00235*l:4.7,spaceBetween:16,modules:[f.W_],grabCursor:!0,onSwiper:function(a){D.current=a,v(a)},onSlideChange:v,onProgress:v,className:"mySwiper",children:a.map(function(a){return(0,d.jsx)(g.o5,{className:"!h-auto !flex",children:(0,d.jsx)(n,{service:a})},a.id)})})})]})})}},61929:function(c,b,a){"use strict";a.d(b,{Z:function(){return l}});
1var d=a(85893),e=a(67294),f=a(43623),g=a(7276);function h(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function i(d){for(var a=1;a<arguments.length;a++){var c=null!=arguments[a]?arguments[a]:{},b=Object.keys(c);"function"==typeof Object.getOwnPropertySymbols&&(b=b.concat(Object.getOwnPropertySymbols(c).filter(function(a){return Object.getOwnPropertyDescriptor(c,a).enumerable}))),b.forEach(function(a){h(d,a,c[a])})}return d}var j={control:function(a){return i({},a,{border:"1px solid rgb(229, 231, 235)",backgroundColor:"transparent","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",cursor:"text",padding:"0.375rem 1.5rem",borderRadius:"0px"})},option:function(c,a){var b;return i({},c,{cursor:"pointer",backgroundColor:a.isFocused?"var(--primaryHover)":"transparent",color:(b=a).isDisabled?"gray":b.isFocused?"var(--white)":"var(--black)",fontSize:"16px",lineHeight:"24px","&:hover":{backgroundColor:"var(--primaryHover)"}})}};function k(a){var b=a.label,h=a.onChange,i=a.wrapperClassName,k=a.name,l=a.value,c=a.error,m=a.touched,n=a.options,o=a.onBlur,p=(0,e.useMemo)(function(){return!!c&&!!m},[c,m]),q=(0,e.useMemo)(function(){return(0,f.Z)("flex flex-col gap-1 w-full",i)},[i]);return(0,d.jsxs)("div",{className:q,children:[!!b&&(0,d.jsx)("label",{htmlFor:k,className:"text-sm font-light w-full",children:b}),(0,d.jsx)(g.ZP,{className:"React-Select",value:l,styles:j,options:n,onChange:h,onBlur:o,components:{IndicatorSeparator:function(){return null},Placeholder:function(){return null}},isOptionDisabled:function(a){return a.disabled}}),p&&(0,d.jsx)("div",{className:"text-sm text-red-600 w-full",children:c})]})}function l(a){var g=a.label,h=a.onChange,i=a.wrapperClassName,j=a.name,b=a.value,c=a.error,l=a.touched,m=a.onBlur,n=a.slotsAvailable,o=a.placeholder,p=(0,e.useMemo)(function(){return!!c&&!!l},[c,l]),q=(0,e.useMemo)(function(){return(0,f.Z)("flex flex-col gap-y-[7px] w-full",i)},[i]),r=(0,e.useMemo)(function(){return{label:b||o||"",value:b||o||"",disabled:!0}},[b,o]),s=(0,e.useCallback)(function(a){h(j,"".concat(a.value))},[h,j,b]);return(0,d.jsxs)("div",{className:q,children:[(0,d.jsx)("label",{className:"text-sm font-light w-full",children:g}),(0,d.jsx)("div",{className:"grid grid-cols-3 gap-x-2",children:(0,d.jsx)(k,{wrapperClassName:"col-span-6",value:r,options:n,onBlur:m,onChange:s})}),p&&(0,d.jsx)("div",{className:"text-sm text-red-600 w-full",children:c})]})}},85549:function(c,a,b){"use strict";b.d(a,{r:function(){return d}});var d=function(a){return a.map(function(a){return{label:"".concat(null==a?void 0:a.startTime.substring(0,5)," - ").concat(null==a?void 0:a.endTime.substring(0,5)),value:"".concat(null==a?void 0:a.startTime.substring(0,5)," - ").concat(null==a?void 0:a.endTime.substring(0,5)),disabled:a.isBooked,date:a.date}})}}},function(a){a.O(0,[2962,9240,4661,8960,7276,9198,1405,3402,3160,9774,2888,179],function(){return a(a.s=12138)}),_N_E=a.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.