!function(){"use strict";var e,t,r,n,o={7342:function(e,t,r){r.d(t,{Z:function(){return o}});var n={shr:{dev:"https://www.stageaholic.com/publisher_tools",stage:"https://grace.stageaholic.com/config",production:"https://www.shareaholic.net/config"},yarpp:{dev:"https://www.stageaholic.com/publisher_tools",stage:"https://staging.yarpp.com/config",production:"https://yarpp.com/config"}};function o(e,t){return Promise.resolve().then(r.bind(r,4074)).then((function(o){var i=o.Promise;return i.resolve().then(r.bind(r,6437)).then((function(o){var a=o.storage;return i.resolve().then(r.bind(r,9506)).then((function(r){var o=r.global,c=Boolean(o.Shareaholic);if(t||(t="00000"),a.configs[t])return a.configs[t];var s=new i((function(r){var o=n[c?"shr":"yarpp"][e];o||(console.error("Missing config endpoint for "+e),r({}));var i=new XMLHttpRequest;i.open("GET",o+"/"+t+".json"),i.ontimeout=function(){console.error("Timeout getting publisher config"),r({})},i.onerror=function(){console.error("Error getting publisher config"),r({})},i.onload=function(){try{var e=JSON.parse(i.responseText);e.x_client_geo_latlong=i.getResponseHeader("x-client-geo-latlong"),e.x_client_geo_country=i.getResponseHeader("x-client-geo-country"),e.x_client_geo_city=i.getResponseHeader("x-client-geo-city"),e.x_client_geo_zip=i.getResponseHeader("x-client-geo-zip"),e.x_client_geo_region=i.getResponseHeader("x-client-geo-region"),e.x_client_geo_metrocode=i.getResponseHeader("x-client-geo-metrocode"),r(e)}catch(e){console.error("Error parsing publisher config: "+e.message),r({})}},window.setTimeout((function(){i.send()}),0)}));return a.configs[t]=s,s}))}))}))}},9506:function(e,t,r){var n,o,i;r.r(t),r.d(t,{global:function(){return n}});try{(n=window.top).document.body}catch(e){n=window.parent}for(var a=n.document.querySelectorAll("iframe"),c=0;ce.length)&&(t=e.length);for(var r=0,n=new Array(t);r-1||navigator.userAgent.match(/Trident.*rv\:11\./))return!0;var e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return!!(e&&parseInt(e[2],10)<=51)}()){var g=document.createElement("script");g.src=f.assetbase+"polyfills.js",g.async=!0,g.onload=function(){p()},window.document.head.appendChild(g)}else p()}()}({dev:"//spreadaholic.com:5200/app/client/public/js/",stage:"https://cdn.openshareicons.com/v2/",production:"https://cdn.openshareweb.com/v2/"},"shareaholic.js","shr","Shareaholic",(function(){var t=l,r=t.settings;function n(n){var o=r.environment;(0,e.Z)(o,n).then((function(e){u.publisherConfigLoaded=!0,t.push(["init",n,e])})),t.init=function(){},r.siteid=n}r.siteid?n(r.siteid):t.init.args?n(t.init.args[0]):t.init=n}))}catch(e){console.error("Unable to boot Shareaholic: "+e.message)}}()}();