{"version":3,"sources":["webpack:///./src/modules/ArticleAuthorModule/ArticleAuthorModule.vue?6f49","webpack:///./src/modules/ArticleAuthorModule/ArticleAuthorModule.ts?515d","webpack:///./src/modules/ArticleAuthorModule/ArticleAuthorModule.ts","webpack:///./src/modules/ArticleAuthorModule/ArticleAuthorModule.vue","webpack:///./src/components/ArticleAuthor/ArticleAuthor.vue?52bb","webpack:///./src/components/ArticleAuthor/ArticleAuthor.ts?fe98","webpack:///./src/components/ArticleAuthor/ArticleAuthor.ts","webpack:///./src/components/ArticleAuthor/ArticleAuthor.vue"],"names":["ArticleAuthorModule","components","ArticleAuthor","extend","props","Id","IsCardLandscape","ArticleAuthors","Image","Url","Alt","Name","Text","Link","Title","ArticleRole","component","_h","this","$createElement","_c","_self","staticClass","attrs","p","ImageSizesThumbnail","def","sizes","md","swiperOption","slidesPerView","effect","pagination","el","id","type","clickable","fadeEffect","crossFade","cards","length","card","some","onModuleInteraction","module","$el","closest","SegmentElement","sendEvent","component_name","module_type_id","getAttribute","module_type_name","interaction_type","position","swiper","activeIndex","ResponsiveImage","Swiper","SwiperSlide","mixins","SwiperMixin","Array","isCardLandscape","Boolean","String","_vm","class","hasSomeAuthorPhoto","ref","on","$event","_l","i","key","IsArticleAuthorEmpty","directives","name","rawName","arg","value","expression","_e","_v","_s","slice","slot"],"mappings":"mGAAA,I,sCCAuI,EC+CvI,yB,+CAA2E,OAA1B,YAAAA,EAAA,GAA5BA,EAAmB,aALvC,YAAU,CACTC,WAAY,CACVC,cAAa,QAGIF,GAArB,CAzCiC,IAAIG,OAAO,CAC1CC,MAAO,YAAgD,CACrDC,GAAI,KACJC,iBAAiB,EACjBC,eAAgB,CACd,CACEC,MAAO,CAAEC,IAAK,YAAe,sBAAuBC,IAAK,QACzDC,KAAM,gBACNC,KACE,qSACFC,KAAM,IACNC,MAAO,cACPC,YAAa,cAEf,CACEP,MAAO,CAAEC,IAAK,YAAe,sBAAuBC,IAAK,QACzDC,KAAM,aACNC,KACE,wNACFC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AMuD,EAAIkB,GAAG3C,EAAK3B,OAAU,KAAQ2B,EAAU,YAAUA,EAAK7B,MAAQ6B,EAAK5B,KAAMO,EAAG,MAAM,CAACE,YAAY,uBAAuB6C,MAAM,CAAC,CAAC,2BAAiD,IAArBD,EAAI3B,MAAMC,UAAiB,CAAEC,EAAS,KAAErB,EAAG,IAAI,CAACE,YAAY,gCAAgC,CAAC4C,EAAIiB,GAAG,iBAAiBjB,EAAIkB,GAAG3C,EAAK7B,KAAK4B,OAAS,IAAQC,EAAK7B,KAAKyE,MAAM,EAAG,KAAQ,MAAS5C,EAAK7B,MAAM,kBAAkBsD,EAAIgB,KAAMzC,EAAS,KAAErB,EAAG,IAAI,CAACwD,WAAW,CAAC,CAACC,KAAK,UAAUC,QAAQ,0BAA0BC,IAAI,iBAAiB,CAACF,KAAK,UAAUC,QAAQ,mBAAmBE,MAAM,CAAE1B,SAAUmB,EAAI,EAAGxB,eAAgB,iBAAkBgC,WAAW,qDAAqDF,IAAI,WAAWzD,YAAY,yCAAyCC,MAAM,CAAC,KAAOkB,EAAK5B,OAAO,CAACqD,EAAIiB,GAAG,eAAejB,EAAIgB,OAAOhB,EAAIgB,WAAYhB,EAAI3B,MAAMC,OAAS,EAAGpB,EAAG,MAAM,CAACE,YAAY,sDAAsDC,MAAM,CAAC,KAAO,aAAa,GAAM,KAAO2C,EAAIhC,GAAK,sBAAuBoD,KAAK,eAAepB,EAAIgB,MAAM,IAAI,IAC7sD,IGGpB,EACA,KACA,KACA,MAIa,IAAAlE,E","file":"149.1116536b8a039fbfeccd.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"article-author-module\"},[_c('div',{staticClass:\"article-author-module__swiper-wrapper\"},[_c('ArticleAuthor',{attrs:{\"cards\":_vm.p.ArticleAuthors,\"isCardLandscape\":_vm.p.IsCardLandscape,\"id\":_vm.p.Id}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--0!./ArticleAuthorModule.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--0!./ArticleAuthorModule.ts?vue&type=script&lang=ts&\"","import { Component, Vue } from 'vue-property-decorator';\nimport ArticleAuthor from '@/components/ArticleAuthor/ArticleAuthor.vue';\nimport { getComponentProps } from '@/utils/vueUtils';\nimport { ArticleAuthorModuleViewModel } from './ArticleAuthorModule.types';\nimport { getResizeImage } from '@/utils/commonUtils';\n\nconst ArticleAuthorModuleProps = Vue.extend({\n props: getComponentProps({\n Id: 'id',\n IsCardLandscape: true,\n ArticleAuthors: [\n {\n Image: { Url: getResizeImage('thumbnail-sven.jpg'), Alt: 'Sven' },\n Name: 'Peter Hillary',\n Text:\n 'The son of Sir Edmund Hillary, Peter is the first second-generation to climb Mt. Everest. He has climbed the Seven Summits, been on over 40 mountaineering expeditions around the world, and in 1999, he established one of the five Ross Sea routes to the South Pole via the Shackleton Glacier.',\n Link: '#',\n Title: 'Mountaineer',\n ArticleRole: 'Article by',\n },\n {\n Image: { Url: getResizeImage('thumbnail-sven.jpg'), Alt: 'Sven' },\n Name: 'June Glebb',\n Text:\n 'Lorem ipsum, dolor sit amet consectetur adipisicing elit. Necessitatibus ex eos officiis mollitia fugiat qui nulla aliquid. Id vel consequatur quae ex quod minus placeat aliquid, laudantium tempore aspernatur qui!',\n Link: '#',\n Title: 'Videographer',\n ArticleRole: 'Videography by',\n },\n {\n Image: { Url: getResizeImage('captain-kruess.jpg'), Alt: 'Kreuss' },\n Name: 'James McCloyd',\n Text:\n 'Lorem ipsum, dolor sit amet consectetur adipisicing elit. Necessitatibus ex eos officiis mollitia fugiat qui nulla aliquid. Id vel consequatur quae ex quod minus placeat aliquid, laudantium tempore aspernatur qui!',\n Link: '#',\n Title: 'Team Leader',\n ArticleRole: 'Expedition led by',\n },\n ],\n }),\n});\n\n@Component({\n components: {\n ArticleAuthor,\n },\n})\nexport default class ArticleAuthorModule extends ArticleAuthorModuleProps {}\n","import { render, staticRenderFns } from \"./ArticleAuthorModule.vue?vue&type=template&id=a375f0ee&\"\nimport script from \"./ArticleAuthorModule.ts?vue&type=script&lang=ts&\"\nexport * from \"./ArticleAuthorModule.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./ArticleAuthorModule.scss?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"article-author module module--mb\",class:[\n { 'is-landscape': _vm.isCardLandscape },\n { 'article-author__nophoto': !_vm.hasSomeAuthorPhoto } ]},[_c('swiper',{ref:\"swiper\",class:[{ 'article-author--extra-spacing': _vm.cards.length <= 1 }],attrs:{\"options\":_vm.swiperOption},on:{\"~touchStart\":function($event){return _vm.onModuleInteraction($event)}}},[_vm._l((_vm.cards),function(card,i){return _c('swiper-slide',{key:i,staticClass:\"article-author__swiper-slide\",class:[\n { 'article-author__swiper-slide__empty': _vm.IsArticleAuthorEmpty },\n { 'article-author__swiper-slide__nophoto': card.Image && !card.Image.Url }\n ]},[(card.Image && card.Image.Url)?_c('div',{staticClass:\"article-author__image-wrapper\"},[(card.Link)?_c('a',{directives:[{name:\"segment\",rawName:\"v-segment:moduleClicked\",arg:\"moduleClicked\"},{name:\"segment\",rawName:\"v-segment:params\",value:({position: i + 1}),expression:\"{position: i + 1}\",arg:\"params\"}],staticClass:\"article-author__image-link\",attrs:{\"href\":card.Link}},[_c('ResponsiveImage',{attrs:{\"imageClass\":\"article-author__image\",\"image\":card.Image,\"sizes\":_vm.ImageSizesThumbnail}})],1):_c('span',{staticClass:\"article-author__image-link\"},[_c('ResponsiveImage',{attrs:{\"imageClass\":\"article-author__image\",\"image\":card.Image,\"sizes\":_vm.ImageSizesThumbnail}})],1)]):_vm._e(),_c('div',{staticClass:\"article-author__content-wrapper\",class:[\n {'article-author__content-wrapper_pt article-author__content-wrapper_nophoto': card.Image && !card.Image.Url },\n {'article-author__content-wrapper_pb': _vm.cards.length > 1 && (!card.Text && !card.Link) }\n ]},[_c('p',{staticClass:\"article-author__article-role\"},[_c('a',{directives:[{name:\"segment\",rawName:\"v-segment:moduleClicked\",arg:\"moduleClicked\"},{name:\"segment\",rawName:\"v-segment:params\",value:({position: i + 1}),expression:\"{position: i + 1}\",arg:\"params\"}],staticClass:\"article-author__link\",attrs:{\"href\":card.Link}},[_vm._v(_vm._s(card.ArticleRole))])]),_c('h2',{staticClass:\"article-author__title\",class:[{'article-author__title_lineless': !card.Text }]},[_c('a',{directives:[{name:\"segment\",rawName:\"v-segment:moduleClicked\",arg:\"moduleClicked\"},{name:\"segment\",rawName:\"v-segment:params\",value:({position: i + 1}),expression:\"{position: i + 1}\",arg:\"params\"}],staticClass:\"article-author__link\",attrs:{\"href\":card.Link}},[_vm._v(_vm._s(card.Name)+_vm._s(card.Title && (\", \" + (card.Title))))])]),(card.Text || card.Link)?_c('div',{staticClass:\"article-author__text\",class:[{'article-author__text_one': _vm.cards.length === 1 }]},[(card.Text)?_c('p',{staticClass:\"article-author__text-content\"},[_vm._v(\"\\n \"+_vm._s(card.Text.length > 250 ? ((card.Text.slice(0, 250)) + \"...\") : card.Text)+\"\\n \")]):_vm._e(),(card.Link)?_c('a',{directives:[{name:\"segment\",rawName:\"v-segment:moduleClicked\",arg:\"moduleClicked\"},{name:\"segment\",rawName:\"v-segment:params\",value:({position: i + 1, component_name: 'ArticleAuthor'}),expression:\"{position: i + 1, component_name: 'ArticleAuthor'}\",arg:\"params\"}],staticClass:\"cta article-author__more not-trackable\",attrs:{\"href\":card.Link}},[_vm._v(\"Read More\")]):_vm._e()]):_vm._e()])])}),(_vm.cards.length > 1)?_c('div',{staticClass:\"swiper-pagination article-author__swiper-pagination\",attrs:{\"slot\":\"pagination\",\"id\":(\"c-\" + _vm.id + \"-swiper-pagination\")},slot:\"pagination\"}):_vm._e()],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--0!./ArticleAuthor.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--0!./ArticleAuthor.ts?vue&type=script&lang=ts&\"","import Vue from 'vue';\nimport {Component} from 'vue-property-decorator';\nimport TeamMemberCard from '@/common/interfaces/modules/TeamMemberCard';\nimport { ImageSizes, ImageSize } from '@/common/interfaces/SizeBreakpoints';\nimport ResponsiveImage from '@/components/ResponsiveImage/ResponsiveImage.vue';\nimport { Swiper, SwiperSlide, SwiperOptions} from '@/utils/swiperUtils';\nimport { SegmentElement } from '@/plugins/utm/SegmentElement';\nimport SwiperMixin from '@/mixins/SwiperMixin';\n\nconst ArticleAuthorProps = Vue.extend({\n props: {\n cards: Array as () => TeamMemberCard[],\n isCardLandscape: Boolean,\n id: String\n },\n});\n\n@Component({\n components: {\n ResponsiveImage,\n Swiper,\n SwiperSlide,\n },\n mixins: [SwiperMixin]\n})\n\nexport default class ArticleAuthor extends ArticleAuthorProps {\n ImageSizesThumbnail: ImageSizes = {\n def: new ImageSize([210, 210]),\n sizes: {\n md: new ImageSize([210, 210]),\n },\n };\n\n swiperOption: SwiperOptions = {\n slidesPerView: 1,\n effect: 'fade',\n pagination: {\n el: `#c-${this.id}-swiper-pagination`,\n type: 'bullets',\n clickable: true,\n },\n fadeEffect: {\n crossFade: true,\n },\n };\n\n get IsArticleAuthorEmpty () {\n const isSingle = this.cards.length === 1;\n if (isSingle) {\n const card = this.cards[0];\n return card.Image === null && card.Text === null;\n }\n }\n\n get hasSomeAuthorPhoto() {\n return this.cards.some(card => card.Image?.Url)\n }\n\n onModuleInteraction() {\n const module = this.$el.closest('*[contentlinkid]');\n SegmentElement.sendEvent('moduleInteraction', {\n component_name: 'ArticleAuthor',\n module_type_id: module.getAttribute('data-segmentid'),\n module_type_name: module.getAttribute('type'),\n interaction_type: 'carousel',\n // @ts-ignore\n position: this.swiper.activeIndex + 1,\n })\n }\n}\n","import { render, staticRenderFns } from \"./ArticleAuthor.vue?vue&type=template&id=956a3138&\"\nimport script from \"./ArticleAuthor.ts?vue&type=script&lang=ts&\"\nexport * from \"./ArticleAuthor.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./ArticleAuthor.scss?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}