window._roost||(window._roost=[]),_roost.init||!function(e){function v(e,t,n){var r=document.createElement("iframe");r.style.display="none";var i=!1;r.onload=function(){i=!0},r.src=e,document.body.appendChild(r)}function m(e){var t=document.createElement("iframe");t.style.display="none",t.src=e,document.body.appendChild(t)}function g(e){a.usePromptKit&&m(j.promptKit.internal.pkDomain()+"/promptkit.html?appKey="+a.appKey+"#bellstats_"+e)}function y(e,t){var n=document.createElement("iframe");n.style.display="none";var r=!1;n.onload=function(){r=!0},setTimeout(function(){r||t&&console.log("Roost: "+t)},3e3),n.src=e,document.body.appendChild(n)}function b(){typeof twttr!="undefined"&&typeof twttr.events!="undefined"&&typeof twttr.events.bind!="undefined"&&twttr.events.bind("tweet",function(e){p.push(["social_action","TWEET"])}),typeof FB!="undefined"&&typeof FB.Event!="undefined"&&typeof FB.Event.subscribe!="undefined"&&(FB.Event.subscribe("edge.create",function(e){p.push(["social_action","FB_LIKE"])}),FB.Event.subscribe("edge.remove",function(e){p.push(["social_action","FB_UNLIKE"])}),FB.Event.subscribe("comment.create",function(e){p.push(["social_action","FB_COMMENT"])}),FB.Event.subscribe("comment.remove",function(e){p.push(["social_action","FB_UNCOMMENT"])}),FB.Event.subscribe("message.send",function(e){p.push(["social_action","FB_SHARE"])}))}function x(e){var t=[];for(var n=0;n<_roost.length;n++)_roost[n].length&&_roost[n][0]==e?p.push(_roost[n]):t.push(_roost[n]);_roost=t}function T(t){N({url:a.host+"/Ping",vars:{appKey:a.appKey,referrer:encodeURIComponent((document.referrer+"").split("'").join("%27")),page:encodeURIComponent((e.location+"").split("'").join("%27")),action:"log",details:t?JSON.stringify(t):"",rdt:a.rdt}})}function N(e){e=e||{},e.url=e.url||null,e.vars=e.vars||{},e.error=e.error||function(){},e.success=e.success||function(){};var t=[];for(var n in e.vars)t.push(n+"="+encodeURIComponent(e.vars[n]));var r=t.join("&");if(e.url){var i=e.url+"?"+r,s=new Image;e.error&&(s.onerror=e.error),e.success&&(s.onload=e.success),s.src=i}}function C(e){a[e[0]]=typeof e[1]=="undefined"?a[e[0]]:e[1]}function k(e){var t=typeof e[1]=="undefined"?a[e[0]]:e[1];a.onload.push(t),a.onloadData&&t(a.onloadData)}function L(e){return e&&e.length>0}function A(e){return e}function O(e,t){var n="";for(var r=0;r<t;r++)n+=e;return n}function M(e){return!e||e&&e.length===0}function _(e,t){for(var n in t)t.hasOwnProperty(n)&&(typeof t[n]=="object"?(e[n]||(e[n]={}),e[n]=_(e[n],t[n])):e[n]=t[n]);return e}function D(e){return function(t){if(!a.appKey)return!1;e(t)}}function P(e,t,n,r){n||(n=0);var i=new Date;i.setTime(i.getTime()+n*24*60*60*1e3);var s=escape(t)+(n==null||n==0?"":"; expires="+i.toGMTString())+"; "+(r?" domain=."+r+"; ":"")+" path=/";document.cookie=e+"="+s}function H(e){if(document.cookie.length>0){c_start=document.cookie.indexOf(e+"=");if(c_start!=-1)return c_start=c_start+e.length+1,c_end=document.cookie.indexOf(";",c_start),c_end==-1&&(c_end=document.cookie.length),unescape(document.cookie.substring(c_start,c_end))}return""}function K(e,t,n){var r=function(e,t,n){return O("	",n)+e+": "+t+";\n"},s=function(e,t,n){var r=O("	",n)+e+" {\n";return r+=K(t,n+1),r+=O("	",n)+"}\n",r},o="";typeof t=="undefined"&&(t=0),typeof n=="undefined"&&(n=!1);if(e.attributes)for(i in e.attributes){var u=e.attributes[i];if(u instanceof Array)for(var a=0;a<u.length;a++)o+=r(i,u[a],t);else o+=r(i,u,t)}if(e.children){var f=!0;for(i in e.children)n&&!f?o+="\n":f=!1,o+=s(i,e.children[i],t)}return o}function Q(e){if(!e||!e.origin)return;if(d.indexOf(e.origin)==-1)return;G(e)}function G(e){console.log("Processing event: ",e.data);var t=JSON.parse(e.data);t.type&&(t.type=="load"?(a.enabled=t.enabled,a.tags=t.tags,a.alias=t.alias,a.notifications=t.notifications,B.postPageview(!1)):t.type=="registered"?(a.rdt=A(t.deviceToken),B.onresult(t.firstTime,t.enabled)):t.type=="check"?(a.rdt=A(t.deviceToken),a.denied=t.denied,B.checkComplete()):t.type=="config"?(a.configName=t.configName,a.websiteDomain=t.websiteDomain,a.serviceWorkerHostPath=t.serviceWorkerHostPath,a.safariWebsitePushID=t.safariWebsitePushID,a.usePromptKit=t.usePromptKit,a.usePromptKitBell=t.usePromptKitBell,a.serviceWorkerRelativePath=t.serviceWorkerRelativePath,a.manifestRelativePath=t.manifestRelativePath,a.cnameHostname=t.cnameHostname,a.pkSettings=_(_(f,t.pkSettings),a.bellopts),B.postConfig()):t.type=="emailregistered"&&(console.log("processMessage called for email"),$.emailUI.handleResponse(t.success)))}function Y(){if(window._roostLoaded)return;window._roostLoaded=!0,window&&window.addEventListener&&window.addEventListener("message",Q,!1),a.appKey="5615d16e7e8d4d36b2292192686734b5",b(),x("experimental"),x("chrome"),x("safari"),x("host"),x("bellopts"),B.preConfig()}var t=!!window.PushManager||!!navigator.push,n=!!window.Notification,r=!!navigator.serviceWorker,s=window.chrome,o=window.navigator.vendor;s!==null&&s!==undefined&&o==="Google Inc."?s=!0:s=!1;var u=t&&n&&r,a={autoprompt:!0,appKey:null,experimental:!1,chrome:!0,safari:!0,host:"https://go.goroost.com",onload:[],onloadData:null,rdt:null,rid:null,tags:null,alias:null,notifications:[],enabled:!0,initFunction:null,idFunction:null,configName:null,websiteDomain:null,serviceWorkerHostPath:null,safariWebsitePushID:null,usePromptKit:!1,usePromptKitBell:!1,serviceWorkerRelativePath:null,manifestRelativePath:null,cnameHostname:null,denied:!1,bellopts:{},pkSettings:{}},f={height:"60px",width:"60px",lgMobileHeight:"60px",lgMobileWidth:"60px",smMobileHeight:"48px",smMobileWidth:"48px",zIndex:1e6,bellColor:"#FFF",bgColor:"#3b3b3b",absolute:!0,circular:!0,navId:"header",showUnread:"count",unreadBackgroundColor:"#e25351",unreadTextColor:"#FFF",share:!0,left:!1,bellCustomStyles:{},notificationCenterCustomStyles:{},coachmarks:!0,pkOptinMethod:"flyout",offset:{right:0,left:0,bottom:0},email:!1,settingsForAll:!1,regOnlyBell:!1,text:{noteTab:"Notifications",settingsTab:"Settings",coachmark:null,noNotes:"No new notifications",flyout:{button:"Subscribe",headline:"$SITE",title:"Notifications from $SITE",message:"Get top stories sent right to your device!",callout:"Notifications from $SITE"},noteCenterOptin:{title:"$SITE Notifications",body:"Get stories like the one below sent right to your desktop",button:"Subscribe",decline:"No Thanks"},subscriptionBox:"Send me desktop notifications",unsubConfirmation:"You've been unsubscribed",clear:"Clear All",prompt:{confirmMessage:'Click "Allow" to start receiving desktop notifications from $SITE.',button:"Subscribe",thanksMessage:"Thanks for subscribing!"}}},l,c=!0,h=[],p={init:!0,push:function(){for(var t=0;t<arguments.length;t++){var n=arguments[t];n&&n.length&&S[""+n[0].toLowerCase()]?S[n[0].toLowerCase()](n):e.console.log("Invalid command '"+n+"'.")}},getCookie:H,setCookie:P,promptable:function(){return a.rdt?!1:p.supportedBrowser()},supportedBrowser:function(){if(typeof window.safari!="undefined"&&typeof window.safari.pushNotification!="undefined")return!0;if(a.usePromptKit&&s)return!0;if(u)return window.location.href.indexOf("localhost")==-1&&location.protocol!=="https:"?!1:document.domain!=a.websiteDomain?!1:!0;return!1},prompt:function(){l.prompt()},register:function(){l.register()},promptKitRedirect:function(){l.register()},_fireRoostCallback:function(e){window._roostCallback&&typeof window._roostCallback=="function"&&window._roostCallback(e),a.onresult&&typeof a.onresult=="function"&&a.onresult(e)},_isAutoPrompt:function(){return a.autoprompt},_isEnabled:function(){return a.enabled},_getTags:function(){return a.tags},_getAlias:function(){return a.alias},_getRID:function(){return a.rid},_domain:function(){var e=location.host,t=location.host.split(".").reverse();return t.length>1&&e.indexOf("blogger.com")==-1&&(e=t[1]+"."+t[0]),e=e.split(":")[0],e},_cookiesEnabled:function(){var e="cc"+Math.random(),t=!1;return _roost.setCookie(e,"true"),_roost.getCookie(e)&&(t=!0),_roost.setCookie(e,"",-1),t},_removeClass:function(e,t){p._hasClass(e,t)&&p._toggleClass(e,t)},_addClass:function(e,t){p._hasClass(e,t)||p._toggleClass(e,t)},_restartBell:function(){$.restart()},_getTextWidth:function(e,t){var n=p._getTextWidth.canvas||(p._getTextWidth.canvas=document.createElement("canvas")),r=n.getContext("2d");r.font="normal "+t+"pt helvetica neue";var i=r.measureText(e);return i.width},_getFontSize:function(e){var t=window.getComputedStyle(e,null).getPropertyValue("font-size");return parseFloat(t)},_getStyleWidth:function(e){var t=window.getComputedStyle(e,null).getPropertyValue("width");return parseFloat(t)},_toggleClass:function(e,t){if(e.classList)e.classList.toggle(t);else{var n=e.className.split(" "),r=-1;for(var i=n.length;i--;)n[i]===className&&(r=i);r>-1?n.splice(r,1):n.push(t),e.className=n.join(" ")}},_isSmallScreen:function(e){return e.screen.width<=770},_isMediumScreen:function(e){return e.screen.width>770&&e.screen.width<=1025},_hasClass:function(e,t){return e.classList?e.classList.contains(t):(new RegExp("(^| )"+t+"( |$)","gi")).test(e.className)},_getElById:function(e){return document.getElementById(e)},_deepCopy:function(e,t){for(var n in t)typeof t[n]=="object"&&t[n]!==null?(e[n]=e[n]||{},arguments.callee(e[n],t[n])):e[n]=t[n];return e},_promptMinVisits:function(){if(a.minvisits>-1){if(!_roost._cookiesEnabled())return!1;var e="_r_visits",t=_roost.getCookie(e);return t?t++:t=1,_roost.setCookie(e,t,30),a.minvisits<=t}return!1},_enqueue:function(e){h.push(e),h.length==1&&p._processQueue()},_processQueue:function(){if(h.length){var e=h[0];e()}},_workFinished:function(){h.length&&(h.shift(),p._processQueue())}},d=[a.host,"http://192.168.0.7:8081","http://localhost:8081","http://localhost:9000","http://go.goroost.com","https://go.goroost.com","http://cdn.goroost.com","https://cdn.goroost.com"],w=D(function(e){var t=[];for(var n=1;n<e.length;n++)t.push(e[n]);var r=e[0];if(r=="tags"||r=="segments")a.tags=t;else if(r=="segments_add")a.tags?a.tags=a.tags.concat(t):a.tags=t;else if(r=="segments_clear")a.tags&&(a.tags=[]);else if(r=="segments_remove"&&a.tags){for(var i=0;i<t.length;i++){var s=t[i],o=a.tags.indexOf(s);o>-1&&a.tags.splice(o,1)}a.tags=a.tags.concat(t)}p._enqueue(function(){a.rdt?N({url:a.host+"/Ping",vars:{action:r,appKey:a.appKey,tags:JSON.stringify(t),rdt:a.rdt},success:p._workFinished}):p._workFinished()})}),E=D(function(e){var t=null;e&&e.length==2&&(t=e[1]);var n=e[0];n=="alias"?a.alias=t:n=="alias_clear"&&(a.alias=null),p._enqueue(function(){a.rdt?N({url:a.host+"/Ping",vars:{action:e[0],appKey:a.appKey,alias:t,rdt:a.rdt},success:p._workFinished}):p._workFinished()})}),S={appKey:function(){},onload:k,onresult:C,host:C,experimental:C,chrome:C,bellopts:C,safari:C,minvisits:C,tags:w,segments:w,segments_add:w,segments_remove:w,segments_clear:w,alias:E,alias_clear:E,autoprompt:C,prompt:function(){_roost.prompt&&_roost.prompt()},log:function(e){T(e[1])},social_action:D(function(e){N({url:a.host+"/Ping",vars:{action:"socialAction",appKey:a.appKey,useraction:e[1],rdt:a.rdt}})}),enable:D(function(e){p._enqueue(function(){N({url:a.host+"/Ping",vars:{action:"enable",appKey:a.appKey,enable:e[1],rdt:a.rdt},success:p._workFinished})})})},B={preConfig:function(){B.config()},config:function(){m(a.host+"/api/pageconfig?appKey="+encodeURIComponent(a.appKey)+"&url="+encodeURIComponent(document.URL))},postConfig:function(){a.usePromptKit?a.safari&&window&&typeof window.safari!="undefined"?l=j.safariPromptKit:a.chrome&&s&&(l=j.chromePromptKit):a.safari&&window&&typeof window.safari!="undefined"?l=j.safari:u&&(a.appKey=="vxutzmlpw56gxubzi60plwtf6f9bus8t"?s?a.chrome&&(l=j.serviceWorkers):l=j.serviceWorkers:window.location.protocol!="https:"&&document.domain.indexOf("localhost")==-1?console.log("Roost Error: Domain must use HTTPS to use Roost for Chrome."):s?a.chrome&&(l=j.serviceWorkers):l=j.serviceWorkers),l?l.check():B.checkComplete()},checkComplete:function(){B.prePageview()},prePageview:function(){B.pageview()},pageview:function(){m(a.host+"/api/pageview?rdt="+encodeURIComponent(a.rdt)+"&rid="+encodeURIComponent(a.rid)+"&appKey="+encodeURIComponent(a.appKey)+"&url="+encodeURIComponent(document.URL)+"&referrer="+encodeURIComponent(document.referrer))},postPageview:function(e){for(var t=0;t<_roost.length;t++)p.push(_roost[t]);_roost=p,_roost._o=a,a.usePromptKitBell&&(typeof $!="undefined"?(F.connect(),$.show()):console.log("Not showing bell as RoostJS was flagged to not include it.")),B.onload(e)},onload:function(e){a.onloadData={promptable:!a.denied&&a.rdt==null&&_roost.promptable()};for(var t=0;t<a.onload.length;t++){var n=a.onload[t];n&&typeof n=="function"&&n(a.onloadData)}e||B.prePrompt()},prePrompt:function(){B.prompt()},prompt:function(){if(!l){console.log("No supported implementation, cannot prompt.");return}var e=_roost._promptMinVisits(),t=_roost._isAutoPrompt();console.log("prompt",t,e),t||e?l.prompt():L(a.rdt)&&B.onresult(!1,!0)},onresult:function(e,t){_roost._fireRoostCallback({firstTime:e,deviceToken:a.rdt,registered:t,enabled:_roost._isEnabled(),tags:_roost._getTags(),alias:_roost._getAlias()}),a.usePromptKitBell&&e&&typeof $!="undefined"&&$.restart()}},j={safari:{check:function(){var e=window.safari.pushNotification.permission(a.safariWebsitePushID);e.permission=="granted"&&(a.rdt=e.deviceToken),B.checkComplete()},register:function(){j.safari.prompt()},prompt:function(){var e=window.safari.pushNotification.permission(a.safariWebsitePushID);if(e.permission=="default"){j.safari.internal.watchPrompt=setInterval(function(){var e=window.safari.pushNotification.permission(a.safariWebsitePushID);e.permission=="granted"&&!j.safari.internal.firedCallback&&(j.safari.internal.firedCallback=!0,B.onresult(!0,e.permission!="denied")),j.safari.internal.firedCallback&&clearInterval(j.safari.internal.watchPrompt)},1e3);var t={tags:_roost._getTags(),alias:_roost._getAlias()};window.safari.pushNotification.requestPermission("https://go.goroost.com/register/native/safari/"+a.appKey,a.safariWebsitePushID,{website:encodeURIComponent(location.href),data:JSON.stringify(t)},j.safari.internal.safariCallback)}else e.permission=="granted"?B.onresult(!1,!0):B.onresult(!1,!1)},internal:{firedCallback:!1,watchPrompt:null,safariCallback:function(e){j.safari.internal.watchPrompt&&(clearInterval(j.safari.internal.watchPrompt),j.safari.internal.watchPrompt=null),a.rdt=e.deviceToken,j.safari.internal.firedCallback||(j.safari.internal.firedCallback=!0,B.onresult(!0,e.permission!="denied"))}}},serviceWorkers:{check:function(){var e=document.createElement("link");e.rel="manifest",e.href=j.serviceWorkers.internal.manifestPath(),document.head.appendChild(e),Notification.permission==="granted"?navigator.serviceWorker.ready.then(function(e){e.pushManager.getSubscription().then(function(e){if(e){var t=null;"subscriptionId"in e?t=e.subscriptionId:t=e.endpoint,a.rdt=A(t)}B.checkComplete()})}):B.checkComplete()},register:function(){j.serviceWorkers.prompt()},prompt:function(){var e=_roost._getTags(),t=_roost._getAlias(),n="appKey="+a.appKey;t&&(n+="&alias="+encodeURIComponent(t));for(var r=0;r<e.length;r++){var i=e[r];n+="&tags="+encodeURIComponent(i)}var s;if(window.location.href.indexOf("localhost")==-1&&location.protocol!=="https:"){console.log("Roost Error: Chrome requires the page to be SSL or localhost to support push.");return}var o;s="/roost.html";if(!L(j.serviceWorkers.internal.swHostPath())){console.log("Roost Error: Config has no supported Chrome registration methods.");return}if(window.location.protocol!="https:"&&document.domain.indexOf("localhost")==-1){console.log("Roost Error: Domain must use HTTPS to use Roost for Chrome.");return}if(a.websiteDomain!="*"&&document.domain!=a.websiteDomain){console.log("Roost Error: Domains do not match and Chrome push can only support a single config / domain, this site is currently configured for: "+a.websiteDomain+" and document.domain is returning: "+document.domain);return}s=j.serviceWorkers.internal.swHostPath(),o="Files to support chrome registrations are not installed correctly on this domain: "+s,s.indexOf("?")==-1?s+="?"+n:s+="&"+n,y(s,o)},internal:{swPath:function(){return L(a.serviceWorkerRelativePath)?a.serviceWorkerRelativePath:j.serviceWorkers.internal.swScope()+"roost_worker.js"},swHostPath:function(){return L(a.serviceWorkerHostPath)?a.serviceWorkerHostPath:j.serviceWorkers.internal.swScope()+"roost.html"},manifestPath:function(){return L(a.manifestRelativePath)?a.manifestRelativePath:j.serviceWorkers.internal.swScope()+"roost_manifest.json"},swScope:function(){if(L(a.serviceWorkerRelativePath)){var e=a.serviceWorkerRelativePath;return e&&e.indexOf("/")!=-1?e.substring(0,e.lastIndexOf("/"))+"/":"/"}var t=a.serviceWorkerHostPath;return t&&t.indexOf("/")!=-1?t.substring(0,t.lastIndexOf("/"))+"/":"/"}}},safariPromptKit:{check:function(){m(j.promptKit.internal.pkDomain()+"/promptkit.html?appKey="+a.appKey+"#safaricheck");var e=window.safari.pushNotification.permission(a.safariWebsitePushID);e.permission=="granted"?j.promptKit.internal.postState(e.deviceToken,!1):e.permission=="default"?j.promptKit.internal.postState(null,!1):j.promptKit.internal.postState(null,!0)},register:function(){j.safariPromptKit.prompt()},prompt:function(){var e=window.safari.pushNotification.permission(a.safariWebsitePushID);if(e.permission=="default"){j.safariPromptKit.internal.watchPrompt=setInterval(function(){var e=window.safari.pushNotification.permission(a.safariWebsitePushID);(e.permission=="granted"||e.permission=="denied")&&!j.safariPromptKit.internal.firedCallback&&j.safariPromptKit.internal.safariCallback(e),j.safariPromptKit.internal.firedCallback&&clearInterval(j.safariPromptKit.internal.watchPrompt)},1e3);var t={tags:_roost._getTags(),alias:_roost._getAlias()};window.safari.pushNotification.requestPermission("https://go.goroost.com/register/native/safari/"+a.appKey,a.safariWebsitePushID,{website:encodeURIComponent(location.href),data:JSON.stringify(t)},j.safariPromptKit.internal.safariCallback)}},internal:{firedCallback:!1,watchPrompt:null,safariCallback:function(e){e.permission=="granted"?m(j.promptKit.internal.pkDomain()+"/promptkit.html?appKey="+a.appKey+"#safariaccept"):m(j.promptKit.internal.pkDomain()+"/promptkit.html?appKey="+a.appKey+"#safarireject"),j.safariPromptKit.internal.firedCallback=!0}}},chromePromptKit:{check:function(){y(j.promptKit.internal.pkDomain()+"/promptkit.html?appKey="+a.appKey+"#check","Could not check promptKit registration via iframe.")},register:function(){window.location.href=j.promptKit.internal.pkDomain()+"/promptkit.html?appKey="+a.appKey+"#register"},prompt:function(){switch(a.pkSettings.pkOptinMethod){case"flyout":$.showPromptKit();break;case"none":break;default:console.log("Invalid pkOptinMethod, no prompt set. Valid options are: 'flyout', 'none'")}}},promptKit:{register:function(){window.location.href=j.promptKit.internal.pkDomain()+"/promptkit.html?appKey="+a.appKey+"#register"},internal:{pkDomain:function(){if(a.appKey=="vxutzmlpw56gxubzi60plwtf6f9bus8t")return d.push("https://terra.com.br"),"https://terra.com.br/notifications";if(L(a.cnameHostname)){var e="https://"+a.cnameHostname;return d.push(e),e}var t=document.domain.split(".");if(t.length<2)return;var n="https://push."+t[t.length-2]+"."+t[t.length-1];return d.push(n),n},postState:function(e,t){var n={data:JSON.stringify({type:"check",deviceToken:e,denied:t})};G(n,"*")}}}},F={socketHost:"ws.goroost.com",HB_DELAY:3e4,WS_RECON_DELAY:500,numReconnectTries:1,randomizeTimeout:function(e,t){return e*(Math.random()+.25)+t},send:function(t){e.configSocket&&e.configSocket.send(JSON.stringify({appKey:a.appKey,rdt:a.rdt,msg:t}))},socketMessage:function(e){$.notifications.populateSingle($.roostNodes.noteList,JSON.parse(e),!0),(M(a.rdt)||!a.enabled)&&F.setNoteUI(JSON.parse(e)),$.updateCount()},connect:function(){e.configSocket=new WebSocket("wss://"+F.socketHost),e.configSocket.onerror=function(e){var t=F.randomizeTimeout(F.WS_RECON_DELAY*(F.numReconnectTries^2),100);F.numReconnectTries<6&&F.numReconnectTries++,F.close(t)},e.configSocket.onopen=function(e){F.send("opened"),F.numReconnectTries=1},e.configSocket.onmessage=function(e){F.socketMessage(e.data)},e.configSocket.onclose=function(e){F.close(F.WS_RECON_DELAY)},F.createNoteUI()},createNoteUI:function(){var t={overflowContainer:e.document.createElement("div"),wrapper:e.document.createElement("div"),title:e.document.createElement("p"),body:e.document.createElement("p"),url:e.document.createElement("p"),image:e.document.createElement("img"),close:e.document.createElement("div")};t.overflowContainer.setAttribute("id","roost-browsernote-overflow"),t.wrapper.setAttribute("id","roost-browsernote-wrapper"),t.title.setAttribute("id","roost-browsernote-title"),t.body.setAttribute("id","roost-browsernote-body"),t.url.setAttribute("id","roost-browsernote-url"),t.image.setAttribute("id","roost-browsernote-image"),t.close.setAttribute("id","roost-browsernote-close-wrapper"),t.close.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid" width="11" height="11" viewBox="0 0 11 11" id="roost-browsernote-close"> <path d="M11.001,9.625 C11.001,9.625 9.625,11.001 9.625,11.001 C9.625,11.001 5.500,6.875 5.500,6.875 C5.500,6.875 1.375,11.001 1.375,11.001 C1.375,11.001 -0.001,9.625 -0.001,9.625 C-0.001,9.625 4.125,5.500 4.125,5.500 C4.125,5.500 -0.001,1.375 -0.001,1.375 C-0.001,1.375 1.375,-0.001 1.375,-0.001 C1.375,-0.001 5.500,4.125 5.500,4.125 C5.500,4.125 9.625,-0.001 9.625,-0.001 C9.625,-0.001 11.001,1.375 11.001,1.375 C11.001,1.375 6.875,5.500 6.875,5.500 C6.875,5.500 11.001,9.625 11.001,9.625 Z" id="path-1" class="cls-2" fill-rule="evenodd"/> </svg>',t.wrapper.appendChild(t.image),t.wrapper.appendChild(t.title),t.wrapper.appendChild(t.body),t.wrapper.appendChild(t.close),t.close.addEventListener("click",function(e){e.stopPropagation(),g("wsnoteclose"),p._addClass(t.close,"roost-browsernote-click"),p._removeClass(t.wrapper,"roost-browsernote-visible"),setTimeout(function(){p._removeClass(t.close,"roost-browsernote-click")},100)}),t.overflowContainer.appendChild(t.wrapper);var n=e.document.getElementsByTagName("body")[0];n.appendChild(t.overflowContainer)},setNoteUI:function(e){function s(){t.textContent=e.title,n.textContent=e.body;var s="https://dashboard.goroost.com/api/device/logo?size=160&appKey=",o=s+a.appKey;g("wsnoteshow"),e.has_image&&(o=a.host+"/api/browser/logo?size=160&direct=true&appKey="+a.appKey+"&noteID="+e.roost_note_id),r.setAttribute("src",o),i.addEventListener("click",function(t){t.preventDefault(),p._removeClass(i,"roost-browsernote-visible"),g("wsnoteclick");var n="roost-notification-"+e.roost_note_id;$.notifications.removeSingle(n),setTimeout(function(){e.roost_send_id?window.location.href="https://go.goroost.com/note/"+e.roost_note_id+"/"+e.roost_send_id:window.location.href="https://go.goroost.com/note/"+e.roost_note_id},1500)}),p._addClass(i,"roost-browsernote-visible")}var t=p._getElById("roost-browsernote-title"),n=p._getElById("roost-browsernote-body"),r=p._getElById("roost-browsernote-image"),i=p._getElById("roost-browsernote-wrapper");p._hasClass(i,"roost-browsernote-visible")?(p._removeClass(i,"roost-browsernote-visible"),setTimeout(function(){s()},300)):s()},close:function(t){e.configSocket&&(delete e.configSocket,t&&t>0&&setTimeout(F.connect,t))}},I={notificationsTitle:"",appKey:"",siteName:"",promptMessage:"Get top stories sent right to your device!",promptCTA:"Subscribe",buttonColor:"#1982df",buttonHover:"#2d9bfc",promptStyles:"",promptDelay:7,promptThreshold:35,qualifyOnLoad:function(){var e=p._getElById("roost-qualify-outer");if(e)return;I.qualifyLoadCSS(),I.addQualifyDiv(),I.adjustQualifyForPlatform()},qualifyLoadCSS:function(){if(I.promptStyles.length>0)var t=I.promptStyles;else var t="#roost-modal { display: none; } #roost-wrapper { position: fixed; top: 0; right: -405px; height: 100%; width: 405px; font-family: Helvetica, Roboto-Regular, Arial, sans-serif !important; color: #666; text-align: center; background-color: rgba(255, 255, 255, 0.98); box-shadow: -1px 2px 5px rgba(0, 0, 0, 0.4); -webkit-animation: roost-slide-in 0.75s forwards; -webkit-animation-delay: 2s; -moz-animation: roost-slide-in 0.75s forwards; -moz-animation-delay: 2s; animation: roost-slide-in 0.75s forwards; animation-delay: 2s;} #roost-wrapper.roost-wrapper-dismissed { -webkit-animation: roost-slide-out 0.5s forwards; -moz-animation: roost-slide-out 0.5s forwards; animation: roost-slide-out 0.5s forwards; } #roost-slide-out-header { height: 60px; position: relative; } #roost-slide-out-header hr { width: 90px; height: 1px; position: absolute; background-color: #d6d6d6; bottom: 0; left: 0; right: 0; margin: 0 auto; padding: 0; border: none; } #roost-slide-out-headline { position: relative; top: 25px; font-size: 14px; font-weight: 400; text-align: center; text-transform: uppercase; width: 320px; margin: 0 auto; } #roost-qualify-dismiss { position: absolute; right: 18px; top: 24px; } #roost-slide-out-slug { text-align: center; margin-top: 54px; font-size: 19px; font-weight: 600; width: 350px; margin-left: auto; margin-right: auto; } #roost-slide-out-desc { margin-top: 9px; width: 330px; margin-left:auto; margin-right: auto; font-size: 13px; font-weight: 300; } #roost-subscribe-button { width: 146px; height: 29px; margin: 17px auto 0; padding-top: 10px; text-align: center; color: #ffffff; font-size: 15px; font-weight: 400; background-color: "+I.buttonColor+"; border-radius: 5px; cursor: pointer; box-sizing: content-box; } #roost-slide-out-device { width: 333px; height: 422px; margin-top: 66px; background-image: url(https://s3.amazonaws.com/roost/promptkit/laptop.png); background-size: cover; background-repeat: no-repeat; } #roost-x { cursor: pointer; } #roost-x img { width: 13px; } @-webkit-keyframes roost-slide-in { 0% { right: -405px ;} 95% {right: -3px;} 100% {right: -5px;} } @-moz-keyframes roost-slide-in { 0% { right: -405px ;} 95% {right: -3px;} 100% {right: -5px;} } @keyframes roost-slide-in { 0% { right: -405px ;} 95% {right: -3px;} 100% {right: -5px;} } @-webkit-keyframes roost-slide-out { 0% {right: -5px;} 5% { right: -3px;} 100% { right: -405px; } } @-moz-keyframes roost-slide-out { 0% {right: -5px;} 5% { right: -3px;} 100% { right: -405px; } } @keyframes roost-slide-out { 0% {right: -5px;} 5% { right: -3px;} 100% { right: -405px; } } @media screen and (max-device-height: 640px) and (orientation: portrait) { #roost-wrapper { width: 86%; right: -86%; box-shadow: none; } #roost-modal { display: block; opacity: 0; width: 100%; height: 100%; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0, 0, 0, 0.5); -webkit-animation: roost-fade-in 0.75s forwards; -webkit-animation-delay: 2s; -moz-animation: roost-fade-in 0.75s forwards; -moz-animation-delay: 2s; animation: roost-fade-in 0.75s forwards; animation-delay: 2s; } #roost-modal.roost-wrapper-dismissed { -webkit-animation: roost-fade-out 0.5s forwards; -moz-animation: roost-fade-out 0.5s forwards; animation: roost-fade-out 0.5s forwards; } #roost-slide-out-header { height: 10%; } #roost-slide-out-headline { top: 25%; font-size: 18px; } #roost-qualify-dismiss { right: 8%; top: 22%; } #roost-x img { width: 15px; } #roost-slide-out-header hr { width: 20%; height: 4%; } #roost-slide-out-slug { margin-top: 10%; font-size: 16px; } #roost-slide-out-desc { margin-top: 1%; font-size: 14px; } #roost-subscribe-button { width: 50%; height: 32px; margin: 10% auto; padding-top: 16px; font-size: 14px; border-radius: 10px; } #roost-slide-out-device { width: 100%; height: 284px; margin-top: 0; background-image: url(https://s3.amazonaws.com/roost/promptkit/mobile-phone.png); } @-webkit-keyframes roost-slide-in { 0% { right: -86% ;} 95% {right: -1%;} 100% {right: -2%;} } @-moz-keyframes roost-slide-in { 0% { right: -86% ;} 95% {right: -1%;} 100% {right: -2%;} } @keyframes roost-slide-in { 0% { right: -86% ;} 95% {right: -1%;} 100% {right: -2%;} } @-webkit-keyframes roost-slide-out { 0% {right: -2%;} 5% { right: -1%;} 100% { right: -86%; } } @-moz-keyframes roost-slide-out { 0% {right: -2%;} 5% { right: -1%;} 100% { right: -86%; } } @keyframes roost-slide-out { 0% {right: -2%;} 5% { right: -1%;} 100% { right: -86%; } } @-webkit-keyframes roost-fade-in { 0% { opacity: 0; } 100% { opacity: 1; } } @-moz-keyframes roost-fade-in { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes roost-fade-in { 0% { opacity: 0; } 100% { opacity: 1; } } @-webkit-keyframes roost-fade-out { 0% { opacity: 1; } 100% { opacity: 0; } } @-moz-keyframes roost-fade-out { 0% { opacity: 1; } 100% { opacity: 0; } } @keyframes roost-fade-out { 0% { opacity: 1; } 100% { opacity: 0; } } } @media screen and (max-device-height: 640px) and (orientation: landscape) { #roost-wrapper { width: 86%; right: -86%; box-shadow: none; text-align: left; } #roost-modal { display: block; opacity: 0; width: 100%; height: 100%; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0, 0, 0, 0.5); -webkit-animation: roost-fade-in 0.75s forwards; -webkit-animation-delay: 2s; -moz-animation: roost-fade-in 0.75s forwards; -moz-animation-delay: 2s; animation: roost-fade-in 0.75s forwards; animation-delay: 2s; } #roost-modal.roost-wrapper-dismissed { -webkit-animation: roost-fade-out 0.5s forwards; -moz-animation: roost-fade-out 0.5s forwards; animation: roost-fade-out 0.5s forwards; } #roost-slide-out-header { height: 20%; } #roost-slide-out-headline { top: 28%; font-size: 16px; padding-left: 5%; } #roost-qualify-dismiss { right: 5%; top: 24%; } #roost-x img { width:15px; } #roost-slide-out-header hr { width: 90%; height: 2%; } #roost-slide-out-banner { text-align: left; padding-left: 5%; } #roost-slide-out-slug { margin-top: 3%; font-size: 19px; } #roost-slide-out-desc { margin-top: 2%; margin-bottom: 4%; font-size: 15px; } #roost-subscribe-button { width: 33%; height: 33px; margin: 0; padding-top: 16px; font-size: 14px; border-radius: 10px; text-align: center; position: relative; z-index: 20; } #roost-slide-out-device { width: 86%; height: 142%; position: absolute; right: -2%; bottom: -82%; background-size: contain; background-image: url(https://s3.amazonaws.com/roost/promptkit/mobile-phone.png); z-index: 10; } @-webkit-keyframes roost-slide-in { 0% { right: -86% ;} 95% {right: -1%;} 100% {right: -2%;} } @-moz-keyframes roost-slide-in { 0% { right: -86% ;} 95% {right: -1%;} 100% {right: -2%;} } @keyframes roost-slide-in { 0% { right: -86% ;} 95% {right: -1%;} 100% {right: -2%;} } @-webkit-keyframes roost-slide-out { 0% {right: -2%;} 5% { right: -1%;} 100% { right: -86%; } } @-moz-keyframes roost-slide-out { 0% {right: -2%;} 5% { right: -1%;} 100% { right: -86%; } } @keyframes roost-slide-out { 0% {right: -2%;} 5% { right: -1%;} 100% { right: -86%; } } @-webkit-keyframes roost-fade-in { 0% { opacity: 0; } 100% { opacity: 1; } } @-moz-keyframes roost-fade-in { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes roost-fade-in { 0% { opacity: 0; } 100% { opacity: 1; } } @-webkit-keyframes roost-fade-out { 0% { opacity: 1; } 100% { opacity: 0; } } @-moz-keyframes roost-fade-out { 0% { opacity: 1; } 100% { opacity: 0; } } @keyframes roost-fade-out { 0% { opacity: 1; } 100% { opacity: 0; } }} .roost-reset { backface-visibility : visible; background : 0; background-clip : border-box; background-color : transparent; background-image : none; background-origin : padding-box; background-position : 0 0; background-position-x : 0; background-position-y : 0; background-repeat : repeat; background-size : auto auto; border : 0; border-style : none; border-width : medium; border-color : inherit; border-bottom : 0; border-bottom-color : inherit; border-bottom-left-radius : 0; border-bottom-right-radius : 0; border-bottom-style : none; border-bottom-width : medium; border-collapse : separate; border-image : none; border-left : 0; border-left-color : inherit; border-left-style : none; border-left-width : medium; border-radius : 0; border-right : 0; border-right-color : inherit; border-right-style : none; border-right-width : medium; border-spacing : 0; border-top : 0; border-top-color : inherit; border-top-left-radius : 0; border-top-right-radius : 0; border-top-style : none; border-top-width : medium; box-shadow : none; box-sizing : content-box; caption-side : top; clear : none; clip : auto; color : inherit; columns : auto; column-count : auto; column-fill : balance; column-gap : normal; column-rule : medium none currentColor; column-rule-color : currentColor; column-rule-style : none; column-rule-width : none; column-span : 1; column-width : auto; content : normal; counter-increment : none; counter-reset : none; cursor : auto; direction : ltr; display : inline; empty-cells : show; float : none; height : auto; hyphens : none; left : auto; letter-spacing : normal; line-height : normal; list-style : none; list-style-image : none; list-style-position : outside; list-style-type : disc; max-height : none; max-width : none; min-height : 0; min-width : 0; opacity : 1; orphans : 0; outline : 0; outline-color : invert; outline-style : none; outline-width : medium; overflow : visible; overflow-x : visible; overflow-y : visible; page-break-after : auto; page-break-before : auto; page-break-inside : auto; perspective : none; perspective-origin : 50% 50%; //position : static; quotes : 'C' 'D' '8' '9'; right : auto; tab-size : 8; table-layout : auto; text-align : inherit; text-align-last : auto; text-decoration : none; text-decoration-color : inherit; text-decoration-line : none; text-decoration-style : solid; text-indent : 0; text-shadow : none; text-transform : none; top : auto; transform : none; transform-style : flat; transition : none; transition-delay : 0s; transition-duration : 0s; transition-property : none; transition-timing-function : ease; unicode-bidi : normal; vertical-align : baseline; visibility : visible; white-space : normal; widows : 0; word-spacing : normal; z-index : auto; }";var n=e.document.head||e.document.getElementsByTagName("head")[0],r=e.document.createElement("style");r.type="text/css",r.styleSheet?r.styleSheet.cssText=css:r.appendChild(e.document.createTextNode(t)),n.appendChild(r)},addQualifyDiv:function(){var t='<div id="roost-qualify-outer" class="roost-reset">';t+='<div id="roost-modal"></div>',t+='<div id="roost-wrapper">',t+='<div id="roost-slide-out-header">',t+='<div id="roost-slide-out-headline">'+I.notificationsTitle+"</div>",t+='<div id="roost-qualify-dismiss"><a id="roost-x"><img src="//s3.amazonaws.com/roost/promptkit/roost-x-gray.png" /></a></div>',t+="<hr />",t+="</div>",t+='<div id="roost-slide-out-banner">',t+='<div id="roost-slide-out-slug">'+I.siteName+"</div>",t+='<div id="roost-slide-out-desc">'+I.promptMessage+"</div>",t+='<div id="roost-subscribe-button">'+I.promptCTA+"</div>",t+="</div>",t+='<div id="roost-slide-out-device"></div>',t+="</div>",t+="</div>";var n=e.document.createElement("div");n.innerHTML=t,e.document.getElementsByTagName("body")[0].appendChild(n),p._getElById("roost-qualify-dismiss").addEventListener("click",function(e){I.declineQualifier()}),p._getElById("roost-subscribe-button").addEventListener("click",function(e){p.register(),I.declineQualifier()})},adjustQualifyForPlatform:function(){navigator.platform.toLowerCase().indexOf("win")!==-1&&(e.document.getElementById("roost-slide-out-device").style.backgroundImage="url(https://s3.amazonaws.com/roost/promptkit/laptop-windows.png)")},showQualifier:function(e){var t=p._getElById("roost-qualify-outer");if(!e||!I.canShowQualifier()||!t)e=!1;var n=p._getElById("roost-wrapper");n.style.zIndex=a.pkSettings.zIndex,t.style.display=e?"block":"none"},declineQualifier:function(){e.document.getElementById("roost-wrapper").style.right="-5px",p._getElById("roost-wrapper").style.right="-5px",p._addClass(p._getElById("roost-wrapper"),"roost-wrapper-dismissed"),p._addClass(p._getElById("roost-modal"),"roost-wrapper-dismissed");var t=new Date;t.setDate(t.getDate()+I.promptDelay);var n=86400*I.promptDelay;e.document.cookie="_rpkd=1; expires="+t+"; max-age="+n,I.showQualifier(!1)},clearDecline:function(){e.document.cookie="_rpkd=; expires=Thu, 01 Jan 1970 00:00:00 GMT; max-age=0"},promptForRoost:function(){p._addClass(p._getElById("roost-wrapper"),"roost-wrapper-dismissed"),p._addClass(p._getElById("roost-modal"),"roost-wrapper-dismissed"),p.register()},canShowQualifier:function(){if(p._cookiesEnabled()){var e=p.getCookie("_rpkd");return e.length>0?!1:!0}var t=Math.floor(Math.random()*100);return t>=I.promptThreshold?!1:!0},init:function(){a.pkSettings.text.flyout.title=a.pkSettings.text.flyout.title.replace("$SITE",a.configName),a.pkSettings.text.flyout.headline=a.pkSettings.text.flyout.headline.replace("$SITE",a.configName),a.pkSettings.text.flyout.callout=a.pkSettings.text.flyout.callout.replace("$SITE",a.configName),I.notificationsTitle=a.pkSettings.text.flyout.title,I.siteName=a.pkSettings.text.flyout.callout,I.promptCTA=a.pkSettings.text.flyout.button,I.promptMessage=a.pkSettings.text.flyout.message,I.appKey=a.appKey,I.qualifyOnLoad(),I.showQualifier(!0)}},q=e.document,R=q.documentElement,U=q.getElementsByTagName("body")[0],z=e.innerWidth||R.clientWidth||U.clientWidth,W=e.innerHeight||R.clientHeight||U.clientHeight,X='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve" id="roost-bell"> <style type="text/css"> .st1 { display:none;} .st2 { display:inline;} .st3 { fill: none;stroke:#A7A9AB;stroke-width:5.000000e-02;stroke-miterlimit:10;stroke-dasharray:0.1001,0.1001;} .st4 { display:inline;fill:none;stroke:#A7A9AB;stroke-width:5.000000e-02;stroke-miterlimit:10;stroke-dasharray:0.1;} </style> <g id="Layer_3"> <g> <path class="st0" d="M28,21.7c0-2.5-1.1-5.4-3.1-7.6c-1.9-2.1-3.4-1.9-3.4-3.6C21.5,9.7,20.8,9,20,9s-1.5,0.7-1.5,1.5c0,1.6-1.6,1.4-3.4,3.6c-2,2.2-3.1,5.1-3.1,7.6c0,2.7-2,2.5-2,4.3c0,2.5,3.9,4,10,4s10-1.5,10-4C30,24.2,28,24.4,28,21.7z"/> <path class="st0" d="M22.5,30.9C21.6,31,21,31,20,31s-1.6,0-2.5-0.1c-0.1,0-0.2,0.1-0.2,0.2S18,33,20,33s2.8-1.7,2.8-1.9S22.6,30.9,22.5,30.9z"/> </g> </g> <g id="Circles" class="st1"> <g class="st2"> <circle class="st3" cx="20" cy="30" r="3"/> </g> <circle class="st4" cx="28" cy="26" r="2"/> <circle class="st4" cx="12" cy="26" r="2"/> <circle class="st4" cx="20" cy="10.5" r="1.5"/> <circle class="st4" cx="20" cy="19" r="7"/> <circle class="st4" cx="17.5" cy="31.1" r="0.2"/> <circle class="st4" cx="22.5" cy="31.1" r="0.3"/> </g> </svg> <p id="roost-bubble-count"></p>',V='<div id="roost-overlay"></div> <div id="roost-notifications-head"> <!-- CLOSE ICON --><div id="roost-close-pane"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid" width="11" height="11" viewBox="0 0 11 11" id="roost-close"> <path d="M11.001,9.625 C11.001,9.625 9.625,11.001 9.625,11.001 C9.625,11.001 5.500,6.875 5.500,6.875 C5.500,6.875 1.375,11.001 1.375,11.001 C1.375,11.001 -0.001,9.625 -0.001,9.625 C-0.001,9.625 4.125,5.500 4.125,5.500 C4.125,5.500 -0.001,1.375 -0.001,1.375 C-0.001,1.375 1.375,-0.001 1.375,-0.001 C1.375,-0.001 5.500,4.125 5.500,4.125 C5.500,4.125 9.625,-0.001 9.625,-0.001 C9.625,-0.001 11.001,1.375 11.001,1.375 C11.001,1.375 6.875,5.500 6.875,5.500 C6.875,5.500 11.001,9.625 11.001,9.625 Z" id="path-1" class="cls-2" fill-rule="evenodd"/> </svg></div> <!-- NOTIFICATION TITLE --> <p id="roost-notifications-title">Notifications</p> <p id="roost-gear">Settings</p> </div> <!-- SETTINGS MENU --> <div id="roost-settings"> <input type="checkbox" id="roost-disable"/> <p id="roost-disable-text">Send me desktop notifications</p>  <p id="roost-email-text" class="roost-hide">Send me notifications via email</p><div id="roost-email-input-wrapper" class="roost-hide"> <input type="text" id="roost-email-input"/> <button id="roost-email-submit">Submit</button> </div><p id="roost-email-success" class="roost-hide">Thanks! Check your email soon.</p><p id="roost-email-failure" class="roost-hide">There was an issue registering your email address. Is your email entered correctly?</p> <p id="roost-disable-confirmation" class="roost-hide">You&apos;ve been unsubscribed.</p><p id="roost-enable-confirmation" class="roost-hide">You&apos;ve been subscribed. Enjoy!</p> <div id="roost-spinner"></div> </div> <!-- NOTIFICATION LIST--> <ul id="roost-data"> </ul> <!-- CLEAR ALL --> <p id="roost-clear-all">Clear all</p><!-- SHARE ICON --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid" width="11" height="12" viewBox="0 0 11 12" id="roost-share-template"> <image xlink:href="data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAMBAMAAABGh1qtAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAALVBMVEWUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJT///95LpK7AAAADXRSTlMASeYq+OcUleuY5EqWN52rBAAAAAFiS0dEDm+9ME8AAAAJcEhZcwAACxIAAAsSAdLdfvwAAAA/SURBVAjXY2BgYGBUEgCSDEx3FUCUyd0AIJneGbWBQUizPQHI1r1iwICgtq4ECwKV9ED0mUD0MYH1MXBHbQAATRQO8Wsew14AAAAASUVORK5CYII=" width="11" height="12"/> </svg><!-- FACEBOOK ICON --><svg xmlns="http://www.w3.org/2000/svg" id="roost-shareicon-fb" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid" width="32" height="32" viewBox="0 0 32 32">  <path d="M30.234,0.000 C30.234,0.000 1.766,0.000 1.766,0.000 C0.791,0.000 0.000,0.791 0.000,1.766 C0.000,1.766 0.000,30.234 0.000,30.234 C0.000,31.209 0.791,32.000 1.766,32.000 C1.766,32.000 17.092,32.000 17.092,32.000 C17.092,32.000 17.092,19.608 17.092,19.608 C17.092,19.608 12.922,19.608 12.922,19.608 C12.922,19.608 12.922,14.779 12.922,14.779 C12.922,14.779 17.092,14.779 17.092,14.779 C17.092,14.779 17.092,11.217 17.092,11.217 C17.092,7.084 19.616,4.833 23.304,4.833 C25.070,4.833 26.588,4.965 27.030,5.023 C27.030,5.023 27.030,9.343 27.030,9.343 C27.030,9.343 24.473,9.344 24.473,9.344 C22.468,9.344 22.079,10.297 22.079,11.695 C22.079,11.695 22.079,14.779 22.079,14.779 C22.079,14.779 26.862,14.779 26.862,14.779 C26.862,14.779 26.239,19.608 26.239,19.608 C26.239,19.608 22.079,19.608 22.079,19.608 C22.079,19.608 22.079,32.000 22.079,32.000 C22.079,32.000 30.234,32.000 30.234,32.000 C31.209,32.000 32.000,31.209 32.000,30.234 C32.000,30.234 32.000,1.766 32.000,1.766 C32.000,0.791 31.209,0.000 30.234,0.000 Z" id="path-1" class="cls-2" fill-rule="evenodd"/> </svg> <!-- TWITTER ICON --> <svg xmlns="http://www.w3.org/2000/svg" id="roost-shareicon-twitter" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid" width="32" height="32" viewBox="0 0 32 32"> <path d="M30.000,32.000 C30.000,32.000 2.000,32.000 2.000,32.000 C0.895,32.000 -0.000,31.105 -0.000,30.000 C-0.000,30.000 -0.000,2.000 -0.000,2.000 C-0.000,0.895 0.895,0.000 2.000,0.000 C2.000,0.000 30.000,0.000 30.000,0.000 C31.105,0.000 32.000,0.895 32.000,2.000 C32.000,2.000 32.000,30.000 32.000,30.000 C32.000,31.105 31.105,32.000 30.000,32.000 ZM26.829,7.195 C25.968,7.724 25.015,8.108 24.000,8.315 C23.187,7.418 22.029,6.857 20.748,6.857 C18.288,6.857 16.293,8.924 16.293,11.473 C16.293,11.835 16.332,12.187 16.408,12.525 C12.706,12.333 9.423,10.495 7.226,7.702 C6.842,8.384 6.623,9.177 6.623,10.023 C6.623,11.624 7.409,13.037 8.604,13.865 C7.874,13.841 7.187,13.633 6.587,13.288 C6.586,13.307 6.586,13.326 6.586,13.346 C6.586,15.582 8.122,17.448 10.160,17.872 C9.786,17.978 9.392,18.034 8.986,18.034 C8.699,18.034 8.420,18.005 8.148,17.951 C8.715,19.785 10.360,21.120 12.310,21.157 C10.785,22.395 8.864,23.133 6.777,23.133 C6.417,23.133 6.063,23.112 5.714,23.069 C7.686,24.379 10.027,25.143 12.543,25.143 C20.738,25.143 25.219,18.109 25.219,12.009 C25.219,11.808 25.214,11.609 25.206,11.411 C26.076,10.760 26.831,9.947 27.429,9.022 C26.630,9.389 25.771,9.637 24.870,9.749 C25.790,9.177 26.496,8.273 26.829,7.195 Z" id="path-1" class="cls-2" fill-rule="evenodd"/> </svg><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid" width="7" height="14" viewBox="0 0 7 14" id="roost-banner-arrow"> <defs> <style> .cls-2 {fill: #3b3b3b; opacity: 0.6; } </style> </defs> <path d="M7.012,7.420 C7.012,7.420 1.420,14.012 1.420,14.012 C1.420,14.012 -0.012,12.580 -0.012,12.580 C-0.012,12.580 3.875,7.000 3.875,7.000 C3.875,7.000 -0.012,1.420 -0.012,1.420 C-0.012,1.420 1.420,-0.012 1.420,-0.012 C1.420,-0.012 7.012,6.580 7.012,6.580 C7.012,6.580 6.300,7.000 6.300,7.000 C6.300,7.000 7.012,7.420 7.012,7.420 Z" id="path-1" class="cls-2" fill-rule="evenodd"/> </svg><!-- BRANDING --><p id="roost-branding">Powered by <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid" width="62" height="35" viewBox="0 0 62 35" id="roost-brand-logo"> <path d="M61.968,10.987 C61.524,12.545 60.338,12.825 58.148,13.077 C57.200,15.330 56.462,17.635 56.012,20.841 C55.493,24.541 57.441,23.891 57.779,23.607 C57.972,23.446 58.291,23.495 58.458,23.689 C58.819,24.106 58.425,26.332 56.235,26.332 C53.291,26.332 53.025,22.446 53.616,18.395 C53.004,18.745 52.141,19.121 50.935,19.456 C51.380,20.062 51.684,20.757 51.684,21.525 C51.684,24.104 49.449,26.343 45.625,26.343 C42.963,26.343 41.107,25.166 41.107,23.195 C41.107,21.132 43.008,19.194 46.860,18.762 C47.012,18.745 47.161,18.727 47.307,18.708 C46.379,18.235 44.977,17.567 44.752,16.380 C43.874,16.726 42.198,17.144 39.593,16.849 C41.037,23.582 37.046,26.334 33.609,26.334 C30.839,26.334 29.133,25.084 29.133,22.020 C29.133,20.515 29.928,18.395 31.156,16.626 C30.261,16.878 29.044,17.029 27.452,16.849 C28.897,23.582 24.906,26.334 21.469,26.334 C18.699,26.334 16.992,25.084 16.992,22.020 C16.992,18.955 20.295,13.331 23.826,13.331 C25.084,13.331 25.829,14.033 26.388,14.569 C27.021,15.177 30.770,15.936 33.353,14.296 C33.353,14.296 33.353,14.298 33.353,14.298 C34.175,13.699 35.063,13.331 35.966,13.331 C37.225,13.331 37.969,14.033 38.529,14.569 C39.155,15.170 43.337,15.924 45.440,14.373 C46.127,13.694 47.229,13.331 48.411,13.331 C51.044,13.331 50.199,16.813 47.466,16.813 C47.466,16.813 48.660,17.337 49.777,18.259 C53.211,17.419 54.022,16.143 54.022,16.143 C54.022,16.143 54.022,16.144 54.022,16.144 C54.197,15.329 54.467,14.351 54.777,13.334 C52.769,13.363 51.723,13.051 51.723,12.442 C51.723,11.654 53.620,11.245 55.545,10.958 C56.328,8.645 57.101,6.620 57.198,6.370 C57.416,5.808 60.676,5.108 61.019,5.108 C61.335,5.108 61.610,5.458 61.461,5.802 C60.701,7.564 59.987,9.051 59.335,10.440 C60.935,10.243 62.188,10.212 61.968,10.987 ZM23.751,16.141 C21.741,16.141 20.370,19.211 20.370,20.659 C20.370,21.595 20.892,22.789 22.457,22.789 C24.436,22.789 25.539,20.884 25.633,19.432 C25.761,17.452 24.886,16.141 23.751,16.141 ZM35.892,16.141 C33.881,16.141 32.511,19.211 32.511,20.659 C32.511,21.595 33.033,22.789 34.598,22.789 C36.577,22.789 37.679,20.884 37.773,19.432 C37.902,17.452 37.027,16.141 35.892,16.141 ZM49.077,19.877 C48.915,19.907 48.748,19.935 48.577,19.963 C46.978,20.225 44.876,20.357 44.787,22.025 C44.748,22.766 45.444,23.517 46.592,23.517 C48.277,23.517 49.639,22.591 49.639,21.229 C49.639,20.682 49.436,20.253 49.077,19.877 ZM10.830,18.686 C13.582,26.684 17.002,28.365 20.641,28.365 C24.281,28.365 25.882,26.674 26.531,26.674 C26.749,26.674 26.945,26.821 27.033,27.087 C27.743,29.241 25.582,34.598 19.500,33.955 C13.397,33.311 9.406,24.706 7.989,20.461 C7.177,24.003 5.403,26.682 2.692,26.682 C1.463,26.682 0.004,25.654 0.004,23.781 C0.004,21.522 2.103,20.602 3.963,19.573 C4.886,19.063 5.561,18.481 5.561,17.874 C5.561,17.288 5.059,17.030 4.727,17.030 C3.942,17.030 3.109,17.350 1.924,17.738 C1.761,17.791 1.589,17.825 1.399,17.675 C0.845,17.299 1.680,15.032 3.893,14.178 C5.089,13.716 8.151,13.090 10.191,17.150 C11.990,15.764 17.326,11.381 17.326,8.183 C17.326,4.026 10.961,6.515 8.768,7.806 C3.566,10.870 3.199,12.859 2.400,12.859 C1.562,12.859 1.656,10.866 1.720,10.364 C2.220,6.435 4.900,2.167 7.953,2.167 C9.336,2.167 9.575,3.012 9.575,3.012 C9.575,3.012 11.274,-0.009 14.640,-0.009 C16.699,-0.009 16.040,1.656 16.040,1.656 C16.040,1.656 17.075,0.996 18.859,0.996 C20.644,0.996 22.350,2.527 20.371,4.367 C20.371,4.367 22.695,4.599 22.695,7.129 C22.695,13.546 12.957,17.828 10.830,18.686 Z" id="path-1" class="cls-2" fill-rule="evenodd"/> </svg></p>',$={roostNodes:{},roostClasses:{expandNotes:"roost-notes-visible",expandIndicator:"roost-expanded",showSettings:"roost-settings-visible",confirmDisable:"roost-show-disconfirmation",shrinkWrapper:"roost-settings-active",showSpinner:"show-roost-spinner",hide:"roost-hide",visible:"roost-visible",coachmarks:"show-coachmarks",coachStartAnimation:"animate-coachmarks-start",coachEndAnimation:"animate-coachmarks-end",coachWidthAnimation:"animate-coachmarks-width",noImage:"roost-list-noimage",unsubbedNotes:"roost-notes-unsub",unsubbedBell:"roost-bell-unsub",inlineWrapper:"roost-inline",squareWrapper:"roost-no-circle",left:"roost-wrapper-left",share:"roost-share-active"},showPromptKit:function(){console.log("showPromptKit",p.promptable(),a.usePromptKit),p.promptable()&&a.usePromptKit&&I.init()},show:function(){g("bellview");var t=document.getElementsByTagName("body")[0],n=p._getElById("goroostcom-bell");n?(n.style.display="none",n.innerHTML=X):a.pkSettings.absolute?(n=e.document.createElement("div"),n.style.display="none",n.setAttribute("id","goroostcom-bell"),n.innerHTML=X,a.pkSettings.left&&p._addClass(n,$.roostClasses.left),!a.pkSettings.regOnlyBell||a.pkSettings.regOnlyBell&&L(a.rdt)?t.appendChild(n):(p._addClass(n,"roost-hide"),t.appendChild(n))):console.log("No Roost Bell div found, please set absolute: true in the parameters, or place this div where you want the roost bell to show: <div id='goroostcom-bell' style='display:none;'></div>");var r=e.document.createElement("div");r.style.display="none",r.setAttribute("id","goroostcom-notifications"),r.innerHTML=V,t.appendChild(r);var i=p._getElById("roost-notifications-title"),s=p._getElById("roost-gear"),o=p._getElById("roost-disable-text"),u=p._getElById("roost-disable-confirmation"),f=p._getElById("roost-clear-all");i.textContent=a.pkSettings.text.noteTab,s.textContent=a.pkSettings.text.settingsTab,o.textContent=a.pkSettings.text.subscriptionBox,u.textContent=a.pkSettings.text.unsubConfirmation,f.textContent=a.pkSettings.text.clear,$.roostNodes={wrapper:p._getElById("goroostcom-bell"),bell:p._getElById("roost-bell"),bubble:p._getElById("roost-bubble-count"),notes:p._getElById("goroostcom-notifications"),noteOverlay:p._getElById("roost-overlay"),noteList:p._getElById("roost-data"),gear:p._getElById("roost-gear"),settings:p._getElById("roost-settings"),disableText:p._getElById("roost-disable-text"),disable:p._getElById("roost-disable"),noteDate:p._getElById("roost-date"),head:p._getElById("roost-notifications-head"),title:p._getElById("roost-notifications-title"),spinner:p._getElById("roost-spinner"),disableConfirmation:p._getElById("roost-disable-confirmation"),brand:p._getElById("roost-branding"),clearAll:p._getElById("roost-clear-all"),close:p._getElById("roost-close"),closeWrapper:p._getElById("roost-close-pane"),share:p._getElById("roost-share-template"),twitterIcon:p._getElById("roost-shareicon-twitter"),twitterButton:p._getElById("roost-tweet-btn"),fbIcon:p._getElById("roost-shareicon-fb"),fbButton:p._getElById("roost-fb-btn")},$.initializeBell();var l={isConfig:function(){return a.appKey=="vxutzmlpw56gxubzi60plwtf6f9bus8t"}(),segments:[{display:"Sports News",tagName:"sports"},{display:"Weather Alerts",tagName:"weather"}]},c={isConfig:function(){return a.appKey=="rp9q0v6rpgw65sa1f34f6o6f5jtnwoh3"}(),segments:[{display:"Breaking News",tagName:"BreakingNews"}]};l.isConfig&&$.settingsUI.segmentSelection(l.segments),c.isConfig&&$.settingsUI.segmentSelection(c.segments);var h=$.countNotes(),d=p._isSmallScreen(e),v=navigator.userAgent.indexOf("Firefox")>-1,m=navigator.userAgent.indexOf("Safari")>-1,y=navigator.userAgent.indexOf("Chrome")>-1;y&&m&&(m=!1);if(a.pkSettings.absolute&&a.pkSettings.coachmarks&&h>0){var b=$.flyoutCookie.get();b=="false"&&$.animateCoachmarks()}$.compensateTextLength();if(a.pkSettings.email){var w=p._getElById("roost-email-text"),E=p._getElById("roost-email-input-wrapper");p._removeClass(w,"roost-hide"),p._removeClass(E,"roost-hide")}},subOnMain:function(){p._addClass($.roostNodes.noteList,"roost-subonmain-list");var t={wrapper:e.document.createElement("div"),box:e.document.createElement("input"),text:e.document.createElement("p")};t.wrapper.setAttribute("id","roost-subonmain-wrapper"),t.box.setAttribute("id","roost-subonmain-box"),t.text.setAttribute("id","roost-subonmain-text"),t.box.setAttribute("type","checkbox"),t.box.checked=!1,t.text.textContent=a.pkSettings.text.subscriptionBox,t.box.checked=!1,t.text.addEventListener("click",function(e){p.register(),p._addClass(t.wrapper,"roost-hide")}),t.box.addEventListener("click",function(e){p.register(),p._addClass(t.wrapper,"roost-hide")}),t.wrapper.appendChild(t.box),t.wrapper.appendChild(t.text),$.roostNodes.notes.insertBefore(t.wrapper,$.roostNodes.noteList)},animateCoachmarks:function(){p._addClass($.roostNodes.wrapper,$.roostClasses.coachStartAnimation),setTimeout(function(){p._addClass($.roostNodes.wrapper,$.roostClasses.coachEndAnimation)},100),setTimeout(function(){p._removeClass($.roostNodes.wrapper,$.roostClasses.coachEndAnimation)},4100),setTimeout(function(){p._addClass($.roostNodes.wrapper,$.roostClasses.coachWidthAnimation),$.flyoutCookie.set("true")},4110)},destroy:function(){var e=$.roostNodes.notes;e&&e.parentNode&&e.parentNode.removeChild(e);if(a.pkSettings.absolute){var t=$.roostNodes.wrapper;t.parentNode.removeChild(t)}},restart:function(){$.destroy(),$.show()},initializeBell:function(){M(a.rdt)&&$.readCookie.init(),$.paneCookie.init(),$.flyoutCookie.init(),$.notifications.populateAll($.roostNodes.noteList),$.eventHandlers.preventPropagation(),M(a.rdt)?$.baseUI.unsub():($.roostNodes.disable.checked=a.rdt,$.roostNodes.disable.setAttribute("checked","")),M(a.rdt)&&p.promptable()&&a.usePromptKit&&($.promptAd.init(),$.promptAd.check()?$.baseUI.unsubPrompt():(console.log("Prompt has been dismissed"),$.subOnMain())),$.baseUI.applyStyles(),$.eventHandlers.base()},subscribe:function(){$.restart()},countSvg:{1:'<?xml version="1.0" encoding="utf-8"?><svg version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"width="60px" height="60px" viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve"> <style type="text/css"> .st0{fill:#E25351;} .st1{fill:#3B3B3B;} .st2{fill:#FFFFFF;} </style> <g> <path class="st0" d="M30,38.5c-4.7,0-8.5-3.8-8.5-8.5c0-4.7,3.8-8.5,8.5-8.5c4.7,0,8.5,3.8,8.5,8.5C38.5,34.7,34.7,38.5,30,38.5z"/> <path class="st1" d="M30,22c4.4,0,8,3.6,8,8s-3.6,8-8,8s-8-3.6-8-8S25.6,22,30,22 M30,21c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S35,21,30,21 L30,21z"/> </g> <g> <path class="st2" d="M31,33.5h-1.4V29h-1.8v-1.1c1,0,1.9-0.3,2-1.4H31V33.5z"/> </g> </svg>',2:'<?xml version="1.0" encoding="utf-8"?><svg version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"width="60px" height="60px" viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve"> <style type="text/css"> .st0{fill:#E25351;} .st1{fill:#3B3B3B;} .st2{fill:#FFFFFF;} </style> <g> <path class="st0" d="M30,38.5c-4.7,0-8.5-3.8-8.5-8.5c0-4.7,3.8-8.5,8.5-8.5s8.5,3.8,8.5,8.5C38.5,34.7,34.7,38.5,30,38.5z"/> <path class="st1" d="M30,22c4.4,0,8,3.6,8,8s-3.6,8-8,8s-8-3.6-8-8S25.6,22,30,22 M30,21c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S35,21,30,21 L30,21z"/> </g> <g> <path class="st2" d="M27.6,29.3c0-1.6,0.9-2.8,2.5-2.8c1.3,0,2.4,0.8,2.4,2.2c0,1-0.6,1.6-1.2,2.1c-0.7,0.5-1.5,0.9-2,1.6h3.3v1.2 h-5.1c0-1.6,1-2.3,2.2-3.1c0.6-0.4,1.5-0.8,1.5-1.7c0-0.7-0.4-1.1-1-1.1c-0.8,0-1.1,0.9-1.1,1.6H27.6z"/> </g> </svg>',3:'<?xml version="1.0" encoding="utf-8"?><svg version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"width="60px" height="60px" viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve"> <style type="text/css"> .st0{fill:#E25351;} .st1{fill:#3B3B3B;} .st2{fill:#FFFFFF;} </style> <g> <path class="st0" d="M30,38.5c-4.7,0-8.5-3.8-8.5-8.5c0-4.7,3.8-8.5,8.5-8.5s8.5,3.8,8.5,8.5C38.5,34.7,34.7,38.5,30,38.5z"/> <path class="st1" d="M30,22c4.4,0,8,3.6,8,8s-3.6,8-8,8s-8-3.6-8-8S25.6,22,30,22 M30,21c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S35,21,30,21 L30,21z"/> </g> <g> <path class="st2" d="M29.5,29.3c0.6,0,1.5-0.1,1.5-0.9c0-0.6-0.5-0.9-1-0.9c-0.7,0-1.1,0.5-1.1,1.2h-1.3c0-1.4,1-2.4,2.4-2.4 c1.1,0,2.3,0.7,2.3,1.9c0,0.7-0.3,1.2-1,1.4v0c0.8,0.2,1.2,0.8,1.2,1.6c0,1.5-1.2,2.3-2.6,2.3c-1.6,0-2.6-0.9-2.6-2.5h1.3 c0,0.8,0.4,1.4,1.2,1.4c0.6,0,1.1-0.4,1.1-1.1c0-1.1-0.9-1-1.6-1V29.3z"/> </g> </svg>',4:'<?xml version="1.0" encoding="utf-8"?><svg version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"width="60px" height="60px" viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve"> <style type="text/css"> .st0{fill:#E25351;} .st1{fill:#3B3B3B;} .st2{fill:#FFFFFF;} </style> <g> <path class="st0" d="M30,38.5c-4.7,0-8.5-3.8-8.5-8.5s3.8-8.5,8.5-8.5c4.7,0,8.5,3.8,8.5,8.5S34.7,38.5,30,38.5z"/> <path class="st1" d="M30,22c4.4,0,8,3.6,8,8s-3.6,8-8,8s-8-3.6-8-8S25.6,22,30,22 M30,21c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S35,21,30,21 L30,21z"/> </g> <g> <path class="st2" d="M30.1,31.9h-3v-1.3l3-4.1h1.3v4.2h0.9v1.2h-0.9v1.6h-1.3V31.9z M30.1,28.3L30.1,28.3l-1.8,2.4h1.8V28.3z"/> </g> </svg>',5:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"width="60px" height="60px" viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve"> <style type="text/css"> .st0{fill:#E25351;} .st1{fill:#3B3B3B;} .st2{fill:#FFFFFF;} </style> <g> <path class="st0" d="M30,38.5c-4.7,0-8.5-3.8-8.5-8.5s3.8-8.5,8.5-8.5s8.5,3.8,8.5,8.5S34.7,38.5,30,38.5z"/> <path class="st1" d="M30,22c4.4,0,8,3.6,8,8s-3.6,8-8,8s-8-3.6-8-8S25.6,22,30,22 M30,21c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S35,21,30,21 L30,21z"/> </g> <g> <path class="st2" d="M32.2,27.6h-2.9l-0.3,1.6l0,0c0.4-0.4,0.8-0.5,1.4-0.5c1.4,0,2.2,1.1,2.2,2.4c0,1.4-1.2,2.5-2.6,2.5 c-1.4,0-2.6-0.8-2.6-2.2h1.4c0.1,0.6,0.5,1,1.1,1c0.7,0,1.2-0.7,1.2-1.3c0-0.7-0.5-1.3-1.2-1.3c-0.5,0-0.8,0.2-1.1,0.6h-1.3 l0.7-3.9h3.9V27.6z"/> </g> </svg><?xml version="1.0" encoding="utf-8"?> <svg version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"width="60px" height="60px" viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve"> <style type="text/css"> .st0{fill:#E25351;} .st1{fill:#3B3B3B;} .st2{fill:#FFFFFF;} </style> <g> <path class="st0" d="M30,38.5c-4.7,0-8.5-3.8-8.5-8.5s3.8-8.5,8.5-8.5s8.5,3.8,8.5,8.5S34.7,38.5,30,38.5z"/> <path class="st1" d="M30,22c4.4,0,8,3.6,8,8s-3.6,8-8,8s-8-3.6-8-8S25.6,22,30,22 M30,21c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S35,21,30,21 L30,21z"/> </g> <g> <path class="st2" d="M32.2,27.6h-2.9l-0.3,1.6l0,0c0.4-0.4,0.8-0.5,1.4-0.5c1.4,0,2.2,1.1,2.2,2.4c0,1.4-1.2,2.5-2.6,2.5 c-1.4,0-2.6-0.8-2.6-2.2h1.4c0.1,0.6,0.5,1,1.1,1c0.7,0,1.2-0.7,1.2-1.3c0-0.7-0.5-1.3-1.2-1.3c-0.5,0-0.8,0.2-1.1,0.6h-1.3 l0.7-3.9h3.9V27.6z"/> </g> </svg>',6:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"width="60px" height="60px" viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve"> <style type="text/css"> .st0{fill:#E25351;} .st1{fill:#3B3B3B;} .st2{fill:#FFFFFF;} </style> <g> <path class="st0" d="M30,38.5c-4.7,0-8.5-3.8-8.5-8.5s3.8-8.5,8.5-8.5s8.5,3.8,8.5,8.5S34.7,38.5,30,38.5z"/> <path class="st1" d="M30,22c4.4,0,8,3.6,8,8s-3.6,8-8,8s-8-3.6-8-8S25.6,22,30,22 M30,21c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S35,21,30,21 L30,21z"/> </g> <g> <path class="st2" d="M31.1,28.3c-0.1-0.5-0.5-0.9-0.9-0.9c-1,0-1.3,1.3-1.3,2.1l0,0c0.4-0.5,0.9-0.8,1.6-0.8c0.6,0,1.2,0.3,1.6,0.7 c0.4,0.4,0.5,1,0.5,1.6c0,1.4-1,2.6-2.4,2.6c-2.1,0-2.7-1.8-2.7-3.6c0-1.7,0.8-3.7,2.7-3.7c1.2,0,2.1,0.7,2.3,1.9H31.1z M29,31.2 c0,0.6,0.4,1.3,1.1,1.3c0.7,0,1.1-0.7,1.1-1.3c0-0.7-0.3-1.3-1.1-1.3C29.3,29.9,29,30.5,29,31.2z"/> </g> </svg>',7:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"width="60px" height="60px" viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve"> <style type="text/css"> .st0{fill:#E25351;} .st1{fill:#3B3B3B;} .st2{fill:#FFFFFF;} </style> <g> <path class="st0" d="M30,38.5c-4.7,0-8.5-3.8-8.5-8.5s3.8-8.5,8.5-8.5s8.5,3.8,8.5,8.5S34.7,38.5,30,38.5z"/> <path class="st1" d="M30,22c4.4,0,8,3.6,8,8s-3.6,8-8,8s-8-3.6-8-8S25.6,22,30,22 M30,21c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S35,21,30,21 L30,21z"/> </g> <g> <path class="st2" d="M28.9,31.7c0.1,0.5,0.5,0.9,0.9,0.9c1,0,1.3-1.3,1.3-2.1l0,0c-0.4,0.5-0.9,0.8-1.6,0.8c-0.6,0-1.2-0.3-1.6-0.7 c-0.4-0.4-0.5-1-0.5-1.6c0-1.4,1-2.6,2.4-2.6c2.1,0,2.7,1.8,2.7,3.6c0,1.7-0.8,3.7-2.7,3.7c-1.2,0-2.1-0.7-2.3-1.9H28.9z M31,28.8 c0-0.6-0.4-1.3-1.1-1.3c-0.7,0-1.1,0.7-1.1,1.3c0,0.7,0.3,1.3,1.1,1.3C30.7,30.1,31,29.5,31,28.8z"/> </g> </svg>',8:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"width="60px" height="60px" viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve"> <style type="text/css"> .st0{fill:#E25351;} .st1{fill:#3B3B3B;} .st2{fill:#FFFFFF;} </style> <g> <path class="st0" d="M30,38.5c-4.7,0-8.5-3.8-8.5-8.5s3.8-8.5,8.5-8.5s8.5,3.8,8.5,8.5S34.7,38.5,30,38.5z"/> <path class="st1" d="M30,22c4.4,0,8,3.6,8,8s-3.6,8-8,8s-8-3.6-8-8S25.6,22,30,22 M30,21c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S35,21,30,21 L30,21z"/> </g> <g> <path class="st2" d="M30,26.4c1.7,0,2.3,1.2,2.3,1.9c0,0.7-0.4,1.2-1,1.5v0c0.8,0.2,1.3,0.8,1.3,1.7c0,1.5-1.3,2.2-2.6,2.2 c-1.3,0-2.7-0.7-2.7-2.2c0-0.9,0.5-1.5,1.3-1.7v0c-0.7-0.2-1-0.7-1-1.4C27.7,27,28.9,26.4,30,26.4z M30,32.6c0.7,0,1.2-0.5,1.2-1.2 c0-0.7-0.5-1.1-1.2-1.1c-0.7,0-1.2,0.4-1.2,1.1C28.8,32.1,29.3,32.6,30,32.6z M30,29.3c0.6,0,1-0.3,1-0.9c0-0.4-0.2-1-1-1 c-0.6,0-1.1,0.3-1.1,1C28.9,29,29.4,29.3,30,29.3z"/> </g> </svg>',9:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"width="60px" height="60px" viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve"> <style type="text/css"> .st0{fill:#E25351;} .st1{fill:#3B3B3B;} .st2{fill:#FFFFFF;} </style> <g> <path class="st0" d="M30,38.5c-4.7,0-8.5-3.8-8.5-8.5s3.8-8.5,8.5-8.5c4.7,0,8.5,3.8,8.5,8.5S34.7,38.5,30,38.5z"/> <path class="st1" d="M30,22c4.4,0,8,3.6,8,8s-3.6,8-8,8s-8-3.6-8-8S25.6,22,30,22 M30,21c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S35,21,30,21 L30,21z"/> </g> <g> <path class="st2" d="M32.4,27.8c-1.5,1.3-2.3,3.9-2.3,5.8h-1.5c0.2-2.1,1-4.1,2.3-5.7h-3.3v-1.3h4.8V27.8z"/> </g> </svg>',10:'<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"width="60px" height="60px" viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve"> <style type="text/css"> .st0{fill:#E25351;} .st1{fill:#3B3B3B;} .st2{fill:#FFFFFF;} </style> <g> <path class="st0" d="M30,38.5c-4.7,0-8.5-3.8-8.5-8.5s3.8-8.5,8.5-8.5c4.7,0,8.5,3.8,8.5,8.5S34.7,38.5,30,38.5z"/> <path class="st1" d="M30,22c4.4,0,8,3.6,8,8s-3.6,8-8,8s-8-3.6-8-8S25.6,22,30,22 M30,21c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S35,21,30,21 L30,21z"/> </g> <g> <path class="st2" d="M26.9,31.7c0.1,0.5,0.5,0.9,0.9,0.9c1,0,1.3-1.3,1.3-2.1l0,0c-0.4,0.5-0.9,0.8-1.6,0.8c-0.6,0-1.2-0.3-1.6-0.7 c-0.4-0.4-0.5-1-0.5-1.6c0-1.4,1-2.6,2.4-2.6c2.1,0,2.7,1.8,2.7,3.6c0,1.7-0.8,3.7-2.7,3.7c-1.2,0-2.1-0.7-2.3-1.9H26.9z M29,28.8 c0-0.6-0.4-1.3-1.1-1.3c-0.7,0-1.1,0.7-1.1,1.3c0,0.7,0.3,1.3,1.1,1.3C28.7,30.1,29,29.5,29,28.8z"/> <path class="st2" d="M33.6,29.6h1.6v0.9h-1.6V32h-0.9v-1.6h-1.6v-0.9h1.6V28h0.9V29.6z"/> </g> </svg>'},banner:{init:function(){if(p._getElById("roost-banner"))return;var t=document.getElementsByTagName("body")[0],n=e.document.createElement("div"),r=e.document.createElement("div"),i=e.document.createElement("div"),s=e.document.createElement("p"),o=e.document.createElement("p"),u=e.document.createElement("button"),f=e.document.createElement("p"),l=e.document.createElement("p"),c=p._getElById("roost-banner-arrow").cloneNode(!0),h=e.document.createElement("img");c.setAttribute("class","roost-show-arrow"),n.setAttribute("id","roost-banner"),r.setAttribute("id","roost-banner-left"),i.setAttribute("id","roost-banner-right"),s.setAttribute("id","roost-banner-title"),o.setAttribute("id","roost-banner-subtitle"),u.setAttribute("id","roost-banner-btn"),f.setAttribute("id","roost-banner-belltext"),l.setAttribute("id","roost-banner-dismisstext"),h.setAttribute("id","roost-banner-logo"),s.textContent="Push Notifications for You",o.textContent="Get top stories sent right to your desktop",u.textContent="Subscribe",l.textContent="No thanks",f.textContent="Or, check out hot stories right here!",h.src=a.host+"/api/browser/logo?size=100&direct=true&appKey="+a.appKey,i.appendChild(f),i.appendChild(c),r.appendChild(h),r.appendChild(s),r.appendChild(o),r.appendChild(u),r.appendChild(l),n.appendChild(r),n.appendChild(i),l.addEventListener("click",function(e){e.stopPropagation(),g("nothanks"),$.banner.hide(),$.bannerCookie.set("true")}),u.addEventListener("click",function(e){e.stopPropagation(),p.register(),$.banner.hide()}),t.appendChild(n)},hide:function(){var e=p._getElById("roost-banner");p._addClass(e,"roost-banner-dismiss"),e.parentNode.removeChild(e)}},paneUI:{show:function(){p._getElById("roost-banner")&&$.banner.hide(),$.roostNodes.notes.style.display="block",p._toggleClass($.roostNodes.notes,$.roostClasses.expandNotes),p._toggleClass($.roostNodes.wrapper,$.roostClasses.expandIndicator),p._hasClass($.roostNodes.settings,$.roostClasses.showSettings)&&(p._toggleClass($.roostNodes.settings,$.roostClasses.showSettings),p._toggleClass($.roostNodes.noteList,$.roostClasses.hide)),p._removeClass($.roostNodes.notes,$.roostClasses.shrinkWrapper),$.roostNodes.notes.style.bottom=String(-1*$.roostNodes.notes.getBoundingClientRect().height)+"px",$.paneCookie.set("true")},hide:function(){p._hasClass($.roostNodes.settings,$.roostClasses.showSettings)&&(p._toggleClass($.roostNodes.settings,$.roostClasses.showSettings),p._toggleClass($.roostNodes.noteList,$.roostClasses.hide)),p._removeClass($.roostNodes.disable,$.roostClasses.hide),p._removeClass($.roostNodes.disableText,$.roostClasses.hide),p._removeClass($.roostNodes.spinner,$.roostClasses.showSpinner),p._removeClass($.roostNodes.notes,$.roostClasses.expandNotes),p._removeClass($.roostNodes.notes,$.roostClasses.shrinkWrapper),p._removeClass($.roostNodes.wrapper,$.roostClasses.expandIndicator),$.roostNodes.notes.style.bottom=String(-1*$.roostNodes.notes.getBoundingClientRect().height)+"px",$.paneCookie.set("false")}},notifications:{populateAll:function(e){var t=a.notifications;$.readCookie.removeStale(t);if(t&&t.length)for(var n=0;n<t.length;n++)(function(t){if(M(a.rdt)){var n=$.readCookie.check(t);n||$.notifications.populateSingle(e,t)}else $.notifications.populateSingle(e,t)})(t[n]);else $.emptyNotifications();$.updateCount()},populateSingle:function(t,n,r){if(n.read===!0)return;var i={li:e.document.createElement("li"),title:e.document.createElement("p"),time:e.document.createElement("p"),share:{wrapper:e.document.createElement("div"),twitter:$.roostNodes.twitterIcon.cloneNode(!0),fb:$.roostNodes.fbIcon.cloneNode(!0),mainIcon:$.roostNodes.share.cloneNode(!0)},customTitle:e.document.createElement("p"),customImg:e.document.createElement("img")};$.singleNoteUI.note(i,n),a.pkSettings.share&&(i=$.singleNoteUI.share(i,n)),r?t.insertBefore(i.li,t.firstChild):t.appendChild(i.li)},removeSingle:function(e){var t=e.split("-"),n=t[t.length-1],r=p._getElById(e);p._addClass(r,"dismissing"),setTimeout(function(){r.parentNode.removeChild(r)},500);for(var i=0;i<a.notifications.length;i++){var s=a.notifications[i];s.roost_note_id==n&&(L(a.rdt)&&m(a.host+"/api/browser/clear/"+s.roost_note_id+"/"+s.roost_send_id),M(a.rdt)&&$.readCookie.add(s.roost_note_id),a.notifications.splice(i,1))}g("clearsinglenote"),$.updateCount()},clearAll:function(){while($.roostNodes.noteList.firstChild)$.roostNodes.noteList.removeChild($.roostNodes.noteList.firstChild);while(a.notifications.length>0){var e=a.notifications[0];L(a.rdt)&&m(a.host+"/api/browser/clear/"+e.roost_note_id+"/"+e.roost_send_id),M(a.rdt)&&$.readCookie.add(e.roost_note_id),a.notifications=a.notifications.shift()}g("clearallnotes"),$.updateCount()}},resizeTextNode:function(e){var t=p._getFontSize(e),n=p._getTextWidth(e.textContent,t),r=e.offsetWidth;n=parseInt(n+7);if(r===0)return;if(t<=11)return;if(n>r||n==r)e.style.fontSize=t-1+"px",$.resizeTextNode(e)},compensateTextLength:function(){var e=["roost-notifications-title","roost-gear","roost-clear-all","roost-slide-out-headline","roost-slide-out-slug","roost-slide-out-desc","roost-subscribe-button","roost-bellprompt-title","roost-bellprompt-btn","roost-bellprompt-decline"];for(var t=0;t<e.length;t++){var n=p._getElById(e[t]);if(!n)continue;$.resizeTextNode(n)}var r=[["roost-notifications-title","roost-gear"]];for(var i=0;i<r.length;i++){var s,o,n;for(var u=0;u<r[i].length;u++)n=p._getElById(r[i][u]),o=p._getFontSize(n),u==0?s=o:o<s&&(s=o);for(var a=0;a<r[i].length;a++)n=p._getElById(r[i][a]),n.style.fontSize=s+"px"}},generateCSS:function(){var t=$.countNotes(),n;t>1||t<1?n="updates":t==1&&(n="update");var r=p._deepCopy({},J);a.pkSettings.text.coachmark?r.children["#goroostcom-bell.show-coachmarks::after, #goroostcom-bell.animate-coachmarks-start::after"].attributes.content="'"+a.pkSettings.text.coachmark+"'":r.children["#goroostcom-bell.show-coachmarks::after, #goroostcom-bell.animate-coachmarks-start::after"].attributes.content="'"+t+" new "+n+" for you'",r.children["#goroostcom-bell.show-coachmarks::after, #goroostcom-bell.animate-coachmarks-start::after"].attributes.background=a.pkSettings.bgColor,r.children["#goroostcom-bell.show-coachmarks::before, #goroostcom-bell.animate-coachmarks-start::before"].attributes["border-left-color"]=a.pkSettings.bgColor,r.children["#goroostcom-bell.show-coachmarks::after, #goroostcom-bell.animate-coachmarks-start::after"].attributes["border-left-color"]=a.pkSettings.bgColor,r.children["#roost-bell *"].attributes.fill=a.pkSettings.bellColor+" !important",r.children["#roost-browsernote-wrapper"].attributes["z-index"]=a.pkSettings.zIndex+2e3;var i=r.children["#goroostcom-bell"].attributes.bottom;i=Number(i.slice(0,i.length-2)),i+=a.pkSettings.offset.bottom,r.children["#goroostcom-bell"].attributes.bottom=i+"px",r.children["@media (max-width: 770px)"].children["div#goroostcom-bell"].attributes.bottom=i+"px";if(a.pkSettings.left){var s=r.children["#goroostcom-bell.roost-wrapper-left"].attributes.left;s=Number(s.slice(0,s.length-2)),s+=a.pkSettings.offset.left,r.children["#goroostcom-bell.roost-wrapper-left"].attributes.left=s+"px",r.children["@media (max-width: 770px)"].children["div#goroostcom-bell"].attributes.right="initial",r.children["@media (max-width: 770px)"].children["div#goroostcom-bell"].attributes.left=s+"px"}else{var o=r.children["#goroostcom-bell"].attributes.right;o=Number(o.slice(0,o.length-2)),o+=a.pkSettings.offset.right,r.children["#goroostcom-bell"].attributes.right=o+"px",r.children["@media (max-width: 770px)"].children["div#goroostcom-bell"].attributes.right=o+"px"}var u=K(r),f=e.document.createElement("style");f.innerHTML=u;var l=document.head||document.getElementsByTagName("head")[0];l.appendChild(f)},readCookie:{get:function(){return p.getCookie("roost-notes-read")},set:function(e){p.setCookie("roost-notes-read",e,365)},init:function(){var e=this.get();if(!e||!e.length){var t=JSON.stringify({data:[]});this.set(t)}},add:function(e){var t=JSON.parse(this.get());t=t.data,t.push(e),t=JSON.stringify({data:t}),this.set(t)},check:function(e){var t=this.get();if(t.length){var n=JSON.parse(this.get());return n=n.data,n.indexOf(e.roost_note_id)>-1}return!1},removeStale:function(e){var t=this.get();if(t.length){var n=JSON.parse(t);n=n.data;for(var r=0;r<n.length;r++)e.indexOf(n[r])===-1&&e.splice(r,1);n=JSON.stringify({data:n}),this.set(n)}}},paneCookie:{get:function(){return p.getCookie("roost-isopen")},set:function(e){p.setCookie("roost-isopen",e,365)},init:function(){var t=this.get();!t||!t.length?this.set("false"):t=="true"&&(p._isSmallScreen(e)||($.paneUI.show(),g("autoshow")))}},bannerCookie:{get:function(){return p.getCookie("roost-nothanks")},set:function(e){p.setCookie("roost-nothanks",e,365)},init:function(){var e=this.get();(!e||!e.length)&&this.set("false")}},flyoutCookie:{get:function(){return p.getCookie("roost-flyout")},set:function(e){p.setCookie("roost-flyout",e,.02)},init:function(){var e=this.get();(!e||!e.length)&&this.set("false")}},settingsUI:{disable:function(){M(a.rdt)?p.register():_roost.push(["enable",$.roostNodes.disable.checked]),p._toggleClass($.roostNodes.spinner,$.roostClasses.showSpinner),setTimeout(function(){p._toggleClass($.roostNodes.spinner,$.roostClasses.showSpinner)},2e3)},segmentSelection:function(t){var n=e.document.createElement("ul");n.setAttribute("id","roost-segments-list");var r=e.document.createElement("p");r.setAttribute("id","roost-segments-head"),r.textContent="Only receive notifications about";for(var i=0;i<t.length;i++)(function(t){var r=e.document.createElement("li"),s=e.document.createElement("input"),o=e.document.createElement("p");s.setAttribute("type","checkbox"),s.setAttribute("id","roost-segment-select-"+i),s.setAttribute("class","roost-segment-select"),r.addEventListener("click",function(e){var n=a.tags.indexOf(t.tagName);n==-1?(s.setAttribute("checked","checked"),s.checked=!0,w(["segments_add",t.tagName])):(s.removeAttribute("checked"),s.checked=!1,w(["segments_remove",t.tagName]))});var u=a.tags.indexOf(t.tagName)>-1;s.checked=u,o.setAttribute("id","roost-segment-label-"+i),o.setAttribute("class","roost-segment-label"),o.textContent=t.display,r.setAttribute("id","roost-segment-"+i),r.setAttribute("class","roost-segment"),r.appendChild(s),r.appendChild(o),n.appendChild(r)})(t[i]);$.roostNodes.settings.appendChild(r),$.roostNodes.settings.appendChild(n)}},baseUI:{applyStyles:function(){$.roostNodes.wrapper.style.display="block",p._isSmallScreen(e)?($.roostNodes.wrapper.style.width=a.pkSettings.smMobileWidth,$.roostNodes.wrapper.style.height=a.pkSettings.smMobileHeight):p._isMediumScreen(e)?($.roostNodes.wrapper.style.width=a.pkSettings.lgMobileWidth,$.roostNodes.wrapper.style.height=a.pkSettings.lgMobileHeight):($.roostNodes.wrapper.style.width=a.pkSettings.width,$.roostNodes.wrapper.style.height=a.pkSettings.height),$.roostNodes.wrapper.style.zIndex=a.pkSettings.zIndex,$.roostNodes.wrapper.style.background=a.pkSettings.bgColor,$.roostNodes.bell.style.fill=a.pkSettings.bellColor,$.roostNodes.notes.style.zIndex=a.pkSettings.zIndex+1e3,$.roostNodes.bubble.style.borderColor=a.pkSettings.bgColor,$.roostNodes.bubble.style.background=a.pkSettings.unreadBackgroundColor,$.roostNodes.bubble.style.color=a.pkSettings.unreadTextColor;var t=Math.floor(Number(a.pkSettings.height.substring(0,a.pkSettings.height.length-2))*.32)-4;$.roostNodes.bubble.style.lineHeight=String(t)+"px",a.pkSettings.showUnread=="count"?(p._toggleClass($.roostNodes.bubble,$.roostClasses.fullBubble),p._toggleClass($.roostNodes.bubble,"roost-bubble-svg")):a.pkSettings.showUnread=="dot"?p._toggleClass($.roostNodes.bubble,$.roostClasses.miniBubble):a.pkSettings.showUnread=="none"&&p._toggleClass($.roostNodes.bubble,$.roostClasses.hide),a.pkSettings.absolute||p._toggleClass($.roostNodes.wrapper,$.roostClasses.inlineWrapper),a.pkSettings.circular||p._toggleClass($.roostNodes.wrapper,$.roostClasses.squareWrapper),$.generateCSS()},unsub:function(){console.log("unsub"),console.log(a.pkSettings.settingsForAll),a.pkSettings.settingsForAll||p._addClass($.roostNodes.gear,$.roostClasses.hide)},unsubPrompt:function(){var t=e.document.createElement("img"),n=e.document.createElement("div"),r=e.document.createElement("p"),i=e.document.createElement("p"),s=e.document.createElement("p"),o=e.document.createElement("button");t.setAttribute("id","roost-bellprompt-image"),t.setAttribute("src","//cdn.goroost.com/images/bell/laptop.png"),r.setAttribute("id","roost-bellprompt-title"),r.setAttribute("class","roost-bellprompt-text"),i.setAttribute("id","roost-bellprompt-body"),i.setAttribute("class","roost-bellprompt-text"),o.setAttribute("id","roost-bellprompt-btn"),s.setAttribute("id","roost-bellprompt-decline"),n.setAttribute("id","roost-bellprompt");var u=a.pkSettings.text.noteCenterOptin.title.replace("$SITE",a.configName),f=a.pkSettings.text.noteCenterOptin.button.replace("$SITE",a.configName),l=a.pkSettings.text.noteCenterOptin.body.replace("$SITE",a.configName),c=a.pkSettings.text.noteCenterOptin.decline.replace("$SITE",a.configName);r.textContent=u,o.textContent=f,s.textContent=c,i.textContent=l,o.addEventListener("click",function(e){e.stopPropagation(),p.register()}),s.addEventListener("click",function(e){e.stopPropagation(),$.promptAd.dismiss();var t=p._getElById("roost-bellprompt");p._addClass(t,$.roostClasses.hide),p._toggleClass($.roostNodes.notes,$.roostClasses.unsubbedNotes)}),n.appendChild(r),n.appendChild(i),n.appendChild(o),n.appendChild(s),n.appendChild(t),$.roostNodes.notes.appendChild(n),p._toggleClass($.roostNodes.notes,$.roostClasses.unsubbedNotes),p._toggleClass($.roostNodes.wrapper,$.roostClasses.unsubbedBell)}},singleNoteUI:{note:function(t,n){t.title.textContent=n.body,t.time.textContent=n.time_offset,t.customTitle.textContent=n.title;if(n.has_image){var r=a.host+"/api/browser/logo?size=100&direct=true&appKey="+a.appKey+"&noteID="+n.roost_note_id;t.customImg.setAttribute("class","roost-note-img"),t.customImg.setAttribute("src",r),t.li.setAttribute("class","roost-notification")}else t.li.setAttribute("class","roost-notification roost-list-noimage");t.li.setAttribute("id","roost-notification-"+n.roost_note_id),t.customTitle.setAttribute("class","roost-custom-title"),t.time.setAttribute("class","roost-notification-timestamp"),t.li.appendChild(t.customTitle),t.li.appendChild(t.title),t.li.appendChild(t.customImg),t.li.appendChild(t.time);var i=e.document.createElement("button");return i.setAttribute("class","roost-view-btn"),i.textContent="Open",t.li.addEventListener("click",function(e){e.stopPropagation(),g("storyclick");var t="roost-notification-"+n.roost_note_id;$.notifications.removeSingle(t),setTimeout(function(){n.roost_send_id?window.location.href="https://go.goroost.com/note/"+n.roost_note_id+"/"+n.roost_send_id:window.location.href="https://go.goroost.com/note/"+n.roost_note_id},1500)}),$.eventHandlers.singleNote(t.li),n},share:function(e,t){var n=t.url+"?share=true";return e.share.wrapper.setAttribute("id","roost-share-wrapper"),e.share.fb.setAttribute("id","roost-share-fb"),e.share.twitter.setAttribute("id","roost-share-twitter"),e.share.wrapper.appendChild(e.share.fb),e.share.wrapper.appendChild(e.share.twitter),e.li.appendChild(e.share.wrapper),e.share.twitter.addEventListener("click",function(t){t.stopPropagation(),p._removeClass(e,$.roostClasses.share),$.twitShare(n,520,350),g("shareclick")}),e.share.fb.addEventListener("click",function(r){r.stopPropagation(),p._removeClass(e,$.roostClasses.share),$.fbShare(n,"TITLE",t.title,null,520,350),g("shareclick")}),e.share.mainIcon.setAttribute("id","roost-note-share-"+t.roost_note_id),e.share.mainIcon.setAttribute("class","roost-note-share"),e.share.mainIcon.addEventListener("click",function(t){t.stopPropagation(),p._toggleClass(e.li,$.roostClasses.share)}),e.li.appendChild(e.share.mainIcon),e}},emailUI:{subscribeURL:function(){return"http://localhost:9000/registeremail?appKey="+a.appKey},submit:function(e){p._toggleClass($.roostNodes.spinner,$.roostClasses.showSpinner);var t=$.emailUI.subscribeURL();t=t+"&email="+encodeURIComponent(e),m(t)},handleResponse:function(e){p._toggleClass($.roostNodes.spinner,$.roostClasses.showSpinner);var t;String(e)=="true"?(t=p._getElById("roost-email-success"),p._removeClass(t,"roost-hide")):(t=p._getElById("roost-email-failure"),p._removeClass(t,"roost-hide")),setTimeout(function(){console.log("adding roost-hide to",t),p._addClass(t,"roost-hide")},3e3)}},eventHandlers:{allNotes:function(){var t=e.document.getElementsByClassName("roost-notification");if(!p._isSmallScreen(e)){var n=$.roostNodes.close.cloneNode(!0);n.setAttribute("id","roost-note-dismiss"),n.addEventListener("click",function(e){e.stopPropagation(),$.notifications.removeSingle(n.parentNode.id)})}for(var r=0;r<t.length;r++)(function(t){p._isSmallScreen(e)||t.addEventListener("mouseenter",function(e){t.appendChild(n),setTimeout(function(){p._addClass(n,"dismiss-fadein")},50)}),t.addEventListener("mouseleave",function(r){p._isSmallScreen(e)||(p._removeClass(n,"dismiss-fadein"),t.removeChild(n)),a.pkSettings.share&&p._removeClass(t,$.roostClasses.share)}),t.addEventListener("touchstart",function(e){e.stopPropagation(),$.eventHandlers.touch.handleStart(e)}),t.addEventListener("touchmove",function(e){e.stopPropagation(),$.eventHandlers.touch.handleDirection(e,t)}),t.addEventListener("touchend",function(e){e.stopPropagation(),$.eventHandlers.touch.handleStop(e,t)})})(t[r])},singleNote:function(t){if(!p._isSmallScreen(e)){var n=$.roostNodes.close.cloneNode(!0);n.setAttribute("id","roost-note-dismiss"),n.addEventListener("click",function(e){e.stopPropagation(),$.notifications.removeSingle(n.parentNode.id)})}p._isSmallScreen(e)||t.addEventListener("mouseenter",function(e){t.appendChild(n),setTimeout(function(){p._addClass(n,"dismiss-fadein")},50)}),t.addEventListener("mouseleave",function(r){p._isSmallScreen(e)||(p._removeClass(n,"dismiss-fadein"),t.removeChild(n)),a.pkSettings.share&&p._removeClass(t,$.roostClasses.share)}),t.addEventListener("touchstart",function(e){e.stopPropagation(),$.eventHandlers.touch.handleStart(e)}),t.addEventListener("touchmove",function(e){e.stopPropagation(),$.eventHandlers.touch.handleDirection(e,t)}),t.addEventListener("touchend",function(e){e.stopPropagation(),$.eventHandlers.touch.handleStop(e,t)})},base:function(){a.pkSettings.settingsForAll?$.roostNodes.gear.addEventListener("click",function(e){e.stopPropagation(),g("setting"),p._toggleClass($.roostNodes.settings,$.roostClasses.showSettings),p._toggleClass($.roostNodes.noteList,$.roostClasses.hide),p._toggleClass($.roostNodes.notes,$.roostClasses.shrinkWrapper),$.roostNodes.notes.style.bottom=String(-1*$.roostNodes.notes.getBoundingClientRect().height)+"px"}):L(a.rdt)&&$.roostNodes.gear.addEventListener("click",function(e){e.stopPropagation(),g("setting"),p._toggleClass($.roostNodes.settings,$.roostClasses.showSettings),p._toggleClass($.roostNodes.noteList,$.roostClasses.hide),p._toggleClass($.roostNodes.notes,$.roostClasses.shrinkWrapper),$.roostNodes.notes.style.bottom=String(-1*$.roostNodes.notes.getBoundingClientRect().height)+"px"}),$.roostNodes.notes.addEventListener("touchmove",function(e){e.stopPropagation()}),$.roostNodes.wrapper.addEventListener("click",function(e){g("bellclick"),$.paneUI.show(),p._removeClass($.roostNodes.wrapper,$.roostClasses.coachmarks)}),$.roostNodes.bell.addEventListener("click",function(e){g("bellclick"),$.paneUI.show(),p._removeClass($.roostNodes.wrapper,$.roostClasses.coachmarks)}),$.roostNodes.bubble.addEventListener("click",function(e){g("bellclick"),$.paneUI.show(),p._removeClass($.roostNodes.wrapper,$.roostClasses.coachmarks)}),$.roostNodes.title.addEventListener("click",function(e){e.stopPropagation(),p._removeClass($.roostNodes.settings,$.roostClasses.showSettings),p._removeClass($.roostNodes.noteList,$.roostClasses.hide),p._removeClass($.roostNodes.notes,$.roostClasses.shrinkWrapper),$.roostNodes.notes.style.bottom=String(-1*$.roostNodes.notes.getBoundingClientRect().height)+"px"}),$.roostNodes.clearAll.addEventListener("click",function(e){e.stopPropagation(),$.notifications.clearAll()}),$.roostNodes.disable.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),$.settingsUI.disable()}),$.roostNodes.disableText.addEventListener("click",function(e){$.roostNodes.disable.checked=!$.roostNodes.disable.checked,$.settingsUI.disable()}),$.roostNodes.closeWrapper.addEventListener("click",function(e){g("xclicked"),$.paneUI.hide()}),$.roostNodes.close.addEventListener("click",function(e){g("xclicked"),$.paneUI.hide()}),$.roostNodes.brand.addEventListener("click",function(e){e.stopPropagation(),g("attribution"),window.open("https://goroost.com","_blank")});if(a.pkSettings.email){var e=p._getElById("roost-email-submit"),t=p._getElById("roost-email-input");e.addEventListener("click",function(e){e.stopPropagation();var n=t.value;$.emailUI.submit(n)}),t.addEventListener("keydown",function(e){if(e.keyCode==13){var n=t.value;$.emailUI.submit(n)}})}},preventPropagation:function(){for(var e in $.roostNodes)(function(e){e&&e.addEventListener("click",function(e){e.stopPropagation()})})($.roostNodes[e])},touch:{xDown:null,yDown:null,isRight:!1,handleStart:function(e){this.xDown=e.touches[0].clientX,this.yDown=e.touches[0].clientY},handleDirection:function(e,t){if(!this.xDown||!this.yDown)return;var n=e.touches[0].clientX,r=e.touches[0].clientY,i=this.xDown-n,s=this.yDown-r;Math.abs(i)>Math.abs(s)?i>0||(t.style.marginLeft=String(-1*i)+"px",t.style.marginRight=String(i)+"px",p._addClass(t,"roost-dragging"),this.isRight=!0):s>0},handleStop:function(e,t){t.style.marginLeft="0px",t.style.marginRight="0px",p._removeClass(t,"roost-dragging"),this.isRight&&$.notifications.removeSingle(t.id),this.isRight=!1}}},fbShare:function(e,t,n,r,i,s){var o=screen.height/2-s/2,u=screen.width/2-i/2;window.open("http://www.facebook.com/sharer.php?s=100&p[title]="+t+"&p[summary]="+n+"&p[url]="+e+"&p[images][0]="+r,"sharer","top="+o+",left="+u+",toolbar=0,status=0,width="+i+",height="+s)},twitShare:function(e,t,n){var r=screen.height/2-n/2,i=screen.width/2-t/2,s="https://twitter.com/home?status="+e;window.open(s,"sharer","top="+r+",left="+i+",toolbar=0,status=0,width="+t+",height="+n)},countNotes:function(){var e=0;if(L(a.rdt))e=a.notifications.length;else for(var t=0;t<a.notifications.length;t++){var n=$.readCookie.check(a.notifications[t]);n||e++}return e},updateCount:function(){var e=$.countNotes();p._removeClass($.roostNodes.bubble,$.roostClasses.hide),e<=9&&e>0?$.roostNodes.bubble.innerHTML=$.countSvg[e]:e>9?$.roostNodes.bubble.innerHTML=$.countSvg[10]:(p._addClass($.roostNodes.bubble,$.roostClasses.hide),$.emptyNotifications())},promptAd:{init:function(){p.getCookie("roost-show-prompt")||p.setCookie("roost-show-prompt","true",365)},dismiss:function(){p.setCookie("roost-show-prompt","false",365)},check:function(){return p.getCookie("roost-show-prompt")==="true"}},emptyNotifications:function(){if(p._getElById("roost-empty-wrapper"))return;var t=p._getElById("roost-bell").cloneNode(!0),n=e.document.createElement("p"),r=e.document.createElement("div");n.setAttribute("id","roost-empty-message"),n.textContent=a.pkSettings.text.noNotes,t.setAttribute("id","roost-empty-bell"),r.setAttribute("id","roost-empty-wrapper"),r.appendChild(t),r.appendChild(n),$.roostNodes.notes.appendChild(r),p._addClass($.roostNodes.notes,"roost-empty-notifications")},showNotifications:function(){p._toggleClass($.roostNodes.notes,$.roostClasses.expandNotes)}},J={children:{"#goroostcom-notifications p, #goroostcom-notifications li, #goroostcom-notifications span, #goroostcom-notifications h1, #goroostcom-notifications h2, #roost-notficiations h3":{attributes:{"-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none"}},"#goroostcom-bell p, #goroostcom-notifications p, #goroostcom-notifications button":{attributes:{"font-family":'"Helvetica", "Roboto-Regular", "Arial", sans-serif'}},"#roost-bellprompt p":{attributes:{"line-height":"100%"}},"#goroostcom-bell":{attributes:{position:"fixed",right:"25px",bottom:"25px","border-radius":"50%",cursor:"pointer","-webkit-box-shadow":"2px 2px 5px 0px rgba(0,0,0,0.3)","-moz-box-shadow":"2px 2px 5px 0px rgba(0,0,0,0.3)","box-shadow":"2px 2px 5px 0px rgba(0,0,0,0.3)"}},"#goroostcom-bell *":{attributes:{"box-sizing":"border-box","-webkit-box-sizing":"border-box"}},"#goroostcom-bell:hover #roost-bell":{attributes:{"-webkit-animation":"wiggle 0.25s ease-in 2","-moz-animation":"wiggle 0.25s ease-in 2",animation:"wiggle 0.25s ease-in 2"}},"#goroostcom-bell.roost-inline":{attributes:{position:"relative",display:"inline-block","vertical-align":"bottom","-webkit-box-shadow":"none","-moz-box-shadow":"none","box-shadow":"none",bottom:"0",right:"0",overflow:"hidden"}},"#goroostcom-bell.roost-no-circle":{attributes:{"border-radius":"0"}},"#goroostcom-bell.show-coachmarks::after, #goroostcom-bell.animate-coachmarks-start::after":{attributes:{content:"'Get notifications from "+a.configName+"'",position:"absolute",left:"-184px",top:"14px",overflow:"hidden",background:"#3b3b3b","border-radius":"5px",height:"35px","line-height":"35px",color:"#fff","font-size":"14px","text-align":"center","white-space":"nowrap","font-family":'"Helvetica", "Roboto-Regular", "Arial", sans-serif',"-webkit-box-shadow":"2px 2px 5px 0px rgba(0,0,0,0.3)","-moz-box-shadow":"2px 2px 5px 0px rgba(0,0,0,0.3)","box-shadow":"2px 2px 5px 0px rgba(0,0,0,0.3)"}},"#goroostcom-bell.show-coachmarks::before, #goroostcom-bell.animate-coachmarks-start::before":{attributes:{content:"''",position:"absolute",left:"-12px",top:"23px",width:"0",height:"0","border-left":"8px solid #3b3b3b","border-top":"8px solid transparent","border-bottom":"8px solid transparent"}},"#goroostcom-bell.animate-coachmarks-start::after, #goroostcom-bell.animate-coachmarks-start::before":{attributes:{width:"0",opacity:"0",left:"0","z-index":"-1",transition:"200ms all linear","-o-transition":"200ms all linear","-ms-transition":"200ms all linear","-moz-transition":"200ms all linear","-webkit-transition":"200ms all linear"}},"#goroostcom-bell.animate-coachmarks-end::after, #goroostcom-bell.animate-coachmarks-end::before":{attributes:{width:"175px",opacity:"1",left:"-184px","z-index":"20",transition:"200ms all linear","-o-transition":"200ms all linear","-ms-transition":"200ms all linear","-moz-transition":"200ms all linear","-webkit-transition":"200ms all linear"}},"#goroostcom-bell.animate-coachmarks-end::before":{attributes:{left:"-12px"}},"#goroostcom-bell.animate-coachmarks-width::after":{attributes:{width:"0",transition:"190ms all linear","-o-transition":"190ms all linear","-ms-transition":"190ms all linear","-moz-transition":"190ms all linear","-webkit-transition":"190ms all linear"}},"#goroostcom-bell.animate-coachmarks-width::before":{display:"none"},"#roost-bell":{attributes:{width:"70%",height:"70%",margin:"15% 0 0 15%",cursor:"pointer !important"}},"#roost-bell *":{attributes:{fill:"#FFF"}},"#goroostcom-bell.roost-inline #roost-bell":{attributes:{width:"125%",height:"125%",margin:"-15% 0 0 -12.5%"}},"#goroostcom-bell.roost-wrapper-left":{attributes:{right:"initial",left:"25px"}},"#goroostcom-bell.roost-wrapper-left.show-coachmarks::before, #goroostcom-bell.roost-wrapper-left.animate-coachmarks-start::before":{attributes:{left:"initial",right:"-12px","border-left-style":"hidden","border-right":"8px solid #3b3b3b","border-top":"8px solid transparent","border-bottom":"8px solid transparent"}},"#goroostcom-bell.roost-wrapper-left.animate-coachmarks-start::after, #goroostcom-bell.roost-wrapper-left.animate-coachmarks-start::before":{attributes:{left:"initial",right:"0"}},"#goroostcom-bell.roost-wrapper-left.animate-coachmarks-end::after, #goroostcom-bell.roost-wrapper-left.animate-coachmarks-end::before":{attributes:{left:"initial",right:"-184px"}},"#goroostcom-bell.roost-wrapper-left.animate-coachmarks-end::before":{attributes:{left:"initial",right:"-12px"}},"#roost-bubble":{attributes:{position:"absolute",top:"20px",right:"7px",cursor:"pointer !important"}},"#roost-bubble-count":{attributes:{position:"absolute","font-size":"8px","z-index":"4",right:"18%",top:"0%","font-weight":"600","border-radius":"50%",border:"2px solid #3b3b3b","line-height":"8px",height:"35%",width:"35%","text-align":"center","margin-top":"7px"}},"#roost-bubble-count.roost-bubble-svg":{attributes:{"background-color":"transparent !important","border-style":"hidden"}},"#roost-prompt p":{attributes:{"font-size":"3.5vh","text-align":"center",margin:"30% 0 0 0"}},"#goroostcom-notifications":{attributes:{width:"0px",height:"100vh !important",position:"fixed",right:"0px",top:"0px","z-index":"5",overflow:"hidden",background:"#fcfcfc",transition:"100ms width ease-in","-o-transition":"100ms width ease-in","-ms-transition":"100ms width ease-in","-moz-transition":"100ms width ease-in","-webkit-transition":"100ms width ease-in"}},"#goroostcom-notifications *":{attributes:{"box-sizing":"border-box","-webkit-box-sizing":"border-box"}},"#roost-overlay":{attributes:{width:"100%",height:"15%",position:"absolute",left:"0",bottom:"0","background-image":"-webkit-gradient(linear, left bottom, left top, from(rgba(245,245,245,0.95)), to(rgba(245,245,245,0.0)), color-stop(.55,rgba(245,245,245,1)))","z-index":"10"}},"#goroostcom-notifications.roost-notes-visible":{attributes:{display:"block",bottom:"0px !important",width:"400px",height:"100vh",border:"1px solid #ebebeb",transition:"100ms width ease-in","-o-transition":"100ms width ease-in","-ms-transition":"100ms width ease-in","-moz-transition":"100ms width ease-in","-webkit-transition":"100ms width ease-in"}},"#roost-notifications-head":{attributes:{width:"100%",height:"60px","border-bottom":"1px solid #cfcfcf"}},"#roost-notifications-title":{attributes:{"line-height":"58px",margin:"0 0 0 0","font-size":"14px","font-weight":"500","text-transform":"uppercase",color:"#424242","text-align":"center",width:"145px",display:"inline-block !important",cursor:"pointer !important","border-bottom":"3px solid #424242"}},".roost-settings-active #roost-notifications-title":{attributes:{"border-bottom-style":"hidden",color:"#949494"}},"#roost-data":{attributes:{padding:"0 0 60px 0",margin:"0","list-style-type":"none",height:"calc(100% - 80px)",overflow:"scroll",position:"relative","-ms-overflow-style":"none"}},"#roost-data::-webkit-scrollbar":{attributes:{width:"0px !important"}},"#roost-data li":{attributes:{margin:"0","min-height":"75px",position:"relative",cursor:"pointer",padding:"18px 125px 18px 20px",background:"none","box-sizing":"border-box","-webkit-box-sizing":"border-box","list-style-type":"none"}},"#roost-data li::after":{attributes:{content:"''",background:"#cfcfcf",position:"absolute",bottom:"0",left:"50%",width:"90%",height:"1px",margin:"0 0 0 -45%"}},"#roost-data li.dismissing":{attributes:{overflow:"hidden",margin:"0 -400px 0 400px !important","-moz-transition":"margin-left 250ms linear, margin-right 250ms linear","-ms-transition":"margin-left 250ms linear, margin-right 250ms linear","-o-transition":"margin-left 250ms linear, margin-right 250ms linear",transition:"margin-left 250ms linear, margin-right 250ms linear"}},"#roost-data li.roost-dragging":{attributes:{"border-left":"1px solid #cbcbcb","-webkit-box-shadow":"-10px 0px 20px -6px rgba(59,59,59,0.4)","-moz-box-shadow":"-10px 0px 20px -6px rgba(59,59,59,0.4)","box-shadow":"-10px 0px 20px -6px rgba(59,59,59,0.4)"}},"#roost-data li.roost-list-noimage":{attributes:{"padding-right":"53px"}},"#roost-data li.roost-list-noimage img":{attributes:{display:"none"}},"#roost-data li p":{attributes:{"font-size":"12px","font-weight":"400","letter-spacing":"0.25px",color:"#666",margin:"0","line-height":"14px",cursor:"pointer","max-height":"28px",overflow:"hidden"}},"#roost-data li p.roost-custom-title":{attributes:{"font-size":"13px","font-weight":"500","line-height":"18px",color:"#424242","-webkit-text-stroke":"0.5px"}},"#roost-data li p#roost-date":{attributes:{"font-size":"12px",color:"#FFF",background:"#a0a0a0","line-height":"18px",width:"90px",padding:"0 0 0 5px"}},"#roost-settings":{attributes:{position:"absolute",width:"400px",height:"100px",right:"0",display:"none",padding:"25px 0 0 0","z-index":"5"}},"#roost-close-pane":{attributes:{cursor:"pointer !important",width:"60px",height:"60px",position:"absolute",right:"0",top:"0"}},"#roost-close":{attributes:{position:"absolute",right:"25px",top:"22px",fill:"#949494"}},"#roost-note-dismiss":{attributes:{cursor:"pointer !important",margin:"0",position:"absolute",right:"22px",top:"15px",width:"9px",height:"9px",fill:"#949494",opacity:"0"}},"#roost-note-dismiss.dismiss-fadein":{attributes:{opacity:"1","-webkit-transition":"opacity 100ms ease-out","-moz-transition":"opacity 100ms ease-out","-ms-transition":"opacity 100ms ease-out","-o-transition":"opacity 100ms ease-out",transition:"opacity 100ms ease-out"}},".roost-note-share":{attributes:{width:"13px",height:"13px",position:"absolute",right:"20px",top:"50%",margin:"-6px 0 0 0",fill:"#dadada",opacity:"0.3"}},"#roost-gear":{attributes:{display:"inline-block",width:"110px",margin:"0","line-height":"58px","font-size":"14px","font-weight":"500","text-transform":"uppercase",color:"#949494","text-align":"center",cursor:"pointer !important","border-bottom-style":"hidden"}},"#roost-data li:hover .roost-note-share":{attributes:{opacity:"1","-webkit-transition":"opacity 110ms ease-out","-moz-transition":"opacity 110ms ease-out","-ms-transition":"opacity 110ms ease-out","-o-transition":"opacity 110ms ease-out",transition:"opacity 110ms ease-out"}},".roost-settings-active #roost-gear":{attributes:{"border-bottom":"3px solid #424242",color:"#424242"}},"#roost-settings.roost-settings-visible":{attributes:{display:"block"}},"#roost-settings.roost-settings-visible #roost-empty-wrapper":{attributes:{display:"none"}},"#roost-settings input, #roost-settings p":{attributes:{display:"inline-block","vertical-align":"middle",margin:"0 15px","line-height":"60px",cursor:"pointer",color:"#666","font-size":"14px"}},"#roost-settings p#roost-disable-confirmation, #roost-settings p#roost-enable-confirmation":{attributes:{width:"90%","text-align":"center",cursor:"default"}},"#roost-settings p#roost-disable-text":{attributes:{width:"200px","line-height":"120%"}},"#roost-settings input":{attributes:{margin:"-2px 0 0 90px",width:"12px"}},"#roost-settings input#roost-disable":{attributes:{"-moz-appearance":"checkbox","-webkit-appearance":"checkbox"}},"@-webkit-keyframes wiggle":{children:{"0%":{attributes:{"-webkit-transform":"rotate(0deg)"}},"25%":{attributes:{"-webkit-transform":"rotate(10deg)"}},"50%":{attributes:{"-webkit-transform":"rotate(0deg)"}},"75%":{attributes:{"-webkit-transform":"rotate(-10deg)"}},"100%":{attributes:{"-webkit-transform":"rotate(0deg)"}}}},"@-moz-keyframes wiggle":{children:{"0%":{attributes:{"-moz-transform":"rotate(0deg)"}},"25%":{attributes:{"-moz-transform":"rotate(10deg)"}},"50%":{attributes:{"-moz-transform":"rotate(0deg)"}},"75%":{attributes:{"-moz-transform":"rotate(-10deg)"}},"100%":{attributes:{"-moz-transform":"rotate(0deg)"}}}},"@keyframes wiggle":{children:{"0%":{attributes:{transform:"rotate(0deg)"}},"25%":{attributes:{transform:"rotate(10deg)"}},"50%":{attributes:{transform:"rotate(0deg)"}},"75%":{attributes:{transform:"rotate(-10deg)"}},"100%":{attributes:{transform:"rotate(0deg)"}}}},".roost-note-img":{attributes:{position:"absolute",right:"48px",bottom:"50%","margin-bottom":"-28px",width:"56px",height:"56px"}},"#roost-empty-wrapper":{attributes:{"text-align":"center","min-width":"150px","min-height":"100px",position:"absolute",left:"50%",top:"50%","-webkit-transform":"translate(-50%, -50%)","-moz-transform":"translate(-50%, -50%)","-ms-transform":"translate(-50%, -50%)","-o-transform":"translate(-50%, -50%)",transform:"translate(-50%, -50%)"}},"#roost-empty-bell":{attributes:{fill:"rgb(205,205,205) !important",width:"80px",height:"80px"}},"#roost-empty-message":{attributes:{"font-size":"14px",color:"rgb(185,185,185)",width:"300px"}},"#roost-branding":{attributes:{"text-align":"center","font-size":"14px",color:"#a9a9a9",position:"absolute",left:"0",bottom:"5px",width:"100%","z-index":"-1","font-weight":"600",opacity:"0"}},"#roost-brand-logo":{attributes:{"vertical-align":"middle",width:"45px",margin:"0 0 0 3px",fill:"#a9a9a9"}},"#roost-spinner":{attributes:{width:"40px",height:"40px","border-radius":"50%","box-shadow":"2px 2px 0 0 #a9a9a9",position:"absolute",left:"50%",top:"220px",margin:"-20px 0 0 -20px","z-index":"-1",visibility:"hidden"}},"#roost-clear-all":{attributes:{position:"absolute",left:"50%",bottom:"10px","font-size":"14px","font-weight":"600",color:"#666","z-index":"10",cursor:"pointer","text-transform":"uppercase","-webkit-transform":"translateX(-50%)","-moz-transform":"translateX(-50%)","-ms-transform":"translateX(-50%)","-o-transform":"translateX(-50%)",transform:"translateX(-50%)"}},".roost-empty-notifications #roost-clear-all":{attributes:{visibility:"hidden"}},".roost-settings-active #roost-clear-all":{attributes:{visibility:"hidden"}},".roost-settings-active #roost-branding":{attributes:{opacity:"1","z-index":"10",cursor:"pointer"}},".roost-settings-active #roost-empty-wrapper":{attributes:{display:"none"}},"#roost-spinner.show-roost-spinner":{attributes:{animation:"1s spin infinite linear","z-index":"10",visibility:"visible"}},"@keyframes spin":{children:{from:{attributes:{transform:"rotate(0deg)"}},to:{attributes:{transform:"rotate(360deg);"}}},attributes:{}},".roost-hide":{attributes:{display:"none !important"}},".roost-visible":{attributes:{opacity:"1.0 !important"}},".roost-notes-unsub":{attributes:{overflow:"visible !important"}},".roost-notes-unsub #roost-settings.roost-settings-visible ~ #roost-bellprompt":{attributes:{display:"none"}},"#goroostcom-notifications #roost-bellprompt":{attributes:{background:"#e6e6e6",position:"absolute",left:"0",top:"60px",height:"160px",width:"100%",padding:"0 0 0 180px","border-bottom":"1px solid #cfcfcf"}},"#goroostcom-notifications #roost-bellprompt-image":{attributes:{width:"auto",height:"110px",position:"absolute",left:"0",top:"20px"}},"#goroostcom-notifications .roost-bellprompt-text":{attributes:{"font-size":"18px",color:"#3b3b3b","text-align":"left","font-weight":"400"}},"#goroostcom-notifications #roost-bellprompt-title":{attributes:{"text-align":"left",margin:"20px 0 5px 0","font-weight":600}},"#goroostcom-notifications #roost-bellprompt-body, #goroostcom-notifications #roost-bellprompt-body-2":{attributes:{"text-align":"left","font-size":"14px","font-weight":"300","line-height":"20px",margin:"0"}},"#roost-bellprompt-body-2":{attributes:{margin:"5px 0"}},"#roost-bellprompt-btn":{attributes:{"text-align":"center",width:"100px",height:"35px","font-size":"14px","line-height":"32px",color:"#fff",background:"#686868",border:"none","border-radius":"3px",margin:"10px 0 0 0",cursor:"pointer",padding:"0","text-transform":"none",display:"inline-block"}},"#roost-bellprompt-btn:hover":{attributes:{opacity:"0.85","-webkit-transition":"opacity 100ms ease-out","-moz-transition":"opacity 100ms ease-out","-ms-transition":"opacity 100ms ease-out","-o-transition":"opacity 100ms ease-out",transition:"opacity 100ms ease-out"}},"#roost-bellprompt-decline":{attributes:{"font-size":"11px",display:"inline-block",cursor:"pointer !important","margin-left":"20px"}},"#roost-share-template":{attributes:{position:"absolute",right:"0",bottom:"0",visibility:"hidden"}},"#roost-segments-list":{attributes:{"list-style-type":"none",margin:"0"}},".roost-segment":{attributes:{height:"40px"}},"#roost-segments-head":{attributes:{"text-transform":"uppercase","font-size":"12px !important","line-height":"20px !important",margin:"25px 15px 0px 15px !important","padding-top":"25px","border-top":"1px solid #CFCFCF",width:"370px","text-align":"center"}},"#roost-shareicon-fb, #roost-shareicon-twitter":{attributes:{position:"absolute",right:"0",bottom:"0",visibility:"hidden"}},"#roost-share-wrapper":{attributes:{position:"absolute",width:"102px",height:"0px",right:"0",bottom:"-35px",background:"#FFF",overflow:"hidden","z-index":"11","-webkit-box-shadow":"2px 2px 5px 0px rgba(0,0,0,0.3)","-moz-box-shadow":"2px 2px 5px 0px rgba(0,0,0,0.3)","box-shadow":"2px 2px 5px 0px rgba(0,0,0,0.3)"}},".roost-share-active #roost-share-wrapper":{attributes:{padding:"10px",height:"55px",border:"1px solid #a9a9a9","border-radius":"5px"}},"#roost-share-fb, #roost-share-twitter":{attributes:{width:"35px",height:"35px",display:"inline-block",visibility:"hidden","float":"right",cursor:"pointer",fill:"#55acee"}},"#roost-share-fb":{attributes:{margin:"0 0 0 10px",fill:"#3b5998"}},".roost-share-active #roost-share-fb, .roost-share-active #roost-share-twitter":{attributes:{visibility:"visible"}},"#goroostcom-notifications.roost-notes-unsub":{attributes:{top:"initial",bottom:"0"}},".roost-notes-unsub #roost-data":{attributes:{padding:"160px 0 0 0"}},".roost-view-btn":{attributes:{position:"absolute",right:"10px",top:"50%","margin-top":"-15px",height:"30px",background:"none",border:"1px solid #3b3b3b","border-radius":"5px",cursor:"pointer !important","font-weight":"600",opacity:"0.7",color:"#3b3b3b",padding:"0","text-transform":"none","font-size":"12px","letter-spacing":"0",width:"45px"}},"#roost-data li:hover .roost-view-btn":{attributes:{background:"#3b3b3b",color:"#FFF",opacity:"0.9","-webkit-transition":"all 100ms ease-out","-moz-transition":"all 100ms ease-out","-ms-transition":"all 100ms ease-out","-o-transition":"all 100ms ease-out",transition:"all 100ms ease-out"}},"#roost-banner":{attributes:{position:"fixed",bottom:"0",right:"0",width:"755px",height:"95px",background:"#FFF","border-top-left-radius":"8px","-webkit-box-shadow":"0px -2px 8px 0px rgba(0,0,0,0.2)","-moz-box-shadow":"0px -2px 8px 0px rgba(0,0,0,0.2)","box-shadow":"0px -2px 8px 0px rgba(0,0,0,0.2)"}},"#roost-banner-left":{attributes:{width:"66%","float":"left",background:"#f5f5f5",position:"relative","box-sizing":"border-box",height:"100%",padding:"25px","padding-left":"95px","border-top-left-radius":"8px"}},"#roost-banner-right":{attributes:{width:"33%",height:"100%","float":"left",position:"relative","box-sizing":"border-box",padding:"25px"}},"#roost-banner-title":{attributes:{"font-family":'"Helvetica", "Roboto-Regular", "Arial", sans-serif',"font-size":"18px",margin:"0","font-weight":"500"}},"#roost-banner-subtitle":{attributes:{"font-family":'"Helvetica", "Roboto-Regular", "Arial", sans-serif',margin:"0","margin-top":"5px","font-size":"13px"}},"#roost-banner-btn":{attributes:{position:"absolute",right:"25px",top:"25px",color:"#FFF",border:"none",background:"#3b3b3b","font-family":'"Helvetica", "Roboto-Regular", "Arial", sans-serif',"font-weight":"500","font-size":"15px",width:"100px","border-radius":"5px",height:"45px",cursor:"pointer"}},"#roost-banner-btn:hover":{opacity:"0.9","-webkit-transition":"all 100ms ease-out","-moz-transition":"all 100ms ease-out","-ms-transition":"all 100ms ease-out","-o-transition":"all 100ms ease-out",transition:"all 100ms ease-out"},"#roost-banner-dismisstext":{attributes:{"font-family":'"Helvetica", "Roboto-Regular", "Arial", sans-serif',position:"absolute",right:"50px",bottom:"5px",margin:"0",cursor:"pointer","font-size":"11px"}},"#roost-banner-belltext":{attributes:{"font-family":'"Helvetica", "Roboto-Regular", "Arial", sans-serif',"font-weight":"300","font-size":"14px",color:"#898989",width:"120px","margin-top":"5px"}},"#roost-banner-arrow":{attributes:{visibility:"hidden","z-index":"-1"}},"#roost-banner-arrow.roost-show-arrow":{attributes:{visibility:"visible","z-index":"20",fill:"#898989",position:"absolute",right:"80px",top:"40px"}},"#roost-banner-logo":{attributes:{width:"45px",height:"45px",position:"absolute",left:"25px",top:"25px"}},"#roost-wrapper":{attributes:{"z-index":"1000000"}},"#roost-branding:hover":{attributes:{color:"#e25351","-webkit-transition":"color 200ms ease-out","-moz-transition":"color 200ms ease-out","-ms-transition":"color 200ms ease-out","-o-transition":"color 200ms ease-out",transition:"color 200ms ease-out"}},"#roost-branding:hover #roost-brand-logo *":{attributes:{fill:"#e25351",opacity:"1.0","-webkit-transition":"all 200ms ease-out","-moz-transition":"all 200ms ease-out","-ms-transition":"all 200ms ease-out","-o-transition":"all 200ms ease-out",transition:"all 200ms ease-out"}},"#roost-share-fb:hover *":{attributes:{fill:"#3b5998",opacity:"1","-webkit-transition":"all 100ms ease-out","-moz-transition":"all 100ms ease-out","-ms-transition":"all 100ms ease-out","-o-transition":"all 100ms ease-out",transition:"all 100ms ease-out"}},"#roost-share-twitter:hover *":{attributes:{fill:"#55acee",opacity:"1","-webkit-transition":"all 100ms ease-out","-moz-transition":"all 100ms ease-out","-ms-transition":"all 100ms ease-out","-o-transition":"all 100ms ease-out",transition:"all 100ms ease-out"}},"#roost-data li p.roost-notification-timestamp":{attributes:{color:"#888888","font-size":"11px","margin-top":"2px"}},"#roost-slide-out-desc":{attributes:{"text-align":"center"}},"#roost-browsernote-wrapper":{attributes:{height:"80px",width:"360px",position:"absolute",right:"-380px",top:"10px",background:"#FFF",cursor:"pointer","-webkit-box-shadow":"0px 0px 5px 1px rgba(0,0,0,0.3)","-moz-box-shadow":"0px 0px 5px 1px rgba(0,0,0,0.3)","box-shadow":"0px 0px 5px 1px rgba(0,0,0,0.3)","-webkit-transition":"right 250ms linear","-moz-transition":"right 250ms linear","-ms-transition":"right 250ms linear","-o-transition":"right 250ms linear",transition:"right 250ms linear"}},"#roost-browsernote-wrapper.roost-browsernote-visible":{attributes:{right:"10px","-webkit-transition":"right 250ms linear","-moz-transition":"right 250ms linear","-ms-transition":"right 250ms linear","-o-transition":"right 250ms linear",transition:"right 250ms linear"}},"#roost-browsernote-wrapper p":{attributes:{"font-family":"Helvetica Neue",margin:"0","line-height":"25px","font-size":"12px","margin-left":"90px"}},"#roost-browsernote-wrapper p#roost-browsernote-title":{attributes:{"font-size":"14px","margin-top":"5px"}},"#roost-browsernote-wrapper p#roost-browsernote-body":{attributes:{"letter-spacing":"0.5px","line-height":"110%","max-height":"27px","margin-right":"25px",overflow:"hidden"}},"#roost-browsernote-wrapper img":{attributes:{"float":"left",height:"100%",width:"auto"}},"#roost-browsernote-close-wrapper":{attributes:{width:"20px",height:"20px",position:"absolute",top:"5px",right:"5px",cursor:"pointer","text-align":"center","border-radius":"50%"}},"#roost-browsernote-close":{attributes:{height:"40%",width:"70%"}},"#roost-browsernote-close-wrapper.roost-browsernote-click":{attributes:{background:"#616161"}},"#roost-browsernote-close-wrapper.roost-browsernote-click svg *":{attributes:{fill:"#FFF"}},"svg#Icons":{attributes:{position:"absolute",top:"-17px",right:"-20px"}},"#roost-settings p#roost-email-text":{attributes:{display:"block","text-align":"center",cursor:"default","margin-top":"25px","border-top":"1px solid #CFCFCF"}},"#roost-settings input#roost-email-input":{attributes:{width:"175px",height:"35px","line-height":"35px","font-family":'"Helvetica", "Roboto-Regular", "Arial", sans-serif',"font-size":"13px","padding-left":"8px",cursor:"text"}},"#roost-settings button#roost-email-submit":{attributes:{background:"none",outline:"none",border:"1px solid #949494","font-size":"13px",padding:"8px","border-radius":"3px","font-family":'"Helvetica", "Roboto-Regular", "Arial", sans-serif',color:"#000",cursor:"pointer"}},"#roost-settings button#roost-email-submit:hover":{attributes:{background:"#949494",color:"#FFF","-webkit-transition":"right 250ms linear","-moz-transition":"right 250ms linear","-ms-transition":"right 250ms linear","-o-transition":"right 250ms linear",transition:"right 250ms linear"}},"#roost-settings p#roost-email-success":{attributes:{display:"block","text-align":"center","font-size":"14px"}},"#roost-browsernote-overflow":{attributes:{position:"absolute",right:"0",top:"0",width:"380px",height:"100px",overflow:"hidden"}},"#roost-settings p#roost-email-failure, #roost-settings p#roost-email-success":{attributes:{"text-align":"center",width:"300px",margin:"30px auto 0px auto",display:"block","line-height":"120%","margin-top":"30px","font-weight":"600"}},"#roost-subonmain-wrapper":{attributes:{"background-color":"#D8D8D8",padding:"12px 0px 0px 20px",height:"45px"}},"#roost-subonmain-box":{attributes:{"margin-right":"5px","vertical-align":"middle"}},"#roost-subonmain-text":{attributes:{display:"inline-block","vertical-align":"middle","font-size":"12px",margin:"0"}},"#roost-settings.roost-settings-visible ~ #roost-subonmain-wrapper":{attributes:{display:"none"}},"@media (max-width: 770px)":{children:{"div#goroostcom-bell":{attributes:{right:"15px",bottom:"15px",width:"50px",height:"50px"}},"#roost-bell":{width:"71%",height:"71%",margin:"14% 0 0 14%"},"#roost-bubble-count":{attributes:{right:"15%",width:"35%",height:"35%"}},"#goroostcom-notifications.roost-notes-visible":{attributes:{width:"90%"}},"#roost-settings":{attributes:{width:"100%","text-align":"center"}},"#roost-settings input":{attributes:{margin:"0"}},"#roost-note-dismiss":{attributes:{display:"none"}},"#roost-data li .roost-note-share":{attributes:{opacity:"1"}},"#goroostcom-notifications #roost-bellprompt":{attributes:{"padding-left":"130px",overflow:"hidden"}},"#goroostcom-notifications #roost-bellprompt-image":{attributes:{left:"-50px"}}},attributes:{}}},attributes:{}};document.readyState==="interactive"||document.readyState==="complete"?Y():document.addEventListener?window.addEventListener("load",Y):document.attachEvent("onload",Y)}(window)