https://homecostore.com/wp-includes/js/jquery/jquery.min.js
https://homecostore.com/wp-includes/js/jquery/jquery-migrate.min.js
https://homecostore.com/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js
var wc_cart_fragments_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"/?wc-ajax=%%endpoint%%","cart_hash_key":"wc_cart_hash_60676be17c27f019f9680c79c5080960","fragment_name":"wc_fragments_60676be17c27f019f9680c79c5080960","request_timeout":"5000"};
//# sourceURL=wc-cart-fragments-js-extra
https://homecostore.com/wp-content/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js
https://homecostore.com/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js
var wc_add_to_cart_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"/?wc-ajax=%%endpoint%%","i18n_view_cart":"View cart","cart_url":"https://homecostore.com/cart/","is_cart":"","cart_redirect_after_add":"no"};
//# sourceURL=wc-add-to-cart-js-extra
https://homecostore.com/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js
https://homecostore.com/wp-content/plugins/woocommerce/assets/js/zoom/jquery.zoom.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":"","photoswipe_options":{"shareEl":false,"closeOnScroll":false,"history":false,"hideAnimationDuration":0,"showAnimationDuration":0},"flexslider_enabled":"1"};
//# sourceURL=wc-single-product-js-extra
https://homecostore.com/wp-content/plugins/woocommerce/assets/js/frontend/single-product.min.js
var woocommerce_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"/?wc-ajax=%%endpoint%%","i18n_password_show":"Show password","i18n_password_hide":"Hide password"};
//# sourceURL=woocommerce-js-extra
https://homecostore.com/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js
https://homecostore.com/wp-content/plugins/js_composer/assets/js/vendors/woocommerce-add-to-cart.js
var wcpayAssets = {"url":"https://homecostore.com/wp-content/plugins/woocommerce-payments/dist/"};
//# sourceURL=WCPAY_ASSETS-js-extra
https://homecostore.com/wp-includes/js/underscore.min.js
var _wpUtilSettings = {"ajax":{"url":"/wp-admin/admin-ajax.php"}};
//# sourceURL=wp-util-js-extra
https://homecostore.com/wp-includes/js/wp-util.min.js
var wc_add_to_cart_variation_params = {"wc_ajax_url":"/?wc-ajax=%%endpoint%%","i18n_no_matching_variations_text":"Sorry, no products matched your selection. Please choose a different combination.","i18n_make_a_selection_text":"Please select some product options before adding this product to your cart.","i18n_unavailable_text":"Sorry, this product is unavailable. Please choose a different combination.","i18n_reset_alert_text":"Your selection has been reset. Please select some product options before adding this product to your cart."};
//# sourceURL=wc-add-to-cart-variation-js-extra
https://homecostore.com/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js
jQuery(document).ready(function ($) {
// lazy load
if ('') {
jQuery.extend(jQuery.lazyLoadXT, {
srcAttr: 'data-src',
visibleOnly: false,
updateEvent: 'load orientationchange resize scroll touchmove focus hover'
});
}// for all images on home/shop
if ('') {
setTimeout(function () {
cropImage();
}, 0);
}if ('')
cropImage('.fifu-slider');// for all images at single product page
setTimeout(function () {
resizeImg($);
jQuery('a.woocommerce-product-gallery__trigger').css('visibility', 'visible');
}, 2500);// hover effects
if ('')
addHoverEffect($);// woocommerce lightbox/zoom
disableClick($);
disableLink($);// lightbox
jQuery('div.woocommerce-product-gallery').on('mouseover', function () {
replace_lightbox_image_size_speedup();
replace_lightbox_image_size_flickr();
});
});jQuery(document).ajaxComplete(function ($) {
addHoverEffect($);
});jQuery(window).on('ajaxComplete', function () {
if ('') {
setTimeout(function () {
jQuery(window).lazyLoadXT();
}, 300);
}
});jQuery(window).on('load', function () {
jQuery('.flex-viewport').css('height', '100%');
});function addHoverEffect($) {
jQuery('.post-thumbnail, .featured-image > a > img').each(function (index) {
if ("")
jQuery(this).replaceWith('<div id="hover" class=""><div><figure>'.concat(jQuery(this).parent().html()).concat('</figure></div></div>'));
});jQuery('img.attachment-woocommerce_thumbnail').each(function (index) {
if (jQuery(this).parent().parent().html().search('woocommerce-LoopProduct-link') < 0)
return;
if ("")
jQuery(this).replaceWith('<div id="hover" class=""><div><figure>'.concat(jQuery(this).context.outerHTML).concat('</figure></div></div>'));
});
}function resizeImg($) {
var imgSelector = ".post img, .page img, .widget-content img, .product img, .wp-admin img, .tax-product_cat img, .fifu img";
var resizeImage = function (sSel) {
jQuery(sSel).each(function () {
//original size
var width = $(this)['0'].naturalWidth;
var height = $(this)['0'].naturalHeight;//100%
var src = jQuery(this)['0'].src;
if (src.includes('staticflickr.com') || src.includes('storage.googleapis.com/fifu')) {
var ratio = width / height;
jQuery(this).attr('data-large_image_width', jQuery(window).width() * ratio);
jQuery(this).attr('data-large_image_height', jQuery(window).width());
} else {
jQuery(this).attr('data-large_image_width', width);
jQuery(this).attr('data-large_image_height', height);
}
});
};
resizeImage(imgSelector);
}function cropImage(selector) {
if (!selector)
selector = "a.woocommerce-LoopProduct-link.woocommerce-loop-product__link, div[id^='post'] , .fifu-slider";ratio = "4:3";
ratio_w = ratio.split(':')[0];
ratio_h = ratio.split(':')[1];
// div.g1-frame-inner is for bimber theme
jQuery(selector).find('img, div.g1-frame-inner').each(function (index) {
var width = jQuery(this).parent().css('width').replace('px', '');
width = width != 0 ? width : jQuery(this).parent().parent().css('width').replace('px', '');
width = width != 0 ? width : jQuery(this).parent().parent().parent().css('width').replace('px', '');
jQuery(this).attr('style', 'height: ' + (width * ratio_h / ratio_w) + 'px !important');
jQuery(this).css('width', '100%');
jQuery(this).css('object-fit', 'cover');
});
}function disableClick($) {
if ('') {
jQuery('.woocommerce-product-gallery__image').each(function (index) {
jQuery(this).children().click(function () {
return false;
});
jQuery(this).children().children().css("cursor", "default");
});
}
}function disableLink($) {
if ('') {
jQuery('.woocommerce-product-gallery__image').each(function (index) {
jQuery(this).children().attr("href", "");
});
}
}jQuery(document).ajaxSuccess(function () {
if ('')
cropImage();
});// variable product
jQuery(document).ready(function ($) {
jQuery('.variations select').click(function () {
jQuery('a.woocommerce-product-gallery__trigger').css('visibility', 'hidden');
setTimeout(function () {
resizeImg($);
jQuery('a.woocommerce-product-gallery__trigger').css('visibility', 'visible');
}, 500);
});if ("1")
return;jQuery('.variations select').change(function () {
attribute = jQuery(this).attr('name');
value = jQuery(this).children("option:selected").val();
newUrl = '?';
var i = 0;
jQuery('.variations td.value select').each(function (index) {
if (jQuery(this)[0].value)
newUrl += jQuery(this)[0].name + "=" + jQuery(this)[0].value + "&";
i++;
});var count = (newUrl.match(/attribute_/g) || []).length;
if (count == i) {
jQuery('div.woocommerce-product-gallery').css('opacity', 0).css('transition', 'width 0s');
//jQuery.ajax({url: newUrl, async: true, success: function (result) {jQuery('body').html(result);}});
window.location.replace(newUrl);
} else {
jQuery('ol.flex-control-nav').css('opacity', 0).css('transition', 'width 0s');
}
});jQuery('.reset_variations').click(function () {
arr = window.location.href.split("?");
if (arr.length > 1)
window.location.replace(arr[0] + "#");
});
});//function fifu_get_image_html_api($post_id) {
// var html = null;
// var href = window.location.href;
// var index = href.indexOf('/wp-admin');
// var homeUrl = href.substring(0, index);
// jQuery.ajax({
// url: homeUrl + "/wp-json/fifu-premium/v1/url/" + $post_id,
// async: false,
// success: function (data) {
// html = data;
// },
// error: function (jqXHR, textStatus, errorThrown) {
// console.log(jqXHR);
// console.log(textStatus);
// console.log(errorThrown);
// }
// });
// return html;
//}function lightbox_size_auto(width, height, flickr) {
longest = width;if (width == height) {
if (longest <= 75)
return flickr ? '_s' : '75';
if (longest <= 150)
return flickr ? '_q' : '150';
}
if (longest <= 100)
return flickr ? '_t' : '100';
if (longest <= 240)
return flickr ? '_m' : '240';longest *= 0.9;if (longest <= 320)
return flickr ? '_n' : '320';
if (longest <= 500)
return flickr ? '' : '500';
if (longest <= 640)
return flickr ? '_z' : '640';
if (longest <= 800)
return flickr ? '_c' : '800';
return flickr ? '_b' : '1024';
}function replace_lightbox_image_size_speedup() {
selector = 'img[data-large_image*="storage.googleapis.com/fifu"]';
jQuery(selector).each(function (index) {
large_img = jQuery(this);
url = large_img.attr('data-large_image');
if (!url)
return;
width = lightbox_size_auto(window.innerWidth, window.innerHeight, false);
url = url.replace(/img.*/, 'img-' + width + '.webp');
jQuery(this).attr('data-large_image', url);
});
}function replace_lightbox_image_size_flickr() {
selector = 'img[data-large_image*="staticflickr.com"]';
jQuery(selector).each(function (index) {
large_img = jQuery(this);
url = large_img.attr('data-large_image');
if (!url)
return;
width = lightbox_size_auto(window.innerWidth, window.innerHeight, true);
url = url.replace(/(_.)*[.]jpg/, width + '.jpg');
jQuery(this).attr('data-large_image', url);
});
}
function setREVStartSize(e){
//window.requestAnimationFrame(function() {
window.RSIW = window.RSIW===undefined ? window.innerWidth : window.RSIW;
window.RSIH = window.RSIH===undefined ? window.innerHeight : window.RSIH;
try {
var pw = document.getElementById(e.c).parentNode.offsetWidth,
newh;
pw = pw===0 || isNaN(pw) || (e.l=="fullwidth" || e.layout=="fullwidth") ? window.RSIW : pw;
e.tabw = e.tabw===undefined ? 0 : parseInt(e.tabw);
e.thumbw = e.thumbw===undefined ? 0 : parseInt(e.thumbw);
e.tabh = e.tabh===undefined ? 0 : parseInt(e.tabh);
e.thumbh = e.thumbh===undefined ? 0 : parseInt(e.thumbh);
e.tabhide = e.tabhide===undefined ? 0 : parseInt(e.tabhide);
e.thumbhide = e.thumbhide===undefined ? 0 : parseInt(e.thumbhide);
e.mh = e.mh===undefined || e.mh=="" || e.mh==="auto" ? 0 : parseInt(e.mh,0);
if(e.layout==="fullscreen" || e.l==="fullscreen")
newh = Math.max(e.mh,window.RSIH);
else{
e.gw = Array.isArray(e.gw) ? e.gw : [e.gw];
for (var i in e.rl) if (e.gw[i]===undefined || e.gw[i]===0) e.gw[i] = e.gw[i-1];
e.gh = e.el===undefined || e.el==="" || (Array.isArray(e.el) && e.el.length==0)? e.gh : e.el;
e.gh = Array.isArray(e.gh) ? e.gh : [e.gh];
for (var i in e.rl) if (e.gh[i]===undefined || e.gh[i]===0) e.gh[i] = e.gh[i-1];
var nl = new Array(e.rl.length),
ix = 0,
sl;
e.tabw = e.tabhide>=pw ? 0 : e.tabw;
e.thumbw = e.thumbhide>=pw ? 0 : e.thumbw;
e.tabh = e.tabhide>=pw ? 0 : e.tabh;
e.thumbh = e.thumbhide>=pw ? 0 : e.thumbh;
for (var i in e.rl) nl[i] = e.rl[i]<window.RSIW ? 0 : e.rl[i];
sl = nl[0];
for (var i in nl) if (sl>nl[i] && nl[i]>0) { sl = nl[i]; ix=i;}
var m = pw>(e.gw[ix]+e.tabw+e.thumbw) ? 1 : (pw-(e.tabw+e.thumbw)) / (e.gw[ix]);
newh = (e.gh[ix] * m) + (e.tabh + e.thumbh);
}
var el = document.getElementById(e.c);
if (el!==null && el) el.style.height = newh+"px";
el = document.getElementById(e.c+"_wrapper");
if (el!==null && el) {
el.style.height = newh+"px";
el.style.display = "block";
}
} catch(e){
console.log("Failure at Presize of Slider:" + e)
}
//});
};
20oz White Daisy 3D look Tumbler
- These cups are created using a process called Sublimation- using heat and pressure to transfer ink onto the surface- this gives me the ability to create full color and HD designs.
- Comes with lid & straw
- Hand wash only.
- Not dishwasher or microwave safe
- Do not soak.
- Do not scrub.