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,MAAMyE,iBAC3EhG,KAAKuB,MAAMQ,QAAQW,WAAW0M,iBAAmBpP,KAAKuB,MAAMQ,QAAQW,WAAW0M,gBAAgBxO,OAAS,GACxGlB,IAAAA,cAAA,OAAKY,UAAU,qDACbZ,IAAAA,cAAA,UAAK,oBACLA,IAAAA,cAAA,OAAKY,UAAU,uBACbZ,IAAAA,cAACsC,EAAAA,EAAY,KAACtC,IAAAA,cAACqB,EAAAA,EAAW,CAACZ,UAAU,WAAWe,MAAOlB,KAAKuB,MAAMQ,QAAQW,WAAW0M,sBAarG,EAGF,oGCpJO,MAmBMC,EAAkBC,IAG7B,IAFA,IACIC,EADQpL,OAAO+E,SAASsG,OAAOC,UAAU,GAC5BpF,MAAM,KACdlF,EAAI,EAAGA,EAAIoK,EAAK3O,OAAQuE,IAAK,CAClC,IAAIuK,EAAOH,EAAKpK,GAAGkF,MAAM,KACzB,GAAIqF,EAAK,IAAMJ,EACX,OAAOI,EAAK,EAEpB,CACA,OAAQ,CAAK,EAGFvB,EAAwBwB,IACnC,IAAIC,EAAQ,KACZ,IAA+C,GAA5CzL,OAAO+E,SAAS2G,SAAS9L,QAAQ4L,GAAa,CAC/C,IAAIG,EAAS3L,OAAO+E,SAAS2G,SAAS9L,QAAQ4L,GAAOA,EAAM/O,OAC3DgP,EAAQzL,OAAO+E,SAAS2G,SAASlO,MAAMmO,EAAO3L,OAAO+E,SAAS2G,SAASjP,OACzE,CACA,OAAOgP,CAAK","sources":["webpack://Msdyn365.Commerce.Online/./src/baseComponents/grid-structure/grid-structure.tsx?66d0","webpack://Msdyn365.Commerce.Online/./src/baseComponents/product-list/product-list.tsx?5074","webpack://Msdyn365.Commerce.Online/./src/modules/hosports-product-detail/hosports-product-detail.tsx?d7e9","webpack://Msdyn365.Commerce.Online/./src/modules/hosports-product-detail/hosports-product-detail.view.tsx?262a","webpack://Msdyn365.Commerce.Online/./src/baseComponents/product-detail/hero.tsx?079c","webpack://Msdyn365.Commerce.Online/./src/baseComponents/product-detail/image-scroller.tsx?51f5","webpack://Msdyn365.Commerce.Online/./src/baseComponents/product-detail/description.tsx?eb54","webpack://Msdyn365.Commerce.Online/./src/baseComponents/product-detail/thumbnails.tsx?4ff0","webpack://Msdyn365.Commerce.Online/./src/baseComponents/product-detail/deeplinks.tsx?0615","webpack://Msdyn365.Commerce.Online/./src/baseComponents/product-detail/sizes.tsx?8e50","webpack://Msdyn365.Commerce.Online/./src/baseComponents/product-detail/links.tsx?f18c","webpack://Msdyn365.Commerce.Online/./src/baseComponents/product-detail/zoomable-product-image.tsx?7422","webpack://Msdyn365.Commerce.Online/./src/baseComponents/product-detail/fatsac-fittings.tsx?cab7","webpack://Msdyn365.Commerce.Online/./src/baseComponents/product-detail/disclaimers.tsx?d377","webpack://Msdyn365.Commerce.Online/./src/baseComponents/product-detail/main.tsx?e4d3","webpack://Msdyn365.Commerce.Online/./src/baseComponents/product-detail/wakesurf-edge-content.tsx?dc69","webpack://Msdyn365.Commerce.Online/./src/themes/kent/views/hosports-product-detail.view.tsx?c541","webpack://Msdyn365.Commerce.Online/./src/themes/kent/utilities/helpers.js?a70a"],"sourcesContent":["import React from 'react';\r\n\r\n/**\r\n *\r\n * Scroll Fade In component\r\n * @extends {React.Component}\r\n */\r\ninterface IProps {\r\n columns?: number;\r\n smallColumns?: number;\r\n items?:any;\r\n noPadding?:string;\r\n children?:any;\r\n alignment?:any;\r\n}\r\n\r\nclass GridStructure extends React.Component{\r\n\r\n constructor(props: IProps) {\r\n super(props);\r\n }\r\n public render(): JSX.Element {\r\n let smallColumns = this.props.smallColumns ? 12/this.props.smallColumns : 12;\r\n let columns = this.props.columns ? (12/this.props.columns) : 6;\r\n let alignmentClass = this.props.alignment == 'centered' ? 'justify-center' : '';\r\n console.log(columns)\r\n return (\r\n
\r\n {this.props.children && this.props.children.map((data:any,index:number)=>{\r\n let paddingClass=\"grid-padding\";\r\n if(index == 0 && columns == 1){\r\n paddingClass = \"\";\r\n }\r\n if(index == 0 && columns > 1){\r\n paddingClass = paddingClass+\" no-left-padding\";\r\n }\r\n if(index == 1 && columns == 2){\r\n paddingClass = paddingClass+\" no-right-padding\";\r\n }\r\n if(index == this.props.children.length-1 && columns > 2){\r\n paddingClass = paddingClass+\" no-right-padding\";\r\n }\r\n if(this.props.noPadding){\r\n paddingClass=\"\";\r\n }\r\n return
\r\n {data}\r\n
\r\n })}\r\n
\r\n );\r\n }\r\n}\r\n\r\n export default GridStructure;\r\n","import * as React from 'react';\r\n//@ts-ignore\r\nimport ProductTile from './../product-tile/./product-tile';\r\n//@ts-ignore\r\nimport GridStructure from './../grid-structure/./grid-structure';\r\n//@ts-ignore\r\nimport {GetProductsBySlugs} from './../../themes/kent/utilities/dataFunctions';\r\n//@ts-ignore\r\nimport ScrollFadeIn from './../scroll-fade/./scroll-fade';\r\n\r\n\r\n/**\r\n *\r\n * Product List component\r\n * @extends {React.Component}\r\n */\r\n\r\ninterface IProps {\r\n products?: any;\r\n slugs?:any;\r\n year?:any;\r\n alignment?:any;\r\n}\r\n\r\ninterface IState {\r\n products?:any;\r\n slugs?:any;\r\n}\r\n\r\nclass ProductList extends React.Component{\r\n\r\n public state: IState;\r\n\r\n constructor(props: IProps) {\r\n super(props);\r\n this.state ={};\r\n }\r\n componentDidMount = async () =>{\r\n if(this.props.slugs){\r\n this.fillProductsFromSlugs(this.props.slugs)\r\n }\r\n if(this.props.products){\r\n this.fillProductsFromArray(this.props.products)\r\n }\r\n }\r\n componentDidUpdate = async () =>{\r\n console.log(this.props.slugs)\r\n if(!this.props.products && (this.props.slugs != this.state.slugs)){\r\n this.fillProductsFromSlugs(this.props.slugs)\r\n }\r\n if(!this.state.products && this.props.products){\r\n if(this.props.products != this.state.products){\r\n this.fillProductsFromArray(this.props.products)\r\n }\r\n }\r\n }\r\n\r\n fillProductsFromSlugs = async(slugs:any) =>{\r\n let slugArray = slugs;\r\n if(slugArray){\r\n if(!Array.isArray(slugArray)){\r\n slugArray = slugArray.slice()\r\n }\r\n console.log(slugArray)\r\n if(slugArray != this.state.slugs){\r\n console.log(slugArray)\r\n let products = await GetProductsBySlugs(slugArray,this.props.year)\r\n console.log(products)\r\n if(products){\r\n this.setState({\r\n products:products,\r\n slugs:this.props.slugs\r\n })\r\n }\r\n }\r\n }\r\n }\r\n\r\n fillProductsFromArray = (products:any) =>{\r\n this.setState({\r\n products:products\r\n })\r\n }\r\n\r\n public render(): JSX.Element {\r\n return (\r\n
\r\n
\r\n \r\n {this.state.products && this.state.products.map((product:any) =>{\r\n return ()\r\n })}\r\n \r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\n export default ProductList;\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 { IHosportsProductDetailData } from './hosports-product-detail.data';\r\nimport { IHosportsProductDetailProps } from './hosports-product-detail.props.autogenerated';\r\n\r\nexport interface IHosportsProductDetailViewProps extends IHosportsProductDetailProps {\r\n\r\n}\r\n\r\n/**\r\n *\r\n * HosportsProductDetail component\r\n * @extends {React.PureComponent>}\r\n */\r\nclass HosportsProductDetail extends React.PureComponent> {\r\n public render(): JSX.Element | null {\r\n\r\n return this.props.renderView(this.props);\r\n }\r\n}\r\n\r\nexport default HosportsProductDetail;\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 { IHosportsProductDetailViewProps } from './hosports-product-detail';\r\n\r\nexport default (props: IHosportsProductDetailViewProps) => {\r\n return (\r\n
{'HO Sports Product Detail Component'}
\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\nimport React from 'react';\r\n// @ts-ignore\r\nimport {ParseCategoryIds,GeneralAssetUrl, HeaderHeight, MobileHeaderHeight} from \"./../../themes/kent/utilities/constants\";\r\n// @ts-ignore\r\nimport {GetLocalizedText,GetLocalText,GetExternalProductId, GetExternalProductInfo,GenerateProductAssetUrl,DoesProductShowHeroImage} from \"./../../themes/kent/utilities/functions\";\r\n// @ts ignore\r\nimport animateScrollTo from 'animated-scroll-to';\r\n\r\ninterface IState {\r\n imageReady:boolean,\r\n ready:boolean;\r\n title:string;\r\n tagline:string;\r\n buttonText:string;\r\n shown?: any;\r\n}\r\n\r\ninterface IProps {\r\n product?: any;\r\n year?:any;\r\n category?:any;\r\n subcategory?:any;\r\n}\r\n\r\n/**\r\n *\r\n * Hero component\r\n * @extends {React.Component>}\r\n */\r\nclass HosportsProductDetailHero extends React.Component {\r\n\r\n public state: IState;\r\n\r\n constructor(props: IProps) {\r\n super(props);\r\n this.state = {\r\n imageReady:false,\r\n ready:false,\r\n title:\"\",\r\n tagline:\"\",\r\n buttonText:\"\",\r\n };\r\n }\r\n\r\n public componentWillMount = async () => {\r\n let product = this.props.product;\r\n if(product){\r\n let shown = await DoesProductShowHeroImage(this.props.product,this.props.category,this.props.subcategory)\r\n if(shown){\r\n this.fillModule(product)\r\n }\r\n }\r\n }\r\n public fillModule = async (product:any) =>{\r\n if(product){\r\n if(product.attributes){\r\n let title:any = GetLocalizedText(product.attributes.content,\"title\");\r\n let tagline:any = GetLocalizedText(product.attributes.content,\"tagline\");\r\n let buttonText:any = await GetLocalText('buyNowText');\r\n\r\n this.setState({\r\n shown:true,\r\n title:title,\r\n tagline:tagline,\r\n buttonText:buttonText,\r\n })\r\n }\r\n }\r\n }\r\n\r\n public imageLoaded = () =>{\r\n this.setState({\r\n imageReady:true\r\n })\r\n }\r\n public scrollDown = () =>{\r\n // @ts-ignore\r\n animateScrollTo(document.querySelector('.hero-scroll-catch'));\r\n }\r\n\r\n public render(): JSX.Element {\r\n let prodAssetUrl:string = GenerateProductAssetUrl(this.props.year);\r\n let product = this.props.product;\r\n let image = undefined;\r\n let type = undefined;\r\n let productIncluded = this.state.shown;\r\n if(product){\r\n image = prodAssetUrl+product.attributes.slug+'-hero.jpg'\r\n type = \"\";\r\n\r\n if(this.props.product.attributes.slug == \"ballast-M6002\" || this.props.product.attributes.slug == \"ballast-M6003\" || this.props.product.attributes.slug == \"ballast-fat-weight\"){\r\n type = 'ballast'\r\n }\r\n if(product.attributes.slug.indexOf('wakeboard-vests') != -1 ){\r\n type = 'wakeboard-vests'\r\n }\r\n if(product.attributes.slug.indexOf('wakeboards') != -1 ){\r\n type = 'wakeboards'\r\n }\r\n if(product.attributes.slug.indexOf('wakeboard-boots') != -1 ){\r\n type = 'wakeboard-boots'\r\n }\r\n if(product.attributes.slug.indexOf('wakesurfers') != -1 ){\r\n type = 'wakesurfers'\r\n }\r\n if(product.attributes.slug.indexOf('waterskis') != -1 ){\r\n type = 'waterskis'\r\n }\r\n }\r\n\r\n\r\n let activeClass = \"\";\r\n if(this.state.imageReady){\r\n activeClass = 'active'\r\n }\r\n let spacer = HeaderHeight;\r\n let backgroundColor = \"#000\";\r\n if(window.innerWidth < 800){\r\n spacer = MobileHeaderHeight;\r\n }\r\n let customHeroDescriptionColor = '#fff';\r\n if(product.attributes.customHeroColor){\r\n customHeroDescriptionColor = product.attributes.customHeroColor\r\n }\r\n if(!productIncluded) return
;\r\n return (\r\n
\r\n
\r\n \r\n
\r\n

{this.state.title}

\r\n
{this.state.tagline}
\r\n {/*
{this.state.buttonText}
*/}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default HosportsProductDetailHero;\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 React from 'react';\r\n\r\n// @ts-ignore\r\nimport {GetLocalText,GenerateProductAssetUrl} from \"./../../themes/kent/utilities/functions\";\r\n// @ts-ignore\r\nimport {GeneralAssetUrl} from \"./../../themes/kent/utilities/constants\";\r\n\r\ninterface IState {\r\n product?:any;\r\n images?:any;\r\n imageLoaded?:any;\r\n selectedIndex?:any;\r\n singleImageProduct?:any;\r\n}\r\n\r\ninterface IProps {\r\n product?: any;\r\n fullWidth?:any;\r\n force?:any;\r\n year?:any;\r\n}\r\n\r\n/**\r\n *\r\n * ImageScroller component\r\n * @extends {React.PureComponentReact.Component}\r\n */\r\n\r\nclass ImageScroller extends React.Component {\r\n public state: IState;\r\n\r\n constructor(props: IProps) {\r\n super(props);\r\n this.state = {\r\n product:this.props.product,\r\n selectedIndex:1\r\n };\r\n }\r\n\r\n public componentDidMount = () => {\r\n var images = [];\r\n let prodAssetUrl:string = GenerateProductAssetUrl(this.props.year);\r\n for (var i = 0; i < 10; i++) {\r\n images.push(prodAssetUrl+this.props.product.attributes.slug+i+'_500.png');\r\n if(i == 9){\r\n this.setState({\r\n images:images,\r\n selectedIndex:0\r\n })\r\n }\r\n }\r\n }\r\n imageLoaded = (index:any) =>{\r\n if(index == 0){\r\n this.setState({\r\n imageLoaded:true\r\n })\r\n }\r\n }\r\n removeImage = (index:any) =>{\r\n if(index == 1){\r\n this.setState({singleImageProduct:true});\r\n }\r\n var images = this.state.images;\r\n if(images){\r\n images.splice(index, 1);\r\n this.setState({\r\n images:images\r\n })\r\n }\r\n }\r\n thumbnailClicked = (index:any) => {\r\n this.setState({\r\n selectedIndex:index\r\n })\r\n }\r\n\r\n public render(): JSX.Element {\r\n return(\r\n
\r\n
\r\n {this.state.images && this.state.images.map((image:any,index:any) => {\r\n return(\r\n this.imageLoaded(index)}\r\n onError={()=>this.removeImage(index)}\r\n onClick={()=>this.thumbnailClicked(index)}\r\n />\r\n )\r\n })}\r\n
\r\n \r\n
\r\n )\r\n }\r\n}\r\n\r\nexport default ImageScroller;\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 React from 'react';\r\n\r\n// @ts-ignore\r\nimport {GetLocalizedText} from \"./../../themes/kent/utilities/functions\";\r\n// @ts-ignore\r\nimport {GeneralAssetUrl} from \"./../../themes/kent/utilities/constants\";\r\n// @ts-ignore\r\nimport ReactHtmlParser from 'react-html-parser';\r\n\r\ninterface IState {\r\n fullDescriptionToggled?:any;\r\n}\r\n\r\ninterface IProps {\r\n product?: any;\r\n parentProduct?:any;\r\n}\r\n\r\n/**\r\n *\r\n * Description component\r\n * @extends {React.PureComponentReact.Component}\r\n */\r\n\r\nclass Description extends React.Component {\r\n public state: IState;\r\n\r\n constructor(props: IProps) {\r\n super(props);\r\n this.state = {};\r\n }\r\n\ttoggleDescription = () =>{\r\n\t\tif(this.state.fullDescriptionToggled){\r\n\t\t\tthis.setState({\r\n\t\t\t\tfullDescriptionToggled:false\r\n\t\t\t})\r\n\t\t} else{\r\n\t\t\tthis.setState({\r\n\t\t\t\tfullDescriptionToggled:true\r\n\t\t\t})\r\n\t\t}\r\n\t}\r\n\r\n public render(): JSX.Element {\r\n var description = GetLocalizedText(this.props.product.attributes.content, \"description\");\r\n if(this.props.parentProduct){\r\n description = GetLocalizedText(this.props.parentProduct.attributes.content, \"description\");\r\n }\r\n let brand = this.props.product.attributes.brand;\r\n\t\tlet longDescription;\r\n\t\tlet shortDescription = description;\r\n\t\tif(description){\r\n\t\t\tif(description.length > 425){\r\n\t\t\t\tshortDescription = description.slice(0,425)+\"...\";\r\n\t\t\t\tlongDescription = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tlet fullDescription = description;\r\n return (\r\n\t\t\t
\r\n\t\t\t{description &&\r\n\t\t\t\t
\r\n\t\t\t\t\t

\r\n {(brand == \"hosports\" && description) && ReactHtmlParser(this.state.fullDescriptionToggled ? fullDescription : shortDescription)}\r\n {(brand == \"hosports\" && longDescription) &&

{!this.state.fullDescriptionToggled ? 'Read More' : 'Read Less'}
}\r\n {(brand != \"hosports\" && description) && ReactHtmlParser(description)}\r\n\t\t\t\t\t

\r\n\t\t\t\t
\r\n\t\t\t}\r\n\t\t\t
\r\n\t\t)\r\n }\r\n}\r\n\r\nexport default Description;\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 React from 'react';\r\n\r\n// @ts-ignore\r\nimport {GetLocalText, GenerateProductAssetUrl} from \"./../../themes/kent/utilities/functions\";\r\n// @ts-ignore\r\nimport {GeneralAssetUrl} from \"./../../themes/kent/utilities/constants\";\r\n// @ts-ignore\r\nimport PortalModal from './../portal-modal/./portal-modal';\r\n//@ts-ignore\r\nimport ReactImageMagnify from 'react-image-magnify';\r\n\r\nlet loadedImages = [];\r\n\r\ninterface IState {\r\n product?:any;\r\n zoomActive?:any;\r\n selectedIndex?:any;\r\n doneLoading?:any;\r\n images?:any;\r\n}\r\n\r\ninterface IProps {\r\n product?: any;\r\n hideTitle?:boolean;\r\n year?:any;\r\n}\r\n\r\n/**\r\n *\r\n * Thumbnails component\r\n * @extends {React.Component}\r\n */\r\n\r\nclass Thumbnails extends React.Component {\r\n public state: IState;\r\n\r\n constructor(props: IProps) {\r\n super(props);\r\n this.state = {\r\n product:this.props.product,\r\n zoomActive:false\r\n };\r\n }\r\n\r\n componentDidMount = () => {\r\n var images = [];\r\n let prodAssetUrl:string = GenerateProductAssetUrl(this.props.year);\r\n for (var i = 0; i < 10; i++) {\r\n images.push({\r\n large:prodAssetUrl+this.props.product.attributes.slug+i+'.png',\r\n medium:prodAssetUrl+this.props.product.attributes.slug+i+'_1000.png',\r\n thumb: prodAssetUrl+this.props.product.attributes.slug+i+'_500.png'\r\n });\r\n if(i == 9){\r\n this.setState({\r\n images:images,\r\n selectedIndex:0\r\n })\r\n }\r\n }\r\n }\r\n\r\n imageLoaded = (index:any) =>{\r\n loadedImages.push(index);\r\n this.checkLoadStatus()\r\n }\r\n\r\n removeImage = (index:any) =>{\r\n loadedImages.push(index);\r\n this.checkLoadStatus()\r\n var images = this.state.images;\r\n images.splice(index, 1);\r\n this.setState({\r\n images:images\r\n })\r\n }\r\n\r\n checkLoadStatus = () =>{\r\n if(loadedImages.length > 9){\r\n this.setState({\r\n doneLoading:true\r\n })\r\n }\r\n }\r\n\r\n thumbnailClicked = (index:any) => {\r\n this.setState({\r\n zoomActive:true,\r\n selectedIndex:index\r\n })\r\n }\r\n\r\n hideZoom =() =>{\r\n this.setState({\r\n zoomActive:false\r\n })\r\n }\r\n\r\n public render(): JSX.Element {\r\n if(!this.state.images) return \r\n let loadedClass = '';\r\n if(this.state.doneLoading){\r\n loadedClass = 'loaded';\r\n }\r\n let descriptors:any = this.props.product.attributes.thumbDescriptions;\r\n\r\n return(\r\n
\r\n {this.state.images.map((image:any,index:number) => {\r\n return(\r\n
\r\n this.imageLoaded(index)}\r\n onError={()=>this.removeImage(index)}\r\n onClick={()=>this.thumbnailClicked(index)}\r\n />\r\n {descriptors && descriptors[index] &&
{descriptors[index]}
}\r\n
\r\n )\r\n })}\r\n {this.state.zoomActive &&\r\n \r\n \r\n
\r\n }\r\n />\r\n }\r\n
\r\n )\r\n }\r\n}\r\n\r\nexport default Thumbnails;\r\n","import React from 'react';\r\n//@ts-ignore\r\nimport Parse from 'parse';\r\n//@ts-ignore\r\nimport {ShuffleArray,GetUserLocale,GetLocaleValue} from '../../themes/kent/utilities/functions';\r\n//@ts-ignore\r\nimport {GeneralAssetUrl} from '../../themes/kent/utilities/constants';\r\n/**\r\n *\r\n * Deep Link component\r\n * @extends {React.Component}\r\n */\r\ninterface IProps {\r\n product?: any;\r\n}\r\n\r\ninterface IState {\r\n deepLinks?:any;\r\n}\r\n\r\nclass DeepLinks extends React.Component{\r\n public state: IState;\r\n constructor(props: IProps) {\r\n super(props);\r\n this.state = {\r\n deepLinks:[]\r\n };\r\n }\r\n\r\n componentDidMount = async() => {\r\n let deepLinks: any = [];\r\n let deepLinkDeDupeArray: any = [];\r\n if(this.props.product){\r\n if(this.props.product.attributes){\r\n let productDeepLinks: any = this.props.product.attributes.deeplinks;\r\n let locale: any = GetLocaleValue();\r\n let deepLinkServerResponse: any = await Parse.Cloud.run('returnDeepLinks',{slug: this.props.product.attributes.slug,locale:locale})\r\n let deepLinkRetailers = deepLinkServerResponse.deepLinkRetailers;\r\n let site = 'hyperlite';\r\n if(typeof window !== \"undefined\"){\r\n if(window.location){\r\n if(window.location.href){\r\n if(window.location.href.indexOf('hyperlite') != -1){\r\n site = 'hyperlite';\r\n }\r\n if(window.location.href.indexOf('hosports') != -1){\r\n site = 'hosports';\r\n }\r\n if(window.location.href.indexOf('fatsac') != -1){\r\n site = 'fatsac';\r\n }\r\n if(window.location.href.indexOf('barefootinternational') != -1){\r\n site = 'barefoot';\r\n }\r\n }\r\n }\r\n }\r\n deepLinkRetailers = deepLinkRetailers.filter((retailer:any)=> retailer.attributes.site == site);\r\n console.log(deepLinkRetailers)\r\n ShuffleArray(deepLinkRetailers)\r\n if(deepLinkRetailers){\r\n for (let index = 0; index < deepLinkRetailers.length; index++) {\r\n let deepLinkRetailer = deepLinkRetailers[index];\r\n if(productDeepLinks[deepLinkRetailer.attributes.slug]){\r\n if(deepLinkDeDupeArray.indexOf(deepLinkRetailer.attributes.slug) == -1){\r\n deepLinks.push(\r\n {\r\n slug:deepLinkRetailer.attributes.slug,\r\n link:productDeepLinks[deepLinkRetailer.attributes.slug],\r\n image:deepLinkRetailer.attributes.image ? deepLinkRetailer.attributes.image.url() : ''\r\n }\r\n )\r\n deepLinkDeDupeArray.push(deepLinkRetailer.attributes.slug)\r\n }\r\n }\r\n }\r\n }\r\n this.setState({\r\n deepLinks:deepLinks\r\n })\r\n }\r\n }\r\n }\r\n\r\n trackDeepLink = (data:any) => {\r\n var link = data.link;\r\n //var name = data.slug;\r\n /*\r\n ReactGA.event({\r\n category: 'DeepLinkClick',\r\n action: name,\r\n label: name\r\n });\r\n */\r\n // window.open(link);\r\n console.log(link)\r\n }\r\n\r\n public render(): JSX.Element {\r\n if(!this.state.deepLinks) return \r\n return (\r\n
\r\n
{'Buy Online'}
\r\n {this.state.deepLinks && this.state.deepLinks.map((data:any,index:any) => {\r\n let image = data.image ? data.image : 'https://assets.hosports.com/img/deeplinks/'+data.slug+'.jpg'\r\n return(\r\n
\r\n
this.trackDeepLink(data)} style={{\"cursor\":\"pointer\"}}>\r\n this.trackDeepLink(data)}>\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 export default DeepLinks;\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 React from 'react';\r\n\r\n// @ts-ignore\r\nimport {GetLocalText} from \"./../../themes/kent/utilities/functions\";\r\n// @ts-ignore\r\nimport { GeneralAssetUrl} from \"./../../themes/kent/utilities/constants\";\r\n\r\ninterface IState {\r\n product?:any;\r\n sizes?:any;\r\n availableSizesText?:any;\r\n}\r\n\r\ninterface IProps {\r\n product?: any;\r\n hideTitle?:boolean;\r\n parentProduct?:any;\r\n}\r\n\r\n/**\r\n *\r\n * Sizes component\r\n * @extends {React.PureComponentReact.Component}\r\n */\r\n\r\nclass Sizes extends React.Component {\r\n public state: IState;\r\n\r\n constructor(props: IProps) {\r\n super(props);\r\n this.state = {\r\n product:null\r\n };\r\n }\r\n public componentDidMount = async () => {\r\n if(this.props.product.attributes.category != \"lDtB8joWup\" && this.props.product.attributes.sizes){\r\n let sizes = this.props.product.attributes.sizes;\r\n if(this.props.parentProduct){\r\n sizes = this.props.parentProduct.attributes.sizes;\r\n }\r\n //TODO get parent product\r\n /*\r\n if(this.props.product.attributes.parentProducts && this.props.product.attributes.parentProducts[0]){\r\n if(window.productDictionary[this.props.product.attributes.parentProducts[0]]){\r\n sizes = window.productDictionary[this.props.product.attributes.parentProducts[0]].attributes.sizes;\r\n }\r\n }\r\n */\r\n let availableSizesText = await GetLocalText('availableSizesText');\r\n if(sizes != []){\r\n let sortedSizes = sizes.sort(function(a:any, b:any){return parseFloat(a.split('-')[0]) - parseFloat(b.split('-')[0])});\r\n this.setState({\r\n sizes:sortedSizes,\r\n availableSizesText:availableSizesText\r\n })\r\n }\r\n }\r\n }\r\n\r\n public render(): JSX.Element {\r\n if(!this.state.sizes || this.state.sizes.length == 0) return ;\r\n return (\r\n
\r\n {!this.props.hideTitle &&
{this.state.availableSizesText}
}\r\n
\r\n {this.state.sizes.map((data:any,index:any) => {\r\n return(\r\n

\r\n {data}\r\n

\r\n )})}\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default Sizes;\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 React from 'react';\r\n\r\n// @ts-ignore\r\nimport {GetLinksFromProduct} from \"./../../themes/kent/utilities/dataFunctions\";\r\n\r\ninterface IProps {\r\n product?: any;\r\n parentProduct?: any;\r\n year?:any;\r\n}\r\n\r\ninterface IState {\r\n links?: any;\r\n}\r\n/**\r\n *\r\n * Callouts component\r\n * @extends {React.Component}\r\n */\r\n class Links extends React.Component {\r\n\r\n public state: IState;\r\n\r\n constructor(props: IProps) {\r\n super(props);\r\n this.state={links:null}\r\n }\r\n\r\n componentDidMount = async() =>{\r\n let product:any = this.props.product;\r\n if(this.props.parentProduct){\r\n product = this.props.parentProduct;\r\n }\r\n let links:any = await GetLinksFromProduct(product)\r\n console.log(links)\r\n this.setState({\r\n links:links\r\n })\r\n }\r\n\r\n\r\n public render(): JSX.Element {\r\n return(\r\n
\r\n {this.state.links && this.state.links.map((link:any) =>{\r\n return(\r\n \r\n )\r\n })}\r\n
\r\n )\r\n }\r\n};\r\n\r\nexport default Links;\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 React from 'react';\r\n\r\n// @ts-ignore\r\nimport {GetLocalText,GenerateProductAssetUrl} from \"./../../themes/kent/utilities/functions\";\r\n// @ts-ignore\r\nimport {GeneralAssetUrl,ProductAssetUrl,ParseCategoryIds} from \"./../../themes/kent/utilities/constants\";\r\n\r\ninterface IState {\r\n imageLoaded?:any;\r\n zoomActive?:any;\r\n}\r\n\r\ninterface IProps {\r\n image?: any;\r\n product?:any;\r\n year?:any;\r\n}\r\n\r\n/**\r\n *\r\n * Sizes component\r\n * @extends {React.PureComponentReact.Component}\r\n */\r\n\r\nclass ZoomableImage extends React.Component {\r\n public state: IState;\r\n\r\n constructor(props:IProps) {\r\n super(props);\r\n this.state = {\r\n zoomActive:false\r\n };\r\n }\r\n\r\n componentDidMount = () => {\r\n }\r\n onImageLoad =()=>{\r\n this.setState({\r\n imageLoaded:true\r\n })\r\n }\r\n\r\n public render(): JSX.Element {\r\n let prodAssetUrl = GenerateProductAssetUrl(this.props.year);\r\n var image = prodAssetUrl+this.props.image;\r\n let classAdd = '';\r\n if(this.state.imageLoaded){\r\n classAdd = 'active';\r\n }\r\n\r\n var width = '60%';\r\n\r\n if(this.props.product){\r\n if(this.props.product.attributes){\r\n if(this.props.product.attributes.category == ParseCategoryIds.wakeboards){\r\n\r\n width = '50%';\r\n }\r\n if(this.props.product.attributes.category == ParseCategoryIds.waterskis){\r\n if(this.props.product.attributes.subcategory != \"ryTmS05B5d\" && this.props.product.attributes.subcategory !=\"wWHALtqszI\" && this.props.product.attributes.subcategory != \"sfeyr5jKh5\"){\r\n\r\n width = '25%';\r\n }\r\n }\r\n if(this.props.product.attributes.category == ParseCategoryIds.wakesurfers && this.props.product.attributes.subcategory != \"EYPAnD1L4c\"){\r\n\r\n width = '40%';\r\n }\r\n\r\n if(this.props.product.attributes.subcategory == \"sfeyr5jKh5\" || this.props.product.attributes.subcategory ==\"ryTmS05B5d\"){\r\n\r\n width = '60%';\r\n }\r\n }\r\n }\r\n width = \"100%\";\r\n return (\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\nexport default ZoomableImage;\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 React from 'react';\r\n\r\ninterface IState {\r\n fittings?:any;\r\n}\r\n\r\ninterface IProps {\r\n product?: any;\r\n}\r\n\r\nclass FatsacFittings extends React.Component {\r\n\r\n public state: IState;\r\n\r\n constructor(props: IProps) {\r\n super(props);\r\n this.state = {};\r\n }\r\n\r\n public componentDidMount = async () => {\r\n let fatSacFittings:any = {\r\n \t\"ballast-floor-500\":[\"(1) W730\",\"(1) W749\"],\r\n \t\"ballast-floor-800\":[\"(1) W730\",\"(1) W749\"],\r\n \t\"ballast-v-drive\":[\"(2) W730\",\"(4) W731\",\"(2) W749\"],\r\n \t\"ballast-fat-brick\":[\"(1) W730\",\"(1) W749\"],\r\n \t\"ballast-side-sac\":[\"(2) W730\",\"(2) W731\",\"(2) W749\"],\r\n \t\"ballast-tube-sac\":[\"(1) W730\",\"(1) W731\",\"(1) W749\"],\r\n \t\"ballast-locker-sac\":[\"(1) W730\",\"(2) W731\",\"(1) W749\"],\r\n \t\"ballast-open-bow\":[\"(1) W730\",\"(1) W731\",\"(1) W749\"],\r\n \t\"ballast-fat-sac\":[\"(1) W730\",\"(2) W731\",\"(1) W749\"],\r\n \t\"ballast-integrated-bow\":[\"(1) W730\",\"(3) W731\",\"(1) W749\"],\r\n \t\"ballast-w713\":[\"(1) W730\",\"(2) W731\",\"(1) W749\"],\r\n \t\"ballast-jumbo-surf\":[\"(1) W730\",\"(2) W731\",\"(1) W749\"]\r\n }\r\n if(this.props.product){\r\n if(this.props.product.attributes){\r\n if(this.props.product.attributes.slug){\r\n let fittings = fatSacFittings[this.props.product.attributes.slug];\r\n if(fittings)\r\n this.setState({\r\n fittings:fittings\r\n })\r\n }\r\n }\r\n }\r\n }\r\n\r\n public render(): JSX.Element {\r\n if(!this.state.fittings) return ;\r\n return (\r\n
\r\n
{'Available Fittings'}
\r\n
\r\n {this.state.fittings.map((data:any,index:any) => {\r\n return(\r\n
\r\n {data}\r\n
\r\n )})}\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default FatsacFittings;\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 React from 'react';\r\n\r\n// @ts-ignore\r\nimport Collapsible from 'react-collapsible';\r\n\r\ninterface IProps {\r\n product?: any;\r\n parentProduct?: any;\r\n}\r\n\r\n class Disclaimers extends React.Component {\r\n constructor(props: IProps) {\r\n super(props);\r\n }\r\n\r\n public render(): JSX.Element {\r\n let product:any = this.props.product;\r\n if(this.props.parentProduct){\r\n product = this.props.parentProduct;\r\n }\r\n /* System Boot Sizing TO DO MODAL */\r\n let sacScrubDisclosure:any = null;\r\n if(product.attributes.slug == \"ballast-sac-scrub\"){\r\n sacScrubDisclosure =\r\n
\r\n {'Disclosures'}\r\n
\r\n }\r\n\r\n /* prop 65 Warning */\r\n let prop65Warning:any = null;\r\n if(product.attributes.category == \"lDtB8joWup\"){\r\n prop65Warning =\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n

{'WARNING:'}
\r\n {'This product can expose you to chemicals including Diisononyl phthalate (DINP), which is known to the State of California to cause cancer. For more information go to www.P65Warnings.ca.gov.'}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n }\r\n\r\n /* comp vest warning */\r\n let compVestWarning:any = null;\r\n if(product.attributes.subcategory == \"sIXaPDCLFP\" ||\r\n product.attributes.slug == \"waterski-vests-syndicate-rebel\" ||\r\n product.attributes.slug == \"waterski-vests-syndicate-pro\"\r\n ){\r\n compVestWarning =\r\n \r\n
\r\n
{'Non Coast Guard Approved'}
\r\n
\r\n
\r\n

\r\n {'This is a comp vest and is not a life jacket. Please use a coast guard approved life jacket in waterways that require a coast guard approved life jacket.'}\r\n

\r\n
\r\n \r\n }>\r\n \r\n
\r\n }\r\n\r\n return (\r\n
\r\n {compVestWarning}\r\n {prop65Warning}\r\n {sacScrubDisclosure}\r\n
\r\n );\r\n };\r\n};\r\n\r\n\r\nexport default Disclaimers;\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 React from 'react';\r\n\r\n// @ts-ignore\r\nimport {Helmet} from \"react-helmet\";\r\n// @ts-ignore\r\nimport {GetLocalText,GetLocalizedText,GetLocalizedPrice,StripHtml,CapitalizeFirstLetter,GenerateProductAssetUrl} from \"./../../themes/kent/utilities/functions\";\r\n// @ts-ignore\r\nimport {ModelYear, GeneralAssetUrl,SimpleProductCategories, SimpleProductSubcategories, HeaderHeight, MobileHeaderHeight} from \"./../../themes/kent/utilities/constants\";\r\nimport ImageScroller from \"./image-scroller\";\r\nimport Description from \"./description\";\r\nimport Thumbnails from \"./thumbnails\";\r\nimport DeepLinks from \"./deeplinks\";\r\nimport Sizes from \"./sizes\";\r\nimport ProductLinks from \"./links\";\r\nimport ZoomableProductImage from \"./zoomable-product-image\";\r\nimport TechFeatures from \"./tech-features\";\r\nimport FatSacFittings from \"./fatsac-fittings\";\r\nimport Disclaimers from \"./disclaimers\";\r\n//@ts-ignore\r\nimport {FindFromParse} from './../../themes/kent/utilities/parse';\r\n\r\ninterface IState {\r\n product:any;\r\n slug:string;\r\n name:string;\r\n description:string;\r\n parentProduct?:any;\r\n callouts?:any;\r\n}\r\n\r\ninterface IProps {\r\n product?: any;\r\n localizedContent?:any;\r\n parentProduct?:any;\r\n year?:any;\r\n}\r\n\r\n/**\r\n *\r\n * HosportsMain component\r\n * @extends {React.Component}\r\n */\r\n\r\nclass HosportsMain extends React.Component {\r\n public state: IState;\r\n\r\n constructor(props: IProps) {\r\n super(props);\r\n this.state = {\r\n product:null,\r\n slug:'',\r\n name:'',\r\n description:''\r\n };\r\n }\r\n componentDidMount = () =>{\r\n this.fillCallouts();\r\n }\r\n fillCallouts = async() =>{\r\n let results:any = await FindFromParse(\"ProductCallouts\",[{'method':'limit','value':5000}]);\r\n if(this.props.product.attributes.productCallouts){\r\n let callouts:any = results.filter((callout:any) => this.props.product.attributes.productCallouts.indexOf(callout.id) != -1);\r\n this.setState({\r\n callouts:callouts\r\n })\r\n }\r\n }\r\n public render(): JSX.Element {\r\n const {product,year} = this.props;\r\n let prodAssetUrl:string = GenerateProductAssetUrl(year);\r\n if(!product) return \r\n let desktopProdHeight:any =\"auto\";\r\n if(window.outerWidth < 800){\r\n desktopProdHeight = \"auto\";\r\n }\r\n let simpleProduct:any = false;\r\n if(SimpleProductCategories.indexOf(product.attributes.category) != -1 || SimpleProductSubcategories.indexOf(product.attributes.subcategory) != -1){\r\n if(product.attributes.slug != \"waterski-accessories-syndicate-ponchowel\"){\r\n simpleProduct=true\r\n }\r\n }\r\n if(product.attributes.slug == \"waterski-boots-syndicate-hardshell-liner\" || product.attributes.slug == \"isup-tool-less-fin\"){\r\n simpleProduct=true\r\n }\r\n let calloutImage:any = false;\r\n if(product.attributes.isNew){\r\n calloutImage = GeneralAssetUrl+\"callout-new.png\";\r\n }\r\n if(product.attributes.isEco){\r\n calloutImage = GeneralAssetUrl+\"callout-eco.png\";\r\n }\r\n if(product.attributes.isSoftshell){\r\n calloutImage = GeneralAssetUrl+\"callout-softshell.png\";\r\n }\r\n let brand = CapitalizeFirstLetter(product.attributes.brand);\r\n return (\r\n
\r\n \r\n {brand+' '+ year+' '+this.props.localizedContent.title}\r\n \r\n \r\n \r\n
\r\n
\r\n {calloutImage && }\r\n {this.state.callouts && this.state.callouts.map((callout:any) =>{\r\n let image:any = null;\r\n if(callout.attributes.image){\r\n image = callout.attributes.image.url();\r\n }\r\n return()\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 {product.attributes.partNumber &&\r\n
\r\n {product.attributes.altPartNumbers ? 'Part Numbers: ' : 'Part Number: '}\r\n {product.attributes.partNumber}\r\n {product.attributes.altPartNumbers ? ', ' : ''}\r\n {product.attributes.altPartNumbers && product.attributes.altPartNumbers.map((data:any, index:any) =>{\r\n if(index != product.attributes.altPartNumbers.length -1){\r\n return(product.attributes.altPartNumbers[index]+', ')\r\n } else{\r\n return(product.attributes.altPartNumbers[index])\r\n }\r\n })}\r\n
\r\n }\r\n\r\n {this.props.localizedContent &&
{this.props.localizedContent.tagline}
}\r\n {this.props.localizedContent &&

{this.props.localizedContent.title}

}\r\n {this.props.localizedContent &&

{this.props.localizedContent.price}

}\r\n {product.attributes.subcategory == \"g7lQZjE06q\" &&\r\n

{'Custom colors available for an extra fee'}

\r\n }\r\n {product.attributes.build &&

{product.attributes.build}

}\r\n {product.attributes.sizeDescription &&

{product.attributes.sizeDescription}

}\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {simpleProduct && }\r\n \r\n \r\n {product.attributes.slug == \"ballast-m1090\" &&\r\n
\r\n {'Temporarily Unavailable'}\r\n
\r\n }\r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default HosportsMain;\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 React from 'react';\r\n\r\n// @ts-ignore\r\nimport {GetLocalizedText} from \"./../../themes/kent/utilities/functions\";\r\n// @ts-ignore\r\nimport {GeneralAssetUrl} from \"./../../themes/kent/utilities/constants\";\r\n// @ts-ignore\r\nimport WakesurfEdgeSelector from './../wake-shaper-finder/./wake-shaper-finder';\r\n\r\n\r\ninterface IProps {\r\n product?: any;\r\n}\r\n\r\n/**\r\n *\r\n * Description component\r\n * @extends {React.PureComponentReact.Component}\r\n */\r\n\r\nclass WakesurfEdgeContent extends React.Component {\r\n\r\n public render(): JSX.Element {\r\n\t\tlet product:any = this.props.product;\r\n if(!product) return \r\n if(!product.attributes) return \r\n return (\r\n\t\t\t
\r\n {(product.attributes.slug == 'ballast-M6002' || product.attributes.slug == 'ballast-M6003' ) &&\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
\r\n

{'Downloads'}

\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 \r\n
\r\n
\r\n
\r\n
\r\n
\r\n }\r\n\t\t\t
\r\n\t\t)\r\n }\r\n}\r\n\r\nexport default WakesurfEdgeContent;\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 React from 'react';\r\nimport { IHosportsProductDetailViewProps } from '../../../modules/hosports-product-detail/./hosports-product-detail';\r\n//@ts-ignore\r\nimport Callouts from './../../../baseComponents/product-detail/./callouts';\r\n//@ts-ignore\r\nimport DetailImages from './../../../baseComponents/product-detail/./detail-images';\r\n//@ts-ignore\r\nimport Hero from './../../../baseComponents/product-detail/./hero';\r\n//@ts-ignore\r\n//import Psa from './../../../baseComponents/product-detail/./psa';\r\n//@ts-ignore\r\nimport Shaper from './../../../baseComponents/product-detail/./shaper';\r\n//@ts-ignore\r\nimport TechFeatures from './../../../baseComponents/product-detail/./tech-features';\r\n//@ts-ignore\r\nimport Specs from './../../../baseComponents/product-detail/./specs';\r\n//@ts-ignore\r\nimport SpecTable from './../../../baseComponents/product-detail/./spec-table';\r\n//@ts-ignore\r\nimport ProductList from './../../../baseComponents/product-list/./product-list';\r\n//@ts-ignore\r\nimport VideoBox from './../../../baseComponents/video-box/./video-box';\r\n//@ts-ignore\r\nimport Main from '../../../baseComponents/product-detail/./main';\r\n//@ts-ignore\r\nimport WakesurfEdgeContent from '../../../baseComponents/product-detail/./wakesurf-edge-content';\r\n//@ts-ignore\r\nimport ScrollFadeIn from '../../../baseComponents/scroll-fade/./scroll-fade';\r\n// @ts-ignore\r\nimport {GetExternalProductInfo} from './../utilities/functions';\r\n// @ts-ignore\r\nimport {GetLocalizedText,GetLocalizedPrice} from \"./../utilities/functions\";\r\n// @ts-ignore\r\nimport {GetFromParse} from \"./../utilities/parse\";\r\n// @ts-ignore\r\nimport {GetUrlVariable, GetUrlParamFromRoute} from './../utilities/helpers';\r\n// @ts-ignore\r\nimport {ModelYear} from './../utilities/constants';\r\n\r\ninterface IState {\r\n product?:any;\r\n localizedContent?:any;\r\n video?:any;\r\n parentProduct?:any;\r\n category?:any;\r\n subcategory?:any;\r\n}\r\n\r\nclass IHosportsProductDetail extends React.Component {\r\n public state: IState;\r\n\r\n constructor(props: IHosportsProductDetailViewProps) {\r\n super(props);\r\n this.state = {};\r\n }\r\n\r\n public componentDidMount = async() => {\r\n let config = this.props.config;\r\n let slug = await GetUrlParamFromRoute('/product/');\r\n let product = await GetExternalProductInfo(slug,config.year);\r\n let category = await GetFromParse('Categories', product.attributes.category);\r\n let subcategory = await GetFromParse('Subcategories', product.attributes.subcategory);\r\n\r\n this.setState({\r\n product:product,\r\n category:category,\r\n subcategory:subcategory\r\n },async()=>{\r\n if(product && product.attributes){\r\n let content:any = {};\r\n let video:any = null;\r\n let config = this.props.config;\r\n content.tagline = await GetLocalizedText(product.attributes.content, \"tagline\",config.year);\r\n content.title = await GetLocalizedText(product.attributes.content, \"title\",config.year);\r\n content.description = await GetLocalizedText(product.attributes.content, \"description\",config.year);\r\n content.price = await GetLocalizedPrice(product.attributes.content, \"price\",config.year);\r\n video = product.attributes.video;\r\n let parentProduct = null;\r\n let year:any = config.year ? config.year : ModelYear;\r\n if(product.attributes.parentProducts && product.attributes.parentProducts[0]){\r\n parentProduct = await GetFromParse('Products'+year, product.attributes.parentProducts[0]);\r\n video = parentProduct.attributes.video;\r\n }\r\n this.setState({\r\n video:video,\r\n localizedContent:content,\r\n parentProduct:parentProduct\r\n })\r\n }\r\n })\r\n }\r\n public render(): JSX.Element {\r\n if(!this.state.product) return ;\r\n let config = this.props.config;\r\n return (\r\n
\r\n {this.state.product && this.state.product.attributes &&\r\n <>\r\n \r\n {this.state.localizedContent &&
}\r\n \r\n \r\n {this.state.video &&\r\n \r\n }\r\n {this.state.product.attributes.slug == 'booms-deluxe-gunnel-boom' &&\r\n
\r\n
\r\n
\r\n \r\n
\r\n

{'Testimonial'}

\r\n
\r\n
\r\n
\r\n \r\n
\r\n

{'Installation'}

\r\n
\r\n
\r\n }\r\n \r\n
\r\n \r\n \r\n {(this.state.product.attributes.relatedProducts && this.state.product.attributes.relatedProducts.length > 0) &&\r\n
\r\n

{'Related Products'}

\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\r\nexport default IHosportsProductDetail;\r\n","import {GetFromParseBySlug, FindFromParse} from './parse';\r\n\r\nexport const IsObjectEmpty = (obj) => {\r\n for(var key in obj) {\r\n if(obj.hasOwnProperty(key))\r\n return false;\r\n }\r\n return true;\r\n}\r\n\r\nexport const ShuffleArray = (a) => {\r\n var j, x, i;\r\n for (i = a.length - 1; i > 0; i--) {\r\n j = Math.floor(Math.random() * (i + 1));\r\n x = a[i];\r\n a[i] = a[j];\r\n a[j] = x;\r\n }\r\n return a;\r\n}\r\n\r\nexport const GetUrlVariable = (variable) => {\r\n var query = window.location.search.substring(1);\r\n var vars = query.split(\"&\");\r\n for (var i = 0; i < vars.length; i++) {\r\n var pair = vars[i].split(\"=\");\r\n if (pair[0] == variable) {\r\n return pair[1];\r\n }\r\n }\r\n return (false);\r\n}\r\n\r\nexport const GetUrlParamFromRoute = (route) => {\r\n let param = null;\r\n if(window.location.pathname.indexOf(route) != -1){\r\n let prefix = window.location.pathname.indexOf(route)+route.length\r\n param = window.location.pathname.slice(prefix,window.location.pathname.length)\r\n }\r\n return param;\r\n}\r\n\r\nexport const GetCookieValue = (a) => {\r\n var b = document.cookie.match('(^|;)\\\\s*' + a + '\\\\s*=\\\\s*([^;]+)');\r\n return b ? b.pop() : '';\r\n}\r\n\r\nexport const StripHtml = (html) =>{\r\n var tmp = document.createElement(\"DIV\");\r\n tmp.innerHTML = html;\r\n return tmp.textContent.replace(/(\\r\\n|\\n|\\r)/gm, \"\") || tmp.innerText.replace(/(\\r\\n|\\n|\\r)/gm, \"\") || \"\";\r\n}\r\n"],"names":["GridStructure","React","constructor","props","super","render","smallColumns","this","columns","alignmentClass","alignment","console","log","className","children","map","data","index","paddingClass","length","noPadding","toString","ProductList","componentDidMount","async","slugs","fillProductsFromSlugs","products","fillProductsFromArray","componentDidUpdate","state","slugArray","Array","isArray","slice","GetProductsBySlugs","year","setState","product","ScrollFadeIn","ProductTile","HosportsProductDetail","renderView","HosportsProductDetailHero","componentWillMount","DoesProductShowHeroImage","category","subcategory","fillModule","attributes","title","GetLocalizedText","content","tagline","buttonText","GetLocalText","shown","imageLoaded","imageReady","scrollDown","animateScrollTo","document","querySelector","ready","image","type","prodAssetUrl","GenerateProductAssetUrl","productIncluded","slug","indexOf","activeClass","spacer","HeaderHeight","window","innerWidth","MobileHeaderHeight","customHeroDescriptionColor","customHeroColor","src","onLoad","style","color","onClick","GeneralAssetUrl","height","width","backgroundColor","ImageScroller","images","i","push","selectedIndex","removeImage","singleImageProduct","splice","thumbnailClicked","ref","onError","Description","toggleDescription","fullDescriptionToggled","description","parentProduct","longDescription","brand","shortDescription","fullDescription","marginTop","whiteSpace","ReactHtmlParser","cursor","loadedImages","Thumbnails","large","medium","thumb","checkLoadStatus","doneLoading","zoomActive","hideZoom","loadedClass","descriptors","thumbDescriptions","padding","PortalModal","modalActive","modalHidden","theme","display","alignItems","justifyContent","ReactImageMagnify","Object","assign","enlargedImageClassName","imageClassName","isActivatedOnTouch","smallImage","alt","innerHeight","largeImage","enlargedImagePosition","DeepLinks","deepLinks","deepLinkDeDupeArray","productDeepLinks","deeplinks","locale","GetLocaleValue","deepLinkRetailers","Parse","site","location","href","filter","retailer","ShuffleArray","deepLinkRetailer","link","url","trackDeepLink","marginBottom","target","Sizes","sizes","availableSizesText","sortedSizes","sort","a","b","parseFloat","split","hideTitle","key","Links","links","GetLinksFromProduct","ZoomableImage","onImageLoad","classAdd","ParseCategoryIds","maxWidth","margin","position","flex","FatsacFittings","fatSacFittings","fittings","Disclaimers","sacScrubDisclosure","prop65Warning","fontSize","compVestWarning","Collapsible","trigger","HosportsMain","fillCallouts","results","FindFromParse","productCallouts","callouts","callout","id","name","desktopProdHeight","outerWidth","simpleProduct","SimpleProductCategories","SimpleProductSubcategories","calloutImage","isNew","isEco","isSoftshell","CapitalizeFirstLetter","Helmet","localizedContent","StripHtml","price","fullWidth","force","ZoomableProductImage","partNumber","altPartNumbers","build","sizeDescription","ProductLinks","TechFeatures","FatSacFittings","WakesurfEdgeContent","WakesurfEdgeSelector","backgroundImage","IHosportsProductDetail","config","GetUrlParamFromRoute","GetExternalProductInfo","GetFromParse","video","GetLocalizedPrice","ModelYear","parentProducts","Hero","Main","DetailImages","Specs","VideoBox","autoPlay","muted","controls","SpecTable","Shaper","relatedProducts","GetUrlVariable","variable","vars","search","substring","pair","route","param","pathname","prefix"],"sourceRoot":""}