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 basket.","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
var ajax_var_more = {"url":"https://drawinglife.art/wp-admin/admin-ajax.php","nonce":"5d71bdfd20","errorPass":"\u003Cp class=\"message message-error\"\u003EPassword does not match the confirm password\u003C/p\u003E","login":"Email Address","password":"Password","headerstyle":"default","reading_bar_pos":"footer","reading_bar_h":"5","carousel_e":"swing","slider_e":"creative","fcarousel_e":"swing","fslider_e":"creative","vfloat":"","vfloatp":"bottom-right","redirect_url":""};
//# sourceURL=main-scripts-js-extra
var ajax_var = {"url":"https://drawinglife.art/wp-admin/admin-ajax.php","nonce":"5d71bdfd20","errorPass":"\u003Cp class=\"message message-error\"\u003EPassword does not match the confirm password\u003C/p\u003E","login":"Email Address","password":"Password","headerstyle":"default","reading_bar_pos":"footer","reading_bar_h":"5","carousel_e":"swing","slider_e":"creative","fcarousel_e":"swing","fslider_e":"creative","vfloat":"","vfloatp":"bottom-right","redirect_url":""};
//# sourceURL=penci_ajax_like_post-js-extra
var penciwoo = {"ajaxUrl":"https://drawinglife.art/wp-admin/admin-ajax.php","nonce":"5d71bdfd20","shoppage":"https://drawinglife.art/shop/","checkout_url":"https://drawinglife.art/checkout/","checkout_text":"Check out","addtocart_jax":"","addtocart":"has been added to your cart","addtocompare":"has been added to compare","removecompare":"has been removed from compare","removewishlist":"has been removed from your wishlist","addwishlist":"has been added to your wishlist","browsewishlist":"Browse Wishlist","browsecompare":"Compare Products","returnshop":"Return to shop","allresults":"All results","relateproduct":"4","upsellproduct":"4","crosssellproduct":"4","catcolumns":"4","cartstyle":"side-right","quickshop":"0","cartnotify":"0","pagination":"pagination","ajaxshop":"1","scrolltotopajax":"1","pagination_ajax_threshold":"400","pagination_ajax_history":"0","pagination_ajax_title":"0","select2button":"1","wishlist_empty_heading":"Wishlist is empty.","wishlist_empty_text":"You don't have any products in the wishlist yet. \u003Cbr\u003E You will find a lot of interesting products on our \"Shop\" page.","compare_empty_heading":"Compare list is empty.","compare_empty_text":"No products added in the compare list. You must add some products to compare them.\u003Cbr\u003E You will find a lot of interesting products on our \"Shop\" page.","disable_mobile_autoscroll":"0","toast_notify":"0","toast_notify_position":"bottom-right","toast_notify_text_align":"left","toast_notify_transition":"slide","toast_notify_hide_after":"5000","toast_notify_bg_color":"","toast_notify_text_color":"","toast_notify_shop_url":"https://drawinglife.art/cart/","toast_notify_shop_sucess_text":"","toast_notify_shop_text":"View Cart","fullpanelposition":"side-right","search_input_padding":"true","countdown_days":"Day","countdown_hours":"Hours","countdown_mins":"Minutes","countdown_sec":"Seconds","wdgh":"275","wdgmh":"275","cart_hash_key":"wc_cart_hash_974bedc1eb66ff41dd5a351a883bd70e","fragment_name":"wc_fragments_974bedc1eb66ff41dd5a351a883bd70e","demo_mods":[]};
//# sourceURL=penci-woocommerce-js-extra
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
var windowOpen;
( function () {
function matches( el, sel ) {
return !! (
el.matches && el.matches( sel ) ||
el.msMatchesSelector && el.msMatchesSelector( sel )
);
}
document.body.addEventListener( 'click', function ( event ) {
if ( ! event.target ) {
return;
}
var el;
if ( matches( event.target, 'a.share-facebook' ) ) {
el = event.target;
} else if ( event.target.parentNode && matches( event.target.parentNode, 'a.share-facebook' ) ) {
el = event.target.parentNode;
}
if ( el ) {
event.preventDefault();
// If there's another sharing window open, close it.
if ( typeof windowOpen !== 'undefined' ) {
windowOpen.close();
}
windowOpen = window.open( el.getAttribute( 'href' ), 'wpcomfacebook', 'menubar=1,resizable=1,width=600,height=400' );
return false;
}
} );
} )();
var windowOpen;
( function () {
function matches( el, sel ) {
return !! (
el.matches && el.matches( sel ) ||
el.msMatchesSelector && el.msMatchesSelector( sel )
);
}
document.body.addEventListener( 'click', function ( event ) {
if ( ! event.target ) {
return;
}
var el;
if ( matches( event.target, 'a.share-x' ) ) {
el = event.target;
} else if ( event.target.parentNode && matches( event.target.parentNode, 'a.share-x' ) ) {
el = event.target.parentNode;
}
if ( el ) {
event.preventDefault();
// If there's another sharing window open, close it.
if ( typeof windowOpen !== 'undefined' ) {
windowOpen.close();
}
windowOpen = window.open( el.getAttribute( 'href' ), 'wpcomx', 'menubar=1,resizable=1,width=600,height=350' );
return false;
}
} );
} )();
//# sourceURL=sharing-js-js-after
(function () {
const iframe = document.getElementById( 'jetpack_remote_comment' );
const watchReply = function() {
// Check addComment._Jetpack_moveForm to make sure we don't monkey-patch twice.
if ( 'undefined' !== typeof addComment && ! addComment._Jetpack_moveForm ) {
// Cache the Core function.
addComment._Jetpack_moveForm = addComment.moveForm;
const commentParent = document.getElementById( 'comment_parent' );
const cancel = document.getElementById( 'cancel-comment-reply-link' );
function tellFrameNewParent ( commentParentValue ) {
const url = new URL( iframe.src );
if ( commentParentValue ) {
url.searchParams.set( 'replytocom', commentParentValue )
} else {
url.searchParams.delete( 'replytocom' );
}
if( iframe.src !== url.href ) {
iframe.src = url.href;
}
};
cancel.addEventListener( 'click', function () {
tellFrameNewParent( false );
} );
addComment.moveForm = function ( _, parentId ) {
tellFrameNewParent( parentId );
return addComment._Jetpack_moveForm.apply( null, arguments );
};
}
}
document.addEventListener( 'DOMContentLoaded', watchReply );
// In WP 6.4+, the script is loaded asynchronously, so we need to wait for it to load before we monkey-patch the functions it introduces.
document.querySelector('#comment-reply-js')?.addEventListener( 'load', watchReply );
const commentIframes = document.getElementsByClassName('jetpack_remote_comment');
window.addEventListener('message', function(event) {
if (event.origin !== 'https://jetpack.wordpress.com') {
return;
}
if (!event?.data?.iframeUniqueId && !event?.data?.height) {
return;
}
const eventDataUniqueId = event.data.iframeUniqueId;
// Change height for the matching comment iframe
for (let i = 0; i < commentIframes.length; i++) {
const iframe = commentIframes[i];
const url = new URL(iframe.src);
const iframeUniqueIdParam = url.searchParams.get('iframe_unique_id');
if (iframeUniqueIdParam == event.data.iframeUniqueId) {
iframe.style.height = event.data.height + 'px';
return;
}
}
});
})();
(function() {
window.wcAnalytics = window.wcAnalytics || {};
const wcAnalytics = window.wcAnalytics;
// Set the assets URL for webpack to find the split assets.
wcAnalytics.assets_url = 'https://drawinglife.art/wp-content/plugins/jetpack/jetpack_vendor/automattic/woocommerce-analytics/src/../build/';
// Set the REST API tracking endpoint URL.
wcAnalytics.trackEndpoint = 'https://drawinglife.art/wp-json/woocommerce-analytics/v1/track';
// Set common properties for all events.
wcAnalytics.commonProps = {"blog_id":172215764,"store_id":"126250f5-dc16-4b25-8568-4d1dd64df9c2","ui":null,"url":"https://drawinglife.art","woo_version":"10.4.4","wp_version":"6.9.4","store_admin":0,"device":"desktop","store_currency":"GBP","timezone":"Europe/London","is_guest":1};
// Set the event queue.
wcAnalytics.eventQueue = [];
// Features.
wcAnalytics.features = {
ch: false,
sessionTracking: false,
proxy: false,
};
wcAnalytics.breadcrumbs = ["Drawing","Drawing People and The Human Figure Gallery by Nab Zamali"];
// Page context flags.
wcAnalytics.pages = {
isAccountPage: false,
isCart: false,
};
})();