PageSourceSearch

https://www.benandfrank.com/_next/static/chunks/pages/stores/[id]-7e6a65b2d3dde713.js

js benandfrank.com collected 2026-10-03 22:00:25 UTC 3,752 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="97afafc6-4a49-4dda-8244-a69a0c7978e6",e._sentryDebugIdIdentifier="sentry-dbid-97afafc6-4a49-4dda-8244-a69a0c7978e6")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9352],{36067:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/stores/[id]",function(){return a(98026)}])},98026:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return g},default:function(){return Store}});var n=a(24246),r=a(27378),o=a(65218),d=a.n(o),s=a(90909),c=a(90583),l=a(46882);let i=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],u=/^(\d{1,2})-(\d{1,2})$/,parseStoreSchedule=e=>{if(!e||""===e.trim())return null;let t=e.trim().match(u);if(!t)return null;let a=t[1].padStart(2,"0"),n=t[2].padStart(2,"0");return[{"@type":"OpeningHoursSpecification",dayOfWeek:i,opens:"".concat(a,":00"),closes:"".concat(n,":00")}]},compact=e=>{let t={};for(let a of Object.keys(e)){let n=e[a];null!=n&&(t[a]=n)}return t},{buildStoreTitle:b,buildStoreDescription:p,buildStoreJsonLd:f}=(e=>{var t;let a=null!==(t=e.normalizeStoreName)&&void 0!==t?t:e=>e;return{buildStoreTitle:t=>{let n=t.address.city,r=a(t.name);return n&&""!==n.trim()?"\xd3ptica en ".concat(n.trim(),": Templo ").concat(e.brand," ").concat(r):"Templo ".concat(e.brand," ").concat(r)},buildStoreDescription:e=>"Pru\xe9bate todos nuestros armazones y agenda tu examen de la vista. Estamos en ".concat(e.address.fullAddress,". Agenda tu cita hoy."),buildStoreJsonLd:t=>{var n;let r="".concat("https://www.benandfrank.com","/stores/").concat(t.uid),o=parseStoreSchedule(t.schedule),d=t.address.street?"".concat(t.address.street," ").concat(null!==(n=t.address.externalNumber)&&void 0!==n?n:"").trim():t.address.fullAddress;return compact({"@context":"https://schema.org","@type":"Optician","@id":r,name:"".concat(e.brand," ").concat(a(t.name)),address:compact({"@type":"PostalAddress",streetAddress:d,addressLocality:t.address.city||void 0,addressRegion:t.address.state,postalCode:t.address.zipCode||void 0,addressCountry:e.countryCode}),geo:{"@type":"GeoCoordinates",latitude:t.location.lat,longitude:t.location.lng},telephone:t.phoneNumbers||void 0,url:r,openingHoursSpecification:null!=o?o:void 0})}}})({brand:"Ben & Frank",countryCode:l.siteInfo.countryCode.toUpperCase()}),m=d()(()=>a.e(8827).then(a.bind(a,28827)),{loadableGenerated:{webpack:()=>[28827]}}),y=d()(()=>Promise.all([a.e(8969),a.e(7440),a.e(9258),a.e(3338)]).then(a.bind(a,21345)),{loadableGenerated:{webpack:()=>[21345]}}),h=d()(()=>a.e(243).then(a.bind(a,243)),{loadableGenerated:{webpack:()=>[243]}}),w=d()(()=>a.e(2922).then(a.bind(a,32922)),{loadableGenerated:{webpack:()=>[32922]}}),S=d()(()=>a.e(2955).then(a.bind(a,12955)),{loadableGenerated:{webpack:()=>[12955]}});var g=!0;function Store(e){let{store:t,error:a}=e,{t:o}=(0,s.$)("common"),d=(0,r.useCallback)(()=>{window.exponea&&t&&window.exponea.track("store_selected",{store_name:t.name})},[t]);(0,r.useEffect)(()=>{t&&d()},[d,t]);let c=(0,r.useCallback)(()=>{location.reload()},[]);return a||!t?(0,n.jsx)(m,{imageSrc:"https://s3.benandfrank.com/headless/img/mole-right.svg",title:o("statusMessageTitle"),subtitle:o("statusMessageSubtitle"),children:(0,n.jsx)(S,{onClick:c,children:o("refresh")})}):(0,n.jsxs)(w,{className:"pb-20",children:[(0,n.jsx)(h,{crumbList:[{href:"/stores",crumb:o("stores")},{href:"/stores/".concat(t.uid),crumb:t.name}]}),(0,n.jsx)(y,{store:t,handleStoreSelectedEvent:d,title:b(t)})]})}Store.Layout=c.Z}},function(e){e.O(0,[583,9774,2888,179],function(){return e(e.s=36067)}),_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.