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J,EAAOC,QAAUC,W","sources":["webpack://Msdyn365.Commerce.Online/./src/modules/herbal-text-block-video/herbal-text-block-video.tsx?bf25","webpack://Msdyn365.Commerce.Online/./src/modules/herbal-text-block-video/components/herbal-video-player-popup.tsx?4af8","webpack://Msdyn365.Commerce.Online/./src/modules/herbal-text-block-video/herbal-text-block-video.view.tsx?af0d","webpack://Msdyn365.Commerce.Online/./lib/herbal-text-block-video/module-registration.js?0e54","webpack://Msdyn365.Commerce.Online/external var \"React\"?0d3b","webpack://Msdyn365.Commerce.Online/external var \"ReactDOM\"?853b"],"sourcesContent":["/*--------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * See License.txt in the project root for license information.\r\n *--------------------------------------------------------------*/\r\n\r\n/* eslint-disable no-duplicate-imports */\r\nimport * as MsDyn365 from '@msdyn365-commerce/core';\r\nimport classnames from 'classnames';\r\nimport * as React from 'react';\r\nimport { IHerbalTextBlockVideoProps } from './herbal-text-block-video.props.autogenerated';\r\nimport { HerbalVideoPlayerPopup, IHerbalVideoPlayerProps } from './components/herbal-video-player-popup';\r\nimport { observer } from 'mobx-react';\r\nimport { getTelemetryObject, isMobile, ITelemetryContent, VariantType } from '@msdyn365-commerce-modules/utilities';\r\nimport { IPlayerData, IPlayerOptions, IPlayerResources, IVideoMetadata, Player } from '@msdyn365-commerce/components';\r\n\r\nexport interface IHerbalTextBlockVideoViewProps extends IHerbalTextBlockVideoProps<{}> {\r\n paragraph?: React.ReactNode;\r\n videoPlayerOptions?: IHerbalVideoPlayerProps;\r\n className?: string;\r\n videoPlayer?: IHerbalVideoPlayerViewProps;\r\n}\r\n\r\nexport interface IHerbalVideoPlayerViewProps {\r\n player?: React.ReactNode;\r\n}\r\n/**\r\n * Cart component state interface.\r\n */\r\ninterface IHerbalTextBlockVideoState {\r\n showVideoPlayerDialog: boolean;\r\n}\r\n\r\n/**\r\n *\r\n * HerbalTextBlockVideo component.\r\n */\r\n@observer\r\nclass HerbalTextBlockVideo extends React.PureComponent> {\r\n private readonly telemetryContent: ITelemetryContent;\r\n public state: IHerbalTextBlockVideoState;\r\n private readonly videoPlayerPopupId: string = 'herbal-video-player-popup';\r\n private readonly isMobileDevice: boolean;\r\n private readonly playerContainer: React.RefObject = React.createRef();\r\n\r\n public constructor(props: IHerbalTextBlockVideoProps<{}>) {\r\n super(props);\r\n this.isMobileDevice = isMobile({ variant: VariantType.Viewport, context: this.props.context.request }) === 'xs';\r\n this.telemetryContent = getTelemetryObject(\r\n this.props.context.request.telemetryPageName!,\r\n this.props.friendlyName,\r\n this.props.telemetry\r\n );\r\n this.videoPlayerLinkClick = this.videoPlayerLinkClick.bind(this);\r\n this.videoPlayerCloseButtonClick = this.videoPlayerCloseButtonClick.bind(this);\r\n this.state = {\r\n showVideoPlayerDialog: false\r\n };\r\n }\r\n\r\n /**\r\n * Should component update function.\r\n * @param nextProps - Next props.\r\n * @param nextState - Next state.\r\n * @returns True if component should update, false otherwise.\r\n */\r\n public shouldComponentUpdate(nextProps: IHerbalTextBlockVideoProps<{}>, nextState: IHerbalTextBlockVideoState): boolean {\r\n if (this.state === nextState && this.props.data === nextProps.data) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n public render(): JSX.Element | null {\r\n const { paragraph, className } = this.props.config;\r\n const options = {\r\n ...this.props.config,\r\n isMobileDevice: this.isMobileDevice\r\n };\r\n const video: MsDyn365.IVideoData | undefined = this.props.config.video;\r\n const playerResources: IPlayerResources = {\r\n playAriaLabel: this.props.resources.videoPlayLabel,\r\n pauseAriaLabel: this.props.resources.videoPauseLabel,\r\n playingAriaLabel: this.props.resources.videoPlayingLabel,\r\n pausedAriaLabel: this.props.resources.videoPausedLabel,\r\n muteAriaLabel: this.props.resources.videoMuteLabel,\r\n unMuteAriaLabel: this.props.resources.videoUnMuteLabel,\r\n fullScreenAriaLabel: this.props.resources.videoFullScreenLabel,\r\n exitFullScreenAriaLabel: this.props.resources.videoExitFullScreenLabel,\r\n seekBarLabel: this.props.resources.videoSeekBarLabel,\r\n videoTimeDurationLabel: this.props.resources.videoVideoTimeDurationLabel,\r\n closedCaptionLabel: this.props.resources.videoClosedCaptionLabel\r\n };\r\n const videoMetaData: IVideoMetadata = {};\r\n\r\n if (video) {\r\n videoMetaData.videoId = video.id;\r\n videoMetaData.title = video.title;\r\n videoMetaData.duration = video.playTime;\r\n\r\n if (video.thumbnail) {\r\n videoMetaData.posterframeUrl = video.thumbnail.src;\r\n }\r\n\r\n if (video._links?.binaryReferences) {\r\n videoMetaData.videoBinaryReferences = video._links.binaryReferences;\r\n }\r\n }\r\n const videoPlayerData: IPlayerData = { options: options as IPlayerOptions, metaData: videoMetaData };\r\n\r\n const text = paragraph && (\r\n \r\n );\r\n const videoPlayerViewProps = {\r\n player: this.props.config.video && (\r\n \r\n \r\n \r\n )\r\n };\r\n const HerbalTextBlockVideoViewProps = {\r\n ...this.props,\r\n paragraph: text,\r\n videoPlayerOptions: this._getVideoPlayer(videoPlayerViewProps),\r\n className: classnames('ms-text-block', className),\r\n videoPlayer: {\r\n ...videoPlayerViewProps\r\n }\r\n };\r\n return this.props.renderView(HerbalTextBlockVideoViewProps) as React.ReactElement;\r\n }\r\n\r\n public handleTextChange = (event: MsDyn365.ContentEditableEvent) => (this.props.config.paragraph = event.target.value);\r\n\r\n /**\r\n * Get video player.\r\n * @returns React node with the video player.\r\n */\r\n private _getVideoPlayer(videoPlayer: IHerbalVideoPlayerViewProps): React.ReactNode {\r\n return (\r\n videoPlayer.player &&\r\n HerbalVideoPlayerPopup({\r\n id: this.videoPlayerPopupId,\r\n showVideoPopup: this.state.showVideoPlayerDialog,\r\n onClick: this.videoPlayerLinkClick,\r\n onCloseButtonClick: this.videoPlayerCloseButtonClick,\r\n videoPlayer: videoPlayer,\r\n resources: {\r\n videoPlayerCloseButtonAriaLabel: this.props.resources.videoPlayerCloseButtonAriaLabel\r\n },\r\n config: {\r\n videoPlayerLinkText: this.props.config.buttonLabel ?? ''\r\n }\r\n })\r\n );\r\n }\r\n\r\n /**\r\n * Video player click event handler.\r\n * @param event - The mouse event.\r\n */\r\n private readonly videoPlayerLinkClick = (event: React.MouseEvent) => {\r\n this.setState({\r\n showVideoPlayerDialog: !this.state.showVideoPlayerDialog\r\n });\r\n };\r\n\r\n /**\r\n * Video player close button click.\r\n */\r\n private readonly videoPlayerCloseButtonClick = () => {\r\n this._hideVideoPlayerDialog();\r\n };\r\n\r\n /**\r\n * Hide video player dialog.\r\n */\r\n private _hideVideoPlayerDialog(): void {\r\n // Pause the video first.\r\n const elPlayer = this.playerContainer.current! as Player;\r\n elPlayer && elPlayer.pause();\r\n // Hide popup.\r\n this.setState({\r\n showVideoPlayerDialog: false\r\n });\r\n }\r\n}\r\nexport default HerbalTextBlockVideo;\r\n","/*--------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * See License.txt in the project root for license information.\r\n *--------------------------------------------------------------*/\r\n\r\n/* eslint-disable no-duplicate-imports */\r\nimport { INodeProps, Modal, ModalBody, ModalFooter, ModalHeader } from '@msdyn365-commerce-modules/utilities';\r\nimport React from 'react';\r\nimport { IHerbalVideoPlayerViewProps } from '../herbal-text-block-video';\r\n\r\nexport interface IHerbalVideoPlayerPopup {\r\n id: string;\r\n showVideoPopup: boolean;\r\n videoPlayer: IHerbalVideoPlayerViewProps | undefined;\r\n resources: IHerbalVideoPlayerPopupResourceString;\r\n config: IHerbalVideoPlayerPopupConfig;\r\n onClick(event: React.MouseEvent): void;\r\n onCloseButtonClick(): void;\r\n}\r\n\r\nexport interface IHerbalVideoPlayerProps {\r\n videoPlayerWrapper: INodeProps;\r\n videoPlayerLink: React.ReactElement;\r\n videoPlayerDialog: React.ReactNode;\r\n}\r\n\r\nexport interface IHerbalVideoPlayerPopupResourceString {\r\n videoPlayerCloseButtonAriaLabel: string;\r\n}\r\n\r\nexport interface IHerbalVideoPlayerPopupConfig {\r\n videoPlayerLinkText: string;\r\n}\r\n\r\nexport const HerbalVideoPlayerPopup = (props: IHerbalVideoPlayerPopup): IHerbalVideoPlayerProps | undefined => {\r\n const {\r\n id,\r\n showVideoPopup,\r\n videoPlayer,\r\n config: { videoPlayerLinkText },\r\n onCloseButtonClick,\r\n onClick\r\n } = props;\r\n\r\n if (!videoPlayer) {\r\n return;\r\n }\r\n\r\n const titleId = `${id}_title`;\r\n const className = 'ms-text-block__video-player';\r\n return {\r\n videoPlayerWrapper: {\r\n className: 'ms-text-block__video-player'\r\n },\r\n videoPlayerLink: (\r\n \r\n {' '}\r\n {videoPlayerLinkText}{' '}\r\n \r\n ),\r\n videoPlayerDialog: (\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n {videoPlayer.player}\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 * See License.txt in the project root for license information.\r\n *--------------------------------------------------------------*/\r\n\r\n/* eslint-disable no-duplicate-imports */\r\nimport * as React from 'react';\r\n\r\nimport { IHerbalTextBlockVideoViewProps } from './herbal-text-block-video';\r\nimport { Node } from '@msdyn365-commerce-modules/utilities';\r\nimport { IHerbalVideoPlayerProps } from './components/herbal-video-player-popup';\r\n\r\n/**\r\n * Method will render video player.\r\n * @param videoPlayer -The video player item view props.\r\n * @returns Jsx element.\r\n */\r\nconst _rederVideoPlayer = (videoPlayer: IHerbalVideoPlayerProps): JSX.Element | undefined => {\r\n return (\r\n <>\r\n \r\n {videoPlayer.videoPlayerLink}\r\n {videoPlayer.videoPlayerDialog}\r\n \r\n \r\n );\r\n};\r\n\r\nconst HerbalTextBlockVideoView: React.FC = props => (\r\n
\r\n {props.paragraph}\r\n {props.videoPlayerOptions && _rederVideoPlayer(props.videoPlayerOptions)}\r\n
\r\n);\r\n\r\nexport default HerbalTextBlockVideoView;\r\n","const binding = { modules: {}, dataActions: {} };\n\n (binding.modules['herbal-text-block-video'] = {\n c: () => require('partner/modules/herbal-text-block-video/herbal-text-block-video.tsx'),\n $type: 'contentModule',\n da: [],\n \n iNM: false,\n ns: '__local__',\n n: 'herbal-text-block-video',\n p: '__local__',\n \n pdp: '',\n \n \n md: 'src/modules/herbal-text-block-video'\n });\n \n\n \n window.__bindings__ = window.__bindings__ || {};\n window.__bindings__.modules = {\n ...window.__bindings__.modules || {},\n ...binding.modules\n };\n \n window.__bindings__.dataActions = {\n ...window.__bindings__.dataActions || {},\n ...binding.dataActions\n };\n export const viewDictionary = {};\n viewDictionary['__local__|__local__|modules|herbal-text-block-video|herbal-text-block-video'] = {\n c: () => require('partner/modules/herbal-text-block-video/herbal-text-block-video.view.tsx'),\n cn: '__local__-__local__-herbal-text-block-video'\n };\nwindow.__bindings__ = window.__bindings__ || {};\nwindow.__bindings__.viewDictionary = {\n ...window.__bindings__.viewDictionary || {},\n ...viewDictionary\n };","module.exports = React;","module.exports = ReactDOM;"],"names":["HerbalTextBlockVideo","React","constructor","props","super","videoPlayerPopupId","playerContainer","handleTextChange","event","this","config","paragraph","target","value","videoPlayerLinkClick","setState","showVideoPlayerDialog","state","videoPlayerCloseButtonClick","_hideVideoPlayerDialog","isMobileDevice","isMobile","variant","VariantType","Viewport","context","request","telemetryContent","getTelemetryObject","telemetryPageName","friendlyName","telemetry","bind","shouldComponentUpdate","nextProps","nextState","data","render","className","options","_objectSpread","video","playerResources","playAriaLabel","resources","videoPlayLabel","pauseAriaLabel","videoPauseLabel","playingAriaLabel","videoPlayingLabel","pausedAriaLabel","videoPausedLabel","muteAriaLabel","videoMuteLabel","unMuteAriaLabel","videoUnMuteLabel","fullScreenAriaLabel","videoFullScreenLabel","exitFullScreenAriaLabel","videoExitFullScreenLabel","seekBarLabel","videoSeekBarLabel","videoTimeDurationLabel","videoVideoTimeDurationLabel","closedCaptionLabel","videoClosedCaptionLabel","videoMetaData","_video$_links","videoId","id","title","duration","playTime","thumbnail","posterframeUrl","src","_links","binaryReferences","videoBinaryReferences","videoPlayerData","metaData","text","MsDyn365","editProps","onEdit","requestContext","videoPlayerViewProps","player","key","Player","ref","playerData","isEditor","params","HerbalTextBlockVideoViewProps","videoPlayerOptions","_getVideoPlayer","classnames","videoPlayer","renderView","_this$props$config$bu","showVideoPopup","videoPlayerLinkText","onCloseButtonClick","onClick","titleId","videoPlayerWrapper","videoPlayerLink","tabIndex","role","videoPlayerDialog","Modal","isOpen","toggle","ModalHeader","ModalBody","ModalFooter","HerbalVideoPlayerPopup","videoPlayerCloseButtonAriaLabel","buttonLabel","elPlayer","current","pause","__decorate","observer","Object","assign","renderModuleAttributes","Node","binding","modules","dataActions","c","require","$type","da","iNM","ns","n","p","pdp","md","window","__bindings__","viewDictionary","cn","module","exports","ReactDOM"],"sourceRoot":""}