PageSourceSearch

https://www.tiendeo.pt/_next/static/chunks/app/%5BcountryCode%5D/(…/%40geolocation/page-15e28bb790c8a31e.js

js tiendeo.pt collected 2026-10-05 20:04:08 UTC 2,471 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[881,3239],{18610:(e,t,a)=>{"use strict";a.d(t,{default:()=>n});var s=a(54568),o=a(52225),r=a(62855);function n(){let e=(0,r.c)();return(0,s.jsxs)("div",{className:"flex items-center gap-2","data-testid":"geolocation-skeleton","aria-hidden":!0,children:[(0,s.jsx)("p",{className:"text-geolocator hidden desktop:block whitespace-nowrap",children:e("HEADER_YOUAREHERE")}),(0,s.jsx)("div",{className:"h-6 w-28 animate-pulse rounded bg-neutral-medium-100"}),(0,s.jsx)(o.default,{className:"chevron-header-geolocation"})]})}},21107:(e,t,a)=>{Promise.resolve().then(a.bind(a,28757)),Promise.resolve().then(a.bind(a,18610))},28757:(e,t,a)=>{"use strict";a.d(t,{default:()=>h});var s=a(54568),o=a(21538),r=a(29386),n=a(42925),l=a(7620),i=a(52225),d=a(62855),c=a(84952);let u=(0,n.default)(()=>a.e(4789).then(a.bind(a,17170)),{loadableGenerated:{webpack:()=>[17170]},ssr:!1}),h=(e={})=>{let{geolocation:t,woosmapConfig:a,redirectionUrl:n}=e,h=(0,r.useStore)(),[m,p]=(0,l.useState)(()=>h.get(c.aU));(0,l.useEffect)(()=>{let e=()=>p(h.get(c.aU));return e(),h.sub(c.aU,()=>queueMicrotask(e))},[h]);let{city:x,zip:v}=m.city?m:t??m,[{open:f},b]=(0,r.useAtom)(c.st),g=(0,d.c)(),w=(0,l.useMemo)(()=>a?new o.A({...a,woosmapPrivateApiKey:""}):void 0,[a])??h.get(c.mP),E=(0,l.useRef)(null),_=x+(v&&/^[0-9]{5}$/.test(v)?` - ${v}`:"");return(0,s.jsx)("div",{"data-testid":"geolocator_open_dialog_button",children:(0,s.jsxs)("div",{ref:E,children:[(0,s.jsxs)("div",{className:"cursor-pointer flex items-center gap-2",onClick:()=>{b(({open:e})=>({open:!e}))},children:[(0,s.jsx)("p",{className:"text-geolocator hidden desktop:block whitespace-nowrap",children:g("HEADER_YOUAREHERE")}),(0,s.jsx)("div",{className:"font-bold max-w-[123px] tablet:max-w-none truncate header-geolocation-label","data-testid":"geolocator_text_header",children:_}),(0,s.jsx)(i.default,{className:"chevron-header-geolocation"})]}),f&&(0,s.jsx)(u,{woosmap:w,redirectionUrl:n})]})})}},62855:(e,t,a)=>{"use strict";a.d(t,{TranslationsProvider:()=>l,c:()=>i});var s=a(54568),o=a(7620),r=a(18742);let n=(0,o.createContext)(null);function l(e){let{translations:t,children:a}=e,l=(0,o.useMemo)(()=>new r.A(t).t,[t]);return(0,s.jsx)(n.Provider,{value:l,children:a})}function i(){let e=(0,o.useContext)(n);if(!e)throw Error("useTranslations must be used within a TranslationsProvider");return e}}},e=>{e.O(0,[9386,7160,9366,587,1968,7358],()=>e(e.s=21107)),_N_E=e.O()}]);

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.