1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[36103],{3780:(e,t,r)=>{r.d(t,{a:()=>d,b:()=>s});var o=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,d=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}},s=(e,t,r)=>(r=null!=e?o(l(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of n(t))c.call(e,o)||void 0===o||i(e,o,{get:()=>t[o],enumerable:!(r=a(t,o))||r.enumerable});return e})(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e))},4860:(e,t,r)=>{r.d(t,{$:()=>u});var o=r(93682),i=r(53520),a=r(71055),n=r(92944);function l(e){let t=e.indexOf("-"),r=e.slice(0,t),o=e.slice(t+1);return{scheme:r,style:"transparent"===o?"transp":o}}let c={md:{gap:"gap-(--comp-btn-md-dim-gap-mobile)",padding:"px-(--comp-btn-md-dim-padding-inline-mobile) py-(--comp-btn-md-dim-padding-block-mobile)",paddingIcon:"p-(--comp-btn-md-dim-padding-block-mobile)",iconSize:"h-(--comp-btn-md-dim-icon-size-mobile) w-(--comp-btn-md-dim-icon-size-mobile)",labelOffset:"translate-y-(--comp-btn-md-dim-offset-y)"},lg:{gap:"gap-(--comp-btn-lg-dim-gap-mobile)",padding:"px-(--comp-btn-lg-dim-padding-inline-mobile) py-(--comp-btn-lg-dim-padding-block-mobile)",paddingIcon:"p-(--comp-btn-lg-dim-padding-block-mobile)",iconSize:"h-(--comp-btn-lg-dim-icon-size-mobile) w-(--comp-btn-lg-dim-icon-size-mobile)",labelOffset:"translate-y-(--comp-btn-lg-dim-offset-y)"},xl:{gap:"gap-(--comp-btn-xl-dim-gap-mobile)",padding:"px-(--comp-btn-xl-dim-padding-inline-mobile) py-(--comp-btn-xl-dim-padding-block-mobile)",paddingIcon:"p-(--comp-btn-xl-dim-padding-block-mobile)",iconSize:"h-(--comp-btn-xl-dim-icon-size-mobile) w-(--comp-btn-xl-dim-icon-size-mobile)",labelOffset:"translate-y-(--comp-btn-xl-dim-offset-y)"}},d={primary:{md:"font-(family-name:--comp-btn-primary-md-type-family-mobile) font-(--comp-btn-primary-md-type-weight-mobile) text-(length:--comp-btn-primary-md-type-size-mobile) leading-(--comp-btn-primary-md-type-line-height-mobile) tracking-(--comp-btn-primary-md-type-letter-spacing-mobile) [text-transform:var(--comp-btn-primary-md-type-txt-case-mobile)]",lg:"font-(family-name:--comp-btn-primary-lg-type-family-mobile) font-(--comp-btn-primary-lg-type-weight-mobile) text-(length:--comp-btn-primary-lg-type-size-mobile) leading-(--comp-btn-primary-lg-type-line-height-mobile) tracking-(--comp-btn-primary-lg-type-letter-spacing-mobile) [text-transform:var(--comp-btn-primary-lg-type-txt-case-mobile)]",xl:"font-(family-name:--comp-btn-primary-xl-type-family-mobile) font-(--comp-btn-primary-xl-type-weight-mobile) text-(length:--comp-btn-primary-xl-type-size-mobile) leading-(--comp-btn-primary-xl-type-line-height-mobile) tracking-(--comp-btn-primary-xl-type-letter-spacing-mobile) [text-transform:var(--comp-btn-primary-xl-type-txt-case-mobile)]"},secondary:{md:"font-(family-name:--comp-btn-secondary-md-type-family-mobile) font-(--comp-btn-secondary-md-type-weight-mobile) text-(length:--comp-btn-secondary-md-type-size-mobile) leading-(--comp-btn-secondary-md-type-line-height-mobile) tracking-(--comp-btn-secondary-md-type-letter-spacing-mobile) [text-transform:var(--comp-btn-secondary-md-type-txt-case-mobile)]",lg:"font-(family-name:--comp-btn-secondary-lg-type-family-mobile) font-(--comp-btn-secondary-lg-type-weight-mobile) text-(length:--comp-btn-secondary-lg-type-size-mobile) leading-(--comp-btn-secondary-lg-type-line-height-mobile) tracking-(--comp-btn-secondary-lg-type-letter-spacing-mobile) [text-transform:var(--comp-btn-secondary-lg-type-txt-case-mobile)]",xl:"font-(family-name:--comp-btn-secondary-xl-type-family-mobile) font-(--comp-btn-secondary-xl-type-weight-mobile) text-(length:--comp-btn-secondary-xl-type-size-mobile) leading-(--comp-btn-secondary-xl-type-line-height-mobile) tracking-(--comp-btn-secondary-xl-type-letter-spacing-mobile) [text-transform:var(--comp-btn-secondary-xl-type-txt-case-mobile)]"},neutral:{md:"font-(family-name:--comp-btn-neutral-md-type-family-mobile) font-(--comp-btn-neutral-md-type-weight-mobile) text-(length:--comp-btn-neutral-md-type-size-mobile) leading-(--comp-btn-neutral-md-type-line-height-mobile) tracking-(--comp-btn-neutral-md-type-letter-spacing-mobile) [text-transform:var(--comp-btn-neutral-md-type-txt-case-mobile)]",lg:"font-(family-name:--comp-btn-neutral-lg-type-family-mobile) font-(--comp-btn-neutral-lg-type-weight-mobile) text-(length:--comp-btn-neutral-lg-type-size-mobile) leading-(--comp-btn-neutral-lg-type-line-height-mobile) tracking-(--comp-btn-neutral-lg-type-letter-spacing-mobile) [text-transform:var(--comp-btn-neutral-lg-type-txt-case-mobile)]",xl:"font-(family-name:--comp-btn-neutral-xl-type-family-mobile) font-(--comp-btn-neutral-xl-type-weight-mobile) text-(length:--comp-btn-neutral-xl-type-size-mobile) leading-(--comp-btn-neutral-xl-type-line-height-mobile) tracking-(--comp-btn-neutral-xl-type-letter-spacing-mobile) [text-transform:var(--comp-btn-neutral-xl-type-txt-case-mobile)]"}},s={"primary-solid":["bg-(--comp-btn-primary-color-bg-solid)","hover:bg-(--comp-btn-primary-color-bg-solid-hover)","active:bg-(--comp-btn-primary-color-bg-solid-active)","text-(--comp-btn-primary-color-txt-solid)","hover:text-(--comp-btn-primary-color-txt-solid-hover)","active:text-(--comp-btn-primary-color-txt-solid-active)","border-(--comp-btn-primary-color-border-solid)","hover:border-(--comp-btn-primary-color-border-solid-hover)","active:border-(--comp-btn-primary-color-border-solid-active)","disabled:bg-(--comp-btn-primary-color-bg-solid)","disabled:text-(--comp-btn-primary-color-txt-solid)","disabled:border-(--comp-btn-primary-color-border-solid)"],"primary-outlined":["bg-(--comp-btn-primary-color-bg-outlined)","hover:bg-(--comp-btn-primary-color-bg-outlined-hover)","active:bg-(--comp-btn-primary-color-bg-outlined-active)","text-(--comp-btn-primary-color-txt-outlined)","hover:text-(--comp-btn-primary-color-txt-outlined-hover)","active:text-(--comp-btn-primary-color-txt-outlined-active)","border-(--comp-btn-primary-color-border-outlined)","hover:border-(--comp-btn-primary-color-border-outlined-hover)","active:border-(--comp-btn-primary-color-border-outlined-active)","disabled:bg-(--comp-btn-primary-color-bg-outlined)","disabled:text-(--comp-btn-primary-color-txt-outlined)","disabled:border-(--comp-btn-primary-color-border-outlined)"],"primary-transparent":["bg-(--comp-btn-primary-color-bg-transp)","hover:bg-(--comp-btn-primary-color-bg-transp-hover)","active:bg-(--comp-btn-primary-color-bg-transp-active)","text-(--comp-btn-primary-color-txt-transp)","hover:text-(--comp-btn-primary-color-txt-transp-hover)","active:text-(--comp-btn-primary-color-txt-transp-active)","border-(--comp-btn-primary-color-border-transp)","hover:border-(--comp-btn-primary-color-border-transp-hover)","active:border-(--comp-btn-primary-color-border-transp-active)","disabled:bg-(--comp-btn-primary-color-bg-transp)","disabled:text-(--comp-btn-primary-color-txt-transp)","disabled:border-(--comp-btn-primary-color-border-transp)"],"secondary-solid":["bg-(--comp-btn-secondary-color-bg-solid)","hover:bg-(--comp-btn-secondary-color-bg-solid-hover)","active:bg-(--comp-btn-secondary-color-bg-solid-active)","text-(--comp-btn-secondary-color-txt-solid)","hover:text-(--comp-btn-secondary-color-txt-solid-hover)","active:text-(--comp-btn-secondary-color-txt-solid-active)","border-(--comp-btn-secondary-color-border-solid)","hover:border-(--comp-btn-secondary-color-border-solid-hover)","active:border-(--comp-btn-secondary-color-border-solid-active)","disabled:bg-(--comp-btn-secondary-color-bg-solid)","disabled:text-(--comp-btn-secondary-color-txt-solid)","disabled:border-(--comp-btn-secondary-color-border-solid)"],"neutral-
1outlined":["bg-(--comp-btn-neutral-color-bg-outlined)","hover:bg-(--comp-btn-neutral-color-bg-outlined-hover)","active:bg-(--comp-btn-neutral-color-bg-outlined-active)","text-(--comp-btn-neutral-color-txt-outlined)","hover:text-(--comp-btn-neutral-color-txt-outlined-hover)","active:text-(--comp-btn-neutral-color-txt-outlined-active)","border-(--comp-btn-neutral-color-border-outlined)","hover:border-(--comp-btn-neutral-color-border-outlined-hover)","active:border-(--comp-btn-neutral-color-border-outlined-active)","disabled:bg-(--comp-btn-neutral-color-bg-outlined)","disabled:text-(--comp-btn-neutral-color-txt-outlined)","disabled:border-(--comp-btn-neutral-color-border-outlined)"],"neutral-transparent":["bg-(--comp-btn-neutral-color-bg-transp)","hover:bg-(--comp-btn-neutral-color-bg-transp-hover)","active:bg-(--comp-btn-neutral-color-bg-transp-active)","text-(--comp-btn-neutral-color-txt-transp)","hover:text-(--comp-btn-neutral-color-txt-transp-hover)","active:text-(--comp-btn-neutral-color-txt-transp-active)","border-(--comp-btn-neutral-color-border-transp)","hover:border-(--comp-btn-neutral-color-border-transp-hover)","active:border-(--comp-btn-neutral-color-border-transp-active)","disabled:bg-(--comp-btn-neutral-color-bg-transp)","disabled:text-(--comp-btn-neutral-color-txt-transp)","disabled:border-(--comp-btn-neutral-color-border-transp)"]};var p=r(94711);let m=["size","radius","variant","isDisabled","elementStart","children","elementEnd","isIconOnly","isFullWidth","height","colorOverrides","as","href"];function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){(0,o.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e){let{size:t="md",radius:r="default",variant:o="primary-solid",isDisabled:g=!1,elementStart:u,children:y,elementEnd:h,isIconOnly:f=!1,isFullWidth:v=!1,height:_="auto",colorOverrides:x,as:E="button",href:O}=e,k=(0,i.A)(e,m),w=function(e,t,r,o,i,a){var p;let m,g,b=r||"primary-solid",u=e||"default",{scheme:y}=l(b);return(0,n.$)("hds-do-not-use inline-flex items-center justify-center cursor-pointer not-italic disabled:opacity-(--_opacity-32) disabled:cursor-not-allowed border-solid border-(length:--comp-btn-dim-border-width) no-underline",i&&"w-full","constrained"===(a||"auto")&&"!py-0 max-h-full h-full","default"===u&&"rounded-(--comp-btn-dim-radius-default)","square"===u&&"rounded-(--comp-btn-dim-radius-square)","rounded"===u&&"rounded-(--comp-btn-dim-radius-round)","md"===u&&"rounded-(--comp-btn-dim-radius-sm)",(m=c[p=t||"md"]??c.md,g=d[y]?.[p]??d.primary[p]??d.primary.md,(0,n.$)(m.gap,g,o?m.paddingIcon:m.padding)),s[b])}(r,t,o,f,v,_),A=(c[t??"md"]??c.md).iconSize,D=(c[t??"md"]??c.md).labelOffset,I=function(e,t){if(!t)return{};let{scheme:r,style:o}=l(e),i=`--comp-btn-${r}-color`,a={},n=(e,t,r)=>{t&&t!==e&&(t.startsWith("--comp-btn-")||t.startsWith("--comp-nav-navbar-")||t.startsWith("--comp-nav-utility-"))&&(a[e]=`var(${t})`)};return n(`${i}-bg-${o}`,t.backgroundColor,"backgroundColor"),n(`${i}-bg-${o}-hover`,t.backgroundColorHover,"backgroundColorHover"),n(`${i}-bg-${o}-active`,t.backgroundColorActive,"backgroundColorActive"),n(`${i}-txt-${o}`,t.textColor,"textColor"),n(`${i}-txt-${o}-hover`,t.textColorHover,"textColorHover"),n(`${i}-txt-${o}-active`,t.textColorActive,"textColorActive"),n(`${i}-border-${o}`,t.borderColor,"borderColor"),n(`${i}-border-${o}-hover`,t.borderColorHover,"borderColorHover"),n(`${i}-border-${o}-active`,t.borderColorActive,"borderColorActive"),a}(o,x),S=b(b({},k.style),I),T="a"===E?"a":"button",P="button"===T?b(b({},k),{},{disabled:g}):b(b({},k),{},{href:O});return(0,a.createElement)(T,b(b({},P),{},{className:w,style:S}),[u?(0,p.j)(u,A,"elementStart"):null,!f&&y?(0,a.createElement)("span",{key:"label",className:D},y):null,h?(0,p.j)(h,A,"elementEnd"):null])}
1u.displayName="Button"},9895:(e,t,r)=>{r.d(t,{E:()=>g});var o=r(93682),i=r(53520),a=r(71055),n=r(36654),l=r.n(n);let c={sm:{"neutral-light":["[font-family:var(--comp-badge-sm-type-family-neutral-light)]","[font-weight:var(--comp-badge-sm-type-weight-neutral-light)]","text-(length:--comp-badge-sm-type-size-neutral-light)","leading-(--comp-badge-sm-type-line-height-neutral-light)","tracking-(--comp-badge-sm-type-letter-spacing-neutral-light)","[text-transform:var(--comp-badge-sm-type-txt-case-neutral-light)]"],"neutral-dark":["[font-family:var(--comp-badge-sm-type-family-neutral-dark)]","[font-weight:var(--comp-badge-sm-type-weight-neutral-dark)]","text-(length:--comp-badge-sm-type-size-neutral-dark)","leading-(--comp-badge-sm-type-line-height-neutral-dark)","tracking-(--comp-badge-sm-type-letter-spacing-neutral-dark)","[text-transform:var(--comp-badge-sm-type-txt-case-neutral-dark)]"],primary:["[font-family:var(--comp-badge-sm-type-family-primary)]","[font-weight:var(--comp-badge-sm-type-weight-primary)]","text-(length:--comp-badge-sm-type-size-primary)","leading-(--comp-badge-sm-type-line-height-primary)","tracking-(--comp-badge-sm-type-letter-spacing-primary)","[text-transform:var(--comp-badge-sm-type-txt-case-primary)]"],knockout:["[font-family:var(--comp-badge-sm-type-family-knockout)]","[font-weight:var(--comp-badge-sm-type-weight-knockout)]","text-(length:--comp-badge-sm-type-size-knockout)","leading-(--comp-badge-sm-type-line-height-knockout)","tracking-(--comp-badge-sm-type-letter-spacing-knockout)","[text-transform:var(--comp-badge-sm-type-txt-case-knockout)]"],success:["[font-family:var(--comp-badge-sm-type-family-success)]","[font-weight:var(--comp-badge-sm-type-weight-success)]","text-(length:--comp-badge-sm-type-size-success)","leading-(--comp-badge-sm-type-line-height-success)","tracking-(--comp-badge-sm-type-letter-spacing-success)","[text-transform:var(--comp-badge-sm-type-txt-case-success)]"],danger:["[font-family:var(--comp-badge-sm-type-family-danger)]","[font-weight:var(--comp-badge-sm-type-weight-danger)]","text-(length:--comp-badge-sm-type-size-danger)","leading-(--comp-badge-sm-type-line-height-danger)","tracking-(--comp-badge-sm-type-letter-spacing-danger)","[text-transform:var(--comp-badge-sm-type-txt-case-danger)]"],warning:["[font-family:var(--comp-badge-sm-type-family-warning)]","[font-weight:var(--comp-badge-sm-type-weight-warning)]","text-(length:--comp-badge-sm-type-size-warning)","leading-(--comp-badge-sm-type-line-height-warning)","tracking-(--comp-badge-sm-type-letter-spacing-warning)","[text-transform:var(--comp-badge-sm-type-txt-case-warning)]"],highlight:["[font-family:var(--comp-badge-sm-type-family-highlight)]","[font-weight:var(--comp-badge-sm-type-weight-highlight)]","text-(length:--comp-badge-sm-type-size-highlight)","leading-(--comp-badge-sm-type-line-height-highlight)","tracking-(--comp-badge-sm-type-letter-spacing-highlight)","[text-transform:var(--comp-badge-sm-type-txt-case-highlight)]"]},md:{"neutral-light":["[font-family:var(--comp-badge-md-type-family-neutral-light)]","[font-weight:var(--comp-badge-md-type-weight-neutral-light)]","text-(length:--comp-badge-md-type-size-neutral-light)","leading-(--comp-badge-md-type-line-height-neutral-light)","tracking-(--comp-badge-md-type-letter-spacing-neutral-light)","[text-transform:var(--comp-badge-md-type-txt-case-neutral-light)]"],"neutral-dark":["[font-family:var(--comp-badge-md-type-family-neutral-dark)]","[font-weight:var(--comp-badge-md-type-weight-neutral-dark)]","text-(length:--comp-badge-md-type-size-neutral-dark)","leading-(--comp-badge-md-type-line-height-neutral-dark)","tracking-(--comp-badge-md-type-letter-spacing-neutral-dark)","[text-transform:var(--comp-badge-md-type-txt-case-neutral-dark)]"],primary:["[font-family:var(--comp-badge-md-type-family-primary)]","[font-weight:var(--comp-badge-md-type-weight-primary)]","text-(length:--comp-badge-md-type-size-primary)","leading-(--comp-badge-md-type-line-height-primary)","tracking-(--comp-badge-md-type-letter-spacing-primary)","[text-transform:var(--comp-badge-md-type-txt-case-primary)]"],knockout:["[font-family:var(--comp-badge-md-type-family-knockout)]","[font-weight:var(--comp-badge-md-type-weight-knockout)]","text-(length:--comp-badge-md-type-size-knockout)","leading-(--comp-badge-md-type-line-height-knockout)","tracking-(--comp-badge-md-type-letter-spacing-knockout)","[text-transform:var(--comp-badge-md-type-txt-case-knockout)]"],success:["[font-family:var(--comp-badge-md-type-family-success)]","[font-weight:var(--comp-badge-md-type-weight-success)]","text-(length:--comp-badge-md-type-size-success)","leading-(--comp-badge-md-type-line-height-success)","tracking-(--comp-badge-md-type-letter-spacing-success)","[text-transform:var(--comp-badge-md-type-txt-case-success)]"],danger:["[font-family:var(--comp-badge-md-type-family-danger)]","[font-weight:var(--comp-badge-md-type-weight-danger)]","text-(length:--comp-badge-md-type-size-danger)","leading-(--comp-badge-md-type-line-height-danger)","tracking-(--comp-badge-md-type-letter-spacing-danger)","[text-transform:var(--comp-badge-md-type-txt-case-danger)]"],warning:["[font-family:var(--comp-badge-md-type-family-warning)]","[font-weight:var(--comp-badge-md-type-weight-warning)]","text-(length:--comp-badge-md-type-size-warning)","leading-(--comp-badge-md-type-line-height-warning)","tracking-(--comp-badge-md-type-letter-spacing-warning)","[text-transform:var(--comp-badge-md-type-txt-case-warning)]"],highlight:["[font-family:var(--comp-badge-md-type-family-highlight)]","[font-weight:var(--comp-badge-md-type-weight-highlight)]","text-(length:--comp-badge-md-type-size-highlight)","leading-(--comp-badge-md-type-line-height-highlight)","tracking-(--comp-badge-md-type-letter-spacing-highlight)","[text-transform:var(--comp-badge-md-type-txt-case-highlight)]"]},lg:{"neutral-light":["[font-family:var(--comp-badge-lg-type-family-neutral-light)]","[font-weight:var(--comp-badge-lg-type-weight-neutral-light)]","text-(length:--comp-badge-lg-type-size-neutral-light)","leading-(--comp-badge-lg-type-line-height-neutral-light)","tracking-(--comp-badge-lg-type-letter-spacing-neutral-light)","[text-transform:var(--comp-badge-lg-type-txt-case-neutral-light)]"],"neutral-dark":["[font-family:var(--comp-badge-lg-type-family-neutral-dark)]","[font-weight:var(--comp-badge-lg-type-weight-neutral-dark)]","text-(length:--comp-badge-lg-type-size-neutral-dark)","leading-(--comp-badge-lg-type-line-height-neutral-dark)","tracking-(--comp-badge-lg-type-letter-spacing-neutral-dark)","[text-transform:var(--comp-badge-lg-type-txt-case-neutral-dark)]"],primary:["[font-family:var(--comp-badge-lg-type-family-primary)]","[font-weight:var(--comp-badge-lg-type-weight-primary)]","text-(length:--comp-badge-lg-type-size-primary)","leading-(--comp-badge-lg-type-line-height-primary)","tracking-(--comp-badge-lg-type-letter-spacing-primary)","[text-transform:var(--comp-badge-lg-type-txt-case-primary)]"],knockout:["[font-family:var(--comp-badge-lg-type-family-knockout)]","[font-weight:var(--comp-badge-lg-type-weight-knockout)]","text-(length:--comp-badge-lg-type-size-knockout)","leading-(--comp-badge-lg-type-line-height-knockout)","tracking-(--comp-badge-lg-type-letter-spacing-knockout)","[text-transform:var(--comp-badge-lg-type-txt-case-knockout)]"],success:["[font-family:var(--comp-badge-lg-type-family-success)]","[font-weight:var(--comp-badge-lg-type-weight-success)]","text-(length:--comp-badge-lg-type-size-success)","leading-(--comp-badge-lg-type-line-height-success)","tracking-(--comp-badge-lg-type-letter-spacing-success)","[text-transform:var(--comp-badge-lg-type-txt-case-success)]"],danger:["[font-family:var(--comp-badge-lg-type-family-danger)]","[font-weight:var(--comp-badge-lg-type-weight-danger)]","text-(length:--comp-badge-lg-type-size-danger)","leading-(--comp-badge-lg-type-line-height-danger)","tracking-(--comp-badge-lg-type-letter-spacing-danger)","[text-transform:var(--comp-badge-lg-type-txt-case-danger)]"],warning:["[font-family:var(--comp-badge-lg-type-family-warning)]","[font-weight:var(--comp-badge-lg-type-weight-warning)]","text-(length:--comp-badge-lg-type-size-warning)","leading-(--comp-badge-lg-type-line-height-warning)","tracking-(--comp-badge-lg-type-letter-spacing-warning)","[text-transform:var(--comp-badge-lg-type-txt-case-warning)]"],highlight:["[font-family:var(--comp-badge-lg-type-family-highlight)]","[font-weight:var(--comp-badge-lg-type-weight-highlight)]","text-(length:--comp-badge-lg-type-size-highlight)","leading-(--comp-badge-lg-type-line-height-highlight)","tracking-(--comp-badge-lg-type-letter-spacing-highlight)","[text-transform:var(--comp-badge-lg-type-txt-case-highlight)]"]}};var d=r(94711);let s=["size","variant","radius","elementStart","children"];function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?p(Object(r),!0).forEach(function(t){(0,o.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function g(e){let t,r,o,{size:n="md",variant:p="knockout",radius:g="default",elementStart:b=null,children:u}=e,y=(0,i.A)(e,s),h=(t=n||"md",r=p||"knockout",o=g||"default",l()("hds-do-not-use inline-flex items-center not-italic",{"gap-(--comp-badge-sm-dim-gap-mobile)":"sm"===t,"gap-(--comp-badge-md-dim-gap-mobile)":"md"===t,"gap-(--comp-badge-lg-dim-gap-mobile)":"lg"===t,"px-(--comp-badge-sm-dim-padding-inline-mobile)":"sm"===t,"px-(--comp-badge-md-dim-padding-inline-mobile)":"md"===t,"px-(--comp-badge-lg-dim-padding-inline-mobile)":"lg"===t,"py-(--comp-badge-sm-dim-padding-block-mobile)":"sm"===t,"py-(--comp-badge-md-dim-padding-block-mobile)":"md"===t,"py-(--comp-badge-lg-dim-padding-block-mobile)":"lg"===t,"rounded-(--comp-badge-dim-radius-round-mobile)":"rounded"===o,"rounded-(--comp-badge-dim-radius-square-mobile)":"square"===o,"rounded-(--comp-badge-dim-radius-md-mobile)":"md"===o||"default"===o},c[t]?.[r]??[],"neutral-dark"===r?["text-(--comp-badge-color-txt-neutral-dark)","bg-(--comp-badge-color-bg-neutral-dark)"]:[],"neutral-light"===r?["text-(--comp-badge-color-txt-neutral-light)","bg-(--comp-badge-color-bg-neutral-light)"]:[],"primary"===r?["text-(--comp-badge-color-txt-primary)","bg-(--comp-badge-color-bg-primary)"]:[],"knockout"===r?["text-(--comp-badge-color-txt-knockout)","bg-(--comp-badge-color-bg-knockout)"]:[],"success"===r?["text-(--comp-badge-color-txt-success)","bg-(--comp-badge-color-bg-success)"]:[],"danger"===r?["text-(--comp-badge-color-txt-danger)","bg-(--comp-badge-color-bg-danger)"]:[],"warning"===r?["text-(--comp-badge-color-txt-warning)","bg-(--comp-badge-color-bg-warning)"]:[],"highlight"===r?["text-(--comp-badge-color-txt-highlight)","bg-(--comp-badge-color-bg-highlight)"]:[])),f=l()({"h-(--comp-badge-sm-dim-icon-size-mobile) w-(--comp-badge-sm-dim-icon-size-mobile)":"sm"===n,"h-(--comp-badge-md-dim-icon-size-mobile) w-(--comp-badge-md-dim-icon-size-mobile)":"md"===n,"h-(--comp-badge-lg-dim-icon-size-mobile) w-(--comp-badge-lg-dim-icon-size-mobile)":"lg"===n});return a.default.createElement("span",m(m({},y),{},{className:h}),b?(0,d.j)(b,f,"elementStart"):null,u)}},12934:(e,t,r)=>{let o,i,a;r.d(t,{zu:()=>p});var n=r(70266),l=r(16706),c=r(66959),d=(0,r(3780).b)((0,c.a)(),1),s=class{constructor(e,t){if(this._video=null,this._playlist=null,this.embedData=e,this.settings=t,this.embedId=e.id,this.isSingleVideo){let e=this.getSingleVideo();this._video=l.a.isViewable(e)?new l.a(e):null}else this._playlist=new n.a(e.media)}getSingleVideo(){return this.isPlaylist||this.isRelatedPlaylist?(this.embedData?.media?.videos||[])[0]??this.embedData.media:this.embedData.media}get video(){return this._video}get playlist(){return this._playlist}set playlist(e){this._playlist=e}get isPlaylist(){return"playlist"===(0,d.default)(this.embedData,"media_type",!1)}get isRelatedPlaylist(){return(0,d.default)(this.embedData,"related",!1)}get isDynamicPlaylist(){return this.isPlaylist&&1===this.playlistType}get playlistType(){return this.isPlaylist?(0,d.default)(this.embedData,"media.type"):null}get videoId(){return(0,d.default)(this.embedData,"media.id","")}get embedAspectRatio(){return(0,d.default)(this.embedData,"aspect_ratio",void 0)}get role(){return(0,d.default)(this.embedData,"role")}get source(){return(0,d.default)(this.embedData,"media.source")}get isSingleVideo(){return"video"===(0,d.default)(this.embedData,"media_type",!1)&&!this.isRelatedPlaylist||!!this.settings.isSingleVideoEmbed}get baseAdTag(){return(0,d.default)(this.embedData,"site.video_ads.videoConfig.adTag")||(0,d.default)(this.embedData,"site.ad_tag","")}get videoAdConfig(){return(0,d.default)(this.embedData,"site.video_ads")}get videoConfigAdTag(){return(0,d.default)(this.embedData,"site.video_ads.videoConfig.adTag")??null}get embedAdDisabled(){return this.embedData.ads_disabled}get videoAdsDisabled(){return(0,d.default)(this.embedData,"media.ads_disabled",!1)}get isVideoHub(){return"hub"===this.settings.source.assetType}get autoplay(){return(0,d.default)(this.embedData,"autoplay")}get muted(){return(0,d.default)(this.embedData,"mute")}};r(59105);var p=((o=p||{}).Video="video",o.Playlist="playlist",o.Generic="generic",o),m=((i=m||{})[i.SLIDE=1]="SLIDE",i[i.SOCIAL=2]="SOCIAL",i[i.LEDE=3]="LEDE",i[i.BODY_MEDIA=4]="BODY_MEDIA",i[i.MARQUEE=5]="MARQUEE",i[i.SPONSORED_MARQUEE=6]="SPONSORED_MARQUEE",i[i.PREVIEW=7]="PREVIEW",i[i.ASSOCIATED_IMAGE=8]="ASSOCIATED_IMAGE",i[i.ASSOCIATED_VIDEO=9]="ASSOCIATED_VIDEO",i[i.CUSTOM_PREVIEW_IMAGE=10]="CUSTOM_PREVIEW_IMAGE",
1i[i.CONTENT_TESTING=11]="CONTENT_TESTING",i[i.INDEX=12]="INDEX",i[i.SECTION_VIDEO=13]="SECTION_VIDEO",i[i.VIDEO_HUB=14]="VIDEO_HUB",i[i.MEDIA_ROLE_PINTEREST=16]="MEDIA_ROLE_PINTEREST",i[i.OFF_PLATFORM=16]="OFF_PLATFORM",i[i.CUSTOM_PROMO=17]="CUSTOM_PROMO",i[i.FEED=18]="FEED",i[i.GHOST_SLIDE=19]="GHOST_SLIDE",i[i.SPOTLIGHT_MARQUEE=20]="SPOTLIGHT_MARQUEE",i[i.EMBEDDED_CONTENT=21]="EMBEDDED_CONTENT",i),g=((a=g||{}).Video="video",a.Embed="embed",a.Playlist="playlist",a.Unknown="unknown",a),b=r(66288),{error:u}=console;async function y(e){return fetch(e).then(e=>e.json()).catch(e=>u(e))}r(14565);var h=class e{constructor(t){this.embed=null,this.video=null,this.playlist=null,e.setVersion(),this.settings=t,t.source?this.source=t.source:this.source={type:"fetch",id:t.embedId??"",assetType:t.nitehawkType??"embeds",...t.videoHubSettings?{videoHubSettings:t.videoHubSettings}:{}},this.assetType=this.source.assetType,this._url=t.url||e.globalUrl||function(e="feature"){return b.a[e]??"https://nitehawk.kubefeature.hearstapps.net"}(t.env||e.globalEnv)}get resolvedVideo(){return this.embed?.video?this.embed.video:this.video?this.video:null}get resolvedPlaylist(){return this.embed?.playlist?this.embed.playlist:this.playlist?this.playlist:null}get resolvedId(){return this.source.id}static setVersion(){"u">typeof window&&window.videoPlayerManager?.setVersion("Nitehawk",e.VERSION)}async fetchNitehawkData(){let e="";if("hub"===this.source.assetType&&"fetch"===this.source.type&&this.source.videoHubSettings){let{overrideType:t,overrideId:r}=this.source.videoHubSettings;e=`?${t}=${r}`}return y(`${this.url}/${this.assetType}/${this.resolvedId}${e}`)}setup(e){try{switch(this.assetType){case"hub":case"embeds":this.embed=new s(e,{...this.settings,source:this.source});break;case"videos":this.video=new l.a(e);break;case"playlists":this.playlist=new n.a(e)}}catch(t){let{error:e}=console;return e("Failed to setup Nitehawk",t),null}return this}static get globalUrl(){return e._globalUrl}static set globalUrl(t){e._globalUrl=t}get url(){return this._url}set url(e){this._url=e}static get globalEnv(){return e._globalEnv}static set globalEnv(t){e._globalEnv=t}};h._globalEnv="feature",h.VERSION="1.7.8"},14565:(e,t,r)=>{let o;r.d(t,{a:()=>i});var i=((o=i||{}).MP4="video/mp4",o.AVI="video/avi",o.OGG="video/ogg",o.M3U8="m3u8",o.WEBM="video/webm",o.MOV="video/quicktime",o.WMV="video/x-ms-wmv",o.MPEG="video/mpeg",o)},16706:(e,t,r)=>{r.d(t,{a:()=>d});var o=r(14565),i=r(66959),a=new Set(["apple_m3u8","original"]),n=/(\d+)p/i;function l(e){let t=n.exec(e.display_name)??n.exec(e.preset_name);return t?Number.parseInt(t[1],10):1/0}function c(e){return{src:e.full_url,type:d.getVideoType(e),displayName:e.display_name,presetName:e.preset_name}}var d=class{constructor(e){this.getFallbackSource=()=>{let[e]=this.videoMedia.transcodings.filter(e=>!a.has(e.mapped_preset_name)&&"H_265"!==e.codec).sort((e,t)=>l(e)-l(t));return e?c(e):void 0},this.videoMedia=e,this.title=e.title,this.shortTitle=e.short_title,this.description=e.description,this.duration=e.duration,this.poster=e.cropped_preview_image,this.source={title:e?.source?.title||""},this.sources=this.getSources(),this.fallbackSource=this.getFallbackSource(),this.id=e.id}get aspectRatio(){return this.videoMedia.nearest_aspect_ratio}getSources(){return this.videoMedia.transcodings.map(c)}static getVideoType(e){return"apple_m3u8"===e.mapped_preset_name?o.a.M3U8:o.a.MP4}static isViewable(e){return(0,i.c)(e)}}},27305:(e,t,r)=>{var o,i,a,n,l,c,d,s,p,m,g,b,u,y,h,f;r.d(t,{Eo:()=>p,F4:()=>n,FB:()=>l,ZS:()=>_,hU:()=>v,lw:()=>c,tI:()=>o}),(m=o||(o={}))["16x9"]="16:9",m["9x16"]="9:16",m["1x1"]="1:1";let v="hearst-player-event";(g=i||(i={})).LEAD="LEAD",g.FEED="FEED",g.IN_BODY="IN_BODY",g.WATCH_NEXT="WATCH_NEXT",g.WATCH_NEXT_IN_BODY="WATCH_NEXT_IN_BODY",g.SLIDE="SLIDE",g.VIDEOHUB="VIDEOHUB",(a||(a={})).VIDEO_PLAYER="VIDEO_PLAYER",(b=n||(n={})).ADS_IMA_ERROR="ads-ima-adError",b.ADS_IMA_CLICK="ads-ima-click",b.ADS_IMA_COMPLETE="ads-ima-complete",b.ADS_IMA_FIRST_QUARTILE="ads-ima-firstquartile",b.ADS_IMA_IMPRESSION="ads-ima-impression",b.ADS_IMA_MIDPOINT="ads-ima-midpoint",b.ADS_IMA_PAUSE="ads-ima-pause",b.ADS_IMA_RESUME="ads-ima-resume",b.ADS_IMA_SKIP="ads-ima-skip",b.ADS_IMA_START="ads-ima-start",b.ADS_IMA_THIRD_QUARTILE="ads-ima-thirdquartile",b.PLAYLIST_FORWARD_BUTTON_EVENT="playlistForwardUser",b.PLAYLIST_BACKWARD_BUTTON_EVENT="playlistBackwardUser",b.PLAYED_Q0="played-q0",b.PLAYED_Q1="played-q1",b.PLAYED_Q2="played-q2",b.PLAYED_Q3="played-q3",b.PLAYED_Q4="played-q4",b.VIDEO_ERROR="error",b.MUTE_CHANGE_USER="mutechangeUser",b.PAUSE_USER="pauseUser",b.PLAY_USER="playUser",b.TEXT_TRACK_CHANGE_USER="texttrackchangeUser",b.UNMUTE_CHANGE_USER="unmutechangeUser",b.VOLUME_CHANGE_USER="volumechangeUser",b.STICKY_OFF="stickyOff",b.STICKY_CLOSE="stickyClose",(l||(l={})).NITEHAWK_ERROR="nitehawkError",(u=c||(c={})).DEFAULT="DEFAULT",u.ENHANCED="ENHANCED",(y=d||(d={})).MP4="video/mp4",y.AVI="video/avi",y.OGG="video/ogg",y.M3U8="m3u8",(h=s||(s={})).INITIALIZING="initializing",h.INITIALIZED="initialized",h.EMBED="embed",h.FAILED="failed",h.ERROR_CODE="errorCode",h.INITIAL_PLAYING="initialPlaying",s.INITIALIZED,s.INITIALIZING,s.FAILED,s.EMBED,s.ERROR_CODE,s.INITIAL_PLAYING;let _="video_player_initialized";(f=p||(p={}))[f.VIDEO=1]="VIDEO",f[f.LOOP=4]="LOOP"},32956:(e,t,r)=>{r.d(t,{B:()=>O,Cv:()=>f,Ox:()=>h,XJ:()=>v,Zh:()=>y,_k:()=>w,b4:()=>_,jY:()=>u,rm:()=>k});var o=r(27305),i=r(98435),a=r(15630),n=r(89205),l=r(9842),c=r(71857);let d={SMALL:"small",MEDIUM:"medium",LARGE:"large"},s={LEFT:"left",CENTER:"center",RIGHT:"right"},p=d.LARGE,m=s.CENTER,g=new Set(Object.values(d)),b=new Set(Object.values(s));function u({size:e,align:t}={}){let r=function(e){if(null==e||""===e)return p;let t=String(e).toLowerCase().trim();return"wide"===t?d.LARGE:g.has(t)?t:p}(e);return{size:r,align:r===d.LARGE?m:function(e){if(null==e||""===e)return m;let t=String(e).toLowerCase().trim();return b.has(t)?t:m}(t)}}function y(e){return e?.type===o.Eo.LOOP||(0,l.ES)(e,n.Z2.VIDEO)&&(0,l.ns)(e)?.type===o.Eo.LOOP}function h(e,t=null){let r=(0,l.lH)(e,o.Eo.LOOP,t);return r||(null===t?(0,a.MX)(e,n.Z2.FILE):(0,a.BW)(e,n.Z2.FILE,t))}function f(e){let t=(0,l.ns)(e);return(0,c.b)(e)??t?.media?.[0]?.mediaObject?.hips_url}function v(e){return!!e&&("loop"===e.preset_name||"loop"===e.preset_id||"loop"===e.mapped_preset_name||e.full_url?.includes("video_loop")===!0)}function _(e){if(Array.isArray(e))return e.find(v)||e[0]}function x(e){let t=(0,l.ns)(e);return e?.metadata?.selected_crop??e?.nearest_aspect_ratio??e?.nearestAspectRatio??e?.aspectRatio??t?.metadata?.selected_crop??t?.nearest_aspect_ratio??t?.nearestAspectRatio}function E(e){return`${Math.round(1e4*Math.min(1,Math.max(0,e)))/100}%`}function O(e){let t=(0,l.ns)(e),r=e?.metadata?.crops??t?.metadata?.crops,o=r?.[x(e)];if(!o)return null;let i=function(e){let t=String(e).match(/^(?<cw>[\d.]+)xw:(?<ch>[\d.]+)xh(?:;(?<ox>[\d.]+)xw,(?<oy>[\d.]+)xh)?/);if(!t)return null;let r=Number(t.groups.cw),o=Number(t.groups.ch);return r>0&&o>0?{cw:r,ch:o,ox:Number(t.groups.ox??0),oy:Number(t.groups.oy??0)}:null}(o);if(!i)return null;let{cw:a,ch:n,ox:c,oy:d}=i;if(a>=1&&n>=1)return null;let s=`inset(${E(d)} ${E(1-c-a)} ${E(1-d-n)} ${E(c)})`,p=a>=1?"50%":E(c/(1-a)),m=n>=1?"50%":E(d/(1-n));return{objectViewBox:s,objectPosition:`${p} ${m}`}}function k(e){let t=x(e);return"string"==typeof t&&"9x16"===t.replace(":","x")}function w(e){let t=(0,l.ns)(e),r=_(t?.transcodings),o=t?.media?.[0]?.mediaObject??e?.media?.[0]?.mediaObject;if(k(e))return"9x16";let n=function({embed:e,video:t=e,transcoding:r,mediaObject:o}){let i="16:9",n=e?.metadata?.selected_crop??e?.nearest_aspect_ratio??e?.nearestAspectRatio??e?.aspectRatio??t?.metadata?.selected_crop??t?.nearest_aspect_ratio??t?.nearestAspectRatio??i,l=e?.metadata?.crops??t?.metadata?.crops??{};if("freeform"!==n)return n||i;
1let c=l[n],d=r?.width??o?.width,s=r?.height??o?.height;if(c){let{width:e,height:t}=(0,a.MI)(c)||{};if(e&&t&&d&&s){let r=Math.floor(e*d),o=Math.floor(t*s);return`${r}:${o}`}}return d&&s?`${d}:${s}`:i}({embed:e,video:t,transcoding:r,mediaObject:o});return(0,i._)(function(e,t="16:9"){if("string"!=typeof e)return t;if("freeform"===e)return e;let r=e.replace(/^_+|_+$/g,"");return/^\d+[x:]\d+$/.test(r)?r:t}(n))}},33911:(e,t,r)=>{r.d(t,{a:()=>a});var o=r(53225),i=r(64406);function a(){let e=(0,o._P)(i.kp),t=(0,o._P)(i.j1),r=(0,o._P)(i.hZ);return{isAboveTheFoldFeatureOn:e,isAboveTheFoldLayout:e,isAboveTheFoldTopperEnabled:t,isMobileStickyTocEligible:e&&r,shouldStripTopPicksFromIntro:(0,o._P)(i.F5),shouldDisableBestDeal:e}}},42746:(e,t,r)=>{r.d(t,{Ay:()=>y,MP:()=>b,ch:()=>u});var o=r(53520),i=r(93682),a=r(71055),n=r(83222),l=r(174),c=r(29231),d=r(10352),s=r(94315);let p=["ctaText"];function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){(0,i.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function b(e,t={},r){let i=r&&d._F.placeholder===e?`${r}_block`:s.q[e];if(!i)return;let{ctaText:a}=t,n=(0,o.A)(t,p),m="string"==typeof a?(0,c.Q)(a).trim():void 0,u=g(g({primaryUx:i},n),m&&{ctaText:m});(0,l.A)({eventName:"recirculation",eventParameters:u})}function u(e){e?.["data-vars-ga-ux-element"]&&(0,l.A)({eventName:"recirculation",eventParameters:{ctaText:e["data-vars-ga-call-to-action"],destinationLink:e["data-vars-ga-outbound-link"],primaryUx:e["data-vars-ga-ux-element"],position:e["data-vars-ga-position"]}})}function y({blockType:e,trackTags:t,slug:r}){let{inView:o,observer:i,ref:c}=(0,n.A)({rootMargin:"0px 0px",threshold:.3});return(0,a.useEffect)(()=>{if(o){let o;(o=r&&d._F.placeholder===e?`${r}_block`:s.q[e])&&(0,l.A)({eventName:"recirculation_view",eventParameters:g({primaryUx:o},t)}),i.current.unobserve(c.current)}},[o]),{ref:c}}},43029:(e,t,r)=>{r.d(t,{u:()=>i});var o=r(20608);let i=(0,o.J1)` 2 query config( 3 $resourceId: String! 4 $resource_type: String 5 $slugs: String 6 $debug: String 7 $config_type: String 8 ) { 9 config( 10 resource_id: $resourceId 11 slugs: $slugs 12 debug: $debug 13 resource_type: $resource_type 14 consumer: "fre" 15 config_type: $config_type 16 ) 17 } 18`},50804:(e,t,r)=>{r.d(t,{FL:()=>S,GV:()=>w,PP:()=>L,Wf:()=>P,h7:()=>C,hJ:()=>T,hN:()=>N,ho:()=>I,sn:()=>D,xm:()=>R});var o=r(53520),i=r(93682),a=r(71055),n=r(53225),l=r(800),c=r(53647),d=r(78860),s=r(22730),p=r(86385),m=r(7144),g=r(83222),b=r(174),u=r(82981),y=r(87301);let h=["productId","primaryUx"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){(0,i.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let _={},x=new WeakSet;function E(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>null!=e&&""!==e))}function O(e){return null==e||""===e?"":String(e)}function k(e,t={},{enabled:r=!0}={}){r&&e&&(window.Nitrous=window.Nitrous||[],window.Nitrous.push(()=>{window.Nitrous.logEvent({event_name:e,custom_attributes:E(t)})}))}function w(){let e=(0,l.BV)("data.content.0.id"),t=(0,l.BV)("layoutContextProps.siteData.metadata.domain",""),r=function({isMobile:e}={}){return!e}({isMobile:(0,s.Ay)("<sm")}),o=(0,a.useCallback)(r=>(function({articleId:e,site:t,selectedProductCount:r}={}){return E({article_id:O(e),site:O(t),selected_product_count:r})})({articleId:e,site:t,selectedProductCount:r}),[e,t]),i=(0,a.useCallback)(({source:e})=>{k(y.EC.OPENED,v({source:e},o()),{enabled:r})},[r,o]),n=(0,a.useCallback)(({action:e,productId:t,selectedProductCount:i})=>{k(y.EC.SELECTION_UPDATED,v({action:e,product_id:O(t)},o(i)),{enabled:r})},[r,o]),c=(0,a.useCallback)(({selectedProductIds:e})=>{k(y.EC.STARTED,v(v({},o(e?.length??0)),{},{selected_product_ids:e}),{enabled:r})},[r,o]),d=(0,a.useCallback)(({productId:e,section:t,selectedProductCount:i,state:a})=>{k(y.EC.SECTION_TOGGLED,v(v({},o(i)),{},{section:t,state:a,product_id:O(e)}),{enabled:r})},[r,o]),p=(0,a.useCallback)(({selectedProductCount:e})=>{k(y.EC.ADD_SLOT_CLICKED,v({},o(e)),{enabled:r})},[r,o]);return{trackOpened:i,trackSelectionUpdated:n,trackStarted:c,trackSectionToggled:d,trackAddSlotClicked:p,trackBuyingOptionsOpened:(0,a.useCallback)(({productId:e,selectedProductCount:t})=>{k(y.EC.BUYING_OPTIONS_OPENED,v({product_id:O(e)},o(t)),{enabled:r})},[r,o]),trackClosed:(0,a.useCallback)(({selectedProductCount:e,comparisonStarted:t})=>{k(y.EC.CLOSED,v(v({},o(e)),{},{comparison_started:!!t}),{enabled:r})},[r,o])}}function A(e){return v(v({},e),{},{badge:v({},e.badge),image:v({},e.image),product:v({},e),retailer:v({},e.retailer),retailers:e.retailers?.map(e=>v({},e)),product_metadata:v(v({},e.product_metadata),{},{feature_specs:e.product_metadata?.feature_specs.map(e=>v({},e))}),statements:Object.entries(e.statements||[]).map(([e,t])=>({[e]:v({},t)})).reduce((e,t)=>
18v(v({},e),t),{}),offers:e?.offers?.filter(e=>e.is_active).map(e=>v({},e))})}function D(){return Object.values((0,l.BV)("products")??{}).map(A)}function I(){let e=(0,s.Ay)("<sm"),t=(0,p.A)(y.d2),r=(0,p.A)(y.dR),o=e?r:t,i=(0,n._P)(u.QB),a=(0,l.BV)(u.dl),m=(0,l.BV)("products")??_;return(r&&r!==y.Zu||i&&(0,d.z)(a))&&function(e){if(e&&"object"==typeof e&&!x.has(e))for(let t of(x.add(e),(0,c.iv)(e),Object.values(e)))A(t)}(m),{variation:o,isControl:o===y.Zu,isDisplayGrid:o===y.OD||o===y.f2,isDisplayGridTopPicks:o===y.f2,isMobile:e}}function S(){let[,e]=(0,m.A)(y.Av),[,t]=(0,m.A)(y.pt),[,r]=(0,m.A)(y.Wk),[,o]=(0,m.A)(y.$G),[,i]=(0,m.A)(y.gj),[,a]=(0,m.A)(y.K5),[,n]=(0,m.A)(y.DY),[,l]=(0,m.A)(y.bB),[,c]=(0,m.A)(y.aF);return{trackViewableProductImpression:e,trackProdClick:t,trackProductCardCompareClick:r,trackProductGridAddProducts2:o,trackProductGridAddProducts3:i,trackProductGridReadMore:a,trackProductGridMaxminClick:n,trackProductGridQuickCompare:l,trackProductGridCompareClick:c}}function T(e,t={}){(0,b.A)({eventName:e,eventParameters:t})}function P(e={}){let{productId:t,primaryUx:r=y.Hw}=e,i=(0,o.A)(e,h);return v(v({primaryUx:r},t?{rovProdId:t}:{}),i)}function C({articleId:e,isOpen:t,products:r,onTrackViewableProductImpression:o}){(0,a.useEffect)(()=>{if(!t||!e||!r?.length)return;let i=function(){try{let e=window.sessionStorage.getItem(y.Zb);return new Set(e?JSON.parse(e):[])}catch{return new Set}}(),a=!1;r.forEach((t,r)=>{let n=t?.id;if(!n)return;let l=`${e}:${n}`;i.has(l)||(T(y.Av,P({productId:n,pos:r+1})),o?.(),i.add(l),a=!0)}),a&&function(e){try{window.sessionStorage.setItem(y.Zb,JSON.stringify([...e]))}catch{}}(i)},[e,t,o,r])}function N(e){let[,t]=(0,m.A)(y.$G),[,r]=(0,m.A)(y.gj),o=(0,a.useRef)(e);(0,a.useEffect)(()=>{let i=o.current;o.current=e,e>i&&(i<2&&e>=2&&t(),i<3&&e>=3&&r())},[e,t,r])}function R(){let[,e]=(0,m.A)(y.Av),{inView:t,observer:r,ref:o}=(0,g.A)({rootMargin:"0px 0px",threshold:.5}),{0:i,1:n}=(0,a.useState)(null);return(0,a.useEffect)(()=>{t?null===i&&n(setTimeout(()=>{n(null),e(),r.current.unobserve(o.current),r.current.reset()},1e3)):null!==i&&(clearTimeout(i),n(null))},[t]),o}function L(){let[e,t]=(0,m.A)(y.ap),r=(0,a.useRef)(!1);(0,a.useEffect)(()=>{e&&!r.current&&(t(),r.current=!0)},[e,t])}},59105:(e,t,r)=>{let o;r.d(t,{a:()=>i});var i=((o=i||{})[o.CURATED=0]="CURATED",o[o.DYNAMIC=1]="DYNAMIC",o)},59184:(e,t,r)=>{r.d(t,{CY:()=>s,RB:()=>d,Ti:()=>n,a7:()=>a,e5:()=>p,jj:()=>g,mj:()=>l,ov:()=>m,tf:()=>c});var o=r(10352),i=r(78860);function a(e){return[o.W_.imageRight,o.W_.imageLeft].includes(e)}function n(e){return e===o.W_.center}function l(e){if(!e)return{};let t={sx:{textAlign:e}};return{title:t,dek:t,timestamp:t,author:t,label:t,breadcrumbs:t,cta:{style:{alignSelf:({left:"flex-start",center:"center",right:"flex-end"})[e]||"flex-start"}}}}function c({settings:e={}}={}){let{show_button:t,button_text:r,button_url:o}=e,a="string"==typeof r?r.trim():"",n="string"==typeof o?o.trim():o;return(0,i.z)(t)&&a&&n?{href:n,text:a,destinationLink:n}:null}function d({customizations:e={},resourceId:t}={}){let{show_divider:r}=e?.[t]??{};return(0,i.z)(r)}function s({customizations:e={},resourceId:t}={}){let{use_custom_title:r,custom_article_title:o}=e?.[t]??{},a="string"==typeof o?o.trim():"";return(0,i.z)(r)&&a?a:null}function p({customizations:e={},resourceId:t}={}){let{use_custom_dek:r,custom_article_dek:o}=e?.[t]??{},a="string"==typeof o?o.trim():"";return(0,i.z)(r)&&a?a:null}function m({customizations:e={},resourceId:t}={}){let{use_custom_label:r,custom_label:o}=e?.[t]??{},a="string"==typeof o?o.trim():"";return(0,i.z)(r)&&a?a:null}function g({customizations:e={},resourceId:t}={}){let{text_alignment:r}=e?.[t]??{};return"string"==typeof r&&r?r:null}},64406:(e,t,r)=>{r.d(t,{F5:()=>i,HT:()=>l,hZ:()=>n,j1:()=>a,kp:()=>o});let o="fre.left-rail-toc",i="commerce.enable-top-picks",a="fre.above-the-fold.topper.enable",n="fre.above-the-fold.mobile.enable",l=3},66288:(e,t,r)=>{let o,i,a;r.d(t,{a:()=>n,b:()=>l,c:()=>c});var n=((o=n||{}).development="https://nitehawk.kubefeature.hearstapps.net",o.feature="https://nitehawk.kubefeature.hearstapps.net",o.stage="https://stage-nitehawk.hearst.io",o.prod="https://nitehawk.hearst.io",o.production="https://nitehawk.hearst.io",o),l=((i=l||{}).embeds="embeds",i.playlists="playlists",i.videos="videos",i.videohub="hub",i),c=((a=c||{}).prefetched="prefetched",a.fetch="fetch",a)},66959:(e,t,r)=>{r.d(t,{a:()=>i,c:()=>n});var o=r(3780),i=(0,o.a)((e,t)=>{"object"==typeof e&&"u">
18typeof t?t.exports=function(e,t,r,o,i){for(t=t.split?t.split("."):t,o=0;o<t.length;o++)e=e?e[t[o]]:i;return e===i?r:e}:"function"==typeof define&&r.amdO?define(function(){return function(e,t,r,o,i){for(t=t.split?t.split("."):t,o=0;o<t.length;o++)e=e?e[t[o]]:i;return e===i?r:e}}):e.dlv=function(e,t,r,o,i){for(t=t.split?t.split("."):t,o=0;o<t.length;o++)e=e?e[t[o]]:i;return e===i?r:e}}),a=(0,o.b)(i(),1);function n(e){return function({isDisabled:e,publishFrom:t,publishTo:r}){let o,i,a,n;return!(e||r&&(o=new Date(r),i=new Date,o&&i>o))&&(a=new Date(t),n=new Date,!!a&&n>a)}({isDisabled:(0,a.default)(e,"is_disabled"),publishFrom:(0,a.default)(e,"publish_from"),publishTo:(0,a.default)(e,"publish_to")})}},70266:(e,t,r)=>{r.d(t,{a:()=>a});var o=r(16706),i=r(66959),a=class{constructor(e){this.playlist=e,this._videos=this.parseVideos()}get title(){return this.playlist.title}get description(){return this.playlist.description}get id(){return this.playlist.id}get videos(){return this._videos}set videos(e){this._videos=e}parseVideos(){return(this.playlist.videos||[]).filter(e=>(0,i.c)(e)).map(e=>new o.a(e))}}},87301:(e,t,r)=>{r.d(t,{$5:()=>U,$7:()=>V,$G:()=>O,$h:()=>z,Av:()=>_,DY:()=>A,EC:()=>L,Gf:()=>i,Hw:()=>S,I1:()=>m,K5:()=>w,L5:()=>j,Mp:()=>N,OD:()=>h,QQ:()=>T,Rz:()=>n,So:()=>P,Uc:()=>R,V2:()=>g,W$:()=>$,Wk:()=>E,Xf:()=>F,Zb:()=>C,Zu:()=>y,Zx:()=>o,aF:()=>I,ap:()=>v,bB:()=>D,d2:()=>b,dQ:()=>G,dR:()=>u,e4:()=>d,f2:()=>f,gj:()=>k,j4:()=>l,pt:()=>x,qD:()=>c,r4:()=>M,rJ:()=>a,rf:()=>p,uK:()=>B,zm:()=>s});let o=5,i=3,a=4,n=3,l=40,c=111,d=160,s=173,p=100,m=250,g=3,b="product_comparison_grid_desktop",u="product_comparison_grid_mobile",y="control",h="display_pc_grid",f="display_pc_grid_top_picks",v="page_view",_="viewable_product_impression",x="ProdClick",E="product_card_compare_click",O="product_grid_add_products_2",k="product_grid_add_products_3",w="product_grid_read_more",A="product_grid_maxmin_click",D="product_grid_quick_compare",I="product_grid_compare_click",S="product_comparison",T="product_card",P="comparison_grid",C="product-comparison-grid-viewable-impressions",N="action_bar",R="product_card",L={OPENED:"Product Comparison Opened",SELECTION_UPDATED:"Product Comparison Selection Updated",STARTED:"Product Comparison Started",SECTION_TOGGLED:"Product Comparison Section Toggled",ADD_SLOT_CLICKED:"Product Comparison Add Slot Clicked",BUYING_OPTIONS_OPENED:"Product Comparison Buying Options Opened",CLOSED:"Product Comparison Closed"},j={EDITORS_REVIEW:"editors_review",PROS_CONS:"pros_cons",KEY_SPECS:"key_specs",LAB_TEST:"lab_test"},M={EXPANDED:"expanded",COLLAPSED:"collapsed"},z="comparison_grid_entry_click",$="comparison_grid_add_click",U="comparison_grid_remove_click",V="comparison_grid_read_more_click",G="comparison_grid_toggle_click",F="comparison_grid_exit_click",B="comparison_grid_buying_options_click"},92944:(e,t,r)=>{r.d(t,{$:()=>o});function o(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,o,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var a=t.length;for(r=0;r<a;r++)t[r]&&(o=e(t[r]))&&(i&&(i+=" "),i+=o)}else for(o in t)t[o]&&(i&&(i+=" "),i+=o);return i}(e))&&(o&&(o+=" "),o+=t);return o}},94711:(e,t,r)=>{r.d(t,{j:()=>i});var o=r(71055);let i=(e,t,r)=>o.default.createElement("span",{key:r,className:t,"aria-hidden":!0},e)}}]);
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.