"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3070],{69486:function(e,i,t){var l=t(35944),n=t(67294),o=t(70917),r=t(34665),a=t(66455);let d=e=>(0,o.iv)("height:48px;border-radius:2px;box-shadow:0 2px 2px 0 rgba(0,0,0,0.1);width:",e?"".concat(e):"100%",";cursor:pointer;background-color:",r.wL.white,";color:",r.wL.blue3,";border:none;outline-width:0;font-size:12px;border:solid 1px ",r.wL.blue3,";&:hover{border-color:",r.wL.darnishBlue,";color:",r.wL.darnishBlue,";}"),s=(0,o.iv)(r.I8," font-weight:600;");i.Z=n.memo(function(e){let{link:i,label:t,justifyContent:n,width:o,onClick:r,buttonCss:c,defaultLink:p,flexCss:u,hrefCss:h,...x}=e,v=(0,l.tZ)("button",{onClick:r,css:[d(o),c],...x,"data-clickoutside-id":e["data-clickoutside-id"],children:(0,l.tZ)(a.Flex,{css:s,justifyContent:"center","data-clickoutside-id":e["data-clickoutside-id"],children:t})}),g=(null==p?void 0:p.replace(/\/?$/,"/"))||(null==i?void 0:i.replace(/\/?$/,"/"))||"";return(0,l.tZ)(a.Flex,{justifyContent:n||"center",css:u,children:i?(0,l.tZ)("a",{href:g,css:h,children:v}):v})})},65165:function(e,i,t){var l=t(35944),n=t(70917),o=t(34665),r=t(33463);let a=(0,n.iv)("top:5px;left:-5px;position:absolute;z-index:2;background-color:",o.wL.white,';padding:5px 7px 5px 7px;border-top-right-radius:4px;border-bottom-right-radius:4px;box-shadow:0 1px 4px 0 rgba(0,0,0,0.1);&:after{content:" ";position:absolute;width:0;height:0;border-style:solid;border-width:0 5px 5px 0;border-color:transparent ',o.wL.lightGray3," transparent transparent;bottom:-5px;left:0px;}");i.Z=function(e){var i;return(0,l.tZ)(r.Z,{fontSize:12,weight:600,color:o.wL.blue3,css:a,children:null!==(i=e.label)&&void 0!==i?i:"\xd6ne \xc7ıkan"})}},53385:function(e,i,t){var l=t(35944),n=t(67294),o=t(66455),r=t(70917),a=t(57404),d=t(69767),s=t(78707),c=t(34665),p=t(38068),u=t(33463),h=t(16956),x=t(4188);i.Z=function(e){let{sustainableCertificate:i,externalWrapperCss:t,externalPopoverCss:r}=e,f=(0,a.wn)(i),[k,Z]=(0,n.useState)(!1),w=(0,n.useCallback)(e=>{Z(e)},[]),y=n.useRef(null);(0,x.H)(y,()=>w(!1));let B=(0,n.useMemo)(()=>{var e;return(0,l.tZ)(p.Z,{externalCss:[m,r],children:(0,l.BX)(o.Flex,{justifyContent:"space-between",children:[null!==(e=null==f?void 0:f.text)&&void 0!==e?e:(0,l.tZ)(u.Z,{color:c.wL.black,children:(null==f?void 0:f.text)&&"".concat(null==f?void 0:f.text)}),(0,l.tZ)(o.Box,{m:"-8px 4px 0px 0px",children:(0,l.tZ)(h.Z,{css:b,height:16,width:16,onClick:()=>w(!1)})})]})})},[w]);return(0,l.BX)(o.Box,{css:[v,t],ref:y,children:[(0,l.tZ)(s.h,{src:"".concat(d.kq,"surdurulebilir-turizm-sertifikasi-").concat(f.value,".svg"),width:25,height:19,layout:"fixed",alt:f.text,css:g,onClick:()=>w(!0)}),k&&B]})};let v=(0,r.iv)("cursor:pointer !important;display:flex;align-items:left;justify-content:center;margin-right:3px;"),g=(0,r.iv)("cursor:pointer;"),m=(0,r.iv)("font-size:13px;margin-top:22px;"),b=(0,r.iv)("&:hover{cursor:pointer;}")},82221:function(e,i,t){t.d(i,{Z:function(){return G}});var l=t(35944),n=t(66455),o=t(22149),r=t(34665),a=t(67294),d=t(70917),s=t(52642),c=t(63297),p=t(26146);let u=(0,d.iv)("margin-top:-5px;"),h=(0,d.iv)("padding:25px 0px;border-bottom:1px solid ",r.wL.veryLightPink2,";",r._Q.tablet,"{padding:20px 0px;}"),x=(0,d.iv)("margin:0;font-size:16px;",r._Q.tablet,"{font-size:14px;}");var v=function(e){let{amenities:i,catalogType:t}=e,[o,r]=a.useState([]),[d,v]=(0,a.useState)({});a.useEffect(()=>{var e,l;r(t===p.H.Villa?null==i?void 0:null===(e=i.data)||void 0===e?void 0:e.filter(e=>"Kiralık Villa \xd6zellikleri"===e.groupName):t===p.H.Facility?null==i?void 0:null===(l=i.data)||void 0===l?void 0:l.filter(e=>"Tesis \xd6zellikleri"===e.groupName||"Oda \xd6zellikleri"===e.groupName):null==i?void 0:i.data)},[t]);let g=a.useCallback(e=>d[e],[d]),m=a.useCallback(e=>{let i={...d};i[e]=!d[e],v(i)},[d]),b=a.useMemo(()=>null==o?void 0:o.map((e,i)=>{var t;return(0,l.tZ)(n.Box,{css:h,children:(0,l.BX)(c.Z,{html:"",seeMoreText:"Daha fazla \xf6zellik g\xf6r",scrollBack:!0,scrollBackOffset:-80,children:[(0,l.tZ)("h3",{css:x,children:null==e?void 0:e.groupName}),(0,l.tZ)(n.Flex,{flexWrap:"wrap",mt:"12px",children:null==e?void 0:null===(t=e.subGroup)||void 0===t?void 0:t.map((e,i)=>(0,l.tZ)(s.Z,{subgroup:e},i))})]})},i)}),[o,g,m]);return(0,l.tZ)(n.Box,{css:u,children:b})},g=t(33463),m=t(56757),b=t(76472),f=function(e){let{catalogProperties:i}=e,t=a.useMemo(()=>{var e,t;let l=null==i?void 0:i.filter(e=>{var i;return(null==e?void 0:null===(i=e.CatalogProperty)||void 0===i?void 0:i.Code)===z[0]}),n=null==i?void 0:i.filter(e=>{var i;return(null==e?void 0:null===(i=e.CatalogProperty)||void 0===i?void 0:i.Code)===z[1]}),o=null==i?void 0:i.filter(e=>{var i;return C.includes(null==e?void 0:null===(i=e.CatalogProperty)||void 0===i?void 0:i.Code)}),r=null==i?void 0:i.filter(e=>{var i;return(null==e?void 0:null===(i=e.CatalogProperty)||void 0===i?void 0:i.Code)===L[0]}),a=null==i?void 0:null===(e=i.filter(e=>{var i;return(null==e?void 0:null===(i=e.CatalogProperty)||void 0===i?void 0:i.Code)==="villa-giris-saati"})[0])||void 0===e?void 0:e.Value,d=null==i?void 0:null===(t=i.filter(e=>{var i;return(null==e?void 0:null===(i=e.CatalogProperty)||void 0===i?void 0:i.Code)==="villa-cikis-saati"})[0])||void 0===t?void 0:t.Value;return[...r,...a?[{CatalogProperty:{Name:"Giriş \xc7ıkış Saatleri"},Value:"".concat(a," sonrası giriş ").concat(d," \xf6ncesi \xe7ıkış")}]:[],...l,...n,...o]},[i]),o=a.useMemo(()=>{let e=(0,m.By)(null!=t?t:[],10);return null==e?void 0:e.map((e,i)=>(0,l.tZ)("span",{css:w,children:null==e?void 0:e.map((e,i)=>{var t;return e.Value?(0,l.BX)(n.Flex,{className:"good-to-know-item",children:[(0,l.tZ)("h4",{css:y,children:null==e?void 0:null===(t=e.CatalogProperty)||void 0===t?void 0:t.Name}),(0,l.tZ)(g.Z,{fontSize:14,css:B,dangerouslySetInnerHTML:{__html:(0,b.L)(e.Value)},suppressHydrationWarning:!0})]},i):""})},i))},[]);return t&&(null==t?void 0:t.length)>0?(0,l.BX)(n.Box,{css:k,children:[(0,l.tZ)("h3",{css:Z,children:"Bilmekte Fayda Var"}),(0,l.tZ)(c.Z,{html:"",scrollBack:!0,scrollBackOffset:-80,children:o})]}):(0,l.tZ)(l.HY,{})};let k=(0,d.iv)("padding-top:25px;",r._Q.tablet,"{padding-top:20px;}"),Z=(0,d.iv)("font-size:16px;margin:0;",r._Q.tablet,"{font-size:14px;}"),w=(0,d.iv)(".good-to-know-item{padding:14px 0px;min-height:74px;border-bottom:1px solid ",r.wL.veryLightPink2,";",r._Q.tablet,"{min-height:45px;}}&:last-child{.good-to-know-item:last-child{border-bottom:0;margin-bottom:0;}}"),y=(0,d.iv)("margin:0;font-weight:600;font-size:14px;flex-shrink:0;width:160px;padding-right:10px;",r._Q.tablet,"{font-size:12px;width:140px;padding-right:10px;}"),B=(0,d.iv)("line-height:1.5;p{margin:0;}",r._Q.tablet,"{line-height:1.42;font-size:12px;}"),C=["evcil-hayvan","genel-uyarilar","cocuk-bebek-bilgisi","doviz-alim-satim","cocuk-konaklama","ek-bebek-yatagi","checkin-yas-kisitlamasi","iade-edilebilir-depozito","grup-konaklama-sarti","covid-tedbir-bilgisi","bar-sayisi","konferans-salonu-sayisi","iade-guvencesi","dezenfekte-edilmis","konuk-kapasitesi","minimum-konaklama-suresi","yatak-sayisi","kural-tipi","hasar-depozitosu","bebeklere-uygunluk","sigaraya-uygunluk","etkinlige-uygunluk","su-kaydiragi-sayisi","sahil-uzunlugu","kum-ozelligi","restoran-sayisi","villa-banyo-sayisi","villa-tuvalet-sayisi","villa-kat-sayisi","villa-metre-karesi","toplam-kullanim-alani-m2si","villa-sigara-icilebilir-mi","villa-ek-bebek-yatagi","villa-etkinlik-duzenlenebilir-mi","villa-evcil-hayvan-icin-uygun-mu","villa-engelli-bireyler-icin-uygun-mu","villa-restorana-uzaklik","villa-markete-uzaklik","marketin-eve-servisi-var","villa-deniz-plaja-uzaklik","villa-havalimanindan-uzaklik","villa-otogardan-uzaklik","villa-sehir-merkezinden-uzaklik","eczaneye-uzaklik","hastaneye-uzaklik","camiye-uzaklik","villa-bina-yapim-yili","site-icinde","villa-yolu-yokuslu","villa-genel-uyarilar","villa-checkin-yas-kisitlamasi","villa-guvenli-turizm-sertifikasi","villa-hasar-depozitosu","havuz-bakimi-var-mi","bahce-bakimi-var-mi","kahvalti-var-mi","yemek-var-mi"],z=["giris-saati","cikis-saati"],L=["belge-no","belge-no"];var S=t(78707),X=t(69767),F=t(57404);let _=(0,d.iv)("p{margin:0;}"),I=(0,d.iv)("border-bottom:1px solid ",r.wL.veryLightPink2,";div{max-width:175px;font-size:14px;line-height:1.43;}"),Q=["elektrik-ucreti-fiyata-dahil-mi","su-ucreti-fiyata-dahil-mi","isinma-ucreti-fiyata-dahil-mi","odun-ucreti-fiyata-dahil-mi"];var H=function(e){let{description:i,villaInfo:t,deposit:o,catalogProperties:d}=e,s=o||(null==t?void 0:t.deposit),p=(0,a.useCallback)(()=>(null==t?void 0:t.checkinHour)||(null==t?void 0:t.babySuitable)||(null==t?void 0:t.childrenSuitable)||(null==t?void 0:t.disabledPerson)?(0,l.BX)(n.Flex,{mt:"15px",justifyContent:"space-between",pb:"25px",mb:"25px",css:I,children:[(null==t?void 0:t.checkinHour)&&(0,l.BX)(n.Flex,{alignItems:"center",children:[(0,l.tZ)(S.h,{width:"25",height:"25",src:"".concat(X.kq,"clock.svg"),alt:"Giriş - \xc7ıkış"}),(0,l.BX)(n.Box,{ml:"8px",children:[null==t?void 0:t.checkinHour," sonrası giriş ",null==t?void 0:t.checkoutHour," \xf6ncesi \xe7ıkış"]})]}),(null==t?void 0:t.babySuitable)&&(0,l.BX)(n.Flex,{alignItems:"center",children:[(0,l.tZ)(S.h,{width:"25",height:"25",src:"".concat(X.kq,"baby-stroller.svg"),alt:"Bebekli aileler (0-2 yaş) i\xe7in uygundur"}),(0,l.tZ)(n.Box,{ml:"8px",children:"Bebekli aileler (0-2 yaş) i\xe7in uygundur"})]}),(null==t?void 0:t.childrenSuitable)&&(0,l.BX)(n.Flex,{alignItems:"center",children:[(0,l.tZ)(S.h,{width:"25",height:"25",src:"".concat(X.kq,"family.svg"),alt:"\xc7ocuklu aileler (0-12 yaş) i\xe7in uygundur"}),(0,l.tZ)(n.Box,{ml:"8px",children:"\xc7ocuklu aileler (0-12 yaş) i\xe7in uygundur"})]}),(null==t?void 0:t.disabledPerson)&&(0,l.BX)(n.Flex,{alignItems:"center",children:[(0,l.tZ)(S.h,{width:"25",height:"25",src:"".concat(X.kq,"wheelchair.svg"),alt:"Engelli bireyler i\xe7in uygundur"}),(0,l.tZ)(n.Box,{ml:"8px",children:"Engelli bireyler i\xe7in uygundur"})]})]}):(0,l.tZ)(l.HY,{}),[]),u=(0,a.useCallback)(e=>e.indexOf("cm")>0?e.split(" ").filter(e=>e.includes("cm")).length>1?e:(parseInt(e)/100).toFixed(1)+" metre":e.indexOf("m")>0?e.replaceAll("m"," metre"):e,[]),h=()=>{let e=(0,F.dc)(d,"cift-kisilik-yatak-sayisi"),i=(0,F.dc)(d,"tek-kisilik-yatak-sayisi"),t=(0,F.dc)(d,"koltuk-sayisi"),l="";return null!=e&&e>0&&(e>1&&e>1&&i>1?l="Yataklardan ".concat(e," adeti \xe7ift kişilik,"):e>1&&0===i&&(l="Yataklardan hepsi \xe7ift kişiliktir.")),null!=i&&i>0&&(i>1&&i>1&&e>1?l="".concat(l," ").concat(i," adedi tek kişiliktir."):i>1&&0===e&&(l="Yataklardan hepsi tek kişiliktir.")),null!=t&&t>1&&(l="".concat(l," Ayrıca ").concat(t," adet koltuk bulunmaktadır.")),l},x=(0,a.useCallback)(()=>{var e,i,o,a,d,c,p,x;return(null==t?void 0:t.roomCount)||(null==t?void 0:t.bedCount)||(null==t?void 0:null===(e=t.poolSize)||void 0===e?void 0:e.size)||s?(0,l.BX)(n.Box,{pb:"5px",css:r.h$,children:[!!(null==t?void 0:t.roomCount)&&!!(null==t?void 0:t.bedCount)&&(0,l.BX)(n.Box,{alignItems:"center",children:[(0,l.tZ)("h3",{children:"Nerede Uyuyacaksınız?"}),(0,l.BX)(g.Z,{mb:"20px",mt:"10px",children:["Villamızda ",null==t?void 0:t.roomCount," oda ve ",null==t?void 0:t.bedCount," adet yatak bulunmaktadır. ","".concat(h())]})]}),(null==t?void 0:null===(i=t.poolSize)||void 0===i?void 0:i.size)&&(0,l.BX)(n.Box,{alignItems:"center",children:[(0,l.tZ)("h3",{children:"Havuz Bilgisi"}),(null==t?void 0:null===(o=t.poolSize)||void 0===o?void 0:o.depth)?(0,l.BX)(g.Z,{mb:"20px",mt:"10px",children:["Villamızda ",u(null==t?void 0:null===(a=t.poolSize)||void 0===a?void 0:a.size)," metre en,"," ",u(null==t?void 0:null===(d=t.poolSize)||void 0===d?void 0:d.top)," metre boy ve"," ",u(null==t?void 0:null===(c=t.poolSize)||void 0===c?void 0:c.depth)," metre derinliğe sahip havuz bulunmaktadır."," "]}):(0,l.BX)(g.Z,{mb:"20px",mt:"10px",children:["Villamızda ",u(null==t?void 0:null===(p=t.poolSize)||void 0===p?void 0:p.size)," en ve"," ",u(null==t?void 0:null===(x=t.poolSize)||void 0===x?void 0:x.top)+" "," boya sahip havuz bulunmaktadır."]})]}),s&&(0,l.BX)(n.Box,{alignItems:"center",children:[(0,l.tZ)("h3",{children:"Depozito Bilgisi"}),(0,l.BX)(g.Z,{mb:"20px",mt:"10px",lineHeight:"1.4",children:["Villaya girişte"," ",Number(s||"").toLocaleString().replaceAll(",",".")," ","TL depozito \xfccreti alınmaktadır. Villa \xe7ıkışında hasar tespit edilmediği takdirde depozito \xfccreti size iade edilecektir."]})]})]}):(0,l.tZ)(l.HY,{})},[t,s]),v=(0,a.useCallback)(()=>{let e=null==d?void 0:d.filter(e=>Q.includes(e.CatalogProperty.Code)),i=e&&e.filter(e=>"false"===e.Value),t=i&&i.length;if(0===t)return(0,l.tZ)(l.HY,{});if(1===t){let e=i&&i[0].CatalogProperty.Name.split(" ")[0];return(0,l.tZ)(n.Box,{pb:"5px",css:r.h$,children:(0,l.BX)(n.Box,{alignItems:"center",children:[(0,l.tZ)("h3",{children:"Fiyata Dahil Olmayan Hizmetler Nelerdir?"}),(0,l.BX)(g.Z,{mb:"20px",mt:"10px",children:[e," \xfccreti fiyata dahil değildir."]})]})})}{let e=i&&i.map((e,i)=>0===i?e.CatalogProperty.Name.split(" ")[0]:e.CatalogProperty.Name.split(" ")[0].toLocaleLowerCase("tr")),t=e&&e.pop(),o=e&&e.join(", "),a="".concat(o," ve ").concat(t," \xfccreti fiyata dahil değildir.");return(0,l.tZ)(n.Box,{pb:"5px",css:r.h$,children:(0,l.BX)(n.Box,{alignItems:"center",children:[(0,l.tZ)("h3",{children:"Fiyata Dahil Olmayan Hizmetler Nelerdir?"}),(0,l.tZ)(g.Z,{mb:"20px",mt:"10px",children:a})]})})}},[d]);return(0,l.BX)(n.Box,{mt:"10px",children:[i&&(0,l.tZ)(c.Z,{html:i,externalCss:_,notSeeMoreLessLink:!0}),p(),x(),v()]})};let P=[{code:"giris-saati",name:"Giriş Saati"},{code:"cikis-saati",name:"\xc7ıkış Saati"},{code:"tesis-oda-sayisi",name:"Oda Sayısı"},{code:"kat-sayisi",name:"Kat Sayısı"},{code:"tesis-alani",name:"Tesis Alanı"},{code:"bina-yapim-yili",name:"Yapım Yılı"}];var Y=function(e){let{catalogProperties:i}=e,t=a.useMemo(()=>{let e={};return null==i||i.forEach(i=>{var t;(null==i?void 0:null===(t=i.CatalogProperty)||void 0===t?void 0:t.Code)&&(e[i.CatalogProperty.Code]=i.Value)}),e},[i]),o=a.useMemo(()=>(0,l.tZ)(l.HY,{children:P.map((e,i)=>(0,l.BX)(n.Flex,{css:M,flexDirection:"column",children:[(0,l.tZ)(g.Z,{fontSize:14,color:r.wL.brownGrey3,css:j,children:e.name}),(0,l.tZ)(g.Z,{fontSize:14,alignItems:"flex-start",css:O,children:t[e.code]?(0,b.L)(t[e.code]):"-"})]},i))}),[t]);return(0,l.BX)(n.Box,{width:1/4,ml:"120px",children:[(0,l.tZ)(g.Z,{color:r.wL.black,fontSize:16,bold:!0,css:V,children:"Otel Bilgileri"}),(0,l.tZ)(n.Flex,{mt:"12px",flexDirection:"column",children:o})]})};let M=(0,d.iv)("padding-bottom:8px;"),O=(0,d.iv)("word-break:break-word;",r._Q.tablet,"{font-size:12px;}"),V=(0,d.iv)(r._Q.tablet,"{font-size:14px;}"),j=(0,d.iv)(r._Q.tablet,"{font-size:12px;}"),D=(0,d.iv)(r._Q.tablet,"{font-size:12px;}");var N=function(e){let{detail:i,catalogProperties:t}=e;return(0,l.tZ)(c.Z,{html:"",maxHeight:160,notSeeMoreLessLink:!0,children:(0,l.BX)(n.Flex,{justifyContent:"space-between",mt:"13px",children:[(0,l.tZ)(g.Z,{width:3/4,size:14,css:D,dangerouslySetInnerHTML:{__html:i.profile},suppressHydrationWarning:!0}),(0,l.tZ)(Y,{catalogProperties:t})]})})},G=function(e){let{detail:i,catalogProperties:t,amenities:a,title:d,about:s,catalogType:c,villaInfo:u,deposit:h}=e;return(0,l.tZ)(o.Z,{mt:"15px",externalCss:[r.o4,T],children:(0,l.BX)(n.Flex,{flexDirection:"column",children:[(0,l.tZ)("h2",{css:A,children:d}),c===p.H.Villa?(0,l.tZ)(H,{description:s,villaInfo:u,deposit:h,catalogProperties:t}):(0,l.tZ)(N,{detail:i,catalogProperties:t}),(0,l.tZ)(v,{amenities:a,catalogType:c}),(0,l.tZ)(f,{catalogProperties:t})]})})};let A=(0,d.iv)("margin:0;font-size:24px;",r._Q.tablet,"{font-size:18px;}"),T=(0,d.iv)("border:1px solid ",r.wL.veryLightPink2,";border-radius:4px;padding:25px 25px 30px 25px;",r._Q.tablet,"{max-width:100%;width:100%;padding:20px 20px 25px 20px;}")},80332:function(e,i,t){var l=t(35944),n=t(67294);i.Z=n.memo(function(e){let{width:i,height:t,color:n="none",...o}=e;return(0,l.tZ)("svg",{width:null!=i?i:"15px",height:null!=t?t:"15px",viewBox:"0 0 15 15",version:"1.1","aria-label":"Info",xmlns:"http://www.w3.org/2000/svg",...o,children:(0,l.tZ)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,l.tZ)("g",{transform:"translate(-828.000000, -274.000000)",children:(0,l.tZ)("g",{transform:"translate(625.000000, 272.000000)",children:(0,l.BX)("g",{transform:"translate(203.000000, 2.000000)",children:[(0,l.tZ)("polygon",{id:"Path",points:"0 0 15 0 15 15 0 15"}),(0,l.tZ)("path",{d:"M6.875,4.375 L8.125,4.375 L8.125,5.625 L6.875,5.625 L6.875,4.375 Z M6.875,6.875 L8.125,6.875 L8.125,10.625 L6.875,10.625 L6.875,6.875 Z M7.5,1.25 C4.05,1.25 1.25,4.05 1.25,7.5 C1.25,10.95 4.05,13.75 7.5,13.75 C10.95,13.75 13.75,10.95 13.75,7.5 C13.75,4.05 10.95,1.25 7.5,1.25 Z M7.5,12.5 C4.74375,12.5 2.5,10.25625 2.5,7.5 C2.5,4.74375 4.74375,2.5 7.5,2.5 C10.25625,2.5 12.5,4.74375 12.5,7.5 C12.5,10.25625 10.25625,12.5 7.5,12.5 Z",id:"Shape",fill:n,fillRule:"nonzero"})]})})})})})})},75486:function(e,i,t){var l=t(35944),n=t(67294),o=t(66455),r=t(33463),a=t(70917),d=t(1205),s=t(78707),c=t(34665),p=t(18108),u=t(30337),h=t(69767);let x=e=>(0,a.iv)("margin:",e?"0":"8px 27px 0px 0px",";",c._Q.tablet,"{font-size:13px;}"),v=(0,a.iv)("border-radius:5px;"),g=(0,a.iv)("flex-flow:wrap;"),m=(0,a.iv)(c._Q.tablet,"{margin-bottom:-3px;}");i.Z=(0,n.memo)(function(e){let{ratingText:i,rating:t,commentCount:a,scrollToReferance:b,ratingCss:f,ratingTextCss:k,ratingRingsCss:Z,ratingExternalInnerWrapper:w,hideCommentCount:y}=e,B=(0,u.i)().width<=c.Op,C=(0,n.useCallback)(()=>!b&&a&&a>0?(0,l.BX)(r.Z,{color:c.wL.blue3,css:x(!!b),children:[a," yorum / değerlendirme"]}):(0,l.tZ)(l.HY,{}),[a]),z=(0,n.useCallback)(()=>b&&!y&&(0,l.BX)(o.Flex,{onClick:b,justifyContent:"center",alignItems:"center",children:[(0,l.BX)(r.Z,{color:c.wL.blue3,css:x(b),size:15,children:[a," değerlendirme"]}),(0,l.tZ)(p.Z,{css:[(0,c.ci)(90)]})]}),[a]);return(0,l.BX)(l.HY,{children:[(0,l.BX)(o.Flex,{flexDirection:"row",css:g,alignItems:"baseline",children:[(0,l.BX)(r.Z,{fontSize:45,externalCss:f,bold:!0,mb:"-5px",mr:"7px",children:[t,"/5"]}),(0,l.tZ)(r.Z,{fontSize:25,bold:!0,externalCss:[k],children:i})]}),void 0!==a&&a>0||Number(t)?(0,l.BX)(l.HY,{children:[(0,l.BX)(o.Flex,{flexDirection:"row",alignItems:"center",css:[m,w],children:[(0,l.tZ)(s.h,{src:"".concat(h.kq,"logoicon.svg"),width:B?18:19,height:B?16:22,css:v,layout:"fixed",alt:"Neredekal Değerlendirme"}),(0,l.tZ)(o.Box,{children:(0,l.tZ)(d.Z,{rating:t,width:B?14:17,height:B?14:17,externalCss:Z})}),z()]}),C()]}):(0,l.tZ)(l.HY,{})]})})},72711:function(e,i,t){t.d(i,{Z:function(){return et}});var l=t(35944),n=t(66455),o=t(22149),r=t(34665),a=t(67294),d=t(33463),s=t(70917),c=t(38068),p=t(80332),u=function(e){let{isOpen:i,open:t,close:o,children:r,boxCss:a}=e;return(0,l.BX)(n.Flex,{alignItems:"center",css:[x,a],onMouseOver:()=>t(),onMouseLeave:()=>o(),children:[(0,l.tZ)(p.Z,{width:"17px",height:"17px",css:h}),i&&r]})};let h=(0,s.iv)("margin-left:4px;&:hover{cursor:pointer;}"),x=(0,s.iv)("position:relative;");var v=(0,a.memo)(function(e){let[i,t]=a.useState(!1),o=a.useCallback(()=>{t(!0)},[]),s=a.useCallback(()=>{t(!1)},[]),p=a.useMemo(()=>(0,l.tZ)(c.Z,{externalCss:f,children:(0,l.tZ)(n.Flex,{justifyContent:"space-between",children:(0,l.BX)(d.Z,{color:r.wL.black,css:b,children:["Web sitesinde sunulan tesis skor, yorum ve derlemeleri kaynağı ",(0,l.tZ)("strong",{children:"Trustyou"})," ","verileri ve ",(0,l.tZ)("strong",{children:"Neredekal"})," analizlerinden oluşmaktadır."]})})}),[]);return(0,l.BX)(n.Flex,{alignItems:"center",css:g,children:[(0,l.tZ)("h2",{css:m,children:"Yorum / Değerlendirme"}),(0,l.tZ)(u,{open:o,close:s,isOpen:i,children:p})]})});let g=(0,s.iv)(r._Q.tablet,"{display:none;}"),m=(0,s.iv)("margin:0;font-size:24px;"),b=(0,s.iv)("font-size:11px;line-height:16px;margin-right:5px;"),f=(0,s.iv)("width:422px;margin-left:-106px;top:24px;&:before{left:28%;}&:after{left:28%;}");var k=t(97126),Z=t(14014),w=t(46002),y=function(e){let{commentCategoryItem:i,index:t,pageType:o}=e;return(0,l.BX)(n.Flex,{css:B,justifyContent:"space-between",alingnItems:"center",children:[(0,l.tZ)(d.Z,{size:14,width:.175,children:i.reviewerTypeName}),(0,l.tZ)(n.Box,{width:3/4,children:(0,l.tZ)(w.Z,{id:t.toString(),rating:i.rating},t)}),"facility"!==o&&(0,l.tZ)(d.Z,{ml:"15px",size:13,width:.075,children:i.rating})]},t)};let B=(0,s.iv)("&:not(:last-child){margin-bottom:12px;}");var C=t(25206),z=t(18108),L=t(51790);let S={Date:{operator:">",field:"date"},RatingAsc:{operator:"<",field:"rating"},RatingDesc:{operator:">",field:"rating"}},X=[{Label:"Tarih: Yeniden Eskiye",Value:"Date"},{Label:"Puan: D\xfcş\xfckten Y\xfckseğe",Value:"RatingAsc"},{Label:"Puan: Y\xfcksekten D\xfcş\xfcğe",Value:"RatingDesc"}];var F=t(75486),_=t(35109),I=t(69767);let Q=(e,i)=>(0,I.zD)("api/facilityDetail/get-comments".concat((0,I.$d)(e)),"GET",void 0,I.LX.DEFAULT,i);var H=t(11526),P=t(96044),Y=t(1092);let M=(0,s.iv)("align-items:center;font-size:15px;color:",r.wL.blue3,";cursor:pointer;&:hover{text-decoration:underline;}",r._Q.tablet,"{font-size:13px;}"),O=(0,s.iv)("align-items:center;&:hover{cursor:pointer;}"),V=(0,s.iv)(":first-of-type{margin-left:15px;}&:not(:last-child){margin-right:8px;",r._Q.tablet,"{margin-right:7px;}}"),j=(0,s.iv)("margin-top:14px;"),D=(0,s.iv)("&:not(:last-child){margin-bottom:7px;margin-right:7px;}"),N=(0,s.iv)("padding-top:14px;margin-top:15px;border-top:solid 0.7px ",r.wL.veryLightPink2,";"),G=(0,s.iv)("margin-top:15px;padding-right:20px;",r._Q.tablet,"{padding-right:0px;}"),A=(0,s.iv)("margin-top:15px;border:1px solid ",r.wL.veryLightPink2,";border-radius:4px;padding:25px 25px 30px 25px;",r._Q.tablet,"{width:100%;padding:20px 20px 25px 20px;}"),T=(0,s.iv)("padding:0 0 15px 0px;"),K=(0,s.iv)(r._Q.tablet,"{font-size:42px;}"),E=(0,s.iv)("padding-top:15px;"),W=(0,s.iv)("display:flex;flex-direction:row;flex-wrap:wrap;overflow:hidden;@media(min-width:1025px){max-height:130px;}",r._Q.tablet,"{max-height:124px;}"),q=(0,s.iv)("padding-top:30px;",r._Q.tablet,"{padding-top:0px;}"),R=(0,s.iv)("font-size:14px;padding:15px 139px 16px 15px;max-width:194px;"),$=(0,s.iv)("margin-top:6px;"),U=(0,s.iv)("margin-left:2px;",r._Q.tablet,"{margin-left:1px;}"),J=(0,s.iv)("font-size:12px;font-weight:600;padding:12px 28px;border-radius:4px;box-shadow:0 1px 3px 0 rgba(0,0,0,0.12);cursor:pointer;text-align:center;text-decoration:none;"),ee=(0,s.iv)("display:inline;"),ei=(0,s.iv)("margin:0;font-size:18px;",r._Q.tablet,"{font-size:14px;}");var et=(0,a.memo)(function(e){var i,t,s,c,p,u,h;let{comment:x,commentsRef:g,detail:m,handleAuthModalOpen:b,handleCommentModalOpen:f,pageType:w}=e,[B,I]=a.useState(0),[et,el]=a.useState(),[en,eo]=a.useState(1),[er,ea]=a.useState(),[ed,es]=a.useState((null==x?void 0:x.comments)||[]),[ec,ep]=a.useState(ed.length>5),eu=a.useMemo(()=>Math.ceil(((null==x?void 0:x.count)||0)/5),[null==x?void 0:x.comments]),eh=a.useCallback((e,i)=>{el(i),I(e)},[]),ex=a.useCallback(()=>{if(1===en&&ec)return ep(!1);eo(en+1)},[en,ec]),ev=a.useCallback((e,i)=>{let t=S[e];t&&es(i=">"===t.operator?"date"===t.field?i.sort((e,i)=>new Date(i[t.field]).valueOf()-new Date(e[t.field]).valueOf()):i.sort((e,i)=>i[t.field]-e[t.field]):"date"===t.field?i.sort((e,i)=>new Date(e[t.field]).valueOf()-new Date(i[t.field]).valueOf()):i.sort((e,i)=>e[t.field]-i[t.field]))},[]),eg=a.useCallback(e=>{let i=e.target.value;ev(i,ed?[...ed]:[]),ea(i)},[ev,ed]),em=a.useMemo(()=>enex(),children:["Daha fazla yorum g\xf6r"," ",(0,l.tZ)(n.Flex,{css:O,children:(0,l.tZ)(z.Z,{css:(0,r.ci)(90)})})]}):"",[en,null==x?void 0:x.comments,ec]);a.useEffect(()=>{en>1&&Q({id:m.id||(null==m?void 0:m.objectId),skip:(en-1)*5,take:5}).then(e=>{var i,t,l,n;let o=ed?[...ed,...null!==(l=null===(i=e.body)||void 0===i?void 0:i.comments)&&void 0!==l?l:[]]:[...null!==(n=null===(t=e.body)||void 0===t?void 0:t.comments)&&void 0!==n?n:[]];er?ev(er,o):es(o)})},[en]),a.useEffect(()=>{var e,i;(null==x?void 0:x.categories)&&(null==x?void 0:null===(e=x.categories)||void 0===e?void 0:e.length)>0&&el(null==x?void 0:null===(i=x.categories)||void 0===i?void 0:i[0])},[x]);let eb=a.useMemo(()=>{var e;return null==x?void 0:null===(e=x.badges)||void 0===e?void 0:e.slice(0,8).map((e,i)=>(0,l.tZ)(L.Z,{badge:e,externalCss:D},i))},[null==x?void 0:x.badges]),ef=a.useMemo(()=>{var e;return null==x?void 0:null===(e=x.categories)||void 0===e?void 0:e.map((e,i)=>(0,l.tZ)(Z.Z,{size:"small",active:i===B,onClick:()=>eh(i,e),externalCss:V,children:e.categoryName},i))},[null==x?void 0:x.categories,B]),ek=a.useMemo(()=>et&&(null==et?void 0:et.categoryRatingItem.map((e,i)=>(0,l.tZ)(y,{commentCategoryItem:e,index:i,pageType:w},i))),[et]),{isAuthenticated:eZ}=(0,H.q)(H.S),ew=(0,a.useCallback)(()=>{if((0,Y.AB)((0,Y.KN)()),b&&!eZ){b();return}f&&f()},[eZ]);return x&&((null===(i=x.badges)||void 0===i?void 0:i.length)||(null===(t=x.categories)||void 0===t?void 0:t.length)||(null===(s=x.comments)||void 0===s?void 0:s.length)||x.reviewCount||x.count||Number(null==x?void 0:x.rating))?(0,l.BX)(o.Z,{ref:g,externalCss:[r.o4,A],children:[(0,l.tZ)(v,{}),(0,l.BX)(n.Box,{m:"10px 0",children:[(0,l.tZ)(d.Z,{weight:"bold",css:ee,children:(null==m?void 0:m.title)||(null==m?void 0:m.name)})," ","hakkında deneyimlerinizi paylaşmak ister misiniz?",(0,l.tZ)(P.Z,{width:"188px",mt:"10px",buttonCss:J,bgColor:r.wL.blue3,color:r.wL.white,onClick:ew,justifyContent:"flex-start",label:"villa"===w?"Villayı Puanla":"Yorum Yap"})]}),(null==x?void 0:x.count)&&(null==x?void 0:x.count)>0&&Number(null==x?void 0:x.rating)>0?(0,l.BX)(n.Flex,{css:q,children:[(0,l.tZ)(n.Box,{width:.375,children:(0,l.tZ)(F.Z,{rating:null!==(p=null==x?void 0:x.rating)&&void 0!==p?p:1,ratingText:null!==(u=null==x?void 0:x.ratingText)&&void 0!==u?u:"",commentCount:(null==x?void 0:x.count)||x.reviewCount,ratingCss:K,ratingRingsCss:U,ratingExternalInnerWrapper:$})}),(0,l.BX)(n.Box,{width:.625,children:[(null==x?void 0:x.categories)&&(null==x?void 0:null===(c=x.categories)||void 0===c?void 0:c.length)>0&&(0,l.tZ)(k.Z,{css:T,noWrap:!0,children:ef}),(0,l.tZ)(n.Box,{css:G,children:ek})]})]}):(0,l.tZ)(l.HY,{}),ed&&(null==x?void 0:x.badges)&&(null==x?void 0:x.badges.length)>0&&(0,l.BX)(n.Flex,{flexDirection:"column",css:N,children:[(0,l.tZ)("h2",{css:ei,children:"Misafirler Ne Dedi?"}),(0,l.tZ)(k.Z,{noWrap:!0,css:E,children:(0,l.tZ)(n.Flex,{css:W,children:eb})})]}),ed&&ed.length>0&&(0,l.tZ)(n.Flex,{css:j,children:(0,l.tZ)(_.Z,{placeholder:"Sırala",options:X,onSelect:eg,customSelectInput:R})}),(0,l.tZ)(n.Box,{mt:"15px",children:null==ed?void 0:ed.map((e,i)=>ec&&i+1>5?(0,l.tZ)(l.HY,{}):(0,l.tZ)(C.Z,{comment:e},i))}),em]}):(0,l.BX)(o.Z,{ref:g,externalCss:[r.o4,A],children:[(0,l.tZ)(v,{}),(0,l.BX)(n.Box,{m:"10px 0",children:[(0,l.tZ)(d.Z,{weight:"bold",css:ee,children:null!==(h=null==m?void 0:m.title)&&void 0!==h?h:null==m?void 0:m.name})," ","hakkında deneyimlerinizi paylaşmak ister misiniz?",(0,l.tZ)(P.Z,{width:"188px",mt:"10px",buttonCss:J,bgColor:r.wL.white,color:r.wL.blue3,onClick:ew,justifyContent:"flex-start",label:"villa"===w?"Villayı Puanla":"Oteli Puanla"})]})]})})},51790:function(e,i,t){var l=t(35944),n=t(66455),o=t(34665);t(67294);var r=t(70917);let a=(0,r.iv)("font-size:15px;font-weight:600;width:auto;padding:21px 30px 20px 25px;object-fit:contain;border-radius:4px;background-color:",o.wL.paleGrey,";"),d=(0,r.iv)(o._Q.tablet,"{font-size:12px;}");i.Z=e=>{let{badge:i,externalCss:t,externalCountCss:o,...r}=e;return(0,l.BX)(n.Flex,{flexDirection:"column",css:[a,t,d],...r,children:["'",i.name,"'"]})}},93293:function(e,i,t){t.d(i,{Z:function(){return eM}});var l=t(35944),n=t(67294),o=t(70917),r=t(10615),a=t(66455),d=t(22149),s=t(34665),c=t(78707),p=t(16956),u=t(18108),h=t(1092);let x=(0,o.iv)("position:absolute;z-index:2;height:100%;"),v=(0,o.iv)("position:absolute;z-index:2;top:calc(50% - 20px);width:35px;height:35px;border-radius:100%;cursor:pointer;background-color:",s.wL.transparentBlack,";text-align:center;"),g=(0,o.iv)("top:0;right:0;"),m=(0,o.iv)("right:12px;text-align:center;padding:4px 0 0 1px;"),b=(0,o.iv)("left:12px;transform:rotate(180deg);padding-top:4px;");var f=n.memo(function(e){let{onClick:i,position:t}=e,n="left"===t;return(0,l.tZ)(a.Box,{type:"button",onClick:()=>{(0,h.AB)((0,h.tH)(n?"left":"right")),i()},css:[x,!n&&g,v,n?b:m],children:(0,l.tZ)(u.Z,{fill:s.wL.white,size:"26px"})})},()=>!0),k=t(51776),Z=t(31696),w=t(44843),y=t(69767);let B=(0,o.iv)("width:85% !important;height:600px !important;margin:0 !important;",s._Q.tablet,"{height:250px;width:100%;}"),C=(0,o.iv)("position:relative;top:0;left:0;"),z=function(e,i){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,o.iv)("position:relative;object-fit:cover;background-color:black;",t&&"height:380px;"," ",!e&&"cursor: pointer;\n ".concat(s._Q.tablet," {\n height: 296px;\n max-height: 296px;\n min-height: 296px;\n } \n ").concat(!e&&i?"max-height: 380px;":"height: 471px; max-height: 471px;")," \n\n ",e&&"".concat(s._Q.tablet," {\n height: auto;\n min-height: 50vh;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n } height: 70%; width: 75%; left: 50%; top: 50%; transform: translate(-50%, -50%);")," ",e&&t&&"width: 50%; left: 50%; top: 50%; transform: translate(-50%, 0%);")},L=(0,o.iv)("position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);cursor:pointer;"),S=(0,o.iv)("height:100vh;"),X=(0,o.iv)("position:relative;top:50%;transform:translateY(-50%);"),F=(0,o.iv)("position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;"),_=e=>(0,o.iv)("object-fit:contain;background:",s.wL.black,";",e?"aspect-ratio: auto;":"aspect-ratio: 2/1.36;"," @media (min-width:1000px) and (max-width:1359px){object-fit:none;min-height:380px;height:380px;max-height:380px;}",s._Q.tablet,"{object-fit:none;width:346px;min-height:296px;height:296px;}");var I=n.memo(function(e){let{item:i,index:t,isModalOpen:o,toggleModal:r,position:d,hasCategory:s,title:p}=e,[u,x]=(0,n.useState)(!1),v=0===t,[g,m]=(0,n.useState)(!v),b=(0,n.useCallback)(()=>{x(!0)},[]);(0,n.useEffect)(()=>{i.hasVideo&&f("stopVideo")},[d]);let f=(0,n.useCallback)(e=>{var t;let l=document.getElementById("player-".concat(i.image));null==l||null===(t=l.contentWindow)||void 0===t||t.postMessage('{"event":"command","func":"'.concat(e,'","args":""}'),"*")},[]),I=(0,n.useCallback)(()=>{m(!0)},[]),Q=(0,n.useCallback)(()=>{m(!1)},[]),H=()=>{(0,h.AB)((0,h.QF)()),r()},P="".concat(p||"").concat(t>0?" - G\xf6rsel ".concat(t+1):"");return i.hasVideo?(0,l.tZ)(a.Box,{css:o&&S,onClick:H,children:(0,l.tZ)(a.Box,{css:o&&X,children:(0,l.tZ)(a.Box,{css:C,children:u&&o?(0,l.tZ)(k.Z,{videoId:i.image,videoStyle:B}):(0,l.BX)(a.Box,{css:z(o,s,!0),onClick:b,children:[(0,l.tZ)(c.h,{src:"https://img.youtube.com/vi/".concat(i.image,"/0.jpg"),layout:"fill",placeholder:"empty",priority:v,alt:i.title}),(0,l.tZ)(a.Box,{css:L,children:(0,l.tZ)(c.h,{src:"".concat(y.kq,"play-button.svg"),width:"95px",height:"95px",alt:"Play Button"})})]})})})}):(0,l.tZ)(a.Box,{css:o&&S,onClick:H,children:(0,l.BX)(a.Box,{css:[o&&X,z(o,s,!1)],children:[o?(0,l.tZ)(c.h,{layout:"fill",src:(0,Z.KH)(i.image,0,800),css:_(v),placeholder:"empty",priority:v,onLoadStart:I,onLoadingComplete:Q,alt:P},1):(0,l.tZ)(c.h,{layout:"fill",src:(0,Z.KH)(i.image,619,420),css:_(v),placeholder:"empty",priority:v,onLoadStart:I,onLoadingComplete:Q,alt:P},2),g&&(0,l.tZ)(a.Box,{css:F,children:(0,l.tZ)(w.Z,{})})]})})}),Q=t(94019),H=t(14014);let P=(0,o.iv)("font-size:24px;font-weight:600;",s._Q.tablet,"{font-size:20px;}"),Y=(0,o.iv)("font-size:12px;font-weight:normal;padding:8px 15px;border-radius:27.5px;margin-bottom:12px;&:not(:last-child){margin-right:12px;}",s._Q.tablet,"{font-size:12px;}&:hover{text-shadow:none;}"),M=(0,o.iv)("background-color:",s.wL.veryLightPink3,";");var O=n.memo(function(e){var i,t;let{selectedCategoryId:o,setSelectedCategoryId:r,gallery:d}=e,s=(0,n.useCallback)(()=>{var e;return null==d?void 0:null===(e=d.categories)||void 0===e?void 0:e.map((e,i)=>{var t;return(0,l.BX)(l.HY,{children:[0===i&&(0,l.tZ)(H.Z,{active:""===o,onClick:()=>r(""),externalCss:[Y,""===o&&M],children:"T\xfcm Fotoğraflar (".concat((null==d?void 0:null===(t=d.photos)||void 0===t?void 0:t.length)||0,")")},"".concat(i,"-default")),(0,l.tZ)(H.Z,{active:e.id===o,onClick:()=>r(null==e?void 0:e.id),externalCss:[Y,e.id===o&&M],children:"".concat(e.name," (").concat(e.count,")")},i)]})})},[d,o,r]);return(0,l.BX)(l.HY,{children:[(0,l.tZ)(a.Box,{mb:12,css:P,children:o?(null==d?void 0:null===(t=d.categories)||void 0===t?void 0:null===(i=t.find(e=>e.id===o))||void 0===i?void 0:i.name)||"":"Alb\xfcmler"}),(0,l.tZ)(a.Flex,{flexWrap:"wrap",children:s()})]})}),V=t(8882),j=t(63448),D=t(44594),N=t(62209),G=t(27616);let A=(0,o.iv)("padding:20px 25px;box-shadow:0 1px 4px 0 rgba(0,0,0,0.12);border-radius:4px;",s._Q.tablet,"{padding:13px 25px;}"),T=(0,o.iv)("border-left:0.7px solid ",s.wL.veryLightPink2,";height:28px;"),K=(0,o.iv)("font-size:21px;font-weight:600;",s._Q.tablet,"{font-size:14px;}"),E=(0,o.iv)("cursor:pointer;"),W=(0,o.iv)("margin-right:16px;margin-bottom:-5px;display:flex;font-weight:bold;",s._Q.tablet,"{margin-bottom:0;transform:scale(0.8);margin-right:2px;}"),q=(0,o.iv)("font-size:25px;color:",s.wL.blue3,";&:hover{text-decoration:underline;cursor:pointer;}",s._Q.tablet,"{font-size:18px;}"),R=(0,o.iv)("width:24px;height:24px;margin-left:5px;margin-bottom:1px;",s._Q.tablet,"{width:18px;height:18px;margin-bottom:3px;}");var $=n.memo(function(e){let{detail:i,providerMap:t,facility:o,accTypeMap:r,handlePhoneModalOpen:d,onClose:s}=e,c=(0,n.useMemo)(()=>{var e,i,t;return(null==o?void 0:null===(e=o.deals)||void 0===e?void 0:e.bestPrice)?null==o?void 0:null===(i=o.deals)||void 0===i?void 0:i.bestPrice:null==o?void 0:null===(t=o.deals)||void 0===t?void 0:t.heroPrice},[o]),u=(0,n.useCallback)(()=>{d(),(0,N.AB)((0,N.VZ)("call",(null==o?void 0:o.objectId)||0,c||0))},[o]),h=(0,n.useCallback)(()=>{var e;(0,G.NU)({facility:o,providerId:null==c?void 0:c.providerId,price:c||null,accTypeMap:r,providerMap:t,listPosition:1,page:"detay",providerPosition:1,version:null!==(e=null==c?void 0:c.version)&&void 0!==e?e:""}),(0,N.AB)((0,N.VZ)("click",(null==o?void 0:o.objectId)||0,c||0))},[c]),x=(0,n.useCallback)(()=>{(null==o?void 0:o.phoneNumber)!==""&&(null==c?void 0:c.providerId)===V.JB?u():(h(),(0,N.AB)((0,N.VZ)("click",(null==o?void 0:o.objectId)||0,c||0)))},[o,c]);return(0,l.BX)(a.Flex,{css:A,alignItems:"center",justifyContent:"space-between",children:[(0,l.tZ)(a.Box,{css:K,children:i.title}),(0,l.BX)(a.Flex,{alignItems:"center",children:[c&&((null==c?void 0:c.rawPrice)>0||(null==c?void 0:c.discountPrice)>0)&&(0,l.BX)(a.Flex,{alignItems:"center",css:q,onClick:x,children:[(0,l.tZ)(a.Box,{css:W,children:(0,l.tZ)(j.Z,{providerId:c.providerId,providerName:t[c.providerId]})}),(0,l.tZ)(D.Z,{css:R})]}),(0,l.tZ)(a.Box,{mr:20,ml:20,css:T}),(0,l.tZ)(a.Box,{css:E,children:(0,l.tZ)(p.Z,{width:24,height:24,onClick:s})})]})]})});let U=(0,o.iv)("position:relative;height:252px;flex:1 0 420px;cursor:pointer;margin:0px 5px 10px 5px;max-width:calc(33% - 1em);",s._Q.tablet,"{height:119px;flex:1 0 212px;}"),J=(0,o.iv)("object-fit:cover;border-radius:4px;box-shadow:0 1px 15px 0 rgba(0,0,0,0.3);"),ee=(0,o.iv)("position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;"),ei=(0,o.iv)("position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);cursor:pointer;");var et=n.memo(function(e){let{item:i,onClick:t}=e,[o,r]=(0,n.useState)(!0),d=(0,n.useCallback)(()=>{r(!0)},[]),s=(0,n.useCallback)(()=>{r(!1)},[]),p=(0,n.useCallback)(()=>(0,l.BX)(a.Box,{css:U,onClick:t,children:[(0,l.tZ)(c.h,{src:(null==i?void 0:i.hasVideo)?"https://img.youtube.com/vi/".concat(null==i?void 0:i.image,"/0.jpg"):(0,Z.KH)(null==i?void 0:i.image,500,270),layout:"fill",css:J,placeholder:"empty",onLoadStart:d,onLoadingComplete:s,alt:null==i?void 0:i.title}),(null==i?void 0:i.hasVideo)?(0,l.tZ)(a.Box,{css:ei,children:(0,l.tZ)(c.h,{src:"".concat(y.kq,"play-button.svg"),width:"45px",height:"45px",alt:(null==i?void 0:i.title)||"Play Button"})}):null,o&&(0,l.tZ)(a.Box,{css:ee,children:(0,l.tZ)(w.Z,{})})]}),[i,t,o]);return(0,l.tZ)(l.HY,{children:p()})}),el=t(14591);let en=e=>(0,o.iv)("max-height:",e?"173px":"262px",";min-height:",e?"173px":"262px",";height:100%;width:169px;position:relative;cursor:pointer;&:not(:last-child){margin-bottom:5px;}",s._Q.tablet,"{width:100%;margin-bottom:0;min-height:150px;max-height:150px;&:not(:last-child){margin-right:5px;}& img{min-height:150px;max-height:150px;}}"),eo=(0,o.iv)("position:absolute;left:15px;bottom:12px;right:15px;font-size:14px;font-weight:600;line-height:1.21;color:",s.wL.white,";",s._Q.tablet,"{font-size:12px;left:10px;bottom:10px;}"),er=(0,o.iv)("object-fit:cover;filter:brightness(75%);");var ea=n.memo(function(e){var i,t;let{onClick:o,gallery:r}=e,d=((null==r?void 0:null===(i=r.categories)||void 0===i?void 0:i.length)||0)>1,s=((null==r?void 0:null===(t=r.categories)||void 0===t?void 0:t.length)||0)>2,p=e=>i=>{(0,h.AB)((0,h.QF)()),o(e)},u=(0,n.useCallback)(()=>{var e,i;return null==r?void 0:null===(i=r.categories)||void 0===i?void 0:null===(e=i.slice(0,s?3:2))||void 0===e?void 0:e.map((e,i)=>(0,l.BX)(a.Box,{css:en(s),onClick:p(e.id),children:[(0,l.tZ)(c.h,{src:(0,Z.KH)(null==e?void 0:e.mainPhoto,200,200),layout:"fill",css:er,placeholder:"empty",alt:"".concat(null==e?void 0:e.name," Galerisi")}),(0,l.tZ)(a.Box,{css:eo,children:"".concat(null==e?void 0:e.name," (").concat(null==e?void 0:e.count,")")})]},i))},[r,o]);return d?(0,l.tZ)(a.Flex,{flexDirection:["row","row","row","column"],justifyContent:"space-between",width:[1,1,1,168],mt:["5px","5px","5px",0],mr:"5px",children:u()}):null}),ed=t(33463),es=t(27484),ec=t.n(es),ep=t(30337),eu=t(56757);let eh=(e,i)=>(0,o.iv)("position:relative;cursor:pointer;width:calc((100% / 8) - 4px);margin-right:4px;",i?"height: 71px;":"height: 45px;"," ",e?"":"filter: brightness(75%);"," &:last-child{margin-right:0;}&:nth-of-type(8n){width:calc(100% / 8);}"),ex=e=>(0,o.iv)(e?"height: 150px;":"height: 50px;"," flex-direction:",e?"column":"row",";",s._Q.tablet,"{display:none;}"),ev=(0,o.iv)("object-fit:cover;"),eg=e=>(0,o.iv)("width:100%;margin-top:4px;",e?"":"\n &:not(:first-of-type) {\n margin-left: 4px;\n }\n ");var em=n.memo(function(e){let{hasCategory:i,gallery:t,index:o,setCurrentIndex:r,title:d}=e,s=e=>{var i,l;return null==t?void 0:null===(l=t.categories)||void 0===l?void 0:null===(i=l.find(i=>i.id===e))||void 0===i?void 0:i.name},p=(0,n.useMemo)(()=>t&&(null==t?void 0:t.photos.length)>0?(0,eu.By)(null==t?void 0:t.photos.slice(0,16),8):[],[t,o,i,r,8]),u=0,x=(e,i)=>t=>{(0,h.AB)((0,h.QF)()),r(e+8*i)},v=(0,n.useMemo)(()=>p.map((e,t)=>(0,l.tZ)(a.Flex,{width:"100%",css:eg(i),children:e.map((e,n)=>(u++,(0,l.tZ)(a.Box,{onClick:x(n,t),css:eh(o===n+8*t,i),children:(0,l.tZ)(c.h,{src:e.hasVideo?"https://img.youtube.com/vi/".concat(e.image,"/0.jpg"):(0,Z.KH)(null==e?void 0:e.image,71,71),layout:"fill",css:ev,placeholder:"empty",priority:!0,objectFit:"cover",alt:"".concat(d).concat((null==e?void 0:e.categoryId)&&!(null==e?void 0:e.hasVideo)&&s(null==e?void 0:e.categoryId)," - G\xf6rsel ").concat(u)})},n)))},t)),[p,i,o]);return(0,l.tZ)(a.Flex,{css:ex(i),children:v})}),eb=t(65165);let ef=(0,o.iv)("position:relative;padding:0;"),ek=e=>(0,o.iv)(e?"position: fixed;\n overflow: auto;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 9999;\n background-color: rgba(0,0,0,0.4);":""),eZ=(e,i,t)=>(0,o.iv)("position:relative;min-height:220px;background-color:",e?s.wL.black:s.wL.white,";",!e&&"\n ".concat(s._Q.tablet," {\n height: ").concat(i?"296px":"390px",";\n max-height: ").concat(i?"296px":"390px",";\n }\n\n ").concat(t?i?"height: 379px; max-height: 471px;":"height: 471px; max-height: 471px;":"height: 517px; max-height: 517px;")),ew=(0,o.iv)("min-height:180px;background-color:",s.wL.veryLightPink2,";"),ey=(0,o.iv)("position:absolute;bottom:15px;right:15px;background:",s.wL.transparentBlack,";padding:0 10px;height:27px;color:",s.wL.white,";font-size:12px;font-weight:500;line-height:25px;border-radius:4px;z-index:100;display:flex;align-items:center;cursor:pointer;"),eB=(0,o.iv)("position:absolute;cursor:pointer;top:20px;left:25px;color:",s.wL.white,";font-size:15px;font-weight:600;"),eC=(0,o.iv)("position:absolute;bottom:78px;right:25px;color:",s.wL.white,";font-size:16px;font-weight:600;& > span{font-weight:normal;}",s._Q.tablet,"{font-size:12px;}"),ez=(0,o.iv)("position:absolute;right:25px;top:20px;background:",s.wL.transparentBlack,";z-index:100;cursor:pointer;"),eL=(0,o.iv)("position:relative;max-height:100%;top:50%;transform:translateY(-50%);"),eS=(0,o.iv)("position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);"),eX=(0,o.iv)("position:fixed;left:0;top:0;width:98%;height:98%;z-index:9999;backface-visibility:hidden;left:50%;top:50%;transform:translate(-50%,-50%);",s._Q.tablet,"{width:90%;height:90%;}"),eF=(0,o.iv)("background:rgba(0,0,0,0.4);"),e_=(0,o.iv)("overflow:hidden;border-radius:4px;box-shadow:0 1px 15px 0 rgba(0,0,0,0.3);width:98%;height:98%;position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);background-color:",s.wL.white,";",s._Q.tablet,"{width:90%;height:90%;}"),eI=(0,o.iv)("padding:25px 20px;max-height:100%;overflow-y:auto;"),eQ=e=>(0,o.iv)("color:",s.wL.white,";position:absolute;","left"===e?"bottom: 78px":"bottom: 25px",";","left"===e?"".concat(s._Q.tablet," {\n } left: 25px "):"right: 25px",";","left"===e?"".concat(s._Q.tablet," {\n font-size: 12px;\n }\n font-size: 18px;\n font-weight: 600"):"".concat(s._Q.tablet," {\n font-size: 11px;\n }\n font-size: 15px;\n font-weight: normal;\n "),";width:100%;"),eH=(0,o.iv)("border:solid 1px ",s.wL.white,";height:1px;position:absolute;bottom:63px;left:25px;right:25px;"),eP=(0,o.iv)("position:absolute;bottom:17px;right:115px;",s._Q.tablet,"{bottom:18px;right:90px;}"),eY=e=>(0,o.iv)(e?"":"\n position: absolute;\n width: 100%;\n ");var eM=n.memo(function(e){var i,t,o,u,x,v,g;let{detail:m,gallery:b,providerMap:k,accTypeMap:w,handlePhoneModalOpen:B,facility:C,isAuthorized:z}=e,L=(0,ep.i)().width1,j=ec()(null==b?void 0:null===(o=b.photos)||void 0===o?void 0:null===(t=o[F])||void 0===t?void 0:t.createDate),D=(0,n.useCallback)(e=>{_(e)},[b]),N=()=>{X(!0)},G=(0,n.useMemo)(()=>{var e;if(!((null==b?void 0:b.photos.length)<=0))return(0,Z.OV)(b),null==b?void 0:null===(e=b.photos)||void 0===e?void 0:e.map((e,i)=>F===i||F===i+1||F===i-1||(0===F?i===(null==b?void 0:b.photos.length)-1:F===i-1)?(0,l.tZ)(I,{hasCategory:V,position:F,item:e,index:i,isModalOpen:S,toggleModal:()=>N(),title:(null==m?void 0:m.title)||(null==m?void 0:m.name)||""},i):(0,l.tZ)(l.HY,{}))},[b,F,S]),A=(0,n.useMemo)(()=>{let e=null==b?void 0:b.photos;return H&&(e=null==b?void 0:b.photos.filter(e=>e.categoryId===H)),null==e?void 0:e.map((e,i)=>{var t;let n=null==b?void 0:null===(t=b.photos)||void 0===t?void 0:t.findIndex(i=>i.image===e.image);return(0,l.tZ)(et,{item:e,onClick:()=>[_(n),N(),(0,h.AB)((0,h.QF)())]},i)})},[b,H]),T=(0,n.useCallback)(e=>{P(e),M(!0)},[]),K=(0,n.useCallback)(()=>{P(""),M(!1)},[]);return(0,l.BX)(a.Flex,{flexDirection:["column-reverse","column-reverse","column-reverse","row"],children:[(0,l.BX)(Q.Z,{show:Y,containerStyle:eF,contentStyle:e_,children:[(0,l.tZ)($,{detail:m,onClose:K,facility:C,providerMap:k,accTypeMap:w,handlePhoneModalOpen:B}),(0,l.BX)(a.Box,{css:eI,children:[(0,l.tZ)(O,{gallery:b,selectedCategoryId:H,setSelectedCategoryId:P}),(0,l.tZ)(a.Flex,{mt:18,mb:30,flexWrap:"wrap",children:A})]})]}),(0,l.tZ)(ea,{onClick:T,gallery:b}),(0,l.BX)(d.Z,{externalCss:ef,children:[(0,l.BX)(a.Box,{css:ek(S),children:[z&&(0,l.tZ)(a.Box,{children:(0,l.tZ)(eb.Z,{label:"Neredekal Onaylı"})}),(0,l.tZ)(a.Box,{css:[eZ(S,V,b&&(null==b?void 0:b.photos.length)>1),(null==b?void 0:b.photos.length)===0&&ew,S&&eX],children:(null==b?void 0:b.photos.length)>0?(0,l.BX)(l.HY,{children:[(0,l.tZ)(r.lr,{swipeable:!0,showStatus:!1,selectedItem:F,renderArrowPrev:(e,i,t)=>(null==b?void 0:b.photos.length)>1&&(0,l.tZ)(f,{onClick:e,position:"left"}),renderArrowNext:(e,i,t)=>(null==b?void 0:b.photos.length)>1&&(0,l.tZ)(f,{onClick:e,position:"right"}),showThumbs:!1,infiniteLoop:!0,onChange:D,showIndicators:!1,css:[eY(S),S&&eL],children:G}),!S&&(null==b?void 0:b.photos.length)>1&&(0,l.BX)(a.Box,{css:ey,onClick:()=>T(""),children:["T\xfcm\xfcn\xfc g\xf6r (",null==b?void 0:b.photos.length," Fotoğraf)"]}),S&&(0,l.BX)(l.HY,{children:[(0,l.BX)(a.Flex,{alignItems:"center",css:eB,onClick:()=>[X(!1),M(!0)],children:[(0,l.tZ)(el.Z,{}),(0,l.tZ)(a.Box,{ml:"5px",children:"Alb\xfcm"})]}),(0,l.BX)(a.Box,{css:eC,children:[null==b?void 0:null===(x=b.categories)||void 0===x?void 0:null===(u=x.find(e=>{var i,t;return e.id===(null==b?void 0:null===(t=b.photos)||void 0===t?void 0:null===(i=t[F])||void 0===i?void 0:i.categoryId)}))||void 0===u?void 0:u.name,"\xa0\xa0",(0,l.BX)("span",{children:[F+1,"/",null==b?void 0:b.photos.length]})]}),(0,l.tZ)(p.Z,{fill:s.wL.white,width:30,height:30,css:ez,onClick:()=>X(!1)}),(0,l.tZ)(ed.Z,{align:"left",css:eQ("left"),children:(null==b?void 0:null===(g=b.photos)||void 0===g?void 0:null===(v=g[F])||void 0===v?void 0:v.title)||(null==m?void 0:m.title)}),j.isValid()?(0,l.BX)(l.HY,{children:[(0,l.tZ)(a.Box,{css:eP,children:(0,l.tZ)(c.h,{src:"".concat(y.kq,"camera.svg"),layout:"fixed",width:L?18:24,height:L?18:24,alt:null==m?void 0:m.title})}),(0,l.tZ)(ed.Z,{capitalize:!0,align:"right",css:eQ("right"),children:j.format("MMMM YYYY")||""})]}):null,(0,l.tZ)(a.Box,{css:eH})]})]}):(0,l.tZ)(a.Box,{css:eS,children:(0,l.tZ)(c.h,{src:"".concat(y.kq,"no-photo.svg"),layout:"fixed",width:112,height:112,alt:"G\xf6rsel Yok"})})})]}),!S&&(null==b?void 0:b.photos.length)>1&&(0,l.tZ)(em,{gallery:b,hasCategory:V,index:F,setCurrentIndex:_,title:(null==m?void 0:m.title)||(null==m?void 0:m.name)||""})]})]})})},73357:function(e,i,t){t.d(i,{Z:function(){return O}});var l=t(35944),n=t(67294),o=t(33463),r=t(70917),a=t(66455),d=t(34665),s=t(22149),c=t(43519),p=t(8882),u=t(18108),h=t(38068),x=t(16956),v=t(30337),g=t(984),m=t(40131),b=t(86549),f=function(e){let{comment:i,poiCities:t,scrollToComment:r}=e,[s,c]=n.useState(!1),p=(0,v.i)().width<=d.Op,f=n.useCallback(e=>{c(e)},[]),_=n.useCallback(()=>{if(i&&(null==i?void 0:i.badges)&&(null==i?void 0:i.badges.length)>0){let e=i.badges[0],t=null==i?void 0:i.badges.reduce(function(e,i){return e.count>i.count?e:i});return t.count==e.count&&(t=e),t.name}return""},[i]),I=n.useMemo(()=>(0,l.tZ)(h.Z,{externalCss:S,children:(0,l.BX)(a.Flex,{justifyContent:"space-between",children:[(0,l.tZ)(o.Z,{color:d.wL.black,css:L,children:'Kullanıcılar bu tesis i\xe7in en \xe7ok "'.concat(_(),'" şeklinde yorum yaptı.')}),(0,l.tZ)(a.Box,{m:"-8px 4px 0px 0px",children:(0,l.tZ)(x.Z,{css:X,height:16,width:16,onClick:()=>f(!1)})})]})}),[_,f]);return(0,l.BX)(a.Flex,{alignItems:"center",css:k,children:[(null==i?void 0:i.rating)&&(null==i?void 0:i.rating)>0&&(0,l.tZ)(o.Z,{fontSize:18,weight:600,css:Z,children:null==i?void 0:i.rating}),i&&(0,l.BX)(l.HY,{children:[(0,l.tZ)(a.Flex,{onClick:r,children:(0,l.tZ)(o.Z,{fontSize:14,weight:600,css:B,children:null==i?void 0:i.ratingText})}),(null==i?void 0:i.badges)&&(null==i?void 0:i.badges.length)>0&&(0,l.BX)(l.HY,{children:[(0,l.tZ)(o.Z,{color:d.wL.black,fontSize:14,weight:600,css:w,children:_()}),p?(0,l.tZ)(g.Z,{toggle:f,iconCss:C,children:s&&I}):(0,l.tZ)(m.Z,{toggle:f,iconCss:C,children:s&&I})]}),(null==i?void 0:i.count)&&(null==i?void 0:i.count)>0?(0,l.tZ)(a.Flex,{alignItems:"center",css:d.Rx,onClick:r,children:(0,l.BX)(o.Z,{pt:"1px",color:d.wL.blue3,fontSize:14,weight:"normal",css:w,children:[null==i?void 0:i.count," yorum"]})}):(0,l.tZ)(l.HY,{})]}),t&&(0,l.tZ)(a.Flex,{alignItems:"center",css:F,children:t.map((e,i)=>(0,l.BX)(l.HY,{children:[(0,l.tZ)(b.Z,{href:"/".concat(e.slug),title:e.name,children:(0,l.tZ)(o.Z,{css:y,children:e.name})},i),(0,l.tZ)(u.Z,{size:"20",css:z})]}))})]})};let k=(0,r.iv)("margin:15px 40px 0 0;padding:4px 15px;height:29px;border-radius:26px;background-color:",d.wL.paleGrey,";width:fit-content;"),Z=(0,r.iv)("margin:0 3px 0 0;",d._Q.tablet,"{font-size:17px;}"),w=(0,r.iv)('margin:0px 0px 0px 12px;position:relative;padding-left:11px;&:before{content:"";position:absolute;left:0;bottom:1px;height:14px;border-left:1px solid #000;}',d._Q.tablet,"{font-size:13px;}"),y=(0,r.iv)("position:relative;padding-top:1px;color:",d.wL.blue3,";font-size:14px;font-weight:normal;",d._Q.tablet,"{font-size:13px;}"),B=(0,r.iv)("margin:0px 2px 0px 3px;",d._Q.tablet,"{font-size:13px;}"),C=(0,r.iv)("margin:5px 0px 0px 5px;cursor:pointer;"),z=(0,r.iv)("margin:2px 0px 0px 2px;&:hover{cursor:pointer;}"),L=(0,r.iv)("font-size:11px;line-height:16px;margin-right:5px;"),S=(0,r.iv)("width:271px;margin-left:-68px;margin-top:6px;z-index:999;&:before{left:28%;}&:after{left:28%;}"),X=(0,r.iv)("&:hover{cursor:pointer;}"),F=(0,r.iv)('cursor:pointer;position:relative;margin:0px 0px 0px 12px;position:relative;padding-left:11px;&:before{content:"";position:absolute;left:0;height:14px;border-left:1px solid #000;}& > svg:last-child{display:none;}');var _=t(71176),I=t(62209),Q=t(1092),H=t(39565),P=t(53385),Y=t(11526),M=t(26146),O=(0,n.memo)(function(e){var i,t,u;let{detail:h,facility:x,comment:v,scrollToComment:g,breadCrumbData:m,handlePhoneModalOpen:b,poiCities:k,catalogType:Z,authorizationDocumentNumber:w}=e,{userPersonal:y}=(0,n.useContext)(Y.S),B=(0,n.useCallback)(()=>{var e,i,t,l,n,o;let r=(null!==(o=null!==(n=null==x?void 0:null===(i=x.deals)||void 0===i?void 0:null===(e=i.heroPrice)||void 0===e?void 0:e.discountPrice)&&void 0!==n?n:null==x?void 0:null===(l=x.deals)||void 0===l?void 0:null===(t=l.heroPrice)||void 0===t?void 0:t.rawPrice)&&void 0!==o?o:10).toString();(0,I.AB)((0,I.VZ)("call",(null==x?void 0:x.objectId)||0,parseInt(r,10))),(0,I.AB)((0,I.kE)(p.kI.Call,null==x?void 0:x.objectId,Number(r),y.userId)),(0,I.AB)((0,Q.gl)()),b()},[h]);return(0,l.tZ)(a.Box,{css:[d.o4,A],children:(0,l.BX)(s.Z,{externalCss:[N,d.z1,E],children:[(0,l.tZ)(c.Z,{breadCrumbData:m}),(0,l.BX)(a.Flex,{flexDirection:"column",css:T,children:[(0,l.BX)(a.Flex,{alignItems:"center",justifyContent:"space-between",css:K,children:[(0,l.BX)(a.Flex,{alignItems:"center",children:[(null==h?void 0:h.sustainableTourismCertificate)&&(0,l.tZ)(a.Flex,{css:(0,r.iv)("position:relative;"),children:(0,l.tZ)(P.Z,{sustainableCertificate:null==h?void 0:h.sustainableTourismCertificate,externalWrapperCss:R,externalPopoverCss:$})}),(0,l.tZ)(o.Z,{fontSize:18,externalCss:V,bold:!0,children:(0,l.tZ)("h1",{css:D,children:h.title||(null==h?void 0:h.name)})}),(0,l.tZ)(o.Z,{css:j,children:null===(i=h.category)||void 0===i?void 0:i.name}),(0,l.tZ)(H.Z,{count:h.starCount,extraCss:q})]}),Z===M.H.Villa&&w&&(0,l.tZ)(a.Flex,{children:(0,l.tZ)(o.Z,{css:U,children:"K\xfclt\xfcr ve Turizm Bakanlığı - Turizm İşletme Belgesi: ".concat(w)})})]}),(0,l.BX)(a.Flex,{justifyContent:"space-between",css:W,children:[(0,l.tZ)(f,{detail:h,comment:v,poiCities:k,scrollToComment:g}),((null==x?void 0:x.phoneNumber)!==""||h.phoneNumber)&&(null==x?void 0:null===(u=x.deals)||void 0===u?void 0:null===(t=u.heroPrice)||void 0===t?void 0:t.providerId)===p.JB&&(0,l.BX)(a.Flex,{alignItems:"center",justifyContent:"center",css:G,onClick:B,children:[(0,l.tZ)(_.Z,{fill:d.wL.lightGreen,height:"18px",width:"18px"}),"TELEFONA BAK"]})]})]})]})})});let V=(0,r.iv)("margin:0 0 8px;display:flex;align-items:center;"),j=(0,r.iv)("margin:0 0 6px 14px;font-size:16px;font-weight:normal;line-height:normal;padding-left:14px;border-left:1px solid ",d.wL.veryLightPink2,";color:",d.wL.black,";",d._Q.tablet,"{font-size:14px;padding-left:10px;margin:0 0 0 0;border-left:none;}"),D=(0,r.iv)("margin:0;font-size:28px;font-weight:600;",d._Q.tablet,"{font-size:26px;}"),N=(0,r.iv)("padding:0 0 15px 0;width:100%;",d._Q.tablet,"{padding:0;}"),G=(0,r.iv)("color:",d.wL.lightGreen,";height:61px;width:266px;font-weight:600;border-radius:4px;border:solid 2px ",d.wL.lightGreen,";cursor:pointer;position:absolute;right:0;bottom:0;svg{margin-right:7px;}&:hover{color:",d.wL.white,";border-color:",d.wL.lightGreen,";background-color:",d.wL.lightGreen,";svg,path{fill:",d.wL.white,";}}",d._Q.tablet,"{width:149px;height:34px;font-size:11px;align-self:flex-end;svg{display:none;}}"),A=(0,r.iv)("padding:0px 15px;"),T=(0,r.iv)("padding-top:10px;"),K=(0,r.iv)("flex-flow:wrap;"),E=(0,r.iv)("overflow-y:initial;overflow-x:initial;"),W=(0,r.iv)("position:relative;"),q=(0,r.iv)("margin-left:10px;vertical-align:middle;top:30%;transform:translateY(-30%);",d._Q.tablet,"{margin-left:5px;vertical-align:middle;top:0%;transform:translateY(-0%);}"),R=(0,r.iv)("margin-top:-5px;"),$=(0,r.iv)("margin-left:0px;left:0px;&:before{top:0;left:0;margin-left:11px;}&:after{top:0;left:0;margin-left:11px;}"),U=(0,r.iv)("font-size:12px;color:",d.wL.brownGrey,";")},40131:function(e,i,t){var l=t(35944);t(67294);var n=t(66455),o=t(80332);i.Z=function(e){let{toggle:i,iconCss:t,children:r}=e;return(0,l.BX)(n.Box,{css:t,onMouseOver:()=>i(!0),onMouseLeave:()=>i(!1),children:[(0,l.tZ)(o.Z,{width:"19px",height:"19px",color:"black"}),r]})}},984:function(e,i,t){var l=t(35944),n=t(67294),o=t(4188),r=t(66455),a=t(80332);i.Z=function(e){let{toggle:i,iconCss:t,children:d}=e,s=n.useRef(null);return(0,o.H)(s,()=>i(!1)),(0,l.BX)(r.Box,{css:t,ref:s,children:[(0,l.tZ)("span",{onClick:()=>i(!0),children:(0,l.tZ)(a.Z,{width:"19px",height:"19px",color:"black"})}),d]})}},7957:function(e,i,t){var l=t(35944),n=t(67294),o=t(66455),r=t(70917),a=t(33463),d=t(34665),s=t(22149),c=t(5152);let p=t.n(c)()(()=>t.e(404).then(t.bind(t,90404)),{loadableGenerated:{webpack:()=>[90404]},ssr:!1}),u=(0,r.iv)("background-color:",d.wL.white,";padding:25px;",d._Q.tablet,"{padding:20px;}"),h=(0,r.iv)("margin:0;font-size:24px;",d._Q.tablet,"{font-size:18px;}"),x=(0,r.iv)("padding-top:15px;",d._Q.tablet,"{font-size:12px;}");i.Z=(0,n.memo)(function(e){let{listItem:i,checkin:t,checkout:r,providerMap:d,accTypeMap:c,handlePhoneModalOpen:g,totalNights:m,catalogType:b,facilityLocationTree:f,headerInformationText:k,externalCss:Z,setCallData:w,minZoom:y,isGoogleBot:B}=e,C=(0,n.useCallback)(()=>(0,l.BX)(l.HY,{children:[(0,l.tZ)("h2",{css:h,children:"Konum"}),f&&(0,l.tZ)(a.Z,{size:"13",mb:"2px",mt:"20px",children:"Kiralık Villanın konumu: ".concat(null==f?void 0:f.replace(/ >/g,","))}),k&&(0,l.tZ)(a.Z,{size:"13",mb:"2px",mt:"20px",children:k})]}),[]);return(0,l.BX)(s.Z,{mt:"15px",externalCss:[u,v],children:[C(),(0,l.tZ)(o.Box,{css:x,children:(0,l.tZ)(p,{listItem:i,checkin:t,checkout:r,providerMap:d,accTypeMap:c,handlePhoneModalOpen:g,totalNights:m,catalogType:b,externalCss:Z,setCallData:w,minZoom:y,isGoogleBot:B})})]})});let v=(0,r.iv)("border:1px solid ",d.wL.veryLightPink2,";border-radius:4px;",d._Q.tablet,"{max-width:100%;width:100%;}")},52201:function(e,i,t){var l=t(35944),n=t(70917),o=t(66455),r=t(69486),a=t(34665),d=t(18108);let s=(0,n.iv)("background-color:#f0f4f9;font-size:16px;border-radius:4px;height:60px;",a._Q.tablet,"{height:50px;font-size:14px;}");i.Z=function(e){let{title:i,onClick:t}=e;return(0,l.tZ)(o.Box,{py:"20px",children:(0,l.tZ)(r.Z,{label:(0,l.BX)(l.HY,{children:[i," detaylarını g\xf6r ",(0,l.tZ)(d.Z,{})]}),buttonCss:s,onClick:t})})}},4162:function(e,i,t){t.d(i,{Z:function(){return Z}});var l,n,o=t(35944),r=t(70917),a=t(66455),d=t(78707),s=t(22149),c=t(97126),p=t(34665),u=t(11301),h=t(26146),x=t(64416),v=t(63176),g=t(67294);(l=n||(n={}))[l.Genel=1]="Genel",l[l.OdaFiyatlari=2]="OdaFiyatlari",l[l.Yorum=3]="Yorum",l[l.OtelHakkinda=4]="OtelHakkinda",l[l.Konum=5]="Konum",l[l.BenzerOteller=6]="BenzerOteller",l[l.SikSorulanSorular=7]="SikSorulanSorular",l[l.VillaSahibi=8]="VillaSahibi",l[l.PartnerShip=10]="PartnerShip";let m={1:"Genel Bakış",2:"Oda Fiyatları",3:"Yorum/Değerlendirme",4:"Hakkında",5:"Konum",7:"Sık\xe7a Sorulan Sorular",8:"Villa Sahibi"};var b=t(30337),f=t(69767),k=t(1092),Z=function(e){let{genRef:i,priceRef:t,commentRef:l,aboutRef:r,locationRef:Z,relatedCatalogRef:S,faqRef:X,scrollToRef:F,ownerRef:_,catalogType:I,setIsPriceTabClicked:Q,partnerShipRef:H}=e,[P,Y]=(0,g.useState)(n.Genel),M=g.useRef(null),O=(0,v.A)(M),V=(0,x.v)(),j=(0,b.i)().width<=p.Op,D=(0,g.useMemo)(()=>{let e=[];return(null==i?void 0:i.current)&&e.push({label:"Genel Bakış",show:!0,id:n.Genel}),(null==t?void 0:t.current)&&e.push({label:"Oda Fiyatları",show:!0,id:n.OdaFiyatlari}),I==h.H.Facility&&e.push({label:(0,o.tZ)("a",{href:"http://bit.ly/3jIL3Wa",target:"_blank",children:(0,o.tZ)(d.h,{src:"".concat(j?"".concat(f.kq,"/partnership-garanti-bbva-shop-fly-tablet.png"):"".concat(f.kq,"/partnership-garanti-bbva-shop-fly.png")),height:53,alt:"Garanti BBVA Shop Fly"})}),show:!1,id:n.PartnerShip}),I===h.H.Villa&&(null==r?void 0:r.current)&&e.push({label:"Kiralık Villa Hakkında",show:!0,id:n.OtelHakkinda}),(null==l?void 0:l.current)&&e.push({label:"Yorum/Değerlendirme",show:!0,id:n.Yorum}),I!==h.H.Villa&&(null==r?void 0:r.current)&&e.push({label:"Otel Hakkında",show:!0,id:n.OtelHakkinda}),(null==Z?void 0:Z.current)&&e.push({label:"Konum",show:!0,id:n.Konum}),(null==S?void 0:S.current)&&e.push({label:"Yakındaki Oteller",show:!0,id:n.BenzerOteller}),(null==_?void 0:_.current)&&e.push({label:"Villa Sahibi",show:!0,id:n.VillaSahibi}),(null==X?void 0:X.current)&&e.push({label:"Sık Sorulan Sorular",show:!0,id:n.SikSorulanSorular}),e},[i.current,t.current,l.current,r.current,Z.current,S.current,X.current,null==_?void 0:_.current,I]),N=g.useCallback((e,i)=>{if(null==e?void 0:e.current){var t,l;let o=(null===(t=e.current)||void 0===t?void 0:t.offsetTop)-50,r=o+(null===(l=e.current)||void 0===l?void 0:l.scrollHeight);V>o&&V{V&&(N(i,n.Genel),N(t,n.OdaFiyatlari),N(l,n.Yorum),N(r,n.OtelHakkinda),N(Z,n.Konum),N(S,n.BenzerOteller),N(X,n.SikSorulanSorular),N(_,n.VillaSahibi),N(H,n.PartnerShip))},[V,N]);let G=(0,g.useMemo)(()=>D.filter(e=>{let{show:i}=e;return i}).map((e,i)=>{let{label:t,id:l}=e;return(0,o.tZ)(a.Box,{id:l,css:[B(l===P),C(l,I)],children:t},i)}),[P,D]),A=g.useCallback((e,o)=>{switch((0,k.AB)((0,k.IS)(m[e])),e){case n.Genel:F(i,o);break;case n.OdaFiyatlari:F(t,o);break;case n.Yorum:F(l,o);break;case n.OtelHakkinda:F(r,o);break;case n.Konum:F(Z,o);break;case n.BenzerOteller:F(S,o);break;case n.SikSorulanSorular:F(X,o);break;case n.VillaSahibi:F(_,o);break;case n.PartnerShip:F(H,o);break;default:F(i,o)}},[]),T=g.useCallback(e=>{A(parseInt(e,10),-30)},[O,A]);return(0,o.tZ)(o.HY,{children:(0,o.BX)(c.Z,{noWrap:!j,children:[(0,o.tZ)(s.Z,{externalCss:[p.z1,w,O&&z],ref:M,children:(0,o.tZ)(a.Flex,{alignItems:"inherit",css:[p.z1,L],children:(0,o.tZ)(u.m,{setActiveIndex:T,children:G})})}),O&&(0,o.tZ)("div",{css:y})]})})};let w=(0,r.iv)("padding:0 0;background-color:",p.wL.white,";margin-top:15px;height:auto;box-shadow:0 2px 1px 0 rgba(0,0,0,0.1);"),y=(0,r.iv)("height:64px;"),B=e=>(0,r.iv)("text-align:center;font-size:14px;font-weight:500;letter-spacing:0.5px;color:",e?p.wL.blue3:p.wL.black,";",e?"box-shadow: inset 0 -2px 0 0 ".concat(p.wL.blue3,";"):""," &:hover{cursor:pointer;background-color:",p.wL.veryLightPink3,";}"),C=function(e,i){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,r.iv)("padding:",i==h.H.Facility&&10!=e&&t?"18px 17px 0px 20px":"20px 17px 20px 16px",";background-color:",10!=e?"transparent":"#f7f7f7",";",p._Q.tablet,"{padding:",(h.H.Facility,"20px 17px 15px 16px"),";font-size:12px;}")},z=(0,r.iv)("max-width:100%;position:fixed;margin-top:0px;top:0;left:0;z-index:200;"),L=(0,r.iv)("overflow-x:unset;")},74990:function(e,i,t){t.d(i,{Z:function(){return o}});var l=t(23279),n=t.n(l);function o(e,i){return n()(e,i)}}}]);