jQuery(document).ready(function(t){q.core._init()});var q=q||{};window.qdw=window.screen.width,window.qdr=qdw/1024,window.qdv=qdr<1?qdr<.5?"mobile":"tablet":"desktop",(qdt=new Date).setTime(qdt.getTime()+2592e6),document.cookie="device="+qdv+";expires="+qdt.toUTCString()+";path=/",q.core={binds:{select_switch:{_init:function(a){$(a).change(function(t){var e=$(a).val()||"";""!==e&&(window.location.href=e)})}},button_unlock:{_init:function(n){$(n).keyup(function(t){var e=$(n).data("target"),a=$(n).data("regexp"),a=new RegExp(a),i=$(n).prop("checked");a.test($(n).val())||i?$("."+e).removeClass("disabled").prop("disabled",!1):$("."+e).addClass("disabled").prop("disabled","disabled")}).change(function(t){var e=$(n).data("target"),a=$(n).prop("checked");$(n).is(":radio")&&(a?$("."+e).removeClass("disabled").prop("disabled",!1):$("."+e).addClass("disabled").prop("disabled","disabled"))})}},toggle:{_init:function(t,e){t.preventDefault();var t=$(e).data("target"),a=$(e).data("toggle-text-off")||"",i=$(e).data("toggle-text-on")||"";$("."+t).toggleClass("show"),""!==a&&""!==i&&($("."+t).hasClass("show")?$(e).find(".toggle-text").html(i):$(e).find(".toggle-text").html(a))}},cart:{iso:function(t){},add:function(t){var e=$(t).data("function"),a=$(t).data("isbn"),i=$(t).data("type")||"product",n=$(t).data("quantity")||1,c=$(t).data("quantity-source")||"",o=($(t).data("remove"),$(t).data("meta")||""),r={},d=!0;$(t).data("title");"add"===e&&(""!==o&&(o=o.split(","),$.each(o,function(t,e){e=$("$"+e);0<$(e).length&&(void 0!==$(e).data("required")&&""===$(e).val()&&(alert($(e).data("name")+" is a required field."),d=!1),r[$(e).data("name")]=$(e).val())})),""!==c&&(n=parseInt($("#"+c).val())),!0===d)&&q.core.feed.request("cart",{isbn:a,function:i,action:"add",quantity:n,meta:r},function(t){q.core.feed.success(t)?"product"===i?void 0===t.Error&&(q.core.common.modal.header("Item added to your cart"),q.core.common.modal.content((void 0!==t.Product.BackOrder?'<div style="text-align:center;background:#feb;border:solid 2px #f60;border-radius:10px;padding:10px;font-weight:bold;">Please be aware that this title is currently on Backorder at our supplier.<br /></div>':"")+'<ul class="cols"><li class="col col2"><div style="background:#efefef;padding:5px;border:solid 1pt #ccc;'+("mobile"===q.core.common.browser.device()?"margin:-15pt;margin-bottom:-10pt;":"")+'"><img src="'+t.Product.ImageThumb+'" height="100" class="left mr10"/><b>'+t.Product.Title+"</b><br /><i>"+t.Product.Authors+"</i><br />"+t.Product.Binding+'<br clear="both" /></div></li><li class="col col2"><b class="red">Cart Summary</b><br /><b style="float:left;display:inline-block;width:80px;margin-top:-2px;">'+q.core.common.string.plural("Item",t.Cart.Summary.Items)+":</b> "+t.Cart.Summary.Items+'<br /><b style="float:left;display:inline-block;width:80px;margin-top:-2px;">Sub Total:</b> '+q.core.common.string.money(t.Cart.Summary.SubTotal)+'<br /><b style="float:left;display:inline-block;width:80px;margin-top:-2px;">Shipping:</b> '+q.core.common.string.money(t.Cart.Summary.Shipping)+'<br /><b style="float:left;display:inline-block;width:80px;margin-top:-2px;">Delivery:</b> '+(void 0===t.Product.BackOrder?t.Delivery.Delivery+" "+q.core.common.string.plural("day",t.Delivery.Delivery)+'* <a href="/help/faqs/delivery/" target="_blank">estimated</a>':"Product on Backorder until "+t.Product.BackOrder)+'</li></ul><br clear="both" /><br />'+("mobile"===q.core.common.browser.device()?'<div style="position:absolute;bottom:5pt;margin:-5pt;padding:5pt;width:100%;"><button class="action right cart modal-checkout expand-100 mb5" data-function="checkout">Checkout</button><button class="dull left modal-continue expand-100">Continue Shopping</button></div>':'<button class="action right icon icon-chevron-right cart modal-checkout expand-25" data-function="checkout">Checkout</button><button class="dull left modal-continue expand-25" data-mobile-icon="chevron-left">Continue Shopping</button>')),q.core.common.modal._show()):window.location("/cart/"):void 0!==t.error&&"object"==typeof t.error.constructor&&$.each(t.error,function(t,e){})})},_init:function(t,e){switch(t.preventDefault(),$(e).data("function")||""){case"add":q.core.binds.cart.add(e);break;case"iso":q.core.binds.cart.iso(e);break;case"oos":q.core.binds.cart.oos(e)}},oos:function(t){}},character_limited:{_init:function(t){var a=$(t).data("limit")||0,i=$(t).data("summary")||"";0<a&&""!==i&&($(t).keydown(function(t){var e=$(this).val().length;return!(!t.ctrlKey||65!==t.keyCode&&67!==t.keyCode&&88!==t.keyCode)||(a<=e&&8!==t.keyCode&&17!==t.keyCode&&46!==t.keyCode?(t.preventDefault(),$(this).val($(this).val().toString().substring(0,a)),!1):void 0)}).keyup(function(t){var e=$(this).val().length;a<=e&&8!==t.keyCode&&17!==t.keyCode&&46!==t.keyCode&&($(this).val($(this).val().toString().substring(0,a)),e=a),$("."+i).html(e+" / "+a)}),t=$(t).val().length,$("."+i).html(t+" / "+a))}},checkbox_toggle:{_change:function(t,e){var a=$(e).data("target-group"),i=$(e).data("target-parent"),n=$(e).data("target-element");!0===($(e).data("unselectable")||!1)&&($("."+i).find("input[type=radio]").data("waschecked",!1),$(e).data("waschecked",!0)),$("."+a).hide(),$("."+n).show()},_click:function(t,e){var a=$(e).data("target-group"),i=$(e).data("target-element");!0===($(e).data("unselectable")||"false")&&!0===$(e).data("waschecked")&&($(e).data("waschecked",!1).prop("checked",!1),$("."+a).hide(),$("."+i).hide())},_init:function(t){$(t).change(function(t){q.core.binds.checkbox_toggle._change(t,this)}).click(function(t){q.core.binds.checkbox_toggle._click(t,this)})}},_init:function(){$(".button-unlock").each(function(t,e){q.core.binds.button_unlock._init(e)}),$(".cart-q").click(function(t){q.core.binds.cart._init(t,this)}),$(".character-limited").each(function(t,e){q.core.binds.character_limited._init(e)}),$(".checkbox-toggle").each(function(t,e){q.core.binds.checkbox_toggle._init(e)}),$(".select-switch").each(function(t,e){q.core.binds.select_switch._init(e)}),$(".sendto").click(function(t){q.core.binds.sendto._init(t,this)}),$(".toggle").click(function(t){q.core.binds.toggle._init(t,this)}),$(".google-analytics").each(function(){q.core.google.analytics.send(this)}),$(".google-analytics-event-click").off("click").click(function(t){q.core.google.analytics.send(this)}),$(".matomo-analytics").each(function(){q.core.matomo.analytics.send(this)}),$(".marketing-commissionfactory").each(function(){q.core.marketing.cf.send(this)}),$(".marketing-criteo").each(function(){q.core.marketing.cr.send(this)}),$(".marketing-crimtan-event").each(function(){q.core.marketing.ct.event.send(this)}),$(".marketing-emarsys-event").each(function(){q.core.marketing.em.event.send(this)}),$(".marketing-facebook-event").each(function(){q.core.marketing.fb.event.send(this)}),$(".search").each(function(){q.core.search._init(this)})},sendto:{_init:function(t,e){t.preventDefault();t=$(e).data("target")||"";""!==t&&(window.location.href=t)}}},customer:{logout:function(t){q.core.feed.request("club/logout",{},t)},login:function(t,e){q.core.feed.request("club/login",t,e)}},search:{category:{_init:function(e){var a=$(e).find(".search-category-remove"),i=$(e).find(".search-input");a&&$(a).click(function(t){t.preventDefault(),t.stopPropagation(),$(a).remove(),$(e).attr("action",$(a).attr("href")).removeClass("search-category"),$(i).focus()})}},_init:function(t){$(t).hasClass("search-category")&&q.core.search.category._init(t)}},common:{page:{scrollto:function(t,e){var a=$("BODY .page .header").innerHeight();return void 0!==t.parent().offset()&&(t=t.parent().offset().top-a-15,!1===e||t<e)?($("html, body").animate({scrollTop:t},100),t):0}},browser:{_cz:function(){var t=screen.height,e=screen.width,a=window.innerHeight;return e-window.innerWidth<0?"1":t-a<0?"1":"0"},device:function(){return"desktop"!==window.qdv&&$("#viewport").attr("content","initial-scale="+window.qdr+", maximum-scale="+window.qdr+", minimum-scale="+window.qdr+", user-scalable=yes, width="+window.qdw),window.qdv}},string:{guid:function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()},money:function(t){return"$"+(t=parseFloat(t)).toFixed(2)},plural:function(t,e){return t+(1!=e?"s":"")}},modal:{_hide:function(){$("#q_modal_overlay").css({display:"none"})},content:function(t){var e=$("#q_modal");0===$(e).length&&(e=q.core.common.modal._init()),$(e).find(".q_modal_content").html(t)},_show:function(){$("#q_modal_overlay").css({display:"flex"})},header:function(t){var e=$("#q_modal");0===$(e).length&&(e=q.core.common.modal._init()),$(e).find(".q_modal_header .q_modal_title").html(t)},_init:function(){var t=$("<div>"),e=$("<div>"),a=$("<div>"),i=$("<div>"),n=$("<div>"),c=$("<div>"),o=$("<div>");return $(n).addClass("q_modal_footer"),$(i).addClass("q_modal_content"),$(o).addClass("q_modal_close").html("&times;").click(function(t){q.core.common.modal._hide()}),$(c).addClass("q_modal_title"),$(a).addClass("q_modal_header").append(c,o),$(t).attr("id","q_modal"),$(e).attr("id","q_modal_overlay"),$(t).append(a,i,n),$(e).append(t).click(function(t){t.target===t.currentTarget&&q.core.common.modal._hide()}),$("body").append(e),t}}},address:{fill:function(t,i){$.each(t,function(t,e){var a="";$.isArray(e.source)?($.each(e.source,function(t,e){void 0!==i[e]&&null!==i[e]&&(a+=i[e]+" ")}),a=a.trim()):void 0!==i[e.source]&&(a=i[e.source]),$("."+e.target).val(a)})},autocomplete:{_init:function(a,i){var t;return i=i||function(){},void 0!==window.AddressFinder&&void 0!==a.target&&0<$("#"+a.target).length?(t=new AddressFinder.Widget(document.getElementById(a.target),"RD7HTY8LVG9JA4QBKWC6","AU",{address_params:{paf:1},max_results:5,location_params:{highlight:1},byline:!1})).on("result:select",function(t,e){q.core.address.fill(a.elements,e),i()}):t=!1,t}}},marketing:{ct:{event:{send:function(t){if("yes"===($(t).data("processing")||""))return!1;switch($(t).data("processing","yes"),window.ct_cart=[],void 0===window.ct&&(window.ct={cart:{cartOrderId:"",cartValue:"",eventType:"",products:[]}}),$(t).data("type")){case"cartview":window.ct.cart.eventType="cartView",window.ct.cart.meta={};break;case"categoryview":window.ct.cart.eventType="categoryPage",window.ct.cart.meta={};break;case"checkoutstart":window.ct.cart.cartOrderId="",window.ct.cart.eventType="checkoutStart",window.ct.cart.meta={};break;case"checkoutend":window.ct.cart.eventType="checkoutEnd",window.ct.cart.cartOrderId=$(t).data("orderid"),window.ct.cart.cartValue=$(t).data("ordervalue"),window.ct.cart.meta={};break;case"pageview":if(""!==window.ct.cart.eventType)return!1;window.ct.cart.eventType="pageView",window.ct.cart.meta={};break;case"product-add":window.ct.cart.eventType="addToCart",window.ct.cart.meta={};break;case"productview":window.ct.cart.eventType="productView",window.ct.cart.meta={},window.ct.cart.meta.product={sku:$(t).data("productsku")||"",rrp:$(t).data("productrrp")||0,sell:$(t).data("productsell")||0,quantity:1,title:$(t).data("producttitle")||"",author:$(t).data("productauthor")||"",category:$(t).data("productcategory")||""}}window.ct.cart.products=[],window.ct.cart.cartValue=0,$(t).find(".marketing-crimtan-cart DIV").each(function(t,e){window.ct.cart.cartValue+=$(e).data("sell")*$(e).data("quantity"),window.ct.cart.products.push({sku:$(e).data("sku")||"",rrp:$(e).data("rrp")||0,sell:$(e).data("sell")||0,quantity:parseInt($(e).data("quantity"))||0,title:$(e).data("title")||"",author:$(e).data("author")||"",category:$(e).data("category")||""})}),"undefined"!=typeof consenTag&&consenTag.trigger({event:"nextstep"}),"checkoutEnd"===window.ct.cart.eventType&&q.core.feed.request("marketing",{type:"crimtan",cart:JSON.stringify(window.ct)},function(t){console.log(t)})}}},cr:{send:function(t){var e=[],a=$(t).data("processing")||"";if(window.criteo_q=window.criteo_q||[],"yes"===a)return!1;switch($(t).data("processing","yes"),$(t).data("type")){case"cart":e=[],$(t).find(".marketing-criteo-list DIV").each(function(){void 0!==$(this).data("isbn")&&e.push({id:$(this).data("isbn"),price:$(this).data("price"),quantity:$(this).data("quantity")})}),window.criteo_q.push({event:"setAccount",account:$(t).data("account")},{event:"setCustomerId",id:$(t).data("customer")},{event:"setSiteType",type:$(t).data("sitetype")},{event:"setHashedEmail",email:$(t).data("hashed")},{event:"viewBasket",item:e});break;case"home":window.criteo_q.push({event:"setAccount",account:$(t).data("account")},{event:"setCustomerId",id:$(t).data("customer")},{event:"setSiteType",type:$(t).data("sitetype")},{event:"setHashedEmail",email:$(t).data("hashed")},{event:"viewHome"});break;case"listing":e=[],$(t).find(".marketing-criteo-list DIV").each(function(){void 0!==$(this).data("value")&&e.push($(this).data("value"))}),window.criteo_q.push({event:"setAccount",account:$(t).data("account")},{event:"setCustomerId",id:$(t).data("customer")},{event:"setSiteType",type:$(t).data("sitetype")},{event:"setHashedEmail",email:$(t).data("hashed")},{event:"viewList",item:e});break;case"product":window.criteo_q.push({event:"setAccount",account:$(t).data("account")},{event:"setCustomerId",id:$(t).data("customer")},{event:"setSiteType",type:$(t).data("sitetype")},{event:"setHashedEmail",email:$(t).data("hashed")},{event:"viewItem",item:$(t).data("isbn")});break;case"transaction":e=[],$(t).find(".marketing-criteo-list DIV").each(function(){void 0!==$(this).data("isbn")&&e.push({id:$(this).data("isbn"),price:$(this).data("price"),quantity:$(this).data("quantity")})}),window.criteo_q.push({event:"setAccount",account:$(t).data("account")},{event:"setCustomerId",id:$(t).data("customer")},{event:"setSiteType",type:$(t).data("sitetype")},{event:"setHashedEmail",email:$(t).data("hashed")},{event:"trackTransaction",id:$(t).data("id"),new_customer:$(t).data("new"),item:e})}}},em:{event:{send:function(t){var e,a="",i=[],n=[],c=$(t).data("processing")||"";if("undefined"==typeof ScarabQueue)return!1;if(void 0!==ScarabQueue&&void 0!==$(t).data("type")){if("yes"===c)return!1;switch($(t).data("processing","yes"),$(t).data("type")){case"pageview":void 0!==$(t).data("customeremail")&&ScarabQueue.push(["setEmail",$(t).data("customeremail")]),void 0!==$(t).data("productid")&&ScarabQueue.push(["view",$(t).data("productid").toString()+""]),void 0!==$(t).data("category")&&(a=(a=$(t).data("category")).replace(/ \/ /g," > "),ScarabQueue.push(["category",a]),$(t).data("productid")),void 0!==$(t).data("searchterm")&&ScarabQueue.push(["searchTerm",$(t).data("searchterm")]),0<$(t).find(".marketing-emarsys-event-cart DIV").length&&$(t).find(".marketing-emarsys-event-cart DIV").each(function(){i.push({item:$(this).data("isbn").toString()+"",price:parseFloat($(this).data("price")*parseInt($(this).data("quantity"))),quantity:parseInt($(this).data("quantity"))})}),ScarabQueue.push(["cart",i]),ScarabQueue.push(["go"]);break;case"purchase":void 0!==$(t).data("customeremail")&&ScarabQueue.push(["setEmail",$(t).data("customeremail")]),0<$(t).find(".marketing-emarsys-event-purchase DIV").length&&($(t).find(".marketing-emarsys-event-purchase DIV").each(function(){n.push({item:$(this).data("isbn").toString()+"",price:parseFloat($(this).data("price")*parseInt($(this).data("quantity"))),quantity:parseInt($(this).data("quantity"))})}),0<n.length)&&(e={orderId:$(t).data("orderid"),items:n},ScarabQueue.push(["cart",[]]),ScarabQueue.push(["purchase",e])),ScarabQueue.push(["go"])}}$(t).remove()}}},fb:{event:{send:function(t){var e=$(t).data("processing")||"",a=[];if("undefined"==typeof fbq)return!1;if("undefined"!=typeof fbq&&void 0!==$(t).data("type")){if("yes"===e)return!1;switch($(t).data("processing","yes"),$(t).data("type")){case"checkout-purchase":a=[],$(t).find(".marketing-facebook-data-products DIV").each(function(){a.push($(this).data("isbn"))}),fbq("track","Purchase",{value:$(t).data("revenue"),currency:"AUD",content_ids:a,content_type:"product"},{eventID:$(t).data("eventid")});break;case"pageview":fbq("track","PageView");break;case"product-add":fbq("track","AddToCart",{content_ids:[$(t).data("isbn")],content_type:"product"});break;case"product-detail":fbq("track","ViewContent",{content_ids:[$(t).data("isbn")],content_type:"product"})}}$(t).remove()}}},cf:{send:function(t){var e=$(t).data("processing")||"",a=!1;return void 0!==window.CommissionFactory&&"yes"!==e&&(a=window.CommissionFactory,$(t).data("processing","yes"),void("checkout-purchase"===$(t).data("type")&&(a("set","order",$(t).data("id")),a("set","amount",$(t).data("revenue")),a("set","currency","AUD"),a("set","customer",$(t).data("customer")),a("set","coupon",$(t).data("coupon")),$(t).find(".marketing-commissionfactory-data-products DIV").each(function(){a("add","item",{sku:$(this).data("isbn"),price:$(this).data("price"),quantity:$(this).data("quantity")})}),a("track"))))}}},matomo:{analytics:{send:function(t){var a=0;if(null==_paq)return!1;if(null!=_paq&&null!=$(t).data("type")){if(null!=$(t).data("processing"))return!1;switch($(t).data("processing","yes"),$(t).data("type")){case"cartadd":a=0,$(t).find(".matomocart DIV").each(function(t,e){a+=$(e).data("sell")*$(e).data("quantity"),_paq.push(["addEcommerceItem",$(e).data("sku"),$(e).data("title"),[$(e).data("category")],$(e).data("sell"),$(e).data("quantity")])}),_paq.push(["trackEcommerceCartUpdate",parseFloat(a)]);break;case"checkout-purchase":$(t).find(".matomo-analytics-data-products DIV").each(function(){_paq.push(["addEcommerceItem",$(this).data("isbn"),$(this).data("title"),[$(this).data("category")],$(this).data("sell"),$(this).data("quantity")])}),_paq.push(["trackEcommerceOrder",$(t).data("id"),$(t).data("revenue")+$(t).data("shipping"),$(t).data("revenue"),.1*($(t).data("revenue")+$(t).data("shipping")),$(t).data("shipping"),!1]);break;case"pageview":_paq.push(["setCustomUrl",location.pathname]),_paq.push(["setCustomVariable",1,"PB",q.core.common.browser._cz(),"visit"]),_paq.push(["trackPageView"]);break;case"productview":_paq.push(["setEcommerceView",$(t).data("isbn"),$(t).data("title"),[$(t).data("category")],$(t).data("price")]),_paq.push(["setCustomVariable",1,"PB",q.core.common.browser._cz(),"visit"]),_paq.push(["trackPageView"])}}null==$(t).data("stop")&&$(t).remove()}}},google:{analytics:{send:function(t){if("undefined"==typeof ga)return!1;if("undefined"==typeof gtag)return!1;var e=$(t).data("type")||"",a=$(t).data("processing")||"",i=$(t).data("stop")||"",n={};if(""!==e){if(""!==a)return!1;switch($(t).data("processing","yes"),e){case"banner":ga("send","event",{eventCategory:"Marketing",eventAction:"banner-"+$(t).data("action"),eventLabel:$(t).data("label"),transport:"beacon"});break;case"banner-slice":ga("send","event",{eventCategory:"Marketing",eventAction:"banner-slice-"+$(t).data("action"),eventLabel:$(t).data("label"),transport:"beacon"});break;case"checkout":n={currency:"AUD",value:0,items:[]},$(t).find(".google-analytics-data-products DIV").each(function(){ga("ec:addProduct",{id:$(this).data("isbn"),name:$(this).data("title"),price:parseFloat($(this).data("price")),quantity:parseInt($(this).data("quantity"))}),n.items.push({item_id:$(this).data("isbn"),item_name:$(this).data("title"),price:parseFloat($(this).data("price")),quantity:parseInt($(this).data("quantity"))}),n.value+=parseFloat($(this).data("price"))*parseInt($(this).data("quantity"))}),ga("ec:setAction","checkout",{step:$(t).data("step"),option:$(t).data("option")}),gtag("event","begin_checkout",n);break;case"checkout-purchase":n={transaction_id:$(t).data("id"),affiliation:$(t).data("affiliate"),value:parseFloat($(t).data("revenue"))+parseFloat($(t).data("shipping")),shipping:$(t).data("shipping"),currency:"AUD",items:[]},$(t).find(".google-analytics-data-products DIV").each(function(){ga("ec:addProduct",{id:$(this).data("isbn"),name:$(this).data("title"),price:parseFloat($(this).data("price")),quantity:parseInt($(this).data("quantity"))}),n.items.push({item_id:$(this).data("isbn"),item_name:$(this).data("title"),price:parseFloat($(this).data("price")),quantity:parseInt($(this).data("quantity"))})}),ga("ec:setAction","purchase",{id:$(t).data("id"),affiliation:$(t).data("affiliate"),revenue:$(t).data("revenue"),shipping:$(t).data("shipping")}),gtag("event","purchase",n);break;case"contact":ga("send","event",{eventCategory:"Contact",eventAction:$(t).data("action"),eventLabel:$(t).attr("href")||"",transport:"beacon"});break;case"event":ga("send","event",{eventCategory:$(t).data("category"),eventAction:$(t).data("action"),eventLabel:$(t).data("label")||"",transport:"beacon"});break;case"event2":ga("send","event",{eventCategory:$(t).data("category"),eventAction:$(t).data("action"),eventLabel:$(t).data("label"),transport:"beacon"});break;case"pageview":ga("set","page",location.pathname+location.search),ga("set","dimension1",q.core.common.browser._cz()),ga("send","pageview");break;case"product-add":n={currency:"AUD",value:0,items:[]},ga("ec:addProduct",{id:$(t).data("isbn"),name:$(t).data("title")}),ga("ec:setAction","add"),n.items.push({item_id:$(t).data("isbn"),item_name:$(t).data("title"),price:parseFloat($(t).data("price")),quantity:parseInt($(t).data("quantity"))}),n.value+=parseFloat($(t).data("price"))*parseInt($(t).data("quantity")),gtag("event","add_to_cart",n);break;case"product-detail":n={currency:"AUD",value:0,items:[]},ga("ec:addProduct",{id:$(t).data("isbn"),name:$(t).data("title")}),ga("ec:setAction","detail"),n.items.push({item_id:$(t).data("isbn"),item_name:$(t).data("title"),price:parseFloat($(t).data("price")),quantity:1}),n.value+=parseFloat($(t).data("price")),gtag("event","view_item",n)}}""===i&&$(t).remove()}},recaptcha:{_init:function(t,e){if(void 0===window.grecaptcha.render)return setTimeout(function(){q.core.google.recaptcha._init(t,e)},500),!1;1===$("#"+t).length&&window.grecaptcha.render(t,{sitekey:"6Lcv5WcfAAAAACQHOsLRqIftx9pCsYBwv5raaaeM",callback:e,badge:"bottomleft"})}}},feed:{request:function(t,e,a){$.ajax({url:t.match(/^http/)?t:"/feed/"+t+"/",async:!0,type:"post",data:e}).done(function(t){a(t)})},success:function(t,e){var a=void 0!==t.result&&!0===t.result;return(e=!0===e)&&q.core.feed.hasError(t)&&console.log(t.error),a},hasError:function(t){return void 0!==t.error}},_init:function(){q.core.binds._init()},services:{hcaptcha:{_init:function(t,e){if(void 0===window.hcaptcha)return setTimeout(function(){q.core.services.hcaptcha._init(t,e)},500),!1}}},_:{version:"20240930153547"}};