"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9505],{82463:function(e,t,i){var n=i(35944),o=i(67294),l=i(66455),r=i(70917),a=i(34665),c=i(22149),d=i(65586),s=i(43331);let p=(0,r.iv)("padding:15px 15px;overflow:hidden;",a._Q.tablet,"{padding:0;}"),u=(0,r.iv)("margin-bottom:25px;",a._Q.tablet,"{font-size:18px;}"),h=(0,r.iv)("background-color:",a.wL.white,";",a._Q.tablet,"{padding:15px;}");t.Z=(0,o.memo)(function(e){let{facilitiesOfWeek:t,providerMap:i,disableCenter:r,location:x,page:v,providerWidget:g,handleOnExit:m,handleOnPhoneCall:f,handleOnClickProvider:b,defaultParams:Z,cardType:w=1}=e,k=(0,o.useRef)(null),[y]=(0,o.useState)([]),[L,B]=(0,o.useState)(t),[z]=(0,o.useState)("FACILITIES_OF_WEEK");return(0,o.useEffect)(()=>{B([...t])},[t]),(0,n.tZ)(l.Box,{css:[a.o4,h],children:(0,n.BX)(c.Z,{mt:"10px",ref:k,externalCss:[!r&&a.z1,p],children:[(0,n.tZ)(d.Z,{fontSize:26,fontWeight:600,externalCss:u,content:"".concat(x||"Lokasyon"," Otelleri")}),(0,n.tZ)(s.Z,{facilities:"FACILITIES_OF_WEEK"===z?L:y,providerMap:i,location:x||"",isNearBy:!1,page:v||"",providerWidget:g,handleOnExit:m,handleOnPhoneCall:f,handleOnClickProvider:b,defaultParams:Z,cardType:w})]})})})},97711:function(e,t,i){var n=i(35944),o=i(66455),l=i(70917),r=i(34665),a=i(18108),c=i(78707),d=i(4284),s=i(5793),p=i(69767),u=i(5152);let h=i.n(u)()(()=>Promise.all([i.e(2072),i.e(9774),i.e(9269),i.e(2542)]).then(i.bind(i,52542)),{loadableGenerated:{webpack:()=>[52542]},ssr:!1}),x=e=>(0,l.iv)("border-radius:4px;overflow:hidden;cursor:pointer;",e&&"text-align:center;"," background-color:",r.wL.white,";"),v=e=>(0,l.iv)("min-width:332px;width:",e?"100%":"332px",";height:112px;position:relative;",r._Q.tablet,"{width:100%;}");t.Z=function(e){let{onClick:t,fullWidth:i,hasLocationPin:l,centered:u,bordered:g,isGoogleBot:m,openInMapOptions:f,poiListItems:b}=e;return(0,n.BX)(o.Box,{css:[x(u),g&&r.zp],onClick:t,children:[(0,n.tZ)(o.Box,{css:v(i),children:m?(0,n.tZ)(c.h,{src:"".concat(p.kq,"map-preview.jpg"),alt:"\xd6rnek Harita G\xf6rseli",layout:"fill",objectFit:"cover"}):(0,n.tZ)(h,{mapProps:{lat:(null==f?void 0:f.lat)||38.9573415,lng:(null==f?void 0:f.lng)||35.240741,zoom:(null==f?void 0:f.zoom)||5},listItem:b})}),(0,n.tZ)(o.Flex,{alignItems:"center",justifyContent:u&&"center",mt:"16px",pb:"11px",children:l?(0,n.BX)(n.HY,{children:[" ",(0,n.tZ)(s.Z,{})," Haritayı G\xf6r\xfcnt\xfcle"," "]}):(0,n.BX)(n.HY,{children:[(0,n.tZ)(d.Z,{asButton:!0,children:"Haritada g\xf6r"}),(0,n.tZ)(a.Z,{})]})})]})}},24516:function(e,t,i){var n=i(35944),o=i(70917),l=i(66455),r=i(67294),a=i(34665);let c=(0,o.iv)("background-color:",a.wL.white,";padding:15px;max-width:450px;max-height:452px;overflow-y:scroll;border:solid 1px ",a.wL.veryLightPink2,";height:163px;h1,h2,h3,h4,h5,h6{color:",a.wL.black,";margin:0 0 5px 0;}li:first-of-type,li:first-of-type,ul{margin-top:10px;}&::-webkit-scrollbar{width:10px;}&::-webkit-scrollbar-thumb{border-radius:7.5px;background-color:",a.wL.veryLightPink2,";}& a{color:",a.wL.remoteBlueLink,";text-decoration:none;background-color:initial;}",a._Q.tablet,"{max-width:100%;max-height:225px;margin:25px 0 0 0;}"),d=(0,o.iv)("font-size:12px;line-height:18px;color:",a.wL.brownGrey3,";");t.Z=function(e){let[t,i]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{i(!0)},[]),(0,n.tZ)(l.Box,{ml:"31px",css:[c,e.externalCss],suppressHydrationWarning:!0,children:(0,n.tZ)("div",{css:d,suppressHydrationWarning:!0,children:t?(0,n.tZ)("div",{dangerouslySetInnerHTML:{__html:e.content},suppressHydrationWarning:!0}):(0,n.tZ)("div",{suppressHydrationWarning:!0})})})}},97478:function(e,t,i){var n=i(35944),o=i(67294),l=i(70917),r=i(13507),a=i(26146),c=i(34665),d=i(96044),s=i(44843),p=i(57404),u=i(68032),h=i(66455),x=i(1092);let v=(0,l.iv)("font-size:12px;color:",c.wL.greyCounterWhite,";margin-top:0;margin-bottom:8px;text-align:center;"),g=(0,l.iv)("padding:12px 15px 13px 15px;border-radius:4px;border:solid 0.7px ",c.wL.blue3,";text-align:center;div{font-size:13px;}");t.Z=e=>{let{onClick:t,loading:i,currentCount:l,totalCount:m,catalogType:f=a.H.Facility,activeFilters:b,maxPageLimit:Z}=e,w=(null==b?void 0:b.page)||1,k=m>r.L,[y,L]=(0,o.useState)(w),B=(0,o.useRef)(null),z=(0,p.jU)()&&(0,u.R)(B,void 0,!k||i),[C,_]=(0,o.useState)(!1);(0,o.useEffect)(()=>{z&&!C&&((0,x.AB)((0,x.Am)()),_(!0))},[z,C]);let H=(0,o.useMemo)(()=>{switch(f){case a.H.Villa:return{counter:"villadan",button:"Villa"};case a.H.Poi:return{counter:"mekandan",button:"Mekan"};default:return{counter:"otelden",button:"Otel"}}},[f]);return((0,o.useEffect)(()=>{y!==w&&t(y)},[y]),(0,o.useEffect)(()=>{b&&L(w)},["".concat(null==b?void 0:b.filters)]),m>0)?(0,n.tZ)("div",{children:i?(0,n.tZ)(s.Z,{}):(0,n.BX)(n.HY,{children:[(0,n.BX)("p",{css:v,children:[m," ",H.counter," ",l," tanesi g\xf6steriliyor"]}),k&&(0,n.tZ)(h.Box,{ref:B,children:(0,n.tZ)(d.Z,{buttonCss:g,onClick:()=>{L(e=>++e),(0,x.AB)((0,x.q)(y+1,f))},label:"Daha Fazla ".concat(H.button," G\xf6r"),disabled:y>=(Z||0),color:c.wL.blue3,bgColor:"white"})})]})}):(0,n.tZ)(n.HY,{})}},54178:function(e,t,i){var n=i(35944);i(67294);var o=i(66455),l=i(33463),r=i(34665);t.Z=function(e){let{rating:t,color:i,fontSize:a}=e,c=Math.floor(t);return(0,n.BX)(o.Flex,{children:[(0,n.tZ)(l.Z,{fontSize:null!=a?a:18,color:null!=i?i:r.wL.blue3,bold:!0,children:"₺ ".repeat(c)}),(0,n.tZ)(l.Z,{fontSize:null!=a?a:18,color:null!=i?i:r.wL.blue3,bold:!0,ml:"5px",style:{opacity:.3},children:"₺ ".repeat(5-c)})]})}},14014:function(e,t,i){var n=i(35944),o=i(70917),l=i(34665);let r={small:[16,8,22],normal:[12,20,22],lg:[22,11,19.5]},a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal",[i,n,a]=r[t];return(0,o.iv)("padding:",n,"px ",i,"px;background-color:",l.wL.white,";border-radius:",a,"px;border:solid 1px ",e?l.wL.black:l.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:",l.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:i,size:o,externalCss:l,...r}=e;return(0,n.tZ)("div",{css:[a(i,o),l],datatext:t,title:t,...r,children:t})}},81819:function(e,t,i){var n=i(35944),o=i(67294),l=i(70917),r=i(97126),a=i(14014),c=i(86549),d=i(1092);let s=(0,l.iv)("padding:8px 15px;&:not(:last-child){margin-right:8px;}"),p=(0,l.iv)("padding:0 15px 0 0;&::-webkit-scrollbar{display:none;}");t.Z=(0,o.memo)(function(e){let{items:t,onChange:i,hasRedirect:l,externalCss:u,activeItemName:h,isPoiListing:x}=e,[v,g]=(0,o.useState)(h||""),m=(0,o.useMemo)(()=>l?t.map((e,t)=>{let{name:o,ref:l}=e;return(0,n.tZ)(c.Z,{href:"/".concat(l),title:o,onClick:()=>{i&&i(l),x&&(0,d.AB)((0,d.IO)(o))},children:(0,n.tZ)(a.Z,{active:o===v,externalCss:s,children:o},t)},t)}):t.map((e,t)=>{let{name:o,ref:l}=e;return(0,n.tZ)(a.Z,{active:o===v,onClick:()=>{x&&(0,d.AB)((0,d.IO)(o)),g(o),i&&i(l)},externalCss:s,children:o},t)}),[t,v]);return(0,n.tZ)(r.Z,{css:[p,u],hideScrollLine:!0,noWrap:!0,children:m})})},65107:function(e,t,i){i.d(t,{Z:function(){return H}});var n=i(35944),o=i(67294),l=i(8882),r=i(22149),a=i(34665),c=i(66455),d=i(70917),s=i(1205),p=i(33463),u=i(27484),h=i.n(u),x=i(78707),v=i(30337),g=i(69767),m=i(86549),f=i(63297),b=function(e){let{comment:t,externalCss:i,pageUrlSpecification:o,...l}=e,r=(0,v.i)().width<=a.Op;return(0,n.BX)(c.Flex,{css:[Z,i],...l,children:[(0,n.BX)(c.Flex,{flexDirection:"column",css:[w,z],width:.2,children:[(0,n.BX)(p.Z,{weight:"bold",size:16,mb:"8px",children:[t.rating,"/5 ",t.ratingText]}),(0,n.BX)(c.Flex,{children:[(0,n.tZ)(x.h,{src:"".concat(g.kq,"logoicon-sm.svg"),width:14,height:15,layout:"fixed",alt:"Neredekal Değerlendirme"}),(0,n.tZ)(s.Z,{rating:t.rating,width:14,height:14})]}),(0,n.tZ)(p.Z,{fontSize:14,color:a.wL.brownGrey2,externalCss:L,weight:400,children:h()(t.date).format("DD.MM.YYYY")}),(0,n.tZ)(p.Z,{size:"14",weight:"normal",children:null==t?void 0:t.userName})]}),(0,n.BX)(c.Box,{css:k,width:.8,children:[(0,n.BX)(c.Box,{mb:"14px",css:B,children:[(0,n.tZ)(m.Z,{fontSize:14,href:"/".concat(t.slug,"-").concat(o),title:t.catalogName,children:(0,n.BX)(p.Z,{mb:"10px",children:[t.catalogName," i\xe7in yapılan yorum"]})}),(0,n.tZ)(p.Z,{dangerouslySetInnerHTML:{__html:t.title},suppressHydrationWarning:!0}),(0,n.tZ)(f.Z,{html:t.comment,maxHeight:r?54:void 0,externalCss:C})]}),t.reply&&(0,n.BX)(c.Box,{css:y,children:[(0,n.tZ)(p.Z,{mt:1,size:14,weight:600,children:"Tesis Cevabı"}),(0,n.tZ)(p.Z,{mt:"6px",weight:400,size:14,children:t.reply})]})]})]})};let Z=(0,d.iv)("width:auto;font-size:12px;font-weight:bold;border-radius:4px;padding:25px 24px 25px 25px;&:not(:last-child){margin-bottom:15px;border-bottom:1px solid ",a.wL.veryLightPink2,";}",a._Q.tablet,"{display:block;padding:0;&:not(:last-child){margin-bottom:8px;}}"),w=(0,d.iv)("font-size:16px;font-weight:bold;padding-bottom:5px;",a._Q.tablet,"{width:100%;}"),k=(0,d.iv)("margin-left:50px;font-size:14px;",a._Q.tablet,"{margin-left:0;width:100%;}"),y=(0,d.iv)("padding-top:14px;border-top:solid 0.7px ",a.wL.veryLightPink2,";"),L=(0,d.iv)("margin-top:2px;",a._Q.tablet,"{margin-top:8px;font-size:12px;}"),B=(0,d.iv)("font-size:12px;"),z=(0,d.iv)(a._Q.tablet,"{font-size:14px;}"),C=(0,d.iv)("margin-top:6px;font-size:12px;",a._Q.tablet,"{margin-top:5px;max-height:54px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;}");var _=i(27734),H=(0,o.memo)(function(e){let{comment:t,title:i,pageSlug:d,pageUrlSpecification:s,listParams:u}=e,[h,x]=(0,o.useState)((null==t?void 0:t.comments)||[]),[v,g]=(0,o.useState)(1),m=(0,o.useMemo)(()=>Math.ceil(((null==t?void 0:t.count)||0)/5),[null==t?void 0:t.comments]);(0,o.useEffect)(()=>{v>1&&(0,l.og)({...u,slug:d,skip:(v-1)*5+5,take:5},!1).then(e=>{var t,i,n,o;x(h?[...h,...null!==(n=null===(t=e.body)||void 0===t?void 0:t.comments)&&void 0!==n?n:[]]:[...null!==(o=null===(i=e.body)||void 0===i?void 0:i.comments)&&void 0!==o?o:[]])})},[v]);let f=(0,o.useMemo)(()=>vZ(),children:["Daha fazla yorum g\xf6r"," ",(0,n.tZ)(c.Flex,{css:X,children:(0,n.tZ)(_.Z,{})})]}):"",[v]),Z=(0,o.useCallback)(()=>{g(v+1)},[v]);return(0,n.BX)(r.Z,{mt:"15px",externalCss:[a.o4,a.zp,P],children:[(0,n.BX)(p.Z,{size:22,weight:"bold",children:[i," ","İ\xe7in Yapılan Yorumlar"]}),(0,n.tZ)(c.Box,{css:S,children:h.map((e,t)=>(0,n.tZ)(b,{comment:e,pageUrlSpecification:s},t))}),f]})});let P=(0,d.iv)("padding:25px;",a._Q.tablet,"{padding:20px;}"),S=(0,d.iv)("margin-top:15px;border-top:1px solid ",a.wL.veryLightPink2,";"),M=(0,d.iv)("cursor:pointer;align-items:center;font-size:13px;color:",a.wL.blue3,";&:hover{text-decoration:underline;}"),X=(0,d.iv)("align-items:center;&:hover{cursor:pointer;}")},75321:function(e,t,i){var n=i(35944),o=i(67294),l=i(70917),r=i(22149),a=i(34665),c=i(63297);let d=(0,l.iv)("margin:0;font-size:24px;font-weight:bold;"),s=(0,l.iv)('position:relative;margin-top:12px;line-height:1.42;letter-spacing:0.43px;&::before{content:"";width:100%;height:45px;position:absolute;bottom:0;display:block;}');t.Z=(0,o.memo)(function(e){let{title:t,externalCss:i,content:o}=e;return(0,n.BX)(r.Z,{css:[a.o4,i],children:[(0,n.tZ)("h2",{css:d,children:t}),(0,n.tZ)(c.Z,{html:o,externalCss:s,notSeeMoreLessLink:!0})]})})},33088:function(e,t,i){var n=i(35944),o=i(67294),l=i(34665),r=i(70917),a=i(56757),c=i(3205),d=i(57404);let s=(0,r.iv)("font-size:24px;font-weight:600;margin:0 0 20px 0;",l._Q.tablet,"{font-size:18px;margin:0 0 15px 0;}"),p=(0,r.iv)("margin-top:9px;"),u=(0,r.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:",l.wL.paleGrey,";color:",l.wL.black,";",l._Q.tablet,"{font-size:12px;}&:hover{color:",l.wL.blue3,";}}");t.Z=o.memo(function(e){var t,i;let[l,r]=(0,o.useState)(!1),h=o.useMemo(()=>(0,n.tZ)(c.Z,{expanded:l,setExpanded:r,externalCss:p}),[l]),{subLocation:x,locationName:v,onClick:g}=e;if(!(null==x?void 0:null===(i=x.data)||void 0===i?void 0:null===(t=i.collection)||void 0===t?void 0:t.length))return null;let m=(0,o.useMemo)(()=>{var e,t;let i=null==x?void 0:null===(t=x.data)||void 0===t?void 0:null===(e=t.collection)||void 0===e?void 0:e.sort((e,t)=>e.sort-t.sort),o=(0,a.By)(i);return null==o?void 0:o.map((e,t)=>(0,n.tZ)("span",{children:null==e?void 0:e.map((e,t)=>{let i=e.slug.replace(/\/?$/,"/");return(0,n.tZ)("a",{onClick:g,href:"/".concat(i),title:e.name,children:e.name},t)})},t))},[x,g]);return(0,n.BX)("div",{css:u,children:[(0,n.BX)("h2",{css:s,children:[(0,d.fm)(null!=v?v:"")||"Tesis"," Alt B\xf6lgeleri"]}),l?m:m[0],h]})},()=>!0)},62031:function(e,t,i){var n,o;i.d(t,{V:function(){return n}}),(o=n||(n={}))[o.MaxPageCount=50]="MaxPageCount",o[o.VillaMaxPageCount=50]="VillaMaxPageCount",o[o.PoiMaxPageCount=50]="PoiMaxPageCount"},9104:function(e,t,i){var n=i(35944),o=i(67294),l=i(66455),r=i(70917),a=i(34665),c=i(33463),d=i(94746),s=i(20492),p=i(4188),u=i(39144),h=i(78707),x=i(69767),v=i(1092),g=i(26146);let m=(0,r.iv)("position:relative;"),f=(0,r.iv)("cursor:pointer;width:250px;padding:15px;object-fit:contain;border-radius:4px;border:solid 1px ",a.wL.veryLightPink2,";background-color:",a.wL.white,";",a._Q.tablet,"{width:231px;padding:10px;}"),b=e=>(0,r.iv)("position:absolute;right:15px;z-index:1;transition:all 0.3s ease-in-out;transform:rotate(",e?180:0,"deg);"),Z=(0,r.iv)("line-height:2.5;top:48px;border-radius:4px;box-shadow:0 2px 5px 0 rgba(0,0,0,0.14);border:solid 0.7px ",a.wL.veryLightPink2,";background-color:",a.wL.white,";",a._Q.tablet,"{top:36px;}"),w=e=>(0,r.iv)("color:",e?a.wL.blue3:a.wL.fontColor,";"),k=(0,r.iv)("cursor:pointer;padding:6px 15px;border-bottom:solid 0.7px ",a.wL.veryLightPink2,";",a._Q.tablet,"{padding:3px 15px;}&:last-child{border-bottom:none;}&:hover{background-color:",a.wL.veryLightPink2,";}"),y=(0,r.iv)("width:18px;height:18px;",a._Q.tablet,"{margin-top:-3px;}");t.Z=o.memo(function(e){var t;let{activeFilters:i,onFilterChange:r,filterChanged:a,catalogType:L,hasTheme:B}=e,z=(0,o.useMemo)(()=>{let t=[];return e.catalogType===g.H.Facility?(t=s.Mh,B&&(t=s.fy)):t=e.catalogType===g.H.Villa?s.H1:s.Fi,t},[L]),[C,_]=(0,o.useState)((null===(t=e.activeFilters)||void 0===t?void 0:t.sort)||(z.length>0?z[0]:null));if(!i)return null;(0,o.useEffect)(()=>{var t;(null===(t=e.activeFilters)||void 0===t?void 0:t.sort)&&"string"==typeof e.activeFilters.sort&&_(z.find(t=>{var i;return t.value===(null===(i=e.activeFilters)||void 0===i?void 0:i.sort)}))},[]);let[H,P]=(0,o.useState)(!1),S=o.useRef(null);(0,p.H)(S,()=>P(!1));let M=(0,o.useMemo)(()=>z.map((e,t)=>{let i=!C&&0===t||e.id===(null==C?void 0:C.id);return(0,n.BX)(l.Flex,{css:k,justifyContent:"space-between",onClick:()=>X(e),children:[(0,n.tZ)(c.Z,{externalCss:w(i),fontSize:[12,12,12,14],children:e.name}),i&&(0,n.tZ)(l.Box,{alignItems:"center",css:y,children:(0,n.tZ)(h.h,{src:"".concat(x.kq,"check.svg"),width:18,height:18})})]},e.id)}),[i,C]),X=(0,o.useCallback)(e=>{var t;let n={...i};n.sort&&(null===(t=n.sort)||void 0===t?void 0:t.id)===e.id?n.sort=void 0:n.sort=e,(0,v.AB)((0,v.yi)(null==e?void 0:e.value)),a&&a(!0),r(n),_(e),P(!1)},[i,r]),F=(0,o.useCallback)(()=>{P(!0)},[i,r]);return(0,n.BX)(l.Box,{css:m,children:[(0,n.tZ)(u.Z,{show:H,externalCss:Z,children:M}),(0,n.BX)(l.Flex,{css:f,ref:S,onClick:F,children:[(0,n.tZ)(c.Z,{fontSize:[12,12,12,14],children:null==C?void 0:C.name}),(0,n.tZ)(l.Flex,{css:b(H),children:(0,n.tZ)(d.Z,{})})]})]})})},47311:function(e,t,i){var n=i(35944),o=i(67294),l=i(70917),r=i(26146);let a=(0,l.iv)("font-size:28px;margin:0;font-weight:500;@media (max-width:1200px){font-size:19px;}"),c=(e,t)=>(0,l.iv)("display:block;margin-top:7px;font-size:20px;font-weight:",e&&t?"bold !important":"normal",";@media (max-width:1200px){font-size:12px;margin-left:0;}",!e&&"margin-left:0",";");t.Z=o.memo(function(e){let{title:t,totalCount:i,catalogType:l,isAboveData:d,locationName:s}=e,p=(0,o.useMemo)(()=>{var e,n,o;return l==r.H.Poi?"".concat(null==t?void 0:null===(e=t.split(" "))||void 0===e?void 0:e[0]," civarında g\xf6r\xfclmesi gereken ").concat(i," yer."):l==r.H.Place?"".concat(null==t?void 0:null===(n=t.split(" "))||void 0===n?void 0:n[0]," civarında gidilebilecek ").concat(i," mekan."):l==r.H.Attraction?"".concat(null==t?void 0:null===(o=t.split(" "))||void 0===o?void 0:o[0]," civarında yapılacak ").concat(i," aktivite."):l==r.H.Villa?"".concat(i," villa listelendi."):d?"".concat(s," yakınında ").concat(i," tesis listelendi."):"".concat(i," tesis listelendi.")},[t,i,l]);return(0,n.BX)("div",{children:[(0,n.tZ)("h1",{css:a,children:t}),(0,n.tZ)("span",{css:c(l==r.H.Facility,d),children:p})]})})},31950:function(e,t,i){i.d(t,{c:function(){return n}});let n=["utm_source","utm_campaign","utm_medium"]}}]);