var bts='BCDN Build time: 03-Jun-2024@22:06 PM USEST';function getUrlVars(){var vars={};var parts=window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(m,key,value){vars[key]=value});return vars}
function getUrlParam(parameter,defaultvalue){var urlparameter=defaultvalue;if(window.location.href.indexOf(parameter)>-1){urlparameter=getUrlVars()[parameter]}
return urlparameter}
let consoleExists=Boolean(window.console);let consoleLogExists=Boolean(consoleExists&&window.console.log);let consoleInfoExists=Boolean(consoleExists&&window.console.info);let consoleWarnExists=Boolean(consoleExists&&window.console.warn);let consoleErrorExists=Boolean(consoleExists&&window.console.error);var debugTurnedOn=function(){var ga_debug=getUrlParam('ga_debug',!1);return ga_debug};ga_logMessage=function(){if(debugTurnedOn()&&consoleLogExists){console.log.apply(console,ga_logd(arguments,'MESSAGE:'))}};ga_log=function(){if(debugTurnedOn()&&consoleInfoExists){console.info.apply(console,ga_logd(arguments,''))}};ga_logInfo=function(){if(debugTurnedOn()&&consoleInfoExists){console.info.apply(console,ga_logd(arguments,'INFO:'))}};ga_logWarn=function(){if(debugTurnedOn()&&consoleWarnExists){console.warn.apply(console,ga_logd(arguments,'WARNING:'))}};ga_logError=function(){if(debugTurnedOn()&&consoleErrorExists){console.error.apply(console,ga_logd(arguments,'ERROR:'))}};function ga_logd(args,prefix){args=[].slice.call(args);prefix&&args.unshift(prefix);args.unshift('display: inline-block; color: #fff; background: #3b88c3; padding: 1px 4px; border-radius: 3px;');args.unshift('%cGA');return args}
ga_log(bts);var skip_iaba=function(){var test_skip_iaba=getUrlParam('skip_iaba',!1);return test_skip_iaba};if(skip_iaba()){ga_log('skip_iaba is:ACTIVE/SKIPPING')}else{ga_log('skip_iaba is: NOT ACTIVE/SKIPPING')}
var ast_uid_done=!1;var ga_ast_uid_a=[];var do_cmp=!1;var the_amazon_bid={};var ga_pa=[];var ga_placements=''
var IABA_closed='NO'
var ga_gdpr_enforced=["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PT","PL","RO","SK","SI","ES","SE","GB"];var ga_short_geo=["US","CA"];var firstScript=document.getElementsByTagName('script')[0];if(!firstScript.ParentNode){firstScript=document.getElementsByTagName('script')[1]}
if(typeof firstScript=="undefined"){firstScript=document.getElementsByTagName('meta')[0]}
if(typeof firstScript=="undefined"){firstScript=document.getElementsByTagName('head')[0]}
function ga_adhesion_hide(target){element=top.document.getElementById(target);element.parentNode.removeChild(element);IABA_closed='YES'}
var ga_eiv=[];var ga_actual_targets=[];(function(){var d=document,scr=d.createElement('script'),pro=d.location.protocol,tar=d.getElementsByTagName("head")[0];scr.type='text/javascript';scr.async=!0;scr.src=((pro==='https:')?'https':'http')+'://bcdn.grmtas.com/js/waypoints/noframework.waypoints.min.js';scr.onreadystatechange=function(){if(this.readyState=='complete')ga_wp()}
scr.onload=ga_wp;tar.insertBefore(scr,tar.firstChild)})();function ga_wp(){ga_log('waypoint logic loaded');window.ga_pbjs=window.ga_pbjs||{};window.ga_pbjs.que=window.ga_pbjs.que||[];(function(){var purl=window.location.href;var url='//ads.pubmatic.com/AdServer/js/pwt/99931/2388';var profileVersionId='';if(purl.indexOf('pwtv=')>0){var regexp=/pwtv=(.*?)(&|$)/g;var matches=regexp.exec(purl);if(matches.length>=2&&matches[1].length>0){profileVersionId='/'+matches[1]}}
var wtads=document.createElement('script');wtads.async=!0;wtads.type='text/javascript';wtads.src=url+profileVersionId+'/pwt.js';wtads.onreadystatechange=function(){if(this.readyState=='complete')ga_pb()}
wtads.onload=ga_pb;var node=document.getElementsByTagName('script')[0];node.parentNode.insertBefore(wtads,node)})();function ga_pb(){(function(){var d=document,scr=d.createElement('script'),pro=d.location.protocol,tar=d.getElementsByTagName("head")[0];if(!firstScript.ParentNode){firstScript=tar.firstChild}
scr.type='text/javascript';scr.async=!0;scr.src=((pro==='https:')?'https':'http')+'://js-sec.indexww.com/ht/p/184268-232459109157499.js';scr.onreadystatechange=function(){if(this.readyState=='complete')ga_ix()}
scr.onload=ga_ix;tar.insertBefore(scr,tar.firstChild)})();function ga_ix(){(function(){var d=document,scr=d.createElement('script'),pro=d.location.protocol,tar=d.getElementsByTagName("head")[0];scr.type='text/javascript';scr.async=!0;scr.src=((pro==='https:')?'https':'http')+'://bcdn.grmtas.com/js/waypoints/inview.min.js';scr.onreadystatechange=function(){if(this.readyState=='complete')ga_iv()}
scr.onload=ga_iv;tar.insertBefore(scr,tar.firstChild)})();function ga_iv(){ga_log('inview logic loaded');var desktopSizes=[[970,250],[728,90],[160,600],[300,600],[300,250],[1,1]];var tabletSizes=[[728,90],[160,600],[300,600],[300,250],[1,1]];var phoneSizes=[[320,100],[320,50],[300,250],[1,1]];var flex_size=[[970,250],[728,90],[320,100],[320,50]];var flex_size_small=[[728,90],[320,100],[320,50]];var allSizes=[[970,250],[728,90],[320,100],[320,50],[300,600],[300,250],[160,600],[1,1]];var sidebar_flex=[[300,250],[300,600],[160,600],[120,600]];var native_banner=[[300,250],[336,280]];var st_flex_size=[[970,250],[728,90],[0,0]];var st_flex_size_small=[[728,90],[0,0]];var st_sidebar_flex=[[300,250],[300,600],[160,600],[120,600][0,0]];var st_300x250=[[300,250],[0,0]];var purl=(window.location!=window.parent.location)?document.referrer:document.location.href;console.log('purl:'+purl);if(purl)
if(purl.indexOf('squarespace')!==-1){console.log('bhtbht:break');throw new Error('This is not an error. This is just to abort javascript');console.log('purl:'+purl)}
if(purl)
if(purl.indexOf('console.gourmetads.com')!==-1){if(purl.indexOf('view_specific_ad')!==-1){}else{console.log('bhtbht:break');throw new Error('This is not an error. This is just to abort javascript');console.log('purl:'+purl)}}
if(purl)
if(purl.indexOf('wp-admin')!==-1){console.log('bhtbht:break');throw new Error('This is not an error. This is just to abort javascript');console.log('purl:'+purl)}
if(purl)
if(purl.indexOf('/print/')!==-1){console.log('bhtbht:break');throw new Error('This is not an error. This is just to abort javascript');console.log('purl:'+purl)}
var vis=(function(){var stateKey,eventKey,keys={hidden:"visibilitychange",webkitHidden:"webkitvisibilitychange",mozHidden:"mozvisibilitychange",msHidden:"msvisibilitychange"};for(stateKey in keys){if(stateKey in document){eventKey=keys[stateKey];break}}
return function(c){if(c)document.addEventListener(eventKey,c);return!document[stateKey]}})();function ga_testbig(){return window.innerWidth<750}
function ga_testcmp(){return do_cmp}
function ga_isMobile(){return window.innerWidth<700}
function b64DecodeUnicode(str){return decodeURIComponent(Array.prototype.map.call(atob(str),function(c){return '%'+('00'+c.charCodeAt(0).toString(16)).slice(-2)}).join('')).toString()}
ga_log('cmp: start');(function(){var d=document,cmpstub=d.createElement('script'),pro=d.location.protocol,tar=d.getElementsByTagName("head")[0];if(!firstScript.ParentNode){firstScript=tar.firstChild}
cmpstub.type='text/javascript';cmpstub.async=!1;cmpstub.src='https://cache.consentframework.com/js/pa/22599/c/I7CcP/stub';tar.insertBefore(cmpstub,tar.firstChild)})();try{window.__tcfapi('checkConsent')}catch{}(function(){var d=document,sddanJS=d.createElement('script'),pro=d.location.protocol,tar=d.getElementsByTagName("head")[0];if(!firstScript.ParentNode){firstScript=tar.firstChild}
sddanJS.type='text/javascript';sddanJS.async=!0;sddanJS.src='https://choices.consentframework.com/js/pa/22599/c/I7CcP/cmp';sddanJS.onreadystatechange=function(){if(this.readyState=='complete')ga_cmp()}
sddanJS.onload=ga_cmp;tar.insertBefore(sddanJS,tar.firstChild)})();function ga_cmp(){ga_log('cmp: ga_cmp onload');function ga_contains(arr,x){return arr.filter(function(elem){return elem==x}).length>0}
function ga_set_cookie(name,value,minutes){if(minutes){var date=new Date();date.setMinutes(date.getMinutes()+minutes);var expires="; expires="+date.toGMTString()}
else var expires="";document.cookie=name+"="+value+expires+"; path=/;   SameSite=None; Secure;  "}
function ga_get_cookie(name){var nameEQ=name+"=";var ca=document.cookie.split(';');for(var i=0;i{ga_log('response:'+response);found_geo=response;if(found_geo==='US'){rba=found_geo}
ga_set_cookie('ga_cookie_geo',rba,30);ga_log('good fetch - continuing with geo:',found_geo);ga_do_geo_stuff()})
doIt.catch(error=>{ga_log('catch promise error:'+error);ga_log('rba:'+rba);ga_log('fetch failed? no geo? - moving on anyway?');ga_do_geo_stuff()})}
function ga_do_geo_stuff(){ga_log('in ga_do_geo_stuff:');if(((found_geo=='US')&&(ga_cookie_state=='CA'))||(ga_contains(ga_gdpr_enforced,found_geo))){do_cmp=!0;ga_log('in gdpr - firing cmp:disabled');if(typeof euconsent==='undefined'||euconsent===null){}else{ga_log('in gdpr - ga_cmp ');var sURL='https://secure.adnxs.com/seg?add=12944501,12953978&t=2&tv='+(new Date()).getTime();var consent_pixel=document.createElement("img");consent_pixel.src=sURL}}else{ga_log('not in gdpr');ga_log('add segments to page...');var sURL='https://secure.adnxs.com/seg?add=700455,5572821,700457,5572738,5898192,5908671,5236454,5908637,10163115,5908636&t=2&tv='+(new Date()).getTime();var seg_pixel_1=document.createElement("img");seg_pixel_1.src=sURL;var ccheck=["US"];if(ga_contains(ccheck,found_geo)){var sURL='https://dmp.adform.net/dmp/profile/?pid=10358&sg=cooks&sg=grocery&sg=decision&sg=recipe&tv='+(new Date()).getTime();var seg_pixel_4=document.createElement("img");seg_pixel_4.src=sURL}
var seg_pixel_6=document.createElement('script');seg_pixel_6.setAttribute("type","text/javascript")
seg_pixel_6.setAttribute("src",'https://ps.eyeota.net/pixel?pid=bkie9g1&t=ajs&cat=cooking&cat=grocerybuyers&cat=hhcooks&cat=recipe&cat=inferredfemale')
if(firstScript)
if(!firstScript.parentNode){var d=document;tar=d.getElementsByTagName("head")[0];firstScript=tar.firstChild;firstScript.insertBefore(seg_pixel_6,firstScript)}else{firstScript.parentNode.insertBefore(seg_pixel_6,firstScript)}
var seg_pixel_7=document.createElement('script');seg_pixel_7.setAttribute("type","text/javascript")
seg_pixel_7.setAttribute("src",'https://ps.eyeota.net/pixel?pid=bkie9g1&t=ajs&cat=hhdecision')
if(firstScript)
if(!firstScript.parentNode){var d=document;tar=d.getElementsByTagName("head")[0];firstScript=tar.firstChild;firstScript.insertBefore(seg_pixel_7,firstScript)}else{firstScript.parentNode.insertBefore(seg_pixel_7,firstScript)}
var sURL='https://loadus.exelator.com/load/?p=492&g=001&ctg=cooking&subctg=recipes&j=0&tv='+(new Date()).getTime();var seg_pixel_10=document.createElement("img");seg_pixel_10.src=sURL;var sURL='https://tags.bluekai.com/site/5467?ret=js&phint=category%3Dfood&phint=category%3Drecipes&phint=category%3Dcooking&tv='+(new Date()).getTime();var seg_pixel_11=document.createElement("img");seg_pixel_11.src=sURL;var seg_pixel_28=document.createElement('script');seg_pixel_28.setAttribute("type","text/javascript")
seg_pixel_28.setAttribute("src",'https://tag.crsspxl.com/s1.js?d=2435')
if(firstScript)
if(!firstScript.parentNode){var d=document;tar=d.getElementsByTagName("head")[0];firstScript=tar.firstChild;firstScript.insertBefore(seg_pixel_28,firstScript)}else{firstScript.parentNode.insertBefore(seg_pixel_28,firstScript)}
var seg_pixel_18=document.createElement('script');seg_pixel_18.setAttribute("type","text/javascript")
seg_pixel_18.setAttribute("src",'https://tags.crwdcntrl.net/c/1228/cc_af.js')
if(firstScript)
if(!firstScript.parentNode){var d=document;tar=d.getElementsByTagName("head")[0];firstScript=tar.firstChild;firstScript.insertBefore(seg_pixel_18,firstScript)}else{firstScript.parentNode.insertBefore(seg_pixel_18,firstScript)}
var sURL='https://pixel.quantserve.com/pixel/p-b6WwJWuBMkIGk.gif?a=b&tv='+(new Date()).getTime();var seg_pixel_19=document.createElement("img");seg_pixel_19.src=sURL;var sURL='https://ads.pubmatic.com/AdServer/js/user_sync.html?p=99931&tv='+(new Date()).getTime();var seg_pixel_27=document.createElement("img");seg_pixel_27.src=sURL;var ccheck=["US"];if(ga_contains(ccheck,found_geo)){var seg_pixel_24=document.createElement('script');seg_pixel_24.setAttribute("type","text/javascript")
seg_pixel_24.setAttribute("src",'//ap.lijit.com/www/sovrn_beacon_standalone/sovrn_standalone_beacon.js?iid=12903813')
if(firstScript)
if(!firstScript.parentNode){var d=document;tar=d.getElementsByTagName("head")[0];firstScript=tar.firstChild;firstScript.insertBefore(seg_pixel_24,firstScript)}else{firstScript.parentNode.insertBefore(seg_pixel_24,firstScript)}}
var ccheck=["BR","MX","AR","CO","CR","CL","UY","ES","VE"];if(ga_contains(ccheck,found_geo)){var sURL='https://bcp.crwdcntrl.net/5/c=2250/b=79700915?a=b&tv='+(new Date()).getTime();var seg_pixel_35=document.createElement("img");seg_pixel_35.src=sURL}
var ccheck=["BR","MX","AR","CO","CR","CL","UY","ES","VE"];if(ga_contains(ccheck,found_geo)){var sURL='https://bcp.crwdcntrl.net/5/c=2250/b=81371864?a=b&tv='+(new Date()).getTime();var seg_pixel_36=document.createElement("img");seg_pixel_36.src=sURL}}
var sonobi_sync=document.createElement('script');sonobi_sync.setAttribute("type","text/javascript")
sonobi_sync.setAttribute("src",'https://sync.go.sonobi.com/uc.js?pubid=a8f851cb57')
if(firstScript)
if(!firstScript.parentNode){var d=document;tar=d.getElementsByTagName("head")[0];firstScript=tar.firstChild;firstScript.insertBefore(sonobi_sync,firstScript)}else{firstScript.parentNode.insertBefore(sonobi_sync,firstScript)}
ga_log('checking for targets');var ga_targets=["10175503","5047855","5045004"];var count_ga_targets=0;function ga_in_page_targets(item){var ts='ga_'+item;var test_it=document.getElementById(ts);ga_log('checking',ts);if(test_it){ga_log('div found in page:'+ts);ga_actual_targets.push(ts)}
var ts='ga_os_'+item;var test_it=document.getElementById(ts);ga_log('checking(os)',ts);if(test_it){ga_log('(os)div found in page:'+ts);ga_actual_targets.push(ts)}};ga_targets.forEach(ga_in_page_targets);var encodedString='PCEtLSAjI0lBQkFGTEVYIyMxMDE3NTUwMyMjIC0tPgo8c2NyaXB0IHR5cGU9InRleHQvamF2YXNjcmlwdCIgc3JjPSJodHRwczovL2JjZG4uZ3JtdGFzLmNvbS9qcy9nYV9jb21tb24uanMiPjwvc2NyaXB0Pgo8c2NyaXB0IHR5cGU9InRleHQvamF2YXNjcmlwdCIgc3JjPSJodHRwczovL2JjZG4uZ3JtdGFzLmNvbS9qcy9nYV9hZGhlc2lvbl9jb21tb24uanMiPjwvc2NyaXB0Pgo8IS0tR0EgU3RpY2t5IGJvdHRvbSAtIDcyOHg5MCAoSUFCQSkgLSBBVEYgLSBSdW4gb2YgU2l0ZSAtIEcgPCAtIERPIE5PVCBNT0RJRlkgLS0+CjxkaXYgaWQ9ImdhX3N0aWNreV9ib3R0b20iICBzdHlsZT0iIHotaW5kZXg6IDE1OyB3aWR0aDoxMDAlOyBwb3NpdGlvbjogZml4ZWQ7IGJvdHRvbTogMDsgZGlzcGxheTpub25lOyAgYm94LXNpemluZzogY29udGVudC1ib3g7IGJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJhY2tncm91bmQtY29sb3I6IHJnYmEoMjU1LDI1NSwyNTUsMC4wKTsgdGV4dC1hbGlnbjpjZW50ZXI7IG1pbi13aWR0aDozNDBweDtsZWZ0OjBweDsgICI+CjxzcGFuIG9uQ2xpY2s9ImdhX2FkaGVzaW9uX2hpZGUoJ2dhX3N0aWNreV9ib3R0b20nKSIgc3R5bGU9ImZsb2F0OnJpZ2h0O21hcmdpbi10b3A6NHB4O21hcmdpbi1yaWdodDo1cHg7IGZvbnQtc2l6ZTogMTJweCFpbXBvcnRhbnQ7IGxpbmUtaGVpZ2h0OjE0cHghaW1wb3J0YW50OyB3aWR0aDoyMHB4ICFpbXBvcnRhbnQ7dGV4dC1hbGlnbjpsZWZ0OyBib3JkZXItcmFkaXVzOiA1cHggNXB4IDAgMDsgZm9udC1mYW1pbHk6IGFyaWFsIWltcG9ydGFudDsgZGlzcGxheTpibG9jayAhaW1wb3J0YW50O2N1cnNvcjpwb2ludGVyICFpbXBvcnRhbnQ7ICB6LWluZGV4OiAxNTsgdHJhbnNmb3JtOiByb3RhdGUoOTBkZWcpOyAtd2Via2l0LXRyYW5zZm9ybTogcm90YXRlKDkwZGVnKTstbXMtdHJhbnNmb3JtOiByb3RhdGUoOTBkZWcpOyIiPjxpbWcgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgc3JjPSIvL2JjZG4uZ3JtdGFzLmNvbS9pbWFnZXMvZmxleF9jbG9zZS5wbmciPjwvc3Bhbj4KPGRpdiBpZD0iZ2FfMTAxNzU1MDMiPjwvZGl2Pgo8c2NyaXB0IHR5cGU9InRleHQvamF2YXNjcmlwdCI+Z2FfYWRkTG9hZEV2ZW50KGZ1bmN0aW9uKCkgeyBpZih3aW5kb3cuaW5uZXJXaWR0aD49MzIwKSB7IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdnYV9zdGlja3lfYm90dG9tJykuc3R5bGUuZGlzcGxheT0iYmxvY2siOyB9IH0pPC9zY3JpcHQ+PC9kaXY+PCEtLUdBIFN0aWNreSBib3R0b20gRW5kLS0+';var IABA_buffer=b64DecodeUnicode(encodedString);ga_log('in inject');var MyDiv=document.getElementById("ga_10175503");if(MyDiv){ga_log('inject already defined bug out')}else{var sURL='https'+'://ib.adnxs.com/ttj?id=3622488'+'&'+'tv='+(new Date()).getTime();var ast_pixel_1=document.createElement("img");ast_pixel_1.src=sURL;(function(){var d=document,scr=d.createElement('script'),pro=d.location.protocol,tar=d.getElementsByTagName("head")[0];scr.type='text/javascript';scr.async=!0;scr.src=((pro==='https:')?'https':'http')+'://acdn.adnxs.com/ast/ast.js';scr.onreadystatechange=function(){if(this.readyState=='complete')apn()}
scr.onload=apn;tar.insertBefore(scr,tar.firstChild)})();function apn(){ga_log('apn - ast defined');var do_iaba='YES';if('1'=='0'){do_iaba='YES'}
if(skip_iaba()){ga_log('inject skip_iaba is:ACTIVE/SKIPPING');do_iaba='NO'}else{ga_log('no skip_iaba: normal inject')}
if(do_iaba=='YES'){if(typeof IABA_buffer!=='undefined'){if(IABA_buffer!=''){ga_log('iaba - injecting');ga_eiv.ga_10175503=0;bar=document.getElementsByTagName("body")[0];bar.insertAdjacentHTML('beforeend',IABA_buffer);var MyDiv=document.getElementById("ga_10175503");var arr=MyDiv.getElementsByTagName('script')
if(window.innerWidth>=320){ga_eiv.ga_10175503=1;ga_actual_targets.push('ga_10175503');document.getElementById('ga_sticky_bottom').style.display="block"}
if(window.location.origin.indexOf('squarespace')!==-1){document.getElementById('ga_sticky_bottom').style.display="none"}}}}
var count_ga_targets=ga_actual_targets.length;ga_log('found placement targets:',count_ga_targets,ga_actual_targets);if(count_ga_targets==0){throw new Error("no ga targets")}
window.apntag.anq.push(function(){window.apntag.setPageOpts({member:1792,keywords:{},schain:{validation:'relaxed',config:{ver:'1.0',complete:1,nodes:[{asi:'gourmetads.com',sid:'3271',hp:1}]}},trackingManagement:{userSync:{syncEnabled:!0,syncDelay:3000,publisherId:581365,sellerId:1792}},consentManagement:{timeout:400}});window.apntag.onEvent('adLoaded',function(adLoaded,adObj){ga_log('onEvent:adLoaded');Waypoint.refreshAll()});function ga_define_10175503(){ga_log('define 10175503');window.apntag.defineTag({targetId:'ga_10175503',tagId:10175503,"allowedFormats":['banner'],sizes:ga_testbig()?[[320,50]]:[[728,90]],position:'above'})}
function ga_refresh_10175503(){if(window.ga_pbjs){ga_log('refresh ga_10175503');window.ga_pbjs.que.push(function(){window.ga_pbjs.requestBids({adUnitCodes:['ga_10175503'],bidsBackHandler:function(bidResponses){window.ga_pbjs.setTargetingForAst();window.apntag.anq.push(function(){ga_define_10175503();window.apntag.refresh(['ga_10175503'])})}})})}}
if(ga_contains(ga_actual_targets,'ga_10175503')){ga_log('in page:definetag ga_10175503');document.getElementById("ga_10175503").innerHTML="";ga_eiv.ga_10175503=1;ga_define_10175503()}
function ga_define_5047855(){ga_log('define 5047855');window.apntag.defineTag({targetId:'ga_5047855',tagId:5047855,"allowedFormats":['banner'],sizes:ga_testbig()?[[320,50]]:[[468,60],[728,90],[970,120],[970,250]],position:'above'})}
function ga_refresh_5047855(){if(window.ga_pbjs){ga_log('refresh ga_5047855');window.ga_pbjs.que.push(function(){window.ga_pbjs.requestBids({adUnitCodes:['ga_5047855'],bidsBackHandler:function(bidResponses){window.ga_pbjs.setTargetingForAst();window.apntag.anq.push(function(){ga_define_5047855();window.apntag.refresh(['ga_5047855'])})}})})}}
if(ga_contains(ga_actual_targets,'ga_5047855')){ga_log('in page:definetag ga_5047855');document.getElementById("ga_5047855").innerHTML="";ga_eiv.ga_5047855=0;ga_define_5047855();var wp_ga_5047855=new Waypoint.Inview({element:document.getElementById('ga_5047855'),enter:function(direction){ga_eiv[this.element.id]=1;ga_log('eiv Enter:'+direction,this.element.id,ga_eiv)},entered:function(direction){ga_eiv[this.element.id]=1},exit:function(direction){},exited:function(direction){ga_eiv[this.element.id]=0;ga_log('eiv Exited:'+direction,this.element.id,ga_eiv)}})}
function ga_define_5045004(){ga_log('define 5045004');window.apntag.defineTag({targetId:'ga_5045004',tagId:5045004,"allowedFormats":['banner'],sizes:[[300,250],[300,600],[300,100],[300,50],[160,600],[200,200],[250,250],[120,600]],position:'above'})}
function ga_refresh_5045004(){if(window.ga_pbjs){ga_log('refresh ga_5045004');window.ga_pbjs.que.push(function(){window.ga_pbjs.requestBids({adUnitCodes:['ga_5045004'],bidsBackHandler:function(bidResponses){window.ga_pbjs.setTargetingForAst();window.apntag.anq.push(function(){ga_define_5045004();window.apntag.refresh(['ga_5045004'])})}})})}}
if(ga_contains(ga_actual_targets,'ga_5045004')){ga_log('in page:definetag ga_5045004');document.getElementById("ga_5045004").innerHTML="";ga_eiv.ga_5045004=0;ga_define_5045004();var wp_ga_5045004=new Waypoint.Inview({element:document.getElementById('ga_5045004'),enter:function(direction){ga_eiv[this.element.id]=1;ga_log('eiv Enter:'+direction,this.element.id,ga_eiv)},entered:function(direction){ga_eiv[this.element.id]=1},exit:function(direction){},exited:function(direction){ga_eiv[this.element.id]=0;ga_log('eiv Exited:'+direction,this.element.id,ga_eiv)}})}
ga_log('alltagsdefined');function refresh_de(){ga_log('de hook called - refreshing');focused=document.hasFocus();if((vis())&&(focused)){ga_log('de page visible');ga_log(ga_eiv);for(let[key,value]of Object.entries(ga_eiv)){ga_log('checking v:'+value+' i:'+key);if(value==0){}else{if(key=='ga_10175503'){if(IABA_closed=='YES'){ga_eiv.ga_10175503=0;ga_log('IABA closed - no longer try to refresh it')}else{ga_refresh_10175503()}}if(key=='ga_5047855'){ga_refresh_5047855()}if(key=='ga_5045004'){ga_refresh_5045004()}}}}else{ga_log('de page not visible')}
ga_log('de hook again');hook_de_reload()}
function hook_de_reload(){ga_log('in de hook');var rand=Math.round(Math.random()*(3000))+40000;setTimeout(function(){refresh_de()},rand)}
setTimeout(function(){hook_de_reload()},35000)});var gourmetads_tar=[];var amazon_tar=[];var criteo_tar=[];var PREBID_TIMEOUT=2000;ga_log('prebid_timeout: 2000');(function(){var d=document,scr=d.createElement('script'),pro=d.location.protocol,tar=d.getElementsByTagName("head")[0];scr.type='text/javascript';scr.async=!0;scr.src=((pro==='https:')?'https':'http')+'://bcdn.grmtas.com/js/prebid_v7_gourmetads_ga.js';scr.onreadystatechange=function(){if(this.readyState=='complete')pbl()}
scr.onload=pbl;tar.insertBefore(scr,tar.firstChild)})();function pbl(){ga_log('pbl');ga_log('prebid inserted',window.ga_pbjs);window.ga_pbjs.que.push(function(){ga_log('prebidpush setconfig');window.ga_pbjs.setConfig({enableSendAllBids:!0,sizeConfig:[{'mediaQuery':'(min-width: 975px)','sizesSupported':desktopSizes,'labels':['desktop','sidebar_flex']},{'mediaQuery':'(min-width: 768px) and (max-width: 1024px)','sizesSupported':tabletSizes,'labels':['tablet','sidebar_flex']},{'mediaQuery':'(min-width: 320px) and (max-width: 812px)','sizesSupported':phoneSizes,'labels':['phone']}],consentManagement:{gdpr:typeof(__tcfapi)=="function"?{cmpApi:'iab',timeout:ga_testcmp()?4000:500,defaultgdprscope:!1}:{cmpApi:'static',timeout:500,consentData:{getTCData:{gdprApplies:!1,}}},usp:typeof(__uspapi)=="function"?{cmpApi:'iab',timeout:100}:{cmpApi:'static',timeout:500,consentData:{getUSPData:{uspString:'1---'}}},},"schain":{"validation":"relaxed","config":{"ver":"1.0","complete":1,"nodes":[{"asi":"gourmetads.com","sid":"3271","hp":1}]}},cache:{url:"https://prebid.adnxs.com/pbc/v1/cache"},userSync:{iframeEnabled:!0,syncDelay:3000,userIds:[{name:"unifiedId",params:{partner:"x4qu6m9"},storage:{type:"cookie",name:"pbjs-unifiedid",expires:45}},{name:"identityLink",params:{pid:'24'},storage:{type:"cookie",name:"idl_env",expires:60}},{name:"criteo",storage:{type:"cookie",name:"pbjs-criteo",expires:60}},{name:"pubCommonId",storage:{type:"cookie",name:"pbjs-pubCommonId",expires:60}},{name:"sharedId",params:{syncTime:60},storage:{type:"cookie",name:"sharedid",expires:28}},{name:"33acrossId",params:{pid:"0015a00002vQAiXAAW"},storage:{name:"33acrossId",type:"html5",expires:90,refreshInSeconds:8*3600}},{name:"id5Id",params:{partner:206},storage:{type:"cookie",name:"pbjs-id5id",expires:5}}],filterSettings:{iframe:{bidders:'*',filter:'include'}}},s2sConfig:{accountId:'e35735d6-c248-4294-b4a9-a91ec7fa158b',enabled:!0,bidders:['criteo'],timeout:4000,endpoint:"https://prebid.adnxs.com/pbs/v1/openrtb2/auction",syncEndpoint:"https://prebid.adnxs.com/pbs/v1/cookie_sync"},pageUrl:"https://cuppacocoa.com",priceGranularity:"dense"})});ga_log('afterpush 1',window.ga_pbjs.que);function sendAdserverRequest(){ga_log('in sar');if(window.ga_pbjs.adserverRequestSent)return;window.ga_pbjs.adserverRequestSent=!0}
ga_log('csar');setTimeout(sendAdserverRequest,PREBID_TIMEOUT);ga_log(' after sarsettimeout');window.ga_pbjs.bidderSettings={standard:{storageAllowed:!0,alwaysUseBid:!0,sendStandardTargeting:!0,adserverTargeting:[{key:"amzniid",val:function(bidResponse){result='';if(the_amazon_bid&&the_amazon_bid.length)
the_amazon_bid.forEach(function(aslot){if(bidResponse.adUnitCode==aslot.slotID){result=aslot.amzniid}});return result}},{key:"amznbid",val:function(bidResponse){result='';if(the_amazon_bid&&the_amazon_bid.length)
the_amazon_bid.forEach(function(aslot){if(bidResponse.adUnitCode==aslot.slotID){result=aslot.amznbid}});return result}},{key:"amznsz",val:function(bidResponse){result='';if(the_amazon_bid&&the_amazon_bid.length)
the_amazon_bid.forEach(function(aslot){if(bidResponse.adUnitCode==aslot.slotID){result=aslot.amznsz}});return result}},{key:"hb_dealid",val:function(bidResponse){console.log(bidResponse);return bidResponse.dealId}},{key:"hb_deal_rubicon",val:function(bidResponse){rval='';if(bidResponse.bidder=='rubicon'){rval=bidResponse.dealId}
return rval}},{key:"hb_deal_ix",val:function(bidResponse){rval='';if(bidResponse.bidder=='ix'){rval=bidResponse.dealId}
return rval}},{key:"hb_deal_pubmatic",val:function(bidResponse){rval='';if(bidResponse.bidder=='pubmatic'){rval=bidResponse.dealId}
return rval}},{key:"hb_bidder",val:function(bidResponse){return bidResponse.bidderCode}},{key:"hb_adid",val:function(bidResponse){return bidResponse.adId}},{key:"hb_pb",val:function(bidResponse){return bidResponse.pbDg}},{key:'hb_size',val:function(bidResponse){return bidResponse.size}},{key:'hb_source',val:function(bidResponse){return bidResponse.source}},{key:'hb_format',val:function(bidResponse){return bidResponse.mediaType}}]},sonobi:{bidCpmAdjustment:function(bidCpm){return(bidCpm*1)}},amazon:{bidCpmAdjustment:function(bidCpm){return(bidCpm*1)}},criteo:{bidCpmAdjustment:function(bidCpm){return(bidCpm*1)}},vertical:{bidCpmAdjustment:function(bidCpm){return(bidCpm*1)}}};ga_log('second push');window.ga_pbjs.que.push(function(){ga_log('in push adunits');var adUnits=[];if(ga_contains(ga_actual_targets,'ga_10175503')){ga_log('showtag:10175503');window.apntag.anq.push(function(){window.apntag.showTag('ga_10175503')})}
var ts={code:'ga_10175503',"mediaTypes":{banner:{sizes:flex_size_small}},labelAny:["ga_10175503"],bids:[{bidder:'gourmetads',params:{ga_parms:{"place_on_page":"BTF"},placement_id:'10175503'}},{bidder:'criteo',labelAny:['desktop','tablet'],params:{ga_parms:{"place_on_page":"BTF"},size:[728,90],networkId:1431}},{bidder:'criteo',labelAll:['phone'],params:{ga_parms:{"place_on_page":"BTF"},size:[320,50],networkId:1431}}]};adUnits.push(ts);if(ga_contains(ga_actual_targets,'ga_5047855')){ga_log('showtag:5047855');window.apntag.anq.push(function(){window.apntag.showTag('ga_5047855')})}
var ts={code:'ga_5047855',"mediaTypes":{banner:{sizes:flex_size_small}},labelAny:["ga_5047855"],bids:[{bidder:'gourmetads',params:{ga_parms:{"place_on_page":"ATF"},placement_id:'5047855'}},{bidder:'criteo',labelAny:['desktop','tablet'],params:{ga_parms:{"place_on_page":"ATF"},size:[728,90],networkId:1431}},{bidder:'criteo',labelAll:['phone'],params:{ga_parms:{"place_on_page":"ATF"},size:[320,50],networkId:1431}}]};adUnits.push(ts);if(ga_contains(ga_actual_targets,'ga_5045004')){ga_log('showtag:5045004');window.apntag.anq.push(function(){window.apntag.showTag('ga_5045004')})}
var ts={code:'ga_5045004',"mediaTypes":{banner:{sizes:sidebar_flex}},labelAny:["ga_5045004"],bids:[{bidder:'gourmetads',params:{ga_parms:{"place_on_page":"BTF"},placement_id:'5045004'}},{bidder:'criteo',params:{ga_parms:{"place_on_page":"BTF"},networkId:1431}}]};adUnits.push(ts);ga_log('calling addadunits',adUnits);window.ga_pbjs.addAdUnits(adUnits);ga_log('out11')});function handleApstagBidsAndLoadAds(bids){the_amazon_bid=bids;window.ga_pbjs.que.push(function(){ga_log('!!! amazon aps callback');ga_log(bids);if(ast_uid_done==!1){uids_found=window.ga_pbjs.getUserIds();if(uids_found.criteoId){ga_log('uid: found criteo id:'+uids_found.criteoId);var ta={};ta.type='criteo';ta.id=uids_found.criteoId;ga_ast_uid_a.push(ta)}
if(uids_found.id5id)
if(uids_found.id5id.uid){ga_log('uid: found id5 id:'+uids_found.id5id.uid);var ta={};ta.type='liveramp';ta.id=uids_found.id5id.uid;ga_ast_uid_a.push(ta)}
if(uids_found.tdid){ga_log('uid: found ttd id:'+uids_found.tdid);var ta={};ta.type='ttd';ta.id=uids_found.tdid;ga_ast_uid_a.push(ta)}
if(ga_ast_uid_a&&ga_ast_uid_a.length){ga_log('uid: submitting: '+ga_ast_uid_a);window.apntag.anq.push(function(){window.apntag.setPageOpts({member:1792,user:{userIds:ga_ast_uid_a},})});ast_uid_done=!0}}
ga_placements=ga_actual_targets;if(rba&&rba.length)ga_placements.push(rba);ga_log(window.ga_pbjs);window.ga_pbjs.requestBids({labels:ga_placements,timeout:PREBID_TIMEOUT,bidsBackHandler:function(bidResponses){ga_log('in bbh');ga_log(bidResponses);ga_log('set targeting');window.ga_pbjs.setTargetingForAst();ga_log('bbh ga_placements:'+ga_placements);var targetings=window.ga_pbjs.getAdserverTargeting();ga_log(targetings);window.apntag.anq.push(function(){ga_log('load tags');window.apntag.loadTags()})}})})}
ga_log('amazon a9');!function(a9,a,p,s,t,A,g){if(a[a9])return;function q(c,r){a[a9]._Q.push([c,r])}a[a9]={init:function(){q("i",arguments)},fetchBids:function(){q("f",arguments)},setDisplayBids:function(){},_Q:[]};A=p.createElement(s);A.async=!0;A.src=t;g=p.getElementsByTagName(s)[0];g.parentNode.insertBefore(A,g)}("apstag",window,document,"script","//c.amazon-adsystem.com/aax2/apstag.js");apstag.init({pubID:'00bcac36-1a3a-4676-8c13-9c85990e44dc',bidTimeout:2000,schain:{validation:'relaxed',ver:'1.0',complete:1,nodes:[{asi:'gourmetads.com',sid:'3271',hp:1}]},adServer:'appnexus'});apstag.fetchBids({slots:[{slotID:'ga_10175503',sizes:ga_testbig()?[[320,50]]:[[728,90]]},{slotID:'ga_5047855',sizes:ga_testbig()?[[320,50]]:[[728,90],[970,250]]},{slotID:'ga_5045004',sizes:[[300,250]]}],timeout:2000},function(bids){ga_log('!!!in apstag bid response')
ga_log(bids)
handleApstagBidsAndLoadAds(bids)});if(ga_contains(ga_gdpr_enforced,found_geo)){}else{function ci_lang(){var lang=navigator.languages&&navigator.languages[0]||navigator.language||navigator.userLanguage;if(lang.indexOf('-')!==-1)
lang=lang.split('-')[0];if(lang.indexOf('_')!==-1)
lang=lang.split('_')[0];console.log('lang:'+lang);switch(lang){case 'ht':case 'pt':case 'es':console.log('found hispanic lang...');var ls='8389652,8417315,8417289,8389658';var sURL='https://secure.adnxs.com/seg?add='+ls+'&t=2';var iframe=document.createElement('iframe');var html=''+''+'
    '+'
    '+''+'
    
   
';iframe.srcdoc=html;document.body.appendChild(iframe);iframe.style.display='none';case 'ar':console.log('found arabic lang...');var ls='8637390,8640724';var sURL='https://secure.adnxs.com/seg?add='+ls+'&t=2';var iframe=document.createElement('iframe');var html=''+''+' '+''+'';iframe.srcdoc=html;document.body.appendChild(iframe);iframe.style.display='none';default:}};ci_lang()} ga_log('end pbl')} ga_log('end apn')}}}}}}}} ga_log('!!!final - after all tests/setup')