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wJ,IAAM5J,SAASK,OAAQD,EAAIwJ,IAAKxJ,IAC9C,IACE,GAAIuJ,UAAUD,SAAS1J,SAASI,IAC9B,OAAO,EAET,GAAIJ,SAASI,GAAGsJ,SAASC,WACvB,OAAO,CAEX,CAAE,MAAMP,GACN,OAAO,CACT,CAGF,OAAO,CACT,CAkBmCS,CAAQhB,MAAMQ,QAAQM,UAAW3J,WAE9D2B,GAAGmI,oBAAoBC,SAASX,EARZ,CAStB,CAGAzH,GAAGmI,oBAAsB,CACvBX,QACAY,SAAUrB,QAAQlB,OAEpB,MAAMwC,aAAe,iBAAkB/J,SAASgK,gBAAkB,aAAe,SAChFrB,SAASC,QAAU5I,SAASiI,iBAAiB8B,aAAcb,QAC9D,EAEAe,OAAQ,SAAUvI,GAAI+G,SAChBD,SAASC,WAAU/G,GAAGmI,oBAAoBC,SAAWrB,QAAQlB,MACnE,EAEA2C,OAAQ,SAAUxI,GAAI+G,QAASG,OAE7B,MAAMmB,aAAe,iBAAkB/J,SAASgK,gBAAkB,aAAe,SAChFrB,SAASC,QAAUlH,GAAGmI,qBAAuB7J,SAASqI,oBAAoB0B,aAAcrI,GAAGmI,oBAAoBX,gBACzGxH,GAAGmI,mBACZ,E","sources":["webpack://RdoWeb/./ResourcePackages/Main/assets/src/scripts/functions/element-enumerator.js","webpack://RdoWeb/./ResourcePackages/Main/assets/src/scripts/functions/widget-initializer.js","webpack://RdoWeb/./ResourcePackages/Main/assets/src/scripts/widgets/branch-picker.js","webpack://RdoWeb/./node_modules/vue-click-outside/index.js"],"sourcesContent":["export var ElementsEnumerator = function (elementsClass) {\r\n this.elementsClass = elementsClass;\r\n};\r\n\rElementsEnumerator.prototype.getElements = function () {\r var elements = document.getElementsByClassName(this.elementsClass);\r\n var elementIdPrefix = this.elementsClass + \"-\";\r\n for (var i = 0; i < elements.length; i++) {\r\n var element = elements[i];\r\n element.setAttribute(\"id\", (elementIdPrefix + (i + 1)));\r\n }\r return elements;\r};","import { widgetInitialisation } from \"./widget-init\";\r\nimport { ElementsEnumerator } from \"./element-enumerator\";\r\n\r\nconst initializedVueAppAttrName = \"data-vue-initialized\";\r\n\r\nexport var WidgetInitializer = function (elementsClass) {\r\n this.elementsClass = elementsClass;\r\n};\r\n\r\nWidgetInitializer.prototype.initialize = function (initializationCallback) {\r\n var that = this;\r\n widgetInitialisation(function () {\r\n return innerInitialization.call(that, initializationCallback);\r\n });\r\n};\r\n\r\nfunction innerInitialization(initializationCallback) {\r\n var elementsEnumerator = new ElementsEnumerator(this.elementsClass);\r\n var notInitializedElements = elementsEnumerator.getElements();\r\n for (var i = 0; i < notInitializedElements.length; i++) {\r\n var element = notInitializedElements[i];\r\n if (element.hasAttribute(initializedVueAppAttrName))\r\n return;\r\n\r\n var newElement = initializationCallback(element);\r\n if (newElement)\r\n { element = newElement; }\r\n\r\n element.setAttribute(initializedVueAppAttrName, '');\r\n }\r\n};","import ClickOutside from 'vue-click-outside';\r\nimport { WidgetInitializer } from \"../functions/widget-initializer\";\r\nimport { LocalStorageUtils } from \"../functions/local-storage-utils\";\r\nimport { ArrayUtils } from \"../functions/array-utils\";\r\nimport { ConfigUtils } from \"../functions/config-utils\";\r\nimport { StringUtils } from \"../functions/string-utils\";\r\nimport { Constants } from \"../functions/constants\";\r\nimport { BranchUtils } from \"../functions/branch-utils\";\r\n\r\nvar widgetInitializer = new WidgetInitializer(Constants.COMPONENTS.BRANCH_PICKER);\r\nGlobalApp.registerInitializationHandler(Constants.COMPONENTS.BRANCH_PICKER, function () {\r\n widgetInitializer.initialize(initHeaderBranchInfoApp);\r\n});\r\n\r\nfunction initHeaderBranchInfoApp(element) {\r\n var config = ConfigUtils.getConfigFor(element);\r\n\r\n var vueApp = new Vue({\r\n el: '#' + element.id,\r\n data: {\r\n initializationReadyHook: GlobalApp.getInitializationReadyHook(),\r\n buttonTitle: 'PICK A STORE',\r\n storeTitle: '',\r\n storeData: '',\r\n phoneNumbers: null,\r\n storeLink: '',\r\n searchTerm: '',\r\n currentAddressLink: '',\r\n popupShown: false,\r\n myStoreLocationData: {},\r\n inputTextSelected: false\r\n },\r\n directives: {\r\n ClickOutside\r\n },\r\n computed: {\r\n inputHeaderText() {\r\n return this.storeData ? 'Change Store' : 'Pick a Store';\r\n },\r\n visiblePhoneNumbers() {\r\n var that = this;\r\n if (ArrayUtils.isNotEmpty(this.phoneNumbers)) {\r\n return this.phoneNumbers\r\n .filter(pn => pn.isVisible)\r\n .map(pn => {\r\n pn.displayName = that.getPhoneDisplayName(pn);\r\n return pn;\r\n });\r\n }\r\n return [];\r\n },\r\n isOnscreenKeyboardShown () {\r\n return GlobalApp.isOnscreenKeyboardShown && this.popupShown;\r\n }\r\n },\r\n methods: {\r\n init: function init() {\r\n var that = this;\r\n var stored_data = LocalStorageUtils.getLocalStorageData();\r\n this.searchTerm = stored_data.searchTerm;\r\n\r\n GlobalApp.MyStoreService.getMyStore()\r\n .then(function (myStoreData) {\r\n if (myStoreData)\r\n that.displayBranchDetails(myStoreData);\r\n\r\n that.initializationReadyHook(element.id);\r\n });\r\n },\r\n setPopupInfo: function setPopupInfo(obj) {\r\n this.storeTitle = obj.title;\r\n this.storeData = obj.data;\r\n this.phoneNumbers = StringUtils.jsonTryParse(obj.phoneNumbers);\r\n this.buttonTitle = obj.buttonTitle;\r\n this.storeLink = obj.link;\r\n },\r\n goToLocations: function goToLocations() {\r\n if (this.searchTerm) {\r\n LocalStorageUtils.updateLocalStorageData(otherPreferences => {\r\n otherPreferences.searchTerm = this.searchTerm;\r\n });\r\n\r\n window.location.href = config.model.BranchFinderLink.LinkUrl;\r\n }\r\n },\r\n togglePopupExpanded: function () {\r\n if (!this.popupShown) {\r\n this.init();\r\n GlobalApp.EventHub.raiseEvent(Constants.EVENTS.CLOSE_ALL_POPUPS);\r\n GlobalApp.EventHub.raiseEvent(Constants.EVENTS.POPUP_OPENED);\r\n } else {\r\n GlobalApp.EventHub.raiseEvent(Constants.EVENTS.POPUP_CLOSED);\r\n }\r\n\r\n this.popupShown = !this.popupShown;\r\n },\r\n mouseDown: function mouseDown() {\r\n this.inputTextSelected = true\r\n },\r\n mouseUp: function mouseUp() {\r\n this.inputTextSelected = false\r\n },\r\n hidePopup: function hidePopup() {\r\n if (this.popupShown && !this.inputTextSelected) {\r\n this.popupShown = false; \r\n GlobalApp.EventHub.raiseEvent(Constants.EVENTS.POPUP_CLOSED);\r\n }\r\n this.inputTextSelected = false\r\n },\r\n getCurrentPosition: function getCurrentPosition() {\r\n GlobalApp.LocationService.getDeviceLocation()\r\n .then(this.saveCurrentCoords)\r\n .catch(function (error) {\r\n console.warn(error);\r\n });\r\n },\r\n saveCurrentCoords: function saveCurrentCoords(position) {\r\n LocalStorageUtils.updateLocalStorageData(otherPreferences => {\r\n otherPreferences.searchTerm = \"\";\r\n });\r\n\r\n this.currentAddressLink += '?lat=' + position.Latitude + '&lng=' + position.Longitude;\r\n window.location.href = this.currentAddressLink;\r\n },\r\n getAddressText: function getAddressText(obj) {\r\n if (!obj) { return ''; }\r\n return obj.Street + ', ' + obj.City + ' ' + obj.Zip;\r\n },\r\n hidePopupWithDelay: function hidePopupWithDelay() {\r\n var that = this;\r\n setTimeout(function () {\r\n that.togglePopupExpanded();\r\n }, 100);\r\n },\r\n myStoreUpdateEventHandler: function (object, branchDetails) {\r\n if (object === this)\r\n return;\r\n\r\n this.displayBranchDetails(branchDetails);\r\n },\r\n displayBranchDetails: function (branchDetails) {\r\n if (!branchDetails)\r\n return;\r\n\r\n var contactData = branchDetails.FormattedAddress || BranchUtils.getAddressString(branchDetails);\r\n\r\n this.setPopupInfo({\r\n title: branchDetails.BranchName,\r\n data: contactData,\r\n phoneNumbers: branchDetails.PhoneNumbers,\r\n buttonTitle: 'MY STORE',\r\n link: branchDetails.Url\r\n });\r\n },\r\n getPhoneDisplayName: function (item) {\r\n if (!item || !item.value)\r\n return '';\r\n\r\n var displayName = item.value.replace(\r\n new RegExp(config.phoneConstants.parsingRegex),\r\n config.phoneConstants.formattingRegex\r\n );\r\n return displayName;\r\n }\r\n },\r\n created: function () {\r\n this.init();\r\n this.currentAddressLink = config.model.BranchFinderLink.LinkUrl;\r\n GlobalApp.EventHub.subscribeToEvent(Constants.EVENTS.CLOSE_ALL_POPUPS, this.hidePopup);\r\n GlobalApp.EventHub.subscribeToEvent(Constants.EVENTS.CART.MY_STORE_UPDATE, this.myStoreUpdateEventHandler);\r\n window.addEventListener(Constants.EVENTS.CART.LOCATION_POPUP_OPENED, this.hidePopupWithDelay);\r\n },\r\n destroyed() {\r\n GlobalApp.EventHub.unsubscribeToEvent(Constants.EVENTS.CLOSE_ALL_POPUPS, this.hidePopup);\r\n GlobalApp.EventHub.unsubscribeToEvent(Constants.EVENTS.CART.MY_STORE_UPDATE, this.myStoreUpdateEventHandler);\r\n window.removeEventListener(Constants.EVENTS.CART.LOCATION_POPUP_OPENED, this.hidePopupWithDelay);\r\n }\r\n });\r\n\r\n return vueApp.$el;\r\n}","function validate(binding) {\n if (typeof binding.value !== 'function') {\n console.warn('[Vue-click-outside:] provided expression', binding.expression, 'is not a function.')\n return false\n }\n\n return true\n}\n\nfunction isPopup(popupItem, elements) {\n if (!popupItem || !elements)\n return false\n\n for (var i = 0, len = elements.length; i < len; i++) {\n try {\n if (popupItem.contains(elements[i])) {\n return true\n }\n if (elements[i].contains(popupItem)) {\n return false\n }\n } catch(e) {\n return false\n }\n }\n\n return false\n}\n\nfunction isServer(vNode) {\n return typeof vNode.componentInstance !== 'undefined' && vNode.componentInstance.$isServer\n}\n\nexports = module.exports = {\n bind: function (el, binding, vNode) {\n if (!validate(binding)) return\n\n // Define Handler and cache it on the element\n function handler(e) {\n if (!vNode.context) return\n\n // some components may have related popup item, on which we shall prevent the click outside event handler.\n var elements = e.path || (e.composedPath && e.composedPath())\n elements && elements.length > 0 && elements.unshift(e.target)\n\n if (el.contains(e.target) || isPopup(vNode.context.popupItem, elements)) return\n\n el.__vueClickOutside__.callback(e)\n }\n\n // add Event Listeners\n el.__vueClickOutside__ = {\n handler: handler,\n callback: binding.value\n }\n const clickHandler = 'ontouchstart' in document.documentElement ? 'touchstart' : 'click';\n !isServer(vNode) && document.addEventListener(clickHandler, handler)\n },\n\n update: function (el, binding) {\n if (validate(binding)) el.__vueClickOutside__.callback = binding.value\n },\n\n unbind: function (el, binding, vNode) {\n // Remove Event Listeners\n const clickHandler = 'ontouchstart' in document.documentElement ? 'touchstart' : 'click';\n !isServer(vNode) && el.__vueClickOutside__ && document.removeEventListener(clickHandler, el.__vueClickOutside__.handler)\n delete el.__vueClickOutside__\n }\n}\n"],"names":["ElementsEnumerator","elementsClass","this","prototype","getElements","elements","document","getElementsByClassName","elementIdPrefix","i","length","setAttribute","WidgetInitializer","innerInitialization","initializationCallback","notInitializedElements","element","hasAttribute","newElement","initialize","that","widgetInitialisation","call","widgetInitializer","Constants","COMPONENTS","BRANCH_PICKER","initHeaderBranchInfoApp","config","ConfigUtils","getConfigFor","Vue","el","id","data","initializationReadyHook","GlobalApp","getInitializationReadyHook","buttonTitle","storeTitle","storeData","phoneNumbers","storeLink","searchTerm","currentAddressLink","popupShown","myStoreLocationData","inputTextSelected","directives","ClickOutside","computed","inputHeaderText","visiblePhoneNumbers","ArrayUtils","isNotEmpty","filter","pn","isVisible","map","displayName","getPhoneDisplayName","isOnscreenKeyboardShown","methods","init","stored_data","LocalStorageUtils","getLocalStorageData","MyStoreService","getMyStore","then","myStoreData","displayBranchDetails","setPopupInfo","obj","title","StringUtils","jsonTryParse","link","goToLocations","updateLocalStorageData","otherPreferences","window","location","href","model","BranchFinderLink","LinkUrl","togglePopupExpanded","EventHub","raiseEvent","EVENTS","POPUP_CLOSED","CLOSE_ALL_POPUPS","POPUP_OPENED","mouseDown","mouseUp","hidePopup","getCurrentPosition","LocationService","getDeviceLocation","saveCurrentCoords","catch","error","console","warn","position","Latitude","Longitude","getAddressText","Street","City","Zip","hidePopupWithDelay","setTimeout","myStoreUpdateEventHandler","object","branchDetails","contactData","FormattedAddress","BranchUtils","getAddressString","BranchName","PhoneNumbers","Url","item","value","replace","RegExp","phoneConstants","parsingRegex","formattingRegex","created","subscribeToEvent","CART","MY_STORE_UPDATE","addEventListener","LOCATION_POPUP_OPENED","destroyed","unsubscribeToEvent","removeEventListener","$el","registerInitializationHandler","validate","binding","expression","isServer","vNode","componentInstance","$isServer","module","exports","bind","handler","e","context","path","composedPath","unshift","target","contains","popupItem","len","isPopup","__vueClickOutside__","callback","clickHandler","documentElement","update","unbind"],"sourceRoot":""}