https://www.hutsoninc.com/component---src-templates-used-equipment-single-js-61de59bc5abaca82deb3.js
1(self.webpackChunk_hutson_www=self.webpackChunk_hutson_www||[]).push([[4113],{19460:function(e,t,n){"use strict";var i=n(42236);const a=n(92568).default.div.withConfig({displayName:"content__StyledContent",componentId:"sc-1gk2sjm-0"})(["margin:auto;padding:"," 0;width:85%;@media ","{padding:"," 0;width:75%;}"],e=>e.theme.size.l,e=>e.theme.mediaQuery.largeUp,e=>e.theme.size.xxl);t.A=e=>{let{children:t,...n}=e;return i.createElement(a,n,t)}},27037:function(e,t,n){var i=n(75972).k5;e.exports.n=function(e){return i({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M448 192V77.25c0-8.49-3.37-16.62-9.37-22.63L393.37 9.37c-6-6-14.14-9.37-22.63-9.37H96C78.33 0 64 14.33 64 32v160c-35.35 0-64 28.65-64 64v112c0 8.84 7.16 16 16 16h48v96c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-96h48c8.84 0 16-7.16 16-16V256c0-35.35-28.65-64-64-64zm-64 256H128v-96h256v96zm0-224H128V64h192v48c0 8.84 7.16 16 16 16h48v96zm48 72c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"}}]})(e)}},31104:function(e){e.exports=e=>e instanceof Date&&!isNaN(e)},32218:function(e,t,n){const i=n(93990);e.exports=function(e,t){void 0===t&&(t={});const{titleCase:n=!1}={...t},a=(e=>{switch(e){case"ENGINE_HOURS":return"engine hours";case"SEPARATOR_HOURS":return"separator hours";case"BALES":return"bales";case"ACRES":return"acres";case"MILES":return"miles";default:return null}})(e);return n?i(a):a}},34318:function(e){function t(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function n(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function i(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var i=getComputedStyle(e,null);return n(i.overflowY,t)||n(i.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function a(e,t,n,i,a,l,r,o){return l<e&&r>t||l>e&&r<t?0:l<=e&&o<=n||r>=t&&o>=n?l-e-i:r>t&&o<n||l<e&&o>n?r-t+a:0}e.exports=function(e,n){var l=window,r=n.scrollMode,o=n.block,c=n.inline,s=n.boundary,m=n.skipOverflowHiddenElements,d="function"==typeof s?s:function(e){return e!==s};if(!t(e))throw new TypeError("Invalid target");for(var u,p,g=document.scrollingElement||document.documentElement,f=[],h=e;t(h)&&d(h);){if((h=null==(p=(u=h).parentElement)?u.getRootNode().host||null:p)===g){f.push(h);break}null!=h&&h===document.body&&i(h)&&!i(document.documentElement)||null!=h&&i(h,m)&&f.push(h)}
1for(var y=l.visualViewport?l.visualViewport.width:innerWidth,b=l.visualViewport?l.visualViewport.height:innerHeight,E=window.scrollX||pageXOffset,x=window.scrollY||pageYOffset,w=e.getBoundingClientRect(),v=w.height,q=w.width,k=w.top,_=w.right,S=w.bottom,C=w.left,N="start"===o||"nearest"===o?k:"end"===o?S:k+v/2,I="center"===c?C+q/2:"end"===c?_:C,A=[],L=0;L<f.length;L++){var j=f[L],P=j.getBoundingClientRect(),U=P.height,D=P.width,H=P.top,$=P.right,z=P.bottom,O=P.left;if("if-needed"===r&&k>=0&&C>=0&&S<=b&&_<=y&&k>=H&&S<=z&&C>=O&&_<=$)return A;var B=getComputedStyle(j),F=parseInt(B.borderLeftWidth,10),T=parseInt(B.borderTopWidth,10),M=parseInt(B.borderRightWidth,10),R=parseInt(B.borderBottomWidth,10),V=0,W=0,Q="offsetWidth"in j?j.offsetWidth-j.clientWidth-F-M:0,Y="offsetHeight"in j?j.offsetHeight-j.clientHeight-T-R:0,X="offsetWidth"in j?0===j.offsetWidth?0:D/j.offsetWidth:0,G="offsetHeight"in j?0===j.offsetHeight?0:U/j.offsetHeight:0;if(g===j)V="start"===o?N:"end"===o?N-b:"nearest"===o?a(x,x+b,b,T,R,x+N,x+N+v,v):N-b/2,W="start"===c?I:"center"===c?I-y/2:"end"===c?I-y:a(E,E+y,y,F,M,E+I,E+I+q,q),V=Math.max(0,V+x),W=Math.max(0,W+E);else{V="start"===o?N-H-T:"end"===o?N-z+R+Y:"nearest"===o?a(H,z,U,T,R+Y,N,N+v,v):N-(H+U/2)+Y/2,W="start"===c?I-O-F:"center"===c?I-(O+D/2)+Q/2:"end"===c?I-$+M+Q:a(O,$,D,F,M+Q,I,I+q,q);var J=j.scrollLeft,Z=j.scrollTop;N+=Z-(V=Math.max(0,Math.min(Z+V/G,j.scrollHeight-U/G+Y))),I+=J-(W=Math.max(0,Math.min(J+W/X,j.scrollWidth-D/X+Q)))}A.push({el:j,top:V,left:W})}return A}},40708:function(e,t,n){const i=n(96419),a=n(31104);e.exports=e=>{const{start:t,end:n}=e,l=(new Date).getTime();if(i(t)){const e=a(t)?t.getTime():new Date(t).getTime();if(isNaN(e)||e>=l)return!1}if(i(n)){const e=a(n)?n.getTime():new Date(n).getTime();if(isNaN(e)||e<=l)return!1}return!0}},47739:function(e,t,n){const i=n(60243),a=n(51711),l=n(96419);e.exports=function(e,t){void 0===t&&(t={});const{relativeFallback:n=!0}={...t};if(a(e)){if(l(e.large))return e.large;if(l(e.regular))return e.regular}return`${n?"":i.siteUrl}/no-images-available.jpg`}},51711:function(e){e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},52916:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});const i=new Set([370634,376346,384044,389559,384046,384989,385732,385733,385725,390058,387381,389507,384536,389505,384266,384922,392735,379931,389473,382996,389005,390116,390117,383006,390119,390118,390085,393661,379893,383562,380032,389668,363457,379146,373160,376966,353608,384362,365117,379142,353612,355542,381793,381748,381790,381791,380127,384755,384169,376843,377411,392031,379330,377930,391671,383104,390098,390406,390549,378071,386942,381450,351319,384336,383570,384339,379672,383573,383572,382231,382813,384136,380791,384991,355295,387924,380452,382484,351771,351770,351769,380460,380457,350991,380456,380462,383164,346328,388861,383165,384143,384137,380459,352460,379919,351117,385291,380712,350167,355776,384986,374796,351305,355771,355773,355772,380121,382535,384254,379460,374694,385715,390283,384495,381967,351100,376574,382280,376211,382488,382042,388346,381053,389719,351111,380406,380404,384127,380407,386951,382978,382970,382968,382969,382977,382811,385871,385872,385874,381707,350150,389371,389373,390094,387017,391481,385849,384310,389131,380717,381573,392628,345032,392744,344107,349267,380031,382598,343388,344607,340820,386890,383156,386603,387131,391114,392152,377123,357505,378461,339094,361698,382204,386273,340932,382352,380317,343434,384754,384338,376320,351041,350534,352546,384480,380468,386546,379923,379926,351516,350992,382402,362873,348435,359967,383079,387822,387821,381051,381052,382980,382976,382979,382981,382982,382983,384479,346335,383549,383543,383545,383569,384990,386858,393189,350783,350788,350790,350795,351798,384130,384992,384993,380463,380464,380466,385880,385878,385881,385882,357507,357544,376284,358330,353564,358332,383465,382809,374283,356930,327366,390096,385236,390275,380915,381708,362791,376616,377931,376491,380740,351497,377727,377725,333582,379891,369733,351804,376371,369570,388883,366574,388884,359673,369549,386620,377720,387198,383148,362519,385179,389182,384771,379628,378057,381785,339881,384770,381123,339987,379884,379888,350801,388978,382268,383987,355974,387930,367211,381570,382601,390956,329700,390937,383243,380310,333947,380311,390410,388889,348492,384089,388301,390390,388137,383949,391951,343592,343593,385707,387195,380792,350900,333833,388110,391117,382101,389817,379896,343400,353604,381635,383945,383940,384552,380376,384553,389489,389606,380115,387824,380117,380116,390120,390121,380377,381821,362241,389813,391625,392876,365294,355889,277693,371806,388156,388155,388158,386175,348568,384996,352857,381954,346441,378838,360855,381825,361435,367797,374287,392074,393190,391581,391582,392560])},68921:function(e,t,n){"use strict";var i=n(42236),a=n(92568);const l=e=>{let{children:t,textAlign:n,type:a,...l}=e;return i.createElement(r,Object.assign({as:a,textAlign:n},l),t,i.createElement(o,{textAlign:n}))};l.defaultProps={textAlign:"left",type:"h2"};const r=a.default.h2.withConfig({displayName:"h2__StyledH2",componentId:"sc-478oqc-0"})(["font-size:1.25em;margin:0 0 30px;position:relative;text-align:",";@media (min-width:800px){font-size:1.5em;margin:",";}"],e=>e.textAlign,e=>"center"===e.textAlign?"0 0 40px":"0 0 30px"),o=a.default.hr.withConfig({displayName:"h2__Hr",componentId:"sc-478oqc-1"})(["background-color:#387c2c;border:none;color:#387c2c;height:2px;left:0;margin-top:10px;position:",";width:150px;@media (min-width:800px){width:",";}"],e=>"center"===e.textAlign?"relative":"absolute",e=>"center"===e.textAlign?"200px":"150px");t.A=l},82106:function(e,t,n){var i=n(75972).k5;e.exports.Q=function(e){return i({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"}}]})(e)}},85731:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i,a=(i=n(34318))&&i.__esModule?i:{default:i};function l(e){return e===Object(e)&&0!==Object.keys(e).length}var r=function(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(l(t)&&"function"==typeof t.behavior)return t.behavior(n?(0,a.default)(e,t):[]);if(n){var i=function(e){return!1===e?{block:"end",inline:"nearest"}:l(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach(function(e){var i=e.el,a=e.top,l=e.left;i.scroll&&n?i.scroll({top:a,left:l,behavior:t}):(i.scrollTop=a,i.scrollLeft=l)})}((0,a.default)(e,i),i.behavior)}};t.default=r,e.exports=t.default},90103:function(e,t,n){const i=n(96419);e.exports=(e,t)=>{if(!i(e))return null;const{digits:n=17}={...t},a=n-e.length;return a<=0?e:`${Array.from({length:a}).fill(0).join("")}${e}`}},93990:function(e){e.exports=e=>"string"!=typeof e?e:e.toLowerCase().replace(/\b\w/g,e=>e.toUpperCase())},94810:function(e,t,n){const i=n(85731),a=i.default||i;e.exports=e=>{const t=e.currentTarget.href,n=t.substring(t.indexOf("#")+1);if(n){const t=document.getElementById(n);if(t)return e.preventDefault(),a(t,{behavior:"smooth",block:"start"}),!0}return!1}},97649:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Oe}});var i=n(20022),a=n(42236),l=n(28007),r=n(92568),o=n(47471),c=n(25082),s=n(81054),m=n(26608),d=n(10691),u=n(76156),p=n(26552),g=n(14882),f=n(48700),h=n(45619),y=n(68540),b=n(2500),E=n(52462),x=n(35284),w=n(68098),v=n(65722);const q="loading",k="success",_="error";var S=e=>{let{equipmentLocation:t,equipmentPrice:n,stockNumber:i,url:l}=e;const{control:r,errors:S,formState:{isSubmitting:C,isValid:N},handleSubmit:I,register:A}=(0,h.mN)({mode:"onBlur"}),{0:L,1:j}=(0,a.useState)(null),P=(0,y.a)(),U=(0,b.useLocation)();return a.createElement(a.Fragment,null,L!==k?a.createElement(o.y,{name:"Used Equipment",onSubmit:I((e,a)=>{a.preventDefault(),j(q);const l=new FormData(a.target);"string"!=typeof l.get("Message")&&l.set("Message","");const r=l.get("Page URL"),o=new URL(r);if(!/hutsoninc\.com/gi.test(o.hostname))return console.log("Incorrect hostname in form `Page URL` field."),void j(k);if("string"==typeof r&&r.length>255){o.hash="",o.search="";const e=r.href;if(e.length>255){const t=`${l.get("Message")}\n${e}`;l.set("Page URL",""),l.set("Message",t)}else l.set("Page URL",e)}fetch("/",{method:"POST",body:l}).then(e=>{P()&&(j(200===e.status?k:_),(0,w.fbq)("track",w.fbqEvents.Lead,{currency:"USD",value:n}),(0,w.gtag)("event",w.gtagEvents.generate_lead,{currency:"USD",value:n,equipment_condition:"used"}),(0,v.track)("Lead Submitted",{"lead id":"","lead type":"equipment inquiry","form name":"Used Equipment","lead source":"equipment detail page","location id":t,"equipment id":i,"preferred contact method":""}))}).catch(e=>{P()&&(console.error("Error submitting form: ",e),j(_))})},e=>{console.error(e),N&&j(_)}),id:"used-equipment-form",recaptcha:!0}
1,a.createElement(x.x,null,a.createElement(x.V,{columns:"1/2"},a.createElement(u.p,{register:A,label:"First Name",name:"First Name",id:"used-equipment-form-first-name",required:!0}),S["First Name"]?a.createElement(d.b,{type:S["First Name"].type}):null),a.createElement(x.V,{columns:"1/2"},a.createElement(u.p,{register:A,label:"Last Name",name:"Last Name",id:"used-equipment-form-last-name",required:!0}),S["Last Name"]?a.createElement(d.b,{type:S["Last Name"].type}):null)),a.createElement(x.x,null,a.createElement(x.V,{columns:"2/3"},a.createElement(m.P,{register:A,id:"used-equipment-form-email",required:!0}),S.Email?a.createElement(d.b,{type:S.Email.type}):null),a.createElement(x.V,{columns:"1/3"},a.createElement(p.b,{control:r,id:"used-equipment-form-phone",required:!0}),S.Phone?a.createElement(d.b,{type:S.Phone.type}):null)),a.createElement(f.T,{register:A,label:"Message",name:"Message",id:"used-equipment-form-message"}),S.Message?a.createElement(d.b,{type:S.Message.type}):null,a.createElement("div",{style:{display:"none"}},a.createElement("label",{htmlFor:"used-equipment-form-stock-number"},"Stock Number"),a.createElement("input",{ref:A(),type:"text",name:"Stock Number",id:"used-equipment-form-stock-number",value:i,readOnly:!0}),a.createElement("label",{htmlFor:"used-equipment-form-equipment-location"},"Equipment Location"),a.createElement("input",{ref:A(),type:"text",name:"Equipment Location",id:"used-equipment-form-equipment-location",value:t,readOnly:!0}),a.createElement("label",{htmlFor:"used-equipment-form-equipment-price"},"Equipment Price"),a.createElement("input",{ref:A(),type:"text",name:"Equipment Price",id:"used-equipment-form-equipment-price",value:n,readOnly:!0}),a.createElement("label",{htmlFor:"used-equipment-form-page-url"},"Page URL"),a.createElement("input",{ref:A(),type:"text",name:"Page URL",id:"used-equipment-form-page-url",value:U.href,readOnly:!0})),a.createElement(E.A,{size:"m",variable:!0}),a.createElement(E.A,{size:"m",variable:!0}),a.createElement(g.X,{className:"submit-used-equipment-RFQ",loading:C||L===q})):null,L===k&&a.createElement(s.A,{message:"Success!",messageBody:"Your form has been submitted. Our team will be in touch with you soon!"}),L===_&&a.createElement(c.A,{error:!0,message:"Error occurred.",messageBody:a.createElement(a.Fragment,null,"There was an issue submitting your form. Please try again. If problems persist, please contact ",a.createElement("a",{href:"mailto:[email protected]"},"our support team"),".")}))},C=n(68154),N=n(92671),I=n(71822),A=n(19460),L=n(68921),j=n(12160),P=n(42745),U=n(65873),D=n(14675),H=n(78074),$=n(92109),z=n(3240),O=n(82106),B=n(27037),F=n(27832),T=n(32704),M=n(86457),R=n(94810),V=n.n(R),W=n(98465),Q=n.n(W),Y=n(90103),X=n.n(Y),G=n(32218),J=n.n(G),Z=n(47739),K=n.n(Z),ee=n(96419),te=n.n(ee),ne=n(829),ie=n(40708),ae=n.n(ie),le=n(52916);const re=new Date("2024-09-11T00:00:00-06:00"),oe=new Date("2024-10-04T00:00:00-06:00"),ce=()=>{window.history.back()},se=()=>{w.isBrowser&&((0,w.gtag)("event",w.gtagEvents.print_page),window.print())},me=r.default.div.withConfig({displayName:"used-equipment-single__Section",componentId:"sc-1s1hjxa-0"})(["margin:40px 0 0;@media (min-width:800px){margin:80px 0 0;}"]),de=r.default.div.withConfig({displayName:"used-equipment-single__BreadcrumbsContainer",componentId:"sc-1s1hjxa-1"})(["margin-bottom:20px;"]),ue=(0,r.default)(M.A).withConfig({displayName:"used-equipment-single__BackButton",componentId:"sc-1s1hjxa-2"})(["background-color:#efefef;color:#7d7d7d;display:inline-block;font-size:1.1em;padding:10px 15px;svg{color:#7d7d7d;font-size:0.8em;margin:-3px 2px 0 0;vertical-align:middle;}.breadcrumbs-list{display:none;}:hover,:focus{background-color:#dfdfdf;}@media (min-width:800px){cursor:pointer;font-size:1em;margin:0 15px 0 0;padding:5px 10px;svg{font-size:0.7em;margin:-2px 1px 0 0;}}"]),pe=(0,r.default)(F.A).withConfig({displayName:"used-equipment-single__StyledBreadcrumbs",componentId:"sc-1s1hjxa-3"})(["display:none;@media (min-width:800px){display:inline-block;margin-bottom:0;}"]),ge=r.default.div.withConfig({displayName:"used-equipment-single__MainContent",componentId:"sc-1s1hjxa-4"})(["@media (min-width:800px){","}"],D.J),fe=r.default.hr.withConfig({displayName:"used-equipment-single__Hr",componentId:"sc-1s1hjxa-5"})(["background-color:#d7d7d7;border:none;color:#efefef;height:1px;margin:20px auto;width:100%;
1"]),he=r.default.div.withConfig({displayName:"used-equipment-single__GalleryContainer",componentId:"sc-1s1hjxa-6"})(["@media (min-width:800px){","}"],(0,U.f)("3/5")),ye=r.default.div.withConfig({displayName:"used-equipment-single__DetailsContainer",componentId:"sc-1s1hjxa-7"})(["margin-top:30px;@media (min-width:800px){"," margin-top:0;}"],(0,U.f)("2/5")),be=r.default.div.withConfig({displayName:"used-equipment-single__BadgeRow",componentId:"sc-1s1hjxa-8"})(["align-items:center;display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px;"]),Ee=r.default.div.withConfig({displayName:"used-equipment-single__HotDealBadge",componentId:"sc-1s1hjxa-9"})(["background-color:#c0392b;color:#fff;display:inline-block;font-size:0.9em;font-weight:bold;padding:4px 10px;"]),xe=r.default.a.withConfig({displayName:"used-equipment-single__LeaseBanner",componentId:"sc-1s1hjxa-10"})(["border:2px solid #377539;color:#377539;display:inline-block;font-size:0.85em;font-weight:600;padding:4px 10px;text-decoration:none;:hover,:focus{background-color:#f0f7f0;}"]),we=r.default.h1.withConfig({displayName:"used-equipment-single__Title",componentId:"sc-1s1hjxa-11"})(["font-size:2em;font-weight:bold;margin:0;padding:0;"]),ve=r.default.div.withConfig({displayName:"used-equipment-single__EquipmentIdsContainer",componentId:"sc-1s1hjxa-12"})(["margin-top:5px;> div{display:inline-block;:first-child{margin-right:20px;}}"]),qe=r.default.span.withConfig({displayName:"used-equipment-single__Semibold",componentId:"sc-1s1hjxa-13"})(["font-weight:600;"]),ke=r.default.ul.withConfig({displayName:"used-equipment-single__OverviewList",componentId:"sc-1s1hjxa-14"})(["font-size:1.1em;margin:10px auto 15px;li{margin:0;}a{color:#377539;text-decoration:underline;}@media (min-width:800px){font-size:1em;}"]),_e=r.default.span.withConfig({displayName:"used-equipment-single__Price",componentId:"sc-1s1hjxa-15"})(["color:",";display:inline-block;font-size:2.5em;font-weight:bold;line-height:1;margin-right:10px;"],e=>e.reducedPrice?e.theme.color.r300:"#000"),Se=r.default.span.withConfig({displayName:"used-equipment-single__WasPrice",componentId:"sc-1s1hjxa-16"})(["color:#7d7d7d;display:inline-block;font-size:1.2em;font-weight:400;line-height:1;text-decoration:line-through;"]),Ce=r.default.div.withConfig({displayName:"used-equipment-single__HUT299Section",componentId:"sc-1s1hjxa-17"})(["line-height:1.4;a{color:#377539;text-decoration:underline;:hover,:active,:focus{text-decoration:none;}}"]),Ne=r.default.span.withConfig({displayName:"used-equipment-single__LeasePrice",componentId:"sc-1s1hjxa-18"})(["color:#000;display:inline-block;font-size:1.75em;font-weight:bold;line-height:1.4;"]),Ie=r.default.a.withConfig({displayName:"used-equipment-single__QuoteButton",componentId:"sc-1s1hjxa-19"})(["display:block;margin:15px 0;max-width:250px;text-decoration:none;"]),Ae=r.default.div.withConfig({displayName:"used-equipment-single__Resources",componentId:"sc-1s1hjxa-20"})(["font-size:1.1em;font-weight:600;a{color:#377539;text-decoration:underline;}"]),Le=r.default.div.withConfig({displayName:"used-equipment-single__PrintButtonContainer",componentId:"sc-1s1hjxa-21"})(["margin-bottom:15px;"]),je=(0,r.default)(M.A).withConfig({displayName:"used-equipment-single__PrintButton",componentId:"sc-1s1hjxa-22"})(["background-color:#efefef;color:#7d7d7d;cursor:pointer;display:inline-block;padding:10px;:hover,:focus{background-color:#dfdfdf;}svg{color:#7d7d7d;font-size:1em;margin-right:5px;}"]),Pe=r.default.table.withConfig({displayName:"used-equipment-single__DetailsTable",componentId:"sc-1s1hjxa-23"})(["border:none;border-collapse:collapse;border-spacing:0;width:100%;"]),Ue=r.default.thead.withConfig({displayName:"used-equipment-single__DetailsTableHead",componentId:"sc-1s1hjxa-24"})(["color:#fff;background-color:#000;font-size:1.35em;font-weight:bold;margin:0;text-transform:none;vertical-align:middle;td{padding:15px;}@media (min-width:800px){display:table-header-group;}"]),De=r.default.tbody.withConfig({displayName:"used-equipment-single__DetailsTableBody",componentId:"sc-1s1hjxa-25"})(["tr{border-bottom:1px solid #d7d7d7;display:block;padding:15px;:nth-child(even){background-color:#f7f7f7;}}td{padding:0;display:block;:first-child{font-weight:bold;margin-bottom:5px;}}li{margin-bottom:3px;}@media (min-width:800px){tr{display:table-row;padding:auto;}td{display:table-cell;margin:auto;padding:15px;:first-child{border-right:1px solid #d7d7d7;
1width:200px;}}}"]),He=r.default.div.withConfig({displayName:"used-equipment-single__SimilarContainer",componentId:"sc-1s1hjxa-26"})(["background-color:#f2f0f0;"]),$e=(0,r.default)(A.A).withConfig({displayName:"used-equipment-single__StyledContent",componentId:"sc-1s1hjxa-27"})(["@media print{",",",",",",",",.social-icons #contact{display:none;}}"],de,Ie,Le,He),ze=(e,t)=>{let n=t.findIndex(t=>t.id===e),a=[];return a.push.apply(a,(0,i.A)(t.slice(n+1))),a.push.apply(a,(0,i.A)(t.slice(0,n))),a.slice(0,3)};var Oe=e=>{const{data:{machineFinderEquipment:{canonicalSlug:t,category:{title:n},horsepower:i,id:r,images:o,initialPrice:c,hut229Details:s,inHUT229:m,isNew:d,location:u,manufacturer:p,meters:g,model:f,onLot:h,options:y,price:b,reducedPrice:x,slug:w,sourceLink:q,stockNumber:k,subcategory:{title:_},title:U},machineFinderEquipment:D,allMachineFinderEquipment:F,site:{siteMetadata:M}}}=e,R=m?s.reduce((e,t)=>t.payment<e.payment?t:e):null,W=m&&R&&ae()({start:re,end:oe}),Y=X()(D.serialNumber),G=[{name:"Home",schemaName:"Hutson Inc",link:"/"},{name:"Used Equipment",link:"/used-equipment/"},{name:n,link:`/used-equipment/${Q()(n)}/`},{name:_,link:`/used-equipment/${Q()(n)}/${Q()(_)}/`},{name:p,link:`/used-equipment/${Q()(n)}/${Q()(_)}/${Q()(p)}/`},{name:f,link:t},{name:String(k),link:w}],Z={title:`${d?"":"Used "}${U} for sale - #${k} | Hutson Inc`,description:`${d?"":"Used "}${U} Stock #${k} for sale at Hutson in ${u.city}, ${u.state}. We have a large selection of used ${/uncategorized/i.test(_)?"equipment":_} in stock.`,image:K()(o[0],{relativeFallback:!1}),pageUrl:`${M.siteUrl}${w}`,priceValidUntil:new Date(Date.now()+7776e6).toISOString(),availability:h?{text:"in stock",schema:"https://schema.org/InStock"}:{text:"pending",schema:"https://schema.org/LimitedAvailability"}},ee=[],ie=y.reduce((e,t)=>{const{label:n,value:i}=t,a=e.findIndex(e=>e.label===n);return-1!==a?e[a].value.push(i):te()(n)?e.push({label:n,value:[i]}):ee.push(i),e},[]);ee.length>0&&ie.push({label:"Additional Information",value:ee});const Oe=o.map((e,t)=>{const n=K()({regular:e.regular},{relativeFallback:!0}),i=K()({large:e.large},{relativeFallback:!0});return{original:n,thumbnail:n,originalAlt:`Photo of ${U}`,thumbnailAlt:`Photo ${t+1} of ${o.length}`,imageSet:[{srcSet:n,media:"(max-width: 799px)"},{srcSet:i,media:"(min-width: 800px)"}]}}),Be=ze(r,F.nodes).map(e=>({id:e.id,image:K()(e.primaryImage,{relativeFallback:!0}),imageAlt:e.title,link:e.slug,price:e.price,wasPrice:e.price<e.initialPrice?e.initialPrice:null,subtitle:`${n}/${_}`,title:e.title}));(0,a.useEffect)(()=>{window&&window.dataLayer&&window.dataLayer.push({"product-price":b}),(0,v.track)("Equipment Detail Viewed",{"equipment id":String(k),"equipment category":n,condition:d?"new":"used",make:p,model:f,"model year":D.modelYear||"","location id":u.name})},[r,b]);const Fe=`${u.city}, ${u.state}`;return a.createElement(I.A,{kind:"white"},a.createElement(C.Helmet,null,a.createElement("title",null,Z.title),a.createElement("meta",{property:"og:title",content:Z.title}),a.createElement("meta",{name:"description",content:Z.description}),a.createElement("meta",{property:"og:description",content:Z.description}),a.createElement("meta",{property:"og:url",content:Z.pageUrl}),a.createElement("meta",{property:"og:image",content:Z.image}),a.createElement("meta",{property:"twitter:card",content:"summary"}),a.createElement("meta",{name:"twitter:site",content:"@Hutson_Inc"}),a.createElement("link",{rel:"canonical",href:t}),a.createElement("script",{type:"application/ld+json"},JSON.stringify({"@context":"http://schema.org","@type":"Product",description:Z.description,url:Z.pageUrl,name:U,image:Z.image,...te()(k)?{sku:k}:{},...te()(Y)?{mpn:Y}:{},category:`Used Equipment/${n}/${_}`,offers:{"@type":"Offer",priceCurrency:"USD",price:b,priceValidUntil:Z.priceValidUntil,itemCondition:`https://schema.org/${d?"New":"Used"}Condition`,availability:Z.availability.schema,seller:N.rL,url:Z.pageUrl},additionalProperty:[{"@context":"http://schema.org/","@type":"PropertyValue",name:"Equipment Location",value:Fe}],sameAs:q,...p&&{brand:{"@context":"http://schema.org/","@type":"Organization",name:p},manufacturer:{"@context":"http://schema.org/","@type":"Organization",name:p}}}))),a.createElement(T.A,{breadcrumbs:G}),a.createElement($e,null,a.createElement(de,null,a.createElement(ue,{"aria-label":"Go back to previous page",onClick:ce},a.createElement(O.Q,{"aria-hidden":"true",focusable:"false",role:"presentation"})," ",a.createElement("span",{"aria-hidden":"true"},"Back")),a.createElement(pe,{breadcrumbs:G})),a.createElement(ge,null,a.createElement(he,null,a.createElement(H.A,{items:Oe,infinite:!1,showFullscreenButton:!0,showPlayButton:!1,showBullets:!1,showIndex:!0,onThumbnailClick:(e,t)=>{e.preventDefault()}})),a.createElement(ye,null,le.Z.has(k)&&a.createElement(be,null,a.createElement(Ee,null,"ð¥ Hot Deal"),a.createElement(xe,{href:"#contact",onClick:V()},"Ask about our lease options")),a.createElement(we,null,U),a.createElement(ve,null,te()(k)?a.
1createElement("div",null,a.createElement(qe,null,"Stock #"),k):null,te()(Y)?a.createElement("div",null,a.createElement(qe,null,"Serial #"),Y):null),a.createElement(ke,null,d?a.createElement("li",null,a.createElement(qe,null,"Condition:")," New"):null,te()(i)?a.createElement("li",null,a.createElement(qe,null,"Engine HP:")," ",i):null,Array.isArray(g)?g.map(e=>a.createElement("li",{key:e.type},a.createElement(qe,null,J()(e.type,{titleCase:!0}),":")," ",e.value.toLocaleString("en-US"))):null,a.createElement("li",null,a.createElement(qe,null,"Location:")," ",a.createElement(l.Link,{to:u.slug},Fe))),a.createElement(fe,null),a.createElement("div",null,a.createElement(_e,{reducedPrice:x},b.toLocaleString("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0})),x&&a.createElement(Se,null,c.toLocaleString("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0})),W?a.createElement(Ce,null,a.createElement(E.A,{size:"xs"}),"or"," ",a.createElement(Ne,null,R.payment.toLocaleString("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0})),"/year",a.createElement("br",null),R.term," year/",R.hours," hour lease option",a.createElement("br",null),a.createElement(l.Link,{to:"/lp/5dc6bde0-87cb-4156-96f9-d1ca3782b46d/"},"See program details")):null),a.createElement(j.A,{as:Ie,href:"#contact",onClick:e=>{(0,v.track)("Quote Request Started",{"lead type":"equipment quote","form name":"Used Equipment","equipment id":String(k),"equipment category":n,condition:d?"new":"used","location id":u.name,"lead source":"equipment detail page"}),V()(e)}},"Talk to sales"),a.createElement(Ae,null,a.createElement("a",{href:"tel:866-644-0949"},"Call us: 866-644-0949")),a.createElement(fe,null),a.createElement(Le,null,a.createElement(je,{onClick:se},a.createElement(B.n,{"aria-hidden":"true",focusable:"false",role:"presentation"})," Print/Download Page")),a.createElement("div",{className:"social-icons"},a.createElement(z.A,{title:U,label:!0,print:!1})))),ie.length>0&&a.createElement(me,null,a.createElement(Pe,null,a.createElement(Ue,null,a.createElement("tr",null,a.createElement("td",{colSpan:"2"},U," Details"))),a.createElement(De,null,ie.map((e,t)=>a.createElement("tr",{key:t},a.createElement("td",null,e.label),a.createElement("td",null,1===e.value.length?e.value:a.createElement("ul",null,e.value.map((e,t)=>a.createElement("li",{key:t},e))))))))),a.createElement(me,{id:"contact"},a.createElement(L.A,null,"Questions? Send us a message:"),a.createElement(S,{stockNumber:String(k),url:w,equipmentPrice:String(b),equipmentLocation:u.title,equipmentName:U,equipmentCategory:n,equipmentSubcategory:_})),a.createElement(E.A,{size:"xl"}),a.createElement(ne.A,null,W?"Offer valid September 11 through October 4, 2024. For agricultural use only. Subject to approval by John Deere Financial. Residency restrictions, terms, and conditions may apply. See dealer for details. Program ID: HUT229-2.":null)),Be&&Be.length>0&&a.createElement(He,null,a.createElement(A.A,null,a.createElement(L.A,null,"Similar Equipment"),a.createElement(P.A,{similarProducts:Be}))),a.createElement($.A,null))}}}]); 2//# sourceMappingURL=component---src-templates-used-equipment-single-js-61de59bc5abaca82deb3.js.map
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.