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AKH,OAAK,IACbsE,UAAYA,GAAaC,GAAAA,CAAWqK,EAAatK,IAAesK,IAGpE,OAAOzO,KAAKH,MAAMoL,WAAW0D,IAIrC,2ECzBA,MAUA,EAV+C9O,IAC3C,MAAM+O,EAAQ/O,EAAMY,OAAOoO,SAAWlP,EAAAA,cAAA,MAAIwE,UAAW,uBAErD,OACIxE,EAAAA,cAAA,MAAAoF,OAAAC,OAAA,CAAKb,UAAWtE,EAAMsE,UAAW+G,GAAIrL,EAAMqL,IAAQrL,EAAMsL,uBAAuBtL,IAC3E+O","sources":["webpack://msdyn365.commerce.online/./src/modules/employee-route-switcher/employee-route-switcher.tsx?9e29","webpack://msdyn365.commerce.online/./src/modules/multi-carousel/multi-carousel.tsx?9184","webpack://msdyn365.commerce.online/./src/modules/smwe-sku-selector-container/smwe-sku-selector-container.tsx?aa7d","webpack://msdyn365.commerce.online/./src/themes/generazioni/generazioni.tsx?374f","webpack://msdyn365.commerce.online/./src/themes/intrinsic-wine-co/intrinsic-wine-co.tsx?ad32","webpack://msdyn365.commerce.online/./src/themes/stagsleap/stagsleap.tsx?f9e6","webpack://msdyn365.commerce.online/./src/themes/stemichelle-new/stemichelle-new.tsx?3ef8","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/product-page-summary/product-page-summary.tsx?2924","webpack://msdyn365.commerce.online/./src/modules/spacer/spacer.tsx?7565","webpack://msdyn365.commerce.online/./src/modules/spacer/spacer.view.tsx?1f15"],"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\nimport { IEmployeeRouteSwitcherData } from './employee-route-switcher.data';\r\nimport { IEmployeeRouteSwitcherProps } from './employee-route-switcher.props.autogenerated';\r\n\r\n/**\r\n *\r\n * EmployeeRouteSwitcher component\r\n * @extends {React.PureComponent>}\r\n */\r\nclass EmployeeRouteSwitcher extends React.PureComponent> {\r\n constructor(props: IEmployeeRouteSwitcherProps) {\r\n super(props);\r\n }\r\n\r\n public componentDidMount(): void {\r\n void this._startRerouteProcess();\r\n }\r\n\r\n public render(): JSX.Element | null {\r\n return
;\r\n }\r\n\r\n private async _startRerouteProcess(): Promise {\r\n const userCtx = this.props.context.request.user;\r\n const { loginLink, verificationLink } = this.props.config;\r\n const isLoggedIn = userCtx.isAuthenticated && userCtx.customerAccountNumber;\r\n\r\n if (window.location.hostname === 'manage.commerce.dynamics.com') { return; }\r\n\r\n // if not logged in, and login url is set - route to login / signup page\r\n if (loginLink && !isLoggedIn) {\r\n window.location.replace(loginLink.destinationUrl);\r\n }\r\n\r\n const isVerified = await this._isVerified();\r\n // if logged in, and the verification url is set, and the user is not verified - send them to the verification\r\n // page\r\n if (isLoggedIn && verificationLink && !isVerified) {\r\n window.location.replace(verificationLink.destinationUrl);\r\n }\r\n }\r\n\r\n private async _isVerified(): Promise {\r\n const customer = await this.props.data.customer;\r\n\r\n // verification currently just means they have zero affiliations. might need stronger logic later\r\n return !!(customer.CustomerAffiliations && customer.CustomerAffiliations.length > 0);\r\n }\r\n}\r\n\r\nexport default EmployeeRouteSwitcher;\r\n","import classnames from 'classnames';\r\nimport CSS from 'csstype';\r\nimport * as React from 'react';\r\n\r\nimport { IMultiCarouselProps } from './multi-carousel.props.autogenerated';\r\n\r\nexport type IMultiCarouselState = {\r\n widthContainer: number | null;\r\n activeSlide: number;\r\n lastCurrentSlide: number;\r\n activeIndicator: number;\r\n};\r\n\r\nexport type slidesType = {\r\n total: number;\r\n toShow: number;\r\n toScroll: number;\r\n};\r\n\r\n// =============================================================================\r\n/**\r\n * MultiCarousel component\r\n * @extends {React.PureComponent, IMultiCarouselState>}\r\n */\r\n// =============================================================================\r\nclass MultiCarousel extends React.PureComponent, IMultiCarouselState> {\r\n\r\n //==========================================================================\r\n // VARIABLES\r\n //==========================================================================\r\n\r\n private container: HTMLDivElement | null;\r\n private hasSlots: number;\r\n private slides: slidesType;\r\n private indicatorsTotal: number;\r\n private cycleInterval?: ReturnType;\r\n private scrollThreshold: number;\r\n private scrollStart: number | undefined;\r\n\r\n //==========================================================================\r\n // LIFE CYCLE\r\n //==========================================================================\r\n\r\n constructor(props: IMultiCarouselProps<{}>, state: IMultiCarouselState) {\r\n super(props);\r\n this.container = null;\r\n this.hasSlots = this.props.slots && this.props.slots.slides && this.props.slots.slides.length;\r\n this.slides = {\r\n total: this.hasSlots,\r\n toShow: this._getSlidesToShow(),\r\n toScroll: this._getSlidesToScroll()\r\n };\r\n this.scrollThreshold = 100;\r\n\r\n // If there are more total slides than set slidesToShow, then calculate the number of indicators needed.\r\n // If there are more slidesToShow than total slides, then all slides will be shown at once,\r\n // so only 1 indicator is needed.\r\n this.indicatorsTotal = (this.slides.total > this.props.config.slidesToShow) ? this._calculateIndicators(this.slides) : 1;\r\n\r\n this.state = {\r\n widthContainer: null,\r\n activeSlide: 0,\r\n lastCurrentSlide: this._getLastCurrentSlide(0),\r\n activeIndicator: 0\r\n };\r\n\r\n // This-bindings\r\n this._handleResize = this._handleResize.bind(this);\r\n this._hoverStart = this._hoverStart.bind(this);\r\n this._hoverEnd = this._hoverEnd.bind(this);\r\n this._handleTouchStart = this._handleTouchStart.bind(this);\r\n this._handleTouchEnd = this._handleTouchEnd.bind(this);\r\n this._handleKeyPress = this._handleKeyPress.bind(this);\r\n }\r\n\r\n public componentDidMount(): void {\r\n // Obtain starting carousel container width.\r\n this._handleResize();\r\n\r\n // Set autoplay interval.\r\n this._setInterval();\r\n\r\n // Listen to window resize for responsiveness.\r\n // tslint:disable-next-line: no-typeof-undefined\r\n if (typeof window !== 'undefined' && window.addEventListener) {\r\n window.addEventListener('resize', this._handleResize);\r\n this._handleResize();\r\n }\r\n\r\n // Add event listener for key presses.\r\n document.addEventListener('keyup', this._handleKeyPress);\r\n }\r\n\r\n public componentWillUnmount(): void {\r\n // Clear autoplay interval.\r\n this._clearInterval();\r\n\r\n // Clear window resize event listener.\r\n // tslint:disable-next-line: no-typeof-undefined\r\n if (typeof window !== 'undefined' && window.addEventListener) {\r\n window.removeEventListener('resize', this._handleResize);\r\n }\r\n\r\n // Remove event listener for key presses.\r\n document.removeEventListener('keyup', this._handleKeyPress);\r\n }\r\n\r\n public render(): JSX.Element | null {\r\n const { widthContainer } = this.state;\r\n const { config, slots } = this.props;\r\n const { showArrows, showIndicators} = config;\r\n const widthSlide = widthContainer && this._calculateWidthSlide(widthContainer);\r\n const widthSlideTrack = widthSlide && this._calculateWidthSlideTrack(widthSlide);\r\n const readyToRenderSlides = this.hasSlots && widthContainer && widthSlide ? true : false;\r\n\r\n return (\r\n \r\n
\r\n {showArrows && this._renderArrow('left')}\r\n this.container = element}\r\n style={{width: this._assignWidth(widthContainer)}}\r\n >\r\n \r\n {readyToRenderSlides && this._renderSlides(slots.slides, widthSlide!)}\r\n
\r\n
\r\n {showArrows && this._renderArrow('right')}\r\n \r\n {showIndicators && this._renderIndicators(this.indicatorsTotal)}\r\n \r\n );\r\n }\r\n\r\n //==========================================================================\r\n // BASE FUNCTIONALITY\r\n //==========================================================================\r\n\r\n // Obtain carousel container width pre-render to calculate width of each slide.\r\n private _handleResize(): void {\r\n this.container && this.setState({widthContainer: this.container.offsetWidth});\r\n }\r\n\r\n // If slidesToShow is set to less than or equal to total slides, then return slidesToShow.\r\n // And if slidesToShow is set to 0, return 1.\r\n // Otherwise, if total slides is less than slidesToShow, return the total slides instead.\r\n private _getSlidesToShow(): number {\r\n if (this.props.config.slidesToShow <= this.hasSlots) {\r\n return this.props.config.slidesToShow || 1;\r\n }\r\n return this.hasSlots;\r\n }\r\n\r\n // Return set slidesToScroll unless it's 0, then return 1.\r\n private _getSlidesToScroll(): number {\r\n return this.props.config.slidesToScroll || 1;\r\n }\r\n\r\n // Return index of the last slide that is shown on the carousel.\r\n private _getLastCurrentSlide(activeSlide: number): number {\r\n return activeSlide + (this.slides.toShow - 1);\r\n }\r\n\r\n // Calculate width of each slide by dividing the container width by how many slides are shown.\r\n private _calculateWidthSlide(widthContainer: number): number {\r\n return widthContainer / this.slides.toShow;\r\n }\r\n\r\n // Calculate total width of the slide track (even parts not shown) by multiplying slide width by total slides.\r\n private _calculateWidthSlideTrack(widthSlide: number): number {\r\n return widthSlide * this.slides.total;\r\n }\r\n\r\n // Render each slide.\r\n private _renderSlides(items: React.ReactNode[], widthSlide: number): JSX.Element {\r\n return (\r\n \r\n {items.map((slide: React.ReactNode, index: number) => {\r\n // Checks if the slide is currently shown on the carousel.\r\n const isCurrent = ((index >= this.state.activeSlide) && (index <= this.state.lastCurrentSlide)) ? true : false;\r\n // Checks if the slide is the current active slide (first of the shown slides).\r\n const isActive = (index === this.state.activeSlide) ? true : false;\r\n return (\r\n \r\n {slide}\r\n \r\n );\r\n })}\r\n \r\n );\r\n }\r\n\r\n // Assign a calculated width to an element via inline-styling.\r\n private _assignWidth(width: number | null): string | undefined {\r\n return width ? `${width}px` : undefined;\r\n }\r\n\r\n // Assign a translateX transformation to the slide track via inline-styling depending on the new active slide.\r\n private _assignTransform(targetSlide: number, widthSlide: number | null): CSS.Properties | undefined {\r\n if (widthSlide) {\r\n const translateValue: number = targetSlide * widthSlide * -1;\r\n return {transform: `translateX(${translateValue}px)`};\r\n }\r\n return undefined;\r\n }\r\n\r\n //==========================================================================\r\n // AUTOPLAY\r\n //==========================================================================\r\n\r\n // If autoplay is enabled, move scroll indicator by +1 at set autoplaySpeed intervals.\r\n // After reaching last indicator, restart at the first indicator via modulus.\r\n private _setInterval(): void {\r\n const { autoplay, autoplaySpeed } = this.props.config;\r\n if (autoplay && autoplaySpeed) {\r\n this.cycleInterval = setInterval(\r\n () => {\r\n const nextIndicator = (this.state.activeIndicator + 1) % this.indicatorsTotal;\r\n this._handleScrollIndicator(nextIndicator);\r\n },\r\n autoplaySpeed\r\n );\r\n }\r\n }\r\n\r\n // Clear autoplay interval.\r\n private _clearInterval(): void {\r\n clearInterval(this.cycleInterval!);\r\n }\r\n\r\n //==========================================================================\r\n // PAUSE ON HOVER\r\n //==========================================================================\r\n\r\n // If pauseOnHover is enabled, clear the autoplay interval on carousel's mouseEnter event.\r\n private _hoverStart(): void {\r\n if (this.props.config.pauseOnHover) {\r\n this._clearInterval();\r\n }\r\n }\r\n\r\n // If pauseOnHover is enabled, restart the autoplay interval on carousel's mouseLeave event.\r\n private _hoverEnd(): void {\r\n if (this.props.config.pauseOnHover) {\r\n this._setInterval();\r\n }\r\n }\r\n\r\n //==========================================================================\r\n // ARROWS\r\n //==========================================================================\r\n\r\n // Check if active slide is at the left or right limit in order to disable the corresponding arrow.\r\n private _checkEnd(direction: string): boolean {\r\n const leftEnd: number = 0;\r\n const rightEnd: number = this.slides.total - this.slides.toShow;\r\n if (\r\n ((direction === 'left') && (this.state.activeSlide <= leftEnd)) ||\r\n ((direction === 'right') && (this.state.activeSlide >= rightEnd))\r\n ) { return true; }\r\n return false;\r\n }\r\n\r\n // Check if active slide is near the left or right limit in order to calculate the remainder of slides before\r\n // reaching the limit.\r\n private _checkNearEnd(direction: string): boolean {\r\n const leftNearEnd: number = this.state.activeSlide;\r\n const rightNearEnd: number = this.slides.total - (this.state.activeSlide + this.slides.toShow);\r\n if (\r\n ((direction === 'left') && (leftNearEnd < this.slides.toScroll)) ||\r\n ((direction === 'right') && (rightNearEnd < this.slides.toScroll))\r\n ) { return true; }\r\n return false;\r\n }\r\n\r\n // Calculate remainder of how much more to scroll on arrow click, so the track slide does not go out of bounds.\r\n private _calculateRemainder(direction: string): number | void {\r\n const leftNearEnd: number = this.state.activeSlide;\r\n const rightNearEnd: number = this.slides.total - (this.state.activeSlide + this.slides.toShow);\r\n if (direction === 'left') {\r\n return leftNearEnd % this.slides.toScroll;\r\n } else if (direction === 'right') {\r\n return rightNearEnd % this.slides.toScroll;\r\n }\r\n }\r\n\r\n // Render each arrow.\r\n private _renderArrow(direction: string): JSX.Element {\r\n const isDisabled: boolean = this._checkEnd(direction);\r\n return (\r\n
\r\n this._handleArrow(direction)}\r\n >\r\n \r\n \r\n
\r\n );\r\n }\r\n\r\n // If arrow is not disabled, check first if active slide is near end or not.\r\n // If near end and has a remainder, then handle scroll with the remainder slides.\r\n // If not near end, then handle scroll with the set slidesToScroll.\r\n // If near end and no remainder, do nothing (at the limit).\r\n private _handleArrow(direction: string): void {\r\n const isNearEnd = this._checkNearEnd(direction);\r\n const remainder = this._calculateRemainder(direction);\r\n if (isNearEnd && remainder) {\r\n this._handleScrollArrow(direction, remainder);\r\n } else if (!isNearEnd) {\r\n this._handleScrollArrow(direction, this.slides.toScroll);\r\n }\r\n }\r\n\r\n // Set state with new active slide, the last showing current slide, and the active corresponding indicator.\r\n private _handleScrollArrow(direction: string, slidesToScroll: number): void {\r\n if (direction === 'left') {\r\n this.setState(prevState => {\r\n const newActiveSlide: number = prevState.activeSlide - slidesToScroll;\r\n return {\r\n activeSlide: newActiveSlide,\r\n lastCurrentSlide: this._getLastCurrentSlide(newActiveSlide),\r\n activeIndicator: prevState.activeIndicator - 1\r\n };\r\n });\r\n } else if (direction === 'right') {\r\n this.setState(prevState => {\r\n const newActiveSlide: number = prevState.activeSlide + slidesToScroll;\r\n return {\r\n activeSlide: newActiveSlide,\r\n lastCurrentSlide: this._getLastCurrentSlide(newActiveSlide),\r\n activeIndicator: prevState.activeIndicator + 1\r\n };\r\n });\r\n }\r\n }\r\n\r\n //==========================================================================\r\n // INDICATORS\r\n //==========================================================================\r\n\r\n // Calculate how many indicators are needed based on how many scrolls it will take to get to the end of\r\n // the carousel without going out of bounds.\r\n private _calculateIndicators(slides: slidesType): number {\r\n const slidesNotShown = Math.max(0, slides.total - slides.toShow);\r\n return Math.ceil((slidesNotShown / slides.toScroll) + 1);\r\n }\r\n\r\n // Render each indicator.\r\n private _renderIndicators(indicatorsTotal: number): JSX.Element {\r\n const indicatorsArray = [...Array(indicatorsTotal).keys()];\r\n return (\r\n
\r\n
    \r\n {indicatorsArray.map((indicator: number) => {\r\n const isDisabled: boolean = (indicator === this.state.activeIndicator) ? true : false;\r\n return (\r\n
  • \r\n this._handleScrollIndicator(indicator)}\r\n >\r\n \r\n \r\n
  • \r\n );\r\n })}\r\n
\r\n
\r\n );\r\n }\r\n\r\n // Set state with the clicked indicator, the new active slide, the last showing current slide.\r\n private _handleScrollIndicator(indicator: number): void {\r\n if ((indicator + 1) === this.indicatorsTotal) {\r\n const newActiveSlide: number = this.slides.total - this.slides.toShow;\r\n this.setState({\r\n activeSlide: newActiveSlide,\r\n lastCurrentSlide: this._getLastCurrentSlide(newActiveSlide)\r\n });\r\n } else {\r\n const newActiveSlide: number = indicator * this.slides.toScroll;\r\n this.setState({\r\n activeSlide: newActiveSlide,\r\n lastCurrentSlide: this._getLastCurrentSlide(newActiveSlide)\r\n });\r\n }\r\n this.setState({activeIndicator: indicator});\r\n }\r\n\r\n //==========================================================================\r\n // ACCESSIBILITY\r\n //==========================================================================\r\n\r\n // Detects touch start on mobile touchscreen devices.\r\n private _handleTouchStart(event: React.TouchEvent): void {\r\n if (event.touches.length === 0) {\r\n this.scrollStart = undefined;\r\n } else {\r\n this.scrollStart = event.touches[0].screenX;\r\n }\r\n }\r\n\r\n // Calculates the touchscreen swipe direction and distance to determine scroll behavior.\r\n private _handleTouchEnd(event: React.TouchEvent): void {\r\n if (event.changedTouches.length > 0 && this.scrollStart !== undefined) {\r\n const newTarget: number = event.changedTouches[0].screenX;\r\n const delta = newTarget - this.scrollStart;\r\n\r\n if (delta > this.scrollThreshold) {\r\n this._handleArrow('left');\r\n }\r\n\r\n if (delta < -this.scrollThreshold) {\r\n this._handleArrow('right');\r\n }\r\n }\r\n\r\n this.scrollStart = undefined;\r\n\r\n return;\r\n }\r\n\r\n // Allows keyboard arrows to scroll through the carousel.\r\n // tslint:disable-next-line:no-any\r\n private _handleKeyPress = (event: any) => {\r\n if (event.keyCode === 37) {\r\n this._handleArrow('left');\r\n } else if (event.keyCode === 39) {\r\n this._handleArrow('right');\r\n }\r\n };\r\n}\r\n\r\nexport default MultiCarousel;\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 { AsyncResult } from '@msdyn365-commerce/core';\r\n\r\nimport { observer } from 'mobx-react';\r\nimport * as React from 'react';\r\nimport Table from 'reactstrap/lib/Table';\r\n\r\nimport { ISmweSkuSelectorContainerData } from './smwe-sku-selector-container.data';\r\nimport { ISmweSkuSelectorContainerProps } from './smwe-sku-selector-container.props.autogenerated';\r\n\r\n/**\r\n *\r\n * SmweSkuSelectorContainer component\r\n * @extends {React.Component>}\r\n */\r\n@observer\r\nclass SmweSkuSelectorContainer extends React.Component> {\r\n\r\n /*\r\n constructor(props: ISmweSkuSelectorContainerProps) {\r\n super(props);\r\n }\r\n */\r\n\r\n private readonly attributeName: string = 'Can add to cart';\r\n\r\n // --------------------------------------------------------------\r\n // --------------------------------------------------------------\r\n public render(): JSX.Element | null {\r\n console.log('RenderModule');\r\n const { slots, data } = this.props;\r\n\r\n // Based on the current product, we might not want to show the SKU Selector\r\n const attributeList = data && data.productSpecificationData && data.productSpecificationData.result;\r\n const canAddToCartAttribute = attributeList && attributeList.filter(\r\n attribute => attribute.Name! === this.attributeName\r\n );\r\n const show = (canAddToCartAttribute && canAddToCartAttribute.length) ? canAddToCartAttribute[0].BooleanValue : true;\r\n\r\n if (!slots || !show) {\r\n return null;\r\n }\r\n\r\n // @ts-ignore\r\n const tableClass: AsyncResult = this.props.context.actionContext.get('String', 'Generic-SkuSelectorClasses');\r\n\r\n // sku fields we are interested in\r\n const children = [\r\n {\r\n heading: 'Product',\r\n cellClass: 'sku-selector-product-title',\r\n slot: 'productTitle',\r\n },\r\n {\r\n heading: 'Price',\r\n cellClass: 'sku-selector-product-price',\r\n slot: 'productPrice',\r\n },\r\n {\r\n heading: 'Club',\r\n cellClass: 'sku-selector-product-price',\r\n slot: 'productClubPrice',\r\n },\r\n {\r\n heading: 'QTY',\r\n cellClass: 'sku-selector-product-quantity',\r\n slot: 'productQuantity',\r\n },\r\n {\r\n heading: '',\r\n cellClass: 'sku-selector-add-to-cart',\r\n slot: 'productAddToCart',\r\n }\r\n ];\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n {children.map((entry, index: number) => {\r\n if (slots[entry.slot] && slots[entry.slot].length) {\r\n return (\r\n \r\n );\r\n }\r\n\r\n return null;\r\n })}\r\n \r\n \r\n\r\n \r\n \r\n {children.map((entry, index: number) => {\r\n if (slots[entry.slot] && slots[entry.slot].length) {\r\n return (\r\n \r\n );\r\n }\r\n\r\n return null;\r\n })}\r\n \r\n \r\n
\r\n {entry.heading}\r\n
{slots[entry.slot][0]}
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default SmweSkuSelectorContainer;\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\n\r\n /**\r\n * CoreComponent component\r\n * @extends {React.PureComponent}\r\n */\r\n\r\nclass Generazioni extends React.PureComponent {\r\n constructor(props: {}) {\r\n super(props);\r\n }\r\n\r\n public render(): JSX.Element | null {\r\n return