"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4052],{70661:function(e,t,i){var n=i(35944),o=i(67294),l=i(66455),r=i(18108),a=i(33463),s=i(22149),c=i(34665),d=i(70917);t.Z=(0,o.memo)(function(e){let{content:t,title:i,externalWrapperCss:d,externalItemCss:Z,externalTitleCss:k,appendContent:y}=e,[C,B]=(0,o.useState)(0),L=(0,o.useCallback)(e=>{if(C===e)return B(-1);B(e)},[C]),H=(0,o.useMemo)(()=>{var e;return(0,n.BX)(n.HY,{children:[" ",null==t?void 0:t.map((e,t)=>(e.title||e.Question||e.question)&&(e.content||e.Answer||e.answer)&&(0,n.BX)("article",{css:[g,Z],onClick:()=>L(t),children:[(0,n.BX)(l.Flex,{justifyContent:"space-between",alignItems:"center",children:[(0,n.tZ)("div",{css:[x,k],children:e.title||e.Question||e.question})," ",(0,n.tZ)(r.Z,{fill:c.wL.black,size:"35px",css:u(C===t&&m)})]}),(0,n.tZ)(a.Z,{css:[b,C===t?v:f,w],fontSize:[12,12,12,14],lineHeight:"21px",pt:"6px",dangerouslySetInnerHTML:{__html:e.content||e.Answer||e.answer},suppressHydrationWarning:!0})]},t)),y&&(null===(e=y.content)||void 0===e?void 0:e.length)>0&&(0,n.BX)("article",{css:g,onClick:()=>L(t.length+1),children:[(0,n.BX)(l.Flex,{justifyContent:"space-between",alignItems:"center",children:[(0,n.tZ)("div",{css:x,children:y.title})," ",(0,n.tZ)(r.Z,{fill:c.wL.black,size:"35px",css:u(C===t.length+1&&m)})]}),(0,n.tZ)(l.Box,{css:[b,C===t.length+1?v:f],children:(0,n.tZ)("ul",{children:y.content.map((e,t)=>(0,n.tZ)("li",{children:(0,n.tZ)("span",{children:null==e?void 0:e.amenityDefaultName})},t))})})]},t.length+1)]})},[t,C]);return(0,n.BX)(s.Z,{externalCss:[p,d],children:[(0,n.tZ)("h2",{css:h,children:i}),H]})});let u=e=>(0,d.iv)("flex-shrink:0;transition:all 0.3s ease-in-out;transform:rotate(",e?-90:90,"deg);"),p=(0,d.iv)("background-color:",c.wL.white,";padding:25px;",c._Q.tablet,"{padding:25px 20px;}border:solid 1px ",c.wL.veryLightPink2,";"),h=(0,d.iv)("font-size:24px;margin:0 0 15px 0;",c._Q.tablet,"{font-size:18px;margin:0;}"),x=(0,d.iv)("font-size:16px;line-height:17px;font-weight:600;margin:0;",c._Q.tablet,"{font-size:12px;line-height:1.42;}"),g=(0,d.iv)("cursor:pointer;border-bottom:0.7px solid ",c.wL.veryLightPink2,";padding:13px 0;",c._Q.tablet,"{padding:7px 0;}&:last-child{border-bottom:none;}"),v=(0,d.iv)("max-height:auto;opacity:1;"),f=(0,d.iv)("max-height:0px;opacity:0;"),m=(0,d.iv)("transform:translate(-50%,-50%) rotate(180deg) !important;"),b=(0,d.iv)("transition:all 0.3s ease-in-out;overflow:hidden;"),w=(0,d.iv)("a{color:#000;font-weight:bolder;}")},97478:function(e,t,i){var n=i(35944),o=i(67294),l=i(70917),r=i(13507),a=i(26146),s=i(34665),c=i(96044),d=i(44843),u=i(57404),p=i(68032),h=i(66455),x=i(1092);let g=(0,l.iv)("font-size:12px;color:",s.wL.greyCounterWhite,";margin-top:0;margin-bottom:8px;text-align:center;"),v=(0,l.iv)("padding:12px 15px 13px 15px;border-radius:4px;border:solid 0.7px ",s.wL.blue3,";text-align:center;div{font-size:13px;}");t.Z=e=>{let{onClick:t,loading:i,currentCount:l,totalCount:f,catalogType:m=a.H.Facility,activeFilters:b,maxPageLimit:w}=e,Z=(null==b?void 0:b.page)||1,k=f>r.L,[y,C]=(0,o.useState)(Z),B=(0,o.useRef)(null),L=(0,u.jU)()&&(0,p.R)(B,void 0,!k||i),[H,z]=(0,o.useState)(!1);(0,o.useEffect)(()=>{L&&!H&&((0,x.AB)((0,x.Am)()),z(!0))},[L,H]);let M=(0,o.useMemo)(()=>{switch(m){case a.H.Villa:return{counter:"villadan",button:"Villa"};case a.H.Poi:return{counter:"mekandan",button:"Mekan"};default:return{counter:"otelden",button:"Otel"}}},[m]);return((0,o.useEffect)(()=>{y!==Z&&t(y)},[y]),(0,o.useEffect)(()=>{b&&C(Z)},["".concat(null==b?void 0:b.filters)]),f>0)?(0,n.tZ)("div",{children:i?(0,n.tZ)(d.Z,{}):(0,n.BX)(n.HY,{children:[(0,n.BX)("p",{css:g,children:[f," ",M.counter," ",l," tanesi g\xf6steriliyor"]}),k&&(0,n.tZ)(h.Box,{ref:B,children:(0,n.tZ)(c.Z,{buttonCss:v,onClick:()=>{C(e=>++e),(0,x.AB)((0,x.q)(y+1,m))},label:"Daha Fazla ".concat(M.button," G\xf6r"),disabled:y>=(w||0),color:s.wL.blue3,bgColor:"white"})})]})}):(0,n.tZ)(n.HY,{})}},3205:function(e,t,i){var n=i(35944),o=i(70917),l=i(67294),r=i(4284),a=i(18108);t.Z=function(e){let{seeMoreText:t,seeLessText:i,expanded:o,setExpanded:c,externalCss:d}=e,u=l.useMemo(()=>null!=t?t:"Daha fazla g\xf6r",[t]),p=l.useMemo(()=>null!=i?i:"Daha az g\xf6r",[i]),h=(0,l.useCallback)(()=>{c(!o)},[o]);return(0,n.BX)(r.Z,{asButton:!0,onClick:h,externalCss:d,title:o?p:u,children:[o?p:u,(0,n.tZ)(a.Z,{css:s(o)})]})};let s=e=>(0,o.iv)("transform:",e?"rotate(-90deg)":"rotate(90deg)",";")},63297:function(e,t,i){var n=i(35944),o=i(67294),l=i(70917),r=i(34665),a=i(66455),s=i(3205);let c=(0,l.iv)("position:relative;"),d=(e,t,i)=>(0,l.iv)("font-size:15px;line-height:21px;margin-bottom:9px;overflow:hidden;max-height:",t?"auto":e,"px;text-align:justify;font-weight:400;position:relative;max-height:",!i&&"max-content",";& a{color:",r.wL.remoteBlueLink,";text-decoration:none;background-color:initial;}.seocontent-img{width:auto;height:auto;float:left;margin:0px 15px 0px 0px;padding-bottom:5px;clear:both;}.seocontent-img img{border-radius:4px;width:auto;height:180px;float:left;margin:0px 15px 0px 0px;clear:both;}h2{font-size:24px;font-weight:600;clear:both;",r._Q.tablet,"{font-size:18px;}}.seocontent-section > h3:first-of-type{clear:both;}@media (min-width:1124px){.seocontent-section > h3:first-of-type{padding-top:10px;}}"),u=(0,l.iv)("display:block;height:auto;max-height:none;&::before{display:none;}"),p=e=>(0,l.iv)("width:100%;height:50%;bottom:0;position:absolute;background:linear-gradient(0deg,rgba(255,255,255,0.85) 35%,rgba(255,255,255,0) 100%);",e?"":"display: none;");t.Z=o.memo(function(e){let{html:t,externalCss:i,maxHeight:l,children:r,seeMoreText:h,seeLessText:x,scrollBack:g,scrollBackOffset:v,notSeeMoreLessLink:f}=e,[m,b]=(0,o.useState)(0),[w,Z]=(0,o.useState)(!1),[k,y]=(0,o.useState)(!1),C=o.useMemo(()=>l||260,[l]),B=(0,o.useRef)(null),L=(0,o.useRef)(null);(0,o.useEffect)(()=>{y(!0)},[]);let H=(0,o.useCallback)(e=>{if(g&&!e){var t;let e=null===(t=L.current)||void 0===t?void 0:t.offsetTop;void 0!==e&&window.scroll({top:e+(v||0),left:0,behavior:void 0})}Z(e)},[]);(0,o.useEffect)(()=>{var e;B.current&&b(null===(e=B.current)||void 0===e?void 0:e.scrollHeight)},[B,k]);let z=o.useMemo(()=>m>=C&&(0,n.tZ)(s.Z,{expanded:w,setExpanded:H,seeMoreText:h,seeLessText:x}),[C,m,w]);return(0,n.BX)(n.HY,{children:[(0,n.BX)(a.Box,{css:c,ref:L,suppressHydrationWarning:!0,children:[r?(0,n.tZ)(a.Box,{css:[d(C,w,!f),i,w&&u],ref:B,suppressHydrationWarning:!0,children:r}):(0,n.tZ)(a.Box,{css:[d(C,w,!f),i,w&&u],ref:B,suppressHydrationWarning:!0,children:k?(0,n.tZ)("div",{dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):(0,n.tZ)("div",{suppressHydrationWarning:!0})}),!f&&(0,n.tZ)(a.Box,{css:p(!w&&m>=C),suppressHydrationWarning:!0})]}),!f&&z]})})},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),s=i(33463),c=i(94746),d=i(20492),u=i(4188),p=i(39144),h=i(78707),x=i(69767),g=i(1092),v=i(26146);let f=(0,r.iv)("position:relative;"),m=(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);"),w=(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;}"),Z=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:C,hasTheme:B}=e,L=(0,o.useMemo)(()=>{let t=[];return e.catalogType===v.H.Facility?(t=d.Mh,B&&(t=d.fy)):t=e.catalogType===v.H.Villa?d.H1:d.Fi,t},[C]),[H,z]=(0,o.useState)((null===(t=e.activeFilters)||void 0===t?void 0:t.sort)||(L.length>0?L[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(L.find(t=>{var i;return t.value===(null===(i=e.activeFilters)||void 0===i?void 0:i.sort)}))},[]);let[M,_]=(0,o.useState)(!1),P=o.useRef(null);(0,u.H)(P,()=>_(!1));let X=(0,o.useMemo)(()=>L.map((e,t)=>{let i=!H&&0===t||e.id===(null==H?void 0:H.id);return(0,n.BX)(l.Flex,{css:k,justifyContent:"space-between",onClick:()=>F(e),children:[(0,n.tZ)(s.Z,{externalCss:Z(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,H]),F=(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,g.AB)((0,g.yi)(null==e?void 0:e.value)),a&&a(!0),r(n),z(e),_(!1)},[i,r]),S=(0,o.useCallback)(()=>{_(!0)},[i,r]);return(0,n.BX)(l.Box,{css:f,children:[(0,n.tZ)(p.Z,{show:M,externalCss:w,children:X}),(0,n.BX)(l.Flex,{css:m,ref:P,onClick:S,children:[(0,n.tZ)(s.Z,{fontSize:[12,12,12,14],children:null==H?void 0:H.name}),(0,n.tZ)(l.Flex,{css:b(M),children:(0,n.tZ)(c.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;}"),s=(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:c,locationName:d}=e,u=(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."):c?"".concat(d," 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:s(l==r.H.Facility,c),children:u})]})})},31950:function(e,t,i){i.d(t,{c:function(){return n}});let n=["utm_source","utm_campaign","utm_medium"]}}]);