{"version":3,"sources":["assets/img/Moneris_logo_new.png","assets/img/header_logo.png","components/GoogleCharts.js","config.js","_services/datacontext.service.js","components/Footer.js","components/Home.js","components/NotFound.js","components/App.js","index.js"],"names":["module","exports","GoogleCharts","props","useState","chartsData","setChartsData","id","graphId","t","useTranslation","useEffect","dataRows","data","i","length","para_arr","push","resultData","type","label","populateChartData","chartType","loader","graphID","width","height","options","title","legend","position","hAxis","format","vAxis","series","2","lineDashStyle","3","Config","url","parameters","params","axios","get","then","response","Footer","className","languages","code","name","country_code","require","ReactExport","ExcelFile","ExcelSheet","ExcelColumn","Home","currentLanguageCode","cookies","currentLanguage","find","l","loading","setLoading","React","selectedTabIndex","setSelectedTabIndex","setRetaildata","setTraveldata","setServicedata","onTabSelection","tabIndex","cyear","dataContextService","res","datChange","Retail","datSer","Services","datTra","TravelEntertainment","retail","map","ele","new_start_date_Event","Date","start_date_Event","toLocaleDateString","day","month","year","split","join","services","travelEntertainment","newData","document","body","dir","href","onClick","NotFound","to","App","fallback","basename","exact","path","component","i18next","use","HttpApi","LanguageDetector","initReactI18next","init","supportedLngs","fallbackLng","debug","detection","order","caches","backend","loadPath","loadingMarkup","ReactDOM","render","StrictMode","getElementById"],"mappings":"iJAAAA,EAAOC,QAAU,IAA0B,8C,kVCA3CD,EAAOC,QAAU,IAA0B,yC,uLCsF5BC,MA9Ef,SAAsBC,GAEpB,MAAoCC,mBAAS,IAA7C,mBAAOC,EAAP,KAAmBC,EAAnB,KACA,EAA8BF,mBAASD,EAAMI,IAA7C,mBAAOC,EAAP,KAEQC,GAFR,KAEcC,cAAND,GAsCR,OAnCAE,qBAAU,YAKV,WAeE,IAbA,IASIC,EAAW,GAEXC,EAAOV,EAAMU,KAERC,EAAI,EAAGA,EAAID,EAAKE,OAAQD,IAAK,CACpC,IAAIE,EAAW,GACfA,EAASC,KAAKJ,EAAKC,GAAL,qBAAkCD,EAAKC,GAAL,qBAAkC,KAClFE,EAASC,KAAKJ,EAAKC,GAAL,UAAuBD,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EAAyB,4BAA8B,gBAAiB3D,GAAG,YACzF,6BACE,4BAAKE,EAAE,iDACP,6BACA,6BACIsD,EAAU,aAAe,kBAAC,EAAD,CAAcxD,GAAG,WAAWM,KAAMR,EAAWyF,iBAOpF,kBAAC,EAAD,QC/WWQ,EAXE,WAEf,OACE,yBAAKvD,UAAU,mBACb,qDACA,kBAAC,IAAD,CAAMwD,GAAG,KAAT,kB,OC2BSC,MAtBf,WAEE,OAEE,kBAAC,WAAD,CAAUC,SAAU,MAElB,kBAAC,IAAD,CAAQC,SAAU,yBAEhB,kBAAC,IAAD,KAEE,kBAAC,IAAD,CAAOC,OAAK,EAACC,KAAK,QAAQC,UAAWpD,IAErC,kBAAC,IAAD,CAAOkD,OAAK,EAACC,KAAK,IAAIC,UAAWpD,IAEjC,kBAAC,IAAD,CAAOoD,UAAWP,Q,qBClB5BQ,IACGC,IAAIC,KACJD,IAAIE,KACJF,IAAIG,KACJC,KAAK,CACJC,cAAe,CAAC,KAAM,MACtBC,YAAa,KACbC,OAAO,EAEPC,UAAW,CACTC,MAAO,CAAC,OAAQ,SAAU,WAC1BC,OAAQ,CAAC,WAGXC,QAAS,CACPC,SAAU,kEAIhB,IAAMC,EACJ,yBAAK7E,UAAU,oBACb,0CAIJ8E,IAASC,OACP,kBAAC,WAAD,CAAUrB,SAAUmB,GACpB,kBAAC,IAAMG,WAAP,KACE,kBAAC,EAAD,QAGF9B,SAAS+B,eAAe,W","file":"static/js/main.92c9e0b0.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/Moneris_logo_new.cab89886.png\";","module.exports = __webpack_public_path__ + \"static/media/header_logo.bf415eef.png\";","// import React and other necessary modules\nimport React, { useState, useEffect } from 'react'; \n// import Google Chart component\nimport Chart from \"react-google-charts\"; \n// import useTranslation hook for translations\nimport { useTranslation } from \"react-i18next\"; \n\n// define GoogleCharts function component with props as input\nfunction GoogleCharts(props) { \n // create state variables for chart data and chart id \n const [chartsData, setChartsData] = useState([]); \n const [graphId, setGraphId] = useState(props.id);\n // use useTranslation hook to get access to i18n translation functions\n const { t } = useTranslation(); \n\n // use useEffect hook to populate the chart data\n useEffect(() => { \n populateChartData();\n }, []);\n\n // define a function to populate the chart data\n function populateChartData() { \n // define the columns for the chart \n const columns = [ \n { type: \"string\", label: \"Date\" },\n { type: \"number\", label: \"Yr-over-Yr % Vol Growth\" },\n { type: \"number\", label: \"Yr-over-Yr % Txn Growth\" },\n { type: \"number\", label: \"Yr-over-Yr % Vol Growth AVG\" },\n { type: \"number\", label: \"Yr-over-Yr % Txn Growth AVG\" }\n ];\n\n // create an empty array to store the chart data rows\n let dataRows = []; \n // get the chart data from the props \n let data = props.data; \n // loop through the data and push each row to the dataRows array \n for (let i = 0; i < data.length; i++) { \n let para_arr = [];\n para_arr.push(data[i]['new_start_date_Event'] ? data[i]['new_start_date_Event'] : \"0\")\n para_arr.push(data[i]['VolGrowth'] ? data[i]['VolGrowth'] : 0)\n para_arr.push(data[i]['TxnGrowth'] ? data[i]['TxnGrowth'] : 0)\n para_arr.push(data[i]['VolGrowthAVG'] ? data[i]['VolGrowthAVG'] : 0)\n para_arr.push(data[i]['TxnGrowthAVG'] ? data[i]['TxnGrowthAVG'] : 0)\n dataRows.push(para_arr);\n }\n // create an array of data to be used in the chart\n let resultData = [columns, ...dataRows]; \n // update the state variable for chart data with the new data\n setChartsData(resultData); \n }\n\n return (\n
{t('CONFIDENTIALITY AND DISCLAIMER')}
\r\n {/* Render a paragraph of text using the t function to translate the string */}\r\n{t('This spending trends report (“report”) contains Confidential Information of Moneris Solutions Corporation (“Moneris”). The results were generated based on “same-store” logic, as defined by Moneris. Privacy and other constraints were applied as needed to ensure merchant anonymity and the confidentiality of Moneris’ proprietary information. Moneris is not responsible for your use of the information contained in the report (including errors, omissions, inaccuracy or non-timeliness of any kind) or any assumptions or conclusions you might draw from its use. Moneris makes no warranty, express or implied, and explicitly disclaims the warranties of merchantability and fitness for a particular purpose, any warranty of non-infringement of any third party\\'s intellectual property rights, any warranty that the information will meet the requirements of a client, or any warranty that the information is updated and will be error free. To the extent permitted by applicable law, Moneris shall not be liable to you or any third party for any damages under any theory of law, including, without limitation, any special, consequential, incidental or punitive damages, nor any damages for loss of business profits, business interruption, loss of business information, or other monetary loss, even if advised of the possibility of such damages.')}
\r\n {/* Render a paragraph of text using the t function to translate the string */}\r\n{t('MONERIS and MONERIS & Design are registered trademarks of Moneris Solutions Corporation')}
\r\n