PageSourceSearch

https://www.dewalt.com/_next/static/immutable/chunks/2qrzucosw01c-.js

js dewalt.com collected 2026-09-24 15:19:38 UTC 28,773 bytes, 25 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,408263,e=>{"use strict";var t=e.i(777831),r=e.i(529956);let a=(0,t.default)((0,r.jsx)("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3zm-1-4-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5z"}),"FileDownloadOutlined");e.s(["default",0,a])},799488,e=>{"use strict";var t=e.i(777831),r=e.i(529956);let a=(0,t.default)([(0,r.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,r.jsx)("circle",{cx:"12",cy:"9",r:"2.5"},"1")],"LocationOnOutlined");e.s(["default",0,a])},337757,e=>{"use strict";var t=e.i(183745);e.s(["Icon",()=>t.default])},731059,e=>{"use strict";var t=e.i(529956),r=e.i(638459),a=e.i(280137),l=e.i(671265),o=e.i(812010),i=e.i(18869),n=e.i(291967),s=e.i(704074),c=e.i(912521),d=e.i(585968),u=e.i(816291),m=e.i(621605),p="Collapsible",[f,x]=(0,l.createContextScope)(p),[g,b]=f(p),h=a.forwardRef((e,r)=>{let{__scopeCollapsible:l,open:o,defaultOpen:i,disabled:n,onOpenChange:d,...u}=e,[f,x]=(0,s.useControllableState)({prop:o,defaultProp:i??!1,onChange:d,caller:p});return(0,t.jsx)(g,{scope:l,disabled:n,contentId:(0,m.useId)(),open:f,onOpenToggle:a.useCallback(()=>x(e=>!e),[x]),children:(0,t.jsx)(c.Primitive.div,{"data-state":N(f),"data-disabled":n?"":void 0,...u,ref:r})})});h.displayName=p;var v="CollapsibleTrigger",y=a.forwardRef((e,r)=>{let{__scopeCollapsible:a,...l}=e,o=b(v,a);return(0,t.jsx)(c.Primitive.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":N(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...l,ref:r,onClick:(0,n.composeEventHandlers)(e.onClick,o.onOpenToggle)})});y.displayName=v;var w="CollapsibleContent",j=a.forwardRef((e,r)=>{let{forceMount:a,...l}=e,o=b(w,e.__scopeCollapsible);return(0,t.jsx)(u.Presence,{present:a||o.open,children:({present:e})=>(0,t.jsx)(C,{...l,ref:r,present:e})})});j.displayName=w;var C=a.forwardRef((e,r)=>{let{__scopeCollapsible:l,present:o,children:n,...s}=e,u=b(w,l),[m,p]=a.useState(o),f=a.useRef(null),x=(0,i.useComposedRefs)(r,f),g=a.useRef(0),h=g.current,v=a.useRef(0),y=v.current,j=u.open||m,C=a.useRef(j),D=a.useRef(void 0);return a.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,d.useLayoutEffect)(()=>{let e=f.current;if(e){D.current=D.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,v.current=t.width,C.current||(e.style.transitionDuration=D.current.transitionDuration,e.style.animationName=
1D.current.animationName),p(o)}},[u.open,o]),(0,t.jsx)(c.Primitive.div,{"data-state":N(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!j,...s,ref:x,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:j&&n})});function N(e){return e?"open":"closed"}var D=e.i(982708),R="Accordion",P=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[O,E,A]=(0,o.createCollection)(R),[I,T]=(0,l.createContextScope)(R,[A,x]),k=x(),S=a.default.forwardRef((e,r)=>{let{type:a,...l}=e;return(0,t.jsx)(O.Provider,{scope:e.__scopeAccordion,children:"multiple"===a?(0,t.jsx)(M,{...l,ref:r}):(0,t.jsx)(H,{...l,ref:r})})});S.displayName=R;var[_,z]=I(R),[F,B]=I(R,{collapsible:!1}),H=a.default.forwardRef((e,r)=>{let{value:l,defaultValue:o,onValueChange:i=()=>{},collapsible:n=!1,...c}=e,[d,u]=(0,s.useControllableState)({prop:l,defaultProp:o??"",onChange:i,caller:R});return(0,t.jsx)(_,{scope:e.__scopeAccordion,value:a.default.useMemo(()=>d?[d]:[],[d]),onItemOpen:u,onItemClose:a.default.useCallback(()=>n&&u(""),[n,u]),children:(0,t.jsx)(F,{scope:e.__scopeAccordion,collapsible:n,children:(0,t.jsx)(W,{...c,ref:r})})})}),M=a.default.forwardRef((e,r)=>{let{value:l,defaultValue:o,onValueChange:i=()=>{},...n}=e,[c,d]=(0,s.useControllableState)({prop:l,defaultProp:o??[],onChange:i,caller:R}),u=a.default.useCallback(e=>d((t=[])=>[...t,e]),[d]),m=a.default.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,t.jsx)(_,{scope:e.__scopeAccordion,value:c,onItemOpen:u,onItemClose:m,children:(0,t.jsx)(F,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(W,{...n,ref:r})})})}),[$,L]=I(R),W=a.default.forwardRef((e,r)=>{let{__scopeAccordion:l,disabled:o,dir:s,orientation:d="vertical",...u}=e,m=a.default.useRef(null),p=(0,i.useComposedRefs)(m,r),f=E(l),x="ltr"===(0,D.useDirection)(s),g=(0,n.composeEventHandlers)(e.onKeyDown,e=>{if(!P.includes(e.key))return;let t=e.target,r=f().filter(e=>!e.ref.current?.disabled),a=r.findIndex(e=>e.ref.current===t),l=r.length;if(-1===a)return;e.preventDefault();let o=a,i=l-1,n=()=>{(o=a+1)>i&&(o=0)},s=()=>{(o=a-1)<0&&(o=i)};switch(e.key){case"Home":o=0;break;case"End":o=i;break;case"ArrowRight":"horizontal"===d&&(x?n():s());break;case"ArrowDown":"vertical"===d&&n();break;case"ArrowLeft":"horizontal"===d&&(x?s():n());break;case"ArrowUp":"vertical"===d&&s()}let c=o%l;r[c].ref.current?.focus()});return(0,t.jsx)($,{scope:l,disabled:o,direction:s,orientation:d,children:(0,t.jsx)(O.Slot,{scope:l,children:(0,t.jsx)(c.Primitive.div,{...u,"data-orientation":d,ref:p,onKeyDown:o?void 0:g})})})}),U="AccordionItem",[q,G]=I(U),K=a.default.forwardRef((e,r)=>{let{__scopeAccordion:a,value:l,...o}=e,i=L(U,a),n=z(U,a),s=k(a),c=(0,m.useId)(),d=l&&n.value.includes(l)||!1,u=i.disabled||e.disabled;return(0,t.jsx)(q,{scope:a,open:d,disabled:u,triggerId:c,children:(0,t.jsx)(h,{"data-orientation":i.orientation,"data-state":ee(d),...s,...o,ref:r,disabled:u,open:d,onOpenChange:e=>{e?n.onItemOpen(l):n.onItemClose(l)}})})});K.displayName=U;var V="AccordionHeader",Z=a.default.forwardRef((e,r)=>{let{__scopeAccordion:a,...l}=e,o=L(R,a),i=G(V,a);return(0,t.jsx)(c.Primitive.h3,{"data-orientation":o.orientation,"data-state":ee(i.open),"data-disabled":i.disabled?"":void 0,...l,ref:r})});Z.displayName=V;var J="AccordionTrigger",Q=a.default.forwardRef((e,r)=>{let{__scopeAccordion:a,...l}=e,o=L(R,a),i=G(J,a),n=B(J,a),s=k(a);return(0,t.jsx)(O.ItemSlot,{scope:a,children:(0,t.jsx)(y,{"aria-disabled":i.open&&!n.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId,...s,...l,ref:r})})});Q.displayName=J;var X="AccordionContent",Y=a.default.forwardRef((e,r)=>{let{__scopeAccordion:a,...l}=e,o=L(R,a),i=G(X,a),n=k(a);return(0,t.jsx)(j,{role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation,...n,...l,ref:r,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=X;var et=e.i(4433),er=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,a=Object.getOwnPropertySymbols(e);l<a.length;l++)0>t.indexOf(a[l])&&Object.prototype.propertyIsEnumerable.call(e,a[l])&&(r[a[l]]=e[a[l]]);return r};let ea=a.forwardRef((e,r)=>{var{className:a}=e,l=er(e,["className"]);return(0,t.jsx)(K,{className:a,ref:r,...l})});ea.displayName="AccordionItem";let el=a.forwardRef((e,l)=>{var{className:o,children:i,iconSize:n,onTrigger:s,headerClassName:c,iconClassName:d}=e,u=er(e,["className","children","iconSize","onTrigger","headerClassName","iconClassName"]);
1let[m,p]=a.useState(!1),f=a.useRef(null);return a.useImperativeHandle(l,()=>f.current),a.useEffect(()=>{var e;p((null==(e=f.current)?void 0:e.getAttribute("data-state"))==="open")},[]),(0,t.jsx)(Z,{className:(0,et.cn)("flex",c),children:(0,t.jsxs)(Q,{"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",o),onClick:()=>{requestAnimationFrame(()=>{var e;let t=(null==(e=f.current)?void 0:e.getAttribute("data-state"))==="open";p(t),null==s||s({isOpen:t})})},ref:f,role:"button",...u,children:[i,(0,t.jsx)(r.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"})]})})});el.displayName=Q.displayName;let eo=a.forwardRef((e,r)=>{var{className:l,children:o,forceMount:i,style:n}=e,s=er(e,["className","children","forceMount","style"]);let c=a.useRef(null),d=a.useRef(null),u=a.useRef(0),[,m]=a.useReducer(e=>e+1,0),p=a.useCallback(e=>{d.current=e,"function"==typeof r?r(e):r&&(r.current=e)},[r]);a.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 r=new ResizeObserver(t);return r.observe(e),()=>r.disconnect()},[i]),a.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 r=new MutationObserver(t);return r.observe(e,{attributes:!0,attributeFilter:["data-state"]}),()=>r.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:p,style:f?Object.assign(Object.assign({},f),n):n,...s,children:(0,t.jsx)("div",{className:l,ref:c,children:o})})});eo.displayName=Y.displayName,e.s(["Accordion",0,S,"AccordionContent",0,eo,"AccordionItem",0,ea,"AccordionTrigger",0,el],731059)},180214,e=>{"use strict";var t=e.i(529956),r=e.i(4433),a=e.i(9143),l=e.i(367088),o=e.i(691672);let i=(0,e.i(777831).default)((0,t.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M7 13.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5"}),"Pending");var n=e.i(26396);let s={positive:a.default,negative:l.default,info:o.default,pending:i,warning:n.default},c={small:"!w-3.5 !h-3.5 mr-0.5",large:"!w-4 !h-4 mr-1",responsive:"!w-3.5 !h-3.5 mr-0.5 lg:!w-4 lg:!h-4 lg:mr-1"},d={small:"px-[0.4375rem] py-[0.1875rem]",large:"px-[0.5625rem] py-[0.4375rem]",responsive:"px-[0.4375rem] py-[0.1875rem] lg:px-[0.5625rem] lg:py-[0.4375rem]"},u={positive:(0,r.cn)(`
2    border-color-semantic-border-success
3    bg-color-semantic-surface-success
4    text-color-semantic-text-success
5  `),negative:(0,r.cn)(`
6    border-color-semantic-border-error
7    bg-color-semantic-surface-error
8    text-color-semantic-text-error
9  `),info:(0,r.cn)(`
10    border-color-semantic-border-info
11    bg-color-semantic-surface-info
12    text-color-semantic-text-info
13  `),pending:(0,r.cn)(`
14    border-color-utility-text-tertiary
15    bg-color-brand-surface-secondary
16    text-color-utility-text-tertiary
17  `),warning:(0,r.cn)(`
18    border-color-semantic-border-warning
19    bg-color-semantic-surface-warning
20    text-color-semantic-text-warning
21  `)};e.s(["StatusPill",0,({size:e="small",text:a,variant:l,className:o})=>{let i=s[l];return(0,t.jsxs)("span",{className:(0,r.cn)("prose-label-medium-xs flex w-fit items-center rounded-full border",d[e],u[l],o),children:[(0,t.jsx)(i,{className:c[e]}),a]})}],180214)},414693,640637,e=>{"use strict";var t=e.i(529956),r=e.i(337757),a=e.i(4433),l=e.i(344420),o=e.i(49484),i=e.i(912832),n=e.i(970960),s=e.i(810188);let c=({alignment:e="left",className:r,description:c,eyebrow:d,heading:u,primaryCta:m,secondaryCta:p,breakpointSizes:f={lg:"large",md:"medium",sm:"small"},btnGroupClassName:x,altBtnStyle:g,onClick:b,stretchInlineButtons:h})=>{let v=(({sm:e,md:t,lg:r},l)=>{let o={small:"prose-brand-3xs",medium:"prose-brand-xs",large:"prose-brand-xs"},i={small:"sm:prose-brand-3xs",medium:"sm:prose-brand-xs",large:"sm:prose-brand-sm"},n={small:"xl:prose-brand-xs",medium:"xl:prose-brand-md",large:"xl:prose-brand-lg"},s={small:"w-full",medium:"w-full",large:"w-fit"},c={small:"sm:w-full",medium:"sm:w-full",large:"sm:w-fit"},d={small:"xl:w-full",medium:"xl:w-fit",large:"xl:w-fit"};return{root:(0,a.cn)("w-full text-color-brand-text-primary",`text-${l}`),eyebrow:"prose-eyebrow-bold-sm uppercase text-color-brand-text-primary",heading:(0,a.cn)("mt-3 text-color-brand-text-primary first:mt-0",o[e],i[t],n[r]),body:"prose-body-medium-sm mt-2 mb-5 text-color-brand-text-secondary",buttonGroup:(0,a.cn)("mt-4","center"===l?"justify-center":"justify-start"),button:(0,a.cn)("mt-4",s[e],c[t],d[r],{"justify-center":"center"===l})}})(f,e),y=[m,p].some(o.isValidCta);return(0,t.jsxs)("div",{className:(0,a.cn)(v.root,r,`breakpoint-sizes-${f.sm}-${f.md}-${f.lg}`),children:[d&&(0,t.jsx)("p",{className:v.eyebrow,children:(0,i.truncateEyebrow)(d)}),(0,t.jsx)("h2",{className:v.heading,children:(0,i.renderWithSuperscript)(u)}),c&&(0,t.jsx)("div",{className:v.body,children:c}),g&&y?(0,t.jsx)(t.Fragment,{children:m&&(0,t.jsx)(n.Button,{RightIcon:l.default,className:"mt-auto !h-[unset] w-max pt-5",disabled:m.disabled,iconClassName:"!size-4",link:m,onClick:e=>{var t,r;
21return null!=(t=null==b?void 0:b())?t:null==(r=null==m?void 0:m.onClick)?void 0:r.call(m,e)},size:"small",variant:"text",children:m.text})}):y&&(0,t.jsx)(s.ButtonGroup,{className:(0,a.cn)(v.buttonGroup,x),primaryCta:m,secondaryCta:p,size:"small",stretchInlineButtons:h})]})};e.s(["PromoCardHeader",0,c],640637);let d=({icon:e,className:a})=>e?(0,t.jsx)(r.Icon,{className:a,fontSize:"large",children:e.icon}):null;e.s(["UtilityCard",0,({themeClass:e,className:r,shapeOverlayClassNames:l="",promoCardHeader:o,breakpointSizes:i={lg:"large",md:"medium",sm:"small"},icon:n,showBars:s=!1,secondaryBg:u,onClick:m,onClickCta:p,isCommerceEnabled:f=!1,isContentHub:x=!1})=>{let g=(({sm:e,md:t,lg:r},l)=>{let o={small:"px-4 py-5",medium:"px-4 py-5",large:"px-5 py-6"},i={small:"sm:px-4 sm:py-5",medium:"sm:px-4 sm:py-6",large:"sm:px-5 sm:py-6"},n={small:"xl:p-6",medium:"xl:px-6 xl:py-8",large:"xl:px-8 xl:py-10"},s={small:"p-4",medium:"p-4",large:"p-5"},c={small:"sm:p-4",medium:"sm:p-4",large:"sm:p-5"},d={small:"xl:px-6 xl:py-5",medium:"xl:px-6 xl:py-5",large:"xl:px-8 xl:py-[1.625rem]"},u={small:"h-2",medium:"h-2",large:"h-2"},m={small:"sm:h-2",medium:"sm:h-2",large:"sm:h-2"},p={small:"xl:h-2",medium:"xl:h-3",large:"xl:h-3"},f={small:"mb-5",medium:"mb-5",large:"mb-5"},x={small:"sm:mb-5",medium:"sm:mb-5",large:"sm:mb-5"},g={small:"xl:mb-8",medium:"xl:mb-8",large:"xl:mb-10"},b={small:"mt-5",medium:"mt-5",large:"mt-5"},h={small:"sm:mt-5",medium:"sm:mt-5",large:"sm:mt-5"},v={small:"xl:mt-5",medium:"xl:mt-8",large:"xl:mt-8"},y={small:"!h-10 !w-10",medium:"!h-10 !w-10",large:"!h-[3rem] !w-[3rem]"},w={small:"sm:!h-10 sm:!w-10",medium:"sm:!h-10 sm:!w-10 ",large:"sm:!h-[3.125rem] sm:!w-[3.125rem]"},j={small:"xl:!h-[3.125rem] xl:!w-[3.125rem]",medium:"xl:!h-[3.125rem] xl:!w-[3.125rem]",large:"xl:!h-[3.5rem] xl:!w-[3.5rem]"};return{root:(0,a.cn)("rounded-card-corner-radius-lg",l?"bg-color-brand-surface-secondary":"bg-color-brand-surface-primary",o[e],i[t],n[r]),rootWithBars:(0,a.cn)("bg-color-brand-surface-primary",s[e],c[t],d[r]),bars:(0,a.cn)("w-full bg-color-brand-border-accent",u[e],m[t],p[r]),barTop:(0,a.cn)(f[e],x[t],g[r]),barBottom:(0,a.cn)(b[e],h[t],v[r]),icon:(0,a.cn)("mb-8 text-color-brand-text-primary",y[e],w[t],j[r])}})(i,u),b=s?g.rootWithBars:g.root,h=null==o?void 0:o.primaryCta,v=h&&Object.assign(Object.assign({},h),{onClick:e=>{var t;null==(t=h.onClick)||t.call(h,e),null==p||p({clickText:h.text||""})}});return(0,t.jsxs)("div",{className:(0,a.cn)(e,b,r,`breakpoint-sizes-${i.sm}-${i.md}-${i.lg}`),onClick:m,children:[s&&(0,t.jsx)("div",{className:(0,a.cn)(g.bars,g.barTop)}),(0,t.jsxs)("div",{className:(0,a.cn)("flex flex-col justify-between gap-2",!s&&"h-full"),children:[n&&!s&&(0,t.jsx)(d,{className:g.icon,icon:n}),(0,t.jsx)(c,{...o,breakpointSizes:null!=i?i:{sm:"small",md:"small",lg:"medium"},btnGroupClassName:(0,a.cn)(f&&"[&_a]:flex-auto [&_button]:flex-auto mt-auto",x&&"[&_a]:flex-none [&_button]:flex-none "),className:(0,a.cn)("xl:longword-locale:[&_h2]:prose-brand-xs","small"===i.lg&&!f&&"xl:[&_h2]:prose-brand-xs 2xl:[&_h2]:prose-brand-md",f&&"flex flex-col flex-1"),primaryCta:v})]}),s&&(0,t.jsx)("div",{className:(0,a.cn)(g.bars,g.barBottom)}),l&&(0,t.jsx)("div",{className:l})]})}],414693)},50345,535206,117787,e=>{"use strict";var t=e.i(529956),r=e.i(515182),a=e.i(280137),l=e.i(291967),o=e.i(18869),i=e.i(671265),n=e.i(621605),s=e.i(704074),c=e.i(327368),d=e.i(136254),u=e.i(559200),m=e.i(816291),p=e.i(912521),f=e.i(381360),x=e.i(485711),g=e.i(73772),b=e.i(497603),h="Dialog",[v,y]=(0,i.createContextScope)(h),[w,j]=v(h),C=e=>{let{__scopeDialog:r,children:l,open:o,defaultOpen:i,onOpenChange:c,modal:d=!0}=e,u=a.useRef(null),m=a.useRef(null),[p,f]=(0,s.useControllableState)({prop:o,defaultProp:i??!1,onChange:c,caller:h});return(0,t.jsx)(w,{scope:r,triggerRef:u,contentRef:m,contentId:(0,n.useId)(),titleId:(0,n.useId)(),descriptionId:(0,n.useId)(),open:p,onOpenChange:f,onOpenToggle:a.useCallback(()=>f(e=>!e),[f]),modal:d,children:l})};C.displayName=h;var N="DialogTrigger",D=a.forwardRef((e,r)=>{let{__scopeDialog:a,...i}=e,n=j(N,a),s=(0,o.useComposedRefs)(r,n.triggerRef);return(0,t.jsx)(p.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":q(n.open
21),...i,ref:s,onClick:(0,l.composeEventHandlers)(e.onClick,n.onOpenToggle)})});D.displayName=N;var R="DialogPortal",[P,O]=v(R,{forceMount:void 0}),E=e=>{let{__scopeDialog:r,forceMount:l,children:o,container:i}=e,n=j(R,r);return(0,t.jsx)(P,{scope:r,forceMount:l,children:a.Children.map(o,e=>(0,t.jsx)(m.Presence,{present:l||n.open,children:(0,t.jsx)(u.Portal,{asChild:!0,container:i,children:e})}))})};E.displayName=R;var A="DialogOverlay",I=a.forwardRef((e,r)=>{let a=O(A,e.__scopeDialog),{forceMount:l=a.forceMount,...o}=e,i=j(A,e.__scopeDialog);return i.modal?(0,t.jsx)(m.Presence,{present:l||i.open,children:(0,t.jsx)(k,{...o,ref:r})}):null});I.displayName=A;var T=(0,b.createSlot)("DialogOverlay.RemoveScroll"),k=a.forwardRef((e,r)=>{let{__scopeDialog:a,...l}=e,o=j(A,a);return(0,t.jsx)(x.RemoveScroll,{as:T,allowPinchZoom:!0,shards:[o.contentRef],children:(0,t.jsx)(p.Primitive.div,{"data-state":q(o.open),...l,ref:r,style:{pointerEvents:"auto",...l.style}})})}),S="DialogContent",_=a.forwardRef((e,r)=>{let a=O(S,e.__scopeDialog),{forceMount:l=a.forceMount,...o}=e,i=j(S,e.__scopeDialog);return(0,t.jsx)(m.Presence,{present:l||i.open,children:i.modal?(0,t.jsx)(z,{...o,ref:r}):(0,t.jsx)(F,{...o,ref:r})})});_.displayName=S;var z=a.forwardRef((e,r)=>{let i=j(S,e.__scopeDialog),n=a.useRef(null),s=(0,o.useComposedRefs)(r,i.contentRef,n);return a.useEffect(()=>{let e=n.current;if(e)return(0,g.hideOthers)(e)},[]),(0,t.jsx)(B,{...e,ref:s,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,l.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:(0,l.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,l.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),F=a.forwardRef((e,r)=>{let l=j(S,e.__scopeDialog),o=a.useRef(!1),i=a.useRef(!1);return(0,t.jsx)(B,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||l.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let r=t.target;l.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),B=a.forwardRef((e,r)=>{let{__scopeDialog:l,trapFocus:i,onOpenAutoFocus:n,onCloseAutoFocus:s,...u}=e,m=j(S,l),p=a.useRef(null),x=(0,o.useComposedRefs)(r,p);return(0,f.useFocusGuards)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.FocusScope,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:n,onUnmountAutoFocus:s,children:(0,t.jsx)(c.DismissableLayer,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionId,"aria-labelledby":m.titleId,"data-state":q(m.open),...u,ref:x,onDismiss:()=>m.onOpenChange(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Z,{titleId:m.titleId}),(0,t.jsx)(J,{contentRef:p,descriptionId:m.descriptionId})]})]})}),H="DialogTitle",M=a.forwardRef((e,r)=>{let{__scopeDialog:a,...l}=e,o=j(H,a);return(0,t.jsx)(p.Primitive.h2,{id:o.titleId,...l,ref:r})});M.displayName=H;var $="DialogDescription",L=a.forwardRef((e,r)=>{let{__scopeDialog:a,...l}=e,o=j($,a);return(0,t.jsx)(p.Primitive.p,{id:o.descriptionId,...l,ref:r})});L.displayName=$;var W="DialogClose",U=a.forwardRef((e,r)=>{let{__scopeDialog:a,...o}=e,i=j(W,a);return(0,t.jsx)(p.Primitive.button,{type:"button",...o,ref:r,onClick:(0,l.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})});function q(e){return e?"open":"closed"}U.displayName=W;var G="DialogTitleWarning",[K,V]=(0,i.createContext)(G,{contentName:S,titleName:H,docsSlug:"dialog"}),Z=({titleId:e})=>{let t=V(G),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
22
23If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
24
25For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return a.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},J=({contentRef:e,descriptionId:t})=>{let r=V("DialogDescriptionWarning"),l=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return a.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(l))},[l,e,t]),null};e.s(["Close",0,U,"Content",0,_,"Description",0,L,"Dialog",0,C,"DialogClose",0,U,"DialogContent",0,_,"DialogDescription",0,L,"DialogOverlay",0,I,"DialogPortal",0,E,"DialogTitle",0,M,"DialogTrigger",0,D,"Overlay",0,I,"Portal",0,E,"Root",0,C,"Title",0,M,"Trigger",0,D,"WarningProvider",0,K,"createDialogScope",0,y],535206);var Q=e.i(264458),X=e.i(535206),X=X,Y=e.i(125406),ee=e.i(163127),et=e.i(712699);let er={...Y.asChildPropDef,align:{type:"enum",className:"rt-r-align",values:["start","center"],default:"center"},size:{type:"enum",className:"rt-r-size",values:["1","2","3","4"],default:"3",responsive:!0},width:ee.widthPropDefs.width,minWidth:ee.widthPropDefs.minWidth,maxWidth:{...ee.widthPropDefs.maxWidth,default:"600px"},...et.heightPropDefs};var ea=e.i(579964),el=e.i(857310),eo=e.i(51406),ei=e.i(608132),en=e.i(312560),es=e.i(883720),ec=e.i(716877),ed=e.i(548342);let eu={as:{type:"enum",values:["h1","h2","h3","h4","h5","h6"],default:"h1"},...Y.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:["1","2","3","4","5","6","7","8","9"],default:"6",responsive:!0},...ed.weightPropDef,...en.textAlignPropDef,...ei.leadingTrimPropDef,...ec.truncatePropDef,...es.textWrapPropDef,...el.colorPropDef,...eo.highContrastPropDef};var em=e.i(410584),ep=e.i(731657);let ef=a.forwardRef((e,t)=>
25{let{children:r,className:l,asChild:o,as:i="h1",color:n,...s}=(0,em.extractProps)(e,eu,ep.marginPropDefs);return a.createElement(ea.Slot.Root,{"data-accent-color":n,...s,ref:t,className:(0,Q.default)("rt-Heading",l)},o?r:a.createElement(i,null,r))});ef.displayName="Heading";var ex=e.i(335608),eg=e.i(519107),eb=e.i(361081);let eh=e=>a.createElement(X.Root,{...e,modal:!0});eh.displayName="Dialog.Root";let ev=a.forwardRef(({children:e,...t},r)=>a.createElement(X.Trigger,{...t,ref:r,asChild:!0},(0,eb.requireReactElement)(e)));ev.displayName="Dialog.Trigger";let ey=a.forwardRef(({align:e,...t},r)=>{let{align:l,...o}=er,{className:i}=(0,em.extractProps)({align:e},{align:l}),{className:n,forceMount:s,container:c,...d}=(0,em.extractProps)(t,o);return a.createElement(X.Portal,{container:c,forceMount:s},a.createElement(eg.Theme,{asChild:!0},a.createElement(X.Overlay,{className:"rt-BaseDialogOverlay rt-DialogOverlay"},a.createElement("div",{className:"rt-BaseDialogScroll rt-DialogScroll"},a.createElement("div",{className:`rt-BaseDialogScrollPadding rt-DialogScrollPadding ${i}`},a.createElement(X.Content,{...d,ref:r,className:(0,Q.default)("rt-BaseDialogContent","rt-DialogContent",n)}))))))});ey.displayName="Dialog.Content";let ew=a.forwardRef((e,t)=>a.createElement(X.Title,{asChild:!0},a.createElement(ef,{size:"5",mb:"3",trim:"start",...e,asChild:!1,ref:t})));ew.displayName="Dialog.Title";let ej=a.forwardRef((e,t)=>a.createElement(X.Description,{asChild:!0},a.createElement(ex.Text,{as:"p",size:"3",...e,asChild:!1,ref:t})));ej.displayName="Dialog.Description";let eC=a.forwardRef(({children:e,...t},r)=>a.createElement(X.Close,{...t,ref:r,asChild:!0},(0,eb.requireReactElement)(e)));eC.displayName="Dialog.Close",e.s(["Close",0,eC,"Content",0,ey,"Description",0,ej,"Root",0,eh,"Title",0,ew,"Trigger",0,ev],905654);var eN=e.i(905654);e.s(["Dialog",0,eN],117787);var eN=eN,eD=e.i(4433),eR=e.i(615582),eP=e.i(970960),eO=e.i(301837),eE=e.i(453340),eA=e.i(496301);let eI="Close modal",eT="Loading";e.s(["AddedToCart",0,({className:e,id:l,themeClass:o="onLight",title:i="",open:n,onOpenChange:s,closeButtonAriaLabel:c=eI,getReturnFocusElement:d,featuredProductCard:u,warrantySelector:m,crossSellHeading:p="",recommendedProductCards:f,isRecommendationsLoading:x=!1,recommendationsLoadingLabel:g=eT,continueShoppingButton:b,viewCartButton:h})=>{let v={overlay:(0,eD.cn)("fixed inset-0 z-50 bg-color-opacity-theme-35"),gridContainer:"fixed inset-0 z-50 xl:flex xl:justify-end",modalContent:"onLight flex h-full w-full flex-col bg-color-brand-surface-primary shadow-[0.125rem_0.5rem_1rem_0_var(--colors-transparent-dark-10)] transition-[max-height] duration-300 ease-in-out xl:w-[29.5rem]",titleBar:"flex items-center justify-between border-b border-color-utility-border-secondary px-4 py-2 text-color-utility-text-primary md:py-3"},{isDesktop:y,isTablet:w}=(0,eR.useBreakpoint)(),j=y?"small":w?"medium":"small",C=(0,a.useRef)(null);return(0,t.jsx)("div",{className:(0,eD.cn)(o,e),id:l,children:(0,t.jsxs)(eN.Root,{onOpenChange:s,open:n,children:[(0,t.jsx)(I,{className:v.overlay}),(0,t.jsx)(eN.Content,{"aria-describedby":void 0,"aria-modal":"true",className:(0,eD.cn)(v.gridContainer,"sbd-added-to-cart-modal"),onClick:e=>{e.target===e.currentTarget&&(null==s||s(!1))},onCloseAutoFocus:e=>{var t,r;let a=(null==(t=C.current)?void 0:t.isConnected)?C.current:null,l=null!=(r=null==d?void 0:d())?r:a;l&&(e.preventDefault(),l.focus()),C.current=null},onOpenAutoFocus:()=>{C.current=document.activeElement instanceof HTMLElement?document.activeElement:null},children:(0,t.jsxs)("div",{className:v.modalContent,children:[(0,t.jsxs)("div",{className:v.titleBar,children:[(0,t.jsx)("div",{className:"w-9"}),(0,t.jsx)(eN.Title,{className:"prose-label-bold-lg !mb-0 text-color-utility-text-primary",children:i}),(0,t.jsx)(eN.Close,{children:(0,t.jsx)("button",{"aria-label":c,className:"flex size-9 items-center justify-center",type:"button",children:(0,t.jsx)(r.default,{})})})]}),(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto p-6",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(eA.HorizontalProductCard,{...u,size:j,variant:"featured-commerce"}),m&&(0,t.jsx)(eE.WarrantySelector,{...m})]}),(x||f.length>0)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"prose-utility-xs mb-4 mt-6 font-black text-color-utility-text-primary",children:p}),x?(0,t.jsx)("div",{"aria-label":g,className:"flex justify-center py-6",role:"status",children:(0,t.jsx)(eO.LoadingSpinner,{size:"large"})}):(0,t.jsx)("div",{className:"grid gap-4",children:f.map((e,r)=>(0,t.jsx)(eA.HorizontalProductCard,{...e,size:j,variant:"card-commerce"},r))})]})]}),(0,t.jsxs)("div",{className:"flex flex-col justify-between gap-2 border-t border-color-utility-border-secondary px-4 py-5 sm:flex-row-reverse xl:flex-col",children:[(0,t.jsx)(eP.Button,{...h,className:(0,eD.cn)("w-full",h.className),size:"small",variant:"solid"}),(0,t.jsx)(eP.Button,{...b,className:(0,eD.cn)("w-full",b.className),size:"small",variant:"outline"})]})]})})]})})}],50345)},181568,e=>{"use strict";e.s(["debounce",0,(e,t)=>{let r;return(...a)=>{clearTimeout(r),r=setTimeout(()=>{e(...a)},t)}}])}]);

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.