/** @preserve Copyright GumGum (c) 2024 @ 3.88.26 */
!function(){"use strict";var e=window,t=document,n="gumgum.com",r="https://",a="".concat(r).concat(n),i="".concat(r,"g2.").concat(n),o="".concat(r,"js.").concat(n),c="".concat(r,"c.").concat(n),s="".concat(r,"aba.").concat(n),l=1,u=2,d=3,p=4,g=5,f="".concat(c,"/ads/com/gumgum/gumgum-info-2.1.7.html"),h={mfs:!1,mw:570,mh:570,mcs:{margin:40}},m=/\b\w{1,5}\.googleapis\.com|inrix\.com|virtualearth\.net|mt\.gasbuddy\.com|mapbox.com/gi,v="margin:0;padding:0;position:static;outline:0;background:transparent none;border:none;overflow:visible;visibility:visible;filter:alpha(opacity=100);opacity:1;box-sizing:content-box;-moz-box-sizing:content-box;text-decoration:none;font:normal 12px/1 arial;text-shadow:none;box-shadow:none;color:#000;text-align:left;vertical-align:top;float:none;max-width:none;max-height:none",b=/_CLEARCSS_/gi,y=/\b\w{1,5}\.mqcdn.com|3lift.com|connatix.com|video.sekindo.com|static.gacraft.jp|primis.tech/gi,w='(function(win,doc,G,env,undef){try{{:js:}}catch(err){GUMGUM.log("Custom JS", err)}}(window,window.document,window.GUMGUM,"{:env:}"))',A="gumgum",I=/GGUID/gi,_=/
'.concat(''),T="div[id^=google_ads_iframe],.adsbygoogle",k="viewable.gumgum",G="In-Image Ads",D=//,C="gg_geo";
/*!
* Bean - copyright (c) Jacob Thornton 2011-2012
* https://github.com/fat/bean
* MIT license
*/
function N(){var t,n,r,a,i=e,o=i.bean,c=/[^\.]*(?=\..*)\.|.*/,s=/\..*/,l="addEventListener",u=document||{},d=u.documentElement||{},p=d[l],g=p?l:"attachEvent",f={},h=Array.prototype.slice,m=function(e,t){return e.split(t||" ")},v=function(e){return"string"==typeof e},b=function(e){return"function"==typeof e},y=function(e,t,n){for(n=0;n0},t.prototype.matches=function(e,t,n){return!(this.element!==e||t&&this.original!==t||n&&this.handler!==n)},t}(),E=(t={},n=function(e,r,a,i,o,c){var s=o?"r":"$";if(r&&"*"!=r){var l,u=0,d=t[s+r],p="*"==e;if(!d)return;for(l=d.length;u0){for(o=(t=m(t)).length;o--;)G(e,t[o],n);return e}if((a=l&&t.replace(s,""))&&w[a]&&(a=w[a].base),!t||l)(i=l&&t.replace(c,""))&&(i=m(i,".")),P(e,a,n,i);else if(b(t))P(e,null,t);else for(r in t)t.hasOwnProperty(r)&&G(e,r,t[r]);return e},D=function(e,t,n,r){var a,i,o,l,u,d,p;if(void 0!==n||"object"!=typeof t){for(b(n)?(u=h.call(arguments,3),r=a=n):(a=r,u=h.call(arguments,4),r=T(n,a)),o=m(t),this===f&&(r=R(G,e,t,r,a)),l=o.length;l--;)p=E.put(d=new _(e,o[l].replace(s,""),r,a,m(o[l].replace(c,""),"."),u,!1)),d[g]&&p&&S(e,d.eventType,!0,d.customType);return e}for(i in t)t.hasOwnProperty(i)&&D.call(this,e,i,t[i])},C={on:D,add:function(e,t,n,r){return D.apply(null,v(n)?[e,n,t,r].concat(arguments.length>3?h.call(arguments,5):[]):h.call(arguments))},one:function(){return D.apply(f,arguments)},off:G,remove:G,fire:function(e,t,n){var r,a,i,o,l,u=m(t);for(r=u.length;r--;)if(t=u[r].replace(s,""),(o=u[r].replace(c,""))&&(o=m(o,".")),o||n||!e[g])for(l=E.get(e,t,null,!1),n=[!1].concat(n),a=0,i=l.length;a0}function re(e,t,n){return[].slice.call(e,t,n)}function ae(e,t){return!(!Z(e)||!J(t))&&Object.prototype.hasOwnProperty.call(e,t)}function ie(e,t){return Object.create(e||null,t)}function oe(e){return!e||!Z(e)||0===Object.keys(e).length}function ce(e,t){return B(e,t)}function se(e,t){var n={};return Object.keys(e).concat(Object.keys(t)).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(r){ae(e,r)&&null!==e[r]?n[r]=e[r]:ae(t,r)&&null!==t[r]?n[r]=t[r]:n[r]=null})),n}function le(e,t){if(!Z(e)||!Y(t))throw new TypeError("Callback must be a function");return Object.keys(e).forEach((function(n,r){t.call(e,n,e[n])})),null}function ue(e){return isNaN(e)?0:Math.pow(e,2)}function de(e,t){return e.join(t||".")}function pe(e){return de(e,":")}function ge(){var e="abcdefghijklmnopqrstuvwxyz";return e[~~(Math.random()*e.length)]+z()}function fe(e){var t=[],n=encodeURIComponent;return Z(e)&&le(e,(function(r){null!==e[r]&&void 0!==e[r]&&t.push("".concat(n(r),"=").concat(n(e[r])))})),t.join("&")}function he(e){return"?".concat(fe(e))}function me(e){var t=De("a"),n=ie(),r=["href","protocol","host","hostname","port","pathname","search","hash","username","password"];return t.href=e,r.forEach((function(e){n[e]=e in t?t[e]:""})),n.base="".concat(n[r[1]],"//").concat("".concat(n[r[3]],"/").concat(n[r[5]]).replace(/\/\//g,"/")),n}function ve(e,t){var n,r=me(e),a=fe(t),i=r.search;return n=""===i?"?".concat(a):"".concat(i,"&").concat(a),r.base+n}function be(e,t,n){var r;return function(){var a=arguments,i=this,o=function(){r=null,n||e.apply(i,a)},c=n&&!r;Ut(r),r=Ot(o,t||200),c&&e.apply(i,a)}}function ye(){return/ggdbg/.test(Nr())||Pr().debug}function we(){var t=e.console;if(ye()){var n=re(arguments),r=["GUMGUM",e.origin||e.name||e.location.origin,H(),J(n[0])?n[0]:""];try{t.groupCollapsed(r.join(" - ")),t.log.apply(t,n),t.trace(),t.groupEnd()}catch(e){t.log(["GUMGUM"].concat(n))}}}
/*!
* domready (c) Dustin Diaz 2014 - License MIT
*/var Ae,Ie=[],_e=xe();function Ee(e){_e?Ot(e,0):Ie.push(e)}function xe(e){var n=e||t;return n&&(n.attachEvent?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState)}function Se(e,t){var n=new Image;return Y(t)&&(n.onload=t.bind(null,n)),n.src=e||"",n}function Re(e,t,n){return Te(e,{callback:t,parent:n,type:"script"})}function Pe(e,t){var n=Pr();n.customsLoaded||!e.css&&!e.js||(n.customsLoaded=!0,function(e,t){var n=t||jr();if(e.css){Ne(n,He('"))}if(e.js){var r=e&&e.mobile?"mobile":"desktop",a=document.createElement("script");a.async=!0,a.type="text/javascript",a.text=X(w,{js:Kr(e.js,n),env:r}),Ne(n,a)}}(e,t))}function Te(e,n){var r=ce({callback:null,delay:10,keep:!1,parent:jr(),type:null},n),a=r.parent,i=r.callback,o=r.keep,c=r.type,s=r.delay,l=null;if(!ee(a))throw new Error(q);function u(e){l.onload=l.onreadystatechange=l.onerror=e}function d(t){for(u(null),t&&"error"===t.type&&we("GG-ERROR",e);l.lastChild;)je(l,l.lastChild);l.parentNode&&o&&je(!1,l),Y(i)&&i.apply(this,arguments)}function p(e){(e=l.readyState)&&"complete"!==e&&"loaded"!==e&&4!==e||d.apply(l,arguments)}switch(!0){case"i"===c||"img"===c:(l=new Image(1,1)).style.display="none";break;case"s"===c||"scr"===c||"script"===c:(l=t.createElementNS?t.createElementNS("htt".concat("p://www.w3.org/1999/xhtml"),"script"):De("script")).setAttribute("async",!0),l.setAttribute("data-cfasync",!1),l.setAttribute("type","text/javascript"),u(p);break;default:o=!0,(l=Ce("iframe")).style.display="none",u(p)}return Ot((function(){l.src=e,Ne(a,l)}),s),l}function ke(e,t){var n,r,a=Or(),i=jr(),o=ce({uid:null,parent:null},t),c=ce({e:null,i:null,t:null,u:null,d:null},e);Te((n=c.u,r=o.uid,n.replace(I,r.toString())),{parent:o.parent||(c.i?a:i),type:c.t})}function Ge(e,t,n,r,a,i){for(var o=t||"*",c=(e||[]).filter((function(e){return e.u&&("*"===o||e.e===o||e.e.toUpperCase()===o.toUpperCase())})),s=function(e,t){var o=c[e];o.i&&!i.loaded?lt(i,Yr(de([n,"iframe","loaded"])),(function(){ke(o,{uid:n,parent:qe(i)})})):ke(o,{uid:n,parent:o.i?a:r})},l=0,u=c.length;l]*>([\s\S]*?)<\/script>/gi,(function(e){var r=e.match(/(?/gi,""),o="gumgum_script_placeholder_".concat(t);n.push({id:o,content:i});var c='');return t++,c}return e})),replacedScripts:n}}(t),c=o.replacedHtml,s=o.replacedScripts;e.srcdoc="".concat("".concat(Xn(P)).concat(yt(c))),e.onload=function(){var t,a=e.contentWindow;t=a,Object.keys(n).forEach((function(e){t[e]=n[e]})),function(e,t){var n=e.contentDocument.querySelectorAll("script[data-gg-src]");0!==t.length+n.length&&(n.forEach((function(e){var t=document.createElement("script");Array.from(e.attributes).forEach((function(e){"data-gg-src"===e.name?t.setAttribute("src",e.value):t.setAttribute(e.name,"".concat(e.value))})),e.parentNode.replaceChild(t,e)})),t.forEach((function(t,n){var r=document.createElement("script");if(t.content){r.text=t.content;var a=e.contentDocument.getElementById("gumgum_script_placeholder_".concat(n));a&&a.parentNode&&a.parentNode.replaceChild(r,a)}})))}(e,s),r(e)},e.onerror=a}catch(e){e.message="error in attempt to write iframe - ".concat(e.message),Se(Wn(i.adbuyid,5,e,i.dcri))}return e}function We(e,t,n){return/^[0-9.]+(px)?$/.test(e)?t?parseFloat(e):function(e,t){return e=parseInt(e,10),isNaN(e)?t:e}(e):n||0}function Xe(e,t){return function(e,t){var n=getComputedStyle(e);return n?n.getPropertyValue(t):null}(e,function(e){return e.replace(/([A-Z]{1})/g,(function(e,t){return t?"-".concat(W(t)):e}))}(t))}function $e(e,t){return We(Xe(e,t),!1,0)}function Ke(e,t){return We(Xe(e,t),!0,0)}function Ye(e){for(var t=e,n=$e(t,"z-index");0===n&&(t=t.parentNode)&&t.nodeType&&t.nodeType===Node.ELEMENT_NODE;)n=$e(t,"z-index");return n}function Je(e,t){var n=!1,r=!1,a=!1,i=!1;return ee(e)&&(n=100*(Xe(e,"opacity")||1)>=(t||70),r="hidden"!==Xe(e,"visibility"),a="none"!==Xe(e,"display"),i=e.offsetWidth>0&&e.parentNode),n&&r&&a&&i}function Ze(e){var t={},n=e.split(" ");return t.top=n[0],t.right=n[1]||n[0],t.bottom=n[2]||n[0],t.left=n[3]||n[1]||n[0],t}function Qe(n,r){var a=(n.ownerDocument||t).defaultView||e,i=Kt(a),o={},c=n.getBoundingClientRect(),s=qe(a),l=r||{top:s.offsetTop,left:s.offsetLeft};return o.left=(c.left||0)+(i.left||0)-(t.clientLeft||0)+(l.left||0),o.top=(c.top||0)+(i.top||0)-(t.clientTop||0)+(l.top||0),o.height=c.height||n.offsetHeight,o.width=c.width||n.offsetWidth,o.zIndex=Ye(n),o}function et(e,t){var n=t||"_uid_";return e[n]=e[n]||Yr(H()),e[n]}function tt(e,t){var n=Element.prototype;return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector).call(e,t)}function nt(e,n){var r=n||t,a=[];try{a=re(r.querySelectorAll(e))}catch(t){we("GG-ERROR","invalid CSS selector",e,t)}return a}function rt(e,n){var r=n||t,a=[];try{a=re(r.getElementsByClassName(e))}catch(t){we("GG-ERROR","invalid CSS class name",e,t)}return a}function at(e,n){var r=n||t,a=[];try{a=re(r.getElementsByTagName(e))}catch(t){we("GG-ERROR","invalid HTML tag name",e,t)}return a}function it(e,n){var r=n||t,a=null;try{a=r.getElementById(e)}catch(t){we("GG-ERROR","invalid id",e,t)}return a}function ot(e,t){return new RegExp(" ?"+t).test(e.className)}function ct(e,t){return e.classList?e.classList.add(t):e.className+=" ".concat(t),e.className}!_e&&t&&t.addEventListener("DOMContentLoaded",(function e(){for(_e=!0,t.removeEventListener("DOMContentLoaded",e);Ie.length;)Ie.shift()()}));var st={};function lt(e,t){var n=re(arguments,2),r=et(e),a=null,i=!!J(n[0])&&n[0],o=Y(n[1])?n[1]:!!Y(n[0])&&n[0],c=Z(n[2])?n[2]:Z(n[1])?n[1]:{};return a=!1!==i?function(e){e.target&&tt(e.target,i)&&o(e)}:o,(st=st||{})[r]=st[r]||{},st[r][t]=st[r][t]||[],st[r][t].push(a),e.addEventListener(t,a,c)}function ut(e,t,n,r){return e.removeEventListener(t,n,ce(r||{},{once:!0}))}var dt=Y(e.MouseEvent)?e.MouseEvent:function(t,n){n=n||{bubbles:!1,cancelable:!1};var r=document.createEvent("MouseEvent");return r.initMouseEvent(t,n.bubbles,n.cancelable,e,0,n.screenX||0,n.screenY||0,n.clientX||0,n.clientY||0,n.ctrlKey||!1,n.altKey||!1,n.shiftKey||!1,n.metaKey||!1,n.button||0,n.relatedTarget||null),r};function pt(e,t,n){var r=new(/mouse|click/.test(t)?dt:Yt)(t,n||{bubbles:!0});return e.dispatchEvent(r)}function gt(e,t){M().fire(jr(),[A,e].join("."),t)}function ft(e,t){var n=!1;return Z(e)&&Z(t)&&(n=t.bottom>=e.top&&t.bottom<=e.bottom||t.top>=e.top&&t.top<=e.bottom||t.top<=e.top&&t.bottom>=e.bottom||t.top>=e.top&&t.bottom<=e.bottom),n}function ht(t,n){var r=Y(t)?t:function(){we("onPageScroll","".concat(t," is not a function."))},a=n||{},i=Ft(),o=i?top:e;i||we("onPageScroll","Unable to get top window access, falling back to current window"),o.addEventListener("scroll",r,a)}function mt(t,n){var r=Y(t)?t:function(){we("offPageScroll","".concat(t," is not a function."))},a=n||{};(Ft()?top:e).removeEventListener("scroll",r,a)}function vt(e){return ee(e)&&e.getBoundingClientRect()}function bt(){return t&&t.getElementsByTagName("head")[0]}function yt(e){return e.replace(/([\"\'])(?:(?:\/\/)|(?:http:\/\/))(.*?)([\"\'])/gim,"$1https://$2$3")}function wt(){if(Ae)return Ae;var e=bt().querySelector("meta[property='og:url']");return Ae=e?e.content:null}function At(e){if(!e.querySelectorAll)return!1;var t=e.querySelectorAll("a[target=_top]");return t.forEach((function(e){e.setAttribute("target","_blank")})),t}function It(t){var n=t||e;return n.$sf?n.$sf:!(!Ft()||n===top)&&It(n.parent)}function _t(e,t,n,r,a){var i=$r(!r),o=Xn(e),c=Z(a)?a:{},s=Object.keys(c),l=c.GUMGUMAD;return t&&!t.nodeType&&(t=nt(t)||[!1]),!!t&&(l&&(l.iframe=i,l.getBody=function(){return i.contentDocument.body}),n&&t.parentNode?t.parentNode.replaceChild(i,t):Ne(t,i),Ot((function(){var r=i.contentDocument;r?(r.open("text/html","replace"),i.contentWindow.GUMGUM=Pr(),s.forEach((function(e){i.contentWindow[e]=a[e]})),r.write('
'.concat(o)),Ot((function(){r.close(),pt(t,"iframeLoaded.gumgum")}),50)):we("iframeHTML:contentDocument not found",e,t,n)}),50),i)}function Et(e,t,n){var r=n||this.pIfr;r?(r.height=t||"1px",r.width=e||"1px",we("resized parent iframe",{width:e,height:t,ifr:r})):we("no parent iframe to resize")}function xt(t){try{return e.JSON.stringify(t)}catch(e){return we("GG-ERROR","toJSON",e),null}}function St(e){var t=null;try{t="string"==typeof e&&(e=e.trim())&&e.length>0&&(0===e.indexOf("{")||0===e.indexOf("["))?JSON.parse(e):null}catch(e){we("GG-ERROR","parseJSON",e)}return t}function Rt(t){var n=t||e,r=null,a=null;return Z(n.context)?r=n.context:(Z(a=St(n.name))&&(r=a._context||(a.attributes?a.attributes._context:null)),Z(n.AMP_CONTEXT_DATA)&&(r=n.AMP_CONTEXT_DATA)),Z(r)&&(!e.sourceUrl&&r.sourceUrl&&(e.sourceUrl=r.sourceUrl),!e.sourceReferrer&&r.sourceReferrer&&(e.sourceReferrer=r.sourceReferrer)),r}function Pt(t,n){try{var r=t||e,a=null;return"googletag"in r?a=r.googletag:Vt(r)||(a=Pt(r.parent)),a}catch(e){return we("ERROR getting googletag",e),null}}var Tt="callback",kt="message",Gt="postMessage";function Dt(t,n,r){var a=ce({ggt:!0,wn:e.name,loc:e.location},t);return we(Gt,t,a,n,e),(r||top)[Gt]("GUMGUM".concat(tn(xt(a))),n||"*")}function Ct(e){return J(e)&&/^GUMGUM/.test(e)?St(nn(e.substr(6))):{}}function Nt(e){var t=re(arguments,1);return Dt({fn:e,params:t})}function Mt(t,n){var r=re(arguments,2),a="ggpmcb".concat(ge());function i(t){var r=Ct(t.data);r.ggt&&r[Tt]===a&&(n(r.value),ut(e,kt,i),we([Gt,Tt].join(":"),t))}if(!Y(n))throw new TypeError;return lt(e,kt,i),Dt({fn:t,callback:a,params:r})}function jt(e){function t(e,t,n){for(;0>>32-t}function r(e,t,n){return e^t^n}function a(e,t){var n=(65535&t)+(65535&e);return(65535&(t>>>16)+(e>>>16)+(n>>>16))<<16|65535&n}var i="0123456789abcdef";return function(e){for(var t,n=[],r=4*e.length,a=0;a>2]>>8*(3-a%4),n.push(i.charAt(t>>4&15)+i.charAt(15&t));return n.join("")}(function(e,i){var o,c,s,l,u,d=e.length,p=1732584193,g=4023233417,f=2562383102,h=271733878,m=3285377520,v=[];t(v,1518500249,20),t(v,1859775393,20),t(v,2400959708,20),t(v,3395469782,20),e[i>>5]|=128<<24-i%32,e[15+(i+65>>9<<4)]=i;for(var b=0;b>>16)+(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(i>>>16))<<16|65535&i}(y<20?function(e,t,n){return e&t^~e&n}(c,s,l):y<40?r(c,s,l):y<60?function(e,t,n){return e&t^e&n^t&n}(c,s,l):r(c,s,l),u,v[y],w[y],n(o,5));u=l,l=s,s=n(c,30),c=o,o=A}p=a(p,o),g=a(g,c),f=a(f,s),h=a(h,l),m=a(m,u)}return[p,g,f,h,m]}(function(e){for(var t=[],n=8*e.length,r=0;r>5]|=(255&e.charCodeAt(r/8))<<24-r%32;return t}(e).slice(),8*e.length))}var Ot=e.setTimeout,Ut=e.clearTimeout,Bt=!1,Lt=null,qt=null,zt=null,Ht=Object.freeze(["unk","badge","services","native","slot","ggadmin","upstream","gumgum","vpaid"]);function Ft(){var e=!1;try{e=!!top.document}catch(e){}return e}function Vt(t){return(t||e)===top}function Wt(t,n){try{return(n||e)[t]}catch(e){return!1}}function Xt(t){var n=t||e;return{width:n.innerWidth,height:n.innerHeight}}function $t(e){var t={width:screen.availWidth,height:screen.availHeight},n=Y(e)?e:function(){we("getTopWH","".concat(e," is not a function."))};return Ft()?t=Xt(top):kr()?Mt("getWH",n):we("Unable to get top window dimensions, falling back to screen size"),n(t),t}function Kt(t){var n=t||e,r=n.document,a=r.documentElement||{scrollLeft:0,scrollTop:0},i=r.body,o=i.parentNode,c=Math.max;return{left:n.scrollX||n.pageXOffset||c(a.scrollLeft,c(o.scrollLeft,i.scrollLeft)),top:n.scrollY||n.pageYOffset||c(a.scrollTop,c(o.scrollTop,i.scrollTop))}}function Yt(n,r,a){if(a||!Y(e.CustomEvent)){var i=t.createEvent("CustomEvent");return r=r||{bubbles:!1,cancelable:!1,detail:void 0},i.initCustomEvent(n,r.bubbles,r.cancelable,r.detail),i}try{return new e.CustomEvent(n,r)}catch(e){return new Yt(n,r,!0)}}var Jt=e.requestIdleCallback||e.requestAnimationFrame||function(e){return Ot(e,0)},Zt=e.cancelIdleCallback||e.cancelAnimationFrame||function(e){Ut(e)};function Qt(){return zt||(zt=jt(function(){try{var t=navigator,n=screen,r=t.plugins,a=[],i=null,o=0,c=0,s=null,l=null;if(r.length)for(o in r)if(ae(r,o)&&(s=r[o])&&s.name){for(c in i=[],s)ae(s,c)&&(l=s[c])&&l.type&&i.push("".concat(l.type,"~").concat(l.suffixes));a.push("".concat(s.name,"::").concat(i.join(",")))}return[t.userAgent,t.platform,t.product,t.productSub,t.vendor,t.vendorSub,[n.height,n.width,n.colorDepth,n.pixelDepth,e.devicePixelRatio].join("x"),(new Date).getTimezoneOffset(),!!e.console,!!Wt("sessionStorage"),!!Wt("localStorage"),!!Wt("indexedDB"),a.join(";")].join("###")}catch(e){return we("GG-ERROR",e),"BF-ERROR"}}())),zt}function en(){return function(){try{return!!t.createEvent("TouchEvent")}catch(e){return!1}}()}function tn(t){return e.btoa(V(t))}function nn(t){try{return e.atob(t)}catch(e){return null}}function rn(t,n,r,a){var i=t||"services",o=Ht.indexOf(i);o=-1===o?0:o;var c=n||0,s=e.ggcxm?16:r||o,l=e.top&&e.top!==e?It()?1:Ft()?2:3:0,u=[],d=a||"0.0.0";return Rt()&&u.push(1),Pt()&&u.push(2),u.length||u.push(0),we("JCSI",i,o,l,u),{t:c,rq:s,ren:o,fc:l,ctx:u,jsv:"3.88.26",pbv:d}}function an(e){var t=Dr();if(!t)return null;var n=new RegExp("(?:[?])".concat(e,"=(.*?)(?:&|$)")),r=t.match(n);return r&&r.length&&r.length>1?r[1]:null}function on(t){var n=t||Xt(e),r=new Date;return{dp:Cr(),pu:Vn(Dr()),ogu:wt(),rf:Gr(),pv:Hr(),kv:un(),r:"3.88.26",jcsi:xt(rn()),ns:sn(),bf:Qt(),ce:ln(),fs:cn(),dpr:e.devicePixelRatio||1,sch:screen.height,scw:screen.width,lt:r.getTime(),to:r.getTimezoneOffset(),vpii:e.top&&e.top!==e,vph:n.height,vpw:n.width}}function cn(){var t="Shockwave Flash",n="application/x-shockwave-flash";if(null===Lt){var r=e.navigator;if(Lt=!1,r.plugins!==L&&Z(r.plugins[t]))!r.plugins[t].description||r.mimeTypes!==L&&r.mimeTypes[n]&&!r.mimeTypes[n].enabledPlugin||(Lt=!0);else if(e.ActiveXObject!==L)try{Lt=new e.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version")}catch(e){}}return Lt}function sn(t){var n=t||e,r=n.navigator&&(n.navigator.connection||n.navigator.mozConnection||n.navigator.webkitConnection),a=r&&(r.downlink||r.bandwidth);return a?Math.round(1024*a):null}function ln(){return null===qt&&(qt=navigator.cookieEnabled),qt}function un(){var t=e.ggData=e.ggData||{};return Object.keys(t).length?xt(t):void 0}var dn=[],pn=e.requestAnimationFrame,gn=e.cancelAnimationFrame;function fn(t,n){return pn?pn(t):e.setTimeout(t,n||1)}function hn(t){pn?gn(t):e.clearTimeout(t)}function mn(e,t){var n=setTimeout(e,t);return dn.push(n),n}function vn(t,n){var r=n||[0,.5,.9,1];return new(t||e).IntersectionObserver((function(e,t){e.forEach((function(e){var t=Math.round(100*e.intersectionRatio),n=new Yt(k,{detail:{ratio:t,isIntersecting:e.isIntersecting}});e.target.dispatchEvent(n)}))}),{threshold:r})}function bn(t){var n="SQC-".concat(t||"unk"),r=Pr();return function(t,n){var r=Pr(),a=Ft()?top:e;return r[t]=a[t]=n,r[t]}(n,((Ft()?top[n]:e[n])||r[n]||0)+1)}var yn={aii:null,abi:null,pi:null,m:""},wn={TAG_BASED_INIT:"tbi",HEADER_BIDDING_INIT:"hbi",SERVICES_START:"ss",SERVICES_END:"se",SERVICES_DURATION:"sd",INIMAGE_START:"iis",INIMAGE_END:"iie",INIMAGE_DURATION:"iid",INSCREEN_START:"iss",INSCREEN_END:"ise",INSCREEN_DURATION:"isd",SKIN_START:"skns",SKIN_END:"skne",SKIN_DURATION:"sknd",AD_RENDER_START:"ars",AD_RENDER_END:"are",AD_RENDER_DURATION:"ard",AD_CLOSE:"ac",PAGE_CLOSE:"pc",CMP_START:"cs",CMP_END:"ce",CMP_DURATION:"cd",USPAPI_START:"us",USPAPI_END:"ue",USPAPI_DURATION:"ud",TCF_START:"ts",TCF_END:"te",TCF_DURATION:"td",GPP_START:"gpps",GPP_END:"gppe",GPP_DURATION:"gppd",PROGRAMMATIC_INIT:"pgi",PROGRAMMATIC_MARKUP_START:"pgms",PROGRAMMATIC_MARKUP_END:"pgme",PROGRAMMATIC_MARKUP_DURATION:"pgmd",PROGRAMMATIC_AD_START:"pgas",PROGRAMMATIC_AD_END:"pgae",PROGRAMMATIC_AD_DURATION:"pgad"};for(var An in wn)yn[wn[An]]=null;function In(e){return"00".concat(e).slice(-2)}function _n(e,t,n){var r=Math.round(parseFloat(n||H()));return e.events[t]||(e.events[t]=r,e.events.reported=0),this}function En(){}var xn,Sn=Pr(),Rn="gdprApplies";function Pn(t){if(t=Z(t)?t:{},!It())return!1;e.$sf.ext.register(300,250,(function(e,n){"cmpReturn"===e&&(t.gdpr||function(){})(n.VendorConsents,n.success)}))}var Tn,kn=function(){xn=H();var t,n,r={},a={},i={},o=61,c=function(){};function s(e,a){if(!a)return we("GG-ERROR","error in GDPR CMP call.");Object.keys(e).forEach((function(t){r[t]=e[t]})),ae(r,Rn)&&(r.gdprApplies=r.gdprApplies?1:0),ae(e,"vendorConsents")&&ae(e.vendorConsents,o)&&(r.gdprGumGum=e.vendorConsents[61]),Y(t)&&(r.cmpAPI=t),"tcloaded"===e.eventStatus&&e.tcString&&(r.consentData=e.tcString),e.vendor&&e.vendor.consents&&e.vendor.consents[61]&&(r.gdprGumGum=e.vendor.consents[61]),Y(n)&&(r.tcfAPI=n),t?(Sn.P&&Sn.P.mark(wn.CMP_START,xn),Sn.P&&Sn.P.mark(wn.CMP_END),Sn.P&&Sn.P.measure(wn.CMP_DURATION,wn.CMP_START,wn.CMP_END)):n&&(Sn.P&&Sn.P.mark(wn.TCF_START,xn),Sn.P&&Sn.P.mark(wn.TCF_END),Sn.P&&Sn.P.measure(wn.TCF_DURATION,wn.TCF_START,wn.TCF_END)),c(e,a)}return function(l,u,d){if(!Y(t))if(e.__tcfapi&&Y(e.__tcfapi))n=e.__tcfapi;else if(e.__cmp&&Y(e.__cmp))t=e.__cmp;else if(It()&&e.$sf.ext&&Y(e.$sf.ext.tcfapi))Pn({gdpr:s}),n=e.$sf.ext.tcfapi;else if(It()&&e.$sf.ext&&Y(e.$sf.ext.cmp))Pn({gdpr:s}),t=e.$sf.ext.cmp;else{for(var p,g,f=e;!p&&!g;){try{if(f.frames.__tcfapiLocator){g=f;break}if(f.frames.__cmpLocator){p=f;break}}catch(e){we("GG-ERROR","accessing window frames while looking for CMP",e)}if(f===e.top)break;f=f.parent}if(!p&&!g)return we("No CMP found"),r;p&&(t=e.__cmp=function(e,t,n){var r=Math.random()+"ggCMP",i={__cmpCall:{command:e,parameter:t,callId:r}};a[r]=s,p.postMessage(i,"*")},e.addEventListener("message",(function(e){var t=(St(e.data)||e.data||{}).__cmpReturn;if(t){var n=t.callId,r=t.returnValue,i=t.success;a[n](r,i),delete a[n]}}),!1)),g&&(n=e.__tcfapi=function(e,t,n,r){var a="".concat(Math.random(),"ggTCF"),o={__tcfapiCall:{command:e,parameter:r,version:t,callId:a}};i[a]=s,g.postMessage(o,"*")},e.addEventListener("message",(function(e){var t=(St(e.data)||e.data||{}).__tcfapiReturn;if(t){var n=t.callId,r=t.returnValue,a=t.success;i[n](r,a),delete i[n]}}),!1))}return c=Y(d)?d:En,!l&&t?(t("ping",null,s),t("getConsentData",null,s),t("getVendorConsents",[o],s)):!l&&n?(n("ping",2,s),n("addEventListener",2,s,[o])):t?t(l,u,s):n&&("getVendorConsents"===l&&(l="addEventListener"),n(l,2,s,u)),r}}(),Gn=Pr(),Dn=function(){Tn=H();var t,n={},r={},a=function(){};function i(e,r){Gn.P&&Gn.P.mark(wn.GPP_START,Tn),Gn.P&&Gn.P.mark(wn.GPP_END),Gn.P&&Gn.P.measure(wn.GPP_DURATION,wn.GPP_START,wn.GPP_END);try{if(!r)return we("GG-ERROR","error in GPP API call.");Object.keys(e).forEach((function(t){n[t]=e[t]})),n.gppString=e.gppString,n.gppSid=e.applicableSections,Y(t)&&(n.gppAPI=t),a(e,r)}catch(e){we("GG-ERROR","error in GPP API data callback")}}return function(o,c,s){if(!Y(t))if(e.__gpp&&Y(e.__gpp))t=e.__gpp;else{for(var l,u=e;!l;){try{if(u.frames.__gppLocator){l=u;break}}catch(e){we("GG-ERROR","accessing window frames while looking for GPP",e)}if(u===e.top)break;u=u.parent}if(!l)return we("No GPP found"),n;l&&(t=e.__gpp=function(e,t,n){var a=Math.random()+"ggGPP",o={__gppCalll:{command:e,parameter:t,callId:a}};r[a]=i,l.postMessage(o,"*")},e.addEventListener("message",(function(e){var t=(St(e.data)||e.data||{}).__gppReturn;if(t){var n=t.callId,a=t.returnValue,i=t.success;r[n](a,i),delete r[n]}}),!1))}return a=Y(s)?s:En,!o&&t?t("getGPPData",i):t(o,c,i),n}}();function Cn(e,t){var n,r,a={},i=t||Nn;for(n in e)e.hasOwnProperty(n)&&(r=e[n],!0===i.call(e,r,n)&&(a[n]=r));return a}function Nn(e){return null!==e&&e!==L}function Mn(e,t,n){return Object.defineProperty(e,t,{value:n,writable:!1})}var jn,On=Pr(),Un=function(){jn=H();var t,n={},r={},a=En;function i(e,r){On.P&&On.P.mark(wn.USPAPI_START,jn),On.P&&On.P.mark(wn.USPAPI_END),On.P&&On.P.measure(wn.USPAPI_DURATION,wn.USPAPI_START,wn.USPAPI_END);try{if(!r)return we("GG-ERROR","error in USP API call.");var i=["version","notice","optout","lspa"];(e.uspString&&e.uspString.split("")).forEach((function(e,t){n[i[t]]="".concat(e)})),n.uspConsent=e.uspString,Y(t)&&(n.uspAPI=t),a(e,r)}catch(e){we("GG-ERROR","error in USP API data callback")}}return function(o,c,s){if((new Date).getTime()<15778656e5)return{uspConsent:"1---"};if(!Y(t))if(e.__uspapi&&Y(e.__uspapi))t=e.__uspapi;else{for(var l,u=e;!l;){try{u.frames.__uspapiLocator&&(l=u)}catch(e){we("GG-ERROR","accessing window frames while looking for USPAPI",e)}if(u===window.top)break;u=u.parent}if(!l)return we("No USP API found"),n;t=e.__uspapi=function(e,t,n){try{var a="".concat(Math.random(),"ggUSP"),o={__uspapiCall:{version:1,command:e,parameter:t,callId:a}};r[a]=i,l.postMessage(o,"*")}catch(e){we("GG-ERROR","error creating uspapi handler")}},e.addEventListener("message",(function(e){try{var t=(St(e.data)||e.data||{}).__uspapiReturn;if(t){var n=t.callId,a=t.returnValue,i=t.success;r[n](a,i),delete r[n]}}catch(e){we("GG-ERROR","error listening for message from usp api")}}),!1)}return a=Y(s)?s:En,o?t(o,c,i):t("getUSPData",1,i),n}}();function Bn(){return c}function Ln(){return i}function qn(){return o}function zn(e,t,n){var r=kn(),a=Un(),i=Dn(),o=ce(on(Ft()?{height:top.innerHeight,width:top.innerWidth}:null),{t:e,gdprApplies:r.gdprApplies,gdprConsent:r.consentData,gdprGumGum:r.gdprGumGum,adBuyId:t,eAdBuyId:n,dealId:an("ggdeal"),eaft:an("eaft"),sqc:bn(x.INSCREEN),uspConsent:a.uspConsent,gpp:i.gppString,gpp_sid:i.gppSid});return"".concat(Ln(),"/inscreen").concat(he(o))}function Hn(e,t,n){var r=kn(),a=Un(),i=Dn(),o=ce(on(Ft()?{height:top.innerHeight,width:top.innerWidth}:null),{t:e,gdprApplies:r.gdprApplies,gdprConsent:r.consentData,gdprGumGum:r.gdprGumGum,adBuyId:t,eAdBuyId:n,dealId:an("ggdeal"),eaft:an("eaft"),sqc:bn(x.SKIN),uspConsent:a.uspConsent,gpp:i.gppString,gpp_sid:i.gppSid});return"".concat(Ln(),"/skins").concat(he(o))}function Fn(e){return"(?:[#|&|?])(?:".concat(e,")=([a-zA-Z0-9_\\-%+]*)")}function Vn(e){return e.replace(new RegExp(Fn("ggad"),"g"),"").replace(new RegExp(Fn("ggdeal"),"g"),"").replace(new RegExp(Fn("ggslot"),"g"),"").replace(new RegExp(Fn("ggslotad"),"g"),"").replace(new RegExp(Fn("ggslotsize"),"g"),"").replace(new RegExp(Fn("gg_badge_collapsed"),"g"),"").replace(new RegExp(Fn("eaft"),"g"),"")}function Wn(e="",t,n,r=""){var a={e:"other",et:t,ab:e,t:Lr(),pu:Vn(Dr()),kv:xt({error:n.name,reason:n.message})};return r&&(a.dcri=r),"".concat(Ln(),"/ad/event").concat(he(a))}function Xn(e){return e=(e=(e=(e=(e=e.replace(b,v)).replace(/_C_CDN_/g,Bn())).replace(/_JS_CDN_/g,qn())).replace(/_AS_CDN_/g,Ln())).replace(/_AB_CDN_/g,s)}function $n(t){var n,r=t.url||!1,a=t.success||t.callback||En,i=t.timeout||7e3,o="POST",c="withCredentials",s=1,l=(n=new XMLHttpRequest,c in n||e.XDomainRequest===L||(n=new e.XDomainRequest,s=0),n),u=t.error||function(e){return we("GG-ERROR",r,e,l)},d=t.done||En,p=t.postData||null,g=t.headers||{},f=t.method||(p?o:"GET"),h=null,m=null;if(l&&r){for(m in s?l.open(f,r,!0):l.open(f,r),l.withCredentials=t.withCredentials||!1,f!==o||t.noCT||l.setRequestHeader("Content-type","multipart/form-data"),g)ae(g,m)&&l.setRequestHeader(m,g[m]);return l.onload=function(){Ut(h),a(l),d(l)},l.onerror=function(){Ut(h),u(l),d(l)},l.send(JSON.stringify(p)),h=Ot((function(){l.abort()}),i),l}}function Kn(e,t,n,r){var a=function(e){return e?function(t){var n=St(t.responseText);e(n)}:L};return $n({url:e,withCredentials:!0,success:a(t),error:a(n),done:a(r)})}function Yn(e,t){var n,r,a,i,o,c,s,l,u,d,p,g,f=Q(e)?e:{},h=Y(t)?t:En;return Kn((n=f.slotId,r=f.adBuyId,a=f.eAdBuyId,i=f.size,o=on(),c=o.vpw,s=o.vph,l=o.scw,u=o.sch,d=i&&i[0],p=i&&i[1],g=ce(o,{t:Lr(),pi:3,si:n,bf:i.join("x"),dealId:an("ggdeal"),maxw:d,maxh:p,adBuyId:r,eAdBuyId:a,vw:c,vh:s,sw:l,sh:u}),"".concat(Ln(),"/hbid/imp").concat(he(g))),h)}var Jn=Pr();function Zn(t,n){var r=this;if(r.uid="ad_ii_".concat(z()),r.productPrefix=E.INIMAGE,r.status=p,Jn.GGADS.push(r),!ee(n)||!n.parentNode)throw new Error(q);if(r.hasAds=t.hasAds||t.content,r.independentPixels={liu:t.liu,pxs:t.pxs},r.parent=jr(),r.element=n,r.positionFPS=4,r.elementViewablePct=25,r.observer=vn(Ft()?top:e,t.viewabilityThresholds),er.call(r),r.hasAds)try{r.init(t)&&r.build()&&r.autoattach&&r.attach()}catch(e){throw window.GumRaven&&window.GumRaven.setExtraContext({ad:r}),r.log("GG-ERROR",e),new Error(e)}else r.config=t}function Qn(e,t){var n=this;e&&(Se(e),n.log("dropped liu pixel ",e)),oe(t)||(Jn.PXS&&Jn.PXS.triggerAssetPixels(t),n.log("dropped asset pixels ",t)),n.droppedPixels=!0}function er(){var e=this,t=e.element,n=e.observer;e.whenElementIsViewableFn=rr.bind(e),lt(t,k,e.whenElementIsViewableFn),n.observe(t)}function tr(){var e=this,t=e.element;e.observer.unobserve(t),ut(t,k,e.whenElementIsViewableFn),delete e.whenElementIsViewableFn}function nr(){try{var e=this,t=ar(),n=t.cacheImages[e.pack.u],r=t.refresh,a=r.intervalTime,i=r.maxRefreshes;n.refresh={int:a,max:i,cur:n.refresh&&n.refresh.cur||1},n.refresh.cur=t.elementViewablePct){var n=t.hasAds;if(Jn.P&&(t.P=Jn.P.createChildInstance(t.config,t.uid,t.productPrefix)),t.inview=!0,!t.droppedPixels&&t.independentPixels){var r=t.independentPixels,a=r.liu,i=r.pxs;Qn.call(t,a,i)}n&&!t.built?t.autoattach=!0:t.attach()}}function ar(t,n){var r=Pr();if(r.AT)return r.AT;var a=t||{},i=n||Xt(e),o={tick:0,zIndexOffset:a.zo||0,pscan:a.ps||!1,minHeight:~~a.mh||150,minWidth:~~a.mw||150,minOpaque:a.ot||70,tweakOverflow:a.of,foundImages:0,scanTimeout:null,inViewRatio:a.tr||0,vpDimension:{w:i.width,h:i.height},UUID:0,classInclude:a.ci||!1,classExclude:a.ce||!1,prefetch:a.inImagePrefetch||!1,frequencyCap:{timeLimit:a.freqCapTime||0,impressionLimit:a.freqCapImps||0,serveTimes:[]},refresh:{intervalTime:a.ref&&a.ref.int||2592e6,maxRefreshes:a.ref&&a.ref.max||1},cacheImages:{},cacheImagesIndex:{},cacheImagesNatural:{}};return r.AT=o,r.AT}function ir(t,n,r){var a,i=Pr(),o=i.ADS,c=ar(),s=Boolean,l=parseInt(n,10)||null,u=an("ggad"),d=an("ggdeal"),p=t.i,g=c.cacheImagesIndex[p],f="InImageBadge",h=function(){try{return St(localStorage.getItem(C))||{}}catch(e){return{}}}(),m=Xt(e),v=H(),b={v:"1.1",pv:Hr(),r:"3.88.26",t:Lr(),rf:Gr(),fs:cn(),ce:ln(),p:Vn(Dr()),ai:Vr(),dp:Cr(),a:[t],ac:o?o.occurrences:{},vp:{ii:e.top&&top!==e,w:m.width,h:m.height},sc:{w:e.screen.width,h:e.screen.height,d:e.devicePixelRatio||1},tr:c.inViewRatio||null,ogu:wt()},y={adId:l,encryptedAdId:u,dealId:d},w={longitude:h.long,latitude:h.lat};if(Qr())return Zr({type:f,data:{i:t.i,thrott:!0}});if(ea())return Zr({type:f,data:{i:t.i,app:!0}});if(s(sr(g.img)))return Zr({type:f,data:{i:t.i,classr:!0}});var A=!1;g.refresh&&g.refresh.cur>=1&&(A=!0),Kn(function(e,t,n,r){var a=t.adId,i=t.encryptedAdId,o=t.dealId,c=n.longitude,s=n.latitude,l=kn(),u=Un(),d=Dn(),p={assets:xt(Cn(e)),bf:Qt(),lt:z(),to:F(),kv:un(),ai:Vr(),gdprApplies:l.gdprApplies,gdprConsent:l.consentData,gdprGumGum:l.gdprGumGum,adBuyId:a,eAdBuyId:i,eaft:an("eaft"),dealId:o,jcsi:xt(rn()),ns:sn(),long:c,lat:s,uspConsent:u.uspConsent,gpp:d.gppString,gpp_sid:d.gppSid,r:r};return"".concat(Ln(),"/assets/new").concat(he(p))}(b,y,w,A),(function(e){if(!Z(e))throw new Error("Empty server response for InImage ad");a=H();var o=e.ads,c=e.bdg,d=e.ebdg,p=e.liu,f=e.pxs,h=ne(o),m={bdg:c&&c[0],ebdg:d&&d[0],hasAds:h,isForced:s(u||l||n),liu:p,pxs:f},b=ce(h&&o[0]||{},m),y=new Zn(Zn.fromAS(b),g.img);y.pack=t,y.reqForced=n,h&&(we(y),g.ad=y),r&&Y(r)&&r.call(y),i.P&&setTimeout((function e(t){t&&y.P?(y.P.mark(wn.INIMAGE_START,v),y.P.mark(wn.INIMAGE_END,a),y.P.measure(wn.INIMAGE_DURATION,wn.INIMAGE_START,wn.INIMAGE_END)):setTimeout(e,20,--t)}),20,20)}))}function or(t,n,r){var a=ar(),i=Ft()?Xt(e.top):Xt(e),o=Kt(),c=o.top,s=o.left,l=c+i.height,u=s+i.width,d=n.top,p=n.left,g=n.height||1,f=n.width,h=d+g,m=p+f,v=d>=c&&d<=l,b=h>=c&&h<=l,y=h>l&&d=s&&p<=u,A=m>=s&&m<=u,I=pu,_=r||a.inViewRatio,E=p+f*_,x=d+g*_;return!!Je(t)&&(!(!b||!A)||(!_||_>1?(v||b)&&(w||A):!!((y||I)&&Es&&Ec&&xi,!(s||l||u)),h=d.config&&d.config.badge,m=d.config&&d.config.externalbadge;if(oe(h)?oe(m)||(m.uid=d.uid,m.originalMarkup=d.data&&d.data.content,m.external=!0,d.renderBadge(m,p,g,f),Jn.initBadge?Jn.initBadge(null,!0):Re("".concat(o,"/badge.js"),(function(e){Jn.initBadge(null,!0)}),jr())):(h.uid=d.uid,h.originalMarkup=d.data&&d.data.content,d.renderBadge(h,p,g,f)),d.hasAds){if(!(p||g||f)){var v=Jn.AT||ar(),b=d.config,y=b.adbuyid,w=b.isForced;d.attached=!0,d.log("attach"),d.registerAd(),v.frequencyCap.serveTimes.push(z()),Jn.ADS||(Jn.ADS={servedAds:0,occurrences:{}}),w||Jn.ADS.servedAds++,Jn.ADS.occurrences[y]?Jn.ADS.occurrences[y]++:Jn.ADS.occurrences[y]=1}}else gt("inimage.nofill",{img:d.element});return tr.call(d),!0},Zn.prototype.preRemove=function(){return Zt(this.animationTO)},Zn.prototype.animationStep=function(){var e=this,t=e.last||0,n=z(),r=!0;e.positionFPS*(n-t)>1e3&&(e.last=n,r=e.setPosition()),e.animationTO=r&&Jt(e.animationStep.bind(e),{timeout:1e3})},Zn.prototype.setPosition=function(){var e,n,r=this,a=r.container,i=r.data,o=r.element,c={},s=null,l=null,u=null,d=null,p=null,g=null;if(!Je(o,(Jn.AT||ar()).minOpaque)){if(!i.reuse)return r.remove(),!1;c.display="hidden",pt(o,Yr("hidden"))}if(e=Qe(o),!((n=r.elementOffset||{}).top===e.top&&n.left===e.left&&n.width===e.width&&n.height===e.height)){switch(s=Ze(Xe(o,"border-width")),l=Ze(Xe(o,"padding")),c.display="block",i.hsflags.assetwide&&n.width!==e.width?c.width=e.width-We(s.left)-We(s.right)-We(l.left)-We(l.right):c.width=a.getBoundingClientRect().width||i.width,i.hsflags.assettall&&n.height!==e.height?c.height=e.height-We(s.top)-We(s.bottom)-We(l.top)-We(l.bottom):c.height=a.getBoundingClientRect().height||We(i.height),d=e.left+We(l.left)+We(s.left),u=We(l.bottom),g=e.top-We(s.bottom),p=parseInt(e.height)!==u?g-u:g,W(i.hsalignhorizontal)){case"l":c.left=d;break;case"r":c.left=d+e.width-c.width;break;case"c":c.left=d+(e.width-c.width)/2;break;default:c.left=~~i.hsalignhorizontal>0?d+~~i.hsalignhorizontal:d+e.width-c.width+~~i.hsalignhorizontal}switch(W(i.hsalignvertical)){case"t":c.top=p;break;case"b":c.top=p+e.height-c.height;break;case"m":c.top=p+(e.height-c.height)/2;break;default:c.top=~~i.hsalignvertical>0?e.top+~~i.hsalignvertical:e.top+e.height-c.height+~~i.hsalignvertical}ze(a,c),r.elementOffset=e,r.log("setPosition",c)}return t&&t.body&&!t.body.contains(o)?(r.log("InImage ad removed by method other than close or destroy",r),hn(r.rAFref)):r.rAFref=fn((function(){return r.setPosition()}),1),!0},Zn.prototype.setAdRefresh=nr,Zn.prototype.renderBadge=function(e,t,n,r){var a=this,i=a.data||a.config,o=ce(e,{thrott:t,max:n,freq:r}),c="InImageBadge";Zr({type:c,data:o,adMarkup:i.ad||""}),a.log("renderBadge::".concat(c),o)};var lr="closeModal",ur="getModal",dr="".concat(Bn(),"/ads/com/gumgum/close/new/close_dark_3x.png"),pr={ifr:!0,mfs:!0,mw:"100%",mh:"100%",mcc:dr,mos:{},mss:{},mcd:null,mcs:{},cache:!1,top:!0},gr={},fr=null;function hr(t){var n,r,a,i,o,c,s=He(''),l=Ue(s),u=He(Xn('')),d=(n=t,r=Xt(Ft()?top:e),a=~~n.mw||570,i=~~n.mh||570,{width:Math.min(r.width,a),height:Math.min(r.height,i)}),p="GGModal_".concat(t.uid||"StandAlone"),g=t.ifr?$r(!0):De("div");return s.className=p,ze(s,{zIndex:2147483639}),t.mos&&ze(s,t.mos),l.style.width=t.mfs?"100%":"".concat(d.width,"px"),l.style.height=t.mfs?"100%":"".concat(d.height,"px"),t.mss&&ze(l,t.mss),t.mcs&&ze(u,t.mcs),t.ifr&&(g.name=p,g.setAttribute("data-options",xt(t)),J(t.allow)&&g.setAttribute("allow",t.allow)),Ne(l,g),c=u,(o=l).insertBefore(c,o.firstChild||null),Object.create(null,{closeButton:{writable:!1,value:u},container:{writable:!1,value:l},overlay:{writable:!1,value:s},options:{writable:!1,value:t},modalRoot:{writable:!1,value:g},iframe:{writable:!1,value:!!t.ifr&&g},root:{get:function(){return this.iframe?this.iframe.contentDocument:this.modalRoot},set:function(){}}})}function mr(e,t){if(t.top&&!Ft())throw new Error("Missing top access");fr&&Ar();var n=e.closeButton,r=t.mcc||dr,a=function(e){return n.innerHTML=e,e>0?setTimeout(a,1e3,e-1):(n.innerHTML=Xn(''.replace("_MCC_",r)),void lt(n,"click",Ar))};return a(Math.ceil(t.mcd/1e3)||0),!Be(e.overlay)&&Ne(jr(),e.overlay),t.cache&&(e.overlay.style.display="block"),gt("modal.open",{modalElements:e}),fr=e}function vr(e,t){return jt(JSON.stringify({content:e,options:t})).substr(0,8)}function br(e,t,n){try{var r,a=ce(pr,t||{}),i=vr(e,a),o=Y(n)?n:En,c=a.cache;if(c&&gr[i])r=gr[i],setTimeout(o,50,r);else if(r=hr(a),c&&(gr[i]=r),a.ifr){var s=this,l=Pr(),u=s&&s.uid?s:{};Fe(r.iframe,e,{GUMGUM:l,GUMGUMAD:u},(function(){return o(r)}))}else r.root.innerHTML=e,setTimeout(o,50,r);return mr(r,a),we("openModal",e,a,o),r}catch(e){we("GG-ERROR",e)}}function yr(e,t,n){try{var r,a=ce(pr,t||{}),i=vr(e,a),o=Y(n)?n:En,c=a.cache;return c&&gr[i]?(r=gr[i],setTimeout(o,50,r)):((r=hr(a)).iframe.onload=function(){return o(r)},r.iframe.src=e,c&&(gr[i]=r)),mr(r,a),we("openModal",e,a,o),r}catch(e){we("GG-ERROR",e)}}function wr(t,n,r){var a=this,i=/^https?:\/\//.test(t),o=Y(r)?r:En;Z(a)&&Z(a.data)&&(n=a.data);var c,s,l,u,d,p=ce(pr,n||{});return p.top?Ft()?i?yr(t,p,o):br(t,p,o):kr()?Nt("openModal",t,p,o):e.open(i?t:(c=t,u=s||"text/html",d=l?c:"base64,".concat(tn(c)),"data:".concat(u,";").concat(d)),ge()):i?yr(t,p,o):br(t,p,o)}function Ar(e){(e instanceof Event&&e.stopPropagation(),fr)&&(fr.options.cache?fr.overlay.style.display="none":(ut(fr.closeButton,"click",Ar),Me(fr.overlay)),gt("modal.close"),fr=null)}function Ir(){return fr}function _r(t){var n,r,a,i,o,c,s,l,u,d,p,g,f,h,m,v,b,y=Math.max,w=Math.min,A=Math.round;return ee(t)?(r=(n=t.ownerDocument&&t.ownerDocument.defaultView)||e,a=Qe(t),i=Kt(r),o=Xt(r),c=i.top,s=i.left,l=o.height,u=o.width,(b=n&&n.frameElement)&&_r(b)<1?0:(a.top>c+l||a.left>s+u||a.top+(a.height||0)=c&&a.top+a.height<=c+l&&a.left>=s&&a.left+a.width<=s+u?v=100:a.height?(d=y(0,c-a.top),p=y(0,a.top+a.height-(c+l)),g=(a.height-(d+p))/(a.height/100),f=y(0,s-a.left),h=y(0,a.left+a.width-(s+u)),v=A(w(g,m=(a.width-(f+h))/(a.width/100))*(y(g,m)/100))):v=0,v)):0}var Er=null,xr=null;function Sr(e,t){var n=Pr().GGADS||[];return e&&(n=n.filter((function(t){var n=t.container&&Be(t.container);switch(e){case l:return n;case u:return!n;case d:return!n&&t.status===d;case p:return!n&&t.status===p;case g:return!n&&t.status===g;default:return!1}}))),t&&(n=n.filter((function(e){return e.productPrefix===t}))),n}function Rr(e){return Z(e)||(e={}),!("isad"in e)&&(e.isad=null),!("Stack"in e)&&(e.Stack=[]),!("subs"in e)&&(e.subs={}),!("productDict"in e)&&(e.productDict={}),!("activeProducts"in e)&&(e.activeProducts=[]),!("byId"in e)&&(e.byId=it),!("bySelector"in e)&&(e.bySelector=nt),!("Bean"in e)&&(e.Bean=j()),!("debounce"in e)&&(e.debounce=be),!("elementViewablePercent"in e)&&(e.elementViewablePercent=_r),!("extend"in e)&&(e.extend=ce),!("getOffset"in e)&&(e.getOffset=Qe),!("getPageReferrer"in e)&&(e.getPageReferrer=Gr),!("getPageURL"in e)&&(e.getPageURL=Nr),!("getTopWH"in e)&&(e.getTopWH=$t),!("getWH"in e)&&(e.getWH=Xt),!("getZoneID"in e)&&(e.getZoneID=Lr),!("hasTopClient"in e)&&(e.hasTopClient=!1),!("isMobile"in e)&&(e.isMobile=en),!("loadImg"in e)&&(e.loadImg=Se),e.loadObj=Te,e.loadResource=Te,e.loadScript=Re,e.loadScriptSimple=Re,!("log"in e)&&(e.log=we),!("offEvent"in e)&&(e.offEvent=ut),!("offPageScroll"in e)&&(e.offPageScroll=mt),e.onEvent=lt,!("onPageScroll"in e)&&(e.onPageScroll=ht),!("openModal"in e)&&(e.openModal=wr),!(lr in e)&&(e.closeModal=Ar),!(ur in e)&&(e.getModal=Ir),!("queue"in e)&&(e.queue=mn),!("setStyle"in e)&&(e.setStyle=ze),!("setStyles"in e)&&(e.setStyles=ze),!("topPostMessage"in e)&&(e.topPostMessage=Nt),!("topPostMessageWithCallback"in e)&&(e.topPostMessageWithCallback=Mt),!("GGADS"in e)&&Mn(e,"GGADS",[]),!("getGGAds"in e)&&Mn(e,"getGGAds",Sr),!("newEl"in e)&&(e.newEl=De),!("parseHTML"in e)&&(e.parseHTML=function(e){return function(e,t,n){var r=//,a=/(?:)\s*([\s\S]*?)\s*(?:)/gim,i=De("span"),o=null,c=null,s=[],l=[],u=null,d=null,p=/(?:)\s*([\s\S]*?)\s*(?:)/gim;for(t=t||0,e=Xn(e).replace(r,"\x3c!--[iframe]--\x3e").replace(r,"\x3c!--[/iframe]--\x3e");null!==(c=p.exec(e));)s.push(c[0]),l.push(c[1]);for(u=0,d=s.length;u'));for(;null!==(c=a.exec(e));)s.push(c[0]),l.push(c[1]);for(d=s.length;u'));for(i.innerHTML=e,u=0;u iframe{display:none!important}#_GGID_ > ._ar_sc{transition:opacity 0.2s ease}#_GGID_._hii > ._ar_sc{opacity:0 !important}').replace(/_GGID_/g,i),Ne(n,Ne(r,a)),Ee((function(){return Ne(qe(Ft()?top:e),n)})),t.container=n}return n}function Or(){var e=Pr(),t=e.pxIframe;return t||(t=Ce("iframe"),Ne(jr(),t),e.pxIframe=t),t}function Ur(e,t){var n=M(),r=function(){var e=Pr();return e.subs||(e.subs=[]),e.subs}(),i=e&&e.split&&e.split(".")[0],o=", visit ".concat(a,"/faq for more information.");return J(i)||i.length?Y(t)?(r[i]=!0,void n.on(jr(),[A,e].join("."),t)):console.log('Your GumGum event handler for "'.concat(e,'" cannot be executed').concat(o)):console.log("Your GumGum event name needs to be a valid string".concat(o),e)}function Br(){var t=Ft()?top.ggevents:e.ggevents,n=function(e){var t;for(t in e)ae(e,t)&&Ur(t,e[t])};if(t&&t instanceof Array){for(;t.length;)n(t.shift());t.push=function(e){return e&&n(e)}}else{(Ft()?top:e).ggevents=[],Br()}}function Lr(){return Pr().trackingId||e.ggv2id||""}function qr(e){var t=Pr();return null!=e&&(e=e.toString()),t.trackingId=e||t.trackingId}function zr(){return Pr().publisherId||~~e.ggpid||null}function Hr(){var t=Pr();return(Ft()?top.ggpvid:e.ggpvid)||t.pvid||null}function Fr(e){var t=Pr();return t.pvid||!e?we("PageViewID already defined or argument is null."):Mn(t,"pvid",e),t.pvid}function Vr(){return e.ggaffid?e.encodeURIComponent(e.ggaffid):null}function Wr(t){var n=Xt(e),r=t||Lr(),a={v:1,r:"3.88.26",rf:Gr(),pu:Dr(),dp:Cr(),fs:cn(),ce:ln(),vp:{ii:!Vt(),w:n.width,h:n.height},sc:{w:e.screen.width,h:e.screen.height,d:e.devicePixelRatio||1}};return r?a.t=r:a.p=zr(),e.ggaffid&&(a.ai=e.ggaffid),a}function Xr(e){if(Z(top.pbjs)&&te(top.pbjs.adUnits)){var t=top.pbjs.adUnits.reduce((function(e,t){return e[t.transactionId]=t.code,e}),{});if(t[e]){var n=top.document.getElementById(t[e]);n&&(n.style.display="none")}}}function $r(e,t){var n=De("iframe");return n.allowTransparency=1,n.frameBorder=0,n.scrolling="no",n.name=t||"ggifr".concat(ge()),n.sandbox="allow-forms allow-modals allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin allow-scripts",n.src="about:blank",e?n.width=n.height="100%":(n.width=n.height=0,n.style.display="none"),n}function Kr(e,t){var n=t||jr();return e.replace(/GGID/g,n?n.id:"")}function Yr(e){return"".concat(e,".").concat(A)}function Jr(e){var t=Pr();if(!ae(t,"BD")){var n=kn(),r={gdprApplies:n.gdprApplies,gdprConsent:n.consentData,gdprGumGum:n.gdprGumGum,pubdata:xt(Wr(e))};Kn("".concat(Ln(),"/badge/main").concat(he(r)),(function(e){e.bdg&&!t.BD&&(t.debug=1,Re("".concat(qn(),"/badge.js"),(function(n){return(t.initBadge||En)(e.bdg)}),jr()))}))}}function Zr(e){return Pr().Stack.push(e)}function Qr(){var e=Pr(),t=e.ADS,n=e.AT||ar(),r=n.refresh&&n.refresh.maxRefreshes||1;return!!t&&(!!t.servedAds&&t.servedAds>(n&&n.foundImages*r||0)*t.coverage)}function ea(){var e=Pr().ADS;return e&&e.servedAds>=e.app}function ta(t,n,r){try{e.reportData(4,t,{markup:n})}catch(e){we("AdLighting:reportData:error",e),r>0&&setTimeout(ta,100,t,n,r-1)}}var na={adbuyid:0,height:100,width:0,content:null,hassurvey:!1,hsadstyles:{},hsalignhorizontal:"L",hsalignvertical:"B",hsattricontent:null,hsattriposition:{},hsclosecontent:null,hscloseposition:{},hsflags:{assetwide:!0},hsoptin:!0,hsoptinlanguage:"en",hsoptinposition:{},hszindex:10001,scriptset:[],pag:{js:null,css:null,t:null},pagelevelpixels:[],urlclick:null,urlclose:null,urlimpression:null,urlimpressiondelay:0,v50url:null,v100url:null,autoattach:!0,badge:null,keeptag:!1},ra=t&&t.getElementsByTagName("head")[0],aa=[s,i,c,o,a],ia=function(e){return ra&&ra.appendChild(function(e,n){var r=t.createElement("link");return r.href=e,r.rel=n||"preconnect",r}(e))},oa=Pr(),ca=jr(),sa={},la=e.location,ua=function(t,n){var r,a,i,o,c,s,l,u,d;oa.PXS=sa,sa.triggerAssetPixels=pa,sa.log=[],sa.container=He(''),Ne(ca,sa.container),t.quantcast&&(a=(r=t).qac||"p-00TsOkvHvnsZU",i="//pixel.quantserve.com/pixel/".concat(a,".gif"),o=".quantserve.com/quant.js",_t('\x3c!-- Quantcast Tag --\x3e