https://vakcinas.lv/wp-includes/js/imagesloaded.min.js
var breeze_prefetch = {"local_url":"https://vakcinas.lv/en","ignore_remote_prefetch":"1","ignore_list":["/grozs/","/en/grozs","/pasutijuma-noformesana/","/en/pasutijuma-noformesana","/mans-konts/","/en/mans-konts","wp-admin","wp-login.php"]};
//# sourceURL=breeze-prefetch-js-extra
https://vakcinas.lv/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://vakcinas.lv/wp-content/plugins/woocommerce/assets/js/photoswipe/photoswipe.min.js
https://vakcinas.lv/wp-content/plugins/woocommerce/assets/js/photoswipe/photoswipe-ui-default.min.js
var wc_single_product_params = {"i18n_required_rating_text":"Please select a rating"","i18n_rating_options":[""1 of 5 stars"",""2 of 5 stars"",""3 of 5 stars"",""4 of 5 stars"",""5 of 5 stars""],"i18n_product_gallery_trigger_text":""View full-screen image gallery"","review_rating_required":"yes","flexslider":{"rtl":false,"animation":"slide","smoothHeight":true,"directionNav":false,"controlNav":"thumbnails","slideshow":false,"animationSpeed":500,"animationLoop":false,"allowOneSlide": false},"zoom_enabled":"1","zoom_options":[],"photoswipe_enabled":"1","photoswipe_options":{"shareEl":false,"closeOnScroll":false,"history":false,"hideAnimationDuration":0,"showAnimationDuration":0},"flexslider_enabled":"1"}; //# sourceURL=wc-single-product-js-extra
https://vakcinas.lv/wp-content/plugins/woocommerce/assets/js/frontend/single-product.min.js
https://vakcinas.lv/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js
var woocommerce_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"https://vakcinas.lv/en/?wc-ajax=%%endpoint%%","i18n_password_show":"Show password"","i18n_password_hide":""Hide password""}; //# sourceURL=woocommerce-js-extra
https://vakcinas.lv/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js
https://vakcinas.lv/wp-content/plugins/translatepress-multilingual/assets/js/trp-frontend-compatibility.js
Skip to content
RUDAPLAST 5 m fabric fixing tape
document.addEventListener('DOMContentLoaded', function () {
document.querySelectorAll('.quantity').forEach(function (wrapper) {
const input = wrapper.querySelector('.qty');
const qtyWrapper = wrapper.closest('.qty-wrapper');
// Pārvieto pogas iekš .quantity
const minus = qtyWrapper.querySelector('.qty-btn.minus');
const plus = qtyWrapper.querySelector('.qty-btn.plus');
wrapper.prepend(minus);
wrapper.append(plus);
[minus, plus].forEach(function (button) {
button.addEventListener('click', function () {
let currentValue = parseInt(input.value);
if (button.classList.contains('plus')) {
input.value = currentValue + 1;
} else if (button.classList.contains('minus') && currentValue > 1) {
input.value = currentValue - 1;
}
input.dispatchEvent(new Event('change'));
});
});
});
});
jQuery(document).ready(function($) {
function restructureCartBtn() {
var $btn = $('button.single_add_to_cart_button');
if ($btn.length && !$btn.hasClass('btn-restructured')) {
var text = $btn.text().trim();
$btn.html(
'<span class="btn-text">'' + text + ''</span>' +
'<span class="btn-icon">' +
'<svg width="22" height="22" viewbox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">' +
'<path d="M4.54141 3.09722H20.875L18.6528 10.875H5.73801M19.7639 15.3194H6.43056L4.20833 0.875H0.875M7.54167 19.7639C7.54167 20.3776 7.0442 20.875 6.43056 20.875C5.81691 20.875 5.31944 20.3776 5.31944 19.7639C5.31944 19.1502 5.81691 18.6528 6.43056 18.6528C7.0442 18.6528 7.54167 19.1502 7.54167 19.7639ZM19.7639 19.7639C19.7639 20.3776 19.2664 20.875 18.6528 20.875C18.0391 20.875 17.5417 20.3776 17.5417 19.7639C17.5417 19.1502 18.0391 18.6528 18.6528 18.6528C19.2664 18.6528 19.7639 19.1502 19.7639 19.7639Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/>' +
'</svg>' +
'</span>'
).addClass('btn-restructured');
}
}
restructureCartBtn();
$(document).on('found_variation', function() {
restructureCartBtn();
});
});
document.addEventListener("DOMContentLoaded", function() { window.addEventListener("scroll", appear); function appear(){ if (document.documentElement.scrollTop > 300) { document.getElementById("top").style.display = "flex"; } else { document.getElementById("top").style.display = "none"; } }; document.getElementById("top").addEventListener("click", top); function top(){ window.scrollTo({ top: 0, behavior: "smooth" }); }; });
(function () {
var c = document.body.className;
c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
document.body.className = c;
})();
var trp_data = {"trp_custom_ajax_url":"https://vakcinas.lv/wp-content/plugins/translatepress-multilingual/includes/trp-ajax.php","trp_wp_ajax_url":"https://vakcinas.lv/wp-admin/admin-ajax.php","trp_language_to_query":"en_US","trp_original_language":"lv","trp_current_language":"en_US","trp_skip_selectors":["[data-no-translation]","[data-no-dynamic-translation]","[data-trp-translate-id-innertext]","script","style","head","trp-span","translate-press","#billing_country","#shipping_country","#billing_state","#shipping_state","#select2-billing_country-results","#select2-billing_state-results","#select2-shipping_country-results","#select2-shipping_state-results","[data-trp-translate-id]","[data-trpgettextoriginal]","[data-trp-post-slug]"],"trp_base_selectors":["data-trp-translate-id","data-trpgettextoriginal","data-trp-post-slug"],"trp_attributes_selectors":{"text":{"accessor":"outertext","attribute":false},"block":{"accessor":"innertext","attribute":false},"image_src":{"selector":"img[src]","accessor":"src","attribute":true},"submit":{"selector":"input[type='submit'],input[type='button'], input[type='reset']","accessor":"value","attribute":true},"placeholder":{"selector":"input[placeholder],textarea[placeholder]","accessor":"placeholder","attribute":true},"title":{"selector":"[title]","accessor":"title","attribute":true},"a_href":{"selector":"a[href]","accessor":"href","attribute":true},"button":{"accessor":"outertext","attribute":false},"option":{"accessor":"innertext","attribute":false},"aria_label":{"selector":"[aria-label]","accessor":"aria-label","attribute":true},"video_src":{"selector":"video[src]","accessor":"src","attribute":true},"video_poster":{"selector":"video[poster]","accessor":"poster","attribute":true},"video_source_src":{"selector":"video source[src]","accessor":"src","attribute":true},"audio_src":{"selector":"audio[src]","accessor":"src","attribute":true},"audio_source_src":{"selector":"audio source[src]","accessor":"src","attribute":true},"picture_image_src":{"selector":"picture image[src]","accessor":"src","attribute":true},"picture_source_srcset":{"selector":"picture source[srcset]","accessor":"srcset","attribute":true},"image_alt":{"selector":"img[alt]","accessor":"alt","attribute":true},"meta_desc":{"selector":"meta[name=\"description\"],meta[property=\"og:title\"],meta[property=\"og:description\"],meta[property=\"og:site_name\"],meta[property=\"og:image:alt\"],meta[name=\"twitter:title\"],meta[name=\"twitter:description\"],meta[name=\"twitter:image:alt\"],meta[name=\"DC.Title\"],meta[name=\"DC.Description\"],meta[property=\"article:section\"],meta[property=\"article:tag\"]","accessor":"content","attribute":true},"page_title":{"selector":"title","accessor":"innertext","attribute":false},"meta_desc_img":{"selector":"meta[property=\"og:image\"],meta[property=\"og:image:secure_url\"],meta[name=\"twitter:image\"]","accessor":"content","attribute":true}},"trp_attributes_accessors":["outertext","innertext","src","value","placeholder","title","href","aria-label","poster","srcset","alt","content"],"gettranslationsnonceregular":"b23737fea2","showdynamiccontentbeforetranslation":"","skip_strings_from_dynamic_translation":[],"skip_strings_from_dynamic_translation_for_substrings":{"href":["amazon-adsystem","googleads","g.doubleclick"]},"duplicate_detections_allowed":"100","trp_translate_numerals_opt":"no","trp_no_auto_translation_selectors":["[data-no-auto-translation]"]};
//# sourceURL=trp-dynamic-translator-js-extra
https://vakcinas.lv/wp-content/plugins/translatepress-multilingual/assets/js/trp-translate-dom-changes.js
https://vakcinas.lv/wp-includes/js/underscore.min.js
var _wpUtilSettings = {"ajax":{"url":"/wp-admin/admin-ajax.php"}};
//# sourceURL=wp-util-js-extra
https://vakcinas.lv/wp-includes/js/wp-util.min.js
https://vakcinas.lv/wp-content/plugins/jet-search/assets/lib/jet-plugins/jet-plugins.js
https://vakcinas.lv/wp-content/plugins/jet-search/assets/js/jet-search.js
https://vakcinas.lv/wp-includes/js/imagesloaded.min.js
https://vakcinas.lv/wp-content/plugins/woocommerce/assets/js/sourcebuster/sourcebuster.min.js
var wc_order_attribution = {"params":{"lifetime":1.0000000000000000818030539140313095458623138256371021270751953125e-5,"session":30,"base64":false,"ajaxurl":"https://vakcinas.lv/wp-admin/admin-ajax.php","prefix":"wc_order_attribution_","allowTracking":true},"fields":{"source_type":"current.typ","referrer":"current_add.rf","utm_campaign":"current.cmp","utm_source":"current.src","utm_medium":"current.mdm","utm_content":"current.cnt","utm_id":"current.id","utm_term":"current.trm","utm_source_platform":"current.plt","utm_creative_format":"current.fmt","utm_marketing_tactic":"current.tct","session_entry":"current_add.ep","session_start_time":"current_add.fd","session_pages":"session.pgs","session_count":"udata.vst","user_agent":"udata.uag"}};
//# sourceURL=wc-order-attribution-js-extra
https://vakcinas.lv/wp-content/plugins/woocommerce/assets/js/frontend/order-attribution.min.js
var wc_cart_fragments_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"https://vakcinas.lv/en/?wc-ajax=%%endpoint%%","cart_hash_key":"wc_cart_hash_49f33aa5393fbbc40b58bae7c5934d11","fragment_name":"wc_fragments_49f33aa5393fbbc40b58bae7c5934d11","request_timeout":"5000"};
//# sourceURL=wc-cart-fragments-js-extra
https://vakcinas.lv/wp-content/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js
https://vakcinas.lv/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js