Submit
Path:
~
/
home
/
getwphos
/
www
/
techniquetechs
/
wp-content
/
plugins
/
woocommerce
/
assets
/
js
/
frontend
/
File Content:
geolocation.min.js
jQuery(function(e){var t=!1;var o,a=function(){t&&e('a[href^="'+wc_geolocation_params.home_url+'"]:not(a[href*="v="]), a[href^="/"]:not(a[href*="v="])').each(function(){var o=e(this),a=o.attr("href"),n=a.split("#");a=(a=n[0]).indexOf("?")>0?a+"&v="+t:a+"?v="+t,"undefined"!=typeof n[1]&&null!==n[1]&&(a=a+"#"+n[1]),o.attr("href",a)})},n={url:wc_geolocation_params.wc_ajax_url.toString().replace("%%endpoint%%","get_customer_location"),type:"GET",success:function(e){e.success&&e.data.hash&&e.data.hash!==t&&c(e.data.hash)}},c=function(e){Cookies.set("woocommerce_geo_hash",e,{expires:1/24});const t=new URL(window.location).searchParams;t.get("v")!==e&&(t.set("v",e),window.location.search="?"+t.toString())};("string"!=typeof(o=Cookies.get("woocommerce_geo_hash"))||!o.length||(t=o,0)||t&&new URLSearchParams(window.location.search).get("v")!==t)&&e.ajax(n),t&&e("form").each(function(){var o=e(this),a=o.attr("method"),n=o.find('input[name="v"]').length>0;if(a&&"get"===a.toLowerCase()&&!n)o.append('<input type="hidden" name="v" value="'+t+'" />');else{var c=o.attr("action");c&&(c.indexOf("?")>0?o.attr("action",c+"&v="+t):o.attr("action",c+"?v="+t))}}),a(),e(document.body).on("added_to_cart",function(){a()}),e(document.body).on("woocommerce_append_geo_hashes",function(){a()})});
Submit
FILE
FOLDER
Name
Size
Permission
Action
account-i18n.js
712 bytes
0644
account-i18n.min.js
179 bytes
0644
add-payment-method.js
1415 bytes
0644
add-payment-method.min.js
905 bytes
0644
add-to-cart-variation.js
30253 bytes
0644
add-to-cart-variation.min.js
14751 bytes
0644
add-to-cart.js
8414 bytes
0644
add-to-cart.min.js
4035 bytes
0644
address-i18n.js
5053 bytes
0644
address-i18n.min.js
2750 bytes
0644
cart-fragments.js
5639 bytes
0644
cart-fragments.min.js
2939 bytes
0644
cart.js
19717 bytes
0644
cart.min.js
9318 bytes
0644
checkout.js
30752 bytes
0644
checkout.min.js
17547 bytes
0644
country-select.js
6367 bytes
0644
country-select.min.js
3494 bytes
0644
credit-card-form.js
588 bytes
0644
credit-card-form.min.js
518 bytes
0644
geolocation.js
3845 bytes
0644
geolocation.min.js
1286 bytes
0644
lost-password.js
159 bytes
0644
lost-password.min.js
132 bytes
0644
order-attribution.js
6700 bytes
0644
order-attribution.min.js
2356 bytes
0644
password-strength-meter.js
4216 bytes
0644
password-strength-meter.min.js
2190 bytes
0644
price-slider.js
3065 bytes
0644
price-slider.min.js
2138 bytes
0644
single-product.js
16118 bytes
0644
single-product.min.js
9452 bytes
0644
tokenization-form.js
3841 bytes
0644
tokenization-form.min.js
2264 bytes
0644
woocommerce.js
6513 bytes
0644
woocommerce.min.js
3804 bytes
0644
wp-consent-api-integration.js
727 bytes
0644
wp-consent-api-integration.min.js
435 bytes
0644
N4ST4R_ID | Naxtarrr