PageSourceSearch

https://www.stanleytools.com/_next/static/immutable/chunks/1dzhnq9vrippw.js

js stanleytools.com collected 2026-09-24 10:19:39 UTC 39,796 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,777622,e=>{"use strict";e.s(["formatPhoneNumber",0,(e,t)=>{if(!e)return;let l=e.replace(/\D/g,"");if("BR"===t?.trim().toUpperCase()){let t;return((t=l).startsWith("55")&&(12===t.length||13===t.length)&&(t=t.slice(2)),10===t.length)?`(${t.slice(0,2)}) ${t.slice(2,6)}-${t.slice(6)}`:11===t.length?`(${t.slice(0,2)}) ${t.slice(2,7)}-${t.slice(7)}`:e}let r=l.slice(-10);if(10!==r.length)return e;let a=r.slice(0,3),s=r.slice(3,6),i=r.slice(6);return`(${a}) ${s}-${i}`}])},74639,e=>{"use strict";var t=e.i(777831),l=e.i(529956);let r=(0,t.default)([(0,l.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),(0,l.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime");e.s(["default",0,r])},387120,e=>{"use strict";var t=e.i(777831),l=e.i(529956);let r=(0,t.default)((0,l.jsx)("path",{d:"m22.43 10.59-9.01-9.01c-.75-.75-2.07-.76-2.83 0l-9 9c-.78.78-.78 2.04 0 2.82l9 9c.39.39.9.58 1.41.58s1.02-.19 1.41-.58l8.99-8.99c.79-.76.8-2.02.03-2.82m-10.42 10.4-9-9 9-9 9 9zM8 11v4h2v-3h4v2.5l3.5-3.5L14 7.5V10H9c-.55 0-1 .45-1 1"}),"DirectionsOutlined");e.s(["default",0,r])},873388,e=>{"use strict";var t=e.i(777831),l=e.i(529956);let r=(0,t.default)((0,l.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email");e.s(["default",0,r])},906800,e=>{"use strict";var t=e.i(777831),l=e.i(529956);let r=(0,t.default)((0,l.jsx)("path",{d:"M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7"}),"GpsFixed");e.s(["default",0,r])},498055,e=>{"use strict";var t=e.i(777831),l=e.i(529956);let r=(0,t.default)((0,l.jsx)("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"}),"LocationOn");e.s(["default",0,r])},799488,e=>{"use strict";var t=e.i(777831),l=e.i(529956);let r=(0,t.default)([(0,l.jsx)("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7M7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9"},"0"),(0,l.jsx)("circle",{cx:"12",cy:"9",r:"2.5"},"1")],"LocationOnOutlined");e.s(["default",0,r])},292374,e=>{"use strict";var t=e.i(777831),l=e.i(529956);let r=(0,t.default)((0,l.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew");e.s(["default",0,r])},307528,e=>{"use strict";var t=e.i(777831),l=e.i(529956);let r=(0,t.default)((0,l.jsx)("path",{d:"M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02z"}),"Phone");e.s(["default",0,r])},707892,e=>{"use strict";var t=e.i(777831),l=e.i(529956);let r=(0,t.default)((0,l.jsx)("path",{d:"M3 17v2h6v-2zM3 5v2h10V5zm10 16v-2h8v-2h-8v-2h-2v6zM7 9v2H3v2h4v2h2V9zm14 4v-2H11v2zm-6-4h2V7h4V5h-4V3h-2z"}),"Tune");e.s(["default",0,r])},731059,e=>{"use strict";var t=e.i(529956),l=e.i(638459),r=e.i(280137),a=e.i(671265),s=e.i(812010),i=e.i(18869),n=e.i(291967),o=e.i(704074),c=e.i(912521),d=e.i(585968),u=e.i(816291),m=e.i(621605),x="Collapsible",[f,p]=(0,a.createContextScope)(x),[h,v]=f(x),g=r.forwardRef((e,l)=>{let{__scopeCollapsible:a,open:s,defaultOpen:i,disabled:n,onOpenChange:d,...u}=e,[f,p]=(0,o.useControllableState)({prop:s,defaultProp:i??!1,onChange:d,caller:x});return(0,t.jsx)(h,{scope:a,disabled:n,contentId:(0,m.useId)(),open:f,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),children:(0,t.jsx)(c.Primitive.div,{"data-state":C(f),"data-disabled":n?"":void 0,...u,ref:l})})});g.displayName=x;
1var b="CollapsibleTrigger",j=r.forwardRef((e,l)=>{let{__scopeCollapsible:r,...a}=e,s=v(b,r);return(0,t.jsx)(c.Primitive.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":C(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...a,ref:l,onClick:(0,n.composeEventHandlers)(e.onClick,s.onOpenToggle)})});j.displayName=b;var w="CollapsibleContent",y=r.forwardRef((e,l)=>{let{forceMount:r,...a}=e,s=v(w,e.__scopeCollapsible);return(0,t.jsx)(u.Presence,{present:r||s.open,children:({present:e})=>(0,t.jsx)(N,{...a,ref:l,present:e})})});y.displayName=w;var N=r.forwardRef((e,l)=>{let{__scopeCollapsible:a,present:s,children:n,...o}=e,u=v(w,a),[m,x]=r.useState(s),f=r.useRef(null),p=(0,i.useComposedRefs)(l,f),h=r.useRef(0),g=h.current,b=r.useRef(0),j=b.current,y=u.open||m,N=r.useRef(y),A=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>N.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,d.useLayoutEffect)(()=>{let e=f.current;if(e){A.current=A.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();h.current=t.height,b.current=t.width,N.current||(e.style.transitionDuration=A.current.transitionDuration,e.style.animationName=A.current.animationName),x(s)}},[u.open,s]),(0,t.jsx)(c.Primitive.div,{"data-state":C(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!y,...o,ref:p,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":j?`${j}px`:void 0,...e.style},children:y&&n})});function C(e){return e?"open":"closed"}var A=e.i(982708),I="Accordion",S=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[k,T,_]=(0,s.createCollection)(I),[L,E]=(0,a.createContextScope)(I,[_,p]),R=p(),O=r.default.forwardRef((e,l)=>{let{type:r,...a}=e;return(0,t.jsx)(k.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,t.jsx)(H,{...a,ref:l}):(0,t.jsx)(B,{...a,ref:l})})});O.displayName=I;var[z,D]=L(I),[P,M]=L(I,{collapsible:!1}),B=r.default.forwardRef((e,l)=>{let{value:a,defaultValue:s,onValueChange:i=()=>{},collapsible:n=!1,...c}=e,[d,u]=(0,o.useControllableState)({prop:a,defaultProp:s??"",onChange:i,caller:I});return(0,t.jsx)(z,{scope:e.__scopeAccordion,value:r.default.useMemo(()=>d?[d]:[],[d]),onItemOpen:u,onItemClose:r.default.useCallback(()=>n&&u(""),[n,u]),children:(0,t.jsx)(P,{scope:e.__scopeAccordion,collapsible:n,children:(0,t.jsx)(V,{...c,ref:l})})})}),H=r.default.forwardRef((e,l)=>{let{value:a,defaultValue:s,onValueChange:i=()=>{},...n}=e,[c,d]=(0,o.useControllableState)({prop:a,defaultProp:s??[],onChange:i,caller:I}),u=r.default.useCallback(e=>d((t=[])=>[...t,e]),[d]),m=r.default.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,t.jsx)(z,{scope:e.__scopeAccordion,value:c,onItemOpen:u,onItemClose:m,children:(0,t.jsx)(P,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(V,{...n,ref:l})})})}),[U,F]=L(I),V=r.default.forwardRef((e,l)=>{let{__scopeAccordion:a,disabled:s,dir:o,orientation:d="vertical",...u}=e,m=r.default.useRef(null),x=(0,i.useComposedRefs)(m,l),f=T(a),p="ltr"===(0,A.useDirection)(o),h=(0,n.composeEventHandlers)(e.onKeyDown,e=>{if(!S.includes(e.key))return;let t=e.target,l=f().filter(e=>!e.ref.current?.disabled),r=l.findIndex(e=>e.ref.current===t),a=l.length;if(-1===r)return;e.preventDefault();let s=r,i=a-1,n=()=>{(s=r+1)>i&&(s=0)},o=()=>{(s=r-1)<0&&(s=i)};switch(e.key){case"Home":s=0;break;case"End":s=i;break;case"ArrowRight":"horizontal"===d&&(p?n():o());break;case"ArrowDown":"vertical"===d&&n();break;case"ArrowLeft":"horizontal"===d&&(p?o():n());break;case"ArrowUp":"vertical"===d&&o()}let c=s%a;l[c].ref.current?.focus()});return(0,t.jsx)(U,{scope:a,disabled:s,direction:o,orientation:d,children:(0,t.jsx)(k.Slot,{scope:a,children:(0,t.jsx)(c.Primitive.div,{...u,"data-orientation":d,ref:x,onKeyDown:s?void 0:h})})})}),q="AccordionItem",[$,W]=L(q),G=r.default.forwardRef((e,l)=>{let{__scopeAccordion:r,value:a,...s}=e,i=F(q,r),n=D(q,r),o=R(r),c=(0,m.useId)(),d=a&&n.value.includes(a)||!1,u=i.disabled||e.disabled;return(0,t.jsx)($,{scope:r,open:d,disabled:u,triggerId:c,children:(0,t.jsx)(g,{"data-orientation":i.orientation,"data-state":ee(d),...o,...s,ref:l,disabled:u,open:d,onOpenChange:e=>{e?n.onItemOpen(a):n.onItemClose(a)}})})});G.displayName=q;var K="AccordionHeader",J=r.default.forwardRef((e,l)=>{let{__scopeAccordion:r,...a}=e,s=F(I,r),i=W(K,r);return(0,t.jsx)(c.Primitive.h3,{"data-orientation":s.orientation,"data-state":ee(i.open),"data-disabled":i.disabled?"":void 0,...a,ref:l})});J.displayName=K;var X="AccordionTrigger",Z=r.default.forwardRef((e,l)=>{let{__scopeAccordion:r,...a}=e,s=F(I,r),i=W(X,r),n=M(X,r),o=R(r);return(0,t.jsx)(k.ItemSlot,{scope:r,children:(0,t.jsx)(j,{"aria-disabled":i.open&&!n.collapsible||void 0,"data-orientation":s.orientation,id:i.triggerId,...o,...a,ref:l})})});Z.displayName=X;var Q="AccordionContent",Y=r.default.forwardRef((e,l)=>{let{__scopeAccordion:r,...a}=e,s=F(I,r),i=W(Q,r),n=R(r);return(0,t.jsx)(y,{role:"region","aria-labelledby":i.triggerId,"data-orientation":s.orientation,...n,...a,ref:l,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function ee(e){return e?"open":"closed"}Y.displayName=Q;var et=e.i(4433),el=function(e,t){var l={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(l[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])&&(l[r[a]]=e[r[a]]);return l};let er=r.forwardRef((e,l)=>{var{className:r}=e,a=el(e,["className"]);return(0,t.jsx)(G,{className:r,ref:l,...a})});er.displayName="AccordionItem";let ea=r.forwardRef((e,a)=>{var{className:s,children:i,iconSize:n,onTrigger:o,headerClassName:c,iconClassName:d}=e,u=el(e,["className","children","iconSize","onTrigger","headerClassName","iconClassName"]);let[m,x]=r.useState(!1),f=r.useRef(null);return r.useImperativeHandle(a,()=>f.current),r.useEffect(()=>{var e;x((null==(e=f.current)?void 0:e.getAttribute("data-state"))==="open")},[]),(0,t.jsx)(J,{className:(0,et.cn)("flex",c),children:(0,t.jsxs)(Z,{"aria-expanded":m,className:(0,et.cn)("prose-brand-3xs flex flex-1 items-center text-left transition-colors 2xl:prose-brand-xs [&[data-state=open]>svg:last-child]:rotate-180",s),onClick:()=>{requestAnimationFrame(()=>{var e;let t=(null==(e=f.current)?void 0:e.getAttribute("data-state"))==="open";x(t),null==o||o({isOpen:t})})},ref:f,role:"button",...u,children:[i,(0,t.jsx)(l.default,{className:(0,et.cn)("ml-auto mr-0 !size-5 shrink-0 !transition-transform xl:!size-[1.875rem]",d),fontSize:"large"===n?"large":"medium"})]})})});ea.displayName=Z.displayName;let es=r.forwardRef((e,l)=>{var{className:a,children:s,forceMount:i,style:n}=e,o=el(e,["className","children","forceMount","style"]);let c=r.useRef(null),d=r.useRef(null),u=r.useRef(0),[,m]=r.useReducer(e=>e+1,0),x=r.useCallback(e=>{d.current=e,"function"==typeof l?l(e):l&&(l.current=e)},[l]);r.useLayoutEffect(()=>{if(!i){u.current=0;return}let e=c.current;if(!e)return;let t=()=>{let t=e.offsetHeight;t>0&&t!==u.current&&(u.current=t,m())};t();let l=new ResizeObserver(t);return l.observe(e),()=>l.disconnect()},[i]),r.useEffect(()=>{if(!i)return;let e=d.current;if(!e)return;let t=()=>{"closed"===e.getAttribute("data-state")?(e.setAttribute("inert",""),e.setAttribute("aria-hidden","true")):(e.removeAttribute("inert"),e.removeAttribute("aria-hidden"))};t();let l=new MutationObserver(t);return l.observe(e,{attributes:!0,attributeFilter:["data-state"]}),()=>l.disconnect()},[i]);let f=i&&u.current>0?{"--radix-collapsible-content-height":`${u.current}px`}:void 0;return(0,t.jsx)(Y,{className:(0,et.cn)("overflow-hidden transition-height duration-200 ease-out data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down data-[state=open]:overflow-visible",i&&"data-[state=closed]:h-0 data-[state=open]:h-auto data-[state=open]:overflow-hidden"),forceMount:i,ref:x,style:f?Object.assign(Object.assign({},f),n):n,...o,children:(0,t.jsx)("div",{className:a,ref:c,children:s})})});es.displayName=Y.displayName,e.s(["Accordion",0,O,"AccordionContent",0,es,"AccordionItem",0,er,"AccordionTrigger",0,ea],731059)},574061,e=>{"use strict";var t=e.i(529956),l=e.i(376205),r=e.i(4433);let a={primary:"bg-tag-fill text-tag-text",secondary:"bg-color-brand-surface-tertiary text-color-utility-text-primary",tertiary:"border border-color-brand-border-primary text-color-utility-text-primary"},s=(0,r.getClassBySize)({small:"!size-3.5",medium:"!size-3.5",large:"!size-4",responsive:"!size-3.5 lg:!size-4"});e.s(["CategoryPill",0,({size:e,text:i,className:n,icon:o,color:c="tertiary",showIcon:d=!1,themeClass:u="onLight"})=>(0,t.jsxs)("div",{className:(0,r.cn)((0,r.cn)("flex items-center gap-1 rounded-full",a[c],(0,r.getClassBySize)({small:"prose-label-medium-xs px-2 min-h-6",medium:"prose-label-medium-xs px-2 min-h-6",large:"prose-label-medium-sm px-2 min-h-7",responsive:"prose-label-medium-xs px-2 lg:prose-label-medium-sm lg:px-3 min-h-6"})[e]),u,n),children:[o&&d&&(0,t.jsx)(l.default,{className:s[e]}),(0,t.jsx)("span",{children:i})]})])},619190,e=>{"use strict";var t=e.i(529956),l=e.i(197848),r=e.i(521293),a=e.i(280137),s=e.i(587240);let i="algoliaAttribution",n="algolia_search_context",o=(e,t)=>{if("true"!==s.default.env.NEXT_PUBLIC_ALGOLIA_ATTRIBUTION_DEBUG)return},c=()=>{var e;try{let t=window.sessionStorage.getItem(i)||window.localStorage.getItem(i)||window.sessionStorage.getItem(n)||window.localStorage.getItem(n);if(!t)return null;let l=JSON.parse(t),r=null!=(e=l.storedAt)?e:l.timestamp;if(r&&Date.now()-r>33e5)return window.sessionStorage.removeItem(i),window.localStorage.removeItem(i),window.sessionStorage.removeItem(n),window.localStorage.removeItem(n),null;return o("Loaded attribution for conversion",{index:l.index||l.indexName,objectID:l.objectID,queryID:l.queryID,position:l.position,hasUserToken:!!l.userToken,storedAt:r,ageMs:r?Date.now()-r:null}),l}catch(e){return null}},d=(e,t)=>{let l=(0,a.useRef)(null),r=(0,a.useRef)(null);return(0,a.useEffect)(()=>{var e,t,l,a;r.current=c(),o("Hydrated attribution ref on PDP",{hasAttribution:!!r.current,index:(null==(e=r.current)?void 0:e.index)||(null==(t=r.current)?void 0:t.indexName)||null,objectID:(null==(l=r.current)?void 0:l.objectID)||null,queryID:(null==(a=r.current)?void 0:a.queryID)||null})},[]),(0,a.useEffect)(()=>
1{if(!t)return;let a=l.current;if(!a)return;let s=l=>{let a=l.target;if(a.closest(".ps-widget")||a.closest("[ps-config]")||a.closest("[data-ps-button]")){"dataLayer"in window&&Array.isArray(window.dataLayer)&&window.dataLayer.push({event:"where_to_buy",clickText:"Where to Buy",productSKU:e,pagePath:window.location.href});let l=r.current||c();o("Where to Buy click captured",{sku:e,hasAttribution:!!l,objectID:(null==l?void 0:l.objectID)||null,queryID:(null==l?void 0:l.queryID)||null,index:(null==l?void 0:l.index)||(null==l?void 0:l.indexName)||null}),t(e,l)}};return a.addEventListener("click",s,!0),()=>{a.removeEventListener("click",s,!0)}},[e,t]),l},u="wayvia";function m(e=s.default.env){let t=e.NEXT_PUBLIC_WTB_PROVIDER;return t===u||"pricespider"===t||void 0===t}let x="no sellers found",f=[100,400,1200],p=(e,t)=>e.map(e=>globalThis.setTimeout(t,e)),h=(e,t)=>{var l;if(e.classList.contains("ps-no-sellers"))return;let r=(null==(l=null==t?void 0:t.whereToBuy)?void 0:l.trim())||"Where To Buy";e.querySelectorAll(".ps-button-label").forEach(e=>{e.textContent=r,e.removeAttribute("aria-hidden")}),e.querySelectorAll("small").forEach(e=>{e.classList.add("hidden")})},v=(e,t,l)=>{e.push(...p(f,()=>{t.classList.contains("ps-no-sellers")||h(t,l)}))},g=(e,t)=>{var l;let r=(null==(l=null==t?void 0:t.noSellersFound)?void 0:l.trim())||"No Seller Found";e.querySelectorAll(".ps-button-label").forEach(e=>{e.textContent=r}),e.querySelectorAll("small").forEach(e=>{e.classList.add("hidden")}),e.setAttribute("disabled","true")},b=(e,t,l)=>{e.push(...p(f,()=>{t.classList.contains("ps-no-sellers")&&g(t,l)}))},j=e=>{if(!e||e.toLowerCase()===x)return/no sellers found/i;let t=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return RegExp(`${x}|${t}`,"i")};var w=e.i(4433),y=e.i(970960),N=e.i(986858),C=e.i(180214);let A=({className:e})=>(0,t.jsx)("figure",{className:(0,w.cn)(e),children:(0,t.jsx)("div",{className:"size-full animate-pulse rounded-[0.25rem] bg-color-brand-surface-secondary"})}),I=({layout:e})=>"A"===e?(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2 rounded-card-corner-radius-md bg-color-brand-surface-primary p-4 shadow-[0_0_2.125rem_0_#0000000F] backdrop-blur-md",children:[(0,t.jsxs)("div",{className:"flex w-full shrink grow items-center gap-3",children:[(0,t.jsx)(A,{className:"aspect-square max-w-14 grow"}),(0,t.jsxs)("div",{className:"flex grow flex-col gap-2",children:[(0,t.jsx)(A,{className:"aspect-[90/20] max-w-[5.625rem]"}),(0,t.jsx)(A,{className:"aspect-[160/14] max-w-[10rem]"})]})]}),(0,t.jsx)(A,{className:"aspect-square h-8 w-20 grow"})]}):(0,t.jsxs)("div",{className:"flex flex-col gap-[2.125rem] rounded-card-corner-radius-md bg-color-brand-surface-primary p-4 shadow-[0_0_2.125rem_0_#0000000F] backdrop-blur-md",children:[(0,t.jsxs)("div",{className:"flex justify-between gap-x-3",children:[(0,t.jsx)(A,{className:"h-14 max-w-[8.75rem] grow"}),(0,t.jsxs)("div",{className:"flex max-w-[7.5rem] grow flex-col gap-2",children:[(0,t.jsx)(A,{className:"h-6"}),(0,t.jsx)(A,{className:"h-6"})]}),(0,t.jsxs)("div",{className:"flex max-w-20 grow flex-col gap-2",children:[(0,t.jsx)(A,{className:"h-6"}),(0,t.jsx)(A,{className:"h-6"})]})]}),(0,t.jsxs)("div",{className:"flex justify-between gap-x-3",children:[(0,t.jsx)(A,{className:"h-4 max-w-[8.75rem] grow"}),(0,t.jsx)("div",{className:"flex max-w-[7.5rem] grow flex-col",children:(0,t.jsx)(A,{className:"h-4"})}),(0,t.jsx)("div",{className:"flex max-w-20 grow flex-col",children:(0,t.jsx)(A,{className:"h-4"})})]})]}),S=({themeClass:e,className:l})=>(0,t.jsx)("div",{className:(0,w.cn)(e,"container place-items-center",l),children:(0,t.jsxs)("div",{className:"grid-layout max-h-[48.125rem] w-full max-w-[61.25rem] overflow-hidden rounded-xl p-6 shadow-[0_0_2.125rem_0_#0000000F] backdrop-blur-md",children:[(0,t.jsxs)("div",{className:"col-span-full flex flex-col gap-y-6 lg:col-span-6",children:[(0,t.jsx)(A,{className:"h-8 max-w-[14.375rem]"}),(0,t.jsx)("div",{className:"flex flex-col gap-y-3",children:Array.from({length:6},(e,l)=>(0,t.jsx)(I,{layout:"A"},l))})]}),(0,t.jsxs)("div",{className:"col-span-full mt-8 flex flex-col gap-y-6 lg:col-span-6 lg:mt-0",children:[(0,t.jsxs)("div",{className:"flex justify-between gap-x-5",children:[(0,t.jsx)(A,{className:"h-8 w-full max-w-[8.4375rem]"}),(0,t.jsx)(A,{className:"h-8 w-full max-w-[14.375rem]"})]}),(0,t.jsx)(A,{className:"aspect-[520/287] w-full max-w-[32.5rem] !rounded-card-corner-radius-md"}),(0,t.jsx)("div",{className:"flex flex-col gap-y-3",children:Array.from({length:6},(e,l)=>(0,t.jsx)(I,{layout:"B"},l))})]})]})}),k=({className:e,disabled:r,size:a,srLabel:s})=>(0,t.jsxs)(y.Button,{className:(0,w.cn)("w-full !py-[0.5625rem]",e),disabled:r,size:a,children:[s&&(0,t.jsx)("span",{className:"sr-only",children:s}),(0,t.jsx)("span",{className:"size-3.5 xl:size-5",children:(0,t.jsx)(l.CircularProgress,{color:"inherit",size:"inherit",style:{opacity:.35,color:"black"},thickness:6})})]}),T=({states:e,textCopies:l,showStatusPillPlaceholder:r})=>{var a,s;if(r&&(!e||"default"===e))return(0,t.jsx)("span",{"aria-hidden":"true",className:"self-center","data-testid":"status-pill-skeleton",children:(0,t.jsx)(N.Skeleton,{className:"h-[1.375rem] w-[5.5rem] rounded-full"})});if(!e||"default"===e)return null;let i={"in stock":{variant:"positive",text:null==l?void 0:l.inStock},backordered:{variant:"warning",text:null==l?void 0:l.backordered},"out of stock":{text:null==l?void 0:l.notAvailable,variant:"negative"}};return(0,t.jsx)(C.StatusPill,{className:"self-center",size:"small",text:null!=(a=i[e].text)?a:"",variant:null!=(s=i[e].variant)?s:"positive"})},_=({textCopies:e,hasAddToCart:l,btnSize:r,states:a="default",showStatusPillPlaceholder:s,onClickDewaltWTB:i,onAddToCart:n,isAddingToCart:o,addToCartAriaLabel:c,addToCartDisabled:d=!1})=>{let u=null==e?void 0:e.addToCart;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(T,{showStatusPillPlaceholder:s,states:a,textCopies:e}),"default"===a&&!l&&(0,t.jsx)(y.Button,{className:"w-full !py-[0.5625rem]","data-
1ps-button":!0,onClick:i,size:r,children:null==e?void 0:e.whereToBuy}),l&&(o?(0,t.jsx)(k,{className:"xl:w-fit",disabled:!0,size:"large",srLabel:null!=c?c:u}):(0,t.jsx)(y.Button,{ariaLabel:c,className:"w-full !py-[0.5625rem] xl:w-fit","data-ps-button":!0,disabled:"out of stock"===a||d,onClick:null!=n?n:i,size:"large",children:u}))]})};e.s(["PriceSpider",0,({sku:e,variant:l="button",btnContainerClassName:s,btnSize:i="responsive",hashes:n,textCopies:o,provider:c,psConfig:u,hasAddToCart:x=!1,states:f="default",showStatusPillPlaceholder:p=!1,onConversion:N,onWhereToBuyClick:C,onAddToCart:A,isAddingToCart:I=!1,addToCartAriaLabel:T,addToCartDisabled:L=!1})=>{let E=(0,a.useRef)(null),R=(0,a.useRef)(null),O=d(e,N),z=d(e,N),[D,P]=(0,a.useState)(!1),{noSellersFound:M}=(({containerRef:e,textCopies:t,sdkReady:l=!1})=>{let[r,s]=(0,a.useState)(!1),[i,n]=(0,a.useState)(!1),o=(0,a.useRef)(!1),c=true;return(0,a.useEffect)(()=>{o.current=i},[i]),(0,a.useEffect)(()=>{let l=e.current,r=null==l?void 0:l.querySelector(".ps-widget");if(!l||!r)return;let a=[],i=j(null==t?void 0:t.noSellersFound),c=!1,d=()=>{a.forEach(globalThis.clearTimeout),a.length=0},u=()=>{r.classList.contains("ps-no-sellers")||(d(),h(r,t),v(a,r,t))},x=e=>{d(),c=!0,null==e||e.disconnect(),s(!0),n(!0),g(r,t),b(a,r,t)},f=e=>{if(c||o.current)return;if(r.classList.contains("ps-no-sellers"))return void x(e);if(r.classList.contains("ps-enabled")){c=!0,null==e||e.disconnect(),n(!0),u();return}let t=[...r.children];t.some(e=>i.test(e.textContent||""))?x(e):t.length>0&&(r.classList.contains("ps-no-sellers")||r.classList.contains("ps-enabled")||!m())&&(c=!0,null==e||e.disconnect(),n(!0),u())},p=new MutationObserver(()=>{f(p)});p.observe(r,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:["class","style"]});let w=setTimeout(()=>{o.current||(f(p),n(!0))},8e3);return()=>{p.disconnect(),clearTimeout(w),a.forEach(clearTimeout)}},[e,t]),(0,a.useEffect)(()=>{if(!l)return;let r=e.current,a=null==r?void 0:r.querySelector(".ps-widget");if(!a)return;let i=[],d=()=>{i.forEach(globalThis.clearTimeout),i.length=0},u=setTimeout(()=>{if(o.current)return;let e=()=>{d(),g(a,t),b(i,a,t),s(!0),n(!0)},l=()=>{a.classList.contains("ps-no-sellers")||(d(),h(a,t),v(i,a,t))},r=a.children.length>0,u=a.classList.contains("ps-no-sellers"),x=a.classList.contains("ps-enabled");if(u||x)return void(u?e():x&&(l(),n(!0)));if(r&&!c){if(m())return;let r=j(null==t?void 0:t.noSellersFound);[...a.children].some(e=>r.test(e.textContent||""))?e():(l(),n(!0));return}},500);return()=>{clearTimeout(u),i.forEach(clearTimeout)}},[l,e,c,t]),{noSellersFound:r,isResolved:i}})({containerRef:E,textCopies:o,sdkReady:D});return(0,a.useEffect)(()=>{if(D)return;let e=null,t=!1,l=()=>{if(!t)if(window.PriceSpider&&"function"==typeof window.PriceSpider.rebind)try{window.PriceSpider.rebind(),P(!0)}catch(e){P(!0)}else e=setTimeout(l,250)};return l(),()=>{t=!0,null!==e&&clearTimeout(e)}},[D]),"button"===l&&(x||"organization-manager"===c)?(0,t.jsx)("div",{className:(0,w.cn)("flex w-full flex-col gap-2 sm:flex-row",{"xl:max-w-[15.625rem]":!x&&!s,"sm:flex-col xl:flex-row xl:justify-end xl:gap-6":"default"!==f,"xl:justify-end xl:gap-7":x},s),"data-testid":"price-spider-button__container",ref:z,children:(0,t.jsx)(_,{addToCartAriaLabel:T,addToCartDisabled:L,btnSize:i,hasAddToCart:x,isAddingToCart:I,onAddToCart:A,onClickDewaltWTB:()=>{var e;null==C||C(),(null==n?void 0:n.storeLocatorHash)&&(null==(e=z.current)||e.click(),window.location.hash=n.storeLocatorHash)},showStatusPillPlaceholder:p,states:f,textCopies:o})}):(0,t.jsxs)(t.Fragment,{children:["pricespider"===c&&(0,t.jsx)(r.default,{id:"price-spider-widget",src:"//cdn.pricespider.com/1/lib/ps-widget.js"}),"wayvia"===c&&(0,t.jsx)(r.default,{id:"wayvia-widget",src:"//cdn.wayvia.com/1/lib/ps-widget.js"}),"button"===l&&(0,t.jsxs)("div",{className:(0,w.cn)("w-full",{"xl:max-w-[15.625rem]":!s},s),"data-testid":"price-spider-button__container",ref:e=>{E.current=e,O.current=e},children:["pricespider"===c&&(0,t.jsx)(y.Button,{ariaLabel:M?(null==o?void 0:o.noSellersFound)||"No Seller Found":(null==o?void 0:o.whereToBuy)||"Where To Buy",className:(0,w.cn)("ps-widget inv
1isible w-full !py-[0.5625rem]"),disabled:M,"ps-config":u,"ps-sku":e,size:i}),"wayvia"===c&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"hidden",ref:R,children:(0,t.jsx)("div",{className:"ps-widget","ps-config":u,"ps-sku":e})}),(0,t.jsx)(y.Button,{className:"w-full !py-[0.5625rem]",disabled:M,onClick:M?void 0:()=>{var t;null==C||C(),N&&N(e,(()=>{try{let e=window.sessionStorage.getItem("algoliaAttribution")||window.localStorage.getItem("algoliaAttribution")||window.sessionStorage.getItem("algolia_search_context")||window.localStorage.getItem("algolia_search_context");return e?JSON.parse(e):null}catch(e){return null}})());let l=null==(t=R.current)?void 0:t.querySelector("[ps-sku]");null==l||l.click()},size:i,children:M?null==o?void 0:o.noSellersFound:null==o?void 0:o.whereToBuy})]}),"pricespider"===c&&(0,t.jsx)(k,{className:"price-spider-loader",size:i})]}),"storeLocator"===l&&(0,t.jsxs)("div",{className:"onLight container grid grid-cols-12 place-items-center",children:[(0,t.jsx)("div",{className:"ps-widget col-span-full","ps-config":u,"ps-sku":e}),(0,t.jsx)(S,{className:"price-spider-loader col-span-full",themeClass:"onLight"})]})]})}],619190)},55790,e=>{"use strict";var t=e.i(529956),l=e.i(74639),r=e.i(387120),a=e.i(873388),s=e.i(813507),i=e.i(498055),n=e.i(799488),o=e.i(292374),c=e.i(307528);let d=(0,e.i(777831).default)((0,t.jsx)("path",{d:"M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2m6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2z"}),"ShoppingBagOutlined");var u=e.i(280137),m=e.i(4433),x=e.i(615582),f=e.i(731059),p=e.i(970960);let h=({className:e})=>(0,t.jsx)("svg",{className:e,fill:"none",height:"2",viewBox:"0 0 2 2",width:"2",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("circle",{cx:"1",cy:"1",fill:"currentColor",r:"1"})}),v=({ariaLabel:e,cta:l,name:a,variant:s,size:i,type:n,isDealerHero:c,onClickCta:u})=>{let{isTabletAndBelow:f}=(0,x.useBreakpoint)();return(0,t.jsx)(p.Button,{LeftIcon:()=>(0,t.jsxs)(t.Fragment,{children:["website"===n&&(0,t.jsx)(o.default,{className:"!h-4 !w-4"}),"direction"===n&&(0,t.jsx)(r.default,{className:"!h-4 !w-4"}),"dealer"===n&&(0,t.jsx)(d,{className:"!h-4 !w-4"})]}),ariaLabel:e,className:(0,m.cn)({"max-w-full flex-1 shrink-0 gap-1 overflow-visible":!c,"max-w-full flex-1 shrink-0 gap-1 overflow-visible sm:flex-none":c}),link:l,onClick:e=>null==u?void 0:u({retailerName:a,link:null==l?void 0:l.url,clickText:null==l?void 0:l.text,variant:s,event:e}),size:f?"small":i,variant:"button-outline",children:null==l?void 0:l.text})};e.s(["StoreLocatorDetail",0,({address:e,directionCta:r,email:o,name:d,openHours:x,phoneNumber:p,websiteCta:g,variant:b,textCopies:j,className:w,size:y,isFillIcon:N,showTimeIcon:C=!0,dealerCta:A,storeStatus:I,hasMap:S,isDealerHero:k,onClickCta:T,onClickOpenHourDetail:_})=>{var L;let E=(0,u.useRef)(null),R=(0,u.useRef)(null);return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:(0,m.cn)("prose-label-medium-xs mt-3 flex flex-col px-4 text-color-utility-text-secondary",{"gap-4":!k},"small"===y&&k&&"!prose-label-medium-sm sm:flex-row sm:justify-between sm:gap-10",w),children:[(0,t.jsxs)("div",{className:(0,m.cn)("flex flex-col gap-y-2","small"===y&&"gap-y-3"),children:[(0,t.jsx)("h2",{children:(0,t.jsxs)("address",{className:"flex items-start gap-1 not-italic",children:[N?(0,t.jsx)(i.default,{className:"!h-4 !w-4"}):(0,t.jsx)(n.default,{className:"!h-4 !w-4"}),(0,t.jsxs)("span",{className:"prose-label-bold-xs flex items-center gap-1 whitespace-nowrap",title:null==e?void 0:e.distance,children:[null==e?void 0:e.distance,(null==e?void 0:e.distance)&&(0,t.jsx)(h,{})]}),(0,t.jsx)("span",{title:null==e?void 0:e.location,children:null==e?void 0:e.location})]})}),(null==p?void 0:p.value)&&(0,t.jsxs)("div",{className:"flex items-center gap-x-1",children:[(0,t.jsx)(c.default,{className:"!h-4 !w-4"}),(0,t.jsx)("a",{className:"hover:underline",href:`tel:${encodeURIComponent(null!=(L=p.value)?L:"")}`,onClick:()=>{var e;return null==T?void 0:T({retailerName:d,link:`tel:${encodeURIComponent(null!=(e=p.value)?e:"")}`,clickText:p.value,variant:b})},children:p.display})]}),o&&(0,t.jsxs)("div",{className:"flex items-center gap-x-1",children:[N?(0,t.jsx)(a.default,{className:"!h-4 !w-4"}):(0,t.jsx)(s.default,{className:"!h-4 !w-4"}),(0,t.jsx)("a",{className:"hover:underline",href:`mailto:${encodeURIComponent(o)}`,onClick:()=>null==T?void 0:T({retailerName:d,link:`mailto:${encodeURIComponent(o)}`,clickText:o,variant:b}),title:o,children:o})]}),x&&(0,t.jsx)(f.Accordion,{className:(0,m.cn)({"xl:w-[19.75rem]":!S}),collapsible:!0,type:"single",children:(0,t.jsxs)(f.AccordionItem,{value:"item-1",children:[(0,t.jsxs)(f.AccordionTrigger,{"aria-label":I,className:"flex items-center gap-x-1 [&_svg]:ml-0 [&_svg]:!size-4",iconSize:"small",onClick:()=>{var e,t,l;(null==(e=R.current)?void 0:e.getAttribute("data-state"))==="open"&&(null==(t=R.current)||t.click()),null==_||_((null==(l=E.current)?void 0:l.getAttribute("data-state"))==="open"?"closed":"open")}
1,ref:E,children:[C&&(0,t.jsx)(l.default,{className:"!size-4"}),x.displayTime&&(0,t.jsx)("span",{className:(0,m.cn)({"prose-label-medium-xs text-color-utility-text-secondary":!k,"prose-label-medium-sm text-color-utility-text-primary":k}),children:x.displayTime})]}),(0,t.jsx)(f.AccordionContent,{className:(0,m.cn)("flex flex-col",{"mt-3 gap-y-2 text-color-utility-text-secondary":!k,"mt-2 gap-y-1 text-color-utility-text-primary":k}),children:x.weeklyHours&&Object.entries(x.weeklyHours).map(([e,l])=>(0,t.jsxs)("div",{className:(0,m.cn)("flex items-center justify-between",{"prose-label-medium-xs":!k,"prose-label-medium-sm":k}),children:[(0,t.jsx)("span",{children:e}),(0,t.jsx)("span",{children:l})]},e))})]})})]}),(g||r||A)&&(0,t.jsxs)("div",{className:(0,m.cn)({"flex flex-1 gap-2":!k,"mt-8 flex items-end justify-end gap-2 sm:mt-0 sm:flex-1 sm:self-end":k,"mt-8 items-end justify-end gap-y-2":"small"===y&&k,"items-center":"medium"!==y&&k}),children:[A&&(0,t.jsx)(v,{ariaLabel:null==j?void 0:j.dealerCta,cta:A,isDealerHero:k,name:d,onClickCta:T,size:y,type:"dealer",variant:b}),g&&!A&&(0,t.jsx)(v,{ariaLabel:null==j?void 0:j.websiteCta,cta:g,isDealerHero:k,name:d,onClickCta:T,size:y,type:"website",variant:b}),r&&(0,t.jsx)(v,{ariaLabel:null==j?void 0:j.directionCta,cta:r,isDealerHero:k,name:d,onClickCta:T,size:y,type:"direction",variant:b})]})]})})}],55790)},140496,e=>{"use strict";e.s(["STORE_LOCATOR_CARD_CATEGORIES_TEST_ID",0,"store-locator-categories","storeLocatorCardtextCopies",0,{seeMore:"See More",closed:"Closed",additionalStoreDetails:"Additional Store Details",available:"available",websiteCta:"Website Link",directionCta:"Direction Link"}])},242600,e=>{"use strict";var t=e.i(529956),l=e.i(280137),r=e.i(342024),a=e.i(503948),s=e.i(515182),i=e.i(292374),n=e.i(376205),o=e.i(4433),c=e.i(394717),d=e.i(731059),u=e.i(970960),m=e.i(574061),x=e.i(55790),f=e.i(267528),p=e.i(140496);let h=({isFeatured:e,name:l,size:r,className:a,color:s,showIcon:i})=>(0,t.jsx)(m.CategoryPill,{className:(0,o.cn)("w-fit border-none",a),color:s||(e?"primary":"secondary"),icon:e&&(0,t.jsx)(n.default,{className:"!h-3 !w-3"}),showIcon:i,size:null!=r?r:"small",text:null!=l?l:""}),v=({id:e,name:l,className:r,onClick:a})=>(0,t.jsx)(u.Button,{className:(0,o.cn)("!prose-label-medium-lg h-10 !text-left !text-color-brand-text-primary",r),onClick:a,title:l,variant:"text",children:(0,t.jsx)("span",{className:"line-clamp-1",id:e,title:l,children:l})}),g=({LeftIcon:e,name:l,onClick:r})=>(0,t.jsx)(u.Button,{LeftIcon:e,className:"!prose-label-medium-xs flex gap-x-0.5 !rounded-full border border-color-utility-border-secondary p-2",onClick:r,variant:"button-outline",children:l}),b=({items:e,title:s,initialCount:i=2,textCopies:n})=>{let[o,c]=(0,l.useState)(i);(0,l.useEffect)(()=>{c(i)},[i]);let d=o>=Number(null==e?void 0:e.length);return(0,t.jsxs)("div",{className:"prose-label-medium-xs flex flex-col gap-y-3",children:[(0,t.jsx)("span",{children:s}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-x-1 gap-y-2",children:[null==e?void 0:e.slice(0,o).map((e,l)=>e.value&&(0,t.jsxs)("div",{className:"flex h-fit gap-x-0.5 rounded-full border border-color-utility-border-secondary p-2",children:[(0,t.jsx)(a.default,{className:"!h-4 !w-4"}),(0,t.jsx)("span",{children:e.value})]},l)),!d&&(0,t.jsx)(g,{LeftIcon:()=>(0,t.jsx)(r.default,{className:"!h-4 !w-4"}),name:null==n?void 0:n.seeMore,onClick:e=>{e.stopPropagation(),c(e=>e+i)}})]})]})},j=({id:e,variant:r,name:a,address:i,directionCta:n,email:c,openHours:u,phoneNumber:m,websiteCta:g,tags:j,additionalDetails:w,seeMoreInitialCount:y=5,textCopies:N,isMapWindow:C,disabledFeatures:A,dealerCta:I,logoGroup:S,onCloseMapWindow:k,onClickAdditionalDetail:T,onClickOpenHourDetail:_,onClickCard:L,onClickCta:E})=>{let R=(0,l.useRef)(null),O=(0,l.useRef)(null),z=null==A?void 0:A.includes("store_locator_categories"),D=null==w?void 0:w.some(e=>{var t;return null==(t=e.items)?void 0:t.some(e=>e.value)});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:(0,o.cn)("online-retailer"!==r&&"relative py-4"),children:[C&&(0,t.jsx)("button",{"aria-label":null==N?void 0:N.closed,className:"absolute right-2 top-[0.4375rem]",onClick:k,type:"button",children:(0,t.jsx)(s.default,{className:"!size-5"})}),"online-retailer"!==r&&(0,t.jsxs)("div",{className:"flex flex-col gap-4 px-4",children:[(0,t.jsxs)("div",{className:"flex justify-between",children:[S&&(0,t.jsx)(f.LogoGroup,{...S,breakpointSizes:{lg:"large",md:"large",sm:"large"},imageClassName:"h-14 w-[5.25rem] [&_img]:!w-full [&_img]:!object-cover"}),!!(null==j?void 0:j.length)&&(0,t.jsx)("div",{className:"flex items-center gap-1",children:null==j?void 0:j.map((e,t)=>(0,l.createElement)(h,{...e,className:"items-center leading-none [&_span]:leading-none [&_svg]:block [&_svg]:shrink-0",is
1Featured:e.isFeatured,key:t,name:e.name,size:"small"}))})]}),"store-retailer"!==r&&(0,t.jsx)("div",{className:"flex justify-start",children:(0,t.jsx)(v,{id:e,name:a,onClick:L})})]}),"store-retailer"===r&&(0,t.jsx)("div",{className:"flex items-center justify-between px-4",children:(0,t.jsx)(v,{id:e,name:a,onClick:L})}),(0,t.jsx)(x.StoreLocatorDetail,{address:i,dealerCta:I,directionCta:n,email:c,name:a,onClickCta:E,onClickOpenHourDetail:_,openHours:u,phoneNumber:m,size:"small",textCopies:N,variant:r,websiteCta:g})]}),!!(null==w?void 0:w.length)&&!z&&D&&(0,t.jsx)("div",{className:"prose-label-semibold-xs border-t border-color-utility-border-secondary text-color-utility-text-primary","data-testid":p.STORE_LOCATOR_CARD_CATEGORIES_TEST_ID,children:(0,t.jsx)(d.Accordion,{collapsible:!0,type:"single",children:(0,t.jsxs)(d.AccordionItem,{value:"item-2",children:[(0,t.jsx)(d.AccordionTrigger,{className:"prose-label-semibold-sm flex items-center gap-x-1 px-4 py-3 2xl:prose-label-semibold-sm !normal-case",iconSize:"small",onClick:e=>{var t,l,r;e.stopPropagation(),(null==(t=R.current)?void 0:t.getAttribute("data-state"))==="open"&&(null==(l=R.current)||l.click()),null==T||T((null==(r=O.current)?void 0:r.getAttribute("data-state"))==="open"?"closed":"open")},ref:O,children:null==N?void 0:N.additionalStoreDetails}),(0,t.jsx)(d.AccordionContent,{className:"flex flex-col gap-y-5 px-4 pb-5 pt-1",children:null==w?void 0:w.map(({items:e,title:l},r)=>(0,t.jsx)(b,{initialCount:y,items:e,textCopies:N,title:l},r))})]})})})]})},w=({name:e,logo:l,websiteCta:r,onClickCta:a})=>{let s=(0,c.normalizeExternalWebsiteUrl)(null==r?void 0:r.url),n=(0,t.jsxs)(t.Fragment,{children:[(null==l?void 0:l.url)&&(0,t.jsx)("img",{alt:null==l?void 0:l.alt,className:"size-[2.125rem] object-contain",src:null==l?void 0:l.url}),(0,t.jsx)("div",{className:"flex flex-col gap-y-1",children:(0,t.jsx)("span",{className:"prose-label-medium-lg text-color-brand-text-primary",children:e})}),s&&(0,t.jsx)("div",{className:"flex flex-1 justify-end",children:(0,t.jsx)(i.default,{className:"!h-5 !w-5 text-color-utility-icon-tertiary"})})]});return s?(0,t.jsx)("a",{className:"flex items-center gap-x-3 px-4 py-5",href:s,onClick:()=>null==a?void 0:a({link:s,retailerName:e,variant:"online-retailer"}),rel:"noopener noreferrer",target:"_blank",children:n}):(0,t.jsx)("div",{className:"flex items-center gap-x-3 px-4 py-5",children:n})};e.s(["StoreLocatorCard",0,e=>(0,t.jsxs)("div",{className:(0,o.cn)(e.themeClass,"flex w-full flex-col rounded-lg border border-color-utility-border-secondary","h-fit bg-color-brand-surface-primary hover:border-color-utility-border-primary",e.isSelected&&"!border-color-utility-border-contrast",e.isMapWindow&&"border-none"),children:["online-retailer"!==e.variant&&(0,t.jsx)(j,{...e}),"online-retailer"===e.variant&&(0,t.jsx)(w,{...e})]}),"StoreLocatorTag",0,h])},181568,e=>{"use strict";e.s(["debounce",0,(e,t)=>{let l;return(...r)=>{clearTimeout(l),l=setTimeout(()=>{e(...r)},t)}}])},468347,e=>{"use strict";let t=e=>Math.PI/180*e,l={PERMISSION_DENIED:1,POSITION_UNAVAILABLE:2,TIMEOUT:3,UNKNOWN:0};class r extends Error{constructor(e,t){super(e),this.name="GeolocationError",this.code=t}}e.s(["GEOLOCATION_ERROR_CODE",0,l,"GeolocationError",0,r,"calculateNearbyDistance",0,(e,l)=>{if(!e||!l)return 0;let r=t(l.latitude-e.latitude),a=t(l.longitude-e.longitude),s=Math.pow(Math.sin(r/2),2)+Math.cos(t(e.latitude))*Math.cos(t(l.latitude))*Math.pow(Math.sin(a/2),2);return 2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s))*3958.8},"checkGeoPermission",0,()=>{var e,t,l,r;return e=void 0,t=void 0,l=void 0,r=function*(){if(!navigator.permissions)return null;try{return yield navigator.permissions.query({name:"geolocation"})}catch(e){return null}},new(l||(l=Promise))(function(a,s){function i(e){try{o(r.next(e))}catch(e){s(e)}}function n(e){try{o(r.throw(e))}catch(e){s(e)}}function o(e){var t;e.done?a(e.value):((t=e.value)instanceof l?t:new l(function(e){e(t)})).then(i,n)}o((r=r.apply(e,t||[])).next())})},"getCurrentPosition",0,e=>new Promise((t,a)=>{if(!navigator.geolocation)return a(new r("Geolocation is not supported by your browser.",l.POSITION_UNAVAILABLE));navigator.geolocation.getCurrentPosition(e=>t(e.coords),e=>{switch(e.code){case e.PERMISSION_DENIED:a(new r("User denied the request for Geolocation.",l.PERMISSION_DENIED));break;case e.POSITION_UNAVAILABLE:a(new r("Location information is unavailable.",l.POSITION_UNAVAILABLE));break;case e.TIMEOUT:a(new r("The request to get user location timed out.",l.TIMEOUT));break;default:a(new r("An unknown error occurred.",l.UNKNOWN))}},e)}),"isGeolocationPermissionDenied",0,e=>e instanceof r&&e.code===l.PERMISSION_DENIED])},394717,e=>{"use strict";let t=/^[a-zA-Z][a-zA-Z\d+\-.]*:/;
1e.s(["normalizeExternalWebsiteUrl",0,e=>{let l=null==e?void 0:e.trim();if(l)return t.test(l)||l.startsWith("//")?l:`https://${l.replace(/^\/+/,"")}`}])}]);

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.