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,MAAAA,GAAuDA,EAAa9D,OAAQ,IAC5E,EAAK+D,SAAS,CACNxE,WAAW,EACXC,eAAgBsE,IAEpB,eAiDnB5D,OAAe8D,cAAcC,WAtCrBC,OAAM,SAACC,GACJC,QAAQD,MAAMA,OAMnB,EAAArB,0BAAP,SAAiCuB,GAC5BnE,OAAeoE,kBAAkBC,cAAcF,IAO7C,EAAA7B,iBAAP,SAAwB6B,GAEfnE,OAAeoE,kBACfpE,OAAeoE,kBAAkBE,oBAAoBH,GAErDnE,OAAeuE,0BAA0BC,KAAKC,KAAI,WAC9CzE,OAAeuE,0BAA0BG,YAAYP,OAKtE,EAnRA,CAA+BQ,EAAMC,WAAxB,EAAAjF,UAAAA,EAqRb,IAAIsD,EAAW,M,QCrTf4B,EAAOC,QAAUH,O,QCAjBE,EAAOC,QAAUC,WCCbC,EAA2B,GAG/B,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBrF,IAAjBsF,EACH,OAAOA,EAAaL,QAGrB,IAAID,EAASG,EAAyBE,GAAY,CAGjDJ,QAAS,IAOV,OAHAM,EAAoBF,GAAUG,KAAKR,EAAOC,QAASD,EAAQA,EAAOC,QAASG,GAGpEJ,EAAOC,Q,MCrBf,aACA,SACA,UAEA,SAASvF,IACL,IAAI+F,EAAUpC,SAASqC,eAAe,0BACvB,MAAXD,EAIJP,EAASxF,OACL,gBAAC,EAAAI,UAAS,MACV2F,GALAE,WAAWjG,EAAQ,KAQ3BA,I","sources":["webpack://recentlyviewed/./src/components/FetchData.tsx","webpack://recentlyviewed/external var \"React\"","webpack://recentlyviewed/external var \"ReactDOM\"","webpack://recentlyviewed/webpack/bootstrap","webpack://recentlyviewed/./src/main.tsx"],"sourcesContent":["import * as React from 'react';\r\nimport { SfProductEssentials } from '../classes/SfProductEssentials';\r\n//import 'isomorphic-fetch';\r\n\r\n// IA-4048\r\ntype EnumLiteralsOf<T extends object> = T[keyof T] \r\nexport type ValuePackBundleType = EnumLiteralsOf<typeof ValuePackBundleType>\r\nexport const ValuePackBundleType = Object.freeze({\r\n    None: 0 as 0,\r\n    ValuePack: 1 as 1,\r\n    Bundle: 2 as 2\r\n});\r\n\r\n// IA-4048 - Temporary CSS\r\nconst slideContainer: any = {\r\n   //display: 'inline-block'\r\n};\r\n\r\n// IA-4048 - Temporary CSS\r\nconst slide: any = {\r\n    //whiteSpace: 'nowrap'\r\n};\r\n\r\n\r\ninterface FetchDataState {\r\n    recentlyViewed: any | undefined;\r\n    //forecasts: WeatherForecast[];\r\n    loading: boolean;\r\n}\r\n\r\n//docs: https://facebook.github.io/react-native/docs/network\r\n\r\nexport class FetchData extends React.Component<any, any>{\r\n\r\n    \r\n\r\n    constructor(props: any) {\r\n        super(props);\r\n        this.state = {\r\n            value: null,\r\n            isLoading: true,\r\n            recentlyViewed: []\r\n        };\r\n    }\r\n    render() {\r\n\r\n        let contents = this.state.loading\r\n            ? <p><em>Loading...</em></p>\r\n            : FetchData.renderContentsTable(this.state.recentlyViewed);\r\n        if (!this.state.loading && this.state.recentlyViewed !== undefined && this.state.recentlyViewed !== null && this.state.recentlyViewed.length > 0) {\r\n            return <div>\r\n                {contents}\r\n            </div>;\r\n        }\r\n        else {\r\n            return \"\";\r\n        }\r\n\r\n\r\n\r\n\r\n        //return <h3>Hello from FetchData Component. Loading: {this.props.isLoading} !</h3>;\r\n    }\r\n\r\n    //{(window as any).stringResourcesRecentlyViewed.recentlyViewed}\r\n\r\n    private static renderContentsTable(recentlyViewed: SfProductEssentials[]) {\r\n        return <div className=\"recentlyViewed1\">\r\n\r\n\r\n                   <div className=\"panel panel--bordered\">\r\n                       <div className=\"panel__header\">\r\n                    <h2 className=\"panel__header-title panel__header-title--black\">\r\n                        {(window as any).stringResourcesRecentlyViewed.recentlyViewed}\r\n                    </h2>\r\n                       </div>\r\n                       <div className=\"panel__body\">\r\n                            <div className=\"product-slider-controls\">\r\n                            <a className=\"product-slider-control product-slider-control--prev\">\r\n                            <img src=\"webcontent/icons/dropdown-arrow.svg\" alt={(window as any).stringResourcesRecentlyViewed.scrollLeft} />\r\n                                </a>\r\n                            <a className=\"product-slider-control product-slider-control--next\">\r\n                            <img src=\"webcontent/icons/dropdown-arrow.svg\" alt={(window as any).stringResourcesRecentlyViewed.scrollRight} />\r\n                                </a>\r\n                            </div>\r\n                           <div className=\"product-slider slider-rv\">\r\n                        {recentlyViewed.map(recentlyViewedProd =>\r\n                            <div key={recentlyViewedProd.PRODUCT_ID} className=\"proudct-slider__slide\">\r\n\r\n                                <div className=\"product-card product-card--recently-viewed\">\r\n                                    <div className=\"product-card__image\">\r\n                                        <a target=\"_self\" href={'product/detail/' + \r\n                                                                recentlyViewedProd.PRODUCT_ID + '/' +\r\n                                                                recentlyViewedProd.URL_NAME}>\r\n\r\n                                            {\r\n                                                recentlyViewedProd.IsBogo &&\r\n                                                <div id=\"divBogoImage\">\r\n                                                <img className=\"product-card__badge\"\r\n                                                        alt={\r\n                                                            (window as any).stringResourcesRecentlyViewed.ImageOf +\r\n                                                            (\r\n                                                                recentlyViewedProd.BogoType === 3\r\n                                                                    ? (window as any).stringResourcesRecentlyViewed.BogoMatchDiscount\r\n                                                                    : recentlyViewedProd.BogoType === 2\r\n                                                                        ? (window as any).stringResourcesRecentlyViewed.BogoMixDiscount\r\n                                                                        : recentlyViewedProd.BogoType === 1\r\n                                                                            ? (window as any).stringResourcesRecentlyViewed.BogoMixMatchDiscount\r\n                                                                            : \"Bogo\"\r\n                                                            )\r\n                                                        }\r\n                                                        src={recentlyViewedProd.BogoImage} />\r\n                                                </div>\r\n                                            }\r\n\r\n                                            <img src={recentlyViewedProd.STANDARD_IMAGE} alt={recentlyViewedProd.SEO_IMAGE_ALT_TAG} />\r\n                                        </a>\r\n                                    </div>\r\n\r\n                                    <div className=\"product-card__description\">\r\n\r\n                                        <a className=\"product-card__title\"\r\n                                            target=\"_self\"\r\n                                            href={'product/detail/' + recentlyViewedProd.PRODUCT_ID + '/' + recentlyViewedProd.URL_NAME + '/'}>\r\n                                            {recentlyViewedProd.NAME}\r\n                                        </a>\r\n\r\n                                        <div className=\"product-card__rating\">\r\n                                            {recentlyViewedProd.TOTAL_REVIEWS > 0 ?\r\n                                                <a target=\"_self\"\r\n                                                    href={'product/detail/' + recentlyViewedProd.PRODUCT_ID + '/' + recentlyViewedProd.URL_NAME + '/'}\r\n                                                    className=\"review-count review-count-top\">\r\n                                                    <div className=\"GoToReviews\">\r\n                                                        <div className=\"review__stars stars stars--this.starSize stars--small\">\r\n                                                            <div className=\"stars__fill\" style={{ width: (recentlyViewedProd.AVERAGE_REVIEW_SCORE * 20 + '%')}}></div>\r\n                                                            <div className=\"stars__overlay\">\r\n                                                                <img src=\"imgs/ratingStars/star-small.png\" />\r\n                                                                <img src=\"imgs/ratingStars/star-small.png\" />\r\n                                                                <img src=\"imgs/ratingStars/star-small.png\" />\r\n                                                                <img src=\"imgs/ratingStars/star-small.png\" />\r\n                                                                <img src=\"imgs/ratingStars/star-small.png\" />\r\n                                                            </div>\r\n                                                        </div>\r\n                                                        <span className=\"review-count__number\">({recentlyViewedProd.TOTAL_REVIEWS})</span>\r\n                                                    </div>\r\n                                                </a>\r\n                                            : null}\r\n                                        </div>\r\n\r\n\r\n\r\n                                        {/* IA-4048 -Begin Suppress Pack Price and Allow for Bundled Products ---------------------------------------------------------------------------*/}\r\n                                        {(recentlyViewedProd.IsProductOnSale || recentlyViewedProd.ValuePackBundleType != ValuePackBundleType.None ) &&\r\n\r\n                                            <div className=\"product-card__price price-block\">\r\n\r\n                                                <div className=\"price price--strikethrough\"> \r\n                                                    {recentlyViewedProd.MSRP_UIFormatted}\r\n                                                </div>\r\n\r\n                                                {(recentlyViewedProd.IsProductOnSale && recentlyViewedProd.SavingsPercentage > 0) &&\r\n                                                    <div className=\"price price--strong\">\r\n                                                        {recentlyViewedProd.RETAIL_PRICE_UIFormatted}\r\n                                                    </div>\r\n                                                }\r\n\r\n                                                {((recentlyViewedProd.SuppressPackPrice && recentlyViewedProd.ValuePackBundleType == ValuePackBundleType.ValuePack)\r\n                                                    || recentlyViewedProd.ValuePackBundleType == ValuePackBundleType.Bundle) &&\r\n                                                    <div className=\"price price--strong\">\r\n                                                        {recentlyViewedProd.RETAIL_PRICE_UIFormatted}\r\n                                                    </div>\r\n                                                }\r\n\r\n                                                {(!recentlyViewedProd.SuppressPackPrice && recentlyViewedProd.ValuePackBundleType == ValuePackBundleType.ValuePack) &&\r\n                                                    <div className=\"price price--strikethrough\">\r\n                                                        {recentlyViewedProd.FullPrice_UIFormatted}\r\n                                                    </div>\r\n                                                }\r\n\r\n                                                {(!recentlyViewedProd.SuppressPackPrice && recentlyViewedProd.ValuePackBundleType == ValuePackBundleType.ValuePack) &&\r\n                                                    <div className=\"price price--strong\">\r\n                                                        {(window as any).packPrice} <span className=\"nowrap\">{recentlyViewedProd.RETAIL_PRICE_UIFormatted}</span>\r\n                                                    </div>\r\n                                                }\r\n\r\n                                            </div>\r\n                                        }\r\n\r\n\r\n                                        {(!recentlyViewedProd.IsProductOnSale && recentlyViewedProd.ValuePackBundleType == ValuePackBundleType.None) &&\r\n                                            <div className=\"product-card__price price-block\">\r\n                                                <div className=\"price price--strikethrough\">\r\n                                                    {recentlyViewedProd.MSRP_UIFormatted}\r\n                                                </div>\r\n\r\n                                                <div className=\"price price--strong\">\r\n                                                    {recentlyViewedProd.RETAIL_PRICE_UIFormatted}\r\n                                                </div>\r\n                                            </div>\r\n                                        }\r\n                                        {/*// IA-4048 - End Suppress Pack Price and Allow for Bundled Products ---------------------------------------------------------------------------*/}\r\n\r\n\r\n                                        {(!recentlyViewedProd.OutOfStock && !recentlyViewedProd.RemoveCartButton) &&\r\n                                            <a className=\"product-card__button button button--green button--small\"\r\n                                                aria-label=\"Add to Cart\"\r\n                                                onClick={() => this.onClickAddToCart(recentlyViewedProd.PRODUCT_ID)}>\r\n                                                {(window as any).addToCart} &raquo;\r\n                                            </a>}\r\n                                        {(recentlyViewedProd.OutOfStock) &&\r\n                                            <div className=\"out-of-stock\">\r\n                                                <div className=\"out-of-stock__icon\">\r\n                                                    <img src=\"webcontent/icons/baseline-error_outline-24px--cc4b37.svg\" />\r\n                                                </div>\r\n                                                <div className=\"out-of-stock__message\">\r\n                                                    <p>\r\n                                                        {(recentlyViewedProd.OutOfStockModel != null) &&\r\n                                                            (window as any).stringResourcesRecentlyViewed.outOfStock}\r\n                                                        {(recentlyViewedProd.OutOfStock == null) &&\r\n                                                            (window as any).stringResourcesRecentlyViewed.outOfStock}\r\n                                                    </p>\r\n                                                    <ul>\r\n                                                        {(recentlyViewedProd.AlternateProduct != null) &&\r\n                                                            <li>\r\n                                                                <a href={'product/detail/' + recentlyViewedProd.AlternateProduct.PRODUCT_ID + '/' + recentlyViewedProd.AlternateProduct.URL_NAME}>\r\n                                                                    {(window as any).stringResourcesRecentlyViewed.recommendedAlternative}\r\n                                                                </a>\r\n                                                            </li>}\r\n                                                        <li>\r\n                                                            <a onClick={() => this.NotfyWhenProdInStck_CLICK(recentlyViewedProd.PRODUCT_ID)}\r\n                                                                href=\"javascript:void(0)\">\r\n                                                                {(window as any).stringResourcesRecentlyViewed.notifyWhenInStock}\r\n                                                            </a>\r\n                                                        </li>\r\n                                                    </ul>\r\n                                                </div>\r\n                                            </div>}\r\n                                        </div>\r\n                                </div>\r\n                            </div>\r\n                        )}\r\n                           </div>\r\n                           <div className=\"product-slider__loader\">\r\n                               <div className=\"lds-ring\"><div></div><div></div><div></div><div></div></div>\r\n                           </div>\r\n                       </div>\r\n                   </div>\r\n               </div>;\r\n\r\n    }\r\n\r\n    componentDidMount() {\r\n        notifyWindowScriptLoaded();\r\n        return fetch(GetBaseUrl() + 'webservicesCORE1/product/GetSetRecentlyViewed', {\r\n            method: \"GET\", // *GET, POST, PUT, DELETE, etc.\r\n            mode: \"cors\", // no-cors, cors, *same-origin\r\n            cache: \"no-cache\", // *default, no-cache, reload, force-cache, only-if-cached\r\n            credentials: \"same-origin\", // include, *same-origin, omit\r\n            headers: {\r\n                \"Content-Type\": \"application/json\",\r\n                // \"Content-Type\": \"application/x-www-form-urlencoded\",\r\n            }\r\n        })\r\n            .then((response) => response.json())\r\n            .then((responseJson) => {\r\n                if (responseJson !== undefined && responseJson !== null && responseJson.length >0) {\r\n                    this.setState({\r\n                            isLoading: false,\r\n                            recentlyViewed: responseJson,\r\n                        },\r\n                        function () {\r\n\r\n                        })\r\n                    initSlider();\r\n                }\r\n\r\n\r\n\r\n\r\n\r\n            })\r\n            .catch((error) => {\r\n                console.error(error);\r\n            });\r\n\r\n\r\n    }\r\n\r\n    static NotfyWhenProdInStck_CLICK(pid) {\r\n        (window as any).$ClientMiddleware.NotifyInStock(pid);\r\n    }\r\n\r\n    //static onClickAddToCart(arg0: any): any {\r\n    //    throw new Error(\"Method not implemented.\");\r\n    //}\r\n\r\n    static onClickAddToCart(pid: number) {\r\n\r\n        if ((window as any).$ClientMiddleware) {\r\n            (window as any).$ClientMiddleware.AddPidToCartPromise(pid);\r\n        } else {\r\n            (window as any).angularHeaderAddPidToCart.zone.run(function () {\r\n                (window as any).angularHeaderAddPidToCart.componentFn(pid);\r\n            });\r\n        }\r\n\r\n    }\r\n}\r\n\r\nvar _baseURL = null;\r\nfunction GetBaseUrl() {\r\n\r\n    if (_baseURL == null) {\r\n        _baseURL = document.getElementsByTagName('base')[0].href;\r\n    }\r\n    return _baseURL;\r\n}\r\n\r\nfunction initSlider() {\r\n    (window as any).productSlider.init();\r\n}\r\n\r\nfunction notifyWindowScriptLoaded() {\r\n    (window as any).recentlyViewedScript_IsLoading = true;\r\n}\r\n","module.exports = React;","module.exports = ReactDOM;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","import * as React from \"react\";\r\nimport * as ReactDOM from \"react-dom\";\r\nimport { FetchData } from \"./components/FetchData\";\r\n\r\nfunction render() {\r\n    let element = document.getElementById(\"divRecentlyViewedReact\");\r\n    if (element == null) {\r\n        setTimeout(render, 100);\r\n        return;\r\n    }\r\n    ReactDOM.render(\r\n        <FetchData />,\r\n        element\r\n    );\r\n}\r\nrender();"],"names":["ValuePackBundleType","Object","freeze","None","ValuePack","Bundle","props","state","value","isLoading","recentlyViewed","render","contents","this","loading","FetchData","renderContentsTable","undefined","length","className","window","stringResourcesRecentlyViewed","src","alt","scrollLeft","scrollRight","map","recentlyViewedProd","key","PRODUCT_ID","target","href","URL_NAME","IsBogo","id","ImageOf","BogoType","BogoMatchDiscount","BogoMixDiscount","BogoMixMatchDiscount","BogoImage","STANDARD_IMAGE","SEO_IMAGE_ALT_TAG","NAME","TOTAL_REVIEWS","style","width","AVERAGE_REVIEW_SCORE","IsProductOnSale","MSRP_UIFormatted","SavingsPercentage","RETAIL_PRICE_UIFormatted","SuppressPackPrice","FullPrice_UIFormatted","packPrice","OutOfStock","RemoveCartButton","onClick","onClickAddToCart","addToCart","OutOfStockModel","outOfStock","AlternateProduct","recommendedAlternative","NotfyWhenProdInStck_CLICK","notifyWhenInStock","componentDidMount","recentlyViewedScript_IsLoading","fetch","_baseURL","document","getElementsByTagName","method","mode","cache","credentials","headers","then","response","json","responseJson","setState","productSlider","init","catch","error","console","pid","$ClientMiddleware","NotifyInStock","AddPidToCartPromise","angularHeaderAddPidToCart","zone","run","componentFn","React","Component","module","exports","ReactDOM","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","call","element","getElementById","setTimeout"],"sourceRoot":""}