"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[2],{299:(e,n,t)=>{function o(e){return Boolean(e)}t.d(n,{a:()=>l,b:()=>c,c:()=>a,d:()=>o,e:()=>r,f:()=>i,g:()=>u});const r=e=>{try{return new URL(e),!0}catch(e){return!1}},a=(...e)=>e.flat().filter((e=>null!=e&&"boolean"!=typeof e)).join(" ");function u(e,n=500){let t,o,r;return function(){const a=this,u=arguments;t?(clearTimeout(o),o=setTimeout((()=>{Date.now()-r>=n&&(e.apply(a,u),r=Date.now())}),Math.max(n-(Date.now()-r),0))):(e.apply(a,u),r=Date.now(),t=!0)}}const i=e=>{var n;const t=null===(n=window.__APP_CONFIG__)||void 0===n?void 0:n.outcome;"function"==typeof t?t(e):console.error("window?.__APP_CONFIG__?.outcome is undefined")},l=(e,n,t="No return or exchanges")=>{if(!n)return"";if(0===e.length)return t;const o=t?t.charAt(0).toLowerCase()+t.slice(1):t;return`${e.join(", ")} ${e.length>1?"are":"is"} final sale - ${o}`},c=(e,n=!1)=>({role:"button",tabIndex:0,"aria-disabled":n?"true":void 0,onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),!n&&e&&e())}})}}]);