(window.webpackJsonp=window.webpackJsonp||[]).push([[77,297,305,311,312],{1060:function(e,t,n){var content=n(1227);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(94).default)("789375d6",content,!0,{sourceMap:!1})},1061:function(e,t,n){var content=n(1233);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(94).default)("0438e875",content,!0,{sourceMap:!1})},1062:function(e,t,n){var content=n(1235);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(94).default)("18f9856b",content,!0,{sourceMap:!1})},1226:function(e,t,n){"use strict";n(1060)},1227:function(e,t,n){var o=n(93),r=n(188),c=n(1228),l=n(1229),m=n(1230),d=n(1231),h=o(!1),w=r(c),f=r(l),_=r(m),v=r(d);h.push([e.i,"/* stylelint-disable function-calc-no-invalid */\n.component-homepage-expert-module .homepage-expert-section {\n margin-bottom: 50px;\n}\n@media (min-width: 1020px) {\n.component-homepage-expert-module .homepage-expert-section {\n display: flex;\n justify-content: space-between;\n margin-bottom: 100px;\n}\n}\n.component-homepage-expert-module .expert-mission {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0 -20px 40px;\n padding: 60px 20px;\n border-radius: 30px 0;\n background: #9bcad6;\n}\n@media (min-width: 768px) {\n.component-homepage-expert-module .expert-mission {\n margin: 0 -29px 40px;\n padding: 50px 29px;\n}\n}\n@media (min-width: 1020px) {\n.component-homepage-expert-module .expert-mission {\n max-width: calc(50% - 12.5px);\n margin: 0;\n padding: 0 75px;\n text-align: center;\n}\n}\n.component-homepage-expert-module .expert-mission .expert-mission__top-svgs {\n position: absolute;\n top: 0;\n left: 0;\n}\n@media (min-width: 1020px) {\n.component-homepage-expert-module .expert-mission .expert-mission__top-svgs {\n left: unset;\n right: 0;\n}\n}\n.component-homepage-expert-module .expert-mission .expert-mission__top-svgs::before {\n position: absolute;\n top: -20px;\n left: 0;\n width: 85px;\n height: 110px;\n background-size: cover;\n background-image: url("+w+");\n background-repeat: no-repeat;\n background-position: center;\n transform: scaleX(-1) rotate(-20deg);\n content: '';\n}\n@media (min-width: 768px) {\n.component-homepage-expert-module .expert-mission .expert-mission__top-svgs::before {\n width: 105px;\n height: 135px;\n}\n}\n@media (min-width: 1020px) {\n.component-homepage-expert-module .expert-mission .expert-mission__top-svgs::before {\n top: -10px;\n left: unset;\n right: 0;\n width: 86px;\n height: 112px;\n transform: unset;\n}\n}\n.component-homepage-expert-module .expert-mission .expert-mission__top-svgs::after {\n position: absolute;\n top: 10px;\n left: 44px;\n width: 95px;\n height: 20px;\n background-size: cover;\n background-image: url("+f+");\n background-repeat: no-repeat;\n background-position: center;\n transform: scaleX(-1);\n content: '';\n}\n@media (min-width: 768px) {\n.component-homepage-expert-module .expert-mission .expert-mission__top-svgs::after {\n top: 29px;\n left: 45px;\n width: 127px;\n height: 26px;\n}\n}\n@media (min-width: 1020px) {\n.component-homepage-expert-module .expert-mission .expert-mission__top-svgs::after {\n left: unset;\n right: 18px;\n transform: unset;\n}\n}\n.component-homepage-expert-module .expert-mission .expert-mission__bottom-svgs {\n position: absolute;\n bottom: 0;\n right: 0;\n}\n@media (min-width: 1020px) {\n.component-homepage-expert-module .expert-mission .expert-mission__bottom-svgs {\n right: unset;\n left: 0;\n}\n}\n.component-homepage-expert-module .expert-mission .expert-mission__bottom-svgs::before {\n position: absolute;\n bottom: 0;\n right: 0;\n height: 112px;\n width: 113px;\n background-size: cover;\n background-image: url("+_+");\n background-repeat: no-repeat;\n background-position: center;\n transform: scaleX(-1);\n content: '';\n}\n@media (min-width: 768px) {\n.component-homepage-expert-module .expert-mission .expert-mission__bottom-svgs::before {\n height: 142px;\n width: 143px;\n}\n}\n@media (min-width: 1020px) {\n.component-homepage-expert-module .expert-mission .expert-mission__bottom-svgs::before {\n right: unset;\n left: 0;\n transform: unset;\n}\n}\n.component-homepage-expert-module .expert-mission .expert-mission__bottom-svgs::after {\n position: absolute;\n bottom: 27px;\n right: 0;\n width: 110px;\n height: 45px;\n background-size: cover;\n background-image: url("+v+");\n background-repeat: no-repeat;\n background-position: center;\n content: '';\n}\n@media (min-width: 768px) {\n.component-homepage-expert-module .expert-mission .expert-mission__bottom-svgs::after {\n bottom: 25px;\n width: 195px;\n height: 57px;\n}\n}\n@media (min-width: 1020px) {\n.component-homepage-expert-module .expert-mission .expert-mission__bottom-svgs::after {\n right: unset;\n left: 0;\n}\n}\n.component-homepage-expert-module .expert-mission__title {\n position: relative;\n z-index: 1;\n margin-bottom: 20px;\n color: #2e2e30;\n font-family: 'FuturaPtDemi', Trebuchet MS, sans-serif;\n font-size: 42px;\n line-height: 50px;\n letter-spacing: 0;\n text-align: left;\n}\n@media (min-width: 768px) {\n.component-homepage-expert-module .expert-mission__title {\n font-size: 50px;\n line-height: 60px;\n margin-bottom: 24px;\n text-align: center;\n}\n}\n.component-homepage-expert-module .expert-mission__info {\n margin-bottom: 20px;\n color: #2e2e30;\n font-size: 18px;\n font-family: 'ProximaNovaRegular', Arial, sans-serif;\n line-height: 29px;\n}\n.component-homepage-expert-module .expert-mission__link {\n color: #2e2e30;\n font-size: 18px;\n font-family: 'FuturaPtDemi', Trebuchet MS, sans-serif;\n line-height: 29px;\n border-bottom: 2px solid #007cbe;\n}\n@media (min-width: 1020px) {\n.component-homepage-expert-module .expert-copy {\n max-width: calc(50% - 12.5px);\n padding: 0 50px;\n}\n}\n.component-homepage-expert-module .expert-copy__title {\n margin-bottom: 10px;\n color: #505050;\n font-size: 26px;\n font-family: 'FuturaPtDemi', Trebuchet MS, sans-serif;\n line-height: 36px;\n}\n.component-homepage-expert-module .expert-copy__info {\n display: block;\n margin-bottom: 40px;\n color: #505050;\n font-size: 18px;\n font-family: 'ProximaNovaRegular', Arial, sans-serif;\n line-height: 29px;\n}\n.component-homepage-expert-module .expert-copy__info:last-of-type {\n margin-bottom: 10px;\n}\n@media (min-width: 768px) {\n.component-homepage-expert-module .expert-copy__info {\n margin-bottom: 50px;\n}\n}\n.component-homepage-expert-module .expert-copy__link {\n color: #505050;\n font-size: 18px;\n font-family: 'ProximaNovaSemiBold', Arial, sans-serif;\n line-height: 29px;\n border-bottom: 2px solid #007CBE;\n}\n.component-homepage-expert-module .link-arrow {\n display: inline-block;\n width: 6px;\n height: 9px;\n}\n",""]),e.exports=h},1228:function(e,t,n){e.exports=n.p+"92a94878e1257d513dfc73c7175f2668.svg"},1229:function(e,t,n){e.exports=n.p+"2a87ac61bab025e09954ed2f9d1b9a00.svg"},1230:function(e,t,n){e.exports=n.p+"812894942af1ae2c91f4d9db6f7d1e0e.svg"},1231:function(e,t,n){e.exports=n.p+"74358248a0057ff708958a6214bae259.svg"},1232:function(e,t,n){"use strict";n(1061)},1233:function(e,t,n){var o=n(93)(!1);o.push([e.i,".component-homepage-section-title {\n overflow: hidden;\n}\n.component-homepage-section-title .homepage-section-title {\n margin: 0 0 25px;\n color: #2E2E30;\n font-size: 28px;\n font-family: 'ProximaNovaSemiBold', Arial, sans-serif;\n line-height: 36px;\n letter-spacing: 0;\n text-align: left;\n text-transform: unset;\n font-variant-ligatures: none;\n}\n.component-homepage-section-title .title-link {\n color: inherit;\n}\n",""]),e.exports=o},1234:function(e,t,n){"use strict";n(1062)},1235:function(e,t,n){var o=n(93)(!1);o.push([e.i,".component-instagram-grid .instagram-card-grid {\n display: flex;\n flex-flow: row wrap;\n justify-content: center;\n -webkit-box-pack: center;\n}\n.component-instagram-grid .instagram-card-grid .instagram-card {\n flex: 0 1 33.3%;\n}\n@media (min-width: 991px) {\n.component-instagram-grid .instagram-card-grid .instagram-card {\n flex: 0 1 16.6%;\n}\n}\n.component-instagram-grid .instagram-card-grid .instagram-card .instagram-image {\n display: block;\n width: 100%;\n}\n",""]),e.exports=o},1374:function(e,t,n){var content=n(1565);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(94).default)("1e40142c",content,!0,{sourceMap:!1})},1507:function(e,t,n){"use strict";n.r(t);var o={name:"HomepageExpertModule"},r=(n(1226),n(43)),component=Object(r.a)(o,(function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)}),[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-homepage-expert-module"},[n("div",{staticClass:"homepage-expert-section"},[n("div",{staticClass:"expert-mission"},[n("span",{staticClass:"expert-mission__top-svgs"}),e._v(" "),n("span",{staticClass:"expert-mission__bottom-svgs"}),e._v(" "),n("div",{staticClass:"expert-mission-inner"},[n("h3",{staticClass:"expert-mission__title"},[e._v("\n We're committed to your wellbeing.\n ")]),e._v(" "),n("p",{staticClass:"expert-mission__info"},[e._v("\n We work hard to provide the most up-to-date, accurate and\n authoritative health and wellness knowledge so you can live your\n best life.\n ")]),e._v(" "),n("a",{staticClass:"expert-mission__link",attrs:{href:"/about-us/"}},[e._v(" About Us ")])])]),e._v(" "),n("div",{staticClass:"expert-copy"},[n("h3",{staticClass:"expert-copy__title"},[e._v("Editorial Values")]),e._v(" "),n("p",{staticClass:"expert-copy__info"},[e._v("\n We hold our articles to the highest editorial standards by conducting\n original reporting, citing recent and relevant research and providing\n full context to ensure readers have all the facts they need to make\n important decisions about their health.\n "),n("a",{staticClass:"expert-copy__link",attrs:{href:"/our-editorial-standards/"}},[e._v("\n Editorial Standards\n ")])]),e._v(" "),n("h3",{staticClass:"expert-copy__title"},[e._v("Expert Reviews")]),e._v(" "),n("p",{staticClass:"expert-copy__info"},[e._v("\n In a world of widespread misinformation, we believe in the power of\n trustworthy expertise. Our articles are reviewed by doctors, nurses,\n registered dietitians, certified personal trainers and other qualified\n experts.\n "),n("br"),e._v(" "),n("a",{staticClass:"expert-copy__link",attrs:{href:"/meet-our-experts/"}},[e._v("\n Meet Our Experts\n ")])]),e._v(" "),n("h3",{staticClass:"expert-copy__title"},[e._v("Verifying Facts")]),e._v(" "),n("p",{staticClass:"expert-copy__info"},[e._v('\n Accuracy is our top priority. Articles with our "Fact Checked" label\n cite only the most reliable sources of information that our editorial\n team has carefully vetted.\n ')])])])])}],!1,null,null,null);t.default=component.exports},1508:function(e,t,n){"use strict";n.r(t);n(20),n(30),n(48),n(13),n(49);var o=n(17),r=(n(185),n(19),n(21),n(5),n(95));function c(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function l(e){for(var i=1;i=(e||1)}}},E=(n(1564),n(43)),component=Object(E.a)(T,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"view-home"},[n("hero-carousel",{attrs:{cards:e.getSection("section1.results")}}),e._v(" "),e.sectionExists("section2")?n("h2",{staticClass:"home-inner home-inner--padding new-stories-section"},[e._v("\n New Stories\n ")]):e._e(),e._v(" "),e.sectionExists("section2")?n("div",{staticClass:"home-inner home-inner--padding section2"},[n("div",{staticClass:"homepage-section section2 new-stories"},[n("common-grid",{staticClass:"new-stories-grid",attrs:{"data-provider":e.fixBackfillOrder(e.getSection("section2.results")),"grid-class":"common-view__featured-section-grid","is-featured":!0}})],1)]):e._e(),e._v(" "),n("livestrong-homepage-expert-module",{staticClass:"home-inner home-inner--padding"}),e._v(" "),e.sectionExists("section3")?n("div",{staticClass:"home-inner home-inner--padding section3"},[n("div",{staticClass:"homepage-section section3"},[n("h2",{staticClass:"spotlight-section-header"},[e._v("\n "+e._s(e.getSection("section3.displayName"))+"\n ")]),e._v(" "),n("spotlight-section",{attrs:{cards:e.getSection("section3.results"),"macro-name":e.getSection("section3.macro.macroName")}})],1)]):e._e(),e._v(" "),n("livestrong-ad",{attrs:{device:"mobile",loc:"atf","page-number":1,sizes:[[300,250]],"slot-number":1,slots:"slot",slug:"/"}}),e._v(" "),e.sectionExists("section4")?n("div",{staticClass:"home-inner home-inner--padding home-inner--section4"},[n("div",{staticClass:"homepage-section section4"},[n("livestrong-homepage-section-title",{attrs:{section:"section4"}}),e._v(" "),n("lazy-common-grid",{attrs:{"data-provider":e.getSection4,"grid-class":"common-view__section-grid","sponsor-logo-enabled":!0,"is-common-grid":!0}})],1)]):e._e(),e._v(" "),e.sectionExists("section5")?n("div",{staticClass:"home-inner home-inner--padding"},[n("div",{staticClass:"homepage-section section5"},[n("livestrong-homepage-section-title",{attrs:{section:"section5",link:"https://www.instagram.com/livestrong_com/"}}),e._v(" "),n("instagram-grid",{attrs:{cards:e.getSection("section5.results")}})],1)]):e._e()],1)}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{HeroCarousel:n(1849).default,CommonGrid:n(833).default,LivestrongHomepageExpertModule:n(1507).default,SpotlightSection:n(980).default,LivestrongAd:n(1508).default,LivestrongHomepageSectionTitle:n(1509).default,InstagramGrid:n(1510).default})},824:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n(19);function o(e){return"\n function initGTMOnEvent(event) {\n initGTM();\n event.currentTarget.removeEventListener(event.type, initGTMOnEvent);\n }\n \n function initGTM() { \n if (window.gtmDidInit) {\n return false;\n }\n window.gtmDidInit = true;\n \n \n if (!window.lg.gtmId) {\n console.error('GTM ID is not defined')\n }\n \n function pushNetworkInfo(obj) {\n window.dataLayer.push({\n gtmLoadTime: obj.gtmLoadTime,\n gtmSpeed: obj.gtmSpeed,\n })\n }\n \n if (window.lg.gtmData) {\n window.lg.speedTracking = {\n gtmLoadTime: null,\n gtmSpeed: null,\n }\n \n window.lg.utils.meta = window.lg.utils.getUserMetaData()\n \n Object.keys(window.lg.utils.meta).forEach(function (key) {\n const value = window.lg.utils.meta[key]\n window.lg.gtmData[key] = value\n })\n \n // when gtm loads, it will fire whatever is in dataLayer\n window.dataLayer.push(window.lg.gtmData)\n \n const gtmSpeedRanges = [\n [500, '0-500'],\n [1000, '501-1000'],\n [1500, '1001-1500'],\n [2000, '1501-2000'],\n [2500, '2001-2500'],\n [Infinity, '2500-'],\n ]\n \n // Load GTM as speed detection\n ;(function (w, d, s, l, i) {\n \n // disable gtm script load if query param exists\n const searchParams = new URLSearchParams(window.location.search)\n const gtm = searchParams.get('gtm')\n if (gtm == 'false') {\n return\n }\n \n let timeStart\n let timeDiff\n const randomQuery = Date.now() + (Math.random() * 1e8).toFixed()\n \n w[l] = w[l] || []\n w[l].push({\n 'gtm.start': new Date().getTime(),\n event: 'gtm.js',\n })\n \n const f = d.getElementsByTagName(s)[0]\n const j = d.createElement(s)\n const dl = l != 'dataLayer' ? `&l=${l}` : ''\n j.async = true\n j.src = `https://www.googletagmanager.com/gtm.js?id=${i}${dl}&rand=${randomQuery}`\n \n j.onload = function (evt) {\n let gtmSpeed\n // for some reason this is 2 ~ 4 times larger than Chrome's network activity timing\n // this fires after execution\n timeDiff = Math.round(performance.now() - timeStart)\n \n // todo: move functionality out of this method\n for (let i = 0; i < gtmSpeedRanges.length; i++) {\n const item = gtmSpeedRanges[i]\n if (timeDiff < item[0]) {\n gtmSpeed = item[1]\n break\n }\n }\n \n window.lg.speedTracking.gtmLoadTime = parseInt(timeDiff, 10)\n window.lg.speedTracking.gtmSpeed = gtmSpeed\n pushNetworkInfo(window.lg.speedTracking)\n }\n \n j.onerror = function () {\n pushNetworkInfo(window.lg.speedTracking)\n }\n \n f.parentNode.insertBefore(j, f)\n timeStart = performance.now()\n })(window, document, 'script', 'dataLayer', window.lg.gtmId) // the id should be dynamically injected when moved to Fundation\n }\n }\n\n // fallback pages can already have DOMContentLoaded fired when this code is executed\n if (document.readyState === 'loading') {\n document.addEventListener(\"DOMContentLoaded\", () => {\n ".concat(e.enableGtmScriptDelay," ? setTimeout(initGTM, ").concat(e.maxGtmScriptDelay,") : initGTM()\n });\n } else {\n ").concat(e.enableGtmScriptDelay," ? setTimeout(initGTM, ").concat(e.maxGtmScriptDelay,') : initGTM()\n };\n document.addEventListener("scroll", initGTMOnEvent);\n document.addEventListener("mousemove", initGTMOnEvent);\n document.addEventListener("touchstart", initGTMOnEvent);\n \n ')}},825:function(e,t,n){"use strict";n(19);t.a=function(e){return function(t){return"\n ((onceName) => {\n if (window._bedrock && window._bedrock[onceName]) {\n return\n } else if (!window._bedrock) {\n window._bedrock = {}\n }\n\n ".concat(t,'\n\n window._bedrock[onceName] = true\n })("').concat(e,'")\n ')}}},847:function(e,t,n){"use strict";function o(e,t,n){return void 0===n&&void 0!==t?e>=t?t:e:(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t),e)}n.d(t,"a",(function(){return o}))},852:function(e,t,n){var content=n(906);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(94).default)("4967159d",content,!0,{sourceMap:!1})},905:function(e,t,n){"use strict";n(852)},906:function(e,t,n){var o=n(93)(!1);o.push([e.i,".component-spotlight-section .swipe-container {\n display: inline-flex;\n flex-wrap: nowrap;\n justify-content: flex-start;\n transition: all 200ms ease-in-out;\n width: max-content;\n}\n@media (min-width: 1020px) {\n.component-spotlight-section .swipe-container {\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-left: -20px;\n white-space: normal;\n transform: translate(0);\n}\n}\n.component-spotlight-section .swipe-card {\n position: relative;\n display: inline-block;\n margin-right: 25px;\n transition: all 0.5s;\n width: 293px;\n}\n@media (min-width: 1020px) {\n.component-spotlight-section .swipe-card {\n width: 25%;\n}\n}\n.component-spotlight-section .swipe-card:last-of-type {\n margin-right: 0;\n}\n@media (min-width: 1020px) {\n.component-spotlight-section .swipe-card:hover .swipe-card-image {\n transform: scale(1.05);\n filter: brightness(90%);\n}\n}\n.component-spotlight-section .swipe-card .swipe-image-container {\n width: 293px;\n height: 410px;\n margin-bottom: 20px;\n border-radius: 10px;\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);\n}\n@media (min-width: 1020px) {\n.component-spotlight-section .swipe-card .swipe-image-container {\n position: relative;\n width: 100%;\n height: auto;\n margin-bottom: 10px;\n padding: 0 0 140%;\n overflow: hidden;\n}\n}\n@media (min-width: 1170px) {\n.component-spotlight-section .swipe-card .swipe-image-container {\n margin-bottom: 20px;\n}\n}\n.component-spotlight-section .swipe-card .image-wrapper {\n position: absolute;\n width: 100%;\n height: 100%;\n overflow: hidden;\n border-radius: 10px;\n mask-image: -webkit-radial-gradient(white, black);\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n}\n.component-spotlight-section .swipe-card .swipe-card-image {\n width: 293px;\n height: 410px;\n border-radius: 10px;\n transition: all 0.2s;\n}\n@media (min-width: 1020px) {\n.component-spotlight-section .swipe-card .swipe-card-image {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n}\n@media (min-width: 1170px) {\n.component-spotlight-section .swipe-card .swipe-card-image {\n position: absolute;\n height: 100%;\n}\n}\n.component-spotlight-section .swipe-card .swipe-card-title {\n width: 80%;\n color: #505050;\n font-size: 22px;\n font-family: 'FuturaPtDemi', Trebuchet MS, sans-serif;\n line-height: 28px;\n}\n.component-spotlight-section .swipe-card .swipe-card-title .swipe-card-link {\n display: -webkit-box;\n overflow: hidden;\n color: #505050;\n border: none;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n}\n.component-spotlight-section .swipe-card .swipe-card-title .swipe-card-link::before {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 70px;\n left: 0;\n display: block;\n content: \"\";\n}\n.component-spotlight-section .swipe-card .swipe-card-title .swipe-card-link:hover {\n color: #505050;\n}\n@media (min-width: 1020px) {\n.component-spotlight-section .swipe-card .swipe-card-title .swipe-card-link:hover {\n color: #727272;\n}\n}\n.component-spotlight-section .swipe-card {\n margin-right: 20px;\n}\n@media (min-width: 768px) {\n.component-spotlight-section .swipe-card {\n margin-right: 30px;\n}\n}\n.component-spotlight-section .swipe-card .swipe-image-container {\n box-shadow: none;\n}\n",""]),e.exports=o},980:function(e,t,n){"use strict";n.r(t);n(497),n(32),n(44),n(19),n(159),n(5);var o=n(835),r=n(847),c={name:"SpotlightSection",props:{cards:{type:Array,default:function(){return[]},required:!0},macroName:{type:String,default:""},ctaData:{type:Object,default:function(){}}},data:function(){return{webp:{f:"webp"},deltaX:20,currentX:0,scrollMax:0,cardWidth:0,cardIndex:0}},computed:{domain:function(){var e,t;return null!==(e=null===(t=this.$config)||void 0===t||null===(t=t.site)||void 0===t?void 0:t.domain)&&void 0!==e?e:""},ctaLink:function(){var e,t;return null!==(e=null==this||null===(t=this.ctaData)||void 0===t?void 0:t.link)&&void 0!==e?e:""},ctaText:function(){var e,t;return null!==(e=null==this||null===(t=this.ctaData)||void 0===t?void 0:t.text)&&void 0!==e?e:""}},mounted:function(){this.addTouchEventsListener();var e,t,n=this.$refs.cards,o=void 0===n?[]:n;o.length>0&&(this.cardWidth=null!==(e=null===(t=o[0])||void 0===t?void 0:t.offsetWidth)&&void 0!==e?e:20);var r=this.$refs.swipeContainer.offsetWidth;this.scrollMax=window.innerWidth-r-25,window.innerWidth>=768&&(this.scrollMax=window.innerWidth-r-20)},methods:{addTouchEventsListener:function(){var e,t=null===(e=this.$refs)||void 0===e?void 0:e.swipeContainer;Object(o.a)(t,{orientation:"horizontal",threshold:15},this.updateX,this.endX)},checkfollow:function(link){return link.includes(this.domain)?"follow":"nofollow"},getImageAttribute:function(e,t,n){var o;if(t.includes(".")){for(var r=t.split("."),c=e,i=0;i