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Q,gNClDA,IAEA,EAFwBhC,SAAAA,GAAS,OAAM,gBAALiD,EAAW,KAAKjD","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/TitleTop/title-top.js","webpack://gyldendal-uddannelse/./src/Foundation/Frontend/ReactComponents/Shared/Title/title.js","webpack://gyldendal-uddannelse/./src/Foundation/Frontend/ReactComponents/BoxLinkList/box-link-list.js","webpack://gyldendal-uddannelse/./src/Foundation/Frontend/ReactViews/BoxLinkList/box-link-list-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","// @ts-check\r\nimport React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\nimport Title from \"../Title/title\";\r\n\r\nconst TitleTop = props => {\r\n return <div className=\"title-top\">{props.Title && <Title {...props} />}</div>;\r\n};\r\n\r\nTitleTop.propTypes = {\r\n Title: PropTypes.string,\r\n IsTitleH1: PropTypes.bool\r\n};\r\n\r\nexport default TitleTop;\r\n","// @ts-check\r\nimport React from \"react\";\r\nimport classNames from \"classnames\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nfunction formattedHeadline(headline) {\r\n return headline.replace(/--/g, \"­\");\r\n}\r\n\r\nconst Title = ({ Title, IsTitleH1, IsTitleH3, id }) => {\r\n const baseClass = \"title\";\r\n const titleClass = classNames(baseClass, \"u-text-word-break-word\", {\r\n [`${baseClass}--small`]: IsTitleH3\r\n });\r\n\r\n const TitleElement = IsTitleH1 ? \"h1\" : IsTitleH3 ? \"h3\" : \"h2\";\r\n\r\n return (\r\n <TitleElement\r\n id={id}\r\n className={titleClass}\r\n dangerouslySetInnerHTML={{ __html: formattedHeadline(Title) }}\r\n />\r\n );\r\n};\r\n\r\nTitle.propTypes = {\r\n Title: PropTypes.string,\r\n IsTitleH1: PropTypes.bool,\r\n IsTitleH3: PropTypes.bool\r\n};\r\n\r\nexport default Title;\r\n","// @ts-check\r\nimport React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\nimport classNames from \"classnames\";\r\nimport TitleTop from \"../Shared/TitleTop/title-top\";\r\n\r\nconst BoxLinkList = props => {\r\n const baseClass = \"box-link-list\";\r\n const rootClasses = classNames(baseClass, \"content-module\", {\r\n \"content-module--no-margin-top\": props.HasNoMarginTop,\r\n \"content-module--no-margin-bottom\": props.HasNoMarginBottom\r\n });\r\n const boxClasses = classNames(`${baseClass}__list-item-inner`, {\r\n [`${props.BackgroundColorClass}--bg`]: props.BackgroundColorClass,\r\n [`${props.TextColorClass}--text`]: props.TextColorClass\r\n });\r\n\r\n return (\r\n <div className={rootClasses}>\r\n <div className={`${baseClass}-inner content-module__landingpage-inner`}>\r\n {props.Title && <TitleTop {...props} />}\r\n <div className={`${baseClass}__list`}>\r\n {props.LinkList.length > 0 &&\r\n props.LinkList.map((item, index) => {\r\n return (\r\n <div className={`${baseClass}__list-item`} key={index}>\r\n <div\r\n className={boxClasses}\r\n dangerouslySetInnerHTML={{ __html: item.Link }}\r\n />\r\n </div>\r\n );\r\n })}\r\n </div>\r\n </div>\r\n </div>\r\n );\r\n};\r\n\r\nBoxLinkList.propTypes = {\r\n Title: PropTypes.string,\r\n IsTitleH1: PropTypes.bool,\r\n BackgroundColorClass: PropTypes.string,\r\n TextColorClass: PropTypes.string,\r\n HasNoMarginTop: PropTypes.bool,\r\n HasNoMarginBottom: PropTypes.bool,\r\n LinkList: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n Link: PropTypes.string\r\n })\r\n )\r\n};\r\n\r\nexport default BoxLinkList;\r\n","import * as React from \"react\";\r\nimport BoxLinkList from \"@/ReactComponents/BoxLinkList/box-link-list\";\r\n\r\nconst BoxLinkListView = props => <BoxLinkList {...props} />;\r\n\r\nexport default BoxLinkListView;\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","TitleTop","div","className","Title","propTypes","IsTitleH1","headline","IsTitleH3","id","baseClass","titleClass","classNames","TitleElement","dangerouslySetInnerHTML","__html","replace","BoxLinkList","rootClasses","HasNoMarginTop","HasNoMarginBottom","boxClasses","BackgroundColorClass","TextColorClass","LinkList","length","map","item","index","key","Link"],"sourceRoot":""}