(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1920,5536],{64991:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tesis-listeleme",function(){return l(84990)}])},84990:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSP:function(){return tu},default:function(){return tp}});var i=l(35944),a=l(67294),o=l(27484),n=l.n(o),r=l(66455),s=l(70917),d=l(41187),c=l(30427),u=l(8882),p=l(54623),g=l(57404),h=l(62209),v=l(1092),m=l(27616),x=l(34665),f=l(67356),b=l(94019),y=l(43603),w=l(56757),Z=l(49905);let S=(0,s.iv)("width:100%;&:not(:last-child){margin-bottom:10px;}"),k=(0,s.iv)("&:hover{box-shadow:0 2px 5px 0 rgba(0,0,0,0.12);}&:not(:first-of-type){margin-top:10px;}");var C=function(e){let{setExpandedMarker:t,setShowOverlay:l,facilityListItems:o,providerMap:n,totalNights:r,mapRef:s,setId:d,setPhoneNumber:c,setShowPhoneModal:u,setShowCertificateModal:p,accTypeMap:g,featuredFacilitiesMap:h,pageSlug:v,pool:m,locationName:x,page:f,setCallData:b,onShowDate:y,catalogType:C,hasTheme:B,activeFilters:M,isPaidUrl:N,isNearBy:P,limitIsInViewport:L,isGoogleBot:F}=e,I=(e,a,o)=>(0,i.tZ)(Z.Z,{pool:m,mapRef:s,locationName:x,setExpandedMarker:t,setShowOverlay:l,facilityItem:e,providerMap:n,totalNights:r,setId:d,onShowDate:y,setPhoneNumber:c,setShowPhoneModal:u,setShowCertificateModal:p,accTypeMap:g,featuredFacilitiesMap:h,position:10*o+a,pageSlug:v,externalCss:k,className:"facility-list-item",page:f,setCallData:b,hasTheme:B,activeFilters:M,isPaidUrl:N,catalogType:C,isNearBy:P,limitIsInViewport:L,isGoogleBot:F},e.objectId),D=(0,a.useMemo)(()=>(0,w.By)(o).map((e,t)=>(0,i.tZ)("div",{css:S,children:e.map((e,l)=>I(e,l,t))},t)),[o,s,l,n,r,c,u,d,h,f,C,P]);return(0,i.tZ)(i.HY,{children:D})},B=l(44614);let M=(0,s.iv)("width:100%;display:flex;justify-content:center;box-sizing:border-box;padding:15px 0;min-height:80px;",x._Q.tablet,"{min-height:100px;}"),N=(0,s.iv)("min-height:50px;",x._Q.tablet,"{min-height:70px;}");var P=(0,a.memo)(function(e){let{mapRef:t,setExpandedMarker:l,setShowOverlay:o,locationName:n,facilityListItems:s,providerMap:d,totalNights:c,accTypeMap:u,featuredFacilitiesMap:p,pageSlug:g,loading:h,pool:v,setId:m,onShowDate:x,setPhoneNumber:f,setShowPhoneModal:b,setShowCertificateModal:y,activeFilters:w,setCallData:Z,catalogType:S,hasQueryParams:k,hasTheme:P,isPaidUrl:L,limitIsInViewport:F,isGoogleBot:I}=e,D=(0,a.useCallback)(()=>(0,i.tZ)(r.Box,{css:M,children:(0,i.tZ)(B.Z,{externalCss:N,id:"div-gpt-ad-1711722837613-0"})}),[]);return(0,i.BX)(i.HY,{children:[D(),(0,i.tZ)(r.Box,{mt:"25px",children:(0,i.tZ)(C,{mapRef:t,pool:v,locationName:n,setExpandedMarker:l,setShowOverlay:o,facilityListItems:s,providerMap:d,totalNights:c,setPhoneNumber:f,setId:m,setShowPhoneModal:b,setShowCertificateModal:y,accTypeMap:u,featuredFacilitiesMap:p,pageSlug:g,loading:h,page:(null==w?void 0:w.page)||1,setCallData:Z,onShowDate:x,catalogType:S,hasTheme:P,hasQueryParams:k,activeFilters:w,isPaidUrl:L,isNearBy:!1,limitIsInViewport:F,isGoogleBot:I})})]})}),L=l(4205),F=l(43519),I=l(87903),D=l(85025),T=l(68032),_=l(11163),z=l.n(_),E=l(42588),H=l(93065),A=l(9104),O=l(47311),X=l(84657),Q=l(22149),U=l(78707),Y=l(26146),R=l(69767);let j=(0,s.iv)("background-color:",x.wL.orange2,";border:2px solid ",x.wL.white,";border-radius:4px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px 35px;margin:20px 0px;");var G=(0,a.memo)(function(e){if(void 0!=e.isAboveData&&!0===e.isAboveData)return(0,i.tZ)(i.HY,{});let{title:t,locationTree:l,listTypeId:o,isAboveData:n}=e,s=n?"Şu an ".concat(l," b\xf6lgesinde listeleyebileceğimiz bir ").concat(Y.H.Facility==o?"tesis":"villa"," bulunmuyor.
B\xf6lgeye en yakın aşağıdaki ").concat(Y.H.Facility==o?"tesisleri":"villaları"," incelemenizi \xf6neririz:"):"".concat(l," i\xe7in hepsi bu kadardı
Misafirler, b\xf6lgeye yakın bu tesislere de baktı:"),d=(0,a.useMemo)(()=>(0,i.tZ)(r.Box,{pl:"20px",children:(0,i.tZ)(r.Box,{fontSize:15,mb:15,weight:400,title:t,dangerouslySetInnerHTML:{__html:s},suppressHydrationWarning:!0})}),[n]);return(0,i.tZ)(i.HY,{children:(0,i.BX)(Q.Z,{externalCss:j,children:[(0,i.tZ)(r.Flex,{children:(0,i.tZ)(U.h,{src:"".concat(R.kq,"facility-list-near-by-banner-icon.svg"),layout:"fixed",width:176,alt:"".concat(t," yakınındaki ").concat(Y.H.Facility==o?"oteller":"villalar")})}),d]})})}),V=(0,a.memo)(function(e){let{mapRef:t,setExpandedMarker:l,setShowOverlay:a,title:o,locationName:n,locationTree:s,facilityListItems:d,providerMap:c,totalNights:u,accTypeMap:p,featuredFacilitiesMap:g,pageSlug:h,loading:v,pool:m,setId:x,setPhoneNumber:f,setShowPhoneModal:b,setShowCertificateModal:y,setCallData:w,onShowDate:Z,listTypeId:S,isAboveData:k,activeFilters:B,isPaidUrl:M,limitIsInViewport:N,isGoogleBot:P}=e;return(0,i.BX)(i.HY,{children:[n&&s&&(0,i.tZ)(G,{title:o,locationName:n,locationTree:s,listTypeId:S,isAboveData:k}),(0,i.tZ)(r.Box,{children:(0,i.tZ)(C,{mapRef:t,pool:m,locationName:n,setExpandedMarker:l,setShowOverlay:a,facilityListItems:d,providerMap:c,totalNights:u,setPhoneNumber:f,setId:x,onShowDate:Z,setCallData:w,setShowPhoneModal:b,setShowCertificateModal:y,accTypeMap:p,featuredFacilitiesMap:g,pageSlug:h,loading:v,page:1,activeFilters:B,isPaidUrl:M,isNearBy:!0,limitIsInViewport:N,isGoogleBot:P})})]})}),q=l(55895),W=l(64641),J=l(49855),$=l(72855),K=l(97291),ee=l(47338),et=l(27625),el=l(33463),ei=l(86549),ea=l(24881),eo=l(1205),en=l(30337);let er=(0,s.iv)("background-color:",x.wL.white,";width:250px;height:350px;border-radius:4px;border:solid 1px ",x.wL.lightGray4,";&:not(:last-child){margin-right:25px;}",x._Q.tablet,"{width:250px;height:auto;&:not(:last-child){margin-right:10px;}}&:hover{text-decoration:none;color:",x.wL.blue3,";box-shadow:0 2px 10px 0 rgba(0,0,0,0.23);}"),es=(0,s.iv)("border-radius:4px 4px 0 0;width:250px;height:160px;img{",x._Q.tablet,"{height:140px;}}",x._Q.tablet,"{width:250px;height:140px;}"),ed=(0,s.iv)("display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.55;text-align:left;font-size:13px;letter-spacing:0.29px;",x._Q.tablet,"{font-size:14px;}"),ec=(0,s.iv)("position:absolute;z-index:3;bottom:8px;left:15px;color:white;font-weight:900;margin-bottom:8px;text-align:left;",x._Q.tablet,"{font-size:14px;}"),eu=(0,s.iv)("min-height:142px;"),ep=(0,s.iv)("display:flex;flex-direction:row;align-items:center;border-top:1px solid ",x.wL.brownGrey5,";width:89%;margin:0 auto;"),eg=(0,s.iv)("color:black;margin-right:5px;font-weight:600;text-align:left;font-size:14px;letter-spacing:0.29px;",x._Q.tablet,"{font-size:14px;}"),eh=(0,s.iv)("text-align:left;font-weight:600;margin-right:5px;font-size:14px;letter-spacing:0.29px;"),ev=(0,s.iv)("border-radius:5px;"),em=(0,s.iv)(x._Q.tablet,"{font-size:18px;margin-left:1px;}");var ex=(0,a.memo)(function(e){let{comment:t,coverPhoto:l,facilityName:o,facilitySlug:n,score:s,ratingText:d,title:c,isFacilityListing:u}=e,p=(0,en.i)().width<=x.Op,g=(0,a.useCallback)((e,t)=>{(0,v.AB)((0,h.L9)(e,t)),(0,v.AB)((0,v.Rp)(e,t))},[t,c]);return(0,i.tZ)(r.Box,{css:er,children:(0,i.BX)(ei.Z,{href:"/".concat(n,"-fiyatlari"),targetBlank:!0,disableDecoration:!0,title:o,onClick:()=>g(null!=c?c:"",null!=o?o:""),children:[(0,i.BX)(ea.Zb,{externalCss:es,children:[(0,i.tZ)(ea.Gl,{src:"".concat(R.Ik,"/100/250x160/").concat(l),width:"250px",height:"160px",priority:!1,alt:o}),(0,i.tZ)(el.Z,{css:ec,children:o}),(0,i.tZ)(ea.$$,{shadowSize:l?"65%":"100%"})]}),(0,i.tZ)(r.Box,{p:"15px",css:eu,children:(0,i.tZ)(el.Z,{css:ed,align:"left",size:13,letterSpacing:"0.29px",dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}),(0,i.BX)(r.Box,{p:"10px 0 10px 0",css:ep,children:[(0,i.tZ)(el.Z,{css:eg,align:"left",size:14,letterSpacing:"0.29px",children:u?"".concat(s&&s.substring(0,s.length-1),"/5"):s}),(0,i.tZ)(el.Z,{css:eh,align:"left",size:14,letterSpacing:"0.29px",children:d}),u&&(0,i.BX)(i.HY,{children:[(0,i.tZ)(U.h,{src:"".concat(R.kq,"logoicon.svg"),width:p?18:19,height:p?16:22,css:ev,layout:"fixed",alt:"Neredekal Değerlendirme"}),(0,i.tZ)(eo.Z,{rating:Number(s),width:p?13:16,height:p?13:16,externalCss:em})]})]})]})})},()=>!0),ef=l(44397);let eb=(0,s.iv)("padding:25px;overflow:hidden;background-color:",x.wL.white,";margin-bottom:15px;",x._Q.tablet,"{padding:25px 20px;}"),ey=(0,s.iv)(x._Q.tablet,"{font-size:18px !important;}");var ew=(0,a.memo)(function(e){let{items:t,sectionRef:l,title:o}=e,n=(0,a.useMemo)(()=>t&&Array.isArray(t)&&(null==t?void 0:t.map((e,t)=>(0,i.tZ)(ex,{...e,title:o,isFacilityListing:!0},t))),[t]),s=(0,a.useCallback)(()=>t&&t.length>0?(0,i.tZ)(et.Z,{children:n}):(0,i.tZ)(r.Box,{mt:"25px",children:(0,i.tZ)(X.Z,{height:"350px"})}),[t]);return(0,i.BX)(Q.Z,{ref:l,css:eb,children:[(0,i.tZ)(r.Flex,{mb:"25px",justifyContent:"space-between",children:(0,i.tZ)(ef.Z,{content:"".concat(o),externalCss:ey})}),s()]})}),eZ=l(76685),eS=l(84077),ek=l(58417),eC=l(95554),eB=l(69497),eM=l(2244),eN=l(97478),eP=l(44108),eL=l(62031),eF=l(31950),eI=l(74990),eD=l(3205),eT=l(41664),e_=l.n(eT);let ez=(0,s.iv)("font-size:24px;font-weight:600;margin:0 0 20px 0;",x._Q.tablet,"{font-size:18px;margin:0 0 15px 0;}"),eE=(0,s.iv)("padding:25px;background-color:white;margin-bottom:15px;a{display:inline-block;text-decoration:none;margin:0 12px 12px 0;padding:12px 25px;font-size:15px;background-color:",x.wL.paleGrey,";color:",x.wL.black,";",x._Q.tablet,"{font-size:12px;}&:hover{color:",x.wL.blue3,";}}"),eH=(0,s.iv)("margin-top:9px;"),eA=e=>(0,s.iv)("display:",e?"block":"none",";");var eO=a.memo(function(e){let{subLocationList:t,locationName:l}=e,[o,n]=(0,a.useState)(!1),s=(0,a.useMemo)(()=>(0,i.tZ)(eD.Z,{expanded:o,setExpanded:n,externalCss:eH}),[o]),d=(0,a.useMemo)(()=>{let e=(0,w.By)(t);return null==e?void 0:e.map((e,t)=>(0,i.tZ)("span",{children:null==e?void 0:e.map((e,t)=>{let l=e.slug.replace(/\/?$/,"/");return(0,i.tZ)(e_(),{target:"_blank",href:"/".concat(l),title:e.name,children:e.name},t)})},t))},[t]);return(0,i.BX)(r.Box,{css:eE,children:[(0,i.tZ)("h2",{css:ez,children:l?"".concat(l," B\xf6lgesindeki Pansiyonlar"):"Pansiyon B\xf6lgeleri"}),d[0],(0,i.tZ)(r.Box,{css:eA(o),children:d.slice(1)}),t.length>10&&s]})},()=>!0),eX=(0,a.memo)(function(e){let{providersLoadingItems:t,logoLoadingPhase:l,setLogoLoadingPhase:o}=e,n=(0,en.i)(),s=n.width<=x.Op,[d,c]=(0,a.useState)(0),[u,p]=(0,a.useState)(null),[g,h]=(0,a.useState)(null);(0,a.useEffect)(()=>{n.width>0&&(s?(p(t.tabletItems),h(t.tabletItems.length)):(p(t.desktopItems),h(t.desktopItems.length)))},[n]);let v=(0,a.useCallback)(()=>{c(e=>e+1)},[]),m=(0,a.useMemo)(()=>{let e=d===g;return(0,i.tZ)(r.Flex,{css:eR(e),children:null==u?void 0:u.map((t,l)=>(0,i.tZ)(r.Box,{css:eG(t,e),children:(0,i.tZ)(U.h,{src:"".concat(R.kq,"provider-logo/").concat(t.imageUrl,".png"),alt:null==t?void 0:t.otaName,priority:!0,onLoadingComplete:v})},l))})},[u,l,d]);return(0,a.useEffect)(()=>{1===l?setTimeout(()=>o(2),1500):2===l&&u&&d===g?setTimeout(()=>o(3),1500):3===l&&setTimeout(()=>o(0),1e3)},[u,d,l]),(0,i.BX)(r.Flex,{css:3===l?eV:eQ(0===l),children:[(0,i.tZ)(el.Z,{externalCss:eY(1!==l),children:"En iyi fiyatları sunmak i\xe7in t\xfcm siteler karşılaştırılıyor…"}),l>1&&m]})});let eQ=e=>(0,s.iv)(e&&"display: none;"," flex-direction:column;width:100%;height:84px;background-color:",x.wL.white,";border-radius:8px;border:solid 0.7px ",x.wL.veryLightPink2,";overflow:hidden;position:absolute;z-index:20;"),eU=(0,s.F4)("0%{opacity:1;}30%{opacity:1;}100%{opacity:0;}"),eY=e=>(0,s.iv)(e&&"display: none;"," font-size:16px;font-weight:600;margin:auto;cursor:default;opacity:1;animation:",eU," ",1.5,"s forwards;",x._Q.tablet,"{font-size:13px;}"),eR=e=>(0,s.iv)("display:",e?"flex":"none",";width:100%;height:100%;position:relative;align-items:center;justify-content:center;gap:32px;opacity:1;"),ej=e=>(0,s.F4)("0%{opacity:0.3;}",e.displayStart-1,"%{opacity:0.3;}",e.displayStart,"%{opacity:1;}",e.displayEnd-1,"%{opacity:1;}",e.displayEnd,"%{opacity:0.3;}90%{opacity:0.3;}100%{opacity:1;}"),eG=(e,t)=>(0,s.iv)("display:",t?"flex":"none",";justify-content:center;align-items:center;height:",e.height,"px;width:",e.width,"px;",e.marginTop&&"margin-top: ".concat(e.marginTop,"px;")," animation:",ej(e)," ",1.5,"s forwards;opacity:0.3;"),eV=(0,s.iv)("flex-direction:column;width:100%;height:84px;background-color:",x.wL.white,";border-radius:8px;border:solid 0.7px ",x.wL.veryLightPink2,";overflow:hidden;position:absolute;animation:",(0,s.F4)("0%{opacity:1;}100%{opacity:0;}")," ",1,"s forwards;");var eq=l(46282),eW=l(4284),eJ=l(5152),e$=l.n(eJ);let eK=e$()(()=>Promise.all([l.e(2072),l.e(9774),l.e(9269),l.e(2542)]).then(l.bind(l,52542)),{loadableGenerated:{webpack:()=>[52542]},ssr:!1}),e0=(0,s.iv)("border:1px solid ",x.wL.veryLightPink2,";border-radius:4px;overflow:hidden;cursor:pointer;&:hover{box-shadow:0 2px 5px 0 rgba(0,0,0,0.12);}"),e1=(0,s.iv)("min-width:328px;width:100%;height:81px;position:relative;"),e5=(0,s.iv)("padding-top:10px;padding-bottom:10px;background-color:",x.wL.white,";"),e2=(0,s.iv)("font-size:14px;color:",x.wL.black,";padding-left:5px;",x._Q.tablet,"{font-size:13px;}&:hover{text-decoration:none;}");var e4=function(e){let{onClick:t,isGoogleBot:l,openInMapOptions:a,facilityList:o}=e;return(0,i.BX)(r.Box,{css:e0,onClick:t,children:[(0,i.tZ)(r.Box,{css:e1,title:"\xd6rnek Harita G\xf6rseli",children:l?(0,i.tZ)(U.h,{src:"".concat(R.kq,"map-preview.png"),layout:"fill",objectFit:"cover",alt:"\xd6rnek Harita G\xf6rseli"}):(0,i.tZ)(i.HY,{children:(null==a?void 0:a.lat)>0?(0,i.tZ)(i.HY,{children:(0,i.tZ)(eK,{mapProps:{lat:null==a?void 0:a.lat,lng:null==a?void 0:a.lng,zoom:null==a?void 0:a.zoom},listItem:o})}):(0,i.tZ)(eK,{mapProps:{lat:38.9573415,lng:35.240741,zoom:5},listItem:o})})}),(0,i.BX)(r.Flex,{alignItems:"center",justifyContent:"center",css:e5,children:[(0,i.tZ)(eq.Z,{width:"18px",height:"18px"}),(0,i.tZ)(eW.Z,{externalCss:e2,title:"Haritayı g\xf6r\xfcnt\xfcle",asButton:!0,children:"Haritayı g\xf6r\xfcnt\xfcle"})]})]})};let e3=e$()(()=>l.e(7551).then(l.bind(l,57551)),{loadableGenerated:{webpack:()=>[57551]}});var e6=(0,a.memo)(function(e){let{mapRef:t,initialData:l,campaign:o,isPaidUrl:n,expandedMarker:s,setExpandedMarker:d,getMapRef:c,showOverlay:g,setShowOverlay:h,locationName:m,activeFilters:x,setActiveFilters:f,accTypeMap:b,providerMap:y,handlePhoneModalOpen:w,setPhoneNumber:Z,pool:S,totalNights:k,featuredFacilitiesMap:C,pageSlug:B,setId:M,setShowPhoneModal:N,setShowCertificateModal:P,filterData:L,initialFacilities:F,setCallData:I,catalogType:D,hasTheme:T,onClickPagination:_,onFacilityListChange:z,totalFacilityCount:E,onShowDate:H,isGoogleBot:A,openInMapOptions:O,onFilterChange:X,minPrice:Q,maxPrice:U,handleCancelFilter:Y}=e,[R,j]=(0,a.useMemo)(()=>{let e=0,t=0,l=0;return Object.values(F).forEach(i=>{i.latitude>0&&i.longitude>0&&(e+=i.latitude,t+=i.longitude,l++)}),[l>0?e/l:0,l>0?t/l:0]},[F]),[G,V]=(0,a.useState)({lat:R>10?R:38.963745,lng:j>10?j:35.243322,zoom:R<10?6.5:Number("".concat((null==l?void 0:l.slforg)&&(null==l?void 0:l.slforg.length)>0?9:7.5))}),[q,W]=(0,a.useState)(null),[J,$]=(0,a.useState)(!1);(0,a.useEffect)(()=>{t&&t.panTo({lat:G.lat,lng:G.lng})},[t,G,F]);let K=async()=>{$(!0);let[e]=(0,p.UU)(x),[t,i]=(0,p.Uo)(x,l,null==e?void 0:e.page,"",o,n,!0),a=await (0,u.Su)(t,!1);if(a.error)z(F);else{var r,s,d,c,g;if((null===(r=a.body)||void 0===r?void 0:r.catalogs)&&a.body.catalogs.length>0){let e=null===(d=a.body)||void 0===d?void 0:null===(s=d.catalogs)||void 0===s?void 0:s[0];V({lat:null==e?void 0:e.latitude,lng:null==e?void 0:e.longitude,zoom:G.zoom}),z(null!==(g=null===(c=a.body)||void 0===c?void 0:c.catalogs)&&void 0!==g?g:[])}else z(F)}$(!1)};(0,a.useEffect)(()=>{g&&s&&V({lat:s.item.latitude,lng:s.item.longitude,zoom:s.zoom||G.zoom})},[s]),(0,a.useEffect)(()=>{q&&!J&&(V({...q}),W(null))},[F]);let ee=(0,a.useCallback)(()=>{K()},[G,x]),et=(0,a.useCallback)(()=>{(0,v.AB)((0,v.dG)()),h(!0)},[]),el=(0,a.useCallback)(()=>{(0,v.AB)((0,v.UX)()),h(!1),Y&&Y()},[x]);return(0,i.BX)(r.Box,{children:[(0,i.tZ)(e4,{onClick:et,isGoogleBot:A,openInMapOptions:O,facilityList:F.slice(0,5)}),(0,i.tZ)(e3,{mapRef:t,expandedMarker:s,setExpandedMarker:d,getMapRef:c,show:g,initialMapView:{lat:G.lat,lng:G.lng,zoom:G.zoom},locationName:m,facilityList:F,onClose:el,activeFilters:x,accTypeMap:b,providerMap:y,handlePhoneModalOpen:w,setPhoneNumber:Z,pool:S,setShowOverlay:h,totalNights:k,featuredFacilitiesMap:C,pageSlug:B,setId:M,setShowPhoneModal:N,setShowCertificateModal:P,loading:J,initialData:l,filterData:L,setActiveFilters:f,applyMapFilters:ee,setCallData:I,catalogType:D,hasTheme:T,totalFacilityCount:E,onClickPagination:_,onShowDate:H,isPaidUrl:n,onFilterChange:X,minPrice:Q,maxPrice:U,handleCancelFilter:Y})]})});let e7=[{key:"Country",value:1},{key:"City",value:3},{key:"District",value:5},{key:"Neighborhood",value:5},{key:"Town",value:5},{key:"Village",value:8}],e9=(0,s.iv)("overflow:hidden;height:70px;padding:20px 0px;",x._Q.tablet,"{height:40px;padding:15px 0 35px 0;}"),e8=(0,s.iv)("color:",x.wL.black,";background-color:#ffffff;border:0.5px solid ",x.wL.veryLightPink2,";border-radius:4px;padding:17px 25px;margin-right:12px;text-align:center;text-decoration:none;&:hover{text-decoration:underline;}div{white-space:nowrap;",x._Q.tablet,"{font-size:14px;}}",x._Q.tablet,"{padding:10px;margin-right:10px;}");var te=(0,a.memo)(function(e){let{pageSlug:t,tags:l}=e;if(Array.isArray(l)&&0===l.length)return(0,i.tZ)(i.HY,{});let o=e=>{(0,v.AB)((0,v.Ug)(t,e||""))},n=(0,a.useMemo)(()=>(0,i.tZ)(et.Z,{itemSlideCount:3,children:l&&(null==l?void 0:l.map((e,t)=>(0,i.tZ)(ei.Z,{onClick:()=>o((0,g.k6)(e.locationName)),href:"/".concat(e.slug),externalCss:e8,title:"".concat(e.pageName),children:(0,i.tZ)(el.Z,{size:12,children:e.locationName})},t)))}),[l]);return(0,i.tZ)(Q.Z,{css:e9,externalCss:[x.z1],children:n})});let tt=(0,s.iv)("background-color:rgba(0,0,0,0.5);z-index:103;"),tl=(0,s.iv)("flex-shrink:0;"),ti=(0,s.iv)("height:195px;&:not(:last-child){margin-bottom:10px;}",x._Q.tablet,"{height:250px;}"),ta=(0,s.iv)("padding:15px 0;height:615px;"),to=(0,s.iv)("padding-left:30px;overflow:hidden;",x._Q.tablet,"{padding-left:30px;}"),tn=(0,s.iv)("justify-content:space-between;align-items:center;height:84px;position:relative;"),tr=()=>(0,s.F4)("0%{opacity:0;}50%{opacity:0.3;}100%{opacity:1;}"),ts=e=>(0,s.iv)("justify-content:space-between;align-items:center;width:100%;animation:",tr()," ",e,"s forwards;"),td=(0,s.iv)("justify-content:space-between;align-items:center;width:100%;"),tc=e=>(0,s.iv)("min-height:",e>u.Lt?"80px":"10px",";margin-top:30px;margin-bottom:30px;justify-content:center;");x._Q.tablet;var tu=!0,tp=function(e){var t,l,o,s,w,Z,S,k;let{searchItem:C,lastLocations:B,subLocation:M,villaSubLocation:N,initialData:_,breadCrumbData:Q,facilityList:U,nearByFacilities:R,initialFilterData:j,ssrFilterData:G,initialQueryData:et,providerMap:el,totalNights:ei,totalCount:ea,breadcrumbSchema:eo,faqSchema:en,poolData:er,accTypeMap:es,query:ed,pageSlug:ec,resolvedUrl:eu,hotelSchemas:ep,campaign:eg,isPaidUrl:eh,hasTheme:ev,defaultParams:em,hasRangeIsShow:ex,minPrice:ef,maxPrice:eb,pocDiscoverList:ey,pocCityList:eD,pocHolidayPlaceList:eT,pocThemeList:e_,blogPosts:ez,comments:eE,popularFacilityWidgetData:eH,isExcludeFlsp:eA,isGoogleBot:eQ,maxPageLimit:eU,isEqualDefaultParams:eY,pansiyonSubLocationList:eR,providersLoadingItems:ej,openInMapOptions:eG,locationId:eV,regionFilterQuery:eq,isNearHotelsWithoutLocation:eW,initialHasAnyPrice:eJ}=e,[e$,eK]=(0,a.useState)(j),[e0,e1]=(0,a.useState)(!1),[e5,e2]=(0,a.useState)(!0),e4=(null==_?void 0:null===(l=_.Name)||void 0===l?void 0:null===(t=l.split("-")[0])||void 0===t?void 0:t.trim())||"",e3=(null!==(k=null==M?void 0:null===(o=M.data)||void 0===o?void 0:o.collection)&&void 0!==k?k:[]).map(e=>({locationName:e.name,slug:e.slug,pageName:e.name})),[e9,e8]=(0,a.useState)(null),[tr,tu]=(0,a.useState)(ea||0),[tp,tg]=(0,a.useState)(!1),[th,tv]=(0,a.useState)(!1),[tm,tx]=(0,a.useState)(!1),[tf,tb]=(0,a.useState)(U||[]),[ty,tw]=(0,a.useState)(R||[]),[tZ,tS]=(0,a.useState)(eU||0),[tk,tC]=(0,a.useState)((null==et?void 0:et.page)||1),tB=(0,a.useMemo)(()=>(0,eM.bT)(tf),[tf]),[tM,tN]=(0,a.useState)(eG),tP=!0,[tL,tF]=(0,a.useState)(null),[tI,tD]=(0,a.useState)(er||""),[tT,t_]=(0,a.useState)(et),[tz,tE]=(0,a.useState)((null==tT?void 0:null===(s=tT.filters)||void 0===s?void 0:s.length)||0),[tH,tA]=(0,a.useState)(!1),[tO,tX]=(0,a.useState)(0),[tQ,tU]=(0,a.useState)(0),[tY,tR]=(0,a.useState)(!1),[tj,tG]=(0,a.useState)(""),[tV,tq]=(0,a.useState)(!1),[tW,tJ]=(0,a.useState)({ta:"call",el:"call",pr1id:0,pr1nm:"",pr1br:"",pr1cd9:0,pr1ca:"",pr1va:"standart-oda",pr1ps:0,cd6:"desktop",cd7:"listeleme",cd50:"",cd51:"",pr1cd11:0,pr1cd13:1,hasMemberShip:!0,exitPrice:0,adultCount:0,childCount:0,childAges:"",isDefaultParams:!1,accommodationTypeName:"",accommodationTypeId:0,paid:!1,exitUrl:"",chrg:"",priceQueryId:"",itemListName:"",providerWidget:"main"}),[t$,tK]=(0,a.useState)({}),[t0,t1]=(0,a.useState)(eQ?0:1),t5=(0,eB.Bb)(et),[t2,t4]=(0,a.useState)(t5),[t3,t6]=(0,a.useState)(null==eJ||eJ),[t7,t9]=(0,a.useState)(null!=eb?eb:void 0),[t8,le]=(0,a.useState)(null!=ef?ef:void 0),[lt,ll]=(0,a.useState)(ex),li=(0,a.useRef)(void 0),la=(0,T.m)(),lo=la.topPx>134,ln=(0,a.useCallback)(e=>{tU(e),tR(!0)},[]),lr=(0,a.useCallback)(()=>{tU(0),tR(!1)},[]),ls=(0,a.useCallback)(()=>tq(!1),[]);z().events.on("routeChangeStart",()=>{(0,E.$w)(H.ZS,la.topPx.toString())}),(0,a.useEffect)(()=>{(0,u.SW)({filter:["ProductId eq ".concat(u.X9.LISTELEME_ONE_CIKAN)],select:["ObjectId"]},!1).then(e=>{if(!e.error&&Array.isArray(e.body)){let t={};e.body.forEach(e=>{e.ObjectId&&(t[e.ObjectId]=!0)}),tK(t)}})},[]),(0,a.useEffect)(()=>{var e,t,l;let i;(null==_?void 0:_.srcloc)&&(i=null!==(e=null==_?void 0:_.srcloc)&&void 0!==e?e:""),(null==_?void 0:_.flsp)&&(i=null!==(l=null==_?void 0:null===(t=_.flsp.find(e=>"location"===e.flsg))||void 0===t?void 0:t.v)&&void 0!==l?l:""),(0,v.AB)((0,h.he)(i))},[_]),(0,a.useEffect)(()=>{let e=()=>{(0,E.$w)(H.ZS,window.scrollY.toString())};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}},[]),(0,a.useEffect)(()=>{tI||(null==tT?void 0:tT.page)!==1||(0,v.AB)((0,h.QX)(null!=tr?tr:0))},[tI,null==tT?void 0:tT.page]),(0,a.useEffect)(()=>{er&&(lx(),lf(tT,er,(null==tT?void 0:tT.page)||0))},[]),(0,a.useEffect)(()=>{B&&B[0]&&B[2]&&B[0]===B[2]&&lc()},[B]);let ld=e=>{(0,v.AB)((0,v.rg)()),window.location.assign("/".concat(H.Wy,"/?lat=").concat(e.coords.latitude,"&lng=").concat(e.coords.longitude)),tg(!0),tv(!0)};(0,a.useEffect)(()=>{eW&&!eQ&&(0,g.Zk)(ld,e=>alert(e))},[eW,eQ]);let lc=()=>!1,lu=(0,a.useCallback)(()=>{tT&&_&&(0,v.AB)((0,h.cn)((0,m.B9)(tT),tT,_))},[tT,_]),lp=(0,a.useCallback)(e=>{var t,l,i;if(lx(),lg(e),e&&(null==e?void 0:e.filters)&&(null===(t=e.filters)||void 0===t?void 0:t.length)>0){let t=e.filters[e.filters.length-1];(null==t?void 0:t.id)===0?(0,v.AB)((0,v.aN)(t,!0)):(null===(i=e.filters)||void 0===i?void 0:i.length)>tz&&(0,v.AB)((0,v.aN)(t,!0))}tE(null==e?void 0:null===(l=e.filters)||void 0===l?void 0:l.length),t4((0,eB.Bb)(e)),_&&(0,v.AB)((0,h.cn)((0,m.B9)(e),e,_))},[tT,_,tz,t2]),lg=(0,a.useCallback)(e=>{if(e2(!1),_){let[t,l]=(0,p.Uo)(e,_,null==e?void 0:e.page,"",eg,eh,!0,em,eV);t_(e),z().replace("/tesis-listeleme?slug=".concat(ec,"&").concat(l.slice(1)),"/".concat(ev?"tema/":"").concat(ec).concat(l),{shallow:!0,scroll:!1}),lm(t,!0,!0,!0,null==e?void 0:e.page)}},[_,er]),lh=(0,a.useCallback)(()=>{if(tT){var e;let{0:t}=(0,p.UU)(tT,_,!1,eg,em,void 0,eV),l=t.filter(e=>"bolge"!==e.flsg);(0,u.Gi)({flsp:JSON.stringify(l),slg:eW?H.xv:ec,queryParams:JSON.stringify({cin:null===(e=n()(null==tT?void 0:tT.checkin))||void 0===e?void 0:e.format("YYYY-MM-DD"),cout:n()(null==tT?void 0:tT.checkout).format("YYYY-MM-DD"),act:null==tT?void 0:tT.adultCount,cas:null==tT?void 0:tT.children}),src:eh?"Paid":"Unpaid"}).then(e=>{let t=(0,p.OB)(null==G?void 0:G.filters,e.body,e5);return e5||(t=(0,p.OB)(null==e$?void 0:e$.filters,e.body,e5)),t}).then(e=>{(0,u.hN)(eq,!1).then(t=>{if(!t.error){var l,i;let a=(0,p.bD)(null===(l=t.body)||void 0===l?void 0:l.collection,eV,!!eW||ev);null==e||null===(i=e.filters)||void 0===i||i.map(async e=>{15===e.definitionType&&"bolge"===e.slug&&(e.definitions=a)}),eK(e)}})})}},[e$,tT,_]);(0,a.useEffect)(()=>{e0&&lh()},[e0]);let lv=e=>{var t,l,i,a,o,n,r,s;let{zoomRate:d,latSum:c,lngSum:u,count:p}={zoomRate:4+parseInt(null!==(s=null===(o=(null!==(r=null!==(n=e7[ev?0:null===(i=null!==(a=null==_?void 0:_.LocationTree)&&void 0!==a?a:"-1")||void 0===i?void 0:null===(l=i.trim())||void 0===l?void 0:null===(t=l.split(">"))||void 0===t?void 0:t.length])&&void 0!==n?n:e7[e7.length-1])&&void 0!==r?r:{value:5}).value)||void 0===o?void 0:o.toString())&&void 0!==s?s:"5",10),latSum:0,lngSum:0,count:0};(e.filter(t=>t.locationId==e[0].locationId)||e).slice(0,3).forEach(e=>{(null==e?void 0:e.latitude)>0&&(null==e?void 0:e.longitude)>0&&(c+=null==e?void 0:e.latitude,u+=null==e?void 0:e.longitude,p++)}),tN({lat:p>0?c/p:0,lng:p>0?u/p:0,zoom:d}),tP=!1},lm=(0,a.useCallback)((e,t,l,i,a)=>{tg(!0),t&&tv(!0),e1(!1);let o={...e,fls:JSON.stringify({...JSON.parse(e.fls),flsp:JSON.parse(e.fls).flsp.filter(e=>"bolge"!=e.flsg)})};(0,u.Su)(o,!1,li.current).then(e=>{if(!e.error){var t,o,n,r,s,d,c,g;let h=e.body;tD((null==h?void 0:h.poolData)||"");let v=[];tw(e=>(v=[...e],[...e])),((null==v?void 0:v.length)===0&&(null==ty?void 0:ty.length)===0||i)&&(null==h?void 0:h.catalogs)&&tb(e=>l?null==h?void 0:h.catalogs:[...e,...null==h?void 0:h.catalogs]),tw(e=>l&&1===(a||1)?(null==h?void 0:h.nearByCatalogs)||[]:[...e,...(null==h?void 0:h.nearByCatalogs)||[],...(null==v?void 0:v.length)>0&&(null==h?void 0:h.catalogs)||[]]);let m=null!==(n=null==h?void 0:null===(t=h.catalogs)||void 0===t?void 0:t.some(e=>null!==e.deals))&&void 0!==n&&n,x=null!==(r=null==h?void 0:null===(o=h.nearByCatalogs)||void 0===o?void 0:o.some(e=>null!==e.deals))&&void 0!==r&&r;if(t6(m||x),l&&(null==tM?void 0:tM.lat)===void 0&&tP){let e=[...(null==h?void 0:h.catalogs)||[],...(null==h?void 0:h.nearByCatalogs)||[]];e.filter(e=>(null==e?void 0:e.deals)!==null).length>=10&&lv(e)}if(tS(Math.ceil((null!==(s=null==h?void 0:h.totalCount)&&void 0!==s?s:0)/u.Lt>eL.V.MaxPageCount?eL.V.MaxPageCount:(null!==(d=null==h?void 0:h.totalCount)&&void 0!==d?d:0)/u.Lt)),tu((null==h?void 0:h.totalCount)||0),(null==h?void 0:h.maxPrice)&&t9(Math.trunc(null==h?void 0:h.maxPrice)),(null==h?void 0:h.minPrice)&&le(Math.trunc(null==h?void 0:h.minPrice)),ll(!1),null==h?void 0:h.poolData)(0,eI.Z)(()=>lf(tT,null==h?void 0:h.poolData,a||0),300)();else if(l&&(null==tM?void 0:tM.lat)===void 0&&tP&&lv([...(null==h?void 0:h.catalogs)||[],...(null==h?void 0:h.nearByCatalogs)||[]]),tT&&(null==tT?void 0:tT.page)!==1&&_&&((null==h?void 0:null===(c=h.catalogs)||void 0===c?void 0:c.length)||0)+((null==h?void 0:null===(g=h.nearByCatalogs)||void 0===g?void 0:g.length)||0)===0){let[e,t]=(0,p.Uo)(tT,_,null==tT?void 0:tT.page,"",eg,eh,!0,em,eV),l="/".concat(ev?"tema/":"").concat(ec).concat(t);window.location.href=l}(null==h?void 0:h.poolData)==""&&tg(!1)}}).then(()=>{e1(!0)}).finally(()=>{tv(!1)})},[tb,tw,tT,tM,tP,tf,ty,tI,er]),lx=(0,a.useCallback)(()=>{(null==li?void 0:li.current)&&li.current.abort();let e=new AbortController;li.current=e},[tp,th]),lf=(0,a.useCallback)((e,t,l)=>{if(_){let[i,a]=(0,p.Uo)(e,_,l,t,eg,eh,!0,em,eV);lx(),lm(i,(null==tf?void 0:tf.length)+(null==ty?void 0:ty.length)>0,!0,!1,l)}},[_,lm,tf,ty,tI,er]),lb=(0,a.useMemo)(()=>_&&tT&&e$&&(0!==tf.length||0!==ty.length)&&t3&&(0,i.tZ)(D.Z,{initialData:_,onFilterChange:lp,activeFilters:tT,filterData:e$,listTypeId:Y.H.Facility,campaign:eg,hasRangeIsShow:lt,minPrice:t8,maxPrice:t7,locationId:eV,isPaidUrl:eh}),[e$,_,tT,tI,er,e0,la,t8,t7,t3]),ly=(0,a.useCallback)(()=>(0,i.tZ)(r.Box,{mt:"25px",children:Array(u.Lt).fill(0).map((e,t)=>(0,i.BX)(i.HY,{children:[(0,i.tZ)(X.Z,{height:"63px",css:ti},t),2===t&&!tI&&(0,i.tZ)(r.Box,{width:"100%",height:"120px"},"add_skeleton")]}))}),[tI]),lw=(0,a.useCallback)(e=>{if(tT&&_){let[t,l]=(0,p.Uo)(tT,_,e,"",eg,eh,!0,em,eV);t_({...tT,page:e}),lm(t,!1,!1,!1,e)}},[tT,_,tf,ty,tI,er]),lZ=(0,a.useCallback)((e,t)=>{if(!eQ&&tT&&e&&_){let e=((null==et?void 0:et.page)||1)-1+Math.ceil((t>1?t-1:t)/u.Lt);if(tf.length>0&&R&&(null==R?void 0:R.length)>0&&(e=((null==et?void 0:et.page)||1)-1+Math.ceil((tf.length+t-1)/u.Lt)),e<=((null==tT?void 0:tT.page)||1)){tC(e);let{search:t}=window.location,l=new URLSearchParams(t),i=l.get("p");if((i||"1")!==e.toString()){e<2?l.delete("p"):i?l.set("p",e.toString()):l.append("p",e.toString());let t=l.toString(),a=Object.fromEntries(l.entries());z().replace({pathname:"/tesis-listeleme",query:{slug:"/".concat(ec),...a}},"/".concat(ev?"tema/":"").concat(ec).concat(t?"?".concat(t):""),{shallow:!0,scroll:!1})}}}},[tT,_,la,eQ,z(),tk,tC]),lS=(0,a.useCallback)(()=>tT&&tr>0?(0,i.tZ)(r.Flex,{css:tc(tr),children:(0,i.tZ)(eN.Z,{onClick:lw,loading:tp,currentCount:tf.length+ty.length,totalCount:tr,activeFilters:tT,maxPageLimit:tZ})}):null,[tT,tp,th,tr,tZ,tI]),lk=(0,a.useCallback)(()=>0!==tf.length||0!==ty.length?(0,i.BX)(i.HY,{children:[th&&ly(),!th&&el&&void 0!==ei&&es&&ec&&tT&&(0,i.tZ)(P,{mapRef:e9,pool:tI,setExpandedMarker:tF,setShowOverlay:tx,locationName:null==_?void 0:_.LocationName,facilityListItems:tf,providerMap:el,totalNights:ei,accTypeMap:es,featuredFacilitiesMap:t$,pageSlug:ec,loading:tp,setId:tU,onShowDate:lM,setPhoneNumber:tG,setShowPhoneModal:tR,setShowCertificateModal:tq,activeFilters:tT,setCallData:tJ,hasTheme:ev,isPaidUrl:eh,catalogType:Y.H.Facility,limitIsInViewport:lZ,isGoogleBot:eQ})]}):tI||th?ly():tT?(0,i.tZ)(q.Z,{activeFilters:tT,setActiveFilters:lg,setShowDate:tA,setDateIndex:tX,resultName:e4}):null,[tT,tf,lg,el,ei,es,ec,e9,tI,e4,tp,th,la,t$]),lC=(0,a.useCallback)(()=>ty.length>0&&el&&es&&ec&&void 0!==ei&&tT?(0,i.tZ)(V,{mapRef:e9,pool:tI,setExpandedMarker:tF,setShowOverlay:tx,title:e4,locationName:null==_?void 0:_.LocationName,locationTree:null==_?void 0:_.LocationTree,facilityListItems:ty,providerMap:el,totalNights:ei,accTypeMap:es,featuredFacilitiesMap:t$,pageSlug:ec,loading:tp,setId:tU,setPhoneNumber:tG,setShowPhoneModal:tR,setShowCertificateModal:tq,setCallData:tJ,onShowDate:lM,listTypeId:Y.H.Facility,isAboveData:0===tf.length,activeFilters:tT,isPaidUrl:eh,limitIsInViewport:lZ,isGoogleBot:eQ}):null,[tT,ty,el,ei,es,ec,e9,e4,t$]),lB=(0,a.useRef)(null),lM=(0,a.useCallback)(()=>{var e;(null==lB?void 0:null===(e=lB.current)||void 0===e?void 0:e.onDateOpen)&&lB.current.onDateOpen(!0)},[]);(0,a.useEffect)(()=>{(0,v.AB)((0,h.n4)((0,m.bP)(null==ed?void 0:ed.query,!1,em),_,tT))},[]);let lN=(0,a.useCallback)(()=>(0,i.BX)(r.Flex,{css:tn,children:[ej&&(0,i.tZ)(eX,{providersLoadingItems:ej,logoLoadingPhase:t0,setLogoLoadingPhase:t1}),(0,i.BX)(r.Flex,{css:3===t0?ts(1):td,children:[(0,i.tZ)(O.Z,{title:(null==_?void 0:_.ShortTitle)||(null==_?void 0:_.ShortName)||"",totalCount:tr||0,isAboveData:0===tf.length,locationName:(null==_?void 0:_.LocationName)||(null==_?void 0:_.ShortName),catalogType:Y.H.Facility}),(!tI||!th)&&tf.length+ty.length>0&&t3?(0,i.tZ)(r.Flex,{justifyContent:"flex-end",children:(0,i.tZ)(A.Z,{activeFilters:tT,onFilterChange:lp,catalogType:Y.H.Facility,hasTheme:ev})}):(0,i.tZ)(i.HY,{})]})]}),[t0,tT,tr,tI,th,t3]),lP=(0,a.useCallback)(()=>{let e=(0,eB.Bb)(t2);t2&&t_(e)},[tT,t2]);return(0,i.BX)(i.HY,{children:[(0,i.tZ)(c.Z,{title:"".concat(null==_?void 0:_.MetaTitle).concat(tk>=2?" - Sayfa ".concat(tk):""),metaTitle:"".concat(null==_?void 0:_.MetaTitle).concat(tk>=2?" - Sayfa ".concat(tk):""),metaDescription:"".concat(null==_?void 0:_.MetaDescription).concat(tk>=2?" - Sayfa ".concat(tk):""),noIndex:!(null==_?void 0:_.MetaRobots),forceIndex:!(eY&&0===tz),breadcrumb:eo,analyticsInput:(0,v.PV)((0,m.bP)(null==ed?void 0:ed.query,!1,em),_,tT,"otel"),hotelSchemas:ep,faq:en,disableScrollRestoration:!0,imagesToPreload:tB,isGoogleBot:eQ,isPaginationPage:!0,prevPageNumber:tk>1?tk-1:0,nextPageNumber:tk<(tZ||1)?tk+1:0,trackingParameters:[...eF.c,"p"],adLists:[{id:"div-gpt-ad-1711717474558-0",name:"nkal_w_serit_tepe_1400x50",sizes:[[1400,50]],dynamic:!1,isCentered:!0},{id:"div-gpt-ad-1711722837613-0",name:"nkal_ozel_w_tesislisteleme_1050x50",sizes:[[1050,50],[970,70],[728,70]],dynamic:!1,isCentered:!0},{id:"div-gpt-ad-1615282693867-0",name:"nkal_w_listing_left",sizes:[[300,600],[160,600],[336,280],[120,600],[200,200],[250,250],[300,250],"fluid"],dynamic:!1,isCentered:!1}]}),(0,i.tZ)(b.Z,{containerStyle:tt,show:tY,children:(0,i.tZ)(y.Z,{accTypeMap:es,callData:tW,providerMap:el,id:tQ,isNearBy:!!(null==R?void 0:R.find(e=>e.objectId===tQ)),onClose:lr,phoneNumber:tj,page:"listeleme",showMapOverlay:tm})}),(0,i.tZ)(b.Z,{containerStyle:tt,show:tV,children:(0,i.tZ)(L.Z,{onClose:ls})}),(0,i.BX)(d.Z,{centerCss:x.z1,children:[(0,i.BX)(r.Box,{p:["0 39px","0 39px","0 39px","0 0px"],children:[(0,i.tZ)(F.Z,{breadCrumbData:Q}),et&&tT&&_&&eu&&(null==_?void 0:_.IsShowSearchBox)&&(0,i.tZ)(I.Z,{isSticky:lo,initialQueryData:et,initialData:_,title:e4,item:C,activeFilters:tT,showDate:tH,setShowDate:tA,dateIndex:tO,setDateIndex:tX,resolvedUrl:eu,activeTab:J.S.Facility,dateRef:lB,defaultParams:em,totalNights:ei,catalogType:Y.H.Facility,animated:!1}),(0,i.BX)(r.Flex,{mt:15,children:[(0,i.BX)(r.Box,{width:[210,210,210,330],css:tl,children:[tf.length>0&&e$&&_&&tT&&t3&&(0,i.tZ)(e6,{mapRef:e9,getMapRef:e8,initialData:_,expandedMarker:tL,setExpandedMarker:tF,showOverlay:tm,setShowOverlay:tx,locationName:e4,activeFilters:tT,setActiveFilters:t_,accTypeMap:es||{},providerMap:el||{},handlePhoneModalOpen:ln,setPhoneNumber:tG,pool:"",totalNights:ei||0,featuredFacilitiesMap:t$,pageSlug:ec,setId:tU,setShowPhoneModal:tR,setShowCertificateModal:tq,filterData:e$,onClickPagination:lw,initialFacilities:tf,setCallData:tJ,hasTheme:ev,campaign:eg,isPaidUrl:eh,onFacilityListChange:tb,totalFacilityCount:tr,onShowDate:lM,catalogType:Y.H.Facility,isGoogleBot:eQ,openInMapOptions:tM,onFilterChange:lp,handleCancelFilter:lP}),_&&tT&&e$&&lb,_&&(0,i.tZ)(W.default,{externalCss:ta,id:"div-gpt-ad-1615282693867-0"})]}),(0,i.BX)(r.Box,{width:[1,1,1,1],css:to,children:[lN(),e3.length>0&&(null==tT?void 0:tT.page)===1&&(0,i.tZ)(te,{pageSlug:ec||"",tags:e3}),lk(),lC(),lS(),(0,i.BX)(r.Box,{width:[1,1,1,1],children:[((null==_?void 0:_.CatalogListProperties)&&(null==_?void 0:_.CatalogListProperties.length)>0||tr>0||(null==tf?void 0:null===(w=tf.concat(ty)[0])||void 0===w?void 0:w.name))&&(null==tT?void 0:tT.page)===1&&(0,i.tZ)(eS.Z,{locationName:e4,properties:null==_?void 0:_.CatalogListProperties,totalCount:tr,popularFacility:null==tf?void 0:null===(Z=tf.concat(ty)[0])||void 0===Z?void 0:Z.name,catalogType:Y.H.Facility}),eR&&(null==eR?void 0:eR.length)>0&&(null==tT?void 0:tT.page)===1&&(0,i.tZ)(eO,{locationName:null==_?void 0:_.LocationName,subLocationList:eR}),ey&&(null==tT?void 0:tT.page)===1&&(0,i.tZ)($.Z,{items:ey,title:"".concat(null==_?void 0:_.LocationName," B\xf6lgesini Keşfet"),isDiscoverWidget:!0}),eD&&(null==tT?void 0:tT.page)===1&&(0,i.tZ)(K.Z,{items:eD,title:"".concat(null==_?void 0:_.LocationName," Şehir Rehberi")}),e_&&(null==tT?void 0:tT.page)===1&&(0,i.tZ)($.Z,{items:e_,title:"".concat(null==_?void 0:_.LocationName," Konaklama Se\xe7enekleri"),isDiscoverWidget:!1}),eE&&eE.length>0&&(null==tT?void 0:tT.page)===1&&(0,i.tZ)(ew,{items:eE,title:"".concat(e4," İle İlgili Son Yorumlar")}),(null==_?void 0:_.CatalogListProperties)&&(null==_?void 0:_.CatalogListProperties.length)>0&&(null==tT?void 0:tT.page)===1&&(0,i.tZ)(ek.Z,{locationName:null==_?void 0:_.LocationName,properties:null==_?void 0:_.CatalogListProperties,showAveragePrice:eA}),ez&&(null==ez?void 0:ez.data)&&(null==ez?void 0:null===(S=ez.data)||void 0===S?void 0:S.length)>0&&(null==tT?void 0:tT.page)===1&&(0,i.tZ)(ee.Z,{blogPosts:ez.data,title:"".concat(null==_?void 0:_.LocationName," Seyahat Yazıları")}),N&&(null==tT?void 0:tT.page)===1&&(0,i.tZ)(eZ.Z,{onClick:lu,locationName:"".concat(null==_?void 0:_.LocationName," B\xf6lgesindeki Villalar"),subLocation:N,catalogType:Y.H.Villa}),_&&(0,i.tZ)(f.Z,{hasPaging:((null==tT?void 0:tT.page)||1)>1,subLocation:M,wikiHtml:_.SeoContent,faq:null==_?void 0:_.FAQItems,locationName:e4,catalogType:Y.H.Facility,onClick:lu})]})]})]})]}),e.popularFacilityWidgetData&&e.popularFacilityWidgetData.length>0&&(0,i.tZ)(r.Box,{m:"10px 0px 10px 0px",children:(0,i.tZ)(eC.IB,{title:"Pop\xfcler ".concat(null==_?void 0:_.LocationName," Otelleri"),locationType:Y.H.Facility,featuredLocations:null!=eH?eH:[],isRounded:!0,isFacilityListing:!0})}),(0,i.tZ)(eP.Z,{isShow:!0})]})]})}}},function(e){e.O(0,[9476,615,4473,1664,7285,2613,8333,7563,5025,5554,6982,131,2888,9774,179],function(){return e(e.s=64991)}),_N_E=e.O()}]);