801}802if (wrapper.classList.contains('t806__en')) {803result = 'My result: ' + resultCount + ' out of ' + allCount + '. ' + text;804}805806purl = purl.replace(/&/g, '%26');807808var url = 'https://twitter.com/share?url=' + purl + '&text=' + result;809url = encodeURI(url);810811t806__openPopup(url);812}
function t806__openPopup(url) { window.open(url, '', 'toolbar=0,status=0,width=626,height=436');}/* Polyfill: Element.matches */if (!Element.prototype.matches) { Element.prototype.matches = Element.prototype.matchesSelector || Element.prototype.msMatchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.webkitMatchesSelector || Element.prototype.oMatchesSelector;}/* Polyfill: Element.closest */if (!Element.prototype.closest) { Element.prototype.closest = function (s) { var el = this; while (el && el.nodeType === 1) { if (Element.prototype.matches.call(el, s)) { return el; } el = el.parentElement || el.parentNode; } return null; };}