PageSourceSearch

https://www.milwaukeetool.ca/_next/static/chunks/557.4be09f8911e52065.js

js milwaukeetool.ca collected 2026-09-28 06:45:18 UTC 27,367 bytes, 22 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[557],{80557:function(e,n,t){t.r(n),t.d(n,{default:function(){return ne},renderingId:function(){return e9}});var r=t(27573),i=t(7653),o=t(28483),l=t(23203),c=t(48481),a=t(70738),u=t(56683),d=t(83723),s=t(36984),f=t(4144);function p(){let e=(0,u._)(["\n  mt-[60px]\n"]);return p=function(){return e},e}function x(){let e=(0,u._)(["\n  compare-header__header\n  font-helvetica83\n  text-base\n  md:text-24\n  capitalize\n  border-b-2\n  border-brandSecondary\n  mb-[25px]\n  pb-[7px]\n"]);return x=function(){return e},e}function h(){let e=(0,u._)(["\n  grid \n  grid-cols-2 \n  md:grid-cols-3 \n  gap-[24px] \n  justify-center \n  overflow-hidden \n  mb-4\n"]);return h=function(){return e},e}function m(){let e=(0,u._)(["\n  pl-[20px]\n  mb-4\n"]);return m=function(){return e},e}function v(){let e=(0,u._)(["\n  compare-header__feature-list-item\n  text-14\n  md:text-base\n  capitalize\n  font-helvetica55\n  relative\n  before:absolute\n  before:top-[5px]\n  before:left-[-20px]\n  before:w-[10px]\n  before:h-[10px]\n  before:bg-brandPrimary\n"]);return v=function(){return e},e}function b(){let e=(0,u._)(["\n  text-14\n  font-helvetica55\n  text-center\n  text-brandPrimary\n  hover:cursor-pointer\n  cursor-pointer\n  flex\n  items-center\n  justify-center\n"]);return b=function(){return e},e}let g=(0,d.Z)(f.W2)(p()),_=(0,d.Z)(s.h)(x()),j=d.Z.div(h()),y=d.Z.div(m()),w=d.Z.div(v()),E=d.Z.div(b());var Z=t(69082),k=()=>{let{compareProducts:e}=(0,o.d)({}),[n,t]=(0,i.useState)([]),[u,d]=(0,i.useState)(!1),s=(0,l.D)(),f=(0,Z.Z)();return(0,i.useEffect)(()=>{var n,r,i,o,l,c,a,u,d;let s=Math.max((null===(r=e[0])||void 0===r?void 0:null===(n=r.features)||void 0===n?void 0:n.length)||0,(null===(o=e[1])||void 0===o?void 0:null===(i=o.features)||void 0===i?void 0:i.length)||0,(null===(c=e[2])||void 0===c?void 0:null===(l=c.features)||void 0===l?void 0:l.length)||0),f=[];for(let n=0;n<s;n++)f.push([null===(a=e[0])||void 0===a?void 0:a.features[n],null===(u=e[1])||void 0===u?void 0:u.features[n],null===(d=e[2])||void 0===d?void 0:d.features[n]]);t(f)},[e]),(0,r.jsxs)(g,{isBlock:!0,children:[(0,r.jsx)(_,{as:"h3",children:f("Key Features")}),(0,r.jsx)("div",{children:n.slice(0,u?n.length:3).map((e,n)=>(0,r.jsx)(j,{children:e.map((e,t)=>(0,r.jsx)("div",{children:e&&(0,r.jsx)(y,{children:(0,r.jsx)(w,{children:e})})},"".concat(n,"-").concat(t)))},n))}),(0,r.jsx)(E,{onClick:()=>{d(e=>!e),s({event:"show_content_engagement_tracking",action_type:"show details click",action_category:"content viewing",action_content:u?"Show Less":"Show More",action_target:u?"Less":"More",action_parent:"key features",action_parent_detail:void 0,action_depth:void 0,action_depth_context:void 0,action_level:void 0,action_level_context:void 0})},children:u?(0,r.jsxs)(r.Fragment,{children:[f("ShowLess"),(0,r.jsx)(a.v,{fillColor:"MILWAUKEE_RED",width:16})]}):(0,r.jsxs)(r.Fragment,{children:[f("ShowMore"),(0,r.jsx)(c.r,{fillColor:"MILWAUKEE_RED",width:16})]})})]})},L=t(73349),S=t(24168);function C(){let e=(0,u._)(["\n  relative\n  compare-header-wrapper\n  min-h-[425px] \n  md:min-h-[600px]\n"]);return C=function(){return e},e}function T(){let e=(0,u._)(["\n  compare-header \n   ","\n"]);return T=function(){return e},e}function D(){let e=(0,u._)(["\n  z-10\n  bg-brandWhite\n  w-full\n  ","\n"]);return D=function(){return e},e}function N(){let e=(0,u._)(["\n  compare-header__result\n"]);return N=function(){return e},e}function A(){let e=(0,u._)(["\n  compare-header__dropdown\n  cursor-pointer\n  btn\n  text-brandBlack\n  border\n  border-brandPrimary\n  font-helvetica55\n  text-[11px]\n  md:text-base\n  px-[8px]\n  md:pt-[20px]\n  md:pb-[20px]\n  md:pl-[20px]\n  md:pr-[8px]\n  w-full\n  h-[42px]\n  md:h-[80px]\n  md:leading-[19px]\n  text-ellipsis\n  overflow-hidden\n  flex\n  justify-between\n  items-center\n  my-[24px]\n"]);return A=function(){return e},e}function I(){let e=(0,u._)(["\n  compare-header__flag\n  relative\n  pt-2\n  ","\n"]);return I=function(){return e},e}function M(){let e=(0,u._)(["\n  h-[138px]\n  lg:h-[245px]\n  my-8\n  flex\n  flex-col\n  justify-center \n  ","\n"]);return M=function(){return e},e}function P(){let e=(0,u._)(["\n  compare-header__label\n  text-12\n  md:text-base\n  leading-none\n  md:font-semibold\n  font-helvetica55\n  text-gray-800\n  min-h-[1rem]\n  text-center\n  mb-4\n  ","\n"]);return P=function(){return e},e}function O(){let e=(0,u._)(["\n  compare-header__link\n  text-12\n  md:text-18\n  leading-none\n  font-helvetica55\n  text-brandPrimary\n  block\n  w-full\n  text-center\n  px-[5px]\n  py-[12px]\n  capitalize\n  ","\n"]);return O=function(){return e},e}function U(){let e=(0,u._)(["\n  flex\n  items-center\n  justify-center\n  add-content\n\n  ","\n"]);return U=function(){return e},e}function W(){let e=(0,u._)(["\n  compare-header__add\n  border-[2.82px]\n  border-brandPrimary\n  rounded-full\n  hover:cursor-pointer\n  flex\n  justify-center\n  items-center\n\n  ","\n"]);return W=function(){return e},e}function B(){let e=(0,u._)(["\n  flex\n  justify-center\n  items-center\n  relative\n  before:absolute\n  before:top\n  before:rotate-180\n  before:w-[2.82px]\n  before:bg-brandPrimary\n  after:absolute\n  after:h-[2.82px]\n  after:bg-brandPrimary\n\n  ","\n"]);return B=function(){return e},e}let F=d.Z.div(C()),R=d.Z.div(T(),e=>{let{sticky:n}=e;
1return n?"":"min-h-[410px] md:min-h-[600px]"}),H=d.Z.div(D(),e=>{let{sticky:n}=e;return n?"fixed shadow-lg pb-2 top-[50px]":"relative"}),V=d.Z.div(N()),z=d.Z.div(A()),K=d.Z.div(I(),e=>{let{sticky:n}=e;return n?"hidden":""}),X=d.Z.div(M(),e=>{let{sticky:n}=e;return n?"hidden":""}),G=d.Z.div(P(),e=>{let{sticky:n}=e;return n?"hidden":""}),$=(0,d.Z)(S.Z)(O(),e=>{let{sticky:n}=e;return n?"hidden":""}),q=d.Z.div(U(),e=>{let{sticky:n}=e;return n?"":"h-[365px] lg:h-[425px]"}),J=d.Z.div(W(),e=>{let{sticky:n}=e;return n?"w-[60px] h-[60px] p-0":"w-[146px] h-[146px] p-[44px]"});d.Z.div(B(),e=>{let{sticky:n}=e;return n?"before:h-[22px] after:w-[22px] ":"before:h-[55px] after:w-[55px]"});var Q=t(85996),Y=t(93490),ee=t(76486),en=function(e){let{sticky:n,handleOpenBottomSheet:t}=e,i=(0,Z.Z)();return(0,r.jsx)(L.P,{col:4,children:(0,r.jsxs)(V,{"data-testid":"compare-header-result",children:[(0,r.jsx)(z,{onClick:()=>t(2),children:(0,r.jsxs)(r.Fragment,{children:[i("Select Tool To Compare"),(0,r.jsx)(ee.x,{fillColor:"MILWAUKEE_RED",width:30})]})}),(0,r.jsx)(q,{"data-testid":"add-tool-compare",sticky:n,onClick:()=>t(2),children:(0,r.jsx)(J,{sticky:n,children:(0,r.jsx)(c.r,{fillColor:"MILWAUKEE_RED",width:n?22:55,height:n?22:55})})})]})})},et=t(15693),er=t(26114),ei=t(21181),eo=t(80878),el=t(16641),ec=t(29242),ea=e=>{var n,t;let{product:i,index:c,sticky:a,handleOpenBottomSheet:u}=e,d=(0,Q.Z)(),s=(0,l.D)(),f=(0,o.d)({}),p=(0,Z.Z)(),x=(0,eo.Z)(),{availabilityText:h}=(0,el.x)((null==i?void 0:i.launchDate)||"");return(0,r.jsx)(L.P,{col:d?6:4,children:(0,r.jsxs)(V,{"data-testid":"compare-header-result",children:[(0,r.jsx)(z,{onClick:()=>u(c),children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ec.Z,{code:null==i?void 0:i.title,as:"span"}),(0,r.jsx)(ee.x,{fillColor:"MILWAUKEE_RED",width:30})]})}),(0,r.jsx)(K,{sticky:a}),(0,r.jsx)(X,{sticky:a,children:(0,r.jsx)(et.Z,{url:null==i?void 0:null===(n=i.heroImage)||void 0===n?void 0:n.url,alt:null==i?void 0:null===(t=i.heroImage)||void 0===t?void 0:t.alt,className:"max-w-[138px] lg:max-w-[245px] mx-auto"})}),(0,r.jsx)(G,{sticky:a,children:null==i?void 0:i.sku}),(0,r.jsx)(er.Z,{sku:i.sku}),(0,r.jsx)($,{"data-testid":"compare-product-details-".concat(c),sticky:a,href:(0,ei.$h)(i.sku,x,i.title),onClick:()=>{var e;s({event:"link_engagement_tracking",action_type:"link click",action_category:"site navigation",action_content:"product details",action_target:(0,ei.$h)(i.sku,x,i.title),action_parent:"compare tool",action_parent_detail:f.listCompareProds(),action_depth:c+1,action_depth_context:f.compareProducts.length,action_level:void 0,action_level_context:void 0,product_sku:i.sku,product_title:i.title,product_type:"product",product_parent_sku:void 0,product_system:null===(e=i.specs.batterySystem)||void 0===e?void 0:e.display,product_primary_category:i.marketingCategories[0],product_secondary_category:i.marketingCategories[1],product_availability:h})},children:p("ProductDetails")})]})})},eu=t(3498),ed=t(7577),es=e=>{let{categoryId:n,defaultTools:t,filters:l}=e,c=(0,Q.Z)(),[a,u]=(0,i.useState)(!1),{compareProducts:d}=(0,o.d)({categoryId:n,defaultTools:t,filters:l}),s=(0,i.useRef)(null),{openBottomSheet:p,setContent:x}=(0,eu.M)(),h=(0,ed.US)(e=>e.bottomSheet.content),{updateOpenBy:m}=(0,o.d)({});(0,Y.Z)(()=>{var e;u(250>((null===(e=s.current)||void 0===e?void 0:e.getBoundingClientRect().bottom)||0))});let v=e=>{""===h&&x({content:"compare-tool"}),p(),m(e)};return(0,r.jsx)(F,{ref:s,children:(0,r.jsx)(R,{sticky:a,children:(0,r.jsx)(H,{sticky:a,children:(0,r.jsx)(f.W2,{children:(0,r.jsxs)(L.r,{children:[d.map((e,n)=>(0,r.jsx)(ea,{product:e,index:n,sticky:a,handleOpenBottomSheet:v},n)),!c&&(0,r.jsx)(r.Fragment,{children:d.length<3&&(0,r.jsx)(en,{sticky:a,handleOpenBottomSheet:v})})]})})})})})};function ef(){let e=(0,u._)(["\n  compare-header__toggle \n  flex \n  flex-nowrap \n  items-center\n"]);return ef=function(){return e},e}function ep(){let e=(0,u._)(["\n  inline-flex \n  items-center \n  cursor-pointer\n"]);return ep=function(){return e},e}function ex(){let e=(0,u._)(["\n  inline-flex \n  relative \n  items-center \n  
1cursor-pointer\n"]);return ex=function(){return e},e}function eh(){let e=(0,u._)(["\n  sr-only \n  peer\n"]);return eh=function(){return e},e}function em(){let e=(0,u._)(["\n  flex \n  items-center \n  w-[52px] \n  h-[20px] \n  bg-gray-200 \n  rounded-full \n  text-transparent \n  peer\n  peer-focus:ring-2 \n  peer-focus:ring-gray-400 \n  peer-checked:peer-focus:ring-brandSecondary \n  peer-checked:after:left-[calc(100%-17.5px)] \n  peer-checked:after:border-white \n  peer-checked:text-brandWhite \n  after:absolute after:left-[2px] \n  after:bg-white \n  after:border-gray-300 \n  after:border after:rounded-full \n  after:w-[15px] \n  after:h-[15px] \n  after:transition-all \n  after:content-[''] \n  dark:border-gray-600 \n  peer-checked:bg-brandPrimary\n"]);return em=function(){return e},e}function ev(){let e=(0,u._)(["\n  text-gray-200 \n  font-helvetica75 \n  text-[10px] \n  ml-1\n"]);return ev=function(){return e},e}function eb(){let e=(0,u._)(["\n  sr-only \n  peer \n  tw:hidden\n"]);return eb=function(){return e},e}function eg(){let e=(0,u._)(["\n  text-[14px] \n  font-helvetica55 \n  pl-[10px]\n"]);return eg=function(){return e},e}let e_=d.Z.div(ef()),ej=d.Z.label(ep()),ey=d.Z.label(ex()),ew=d.Z.input(eh()),eE=d.Z.div(em()),eZ=d.Z.span(ev()),ek=d.Z.input(eb()),eL=d.Z.span(eg());var eS=e=>{let{toggleCb:n}=e,t=(0,Z.Z)();return(0,r.jsx)(e_,{children:(0,r.jsxs)(ej,{children:[(0,r.jsxs)(ey,{htmlFor:"CtToggle",children:[(0,r.jsx)(ew,{id:"CtToggle",name:"CtToggle",type:"checkbox",onClick:n}),(0,r.jsx)(eE,{children:(0,r.jsx)(eZ,{children:"ON"})})]}),(0,r.jsx)(ek,{}),(0,r.jsx)(eL,{children:t("Hide Similar")})]})})};function eC(){let e=(0,u._)(["\n  mt-[60px]\n"]);return eC=function(){return e},e}function eT(){let e=(0,u._)(["\n  compare-header__wrapper\n  flex\n  w-full\n  items-center\n  justify-between\n  border-b-2\n  border-brandSecondary\n  mb-[25px]\n  pb-[7px]\n  mt-[60px]\n"]);return eT=function(){return e},e}function eD(){let e=(0,u._)(["\n  compare-header__header\n  font-helvetica83\n  text-base\n  md:text-24\n  capitalize\n"]);return eD=function(){return e},e}function eN(){let e=(0,u._)(["\n  mb-[25px]\n"]);return eN=function(){return e},e}function eA(){let e=(0,u._)(["\n  compare-header__sub-header\n  font-helvetica75\n  text-14\n  md:text-base\n  capitalize\n  border-b\n  border-b-gray-200\n  mb-[6px]\n"]);return eA=function(){return e},e}function eI(){let e=(0,u._)(["\n  compare-header__spec\n  text-14\n  md:text-base\n  capitalize\n  font-helvetica55\n"]);return eI=function(){return e},e}function eM(){let e=(0,u._)(["\n  compare-header__sys-link \n  text-[10px] \n  md:text-[14px] \n  text-brandPrimary \n  font-helvetica55 \n  block\n"]);return eM=function(){return e},e}let eP=(0,d.Z)(f.W2)(eC()),eO=d.Z.div(eT()),eU=(0,d.Z)(s.h)(eD()),eW=d.Z.div(eN()),eB=d.Z.div(eA()),eF=d.Z.div(eI()),eR=(0,d.Z)(S.Z)(eM());var eH=e=>{let{specName:n,specs:t}=e,i=(0,Z.Z)(),o=((e,n)=>{for(let t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&e===n[t].name)return n[t].value||"-";return"-"})(n,t);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eF,{children:o}),"Battery System"===n&&"-"!==o&&(0,r.jsx)(eR,{href:"/innovations/solutions?system=".concat(o),children:i("View System")})]})},eV=t(61283),ez=()=>{let e=(0,Q.Z)(),{compareProducts:n}=(0,o.d)({}),[t,c]=(0,i.useState)(!1),[a,u]=(0,i.useState)([]),d=(0,l.D)(),s=(0,Z.Z)();return(0,i.useEffect)(()=>{let e=[];for(let l in n){var r,i,o;let c=null===(r=n[l])||void 0===r?void 0:r.specs;if(c&&Object.keys(c).length)for(let r in c){let{name:l}=c[r];if(t){let t=null===(i=n[0].specs[r])||void 0===i?void 0:i.value;for(let e=1;e<n.length;e++)if(t!==(null===(o=n[e].specs[r])||void 0===o?void 0:o.value)){t="";break}""===t&&e.push(l)}else e.includes(l)||e.push(l)}}u(e)},[n,t]),(0,r.jsxs)(eP,{isBlock:!0,children:[(0,r.jsxs)(eO,{children:[(0,r.jsx)(eU,{as:"h3",children:s("Specifications")}),(0,r.jsx)(eS,{toggleCb:()=>{c(e=>!e),d({event:"filter_engagement_tracking",action_type:"toggle filter click",action_category:"results management",action_content:"Hide Similar",action_target:t?"off":"on",action_parent:"compare tool",action_parent_detail:"specs",action_depth:void 0,action_depth_context:void 0,action_level:void 0,action_level_context:void 0})}})]}),null==a?void 0:a.map((t,i)=>(0,r.jsxs)(eW,{children:[(0,r.jsx)(eB,{children:t}),(0,r.jsx)(L.r,{children:Object.entries(n).map(n=>(0,r.jsx)(L.P,{col:e?6:4,children:(0,r.jsx)(eH,{specName:t,specs:n[1].specs})},"".concat(n[0])))})]},"spec_".concat(i))),(0,r.jsxs)(eW,{children:[(0,r.jsx)(eB,{children:s("Service Parts List")}),(0,r.jsx)(L.r,{children:Object.entries(n).map(n=>(0,r.jsx)(L.P,{col:e?6:4,children:(0,r.jsx)(eF,{children:n[1].PartsList?(0,r.jsx)(eV.o,{text:s("Download"),link:{url:"https://documents.milwaukeetool.com/".concat(n[1].PartsList)}}):"-"})},"".concat(n[0])))})]}),(0,r.jsxs)(eW,{children:[(0,r.jsx)(eB,{children:s("Operators Manual")}),(0,r.jsx)(L.r,{children:Object.entries(n).map(n=>(0,r.jsx)(L.P,{col:e?6:4,children:(0,r.jsx)(eF,{children:n[1].PartsList?(0,r.jsx)(eV.o,{text:s("Download"),link:{url:"https://documents.milwaukeetool.com/".concat(n[1].OperatorsManual)}}):"-"})},"".concat(n[0])))})]})]})},eK=t(30171);function eX(){let e=(0,u._)(["\n  relative\n  text-center\n  w-full\n  overflow-hidden\n  bg-[#323a45]\n  h-[128px]\n  md:h-[375px]\n  lg:h-[500px]\n"]);return eX=function(){return e},e}function eG(){let e=(0,u._)(["\n  object-cover\n  w-full h-full\n  origin-top-left\n  z-[3]\n  opacity-100\n  transition-opacity\n  ease\n  duration-500\n  -translate-y-1/2\n  -translate-x-1/2\n  absolute top-1/2\n  left-1/2\n"]);return eG=function(){return e},e}function e$(){let e=(0,u._)(["\n  hero-banner__title\n  font-helvetica83\n  uppercase\n  text-brandWhite\n  pb-0\n  mb-0\n  text-base\n  md:text-[36px]\n  leading-none\n"]);return e$=function(){return e},e}function eq(){let e=(0,u._)(["\n  absolute\n  top-1/2\n  left-0\n  w-full\n  max-w-full\n  -translate-y-1/2\n  z-[3]\n  bg-black/[0.6]\n  h-[93px]\n  md:h-[148px]\n  flex\n  justify-center\n  items-center\n"]);return eq=function(){return e},e}function eJ(){let e=(0,u._)(["\n  bg-brandBlack\n  text-brandWhite\n  font-helvetica55\n  text-base\n  md:text-lg\n  leading-none\n  md-max:pl-2\n  py-2\n  md:py-4\n  h-[37px]\n  md:h-[55px]\n  flex\n  items-center\n"]);return eJ=function(){return e},e}function eQ(){let e=(0,u._)(["\n  items-center\n"]);return eQ=function(){return e},e}function eY(){let e=(0,u._)(["\n  uppercase\n  text-brandWhite\n  hover:underline\n  hover:text-brandWhite\n  transition-all\n"]);return eY=function(){return e},e}let e0=d.Z.div(eX()),e1=d.Z.img(eG()),e2=d.Z.h1(e$()),e5=d.Z.div(eq()),e7=d.Z.div(eJ()),e3=(0,d.Z)(f.W2)(eQ()),e4=d.Z.a(eY());var e6=t(45950),e8=e=>{let{bannerImage:n,categoryTitle:t,categoryUrl:i}=e,o=e6.default.metContext.page_name||"Compare";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e7,{children:(0,r.jsx)(e3,{children:(0,r.jsxs)(e4,{href:i,children:[(0,r.jsx)(eK.K,{className:"inline md:ml-5 mr-3  transition-all hover:no-underline",fillColor:"WHITE",width:12,height:12,viewBox:"0 0 12 12"}),t]})})}),(0,r.jsxs)(e0,{children:[n&&(0,r.jsx)("picture",{children:(0,r.jsx)(e1,{width:"1920",height:"600","data-src":n.url,src:n.url})}),(0,r.jsx)(e5,{children:(0,r.jsx)(e2,{children:(0,r.jsx)(ec.Z,{code:o,as:"span"})})})]})]})};let e9="3abdc3ec318241ca938f29a094722cd1";var ne=e=>{let{bannerImage:n,categoryId:t,categoryTitle:i,categoryUrl:o,defaultTools:l,filters:c}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e8,{bannerImage:n,categoryTitle:i,categoryUrl:o}),(0,r.jsx)(es,{categoryId:t,defaultTools:l,filters:c}),(0,r.jsx)(k,{}),(0,r.jsx)(ez,{})]})}},3498:function(e,n,t){t.d(n,{M:function(){return o}});var r=t(7577),i=t(36850);function o(){let e=(0,r.bO)();return{openBottomSheet:()=>e((0,i.Nu)(!0)),closeBottomSheet:()=>e((0,i.Nu)(!1)),draggingStarted:()=>e((0,i.FL)(!0)),draggingEnded:()=>e((0,i.FL)(!1)),setContent:n=>{let{content:t}=n;
1e((0,i.Vx)({content:t}))},setData:n=>{let{data:t}=n;e((0,i.Vx)({data:t}))}}}},28483:function(e,n,t){t.d(n,{d:function(){return d}});var r=t(54220),i=t(7577),o=t(80878),l=t(44698),c=t(36850),a=t(7653),u=t(50411);function d(e){let{categoryId:n,defaultTools:t,filters:d}=e,s=(0,o.Z)(),f=(0,i.bO)(),p=(0,i.US)(e=>e.compareTool),{isLoading:x,data:h}=(0,r.ag)({language:s,category:n},{enabled:void 0!==n}),m=(0,u.A)("skus"),v=e=>{let n=e.map(e=>e.sku).toString();window.history.replaceState(null,"","?skus=".concat(n))},b=(0,a.useCallback)(e=>{let n=null==m?void 0:m.split(","),r=()=>{if(!t)return Object.values(e).slice(0,2);let n=[];for(let r=0;r<(null==t?void 0:t.length);r++)n=[...n,e[t[r].sku]];return n};return n&&n.length>1?(()=>{let t=[];for(let i=0;i<(null==n?void 0:n.length);i++){if(!e[n[i]])return r();t=[...t,e[n[i]]]}return t})():r()},[t,m]),g=(0,a.useCallback)(()=>{if(x||!h||"OK"!==h.status)return;let e=h.data.results,n=p.compareProducts.length<1?b(e):p.compareProducts;f((0,l.Vx)({products:e,compareProducts:n,filters:d}))}
1,[x,h,p.compareProducts,b,f,d]);(0,a.useEffect)(g,[g]);let _=()=>f((0,c.Nu)(!1)),j=e=>{f((0,l.Vx)({openBy:e}))},y=()=>{j(null),_()};return{...p,openBottomSheet:()=>f((0,c.Nu)(!0)),closeBottomSheet:_,updateOpenBy:j,updateStoreCompareTool:e=>{let n=[...null==p?void 0:p.compareProducts];if(2===p.openBy&&p.compareProducts.length<3){e&&(f((0,l.Vx)({compareProducts:[...n,e]})),v([...n,e])),y();return}n[p.openBy]=e,f((0,l.Vx)({compareProducts:n})),v(n),y()},listCompareProds:()=>{let e="";return p.compareProducts.forEach((n,t)=>{e+=n.sku,t<p.compareProducts.length-1&&(e+="|")}),e}}}},23203:function(e,n,t){t.d(n,{D:function(){return o}});var r=t(59372),i=t(45950);let o=()=>{var e;let{isLoading:n,isAuthenticated:t,user:o}=(0,r.J)(),l=n?"met session id is not yet available":null==o?void 0:null===(e=o.session)||void 0===e?void 0:e.id;return e=>{t&&o?i.default.fireEvent({rudderstack_user_id:o.details.email,...e},l):i.default.fireEvent(e,l)}}},85996:function(e,n,t){var r=t(63497);n.Z=()=>{let{isMobile:e}=(0,r.w)();return e}},16641:function(e,n,t){t.d(n,{x:function(){return o}});var r=t(21181),i=t(69082);let o=e=>{let n=(0,i.Z)(),t=(0,r.cE)(e),o="";return o=n((null==t?void 0:t.isComingSoon)?"Coming Soon":(null==t?void 0:t.isNew)?"New":"Portfolio"),{availability:t,availabilityText:o}}},69082:function(e,n,t){var r=t(7577),i=t(7653),o=t(5923);n.Z=()=>{let e=(0,i.useRef)(new Set),{fetchKeys:n}=(0,i.useContext)(o.Z),t=(0,r.US)(e=>e.language.lang),l=(0,r.US)(e=>e.language.translations);return(0,i.useEffect)(()=>{e.current.size>0&&n({lang:t,keys:[...e.current.values()]})},[n,t]),n=>(null==l?void 0:l.hasOwnProperty(n))?l[n]:(e.current.add(n),n)}},63497:function(e,n,t){t.d(n,{w:function(){return l}});var r=t(7653),i=t(7577);let o=(e,n)=>{let t;return()=>{t&&clearTimeout(t),t=setTimeout(e,n)}},l=()=>{let e=(0,i.US)(e=>e.device.isMobile),[n,t]=(0,r.useState)(e),[l,c]=(0,r.useState)(!1),[a,u]=(0,r.useState)(!e),[d,s]=(0,r.useState)(!e);return(0,r.useEffect)(()=>{let e=o(()=>{let e=window.innerWidth;t(e<768),c(e>=768&&e<1024),u(e>=1024),s(e>=1400)},300);return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[a,n]),{isMobile:n,isDesktop:a,isTablet:l,isLgDesktop:d}}},93490:function(e,n,t){t.d(n,{Z:function(){return l}});var r=t(7653),i=t(7577),o=t(24790);function l(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=(0,i.bO)();(0,r.useEffect)(()=>(t((0,o._g)(e,n)),()=>{t((0,o.vO)(e,n))}),[t,e,n])}},26114:function(e,n,t){t.d(n,{Z:function(){return Z}});var r=t(27573),i=t(7653),o=t(46422),l=t(56683),c=t(83723),a=t(29242);function u(){let e=(0,l._)(["\n  w-full\n  h-full\n"]);return u=function(){return e},e}function d(){let e=(0,l._)(["\n  hidden\n"]);return d=function(){return e},e}let s=(0,c.Z)(a.Z)(u()),f=c.Z.div(d()),p={CLASS:"ps-widget",ENABLED:"ps-enabled",DISABLED:"ps-disabled",SKU_ATTR:"ps-sku",ID_ATTR:"where-to-buy",CONFIG:"ps-config",CONFIG_ID:"62fd53ef8329f6001afb6296",BUTTON_TEXT:"WhereToBuy",NO_SELLERS:"NoSellersFound"},x=(e,n,t)=>{if(!e)return;m(e,n),h(e,t);let r=window.PriceSpider;r&&r.rebind()},h=(e,n)=>{new MutationObserver((t,r)=>{for(let i of t)if("attributes"===i.type&&"class"===i.attributeName){if(!e.classList.contains(p.ENABLED)&&!e.classList.contains(p.DISABLED))return;e.classList.contains(p.ENABLED)&&n(!1),e.classList.contains(p.DISABLED)&&n(!0),r.disconnect()}}).observe(e,{attributes:!0})},m=(e,n)=>{e&&n&&(e.classList.contains(p.ENABLED)&&e.classList.remove(),e.classList.add(p.CLASS),e.getAttribute(p.SKU_ATTR)!==n&&e.setAttribute(p.SKU_ATTR,n),n.endsWith("c")&&e.setAttribute(p.CONFIG,p.CONFIG_ID))},v='\n  <div id="mx-wtb-content" class="w-full h-full">\n      <iframe srcdoc=\'<html>\n          <head>\n          <meta name="ps-key" content="1525-59d29f86f5c42e0033c968be">\n          <meta name="ps-country" content="{replaceCountry}">\n          <meta name="ps-language" content="{replaceLang}">\n          </head>\n          <body>\n          <script type="text/javascript" src="https://cdn.pricespider.com/1/lib/ps-widget.js" async></script>\n          <script type="text/javascript" src="https://cdn.pricespider.com/1/1525/ps-utid.js" async></script>\n\n          <div class="ps-widget" ps-sku=""></div>\n          \n          </body>\n          </html>\n  \'></iframe>\n  </div>\n';var b=t(96765),g=t(69082),_=t(7577),j=t(71e3),y=t(14118),w=t(51512),E=e=>{let{size:n={xs:"SMALL",md:"MEDIUM"},width:t="FULL",sku:l}=e,{closeQuickView:c}
1=(0,j.q)(),[a,u]=(0,i.useState)(v),{openModal:d}=(0,y.d)(),f=(0,g.Z)(),[x,h]=(0,_.US)(e=>e.language.lang).split("-");return(0,i.useEffect)(()=>{u((0,w.wt)(v,{replaceCountry:h,replaceLang:x}))},[h,x]),(0,r.jsx)(o.z,{"data-testid":"wtb-button-".concat(l),width:t,size:n,onClick:()=>{d({content:(0,r.jsx)(s,{as:"div",code:a}),contentClass:"h-[95vh] sm:h-[600px] p-0 flex [&>div]:flex [&>div]:w-full [&>div]:h-full\n        [&>div>div]:w-full\n        [&>div>div]:h-full\n        [&>div>div]:relative\n        [&>div>div>iframe]:absolute\n        [&>div>div>iframe]:inset-0\n        [&>div>div>iframe]:w-full\n        [&>div>div>iframe]:h-full\n      ",onClose:c})},className:"buyNow mx",children:f(p.BUTTON_TEXT)})},Z=e=>{let{sku:n,size:t={xs:"SMALL",md:"MEDIUM"},width:l="FULL"}=e,c=(0,i.useRef)(null),[a,u]=(0,i.useState)(!1);(0,i.useEffect)(()=>{x(c.current,n,e=>{null!==c.current&&u(e)})},[n]),(0,b.X)({id:"Wtb",css:"\n    .ps-lightbox svg {\n      display: inline;\n    }\n  "});let d=(0,g.Z)(),s=(0,_.US)(e=>e.language.lang);return a&&"es-MX"===s?(0,r.jsx)(E,{width:l,size:t,sku:n}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.z,{"data-testid":"wtb-button-".concat(n),width:l,size:t,onClick:()=>{!a&&c.current&&c.current.click()},disabled:a,className:"buyNow",children:d(a?p.NO_SELLERS:p.BUTTON_TEXT)}),(0,r.jsx)(f,{children:(0,r.jsx)("div",{ref:c,id:p.ID_ATTR,"ps-sku":n})})]})}},96765:function(e,n,t){t.d(n,{X:function(){return i}});var r=t(7653);let i=e=>{let{id:n,css:t,onLoad:i,onError:o,onSuccess:l}=e,c=(0,r.useRef)("undefined"!=typeof document?document.createElement("style"):null);(0,r.useEffect)(()=>{let e=c.current;if(null!==e)return null===e.parentNode&&null===document.getElementById(e.id)&&(e.id=n||"",t&&(e.innerHTML=t),i&&(e.onload=i),o&&(e.onerror=o),document.body.appendChild(e),l&&l()),()=>{e.remove()}},[n,t,i,o,l])}},70738:function(e,n,t){t.d(n,{v:function(){return o}});var r=t(11431),i=t(27573),o=({...e})=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(r.u,{...e,children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M4.57501 13.175V10.825H19.425V13.175H4.57501Z"})})})})},48481:function(e,n,t){t.d(n,{r:function(){return o}});var r=t(11431),i=t(27573),o=({...e})=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(r.u,{...e,children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M10.825 19.425V13.175H4.57501V10.825H10.825V4.57501H13.175V10.825H19.425V13.175H13.175V19.425H10.825Z"})})})})},29381:function(e,n,t){t.d(n,{O:function(){return a},w:function(){return u}});var r=t(51128),i=t(42347),o=t(31750),l={STANDARD:`
2    text-MILWAUKEE_RED
3    focus:border-MILWAUKEE_RED`,INVERSE:`
4    text-WHITE
5    focus:border-WHITE`,DEFAULT:"STANDARD"},c={SMALL:"text-sm",MEDIUM:"text-base",DEFAULT:"SMALL"},a=i.tw.div`
6  group-hover:underline
7`,u=(0,i.tw)(r.w)`
8  border
9  border-transparent
10  focus:border-dashed
11  focus:border-WHITE
12  group
13  inline-flex
14  items-center
15  font-helvetica75
16  leading-none
17  transition-all
18  pr-0.5
19  capitalize
20  ${({theme:e})=>(0,o.o)(e,l)}
21  ${({size:e})=>(0,o.o)(e,c)}
22`},61283:function(e,n,t){t.d(n,{o:function(){return c}});var r=t(29381),i=t(11431),o=t(27573),l=({...e})=>(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(i.u,{...e,children:(0,o.jsx)("path",{d:"M5 20H19V18H5M19 9H15V3H9V9H5L12 16L19 9Z"})})}),c=({link:e,text:n,theme:t,className:i,size:c,target:a,onClick:u,...d})=>(0,o.jsxs)(r.w,{href:encodeURI(e?.url||""),theme:t,size:c,className:i||"",target:a,rel:"_blank"===a?"noopener noreferrer":void 0,onClick:u,...d,children:[(0,o.jsx)(l,{width:19,height:19,fillColor:"INVERSE"===t?"WHITE":"MILWAUKEE_RED"}),(0,o.jsx)(r.O,{children:n??"Download"})]})},46422:function(e,n,t){t.d(n,{z:function(){return o}});var r=t(40261),i=t(27573),o=({text:e,theme:n,className:t,size:o,width:l,children:c,...a})=>(0,i.jsx)(r.W,{theme:n,size:o,width:l,className:t||"",type:"button",...a,children:e||c})},76486:function(e,n,t){t.d(n,{x:function(){return o}});var r=t(11431),i=t(27573),o=({...e})=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(r.u,{...e,children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M12 15.95L5.40002 9.35002L7.07502 7.67502L12 12.625L16.925 7.70002L18.6 9.37502L12 15.95Z"})})})})},30171:function(e,n,t){t.d(n,{K:function(){return o}});var r=t(11431),i=t(27573),o=({...e})=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(r.u,{...e,children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M14.025 18.6L7.40002 11.975L14.025 5.35001L15.7 7.02501L10.75 11.975L15.7 16.925L14.025 18.6Z"})})})})}}]);

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.