1import{t as x,u}from"./chunk-LYCTNUXU.js";import{a as f}from"./chunk-JLFNFR2V.js";import{a as g}from"./chunk-PZ2K5XOK.js";import{a as n,b as a}from"./chunk-OG4MZ6A6.js";import{a as w}from"./chunk-3Q6SZ2TB.js";import{a as r}from"./chunk-RF45J46S.js";import{a as o}from"./chunk-GZUIJYIO.js";import{a as m}from"./chunk-7B5QVQO3.js";import"./chunk-YXPAYWQJ.js";import{a as l}from"./chunk-ZSRY565N.js";import{b as c}from"./chunk-F3QBL26E.js";import"./chunk-FHKXEPZ5.js";import{b as y,c as e,d as b,e as v,f as S}from"./chunk-QRUAUUK2.js";import{i as h}from"./chunk-QN26NOZT.js";var _=()=>"@media (min-width: 640px){.show-for-sm-only{display:none !important}}@media (min-width: 640px){.hide-for-md{display:none !important}}@media (max-width: 640px){.show-for-md{display:none !important}}@media (min-width: 640px) and (max-width: 768px){.hide-for-md-only{display:none !important}}@media (max-width: 640px), (min-width: 768px){.show-for-md-only{display:none !important}}@media (min-width: 768px){.hide-for-lg{display:none !important}}@media (max-width: 768px){.show-for-lg{display:none !important}}@media (max-width: 767px){.show-for-lg-exclusive{display:none !important}}@media (min-width: 768px) and (max-width: 1024px){.hide-for-large-only{display:none !important}}@media (max-width: 768px), (min-width: 1024px){.show-for-lg-only{display:none !important}}@media (min-width: 1024px){.hide-for-xl{display:none !important}}@media (max-width: 1024px){.show-for-xl{display:none !important}}@media (min-width: 1024px) and (max-width: 1440px){.hide-for-xl-only{display:none !important}}@media (max-width: 1024px), (min-width: 1440px){.show-for-xl-only{display:none !important}}@media (min-width: 1440px){.hide-for-xxl{display:none !important}}@media (max-width: 1440px){.show-for-xxl{display:none !important}}@media (min-width: 1440px){.hide-for-xxl-only{display:none !important}}.show-for-sr,.show-on-focus{border:0 !important;clip:rect(0, 0, 0, 0) !important;height:1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;white-space:nowrap !important;width:1px !important}.show-on-focus:active,.show-on-focus:focus{clip:auto !important;height:auto !important;overflow:visible !important;position:static !important;white-space:normal !important;width:auto !important}.show-for-landscape,.hide-for-portrait{display:block !important}@media screen and (orientation: landscape){.show-for-landscape,.hide-for-portrait{display:block !important}}@media screen and (orientation: portrait){.show-for-landscape,.hide-for-portrait{display:none !important}}.hide-for-landscape,.show-for-portrait{display:none !important}@media screen and (orientation: landscape){.hide-for-landscape,.show-for-portrait{display:none !important}}@media screen and (orientation: portrait){.hide-for-landscape,.show-for-portrait{display:block !important}}@keyframes gdsLocalNavFadeIn{from{opacity:0}to{opacity:100%}}@keyframes gdsLocalNavSlideDown{from{max-height:0}to{max-height:100vh}}@keyframes GdsOpacityFadeIn{from{opacity:0}to{opacity:1}}@keyframes GdsOpacityFadeOut{from{opacity:1}to{opacity:0}}@keyframes fade-reveal{0%{opacity:0}100%{opacity:1}}@keyframes fade-conceal{0%{opacity:1}100%{opacity:0}}@keyframes bounce-down{0%{transform:translateY(0)}50%{transform:translateY(15px)}100%{transform:translateY(0)}}@keyframes blur-reveal{0%{filter:blur(0px)}100%{filter:blur(4px)}}@keyframes blur-conceal{0%{filter:blur(4px)}100%{filter:blur(0px)}}@keyframes GdsOpacityFadeIn{from{opacity:0}to{opacity:1}}@keyframes GdsOpacityFadeOut{from{opacity:1}to{opacity:0}}.gds-spacer.spacer-10{height:2px;min-height:2px}.gds-spacer.vertical-spacer-10{min-width:2px;width:2px}.gds-spacer.spacer-20{height:4px;min-height:4px}.gds-spacer.vertical-spacer-20{min-width:4px;width:4px}.gds-spacer.spacer-30{height:8px;min-height:8px}.gds-spacer.vertical-spacer-30{min-width:8px;width:8px}.gds-spacer.spacer-40{height:12px;min-height:12px}.gds-spacer.vertical-spacer-40{min-width:12px;width:12px}.gds-spacer.spacer-50{height:16px;min-height:16px}.gds-spacer.vertical-spacer-50{min-width:16px;width:16px}.gds-spacer.spacer-60{height:20px;min-height:20px}.gds-spacer.vertical-spacer-60{min-width:20px;width:20px}.gds-spacer.spacer-70{height:24px;min-height:24px}.gds-spacer.vertical-spacer-70{min-width:24px;width:24px}.gds-spacer.spacer-80{height:32px;min-height:32px}.gds-spacer.vertical-spacer-80{min-width:32px;width:32px}.gds-spacer.spacer-85{height:40px;min-height:40px}.gds-spacer.vertical-spacer-85{min-width:40px;width:40px}.gds-spacer.spacer-90{height:48px;min-height:48px}.gds-spacer.vertical-spacer-90{min-width:48px;width:48px}.gds-spacer.spacer-100{height:56px;min-height:56px}.gds-spacer.vertical-spacer-100{min-width:56px;width:56px}.gds-spacer.spacer-110{height:64px;min-height:64px}.gds-spacer.vertical-spacer-110{min-width:64px;width:64px}.gds-spacer.spacer-115{height:72px;min-height:72px}.gds-spacer.vertical-spacer-115{min-width:72px;width:72px}.gds-spacer.spacer-120{height:80px;min-height:80px}.gds-spacer.vertical-spacer-120{min-width:80px;width:80px}.gds-spacer.spacer-130{height:96px;min-height:96px}.gds-spacer.vertical-spacer-130{min-width:96px;width:96px}.gds-spacer.spacer-140{height:128px;min-height:128px}.gds-spacer.vertical-spacer-140{min-width:128px;width:128px}gds-swimlane .gds-swimlane{color:var(--common-color-text-page-generic)}gds-swimlane .gds-swimlane.light{color:var(--common-color-text-component-light)}@media (max-width: 640px){gds-swimlane .gds-swimlane.gds-grid{width:100%}}gds-swimlane .gds-swimlane-header{display:flex;flex-direction:column;justify-content:center;flex:1 1 auto;text-align:center}gds-swimlane .gds-swimlane-cta{width:100%;display:inline-block;text-align:center}gds-swimlane .gds-swimlane .gds-static-swimlane{display:flex;justify-content:center;list-style-type:none;margin:0;padding:0}gds-swimlane .gds-swimlane .gds-static-swimlane-item:not(:last-child){margin-right:16px}@media (min-width: 1024px){gds-swimlane .gds-swimlane .gds-static-swimlane-item:not(:last-child){margin-right:32px}}gds-swimlane .gds-swimlane .cf4-swimlane{width:100%}@media (min-width: 640px){gds-swimlane .gds-swimlane .cf4-swimlane{margin-left:auto;margin-right:auto;max-width:496px;min-width:496px;width:496px}}@media (min-width: 768px){gds-swimlane .gds-swimlane .cf4-swimlane{margin-left:0;margin-right:0}}@media (min-width: 1024px){gds-swimlane .gds-swimlane .cf4-swimlane{max-width:544px;min-width:544px;width:544px}}@media (min-width: 1440px){gds-swimlane .gds-swimlane .cf4-swimlane{max-width:600px;min-width:600px;width:600px}}@media (min-width: 640px){gds-swimlane .gds-swimlane .cf4-swimlane .swiper-container{margin-left:80px;margin-right:80px}}gds-swimlane .gds-swimlane .cf4-swimlane.bg-transparent .accessibility-wrap:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-transparent button:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-blue .accessibility-wrap:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-blue button:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-orange .accessibility-wrap:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-orange button:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-light-blue .accessibility-wrap:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-light-blue button:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-black .accessibility-wrap:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-black button:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-green .accessibility-wrap:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-green button:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-yellow .accessibility-wrap:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-yellow button:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-dark-blue .accessibility-wrap:focus,gds-swimlane .gds-swimlane .cf4-swimlane.bg-dark-blue button:focus{outline:1px dashed var(--common-color-text-component-light);outline-offset:2px}gds-swimlane .gds-swimlane .cf4-swimlane.bg-transparent .swiper-previous,gds-swimlane .gds-swimlane .cf4-swimlane.bg-blue .swiper-previous,gds-swimlane .gds-swimlane .cf4-swimlane.bg-orange .swiper-previous,gds-swimlane .gds-swimlane .cf4-swimlane.bg-light-blue .swiper-previous,gds-swimlane .gds-swimlane .cf4-swimlane.bg-black .swiper-previous,gds-swimlane .gds-swimlane .cf4-swimlane.bg-green .swiper-previous,gds-swimlane .gds-swimlane .cf4-swimlane.bg-yellow .swiper-previous,gds-swimlane .gds-swimlane .cf4-swimlane.bg-dark-blue .swiper-previous{left:0}gds-swimlane .gds-swimlane .cf4-swimlane.bg-transparent .swiper-next,gds-swimlane .gds-swimlane .cf4-swimlane.bg-blue .swiper-next,gds-swimlane .gds-swimlane .cf4-swimlane.bg-orange .swiper-next,gds-swimlane .gds-swimlane .cf4-swimlane.bg-light-blue .swiper-next,gds-swimlane .gds-swimlane .cf4-swimlane.bg-black .swiper-next,gds-swimlane .gds-swimlane .cf4-swimlane.bg-green .swiper-next,gds-swimlane .gds-swimlane .cf4-swimlane.bg-yellow .swiper-next,gds-swimlane .gds-swimlane .cf4-swimlane.bg-dark-blue .swiper-next{right:0}gds-swimlane .gds-swimlane .cf4-swimlane.bg-light-gray .accessibility-wrap:focus{outline:1px dashed var(--common-color-text-component-dark);outline-offset:2px}gds-swimlane .gds-swimlane .cf4-swimlane.bg-light-gray .swiper-previous{left:0}gds-swimlane .gds-swimlane .cf4-swimlane.bg-light-gray .swiper-next{right:0}gds-swimlane .gds-swimlane .swiper{}gds-swimlane .gds-swimlane .swiper-row{position:relative}gds-swimlane .gds-swimlane .swiper-container{list-style:none;overflow:hidden;padding:0;position:relative;z-index:1}@media (min-width: 640px){gds-swimlane .gds-swimlane .swiper-container{margin-left:80px;margin-right:80px}}gds-swimlane .gds-swimlane .swiper-container-vertical>.swiper-wrapper{flex-direction:column}gds-swimlane .gds-swimlane .swiper-wrapper{box-sizing:content-box;display:flex;height:100%;list-style-type:none;margin:0;padding:4px 0;position:relative;transition-property:transform;width:100%;z-index:1}gds-swimlane .gds-swimlane .swiper-wrapper.offer-wrapper{padding:20px 0 0}gds-swimlane .gds-swimlane .swiper-container-android .swiper-slide,gds-swimlane .gds-swimlane .swiper .swiper-wrapper{transform:translate3d(0, 0, 0)}gds-swimlane .gds-swimlane .swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}gds-swimlane .gds-swimlane .swiper-container-multirow-column>.swiper-wrapper{flex-direction:column;flex-wrap:wrap}gds-swimlane .gds-swimlane .swiper-container-free-mode>.swiper-wrapper{margin:0 auto;transition-timing-function:ease-out}gds-swimlane .gds-swimlane .swiper-slide{height:auto;line-height:0;position:relative;transition-property:transform;width:100%;border-radius:var(--common-dimension-radius-card-default)}gds-swimlane .gds-swimlane .swiper-slide img{height:auto;width:100%}gds-swimlane .gds-swimlane .swiper-slide-invisible-blank{visibility:hidden}gds-swimlane .gds-swimlane .swiper-container-autoheight,gds-swimlane .gds-swimlane .swiper-container-autoheight .swiper-slide{height:auto}gds-swimlane .gds-swimlane .swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform-height}gds-swimlane .gds-swimlane .swiper-img-wrap img{border-radius:20px}gds-swimlane .gds-swimlane .swiper-previous-next{position:absolute;top:0;right:0;width:100%}gds-swimlane .gds-swimlane .swiper-previous{display:block;left:0;position:absolute;top:calc( 50% - 32px );z-index:2}gds-swimlane .gds-swimlane .swiper-previous.inactive{display:none}gds-swimlane .gds-swimlane .swiper-next{display:block;position:absolute;right:0;top:calc(50% - 32px);z-index:2}gds-swimlane .gds-swimlane .swiper-next.inactive{display:none}",z=class{constructor(i){y(this,i),this.gdsComponentLoaded=S(this,"gdsComponentLoaded",7)}get el(){return v(this)}gdsVersion;data;contrast;xpath;type;theme="gds-default";context="";fontColor="";parent="";gdsComponentLoaded;compId;swiperId;id;_data;_swiper;swiperAccessibility;currentIndex=0;spaceBetween;slides;centeredSlide;lastSlide=!1;firstSlide=!0;viewportWidth=0;staticContainer=!0;showArrows;items;updateItems(i,s){this._data.items=o(i)}updateSwiper(){return h(this,null,function*(){this.resize()})}swimLaneWidth;swimLaneLength=0;cardSize;cardSizeClass="small";cardMargin;slidesPerView;centeredSlides;buttonContext;headingClasses=` 2 gds-col gds-sm-4 gds-sm-offset-0 3 gds-md-10 gds-md-offset-1 4 gds-lg-10 gds-lg-offset-1 5 gds-xl-10 gds-xl-offset-1 6 gds-xxl-8 gds-xxl-offset-2`;descriptionClasses=` 7 gds-col gds-sm-4 gds-sm-offset-0 8 gds-md-10 gds-md-offset-1 9 gds-lg-10 gds-lg-offset-1 10 gds-xl-8 gds-xl-offset-2 11 gds-xxl-6 gds-xxl-offset-3`;swimLaneClasses="gds-col gds-sm-4 gds-md-8 gds-lg-12 gds-xl-12 gds-xxl-12";cf4Class="cf4-swimlane";cf4CardSizes={small:248,medium:336,large:336,xlarge:384,xxlarge:440};svgOptions;_xpath;componentWillLoad(){this.compId=`gds-swimlane-${l()}`,this.swiperId=`swiper-${l()}`,this.id=l(),this.init()}componentWillUpdate(){if(this.init(),!this.staticContainer&&!this._swiper){this.initSwiper();return}this.staticContainer&&this._swiper&&this.destroySwiper()}componentDidLoad(){this.staticContainer||this.initSwiper(),this.gdsComponentLoaded.emit()}componentDidUpdate(){!this.staticContainer&&!this._swiper&&this.initSwiper()}disconnectedCallback(){window.removeEventListener("resize",this.resizeHandler)}init(){this._data=o(this.data),this.theme=c(this.theme),w(this.xpath)&&(this._xpath=o(this.xpath)),m.store.onChange("contrast",s=>{this.contrast=s}
11),this.buttonContext=this.type==="gds-content-feature-four-card"?"cf4":"swimlane",this.viewportWidth=this.getViewportWidth();let i=r(this._data,"items",!1);i&&(this.swimLaneLength=i.length,this.cardSizeClass=this.getCardSizeClass(this.viewportWidth,this.swimLaneLength),this.staticContainer=this.isStatic(this.swimLaneLength,this.type,this.viewportWidth,this.cardSizeClass),this.showArrows=this.arrowsVisible(this.viewportWidth),this.type==="gds-content-feature-four-card"&&(this.staticContainer=!1,this.swimLaneClasses=this.context?this.cf4Class+` ${this.context}`:this.cf4Class,this.context!=="bg-light-gray"&&(this.svgOptions={fillColor:"#0368d9",strokeColor:"#0368d9"})),this.staticContainer&&window.addEventListener("resize",this.resizeHandler))}render(){if(this._data)return this.renderTemplate()}renderTemplate(){return e(b,{"gds-version":this.gdsVersion,id:this.compId,"data-aui":`gds-swimlane-${this.id}`},e("div",{class:{"gds-grid":!0,"gds-swimlane":!0,[`${this.theme}`]:!!this.theme,[`${this.fontColor}`]:this.fontColor==="light",contrast:!!this.contrast}},this.renderHeading(),e("div",{class:this.swimLaneClasses},this.renderSwiperSwimlane(),this.renderStaticSwimlane()),this.renderCtaSection()))}renderHeading(){let i=r(this._data,"heading",""),s=r(this._data,"description","");return(!!i||!!s)&&e("div",{class:"gds-swimlane-header"},[!!i&&e("gds-heading",{class:this.headingClasses,classes:`gds-swimlane-heading heading-2 ${s?"has-description":""}`,type:"center",data:this.data,theme:this.theme,tagtype:"h2",xpath:this._xpath}),!!i&&e("gds-spacer",{classes:"spacer-50"}),!!s&&e("gds-body",{class:`gds-swimlane-description ${this.descriptionClasses}`,classes:"body-1",data:this._data,theme:this.theme,Type:["description","shortDescription","legalDescription"],TagType:"",xpath:this._xpath}),!!s&&e("gds-spacer",{classes:"spacer-85"})])}renderSwiperSwimlane(){let i=this.type==="gds-content-feature-four-card"&&this.context!=="bg-light-gray";if(!this.staticContainer&&this.swimLaneLength>0)return e("div",{class:"swiper-row"},e("div",{class:`swiper-previous ${this.firstSlide||!this.showArrows?"inactive":""}`},e("gds-buttons",{type:"leftArrow",ariaLabels:this._data?.previousButton?.ariaLabel,analytics:this._data?.previousButton?.analytics,tabOrder:-1,onClick:this.previousHandler,contrast:this.contrast,context:this.buttonContext,theme:this.theme,forceContrast:i||this.fontColor==="light",svgOptions:this.svgOptions,xpath:this._xpath?.previousButton})),e("div",{id:"tab-top-el",class:"tab-catcher",tabIndex:0}),e("div",{id:this.swiperId,class:"swiper-container"},e("ul",{class:`swiper-wrapper ${this.type==="gds-offer-card"?"offer-wrapper":""}`},this._data.items.map((s,t)=>e("li",{class:"swiper-slide dynamic-item",key:`slide dynamic-item-key-${this.id}`},e(this.type,{cardSize:this.cardSizeClass,data:s,class:{[`${this.fontColor}`]:this.fontColor==="light"},xpath:this._xpath?.items[t],contrast:this.contrast,theme:s.theme,slideIndex:t}))))),e("div",{class:`swiper-next ${this.lastSlide||!this.showArrows?"inactive":""}`},e("gds-buttons",{type:"rightArrow",ariaLabels:this._data?.nextButton?.ariaLabel,analytics:this._data?.nextButton?.analytics,tabOrder:-1,onClick:this.nextHandler,contrast:this.contrast,context:this.buttonContext,theme:this.theme,forceContrast:i||this.fontColor==="light",svgOptions:this.svgOptions,xpath:this._xpath?.nextButton})),e("div",{id:"tab-bottom-el",class:"tab-catcher",tabIndex:0}))}renderStaticSwimlane(){if(this.staticContainer&&this.swimLaneLength>0)return e("div",{class:"gds-static-swimlane-wrap"},e("ul",{class:"gds-static-swimlane"},this._data.items.map((i,s)=>e("li",{class:"gds-static-swimlane-item dynamic-item",key:`static-swimlane-item-key-${this.id}`},e(this.type,{cardSize:this.cardSizeClass,data:i,xpath:this._xpath?.items[s],theme:i.theme,contrast:this.contrast,slideIndex:s})))))}renderCtaSection(){let i=r(this._data,"ctaButton","");if(g(i))return e("div",{class:"gds-swimlane-cta"},e("gds-spacer",{classes:"spacer-85"}),e("gds-buttons",{data:this._data?.ctaButton,contrast:this.contrast,disableContrast:!0,theme:this.theme,xpath:this._xpath?.ctaButton}))}resizeHandler=()=>{let i=this.getViewportWidth();this.cardSizeClass=this.getCardSizeClass(i,this.swimLaneLength),this.staticContainer=this.isStatic(this.swimLaneLength,this.type,i,this.cardSizeClass),this.viewportWidth=i};previousHandler=()=>{this._swiper.slideTo(this.currentIndex-1)};nextHandler=()=>{this._swiper.slideTo(this.currentIndex+1)};transitionEnd=i=>{this.currentIndex=i.activeIndex,this.firstSlide=i.isBeginning,this.lastSlide=i.isEnd};resize=()=>{let i=this.getViewportWidth();this.updateSwiperParams(i),this.viewportWidth=i};initSwiper(){let i=this.el.querySelector(f(this.swiperId));if(!i)return;let s=this.buildOptions();this._swiper=new x(i,s),this._swiper.on("resize",this.resize),this._swiper.on("transitionEnd",this.transitionEnd),this.initSwiperNavigation(),this.initSwiperAccessibility()}
11initSwiperAccessibility(){this.swiperAccessibility=new u(this.type,this.compId,"tab-top-el","tab-bottom-el",this._swiper,this.parent),this.swiperAccessibility.init()}buildOptions(){this.cardSize=this.getCardSize(this.cardSizeClass),this.cardMargin=this.getCardMargin(this.viewportWidth),this.swimLaneWidth=this.getSwiperWrapperWidth(),this.slidesPerView=this.getSlidesPerView(this.swimLaneLength,this.swimLaneWidth,this.cardSize,this.cardMargin),this.centeredSlides=this.shouldBeCentered(this.viewportWidth),this.showArrows=this.arrowsVisible(this.viewportWidth);let i=this.type==="gds-offer-card"?8:5;return i=this.type==="gds-content-feature-four-card"?0:i,{loop:!1,autoHeight:!1,grabCursor:!0,updateOnImagesReady:!0,updateOnWindowResize:!0,preloadImages:!0,init:!0,speed:300,slidesPerView:this.slidesPerView,centeredSlides:this.centeredSlides,spaceBetween:this.cardMargin,slidesOffsetBefore:i,slidesOffsetAfter:i,observer:!0,observeParents:!0}}getSwiperWrapperWidth(){return this.getSwimLaneWidth(".swiper-wrapper")}isStatic(i,s,t,d){if(i<=1)return!0;let p=s==="gds-offer-card"?t-40:t;return this.cardSize=this.getCardSize(d),this.cardMargin=this.getCardMargin(t),this.swimLaneWidth=p,this.slidesPerView=this.getSlidesPerView(this.swimLaneLength,this.swimLaneWidth,this.cardSize,this.cardMargin),!(t<=512&&this.swimLaneLength<=2||this.slidesPerView<this.swimLaneLength)}updateSwiperParams(i){this.cardSizeClass=this.getCardSizeClass(i,this.swimLaneLength),this.cardSize=this.getCardSize(this.cardSizeClass),this._swiper&&(this.spaceBetween=this._swiper?.params?.spaceBetween,this.cardMargin=this.spaceBetween=this.getCardMargin(i),this._swiper.params.spaceBetween=this.spaceBetween,this.swimLaneWidth=this.getSwiperWrapperWidth(),this.slides=this._swiper?.params?.slidesPerView,this.slidesPerView=this.slides=this.getSlidesPerView(this.swimLaneLength,this.swimLaneWidth,this.cardSize,this.cardMargin),this._swiper.params.slidesPerView=this.slidesPerView,this.centeredSlide=this._swiper?.params?.centeredSlides,this.centeredSlides=this.centeredSlide=this.shouldBeCentered(i),this._swiper.params.centeredSlides=this.centeredSlides,setTimeout(()=>{this._swiper?.updateSize(),this._swiper?.update()}))}initSwiperNavigation(){this.currentIndex=0,this.firstSlide=!0,this.lastSlide=!1}getSwimLaneWidth(i){let s=this.el.querySelector(i)?.clientWidth;return s?Math.floor(s):0}getViewportWidth(){let i=a.get();return this.type==="gds-content-feature-four-card"&&i!=="small"?this.cf4CardSizes[i]:a.getViewportWidth()}getCardSizeClass(i,s){return i>=n.xlarge&&s<=2?"large":"small"}getCardSize(i){return i==="large"?320:248}getCardMargin(i){return i>=n.xlarge?32:16}arrowsVisible(i){let s=a.get();return this.type==="gds-content-feature-four-card"?s!=="small":!(i<n.large)}shouldBeCentered(i){let s=a.get();return this.type==="gds-content-feature-four-card"?s==="small":i<n.large}getSlidesPerView(i,s,t,d){let p=a.get();if(this.type==="gds-content-feature-four-card"){if(p==="small"){let L=(i-1)*d/i;return Math.round(s/(t+L)*10)/10}return 1}let C=(i-1)*d/i;return Math.round(s/(t+C)*10)/10}destroySwiper(){this._swiper.off("transitionEnd",this.transitionEnd),this._swiper.off("resize",this.resize),this._swiper.destroy(!0),this._swiper=null,this.swiperAccessibility=null}static get watchers(){return{items:[{updateItems:0}]}}};z.style=_();export{z as gds_swimlane};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.