PageSourceSearch

https://www.milwaukeetool.ca/_next/static/chunks/6359.28b7d3d582abcbd4.js

js milwaukeetool.ca collected 2026-09-28 06:47:19 UTC 12,931 bytes, 140 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6359],{11208:function(t,e,n){n.d(e,{Z:function(){return Q}});var l=n(27573),r=n(50738),i=n(4144),u=n(73349),o=n(56683),a=n(83723);function s(){let t=(0,o._)(["\n  product-split\n  py-2.5\n  md:py-14\n"]);return s=function(){return t},t}function c(){let t=(0,o._)(["\n  product-split__wrap\n"]);return c=function(){return t},t}function d(){let t=(0,o._)(["\n  product-split__featured\n"]);return d=function(){return t},t}function f(){let t=(0,o._)(["\n  product-split__details\n"]);return f=function(){return t},t}let x=a.Z.div(s()),m=a.Z.div(c()),p=a.Z.div(d()),h=a.Z.div(f());var g=n(7653),v=n(63215),w=n(26114),L=n(14520),A=n(7577),$=n(62131),j=n(15693),S=n(27790);function b(){let t=(0,o._)(["\n  static-bar\n  overflow-hidden\n  fixed\n  w-full\n  left-0\n  z-20\n  bg-brandWhite\n  h-[115px]\n  lg:block\n  -top-full\n  ","\n"]);return b=function(){return t},t}function D(){let t=(0,o._)(["\n  max-h-full\n"]);return D=function(){return t},t}function E(){let t=(0,o._)(["\n  product-title\n  sm:mb-2.5\n"]);return E=function(){return t},t}function _(){let t=(0,o._)(["\n  flex\n  flex-col\n  sm:mt-[30px]\n"]);return _=function(){return t},t}function M(){let t=(0,o._)(["\n  sm:w-full\n  flex\n  flex-wrap\n  md:flex-nowrap\n"]);return M=function(){return t},t}function F(){let t=(0,o._)(["\n  p-2.5\n  h-full\n  w-full\n  flex\n  flex-nowrap\n  flex-row \n"]);return F=function(){return t},t}function Z(){let t=(0,o._)(["\n  sm:ml-auto\n  sm:mt-3\n  mt-2.5\n  ","\n"]);return Z=function(){return t},t}function C(){let t=(0,o._)(["\n  mr-2.5\n  md:mr-[60px]\n  aspect-square\n  w-[84px]\n  sm:w-auto\n  max-w-[112px]\n"]);return C=function(){return t},t}function U(){let t=(0,o._)(["\n  hidden\n  sm:block\n"]);return U=function(){return t},t}let B=a.Z.div(b(),t=>{let{isFixed:e}=t;return e&&"top-[50px]"}),R=(0,a.Z)(i.W2)(D()),k=(0,a.Z)(S.t)(E()),O=a.Z.div(_()),X=a.Z.div(M()),y=a.Z.div(F()),G=a.Z.div(Z(),t=>{let{comingSoon:e}=t;return e&&"sm:mt-1"}),P=(0,a.Z)(j.Z)(C()),z=a.Z.div(U());var N=n(77450),K=t=>{let{onRelease:e,staticBarHeight:n}=t,{scroll:{y:i}}=(0,N.b)(),{pipTopHeight:u}=(0,r.l)();return(0,g.useEffect)(()=>{u&&e(i>u-n)},[n,e,u,i]),(0,l.jsx)(l.Fragment,{})},I=n(29242),V=n(85996),W=n(16641),T=n(21181),H=()=>{var t,e;let n=(0,A.US)(t=>t.productPageOld.product.sku),r=(0,A.US)(t=>t.productPageOld.product.title),i=(0,A.US)(t=>t.productPageOld.product.heroImage),u=(0,A.US)(t=>t.productPageOld.product.launchDate),o=(0,A.US)(t=>t.productPageOld.product.publicAnnouncementDate),a=(0,A.US)(t=>t.productPageOld.product.earlyAnnouncementDate),s=(0,A.US)(t=>t.productPageOld.product.showNotifyButton),[c,d]=(0,g.useState)(!1),[f,x]=(0,g.useState)(0),m=(0,g.useRef)(null),p=(0,V.Z)(),h=null===(e=(0,W.x)(u))||void 0===e?void 0:null===(t=e.availability)||void 0===t?void 0:t.isComingSoon,j=(0,A.US)(t=>t.productVariantOptions.activeVariant.sku),S=(0,A.US)(t=>t.productVariantOptions.activeSize),{current:b}=m,D=(0,T.uS)({showNotifyButton:s,comingSoon:h,earlyAnnouncementDate:a,publicAnnouncementDate:o});return(0,g.useEffect)(()=>{b&&x(b.getBoundingClientRect().height)},[b]),(0,l.jsxs)(B,{isFixed:c,ref:m,children:[(0,l.jsx)(R,{noPadding:!0,children:(0,l.jsx)(y,{children:D&&p?(0,l.jsx)($.Z,{sku:n,title:r,smallMargins:!0,hideBreak:!0,fullWidthBtn:!0,smallBtn:!0,smallParagraph:p}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(P,{url:(0,L.y)(null==i?void 0:i.url,{mw:"112"}),alt:null==i?void 0:i.alt}),(0,l.jsxs)(X,{children:[(0,l.jsxs)(O,{children:[(0,l.jsx)(k,{size:{xs:"SMALL",md:"LARGE"},as:"h1",children:(0,l.jsx)(I.Z,{as:"div",code:r})}),(0,l.jsx)(z,{children:(0,l.jsx)(v.default,{widget:"rating_summary",sku:n})})]}),(0,l.jsx)(G,{comingSoon:D,children:D?(0,l.jsx)($.Z,{sku:n,title:r,smallMargins:!0,hideBreak:!0,fullWidthBtn:!0,smallBtn:!0}):(0,l.jsx)(w.Z,{width:"HUG",size:{xs:"XSMALL",md:"SMALL"},sku:j+S||n})})]})]})})}),(0,l.jsx)(K,{staticBarHeight:f,onRelease:t=>d(t)})]})},q=n(32545),J=n(19230),Q=t=>{let{slots:e}=t,{pipTopHeight:n}=(0,r.l)(),o=(0,A.bO)(),a=(0,g.useRef)(null);return(0,J.Z)(a,()=>{requestAnimationFrame(()=>{let t=a.current;t&&o((0,q.iB)(t.getBoundingClientRect().height))})}),(0,g.useMemo)(()=>(0,l.jsxs)(x,{ref:a,children:[(0,l.jsx)(m,{children:(0,l.jsx)(i.W2,{children:(0,l.jsxs)(u.r,{wrap:"wrap",children:[(0,l.jsx)(u.P,{col:12,md:5,children:(0,l.jsx)(p,{children:null==e?void 0:e.productSplitFeatured})}),(0,l.jsx)(u.P,{col:12,md:7,children:(0,l.jsx)(h,{children:null==e?void 0:e.productSplitDetails})})]})})}),(0,l.jsx)(H,{})]}),[null==e?void 0:e.productSplitDetails,null==e?void 0:e.productSplitFeatured])}},51512:function(t,e,n){n.d(e,{FC:function(){return u},Fz:function(){return a},Mo:function(){return s},UH:function(){return d},ZM:function(){return c},wt:function(){return i}});var l=n(7653);let r=/\{([a-zA-Z0-9-_]*)\}/g,i=(t,e)=>t.replace(r,(t,n)=>n in e?e[n]:""),u=(t,e)=>{let{current:n}=t;e?null==n||n.classList.add("active"):null==n||n.classList.remove("active")},o=t=>t.replace(/<\/?[^>]+(>|$)/g,""),a=t=>l.isValidElement(t)?t.props.alt||t.props.filename?t.props.alt||t.props.filename:t.props.code?o(String(t.props.code)):l.Children.toArray(t.props.children).map(a).join(" "):String(t),s=t=>{try{return JSON.parse(t)}catch(t){return console.warn(t),null}},c=t=>{let e;switch("mx"===window.location.hostname.split(".").pop()&&(t="es-MX"),null==t?void 0:t.toLowerCase()){case"fr-ca":e="/fr";break;case"es-us":e="/es";break;default:e=""}return e},d=t=>!!t},21181:function(t,e,n){n.d(e,{$h:function(){return a},BE:function(){return f},PN:function(){return s},cE:function(){return c},lm:function(){return d},pD:function(){return x},uS:function(){return p}});var l=n(51512);let r=t=>{let e=null==t?void 0:t.toLowerCase();switch("mx"===window.location.hostname.split(".").pop()&&(e="es-mx"),e){case"fr-ca":return{products:"produits",details:"details"};case"es-us":case"es-mx":return{products:"productos",details:"detalles"};default:return{products:"products",details:"details"}}},i=/[\u0300-\u036F\u1AB0-\u1AFF\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/g,u=/ /g,o=t=>{if(!t||!t.trim())return"";let e=t.toLowerCase().normalize("NFD").replace(i,""),n="",l=!1;for(let t of e)t>="a"&&t<="z"||t>="0"&&t<="9"?(n+=t,l=!1):!l&&n.length>0&&(n+="-",l=!0);return n.length>0&&"-"===n[n.length-1]&&(n=n.slice(0,-1)),n},a=(t,e,n)=>{let i=(0,l.ZM)(e),{products:a,details:s}=r(e);return["".concat(i,"/").concat(a),n?s:void 0,n?o(n):void 0,t].filter(t=>!!t).join("/").replace(u,"-")},s=t=>{if(t)return new Date(t)<new Date},c=t=>{if(!t)return{isComingSoon:!0,isNew:!1,isPortfolio:!1};let e=new Date(t),n=new Date,l=new Date(n);n.setDate(n.getDate()-90);let r=e>l,i=e>n;return{isComingSoon:r,isNew:i,isPortfolio:!(r||i)}},d=t=>{if(!t)return"Coming Soon";let e=new Date(t),n=new Date;return e>new Date(n)?"Coming Soon":(n.setDate(n.getDate()-90),e>n)?"New":""},f=t=>{window.m_ink=m(t)},x=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.values(t).sort((t,e)=>t.order>e.order?-1:1)},m=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(0===Object.keys(t).length)return[];let e=[];
1for(let n of x(t))e.push(n.display);return{fullMarketingCategories:e}},p=t=>{let{showNotifyButton:e,comingSoon:n,earlyAnnouncementDate:l,publicAnnouncementDate:r,additionalConditions:i=!0}=t;return!1!==n&&(!!e||!(r&&new Date(r)<=new Date)&&i&&(!!n||!!l||!!r))}},50738:function(t,e,n){n.d(e,{l:function(){return i}});var l=n(7577),r=n(32545);let i=()=>{let t=(0,l.bO)();return{...(0,l.US)(t=>t.productPageOld),updateProductData:e=>{t((0,r.KO)(e))}}}},19230:function(t,e,n){var l=n(7653);let r={box:"content-box"};e.Z=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r;(0,l.useEffect)(()=>{let l=new ResizeObserver(e);return t.current&&l.observe(t.current,n),()=>{l.disconnect()}},[e,n,t])}},77450:function(t,e,n){n.d(e,{b:function(){return u}});var l=n(7653),r=n(24790),i=n(7577);let u=()=>{let t=(0,i.bO)(),e=(0,i.US)(t=>t.mtWindow.scroll);return(0,l.useEffect)(()=>(t((0,r.NM)()),()=>{t((0,r.O5)())}),[t]),{scroll:e,scrollTo:(0,l.useCallback)((e,n)=>{t((0,r.sz)(e,n))},[t])}}},46359:function(t,e,n){n.r(e);var l=n(27573),r=n(73995),i=n(11208);e.default=()=>(0,l.jsx)(i.Z,{slots:{productSplitFeatured:(0,l.jsx)(r.Vm,{name:"product-split-featured"}),productSplitDetails:(0,l.jsx)(r.Vm,{name:"product-split-details"})}})},63215:function(t,e,n){n.r(e);var l=n(27573),r=n(7653),i=n(96765),u=n(46422);e.default=t=>{let{className:e,widget:n,sku:o,showForm:a}=t,[s,c]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{c(!0)},[]),(0,i.X)({id:"BazaarVoice",css:"\n    .bv_button_buttonMinimalist.bv_war_button {\n      display: none !important;\n    }\n    .bv_main_container_row_flex:focus-visible {\n      outline: unset;\n    }\n  "}),(0,l.jsxs)(l.Fragment,{children:[a&&(0,l.jsx)("div",{id:"bv_review_submit_container",className:"flex justify-center m-4",children:(0,l.jsx)(u.z,{onClick:()=>{window.BV.ui("rr","submit_review",{productId:o})},children:"Leave Review"})}),!a&&s&&(0,l.jsx)("div",{className:e,"data-bv-show":n,"data-bv-product-id":o})]})}},27790:function(t,e,n){n.d(e,{t:function(){return A}});var l=n(42347),r=n(31750),i=n(27573),u=({size:t},e,n)=>{if("object"==typeof t&&(t={xs:"MEDIUM",...t})[n])return(0,r.o)(t[n],e)},o=({size:t},e)=>{if("string"==typeof t||void 0===t)return(0,r.o)(t,e)},a=l.tw.h1`
2  text-BLACK
3  ${t=>o(t,h)}
4  ${t=>u(t,h,"xs")}
5  ${t=>u(t,g,"sm")}
6  ${t=>u(t,v,"md")}
7  ${t=>u(t,w,"lg")}
8  ${t=>u(t,L,"xl")}
9`,s=l.tw.h2`
10  text-BLACK
11  ${t=>o(t,h)}
12  ${t=>u(t,h,"xs")}
13  ${t=>u(t,g,"sm")}
14  ${t=>u(t,v,"md")}
15  ${t=>u(t,w,"lg")}
16  ${t=>u(t,L,"xl")}
17`,c=l.tw.h3`
18  text-BLACK
19  ${t=>o(t,h)}
20  ${t=>u(t,h,"xs")}
21  ${t=>u(t,g,"sm")}
22  ${t=>u(t,v,"md")}
23  ${t=>u(t,w,"lg")}
24  ${t=>u(t,L,"xl")}
25`,d=l.tw.h4`
26  text-BLACK
27  ${t=>o(t,h)}
28  ${t=>u(t,h,"xs")}
29  ${t=>u(t,g,"sm")}
30  ${t=>u(t,v,"md")}
31  ${t=>u(t,w,"lg")}
32  ${t=>u(t,L,"xl")}
33`,f=l.tw.h5`
34  text-BLACK
35  ${t=>o(t,h)}
36  ${t=>u(t,h,"xs")}
37  ${t=>u(t,g,"sm")}
38  ${t=>u(t,v,"md")}
39  ${t=>u(t,w,"lg")}
40  ${t=>u(t,L,"xl")}
41`,x=l.tw.p`
42  text-BLACK
43  ${t=>o(t,h)}
44  ${t=>u(t,h,"xs")}
45  ${t=>u(t,g,"sm")}
46  ${t=>u(t,v,"md")}
47  ${t=>u(t,w,"lg")}
48  ${t=>u(t,L,"xl")}
49`,m=l.tw.div`
50  text-BLACK
51  ${t=>o(t,h)}
52  ${t=>u(t,h,"xs")}
53  ${t=>u(t,g,"sm")}
54  ${t=>u(t,v,"md")}
55  ${t=>u(t,w,"lg")}
56  ${t=>u(t,L,"xl")}
57`,p=l.tw.span`
58  text-BLACK
59  ${t=>o(t,h)}
60  ${t=>u(t,h,"xs")}
61  ${t=>u(t,g,"sm")}
62  ${t=>u(t,v,"md")}
63  ${t=>u(t,w,"lg")}
64  ${t=>u(t,L,"xl")}
65`,h={XSMALL:`
66    font-helvetica67
67    text-14
68    leading-5`,SMALL:`
69    font-helvetica75
70    text-12
71    leading-14`,MEDIUM:`
72    font-helvetica75
73    text-14
74    leading-5`,LARGE:`
75    font-helvetica83
76    text-18
77    leading-tight`,XLARGE:`
78    font-helvetica83
79    text-22
80    leading-tight`,DEFAULT:"XLARGE"},g={XSMALL:`
81    sm:font-helvetica67
82    sm:text-14
83    sm:leading-5`,SMALL:`
84    sm:font-helvetica75
85    sm:text-12
86    sm:leading-4`,MEDIUM:`
87    sm:font-helvetica75
88    sm:text-14
89    sm:leading-5`,LARGE:`
90    sm:font-helvetica83
91    sm:text-18
92    sm:leading-tight`,XLARGE:`
93    sm:font-helvetica83
94    sm:text-22
95    sm:leading-tight`,DEFAULT:"XLARGE"},v={XSMALL:`
96    md:font-helvetica67
97    md:text-14
98    md:leading-5`,SMALL:`
99    md:font-helvetica75
100    md:text-12
101    md:leading-4`,MEDIUM:`
102    md:font-helvetica75
103    md:text-14
104    md:leading-5`,LARGE:`
105    md:font-helvetica83
106    md:text-18
107    md:leading-tight`,XLARGE:`
108    md:font-helvetica83
109    md:text-22
110    md:leading-tight`,DEFAULT:"XLARGE"},w={XSMALL:`
111    lg:font-helvetica67
112    lg:text-14
113    lg:leading-5`,SMALL:`
114    lg:font-helvetica75
115    lg:text-12
116    lg:leading-4`,MEDIUM:`
117    lg:font-helvetica75
118    lg:text-14
119    lg:leading-5`,LARGE:`
120    lg:font-helvetica83
121    lg:text-18
122    lg:leading-tight`,XLARGE:`
123    lg:font-helvetica83
124    lg:text-22
125    lg:leading-tight`,DEFAULT:"XLARGE"},L={XSMALL:`
126    xl:font-helvetica67
127    xl:text-14
128    xl:leading-5`,SMALL:`
129    xl:font-helvetica75
130    xl:text-12
131    xl:leading-4`,MEDIUM:`
132    xl:font-helvetica75
133    xl:text-14
134    xl:leading-5`,LARGE:`
135    xl:font-helvetica83
136    xl:text-18
137    xl:leading-tight`,XLARGE:`
138    xl:font-helvetica83
139    xl:text-22
140    xl:leading-tight`,DEFAULT:"XLARGE"},A=({as:t,children:e,...n})=>{switch(t){case"h1":return(0,i.jsx)(a,{...n,children:e});case"h2":return(0,i.jsx)(s,{...n,children:e});case"h3":return(0,i.jsx)(c,{...n,children:e});case"h4":return(0,i.jsx)(d,{...n,children:e});case"h5":return(0,i.jsx)(f,{...n,children:e});case"p":return(0,i.jsx)(x,{...n,children:e});case"span":return(0,i.jsx)(p,{...n,children:e});case"div":return(0,i.jsx)(m,{...n,children:e})}return(0,i.jsx)("h1",{...n,children:e})}},46422:function(t,e,n){n.d(e,{z:function(){return i}});var l=n(40261),r=n(27573),i=({text:t,theme:e,className:n,size:i,width:u,children:o,...a})=>(0,r.jsx)(l.W,{theme:e,size:i,width:u,className:n||"",type:"button",...a,children:t||o})}}]);

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.