var ethicalads=function(e){var t={};function a(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=e,a.c=t,a.d=function(e,t,o){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(o,i,function(t){return e[t]}.bind(null,i));return o},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=1)}([function(e,t,a){var o,i;o=this,i=function(){var e={},t="undefined"!=typeof window&&window,a="undefined"!=typeof document&&document,o=a&&a.documentElement,i=t.matchMedia||t.msMatchMedia,n=i?function(e){return!!i.call(t,e).matches}:function(){return!1},r=e.viewportW=function(){var e=o.clientWidth,a=t.innerWidth;return e=0&&a.left<=r()},e.inY=function(e,t){var a=c(e,t);return!!a&&a.bottom>=0&&a.top<=l()},e.inViewport=function(e,t){var a=c(e,t);return!!a&&a.bottom>=0&&a.right>=0&&a.top<=l()&&a.left<=r()},e},e.exports?e.exports=i():o.verge=i()},function(e,t,a){"use strict";a.r(t),a.d(t,"Placement",(function(){return v})),a.d(t,"check_dependencies",(function(){return x})),a.d(t,"load_placements",(function(){return w})),a.d(t,"unload_placements",(function(){return k})),a.d(t,"set_verbosity",(function(){return _})),a.d(t,"wait",(function(){return j})),a.d(t,"load",(function(){return S})),a.d(t,"reload",(function(){return z})),a.d(t,"uplifted",(function(){return E})),a.d(t,"detectedKeywords",(function(){return O}));var o=a(0),i=a.n(o);a(2);function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,a){return t=u(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,a||[],u(e).constructor):t.apply(e,a))}function l(e){var t="function"==typeof Map?new Map:void 0;return(l=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,a)}function a(){return d(e,arguments,u(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),s(a,e)})(e)}function d(e,t,a){if(c())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var i=new(e.bind.apply(e,o));return a&&s(i,a.prototype),i}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var a=0;a=g.verbose){for(var t,a=arguments.length,o=new Array(a>1?a-1:0),i=1;i=g.verbose){for(var t,a=arguments.length,o=new Array(a>1?a-1:0),i=1;i=g.normal){for(var t,a=arguments.length,o=new Array(a>1?a-1:0),i=1;i=g.quiet){for(var t,a=arguments.length,o=new Array(a>1?a-1:0),i=1;i=300&&clearInterval(t.view_time_counter))}),1e3,t.target),t.hashchange_listener=function(){t.canRotate()&&(t.sendViewTime(),t.rotate())},window.addEventListener("hashchange",t.hashchange_listener),t.visibilitychange_listener=function(){"hidden"!==document.visibilityState&&"unloaded"!==document.visibilityState||(t.tab_hidden=!0,t.sendViewTime()),!0===t.tab_hidden&&"visible"===document.visibilityState&&(t.tab_hidden=!1,t.canRotate()&&(t.sendViewTime(),setTimeout((function(){t.rotate()}),3e3)))},document.addEventListener("visibilitychange",t.visibilitychange_listener),e}))}},{key:"clearListeners",value:function(){this.view_time_counter&&clearInterval(this.view_time_counter),this.hashchange_listener&&window.removeEventListener("hashchange",this.hashchange_listener),this.visibilitychange_listener&&document.removeEventListener("visibilitychange",this.visibilitychange_listener)}},{key:"canRotate",value:function(){return!(!this.inViewport(this.target)||this.view_time<45||this.rotations>=3)}},{key:"rotate",value:function(){if(this.canRotate())return this.clearListeners(),this.view_time=0,this.view_time_sent=!1,this.response=null,this.tab_hidden=!1,this.rotations+=1,this.load()}},{key:"inViewport",value:function(e){return!!(this.response&&this.response.view_url&&i.a.inViewport(e,-3)&&"visible"===document.visibilityState)}},{key:"fetch",value:function(){var e=this,t="ad_"+Date.now()+"_"+Math.floor(1e6*Math.random()),a=t;this.target.id&&(a=this.target.id);var o={publisher:this.publisher,ad_types:this.ad_type,div_ids:a,callback:t,keywords:this.keywords.join("|"),campaign_types:this.campaign_types.join("|"),format:"jsonp",client_version:"2.3.0",placement_index:this.index,url:(window.location.origin+window.location.pathname).slice(0,256)};this.force_ad&&(o.force_ad=this.force_ad),this.force_campaign&&(o.force_campaign=this.force_campaign),this.rotations>1&&(o.rotations=this.rotations);var i=new URLSearchParams(o),n=new URL("https://server.ethicalads.io/api/v1/decision/?"+i.toString());return new Promise((function(a,o){window[t]=function(t){if(t&&t.html&&t.view_url){e.response=t;var o=document.createElement("div");return o.innerHTML=t.html,a(o.firstChild)}return a(null)};var i=document.createElement("script");i.src=n,i.type="text/javascript",i.async=!0,i.addEventListener("error",(function(e){return a()})),document.getElementsByTagName("head")[0].appendChild(i)}))}},{key:"sendViewTime",value:function(){if(!(this.view_time<=0||this.view_time_sent)&&this.response&&this.response.view_time_url){var e=document.createElement("img");e.src=this.response.view_time_url+"?view_time="+this.view_time,e.className="ea-pixel",this.target.appendChild(e),this.view_time_sent=!0}}},{key:"detectABP",value:function(e,t){var a=!1,o=2,i=!1,n=!1;if("function"==typeof t){e+="?ch=*&rn=*";var r=11*Math.random(),l=new Image;l.onload=c,l.onerror=function(){i=!0,c()},l.src=e.replace(/\*/,1).replace(/\*/,r);var d=new Image;d.onload=c,d.onerror=function(){n=!0,c()},d.src=e.replace(/\*/,2).replace(/\*/,r),function e(t,i){0==o||i>1e3?t(0==o&&a):setTimeout((function(){e(t,2*i)}),2*i)}(t,250)}function c(){--o||(a=!i&&n)}}},{key:"detectKeywords",value:function(){if(O)return O;for(var e={},t=(document.querySelector("[role='main']")||document.querySelector("main")||document.querySelector("body")).textContent.split(/\s+/),a=/^[\('"]?(.*?)[,\.\?\!:;\)'"]?$/g,o=0;o=2})).sort((function(e,t){return e[1]>t[1]?-1:e[1]1})),n=(t.getAttribute("data-ea-campaign-types")||"").split("|").filter((function(e){return e.length>1})),r="true"===t.getAttribute("data-ea-manual"),l=t.getAttribute("data-ea-style"),d=t.getAttribute("data-ea-force-ad"),c=t.getAttribute("data-ea-force-campaign");if("image"!==o&&"text"!==o||(o+="-v1"),(t.className||"").split(" ").indexOf("loaded")>=0)return y.warn("EthicalAd already loaded."),null;var s=t.getAttribute("data-ea-placement-bottom");return s&&t.style.setProperty("bottom",s),new e(a,o,t,{keywords:i,style:l,campaign_types:n,load_manually:r,force_ad:d,force_campaign:c})}}])}();function x(){return!!(Object.entries&&window.URL&&window.URLSearchParams&&window.Promise)||(y.error("Browser does not meet ethical ad client dependencies. Not showing ads"),!1)}function w(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=document.querySelectorAll("[data-ea-publisher]"),a=Array.prototype.slice.call(t);return 0===a.length&&y.warn("No ad placements found."),Promise.all(a.map((function(t,a){var o=v.from_element(t);return o?(o.index=a,0===a&&o&&!e&&o.detectABP("https://media.ethicalads.io/abp/px.gif",(function(e){E=e,e&&y.debug("Acceptable Ads enabled. Thanks for allowing our non-tracking ads :)")})),!o||!e&&o.load_manually?null:o.load()):null})))}function k(){var e=document.querySelectorAll("[data-ea-publisher]");Array.prototype.slice.call(e).forEach((function(e){e.innerHTML="",e.classList.remove("loaded")}))}function _(){var e=document.querySelector("[data-ea-publisher]");if(e){var t=e.getAttribute("data-ea-verbosity");g.hasOwnProperty(t)&&(y.verbosity=g[t])}}var j,S,z,A=function(e){function t(){return p(this,t),r(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(t,e),m(t)}(l(Error)),E=!1,O=null;if(window.ethicalads&&console.warn("Double-loading the EthicalAds client. Use reload() instead. https://ethical-ad-client.readthedocs.io/en/latest/#single-page-apps"),x()){_();var C=new Promise((function(e){if("interactive"===document.readyState||"complete"===document.readyState)return e();document.addEventListener("DOMContentLoaded",(function(){e()}),{capture:!0,once:!0,passive:!0})}));j=new Promise((function(e){C.then((function(){w().then((function(t){e(t.filter((function(e){return null!=e})))})).catch((function(t){e([]),t instanceof A?y.warn(t.message):y.error(t.message)}))}))})),S=function(){y.debug("Loading placements manually"),w(!0).catch((function(e){e instanceof A?y.warn(e.message):y.error(e.message)}))},z=function(){y.debug("Reloading ad placement"),O=null,k(),w().catch((function(e){e instanceof A?y.warn(e.message):y.error(e.message)}))}}},function(e,t,a){var o=a(3),i=a(4);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var n={insert:"head",singleton:!1};o(i,n);e.exports=i.locals||{}},function(e,t,a){"use strict";var o,i=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},n=function(){var e={};return function(t){if(void 0===e[t]){var a=document.querySelector(t);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}e[t]=a}return e[t]}}(),r=[];function l(e){for(var t=-1,a=0;aa>img,[data-ea-publisher]:not([data-ea-type]).loaded .ea-content>a>img,.ea-type-image .ea-content>a>img{width:var(--ea-image-width);height:auto;display:inline-block}[data-ea-type=image].loaded .ea-content>.ea-text,[data-ea-publisher]:not([data-ea-type]).loaded .ea-content>.ea-text,.ea-type-image .ea-content>.ea-text{margin-top:1em;font-size:1em;text-align:center}[data-ea-type=image].loaded .ea-callout,[data-ea-publisher]:not([data-ea-type]).loaded .ea-callout,.ea-type-image .ea-callout{max-width:var(--ea-image-placement-width);margin:0em 1em 1em 1em;padding-left:1em;padding-right:1em;font-style:italic;text-align:right}[data-ea-type=image].loaded.horizontal .ea-content,[data-ea-publisher]:not([data-ea-type]).loaded.horizontal .ea-content,.ea-type-image.horizontal .ea-content{max-width:var(--ea-image-placement-width-horizontal)}[data-ea-type=image].loaded.horizontal .ea-content>a>img,[data-ea-publisher]:not([data-ea-type]).loaded.horizontal .ea-content>a>img,.ea-type-image.horizontal .ea-content>a>img{float:left;margin-right:1em}[data-ea-type=image].loaded.horizontal .ea-content .ea-text,[data-ea-publisher]:not([data-ea-type]).loaded.horizontal .ea-content .ea-text,.ea-type-image.horizontal .ea-content .ea-text{margin-top:0em;text-align:left;overflow:auto}[data-ea-type=image].loaded.horizontal .ea-callout,[data-ea-publisher]:not([data-ea-type]).loaded.horizontal .ea-callout,.ea-type-image.horizontal .ea-callout{max-width:var(--ea-image-placement-width-horizontal);text-align:right}[data-ea-type=text].loaded,.ea-type-text{font-size:var(--ea-font-size)}[data-ea-type=text].loaded .ea-content,.ea-type-text .ea-content{text-align:left}[data-ea-type=text].loaded .ea-callout,.ea-type-text .ea-callout{margin:.5em 1em 1em 1em;padding-left:1em;padding-right:1em;text-align:right;font-style:italic}[data-ea-type=text-only-large-v1].loaded,.ea-type-text-large{font-size:var(--ea-font-size);margin:1em 0}[data-ea-type=text-only-large-v1].loaded .ea-logo,.ea-type-text-large .ea-logo{float:right;margin-left:1em;margin-bottom:1em}[data-ea-type=text-only-large-v1].loaded img,.ea-type-text-large img{width:var(--ea-image-logo-width);height:auto;filter:var(--ea-image-logo-filter)}[data-ea-type=text-only-large-v1].loaded .ea-headline,.ea-type-text-large .ea-headline{font-size:var(--ea-font-size-text-only-header);font-weight:bold;margin-bottom:.5em;text-align:left}[data-ea-type=text-only-large-v1].loaded .ea-body,.ea-type-text-large .ea-body{margin-bottom:.5em;text-align:left}[data-ea-type=text-only-large-v1].loaded .ea-cta,.ea-type-text-large .ea-cta{border-radius:.5em;border:1px solid var(--ea-color-link);color:var(--ea-color-link);display:inline-block;font-weight:bold;padding:.25em .5em}[data-ea-type=text-only-large-v1].loaded .ea-cta::after,.ea-type-text-large .ea-cta::after{content:" ↗"}[data-ea-type=text-only-large-v1].loaded .ea-callout,.ea-type-text-large .ea-callout{margin:.5em 1em 1em 1em;padding-left:1em;padding-right:1em;text-align:right;font-style:italic}[data-ea-style=stickybox].loaded{position:fixed;bottom:20px;right:20px;z-index:100}[data-ea-style=stickybox].loaded .ea-type-image .ea-stickybox-hide{cursor:pointer;position:absolute;top:.75em;right:.75em;background-color:#fefefe;border:1px solid #088cdb;border-radius:50%;color:#088cdb;font-size:1em;text-align:center;height:1.5em;width:1.5em;line-height:1.4}[data-ea-style=stickybox].loaded .ea-type-text{display:none !important}@media(max-width: 1300px){[data-ea-style=stickybox].loaded{position:static;bottom:0;right:0;margin:auto;text-align:center}[data-ea-style=stickybox].loaded .ea-stickybox-hide{display:none}}@media(min-width: 1301px){[data-ea-style=stickybox].loaded .ea-type-image .ea-content{background:var(--ea-stylefixed-bgcolor)}}[data-ea-style=fixedfooter].loaded{position:fixed;bottom:0;left:0;z-index:200;width:100%;max-width:100%}[data-ea-style=fixedfooter].loaded .ea-type-text{width:100%;max-width:100%;display:flex;z-index:200;background:var(--ea-stylefixed-bgcolor)}[data-ea-style=fixedfooter].loaded .ea-type-text .ea-content{border:0px;border-radius:3px;box-shadow:none}[data-ea-style=fixedfooter].loaded .ea-type-text .ea-content{background-color:inherit;max-width:100%;margin:0;padding:1em;flex:auto}[data-ea-style=fixedfooter].loaded .ea-type-text .ea-callout{max-width:100%;margin:0;padding:1em;flex:initial}@media(max-width: 576px){[data-ea-style=fixedfooter].loaded .ea-type-text .ea-callout{display:none}}[data-ea-style=fixedfooter].loaded .ea-type-text .ea-fixedfooter-hide{cursor:pointer;color:var(--ea-color-link);padding:1em;flex:initial;margin:auto 0}[data-ea-style=fixedfooter].loaded .ea-type-text .ea-fixedfooter-hide span{padding:.25em;font-size:.8em;font-weight:bold;border:.15em solid var(--ea-color-link);border-radius:.5em;white-space:nowrap}[data-ea-style=fixedfooter].loaded .ea-type-image{display:none !important}[data-ea-style=fixedheader]{height:var(--ea-fixedheader-height);width:100%;max-width:100%;background:var(--ea-stylefixed-bgcolor);border-bottom:1px solid var(--ea-background-color)}@media(max-width: 768px){[data-ea-style=fixedheader]{display:none !important}}[data-ea-style=fixedheader].loaded .ea-type-image,[data-ea-style=fixedheader].loaded .ea-type-text{width:var(--ea-container-xl);margin:0 auto;display:flex}@media(max-width: 992px){[data-ea-style=fixedheader].loaded .ea-type-image,[data-ea-style=fixedheader].loaded .ea-type-text{width:var(--ea-container-md)}}@media(max-width: 1200px){[data-ea-style=fixedheader].loaded .ea-type-image,[data-ea-style=fixedheader].loaded .ea-type-text{width:var(--ea-container-lg)}}[data-ea-style=fixedheader].loaded .ea-type-image .ea-content,[data-ea-style=fixedheader].loaded .ea-type-text .ea-content{border:0px;border-radius:3px;box-shadow:none}[data-ea-style=fixedheader].loaded .ea-type-image .ea-content,[data-ea-style=fixedheader].loaded .ea-type-text .ea-content{background-color:inherit;max-width:100%;margin:0;padding:0;flex:auto;display:flex}[data-ea-style=fixedheader].loaded .ea-type-image .ea-content .ea-text,[data-ea-style=fixedheader].loaded .ea-type-text .ea-content .ea-text{margin-top:0;padding:1em;flex:auto;text-align:left}[data-ea-style=fixedheader].loaded .ea-type-image .ea-callout,[data-ea-style=fixedheader].loaded .ea-type-text .ea-callout{max-width:100%;margin:0;padding:1em;flex:initial}@media(max-width: 576px){[data-ea-style=fixedheader].loaded .ea-type-image .ea-callout,[data-ea-style=fixedheader].loaded .ea-type-text .ea-callout{display:none}}[data-ea-style=fixedheader].loaded .ea-type-image img{width:var(--ea-image-width-xs) !important;margin:.6em}[data-ea-style=fixedheader].loaded .ea-type-image .ea-domain{display:none}',""]),e.exports=t},function(e,t,a){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a=function(e,t){var a=e[1]||"",o=e[3];if(!o)return a;if(t&&"function"==typeof btoa){var i=(r=o,l=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),d="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(d," */")),n=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[a].concat(n).concat([i]).join("\n")}var r,l,d;return[a].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(a,"}"):a})).join("")},t.i=function(e,a,o){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(o)for(var n=0;n