(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1312,404],{96036:function(t){var e;e=function(){return function(t,e,i){var l=e.prototype,n=function(t){return t&&(t.indexOf?t:t.s)},o=function(t,e,i,l,o){var a=t.name?t:t.$locale(),r=n(a[e]),d=n(a[i]),c=r||d.map(function(t){return t.slice(0,l)});if(!o)return c;var u=a.weekStart;return c.map(function(t,e){return c[(e+(u||0))%7]})},a=function(){return i.Ls[i.locale()]},r=function(t,e){return t.formats[e]||t.formats[e.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,e,i){return e||i.slice(1)})},d=function(){var t=this;return{months:function(e){return e?e.format("MMMM"):o(t,"months")},monthsShort:function(e){return e?e.format("MMM"):o(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):o(t,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):o(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):o(t,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return r(t.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};l.localeData=function(){return d.bind(this)()},i.localeData=function(){var t=a();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(e){return r(t,e)},meridiem:t.meridiem,ordinal:t.ordinal}},i.months=function(){return o(a(),"months")},i.monthsShort=function(){return o(a(),"monthsShort","months",3)},i.weekdays=function(t){return o(a(),"weekdays",null,null,t)},i.weekdaysShort=function(t){return o(a(),"weekdaysShort","weekdays",3,t)},i.weekdaysMin=function(t){return o(a(),"weekdaysMin","weekdays",2,t)}}},t.exports=e()},62705:function(t,e,i){var l=i(55639).Symbol;t.exports=l},44239:function(t,e,i){var l=i(62705),n=i(89607),o=i(2333),a=l?l.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?n(t):o(t)}},27561:function(t,e,i){var l=i(67990),n=/^\s+/;t.exports=function(t){return t?t.slice(0,l(t)+1).replace(n,""):t}},31957:function(t,e,i){var l="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g;t.exports=l},89607:function(t,e,i){var l=i(62705),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,r=l?l.toStringTag:void 0;t.exports=function(t){var e=o.call(t,r),i=t[r];try{t[r]=void 0;var l=!0}catch(t){}var n=a.call(t);return l&&(e?t[r]=i:delete t[r]),n}},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},55639:function(t,e,i){var l=i(31957),n="object"==typeof self&&self&&self.Object===Object&&self,o=l||n||Function("return this")();t.exports=o},67990:function(t){var e=/\s/;t.exports=function(t){for(var i=t.length;i--&&e.test(t.charAt(i)););return i}},23279:function(t,e,i){var l=i(13218),n=i(7771),o=i(14841),a=Math.max,r=Math.min;t.exports=function(t,e,i){var d,c,u,s,v,p,f=0,h=!1,g=!1,m=!0;if("function"!=typeof t)throw TypeError("Expected a function");function x(e){var i=d,l=c;return d=c=void 0,f=e,s=t.apply(l,i)}function b(t){var i=t-p,l=t-f;return void 0===p||i>=e||i<0||g&&l>=u}function k(){var t,i,l,o=n();if(b(o))return y(o);v=setTimeout(k,(t=o-p,i=o-f,l=e-t,g?r(l,u-i):l))}function y(t){return(v=void 0,m&&d)?x(t):(d=c=void 0,s)}function w(){var t,i=n(),l=b(i);if(d=arguments,c=this,p=i,l){if(void 0===v)return f=t=p,v=setTimeout(k,e),h?x(t):s;if(g)return clearTimeout(v),v=setTimeout(k,e),x(p)}return void 0===v&&(v=setTimeout(k,e)),s}return e=o(e)||0,l(i)&&(h=!!i.leading,u=(g="maxWait"in i)?a(o(i.maxWait)||0,e):u,m="trailing"in i?!!i.trailing:m),w.cancel=function(){void 0!==v&&clearTimeout(v),f=0,d=p=c=v=void 0},w.flush=function(){return void 0===v?s:y(n())},w}},13218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},37005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},33448:function(t,e,i){var l=i(44239),n=i(37005);t.exports=function(t){return"symbol"==typeof t||n(t)&&"[object Symbol]"==l(t)}},7771:function(t,e,i){var l=i(55639);t.exports=function(){return l.Date.now()}},14841:function(t,e,i){var l=i(27561),n=i(13218),o=i(33448),a=0/0,r=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return a;if(n(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=n(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=l(t);var i=d.test(t);return i||c.test(t)?u(t.slice(2),i?2:8):r.test(t)?a:+t}},46564:function(t,e,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tesis-detay",function(){return i(65551)}])},60721:function(t,e,i){"use strict";var l=i(35944),n=i(67294),o=i(66455),a=i(70917),r=i(34665),d=i(22149),c=i(65586),u=i(43331),s=i(26146),v=i(4284),p=i(12403);let f=(0,a.iv)("padding:0;overflow:hidden;"),h=(0,a.iv)("margin-bottom:25px !important;"),g=(0,a.iv)("margin-bottom:10px !important;justify-content:space-between;*{font-size:18px;}"),m=(0,a.iv)(r._Q.tablet,"{font-size:18px;}"),x=(0,a.iv)("font-size:18px !important;"),b=(0,a.iv)("background-color:transparent;padding:0 !important;");e.Z=(0,n.memo)(function(t){let{facilityList:e,providerMap:i,disableCenter:a,location:k,locationSlug:y,page:w,title:Z,isNearBy:C,handleOnExit:S,handleOnPhoneCall:M,handleOnClickProvider:P,providerWidget:z,cardType:B=p._.Vertical,seeMoreFacilities:_=!1,catalogType:T,isCardsVertical:I}=t,D=(0,n.useRef)(null),[O]=(0,n.useState)(!1),[Y,L]=(0,n.useState)(e||[]);return(0,n.useEffect)(()=>{L([...e||[]])},[e]),(0,l.tZ)(o.Box,{css:[r.o4,b],children:(0,l.BX)(d.Z,{mt:"10px",ref:D,externalCss:[!a&&r.z1,f],children:[(0,l.BX)(o.Flex,{css:[h,T===s.H.Poi||s.H.Attraction||s.H.Place?g:""],children:[(0,l.tZ)(c.Z,{fontSize:26,fontWeight:600,content:Z,externalCss:[m,T===s.H.Poi||s.H.Attraction||s.H.Place?x:""]}),_&&y&&(0,l.tZ)(v.Z,{href:"/".concat(y),children:"Daha fazla otel g\xf6r"})]}),(0,l.tZ)(u.Z,{facilities:Y,providerMap:i,page:w,loading:O,defaultParams:t.defaultParams,location:k,isNearBy:C,handleOnExit:S,handleOnPhoneCall:M,handleOnClickProvider:P,providerWidget:z,cardType:B,isCardsVertical:I})]})})})},44397:function(t,e,i){"use strict";var l=i(35944),n=i(70917),o=i(67294);let a=(t,e,i)=>(0,n.iv)("font-size:",t||"20px","px!important;font-weight:",e||"600",";margin:",null!=i?i:"0",";");e.Z=function(t){let{content:e,fontSize:i,fontWeight:n,margin:r,externalCss:d}=t;return(0,o.useCallback)(()=>(0,l.tZ)("div",{css:[a(i||24,n,r),d],children:e}),[e])()}},2685:function(t,e,i){"use strict";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"},51217:function(t,e,i){"use strict";i.d(e,{g:function(){return l}});let l={ta:"call",el:"call",pr1id:0,pr1nm:"",pr1br:"",pr1cd9:0,pr1ca:"",pr1va:"standart-oda",pr1ps:0,cd6:"desktop",cd7:"",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"}},90404:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return C}});var l=i(35944),n=i(67294),o=i(66455),a=i(70917),r=i(34665),d=i(18108),c=i(78707),u=i(4284),s=i(69767),v=i(5152),p=i.n(v);let f=p()(()=>Promise.all([i.e(9774),i.e(9269),i.e(2542)]).then(i.bind(i,52542)),{loadableGenerated:{webpack:()=>[52542]},ssr:!1}),h=t=>(0,a.iv)("border:1px solid ",r.wL.veryLightPink2,";border-radius:4px;overflow:hidden;cursor:pointer;",t?"border: 0;":""),g=t=>(0,a.iv)("width:100%;height:112px;position:relative;",r._Q.tablet,"{",t?"height: 88px;":"","}"),m=t=>(0,a.iv)("padding-top:8px;padding-bottom:8px;",t?"padding: 20px 0px 0px 0px;":""," ",t?"justify-content: flex-start;":""," ",r._Q.tablet,"{padding-top:10px;padding-bottom:10px;",t?"padding: 16px 0px 0px 0px;":"","}"),x=()=>(0,a.iv)("font-size:15px;",r._Q.tablet,"{font-size:13px;}");var b=function(t){let{onClick:e,renderTabletView:i,isGoogleBot:n,listItem:a}=t;return(0,l.BX)(o.Box,{css:h(i),onClick:e,children:[(0,l.tZ)(o.Box,{css:g(i),children:n?(0,l.tZ)(c.h,{src:"".concat(s.kq,"map-preview.png"),layout:"fill",objectFit:"cover",alt:"\xd6rnek Harita G\xf6rseli"}):(0,l.tZ)(f,{mapProps:{lat:(null==a?void 0:a.latitude)||38.9573415,lng:(null==a?void 0:a.longitude)||35.240741,zoom:12}})}),(0,l.BX)(o.Flex,{alignItems:"center",justifyContent:"center",css:m(i),children:[(0,l.tZ)(u.Z,{externalCss:x,asButton:!0,children:"Haritada g\xf6r"}),(0,l.tZ)(d.Z,{})]})]})},k=i(1092),y=i(9549),w=i(87066);let Z=p()(()=>Promise.all([i.e(9774),i.e(4042)]).then(i.bind(i,24042)),{loadableGenerated:{webpack:()=>[24042]},ssr:!1});var C=function(t){let{listItem:e,checkin:i,checkout:o,providerMap:a,accTypeMap:r,handlePhoneModalOpen:d,renderTabletView:c,totalNights:u,catalogType:s,isPaidUrl:v,externalCss:p,setCallData:f,minZoom:h,isGoogleBot:g}=t,[m,x]=(0,n.useState)([e]),[C,S]=(0,n.useState)(null),[M,P]=(0,n.useState)(!1),[z,B]=(0,n.useState)(null),[_,T]=(0,n.useState)({lat:e.latitude>10?e.latitude:38.963745,lng:e.longitude>10?e.longitude:35.243322,zoom:e.longitude<10?6.5:18}),[I,D]=(0,n.useState)(null),[O,Y]=(0,n.useState)(!1),[L,Q]=(0,n.useState)(!1),R=(0,n.useMemo)(()=>O&&!L?m:[e],[e,m,O,L]);(0,n.useCallback)(t=>t>=14?1:t>=13?3:5+Math.pow(2,12-t),[]);let N=(0,n.useCallback)(async t=>{Q(!0);try{var l,n,a,r,d;let c=t.lat,u=t.lng,s=new Date,p=JSON.stringify({cin:i||(0,y.E)(s,1),cout:o||(0,y.E)(s,2),act:null!==(r=null==e?void 0:null===(l=e.prices)||void 0===l?void 0:l.adultCount)&&void 0!==r?r:2,cas:null!==(d=null==e?void 0:null===(n=e.prices)||void 0===n?void 0:n.childAges)&&void 0!==d?d:0}),f=await w.Z.get("/api/facilities-by-location",{params:{lat:c,lng:u,distance:200,limit:25,queryParams:p,src:v?"Paid":"Unpaid"}}),h=((null===(a=f.data)||void 0===a?void 0:a.catalogs)||[]).filter(t=>{if(!t.latitude||!t.longitude)return!1;let e=(t.latitude-c)*(Math.PI/180),i=(t.longitude-u)*(Math.PI/180),l=Math.sin(e/2)*Math.sin(e/2)+Math.cos(Math.PI/180*c)*Math.cos(t.latitude*(Math.PI/180))*Math.sin(i/2)*Math.sin(i/2);return 12742*Math.atan2(Math.sqrt(l),Math.sqrt(1-l))<=200});h.length>0&&x([...h.filter(t=>t.objectId!==e.objectId),e])}catch(t){}finally{Q(!1)}},[e]);(0,n.useEffect)(()=>{M&&N(_)},[M]),(0,n.useEffect)(()=>{if(I&&!L){let t={...I};T(t),D(null),N(t)}},[m]);let j=(0,n.useCallback)(()=>{(0,k.AB)((0,k.dG)()),P(!0)},[]),A=(0,n.useCallback)(()=>{(0,k.AB)((0,k.UX)()),P(!1)},[]),X=(0,n.useCallback)(()=>{if(C){let t=C.getCenter().lat(),e=C.getCenter().lng(),i=Math.abs(_.lat-t),l=Math.abs(_.lng-e),n=C.getZoom(),o=Math.abs(n-_.zoom);if(i>.005||l>.005||o>1&&n<19){let i={lat:t,lng:e,zoom:n};L?D(i):(T(i),N(i))}}},[_,C,L]),F=(0,n.useCallback)(()=>{Y(t=>!t)},[]);return(0,l.BX)(l.HY,{children:[(0,l.tZ)(b,{onClick:j,renderTabletView:c,isGoogleBot:g,listItem:e}),(0,l.tZ)(Z,{mapRef:C,getMapRef:S,expandedMarker:z,setExpandedMarker:B,show:M,listItem:e,facilityList:R,zoom:18,showOtherFacilities:O,onSetShowOtherFacilitiesClick:F,onClose:A,onMapDragEnd:X,onZoomChanged:X,providerMap:a,accTypeMap:r,handlePhoneModalOpen:d,totalNights:u,catalogType:s,externalCss:p,setCallData:f,minZoom:h})]})}},65551:function(t,e,i){"use strict";i.r(e),i.d(e,{__N_SSP:function(){return t1},default:function(){return t2}});var l=i(35944),n=i(67294),o=i(30427),a=i(41187),r=i(70917),d=i(66455),c=i(7957),u=i(52201),s=i(94019),v=i(8882),p=i(27484),f=i.n(p),h=i(62209),g=i(27616),m=i(72711),x=i(73357),b=i(34665),k=i(22149),y=i(75486),w=i(51790),Z=i(18108),C=i(33463);let S=(0,r.iv)("font-size:21px;font-weight:600;display:flex;align-items:self-end;",b._Q.tablet,"{font-size:18px;}"),M=(0,r.iv)("font-size:21px;font-weight:600;margin:0px 7px -4px 0px;",b._Q.tablet,"{font-size:18px;margin:0px 8px -6px 0px;}"),P=(0,r.iv)("flex:0 0 25%;font-size:16px;font-weight:600;width:auto;height:auto;padding:0 3px 15px 0;background-color:",b.wL.white,";"),z=(0,r.iv)(b._Q.tablet,"{font-size:13px;}"),B=(0,r.iv)("margin-left:2px;",b._Q.tablet,"{font-size:18px;margin-left:1px;}"),_=(0,r.iv)("padding-top:20px;margin-bottom:-15px;",b._Q.tablet,"{padding-top:22px;}"),T=(0,r.iv)("margin-top:20px;",b._Q.tablet,"{margin-top:13px;}"),I=(0,r.iv)("font-size:14px;margin-top:4px;",b._Q.tablet,"{font-size:12px;margin-top:3px;}"),D=(0,r.iv)("margin:0;font-size:18px;padding-top:19px;",b._Q.tablet,"{font-size:14px;}");var O=(0,n.memo)(function(t){let{comment:e,commentsRef:i}=t,o=(0,n.useCallback)(()=>{var t;let e=null===(t=i.current)||void 0===t?void 0:t.offsetTop;void 0!==e&&window.scroll({top:e,left:0,behavior:"smooth"})},[i]),a=(0,n.useCallback)(()=>{var t,i;return(null==e?void 0:e.count)&&(null==e?void 0:e.count)>0&&Number(null==e?void 0:e.rating)>0?(0,l.tZ)(y.Z,{scrollToReferance:o,ratingText:null!==(t=null==e?void 0:e.ratingText)&&void 0!==t?t:"",rating:null!==(i=null==e?void 0:e.rating)&&void 0!==i?i:1,commentCount:(null==e?void 0:e.count)||(null==e?void 0:e.reviewCount),ratingCss:S,ratingTextCss:M,ratingRingsCss:B,hideCommentCount:!0}):(0,l.tZ)(l.HY,{})},[e.rating]),r=(0,n.useMemo)(()=>{var t,i;return(null==e?void 0:e.badges)&&(null==e?void 0:null===(t=e.badges)||void 0===t?void 0:t.length)>0&&(0,l.BX)(l.HY,{children:[(0,l.tZ)("h2",{css:D,children:"Misafirler Ne Dedi?"}),(0,l.tZ)(d.Flex,{flexDirection:"row",flexWrap:"wrap",justifyContent:"space-between",css:_,children:null==e?void 0:null===(i=e.badges)||void 0===i?void 0:i.slice(0,4).map((t,e)=>(0,l.tZ)(w.Z,{badge:t,externalCss:P,externalCountCss:I},e))})]})},[e.badges]);return(0,l.BX)(l.HY,{children:[(0,l.tZ)(d.Flex,{children:a()}),r,e&&(null==e?void 0:e.count)&&(null==e?void 0:e.count)>0?(0,l.BX)(d.Flex,{alignItems:"center",onClick:o,css:[T,b.Rx],children:[(0,l.tZ)(C.Z,{size:15,color:b.wL.blue3,css:z,children:"T\xfcm değerlendirmeleri g\xf6r"}),(0,l.tZ)(Z.Z,{})]}):(0,l.tZ)(l.HY,{})]})}),Y=i(78707),L=i(69767);let Q=(0,r.iv)("padding-top:17px;justify-content:space-between;flex-flow:wrap;"),R=(0,r.iv)("padding-left:8px;",b._Q.tablet,"{font-size:13px;}");var N=(0,n.memo)(function(t){let{amenities:e}=t,[i,o]=(0,n.useState)([]);(0,n.useEffect)(()=>{if(null==e?void 0:e.data[0]){let t=[];e.data[0].subGroup&&e.data[0].subGroup.map((e,i)=>{var l;t=[...t,...null===(l=e.amenities)||void 0===l?void 0:l.filter(t=>!0==t.isPopular)]}),t.length>0&&o(t.slice(0,4))}},[e]);let a=(0,n.useMemo)(()=>i.length>0&&i.map((t,e)=>(0,l.BX)(d.Flex,{alignItems:"center",children:[(0,l.tZ)(Y.h,{width:"24",height:"24",src:"".concat(L.kq,"amenity-icons/").concat(t.amenityIcon),alt:t.amenityDefaultName}),(0,l.tZ)(C.Z,{size:16,css:R,maxLines:1,children:null==t?void 0:t.amenityDefaultName})]},e)),[i]);return(0,l.tZ)(d.Flex,{css:Q,children:a})}),j=i(90404),A=function(t){let{listItem:e,checkin:i,checkout:n,providerMap:o,accTypeMap:a,handlePhoneModalOpen:r,isPaidUrl:c,isGoogleBot:u}=t;return(0,l.BX)(d.Flex,{mt:"7px",children:[(0,l.BX)(d.Flex,{width:"52.5%",flexDirection:"column",children:[(0,l.tZ)("h2",{css:X,children:"Adres"}),(0,l.tZ)(d.Flex,{css:F,children:null==e?void 0:e.catalogAddress})]}),e&&(0,l.tZ)(d.Box,{width:"47.5%",children:(0,l.tZ)(j.default,{listItem:e,checkin:i,checkout:n,providerMap:o,accTypeMap:a,handlePhoneModalOpen:r,renderTabletView:!0,isPaidUrl:c,isGoogleBot:u})})]})};let X=(0,r.iv)("margin:0;font-size:18px;",b._Q.tablet,"{font-size:14px;}"),F=(0,r.iv)("flex-direction:column;padding-top:15px;padding-right:30px;font-size:16px;",b._Q.tablet,"{padding-top:12px;font-size:12px;}");var H=(0,n.memo)(function(t){let{comment:e,commentsRef:i,amenities:o,aboutRef:a,listItem:r,checkin:c,checkout:u,providerMap:s,accTypeMap:v,handlePhoneModalOpen:p,isPaidUrl:f,isGoogleBot:h}=t,g=(0,n.useCallback)(()=>{var t;if(!a.current)return;let e=null===(t=a.current)||void 0===t?void 0:t.offsetTop;void 0!==e&&window.scroll({top:e,left:0,behavior:"smooth"})},[a]),m=(0,n.useMemo)(()=>{var t,n,o;return e&&((null==e?void 0:null===(t=e.badges)||void 0===t?void 0:t.length)||(null==e?void 0:null===(n=e.categories)||void 0===n?void 0:n.length)||(null==e?void 0:null===(o=e.comments)||void 0===o?void 0:o.length)||(null==e?void 0:e.count)||(null==e?void 0:e.reviewCount)||Number(null==e?void 0:e.rating))?(0,l.tZ)(d.Box,{css:G,children:(0,l.tZ)(O,{comment:e,commentsRef:i})}):(0,l.tZ)(l.HY,{})},[e]),x=(0,n.useMemo)(()=>o&&(0,l.tZ)(l.HY,{children:(0,l.BX)(d.Box,{css:G,children:[(0,l.tZ)("h2",{css:W,children:"Pop\xfcler \xd6zellikler"}),(0,l.tZ)(N,{amenities:o}),(0,l.BX)(d.Flex,{alignItems:"center",css:[q,b.Rx],onClick:g,children:["T\xfcm \xf6zellikleri g\xf6r",(0,l.tZ)(Z.Z,{})]})]})}),[o]),y=(0,n.useMemo)(()=>(0,l.tZ)(l.HY,{children:(0,l.tZ)(d.Box,{css:G,children:(0,l.tZ)(A,{listItem:r,checkin:c,checkout:u,providerMap:s,accTypeMap:v,handlePhoneModalOpen:p,isPaidUrl:f,isGoogleBot:h})})}),[r,c,u]);return(0,l.BX)(k.Z,{externalCss:[b.o4,E],children:[m,x,r&&y]})});let E=(0,r.iv)("border:1px solid ",b.wL.veryLightPink2,";border-radius:4px;padding:25px 25px 30px 25px;",b._Q.tablet,"{max-width:100%;width:100%;padding:20px 20px 25px 20px;margin-top:12px;",b._Q.tablet,"{margin-top:0px;}}"),G=(0,r.iv)("border-bottom:1px solid ",b.wL.veryLightPink2,";padding-bottom:30px;padding-top:19px;",b._Q.tablet,"{padding-bottom:21px;}&:first-of-type{padding-top:0;margin:0;}&:last-child{border-bottom:none;padding-bottom:0;}"),W=(0,r.iv)("margin:0;font-size:18px;",b._Q.tablet,"{font-size:14px;}"),q=(0,r.iv)("font-size:15px;margin-top:20px;color:",b.wL.blue3,";",b._Q.tablet,"{font-size:13px;margin-top:16px;}");var $=(0,n.memo)(function(t){let{listItem:e,comment:i,commentsRef:n,aboutRef:o,amenities:a,checkin:r,checkout:c,providerMap:u,accTypeMap:s,handlePhoneModalOpen:v,isGoogleBot:p,showSummary:f}=t;return(0,l.tZ)(d.Flex,{flexDirection:"column",css:U,children:f&&(0,l.tZ)(H,{aboutRef:o,commentsRef:n,comment:i,amenities:a,listItem:e,checkin:r,checkout:c,providerMap:u,accTypeMap:s,handlePhoneModalOpen:v,isGoogleBot:p})})});let U=(0,r.iv)("border:1px solid ",b.wL.veryLightPink2,";border-radius:4px;background-color:",b.wL.white,";flex-grow:1;");b._Q.tablet,b._Q.tablet,b._Q.tablet,b.wL.veryLightPink2,b._Q.tablet,b._Q.tablet;var V=i(11163),J=i.n(V),K=i(4162),tt=i(82221),te=i(70661),ti=function(t){var e,i,l,n,o;let{detail:a,prices:r,amenities:d,listItem:c,catalogProperties:u}=t,{checkIn:s,checkOut:v}=r||{};f()(s).diff(v,"day",!1);let p={};null==u||u.forEach(t=>{var e,i,l;((null==t?void 0:null===(e=t.CatalogProperty)||void 0===e?void 0:e.Code)==="giris-saati"||(null==t?void 0:null===(i=t.CatalogProperty)||void 0===i?void 0:i.Code)==="cikis-saati")&&(p[null==t?void 0:null===(l=t.CatalogProperty)||void 0===l?void 0:l.Code]=t.Value)});let h=[];null==r||null===(e=r.providers)||void 0===e||e.map(t=>{var e;null===(e=t.prices)||void 0===e||e.map(e=>{e.providerId=t.providerId;let i=Math.round(e.discountRate>0?e.discountPrice:e.rawPrice);-1===h.indexOf(i)&&h.push(i)})});let g=null==d?void 0:null===(i=d.data)||void 0===i?void 0:i.filter(t=>"Oda \xd6zellikleri"===t.groupName),m=[];null===(l=g[0])||void 0===l||l.subGroup.map(t=>{t.amenities.map(t=>{m.find(e=>e.name==t.amenityDefaultName)||(m=[...m,{name:t.amenityDefaultName}])})}),m=m.slice(0,5).map(t=>t.name);let x=null==d?void 0:null===(n=d.data)||void 0===n?void 0:n.filter(t=>"Tesis \xd6zellikleri"===t.groupName),b=[];null===(o=x[0])||void 0===o||o.subGroup.map(t=>{var e;null===(e=t.amenities)||void 0===e||e.filter(t=>t.isPopular).map(t=>{b.find(e=>e.name==t.amenityDefaultName)||(b=[...b,{name:t.amenityDefaultName}])})}),b=b.slice(0,5).map(t=>t.name);let k=(null==c?void 0:c.distance)&&(null==c?void 0:c.distance)>0?"uzaklığı ".concat(c.distance,"km."):null,y=[{title:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," i\xe7in tesisinde bulunan odaların \xf6zellikleri nelerdir?"),content:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," odalarında ").concat(null==m?void 0:m.join(", ")," bulunmaktadır. Oda \xf6zelliklerinde daha fazla bilgi almak i\xe7in otel sayfasını inceleyebilirsiniz.")},{title:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," i\xe7in pop\xfcler tesis \xf6zellikleri nelerdir?"),content:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," i\xe7in pop\xfcler tesis \xf6zellikleri; ").concat(null==b?void 0:b.join(", ")," olmasıdır.")}];return k&&y.push({title:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," şehir merkezine ne kadar uzaklıktadır?"),content:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," tesisinin şehir merkezine ").concat(k)}),(null==c?void 0:c.hasSecureTourismCertificate)&&y.push({title:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," Covid sertifikalı bir tesis midir?"),content:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," g\xfcvenle konaklayabileceğiniz Sağlık Bakanlığı tarafından onaylı G\xfcvenli Turizm Sertifikalı bir tesistir.")}),p["giris-saati"]&&p["cikis-saati"]&&y.push({title:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," i\xe7in tesis giriş ve \xe7ıkış saatleri ka\xe7tır?"),content:"".concat((null==a?void 0:a.title)||(null==a?void 0:a.name)," tesisi i\xe7in ").concat(p["giris-saati"]," giriş, ").concat(p["cikis-saati"]," \xe7ıkış yapılmaktadır.")}),y},tl=i(93293),tn=i(64641),to=i(31238),ta=i(51217),tr=i(43603),td=i(26146),tc=i(84657),tu=i(86549),ts=i(31696),tv=i(27625);let tp=(0,r.iv)("&:not(:last-child){margin-bottom:10px;}"),tf=(0,r.iv)("background-color:",b.wL.white,";display:block;padding:0px 20px 10px;margin:auto;margin-bottom:15px;",b._Q.tablet,"{margin:0px 40px 15px 40px;}"),th=(0,r.iv)("display:block;padding:15px 0px 0px 0px;margin-bottom:15px;"),tg=(0,r.iv)("font-size:16px;font-weight:bold;display:block;text-decoration:none;&:hover{text-decoration:none;}",b._Q.tablet,"{font-size:15px;}"),tm=(0,r.iv)("padding:50px;"),tx=(0,r.iv)("padding-right:15px;&:last-child{padding-right:25px;}"),tb=(0,r.iv)("&:not(:last-child){margin-bottom:10px;}&:hover{text-decoration:none;color:",b.wL.blue3,";}"),tk=(0,r.iv)("border-radius:4px;flex-shrink:0;"),ty=(0,r.iv)("min-height:100%;"),tw=(0,r.iv)("text-overflow:ellipsis;width:170px;white-space:nowrap;overflow:hidden;");var tZ=(0,n.memo)(function(t){let{loading:e,relatedsPoi:i}=t,o=(0,n.useCallback)(()=>[,].fill(0).map((t,e)=>(0,l.tZ)(tc.Z,{height:"153px",css:tp},e)),[]),a=(0,n.useCallback)((t,e,i)=>(0,l.tZ)(tu.Z,{href:"/".concat(t),title:e,externalCss:tb,children:(0,l.BX)(d.Flex,{flexDirection:"column",css:ty,children:[(0,l.tZ)(Y.h,{css:tk,width:"163px",height:"92px",src:i?(0,ts.HB)({src:i,width:163,quality:75}):"".concat(L.kq,"no-photo.svg"),alt:e}),(0,l.tZ)(C.Z,{css:[tw],fontSize:14,weight:600,pt:"4px",bold:!0,children:e})]})}),[i]),r=(0,n.useCallback)(()=>null==i?void 0:i.map((t,e)=>{var i,n,o,r;return(0,l.BX)(d.Box,{css:[b.zp,b.z1,tf],children:[(0,l.tZ)(d.Flex,{alignItems:"center",justifyContent:"space-between",children:(0,l.tZ)(d.Box,{css:[th],children:(null==t?void 0:t.name)&&((null==t?void 0:t.slug)?(0,l.tZ)(tu.Z,{href:"/".concat(null==t?void 0:t.slug),externalCss:tg,children:null==t?void 0:t.name}):(0,l.tZ)(C.Z,{css:tg,children:null==t?void 0:t.name}))})}),(0,l.tZ)(tv.Z,{css:tm,children:(null==t?void 0:null===(i=t.poi)||void 0===i?void 0:i.length)&&(null==t?void 0:null===(o=t.poi)||void 0===o?void 0:null===(n=o.slice(0,10))||void 0===n?void 0:n.map((t,e)=>(0,l.tZ)(d.Box,{css:tx,children:a(t.slug,t.name,t.image)},e)))}),null==t?void 0:null===(r=t.parent)||void 0===r?void 0:r.map((t,e)=>t.name&&(0,l.tZ)(d.Flex,{alignItems:"center",justifyContent:"space-between",mt:"12px",mb:"12px",children:(0,l.tZ)(tu.Z,{href:"/".concat(t.slug),title:t.name,externalCss:tb,children:t.name})},e))]},e)}),[i]);return(0,l.tZ)(l.HY,{children:e?o():(0,l.tZ)(l.HY,{children:i&&r()})})}),tC=i(7484),tS=i(1092),tM=i(74990),tP=i(24881),tz=i(44397);let tB=(0,r.iv)("overflow:hidden;background-color:",b.wL.white,";margin-top:15px;padding:25px;",b._Q.tablet,"{padding:25px 20px;}"),t_=(0,r.iv)(b._Q.tablet,"{font-size:18px !important;}"),tT=(0,r.iv)("background-color:",b.wL.white,";width:330px;height:186px;border-radius:6px;position:relative;box-shadow:0 2px 10px 0 rgba(0,0,0,0.23);&:not(:last-child){margin-right:14px;}&:hover > a{color:black;}",b._Q.tablet,"{width:250px;height:186px;&:not(:last-child){margin-right:10px;}}&:hover{text-decoration:none;box-shadow:0 2px 10px 0 rgba(0,0,0,0.23);}"),tI=(0,r.iv)("border-radius:4px 4px 0 0;img{",b._Q.tablet,"{height:186px;}}",b._Q.tablet,"{width:250px;height:186px;}"),tD=(0,r.iv)("font-size:14px;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;",b._Q.tablet,"{font-size:14px;}"),tO=(0,r.iv)("position:absolute;bottom:0;width:100%;z-index:3;color:white;bottom:8px;padding:0 15px;");var tY=(0,n.memo)(function(t){if(Array.isArray(t.items)&&0===t.items.length)return(0,l.tZ)(l.HY,{});let{items:e,title:i}=t,o=(0,n.useMemo)(()=>(0,l.tZ)(tv.Z,{children:e&&Array.isArray(e)&&(null==e?void 0:e.map((t,e)=>(0,l.tZ)(d.Box,{css:tT,children:(0,l.BX)(tu.Z,{href:"/tema/".concat(null==t?void 0:t.slug),targetBlank:!0,disableDecoration:!0,title:null==t?void 0:t.name,children:[(0,l.BX)(tP.Zb,{width:"330px",height:"186px",externalCss:tI,children:[(0,l.tZ)(tP.Gl,{src:t.imageId?"".concat(L.Ik,"75/330x186/").concat(null==t?void 0:t.imageId):"".concat(L.Ik,"75/330x186/643d2274bd0b021956f3af9d"),width:"330px",height:"186px",priority:!1,alt:null==t?void 0:t.name}),(0,l.tZ)(tP.$$,{shadowSize:(null==t?void 0:t.imageId)?"65%":"100%"})]}),(0,l.tZ)(d.Box,{p:"15px",css:tO,children:(0,l.tZ)(C.Z,{css:tD,align:"left",size:24,fontWeight:900,mb:"8px",children:null==t?void 0:t.name})})]})},e)))}),[e]);return(0,l.BX)(k.Z,{css:[b.z1,tB],children:[(0,l.tZ)(tz.Z,{margin:"0 0 14px 0",content:i,css:t_}),o]})});let tL=(0,r.iv)("width:100%;margin-top:15px;padding:20px 25px;background-color:",b.wL.white,";border:1px solid ",b.wL.veryLightPink2,";border-radius:4px;gap:8px;font-size:16px;",b._Q.tablet,"{padding:15px 20px;font-size:12px;}");var tQ=(0,n.memo)(function(t){let{relatedCatalogLinks:e}=t;return(0,n.useCallback)(()=>{var t;return(0,l.tZ)(d.Flex,{css:tL,children:null==e?void 0:null===(t=e.collection)||void 0===t?void 0:t.map((t,i)=>{var n;return(0,l.BX)(l.HY,{children:[(0,l.tZ)(tu.Z,{href:"/".concat(t.slug),title:t.name,fontSize:16,children:null==t?void 0:t.name},i),i+1!==(null==e?void 0:null===(n=e.collection)||void 0===n?void 0:n.length)&&(0,l.BX)(d.Box,{children:[" "," > "," "]})]})})})},[])()});i(57404);var tR=i(60721),tN=i(11526);let tj=(0,r.iv)("padding:15px 0;height:105px;"),tA=(0,r.iv)("width:100%;display:flex;justify-content:center;box-sizing:border-box;padding:15px 0;min-height:150px;"),tX=(0,r.iv)("height:120px;"),tF=(0,r.iv)("background-color:rgba(0,0,0,0.5);"),tH=(0,r.iv)("border-radius:4px;margin:15px 0px 0px 0px;",b._Q.tablet,"{border:1px solid ",b.wL.veryLightPink2,";}"),tE=(0,r.iv)("margin-top:15px;overflow-y:unset;overflow-x:unset;"),tG=(0,r.iv)("padding:0px 15px;margin-bottom:15px;",b._Q.tablet,"{padding:0px 38px;}"),tW=(0,r.iv)("padding-left:30px;display:flex;flex-direction:column;",b._Q.tablet,"{padding-left:0px;}"),tq=(0,r.iv)("width:100%;height:100%;align-items:center;text-align:center;background-color:",b.wL.white,";border:1px solid ",b.wL.veryLightPink2,";border-radius:4px;padding:0 50px;font-size:16px;font-weight:600;line-height:1.5;",b._Q.tablet,"{font-size:13px;}"),t$=(0,r.iv)(".leaflet-top.leaflet-left{top:60px !important;}");b._Q.tablet;let tU=(0,r.iv)("overflow:hidden;background-color:",b.wL.white,";margin-top:15px;padding:25px;",b._Q.tablet,"{padding:25px 20px;}");var tV=(0,n.memo)(function(t){var e,i,o,a,r,p,k,y,w,Z,C,S,M,P;let{detail:z,listItem:B,comment:_,prices:T,breadCrumbData:I,amenities:D,slug:O,faqData:Y,priceParam:Q,providerMap:R,gallery:N,accTypeMap:j,poolData:A,catalogProperties:X,handleAuthModalOpen:F,relatedsPoi:H,poiCities:E,themeWidgetData:G,relatedCatalogLinks:W,isGoogleBot:q,staticInformationQuestions:U,nearByFacilitiesWidgetProps:V,defaultParams:tc}=t,tu=n.useRef(void 0),[ts,tv]=(0,n.useState)({...B,avgRating:null==z?void 0:z.avgRating,category:null==z?void 0:z.category,categoryId:null==z?void 0:z.categoryId,fullLocationSlug:null==z?void 0:z.fullLocationSlug,locationTree:null==z?void 0:z.locationTree,name:null==z?void 0:z.title,locationId:null==z?void 0:z.locationId,catalogAddress:null==z?void 0:z.catalogAddress,latitude:null==z?void 0:z.latitude,longitude:null==z?void 0:z.longitude,slug:O}),[tp,tf]=(0,n.useState)(T),[th,tg]=(0,n.useState)(!1),[tm,tx]=(0,n.useState)(Y),[tb,tk]=(0,n.useState)(A),[ty,tw]=(0,n.useState)(!0),[tP,tz]=(0,n.useState)(!1),tB=(0,n.useCallback)(()=>{tz(!0)},[]),t_=n.useRef(null),tT=n.useRef(null),tI=n.useRef(null),tD=n.useRef(null),tO=n.useRef(null),tL=n.useRef(null),tV=n.useRef(null),tJ=n.useRef(null),tK=n.useRef(null),t0=n.useRef(null),[t1,t2]=(0,n.useState)(Q),[t5,t4]=(0,n.useState)((()=>{let t=1;if(Q){let e=f()(null==Q?void 0:Q.Checkin),i=f()(null==Q?void 0:Q.Checkout);t=Math.abs(e.diff(i,"day",!1))}return t})()),[t3,t6]=(0,n.useState)(()=>t5>1),[t7,t8]=(0,n.useState)(!1),[t9,et]=(0,n.useState)(0),[ee,ei]=(0,n.useState)(!1),el=null,[en,eo]=(0,n.useState)(!1),[ea,er]=(0,n.useState)(!1),[ed,ec]=(0,n.useState)(""),[eu,es]=(0,n.useState)(0),[ev,ep]=(0,n.useState)(ta.g),[ef,eh]=(0,n.useState)(ta.g),{userPersonal:eg}=(0,n.useContext)(tN.S);(0,n.useEffect)(()=>{if(ts.prices){let t=tp?f()(null==tp?void 0:tp.checkOut).diff(null==tp?void 0:tp.checkIn,"day"):1;(0,tS.AB)((0,tS.oe)(ts,R,t,"detay-baslik")),t4(t),t6(!0)}},[null==ts?void 0:ts.prices]);let em=(0,n.useCallback)(()=>{eo(!0)},[z]),ex=(0,n.useCallback)(()=>eo(!1),[]),eb=(0,n.useCallback)(()=>er(!1),[]),ek=(0,n.useCallback)((t,e)=>({checkin:t[0].format("DD-MM-YYYY"),checkout:t[1].format("DD-MM-YYYY"),"kisi-sayisi":e}),[]),ey=(0,n.useCallback)(()=>{var t;let e=null===(t=tT.current)||void 0===t?void 0:t.offsetTop;(0,g.X5)(e,0,"smooth"),tw(!0)},[tT]),ew=(0,n.useCallback)((t,e,i)=>{let l=(0,L.$d)(ek(t,e)),n="";i.length>0&&(n=i.reduce((t,e)=>"".concat(t,"&childs[]=").concat(e),""));let o="".concat(l).concat(n);J().replace("/tesis-detay?slug=".concat(O,"&").concat(o.slice(1)),"/".concat(O,"-fiyatlari/").concat(o),{scroll:!1,shallow:!0})},[J(),ek,O]),eZ=(0,n.useCallback)(function(t,e,i){var l;let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";tg(!0),(0,v.GY)({fls:JSON.stringify({plim:1,poff:0,flsp:[{fid:9,flsg:"catalog",v:z.id}]}),poolData:n,queryParams:JSON.stringify({cin:t[0].format("YYYY-MM-DD"),cout:t[1].format("YYYY-MM-DD"),act:e,cas:i}),slg:O,obj:z.id,src:"Unpaid"},!1,void 0,null==tu?void 0:null===(l=tu.current)||void 0===l?void 0:l.token).then(l=>{var n,o,a,r,d,c;let u=(null===(n=l.body)||void 0===n?void 0:n.poolData)||"";tk(u),u?(el=(0,tM.Z)(()=>eZ(t,e,i,u),700))():tg(!1);let s=null!==(o=null==l?void 0:l.body)&&void 0!==o?o:null;tv({...s||void 0,avgRating:null==z?void 0:z.avgRating,category:null==z?void 0:z.category,categoryId:null==z?void 0:z.categoryId,fullLocationSlug:null==z?void 0:z.fullLocationSlug,locationTree:null==z?void 0:z.locationTree,name:null==z?void 0:z.title,locationId:null==z?void 0:z.locationId,catalogAddress:null==z?void 0:z.catalogAddress,slug:O}),tf(null!==(a=null==s?void 0:s.prices)&&void 0!==a?a:null),tx(ti({prices:null==s?void 0:s.prices,amenities:D,detail:z,listItem:s,catalogProperties:X})),!u&&((0,tS.AB)((0,h.lf)(ts,R,f()(t[1].format("YYYY-MM-DD")).diff(t[0].format("YYYY-MM-DD"),"day"))),(null==s?void 0:null===(d=s.prices)||void 0===d?void 0:null===(r=d.providers)||void 0===r?void 0:r.length)>0&&(0,tS.AB)((0,h.LJ)(null==s?void 0:null===(c=s.prices)||void 0===c?void 0:c.providers)))}).catch(t=>{var e,i;tf(null!==(i=null==t?void 0:null===(e=t.catalogs)||void 0===e?void 0:e.prices)&&void 0!==i?i:null)}).finally(()=>{tg(!1)})},[z.id,O,B,R]),eC=(0,n.useCallback)(async function(t,e,i){var l;let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";await eS(),el&&(await el.cancel(),el=null);let o={...ek(t,e),"childs[]":i};n||(0,tS.AB)((0,h.VP)((0,g.bP)(o),z)),(0,g.vb)(t,e,i),ew(t,e,i),t4(Math.abs(null===(l=t[0].set("hour",12))||void 0===l?void 0:l.diff(t[1].set("hour",12),"day",!1))),eZ(t,e,i,n),t2({Adult:e,Checkin:t[0].format("YYYY-MM-DD"),Checkout:t[1].format("YYYY-MM-DD"),Children:i})},[z,ek]),eS=(0,n.useCallback)(async()=>{(null==tu?void 0:tu.current)&&tu.current.cancel("İstek iptal edildi");let t=tC.BO.source();tu.current=t},[]),eM=(0,n.useCallback)((t,e)=>{if(t.current){var i;let l=null==t?void 0:null===(i=t.current)||void 0===i?void 0:i.offsetTop;(0,g.X5)(l,null!=e?e:-50,"smooth")}},[]),eP=(0,n.useCallback)(()=>{eM(tI)},[eM]),ez=(0,n.useCallback)(()=>{var t;let e=null===(t=tL.current)||void 0===t?void 0:t.offsetTop;(0,g.X5)(e,-50,"smooth"),(0,tS.AB)((0,tS.zg)("Diğer oda fiyatlarını g\xf6r"))},[]),eB=(0,n.useCallback)(()=>{t8(!0),et(1),(0,tS.AB)((0,tS.zg)("Tarih Aralığını Değiştir"))},[tV]);(0,n.useCallback)((t,e,i)=>{eC(t,e,i)},[eC]),(0,n.useEffect)(()=>{A?eC([f()(Q.Checkin),f()(Q.Checkout)],Q.Adult,Q.Children,A):setTimeout(()=>{(0,tS.AB)((0,h.lf)(ts||B,R,f()(t1.Checkout).diff(t1.Checkin,"day")))},500)},[A,B]),(0,n.useEffect)(()=>{tx(Y)},[Y]),(0,n.useEffect)(()=>{(null==T?void 0:T.providers)&&(0,tS.AB)((0,h.LJ)(null==T?void 0:T.providers))},[null==T?void 0:T.providers]);let e_=(0,n.useCallback)(()=>{var t;return(0,l.tZ)($,{loading:th,seeAllClick:ez,listItem:ts,prices:tp,providerMap:R,accTypeMap:j,handlePhoneModalOpen:em,handleNoPriceClick:eB,poolData:tb,setCallData:eh,isTotalPerNight:t3,setIsTotalPerNight:t6,totalNights:f()(null==tp?void 0:tp.checkOut).diff(null==tp?void 0:tp.checkIn,"day")||t5,comment:_,commentsRef:tI,aboutRef:tO,amenities:D,checkin:Q.Checkin,checkout:Q.Checkout,isGoogleBot:q,showSummary:tp&&(null==tp?void 0:null===(t=tp.providers)||void 0===t?void 0:t.length)>0||ty})},[th,A,tp,tf,R,j,em,eB,tb,eh,eC,ts,tv,t3,t6,_,tI,tO,D,Q.Checkin,Q.Checkout,q,ty]);return(0,l.BX)(d.Box,{children:[(0,l.tZ)(x.Z,{detail:z,facility:ts,comment:_,scrollToComment:eP,breadCrumbData:I,handlePhoneModalOpen:em,poiCities:E}),(0,l.BX)(d.Box,{css:tG,children:[(0,l.tZ)(d.Box,{ref:t_,width:"100%",children:(0,l.BX)(d.Flex,{css:[b.z1,tE],flexDirection:["column","column","row","row"],width:"100%",children:[(0,l.tZ)(d.Box,{width:["100%","100%","55%","55%"],children:(0,l.tZ)(tl.Z,{gallery:N,detail:z,facility:ts,providerMap:R,accTypeMap:j,handlePhoneModalOpen:em})}),(0,l.tZ)(d.Box,{ref:tT,width:["100%","100%","45%","45%"],css:tW,children:null===z.catalogPassiveState||void 0==z.catalogPassiveState?(0,l.tZ)(l.HY,{children:e_()}):(0,l.tZ)(d.Flex,{css:tq,children:null===(e=z.catalogPassiveState)||void 0===e?void 0:e.passiveStateMessage})})]})}),(tp&&(null==tp?void 0:null===(i=tp.providers)||void 0===i?void 0:i.length)>0||ty)&&(null===z.catalogPassiveState||void 0==z.catalogPassiveState||(null===(o=z.catalogPassiveState)||void 0===o?void 0:o.passiveStateId)===3)&&!tP&&(0,l.tZ)(K.Z,{genRef:t_,scrollToRef:eM,aboutRef:tO,priceRef:tL,commentRef:tI,locationRef:tD,relatedCatalogRef:tK,faqRef:tJ,catalogType:td.H.Facility,setIsPriceTabClicked:ei,partnerShipRef:t0}),(null===z.catalogPassiveState||void 0==z.catalogPassiveState||(null===(a=z.catalogPassiveState)||void 0===a?void 0:a.passiveStateId)===3)&&(0,l.tZ)(d.Flex,{css:b.z1,children:(0,l.BX)(d.Box,{width:(null===(r=z.catalogPassiveState)||void 0===r?void 0:r.passiveStateId)===3?1:[1,1,1,2/3],mr:[0,0,0,15],children:[(0,l.tZ)(d.Box,{css:tA,children:(0,l.tZ)(tn.default,{externalCss:tX,id:"div-gpt-ad-1711718774105-0"})}),(0,l.tZ)(tn.default,{externalCss:tj,id:"div-gpt-ad-1615282818891-0"}),(0,l.tZ)(d.Box,{ref:tO,children:(tp&&(null==tp?void 0:null===(p=tp.providers)||void 0===p?void 0:p.length)>0||ty)&&(0,l.tZ)(tt.Z,{detail:z,catalogProperties:X,amenities:D,catalogType:td.H.Facility,title:"Otel Hakkında"})}),(tp&&(null==tp?void 0:null===(k=tp.providers)||void 0===k?void 0:k.length)>0||ty)&&(0,l.tZ)(m.Z,{handleAuthModalOpen:F,handleCommentModalOpen:tB,commentsRef:tI,comment:_,detail:z,pageType:"facility"}),(tp&&(null==tp?void 0:null===(y=tp.providers)||void 0===y?void 0:y.length)>0||ty)&&ts&&(0,l.tZ)(d.Box,{ref:tD,children:(0,l.tZ)(c.Z,{listItem:ts,checkin:Q.Checkin,checkout:Q.Checkout,totalNights:tp?f()(null==tp?void 0:tp.checkOut).diff(null==tp?void 0:tp.checkIn,"day"):1,providerMap:R,accTypeMap:j,handlePhoneModalOpen:em,externalCss:t$,setCallData:eh,isGoogleBot:q})}),W&&Object.keys(W).length>0&&(0,l.tZ)(tQ,{relatedCatalogLinks:W})]})}),V.facilityListOfWidget&&(null===(w=V.facilityListOfWidget)||void 0===w?void 0:w.length)>0&&(0,l.tZ)(d.Box,{css:[b.z1,tU],children:(0,l.tZ)(tR.Z,{title:V.facilityWidgetBoxTitle,facilityList:V.facilityListOfWidget,providerMap:R,defaultParams:tc,isNearBy:!0,page:V.page,handleOnExit:t=>{window.location.href="/".concat(t.slug,"-fiyatlari/")},handleOnPhoneCall:t=>{window.location.href="/".concat(t.slug,"-fiyatlari/")},handleOnClickProvider:t=>{window.location.href="/".concat(t.slug,"-fiyatlari/")},providerWidget:V.providerWidget,location:V.location||""})}),G&&(null==G?void 0:G.length)>0&&(null===z.catalogPassiveState||void 0==z.catalogPassiveState)&&(0,l.tZ)(tY,{items:G,title:"Tema Otelleri"}),(!tp||(null==tp?void 0:null===(Z=tp.providers)||void 0===Z?void 0:Z.length)===0)&&!ty&&(null==z?void 0:z.catalogPassiveState)===null&&(0,l.tZ)(d.Box,{css:b.z1,children:(0,l.tZ)(u.Z,{title:null==z?void 0:z.title,onClick:ey})}),(tp&&(null==tp?void 0:null===(C=tp.providers)||void 0===C?void 0:C.length)>0||ty)&&((null==z?void 0:z.catalogPassiveState)===null||(null===(S=z.catalogPassiveState)||void 0===S?void 0:S.passiveStateId)===3)&&(0,l.tZ)(d.Box,{css:[b.z1],ref:tJ,children:(0,l.tZ)(te.Z,{content:tm,title:"Sık\xe7a Sorulan Sorular",externalWrapperCss:tH})}),(0,l.tZ)(s.Z,{containerStyle:tF,show:en,children:(0,l.tZ)(tr.Z,{accTypeMap:j,callData:ef,providerMap:R,id:z.id,onClose:ex,phoneNumber:z.phoneNumber||(null==ts?void 0:ts.phoneNumber)||"",page:"detay"})}),(0,l.tZ)(s.Z,{containerStyle:tF,show:ea,children:(0,l.tZ)(tr.Z,{accTypeMap:j,providerMap:R,callData:ev,id:eu,onClose:eb,phoneNumber:ed,page:V.page})})]}),(null===z.catalogPassiveState||void 0==z.catalogPassiveState)&&(0,l.tZ)(to.Z,{catalogType:td.H.Facility,objectId:z.id,setShow:tz,show:tP,title:null==z?void 0:z.title,locationTree:null!==(P=null==z?void 0:z.locationTree)&&void 0!==P?P:"",image:null==N?void 0:null===(M=N.photos[0])||void 0===M?void 0:M.image,detail:z,rating:null==_?void 0:_.rating,defaultParams:t.defaultParams}),H&&(null==H?void 0:H.length)>0&&(0,l.tZ)(tZ,{relatedsPoi:H})]})}),tJ=i(49855),tK=i(2244),t0=i(31950),t1=!0,t2=function(t){var e,i,r;let{meta:d,query:c,breadcrumbSchema:u,hotelSchema:s,searchItem:v,faqSchema:p,detail:m,gallery:x,defaultParams:b,priceParam:k,listItem:y,isGoogleBot:w,comment:Z,providerNames:C}=t,S=(0,tK.BK)(x);return(0,n.useEffect)(()=>{(0,g.pQ)([f()(k.Checkin),f()(k.Checkout)],b.adultCount,[],v,[],tJ.S.Facility,b)},[v,b,k]),(0,n.useEffect)(()=>{if(y){var t,e,i;let{name:l,objectId:n,deals:o}=y;(0,h.AB)((0,h.tU)(l,n,(null!==(i=null==o?void 0:null===(t=o.bestPrice)||void 0===t?void 0:t.discountPrice)&&void 0!==i?i:null==o?void 0:null===(e=o.bestPrice)||void 0===e?void 0:e.rawPrice)||0)),(0,h.AB)((0,h.w3)(y.name))}},[y]),(0,n.useEffect)(()=>{(0,h.AB)((0,h.VP)((0,g.bP)(null==c?void 0:c.query,!1,b),m))},[]),(0,l.BX)(l.HY,{children:[(0,l.tZ)(o.Z,{imageUrl:(null==x?void 0:null===(e=x.photos)||void 0===e?void 0:e[0].image)&&"".concat(L.Ik,"75/800x600/").concat(null==x?void 0:null===(r=x.photos)||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:i.image),title:d.title,metaTitle:d.title,metaDescription:d.description,breadcrumb:u,faq:p,hotelSchemas:[s],analyticsInput:(0,tS.Cv)((0,g.bP)(null==c?void 0:c.query,!1,b),m,Z,[],x,"tesis",C),imagesToPreload:S,isGoogleBot:w,trackingParameters:[...t0.c],noIndex:!(null==m?void 0:m.metaRobots),adLists:[{id:"div-gpt-ad-1711717474558-0",name:"nkal_w_serit_tepe_1400x50",sizes:[[1400,50]]},{id:"div-gpt-ad-1711718774105-0",name:"nkal_ozel_w_tesis_detay_930x120",sizes:[[930,120]]},{id:"div-gpt-ad-1615282818891-0",name:"nkal_w_detail_footer",sizes:[[930,30],[728,90],"fluid"]},{id:"div-gpt-ad-1615282785648-0",name:"nkal_w_detail_right",sizes:[[300,250],[160,600],[200,200],[300,600],"fluid",[250,250],[336,280],[120,600]]}]}),(0,l.tZ)(a.Z,{children:(0,l.tZ)(tV,{...t})})]})}},2244:function(t,e,i){"use strict";i.d(e,{$2:function(){return s},BK:function(){return d},ZT:function(){return c},bT:function(){return r},pu:function(){return u},z:function(){return a}});var l=i(69767),n=i(31696),o=i(2685);let a=(t,e)=>{let i=[];if(t&&void 0!==t.banners[0]){let e=(0,n.KH)((null==t?void 0:t.banners[0].imageUrl)||"",1920,535);i.push(e)}return(null==e?void 0:e.imageId)?i.push("".concat(l.Ik,"75/680x124/").concat(null==e?void 0:e.imageId)):i.push("".concat(l.kq,"reduced-price-placeholder.jpg")),i},r=t=>{if(t&&void 0!==t[0]){var e,i,n,o,a,r,d,c,u,s,v,p;let f=t=>"".concat(l.Ik,"75/275x190/").concat(t);return[null===(n=t[0])||void 0===n?void 0:null===(i=n.images)||void 0===i?void 0:null===(e=i[0])||void 0===e?void 0:e.image,null==t?void 0:null===(r=t[1])||void 0===r?void 0:null===(a=r.images)||void 0===a?void 0:null===(o=a[0])||void 0===o?void 0:o.image,null==t?void 0:null===(u=t[2])||void 0===u?void 0:null===(c=u.images)||void 0===c?void 0:null===(d=c[0])||void 0===d?void 0:d.image,null==t?void 0:null===(p=t[3])||void 0===p?void 0:null===(v=p.images)||void 0===v?void 0:null===(s=v[0])||void 0===s?void 0:s.image].filter(Boolean).map(t=>f(t))}return[]},d=t=>{var e,i,n;let o=[];if(t&&(null===(e=t.photos)||void 0===e?void 0:e[0])!==void 0){let e=null===(n=t.photos)||void 0===n?void 0:null===(i=n[0])||void 0===i?void 0:i.image;o.push("".concat(l.Ik,"75/619x420/").concat(e))}return o},c=t=>{var e,i,n;let o=[];if(t&&(null===(e=t.photos)||void 0===e?void 0:e[0])!==void 0){let e=null===(n=t.photos)||void 0===n?void 0:null===(i=n[0])||void 0===i?void 0:i.image;o.push("".concat(l.Ik,"75/690x404/").concat(e))}return o},u=t=>{var e,i,l,a,r,d,c,u,s,v;return t&&(null==t?void 0:null===(r=t.attributes)||void 0===r?void 0:null===(a=r.media)||void 0===a?void 0:null===(l=a.data)||void 0===l?void 0:null===(i=l[0])||void 0===i?void 0:null===(e=i.attributes)||void 0===e?void 0:e.url)?[(0,n.Ee)(null==t?void 0:null===(v=t.attributes)||void 0===v?void 0:null===(s=v.media)||void 0===s?void 0:null===(u=s.data)||void 0===u?void 0:null===(c=u[0])||void 0===c?void 0:null===(d=c.attributes)||void 0===d?void 0:d.url,6)]:[o.t0]},s=t=>{if(t&&void 0!==t.catalogs[0]){var e,i,n,o,a,r,d,c,u,s,v,p;let f=t=>"".concat(l.Ik,"75/388x219/").concat(t);return[null===(n=t.catalogs[0])||void 0===n?void 0:null===(i=n.images)||void 0===i?void 0:null===(e=i[0])||void 0===e?void 0:e.image,null===(r=t.catalogs)||void 0===r?void 0:null===(a=r[1])||void 0===a?void 0:null===(o=a.images[0])||void 0===o?void 0:o.image,null===(u=t.catalogs)||void 0===u?void 0:null===(c=u[2])||void 0===c?void 0:null===(d=c.images[0])||void 0===d?void 0:d.image,null===(p=t.catalogs)||void 0===p?void 0:null===(v=p[3])||void 0===v?void 0:null===(s=v.images[0])||void 0===s?void 0:s.image].filter(Boolean).map(t=>f(t))}return[]}}},function(t){t.O(0,[9476,615,7285,2613,8333,7563,3331,3422,3070,2888,9774,179],function(){return t(t.s=46564)}),_N_E=t.O()}]);