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AAQ,KACrC,GAAqB,OAAnBI,EAAKa,cAAc,YAAYb,EAAKa,iBAG3Cb,EAAKc,UAGbd,EAAKe,YAAU,gBACXzB,MAAG,CACAC,UAAWL,GAAAA,CAAW,EAAD,GACf,GAAuB,OAArBc,EAAKgB,gBAAgB,YAAYhB,EAAKgB,kBAE9CxB,wBAAyB,CAAEC,OAAQO,EAAKe,cAG/Cf,EAAKiB,YAAU,gBACX3B,MAAG,CACAC,UAAY,2BAAoC,OAAVK,EAAU,uB,gBAE/CZ,EAAAA,EAAsB,CACnBI,wBAAyBY,EAAKkB,mBAC9B7B,kBAAmBW,EAAKmB,SACxBzB,QAASM,EAAKiB,wB,gNC1FlE,IAEA,EAF2BlE,SAAAA,GAAS,OAAM,gBAALqE,EAAc,KAAKrE","sources":["webpack://gyldendal-uddannelse/./node_modules/prop-types/factoryWithThrowingShims.js","webpack://gyldendal-uddannelse/./node_modules/prop-types/index.js","webpack://gyldendal-uddannelse/./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack://gyldendal-uddannelse/./src/Foundation/Frontend/ReactComponents/Shared/CustomPrimaryCtaButton/custom-primary-cta-button.js","webpack://gyldendal-uddannelse/./src/Foundation/Frontend/ReactComponents/IconTeaserGrid/icon-teaser-grid.tsx","webpack://gyldendal-uddannelse/./src/Foundation/Frontend/ReactViews/IconTeaserGrid/icon-teaser-grid-view.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","import React from \"react\";\r\nimport classNames from \"classnames\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst CustomPrimaryCtaButton = props => {\r\n const rootClasses = classNames(\"custom-primary-cta-button\", props.ClassName, {\r\n [`${props.CtaBackgroundColorClass}--bg`]: props.CtaBackgroundColorClass,\r\n [`${props.CtaTextColorClass}--text`]: props.CtaTextColorClass\r\n });\r\n\r\n return
;\r\n};\r\n\r\nCustomPrimaryCtaButton.propTypes = {\r\n ClassName: PropTypes.string,\r\n CtaLink: PropTypes.string,\r\n CtaTextColorClass: PropTypes.string,\r\n CtaBackgroundColorClass: PropTypes.string\r\n};\r\n\r\nexport default CustomPrimaryCtaButton;\r\n","import React from \"react\";\r\n// import { IconTeaserGridData } from \"./icon-teaser-grid.mock\";\r\nimport classNames from \"classnames\";\r\nimport CustomPrimaryCtaButton from \"ReactComponents/Shared/CustomPrimaryCtaButton/custom-primary-cta-button\";\r\n\r\ninterface IIconTeaserGridItem {\r\n BackgroundColor?: string;\r\n CtaBackgroundColor?: string;\r\n CtaColor?: string;\r\n CtaLinkUrl?: string;\r\n Headline?: string;\r\n HeadlineColor?: string;\r\n ImageUrl?: string;\r\n TeaserText?: string;\r\n TeaserTextColor?: string;\r\n Trumpet?: string;\r\n Type: \"Background\" | \"Icon\" | \"Image\";\r\n Icon?: string;\r\n IconColor?: string;\r\n}\r\n\r\ninterface IIconTeaserGridProps {\r\n Items: Array;\r\n}\r\n\r\nfunction IconTeaserGrid(props: IIconTeaserGridProps) {\r\n const baseClass = \"icon-teaser-grid\";\r\n const rootClasses = classNames(`${baseClass}-container`, {\r\n \"icon-teaser-grid--wide\": props.Items?.length <= 1,\r\n \"icon-teaser-grid--normal\": props.Items?.length > 1\r\n });\r\n\r\n return (\r\n
\r\n
\r\n {props.Items.map((item, index) => {\r\n return (\r\n \r\n \r\n
\r\n
\r\n {item.Icon && (\r\n \r\n )}\r\n\r\n {item.Trumpet && (\r\n \r\n {item.Trumpet}\r\n
\r\n )}\r\n {item.Headline && (\r\n \r\n {item.Headline}\r\n
\r\n )}\r\n {item.TeaserText && (\r\n
\r\n )}\r\n {item.CtaLinkUrl && (\r\n \r\n \r\n
\r\n )}\r\n
\r\n \r\n \r\n \r\n );\r\n })}\r\n \r\n \r\n );\r\n}\r\n\r\nexport default IconTeaserGrid;\r\n","import * as React from \"react\";\r\nimport IconTeaserGrid from \"@/ReactComponents/IconTeaserGrid/icon-teaser-grid\";\r\n\r\nconst IconTeaserGridView = props => ;\r\n\r\nexport default IconTeaserGridView;\r\n"],"names":["ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","module","exports","shim","props","propName","componentName","location","propFullName","secret","err","Error","name","getShim","isRequired","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","CustomPrimaryCtaButton","rootClasses","classNames","ClassName","CtaBackgroundColorClass","CtaTextColorClass","div","className","dangerouslySetInnerHTML","__html","CtaLink","propTypes","baseClass","Items","length","map","item","index","key","Type","toLowerCase","style","ImageUrl","backgroundImage","undefined","BackgroundColor","Icon","IconColor","Trumpet","HeadlineColor","Headline","TeaserText","TeaserTextColor","CtaLinkUrl","CtaBackgroundColor","CtaColor","IconTeaserGrid"],"sourceRoot":""}