{"version":3,"file":"default/js/google.js","sources":["webpack://rws/./dependencies/storefront-reference-architecture/cartridges/app_storefront_base/cartridge/client/default/js/components/keyboardAccessibility.js","webpack://rws/./dependencies/storefront-reference-architecture/cartridges/app_storefront_base/cartridge/client/default/js/util.js","webpack://rws/./cartridges/app_rws/cartridge/client/default/js/services/geolocation.js","webpack://rws/./cartridges/app_rws/cartridge/client/default/js/services/google.js","webpack://rws/./cartridges/app_rws/cartridge/client/default/js/storeLocator.js","webpack://rws/./cartridges/app_rws/cartridge/client/default/js/storeLocator/storeLocator.js","webpack://rws/./cartridges/app_rws/cartridge/client/default/js/storeLocator/storeLocatorMap.js","webpack://rws/./cartridges/app_rws/cartridge/client/default/js/util/matchBreakpoints.js","webpack://rws/./cartridges/app_rws/cartridge/client/default/js/util/urlUtils.js","webpack://rws/./cartridges/app_rws/cartridge/client/default/js/google.js"],"sourcesContent":["'use strict';\n\n// Customization: Added Enter key (13)\n\nmodule.exports = function (selector, keyFunctions, preFunction) {\n $(selector).on('keydown', function (e) {\n var key = e.which;\n var supportedKeyCodes = [37, 38, 39, 40, 27, 13];\n if (supportedKeyCodes.indexOf(key) >= 0) {\n e.preventDefault();\n }\n var returnedScope = preFunction.call(this);\n if (keyFunctions[key]) {\n keyFunctions[key].call(this, returnedScope);\n }\n });\n};\n","'use strict';\n\nmodule.exports = function (include) {\n if (typeof include === 'function') {\n include();\n } else if (typeof include === 'object') {\n Object.keys(include).forEach(function (key) {\n if (typeof include[key] === 'function') {\n include[key]();\n }\n });\n }\n};\n","'use strict';\n\nclass GeolocationModel {\n constructor() {\n this.latitude = '';\n this.longitude = '';\n this.locationText = 'Use My location';\n this.error = false;\n this.errorMessage = '';\n }\n\n /**\n * Sets the geolocation data.\n * @param {Object} position - The position object from the geolocation API.\n */\n setGeolocation(position) {\n this.latitude = position.coords.latitude;\n this.longitude = position.coords.longitude;\n this.locationText = 'Using your location';\n this.error = false;\n }\n\n /**\n * Sets the error information based on the error code.\n * @param {Object} error - The error object from the geolocation API.\n */\n setError(error) {\n this.error = true;\n switch (error.code) {\n case error.PERMISSION_DENIED:\n this.locationText = 'User denied geolocation.
Change settings in your browser.';\n break;\n case error.POSITION_UNAVAILABLE:\n this.errorMessage = 'Geolocation information is unavailable. Please try again.';\n break;\n case error.TIMEOUT:\n this.errorMessage = 'Location request has timed out. Please try again.';\n break;\n case error.UNKNOWN_ERROR:\n this.errorMessage = 'Unknown error occurred. Please try again.';\n break;\n }\n }\n\n setNotSupported() {\n this.error = true;\n this.locationText = 'Geolocation is not supported by this browser.';\n }\n}\n\n/**\n * Retrieves the current geolocation coordinates of the user's device.\n * @returns {Promise}\n * A promise that resolves with an instance of `GeolocationModel` containing the geolocation data or error information.\n */\nfunction getGeolocation() {\n return new Promise((resolve) => {\n const geolocationModel = new GeolocationModel();\n if (navigator.geolocation) {\n navigator.geolocation.getCurrentPosition(\n (position) => {\n geolocationModel.setGeolocation(position);\n resolve(geolocationModel);\n },\n (error) => {\n geolocationModel.setError(error);\n resolve(geolocationModel);\n }\n );\n } else {\n geolocationModel.setNotSupported();\n resolve(geolocationModel);\n }\n });\n}\n\nmodule.exports = {\n GeolocationModel: GeolocationModel,\n getGeolocation: getGeolocation\n};\n","/* global google */\n'use strict';\n\n// This sample uses the Places Autocomplete widget to:\n// 1. Help the user select a place\n// 2. Retrieve the address components associated with that place\n// 3. Populate the form fields with those address components.\n// This sample requires the Places library, Maps JavaScript API.\n// Include the libraries=places parameter when you first load the API.\n// For example: \nlet autocomplete;\nlet address1Field;\nlet postalField;\n\nfunction fillInAddress() {\n // Get the place details from the autocomplete object.\n const place = autocomplete.getPlace();\n let address1 = \"\";\n let postcode = \"\";\n\n // Get each component of the address from the place details,\n // and then fill-in the corresponding field on the form.\n // place.address_components are google.maps.GeocoderAddressComponent objects\n // which are documented at http://goo.gle/3l5i5Mr\n for (const component of place.address_components) {\n // @ts-ignore remove once typings fixed\n const componentType = component.types[0];\n\n switch (componentType) {\n case \"street_number\": {\n address1 = `${component.long_name} ${address1}`;\n break;\n }\n\n case \"route\": {\n address1 += component.short_name;\n break;\n }\n\n case \"postal_code\": {\n postcode = `${component.long_name}${postcode}`;\n break;\n }\n\n case \"postal_code_suffix\": {\n postcode = `${postcode}-${component.long_name}`;\n break;\n }\n\n case \"locality\": {\n document.querySelector('[name*=\"city\"]').value = component.long_name;\n break;\n }\n\n case \"administrative_area_level_1\": {\n document.querySelector('[name*=\"state\"]').value = component.short_name;\n break;\n }\n\n case \"country\": {\n document.querySelector('[name*=\"country\"]').value = component.short_name;\n break;\n }\n\n default: {\n break;\n }\n }\n }\n\n address1Field.value = address1;\n postalField.value = postcode;\n}\n\nfunction initAutocomplete() {\n if ($('[name*=\"address1\"]').length > 0) {\n address1Field = document.querySelector('[name*=\"address1\"]');\n postalField = document.querySelector('[name*=\"postalCode\"]');\n\n // Create the autocomplete object, restricting the search predictions to\n // addresses in the US and Canada.\n autocomplete = new google.maps.places.Autocomplete(address1Field, {\n componentRestrictions: { country: [\"us\"] },\n fields: [\"address_components\", \"geometry\"],\n types: [\"address\"]\n });\n // When the user selects an address from the drop-down, populate the\n // address fields in the form.\n autocomplete.addListener(\"place_changed\", fillInAddress);\n }\n}\n\n// Full address form autocomplete Shipping, Billing, Account\n$(document).ready(function () {\n initAutocomplete();\n});\n\nmodule.exports = {\n // Address autocomplete single field (store search)\n initAutocompleteStore: function () {\n if ($('#store-postal-code').length > 0) {\n const autocompleteFormField = document.getElementById(`store-postal-code`);\n const autocompleteForm = new google.maps.places.Autocomplete((autocompleteFormField), {\n fields: ['name', 'formatted_address'],\n types: ['geocode']\n });\n google.maps.event.clearInstanceListeners(autocompleteFormField);\n google.maps.event.addListener(autocompleteForm, `place_changed`, () => {\n const place = autocompleteForm.getPlace();\n\n if (typeof place.formatted_address !== 'undefined') {\n autocompleteFormField.value = place.formatted_address;\n $('[name=' + autocompleteFormField.closest('form').name + ']').trigger('submit');\n }\n });\n }\n }\n};\n","'use strict';\n\nvar processInclude = require('base/util');\nvar google = require('./services/google');\n\n$(document).ready(function () {\n processInclude(require('./storeLocator/storeLocator'));\n google.initAutocompleteStore();\n});\n","'use strict';\n\nvar matchBreakpoints = require('../util/matchBreakpoints');\nvar keyboardAccessibility = require('base/components/keyboardAccessibility');\nvar geolocationService = require('../services/geolocation');\nvar storeLocatorMap = require('./storeLocatorMap');\n\n/**\n * Sets the state of the detect location button.\n * @param {boolean} isError - Indicates if there was an error in geolocation.\n */\nfunction setDetectLocationState(isError) {\n var baseClass = 'store-locator__detect-location-button';\n\n $('.js-detect-location').removeClass(baseClass + '--red');\n $('.js-detect-location').removeClass(baseClass + '--green');\n\n if (typeof isError === 'boolean') {\n if (isError) {\n $('.js-detect-location').addClass(baseClass + '--red');\n } else {\n $('.js-detect-location').addClass(baseClass + '--green');\n }\n } else {\n $('.js-detect-location').addClass(baseClass);\n }\n}\n\n/**\n * Sets the geolocation fields based on the result.\n * @param {Object} geolocationResult - The result of the geolocation service.\n */\nfunction setGeolocationFields(geolocationResult) {\n $('#store-postal-code-error').html('');\n setDetectLocationState(geolocationResult.error);\n\n if (geolocationResult && geolocationResult.error) {\n $('#store-postal-code-error').html(geolocationResult.errorMessage);\n }\n if (geolocationResult && geolocationResult.locationText) {\n $('.js-detect-location').html(geolocationResult.locationText);\n }\n}\n\n/**\n * Sets the search form fields based on the provided object.\n * @param {Object} object - The object containing latitude, longitude, and postal code.\n */\nfunction setSearchFormFields(object) {\n if (!isNaN(parseInt(object.latitude)) && !isNaN(parseInt(object.longitude))) {\n $('input[name=\"postalCode\"]').val('');\n $('input[name=\"lat\"]').val(object.latitude);\n $('input[name=\"long\"]').val(object.longitude);\n } else if (object.postalCode) {\n $('input[name=\"postalCode\"]').val(object.postalCode);\n $('input[name=\"lat\"]').val('');\n $('input[name=\"long\"]').val('');\n }\n}\n\n/**\n * Renders the results of the store search and updates the map.\n * @param {Object} data - The response data from the server.\n */\nfunction updateStoresResults(data) {\n var $resultsDiv = $('.results');\n var $redWingStoreDiv = $('.js-red-wing-store-card');\n var hasResults = data.stores.length > 0;\n\n if (!hasResults) {\n // show the no results, hide the mobile legend\n $('.store-locator-no-results').show();\n $('.js-store-locator__pin-key__container--mobile').hide();\n } else {\n // Hide the no results, show the mobile legend\n $('.store-locator-no-results').hide();\n $('.js-store-locator__pin-key__container--mobile').show();\n }\n\n $resultsDiv.empty()\n .data('has-results', hasResults)\n .data('radius', data.radius)\n\n $redWingStoreDiv.empty()\n .data('has-results', hasResults)\n .data('radius', data.radius)\n if (data.storesResultsHtml) {\n $resultsDiv.append(data.storesResultsHtml);\n\n var $scrollElement = $(\".js-storeresults\");\n\n if ($(\".js-storeresults\").length <= 0) {\n $scrollElement = $(\".js-storefields\");\n }\n\n if (matchBreakpoints(['default', 'xs-up'])) {\n $('html, body').animate({\n scrollTop: $scrollElement.offset().top\n }, 'slow');\n }\n }\n\n if (data.closestRedWingStore && data.closestRedWingStore.length !== 0) {\n $redWingStoreDiv.append(data.closestRedWingStoreHtml);\n $('.js-red-wing-store-container').removeClass('d-none').addClass('d-block');\n } else {\n $('.js-red-wing-store-container').removeClass('d-block').addClass('d-none');\n }\n}\n\n/**\n * Searches for stores based on the provided search fields.\n * @param {Object} keySearchFields - The search fields to use for the search.\n */\nfunction search(keySearchFields) {\n var dialog = $('.in-store-inventory-dialog');\n var spinner = dialog.length ? dialog.spinner() : $.spinner();\n spinner.start();\n var $form = $('form[name=\"storelocator\"]');\n var url = $form.attr('action');\n $('button.detect-location').next('.invalid-feedback').css('display', 'none').removeAttr('role', 'alert');\n\n if (keySearchFields) {\n setSearchFormFields(keySearchFields);\n }\n\n var payload = $form.serialize();\n\n $.ajax({\n url: url,\n type: $form.attr('method'),\n data: payload,\n dataType: 'json',\n success: function (data) {\n updateStoresResults(data);\n storeLocatorMap.updateMap(data);\n $('.select-store').prop('disabled', true);\n },\n complete: function () {\n spinner.stop();\n }\n });\n}\n\n/**\n * Detects the user's location using the geolocation service.\n */\nfunction dectectLocation() {\n $.spinner().start();\n geolocationService.getGeolocation().then(function(geolocationResult) {\n setGeolocationFields(geolocationResult);\n $.spinner().stop();\n if (!geolocationResult.error) {\n search(geolocationResult);\n }\n });\n}\n\nmodule.exports = {\n init: function () {\n storeLocatorMap.updateMap();\n\n // Store the initial data values for popstate purposes\n var originalData = $('.js-original-search').data('original-search');\n if (originalData) {\n history.replaceState(originalData, '', window.location.search);\n }\n\n // Set the Radius drop-down based on the initial value\n if (parseInt($('select.radius').val(), 10) !== parseInt($('.results').attr('data-radius'), 10)) {\n $('select.radius').val(parseInt($('.results').attr('data-radius'), 10));\n }\n\n // Show the no results, hide the mobile legend\n if (!$('.results').data('has-results')) {\n $('.store-locator-no-results').show();\n $('.js-store-locator__pin-key__container--mobile').hide();\n }\n\n // Trigger detect location on page load\n dectectLocation();\n },\n\n detectLocation: function () {\n $('.js-detect-location').on('click', async function (e) {\n e.preventDefault();\n dectectLocation();\n });\n },\n\n search: function () {\n $('form.store-locator').on('submit', function (e) {\n e.preventDefault();\n search();\n });\n $('.store-locator-container .btn-storelocator-search').on('click', function (e) {\n var $form = $('form.store-locator')[0];\n if ($form.checkValidity()) {\n e.preventDefault();\n search({ postalCode: $('input[name=\"postalCode\"]').val() });\n } else {\n // Optionally, you can trigger form validation UI\n $form.reportValidity();\n }\n });\n // Using keyboardAccessibility because the keydown event was also firing the detect-location event above\n keyboardAccessibility(\n '.store-locator-container input[name=\"postalCode\"]',\n {\n 13: function () {\n search({ postalCode: $('input[name=\"postalCode\"]').val() })\n }\n },\n function () {\n return $(this).parent();\n }\n );\n $('.store-locator-container .store-finder-filters input[type=\"checkbox\"]').on('change', function (e) {\n search();\n });\n },\n\n changeRadius: function () {\n $('.store-locator-container .radius').change(function () {\n search();\n });\n },\n\n clearFilters: function () {\n $('.js-clear-all-filters').on('click', function (e) {\n e.preventDefault();\n $('.store-locator-container input[name=\"postalCode\"]').val('');\n $('.store-locator-container .store-finder-filters input[type=\"checkbox\"]').prop('checked', false);\n $('select[name=\"radius\"]').val($('select[name=\"radius\"] option:first').val());\n search();\n });\n },\n\n selectStore: function () {\n $('.store-locator-container').on('click', '.select-store', (function (e) {\n e.preventDefault();\n var selectedStore = $('.store-locator-container .select-store-input:checked');\n var data = {\n storeID: selectedStore.val(),\n searchRadius: $('#radius').val(),\n searchPostalCode: $('.results').data('search-key').postalCode,\n storeDetailsHtml: selectedStore.siblings('label').find('.store-details').html(),\n event: e\n };\n $('body').trigger('store:selected', data);\n }));\n },\n\n updateSelectStoreButton: function () {\n $('body').on('change', '.select-store-input', (function () {\n $('.select-store').prop('disabled', false);\n }));\n }\n};\n","/* global google */\n'use strict';\n\nconst urlUtils = require('../util/urlUtils');\n\n/**\n * Fits the map bounds to the given bounds.\n * @param {Object} map - The Google map instance.\n * @param {Object} mapdiv - The map div element.\n * @param {Object} bounds - The bounds to fit.\n */\nfunction fitBounds(map, mapdiv, bounds) {\n if (mapdiv && mapdiv.length !== 0) {\n map.fitBounds(bounds);\n }\n}\n\n/**\n * Creates a marker on the map.\n * @param {Object} map - The Google map instance.\n * @param {Object} item - The item containing marker data.\n * @param {Object} position - The position of the marker.\n * @param {string} key - The key for the marker.\n * @returns {Object} The created marker.\n */\nfunction createMarker(map, item, position, key) {\n var marker;\n if (item.icon.imageURL) {\n var iconImage = document.createElement(\"img\");\n iconImage.src = item.icon.imageURL;\n\n marker = new google.maps.marker.AdvancedMarkerElement({\n map: map,\n position: position,\n content: iconImage\n });\n } else {\n var priceTag = document.createElement(\"div\");\n priceTag.className = \"store-locator__map-marker\";\n priceTag.textContent = Number(key) + 1;\n\n marker = new google.maps.marker.AdvancedMarkerElement({\n map: map,\n position: position,\n content: priceTag\n });\n }\n return marker;\n}\n\n/**\n * Adds markers to the map.\n * @param {Object} map - The Google map instance.\n * @param {Object} mapdiv - The map div element.\n * @param {Object} infowindow - The info window instance.\n * @param {Object} bounds - The bounds to extend.\n */\nfunction addMarkers(map, mapdiv, infowindow, bounds) {\n Object.keys(mapdiv).forEach(function (key) {\n var item = mapdiv[key];\n var position = new google.maps.LatLng(item.latitude, item.longitude);\n var marker = createMarker(map, item, position, key);\n\n marker.addListener('click', function () {\n infowindow.setOptions({\n content: item.infoWindowHtml\n });\n infowindow.open(map, marker);\n });\n bounds.extend(marker.position);\n });\n}\n\n/**\n * Initializes the Google map.\n * @returns {Object} The initialized map instance.\n */\nfunction initializeMap() {\n var latlng = new google.maps.LatLng(37.09024, -95.712891);\n var mapSettings = [\n {\n featureType: \"poi\",\n stylers: [\n { visibility: \"off\" }\n ]\n }\n ];\n\n var map = new google.maps.Map($('.map-canvas')[0], {\n scrollwheel: false,\n zoom: 4,\n center: latlng,\n mapId: 'default'\n });\n map.mapTypes.set('default', new google.maps.StyledMapType(mapSettings));\n\n return map;\n}\n\n/**\n * Adds a debug circle to the map.\n * @param {Object} map - The Google map instance.\n * @param {Object} data - The data containing search key and radius.\n */\nfunction addDebugCircle(map, data) {\n var urlParameters = urlUtils.getQueryParams(window.location.href);\n if (urlParameters.has('showRadius')) {\n var center = {\n lat: data.searchKey.lat,\n lng: data.searchKey.long\n }\n var radius = parseFloat(data.radius) * 1609.34 // radius in meters\n\n if (center.lat && center.lng && radius) {\n const circle = new google.maps.Circle({\n strokeColor: \"#c8102e\",\n strokeOpacity: 0.8,\n strokeWeight: 2,\n fillColor: \"#D3D3D3\",\n fillOpacity: 0.35,\n map: map,\n center: center,\n radius: radius\n });\n const centerMarker = new google.maps.marker.AdvancedMarkerElement({\n position: center,\n map: map,\n title: \"Current Location\"\n });\n\n const circleBounds = circle.getBounds();\n map.fitBounds(circleBounds);\n }\n }\n}\n\n/**\n * Main function to initialize and display the map with markers.\n * @param {Object} [data] - The data containing locations and search key.\n */\nfunction updateMap(data) {\n const $mapDiv = $('.map-canvas');\n\n if ($mapDiv.data('has-google-api')) {\n var infowindow = new google.maps.InfoWindow();\n var mapdiv = data && data.locations ? JSON.parse(data.locations) : [];\n var bounds = new google.maps.LatLngBounds();\n var map = initializeMap();\n\n if (data && data.searchKey.lat && data.searchKey.long) {\n addMarkers(map, mapdiv, infowindow, bounds);\n fitBounds(map, mapdiv, bounds);\n addDebugCircle(map, data);\n }\n } else {\n $('.store-locator-no-apiKey').show();\n }\n}\n\nmodule.exports = {\n updateMap: updateMap\n}\n","/**\n * @function\n * @description Checks if current screen size breakpoint matches with the needed\n * @param {string} breakpoints size name to check\n * @returns {boolean} breakpoints match result\n */\nmodule.exports = function (breakpoints) {\n var screenSize = '';\n var matches = false;\n\n if (window.getComputedStyle) {\n // get screen size as defined in _grid-settings.scss\n screenSize = getComputedStyle(document.querySelector('body'), ':after').content.replace(/[^a-z-]/ig, '');\n matches = (breakpoints.indexOf(screenSize) >= 0 || !screenSize);\n }\n\n return matches;\n};\n","'use strict';\n\nfunction getQueryParams(url) {\n const urlParts = url.split('?'); // Split the URL into [baseUrl, queryString]\n return new URLSearchParams(urlParts[1] || ''); // If no query string, it's empty\n}\n\n/**\n * Adds parameters to the url\n * @param {string} url - base url either with or without parameters\n * @param {Object} params - key value pair to add as parameters to the url\n * @returns {string} full url string with parameters\n */\nfunction addQueryParams(url, params) {\n const urlParts = url.split('?'); // Split the URL into [baseUrl, queryString]\n const baseUrl = urlParts[0];\n\n // Parse the existing query string into an object\n let queryParams = getQueryParams(url);\n\n // Add new parameters (or update existing ones)\n $.each(params, function (key, value) {\n queryParams.set(key, value); // Adds or updates the parameter\n });\n\n // Rebuild the full URL\n return baseUrl + '?' + queryParams.toString();\n}\n\nmodule.exports = {\n addQueryParams: addQueryParams,\n getQueryParams: getQueryParams\n};\n","'use strict';\n\nvar processInclude = require('base/util');\n\nwindow.initMap = function () {\n processInclude(require('./services/google'));\n};\n\nwindow.initStoreLocator = function () {\n processInclude(require('./storeLocator'));\n};\n"],"names":["GeolocationModel","position","error","getGeolocation","Promise","resolve","geolocationModel","navigator","module","autocomplete","address1Field","postalField","fillInAddress","place","address1","postcode","component","componentType","document","initAutocomplete","$","google","autocompleteFormField","autocompleteForm","processInclude","require","matchBreakpoints","keyboardAccessibility","geolocationService","storeLocatorMap","setDetectLocationState","isError","baseClass","setGeolocationFields","geolocationResult","setSearchFormFields","object","isNaN","parseInt","updateStoresResults","data","$resultsDiv","$redWingStoreDiv","hasResults","$scrollElement","search","keySearchFields","dialog","spinner","$form","url","payload","dectectLocation","originalData","history","window","e","selectedStore","urlUtils","fitBounds","map","mapdiv","bounds","createMarker","item","key","marker","iconImage","priceTag","Number","addMarkers","infowindow","Object","initializeMap","latlng","mapSettings","addDebugCircle","urlParameters","center","radius","parseFloat","circle","centerMarker","circleBounds","updateMap","$mapDiv","JSON","breakpoints","screenSize","matches","getComputedStyle","getQueryParams","urlParts","URLSearchParams","addQueryParams","params","baseUrl","queryParams","value"],"mappings":";;;;AAAa;;AAEb;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;AChBa;;AAEb,cAAc;AACd;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;;;;;ACZa;AAEb,MAAMA;IASF;;;KAGC,GACD,eAAeC,QAAQ,EAAE;QACrB,IAAI,CAAC,QAAQ,GAAGA,SAAS,MAAM,CAAC,QAAQ;QACxC,IAAI,CAAC,SAAS,GAAGA,SAAS,MAAM,CAAC,SAAS;QAC1C,IAAI,CAAC,YAAY,GAAG;QACpB,IAAI,CAAC,KAAK,GAAG;IACjB;IAEA;;;KAGC,GACD,SAASC,KAAK,EAAE;QACZ,IAAI,CAAC,KAAK,GAAG;QACb,OAAQA,MAAM,IAAI;YACd,KAAKA,MAAM,iBAAiB;gBACxB,IAAI,CAAC,YAAY,GAAG;gBACpB;YACJ,KAAKA,MAAM,oBAAoB;gBAC3B,IAAI,CAAC,YAAY,GAAG;gBACpB;YACJ,KAAKA,MAAM,OAAO;gBACd,IAAI,CAAC,YAAY,GAAG;gBACpB;YACJ,KAAKA,MAAM,aAAa;gBACpB,IAAI,CAAC,YAAY,GAAG;gBACpB;QACR;IACJ;IAEA,kBAAkB;QACd,IAAI,CAAC,KAA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