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AAQrR,EAAMY,OAAO0Q,SAAWxR,EAAAA,cAAA,MAAIqH,UAAW,uBAErD,OACIrH,EAAAA,cAAA,MAAA0J,OAAAC,OAAA,CAAKtC,UAAWnH,EAAMmH,UAAWJ,GAAI/G,EAAM+G,IAAQ/G,EAAMqO,uBAAuBrO,IAC3EqR,EACC,yECPd,YAAqBvR,EAAAA,cAAA,msBCYrB,MAAMyR,UAAkBzR,EAAAA,cAAxBC,cAAA,oBAiBW,KAAA8N,iBAAoBC,GAA0C3N,KAAKH,MAAMY,OAAO8G,UAAYoG,EAAMC,OAAOpJ,KACpH,CAjBWzD,SACH,MAAM,UAAEwG,EAAS,UAAEP,GAAchH,KAAKH,MAAMY,OACtC2G,EAAOG,GACT5H,EAAAA,cAACkO,EAAAA,GAA0B,CACvBzG,KAAMG,EACNuG,UAAW,CAAEC,OAAQ/N,KAAK0N,iBAAkBM,eAAgBhO,KAAKH,MAAMI,QAAQC,WAGjFmR,EAAkBxP,EAAAA,EAAA,GACjB7B,KAAKH,OAAK,IACb0H,UAAWH,EACXJ,UAAWkB,IAAW,gBAAiBlB,KAE3C,OAAOhH,KAAKH,MAAMiC,WAAWuP,EACjC,EAIJ,wFC9BA,MAMA,EANqDxR,GACjDF,EAAAA,cAAA,MAAA0J,OAAAC,OAAA,CAAKtC,UAAWnH,EAAMmH,UAAWJ,GAAI/G,EAAM+G,IAAQ/G,EAAMqO,uBAAuBrO,IAC3EA,EAAM0H,kFCHf,YAAqB5H,EAAAA,cAAA","sources":["webpack://venchi-ecommerce-msdyn365/./src/modules/commision-junction/commision-junction.props.autogenerated.ts?52cb","webpack://venchi-ecommerce-msdyn365/./src/modules/commision-junction/commision-junction.tsx?9c98","webpack://venchi-ecommerce-msdyn365/./src/modules/commision-junction/commision-junction.view.tsx?eff9","webpack://venchi-ecommerce-msdyn365/./src/modules/custom-image-banner/custom-image-banner.tsx?6f66","webpack://venchi-ecommerce-msdyn365/./src/modules/custom-image-banner/custom-image-banner.view.tsx?94d6","webpack://venchi-ecommerce-msdyn365/./src/modules/linked-container/linked-container.tsx?090c","webpack://venchi-ecommerce-msdyn365/./src/modules/timeline/timeline.tsx?62a2","webpack://venchi-ecommerce-msdyn365/./src/modules/timeline/getTimelineItemLabel.ts?1b0d","webpack://venchi-ecommerce-msdyn365/./src/modules/timeline/timeline.view.tsx?f138","webpack://venchi-ecommerce-msdyn365/./src/themes/venchi/venchi.tsx?30fb","webpack://venchi-ecommerce-msdyn365/./src/modules/checkout-apple-pay/checkout-apple-pay.view.tsx?222d","webpack://venchi-ecommerce-msdyn365/./src/modules/checkout-customer-account-payment/checkout-customer-account-payment.view.tsx?79c6","webpack://venchi-ecommerce-msdyn365/./src/modules/checkout-express/checkout-express.view.tsx?134b","webpack://venchi-ecommerce-msdyn365/./src/modules/checkout-google-pay/checkout-google-pay.view.tsx?b92f","webpack://venchi-ecommerce-msdyn365/./src/modules/default-external-script/default-external-script.tsx?2a33","webpack://venchi-ecommerce-msdyn365/./src/modules/default-inline-script/default-inline-script.tsx?5ccd","webpack://venchi-ecommerce-msdyn365/./src/modules/default-inline-style/default-inline-style.tsx?3552","webpack://venchi-ecommerce-msdyn365/./src/modules/place-holder-for-container-preview/place-holder-for-container-preview.tsx?605e","webpack://venchi-ecommerce-msdyn365/./src/utils/script-utils.ts?cb52","webpack://venchi-ecommerce-msdyn365/./src/modules/fabrikam/fabrikam.tsx?5b10","webpack://venchi-ecommerce-msdyn365/./src/modules/html-block/html-block.tsx?c080","webpack://venchi-ecommerce-msdyn365/./src/modules/html-block/html-block.view.tsx?b072","webpack://venchi-ecommerce-msdyn365/./src/modules/product-page-summary/product-page-summary.tsx?2924","webpack://venchi-ecommerce-msdyn365/./src/modules/spacer/spacer.tsx?7565","webpack://venchi-ecommerce-msdyn365/./src/modules/spacer/spacer.view.tsx?1f15","webpack://venchi-ecommerce-msdyn365/./src/modules/starter/starter.tsx?aade","webpack://venchi-ecommerce-msdyn365/./src/modules/text-block/text-block.tsx?db84","webpack://venchi-ecommerce-msdyn365/./src/modules/text-block/text-block.view.tsx?9307","webpack://venchi-ecommerce-msdyn365/./src/modules/adventureworks/adventureworks.tsx?8342"],"sourcesContent":["/**\r\n * Copyright (c) Microsoft Corporation\r\n * All rights reserved. See License.txt in the project root for license information.\r\n * ICommisionJunction contentModule Interface Properties\r\n * THIS FILE IS AUTO-GENERATED - MANUAL MODIFICATIONS WILL BE LOST\r\n */\r\n\r\nimport * as Msdyn365 from '@msdyn365-commerce/core';\r\n\r\nexport const enum pageType {\r\n accountCenter = 'accountCenter',\r\n accountSignup = 'accountSignup',\r\n applicationStart = 'applicationStart',\r\n branchLocator = 'branchLocator',\r\n cart = 'cart',\r\n category = 'category',\r\n conversionConfirmation = 'conversionConfirmation',\r\n department = 'department',\r\n homepage = 'homepage',\r\n information = 'information',\r\n productDetail = 'productDetail',\r\n propertyDetail = 'propertyDetail',\r\n propertyResults = 'propertyResults',\r\n searchResults = 'searchResults',\r\n storeLocator = 'storeLocator',\r\n subCategory = 'subCategory'\r\n}\r\n\r\nexport interface ICommisionJunctionConfig extends Msdyn365.IModuleConfig {\r\n isCJEnabled?: boolean;\r\n cookieName?: string;\r\n enterpriseId?: string;\r\n pageType?: pageType;\r\n}\r\n\r\nexport interface ICommisionJunctionProps extends Msdyn365.IModule {\r\n config: ICommisionJunctionConfig;\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\n\r\nimport { ICookieSetOptions } from '@msdyn365-commerce/core-internal';\r\nimport { getCartState, ICartState } from '@msdyn365-commerce/global-state';\r\nimport { SalesOrder } from '@msdyn365-commerce/retail-proxy';\r\nimport CryptoJS from 'crypto-js';\r\nimport * as React from 'react';\r\nimport { ICommisionJunctionData } from './commision-junction.data';\r\nimport { ICommisionJunctionProps, pageType } from './commision-junction.props.autogenerated';\r\n\r\ninterface ISiteTagItem {\r\n itemId: string | undefined;\r\n unitPrice: number | undefined;\r\n quantity: number | undefined;\r\n discount?: number | undefined;\r\n}\r\n\r\ninterface ISiteTag {\r\n enterpriseId: string | undefined;\r\n pageType: pageType | undefined;\r\n userId: string;\r\n emailHash: string;\r\n cartSubtotal: number | undefined;\r\n items: ISiteTagItem[];\r\n}\r\n\r\ninterface IConversionTag {\r\n actionTrackerId: number;\r\n amount: number;\r\n cjeventOrder: string;\r\n coupon?: string;\r\n currency: string;\r\n enterpriseId: string | undefined;\r\n orderId: string;\r\n pageType: pageType | undefined;\r\n userId: string;\r\n emailHash: string;\r\n items: ISiteTagItem[];\r\n}\r\n\r\nexport interface ICommisionJunctionViewProps extends ICommisionJunctionExtentedProps {\r\n isCJEnabled: boolean;\r\n siteTag: ISiteTag;\r\n conversionTag?: IConversionTag;\r\n}\r\n\r\nexport interface ICommisionJunctionExtentedProps extends ICommisionJunctionProps {\r\n salesOrder?: SalesOrder;\r\n}\r\n\r\n/**\r\n * Age Gate state.\r\n */\r\nexport interface ICommisionJunctionState {\r\n cartData?: ICartState;\r\n}\r\n/**\r\n *\r\n * CommisionJunction component\r\n * @extends {React.PureComponent, ICommisionJunctionState>}\r\n */\r\nclass CommisionJunction extends React.PureComponent, ICommisionJunctionState> {\r\n constructor(props: ICommisionJunctionExtentedProps) {\r\n super(props);\r\n this.state = { cartData: undefined };\r\n }\r\n\r\n public async componentDidMount() {\r\n if (this.props.config.pageType !== pageType.conversionConfirmation) {\r\n const currentCartState = await getCartState(this.props.context.actionContext);\r\n\r\n if (currentCartState !== undefined) {\r\n this.setState({\r\n cartData: currentCartState\r\n });\r\n }\r\n }\r\n }\r\n\r\n private readonly _isConsentGiven: boolean = this.props.context.request.cookies.isConsentGiven();\r\n public render(): JSX.Element | null {\r\n const cookieName = this.props.config.cookieName || 'cje';\r\n const { cjevent = '' } = this.props.context.request.query || {};\r\n if (cjevent && cjevent !== null && cjevent !== '') {\r\n const cookieOptions: ICookieSetOptions = {\r\n secure: true,\r\n sameSite: 'none'\r\n };\r\n cookieOptions.maxAge = 395 * 24 * 60 * 60;\r\n this.props.context.request.cookies.set(cookieName, cjevent, cookieOptions);\r\n }\r\n\r\n const isCJEnabled = this._isConsentGiven && this.props.config.isCJEnabled;\r\n\r\n let siteTag: ISiteTag | null = null;\r\n let conversionTag: IConversionTag | null = null;\r\n if (isCJEnabled) {\r\n if (this.props.config.pageType !== pageType.conversionConfirmation) {\r\n siteTag = this._setSiteTag();\r\n } else {\r\n conversionTag = this._setConversionTag();\r\n }\r\n }\r\n const viewProps = {\r\n ...this.props,\r\n isConsentGiven: this._isConsentGiven,\r\n isCJEnabled: this._isConsentGiven && this.props.config.isCJEnabled,\r\n siteTag: siteTag,\r\n conversionTag: conversionTag\r\n };\r\n return this.props.renderView(viewProps);\r\n }\r\n\r\n private _setSiteTag(): ISiteTag {\r\n const enterpriseId = this.props.config.enterpriseId;\r\n let emailAddressHash;\r\n if (this.props.context.request.user.emailAddress !== undefined && this.props.context.request.user.emailAddress !== null) {\r\n const email = this.props.context.request.user.emailAddress.toLocaleLowerCase().trim();\r\n emailAddressHash = CryptoJS.SHA256(email).toString(CryptoJS.enc.Hex);\r\n }\r\n const items: ISiteTagItem[] = [];\r\n let subTotalAmount: number = 0;\r\n subTotalAmount = (this.state.cartData && this.state.cartData.cart.SubtotalAmount) || 0;\r\n const cartLines = this.state.cartData && this.state.cartData.cart.CartLines;\r\n if (cartLines && cartLines?.length > 0) {\r\n cartLines.map(cartline => {\r\n const item = {\r\n itemId: cartline.ItemId,\r\n unitPrice: cartline.Price,\r\n quantity: cartline.Quantity,\r\n discount: cartline.DiscountAmount\r\n };\r\n\r\n items.push(item);\r\n });\r\n }\r\n\r\n return {\r\n enterpriseId: enterpriseId,\r\n pageType: this.props.config.pageType,\r\n userId: this.props.context.request.user.customerAccountNumber || '',\r\n emailHash: emailAddressHash || '',\r\n cartSubtotal: subTotalAmount,\r\n items: items\r\n };\r\n }\r\n\r\n private _setConversionTag(): IConversionTag | null {\r\n const { salesId = '', transactionId = '' } = this.props.context.request.query || {};\r\n const channelReferenceId = this.props?.salesOrder?.ChannelReferenceId || '';\r\n const enterpriseId = this.props.config.enterpriseId;\r\n const cjeCookieValue = this.props.context.request.cookies.get(this.props.config.cookieName || 'cje').value;\r\n const items: ISiteTagItem[] = [];\r\n const salesOrder = this.props.salesOrder;\r\n const totalAmount: number | undefined = salesOrder && salesOrder.NetAmountWithoutTax;\r\n const currencyCode: string | undefined = salesOrder && salesOrder.CurrencyCode;\r\n const orderId: string | undefined = salesId || channelReferenceId || transactionId;\r\n let emailAddressHash;\r\n if (this.props.context.request.user.emailAddress !== undefined && this.props.context.request.user.emailAddress !== null) {\r\n const email = this.props.context.request.user.emailAddress.toLocaleLowerCase().trim();\r\n emailAddressHash = CryptoJS.SHA256(email).toString(CryptoJS.enc.Hex);\r\n }\r\n const coupons: string[] = [];\r\n\r\n const salesLines = salesOrder?.SalesLines;\r\n if (salesLines && salesLines?.length > 0) {\r\n salesLines.map(salesLine => {\r\n const item: ISiteTagItem = {\r\n itemId: salesLine.ItemId,\r\n unitPrice: salesLine.Price,\r\n quantity: salesLine.Quantity\r\n };\r\n salesLine.DiscountLines!.map(discount => {\r\n // eslint-disable-next-line @typescript-eslint/restrict-plus-operands\r\n if (discount.DiscountCode && discount.DiscountCode !== '') {\r\n coupons.push(discount.DiscountCode);\r\n }\r\n item.discount = (item.discount || 0) + (discount.EffectiveAmount || 0);\r\n });\r\n items.push(item);\r\n });\r\n }\r\n\r\n if (currencyCode !== undefined && enterpriseId !== undefined && orderId !== undefined && totalAmount !== undefined) {\r\n const couponsUnq = [...new Set(coupons)];\r\n return {\r\n actionTrackerId: 430475,\r\n amount: totalAmount,\r\n cjeventOrder: cjeCookieValue || '',\r\n coupon: couponsUnq.length > 0 ? `${couponsUnq.join(',')}` : '',\r\n currency: currencyCode,\r\n enterpriseId: enterpriseId,\r\n orderId: orderId,\r\n pageType: this.props.config.pageType,\r\n userId: this.props.context.request.user.customerAccountNumber || '',\r\n emailHash: emailAddressHash || '',\r\n items: items\r\n };\r\n }\r\n\r\n return null;\r\n }\r\n}\r\n\r\nexport default CommisionJunction;\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 * as React from 'react';\r\nimport { ICommisionJunctionViewProps } from './commision-junction';\r\n\r\nclass CommisionJunctionViewProps extends React.PureComponent {\r\n public constructor(props: ICommisionJunctionViewProps) {\r\n super(props);\r\n }\r\n\r\n public windowFunction(): void {\r\n if (this.props.isCJEnabled) {\r\n this.props.siteTag && this._addSiteTag();\r\n this.props.conversionTag && this._addConversionTag();\r\n }\r\n }\r\n\r\n public componentDidMount(): void {\r\n this.windowFunction();\r\n }\r\n\r\n public componentDidUpdate(): void {\r\n this.windowFunction();\r\n const script = document.createElement('script');\r\n script.src = 'https://www.mczbf.com/tags/12703/tag.js';\r\n script.type = 'text/javascript';\r\n script.async = true;\r\n script.id = 'cjapitag';\r\n document.body.appendChild(script);\r\n }\r\n\r\n public render(): JSX.Element | null {\r\n return <>;\r\n }\r\n\r\n /**\r\n * HandlePageLoad.\r\n */\r\n private readonly _addSiteTag = () => {\r\n if (!(window as any).cj) {\r\n (window as any).cj = {};\r\n }\r\n (window as any).cj.sitePage = this.props.siteTag;\r\n };\r\n\r\n private readonly _addConversionTag = () => {\r\n if (!(window as any).cj) {\r\n (window as any).cj = {};\r\n }\r\n (window as any).cj.order = this.props.conversionTag;\r\n };\r\n}\r\nexport default CommisionJunctionViewProps;\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\n\r\nimport * as React from 'react';\r\n\r\nimport { ICustomImageBannerData } from './custom-image-banner.data';\r\nimport { ICustomImageBannerProps } from './custom-image-banner.props.autogenerated';\r\n\r\nexport interface ICustomImageBannerViewProps extends ICustomImageBannerProps {}\r\n\r\n/**\r\n *\r\n * CustomImageBanner component\r\n * @extends {React.PureComponent>}\r\n */\r\nclass CustomImageBanner extends React.PureComponent> {\r\n public render(): JSX.Element | null {\r\n return this.props.renderView(this.props);\r\n }\r\n}\r\n\r\nexport default CustomImageBanner;\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\n\r\nimport * as Msdyn365 from '@msdyn365-commerce/core';\r\nimport * as React from 'react';\r\nimport { ICustomImageBannerViewProps } from './custom-image-banner';\r\n\r\nexport default (props: ICustomImageBannerViewProps) => {\r\n return (\r\n
\r\n
\r\n
\r\n {props.config.heading && props.config.heading.text\r\n ? React.createElement(\r\n props.config.heading.tag || 'h1',\r\n {\r\n className: 'image-banner__title',\r\n contentEditable: false\r\n },\r\n props.config.heading.text\r\n )\r\n : ''}\r\n {props.config.paragraph && (\r\n ${props.config.paragraph}

`} />\r\n )}\r\n {props.config.cta && props.config.cta.label && props.config.cta.link ? (\r\n \r\n ) : null}\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.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\n\r\nimport * as React from 'react';\r\nimport { ILinkedContainerProps } from './linked-container.props.autogenerated';\r\nimport { ILinkedContainerData } from './linked-container.data';\r\nimport classnames from 'classnames';\r\n\r\nconst LinkedContainer: React.FC> = props => {\r\n const { slots, id, config } = props;\r\n return (\r\n
\r\n {slots.content.map((children: React.ReactNode, index: number) => (\r\n {children}\r\n ))}\r\n
\r\n );\r\n};\r\n\r\nexport default LinkedContainer;\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\n\r\nimport * as React from 'react';\r\n\r\nimport { ITimelineData } from './timeline.data';\r\nimport { ITimelineProps } from './timeline.props.autogenerated';\r\n\r\nexport interface ITimelineViewProps extends ITimelineProps {}\r\n\r\n/**\r\n *\r\n * Timeline component\r\n * @extends {React.PureComponent>}\r\n */\r\nclass Timeline extends React.PureComponent> {\r\n public render(): JSX.Element | null {\r\n return this.props.renderView(this.props);\r\n }\r\n}\r\n\r\nexport default Timeline;\r\n","export const getTimelineItemLabel = (linkText: string, heading?: string) => {\r\n return heading ? `${heading} ${linkText}` : linkText;\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\n\r\nimport * as React from 'react';\r\nimport { ITimelineViewProps } from './timeline';\r\nimport { getTimelineItemLabel } from './getTimelineItemLabel';\r\n\r\nexport default (props: ITimelineViewProps) => {\r\n return (\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\ndeclare global {\r\n interface Window {\r\n dataLayer: any;\r\n }\r\n}\r\n// TODO: Current build require at least one tsx file\r\nexport default () =>
;\r\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport { Module } from '@msdyn365-commerce-modules/utilities';\nimport * as React from 'react';\nimport { ICheckoutApplePayViewProps } from './checkout-apple-pay';\n\nconst CheckoutApplePayView: React.FC = props => {\n const { checkoutApplePay, applePayButton, alert } = props;\n\n return (\n \n {alert}\n {applePayButton}\n \n );\n};\n\nexport default CheckoutApplePayView;\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport { Module, Node } from '@msdyn365-commerce-modules/utilities';\nimport * as React from 'react';\n\nimport { ICheckoutCustomerAccountPaymentViewProps, IAccountPaymentEditViewForm, IAccountPaymentSummaryViewForm } from './index';\n\nexport const SummaryForm: React.FC = ({\n formProps,\n label,\n paymentAmount,\n addPaymentButton,\n appliedLine,\n bottomBorder\n}) => (\n \n <>\n {label}\n {paymentAmount}\n {addPaymentButton}\n {appliedLine}\n {bottomBorder}\n \n \n);\n\nexport const EditForm: React.FC = ({\n formProps,\n inputLabel,\n inputAmount,\n addPaymentButton,\n customerName,\n customerAccountNumber,\n customerSince,\n accountCredit,\n alert,\n accountDetails,\n appliedLine,\n bottomBorder\n}) => (\n \n <>\n {customerName}\n {customerAccountNumber}\n {customerSince}\n {accountCredit}\n {accountDetails}\n {inputLabel}\n {alert}\n {inputAmount}\n {addPaymentButton}\n {appliedLine}\n {bottomBorder}\n \n \n);\n\nconst CheckoutCustomerAccountView: React.FC = props => {\n const { checkoutCustomerAccount, checkoutErrorRef, summaryView, editView, moduleState, alert } = props;\n return (\n \n {alert}\n {moduleState.isReady && summaryView && }\n {!moduleState.isReady && editView && }\n \n );\n};\n\nexport default CheckoutCustomerAccountView;\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport { Module, Node } from '@msdyn365-commerce-modules/utilities';\nimport * as React from 'react';\n\nimport { ICheckoutExpressOverlayModal, ICheckoutExpressViewProps } from './checkout-express';\n\n/**\n * Overlay modal.\n * @param param0 - Modal.\n * @param param0.modal - Modal param.\n * @returns React node.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- public name.\nconst OverlayModal: React.FC = ({ modal }) => {\n return ;\n};\n\n/**\n * Checkout express view.\n * @param param0 - Checkout express view props.\n * @param param0.checkoutExpress - Checkout express.\n * @param param0.waiting - Waiting.\n * @param param0.alert - Alert.\n * @param param0.addPaymentForm - Add payment form.\n * @param param0.overlayModal - Overlay modal.\n * @param param0.title - Module title.\n * @param param0.shouldHideExpressCheckout - ShouldHideExpressCheckout.\n * @returns React node.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention -- Public name.\nconst CheckoutExpressView: React.FC = ({\n checkoutExpress,\n waiting,\n alert,\n addPaymentForm,\n overlayModal,\n title,\n shouldHideExpressCheckout\n}) =>\n shouldHideExpressCheckout ? (\n <>\n ) : (\n \n {title}\n {waiting}\n {alert}\n {addPaymentForm}\n {overlayModal && }\n \n );\n\nexport default CheckoutExpressView;\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport { Module } from '@msdyn365-commerce-modules/utilities';\nimport * as React from 'react';\nimport { ICheckoutGooglePayViewProps } from './checkout-google-pay';\n\nconst CheckoutGooglePayView: React.FC = props => {\n const { alert, checkoutGooglePay, checkoutButton } = props;\n return (\n \n {alert}\n
ref?.appendChild(checkoutButton || document.createElement('div'))}>
\n
\n );\n};\n\nexport default CheckoutGooglePayView;\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 { PlaceholderForContainerPreviewComponent } from '@msdyn365-commerce/core';\n\nexport default PlaceholderForContainerPreviewComponent;\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport { IInternalTelemetry, LogLevel } from '@msdyn365-commerce/telemetry-internal';\n\nexport const logDebug = (debugMessage: string, telemetry: IInternalTelemetry | undefined): void => {\n telemetry && telemetry.log(LogLevel.Debug, debugMessage);\n};\n\nexport const logError = (errorMessage: string, telemetry: IInternalTelemetry | undefined): void => {\n telemetry && telemetry.log(LogLevel.Error, errorMessage);\n};\n\n/**\n * Returns true if the given string matches an URL pattern\n *\n * @param source The string to check against\n */\nexport const isAbsoluteUrl = (source: string): boolean => {\n // eslint-disable-next-line security/detect-unsafe-regex\n return /^(http|https):\\/\\/(\\w+:{0,1}\\w*@)?(\\S+)(:[0-9]+)?(\\/|\\/([\\w#!:.?+=&%@!\\-\\/]))?$/.test(source);\n};\n\nexport const isRelativeUrl = (source: string): boolean => {\n return /^(?!www\\.|(?:http|ftp)s?:\\/\\/|[A-Za-z]:\\\\|\\/\\/).*(\\.js){1}$/.test(source);\n};\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\n// TODO: Current build require at least one tsx file\nexport default () =>
;\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 * as MsDyn365 from '@msdyn365-commerce/core';\nimport classnames from 'classnames';\n\nimport { IHtmlBlockProps } from './html-block.props.autogenerated';\n\nexport interface IHtmlBlockViewProps extends IHtmlBlockProps<{}> {\n content?: React.ReactNode;\n className?: string;\n}\n\n/**\n *\n * HtmlBlock component\n * @extends {React.PureComponent>}\n */\nclass HtmlBlock extends React.PureComponent> {\n public render(): JSX.Element | null {\n const { content, className } = this.props.config;\n const text = content && (\n \n );\n const htmlBlockViewProps = {\n ...this.props,\n content: text,\n className: classnames('ms-html-block', className)\n };\n return this.props.renderView(htmlBlockViewProps) as React.ReactElement;\n }\n\n public handleTextChange = (event: MsDyn365.ContentEditableEvent) => (this.props.config.content = event.target.value);\n}\n\nexport default HtmlBlock;\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 { IHtmlBlockViewProps } from './html-block';\n\nconst HtmlBlockView: React.FC = props => (\n
\n {props.content}\n
\n);\n\nexport default HtmlBlockView;\n","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport { HtmlHeadInclude, IAny, IGeneric } from '@msdyn365-commerce/core';\nimport * as React from 'react';\n\nimport { IProductPageSummaryData } from './product-page-summary.data';\nimport { IProductPageSummaryProps } from './product-page-summary.props.autogenerated';\n\n/**\n *\n * ProductPageSummary component.\n * @extends {React.PureComponent}\n */\nclass ProductPageSummary extends React.PureComponent> {\n public render(): JSX.Element {\n if (this.props.data.productPageSummary.result === undefined) {\n throw new Error('PageSummaryData input to page-summary is undefined. Unable to generate page-summary');\n }\n let {\n data: {\n productPageSummary: {\n result: { title, description, keywords, sharingImageUrl, faviconUrl }\n }\n }\n } = this.props;\n\n const {\n config,\n context,\n data: {\n productPageSummary: {\n result: { canonicalUrl, productId, productBrand, price }\n }\n }\n } = this.props;\n\n // Product SEO metadata specific information - non-overridable\n const productName = title;\n const productDescription = description;\n const productImageUrl = sharingImageUrl;\n\n // Override values coming from data action if config values are provided\n title = config.title || title;\n description = config.description || description;\n keywords = config.keywords || keywords;\n sharingImageUrl = (config.sharingImage && config.sharingImage.src) || sharingImageUrl;\n faviconUrl = config.faviconUrl || faviconUrl;\n\n // Construct page title with suffix and prefix if provided from app settings\n const pageTitle = this._constructPageTitle(title, context && context.request && context.request.app);\n return (\n <>\n \n {pageTitle && {pageTitle}}\n {description && }\n {keywords && }\n {canonicalUrl && }\n {faviconUrl && }\n \n {this._renderProductMetadata(\n productName,\n productDescription,\n productImageUrl,\n canonicalUrl,\n productId,\n price,\n context.request.channel?.Currency,\n productBrand\n )}\n {!config.disableOgTags && this._renderOgTags(pageTitle, description, sharingImageUrl)}\n {!config.disableTwitterTags && this._renderTwitterTags(pageTitle, description, sharingImageUrl)}\n \n );\n }\n\n /**\n * Renders the facebook and other social media specific metadata tags.\n *\n * @param title Page title.\n * @param description Product description.\n * @param sharingImageUrl Primary product image url.\n */\n private _renderOgTags(title: string | undefined, description: string | undefined, sharingImageUrl: string | undefined): JSX.Element {\n return (\n \n {title && }\n {description && }\n {sharingImageUrl && }\n \n \n );\n }\n\n /**\n * Constructs and renders the JSON-LD tag used to output product specific metadata used by search engine crawlers.\n *\n * @param productName Product name.\n * @param description Product description.\n * @param sharingImageUrl Primary product image url.\n * @param canonicalUrl Product canonical url.\n * @param productId Master product id.\n * @param price Proudct price.\n * @param currencyCode Current channel currency code.\n * @param productBrand Product brand.\n */\n private _renderProductMetadata(\n productName: string | undefined,\n description: string | undefined,\n sharingImageUrl: string | undefined,\n canonicalUrl: string | undefined,\n productId: number | undefined,\n price: number | undefined,\n currencyCode: string | undefined,\n productBrand: string | undefined\n ): JSX.Element {\n // Construct the JSON-LD data that contains the product metadata information used by search enginge crawlers\n const productMetaData = JSON.stringify({\n '@context': 'http://schema.org',\n '@type': 'Product',\n name: productName,\n description,\n image: sharingImageUrl,\n sku: productId,\n brand: {\n '@type': 'Brand',\n name: productBrand\n },\n offers: {\n '@type': 'Offer',\n url: canonicalUrl,\n priceCurrency: currencyCode,\n price\n }\n });\n return (\n \n {/* eslint-disable-next-line react/no-danger -- Implementation is a copy.*/}\n