{"version":3,"names":["window","onload","$","document","ready","getUrlParameterValue","name","replace","results","RegExp","exec","location","search","decodeURIComponent","find","attr","removeAttr","on","e","keyCode","type","change","promotionLocation","children","val","promotionType","promotionDate","hiddenLocationValue","hiddenTypeValue","hiddenDateValue","promotionLocationText","promotionTypeText","promotionDateText","viewTextWithEqual","pageTextWithEqual","url","href","split","fullUrl","urlViewAllPromotion","query","urlParamValue","separators","splitedUrlWithAmpersand","list","sitecoreValue","itemValue","item","page","indexOf","join","i","length","encodeURI","decodeURI","sanitizeHtmlStrings","n","j","k","l","m","preventDefault","click","currentView","currentPage","view","parseInt","isNaN","splitedValue","subStringValue","substring","replacedValue","toggle","hasClass","this","removeClass","addClass","width","is","jQuery","analytics","eventConfig","push","target","codeId","events","eventTarget","eventType","tags","componentId","componentName","elementText","elementType","event","titleText"],"sources":["assets/feature/promotion/PromotionList/promotionFilter/js/_promotionFilter.js"],"sourcesContent":["// Promotion list/*Analytics*/\r\nwindow.onload = function () {\r\n analytics.eventConfig.push(\r\n {\r\n \"target\": \".promotion-filter-nav\",\r\n \"codeId\": \"prl\",\r\n \"events\": [\r\n {\r\n \"eventTarget\": \"#reset-promotion\",\r\n \"eventType\": \"click\",\r\n \"tags\": {\r\n \"componentId\": \"prl\",\r\n \"componentName\": \"promotion list\",\r\n \"elementText\": \"\",\r\n \"elementType\": \"filter reset button\",\r\n \"event\": \"navigation\",\r\n \"eventType\": \"filter reset click\"\r\n }\r\n },\r\n {\r\n \"eventTarget\": \"#ddllocationtype\",\r\n \"eventType\": \"change\",\r\n \"tags\": {\r\n \"componentId\": \"prl\",\r\n \"componentName\": \"promotion list\",\r\n \"elementText\": \"\",\r\n \"elementType\": \"location select box\",\r\n \"event\": \"navigation\",\r\n \"eventType\": \"location dropdown selection click\",\r\n \"titleText\": \"\"\r\n }\r\n },\r\n {\r\n \"eventTarget\": \"#ddlpromotiontype\",\r\n \"eventType\": \"change\",\r\n \"tags\": {\r\n \"componentId\": \"prl\",\r\n \"componentName\": \"promotion list\",\r\n \"elementText\": \"\",\r\n \"elementType\": \"type select box\",\r\n \"event\": \"navigation\",\r\n \"eventType\": \"type dropdown selection click\",\r\n \"titleText\": \"\"\r\n }\r\n },\r\n {\r\n \"eventTarget\": \"#ddldate\",\r\n \"eventType\": \"change\",\r\n \"tags\": {\r\n \"componentId\": \"prl\",\r\n \"componentName\": \"promotion list\",\r\n \"elementText\": \"\",\r\n \"elementType\": \"date select box\",\r\n \"event\": \"navigation\",\r\n \"eventType\": \"date dropdown selection click\",\r\n \"titleText\": \"\"\r\n }\r\n }\r\n ]\r\n }\r\n )\r\n}\r\n\r\n(function ($) {\r\n $(document).ready(function () {\r\n $('#ddllocationtype').find('option:disabled').attr('aria-disabled','true').removeAttr('disabled');\r\n $('#ddlpromotiontype').find('option:disabled').attr('aria-disabled','true').removeAttr('disabled');\r\n $('#ddldate').find('option:disabled').attr('aria-disabled','true').removeAttr('disabled');\r\n /* window.$(\"#ddllocationtype,#ddlpromotiontype,#ddldate\").change(function () {\r\n\r\n\r\n }); */\r\n $(\"#ddllocationtype,#ddlpromotiontype,#ddldate\").on('keydown mousedown', function(e){\r\n if((e.keyCode === 40 || e.keyCode === 38 || e.keyCode === 37 || e.keyCode === 39) && e.type === 'keydown') {\r\n // e.stopPropagation();\r\n e.preventDefault();\r\n } else {\r\n window.$(\"#ddllocationtype,#ddlpromotiontype,#ddldate\").change(function () {\r\n var promotionLocation = window.$(\"#ddllocationtype\").children(\"option:selected\").val();\r\n\r\n var promotionType = window.$(\"#ddlpromotiontype\").children(\"option:selected\").val();\r\n\r\n var promotionDate = window.$(\"#ddldate\").children(\"option:selected\").val();\r\n\r\n var hiddenLocationValue = window.$(\".hidden-location-view-all\").val();\r\n var hiddenTypeValue = window.$(\".hidden-type-view-all\").val();\r\n var hiddenDateValue = window.$(\".hidden-date-view-all\").val();\r\n\r\n var promotionLocationText = \"byPromotionLocation\" + \"=\";\r\n var promotionTypeText = \"byPromotionType\" + \"=\";\r\n var promotionDateText = \"byPromotionDate\" + \"=\";\r\n var viewText = \"view\";\r\n\r\n var viewTextWithEqual = \"view=\";\r\n var pageTextWithEqual = \"page=\";\r\n\r\n if (promotionLocation === \"\") {\r\n promotionLocationText = \"\";\r\n }\r\n\r\n if (promotionType === \"\") {\r\n promotionTypeText = \"\";\r\n }\r\n\r\n if (promotionDate === \"\") {\r\n promotionDateText = \"\";\r\n }\r\n\r\n var url = window.location.href.split('?')[0];\r\n var fullUrl = window.location.href;\r\n var urlViewAllPromotion = window.location.href.split('&')[0];\r\n var query = \"\";\r\n var urlParamValue = \"\";\r\n var urlparam = \"\";\r\n var separators = \"\";\r\n var splitedUrlWithQuestionMark = \"\";\r\n var splitedUrlWithAmpersand = \"\";\r\n var list = \"\";\r\n\r\n var sitecoreValue = window.$(\"#promotion-page-no\").val();\r\n var itemValue = getUrlParameterValue('view');\r\n var item = itemValue !== \"\" ? itemValue : sitecoreValue;\r\n var page = getUrlParameterValue('page') !== \"\" ? getUrlParameterValue('page') : 1;\r\n\r\n if (promotionLocation !== \"\" && promotionLocation !== hiddenLocationValue) {\r\n\r\n if ((promotionType !== \"\" && promotionType !== hiddenLocationValue) || (viewText === 'view')) {\r\n promotionLocation = promotionLocation + '&';\r\n }\r\n if (promotionType !== \"\" && promotionType !== hiddenTypeValue && viewText === 'view') {\r\n promotionType = promotionType + '&';\r\n }\r\n\r\n if (promotionDate !== \"\" && promotionDate !== hiddenDateValue && viewText === 'view') {\r\n promotionDate = promotionDate + '&';\r\n }\r\n\r\n }\r\n\r\n if (promotionLocation === \"\" && promotionType !== \"\" && promotionType !== hiddenTypeValue) {\r\n promotionType = promotionType + '&';\r\n\r\n if (promotionDate !== \"\" && promotionDate !== hiddenDateValue && viewText === 'view') {\r\n promotionDate = promotionDate + '&';\r\n }\r\n }\r\n\r\n\r\n if (promotionLocation === \"\" && promotionType === \"\" && promotionDate !== \"\" && promotionDate !== hiddenDateValue && viewText === 'view') {\r\n promotionDate = promotionDate + '&';\r\n }\r\n\r\n\r\n if (promotionLocation === hiddenLocationValue) {\r\n if (fullUrl.indexOf('?promotion') !== -1) {\r\n separators = ['\\\\\\&'];\r\n list = fullUrl.split(new RegExp(separators.join('|'), 'g'));\r\n for (var i = 1; i < list.length + 1; i++) {\r\n urlparam = list[i].split('=')[0];\r\n if (urlparam === 'byPromotionLocation') {\r\n urlParamValue = list[i].split('=')[1];\r\n\r\n if (promotionType !== \"\" || promotionDate !== \"\") {\r\n query = fullUrl.replace(\"&byPromotionLocation=\" + urlParamValue, \"\");\r\n }\r\n else {\r\n query = fullUrl.replace(\"&byPromotionLocation=\" + urlParamValue, \"\");\r\n }\r\n document.location.href = window.encodeURI(decodeURI(sanitizeHtmlStrings(query)));\r\n return false;\r\n }\r\n }\r\n }\r\n else {\r\n splitedUrlWithQuestionMark = fullUrl.split('?')[1];\r\n splitedUrlWithAmpersand = splitedUrlWithQuestionMark.split('&');\r\n for (var n = 0; n < splitedUrlWithAmpersand.length; n++) {\r\n urlparam = splitedUrlWithAmpersand[n].split('=')[0];\r\n if (urlparam === 'byPromotionLocation') {\r\n urlParamValue = splitedUrlWithAmpersand[n].split('=')[1];\r\n\r\n if (promotionType !== \"\" || promotionDate !== \"\") {\r\n query = fullUrl.replace(\"byPromotionLocation=\" + urlParamValue + '&', \"\");\r\n }\r\n else {\r\n query = fullUrl.replace(\"byPromotionLocation=\" + urlParamValue + '&', \"\");\r\n }\r\n document.location.href = window.encodeURI(decodeURI(sanitizeHtmlStrings(query)));\r\n return false;\r\n }\r\n\r\n }\r\n }\r\n }\r\n\r\n else if (promotionType === hiddenTypeValue) {\r\n\r\n if (fullUrl.indexOf('?promotion') !== -1) {\r\n separators = ['\\\\\\&'];\r\n list = fullUrl.split(new RegExp(separators.join('|'), 'g'));\r\n for (var j = 1; j < list.length + 1; j++) {\r\n urlparam = list[j].split('=')[0];\r\n if (urlparam === 'byPromotionType') {\r\n urlParamValue = list[j].split('=')[1];\r\n if (promotionLocation !== \"\" || promotionDate !== \"\") {\r\n query = fullUrl.replace(\"&byPromotionType=\" + urlParamValue, \"\");\r\n }\r\n else {\r\n query = fullUrl.replace(\"&byPromotionType=\" + urlParamValue, \"\");\r\n }\r\n document.location.href = window.encodeURI(decodeURI(sanitizeHtmlStrings(query)));\r\n return false;\r\n }\r\n }\r\n\r\n }\r\n\r\n else {\r\n splitedUrlWithQuestionMark = fullUrl.split('?')[1];\r\n splitedUrlWithAmpersand = splitedUrlWithQuestionMark.split('&');\r\n for (var k = 0; k < splitedUrlWithAmpersand.length; k++) {\r\n urlparam = splitedUrlWithAmpersand[k].split('=')[0];\r\n if (urlparam === 'byPromotionType') {\r\n urlParamValue = splitedUrlWithAmpersand[k].split('=')[1];\r\n if (promotionDate !== \"\") {\r\n query = fullUrl.replace(\"byPromotionType=\" + urlParamValue + '&', \"\");\r\n }\r\n else if (promotionLocation !== \"\") {\r\n query = fullUrl.replace(\"&byPromotionType=\" + urlParamValue, \"\");\r\n }\r\n else {\r\n query = fullUrl.replace(\"byPromotionType=\" + urlParamValue + '&', \"\");\r\n }\r\n document.location.href = window.encodeURI(decodeURI(sanitizeHtmlStrings(query)));\r\n return false;\r\n }\r\n }\r\n }\r\n }\r\n else if (promotionDate === hiddenDateValue) {\r\n if (fullUrl.indexOf('?promotion') !== -1) {\r\n separators = ['\\\\\\&'];\r\n list = fullUrl.split(new RegExp(separators.join('|'), 'g'));\r\n for (var l = 1; l < list.length + 1; l++) {\r\n urlparam = list[l].split('=')[0];\r\n if (urlparam === 'byPromotionDate') {\r\n urlParamValue = list[l].split('=')[1];\r\n if (promotionLocation !== \"\" || promotionType !== \"\") {\r\n query = fullUrl.replace(\"&byPromotionDate=\" + urlParamValue, \"\");\r\n }\r\n else {\r\n query = fullUrl.replace(\"&byPromotionDate=\" + urlParamValue, \"\");\r\n }\r\n document.location.href = window.encodeURI(decodeURI(sanitizeHtmlStrings(query)));\r\n return false;\r\n }\r\n }\r\n\r\n }\r\n else {\r\n splitedUrlWithQuestionMark = fullUrl.split('?')[1];\r\n splitedUrlWithAmpersand = splitedUrlWithQuestionMark.split('&');\r\n\r\n for (var m = 0; m < splitedUrlWithAmpersand.length; m++) {\r\n urlparam = splitedUrlWithAmpersand[m].split('=')[0];\r\n if (urlparam === 'byPromotionDate') {\r\n urlParamValue = splitedUrlWithAmpersand[m].split('=')[1];\r\n if (promotionLocation !== \"\" || promotionType !== \"\") {\r\n query = fullUrl.replace(\"&byPromotionDate=\" + urlParamValue, \"\");\r\n }\r\n else {\r\n query = fullUrl.replace(\"byPromotionDate=\" + urlParamValue + '&', \"\");\r\n }\r\n document.location.href = window.encodeURI(sanitizeHtmlStrings(decodeURI(query)));\r\n return false;\r\n }\r\n }\r\n }\r\n }\r\n\r\n\r\n else if (fullUrl.indexOf('?promotion') !== -1) {\r\n query = urlViewAllPromotion + '&' + promotionLocationText + promotionLocation + promotionTypeText + promotionType + promotionDateText + promotionDate + viewTextWithEqual + item + '&' + pageTextWithEqual + page;\r\n }\r\n\r\n else {\r\n\r\n query = url + '?' + promotionLocationText + promotionLocation + promotionTypeText + promotionType + promotionDateText + promotionDate + viewTextWithEqual + item + '&' + pageTextWithEqual + page;\r\n }\r\n document.location.href = window.encodeURI(sanitizeHtmlStrings(decodeURI(query)));\r\n \r\n }); \r\n }\r\n });\r\n\r\n function getUrlParameterValue(name) {\r\n name = name.replace(/[\\[]/, '\\\\[').replace(/[\\]]/, '\\\\]');\r\n var regex = new RegExp('[\\\\?&]' + name + '=([^&#]*)');\r\n var results = regex.exec(location.search);\r\n return !results ? '' : decodeURIComponent(results[1].replace(/\\+/g, ' '));\r\n }\r\n\r\n window.$(\"#promotion-load-more\").click(function () {\r\n\r\n var url = window.location.href;\r\n var sitecoreValue = window.$(\"#promotion-page-no\").val();\r\n var currentView = getUrlParameterValue('view');\r\n var currentPage = getUrlParameterValue('page');\r\n var view = \"\";\r\n var page = \"\";\r\n if (url.indexOf('view') !== -1) {\r\n view = parseInt(sitecoreValue) + (isNaN(parseInt(currentView)) ? 0 : parseInt(currentView));\r\n page = 1 + (isNaN(parseInt(currentPage)) ? 0 : parseInt(currentPage));\r\n }\r\n else {\r\n view = parseInt(sitecoreValue) + (isNaN(parseInt(currentView)) ? parseInt(sitecoreValue) : parseInt(currentView)); //changes\r\n page = 1 + (isNaN(parseInt(currentPage)) ? 1 : parseInt(currentPage));\r\n }\r\n var viewTextWithEqual = \"view=\";\r\n var pageTextWithEqual = \"page=\";\r\n var query = \"\";\r\n\r\n if (url.indexOf('?promotion') !== -1) {\r\n if (url.indexOf('view') !== -1) {\r\n query = url.replace(viewTextWithEqual + currentView, viewTextWithEqual + view).replace(pageTextWithEqual + currentPage, pageTextWithEqual + page);\r\n }\r\n else {\r\n query = url + '&' + viewTextWithEqual + view + '&' + pageTextWithEqual + page;\r\n }\r\n }\r\n else if (url.indexOf('view') !== -1) {\r\n query = url.replace(viewTextWithEqual + currentView, viewTextWithEqual + view).replace(pageTextWithEqual + currentPage, pageTextWithEqual + page);\r\n }\r\n else {\r\n query = url + '?' + viewTextWithEqual + view + '&' + pageTextWithEqual + page;\r\n }\r\n document.location.href = window.encodeURI(decodeURI(sanitizeHtmlStrings(query)));\r\n });\r\n\r\n });\r\n\r\n window.$(\"#reset-promotion\").click(function () {\r\n var url = window.location.href;\r\n if (url.indexOf('?promotion') !== -1) {\r\n document.location.href = window.encodeURI(decodeURI(sanitizeHtmlStrings(url.split('&')[0])));\r\n }\r\n else {\r\n var splitedValue = url.indexOf(\"?\");\r\n var subStringValue = url.substring(splitedValue);\r\n var replacedValue = url.replace(subStringValue, \"\");\r\n url = replacedValue;\r\n document.location.href = window.encodeURI(decodeURI(sanitizeHtmlStrings(url)));\r\n }\r\n });\r\n\r\n $(\".promo-nav-button\").click(function () {\r\n $('.filter-nav-toggles').toggle();\r\n if ($('.promo-nav-button').hasClass('show-narrow')) {\r\n $(this).removeClass('show-narrow');\r\n }\r\n else {\r\n $(this).addClass('show-narrow');\r\n }\r\n if($(window).width() < 992){\r\n if($( \".filter-nav-toggles\" ).is( \":visible\" )) {\r\n $('button.promo-nav-button').attr('aria-expanded',true);\r\n } else {\r\n $('button.promo-nav-button').attr('aria-expanded',false);\r\n }\r\n }\r\n });\r\n\r\n}(window.jQuery));\r\n"],"mappings":"AACAA,OAAOC,QA8DN,SAAUC,GACPA,EAAEC,UAAUC,OAAM,WAuOd,SAASC,EAAqBC,GAC1BA,EAAOA,EAAKC,QAAQ,OAAQ,OAAOA,QAAQ,OAAQ,OACnD,IACIC,EADQ,IAAIC,OAAO,SAAWH,EAAO,aACrBI,KAAKC,SAASC,QAClC,OAAQJ,EAAeK,mBAAmBL,EAAQ,GAAGD,QAAQ,MAAO,MAAlD,EACtB,CA3OAL,EAAE,oBAAoBY,KAAK,mBAAmBC,KAAK,gBAAgB,QAAQC,WAAW,YACtFd,EAAE,qBAAqBY,KAAK,mBAAmBC,KAAK,gBAAgB,QAAQC,WAAW,YACvFd,EAAE,YAAYY,KAAK,mBAAmBC,KAAK,gBAAgB,QAAQC,WAAW,YAK9Ed,EAAE,+CAA+Ce,GAAG,qBAAqB,SAASC,GAChE,KAAdA,EAAEC,SAAgC,KAAdD,EAAEC,SAAgC,KAAdD,EAAEC,SAAgC,KAAdD,EAAEC,SAA8B,YAAXD,EAAEE,KAIhFpB,OAAOE,EAAE,+CAA+CmB,QAAO,WAC9D,IAAIC,EAAoBtB,OAAOE,EAAE,oBAAoBqB,SAAS,mBAAmBC,MAEjFC,EAAgBzB,OAAOE,EAAE,qBAAqBqB,SAAS,mBAAmBC,MAE1EE,EAAgB1B,OAAOE,EAAE,YAAYqB,SAAS,mBAAmBC,MAEjEG,EAAsB3B,OAAOE,EAAE,6BAA6BsB,MAC5DI,EAAkB5B,OAAOE,EAAE,yBAAyBsB,MACpDK,EAAkB7B,OAAOE,EAAE,yBAAyBsB,MAEpDM,EAAwB,uBACxBC,EAAoB,mBACpBC,EAAoB,mBAGpBC,EAAoB,QACpBC,EAAoB,QAEE,KAAtBZ,IACAQ,EAAwB,IAGN,KAAlBL,IACA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