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,EAAAA,oBAAoB,KAAM,CACxBwC,UAAWC,oBAAmBJ,EAAAA,EAAAA,OAAOpB,KACpC,KAAM,EAAGf,IACZF,EAAAA,EAAAA,oBAAoB,IAAK,CACvBwC,UAAWC,oBAAmBJ,EAAAA,EAAAA,OAAOnB,KACpC,KAAM,EAAGf,IACZH,EAAAA,EAAAA,oBAAoB,MAAOI,EAAa,EACtCJ,EAAAA,EAAAA,oBAAoB,IAAK,CAAE0C,MAAML,EAAAA,EAAAA,OAAOlB,IAAe,aAAc,EAAGd,GACxEC,WAKP,KAGP,IC9HA,MAAMsC,EAAc,EAEpB,O","sources":["webpack://familytoday-frontend/./src/components/carousel/ArticleCard.vue?d9b0","webpack://familytoday-frontend/./src/components/carousel/ArticleCard.vue"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"item\" }\nconst _hoisted_2 = { class: \"image-window\" }\nconst _hoisted_3 = [\"srcset\"]\nconst _hoisted_4 = [\"srcset\"]\nconst _hoisted_5 = [\"srcset\"]\nconst _hoisted_6 = [\"innerHTML\"]\nconst _hoisted_7 = { class: \"container\" }\nconst _hoisted_8 = { class: \"carousel-caption\" }\nconst _hoisted_9 = { class: \"add-most-padding\" }\nconst _hoisted_10 = { class: \"row\" }\nconst _hoisted_11 = { class: \"section-tag\" }\nconst _hoisted_12 = [\"href\", \"innerHTML\"]\nconst _hoisted_13 = {\n  key: 0,\n  class: \"premium-badge-on-lead\"\n}\nconst _hoisted_14 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"premium-badge small\" }, [\n  /*#__PURE__*/_createElementVNode(\"div\", { class: \"icon\" }),\n  /*#__PURE__*/_createElementVNode(\"span\", { class: \"text\" }, \"Premium Content\")\n], -1)\nconst _hoisted_15 = [\n  _hoisted_14\n]\nconst _hoisted_16 = [\"innerHTML\"]\nconst _hoisted_17 = [\"innerHTML\"]\nconst _hoisted_18 = { class: \"read-more-btn\" }\nconst _hoisted_19 = [\"href\"]\nconst _hoisted_20 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"decoration\" }, null, -1)\n\nimport { toRefs, onMounted } from \"vue\";\n\n// Define Component Input Properties\n\nexport default /*#__PURE__*/_defineComponent({\n  __name: 'ArticleCard',\n  props: {\n    className: String,\n    desktopUrl: String,\n    mobileUrl: String,\n    imageAttribution: String,\n    sectionUrl: String,\n    sectionTitle: String,\n    title: String,\n    blurb: String,\n    contentUrl: String,\n    premium: Boolean,\n},\n  setup(__props) {\n\nconst props = __props;\n\n\n\n// get back slide card info\nconst {\n    className,\n    desktopUrl,\n    mobileUrl,\n    imageAttribution,\n    sectionUrl,\n    sectionTitle,\n    title,\n    blurb,\n    contentUrl,\n    premium,\n} = toRefs(props);\n\n// when script loads initially set the first one to active\nonMounted(() => {\n    const topElement = document.getElementById(\"carousel-inner\");\n    topElement.children[0].classList.add(\"active\");\n});\n\nreturn (_ctx: any,_cache: any) => {\n  return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n    _createElementVNode(\"div\", {\n      class: _normalizeClass(_unref(className))\n    }, [\n      _createElementVNode(\"div\", _hoisted_2, [\n        _createElementVNode(\"picture\", null, [\n          _createElementVNode(\"source\", {\n            media: \"(min-width: 768px)\",\n            srcset: _unref(desktopUrl)\n          }, null, 8, _hoisted_3),\n          _createElementVNode(\"source\", { srcset: _unref(mobileUrl) }, null, 8, _hoisted_4),\n          _createElementVNode(\"img\", {\n            class: \"d-block w-100\",\n            srcset: _unref(desktopUrl)\n          }, null, 8, _hoisted_5),\n          _createElementVNode(\"div\", {\n            class: \"img-attribution\",\n            innerHTML: decodeURIComponent(_unref(imageAttribution))\n          }, null, 8, _hoisted_6)\n        ])\n      ]),\n      _createElementVNode(\"div\", _hoisted_7, [\n        _createElementVNode(\"div\", _hoisted_8, [\n          _createElementVNode(\"div\", _hoisted_9, [\n            _createElementVNode(\"div\", _hoisted_10, [\n              _createElementVNode(\"aside\", _hoisted_11, [\n                _createElementVNode(\"a\", {\n                  href: _unref(sectionUrl),\n                  class: \"tag\",\n                  innerHTML: decodeURIComponent(_unref(sectionTitle))\n                }, null, 8, _hoisted_12)\n              ]),\n              (_unref(premium))\n                ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, _hoisted_15))\n                : _createCommentVNode(\"\", true)\n            ]),\n            _createElementVNode(\"h2\", {\n              innerHTML: decodeURIComponent(_unref(title))\n            }, null, 8, _hoisted_16),\n            _createElementVNode(\"p\", {\n              innerHTML: decodeURIComponent(_unref(blurb))\n            }, null, 8, _hoisted_17),\n            _createElementVNode(\"div\", _hoisted_18, [\n              _createElementVNode(\"a\", { href: _unref(contentUrl) }, \"READ MORE \", 8, _hoisted_19),\n              _hoisted_20\n            ])\n          ])\n        ])\n      ])\n    ], 2)\n  ]))\n}\n}\n\n})","import script from \"./ArticleCard.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ArticleCard.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__"],"names":["_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","key","_hoisted_14","_createElementVNode","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_defineComponent","__name","props","className","String","desktopUrl","mobileUrl","imageAttribution","sectionUrl","sectionTitle","title","blurb","contentUrl","premium","Boolean","setup","__props","toRefs","onMounted","topElement","document","getElementById","children","classList","add","_ctx","_cache","_openBlock","_createElementBlock","_normalizeClass","_unref","media","srcset","innerHTML","decodeURIComponent","href","_createCommentVNode","__exports__"],"sourceRoot":""}