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iBW,KAAAmK,iBAAoBC,GAA0ClL,KAAKC,MAAMF,OAAOsO,UAAYnD,EAAMlJ,OAAOoJ,MAhBzGvL,SACH,MAAM,UAAEwO,EAAS,UAAE7N,GAAcR,KAAKC,MAAMF,OACtC6C,EAAOyL,GACTzO,EAAAA,cAACyL,EAAAA,GAA0B,CACvBzI,KAAMyL,EACN/C,UAAW,CAAEC,OAAQvL,KAAKiL,iBAAkBZ,eAAgBrK,KAAKC,MAAMkD,QAAQ0C,WAGjFyI,EAAkBzH,EAAAA,EAAA,GACjB7G,KAAKC,OAAK,IACboO,UAAWzL,EACXpC,UAAW+D,GAAAA,CAAW,gBAAiB/D,KAE3C,OAAOR,KAAKC,MAAMwG,WAAW6H,IAKrC,wFC9BA,MAMA,EANqDrO,GACjDL,EAAAA,cAAA,MAAAyE,OAAAC,OAAA,CAAK9D,UAAWP,EAAMO,UAAWwC,GAAI/C,EAAM+C,IAAQ/C,EAAMuE,uBAAuBvE,IAC3EA,EAAMoO","sources":["webpack://Msdyn365.Commerce.Online/./src/modules/mands-home-categories-images-container/mands-home-categories-images-container.tsx?b122","webpack://Msdyn365.Commerce.Online/./src/modules/mands-planned-maintanance-page/mands-planned-maintanance-page.tsx?06a8","webpack://Msdyn365.Commerce.Online/./src/modules/mands-site-issues-page/mands-site-issues-page.tsx?d920","webpack://Msdyn365.Commerce.Online/./src/modules/mands-social-footer/mands-social-footer.tsx?7b67","webpack://Msdyn365.Commerce.Online/./src/modules/mands-thankyou/mands-thankyou.tsx?be5e","webpack://Msdyn365.Commerce.Online/./src/modules/privacy-policy-module/privacy-policy-module.tsx?fe9b","webpack://Msdyn365.Commerce.Online/./src/modules/terms-and-conditions/terms-and-conditions.tsx?5046","webpack://Msdyn365.Commerce.Online/./src/themes/mands/mands.tsx?7095","webpack://Msdyn365.Commerce.Online/./src/themes/mands/views/checkout-payment-instrument.view.tsx?41c6","webpack://Msdyn365.Commerce.Online/./src/themes/mands/views/components/price.component.tsx?0355","webpack://Msdyn365.Commerce.Online/./src/modules/msdyn365-pva-chat-connector/msdyn365-pva-chat-connector.tsx?797a","webpack://Msdyn365.Commerce.Online/./src/modules/msdyn365-pva-chat-connector/msdyn365-pva-chat-connector.view.tsx?cb2f","webpack://Msdyn365.Commerce.Online/./src/modules/default-external-script/default-external-script.tsx?2a33","webpack://Msdyn365.Commerce.Online/./src/modules/default-inline-script/default-inline-script.tsx?5ccd","webpack://Msdyn365.Commerce.Online/./src/modules/default-inline-style/default-inline-style.tsx?3552","webpack://Msdyn365.Commerce.Online/./src/modules/default-metatags/default-metatags.tsx?97a7","webpack://Msdyn365.Commerce.Online/./src/modules/default-page/default-page.tsx?b382","webpack://Msdyn365.Commerce.Online/./src/modules/place-holder-for-container-preview/place-holder-for-container-preview.tsx?605e","webpack://Msdyn365.Commerce.Online/./src/utils/script-utils.ts?cb52","webpack://Msdyn365.Commerce.Online/./src/modules/fabrikam/fabrikam.tsx?5b10","webpack://Msdyn365.Commerce.Online/./src/modules/html-block/html-block.tsx?c080","webpack://Msdyn365.Commerce.Online/./src/modules/html-block/html-block.view.tsx?b072","webpack://Msdyn365.Commerce.Online/./src/modules/default-page-summary/default-page-summary.tsx?0c78","webpack://Msdyn365.Commerce.Online/./src/modules/product-page-summary/product-page-summary.tsx?2924","webpack://Msdyn365.Commerce.Online/./src/modules/starter/starter.tsx?aade","webpack://Msdyn365.Commerce.Online/./src/modules/text-block/text-block.tsx?db84","webpack://Msdyn365.Commerce.Online/./src/modules/text-block/text-block.view.tsx?9307"],"sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\nimport * as React from 'react';\r\n\r\nimport { IMandsHomeCategoriesImagesContainerData } from './mands-home-categories-images-container.data';\r\nimport { IMandsHomeCategoriesImagesContainerProps } from './mands-home-categories-images-container.props.autogenerated';\r\n\r\n/**\r\n *\r\n * MandsHomeCategoriesImagesContainer component\r\n * @extends {React.PureComponent>}\r\n */\r\nexport default class MandsHomeCategoriesImagesContainer extends React.PureComponent<\r\n IMandsHomeCategoriesImagesContainerProps\r\n> {\r\n public render(): JSX.Element {\r\n // const { config } = this.props;\r\n const { slots, config } = this.props;\r\n const { containerClass } = config;\r\n const categoryImage1 = slots && slots.categoryImage1 && slots.categoryImage1.length > 0 ? slots.categoryImage1[0] : {};\r\n const categoryImage2 = slots && slots.categoryImage2 && slots.categoryImage2.length > 0 ? slots.categoryImage2[0] : {};\r\n const categoryImage3 = slots && slots.categoryImage3 && slots.categoryImage3.length > 0 ? slots.categoryImage3[0] : {};\r\n const categoryImage4 = slots && slots.categoryImage4 && slots.categoryImage4.length > 0 ? slots.categoryImage4[0] : {};\r\n return (\r\n
\r\n
\r\n
\r\n
{categoryImage1}
\r\n
\r\n\r\n
\r\n
{categoryImage2}
\r\n
\r\n\r\n
\r\n
{categoryImage3}
\r\n
\r\n
\r\n
{categoryImage4}
\r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n","/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\nimport * as React from 'react';\r\n\r\nimport { IMandsPlannedMaintanancePageData } from './mands-planned-maintanance-page.data';\r\nimport { IMandsPlannedMaintanancePageProps } from './mands-planned-maintanance-page.props.autogenerated';\r\n\r\n/**\r\n *\r\n * MandsPlannedMaintanancePage component\r\n * @extends {React.PureComponent>}\r\n */\r\nexport default class MandsPlannedMaintanancePage extends React.PureComponent<\r\n IMandsPlannedMaintanancePageProps\r\n> {\r\n public render(): JSX.Element {\r\n return (\r\n
\r\n
\r\n
\r\n

We'll be back very soon

\r\n

We are busy offline improving your experience. Back soon!.

\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n","/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\nimport * as React from 'react';\r\n\r\nimport { IMandsSiteIssuesPageData } from './mands-site-issues-page.data';\r\nimport { IMandsSiteIssuesPageProps } from './mands-site-issues-page.props.autogenerated';\r\n\r\n/**\r\n *\r\n * MandsSiteIssuesPage component\r\n * @extends {React.PureComponent>}\r\n */\r\nexport default class MandsSiteIssuesPage extends React.PureComponent> {\r\n public render(): JSX.Element {\r\n return (\r\n
\r\n
\r\n
\r\n

Please bear with us

\r\n

Sorry you can't shop with us right now. We're working hard to be back online as soon as possible.

\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n","/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\nimport * as React from 'react';\r\n\r\nimport { IMandsSocialFooterData } from './mands-social-footer.data';\r\nimport { IMandsSocialFooterProps } from './mands-social-footer.props.autogenerated';\r\n\r\n/**\r\n *\r\n * MandsSocialFooter component\r\n * @extends {React.PureComponent>}\r\n */\r\nexport default class MandsSocialFooter extends React.PureComponent> {\r\n public onImageClick = (destinationUrl: string) => {\r\n window.location.href = destinationUrl;\r\n return;\r\n };\r\n\r\n public render(): JSX.Element {\r\n const { config } = this.props;\r\n const socialItems = config.socialItems ? config.socialItems : [];\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n {socialItems.map(socialItem => {\r\n const imageSrc = socialItem && socialItem.image && socialItem.image && socialItem.image.src;\r\n const imageHeight = socialItem && socialItem.image && socialItem.image && socialItem.image.height;\r\n const imageWidth = socialItem && socialItem.image && socialItem.image && socialItem.image.width;\r\n const destinationUrl =\r\n socialItem && socialItem.destinationUrl && socialItem.destinationUrl ? socialItem.destinationUrl : '';\r\n const openInNewTab =\r\n socialItem && socialItem.openInNewTab && socialItem.openInNewTab ? socialItem.openInNewTab : undefined;\r\n return (\r\n
\r\n \r\n Background Image\r\n \r\n
\r\n );\r\n })}\r\n
\r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n","/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\nimport * as React from 'react';\r\n\r\nimport { IMandsThankyouData } from './mands-thankyou.data';\r\nimport { IMandsThankyouProps } from './mands-thankyou.props.autogenerated';\r\n\r\n/**\r\n *\r\n * MandsThankyou component\r\n * @extends {React.PureComponent>}\r\n */\r\nexport default class MandsThankyou extends React.PureComponent> {\r\n public render(): JSX.Element {\r\n const {\r\n config: { headingText, redirectionLink, paragraphText }\r\n } = this.props;\r\n\r\n return (\r\n
\r\n {headingText &&

{headingText}

}\r\n {paragraphText &&

{paragraphText}

}\r\n {redirectionLink && redirectionLink.linkText && (\r\n {redirectionLink.linkText}\r\n )}\r\n
\r\n );\r\n }\r\n}\r\n","/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\nimport * as React from 'react';\r\n\r\nimport { IPrivacyPolicyModuleData } from './privacy-policy-module.data';\r\nimport { IPrivacyPolicyModuleProps } from './privacy-policy-module.props.autogenerated';\r\nimport { RichTextComponent } from '@msdyn365-commerce/core';\r\n/**\r\n *\r\n * PrivacyPolicyModule component\r\n * @extends {React.PureComponent>}\r\n */\r\nexport default class PrivacyPolicyModule extends React.PureComponent> {\r\n public render(): JSX.Element {\r\n const {\r\n config: { heading, privacyPolicy }\r\n } = this.props;\r\n\r\n return (\r\n
\r\n

\r\n {heading}\r\n

\r\n
{privacyPolicy && }
\r\n
\r\n );\r\n }\r\n}\r\n","/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\nimport * as React from 'react';\r\n\r\nimport { ITermsAndConditionsData } from './terms-and-conditions.data';\r\nimport { ITermsAndConditionsProps } from './terms-and-conditions.props.autogenerated';\r\nimport { RichTextComponent } from '@msdyn365-commerce/core';\r\n/**\r\n *\r\n * TermsAndConditions component\r\n * @extends {React.PureComponent>}\r\n */\r\nexport default class TermsAndConditions extends React.PureComponent> {\r\n public render(): JSX.Element {\r\n const {\r\n config: { heading, termsConditions }\r\n } = this.props;\r\n\r\n return (\r\n
\r\n

\r\n {heading}\r\n

\r\n
\r\n {termsConditions && }\r\n
\r\n
\r\n );\r\n }\r\n}\r\n","/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\nimport * as React from 'react';\r\n\r\n// TODO: Current build require at least one tsx file\r\nexport default () =>
;\r\n","/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\nimport classnames from 'classnames';\r\nimport * as React from 'react';\r\nimport { ICheckoutPaymentInstrumentViewProps } from '@msdyn365-commerce-modules/checkout/dist/types';\r\nimport { ICheckoutPaymentInstrumentProps as ICheckoutPaymentInstrumentExtendedProps } from '../definition-extensions/checkout-payment-instrument.ext.props.autogenerated';\r\nconst CheckoutPaymentInstrumentView: React.FC> = ({\r\n className,\r\n id,\r\n waiting,\r\n alert,\r\n context,\r\n paymentInformation,\r\n addPaymentForm,\r\n data,\r\n config: { totalAmmoutToPayHeading, paymentMethodHeading },\r\n ...restProps\r\n}) => {\r\n // @ts-ignore\r\n const amountDue = data.checkout && data.checkout.result && data.checkout.result.checkoutCart && data.checkout.result.checkoutCart._cart.AmountDue ? data.checkout.result.checkoutCart._cart.AmountDue\r\n : 0;\r\n const formattedTotalAmount = context.cultureFormatter.formatCurrency(amountDue);\r\n\r\n return (\r\n
\r\n
\r\n

\r\n {totalAmmoutToPayHeading}\r\n {formattedTotalAmount}\r\n

\r\n
\r\n {' '}\r\n {paymentMethodHeading}\r\n
\r\n
    \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
  • \r\n \r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n\r\n {waiting}\r\n {paymentInformation}\r\n {addPaymentForm}\r\n {alert}\r\n
\r\n );\r\n};\r\nexport default CheckoutPaymentInstrumentView;\r\n","import classnames from 'classnames';\r\nimport * as React from 'react';\r\n\r\n/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\nimport { IComponent, IComponentProps } from '@msdyn365-commerce/core';\r\nimport { ProductPrice } from '@msdyn365-commerce/retail-proxy';\r\n\r\nexport interface IPriceComponentProps extends IComponentProps<{ price: ProductPrice }> {\r\n className?: string;\r\n savingsText?: string;\r\n freePriceText?: string;\r\n originalPriceText?: string;\r\n currentPriceText?: string;\r\n}\r\nexport interface IPriceComponent extends IComponent {}\r\n\r\nconst Price: React.FC = (props: IPriceComponentProps) => {\r\n // CustomerContextualPrice could be 0\r\n if (props.data.price.CustomerContextualPrice === undefined) {\r\n return null;\r\n }\r\n\r\n return (\r\n \r\n {showStrikethroughPricing(props) ? renderCurrentPriceWithOriginalPrice(props) : renderCurrentPrice(props)}\r\n \r\n );\r\n};\r\n\r\nconst showStrikethroughPricing = (props: IPriceComponentProps) => {\r\n const originalPrice = getOriginalPrice(props);\r\n\r\n if (originalPrice && props.data.price.CustomerContextualPrice) {\r\n return originalPrice > props.data.price.CustomerContextualPrice;\r\n }\r\n\r\n return false;\r\n};\r\n\r\nconst getOriginalPrice = (props: IPriceComponentProps) => {\r\n return Math.max(props.data.price.TradeAgreementPrice || 0, props.data.price.AdjustedPrice || 0);\r\n};\r\n\r\nconst renderCurrentPrice = (props: IPriceComponentProps): JSX.Element | undefined => {\r\n const initialPrice = formatCurrency(props, props.data.price.CustomerContextualPrice);\r\n return (\r\n \r\n {initialPrice}\r\n \r\n );\r\n};\r\n\r\nconst formatCurrency = (props: IPriceComponentProps, price: number | undefined): string | undefined => {\r\n if (price === undefined) {\r\n return undefined;\r\n }\r\n\r\n if (price === 0 && props.freePriceText) {\r\n return props.freePriceText;\r\n }\r\n\r\n return props.context.cultureFormatter.formatCurrency(price);\r\n};\r\n\r\nconst renderCurrentPriceWithOriginalPrice = (props: IPriceComponentProps): JSX.Element | null => {\r\n const originalPrice = getOriginalPrice(props);\r\n const initialPrice = formatCurrency(props, originalPrice);\r\n\r\n return (\r\n <>\r\n \r\n {' '}\r\n {props.originalPriceText} {initialPrice} {props.currentPriceText} {renderCurrentPrice(props)}\r\n \r\n \r\n \r\n {props.savingsText && {props.savingsText}}\r\n \r\n );\r\n};\r\n\r\nexport default Price;\r\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport * as React from 'react';\nimport { isOboRequest } from '@msdyn365-commerce/core-internal';\nimport { IMsdyn365PvaChatConnectorData } from './msdyn365-pva-chat-connector.data';\nimport { IMsdyn365PvaChatConnectorConfig, IMsdyn365PvaChatConnectorProps } from './msdyn365-pva-chat-connector.props.autogenerated';\n\nexport interface IPvaChatConnectorViewProps extends IMsdyn365PvaChatConnectorProps {\n config: IMsdyn365PvaChatConnectorConfig;\n}\n\n/**\n * PvaChatConnector component\n * @extends {React.PureComponent>}\n */\nclass PvaChatConnector extends React.PureComponent> {\n // Loads CDN version of Botframework-Webchat library\n public componentDidMount(): void {\n if (isOboRequest(this.props.context.request)) {\n return;\n }\n\n const url = this.props.config.botFrameworkCDNURL || this.props.context.app.config.pvaChatConnectorBotFrameworkCDNURL;\n const script = document.createElement('script');\n script.src = url;\n script.async = true;\n script.crossOrigin = 'anonymous';\n document.body.appendChild(script);\n }\n\n public render(): JSX.Element | null {\n if (isOboRequest(this.props.context.request)) {\n return null;\n }\n\n return this.props.renderView(this.props);\n }\n}\n\nexport default PvaChatConnector;\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport * as React from 'react';\nimport { Chat, IPvaChatConnectorViewProps } from './index';\n\nexport default (props: IPvaChatConnectorViewProps) => {\n // Only for CDN loading check, won't be needed with npm package of Botframework-WebChat\n const [loaded, setLoaded] = React.useState(false);\n const p = {\n ...props\n };\n\n // Just to verify that CDN Chat Widget js lib is loaded\n // Remove this block if moving to npm package of Botframework-WebChat\n const interval = setInterval(() => {\n const t = typeof window;\n if (t !== 'undefined' && window.WebChat) {\n setLoaded(true);\n clearInterval(interval);\n }\n }, 100);\n\n return
{loaded && }
;\n};\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport { SDK_FRAGMENT_NAME, msdyn365Commerce } from '@msdyn365-commerce/core-internal';\nimport * as path from 'path';\nimport * as React from 'react';\nimport { isAbsoluteUrl, isRelativeUrl, logDebug, logError } from '../../utils/script-utils';\nimport { IDefaultExternalScriptProps } from './default-external-script.props.autogenerated';\n\n/**\n *\n * DefaultExternalScript component\n * @extends {React.PureComponent>}\n */\nclass DefaultExternalScript extends React.PureComponent> {\n constructor(props: IDefaultExternalScriptProps<{}>) {\n super(props);\n }\n\n public render(): JSX.Element | null {\n const { config } = this.props;\n logDebug(`Adding script tags for '${this.props.id}/${this.props.typeName}'`, this.props.telemetry);\n let source = config.scriptSource;\n\n let relativeBaseUrl: string = '';\n // Construct the relative base url, i.e. the base url from which statics will be served\n if (this.props.context) {\n relativeBaseUrl += this.props.context.request.url.staticCdnUrl;\n relativeBaseUrl += msdyn365Commerce.getEnvironmentVariable('SUBMISSIONID') || '';\n }\n\n if (isRelativeUrl(source)) {\n // If the source is a relative URL prepend the relative base url to the resolved source url for the actual source\n source = `${relativeBaseUrl}/${path.join(source)}`;\n } else if (source === '' || !isAbsoluteUrl(source)) {\n logError(\n 'Invalid external script - not a url. The external source is not an external or relative url, please use default-inline-script if you wish to load inline scripts',\n this.props.telemetry\n );\n return null;\n }\n const scriptHtml = ``;\n\n return React.createElement(SDK_FRAGMENT_NAME, { key: this.props.id, dangerouslySetInnerHTML: { __html: scriptHtml } });\n }\n}\n\nexport default DefaultExternalScript;\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport { isNonceEnabled, SDK_FRAGMENT_NAME } from '@msdyn365-commerce/core-internal';\nimport * as React from 'react';\nimport { isAbsoluteUrl, isRelativeUrl, logDebug, logError } from '../../utils/script-utils';\nimport { IDefaultInlineScriptProps } from './default-inline-script.props.autogenerated';\n\n/**\n *\n * DefaultScript\n * @extends {React.PureComponent>}\n */\nclass DefaultInlineScript extends React.PureComponent> {\n constructor(props: IDefaultInlineScriptProps<{}>) {\n super(props);\n }\n\n public render(): JSX.Element | null {\n const { config } = this.props;\n logDebug(`Adding script tags for '${this.props.id}/${this.props.typeName}'`, this.props.telemetry);\n const source = config.inlineScript;\n\n if (!source || source === '' || isAbsoluteUrl(source) || isRelativeUrl(source)) {\n logError(\n 'Invalid inline script - Empty inline source defined or a url is being used as a source. Use default-external-script to load scripts from an external or relative url.',\n this.props.telemetry\n );\n return null;\n }\n\n if (source.includes('')) {\n logError('Invalid inline script - inline script should not contain html tags', this.props.telemetry);\n return null;\n }\n\n const nonceToken = this.props.context && isNonceEnabled(this.props.context.request);\n const scriptHtml = ``;\n return React.createElement(SDK_FRAGMENT_NAME, { key: this.props.id, dangerouslySetInnerHTML: { __html: scriptHtml } });\n }\n}\n\nexport default DefaultInlineScript;\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport { SDK_FRAGMENT_NAME } from '@msdyn365-commerce/core-internal';\nimport * as React from 'react';\nimport { isAbsoluteUrl, isRelativeUrl, logDebug, logError } from '../../utils/script-utils';\nimport { IDefaultInlineStyleProps } from './default-inline-style.props.autogenerated';\n\n/**\n *\n * DefaultStyle\n * @extends {React.PureComponent>}\n */\n\nconst DefaultInlineStyle = (props: IDefaultInlineStyleProps<{}>) => {\n const { config, id, typeName, telemetry } = props;\n logDebug(`Adding style tags for '${id}/${typeName}'`, telemetry);\n const source = config.inlineStyle;\n\n if (!source || source === '' || isAbsoluteUrl(source) || isRelativeUrl(source)) {\n logError('Invalid inline style - Empty inline source defined or a url is being used as a source.', telemetry);\n return null;\n }\n\n if (source.includes('')) {\n logError('Invalid inline style - inline style should not contain html tags', telemetry);\n return null;\n }\n\n const styleHtml = ``;\n return React.createElement(SDK_FRAGMENT_NAME, { key: id, dangerouslySetInnerHTML: { __html: styleHtml } });\n};\n\nexport default DefaultInlineStyle;\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport * as React from 'react';\n\nimport { isNonceEnabled, SDK_FRAGMENT_NAME } from '@msdyn365-commerce/core-internal';\nimport { IDefaultMetatagsData } from './default-metatags.data';\nimport { IDefaultMetatagsProps } from './default-metatags.props.autogenerated';\n\n/**\n *\n * DefaultPageSummaryMetadata component\n * @extends {React.PureComponent>}\n */\nclass DefaultMetaTags extends React.PureComponent> {\n public render(): JSX.Element {\n const { data, config } = this.props;\n const nonceToken = this.props.context && isNonceEnabled(this.props.context.request);\n let metaTagsHtml: string = '';\n let metaTags;\n if (config.metaTags) {\n metaTags = nonceToken ? this._addNonceToInlineScript(config.metaTags, nonceToken) : config.metaTags;\n metaTagsHtml = metaTags && metaTags.join('\\n');\n } else if (data.metaTags) {\n metaTags = data.metaTags;\n let metaTagsText = metaTags.map(simpleText => simpleText.text);\n metaTagsText = nonceToken ? this._addNonceToInlineScript(metaTagsText, nonceToken) : metaTagsText;\n metaTagsHtml = metaTagsText && metaTagsText.join('\\n');\n }\n return React.createElement(SDK_FRAGMENT_NAME, { key: this.props.id, dangerouslySetInnerHTML: { __html: metaTagsHtml } });\n }\n\n private _addNonceToInlineScript(metaTags: string[], nonceToken: string): string[] {\n const inlineScripRegex = /(.*?)<\\/script>/g;\n return metaTags\n .map(metaTag => {\n if (inlineScripRegex.test(metaTag)) {\n return metaTag.replace(/