"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5554],{35109:function(t,e,i){var l=i(35944),n=i(70917),o=i(66455),r=i(34665),a=i(94746),d=i(67294);let s=(0,n.iv)("position:relative;border:0.7px solid ",r.wL.veryLightPink2,";background-color:",r.wL.white,";display:flex;align-items:center;border-radius:4px;"),c=(t,e,i)=>(0,n.iv)("border:0.7px solid\n ",void 0===t?i?r.wL.blue3:r.wL.brownGrey:e?r.wL.algaeGreen:r.wL.scarlet,";"),p=t=>(0,n.iv)("color:",void 0===t?r.wL.brownGrey:r.wL.black,";"),h=(0,n.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:",r.wL.black,";font-size:12px;letter-spacing:0.5px;",r.I8,";"),x=(0,n.iv)("position:absolute;right:7px;z-index:1;");e.Z=function(t){let{placeholder:e,options:i,onSelect:n,defaultValue:r,customWrapper:u,customSelectInput:v,customSelectIcon:b,customOptionCss:g,allowSelectablePlaceholder:f,required:m,isValid:w,...Z}=t,[k,B]=(0,d.useState)(!1);return(0,l.BX)(o.Box,{css:[s,m&&c(t.value,w,k),u],children:[(0,l.BX)("select",{css:[h,m&&p(t.value),v],defaultValue:r||"placeholder",onChange:n,onFocus:t=>B(!0),onBlur:t=>B(!1),...Z,children:[e&&(0,l.tZ)("option",{value:"placeholder",disabled:!f,children:e}),i.length>0&&i.map((t,e)=>{let{Label:i,Value:n,Disabled:o}=t;return(0,l.tZ)("option",{value:n,disabled:o,css:g,children:i},e)})]}),(0,l.tZ)(o.Flex,{css:[x,b],children:(0,l.tZ)(a.Z,{})})]})}},14014:function(t,e,i){var l=i(35944),n=i(70917),o=i(34665);let r={small:[16,8,22],normal:[12,20,22],lg:[22,11,19.5]},a=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal",[i,l,a]=r[e];return(0,n.iv)("padding:",l,"px ",i,"px;background-color:",o.wL.white,";border-radius:",a,"px;border:solid 1px ",t?o.wL.black:o.wL.veryLightPink2,";font-weight:",t?"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;}}")};e.Z=function(t){let{children:e,active:i,size:n,externalCss:o,...r}=t;return(0,l.tZ)("div",{css:[a(i,n),o],datatext:e,title:e,...r,children:e})}},77727:function(t,e,i){i.d(e,{MS:function(){return l},NX:function(){return n},R:function(){return o},WC:function(){return r}});let l="Otele Giriş Tarihi Se\xe7in",n="Otelden \xc7ıkış Tarihi Se\xe7in",o="Villaya Giriş Tarihi Se\xe7in",r="Villadan \xc7ıkış Tarihi Se\xe7in"},2685:function(t,e,i){i.d(e,{t0:function(){return n},tE:function(){return l}});let l=8,n="https://cdn1.neredekal.com/res/blog/1671121070_kamp7-2jpg.jpeg"},95554:function(t,e,i){i.d(e,{IB:function(){return tt},_l:function(){return K},qh:function(){return tE},z8:function(){return e5},gB:function(){return eo},iR:function(){return tf},b3:function(){return ev}});var l=i(35944),n=i(67294),o=i(70917),r=i(66455),a=i(34665),d=i(33463),s=i(86549),c=i(24881),p=i(31696),h=i(1092);let x=(0,o.iv)("border-radius:4px;&:hover{box-shadow:0 1px 10px 0 rgba(0,0,0,0.23);}"),u=(0,o.iv)(a._Q.tablet,"{left:12px;bottom:11px;}"),v=(0,o.iv)(a._Q.tablet,"{font-size:9px;padding-bottom:5px;}"),b=(0,o.iv)(a._Q.tablet,"{font-size:12px;}"),g=(0,o.iv)("font-size:24px;",a._Q.tablet,"{font-size:14px;}");var f=(0,n.memo)(function(t){let{url:e,category:i,title:n,image:o,externalCss:r,topItem:f,width:m,height:w,externalWrapperCss:Z}=t;return(0,l.tZ)(s.Z,{href:e,onClick:()=>{(0,h.AB)((0,h.iZ)("sizin i\xe7in hazırladıklarımız",n))},externalCss:Z,title:n,children:(0,l.BX)(c.Zb,{externalCss:[x,r],children:[(0,l.BX)(c.aY,{externalCss:u,left:"25px",bottom:"20px",children:[(0,l.tZ)(d.Z,{size:12,color:a.wL.white,bold:!0,pb:"8px",externalCss:v,children:i?i.toLocaleUpperCase("TR"):"Blog"}),(0,l.tZ)(d.Z,{size:18,color:a.wL.white,bold:!0,pr:"5px",externalCss:f?g:b,children:n})]}),(0,l.tZ)(c.Gl,{src:(0,p.Ee)(o,f?1:2),width:m,height:w,alt:n}),(0,l.tZ)(c.$$,{})]})})}),m=i(2685),w=i(69767);let Z=(0,o.iv)("width:100%;max-width:777px;",a._Q.tablet,"{max-width:391px;}"),k=(0,o.iv)("width:100%;height:433px;",a._Q.tablet,"{height:218px;}"),B=(0,o.iv)("width:100%;height:213px;",a._Q.tablet,"{width:190px;height:107px;}"),C=(0,o.iv)(a._Q.tablet,"{margin-top:12px;}"),y=(0,o.iv)("width:49%;");var _=function(t){var e,i,o,a,d,s,c,p,h,x,u,v,b,g,_,L,Q;let{items:z}=t;if(!z||0===z.length)return null;let S=(0,n.useMemo)(()=>(0,l.tZ)(r.Flex,{justifyContent:"space-between",mt:"25px",css:C,children:z.slice(1,3).map((t,e)=>{var i,n,o,r,a,d,s,c,p,h,x,u;return(0,l.tZ)(f,{width:"390px",height:"213px",externalCss:B,url:(null==t?void 0:null===(i=t.attributes)||void 0===i?void 0:i.canonicalUrl)||"".concat(w.Ey,"/blog/").concat(null==t?void 0:null===(n=t.attributes)||void 0===n?void 0:n.slug),category:null==t?void 0:null===(d=t.attributes)||void 0===d?void 0:null===(a=d.category)||void 0===a?void 0:null===(r=a.data)||void 0===r?void 0:null===(o=r.attributes)||void 0===o?void 0:o.name,title:null==t?void 0:null===(s=t.attributes)||void 0===s?void 0:s.title,image:(null==t?void 0:null===(u=t.attributes)||void 0===u?void 0:null===(x=u.media)||void 0===x?void 0:null===(h=x.data)||void 0===h?void 0:null===(p=h[0])||void 0===p?void 0:null===(c=p.attributes)||void 0===c?void 0:c.url)||m.t0,externalWrapperCss:y},e)})}),[z]);return(0,l.BX)(r.Box,{css:Z,children:[(0,l.tZ)(f,{topItem:!0,width:"866px",height:"433px",externalCss:k,url:(null===(i=z[0])||void 0===i?void 0:null===(e=i.attributes)||void 0===e?void 0:e.canonicalUrl)||"".concat(w.Ey,"/blog/").concat(null===(a=z[0])||void 0===a?void 0:null===(o=a.attributes)||void 0===o?void 0:o.slug),category:null===(h=z[0])||void 0===h?void 0:null===(p=h.attributes)||void 0===p?void 0:null===(c=p.category)||void 0===c?void 0:null===(s=c.data)||void 0===s?void 0:null===(d=s.attributes)||void 0===d?void 0:d.name,title:null===(u=z[0])||void 0===u?void 0:null===(x=u.attributes)||void 0===x?void 0:x.title,image:(null===(Q=z[0])||void 0===Q?void 0:null===(L=Q.attributes)||void 0===L?void 0:null===(_=L.media)||void 0===_?void 0:null===(g=_.data)||void 0===g?void 0:null===(b=g[0])||void 0===b?void 0:null===(v=b.attributes)||void 0===v?void 0:v.url)||m.t0}),S]})};let L=(0,o.iv)("margin-left:25px;",a._Q.tablet,"{margin-left:12px;}"),Q=(0,o.iv)("&:hover{color:",a.wL.blue3,";}"),z=(0,o.iv)("width:267px;height:149px;border-radius:4px;flex-shrink:0;",a._Q.tablet,"{width:133px;height:75px;}"),S=(0,o.iv)(a._Q.tablet,"{font-size:9px;padding-bottom:5px;}"),I=(0,o.iv)(a._Q.tablet,"{font-size:11px;}"),A=(0,o.iv)("padding-left:15px;",a._Q.tablet,"{padding-left:10px;}"),E=(0,o.iv)("&:hover{text-decoration:none;.blog-item-image-wrapper{box-shadow:0 2px 10px 0 rgba(0,0,0,0.23);}.blog-item-main-title{color:",a.wL.blue3," !important;}}");var F=function(t){let{items:e}=t;if(!e||0===e.length)return null;let i=t=>e=>{(0,h.AB)((0,h.iZ)("sizin i\xe7in hazırladıklarımız",t))},o=(0,n.useMemo)(()=>(0,l.BX)(r.Flex,{justifyContent:"space-between",flexDirection:"column",css:L,children:[" ",e.map((t,e)=>{var n,o,h,x,u,v,b,g,f,Z,k,B,C,y,_,L;return(0,l.tZ)(s.Z,{href:(null==t?void 0:null===(n=t.attributes)||void 0===n?void 0:n.canonicalUrl)||"".concat(w.Ey,"/blog/").concat(null==t?void 0:null===(o=t.attributes)||void 0===o?void 0:o.slug),externalCss:E,title:null==t?void 0:null===(h=t.attributes)||void 0===h?void 0:h.title,onClick:i(null==t?void 0:null===(x=t.attributes)||void 0===x?void 0:x.title),children:(0,l.BX)(r.Flex,{children:[(0,l.tZ)(c.Zb,{externalCss:z,className:"blog-item-image-wrapper",children:(0,l.tZ)(c.Gl,{src:(0,p.Ee)(null==t?void 0:null===(f=t.attributes)||void 0===f?void 0:null===(g=f.media)||void 0===g?void 0:null===(b=g.data)||void 0===b?void 0:null===(v=b[0])||void 0===v?void 0:null===(u=v.attributes)||void 0===u?void 0:u.url,3)||m.t0,externalCss:z,width:"267px",height:"149px",alt:null==t?void 0:null===(Z=t.attributes)||void 0===Z?void 0:Z.title})}),(0,l.BX)(r.Box,{css:A,children:[(0,l.tZ)(d.Z,{size:12,color:a.wL.brownGrey,bold:!0,pb:"8px",externalCss:S,children:null==t?void 0:null===(_=t.attributes)||void 0===_?void 0:null===(y=_.category)||void 0===y?void 0:null===(C=y.data)||void 0===C?void 0:null===(B=C.attributes)||void 0===B?void 0:null===(k=B.name)||void 0===k?void 0:k.toLocaleUpperCase("TR")}),(0,l.tZ)(d.Z,{size:18,externalCss:[Q,I],bold:!0,className:"blog-item-main-title",children:null==t?void 0:null===(L=t.attributes)||void 0===L?void 0:L.title})]})]})},e)})]}),[e]);return(0,l.tZ)(l.HY,{children:o})},X=i(22149),P=i(4284),H=i(68032),R=i(57404);let T=(0,o.iv)("padding:25px 15px;",a._Q.tablet,"{padding:20px 38px;}"),j=(0,o.iv)("margin:15px 0 30px 0;padding:0px;background-color:",a.wL.paleGrey,";",a._Q.tablet,"{margin:10px 0 20px 0;padding:0px;}"),D=(0,o.iv)(a._Q.tablet,"{font-size:18px;}"),O=(0,o.iv)(a._Q.tablet,"{font-size:13px;}"),U=(0,o.iv)(a._Q.tablet,"{padding-top:15px;}");var K=(0,n.memo)(function(t){let{blogPosts:e}=t;if(!e||0===e.length)return null;let i=e.slice(3,7),[o,s]=(0,n.useState)(!1),c=(0,n.useRef)(null),p=(0,R.jU)()&&(0,H.R)(c);return(0,n.useEffect)(()=>{p&&!o&&((0,h.AB)((0,h.RK)("sizin i\xe7in hazırladıklarımız")),s(!0))},[p,o]),(0,l.tZ)(X.Z,{ref:c,externalCss:[a.o4,j],children:(0,l.BX)(r.Box,{css:[a.z1,T],children:[(0,l.BX)(r.Flex,{justifyContent:"space-between",children:[(0,l.tZ)(d.Z,{weight:600,size:26,css:D,children:"Sizin İ\xe7in Hazırladıklarımız"}),(0,l.tZ)(P.Z,{href:"".concat(w.Ey,"/blog/"),externalCss:O})]}),(0,l.BX)(r.Flex,{pt:"20px",css:U,children:[(0,l.tZ)(_,{items:e}),(0,l.tZ)(F,{items:i})]})]})})},()=>!0),W=i(56757),N=i(30337);let G=(0,o.iv)("width:100%;padding:0;margin:0;li{list-style:none;margin-bottom:12px;a{font-size:14px;color:black;text-decoration:none;",a._Q.tablet,"{font-size:11px;}&:hover{color:",a.wL.blue3,";font-weight:600;}}}");var M=function(t){let{locations:e,handleOnClickPushEvent:i}=t,o=(0,N.i)().width<=a.Op?e.length/4:e.length/6,d=(0,W.By)(e,Math.ceil(o)),c=(0,n.useMemo)(()=>(0,l.tZ)(l.HY,{children:d.map((t,e)=>(0,l.tZ)("ul",{css:G,children:t.map((t,e)=>(0,l.tZ)("li",{children:(0,l.tZ)(s.Z,{href:"/".concat((null==t?void 0:t.url)||(null==t?void 0:t.slug)),title:(null==t?void 0:t.title)||(null==t?void 0:t.name),onClick:()=>i((null==t?void 0:t.title)||(null==t?void 0:t.name)),children:(null==t?void 0:t.title)||(null==t?void 0:t.name)})},e))},e))}),[d]);return(0,l.tZ)(r.Flex,{children:c})},V=i(62209);let Y=(0,o.iv)("padding-top:25px;padding-bottom:25px;",a._Q.tablet,"{padding:0;}"),$=(0,o.iv)("font-size:26px;font-weight:600;margin:0;",a._Q.tablet,"{font-size:18px;}"),q=(0,o.iv)("border-bottom:1px solid ",a.wL.veryLightPink2,";border-top:1px solid ",a.wL.veryLightPink2,";",a._Q.tablet,"{border:0;}"),J=(0,o.iv)("padding-top:25px;margin-bottom:-12px;",a._Q.tablet,"{margin-bottom:0;}");var tt=(0,n.memo)(function(t){let{title:e,featuredLocations:i,isFacilityListing:o}=t,[d,s]=(0,n.useState)(!1),c=(0,n.useRef)(null),p=(0,R.jU)()&&(0,H.R)(c);return(0,n.useEffect)(()=>{p&&!d&&((0,h.AB)((0,h.RK)((null==e?void 0:e.toLowerCase())||"")),s(!0))},[p,d]),(0,l.tZ)(r.Box,{css:[a.o4,q],ref:c,children:(0,l.BX)(X.Z,{mt:"15px",externalCss:[a.z1,Y],children:[(0,l.tZ)("h3",{css:$,children:e}),(0,l.tZ)(r.Box,{children:(0,l.tZ)(r.Box,{pt:"35px",css:J,children:(0,l.tZ)(M,{locations:i,handleOnClickPushEvent:t=>{o?(0,h.AB)((0,V.WK)(e||"",t)):(0,h.AB)((0,h.iZ)(e||"",t))}})})})]})})});i(63297),a._Q.tablet,a.wL.white,a.wL.veryLightPink2,a._Q.tablet;var te=i(10615),ti=i(18108);let tl=(0,o.iv)("position:absolute;z-index:2;height:100%;padding:30px;cursor:pointer;"),tn=(0,o.iv)("position:absolute;z-index:2;top:calc(50% - 48px);width:48px;height:48px;border-radius:100%;cursor:pointer;background-color:",a.wL.white,";text-align:center;",a._Q.tablet,"{width:30px;height:30px;top:calc(50% - 30px);}"),to=(0,o.iv)("top:0;right:0;"),tr=t=>(0,o.iv)("right:",null!=t?t:12,"px;"),ta=t=>(0,o.iv)("left:",null!=t?t:12,"px;transform:rotate(180deg);");var td=n.memo(function(t){let{onClick:e,title:i,position:n,distance:o}=t,d="left"===n,s=d?ta(o):tr(o),c=(0,N.i)();return(0,l.tZ)(r.Box,{onClick:e,css:[tl,!d&&to],children:(0,l.tZ)(r.Flex,{justifyContent:"center",alignItems:"center",type:"button",title:i,onClick:e,css:[tn,s],children:(0,l.tZ)(ti.Z,{fill:a.wL.black,size:c.width!0),ts=i(78707);let tc=(0,o.iv)("content-visibility:auto;"),tp=(0,o.iv)("content-visibility:auto;font-size:20px;font-weight:600;text-align:left;text-decoration:none;",a._Q.tablet,"{font-size:14px;}"),th=(0,o.iv)("border:0.5px solid ",a.wL.veryLightPink2,";border-radius:4px;");var tx=n.memo(function(t){let{item:e,index:i,onClick:o}=t,a=0===i,d=(0,n.useCallback)(()=>{(0,h.AB)((0,h.iZ)("slider",e.title)),o(i)},[i,o]);return(0,n.useCallback)(()=>e.slug?(0,l.BX)(s.Z,{onClick:d,href:e.slug||"",css:tc,disableDecoration:!0,title:e.title,children:[(0,l.tZ)(r.Box,{css:th,children:(0,l.tZ)(ts.h,{width:328,height:182,src:(0,p.HB)({src:e.imageUrl,width:656}),layout:"responsive",placeholder:"empty",loader:p.HB,priority:a,alt:"Banner ".concat(i+1," : ").concat(e.title)})}),(0,l.tZ)(r.Box,{p:"17px 12px 33px 12px",css:tp,children:e.title})]}):(0,l.BX)(l.HY,{children:[(0,l.tZ)(r.Box,{css:th,children:(0,l.tZ)(ts.h,{width:328,height:182,src:(0,p.HB)({src:e.imageUrl,width:656}),layout:"responsive",placeholder:"empty",loader:p.HB,priority:a,alt:"Banner ".concat(i+1," : ").concat(e.title)})}),(0,l.tZ)(r.Box,{p:"10px 12px 33px 12px",css:tp,children:e.title})]}),[])()},()=>!0);let tu=(0,o.iv)("width:100%;max-width:800px;"),tv=(0,o.iv)("max-width:800px;position:relative;margin:0 15px 15px 15px;background-color:",a.wL.white,";border-radius:4px;padding:0;.carousel .control-dots{margin:0;bottom:15px;}",a._Q.tablet,"{padding:20px 30px 20px 0px;padding-right:30px;margin:0;.carousel .control-dots{margin:10px 0;bottom:0;}}"),tb=(0,o.iv)("background-color:",a.wL.veryLightPink2,";width:12px;height:12px;border-radius:100%;display:inline-block;margin:0 2px;",a._Q.tablet,"{width:9px;height:9px;}"),tg=(0,o.iv)("background-color:",a.wL.blue3,";");var tf=n.memo(function(t){let{sliderItem:e}=t,[i,o]=(0,n.useState)(function(t){var e;let i={};return null==t||null===(e=t.banners)||void 0===e||e.forEach((t,e)=>{i[e]=!1}),i}(e)),[a,d]=(0,n.useState)(!1),s=(0,n.useRef)(null),c=(0,R.jU)()&&(0,H.R)(s);(0,n.useEffect)(()=>{c&&!a&&((0,h.AB)((0,h.RK)("slider")),d(!0))},[c,a]),(0,n.useEffect)(()=>{if(c&&!i["0"]){(0,h.AB)((0,V.Bk)(e.banners[0],1,"view"));let t={...i};t["0"]=!0,o(t)}},[c,e,i]);let p=(0,n.useCallback)(t=>{if(c&&!i[t]){(0,h.AB)((0,V.Bk)(null==e?void 0:e.banners[t],t+1,"view"));let l={...i};l[t]=!0,o(l)}},[c,e,i]),x=(0,n.useCallback)(t=>{(0,h.AB)((0,V.Bk)(null==e?void 0:e.banners[t],t+1,"click"))},[c,e]),u=(0,n.useMemo)(()=>{var t;return null==e?void 0:null===(t=e.banners)||void 0===t?void 0:t.map((t,e)=>(0,l.tZ)(tx,{onClick:x,item:t,index:e},e))},[e]),v=(0,n.useCallback)((t,e,i)=>e?(0,l.tZ)("li",{css:[tb,tg]}):(0,l.tZ)("li",{css:tb,onClick:t,onKeyDown:t,value:i,role:"button",tabIndex:0},i),[]);return(0,l.tZ)(r.Box,{ref:s,css:tu,children:(0,l.tZ)(te.lr,{swipeable:!0,emulateTouch:!0,showStatus:!1,interval:4e3,autoPlay:!1,onChange:p,infiniteLoop:!0,renderArrowPrev:(t,e,i)=>(0,l.tZ)(td,{onClick:t,title:i,position:"left",distance:12}),renderArrowNext:(t,e,i)=>(0,l.tZ)(td,{onClick:t,title:i,position:"right",distance:12}),renderIndicator:v,showIndicators:!1,showThumbs:!1,css:tv,children:u})})}),tm=i(27625);let tw=(0,o.iv)("width:100%;"),tZ=(0,o.iv)("border-radius:4px;flex-shrink:0;",a._Q.tablet,"{width:165px;height:92px;}"),tk=(0,o.iv)("display:flex;overflow:visible;padding:20px 0px 17px 25px;",a._Q.tablet,"{padding:0px 0px 0px 12px;}"),tB=(0,o.iv)("display:flex;flex-direction:column;justify-content:flex-start;margin:0;padding:0;&:not(:first-of-type){padding-left:50px;}li{list-style:none;&:not(:first-of-type){margin-top:12px;}}"),tC=(0,o.iv)("font-size:16px;font-weight:500;display:flex;flex-direction:column;&:hover{text-decoration:none;color:",a.wL.blue3,";font-weight:600;}&::after{content:attr(datatext);height:0;visibility:hidden;overflow:hidden;user-select:none;pointer-events:none;font-weight:600;@media speech{display:none;}}",a._Q.tablet,"{font-size:12px;}"),ty=(0,o.iv)(a._Q.tablet,"{font-size:18px;}");var t_=function(t){let{popularDestionation:e,colLength:i,...o}=t,{ImageId:p,CityName:x,CityUrl:u,Districts:v}=e,b=(0,n.useMemo)(()=>Array.isArray(v)?(0,W.By)(v.slice(0,4===i?8:6),i):[],[v,i]),g=t=>{(0,h.AB)((0,h.iZ)("pop\xfcler destinasyonlar",t||x))};return(0,l.BX)(r.Box,{...o,children:[(0,l.tZ)(c.Zb,{width:"212px",height:"118px",externalCss:tZ,children:(0,l.BX)(s.Z,{href:"/".concat(u),css:tw,title:x,onClick:()=>g(),children:[(0,l.tZ)(c.aY,{left:"50%",top:"50%",centered:!0,children:(0,l.tZ)(d.Z,{weight:600,fontSize:21,color:a.wL.white,externalCss:ty,children:x})}),(0,l.tZ)(c.Gl,{src:"".concat(w.Ik,"75/212x118/").concat(p),width:"212px",height:"118px",alt:x}),(0,l.tZ)(c.Q_,{})]})}),(0,l.tZ)(c.Zb,{width:"100%",height:"118px",externalCss:tk,children:b.map((t,e)=>(0,l.tZ)("ul",{css:tB,children:t.map(t=>{let{Id:e,Name:i,Url:n}=t;return(0,l.tZ)("li",{children:(0,l.tZ)(s.Z,{externalCss:tC,href:"/".concat(n),title:i,anchorProps:{datatext:i},onClick:()=>g(i),children:i})},e)})},e))})]})};let tL=(0,o.iv)("min-width:508px;height:168px;background-color:",a.wL.white,";display:inline-flex;flex-shrink:0;padding:25px 33px 25px 25px;border:0.5px solid ",a.wL.veryLightPink2,";border-radius:4px;&:not(:last-child){margin-right:25px;}&:hover{box-shadow:0 2px 10px 0 rgba(0,0,0,0.23);}",a._Q.tablet,"{min-width:363px;height:116px;padding:12px 20px 12px 12px;&:not(:last-child){margin-right:12px;}}"),tQ=(0,o.iv)("width:100%;",a._Q.tablet,"{padding-left:20px;}");var tz=function(t){let{popularDestinations:e}=t,[i,o]=(0,n.useState)(3);return(0,n.useEffect)(()=>{let t=()=>{document.body.clientWidth<=a.Eg.tablet?o(4):o(3)};return window.addEventListener("resize",t),t(),()=>{window.removeEventListener("resize",t)}},[]),(0,l.tZ)(r.Box,{css:tQ,children:(0,l.tZ)(tm.Z,{children:e.map(t=>(0,l.tZ)(t_,{popularDestionation:t,colLength:i,css:tL},t.Id))})})};let tS=(0,o.iv)("padding-top:25px;padding-bottom:25px;",a._Q.tablet,"{padding:0;}"),tI=(0,o.iv)(a._Q.tablet,"{padding-left:20px;font-size:18px;}"),tA=(0,o.iv)("border-bottom:1px solid ",a.wL.veryLightPink2,";border-top:1px solid ",a.wL.veryLightPink2,";",a._Q.tablet,"{padding:20px 0px 18px 38px;margin-left:-20px;}");var tE=(0,n.memo)(function(t){let{popularDestinations:e}=t,[i,o]=(0,n.useState)(!1),s=(0,n.useRef)(null),c=(0,R.jU)()&&(0,H.R)(s);return(0,n.useEffect)(()=>{c&&!i&&((0,h.AB)((0,h.RK)("pop\xfcler destinasyonlar")),o(!0))},[c,i]),(0,l.tZ)(r.Box,{css:[a.o4,tA],ref:s,children:(0,l.BX)(X.Z,{mt:"10px",css:[a.z1,tS],children:[(0,l.tZ)(d.Z,{weight:600,size:26,css:tI,children:"Pop\xfcler Destinasyonlar"}),(0,l.tZ)(r.Box,{pt:"20px",width:"100%",children:(0,l.tZ)(tz,{popularDestinations:e})})]})})},()=>!0);let tF=t=>(0,o.iv)("width:100%;",a._Q.tablet,"{height:298px;}@media (max-width:1441px){height:",t||"401px",";}"),tX=t=>(0,o.iv)("content-visibility:auto;display:block;height:",t||"100%",";@media (min-width:1441px){height:",t||"535px",";}");var tP=n.memo(function(t){let{item:e,index:i,onClick:o,height:a,isNonClickable:d}=t,c=0===i,x=(0,n.useCallback)(()=>{let t=(null==e?void 0:e.slug)||"",l=t.startsWith("http")?new URL(t).pathname:t;(0,h.AB)((0,h.iZ)("promo cta",l)),o(i)},[i,null==e?void 0:e.slug,o]);return(0,n.useCallback)(()=>e.slug?(0,l.tZ)(r.Box,{css:tF(a),children:(0,l.tZ)(s.Z,{onClick:x,href:d?"":e.slug||"",externalCss:tX(a),disableDecoration:!0,title:e.title,children:(0,l.tZ)(ts.h,{src:(0,p.KH)(e.imageUrl,1920,535),layout:"fill",placeholder:"empty",loader:p.HB,priority:c,alt:"Banner ".concat(i+1," : ").concat(e.title)})})}):(0,l.tZ)(r.Box,{css:tF(a),title:e.title,children:(0,l.tZ)(ts.h,{src:(0,p.KH)(e.imageUrl,1920,535),layout:"fill",placeholder:"empty",loader:p.HB,priority:c,alt:"Banner ".concat(i+1," : ").concat(e.title)})}),[])()},()=>!0);let tH=(0,o.iv)("position:relative;padding:0;"),tR=(0,o.iv)("background-color:",a.wL.veryLightPink2,";width:16px;height:16px;border-radius:100%;display:inline-block;margin:0 2px;",a._Q.tablet,"{width:9px;height:9px;}"),tT=(0,o.iv)("background-color:",a.wL.blue3,";");var tj=(0,n.memo)(function(t){let{sliderItem:e,height:i,isNonClickable:o}=t,[d,s]=(0,n.useState)(function(t){var e;let i={};return null==t||null===(e=t.banners)||void 0===e||e.forEach((t,e)=>{i[e]=!1}),i}(e)),c=(0,n.useRef)(null),p=(0,R.jU)()&&(0,H.R)(c);(0,n.useEffect)(()=>{if(p&&!d["0"]){(0,V.AB)((0,V.Bk)(e.banners[0],1,"view"));let t={...d};t["0"]=!0,s(t)}},[p,e,d]);let h=(0,n.useCallback)(t=>{if(p&&!d[t]){(0,V.AB)((0,V.Bk)(null==e?void 0:e.banners[t],t,"view"));let i={...d};i[t]=!0,s(i)}},[p,e,d]),x=(0,n.useCallback)(t=>{(0,V.AB)((0,V.Bk)(null==e?void 0:e.banners[t],t,"click"))},[p,e]),u=(0,n.useMemo)(()=>{var t;return null==e?void 0:null===(t=e.banners)||void 0===t?void 0:t.map((t,e)=>(0,l.tZ)(tP,{isNonClickable:o,onClick:o?()=>{}:x,item:t,index:e,height:i},e))},[e]),v=(0,n.useCallback)((t,e,i)=>e?(0,l.tZ)("li",{css:[tR,tT]}):(0,l.tZ)("li",{css:[tR,a.Rx],onClick:t,onKeyDown:t,value:i,role:"button",tabIndex:0},i),[]);return(0,l.tZ)(r.Box,{ref:c,children:(0,l.tZ)(te.lr,{swipeable:!0,emulateTouch:!0,showStatus:!1,interval:4e3,autoPlay:!1,onChange:h,infiniteLoop:!0,renderArrowPrev:(t,e,i)=>(0,l.tZ)(td,{onClick:t,title:i,position:"left",distance:15}),renderArrowNext:(t,e,i)=>(0,l.tZ)(td,{onClick:t,title:i,position:"right",distance:15}),renderIndicator:v,showIndicators:!1,showThumbs:!1,css:tH,children:u})})},()=>!0);let tD=t=>(0,o.iv)("width:100%;height:",t||"535px",";",a._Q.tablet,"{height:298px;}");var tO=(0,n.memo)(function(t){let{item:e,height:i,isNonClickable:o}=t;return(0,n.useCallback)(()=>(null==e?void 0:e.slug)?(0,l.tZ)(s.Z,{href:o?"#":(null==e?void 0:e.slug)||"",disableDecoration:!0,title:null==e?void 0:e.title,children:(0,l.tZ)(r.Box,{css:tD(i),children:(0,l.tZ)(ts.h,{src:(0,p.KH)(null==e?void 0:e.imageUrl,1920,535),layout:"fill",priority:!0,objectFit:"cover",loader:p.HB,alt:"Banner : ".concat(null==e?void 0:e.title)})})}):(0,l.tZ)(r.Box,{css:tD(i),title:null==e?void 0:e.title,children:(0,l.tZ)(ts.h,{src:(0,p.KH)(null==e?void 0:e.imageUrl,1920,535),layout:"fill",priority:!0,objectFit:"cover",loader:p.HB,alt:"Banner : ".concat(null==e?void 0:e.title)})}),[])()},()=>!0),tU=i(77727),tK=i(27484),tW=i.n(tK),tN=i(96044),tG=i(98094),tM=i(31897),tV=i(49855),tY=i(27616),t$=i(38068),tq=i(93065);let tJ=(0,o.iv)("left:50%;width:365px;line-height:16px;font-size:12px;margin:3px 0 0 -190px;",a._Q.tablet,"{width:244px;margin:3px 0 0 -122px;}");var t0=n.memo(function(t){let{show:e,preventCookie:i}=t,[o,r]=(0,n.useState)(e||!0);return(0,n.useEffect)(()=>{r(i?e:e||(0,tM.hk)(tq.SD))},[e,i]),o?(0,l.tZ)(t$.Z,{externalCss:tJ,children:"Aramaya başlamak i\xe7in l\xfctfen bir seyahat noktası girin."}):null});i(73035);let t1=t=>(0,o.iv)(t?"background-color: ".concat(a.wL.white,";\n border:none;\n padding: 8px 15px 4px 15px;\n z-index: 100;\n top: 0;\n box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);\n position: fixed;"):""),t2=(0,o.iv)("position:relative;width:100%;"),t5=(0,o.iv)("margin-left:12px;font-size:18px;font-weight:600;border-radius:4px;flex-shrink:0;height:auto !important;min-height:56px;button{height:100% !important;min-height:56px;}",a._Q.tablet,"{font-size:16px;min-height:48px;button{min-height:48px;}}"),t3=(0,o.iv)("border:solid 0.7px ",a.wL.veryLightPink2,';&[type="text"]{padding:0 40px 0 50px;',a._Q.tablet,"{padding:0 40px 0 40px;}}"),t4=t=>(0,o.iv)("display:",t?"block":"none",";height:217px;");a._Q.tablet;var t6=n.memo(function(t){let{item:e,initialSearchData:i,showDate:o,setShowDate:a,dateIndex:d,setDateIndex:s,isSticky:c,dateLabel:p,setDateLabel:x,activeTab:u,defaultParams:v,setDarkenedScreen:b,animated:g=!1}=t,[f,m]=(0,n.useState)(e),[w,Z]=(0,n.useState)("default"),[k,B]=(0,n.useState)((0,R.jU)()&&(0,tM.hk)(tq.SD)),[C,y]=(0,n.useState)(!1),[_,L]=(0,n.useState)(void 0),[Q,z]=(0,n.useState)(null==i?void 0:i.adults),[S,I]=(0,n.useState)(null==i?void 0:i.children);(0,n.useCallback)((t,e,i)=>{L(t),z(e),I(i)},[]);let A=(0,n.useCallback)((t,e,i)=>{m(e),i&&Z(i)},[]),E=(0,n.useCallback)(()=>{(0,tM.d8)(tq.SD,"false",365),B(!1)},[k]),F=(0,n.useCallback)(()=>{if(!f){B(!0),(0,h.AB)((0,h.eg)(_,Q,S,v,f));return}let t=_&&void 0!==_&&_[0]&&_[1]?_:[tW()(null==v?void 0:v.checkIn),tW()(null==v?void 0:v.checkOut)];(0,tY.pQ)(t,Q,S,f,void 0,u,v),(0,tY.vb)(t,Q,S),(0,h.AB)((0,h.rh)(t,Q,S,v,f,w)),(null==f?void 0:f.Name)&&(0,h.AB)((0,V.gN)(null==f?void 0:f.Name))},[_,Q,S,f,u]),X=(0,n.useCallback)(()=>{m(void 0)},[]);return(0,l.BX)(l.HY,{children:[(0,l.BX)(r.Flex,{width:"100%",alignItems:"stretch",css:t1(c),children:[(0,l.BX)(r.Box,{css:t2,flex:"1",children:[(0,l.tZ)(tG.Z,{onClickItem:A,externalInputCss:t3,onClickSearchInput:E,onClose:X,activeTab:u,showReverse:!1,isBlogSearch:!1,hideNearPlaces:u===tV.S.Villa,setDarkenedScreen:b,animated:g}),(0,l.tZ)(t0,{show:k})]}),(0,l.tZ)(tN.Z,{css:t5,onClick:F,label:"ARA",width:"140px"})]}),(0,l.tZ)(r.Box,{css:t4(c)})]})}),t8=i(73290);let t7=(0,o.iv)("position:relative;padding:0 !important;"),t9=t=>(0,o.iv)("max-width:500px;width:100%;position:absolute;left:50%;transform:translateX(-50%);z-index:",t?"900":"100",";",a._Q.tablet,"{max-width:400px;padding:12px;}"),et=(0,o.iv)("top:35px;",a._Q.tablet,"{top:15px;}"),ee=(0,o.iv)("top:50%;transform:translate(-50%,-50%);"),ei=(0,o.iv)("bottom:35px;",a._Q.tablet,"{bottom:15px;}"),el=t=>(0,o.iv)("width:120px;height:46px;display:inline-block;border-radius:4px;opacity:",t?.8:1,";button{background-color:",(t?a.wL.brownGrey5:a.wL.white)+" "," !important;border-bottom-left-radius:0;border-bottom-right-radius:0;font-size:16px;box-shadow:none;}div{color:",(t?"black":a.wL.blue3)+" ","!important;}",a._Q.tablet,"{button{font-size:12px;}}"),en=(0,o.iv)("padding:12px 15px 12px 15px;border-radius:4px;background-color:",a.wL.white,";border-top-left-radius:0;");var eo=(0,n.memo)(function(t){var e;let{searchSliderItems:i,initialSearchData:o,defaultParams:d,height:s,isNonClickable:c}=t,[p,h]=(0,n.useState)(!1),[x,u]=(0,n.useState)(0),[v,b]=(0,n.useState)(tU.MS),[g,f]=(0,n.useState)(tV.S.Facility),[m,w]=(0,n.useState)(!1),Z=null==i?void 0:null===(e=i.banners[0])||void 0===e?void 0:e.searchBarPosition,k=(0,n.useCallback)(()=>{var t;return(null==i?void 0:null===(t=i.banners)||void 0===t?void 0:t.length)?i.banners.length>1?(0,l.tZ)(tj,{isNonClickable:c,sliderItem:i,height:s}):(0,l.tZ)(tO,{isNonClickable:c,item:i.banners[0],height:s}):null},[i]),B=(0,n.useCallback)(t=>f(t),[]),C=t=>{t.stopPropagation()},y=(0,n.useCallback)(()=>(0,l.BX)(l.HY,{children:[(0,l.tZ)(tN.Z,{css:el(g!==tV.S.Facility),onClick:t=>{C(t),B(tV.S.Facility)},mb:"9px",label:"Oteller"}),(0,l.tZ)(tN.Z,{css:el(g!==tV.S.Villa),onClick:t=>{C(t),B(tV.S.Villa)},mb:"9px",ml:"8px",label:"Villalar"})]}),[g]);return(0,l.BX)(X.Z,{css:[t7,a.o4],children:[m&&(0,l.tZ)(t8.Z,{setDarkenedScreen:w,closeOnScroll:!0}),k(),(0,l.BX)(r.Box,{css:[t9(m),1===Z?et:2===Z?ee:ei],onClick:()=>{w(!1)},children:[y(),(0,l.tZ)(r.Box,{css:[t9,en],onClick:C,children:(0,l.tZ)(t6,{initialSearchData:o,showDate:p,setShowDate:h,dateIndex:x,setDateIndex:u,dateLabel:v,setDateLabel:b,activeTab:g,defaultParams:d,setDarkenedScreen:w,animated:!0})})]})]})});let er=(0,o.iv)("position:relative;width:190px;height:108px;border-radius:4px;overflow:hidden;flex-shrink:0;",a._Q.tablet,"{width:145px;height:79px;}"),ea=(0,o.iv)("display:inline-flex;flex-direction:column;flex-shrink:0;position:relative;&:not(:last-child){margin-right:30px;}",a._Q.tablet,"{&:not(:last-child){margin-right:12px;}}&:hover{text-decoration:none;color:",a.wL.blue3,";.themes-item-image-wrapper{box-shadow:0 2px 10px 0 rgba(0,0,0,0.23);}}"),ed=(0,o.iv)("font-size:15px;font-weight:600;letter-spacing:0.5px;padding-top:8px;",a._Q.tablet,"{font-size:13px;}");var es=function(t){let{themeItem:e}=t,{Id:i,Link:n,ImageId:o,Title:a}=e;return(0,l.BX)(s.Z,{href:"/tema/".concat(n,"/"),externalCss:ea,title:a,onClick:()=>{(0,h.AB)((0,h.iZ)("temalara g\xf6z atın",a))},children:[(0,l.tZ)(r.Box,{css:er,className:"themes-item-image-wrapper",children:(0,l.tZ)(ts.h,{src:"".concat(w.Ik,"75/190x108/").concat(o),layout:"fill",objectFit:"cover",alt:a})}),(0,l.tZ)(d.Z,{externalCss:ed,children:a})]},i)};let ec=(0,o.iv)("width:100%;",a._Q.tablet,"{padding-left:20px;}");var ep=function(t){let{themes:e}=t;return(0,l.tZ)(r.Box,{css:ec,children:(0,l.tZ)(tm.Z,{children:e.map((t,e)=>t.IsActive&&t.IsPublished?(0,l.tZ)(es,{themeItem:t},e):null)})})};let eh=(0,o.iv)("background:none;",a._Q.tablet,"{padding:20px 0px 18px 38px;margin-left:-20px;}"),ex=(0,o.iv)("padding-top:25px;padding-bottom:25px;",a._Q.tablet,"{padding:0;}"),eu=(0,o.iv)(a._Q.tablet,"{font-size:18px;padding-left:20px;}");var ev=(0,n.memo)(function(t){let{themes:e}=t,[i,o]=(0,n.useState)(!1),s=(0,n.useRef)(null),c=(0,R.jU)()&&(0,H.R)(s);return(0,n.useEffect)(()=>{c&&!i&&((0,h.AB)((0,h.RK)("temalara g\xf6z atın")),o(!0))},[c,i]),(0,l.tZ)(r.Box,{css:[a.o4,eh],ref:s,children:(0,l.BX)(X.Z,{mt:"10px",css:[a.z1,ex],children:[(0,l.tZ)(d.Z,{weight:600,size:26,css:eu,children:"Temalara G\xf6z Atın"}),(0,l.tZ)(r.Box,{pt:"20px",width:"100%",children:(0,l.tZ)(ep,{themes:e})})]})})});i(69497),a._Q.tablet,a._Q.tablet,i(5793),i(39565),a._Q.tablet,a._Q.tablet,a.wL.brownGrey3,a._Q.tablet,a.wL.veryLightPink2,a._Q.tablet,a._Q.tablet,a._Q.tablet,a._Q.tablet,a._Q.tablet,a._Q.tablet,a.wL.veryLightPink2,a.wL.blue3,a._Q.tablet,a._Q.tablet,i(35109);var eb=i(8882);i(44843),a._Q.tablet,a._Q.tablet,a._Q.tablet,a._Q.tablet;var eg=i(14014),ef=i(26146);let em=t=>(0,o.iv)("font-size:16px;border-radius:22px;padding:12px 25px;",t===ef.H.Home&&"width: 178px;"," &:not(:last-child){margin-right:15px;}",a._Q.tablet,"{font-size:12px;padding:8px 15px;border-radius:27.5px;",t===ef.H.Home&&"width: 145px;"," &:not(:last-child){margin-right:20px;}}&:hover{text-shadow:none;}"),ew=t=>(0,o.iv)("padding:0px 5px;white-space:nowrap;overflow-x:",t===ef.H.Home?"hidden":"auto",";"),eZ=(0,o.iv)("display:flex;flex-driection:row;justify-content:center;align-items:center;padding-bottom:15px;",a._Q.tablet,"{padding:0 10px 0 20px;}"),ek=t=>(0,o.iv)("display:flex;justify-content:center;align-items:center;","left"===t&&"transform: rotate(180deg);"," cursor:pointer;");var eB=(0,n.memo)(function(t){let{popularLocations:e,activeLocationSlug:i,onLocationChange:o,catalogType:d}=t,s=(0,n.useRef)(null),c=(0,N.i)().width<=a.Op,p=t=>{if(!s.current)return;let e=s.current.scrollLeft;s.current.scrollTo({left:e+("left"===t?-1:1)*(c?165:193),behavior:"smooth"})};return(0,l.BX)(r.Box,{css:eZ,children:[d===ef.H.Home&&(0,l.tZ)(r.Box,{css:ek("left"),onClick:()=>p("left"),children:(0,l.tZ)(ti.Z,{fill:a.wL.black,size:28})}),(0,l.BX)(r.Box,{css:ew(d),ref:s,children:[(0,l.tZ)(eg.Z,{active:"FACILITIES_OF_WEEK"===i,onClick:()=>o("FACILITIES_OF_WEEK",""),externalCss:em(d),children:"Haftanın Otelleri"}),e.map((t,e)=>{let{name:n,locationSlug:r,slug:a}=t;return(0,l.tZ)(eg.Z,{active:i===r,onClick:()=>o(r,a),externalCss:em(d),children:n},e)})]}),d===ef.H.Home&&(0,l.tZ)(r.Box,{css:ek,onClick:()=>p("right"),children:(0,l.tZ)(ti.Z,{fill:a.wL.black,size:28})})]})}),eC=i(79182);let ey=(0,o.iv)("background-color:",a.wL.white,";display:inline-flex;flex-direction:column;flex-shrink:0;position:relative;width:305px;height:277px;border-radius:4px;overflow:hidden;border:solid 0.5px ",a.wL.veryLightPink3,";&:not(:last-child){margin-right:25px;}",a._Q.tablet,"{width:197px;height:191px;&:not(:last-child){margin-right:12px;}}&:hover{text-decoration:none;color:",a.wL.blue3,";box-shadow:0 2px 10px 0 rgba(0,0,0,0.23);}"),e_=(0,o.iv)(a._Q.tablet,"{height:111px;}"),eL=(0,o.iv)("position:relative;min-height:100%;"),eQ=(0,o.iv)("padding-top:4px;"),ez=(0,o.iv)("margin-right:2px !important;"),eS=(0,o.iv)("width:100%;position:relative;",a._Q.tablet,"{padding:8px 18px 12px 12px;}"),eI=(0,o.iv)("height:107px;",a._Q.tablet,"{height:80px;}"),eA=(0,o.iv)("white-space:nowrap;overflow:hidden;text-overflow:ellipsis;",a._Q.tablet,"{font-size:13px;}"),eE=(0,o.iv)(a._Q.tablet,"{font-size:12px;}");var eF=(0,n.memo)(function(t){let{facilityItem:e,position:i,providerMap:o}=t,{facilityName:p,imageId:x,averageRating:u,reviewCount:v,rating:b,slug:g}=(0,n.useMemo)(()=>{var t,i,l,n,o,r,a,d,s,c;return{facilityName:e.name,imageId:null===(i=e.images)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.image,averageRating:e.avgRating,reviewCount:null===(l=e.interactions)||void 0===l?void 0:l.count,rating:parseFloat((null===(n=e.interactions)||void 0===n?void 0:n.rating)||"0"),price:(null==e?void 0:null===(r=e.deals)||void 0===r?void 0:null===(o=r.heroPrice)||void 0===o?void 0:o.discountPrice)>0?null==e?void 0:null===(d=e.deals)||void 0===d?void 0:null===(a=d.heroPrice)||void 0===a?void 0:a.discountPrice:null==e?void 0:null===(c=e.deals)||void 0===c?void 0:null===(s=c.heroPrice)||void 0===s?void 0:s.rawPrice,slug:e.slug}},[e]),f=(0,n.useCallback)(()=>{(0,h.AB)((0,V.$3)(e,"product-image",i,o)),(0,h.AB)((0,h.FQ)(e,i,o))},[e,i]),m=(0,n.useCallback)(()=>{(0,h.AB)((0,V.$3)(e,"product-headline",i,o)),(0,h.AB)((0,h.FQ)(e,i,o))},[e,i]);return(0,l.tZ)(s.Z,{href:"/".concat(g,"-fiyatlari"),externalCss:ey,title:String(p),children:(0,l.BX)(r.Flex,{flexDirection:"column",children:[(0,l.tZ)(c.Zb,{onClick:f,width:"100%",height:"170px",externalCss:e_,children:(0,l.tZ)(c.Gl,{src:x?"".concat(w.Ik,"75/303x170/").concat(x):"".concat(w.kq,"no-photo.svg"),width:"303px",height:"170px",alt:p})}),(0,l.tZ)(c.Zb,{width:"100%",css:eI,onClick:m,children:(0,l.tZ)(c.aY,{p:"12px 9px 16px 12px",externalCss:eS,children:(0,l.BX)(r.Flex,{flexDirection:"column",css:eL,children:[(0,l.tZ)(d.Z,{fontSize:16,weight:600,externalCss:eA,children:p}),(0,l.BX)(r.Flex,{alignItems:"center",css:eQ,children:[(0,l.tZ)(eC.Z,{rating:u,noRating:0===v&&!(b||u),ratingIconWidth:"18px",ratingIconHeight:"13px",iconCss:ez,ratingTextCss:eE}),v>0&&(0,l.BX)(d.Z,{pl:"6px",fontSize:12,weight:400,color:a.wL.brownGrey3,children:["(",v," yorum)"]})]})]})})})]})})});let eX=(0,o.iv)("background-color:",a.wL.white,";display:inline-flex;flex-direction:column;flex-shrink:0;position:relative;width:305px;height:277px;border-radius:4px;overflow:hidden;border:solid 0.5px ",a.wL.veryLightPink3,";&:not(:last-child){margin-right:25px;}",a._Q.tablet,"{width:197px;height:191px;&:not(:last-child){margin-right:12px;}}&:hover{text-decoration:none;color:",a.wL.blue3,";box-shadow:0 2px 10px 0 rgba(0,0,0,0.23);}"),eP=(0,o.iv)(a._Q.tablet,"{height:111px;}"),eH=(0,o.iv)("position:relative;min-height:100%;"),eR=(0,o.iv)("padding-top:4px;"),eT=(0,o.iv)("margin-right:2px !important;"),ej=(0,o.iv)("width:100%;position:relative;",a._Q.tablet,"{padding:8px 18px 12px 12px;}"),eD=(0,o.iv)("height:107px;",a._Q.tablet,"{height:80px;}"),eO=(0,o.iv)("white-space:nowrap;overflow:hidden;text-overflow:ellipsis;",a._Q.tablet,"{font-size:13px;}"),eU=(0,o.iv)(a._Q.tablet,"{font-size:12px;}");var eK=function(t){let{facilityItem:e,position:i,providerMap:o}=t,{facilityName:p,imageId:x,averageRating:u,reviewCount:v,slug:b}=e,g=(0,n.useCallback)(()=>{(0,h.AB)((0,V.eM)(e,"product-image",i,o)),(0,h.AB)((0,h.FQ)(e,i,o))},[e,i]),f=(0,n.useCallback)(()=>{(0,h.AB)((0,V.eM)(e,"product-headline",i,o)),(0,h.AB)((0,h.FQ)(e,i,o))},[e,i]);return(0,l.tZ)(s.Z,{href:"/".concat(b,"-fiyatlari"),externalCss:eX,title:p,children:(0,l.BX)(r.Flex,{flexDirection:"column",children:[(0,l.tZ)(c.Zb,{onClick:g,width:"100%",height:"170px",externalCss:eP,children:(0,l.tZ)(c.Gl,{src:x?"".concat(w.Ik,"75/303x170/").concat(x):"".concat(w.kq,"no-photo.svg"),width:"303px",height:"170px",alt:p})}),(0,l.tZ)(c.Zb,{width:"100%",css:eD,onClick:f,children:(0,l.tZ)(c.aY,{p:"12px 9px 16px 12px",externalCss:ej,children:(0,l.BX)(r.Flex,{flexDirection:"column",css:eH,children:[(0,l.tZ)(d.Z,{fontSize:16,weight:600,externalCss:eO,children:p}),(0,l.BX)(r.Flex,{alignItems:"center",css:eR,children:[(0,l.tZ)(eC.Z,{rating:u,noRating:0===v&&!u,ratingIconWidth:"18px",ratingIconHeight:"13px",iconCss:eT,ratingTextCss:eU}),v>0&&(0,l.BX)(d.Z,{pl:"6px",fontSize:12,weight:400,color:a.wL.brownGrey3,children:["(",v," yorum)"]})]})]})})})]})})},eW=i(84657),eN=i(64641);let eG=(0,o.iv)("display:inline-flex;flex-shrink:0;&:not(:last-child){margin-right:25px;}"),eM=(0,o.iv)("height:277px;width:305px;margin:0 25px 0 0;"),eV=(0,o.iv)("width:100%;",a._Q.tablet,"{padding-left:20px;}");var eY=(0,n.memo)(function(t){let{facilities:e,facilitiesOfWeek:i,showFacilitiesOfWeek:o,loading:a,providerMap:d,onClickNext:s}=t,c=(0,n.useCallback)(()=>(0,l.tZ)(r.Flex,{children:[,,,,,].fill(0).map((t,e)=>(0,l.tZ)(eW.Z,{width:"305px",height:"277px",css:eG},e))}),[]),p=(0,n.useCallback)(()=>o?i:e,[e,i,o]),h=(0,n.useMemo)(()=>{var t;let e=[];return null===(t=p())||void 0===t||t.map((t,i)=>{2===i&&e.push((0,l.tZ)(eN.default,{disable:!0,externalCss:eM,id:"div-gpt-ad-1615282743887-0",name:"nkal_w_homepage_mre",sizes:[[305,277],[300,250]]},i+"_ad")),e.push(o?(0,l.tZ)(eF,{position:i,facilityItem:t,providerMap:d},t.objectId+"_".concat(i)):(0,l.tZ)(eK,{position:i,facilityItem:t,providerMap:d},t.objectId+"_".concat(i)))}),e},[p]);return(0,l.tZ)(r.Box,{css:eV,children:a?c():(0,l.tZ)(tm.Z,{onClickNext:t=>{s(4+(t||0))},children:h})})}),e$=i(65586);let eq=(0,o.iv)("padding-top:25px;padding-bottom:25px;overflow:hidden;",a._Q.tablet,"{padding:0;}"),eJ=(0,o.iv)(a._Q.tablet,"{padding-left:20px;font-size:18px;}"),e0=(0,o.iv)("border-bottom:1px solid ",a.wL.veryLightPink2,";border-top:1px solid ",a.wL.veryLightPink2,";",a._Q.tablet,"{padding:20px 0px 18px 38px;margin-left:-20px;}"),e1=(0,o.iv)(a._Q.tablet,"{padding-top:21px;}"),e2=(0,o.iv)(a._Q.tablet,"{margin-left:20px;margin-top:15px;}");var e5=(0,n.memo)(function(t){let{popularLocations:e,facilitiesOfWeek:i,providerMap:o,facilitiesOfWeekInitialData:d,disableCenter:s,rezervationQueryFacilities:c,defaultParams:p,onClickTabs:x,catalogType:u}=t,v=(0,n.useRef)(null),[b,g]=(0,n.useState)(!1),[f,m]=(0,n.useState)([]),[Z,k]=(0,n.useState)(i),[B,C]=(0,n.useState)("FACILITIES_OF_WEEK"),[y,_]=(0,n.useState)(""),[L,Q]=(0,n.useState)(!1),[z,S]=(0,n.useState)([]),I=(0,R.jU)()&&(0,H.R)(v);(0,n.useEffect)(()=>{I&&!L&&((0,h.AB)((0,V.ZC)(Z,0,o)),(0,h.AB)((0,h.Vd)(Z.slice(0,4),o)),Q(!0))},[I,Z]);let A=(0,n.useCallback)(async(t,e)=>{if(x&&x(t),B!==t){if(_(e),g(!0),S([]),"FACILITIES_OF_WEEK"===t){C("FACILITIES_OF_WEEK");let t=await (0,eb.Ts)(d,p,!1,!0);t.body&&(k(t.body.catalogs),c?k([...c,...t.body.catalogs]):k(t.body.catalogs),(0,h.AB)((0,V.ZC)(t.body.catalogs,0,o)),(0,h.AB)((0,h.Vd)(t.body.catalogs.slice(0,4),o,0,u===ef.H.City)))}else{var i,l,n,r,a,s;C(t);let e=await (0,eb.Yh)({api_key:w.$h,locationSlug:t,src:"Unpaid"});m(null!==(r=null===(i=e.body)||void 0===i?void 0:i.facilities)&&void 0!==r?r:[]),(0,h.AB)((0,V.T0)(null!==(a=null===(l=e.body)||void 0===l?void 0:l.facilities)&&void 0!==a?a:[],0,o)),(0,h.AB)((0,h.Vd)((null!==(s=null===(n=e.body)||void 0===n?void 0:n.facilities)&&void 0!==s?s:[]).slice(0,4),o,0,u===ef.H.City))}g(!1)}},[B,o,C]),E=(0,n.useCallback)(t=>{-1!==z.findIndex(e=>e===t)||("FACILITIES_OF_WEEK"===B?((0,h.AB)((0,V.ZC)(Z,4,o)),(0,h.AB)((0,h.Vd)([Z[t]],o,t))):((0,h.AB)((0,V.T0)(f,4,o)),(0,h.AB)((0,h.Vd)([f[t]],o,t))),S(e=>[...e,t]))},[z,B,Z,f,o]);return(0,n.useEffect)(()=>{c&&k([...c,...i])},[c,i]),(0,l.tZ)(r.Box,{css:[a.o4,e0],children:(0,l.BX)(X.Z,{mt:"10px",ref:v,externalCss:[!s&&a.z1,eq],children:[(0,l.tZ)(e$.Z,{fontSize:26,fontWeight:600,externalCss:eJ,content:"Pop\xfcler Oteller"}),(0,l.BX)(r.Box,{pt:"20px",children:[(0,l.tZ)(eB,{popularLocations:e,activeLocationSlug:B,onLocationChange:A,catalogType:u}),(0,l.BX)(r.Box,{pt:"25px",width:"100%",css:e1,children:[(0,l.tZ)(eY,{providerMap:o,facilities:f,facilitiesOfWeek:Z,showFacilitiesOfWeek:"FACILITIES_OF_WEEK"===B,loading:b,onClickNext:E}),"FACILITIES_OF_WEEK"!==B&&(0,l.tZ)(r.Flex,{mt:"20px",justifyContent:"flex-start",css:e2,children:(0,l.tZ)(P.Z,{href:"/".concat(y)})})]})]})]})})})}}]);