1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,15751,(e,t,n)=>{t.exports=e.r(486575)},837247,e=>{"use strict";var t=e.i(120803),n=e.i(494040);function r(e,t){console.error("error on creation json ld schema:",e,t)}e.s(["SanitizedJsonSchema",0,({id:e,schema:a})=>(0,t.jsx)(n.ErrorBoundary,{fallback:(0,t.jsx)(t.Fragment,{}),onError:r,children:(0,t.jsx)("script",{id:e,type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(a).replace(/</g,"\\u003c")}})})])},82374,318535,e=>{"use strict";let t=e=>e.trim().toLowerCase().replace(/[-_]+/g," ").replace(/\s+/g," ");e.s(["normalizeRegionKey",0,t],318535);let n={al:"Alabama",ak:"Alaska",az:"Arizona",ar:"Arkansas",ca:"California",co:"Colorado",ct:"Connecticut",de:"Delaware",fl:"Florida",ga:"Georgia",hi:"Hawaii",id:"Idaho",il:"Illinois",in:"Indiana",ia:"Iowa",ks:"Kansas",ky:"Kentucky",la:"Louisiana",me:"Maine",md:"Maryland",ma:"Massachusetts",mi:"Michigan",mn:"Minnesota",ms:"Mississippi",mo:"Missouri",mt:"Montana",ne:"Nebraska",nv:"Nevada",nh:"New Hampshire",nj:"New Jersey",nm:"New Mexico",ny:"New York",nc:"North Carolina",nd:"North Dakota",oh:"Ohio",ok:"Oklahoma",or:"Oregon",pa:"Pennsylvania",ri:"Rhode Island",sc:"South Carolina",sd:"South Dakota",tn:"Tennessee",tx:"Texas",ut:"Utah",vt:"Vermont",va:"Virginia",wa:"Washington",wv:"West Virginia",wi:"Wisconsin",wy:"Wyoming",dc:"District of Columbia"},r=Object.values(n).reduce((e,t)=>(e[t.toLowerCase()]=t,e),{});e.s(["getStateFullName",0,e=>{let a=t(e);return n[a]??r[a]??null},"stateAbbreviations",0,n],82374)},65932,(e,t,n)=>{"use strict";t.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(a=r;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(a=r;0!=a--;)if(!Object.prototype.hasOwnProperty.call(n,o[a]))return!1;for(a=r;0!=a--;){var r,a,o,i=o[a];if(!e(t[i],n[i]))return!1}return!0}return t!=t&&n!=n}},359394,e=>{"use strict";var t=Object.prototype.hasOwnProperty;e.s(["dequal",0,function e(n,r){var a,o;if(n===r)return!0;if(n&&r&&(a=n.constructor)===r.constructor){if(a===Date)return n.getTime()===r.getTime();if(a===RegExp)return n.toString()===r.toString();if(a===Array){if((o=n.length)===r.length)for(;o--&&e(n[o],r[o]););return -1===o}if(!a||"object"==typeof n){for(a in o=0,n)if(t.call(n,a)&&++o&&!t.call(r,a)||!(a in r)||!e(n[a],r[a]))return!1;return Object.keys(r).length===o}}return n!=n&&r!=r}])},770963,e=>{"use strict";var t,n,r,a,o,i,l,s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function c(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}var u=("function"==typeof SuppressedError&&SuppressedError,e.i(89226)),d="right-scroll-bar-position",f="width-before-scroll-bar";function h(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="u">typeof window?u.useLayoutEffect:u.useEffect,p=new WeakMap,v=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],a=!1,o={read:function(){if(a)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,a);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(a=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){a=!0;var t=[];if(r.length){var n=r;
1r=[],n.forEach(e),t=r}var o=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(o)};i(),r={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),r}}}}).options=s({async:!0,ssr:!1},t),o),g=function(){},x=u.forwardRef(function(e,t){var n,r,a,o,i=u.useRef(null),l=u.useState({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:g}),d=l[0],f=l[1],x=e.forwardProps,w=e.children,y=e.className,b=e.removeScrollBar,j=e.enabled,N=e.shards,C=e.sideCar,k=e.noRelative,S=e.noIsolation,E=e.inert,A=e.allowPinchZoom,M=e.as,O=e.gapMode,L=c(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),T=(n=[i,t],r=function(e){return n.forEach(function(t){return h(t,e)})},(a=(0,u.useState)(function(){return{value:null,callback:r,facade:{get current(){return a.value},set current(value){var e=a.value;e!==value&&(a.value=value,a.callback(value,e))}}}})[0]).callback=r,o=a.facade,m(function(){var e=p.get(o);if(e){var t=new Set(e),r=new Set(n),a=o.current;t.forEach(function(e){r.has(e)||h(e,null)}),r.forEach(function(e){t.has(e)||h(e,a)})}p.set(o,n)},[n]),o),D=s(s({},L),d);return u.createElement(u.Fragment,null,j&&u.createElement(C,{sideCar:v,removeScrollBar:b,shards:N,noRelative:k,noIsolation:S,inert:E,setCallbacks:f,allowPinchZoom:!!A,lockRef:i,gapMode:O}),x?u.cloneElement(u.Children.only(w),s(s({},D),{ref:T})):u.createElement(void 0===M?"div":M,s({},D,{className:y,ref:T}),w))});x.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},x.classNames={fullWidth:f,zeroRight:d};var w=function(e){var t=e.sideCar,n=c(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return u.createElement(r,s({},n))};w.isSideCarExport=!0;var y=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=l||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,a;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},b=function(){var e=y();return function(t,n){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},j=function(){var e=b();return function(t){return e(t.styles,t.dynamic),null}},N={left:0,top:0,right:0,gap:0},C=function(e){return parseInt(e||"",10)||0},k=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],a=t["padding"===e?"paddingRight":"marginRight"];return[C(n),C(r),C(a)]},S=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return N;var t=k(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},E=j(),A="data-scroll-locked",M=function(e,t,n,r){var a=e.left,o=e.top,i=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(A,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(a,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(d," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(f," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n right: 0 ").concat(r,";\n }\n \n .").concat(f," .").concat(f," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(A,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},O=function(){var e=parseInt(document.body.getAttribute(A)||"0",10);return isFinite(e)?e:0},L=function(){u.useEffect(function(){return document.body.setAttribute(A,(O()+1).toString()),function(){var e=O()-1;e<=0?document.body.removeAttribute(A):document.body.setAttribute(A,e.toString())}},[])},T=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,a=void 0===r?"margin":r;L();var o=u.useMemo(function(){return S(a)},[a]);return u.createElement(E,{styles:M(o,!t,a,n?"":"!important")})},D=!1;if("u">typeof window)try{var R=Object.defineProperty({},"passive",{get:function(){return D=!0,!0}});window.addEventListener("test",R,R),window.removeEventListener("test",R,R)}catch(e){D=!1}var P=!!D&&{passive:!1},_=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},I=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),z(e,r)){var a=B(e,r);if(a[1]>a[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},z=function(e,t){return"v"===e?_(t,"overflowY"):_(t,"overflowX")},B=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},F=function(e,t,n,r,a){var o,i=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),l=i*r,s=n.target,c=t.contains(s),u=!1,d=l>0,f=0,h=0;
1do{if(!s)break;var m=B(e,s),p=m[0],v=m[1]-m[2]-i*p;(p||v)&&z(e,s)&&(f+=v,h+=p);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s))return d&&(a&&1>Math.abs(f)||!a&&l>f)?u=!0:!d&&(a&&1>Math.abs(h)||!a&&-l>h)&&(u=!0),u},W=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},G=function(e){return[e.deltaX,e.deltaY]},H=function(e){return e&&"current"in e?e.current:e},U=0,Y=[];let $=(i=function(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),a=u.useState(U++)[0],o=u.useState(j)[0],i=u.useRef(e);u.useEffect(function(){i.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(H),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var l=u.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var a,o=W(e),l=n.current,s="deltaX"in e?e.deltaX:l[0]-o[0],c="deltaY"in e?e.deltaY:l[1]-o[1],u=e.target,d=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=window.getSelection(),h=f&&f.anchorNode;if(h&&(h===u||h.contains(u)))return!1;var m=I(d,u);if(!m)return!0;if(m?a=d:(a="v"===d?"h":"v",m=I(d,u)),!m)return!1;if(!r.current&&"changedTouches"in e&&(s||c)&&(r.current=a),!a)return!0;var p=r.current||a;return F(p,t,e,"h"===p?s:c,!0)},[]),s=u.useCallback(function(e){if(Y.length&&Y[Y.length-1]===o){var n="deltaY"in e?G(e):W(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var a=(i.current.shards||[]).map(H).filter(Boolean).filter(function(t){return t.contains(e.target)});(a.length>0?l(e,a[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=u.useCallback(function(e,n,r,a){var o={name:e,delta:n,target:r,should:a,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=u.useCallback(function(e){n.current=W(e),r.current=void 0},[]),f=u.useCallback(function(t){c(t.type,G(t),t.target,l(t,e.lockRef.current))},[]),h=u.useCallback(function(t){c(t.type,W(t),t.target,l(t,e.lockRef.current))},[]);u.useEffect(function(){return Y.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",s,P),document.addEventListener("touchmove",s,P),document.addEventListener("touchstart",d,P),function(){Y=Y.filter(function(e){return e!==o}),document.removeEventListener("wheel",s,P),document.removeEventListener("touchmove",s,P),document.removeEventListener("touchstart",d,P)}},[]);var m=e.removeScrollBar,p=e.inert;return u.createElement(u.Fragment,null,p?u.createElement(o,{styles:"\n .block-interactivity-".concat(a," {pointer-events: none;}\n .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,m?u.createElement(T,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},v.useMedium(i),w);var K=u.forwardRef(function(e,t){return u.createElement(x,s({},e,{ref:t,sideCar:$}))});K.classNames=x.classNames,e.s(["RemoveScroll",0,K],770963)},73772,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},a=0,o=function(e){return e&&(e.host||o(e.parentNode))},i=function(e,i,l,s){var c=(Array.isArray(e)?e:[e]).map(function(e){if(i.contains(e))return e;var t=o(e);return t&&i.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",i,". Doing nothing"),null)}).filter(function(e){return!!e});r[l]||(r[l]=new WeakMap);var u=r[l],d=[],f=new Set,h=new Set(c),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};
1c.forEach(m);var p=function(e){!e||h.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))p(e);else try{var r=e.getAttribute(s),a=null!==r&&"false"!==r,o=(t.get(e)||0)+1,i=(u.get(e)||0)+1;t.set(e,o),u.set(e,i),d.push(e),1===o&&a&&n.set(e,!0),1===i&&e.setAttribute(l,"true"),a||e.setAttribute(s,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return p(i),f.clear(),a++,function(){d.forEach(function(e){var r=t.get(e)-1,a=u.get(e)-1;t.set(e,r),u.set(e,a),r||(n.has(e)||e.removeAttribute(s),n.delete(e)),a||e.removeAttribute(l)}),--a||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),a=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live], script"))),i(r,a,n,"aria-hidden")):function(){return null}}])},803006,e=>{"use strict";var t=e.i(120803),n=e.i(89226),r=e.i(814587);let a=(0,n.forwardRef)(({className:e,...n},a)=>(0,t.jsx)("div",{ref:a,className:(0,r.cn)("bg-card text-card-foreground rounded-xl border shadow-sm",e),...n}));a.displayName="Card";let o=(0,n.forwardRef)(({className:e,...n},a)=>(0,t.jsx)("div",{ref:a,className:(0,r.cn)("flex flex-col space-y-1.5 p-6",e),...n}));o.displayName="CardHeader";let i=(0,n.forwardRef)(({className:e,...n},a)=>(0,t.jsx)("div",{ref:a,className:(0,r.cn)("font-semibold leading-none tracking-tight",e),...n}));i.displayName="CardTitle",(0,n.forwardRef)(({className:e,...n},a)=>(0,t.jsx)("div",{ref:a,className:(0,r.cn)("text-muted-foreground text-sm",e),...n})).displayName="CardDescription";let l=(0,n.forwardRef)(({className:e,...n},a)=>(0,t.jsx)("div",{ref:a,className:(0,r.cn)("p-6 pt-0",e),...n}));l.displayName="CardContent";let s=(0,n.forwardRef)(({className:e,...n},a)=>(0,t.jsx)("div",{ref:a,className:(0,r.cn)("flex items-center p-6 pt-0",e),...n}));s.displayName="CardFooter",e.s(["Card",0,a,"CardContent",0,l,"CardFooter",0,s,"CardHeader",0,o,"CardTitle",0,i])},902638,e=>{"use strict";var t=e.i(648193);e.s(["HoursStatus",()=>t.default])},194188,e=>{"use strict";var t=e.i(397887),n=e.i(120803),r=e.i(983314),a=e.i(469678),o=e.i(480252),i=e.i(63775),l=e.i(289912),s=e.i(775023),c=e.i(277288),u=e.i(123252),d=e.i(530911),f=e.i(90801),h=e.i(89226),m=e.i(494040),p=e.i(590564),v=e.i(970525),g=e.i(178181);let x=e=>{let{children:t,onMarkerClick:r,...a}=e,[o,i]=(0,d.useAdvancedMarkerRef)();return(0,n.jsx)(d.AdvancedMarker,{onClick:()=>{i&&r(i)},ref:o,...a,children:t})};e.i(40637);var w=e.i(259861),y=e.i(15751),b=e.i(158753);let j=e=>{let t=(0,b.default)(e.locality?.toLowerCase()??"unknown-locality"),n=e.slug??"unknown-slug";return`/locations/${t}/${n}`},N=({mapCenter:e})=>{let t=(0,d.useMap)();return(0,h.useEffect)(()=>{if(!t||!e)return;let{lat:n,lng:r}=e;n&&r&&(t.panTo({lat:n,lng:r}),t.setZoom(12))},[t,e]),null},C=({shouldLoad:e,mapId:t,mapCenter:r,defaultCenter:o,defaultZoom:i=7,selectedLocationId:l})=>{let[s,c]=(0,h.useState)(null),[u,f]=(0,h.useState)(null),{setSelectedLocationId:m,setHoveredLocationId:p}=(0,a.useLocationContext)(),{data:b}=(0,v.useGetNearby)(),C=(0,y.useRouter)(),k=(0,h.useCallback)(e=>{c(e),p?.(e)},[p]),S=(0,h.useCallback)(()=>{c(null),p?.(null)},[p]),E=(0,h.useCallback)(()=>{f(null),m?.(null)},[m]),A=(0,h.useMemo)(()=>b?.locations||[],[b]),M=(0,h.useMemo)(()=>A?[...A].map((e,t)=>({...e,zIndex:t,type:"pin"})):[],[A]),O=M.length,L=M.length+1;return(0,h.useEffect)(()=>{l!==u&&f(l??null)},[l,u]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(g.ConditionalComponent,{condition:e,children:(0,n.jsxs)(d.Map,{defaultZoom:i,defaultCenter:o,gestureHandling:"auto",disableDefaultUI:!0,mapId:t,onClick:E,clickableIcons:!1,children:[M.map(({id:e,zIndex:t,geolocation:r,type:a},o)=>{if(!r)return null;let[i,l]=r,c=A.find(t=>t.id===e),f=t;return(s===e&&(f=L),u===e&&(f=O),"pin"===a)?(0,n.jsx)(x,{zIndex:f,title:c?(0,w.friendlyOrStateCityorTitle)(c):void 0,className:"custom-marker",style:{transform:`scale(${[s,u].includes(e)?1.3:1})`,transformOrigin:d.AdvancedMarkerAnchorPoint.BOTTOM.join(" ")},position:{lat:l,lng:i},onMouseLeave:S,onMouseEnter:()=>{var t;let n=A.find(t=>
1t.id===e);k(e),n&&(t=j(n),C.prefetch(t))},onMarkerClick:()=>{var t;let n=A.find(t=>t.id===e);n&&(t=j(n),C.push(t))},children:(0,n.jsx)("div",{"aria-hidden":"true",className:` 2 flex h-8 w-8 items-center justify-center rounded-full 3 bg-tacodeli-td-aqua-600 font-hwtArtz text-white 4 group-hover:bg-[#e04e39] 5 `,children:o+1})},e):null}),(0,n.jsx)(N,{mapCenter:r})]})}),(0,n.jsx)(g.ConditionalComponent,{condition:!e,children:(0,n.jsx)("p",{className:"text-red-500",children:"Maps API Key is not set"})})]})};var k=e.i(902638),S=e.i(826666),E=e.i(564870),A=e.i(803006),M=e.i(856842),O=e.i(814587),L=e.i(38619),T=e.i(965835),D=e.i(45453),R=e.i(518271),P=e.i(25663);let _=({className:e,cardClassName:t,buttonPrimaryLink:r,noResultsContent:o})=>{let{selectedLocationId:i,hoveredLocationId:l,setSelectedLocationId:s}=(0,a.useLocationContext)(),{data:c,isLoading:u,isValidating:d,error:m}=(0,v.useGetNearby)(),p=(0,h.useId)(),x=c?.locations||[],y=u||d?"Searching for locationsâ¦":m?"Locations could not be loaded.":0===x.length?"No Tacodeli locations found near that address.":`${x.length} ${1===x.length?"location":"locations"} found, nearest first.`,j=u||d?(0,n.jsxs)("div",{className:"flex flex-col items-center text-lg","aria-busy":"true",children:[(0,n.jsx)(P.LoaderCircle,{size:16,className:"animate-spin","aria-hidden":"true"}),(0,n.jsx)("p",{className:"pt-2 font-hwtArtz",children:"Finding locations near youâ¦"})]}):m?(0,n.jsxs)("div",{className:"flex flex-col items-center text-lg",children:[(0,n.jsx)(R.CircleX,{size:16,"aria-hidden":"true"}),(0,n.jsx)("p",{className:"pt-2 font-hwtArtz",children:"Locations could not be loaded. Please try again."})]}):0===x.length?(0,n.jsx)(n.Fragment,{children:o??null}):(0,n.jsxs)(g.ConditionalComponent,{condition:!!(x&&x.length>0),children:[(0,n.jsx)("h2",{id:p,className:"sr-only",children:"Tacodeli locations near you"}),(0,n.jsx)("ul",{className:(0,O.cn)("flex flex-col items-center",e),"aria-labelledby":p,children:x?.map((e,a)=>{let o,c,u=(0,w.friendlyOrStateCityorTitle)(e),d=(0,T.measurementSystemForUnits)((0,T.asDistanceUnits)(e.units)??"miles"),h=()=>s?.(e.id);return(0,n.jsx)("li",{className:"relative w-full py-4","aria-current":e.id===i||void 0,children:(0,n.jsxs)(A.Card,{className:(0,O.cn)("p-4 hover:bg-tacodeli-td-orche-100 w-full",{"is-selected bg-slate-100":e.id===i,"is-hovered":e.id===l},"group",t),onClick:h,onFocusCapture:h,children:[(0,n.jsx)("div",{className:"",children:(0,n.jsxs)("div",{className:"flex-1",children:[(0,n.jsx)(A.CardHeader,{className:` 6 flex flex-row items-center justify-between gap-4 p-0 7 `,children:(0,n.jsxs)("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[(0,n.jsx)("div",{"aria-hidden":"true",className:"bg-tacodeli-td-aqua-600 group-hover:bg-[#e04e39] font-hwtArtz text-white flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full",children:a+1}),(0,n.jsx)("h3",{className:(0,O.cn)("flex-1 truncate font-hwtArtz font-semibold leading-tight tracking-tight text-tacodeli-td-blue-900 text-2xl"),children:u})]})}),(0,n.jsxs)("div",{className:"items-center font-sans text-lg text-black pt-2",children:[e.distance&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("span",{className:"font-hwtArtz","aria-hidden":"true",children:[(0,S.roundToDecimalPlaces)(e.distance,1)," ",d.abbreviation," ","away"]}),(0,n.jsxs)("span",{className:"sr-only",children:[(0,S.roundToDecimalPlaces)(e.distance,1)," ",d.units," away"]}),(0,n.jsx)("span",{className:"mx-2 font-hwtArtz","aria-hidden":"true",children:"-"})]}),(0,n.jsx)("div",{className:"inline-block",children:(0,n.jsx)(k.HoursStatus,{nowMs:Date.now(),separator:"|",timezone:"America/Chicago",filterHoursSetName:"Base",regularHours:(0,w.withFallback)(e.storeData?.regularHours,[]),exceptionalHours:(0,w.withFallback)(e.storeData?.exceptionalHours,[]),temporaryClosures:[],isPermanentlyClosed:e.storeData?.isPermanentlyClosed??!1,className:"font-hwtArtz"})})]}),e.storeData?.BusinessDetails?.openingDate&&new Date(e.storeData.BusinessDetail
7s.openingDate)>(0,D.getNow)()?(0,n.jsx)("p",{className:"p-0 text-lg text-black",children:" Coming Soon!"}):(0,n.jsx)(A.CardContent,{className:"p-0 text-lg text-black",children:(0,n.jsx)(M.NarrowConditionalComponent,{condition:void 0!==e.storeData,value:e.storeData,children:({value:e})=>(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"mb-1 text-lg p-0 text-black leading-snug",children:(0,n.jsx)("span",{className:"block",children:(0,L.createAddressArray)(e).at(0)})})})})})]})}),(0,n.jsx)(A.CardFooter,{className:"justify-center p-0 pt-4",children:(0,n.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,n.jsx)(f.default,{href:(o=(0,b.default)(e.locality?.toLowerCase()??"unknown-locality"),c=e.slug??"unknown-slug",`/locations/${o}/${c}`),prefetch:!0,className:"w-full","aria-label":`Location Details â ${u}`,children:(0,n.jsx)(E.Button,{variant:"outline",className:"text-white hover:text-white w-full font-hwtArtz text-xl bg-tacodeli-td-blue-900 hover:bg-tacodeli-td-aqua-600",children:"Location Details"})}),e.storeData?.BusinessDetails?.openingDate&&new Date(e.storeData.BusinessDetails.openingDate)>(0,D.getNow)()?null:(0,n.jsx)(M.NarrowConditionalComponent,{condition:void 0!==r,value:e.storeData?.ContactDetails?.orderLinkUrl||r,children:({value:e})=>(0,n.jsx)(f.default,{href:e,className:"w-full","aria-label":`Order Online â ${u}`,children:(0,n.jsx)(E.Button,{variant:"outline",className:"font-white w-full font-hwtArtz text-xl bg-tacodeli-td-ochre-300 text-tacodeli-td-blue-950",children:"Order Online"})})})]})})]})},e.id)})})]});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{role:"status","aria-live":"polite","aria-atomic":"true",className:"sr-only",children:y}),j]})},I="AIzaSyDHrvCZnduAUdd8wEhxSOMWDpZuxSQU19k",z=t.default.env.NEXT_PUBLIC_GOOGLE_MAPS_BASE_MAP_ID||i.GOOGLE_MAPS_BASE_MAP_ID,B=({baseUrl:e,orderUrl:t})=>{let{setSelectedPlace:r,searchFromPosition:i,selectedLocationId:c,mostRecentPosition:u,mapId:d}=(0,a.useLocationContext)(),[m,p]=(0,h.useState)("list"),v=e=>{i(e)};return(0,n.jsxs)("div",{className:` 8 relative flex h-[95vh] max-h-[90vh] w-full flex-col 9 md:flex-row 10 `,children:[(0,n.jsx)("div",{className:` 11 absolute bottom-4 left-1/2 z-50 -translate-x-1/2 12 md:hidden 13 `,children:(0,n.jsx)("button",{type:"button",onClick:()=>p("list"===m?"map":"list"),"aria-label":"list"===m?"Map View â switch from the list":"List View â switch from the map",className:` 14 rounded-full border border-gray-300 bg-white px-4 py-2 font-hwtArtz 15 text-sm text-tacodeli-td-blue-950 shadow-md transition 16 hover:bg-gray-100 17 `,children:"list"===m?"Map View":"List View"})}),(0,n.jsxs)("div",{className:` 18 ${"map"===m?"hidden":"flex"} 19 flex-grow flex-col items-center gap-4 overflow-y-auto p-4 20 md:flex md:max-w-[33rem] 21 `,children:[(0,n.jsx)("div",{className:"w-full px-4",role:"search","aria-label":"Find a Tacodeli location",children:(0,n.jsx)(s.AddressAutoCompleteInputContainer,{setSelectedPlace:e=>{e?.location&&r({lat:e.location.lat(),lng:e.location.lng()})},commandInputClassName:"border-none outline-none",label:"Find a Tacodeli location"})}),(0,n.jsx)("div",{className:` 22 block text-center font-hwtArtz text-tacodeli-td-blue-950 23 md:hidden 24 `,children:(0,n.jsx)(l.GetNavigatorGeoLocation,{setGeoLocation:v,className:"hover:text-tacodeli-td-aqua-600"})}),(0,n.jsx)("div",{className:"h-auto w-full px-8",children:(0,n.jsx)(_,{className:"w-full",cardClassName:"hover:bg-tacodeli-td-orche-100 font-vendetta text-black cursor-pointer",buttonPrimaryLink:t,noResultsContent:(0,n.jsxs)("div",{className:"text-xl",children:[(0,n.jsx)("p",{className:"p-6 pb-0 text-xl",children:"It looks like there isnt a Tacodeli within 50 miles of you. Perhaps, its time for you to move!"}),(0,n.jsxs)("p",{className:"p-6 text-xl",children:["Want more options? Find our tacos at"," ",(0,n.jsx)("a",{href:`${e}/locations/tacodeli-vendors/`,className:"underline",children:"these local coffee shops and gourmet grocery stores"})," ","or"," ",(0,n.jsx)(f.default,{href:"/locations",className:"underline",children:"pick a location here"}),"."]})]})})})]}),(0,n.jsxs)("div",{className:` 25 ${"list"===m?"hidden":"block"} 26 relative w-full 27 md:block md:w-[70%] 28 `,children:[(0,n.jsx)("div",{className:"relative",children:(0,n.jsx)("div",{className:` 29 absolute inset-0 z-10 flex items-start justify-start p-4 30 `,children:(0,n.jsx)("div",{className:` 31 [&_button]hover:text-tacodeli-td-aqua-600 32 cursor-pointer rounded-md border border-gray-200 bg-white 33 text-center font-hwtArtz text-td-blue-950 shadow-md transition 34 hover:text-tacodeli-td-aqua-600 hover:shadow-lg 35 md:block 36 `,children:(0,n.jsx)(l.GetNavigatorGeoLocation,{setGeoLocation:v,className:"hover:text-tacodeli-td-aqua-600"})})})}),(0,n.jsx)("div",{role:"region","aria-label":"Map of Tacodeli locations",className:` 37 relative h-[100vh] w-full 38 md:h-full 39 `,children:(0,n.jsx)(C,{shouldLoad:!!I,defaultZoom:7,mapId:d,mapCenter:u,selectedLocationId:c,defaultCenter:o.CommonCoordinates.austin},m)})]})]})};e.s(["DemoGoogleMapsFindLocation",0,({tenant:e,baseUrl:t,orderUrl:i})=>{let{data:l,error:s}=(0,c.useGeoGuesstimate)();return(0,n.jsx)(m.ErrorBoundary,{fallback:(0,n.jsx)("div",{children:"Something went wrong"}),children:(0,n.jsx)(a.LocationProvider,{tenant:e,geoGuessResp:l,geoIsError:!!s,defaultCenter:o.CommonCoordinates.temple,radius:200,defaultUnits:"miles",defaultLimit:100,mapId:z,children:(0,n.jsx)(p.SWRConfig,{value:{fallback:{[(0,p.unstable_serialize)([r.GET_ALL_MAP_LOCATIONS_QUERY_KEY,null])]:async()=>({locations:[]}),[(0,p.unstable_serialize)([r.GET_MAP_LOCATIONS_WITHIN_QUERY_KEY,null])]:async()=>({locations:[]})}},children:(0,n.jsx)(d.APIProvider,{apiKey:I,children:(0,n.jsx)(h.Suspense,{fallback:(0,n.jsx)(u.Skeleton,{}),children:(0,n.jsx)(B,{baseUrl:t,orderUrl:i})})})})})})}],194188)}]);
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.