PageSourceSearch

https://www.ankararestoranlari.com/_next/static/chunks/19qmy056tq6m3.js

js ankararestoranlari.com collected 2026-10-02 23:17:14 UTC 34,508 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,373388,269760,e=>{"use strict";var t=e.i(271645);let s=t.forwardRef(function(e,s){let{title:l,titleId:a,...i}=e;return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":a},i),l?t.createElement("title",{id:a},l):null,t.createElement("path",{fillRule:"evenodd",d:"M7.72 12.53a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 1 1 1.06 1.06L9.31 12l6.97 6.97a.75.75 0 1 1-1.06 1.06l-7.5-7.5Z",clipRule:"evenodd"}))});e.s(["default",0,s],373388);let l=t.forwardRef(function(e,s){let{title:l,titleId:a,...i}=e;return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":a},i),l?t.createElement("title",{id:a},l):null,t.createElement("path",{fillRule:"evenodd",d:"M16.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z",clipRule:"evenodd"}))});e.s(["default",0,l],269760)},683625,e=>{e.q("/_next/static/media/SmileWomanDesktop.2x4qzrcbqlir9.webp")},637090,e=>{"use strict";let t={src:e.i(683625).default,width:140,height:149,blurWidth:8,blurHeight:8,blurDataURL:"data:image/webp;base64,UklGRmwBAABXRUJQVlA4TGABAAAvB8ABEM1VICICHgiADQIAAID5XfQiAQD5CwXuUERKAAAABAAAAEBAQAAAAACAAAAQCAACQElQ+j0GAADwQAByEAAAAM7/bpWuWlFBCAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAApni2rc0DAThCAAAAOP/b/aJ/AQgCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACk7X/6zQPBgEEAAAA4/92hRBIAEKESAAJSAhSCCEAEQAAAAIIgIggEQAAAAEUQABAAANGREgABACgWy/Vu/fad0/6O0YIfACAlhFxnUp7uxdsqu+PNlHcfADBA6pxlnCRsqLC/otVjuAAgXTqjfMgq6icoPNIKw47TP4u629E0+dxqNVWh2ZgylJRJOuwcSGfZEs1f4FhKZaVIDZEFv9Xzu1965MGa3LfiPPz8CcBLcPXYjLT6rHfUrtXFoRk2ZSGKVHnX+76W59kB"};e.s(["default",0,t])},812899,e=>{e.q("/_next/static/media/SmileWomanMobile.1t4-qpamayh50.webp")},732668,e=>{"use strict";let t={src:e.i(812899).default,width:370,height:389,blurWidth:8,blurHeight:8,blurDataURL:"data:image/webp;base64,UklGRmQBAABXRUJQVlA4TFgBAAAvB8ABEM1VICICHgiADQIAAIB1XYcCeJHsQOAnFCkEAQIABAAAgAAQAAQAAAAAAAAQAACEKjgcBbkBAAA8EBAcBAAAgPO/X36+J6MBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgMStf9R4IiBECAADA+d9vQw0gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAoJKt3n4eCAYMAgAAwPnvQgo8AQiQIwgEoBJICCAIEBwAAABIgCgAAgAEUACAAAE6AACAk5QAAgBCj6ba32k/fT2Hzz75ACAmLdSWRddDZS3aod2lsVQAkACXy/JsESIlGfsztHrGAORlRYvlaJLOHYYICZJbcyl7bcpKV8tlstDNJ7KfyvyUg2GhXrTa1twKv7Jf+q1D0WGUrxD/WEb5CIbnfFx9L+v/zxi8NJfO/davl3PT6XUcQbr8KnggzMEjeh9aJw=="};e.s(["default",0,t])},740181,e=>{"use strict";var t=e.i(843476),s=e.i(519455),l=e.i(745400),a=e.i(762372),i=e.i(975157),n=e.i(10175),r=e.i(294972),o=e.i(280389),d=e.i(637090),c=e.i(470501),u=e.i(271645);function x(){var e,s;let l=(0,r.useSite)(),{t:a}=(0,c.useTranslation)(),i=(0,u.useCallback)(()=>{var e,t;let s=null==l||null==(t=l.setting)||null==(e=t.design)?void 0:e.calltoaction;if(null==s?void 0:s["general-quote"])return"site/".concat(l.id,"/assets/").concat(s["general-quote"])},[]);return(0,t.jsx)(n.default,{sizes:"140px",loading:"lazy",loader:i()?void 0:o.default,src:i()||d.default,alt:"".concat(a("venue-offer-image-alt")," ~ ").concat(null==(e=l.descriptions[0])?void 0:e.title),title:"".concat(a("venue-offer-image-alt")," ~ ").concat(null==(s=l.descriptions[0])?void 0:s.title),width:140,height:140,className:"w-[140px] ml-2 absolute",style:{maxWidth:"100%"}})}var m=e.i(304712),p=e.i(862393),f=e.i(711337);function h(e){let{largeButton:n=!0,desktopClassName:r}=e,{t:o}=(0,c.useTranslation)(),d=(0,m.usePlausible)(),u=(0,f.useContactWithVenuesLink)();return(0,t.jsx)(l.Link,{onClick:()=>void d(p.PLAUSIBLE_GOAL_KEYS.CLICK_QUOTE_EVENT,{props:{section:p.CLICK_QUOTE_EVENT_SECTIONS.DESKTOP_BULK_OFFER}}),"aria-label":"".concat(o("quote-button-title")),href:u,children:(0,t.jsxs)("div",{className:(0,i.cn)("md:flex hidden gap-3 mt-20 items-end w-full bg-gradient-to-r from-rose-600 to-pink-700 rounded-[32px]",r),children:[(0,t.jsx)(x,{}),(0,t.jsxs)("div",{className:"flex cursor-pointer h-[90px] justify-between items-center ml-[168px] pr-6 py-4 w-full",children:[(0,t.jsxs)("span",{className:"text-sm font-bold flex flex-col text-white",children:[(0,t.jsx)("span",{className:"text-xs font-medium",children:o("bulk-offer-welcome-title")}),o("bulk-offer-card-description")]}),(0,t.jsxs)("div",{className:"flex gap-4 items-center",children:[(0,t.jsxs)("div",{className:"flex gap-2 items-center text-white",children:[(0,t.jsx)("span",{children:o("bulk-offer-card-short-description")}),(0,t.jsx)(a.default,{className:"size-4 text-xl"})]}),(0,t.jsx)(s.Button,{variant:"white",className:"".concat(n?"w-[261px]":"w-[144px]"," active:scale-100 text-secondary"),children:o("quote-button-title")})]})]})]})})}var g=e.i(95230),A=e.i(453409);e.s(["default",0,function(e){let{largeButton:s=!0}=e,l="mobile"===(0,A.useCurrentDeviceContext)().device;return(0,t.jsxs)("section",{children:[l&&(0,t.jsx)(g.default,{}),!l&&(0,t.jsx)(h,{largeButton:s,desktopClassName:e.desktopClassName})]})}],740181)},95230,e=>{"use strict";var t=e.i(843476),s=e.i(519455),l=e.i(762372),a=e.i(745400),i=e.i(10175),n=e.i(294972),r=e.i(271645),o=e.i(280389),d=e.i(732668),c=e.i(470501);function u(){var e,s;
1let l=(0,n.useSite)(),[a,u]=(0,r.useState)(""),{t:x}=(0,c.useTranslation)();return(0,r.useEffect)(()=>{var e,t;let s=null==l||null==(t=l.setting)||null==(e=t.design)?void 0:e.calltoaction;(null==s?void 0:s["general-quote"])&&u("site/".concat(l.id,"/assets/").concat(s["general-quote"]))},[l]),(0,t.jsx)(i.default,{sizes:"185px",loading:"lazy",loader:a?void 0:o.default,src:a||d.default,alt:"".concat(x("venue-offer-image-alt")," ~ ").concat(null==(e=l.descriptions[0])?void 0:e.title),title:"".concat(x("venue-offer-image-alt")," ~ ").concat(null==(s=l.descriptions[0])?void 0:s.title),width:185,height:194,className:"absolute -left-[53px] top-[-39.29px] w-[185px] h-[194px]"})}var x=e.i(862393),m=e.i(304712),p=e.i(711337);e.s(["default",0,function(){let{t:e}=(0,c.useTranslation)(),i=(0,m.usePlausible)(),n=(0,p.useContactWithVenuesLink)();return(0,t.jsx)(a.Link,{onClick:()=>void i(x.PLAUSIBLE_GOAL_KEYS.CLICK_QUOTE_EVENT,{props:{section:x.CLICK_QUOTE_EVENT_SECTIONS.MOBILE_BULK_OFFER}}),title:e("quote-button-title"),"aria-label":e("quote-button-title"),href:n,children:(0,t.jsx)("div",{className:"flex md:hidden py-6",children:(0,t.jsx)("div",{className:"text-white w-full rounded-[32px] p-6\n            bg-gradient-to-r from-rose-600 to-pink-700 h-[178px] ",children:(0,t.jsxs)("div",{className:"flex relative pl-36 items-end justify-between",children:[(0,t.jsx)(u,{}),(0,t.jsxs)("div",{className:"flex flex-col items-start justify-end",children:[(0,t.jsx)("span",{className:"text-xs font-[500]",children:e("bulk-offer-welcome-title")}),(0,t.jsx)("span",{className:"text-sm font-bold",children:e("bulk-offer-card-description")}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-xs",children:e("bulk-offer-card-short-description")}),(0,t.jsx)(l.default,{className:"size-4"})]}),(0,t.jsx)("div",{className:"mt-5",children:(0,t.jsx)(s.Button,{variant:"white",className:"flex w-[142px] text-secondary justify-center items-center !text-center text-sm font-bold sm:px-2 sm:py-[12px] px-1 py-[3px]",children:e("quote-button-title")})})]})]})})})})}],95230)},540397,e=>{"use strict";var t=e.i(843476),s=e.i(271645),l=e.i(975157),a=e.i(373388),i=e.i(269760),n=e.i(774855),r=e.i(470501);let o=e=>{let{count:s,itemIndex:a,handlePage:i,dotColor:n}=e,{t:o}=(0,r.useTranslation)(),d=Array.from({length:Math.min(s,4)},(e,t)=>(a+t)%s);return(0,t.jsx)(t.Fragment,{children:d.map((e,r)=>{let d=r+4*Math.floor(a/4);return(0,t.jsx)("div",{role:"button","aria-label":o("listpage-carousel-dot-label"),onClick:()=>i(d),className:(0,l.cn)("gray"===n?"border-assistant":"border-white","rounded-full border",a===d?"gray"==n?"bg-primary":"bg-white":"gray"==n?"bg-assistant":"bg-transparent",s-1===d?"w-1 h-1":"w-[6px] h-[6px]")},r)})})};e.s(["default",0,e=>{let{children:d,count:c,itemIndex:u,setItemIndex:x,dotColor:m,showButtons:p,hoverable:f=!0,height:h,aspectRatio:g="1/1"}=e,{t:A}=(0,r.useTranslation)(),[v,b]=(0,s.useState)(!1),[j,w]=(0,s.useState)(0),[y,N]=(0,s.useState)(0),[C,E]=(0,s.useState)(!1),k=()=>{var e,t;return Array.isArray(d)?d:Array.isArray(null==d||null==(e=d.props)?void 0:e.children)?d.props.children.flat():[(null==d||null==(t=d.props)?void 0:t.children)||d]},S=(0,s.useCallback)((0,n.default)(()=>{u!==c-1?x(u+1):x(0)},300),[u,c]),T=(0,s.useCallback)((0,n.default)(()=>{0!==u?x(u-1):x(c-1)},300),[u,c]),_=(0,s.useCallback)((0,n.default)(e=>{x(e)},300),[]);return(0,t.jsxs)("div",{className:"flex justify-end w-full group",children:[(0,t.jsxs)("div",{className:"slide group w-full relative",onTouchStart:e=>{w(e.targetTouches[0].clientX),E(!1)},onTouchMove:e=>{let t=e.targetTouches[0].clientX;Math.abs(j-t)>10&&(e.preventDefault(),E(!0)),N(t)},onTouchEnd:e=>{C&&(e.preventDefault(),j-y>50?S():j-y<-50&&T(),E(!1))},style:{touchAction:"pan-y",WebkitTouchCallout:"none",userSelect:"none"},children:[(0,t.jsx)("div",{className:"relative w-full overflow-hidden",style:{height:h||void 0,aspectRatio:h?void 0:g},children:Array.isArray(k())&&k().map((e,s)=>(0,t.jsx)("div",{className:(0,l.cn)("absolute inset-0 w-full h-full transition-opacity duration-500 ease-in-out",u===s?"opacity-100 z-10":"opacity-0 z-0 pointer-events-none"),children:e},s))}),p&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{"aria-label":A("listpage-carousel-next-label"),onClick:()=>
1T(),className:"".concat(p?"opacity-100 md:opacity-0 z-[9999]":"opacity-0"," ").concat(f?"group-hover:!opacity-100":""," duration-150 absolute items-center left-[8px] text-[12px] w-8 h-8 top-[50%] translate-y-[-50%] rounded-full flex justify-center bg-white text-primary shadow-md"),children:(0,t.jsx)(a.default,{className:"size-4"})}),(0,t.jsx)("button",{"aria-label":A("listpage-carousel-previous-label"),onClick:()=>S(),className:"".concat(p?"opacity-100 md:opacity-0 z-[9999]":"opacity-0"," ").concat(f?"group-hover:!opacity-100":""," duration-150 absolute items-center right-[8px] text-[12px] w-8 h-8 top-[50%] translate-y-[-50%] rounded-full flex justify-center bg-white text-primary shadow-md"),children:(0,t.jsx)(i.default,{className:"size-4"})})]})]}),(0,t.jsx)("div",{className:"flex gap-2 z-10 items-center absolute w-full justify-center bottom-3",children:(0,t.jsx)(o,{itemIndex:u,count:c,handlePage:_,dotColor:m})})]})}])},17096,e=>{"use strict";var t=e.i(843476),s=e.i(745400),l=e.i(294972),a=e.i(811232),i=e.i(271645),n=e.i(194934),r=e.i(470501),o=e.i(590557),d=e.i(869230),c=e.i(469637),u=e.i(499678),x=e.i(770703),m=e.i(10175),p=e.i(685149),f=e.i(68340),h=e.i(335800);let g=i.forwardRef(function(e,t){let{title:s,titleId:l,...a}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},a),s?i.createElement("title",{id:l},s):null,i.createElement("path",{d:"M3.478 2.404a.75.75 0 0 0-.926.941l2.432 7.905H13.5a.75.75 0 0 1 0 1.5H4.984l-2.432 7.905a.75.75 0 0 0 .926.94 60.519 60.519 0 0 0 18.445-8.986.75.75 0 0 0 0-1.218A60.517 60.517 0 0 0 3.478 2.404Z"}))}),A=i.forwardRef(function(e,t){let{title:s,titleId:l,...a}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},a),s?i.createElement("title",{id:l},s):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.076-4.076a1.526 1.526 0 0 1 1.037-.443 48.282 48.282 0 0 0 5.68-.494c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.
1123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"}))}),v=i.forwardRef(function(e,t){let{title:s,titleId:l,...a}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},a),s?i.createElement("title",{id:l},s):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});var b=e.i(618566),j=e.i(540397),w=e.i(609065),y=e.i(453409);function N(e){var s,n;let{t:o}=(0,r.useTranslation)(),[d,c]=(0,i.useState)([]),[u,x]=(0,i.useState)(new Set),p=(0,b.useRouter)(),f=(0,l.useSite)(),{title:h,isVenueListPage:g}=(0,a.useHeaderTitle)(),A=(0,i.useRef)(null),{device:v}=(0,y.useCurrentDeviceContext)(),N=(null==(s=f.setting.venueCard)?void 0:s.numberOfImages)||4;(0,i.useEffect)(()=>{let t;if(!e.photos.length)return;let s=function(){var t;let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N;null==(t=e.photos)||t.slice(s,l).forEach(t=>{let s="/image/venue/".concat(e.id,"/photo/").concat(t.url,"?w=500&quality=60&height=356&format=webp&fit=contain");if(!u.has(s)){let e=new Image;e.src=s,e.onload=()=>{x(e=>new Set(e).add(s))}}})},l=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(s(1,N),l.unobserve(e.target))})},{threshold:.1,rootMargin:"200px"});A.current&&l.observe(A.current);let a=()=>{clearTimeout(t),t=setTimeout(()=>{var e;(null==(e=A.current)?void 0:e.getBoundingClientRect().top)<window.innerHeight&&s(1,N)},200)};return window.addEventListener("scroll",a),()=>{A.current&&l.unobserve(A.current),window.removeEventListener("scroll",a),clearTimeout(t)}},[e.photos,e.id,u]);let C=t=>{var s,l;return o("listpage-card-photo-alt",{venue:"".concat(null==(l=e.descriptions)||null==(s=l[0])?void 0:s.title).concat(g&&h?" - "+h:""),index:t+1})};return(0,t.jsx)("div",{ref:A,className:"relative group overflow-hidden cursor-grab active:cursor-grabbing bg-gray-50",style:{aspectRatio:"1/1",touchAction:"pan-y",WebkitTouchCallout:"none",userSelect:"none"},children:(0,t.jsx)(j.default,{showButtons:!0,hoverable:!0,setItemIndex:e.setCurrentIndex,itemIndex:e.currentIndex,count:null==(n=e.photos)?void 0:n.slice(0,N).length,dotColor:"white",children:Array.isArray(e.photos)&&e.photos.slice(0,N).map((s,l)=>{let a=d.includes(l);return(0,t.jsx)("div",{className:"w-full h-full",style:{aspectRatio:"1/1"},children:a?(0,t.jsx)(w.default,{}):(0,t.jsx)("picture",{children:(0,t.jsx)(m.default,{onClick:()=>{var t,s;return p.push("/".concat(null==(s=f.setting)||null==(t=s.routes)?void 0:t.venueDetail,"/").concat(e.slug,"-").concat(e.districtSlug),{scroll:!0})},unoptimized:!0,onError:()=>{c(e=>[...e,l])},className:"!w-full aspect-square rounded-[32px] bg-center object-cover object-center flex-shrink-0 bg-cover bg-no-repeat",src:"/image/venue/".concat(e.id,"/photo/").concat(s.url,"?w=500&quality=60&height=356&format=webp&fit=contain"),priority:0===l||e.firstPriority,loading:0===l||e.firstPriority?"eager":"lazy",width:356,height:356,alt:C(l),title:C(l),style:{maxWidth:"100%",backgroundColor:"#f5f5f5"}})})},l)})})})}var C=e.i(223082),E=e.i(192974),k=e.i(324789),S=e.i(282018),T=e.i(711337),_=e.i(304712),D=e.i(519455),I=e.i(862393),B=e.i(909261);let L=(0,x.default)(()=>e.A(328954),{loadableGenerated:{modules:[832835]}}),z=(0,x.default)(()=>e.A(955233),{loadableGenerated:{modules:[814621]}});e.s(["default",0,function(e){var x,b,j,w,O,M,P,F,U,R,Q,V,K,q,G,W,H,J,X,Y,Z,$,ee,et,es,el;let{slug:ea,title:ei,description:en,address:er}=(null==e||null==(b=e.descriptions)?void 0:b[0])||{},eo=(0,l.useSite)(),{title:ed,isVenueListPage:ec}=(0,a.useHeaderTitle)(),{setVenue:eu}=(0,n.useVenueDetail)(),{t:ex}=(0,r.useTranslation)(),{device:em}=(0,y.useCurrentDeviceContext)(),ep="mobile"===em,[ef,eh]=(0,i.useState)(!1),[eg,eA]=(0,i.useState)(!1),[ev,eb]=(0,i.useState)(0),ej=()=>{var t;return(null==(t=e.photos)?void 0:t[0])?"venue/".concat(e.id,"/photo/").concat(e.photos[0].url):e.logo?"venue/".concat(e.id,"/").concat(e.logo):p.DEFAULT_IMAGES.VENUE_LOGO},[ew,ey]=(0,i.useState)(ej);(0,i.useEffect)(()=>{ey(ej())},[e.id,e.logo,e.photos,e.manager]);let eN=()=>{var t,s;return"".concat(null==(s=e.descriptions)||null==(t=s[0])?void 0:t.t
1itle).concat(ec&&ed?" - "+ed:"")},eC=ex(o.GLOBAL_VENUE_DISCOUNT_PERCENT_KEY),eE=e.discounts&&e.discounts.length>0?Math.max(...e.discounts.map(e=>e.percent)):0,ek=()=>{var t,s;return(null==(t=e.discounts)||!t.find(e=>(null==e?void 0:e.percent)==0))&&((null==(s=e.discounts)?void 0:s.length)>0||eC!==o.GLOBAL_VENUE_DISCOUNT_PERCENT_KEY)},eS="company"===e.type&&(null==(j=e.companyDatas)?void 0:j.discount),eT=(null==eo||null==(O=eo.setting)||null==(w=O.disabledPages)?void 0:w.company)!==1,e_="company"!==e.type&&"number"==typeof e.index,eD=e_&&eT&&e.index%2==1,eI=e_&&!eD,eB=eS||eD,eL=function(e){var t;let s=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{data:l}=(t={queryKey:["venue-company-max-discount",e],queryFn:()=>(0,u.default)({route:"company/venue/".concat(e,"?index=0")}),enabled:s&&!!e,staleTime:36e5},(0,c.useBaseQuery)(t,d.QueryObserver,void 0)),a=null==l?void 0:l.data;if(!Array.isArray(a)||0===a.length)return null;let i=a.map(e=>Number(e.discount)).filter(e=>Number.isFinite(e)&&e>0);return 0===i.length?null:Math.max(...i)}(e.id,eB),ez=null!=(x=null!=eL?eL:null==(M=e.companyDatas)?void 0:M.discount)?x:null,eO=ez?ex("listpage-card-company-discount-badge",{discountPercent:ez}):ex("listpage-card-company-discount-label"),eM=(0,T.useContactWithVenuesLink)(),eP=ex("quote-button-title"),eF=(0,_.usePlausible)(),eU=()=>{var t;eF(I.PLAUSIBLE_GOAL_KEYS.CLICK_QUOTE_EVENT,{props:{title:ei,district:null==(t=e.district)?void 0:t.title,section:I.CLICK_QUOTE_EVENT_SECTIONS.VENUE_CARD}})},eR=e.serviceSlug&&(null==(U=e.services)||null==(F=U.find(t=>{var s,l,a;return(null==t||null==(a=t.service)||null==(l=a.descriptions)||null==(s=l[0])?void 0:s.slug)===e.serviceSlug}))||null==(P=F.description)?void 0:P.trim())||"",eQ=(null==(Q=e.hours)||null==(R=Q.description)?void 0:R.trim())||"",eV=t=>{t.stopPropagation(),t.preventDefault(),eu(e),eh(!0)},eK=t=>{t.stopPropagation(),t.preventDefault(),eu(e),eA(!0)},eq=(0,k.default)(),eG=(0,S.default)(),eW=(null==(V=e.discounts)?void 0:V.length)?eE:eC,eH=e.whatsappPhoneNumber?eq({tag:B.WHATSAPP_TAGS.DISCOUNT,phone:e.whatsappPhoneNumber,translateValues:eG.getContext({venue:ei,"discount-visitors":eW})}):"",eJ=e=>{e.stopPropagation()},eX=e.map_latitude&&e.map_longitude?"https://www.google.com/maps/dir/?api=1&destination=".concat(e.map_latitude,",").concat(e.map_longitude):"",eY="h2"===e.titleHeadingLevel?"h2":"h3";return(0,t.jsxs)("article",{className:"relative bg-white border border-[#d9d9d9] md:border-[#ededed] rounded-[20px] md:rounded-[18px] p-4 md:p-0 w-full max-w-[402px] hover:shadow-lg md:shadow-[0px_1px_5.3px_0px_rgba(0,0,0,0.25)] md:hover:shadow-[0px_2px_8px_0px_rgba(0,0,0,0.3)] transition-shadow duration-200 cursor-pointer md:overflow-hidden",children:[ef&&(0,t.jsx)(L,{addressLink:"https://www.google.com/maps/search/".concat(e.map_latitude||0,", ").concat(e.map_longitude||0),isOpen:ef,onClose:()=>eh(!1)}),eg&&(0,t.jsx)(z,{id:e.id,isOpen:eg,onClose:()=>eA(!1)}),ep&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"flex items-center gap-1.5 mb-3",children:(0,t.jsx)(eY,{className:"flex-1 min-w-0 font-semibold text-[16px] text-black tracking-[-0.16px] truncate",style:{fontFamily:"'DM Sans', sans-serif"},children:ei})}),(0,t.jsxs)("div",{className:"flex gap-3",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-[95px] h-[95px] rounded-[10px] overflow-hidden",children:(0,t.jsx)(m.default,{width:95,height:95,src:ew,alt:ei||"",title:ei||"",onError:()=>ey(p.DEFAULT_IMAGES.VENUE_LOGO),className:"w-full h-full object-cover",loading:e.firstPriority?"eager":"lazy"})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0 flex flex-col h-[95px]",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 flex-nowrap min-w-0",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5 bg-[#f4f4f4] rounded-[10.87px] px-2 py-0.5 shrink-0",children:[(0,t.jsx)(f.default,{className:"size-2.5 text-[#9f9f9f]"}),(0,t.jsx)("span",{className:"text-[#9f9f9f] text-[11px] font-medium tracking-[-0.11px] truncate",style:{fontFamily:"'DM Sans', sans-serif"},children:null==(G=e.plan)||null==(q=G.descriptions)||null==(K=q[0])?void 0:K.title})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1.5 bg-[#f4f4f4] rounded-[10.87px] px-2 py-0.5 min-w-0",children:[(0,t.jsx)(h.default,{className:"size-2.5 text-[#9f9f9f] shrink-0"}),(0,t.jsxs)("span",{className:"text-[#9f9f9f] text-[11px] font-medium tracking-[-0.11px] truncate",style:{fontFamily:"'DM Sans', sans-serif"},children:[null==(W=e.district)?void 0:W.title,", ",null==(H=e.city)?void 0:H.title]})]})]}),void 0!==e.distance&&(0,t.jsxs)("div",{className:"mt-1.5 flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5 pl-2",children:[(0,t.jsx)(h.default,{className:"size-3 text-[#ef4444]"}),(0,t.jsx)("span",{className:"text-[#ef4444] text-[13px] font-medium tracking-[-0.13px]",style:{fontFamily:"'DM Sans', sans-serif"},children:(0,C.formatDistance)(e.distance)})]}),eX&&(0,t.jsx)("a",{href:eX,target:"_blank",rel:"noopener noreferrer",onClick:eJ,"aria-label":ex("listpage-card-directions-label"),className:"z-20 inline-flex items-center justify-center size-7 rounded-full bg-[#f4f4f4] text-[#525252] hover:bg-[#e5e5e5] transition-colors",children:(0,t.jsx)(g,{className:"size-3.5 -rotate-45"})})]}),er&&(0,t.jsx)("p",{className:"mt-auto text-[12px] text-[#6f6f6f] tracking-[-0.12px] line-clamp-2 leading-[1.35]",style:{fontFamily:"'DM Sans', sans-serif"},children:er})]})]}),eQ&&(0,t.jsxs)("div",{className:"flex items-start gap-1.5 mt-3",children:[(0,t.jsx)(v,{"aria-label":ex("listpage-card-working-hours-label"),className:"size-3.5 text-[#737373] flex-shrink-0 mt-0.5"}),(0,t.jsx)("p",{className:"text-[12px] text-[#6f6f6f] tracking-[-0.12px] line-clamp-2 leading-[1.35]",style:{fontFamily:"'DM Sans', sans-serif"},children:eQ})]}),eR&&(0,t.jsxs)("div",{className:"flex items-start gap-1.5 mt-3",children:[(0,t.jsx)(A,{"aria-label":ex("listpage-card-description-label"),className:"size-3.5 text-[#737373] flex-shrink-0 mt-0.5"}),(0,t.jsx)("p",{className:"text-[12px] text-[#6f6f6f] tracking-[-0.12px] line-clamp-2 leading-[1.35]",style:{fontFamily:"'DM Sans', sans-serif"},children:eR})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 mt-4",children:[ek()&&e.whatsappPhoneNumber?(0,t.jsx)("div",{onClick:eJ,className:"z-20 shrink-0 whitespace-nowrap",children:(0,t.jsx)(E.default,{section:B.WHATSAPP_SECTIONS.DISCOUNT,venueId:e.id,title:ex("listpage-card-ask-discount-button",{discountPercent:eW}
1),href:eH,className:"inline-flex items-center justify-center w-[95px] h-[34px] px-1.5 bg-white border border-[#e5e5e5] rounded-lg text-[12px] font-medium text-[#525252] hover:bg-gray-50 transition-colors whitespace-nowrap",children:(0,t.jsxs)("span",{className:"whitespace-nowrap",style:{fontFamily:"'DM Sans', sans-serif",whiteSpace:"nowrap"},children:["%",eW," İndirim"]})})}):e_?(0,t.jsx)("div",{"aria-hidden":"true",className:"invisible pointer-events-none shrink-0 whitespace-nowrap",children:(0,t.jsx)("span",{className:"inline-flex items-center justify-center w-[95px] h-[34px] px-1.5 border border-transparent rounded-lg text-[12px] font-medium whitespace-nowrap",style:{fontFamily:"'DM Sans', sans-serif"},children:"%10 İndirim"})}):null,eS&&(0,t.jsx)("button",{onClick:eK,className:"h-[34px] px-3 bg-white border border-[#e5e5e5] rounded-lg text-[13px] font-medium text-[#525252] hover:bg-gray-50 transition-colors z-20 whitespace-nowrap shrink-0",style:{fontFamily:"'DM Sans', sans-serif"},children:ex("listpage-card-company-discount-badge",{discountPercent:ez})}),e_&&(0,t.jsxs)("div",{className:"flex-1 min-w-0 flex justify-center z-20",children:[eD&&(0,t.jsx)("button",{onClick:eK,className:"h-[34px] px-3 bg-white border border-[#e5e5e5] rounded-lg text-[13px] font-medium text-[#525252] hover:bg-gray-50 transition-colors whitespace-nowrap",style:{fontFamily:"'DM Sans', sans-serif"},children:eO}),eI&&(0,t.jsx)(s.Link,{href:eM,onClick:eU,prefetch:!1,title:eP,"aria-label":eP,children:(0,t.jsx)(D.Button,{"aria-label":eP,variant:"gradient",className:"!h-[34px] md:!h-[36px] flex items-center font-bold text-[13px] justify-center gap-2 px-2.5 md:px-4 rounded-lg md:rounded-[10px] whitespace-nowrap",children:eP})})]}),(0,t.jsx)("button",{onClick:eV,className:"h-[34px] px-4 bg-[#20b038] rounded-lg text-[13px] font-semibold text-white z-20 hover:bg-[#1a9930] transition-colors shrink-0 ".concat(e_?"":"ml-auto"),style:{fontFamily:"'DM Sans', sans-serif"},children:"İletişim"})]})]}),!ep&&(0,t.jsxs)("div",{className:"p-3",children:[(0,t.jsx)("div",{className:"rounded-[12px] overflow-hidden",children:(0,t.jsx)(N,{id:e.id,photos:e.photos||[],descriptions:e.descriptions,firstPriority:e.firstPriority,setCurrentIndex:eb,currentIndex:ev,slug:ea||"",districtSlug:(null==(J=e.district)?void 0:J.slug)||""})}),(0,t.jsxs)("div",{className:"pt-3 px-1",children:[(0,t.jsx)("div",{className:"flex items-center gap-1.5 mb-1.5",children:(0,t.jsx)(eY,{className:"font-semibold text-[17px] text-black truncate",style:{fontFamily:"'DM Sans', sans-serif"},children:ei})}),(0,t.jsxs)("div",{className:"flex items-center gap-1.5 flex-nowrap min-w-0 mb-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1 bg-[#f5f5f5] rounded-full px-2 py-0.5 shrink-0",children:[(0,t.jsx)(f.default,{className:"size-2.5 text-[#a3a3a3]"}),(0,t.jsx)("span",{className:"text-[#a3a3a3] text-[11px] font-medium truncate",style:{fontFamily:"'DM Sans', sans-serif"},children:null==(Z=e.plan)||null==(Y=Z.descriptions)||null==(X=Y[0])?void 0:X.title})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1 text-[#a3a3a3] min-w-0",children:[(0,t.jsx)(h.default,{className:"size-2.5 shrink-0"}),(0,t.jsxs)("span",{className:"text-[11px] font-medium truncate",style:{fontFamily:"'DM Sans', sans-serif"},children:[null==($=e.district)?void 0:$.title,", ",null==(ee=e.city)?void 0:ee.title]})]})]}),void 0!==e.distance&&(0,t.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1 text-[#ef4444]",children:[(0,t.jsx)(h.default,{className:"size-3"}),(0,t.jsx)("span",{className:"text-[12px] font-medium",style:{fontFamily:"'DM Sans', sans-serif"},children:(0,C.formatDistance)(e.distance)})]}),eX&&(0,t.jsx)("a",{href:eX,target:"_blank",rel:"noopener noreferrer",onClick:eJ,"aria-label":ex("listpage-card-directions-label"),className:"z-20 inline-flex items-center justify-center size-7 rounded-full bg-[#f5f5f5] text-[#525252] hover:bg-[#e5e5e5] transition-colors",children:(0,t.jsx)(g,{className:"size-3.5 -rotate-45"})})]}),er&&(0,t.jsx)("p",{className:"mb-3 text-[12px] text-[#6f6f6f] tracking-[-0.12px] line-clamp-2 leading-[1.35]",style:{fontFamily:"'DM Sans', sans-serif"},children:er}),eQ&&(0,t.jsxs)("div",{className:"flex items-start gap-1.5 mb-3",children:[(0,t.jsx)(v,{"aria-label":ex("listpage-card-working-hours-label"),className:"size-3.5 text-[#737373] flex-shrink-0 mt-0.5"}),(0,t.jsx)("p",{className:"text-[12px] text-[#6f6f6f] tracking-[-0.12px] line-clamp-2 leading-[1.35]",style:{fontFamily:"'DM Sans', sans-serif"},children:eQ})]}),eR&&(0,t.jsxs)("div",{className:"flex items-start gap-1.5 mb-3",children:[(0,t.jsx)(A,{"aria-label":ex("listpage-card-description-label"),className:"size-3.5 text-[#737373] flex-shrink-0 mt-0.5"}),(0,t.jsx)("p",{className:"text-[12px] text-[#6f6f6f] tracking-[-0.12px] line-clamp-2 leading-[1.35]",style:{fontFamily:"'DM Sans', sans-serif"},children:eR})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[ek()&&e.whatsappPhoneNumber?(0,t.jsx)("div",{onClick:eJ,className:"z-20",children:(0,t.jsx)(E.default,{section:B.WHATSAPP_SECTIONS.DISCOUNT,venueId:e.id,title:ex("listpage-card-ask-discount-button",{discountPercent:eW}
1),href:eH,className:"inline-flex items-center h-[36px] px-3.5 bg-white border border-[#e5e5e5] rounded-[10px] text-[13px] font-medium text-[#525252] hover:bg-gray-50 transition-colors",children:(0,t.jsxs)("span",{style:{fontFamily:"'DM Sans', sans-serif"},children:["%",eW," İndirim"]})})}):e_?(0,t.jsx)("div",{"aria-hidden":"true",className:"invisible pointer-events-none",children:(0,t.jsx)("span",{className:"inline-flex items-center h-[36px] px-3.5 border border-transparent rounded-[10px] text-[13px] font-medium",style:{fontFamily:"'DM Sans', sans-serif"},children:"%10 İndirim"})}):null,eS&&(0,t.jsx)("button",{onClick:eK,className:"h-[36px] px-3.5 bg-white border border-[#e5e5e5] rounded-[10px] text-[13px] font-medium text-[#525252] hover:bg-gray-50 transition-colors z-20",style:{fontFamily:"'DM Sans', sans-serif"},children:ex("listpage-card-company-discount-badge",{discountPercent:ez})}),e_&&(0,t.jsxs)("div",{className:"flex-1 flex justify-center z-20",children:[eD&&(0,t.jsx)("button",{onClick:eK,className:"h-[36px] px-3.5 bg-white border border-[#e5e5e5] rounded-[10px] text-[13px] font-medium text-[#525252] hover:bg-gray-50 transition-colors",style:{fontFamily:"'DM Sans', sans-serif"},children:eO}),eI&&(0,t.jsx)(s.Link,{href:eM,onClick:eU,prefetch:!1,title:eP,"aria-label":eP,children:(0,t.jsx)(D.Button,{"aria-label":eP,variant:"gradient",className:"!h-[34px] md:!h-[36px] flex items-center font-bold text-[13px] justify-center gap-2 px-4 rounded-lg md:rounded-[10px]",children:eP})})]}),(0,t.jsx)("button",{onClick:eV,className:"h-[36px] px-5 bg-[#20b038] rounded-[10px] text-[13px] font-semibold text-white z-20 hover:bg-[#1a9930] transition-colors ".concat(e_?"":"ml-auto"),style:{fontFamily:"'DM Sans', sans-serif"},children:"İletişim"})]})]})]}),(0,t.jsx)(s.Link,{title:eN(),"aria-label":eN(),href:"/".concat(null==(es=eo.setting)||null==(et=es.routes)?void 0:et.venueDetail,"/").concat(ea,"-").concat(null==(el=e.district)?void 0:el.slug),scroll:!0,className:"absolute inset-0 z-10"})]})}],17096)},609065,e=>{"use strict";var t=e.i(843476),s=e.i(388760),l=e.i(975157);e.s(["default",0,function(e){let{type:a}=e;return(0,t.jsxs)("div",{className:(0,l.cn)("relative w-full aspect-square h-full",0!=a&&"w-[354px]"),children:[(0,t.jsx)("div",{className:"absolute inset-0 w-full h-full "+(0!=a&&"rounded-2xl bg-black opacity-50")}),(0,t.jsx)("div",{className:"flex justify-center items-center w-full h-full relative",children:(0,t.jsx)(s.default,{})})]})}])},830231,e=>{"use strict";var t=e.i(843476);e.s(["default",0,function(){return(0,t.jsxs)("div",{className:"bg-white border border-[#d9d9d9] md:border-[#ededed] rounded-[20px] md:rounded-[18px] p-4 md:p-3 w-full max-w-[402px] md:shadow-[0px_1px_5.3px_0px_rgba(0,0,0,0.25)] overflow-hidden",children:[(0,t.jsxs)("div",{className:"md:hidden",children:[(0,t.jsxs)("div",{className:"flex gap-3",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-[85px] h-[81px] rounded-[10px] bg-gray-200 "}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5 mb-2",children:[(0,t.jsx)("div",{className:"size-6 bg-gray-200 rounded-full "}),(0,t.jsx)("div",{className:"h-4 w-3/4 bg-gray-200 rounded "})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,t.jsx)("div",{className:"h-5 w-20 bg-gray-200 rounded-[10.87px] "}),(0,t.jsx)("div",{className:"h-5 w-28 bg-gray-200 rounded-[10.87px] "})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1.5 mt-2",children:[(0,t.jsx)("div",{className:"size-3 bg-gray-200 rounded-full "}),(0,t.jsx)("div",{className:"h-3 w-12 bg-gray-200 rounded "})]})]})]}),(0,t.jsxs)("div",{className:"flex items-start gap-2 mt-3",children:[(0,t.jsx)("div",{className:"size-4 bg-gray-200 rounded mt-0.5 "}),(0,t.jsxs)("div",{className:"flex-1 space-y-1.5",children:[(0,t.jsx)("div",{className:"h-3 w-full bg-gray-200 rounded "}),(0,t.jsx)("div",{className:"h-3 w-4/5 bg-gray-200 rounded "})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 mt-4",children:[(0,t.jsx)("div",{className:"h-[34px] w-24 bg-gray-200 rounded-lg "}),(0,t.jsx)("div",{className:"h-[34px] w-20 bg-[#20b038] rounded-lg ml-auto"})]})]}),(0,t.jsxs)("div",{className:"hidden md:block",children:[(0,t.jsx)("div",{className:"rounded-[12px] overflow-hidden mb-3",children:(0,t.jsx)("div",{className:"w-full h-[240px] bg-gray-200 "})}),(0,t.jsxs)("div",{className:"px-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5 mb-1.5",children:[(0,t.jsx)("div",{className:"size-5 bg-gray-200 rounded-full "}),(0,t.jsx)("div",{className:"h-5 w-3/4 bg-gray-200 rounded "})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("div",{className:"h-5 w-20 bg-gray-200 rounded-full "}),(0,t.jsx)("div",{className:"h-5 w-24 bg-gray-200 rounded-full "})]}),(0,t.jsx)("div",{className:"h-4 w-12 bg-gray-200 rounded "})]}),(0,t.jsxs)("div",{className:"flex items-start gap-2 mb-3",children:[(0,t.jsx)("div",{className:"size-4 bg-gray-200 rounded mt-0.5 "}),(0,t.jsxs)("div",{className:"flex-1 space-y-1.5",children:[(0,t.jsx)("div",{className:"h-3 w-full bg-gray-200 rounded "}),(0,t.jsx)("div",{className:"h-3 w-4/5 bg-gray-200 rounded "})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"h-[36px] w-24 bg-gray-200 rounded-[10px] "}),(0,t.jsx)("div",{className:"h-[36px] w-24 bg-gray-200 rounded-[10px] "}),(0,t.jsx)("div",{className:"h-[36px] flex-1 bg-[#20b038] rounded-[10px] ml-auto"})]})]})]})]})}])},811232,e=>{"use strict";var t=e.i(1611),s=e.i(618566),l=e.i(507641),a=e.i(687523),i=e.i(470501);e.s(["useHeaderTitle",0,()=>{let{venue:e,district:n,service:r}=(0,t.useHeader)(),{t:o}=(0,i.useTranslation)(),d=(0,s.usePathname)(),{isVenueListPage:c}=(0,a.useVenueListPage)(),u=t=>o(t,{venue:e,service:null==r?void 0:r.title,district:null==n?void 0:n.title}),x={venue:"venue",[l.ROUTES.CAMPAIGNS]:"campaign",[l.ROUTES.EVENTS]:"event",[l.ROUTES.ALL_COMPANIES]:"company"},m=()=>c?x.venue:x[d];return{title:!(null==n?void 0:n.id)&&(null==r?void 0:r.id)?u("search-title-service-".concat(m())):(null==n?void 0:n.id)&&!(null==r?void 0:r.id)?u("search-title-district-".concat(m())):(null==n?void 0:n.id)&&(null==r?void 0:r.id)?u("search-title-district-and-service-".concat(m())):"",isVenueListPage:c}}])}]);
2
3//# sourceMappingURL=006mrh2-y_u9k.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.