1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[216],{70216:(t,e,n)=>{n.r(e),n.d(e,{default:()=>N});var r=n(6029),a=n(67549),A=n(82203),_=n.n(A),i=n(95617),l=n(71911),s=n(26831),o=n(60024);let N=function(){let{urls:t,citiesWithLocalRetailerUrl:e}=(0,a.md)(o.tS),n=function(){let{currentCategory:t,retailer:e,sharedCategory:n,sharedBrand:r,isLocal:A}=(0,a.md)(o.dn),{t:_}=(0,a.md)(o.GS),{isRetailerPage:N,isMainCategoryPage:d,isProductCategoryPage:u,isProductBrandPage:L}=(0,s.A)();if(N){if(!e)throw new l.A;return _(A?"RETAILERPAGELOCAL_RETAILER_NATIONAL_LINK":"RETAILERPAGENATIONAL_STORES_NATIONAL_LINK",{RETAILER:e.name})}return d&&A?_("MAINCATEGORYPAGELOCAL_MAINCATEGORY_NATIONAL_LINK",{MAINCATEGORY:t?.name}):u&&A?_("PRODUCTCATEGORYPAGELOCAL_PRODUCT_NATIONAL_LINK",{PRODUCTCATEGORY:(0,i.A)(n?.name??"")}):L&&A?_("PRODUCTBRANDPAGELOCAL_PRODUCT_NATIONAL_LINK",{BRAND:(0,i.A)(r?.name??"")}):""}(),{isLocal:A}=(0,a.md)(o.dn),{isRetailerPage:N,isMainCategoryPage:d,isProductCategoryPage:u,isProductBrandPage:L}=(0,s.A)();if(!t)return null;let E=null,R=null;return(d&&A&&(E=t.categoryNational),N&&(A?(E=t.retailerNational,R="text_description_button_retailer_national_link"):e&&e.length>0&&(E=t.stores,R="text_description_button_stores_link")),u&&A&&(E=t.sharedCategoryNational,R="text_description_button_shared_category_national_link"),L&&A&&(E=t.sharedBrandNational,R="text_description_button_brand_national_link"),E)?(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(_(),{prefetch:!1,href:E,"data-testid":R,children:(0,r.jsx)("p",{className:"text-sm font-bold text-primary-base",children:n})})}):null}},71911:(t,e,n)=>{n.d(e,{A:()=>r});class r extends Error{constructor(...t){super(...t),this.message="Retailer data is required but was not found."}}}}]);
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.