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AKtB,KAUhB,SACAwB,EAEAC,EAAqBF,EAAAA,EAA+CP,GACpEU,EAAwBH,EAAAA,EAA+CN,GACvEU,EAA0BJ,EAAAA,EAA+CL,GAE/E,OACET,EAAAA,EAAAA,KAAA,WAASL,UAAS,2BAAAwB,OAA+C,OAAlBH,QAAkB,IAAlBA,EAAAA,EAAsB,GAAE,KAAAG,OAAyB,OAArBF,QAAqB,IAArBA,EAAAA,EAAyB,GAAE,KAAAE,OAAID,GAA0BnB,UAClIC,EAAAA,EAAAA,KAAA,OAAKL,UAAU,WAAUI,UACvBC,EAAAA,EAAAA,KAAA,OAAK,oBAAkB,gBAAgBL,UAAU,sBAAqBI,SACnEW,OAKX,C,qJChCqBU,EAAuB,WAOzC,OAAAC,EAAAA,EAAAA,IAND,SAAAD,EAAYE,IAAMC,EAAAA,EAAAA,GAAA,KAAAH,GAChB,IAAMI,EAAOC,KAIb,OAHAD,EAAKF,KAAOA,EACZE,EAAKE,UAAYJ,EAAKK,QAAQD,WAAaE,KAAKC,MAAMP,EAAKK,QAAQD,WACnED,KAAKK,OACEN,CACT,GAAC,EAAAO,IAAA,OAAAC,MAED,WACE,IAAMR,EAAOC,KACbQ,EAAAA,uBAAgCT,EAAKF,MACrCW,EAAAA,QAAgBjC,EAAAA,EAAAA,KAACK,EAAAA,SAA0B6B,EAAAA,EAAAA,GAAA,GAAKV,EAAKE,YAAeF,EAAKF,KAC3E,IAAC,CAbyC,E","sources":["shared/icon-link/icon-link-container-item.jsx","shared/icon-link/icon-link-container-component.jsx","shared/icon-link/icon-link-container-module.jsx"],"sourcesContent":["import React from \"react\"\nimport Svg from \"../../shared/_svgs/svg\"\n\nexport default function IconLinkContainerItem({ altText, image, link, linkTarget, linkTitle, text, svgIcon }) {\n return (\n <a data-epi-property=\"Link\" lang=\"da\" className=\"icon-link-item\" title={linkTitle} target={linkTarget} href={link}>\n <div className=\"icon-link-image-container\">\n {svgIcon && svgIcon != \"None\" ? <Svg iconName={svgIcon}></Svg> : <img data-epi-property=\"Image\" alt={altText} src={image}></img>}\n </div>\n <div className=\"card-text-container\">\n <p data-epi-property=\"Text\" className=\"card-text\">\n {text}\n </p>\n <div className=\"link-text-container\">\n <Svg iconName=\"arrowright-slim\"></Svg>\n </div>\n </div>\n </a>\n )\n}\n","import React from \"react\"\nimport IconLinkContainerItem from \"./icon-link-container-item\"\nimport * as SelectionFactoryHelper from \"../helpers/SelectionFactoryHelper\"\n\nexport default function IconLinkContainerComponent({ iconLinkCards, topPadding, bottomPadding, backgroundColor }) {\n const htmlIconCards =\n iconLinkCards && iconLinkCards.length > 0\n ? iconLinkCards.map((card) => {\n return (\n <IconLinkContainerItem\n key={card.text}\n altText={card.altText}\n image={card.image}\n link={card.link}\n linkTarget={SelectionFactoryHelper.getFromSelectionFactory(card.linkTarget)}\n linkTitle={card.linkTitle}\n text={card.text}\n svgIcon={SelectionFactoryHelper.getFromSelectionFactory(card.svgIcon)}\n />\n )\n })\n : undefined\n\n const selectedTopPadding = SelectionFactoryHelper.getFromSelectionFactory(topPadding)\n const selectedBottomPadding = SelectionFactoryHelper.getFromSelectionFactory(bottomPadding)\n const selectedBackgroundColor = SelectionFactoryHelper.getFromSelectionFactory(backgroundColor)\n\n return (\n <section className={`icon-link-cards-section ${selectedTopPadding ?? \"\"} ${selectedBottomPadding ?? \"\"} ${selectedBackgroundColor}`}>\n <div className=\"w--wider\">\n <div data-epi-property=\"IconLinkCards\" className=\"icon-link-container\">\n {htmlIconCards}\n </div>\n </div>\n </section>\n )\n}\n","import React from \"react\"\nimport ReactDOM from \"react-dom\"\nimport IconLinkContainerComponent from \"./icon-link-container-component\"\n\nexport default class IconLinkContainerModule {\n constructor(elem) {\n const self = this\n self.elem = elem\n self.modelJson = elem.dataset.modelJson && JSON.parse(elem.dataset.modelJson)\n this.init()\n return self\n }\n\n init() {\n const self = this\n ReactDOM.unmountComponentAtNode(self.elem)\n ReactDOM.render(<IconLinkContainerComponent {...self.modelJson} />, self.elem)\n }\n}\n"],"names":["IconLinkContainerItem","_ref","altText","image","link","linkTarget","linkTitle","text","svgIcon","_jsxs","lang","className","title","target","href","children","_jsx","Svg","iconName","alt","src","IconLinkContainerComponent","iconLinkCards","topPadding","bottomPadding","backgroundColor","htmlIconCards","length","map","card","SelectionFactoryHelper","undefined","selectedTopPadding","selectedBottomPadding","selectedBackgroundColor","concat","IconLinkContainerModule","_createClass","elem","_classCallCheck","self","this","modelJson","dataset","JSON","parse","init","key","value","ReactDOM","_objectSpread"],"sourceRoot":""}