{"version":3,"sources":["webpack:///./presentation/components/ribbons/legal/Caveat.tsx","webpack:///./presentation/components/ribbons/legal/Caveat.stylesheet.ts","webpack:///./presentation/components/ribbons/legal/Legal.tsx","webpack:///./presentation/components/ribbons/legal/index.ts","webpack:///../node_modules/@ux/padding-box/dist/es/padding-box.js","webpack:///./presentation/components/Shortcode/Alt.tsx","webpack:///./presentation/components/Shortcode/Bold.tsx","webpack:///./presentation/components/Shortcode/Italic.tsx","webpack:///./presentation/components/Shortcode/Link.tsx","webpack:///./presentation/components/Shortcode/Text.tsx","webpack:///src/presentation/components/Shortcode/Tooltip.tsx","webpack:///./presentation/components/Shortcode/PendingShortcode.tsx","webpack:///./presentation/components/Shortcode/Shortcode.tsx","webpack:///./presentation/components/Shortcode/index.ts","webpack:///../node_modules/@ux/type-size/dist/es/type-size.js"],"names":["PureCaveat","colorway","body","last","styles","theme","useTheme","spacing","useStyles","default","root","footnote","marginBottom","gu2px","color","getTitleColor","useStylesheet","style","Shortcode","code","displayName","LegalCaveat","id","layout","loading","name","caveats","caveatsWithIndex","map","item","index","lastItemIndex","length","Ribbon","flush","Flush","LEADING","type","Type","LEGAL","caveat","Caveat","errorBoundary","visibilitySet","Legal","Design","Side","_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","stylesheet","_ref","_useStyles","side","design","isMinLg","gu","INNER","padding","assign","A","T","top","left","right","bottom","B","L","R","Y","X","PaddingBox","component","OUTER","props","enhance","_a","children","s","e","t","p","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","__rest","enhance$1","getColor","against","Against","LIGHT","NEUTRAL","palette","primary","DARK","tertiary","Alt","RecursiveShortcode","elements","rest","Bold","fontWeight","fontStyle","Link","contentType","attributes","externalRoutes","useExternalRoutes","to","goto","analyticskey","size","TextButtonSize","INHERIT","rel","target","newTab","formatText","text","newline","formattedText","split","join","escapeShortCodes","string","reduce","prev","cur","nl2br","Text","ReactTooltip","lazy","TooltipShortcode","useBreakpoints","eventToggle","undefined","cssTheme","CallToAction","fallback","tagName","useDefaultStyles","content","maxWidth","randomWidth","Math","floor","random","PendingShortcode","display","width","lines","Glyph","Sup","List","OrderedList","ListItem","TickListItem","ProductPrice","PhoneNumber","element","JSON","stringify","String","getAgainst","Element","glyph","Italic","Tooltip","ShortcodeWrapper","_SizeMap","SMALL","MEDIUM","LARGE","_SizeMap$1","_SizeMap$2","_SizeMap$3","_SizeMap$4","_LineHeightMap","_SizeMap$5","_SizeMap$6","_SizeMap$7","fontSize","lineHeight","smallprint","SizeMap$1","headingXxl","typography","sizing","SizeMap$2","headingXl","SizeMap$3","LineHeightMap","headingL","height","SizeMap$4","LineHeightMap$1","headingM","SizeMap$5","LineHeightMap$2","headingS","SizeMap$6","LineHeightMap$3","headingXs","SizeMap$7","LineHeightMap$4","headingXxs"],"mappings":";oMAYA,MAAMA,EAAa,IAA0C,IAAzC,SAAEC,EAAF,KAAYC,EAAZ,KAAkBC,GAAuB,EAC3D,MAAM,OAAEC,GCPK,KAA+D,IAA9D,SAAEH,EAAF,KAAYE,GAAkD,EAC5E,MAAM,MAAEE,GAAUC,eACZ,QAAEC,GAAYF,EAEpB,OAAOG,YACL,CACEC,QAAS,CACPC,KAAM,IACDC,cACHC,aAAcC,YAAM,EAAGN,GACvBO,MAAOC,YAAcV,EAAOJ,KAGhCE,KAAM,CACJO,KAAM,CACJE,aAAc,KAIpB,CAAC,CAAET,WDZca,CAAc,CAC/Bf,WACAE,SAGF,OACE,mBAAGc,MAAOb,EAAOM,KAAjB,SACE,cAACQ,EAAA,EAAD,CAAWjB,SAAUA,EAAUkB,KAAMjB,EAAMC,KAAMC,EAAOD,UAK9DH,EAAWoB,YAAc,cAEVpB,QETR,MAAMqB,EAAc,IAAkE,IAAjE,GAAEC,EAAF,SAAMrB,EAAN,OAAgBsB,EAAhB,QAAwBC,EAAxB,KAAiCC,EAAjC,QAAuCC,GAA0B,EAC3F,MAAMC,EAAmBD,EAAQE,IAAI,CAACC,EAAMC,KAAP,IAChCD,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,MAAO,QAE9D2B,EAAW,WACb,IACI3M,EADY,cACMA,MAElBmH,EAAOsF,EAAUzM,EAAM8L,WAAWC,SAAW,GAC7CM,EAASK,EAAgB1M,EAAM8L,WAAWC,SAAW,MACzD,MAAO,CACLN,SAAU,IAAMtE,GAChBuE,WAAYW,IAKZO,GAA8BlK,EAAjB6I,EAAa,GAAgC,IAAiBT,MAAO,IAAKpI,EAAgB6I,EAAY,IAAiBR,OAAQ,IAAKrI,EAAgB6I,EAAY,IAAiBP,MAAO,IAAKO,GAE1MsB,EAAkBnK,EAAgB,GAAI,IAAiBoI,MAAO,OAE9DgC,EAAY,WACd,IACI9M,EADY,cACMA,MAElBmH,EAAOyF,EAAU5M,EAAM8L,WAAWC,SAAW,GAC7CM,EAASQ,EAAgB7M,EAAM8L,WAAWC,SAAW,MACzD,MAAO,CACLN,SAAU,IAAMtE,GAChBuE,WAAYW,IAKZU,GAA8BrK,EAAjB8I,EAAa,GAAgC,IAAiBV,MAAO,IAAKpI,EAAgB8I,EAAY,IAAiBT,OAAQ,IAAKrI,EAAgB8I,EAAY,IAAiBR,MAAO,IAAKQ,GAE1MwB,EAAkBtK,EAAgB,GAAI,IAAiBsI,MAAO,OAE9DiC,EAAa,WACf,IACIjN,EADY,cACMA,MAElBmH,EAAO4F,EAAU/M,EAAM8L,WAAWC,SAAW,GAC7CM,EAASW,EAAgBhN,EAAM8L,WAAWC,SAAW,MACzD,MAAO,CACLN,SAAU,IAAMtE,GAChBuE,WAAYW","file":"pex-static/90/43.3a19b4e125c639281a8c.chunk.js","sourcesContent":["import React from 'react';\nimport { Colorway } from 'domain/constants/colorway';\nimport Shortcode, { ShortcodeProps } from 'components/Shortcode';\n\nimport useStylesheet from './Caveat.stylesheet';\n\ninterface OuterProps {\n colorway: Colorway;\n body: ShortcodeProps;\n last: boolean;\n}\n\nconst PureCaveat = ({ colorway, body, last }: OuterProps) => {\n const { styles } = useStylesheet({\n colorway,\n last,\n });\n\n return (\n

\n \n

\n );\n};\n\nPureCaveat.displayName = 'LegalCaveat';\n\nexport default PureCaveat;\n","import { useStyles } from '@team-griffin/stylr';\nimport { gu2px, useTheme } from '@ux/theme-utils';\nimport { footnote } from '@ux/type-size';\nimport { Colorway } from 'domain/constants/colorway';\nimport { getTitleColor } from 'presentation/utils/colorway';\n\nexport default ({ colorway, last }: { colorway: Colorway; last: boolean }) => {\n const { theme } = useTheme();\n const { spacing } = theme;\n\n return useStyles(\n {\n default: {\n root: {\n ...footnote(),\n marginBottom: gu2px(2, spacing),\n color: getTitleColor(theme, colorway),\n },\n },\n last: {\n root: {\n marginBottom: 0,\n },\n },\n },\n [{ last }],\n );\n};\n","import React, { ComponentClass } from 'react';\nimport { Container } from '@ux/grid';\nimport PaddingBox from '@ux/padding-box';\nimport visibilitySet from 'presentation/hocs/visibilitySet';\nimport Ribbon, { Flush } from 'components/ribbons/Ribbon';\nimport errorBoundary from 'presentation/hocs/errorBoundary';\nimport { RibbonProps, Type } from 'domain/constants/ribbons';\nimport { ShortcodeProps } from 'presentation/components/Shortcode';\n\nimport Caveat from './Caveat';\n\ntype CaveatProps = {\n body: ShortcodeProps;\n};\nexport interface OuterProps extends RibbonProps {\n caveats: Array;\n}\n\nexport const LegalCaveat = ({ id, colorway, layout, loading, name, caveats }: OuterProps) => {\n const caveatsWithIndex = caveats.map((item, index) => ({\n ...item,\n index: `Caveats${index}${id}`,\n }));\n\n const lastItemIndex = caveats.length - 1;\n\n return (\n \n \n \n {caveatsWithIndex.map((caveat, index) => (\n \n ))}\n \n \n \n );\n};\n\nLegalCaveat.displayName = 'Legal';\n\nexport default errorBoundary(visibilitySet(LegalCaveat)) as ComponentClass;\n","import Legal from './Legal';\n\nexport default Legal;\n","import { createElement } from 'react';\nimport { defaultProps, withProps, omitProps } from '@team-griffin/rehook';\nimport { puree } from '@ux/pure-enhance';\nimport cssSides, { Side as Side$1 } from '@team-griffin/css-sides';\nimport { useBreakpoints } from '@ux/responsive';\nimport { useTheme, gu2px } from '@ux/theme-utils';\nimport { modifier } from '@ux/style-utils';\nimport { useStyles } from '@team-griffin/stylr';\nimport longhand from '@team-griffin/css-longhand';\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\r\n t[p[i]] = s[p[i]];\r\n return t;\r\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nvar Design;\n\n(function (Design) {\n Design[\"OUTER\"] = \"OUTER\";\n Design[\"INNER\"] = \"INNER\";\n})(Design || (Design = {}));\n\nvar Side;\n\n(function (Side) {\n Side[\"A\"] = \"ALL\";\n Side[\"X\"] = \"X\";\n Side[\"Y\"] = \"Y\";\n Side[\"T\"] = \"TOP\";\n Side[\"B\"] = \"BOTTOM\";\n Side[\"L\"] = \"LEFT\";\n Side[\"R\"] = \"RIGHT\";\n})(Side || (Side = {}));\n\nvar stylesheet = (function (_ref) {\n var _useStyles;\n\n var style = _ref.style,\n side = _ref.side,\n design = _ref.design;\n\n var _useBreakpoints = useBreakpoints(),\n isMinLg = _useBreakpoints.isMinLg;\n\n var _useTheme = useTheme(),\n spacing = _useTheme.theme.spacing; // Inner: 3GU on large, 2GU otherwise\n // Outer: 4GU on large, 3GU otherwise\n // eslint-disable-next-line no-nested-ternary\n\n\n var gu = design === Design.INNER ? isMinLg ? 3 : 2 : isMinLg ? 4 : 3;\n var padding = gu2px(gu, spacing);\n return useStyles((_useStyles = {\n default: {\n // apply any user defined styes likes colors\n root: Object.assign({}, style)\n }\n }, _defineProperty(_useStyles, modifier('side', Side.A), {\n root: Object.assign({}, cssSides('padding', Side$1.A, padding))\n }), _defineProperty(_useStyles, modifier('side', Side.T), {\n root: Object.assign({}, longhand('padding', {\n top: padding,\n left: 0,\n right: 0,\n bottom: 0\n }))\n }), _defineProperty(_useStyles, modifier('side', Side.B), {\n root: Object.assign({}, longhand('padding', {\n top: 0,\n left: 0,\n right: 0,\n bottom: padding\n }))\n }), _defineProperty(_useStyles, modifier('side', Side.L), {\n root: Object.assign({}, longhand('padding', {\n top: 0,\n left: padding,\n right: 0,\n bottom: 0\n }))\n }), _defineProperty(_useStyles, modifier('side', Side.R), {\n root: Object.assign({}, longhand('padding', {\n top: 0,\n left: 0,\n right: padding,\n bottom: 0\n }))\n }), _defineProperty(_useStyles, modifier('side', Side.Y), {\n root: Object.assign(Object.assign({}, cssSides('padding', Side$1.Y, padding)), cssSides('padding', Side$1.X, 0))\n }), _defineProperty(_useStyles, modifier('side', Side.X), {\n root: Object.assign(Object.assign({}, cssSides('padding', Side$1.X, padding)), cssSides('padding', Side$1.Y, 0))\n }), _useStyles), [{\n side: side\n }, {\n isMinLg: isMinLg\n }, {\n design: design\n }]);\n});\n\nvar PurePaddingBox = function PurePaddingBox(_a) {\n var children = _a.children,\n component = _a.component,\n props = __rest(_a, [\"children\", \"component\"]);\n\n return createElement(component, props, children);\n};\n\nvar enhance = puree('PaddingBox')(defaultProps({\n component: 'div',\n side: Side.A,\n design: Design.OUTER\n}), withProps(function (props) {\n return stylesheet(props);\n}), withProps(function (_ref) {\n var styles = _ref.styles;\n return {\n style: styles.root\n };\n}), omitProps(['styles', 'side', 'design'])); // eslint-disable-next-line no-underscore-dangle\nvar PaddingBox = enhance(PurePaddingBox);\n\nvar enhance$1 = puree('InnerPaddingBox')(withProps(function () {\n return {\n design: Design.INNER\n };\n})); // @ts-ignore gets confused when wrapping and passing in an optional prop (design)\n\nvar InnerPaddingBox = enhance$1(PaddingBox);\n\nvar paddingBox = function paddingBox(props) {\n return stylesheet(Object.assign({\n side: Side.A\n }, props)).styles.root;\n};\nvar innerPaddingBox = function innerPaddingBox(props) {\n return stylesheet(Object.assign({\n side: Side.A,\n design: Design.INNER\n }, props)).styles.root;\n};\n\nexport default PaddingBox;\nexport { Design, InnerPaddingBox, PaddingBox, Side, innerPaddingBox, paddingBox };\n","import React from 'react';\nimport { Against } from 'domain/constants/colorway';\nimport { Theme, useTheme } from '@ux/theme-utils';\n\nimport { RecursiveShortcodeProps } from './Shortcode';\n\nconst getColor = (theme: Theme, against: Against | undefined) => {\n switch (against) {\n case Against.LIGHT:\n return theme.palette.primary;\n case Against.NEUTRAL:\n return theme.palette.primary;\n case Against.DARK:\n return theme.palette.tertiary;\n default:\n return 'inherit';\n }\n};\nconst Alt = ({ RecursiveShortcode, elements, against, ...rest }: RecursiveShortcodeProps) => {\n const { theme } = useTheme();\n return (\n \n {RecursiveShortcode ? : null}\n \n );\n};\n\nAlt.displayName = 'Alt';\n\nexport default Alt;\n","import React from 'react';\n\nimport { RecursiveShortcodeProps } from './Shortcode';\n\nconst Bold = ({ elements, RecursiveShortcode, ...rest }: RecursiveShortcodeProps) => (\n \n {RecursiveShortcode ? : null}\n \n);\n\nBold.displayName = 'Bold';\n\nexport default Bold;\n","import React from 'react';\n\nimport { RecursiveShortcodeProps } from './Shortcode';\n\nconst Bold = ({ elements, RecursiveShortcode, ...rest }: RecursiveShortcodeProps) => (\n \n {RecursiveShortcode ? : null}\n \n);\n\nBold.displayName = 'Bold';\n\nexport default Bold;\n","import React from 'react';\nimport TextButton, { Size as TextButtonSize } from '@ux/text-button';\nimport { useExternalRoutes } from 'domain/selectors/common';\n\nimport { RecursiveShortcodeProps } from './Shortcode';\n\nconst Link = ({ RecursiveShortcode, elements, contentType, attributes, against, ...rest }: RecursiveShortcodeProps) => {\n const externalRoutes = useExternalRoutes();\n\n return (\n \n {/* @ts-ignore: error when upgrading to @ux/config */}\n \n \n );\n};\n\nLink.displayName = 'Link';\n\nexport default Link;\n","import React, { Fragment } from 'react';\n\nconst escapeShortCodes = (text: string) => {\n if (typeof text !== 'string') {\n return null;\n }\n const replaceA = (text ?? '').split('[!').join('[');\n const replaceB = replaceA.split('!/]').join('/]');\n const replaceC = replaceB.split('[/!').join('[/');\n return replaceC;\n // using split/join because for some reason replaceAll fails for backstop\n // tests but not for backstop storybook?\n // if anyone can tell me why, I'd appreciate it.\n // return (text ?? '').replaceAll('[!', '[').replaceAll('!/]', '/]')\n // .replaceAll('[/!', '[/');\n};\n\nconst nl2br = (string: string) =>\n (string ?? '')\n .split('\\n')\n // @ts-ignore typescript cant figure typing out\n // eslint-disable-next-line react/no-array-index-key\n .reduce((prev, cur, i) => [prev,
, cur]);\n\nconst formatText = (text: string, newline: boolean | Element | undefined) => {\n const formattedText = escapeShortCodes(text) ?? '';\n if (newline === false) {\n return formattedText;\n }\n return nl2br(formattedText);\n};\n\ninterface OuterProps {\n text: string;\n nl2br?: Element;\n}\nconst Text = ({ text, nl2br }: OuterProps) => {formatText(text, nl2br)};\n\nText.displayName = 'Text';\n\nexport default Text;\n","import React, { lazy, Suspense } from 'react';\nimport TextButton, { Size as TextButtonSize } from '@ux/text-button';\nimport { cssTheme } from '@ux/theme-utils';\nimport { useBreakpoints } from '@ux/responsive';\n\nimport { RecursiveShortcodeProps } from './Shortcode';\n\n/*\n React-Tooltip is a heavy dependency therefore we asynchronously load it in\n and gracefully decorate the functionality in once it has loaded\n*/\nconst ReactTooltip = lazy(\n () =>\n import(\n /* webpackChunkName: \"react-tooltip-lite\" */\n 'react-tooltip-lite'\n ),\n);\n\nconst TooltipShortcode = ({ RecursiveShortcode, against, attributes, elements }: RecursiveShortcodeProps) => {\n const { isMinLg } = useBreakpoints();\n const eventToggle = isMinLg ? undefined : 'onClick';\n const padding = cssTheme.gu2;\n const CallToAction = (\n \n {attributes?.label}\n \n );\n\n return (\n \n {/* @ts-ignore children doesnt exist */}\n \n {/* @ts-ignore: error when upgrading to @ux/config */}\n \n \n }\n >\n {CallToAction}\n \n \n );\n};\n\nTooltipShortcode.displayName = 'TooltipShortcode';\n\nexport default TooltipShortcode;\n","import React from 'react';\nimport Shimmer from '@ux/shimmer';\nimport { Colorway } from '@ux/theme-utils';\n\nimport { ShortcodeProps } from './';\n\nexport interface OuterProps {\n against?: Colorway;\n code?: ShortcodeProps;\n}\n\n// random % width for shimmer betwen 50% and 95%\nconst randomWidth = () => Math.floor(Math.random() * (95 - 50) + 50);\n\nconst PendingShortcode = ({ code, against }: OuterProps) => (\n \n \n \n);\n\nPendingShortcode.displayName = 'PendingShortcode';\n\nexport default PendingShortcode;\n","import React, { Suspense, lazy, ReactNode } from 'react';\nimport { getAgainst } from 'presentation/utils/colorway';\nimport { Layout } from 'domain/constants/layout';\n/*\n These shortcodes should not be lazy loaded in as they are already in the\n main bundle and it causes a unnecessary shimmer which makes the page feel\n less responsive\n*/\nimport { Against } from 'domain/constants/colorway';\n\nimport Alt from './Alt';\nimport Bold from './Bold';\nimport Italic from './Italic';\nimport Link from './Link';\nimport Text from './Text';\nimport Tooltip from './Tooltip';\nimport PendingShortcode from './PendingShortcode';\n\nimport { ShortcodeProps } from '.';\n\nconst Glyph = lazy(\n () =>\n import(\n /* webpackChunkName: \"shortcode-glyph\" */\n './Glyph'\n ),\n);\n\nconst Sup = lazy(\n () =>\n import(\n /* webpackChunkName: \"shortcode-sup\" */\n './Sup'\n ),\n);\n\nconst List = lazy(\n () =>\n import(\n /* webpackChunkName: \"shortcode-list\" */\n './List'\n ),\n);\n\nconst OrderedList = lazy(\n () =>\n import(\n /* webpackChunkName: \"shortcode-ordered-list\" */\n './OrderedList'\n ),\n);\n\nconst ListItem = lazy(\n () =>\n import(\n /* webpackChunkName: \"shortcode-list-item\" */\n './ListItem'\n ),\n);\n\nconst TickListItem = lazy(\n () =>\n import(\n /* webpackChunkName: \"shortcode-tick-list-item\" */\n './TickListItem'\n ),\n);\n\nconst ProductPrice = lazy(\n () =>\n import(\n /* webpackChunkName: \"shortcode-product-price\" */\n './ProductPrice'\n ),\n);\n\nconst PhoneNumber = lazy(\n () =>\n import(\n /* webpackChunkName: \"shortcode-phone-number\" */\n './PhoneNumber'\n ),\n);\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\ndeclare const i: number;\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\ndeclare const element: ShortcodeProps;\n\nexport interface ShortcodeAttributesProps {\n use?: number;\n number?: number;\n RecursiveShortcode: (props: RecursiveShortcodeProps) => JSX.Element;\n analyticskey?: string;\n goto?: string;\n label?: ReactNode;\n prices?: Array<{\n gross: number;\n net: number;\n raw: number;\n tax: number;\n }>;\n inctax?: string;\n style?: string;\n rel?: string;\n newTab?: string;\n}\nexport interface RecursiveShortcodeProps {\n elements?: Array;\n RecursiveShortcode?: (props: RecursiveShortcodeProps) => JSX.Element;\n type?: string;\n name?: string;\n layout?: Layout;\n against?: Against;\n attributes?: ShortcodeAttributesProps;\n nl2br?: boolean;\n rest?: {\n [key: string]: any;\n };\n [key: string]: any;\n}\n\nconst RecursiveShortcode = ({ elements = [], ...rest }: RecursiveShortcodeProps) => (\n <>\n {elements.map((element, index) => (\n // Temporarily allow index as key waiting for BE to add ids\n // eslint-disable-next-line react/no-array-index-key\n \n ))}\n \n);\n\nexport interface ShortcodeOuterProps {\n against?: Against;\n code: RecursiveShortcodeProps;\n type?: string;\n name?: string;\n}\n\nconst Shortcode = ({ code, ...rest }: RecursiveShortcodeProps) => {\n let props = {\n ...rest,\n } as RecursiveShortcodeProps;\n if (typeof code === 'string' || code instanceof String) {\n props.code = code;\n } else {\n props = {\n ...props,\n ...code,\n };\n }\n\n // @ts-ignore: error when upgrading to @ux/config\n props.against = getAgainst(props.against);\n props.RecursiveShortcode = RecursiveShortcode;\n props.attributes = props?.attributes ?? ({} as ShortcodeAttributesProps);\n const Element = (props: any) => {\n const { code, type, name } = props;\n if (typeof props.code === 'string') {\n return ;\n }\n if (props.type === 'text') {\n return ;\n }\n if (type === 'element') {\n switch (name) {\n case 'list':\n if (props?.attributes?.style === 'number') {\n return ;\n }\n return ;\n case 'li':\n if (props?.attributes?.style === 'glyph') {\n return ;\n }\n return ;\n case 'i':\n return ;\n case 'b':\n return ;\n case 'alt':\n return ;\n case 'sup':\n return ;\n case 'glyph':\n return ;\n case 'tel':\n return ;\n case 'link':\n return ;\n case 'productprice':\n return ;\n case 'tooltip':\n return ;\n case 'root':\n return ;\n default:\n return null;\n }\n }\n return null;\n };\n\n return ;\n};\n\nconst ShortcodeWrapper = (props: RecursiveShortcodeProps) => (\n }>\n \n \n);\n\nShortcodeWrapper.displayName = 'Shortcode';\n\nexport default ShortcodeWrapper;\n","import Shortcode, { RecursiveShortcodeProps } from './Shortcode';\n\n// TODO: help.. please.\nexport type ShortcodeProps = RecursiveShortcodeProps;\n\nexport default Shortcode;\n","import { useTheme, TypographySizing } from '@ux/theme-utils';\nimport px2em from '@ux/px2em';\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nvar _SizeMap;\nvar SizeMap = (_SizeMap = {}, _defineProperty(_SizeMap, TypographySizing.SMALL, 48), _defineProperty(_SizeMap, TypographySizing.MEDIUM, 55), _defineProperty(_SizeMap, TypographySizing.LARGE, 63), _SizeMap);\nvar display = (function () {\n var _useTheme = useTheme(),\n theme = _useTheme.theme;\n\n var size = SizeMap[theme.typography.sizing] || 55;\n return {\n fontSize: px2em(size),\n lineHeight: '1.14'\n };\n});\n\n// content is the same on any size scale\nvar content = (function () {\n return {\n fontSize: px2em(16),\n lineHeight: '1.5'\n };\n});\n\n// footnote is the same on any size scale\nvar footnote = (function () {\n return {\n fontSize: px2em(14),\n lineHeight: '1.5'\n };\n});\n\n// smallprint is the same on any size scale\nvar smallprint = (function () {\n return {\n fontSize: px2em(12),\n lineHeight: '1.5'\n };\n});\n\nvar _SizeMap$1;\nvar SizeMap$1 = (_SizeMap$1 = {}, _defineProperty(_SizeMap$1, TypographySizing.SMALL, 32), _defineProperty(_SizeMap$1, TypographySizing.MEDIUM, 36), _defineProperty(_SizeMap$1, TypographySizing.LARGE, 42), _SizeMap$1);\nvar headingXxl = (function () {\n var _useTheme = useTheme(),\n theme = _useTheme.theme;\n\n var size = SizeMap$1[theme.typography.sizing] || 36;\n return {\n fontSize: px2em(size),\n lineHeight: '1.2'\n };\n});\n\nvar _SizeMap$2;\nvar SizeMap$2 = (_SizeMap$2 = {}, _defineProperty(_SizeMap$2, TypographySizing.SMALL, 28), _defineProperty(_SizeMap$2, TypographySizing.MEDIUM, 32), _defineProperty(_SizeMap$2, TypographySizing.LARGE, 36), _SizeMap$2);\nvar headingXl = (function () {\n var _useTheme = useTheme(),\n theme = _useTheme.theme;\n\n var size = SizeMap$2[theme.typography.sizing] || 32;\n return {\n fontSize: px2em(size),\n lineHeight: '1.2'\n };\n});\n\nvar _SizeMap$3;\nvar SizeMap$3 = (_SizeMap$3 = {}, _defineProperty(_SizeMap$3, TypographySizing.SMALL, 24), _defineProperty(_SizeMap$3, TypographySizing.MEDIUM, 28), _defineProperty(_SizeMap$3, TypographySizing.LARGE, 32), _SizeMap$3);\n\nvar LineHeightMap = _defineProperty({}, TypographySizing.SMALL, '1.25');\n\nvar headingL = (function () {\n var _useTheme = useTheme(),\n theme = _useTheme.theme;\n\n var size = SizeMap$3[theme.typography.sizing] || 28;\n var height = LineHeightMap[theme.typography.sizing] || '1.2';\n return {\n fontSize: px2em(size),\n lineHeight: height\n };\n});\n\nvar _SizeMap$4, _LineHeightMap;\nvar SizeMap$4 = (_SizeMap$4 = {}, _defineProperty(_SizeMap$4, TypographySizing.SMALL, 21), _defineProperty(_SizeMap$4, TypographySizing.MEDIUM, 24), _defineProperty(_SizeMap$4, TypographySizing.LARGE, 28), _SizeMap$4);\nvar LineHeightMap$1 = (_LineHeightMap = {}, _defineProperty(_LineHeightMap, TypographySizing.SMALL, '1.3'), _defineProperty(_LineHeightMap, TypographySizing.MEDIUM, '1.25'), _defineProperty(_LineHeightMap, TypographySizing.LARGE, '1.2'), _LineHeightMap);\nvar headingM = (function () {\n var _useTheme = useTheme(),\n theme = _useTheme.theme;\n\n var size = SizeMap$4[theme.typography.sizing] || 24;\n var height = LineHeightMap$1[theme.typography.sizing] || '1.25';\n return {\n fontSize: px2em(size),\n lineHeight: height\n };\n});\n\nvar _SizeMap$5;\nvar SizeMap$5 = (_SizeMap$5 = {}, _defineProperty(_SizeMap$5, TypographySizing.SMALL, 18), _defineProperty(_SizeMap$5, TypographySizing.MEDIUM, 21), _defineProperty(_SizeMap$5, TypographySizing.LARGE, 24), _SizeMap$5);\n\nvar LineHeightMap$2 = _defineProperty({}, TypographySizing.LARGE, '1.25');\n\nvar headingS = (function () {\n var _useTheme = useTheme(),\n theme = _useTheme.theme;\n\n var size = SizeMap$5[theme.typography.sizing] || 21;\n var height = LineHeightMap$2[theme.typography.sizing] || '1.3';\n return {\n fontSize: px2em(size),\n lineHeight: height\n };\n});\n\nvar _SizeMap$6;\nvar SizeMap$6 = (_SizeMap$6 = {}, _defineProperty(_SizeMap$6, TypographySizing.SMALL, 16), _defineProperty(_SizeMap$6, TypographySizing.MEDIUM, 18), _defineProperty(_SizeMap$6, TypographySizing.LARGE, 21), _SizeMap$6);\n\nvar LineHeightMap$3 = _defineProperty({}, TypographySizing.SMALL, '1.5');\n\nvar headingXs = (function () {\n var _useTheme = useTheme(),\n theme = _useTheme.theme;\n\n var size = SizeMap$6[theme.typography.sizing] || 18;\n var height = LineHeightMap$3[theme.typography.sizing] || '1.3';\n return {\n fontSize: px2em(size),\n lineHeight: height\n };\n});\n\nvar _SizeMap$7;\nvar SizeMap$7 = (_SizeMap$7 = {}, _defineProperty(_SizeMap$7, TypographySizing.SMALL, 14), _defineProperty(_SizeMap$7, TypographySizing.MEDIUM, 16), _defineProperty(_SizeMap$7, TypographySizing.LARGE, 18), _SizeMap$7);\n\nvar LineHeightMap$4 = _defineProperty({}, TypographySizing.LARGE, '1.3');\n\nvar headingXxs = (function () {\n var _useTheme = useTheme(),\n theme = _useTheme.theme;\n\n var size = SizeMap$7[theme.typography.sizing] || 16;\n var height = LineHeightMap$4[theme.typography.sizing] || '1.5';\n return {\n fontSize: px2em(size),\n lineHeight: height\n };\n});\n\nexport { content, display, footnote, headingL, headingM, headingS, headingXl, headingXs, headingXxl, headingXxs, smallprint };\n"],"sourceRoot":""}