(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6834],{97602:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/activity-detail",function(){return i(36224)}])},90670:function(e,t,i){"use strict";var l=i(35944),a=i(67294),n=i(66455),o=i(22149),d=i(34665),r=i(70917),c=i(63297);t.Z=(0,a.memo)(function(e){let{content:t,title:i,externalWrapperCss:d,appendContent:r,sectionRef:h}=e,[g,f]=(0,a.useState)(0),m=(0,a.useCallback)(e=>{if(g===e)return f(-1);f(e)},[g]),Z=(0,a.useMemo)(()=>{var e,i;return(0,l.BX)(l.HY,{children:[null==t?void 0:t.map((e,t)=>(0,l.BX)("article",{css:v,onClick:()=>m(t),children:[(0,l.tZ)(n.Box,{width:1/4,children:(0,l.tZ)("div",{css:p,children:e.title||e.Question})}),(0,l.tZ)(n.Box,{width:3/4,children:(0,l.tZ)(c.Z,{html:e.content})})]},t)),r&&(null===(e=r.content)||void 0===e?void 0:e.length)>0&&(null==r?void 0:null===(i=r.content[0])||void 0===i?void 0:i.content)&&(0,l.BX)("article",{css:v,onClick:()=>m(t.length+1),children:[(0,l.tZ)(n.Box,{width:1/4,children:(0,l.tZ)("div",{css:p,children:r.title})}),(0,l.tZ)(n.Box,{width:3/4,children:(0,l.tZ)("ul",{children:r.content.map((e,t)=>(0,l.tZ)("li",{children:(0,l.tZ)("span",{children:null==e?void 0:e.amenityDefaultName})},t))})})]},t.length+1)]})},[t,g]);return(0,l.BX)(o.Z,{ref:h,externalCss:[s,d],mt:"15px",mb:"5px",children:[(0,l.tZ)("h3",{css:u,children:i}),Z]})});let s=(0,r.iv)("background-color:",d.wL.white,";padding:25px;",d._Q.tablet,"{padding:25px 20px;}border:solid 1px ",d.wL.veryLightPink2,";"),u=(0,r.iv)("font-size:24px;margin:0 0 15px 0;",d._Q.tablet,"{font-size:18px;margin:0;}"),p=(0,r.iv)("font-size:16px;line-height:17px;font-weight:600;margin:0;white-space:nowrap;",d._Q.tablet,"{font-size:12px;line-height:1.42;}"),v=(0,r.iv)("display:flex;border-bottom:0.7px solid ",d.wL.veryLightPink2,";padding:24px 0;",d._Q.tablet,"{padding:7px 0;}&:last-child{border-bottom:none;}")},36224:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return Y},default:function(){return K}});var l=i(35944),a=i(67294),n=i(41187),o=i(30427),d=i(1063),r=i(70917),c=i(72078),s=i(66066),u=i(74573),p=i(64641),v=i(19151),h=i(68293),g=i(66455);i(8882);var f=i(61787),m=i(34665),Z=i(90670),x=i(22149),b=i(31238),y=i(26146),w=i(1092),k=i(44108),_=i(28455),B=i(94145),C=i(5152),P=i.n(C),T=i(51217),R=i(11526);i(57404);var S=i(62209);i(27616);var O=i(94019),z=i(43603),N=i(60721);let M=P()(()=>i.e(9725).then(i.bind(i,19725)),{loadableGenerated:{webpack:()=>[19725]},ssr:!1}),L=(0,r.iv)("padding:15px 0;height:615px;"),X=(0,r.iv)("padding:15px 0;height:105px;"),E=(0,r.iv)("overflow:hidden;",m._Q.tablet,"{margin-left:39px;margin-right:39px;}"),I=(0,r.iv)(m._Q.tablet,"{width:100%;}"),A=(0,r.iv)(m._Q.tablet,"{display:none;}"),Q=(0,r.iv)("padding:0 15px 20px 15px;"),H=(0,r.iv)(".leaflet-top.leaflet-left{top:60px !important;}"),W=(0,r.iv)("background-color:rgba(0,0,0,0.5);z-index:103;"),D=(0,r.iv)("padding:20px;");var F=(0,a.memo)(function(e){var t,i,n,o;let{detail:r,gallery:C,comment:P,amenities:S,blogPosts:F,popularFacilities:G,contentFeaturedData:j,activityFeaturedData:q,handleAuthModalOpen:Y,breadCrumbData:K,defaultParams:U,nearByFacilitiesWidgetProps:V,providerMap:J,accTypeMap:$,isGoogleBot:ee}=e,et=a.useRef(null),ei=a.useRef(null),el=a.useRef(null),ea=a.useRef(null),en=a.useRef(null),eo=a.useRef(null),[ed,er]=(0,a.useState)(!1),[ec,es]=(0,a.useState)(!1),[eu,ep]=(0,a.useState)(""),[ev,eh]=(0,a.useState)(T.g),[eg,ef]=(0,a.useState)(0),{userPersonal:em}=(0,a.useContext)(R.S),[eZ,ex]=(0,a.useState)(!1),eb=(0,a.useCallback)(()=>{ex(!0)},[]),ey=(0,a.useCallback)(()=>{(0,w.AB)((0,w.dG)()),er(!0)},[ed]),ew=(0,a.useMemo)(()=>{var e,t;return(null==r?void 0:null===(t=r.catalogProperties)||void 0===t?void 0:null===(e=t.filter(e=>"ucretli-attraction"==e.code)[0])||void 0===e?void 0:e.value)=="True"},[r.catalogProperties]),ek=(0,a.useCallback)(()=>es(!1),[]);return(0,l.BX)(x.Z,{externalCss:[m.z1,Q],children:[(0,l.tZ)(_.Z,{detail:r,breadCrumbData:K}),(0,l.tZ)(d.Z,{detail:r,gallery:C}),!eZ&&(0,l.tZ)(f.Z,{genRef:et,aboutRef:ea,commentRef:ei,locationRef:el,detailRef:en,blogRef:eo,pageName:"Etkinlik"}),(0,l.BX)(g.Flex,{css:E,children:[(0,l.BX)(g.Box,{css:I,width:"70%",mr:"30px",children:[(0,l.tZ)(s.Z,{openMapOverlay:ey,sectionRef:et,pageTypeKey:"attraction",isPaid:ew,detail:r,comment:P,commentsRef:ei,aboutRef:ea,amenities:S}),(null==r?void 0:r.profile)&&(0,l.tZ)(g.Box,{css:E,m:"10px 0 0 0",children:(0,l.tZ)(u.Z,{title:r.name,content:null==r?void 0:r.profile})}),(0,l.tZ)(p.default,{externalCss:X,id:"div-gpt-ad-1615282818891-0"}),null!==q&&(null==q?void 0:q.length)>0&&(0,l.tZ)(Z.Z,{sectionRef:en,appendContent:{title:"İ\xe7erik",content:j},content:q,title:"Aktivite Detayları"}),(0,l.tZ)(c.Z,{title:null==r?void 0:r.name,handleCommentModalOpen:eb,handleAuthModalOpen:Y,pageType:"poi",commentsRef:ei,comment:P,objectId:r.objectId}),(0,l.tZ)(h.Z,{sectionRef:el,amenities:S,location:r.locationTree,setShowMapOverlay:ey,address:r.catalogAddress,pageType:"poi-detail",openInMapOptions:{lat:null==r?void 0:r.latitude,lng:null==r?void 0:r.longitude,zoom:10},isGoogleBot:ee,catalogType:y.H.Poi,nearByFacilitiesWidgetProps:V,providerMap:J,defaultParams:U,handleOnExit:e=>{window.location.href="/".concat(e.slug,"-fiyatlari/")},handleOnPhoneCall:e=>{window.location.href="/".concat(e.slug,"-fiyatlari/")},handleOnClickProvider:e=>{window.location.href="/".concat(e.slug,"-fiyatlari/")},seeMoreFacilities:!0})]}),(0,l.BX)(g.Box,{css:A,width:1/3,children:[G&&(null===(t=G.facilityListOfWidget)||void 0===t?void 0:t.length)>0&&(0,l.tZ)(g.Box,{css:[m.o4,D],children:(0,l.tZ)(N.Z,{title:G.facilityWidgetBoxTitle,facilityList:G.facilityListOfWidget,providerMap:J,defaultParams:U,isNearBy:!0,page:G.page,handleOnExit:e=>{window.location.href="/".concat(e.slug,"-fiyatlari/")},handleOnPhoneCall:e=>{window.location.href="/".concat(e.slug,"-fiyatlari/")},handleOnClickProvider:e=>{window.location.href="/".concat(e.slug,"-fiyatlari/")},providerWidget:G.providerWidget,location:G.location||"",cardType:G.cardType,locationSlug:G.locationSlug,catalogType:G.catalogType,isCardsVertical:!0})}),(0,l.tZ)(p.default,{externalCss:L,id:"div-gpt-ad-1615282785648-0",name:"nkal_w_detail_right",sizes:[[300,250],[160,600],[200,200],[300,600],"fluid",[250,250],[336,280],[120,600]]})]})]}),F&&(0,l.tZ)(v.Z,{sectionRef:eo,items:F.data,catalogType:y.H.Attraction}),(0,l.tZ)(M,{disableButton:!0,openOverlayFromParent:ed,setOverlayFromParent:er,disableNears:!0,title:r.name,listItems:[r],listType:B.k.Poi,catalogType:y.H.Attraction,externalCss:H,isPoiListing:!1}),(0,l.tZ)(b.Z,{catalogType:y.H.Attraction,objectId:null==r?void 0:r.objectId,setShow:ex,show:eZ,title:null==r?void 0:r.name,locationTree:null!==(o=null==r?void 0:r.locationTree)&&void 0!==o?o:"",image:null==C?void 0:null===(n=C.photos)||void 0===n?void 0:null===(i=n[0])||void 0===i?void 0:i.image,detail:r,rating:null==P?void 0:P.rating,defaultParams:U}),(0,l.tZ)(O.Z,{containerStyle:W,show:ec,children:(0,l.tZ)(z.Z,{accTypeMap:$,providerMap:J,callData:ev,id:eg,onClose:ek,phoneNumber:eu,page:V.page})}),(0,l.tZ)(k.Z,{isShow:!0})]})}),G=i(69497),j=i(69767),q=i(31950),Y=!0,K=(0,a.memo)(function(e){var t,i,d,r,c,s,u,p;let{isGoogleBot:v}=e;(0,a.useEffect)(()=>{(0,S.AB)((0,S.yq)("desktop","poi-detay"))},[]);let h=null!==(p=(0,G.qt)(null==e?void 0:null===(t=e.detail)||void 0===t?void 0:t.locationTree)[0])&&void 0!==p?p:"";return(0,l.BX)(l.HY,{children:[(0,l.tZ)(o.Z,{breadcrumb:e.breadcrumbSchema,imageUrl:(null==e?void 0:null===(d=e.gallery)||void 0===d?void 0:null===(i=d.photos)||void 0===i?void 0:i[0].image)&&"".concat(j.Ik,"75/800x600/").concat(null===(s=e.gallery)||void 0===s?void 0:null===(c=s.photos)||void 0===c?void 0:null===(r=c[0])||void 0===r?void 0:r.image),title:"".concat(e.meta.title," | Neredekal.com"),metaTitle:"".concat(e.meta.title," | Neredekal.com"),metaDescription:"".concat(h," tatilinizde gidebileceğiniz ").concat(e.detail.name," hakkında bilgiler, ziyaret\xe7i yorumları ve yakınındaki otelleri burada bulabilirsiniz."),hotelSchemas:[e.poiSchema],analyticsInput:(0,w.GL)(e.detail),isGoogleBot:v,trackingParameters:[...q.c],noIndex:!(null===(u=e.detail)||void 0===u?void 0:u.metaRobots),adLists:[{id:"div-gpt-ad-1711717474558-0",name:"nkal_w_serit_tepe_1400x50",sizes:[[1400,50]]},{id:"div-gpt-ad-1615282818891-0",name:"nkal_w_detail_footer",sizes:[[930,30],[728,90],"fluid"]},{id:"div-gpt-ad-1615282785648-0",name:"nkal_w_detail_right",sizes:[[300,250],[160,600],[200,200],[300,600],"fluid",[250,250],[336,280],[120,600]]}]}),(0,l.tZ)(n.Z,{children:(0,l.tZ)(F,{...e})})]})},()=>!0)}},function(e){e.O(0,[9476,615,7285,2613,8333,3331,6169,2786,6667,7228,2888,9774,179],function(){return e(e.s=97602)}),_N_E=e.O()}]);