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]="d47b0938-75ec-e23b-1b1a-8ede63aac5c6")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,579144,e=>{"use strict";var t=e.i(271645);let n=t.createContext(void 0);function r(){let e=t.useContext(n);return e?.direction??"ltr"}e.s(["useDirection",()=>r])},343084,e=>{"use strict";let t=["top","right","bottom","left"],n=t.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,i=Math.max,l=Math.round,a=Math.floor,o=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"};function u(e,t,n){return i(e,r(t,n))}function c(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function h(e){return m(g(e))}function y(e,t,n){void 0===n&&(n=!1);let r=f(e),i=h(e),l=p(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[l]>t.floating[l]&&(a=k(a)),[a,k(a)]}function x(e){let t=k(e);return[w(e),t,w(t)]}function w(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let b=["left","right"],C=["right","left"],S=["top","bottom"],v=["bottom","top"];function A(e,t,n,r){let i=f(e),l=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?C:b;return t?b:C;case"left":case"right":return t?S:v;default:return[]}}(d(e),"start"===n,r);return i&&(l=l.map(e=>e+"-"+i),t&&(l=l.concat(l.map(w)))),l}function k(e){let t=d(e);return s[t]+e.slice(t.length)}function _(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function E(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}e.s(["clamp",()=>u,"createCoords",()=>o,"evaluate",()=>c,"floor",()=>a,"getAlignment",()=>f,"getAlignmentAxis",()=>h,"getAlignmentSides",()=>y,"getAxisLength",()=>p,"getExpandedPlacements",()=>x,"getOppositeAlignmentPlacement",()=>w,"getOppositeAxis",()=>m,"getOppositeAxisPlacements",()=>A,"getOppositePlacement",()=>k,"getPaddingObject",()=>_,"getSide",()=>d,"getSideAxis",()=>g,"max",()=>i,"min",()=>r,"placements",()=>n,"rectToClientRect",()=>E,"round",()=>l,"sides",()=>t])},453585,e=>{"use strict";var t=e.i(343084),n=e.i(229315);function r(e){let r=(0,n.getComputedStyle)(e),i=parseFloat(r.width)||0,l=parseFloat(r.height)||0,a=(0,n.isHTMLElement)(e),o=a?e.offsetWidth:i,s=a?e.offsetHeight:l;return((0,t.round)(i)!==o||(0,t.round)(l)!==s)&&(i=o,l=s),{width:i,height:l}}e.s(["getCssDimensions",()=>r])},781998,e=>{"use strict";let t="data-checkout",n="buy.tucsonfoodie.com";function r(e){let t,r=e.trim();if(!r)return null;let i=/^https?:\/\//i.test(r)?r:`https://${r.replace(/^\/+/,"")}`;try{t=new URL(i)}catch{return null}if(t.hostname.toLowerCase()!==n)return null;let l=t.pathname.replace(/\/+$/,"");return""===l?null:`https://${n}${l}`}function i(e){return e.includes(t)}e.s(["CHECKOUT_BUY_HOST",0,n,"CHECKOUT_EMBED_ATTR",0,t,"CHECKOUT_EMBED_CLASS",0,"cp-checkout","CHECKOUT_OVERLAY_SCRIPT",0,"https://assets.checkoutpage.com/overlay.js","htmlIncludesCheckoutEmbed",()=>i,"normalizeCheckoutUrl",()=>r])},918459,e=>{"use strict";var t=e.i(843476),n=e.i(657688),r=e.i(61835);function i({url:e,sizePx:i=20,className:l}){let a=(0,r.renderableImageUrl)(e);return a?(0,t.jsx)(n.default,{src:a,alt:"",width:2*i,height:2*i,sizes:`${i}px`,className:l??"size-5 shrink-0 rounded-full object-cover"}):null}e.s(["AuthorAvatar",()=>i])},346897,e=>{"use strict";let t=(0,e.i(475254).default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);e.s(["MapPin",()=>t],346897)},914794,e=>{"use strict";var t=e.i(843476);e.s(["default",0,()=>(0,t.jsx)("span",{className:"shrink-0 text-base","aria-hidden":!0,
2children:"â¢"})])},135367,e=>{"use strict";var t=e.i(843476),n=e.i(522016);let r=(0,e.i(475254).default)("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);e.i(257620);var i=e.i(186459);e.i(89905);var l=e.i(580398),a=e.i(308630),o=e.i(271645),s=e.i(319778);let u=null;async function c(){try{var e;let t=await fetch("/api/ops/me",{credentials:"include"});if(!t.ok)return!1;return e=await t.json(),"superadmin"===e.ops_role||(e.organizations?.length??0)>0}catch{return!1}}var d=e.i(890057);function f({entity:e,id:f,className:m}){let p=function(){let{data:e,isPending:t}=s.authClient.useSession(),n=e?.user.id??null,[r,i]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{if(t)return;if(!n){u=null,i(!1);return}u?.userId!==n&&(u={userId:n,promise:c()});let e=!0;return u.promise.then(t=>{e&&i(t)}),()=>{e=!1}},[t,n]),r}(),{t:g}=(0,i.useTranslation)("common");if(!p)return null;let h=function(e,t){if(null==t)return null;let n=String(t).trim();if(!n)return null;switch(e){case"guide":return a.pathsConfig.admin.content.guides.edit(n);case"article":return a.pathsConfig.admin.content.articles.edit(n);case"event":return a.pathsConfig.admin.content.events.edit(n);case"spot":return a.pathsConfig.admin.brandContent.edit(n);case"dish":return a.pathsConfig.admin.dishes.edit(n)}}(e,f);return h?(0,t.jsx)("div",{className:(0,l.cn)(d.ADS_EXCLUSION_CLASS,"hidden justify-end lg:flex",m),"data-tf-ads-exclude":!0,children:(0,t.jsxs)(n.default,{href:h,target:"_blank",rel:"noopener noreferrer",prefetch:!1,"data-testid":"admin-edit-button",className:(0,l.cn)("inline-flex items-center gap-1.5 rounded-full border border-neutral-300 bg-white/90","px-3 py-1.5 text-[13px] font-semibold text-neutral-700 shadow-sm backdrop-blur-sm","transition hover:border-neutral-400 hover:text-neutral-900","focus-visible:ring-2 focus-visible:ring-neutral-900 focus-visible:ring-offset-2 focus-visible:outline-none"),children:[(0,t.jsx)(r,{className:"size-3.5","aria-hidden":!0}),g("adminEdit.label")]})}):null}e.s(["AdminEditButton",()=>f],135367)},781431,e=>{"use strict";var t=e.i(843476),n=e.i(3303),r=e.i(271645);e.i(89905);var i=e.i(580398),l=e.i(781998);function a(e){try{let t=new URL(e.replace(/&/g,"&"));if(!/(^|\.)instagram\.com$/i.test(t.hostname))return null;let n=t.pathname.endsWith("/")?t.pathname:`${t.pathname}/`;return`https://www.instagram.com${n}`}catch{return null}}var o=e.i(890057);let s=new Set;function u(e){window.instgrm?.Embeds?.process?.(e)}function c(){for(let e of s)u(e)}function d({html:e,className:d,bleedMedia:f=!0,readingColumn:m=!0,deadInstagramPermalinks:p}){let g=(0,r.useRef)(null),h=e.includes("instagram-media")||e.includes("instagram.com/embed.js"),y=(0,l.htmlIncludesCheckoutEmbed)(e);return((0,r.useEffect)(()=>{let t=g.current;if(t&&e.trim())return p?.length&&function(e,t){if(0===t.length)return;let n=new Set(t.map(a).filter(e=>null!==e));if(0!==n.size)for(let t of Array.from(e.querySelectorAll("blockquote.instagram-media[data-instgrm-permalink], blockquote.instagram-media-registered[data-instgrm-permalink]"))){let r=a(t.getAttribute("data-instgrm-permalink")??"");r&&n.has(r)&&(t.id&&e.querySelector(`iframe[data-instgrm-payload-id="${CSS.escape(t.id)}"]`)?.remove(),t.replaceWith(function(e,t){let n=e.createElement("div");n.setAttribute("data-ig-embed-fallback",""),n.className=o.ADS_EXCLUSION_CLASS,n.setAttribute("style","max-width:540px;margin:24px auto;padding:20px;border:1px solid #dbdbdb;border-radius:12px;background:#fff;text-align:center;font-size:15px;line-height:1.5;color:#525252;");let r=e.createElement("p");r.style.margin="0",r.textContent="This Instagram post can't be embedded.",n.appendChild(r);let i=e.createElement("a");return i.href=t,i.target="_blank",i.rel="noopener noreferrer",i.setAttribute("style","display:inline-block;margin-top:8px;color:#dc2626;text-decoration:underline;text-underline-offset:2px;"),i.textContent="View on Instagram",n.appendChild(i),n}(t.ownerDocument,r)))}}(t,p),s.add(t),window.instgrm?.Embeds&&u(t),()=>{s.delete(t)}},[e,p]),e.trim())?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:(0,i.cn)("w-full",m&&"mx-auto max-w-[46rem]"),children:(0,t.jsx)("div",{ref:g,className:(0,i.cn)("[&_.instagram-media]:mx-auto [&_.instagram-media]:my-6 [&_.instagram-media]:max-w-full","[&_figure]:my-6 [&_figure_figcaption]:mt-2 [&_figure_figcaption]:text-sm [&_figure_figcaption]:text-neutral-500 [&_figure_figcaption]:italic [&_figure_img]:my-0",f&&"lg:[&_figure]:-mx-20 lg:[&_figure_img]:mx-auto",d),dangerouslySetInnerHTML:{__html:e}})}),h?(0,t.jsx)(n.default,{src:"https://www.instagram.com/embed.js",strategy:"lazyOnload",onReady:c}):null,y?(0,t.jsx)(n.default,{src:l.CHECKOUT_OVERLAY_SCRIPT,strategy:"lazyOnload"}):null]}):null}e.s(["CmsHtmlContent",()=>d],781431)},503906,e=>{"use strict";var t=e.i(271645),n=e.i(643507);function r({contentType:e,contentId:r=null,brandId:i=null}){let l=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{l.current||(l.current=!0,(0,n.trackPartnerContentView)({contentType:e,contentId:r,brandId:i}))},[e,r,i]),null}e.s(["PartnerViewTracker",()=>r])},528367,e=>{"use strict";var t=e.i(843476),n=e.i(643507);function r({href:e,brandId:r,linkType:i,surface:l,contentType:a=null,contentRef:o=null,isClosedSpot:s=!1,children:u,...c}){let d=()=>
2{if(r)try{(0,n.trackPartnerLinkTap)({brandId:r,linkType:i,surface:l,contentType:a,contentRef:o,isClosedSpot:s})}catch{}};return(0,t.jsx)("a",{href:e,onClick:d,onAuxClick:d,...c,children:u})}e.s(["PartnerLink",()=>r])},802645,e=>{"use strict";var t=e.i(843476),n=e.i(271645);e.i(257620);var r=e.i(186459);e.i(89905);var i=e.i(580398),l=e.i(579475),a=e.i(707689);function o(){let[e,t]=(0,n.useState)(null);return(0,n.useEffect)(()=>{t((0,l.phoenixWeekMinute)());let e=window.setInterval(()=>t((0,l.phoenixWeekMinute)()),6e4);return()=>window.clearInterval(e)},[]),e}function s(e){let t=o();return e&&null!=t?(0,l.openStatusAt)(e,t):null}function u(e){let{t}=(0,r.useTranslation)("marketing");return e?e.temporarilyClosed?t("hours.temporarilyClosed"):e.alwaysOpen?t("hours.open24"):e.openNow?null!=e.closesAtMinute?t("hours.openUntil",{time:(0,l.formatClockMinute)(e.closesAtMinute)}):t("hours.open"):e.opensToday&&null!=e.opensAtMinute?t("hours.closedUntil",{time:(0,l.formatClockMinute)(e.opensAtMinute)}):t("hours.closedNow"):null}function c({hours:e,className:n,openClassName:r="text-[#17803C]",closedClassName:l="text-[#B3251C]",temporarilyClosedClassName:a="text-[#B45309]",withDot:o=!1}){let c=s(e),d=u(c);return c&&d?(0,t.jsxs)("span",{className:(0,i.cn)("inline-flex items-center gap-1.5",c.temporarilyClosed?a:c.openNow?r:l,n),children:[o?(0,t.jsx)("span",{className:"size-[7px] shrink-0 rounded-full bg-current","aria-hidden":!0}):null,d]}):null}function d(e){return(0,t.jsx)(a.DecorativeBoundary,{name:"SpotHoursBadge",children:(0,t.jsx)(c,{...e})})}e.s(["SpotHoursBadge",()=>d,"usePhoenixWeekMinute",()=>o,"useSpotHoursLabel",()=>u,"useSpotOpenStatus",()=>s])},579475,e=>{"use strict";function t(e=new Date){let n=new Date(e.getTime()+-252e5);return 1440*n.getUTCDay()+60*n.getUTCHours()+n.getUTCMinutes()}function n(e,t){if("temporarily_closed"===e.kind)return!1;if("always_open"===e.kind)return!0;for(let[n,r]of e.intervals){if(t>=n&&t<r)return!0;let e=t+10080;if(e>=n&&e<r)return!0}return!1}function r(e,n=t()){if("temporarily_closed"===e.kind)return{openNow:!1,alwaysOpen:!1,temporarilyClosed:!0,closesAtMinute:null,opensAtMinute:null,opensToday:!1};if("always_open"===e.kind)return{openNow:!0,alwaysOpen:!0,temporarilyClosed:!1,closesAtMinute:null,opensAtMinute:null,opensToday:!1};for(let[t,r]of e.intervals)for(let e of[0,10080]){let i=n+e;if(i>=t&&i<r)return{openNow:!0,alwaysOpen:!1,temporarilyClosed:!1,closesAtMinute:r%1440,opensAtMinute:null,opensToday:!1}}let i=null;for(let[t]of e.intervals)for(let e of[0,10080]){let r=t+e;r>n&&(null==i||r<i)&&(i=r)}let l=null!=i&&Math.floor(i/1440)===Math.floor(n/1440);return{openNow:!1,alwaysOpen:!1,temporarilyClosed:!1,closesAtMinute:null,opensAtMinute:null!=i?i%1440:null,opensToday:l}}function i(e){let t=Math.floor(e/60)%24,n=e%60,r=t>=12?"PM":"AM",i=t%12==0?12:t%12;return 0===n?`${i} ${r}`:`${i}:${String(n).padStart(2,"0")} ${r}`}let l=[1,2,3,4,5,6,0];function a(e){if("always_open"===e.kind||"temporarily_closed"===e.kind)return null;let t=new Map;for(let[n,r]of e.intervals){let e=Math.floor(n/1440)%7,i=n%1440,l=t.get(e)??[];l.push([i,i+(r-n)]),t.set(e,l)}return l.map(e=>({day:e,intervals:(t.get(e)??[]).sort((e,t)=>e[0]-t[0])}))}e.s(["WEEK_DISPLAY_ORDER",0,l,"formatClockMinute",()=>i,"isOpenAt",()=>n,"openStatusAt",()=>r,"phoenixWeekMinute",()=>t,"weeklySchedule",()=>a])},831720,e=>{"use strict";var t=e.i(843476),n=e.i(271645);e.i(89905);var r=e.i(580398),i=e.i(750365),l=e.i(890057);let a="https://securepubads.g.doubleclick.net/tag/js/gpt.js",o=!1,s=[[300,250]];function u({slotId:e,unitPath:u,sizes:c=s,className:d,label:f="Advertisement"}){let m=(0,n.useRef)(null),[p,g]=(0,n.useState)(!1),[h,y]=(0,n.useState)(null),x=i.default.NEXT_PUBLIC_GAM_SLOTS_ENABLED,w=i.default.NEXT_PUBLIC_GAM_NETWORK_CODE,b=JSON.stringify(c),C=Math.max(...c.map(([,e])=>e));return((0,n.useEffect)(()=>{if(!x||!w)return;let t=m.current;if(!t)return;y(null);let n=JSON.parse(b),r=null,i=!1,l=!1,s=null,c=new IntersectionObserver(t=>{t.some(e=>e.isIntersecting)&&(c.disconnect(),(()=>{if(i)return;i=!0,(()=>{if(o||(o=!0,document.querySelector(`script[src="${a}"]`)))return;let e=document.createElement("script");e.src=a,e.async=!0,e.crossOrigin="anonymous",document.head.appendChild(e)})(),s=setTimeout(()=>{l||g(!0)},8e3);let t=(window.googletag=window.googletag??{cmd:[]},window.googletag);t.cmd.push(()=>
2{if(!t.defineSlot||!t.pubads)return;let i=t.defineSlot(`/${w}/${u}`,n,e);if(!i)return;r=i;let a=t.pubads();a.addEventListener("slotRenderEnded",e=>{if(e.slot!==i)return;if(l=!0,e.isEmpty)return void g(!0);let t=e.size,n=Array.isArray(t)?t[1]:void 0;"number"==typeof n&&n>0&&y(n)}),i.addService(a),t.enableServices?.(),t.display?.(e),a.isInitialLoadDisabled?.()&&a.refresh?.([i])})})())},{rootMargin:"600px 0px"});return c.observe(t),()=>{c.disconnect(),s&&clearTimeout(s);let e=window.googletag,t=r;t&&e&&e.cmd.push(()=>e.destroySlots?.([t]))}},[x,w,e,u,b]),x&&w&&!p)?(0,t.jsxs)("div",{className:(0,r.cn)(l.ADS_EXCLUSION_CLASS,l.AD_SLOT_CLASS,"w-full max-w-full min-w-0 py-6 text-center",d),"data-tf-ads-exclude":!0,children:[(0,t.jsx)("p",{className:"mb-2 text-[10px] tracking-widest text-neutral-400 uppercase",children:f}),(0,t.jsx)("div",{ref:m,id:e,style:{minHeight:h??C},className:"flex max-w-full min-w-0 items-center justify-center overflow-hidden"})]}):null}e.s(["AdSlot",()=>u])},266380,e=>{"use strict";e.i(450003),e.i(957339),e.i(36945),e.i(22434),e.i(709271),e.s([])},643507,e=>{"use strict";let t="tf.partner.vk",n=/^[A-Za-z0-9_-]{22}$/;function r(){let e=new Uint8Array(16);crypto.getRandomValues(e);let t="";for(let n of e)t+=String.fromCharCode(n);return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function i(e=new Date){let l=function(e=new Date){return new Intl.DateTimeFormat("en-CA",{timeZone:"America/Phoenix",year:"numeric",month:"2-digit"}).format(e).slice(0,7)}(e);try{let e=function(e){if(!e)return null;try{let t=JSON.parse(e);if(!t||"object"!=typeof t)return null;let{k:r,m:i}=t;if("string"!=typeof r||"string"!=typeof i||!n.test(r))return null;return{k:r,m:i}}catch{return null}}(window.localStorage.getItem(t));if(e?.m===l)return e.k;let i=r();return window.localStorage.setItem(t,JSON.stringify({k:i,m:l})),i}catch{return r()}}function l(e){try{fetch("/api/partner-track",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e),keepalive:!0}).catch(()=>{})}catch{}}function a({brandId:e,linkType:t,surface:n,contentType:r=null,contentRef:a=null,isClosedSpot:o=!1}){e&&l({kind:"link_tap",brandId:e,linkType:t,surface:n,contentType:r,contentRef:a,isClosedSpot:o,visitorKey:i()})}function o({contentType:e,contentId:t=null,brandId:n=null}){l({kind:"content_view",contentType:e,contentId:t,brandId:n,visitorKey:i()})}e.s(["trackPartnerContentView",()=>o,"trackPartnerLinkTap",()=>a],643507)}]); 3 4//# debugId=d47b0938-75ec-e23b-1b1a-8ede63aac5c6 5//# sourceMappingURL=f6c15a06b092c587.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.