PageSourceSearch

https://www.apexstainless.com/ui/es5/1386.3247b498f21843a1.js

js apexstainless.com collected 2026-10-09 01:29:27 UTC 14,965 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1386],{11339:function(e,t,n){n.d(t,{A:function(){return d}});n(54162),n(4290),n(570),n(29068),n(63343),n(12493),n(17046),n(50653),n(63145),n(55831);var r=n(63696),i=n(25749),a=n(66133),o=n(46641),c=(n(59297),n(3188),n(70876)),l=function(e){var t=e.isOpen,n=e.onClose,i=e.quantity,o=e.packageSize,l=e.onSelect,u=parseInt(i),s=Math.round(Math.floor(u/o)*o),d=Math.round(Math.ceil(u/o)*o);return r.createElement(c.A,{isOpen:t,onClose:n},r.createElement("div",{className:"box-dialog"},r.createElement("div",{className:"box-dialog__header"},r.createElement("h2",{className:"box-dialog__title"},(0,a.T)("buybutton.boxdialog.title")),r.createElement("p",{className:"box-dialog__description"},(0,a.T)("buybutton.boxdialog.description.part1").replace("{quantity}",u),(0,a.T)("buybutton.boxdialog.description.part2").replace("{packageSize}",o))),r.createElement("div",{className:"box-dialog__actions"},s>0&&s!==u&&r.createElement("button",{className:"box-dialog__option",onClick:function(){return l(s)}},(0,a.T)("buybutton.boxdialog.roundto")," ",s),d!==u&&r.createElement("button",{className:"box-dialog__option",onClick:function(){return l(d)}},(0,a.T)("buybutton.boxdialog.roundto")," ",d),r.createElement("button",{className:"box-dialog__confirm",onClick:function(){return l(u)}},(0,a.T)("buybutton.boxdialog.confirm")," ",u))))};function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var d=function(e){var t=e.quantity,n=e.setQuantity,c=e.packageSize,s=e.allowBrokenBox,d=void 0!==s&&s,m=e.stockQuantity,f=void 0===m?0:m,p=e.onCommit,v=e.onConfirmBrokenBox,y=(0,o.x)(),b=u((0,r.useState)(!1),2),_=b[0],g=b[1],E=u((0,r.useState)(null),2),h=E[0],k=E[1],w=(0,r.useRef)(null),x=function(e){w.current=null,n(e),p&&p(e)},N=function(){if(!_)if(null===w.current||String(null!=t?t:"")!==w.current)if(t||0===t){var e=parseInt(t),n=Math.round(Math.ceil(Math.max(c,e)/c)*c);if(y&&e!==n&&d)return f>0&&e>=f?void x(e):(k(e),void g(!0));x(n)}else x(c);else w.current=null};return r.createElement("div",{className:"quantity-input__wrapper"},y&&r.createElement(l,{isOpen:_,onClose:function(){return g(!1)},quantity:null!=h?h:c,packageSize:c,onSelect:function(e){x(e),g(!1),v&&v(e)}}),r.createElement("button",{className:"quantity-input__button",onClick:function(){var e=parseInt(t);if(e&&!(e<=c)){var n=Math.round((Math.ceil(e/c)-1)*c);x(n)}},"aria-label":(0,a.T)("buybutton.quantity.decrease.sc"),disabled:parseInt(t)<=c},r.createElement(i.default,{name:"Minus",size:y?20:24,className:"quantity-input__icon"})),r.createElement("input",{className:"quantity-input",type:"number",value:t,min:c,onChange:function(e){return n(e.target.value)},onFocus:function(e){w.current=String(e.target.value)},onBlur:function(){return N()},onKeyDown:function(e){return"Enter"===e.key&&N()}}),r.createElement("button",{className:"quantity-input__button",onClick:function(){var e=parseInt(t)||0,n=Math.round((Math.floor(e/c)+1)*c);x(n)},"aria-label":(0,a.T)("buybutton.quantity.increase.sc")},r.createElement(i.default,{name:"Plus",size:y?20:24,className:"quantity-input__icon"})))}},70876:function(e,t,n){var r=n(11750),i=n(63696),a=n(25749),o=function(e){var t=e.children,n=e.removePaddingTop;return i.createElement("div",{className:(0,r.A)("dialog__content",n&&"dialog__content--pt-none")},t)},c=function(e){var t=e.headerContent,n=e.onClose,o=e.closeButtonAriaLabel;return i.createElement("div",{className:(0,r.A)("dialog__header",t?"dialog__header--with-content":"dialog__header--no-content")},t,i.createElement("button",{"aria-label":o,className:"dialog__close-button",onClick:n},i.createElement(a.default,{name:"Close",size:24,className:"dialog__close-button-icon"})))};t.A=function(e){var t=e.isOpen,n=e.onClose,r=e.children,a=e.headerContent,l=e.hideHeader,u=e.closeButtonAriaLabel,s=e.disableCloseOnOutsideClick,d=(0,i.useRef)(null),m=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e=d.current;if(null!==e){var r=e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not
1([tabindex="-1"])'),i=r[0],a=r[r.length-1];if(t){var o=window.scrollX,c=window.scrollY;e.showModal(),document.body.classList.add("dialog--open"),window.scrollX===o&&window.scrollY===c||window.scrollTo(o,c)}else e.close(),document.body.classList.remove("dialog--open");var l=function(e){null!==i&&null!==a&&"Tab"===e.key&&(e.shiftKey?document.activeElement===i&&(a.focus(),e.preventDefault()):document.activeElement===a&&(i.focus(),e.preventDefault()))},u=function(e){if("Escape"===e.key){if(s)return void e.preventDefault();null==n||n()}},f=function(e){s||m.current&&!m.current.contains(e.target)&&(null==n||n())};return e.addEventListener("click",f),e.addEventListener("keydown",l),e.addEventListener("keydown",u),function(){e.removeEventListener("click",f),e.removeEventListener("keydown",l),e.removeEventListener("keydown",u)}}}),[s,t,n]),i.createElement("dialog",{className:"dialog",ref:d,onClose:n},i.createElement("div",{ref:m},!l&&i.createElement(c,{headerContent:a,onClose:n,closeButtonAriaLabel:u}),i.createElement(o,{removePaddingTop:!l},r)))}},90591:function(e,t,n){n(54162),n(4290),n(570),n(29068),n(63343),n(12493),n(17046),n(50653),n(63145),n(55831);var r=n(63696),i=n(64001),a=n(344),o=n(90094),c=n(25749),l=n(38388);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var d=window.__litium.currentTheme;t.A=function(e){var t=e.label,n=e.id,s=e.placement,m=void 0===s?a.y9.Top:s,f=e.children,p=n+"-"+(0,l.A)(),v=u((0,r.useState)(!1),2),y=v[0],b=v[1];return n?r.createElement("div",{className:"info-box"},t&&r.createElement("button",{className:"info-box__trigger","data-tooltip-id":p,"data-tooltip-place":m,onClick:function(){return b(!y)}},t),f&&y&&r.createElement(i.m_,{id:p,isOpen:y,border:"1px solid ".concat(o.Tj[d].infoBoxBorder),className:"info-box__tooltip",classNameArrow:"info-box__arrow",opacity:1,clickable:!0,place:m},r.createElement("div",{className:"infobox__content"},r.createElement("button",{className:"info-box__close",onClick:function(){return b(!1)}},r.createElement(c.default,{name:"Close",size:16,className:"info-box__close-icon"})),f))):null}},94467:function(e,t,n){n(42417),n(28280);var r=n(63696),i=n(66133),a=n(90591),o=n(11750),c=n(344),l=function(e){var t=e.tierPrices,n=e.currency,a=e.packageSize,o=window.__litium.currentCulture;return r.createElement(r.Fragment,null,r.createElement("div",{className:"tier-prices__description"},(0,i.T)("product.tier-price.description")),r.createElement("div",{className:"tier-prices"},r.createElement("div",{className:"tier-prices__row"},r.createElement("div",null,(0,i.T)("product.tier-price.quantity")),r.createElement("div",null,(0,i.T)("product.tier-price.price-per-piece"))),r.createElement("div",{className:"tier-prices__prices"},t.map((function(e,t){return 0===t&&(e.minimumQuantity=a),r.createElement("div",{className:"tier-prices__row",key:"tier-row-".concat(t)},r.createElement("div",null,e.minimumQuantity,"+"),r.createElement("div",null,e.price.toLocaleString(o,{style:"currency",currency:n.id,minimumFractionDigits:2,maximumFractionDigits:2})))})))))},u=function(e){var t=e.formattedCampaignPrice,n=e.formattedPrice,u=e.pricePerPiecesText,s=e.hideTierPrice,d=e.disableTierPriceTooltip,m=e.tierPrices,f=e.currency,p=e.packageSize;return r.createElement(r.Fragment,null,t&&r.createElement("div",{className:"price__old-price"},n),r.createElement("div",{className:"price__price-and-tier-wrapper"},r.createElement("div",{className:"price__price-and-package-wrapper"},r.createElement("div",{className:(0,o.A)("price",t?"price--campaign":"")},t||n," ",r.createElement("span",{className:"price__package-size"},u))),!s&&!d&&m&&!!m.length&&m.length>1&&f&&r.createElement(a.A,{label:(0,i.T)("product.tier-price"),id:"price-box",placement:c.y9.TopEnd},r.createElement(l,{tierPrices:m,currency:f,packageSize:p}))))};t.A=function(e){var t=e.price,n=e.disableTierPriceTooltip,a=e.packageSize,c=e.hideTierPrice,l=e.showForQuantity,s=void 0===l?0:l,d=e.currency,m=e.className,f=e.priceOnRequestLabel,p=void 0===f?"product.price.on-request":f,v=t.formattedPrice,y=t.formattedCampaignPrice,b=t.tierPrices,_=t.hasPrice,g=window.__litium.currentCulture,E=s>0&&b&&b.length>0?b.find((function(e,t){return 0!==t&&e.minimumQuantity<=s&&(!e.nextMinimumQuantity||e.nextMinimumQuantity>s)}
1)):void 0,h=E&&null!=d&&d.id?E.price.toLocaleString(g,{style:"currency",currency:d.id,minimumFractionDigits:2,maximumFractionDigits:2}):y;return r.createElement("div",{className:(0,o.A)("price__wrapper",m)},_?r.createElement(u,{formattedCampaignPrice:h,formattedPrice:v,pricePerPiecesText:"/ 100 ".concat((0,i.T)("product.pieces")),hideTierPrice:c,disableTierPriceTooltip:n,tierPrices:b,currency:d,packageSize:a}):r.createElement("div",{className:"price price__on-request"},(0,i.T)(p)))}},46786:function(e,t,n){n(54162),n(4290),n(42417);var r=n(63696),i=n(90591),a=n(66133),o=n(25749),c=n(11750),l=n(344),u=n(46641);t.A=function(e){var t=e.inStock,n=e.description,s=e.showInfoBox,d=e.showInfoBoxMessage,m=e.stockMessage,f=e.placement,p=void 0===f?l.y9.Top:f,v=e.extendedStockStatus,y=void 0===v?void 0:v,b=e.packageSize,_=void 0===b?0:b,g=e.minimal,E=void 0!==g&&g,h=e.isOnRequestPortion,k=void 0!==h&&h,w=(0,u.x)();return k?r.createElement("div",{className:"stock-status"},r.createElement(i.A,{label:r.createElement(o.default,{name:"Question-Rounded",className:"stock-status__icon on-request",size:w?18:24}),id:"stock-status-on-request-portion",placement:p},(0,a.T)("product.stockstatus.info.On-RequestPortion"))):y?y.map((function(e){var t=e.description,n=e.inStock,a=e.inStockQuantity,l=n&&a>0&&_>a;return r.createElement("div",{key:a,className:"stock-status"},r.createElement(o.default,{name:l?"Caution-Rounded-Filled":n?"Check-Rounded-Filled":"Caution-Rounded-Filled",className:(0,c.A)("stock-status__icon",l?"on-request":n?"in-stock":"out-of-stock"),size:18}),!E&&(n?r.createElement("div",{className:"stock-status__description"},t):r.createElement(i.A,{label:t,id:"stock-status-box",placement:p},d)))})):r.createElement("div",{className:"stock-status"},r.createElement(o.default,{name:t?"Check-Rounded-Filled":"Caution-Rounded-Filled",className:(0,c.A)("stock-status__icon",t?"in-stock":"on-request"),size:24}),n&&r.createElement("div",{className:"stock-status__description"},n),s?r.createElement(i.A,{label:m,id:"stock-status-box",placement:p},d):r.createElement("div",{className:"stock-status__message"},m))}},90094:function(e,t,n){n.d(t,{D:function(){return l},Tj:function(){return c},Yq:function(){return u},_:function(){return a},oB:function(){return o}});n(78837),n(55831),n(63343),n(76685),n(11055),n(32773),n(3188),n(5423),n(54162),n(4290),n(570),n(29068),n(12493),n(17046),n(50653),n(63145);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e){var r=Array.from(null==e?void 0:e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter((function(e){return!e.hasAttribute("disabled")&&null!==e.offsetParent&&void 0!==e.offsetParent}));if(r){var i=r[0],a=r[r.length-1],o=document.activeElement;n&&i&&i.focus();var c=function(e){"Tab"===e.key&&(e.shiftKey&&document.activeElement===i?(e.preventDefault(),a.focus()):e.shiftKey||document.activeElement!==a||(e.preventDefault(),i.focus())),"Escape"===e.key&&t&&(t(),o.focus())};return null==e||e.addEventListener("keydown",c),function(){null==e||e.removeEventListener("keydown",c)}}}},o=function(e){var t=e&&e.length>0?"?q=".concat(e):"";return window.__litium.quickSearchUrl+t},c={apex:{infoBoxBorder:"#5F5F60"},bendix:{infoBoxBorder:"#6E7072"}},l=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:" ",i=String(n||"").trim().toUpperCase(),a="DK"===i||"DENMARK"===i||"DANMARK"===i;
1return(a?[t,e]:[e,t]).filter(Boolean).join(a?" ":r)},u=function(e){try{var t,n,i=r(new Date(e).toISOString().split("T")[0].split("-"),3),a=i[0],o=i[1],c=i[2],l="undefined"!=typeof window&&"bendix"===(null===(t=window.__litium)||void 0===t||null===(n=t.currentTheme)||void 0===n?void 0:n.toLowerCase())?"/":"-";return"".concat(c).concat(l).concat(o).concat(l).concat(a)}catch(t){return e}}}}]);
2//# sourceMappingURL=1386.3247b498f21843a1.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.