PageSourceSearch

https://www.outwithkidz.com/_next/static/chunks/9096-2ec9a0a9ada5a939.js

js outwithkidz.com collected 2026-10-08 10:33:59 UTC 35,081 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9096],{8712:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(34957);let i=(e,t)=>({userLoggedIn:!1,filterDialogOpen:!1,loginDialogOpen:!1,searchDialogOpen:!1,desktopSearchDialogOpen:!1,reviewDialogOpen:!1,imageGalleryOpen:!1,userDialogOpen:!1,userCoordinates:null,editMarketingOpen:!1,editProfileOpen:!1,mainNavOpen:!0,userSideNavOpen:!1,imageLibOpen:!1,filters:{amenities:[],ageGap:{start:0,end:99},category:""},categories:[],amenities:[],setCategories:t=>{e(()=>({categories:t}))},setAmenities:t=>{e(()=>({amenities:t}))},handleAgeRange:t=>{e(e=>({filters:{amenities:e.filters.amenities,category:e.filters.category,ageGap:{start:t[0],end:t[1]}}}))},clearFilter:()=>{e(()=>({filters:{amenities:[],category:"",ageGap:{start:0,end:99}}}))},sortBy:"newlyAdded",listings:[],setListings:t=>{e(()=>({listings:t}))},setUserCoordinates:t=>{e(()=>({userCoordinates:t}))},handleBestRatedSort:()=>{e(()=>({sortBy:"rating"}))},handleSortBy:t=>{e(()=>({sortBy:t}))},handleCategorySelect:t=>{e(e=>({filters:{...e.filters,category:t}}))},handleAmnityFilter:s=>{let a=[...t().filters.amenities],i=a.indexOf(s);-1!==i?a.splice(i,1):a.push(s),e(e=>({filters:{...e.filters,amenities:a}}))},updateListings:(s,a)=>{if(!s)return;let i=[...t().listings],l=i.findIndex(e=>e.id===s.id);i[l]&&(i[l].isFavorite=!a,e(()=>({listings:i})))},imageUploadOpen:!1,imageUploadOpenFromSide:!1,editorImgLibOpen:!1,globalEditorRange:void 0,setGlobalEditor(t){e(e=>e.globalEditorRange=t)},postSettingsOpen:!0,todos:["create","next js app","using typescript"],togglePostSettings(){e(e=>({postSettingsOpen:!e.postSettingsOpen}))},toggleImageUpload(){e(e=>({imageUploadOpen:!e.imageUploadOpen}))},toggleEditorImageLib(){e(e=>({editorImgLibOpen:!e.editorImgLibOpen}))},toggleUserDialog(){e(e=>({userDialogOpen:!e.userDialogOpen}))},toggleEditMarketing(){e(e=>({editMarketingOpen:!e.editMarketingOpen}))},toggleEditProfile(){e(e=>({editProfileOpen:!e.editProfileOpen}))},toggleImageUploadFromSide(){e(e=>({imageUploadOpenFromSide:!e.imageUploadOpenFromSide}))},toggleImageLib(){e(e=>({imageLibOpen:!e.imageLibOpen}))},toggleLoginDialog(t){e(()=>({loginDialogOpen:t}))},toggleFilterDialog(){e(e=>({filterDialogOpen:!e.filterDialogOpen}))},toggleImageGalleryDialog(t){e(()=>({imageGalleryOpen:t}))},toggleSearchDialog(){e(e=>({searchDialogOpen:!e.searchDialogOpen}))},toggleDesktopSearchDialog(){e(e=>({desktopSearchDialogOpen:!e.desktopSearchDialogOpen}))},toggleReviewDialog(){e(e=>({reviewDialogOpen:!e.reviewDialogOpen}))},toggleMainNav(){e(e=>({mainNavOpen:!e.mainNavOpen}))},toggleUserSideNav(){e(e=>({userSideNavOpen:!e.userSideNavOpen}))},addTodo(t){e(e=>({todos:[...e.todos,t]}))}}),l=(0,a.vt)()(function(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return{...i(...t)}})},9096:(e,t,s)=>{s.d(t,{A:()=>V});var a=s(37876),i=s(29719),l=s(74217),r=s(81815),n=s(77328),o=s.n(n),d=s(28653),c=s(77041),m=s(8712),h=s(34724),x=s(40053),u=s(70672),p=s(67817),g=s(82370),f=s(1003);function j(){var e,t;let{filterDialogOpen:s,sortBy:l,listings:r,handleAgeRange:n,filters:o,handleAmnityFilter:j,clearFilter:v,handleCategorySelect:N,handleSortBy:b,toggleFilterDialog:y}=(0,m.A)(e=>e);(0,i.V)();let w=f.F.public.getAmenities.useQuery(),C=f.F.public.getCategories.useQuery();return(0,a.jsx)(d._s.Root,{shouldScaleBackground:!0,open:s,children:(0,a.jsxs)(d._s.Portal,{children:[(0,a.jsx)(d._s.Overlay,{className:"fixed inset-0 bg-black/40"}),(0,a.jsx)(d._s.Content,{className:"fixed bottom-0 left-0 right-0 z-10 mt-24 flex h-[96%] flex-col rounded-t-[10px] bg-zinc-100",children:(0,a.jsxs)("div",{className:"relative flex-1 overflow-auto rounded-t-[10px] bg-white px-4 pb-14",children:[(0,a.jsxs)("div",{className:"fixed inset-x-0 flex w-full items-center justify-between border-b bg-white p-2",children:[(0,a.jsx)(u.A,{className:"opacity-0"}),(0,a.jsx)("div",{className:"mb-2 text-center",children:(0,a.jsx)(p.h,{className:"text-lg",children:"Filters"})}),(0,a.jsx)(c.$,{variant:"ghost",onClick:()=>y(),children:(0,a.jsx)(u.A,{className:" w-8"})})]}),(0,a.jsxs)("div",{className:"mx-2 mt-14 md:mx-10",children:[(0,a.jsx)("div",{className:"mb-5",children:(0,a.jsx)(p.h,{className:"text-lg",children:"Sort"})}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsxs)(h.z,{defaultValue:l,onValueChange:e=>b(e),children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(x.J,{className:"flex-1 text-base",htmlFor:"r1",children:"Highe
1st rated"}),(0,a.jsx)(h.C,{value:"rating",id:"r1"})]}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(x.J,{className:"flex-1 text-base",htmlFor:"r2",children:"Closest"}),(0,a.jsx)(h.C,{value:"closest",id:"r2"})]}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(x.J,{className:"flex-1 text-base",htmlFor:"r3",children:"Newly Added"}),(0,a.jsx)(h.C,{value:"newlyAdded",id:"r3"})]})]}),(0,a.jsx)("hr",{className:"my-5"})]})]}),(0,a.jsxs)("div",{className:"mx-2 my-5 md:mx-10",children:[(0,a.jsx)("div",{className:"flex justify-between pb-2",children:(0,a.jsx)(p.h,{className:"text-lg",children:"Age range"})}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("button",{className:"".concat(2===o.ageGap.end?"bg-gray-200 text-gray-700":""," text-base cursor-pointer items-center justify-center gap-2 rounded-lg px-5 shadow-md transition focus:outline-none "),onClick:()=>n([0,2]),children:"0-2"}),(0,a.jsx)("button",{className:"".concat(5===o.ageGap.end?"bg-gray-200 text-gray-700":""," text-base cursor-pointer items-center justify-center gap-2 rounded-lg px-5 shadow-md transition focus:outline-none "),onClick:()=>n([2,5]),children:"2-5"}),(0,a.jsx)("button",{className:"".concat(90===o.ageGap.end?"bg-gray-200 text-gray-700":""," text-base cursor-pointer items-center justify-center gap-2 rounded-lg px-5 shadow-md transition focus:outline-none "),onClick:()=>n([5,90]),children:"5+"}),(0,a.jsx)("button",{className:"".concat(99===o.ageGap.end?"bg-gray-200 text-gray-700":""," text-base cursor-pointer items-center justify-center gap-2 rounded-lg px-5 shadow-md transition focus:outline-none "),onClick:()=>n([0,99]),children:"All ages"})]})]}),(0,a.jsxs)("div",{className:"mx-2 my-5 md:mx-10",children:[(0,a.jsx)("hr",{className:"my-5"}),(0,a.jsx)("div",{className:"mb-5",children:(0,a.jsx)(p.h,{className:"text-lg",children:"Amenities"})}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2",children:[null==(e=w.data)?void 0:e.map(e=>(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(x.J,{className:"mr-2 flex-1 text-base",htmlFor:e.id,children:e.title}),(0,a.jsx)(g.S,{checked:-1!==o.amenities.findIndex(t=>t===e.title),onCheckedChange:()=>j(e.title),id:e.id})]},e.id)),(0,a.jsx)("hr",{className:"my-5"})]})]}),(0,a.jsxs)("div",{className:"mx-2 my-5 md:mx-10",children:[(0,a.jsx)("div",{className:"mb-5",children:(0,a.jsx)(p.h,{className:"text-lg",children:"Category"})}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)(h.z,{onValueChange:e=>N(e),children:null==C||null==(t=C.data)?void 0:t.filter(e=>"deals"!==e.slug).map(e=>(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(x.J,{className:"flex-1 text-base",htmlFor:e.id,children:e.title}),(0,a.jsx)(h.C,{checked:e.slug===o.category,value:e.slug,id:e.id})]},e.id))}),(0,a.jsx)("hr",{className:"my-5"})]})]}),(0,a.jsx)("div",{className:"fixed bottom-10 left-10",children:(0,a.jsx)(c.$,{variant:"outline",onClick:v,children:"Clear"})}),(0,a.jsx)("div",{className:"fixed bottom-10 right-10",children:(0,a.jsxs)(c.$,{onClick:y,children:["See ",r.length," listings"]})})]})})]})})}var v=s(98333),N=s(91040),b=s(14232),y=s(14970),w=s(48230),C=s.n(w),k=s(32393),O=s(54587),F=s.n(O),z=s(89099),D=s(98119),A=s(47297),S=s(72671),R=s(760),_=s(68648),E=s(80395),L=s(28447),P=s(12621),M=s(44313),B=s(56738),U=s(86506);function G(){var e,t,s,l,r,n;let o=(0,i.V)(),d=(0,z.useRouter)(),{toggleLoginDialog:h}=(0,m.A)(e=>e),[x,u]=(0,b.useState)(!1),{data:p}=f.F.user.getMe.useQuery(void 0,{enabled:"authenticated"===o.status,staleTime:6e4}),{data:g,isLoading:j}=f.F.organizer.getMyOrganizations.useQuery(void 0,{enabled:"authenticated"===o.status,staleTime:6e4}),v=null!=(r=null==p?void 0:p.role)?r:null==(t=o.data)||null==(e=t.user)?void 0:e.role,N="authenticated"===o.status&&(0,M.Vg)(v),y="authenticated"===o.status&&(null!=(n=null==g?void 0:g.length)?n:0)>0,w=async()=>{await P.y.signOut(),d.push("/")},k=()=>{h(!0)};"authenticated"!==o.status||j||g&&g.length;let O=[{href:"/places",label:"Browse Places",external:!1},{href:"/events",label:"Browse Events",external:!1}];return(0,a.jsx)("nav",{className:"sticky top-0 z-50 border-b border-border/50 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60",children:(0,a.jsxs)("div",{className:"mx-auto flex h-16 max-w-7xl items-center justify-between px-4 sm:px-6 lg:px-8",children:[(0,a.jsx)(C(),{href:"/","aria-label":"Go to OutWithKidz home",className:"flex items-center space-x-2",children:(0,a.jsx)(F(),{src:"/logo-full-colour.svg",alt:"OutWithKidz",width:171,height:32,className:"h-8 w-auto"})}),(0,a.jsxs)("div",{className:"hidden items-center space-x-6 lg:flex",children:[O.map(e=>e.external?(0,a.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"text-sm font-medium transition-colors hover:text-[#172c51]",children:e.label},e.href):(0,a.jsx)(C(),{href:e.href,className:"text-sm font-medium transition-colors hover:text-[#172c51]",children:e.label},e.href)),"authenticated"===o.status?(0,a.jsxs)(a.Fragment,{children:[y&&(0,a.jsxs)(C(),{href:"/organiser/dashboard",className:"flex items-center gap-1.5 text-sm font-medium transition-colors hover:text-[#172c51]",children:[(0,a.jsx)(D.A,{className:"h-4 w-4"}),"My Events"]}),N&&(0,a.jsxs)(C(),{href:"/magic",className:"flex items-center gap-1.5 text-sm font-medium transition-colors hover:text-[#172c51]",children:[(0,a.jsx)(A.A,{className:"h-4 w-4"}),"Admin"]}),(0,a.jsxs)(U.rI,{children:[(0,a.jsx)(U.ty,{asChild:!0,children:(0,a.jsx)(c.$,{variant:"outline",size:"icon",className:"rounded-full",children:(null==(s=o.data)?void 0:s.user.image)?(0,a.jsx)("img",{src:o.data.user.image,alt:"",className:"h-8 w-8 rounded-full object-cover"}):(0,a.jsx)(S.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(U.SQ,{align:"end",className:"w-48",children:[(null==(l=o.data)?void 0:l.user.name)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"px-2 py-1.5 text-sm font-medium text-gray-900",children:o.data.user.n
1ame}),(0,a.jsx)(U.mB,{})]}),(0,a.jsxs)(U._2,{onClick:()=>void d.push("/account/my-favorites"),children:[(0,a.jsx)(R.A,{className:"mr-2 h-4 w-4"}),"Saved Places"]}),(0,a.jsxs)(U._2,{onClick:()=>void d.push("/account/my-purchases"),children:[(0,a.jsx)(_.A,{className:"mr-2 h-4 w-4"}),"Tickets"]}),y&&(0,a.jsxs)(U._2,{onClick:()=>void d.push("/organiser/dashboard"),children:[(0,a.jsx)(D.A,{className:"mr-2 h-4 w-4"}),"Organiser Dashboard"]}),(0,a.jsx)(U.mB,{}),(0,a.jsxs)(U._2,{onClick:()=>void w(),children:[(0,a.jsx)(E.A,{className:"mr-2 h-4 w-4"}),"Sign Out"]})]})]})]}):(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(c.$,{variant:"ghost",onClick:k,children:"Login"}),(0,a.jsx)(c.$,{variant:"brandOrange",children:(0,a.jsx)(C(),{href:"/for-organisers",className:"text-sm font-medium transition-colors hover:text-[#172c51]",children:"List your event"})})]})]}),(0,a.jsxs)(B.cj,{open:x,onOpenChange:u,children:[(0,a.jsx)(B.CG,{asChild:!0,className:"lg:hidden",children:(0,a.jsx)(c.$,{variant:"ghost",size:"icon","aria-label":"Open navigation menu",children:(0,a.jsx)(L.A,{className:"h-5 w-5"})})}),(0,a.jsxs)(B.h,{side:"right",className:"w-72",children:[(0,a.jsx)(B.qp,{className:"sr-only",children:"Navigation"}),(0,a.jsxs)("div",{className:"mt-8 flex flex-col space-y-4",children:[(0,a.jsx)(C(),{href:"/","aria-label":"Go to OutWithKidz home",className:"mb-4 flex items-center space-x-2",onClick:()=>u(!1),children:(0,a.jsx)(F(),{src:"/logo-full-colour.svg",alt:"OutWithKidz",width:171,height:32,className:"h-8 w-auto"})}),O.map(e=>e.external?(0,a.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"py-2 text-base font-medium transition-colors hover:text-[#172c51]",children:e.label},e.href):(0,a.jsx)(C(),{href:e.href,className:"py-2 text-base font-medium transition-colors hover:text-[#172c51]",onClick:()=>u(!1),children:e.label},e.href)),"authenticated"===o.status?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"mt-2 border-t pt-4",children:[y&&(0,a.jsxs)(C(),{href:"/organiser/dashboard",className:"flex items-center gap-2 py-2 text-base font-medium transition-colors hover:text-[#172c51]",onClick:()=>u(!1),children:[(0,a.jsx)(D.A,{className:"h-4 w-4"}),"My Events"]}),(0,a.jsxs)(C(),{href:"/account/my-favorites",className:"flex items-center gap-2 py-2 text-base font-medium transition-colors hover:text-[#172c51]",onClick:()=>u(!1),children:[(0,a.jsx)(R.A,{className:"h-4 w-4"}),"Saved Places"]}),(0,a.jsxs)(C(),{href:"/account/my-purchases",className:"flex items-center gap-2 py-2 text-base font-medium transition-colors hover:text-[#172c51]",onClick:()=>u(!1),children:[(0,a.jsx)(_.A,{className:"h-4 w-4"}),"Tickets"]}),N&&(0,a.jsxs)(C(),{href:"/magic",className:"flex items-center gap-2 py-2 text-base font-medium transition-colors hover:text-[#172c51]",onClick:()=>u(!1),children:[(0,a.jsx)(A.A,{className:"h-4 w-4"}),"Admin"]})]}),(0,a.jsx)("div",{className:"mt-2 border-t pt-4",children:(0,a.jsxs)(c.$,{variant:"outline",className:"w-full gap-2",onClick:()=>{u(!1),w()},children:[(0,a.jsx)(E.A,{className:"h-4 w-4"}),"Sign Out"]})})]}):(0,a.jsx)("div",{className:"mt-4 border-t pt-4",children:(0,a.jsx)(c.$,{className:"w-full bg-[#172c51] text-white hover:bg-[#172c51]/90",onClick:()=>{u(!1),k()},children:"Login"})})]})]})]})]})})}let V=e=>{let{meta:t,children:s}=e,n=(0,i.V)(),d=f.F.user.updateUserLocation.useMutation(),c=(0,k.sf)();return(0,b.useEffect)(()=>{var e;if("unauthenticated"===n.status||"loading"===n.status)return;let t=null==(e=n.data)?void 0:e.user.location;(null==t?void 0:t.ip)||N.A.get("https://ipapi.co/json/").then(e=>{d.mutate({location:e.data})}).then(()=>{null==c||c.capture("signup_location_saved")}).catch(e=>{console.log(e)})},[n.status]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(o(),{children:[(0,a.jsx)("title",{children:(null==t?void 0:t.title)?t.title:"Discover Child-Friendly Activities & Places in Malta | OutWithKidz"},"title"),(0,a.jsx)("meta",{name:"title",content:(null==t?void 0:t.title)?t.title:"Discover Child-Friendly Activities & Places in Malta | OutWithKidz"},"meta-title"),(0,a.jsx)("meta",{name:"description",content:(null==t?void 0:t.desc)?t.desc:"Find the best child-friendly places and activities in Malta with OutWithKidz. Easily explore parks, playgrounds, events, and more tailored for families. Plan your next family adventure today!"},"description"),(0,a.jsx)("meta",{property:"og:type",content:"website"},"og:type"),(0,a.jsx)("meta",{property:"og:url",content:"https://www.outwithkidz.com/"},"og:url"),(0,a.jsx)("meta",{property:"og:title",content:(null==t?void 0:t.t
1itle)?t.title:"Discover Child-Friendly Activities & Places in Malta | OutWithKidz"},"og:title"),(0,a.jsx)("meta",{property:"og:description",content:(null==t?void 0:t.desc)?t.desc:"Find the best child-friendly places and activities in Malta with OutWithKidz. Easily explore parks, playgrounds, events, and more tailored for families. Plan your next family adventure today!"},"og:description"),(0,a.jsx)("meta",{property:"og:image",content:"OWK-facebook-page-cover-photo.png"},"og:image"),(0,a.jsx)("meta",{property:"twitter:card",content:"summary_large_image"},"twitter:card"),(0,a.jsx)("meta",{property:"twitter:url",content:"https://www.outwithkidz.com/"},"twitter:url"),(0,a.jsx)("meta",{property:"twitter:title",content:(null==t?void 0:t.title)?t.title:"Discover Child-Friendly Activities & Places in Malta | OutWithKidz"},"twitter:title"),(0,a.jsx)("meta",{property:"twitter:description",content:(null==t?void 0:t.desc)?t.desc:"Find the best child-friendly places and activities in Malta with OutWithKidz. Easily explore parks, playgrounds, events, and more tailored for families. Plan your next family adventure today!"},"twitter:description"),(0,a.jsx)("meta",{property:"twitter:image",content:"OWK-facebook-page-cover-photo.png"},"twitter:image"),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"})]}),(0,a.jsxs)("div",{style:{backgroundColor:"#fefdf9"},children:[(0,a.jsx)(G,{}),(0,a.jsx)(j,{}),(0,a.jsx)(l.E,{}),(0,a.jsx)("main",{id:"main-content",children:s}),(0,a.jsx)(v.A,{}),(0,a.jsx)(r.Ay,{enableDeclineButton:!0,location:"bottom",buttonText:"Accept",declineButtonText:"decline",cookieName:"CookieConsent",style:{background:"#152B4F",fontSize:".8rem"},declineButtonStyle:{background:"transparent"},buttonStyle:{backgroundColor:"#FDC474",fontSize:"13px",color:"#152B4F"},expires:150,children:(0,a.jsxs)("div",{className:"group flex flex-wrap gap-2",children:[(0,a.jsx)(y.A,{className:" group-hover:animate-wiggle",size:20}),"This website uses cookies to analyze how the site is used and to ensure your experience is consistent between visits."," ",(0,a.jsx)(C(),{className:"underline",href:"/cookies",children:"Cookies policy"})]})})]})]})}},34724:(e,t,s)=>{s.d(t,{C:()=>d,z:()=>o});var a=s(37876),i=s(14232),l=s(66686),r=s(11988),n=s(65870);let o=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,a.jsx)(l.bL,{className:(0,n.cn)("grid gap-2",s),...i,ref:t})});o.displayName=l.bL.displayName;let d=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,a.jsx)(l.q7,{ref:t,className:(0,n.cn)("aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",s),...i,children:(0,a.jsx)(l.C1,{className:"flex items-center justify-center",children:(0,a.jsx)(r.A,{className:"h-3.5 w-3.5 fill-primary"})})})});d.displayName=l.q7.displayName},44313:(e,t,s)=>{function a(e){return"admin"===function(e){if("string"!=typeof e)return null;let t=e.trim().toLowerCase();return t.length>0?t:null}(e)}s.d(t,{Vg:()=>a})},56738:(e,t,s)=>{s.d(t,{CG:()=>c,Fm:()=>p,Qs:()=>f,cj:()=>d,h:()=>u,qp:()=>g});var a=s(37876),i=s(14232),l=s(76198),r=s(47137),n=s(70672),o=s(65870);let d=l.bL,c=l.l9;l.bm;let m=l.ZL,h=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,a.jsx)(l.hJ,{className:(0,o.cn)("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",s),...i,ref:t})});h.displayName=l.hJ.displayName;let x=(0,r.F)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),u=i.forwardRef((e,t)=>
1{let{side:s="right",className:i,children:r,...d}=e;return(0,a.jsxs)(m,{children:[(0,a.jsx)(h,{}),(0,a.jsxs)(l.UC,{ref:t,className:(0,o.cn)(x({side:s}),i),...d,children:[(0,a.jsxs)(l.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,a.jsx)(n.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]}),r]})]})});u.displayName=l.UC.displayName;let p=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...s})};p.displayName="SheetHeader";let g=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,a.jsx)(l.hE,{ref:t,className:(0,o.cn)("text-lg font-semibold text-foreground",s),...i})});g.displayName=l.hE.displayName;let f=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,a.jsx)(l.VY,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",s),...i})});f.displayName=l.VY.displayName},67817:(e,t,s)=>{s.d(t,{h:()=>l});var a=s(37876),i=s(65870);function l(e){let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,i.cn)("text-2xl font-medium leading-6 font-poppins",t),...s})}},74217:(e,t,s)=>{s.d(t,{E:()=>o});var a=s(37876),i=s(53045),l=s(92161),r=s(8712),n=s(89099);function o(){let e=(0,n.useRouter)(),{loginDialogOpen:t,toggleLoginDialog:s}=(0,r.A)(e=>e),o="/for-organisers"===e.pathname;return(0,a.jsx)(l.lG,{open:t,onOpenChange:e=>s(e),children:(0,a.jsx)(l.Cf,{className:"max-h-[92vh] max-w-md overflow-y-auto border border-gray-200 bg-white p-4 shadow-xl sm:rounded-2xl sm:p-6",children:(0,a.jsx)(i.V,{embedded:!0,authIntent:o?"organiser":"default",onSuccess:()=>{s(!1),o?e.push("/organiser/onboarding"):e.reload()}})})})}},86506:(e,t,s)=>{s.d(t,{SQ:()=>h,_2:()=>x,hO:()=>u,lp:()=>p,mB:()=>g,rI:()=>c,ty:()=>m});var a=s(37876),i=s(14232),l=s(54804),r=s(96108),n=s(33276),o=s(11988),d=s(65870);let c=l.bL,m=l.l9;l.YJ,l.ZL,l.Pb,l.z6,i.forwardRef((e,t)=>{let{className:s,inset:i,children:n,...o}=e;return(0,a.jsxs)(l.ZP,{ref:t,className:(0,d.cn)("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",i&&"pl-8",s),...o,children:[n,(0,a.jsx)(r.A,{className:"ml-auto"})]})}).displayName=l.ZP.displayName,i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,a.jsx)(l.G5,{ref:t,className:(0,d.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground 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 origin-[--radix-dropdown-menu-content-transform-origin]",s),...i})}).displayName=l.G5.displayName;let h=i.forwardRef((e,t)=>{let{className:s,sideOffset:i=4,...r}=e;return(0,a.jsx)(l.ZL,{children:(0,a.jsx)(l.UC,{ref:t,sideOffset:i,className:(0,d.cn)("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground 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 origin-[--radix-dropdown-menu-content-transform-origin]",s),...r})})});h.displayName=l.UC.displayName;let x=i.forwardRef((e,t)=>{let{className:s,inset:i,...r}=e;return(0,a.jsx)(l.q7,{ref:t,className:(0,d.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",i&&"pl-8",s),...r})});x.displayName=l.q7.displayName;let u=i.forwardRef((e,t)=>
1{let{className:s,children:i,checked:r,...o}=e;return(0,a.jsxs)(l.H_,{ref:t,className:(0,d.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s),checked:r,...o,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(l.VF,{children:(0,a.jsx)(n.A,{className:"h-4 w-4"})})}),i]})});u.displayName=l.H_.displayName,i.forwardRef((e,t)=>{let{className:s,children:i,...r}=e;return(0,a.jsxs)(l.hN,{ref:t,className:(0,d.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s),...r,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(l.VF,{children:(0,a.jsx)(o.A,{className:"h-2 w-2 fill-current"})})}),i]})}).displayName=l.hN.displayName;let p=i.forwardRef((e,t)=>{let{className:s,inset:i,...r}=e;return(0,a.jsx)(l.JU,{ref:t,className:(0,d.cn)("px-2 py-1.5 text-sm font-semibold",i&&"pl-8",s),...r})});p.displayName=l.JU.displayName;let g=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,a.jsx)(l.wv,{ref:t,className:(0,d.cn)("-mx-1 my-1 h-px bg-muted",s),...i})});g.displayName=l.wv.displayName},92161:(e,t,s)=>{s.d(t,{Cf:()=>m,Es:()=>x,L3:()=>u,c7:()=>h,lG:()=>o,rr:()=>p});var a=s(37876),i=s(14232),l=s(76198),r=s(70672),n=s(65870);let o=l.bL;l.l9;let d=l.ZL;l.bm;let c=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,a.jsx)(l.hJ,{ref:t,className:(0,n.cn)("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",s),...i})});c.displayName=l.hJ.displayName;let m=i.forwardRef((e,t)=>{let{className:s,children:i,...o}=e;return(0,a.jsxs)(d,{children:[(0,a.jsx)(c,{}),(0,a.jsxs)(l.UC,{ref:t,className:(0,n.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",s),...o,children:[i,(0,a.jsxs)(l.bm,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,a.jsx)(r.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=l.UC.displayName;let h=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...s})};h.displayName="DialogHeader";let x=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...s})};x.displayName="DialogFooter";let u=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,a.jsx)(l.hE,{ref:t,className:(0,n.cn)("text-lg font-semibold leading-none tracking-tight",s),...i})});u.displayName=l.hE.displayName;let p=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,a.jsx)(l.VY,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",s),...i})});p.displayName=l.VY.displayName},98333:(e,t,s)=>{s.d(t,{A:()=>p});var a=s(37876),i=s(48230),l=s.n(i),r=s(54587),n=s.n(r),o=s(14232),d=s(1003),c=s(77041),m=s(48971),h=s(40053),x=s(59688);function u(){let[e,t]=(0,o.useState)(""),s=d.F.public.subscribeFooterNewsletter.useMutation({onSuccess:()=>{x.oR.success("Thanks — you're on the list."),t("")},onError:e=>{var t;x.oR.error(null!=(t=e.message)?t:"Something went wrong. Try again later.")}});return(0,a.jsxs)("form",{className:"space-y-3",onSubmit:t=>{t.preventDefault(),e.trim()&&s.mutate({email:e.trim()})},children:[(0,a.jsx)(h.J,{htmlFor:"footer-newsletter-email",className:"sr-only",children:"Email for newsletter"}),(0,a.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row",children:[(0,a.jsx)(m.p,{id:"footer-newsletter-email",type:"email",name:"email",autoComplete:"email",placeholder:"[email protected]",value:e,onChange:e=>t(e.target.value),className:"rounded-lg border-white/20 bg-white/10 text-white placeholder:text-white/50 focus-visible:ring-[#FDC474]",disabled:s.isPending}),(0,a.jsx)(c.$,{type:"submit",disabled:s.isPending,className:"shrink-0 rounded-lg bg-[#FDC474] font-semibold text-[#152B4F] hover:bg-[#FDC474]/90",children:s.isPending?"…":"Subscribe"})]}),(0,a.jsxs)("p",{className:"text-xs text-white/60",children:[(0,a.jsx)("a",{href:"https://newsletter.outwithkidz.com/",target:"_blank",rel:"noopener noreferrer",className:"font-medium text-[#FDC474] underline-offset-2 hover:underline",children:"Read past issues and archive"})," ","on our newsletter."]})]})}let p=e=>{let{className:t}=e;return(0,a.jsx)("footer",{className:"bg-[#152B4F] py-12 text-white ".concat(null!=t?t:""),children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"grid gap-8 md:grid-cols-4",children:[(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)(l(),{href:"/","aria-label":"Go to OutWithKidz Events home",className:"flex items-center space-x-2",children:[(0,a.jsx)(n(),{src:"/logo-full-colour.svg",alt:"OutWithKidz",width:171,height:32,className:"h-8 w-auto brightness-0 invert"}),(0,a.jsx)("span",{className:"font-poppins text-lg font-bold",children:"Events"})]}),(0,a.jsx)("p",{className:"text-sm text-white/70",children:"Discover and book family-friendly events and activities in Malta & Gozo."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"mb-4 font-poppins font-semibold",children:"Quick Links"}),(0,a.jsxs)("ul",{className:"space-y-2 text-sm text-white/70",children:[(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/events",className:"transition-colors hover:text-[#FDC474]",children:"Browse Events"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/organiser/onboarding",className:"transition-colors hover:text-[#FDC474]",children:"Create Event"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/for-organisers",className:"transition-colors hover:text-[#FDC474]",children:"For Organisers"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/places",className:"transition-colors hover:text-[#FDC474]",children:"Browse Places"})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"https://newsletter.outwithkidz.com/",target:"_blank",rel:"noopener noreferrer",className:"transition-colors hover:text-[#FDC474]",children:"Newsletter"})})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"mb-4 font-poppins font-semibold",children:"Support"}),(0,a.jsxs)("ul",{className:"space-y-2 text-sm text-white/70",children:[(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"https://outwithkidz.com",target:"_blank",rel:"noopener noreferrer",className:"transition-colors hover:text-[#FDC474]",children:"OutWithKidz.com"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/about",className:"transition-colors hover:text-[#FDC474]",children:"About Us"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/terms",className:"transition-colors hover:text-[#FDC474]",children:"Terms & Conditions"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/cookies",className:"transition-colors hover:text-[#FDC474]",children:"Cookie Policy"})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"mailto:[email protected]",className:"transition-colors hover:text-[#FDC474]",children:"Contact Us"})})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"mb-4 font-poppins font-semibold",children:"Stay Connected"}),(0,a.jsx)("p",{className:"mb-4 text-sm text-white/70",children:"Follow us for the latest family events and activities."}),(0,a.jsxs)("div",{className:"mb-6",children:[(0,a.jsx)("p",{className:"mb-2 text-sm font-medium text-white/90",children:"Monthly email"}),(0,a.jsx)(u,{})]}),(0,a.jsxs)("div",{className:"flex space-x-4",children:[(0,a.jsxs)("a",{href:"https://www.facebook.com/profile.php?id=61563498041165",target:"_blank",rel:"noopener noreferrer",className:"text-white/70 transition-colors hover:text-[#FDC474]",children:[(0,a.jsx)("span",{className:"sr-only",children:"Facebook"}),(0,a.jsx)("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987
1h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z",clipRule:"evenodd"})})]}),(0,a.jsxs)("a",{href:"https://www.instagram.com/outwithkidz_official/",target:"_blank",rel:"noopener noreferrer",className:"text-white/70 transition-colors hover:text-[#FDC474]",children:[(0,a.jsx)("span",{className:"sr-only",children:"Instagram"}),(0,a.jsx)("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M12.315 2c2.43 0 2.784.013 3.808.06 1.064.049 1.791.218 2.427.465a4.902 4.902 0 011.772 1.153 4.902 4.902 0 011.153 1.772c.247.636.416 1.363.465 2.427.048 1.067.06 1.407.06 4.123v.08c0 2.643-.012 2.987-.06 4.043-.049 1.064-.218 1.791-.465 2.427a4.902 4.902 0 01-1.153 1.772 4.902 4.902 0 01-1.772 1.153c-.636.247-1.363.416-2.427.465-1.067.048-1.407.06-4.123.06h-.08c-2.643 0-2.987-.012-4.043-.06-1.064-.049-1.791-.218-2.427-.465a4.902 4.902 0 01-1.772-1.153 4.902 4.902 0 01-1.153-1.772c-.247-.636-.416-1.363-.465-2.427-.047-1.024-.06-1.379-.06-3.808v-.63c0-2.43.013-2.784.06-3.808.049-1.064.218-1.791.465-2.427a4.902 4.902 0 011.153-1.772A4.902 4.902 0 015.45 2.525c.636-.247 1.363-.416 2.427-.465C8.901 2.013 9.256 2 11.685 2h.63zm-.081 1.802h-.468c-2.456 0-2.784.011-3.807.058-.975.045-1.504.207-1.857.344-.467.182-.8.398-1.15.748-.35.35-.566.683-.748 1.15-.137.353-.3.882-.344 1.857-.047 1.023-.058 1.351-.058 3.807v.468c0 2.456.011 2.784.058 3.807.045.975.207 1.504.344 1.857.182.466.399.8.748 1.15.35.35.683.566 1.15.748.353.137.882.3 1.857.344 1.054.048 1.37.058 4.041.058h.08c2.597 0 2.917-.01 3.96-.058.976-.045 1.505-.207 1.858-.344.466-.182.8-.398 1.15-.748.35-.35.566-.683.748-1.15.137-.353.3-.882.344-1.857.048-1.055.058-1.37.058-4.041v-.08c0-2.597-.01-2.917-.058-3.96-.045-.976-.207-1.505-.344-1.858a3.097 3.097 0 00-.748-1.15 3.098 3.098 0 00-1.15-.748c-.353-.137-.882-.3-1.857-.344-1.023-.047-1.351-.058-3.807-.058zM12 6.865a5.135 5.135 0 110 10.27 5.135 5.135 0 010-10.27zm0 1.802a3.333 3.333 0 100 6.666 3.333 3.333 0 000-6.666zm5.338-3.205a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z",clipRule:"evenodd"})})]})]})]})]}),(0,a.jsx)("div",{className:"mt-8 border-t border-white/20 pt-8 text-center text-sm text-white/60",children:(0,a.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," OutWithKidz Events. All rights reserved."]})})]})})}}}]);

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.