(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(53689)}])},35109:function(e,t,l){"use strict";var i=l(35944),a=l(70917),o=l(66455),n=l(34665),r=l(94746),d=l(67294);let s=(0,a.iv)("position:relative;border:0.7px solid ",n.wL.veryLightPink2,";background-color:",n.wL.white,";display:flex;align-items:center;border-radius:4px;"),c=(e,t,l)=>(0,a.iv)("border:0.7px solid\n ",void 0===e?l?n.wL.blue3:n.wL.brownGrey:t?n.wL.algaeGreen:n.wL.scarlet,";"),u=e=>(0,a.iv)("color:",void 0===e?n.wL.brownGrey:n.wL.black,";"),p=(0,a.iv)("width:100%;border:none;background:none;padding:7px 30px 7px 12px;cursor:pointer;-webkit-appearance:none;position:relative;user-select:none;outline:none;z-index:2;font-weight:500;color:",n.wL.black,";font-size:12px;letter-spacing:0.5px;",n.I8,";"),g=(0,a.iv)("position:absolute;right:7px;z-index:1;");t.Z=function(e){let{placeholder:t,options:l,onSelect:a,defaultValue:n,customWrapper:h,customSelectInput:v,customSelectIcon:f,customOptionCss:x,allowSelectablePlaceholder:m,required:b,isValid:y,...w}=e,[Z,C]=(0,d.useState)(!1);return(0,i.BX)(o.Box,{css:[s,b&&c(e.value,y,Z),h],children:[(0,i.BX)("select",{css:[p,b&&u(e.value),v],defaultValue:n||"placeholder",onChange:a,onFocus:e=>C(!0),onBlur:e=>C(!1),...w,children:[t&&(0,i.tZ)("option",{value:"placeholder",disabled:!m,children:t}),l.length>0&&l.map((e,t)=>{let{Label:l,Value:a,Disabled:o}=e;return(0,i.tZ)("option",{value:a,disabled:o,css:x,children:l},t)})]}),(0,i.tZ)(o.Flex,{css:[g,f],children:(0,i.tZ)(r.Z,{})})]})}},14014:function(e,t,l){"use strict";var i=l(35944),a=l(70917),o=l(34665);let n={small:[16,8,22],normal:[12,20,22],lg:[22,11,19.5]},r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal",[l,i,r]=n[t];return(0,a.iv)("padding:",i,"px ",l,"px;background-color:",o.wL.white,";border-radius:",r,"px;border:solid 1px ",e?o.wL.black:o.wL.veryLightPink2,";font-weight:",e?"600":"400",";display:inline-flex;text-align:center;flex-direction:column;align-items:center;justify-content:space-between;cursor:pointer;font-size:14px;letter-spacing:0.5px;&:hover{border-color:",o.wL.black,";text-shadow:0.25px 0px 0.1px,-0.25px 0px 0.1px;}&::after{content:attr(datatext);height:0;visibility:hidden;overflow:hidden;user-select:none;pointer-events:none;font-weight:600;@media speech{display:none;}}")};t.Z=function(e){let{children:t,active:l,size:a,externalCss:o,...n}=e;return(0,i.tZ)("div",{css:[r(l,a),o],datatext:t,title:t,...n,children:t})}},53689:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSP:function(){return tt},default:function(){return tl}});var i=l(35944),a=l(67294),o=l(27484),n=l.n(o),r=l(66455),d=l(70917),s=l(41187),c=l(30427),u=l(74974),p=l(54623),g=l(57404),h=l(62209),v=l(1092),f=l(27616),x=l(34665),m=l(67356),b=l(94019),y=l(43603),w=l(56757),Z=l(49905);let C=(0,d.iv)("width:100%;&:not(:last-child){margin-bottom:10px;}"),S=(0,d.iv)("&:hover{box-shadow:0 2px 5px 0 rgba(0,0,0,0.12);}&:not(:first-of-type){margin-top:10px;}");var k=function(e){let{setExpandedMarker:t,setShowOverlay:l,facilityListItems:o,providerMap:n,totalNights:r,mapRef:d,setId:s,setPhoneNumber:c,setShowPhoneModal:u,setShowCertificateModal:p,accTypeMap:g,featuredFacilitiesMap:h,pageSlug:v,pool:f,locationName:x,page:m,setCallData:b,onShowDate:y,catalogType:k,hasTheme:B,activeFilters:P,isPaidUrl:M,isNearBy:L,limitIsInViewport:N,isGoogleBot:F}=e,I=(e,a,o)=>(0,i.tZ)(Z.Z,{pool:f,mapRef:d,locationName:x,setExpandedMarker:t,setShowOverlay:l,facilityItem:e,providerMap:n,totalNights:r,setId:s,onShowDate:y,setPhoneNumber:c,setShowPhoneModal:u,setShowCertificateModal:p,accTypeMap:g,featuredFacilitiesMap:h,position:10*o+a,pageSlug:v,externalCss:S,className:"facility-list-item",page:m,setCallData:b,hasTheme:B,activeFilters:P,isPaidUrl:M,catalogType:k,isNearBy:L,limitIsInViewport:N,isGoogleBot:F},e.objectId),T=(0,a.useMemo)(()=>(0,w.By)(o).map((e,t)=>(0,i.tZ)("div",{css:C,children:e.map((e,l)=>I(e,l,t))},t)),[o,d,l,n,r,c,u,s,h,m,k,L]);return(0,i.tZ)(i.HY,{children:T})},B=l(44614);let P=(0,d.iv)("width:100%;display:flex;justify-content:center;box-sizing:border-box;padding:15px 0;min-height:80px;",x._Q.tablet,"{min-height:100px;}"),M=(0,d.iv)("min-height:50px;",x._Q.tablet,"{min-height:70px;}");var L=(0,a.memo)(function(e){let{mapRef:t,setExpandedMarker:l,setShowOverlay:o,locationName:n,facilityListItems:d,providerMap:s,totalNights:c,accTypeMap:u,featuredFacilitiesMap:p,pageSlug:g,loading:h,pool:v,setId:f,onShowDate:x,setPhoneNumber:m,setShowPhoneModal:b,setShowCertificateModal:y,activeFilters:w,setCallData:Z,catalogType:C,hasQueryParams:S,hasTheme:L,isPaidUrl:N,limitIsInViewport:F,isGoogleBot:I}=e,T=(0,a.useCallback)(()=>(0,i.tZ)(r.Box,{css:P,children:(0,i.tZ)(B.Z,{externalCss:M,id:"div-gpt-ad-1711722837613-0"})}),[]);return(0,i.BX)(i.HY,{children:[T(),(0,i.tZ)(r.Box,{mt:"25px",children:(0,i.tZ)(k,{mapRef:t,pool:v,locationName:n,setExpandedMarker:l,setShowOverlay:o,facilityListItems:d,providerMap:s,totalNights:c,setPhoneNumber:m,setId:f,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:C,hasTheme:L,hasQueryParams:S,activeFilters:w,isPaidUrl:N,isNearBy:!1,limitIsInViewport:F,isGoogleBot:I})})]})}),N=l(4205),F=l(43519),I=l(87903),T=l(85025),D=l(68032),_=l(11163),z=l.n(_),O=l(42588),H=l(93065),E=l(9104),A=l(47311),X=l(84657),R=l(22149),Q=l(78707),Y=l(26146),U=l(69767);let G=(0,d.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 j=(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,d=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ı:"),s=(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:d},suppressHydrationWarning:!0})}),[n]);return(0,i.tZ)(i.HY,{children:(0,i.BX)(R.Z,{externalCss:G,children:[(0,i.tZ)(r.Flex,{children:(0,i.tZ)(Q.h,{src:"".concat(U.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")})}),s]})})}),V=(0,a.memo)(function(e){let{mapRef:t,setExpandedMarker:l,setShowOverlay:a,title:o,locationName:n,locationTree:d,facilityListItems:s,providerMap:c,totalNights:u,accTypeMap:p,featuredFacilitiesMap:g,pageSlug:h,loading:v,pool:f,setId:x,setPhoneNumber:m,setShowPhoneModal:b,setShowCertificateModal:y,setCallData:w,onShowDate:Z,listTypeId:C,isAboveData:S,activeFilters:B,isPaidUrl:P,limitIsInViewport:M,isGoogleBot:L}=e;return(0,i.BX)(i.HY,{children:[n&&d&&(0,i.tZ)(j,{title:o,locationName:n,locationTree:d,listTypeId:C,isAboveData:S}),(0,i.tZ)(r.Box,{children:(0,i.tZ)(k,{mapRef:t,pool:f,locationName:n,setExpandedMarker:l,setShowOverlay:a,facilityListItems:s,providerMap:c,totalNights:u,setPhoneNumber:m,setId:x,onShowDate:Z,setCallData:w,setShowPhoneModal:b,setShowCertificateModal:y,accTypeMap:p,featuredFacilitiesMap:g,pageSlug:h,loading:v,page:1,activeFilters:B,isPaidUrl:P,isNearBy:!0,limitIsInViewport:M,isGoogleBot:L})})]})}),W=l(55895),q=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,d.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);}"),ed=(0,d.iv)("border-radius:4px 4px 0 0;width:250px;height:160px;img{",x._Q.tablet,"{height:140px;}}",x._Q.tablet,"{width:250px;height:140px;}"),es=(0,d.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,d.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,d.iv)("min-height:142px;"),ep=(0,d.iv)("display:flex;flex-direction:row;align-items:center;border-top:1px solid ",x.wL.brownGrey5,";width:89%;margin:0 auto;"),eg=(0,d.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,d.iv)("text-align:left;font-weight:600;margin-right:5px;font-size:14px;letter-spacing:0.29px;"),ev=(0,d.iv)("border-radius:5px;"),ef=(0,d.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:d,ratingText:s,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:ed,children:[(0,i.tZ)(ea.Gl,{src:"".concat(U.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:es,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(d&&d.substring(0,d.length-1),"/5"):d}),(0,i.tZ)(el.Z,{css:eh,align:"left",size:14,letterSpacing:"0.29px",children:s}),u&&(0,i.BX)(i.HY,{children:[(0,i.tZ)(Q.h,{src:"".concat(U.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(d),width:p?13:16,height:p?13:16,externalCss:ef})]})]})]})})},()=>!0),em=l(44397);let eb=(0,d.iv)("padding:25px;overflow:hidden;background-color:",x.wL.white,";margin-bottom:15px;",x._Q.tablet,"{padding:25px 20px;}"),ey=(0,d.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]),d=(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)(R.Z,{ref:l,css:eb,children:[(0,i.tZ)(r.Flex,{mb:"25px",justifyContent:"space-between",children:(0,i.tZ)(em.Z,{content:"".concat(o),externalCss:ey})}),d()]})}),eZ=l(76685),eC=l(84077),eS=l(58417),ek=l(95554),eB=l(69497),eP=l(2244),eM=l(97478),eL=l(44108),eN=l(62031),eF=l(31950),eI=l(74990),eT=l(3205),eD=l(41664),e_=l.n(eD);let ez=(0,d.iv)("font-size:24px;font-weight:600;margin:0 0 20px 0;",x._Q.tablet,"{font-size:18px;margin:0 0 15px 0;}"),eO=(0,d.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,d.iv)("margin-top:9px;"),eE=e=>(0,d.iv)("display:",e?"block":"none",";");var eA=a.memo(function(e){let{subLocationList:t,locationName:l}=e,[o,n]=(0,a.useState)(!1),d=(0,a.useMemo)(()=>(0,i.tZ)(eT.Z,{expanded:o,setExpanded:n,externalCss:eH}),[o]),s=(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:eO,children:[(0,i.tZ)("h2",{css:ez,children:l?"".concat(l," B\xf6lgesindeki Pansiyonlar"):"Pansiyon B\xf6lgeleri"}),s[0],(0,i.tZ)(r.Box,{css:eE(o),children:s.slice(1)}),t.length>10&&d]})},()=>!0),eX=l(46282),eR=l(4284),eQ=l(5152),eY=l.n(eQ);let eU=eY()(()=>Promise.all([l.e(513),l.e(9774),l.e(9269),l.e(2542)]).then(l.bind(l,52542)),{loadableGenerated:{webpack:()=>[52542]},ssr:!1}),eG=(0,d.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);}"),ej=(0,d.iv)("min-width:328px;width:100%;height:81px;position:relative;"),eV=(0,d.iv)("padding-top:10px;padding-bottom:10px;background-color:",x.wL.white,";"),eW=(0,d.iv)("font-size:14px;color:",x.wL.black,";padding-left:5px;",x._Q.tablet,"{font-size:13px;}&:hover{text-decoration:none;}");var eq=function(e){let{onClick:t,isGoogleBot:l,openInMapOptions:a,facilityList:o}=e;return(0,i.BX)(r.Box,{css:eG,onClick:t,children:[(0,i.tZ)(r.Box,{css:ej,title:"\xd6rnek Harita G\xf6rseli",children:l?(0,i.tZ)(Q.h,{src:"".concat(U.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)(eU,{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)(eU,{mapProps:{lat:38.9573415,lng:35.240741,zoom:5},listItem:o})})}),(0,i.BX)(r.Flex,{alignItems:"center",justifyContent:"center",css:eV,children:[(0,i.tZ)(eX.Z,{width:"18px",height:"18px"}),(0,i.tZ)(eR.Z,{externalCss:eW,title:"Haritayı g\xf6r\xfcnt\xfcle",asButton:!0,children:"Haritayı g\xf6r\xfcnt\xfcle"})]})]})};let eJ=eY()(()=>l.e(7551).then(l.bind(l,57551)),{loadableGenerated:{webpack:()=>[57551]}});var e$=(0,a.memo)(function(e){let{mapRef:t,initialData:l,campaign:o,isPaidUrl:n,expandedMarker:d,setExpandedMarker:s,getMapRef:c,showOverlay:g,setShowOverlay:h,locationName:f,activeFilters:x,setActiveFilters:m,accTypeMap:b,providerMap:y,handlePhoneModalOpen:w,setPhoneNumber:Z,pool:C,totalNights:S,featuredFacilitiesMap:k,pageSlug:B,setId:P,setShowPhoneModal:M,setShowCertificateModal:L,filterData:N,initialFacilities:F,setCallData:I,catalogType:T,hasTheme:D,onClickPagination:_,onFacilityListChange:z,totalFacilityCount:O,onShowDate:H,isGoogleBot:E,openInMapOptions:A,onFilterChange:X,minPrice:R,maxPrice:Q,handleCancelFilter:Y}=e,[U,G]=(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]),[j,V]=(0,a.useState)({lat:U>10?U:38.963745,lng:G>10?G:35.243322,zoom:U<10?6.5:Number("".concat((null==l?void 0:l.slforg)&&(null==l?void 0:l.slforg.length)>0?9:7.5))}),[W,q]=(0,a.useState)(null),[J,$]=(0,a.useState)(!1);(0,a.useEffect)(()=>{t&&t.panTo({lat:j.lat,lng:j.lng})},[t,j,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,d,s,c,g;if((null===(r=a.body)||void 0===r?void 0:r.catalogs)&&a.body.catalogs.length>0){let e=null===(s=a.body)||void 0===s?void 0:null===(d=s.catalogs)||void 0===d?void 0:d[0];V({lat:null==e?void 0:e.latitude,lng:null==e?void 0:e.longitude,zoom:j.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&&d&&V({lat:d.item.latitude,lng:d.item.longitude,zoom:d.zoom||j.zoom})},[d]),(0,a.useEffect)(()=>{W&&!J&&(V({...W}),q(null))},[F]);let ee=(0,a.useCallback)(()=>{K()},[j,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)(eq,{onClick:et,isGoogleBot:E,openInMapOptions:A,facilityList:F.slice(0,5)}),(0,i.tZ)(eJ,{mapRef:t,expandedMarker:d,setExpandedMarker:s,getMapRef:c,show:g,initialMapView:{lat:j.lat,lng:j.lng,zoom:j.zoom},locationName:f,facilityList:F,onClose:el,activeFilters:x,accTypeMap:b,providerMap:y,handlePhoneModalOpen:w,setPhoneNumber:Z,pool:C,setShowOverlay:h,totalNights:S,featuredFacilitiesMap:k,pageSlug:B,setId:P,setShowPhoneModal:M,setShowCertificateModal:L,loading:J,initialData:l,filterData:N,setActiveFilters:m,applyMapFilters:ee,setCallData:I,catalogType:T,hasTheme:D,totalFacilityCount:O,onClickPagination:_,onShowDate:H,isPaidUrl:n,onFilterChange:X,minPrice:R,maxPrice:Q,handleCancelFilter:Y})]})});let eK=[{key:"Country",value:1},{key:"City",value:3},{key:"District",value:5},{key:"Neighborhood",value:5},{key:"Town",value:5},{key:"Village",value:8}],e0=(0,d.iv)("overflow:hidden;height:70px;padding:20px 0px;",x._Q.tablet,"{height:40px;padding:15px 0 35px 0;}"),e1=(0,d.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 e5=(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:e1,title:"".concat(e.pageName),children:(0,i.tZ)(el.Z,{size:12,children:e.locationName})},t)))}),[l]);return(0,i.tZ)(R.Z,{css:e0,externalCss:[x.z1],children:n})});let e2=(0,d.iv)("background-color:rgba(0,0,0,0.5);z-index:103;"),e4=(0,d.iv)("flex-shrink:0;"),e3=(0,d.iv)("height:195px;&:not(:last-child){margin-bottom:10px;}",x._Q.tablet,"{height:250px;}"),e6=(0,d.iv)("padding:15px 0;height:615px;"),e7=(0,d.iv)("padding-left:30px;overflow:hidden;",x._Q.tablet,"{padding-left:30px;}"),e9=(0,d.iv)("justify-content:space-between;align-items:center;height:84px;position:relative;"),e8=(0,d.iv)("justify-content:space-between;align-items:center;width:100%;"),te=e=>(0,d.iv)("min-height:",e>u.Lt?"80px":"10px",";margin-top:30px;margin-bottom:30px;justify-content:center;");x._Q.tablet;var tt=!0,tl=function(e){var t,l,o,d,w,Z,C,S;let{searchItem:k,lastLocations:B,subLocation:P,villaSubLocation:M,initialData:_,breadCrumbData:R,facilityList:Q,nearByFacilities:U,initialFilterData:G,ssrFilterData:j,initialQueryData:et,providerMap:el,totalNights:ei,totalCount:ea,breadcrumbSchema:eo,faqSchema:en,poolData:er,accTypeMap:ed,query:es,pageSlug:ec,resolvedUrl:eu,hotelSchemas:ep,campaign:eg,isPaidUrl:eh,hasTheme:ev,defaultParams:ef,hasRangeIsShow:ex,minPrice:em,maxPrice:eb,pocDiscoverList:ey,pocCityList:eT,pocHolidayPlaceList:eD,pocThemeList:e_,blogPosts:ez,comments:eO,popularFacilityWidgetData:eH,isExcludeFlsp:eE,isGoogleBot:eX,maxPageLimit:eR,isEqualDefaultParams:eQ,pansiyonSubLocationList:eY,openInMapOptions:eU,locationId:eG,regionFilterQuery:ej,isNearHotelsWithoutLocation:eV,initialHasAnyPrice:eW}=e,[eq,eJ]=(0,a.useState)(G),[e0,e1]=(0,a.useState)(!1),[tt,tl]=(0,a.useState)(!0),ti=(null==_?void 0:null===(l=_.Name)||void 0===l?void 0:null===(t=l.split("-")[0])||void 0===t?void 0:t.trim())||"",ta=(null!==(S=null==P?void 0:null===(o=P.data)||void 0===o?void 0:o.collection)&&void 0!==S?S:[]).map(e=>({locationName:e.name,slug:e.slug,pageName:e.name})),[to,tn]=(0,a.useState)(null),[tr,td]=(0,a.useState)(ea||0),[ts,tc]=(0,a.useState)(!1),[tu,tp]=(0,a.useState)(!1),[tg,th]=(0,a.useState)(!1),[tv,tf]=(0,a.useState)(Q||[]),[tx,tm]=(0,a.useState)(U||[]),[tb,ty]=(0,a.useState)(eR||0),[tw,tZ]=(0,a.useState)((null==et?void 0:et.page)||1),tC=(0,a.useMemo)(()=>(0,eP.bT)(tv),[tv]),[tS,tk]=(0,a.useState)(eU),tB=!0,[tP,tM]=(0,a.useState)(null),[tL,tN]=(0,a.useState)(er||""),[tF,tI]=(0,a.useState)(et),[tT,tD]=(0,a.useState)((null==tF?void 0:null===(d=tF.filters)||void 0===d?void 0:d.length)||0),[t_,tz]=(0,a.useState)(!1),[tO,tH]=(0,a.useState)(0),[tE,tA]=(0,a.useState)(0),[tX,tR]=(0,a.useState)(!1),[tQ,tY]=(0,a.useState)(""),[tU,tG]=(0,a.useState)(!1),[tj,tV]=(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"}),[tW,tq]=(0,a.useState)({}),tJ=(0,eB.Bb)(et),[t$,tK]=(0,a.useState)(tJ),[t0,t1]=(0,a.useState)(null==eW||eW),[t5,t2]=(0,a.useState)(null!=eb?eb:void 0),[t4,t3]=(0,a.useState)(null!=em?em:void 0),[t6,t7]=(0,a.useState)(ex),t9=(0,a.useRef)(void 0),t8=(0,D.m)(),le=t8.topPx>134,lt=(0,a.useCallback)(e=>{tA(e),tR(!0)},[]),ll=(0,a.useCallback)(()=>{tA(0),tR(!1)},[]),li=(0,a.useCallback)(()=>tG(!1),[]);z().events.on("routeChangeStart",()=>{(0,O.$w)(H.ZS,t8.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)}),tq(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,O.$w)(H.ZS,window.scrollY.toString())};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}},[]),(0,a.useEffect)(()=>{tL||(null==tF?void 0:tF.page)!==1||(0,v.AB)((0,h.QX)(null!=tr?tr:0))},[tL,null==tF?void 0:tF.page]),(0,a.useEffect)(()=>{er&&(lp(),lg(tF,er,(null==tF?void 0:tF.page)||0))},[]),(0,a.useEffect)(()=>{B&&B[0]&&B[2]&&B[0]===B[2]&&lo()},[B]);let la=e=>{(0,v.AB)((0,v.rg)()),window.location.assign("/".concat(H.Wy,"/?lat=").concat(e.coords.latitude,"&lng=").concat(e.coords.longitude)),tc(!0),tp(!0)};(0,a.useEffect)(()=>{eV&&!eX&&(0,g.Zk)(la,e=>alert(e))},[eV,eX]);let lo=()=>!1,ln=(0,a.useCallback)(()=>{tF&&_&&(0,v.AB)((0,h.cn)((0,f.B9)(tF),tF,_))},[tF,_]),lr=(0,a.useCallback)(e=>{var t,l,i;if(lp(),ld(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)>tT&&(0,v.AB)((0,v.aN)(t,!0))}tD(null==e?void 0:null===(l=e.filters)||void 0===l?void 0:l.length),tK((0,eB.Bb)(e)),_&&(0,v.AB)((0,h.cn)((0,f.B9)(e),e,_))},[tF,_,tT,t$]),ld=(0,a.useCallback)(e=>{if(tl(!1),_){let[t,l]=(0,p.Uo)(e,_,null==e?void 0:e.page,"",eg,eh,!0,ef,eG);tI(e),z().replace("/tesis-listeleme?slug=".concat(ec,"&").concat(l.slice(1)),"/".concat(ev?"tema/":"").concat(ec).concat(l),{shallow:!0,scroll:!1}),lu(t,!0,!0,!0,null==e?void 0:e.page)}},[_,er]),ls=(0,a.useCallback)(()=>{if(tF){var e;let{0:t}=(0,p.UU)(tF,_,!1,eg,ef,void 0,eG),l=t.filter(e=>"bolge"!==e.flsg);(0,u.Gi)({flsp:JSON.stringify(l),slg:eV?H.xv:ec,queryParams:JSON.stringify({cin:null===(e=n()(null==tF?void 0:tF.checkin))||void 0===e?void 0:e.format("YYYY-MM-DD"),cout:n()(null==tF?void 0:tF.checkout).format("YYYY-MM-DD"),act:null==tF?void 0:tF.adultCount,cas:null==tF?void 0:tF.children}),src:eh?"Paid":"Unpaid"}).then(e=>{let t=(0,p.OB)(null==j?void 0:j.filters,e.body,tt);return tt||(t=(0,p.OB)(null==eq?void 0:eq.filters,e.body,tt)),t}).then(e=>{(0,u.hN)(ej,!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,eG,!!eV||ev);null==e||null===(i=e.filters)||void 0===i||i.map(async e=>{15===e.definitionType&&"bolge"===e.slug&&(e.definitions=a)}),eJ(e)}})})}},[eq,tF,_]);(0,a.useEffect)(()=>{e0&&ls()},[e0]);let lc=e=>{var t,l,i,a,o,n,r,d;let{zoomRate:s,latSum:c,lngSum:u,count:p}={zoomRate:4+parseInt(null!==(d=null===(o=(null!==(r=null!==(n=eK[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:eK[eK.length-1])&&void 0!==r?r:{value:5}).value)||void 0===o?void 0:o.toString())&&void 0!==d?d:"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++)}),tk({lat:p>0?c/p:0,lng:p>0?u/p:0,zoom:s}),tB=!1},lu=(0,a.useCallback)((e,t,l,i,a)=>{tc(!0),t&&tp(!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,t9.current).then(e=>{if(!e.error){var t,o,n,r,d,s,c,g;let h=e.body;tN((null==h?void 0:h.poolData)||"");let v=[];tm(e=>(v=[...e],[...e])),((null==v?void 0:v.length)===0&&(null==tx?void 0:tx.length)===0||i)&&(null==h?void 0:h.catalogs)&&tf(e=>l?null==h?void 0:h.catalogs:[...e,...null==h?void 0:h.catalogs]),tm(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 f=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(t1(f||x),l&&(null==tS?void 0:tS.lat)===void 0&&tB){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&&lc(e)}if(ty(Math.ceil((null!==(d=null==h?void 0:h.totalCount)&&void 0!==d?d:0)/u.Lt>eN.V.MaxPageCount?eN.V.MaxPageCount:(null!==(s=null==h?void 0:h.totalCount)&&void 0!==s?s:0)/u.Lt)),td((null==h?void 0:h.totalCount)||0),(null==h?void 0:h.maxPrice)&&t2(Math.trunc(null==h?void 0:h.maxPrice)),(null==h?void 0:h.minPrice)&&t3(Math.trunc(null==h?void 0:h.minPrice)),t7(!1),null==h?void 0:h.poolData)(0,eI.Z)(()=>lg(tF,null==h?void 0:h.poolData,a||0),300)();else if(l&&(null==tS?void 0:tS.lat)===void 0&&tB&&lc([...(null==h?void 0:h.catalogs)||[],...(null==h?void 0:h.nearByCatalogs)||[]]),tF&&(null==tF?void 0:tF.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)(tF,_,null==tF?void 0:tF.page,"",eg,eh,!0,ef,eG),l="/".concat(ev?"tema/":"").concat(ec).concat(t);window.location.href=l}(null==h?void 0:h.poolData)==""&&tc(!1)}}).then(()=>{e1(!0)}).finally(()=>{tp(!1)})},[tf,tm,tF,tS,tB,tv,tx,tL,er]),lp=(0,a.useCallback)(()=>{(null==t9?void 0:t9.current)&&t9.current.abort();let e=new AbortController;t9.current=e},[ts,tu]),lg=(0,a.useCallback)((e,t,l)=>{if(_){let[i,a]=(0,p.Uo)(e,_,l,t,eg,eh,!0,ef,eG);lp(),lu(i,(null==tv?void 0:tv.length)+(null==tx?void 0:tx.length)>0,!0,!1,l)}},[_,lu,tv,tx,tL,er]),lh=(0,a.useMemo)(()=>_&&tF&&eq&&(0!==tv.length||0!==tx.length)&&t0&&(0,i.tZ)(T.Z,{initialData:_,onFilterChange:lr,activeFilters:tF,filterData:eq,listTypeId:Y.H.Facility,campaign:eg,hasRangeIsShow:t6,minPrice:t4,maxPrice:t5,locationId:eG,isPaidUrl:eh}),[eq,_,tF,tL,er,e0,t8,t4,t5,t0]),lv=(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:e3},t),2===t&&!tL&&(0,i.tZ)(r.Box,{width:"100%",height:"120px"},"add_skeleton")]}))}),[tL]),lf=(0,a.useCallback)(e=>{if(tF&&_){let[t,l]=(0,p.Uo)(tF,_,e,"",eg,eh,!0,ef,eG);tI({...tF,page:e}),lu(t,!1,!1,!1,e)}},[tF,_,tv,tx,tL,er]),lx=(0,a.useCallback)((e,t)=>{if(!eX&&tF&&e&&_){let e=((null==et?void 0:et.page)||1)-1+Math.ceil((t>1?t-1:t)/u.Lt);if(tv.length>0&&U&&(null==U?void 0:U.length)>0&&(e=((null==et?void 0:et.page)||1)-1+Math.ceil((tv.length+t-1)/u.Lt)),e<=((null==tF?void 0:tF.page)||1)){tZ(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})}}}},[tF,_,t8,eX,z(),tw,tZ]),lm=(0,a.useCallback)(()=>tF&&tr>0?(0,i.tZ)(r.Flex,{css:te(tr),children:(0,i.tZ)(eM.Z,{onClick:lf,loading:ts,currentCount:tv.length+tx.length,totalCount:tr,activeFilters:tF,maxPageLimit:tb})}):null,[tF,ts,tu,tr,tb,tL]),lb=(0,a.useCallback)(()=>0!==tv.length||0!==tx.length?(0,i.BX)(i.HY,{children:[tu&&lv(),!tu&&el&&void 0!==ei&&ed&&ec&&tF&&(0,i.tZ)(L,{mapRef:to,pool:tL,setExpandedMarker:tM,setShowOverlay:th,locationName:null==_?void 0:_.LocationName,facilityListItems:tv,providerMap:el,totalNights:ei,accTypeMap:ed,featuredFacilitiesMap:tW,pageSlug:ec,loading:ts,setId:tA,onShowDate:lZ,setPhoneNumber:tY,setShowPhoneModal:tR,setShowCertificateModal:tG,activeFilters:tF,setCallData:tV,hasTheme:ev,isPaidUrl:eh,catalogType:Y.H.Facility,limitIsInViewport:lx,isGoogleBot:eX})]}):tL||tu?lv():tF?(0,i.tZ)(W.Z,{activeFilters:tF,setActiveFilters:ld,setShowDate:tz,setDateIndex:tH,resultName:ti}):null,[tF,tv,ld,el,ei,ed,ec,to,tL,ti,ts,tu,t8,tW]),ly=(0,a.useCallback)(()=>tx.length>0&&el&&ed&&ec&&void 0!==ei&&tF?(0,i.tZ)(V,{mapRef:to,pool:tL,setExpandedMarker:tM,setShowOverlay:th,title:ti,locationName:null==_?void 0:_.LocationName,locationTree:null==_?void 0:_.LocationTree,facilityListItems:tx,providerMap:el,totalNights:ei,accTypeMap:ed,featuredFacilitiesMap:tW,pageSlug:ec,loading:ts,setId:tA,setPhoneNumber:tY,setShowPhoneModal:tR,setShowCertificateModal:tG,setCallData:tV,onShowDate:lZ,listTypeId:Y.H.Facility,isAboveData:0===tv.length,activeFilters:tF,isPaidUrl:eh,limitIsInViewport:lx,isGoogleBot:eX}):null,[tF,tx,el,ei,ed,ec,to,ti,tW]),lw=(0,a.useRef)(null),lZ=(0,a.useCallback)(()=>{var e;(null==lw?void 0:null===(e=lw.current)||void 0===e?void 0:e.onDateOpen)&&lw.current.onDateOpen(!0)},[]);(0,a.useEffect)(()=>{(0,v.AB)((0,h.n4)((0,f.bP)(null==es?void 0:es.query,!1,ef),_,tF))},[]);let lC=(0,a.useCallback)(()=>(0,i.tZ)(r.Flex,{css:e9,children:(0,i.BX)(r.Flex,{css:e8,children:[(0,i.tZ)(A.Z,{title:(null==_?void 0:_.ShortTitle)||(null==_?void 0:_.ShortName)||"",totalCount:tr||0,isAboveData:0===tv.length,locationName:(null==_?void 0:_.LocationName)||(null==_?void 0:_.ShortName),catalogType:Y.H.Facility}),(!tL||!tu)&&tv.length+tx.length>0&&t0?(0,i.tZ)(r.Flex,{justifyContent:"flex-end",children:(0,i.tZ)(E.Z,{activeFilters:tF,onFilterChange:lr,catalogType:Y.H.Facility,hasTheme:ev})}):(0,i.tZ)(i.HY,{})]})}),[tF,tr,tL,tu,t0]),lS=(0,a.useCallback)(()=>{let e=(0,eB.Bb)(t$);t$&&tI(e)},[tF,t$]);return(0,i.BX)(i.HY,{children:[(0,i.tZ)(c.Z,{title:"".concat(null==_?void 0:_.MetaTitle).concat(tw>=2?" - Sayfa ".concat(tw):""),metaTitle:"".concat(null==_?void 0:_.MetaTitle).concat(tw>=2?" - Sayfa ".concat(tw):""),metaDescription:"".concat(null==_?void 0:_.MetaDescription).concat(tw>=2?" - Sayfa ".concat(tw):""),noIndex:!(null==_?void 0:_.MetaRobots),forceIndex:!(eQ&&0===tT),breadcrumb:eo,analyticsInput:(0,v.PV)((0,f.bP)(null==es?void 0:es.query,!1,ef),_,tF,"otel"),hotelSchemas:ep,faq:en,disableScrollRestoration:!0,imagesToPreload:tC,isGoogleBot:eX,isPaginationPage:!0,prevPageNumber:tw>1?tw-1:0,nextPageNumber:tw<(tb||1)?tw+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:e2,show:tX,children:(0,i.tZ)(y.Z,{accTypeMap:ed,callData:tj,providerMap:el,id:tE,isNearBy:!!(null==U?void 0:U.find(e=>e.objectId===tE)),onClose:ll,phoneNumber:tQ,page:"listeleme",showMapOverlay:tg})}),(0,i.tZ)(b.Z,{containerStyle:e2,show:tU,children:(0,i.tZ)(N.Z,{onClose:li})}),(0,i.BX)(s.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:R}),et&&tF&&_&&eu&&(null==_?void 0:_.IsShowSearchBox)&&(0,i.tZ)(I.Z,{isSticky:le,initialQueryData:et,initialData:_,title:ti,item:k,activeFilters:tF,showDate:t_,setShowDate:tz,dateIndex:tO,setDateIndex:tH,resolvedUrl:eu,activeTab:J.S.Facility,dateRef:lw,defaultParams:ef,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:e4,children:[tv.length>0&&eq&&_&&tF&&t0&&(0,i.tZ)(e$,{mapRef:to,getMapRef:tn,initialData:_,expandedMarker:tP,setExpandedMarker:tM,showOverlay:tg,setShowOverlay:th,locationName:ti,activeFilters:tF,setActiveFilters:tI,accTypeMap:ed||{},providerMap:el||{},handlePhoneModalOpen:lt,setPhoneNumber:tY,pool:"",totalNights:ei||0,featuredFacilitiesMap:tW,pageSlug:ec,setId:tA,setShowPhoneModal:tR,setShowCertificateModal:tG,filterData:eq,onClickPagination:lf,initialFacilities:tv,setCallData:tV,hasTheme:ev,campaign:eg,isPaidUrl:eh,onFacilityListChange:tf,totalFacilityCount:tr,onShowDate:lZ,catalogType:Y.H.Facility,isGoogleBot:eX,openInMapOptions:tS,onFilterChange:lr,handleCancelFilter:lS}),_&&tF&&eq&&lh,_&&(0,i.tZ)(q.default,{externalCss:e6,id:"div-gpt-ad-1615282693867-0"})]}),(0,i.BX)(r.Box,{width:[1,1,1,1],css:e7,children:[lC(),ta.length>0&&(null==tF?void 0:tF.page)===1&&(0,i.tZ)(e5,{pageSlug:ec||"",tags:ta}),lb(),ly(),lm(),(0,i.BX)(r.Box,{width:[1,1,1,1],children:[((null==_?void 0:_.CatalogListProperties)&&(null==_?void 0:_.CatalogListProperties.length)>0||tr>0||(null==tv?void 0:null===(w=tv.concat(tx)[0])||void 0===w?void 0:w.name))&&(null==tF?void 0:tF.page)===1&&(0,i.tZ)(eC.Z,{locationName:ti,properties:null==_?void 0:_.CatalogListProperties,totalCount:tr,popularFacility:null==tv?void 0:null===(Z=tv.concat(tx)[0])||void 0===Z?void 0:Z.name,catalogType:Y.H.Facility}),eY&&(null==eY?void 0:eY.length)>0&&(null==tF?void 0:tF.page)===1&&(0,i.tZ)(eA,{locationName:null==_?void 0:_.LocationName,subLocationList:eY}),ey&&(null==tF?void 0:tF.page)===1&&(0,i.tZ)($.Z,{items:ey,title:"".concat(null==_?void 0:_.LocationName," B\xf6lgesini Keşfet"),isDiscoverWidget:!0}),eT&&(null==tF?void 0:tF.page)===1&&(0,i.tZ)(K.Z,{items:eT,title:"".concat(null==_?void 0:_.LocationName," Şehir Rehberi")}),e_&&(null==tF?void 0:tF.page)===1&&(0,i.tZ)($.Z,{items:e_,title:"".concat(null==_?void 0:_.LocationName," Konaklama Se\xe7enekleri"),isDiscoverWidget:!1}),eO&&eO.length>0&&(null==tF?void 0:tF.page)===1&&(0,i.tZ)(ew,{items:eO,title:"".concat(ti," İle İlgili Son Yorumlar")}),(null==_?void 0:_.CatalogListProperties)&&(null==_?void 0:_.CatalogListProperties.length)>0&&(null==tF?void 0:tF.page)===1&&(0,i.tZ)(eS.Z,{locationName:null==_?void 0:_.LocationName,properties:null==_?void 0:_.CatalogListProperties}),ez&&(null==ez?void 0:ez.data)&&(null==ez?void 0:null===(C=ez.data)||void 0===C?void 0:C.length)>0&&(null==tF?void 0:tF.page)===1&&(0,i.tZ)(ee.Z,{blogPosts:ez.data,title:"".concat(null==_?void 0:_.LocationName," Seyahat Yazıları")}),M&&(null==tF?void 0:tF.page)===1&&(0,i.tZ)(eZ.Z,{onClick:ln,locationName:"".concat(null==_?void 0:_.LocationName," B\xf6lgesindeki Villalar"),subLocation:M,catalogType:Y.H.Villa}),_&&(0,i.tZ)(m.Z,{hasPaging:((null==tF?void 0:tF.page)||1)>1,subLocation:P,wikiHtml:_.SeoContent,faq:null==_?void 0:_.FAQItems,locationName:ti,catalogType:Y.H.Facility,onClick:ln})]})]})]})]}),e.popularFacilityWidgetData&&e.popularFacilityWidgetData.length>0&&(0,i.tZ)(r.Box,{m:"10px 0px 10px 0px",children:(0,i.tZ)(ek.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)(eL.Z,{isShow:!0})]})]})}},18145:function(e,t,l){"use strict";function i(e,t){return!!e.find(e=>(null==e?void 0:e.objectId)===t)}function a(e,t){return e.find(e=>(null==e?void 0:e.objectId)===t)}l.d(t,{Sq:function(){return o},cb:function(){return i},xJ:function(){return a}});let o={1:{widthOfFacilityCard:330,widthOfFacilityCardTablet:232,heightOfFacilityCard:0,heightOfFacilityCardTablet:0,basePixel:151,widthOfPopover:230,basePixelTablet:66,paddingOfContainerRight:15,paddingOfContainerBottom:0},2:{widthOfFacilityCard:475,widthOfFacilityCardTablet:450,heightOfFacilityCard:0,heightOfFacilityCardTablet:0,widthOfPopover:230,basePixel:295,basePixelTablet:295,paddingOfContainerRight:25,paddingOfContainerBottom:0},horizontalCardShift:(e,t,l,i,a,n,r)=>{if(a){let e=(null==r?void 0:r.current)&&parseInt(getComputedStyle(r.current).width);return void 0===n?{result:153,flatRight:!1,cardWidth:e-2}:{result:153+120*n-48,flatRight:!0,cardWidth:e-10}}let d=o[e].paddingOfContainerRight+(l?o[e].basePixelTablet:o[e].basePixel)+t*(l?o[e].widthOfFacilityCardTablet:o[e].widthOfFacilityCard),s=d+o[e].widthOfPopover>i;return{result:s?d-64:d,flatRight:s,cardWidth:0}}}}},function(e){e.O(0,[9476,615,4473,7285,2613,5232,5025,5554,4052,4935,131,2888,9774,179],function(){return e(e.s=64991)}),_N_E=e.O()}]);