1(function($){'use strict';$(document).ready(function(){var currencySwitcherList=$('ul#currency-switcher-list');if(currencySwitcherList.length>0){var currencySwitcherForm=$('#currency-switcher-form');var currencySwitcherOptions={success:function(ajax_response,statusText,xhr,$form){var response=$.parseJSON(ajax_response);if(response.success){var clearCachedURL='';var randNumber=Math.round(Math.random()*1000000);var baseURL=window.location.origin+window.location.pathname;if(window.location.search){var queryString=window.location.search;var parameters=new URLSearchParams(queryString);if(parameters.get('switch-currency')){parameters.set('switch-currency',randNumber);clearCachedURL=baseURL+'?'+parameters.toString()}else{clearCachedURL=baseURL+window.location.search+'&switch-currency='+randNumber}}else{clearCachedURL=baseURL+'?switch-currency='+randNumber} 2window.location.replace(clearCachedURL)}else{console.log(response)}}};$('#currency-switcher-list > li').on('click',function(event){currencySwitcherList.fadeOut(200);
2$('.rh_wrapper_currency_switcher').removeClass('open');$('#currency-switcher').removeClass('parent_open');var selectedCurrencyCode=$(this).data('currency-code');if(selectedCurrencyCode){$('#selected-currency .currency_text').html(selectedCurrencyCode);$('#selected-currency i').attr('class','currency-flag currency-flag-'+selectedCurrencyCode.toLowerCase());$('#switch-to-currency').val(selectedCurrencyCode);currencySwitcherForm.ajaxSubmit(currencySwitcherOptions)}});$('body').on('click','#currency-switcher',function(e){$('.rh_wrapper_currency_switcher').toggleClass('parent_open');$(this).toggleClass('open');if($(this).hasClass('open')){currencySwitcherList.fadeIn(200)}else{currencySwitcherList.fadeOut(200)} 3e.stopPropagation()});$('html').on('click',function(){$('.rh_wrapper_currency_switcher').removeClass('parent_open');$('html #currency-switcher').removeClass('open');currencySwitcherList.fadeOut(200)})}})})(jQuery)
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.