/*! For license information please see vendors.83ca6d71d7df1f5aa509.js.LICENSE.txt */ (self.webpackChunk_publicera_server=self.webpackChunk_publicera_server||[]).push([[96],{643:e=>{e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},1544:e=>{function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>i});var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const i=(a={},function(e){return void 0===a[e]&&(a[e]=(t=e,n.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),a[e];var t});var a},8673:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(2269),i=r(9360),a=r(6996),o=r(3932),s=r(1621),l=r(969),c=r.n(l),u=e=>{const{src:t,alt:r,className:l,prefix:u="",srcSet:d,sizes:h,loading:p="lazy",fallback:f=!1,...m}=e,[v,g]=(0,i.useState)(!1),[_,b]=(0,i.useState)(!1),y=(0,i.useRef)(null),x=c()(`${u}image`,(v||f)&&`${u}image--fallback`,l);(0,i.useEffect)((()=>{t&&g(!1)}),[t]),(0,i.useEffect)((()=>{if(y.current&&!_&&!v&&y.current.complete)if(y.current.naturalHeight){const e=new Event("load");y.current.dispatchEvent(e)}else{const e=new Event("error");y.current.dispatchEvent(e)}}),[]);let S=s.A;v&&(S=o.A);const w=(0,n.Y)("img",{ref:y,className:v||f?void 0:x,onError:e=>{y.current&&(g(!0),m.onError&&m.onError(e))},onLoad:e=>{y.current&&(b(!0),m.onLoad&&m.onLoad(e))},alt:r,src:t,srcSet:d,sizes:h,loading:p,...m});return v||f?(0,n.FD)("span",{className:x,children:[(0,n.Y)(a.A,{paths:S,className:`${u}image__icon`,prefix:u}),w]}):w}},9676:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getColorSettingCSSValue=t.BACKGROUND_COLOR_TO_TEXT_COLOR_MAP=t.createFixedColor=t.getTextColorFromBackgroundSettings=t.hasLightText=t.isFixedColor=t.isManualColor=t.PubliceraColorSettingType=t.getTextColor=t.PubliceraColor=t.COLORS=void 0;const i=r(5438),a=n(r(2070));var o,s,l;t.COLORS={neutral1:i.colourNeutral1,neutral2:i.colourNeutral2,neutral3:i.colourNeutral3,neutral5:i.colourNeutral5,neutral6:i.colourNeutral6,neutral7:i.colourNeutral7,textAndIcon1:i.colourTextAndIcon1,textAndIcon2:i.colourTextAndIcon2,textAndIcon4:i.colourTextAndIcon4,textAndIcon5:i.colourTextAndIcon5,neutralBlack:"#000000",staticBrandBlue:i.colourStaticIkeaBrandBlue,blackOpacity:"rgba(0,0,0,.8)",newProduct:i.colourCommercialMessageNew,campaignSustainability:i.colourCampaignSustainability,publiceraBlue:"#376999",interactivePrimaryBgPressed:i.colourInteractivePrimaryBgPressed,staticBlack:i.colourStaticBlack,staticWhite:i.colourStaticWhite,ikeaFamily:i.colourCommercialMessageIkeaFamily,newLowerPrice:i.colourCommercialMessageBtiRed,ourLowestPrice:i.colourCommercialMessageBtiRed,lowestPrice:i.colourCommercialMessageBtiYellow,shortLowestPrice:i.colourCommercialMessageBtiYellow,businessNetwork:i.colourStaticIkeaBusinessNetwork},function(e){e.BlackOpacity="blackOpacity",e.Neutral1="neutral1",e.Neutral2="neutral2",e.Neutral3="neutral3",e.Neutral5="neutral5",e.Neutral6="neutral6",e.Neutral7="neutral7",e.NeutralBlack="neutralBlack",e.StaticBrandBlue="staticBrandBlue",e.NewLowerPrice="newLowerPrice",e.OurLowestPrice="ourLowestPrice",e.LowestPrice="lowestPrice",e.ShortLowestPrice="shortLowestPrice",e.BusinessNetwork="businessNetwork",e.IkeaFamily="ikeaFamily",e.PubliceraBlue="publiceraBlue",e.CampaignSustainability="campaignSustainability",e.InteractivePrimaryBgPressed="interactivePrimaryBgPressed",e.StaticWhite="staticWhite",e.StaticBlack="staticBlack",e.NewProduct="newProduct",e.TextAndIcon1="textAndIcon1",e.TextAndIcon2="textAndIcon2",e.TextAndIcon4="textAndIcon4",e.TextAndIcon5="textAndIcon5"}(o||(t.PubliceraColor=o={})),function(e){e.Light="#FFFFFF",e.Dark="#111111"}(s||(s={})),t.getTextColor=e=>{const t=(0,a.default)(s.Light),r=(0,a.default)(s.Dark);let n;try{n=(0,a.default)(e)}catch(e){return s.Dark}const i=t.contrast(n),o=r.contrast(n);return i>=4.5&&i>o?s.Light:s.Dark},function(e){e.Fixed="fixed-color",e.Manual="manual-color"}(l||(t.PubliceraColorSettingType=l={})),t.isManualColor=e=>e.type===l.Manual,t.isFixedColor=e=>e.type===l.Fixed,t.hasLightText=e=>(0,t.isFixedColor)(e)&&(e.value===o.TextAndIcon5||e.value===o.StaticWhite)||(0,t.isManualColor)(e)&&e.value===s.Light,t.getTextColorFromBackgroundSettings=e=>{if((0,t.isFixedColor)(e)){const r=t.BACKGROUND_COLOR_TO_TEXT_COLOR_MAP[e.value]??o.TextAndIcon5;return(0,t.createFixedColor)(r)}return{type:l.Manual,value:(0,t.getTextColor)(e.value)}},t.createFixedColor=e=>({type:l.Fixed,value:e}),t.BACKGROUND_COLOR_TO_TEXT_COLOR_MAP={[o.Neutral1]:o.TextAndIcon1,[o.Neutral2]:o.TextAndIcon1,[o.Neutral7]:o.TextAndIcon5,[o.NewLowerPrice]:o.TextAndIcon5,[o.OurLowestPrice]:o.TextAndIcon5,[o.NewProduct]:o.TextAndIcon5,[o.IkeaFamily]:o.TextAndIcon5,[o.StaticBrandBlue]:o.StaticWhite,[o.BusinessNetwork]:o.StaticBlack,[o.LowestPrice]:o.StaticBlack,[o.ShortLowestPrice]:o.StaticBlack,[o.CampaignSustainability]:o.TextAndIcon5};const c={[o.BlackOpacity]:t.COLORS.blackOpacity,[o.BusinessNetwork]:t.COLORS.businessNetwork,[o.CampaignSustainability]:t.COLORS.campaignSustainability,[o.IkeaFamily]:t.COLORS.ikeaFamily,[o.InteractivePrimaryBgPressed]:t.COLORS.interactivePrimaryBgPressed,[o.LowestPrice]:t.COLORS.lowestPrice,[o.ShortLowestPrice]:t.COLORS.shortLowestPrice,[o.Neutral1]:t.COLORS.neutral1,[o.Neutral2]:t.COLORS.neutral2,[o.Neutral3]:t.COLORS.neutral3,[o.Neutral5]:t.COLORS.neutral5,[o.Neutral6]:t.COLORS.neutral6,[o.Neutral7]:t.COLORS.neutral7,[o.NeutralBlack]:t.COLORS.neutralBlack,[o.NewLowerPrice]:t.COLORS.newLowerPrice,[o.OurLowestPrice]:t.COLORS.ourLowestPrice,[o.NewProduct]:t.COLORS.newProduct,[o.PubliceraBlue]:t.COLORS.publiceraBlue,[o.StaticBlack]:t.COLORS.staticBlack,[o.StaticBrandBlue]:t.COLORS.staticBrandBlue,[o.StaticWhite]:t.COLORS.staticWhite,[o.TextAndIcon1]:t.COLORS.textAndIcon1,[o.TextAndIcon2]:t.COLORS.textAndIcon2,[o.TextAndIcon4]:t.COLORS.textAndIcon4,[o.TextAndIcon5]:t.COLORS.textAndIcon5};t.getColorSettingCSSValue=e=>e&&(0,t.isFixedColor)(e)?c[e.value]:e?.value??""},5438:e=>{e.exports={colourTextAndIcon1:"rgb(var(--colour-text-and-icon-1, 17, 17, 17))",colourTextAndIcon1Rgb:"var(--colour-text-and-icon-1, 17, 17, 17)",colourTextAndIcon2:"rgb(var(--colour-text-and-icon-2, 72, 72, 72))",colourTextAndIcon2Rgb:"var(--colour-text-and-icon-2, 72, 72, 72)",colourTextAndIcon3:"rgb(var(--colour-text-and-icon-3, 118, 118, 118))",colourTextAndIcon3Rgb:"var(--colour-text-and-icon-3, 118, 118, 118)",colourTextAndIcon4:"rgb(var(--colour-text-and-icon-4, 146, 146, 146))",colourTextAndIcon4Rgb:"var(--colour-text-and-icon-4, 146, 146, 146)",colourTextAndIcon5:"rgb(var(--colour-text-and-icon-5, 255, 255, 255))",colourTextAndIcon5Rgb:"var(--colour-text-and-icon-5, 255, 255, 255)",colourNeutral1:"rgb(var(--colour-neutral-1, 255, 255, 255))",colourNeutral1Rgb:"var(--colour-neutral-1, 255, 255, 255)",colourNeutral2:"rgb(var(--colour-neutral-2, 245, 245, 245))",colourNeutral2Rgb:"var(--colour-neutral-2, 245, 245, 245)",colourNeutral3:"rgb(var(--colour-neutral-3, 223, 223, 223))",colourNeutral3Rgb:"var(--colour-neutral-3, 223, 223, 223)",colourNeutral4:"rgb(var(--colour-neutral-4, 204, 204, 204))",colourNeutral4Rgb:"var(--colour-neutral-4, 204, 204, 204)",colourNeutral5:"rgb(var(--colour-neutral-5, 146, 146, 146))",colourNeutral5Rgb:"var(--colour-neutral-5, 146, 146, 146)",colourNeutral6:"rgb(var(--colour-neutral-6, 72, 72, 72))",colourNeutral6Rgb:"var(--colour-neutral-6, 72, 72, 72)",colourNeutral7:"rgb(var(--colour-neutral-7, 17, 17, 17))",colourNeutral7Rgb:"var(--colour-neutral-7, 17, 17, 17)",colourSemanticInformative:"rgb(var(--colour-semantic-informative, 0, 88, 163))",colourSemanticInformativeRgb:"var(--colour-semantic-informative, 0, 88, 163)",colourSemanticPositive:"rgb(var(--colour-semantic-positive, 10, 138, 0))",colourSemanticPositiveRgb:"var(--colour-semantic-positive, 10, 138, 0)",colourSemanticCaution:"rgb(var(--colour-semantic-caution, 242, 106, 47))",colourSemanticCautionRgb:"var(--colour-semantic-caution, 242, 106, 47)",colourSemanticNegative:"rgb(var(--colour-semantic-negative, 224, 7, 81))",colourSemanticNegativeRgb:"var(--colour-semantic-negative, 224, 7, 81)",colourInteractivePrimaryBgDefault:"rgb(var(--colour-interactive-primary-bg-default, 17, 17, 17))",colourInteractivePrimaryBgDefaultRgb:"var(--colour-interactive-primary-bg-default, 17, 17, 17)",colourInteractivePrimaryBgHover:"rgb(var(--colour-interactive-primary-bg-hover, 51, 51, 51))",colourInteractivePrimaryBgHoverRgb:"var(--colour-interactive-primary-bg-hover, 51, 51, 51)",colourInteractivePrimaryBgPressed:"rgb(var(--colour-interactive-primary-bg-pressed, 0, 0, 0))",colourInteractivePrimaryBgPressedRgb:"var(--colour-interactive-primary-bg-pressed, 0, 0, 0)",colourInteractiveEmphasisedBgDefault:"rgb(var(--colour-interactive-emphasised-bg-default, 0, 88, 163))",colourInteractiveEmphasisedBgDefaultRgb:"var(--colour-interactive-emphasised-bg-default, 0, 88, 163)",colourInteractiveEmphasisedBgHover:"rgb(var(--colour-interactive-emphasised-bg-hover, 0, 79, 147))",colourInteractiveEmphasisedBgHoverRgb:"var(--colour-interactive-emphasised-bg-hover, 0, 79, 147)",colourInteractiveEmphasisedBgPressed:"rgb(var(--colour-interactive-emphasised-bg-pressed, 0, 62, 114))",colourInteractiveEmphasisedBgPressedRgb:"var(--colour-interactive-emphasised-bg-pressed, 0, 62, 114)",colourInteractiveSecondaryBgDefault:"rgb(var(--colour-interactive-secondary-bg-default, 245, 245, 245))",colourInteractiveSecondaryBgDefaultRgb:"var(--colour-interactive-secondary-bg-default, 245, 245, 245)",colourInteractiveSecondaryBgHover:"rgb(var(--colour-interactive-secondary-bg-hover, 223, 223, 223))",colourInteractiveSecondaryBgHoverRgb:"var(--colour-interactive-secondary-bg-hover, 223, 223, 223)",colourInteractiveSecondaryBgPressed:"rgb(var(--colour-interactive-secondary-bg-pressed, 204, 204, 204))",colourInteractiveSecondaryBgPressedRgb:"var(--colour-interactive-secondary-bg-pressed, 204, 204, 204)",colourInteractiveSubtleBgDefault:"rgb(var(--colour-interactive-subtle-bg-default, 255, 255, 255))",colourInteractiveSubtleBgDefaultRgb:"var(--colour-interactive-subtle-bg-default, 255, 255, 255)",colourInteractiveSubtleBgHover:"rgb(var(--colour-interactive-subtle-bg-hover, 245, 245, 245))",colourInteractiveSubtleBgHoverRgb:"var(--colour-interactive-subtle-bg-hover, 245, 245, 245)",colourInteractiveSubtleBgPressed:"rgb(var(--colour-interactive-subtle-bg-pressed, 223, 223, 223))",colourInteractiveSubtleBgPressedRgb:"var(--colour-interactive-subtle-bg-pressed, 223, 223, 223)",colourInteractiveDestructiveBgDefault:"rgb(var(--colour-interactive-destructive-bg-default, 224, 7, 81))",colourInteractiveDestructiveBgDefaultRgb:"var(--colour-interactive-destructive-bg-default, 224, 7, 81)",colourInteractiveDestructiveBgHover:"rgb(var(--colour-interactive-destructive-bg-hover, 204, 0, 61))",colourInteractiveDestructiveBgHoverRgb:"var(--colour-interactive-destructive-bg-hover, 204, 0, 61)",colourInteractiveDestructiveBgPressed:"rgb(var(--colour-interactive-destructive-bg-pressed, 184, 0, 41))",colourInteractiveDestructiveBgPressedRgb:"var(--colour-interactive-destructive-bg-pressed, 184, 0, 41)",colourInteractiveDisabled1:"rgb(var(--colour-interactive-disabled-1, 223, 223, 223))",colourInteractiveDisabled1Rgb:"var(--colour-interactive-disabled-1, 223, 223, 223)",colourInteractiveDisabled2:"rgb(var(--colour-interactive-disabled-2, 146, 146, 146))",colourInteractiveDisabled2Rgb:"var(--colour-interactive-disabled-2, 146, 146, 146)",colourInteractiveDisabled3:"rgb(var(--colour-interactive-disabled-3, 255, 255, 255))",colourInteractiveDisabled3Rgb:"var(--colour-interactive-disabled-3, 255, 255, 255)",colourInteractiveEmphasisedBorderSelected:"rgb(var(--colour-interactive-emphasised-border-selected, 0, 88, 163))",colourInteractiveEmphasisedBorderSelectedRgb:"var(--colour-interactive-emphasised-border-selected, 0, 88, 163)",colourInteractiveSubtleBorderSelected:"rgb(var(--colour-interactive-subtle-border-selected, 17, 17, 17))",colourInteractiveSubtleBorderSelectedRgb:"var(--colour-interactive-subtle-border-selected, 17, 17, 17)",colourInteractiveSubtleBorderDefault:"rgb(var(--colour-interactive-subtle-border-default, 146, 146, 146))",colourInteractiveSubtleBorderDefaultRgb:"var(--colour-interactive-subtle-border-default, 146, 146, 146)",colourInteractiveSubtleBorderHover:"rgb(var(--colour-interactive-subtle-border-hover, 17, 17, 17))",colourInteractiveSubtleBorderHoverRgb:"var(--colour-interactive-subtle-border-hover, 17, 17, 17)",colourInteractiveSubtleBorderPressed:"rgb(var(--colour-interactive-subtle-border-pressed, 17, 17, 17))",colourInteractiveSubtleBorderPressedRgb:"var(--colour-interactive-subtle-border-pressed, 17, 17, 17)",colourInteractiveStaticPrimaryBgDefault:"rgb(var(--colour-interactive-static-primary-bg-default, 17, 17, 17))",colourInteractiveStaticPrimaryBgDefaultRgb:"var(--colour-interactive-static-primary-bg-default, 17, 17, 17)",colourInteractiveStaticPrimaryBgHover:"rgb(var(--colour-interactive-static-primary-bg-hover, 51, 51, 51))",colourInteractiveStaticPrimaryBgHoverRgb:"var(--colour-interactive-static-primary-bg-hover, 51, 51, 51)",colourInteractiveStaticPrimaryBgPressed:"rgb(var(--colour-interactive-static-primary-bg-pressed, 0, 0, 0))",colourInteractiveStaticPrimaryBgPressedRgb:"var(--colour-interactive-static-primary-bg-pressed, 0, 0, 0)",colourInteractiveStaticSecondaryBgDefault:"rgb(var(--colour-interactive-static-secondary-bg-default, 245, 245, 245))",colourInteractiveStaticSecondaryBgDefaultRgb:"var(--colour-interactive-static-secondary-bg-default, 245, 245, 245)",colourInteractiveStaticSecondaryBgHover:"rgb(var(--colour-interactive-static-secondary-bg-hover, 223, 223, 223))",colourInteractiveStaticSecondaryBgHoverRgb:"var(--colour-interactive-static-secondary-bg-hover, 223, 223, 223)",colourInteractiveStaticSecondaryBgPressed:"rgb(var(--colour-interactive-static-secondary-bg-pressed, 204, 204, 204))",colourInteractiveStaticSecondaryBgPressedRgb:"var(--colour-interactive-static-secondary-bg-pressed, 204, 204, 204)",colourStaticIkeaBrandBlue:"rgb(var(--colour-static-ikea-brand-blue, 0, 88, 163))",colourStaticIkeaBrandBlueRgb:"var(--colour-static-ikea-brand-blue, 0, 88, 163)",colourStaticIkeaBrandYellow:"rgb(var(--colour-static-ikea-brand-yellow, 255, 219, 0))",colourStaticIkeaBrandYellowRgb:"var(--colour-static-ikea-brand-yellow, 255, 219, 0)",colourStaticIkeaFamily:"rgb(var(--colour-static-ikea-family, 0, 124, 193))",colourStaticIkeaFamilyRgb:"var(--colour-static-ikea-family, 0, 124, 193)",colourStaticWhite:"rgb(var(--colour-static-white, 255, 255, 255))",colourStaticWhiteRgb:"var(--colour-static-white, 255, 255, 255)",colourStaticBlack:"rgb(var(--colour-static-black, 17, 17, 17))",colourStaticBlackRgb:"var(--colour-static-black, 17, 17, 17)",colourStaticDarkGrey:"rgb(var(--colour-static-dark-grey, 118, 118, 118))",colourStaticDarkGreyRgb:"var(--colour-static-dark-grey, 118, 118, 118)",colourStaticGrey:"rgb(var(--colour-static-grey, 223, 223, 223))",colourStaticGreyRgb:"var(--colour-static-grey, 223, 223, 223)",colourStaticLightGrey:"rgb(var(--colour-static-light-grey, 245, 245, 245))",colourStaticLightGreyRgb:"var(--colour-static-light-grey, 245, 245, 245)",colourStaticIkeaBusinessNetwork:"rgb(var(--colour-static-ikea-business-network, 222, 188, 156))",colourStaticIkeaBusinessNetworkRgb:"var(--colour-static-ikea-business-network, 222, 188, 156)",colourElevation1:"rgb(var(--colour-elevation-1, 255, 255, 255))",colourElevation1Rgb:"var(--colour-elevation-1, 255, 255, 255)",colourElevation2:"rgb(var(--colour-elevation-2, 255, 255, 255))",colourElevation2Rgb:"var(--colour-elevation-2, 255, 255, 255)",colourElevation3:"rgb(var(--colour-elevation-3, 17, 17, 17))",colourElevation3Rgb:"var(--colour-elevation-3, 17, 17, 17)",colourElevation1Border:"rgb(var(--colour-elevation-1-border, 223, 223, 223))",colourElevation1BorderRgb:"var(--colour-elevation-1-border, 223, 223, 223)",colourElevation2Border:"rgb(var(--colour-elevation-2-border, 72, 72, 72))",colourElevation2BorderRgb:"var(--colour-elevation-2-border, 72, 72, 72)",colourCommercialMessageNew:"rgb(var(--colour-commercial-message-new, 202, 80, 8))",colourCommercialMessageNewRgb:"var(--colour-commercial-message-new, 202, 80, 8)",colourCommercialMessageNewLowerPrice:"rgb(var(--colour-commercial-message-new-lower-price, 204, 0, 8))",colourCommercialMessageNewLowerPriceRgb:"var(--colour-commercial-message-new-lower-price, 204, 0, 8)",colourCommercialMessageIkeaFamily:"rgb(var(--colour-commercial-message-ikea-family, 0, 124, 193))",colourCommercialMessageIkeaFamilyRgb:"var(--colour-commercial-message-ikea-family, 0, 124, 193)",colourCommercialMessageBtiYellow:"rgb(var(--colour-commercial-message-bti-yellow, 255, 219, 0))",colourCommercialMessageBtiYellowRgb:"var(--colour-commercial-message-bti-yellow, 255, 219, 0)",colourCommercialMessageBtiRed:"rgb(var(--colour-commercial-message-bti-red, 204, 0, 8))",colourCommercialMessageBtiRedRgb:"var(--colour-commercial-message-bti-red, 204, 0, 8)",colourCampaignSustainability:"rgb(var(--colour-campaign-sustainability, 0, 133, 62))",colourCampaignSustainabilityRgb:"var(--colour-campaign-sustainability, 0, 133, 62)"}},4445:(e,t,r)=>{const n=r(6978),i={};for(const e of Object.keys(n))i[n[e]]=e;const a={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=a;for(const e of Object.keys(a)){if(!("channels"in a[e]))throw new Error("missing channels property: "+e);if(!("labels"in a[e]))throw new Error("missing channel labels property: "+e);if(a[e].labels.length!==a[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=a[e];delete a[e].channels,delete a[e].labels,Object.defineProperty(a[e],"channels",{value:t}),Object.defineProperty(a[e],"labels",{value:r})}a.rgb.hsl=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=a-i;let s,l;a===i?s=0:t===a?s=(r-n)/o:r===a?s=2+(n-t)/o:n===a&&(s=4+(t-r)/o),s=Math.min(60*s,360),s<0&&(s+=360);const c=(i+a)/2;return l=a===i?0:c<=.5?o/(a+i):o/(2-a-i),[s,100*l,100*c]},a.rgb.hsv=function(e){let t,r,n,i,a;const o=e[0]/255,s=e[1]/255,l=e[2]/255,c=Math.max(o,s,l),u=c-Math.min(o,s,l),d=function(e){return(c-e)/6/u+.5};return 0===u?(i=0,a=0):(a=u/c,t=d(o),r=d(s),n=d(l),o===c?i=n-r:s===c?i=1/3+t-n:l===c&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*a,100*c]},a.rgb.hwb=function(e){const t=e[0],r=e[1];let n=e[2];const i=a.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,100*o,100*n]},a.rgb.cmyk=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(1-t,1-r,1-n);return[100*((1-t-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*i]},a.rgb.keyword=function(e){const t=i[e];if(t)return t;let r,a=1/0;for(const t of Object.keys(n)){const i=(s=n[t],((o=e)[0]-s[0])**2+(o[1]-s[1])**2+(o[2]-s[2])**2);i.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,[100*(.4124*t+.3576*r+.1805*n),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},a.rgb.lab=function(e){const t=a.rgb.xyz(e);let r=t[0],n=t[1],i=t[2];return r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,[116*n-16,500*(r-n),200*(n-i)]},a.hsl.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;let i,a,o;if(0===r)return o=255*n,[o,o,o];i=n<.5?n*(1+r):n+r-n*r;const s=2*n-i,l=[0,0,0];for(let e=0;e<3;e++)a=t+1/3*-(e-1),a<0&&a++,a>1&&a--,o=6*a<1?s+6*(i-s)*a:2*a<1?i:3*a<2?s+(i-s)*(2/3-a)*6:s,l[e]=255*o;return l},a.hsl.hsv=function(e){const t=e[0];let r=e[1]/100,n=e[2]/100,i=r;const a=Math.max(n,.01);return n*=2,r*=n<=1?n:2-n,i*=a<=1?a:2-a,[t,100*(0===n?2*i/(a+i):2*r/(n+r)),(n+r)/2*100]},a.hsv.rgb=function(e){const t=e[0]/60,r=e[1]/100;let n=e[2]/100;const i=Math.floor(t)%6,a=t-Math.floor(t),o=255*n*(1-r),s=255*n*(1-r*a),l=255*n*(1-r*(1-a));switch(n*=255,i){case 0:return[n,l,o];case 1:return[s,n,o];case 2:return[o,n,l];case 3:return[o,s,n];case 4:return[l,o,n];case 5:return[n,o,s]}},a.hsv.hsl=function(e){const t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01);let a,o;o=(2-r)*n;const s=(2-r)*i;return a=r*i,a/=s<=1?s:2-s,a=a||0,o/=2,[t,100*a,100*o]},a.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100,n=e[2]/100;const i=r+n;let a;i>1&&(r/=i,n/=i);const o=Math.floor(6*t),s=1-n;a=6*t-o,1&o&&(a=1-a);const l=r+a*(s-r);let c,u,d;switch(o){default:case 6:case 0:c=s,u=l,d=r;break;case 1:c=l,u=s,d=r;break;case 2:c=r,u=s,d=l;break;case 3:c=r,u=l,d=s;break;case 4:c=l,u=r,d=s;break;case 5:c=s,u=r,d=l}return[255*c,255*u,255*d]},a.cmyk.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]},a.xyz.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100;let i,a,o;return i=3.2406*t+-1.5372*r+-.4986*n,a=-.9689*t+1.8758*r+.0415*n,o=.0557*t+-.204*r+1.057*n,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),[255*i,255*a,255*o]},a.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];return t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,[116*r-16,500*(t-r),200*(r-n)]},a.lab.xyz=function(e){let t,r,n;r=(e[0]+16)/116,t=e[1]/500+r,n=r-e[2]/200;const i=r**3,a=t**3,o=n**3;return r=i>.008856?i:(r-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,t*=95.047,r*=100,n*=108.883,[t,r,n]},a.lab.lch=function(e){const t=e[0],r=e[1],n=e[2];let i;return i=360*Math.atan2(n,r)/2/Math.PI,i<0&&(i+=360),[t,Math.sqrt(r*r+n*n),i]},a.lch.lab=function(e){const t=e[0],r=e[1],n=e[2]/360*2*Math.PI;return[t,r*Math.cos(n),r*Math.sin(n)]},a.rgb.ansi16=function(e,t=null){const[r,n,i]=e;let o=null===t?a.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),0===o)return 30;let s=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return 2===o&&(s+=60),s},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){const t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},a.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},a.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},a.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];3===t[0].length&&(r=r.split("").map((e=>e+e)).join(""));const n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},a.rgb.hcg=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),a=Math.min(Math.min(t,r),n),o=i-a;let s,l;return s=o<1?a/(1-o):0,l=o<=0?0:i===t?(r-n)/o%6:i===r?2+(n-t)/o:4+(t-r)/o,l/=6,l%=1,[360*l,100*o,100*s]},a.hsl.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r);let i=0;return n<1&&(i=(r-.5*n)/(1-n)),[e[0],100*n,100*i]},a.hsv.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=t*r;let i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},a.hcg.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];const i=[0,0,0],a=t%1*6,o=a%1,s=1-o;let l=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return l=(1-r)*n,[255*(r*i[0]+l),255*(r*i[1]+l),255*(r*i[2]+l)]},a.hcg.hsv=function(e){const t=e[1]/100,r=t+e[2]/100*(1-t);let n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},a.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},a.hcg.hwb=function(e){const t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},a.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,n=r-t;let i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=function(e){return[0,0,e[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},4896:(e,t,r)=>{const n=r(4445),i=r(4913),a={};Object.keys(n).forEach((e=>{a[e]={},Object.defineProperty(a[e],"channels",{value:n[e].channels}),Object.defineProperty(a[e],"labels",{value:n[e].labels});const t=i(e);Object.keys(t).forEach((r=>{const n=t[r];a[e][r]=function(e){const t=function(...t){const r=t[0];if(null==r)return r;r.length>1&&(t=r);const n=e(t);if("object"==typeof n)for(let e=n.length,t=0;t1&&(t=r),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))})),e.exports=a},4913:(e,t,r)=>{const n=r(4445);function i(e,t){return function(r){return t(e(r))}}function a(e,t){const r=[t[e].parent,e];let a=n[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)r.unshift(t[o].parent),a=i(n[t[o].parent][o],a),o=t[o].parent;return a.conversion=r,a}e.exports=function(e){const t=function(e){const t=function(){const e={},t=Object.keys(n);for(let r=t.length,n=0;n{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},6856:(e,t,r)=>{var n=r(6978),i=r(8222),a=Object.hasOwnProperty,o=Object.create(null);for(var s in n)a.call(n,s)&&(o[n[s]]=s);var l=e.exports={to:{},get:{}};function c(e,t,r){return Math.min(Math.max(t,e),r)}function u(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}l.get=function(e){var t,r;switch(e.substring(0,3).toLowerCase()){case"hsl":t=l.get.hsl(e),r="hsl";break;case"hwb":t=l.get.hwb(e),r="hwb";break;default:t=l.get.rgb(e),r="rgb"}return t?{model:r,value:t}:null},l.get.rgb=function(e){if(!e)return null;var t,r,i,o=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(i=t[2],t=t[1],r=0;r<3;r++){var s=2*r;o[r]=parseInt(t.slice(s,s+2),16)}i&&(o[3]=parseInt(i,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(i=(t=t[1])[3],r=0;r<3;r++)o[r]=parseInt(t[r]+t[r],16);i&&(o[3]=parseInt(i+i,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(r=0;r<3;r++)o[r]=parseInt(t[r+1],0);t[4]&&(t[5]?o[3]=.01*parseFloat(t[4]):o[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:a.call(n,t[1])?((o=n[t[1]])[3]=1,o):null:null;for(r=0;r<3;r++)o[r]=Math.round(2.55*parseFloat(t[r+1]));t[4]&&(t[5]?o[3]=.01*parseFloat(t[4]):o[3]=parseFloat(t[4]))}for(r=0;r<3;r++)o[r]=c(o[r],0,255);return o[3]=c(o[3],0,1),o},l.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(r)?1:r,0,1)]}return null},l.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(r)?1:r,0,1)]}return null},l.to.hex=function(){var e=i(arguments);return"#"+u(e[0])+u(e[1])+u(e[2])+(e[3]<1?u(Math.round(255*e[3])):"")},l.to.rgb=function(){var e=i(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},l.to.rgb.percent=function(){var e=i(arguments),t=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),n=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+r+"%, "+n+"%)":"rgba("+t+"%, "+r+"%, "+n+"%, "+e[3]+")"},l.to.hsl=function(){var e=i(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},l.to.hwb=function(){var e=i(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},l.to.keyword=function(e){return o[e.slice(0,3)]}},2070:(e,t,r)=>{const n=r(6856),i=r(4896),a=["keyword","gray","hex"],o={};for(const e of Object.keys(i))o[[...i[e].labels].sort().join("")]=e;const s={};function l(e,t){if(!(this instanceof l))return new l(e,t);if(t&&t in a&&(t=null),t&&!(t in i))throw new Error("Unknown model: "+t);let r,c;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof l)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const t=n.get(e);if(null===t)throw new Error("Unable to parse color from string: "+e);this.model=t.model,c=i[this.model].channels,this.color=t.value.slice(0,c),this.valpha="number"==typeof t.value[c]?t.value[c]:1}else if(e.length>0){this.model=t||"rgb",c=i[this.model].channels;const r=Array.prototype.slice.call(e,0,c);this.color=h(r,c),this.valpha="number"==typeof e[c]?e[c]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const n=t.sort().join("");if(!(n in o))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=o[n];const{labels:a}=i[this.model],s=[];for(r=0;r(e%360+360)%360)),saturationl:u("hsl",1,d(100)),lightness:u("hsl",2,d(100)),saturationv:u("hsv",1,d(100)),value:u("hsv",2,d(100)),chroma:u("hcg",1,d(100)),gray:u("hcg",2,d(100)),white:u("hwb",1,d(100)),wblack:u("hwb",2,d(100)),cyan:u("cmyk",0,d(100)),magenta:u("cmyk",1,d(100)),yellow:u("cmyk",2,d(100)),black:u("cmyk",3,d(100)),x:u("xyz",0,d(95.047)),y:u("xyz",1,d(100)),z:u("xyz",2,d(108.833)),l:u("lab",0,d(100)),a:u("lab",1),b:u("lab",2),keyword(e){return void 0!==e?new l(e):i[this.model].keyword(this.color)},hex(e){return void 0!==e?new l(e):n.to.hex(this.rgb().round().color)},hexa(e){if(void 0!==e)return new l(e);const t=this.rgb().round().color;let r=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===r.length&&(r="0"+r),n.to.hex(t)+r},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,t=[];for(const[r,n]of e.entries()){const e=n/255;t[r]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return l.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let r=t.color[0];return r=(r+e)%360,r=r<0?360+r:r,t.color[0]=r,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const r=e.rgb(),n=this.rgb(),i=void 0===t?.5:t,a=2*i-1,o=r.alpha()-n.alpha(),s=((a*o==-1?a:(a+o)/(1+a*o))+1)/2,c=1-s;return l.rgb(s*r.red()+c*n.red(),s*r.green()+c*n.green(),s*r.blue()+c*n.blue(),r.alpha()*i+n.alpha()*(1-i))}};for(const e of Object.keys(i)){if(a.includes(e))continue;const{channels:t}=i[e];l.prototype[e]=function(...t){return this.model===e?new l(this):t.length>0?new l(t,e):new l([...(r=i[this.model][e].raw(this.color),Array.isArray(r)?r:[r]),this.valpha],e);var r},l[e]=function(...r){let n=r[0];return"number"==typeof n&&(n=h(r,t)),new l(n,e)}}function c(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}function u(e,t,r){e=Array.isArray(e)?e:[e];for(const n of e)(s[n]||(s[n]=[]))[t]=r;return e=e[0],function(n){let i;return void 0!==n?(r&&(n=r(n)),i=this[e](),i.color[t]=n,i):(i=this[e]().color[t],r&&(i=r(i)),i)}}function d(e){return function(t){return Math.max(0,Math.min(e,t))}}function h(e,t){for(let r=0;r{e.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},8222:(e,t,r)=>{"use strict";var n=r(6009),i=Array.prototype.concat,a=Array.prototype.slice,o=e.exports=function(e){for(var t=[],r=0,o=e.length;r{"use strict";var r,n,i,a,o,s,l;t.Jq=void 0,function(e){e.Any="",e.Image="image",e.Video="video"}(r||(r={})),function(e){e.Any="",e.Square="1:1",e.ThreeFour="3:4",e.FourThree="4:3",e.SixteenNine="16:9"}(n||(t.Jq=n={})),function(e){e.fileName="fileName",e.productName="productName",e.productNumber="productNumber"}(i||(i={})),function(e){e.Any="",e.Livingroom="living room",e.Bedroom="bedroom",e.Kitchen="kitchen",e.ChildrensRoom="childrens room",e.Outdoor="outdoor",e.Bathroom="bathroom",e.Hallway="hallway",e.HomeOffice="home_office",e.Laundry="laundry"}(a||(a={})),function(e){e.Any="",e.PNG="png",e.JPG="jpg",e.JPEG="jpeg",e.MP4="mp4",e.SVG="svg"}(o||(o={})),function(e){e.None="none",e.Date="date",e.Filename="filename"}(s||(s={})),function(e){e.Ascending="asc",e.Descending="desc"}(l||(l={}))},1737:(e,t)=>{"use strict";t.HO=t.wU=void 0,t.wU={"www.ikea.com":"fragments.cdn.ingka.com","www.cte.ikeadt.com":"cte-fragments.cdn.ingka.com","www.ppe.ikeadt.com":"ppe-fragments.cdn.ingka.com","country-zero.ikea.com":"c0-fragments.cdn.ingka.com"},t.HO=e=>{try{const r=new URL(e);if(r.pathname.startsWith("/ext"))return r.toString();const n=t.wU[r.hostname];return n&&(r.hostname=n),r.toString()}catch(t){return e}}},4514:(e,t)=>{"use strict";t.ZM=t.kG=void 0,t.kG=e=>!/(^\/)|({if(e)return(e=>{try{return"preowned.ikea.com"===new URL(e).host}catch(e){return!1}})(e)?"nofollow":(e=>{try{const t=new URL(e);return"taskrabbit.com"===t.host||"www.taskrabbit.com"===t.host}catch(e){return!1}})(e)?"nofollow noopener":(0,t.kG)(e)?"nofollow noopener noreferrer":void 0}},3381:(e,t)=>{"use strict";t.O=void 0,t.O=e=>null!=e},7922:(e,t)=>{"use strict";t.A=void 0,t.A=e=>Array.from(new Set(e))},4284:e=>{var t=.1,r="function"==typeof Float32Array;function n(e,t){return 1-3*t+3*e}function i(e,t){return 3*t-6*e}function a(e){return 3*e}function o(e,t,r){return((n(t,r)*e+i(t,r))*e+a(t))*e}function s(e,t,r){return 3*n(t,r)*e*e+2*i(t,r)*e+a(t)}function l(e){return e}e.exports=function(e,n,i,a){if(!(0<=e&&e<=1&&0<=i&&i<=1))throw new Error("bezier x values must be in [0, 1] range");if(e===n&&i===a)return l;for(var c=r?new Float32Array(11):new Array(11),u=0;u<11;++u)c[u]=o(u*t,e,i);return function(r){return 0===r?0:1===r?1:o(function(r){for(var n=0,a=1;10!==a&&c[a]<=r;++a)n+=t;--a;var l=n+(r-c[a])/(c[a+1]-c[a])*t,u=s(l,e,i);return u>=.001?function(e,t,r,n){for(var i=0;i<4;++i){var a=s(t,r,n);if(0===a)return t;t-=(o(t,r,n)-e)/a}return t}(r,l,e,i):0===u?l:function(e,t,r,n,i){var a,s,l=0;do{(a=o(s=t+(r-t)/2,n,i)-e)>0?r=s:t=s}while(Math.abs(a)>1e-7&&++l<10);return s}(r,n,n+t,e,i)}(r),n,a)}}},1518:e=>{var t=.1,r="function"==typeof Float32Array;function n(e,t){return 1-3*t+3*e}function i(e,t){return 3*t-6*e}function a(e){return 3*e}function o(e,t,r){return((n(t,r)*e+i(t,r))*e+a(t))*e}function s(e,t,r){return 3*n(t,r)*e*e+2*i(t,r)*e+a(t)}function l(e){return e}e.exports=function(e,n,i,a){if(!(0<=e&&e<=1&&0<=i&&i<=1))throw new Error("bezier x values must be in [0, 1] range");if(e===n&&i===a)return l;for(var c=r?new Float32Array(11):new Array(11),u=0;u<11;++u)c[u]=o(u*t,e,i);return function(r){return 0===r?0:1===r?1:o(function(r){for(var n=0,a=1;10!==a&&c[a]<=r;++a)n+=t;--a;var l=n+(r-c[a])/(c[a+1]-c[a])*t,u=s(l,e,i);return u>=.001?function(e,t,r,n){for(var i=0;i<4;++i){var a=s(t,r,n);if(0===a)return t;t-=(o(t,r,n)-e)/a}return t}(r,l,e,i):0===u?l:function(e,t,r,n,i){var a,s,l=0;do{(a=o(s=t+(r-t)/2,n,i)-e)>0?r=s:t=s}while(Math.abs(a)>1e-7&&++l<10);return s}(r,n,n+t,e,i)}(r),n,a)}}},1823:()=>{},353:()=>{},9079:()=>{},1177:()=>{},5767:()=>{},3330:()=>{},4247:()=>{},2248:()=>{},1236:()=>{},260:()=>{},9704:()=>{},8117:()=>{},7643:()=>{},6063:()=>{},1972:()=>{},1290:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={h1:"pub__h1",h2:"pub__h2",h3:"pub__h3",h4:"pub__h4",h5:"pub__h5",h6:"pub__h6"}},7253:()=>{},1227:e=>{"use strict";e.exports=function(){throw new Error('Using the "css" tag in runtime is not supported. Make sure you have set up the Babel plugin correctly.')}},4933:e=>{"use strict";e.exports=function(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";t.css=r(1227),t.cx=r(4933)},7630:(e,t,r)=>{"use strict";t.styled=r(4315)},4315:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n=0||(i[r]=e[r]);return i}r(1897);var i=r(9360),a=r(903).default,o=r(3022).cx;e.exports=function(e){return function(t){var r=function(r,s){var l,c=r.as,u=void 0===c?e:c,d=r.class,h=n(r,["as","class"]);if("string"==typeof u&&-1===u.indexOf("-"))for(var p in l={},h)("as"===p||a(p))&&(l[p]=h[p]);else l=h;l.ref=s,l.className=o(l.className||d,t.class);var f=t.vars;if(f){var m={};for(var v in f){var g=f[v],_=g[0],b=g[1],y=void 0===b?"":b,x="function"==typeof _?_(r):_;t.name,m["--"+v]=""+x+y}l.style=Object.assign(m,l.style)}return e.__linaria&&e!==u?(l.as=u,i.createElement(e,l)):i.createElement(u,l)},s=i.forwardRef?i.forwardRef(r):function(e){var t=e.innerRef,i=n(e,["innerRef"]);return r(i,t)};return s.displayName=t.name,s.__linaria={className:t.class,extends:e},s}}},4601:(e,t,r)=>{e.exports=r(7630)},9360:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Children:()=>W,Component:()=>s.uA,Fragment:()=>s.FK,PureComponent:()=>F,StrictMode:()=>Pe,Suspense:()=>G,SuspenseList:()=>J,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>ye,cloneElement:()=>$e,createContext:()=>s.q6,createElement:()=>s.n,createFactory:()=>Se,createPortal:()=>re,createRef:()=>s._3,default:()=>Fe,findDOMNode:()=>Ce,flushSync:()=>Ae,forwardRef:()=>V,hydrate:()=>ue,isElement:()=>Me,isFragment:()=>ke,isValidElement:()=>we,lazy:()=>Q,memo:()=>B,render:()=>ce,startTransition:()=>Ye,unmountComponentAtNode:()=>Ne,unstable_batchedUpdates:()=>Ie,useCallback:()=>k,useContext:()=>$,useDebugValue:()=>N,useDeferredValue:()=>Le,useEffect:()=>b,useErrorBoundary:()=>C,useId:()=>I,useImperativeHandle:()=>S,useInsertionEffect:()=>Oe,useLayoutEffect:()=>y,useMemo:()=>w,useReducer:()=>_,useRef:()=>x,useState:()=>g,useSyncExternalStore:()=>Re,useTransition:()=>Ee,version:()=>xe});var n,i,a,o,s=r(8727),l=0,c=[],u=[],d=s.fF.__b,h=s.fF.__r,p=s.fF.diffed,f=s.fF.__c,m=s.fF.unmount;function v(e,t){s.fF.__h&&s.fF.__h(i,e,l||t),l=0;var r=i.__H||(i.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:u}),r.__[e]}function g(e){return l=1,_(M,e)}function _(e,t,r){var a=v(n++,2);if(a.t=e,!a.__c&&(a.__=[r?r(t):M(void 0,t),function(e){var t=a.__N?a.__N[0]:a.__[0],r=a.t(t,e);t!==r&&(a.__N=[r,a.__[1]],a.__c.setState({}))}],a.__c=i,!i.u)){var o=function(e,t,r){if(!a.__c.__H)return!0;var n=a.__c.__H.__.filter((function(e){return e.__c}));if(n.every((function(e){return!e.__N})))return!s||s.call(this,e,t,r);var i=!1;return n.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}})),!(!i&&a.__c.props===e)&&(!s||s.call(this,e,t,r))};i.u=!0;var s=i.shouldComponentUpdate,l=i.componentWillUpdate;i.componentWillUpdate=function(e,t,r){if(this.__e){var n=s;s=void 0,o(e,t,r),s=n}l&&l.call(this,e,t,r)},i.shouldComponentUpdate=o}return a.__N||a.__}function b(e,t){var r=v(n++,3);!s.fF.__s&&O(r.__H,t)&&(r.__=e,r.i=t,i.__H.__h.push(r))}function y(e,t){var r=v(n++,4);!s.fF.__s&&O(r.__H,t)&&(r.__=e,r.i=t,i.__h.push(r))}function x(e){return l=5,w((function(){return{current:e}}),[])}function S(e,t,r){l=6,y((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==r?r:r.concat(e))}function w(e,t){var r=v(n++,7);return O(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function k(e,t){return l=8,w((function(){return e}),t)}function $(e){var t=i.context[e.__c],r=v(n++,9);return r.c=e,t?(null==r.__&&(r.__=!0,t.sub(i)),t.props.value):e.__}function N(e,t){s.fF.useDebugValue&&s.fF.useDebugValue(t?t(e):e)}function C(e){var t=v(n++,10),r=g();return t.__=e,i.componentDidCatch||(i.componentDidCatch=function(e,n){t.__&&t.__(e,n),r[1](e)}),[r[0],function(){r[1](void 0)}]}function I(){var e=v(n++,11);if(!e.__){for(var t=i.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function A(){for(var e;e=c.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(L),e.__H.__h.forEach(E),e.__H.__h=[]}catch(t){e.__H.__h=[],s.fF.__e(t,e.__v)}}s.fF.__b=function(e){i=null,d&&d(e)},s.fF.__r=function(e){h&&h(e),n=0;var t=(i=e.__c).__H;t&&(a===i?(t.__h=[],i.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=u,e.__N=e.i=void 0}))):(t.__h.forEach(L),t.__h.forEach(E),t.__h=[],n=0)),a=i},s.fF.diffed=function(e){p&&p(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==c.push(t)&&o===s.fF.requestAnimationFrame||((o=s.fF.requestAnimationFrame)||Y)(A)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==u&&(e.__=e.__V),e.i=void 0,e.__V=u}))),a=i=null},s.fF.__c=function(e,t){t.some((function(e){try{e.__h.forEach(L),e.__h=e.__h.filter((function(e){return!e.__||E(e)}))}catch(r){t.some((function(e){e.__h&&(e.__h=[])})),t=[],s.fF.__e(r,e.__v)}})),f&&f(e,t)},s.fF.unmount=function(e){m&&m(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{L(e)}catch(e){t=e}})),r.__H=void 0,t&&s.fF.__e(t,r.__v))};var P="function"==typeof requestAnimationFrame;function Y(e){var t,r=function(){clearTimeout(n),P&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);P&&(t=requestAnimationFrame(r))}function L(e){var t=i,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),i=t}function E(e){var t=i;e.__c=e.__(),i=t}function O(e,t){return!e||e.length!==t.length||t.some((function(t,r){return t!==e[r]}))}function M(e,t){return"function"==typeof t?t(e):t}function R(e,t){for(var r in t)e[r]=t[r];return e}function D(e,t){for(var r in e)if("__source"!==r&&!(r in t))return!0;for(var n in t)if("__source"!==n&&e[n]!==t[n])return!0;return!1}function F(e){this.props=e}function B(e,t){function r(e){var r=this.props.ref,n=r==e.ref;return!n&&r&&(r.call?r(null):r.current=null),t?!t(this.props,e)||!n:D(this.props,e)}function n(t){return this.shouldComponentUpdate=r,(0,s.n)(e,t)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(F.prototype=new s.uA).isPureReactComponent=!0,F.prototype.shouldComponentUpdate=function(e,t){return D(this.props,e)||D(this.state,t)};var T=s.fF.__b;s.fF.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),T&&T(e)};var z="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function V(e){function t(t){var r=R({},t);return delete r.ref,e(r,t.ref||null)}return t.$$typeof=z,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var H=function(e,t){return null==e?null:(0,s.v2)((0,s.v2)(e).map(t))},W={map:H,forEach:H,count:function(e){return e?(0,s.v2)(e).length:0},only:function(e){var t=(0,s.v2)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:s.v2},U=s.fF.__e;s.fF.__e=function(e,t,r,n){if(e.then)for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return null==t.__e&&(t.__e=r.__e,t.__k=r.__k),i.__c(e,t);U(e,t,r,n)};var j=s.fF.unmount;function K(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=R({},e)).__c&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return K(e,t,r)}))),e}function q(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return q(e,t,r)})),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function G(){this.__u=0,this.t=null,this.__b=null}function X(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Q(e){var t,r,n;function i(i){if(t||(t=e()).then((function(e){r=e.default||e}),(function(e){n=e})),n)throw n;if(!r)throw t;return(0,s.n)(r,i)}return i.displayName="Lazy",i.__f=!0,i}function J(){this.u=null,this.o=null}s.fF.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),j&&j(e)},(G.prototype=new s.uA).__c=function(e,t){var r=t.__c,n=this;null==n.t&&(n.t=[]),n.t.push(r);var i=X(n.__v),a=!1,o=function(){a||(a=!0,r.__R=null,i?i(s):s())};r.__R=o;var s=function(){if(! --n.__u){if(n.state.__a){var e=n.state.__a;n.__v.__k[0]=q(e,e.__c.__P,e.__c.__O)}var t;for(n.setState({__a:n.__b=null});t=n.t.pop();)t.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(o,o)},G.prototype.componentWillUnmount=function(){this.t=[]},G.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=K(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&(0,s.n)(s.FK,null,e.fallback);return i&&(i.__u&=-33),[(0,s.n)(s.FK,null,t.__a?null:e.children),i]};var Z=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]>>1,1),t.i.removeChild(e)}}),(0,s.XX)((0,s.n)(ee,{context:t.context},e.__v),t.l)}function re(e,t){var r=(0,s.n)(te,{__v:e,i:t});return r.containerInfo=t,r}(J.prototype=new s.uA).__a=function(e){var t=this,r=X(t.__v),n=t.o.get(e);return n[0]++,function(i){var a=function(){t.props.revealOrder?(n.push(i),Z(t,e,n)):i()};r?r(a):a()}},J.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,s.v2)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},J.prototype.componentDidUpdate=J.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,r){Z(e,r,t)}))};var ne="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ie=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ae=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,oe=/[A-Z0-9]/g,se="undefined"!=typeof document,le=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function ce(e,t,r){return null==t.__k&&(t.textContent=""),(0,s.XX)(e,t),"function"==typeof r&&r(),e?e.__c:null}function ue(e,t,r){return(0,s.Qv)(e,t),"function"==typeof r&&r(),e?e.__c:null}s.uA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(s.uA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var de=s.fF.event;function he(){}function pe(){return this.cancelBubble}function fe(){return this.defaultPrevented}s.fF.event=function(e){return de&&(e=de(e)),e.persist=he,e.isPropagationStopped=pe,e.isDefaultPrevented=fe,e.nativeEvent=e};var me,ve={enumerable:!1,configurable:!0,get:function(){return this.class}},ge=s.fF.vnode;s.fF.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,r=e.type,n={};for(var i in t){var a=t[i];if(!("value"===i&&"defaultValue"in t&&null==a||se&&"children"===i&&"noscript"===r||"class"===i||"className"===i)){var o=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===a?a="":"ondoubleclick"===o?i="ondblclick":"onchange"!==o||"input"!==r&&"textarea"!==r||le(t.type)?"onfocus"===o?i="onfocusin":"onblur"===o?i="onfocusout":ae.test(i)?i=o:-1===r.indexOf("-")&&ie.test(i)?i=i.replace(oe,"-$&").toLowerCase():null===a&&(a=void 0):o=i="oninput","oninput"===o&&n[i=o]&&(i="oninputCapture"),n[i]=a}}"select"==r&&n.multiple&&Array.isArray(n.value)&&(n.value=(0,s.v2)(t.children).forEach((function(e){e.props.selected=-1!=n.value.indexOf(e.props.value)}))),"select"==r&&null!=n.defaultValue&&(n.value=(0,s.v2)(t.children).forEach((function(e){e.props.selected=n.multiple?-1!=n.defaultValue.indexOf(e.props.value):n.defaultValue==e.props.value}))),t.class&&!t.className?(n.class=t.class,Object.defineProperty(n,"className",ve)):(t.className&&!t.class||t.class&&t.className)&&(n.class=n.className=t.className),e.props=n}(e),e.$$typeof=ne,ge&&ge(e)};var _e=s.fF.__r;s.fF.__r=function(e){_e&&_e(e),me=e.__c};var be=s.fF.diffed;s.fF.diffed=function(e){be&&be(e);var t=e.props,r=e.__e;null!=r&&"textarea"===e.type&&"value"in t&&t.value!==r.value&&(r.value=null==t.value?"":t.value),me=null};var ye={ReactCurrentDispatcher:{current:{readContext:function(e){return me.__n[e.__c].props.value}}}},xe="17.0.2";function Se(e){return s.n.bind(null,e)}function we(e){return!!e&&e.$$typeof===ne}function ke(e){return we(e)&&e.type===s.FK}function $e(e){return we(e)?s.Ob.apply(null,arguments):e}function Ne(e){return!!e.__k&&((0,s.XX)(null,e),!0)}function Ce(e){return e&&(e.base||1===e.nodeType&&e)||null}var Ie=function(e,t){return e(t)},Ae=function(e,t){return e(t)},Pe=s.FK;function Ye(e){e()}function Le(e){return e}function Ee(){return[!1,Ye]}var Oe=y,Me=we;function Re(e,t){var r=t(),n=g({h:{__:r,v:t}}),i=n[0].h,a=n[1];return y((function(){i.__=r,i.v=t,De(i)&&a({h:i})}),[e,r,t]),b((function(){return De(i)&&a({h:i}),e((function(){De(i)&&a({h:i})}))}),[e]),r}function De(e){var t,r,n=e.v,i=e.__;try{var a=n();return!((t=i)===(r=a)&&(0!==t||1/t==1/r)||t!=t&&r!=r)}catch(e){return!0}}var Fe={useState:g,useId:I,useReducer:_,useEffect:b,useLayoutEffect:y,useInsertionEffect:Oe,useTransition:Ee,useDeferredValue:Le,useSyncExternalStore:Re,startTransition:Ye,useRef:x,useImperativeHandle:S,useMemo:w,useCallback:k,useContext:$,useDebugValue:N,version:"17.0.2",Children:W,render:ce,hydrate:ue,unmountComponentAtNode:Ne,createPortal:re,createElement:s.n,createContext:s.q6,createFactory:Se,cloneElement:$e,createRef:s._3,Fragment:s.FK,isValidElement:we,isElement:Me,isFragment:ke,findDOMNode:Ce,Component:s.uA,PureComponent:F,memo:B,forwardRef:V,flushSync:Ae,unstable_batchedUpdates:Ie,StrictMode:Pe,Suspense:G,SuspenseList:J,lazy:Q,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ye}},8727:(e,t,r)=>{"use strict";r.d(t,{FK:()=>y,Ob:()=>H,Qv:()=>V,XX:()=>z,_3:()=>b,fF:()=>i,n:()=>g,q6:()=>W,uA:()=>x,v2:()=>A});var n,i,a,o,s,l,c,u,d={},h=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,f=Array.isArray;function m(e,t){for(var r in t)e[r]=t[r];return e}function v(e){var t=e.parentNode;t&&t.removeChild(e)}function g(e,t,r){var i,a,o,s={};for(o in t)"key"==o?i=t[o]:"ref"==o?a=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?n.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===s[o]&&(s[o]=e.defaultProps[o]);return _(e,s,i,a,null)}function _(e,t,r,n,o){var s={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==o?++a:o,__i:-1,__u:0};return null==o&&null!=i.vnode&&i.vnode(s),s}function b(){return{current:null}}function y(e){return e.children}function x(e,t){this.props=e,this.context=t}function S(e,t){if(null==t)return e.__?S(e.__,e.__i+1):null;for(var r;tt&&o.sort(c));$.__r=0}function N(e,t,r,n,i,a,o,s,l,c,u){var p,f,m,v,g,_=n&&n.__k||h,b=t.length;for(r.__d=l,C(r,t,_),l=r.__d,p=0;p0?_(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)?(i.__=e,i.__b=e.__b+1,s=P(i,r,o=n+d,u),i.__i=s,a=null,-1!==s&&(u--,(a=r[s])&&(a.__u|=131072)),null==a||null===a.__v?(-1==s&&d--,"function"!=typeof i.type&&(i.__u|=65536)):s!==o&&(s===o+1?d++:s>o?u>l-o?d+=s-o:d--:d=s(null==l||131072&l.__u?0:1))for(;o>=0||s=0){if((l=t[o])&&!(131072&l.__u)&&i==l.key&&a===l.type)return o;o--}if(s2&&(l.children=arguments.length>3?n.call(arguments,2):r),_(e.type,l,i||e.key,a||e.ref,null)}function W(e,t){var r={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var r,n;return this.getChildContext||(r=[],(n={})[t]=this,this.getChildContext=function(){return n},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&r.some((function(e){e.__e=!0,k(e)}))},this.sub=function(e){r.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){r.splice(r.indexOf(e),1),t&&t.call(e)}}),e.children}};return r.Provider.__=r.Consumer.contextType=r}n=h.slice,i={__e:function(e,t,r,n){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&null!=a.getDerivedStateFromError&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,n||{}),o=i.__d),o)return i.__E=i}catch(t){e=t}throw e}},a=0,x.prototype.setState=function(e,t){var r;r=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof e&&(e=e(m({},r),this.props)),e&&m(r,e),null!=e&&this.__v&&(t&&this._sb.push(t),k(this))},x.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),k(this))},x.prototype.render=y,o=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(e,t){return e.__v.__b-t.__v.__b},$.__r=0,u=0},4806:(e,t,r)=>{var n;(n="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)||"undefined"!=typeof navigator&&"ReactNative"===navigator.product?r.g:self).Proxy||(n.Proxy=function(){function e(){return null}function t(e){return!!e&&("object"==typeof e||"function"==typeof e)}function r(e){if(null!==e&&!t(e))throw new TypeError("Object prototype may only be an Object or null: "+e)}var n=null,i=Object,a=!(!i.create&&{__proto__:null}instanceof i),o=i.create||(a?function(e){return r(e),{__proto__:e}}:function(e){function t(){}if(r(e),null===e)throw new SyntaxError("Native Object.create is required to create objects with null prototype");return t.prototype=e,new t}),s=i.getPrototypeOf||([].__proto__===Array.prototype?function(e){return t(e=e.__proto__)?e:null}:e),l=function(c,u){function d(){}if(void 0===(this&&this instanceof l?this.constructor:void 0))throw new TypeError("Constructor Proxy requires 'new'");if(!t(c)||!t(u))throw new TypeError("Cannot create proxy with a non-object as target or handler");n=function(){c=null,d=function(e){throw new TypeError("Cannot perform '"+e+"' on a proxy that has been revoked")}},setTimeout((function(){n=null}),0);var h=u;for(var p in u={get:null,set:null,apply:null,construct:null},h){if(!(p in u))throw new TypeError("Proxy polyfill does not support trap '"+p+"'");u[p]=h[p]}"function"==typeof h&&(u.apply=h.apply.bind(h)),h=s(c);var f=!1,m=!1;if("function"==typeof c){var v=function(){var e=this&&this.constructor===v,t=Array.prototype.slice.call(arguments);return d(e?"construct":"apply"),e&&u.construct?u.construct.call(this,c,t):!e&&u.apply?u.apply(c,this,t):e?(t.unshift(c),new(c.bind.apply(c,t))):c.apply(this,t)};f=!0}else c instanceof Array?(v=[],m=!0):v=a||null!==h?o(h):{};var g=u.get?function(e){return d("get"),u.get(this,e,v)}:function(e){return d("get"),this[e]},_=u.set?function(e,t){d("set"),u.set(this,e,t,v)}:function(e,t){d("set"),this[e]=t},b={};if(i.getOwnPropertyNames(c).forEach((function(e){if(!f&&!m||!(e in v)){var t=i.getOwnPropertyDescriptor(c,e);i.defineProperty(v,e,{enumerable:!!t.enumerable,get:g.bind(c,e),set:_.bind(c,e)}),b[e]=!0}})),p=!0,f||m){var y=i.setPrototypeOf||([].__proto__===Array.prototype?function(e,t){return r(t),e.__proto__=t,e}:e);h&&y(v,h)||(p=!1)}if(u.get||!p)for(var x in c)b[x]||i.defineProperty(v,x,{get:g.bind(c,x)});return i.seal(c),i.seal(v),v};return l.revocable=function(e,t){return{proxy:new l(e,t),revoke:n}},l}(),n.Proxy.revocable=n.Proxy.revocable)},6625:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t{"use strict";var n=r(9960),i=r(5834),a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not a function")}},8470:(e,t,r)=>{"use strict";var n=r(8963),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not an object")}},8430:(e,t,r)=>{"use strict";var n=r(8560),i=r(1783),a=r(7193),o=function(e){return function(t,r,o){var s=n(t),l=a(s);if(0===l)return!e&&-1;var c,u=i(o,l);if(e&&r!=r){for(;l>u;)if((c=s[u++])!=c)return!0}else for(;l>u;u++)if((e||u in s)&&s[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},7761:(e,t,r)=>{"use strict";var n=r(6390);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},173:(e,t,r)=>{"use strict";var n=r(3909),i=n({}.toString),a=n("".slice);e.exports=function(e){return a(i(e),8,-1)}},205:(e,t,r)=>{"use strict";var n=r(6286),i=r(3700),a=r(660),o=r(9078);e.exports=function(e,t,r){for(var s=i(t),l=o.f,c=a.f,u=0;u{"use strict";var n=r(1281),i=r(9078),a=r(8767);e.exports=n?function(e,t,r){return i.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},8767:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},8017:(e,t,r)=>{"use strict";var n=r(9960),i=r(9078),a=r(9238),o=r(9466);e.exports=function(e,t,r,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(n(r)&&a(r,c,s),s.global)l?e[t]=r:o(t,r);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},9466:(e,t,r)=>{"use strict";var n=r(9217),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},1281:(e,t,r)=>{"use strict";var n=r(6390);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},3826:(e,t,r)=>{"use strict";var n=r(9217),i=r(8963),a=n.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},8166:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9664:(e,t,r)=>{"use strict";var n=r(9217).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},220:(e,t,r)=>{"use strict";var n,i,a=r(9217),o=r(9664),s=a.process,l=a.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},5057:(e,t,r)=>{"use strict";var n=r(9217),i=r(660).f,a=r(9948),o=r(8017),s=r(9466),l=r(205),c=r(7941);e.exports=function(e,t){var r,u,d,h,p,f=e.target,m=e.global,v=e.stat;if(r=m?n:v?n[f]||s(f,{}):n[f]&&n[f].prototype)for(u in t){if(h=t[u],d=e.dontCallGetSet?(p=i(r,u))&&p.value:r[u],!c(m?u:f+(v?".":"#")+u,e.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(e.sham||d&&d.sham)&&a(h,"sham",!0),o(r,u,h,e)}}},6390:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},6155:(e,t,r)=>{"use strict";var n=r(6390);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4580:(e,t,r)=>{"use strict";var n=r(6155),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},1059:(e,t,r)=>{"use strict";var n=r(1281),i=r(6286),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,"name"),l=s&&"something"===function(){}.name,c=s&&(!n||n&&o(a,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},1863:(e,t,r)=>{"use strict";var n=r(173),i=r(3909);e.exports=function(e){if("Function"===n(e))return i(e)}},3909:(e,t,r)=>{"use strict";var n=r(6155),i=Function.prototype,a=i.call,o=n&&i.bind.bind(a,a);e.exports=n?o:function(e){return function(){return a.apply(e,arguments)}}},5896:(e,t,r)=>{"use strict";var n=r(9217),i=r(9960);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},1893:(e,t,r)=>{"use strict";var n=r(4677),i=r(2250);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},9217:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6286:(e,t,r)=>{"use strict";var n=r(3909),i=r(2912),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},3080:e=>{"use strict";e.exports={}},9002:(e,t,r)=>{"use strict";var n=r(1281),i=r(6390),a=r(3826);e.exports=!n&&!i((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},2404:(e,t,r)=>{"use strict";var n=r(3909),i=r(6390),a=r(173),o=Object,s=n("".split);e.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===a(e)?s(e,""):o(e)}:o},8681:(e,t,r)=>{"use strict";var n=r(3909),i=r(9960),a=r(7970),o=n(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),e.exports=a.inspectSource},3362:(e,t,r)=>{"use strict";var n,i,a,o=r(8157),s=r(9217),l=r(8963),c=r(9948),u=r(6286),d=r(7970),h=r(7892),p=r(3080),f="Object already initialized",m=s.TypeError,v=s.WeakMap;if(o||d.state){var g=d.state||(d.state=new v);g.get=g.get,g.has=g.has,g.set=g.set,n=function(e,t){if(g.has(e))throw new m(f);return t.facade=e,g.set(e,t),t},i=function(e){return g.get(e)||{}},a=function(e){return g.has(e)}}else{var _=h("state");p[_]=!0,n=function(e,t){if(u(e,_))throw new m(f);return t.facade=e,c(e,_,t),t},i=function(e){return u(e,_)?e[_]:{}},a=function(e){return u(e,_)}}e.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=i(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return r}}}},9960:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},7941:(e,t,r)=>{"use strict";var n=r(6390),i=r(9960),a=/#|\.prototype\./,o=function(e,t){var r=l[s(e)];return r===u||r!==c&&(i(t)?n(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},2250:e=>{"use strict";e.exports=function(e){return null==e}},8963:(e,t,r)=>{"use strict";var n=r(9960);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},3858:e=>{"use strict";e.exports=!1},3012:(e,t,r)=>{"use strict";var n=r(5896),i=r(9960),a=r(4422),o=r(6837),s=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&a(t.prototype,s(e))}},7193:(e,t,r)=>{"use strict";var n=r(7455);e.exports=function(e){return n(e.length)}},9238:(e,t,r)=>{"use strict";var n=r(3909),i=r(6390),a=r(9960),o=r(6286),s=r(1281),l=r(1059).CONFIGURABLE,c=r(8681),u=r(3362),d=u.enforce,h=u.get,p=String,f=Object.defineProperty,m=n("".slice),v=n("".replace),g=n([].join),_=s&&!i((function(){return 8!==f((function(){}),"length",{value:8}).length})),b=String(String).split("String"),y=e.exports=function(e,t,r){"Symbol("===m(p(t),0,7)&&(t="["+v(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(s?f(e,"name",{value:t,configurable:!0}):e.name=t),_&&r&&o(r,"arity")&&e.length!==r.arity&&f(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?s&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return o(n,"source")||(n.source=g(b,"string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return a(this)&&h(this).source||c(this)}),"toString")},1930:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},9078:(e,t,r)=>{"use strict";var n=r(1281),i=r(9002),a=r(9975),o=r(8470),s=r(5228),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",h="configurable",p="writable";t.f=n?a?function(e,t,r){if(o(e),t=s(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&p in r&&!r[p]){var n=u(e,t);n&&n[p]&&(e[t]=r.value,r={configurable:h in r?r[h]:n[h],enumerable:d in r?r[d]:n[d],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(o(e),t=s(t),o(r),i)try{return c(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},660:(e,t,r)=>{"use strict";var n=r(1281),i=r(4580),a=r(2996),o=r(8767),s=r(8560),l=r(5228),c=r(6286),u=r(9002),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return o(!i(a.f,e,t),e[t])}},1817:(e,t,r)=>{"use strict";var n=r(6551),i=r(8166).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},4968:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},4422:(e,t,r)=>{"use strict";var n=r(3909);e.exports=n({}.isPrototypeOf)},6551:(e,t,r)=>{"use strict";var n=r(3909),i=r(6286),a=r(8560),o=r(8430).indexOf,s=r(3080),l=n([].push);e.exports=function(e,t){var r,n=a(e),c=0,u=[];for(r in n)!i(s,r)&&i(n,r)&&l(u,r);for(;t.length>c;)i(n,r=t[c++])&&(~o(u,r)||l(u,r));return u}},2996:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},7947:(e,t,r)=>{"use strict";var n=r(4580),i=r(9960),a=r(8963),o=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&i(r=e.toString)&&!a(s=n(r,e)))return s;if(i(r=e.valueOf)&&!a(s=n(r,e)))return s;if("string"!==t&&i(r=e.toString)&&!a(s=n(r,e)))return s;throw new o("Can't convert object to primitive value")}},3700:(e,t,r)=>{"use strict";var n=r(5896),i=r(3909),a=r(1817),o=r(4968),s=r(8470),l=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(s(e)),r=o.f;return r?l(t,r(e)):t}},3745:(e,t,r)=>{"use strict";var n=r(2250),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},7892:(e,t,r)=>{"use strict";var n=r(5814),i=r(8725),a=n("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},7970:(e,t,r)=>{"use strict";var n=r(3858),i=r(9217),a=r(9466),o="__core-js_shared__",s=e.exports=i[o]||a(o,{});(s.versions||(s.versions=[])).push({version:"3.39.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5814:(e,t,r)=>{"use strict";var n=r(7970);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},9580:(e,t,r)=>{"use strict";var n=r(220),i=r(6390),a=r(9217).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},1783:(e,t,r)=>{"use strict";var n=r(5660),i=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):a(r,t)}},8560:(e,t,r)=>{"use strict";var n=r(2404),i=r(3745);e.exports=function(e){return n(i(e))}},5660:(e,t,r)=>{"use strict";var n=r(1930);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},7455:(e,t,r)=>{"use strict";var n=r(5660),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},2912:(e,t,r)=>{"use strict";var n=r(3745),i=Object;e.exports=function(e){return i(n(e))}},8662:(e,t,r)=>{"use strict";var n=r(4580),i=r(8963),a=r(3012),o=r(1893),s=r(7947),l=r(4966),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var r,l=o(e,u);if(l){if(void 0===t&&(t="default"),r=n(l,e,t),!i(r)||a(r))return r;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},5228:(e,t,r)=>{"use strict";var n=r(8662),i=r(3012);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},5834:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},8725:(e,t,r)=>{"use strict";var n=r(3909),i=0,a=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+a,36)}},6837:(e,t,r)=>{"use strict";var n=r(9580);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9975:(e,t,r)=>{"use strict";var n=r(1281),i=r(6390);e.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8157:(e,t,r)=>{"use strict";var n=r(9217),i=r(9960),a=n.WeakMap;e.exports=i(a)&&/native code/.test(String(a))},4966:(e,t,r)=>{"use strict";var n=r(9217),i=r(5814),a=r(6286),o=r(8725),s=r(9580),l=r(6837),c=n.Symbol,u=i("wks"),d=l?c.for||c:c&&c.withoutSetter||o;e.exports=function(e){return a(u,e)||(u[e]=s&&a(c,e)?c[e]:d("Symbol."+e)),u[e]}},1897:(e,t,r)=>{"use strict";var n=r(5057),i=r(1863),a=r(8430).indexOf,o=r(7761),s=i([].indexOf),l=!!s&&1/s([1],1,-0)<0;n({target:"Array",proto:!0,forced:l||!o("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return l?s(this,e,t)||0:a(this,e,t)}})},4500:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,I:()=>s});var n=r(2269),i=r(9360),a=r(7279);const o=(0,i.createContext)({selectedId:null,setSelectedId:()=>{},items:{},setItems:()=>{},size:"medium",onHeadingClick:()=>{},onNavigation:a.uR,upsertItem:()=>()=>{},keyDownHandler:()=>{}}),s=e=>{const{selectedId:t,setSelectedId:r,items:i,setItems:s,collapsible:l,size:c,keyDownHandler:u,children:d}=e;return(0,n.Y)(o.Provider,{value:{selectedId:t,setSelectedId:r,items:i,setItems:s,size:c,onNavigation:a.uR,onHeadingClick:e=>{const t=l?(0,a.NE)(e,i):(0,a.G8)(e,i);s({...t}),r(e)},upsertItem:(e,t,r)=>(i[e]={open:t,disabled:r},s({...i}),()=>{delete i[e]}),keyDownHandler:u},children:d})};var l=o},8546:(e,t,r)=>{"use strict";r.d(t,{A:()=>v});var n=r(2269),i=r(9360),a=r(969);const o=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m12.0003 15.5996-5.7857-5.785 1.414-1.4143 4.3717 4.3711 4.3717-4.3711 1.4141 1.4143-5.7858 5.785z"}}];var s=r(2113),l=()=>(0,s.$)(o),c=r(6996),u=r(5003),d=r(4500);const h=(0,i.forwardRef)(((e,t)=>{const{prefix:r="",ssrIcon:o=u.A,iconState:s,title:l="",subtitle:h="",onClick:p,disabled:f,className:m,onFocus:v,onBlur:g,..._}=e,b=(0,i.useContext)(d.A),y=a(m,`${r}accordion-item-header`,`${r}accordion-item-header--${b.size}`);return(0,n.FD)("button",{type:"button",disabled:f,className:y,onClick:p,onFocus:v,onBlur:g,onKeyDown:b.keyDownHandler,ref:t,..._,children:[(0,n.FD)("span",{className:`${r}accordion-item-header__title-wrapper`,children:[(0,n.Y)("span",{className:`${r}accordion-item-header__title`,children:l}),h&&"small"!==b.size&&(0,n.Y)("span",{className:`${r}accordion-item-header__subtitle`,children:h})]}),(0,n.Y)(c.A,{prefix:r,className:`${r}accordion-item-header__icon`,paths:o,modifier:s})]})}));h.displayName="AccordionItemHeader";var p=h;const f=(e,t)=>e&&t?0:void 0;var m=e=>{const{children:t,className:r,expanded:o=!1,prefix:s="",id:l,onTransitionEnd:c,focusOnExpanded:u=!1,...d}=e,h=(0,i.useRef)(null),[p,m]=(0,i.useState)(!o),v=`${s}collapsible`,g=a(v,o&&`${v}--expanded`,p&&`${v}--closed`,r);return(0,i.useEffect)((()=>{o&&m(!1)}),[o]),(0,n.Y)("div",{id:l,className:g,"aria-hidden":!o,role:"region",tabIndex:f(o,u),onTransitionEnd:e=>{h.current&&((e,t,r,n,i,a)=>{n.target!==r||n.target===r&&"grid-template-rows"!==n.propertyName||(((e,t,r)=>{e&&t&&r.focus()})(e,t,r),e||i(!0),a&&a(n,e))})(o,u,h.current,e,m,c)},ref:h,...d,children:(0,n.Y)("div",{className:`${v}__content`,children:t})})};const v=(0,i.forwardRef)(((e,t)=>{const{id:r,prefix:o="",className:s,title:c,disabled:u=!1,children:h,onHeadingClicked:f,subtitle:v,caption:g,open:_=!1,ariaLevel:b=2,subtle:y=!1,onTransitionEnd:x,...S}=e,w=(0,i.useContext)(d.A),[k,$]=(0,i.useState)(_),[N,C]=(0,i.useState)(!1),I=(0,i.useRef)(null),A=a(`${o}accordion-item--${w.size}`,k&&!N&&`${o}accordion__item--active`,`${o}accordion__item`,y&&`${o}accordion__item--subtle`,s),P=a(k&&!N&&"rotate-180");return(0,i.useEffect)((()=>{const e=w.upsertItem(r,_,u);return()=>{e()}}),[r,_,u]),(0,i.useEffect)((()=>{const e=w.items[r];e&&(C(e.disabled),$(e.open))}),[w.items,r]),(0,i.useEffect)((()=>{r===w.selectedId&&null!==I.current&&I.current.focus()}),[w.selectedId,r]),(0,n.FD)("li",{"data-accordion-item":!0,className:A,id:r,ref:t,children:[(0,n.Y)("div",{role:"heading","aria-level":b,children:(0,n.Y)(p,{className:`${o}accordion__heading`,prefix:o,onClick:e=>{w.onHeadingClick(r),f&&f(e)},"aria-controls":`SEC_${r}`,disabled:N,title:c,subtitle:g||(!k||N?v:""),ssrIcon:l,iconState:P,"aria-expanded":!!k,ref:I,...S})}),(0,n.Y)(m,{id:`SEC_${r}`,prefix:o,className:`${o}accordion__content`,"aria-labelledby":r,expanded:k&&!N,onTransitionEnd:x,role:"region",children:(0,n.Y)("div",{className:`${o}accordion__content--inner-${w.size}`,children:h})})]})}));v.displayName="AccordionItem"},5593:(e,t,r)=>{"use strict";r.d(t,{h:()=>l});var n=r(2269),i=r(4500),a=r(9360),o=r(7279),s=r(969),l=e=>{const{collapsible:t=!0,prefix:r="",padded:l=!1,size:c="medium",children:u,className:d,...h}=e,p=s(`${r}accordion`,l&&`${r}accordion--padded`,d),[f,m]=(0,a.useState)(null),[v,g]=(0,a.useState)({}),_=(0,a.useRef)(null);return(0,n.Y)("ul",{className:p,onFocus:e=>{const t=e.target?.classList.contains(`${r}accordion__heading`);if(!t)return;const n=e.target.closest("[data-accordion-item]")?.id;n&&n!==f&&m(n)},ref:_,...h,children:(0,n.Y)(i.I,{selectedId:f,setSelectedId:m,items:v,setItems:g,collapsible:t,size:c,keyDownHandler:e=>{const t="ArrowUp"===(r=e.key)?o.We.Previous:"ArrowDown"===r?o.We.Next:"Home"===r?o.We.First:"End"===r?o.We.Last:null;var r;if(null===t)return;e.preventDefault();const n=(e=>{if(null===e)return[];const t=e.querySelectorAll("[data-accordion-item]");return Array.from(t).map((e=>e.id))})(_.current),i=null===f?0:n.indexOf(f),a=n[(0,o.uR)(t,i,v,n)];m(a)},children:u})})}},7279:(e,t,r)=>{"use strict";r.d(t,{G8:()=>o,NE:()=>a,We:()=>n,uR:()=>s});var n=(e=>(e[e.Next=0]="Next",e[e.Previous=1]="Previous",e[e.First=2]="First",e[e.Last=3]="Last",e))(n||{});const i=e=>(Object.values(e).forEach((e=>(e.open=!1,e))),e),a=(e,t)=>{const r=t[e];return r?r.open?i(t):(t=i(t),o(e,t)):t},o=(e,t)=>{const r=t[e];return r?(r.open=!r.open,t):t},s=(e,t,r,n)=>{switch(e){case 0:return((e,t,r)=>{let n=-1,i=!1,a=(e+1)%r.length;for(;!i;)t[r[a]].disabled?a=(a+1)%r.length:(n=a,i=!0);return n})(t,r,n);case 1:return((e,t,r)=>{const n=r.length-1;let i=-1,a=!1,o=e<=0?n:e-1;for(;!a;)t[r[o]].disabled?o=o<=0?n:o-1:(i=o,a=!0);return i})(t,r,n);case 2:return((e,t)=>{let r=-1,n=!1,i=0;for(;!n;)e[t[i]].disabled||(r=i,n=!0),i++;return r})(r,n);case 3:return((e,t)=>{let r=-1,n=!1,i=t.length-1;for(;!n;)e[t[i]].disabled||(r=i,n=!0),i--;return r})(r,n);default:return t}}},8859:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(2269),i=r(969),a=e=>{const{tagType:t="span",prefix:r="",className:a,ratio:o="standard",children:s,...l}=e,c=i(`${r}aspect-ratio-box`,o&&`${r}aspect-ratio-box--${o.replace(/:/g,"-")}`,a),u=t;return(0,n.Y)(u,{className:`${c}`,...l,children:s})}},2485:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(2269),i=r(9360),a=r(6996),o=r(969);const s=[{tag:"path",att:{d:"M11.0036 14.2499h2v-6h-2v6zm1 1.5c-.6904 0-1.25.5596-1.25 1.25 0 .6903.5596 1.25 1.25 1.25.6903 0 1.25-.5597 1.25-1.25 0-.6904-.5597-1.25-1.25-1.25z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m1.1152 20.5341 10-19h1.7699l10 19-.8849 1.4658h-20l-.885-1.4658zm2.5413-.5342h16.6873l-8.3436-15.853L3.6565 20z"}}];var l=r(2113),c=()=>(0,l.$)(s);const u=["primary","emphasised","secondary","tertiary"],d=(0,i.forwardRef)(((e,t)=>{const{href:r="",newWindow:i=!1,loadingSrText:s="Loading…",ssrIcon:l,iconOnly:d=!1,prefix:h="",htmlType:p="button",disabled:f=!1,className:m="",onClick:v,text:g="",type:_="secondary",expanding:b=!1,loading:y=!1,iconPosition:x="leading",fluid:S=!1,inverseTheme:w=!1,children:k,expandedOnTouchDevice:$=!1,size:N="medium",staticColour:C=!1,...I}=e;let A=_||"secondary";d&&l&&(A=`icon-${A}`),w&&"danger"!==_&&"plain"!==_&&"image-overlay"!==_&&u.indexOf(_)>-1&&(A=`${A}-inverse`);const P=o(`${h}btn__inner`),Y=`${h}btn__icon`,L="danger"===_?c:l,E=L?(0,n.Y)(a.A,{className:Y,prefix:h,paths:L}):null,O=o(`${h}btn`,y&&`${h}btn--loading`,"medium"!==N&&`${h}btn--${N}`,!d&&L&&x&&`${h}${x}-icon`,_&&`${h}btn--${A}`,S&&!d&&`${h}btn--fluid`,b&&`${h}btn--expanding`,b&&$&&`${h}btn--touch-device-expanded`,C&&`${h}btn--static-colour`,m),M=e=>{y||f?e.stopPropagation():v&&"function"==typeof v&&v(e)},R=(0,n.FD)("span",{className:P,children:[E,g&&(0,n.Y)("span",{className:`${h}btn__label`,children:g})||null,!y&&k||null,y&&(0,n.Y)("span",{className:`${h}btn__loader`,children:s})||null]});return r?(0,n.Y)("a",{ref:t,className:O,"aria-disabled":!!y||void 0,onClick:M,onKeyUp:e=>{f||y||" "!==e.key||e.target.click()},href:f?void 0:r,target:i?"_blank":void 0,rel:i?"noreferrer":void 0,...I,children:R}):(0,n.Y)("button",{ref:t,className:O,disabled:f,type:p,onClick:M,...I,children:R})}));d.displayName="Button";var h=d},828:(e,t,r)=>{"use strict";r.d(t,{A:()=>v});var n=r(2269),i=r(9360),a=r(2485),o=r(2821),s=r(6270),l=r(969);const c=i.default.forwardRef(((e,t)=>{const{prefix:r,barPosition:i,barWidth:a,onClick:o,onMouseDown:s,draggable:c,...u}=e,d=100/a*(i-a*i/100),h=l(`${r}scroll-indicator__bar`,c&&`${r}scroll-indicator__bar-dragging`),p=l(`${r}scroll-indicator`,c&&`${r}scroll-indicator--dragging`);return(0,n.Y)("div",{className:p,onClick:e=>o&&o(e),"aria-hidden":!0,...u,children:a>0&&(0,n.Y)("span",{className:`${r}scroll-indicator__bar-wrapper`,ref:t,children:(0,n.Y)("span",{className:h,style:{width:`${a}%`,transform:`translateX(${d}%)`},onMouseDown:e=>s&&s(e)})})})}));c.displayName="ScrollIndicator";var u=c;const d=e=>{const{prefix:t="",children:r,targetId:i,label:a,className:o,targetReference:s,linkReference:c,onKeyDown:u,...d}=e,h=`${t}skip-content`;return(0,n.FD)(n.FK,{children:[(0,n.Y)("a",{href:`#${i}`,className:l(`${h}__button`,o),ref:c,onKeyDown:e=>{u&&u(e)," "===e.key&&(e.preventDefault(),e.currentTarget.click())},...d,children:a}),r,r&&(0,n.Y)("span",{id:i,className:l(`${h}__target`),tabIndex:-1,ref:s})]})};d.displayName="SkipContent";var h=d,p=r(1518);const f=(e,t)=>{let r;return(...n)=>{clearTimeout(r),r=setTimeout((()=>{e(...n)}),t)}};class m extends i.Component{constructor(e){super(e),this.slideRefs=[],this.scroller=null,this.scrollIndicator=null,this.slideToIndex=e=>this.slideRefs.indexOf(e),this.state={isScrolling:!1,currentIndex:e.slideIndex||0,visibleSlides:[],partiallyVisibleSlides:[],targetScroll:0,currentScroll:0,initialized:!1,draggable:!1,prevPosition:0,prevSliderPosition:0,slideShowDragging:!1,intersectionObserverDisabled:!1},e.id&&(this.skipButtonId=`${e.prefix}-carousel__${e.id}-skip-btn`,this.previousBtnId=`${e.prefix}-carousel__${e.id}-prev-btn`,this.nextBtnId=`${e.prefix}-carousel__${e.id}-next-btn`),this._visibleSlides=[],this.visibleIndexes=[],this.partiallyVisibleIndexes=[],this._partiallyVisibleSlides=[],this._visibleSlidesLength=null,this.onKeyUp=this.onKeyUp.bind(this),this.observeSlides=this.observeSlides.bind(this),this.setScrollState=this.setScrollState.bind(this),this.onScrollIndicatorClick=this.onScrollIndicatorClick.bind(this),this.slideRefs=[],this.onButtonClick=this.onButtonClick.bind(this),this.handleScrollBarMouseMove=this.handleScrollBarMouseMove.bind(this),this.handleScrollBarMouseDown=this.handleScrollBarMouseDown.bind(this),this.handleScrollBarMouseUp=this.handleScrollBarMouseUp.bind(this),this.handleSwipe=this.handleSwipe.bind(this),i.createRef&&(this.component=(0,i.createRef)(),this.slider=(0,i.createRef)())}clamp(e,t,r){return e<=t?t:e>=r?r:e}setScrollState(){this.setState({currentScroll:this.scroller.scrollLeft})}observeSlides(e,t){const r=t&&t.thresholds;e.forEach((e=>{r&&e.intersectionRatio>=t.thresholds[1]?-1===this._visibleSlides.indexOf(e.target)&&this._visibleSlides.push(e.target):this._visibleSlides=this._visibleSlides.filter((t=>t!==e.target)),r&&e.intersectionRatio>=t.thresholds[0]?-1===this._partiallyVisibleSlides.indexOf(e.target)&&this._partiallyVisibleSlides.push(e.target):this._partiallyVisibleSlides=this._partiallyVisibleSlides.filter((t=>t!==e.target)),this.partiallyVisibleIndexes=this._partiallyVisibleSlides.map(this.slideToIndex)})),this.setState({partiallyVisibleSlides:[...this._partiallyVisibleSlides]}),this.debouncedSetVisibilityState&&this.debouncedSetVisibilityState(this._visibleSlides)}_getVisibleMinMax(e,t){return void 0===e||0===e.length?null:Math[t].apply(Math,e)}get maxVisible(){return this._getVisibleMinMax(this.visibleIndexes,"max")}get maxPartiallyVisible(){return this._getVisibleMinMax(this.partiallyVisibleIndexes,"max")}get minVisible(){return this._getVisibleMinMax(this.visibleIndexes,"min")}get minPartiallyVisible(){return this._getVisibleMinMax(this.partiallyVisibleIndexes,"min")}get firstSlide(){return this.slideRefs.length>0?this.slideRefs[0]:null}get lastSlide(){return this.slideRefs.length>0?this.slideRefs[this.lastSlideIndex]:null}get isFirstSlideVisible(){return f((()=>{if(0===this.state.currentScroll)return!0}),100),this._visibleSlides.indexOf(this.firstSlide)>-1}get isLastSlideVisible(){return f((()=>{if(this.state.currentScroll===this.maxScrollWidth)return!0}),100),this._visibleSlides.indexOf(this.lastSlide)>-1}get allSlidesVisible(){return this.isFirstSlideVisible&&this.isLastSlideVisible}get lastSlideIndex(){return this.slideRefs.length-1}get nextSlide(){return null===this.maxVisible?this.maxPartiallyVisible:this.maxVisible+1}get prevSlide(){return null===this.minVisible?this.minPartiallyVisible:this.minVisible-1}get visibleSlidesLength(){return this._visibleSlidesLength?this._visibleSlidesLength:this.clamp(this.state.visibleSlides.length,1,1/0)}get scrollWidth(){return this.scroller?this.scroller.scrollWidth:1/0}get maxScrollWidth(){return this.scroller?this.scrollWidth-this.scroller.offsetWidth:1/0}getPreviousScroll(e){return!this.props.isSlideShow&&this.props.rtl?e.offsetLeft:e.offsetLeft+e.getBoundingClientRect().width-this.scroller.offsetWidth}getNextScroll(e){return!this.props.isSlideShow&&this.props.rtl?e.offsetLeft-this.scroller.offsetWidth+e.getBoundingClientRect().width:e.offsetLeft}onButtonClick(e){if(this.state.isScrolling)return;const t=this.clamp("right"===e?this.nextSlide:this.prevSlide,0,this.lastSlideIndex);this.goToIndex(t,e),"right"===e&&this.props.onBtnRightClick&&this.props.onBtnRightClick(),"left"===e&&this.props.onBtnLeftClick&&this.props.onBtnLeftClick()}goToIndex(e,t="left"){e=this.clamp(e,0,this.lastSlideIndex);const r=this.slideRefs[e];if(!r)return void this.scrollTo(0);let n="right"===t?this.getNextScroll(r):this.getPreviousScroll(r);0===e&&(n=0),this.scrollTo(n)}easing(e,t,r,n){return r*p(.4,0,.4,1)(e/n)+t}scrollTo(e){if(this.setState({targetScroll:e}),this.stopObservingSlides(),!this.state.initialized||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return this.scroller.scrollLeft=e,this.startObservingSlides(),void(this.state.initialized||this.setState({initialized:!0}));this.setState({isScrolling:!0}),null!==this.scroller&&function(e,t,r,n,i=200,a=()=>{}){const o=Date.now(),s=e[t],l=r-s;let c=!1;const u=()=>{const d=Date.now()-o;if(!c){if(d/i>1)return e[t]=r,h(),void a();e[t]=n(d,s,l,i),requestAnimationFrame(u)}},d=()=>{c=!0,h(),a()},h=()=>{e.removeEventListener("wheel",d),e.removeEventListener("touchstart",d)};e.addEventListener("wheel",d,{passive:!0}),e.addEventListener("touchstart",d,{passive:!0}),u()}(this.scroller,"scrollLeft",e,this.easing,200,(()=>{this.setState({isScrolling:!1}),this.startObservingSlides()}))}startObservingSlides(){this.setState({slideShowDragging:!1}),"IntersectionObserver"in window&&"IntersectionObserverEntry"in window?(this.visibleSlideObserver=new IntersectionObserver(this.observeSlides,{root:this.scroller,threshold:[.99,.001],rootMargin:"1px"}),this.slideRefs.forEach((e=>!!e&&this.visibleSlideObserver?.observe(e))),this.setState({intersectionObserverDisabled:!1})):this.setState({intersectionObserverDisabled:!0})}stopObservingSlides(){this.visibleSlideObserver&&this.visibleSlideObserver.disconnect()}onKeyUp(e){let t;if("ArrowLeft"===e.key||"ArrowRight"===e.key){switch(e.preventDefault(),e.key){case"ArrowLeft":t=this.props.rtl?"right":"left";break;case"ArrowRight":t=this.props.rtl?"left":"right";break;default:return}this.onButtonClick(t)}}onScrollIndicatorClick(e){if(!this.scrollIndicator)return;const{children:t=[],isSlideShow:r}=this.props,n=t.length;if(e.target===this.scrollIndicator.childNodes[0])return;const i=this.scrollIndicator.getBoundingClientRect().left,a=this.scrollIndicator.getBoundingClientRect().width,o=100*(e.clientX-i)/a*this.maxScrollWidth/100;if(r){const e=this.maxScrollWidth/(n-1),t=this.maxScrollWidth/n;let r=Math.round(o/e)*e;ot*(n-1)&&(r=this.maxScrollWidth),this.scrollTo(this.props.rtl?r-this.maxScrollWidth:r)}else this.scrollTo(this.props.rtl?o-this.maxScrollWidth:o)}adjustSliderPosition(){this.goToIndex(this.state.currentIndex)}handleSwipe(){this.state.slideShowDragging&&requestAnimationFrame((()=>{this.setState({slideShowDragging:!1})}))}handleScrollBarMouseDown(e){this.setState({draggable:!0,prevPosition:e.pageX,prevSliderPosition:this.scroller.scrollLeft,slideShowDragging:!0})}handleScrollBarMouseUp(){this.state.draggable&&this.setState({draggable:!1})}handleScrollBarMouseMove(e){if(!this.state.draggable)return;const t=this.scrollWidth/this.scrollIndicator.scrollWidth;this.scroller.scrollLeft=this.state.prevSliderPosition+(e.pageX-this.state.prevPosition)*t}componentDidMount(){this.resizeEventCallback=f((()=>{this._visibleSlidesLength=this._visibleSlides?this._visibleSlides.length:null,this.props.onResize&&this.props.onResize(),this.stopObservingSlides(),this.startObservingSlides(),this.slideRefs[0]&&this.slideRefs[0].getBoundingClientRect().width*this.slideRefs.length<=this.scroller.offsetWidth&&this.adjustSliderPosition()}),250),window.addEventListener("mousemove",this.handleScrollBarMouseMove),window.addEventListener("mouseup",this.handleScrollBarMouseUp),window.addEventListener("resize",this.resizeEventCallback),this.scroller?.addEventListener("wheel",this.handleSwipe,{passive:!0}),this.scroller?.addEventListener("scroll",this.setScrollState),this.debouncedSetVisibilityState=f((e=>{this._visibleSlidesLength||(this._visibleSlidesLength=e.length),this.setState({visibleSlides:e});const t=e.map(this.slideToIndex);this.visibleIndexes.join(",")!==t.join(",")&&this.props.onVisibleSlideChange&&this.props.onVisibleSlideChange([...t]),this.visibleIndexes=t}),100),this.startObservingSlides(),this.adjustSliderPosition()}componentWillUnmount(){window.removeEventListener("mousemove",this.handleScrollBarMouseMove),window.removeEventListener("mouseup",this.handleScrollBarMouseUp),this.resizeEventCallback&&window.removeEventListener("resize",this.resizeEventCallback),this.scroller?.removeEventListener("wheel",this.handleSwipe),this.scroller?.removeEventListener("scroll",this.setScrollState),this.stopObservingSlides()}componentDidUpdate(e){this.props.slideIndex!==e.slideIndex&&this.goToIndex(this.props.slideIndex),e.children.length!==this.props.children.length&&(this.stopObservingSlides(),this.startObservingSlides(),this.slideRefs.length=0,this.setScrollState())}render(){const{id:e,slideIndex:t=0,hasNoControls:r=!1,children:c=[],prefix:d="",rtl:p,ariaLabelLeftBtn:f="See previous items",ariaLabelRightBtn:m="See next items",controlBtnType:v="primary",onBtnRightClick:g,onBtnLeftClick:_,onResize:b,itemClass:y,contentClass:x,bodyWrapperClass:S,isSlideShow:w,hasNoScrollbar:k,hasSlideCounter:$,className:N,skipButtonText:C="Skip listing",counterText:I="of",onVisibleSlideChange:A,...P}=this.props,{currentScroll:Y,isScrolling:L,slideShowDragging:E,draggable:O}=this.state,M=this.isLastSlideVisible,R=this.isFirstSlideVisible,D=this.allSlidesVisible,F=Y/this.maxScrollWidth*100,B=null===this.scroller?0:this.scroller.offsetWidth/this.scroller.scrollWidth*100,T=i.default.Children.toArray(c).filter((e=>e)),z=(this.visibleIndexes[0]??this.partiallyVisibleIndexes[0])+1,V=T.map(((t,r)=>(0,n.Y)("div",{ref:e=>this.slideRefs[r]=e,className:l(`${d}carousel-slide`,y),children:t},`${e}-${r}`))),H=l(`${d}carousel`,N,w&&`${d}carousel__slide-show`,this.state.intersectionObserverDisabled&&`${d}carousel--intersection-observer-disabled`,O&&`${d}carousel--dragging`),W=l(`${d}carousel__content`,x,!L&&`${d}carousel__content--snap-slide`,E&&`${d}carousel__content--drag-slide`,D&&`${d}carousel__content--single-slide`),U=l(`${d}carousel__body`,w&&`${d}carousel__body--slide-show`);return(0,n.Y)("div",{className:H,tabIndex:-1,ref:this.component,...P,onKeyUp:this.onKeyUp,children:(0,n.FD)(h,{prefix:d,label:C,targetId:this.skipButtonId,children:[(0,n.FD)("div",{className:`${d}carousel__wrapper`,children:[!r&&(0,n.Y)(a.A,{id:this.previousBtnId,"aria-controls":`${d}carousel__${e}`,prefix:d,size:"small",iconOnly:!0,ssrIcon:s.A,type:v,"aria-label":f,className:l(`${d}carousel__button`,R&&`${d}carousel__button--hidden`),onClick:()=>this.onButtonClick("left")}),(0,n.Y)("div",{className:W,ref:e=>this.scroller=e,children:(0,n.Y)("div",{className:l(`${d}carousel__body-wrapper`,S),children:(0,n.Y)("div",{id:`${d}carousel__${e}`,className:U,ref:this.slider,children:V})})}),!r&&(0,n.Y)(a.A,{id:this.nextBtnId,"aria-controls":`${d}carousel__${e}`,prefix:d,size:"small",iconOnly:!0,ssrIcon:o.A,type:v,"aria-label":m,className:l(`${d}carousel__button`,`${d}carousel__button--right`,M&&`${d}carousel__button--hidden`),onClick:()=>this.onButtonClick("right")})]}),!D&&!k&&(0,n.FD)("div",{className:`${d}carousel__counter--wrapper`,children:[(0,n.Y)(u,{prefix:d,barPosition:F,barWidth:B,ref:e=>this.scrollIndicator=e,onClick:this.onScrollIndicatorClick,onMouseDown:this.handleScrollBarMouseDown,draggable:this.state.draggable}),$&&!!z&&(0,n.Y)("span",{className:`${d}carousel__counter`,children:`${z} ${I} ${T.length}`})]})]})})}}var v=m},7413:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(2269),i=r(9360),a=e=>{const{prefix:t="",label:r="Label",reqText:i,htmlFor:a,className:o,...s}=e;return(0,n.FD)("label",{htmlFor:a,className:o,...s,children:[r,i&&(0,n.FD)("em",{className:`${t}required`,children:[" ",i]})]})},o=r(969);const s=(0,i.createContext)({}),l=(0,i.forwardRef)(((e,t)=>{const{className:r,prefix:l="",id:c,label:u="",caption:d="",name:h="checkboxname",value:p,onChange:f,disabled:m=!1,describedById:v,required:g=!1,subtle:_=!1,indeterminate:b=!1,...y}=e,x=o(_&&`${l}checkbox--subtle`,`${l}checkbox`,r),{shouldValidate:S,valid:w}=(0,i.useContext)(s),k=t||i.default.useRef(null);return i.default.useEffect((()=>{const e=k;void 0!==b&&e.current&&(e.current.indeterminate=Boolean(b))}),[b]),(0,n.FD)("span",{className:x,children:[(0,n.Y)("input",{ref:k,type:"checkbox",value:p,name:h,id:c,disabled:m,onChange:f,"aria-describedby":v,required:g,"aria-invalid":S?!w:void 0,...y}),(0,n.Y)("span",{className:`${l}checkbox__symbol`}),u&&(0,n.FD)("span",{className:`${l}checkbox__label`,children:[(0,n.Y)(a,{prefix:l,htmlFor:c,label:u}),Boolean(d)&&(0,n.Y)("span",{className:`${l}checkbox__caption`,children:(0,n.Y)(a,{prefix:l,htmlFor:c,label:d})})]})]})}));l.displayName="Checkbox";var c=l,u=e=>{const{className:t,subtle:r=!1,list:i,prefix:a="",name:s,...l}=e,u=o(`${a}checkbox-group`,t);return(0,n.FD)("fieldset",{className:u,role:"group",...l,children:[s&&(0,n.Y)("legend",{children:s}),i.map(((e,t)=>(0,n.Y)(c,{prefix:a,...e,subtle:r},t)))]})}},5087:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(2269),i=r(9360),a=r(969);const o=(0,i.forwardRef)(((e,t)=>{const{prefix:r="",children:i,text:o="",url:s="#",subtle:l,disabled:c=!1,button:u=!1,colour:d,className:h,onClick:p,newWindow:f=!1,ariaControls:m,...v}=e,g=a(h,`${r}link`,d&&`${r}link--${d}`,l&&`${r}link--subtle`,c&&`${r}link--disabled`);let _=u?"button":void 0;return _=c?"link":_,(0,n.FD)("a",{ref:t,target:f?"_blank":void 0,...v,href:c?void 0:s,className:g,role:_,"aria-disabled":c&&`${c}`,"aria-controls":m||void 0,onClick:u&&c?function(e){e.preventDefault()}:p,children:[o,o&&i?" ":null,i]})}));o.displayName="Hyperlink";var s=o},3696:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(2269),i=r(969);const a=e=>{const{prefix:t="",children:r,className:a="",...o}=e;return(0,n.Y)("div",{...o,className:i(`${t}modal-body`,a),children:r})}},4607:(e,t,r)=>{"use strict";r.d(t,{j:()=>s});var n=r(2269),i=r(9360),a=r(969),o=r(6361);const s=e=>{const{prefix:t="",children:r,closeBtnClick:s=()=>{},renderBorder:l=!1,className:c="",stacked:u=!1,reverse:d=!1,...h}=e;let p=i.Children.toArray(r);p.length&&i.default.isValidElement(p[0])&&p[0].type===i.Fragment&&(p=i.Children.toArray(p[0].props.children));const f=2===p.filter((e=>"string"!=typeof e)).length,m=(0,o.A)("sm","md"),v=a(`${t}modal-footer`,!l&&`${t}modal-footer--borderless`,f&&`${t}modal-footer--dual-action`,u&&`${t}modal-footer--stacked`,c),g=p.map(((e,r)=>{if(i.default.isValidElement(e)){const n=e.props.onClick?t=>e.props.onClick&&e.props.onClick(t):e=>s(e);return i.default.cloneElement(e,{prefix:t,size:"sm"===m?"small":"medium",key:r,onClick:n})}return e}));return(0,n.Y)("div",{className:v,...h,children:d?g.reverse():g})}},3838:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>T});var n=r(2269),i=r(9360),a=r(969);const o="skapa-focus-lock-enable",s="skapa-focus-lock-disable",l="skapa-focus-lock-escape-hotkey";class c extends Event{constructor(e,t){super(e),this.SkapaFocusLockReference=t}}const u=new Set;function d(e){return e.parentElement||e.getRootNode()&&e.getRootNode().host}function h(e,t,r){var n;const i=[...e];t&&i.reverse();const a="undefined"!=typeof window;for(let e=0;et.handlePointer(e)))}function m(e){e.key,u.forEach((t=>t.handleKeyboard(e)))}const v=["mousedown","pointerup","touchstart","click"],g=["keydown","keyup"],_=[o,s];let b=!1;function y(e=!0){if(b===e)return;if(!e&&u.size)return;const t=(e?document.addEventListener:document.removeEventListener).bind(document);v.forEach((e=>t(e,f,{capture:!0}))),g.forEach((e=>t(e,m))),_.forEach((e=>t(e,p))),b=e}let x=-1;const S={cache:new WeakMap};function w(){x=-1,S.cache=new WeakMap}function k(e,t){if(!e)return!1;if(e===t)return!0;const r=S.cache;if(r.has(e))return!!r.get(e);-1===x&&(x=requestAnimationFrame(w));const{display:n,visibility:i}=window.getComputedStyle(e);if("none"===n||"hidden"===i)return r.set(e,!1),!1;const a=e.parentNode;if(a&&a===t)return r.set(e,!0),!0;if(a&&1===a.nodeType){const n=k(a,t);return r.set(e,n),n}if(a&&11===a.nodeType&&"host"in a){const n=k(a.host,t);return r.set(e,n),n}return r.set(e,!0),!0}function $(e=document){if(e.activeElement)return e.activeElement.shadowRoot&&$(e.activeElement.shadowRoot)||e.activeElement}const N="skapa-focus-region-boundary";let C;function I(){return C||(C=document.createElement("div"),C.tabIndex=0,C.toggleAttribute(N,!0),C.style.position="fixed",C.style.top="0",C.style.left="0",C.style.width="1px"),C.cloneNode(!0)}const A=new Map;function P(e,t){e.preventDefault(),e.stopImmediatePropagation(),t.focus()}function Y(e){const t=A.get(e);t&&(t.nodes.forEach(((e,r)=>{e.removeEventListener("focusin",t.listeners[r],{capture:!0}),e&&e.isConnected&&e.remove()})),A.delete(e))}class L extends EventTarget{constructor(e){super(),this.autoFocus=!1,this.passive=!1,this.capturePointerEvents=!0,this.autoFocusReturn=!0,this.__active=!1,this.__disableKeyConfig={key:"Escape",shift:!1,ctrl:!1},this.__shiftKeyDown=!1,this.handleKeyboard=e=>{if(!this.passive){if("keydown"===e.type&&"string"==typeof e.key&&e.key.toLowerCase()===this.__disableKeyConfig.key.toLowerCase()){const{shift:t,ctrl:r}=this.__disableKeyConfig;if(t===e.shiftKey&&r===e.ctrlKey)return this.active=!1,void this.dispatchEvent(new c(l,this))}"Shift"===e.key&&(this.__shiftKeyDown="keydown"===e.type)}},this.disconnectedLockWrapper=()=>{const e=!(this.container&&this.container.isConnected);return e&&console.warn("Focus lock feature was not disabled before removing the container from the DOM tree."),e},this.handlePointer=e=>{if(this.passive||!this.capturePointerEvents)return;if(this.disconnectedLockWrapper())return;const t=e.composedPath();t.includes(this.container)||t.find((e=>Element.prototype.isPrototypeOf(e)&&(e.classList.contains("skapa-focus-portal")||(e.getAttribute("role")||"").includes("dialog"))))||this.isElementWithin(t[0])||(e.cancelable&&e.preventDefault(),"click"===e.type&&e.stopImmediatePropagation())},this.enableLock=()=>{this.container.addEventListener("focusout",this.handleFocus),y(!0),function(e){const t=e.container;if(t.isConnected&&t.parentNode){A.has(e)&&Y(e);const r=I(),n=I(),i=function(e){const r=h([t,...Array.from(t.querySelectorAll("*"))],!0,t);r&&P(e,r)},a=function(e){const r=h([t,...Array.from(t.querySelectorAll("*"))],!1,t);r&&P(e,r)};r.addEventListener("focusin",i,{capture:!0}),n.addEventListener("focusin",a,{capture:!0}),t.before(r),t.after(n),A.set(e,{nodes:[r,n],listeners:[i,a]})}}(this),document.dispatchEvent(new c(o,this)),this.captureFocus()},this.disableLock=()=>{Y(this),y(!1),this.container.removeEventListener("focusout",this.handleFocus),this.returnFocus(),document.dispatchEvent(new c(s,this))},this.captureFocus=()=>{document.activeElement&&(this._activeElementBeforeFocusLock=$());const e=this.autoFocus&&this.container.querySelector('*[data-autofocus]:not([tabindex="-1"]):not(:disabled)'),t=h(e?[e]:[this.container,...Array.from(this.container.querySelectorAll("*"))],!1,this.container);t?O(t):this.noFocusTargetException()},this.returnFocus=()=>{this.autoFocusReturn&&this._activeElementBeforeFocusLock&&this._activeElementBeforeFocusLock.isConnected&&O(this._activeElementBeforeFocusLock)},this.handleFocus=e=>{if(this.passive)return;if(!this.container.isConnected)return;const t=e.relatedTarget&&"nodeType"in e.relatedTarget&&1===e.relatedTarget.nodeType?e.relatedTarget:null;if(t&&!t.hasAttribute(N)&&!this.isElementWithin(t)){e.preventDefault();const t=e.composedPath()[0]||h([this.container,...Array.from(this.container.querySelectorAll("*"))],this.__shiftKeyDown,this.container);t?t.focus():this.noFocusTargetException()}},this.isElementWithin=(e,t=this.container)=>{var r;return Boolean(e&&(t.contains(e)||t.shadowRoot&&t.shadowRoot.contains(e)||(null===(r=function(e){if(!e)return;const t=e.getRootNode();return"host"in t?t.host:void 0}(t))||void 0===r?void 0:r.contains(e))||function(e){const t=[e];let r,n=e;for(;r=d(n);)t.push(n=r);return t}(e).includes(t)))},this.noFocusTargetException=()=>{console.warn(`Warning! Skapa Focus-lock found no focusable elements on ${this.container}.\nFocus lock remains disabled.`),this.disableLock()},this.container=e}get active(){return this.__active}set active(e){this.__active!==e&&(this.__active=e,e?this.enableLock():this.disableLock())}get disableKey(){return this.__disableKeyConfig}setDisableKey(e){this.__disableKeyConfig=Object.assign({key:"Escape",shift:!1,ctrl:!1},e)}}let E=-1;function O(e){clearTimeout(E),"undefined"!=typeof window&&(E=window.setTimeout((()=>{e&&e.isConnected&&e.focus()}),50))}var M=e=>{const{prefix:t="",locked:r=!1,autoFocus:o=!1,escapeHotkey:s,capturePointerEvents:c=!0,onEscaped:u,autoFocusReturn:d=!0,children:h,className:p,...f}=e,m=(0,i.useRef)(null),v=(0,i.useRef)(),[g,_]=(0,i.useState)(!1),b=`${t}skapa-focus-lock`,y=a(b,(!r||g)&&`${b}--disabled`,p),x=function(){u&&u(),_(!0)};return(0,i.useEffect)((()=>{if(m.current){v.current||(v.current=new L(m.current));const e=v.current;s&&e.setDisableKey(s),e.capturePointerEvents=c,e.autoFocus=o,e.autoFocusReturn=d,e.active=r}return()=>{v.current&&(v.current.active=!1,_(!1))}}),[]),(0,i.useEffect)((()=>{const e=v.current;return e&&e.addEventListener(l,x),()=>{e&&e.removeEventListener(l,x)}}),[u,v.current]),(0,i.useEffect)((()=>{v.current&&(v.current.active=r),_(!1)}),[r]),(0,i.useEffect)((()=>{v.current&&(v.current.autoFocus=o)}),[o]),(0,i.useEffect)((()=>{v.current&&(v.current.autoFocusReturn=d)}),[d]),(0,i.useEffect)((()=>{v.current&&v.current.setDisableKey(s)}),[s]),(0,i.useEffect)((()=>{v.current&&(v.current.capturePointerEvents=c)}),[c]),(0,n.Y)("div",{ref:m,className:y,...f,children:h})};const R=[],D=e=>{const t=document.body;if(R.pop(),0===R.length&&t.classList.toString().indexOf(`${e}prevent-scroll-y`)>-1){const r=Number(t.getAttribute("data-skapa--scroll")),n=t.getAttribute("data-skapa--pad");t.classList.remove(`${e}prevent-scroll-y`),t.style.paddingRight=n,window.scrollTo(0,r),t.style.top="",t.removeAttribute("data-skapa--scroll"),t.removeAttribute("data-skapa--pad"),t.style.length||t.removeAttribute("style")}return!0},F=(e,t)=>{e(!1),t(!0)},B=(e,t,r)=>{e(!0),t&&(e=>{const t=document.body;if(R.push(!0),-1===t.classList.toString().indexOf(`${e}prevent-scroll-y`)){const r=window.pageYOffset||window.scrollY;t.setAttribute("data-skapa--scroll",r.toString());const n=t.style.paddingRight;t.setAttribute("data-skapa--pad",n);let i=t.clientWidth;t.classList.add(`${e}prevent-scroll-y`),i=t.clientWidth-i,t.style.top=`-${r}px`,i&&(t.style.paddingRight=`calc(${n||"0px"} + ${i}px)`),window.scrollTo(0,0)}})(r)};var T=e=>{const{className:t,visible:r=!1,prefix:o="",children:s,handleCloseBtn:l,focusLockProps:c={},keepContentMounted:u=!1,escapable:d=!0,onModalClosed:h=()=>{},onModalOpened:p=()=>{},onKeyDown:f=()=>{},scrollLock:m=!0,...v}=e,[g,_]=i.default.useState(r),[b,y]=i.default.useState(!1),x=i.default.useRef(-1),S=`${o}modal-wrapper`;(0,i.useEffect)((()=>{((e,t,r,n,i,a)=>{t!==n&&(t?B(i,r,e):F(i,a))})(o,r,m,g,_,y)}),[r]),(0,i.useEffect)((()=>(r&&B(_,m,o),()=>{m&&D(o),cancelAnimationFrame(x.current)})),[]);const w=a(S,g?`${S}--open`:`${S}--close`,t),k=a(`${S}__backdrop`,`${S}__backdrop--dark`),$=i.default.Children.map(s,(e=>i.default.cloneElement(e,{open:g,closeBtnClick:l,prefix:o})));return(0,n.FD)("div",{...v,onKeyDown:e=>{f(e),((e,t,r,n,i,a)=>{(!e.target.closest||e.target.closest(`.${t}`)===e.currentTarget)&&r&&"Escape"===e.key&&(n&&n(e),F(i,a))})(e,S,d,l,_,y)},className:w,tabIndex:-1,children:[(0,n.Y)("div",{className:k,onMouseDown:e=>{((e,t,r)=>{t&&e.target===e.currentTarget&&r(e)})(e,d,l)},onAnimationEnd:e=>{((e,t,r,n,i,a,o,s,l)=>{cancelAnimationFrame(t),r?n&&(t=requestAnimationFrame((()=>{n(e)}))):o&&(a&&D(l),s(!1),i&&(t=requestAnimationFrame((()=>{i(e)}))))})(e,x.current,g,p,h,m,b,y,o)}}),(u||g||b)&&(0,n.Y)(M,{prefix:o,autoFocus:!0,onEscaped:l,locked:g,capturePointerEvents:!1,...c,children:$})]})}},2704:(e,t,r)=>{"use strict";r.d(t,{j:()=>s});var n=r(2269),i=r(9360),a=r(969);var o=()=>{const e=(0,i.useRef)(null),[t,r]=(0,i.useState)(void 0);return(0,i.useEffect)((()=>{if(e.current){const n=e.current;r(!!(t=n)&&!Boolean(t.querySelectorAll("*[data-autofocus],*[autofocus]").length))}var t}),[]),[t,e]};const s=e=>{const{className:t="",fullSize:r=!1,prefix:s="",children:l,open:c=!1,closeBtnClick:u,header:d,alignment:h="right",preserveAlignment:p=!1,footer:f,size:m="small",describedById:v,labelledById:g,ariaLabel:_,contentAttributes:b,...y}=e,x=a(`${s}sheets`,`${s}sheets--${m}`,r&&`${s}sheets--mobile-full-size`,"left"===h&&`${s}sheets--mirrored`,p&&`${s}sheets--preserve-alignment`,c?`${s}sheets--enter`:`${s}sheets--close`,t),S=d?i.default.cloneElement(d,{closeBtnClick:u,prefix:s}):null,w=f&&i.default.cloneElement(f,{prefix:s,closeBtnClick:u,stacked:"small"===m&&f.props.stacked})||null,k=i.default.Children.map(l,(e=>i.default.isValidElement(e)?i.default.cloneElement(e,{prefix:s}):e)),[$,N]=o();return(0,n.FD)("div",{"aria-describedby":v,"aria-labelledby":g,"aria-label":_,...y,className:x,"aria-modal":"true",role:"dialog",tabIndex:-1,children:[void 0!==$&&S,(0,n.Y)("div",{className:`${s}sheets__content-wrapper`,role:"document",tabIndex:0,...b,ref:N,"data-autofocus":$,children:k}),w]})}},7114:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(2269),i=r(9360),a=r(969),o=r(6996);const s=(0,i.forwardRef)(((e,t)=>{const{prefix:r="",iconOnly:i=!1,label:s,selected:l=!1,disabled:c=!1,size:u="medium",thumbnail:d,ssrIcon:h,iconPosition:p="leading",thumbnailAlt:f,className:m,onClick:v,...g}=e,_=`${r}pill`,b=a(`${_}`,"medium"!==u&&`${_}--${u}`,i&&h&&!d&&`${_}--icon`,!i&&h&&!d&&`${r}${p}-icon`,d&&`${_}--thumbnail`,l&&!c&&`${_}--active`,m);return(0,n.FD)("button",{ref:t,className:b,disabled:c,"aria-pressed":l?"true":"false",onClick:v,...g,children:[d&&(0,n.Y)("img",{className:`${_}__thumbnail`,src:d,alt:f}),h&&!d&&(0,n.Y)(o.A,{prefix:r,paths:h,className:`${_}__icon`}),s&&(0,n.Y)("span",{className:`${_}__label`,children:s})]})}));s.displayName="Pill";var l=s},9119:(e,t,r)=>{"use strict";r.d(t,{A:()=>J});var n=r(2269),i=r(9360),a=r(969),o=r(8859),s=r(6996),l=r(3932),c=r(1621),u=e=>{const{src:t,alt:r,className:o,prefix:u="",srcSet:d,sizes:h,loading:p="lazy",fallback:f=!1,...m}=e,[v,g]=(0,i.useState)(!1),[_,b]=(0,i.useState)(!1),y=(0,i.useRef)(null),x=a(`${u}image`,(v||f)&&`${u}image--fallback`,o);(0,i.useEffect)((()=>{t&&g(!1)}),[t]),(0,i.useEffect)((()=>{if(y.current&&!_&&!v&&y.current.complete)if(y.current.naturalHeight){const e=new Event("load");y.current.dispatchEvent(e)}else{const e=new Event("error");y.current.dispatchEvent(e)}}),[]);let S=c.A;v&&(S=l.A);const w=(0,n.Y)("img",{ref:y,className:v||f?void 0:x,onError:e=>{y.current&&(g(!0),m.onError&&m.onError(e))},onLoad:e=>{y.current&&(b(!0),m.onLoad&&m.onLoad(e))},alt:r,src:t,srcSet:d,sizes:h,loading:p,...m});return v||f?(0,n.FD)("span",{className:x,children:[(0,n.Y)(s.A,{paths:S,className:`${u}image__icon`,prefix:u}),w]}):w},d=r(6361),h=r(3492);const p=({x:e,y:t},{x:r,y:n},i,a)=>!(r>e+i||e>r+i||n>t+a||t>n+a);const f=({imageRef:e,sizeBuffer:t,lastVisibleIndex:r,firstVisibleIndex:n,products:i,withShopAll:a,primaryTagIndexInit:o})=>{if(e&&e.current&&t&&t.current){if(t.current&&t.current.width===e.current.clientWidth)return i;t.current.width=e.current.clientWidth}const s=((e,t,r)=>{if(!r||!r.current)return e;const n=4400/r.current.clientWidth,i=4400/r.current.clientHeight;let a=e;t>-1&&(a=[e[t],...e.slice(0,t),...e.slice(t+1)]);for(let e=0;e{let n=0,i=0,a=0;if(r&&r.current){const{clientWidth:e,clientHeight:o}=r.current;n=2e3/e,i=2e3/o,a=t?5800/o:0}return e.map((e=>{const{x:t,y:r}=e.dotCoordinates;return e.hidden=e.hide||t100||r100,e}))})({products:i,withShopAll:a,imageRef:e}),o,e);return((e,t,r)=>{r.current=-1,t.current=-1;for(let n=0;n{if(!r)return[];let n=1,i=1;e>t?i=e/t:n=t/e;const a=50*(1-1/n),o=50*(1-1/i),s=({x:e,y:t})=>({x:(e-a)*n,y:(t-o)*i});return r.map((e=>({...e,dotCoordinates:s(e.dotCoordinates)})))},v=({item:e,baseClass:t,prefix:r,active:i,...a})=>{if(!e)return null;const{href:o}=e,s=o?"a":"div";return(0,n.Y)(s,{...a,className:`${t}__dot`,href:o||void 0,role:o?void 0:"group",tabIndex:o?void 0:0})},g=e=>{const{prefix:t,baseClass:r,active:o,item:s,children:l,...c}=e,{dotCoordinates:u,hidden:d}=s;return(0,n.Y)("li",{className:a(`${r}__area`,(d||void 0===d)&&`${r}__area--hidden`,o&&`${r}__area--active`),"aria-hidden":d,style:{top:`${u.y}%`,left:`${u.x}%`},...c,children:i.default.Children.toArray(l).map((e=>i.default.cloneElement(e,{baseClass:r,prefix:t,item:s,active:o})))})},_={new:"New",nlp:"New lower price",family:"IKEA Family price"};var b=e=>{const{prefix:t="",message:r,variant:i="new",subtle:o,className:s}=e,l=a(s,`${t}commercial-message`,o&&`${t}commercial-message--subtle`,`${t}commercial-message${o?"--subtle":""}--${i}`);return(0,n.Y)("div",{className:l,children:(0,n.Y)("span",{className:`${t}commercial-message__title`,children:r||_[i]})})},y=e=>{const{prefix:t="",decimalSign:r="",subscriptLabel:i="",integerValue:a,decimalValue:o="",size:s="medium",fixedSize:l=!1,currencyVerticalAlignment:c="super",decimalVerticalAlignment:u="super",currencyLabel:d="",currencySpacing:h="none",captionPrefix:p="",captionSuffix:f="",currencyPosition:m="leading",regularFontWeight:v=!1,strikeoutPrice:g=!1,bti:_=!1,subtle:b=!1,className:y="",...x}=e,S=`${t}price`,w=function({baseClass:e,currencyVerticalAlignment:t,decimalVerticalAlignment:r,currencyPosition:n,currencySpacing:i,strikeoutPrice:a,fixedSize:o,subtle:s,bti:l,size:c,regularFontWeight:u,class:d,className:h}){return[e,"leading"===n&&`${e}--leading`,"trailing"===n&&`${e}--trailing`,"none"!==i&&`${e}--currency-${i}`,!a&&o&&`${e}--fixed-size`,n&&`${e}--${n}`,c&&`${e}--${c}`,s&&`${e}--subtle`,a&&`${e}--strikeout`,!l&&u&&`${e}--regular-font-weight`,l&&`${e}--bti-price`,!o&&!a&&t&&`${e}--currency-${t}-aligned`,!o&&!a&&r&&`${e}--decimal-${r}-aligned`,d,h].filter(Boolean).join(" ")}({baseClass:S,currencyPosition:m,currencySpacing:h,strikeoutPrice:g,fixedSize:l,currencyVerticalAlignment:c,decimalVerticalAlignment:u,subtle:b,bti:_,size:s,regularFontWeight:v,className:y}),k=function({bti:e}){return e?"em":"span"}({bti:_}),$=function({integerValue:e=""}){return!e||"−"!==e[0]&&"-"!==e[0]?null:"− "}({integerValue:a}),N=function({captionPrefix:e,captionSuffix:t,negativeSign:r,currencyPosition:n,currencyLabel:i,decimalSign:a,decimalValue:o,subscriptLabel:s,integerValue:l}){const c=l?l.replace(/\s|\.|,/g,""):"";return[e,r,"leading"===n?i:"",[r?c.slice(1):c,a&&o?a:"",o&&a?o:"","trailing"===n?i:"",s].filter(Boolean).join(""),t].filter(Boolean).join(" ")}({captionPrefix:p,captionSuffix:f,negativeSign:$||"",currencyLabel:d,currencyPosition:m,decimalSign:r,decimalValue:o,subscriptLabel:i,integerValue:a});return(0,n.FD)(k,{className:w,...x,children:[(0,n.FD)("span",{"aria-hidden":"true",className:"notranslate",children:[(0,n.FD)("span",{className:`${S}__nowrap`,children:[$&&(0,n.Y)("span",{className:`${S}__minus`,children:$}),"leading"===m&&(0,n.Y)("span",{className:`${S}__currency`,children:d}),(0,n.Y)("span",{className:`${S}__integer`,children:$?a.slice(1):a})]}),Boolean(o)&&(0,n.FD)("span",{className:`${S}__decimal`,children:[Boolean(r)&&(0,n.Y)("span",{className:`${S}__separator`,children:r}),o.trim()]}),"trailing"===m&&(0,n.Y)("span",{className:`${S}__currency`,children:d}),Boolean(i)&&(0,n.Y)("span",{className:`${S}__subscript`,children:i})]}),(0,n.Y)("span",{className:`${S}__sr-text`,children:N})]})},x=({prefix:e="",children:t})=>{if(!t)return null;const r=i.default.Children.toArray(t);return 0===r.length?null:(0,n.Y)("div",{className:`${e}price-module__addons`,children:r.map(((t,r)=>(0,n.Y)("div",{className:`${e}price-module__addon`,children:t},r)))})},S=({prefix:e="",productNameHeadingTag:t="div",name:r,children:i})=>{if(!r)return null;const a=t;return(0,n.FD)(a,{className:`${e}price-module__name notranslate`,children:[(0,n.Y)("span",{className:`${e}price-module__name-decorator`,children:r})," ",i]})},w=e=>{const{prefix:t="",children:r}=e;return r?(0,n.Y)("span",{className:`${t}price-module__energy-class`,children:r}):null};const k=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m14.5039 11.9961-5-3v6l5-3z"}}];var $=r(2113),N=()=>(0,$.$)(k),C=e=>{const{prefix:t="",children:r,type:i="subtle",bullet:o=!0}=e;if(!r)return null;const l=`${t}price-module__offer-message`,c=a(l,"family"===i&&`${l}--family`,"emphasised"===i&&`${l}--emphasised`);return(0,n.FD)("div",{className:c,children:[o&&(0,n.Y)(s.A,{paths:N}),(0,n.Y)("span",{children:r})]})},I=({prefix:e="",description:t})=>t?(0,n.Y)("span",{className:`${e}price-module__description`,children:t}):null,A=e=>{const{prefix:t="",className:r}=e,i=a(`${t}price-module__comparison-price`,r);return(0,n.Y)("span",{className:i,children:(0,n.Y)(y,{size:"small",strikeoutPrice:!0,fixedSize:!0,prefix:t,...e})})};const P=["new","new-bti","new-tro","nlp","family"],Y=["tro","new-tro"],L=["bti","new-bti"],E=e=>e.includes("new")?"new":"nlp"===e?"nlp":"family"===e?"family":void 0,O=e=>L.includes(e),M=(e,t)=>e&&Y.includes(t);var R=(e=>(e[e.none=0]="none",e[e.bti=1]="bti",e[e.tro=2]="tro",e[e.nlp=3]="nlp",e))(R||{}),D=e=>{const{prefix:t="",productName:r,productDescription:i,commercialMessageProps:o,priceOfferType:s="none",comparisonPriceProps:l,currentPriceProps:c,secondaryCurrencyPriceProps:u,secondaryCurrencyComparisonPriceProps:d,priceAddons:h,energyClass:p,productNameHeadingTag:f="div",size:m="medium",completePriceLabel:v,className:g,commercialMessagePlaceholder:_,comparisonPriceLabel:k,offerMessageProps:$,...N}=e,Y=`${t}price-module`,L=((e,t)=>(P.includes(e)||Boolean(t))&&""!==(null==t?void 0:t.message)&&"family-romania"!==e)(s,o),D=a(Y,`${Y}--${m}`,L&&`${Y}--with-commercial-message`,!L&&_&&`${Y}--commercial-message-placeholder`,s&&`${Y}--${s}`,g),F=M(Boolean(l),s)?(0,n.Y)(A,{prefix:t,...l,fixedSize:!0}):null,B=M(Boolean(d),s)?(0,n.Y)(A,{prefix:t,...d,fixedSize:!0}):null,T="family"===s||"family-romania"===s?"family":$?.emphasised&&s in R?"emphasised":"subtle";return(0,n.FD)("div",{className:D,...N,children:[(0,n.FD)("div",{className:`${Y}__information`,children:[L&&(0,n.Y)(b,{prefix:t,subtle:!0,...o,variant:E(s)}),(0,n.Y)(S,{productNameHeadingTag:f,prefix:t,name:r,children:(0,n.Y)(I,{prefix:t,description:i})})]}),v&&(0,n.FD)("span",{className:`${Y}__complete-price`,children:[" ",v," "]}),(0,n.FD)("div",{className:`${Y}__price`,children:["family-romania"===s&&(0,n.Y)(b,{prefix:t,subtle:!0,...o,variant:"family"}),(0,n.FD)("div",{className:`${Y}__primary-currency-price`,children:[F,(0,n.Y)(y,{bti:O(s),...c,prefix:t,className:a(`${Y}__current-price`,c.className)}),"family-romania"!==s&&(0,n.Y)(w,{prefix:t,children:p})]}),u&&"family-romania"!==s&&(0,n.FD)("div",{className:`${Y}__secondary-currency-price`,children:[B,(0,n.Y)(y,{bti:O(s),...u,prefix:t,className:a(`${Y}__secondary-current-price`,c.className)})]}),"family-romania"===s&&k&&(0,n.Y)("span",{className:`${Y}__comparison-price-label`,children:k}),"family-romania"===s&&l&&(0,n.FD)("div",{className:`${Y}__primary-currency-price`,children:[(0,n.Y)(y,{...l,prefix:t,className:a(`${Y}__current-price ${Y}__regular-price`,l.className)}),(0,n.Y)(w,{prefix:t,children:p})]})]}),$&&(0,n.Y)(C,{prefix:t,type:T,bullet:$.bullet,children:$.children}),h&&(0,n.Y)(x,{prefix:t,children:h})]})},F=r(2821);const B=({baseClass:e,prefix:t="",pricePackage:r,href:i})=>(0,n.FD)("a",{className:`${e}__tag-link`,href:i,children:[(0,n.Y)(D,{prefix:t,...r}),(0,n.Y)("div",{className:`${e}__tag-chevron`,children:(0,n.Y)(s.A,{prefix:t,paths:F.A})})]}),T=({pricePackage:e,...t})=>{switch(typeof e){case"string":return(0,n.Y)("div",{dangerouslySetInnerHTML:{__html:e}});case"object":return i.default.isValidElement(e)?e:(0,n.Y)(B,{...{...t,pricePackage:e}});default:return null}};function z(e,t){const{id:r,dotCoordinates:n}=t;return r?`${e}-${r}`:`${e}-product-${n.x}-${n.y}`}const V=e=>{const t=i.default.useRef(null),{baseClass:r="",prefix:o="",item:s,active:l}=e;return(0,i.useEffect)((()=>{if(t.current){const e=Array.from(t.current.querySelectorAll("a,button"));e.length>0&&e.forEach((e=>{e.setAttribute("tabindex","-1")}))}}),[s]),s?(0,n.Y)("div",{ref:t,"aria-hidden":!l,role:"tooltip",id:z(r,s),className:a(`${r}__tag`,`${r}__tag--${s.tagPosition}`),children:(0,n.FD)("div",{className:`${r}__tag-inner`,children:[(0,n.Y)(T,{baseClass:r,prefix:o,href:s.href,pricePackage:s.pricePackage}),(0,n.Y)("span",{className:`${r}__sr-description`,children:e["aria-label"]})]})}):null},H=({baseClass:e,prefix:t,filteredProducts:r,activeTagIndex:a,setActiveTagIndex:o,disableOverlay:s,productsInImageAriaLabel:l,onProductClick:c,onDotMouseLeave:u,onDotKeyUp:d,onDotKeyDown:h,onDotTouchEnd:p,forwardedOnDotMouseOver:f,forwardedOnDotClick:m,markersHidden:_,dotAriaLabel:b})=>{const[y,x]=function(){const e=(0,i.useRef)(null);return[t=>{e.current=t.touches[0]},(t,n)=>{n.preventDefault();const i=n.changedTouches[0],s=e?.current?.clientY??0;Math.abs(i.clientY-s)>=25||((e,t)=>{o(a!==e?e:null),p&&p(t,r[e])})(t,n)}]}();return(0,n.Y)("ul",{className:`${e}__product-list`,"aria-hidden":null===a||s,"aria-label":l,children:r.map(((i,s)=>(0,n.FD)(g,{prefix:t,baseClass:e,item:i,active:s===a,onClick:c&&(e=>c(e,i)),onMouseOver:()=>o(s),onMouseLeave:e=>{o(null),u&&u(e,r[s])},children:[(0,n.Y)(v,{"aria-labelledby":z(e,i),onMouseOver:f&&(e=>f(e,r[s])),onClick:m&&(e=>{e.stopPropagation(),m(e,r[s])}),onTouchStart:!_&&y||void 0,onTouchEnd:!_&&(e=>x(s,e))||void 0,onKeyUp:e=>d(s,e),onKeyDown:e=>h(s,e)}),(0,n.Y)(V,{"aria-label":b})]},s)))})},W=e=>{const{baseClass:t,categoryUrl:r,markersHidden:i,onClick:a,onBackdropKeyup:o,onBackdropKeydown:s,children:l}=e;return r?(0,n.Y)("a",{className:`${t}__category-link`,href:r,onClick:a,onKeyUp:i&&o||void 0,onKeyDown:s,children:l}):(0,n.Y)("div",{className:`${t}__image-wrapper`,role:a&&"button",onClick:a,tabIndex:a&&0,onKeyDown:a&&s,onKeyUp:a&&o,children:l})};var U=r(2485);const j=[{tag:"path",att:{d:"M10.0291 10.0278c.5858-.5858.5858-1.5355 0-2.1213-.5857-.5858-1.5355-.5858-2.1213 0-.5858.5857-.5858 1.5355 0 2.1213.5858.5858 1.5356.5858 2.1213 0z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m4.2037 4.2037-1.2535 7.9389 10.3866 10.3866 9.1924-9.1924L12.1426 2.9502 4.2037 4.2037zm9.1331 15.4971-8.2522-8.2523.8678-5.4961 5.4961-.8678 8.2523 8.2522-6.364 6.364z"}}];var K=()=>(0,$.$)(j);const q=({enable:e,...t})=>e?(0,n.Y)(U.A,{...t,ssrIcon:K,expandedOnTouchDevice:!0,size:"small",expanding:!0,type:"image-overlay"}):null,G={standard:4/3,portrait:3/4,square:1,wide:16/9,semiportrait:6/7,"1:1":1,"4:3":4/3,"3:4":3/4,"4:5":.8,"16:9":16/9,"9:16":9/16,"6:7":6/7,"5:4":5/4},X=["sm","md","lg","xl"];const Q=e=>{const{disable:t,...r}=e;return t?(0,n.Y)(n.FK,{children:e.children}):(0,n.Y)(o.A,{...r})};var J=e=>{const{productsInImageAriaLabel:t="Products shown on image",prefix:r="",className:o,products:s,markersHidden:l,onImageClick:c,ratio:p,imageProps:v={},categoryUrl:g,dotAriaLabel:_="go to product page",withShopAll:b,onShopAllButtonClick:y,shopAllButtonLabel:x,rawImageAspect:S,shopAllButtonProps:w={},onDotTouchEnd:k,onDotKeyDown:$,onDotMouseOver:N,onDotClick:C,onProductClick:I,onDotMouseLeave:A,fluidSize:P,...Y}=e,L=s?s.indexOf(s.find((e=>e.isPrimary))):-1,[E,O]=i.default.useState(L),[M,R]=i.default.useState(l?null:L),[D,F]=i.default.useState(!1),[B,T]=i.default.useState(!!l),z=i.default.useRef(null),[V,U]=i.default.useState(S||null),j=i.default.useRef(null),[K,J]=i.default.useState(!l),Z=((e="standard")=>{const t=e.match(/([^-]+)(?:-to-([^-]+)-from-([^-]+))?(?:-to-([^-]+)-from-([^-]+))?/),[,r,n,i,a,o]=t||[];return{base:r,to:n,when:i,to2:a,when2:o}})(p),ee=(0,d.A)(Z.when,Z.when2),te=function({imageRef:e,fluidSize:t,aspectRatioRules:r,breakpoint:n}){let i;return i=t?e.current?e.current.clientWidth/e.current.clientHeight:1:(({base:e,to:t,when:r,to2:n,when2:i},a)=>{if(!a)return G[e];const o=X.indexOf(a);return i&&n&&o>=X.indexOf(i)?G[n]:r&&t&&X.indexOf(a)>=X.indexOf(r)?G[t]:G[e]})(r,n),i}({fluidSize:P,imageRef:j,aspectRatioRules:Z,breakpoint:ee}),re=i.default.useRef({}),ne=i.default.useRef(-1),ie=i.default.useRef(0),[ae,oe]=i.default.useState("undefined"==typeof window&&!P&&S&&!Z.to&&(({products:e,rawImageAspect:t,displayedImageAspect:r,lastVisibleIndex:n,firstVisibleIndex:i,primaryTagIndexInit:a})=>{if(!e)return[];const o=m({displayedImageAspect:r,rawImageAspect:t,products:e});return f({lastVisibleIndex:n,firstVisibleIndex:i,primaryTagIndexInit:a,products:o})})({products:s,displayedImageAspect:te,lastVisibleIndex:ne,firstVisibleIndex:ie,rawImageAspect:S,primaryTagIndexInit:L})||s||[]),se=(0,h.A)(!l||D),le=`${r}shoppable-image`,ce=()=>{R(E),F(!1),J(!l)};function ue({recalculate:e}){V&&K&&(e?(re.current.width=-1,oe(he(m({displayedImageAspect:te,rawImageAspect:V,products:s})))):oe(he(ae)))}const de=i.default.useRef(ue);de.current=ue;const he=e=>f({imageRef:j,sizeBuffer:re,lastVisibleIndex:ne,firstVisibleIndex:ie,products:e,withShopAll:b,primaryTagIndexInit:L});i.default.useEffect((()=>(D&&window.addEventListener("mousemove",ce,{once:!0}),()=>window.removeEventListener("mousemove",ce))),[D]),i.default.useEffect((()=>{let e=!0;ae.forEach(((t,r)=>{t.isPrimary&&(O(r),R(r),e=!1)})),e&&(R(-1),O(-1))}),[s,ae]),i.default.useEffect((()=>{V&&K&&de.current({recalculate:!0})}),[s,V,K,te,b,se]),i.default.useEffect((()=>{l&&R(-1),l||J(!0)}),[l]),i.default.useEffect((()=>{B&&T(!1)}),[]);const pe=()=>{K?V&&ue({recalculate:!1}):J(!0)},fe=a(o,le,(D||!l)&&!B&&`${le}--visible-dots`,B&&`${le}--hidden-dots`,P&&`${le}--fluid-size`);return(0,n.FD)("div",{ref:z,...Y,className:fe,onMouseOver:pe,onTouchStart:pe,onKeyUp:e=>{"Escape"===e.key&&R(null),pe()},onMouseLeave:ce,children:[(0,n.Y)(W,{baseClass:le,categoryUrl:g,markersHidden:l,onClick:e=>{c&&c(e),g||l||T((e=>!e))},onBackdropKeyup:({key:e})=>"Tab"===e&&F(!0),onBackdropKeydown:({key:e,shiftKey:t})=>{((M===ie.current||M===E)&&"Tab"===e&&t||"Tab"===e&&-1===ne.current)&&ce()},children:(0,n.Y)(Q,{prefix:r,ratio:p,disable:P,children:(0,n.Y)(u,{prefix:r,...v,onLoad:e=>{const{naturalWidth:t,naturalHeight:r}=e.currentTarget;U(t/r),j.current=e.currentTarget,v.onLoad&&v.onLoad(e)}})})}),(0,n.FD)(Q,{tagType:"div",prefix:r,className:`${le}__aspect-constraint`,ratio:p,disable:P,children:[(0,n.Y)(H,{baseClass:le,prefix:r,filteredProducts:ae,activeTagIndex:M,setActiveTagIndex:R,disableOverlay:B,productsInImageAriaLabel:t,onProductClick:I,onDotMouseLeave:A,onDotTouchEnd:k,onDotKeyUp:(e,t)=>{"Tab"===t.key&&R(e)},onDotKeyDown:(e,t)=>{"Tab"!==t.key||t.shiftKey||e!==ne.current||ce(),$&&$(t,ae[e])},forwardedOnDotMouseOver:N,forwardedOnDotClick:C,markersHidden:l,dotAriaLabel:_}),(0,n.Y)(q,{...w,enable:b,prefix:r,className:`${le}__button`,text:x,onClick:y})]})]})}},2165:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(2269),i=r(9360),a=r(969);const o=[{tag:"path",att:{d:"M5.998 4.996h4v14.0001h-4v-14zm8 0h4v14.0001h-4v-14z"}}];var s=r(2113),l=()=>(0,s.$)(o);const c=[{tag:"path",att:{d:"M19 12 7 19V5l12 7z"}}];var u=()=>(0,s.$)(c),d=r(2485);const h=(0,i.forwardRef)(((e,t)=>{const{prefix:r="",customOnClickAriaLabel:o="Video action",descriptionId:s,descriptionBody:c,onClick:h,className:p,playAriaLabel:f="play",pauseAriaLabel:m="pause",videoNotSupportedTxt:v="Sorry, your browser doesn’t support embedded videos.",autoPlay:g=!0,..._}=e,[b,y]=(0,i.useState)(g),[x,S]=(0,i.useState)(!1),[w,k]=(0,i.useState)(g),$=t||(0,i.useRef)(null);(0,i.useEffect)((()=>{window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches&&y(!1)}),[]);const N=()=>{const e=$;b?e.current?.pause():e.current?.play(),y(!b),g||w||S(!0)},C=`${r}simple-video`,I=a(`${C}`,p),A=a(`${C}__video-action`,h&&`${C}__video-action--custom-click`),P=b?m:f,Y=a(`${C}__button-container`,!g&&x&&`${C}__button-container--fading`,w&&`${C}__button-container--corner`);return(0,n.FD)(n.FK,{children:[(0,n.Y)("video",{ref:$,className:I,playsInline:!0,"aria-describedby":s,onKeyUp:function(e){if("Enter"!==e.key&&" "!==e.key)return!0;e.target.click()},muted:!0,loop:!0,autoPlay:g||!1,..._,children:v}),(0,n.Y)("button",{className:A,"aria-label":h?o:P,onClick:h||N}),(0,n.Y)("div",{className:Y,onAnimationEnd:()=>{k(!0),S(!1)},children:(0,n.Y)(d.A,{"aria-hidden":!h,tabIndex:h?0:-1,onClick:N,prefix:r,size:w?"small":"medium",ssrIcon:b?l:u,className:`${C}__button`,text:P,iconOnly:!0,type:"image-overlay"})}),(0,n.Y)("div",{id:s,className:`${C}__description`,children:c})]})}));h.displayName="SimpleVideo";var p=h},6996:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(2269),i=r(9360),a=r(969);const o=({prefix:e="",className:t,viewBox:r="0 0 24 24",ariaHidden:i=!0,children:a,...o})=>(0,n.Y)("svg",{viewBox:r,focusable:"false",width:"24",height:"24",...o,"aria-hidden":i,className:`${e}svg-icon${t?` ${t}`:""}`,children:a});var s=e=>{const{prefix:t="",viewBox:r="0 0 24 24",paths:s,className:l,modifier:c,ariaHidden:u=!0,...d}=e,h=a(l,c&&`${t}svg-icon--${c}`);return s?(0,n.Y)(o,{viewBox:r,prefix:t,...d,className:h,ariaHidden:u,children:s().map(((e,t)=>i.default.cloneElement(e,{key:t})))}):null}},5446:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{d:"M11.9989 18.001 3.9982 9.9998l1.4143-1.4142 5.5865 5.5869V2.0001h2v12.1727l5.5869-5.5861L20 10.001l-8.0011 8zM2 22.001h20v-2H2v2z"}}];var i=r(2113),a=()=>(0,i.$)(n)},1960:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m3.999 11.9997 8 8.0011 1.4143-1.4141-5.5859-5.5866H20v-2H7.8273l5.5871-5.5868-1.4142-1.4143-8.0012 8.0007z"}}];var i=r(2113),a=()=>(0,i.$)(n)},7517:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m20.0008 12.0001-8-8.001-1.4143 1.414L16.1727 11H4v2h12.1723l-5.5868 5.5866 1.4141 1.4142 8.0012-8.0007z"}}];var i=r(2113),a=()=>(0,i.$)(n)},965:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.9999 17.0605 3.9992 9.0593l1.4142-1.4141L12 14.2322l6.5869-6.586 1.4141 1.4143-8.0011 8z"}}];var i=r(2113),a=()=>(0,i.$)(n)},7223:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m8.4004 12.0007 5.785 5.7857 1.4143-1.4141-4.3711-4.3716 4.3711-4.3717-1.4143-1.4142-5.785 5.7859z"}}];var i=r(2113),a=()=>(0,i.$)(n)},6270:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m7 12.0009 8.0012-8.0007 1.4142 1.4142-6.587 6.5866 6.5859 6.5868L15 20.002l-8-8.0011z"}}];var i=r(2113),a=()=>(0,i.$)(n)},5003:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m15.5996 12.0007-5.785 5.7857-1.4143-1.4141 4.3711-4.3716L8.4003 7.629l1.4143-1.4142 5.785 5.7859z"}}];var i=r(2113),a=()=>(0,i.$)(n)},2821:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m16.415 12.0011-8.0012 8.0007-1.4141-1.4143 6.587-6.5866-6.586-6.5868L8.415 4l8 8.0011z"}}];var i=r(2113),a=()=>(0,i.$)(n)},4002:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m12.0001 6.9394 8.0007 8.0013-1.4142 1.4141L12 9.7678l-6.5869 6.586-1.414-1.4143 8.001-8z"}}];var i=r(2113),a=()=>(0,i.$)(n)},258:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m12 13.4142 4.9498 4.9497 1.4142-1.4142L13.4142 12l4.9498-4.9498-1.4142-1.4142L12 10.5857 7.0503 5.636 5.636 7.0502 10.5859 12l-4.9497 4.9497 1.4142 1.4142L12 13.4142z"}}];var i=r(2113),a=()=>(0,i.$)(n)},3932:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m2.1213 2.121 19.7989 19.7991-1.4141 1.4142-3.3345-3.3345H3.0002V5.8284L.7071 3.5353 2.1213 2.121zm13.0503 15.8788-2-2H6.5002l2.6685-4.0029-4.1685-4.1685v10.1714h10.1714z"}},{tag:"path",att:{d:"m6.8284 3.9998 2 2h10.1718v10.1718l2 2V3.9998H6.8284z"}},{tag:"path",att:{d:"M14.0002 9.4998c0 .8284.6716 1.5 1.5 1.5s1.5-.6716 1.5-1.5c0-.8285-.6716-1.5-1.5-1.5s-1.5.6715-1.5 1.5z"}}];var i=r(2113),a=()=>(0,i.$)(n)},1621:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{d:"M15.5 11c-.8284 0-1.5-.6716-1.5-1.5S14.6716 8 15.5 8s1.5.6716 1.5 1.5-.6716 1.5-1.5 1.5zM13 15.25l-3-4.5L6.5 16h11L15 12.25l-2 3z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3 4v16h18V4H3zm2 14V6h14v12H5z"}}];var i=r(2113),a=()=>(0,i.$)(n)},2113:(e,t,r)=>{"use strict";r.d(t,{$:()=>a});var n=r(9360);function i(e){return e.replace(/-([a-z])/g,((e,t)=>t.toUpperCase()))}function a(e){if(e)return e.map((e=>{return(0,n.createElement)(e.tag,(t=e.att,Object.entries(t).reduce(((e,[t,r])=>("style"===t&&"string"==typeof r?e.style=r.split(";").reduce(((e,t)=>{const[r,n]=t.split(":");return r&&n&&(e[i(r.trim())]=n.trim()),e}),{}):e[i(t)]=r,e)),{})),a(e.nds));var t}))}},697:(e,t,r)=>{"use strict";r.d(t,{Ax:()=>p,IW2:()=>m,IZ3:()=>g,JLI:()=>b,Ozu:()=>f,QS7:()=>i,W$K:()=>x,WjJ:()=>S,Xfb:()=>l,Xuj:()=>n,ZxF:()=>o,bHk:()=>c,cUo:()=>s,idu:()=>d,lO6:()=>a,pgY:()=>h,uT8:()=>y,vkK:()=>v,wzZ:()=>u,y8B:()=>_});const n="rgb(var(--colour-neutral-1, 255, 255, 255))",i="rgb(var(--colour-neutral-2, 245, 245, 245))",a="rgb(var(--colour-neutral-3, 223, 223, 223))",o="rgb(var(--colour-neutral-5, 146, 146, 146))",s="rgb(var(--colour-neutral-6, 72, 72, 72))",l="rgb(var(--colour-neutral-7, 17, 17, 17))",c="rgb(var(--colour-text-and-icon-1, 17, 17, 17))",u="rgb(var(--colour-text-and-icon-2, 72, 72, 72))",d="rgb(var(--colour-text-and-icon-4, 146, 146, 146))",h="rgb(var(--colour-text-and-icon-5, 255, 255, 255))",p="rgb(var(--colour-static-white, 255, 255, 255))",f="rgb(var(--colour-static-black, 17, 17, 17))",m="rgb(var(--colour-static-ikea-brand-blue, 0, 88, 163))",v="rgb(var(--colour-static-ikea-business-network, 222, 188, 156))",g="rgb(var(--colour-commercial-message-new, 202, 80, 8))",_="rgb(var(--colour-commercial-message-ikea-family, 0, 124, 193))",b="rgb(var(--colour-commercial-message-bti-yellow, 255, 219, 0))",y="rgb(var(--colour-commercial-message-bti-red, 204, 0, 8))",x="rgb(var(--colour-campaign-sustainability, 0, 133, 62))",S="rgb(var(--colour-interactive-primary-bg-pressed, 0, 0, 0))"},5405:(e,t,r)=>{"use strict";r.d(t,{GL:()=>n,f5:()=>a,mH:()=>i});const n="75em",i="56.25em",a="37.5em"},6361:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(9360),i=r(5405);if(!i.f5||!i.mH||!i.GL)throw Error("Undefined essential design tokens! Check breakpoint references at @ingka/variables");const a={},o=[],s=()=>{let e;return e=a.large.matches?u.XLARGE:a.medium.matches?u.LARGE:a.small.matches?u.MEDIUM:u.SMALL,e},l=e=>d.indexOf(e),c=()=>{let e=s();o.forEach((({current:{breakpointStateSetter:t,triggerPoints:r}})=>t((t=>r.find((r=>l(t){const[t,r]=n.default.useState(),l=n.default.useRef();return n.default.useEffect((()=>(l.current={breakpointStateSetter:r,triggerPoints:e},e.length&&(o.push(l),1===o.length&&(a.small||(a.small=window.matchMedia(`(min-width: ${i.f5})`),a.medium=window.matchMedia(`(min-width: ${i.mH})`),a.large=window.matchMedia(`(min-width: ${i.GL})`),a.all=[a.small,a.medium,a.large]),a.all.forEach((e=>a.small.addEventListener?e.addEventListener("change",c):e.addListener(c)))),r(s())),()=>{o.indexOf(l)>-1&&o.splice(o.indexOf(l),1),0===o.length&&(a.all.forEach((e=>a.small.removeEventListener?e.removeEventListener("change",c):e.removeListener(c))),a.all.length=0,delete a.all,Object.keys(a).map((e=>delete a[e])))})),e),t}},3492:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(9360);const i=()=>({w:window.innerWidth,h:window.innerHeight}),a=[];let o;const s=()=>{clearTimeout(o),o=setTimeout((()=>{const e=i();a.forEach((t=>t(e)))}),40)},l=()=>{clearTimeout(o),window.removeEventListener("resize",s)};var c=e=>{const[t,r]=n.default.useState(e&&"undefined"!=typeof window&&i()||void 0);return n.default.useEffect((()=>{if(e){const e=(e=>{if(!e)return i();const t=i();return t.w!==e.w||t.h!==e.h?t:void 0})(t);e&&r(e),a.push(r),1===a.length&&(l(),window.addEventListener("resize",s))}return()=>{let e=a.indexOf(r);e>-1&&a.splice(e,1),0===a.length&&l()}}),[e]),t}},2989:(e,t,r)=>{"use strict";r.d(t,{C:()=>ce});var n=r(2269),i=r(7163),a=r(3653),o=r(9360),s=r(6625);const l={},c=[],u=()=>{let e;return e=l.large.matches?p.XLARGE:l.medium.matches?p.LARGE:l.small.matches?p.MEDIUM:p.SMALL,e},d=e=>f.indexOf(e),h=()=>{let e=u();c.forEach((({current:{breakpointStateSetter:t,triggerPoints:r}})=>t((t=>r.find((r=>d(t)({w:window.innerWidth,h:window.innerHeight}),v=[];let g;const _=()=>{clearTimeout(g),g=setTimeout((()=>{const e=m();v.forEach((t=>t(e)))}),40)},b=()=>{clearTimeout(g),window.removeEventListener("resize",_)};const y=({x:e,y:t},{x:r,y:n},i,a)=>!(r>e+i||e>r+i||n>t+a||t>n+a);const x=({imageRef:e,sizeBuffer:t,lastVisibleIndex:r,firstVisibleIndex:n,products:i,withShopAll:a,primaryTagIndexInit:o})=>{if(e&&e.current&&t&&t.current){if(t.current&&t.current.width===e.current.clientWidth)return i;t.current.width=e.current.clientWidth}const s=((e,t,r)=>{if(!r||!r.current)return e;const n=4400/r.current.clientWidth,i=4400/r.current.clientHeight;let a=e;t>-1&&(a=[e[t],...e.slice(0,t),...e.slice(t+1)]);for(let e=0;e{let n=0,i=0,a=0;if(r&&r.current){const{clientWidth:e,clientHeight:o}=r.current;n=2e3/e,i=2e3/o,a=t?5800/o:0}return e.map((e=>{const{x:t,y:r}=e.dotCoordinates;return e.hidden=e.hide||t100||r100,e}))})({products:i,withShopAll:a,imageRef:e}),o,e);return((e,t,r)=>{r.current=-1,t.current=-1;for(let n=0;n{if(!r)return[];let n=1,i=1;e>t?i=e/t:n=t/e;const a=50*(1-1/n),o=50*(1-1/i),s=({x:e,y:t})=>({x:(e-a)*n,y:(t-o)*i});return r.map((e=>({...e,dotCoordinates:s(e.dotCoordinates)})))},w=({item:e,baseClass:t,prefix:r,active:i,...a})=>{if(!e)return null;const{href:o}=e,s=o?"a":"div";return(0,n.Y)(s,{...a,className:`${t}__dot`,href:o||void 0,role:o?void 0:"group",tabIndex:o?void 0:0})},k=e=>{const{prefix:t,baseClass:r,active:i,item:a,children:l,...c}=e,{dotCoordinates:u,hidden:d}=a;return(0,n.Y)("li",{className:s(`${r}__area`,(d||void 0===d)&&`${r}__area--hidden`,i&&`${r}__area--active`),"aria-hidden":d,style:{top:`${u.y}%`,left:`${u.x}%`},...c,children:o.default.Children.toArray(l).map((e=>o.default.cloneElement(e,{baseClass:r,prefix:t,item:a,active:i})))})};var $=r(1195),N=e=>{const{prefix:t="",decimalSign:r="",subscriptLabel:i="",integerValue:a,decimalValue:o="",size:s="medium",fixedSize:l=!1,currencyVerticalAlignment:c="super",decimalVerticalAlignment:u="super",currencyLabel:d="",currencySpacing:h="none",captionPrefix:p="",captionSuffix:f="",currencyPosition:m="leading",regularFontWeight:v=!1,strikeoutPrice:g=!1,bti:_=!1,subtle:b=!1,className:y="",...x}=e,S=`${t}price`,w=function({baseClass:e,currencyVerticalAlignment:t,decimalVerticalAlignment:r,currencyPosition:n,currencySpacing:i,strikeoutPrice:a,fixedSize:o,subtle:s,bti:l,size:c,regularFontWeight:u,class:d,className:h}){return[e,"leading"===n&&`${e}--leading`,"trailing"===n&&`${e}--trailing`,"none"!==i&&`${e}--currency-${i}`,!a&&o&&`${e}--fixed-size`,n&&`${e}--${n}`,c&&`${e}--${c}`,s&&`${e}--subtle`,a&&`${e}--strikeout`,!l&&u&&`${e}--regular-font-weight`,l&&`${e}--bti-price`,!o&&!a&&t&&`${e}--currency-${t}-aligned`,!o&&!a&&r&&`${e}--decimal-${r}-aligned`,d,h].filter(Boolean).join(" ")}({baseClass:S,currencyPosition:m,currencySpacing:h,strikeoutPrice:g,fixedSize:l,currencyVerticalAlignment:c,decimalVerticalAlignment:u,subtle:b,bti:_,size:s,regularFontWeight:v,className:y}),k=function({bti:e}){return e?"em":"span"}({bti:_}),$=function({integerValue:e=""}){return!e||"−"!==e[0]&&"-"!==e[0]?null:"− "}({integerValue:a}),N=function({captionPrefix:e,captionSuffix:t,negativeSign:r,currencyPosition:n,currencyLabel:i,decimalSign:a,decimalValue:o,subscriptLabel:s,integerValue:l}){const c=l?l.replace(/\s|\.|,/g,""):"";return[e,r,"leading"===n?i:"",[r?c.slice(1):c,a&&o?a:"",o&&a?o:"","trailing"===n?i:"",s].filter(Boolean).join(""),t].filter(Boolean).join(" ")}({captionPrefix:p,captionSuffix:f,negativeSign:$||"",currencyLabel:d,currencyPosition:m,decimalSign:r,decimalValue:o,subscriptLabel:i,integerValue:a});return(0,n.FD)(k,{className:w,...x,children:[(0,n.FD)("span",{"aria-hidden":"true",className:"notranslate",children:[(0,n.FD)("span",{className:`${S}__nowrap`,children:[$&&(0,n.Y)("span",{className:`${S}__minus`,children:$}),"leading"===m&&(0,n.Y)("span",{className:`${S}__currency`,children:d}),(0,n.Y)("span",{className:`${S}__integer`,children:$?a.slice(1):a})]}),Boolean(o)&&(0,n.FD)("span",{className:`${S}__decimal`,children:[Boolean(r)&&(0,n.Y)("span",{className:`${S}__separator`,children:r}),o.trim()]}),"trailing"===m&&(0,n.Y)("span",{className:`${S}__currency`,children:d}),Boolean(i)&&(0,n.Y)("span",{className:`${S}__subscript`,children:i})]}),(0,n.Y)("span",{className:`${S}__sr-text`,children:N})]})},C=({prefix:e="",children:t})=>{if(!t)return null;const r=o.default.Children.toArray(t);return 0===r.length?null:(0,n.Y)("div",{className:`${e}price-module__addons`,children:r.map(((t,r)=>(0,n.Y)("div",{className:`${e}price-module__addon`,children:t},r)))})},I=({prefix:e="",productNameHeadingTag:t="div",name:r,children:i})=>{if(!r)return null;const a=t;return(0,n.FD)(a,{className:`${e}price-module__name notranslate`,children:[(0,n.Y)("span",{className:`${e}price-module__name-decorator`,children:r})," ",i]})},A=e=>{const{prefix:t="",children:r}=e;return r?(0,n.Y)("span",{className:`${t}price-module__energy-class`,children:r}):null},P=r(6052);const Y=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m14.5039 11.9961-5-3v6l5-3z"}}];var L=r(4337),E=()=>(0,L.$)(Y),O=e=>{const{prefix:t="",children:r,type:i="subtle",bullet:a=!0}=e;if(!r)return null;const o=`${t}price-module__offer-message`,l=s(o,"family"===i&&`${o}--family`,"emphasised"===i&&`${o}--emphasised`);return(0,n.FD)("div",{className:l,children:[a&&(0,n.Y)(P.A,{paths:E}),(0,n.Y)("span",{children:r})]})},M=({prefix:e="",description:t})=>t?(0,n.Y)("span",{className:`${e}price-module__description`,children:t}):null,R=e=>{const{prefix:t="",className:r}=e,i=s(`${t}price-module__comparison-price`,r);return(0,n.Y)("span",{className:i,children:(0,n.Y)(N,{size:"small",strikeoutPrice:!0,fixedSize:!0,prefix:t,...e})})};const D=["new","new-bti","new-tro","nlp","family"],F=["tro","new-tro"],B=["bti","new-bti"],T=e=>e.includes("new")?"new":"nlp"===e?"nlp":"family"===e?"family":void 0,z=e=>B.includes(e),V=(e,t)=>e&&F.includes(t);var H=(e=>(e[e.none=0]="none",e[e.bti=1]="bti",e[e.tro=2]="tro",e[e.nlp=3]="nlp",e))(H||{}),W=e=>{const{prefix:t="",productName:r,productDescription:i,commercialMessageProps:a,priceOfferType:o="none",comparisonPriceProps:l,currentPriceProps:c,secondaryCurrencyPriceProps:u,secondaryCurrencyComparisonPriceProps:d,priceAddons:h,energyClass:p,productNameHeadingTag:f="div",size:m="medium",completePriceLabel:v,className:g,commercialMessagePlaceholder:_,comparisonPriceLabel:b,offerMessageProps:y,...x}=e,S=`${t}price-module`,w=((e,t)=>(D.includes(e)||Boolean(t))&&""!==(null==t?void 0:t.message)&&"family-romania"!==e)(o,a),k=s(S,`${S}--${m}`,w&&`${S}--with-commercial-message`,!w&&_&&`${S}--commercial-message-placeholder`,o&&`${S}--${o}`,g),P=V(Boolean(l),o)?(0,n.Y)(R,{prefix:t,...l,fixedSize:!0}):null,Y=V(Boolean(d),o)?(0,n.Y)(R,{prefix:t,...d,fixedSize:!0}):null,L="family"===o||"family-romania"===o?"family":y?.emphasised&&o in H?"emphasised":"subtle";return(0,n.FD)("div",{className:k,...x,children:[(0,n.FD)("div",{className:`${S}__information`,children:[w&&(0,n.Y)($.A,{prefix:t,subtle:!0,...a,variant:T(o)}),(0,n.Y)(I,{productNameHeadingTag:f,prefix:t,name:r,children:(0,n.Y)(M,{prefix:t,description:i})})]}),v&&(0,n.FD)("span",{className:`${S}__complete-price`,children:[" ",v," "]}),(0,n.FD)("div",{className:`${S}__price`,children:["family-romania"===o&&(0,n.Y)($.A,{prefix:t,subtle:!0,...a,variant:"family"}),(0,n.FD)("div",{className:`${S}__primary-currency-price`,children:[P,(0,n.Y)(N,{bti:z(o),...c,prefix:t,className:s(`${S}__current-price`,c.className)}),"family-romania"!==o&&(0,n.Y)(A,{prefix:t,children:p})]}),u&&"family-romania"!==o&&(0,n.FD)("div",{className:`${S}__secondary-currency-price`,children:[Y,(0,n.Y)(N,{bti:z(o),...u,prefix:t,className:s(`${S}__secondary-current-price`,c.className)})]}),"family-romania"===o&&b&&(0,n.Y)("span",{className:`${S}__comparison-price-label`,children:b}),"family-romania"===o&&l&&(0,n.FD)("div",{className:`${S}__primary-currency-price`,children:[(0,n.Y)(N,{...l,prefix:t,className:s(`${S}__current-price ${S}__regular-price`,l.className)}),(0,n.Y)(A,{prefix:t,children:p})]})]}),y&&(0,n.Y)(O,{prefix:t,type:L,bullet:y.bullet,children:y.children}),h&&(0,n.Y)(C,{prefix:t,children:h})]})},U=r(4309);const j=({baseClass:e,prefix:t="",pricePackage:r,href:i})=>(0,n.FD)("a",{className:`${e}__tag-link`,href:i,children:[(0,n.Y)(W,{prefix:t,...r}),(0,n.Y)("div",{className:`${e}__tag-chevron`,children:(0,n.Y)(P.A,{prefix:t,paths:U.A})})]}),K=({pricePackage:e,...t})=>{switch(typeof e){case"string":return(0,n.Y)("div",{dangerouslySetInnerHTML:{__html:e}});case"object":return o.default.isValidElement(e)?e:(0,n.Y)(j,{...{...t,pricePackage:e}});default:return null}};function q(e,t){const{id:r,dotCoordinates:n}=t;return r?`${e}-${r}`:`${e}-product-${n.x}-${n.y}`}const G=e=>{const t=o.default.useRef(null),{baseClass:r="",prefix:i="",item:a,active:l}=e;return(0,o.useEffect)((()=>{if(t.current){const e=Array.from(t.current.querySelectorAll("a,button"));e.length>0&&e.forEach((e=>{e.setAttribute("tabindex","-1")}))}}),[a]),a?(0,n.Y)("div",{ref:t,"aria-hidden":!l,role:"tooltip",id:q(r,a),className:s(`${r}__tag`,`${r}__tag--${a.tagPosition}`),children:(0,n.FD)("div",{className:`${r}__tag-inner`,children:[(0,n.Y)(K,{baseClass:r,prefix:i,href:a.href,pricePackage:a.pricePackage}),(0,n.Y)("span",{className:`${r}__sr-description`,children:e["aria-label"]})]})}):null},X=({baseClass:e,prefix:t,filteredProducts:r,activeTagIndex:i,setActiveTagIndex:a,disableOverlay:s,productsInImageAriaLabel:l,onProductClick:c,onDotMouseLeave:u,onDotKeyUp:d,onDotKeyDown:h,onDotTouchEnd:p,forwardedOnDotMouseOver:f,forwardedOnDotClick:m,markersHidden:v,dotAriaLabel:g})=>{const[_,b]=function(){const e=(0,o.useRef)(null);return[t=>{e.current=t.touches[0]},(t,n)=>{n.preventDefault();const o=n.changedTouches[0],s=e?.current?.clientY??0;Math.abs(o.clientY-s)>=25||((e,t)=>{a(i!==e?e:null),p&&p(t,r[e])})(t,n)}]}();return(0,n.Y)("ul",{className:`${e}__product-list`,"aria-hidden":null===i||s,"aria-label":l,children:r.map(((o,s)=>(0,n.FD)(k,{prefix:t,baseClass:e,item:o,active:s===i,onClick:c&&(e=>c(e,o)),onMouseOver:()=>a(s),onMouseLeave:e=>{a(null),u&&u(e,r[s])},children:[(0,n.Y)(w,{"aria-labelledby":q(e,o),onMouseOver:f&&(e=>f(e,r[s])),onClick:m&&(e=>{e.stopPropagation(),m(e,r[s])}),onTouchStart:!v&&_||void 0,onTouchEnd:!v&&(e=>b(s,e))||void 0,onKeyUp:e=>d(s,e),onKeyDown:e=>h(s,e)}),(0,n.Y)(G,{"aria-label":g})]},s)))})},Q=e=>{const{baseClass:t,categoryUrl:r,markersHidden:i,onClick:a,onBackdropKeyup:o,onBackdropKeydown:s,children:l}=e;return r?(0,n.Y)("a",{className:`${t}__category-link`,href:r,onClick:a,onKeyUp:i&&o||void 0,onKeyDown:s,children:l}):(0,n.Y)("div",{className:`${t}__image-wrapper`,role:a&&"button",onClick:a,tabIndex:a&&0,onKeyDown:a&&s,onKeyUp:a&&o,children:l})};var J=r(8817);const Z=[{tag:"path",att:{d:"M10.0291 10.0278c.5858-.5858.5858-1.5355 0-2.1213-.5857-.5858-1.5355-.5858-2.1213 0-.5858.5857-.5858 1.5355 0 2.1213.5858.5858 1.5356.5858 2.1213 0z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m4.2037 4.2037-1.2535 7.9389 10.3866 10.3866 9.1924-9.1924L12.1426 2.9502 4.2037 4.2037zm9.1331 15.4971-8.2522-8.2523.8678-5.4961 5.4961-.8678 8.2523 8.2522-6.364 6.364z"}}];var ee=()=>(0,L.$)(Z);const te=({enable:e,...t})=>e?(0,n.Y)(J.A,{...t,ssrIcon:ee,expandedOnTouchDevice:!0,size:"small",expanding:!0,type:"image-overlay"}):null,re={standard:4/3,portrait:3/4,square:1,wide:16/9,semiportrait:6/7,"1:1":1,"4:3":4/3,"3:4":3/4,"4:5":.8,"16:9":16/9,"9:16":9/16,"6:7":6/7,"5:4":5/4},ne=["sm","md","lg","xl"];const ie=e=>{const{disable:t,...r}=e;return t?(0,n.Y)(n.FK,{children:e.children}):(0,n.Y)(i.A,{...r})};var ae=e=>{const{productsInImageAriaLabel:t="Products shown on image",prefix:r="",className:i,products:d,markersHidden:p,onImageClick:f,ratio:g,imageProps:y={},categoryUrl:w,dotAriaLabel:k="go to product page",withShopAll:$,onShopAllButtonClick:N,shopAllButtonLabel:C,rawImageAspect:I,shopAllButtonProps:A={},onDotTouchEnd:P,onDotKeyDown:Y,onDotMouseOver:L,onDotClick:E,onProductClick:O,onDotMouseLeave:M,fluidSize:R,...D}=e,F=d?d.indexOf(d.find((e=>e.isPrimary))):-1,[B,T]=o.default.useState(F),[z,V]=o.default.useState(p?null:F),[H,W]=o.default.useState(!1),[U,j]=o.default.useState(!!p),K=o.default.useRef(null),[q,G]=o.default.useState(I||null),J=o.default.useRef(null),[Z,ee]=o.default.useState(!p),ae=((e="standard")=>{const t=e.match(/([^-]+)(?:-to-([^-]+)-from-([^-]+))?(?:-to-([^-]+)-from-([^-]+))?/),[,r,n,i,a,o]=t||[];return{base:r,to:n,when:i,to2:a,when2:o}})(g),oe=((...e)=>{const[t,r]=o.default.useState(),n=o.default.useRef();return o.default.useEffect((()=>(n.current={breakpointStateSetter:r,triggerPoints:e},e.length&&(c.push(n),1===c.length&&(l.small||(l.small=window.matchMedia("(min-width: 37.5em)"),l.medium=window.matchMedia("(min-width: 56.25em)"),l.large=window.matchMedia("(min-width: 75em)"),l.all=[l.small,l.medium,l.large]),l.all.forEach((e=>l.small.addEventListener?e.addEventListener("change",h):e.addListener(h)))),r(u())),()=>{c.indexOf(n)>-1&&c.splice(c.indexOf(n),1),0===c.length&&(l.all.forEach((e=>l.small.removeEventListener?e.removeEventListener("change",h):e.removeListener(h))),l.all.length=0,delete l.all,Object.keys(l).map((e=>delete l[e])))})),e),t})(ae.when,ae.when2),se=function({imageRef:e,fluidSize:t,aspectRatioRules:r,breakpoint:n}){let i;return i=t?e.current?e.current.clientWidth/e.current.clientHeight:1:(({base:e,to:t,when:r,to2:n,when2:i},a)=>{if(!a)return re[e];const o=ne.indexOf(a);return i&&n&&o>=ne.indexOf(i)?re[n]:r&&t&&ne.indexOf(a)>=ne.indexOf(r)?re[t]:re[e]})(r,n),i}({fluidSize:R,imageRef:J,aspectRatioRules:ae,breakpoint:oe}),le=o.default.useRef({}),ce=o.default.useRef(-1),ue=o.default.useRef(0),[de,he]=o.default.useState("undefined"==typeof window&&!R&&I&&!ae.to&&(({products:e,rawImageAspect:t,displayedImageAspect:r,lastVisibleIndex:n,firstVisibleIndex:i,primaryTagIndexInit:a})=>{if(!e)return[];const o=S({displayedImageAspect:r,rawImageAspect:t,products:e});return x({lastVisibleIndex:n,firstVisibleIndex:i,primaryTagIndexInit:a,products:o})})({products:d,displayedImageAspect:se,lastVisibleIndex:ce,firstVisibleIndex:ue,rawImageAspect:I,primaryTagIndexInit:F})||d||[]),pe=(e=>{const[t,r]=o.default.useState(e&&"undefined"!=typeof window&&m()||void 0);return o.default.useEffect((()=>{if(e){const e=(e=>{if(!e)return m();const t=m();return t.w!==e.w||t.h!==e.h?t:void 0})(t);e&&r(e),v.push(r),1===v.length&&(b(),window.addEventListener("resize",_))}return()=>{let e=v.indexOf(r);e>-1&&v.splice(e,1),0===v.length&&b()}}),[e]),t})(!p||H),fe=`${r}shoppable-image`,me=()=>{V(B),W(!1),ee(!p)};function ve({recalculate:e}){q&&Z&&(e?(le.current.width=-1,he(_e(S({displayedImageAspect:se,rawImageAspect:q,products:d})))):he(_e(de)))}const ge=o.default.useRef(ve);ge.current=ve;const _e=e=>x({imageRef:J,sizeBuffer:le,lastVisibleIndex:ce,firstVisibleIndex:ue,products:e,withShopAll:$,primaryTagIndexInit:F});o.default.useEffect((()=>(H&&window.addEventListener("mousemove",me,{once:!0}),()=>window.removeEventListener("mousemove",me))),[H]),o.default.useEffect((()=>{let e=!0;de.forEach(((t,r)=>{t.isPrimary&&(T(r),V(r),e=!1)})),e&&(V(-1),T(-1))}),[d,de]),o.default.useEffect((()=>{q&&Z&&ge.current({recalculate:!0})}),[d,q,Z,se,$,pe]),o.default.useEffect((()=>{p&&V(-1),p||ee(!0)}),[p]),o.default.useEffect((()=>{U&&j(!1)}),[]);const be=()=>{Z?q&&ve({recalculate:!1}):ee(!0)},ye=s(i,fe,(H||!p)&&!U&&`${fe}--visible-dots`,U&&`${fe}--hidden-dots`,R&&`${fe}--fluid-size`);return(0,n.FD)("div",{ref:K,...D,className:ye,onMouseOver:be,onTouchStart:be,onKeyUp:e=>{"Escape"===e.key&&V(null),be()},onMouseLeave:me,children:[(0,n.Y)(Q,{baseClass:fe,categoryUrl:w,markersHidden:p,onClick:e=>{f&&f(e),w||p||j((e=>!e))},onBackdropKeyup:({key:e})=>"Tab"===e&&W(!0),onBackdropKeydown:({key:e,shiftKey:t})=>{((z===ue.current||z===B)&&"Tab"===e&&t||"Tab"===e&&-1===ce.current)&&me()},children:(0,n.Y)(ie,{prefix:r,ratio:g,disable:R,children:(0,n.Y)(a.A,{prefix:r,...y,onLoad:e=>{const{naturalWidth:t,naturalHeight:r}=e.currentTarget;G(t/r),J.current=e.currentTarget,y.onLoad&&y.onLoad(e)}})})}),(0,n.FD)(ie,{tagType:"div",prefix:r,className:`${fe}__aspect-constraint`,ratio:g,disable:R,children:[(0,n.Y)(X,{baseClass:fe,prefix:r,filteredProducts:de,activeTagIndex:z,setActiveTagIndex:V,disableOverlay:U,productsInImageAriaLabel:t,onProductClick:O,onDotMouseLeave:M,onDotTouchEnd:P,onDotKeyUp:(e,t)=>{"Tab"===t.key&&V(e)},onDotKeyDown:(e,t)=>{"Tab"!==t.key||t.shiftKey||e!==ce.current||me(),Y&&Y(t,de[e])},forwardedOnDotMouseOver:L,forwardedOnDotClick:E,markersHidden:p,dotAriaLabel:k}),(0,n.Y)(te,{...A,enable:$,prefix:r,className:`${fe}__button`,text:C,onClick:N})]})]})},oe=r(6394),se=r(5695);const le=e=>((e,t)=>{const r=t>50?"top":"bottom",n=e>50?"left":"right";return e>40&&e<60?r:t>40&&t<60?n:`${r}-${"right"===n?"left":"right"}`})(e.dotCoordinates.x,e.dotCoordinates.y),ce=({media:e,parentId:t,parentType:r,prefixProductClassName:o=!1,prefix:s=se.S,ratio:l,...c})=>{const u=(e.products??[]).map((e=>e.id)).filter(Boolean).map((e=>(e??"").split(",").at(-1))).join(",");return(0,n.Y)("div",{className:"_shoppable-image_1fbhw_1","data-products":u,"data-parent-type":r,"data-asset-id":e.mediaId,"data-pub-shoppable-image-wrapper":!0,"data-standardised-components-shoppable-image-container":!0,children:e.products&&e.products.length>0?(0,n.Y)(ae,{ratio:l,prefix:s,imageProps:{...e.imageProps,...e.imageProps.id?{id:`${t}-${e.imageProps.id}`}:{},srcSet:e.imageProps.srcSet||(0,oe.g)(e.imageProps.src||"")},dotAriaLabel:e.dotAriaLabel,products:((null==e?void 0:e.products)||[]).map((r=>({...r,...r.id?{id:ue(o,t,e.mediaId,r.id)}:{},tagPosition:le(r)}))),...c}):(0,n.Y)(i.A,{prefix:s,ratio:l,children:(0,n.Y)(a.A,{prefix:s,src:e.imageProps.src,alt:e.imageProps.alt,srcSet:e.imageProps.srcSet||(0,oe.g)(e.imageProps.src||"")})})})};function ue(e,t,r,n){const i=`${t}-${r}-${n}`;return e?`prefix-${i}`:i}},5718:(e,t,r)=>{"use strict";r.d(t,{C:()=>w,a:()=>S,c:()=>y,i:()=>x});var n=r(2269),i=r(7163),a=r(9360),o=r(6625);const s=[{tag:"path",att:{d:"M5.998 4.996h4v14.0001h-4v-14zm8 0h4v14.0001h-4v-14z"}}];var l=r(4337),c=()=>(0,l.$)(s);const u=[{tag:"path",att:{d:"M19 12 7 19V5l12 7z"}}];var d=()=>(0,l.$)(u),h=r(6052),p=r(6584);const f=["primary","emphasised","secondary","tertiary"],m=(0,a.forwardRef)(((e,t)=>{const{href:r="",newWindow:i=!1,loadingSrText:a="Loading…",ssrIcon:s,iconOnly:l=!1,prefix:c="",htmlType:u="button",disabled:d=!1,className:m="",onClick:v,text:g="",type:_="secondary",expanding:b=!1,loading:y=!1,iconPosition:x="leading",fluid:S=!1,inverseTheme:w=!1,children:k,expandedOnTouchDevice:$=!1,size:N="medium",...C}=e;let I=_||"secondary";l&&s&&(I=`icon-${I}`),w&&"danger"!==_&&"plain"!==_&&"image-overlay"!==_&&f.indexOf(_)>-1&&(I=`${I}-inverse`);const A=o(`${c}btn__inner`),P=`${c}btn__icon`,Y="danger"===_?p.A:s,L=Y?(0,n.Y)(h.A,{className:P,prefix:c,paths:Y}):null,E=o(`${c}btn`,y&&`${c}btn--loading`,"medium"!==N&&`${c}btn--${N}`,!l&&Y&&x&&`${c}${x}-icon`,_&&`${c}btn--${I}`,S&&!l&&`${c}btn--fluid`,b&&`${c}btn--expanding`,b&&$&&`${c}btn--touch-device-expanded`,m),O=e=>{y||d?e.stopPropagation():v&&"function"==typeof v&&v(e)},M=(0,n.FD)("span",{className:A,children:[L,g&&(0,n.Y)("span",{className:`${c}btn__label`,children:g})||null,!y&&k||null,y&&(0,n.Y)("span",{className:`${c}btn__loader`,children:a})||null]});return r?(0,n.Y)("a",{ref:t,className:E,"aria-disabled":!!y||void 0,onClick:O,onKeyUp:e=>{d||y||" "!==e.key||e.target.click()},href:d?void 0:r,target:i?"_blank":void 0,rel:i?"noreferrer":void 0,...C,children:M}):(0,n.Y)("button",{ref:t,className:E,disabled:d,type:u,onClick:O,...C,children:M})}));m.displayName="Button";var v=m;const g=(0,a.forwardRef)(((e,t)=>{const{prefix:r="",customOnClickAriaLabel:i="Video action",descriptionId:s,descriptionBody:l,onClick:u,className:h,playAriaLabel:p="play",pauseAriaLabel:f="pause",videoNotSupportedTxt:m="Sorry, your browser doesn’t support embedded videos.",autoPlay:g=!0,..._}=e,[b,y]=(0,a.useState)(g),[x,S]=(0,a.useState)(!1),[w,k]=(0,a.useState)(g),$=t||(0,a.useRef)(null);(0,a.useEffect)((()=>{window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches&&y(!1)}),[]);const N=()=>{const e=$;b?e.current?.pause():e.current?.play(),y(!b),g||w||S(!0)},C=`${r}simple-video`,I=o(`${C}`,h),A=o(`${C}__video-action`,u&&`${C}__video-action--custom-click`),P=b?f:p,Y=o(`${C}__button-container`,!g&&x&&`${C}__button-container--fading`,w&&`${C}__button-container--corner`);return(0,n.FD)(n.FK,{children:[(0,n.Y)("video",{ref:$,className:I,playsInline:!0,"aria-describedby":s,onKeyUp:function(e){if("Enter"!==e.key&&" "!==e.key)return!0;e.target.click()},muted:!0,loop:!0,autoPlay:g||!1,..._,children:m}),(0,n.Y)("button",{className:A,"aria-label":u?i:P,onClick:u||N}),(0,n.Y)("div",{className:Y,onAnimationEnd:()=>{k(!0),S(!1)},children:(0,n.Y)(v,{"aria-hidden":!u,tabIndex:u?0:-1,onClick:N,prefix:r,size:w?"small":"medium",ssrIcon:b?c:d,className:`${C}__button`,text:P,iconOnly:!0,type:"image-overlay"})}),(0,n.Y)("div",{id:s,className:`${C}__description`,children:l})]})}));g.displayName="SimpleVideo";var _=g,b=r(5695);const y={HERO:"standardised-hero",CURATED_GALLERY:"standardised-curated-gallery",QUOTE:"standardised-quote"},x=e=>"imageProps"in e,S=e=>"object"==typeof e&&null!==e&&"descriptionId"in e&&"descriptionBody"in e,w=({ratio:e,...t})=>(0,n.Y)("div",{className:"_container_b0pkk_1",children:(0,n.Y)(i.A,{prefix:b.S,ratio:e,children:(0,n.Y)(_,{prefix:b.S,...t})})})},4336:(e,t,r)=>{"use strict";r.d(t,{d:()=>ee});var n=r(2269),i=r(8817),a=r(6625),o=r(5695),s=r(7068),l=r(5718),c=r(2989),u=r(8475),d=r(9360);const h=(0,d.forwardRef)(((e,t)=>{const{children:r,prefix:i="",id:o,className:s,size:l="medium",showDivider:c=!0,...u}=e,h=a(`${i}list-view`,`${i}list-view--${l}`,s);return(0,n.Y)("ul",{id:o,ref:t,role:"list",className:h,...u,children:d.Children.map(r,((e,t)=>d.default.isValidElement(e)?(0,d.cloneElement)(e,{id:e.props.id?e.props.id:`${i}${o}-${t}`,name:e.props.name?e.props.name:`${i}${o}`,showDivider:c,size:l}):e))})}));h.displayName="ListView";var p=h,f=r(8059),m=r(4309),v=r(285);const g=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.9989 4.9961v-1h-1l-4.9969.0001v2h2.5827l-5.296 5.2962 1.4143 1.4141 5.2959-5.2961v2.5887h2V4.996zM4.0019 19.9993v-16h8.0001v2H6.0019v12H18.002v-6h2v8H4.0019z"}}];var _=r(4337),b=()=>(0,_.$)(g);const y=[{tag:"path",att:{d:"M21 3H8v4h2V5h9v9h-2v2h4V3z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16 8H3v13h13V8zM5 19v-9h9v9H5z"}}];var x=()=>(0,_.$)(y),S=e=>{const{prefix:t="",label:r="Label",reqText:i,htmlFor:a,className:o,...s}=e;return(0,n.FD)("label",{htmlFor:a,className:o,...s,children:[r,i&&(0,n.FD)("em",{className:`${t}required`,children:[" ",i]})]})};const w=(0,d.createContext)({}),k=(0,d.forwardRef)(((e,t)=>{const{className:r,prefix:i="",id:o,label:s="",caption:l="",name:c="checkboxname",value:u,onChange:h,disabled:p=!1,describedById:f,required:m=!1,subtle:v=!1,indeterminate:g=!1,..._}=e,b=a(v&&`${i}checkbox--subtle`,`${i}checkbox`,r),{shouldValidate:y,valid:x}=(0,d.useContext)(w),k=t||d.default.useRef(null);return d.default.useEffect((()=>{const e=k;void 0!==g&&e.current&&(e.current.indeterminate=Boolean(g))}),[g]),(0,n.FD)("span",{className:b,children:[(0,n.Y)("input",{ref:k,type:"checkbox",value:u,name:c,id:o,disabled:p,onChange:h,"aria-describedby":f,required:m,"aria-invalid":y?!x:void 0,..._}),(0,n.Y)("span",{className:`${i}checkbox__symbol`}),s&&(0,n.FD)("span",{className:`${i}checkbox__label`,children:[(0,n.Y)(S,{prefix:i,htmlFor:o,label:s}),Boolean(l)&&(0,n.Y)("span",{className:`${i}checkbox__caption`,children:(0,n.Y)(S,{prefix:i,htmlFor:o,label:l})})]})]})}));k.displayName="Checkbox";var $=k;const N=(0,d.forwardRef)(((e,t)=>{const{className:r,prefix:i="",id:o,label:s,caption:l,name:c="radioname",value:u,onChange:d,disabled:h=!1,describedById:p,required:f,subtle:m=!1,...v}=e,g=a(r,`${i}radio`,m&&`${i}radio--subtle`);return(0,n.FD)("span",{className:g,children:[(0,n.Y)("input",{type:"radio",value:u,name:c,id:o,ref:t,disabled:h,onChange:h?void 0:d,"aria-describedby":p,required:f,...v}),(0,n.Y)("span",{className:`${i}radio__symbol`}),s&&(0,n.FD)("span",{className:`${i}radio__label`,children:[(0,n.Y)(S,{prefix:i,htmlFor:o,label:s}),l&&(0,n.Y)("span",{className:`${i}radio__caption`,children:(0,n.Y)(S,{prefix:i,htmlFor:o,label:l})})]})]})}));N.displayName="RadioButton";var C=N,I=e=>{const{id:t,prefix:r="",describedById:i,value:o,name:s="switchname",className:l,onChange:c,label:u,subtle:d=!1,...h}=e,p=a(d&&`${r}switch--subtle`,`${r}switch`,l);return(0,n.FD)("span",{className:p,children:[(0,n.Y)("input",{id:t,type:"checkbox",name:s,value:o,className:`${r}switch__checkbox`,"aria-describedby":i,onChange:c,...h}),(0,n.Y)("span",{className:`${r}switch__toggle`,children:(0,n.Y)("span",{className:`${r}switch__button`,children:(0,n.Y)("span",{className:`${r}switch__symbol`})})}),u&&(0,n.Y)(S,{prefix:r,htmlFor:t,label:u,id:i,className:`${r}switch__label`})]})},A=r(6052),P=r(3653),Y=r(7163),L=e=>{const{src:t,alt:r,size:i,className:o,prefix:s="",...l}=e,c=a(o,`${s}payment-logo`,i&&`${s}payment-logo--${i}`);return t?(0,n.Y)("span",{...l,className:c,children:(0,n.Y)("img",{className:`${s}payment-logo__img`,src:t,alt:r})}):null};const E=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.6724 6.4678c.2734-.2812.6804-.4707 1.3493-.4707.3971 0 .705.0838.9529.2225.241.1348.4379.3311.5934.6193l.0033.006c.1394.2541.237.6185.237 1.1403 0 .7856-.2046 1.2451-.4796 1.5278l-.0048.005c-.2759.2876-.679.4764-1.334.4764-.3857 0-.6962-.082-.956-.2241-.2388-.1344-.4342-.3293-.5888-.6147-.1454-.275-.2419-.652-.2419-1.1704 0-.7902.2035-1.2442.4692-1.5174zm1.3493-2.4717c-1.0834 0-2.054.3262-2.7838 1.0766-.7376.7583-1.0358 1.781-1.0358 2.9125 0 .7656.1431 1.483.4773 2.112l.0031.0058c.3249.602.785 1.084 1.3777 1.4154l.0062.0035c.5874.323 1.2368.4736 1.9235.4736 1.0818 0 2.0484-.3333 2.7755-1.0896.7406-.7627 1.044-1.786 1.044-2.9207 0-.7629-.1421-1.4784-.482-2.0996-.3247-.6006-.7844-1.0815-1.376-1.4125-.5858-.3276-1.2388-.477-1.9297-.477zM6.4691 16.8582c.2983-.5803.7228-1.0273 1.29-1.3572.5582-.3191 1.2834-.5049 2.2209-.5049h4.04c.9375 0 1.6626.1858 2.2209.5049.5672.3299.9917.7769 1.29 1.3572.3031.5896.4691 1.2936.4691 2.1379v1h2v-1c0-1.1122-.2205-2.1384-.6904-3.0523a5.3218 5.3218 0 0 0-2.0722-2.1769c-.9279-.5315-2.0157-.7708-3.2174-.7708H9.98c-1.1145 0-2.2483.212-3.2225.7737-.8982.5215-1.5928 1.2515-2.0671 2.174C4.2205 16.8577 4 17.8839 4 18.9961v1h2v-1c0-.8443.166-1.5483.4691-2.1379z"}}];var O=()=>(0,_.$)(E);const M=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 5c-.8493 0-1.7028.251-2.3395.908-.6338.654-.9168 1.57-.9168 2.6245 0 .9997.2954 1.8874.9141 2.5308C10.2787 11.7089 11.1213 12 12 12c.8875 0 1.7272-.3034 2.3413-.9521.6103-.6446.9024-1.5286.9024-2.5154 0-.9858-.2911-1.8774-.8895-2.534C13.7489 5.3343 12.909 5 12 5zm-1.2563 3.5325c0-.7118.1876-1.062.353-1.2326C11.2593 7.132 11.534 7 12 7c.4064 0 .6883.1397.876.3457.1946.2135.3677.588.3677 1.1868 0 .5975-.172.9473-.3548 1.1404C12.71 9.8619 12.4278 10 12 10c-.4367 0-.7221-.1374-.9006-.323-.1806-.1878-.3557-.5339-.3557-1.1445z"}},{tag:"path",att:{d:"M8.29 16.0857c.1793-.3255.4365-.583.7979-.7794.3516-.1874.8273-.3063 1.4692-.3063h2.8858c.6419 0 1.1176.1189 1.4692.3063.3614.1964.6186.4539.7979.7794.1839.3339.29.7403.29 1.2476V18h2v-.6667c0-.797-.1699-1.5439-.5382-2.2125-.3724-.6762-.9144-1.2032-1.5994-1.5743l-.0049-.0027c-.71-.3795-1.529-.5438-2.4146-.5438h-2.8858c-.8856 0-1.7047.1643-2.4146.5438l-.0049.0027c-.685.3711-1.227.8981-1.5994 1.5743C6.1699 15.7894 6 16.5363 6 17.3333V18h2v-.6667c0-.5073.1061-.9137.29-1.2476z"}}];var R=()=>(0,_.$)(M);const D=e=>{const{size:t="medium",prefix:r="",withIcon:i,text:o,imageProps:s,variant:l="primary",className:c,onClick:u,disabled:d,staticColour:h,screenReaderText:p,...f}=e;let m;m=s?"image":i?"icon":"text";const v=`${r}avatar`,g=a(v,u&&`${v}--btn`,`${v}--${t}`,`${v}--${l}`,`${v}--${m}`,h&&`${v}--static`,c),_=(0,n.FD)(n.FK,{children:["icon"===m&&(0,n.Y)(A.A,{className:a(`${v}__icon`),prefix:r,paths:"xsmall"===t?R:O}),"image"===m&&(0,n.Y)(Y.A,{ratio:"square",prefix:r,children:(0,n.Y)(P.A,{className:`${v}__image`,prefix:r,...s})}),"text"===m&&(0,n.Y)("span",{className:a(`${v}__text`),children:o}),(0,n.Y)("span",{className:a(`${v}__sr-text`),children:p})]});return u?(0,n.Y)("button",{className:g,onClick:u,disabled:d,...f,children:_}):(0,n.Y)("span",{className:g,...f,children:_})};D.displayName="Avatar";var F=D;const B=(0,d.forwardRef)(((e,t)=>{const{avatarProps:r,prefix:i="",id:o,control:s="default",name:l,onClick:c,onChange:u,title:d,description:h,addOn:p,leadingIcon:g,image:_,imageAltText:y="",paymentLogo:S,size:w="medium",inset:k,emphasised:N,disabled:E,className:O,controlProps:M,imageProps:R,quantityLabel:D,href:B,newWindow:T,controlIcon:z="linkOut",leadingIconPosition:V="center",showDivider:H=!0,...W}=e,U=`${i}list-view-item`,j=o+"__control",K="default",q=a(U,E&&s!==K&&`${U}--disabled`,!H&&`${U}__no-divider`,O),G=a(s===K?`${U}__default`:`${U}__action`,k&&`${U}__inset`,_&&`${U}__with-image`),X={chevronRight:m.A,chevronRightSmall:f.A,arrowRight:v.A,linkOut:b,copy:x},Q="navigational"!==s&&"link"!==s||!z?null:X[z]&&(0,n.Y)("span",{className:`${U}__control-icon`,children:(0,n.Y)(A.A,{prefix:i,paths:X[z]})}),J={subtle:!0,id:j,name:l,disabled:E,onChange:u,prefix:i,...M,value:M?.value||""};let Z;"checkbox"===s?Z=(0,n.Y)($,{...J}):"radiobutton"===s?Z=(0,n.Y)(C,{...J}):"switch"===s&&(Z=(0,n.Y)(I,{...J}));let ee="small";"large"===w?ee="medium":"small"===w&&(ee="xsmall");const te={image:(0,n.Y)("span",{className:`${U}__image`,children:(0,n.Y)(Y.A,{prefix:i,ratio:"square",children:(0,n.Y)(P.A,{src:_,prefix:i,alt:y,...R})})}),icon:(0,n.Y)(A.A,{prefix:i,className:`${U}__icon-${V}`,paths:g}),paymentLogo:(0,n.Y)(L,{prefix:i,className:`${U}__payment-logo`,size:"small"===w?"small":"medium",...S}),avatar:r?.screenReaderText?(0,n.Y)(F,{className:`${U}__avatar`,prefix:i,...r,size:ee,onClick:void 0}):null};let re=null;_?re=te.image:S&&!_?re=te.paymentLogo:!g||_||S?r&&(re=te.avatar):re=te.icon;const ne=(0,n.FD)(n.FK,{children:[(0,n.FD)("span",{className:`${U}__wrapper`,children:[re,(0,n.FD)("span",{className:`${U}__label-container`,children:[(0,n.Y)("span",{className:a(`${U}__title`,N&&`${U}__title--emphasised`),children:d}),h&&"small"!==w&&(0,n.Y)("span",{className:`${U}__description`,children:h}),p&&"small"!==w&&(0,n.Y)("span",{className:`${U}__addon`,children:p})]})]}),null!=D&&(0,n.Y)("span",{className:`${U}__quantity-label`,children:D}),Q||Z]});return(0,n.Y)("li",{id:o,ref:t,className:q,children:"navigational"===s?(0,n.Y)("button",{className:G,onClick:E?void 0:c,...W,disabled:E,children:ne}):"link"===s?(0,n.Y)("a",{className:G,href:B&&!E?B:void 0,target:B&&T&&!E?T:void 0,onClick:E?void 0:c,...W,children:ne}):s===K?(0,n.Y)("span",{className:G,...W,children:ne}):(0,n.Y)("label",{className:G,...W,children:ne})})}));B.displayName="ListViewItem";const T="_carouselItemMargins_h1enq_13",z=({title:e,description:t})=>(0,n.FD)("div",{className:"_container_1j3re_1",children:[(0,n.Y)(s.A,{prefix:o.S,tagName:"h2",headingSize:"m",children:e}),(0,n.Y)(s.A,{prefix:o.S,tagName:"p",bodySize:"m",children:t})]}),V=({media:e,ratio:t,parentId:r,prefixProductClassName:i})=>(0,l.i)(e)?(0,n.Y)(c.C,{parentId:r,parentType:l.c.CURATED_GALLERY,ratio:t,media:e,prefixProductClassName:i}):(0,n.Y)(l.C,{ratio:t,...e}),H="_reversedContainer_1p9ld_5",W=e=>{const{id:t,title:r,description:s,media:l,button:c,mirroredLayout:u,className:d}=e,h=a("_container_1p9ld_1",d,{[H]:u});return(0,n.FD)("div",{className:h,children:[(0,n.Y)(V,{media:l[0],parentId:t,ratio:"4:5-to-square-from-lg"}),(0,n.FD)("div",{className:"_textContainer_1p9ld_13",children:[(0,n.Y)(z,{title:r,description:s}),c&&(0,n.Y)(i.A,{prefix:o.S,type:"secondary",href:c.href,text:c.text,size:"small"})]})]})},U={container:"_container_1cm33_1",headerContainer:"_headerContainer_1cm33_7",buttonContainer:"_buttonContainer_1cm33_23"},j=({title:e,description:t,button:r,children:s,className:l})=>(0,n.FD)("div",{className:a(U.container,l),children:[(0,n.FD)("div",{className:U.headerContainer,children:[(0,n.Y)(z,{title:e,description:t}),r&&(0,n.Y)("div",{className:U.buttonContainer,children:(0,n.Y)(i.A,{prefix:o.S,className:U.button,type:"secondary",href:r.href,text:r.text,size:"small"})})]}),(0,n.Y)("div",{children:s})]}),K=({id:e,media:t,...r})=>{const i=t.slice(0,2);return(0,n.Y)(j,{...r,children:(0,n.Y)("div",{className:"_mediaContainer_1m71o_1",children:i.map(((t,r)=>(0,n.Y)(V,{media:t,parentId:e,ratio:"4:5"},r)))})})},q=({id:e,media:t,...r})=>{const i=t.slice(0,4);return(0,n.Y)(j,{...r,children:(0,n.Y)(u.A,{id:`carousel-${e}`,prefix:o.S,itemClass:a("_carouselItem_fk8u1_1",T),children:i.map(((t,r)=>(0,n.Y)(V,{media:t,parentId:e,ratio:"4:5"},r)))})})},G="_reversedMediaContainer_1gj0j_10",X=({id:e,media:t,mirroredLayout:r})=>(0,n.FD)("div",{className:a("_mediaContainer_1gj0j_1",{[G]:r}),children:[(0,n.Y)(V,{media:t[0],parentId:e,ratio:"semiportrait"}),(0,n.FD)("div",{className:"_verticalContainersContainer_1gj0j_14",children:[(0,n.FD)("div",{children:[(0,n.Y)(V,{media:t[1],parentId:e,ratio:"square"}),(0,n.Y)(V,{media:t[3],parentId:e,ratio:"portrait"})]}),(0,n.FD)("div",{children:[(0,n.Y)(V,{media:t[2],parentId:e,ratio:"portrait"}),(0,n.Y)(V,{media:t[4],parentId:e,ratio:"square"})]})]})]}),Q=({media:e,mirroredLayout:t,id:r,...i})=>(0,n.Y)(j,{...i,children:(0,n.Y)(X,{mirroredLayout:t,media:e,id:r})}),J=({id:e,media:t,mirroredLayout:r,...i})=>{const s=t.slice(0,5),l=t.slice(5),c=[(0,n.Y)(X,{media:s,mirroredLayout:r,id:e},"five-media-scaffold"),...l.map(((t,r)=>(0,n.Y)(V,{media:t,parentId:e,ratio:"4:5"},r)))];return(0,n.Y)(j,{...i,children:(0,n.Y)(u.A,{id:`carousel-${e}`,prefix:o.S,itemClass:a("_carouselItem_174ly_1",T),children:c})})},Z=({id:e,title:t,description:r,media:i,button:s,className:l})=>{const c=i.map((e=>({...e,..."descriptionId"in e?{descriptionId:`mobile-${e.descriptionId}`}:{}})));return(0,n.FD)("div",{className:l,children:[(0,n.Y)(z,{title:t,description:r}),1===c.length?(0,n.Y)(V,{media:c[0],parentId:`mobile-${e}`,ratio:"4:5",prefixProductClassName:!0}):(0,n.Y)(u.A,{id:`mobile-carousel-${e}`,prefix:o.S,itemClass:a("_carouselItem_1p8lb_9",T),contentClass:"_carouselContent_1p8lb_24",children:c.map(((t,r)=>(0,n.Y)(V,{media:t,parentId:`mobile-${e}`,ratio:"4:5",prefixProductClassName:!0},r)))}),s&&(0,n.Y)(p,{id:`mobile-list-view-for-carouse-${e}`,size:"large",className:"_listView_1p8lb_1",children:(0,n.Y)(B,{prefix:o.S,href:s.href,title:s.text,emphasised:!0,size:"large",controlIcon:"arrowRight",control:"link"})})]})},ee=e=>{const t=function(e){switch(e.length){case 0:return null;case 1:return W;case 2:return K;case 3:case 4:return q;case 5:return Q;default:return J}}(e.media);return t?(0,n.FD)("div",{children:[(0,n.Y)(Z,{className:"_visibleBetween0and600_h1enq_2",...e}),(0,n.Y)(t,{className:"_visibleFrom600_h1enq_8",...e})]}):null}},6328:(e,t,r)=>{"use strict";r.d(t,{l:()=>f});var n=r(2269),i=r(1195),a=r(6052),o=r(8656),s=r(7068),l=r(5695),c=r(5718),u=r(2989);const d=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m13.0037 16.1727 5.5869-5.5862 1.4141 1.4144-8.0011 8-8.0007-8.0013 1.4143-1.4141 5.5865 5.5869V4h2v12.1727z"}}];var h=()=>(0,o.r)(d);const p={hero:"_hero_oo8u2_1",media:"_media_oo8u2_7",noMedia:"_noMedia_oo8u2_12",eyeBrowContainer:"_eyeBrowContainer_oo8u2_21",body:"_body_oo8u2_25",icon:"_icon_oo8u2_29",textContainer:"_textContainer_oo8u2_34",bodyContainer:"_bodyContainer_oo8u2_35",title:"_title_oo8u2_122",rte:"_rte_oo8u2_136"},f=({id:e,title:t,media:r,body:i,dangerousBody:o,commercialMessage:d})=>(0,n.FD)("div",{className:`${p.hero} ${r?p.media:p.noMedia}`,children:[(0,n.FD)("div",{className:p.textContainer,children:[d&&(0,n.Y)("div",{className:p.eyeBrowContainer,children:(0,n.Y)(m,{commercialMessage:d})}),(0,n.Y)(s.A,{prefix:l.S,tagName:"h1",headingSize:"m",className:p.title,children:t}),(o||i)&&(0,n.Y)("div",{className:p.bodyContainer,children:o?(0,n.Y)(s.A,{prefix:l.S,bodySize:"m",className:p.rte,dangerouslySetInnerHTML:{__html:o}}):(0,n.Y)(s.A,{prefix:l.S,className:p.body,tagName:"p",bodySize:"m",children:i})}),t&&(i||o)&&r&&(0,n.Y)(a.A,{prefix:l.S,className:p.icon,paths:h})]}),r&&(0,n.Y)("div",{className:`${l.S}content-container__breakout`,children:(0,c.a)(r)?(0,n.Y)(c.C,{ratio:"standard",...r}):(0,n.Y)(u.C,{parentId:e,parentType:c.c.HERO,media:r,ratio:"square"})})]}),m=({commercialMessage:e})=>e?e.variant?(0,n.Y)(i.A,{prefix:l.S,variant:e.variant,message:e.message,className:p.message}):(0,n.Y)(s.A,{prefix:l.S,tagName:"p",className:p.message,children:e.message}):null},2431:(e,t,r)=>{"use strict";r.d(t,{x:()=>w});var n=r(2269),i=r(6625),a=e=>{const{prefix:t="",className:r,media:a,mediaPosition:o="leading",content:s}=e,l=`${t}card`,c=i(l,"trailing"===o&&`${l}--trailing-media`,r);return(0,n.Y)(n.FK,{children:a?(0,n.FD)("div",{className:c,children:[s,(0,n.Y)("div",{className:`${l}__media`,children:a})]}):s})},o=r(8817),s=r(6052),l=r(285);const c={default:"rgb(var(--colour-neutral-2, 245, 245, 245))",importantMessage:"rgb(var(--colour-neutral-7, 17, 17, 17))",inverse:"rgb(var(--colour-elevation-2, 255, 255, 255))",wayfinding:"rgb(var(--colour-static-ikea-brand-blue, 0, 88, 163))",lowestPrice:"rgb(var(--colour-commercial-message-bti-yellow, 255, 219, 0))",newLowerPrice:"rgb(var(--colour-commercial-message-new-lower-price, 204, 0, 8))",new:"rgb(var(--colour-commercial-message-new, 202, 80, 8))",IKEAFamily:"rgb(var(--colour-static-ikea-family, 0, 124, 193))",sustainability:"rgb(var(--colour-campaign-sustainability, 0, 133, 62))",IKEABusinessNetwork:"rgb(var(--colour-static-ikea-business-network, 222, 188, 156))",extendedPalette01:"rgb(var(--colour-extended-palette-01, 193, 207, 212))",extendedPalette02:"rgb(var(--colour-extended-palette-02, 163, 172, 176))",extendedPalette03:"rgb(var(--colour-extended-palette-03, 140, 221, 255))",extendedPalette04:"rgb(var(--colour-extended-palette-04, 0, 150, 210))",extendedPalette05:"rgb(var(--colour-extended-palette-05, 0, 89, 128))",extendedPalette06:"rgb(var(--colour-extended-palette-06, 217, 171, 255))",extendedPalette07:"rgb(var(--colour-extended-palette-07, 107, 61, 153))",extendedPalette08:"rgb(var(--colour-extended-palette-08, 255, 166, 218))",extendedPalette09:"rgb(var(--colour-extended-palette-09, 229, 47, 126))",extendedPalette10:"rgb(var(--colour-extended-palette-10, 255, 174, 102))",extendedPalette11:"rgb(var(--colour-extended-palette-11, 255, 170, 0))",extendedPalette12:"rgb(var(--colour-extended-palette-12, 242, 106, 47))",extendedPalette13:"rgb(var(--colour-extended-palette-13, 204, 177, 0))",extendedPalette14:"rgb(var(--colour-extended-palette-14, 199, 217, 0))",extendedPalette15:"rgb(var(--colour-extended-palette-15, 122, 181, 29))",extendedPalette16:"rgb(var(--colour-extended-palette-16, 80, 128, 32))",extendedPalette17:"rgb(var(--colour-extended-palette-17, 149, 229, 187))",extendedPalette18:"rgb(var(--colour-extended-palette-18, 0, 153, 133))",extendedPalette19:"rgb(var(--colour-extended-palette-19, 0, 102, 88))",extendedPalette20:"rgb(var(--colour-extended-palette-20, 215, 199, 162))",extendedPalette21:"rgb(var(--colour-extended-palette-21, 195, 178, 137))"},u=["importantMessage","new","sustainability","IKEAFamily","newLowerPrice"],d=["lowestPrice","IKEABusinessNetwork","extendedPalette01","extendedPalette02","extendedPalette03","extendedPalette04","extendedPalette06","extendedPalette08","extendedPalette09","extendedPalette10","extendedPalette11","extendedPalette12","extendedPalette13","extendedPalette14","extendedPalette15","extendedPalette17","extendedPalette18","extendedPalette20","extendedPalette21"],h=["wayfinding","extendedPalette05","extendedPalette07","extendedPalette16","extendedPalette19"];var p=({prefix:e="",id:t,className:r,addOn:a,title:p,subtitle:f="",label:m="",body:v="",children:g,onCardClick:_,simple:b=!1,href:y,linkAttributes:x,theme:S="default",fixed:w,buttonProps:k,buttonType:$,titleHeadingTag:N="h2",contentVerticalAlign:C,...I})=>{const A=`${e}content-card`,P=i(u.includes(S)&&`${A}--light-foreground`,h.includes(S)&&`${A}--static-light-foreground`,d.includes(S)&&`${A}--static-dark-foreground`),Y=i(A,w&&`${A}--fixed`,b&&`${A}--simple`,!b&&P,"center"===C&&`${A}--${C}`,r),L=i(`${A}__container`),E=b?{"--content-card-background":"none"}:{"--content-card-background":`${c[S]}`},O=N,M=(0,n.FD)("div",{className:L,children:[a&&(0,n.Y)("div",{className:`${A}__add-on`,children:a}),m&&(0,n.Y)("span",{className:`${A}__label`,children:m}),(0,n.Y)("a",{href:y,onClick:_,...x,className:`${A}__headers`,"aria-describedby":k?.text?`${t}-cta`:void 0,children:(0,n.Y)(O,{className:`${A}__title`,children:p})}),f&&(0,n.Y)("span",{className:`${A}__subtitle`,children:f}),v&&(0,n.Y)("p",{className:`${A}__body`,children:v}),g]}),R=k?.text?(0,n.Y)(o.A,{...k,prefix:e,className:i(`${A}__cta`,k.className),tabIndex:-1,"aria-hidden":"true",type:$||"primary",size:"small",id:`${t}-cta`,href:void 0,onClick:void 0,inverseTheme:u.includes(S)||h.includes(S),staticColour:d.includes(S)||h.includes(S)}):(0,n.Y)(o.A,{prefix:e,className:`${A}__cta`,tabIndex:-1,"aria-hidden":"true",type:"primary",iconOnly:!0,size:"small",inverseTheme:"inverse"!==S,staticColour:"inverse"!==S,ssrIcon:l.A}),D=k?.text?(0,n.Y)(o.A,{...k,prefix:e,id:`${t}-cta`,className:i(`${A}__cta`,k.className),tabIndex:-1,href:void 0,onClick:void 0,"aria-hidden":"true",type:$||"secondary",size:"small"}):(0,n.Y)(s.A,{className:`${A}__icon`,prefix:e,paths:l.A});return(0,n.FD)("div",{className:Y,...I,style:E,children:[M,(0,n.Y)("div",{className:`${A}__footer`,children:b?D:R})]})},f=r(8475),m=r(5695);r(7253);var v=r(6394),g=r(7163),_=r(3653),b=r(2256),y=r(2989);const x={carouselItemMargins:"_carouselItemMargins_1m63i_1",carouselContentMargins:"_carouselContentMargins_1m63i_11",carouselItemFlexFix:"_carouselItemFlexFix_1m63i_21",carouselItemSingle:"_carouselItemSingle_1m63i_25",carouselItemDouble:"_carouselItemDouble_1m63i_33",carouselItemTriple:"_carouselItemTriple_1m63i_41",carouselItemQuadrupleOrMore:"_carouselItemQuadrupleOrMore_1m63i_49",carouselItemMobile:"_carouselItemMobile_1m63i_58",carouselItemTablet:"_carouselItemTablet_1m63i_64"},S=({condition:e,wrapper:t,children:r})=>e?t(r):r,w=({carouselId:e,title:t,items:r})=>{const o=1===r.length,s=i(x.carouselItemMobile,x.carouselItemTablet,x.carouselItemFlexFix,x.carouselItemMargins,{[x.carouselItemSingle]:o,[x.carouselItemDouble]:2===r.length,[x.carouselItemTriple]:3===r.length,[x.carouselItemQuadrupleOrMore]:r.length>=4}),l=i(x.carouselContentMargins,{[x.carouselContentDouble]:2===r.length,[x.carouselContentTriple]:3===r.length,[x.carouselContentQuadrupleOrMore]:r.length>=4});return(0,n.Y)(S,{condition:!!t,wrapper:e=>(0,n.Y)(b.A,{prefix:m.S,title:t,children:e}),children:(0,n.Y)(f.A,{id:e,prefix:m.S,itemClass:s,contentClass:l,hasNoControls:o,children:r.map(((t,r)=>{var i;return(0,n.Y)(a,{prefix:m.S,media:t.media.products&&0!==t.media.products.length?(0,n.Y)(y.C,{media:t.media,parentId:e,parentType:"carousel",prefixProductClassName:!0,ratio:"square"}):(0,n.Y)(g.A,{prefix:m.S,ratio:"square",children:(0,n.Y)(_.A,{prefix:m.S,src:t.media.imageProps.src,alt:t.media.imageProps.alt,srcSet:(0,v.g)((null==(i=t.media.imageProps)?void 0:i.src)||"")})}),content:(0,n.Y)(p,{id:`${e}-content-${r}`,fixed:!o,prefix:m.S,label:t.label,body:t.body,href:t.href,title:t.title,titleHeadingTag:"h2"}),mediaPosition:"leading"},r)}))})})}},4767:(e,t,r)=>{"use strict";r.d(t,{M:()=>d});var n=r(2269),i=r(8475),a=r(2256),o=r(5695),s=r(6625);const l="_centerProductCard_ktxvn_90",c="_lastProductCard_ktxvn_94",u=({productFragmentUrl:e,isMiddle:t,isLast:r})=>(0,n.Y)("div",{className:s("_productCard_ktxvn_39",{[l]:t,[c]:r}),dangerouslySetInnerHTML:{__html:``}}),d=({id:e,buttonText:t,title:r,description:s,productFragmentUrls:l,link:c})=>(0,n.Y)(a.A,{className:"_teaser_ktxvn_36",prefix:o.S,btnText:t,title:r,description:s,btnProps:{target:"_blank"},href:c,children:(0,n.Y)(i.A,{id:`carousel-${e}`,hasNoControls:!0,prefix:o.S,bodyWrapperClass:"_carouselBodyWrapper_ktxvn_1",itemClass:"_carouselItem_ktxvn_44",children:l.map(((e,t)=>(0,n.Y)(u,{productFragmentUrl:e,isMiddle:0!==t&&t!==l.length-1||1===l.length,isLast:t===l.length-1&&1!==l.length},t)))})})},7188:(e,t,r)=>{"use strict";r.d(t,{P:()=>p});var n=r(2269),i=r(5695);r(7253);var a=r(8475),o=r(5718),s=r(2989),l=r(7068);const c="_bannerContainer_lv8vu_35",u="_bannerQuoteContainer_lv8vu_43",d="_quoteInnerContainer_lv8vu_53",h=({saying:e,quotee:t,role:r,organisation:a,quotationMarkOpen:o,quotationMarkClose:s})=>(0,n.FD)(n.FK,{children:[(0,n.FD)("blockquote",{className:"_quoteSpan_lv8vu_14",children:[(0,n.Y)("span",{children:o}),e,(0,n.Y)("span",{children:s})]}),(0,n.FD)("div",{children:[(0,n.Y)(l.A,{className:"_quoteeNameSpan_lv8vu_26",prefix:i.S,tagName:"span",children:t}),(0,n.Y)(l.A,{prefix:i.S,tagName:"span",children:`${r}${a?`, ${a}`:""}`})]})]}),p=({id:e,saying:t,quotee:r,role:l,organisation:p,media:f,quotationMarkOpen:m="“",quotationMarkClose:v="”",flip:g=!1})=>{const _={saying:t,quotee:r,role:l,organisation:p,quotationMarkOpen:m,quotationMarkClose:v};if(0===f.length)return(0,n.Y)("div",{className:"_quoteContainer_lv8vu_1",children:(0,n.Y)(h,{..._})});if(1===f.length){const t=f[0];return(0,n.FD)("div",{className:`${c} ${g?"_flip_lv8vu_155":""}`,children:[(0,n.Y)("div",{className:u,children:(0,n.Y)("div",{className:d,children:(0,n.Y)(h,{..._})})}),(0,n.Y)("div",{className:`_bannerMediaContainer_lv8vu_66 ${i.S}content-container__breakout`,children:(0,o.i)(t)?(0,n.Y)(s.C,{parentId:e,ratio:"4:5",parentType:o.c.QUOTE,media:t}):(0,n.Y)(o.C,{ratio:"4:5",...t})})]})}const b=[(0,n.Y)("div",{className:u,children:(0,n.Y)("div",{className:d,children:(0,n.Y)(h,{..._})},"quoteInnerContainer")},"bannerQuoteContainer"),...f.map((t=>(0,o.i)(t)?(0,n.Y)(s.C,{parentId:e,ratio:"4:5",parentType:o.c.QUOTE,media:t},t.mediaId):(0,n.Y)(o.C,{ratio:"4:5",...t},t.descriptionId)))];return(0,n.FD)("div",{className:c,children:[(0,n.Y)("div",{className:"_standaloneQuote_lv8vu_80",children:(0,n.Y)("div",{className:u,children:(0,n.Y)("div",{className:d,children:(0,n.Y)(h,{..._})})})}),(0,n.Y)(a.A,{className:"_bannerCarousel_lv8vu_91",prefix:i.S,hasNoControls:!0,contentClass:"_carouselContent_lv8vu_92",itemClass:"_carouselElement_lv8vu_104",id:`carousel-${e}`,children:b})]})}},2725:(e,t,r)=>{"use strict";r.d(t,{r:()=>x});var n=r(2269),i=r(6394);r(7253);var a=r(7163),o=r(8475),s=r(9172),l=r(6625),c=r(6052),u=r(8656),d=r(3653),h=r(7068),p=r(5695);const f="_carouselMoreItems_qr50f_172",m="_image_qr50f_146",v=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m20.0008 12.0001-8-8.001-1.4143 1.414L16.1727 11H4v2h12.1723l-5.5868 5.5866 1.4141 1.4142 8.0012-8.0007z"}}];var g=()=>(0,u.r)(v),_=({prefix:e="",className:t,title:r="",label:i="",aspectRatio:o="1:1",addon:s,media:u,theme:d="default",simple:h=!1,withIcon:p=!0,size:f="medium",href:m,...v})=>{const _=`${e}compact-card`,b=l(_,"xsmall"===f&&`${_}--xsmall`,h&&`${_}--simple`,d&&`${_}--${d}`,t);return(0,n.FD)("div",{className:b,children:[(0,n.FD)("a",{className:`${_}__link`,href:m,...v,children:[(0,n.FD)("div",{className:`${_}__text-wrapper`,children:[i&&(0,n.Y)("div",{className:`${_}__label`,children:i}),(0,n.Y)("div",{className:`${_}__title`,children:r})]}),p&&(0,n.Y)(c.A,{className:`${_}__icon`,prefix:e,paths:g})]}),(0,n.Y)(a.A,{prefix:e,ratio:o,children:u}),s&&(0,n.Y)("div",{className:`${_}__addon`,children:s})]})};const b=({item:e})=>(0,n.Y)("a",{className:"_itemAnchorContainer_qr50f_25",href:e.href,target:e.target,children:(0,n.FD)("div",{className:"_singlePill_qr50f_118",children:[(0,n.Y)("div",{className:"_imageBox_qr50f_146",children:(0,n.Y)(a.A,{prefix:p.S,ratio:"portrait-to-square-from-lg",children:(0,n.Y)(d.A,{prefix:p.S,className:m,src:e.imageSrc,srcSet:(0,i.g)(e.imageSrc),alt:e.imageAlt})})}),(0,n.FD)("div",{className:"_itemHeading_qr50f_123",children:[(0,n.Y)(h.A,{prefix:p.S,className:"_singleCardTitle_qr50f_131",tagName:"h2",children:e.title}),(0,n.Y)(h.A,{prefix:p.S,className:"_singleCardDescription_qr50f_136",tagName:"p",children:e.description}),(0,n.Y)(c.A,{prefix:p.S,paths:g})]})]})}),y=({item:e,aspectRatio:t})=>(0,n.Y)(_,{prefix:p.S,simple:!0,size:"xsmall",addon:e.commercialMessage&&(0,n.Y)(s.o,{prefix:p.S,message:e.commercialMessage.message,variant:e.commercialMessage.variant}),title:e.title,href:e.href,aspectRatio:t,media:(0,n.Y)(d.A,{prefix:p.S,className:m,src:e.imageSrc,srcSet:(0,i.g)(e.imageSrc),sizes:i.d,alt:e.imageAlt})}),x=({heading:e,headingTag:t="h1",description:r,items:i,carouselId:a})=>{const[s,...l]=i;if(!s)return null;const c={"--items":i.length};return(0,n.Y)("div",{style:c,children:(0,n.FD)("div",{className:"_carouselContainer_qr50f_7",children:[(e||r)&&(0,n.Y)("div",{className:"_headWrapper_qr50f_40",children:(0,n.FD)("div",{className:"_headContainer_qr50f_1",children:[e&&(0,n.Y)(h.A,{prefix:p.S,tagName:t,className:"_title_qr50f_73",children:e}),r&&(0,n.Y)(h.A,{prefix:p.S,tagName:"p",className:"_description_qr50f_81",children:r})]})}),l.length>0?(0,n.Y)(o.A,{prefix:p.S,id:a,contentClass:"_carouselContent_qr50f_45",itemClass:"_itemClass_qr50f_65",className:i.length>1?2===i.length?`_carousel2Items_qr50f_105 ${f}`:f:void 0,children:i.map(((e,t)=>(0,n.Y)(y,{item:e,aspectRatio:2===i.length?"portrait-to-square-from-lg":"portrait"},t)))}):(0,n.Y)(b,{item:s,carouselId:a})]})})}},6394:(e,t,r)=>{"use strict";r.d(t,{d:()=>i,g:()=>n});const n=e=>e&&`${e}?f=sg 1600w,\n ${e}?f=xxxl 1400w,\n ${e}?f=xxl 950w,\n ${e}?f=xl 800w,\n ${e}?f=l 750w,\n ${e}?f=m 600w,\n ${e}?f=s 500w,\n ${e}?f=xs 400w,\n ${e}?f=xxs 300w,\n ${e}?f=xxxs 240w`,i="(min-width: 56.25em) 78vw, 100vw"},5695:(e,t,r)=>{"use strict";r.d(t,{S:()=>n});const n="pub__"},8656:(e,t,r)=>{"use strict";r.d(t,{r:()=>a});var n=r(9360);function i(e){return e.replace(/-([a-z])/g,((e,t)=>t.toUpperCase()))}function a(e){if(e)return e.map((e=>(0,n.createElement)(e.tag,function(e){return Object.entries(e).reduce(((e,[t,r])=>("style"===t&&"string"==typeof r?e.style=r.split(";").reduce(((e,t)=>{const[r,n]=t.split(":");return r&&n&&(e[i(r.trim())]=n.trim()),e}),{}):e[i(t)]=r,e)),{})}(e.att),a(e.nds))))}},7163:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(2269),i=r(6625),a=e=>{const{tagType:t="span",prefix:r="",className:a,ratio:o="standard",children:s,...l}=e,c=i(`${r}aspect-ratio-box`,o&&`${r}aspect-ratio-box--${o.replace(/:/g,"-")}`,a),u=t;return(0,n.Y)(u,{className:`${c}`,...l,children:s})}},8817:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(2269),i=r(9360),a=r(6052),o=r(6625),s=r(6584);const l=["primary","emphasised","secondary","tertiary"],c=(0,i.forwardRef)(((e,t)=>{const{href:r="",newWindow:i=!1,loadingSrText:c="Loading…",ssrIcon:u,iconOnly:d=!1,prefix:h="",htmlType:p="button",disabled:f=!1,className:m="",onClick:v,text:g="",type:_="secondary",expanding:b=!1,loading:y=!1,iconPosition:x="leading",fluid:S=!1,inverseTheme:w=!1,children:k,expandedOnTouchDevice:$=!1,size:N="medium",staticColour:C=!1,...I}=e;let A=_||"secondary";d&&u&&(A=`icon-${A}`),w&&"danger"!==_&&"plain"!==_&&"image-overlay"!==_&&l.indexOf(_)>-1&&(A=`${A}-inverse`);const P=o(`${h}btn__inner`),Y=`${h}btn__icon`,L="danger"===_?s.A:u,E=L?(0,n.Y)(a.A,{className:Y,prefix:h,paths:L}):null,O=o(`${h}btn`,y&&`${h}btn--loading`,"medium"!==N&&`${h}btn--${N}`,!d&&L&&x&&`${h}${x}-icon`,_&&`${h}btn--${A}`,S&&!d&&`${h}btn--fluid`,b&&`${h}btn--expanding`,b&&$&&`${h}btn--touch-device-expanded`,C&&`${h}btn--static-colour`,m),M=e=>{y||f?e.stopPropagation():v&&"function"==typeof v&&v(e)},R=(0,n.FD)("span",{className:P,children:[E,g&&(0,n.Y)("span",{className:`${h}btn__label`,children:g})||null,!y&&k||null,y&&(0,n.Y)("span",{className:`${h}btn__loader`,children:c})||null]});return r?(0,n.Y)("a",{ref:t,className:O,"aria-disabled":!!y||void 0,onClick:M,onKeyUp:e=>{f||y||" "!==e.key||e.target.click()},href:f?void 0:r,target:i?"_blank":void 0,rel:i?"noreferrer":void 0,...I,children:R}):(0,n.Y)("button",{ref:t,className:O,disabled:f,type:p,onClick:M,...I,children:R})}));c.displayName="Button";var u=c},8475:(e,t,r)=>{"use strict";r.d(t,{A:()=>_});var n=r(2269),i=r(9360),a=r(8817),o=r(4309);const s=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m7 12.0009 8.0012-8.0007 1.4142 1.4142-6.587 6.5866 6.5859 6.5868L15 20.002l-8-8.0011z"}}];var l=r(4337),c=()=>(0,l.$)(s),u=r(6625);const d=i.default.forwardRef(((e,t)=>{const{prefix:r,barPosition:i,barWidth:a,onClick:o,onMouseDown:s,draggable:l,...c}=e,d=100/a*(i-a*i/100),h=u(`${r}scroll-indicator__bar`,l&&`${r}scroll-indicator__bar-dragging`),p=u(`${r}scroll-indicator`,l&&`${r}scroll-indicator--dragging`);return(0,n.Y)("div",{className:p,onClick:e=>o&&o(e),"aria-hidden":!0,...c,children:a>0&&(0,n.Y)("span",{className:`${r}scroll-indicator__bar-wrapper`,ref:t,children:(0,n.Y)("span",{className:h,style:{width:`${a}%`,transform:`translateX(${d}%)`},onMouseDown:e=>s&&s(e)})})})}));d.displayName="ScrollIndicator";var h=d;const p=e=>{const{prefix:t="",children:r,targetId:i,label:a,className:o,targetReference:s,linkReference:l,onKeyDown:c,...d}=e,h=`${t}skip-content`;return(0,n.FD)(n.FK,{children:[(0,n.Y)("a",{href:`#${i}`,className:u(`${h}__button`,o),ref:l,onKeyDown:e=>{c&&c(e)," "===e.key&&(e.preventDefault(),e.currentTarget.click())},...d,children:a}),r,r&&(0,n.Y)("span",{id:i,className:u(`${h}__target`),tabIndex:-1,ref:s})]})};p.displayName="SkipContent";var f=p,m=r(4284);const v=(e,t)=>{let r;return(...n)=>{clearTimeout(r),r=setTimeout((()=>{e(...n)}),t)}};class g extends i.Component{constructor(e){super(e),this.slideRefs=[],this.scroller=null,this.scrollIndicator=null,this.slideToIndex=e=>this.slideRefs.indexOf(e),this.state={isScrolling:!1,currentIndex:e.slideIndex||0,visibleSlides:[],partiallyVisibleSlides:[],targetScroll:0,currentScroll:0,initialized:!1,draggable:!1,prevPosition:0,prevSliderPosition:0,slideShowDragging:!1,intersectionObserverDisabled:!1},e.id&&(this.skipButtonId=`${e.prefix}-carousel__${e.id}-skip-btn`,this.previousBtnId=`${e.prefix}-carousel__${e.id}-prev-btn`,this.nextBtnId=`${e.prefix}-carousel__${e.id}-next-btn`),this._visibleSlides=[],this.visibleIndexes=[],this.partiallyVisibleIndexes=[],this._partiallyVisibleSlides=[],this._visibleSlidesLength=null,this.onKeyUp=this.onKeyUp.bind(this),this.observeSlides=this.observeSlides.bind(this),this.setScrollState=this.setScrollState.bind(this),this.onScrollIndicatorClick=this.onScrollIndicatorClick.bind(this),this.slideRefs=[],this.onButtonClick=this.onButtonClick.bind(this),this.handleScrollBarMouseMove=this.handleScrollBarMouseMove.bind(this),this.handleScrollBarMouseDown=this.handleScrollBarMouseDown.bind(this),this.handleScrollBarMouseUp=this.handleScrollBarMouseUp.bind(this),this.handleSwipe=this.handleSwipe.bind(this),i.createRef&&(this.component=(0,i.createRef)(),this.slider=(0,i.createRef)())}clamp(e,t,r){return e<=t?t:e>=r?r:e}setScrollState(){this.setState({currentScroll:this.scroller.scrollLeft})}observeSlides(e,t){const r=t&&t.thresholds;e.forEach((e=>{r&&e.intersectionRatio>=t.thresholds[1]?-1===this._visibleSlides.indexOf(e.target)&&this._visibleSlides.push(e.target):this._visibleSlides=this._visibleSlides.filter((t=>t!==e.target)),r&&e.intersectionRatio>=t.thresholds[0]?-1===this._partiallyVisibleSlides.indexOf(e.target)&&this._partiallyVisibleSlides.push(e.target):this._partiallyVisibleSlides=this._partiallyVisibleSlides.filter((t=>t!==e.target)),this.partiallyVisibleIndexes=this._partiallyVisibleSlides.map(this.slideToIndex)})),this.setState({partiallyVisibleSlides:[...this._partiallyVisibleSlides]}),this.debouncedSetVisibilityState&&this.debouncedSetVisibilityState(this._visibleSlides)}_getVisibleMinMax(e,t){return void 0===e||0===e.length?null:Math[t].apply(Math,e)}get maxVisible(){return this._getVisibleMinMax(this.visibleIndexes,"max")}get maxPartiallyVisible(){return this._getVisibleMinMax(this.partiallyVisibleIndexes,"max")}get minVisible(){return this._getVisibleMinMax(this.visibleIndexes,"min")}get minPartiallyVisible(){return this._getVisibleMinMax(this.partiallyVisibleIndexes,"min")}get firstSlide(){return this.slideRefs.length>0?this.slideRefs[0]:null}get lastSlide(){return this.slideRefs.length>0?this.slideRefs[this.lastSlideIndex]:null}get isFirstSlideVisible(){return v((()=>{if(0===this.state.currentScroll)return!0}),100),this._visibleSlides.indexOf(this.firstSlide)>-1}get isLastSlideVisible(){return v((()=>{if(this.state.currentScroll===this.maxScrollWidth)return!0}),100),this._visibleSlides.indexOf(this.lastSlide)>-1}get allSlidesVisible(){return this.isFirstSlideVisible&&this.isLastSlideVisible}get lastSlideIndex(){return this.slideRefs.length-1}get nextSlide(){return null===this.maxVisible?this.maxPartiallyVisible:this.maxVisible+1}get prevSlide(){return null===this.minVisible?this.minPartiallyVisible:this.minVisible-1}get visibleSlidesLength(){return this._visibleSlidesLength?this._visibleSlidesLength:this.clamp(this.state.visibleSlides.length,1,1/0)}get scrollWidth(){return this.scroller?this.scroller.scrollWidth:1/0}get maxScrollWidth(){return this.scroller?this.scrollWidth-this.scroller.offsetWidth:1/0}getPreviousScroll(e){return!this.props.isSlideShow&&this.props.rtl?e.offsetLeft:e.offsetLeft+e.getBoundingClientRect().width-this.scroller.offsetWidth}getNextScroll(e){return!this.props.isSlideShow&&this.props.rtl?e.offsetLeft-this.scroller.offsetWidth+e.getBoundingClientRect().width:e.offsetLeft}onButtonClick(e){if(this.state.isScrolling)return;const t=this.clamp("right"===e?this.nextSlide:this.prevSlide,0,this.lastSlideIndex);this.goToIndex(t,e),"right"===e&&this.props.onBtnRightClick&&this.props.onBtnRightClick(),"left"===e&&this.props.onBtnLeftClick&&this.props.onBtnLeftClick()}goToIndex(e,t="left"){e=this.clamp(e,0,this.lastSlideIndex);const r=this.slideRefs[e];if(!r)return void this.scrollTo(0);let n="right"===t?this.getNextScroll(r):this.getPreviousScroll(r);0===e&&(n=0),this.scrollTo(n)}easing(e,t,r,n){return r*m(.4,0,.4,1)(e/n)+t}scrollTo(e){if(this.setState({targetScroll:e}),this.stopObservingSlides(),!this.state.initialized||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return this.scroller.scrollLeft=e,this.startObservingSlides(),void(this.state.initialized||this.setState({initialized:!0}));this.setState({isScrolling:!0}),null!==this.scroller&&function(e,t,r,n,i=200,a=()=>{}){const o=Date.now(),s=e[t],l=r-s;let c=!1;const u=()=>{const d=Date.now()-o;if(!c){if(d/i>1)return e[t]=r,h(),void a();e[t]=n(d,s,l,i),requestAnimationFrame(u)}},d=()=>{c=!0,h(),a()},h=()=>{e.removeEventListener("wheel",d),e.removeEventListener("touchstart",d)};e.addEventListener("wheel",d,{passive:!0}),e.addEventListener("touchstart",d,{passive:!0}),u()}(this.scroller,"scrollLeft",e,this.easing,200,(()=>{this.setState({isScrolling:!1}),this.startObservingSlides()}))}startObservingSlides(){this.setState({slideShowDragging:!1}),"IntersectionObserver"in window&&"IntersectionObserverEntry"in window?(this.visibleSlideObserver=new IntersectionObserver(this.observeSlides,{root:this.scroller,threshold:[.99,.001],rootMargin:"1px"}),this.slideRefs.forEach((e=>!!e&&this.visibleSlideObserver?.observe(e))),this.setState({intersectionObserverDisabled:!1})):this.setState({intersectionObserverDisabled:!0})}stopObservingSlides(){this.visibleSlideObserver&&this.visibleSlideObserver.disconnect()}onKeyUp(e){let t;if("ArrowLeft"===e.key||"ArrowRight"===e.key){switch(e.preventDefault(),e.key){case"ArrowLeft":t=this.props.rtl?"right":"left";break;case"ArrowRight":t=this.props.rtl?"left":"right";break;default:return}this.onButtonClick(t)}}onScrollIndicatorClick(e){if(!this.scrollIndicator)return;const{children:t=[],isSlideShow:r}=this.props,n=t.length;if(e.target===this.scrollIndicator.childNodes[0])return;const i=this.scrollIndicator.getBoundingClientRect().left,a=this.scrollIndicator.getBoundingClientRect().width,o=100*(e.clientX-i)/a*this.maxScrollWidth/100;if(r){const e=this.maxScrollWidth/(n-1),t=this.maxScrollWidth/n;let r=Math.round(o/e)*e;ot*(n-1)&&(r=this.maxScrollWidth),this.scrollTo(this.props.rtl?r-this.maxScrollWidth:r)}else this.scrollTo(this.props.rtl?o-this.maxScrollWidth:o)}adjustSliderPosition(){this.goToIndex(this.state.currentIndex)}handleSwipe(){this.state.slideShowDragging&&requestAnimationFrame((()=>{this.setState({slideShowDragging:!1})}))}handleScrollBarMouseDown(e){this.setState({draggable:!0,prevPosition:e.pageX,prevSliderPosition:this.scroller.scrollLeft,slideShowDragging:!0})}handleScrollBarMouseUp(){this.state.draggable&&this.setState({draggable:!1})}handleScrollBarMouseMove(e){if(!this.state.draggable)return;const t=this.scrollWidth/this.scrollIndicator.scrollWidth;this.scroller.scrollLeft=this.state.prevSliderPosition+(e.pageX-this.state.prevPosition)*t}componentDidMount(){this.resizeEventCallback=v((()=>{this._visibleSlidesLength=this._visibleSlides?this._visibleSlides.length:null,this.props.onResize&&this.props.onResize(),this.stopObservingSlides(),this.startObservingSlides(),this.slideRefs[0]&&this.slideRefs[0].getBoundingClientRect().width*this.slideRefs.length<=this.scroller.offsetWidth&&this.adjustSliderPosition()}),250),window.addEventListener("mousemove",this.handleScrollBarMouseMove),window.addEventListener("mouseup",this.handleScrollBarMouseUp),window.addEventListener("resize",this.resizeEventCallback),this.scroller?.addEventListener("wheel",this.handleSwipe,{passive:!0}),this.scroller?.addEventListener("scroll",this.setScrollState),this.debouncedSetVisibilityState=v((e=>{this._visibleSlidesLength||(this._visibleSlidesLength=e.length),this.setState({visibleSlides:e});const t=e.map(this.slideToIndex);this.visibleIndexes.join(",")!==t.join(",")&&this.props.onVisibleSlideChange&&this.props.onVisibleSlideChange([...t]),this.visibleIndexes=t}),100),this.startObservingSlides(),this.adjustSliderPosition()}componentWillUnmount(){window.removeEventListener("mousemove",this.handleScrollBarMouseMove),window.removeEventListener("mouseup",this.handleScrollBarMouseUp),this.resizeEventCallback&&window.removeEventListener("resize",this.resizeEventCallback),this.scroller?.removeEventListener("wheel",this.handleSwipe),this.scroller?.removeEventListener("scroll",this.setScrollState),this.stopObservingSlides()}componentDidUpdate(e){this.props.slideIndex!==e.slideIndex&&this.goToIndex(this.props.slideIndex),e.children.length!==this.props.children.length&&(this.stopObservingSlides(),this.startObservingSlides(),this.slideRefs.length=0,this.setScrollState())}render(){const{id:e,slideIndex:t=0,hasNoControls:r=!1,children:s=[],prefix:l="",rtl:d,ariaLabelLeftBtn:p="See previous items",ariaLabelRightBtn:m="See next items",controlBtnType:v="primary",onBtnRightClick:g,onBtnLeftClick:_,onResize:b,itemClass:y,contentClass:x,bodyWrapperClass:S,isSlideShow:w,hasNoScrollbar:k,hasSlideCounter:$,className:N,skipButtonText:C="Skip listing",counterText:I="of",onVisibleSlideChange:A,...P}=this.props,{currentScroll:Y,isScrolling:L,slideShowDragging:E,draggable:O}=this.state,M=this.isLastSlideVisible,R=this.isFirstSlideVisible,D=this.allSlidesVisible,F=Y/this.maxScrollWidth*100,B=null===this.scroller?0:this.scroller.offsetWidth/this.scroller.scrollWidth*100,T=i.default.Children.toArray(s).filter((e=>e)),z=(this.visibleIndexes[0]??this.partiallyVisibleIndexes[0])+1,V=T.map(((t,r)=>(0,n.Y)("div",{ref:e=>this.slideRefs[r]=e,className:u(`${l}carousel-slide`,y),children:t},`${e}-${r}`))),H=u(`${l}carousel`,N,w&&`${l}carousel__slide-show`,this.state.intersectionObserverDisabled&&`${l}carousel--intersection-observer-disabled`,O&&`${l}carousel--dragging`),W=u(`${l}carousel__content`,x,!L&&`${l}carousel__content--snap-slide`,E&&`${l}carousel__content--drag-slide`,D&&`${l}carousel__content--single-slide`),U=u(`${l}carousel__body`,w&&`${l}carousel__body--slide-show`);return(0,n.Y)("div",{className:H,tabIndex:-1,ref:this.component,...P,onKeyUp:this.onKeyUp,children:(0,n.FD)(f,{prefix:l,label:C,targetId:this.skipButtonId,children:[(0,n.FD)("div",{className:`${l}carousel__wrapper`,children:[!r&&(0,n.Y)(a.A,{id:this.previousBtnId,"aria-controls":`${l}carousel__${e}`,prefix:l,size:"small",iconOnly:!0,ssrIcon:c,type:v,"aria-label":p,className:u(`${l}carousel__button`,R&&`${l}carousel__button--hidden`),onClick:()=>this.onButtonClick("left")}),(0,n.Y)("div",{className:W,ref:e=>this.scroller=e,children:(0,n.Y)("div",{className:u(`${l}carousel__body-wrapper`,S),children:(0,n.Y)("div",{id:`${l}carousel__${e}`,className:U,ref:this.slider,children:V})})}),!r&&(0,n.Y)(a.A,{id:this.nextBtnId,"aria-controls":`${l}carousel__${e}`,prefix:l,size:"small",iconOnly:!0,ssrIcon:o.A,type:v,"aria-label":m,className:u(`${l}carousel__button`,`${l}carousel__button--right`,M&&`${l}carousel__button--hidden`),onClick:()=>this.onButtonClick("right")})]}),!D&&!k&&(0,n.FD)("div",{className:`${l}carousel__counter--wrapper`,children:[(0,n.Y)(h,{prefix:l,barPosition:F,barWidth:B,ref:e=>this.scrollIndicator=e,onClick:this.onScrollIndicatorClick,onMouseDown:this.handleScrollBarMouseDown,draggable:this.state.draggable}),$&&!!z&&(0,n.Y)("span",{className:`${l}carousel__counter`,children:`${z} ${I} ${T.length}`})]})]})})}}var _=g},9172:(e,t,r)=>{"use strict";r.d(t,{o:()=>o});var n=r(2269),i=r(6625);const a={new:"New",nlp:"New lower price",family:"IKEA Family price"},o=e=>{const{prefix:t="",message:r,variant:o="new",subtle:s,className:l}=e,c=i(l,`${t}commercial-message`,s&&`${t}commercial-message--subtle`,`${t}commercial-message${s?"--subtle":""}--${o}`);return(0,n.Y)("div",{className:c,children:(0,n.Y)("span",{className:`${t}commercial-message__title`,children:r||a[o]})})}},1195:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var n=r(9172).o},3653:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(2269),i=r(9360),a=r(6052);const o=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m2.1213 2.121 19.7989 19.7991-1.4141 1.4142-3.3345-3.3345H3.0002V5.8284L.7071 3.5353 2.1213 2.121zm13.0503 15.8788-2-2H6.5002l2.6685-4.0029-4.1685-4.1685v10.1714h10.1714z"}},{tag:"path",att:{d:"m6.8284 3.9998 2 2h10.1718v10.1718l2 2V3.9998H6.8284z"}},{tag:"path",att:{d:"M14.0002 9.4998c0 .8284.6716 1.5 1.5 1.5s1.5-.6716 1.5-1.5c0-.8285-.6716-1.5-1.5-1.5s-1.5.6715-1.5 1.5z"}}];var s=r(4337),l=()=>(0,s.$)(o);const c=[{tag:"path",att:{d:"M15.5 11c-.8284 0-1.5-.6716-1.5-1.5S14.6716 8 15.5 8s1.5.6716 1.5 1.5-.6716 1.5-1.5 1.5zM13 15.25l-3-4.5L6.5 16h11L15 12.25l-2 3z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3 4v16h18V4H3zm2 14V6h14v12H5z"}}];var u=()=>(0,s.$)(c),d=r(6625),h=e=>{const{src:t,alt:r,className:o,prefix:s="",srcSet:c,sizes:h,loading:p="lazy",fallback:f=!1,...m}=e,[v,g]=(0,i.useState)(!1),[_,b]=(0,i.useState)(!1),y=(0,i.useRef)(null),x=d(`${s}image`,(v||f)&&`${s}image--fallback`,o);(0,i.useEffect)((()=>{t&&g(!1)}),[t]),(0,i.useEffect)((()=>{if(y.current&&!_&&!v&&y.current.complete)if(y.current.naturalHeight){const e=new Event("load");y.current.dispatchEvent(e)}else{const e=new Event("error");y.current.dispatchEvent(e)}}),[]);let S=u;v&&(S=l);const w=(0,n.Y)("img",{ref:y,className:v||f?void 0:x,onError:e=>{y.current&&(g(!0),m.onError&&m.onError(e))},onLoad:e=>{y.current&&(b(!0),m.onLoad&&m.onLoad(e))},alt:r,src:t,srcSet:c,sizes:h,loading:p,...m});return v||f?(0,n.FD)("span",{className:x,children:[(0,n.Y)(a.A,{paths:S,className:`${s}image__icon`,prefix:s}),w]}):w}},6052:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(2269),i=r(9360),a=r(6625);const o=({prefix:e="",className:t,viewBox:r="0 0 24 24",ariaHidden:i=!0,children:a,...o})=>(0,n.Y)("svg",{viewBox:r,focusable:"false",width:"24",height:"24",...o,"aria-hidden":i,className:`${e}svg-icon${t?` ${t}`:""}`,children:a});var s=e=>{const{prefix:t="",viewBox:r="0 0 24 24",paths:s,className:l,modifier:c,ariaHidden:u=!0,...d}=e,h=a(l,c&&`${t}svg-icon--${c}`);return s?(0,n.Y)(o,{viewBox:r,prefix:t,...d,className:h,ariaHidden:u,children:s().map(((e,t)=>i.default.cloneElement(e,{key:t})))}):null}},285:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m20.0008 12.0001-8-8.001-1.4143 1.414L16.1727 11H4v2h12.1723l-5.5868 5.5866 1.4141 1.4142 8.0012-8.0007z"}}];var i=r(4337),a=()=>(0,i.$)(n)},8059:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m15.5996 12.0007-5.785 5.7857-1.4143-1.4141 4.3711-4.3716L8.4003 7.629l1.4143-1.4142 5.785 5.7859z"}}];var i=r(4337),a=()=>(0,i.$)(n)},4309:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m16.415 12.0011-8.0012 8.0007-1.4141-1.4143 6.587-6.5866-6.586-6.5868L8.415 4l8 8.0011z"}}];var i=r(4337),a=()=>(0,i.$)(n)},6584:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n=[{tag:"path",att:{d:"M11.0036 14.2499h2v-6h-2v6zm1 1.5c-.6904 0-1.25.5596-1.25 1.25 0 .6903.5596 1.25 1.25 1.25.6903 0 1.25-.5597 1.25-1.25 0-.6904-.5597-1.25-1.25-1.25z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m1.1152 20.5341 10-19h1.7699l10 19-.8849 1.4658h-20l-.885-1.4658zm2.5413-.5342h16.6873l-8.3436-15.853L3.6565 20z"}}];var i=r(4337),a=()=>(0,i.$)(n)},4337:(e,t,r)=>{"use strict";r.d(t,{$:()=>a});var n=r(9360);function i(e){return e.replace(/-([a-z])/g,((e,t)=>t.toUpperCase()))}function a(e){if(e)return e.map((e=>{return(0,n.createElement)(e.tag,(t=e.att,Object.entries(t).reduce(((e,[t,r])=>("style"===t&&"string"==typeof r?e.style=r.split(";").reduce(((e,t)=>{const[r,n]=t.split(":");return r&&n&&(e[i(r.trim())]=n.trim()),e}),{}):e[i(t)]=r,e)),{})),a(e.nds));var t}))}},2256:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(2269),i=r(9360),a=r(6625),o=r(8817),s=r(6052),l=r(8059),c=e=>{const{prefix:t="",ssrIcon:r=l.A,iconState:i,small:o=!1,title:c,subtitle:u,onClick:d,disabled:h=!1,href:p,className:f,...m}=e,v=a(f,`${t}chunky-header`,o&&`${t}chunky-header--small`),g=(0,n.FD)(n.FK,{children:[(0,n.FD)("span",{className:`${t}chunky-header__title-wrapper`,children:[(0,n.Y)("span",{className:`${t}chunky-header__title`,children:c}),u&&(0,n.Y)("span",{className:`${t}chunky-header__subtitle`,children:u})]}),(0,n.Y)(s.A,{prefix:t,className:`${t}chunky-header__icon`,paths:r,modifier:i})]});return p?(0,n.Y)("a",{href:p,className:v,...m,children:g}):(0,n.Y)("button",{type:"button",onClick:d,disabled:h,className:v,...m,children:g})},u=e=>{const{prefix:t="",stacked:r=!1,position:s="left",href:l,btnText:u="See all",children:d,title:h,description:p,className:f,btnProps:m,chunkyHeaderProps:v,...g}=e,_=a(`${t}teaser`,r&&"right"===s&&`${t}teaser--right ${t}teaser--stacked`,r&&"left"===s&&`${t}teaser--left ${t}teaser--stacked`,f);let b;return h&&(b=i.default.isValidElement(h)?h:(0,n.Y)("h2",{className:`${t}teaser__title`,children:h})),(0,n.Y)("div",{className:_,...g,children:(0,n.FD)("div",{className:`${t}teaser__grid`,children:[(0,n.FD)("div",{className:`${t}teaser__info-container`,children:[(0,n.FD)("div",{className:`${t}teaser__info`,children:[b,p&&(0,n.Y)("p",{className:`${t}teaser__description`,children:p})]}),l&&(0,n.Y)(o.A,{prefix:t,size:"small",...m,className:`${t}teaser__top-button`,href:l,text:u})]}),(0,n.Y)("div",{className:`${t}teaser__content`,children:d}),l&&(0,n.Y)(c,{prefix:t,...v,small:!0,className:`${t}teaser__bottom-button`,href:l,title:u})]})})}},7068:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(2269),i=r(6625),a=e=>{const{prefix:t="",className:r,tagName:a="div",headingSize:o,bodySize:s="m",children:l,...c}=e,u=`${t}text`,d=i(u,o&&`${u}--heading-${o}`,!o&&s&&`${u}--body-${s}`,r),h=a||"div";return(0,n.Y)(h,{...c,className:d,children:l})}},9751:(e,t,r)=>{"use strict";r.d(t,{cn:()=>i});var n=r(9360);function i(e,t){return(0,n.hydrate)(t,e),function(e){return{render(t){(0,n.render)(t,e)},unmount(){(0,n.unmountComponentAtNode)(e)}}}(e)}},2269:(e,t,r)=>{"use strict";r.d(t,{FK:()=>n.FK,Y:()=>a,FD:()=>a}),r(9360);var n=r(8727),i=0;function a(e,t,r,a,o,s){var l,c,u={};for(c in t)"ref"==c?l=t[c]:u[c]=t[c];var d={type:e,props:u,key:r,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--i,__i:-1,__u:0,__source:o,__self:s};if("function"==typeof e&&(l=e.defaultProps))for(c in l)void 0===u[c]&&(u[c]=l[c]);return n.fF.vnode&&n.fF.vnode(d),d}Array.isArray}}]);