PageSourceSearch

https://www.tastetown.app/_next/static/chunks/013mn4gwzhuyr.js?dpl=dpl_HP91CyvPbUJPVMbNjzGcWwhiswiB

js tastetown.app collected 2026-10-01 23:50:30 UTC 50,361 bytes, 6 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="9ec94cac-acf1-2854-a21a-7384faf46c27")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77105,549092,489790,33165,e=>{"use strict";var t=e.i(522016),r=e.i(618566),a=e.i(271645),n=e.i(861745),i=e.i(247167);function s(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function l(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function o(e,t,r){return"string"==typeof e?e:e[t]||r}function c(e){let t=function(){try{return"true"===i.default.env._next_intl_trailing_slash}catch{return!1}}(),[r,...a]=e.split("#"),n=a.join("#"),s=r;if("/"!==s){let e=s.endsWith("/");t&&!e?s+="/":!t&&e&&(s=s.slice(0,-1))}return n&&(s+="#"+n),s}function d(e,t){let r,a=c(e),n=c(t);return(r=a.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(n)}function u(e,t){return"never"!==t.mode&&t.prefixes?.[e]||f(e)}function f(e){return"/"+e}function p(e){return e.includes("[[...")}function h(e){return e.includes("[...")}function m(e){return e.includes("[")}function x(e,t){let r=e.split("/"),a=t.split("/"),n=Math.max(r.length,a.length);for(let e=0;e<n;e++){let t=r[e],n=a[e];if(!t&&n)return -1;if(t&&!n)return 1;if(t||n){if(!m(t)&&m(n))return -1;if(m(t)&&!m(n))return 1;if(!h(t)&&h(n))return -1;if(h(t)&&!h(n))return 1;if(!p(t)&&p(n))return -1;if(p(t)&&!p(n))return 1}}return 0}function g(e){return e.sort(x)}function b(e){let t=new URLSearchParams;for(let[r,a]of Object.entries(e))Array.isArray(a)?a.forEach(e=>{t.append(r,String(e))}):t.set(r,String(a));return"?"+t.toString()}function y(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function v(e,t,r,a){if(!e||a===r||null==a||!t)return;let n=y(t),{name:i,...s}=e;s.path||(s.path=""!==n?n:"/");let l=`${i}=${a};`;for(let[e,t]of Object.entries(s))l+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(l+="="+t),l+=";";document.cookie=l}e.s(["getLocaleAsPrefix",0,f,"getLocalePrefix",0,u,"getLocalizedTemplate",0,o,"getSortedPathnames",0,g,"hasPathnamePrefixed",0,function(e,t){return t===e||t.startsWith(`${e}/`)},"isLocalizableHref",0,s,"isPromise",0,function(e){return"function"==typeof e.then},"matchesPathname",0,d,"normalizeTrailingSlash",0,c,"prefixPathname",0,l,"unprefixPathname",0,function(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}],549092),e.s(["applyPathnamePrefix",0,function(e,t,r,a){let n,{mode:i}=r.localePrefix;if(void 0!==a)n=a;else if(s(e)){let e=r.domains?.find(e=>e.locales.includes(t)),a=e?.localePrefix||i;"always"===a?n=!0:"as-needed"===a&&(n=e?t!==e.defaultLocale:t!==r.defaultLocale)}return n?l(u(t,r.localePrefix),e):e},"compileLocalizedPathname",0,function({pathname:e,locale:t,params:r,pathnames:a,query:n}){function i(e){let i,s=a[e];return s?(i=o(s,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,a;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,a=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,a=String(t)),i=i.replace(RegExp(r,"g"),a)}),i=new URL(i=i.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):i=e,i=c(i),n&&(i+=b(n)),i}if("string"==typeof e)return i(e);{let{pathname:t,...r}=e;return{...r,pathname:i(t)}}},"getBasePath",0,y,"getRoute",0,function(e,t,r){let a=g(Object.keys(r)),n=decodeURI(t);for(let t of a){let a=r[t];if("string"==typeof a){if(d(a,n))return t}else if(d(o(a,e,t),n))return t}return t},"normalizeNameOrNameWithParams",0,function(e){return"string"==typeof e?{pathname:e}:e},"serializeSearchParams",0,b],489790),e.s(["default",0,v],33165);var w=e.i(843476),j=(0,a.forwardRef)(function({href:e,locale:a,localeCookie:i,onClick:s,prefetch:l,...o},c){let d=(0,n.useLocale)(),u=null!=a&&a!==d,f=(0,r.usePathname)();return u&&(l=!1),(0,w.jsx)(t.default,{ref:c,href:e,hrefLang:u?a:void 0,onClick:function(e){v(i,f,d,a),s&&s(e)},prefetch:l,...o})});e.s(["default",0,j],77105)},488143,(e,t,r)=>{"use strict";function a({widthInt:e,heightInt:t,blurWidth:r,blurHeight:n,blurDataURL:i,objectFit:s}){let l=r?40*r:e,o=n?40*n:t,c=l&&o?`viewBox='0 0 ${l} ${o}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${c}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3Cfe
2ColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${c?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${i}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return a}})},987690,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return i},imageConfigDefault:function(){return s}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let i=["default","imgix","cloudinary","akamai","custom"],s={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},908927,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return c}}),e.r(233525);let a=e.r(543369),n=e.r(488143),i=e.r(987690),s=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function c({src:e,sizes:t,unoptimized:r=!1,priority:d=!1,preload:u=!1,loading:f,className:p,quality:h,width:m,height:x,fill:g=!1,style:b,overrideSrc:y,onLoad:v,onLoadingComplete:w,placeholder:j="empty",blurDataURL:k,fetchPriority:P,decoding:_="async",layout:N,objectFit:C,objectPosition:z,lazyBoundary:S,lazyRoot:E,...L},A){var O;let R,T,M,{imgConf:I,showAltText:$,blurComplete:D,defaultLoader:U}=A,F=I||i.imageConfigDefault;if("allSizes"in F)R=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t),r=F.qualities?.sort((e,t)=>e-t);R={...F,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===U)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let W=L.loader||U;delete L.loader,delete L.srcSet;let q="__next_img_default"in W;if(q){if("custom"===R.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
3Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=W;W=t=>{let{config:r,...a}=t;return e(a)}}if(N){"fill"===N&&(g=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[N];e&&(b={...b,...e});let r={responsive:"100vw",fill:"100vw"}[N];r&&!t&&(t=r)}let B="",H=o(m),V=o(x);if((O=e)&&"object"==typeof O&&(l(O)||void 0!==O.src)){let t=l(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(T=t.blurWidth,M=t.blurHeight,k=k||t.blurDataURL,B=t.src,!g)if(H||V){if(H&&!V){let e=H/t.width;V=Math.round(t.height*e)}else if(!H&&V){let e=V/t.height;H=Math.round(t.width*e)}}else H=t.width,V=t.height}let G=!d&&!u&&("lazy"===f||void 0===f);(!(e="string"==typeof e?e:B)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,G=!1),R.unoptimized&&(r=!0),q&&!R.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let X=o(h),K=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:C,objectPosition:z}:{},$?{}:{color:"transparent"},b),Y=D||"empty"===j?null:"blur"===j?`url("data:image/svg+xml;charset=utf-8,${(0,n.getImageBlurSvg)({widthInt:H,heightInt:V,blurWidth:T,blurHeight:M,blurDataURL:k||"",objectFit:K.objectFit})}")`:`url("${j}")`,Z=s.includes(K.objectFit)?"fill"===K.objectFit?"100% 100%":"cover":K.objectFit,J=Y?{backgroundSize:Z,backgroundPosition:K.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},Q=function({config:e,src:t,unoptimized:r,width:n,quality:i,sizes:s,loader:l}){if(r){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,a.getDeploymentId)();if(e){let r=t.indexOf("?");if(-1!==r){let a=new URLSearchParams(t.slice(r+1));a.get("dpl")||(a.append("dpl",e),t=t.slice(0,r)+"?"+a.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:o,kind:c}=function({deviceSizes:e,allSizes:t},r,a){if(a){let r=/(^|\s)(1?\d?\d)vw/g,n=[];for(let e;e=r.exec(a);)n.push(parseInt(e[2]));if(n.length){let r=.01*Math.min(...n);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,n,s),d=o.length-1;return{sizes:s||"w"!==c?s:"100vw",srcSet:o.map((r,a)=>`${l({config:e,src:t,quality:i,width:r})} ${"w"===c?r:a+1}${c}`).join(", "),src:l({config:e,src:t,quality:i,width:o[d]})}}({config:R,src:e,unoptimized:r,width:H,quality:X,sizes:t,loader:W}),ee=G?"lazy":f;return{props:{...L,loading:ee,fetchPriority:P,width:H,height:V,decoding:_,className:p,style:{...K,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:y||Q.src},meta:{unoptimized:r,preload:u||d,placeholder:j,fill:g}}}},898879,(e,t,r)=>{"use strict";
3Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});let a=e.r(271645),n="u"<typeof window,i=n?()=>{}:a.useLayoutEffect,s=n?()=>{}:a.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let e=a.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return n&&(t?.mountedInstances?.add(e.children),l()),i(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),i(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),s(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},325633,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return m},defaultHead:function(){return u}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let i=e.r(555682),s=e.r(190809),l=e.r(843476),o=s._(e.r(271645)),c=i._(e.r(898879)),d=e.r(742732);function u(){return[(0,l.jsx)("meta",{charSet:"utf-8"},"charset"),(0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(233525);let p=["name","httpEquiv","charSet","itemProp"];function h(e){let t,r,a,n;return e.reduce(f,[]).reverse().concat(u().reverse()).filter((t=new Set,r=new Set,a=new Set,n={},e=>{let i=!0,s=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){s=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?i=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?i=!1:r.add(e.type);break;case"meta":for(let t=0,r=p.length;t<r;t++){let r=p[t];if(e.props.hasOwnProperty(r))if("charSet"===r)a.has(r)?i=!1:a.add(r);else{let t=e.props[r],a=n[r]||new Set;("name"!==r||!s)&&a.has(t)?i=!1:(a.add(t),n[r]=a)}}}return i})).reverse().map((e,t)=>{let r=e.key||t;return o.default.cloneElement(e,{key:r})})}let m=function({children:e}){let t=(0,o.useContext)(d.HeadManagerContext);return(0,l.jsx)(c.default,{reduceComponentsToState:h,headManager:t,children:e})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},918556,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let a=e.r(555682)._(e.r(271645)),n=e.r(987690),i=a.default.createContext(n.imageConfigDefault)},670965,(e,t,r)=>{"use strict";function a(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return a}})},1948,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let a=e.r(670965),n=e.r(543369);function i({config:e,src:t,width:r,quality:s}){let l=(0,n.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let r=new URLSearchParams(t.slice(e+1)),a=r.get("dpl");if(a){l=a,r.delete("dpl");let n=r.toString();t=t.slice(0,e)+(n?"?"+n:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
4Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let o=(0,a.findClosestQuality)(s,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${o}${t.startsWith("/")&&l?`&dpl=${l}`:""}`}i.__next_img_default=!0;let s=i},605500,(e,t,r)=>{"use strict";
4Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return v}});let a=e.r(555682),n=e.r(190809),i=e.r(843476),s=n._(e.r(271645)),l=a._(e.r(174080)),o=a._(e.r(325633)),c=e.r(908927),d=e.r(987690),u=e.r(918556);e.r(233525);let f=e.r(65856),p=a._(e.r(1948)),h=e.r(818581),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function x(e,t,r,a,n,i,s){let l=e?.src;e&&e["data-loaded-src"]!==l&&(e["data-loaded-src"]=l,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&n(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let a=!1,n=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>a,isPropagationStopped:()=>n,persist:()=>{},preventDefault:()=>{a=!0,t.preventDefault()},stopPropagation:()=>{n=!0,t.stopPropagation()}})}a?.current&&a.current(e)}}))}function g(e){return s.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,s.forwardRef)(({src:e,srcSet:t,sizes:r,height:a,width:n,decoding:l,className:o,style:c,fetchPriority:d,placeholder:u,loading:f,unoptimized:p,fill:m,onLoadRef:b,onLoadingCompleteRef:y,setBlurComplete:v,setShowAltText:w,sizesInput:j,onLoad:k,onError:P,..._},N)=>{let C=(0,s.useCallback)(e=>{e&&(P&&(e.src=e.src),e.complete&&x(e,u,b,y,v,p,j))},[e,u,b,y,v,P,p,j]),z=(0,h.useMergedRef)(N,C);return(0,i.jsx)("img",{..._,...g(d),loading:f,width:n,height:a,decoding:l,"data-nimg":m?"fill":"1",className:o,style:c,sizes:r,srcSet:t,src:e,ref:z,onLoad:e=>{x(e.currentTarget,u,b,y,v,p,j)},onError:e=>{w(!0),"empty"!==u&&v(!0),P&&P(e)}})});function y({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...g(t.fetchPriority)};return e&&l.default.preload?(l.default.preload(t.src,r),null):(0,i.jsx)(o.default,{children:(0,i.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let v=(0,s.forwardRef)((e,t)=>{let r=(0,s.useContext)(f.RouterContext),a=(0,s.useContext)(u.ImageConfigContext),n=(0,s.useMemo)(()=>{let e=m||a||d.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),n=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:n,localPatterns:"u"<typeof window?a?.localPatterns:e.localPatterns}},[a]),{onLoad:l,onLoadingComplete:o}=e,h=(0,s.useRef)(l);(0,s.useEffect)(()=>{h.current=l},[l]);let x=(0,s.useRef)(o);(0,s.useEffect)(()=>{x.current=o},[o]);let[g,v]=(0,s.useState)(!1),[w,j]=(0,s.useState)(!1),{props:k,meta:P}=(0,c.getImgProps)(e,{defaultLoader:p.default,imgConf:n,blurComplete:g,showAltText:w});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(b,{...k,unoptimized:P.unoptimized,placeholder:P.placeholder,fill:P.fill,onLoadRef:h,onLoadingCompleteRef:x,setBlurComplete:v,setShowAltText:j,sizesInput:e.sizes,ref:t}),P.preload?(0,i.jsx)(y,{isAppRouter:!r,imgAttributes:k}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},520133,e=>{"use strict";var t=e.i(618566),r=e.i(271645),a=e.i(861745),n=r["use".trim()],i=e.i(549092),s=e.i(77105),l=e.i(489790),o=e.i(843476),c=e.i(33165);let{Link:d,redirect:u,usePathname:f,useRouter:p,getPathname:h}=function(e){let{Link:d,config:u,getPathname:f,...p}=function(e,a){var c,d,u;let f={...c=a||{},localePrefix:"object"==typeof(u=c.localePrefix)?u:{mode:u||"always"},localeCookie:!!((d=c.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof d&&d},localeDetection:c.localeDetection??!0,alternateLinks:c.alternateLinks??!0},p=f.pathnames,h=(0,r.forwardRef)(function({href:t,locale:r,...a},l){let c,d;"object"==typeof t?(c=t.pathname,d=t.params):c=t;let u=(0,i.isLocalizableHref)(t),h=e(),x=(0,i.isPromise)(h)?n(h):h,g=u?m({locale:r||x,href:null==p?c:{pathname:c,params:d},forcePrefix:null!=r||void 0}):c;return(0,o.jsx)(s.default,{ref:l,href:"object"==typeof t?{...t,pathname:g}:g,locale:r,localeCookie:f.localeCookie,...a})});function m(e){let t,{forcePrefix:r,href:a,locale:n}=e;return null==p?"object"==typeof a?(t=a.pathname,a.query&&(t+=(0,l.serializeSearchParams)(a.query))):t=a:t=(0,l.compileLocalizedPathname)({locale:n,...(0,l.normalizeNameOrNameWithParams)(a),pathnames:f.pathnames}),(0,l.applyPathnamePrefix)(t,n,f,r)}function x(e){return function(t,...r){return e(m(t),...r)}}return{config:f,Link:h,redirect:x(t.redirect),permanentRedirect:x(t.permanentRedirect),getPathname:m}}(a.useLocale,e);return{...p,Link:d,usePathname:function(){let e,n,s=(e=(0,t.usePathname)(),n=(0,a.useLocale)(),(0,r.useMemo)(()=>
4{if(!e)return e;let t=e,r=(0,i.getLocalePrefix)(n,u.localePrefix);if((0,i.hasPathnamePrefixed)(r,e))t=(0,i.unprefixPathname)(e,r);else if("never"!==u.localePrefix.mode&&u.localePrefix.prefixes){let r=(0,i.getLocaleAsPrefix)(n);(0,i.hasPathnamePrefixed)(r,e)&&(t=(0,i.unprefixPathname)(e,r))}return t},[u.localePrefix,n,e])),o=(0,a.useLocale)();return(0,r.useMemo)(()=>s&&u.pathnames?(0,l.getRoute)(o,s,u.pathnames):s,[o,s])},useRouter:function(){let e=(0,t.useRouter)(),n=(0,a.useLocale)(),i=(0,t.usePathname)();return(0,r.useMemo)(()=>{function t(e){return function(t,r){let{locale:a,...s}=r||{},l=[f({href:t,locale:a||n,forcePrefix:null!=a||void 0})];Object.keys(s).length>0&&l.push(s),(0,c.default)(u.localeCookie,i,n,a),e(...l)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[n,i,e])},getPathname:f}}(e.i(744705).routing);e.s(["Link",0,d,"usePathname",0,f],520133)},794909,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return d},getImageProps:function(){return c}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let i=e.r(555682),s=e.r(908927),l=e.r(605500),o=i._(e.r(1948));function c(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let d=l.Image},657688,(e,t,r)=>{t.exports=e.r(794909)},263676,e=>{"use strict";let t=(0,e.i(456420).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],263676)},948148,e=>{"use strict";var t=e.i(861745);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let a=r(0,t.useTranslations);r(0,t.useFormatter),e.s(["useTranslations",0,a])},396661,e=>{"use strict";e.s(["mergeClasses",0,(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()])},871987,388973,e=>{"use strict";e.s(["default",0,{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}],871987),e.s(["hasA11yProp",0,e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1}],388973)},505014,e=>{"use strict";var t=e.i(271645),r=e.i(871987),a=e.i(388973),n=e.i(396661);let i=(0,t.createContext)({}),s=(0,t.forwardRef)(({color:e,size:s,strokeWidth:l,absoluteStrokeWidth:o,className:c="",children:d,iconNode:u,...f},p)=>{let{size:h=24,strokeWidth:m=2,absoluteStrokeWidth:x=!1,color:g="currentColor",className:b=""}=(0,t.useContext)(i)??{},y=o??x?24*Number(l??m)/Number(s??h):l??m;return(0,t.createElement)("svg",{ref:p,...r.default,width:s??h??r.default.width,height:s??h??r.default.height,stroke:e??g,strokeWidth:y,className:(0,n.mergeClasses)("lucide",b,c),...!d&&!(0,a.hasA11yProp)(f)&&{"aria-hidden":"true"},...f},[...u.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(d)?d:[d]])});e.s(["default",0,s],505014)},456420,e=>{"use strict";var t=e.i(271645),r=e.i(396661);let a=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var n=e.i(505014);e.s(["default",0,(e,i)=>{let s=(0,t.forwardRef)(({className:s,...l},o)=>(0,t.createElement)(n.default,{ref:o,iconNode:i,className:(0,r.mergeClasses)(`lucide-${a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,s),...l}));return s.displayName=a(e),s}],456420)},716327,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],716327)},690544,800204,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(861745),n=e.i(202854);let i="https://tastetown.chottu.link/web-go-to-map",s={cs:"/cs/stahnout-aplikaci",sk:"/sk/stiahnut-aplikaciu",pl:"/pl/pobierz-aplikacje",en:"/en/get
4-app"};e.s(["APP_DEEP_LINK_URL",0,i,"GET_APP_PATHS",0,s],800204);var l=e.i(375679);e.s(["TrackedAppLink",0,function({surface:e,branchId:o,dealId:c,onClick:d,...u}){let f=(0,a.useLocale)(),[p,h]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=window.matchMedia("(min-width: 1024px) and (pointer: fine)");h(e.matches);let t=e=>h(e.matches);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]);let m=(0,r.useMemo)(()=>(0,l.buildAppHandoffUrl)(i,{surface:e,branchId:o,dealId:c}),[e,o,c]),x=p?s[f]??s.en:m;function g(t){let r=(0,n.captureAdClickContext)()?.click_id;r&&!p&&(t.currentTarget.href=(0,l.buildAppHandoffUrl)(i,{surface:e,branchId:o,dealId:c,clickId:r})),(0,l.track)("app_handoff_click",{surface:e,branch_id:o??null,deal_id:c??null,desktop:p})}return(0,t.jsx)("a",{...u,href:x,onClick:function(e){g(e),d?.(e)},onAuxClick:function(e){1===e.button&&g(e)}})}],690544)},175696,e=>{"use strict";var t=e.i(861745),r=e.i(843476);e.s(["default",0,function({locale:e,...a}){if(!e)throw Error(void 0);return(0,r.jsx)(t.IntlProvider,{locale:e,...a})}])},786563,e=>{"use strict";let t=(0,e.i(456420).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",0,t],786563)},720202,e=>{"use strict";e.s(["PARTNER_CONTACT_EMAIL",0,"[email protected]","partnerFormUrl",0,function(e="en",t){let r=new URL("https://forms.zohopublic.eu/tastetownsro/form/Partner/formperma/3O7wsrk4FDEiE9475ARABF08b0qb0ZpxRLuLJSdcBUk");return("cs"===e||"sk"===e||"pl"===e)&&r.searchParams.set("zf_lang",e),r.toString()}])},639999,e=>{"use strict";var t=e.i(843476),r=e.i(618566);function a(){return(0,t.jsx)("svg",{width:"0",height:"0",className:"absolute","aria-hidden":"true",children:(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"tt-star-gradient",x1:"0",y1:"0",x2:"1",y2:"1",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#FF5000"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#FF6F00"})]})})})}var n=e.i(271645),i=e.i(657688),s=e.i(861745),l=e.i(948148),o=e.i(456420);let c=(0,o.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var d=e.i(520133),u=e.i(690544),f=e.i(716327);let p=(0,o.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);var h=e.i(744705),m=e.i(375679),x=e.i(975157);let g={cs:{flag:"🇨🇿",name:"ČeÅ¡tina"},sk:{flag:"🇸🇰",name:"Slovenčina"},pl:{flag:"🇵🇱",name:"Polski"},en:{flag:"🇬🇧",name:"English"}};function b(){let e=(0,l.useTranslations)("LanguageSwitcher"),a=(0,s.useLocale)(),i=(0,d.usePathname)(),o=(0,r.useParams)(),[c,u]=(0,n.use
4State)(!1),b=(0,n.useRef)(null);(0,n.useEffect)(()=>{if(c)return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)};function e(e){b.current?.contains(e.target)||u(!1)}function t(e){"Escape"===e.key&&u(!1)}},[c]);let y=g[a];return(0,t.jsxs)("div",{ref:b,className:"relative",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>u(e=>!e),"aria-expanded":c,"aria-haspopup":"menu","aria-label":e("label"),className:(0,x.cn)("inline-flex items-center gap-2 rounded-[var(--radius-pill)] border border-border bg-white px-3 py-1.5 text-sm font-semibold text-text transition-colors",c?"border-primary text-primary":"hover:border-primary/50"),children:[(0,t.jsx)(p,{className:"size-4 shrink-0 text-text-muted","aria-hidden":"true"}),(0,t.jsx)("span",{className:"text-base leading-none","aria-hidden":"true",children:y.flag}),(0,t.jsx)("span",{className:"uppercase",children:a}),(0,t.jsx)(f.ChevronDown,{className:(0,x.cn)("size-3.5 shrink-0 text-text-muted transition-transform",c&&"rotate-180"),"aria-hidden":"true"})]}),(0,t.jsx)("div",{className:(0,x.cn)("absolute right-0 top-full z-50 min-w-[200px] origin-top-right pt-2 transition-all",c?"pointer-events-auto translate-y-0 opacity-100":"pointer-events-none -translate-y-1 opacity-0"),children:(0,t.jsx)("ul",{role:"menu",className:"overflow-hidden rounded-[var(--radius-lg)] border border-border bg-white py-1.5",style:{boxShadow:"var(--shadow-card)"},children:h.routing.locales.map(e=>{let r=g[e],n=e===a;return(0,t.jsx)("li",{role:"none",children:(0,t.jsxs)(d.Link,{role:"menuitem",href:{pathname:i,params:o},locale:e,"aria-current":n?"page":void 0,className:(0,x.cn)("flex items-center gap-3 px-4 py-2.5 text-sm transition-colors",n?"bg-primary/10 font-bold text-primary":"text-text hover:bg-surface"),onClick:()=>{e!==a&&(0,m.track)("locale_switch",{from:a,to:e}),u(!1)},children:[(0,t.jsx)("span",{className:"text-xl leading-none","aria-hidden":"true",children:r.flag}),(0,t.jsx)("span",{className:"flex-1 font-semibold",children:r.name}),(0,t.jsx)("span",{className:(0,x.cn)("text-xs uppercase",n?"text-primary":"text-text-muted"),children:e})]})},e)})})})]})}let y=(0,o.default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),v=(0,o.default)("store",[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]]);var w=e.i(263676);let j={cs:"🇨🇿",sk:"🇸🇰",pl:"🇵🇱",en:"🇬🇧"};function k({open:e,onClose:r}){let a=(0,l.useTranslations)("Header"),o=(0,s.useLocale)(),c=(0,d.usePathname)(),f=c.includes("[")?"/":c;return(0,n.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&r()};document.addEventListener("keydown",t);let a=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",t),document.body.style.overflow=a}},[e,r]),(0,t.jsxs)("div",{role:"dialog","aria-modal":"true","aria-hidden":!e,className:(0,x.cn)("fixed inset-0 z-[80]",e?"pointer-events-auto":"pointer-events-none"),children:[(0,t.jsx)("button",{type:"button","aria-label":a("closeMenu"),onClick:r,className:(0,x.cn)("absolute inset-0 bg-black/55 transition-opacity duration-200",e?"opacity-100":"opacity-0")}),(0,t.jsxs)("aside",{className:(0,x.cn)("absolute right-0 top-0 flex h-dvh w-full max-w-[20rem] flex-col bg-background pb-[max(1.5rem,env(safe-area-inset-bottom))] pt-[max(1.5rem,env(safe-area-inset-top))] shadow-[-12px_0_40px_rgba(0,0,0,0.18)] transition-transform duration-300 ease-out",e?"translate-x-0":"translate-x-full"),children:[(0,t.jsxs)("div",{className:"flex items-center justify-between px-6",children:[(0,t.jsx)(d.Link,{href:"/",onClick:r,"aria-label":"TasteTown",className:"block",children:(0,t.jsx)(i.default,{src:"/app-icon.png",alt:"",width:36,height:36,className:"size-9"})}),(0,t.jsx)("button",{type:"button","aria-label":a("closeMenu"),onClick:r,className:"-mr-2 inline-flex size-10 items-center justify-center rounded-full text-text-muted transition-colors hover:bg-surface hover:text-text",children:(0,t.jsx)(w.X,{className:"size-5","aria-hidden":"true"})})]}),(0,t.jsxs)("nav",{className:"mt-12 flex flex-col gap-7 px-6","aria-label":"Primary",children:[(0,t.jsx)(P,{href:"/restaurants",onClick:r,children:a("nav.restaurants")}),(0,t.jsx)(P,{href:"/blog",onClick:r,children:a("nav.blog")}),(0,t.jsx)(P,{href:"/partner",onClick:r,children:a("nav.partners")})]}),(0,t.jsxs)("div",{className:"mt-auto flex flex-col gap-3 px-6 pt-6",children:[(0,t.jsxs)(u.TrackedAppLink,{surface:"header_drawer",onClick:r,className:"inline-flex items-center justify-center gap-2 rounded-[var(--radius-pill)] px-5 font-display text-base font-bold text-white shadow-deal transition-transform active:scale-[0.99]",style:{background:"var(--gradient-primary)",height:"48px"},children:[(0,t.jsx)(y,{className:"size-5","aria-hidden":"true"}),a("downloadApp")]}),(0,t.jsxs)(d.Link,{href:"/partner",onClick:r,className:"inline-flex items-center justify-center gap-2 rounded-[var(--radius-pill)] border border-border bg-white px-5 font-display text-sm font-bold text-text transition-colors hover:border-primary hover:text-primary",style:{height:"44px"},children:[(0,t.jsx)(v,{className:"size-4","aria-hidden":"true"}),a("registerBusiness")]}),(0,t.jsx)("ul",{role:"list",className:"-mx-1 mt-2 flex items-center justify-center gap-1 border-t border-border pt-5",children:h.routing.locales.map(e=>{let a=e===o;return(0,t.jsx)("li",{children:(0,t.jsxs)(d.Link,{href:f,locale:e,onClick:r,"aria-current":a?"page":void 0,className:(0,x.cn)("inline-flex h-9 min-w-[3rem] items-center justify-center gap-1.5 rounded-[var(--radius-pill)] px-2 text-sm font-bold uppercase tracking-wide transition-colors",a?"bg-primary/10 text-primary":"text-text-muted hover:bg-surface hover:text-text"),children:[(0,t.jsx)("span",{"aria-hidden":"true",children:j[e]}),e]})},e)})})]})]})]})}function P({href:e,onClick:r,children:a}){return(0,t.jsx)(d.Link,{href:e,onClick:r,className:"font-display text-3xl font-extrabold leading-none tracking-tight text-text transition-colors hover:text-primary",children:a})}let _=[/^\/[^/]+\/?$/,/^\/[^/]+\/partner\/?$/];function N(e){return _.some(t=>t.test(e))}var C=e.i(720202);let z=/^\/[^/]+\/partner(\/|$)/,S=/^\/[^/]+\/(jak-to-funguje|ako-to-funguje|jak-to-dziala|how-it-works)\/?$/;function E(){let e=(0,l.useTranslations)("Header"),a=(0,s.useLocale)(),o=(0,r.usePathname)(),[u,f]=(0,n.use
4State)(!1),[p,h]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let e=()=>f(window.scrollY>80);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let g=N(o)&&!u,y=z.test(o),v=S.test(o),w=(0,C.partnerFormUrl)(a),j=e(y?"becomePartner":"downloadApp"),P=()=>{y?(0,m.track)("partner_form_click",{source:"header_cta",locale:a}):(0,m.track)("app_handoff_click",{surface:"header_cta",locale:a})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("header",{className:(0,x.cn)("fixed top-0 z-50 w-full transition-all duration-300",g?"bg-transparent":y?"border-b border-white/30 bg-white/40 backdrop-blur-md":"border-b border-border/60 bg-background/85 backdrop-blur-xl"),children:(0,t.jsxs)("div",{className:"mx-auto flex h-16 w-full max-w-7xl items-center gap-3 px-4 sm:px-6 lg:px-8",children:[(0,t.jsxs)(d.Link,{href:"/",className:"flex shrink-0 items-center gap-2","aria-label":"TasteTown",children:[(0,t.jsx)(i.default,{src:"/app-icon.png",alt:"",width:40,height:40,priority:!0,className:"size-8 sm:size-10"}),(0,t.jsx)("span",{className:(0,x.cn)("hidden font-display text-xl font-extrabold tracking-tight transition-colors sm:inline",g?"text-white":"text-text"),children:"TasteTown"})]}),(0,t.jsxs)("nav",{className:"ml-8 hidden items-center gap-7 md:flex","aria-label":"Primary",children:[(0,t.jsx)(A,{href:"/restaurants",onPhoto:g,children:e("nav.restaurants")}),(0,t.jsx)(A,{href:"/blog",onPhoto:g,children:e("nav.blog")}),(0,t.jsx)(A,{href:"/partner",onPhoto:g,children:e("nav.partners")})]}),(0,t.jsx)("div",{className:"flex flex-1 items-center justify-center md:hidden",children:v?null:(0,t.jsx)(L,{isPartner:y,partnerHref:w,onClick:P,className:(0,x.cn)("inline-flex h-10 items-center justify-center rounded-[var(--radius-pill)] px-5 font-display text-sm font-bold text-white shadow-deal transition-all duration-300 active:scale-[0.98]",g?"pointer-events-none scale-90 opacity-0":"scale-100 opacity-100"),style:{background:"var(--gradient-primary)"},ariaHidden:g,tabIndex:g?-1:void 0,children:j})}),(0,t.jsxs)("div",{className:"ml-auto hidden items-center gap-3 md:flex",children:[(0,t.jsx)("div",{className:g?"[&_button]:!border-white/40 [&_button]:!bg-white/10 [&_button]:!text-white [&_button_svg]:!text-white/80":"",children:(0,t.jsx)(b,{})}),v?null:(0,t.jsx)(L,{isPartner:y,partnerHref:w,onClick:P,className:"inline-flex h-10 items-center justify-center rounded-[var(--radius-pill)] px-5 font-display text-sm font-bold text-white shadow-deal transition-transform active:scale-[0.98]",style:{background:"var(--gradient-primary)"},children:j})]}),(0,t.jsx)("button",{type:"button",onClick:()=>h(!0),"aria-label":e("openMenu"),"aria-expanded":p,className:(0,x.cn)("inline-flex size-10 items-center justify-center rounded-full transition-colors md:hidden",g?"text-white hover:bg-white/15":"text-text hover:bg-surface"),children:(0,t.jsx)(c,{className:"size-6","aria-hidden":"true"})})]})}),(0,t.jsx)(k,{open:p,onClose:()=>h(!1)})]})}function L({isPartner:e,partnerHref:r,onClick:a,className:n,style:i,ariaHidden:s,tabIndex:l,children:o}){return e?(0,t.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:a,className:n,style:i,"aria-hidden":s,tabIndex:l,children:o}):(0,t.jsx)(u.TrackedAppLink,{surface:"header_cta",className:n,style:i,"aria-hidden":s,tabIndex:l,children:o})}function A({href:e,onPhoto:r,children:a}){return(0,t.jsx)(d.Link,{href:e,className:(0,x.cn)("font-body text-base font-semibold transition-colors",r?"text-white/90 hover:text-white":"text-text hover:text-primary"),children:a})}let O={czsk:{instagram:"https://www.instagram.com/tastetown_czsk/",tiktok:"https://www.tiktok.com/@tastetown.cz",facebook:"https://www.facebook.com/people/TasteTown-app/61561382364268/",youtube:"https://www.youtube.com/@TasteTown_cz"},pl:{instagram:"https://www.instagram.com/tastetown.pl/",tiktok:"https://www.tiktok.com/@tastetown.pl",facebook:"https://www.facebook.com/people/TasteTown-Poland/61578272305308/",youtube:"https://www.youtube.com/@TasteTown_pl"}},R=[{key:"instagram",label:"Instagram",Icon:function(e){return(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"
4currentColor","aria-hidden":"true",...e,children:(0,t.jsx)("path",{d:"M12 2c2.717 0 3.056.01 4.122.06 1.065.05 1.79.217 2.428.465.66.254 1.216.598 1.772 1.153a4.908 4.908 0 0 1 1.153 1.772c.247.637.415 1.363.465 2.428.047 1.066.06 1.405.06 4.122 0 2.717-.01 3.056-.06 4.122-.05 1.065-.218 1.79-.465 2.428a4.883 4.883 0 0 1-1.153 1.772 4.915 4.915 0 0 1-1.772 1.153c-.637.247-1.363.415-2.428.465-1.066.047-1.405.06-4.122.06-2.717 0-3.056-.01-4.122-.06-1.065-.05-1.79-.218-2.428-.465a4.89 4.89 0 0 1-1.772-1.153 4.904 4.904 0 0 1-1.153-1.772c-.248-.637-.415-1.363-.465-2.428C2.013 15.056 2 14.717 2 12c0-2.717.01-3.056.06-4.122.05-1.066.217-1.79.465-2.428a4.88 4.88 0 0 1 1.153-1.772A4.897 4.897 0 0 1 5.45 2.525c.638-.248 1.362-.415 2.428-.465C8.944 2.013 9.283 2 12 2zm0 5a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm6.5-.25a1.25 1.25 0 0 0-2.5 0 1.25 1.25 0 0 0 2.5 0zM12 9a3 3 0 1 1 0 6 3 3 0 0 1 0-6z"})})}},{key:"tiktok",label:"TikTok",Icon:function(e){return(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",...e,children:(0,t.jsx)("path",{d:"M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5.8 20.1a6.34 6.34 0 0 0 10.86-4.43V8.16A8.16 8.16 0 0 0 21.4 9.95V6.5a4.85 4.85 0 0 1-1.81.19z"})})}},{key:"facebook",label:"Facebook",Icon:function(e){return(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",...e,children:(0,t.jsx)("path",{d:"M9.198 21.5h4v-8.01h3.604l.396-3.98h-4V7.5a1 1 0 0 1 1-1h3v-4h-3a5 5 0 0 0-5 5v2.01h-2l-.396 3.98h2.396v8.01z"})})}},{key:"youtube",label:"YouTube",Icon:function(e){return(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",...e,children:(0,t.jsx)("path",{d:"M23.5 6.51a3.02 3.02 0 0 0-2.12-2.14C19.5 3.86 12 3.86 12 3.86s-7.5 0-9.38.51A3.02 3.02 0 0 0 .5 6.51 31.6 31.6 0 0 0 0 12a31.6 31.6 0 0 0 .5 5.49 3.02 3.02 0 0 0 2.12 2.14c1.88.51 9.38.51 9.38.51s7.5 0 9.38-.51a3.02 3.02 0 0 0 2.12-2.14A31.6 31.6 0 0 0 24 12a31.6 31.6 0 0 0-.5-5.49zM9.6 15.6V8.4l6.2 3.6-6.2 3.6z"})})}}],T="flex size-10 items-center justify-center rounded-[var(--radius-pill)] bg-surface text-text transition-colors hover:bg-text hover:text-white";function M(){var e;let r="pl"===(e=(0,s.useLocale)())?"pl":"cs"===e||"sk"===e?"czsk":null,[a,i]=(0,n.useState)(null),[l,o]=(0,n.useState)(null),c=r??a;function d(e,t){window.open(O[e][t],"_blank","noopener,noreferrer")}return(0,t.jsxs)("div",{className:"relative mt-4",children:[(0,t.jsx)("div",{className:"flex items-center gap-3",children:R.map(({key:e,label:r,Icon:a})=>c?(0,t.jsx)("a",{href:O[c][e],"aria-label":r,target:"_blank",rel:"noreferrer noopener",className:T,children:(0,t.jsx)(a,{className:"size-5"})},e):(0,t.jsx)("button",{type:"button","aria-label":r,"aria-haspopup":"menu",onClick:()=>o(e),className:T,children:(0,t.jsx)(a,{className:"size-5"})},e))}),l&&!c&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button","aria-hidden":"true",tabIndex:-1,onClick:()=>o(null),className:"fixed inset-0 z-40 cursor-default"}),(0,t.jsxs)("div",{role:"menu","aria-label":"Choose your region",className:"absolute bottom-12 left-0 z-50 flex w-56 flex-col gap-1 rounded-[var(--radius-lg)] bg-white p-2",style:{boxShadow:"var(--shadow-soft)"},children:[(0,t.jsx)("p",{className:"px-2 pb-1 pt-1 text-xs font-semibold uppercase tracking-wide text-text-muted",children:"Choose your region"}),(0,t.jsx)(I,{flag:"🇨🇿 🇸🇰",label:"Czech & Slovak",onClick:()=>{i("czsk"),d("czsk",l),o(null)}}),(0,t.jsx)(I,{flag:"🇵🇱",label:"Poland",onClick:()=>{i("pl"),d("pl",l),o(null)}})]})]})]})}function I({flag:e,label:r,onClick:a}){return(0,t.jsxs)("button",{type:"button",role:"menuitem",onClick:a,className:"flex items-center gap-2.5 rounded-[var(--radius-md)] px-3 py-2 text-left text-sm font-semibold text-text transition-colors hover:bg-surface",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"text-base",children:e}),r]})}function $(){let e=(0,l.useTranslations)("Footer"),r=(0,l.useTranslations)("Brand"),a=new Date().getFullYear();return(0,t.jsx)("footer",{className:"border-t border-border bg-background pt-16 pb-10",children:(0,t.jsxs)("div",{className:"mx-auto w-full max-w-7xl px-4 sm:px-6 lg:px-8",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-10 md:grid-cols-5",children:[(0,t.jsxs)("div",{className:"col-span-2 flex flex-col gap-3 md:col-span-2",children:[(0,t.jsx)(d.Link,{href:"/",className:"font-display text-2xl font-extrabold tracking-tight text-text",children:"TasteTown"}),(0,t.jsx)("p",{className:"max-w-xs text-sm text-text-muted",children:r("tagline")}),(0,t.jsx)(M,{})]}),(0,t.jsxs)(D,{title:e("sections.company"),children:[(0,t.jsx)(U,{href:"/jak-to-funguje",children:e("links.howItWorks")}),(0,t.jsx)(U,{href:"/pricing",children:e("links.pricing")}),(0,t.jsx)(U,{href:"/careers",children:e("links.jobs")}),(0,t.jsx)(U,{href:"/faq",children:e("links.faq")}),(0,t.jsx)(U,{href:"https://www.tastetown.store/",children:e("links.store")})]}),(0,t.jsxs)(D,{title:e("sections.partners"),children:[(0,t.jsx)(U,{href:"/partner",children:e("links.forCompanies")}),(0,t.jsx)(U,{href:"/materialy-pro-partnery",children:e("links.partnerMaterials")})]}),(0,t.jsxs)(D,{title:e("sections.legal"),children:[(0,t.jsx)(U,{href:"/podminky",children:e("links.terms")}),(0,t.jsx)(U,{href:"/vop-partner",children:e("links.partnerTerms")}),(0,t.jsx)(U,{href:"/gdpr",children:e("links.privacy")})]})]}),(0,t.jsx)("div",{className:"mt-12 border-t border-border pt-6",children:(0,t.jsx)("p",{className:"text-xs text-text-muted",children:e("copyright",{year:a})})}),(0,t.jsxs)("div",{className:"mt-4 flex flex-col items-start gap-3 border-t border-border pt-4 sm:flex-row sm:items-start sm:gap-4",children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,t.jsx)(i.default,{src:"/eu-flag.svg",alt:"Evropská unie",width:36,height:24,className:"h-5 w-auto"}),(0,t.jsxs)("span",{className:"font-display text-[10px] font-bold leading-tight text-[#003399]",children:["Spolufinancováno",(0,t.jsx)("br",{}),"Evropskou unií"]})]}),(0,t.jsx)("p",{className:"text-[10px] leading-relaxed text-text-muted",children:"Projekt TasteTown — Odborné služby pro start-upy (reg. č. CZ.01.02.01/04/25_057/0009451) je spolufinancován Evropskou unií v rámci Operačního programu Technologie a aplikace pro konkurenceschopnost (OP TAK). Cílem projektu je nákup odborných služeb sloužících k rozvoji příjemce dotace."})]})]})})}function D({title:e,children:r}){return(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)("h3",{className:"font-display text-xs font-extrabold uppercase tracking-widest text-text-muted",children:e}),(0,t.jsx)("ul",{className:"flex flex-col gap-2",children:r})]})}function U({href:e,children:r}){let a=/^(https?:|mailto:|#)/.test(e);return(0,t.jsx)("li",{children:a?(0,t.jsx)("a",{href:e,target:"_blank",rel:"noreferrer noopener",className:"text-sm text-text transition-colors hover:text-primary",children:r}):(0,t.jsx)(d.Link,{href:e,className:"text-sm text-text transition-colors hover:text-primary",children:r})})}let F=(0,o.default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]),W=(0,o.default)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);var q=e.i(786563),B=e.i(202854),H=e.i(800204);let V="tt-app-push-dismissed-at";function G(){try{localStorage.setItem(V,String(Date.now()))}catch{}}function X(){let e=(0,l.useTranslations)("AppPush"),[r,a]=(0,n.use
4State)(null),[s,o]=(0,n.useState)(!1),[c,d]=(0,n.useState)(!1);if((0,n.useEffect)(()=>{let e=function(){if("u"<typeof navigator)return null;let e=new URLSearchParams(window.location.search).get("ttPlatform");if("ios"===e||"android"===e)return e;let t=navigator.userAgent;return!/iPad|iPhone|iPod/.test(t)||"MSStream"in window?/Android/i.test(t)?"android":null:"ios"}();if(!e||function(){try{let e=localStorage.getItem(V);if(!e)return!1;let t=Number.parseInt(e,10);if(!Number.isFinite(t))return!1;return Date.now()-t<6e5}catch{return!1}}())return;a(e),o(!0),(0,m.track)("mobile_push_show",{device:e,route:window.location.pathname});let t=window.setTimeout(()=>d(!0),60);return()=>window.clearTimeout(t)},[]),!s||!r)return null;let u="ios"===r?(0,t.jsx)(F,{className:"size-4","aria-hidden":"true"}):(0,t.jsx)(W,{className:"size-4","aria-hidden":"true"}),f="ios"===r?"App Store":"Google Play",p="ios"===r?4.8:4.6,h=()=>{(0,m.track)("mobile_push_dismiss",{device:r,reason:"user"}),G(),d(!1),window.setTimeout(()=>o(!1),220)};return(0,t.jsxs)("div",{role:"dialog","aria-modal":"true","aria-label":e("title"),className:"fixed inset-0 z-[100] flex items-end lg:hidden",children:[(0,t.jsx)("button",{type:"button","aria-label":e("dismiss"),onClick:h,className:`absolute inset-0 bg-black/55 transition-opacity duration-200 ${c?"opacity-100":"opacity-0"}`}),(0,t.jsxs)("div",{className:`relative z-10 w-full rounded-t-[28px] bg-text px-5 pb-[max(1.25rem,env(safe-area-inset-bottom))] pt-5 text-white shadow-[0_-12px_40px_rgba(0,0,0,0.35)] transition-transform duration-300 ease-out ${c?"translate-y-0":"translate-y-full"}`,children:[(0,t.jsx)("button",{type:"button","aria-label":e("dismiss"),onClick:h,className:"absolute right-3 top-3 inline-flex size-9 items-center justify-center rounded-full text-white/70 transition-colors hover:bg-white/10 hover:text-white",children:(0,t.jsx)(w.X,{className:"size-5","aria-hidden":"true"})}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3 pt-2",children:[(0,t.jsx)("div",{className:"relative size-16 overflow-hidden rounded-2xl shadow-deal ring-1 ring-white/10",children:(0,t.jsx)(i.default,{src:"/app-icon.png",alt:"TasteTown",fill:!0,sizes:"64px",className:"object-cover"})}),(0,t.jsx)("h2",{className:"font-display text-balance text-center text-2xl font-extrabold leading-tight tracking-tight",children:e("title")}),(0,t.jsx)("p",{className:"max-w-xs text-balance text-center text-sm text-white/75",children:e("subtitle")}),(0,t.jsxs)("div",{className:"flex items-center gap-3 pt-1 text-xs text-white/80",children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-[var(--radius-pill)] bg-white/10 px-3 py-1 font-semibold",children:[u,f]}),(0,t.jsx)("span",{"aria-hidden":"true",className:"text-white/30",children:"·"}),(0,t.jsxs)("span",{className:"inline-flex items-center gap-1 font-semibold",children:[(0,t.jsx)(q.Star,{className:"size-3.5 fill-[url(#tt-star-gradient)] stroke-[url(#tt-star-gradient)]","aria-hidden":"true"}),p.toFixed(1)]})]})]}),(0,t.jsxs)("div",{className:"mt-6 flex flex-col gap-2",children:[(0,t.jsx)("button",{type:"button",onClick:()=>{(0,m.track)("mobile_push_accept",{device:r}),(0,m.track)("app_handoff_click",{surface:"mobile_push",device:r}),G(),window.location.href=(0,m.buildAppHandoffUrl)(H.APP_DEEP_LINK_URL,{surface:"mobile_push",clickId:(0,B.getAdClickContext)()?.click_id??null})},className:"inline-flex h-14 items-center justify-center rounded-[var(--radius-cta)] bg-primary px-6 font-display text-lg font-bold text-white shadow-deal transition-transform active:scale-[0.99]",children:e("openApp")}),(0,t.jsx)("button",{type:"button",onClick:h,className:"inline-flex h-11 items-center justify-center text-sm font-semibold text-white/70 transition-colors hover:text-white",children:e("continueWeb")})]})]})]})}let K=/^\/[^/]+\/partner(\/|$)/,Y=new Set(["/faq","/jak-to-funguje","/materialy-pro-partnery"].flatMap(e=>{let t=h.routing.pathnames[e];return h.routing.locales.map(e=>`/${e}${"string"==typeof t?t:t[e]}`)}));e.s(["LocaleChrome",0,function({children:e}){let n=(0,r.usePathname)(),i=N(n),s=Y.has(n.replace(/\/$/,""))||K.test(n);return(0,t.jsxs)("div",{className:"flex min-h-dvh flex-col",children:[(0,t.jsx)(a,{}),(0,t.jsx)(E,{}),(0,t.jsx)("main",{className:i?"flex flex-1 flex-col":"flex flex-1 flex-col pt-16",children:e}),(0,t.jsx)($,{}),!s&&(0,t.jsx)(X,{})]})}],639999)}]);
5
6//# debugId=9ec94cac-acf1-2854-a21a-7384faf46c27

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.