dibk-design 7.7.1 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +66 -0
- package/dist/dibk-design.css +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.cjs.js +21 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.es.js +2421 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.html +38 -0
- package/dist/manifest.json +15 -0
- package/dist/robots.txt +3 -0
- package/package.json +23 -27
- package/dist/assets/fonts/PPMori-Bold.otf +0 -0
- package/dist/assets/fonts/PPMori-Book.otf +0 -0
- package/dist/assets/fonts/PPMori-ExtraBold.otf +0 -0
- package/dist/assets/fonts/PPMori-Light.otf +0 -0
- package/dist/assets/fonts/PPMori-Medium.otf +0 -0
- package/dist/assets/fonts/PPMori-Regular.otf +0 -0
- package/dist/assets/fonts/PPMori-RegularItalic.otf +0 -0
- package/dist/assets/fonts/PPMori-SemiBold.otf +0 -0
- package/dist/assets/png/dibk-logo.png +0 -0
- package/dist/assets/svg/arbeidstilsynet-logo.svg +0 -1
- package/dist/assets/svg/asterisk.svg +0 -1
- package/dist/assets/svg/checkmark-symbol.svg +0 -8
- package/dist/assets/svg/dibk-logo-base64.js +0 -7
- package/dist/assets/svg/dibk-logo-mobile.svg +0 -91
- package/dist/assets/svg/dibk-logo.svg +0 -52
- package/dist/assets/svg/error-sign.svg +0 -15
- package/dist/assets/svg/info-sign.svg +0 -1
- package/dist/assets/svg/spinner.svg +0 -57
- package/dist/assets/svg/x-symbol.svg +0 -1
- package/dist/components/Accordion.js +0 -64
- package/dist/components/Accordion.module.scss +0 -190
- package/dist/components/Button.js +0 -118
- package/dist/components/Button.module.scss +0 -290
- package/dist/components/CheckBoxIcon.js +0 -42
- package/dist/components/CheckBoxIcon.module.scss +0 -69
- package/dist/components/CheckBoxInput.js +0 -70
- package/dist/components/CheckBoxInput.module.scss +0 -53
- package/dist/components/CheckBoxList.js +0 -55
- package/dist/components/CheckBoxList.module.scss +0 -25
- package/dist/components/CheckBoxListItem.js +0 -61
- package/dist/components/CheckBoxListItem.module.scss +0 -84
- package/dist/components/Container.js +0 -24
- package/dist/components/Container.module.scss +0 -15
- package/dist/components/ContentBox.js +0 -56
- package/dist/components/ContentBox.module.scss +0 -60
- package/dist/components/DescriptionDetails.js +0 -32
- package/dist/components/DescriptionDetails.module.scss +0 -22
- package/dist/components/DescriptionList.js +0 -47
- package/dist/components/DescriptionList.module.scss +0 -15
- package/dist/components/DescriptionTerm.js +0 -32
- package/dist/components/DescriptionTerm.module.scss +0 -30
- package/dist/components/Dialog.js +0 -86
- package/dist/components/Dialog.module.scss +0 -178
- package/dist/components/DragAndDropFileInput.js +0 -142
- package/dist/components/DragAndDropFileInput.module.scss +0 -38
- package/dist/components/ErrorBox.js +0 -33
- package/dist/components/ErrorBox.module.scss +0 -68
- package/dist/components/ErrorMessage.js +0 -37
- package/dist/components/ErrorMessage.module.scss +0 -30
- package/dist/components/Footer.js +0 -16
- package/dist/components/Footer.module.scss +0 -21
- package/dist/components/Header.js +0 -42
- package/dist/components/Header.module.scss +0 -79
- package/dist/components/InfoBox.js +0 -23
- package/dist/components/InfoBox.module.scss +0 -44
- package/dist/components/InputField.js +0 -137
- package/dist/components/InputField.module.scss +0 -88
- package/dist/components/Label.js +0 -40
- package/dist/components/Label.module.scss +0 -19
- package/dist/components/Lead.js +0 -31
- package/dist/components/Lead.module.scss +0 -13
- package/dist/components/List.js +0 -46
- package/dist/components/List.module.scss +0 -12
- package/dist/components/ListItem.js +0 -27
- package/dist/components/ListItem.module.scss +0 -10
- package/dist/components/LoadingAnimation.js +0 -26
- package/dist/components/LoadingAnimation.module.scss +0 -28
- package/dist/components/NavigationBar.js +0 -146
- package/dist/components/NavigationBar.module.scss +0 -474
- package/dist/components/NavigationBarListItem.js +0 -24
- package/dist/components/PDF.js +0 -14
- package/dist/components/PDF.scss +0 -765
- package/dist/components/Paper.js +0 -24
- package/dist/components/Paper.module.scss +0 -17
- package/dist/components/ProgressBar.js +0 -32
- package/dist/components/ProgressBar.module.scss +0 -30
- package/dist/components/RadioButtonIcon.js +0 -34
- package/dist/components/RadioButtonIcon.module.scss +0 -49
- package/dist/components/RadioButtonInput.js +0 -68
- package/dist/components/RadioButtonInput.module.scss +0 -53
- package/dist/components/RadioButtonList.js +0 -55
- package/dist/components/RadioButtonList.module.scss +0 -25
- package/dist/components/RadioButtonListItem.js +0 -59
- package/dist/components/RadioButtonListItem.module.scss +0 -84
- package/dist/components/Select.js +0 -224
- package/dist/components/Select.module.scss +0 -118
- package/dist/components/Table.js +0 -31
- package/dist/components/Table.module.scss +0 -65
- package/dist/components/Textarea.js +0 -105
- package/dist/components/Textarea.module.scss +0 -73
- package/dist/components/Theme.js +0 -138
- package/dist/components/Theme.module.scss +0 -103
- package/dist/components/ThemeProvider.js +0 -24
- package/dist/components/ThemeProvider.module.scss +0 -24
- package/dist/components/ToggleNavigationButton.js +0 -44
- package/dist/components/ToggleNavigationButton.module.scss +0 -34
- package/dist/components/WizardNavigation/Step.js +0 -66
- package/dist/components/WizardNavigation/Step.module.scss +0 -175
- package/dist/components/WizardNavigation.js +0 -56
- package/dist/components/WizardNavigation.module.scss +0 -25
- package/dist/functions/generators.js +0 -16
- package/dist/functions/helpers.js +0 -112
- package/dist/functions/theme.js +0 -18
- package/dist/index.js +0 -279
- package/dist/style/abstracts/mixins/_animation.scss +0 -6
- package/dist/style/abstracts/mixins/_appearance.scss +0 -5
- package/dist/style/abstracts/mixins/_border-radius.scss +0 -31
- package/dist/style/abstracts/mixins/_box-shadow.scss +0 -5
- package/dist/style/abstracts/mixins/_box-sizing.scss +0 -5
- package/dist/style/abstracts/mixins/_calc.scss +0 -5
- package/dist/style/abstracts/mixins/_keyframes.scss +0 -14
- package/dist/style/abstracts/mixins/_opacity.scss +0 -5
- package/dist/style/abstracts/mixins/_placeholder.scss +0 -17
- package/dist/style/abstracts/mixins/_scrollbar.scss +0 -26
- package/dist/style/abstracts/mixins/_transform.scss +0 -6
- package/dist/style/abstracts/mixins/_transition.scss +0 -34
- package/dist/style/abstracts/variables/_colors.scss +0 -33
- package/dist/style/abstracts/variables/_sizes.scss +0 -1
- package/dist/style/abstracts/variables/_transitions.scss +0 -2
- package/dist/style/abstracts/variables/_typography.scss +0 -1
- package/dist/style/abstracts/variables/_viewports.scss +0 -14
- package/dist/style/base/_fonts.scss +0 -57
- package/dist/style/base/_reset.scss +0 -15
- package/dist/style/base/_typography.scss +0 -10
- package/dist/style/layout/_containers.scss +0 -11
- package/dist/style/pdf.css +0 -637
- package/dist/style/pdf.css.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js","../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js","../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js","../node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js","../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js","../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js","../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js","../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js","../src/functions/helpers.js","../src/components/Accordion.jsx","../src/components/Button.jsx","../src/components/CheckBoxIcon.jsx","../src/assets/svg/asterisk.svg?url","../src/components/CheckBoxInput.jsx","../src/components/Header.jsx","../src/components/CheckBoxList.jsx","../src/components/CheckBoxListItem.jsx","../src/components/Container.jsx","../src/components/ContentBox.jsx","../src/components/DescriptionDetails.jsx","../src/components/DescriptionList.jsx","../src/components/DescriptionTerm.jsx","../src/assets/svg/x-symbol.svg?url","../src/components/Dialog.jsx","../src/assets/svg/error-sign.svg?url","../src/components/ErrorMessage.jsx","../src/components/Label.jsx","../src/components/DragAndDropFileInput.jsx","../src/assets/svg/info-sign.svg?url","../src/components/ErrorBox.jsx","../src/components/Footer.jsx","../src/components/InfoBox.jsx","../src/functions/generators.js","../src/components/InputField.jsx","../src/components/Lead.jsx","../src/components/List.jsx","../src/components/ListItem.jsx","../src/components/LoadingAnimation.jsx","../src/components/NavigationBarListItem.jsx","../src/functions/theme.js","../src/assets/svg/dibk-logo-mobile.svg?url","../src/assets/svg/dibk-logo.svg?url","../src/components/NavigationBar.jsx","../src/components/Paper.jsx","../src/components/ProgressBar.jsx","../src/components/RadioButtonIcon.jsx","../src/components/RadioButtonInput.jsx","../src/components/RadioButtonList.jsx","../src/components/RadioButtonListItem.jsx","../src/components/Select.jsx","../src/components/Table.jsx","../src/components/Textarea.jsx","../src/components/ThemeProvider.jsx","../src/components/ToggleNavigationButton.jsx","../src/assets/svg/checkmark-symbol.svg?url","../src/components/Step.jsx","../src/components/WizardNavigation.jsx"],"sourcesContent":["/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\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';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\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\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\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","module.exports = Function.call.bind(Object.prototype.hasOwnProperty);\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 printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = require('./lib/has');\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\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 ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar has = require('./lib/has');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bigint: createPrimitiveTypeChecker('bigint'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message, data) {\n this.message = message;\n this.data = data && typeof data === 'object' ? data: {};\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\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 } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),\n {expectedType: expectedType}\n );\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var expectedTypes = [];\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);\n if (checkerResult == null) {\n return null;\n }\n if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n expectedTypes.push(checkerResult.data.expectedType);\n }\n }\n var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function invalidValidatorError(componentName, location, propFullName, key, type) {\n return new PropTypeError(\n (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n );\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (has(shapeTypes, key) && typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\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\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","// Dependencies\nimport { Children, cloneElement, Fragment, isValidElement } from 'react';\n\nexport const classNameArrayToClassNameString = (classNameArray) => {\n return classNameArray?.filter((className) => className)?.join(' ') || '';\n};\n\nexport const camelCaseToKebabCase = (string) => {\n return string.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase();\n};\n\nexport const getCssColorVariablesFromTheme = (theme) => {\n return (\n !!theme?.colors &&\n !!Object.entries(theme?.colors)?.length &&\n Object.entries(theme?.colors).reduce((acc, [key, value]) => {\n if (key?.length && value?.length) {\n acc[`--color-${camelCaseToKebabCase(key)}`] = value;\n }\n return acc;\n }, {})\n );\n};\n\nexport const getCssSizeVariablesFromTheme = (theme) => {\n return (\n !!theme?.sizes &&\n !!Object.entries(theme?.sizes)?.length &&\n Object.entries(theme?.sizes).reduce((acc, [key, value]) => {\n if (key?.length && value?.length) {\n acc[`--size-${camelCaseToKebabCase(key)}`] = value;\n }\n return acc;\n }, {})\n );\n};\n\nexport const getCssVariablesFromTheme = (theme) => {\n return {\n ...getCssColorVariablesFromTheme(theme),\n ...getCssSizeVariablesFromTheme(theme),\n };\n};\n\nexport const addGlobalStylesheet = (styleElementId, styles) => {\n if (typeof document === 'undefined') return;\n\n const style = document.createElement('style');\n style.setAttribute('id', styleElementId);\n style.textContent = styles;\n document.getElementById(styleElementId)?.remove();\n document.head.appendChild(style);\n};\n\nexport const stringifyCssColorVariables = (colorVariables) => {\n return Object.keys(colorVariables).reduce((css, key) => {\n return `${css}${key}: ${colorVariables[key]};`;\n }, '');\n};\n\nexport const cloneThroughFragments = (children) => {\n return Children.map(children, (c) => {\n if (isValidElement(c)) {\n if (c.type === Fragment) {\n // just compare to `React.Fragment`\n return cloneThroughFragments(c.props.children);\n }\n return cloneElement(c, { ...c.props });\n }\n return c;\n });\n};\n\nexport const setFocusToElement = (element) => {\n if (typeof document === 'undefined') return;\n const autoFocusElement = document.createElement('button');\n element.prepend(autoFocusElement);\n autoFocusElement.focus();\n autoFocusElement.remove();\n};\n\nexport const getFocusableElementsInsideElement = (element) => {\n return Array.from(\n element.querySelectorAll('button, [href], input, [tabindex=\"0\"]')\n ).filter((resultElement) => {\n return resultElement;\n });\n};\n\nexport const addFocusTrapInsideElement = (element) => {\n setFocusToElement(element);\n const focusableElements = getFocusableElementsInsideElement(element);\n const firstFocusableElement = focusableElements?.length\n ? focusableElements[0]\n : null;\n const lastFocusableElement =\n focusableElements?.length > 1\n ? focusableElements[focusableElements.length - 1]\n : firstFocusableElement;\n if (firstFocusableElement) {\n firstFocusableElement.onkeydown = (event) => {\n if (event.keyCode === 9 && event.shiftKey) {\n lastFocusableElement.focus();\n }\n };\n }\n if (lastFocusableElement) {\n lastFocusableElement.onclick = () => {\n firstFocusableElement.focus();\n };\n lastFocusableElement.onkeydown = (event) => {\n if (event.keyCode === 9 && !event.shiftKey) {\n event.preventDefault();\n firstFocusableElement.focus();\n }\n };\n }\n};\n","// Dependencies\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\n// Helpers\nimport { classNameArrayToClassNameString } from '../functions/helpers';\n\n// Stylesheets\nimport style from './Accordion.module.scss';\n\nconst Accordion = (props) => {\n const [expanded, setExpanded] = useState(props.expanded);\n const [initialized, setInitialized] = useState(props.initialized);\n\n const handleToggleExpand = () => {\n setExpanded(!expanded);\n setInitialized(true);\n if (props.onToggleExpand) {\n props.onToggleExpand();\n }\n };\n\n useEffect(() => {\n setExpanded(props.expanded);\n }, [props.expanded]);\n\n const renderPanel = () => {\n return (\n <button\n {...props.buttonProps}\n className={style.panel}\n onClick={handleToggleExpand}\n aria-expanded={expanded ? 'true' : 'false'}\n >\n <span className={style.panelText}>{props.title}</span>\n <span\n className={`${style.panelChevron} ${expanded ? style.expanded : ''}`}\n ></span>\n </button>\n );\n };\n\n const className = classNameArrayToClassNameString([\n style.accordion,\n props.color && style[props.color],\n !props.noMargin && style.margin,\n ]);\n return (\n <div className={className}>\n {renderPanel()}\n <div\n className={`${style.content} ${initialized ? style.initialized : ''} ${\n expanded ? style.expanded : ''\n }`}\n >\n {props.children}\n </div>\n </div>\n );\n};\n\nAccordion.propTypes = {\n /** Content title inside box */\n title: PropTypes.string,\n titleSize: PropTypes.oneOf(['regular', 'large']),\n /** Text content inside box */\n content: PropTypes.string,\n color: PropTypes.oneOf(['default', 'secondary']),\n expanded: PropTypes.bool,\n onToggleExpand: PropTypes.func,\n buttonProps: PropTypes.object,\n};\n\nAccordion.defaultProps = {\n title: null,\n titleSize: 'regular',\n href: null,\n content: '',\n color: 'default',\n expanded: false,\n noMargin: false,\n};\n\nexport default Accordion;\n","import React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\n\n// Helpers\nimport {\n classNameArrayToClassNameString,\n cloneThroughFragments,\n} from '../functions/helpers';\n\n// Styles\nimport style from './Button.module.scss';\n\n/**\n * Primary UI component for user interaction\n */\nconst Button = (props) => {\n const { linkComponent: LinkComponent } = props;\n\n const getArrowClass = (arrow) => {\n switch (arrow) {\n case 'left':\n return style.hasArrowLeft;\n case 'right':\n return style.hasArrowRight;\n default:\n return '';\n }\n };\n\n let buttonProps = {\n ...props,\n 'aria-invalid': props.hasErrors || null,\n href: !props.disabled && props.href?.length ? props.href : null,\n };\n\n // Clean out non-HTML props\n delete buttonProps.noHover;\n delete buttonProps.hasErrors;\n delete buttonProps.rounded;\n delete buttonProps.inputType;\n delete buttonProps.color;\n delete buttonProps.content;\n delete buttonProps.arrow;\n delete buttonProps.noMargin;\n delete buttonProps.linkComponent;\n\n const buttonColor =\n props?.inputType === 'radio'\n ? props.defaultChecked\n ? 'primary'\n : 'secondary'\n : props.color;\n\n const className = classNameArrayToClassNameString([\n style.button,\n style[buttonColor],\n style[props.size],\n getArrowClass(props.arrow),\n props.noHover || props?.inputType === 'radio' ? style.noHover : null,\n props.rounded && style.rounded,\n props.hasErrors && style.hasErrors,\n props.disabled && style.disabled,\n props.noMargin && style.noMargin,\n ]);\n\n const renderLinkWrappedChildren = (childElements) => {\n const flattened = cloneThroughFragments(childElements);\n return flattened.map((childElement, index) => {\n const isLink =\n LinkComponent &&\n childElement?.type === LinkComponent &&\n childElement?.props?.to;\n\n if (!buttonProps.disabled && isLink) {\n const childElementCopy = React.cloneElement(childElement, {\n className: className,\n key: `button-${index}`,\n to: childElement.props.to,\n });\n return childElementCopy;\n }\n\n return (\n <button {...buttonProps} key={`button-${index}`} className={className}>\n {props.content || childElement.props.children}\n </button>\n );\n });\n };\n\n if (props.inputType === 'button') {\n return (\n <input\n {...buttonProps}\n className={className}\n type=\"button\"\n value={props.content}\n />\n );\n }\n\n if (props.inputType === 'radio') {\n return (\n <label className={className}>\n <input {...buttonProps} type=\"radio\" />\n {props.content}\n </label>\n );\n }\n\n if (props.href?.length && !props.disabled) {\n return (\n <a {...buttonProps} className={className}>\n {props.content || props.children}\n </a>\n );\n }\n\n const isLinkWrapped =\n LinkComponent && props?.children?.type === LinkComponent;\n\n if (isLinkWrapped) {\n return (\n <Fragment>\n {renderLinkWrappedChildren(React.Children.toArray(props.children))}\n </Fragment>\n );\n }\n\n return (\n <button {...buttonProps} className={className}>\n {props.content || props.children}\n </button>\n );\n};\n\nButton.propTypes = {\n content: PropTypes.string,\n color: PropTypes.oneOf(['primary', 'secondary']),\n size: PropTypes.oneOf(['small', 'regular']),\n arrow: PropTypes.oneOf(['none', 'left', 'right']),\n disabled: PropTypes.bool,\n inputType: PropTypes.oneOf(['button', 'radio']),\n name: PropTypes.string,\n defaultChecked: PropTypes.bool,\n required: PropTypes.bool,\n hasErrors: PropTypes.bool,\n 'aria-describedby': PropTypes.string,\n noHover: PropTypes.bool,\n rounded: PropTypes.bool,\n href: PropTypes.string,\n onClick: PropTypes.func,\n noMargin: PropTypes.bool,\n linkComponent: PropTypes.elementType,\n};\n\nButton.defaultProps = {\n color: 'primary',\n size: 'regular',\n disabled: false,\n hasErrors: false,\n noHover: false,\n arrow: 'none',\n noMargin: false,\n};\n\nexport default Button;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Stylesheets\nimport style from \"./CheckBoxIcon.module.scss\";\n\n/**\n * Primary UI component for user interaction\n */\nconst CheckBoxIcon = (props) => {\n let inlineStyle = {\n height: props.size,\n width: props.size,\n fontSize: props.size\n };\n\n const checkBoxIconProps = {\n className: `${style.checkBoxIcon} ${props.checked ? style.checked : \"\"} ${\n props.disabled ? style.disabled : \"\"\n } ${props.showBox ? style.showBox : \"\"} ${props.hasErrors ? style.hasErrors : \"\"}`,\n style: inlineStyle\n };\n return (\n <span {...checkBoxIconProps}>\n <span aria-hidden className={style.checkmark}>\n {props.checked ? props.checkmarkCharacter : \"\"}\n </span>\n </span>\n );\n};\n\nCheckBoxIcon.propTypes = {\n /**\n * How large should the radio button icon be?\n */\n size: PropTypes.string,\n checked: PropTypes.bool,\n disabled: PropTypes.bool,\n showBox: PropTypes.bool,\n hasErrors: PropTypes.bool,\n checkmarkCharacter: PropTypes.string\n};\n\nCheckBoxIcon.defaultProps = {\n size: \"20px\",\n checked: false,\n disabled: false,\n showBox: true,\n hasErrors: false,\n checkmarkCharacter: \"✔\"\n};\n\nexport default CheckBoxIcon;\n","export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32.275'%20height='30.469'%20focusable='false'%3e%3cpath%20fill='%239d2024'%20d='m0%2014.355%202.246-6.933c5.176%201.823%208.936%203.402%2011.28%204.736-.62-5.892-.945-9.944-.977-12.158h7.08c-.098%203.223-.472%207.26-1.123%2012.11%203.353-1.693%207.194-3.256%2011.523-4.688l2.246%206.933c-4.134%201.368-8.186%202.28-12.158%202.735%201.986%201.725%204.785%204.801%208.399%209.228l-5.86%204.15c-1.888-2.57-4.118-6.07-6.69-10.497-2.408%204.59-4.524%208.089-6.347%2010.498l-5.762-4.15c3.776-4.656%206.478-7.732%208.106-9.23-4.2-.813-8.187-1.724-11.963-2.734'/%3e%3c/svg%3e\"","// Dependencies\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Components\nimport CheckBoxIcon from './CheckBoxIcon';\n\n// Assets\nimport asterisk from '../assets/svg/asterisk.svg?url';\n\n// Stylesheets\nimport style from './CheckBoxInput.module.scss';\n\nconst CheckBoxInput = (props) => {\n const labelProps = {\n className: `${style.checkBoxInput} ${\n props.contentOnly ? style.contentOnly : ''\n } ${props.disabled ? style.disabled : ''} ${\n props.hasErrors ? style.hasErrors : ''\n }`,\n htmlFor: props.id,\n };\n\n const iconProps = {\n checked: props.checked,\n disabled: props.disabled,\n showBox: !props.contentOnly,\n hasErrors: props.contentOnly && props.hasErrors,\n checkmarkCharacter: props.checkmarkCharacter,\n };\n\n const inputProps = {\n id: props.id,\n name: props.name || null,\n type: 'checkbox',\n checked: props.checked,\n disabled: props.disabled,\n required: props.required || props.requiredGroup,\n onChange: props.onChange,\n tabIndex: props.tabIndex || null,\n 'aria-controls': props['aria-controls'],\n 'aria-invalid': props.hasErrors ? 'true' : null,\n 'aria-describedby': props['aria-describedby'],\n };\n\n return (\n <label {...labelProps}>\n {!props.contentOnly ? (\n <React.Fragment>\n <CheckBoxIcon {...iconProps} />\n <input {...inputProps} />\n </React.Fragment>\n ) : (\n <CheckBoxIcon {...iconProps} />\n )}\n <span className={style.labelText}>\n {props.children}\n {props.required && (\n <img src={asterisk} alt=\"\" className={style.requiredSymbol} />\n )}\n </span>\n </label>\n );\n};\n\nCheckBoxInput.propTypes = {\n checked: PropTypes.bool,\n disabled: PropTypes.bool,\n required: PropTypes.bool,\n requiredGroup: PropTypes.bool,\n id: PropTypes.string.isRequired,\n name: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n contentOnly: PropTypes.bool,\n hasErrors: PropTypes.bool,\n checkmarkCharacter: PropTypes.string,\n 'aria-controls': PropTypes.string,\n 'aria-describedby': PropTypes.string,\n};\nCheckBoxInput.defaultProps = {\n checked: false,\n disabled: false,\n required: false,\n requiredGroup: false,\n name: '',\n contentOnly: false,\n hasErrors: false,\n checkmarkCharacter: '✔',\n};\n\nexport default CheckBoxInput;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Stylesheets\nimport style from \"./Header.module.scss\";\n\n// Helpers\nimport { classNameArrayToClassNameString } from \"../functions/helpers\";\n\nconst Header = (props) => {\n const bigClass = props.big ? style.bigHeader : \"\";\n const htmlTag = props.htmlTag?.length ? props.htmlTag : `h${props.size}`;\n const headerClass = style.header;\n const headerSizeClass = style[`size-${props.size}`];\n let headerElement = React.createElement(\n htmlTag,\n {\n className: classNameArrayToClassNameString([headerClass, headerSizeClass, bigClass]),\n id: props.id || null,\n htmlFor: props.htmlFor || null,\n style: props?.label?.length ? {\"--label\": `\"${props.label}\"`} : null\n },\n !!props.content?.length ? props.content : props.children // props.content for backward compatibility\n );\n return <div className={style.headerContainer}> {headerElement} </div>;\n};\n\nHeader.propTypes = {\n id: PropTypes.string,\n /** Text content inside button */\n content: PropTypes.string,\n size: PropTypes.oneOf([1, 2, 3, 4, 5]),\n big: PropTypes.bool,\n label: PropTypes.string,\n htmlTag: PropTypes.string,\n htmlFor: PropTypes.string\n};\n\nHeader.defaultProps = {\n size: 1\n};\n\nexport default Header;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Helpers\nimport { cloneThroughFragments } from \"../functions/helpers\";\n\n// Assets\nimport asterisk from \"../assets/svg/asterisk.svg?url\";\n\n// Stylesheets\nimport style from \"./CheckBoxList.module.scss\";\nimport Header from \"./Header\";\n\nconst CheckBoxList = ({ required, compact, legend, legendSize, children }) => {\n const renderChildElements = (childElements) => {\n const childElementsthroughFragments = cloneThroughFragments(childElements);\n return childElementsthroughFragments.map((childElement, index) => {\n const isCheckBoxListItem = childElement?.props?.type === \"CheckBoxListItem\";\n if (isCheckBoxListItem) {\n const childElementCopy = React.cloneElement(childElement, {\n requiredGroup: required,\n compact: compact,\n key: `checkboxListItem-${index}`\n });\n return childElementCopy;\n } else {\n return childElement;\n }\n });\n };\n\n return (\n <fieldset className={style.checkBoxList}>\n {!!legend?.length ? (\n <legend>\n {legendSize ? <Header size={legendSize}>{legend}</Header> : legend}\n {required && <img src={asterisk} alt=\"\" className={style.requiredSymbol} />}\n </legend>\n ) : null}\n {renderChildElements(React.Children.toArray(children))}\n </fieldset>\n );\n};\n\nCheckBoxList.propTypes = {\n legend: PropTypes.string,\n legendSize: PropTypes.oneOf([1, 2, 3, 4, 5]),\n required: PropTypes.bool,\n compact: PropTypes.bool\n};\n\nexport default CheckBoxList;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Components\nimport CheckBoxInput from \"./CheckBoxInput\";\n\n// Functions\nimport { classNameArrayToClassNameString } from \"../functions/helpers\";\n\n// Stylesheets\nimport style from \"./CheckBoxListItem.module.scss\";\n\nconst CheckBoxListItem = (props) => {\n const listItemClassNameArray = [\n style.checkBoxListItem,\n props.checked ? style.checked : null,\n props.disabled ? style.disabled : null,\n props.compact ? style.compact : null,\n props.contentOnly ? style.contentOnly : null,\n props.hasErrors ? style.hasErrors : null\n ];\n const listItemClassNameString = classNameArrayToClassNameString(listItemClassNameArray);\n const inputProps = {\n onChange: props.onChange,\n checked: props.checked,\n disabled: props.disabled,\n required: props.required,\n requiredGroup: props.requiredGroup,\n contentOnly: props.contentOnly,\n hasErrors: props.hasErrors,\n \"aria-controls\": props[\"aria-controls\"],\n \"aria-describedby\": props[\"aria-describedby\"],\n id: props.id,\n name: props.name,\n checkmarkCharacter: props.checkmarkCharacter\n };\n return (\n <div className={listItemClassNameString}>\n <CheckBoxInput {...inputProps}>{props.children}</CheckBoxInput>\n </div>\n );\n};\n\nCheckBoxListItem.propTypes = {\n checked: PropTypes.bool,\n disabled: PropTypes.bool,\n required: PropTypes.bool,\n requiredGroup: PropTypes.bool,\n id: PropTypes.string.isRequired,\n name: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n contentOnly: PropTypes.bool,\n compact: PropTypes.bool,\n hasErrors: PropTypes.bool,\n checkmarkCharacter: PropTypes.string,\n \"aria-controls\": PropTypes.string,\n \"aria-describedby\": PropTypes.string\n};\nCheckBoxListItem.defaultProps = {\n checked: false,\n disabled: false,\n required: false,\n requiredGroup: false,\n id: \"\",\n name: \"\",\n contentOnly: false,\n hasErrors: false,\n checkmarkCharacter: \"✔\",\n type: \"CheckBoxListItem\"\n};\nexport default CheckBoxListItem;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Stylesheets\nimport style from \"./Container.module.scss\";\n\nconst Container = (props) => {\n const styleProps = {\n \"--max-width\": props?.maxWidth?.length && props.maxWidth\n };\n return (\n <div className={style.container} style={styleProps}>\n {props.children}\n </div>\n );\n};\n\nContainer.propTypes = {\n maxWidth: PropTypes.string\n};\n\nexport default Container;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Stylesheets\nimport style from \"./ContentBox.module.scss\";\n\nconst ContentBox = (props) => {\n const renderTitle = () => {\n let className = style.title + \" \" + style[props.titleSize];\n if (props.title) {\n return <h2 className={className}>{props.title}</h2>;\n } else {\n return;\n }\n };\n let colorClass = \" \" + style[props.color];\n let linkClass = props.href ? \" \" + style.link : \"\";\n let className = style.contentBox + colorClass + linkClass;\n const bodyContent = props.content?.length ? props.content : props.children;\n if (props.href) {\n return (\n <a href={props.href} className={className}>\n {renderTitle()}\n <div className={style.content}>{bodyContent}</div>\n </a>\n );\n } else {\n return (\n <div className={className}>\n {renderTitle()}\n <div className={style.content}>{bodyContent}</div>\n </div>\n );\n }\n};\n\nContentBox.propTypes = {\n /** Content title inside box */\n title: PropTypes.string,\n titleSize: PropTypes.oneOf([\"regular\", \"large\"]),\n /** Text content inside box */\n content: PropTypes.string,\n /** HTML content inside box if not content is set */\n children: PropTypes.any,\n color: PropTypes.oneOf([\n \"default\",\n \"secondary\"\n ])\n};\n\nContentBox.defaultProps = {\n title: null,\n titleSize: \"regular\",\n href: null,\n content: \"\",\n color: \"default\"\n};\n\nexport default ContentBox;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Helpers\nimport { classNameArrayToClassNameString } from \"../functions/helpers\";\n\n// Stylesheets\nimport style from \"./DescriptionDetails.module.scss\";\n\nconst DescriptionDetails = ({ compact, titleWidth, children }) => {\n return (\n <dd\n className={classNameArrayToClassNameString([style.descriptionDetails, compact && style.compact])}\n style={{ \"--title-width\": titleWidth || null }}\n >\n {children}\n </dd>\n );\n};\n\nDescriptionDetails.propTypes = {\n compact: PropTypes.bool,\n titleWidth: PropTypes.string\n};\n\nDescriptionDetails.defaultProps = {\n compact: false\n};\n\nexport default DescriptionDetails;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Stylesheets\nimport style from \"./DescriptionList.module.scss\";\nimport { classNameArrayToClassNameString, cloneThroughFragments } from \"../functions/helpers\";\n\nconst DescriptionList = ({ compact, titleWidth, children }) => {\n const renderChildElements = (childElements) => {\n const childElementsthroughFragments = cloneThroughFragments(childElements);\n return childElementsthroughFragments.map((childElement, index) => {\n const childElementCopy = React.cloneElement(childElement, {\n compact: compact,\n titleWidth: titleWidth,\n key: `descriptionListItem-${index}`\n });\n return childElementCopy;\n });\n };\n\n const renderList = (children) => {\n let listElement = React.createElement(\n \"dl\",\n {\n className: classNameArrayToClassNameString([style.descriptionList, !!compact && style.compact]),\n style: { \"--title-width\": titleWidth || null }\n },\n renderChildElements(React.Children.toArray(children))\n );\n return listElement;\n };\n return renderList(children);\n};\n\nDescriptionList.propTypes = {\n compact: PropTypes.bool,\n titleWidth: PropTypes.string\n};\n\nDescriptionList.defaultProps = {\n compact: false\n};\n\nexport default DescriptionList;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Helpers\nimport { classNameArrayToClassNameString } from \"../functions/helpers\";\n\n// Stylesheets\nimport style from \"./DescriptionTerm.module.scss\";\n\nconst DescriptionTerm = ({ compact, titleWidth, children }) => {\n return (\n <dt\n className={classNameArrayToClassNameString([style.descriptionTerm, compact && style.compact])}\n style={{ \"--title-width\": titleWidth || null }}\n >\n {children}\n </dt>\n );\n};\nDescriptionTerm.propTypes = {\n compact: PropTypes.bool,\n titleWidth: PropTypes.string\n};\n\nDescriptionTerm.defaultProps = {\n compact: false\n};\n\nexport default DescriptionTerm;\n","export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='25'%20height='25'%3e%3cpath%20fill='%23072938'%20stroke='%23072938'%20stroke-linecap='round'%20stroke-width='3.23'%20d='m3.97%203.57%2017.44%2018.2m-17.44.01L21.41%203.57'/%3e%3c/svg%3e\"","// Dependencies\nimport React, { useCallback, useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\n\n// Assets\nimport xSymbol from '../assets/svg/x-symbol.svg?url';\n\n// Stylesheets\nimport style from './Dialog.module.scss';\nimport {\n addFocusTrapInsideElement,\n classNameArrayToClassNameString,\n} from '../functions/helpers';\n\nconst Dialog = (props) => {\n //const dialogContentRef = useRef();\n const dialogRef = useRef();\n const dialogContainerRef = useRef();\n\n const dialogContentRef = useCallback((element) => {\n if (!!element) {\n addFocusTrapInsideElement(element);\n }\n return element;\n }, []);\n\n useEffect(() => {\n if (typeof document === 'undefined') return;\n\n const keyDownFunction = (event) => {\n if (event.keyCode === 27 && props.onClickOutside) {\n props.onClickOutside();\n }\n };\n const handleClickOutside = (event) => {\n if (\n dialogContainerRef?.current &&\n !dialogContainerRef.current.contains(event.target)\n ) {\n props.onClickOutside();\n }\n };\n document.addEventListener('mousedown', handleClickOutside);\n document.addEventListener('keydown', keyDownFunction, false);\n }, [props, dialogContainerRef]);\n\n useEffect(() => {\n dialogRef.current.close();\n if (!props.hidden) {\n props.modal ? dialogRef.current.showModal() : dialogRef.current.show();\n }\n }, [dialogRef, props.hidden, props.modal]);\n\n const sideBarClassNames =\n props.attachTo?.length &&\n classNameArrayToClassNameString([style.isSidebar, style[props.attachTo]]);\n const dialogContentStyleProps = {\n '--max-width': props?.maxWidth?.length && props.maxWidth,\n };\n\n return (\n <dialog\n className={classNameArrayToClassNameString([\n style.dialog,\n sideBarClassNames,\n ])}\n ref={dialogRef}\n >\n <div\n ref={dialogContainerRef}\n className={style.dialogContainer}\n style={dialogContentStyleProps}\n >\n <div\n ref={dialogContentRef}\n className={classNameArrayToClassNameString([\n style.dialogContent,\n props.noPadding && style.noPadding,\n ])}\n >\n {props.closeButton ? (\n <button\n aria-label=\"Lukk dialog\"\n onClick={props.onClickOutside}\n className={classNameArrayToClassNameString([\n style.closeButton,\n props.noPadding && style.noPadding,\n ])}\n >\n <img src={xSymbol} alt=\"\" />\n </button>\n ) : null}\n <div aria-live=\"assertive\" role=\"dialog\">\n {props.children}\n </div>\n </div>\n </div>\n </dialog>\n );\n};\n\nDialog.propTypes = {\n /** Sets max width for modal content element */\n maxWidth: PropTypes.string,\n /** Removes padding from modal content element */\n noPadding: PropTypes.bool,\n /** Displays close button in upper right corner */\n closeButton: PropTypes.bool,\n /** Function for click outside modal content element or click on close button element */\n onClickOutside: PropTypes.func.isRequired,\n modal: PropTypes.bool,\n};\n\nDialog.defaultProps = {\n maxWidth: 'none',\n modal: false,\n};\n\nexport default Dialog;\n","export default \"data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20role='presentation'%3e%3cg%20clip-path='url(%23clip0_1089_7422)'%3e%3cmask%20id='mask0_1089_7422'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='20'%20style='mask-type:%20alpha;'%3e%3crect%20width='20'%20height='20'%20style='fill:%20white;'%3e%3c/rect%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1089_7422)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2010C0%204.4775%204.4775%200%2010%200C15.5225%200%2020%204.4775%2020%2010C20%2015.5225%2015.5225%2020%2010%2020C4.4775%2020%200%2015.5225%200%2010ZM11%2014.0766C11%2014.8122%2010.5188%2015.3333%209.83335%2015.3333C9.13335%2015.3333%208.66669%2014.8122%208.66669%2014.0766C8.66669%2013.341%209.13335%2012.8046%209.83335%2012.8046C10.5188%2012.8046%2011%2013.341%2011%2014.0766ZM10.65%2011.9463H8.98752L8.75419%204.66663H10.8834L10.65%2011.9463Z'%20style='fill:%20rgb(219,%200,%200);'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1089_7422'%3e%3crect%20width='20'%20height='20'%20fill='white'%3e%3c/rect%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\"","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Stylesheets\nimport style from \"./ErrorMessage.module.scss\";\n\n// Assets\nimport errorSign from \"../assets/svg/error-sign.svg?url\";\n\nconst ErrorMessage = (props) => {\n const getErrorElementProps = () => {\n return {\n id: !!props.id?.length ? props.id : null,\n className: style.errorMessage\n };\n };\n return props?.content?.length ? (\n <span aria-live=\"polite\" {...getErrorElementProps()}>\n <img src={errorSign} alt=\"\" className={style.errorSign} />\n {props.content}\n </span>\n ) : null;\n};\n\nErrorMessage.propTypes = {\n id: PropTypes.string,\n /** Text content inside error message */\n content: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.object]))\n ])\n};\n\nErrorMessage.defaultProps = {\n content: \"\"\n};\n\nexport default ErrorMessage;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Stylesheets\nimport style from \"./Label.module.scss\";\n\nconst Label = (props) => {\n let labelProps = { ...props };\n const htmlTag = props.htmlTag?.length ? props.htmlTag : \"label\";\n delete labelProps.inline;\n delete labelProps.normalCursor;\n delete labelProps.htmlTag;\n const className = `${style.label} ${props.inline ? style.inline : \"\"} ${\n props.normalCursor ? style.normalCursor : \"\"\n }`;\n const labelElement = React.createElement(\n htmlTag,\n {\n ...labelProps,\n className,\n id: props.id || null\n },\n props.children\n );\n return labelElement;\n};\n\nLabel.propTypes = {\n inline: PropTypes.bool,\n normalCursor: PropTypes.bool,\n htmlTag: PropTypes.string\n};\n\nLabel.defaultProps = {\n inline: false,\n normalCursor: false,\n htmlTag: \"label\"\n};\n\nexport default Label;\n","// Dependencies\nimport React, { useEffect, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Components\nimport Button from \"./Button\";\nimport ErrorMessage from \"./ErrorMessage\";\nimport Label from \"./Label\";\n\n// Assets\nimport asterisk from \"../assets/svg/asterisk.svg?url\";\n\n// Stylesheets\nimport style from \"./DragAndDropFileInput.module.scss\";\n\nconst DragAndDropFileInput = (props) => {\n // State\n const [highlight, setHighlight] = useState(false);\n\n // Refs\n const containerElementRef = useRef();\n const fileInputElementRef = useRef();\n\n const preventDefaults = (e) => {\n e.preventDefault();\n e.stopPropagation();\n };\n\n const renderValueAsText = (value, defaultContent) => {\n return value ? value : defaultContent;\n };\n\n const handleAddButtonOnClick = () => {\n fileInputElementRef.current.click();\n };\n\n const getErrorElementId = () => {\n return `${props.id}-errorMessage`;\n };\n\n const inputElementProps = {\n id: props.id,\n \"aria-describedby\":\n props.hasErrors && !!props.errorMessage?.length\n ? getErrorElementId()\n : !!props[\"aria-describedby\"]?.length\n ? props[\"aria-describedby\"]\n : null,\n \"aria-invalid\": props.hasErrors ? \"true\" : null,\n name: props.name,\n required: props.required\n };\n\n let buttonContent;\n if (props.selectedFileName) {\n buttonContent = props.buttonContentWhenSelectedFile ? props.buttonContentWhenSelectedFile : props.buttonContent;\n } else {\n buttonContent = props.buttonContent;\n }\n\n useEffect(() => {\n const handleFiles = (files) => {\n props.onDragAndDropChange(files);\n };\n\n const handleDrop = (e) => {\n const files = e.dataTransfer.files;\n handleFiles(files);\n };\n\n if (containerElementRef?.current) {\n // Prevent defaults\n containerElementRef.current.addEventListener(\"dragenter\", preventDefaults, false);\n containerElementRef.current.addEventListener(\"dragover\", preventDefaults, false);\n containerElementRef.current.addEventListener(\"dragleave\", preventDefaults, false);\n containerElementRef.current.addEventListener(\"drop\", preventDefaults, false);\n\n // Highlight\n containerElementRef.current.addEventListener(\n \"dragenter\",\n () => {\n setHighlight(true);\n },\n false\n );\n containerElementRef.current.addEventListener(\n \"dragover\",\n () => {\n setHighlight(true);\n },\n false\n );\n\n // Unhighlight\n containerElementRef.current.addEventListener(\n \"dragleave\",\n () => {\n setHighlight(false);\n },\n false\n );\n containerElementRef.current.addEventListener(\n \"drop\",\n () => {\n setHighlight(false);\n },\n false\n );\n\n // Hande drop\n containerElementRef.current.addEventListener(\"drop\", handleDrop, false);\n\n // Remove event listeners\n return () => {\n containerElementRef.current.removeEventListener(\"dragenter\", preventDefaults, false);\n containerElementRef.current.removeEventListener(\"dragover\", preventDefaults, false);\n containerElementRef.current.removeEventListener(\"dragleave\", preventDefaults, false);\n containerElementRef.current.removeEventListener(\"drop\", preventDefaults, false);\n\n containerElementRef.current.removeEventListener(\"dragenter\", () => setHighlight(true), false);\n containerElementRef.current.removeEventListener(\"dragover\", () => setHighlight(true), false);\n\n containerElementRef.current.removeEventListener(\"dragleave\", () => setHighlight(false), false);\n containerElementRef.current.removeEventListener(\"drop\", () => setHighlight(false), false);\n\n containerElementRef.current.removeEventListener(\"drop\", handleDrop, false);\n };\n }\n }, [props]);\n\n return (\n <div className={style.dragAndDropFileInput}>\n <Label htmlFor={props.id}>\n {props.label}\n {props.required && <img src={asterisk} alt=\"\" className={style.requiredSymbol} />}\n </Label>\n <div>{props.children}</div>\n {!props.contentOnly ? (\n <div\n ref={containerElementRef}\n className={`${style.dragAndDropContainer} ${highlight ? style.highlighted : \"\"}`}\n >\n {props.selectedFileName ? (\n <div>\n <span>\n <b>Valgt fil:</b> {props.selectedFileName}\n </span>\n </div>\n ) : (\n <div>Slipp fil her</div>\n )}\n <input\n {...inputElementProps}\n ref={fileInputElementRef}\n type=\"file\"\n onChange={props.onSelectChange}\n />\n {props.buttonContent ? (\n <React.Fragment>\n <div>{props.selectedFileName ? \"\" : \"eller klikk på knappen for å velge fil\"}</div>\n <Button\n size=\"small\"\n type=\"button\"\n color={props.buttonColor}\n onClick={() => handleAddButtonOnClick()}\n content={buttonContent}\n hasErrors={props.hasErrors}\n data-transaction-name={props[\"data-transaction-name\"]}\n />\n </React.Fragment>\n ) : null}\n </div>\n ) : null}\n\n {props.contentOnly ? <span>{renderValueAsText(props.selectedFileName, props.defaultContent)}</span> : \"\"}\n <ErrorMessage id={getErrorElementId()} content={props.errorMessage} />\n </div>\n );\n};\n\nDragAndDropFileInput.propTypes = {\n /** Text content inside list item */\n id: PropTypes.string.isRequired,\n name: PropTypes.string,\n onSelectChange: PropTypes.func.isRequired,\n onDragAndDropChange: PropTypes.func.isRequired,\n label: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.object]))\n ]),\n contentOnly: PropTypes.bool,\n buttonColor: PropTypes.string,\n buttonContent: PropTypes.string,\n buttonContentWhenSelectedFile: PropTypes.string,\n selectedFileName: PropTypes.string,\n defaultContent: PropTypes.string,\n hasErrors: PropTypes.bool,\n errorMessage: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.object]))\n ]),\n required: PropTypes.bool,\n \"data-transaction-name\": PropTypes.string\n};\n\nDragAndDropFileInput.defaultProps = {\n label: \"\",\n contentOnly: false,\n buttonColor: \"primary\",\n defaultContent: \"\",\n hasErrors: false,\n errorMessage: \"\",\n required: false\n};\n\nexport default DragAndDropFileInput;\n","export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2020%2020'%20role='presentation'%3e%3cpath%20d='M10%200C4.4775%200%200%204.4775%200%2010C0%2015.5225%204.4775%2020%2010%2020C15.5225%2020%2020%2015.5225%2020%2010C20%204.4775%2015.5225%200%2010%200ZM8.30583%2013.3417C8.77583%2011.8508%209.66583%2010.065%209.82333%209.61333C10.0508%208.9575%209.6475%208.66667%208.37333%209.7875L8.09%209.25417C9.54333%207.67333%2012.5358%207.31583%2011.5175%209.765C10.8817%2011.2942%2010.4267%2012.3267%2010.1667%2013.1233C9.7875%2014.2842%2010.745%2013.8133%2011.6825%2012.9475C11.81%2013.1558%2011.8517%2013.2233%2011.9792%2013.4633C9.8975%2015.445%207.58667%2015.62%208.30583%2013.3417ZM12.2575%206.53417C11.8142%206.91167%2011.1575%206.90333%2010.79%206.51583C10.4225%206.12833%2010.4842%205.50917%2010.9267%205.13167C11.37%204.75417%2012.0267%204.76333%2012.3942%205.15C12.76%205.53833%2012.7%206.1575%2012.2575%206.53417Z'%20style='fill:%20rgb(0,%2048,%2069);'%3e%3c/path%3e%3c/svg%3e\"","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Functions\nimport { classNameArrayToClassNameString } from \"../functions/helpers\";\n\n// Stylesheets\nimport style from \"./ErrorBox.module.scss\";\n\n// Assets\nimport infoSign from \"../assets/svg/info-sign.svg?url\";\n\nconst ErrorBox = (props) => {\n return (\n <div\n className={classNameArrayToClassNameString([\n style.errorBoxContainer,\n style[props.type],\n props.fullScreen && style.fullScreen\n ])}\n >\n <div className={classNameArrayToClassNameString([style.errorBox, props.fullScreen && style.fullScreen])}>\n <img src={infoSign} alt=\"\" className={style.infoSign} />\n {props.children}\n </div>\n </div>\n );\n};\n\nErrorBox.propTypes = {\n type: PropTypes.oneOf([\"warning\", \"error\"]),\n fullScreen: PropTypes.bool\n};\n\nErrorBox.defaultProps = {\n children: \"\",\n type: \"warning\",\n fullScreen: false\n};\n\nexport default ErrorBox;\n","// Dependencies\nimport React from 'react';\n\n// Components\nimport Container from './Container';\n\n// Stylesheets\nimport style from './Footer.module.scss';\n\n/**\n * Primary UI component for user interaction\n */\nconst Footer = (props) => {\n return (\n <footer className={style.footer}>\n <Container>{props.children}</Container>\n </footer>\n );\n};\n\nexport default Footer;\n","// Dependencies\nimport React from \"react\";\n\n// Stylesheets\nimport style from \"./InfoBox.module.scss\";\n\n// Assets\nimport infoSign from \"../assets/svg/info-sign.svg?url\";\n\nconst InfoBox = (props) => {\n return (\n <div className={style.infoBox}>\n <img src={infoSign} alt=\"\" className={style.infoSign} />\n {props.children}\n </div>\n );\n};\n\nInfoBox.defaultProps = {\n children: \"\"\n};\n\nexport default InfoBox;\n","export const generateRandomString = length => {\n let result = '';\n const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n const charactersLength = characters.length;\n for (let i = 0; i < length; i++) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n }\n return result;\n}\n","// Dependencies\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Components\nimport Button from './Button';\nimport Label from './Label';\nimport ErrorMessage from './ErrorMessage';\n\n// Functions\nimport { generateRandomString } from '../functions/generators';\nimport { classNameArrayToClassNameString } from '../functions/helpers';\n\n// Assets\nimport asterisk from '../assets/svg/asterisk.svg?url';\n\n// Stylesheets\nimport style from './InputField.module.scss';\n\nconst InputField = (props) => {\n const formatDate = (inputDate) => {\n if (!inputDate) {\n return null;\n }\n const date = new Date(inputDate);\n const year = date.getFullYear();\n const month =\n date.getMonth() + 1 < 10\n ? `0${date.getMonth() + 1}`\n : date.getMonth() + 1;\n const day = date.getDate() < 10 ? `0${date.getDate()}` : date.getDate();\n return `${day}.${month}.${year}`;\n };\n\n const renderValueAsText = (value, defaultContent) => {\n return props.type === 'date'\n ? value\n ? formatDate(value)\n : defaultContent\n : value\n ? value\n : defaultContent;\n };\n\n const getErrorElementId = () => {\n return `${props.id}-errorMessage`;\n };\n\n const getInputElementProps = (defaultValue, defaultKey, styleRules) => {\n return {\n name: props.name,\n readOnly: props.readOnly,\n disabled: props.disabled,\n required: props.required,\n type: props.type,\n role: props.role,\n id: props.id,\n key: defaultKey || `${props.id}-${generateRandomString(6)}`,\n min: props.min || null,\n max: props.max || null,\n onChange: props.onChange,\n onBlur: props.onBlur,\n [defaultValue ? 'defaultValue' : 'value']: defaultValue || props.value,\n placeholder: props.placeholder || null,\n className: props.hasErrors ? style.hasErrors : null,\n 'aria-describedby':\n props.hasErrors && !!props.errorMessage?.length\n ? getErrorElementId()\n : !!props['aria-describedby']?.length\n ? props['aria-describedby']\n : null,\n 'aria-invalid': props.hasErrors ? 'true' : null,\n 'aria-autocomplete': props['aria-autocomplete'] || null,\n style: styleRules,\n };\n };\n\n const defaultValue = props.defaultValue\n ? props.defaultValue\n : props.value || null;\n const defaultKey = props.elementKey || null;\n const styleRules = {\n ...(props.width?.length && { maxWidth: props.width }),\n };\n return (\n <div\n className={classNameArrayToClassNameString([\n style.inputField,\n style[props.type],\n props.noMargin && style.noMargin,\n ])}\n >\n <Label htmlFor={props.id}>\n {props.label}\n {props.required && (\n <img src={asterisk} alt=\"\" className={style.requiredSymbol} />\n )}\n {props.type === 'file' ? (\n <div className={style.fileInputContainer}>\n <span className={style.input}>{props.selectedFileName}</span>\n {props.buttonContent ? (\n <Button\n color={props.buttonColor}\n onClick={() => {\n if (typeof document !== 'undefined') {\n const el = document.getElementById(props.id);\n el?.click();\n }\n }}\n content={props.buttonContent}\n type=\"button\"\n />\n ) : null}\n </div>\n ) : null}\n </Label>\n {!props.contentOnly ? (\n <input\n {...getInputElementProps(defaultValue, defaultKey, styleRules)}\n />\n ) : (\n <span>\n {renderValueAsText(\n props.value || props.defaultValue,\n props.defaultContent\n )}\n </span>\n )}\n <ErrorMessage id={getErrorElementId()} content={props.errorMessage} />\n </div>\n );\n};\n\nInputField.propTypes = {\n id: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n onBlur: PropTypes.func,\n name: PropTypes.string,\n type: PropTypes.string,\n disabled: PropTypes.bool,\n required: PropTypes.bool,\n width: PropTypes.string,\n value: PropTypes.any,\n defaultValue: PropTypes.any,\n elementKey: PropTypes.string,\n label: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(\n PropTypes.oneOfType([PropTypes.string, PropTypes.object])\n ),\n ]),\n contentOnly: PropTypes.bool,\n buttonColor: PropTypes.oneOf(['primary', 'secondary']),\n buttonContent: PropTypes.string,\n selectedFileName: PropTypes.string,\n dateFormat: PropTypes.string,\n placeholder: PropTypes.string,\n defaultContent: PropTypes.string,\n 'aria-describedby': PropTypes.string,\n 'aria-autocomplete': PropTypes.oneOf(['none', 'inline', 'list', 'both']),\n hasErrors: PropTypes.bool,\n errorMessage: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(\n PropTypes.oneOfType([PropTypes.string, PropTypes.object])\n ),\n ]),\n noMargin: PropTypes.bool,\n};\n\nInputField.defaultProps = {\n onChange: () => {\n return false;\n },\n name: '',\n type: 'text',\n disabled: false,\n required: false,\n label: '',\n contentOnly: false,\n buttonColor: 'primary',\n dateFormat: 'd. MMMM, yyyy',\n placeholder: '',\n defaultContent: '',\n hasErrors: false,\n errorMessage: '',\n noMargin: false,\n};\n\nexport default InputField;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Stylesheets\nimport style from \"./Lead.module.scss\";\n\nconst Lead = ({ id, htmlTag, children }) => {\n const leadClass = style.lead;\n let leadElement = React.createElement(\n htmlTag,\n {\n className: leadClass,\n id: id || null\n },\n children\n );\n return leadElement;\n};\n\nLead.propTypes = {\n id: PropTypes.string,\n htmlTag: PropTypes.string\n};\n\nLead.defaultProps = {\n htmlTag: \"p\"\n};\n\nexport default Lead;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Helpers\nimport { cloneThroughFragments } from \"../functions/helpers\";\n\n// Stylesheets\nimport style from \"./List.module.scss\";\n\nconst List = (props) => {\n const renderChildElements = (childElements) => {\n const childElementsthroughFragments = cloneThroughFragments(childElements);\n return childElementsthroughFragments.map((childElement, index) => {\n const childElementCopy = React.cloneElement(childElement, {\n compact: props.compact,\n key: `listItem-${index}`\n });\n return childElementCopy;\n });\n };\n const renderList = (children) => {\n let listType = props.ordered ? \"ol\" : \"ul\";\n const defaultListStyle = props.ordered ? \"decimal\" : \"disc\";\n const scssValueProperty = \"--listStyle\";\n let listElement = React.createElement(\n listType,\n {\n className: `${style.list} ${!!props.compact ? style.compact : \"\"}`,\n style: { [scssValueProperty]: props.listStyle || defaultListStyle }\n },\n renderChildElements(React.Children.toArray(children))\n );\n return listElement;\n };\n return renderList(props.children);\n};\n\nList.propTypes = {\n listStyle: PropTypes.string,\n compact: PropTypes.bool,\n ordered: PropTypes.bool\n};\n\nList.defaultProps = {\n ordered: false,\n compact: false\n};\n\nexport default List;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Helpers\nimport { classNameArrayToClassNameString } from \"../functions/helpers\";\n\n// Stylesheets\nimport style from \"./ListItem.module.scss\";\n\nconst ListItem = ({compact, children}) => {\n return (\n <li className={classNameArrayToClassNameString([style.listItem, compact && style.compact])}>\n {children}\n </li>\n );\n};\n\nListItem.propTypes = {\n compact: PropTypes.bool\n};\n\nListItem.defaultProps = {\n compact: false\n};\n\nexport default ListItem;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Stylesheets\nimport style from \"./LoadingAnimation.module.scss\";\n\nconst LoadingAnimation = (props) => {\n return (\n <div className={props.fixed ? style.loadingAnimation + \" \" + style.fixed : style.loadingAnimation}>\n {props.message}\n </div>\n );\n};\n\nLoadingAnimation.propTypes = {\n fixed: PropTypes.bool,\n active: PropTypes.bool,\n /** Text content inside button */\n message: PropTypes.string\n};\n\nLoadingAnimation.defaultProps = {\n fixed: false,\n active: true,\n message: \"\"\n};\n\nexport default LoadingAnimation;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst NavigationBarListItem = (props) => {\n if (typeof props.listItem === \"string\") {\n return (\n <li>\n <span>{props.listItem}</span>\n </li>\n );\n } else if (typeof props.listItem === \"object\") {\n return (\n <li>\n <a href={props.listItem.href}>{props.listItem.name}</a>\n </li>\n );\n } else {\n return null;\n }\n};\n\nNavigationBarListItem.propTypes = {\n listItem: PropTypes.oneOfType([PropTypes.string, PropTypes.object])\n};\n\nexport default NavigationBarListItem;\n","export const getThemeLogo = (theme) => {\n return theme?.logo || null;\n};\n\nexport const getThemeLogoPadding = (theme) => {\n return theme?.logoPadding || null;\n};\n\nexport const getThemeAppName = (theme) => {\n return theme?.appName || null;\n};\n","export default \"data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2019.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='14%20337%20406%20110'%20style='enable-background:new%2014%20337%20406%20110;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{display:none;}%20.st1{fill:%23003045;}%20.st2{fill:%2389BAD6;}%20.st3{fill:%23FFFFFF;}%20.st4{display:inline;fill:%23FFFFFF;}%20.st5{display:inline;fill:%23D7D4D1;}%20%3c/style%3e%3cg%20id='skisse__x28_forstørret_x29_'%20class='st0'%3e%3c/g%3e%3cg%20id='logo'%3e%3crect%20id='XMLID_5_'%20x='14'%20y='337'%20class='st1'%20width='640'%20height='110'/%3e%3cg%20id='XMLID_82_'%3e%3crect%20id='XMLID_80_'%20x='14'%20y='337'%20class='st2'%20width='150'%20height='110'/%3e%3cg%20id='XMLID_74_'%3e%3cpolygon%20id='XMLID_79_'%20class='st3'%20points='75.1,420.7%2083.2,426.1%2083.2,389.4%20103,402.2%20103,384%2075.1,365.9%20'/%3e%3cpolygon%20id='XMLID_78_'%20class='st3'%20points='41.9,424.2%2041.9,404.7%2060.9,392.4%2060.9,350.3%2027.3,372.1%2027.3,433.7%20'/%3e%3cpolygon%20id='XMLID_77_'%20class='st3'%20points='106.1,381.9%20106.1,417.1%20118.9,425.4%20118.9,354.7%2091.6,372.5%20'/%3e%3cpolygon%20id='XMLID_76_'%20class='st3'%20points='64,350.3%2064,409.8%2071.9,404.7%2071.9,363.9%2071.9,355.5%20'/%3e%3cpolygon%20id='XMLID_75_'%20class='st3'%20points='128.4,385.6%20122.1,389.7%20122.1,423.4%20128.4,419.3%20150.7,433.7%20150.7,399.9%20'/%3e%3c/g%3e%3c/g%3e%3cg%20id='XMLID_6_'%3e%3crect%20id='XMLID_81_'%20x='164.5'%20y='367.5'%20class='st1'%20width='255.5'%20height='79.5'/%3e%3cg%20id='XMLID_7_'%3e%3cg%20id='XMLID_44_'%3e%3cpath%20id='XMLID_71_'%20class='st3'%20d='M187.3,385.6h4.7c5.5,0,8.7,2.2,8.7,8.2s-4,8.2-8.7,8.2h-4.7V385.6z%20M191.9,399.4%20c4.2,0,5.5-1.6,5.5-5.4c0-3.7-1.3-5.6-5.5-5.6h-1.5v11H191.9z'/%3e%3cpath%20id='XMLID_69_'%20class='st3'%20d='M203.5,385.6h3.2v16.5h-3.2V385.6z'/%3e%3cpath%20id='XMLID_66_'%20class='st3'%20d='M213.7,396h-0.2v6.1h-3.2v-16.5h4.7c3.8,0,6.4,1.4,6.4,4.9c0,2.8-1.7,4.6-4.4,5.2l5.6,6.3%20h-3.8L213.7,396z%20M215,393.7c2,0,3.2-1,3.2-2.9c0-1.9-1.2-2.7-3.2-2.7h-1.5v5.5h1.5V393.7z'/%3e%3cpath%20id='XMLID_64_'%20class='st3'%20d='M224.6,385.6h10.5v2.7h-7.3v4h4.9v2.5h-4.9v4.5h7.3v2.7h-10.5V385.6z'/%3e%3cpath%20id='XMLID_62_'%20class='st3'%20d='M238,385.6h3.2v7.4l6.5-7.3h3.3l-5.9,6.6l6.3,9.9h-3.6l-4.7-7.7l-1.9,2.1v5.5H238V385.6z'/%3e%3cpath%20id='XMLID_60_'%20class='st3'%20d='M256.8,388.4H252v-2.7h12.6v2.7H260v13.7h-3.2V388.4z'/%3e%3cpath%20id='XMLID_57_'%20class='st3'%20d='M265.7,393.9c0-5.7,4-8.6,8.1-8.6c4.8,0,8.1,3,8.1,8.6c0,5.7-4,8.6-8.1,8.6%20C269,402.5,265.7,399.6,265.7,393.9z%20M278.7,394c0-3.9-1.9-6-4.8-6s-4.8,2.1-4.8,5.8c0,3.9,1.9,6.1,4.8,6.1%20C276.7,399.8,278.7,397.7,278.7,394z'/%3e%3cpath%20id='XMLID_54_'%20class='st3'%20d='M288,396h-0.2v6.1h-3.2v-16.5h4.7c3.8,0,6.4,1.4,6.4,4.9c0,2.8-1.7,4.6-4.4,5.2l5.6,6.3%20h-3.8L288,396z%20M289.3,393.7c2,0,3.2-1,3.2-2.9c0-1.9-1.2-2.7-3.2-2.7h-1.5v5.5h1.5V393.7z'/%3e%3cpath%20id='XMLID_51_'%20class='st3'%20d='M303.1,387.3l-0.6-1.7h3.3l6.5,16.5H309l-1.3-3.4h-6.1l-1.3,3.4h-3.1L303.1,387.3z%20M302.5,396.4h4.4l-1.7-4.5l-0.5-1.4l-0.5,1.4L302.5,396.4z'/%3e%3cpath%20id='XMLID_49_'%20class='st3'%20d='M316,388.4h-4.7v-2.7h12.6v2.7h-4.7v13.7H316V388.4z'/%3e%3cpath%20id='XMLID_47_'%20class='st3'%20d='M326.2,385.6h10.5v2.7h-7.3v4h4.9v2.5h-4.9v4.5h7.3v2.7h-10.5V385.6z'/%3e%3cpath%20id='XMLID_45_'%20class='st3'%20d='M343.1,388.4h-4.7v-2.7H351v2.7h-4.7v13.7h-3.2L343.1,388.4L343.1,388.4z'/%3e%3c/g%3e%3cg%20id='XMLID_8_'%3e%3cpath%20id='XMLID_42_'%20class='st3'%20d='M187.3,412.3h10.3v2.7h-7.1v4.1h4.7v2.4h-4.7v7.2h-3.2V412.3z'/%3e%3cpath%20id='XMLID_39_'%20class='st3'%20d='M198.8,420.5c0-5.7,4-8.6,8.1-8.6c4.8,0,8.1,3,8.1,8.6c0,5.7-4,8.6-8.1,8.6%20C202.1,429.1,198.8,426.2,198.8,420.5z%20M211.7,420.6c0-3.9-1.9-6-4.8-6c-2.9,0-4.8,2.1-4.8,5.8c0,3.9,1.9,6.1,4.8,6.1%20C209.8,426.4,211.7,424.3,211.7,420.6z'/%3e%3cpath%20id='XMLID_36_'%20class='st3'%20d='M221.1,422.6h-0.2v6.1h-3.2v-16.4h4.7c3.8,0,6.4,1.4,6.4,4.9c0,2.8-1.7,4.6-4.4,5.2l5.6,6.3%20h-3.8L221.1,422.6z%20M222.4,420.3c2,0,3.2-1,3.2-2.9s-1.2-2.7-3.2-2.7h-1.5v5.5L222.4,420.3L222.4,420.3z'/%3e%3cpath%20id='XMLID_32_'%20class='st3'%20d='M237.8,412.3h4.9c4.5,0,6.4,1.5,6.4,4.1c0,2.3-1.3,3.4-3.1,3.8l0,0c2,0.3,3.3,1.3,3.3,3.9%20s-1.8,4.7-6.5,4.7h-5L237.8,412.3L237.8,412.3z%20M242.8,419c2.4,0,3.1-0.8,3.1-2.2c0-1.4-0.9-2-3.1-2H241v4.2H242.8z%20M243,426.1%20c2.4,0,3.2-0.8,3.2-2.3c0-1.4-0.8-2.3-3.2-2.3h-2v4.5h2V426.1z'/%3e%3cpath%20id='XMLID_30_'%20class='st3'%20d='M255.5,422l-5.4-9.7h3.5l3.6,6.9l3.7-6.9h3.2l-5.4,9.7v6.8h-3.2L255.5,422L255.5,422z'/%3e%3cpath%20id='XMLID_28_'%20class='st3'%20d='M264.5,420.5c0-5.7,3.6-8.6,8-8.6c2.7,0,4.3,0.8,5.2,1.6v3.6c-0.9-1.4-2.4-2.4-4.8-2.4%20c-3.3,0-5.2,2-5.2,5.7s1.8,6.2,4.7,6.2c0.8,0,1.5-0.1,2.1-0.3v-5.1h3.2v6.6c-1.1,0.7-2.9,1.4-5.4,1.4%20C267.7,429.1,264.5,426.3,264.5,420.5z'/%3e%3cpath%20id='XMLID_26_'%20class='st3'%20d='M280,420.5c0-5.7,3.6-8.6,8-8.6c2.7,0,4.3,0.8,5.2,1.6v3.6c-0.9-1.4-2.4-2.4-4.8-2.4%20c-3.3,0-5.2,2-5.2,5.7s1.8,6.2,4.7,6.2c0.8,0,1.5-0.1,2.1-0.3v-5.1h3.2v6.6c-1.1,0.7-2.9,1.4-5.4,1.4%20C283.2,429.1,280,426.3,280,420.5z'/%3e%3cpath%20id='XMLID_24_'%20class='st3'%20d='M296.5,412.3h3.2v7.3l6.5-7.3h3.3l-5.9,6.6l6.3,9.9h-3.6l-4.7-7.7l-1.9,2.1v5.5h-3.2%20L296.5,412.3L296.5,412.3z'/%3e%3cpath%20id='XMLID_22_'%20class='st3'%20d='M310.1,412.3h3.3l3.9,11.5h0.1l4-11.5h3.1l-5.9,16.5H316L310.1,412.3z'/%3e%3cpath%20id='XMLID_19_'%20class='st3'%20d='M329.2,413.9l-0.6-1.7h3.3l6.5,16.5h-3.3l-1.3-3.4h-6.1l-1.3,3.4h-3.1L329.2,413.9z%20M328.6,423h4.4l-1.7-4.5l-0.5-1.4l-0.5,1.4L328.6,423z'/%3e%3cpath%20id='XMLID_17_'%20class='st3'%20d='M340.4,412.3h3.2V426h6.1v2.8h-9.3L340.4,412.3L340.4,412.3z'/%3e%3cpath%20id='XMLID_15_'%20class='st3'%20d='M352.1,412.3h3.2v16.5h-3.2V412.3z'/%3e%3cpath%20id='XMLID_13_'%20class='st3'%20d='M362.3,415h-4.7v-2.7h12.6v2.7h-4.7v13.7h-3.2L362.3,415L362.3,415z'/%3e%3cpath%20id='XMLID_11_'%20class='st3'%20d='M372.6,412.3h10.5v2.7h-7.3v3.9h4.9v2.5h-4.9v4.6h7.3v2.7h-10.5V412.3z'/%3e%3cpath%20id='XMLID_9_'%20class='st3'%20d='M389.4,415h-4.7v-2.7h12.6v2.7h-4.7v13.7h-3.2L389.4,415L389.4,415z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='hamburgermeny'%20class='st0'%3e%3crect%20id='XMLID_94_'%20x='578'%20y='386'%20class='st4'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_95_'%20x='578'%20y='423'%20class='st4'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_96_'%20x='578'%20y='405'%20class='st4'%20width='60'%20height='6'/%3e%3c/g%3e%3cg%20id='hamburgermeny__hover'%20class='st0'%3e%3crect%20id='XMLID_97_'%20x='578'%20y='386'%20class='st5'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_93_'%20x='578'%20y='423'%20class='st5'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_91_'%20x='578'%20y='405'%20class='st5'%20width='60'%20height='6'/%3e%3c/g%3e%3c/svg%3e\"","export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20version='1.1'%20id='Layer_1'%20x='0px'%20y='0px'%20viewBox='0%200%20340.2%20412.5'%20style='enable-background:new%200%200%20340.2%20412.5;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23003045;}%20.st1{fill:%2389BAD6;}%20.st2{fill:%23FFFFFF;}%20%3c/style%3e%3cg%3e%3crect%20x='0'%20y='253.2'%20class='st0'%20width='340.2'%20height='105.8'/%3e%3crect%20x='0'%20class='st1'%20width='340.2'%20height='249.4'/%3e%3cg%3e%3cpolygon%20class='st2'%20points='138.5,189.9%20157,202%20157,118.8%20201.7,147.8%20201.7,106.6%20138.5,65.5%20'/%3e%3cpolygon%20class='st2'%20points='63.3,197.7%2063.3,153.5%20106.3,125.5%20106.3,30.2%2030.2,79.7%2030.2,219.2%20'/%3e%3cpolygon%20class='st2'%20points='208.9,101.9%20208.9,181.7%20238,200.5%20238,40.1%20175.9,80.4%20'/%3e%3cpolygon%20class='st2'%20points='113.4,30.2%20113.4,165.2%20131.4,153.5%20131.4,60.9%20131.4,41.9%20'/%3e%3cpolygon%20class='st2'%20points='259.5,110.2%20245.1,119.6%20245.1,195.9%20259.5,186.5%20309.9,219.2%20309.9,142.6%20'/%3e%3c/g%3e%3cpolygon%20class='st0'%20points='0,362.8%2075.6,412%2075.6,362.8%20'/%3e%3cg%3e%3cg%3e%3cpath%20class='st2'%20d='M30.2,277.5h6.2c7.3,0,11.6,2.9,11.6,11s-5.3,11-11.6,11h-6.2V277.5z%20M36.5,295.7c5.6,0,7.3-2.2,7.3-7.2%20c0-5-1.7-7.5-7.3-7.5h-2v14.6H36.5z'/%3e%3cpath%20class='st2'%20d='M51.9,277.5h4.3v21.9h-4.3V277.5z'/%3e%3cpath%20class='st2'%20d='M65.5,291.2h-0.2v8.2H61v-21.9h6.2c5.1,0,8.6,1.8,8.6,6.5c0,3.7-2.3,6.2-5.8,7l7.5,8.5h-5.1L65.5,291.2z%20M67.2,288.2c2.7,0,4.3-1.3,4.3-3.8c0-2.5-1.6-3.5-4.3-3.5h-1.9v7.4H67.2z'/%3e%3cpath%20class='st2'%20d='M80,277.5h14v3.6h-9.7v5.3h6.5v3.4h-6.5v6H94v3.6H80V277.5z'/%3e%3cpath%20class='st2'%20d='M97.8,277.5h4.3v9.8l8.7-9.8h4.4l-7.9,8.7l8.4,13.2h-4.8l-6.2-10.2l-2.6,2.8v7.4h-4.3V277.5z'/%3e%3cpath%20class='st2'%20d='M122.8,281.1h-6.3v-3.6h16.8v3.6H127v18.3h-4.3V281.1z'/%3e%3cpath%20class='st2'%20d='M134.7,288.4c0-7.6,5.4-11.5,10.8-11.5c6.4,0,10.8,3.9,10.8,11.5c0,7.6-5.4,11.5-10.8,11.5%20C139.1,299.9,134.7,296,134.7,288.4z%20M151.9,288.6c0-5.2-2.5-8-6.5-8c-3.9,0-6.5,2.8-6.5,7.7c0,5.2,2.5,8.1,6.5,8.1%20C149.4,296.3,151.9,293.5,151.9,288.6z'/%3e%3cpath%20class='st2'%20d='M164.4,291.2h-0.2v8.2h-4.3v-21.9h6.2c5.1,0,8.6,1.8,8.6,6.5c0,3.7-2.3,6.2-5.8,7l7.5,8.5h-5.1L164.4,291.2z%20M166.2,288.2c2.7,0,4.3-1.3,4.3-3.8c0-2.5-1.5-3.5-4.3-3.5h-1.9v7.4H166.2z'/%3e%3cpath%20class='st2'%20d='M184.5,279.7l-0.8-2.2h4.4l8.6,21.9h-4.5l-1.7-4.5h-8.1l-1.7,4.5h-4.1L184.5,279.7z%20M183.6,291.7h5.8l-2.3-6%20l-0.6-1.9l-0.6,1.9L183.6,291.7z'/%3e%3cpath%20class='st2'%20d='M201.7,281.1h-6.3v-3.6h16.8v3.6h-6.3v18.3h-4.3V281.1z'/%3e%3cpath%20class='st2'%20d='M215.3,277.5h14v3.6h-9.7v5.3h6.5v3.4h-6.5v6h9.7v3.6h-14V277.5z'/%3e%3cpath%20class='st2'%20d='M237.7,281.1h-6.3v-3.6h16.8v3.6H242v18.3h-4.3V281.1z'/%3e%3c/g%3e%3cg%3e%3cpath%20class='st2'%20d='M30.2,312.9H44v3.6h-9.5v5.5h6.2v3.3h-6.2v9.6h-4.3V312.9z'/%3e%3cpath%20class='st2'%20d='M45.6,323.9c0-7.6,5.4-11.5,10.8-11.5c6.4,0,10.8,3.9,10.8,11.5c0,7.6-5.4,11.5-10.8,11.5%20C50,335.3,45.6,331.4,45.6,323.9z%20M62.8,324c0-5.2-2.5-8-6.5-8c-3.9,0-6.5,2.8-6.5,7.7c0,5.2,2.5,8.1,6.5,8.1%20C60.3,331.7,62.8,328.9,62.8,324z'/%3e%3cpath%20class='st2'%20d='M75.3,326.7h-0.2v8.2h-4.3v-21.9H77c5.1,0,8.6,1.8,8.6,6.5c0,3.7-2.3,6.2-5.8,7l7.5,8.5h-5.1L75.3,326.7z%20M77,323.7c2.7,0,4.3-1.3,4.3-3.8c0-2.5-1.5-3.5-4.3-3.5h-1.9v7.4H77z'/%3e%3cpath%20class='st2'%20d='M97.6,312.9h6.5c6,0,8.5,2,8.5,5.5c0,3-1.7,4.5-4.1,5.1v0.1c2.6,0.5,4.5,1.7,4.5,5.1c0,3.5-2.5,6.2-8.6,6.2%20h-6.7V312.9z%20M104.3,321.9c3.2,0,4.1-1.1,4.1-2.9c0-1.8-1.2-2.6-4.1-2.6h-2.4v5.5H104.3z%20M104.4,331.3c3.2,0,4.3-1.1,4.3-3%20c0-1.9-1.1-3-4.3-3h-2.6v6H104.4z'/%3e%3cpath%20class='st2'%20d='M121.2,325.8l-7.2-12.9h4.7l4.8,9.2l4.9-9.2h4.2l-7.2,12.9v9h-4.3V325.8z'/%3e%3cpath%20class='st2'%20d='M133,323.9c0-7.6,4.8-11.5,10.7-11.5c3.6,0,5.7,1.1,6.9,2.1v4.8c-1.2-1.9-3.2-3.3-6.4-3.3%20c-4.4,0-6.9,2.7-6.9,7.7c0,5,2.4,8.3,6.3,8.3c1,0,2-0.1,2.7-0.4v-6.8h4.3v8.8c-1.5,1-3.9,1.8-7.2,1.8%20C137.3,335.3,133,331.5,133,323.9z'/%3e%3cpath%20class='st2'%20d='M153.8,323.9c0-7.6,4.8-11.5,10.7-11.5c3.6,0,5.7,1.1,6.9,2.1v4.8c-1.2-1.9-3.2-3.3-6.4-3.3%20c-4.4,0-6.9,2.7-6.9,7.7c0,5,2.4,8.3,6.3,8.3c1,0,2-0.1,2.7-0.4v-6.8h4.3v8.8c-1.5,1-3.9,1.8-7.2,1.8%20C158,335.3,153.8,331.5,153.8,323.9z'/%3e%3cpath%20class='st2'%20d='M175.7,312.9h4.3v9.8l8.7-9.8h4.4l-7.9,8.7l8.4,13.2h-4.8l-6.2-10.2l-2.6,2.8v7.4h-4.3V312.9z'/%3e%3cpath%20class='st2'%20d='M193.8,312.9h4.4l5.2,15.4h0.1l5.3-15.4h4.1l-7.9,21.9h-3.5L193.8,312.9z'/%3e%3cpath%20class='st2'%20d='M219.3,315.1l-0.8-2.2h4.4l8.6,21.9h-4.5l-1.7-4.5h-8.1l-1.7,4.5h-4.1L219.3,315.1z%20M218.4,327.1h5.8l-2.3-6%20l-0.6-1.9l-0.6,1.9L218.4,327.1z'/%3e%3cpath%20class='st2'%20d='M234.1,312.9h4.3v18.3h8.2v3.7h-12.4V312.9z'/%3e%3cpath%20class='st2'%20d='M249.7,312.9h4.3v21.9h-4.3V312.9z'/%3e%3cpath%20class='st2'%20d='M263.4,316.5h-6.3v-3.6h16.8v3.6h-6.3v18.3h-4.3V316.5z'/%3e%3cpath%20class='st2'%20d='M277,312.9h14v3.6h-9.7v5.3h6.5v3.4h-6.5v6h9.7v3.6h-14V312.9z'/%3e%3cpath%20class='st2'%20d='M299.4,316.5h-6.3v-3.6h16.8v3.6h-6.3v18.3h-4.3V316.5z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e\"","// Dependencies\nimport React, { Fragment, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Components\nimport NavigationBarListItem from \"./NavigationBarListItem\";\n\n// Functions\nimport { getThemeAppName, getThemeLogo, getThemeLogoPadding } from \"../functions/theme\";\nimport { classNameArrayToClassNameString } from \"../functions/helpers\";\n\n// Assets\nimport compactLogo from \"../assets/svg/dibk-logo-mobile.svg?url\";\nimport logo from \"../assets/svg/dibk-logo.svg?url\";\n\n// Stylesheets\nimport style from \"./NavigationBar.module.scss\";\n\nconst NavigationBar = (props) => {\n // State\n const [active, setActive] = useState(false);\n\n const toggleList = () => {\n setActive(!active);\n };\n\n const getLogoThemeStyle = (theme) => {\n return {\n padding: getThemeLogoPadding(theme)\n };\n };\n\n const renderPrimaryList = (items = props.primaryListItems, iteration = 0) => {\n let listItems = items.map((listItem, i) => {\n let key = iteration + \"-\" + i;\n if (listItem.listItems !== undefined) {\n return (\n <li key={key}>\n <span>{listItem.name}</span>\n {renderPrimaryList(listItem.listItems, iteration + 1)}\n </li>\n );\n } else {\n return <NavigationBarListItem listItem={listItem} key={key} theme={props.theme} />;\n }\n });\n return !!listItems?.length && <ul className={style.primaryList}>{listItems}</ul>;\n };\n\n const renderSecondaryList = () => {\n let listItems = props.secondaryListItems.map((listItem, i) => {\n return <NavigationBarListItem listItem={listItem} key={i} theme={props.theme} />;\n });\n return !!listItems?.length && <ul className={style.secondaryList}>{listItems}</ul>;\n };\n\n const renderLogo = (logoLink, logoLinkTitle) => {\n const themeLogo = getThemeLogo(props.theme);\n const themeAppName = getThemeAppName(props.theme);\n\n const getLogoAltText = () => {\n if (logoLink && logoLinkTitle) {\n return \"\";\n } else if (themeLogo && themeAppName) {\n return `${themeAppName} logo`;\n } else {\n return \"DIBK logo\";\n }\n };\n\n const renderLogoElement = () => {\n const altText = getLogoAltText();\n return themeLogo ? (\n <img alt={altText} src={themeLogo} style={getLogoThemeStyle(props.theme)} />\n ) : (\n <img alt={altText} src={props.compact ? compactLogo : logo} />\n );\n };\n\n const logoLinkProps = {\n target: props.openLogoLinkInNewTab ? \"_blank\" : null,\n rel: props.openLogoLinkInNewTab ? \"noopener noreferrer\" : null\n };\n return logoLink && logoLink.length ? (\n <a {...logoLinkProps} href={logoLink} title={logoLinkTitle}>\n {renderLogoElement()}\n </a>\n ) : (\n renderLogoElement()\n );\n };\n\n const hasListItems = !!props.primaryListItems?.length || !!props.secondaryListItems?.length;\n\n return (\n <div\n className={classNameArrayToClassNameString([props.compact && style.compact, style.navigationBarContainer])}\n >\n {props.mainContentId?.length && (\n <a id=\"main-content-link\" href={`#${props.mainContentId}`} className={style.mainContentLink}>\n <span id=\"main-content-link-text\">Hopp til hovedinnhold</span>\n </a>\n )}\n <div\n className={classNameArrayToClassNameString([\n style.navigationBar,\n props.preventChildElementStacking && style.preventStacking\n ])}\n >\n <div className={style.logoContainer}>{renderLogo(props.logoLink, props.logoLinkTitle)}</div>\n {!!props.children && <div className={style.childElements}>{props.children}</div>}\n {hasListItems && (\n <button\n type=\"button\"\n className={`${style.menuToggle} ${active ? style.active : \"\"}`}\n onClick={() => toggleList()}\n aria-expanded={active ? \"true\" : \"false\"}\n aria-controls=\"main-menu-dropdown\"\n >\n {!props.compact && \"Meny\"}\n <span className={style.hamburgerIcon}>\n <span className={style.line}></span>\n <span className={style.line}></span>\n <span className={style.line}></span>\n </span>\n </button>\n )}\n </div>\n {hasListItems && (\n <Fragment>\n <div className={classNameArrayToClassNameString([style.dropdownContainer, active && style.active])}>\n <div id=\"main-menu-dropdown\" className={style.dropdown}>\n {renderPrimaryList()}\n {renderSecondaryList()}\n </div>\n </div>\n </Fragment>\n )}\n </div>\n );\n};\n\nNavigationBar.propTypes = {\n /** Main links in navigation bar */\n primaryListItems: PropTypes.array,\n /** Secondary links in navigation bar */\n secondaryListItems: PropTypes.array,\n /** Link for logo */\n logoLink: PropTypes.string,\n /** Title for the logo link */\n logoLinkTitle: PropTypes.string,\n /** Opens logo link in a new tab on click */\n openLogoLinkInNewTab: PropTypes.bool,\n /** Theme for navigation bar */\n theme: PropTypes.object,\n /** Prevent stacking of child elements on smaller screens */\n preventChildElementStacking: PropTypes.bool\n};\n\nNavigationBar.defaultProps = {\n primaryListItems: [],\n secondaryListItems: [],\n logoLink: null,\n preventChildElementStacking: false\n};\n\nexport default NavigationBar;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Stylesheets\nimport style from \"./Paper.module.scss\";\n\nconst Paper = (props) => {\n return (\n <div\n className={`${style.paper} ${props.noMargin ? style.noMargin : \"\"} ${\n props.noPadding ? style.noPadding : \"\"\n }`}\n >\n {props.children}\n </div>\n );\n};\n\nPaper.propTypes = {\n noMargin: PropTypes.bool,\n noPadding: PropTypes.bool\n};\n\nPaper.defaultProps = {\n noMargin: false,\n noPadding: false\n};\n\nexport default Paper;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Stylesheets\nimport style from \"./ProgressBar.module.scss\";\n\nconst ProgressBar = (props) => {\n const scssValueProperty = \"--value\";\n return (\n <div\n className={`${style.progressBar} ${props.hasErrors ? style.hasErrors : \"\"}`}\n role=\"progressbar\"\n aria-valuenow={props.progress || 0}\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n style={{ [scssValueProperty]: props.progress || 0 }}\n ></div>\n );\n};\n\nProgressBar.propTypes = {\n progress: PropTypes.number,\n hasErrors: PropTypes.bool\n};\n\nProgressBar.defaultProps = {\n progress: 0,\n hasErrors: false\n};\n\nexport default ProgressBar;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Stylesheets\nimport style from \"./RadioButtonIcon.module.scss\";\n\n/**\n * Primary UI component for user interaction\n */\nconst RadioButtonIcon = (props) => {\n let inlineStyle = {\n height: props.size,\n width: props.size\n };\n const radioButtonIconProps = {\n className: `${style.radioButtonIcon} ${props.checked ? style.checked : \"\"} ${\n props.disabled ? style.disabled : \"\"\n } ${props.hasErrors ? style.hasErrors : \"\"}`,\n style: inlineStyle\n };\n return <span {...radioButtonIconProps}></span>;\n};\n\nRadioButtonIcon.propTypes = {\n /**\n * How large should the radio button icon be?\n */\n size: PropTypes.string,\n checked: PropTypes.bool,\n disabled: PropTypes.bool,\n hasErrors: PropTypes.bool\n};\n\nRadioButtonIcon.defaultProps = {\n size: \"10px\",\n checked: false,\n disabled: false,\n hasErrors: false\n};\n\nexport default RadioButtonIcon;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Components\nimport RadioButtonIcon from \"./RadioButtonIcon\";\n\n// Assets\nimport asterisk from \"../assets/svg/asterisk.svg?url\";\n\n// Stylesheets\nimport style from \"./RadioButtonInput.module.scss\";\n\nconst RadioButtonInput = (props) => {\n const labelProps = {\n className: `${style.radioButtonInput} ${props.checked ? style.checked : \"\"} ${\n props.disabled ? style.disabled : \"\"\n } ${props.hasErrors ? style.hasErrors : \"\"}`,\n htmlFor: props.id\n };\n\n const iconProps = {\n checked: props.checked,\n disabled: props.disabled,\n hasErrors: !props.contentOnly && props.hasErrors\n };\n\n const inputProps = {\n id: props.id,\n name: props.name || null,\n type: \"radio\",\n value: props.inputValue,\n checked: props.checked,\n disabled: props.disabled,\n required: props.required || props.requiredGroup,\n onChange: props.onChange,\n tabIndex: props.tabIndex || null,\n \"aria-controls\": props[\"aria-controls\"],\n \"aria-invalid\": props.hasErrors ? \"true\" : null,\n \"aria-describedby\": props[\"aria-describedby\"]\n };\n\n return (\n <label {...labelProps}>\n {!props.contentOnly ? (\n <React.Fragment>\n <RadioButtonIcon {...iconProps} />\n <input {...inputProps} />\n </React.Fragment>\n ) : null}\n <span className={style.labelText}>\n {props.children}\n {props.required && <img src={asterisk} alt=\"\" className={style.requiredSymbol} />}\n </span>\n </label>\n );\n};\n\nRadioButtonInput.propTypes = {\n checked: PropTypes.bool,\n disabled: PropTypes.bool,\n required: PropTypes.bool,\n requiredGroup: PropTypes.bool,\n id: PropTypes.string.isRequired,\n name: PropTypes.string,\n onChange: PropTypes.func,\n contentOnly: PropTypes.bool,\n hasErrors: PropTypes.bool,\n inputValue: PropTypes.string.isRequired,\n \"aria-controls\": PropTypes.string,\n \"aria-describedby\": PropTypes.string\n};\n\nRadioButtonInput.defaultProps = {\n name: \"\",\n checked: false,\n disabled: false,\n required: false,\n requiredGroup: false,\n contentOnly: false,\n hasErrors: false\n};\n\nexport default RadioButtonInput;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Helpers\nimport { cloneThroughFragments } from \"../functions/helpers\";\n\n// Assets\nimport asterisk from \"../assets/svg/asterisk.svg?url\";\n\n// Stylesheets\nimport style from \"./RadioButtonList.module.scss\";\nimport Header from \"./Header\";\n\nconst RadioButtonList = ({ required, compact, legend, legendSize, children }) => {\n const renderChildElements = (childElements) => {\n const childElementsthroughFragments = cloneThroughFragments(childElements);\n return childElementsthroughFragments.map((childElement, index) => {\n const isRadioButtonListItem = childElement?.props?.type === \"RadioButtonListItem\";\n if (isRadioButtonListItem) {\n const childElementCopy = React.cloneElement(childElement, {\n requiredGroup: required,\n compact: compact,\n key: `radioButtonListItem-${index}`\n });\n return childElementCopy;\n } else {\n return childElement;\n }\n });\n };\n\n return (\n <fieldset className={style.radioButtonList}>\n {!!legend?.length ? (\n <legend>\n {legendSize ? <Header size={legendSize}>{legend}</Header> : legend}\n {required && <img src={asterisk} alt=\"\" className={style.requiredSymbol} />}\n </legend>\n ) : null}\n {renderChildElements(React.Children.toArray(children))}\n </fieldset>\n );\n};\n\nRadioButtonList.propTypes = {\n legend: PropTypes.string,\n legendSize: PropTypes.oneOf([1, 2, 3, 4, 5]),\n required: PropTypes.bool,\n compact: PropTypes.bool\n};\n\nexport default RadioButtonList;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Components\nimport RadioButtonInput from \"./RadioButtonInput\";\n\n// Functions\nimport { classNameArrayToClassNameString } from \"../functions/helpers\";\n\n// Stylesheets\nimport style from \"./RadioButtonListItem.module.scss\";\n\nconst RadioButtonListItem = (props) => {\n const listItemClassNameArray = [\n style.radioButtonListItem,\n props.checked ? style.checked : null,\n props.disabled ? style.disabled : null,\n props.compact ? style.compact : null,\n props.contentOnly ? style.contentOnly : null,\n props.hasErrors ? style.hasErrors : null\n ];\n const listItemClassNameString = classNameArrayToClassNameString(listItemClassNameArray);\n const inputProps = {\n onChange: props.onChange,\n inputValue: props.inputValue,\n checked: props.checked,\n disabled: props.disabled,\n required: props.required,\n requiredGroup: props.requiredGroup,\n contentOnly: props.contentOnly,\n hasErrors: props.hasErrors,\n \"aria-controls\": props[\"aria-controls\"],\n \"aria-describedby\": props[\"aria-describedby\"],\n id: props.id,\n name: props.name\n };\n return (\n <div className={listItemClassNameString}>\n <RadioButtonInput {...inputProps}>{props.children}</RadioButtonInput>\n </div>\n );\n};\n\nRadioButtonListItem.propTypes = {\n inputValue: PropTypes.string.isRequired,\n checked: PropTypes.bool,\n disabled: PropTypes.bool,\n required: PropTypes.bool,\n requiredGroup: PropTypes.bool,\n name: PropTypes.string,\n id: PropTypes.string.isRequired,\n onChange: PropTypes.func,\n contentOnly: PropTypes.bool,\n compact: PropTypes.bool,\n hasErrors: PropTypes.bool,\n \"aria-controls\": PropTypes.string,\n \"aria-describedby\": PropTypes.string\n};\n\nRadioButtonListItem.defaultProps = {\n name: \"\",\n checked: false,\n required: false,\n requiredGroup: false,\n disabled: false,\n contentOnly: false,\n hasErrors: false,\n type: \"RadioButtonListItem\"\n};\n\nexport default RadioButtonListItem;\n","// Dependencies\nimport React, { useCallback, useEffect, useRef, useState } from 'react';\nimport PropTypes from 'prop-types';\n\n// Components\nimport Label from './Label';\nimport ErrorMessage from './ErrorMessage';\nimport CheckBoxList from './CheckBoxList';\nimport CheckBoxListItem from './CheckBoxListItem';\n\n// Functions\nimport { generateRandomString } from '../functions/generators';\nimport {\n addFocusTrapInsideElement,\n classNameArrayToClassNameString,\n} from '../functions/helpers';\n\n// Assets\nimport asterisk from '../assets/svg/asterisk.svg?url';\n\n// Stylesheets\nimport style from './Select.module.scss';\n\nconst Select = (props) => {\n const [showDropdownList, setShowDropdownList] = useState(false);\n\n const dropdownRef = useRef();\n\n const wrapperRef = useCallback((element) => {\n if (!!element) {\n addFocusTrapInsideElement(element);\n }\n }, []);\n\n const hideDropdownList = () => {\n setShowDropdownList(false);\n };\n\n useEffect(() => {\n if (typeof document === 'undefined') return;\n\n const keyDownFunction = (event) => {\n if (event.keyCode === 27) hideDropdownList();\n };\n const handleClickOutside = (event) => {\n if (dropdownRef?.current && !dropdownRef.current.contains(event.target)) {\n hideDropdownList();\n }\n };\n document.addEventListener('mousedown', handleClickOutside);\n document.addEventListener('keydown', keyDownFunction, false);\n }, [props, wrapperRef]);\n\n const getKeyByValue = (value, options) => {\n const selectedOption =\n options && options.length\n ? options.find((option) => {\n if (typeof option === 'object') {\n return option.value === value;\n } else {\n return option === value;\n }\n })\n : null;\n if (selectedOption && selectedOption.key) {\n return selectedOption.key;\n } else if (selectedOption && selectedOption.value) {\n return selectedOption.value;\n } else {\n return selectedOption;\n }\n };\n\n const createOptionObject = (option) => {\n if (typeof option === 'object') {\n return {\n key: option.key ? option.key : '',\n value: option.value ? option.value : '',\n };\n } else {\n return {\n key: option,\n value: option,\n };\n }\n };\n\n const renderSelectedValues = (options, selectElementProps) => {\n const selectedValues =\n selectElementProps.defaultValue || selectElementProps.value;\n return selectedValues?.length\n ? selectedValues\n .map((value) => {\n const keyForValue = getKeyByValue(value, options);\n return keyForValue;\n })\n .join(', ')\n : null;\n };\n\n const renderCheckBoxElements = (options, selectElementProps) => {\n return options.map((option, index) => {\n let optionObject = createOptionObject(option);\n const selectedValues =\n selectElementProps.defaultValue || selectElementProps.value;\n const isSelected =\n selectedValues &&\n selectedValues.length &&\n selectedValues.includes(optionObject.value);\n return (\n <CheckBoxListItem\n key={index}\n id={`${props.id}-${index}`}\n value={optionObject.value}\n checked={isSelected}\n onChange={() => selectElementProps.onChange(optionObject.value)}\n >\n {optionObject.key}\n </CheckBoxListItem>\n );\n });\n };\n\n const renderOptionElements = (options) => {\n return options.map((option, key) => {\n let optionObject = createOptionObject(option);\n return (\n <option value={optionObject.value} key={key}>\n {optionObject.key}\n </option>\n );\n });\n };\n\n const renderPlaceholderOption = (placeholder, placeholderValue) => {\n return placeholder ? (\n <option value={placeholderValue || ''} disabled>\n {placeholder}\n </option>\n ) : (\n ''\n );\n };\n\n const getErrorElementId = () => {\n return `${props.id}-errorMessage`;\n };\n\n if (props.contentOnly) {\n const value = props.defaultValue ? props.defaultValue : props.value || null;\n return (\n <div className={style.select}>\n <Label htmlFor={props.id}>{props.label}</Label>\n <span>\n {value\n ? props.keyAsContent\n ? getKeyByValue(value, props.options)\n : value\n : props.defaultContent}\n </span>\n </div>\n );\n } else {\n const defaultValue =\n !props.value && props.defaultValue ? props.defaultValue : false;\n const styleRules = {\n ...(props.width?.length && { maxWidth: props.width }),\n };\n const className = classNameArrayToClassNameString([\n props.hasErrors && style.hasErrors,\n props.multiple && style.multiple,\n ]);\n const selectElementProps = {\n name: props.name,\n multiple: props.multiple,\n required: props.required,\n disabled: props.disabled,\n [defaultValue ? 'defaultValue' : 'value']:\n defaultValue || props.value || '',\n onChange: props.onChange,\n id: props.id,\n role: props.role,\n key: `${props.id}-${generateRandomString(6)}`,\n className,\n 'aria-describedby':\n props.hasErrors && !!props.errorMessage?.length\n ? getErrorElementId()\n : !!props['aria-describedby']?.length\n ? props['aria-describedby']\n : null,\n 'aria-invalid': props.hasErrors ? 'true' : null,\n style: styleRules,\n };\n return (\n <div className={style.select}>\n <Label htmlFor={props.id}>\n {props.label}\n {props.required && (\n <img src={asterisk} alt=\"\" className={style.requiredSymbol} />\n )}\n </Label>\n\n <div\n className={style.selectContainer}\n style={{ ...(props.width?.length && { maxWidth: props.width }) }}\n >\n <span className={style.selectListArrow}></span>\n {props.multiple ? (\n <div ref={dropdownRef}>\n <div\n onClick={() => {\n setShowDropdownList(!showDropdownList);\n }}\n className={style.multipleSelectElement}\n >\n {renderSelectedValues(props.options, selectElementProps)}\n </div>\n {showDropdownList ? (\n <div className={style.multipleSelectDropdown}>\n <CheckBoxList compact>\n {renderCheckBoxElements(props.options, selectElementProps)}\n </CheckBoxList>\n </div>\n ) : null}\n </div>\n ) : (\n <select {...selectElementProps}>\n {renderPlaceholderOption(\n props.placeholder,\n props.placeholderValue\n )}\n {renderOptionElements(props.options)}\n </select>\n )}\n </div>\n\n <ErrorMessage id={getErrorElementId()} content={props.errorMessage} />\n </div>\n );\n }\n};\n\nSelect.propTypes = {\n id: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n name: PropTypes.string,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n multiple: PropTypes.bool,\n options: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n PropTypes.shape({\n key: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n }),\n ])\n ),\n width: PropTypes.string,\n value: PropTypes.any,\n defaultValue: PropTypes.any,\n label: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(\n PropTypes.oneOfType([PropTypes.string, PropTypes.object])\n ),\n ]),\n contentOnly: PropTypes.bool,\n keyAsContent: PropTypes.bool,\n placeholder: PropTypes.string,\n placeholderValue: PropTypes.string,\n defaultContent: PropTypes.string,\n 'aria-describedby': PropTypes.string,\n hasErrors: PropTypes.bool,\n errorMessage: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(\n PropTypes.oneOfType([PropTypes.string, PropTypes.object])\n ),\n ]),\n};\nSelect.defaultProps = {\n onChange: () => {\n return false;\n },\n name: '',\n required: false,\n disabled: false,\n options: [],\n label: '',\n contentOnly: false,\n keyAsContent: false,\n placeholder: null,\n placeholderValue: '',\n defaultContent: null,\n hasErrors: false,\n errorMessage: '',\n};\nexport default Select;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Helpers\nimport { classNameArrayToClassNameString } from \"../functions/helpers\";\n\n// Stylesheets\nimport style from \"./Table.module.scss\";\n\nconst getCaptionAlignClass = (captionAlign) => {\n const defaultValue = \"left\";\n const availableValues = [\"left\", \"center\", \"right\"];\n return captionAlign?.length && availableValues.includes(captionAlign)\n ? style[`captionAlign-${captionAlign}`]\n : style[`captionAlign-${defaultValue}`];\n};\n\nconst getCaptionSideClass = (captionSide) => {\n const defaultValue = \"top\";\n const availableValues = [\"top\", \"bottom\"];\n return captionSide?.length && availableValues.includes(captionSide)\n ? style[`captionSide-${captionSide}`]\n : style[`captionSide-${defaultValue}`];\n};\n\nconst Table = (props) => {\n return (\n <table\n className={classNameArrayToClassNameString([\n style.table,\n getCaptionAlignClass(props.captionAlign),\n getCaptionSideClass(props.captionSide)\n ])}\n >\n {props.children}\n </table>\n );\n};\n\nTable.propTypes = {\n captionAlign: PropTypes.oneOf([\"left\", \"center\", \"right\"]),\n captionSide: PropTypes.oneOf([\"top\", \"bottom\"])\n};\n\nexport default Table;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Components\nimport Label from \"./Label\";\nimport ErrorMessage from \"./ErrorMessage\";\n\n// Functions\nimport { generateRandomString } from \"../functions/generators\";\n\n// Assets\nimport asterisk from \"../assets/svg/asterisk.svg?url\";\n\n// Stylesheets\nimport style from \"./Textarea.module.scss\";\n\nconst Textarea = (props) => {\n const renderValueAsText = (value, defaultContent) => {\n return value ? value : defaultContent;\n };\n\n const getErrorElementId = () => {\n return `${props.id}-errorMessage`;\n };\n\n const renderInputField = () => {\n const defaultValue = !props.value?.length && props.defaultValue?.length ? props.defaultValue : false;\n const defaultKey = props.elementKey || null;\n const styleRules = {\n ...(props.width?.length && { maxWidth: props.width }),\n ...(props.resize?.length && { resize: props.resize })\n };\n const textareaElementProps = {\n name: props.name,\n readOnly: props.readOnly,\n disabled: props.disabled,\n required: props.required,\n type: props.type,\n id: props.id,\n key: defaultKey || `${props.id}-${generateRandomString(6)}`,\n onChange: props.onChange,\n onBlur: props.onBlur,\n [defaultValue ? \"defaultValue\" : \"value\"]: defaultValue || props.value,\n placeholder: props.placeholder,\n rows: props.rows,\n className: props.hasErrors ? style.hasErrors : \"\",\n \"aria-describedby\":\n props.hasErrors && !!props.errorMessage?.length\n ? getErrorElementId()\n : !!props[\"aria-describedby\"]?.length\n ? props[\"aria-describedby\"]\n : null,\n \"aria-invalid\": props.hasErrors ? \"true\" : null,\n style: styleRules\n };\n\n return <textarea {...textareaElementProps} />;\n };\n return (\n <div className={style.textarea}>\n <Label htmlFor={props.id}>\n {props.label}\n {props.required && <img src={asterisk} alt=\"\" className={style.requiredSymbol} />}\n </Label>\n {!props.contentOnly ? (\n renderInputField()\n ) : (\n <span>{renderValueAsText(props.value || props.defaultValue, props.defaultContent)}</span>\n )}\n <ErrorMessage id={getErrorElementId()} content={props.errorMessage} />\n </div>\n );\n};\n\nTextarea.propTypes = {\n /** Text content inside list item */\n id: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n onBlur: PropTypes.func,\n name: PropTypes.string,\n type: PropTypes.string,\n required: PropTypes.bool,\n width: PropTypes.string,\n resize: PropTypes.oneOf([\"both\", \"horizontal\", \"vertical\", \"none\"]),\n value: PropTypes.string,\n defaultValue: PropTypes.string,\n elementKey: PropTypes.string,\n rows: PropTypes.string,\n label: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.object]))\n ]),\n contentOnly: PropTypes.bool,\n placeholder: PropTypes.string,\n defaultContent: PropTypes.string,\n \"aria-describedby\": PropTypes.string,\n hasErrors: PropTypes.bool,\n errorMessage: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.object]))\n ])\n};\n\nTextarea.defaultProps = {\n onChange: () => {\n return false;\n },\n name: \"\",\n type: \"text\",\n required: false,\n label: \"\",\n contentOnly: false,\n resize: \"both\",\n placeholder: \"\",\n defaultContent: \"\",\n hasErrors: false,\n errorMessage: \"\"\n};\n\nexport default Textarea;\n","// Dependencies\nimport PropTypes from 'prop-types';\n\n// Helpers\nimport {\n addGlobalStylesheet,\n getCssVariablesFromTheme,\n stringifyCssColorVariables,\n} from '../functions/helpers';\n\n// Stylesheets\n/* eslint import/no-webpack-loader-syntax: off */\nimport './ThemeProvider.module.scss';\n\nconst ThemeProvider = ({ theme, children }) => {\n const cssVariablesFromTheme = getCssVariablesFromTheme(theme);\n const cssColorVariablesString = stringifyCssColorVariables(\n cssVariablesFromTheme\n );\n addGlobalStylesheet('theme-provider', `:root {${cssColorVariablesString}}`);\n return children;\n};\n\nThemeProvider.propTypes = {\n theme: PropTypes.object,\n};\n\nexport default ThemeProvider;\n","// Dependencies\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// Stylesheets\nimport style from \"./ToggleNavigationButton.module.scss\";\n\nconst ToggleNavigationButton = ({ id, htmlTag, showText, hideText, buttonProps, isOpen }) => {\n const elementClass = style.toggleNavigationButton;\n let element = React.createElement(\n htmlTag,\n {\n ...buttonProps,\n className: elementClass,\n id: id || null\n },\n isOpen ? hideText : showText\n );\n return element;\n};\n\nToggleNavigationButton.propTypes = {\n id: PropTypes.string,\n htmlTag: PropTypes.string,\n showText: PropTypes.string,\n hideText: PropTypes.string,\n buttonProps: PropTypes.object,\n isOpen: PropTypes.bool\n};\n\nToggleNavigationButton.defaultProps = {\n htmlTag: \"button\",\n isOpen: false\n};\n\nexport default ToggleNavigationButton;\n","export default \"data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20aria-label='Ferdig'%20style='fill:%20rgb(23,%20121,%2018);'%3e%3cmask%20id='mask0_1089_7430'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='20'%20style='mask-type:%20alpha;'%3e%3crect%20width='20'%20height='20'%3e%3c/rect%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1089_7430)'%3e%3cpath%20d='M5.71427%208.57149L3.80951%2010.4762L8.57141%2015.2382L17.1428%206.66672L15.2381%204.76196L8.57141%2011.4286L5.71427%208.57149Z'%3e%3c/path%3e%3c/g%3e%3c/svg%3e\"","import React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\nimport { classNameArrayToClassNameString } from '../functions/helpers';\nimport style from './Step.module.scss';\nimport checkmarkSymbol from '../assets/svg/checkmark-symbol.svg?url';\n\nconst Step = (props) => {\n const {\n step,\n index,\n activeStepId,\n direction,\n linkComponent: LinkComponent,\n } = props;\n\n const getActiveClass = (step) =>\n activeStepId === step.id ? style.active : '';\n const getFinishedClass = (step) => (step.finished ? style.finished : '');\n const getErrorClass = (step) => (step.hasErrors ? style.hasErrors : '');\n\n const renderStepContent = () => {\n const isActiveStep = activeStepId === step.id;\n const isVertical = direction === 'vertical';\n const showCheckmark = isVertical && step.finished && !isActiveStep;\n return (\n <>\n <span className={style.stepNumber}>{index + 1}</span>\n <span className={style.stepName}>{step.name}</span>\n {showCheckmark && (\n <img src={checkmarkSymbol} alt=\"\" className={style.checkmarkSymbol} />\n )}\n </>\n );\n };\n\n const baseClassNames = classNameArrayToClassNameString([\n style.wizardTopnavItem,\n getActiveClass(step),\n getFinishedClass(step),\n getErrorClass(step),\n style[direction],\n ]);\n\n const ariaCurrent = activeStepId === step.id ? 'step' : null;\n\n if (step.link && Object.keys(step.link).length && LinkComponent) {\n return (\n <li className={baseClassNames}>\n <LinkComponent\n to={step.link}\n aria-current={ariaCurrent}\n className={style.wizardTopnavItemContent}\n >\n {renderStepContent()}\n </LinkComponent>\n </li>\n );\n }\n\n return (\n <li className={baseClassNames}>\n <span\n aria-current={ariaCurrent}\n className={style.wizardTopnavItemContent}\n >\n {renderStepContent()}\n </span>\n </li>\n );\n};\n\nStep.propTypes = {\n step: PropTypes.object.isRequired,\n activeStepId: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\n .isRequired,\n index: PropTypes.number.isRequired,\n direction: PropTypes.oneOf(['vertical', 'horizontal']),\n linkComponent: PropTypes.elementType,\n};\n\nStep.defaultProps = {\n direction: 'vertical',\n};\n\nexport default Step;\n","// Dependencies\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\n// Components\nimport Step from './Step';\n\n// Helpers\nimport { classNameArrayToClassNameString } from '../functions/helpers';\n\n// Stylesheets\nimport style from './WizardNavigation.module.scss';\n\nconst WizardNavigation = (props) => {\n const renderSteps = (steps, activeStepId) => {\n const hasSteps = steps && Object.keys(steps).length;\n return hasSteps\n ? Object.keys(steps).map((stepKey, stepIndex) => {\n const step = steps[stepKey];\n return (\n <Step\n direction={props.direction}\n step={step}\n activeStepId={activeStepId}\n index={stepIndex}\n key={stepKey}\n />\n );\n })\n : null;\n };\n const amountOfSteps =\n props.steps && Object.keys(props.steps)?.length\n ? Object.keys(props.steps).length\n : 0;\n const defaultAriaLabel = `I dette skjemaet er det totalt ${amountOfSteps} steg som du skal gå igjennom`;\n const ariaLabel = props['aria-label']?.length\n ? props['aria-label']\n : defaultAriaLabel;\n return (\n <nav\n aria-label={ariaLabel}\n className={classNameArrayToClassNameString([\n style.wizardTopnavContainer,\n style[props.direction],\n ])}\n >\n <ol className={style.wizardTopnav}>\n {renderSteps(props.steps, props.activeStepId)}\n </ol>\n </nav>\n );\n};\n\nWizardNavigation.propTypes = {\n steps: PropTypes.shape({\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n name: PropTypes.string,\n finished: PropTypes.bool,\n hasErrors: PropTypes.bool,\n link: PropTypes.shape({\n to: PropTypes.object,\n reactLink: PropTypes.bool,\n }),\n }).isRequired,\n activeStepId: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\n .isRequired,\n 'aria-label': PropTypes.string,\n direction: PropTypes.oneOf(['vertical', 'horizontal']),\n};\n\nWizardNavigation.defaultProps = {\n direction: 'vertical',\n};\n\nexport default WizardNavigation;\n"],"names":["b","c","d","e","f","g","h","k","l","m","n","p","q","r","t","v","w","x","y","z","a","u","A","reactIs_production_min","hasSymbol","REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_ASYNC_MODE_TYPE","REACT_CONCURRENT_MODE_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_BLOCK_TYPE","REACT_FUNDAMENTAL_TYPE","REACT_RESPONDER_TYPE","REACT_SCOPE_TYPE","isValidElementType","type","typeOf","object","$$typeof","$$typeofType","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","hasWarnedAboutDeprecatedIsAsyncMode","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","reactIs_development","reactIsModule","require$$0","require$$1","getOwnPropertySymbols","hasOwnProperty","propIsEnumerable","toObject","val","shouldUseNative","test1","test2","i","order2","test3","letter","objectAssign","target","source","from","to","symbols","s","key","ReactPropTypesSecret","ReactPropTypesSecret_1","has","printWarning","loggedTypeFailures","text","message","checkPropTypes","typeSpecs","values","location","componentName","getStack","typeSpecName","error","err","ex","stack","checkPropTypes_1","ReactIs","assign","require$$2","require$$3","require$$4","emptyFunctionThatReturnsNull","factoryWithTypeCheckers","isValidElement","throwOnDirectAccess","ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","iteratorFn","ANONYMOUS","ReactPropTypes","createPrimitiveTypeChecker","createAnyTypeChecker","createArrayOfTypeChecker","createElementTypeChecker","createElementTypeTypeChecker","createInstanceTypeChecker","createNodeChecker","createObjectOfTypeChecker","createEnumTypeChecker","createUnionTypeChecker","createShapeTypeChecker","createStrictShapeTypeChecker","is","PropTypeError","data","createChainableTypeChecker","validate","manualPropTypeCallCache","manualPropTypeWarningCount","checkType","isRequired","props","propName","propFullName","secret","cacheKey","chainedCheckType","expectedType","propValue","propType","getPropType","preciseType","getPreciseType","typeChecker","expectedClass","expectedClassName","actualClassName","getClassName","expectedValues","valuesString","value","arrayOfTypeCheckers","checker","getPostfixForTypeWarning","expectedTypes","checkerResult","expectedTypesMessage","isNode","invalidValidatorError","shapeTypes","allKeys","iterator","step","entry","isSymbol","emptyFunction","emptyFunctionWithReset","factoryWithThrowingShims","shim","getShim","propTypesModule","classNameArrayToClassNameString","classNameArray","_a","className","camelCaseToKebabCase","string","getCssColorVariablesFromTheme","theme","acc","getCssSizeVariablesFromTheme","getCssVariablesFromTheme","addGlobalStylesheet","styleElementId","styles","style","stringifyCssColorVariables","colorVariables","css","cloneThroughFragments","children","Children","cloneElement","setFocusToElement","element","autoFocusElement","getFocusableElementsInsideElement","resultElement","addFocusTrapInsideElement","focusableElements","firstFocusableElement","lastFocusableElement","event","Accordion","expanded","setExpanded","useState","initialized","setInitialized","handleToggleExpand","useEffect","renderPanel","React","PropTypes","Button","LinkComponent","getArrowClass","arrow","buttonProps","buttonColor","renderLinkWrappedChildren","childElements","childElement","index","isLink","_b","_c","CheckBoxIcon","inlineStyle","checkBoxIconProps","asterisk","CheckBoxInput","labelProps","iconProps","inputProps","Header","bigClass","htmlTag","headerClass","headerSizeClass","headerElement","CheckBoxList","required","compact","legend","legendSize","renderChildElements","CheckBoxListItem","listItemClassNameArray","listItemClassNameString","Container","styleProps","ContentBox","renderTitle","colorClass","linkClass","bodyContent","DescriptionDetails","titleWidth","DescriptionList","DescriptionTerm","xSymbol","Dialog","dialogRef","useRef","dialogContainerRef","dialogContentRef","useCallback","keyDownFunction","handleClickOutside","sideBarClassNames","dialogContentStyleProps","errorSign","ErrorMessage","getErrorElementProps","Label","DragAndDropFileInput","highlight","setHighlight","containerElementRef","fileInputElementRef","preventDefaults","renderValueAsText","defaultContent","handleAddButtonOnClick","getErrorElementId","inputElementProps","buttonContent","handleFiles","files","handleDrop","infoSign$1","ErrorBox","infoSign","Footer","InfoBox","generateRandomString","length","result","characters","charactersLength","InputField","formatDate","inputDate","date","year","month","getInputElementProps","defaultValue","defaultKey","styleRules","el","Lead","id","leadClass","List","listType","defaultListStyle","ListItem","LoadingAnimation","NavigationBarListItem","getThemeLogo","getThemeLogoPadding","getThemeAppName","compactLogo","logo","NavigationBar","active","setActive","toggleList","getLogoThemeStyle","renderPrimaryList","items","iteration","listItems","listItem","renderSecondaryList","renderLogo","logoLink","logoLinkTitle","themeLogo","themeAppName","getLogoAltText","renderLogoElement","altText","logoLinkProps","hasListItems","Paper","ProgressBar","RadioButtonIcon","radioButtonIconProps","RadioButtonInput","RadioButtonList","RadioButtonListItem","Select","showDropdownList","setShowDropdownList","dropdownRef","wrapperRef","hideDropdownList","getKeyByValue","options","selectedOption","option","createOptionObject","renderSelectedValues","selectElementProps","selectedValues","renderCheckBoxElements","optionObject","isSelected","renderOptionElements","renderPlaceholderOption","placeholder","placeholderValue","_d","getCaptionAlignClass","captionAlign","availableValues","getCaptionSideClass","captionSide","Table","Textarea","renderInputField","textareaElementProps","_e","_f","ThemeProvider","cssVariablesFromTheme","cssColorVariablesString","ToggleNavigationButton","showText","hideText","isOpen","elementClass","checkmarkSymbol","Step","activeStepId","direction","getActiveClass","getFinishedClass","getErrorClass","renderStepContent","isActiveStep","showCheckmark","baseClassNames","ariaCurrent","WizardNavigation","renderSteps","steps","stepKey","stepIndex","defaultAriaLabel","ariaLabel"],"mappings":";;;;;;;4CASa,IAAIA,EAAe,OAAO,QAApB,YAA4B,OAAO,IAAIC,EAAED,EAAE,OAAO,IAAI,eAA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