PNG IHDR x sBIT|d pHYs + tEXtSoftware www.inkscape.org< ,tEXtComment
window.CryptoPanicWidgets=function(){function t(t){for(var e=document.getElementsByClassName(c),n=e.length-1;n>-1;n--){var a=e[n];if(t||!a.getAttribute("data-ready"+c)){var o=a.getAttribute("data-news_feed");o?(a.setAttribute("class",c+"-loading"),r(a,n,"news")):console.warn("CryptoPanic widget is missing data-news_feed attribute.",a)}}}function e(t,e){var n=document.createElement("link");n.setAttribute("href",t),n.setAttribute("media","screen"),n.setAttribute("type","text/css"),n.setAttribute("rel","stylesheet"),document.head.appendChild(n)}function n(t){return("1"!==t.getAttribute("data-dev")?l:"")+"/widgets/"}function r(t,r,o){if(window.CryptoPanicWidgetsData)return void a(t,window.CryptoPanicWidgetsData);var s=n(t)+o+"/",c=t.getAttribute("data-news_feed"),l=t.getAttribute("data-currencies"),u=[];c&&u.push("news_feed="+c),l&&u.push("currencies="+l),u.length&&(s+="?"+u.join("&")),function(t){i(s,function(n){if(t.parentNode){n=JSON.parse(n);var r=n.css;r&&d.indexOf(r)===-1&&(e(r,t),d.push(r)),a(t,n.data)}})}(t)}function a(t,e){var n=document.createElement("div"),r={text_color:"#333333",link_color:"#0091C2",header_bg_color:"#30343b",header_text_color:"#FFFFFF"};o(t,function(t,e){r[t.replace("data-","")]=e}),n.setAttribute("class",c),n.setAttribute("data-ready",1);var a=s("header","a",t.childNodes.length?t.childNodes[0].nodeValue:"CryptoPanic News");a.setAttribute("href",e.cp_url),a.setAttribute("target","_blank");var i=s("header-logo","img");i.src="https://static.cryptopanic.com/static/img/cryptopanic-logo-wolf-only.svg",i.setAttribute("width",25),i.setAttribute("height",25),a.appendChild(i),r.bg_color&&(n.style.backgroundColor=r.bg_color),r.header_bg_color&&(a.style.backgroundColor=r.header_bg_color),r.header_text_color&&(a.style.color=r.header_text_color);var d=s("news");r.text_color&&(d.style.color=r.text_color),r.height&&(d.style.height=r.height+"px"),r.posts_limit=r.posts_limit||5;for(var l=0;l<e.posts.length&&!(r.posts_limit&&l>=r.posts_limit);l++){n.style.backgroundColor=r.bg_color;var u=e.posts[l],p=s("news-item");d.appendChild(p);var h=s("news-item-link","a",u.title);h.setAttribute("href",u.url),h.setAttribute("target","_blank"),r.link_color&&(h.style.color=r.link_color),p.appendChild(h);var g=s("news-date","div",u.date_human+" | "+u.source);p.appendChild(g)}var f="content";r.font_family&&"inherit"!==r.font_family&&(f+=" "+c+"-font-"+r.font_family);var _=s(f);_.appendChild(a),_.appendChild(d),r.font_size&&(_.style.fontSize=r.font_size+"px"),n.appendChild(_),t.parentNode.replaceChild(n,t)}function o(t,e){for(var n=t.attributes,r=n.length-1;r>=0;r--)0===n[r].name.indexOf("data-")&&e(n[r].name,n[r].value)}function i(t,e){var n=new XMLHttpRequest;return"withCredentials"in n||(n=new XDomainRequest),n.open("GET",t),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.onload=function(t){var n=t.currentTarget.response||t.target.responseText;e(n)},n.send(),n}function s(t,e,n){var r=document.createElement(e?e:"div");return r.className=c+"-"+t,n&&(r.textContent=n),r}var d=[],c="CryptoPanicWidget",l="https://cryptopanic.com";return"loading"!==document.readyState?t():document.addEventListener?document.addEventListener("DOMContentLoaded",t):document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&t()}),{init:t}}();
b IDATxytVսϓ22 A@IR:hCiZ[v*E:WũZA ^dQeQ @ !jZ'>gsV仿$|?g)&x-E