(self.webpackChunkOne=self.webpackChunkOne||[]).push([["6726"],{6488:function(t,e,l){"use strict";l.d(e,{Z:function(){return n}});var r,o=l(67294);function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var l=arguments[e];for(var r in l)Object.prototype.hasOwnProperty.call(l,r)&&(t[r]=l[r])}return t}).apply(this,arguments)}let n=t=>o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),r||(r=o.createElement("path",{d:"M17.112 5.913c2.587 0 4.241 2.466 4.241 2.466s-2.523 1.35-2.523 4.28c0 3.479 3.17 4.49 3.17 4.49S19.498 23 16.688 23c-1.58 0-1.685-.896-3.785-.896-1.823 0-2.438.896-3.827.896C6.425 23 3 17.297 3 12.66c0-4.818 3.467-6.747 5.64-6.747 1.91 0 2.704 1.106 4.242 1.106 1.293 0 2.312-1.106 4.23-1.106zM16.667 1c.381 2.361-1.792 5.282-4.39 5.187-.381-3.005 2.418-5.029 4.39-5.187z"})))},43989:function(t,e,l){"use strict";l.d(e,{Z:function(){return n}});var r,o=l(67294);function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var l=arguments[e];for(var r in l)Object.prototype.hasOwnProperty.call(l,r)&&(t[r]=l[r])}return t}).apply(this,arguments)}let n=t=>o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),r||(r=o.createElement("path",{d:"M22.22 12.6H3.885a62.128 62.128 0 0 0 10.025 6.825l-.56 1.075a63.672 63.672 0 0 1-10.97-7.61l-.2-.18v-1.405l.18-.175A46.636 46.636 0 0 1 13.365 3.5l.53 1.08a46.881 46.881 0 0 0-10.06 6.82H22.22v1.2z"})))},10026:function(t,e,l){"use strict";l.d(e,{Z:function(){return n}});var r,o=l(67294);function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var l=arguments[e];for(var r in l)Object.prototype.hasOwnProperty.call(l,r)&&(t[r]=l[r])}return t}).apply(this,arguments)}let n=t=>o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),r||(r=o.createElement("path",{d:"M21.83 11.32v1.405l-.2.18a63.637 63.637 0 0 1-11 7.64l-.54-1.045a61.947 61.947 0 0 0 10.035-6.885H1.77v-1.2h18.41a46.785 46.785 0 0 0-10.075-6.86l.53-1.055a47 47 0 0 1 11 7.665l.195.155z"})))},60221:function(t,e,l){"use strict";l.d(e,{Z:function(){return n}});var r,o=l(67294);function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var l=arguments[e];for(var r in l)Object.prototype.hasOwnProperty.call(l,r)&&(t[r]=l[r])}return t}).apply(this,arguments)}let n=t=>o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),r||(r=o.createElement("path",{d:"M15.5 20.725 6.35 12l9.15-8.725 1.38 1.45L9.245 12l7.635 7.275-1.38 1.45z"})))},24190:function(t,e,l){"use strict";l.d(e,{Z:function(){return n}});var r,o=l(67294);function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var l=arguments[e];for(var r in l)Object.prototype.hasOwnProperty.call(l,r)&&(t[r]=l[r])}return t}).apply(this,arguments)}let n=t=>o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),r||(r=o.createElement("path",{d:"M8.5 20.725 17.65 12 8.5 3.275l-1.38 1.45L14.755 12 7.12 19.275l1.38 1.45z"})))},31131:function(t,e,l){"use strict";l.d(e,{Z:function(){return n}});var r,o=l(67294);function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var l=arguments[e];for(var r in l)Object.prototype.hasOwnProperty.call(l,r)&&(t[r]=l[r])}return t}).apply(this,arguments)}let n=t=>o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),r||(r=o.createElement("path",{d:"M3.12 23.5c-.375-.1-.62-.471-.62-1.045V3.52c0-.531.207-.89.536-1.02l9.37 10.552L3.12 23.5zm1.29-.402 11.28-6.348-2.748-3.094-8.531 9.442zM15.768 9.27 4.645 3.01l8.314 9.42 2.808-3.16zm.755.425 4.357 2.453c.824.464.832 1.213 0 1.681l-4.468 2.515-2.913-3.302 3.024-3.347z"})))},23493:function(t,e,l){var r=l(23279),o=l(13218);t.exports=function(t,e,l){var i=!0,n=!0;if("function"!=typeof t)throw TypeError("Expected a function");return o(l)&&(i="leading"in l?!!l.leading:i,n="trailing"in l?!!l.trailing:n),r(t,e,{leading:i,maxWait:e,trailing:n})}},59559:function(t,e,l){"use strict";l.d(e,{Z:function(){return n}});var r=l(85893),o=l(63387),i=l.n(o);let n=t=>{var e,l,{children:o,className:n="Button",form:s,icon:a,id:c,isLoading:d,isDisabled:u,onClick:f,name:p,tabIndex:h,title:m,type:v="button"}=t,b=function(t,e){if(null==t)return{};var l,r,o=function(t,e){if(null==t)return{};var l,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)l=i[r],!(e.indexOf(l)>=0)&&(o[l]=t[l]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++){if(l=i[r],!(e.indexOf(l)>=0))Object.prototype.propertyIsEnumerable.call(t,l)&&(o[l]=t[l])}}return o}(t,["children","className","form","icon","id","isLoading","isDisabled","onClick","name","tabIndex","title","type"]);return(0,r.jsxs)("button",(e=function(t){for(var e=1;e<arguments.length;e++){var l=null!=arguments[e]?arguments[e]:{},r=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(l).filter(function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),r.forEach(function(e){var r,o,i;r=t,o=e,i=l[e],o in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})}return t}({},b),l=(l={className:i()(n,{"is-loading":d}),disabled:u||d,form:s,id:c,onClick:f,name:p,tabIndex:h,title:m,type:v,children:[!!a&&a,(0,r.jsx)("div",{className:"Button__content",children:o})]},l),Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):(function(t,e){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);l.push.apply(l,r)}return l})(Object(l)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}),e))}},57236:function(t,e,l){"use strict";l.d(e,{Z:function(){return N}});var r=l(85893),o=l(67294),i=l(73935),n=l(81722),s=l(63387),a=l.n(s),c=l(23279),d=l.n(c),u=l(23493),f=l.n(u),p=l(43989),h=l(10026),m=l(60221),v=l(24190),b=l(92885),g=l(36658),w=l(72319),_=l(62233),x=l(39363);let j=50,y="alpine",C=({navBarData:t,onClickDots:e,dotMode:l,displayMode:o,portalDots:n})=>{var s,c;if(!t.globalWidth||!t.childrenWidths||1===t.childrenWidths.length||!t.pages||1===t.pages.length)return null;let d=(0,r.jsxs)("ul",{className:a()("CustomScroll__dots",{"is-below":["dots-below","dots-below-mobile-only"].includes(l),"is-mobile-only":"dots-below-mobile-only"===l}),children:[("fullwidth"===o||"card"===o)&&(null==t?void 0:null===(s=t.childrenWidths)||void 0===s?void 0:s.map((l,i)=>(0,r.jsx)("li",{className:"CustomScroll__dot",children:(0,r.jsx)("button",{className:a()("CustomScroll__dotButton",{"is-active":"card"===o?(null==t?void 0:t.activeChildIndex)===i:null==l?void 0:l.isVisible}),onClick:()=>e(null==l?void 0:l.middle),children:(0,r.jsx)("span",{className:"u-hidden-wording",children:`slide ${i}`})})},`dot-${i}`))),!o&&(null==t?void 0:null===(c=t.pages)||void 0===c?void 0:c.map((t,l)=>(0,r.jsx)("li",{className:"CustomScroll__dot",children:(0,r.jsx)("button",{className:a()("CustomScroll__dotButton",{"is-active":null==t?void 0:t.isActive}),onClick:()=>e(null==t?void 0:t.middle),children:(0,r.jsx)("span",{className:"u-hidden-wording",children:`slide ${l}`})})},`dot-${l}`)))]});return n?(0,i.createPortal)(d,n):d},O=({isLeftArrowDisplayed:t,isRightArrowDisplayed:e,isRightBottomArrowsDisplayed:l,handleArrowClick:o,isRtl:n,portalElement:s,isDarkMode:c})=>{let d=(0,r.jsxs)("div",{className:a()("CustomScroll__bottomArrows",{"is-darkmode":c,"is-right-bottom-arrows-displayed":l}),children:[(0,r.jsx)("button",{className:a()("CustomScroll__bottomArrowsButton CustomScroll__bottomArrowsLeft",{CustomScroll__bottomArrows_disabled:!t}),onClick:o(-1),children:(0,r.jsx)(p.Z,{className:a()("CustomScroll__Arrows_arrow",{"is-rtl":n})})}),(0,r.jsx)("button",{className:a()("CustomScroll__bottomArrowsButton CustomScroll__bottomArrowsRight",{CustomScroll__bottomArrows_disabled:!e}),onClick:o(1),children:(0,r.jsx)(h.Z,{className:a()("CustomScroll__Arrows_arrow",{"is-rtl":n})})})]});return s?(0,i.createPortal)(d,s):d},P=({navBarData:t,onClickDots:e,tabs:l,brand:i})=>{var n;let s=(0,o.useRef)(null),c=null==t?void 0:t.childrenWidths.find(t=>null==t?void 0:t.isVisible);if((0,o.useEffect)(()=>{let t=s.current;if(t){let e=t.querySelector(".CustomScroll__tabButton.is-active");e&&(e.getBoundingClientRect().left+e.clientWidth>window.innerWidth||e.getBoundingClientRect().left<0)&&t.scrollTo({top:0,left:e.offsetLeft})}},[c]),!t.globalWidth||!t.childrenWidths||1===t.childrenWidths.length)return null;let d="mobilize"===i;return(0,r.jsx)("ul",{className:"CustomScroll__tabs",ref:s,children:null==t?void 0:null===(n=t.childrenWidths)||void 0===n?void 0:n.map((t,o)=>(0,r.jsx)("li",{className:"CustomScroll__tab",children:(0,r.jsx)("button",{className:a()("CustomScroll__tabButton",{"is-active":null==t?void 0:t.isVisible}),onClick:()=>e(null==t?void 0:t.middle),children:d?(0,w.DO)(o+1,2):null==l?void 0:l[o]})},`tab-${o}`))})},N=(0,n.$j)(({app:t,page:{data:{siteParams:e}}})=>{var l;return{isRtl:null!==(l=null==e?void 0:e.rtl)&&void 0!==l&&l,brand:(null==e?void 0:e.brand)||"",isMobile:t.threshold===x.TP}})(({bottomArrowsPortalElement:t,children:e=[],className:l="",darkMode:n=!1,defaultSelectedSlideIndex:s,displayMode:c,interactionType:u,isCentered:w=!1,isFullScreen:N=!1,isFullHeight:A=!1,isFullHeightChild:S=!1,isRtl:k,isSimplified:B=!1,isCardCentered:W=!1,isRightBottomArrowsDisplayed:E=!0,arrowMode:Z,dotMode:M,onInteraction:L,snapMode:D,tabs:R=[],minInterval:$=j,brand:z,isMobile:I,portalsCustomElement:T={}})=>{var V,q;let{ref:G,isVisible:H}=(0,g.Z)({role:"technical",stayVisible:!1}),F=(0,o.useRef)(0),J=(0,o.useRef)(null),K=(0,o.useRef)(0),[Q,U]=(0,o.useState)({childrenWidths:[],globalWidth:void 0,activeChildIndex:void 0,isScrolling:!1,pages:[]}),X=(0,o.useRef)(!1),[Y,tt]=(0,o.useState)(!1),[te,tl]=(0,o.useState)(!1),[tr,to]=(0,o.useState)(0),[ti,tn]=(0,o.useState)(0),ts=null==Q?void 0:null===(q=Q.childrenWidths)||void 0===q?void 0:null===(V=q[0])||void 0===V?void 0:V.width,ta=(0,o.useMemo)(()=>{if(W&&!I){let t=null==J?void 0:J.current;if(t){let{clientWidth:e}=t;return(e-(ts||0))/2}}return 0},[ts,W,I]),tc=(0,o.useCallback)(()=>{let t=J.current;if(t&&H){let{scrollLeft:e=0,scrollWidth:l=0,clientWidth:r=0}=t,o=l-r,i=o>0?o:0,n=k?-1:1;tt(n*e>$),tl(i>0&&n*e+$<i);let s=Array.from(t.children)||[],a=s.map(t=>({promoText:(t.innerText||"").substring(0,50).replace(/\s+/g," ").trim(),width:t.offsetWidth,percent:t.offsetWidth/l*100,middle:t.offsetLeft+t.offsetWidth/2,left:t.getBoundingClientRect().left,right:t.getBoundingClientRect().right,isVisible:t.offsetLeft+t.offsetWidth/2>e&&t.offsetLeft+t.offsetWidth/2<e+r})),c=s.findIndex(t=>W?t.getBoundingClientRect().right>window.innerWidth/2:(null==t?void 0:t.offsetLeft)>=Math.round(e));!X.current&&(X.current=!0);let d=r?Array(Math.round(l/r)).fill(void 0).map((t,l)=>({isActive:l===Math.floor((e+r/2)/r),middle:r*l+r/2})):[],u=e!==F.current;F.current=e,U({isScrolling:u,activeChildIndex:c,pages:d,childrenWidths:a,globalWidth:l}),a[c]&&(!u||!tr)&&(to(a[c].right),tn(a[c].left)),null==L||L({isScrolling:u,activeChildIndex:c})}},[H,k,$,tr,L,W]),td=t=>e=>{null==e||e.stopPropagation();let l=J.current;if(l){let e;let{scrollLeft:r=0,clientWidth:o=0}=l,i=k?-1:1,n=Array.from(l.children),{clientWidth:s=0}=(null==n?void 0:n[0])||{};switch(c){case"fullwidth":e=o;break;case"card":e=s;break;default:e=9*o/10}let a=r+e*t*i;l.scrollLeft=a}(0,b.y_)({event:"carouselInteraction",interactionType:"widgetCardsGallery"})},tu=t=>{let e=J.current;if(e){let{clientWidth:l=0}=e,r=t-l/2;e.scrollLeft=r>0?r:0}},tf=(0,o.useCallback)(f()(tc,200,{leading:!1,trailing:!0}),[tc]),tp=(0,o.useCallback)(d()(tc,110),[tc]);(0,o.useEffect)(()=>{let t=null==Q?void 0:Q.childrenWidths.findIndex(t=>t.isVisible);K.current!==t&&t>-1&&u&&!Q.isScrolling&&((0,b.y_)({interactionType:u,itemNumber:`${t+1}/${null==Q?void 0:Q.childrenWidths.length}`,event:"carouselInteraction",promoText:null==Q?void 0:Q.childrenWidths[t].promoText,scrollDirection:K.current<t?"right":"left"}),K.current=t)},[Q,u]),(0,_.Z)(tc),(0,o.useEffect)(()=>((null==J?void 0:J.current)&&("undefined"!=typeof window&&window.addEventListener(x.FD,tc),tc()),()=>{"undefined"!=typeof window&&window.removeEventListener(x.FD,tc)}),[tc]),(0,o.useEffect)(()=>{if(void 0!==s){let t=null==J?void 0:J.current;if(t){let{clientWidth:e}=t;if(window){let l=Array.from(t.children);if(l.length>1&&l[s]){let{offsetLeft:r,clientWidth:o}=l[s];if(W)t.scrollLeft=r-(e-o)/2;else{let l="center"===D?r-(e-o)/2:r;t.scrollLeft=l}}}}}},[s,D,ta,W]);let th=a()("CustomScroll__child",{[`is-snap-${D||""}`]:D,[`is-display-${c||""}`]:c,"is-full-height":S}),tm="arrows-left-right-all"===Z||"arrows-left-right-desktop-only"===Z,tv="tabs-inside"===M?P:C,tb=z===y?p.Z:m.Z,tg=z===y?h.Z:v.Z,tw=((null==Q?void 0:Q.activeChildIndex)||0)+1;return(0,r.jsxs)("div",{className:a()("CustomScroll",{"is-full-height":A,CustomScroll_center:w,"is-navbar-dots-below":["dots-below","dots-below-mobile-only"].includes(M)&&!(null==T?void 0:T.portalDots),"is-navbar-arrows-bottom":"arrows-bottom"===Z,"is-darkmode":n},l),ref:G,children:[(0,r.jsx)("div",{className:a()("CustomScroll__container",{"is-simplified":B,"is-full-height":A,[`is-display-${c||""}`]:c,"is-fullscreen":N,"has-smooth-scroll":X.current}),ref:J,style:ta?{scrollPadding:`0 ${ta}px`,padding:`0 ${ta}px`}:void 0,onScroll:()=>{tf(),tp()},children:e&&Array.isArray(e)&&D?e.map((t,l)=>(0,r.jsx)("div",{className:a()(th,{"is-first-slide":0===l,"is-last-slide":l===e.length-1}),children:t},l)):e}),"counter"===M&&!!e&&Array.isArray(e)&&(null==Q?void 0:Q.activeChildIndex)!==void 0&&!!D&&(0,r.jsxs)("div",{className:"CustomScroll__counter",children:[tw," / ",null==e?void 0:e.length]}),"arrows-bottom"===Z&&(0,r.jsx)(O,{isLeftArrowDisplayed:Y,isRightArrowDisplayed:te,isRtl:k,isRightBottomArrowsDisplayed:E,handleArrowClick:td,portalElement:t,portalsCustomElement:T,isDarkMode:n}),(()=>{if(tm&&Y){let t=(0,r.jsx)("button",{style:{"--leftArrowPosition":`${ti}px`},className:a()("CustomScroll__arrow CustomScroll__arrowLeft",{"is-simplified":B,"is-left-right-all":"arrows-left-right-all"===Z}),onClick:td(-1),children:(0,r.jsx)(tb,{className:a()("CustomScroll__Arrows_arrow",{"is-rtl":k})})});return T.portalPreviousButton?(0,i.createPortal)(t,T.portalPreviousButton):t}return null})(),(()=>{if(tm&&te){let t=(0,r.jsx)("button",{style:{"--rightArrowPosition":`${tr}px`},className:a()("CustomScroll__arrow CustomScroll__arrowRight",{"is-simplified":B,"is-left-right-all":"arrows-left-right-all"===Z}),onClick:td(1),children:(0,r.jsx)(tg,{className:a()("CustomScroll__Arrows_arrow",{"is-rtl":k})})});return T.portalNextButton?(0,i.createPortal)(t,T.portalNextButton):t}return null})(),!["none","counter"].includes(M)&&(0,r.jsx)(tv,{dotMode:M,displayMode:c,navBarData:Q,arrowMode:Z,onClickDots:t=>tu(t),tabs:R,brand:z,isMobile:!!I,portalDots:T.portalDots})]})})},38542:function(t,e,l){"use strict";l.d(e,{e:()=>o});var r=l("85893");let o=({anchor:t,className:e})=>(0,r.jsx)("div",{id:t,className:e})},28598:function(t,e,l){"use strict";l.r(e),l.d(e,{default:function(){return v}});var r=l(85893),o=l(67294),i=l(63387),n=l.n(i),s=l(38542),a=l(82727),c=l(6488),d=l(31131),u=l(79692),f=l(59559),p=l(98839),h=l(51220),m=l(57236);let v=({className:t,googlePlayUrl:e,appStoreUrl:l,images:i,editContext:v,strapline:b,title:g,titleAnchor:w,notGenerateH:_=!1,logo:x})=>{let j=(0,o.useRef)(null),y=(0,o.useRef)(null),C=(0,o.useRef)(null),[O,P]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{y&&j&&C&&P(!0)},[y,j,C]),(0,r.jsxs)("div",{className:n()("AppPromotion",t),children:[(0,r.jsxs)("div",{className:"AppPromotion__header",children:[(0,r.jsxs)("div",{className:"AppPromotion__titles",children:[x&&Object.keys(x).length>0&&(0,r.jsx)("div",{className:"AppPromotion__logo",children:(0,r.jsx)(h.Z,{className:"AppPromotion__myrLogo",sources:x,alt:g||""})}),w&&(0,r.jsx)(s.e,{anchor:w}),b&&(0,r.jsx)("p",{className:"AppPromotion__strapline",children:b}),g&&(_?(0,r.jsx)("p",{className:"AppPromotion__title",children:g}):(0,r.jsx)("h2",{className:"AppPromotion__title",children:g}))]}),(0,r.jsx)(a.Cq,{editContext:v})]}),(0,r.jsxs)("div",{className:"AppPromotion__carousel",children:[(0,r.jsx)("div",{className:"AppPromotion__arrowButton",ref:j}),(0,r.jsx)("div",{className:"AppPromotion__arrowButton",ref:y}),(0,r.jsx)("div",{className:"AppPromotion__customCarousel",children:O&&(0,r.jsx)(m.Z,{dotMode:"dots-below",arrowMode:"arrows-left-right-all",displayMode:"fullwidth",interactionType:"app-carousel",snapMode:"start",portalsCustomElement:{portalPreviousButton:(null==j?void 0:j.current)||void 0,portalNextButton:(null==y?void 0:y.current)||void 0,portalDots:(null==C?void 0:C.current)||void 0},children:(0,u.rl)(i).map(({aemKey:t,src:e,alt:l})=>e?(0,r.jsx)(h.Z,{sources:e,alt:l,isCovered:!0},t):null)})}),(0,r.jsx)("div",{className:"AppPromotion__dotsControls",ref:C})]}),(0,r.jsxs)("div",{className:"AppPromotion__links",children:[(0,r.jsx)(p.ZP,{url:e,target:"_blank","data-track":"click","data-track-event":"navigationClick","data-track-destination":e,"data-track-button-text":"Google Play","data-track-location-in-page":"cta-bloc-app",children:(0,r.jsx)(f.Z,{className:"Button Button_ghost Button_icon AppPromotion__storeButton",icon:(0,r.jsx)(d.Z,{}),children:"Google Play"})}),(0,r.jsx)(p.ZP,{className:"AppPromotion__link",url:l,target:"_blank","data-track":"click","data-track-event":"navigationClick","data-track-destination":l,"data-track-button-text":"App Store","data-track-location-in-page":"cta-bloc-app",children:(0,r.jsx)(f.Z,{className:"Button Button_ghost Button_icon AppPromotion__storeButton",icon:(0,r.jsx)(c.Z,{className:"AppPromotion__icon"}),children:"App Store"})})]}),(0,r.jsx)(a.Cq,{editContext:v})]})}}}]);