-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwidget.js
4 lines (4 loc) · 115 KB
/
widget.js
1
2
3
4
!function(){var t;Function&&Function.prototype&&Function.prototype.bind&&(/MSIE [678]/.test(navigator.userAgent)||!function e(t,n,i){function r(s,a){if(!n[s]){if(!t[s]){var c="function"==typeof require&&require;if(!a&&c)return c(s,!0);if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[s]={exports:{}};t[s][0].call(u.exports,function(e){var n=t[s][1][e];return r(n?n:e)},u,u.exports,e,t,n,i)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(e,n,i){(function(){"use strict";function e(t){return"function"==typeof t||"object"==typeof t&&null!==t}function i(t){return"function"==typeof t}function r(t){return"object"==typeof t&&null!==t}function o(){}function s(){return function(){process.nextTick(u)}}function a(){var t=0,e=new W(u),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function c(){var t=new MessageChannel;return t.port1.onmessage=u,function(){t.port2.postMessage(0)}}function l(){return function(){setTimeout(u,1)}}function u(){for(var t=0;O>t;t+=2){var e=U[t],n=U[t+1];e(n),U[t]=void 0,U[t+1]=void 0}O=0}function h(){}function d(){return new TypeError("You cannot resolve a promise with itself")}function f(){return new TypeError("A promises callback cannot return that same promise.")}function m(t){try{return t.then}catch(e){return B.error=e,B}}function p(t,e,n,i){try{t.call(e,n,i)}catch(r){return r}}function g(t,e,n){F(function(t){var i=!1,r=p(n,e,function(n){i||(i=!0,e!==n?y(t,n):_(t,n))},function(e){i||(i=!0,T(t,e))},"Settle: "+(t._label||" unknown promise"));!i&&r&&(i=!0,T(t,r))},t)}function w(t,e){e._state===z?_(t,e._result):t._state===K?T(t,e._result):A(e,void 0,function(e){y(t,e)},function(e){T(t,e)})}function v(t,e){if(e.constructor===t.constructor)w(t,e);else{var n=m(e);n===B?T(t,B.error):void 0===n?_(t,e):i(n)?g(t,e,n):_(t,e)}}function y(t,n){t===n?T(t,d()):e(n)?v(t,n):_(t,n)}function b(t){t._onerror&&t._onerror(t._result),E(t)}function _(t,e){t._state===q&&(t._result=e,t._state=z,0===t._subscribers.length||F(E,t))}function T(t,e){t._state===q&&(t._state=K,t._result=e,F(b,t))}function A(t,e,n,i){var r=t._subscribers,o=r.length;t._onerror=null,r[o]=e,r[o+z]=n,r[o+K]=i,0===o&&t._state&&F(E,t)}function E(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var i,r,o=t._result,s=0;s<e.length;s+=3)i=e[s],r=e[s+n],i?S(n,i,r,o):r(o);t._subscribers.length=0}}function x(){this.error=null}function I(t,e){try{return t(e)}catch(n){return V.error=n,V}}function S(t,e,n,r){var o,s,a,c,l=i(n);if(l){if(o=I(n,r),o===V?(c=!0,s=o.error,o=null):a=!0,e===o)return void T(e,f())}else o=r,a=!0;e._state!==q||(l&&a?y(e,o):c?T(e,s):t===z?_(e,o):t===K&&T(e,o))}function N(t,e){try{e(function(e){y(t,e)},function(e){T(t,e)})}catch(n){T(t,n)}}function D(t,e,n,i){this._instanceConstructor=t,this.promise=new t(h,i),this._abortOnReject=n,this._validateInput(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._init(),0===this.length?_(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&_(this.promise,this._result))):T(this.promise,this._validationError())}function R(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function C(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function P(t){this._id=X++,this._state=void 0,this._result=void 0,this._subscribers=[],h!==t&&(i(t)||R(),this instanceof P||C(),N(this,t))}var k;k=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var L,M=k,O=(Date.now||function(){return(new Date).getTime()},Object.create||function(t){if(arguments.length>1)throw new Error("Second argument not supported");if("object"!=typeof t)throw new TypeError("Argument must be an object");return o.prototype=t,new o},0),F=function(t,e){U[O]=t,U[O+1]=e,O+=2,2===O&&L()},j="undefined"!=typeof window?window:{},W=j.MutationObserver||j.WebKitMutationObserver,H="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,U=new Array(1e3);L="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?s():W?a():H?c():l();var q=void 0,z=1,K=2,B=new x,V=new x;D.prototype._validateInput=function(t){return M(t)},D.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},D.prototype._init=function(){this._result=new Array(this.length)};var G=D;D.prototype._enumerate=function(){for(var t=this.length,e=this.promise,n=this._input,i=0;e._state===q&&t>i;i++)this._eachEntry(n[i],i)},D.prototype._eachEntry=function(t,e){var n=this._instanceConstructor;r(t)?t.constructor===n&&t._state!==q?(t._onerror=null,this._settledAt(t._state,e,t._result)):this._willSettleAt(n.resolve(t),e):(this._remaining--,this._result[e]=this._makeResult(z,e,t))},D.prototype._settledAt=function(t,e,n){var i=this.promise;i._state===q&&(this._remaining--,this._abortOnReject&&t===K?T(i,n):this._result[e]=this._makeResult(t,e,n)),0===this._remaining&&_(i,this._result)},D.prototype._makeResult=function(t,e,n){return n},D.prototype._willSettleAt=function(t,e){var n=this;A(t,void 0,function(t){n._settledAt(z,e,t)},function(t){n._settledAt(K,e,t)})};var $=function(t,e){return new G(this,t,!0,e).promise},J=function(t,e){function n(t){y(o,t)}function i(t){T(o,t)}var r=this,o=new r(h,e);if(!M(t))return T(o,new TypeError("You must pass an array to race.")),o;for(var s=t.length,a=0;o._state===q&&s>a;a++)A(r.resolve(t[a]),void 0,n,i);return o},Y=function(t,e){var n=this;if(t&&"object"==typeof t&&t.constructor===n)return t;var i=new n(h,e);return y(i,t),i},Q=function(t,e){var n=this,i=new n(h,e);return T(i,t),i},X=0,Z=P;P.all=$,P.race=J,P.resolve=Y,P.reject=Q,P.prototype={constructor:P,then:function(t,e){var n=this,i=n._state;if(i===z&&!t||i===K&&!e)return this;var r=new this.constructor(h),o=n._result;if(i){var s=arguments[i-1];F(function(){S(i,r,s,o)})}else A(n,r,t,e);return r},"catch":function(t){return this.then(null,t)}};var tt=function(){var t;t="undefined"!=typeof global?global:"undefined"!=typeof window&&window.document?window:self;var e="Promise"in t&&"resolve"in t.Promise&&"reject"in t.Promise&&"all"in t.Promise&&"race"in t.Promise&&function(){var e;return new t.Promise(function(t){e=t}),i(e)}();e||(t.Promise=Z)},et={Promise:Z,polyfill:tt};"function"==typeof t&&t.amd?t(function(){return et}):"undefined"!=typeof n&&n.exports?n.exports=et:"undefined"!=typeof this&&(this.ES6Promise=et)}).call(this)},{}],2:[function(t,e,n){function i(t,e){var n;return e=e||s,(n=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.msRequestAnimationFrame||e.oRequestAnimationFrame||function(){e.setTimeout(function(){t(+new Date)},1e3/60)})(t)}function r(t,e){return Math.sin(Math.PI/2*e)*t}function o(t,e,n,r,o){function s(){var c=+new Date,l=c-a,u=Math.min(l/n,1),h=r?r(e,u):e*u,d=1==u;t(h,d),d||i(s,o)}var a=+new Date;i(s)}var s=t(14);e.exports={animate:o,requestAnimationFrame:i,easeOut:r}},{14:14}],3:[function(t,e,n){function i(){return l.builtUrl(h)}function r(t){return"dark"===t?"dark":"light"}function o(t,e,n){var i,o;return n=r(n),i=c.isRtlLang(e)?"rtl":"ltr",o=[t,u.css,n,i,"css"].join("."),l.base()+"/css/"+o}function s(t){return function(){return a.isEnabled()?t.apply(null,arguments):i()}}var a=t(4),c=t(20),l=t(38),u=t(74),h="embed/timeline.css";e.exports={tweet:s(o.bind(null,"tweet")),timeline:i,video:s(o.bind(null,"video")),tweetRefresh:o.bind(null,"tweet")}},{20:20,38:38,4:4,74:74}],4:[function(t,e,n){function i(){return c.contains(o.location.hash,l)}function r(){return i()||a.asBoolean(s.val("widgets:new-embed-design"))}var o=t(14),s=t(17),a=t(68),c=t(71),l="__twREFRESH__";e.exports={isEnabled:r}},{14:14,17:17,68:68,71:71}],5:[function(t,e,n){function i(t){return new RegExp("\\b"+t+"\\b","g")}function r(t,e){return t.classList?void t.classList.add(e):void(i(e).test(t.className)||(t.className+=" "+e))}function o(t,e){return t.classList?void t.classList.remove(e):void(t.className=t.className.replace(i(e)," "))}function s(t,e,n){return void 0===n&&t.classList&&t.classList.toggle?t.classList.toggle(e,n):(n?r(t,e):o(t,e),n)}function a(t,e,n){return t.classList&&c(t,e)?(o(t,e),void r(t,n)):void(t.className=t.className.replace(i(e),n))}function c(t,e){return t.classList?t.classList.contains(e):i(e).test(t.className)}e.exports={add:r,remove:o,replace:a,toggle:s,present:c}},{}],6:[function(t,e,n){function i(t){var e=t.getAttribute("data-twitter-event-id");return e?e:(t.setAttribute("data-twitter-event-id",++p),p)}function r(t,e,n){var i=0,r=t&&t.length||0;for(i=0;r>i;i++)t[i].call(e,n)}function o(t,e,n){for(var i=n||t.target||t.srcElement,s=i.className.split(" "),a=0,c=s.length;c>a;a++)r(e["."+s[a]],i,t);r(e[i.tagName],i,t),t.cease||i!==this&&o.call(this,t,e,i.parentElement||i.parentNode)}function s(t,e,n,i){function r(i){o.call(t,i,n[e])}a(t,r,e,i),t.addEventListener(e,r,!1)}function a(t,e,n,i){t.id&&(g[t.id]=g[t.id]||[],g[t.id].push({el:t,listener:e,type:n,rootId:i}))}function c(t){var e=g[t];e&&(e.forEach(function(t){t.el.removeEventListener(t.type,t.listener,!1),delete m[t.rootId]}),delete g[t])}function l(t,e,n,r){var o=i(t);m[o]=m[o]||{},m[o][e]||(m[o][e]={},s(t,e,m[o],o)),m[o][e][n]=m[o][e][n]||[],m[o][e][n].push(r)}function u(t,e,n){var r=i(e),s=m[r]&&m[r];o.call(e,{target:n},s[t])}function h(t){return f(t),d(t),!1}function d(t){t&&t.preventDefault?t.preventDefault():t.returnValue=!1}function f(t){t&&(t.cease=!0)&&t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}var m={},p=-1,g={};e.exports={stop:h,stopPropagation:f,preventDefault:d,delegate:l,simulate:u,removeDelegatesForWidget:c}},{}],7:[function(t,e,n){function i(t){var e=t.charAt(0);return"."===e?function(e){var n=e.className?e.className.split(/\s+/):[];return o.contains(n,t.slice(1))}:"#"===e?function(e){return e.id===t.slice(1)}:function(e){return e.tagName===t.toUpperCase()}}function r(t,e,n){var s;if(e)return n=n||e&&e.ownerDocument,s=o.isType("function",t)?t:i(t),e===n?s(e)?e:void 0:s(e)?e:r(s,e.parentNode,n)}var o=t(71);e.exports={closest:r}},{71:71}],8:[function(t,e,n){function i(t){return t=t||r,t.getSelection&&t.getSelection().toString()}var r=t(14);e.exports={getSelection:i}},{14:14}],9:[function(t,e,n){function i(t){return t&&1===t.nodeType?t.offsetWidth||i(t.parentNode):0}e.exports={effectiveWidth:i}},{}],10:[function(t,e,n){function i(t,e,n){for(var i,r=[],o=0;i=n[o];o++)r.push(i[0]),r.push(i[1]);return t+e+r.join(":")}function r(t){var e=t||"";return e.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var o=t(11),s={};e.exports=function(t,e,n){var a,c=o.createElement("span"),l={},u="",h=0,d=0,f=[];if(n=n||[],e=e||"",u=i(t,e,n),s[u])return s[u];c.className=e+" twitter-measurement";try{for(;a=n[h];h++)c.style[a[0]]=a[1]}catch(m){for(;a=n[d];d++)f.push(r(a[0])+":"+a[1]);c.setAttribute("style",f.join(";")+";")}return c.innerHTML=t,o.body.appendChild(c),l.width=c.clientWidth||c.offsetWidth,l.height=c.clientHeight||c.offsetHeight,o.body.removeChild(c),c=null,s[u]=l}},{11:11}],11:[function(t,e,n){e.exports=document},{}],12:[function(t,e,n){e.exports=location},{}],13:[function(t,e,n){e.exports=navigator},{}],14:[function(t,e,n){e.exports=window},{}],15:[function(t,e,n){function i(t,e,n){e.ready=t.then.bind(t),n&&Array.isArray(e[n])&&(e[n].forEach(t.then.bind(t)),delete e[n])}e.exports={exposeReadyPromise:i}},{}],16:[function(t,e,n){function i(t){return a.isType("string",t)?t.split("."):a.isType("array",t)?t:[]}function r(t,e){var n=i(e),r=n.slice(0,-1);return r.reduce(function(t,e,n){if(t[e]=t[e]||{},!a.isObject(t[e]))throw new Error(r.slice(0,n+1).join(".")+" is already defined with a value.");return t[e]},t)}function o(t,e){e=e||s,e[t]=e[t]||{},Object.defineProperty(this,"base",{value:e[t]}),Object.defineProperty(this,"name",{value:t})}var s=t(14),a=t(71);a.aug(o.prototype,{get:function(t){var e=i(t);return e.reduce(function(t,e){return a.isObject(t)?t[e]:void 0},this.base)},set:function(t,e,n){var o=i(t),s=r(this.base,t),a=o.slice(-1);return n&&a in s?s[a]:s[a]=e},init:function(t,e){return this.set(t,e,!0)},unset:function(t){var e=i(t),n=this.get(e.slice(0,-1));n&&delete n[e.slice(-1)]},aug:function(t){var e=this.get(t),n=a.toRealArray(arguments).slice(1);if(e="undefined"!=typeof e?e:{},n.unshift(e),!n.every(a.isObject))throw new Error("Cannot augment non-object.");return this.set(t,a.aug.apply(null,n))},call:function(t){var e=this.get(t),n=a.toRealArray(arguments).slice(1);if(!a.isType("function",e))throw new Error("Function "+t+"does not exist.");return e.apply(null,n)},fullPath:function(t){var e=i(t);return e.unshift(this.name),e.join(".")}}),e.exports=o},{14:14,71:71}],17:[function(t,e,n){function i(t){var e,n,i,r=0;for(o={},t=t||s,e=t.getElementsByTagName("meta");n=e[r];r++)/^twitter:/.test(n.name)&&(i=n.name.replace(/^twitter:/,""),o[i]=n.content)}function r(t){return o[t]}var o,s=t(11);i(),e.exports={init:i,val:r}},{11:11}],18:[function(t,e,n){var i=t(16);e.exports=new i("__twttr")},{16:16}],19:[function(t,e,n){var i=t(16);e.exports=new i("twttr")},{16:16}],20:[function(t,e,n){function i(t){return t=String(t).toLowerCase(),r.contains(o,t)}var r=t(71),o=["ar","fa","he","ur"];e.exports={isRtlLang:i}},{71:71}],21:[function(t,e,n){function i(t){var e=~s.host.indexOf("poptip.com")?"https://poptip.com":s.href,n="original_referer="+e;return[t,n].join(-1==t.indexOf("?")?"?":"&")}function r(t){var e,n;t.altKey||t.metaKey||t.shiftKey||(e=c.closest(function(t){return"A"===t.tagName||"AREA"===t.tagName},t.target),e&&u.isIntentURL(e.href)&&(n=i(e.href),n=n.replace(/^http[:]/,"https:"),n=n.replace(/^\/\//,"https://"),l.open(n,e),a.preventDefault(t)))}function o(t){t.addEventListener("click",r,!1)}var s=t(12),a=t(6),c=t(7),l=t(46),u=t(67);e.exports={attachTo:o}},{12:12,46:46,6:6,67:67,7:7}],22:[function(t,e,n){function i(t){var e=[];return d.forIn(t,function(t,n){e.push(t+"="+n)}),e.join(",")}function r(){return f+h.generate()}function o(t,e){function n(t){return Math.round(t/2)}return t>e?{coordinate:0,size:e}:{coordinate:n(e)-n(t),size:t}}function s(t,e,n){var r,s;e=a.parse(e),n=n||{},r=o(e.width,n.width||m),e.left=r.coordinate,e.width=r.size,s=o(e.height,n.height||p),e.top=s.coordinate,e.height=s.size,this.win=t,this.features=i(e)}var a,c=t(14),l=t(62),u=t(67),h=t(69),d=t(71),f="intent_",m=c.screen.width,p=c.screen.height;a=(new l).defaults({width:550,height:520,personalbar:"0",toolbar:"0",location:"1",scrollbars:"1",resizable:"1"}),s.prototype.open=function(t){return u.isTwitterURL(t)?(this.name=r(),this.popup=this.win.open(t,this.name,this.features),this):void 0},s.open=function(t,e){var n=new s(c,e);return n.open(t)},e.exports=s},{14:14,62:62,67:67,69:69,71:71}],23:[function(t,e,n){function i(t){l[t]=+new Date}function r(t){return l[t]?+new Date-l[t]:null}function o(t,e,n,i,o){var a=r(e);a&&s(t,n,i,a,o)}function s(t,e,n,i,r){var o,s=void 0===r?u:r;100*Math.random()>s||(n=c.aug(n||{},{duration_ms:i}),o={page:e,component:"performance",action:t},a.clientEvent(o,n,!0))}var a=t(33),c=t(71),l={},u=1;e.exports={start:i,end:r,track:s,endAndTrack:o}},{33:33,71:71}],24:[function(t,e,n){function i(t){if(!t)throw new Error("JsonRpcClient requires a dispatcher");this.idIterator=0,this.dispatcher=t,this.idPrefix=String(+new Date)+a++}function r(t){var e={jsonrpc:s,method:t};return arguments.length>1&&(e.params=[].slice.call(arguments,1)),e}var o=t(64),s="2.0",a=0;i.prototype._generateId=function(){return this.idPrefix+this.idIterator++},i.prototype.notify=function(){this.dispatcher.send(r.apply(null,arguments))},i.prototype.request=function(){var t=r.apply(null,arguments);return t.id=this._generateId(),this.dispatcher.send(t).then(function(t){return"result"in t?t.result:o.reject(t.error)})},e.exports=i},{64:64}],25:[function(t,e,n){e.exports={PARSE_ERROR:{code:-32700,message:"Parse error"},INVALID_REQUEST:{code:-32600,message:"Invalid Request"},INVALID_PARAMS:{code:-32602,message:"Invalid params"},METHOD_NOT_FOUND:{code:-32601,message:"Method not found"},INTERNAL_ERROR:{code:-32603,message:"Internal error"}}},{}],26:[function(t,e,n){function i(t){this.registry=t||{}}function r(t){return d.isType("string",t)?JSON.parse(t):t}function o(t){var e,n,i;return d.isObject(t)?(e=t.jsonrpc===m,n=d.isType("string",t.method),i=!("id"in t)||s(t.id),e&&n&&i):!1}function s(t){var e,n,i;return e=d.isType("string",t),n=d.isType("number",t),i=null===t,e||n||i}function a(t){return d.isObject(t)&&!d.isType("function",t)}function c(t,e){return{jsonrpc:m,id:t,result:e}}function l(t,e){return{jsonrpc:m,id:s(t)?t:null,error:e}}function u(t){return f.every.apply(f,t).then(function(t){return t=t.filter(function(t){return void 0!==t}),t.length?t:void 0})}var h=t(25),d=t(71),f=t(64),m="2.0";i.prototype._invoke=function(t,e){var n,i,r;n=this.registry[t.method],i=t.params||[],i=d.isType("array",i)?i:[i];try{r=n.apply(e.source||null,i)}catch(o){r=f.reject(o.message)}return f.isThenable(r)?r:f.fulfill(r)},i.prototype._processRequest=function(t,e){function n(e){return c(t.id,e)}function i(){return l(t.id,h.INTERNAL_ERROR)}var r;return o(t)?(r="params"in t&&!a(t.params)?f.fulfill(l(t.id,h.INVALID_PARAMS)):this.registry[t.method]?this._invoke(t,{source:e}).then(n,i):f.fulfill(l(t.id,h.METHOD_NOT_FOUND)),null!=t.id?r:f.fulfill()):f.fulfill(l(t.id,h.INVALID_REQUEST))},i.prototype.attachReceiver=function(t){return t.attachTo(this),this},i.prototype.bind=function(t,e){return this.registry[t]=e,this},i.prototype.receive=function(t,e){var n,i,o,s=this;try{t=r(t)}catch(a){return f.fulfill(l(null,h.PARSE_ERROR))}return e=e||null,n=d.isType("array",t),i=n?t:[t],o=i.map(function(t){return s._processRequest(t,e)}),n?u(o):o[0]},e.exports=i},{25:25,64:64,71:71}],27:[function(t,e,n){function i(t,e,n){var i;t&&t.postMessage&&(p?i=(n||"")+JSON.stringify(e):n?(i={},i[n]=e):i=e,t.postMessage(i,"*"))}function r(t){return d.isType("string",t)?t:"JSONRPC"}function o(t,e){return e?d.isType("string",t)&&0===t.indexOf(e)?t.substring(e.length):t[e]?t[e]:void 0:t}function s(t,e){var n=t.document;this.filter=r(e),this.server=null,this.isTwitterFrame=m.isTwitterURL(n.location.href),t.addEventListener("message",this._onMessage.bind(this),!1)}function a(t,e){this.pending={},this.target=t,this.isTwitterHost=m.isTwitterURL(l.href),this.filter=r(e),u.addEventListener("message",this._onMessage.bind(this),!1)}function c(t){return arguments.length>0&&(p=!!t),p}var l=t(12),u=t(14),h=t(57),d=t(71),f=t(64),m=t(67),p=h.ie9();d.aug(s.prototype,{_onMessage:function(t){var e,n=this;this.server&&(!this.isTwitterFrame||m.isTwitterURL(t.origin))&&(e=o(t.data,this.filter),e&&this.server.receive(e,t.source).then(function(e){e&&i(t.source,e,n.filter)}))},attachTo:function(t){this.server=t},detach:function(){this.server=null}}),d.aug(a.prototype,{_processResponse:function(t){var e=this.pending[t.id];e&&(e.fulfill(t),delete this.pending[t.id])},_onMessage:function(t){var e;if((!this.isTwitterHost||m.isTwitterURL(t.origin))&&(e=o(t.data,this.filter))){if(d.isType("string",e))try{e=JSON.parse(e)}catch(n){return}e=d.isType("array",e)?e:[e],e.forEach(this._processResponse.bind(this))}},send:function(t){var e,n=this.pending;return e=t.id?new f(function(e){n[t.id]=e}):f.fulfill(),i(this.target,t,this.filter),e}}),e.exports={Receiver:s,Dispatcher:a,_stringifyPayload:c}},{12:12,14:14,57:57,64:64,67:67,71:71}],28:[function(t,e,n){function i(t,e,n,i){var o,c=this;this.readyPromise=new a(function(t){c.resolver=t}),this.attrs=t||{},this.styles=e||{},this.appender=n||function(t){r.body.appendChild(t)},this.layout=i||function(t){return new a(function(e){return e.fulfill(t())})},this.frame=o=s(this.attrs,this.styles),o.onreadystatechange=o.onload=this.getCallback(this.onLoad),this.layout(function(){c.appender(o)})}var r=t(11),o=t(57),s=t(59),a=t(64),c=t(18),l=0;i.prototype.getCallback=function(t){var e=this,n=!1;return function(){n||(n=!0,t.call(e))}},i.prototype.registerCallback=function(t){var e="cb"+l++;return c.set(["sandbox",e],t),e},i.prototype.onLoad=function(){try{this.document=this.frame.contentWindow.document}catch(t){return void this.setDocDomain()}this.writeStandardsDoc(),this.resolver.fulfill(this)},i.prototype.ready=function(){return this.readyPromise},i.prototype.setDocDomain=function(){var t=this,e=s(this.attrs,this.styles),n=this.registerCallback(this.getCallback(this.onLoad));e.src=["javascript:",'document.write("");',"try { window.parent.document; }","catch (e) {",'document.domain="'+r.domain+'";',"}","window.parent."+c.fullPath(["sandbox",n])+"();"].join(""),this.layout(function(){t.frame.parentNode.removeChild(t.frame),t.frame=null,t.appender?t.appender(e):r.body.appendChild(e),t.frame=e})},i.prototype.writeStandardsDoc=function(){if(o.anyIE()&&!o.cspEnabled()){var t=["<!DOCTYPE html>","<html>","<head>","<scr","ipt>","try { window.parent.document; }",'catch (e) {document.domain="'+r.domain+'";}',"</scr","ipt>","</head>","<body></body>","</html>"].join("");this.document.write(t),this.document.close()}},e.exports=i},{11:11,18:18,57:57,59:59,64:64}],29:[function(t,e,n){function i(){var t,e;v={},s||(t=a.body.offsetHeight,e=a.body.offsetWidth,(t!=b||e!=y)&&(w.forEach(function(t){t.dispatchFrameResize(y,b)}),b=t,y=e))}function r(t){var e;return t.id?t.id:(e=t.getAttribute("data-twttr-id"))?e:(e="twttr-sandbox-"+g++,t.setAttribute("data-twttr-id",e),e)}function o(t,e){var n=this;u.apply(this,[t,e]),this._resizeHandlers=[],w=w.filter(function(t){var e=t._frame.parentElement;return e||f.async(function(){m.removeDelegatesForWidget(t._frame.id)}),e}),w.push(this),this._win.addEventListener("resize",function(){n.dispatchFrameResize()},!1)}var s,a=t(11),c=t(14),l=t(28),u=t(30),h=t(57),d=t(64),f=t(71),m=t(6),p=t(5),g=0,w=[],v={},y=0,b=0;c.addEventListener("resize",i,!1),o.prototype=new u,f.aug(o.prototype,{dispatchFrameResize:function(){var t=this._frame.parentNode,e=r(t),n=v[e];s=!0,this._resizeHandlers.length&&(n||(n=v[e]={w:this._frame.offsetWidth,h:this._frame.offsetHeight}),(this._frameWidth!=n.w||this._frameHeight!=n.h)&&(this._frameWidth=n.w,this._frameHeight=n.h,this._resizeHandlers.forEach(function(t){t(n.w,n.h)}),c.setTimeout(function(){v={}},50)))},addClass:function(t){var e=this._doc.documentElement;return this.layout(function(){p.add(e,t)})},appendStyleSheet:function(t,e){var n=this,i=this._doc.createElement("link");return i.type="text/css",i.rel="stylesheet",i.href=t,e&&(i.onload=e),this.layout(function(){return n._head.appendChild(i)})},removeStyleSheet:function(t){var e,n=this;return e='link[rel="stylesheet"][href="'+t+'"]',this.layout(function(){var t=n._doc.querySelector(e);return t&&n._head.removeChild(t)})},appendCss:function(t){var e,n=this;return h.cspEnabled()?d.reject("CSP enabled; cannot embed inline styles."):(e=this._doc.createElement("style"),e.type="text/css",e.styleSheet?e.styleSheet.cssText=t:e.appendChild(this._doc.createTextNode(t)),this.layout(function(){return n._head.appendChild(e)}))},style:function(t,e){var n=this;return this.layout(function(){e&&(n._frame.style.cssText=""),f.forIn(t,function(t,e){n._frame.style[t]=e})})},onresize:function(t){this._resizeHandlers.push(t)},width:function(t){return void 0!==t&&(this._frame.style.width=t+"px"),h.ios()?Math.min(this._frame.parentNode.offsetWidth,this._frame.offsetWidth):this._frame.offsetWidth},height:function(t){return void 0!==t&&(this._frame.height=t),this._frame.offsetHeight},contentHeight:function(){return this._doc.body.firstChild.offsetHeight},hasContent:function(){return!!this._doc.body.firstChild},resizeToContent:function(){var t=this;return this.layout(function(){return t.height(t.contentHeight())})}}),o.createSandbox=function(t,e,n,i){var r=new l(t,e,n,i);return r.ready().then(function(t){return new o(t.frame,t.layout)})},e.exports=o},{11:11,14:14,28:28,30:30,5:5,57:57,6:6,64:64,71:71}],30:[function(t,e,n){function i(t,e){t&&(this._frame=t,this._win=t.contentWindow,this._doc=this._win.document,this._body=this._doc.body,this._head=this._body.parentNode.children[0],this.layout=e,this._doc.documentElement.className="SandboxRoot")}var r=t(28),o=t(71);o.aug(i.prototype,{createElement:function(t){return this._doc.createElement(t)},createDocumentFragment:function(){return this._doc.createDocumentFragment()},appendChild:function(t){var e=this;return this.layout(function(){return e._body.appendChild(t)})},setBaseTarget:function(t){var e=this,n=this._doc.createElement("base");return n.target=t,this.layout(function(){return e._head.appendChild(n)})},setTitle:function(t){t&&(this._frame.title=t)},element:function(){return this._frame},document:function(){return this._doc}}),i.createSandbox=function(t,e,n,o){var s=new r(t,e,n,o);return s.ready().then(function(t){return new i(t.frame,t.layout)})},e.exports=i},{28:28,71:71}],31:[function(t,e,n){function i(){return u.formatGenericEventData("syndicated_impression",{})}function r(){c("tweet")}function o(){c("timeline")}function s(){c("video")}function a(){c("partnertweet")}function c(t){h.isHostPageSensitive()||d[t]||(d[t]=!0,l.scribe(u.formatClientEventNamespace({page:t,action:"impression"}),i(),u.AUDIENCE_ENDPOINT))}var l=t(33),u=t(34),h=t(66),d={};e.exports={scribePartnerTweetAudienceImpression:a,scribeTweetAudienceImpression:r,scribeTimelineAudienceImpression:o,scribeVideoAudienceImpression:s}},{33:33,34:34,66:66}],32:[function(t,e,n){function i(){return x?I:(g.createSandbox({id:"rufous-sandbox"},{display:"none"}).then(function(t){d=t,u=c(),h=l(),f.fulfill([u,h])}),x=!0,I)}function r(t,e){var n,i,r;y.isObject(t)&&y.isObject(e)&&(r=v.flattenClientEventPayload(t,e),n=u.firstChild,n.value=+(+n.value||r.dnt||0),i=d.createElement("input"),i.type="hidden",i.name="l",i.value=v.stringify(r),u.appendChild(i))}function o(t,e,n){var i=!y.isObject(t),o=e?!y.isObject(e):!1;i||o||I.then(function(){r(v.formatClientEventNamespace(t),v.formatClientEventData(e,n))})}function s(){return I.then(function(){if(u.children.length<=2)return w.reject();var t=w.every(d.appendChild(u),d.appendChild(h)).then(function(t){var e=t[0],n=t[1];return n.addEventListener("load",function(){a(e,n)(),b.get("events").trigger("logFlushed")}),e.submit(),t});return u=c(),h=l(),t})}function a(t,e){return function(){var n=t.parentNode;n&&(n.removeChild(t),n.removeChild(e))}}function c(){var t=d.createElement("form"),e=d.createElement("input"),n=d.createElement("input");return E++,t.action=v.CLIENT_EVENT_ENDPOINT,t.method="POST",t.target=T+E,t.id=A+E,e.type="hidden",e.name="dnt",e.value=p.enabled(),n.type="hidden",n.name="tfw_redirect",n.value=v.RUFOUS_REDIRECT,t.appendChild(e),t.appendChild(n),t}function l(){var t=T+E;return m({id:t,name:t,width:0,height:0,border:0},{display:"none"},d.document())}var u,h,d,f,m=t(59),p=t(56),g=t(30),w=t(64),v=t(34),y=t(71),b=t(19),_=Math.floor(1e3*Math.random())+"_",T="rufous-frame-"+_+"-",A="rufous-form-"+_+"-",E=0,x=!1,I=new w(function(t){f=t});e.exports={clientEvent:o,flush:s,init:i}},{19:19,30:30,34:34,56:56,59:59,64:64,71:71}],33:[function(t,e,n){function i(t,e,n){return r(t,e,n,2)}function r(t,e,n,i){var r=!m.isObject(t),o=e?!m.isObject(e):!1;r||o||s(f.formatClientEventNamespace(t),f.formatClientEventData(e,n,i),f.CLIENT_EVENT_ENDPOINT)}function o(t,e,n,i){var o=f.extractTermsFromDOM(t.target||t.srcElement);o.action=i||"click",r(o,e,n)}function s(t,e,n){var i,r;n&&m.isObject(t)&&m.isObject(e)&&(i=f.flattenClientEventPayload(t,e),r={l:f.stringify(i)},i.dnt&&(r.dnt=1),u(d.url(n,r)))}function a(t,e,n,i){var r,o=!m.isObject(t),s=e?!m.isObject(e):!1;if(!o&&!s)return r=f.flattenClientEventPayload(f.formatClientEventNamespace(t),f.formatClientEventData(e,n,i)),c(r)}function c(t){return g.push(t),g}function l(){var t,e,n=d.url(f.CLIENT_EVENT_ENDPOINT,{dnt:0,l:""}),i=encodeURIComponent(n).length;return g.length>1&&a({page:"widgets_js",component:"scribe_pixel",action:"batch_log"},{}),t=g,g=[],e=t.reduce(function(e,n,r){var o,s,a=e.length,c=a&&e[a-1],l=r+1==t.length;return l&&n.event_namespace&&"batch_log"==n.event_namespace.action&&(n.message=["entries:"+r,"requests:"+a].join("/")),o=f.stringify(n),s=encodeURIComponent(o).length+3,i+s>p?e:((!c||c.urlLength+s>p)&&(c={urlLength:i,items:[]},e.push(c)),c.urlLength+=s,c.items.push(o),e)},[]),e.map(function(t){var e={l:t.items};return h.enabled()&&(e.dnt=1),u(d.url(f.CLIENT_EVENT_ENDPOINT,e))})}function u(t){var e=new Image;return e.src=t}var h=t(56),d=t(65),f=t(34),m=t(71),p=2083,g=[];e.exports={_enqueueRawObject:c,scribe:s,clientEvent:r,clientEvent2:i,enqueueClientEvent:a,flushClientEvents:l,interaction:o}},{34:34,56:56,65:65,71:71}],34:[function(t,e,n){function i(t,e){var n;return e=e||{},t&&t.nodeType===Node.ELEMENT_NODE?((n=t.getAttribute("data-scribe"))&&n.split(" ").forEach(function(t){var n=t.trim().split(":"),i=n[0],r=n[1];i&&r&&!e[i]&&(e[i]=r)}),i(t.parentNode,e)):e}function r(t){return h.aug({client:"tfw"},t||{})}function o(t,e,n){var i=t&&t.widget_origin||l.referrer;return t=s("tfw_client_event",t,i),t.client_version=m,t.format_version=void 0!==n?n:1,e||(t.widget_origin=i),t}function s(t,e,n){return e=e||{},h.aug(e,{_category_:t,triggered_on:e.triggered_on||+new Date,dnt:u.enabled(n)})}function a(t,e){return h.aug({},e,{event_namespace:t})}function c(t){var e,n=Array.prototype.toJSON;return delete Array.prototype.toJSON,e=JSON.stringify(t),n&&(Array.prototype.toJSON=n),e}var l=t(11),u=t(56),h=t(71),d=t(73),f=t(18),m=d.version,p=f.get("endpoints.rufous")||"https://syndication.twitter.com/i/jot",g=f.get("endpoints.rufousAudience")||"https://syndication.twitter.com/i/jot/syndication",w=f.get("endpoints.rufousRedirect")||"https://platform.twitter.com/jot.html";e.exports={extractTermsFromDOM:i,flattenClientEventPayload:a,formatGenericEventData:s,formatClientEventData:o,formatClientEventNamespace:r,stringify:c,AUDIENCE_ENDPOINT:g,CLIENT_EVENT_ENDPOINT:p,RUFOUS_REDIRECT:w}},{11:11,18:18,56:56,71:71,73:73}],35:[function(t,e,n){function i(t,e,n,i){return t=t||[],n=n||{},function(){var r,o,c,u,h=Array.prototype.slice.apply(arguments,[0,t.length]),d=Array.prototype.slice.apply(arguments,[t.length]);return d.forEach(function(t){return t?1===t.nodeType?void(c=t):s.isType("function",t)?void(r=t):void(s.isType("object",t)&&(o=t)):void 0}),h.length!=t.length||0===d.length?(r&&s.async(function(){r(!1)}),a.reject("Not enough parameters")):c?(o=s.aug(o||{},n),o.targetEl=c,t.forEach(function(t){o[t]=h.shift()}),u=new e(o),l.doLayout(),u.render(),i&&i(),r&&u.completed().then(r,function(){r(!1)}),u.completed()):(r&&s.async(function(){r(!1)}),a.reject("No target specified"))}}function r(t){var e;t.linkColor=t.linkColor||t.previewParams.link_color,t.theme=t.theme||t.previewParams.theme,t.height=t.height||t.previewParams.height,e=new m(t),this.render=e.render.bind(e),this.completed=e.completed.bind(e)}var o=t(14),s=t(71),a=t(64),c=t(67),l=t(43),u=t(49),h=t(45),d=t(44),f=t(50),m=t(48),p=i(["url"],u,{type:"share"}),g=i(["hashtag"],u,{type:"hashtag"}),w=i(["screenName"],u,{type:"mention"}),v=i(["screenName"],h),y=i(["tweetId"],d,{},d.fetchAndRender),b=i(["tweetId"],f,{},f.fetchAndRender),_=i(["widgetId"],m),T=i(["previewParams"],r),A={createShareButton:p,createMentionButton:w,createHashtagButton:g,createFollowButton:v,createTweet:y,createVideo:b,createTweetEmbed:y,createTimeline:_};c.isTwitterURL(o.location.href)&&(A.createTimelinePreview=T),e.exports=A},{14:14,43:43,44:44,45:45,48:48,49:49,50:50,64:64,67:67,71:71}],36:[function(t,e,n){function i(t,e){var n=l.connect({src:t,iframe:{name:e,style:"position:absolute;top:-9999em;width:10px;height:10px"}});return u(n).expose({trigger:function(t,e,n){e=e||{};var i=e.region;delete e.region,f.get("events").trigger(t,{target:h.find(n),data:e,region:i,type:t})},initXPHub:function(){o(!0)}}),n}function r(t){return t?d.secureHubId:d.contextualHubId}function o(t){var e=c.base(t)+"/widgets/hub.f15fe2cd70788a40560e69fa17341d5e.html",n=r(t);if(!a.getElementById(n))return i(e,n)}function s(t,e){
var n=l.connect({window:{width:550,height:450},src:t});u(n).expose({trigger:function(t,n){f.get("events").trigger(t,{target:e,region:"intent",type:t,data:n})}})}var a=t(11),c=t(38),l=t(80),u=t(79),h=t(43),d=t(72),f=t(19);e.exports={init:o,openIntent:s}},{11:11,19:19,38:38,43:43,72:72,79:79,80:80}],37:[function(t,e,n){function i(){return o!==o.top?r.request(h).then(function(t){s.rootDocumentLocation(t.url),t.dnt&&a.setOn()}):void 0}var r,o=t(14),s=t(54),a=t(56),c=t(26),l=t(24),u=t(27),h="twttr.private.requestArticleUrl";o===o.top?(new c).attachReceiver(new u.Receiver(o)).bind(h,function(){return{url:s.rootDocumentLocation(),dnt:a.enabled()}}):r=new l(new u.Dispatcher(o.top)),e.exports={requestArticleUrl:i}},{14:14,24:24,26:26,27:27,54:54,56:56}],38:[function(t,e,n){function i(t,e){var n,i=l[t];return"embed/timeline.css"===t&&c.contains(o.href,"localhost.twitter.com")?"/node_modules/syndication-templates/lib/css/index.css":(n=a.retina()?"2x":"default",e&&(n+=".rtl"),r()+"/"+i[n])}function r(t){var e=s.get("host");return u(t)+"://"+e}var o=t(12),s=t(18),a=t(57),c=t(71),l={"embed/timeline.css":{"default":"embed/timeline.438399f9c19919ece063ecfc9ead5a7c.default.css","2x":"embed/timeline.438399f9c19919ece063ecfc9ead5a7c.2x.css",gif:"embed/timeline.438399f9c19919ece063ecfc9ead5a7c.gif.css","default.rtl":"embed/timeline.438399f9c19919ece063ecfc9ead5a7c.default.rtl.css","2x.rtl":"embed/timeline.438399f9c19919ece063ecfc9ead5a7c.2x.rtl.css","gif.rtl":"embed/timeline.438399f9c19919ece063ecfc9ead5a7c.gif.rtl.css"}},u=function(){return/^http\:$/.test(o.protocol)?function(t){return t?"https":"http"}:function(){return"https"}}();e.exports={builtUrl:i,base:r}},{12:12,18:18,57:57,71:71}],39:[function(t,e,n){function i(t){return function(e){e.error?t.error&&t.error(e):e.headers&&200!=e.headers.status?(t.error&&t.error(e),u.warn(e.headers.message)):t.success&&t.success(e),t.complete&&t.complete(e),r(t)}}function r(t){var e=t.script;e&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),t.script=void 0,e=void 0),t.callbackName&&l.unset(["callbacks",t.callbackName])}function o(t){var e={};return t.success&&h.isType("function",t.success)&&(e.success=t.success),t.error&&h.isType("function",t.error)&&(e.error=t.error),t.complete&&h.isType("function",t.complete)&&(e.complete=t.complete),e}var s=t(11),a=t(12),c=t(4),l=t(18),u=t(61),h=t(71),d=t(65),f="cb",m=0,p=!1,g={},w=h.aug({tweets:"https://syndication.twitter.com/tweets.json",timeline:"https://cdn.syndication.twimg.com/widgets/timelines/",timelinePoll:"https://syndication.twitter.com/widgets/timelines/paged/",timelinePreview:"https://syndication.twitter.com/widgets/timelines/preview/",videos:"https://syndication.twitter.com/widgets/video/"},l.get("endpoints")||{});g.jsonp=function(t,e,n){var r=n||f+m,o=l.fullPath(["callbacks",r]),c=s.createElement("script"),u={callback:o,suppress_response_codes:!0};l.set(["callbacks",r],i(e)),(p||!/^https?\:$/.test(a.protocol))&&(t=t.replace(/^\/\//,"https://")),c.src=d.url(t,u),c.async="async",s.body.appendChild(c),e.script=c,e.callbackName=r,n||m++},g.config=function(t){(t.forceSSL===!0||t.forceSSL===!1)&&(p=t.forceSSL)},g.tweets=function(t){var e,n=o(t),i={ids:t.ids.join(","),lang:t.lang};c.isEnabled()&&(i.new_html=!0),e=d.url(w.tweets,i),this.jsonp(e,n)},g.videos=function(t){var e=o(t),n={ids:t.ids.join(","),lang:t.lang},i=d.url(w.videos,n);this.jsonp(i,e)},g.timeline=function(t){var e,n=o(t),i=9e5,r=Math.floor(+new Date/i),s={lang:t.lang,t:r,domain:a.host,dnt:t.dnt,override_type:t.overrideType,override_id:t.overrideId,override_name:t.overrideName,override_owner_id:t.overrideOwnerId,override_owner_name:t.overrideOwnerName,with_replies:t.withReplies};h.compact(s),e=d.url(w.timeline+t.id,s),this.jsonp(e,n,"tl_"+t.id+"_"+t.instanceId)},g.timelinePoll=function(t){var e,n=o(t),i={lang:t.lang,since_id:t.sinceId,max_id:t.maxId,min_position:t.minPosition,max_position:t.maxPosition,domain:a.host,dnt:t.dnt,override_type:t.overrideType,override_id:t.overrideId,override_name:t.overrideName,override_owner_id:t.overrideOwnerId,override_owner_name:t.overrideOwnerName,with_replies:t.withReplies};h.compact(i),e=d.url(w.timelinePoll+t.id,i),this.jsonp(e,n,"tlPoll_"+t.id+"_"+t.instanceId+"_"+(t.sinceId||t.maxId||t.maxPosition||t.minPosition))},g.timelinePreview=function(t){var e=o(t),n=t.params,i=d.url(w.timelinePreview,n);this.jsonp(i,e)},e.exports=g},{11:11,12:12,18:18,4:4,61:61,65:65,71:71}],40:[function(t,e,n){function i(){var t=36e5,e=s.combined(o)._;return void 0!==r?r:(r=!1,e&&/^\d+$/.test(e)&&(r=+new Date-parseInt(e)<t),r)}var r,o=t(12),s=t(63);e.exports={isDynamicWidget:i}},{12:12,63:63}],41:[function(t,e,n){function i(t,e){return 2==t||3==t&&0===+e}function r(t){var e=t.split(" ");this.url=decodeURIComponent(e[0].trim()),this.width=+e[1].replace(/w$/,"").trim()}function o(t,e,n){var i,o,s,a;if(t=f.devicePixelRatio?t*f.devicePixelRatio:t,o=e.split(",").map(function(t){return new r(t.trim())}),n)for(a=0;a<o.length;a++)o[a].url===n&&(i=o[a]);return s=o.reduce(function(e,n){return n.width<e.width&&n.width>=t?n:e},o[0]),i&&i.width>s.width?i:s}function s(t,e){var n,i=t.getAttribute("data-srcset"),r=t.src;i&&(n=o(e,i,r),t.src=n.url)}function a(t,e){e=void 0!==e?!!e:p.retina(),m.toRealArray(t.getElementsByTagName("IMG")).forEach(function(t){var n=t.getAttribute("data-src-1x")||t.getAttribute("src"),i=t.getAttribute("data-src-2x");e&&i?t.src=i:n&&(t.src=n)})}function c(t,e,n,r){var o=0,a=t.querySelector(".multi-photo"),c=a&&+a.getAttribute("data-photo-count");if(t)return m.toRealArray(t.querySelectorAll(".NaturalImage-image")).forEach(function(t){r(function(){s(t,e)})}),m.toRealArray(t.querySelectorAll(".CroppedImage-image")).forEach(function(t){r(function(){s(t,e/2)})}),(p.ios()||p.android())&&m.toRealArray(t.querySelectorAll(".FilledIframe")).forEach(function(t){r(function(){u(t,{width:t.offsetWidth,height:t.offsetHeight})})}),m.toRealArray(t.querySelectorAll(".autosized-media")).forEach(function(t){var i=l(t.getAttribute("data-width"),t.getAttribute("data-height"),e,n);r(function(){s(t,e),t.width=i.width,t.height=i.height,u(t,i)}),o=i.height>o?i.height:o}),m.toRealArray(t.querySelectorAll("img.cropped-media")).forEach(function(t){var a,u,h,d=e-12,f=t.parentNode,m=t.getAttribute("data-crop-x")||0,p=t.getAttribute("data-crop-y")||0,g=i(c,t.getAttribute("data-image-index")),b=Math.floor(d/2-w),_=Math.floor(b/(g?v:y));g||(_-=w/2),h=l(t.getAttribute("data-width"),t.getAttribute("data-height"),b,n,b,_),a=h.width-b-m,u=h.height-_-p,0>a&&Math.max(0,m+=a),0>u&&Math.max(0,p+=u),r(function(){s(t,b),t.width=h.width,t.height=h.height,f.style.width=b-1+"px",f.style.height=_+"px",m&&(t.style.marginLeft="-"+Math.floor(h.width*m/100)+"px"),p&&(t.style.marginTop="-"+Math.floor(h.height*p/100)+"px")}),o=h.height*(g?2:1)>o?h.height:o}),o}function l(t,e,n,i,r,o){return n=n||t,i=i||e,r=r||0,o=o||0,t>n&&(e*=n/t,t=n),e>i&&(t*=i/e,e=i),r>t&&(e*=r/t,t=r),o>e&&(t*=o/e,e=o),{width:Math.floor(t),height:Math.floor(e)}}function u(t,e){function n(){var t={name:"tfw:resize",dimensions:e};r.postMessage(t,"*")}var i,r,o,s,a;t&&(r=t.contentWindow,i=t.ownerDocument&&t.ownerDocument.defaultView,o=p.ios()||p.android(),s=g.isTwitterURL(t.src),a=r&&p.canPostMessage(r),o&&s&&a&&(n(),i&&i.addEventListener("message",function(t){"tfw:requestsize"===t.data&&n()},!1)))}function h(t,e,n,i){m.toRealArray(t.querySelectorAll(e)).forEach(function(t){var e=t.getAttribute("style")||t.getAttribute("data-style"),r=i.test(e)&&RegExp.$1;r&&(t.setAttribute("data-csp-fix",!0),t.style[n]=r)})}function d(t){p.cspEnabled()&&(h(t,".MediaCard-widthConstraint","maxWidth",b),h(t,".MediaCard-mediaContainer","paddingBottom",A),h(t,".CroppedImage-image","marginTop",_),h(t,".CroppedImage-image","marginLeft",T))}var f=t(14),m=t(71),p=t(57),g=t(67),w=6,v=8/9,y=16/9,b=/max-width:\s*([\d\.]+px)/,_=/margin-top:\s*(\-?[\d\.]+%)/,T=/margin-left:\s*(\-?[\d\.]+%)/,A=/padding-bottom:\s*([\d\.]+%)/;e.exports={scaleDimensions:l,retinize:a,constrainMedia:c,fixMediaCardLayout:d,__setSrcFromSet:s}},{14:14,57:57,67:67,71:71}],42:[function(t,e,n){var i=t(65),r=t(67);e.exports=function(t,e){return function(n){var o,s,a="data-tw-params";if(n&&r.isTwitterURL(n.href)&&!n.getAttribute(a)){if(n.setAttribute(a,!0),"function"==typeof e){o=e.call(this,n);for(s in o)o.hasOwnProperty(s)&&(t[s]=o[s])}n.href=i.url(n.href,t)}}}},{65:65,67:67}],43:[function(t,e,n){function i(t){var e,n=this;t&&(t.ownerDocument?(this.srcEl=t,this.classAttr=t.className.split(" ")):(this.srcOb=t,this.classAttr=[]),e=this.params(),this.id=this.generateId(),this.setLanguage(),this.related=e.related||this.dataAttr("related"),this.partner=e.partner||this.dataAttr("partner")||w.val("partner"),this.styleAttr=[],this.targetEl=t.targetEl,p.asBoolean(e.dnt||this.dataAttr("dnt"))&&v.setOn(),A[this.id]=this,this.completePromise=new f(function(t){n.completeResolver=t}),this.completed().then(function(t){t&&t!=a.body&&_.get("events").trigger("rendered",{target:t})}))}function r(){E.forEach(function(t){t()}),i.doLayout()}function o(t){return t?t.lang?t.lang:o(t.parentNode):void 0}var s,a=t(11),c=t(14),l=t(38),u=t(23),h=t(59),d=t(60),f=t(64),m=t(65),p=t(68),g=t(71),w=t(17),v=t(56),y=t(61),b=t(54),_=t(19),T=0,A={},E=[],x=new d,I="data-twttr-rendered",S={ar:{"%{followers_count} followers":"عدد المتابعين %{followers_count}","100K+":"+100 ألف","10k unit":"10 آلاف وحدة",Follow:"تابِع","Follow %{screen_name}":"تابِع %{screen_name}",K:"ألف",M:"م",Tweet:"غرِّد","Tweet %{hashtag}":"غرِّد %{hashtag}","Tweet to %{name}":"غرِّد لـ %{name}"},bn:{"Follow %{screen_name}":"%{screen_name}-কে অনুসরণ করুন"},cs:{"Follow %{screen_name}":"Sledovat uživatele %{screen_name}"},da:{"%{followers_count} followers":"%{followers_count} følgere","10k unit":"10k enhed",Follow:"Følg","Follow %{screen_name}":"Følg %{screen_name}","Tweet to %{name}":"Tweet til %{name}"},de:{"%{followers_count} followers":"%{followers_count} Follower","100K+":"100Tsd+","10k unit":"10tsd-Einheit",Follow:"Folgen","Follow %{screen_name}":"%{screen_name} folgen",K:"Tsd",Tweet:"Twittern","Tweet to %{name}":"Tweet an %{name}"},es:{"%{followers_count} followers":"%{followers_count} seguidores","10k unit":"unidad de 10 mil",Follow:"Seguir","Follow %{screen_name}":"Seguir a %{screen_name}",Tweet:"Twittear","Tweet %{hashtag}":"Twittear %{hashtag}","Tweet to %{name}":"Twittear a %{name}"},fa:{"%{followers_count} followers":"%{followers_count} دنبالکننده","100K+":">۱۰۰هزار","10k unit":"۱۰هزار واحد",Follow:"دنبال کردن","Follow %{screen_name}":"دنبال کردن %{screen_name}",K:"هزار",M:"میلیون",Tweet:"توییت","Tweet %{hashtag}":"توییت کردن %{hashtag}","Tweet to %{name}":"به %{name} توییت کنید"},fi:{"%{followers_count} followers":"%{followers_count} seuraajaa","100K+":"100 000+","10k unit":"10 000 yksikköä",Follow:"Seuraa","Follow %{screen_name}":"Seuraa käyttäjää %{screen_name}",K:"tuhatta",M:"milj.",Tweet:"Twiittaa","Tweet %{hashtag}":"Twiittaa %{hashtag}","Tweet to %{name}":"Twiittaa käyttäjälle %{name}"},fil:{"%{followers_count} followers":"%{followers_count} mga tagasunod","10k unit":"10k yunit",Follow:"Sundan","Follow %{screen_name}":"Sundan si %{screen_name}",Tweet:"I-tweet","Tweet %{hashtag}":"I-tweet ang %{hashtag}","Tweet to %{name}":"Mag-Tweet kay %{name}"},fr:{"%{followers_count} followers":"%{followers_count} abonnés","10k unit":"unité de 10k",Follow:"Suivre","Follow %{screen_name}":"Suivre %{screen_name}",Tweet:"Tweeter","Tweet %{hashtag}":"Tweeter %{hashtag}","Tweet to %{name}":"Tweeter à %{name}"},he:{"%{followers_count} followers":"%{followers_count} עוקבים","100K+":"מאות אלפים","10k unit":"עשרות אלפים",Follow:"מעקב","Follow %{screen_name}":"לעקוב אחר %{screen_name}",K:"אלף",M:"מיליון",Tweet:"ציוץ","Tweet %{hashtag}":"צייצו %{hashtag}","Tweet to %{name}":"ציוץ אל %{name}"},hi:{"%{followers_count} followers":"%{followers_count} फ़ॉलोअर्स","100K+":"1 लाख से अधिक","10k unit":"10 हजार इकाईयां",Follow:"फ़ॉलो","Follow %{screen_name}":"%{screen_name} को फ़ॉलो करें",K:"हजार",M:"मिलियन",Tweet:"ट्वीट","Tweet %{hashtag}":"ट्वीट %{hashtag}","Tweet to %{name}":"%{name} के प्रति ट्वीट करें"},hu:{"%{followers_count} followers":"%{followers_count} követő","100K+":"100E+","10k unit":"10E+",Follow:"Követés","Follow %{screen_name}":"%{screen_name} követése",K:"E","Tweet %{hashtag}":"%{hashtag} tweetelése","Tweet to %{name}":"Tweet küldése neki: %{name}"},id:{"%{followers_count} followers":"%{followers_count} pengikut","100K+":"100 ribu+","10k unit":"10 ribu unit",Follow:"Ikuti","Follow %{screen_name}":"Ikuti %{screen_name}",K:" ribu",M:" juta","Tweet to %{name}":"Tweet ke %{name}"},it:{"%{followers_count} followers":"%{followers_count} follower","10k unit":"10k unità",Follow:"Segui","Follow %{screen_name}":"Segui %{screen_name}","Tweet %{hashtag}":"Twitta %{hashtag}","Tweet to %{name}":"Twitta a %{name}"},ja:{"%{followers_count} followers":"%{followers_count}人のフォロワー","100K+":"100K以上","10k unit":"万",Follow:"フォローする","Follow %{screen_name}":"%{screen_name}さんをフォロー",Tweet:"ツイート","Tweet %{hashtag}":"%{hashtag} をツイートする","Tweet to %{name}":"%{name}さんへツイートする"},ko:{"%{followers_count} followers":"%{followers_count}명의 팔로워","100K+":"100만 이상","10k unit":"만 단위",Follow:"팔로우","Follow %{screen_name}":"%{screen_name} 님 팔로우하기",K:"천",M:"백만",Tweet:"트윗","Tweet %{hashtag}":"%{hashtag} 관련 트윗하기","Tweet to %{name}":"%{name} 님에게 트윗하기"},msa:{"%{followers_count} followers":"%{followers_count} pengikut","100K+":"100 ribu+","10k unit":"10 ribu unit",Follow:"Ikut","Follow %{screen_name}":"Ikut %{screen_name}",K:"ribu",M:"juta","Tweet to %{name}":"Tweet kepada %{name}"},nl:{"%{followers_count} followers":"%{followers_count} volgers","100K+":"100k+","10k unit":"10k-eenheid",Follow:"Volgen","Follow %{screen_name}":"%{screen_name} volgen",K:"k",M:" mln.",Tweet:"Tweeten","Tweet %{hashtag}":"%{hashtag} tweeten","Tweet to %{name}":"Tweeten naar %{name}"},no:{"%{followers_count} followers":"%{followers_count} følgere","100K+":"100 K+","10k unit":"10-K-enhet",Follow:"Følg","Follow %{screen_name}":"Følg %{screen_name}","Tweet to %{name}":"Send en tweet til %{name}"},pl:{"%{followers_count} followers":"%{followers_count} obserwujących","100K+":"100 tys.+","10k unit":"10 tys.",Follow:"Obserwuj","Follow %{screen_name}":"Obserwuj %{screen_name}",K:"tys.",M:"mln",Tweet:"Tweetnij","Tweet %{hashtag}":"Tweetnij %{hashtag}","Tweet to %{name}":"Tweetnij do %{name}"},pt:{"%{followers_count} followers":"%{followers_count} seguidores","100K+":"+100 mil","10k unit":"10 mil unidades",Follow:"Seguir","Follow %{screen_name}":"Seguir %{screen_name}",K:"Mil",Tweet:"Tweetar","Tweet %{hashtag}":"Tweetar %{hashtag}","Tweet to %{name}":"Tweetar para %{name}"},ro:{"Follow %{screen_name}":"Urmăreşte pe %{screen_name}"},ru:{"%{followers_count} followers":"Читатели: %{followers_count} ","100K+":"100 тыс.+","10k unit":"блок 10k",Follow:"Читать","Follow %{screen_name}":"Читать %{screen_name}",K:"тыс.",M:"млн.",Tweet:"Твитнуть","Tweet %{hashtag}":"Твитнуть %{hashtag}","Tweet to %{name}":"Твитнуть %{name}"},sv:{"%{followers_count} followers":"%{followers_count} följare","10k unit":"10k",Follow:"Följ","Follow %{screen_name}":"Följ %{screen_name}",Tweet:"Tweeta","Tweet %{hashtag}":"Tweeta %{hashtag}","Tweet to %{name}":"Tweeta till %{name}"},th:{"%{followers_count} followers":"%{followers_count} ผู้ติดตาม","100K+":"100พัน+","10k unit":"หน่วย 10พัน",Follow:"ติดตาม","Follow %{screen_name}":"ติดตาม %{screen_name}",M:"ล้าน",Tweet:"ทวีต","Tweet %{hashtag}":"ทวีต %{hashtag}","Tweet to %{name}":"ทวีตถึง %{name}"},tr:{"%{followers_count} followers":"%{followers_count} takipçi","100K+":"+100 bin","10k unit":"10 bin birim",Follow:"Takip et","Follow %{screen_name}":"Takip et: %{screen_name}",K:"bin",M:"milyon",Tweet:"Tweetle","Tweet %{hashtag}":"Tweetle: %{hashtag}","Tweet to %{name}":"Tweetle: %{name}"},uk:{"Follow %{screen_name}":"Читати %{screen_name}"},ur:{"%{followers_count} followers":"%{followers_count} فالورز","100K+":"ایک لاکھ سے زیادہ","10k unit":"دس ہزار یونٹ",Follow:"فالو کریں","Follow %{screen_name}":"%{screen_name} کو فالو کریں",K:"ہزار",M:"ملین",Tweet:"ٹویٹ کریں","Tweet %{hashtag}":"%{hashtag} ٹویٹ کریں","Tweet to %{name}":"%{name} کو ٹویٹ کریں"},vi:{"Follow %{screen_name}":"Theo dõi %{screen_name}"},"zh-cn":{"%{followers_count} followers":"%{followers_count} 关注者","100K+":"10万+","10k unit":"1万单元",Follow:"关注","Follow %{screen_name}":"关注 %{screen_name}",K:"千",M:"百万",Tweet:"发推","Tweet %{hashtag}":"以 %{hashtag} 发推","Tweet to %{name}":"发推给 %{name}"},"zh-tw":{"%{followers_count} followers":"%{followers_count} 位跟隨者","100K+":"超過十萬","10k unit":"1萬 單位",Follow:"跟隨","Follow %{screen_name}":"跟隨 %{screen_name}",K:"千",M:"百萬",Tweet:"推文","Tweet %{hashtag}":"推文%{hashtag}","Tweet to %{name}":"推文給%{name}"}};g.aug(i.prototype,{setLanguage:function(t){var e;return t||(t=this.params().lang||this.dataAttr("lang")||o(this.srcEl)),(t=t&&t.toLowerCase())?S[t]?this.lang=t:(e=t.replace(/[\-_].*/,""),S[e]?this.lang=e:void(this.lang="en")):this.lang="en"},_:function(t,e){var n=this.lang;return e=e||{},n&&S.hasOwnProperty(n)||(n=this.lang="en"),t=S[n]&&S[n][t]||t,this.ringo(t,e,/%\{([\w_]+)\}/g)},ringo:function(t,e,n){return n=n||/\{\{([\w_]+)\}\}/g,t.replace(n,function(t,n){return void 0!==e[n]?e[n]:t})},makeIframeSource:function(){if(this.iframeSource){var t=m.encode(this.widgetUrlParams());return[l.base(),"/",this.ringo(this.iframeSource,{lang:this.lang}),"#",t].join("")}},add:function(t){A[this.id]=t},create:function(t,e,n){var i,r=this;return n[I]=!0,i=h(g.aug({id:this.id,src:t,"class":this.classAttr.join(" ")},n),e,this.targetEl&&this.targetEl.ownerDocument),this.srcEl?this.layout(function(){return r.srcEl.parentNode.replaceChild(i,r.srcEl),r.completeResolver.fulfill(i),i}):this.targetEl?this.layout(function(){return r.targetEl.appendChild(i),r.completeResolver.fulfill(i),i}):f.reject("Did not append widget")},params:function(){var t,e;return this.srcOb?e=this.srcOb:(t=this.srcEl&&this.srcEl.href&&this.srcEl.href.split("?")[1],e=t?m.decode(t):{}),this.params=function(){return e},e},widgetUrlParams:function(){return{}},dataAttr:function(t){return this.srcEl&&this.srcEl.getAttribute("data-"+t)},attr:function(t){return this.srcEl&&this.srcEl.getAttribute(t)},layout:function(t){return x.enqueue(t)},styles:{base:[["font","normal normal normal 11px/18px 'Helvetica Neue', Arial, sans-serif"],["margin","0"],["padding","0"],["whiteSpace","nowrap"]],button:[["fontWeight","bold"],["textShadow","0 1px 0 rgba(255,255,255,.5)"]],large:[["fontSize","13px"],["lineHeight","26px"]],vbubble:[["fontSize","16px"]]},width:function(){throw new Error("not implemented")},height:function(){return"m"==this.size?20:28},minWidth:function(){},maxWidth:function(){},minHeight:function(){},maxHeight:function(){},dimensions:function(){function t(t){switch(typeof t){case"string":return t;case"undefined":return;default:return t+"px"}}var e={width:this.width(),height:this.height()};return this.minWidth()&&(e["min-width"]=this.minWidth()),this.maxWidth()&&(e["max-width"]=this.maxWidth()),this.minHeight()&&(e["min-height"]=this.minHeight()),this.maxHeight()&&(e["max-height"]=this.maxHeight()),g.forIn(e,function(n,i){e[n]=t(i)}),e},generateId:function(){return this.srcEl&&this.srcEl.id||"twitter-widget-"+T++},completed:function(){return this.completePromise}}),i.afterLoad=function(t){E.push(t)},i.doLayout=function(){x.exec()},i.doLayoutAsync=function(){x.delayedExec()},i.init=function(t){s=t},i.reset=function(){A={}},i.find=function(t){return t&&A[t]?A[t].element:null},i.embed=function(t){var e=[],n=[],o=[];p.isArray(t)||(t=[t||a]),y.time("sandboxes"),t.forEach(function(t){g.forIn(s,function(n,i){var r=t.querySelectorAll(n);g.toRealArray(r).forEach(function(t){var n;t.getAttribute(I)||(t.setAttribute(I,"true"),n=new i(t),e.push(n),o.push(n.sandboxCreated))})})}),f.every.apply(null,o).then(function(){y.timeEnd("sandboxes")}),i.doLayout(),e.forEach(function(t){n.push(t.completed()),t.render()}),f.every.apply(null,n).then(function(t){t=t.filter(function(t){return t}),t.length&&(_.get("events").trigger("loaded",{widgets:t}),y.timeEnd("load"))}).then(i.trackRender),i.doLayoutAsync(),r()},i.trackRender=function(){u.endAndTrack("render","widgets-js-load","page",{widget_origin:b.rootDocumentLocation(),widget_frame:b.isFramed()&&b.currentDocumentLocation()})},c.setInterval(function(){i.doLayout()},500),e.exports=i},{11:11,14:14,17:17,19:19,23:23,38:38,54:54,56:56,59:59,60:60,61:61,64:64,65:65,68:68,71:71}],44:[function(t,e,n){function i(t,e){var n=t.querySelector("blockquote.subject"),i=t.querySelector("blockquote.reply"),r=n&&n.getAttribute("data-tweet-id"),o=i&&i.getAttribute("data-tweet-id"),s={},a={};r&&(s[r]={item_type:0},A.clientEvent({page:"tweet",section:"subject",component:"tweet",action:"results"},y.aug({},e,{item_ids:[r],item_details:s}),!0),T.scribeTweetAudienceImpression(),o&&(a[o]={item_type:0},A.clientEvent({page:"tweet",section:"conversation",component:"tweet",action:"results"},y.aug({},e,{item_ids:[o],item_details:a,associations:{4:{association_id:r,association_type:4}}}),!0)))}function r(t,e){var n={};t&&(n[t]={item_type:0},A.clientEvent({page:"tweet",section:"subject",component:"rawembedcode",action:"no_results"},{widget_origin:x.rootDocumentLocation(),widget_frame:x.isFramed()&&x.currentDocumentLocation(),message:e,item_ids:[t],item_details:n},!0),T.scribeTweetAudienceImpression())}function o(t,e,n,i){R[t]=R[t]||[],R[t].push({s:n,f:i,lang:e})}function s(t){if(t){var e,n,i;d.apply(this,[t]),e=this.params(),n=this.srcEl&&this.srcEl.getElementsByTagName("A"),i=n&&n[n.length-1],this.hideThread="none"==(e.conversation||this.dataAttr("conversation"))||y.contains(this.classAttr,"tw-hide-thread"),this.hideCard="hidden"==(e.cards||this.dataAttr("cards"))||y.contains(this.classAttr,"tw-hide-media"),"left"==(e.align||this.attr("align"))||y.contains(this.classAttr,"tw-align-left")?this.align="left":"right"==(e.align||this.attr("align"))||y.contains(this.classAttr,"tw-align-right")?this.align="right":("center"==(e.align||this.attr("align"))||y.contains(this.classAttr,"tw-align-center"))&&(this.align="center",this.containerWidth>this.dimensions.MIN_WIDTH*(1/.7)&&this.width>.7*this.containerWidth&&(this.width=.7*this.containerWidth)),this.narrow=e.narrow||this.width<=this.dimensions.NARROW_WIDTH,this.narrow&&this.classAttr.push("var-narrow"),this.tweetId=e.tweetId||i&&b.status(i.href)}}var a=t(3),c=t(4),l=t(14),u=t(8),h=t(43),d=t(47),f=t(53),m=t(42),p=t(5),g=t(7),w=t(23),v=t(64),y=t(71),b=t(67),_=t(39),T=t(31),A=t(32),E=t(41),x=t(54),I=t(19),S=t(6),N=t(33),D="tweetembed",R={},C=[];s.prototype=new d,y.aug(s.prototype,{renderedClassNames:"twitter-tweet twitter-tweet-rendered",dimensions:{DEFAULT_HEIGHT:"0",DEFAULT_WIDTH:"500",NARROW_WIDTH:"350",maxHeight:"375",FULL_BLEED_PHOTO_MAX_HEIGHT:"600",MIN_WIDTH:"220",MIN_HEIGHT:"0",MARGIN:"10px 0",WIDE_MEDIA_PADDING:32,NARROW_MEDIA_PADDING:32,BORDERS:0},styleSheetUrl:a.tweet,onStyleSheetLoad:function(){var t=this;this.sandbox.hasContent()&&(h.doLayoutAsync(),this.sandbox.resizeToContent().then(function(e){t.height=e}))},ensureStyleSheetConsistency:function(t){var e,n;return p.present(t,"EmbeddedTweet")&&!c.isEnabled()?(e=this.styleSheetUrl(),n=a.tweetRefresh(this.lang,this.theme),v.every(this.sandbox.removeStyleSheet(e),this.sandbox.appendStyleSheet(n))):v.fulfill()},create:function(t){var e,n,r,o=this,s=this.sandbox.createElement("div");return s.innerHTML=t,(e=s.children[0]||!1)?("dark"==this.theme&&this.classAttr.push("thm-dark"),this.linkColor&&this.addSiteStyles(),p.present(e,"media-forward")&&(this.fullBleedPhoto=!0,this.dimensions.maxHeight=this.dimensions.FULL_BLEED_PHOTO_MAX_HEIGHT),p.present(e,"with-border")||p.present(e,"EmbeddedTweet")||this.sandbox.style({border:"#ddd 1px solid",borderTopColor:"#eee",borderBottomColor:"#bbb",borderRadius:"5px",boxShadow:"0 1px 3px rgba(0,0,0,0.15)",maxWidth:"99%"}),p.present(e,"with-border")?(s.style.padding="2px 3px 3px 2px",r=s):r=e,E.retinize(e),E.fixMediaCardLayout(e),e.id=this.id,e.className+=" "+this.classAttr.join(" "),e.lang=this.lang,this.sandbox.setTitle(e.getAttribute("data-iframe-title")||"Tweet"),v.every(this.ensureStyleSheetConsistency(e),this.sandbox.appendChild(r)).then(function(){o.renderResolver.fulfill(o.sandbox)}),n=this.layout(function(){o.predefinedWidth=o.width,o.width=o.sandbox.width(o.width),o.collapseRegions()}),n.then(function(){o.constrainMedia(e,o.contentWidth(o.width)),o.setNarrow().then(function(){o.layout(function(){o.completeResolver.fulfill(o.sandbox.element())})})}),i(e,this.baseScribeData(),this.partner),e):void 0},render:function(){var t=this,e="",n=this.tweetId;return n?(this.hideCard&&(e+="c"),this.hideThread&&(e+="t"),e&&(n+="-"+e),this.rendered().then(function(e){var n=t.srcEl;n&&n.parentNode&&t.layout(function(){n&&n.parentNode&&n.parentNode.removeChild(n)}),"center"==t.align?e.style({margin:"7px auto",cssFloat:"none"}):t.align&&(t.width==t.dimensions.DEFAULT_WIDTH&&(t.predefinedWidth=t.width=t.dimensions.NARROW_WIDTH),e.style({cssFloat:t.align})),t.sandbox.resizeToContent().then(function(e){return t.height=e,h.doLayoutAsync(),t.sandbox.resizeToContent().then(function(e){t.height=e})}).then(function(){e.onresize(t.handleResize.bind(t))}),e.style({position:"static",visibility:"visible"}),h.doLayoutAsync()}),o(n,this.lang,function(e){t.ready().then(function(){t.element=t.create(e),t.readTimestampTranslations(),t.updateTimeStamps(),t.bindIntentHandlers(),t.bindUIHandlers(),t.bindPermalinkHandler(),h.doLayoutAsync()})},function(){r(t.tweetId,t.partner),t.completeResolver.fulfill(t.srcEl)}),C.push(this.completed()),this.completed().then(this.scribePerformance.bind(this)),this.completed()):(this.completeResolver.fulfill(this.srcEl),this.completed())},bindPermalinkHandler:function(){var t=this;p.present(this.element,"decider-tapOpensPermalink")&&(S.delegate(this.element,"click","A",function(t){S.stopPropagation(t)}),S.delegate(this.element,"click",".twitter-tweet",function(e){var n,i;u.getSelection(t.sandbox._win)||(n=t.element.querySelectorAll("blockquote.tweet"),i=n[n.length-1],t.openPermalink(i),t.scribePermalinkClick(i,e),S.stopPropagation(e))}))},scribePermalinkClick:function(t,e){var n=this.createScribeData(t);N.interaction(e,n,!1)},openPermalink:function(t){var e=t.cite;b.isStatus(e)&&l.open(e)},scribePerformance:function(){w.endAndTrack("render","widgets-js-load","tweet",this.baseScribeData())},addUrlParams:function(t){var e=this,n={related:this.related,partner:this.partner,original_referer:x.rootDocumentLocation(),tw_p:D};return this.addUrlParams=m(n,function(t){var n=g.closest(".tweet",t,e.element);return{tw_i:n.getAttribute("data-tweet-id")}}),this.addUrlParams(t)},baseScribeData:function(){return{widget_origin:x.rootDocumentLocation(),widget_frame:x.isFramed()&&x.currentDocumentLocation(),message:this.partner}},handleResize:function(t){var e=this;t!=this.width&&(this.width=t,this.setNarrow(),this.constrainMedia(this.element,this.contentWidth(t)),this.collapseRegions(),this.sandbox.resizeToContent().then(function(t){e.height=t,I.get("events").trigger("resize",{target:e.sandbox.element()})}),h.doLayoutAsync())},readTimestampTranslations:function(){var t=this.element,e="data-dt-",n=t.getAttribute(e+"months")||"";this.datetime=new f(y.compact({phrases:{AM:t.getAttribute(e+"am"),PM:t.getAttribute(e+"pm")},months:n.split("|"),formats:{full:t.getAttribute(e+"full")}}))},updateTimeStamps:function(){var t=this.element.querySelector(".long-permalink"),e=t.getAttribute("data-datetime"),n=e&&this.datetime.localTimeStamp(e),i=t.getElementsByTagName("TIME")[0];n&&(this.layout(function(){return i&&i.innerHTML?void(i.innerHTML=n):void(t.innerHTML=n)},"Update Timestamp"),h.doLayoutAsync())}}),s.fetchAndRender=function(){var t,e,n=R,i=[];if(R={},n.keys)i=n.keys();else for(t in n)n.hasOwnProperty(t)&&i.push(t);i.length&&(A.init(),e=n[i[0]][0].lang,_.tweets({ids:i.sort(),lang:e,complete:function(t){y.forIn(t,function(t,e){var i=n[t];i.forEach(function(t){t.s&&t.s.call(this,e)}),delete n[t]}),h.doLayout(),y.forIn(n,function(t,e){e.forEach(function(e){e.f&&e.f.call(this,t)})}),h.doLayout()}}),v.every.apply(null,C).then(function(){A.flush()}),C=[])},h.afterLoad(s.fetchAndRender),e.exports=s},{14:14,19:19,23:23,3:3,31:31,32:32,33:33,39:39,4:4,41:41,42:42,43:43,47:47,5:5,53:53,54:54,6:6,64:64,67:67,7:7,71:71,8:8}],45:[function(t,e,n){function i(t){if(t){var e,n,i,r;s.apply(this,[t]),e=this.params(),n=e.size||this.dataAttr("size"),i=e.showScreenName||this.dataAttr("show-screen-name"),r=e.count||this.dataAttr("count"),this.classAttr.push("twitter-follow-button"),this.showScreenName="false"!=i,this.showCount=!(e.showCount===!1||"false"==this.dataAttr("show-count")),"none"==r&&(this.showCount=!1),this.explicitWidth=e.width||this.dataAttr("width")||"",this.screenName=e.screen_name||e.screenName||a.screenName(this.attr("href")),this.preview=e.preview||this.dataAttr("preview")||"",this.align=e.align||this.dataAttr("align")||"",this.size="large"==n?"l":"m"}}var r=t(56),o=t(71),s=t(43),a=t(67),c=t(64),l=t(10);i.prototype=new s,o.aug(i.prototype,{iframeSource:"widgets/follow_button.7c0d5c8fc0456a01b74fed2e38018608.{{lang}}.html",widgetUrlParams:function(){return o.compact({screen_name:this.screenName,lang:this.lang,show_count:this.showCount,show_screen_name:this.showScreenName,align:this.align,id:this.id,preview:this.preview,size:this.size,partner:this.partner,dnt:r.enabled(),_:+new Date})},width:function(){if(this.calculatedWidth)return this.calculatedWidth;if(this.explicitWidth)return this.explicitWidth;var t,e,n={cnt:13,btn:24,xlcnt:22,xlbtn:38},i=this.showScreenName?"Follow %{screen_name}":"Follow",r=this._(i,{screen_name:"@"+this.screenName}),s=this._(o.contains(["ja","ko"],this.lang)?"10k unit":"M"),a=this._("%{followers_count} followers",{followers_count:"88888"+s}),c=0,u=0,h=this.styles.base;return"l"==this.size?(h=h.concat(this.styles.large),t=n.xlbtn,e=n.xlcnt):(t=n.btn,e=n.cnt),this.showCount&&(u=l(a,"",h).width+e),c=l(r,"",h.concat(this.styles.button)).width+t,this.calculatedWidth=c+u},render:function(){if(!this.screenName)return c.reject("Missing Screen Name");var t=this,e=this.makeIframeSource(),n=this.create(e,this.dimensions(),{title:this._("Twitter Follow Button")}).then(function(e){return t.element=e});return n}}),e.exports=i},{10:10,43:43,56:56,64:64,67:67,71:71}],46:[function(t,e,n){function i(t){m.open(t)}function r(e,n){var i=t(36);i.openIntent(e,n)}function o(t,e){if(f.isTwitterURL(t))if(g.get("eventsHub")&&e){var n=new s(c.generateId(),e);c.add(n),r(t,e),p.get("events").trigger("click",{target:e,region:"intent",type:"click",data:{}})}else i(t)}function s(t,e){this.id=t,this.element=this.srcEl=e}function a(t){this.srcEl=[],this.element=t}var c,l=t(11),u=t(43),h=t(71),d=t(64),f=t(67),m=t(22),p=t(19),g=t(18);a.prototype=new u,h.aug(a.prototype,{render:function(){return c=this,d.fulfill(l.body)}}),a.open=o,e.exports=a},{11:11,18:18,19:19,22:22,36:36,43:43,64:64,67:67,71:71}],47:[function(t,e,n){function i(){s=r.VALID_COLOR.test(d.val("widgets:link-color"))&&RegExp.$1,c=r.VALID_COLOR.test(d.val("widgets:border-color"))&&RegExp.$1,a=d.val("widgets:theme")}function r(t){if(t){var e,n=this;this.readyPromise=new A(function(t){n.readyResolver=t}),this.renderedPromise=new A(function(t){n.renderResolver=t}),u.apply(this,[t]),e=this.params(),this.targetEl=this.srcEl&&this.srcEl.parentNode||e.targetEl||l.body,this.predefinedWidth=r.VALID_UNIT.test(e.width||this.attr("width"))&&RegExp.$1,this.layout(function(){return n.containerWidth=y.effectiveWidth(n.targetEl)}).then(function(t){var i=n.predefinedWidth||t||n.dimensions.DEFAULT_WIDTH;n.height=r.VALID_UNIT.test(e.height||n.attr("height"))&&RegExp.$1,n.width=Math.max(n.dimensions.MIN_WIDTH,Math.min(i,n.dimensions.DEFAULT_WIDTH))}),this.linkColor=r.VALID_COLOR.test(e.linkColor||this.dataAttr("link-color"))?RegExp.$1:s,this.borderColor=r.VALID_COLOR.test(e.borderColor||this.dataAttr("border-color"))?RegExp.$1:c,this.theme=e.theme||this.attr("data-theme")||a,this.theme=/(dark|light)/.test(this.theme)?this.theme:"",this.classAttr.push(T.touch()?"is-touch":"not-touch"),T.ie9()&&this.classAttr.push("ie9"),this.sandboxCreated=b.createSandbox({"class":this.renderedClassNames,id:this.id,allowfullscreen:""},{position:"absolute",visibility:"hidden"
},function(t){n.modifyFrame&&(t=n.modifyFrame(t)),n.srcEl?n.targetEl.insertBefore(t,n.srcEl):n.targetEl.appendChild(t)},this.layout).then(function(t){n.setupSandbox(t),new p(t.element().contentWindow)}),this.rendered().then(function(t){n.applyVisibleSandboxStyles(t)})}}function o(t,e){return t+e}var s,a,c,l=t(11),u=t(43),h=t(46),d=t(17),f=t(41),m=t(33),p=t(75),g=t(5),w=t(7),v=t(6),y=t(9),b=t(29),_=t(51),T=t(57),A=t(64),E=t(67),x=t(68),I=t(71),S=[".customisable",".customisable:link",".customisable:visited"],N=[".customisable:hover",".customisable:focus",".customisable:active",".customisable-highlight:hover",".customisable-highlight:focus","a:hover .customisable-highlight","a:focus .customisable-highlight"],D=["a:hover .ic-mask","a:focus .ic-mask"],R=[".customisable-border"],C=[".timeline-header h1.summary",".timeline-header h1.summary a:link",".timeline-header h1.summary a:visited"],P={TWEET:0,RETWEET:10};r.prototype=new u,I.aug(r.prototype,{styleSheetUrl:function(){throw new Error("must set styleSheetUrl")},onStyleSheetLoad:function(){},setupSandbox:function(t){var e,n,i=this;this.sandbox=t,e=this.styleSheetUrl(this.lang,this.theme),n=this.onStyleSheetLoad.bind(this),A.some(i.applyInitialSandboxStyles(t),t.appendCss(".SandboxRoot { display:none }"),t.setBaseTarget("_blank"),t.appendStyleSheet(e,n)).then(function(){i.readyResolver.fulfill(t)})},ready:function(){return this.readyPromise},rendered:function(){return this.renderedPromise},contentWidth:function(t){var e=this.dimensions,n=this.borderless?0:e.BORDERS,i=this.fullBleedPhoto?0:this.chromeless&&this.narrow?e.NARROW_MEDIA_PADDING_CL:this.chromeless?e.WIDE_MEDIA_PADDING_CL:this.narrow?e.NARROW_MEDIA_PADDING:e.WIDE_MEDIA_PADDING;return(t||this.width)-(i+n)},applyInitialSandboxStyles:function(t){var e=this;return t.style({border:"none",maxWidth:"100%",minWidth:e.dimensions.MIN_WIDTH+"px",margin:e.dimensions.MARGIN,padding:"0",display:"block",position:"absolute",visibility:"hidden"},!0)},applyVisibleSandboxStyles:function(t){return t.style({position:"static",visibility:"visible"})},addSiteStyles:function(){function t(t){return("dark"==e.theme?".thm-dark ":"")+t}var e=this,n=[];return this.headingStyle&&n.push(C.map(t).join(",")+"{"+this.headingStyle+"}"),this.linkColor&&(n.push(S.map(t).join(",")+"{color:"+this.linkColor+"}"),n.push(D.map(t).join(",")+"{background-color:"+this.linkColor+"}"),n.push(N.map(t).join(",")+"{color:"+_.lighten(this.linkColor,.2)+"}")),this.borderColor&&n.push(R.map(t).concat("dark"==this.theme?[".thm-dark.customisable-border"]:[]).join(",")+"{border-color:"+this.borderColor+"}"),n.length?this.sandbox.appendCss(n.join("")):void 0},setNarrow:function(){var t=this,e=this.narrow;return this.narrow=this.width<this.dimensions.NARROW_WIDTH,e!=this.narrow?this.layout(function(){return g.toggle(t.element,"var-narrow",t.narrow)}):A.fulfill(this.narrow)},createScribeData:function(t){var e=I.aug({},this.baseScribeData(),{item_ids:[],item_details:this.extractTweetScribeDetails(t)});return I.forIn(e.item_details,function(t){e.item_ids.push(t)}),e},bindUIHandlers:function(){var t=this.element;v.delegate(t,"click",".MediaCard-dismissNsfw",function(){var e=w.closest(".MediaCard",this,t);g.remove(e,"MediaCard--nsfw")})},bindIntentHandlers:function(){function t(t){var i=w.closest(".tweet",this,n),r=e.createScribeData(i);m.interaction(t,r,!0)}var e=this,n=this.element;v.delegate(n,"click","A",t),v.delegate(n,"click","BUTTON",t),v.delegate(n,"click",".profile",function(){e.addUrlParams(this)}),v.delegate(n,"click",".follow-button",function(t){var n;t.altKey||t.metaKey||t.shiftKey||T.ios()||T.android()||x.asBoolean(this.getAttribute("data-age-gate"))||(n=E.intentForFollowURL(this.href,!0),n&&(h.open(n,e.sandbox.element()),v.preventDefault(t)))}),v.delegate(n,"click",".web-intent",function(t){e.addUrlParams(this),t.altKey||t.metaKey||t.shiftKey||(h.open(this.href,e.sandbox.element()),v.preventDefault(t))})},baseScribeData:function(){return{}},extractTweetScribeDetails:function(t){var e,n,i={};return t?(e=t.getAttribute("data-tweet-id"),n=t.getAttribute("data-rendered-tweet-id")||e,n==e?i[n]={item_type:P.TWEET}:e&&(i[n]={item_type:P.RETWEET,target_type:P.TWEET,target_id:e}),i):i},constrainMedia:function(t,e){return f.constrainMedia(t||this.element,e||this.contentWidth(),this.dimensions.maxHeight,this.layout)},collapseRegions:function(){var t=this;I.toRealArray(this.element.querySelectorAll(".collapsible-container")).forEach(function(e){var n,i,r=I.toRealArray(e.children),s=r.length&&e.offsetWidth,a=r.length&&r.map(function(t){return t.offsetWidth}),c=r.length;if(r.length)for(;c>0;){if(c--,n=a.reduce(o,0),!s||!n)return;if(s>n)return;i=r[c].getAttribute("data-collapsed-class"),i&&(g.add(t.element,i),a[c]=r[c].offsetWidth)}})}}),r.VALID_UNIT=/^([0-9]+)( ?px)?$/,r.VALID_COLOR=/^(#(?:[0-9a-f]{3}|[0-9a-f]{6}))$/i,i(),e.exports=r},{11:11,17:17,29:29,33:33,41:41,43:43,46:46,5:5,51:51,57:57,6:6,64:64,67:67,68:68,7:7,71:71,75:75,9:9}],48:[function(t,e,n){function i(t){if(t){var e,n,i,r,o,s,c,l;a.apply(this,[t]),e=this.params(),n=(e.chrome||this.dataAttr("chrome")||"").split(" "),this.preview=e.previewParams,this.widgetId=e.widgetId||this.dataAttr("widget-id"),this.instanceId=++z,this.cursors={maxPosition:0,minPosition:0},this.override=(r=e.screenName||this.dataAttr("screen-name"))||(o=e.userId||this.dataAttr("user-id"))?{overrideType:"user",overrideId:o,overrideName:r,withReplies:v.asBoolean(e.showReplies||this.dataAttr("show-replies"))?"true":"false"}:(r=e.favoritesScreenName||this.dataAttr("favorites-screen-name"))||(o=e.favoritesUserId||this.dataAttr("favorites-user-id"))?{overrideType:"favorites",overrideId:o,overrideName:r}:((r=e.listOwnerScreenName||this.dataAttr("list-owner-screen-name"))||(o=e.listOwnerId||this.dataAttr("list-owner-id")))&&((s=e.listId||this.dataAttr("list-id"))||(c=e.listSlug||this.dataAttr("list-slug")))?{overrideType:"list",overrideOwnerId:o,overrideOwnerName:r,overrideId:s,overrideName:c}:(l=e.customTimelineId||this.dataAttr("custom-timeline-id"))?{overrideType:"custom",overrideId:l}:{},this.tweetLimit=v.asInt(e.tweetLimit||this.dataAttr("tweet-limit")),this.staticTimeline=this.tweetLimit>0,n.length&&(i=y.contains(n,"none"),this.chromeless=i||y.contains(n,"transparent"),this.headerless=i||y.contains(n,"noheader"),this.footerless=i||y.contains(n,"nofooter"),this.borderless=i||y.contains(n,"noborders"),this.noscrollbar=y.contains(n,"noscrollbar")),this.headingStyle=g.sanitize(e.headingStyle||this.dataAttr("heading-style"),void 0,!0),this.classAttr.push("twitter-timeline-rendered"),this.ariaPolite=e.ariaPolite||this.dataAttr("aria-polite")}}var r=t(14),o=t(3),s=t(43),a=t(47),c=t(53),l=t(2),u=t(23),h=t(39),d=t(41),f=t(31),m=t(32),p=t(42),g=t(52),w=t(57),v=t(68),y=t(71),b=t(6),_=t(5),T=t(7),A=t(56),E=t(54),x=t(19),I=t(18),S={CLIENT_SIDE_USER:0,CLIENT_SIDE_APP:2},N=".timeline",D=".new-tweets-bar",R=".timeline-header",C=".timeline-footer",P=".stream",k=".h-feed",L=".tweet",M=".detail-expander",O=".expand",F=".permalink",j=".no-more-pane",W="expanded",H="pending-scroll-in",U="pending-new-tweet-display",q="pending-new-tweet",z=0;i.prototype=new a,y.aug(i.prototype,{renderedClassNames:"twitter-timeline twitter-timeline-rendered",dimensions:{DEFAULT_HEIGHT:"600",DEFAULT_WIDTH:"520",NARROW_WIDTH:"320",maxHeight:"375",MIN_WIDTH:"180",MIN_HEIGHT:"200",MARGIN:"0",WIDE_MEDIA_PADDING:81,NARROW_MEDIA_PADDING:16,WIDE_MEDIA_PADDING_CL:60,NARROW_MEDIA_PADDING_CL:12,BORDERS:2},styleSheetUrl:o.timeline,create:function(t){var e,n,i,r,o=this,s=this.sandbox.createElement("div"),a=[];return s.innerHTML=t.body,(e=s.children[0]||!1)?(this.reconfigure(t.config),this.discardStaticOverflow(e),this.sandbox.setTitle(e.getAttribute("data-iframe-title")||"Timeline"),d.retinize(e),this.constrainMedia(e),this.searchQuery=e.getAttribute("data-search-query"),this.profileId=e.getAttribute("data-profile-id"),this.timelineType=e.getAttribute("data-timeline-type"),r=this.getTweetDetails(s.querySelector(k)),y.forIn(r,function(t){a.push(t)}),i=this.baseScribeData(),i.item_ids=a,i.item_details=r,this.timelineType&&m.clientEvent({page:this.timelineType+"_timeline",component:"timeline",element:"initial",action:a.length?"results":"no_results"},i,!0),m.clientEvent({page:"timeline",component:"timeline",element:"initial",action:a.length?"results":"no_results"},i,!0),f.scribeTimelineAudienceImpression(),m.flush(),"assertive"==this.ariaPolite&&(n=e.querySelector(D),n.setAttribute("aria-polite","assertive")),e.id=this.id,e.className+=" "+this.classAttr.join(" "),e.lang=this.lang,this.ready().then(function(t){t.appendChild(e).then(function(){o.renderResolver.fulfill(o.sandbox)}),t.style({display:"inline-block"}),o.layout(function(){o.srcEl&&o.srcEl.parentNode&&o.srcEl.parentNode.removeChild(o.srcEl),o.predefinedWidth=o.width,o.predefinedHeight=o.height,o.width=t.width(o.width),o.height=t.height(o.height)}).then(function(){o.setNarrow(),o.sandbox.onresize(o.handleResize.bind(o)),o.completeResolver.fulfill(o.sandbox.element())})}),e):void 0},render:function(){var t=this;return this.preview||this.widgetId?(this.rendered().then(this.staticTimeline?function(t){t.resizeToContent(),s.doLayoutAsync()}:function(){t.recalculateStreamHeight(),s.doLayoutAsync()}),this.preview?this.getPreviewTimeline():this.getTimeline(),this.completed().then(this.scribePerformance.bind(this)),this.completed()):(this.completeResolver.reject(400),this.completed())},scribePerformance:function(){u.endAndTrack("render","widgets-js-load","timeline",this.baseScribeData())},getPreviewTimeline:function(){var t=this;h.timelinePreview({success:function(e){t.ready().then(function(){t.element=t.create(e),t.readTranslations(),t.bindInteractions(),t.updateCursors(e.headers,{initial:!0}),s.doLayoutAsync()})},error:function(e){return e&&e.headers?void t.completeResolver.reject(e.headers.status):void t.completeResolver.fulfill(t.srcEl)},params:this.preview})},getTimeline:function(){var t=this;m.init(),h.timeline(y.aug({id:this.widgetId,instanceId:this.instanceId,dnt:A.enabled(),lang:this.lang,success:function(e){t.ready().then(function(){t.element=t.create(e),t.readTranslations(),t.bindInteractions(),t.updateTimeStamps(),t.updateCursors(e.headers,{initial:!0}),e.headers.xPolling&&/\d/.test(e.headers.xPolling)&&(t.pollInterval=1e3*e.headers.xPolling),t.staticTimeline||t.schedulePolling(),s.doLayoutAsync()})},error:function(e){return e&&e.headers?void t.completeResolver.reject(e.headers.status):void t.completeResolver.fulfill(t.srcEl)}},this.override))},reconfigure:function(t){this.lang=t.lang,this.theme||(this.theme=t.theme),"dark"==this.theme&&this.classAttr.push("thm-dark"),this.chromeless&&this.classAttr.push("var-chromeless"),this.borderless&&this.classAttr.push("var-borderless"),this.headerless&&this.classAttr.push("var-headerless"),this.footerless&&this.classAttr.push("var-footerless"),this.staticTimeline&&this.classAttr.push("var-static"),!this.linkColor&&t.linkColor&&a.VALID_COLOR.test(t.linkColor)&&(this.linkColor=RegExp.$1),!this.height&&a.VALID_UNIT.test(t.height)&&(this.height=RegExp.$1),this.height=Math.max(this.dimensions.MIN_HEIGHT,this.height?this.height:this.dimensions.DEFAULT_HEIGHT),this.preview&&this.classAttr.push("var-preview"),this.narrow=this.width<=this.dimensions.NARROW_WIDTH,this.narrow&&this.classAttr.push("var-narrow"),this.addSiteStyles()},getTweetDetails:function(t){var e,n=this,i={};return e=t&&t.children||[],y.toRealArray(e).forEach(function(t){y.aug(i,n.extractTweetScribeDetails(t))}),i},baseScribeData:function(){return{widget_id:this.widgetId,widget_origin:E.rootDocumentLocation(),widget_frame:E.isFramed()&&E.currentDocumentLocation(),message:this.partner,query:this.searchQuery,profile_id:this.profileId}},bindInteractions:function(){var t=this,e=this.element,n=!0;this.bindIntentHandlers(),this.bindUIHandlers(),b.delegate(e,"click",".load-tweets",function(e){n&&(n=!1,t.forceLoad(),b.stop(e))}),b.delegate(e,"click",".display-sensitive-image",function(n){t.showNSFW(T.closest(L,this,e)),b.stop(n)}),b.delegate(e,"mouseover",N,function(){t.mouseOver=!0}),b.delegate(e,"mouseout",N,function(){t.mouseOver=!1}),b.delegate(e,"mouseover",D,function(){t.mouseOverNotifier=!0}),b.delegate(e,"mouseout",D,function(){t.mouseOverNotifier=!1,r.setTimeout(function(){t.hideNewTweetNotifier()},3e3)}),this.staticTimeline||(b.delegate(e,"click",O,function(n){n.altKey||n.metaKey||n.shiftKey||(t.toggleExpando(T.closest(L,this,e)),b.stop(n))}),b.delegate(e,"click","A",function(t){b.stopPropagation(t)}),b.delegate(e,"click",".with-expansion",function(e){t.toggleExpando(this),b.stop(e)}),b.delegate(e,"click",".load-more",function(){t.loadMore()}),b.delegate(e,"click",D,function(){t.scrollToTop(),t.hideNewTweetNotifier(!0)}))},scrollToTop:function(){var t=this.element.querySelector(P);t.scrollTop=0,t.focus()},update:function(){var t=this,e=this.element.querySelector(k),n=e&&e.children[0],i=n&&n.getAttribute("data-tweet-id");this.updateTimeStamps(),this.requestTweets(i,!0,function(e){e.childNodes.length>0&&t.insertNewTweets(e)})},loadMore:function(){var t=this,e=y.toRealArray(this.element.querySelectorAll(L)).pop(),n=e&&e.getAttribute("data-tweet-id");this.requestTweets(n,!1,function(e){var i=t.element.querySelector(j),r=e.childNodes[0];return i.style.cssText="",r&&r.getAttribute("data-tweet-id")==n&&e.removeChild(r),e.childNodes.length>0?void t.appendTweets(e):(_.add(t.element,"no-more"),void i.focus())})},forceLoad:function(){var t=this,e=!!this.element.querySelectorAll(k).length;this.requestTweets(1,!0,function(n){n.childNodes.length&&(t[e?"insertNewTweets":"appendTweets"](n),_.add(t.element,"has-tweets"))})},schedulePolling:function(t){var e=this;null!==this.pollInterval&&(t=I.get("timeline.pollInterval")||t||this.pollInterval||1e4,t>-1&&r.setTimeout(function(){e.isUpdating||e.update(),e.schedulePolling()},t))},updateCursors:function(t,e){(e||{}).initial?(this.cursors.maxPosition=t.maxPosition,this.cursors.minPosition=t.minPosition):(e||{}).newer?this.cursors.maxPosition=t.maxPosition||this.cursors.maxPosition:this.cursors.minPosition=t.minPosition||this.cursors.minPosition},requestTweets:function(t,e,n){var i=this,r={id:this.widgetId,instanceId:this.instanceId,screenName:this.widgetScreenName,userId:this.widgetUserId,withReplies:this.widgetShowReplies,dnt:A.enabled(),lang:this.lang};e&&this.cursors.maxPosition?r.minPosition=this.cursors.maxPosition:!e&&this.cursors.minPosition?r.maxPosition=this.cursors.minPosition:e?r.sinceId=t:r.maxId=t,r.complete=function(){i.isUpdating=!1},r.error=function(t){if(t&&t.headers){if("404"==t.headers.status)return void(i.pollInterval=null);if("503"==t.headers.status)return void(i.pollInterval*=1.5)}},r.success=function(t){var r,o,s=i.sandbox.createDocumentFragment(),a=i.sandbox.createElement("ol"),c=[];if(i.updateCursors(t.headers,{newer:e}),t&&t.headers&&t.headers.xPolling&&/\d+/.test(t.headers.xPolling)&&(i.pollInterval=1e3*t.headers.xPolling),t&&void 0!==t.body){if(a.innerHTML=t.body,a.children[0]&&"LI"!=a.children[0].tagName)return;for(o=i.getTweetDetails(a),y.forIn(o,function(t){c.push(t)}),c.length&&(r=i.baseScribeData(),r.item_ids=c,r.item_details=o,r.event_initiator=e?S.CLIENT_SIDE_APP:S.CLIENT_SIDE_USER,i.timelineType&&m.clientEvent({page:i.timelineType+"_timeline",component:"timeline",element:"initial",action:c.length?"results":"no_results"},r,!0),m.clientEvent({page:"timeline",component:"timeline",element:e?"newer":"older",action:"results"},r,!0),m.flush()),d.retinize(a),i.constrainMedia(a);a.children[0];)s.appendChild(a.children[0]);n(s)}},h.timelinePoll(y.aug(r,this.override))},insertNewTweets:function(t){var e,n=this,i=this.element.querySelector(P),o=i.querySelector(k),s=o.offsetHeight;return o.insertBefore(t,o.firstChild),e=o.offsetHeight-s,x.get("events").trigger("timelineUpdated",{target:this.sandbox.element(),region:"newer"}),i.scrollTop>40||this.mouseIsOver()?(i.scrollTop=i.scrollTop+e,this.updateTimeStamps(),void this.showNewTweetNotifier()):(_.remove(this.element,H),o.style.cssText="margin-top: -"+e+"px",r.setTimeout(function(){i.scrollTop=0,_.add(n.element,H),w.cssTransitions()?o.style.cssText="":l.animate(function(t){o.style.cssText=e>t?"margin-top: -"+(e-t)+"px":""},e,500,l.easeOut)},500),this.updateTimeStamps(),void("custom"!=this.timelineType&&this.gcTweets(50)))},appendTweets:function(t){var e=this.element.querySelector(k);e.appendChild(t),this.updateTimeStamps(),x.get("events").trigger("timelineUpdated",{target:this.sandbox.element(),region:"older"})},gcTweets:function(t){var e,n=this.element.querySelector(k),i=n.children.length;for(t=t||50;i>t&&(e=n.children[i-1]);i--)n.removeChild(e)},showNewTweetNotifier:function(){var t=this,e=this.element.querySelector(D),n=e.children[0];e.style.cssText="",e.removeChild(n),e.appendChild(n),_.add(this.element,U),r.setTimeout(function(){_.add(t.element,q)},10),this.newNoticeDisplayTime=+new Date,r.setTimeout(function(){t.hideNewTweetNotifier()},5e3)},hideNewTweetNotifier:function(t){var e=this;(t||!this.mouseOverNotifier)&&(_.remove(this.element,q),r.setTimeout(function(){_.remove(e.element,U)},500))},discardStaticOverflow:function(t){var e,n=t.querySelector(k);if(this.staticTimeline)for(this.height=0;e=n.children[this.tweetLimit];)n.removeChild(e)},hideStreamScrollBar:function(){var t,e=this.element.querySelector(P),n=this.element.querySelector(k);e.style.width="",t=this.element.offsetWidth-n.offsetWidth,t>0&&(e.style.width=this.element.offsetWidth+t+"px")},readTranslations:function(){var t=this.element,e="data-dt-";this.datetime=new c(y.compact({phrases:{now:t.getAttribute(e+"now"),s:t.getAttribute(e+"s"),m:t.getAttribute(e+"m"),h:t.getAttribute(e+"h"),second:t.getAttribute(e+"second"),seconds:t.getAttribute(e+"seconds"),minute:t.getAttribute(e+"minute"),minutes:t.getAttribute(e+"minutes"),hour:t.getAttribute(e+"hour"),hours:t.getAttribute(e+"hours")},months:t.getAttribute(e+"months").split("|"),formats:{abbr:t.getAttribute(e+"abbr"),shortdate:t.getAttribute(e+"short"),longdate:t.getAttribute(e+"long")}}))},updateTimeStamps:function(){for(var t,e,n,i,r=this.element.querySelectorAll(F),o=0;t=r[o];o++)n=t.getAttribute("data-datetime"),i=n&&this.datetime.timeAgo(n,this.i18n),e=t.getElementsByTagName("TIME")[0],i&&(e&&e.innerHTML?e.innerHTML=i:t.innerHTML=i)},mouseIsOver:function(){return this.mouseOver},addUrlParams:function(t){var e=this,n={tw_w:this.widgetId,related:this.related,partner:this.partner,query:this.searchQuery,profile_id:this.profileId,original_referer:E.rootDocumentLocation(),tw_p:"embeddedtimeline"};return this.addUrlParams=p(n,function(t){var n=T.closest(L,t,e.element);return n&&{tw_i:n.getAttribute("data-tweet-id")}}),this.addUrlParams(t)},showNSFW:function(t){var e,n,i,r,o,s,a=t.querySelector(".nsfw"),c=0;a&&(n=d.scaleDimensions(a.getAttribute("data-width"),a.getAttribute("data-height"),this.contentWidth(),a.getAttribute("data-height")),e=!!(r=a.getAttribute("data-player")),e?o=this.sandbox.createElement("iframe"):(o=this.sandbox.createElement("img"),r=a.getAttribute(w.retina()?"data-image-2x":"data-image"),o.alt=a.getAttribute("data-alt"),s=this.sandbox.createElement("a"),s.href=a.getAttribute("data-href"),s.appendChild(o)),o.title=a.getAttribute("data-title"),o.src=r,o.width=n.width,o.height=n.height,i=T.closest(M,a,t),c=n.height-a.offsetHeight,a.parentNode.replaceChild(e?o:s,a),i.style.cssText="height:"+(i.offsetHeight+c)+"px")},toggleExpando:function(t){var e,n,i=t.querySelector(M),r=i&&i.children[0],o=r&&r.getAttribute("data-expanded-media"),a=0,c=t.querySelector(O),l=c&&c.getElementsByTagName("B")[0],u=l&&(l.innerText||l.textContent);if(l){if(this.layout(function(){l.innerHTML=c.getAttribute("data-toggled-text"),c.setAttribute("data-toggled-text",u)}),_.present(t,W))return this.layout(function(){_.remove(t,W)}),i?(this.layout(function(){i.style.cssText="",r.innerHTML=""}),void s.doLayout()):void s.doLayout();o&&(e=this.sandbox.createElement("DIV"),e.innerHTML=o,d.retinize(e),a=this.constrainMedia(e),this.layout(function(){r.appendChild(e)})),i&&this.layout(function(){n=Math.max(r.offsetHeight,a),i.style.cssText="height:"+n+"px"}),this.layout(function(){_.add(t,W)}),s.doLayout()}},recalculateStreamHeight:function(t){var e=this,n=this.element.querySelector(R),i=this.element.querySelector(C),r=this.element.querySelector(P);this.layout(function(){var o=n.offsetHeight+(i?i.offsetHeight:0),s=t||e.sandbox.height();r.style.cssText="height:"+(s-o-2)+"px",e.noscrollbar&&e.hideStreamScrollBar()})},handleResize:function(t,e){var n=this,i=Math.min(this.dimensions.DEFAULT_WIDTH,Math.max(this.dimensions.MIN_WIDTH,Math.min(this.predefinedWidth||this.dimensions.DEFAULT_WIDTH,t)));(i!=this.width||e!=this.height)&&(this.width=i,this.height=e,this.setNarrow(),this.constrainMedia(this.element,this.contentWidth(i)),this.staticTimeline?this.layout(function(){n.height=n.element.offsetHeight,n.sandbox.height(n.height),x.get("events").trigger("resize",{target:n.sandbox.element()})}):(this.recalculateStreamHeight(e),x.get("events").trigger("resize",{target:this.sandbox.element()})),s.doLayoutAsync())}}),e.exports=i},{14:14,18:18,19:19,2:2,23:23,3:3,31:31,32:32,39:39,41:41,42:42,43:43,47:47,5:5,52:52,53:53,54:54,56:56,57:57,6:6,68:68,7:7,71:71}],49:[function(t,e,n){function i(t){s.apply(this,[t]);var e=this.params(),n=e.count||this.dataAttr("count"),i=e.size||this.dataAttr("size"),r=l.getScreenNameFromPage(),o=""+(e.shareWithRetweet||this.dataAttr("share-with-retweet")||a.val("share-with-retweet"));this.classAttr.push("twitter-tweet-button"),"hashtag"==e.type||c.contains(this.classAttr,"twitter-hashtag-button")?(this.type="hashtag",this.classAttr.push("twitter-hashtag-button")):"mention"==e.type||c.contains(this.classAttr,"twitter-mention-button")?(this.type="mention",this.classAttr.push("twitter-mention-button")):this.classAttr.push("twitter-share-button"),this.text=e.text||this.dataAttr("text"),this.text&&/\+/.test(this.text)&&!/ /.test(this.text)&&(this.text=this.text.replace(/\+/g," ")),this.counturl=e.counturl||this.dataAttr("counturl"),this.searchlink=e.searchlink||this.dataAttr("searchlink"),this.button_hashtag=u.hashTag(e.button_hashtag||e.hashtag||this.dataAttr("button-hashtag"),!1),this.size="large"==i?"l":"m",this.align=e.align||this.dataAttr("align")||"",this.via=e.via||this.dataAttr("via"),this.hashtags=e.hashtags||this.dataAttr("hashtags"),this.screen_name=u.screenName(e.screen_name||e.screenName||this.dataAttr("button-screen-name")),this.url=e.url||this.dataAttr("url"),this.type?(this.count="none",this.shareWithRetweet="never",r&&(this.related=this.related?r+","+this.related:r)):(this.text=this.text||f,this.url=this.url||l.getCanonicalURL()||m,this.count=c.contains(p,n)?n:"horizontal",this.count="vertical"==this.count&&"l"==this.size?"none":this.count,this.via=this.via||r,o&&c.contains(g,o)&&(this.shareWithRetweet=o.replace("-","_")))}var r=t(11),o=t(12),s=t(43),a=t(17),c=t(71),l=t(70),u=t(67),h=t(10),d=t(56),f=r.title,m=o.href,p=["vertical","horizontal","none"],g=["never","publisher-first","publisher-only","author-first","author-only"];i.prototype=new s,c.aug(i.prototype,{iframeSource:"widgets/tweet_button.20ed5cfd7315475c9d1d523194b1645f.{{lang}}.html",widgetUrlParams:function(){return c.compact({text:this.text,url:this.url,via:this.via,related:this.related,count:this.count,lang:this.lang,counturl:this.counturl,searchlink:this.searchlink,placeid:this.placeid,original_referer:o.href,id:this.id,size:this.size,type:this.type,screen_name:this.screen_name,share_with_retweet:this.shareWithRetweet,button_hashtag:this.button_hashtag,hashtags:this.hashtags,align:this.align,partner:this.partner,dnt:d.enabled(),_:+new Date})},height:function(){return"vertical"==this.count?62:"m"==this.size?20:28},width:function(){var t={ver:8,cnt:14,btn:24,xlcnt:18,xlbtn:38},e="vertical"==this.count,n="hashtag"==this.type&&this.button_hashtag?"Tweet %{hashtag}":"mention"==this.type&&this.screen_name?"Tweet to %{name}":"Tweet",i=this._(n,{name:"@"+this.screen_name,hashtag:"#"+this.button_hashtag}),r=this._("K"),o=this._("100K+"),s=(e?"8888":"88888")+r,a=0,l=0,u=0,d=0,f=this.styles.base,m=f;return c.contains(["ja","ko"],this.lang)?s+=this._("10k unit"):s=s.length>o.length?s:o,e?(m=f.concat(this.styles.vbubble),d=t.ver,u=t.btn):"l"==this.size?(f=m=f.concat(this.styles.large),u=t.xlbtn,d=t.xlcnt):(u=t.btn,d=t.cnt),"none"!=this.count&&(l=h(s,"",m).width+d),a=h(i,"",f.concat(this.styles.button)).width+u,e?a>l?a:l:this.calculatedWidth=a+l},render:function(){var t,e=this,n=this.makeIframeSource();return this.count&&this.classAttr.push("twitter-count-"+this.count),t=this.create(n,this.dimensions(),{title:this._("Twitter Tweet Button")}).then(function(t){return e.element=t})}}),e.exports=i},{10:10,11:11,12:12,17:17,43:43,56:56,67:67,70:70,71:71}],50:[function(t,e,n){function i(t,e,n,i){y[t]=y[t]||[],y[t].push({s:n,f:i,lang:e})}function r(t,e){var n={};n[t]={item_type:0},g.clientEvent({page:"video",component:"tweet",action:"results"},d.aug({},e,{item_ids:[t],item_details:n}),!0),p.scribeVideoAudienceImpression()}function o(t,e){var n={};n[t]={item_type:0},g.clientEvent({page:"video",component:"rawembedcode",action:"no_results"},{widget_origin:f.rootDocumentLocation(),widget_frame:f.isFramed()&&f.currentDocumentLocation(),message:e,item_ids:[t],item_details:n},!0),p.scribeVideoAudienceImpression()}function s(t){if(t){l.apply(this,[t]);var e=this.srcEl&&this.srcEl.getElementsByTagName("A"),n=e&&e[e.length-1],i=this.params();this.hideStatus="hidden"===(i.status||this.dataAttr("status")),this.tweetId=i.tweetId||n&&w.status(n.href)}}var a=t(3),c=t(43),l=t(47),u=t(53),h=t(64),d=t(71),f=t(54),m=t(39),p=t(31),g=t(32),w=t(67),v=t(11),y={},b=[];s.prototype=new l,d.aug(s.prototype,{renderedClassNames:"twitter-video twitter-video-rendered",videoPlayer:!0,dimensions:{DEFAULT_HEIGHT:"0",DEFAULT_WIDTH:"0",maxHeight:"500",MIN_WIDTH:"320",MIN_HEIGHT:"180",MARGIN:"10px 0",WIDE_MEDIA_PADDING:0,NARROW_MEDIA_PADDING:0,BORDERS:0},styleSheetUrl:a.video,applyVisibleSandboxStyles:function(t){return t.style({visibility:"visible"})},applyInitialSandboxStyles:function(t){return t.style({position:"absolute",top:0,left:0,width:"100%",height:"100%",visiblity:"hidden"})},modifyFrame:function(t){return this.constrainingWrapper=v.createElement("div"),this.constrainingWrapper.style.minWidth=this.dimensions.MIN_WIDTH+"px",this.constrainingWrapper.style.margin=this.dimensions.MARGIN,this.wrapper=v.createElement("div"),this.wrapper.style.position="relative",this.wrapper.style.height=0,this.constrainingWrapper.appendChild(this.wrapper),this.wrapper.appendChild(t),this.constrainingWrapper},create:function(t){var e,n,i=this,o=this.sandbox.createElement("div");if(o.innerHTML=t,e=o.children[0]){n=e.children[0],this.playerConfig=JSON.parse(e.getAttribute("data-player-config")),this.sandbox.setTitle(e.getAttribute("data-iframe-title")||"Video"),this.sandbox.appendChild(e).then(function(){i.renderResolver.fulfill(i.sandbox),i.completeResolver.fulfill(i.sandbox.element())});var s=n.getAttribute("data-width"),a=n.getAttribute("data-height"),c=s/a,l=1/c*100+"%";return this.layout(function(){i.wrapper.style.paddingBottom=l,i.constrainingWrapper.style.maxWidth=parseInt(i.dimensions.maxHeight,10)*c+"px"}),r(this.tweetId,this.baseScribeData()),e}},render:function(){var t=this;return this.tweetId?(this.rendered().then(function(){var e=t.srcEl;e&&e.parentNode&&t.layout(function(){e.parentNode.removeChild(e)})}),i(this.tweetId,this.lang,function(e){t.ready().then(function(){t.element=t.create(e),t.readTimestampTranslations(),t.writePlayerConfig()})},function(){o(t.tweetId,t.partner),t.completeResolver.fulfill(t.srcEl)}),b.push(this.completed()),this.completed()):(this.completeResolver.fulfill(this.srcEl),this.completed())},baseScribeData:function(){return{widget_origin:f.rootDocumentLocation(),widget_frame:f.isFramed()&&f.currentDocumentLocation(),message:this.partner}},readTimestampTranslations:function(){var t=this.element,e="data-dt-",n=t.getAttribute(e+"months")||"";this.datetime=new u(d.compact({phrases:{AM:t.getAttribute(e+"am"),PM:t.getAttribute(e+"pm")},months:n.split("|"),formats:{full:t.getAttribute(e+"full")}}))},getTimestamp:function(){var t=this.element.getAttribute("data-datetime"),e=t&&this.datetime.localTimeStamp(t);return{local:e}},writePlayerConfig:function(){this.playerConfig.statusTimestamp=this.getTimestamp(),this.playerConfig.hideStatus=this.hideStatus,this.element.setAttribute("data-player-config",JSON.stringify(this.playerConfig))}}),s.fetchAndRender=function(){var t=y,e=[];y={};for(var n in t)t.hasOwnProperty(n)&&e.push(n);e.length&&(m.videos({ids:e.sort(),lang:t[e[0]][0].lang,complete:function(e){d.forIn(e,function(e,n){var i=t[e];i.forEach(function(t){t.s&&t.s.call(this,n)}),delete t[e]}),d.forIn(t,function(t,e){e.forEach(function(e){e.f&&e.f.call(this,t)})})}}),h.every.apply(null,b),b=[])},c.afterLoad(s.fetchAndRender),e.exports=s},{11:11,3:3,31:31,32:32,39:39,43:43,47:47,53:53,54:54,64:64,67:67,71:71}],51:[function(t,e,n){function i(t){return c.parseInt(t,16)}function r(t){return l.isType("string",t)?(t=t.replace(u,""),t+=3===t.length?t:""):null}function o(t,e){var n,o,s,a;return t=r(t),e=e||0,t?(n=0>e?0:255,e=0>e?-Math.max(e,-1):Math.min(e,1),o=i(t.substring(0,2)),s=i(t.substring(2,4)),a=i(t.substring(4,6)),"#"+(16777216+65536*(Math.round((n-o)*e)+o)+256*(Math.round((n-s)*e)+s)+(Math.round((n-a)*e)+a)).toString(16).slice(1)):void 0}function s(t,e){return o(t,-e)}function a(t,e){return o(t,e)}var c=t(14),l=t(71),u=/^#/;e.exports={darken:s,lighten:a}},{14:14,71:71}],52:[function(t,e,n){e.exports={sanitize:function(t,e,n){var i,r=/^[\w ,%\/"'\-_#]+$/,o=t&&t.split(";").map(function(t){return t.split(":").slice(0,2).map(function(t){return t.trim()})}),s=0,a=[],c=n?"!important":"";for(e=e||/^(font|text\-|letter\-|color|line\-)[\w\-]*$/;o&&(i=o[s]);s++)i[0].match(e)&&i[1].match(r)&&a.push(i.join(":")+c);return a.join(";")}}},{}],53:[function(t,e,n){function i(t){return 10>t?"0"+t:t}function r(t){function e(t,e){return n&&n[t]&&(t=n[t]),t.replace(/%\{([\w_]+)\}/g,function(t,n){return void 0!==e[n]?e[n]:t})}var n=t&&t.phrases,o=t&&t.months||c,s=t&&t.formats||l;this.timeAgo=function(t){var n,i=r.parseDate(t),a=+new Date,c=a-i;return i?isNaN(c)||2*u>c?e("now"):h>c?(n=Math.floor(c/u),e(s.abbr,{number:n,symbol:e(m,{abbr:e("s"),expanded:e(n>1?"seconds":"second")})})):d>c?(n=Math.floor(c/h),e(s.abbr,{number:n,symbol:e(m,{abbr:e("m"),expanded:e(n>1?"minutes":"minute")})})):f>c?(n=Math.floor(c/d),e(s.abbr,{number:n,symbol:e(m,{abbr:e("h"),expanded:e(n>1?"hours":"hour")})})):365*f>c?e(s.shortdate,{day:i.getDate(),month:e(o[i.getMonth()])}):e(s.longdate,{day:i.getDate(),month:e(o[i.getMonth()]),year:i.getFullYear().toString().slice(2)}):""},this.localTimeStamp=function(t){var n=r.parseDate(t),a=n&&n.getHours();return n?e(s.full,{day:n.getDate(),month:e(o[n.getMonth()]),year:n.getFullYear(),hours24:i(a),hours12:13>a?a?a:"12":a-12,minutes:i(n.getMinutes()),seconds:i(n.getSeconds()),amPm:e(12>a?"AM":"PM")}):""}}var o=/(\d{4})-?(\d{2})-?(\d{2})T(\d{2}):?(\d{2}):?(\d{2})(Z|[\+\-]\d{2}:?\d{2})/,s=/[a-z]{3,4} ([a-z]{3}) (\d{1,2}) (\d{1,2}):(\d{2}):(\d{2}) ([\+\-]\d{2}:?\d{2}) (\d{4})/i,a=/^\d+$/,c=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],l={abbr:"%{number}%{symbol}",shortdate:"%{day} %{month}",longdate:"%{day} %{month} %{year}",full:"%{hours12}:%{minutes} %{amPm} - %{day} %{month} %{year}"},u=1e3,h=60*u,d=60*h,f=24*d,m='<abbr title="%{expanded}">%{abbr}</abbr>';r.parseDate=function(t){var e,n,i=t||"",r=i.toString();return(e=function(){var t;return a.test(r)?parseInt(r,10):(t=r.match(s))?Date.UTC(t[7],c.indexOf(t[1]),t[2],t[3],t[4],t[5]):(t=r.match(o))?Date.UTC(t[1],t[2]-1,t[3],t[4],t[5],t[6]):void 0}())?(n=new Date(e),!isNaN(n.getTime())&&n):!1},e.exports=r},{}],54:[function(t,e,n){function i(t){return t&&c.isType("string",t)&&(l=t),l}function r(){return u}function o(){return l!==u}var s=t(12),a=t(70),c=t(71),l=a.getCanonicalURL()||s.href,u=l;e.exports={isFramed:o,rootDocumentLocation:i,currentDocumentLocation:r
}},{12:12,70:70,71:71}],55:[function(t,e,n){function i(){l=1;for(var t=0,e=u.length;e>t;t++)u[t]()}var r,o,s,a=t(11),c=t(14),l=0,u=[],h=!1,d=a.createElement("a");/^loade|c/.test(a.readyState)&&(l=1),a.addEventListener&&a.addEventListener("DOMContentLoaded",o=function(){a.removeEventListener("DOMContentLoaded",o,h),i()},h),d.doScroll&&a.attachEvent("onreadystatechange",r=function(){/^c/.test(a.readyState)&&(a.detachEvent("onreadystatechange",r),i())}),s=d.doScroll?function(t){c.self!=c.top?l?t():u.push(t):!function(){try{d.doScroll("left")}catch(e){return setTimeout(function(){s(t)},50)}t()}()}:function(t){l?t():u.push(t)},e.exports=s},{11:11,14:14}],56:[function(t,e,n){function i(){d=!0}function r(t,e){return d?!0:u.asBoolean(h.val("dnt"))?!0:!a||1!=a.doNotTrack&&1!=a.msDoNotTrack?l.isUrlSensitive(e||s.host)?!0:c.isFramed()&&l.isUrlSensitive(c.rootDocumentLocation())?!0:(t=f.test(t||o.referrer)&&RegExp.$1,t&&l.isUrlSensitive(t)?!0:!1):!0}var o=t(11),s=t(12),a=t(13),c=t(54),l=t(66),u=t(68),h=t(17),d=!1,f=/https?:\/\/([^\/]+).*/i;e.exports={setOn:i,enabled:r}},{11:11,12:12,13:13,17:17,54:54,66:66,68:68}],57:[function(t,e,n){function i(t){return t=t||g,t.devicePixelRatio?t.devicePixelRatio>=1.5:t.matchMedia?t.matchMedia("only screen and (min-resolution: 144dpi)").matches:!1}function r(t){return t=t||A,/(Trident|MSIE \d)/.test(t)}function o(t){return t=t||A,/MSIE 9/.test(t)}function s(t){return t=t||A,/(iPad|iPhone|iPod)/.test(t)}function a(t){return t=t||A,/^Mozilla\/5\.0 \(Linux; (U; )?Android/.test(t)}function c(){return E}function l(t,e){return t=t||g,e=e||A,t.postMessage&&!(r(e)&&t.opener)}function u(t){t=t||p;try{return!!t.plugins["Shockwave Flash"]||!!new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){return!1}}function h(t,e,n){return t=t||g,e=e||p,n=n||A,"ontouchstart"in t||/Opera Mini/.test(n)||e.msMaxTouchPoints>0}function d(){var t=m.body.style;return void 0!==t.transition||void 0!==t.webkitTransition||void 0!==t.mozTransition||void 0!==t.oTransition||void 0!==t.msTransition}function f(){return!!(g.Promise&&g.Promise.resolve&&g.Promise.reject&&g.Promise.all&&g.Promise.race&&function(){var t;return new g.Promise(function(e){t=e}),b.isType("function",t)}())}var m=t(11),p=t(13),g=t(14),w=t(55),v=t(61),y=t(68),b=t(71),_=t(17),T=t(18),A=p.userAgent,E=!1,x=!1,I="twitter-csp-test";T.set("verifyCSP",function(t){var e=m.getElementById(I);x=!0,E=!!t,e&&e.parentNode.removeChild(e)}),w(function(){var t;return y.asBoolean(_.val("widgets:csp"))?E=!0:(t=m.createElement("script"),t.id=I,t.text=T.fullPath("verifyCSP")+"(false);",m.body.appendChild(t),void g.setTimeout(function(){x||(v.warn('TWITTER: Content Security Policy restrictions may be applied to your site. Add <meta name="twitter:widgets:csp" content="on"> to supress this warning.'),v.warn("TWITTER: Please note: Not all embedded timeline and embedded Tweet functionality is supported when CSP is applied."))},5e3))}),e.exports={retina:i,anyIE:r,ie9:o,ios:s,android:a,cspEnabled:c,flashEnabled:u,canPostMessage:l,touch:h,cssTransitions:d,hasPromiseSupport:f}},{11:11,13:13,14:14,17:17,18:18,55:55,61:61,68:68,71:71}],58:[function(t,e,n){var i=t(71),r={bind:function(t,e){return this._handlers=this._handlers||{},this._handlers[t]=this._handlers[t]||[],this._handlers[t].push(e)},unbind:function(t,e){if(this._handlers[t])if(e){var n=this._handlers[t].indexOf(e);n>=0&&this._handlers[t].splice(n,1)}else this._handlers[t]=[]},trigger:function(t,e){var n=this._handlers&&this._handlers[t];e=e||{},e.type=t,n&&n.forEach(function(t){i.async(t.bind(this,e))})}};e.exports={Emitter:r}},{71:71}],59:[function(t,e,n){var i=t(11),r=t(71);e.exports=function(t,e,n){var o;if(n=n||i,t=t||{},e=e||{},t.name){try{o=n.createElement('<iframe name="'+t.name+'"></iframe>')}catch(s){o=n.createElement("iframe"),o.name=t.name}delete t.name}else o=n.createElement("iframe");return t.id&&(o.id=t.id,delete t.id),o.allowtransparency="true",o.scrolling="no",o.setAttribute("frameBorder",0),o.setAttribute("allowTransparency",!0),r.forIn(t,function(t,e){o.setAttribute(t,e)}),r.forIn(e,function(t,e){o.style[t]=e}),o}},{11:11,71:71}],60:[function(t,e,n){function i(){}var r,o=t(14),s=t(64),a=[];i.prototype.enqueue=function(t,e){return new s(function(n){a.push({action:t,resolver:n,note:e})})},i.prototype.exec=function(){var t,e=a;if(e.length)for(a=[];e.length;)t=e.shift(),t&&t.action?t.resolver.fulfill(t.action()):t.resolver.reject()},i.prototype.delayedExec=function(){r&&o.clearTimeout(r),r=o.setTimeout(this.exec,100)},e.exports=i},{14:14,64:64}],61:[function(t,e,n){function i(){l("info",d.toRealArray(arguments))}function r(){l("warn",d.toRealArray(arguments))}function o(){l("error",d.toRealArray(arguments))}function s(t){p&&(m[t]=c())}function a(t){var e;p&&(m[t]?(e=c(),i("_twitter",t,e-m[t])):o("timeEnd() called before time() for id: ",t))}function c(){return h.performance&&+h.performance.now()||+new Date}function l(t,e){if(h[f]&&h[f][t])switch(e.length){case 1:h[f][t](e[0]);break;case 2:h[f][t](e[0],e[1]);break;case 3:h[f][t](e[0],e[1],e[2]);break;case 4:h[f][t](e[0],e[1],e[2],e[3]);break;case 5:h[f][t](e[0],e[1],e[2],e[3],e[4]);break;default:0!==e.length&&h[f].warn&&h[f].warn("too many params passed to logger."+t)}}var u=t(12),h=t(14),d=t(71),f=["con","sole"].join(""),m={},p=d.contains(u.href,"tw_debug=true");e.exports={info:i,warn:r,error:o,time:s,timeEnd:a}},{12:12,14:14,71:71}],62:[function(t,e,n){function i(t){return function(e){return o.hasValue(e[t])}}function r(){this.assertions=[],this._defaults={}}var o=t(68),s=t(71);r.prototype.assert=function(t,e){return this.assertions.push({fn:t,msg:e||"assertion failed"}),this},r.prototype.defaults=function(t){return this._defaults=t||this._defaults,this},r.prototype.require=function(t){var e=this;return t=Array.isArray(t)?t:s.toRealArray(arguments),t.forEach(function(t){e.assert(i(t),"required: "+t)}),this},r.prototype.parse=function(t){var e,n;if(e=s.aug({},this._defaults,t||{}),n=this.assertions.reduce(function(t,n){return n.fn(e)||t.push(n.msg),t},[]),n.length>0)throw new Error(n.join("\n"));return e},e.exports=r},{68:68,71:71}],63:[function(t,e,n){var i,r,o,s=t(65);i=function(t){var e=t.search.substr(1);return s.decode(e)},r=function(t){var e=t.href,n=e.indexOf("#"),i=0>n?"":e.substring(n+1);return s.decode(i)},o=function(t){var e,n={},o=i(t),s=r(t);for(e in o)o.hasOwnProperty(e)&&(n[e]=o[e]);for(e in s)s.hasOwnProperty(e)&&(n[e]=s[e]);return n},e.exports={combined:o,fromQuery:i,fromFragment:r}},{65:65}],64:[function(t,e,n){function i(t){var e,n,i;return e=new c(function(t,e){n=t,i=e}),t&&t({fulfill:n,reject:i}),e}var r=t(1).Promise,o=t(14),s=t(57),a=t(71),c=s.hasPromiseSupport()?o.Promise:r;i.fulfill=function(t){return c.resolve(t)},i.reject=function(t){return c.reject(t)},i.every=function(){var t=a.toRealArray(arguments);return c.all(t)},i.some=function(){var t=a.toRealArray(arguments),e=0;return t.length?new c(function(n,i){function r(){e+=1,e===t.length&&i()}t.forEach(function(t){t.then(n,r)})}):c.reject("no promises passed to .some")},i.isThenable=function(t){try{var e=t.then;if("function"==typeof e)return!0}catch(n){}return!1},e.exports=i},{1:1,14:14,57:57,71:71}],65:[function(t,e,n){function i(t){return encodeURIComponent(t).replace(/\+/g,"%2B").replace(/'/g,"%27")}function r(t){return decodeURIComponent(t)}function o(t){var e=[];return u.forIn(t,function(t,n){var r=i(t);u.isType("array",n)||(n=[n]),n.forEach(function(t){l.hasValue(t)&&e.push(r+"="+i(t))})}),e.sort().join("&")}function s(t){var e,n={};return t?(e=t.split("&"),e.forEach(function(t){var e=t.split("="),i=r(e[0]),o=r(e[1]);return 2==e.length?u.isType("array",n[i])?void n[i].push(o):i in n?(n[i]=[n[i]],void n[i].push(o)):void(n[i]=o):void 0}),n):{}}function a(t,e){var n=o(e);return n.length>0?u.contains(t,"?")?t+"&"+o(e):t+"?"+o(e):t}function c(t){var e=t&&t.split("?");return 2==e.length?s(e[1]):{}}var l=t(68),u=t(71);e.exports={url:a,decodeURL:c,decode:s,encode:o,encodePart:i,decodePart:r}},{68:68,71:71}],66:[function(t,e,n){function i(t){return t in a?a[t]:a[t]=s.test(t)}function r(){return i(o.host)}var o=t(12),s=/^[^#?]*\.(gov|mil)(:\d+)?([#?].*)?$/i,a={};e.exports={isUrlSensitive:i,isHostPageSensitive:r}},{12:12}],67:[function(t,e,n){function i(t){return"string"==typeof t&&p.test(t)&&RegExp.$1.length<=20}function r(t){return i(t)?RegExp.$1:void 0}function o(t,e){var n=m.decodeURL(t);return e=e||!1,n.screen_name=r(t),n.screen_name?m.url("https://twitter.com/intent/"+(e?"follow":"user"),n):void 0}function s(t){return o(t,!0)}function a(t){return"string"==typeof t&&y.test(t)}function c(t,e){return e=void 0===e?!0:e,a(t)?(e?"#":"")+RegExp.$1:void 0}function l(t){return"string"==typeof t&&g.test(t)}function u(t){return l(t)&&RegExp.$1}function h(t){return w.test(t)}function d(t){return v.test(t)}function f(t){return b.test(t)}var m=t(65),p=/(?:^|(?:https?\:)?\/\/(?:www\.)?twitter\.com(?:\:\d+)?(?:\/intent\/(?:follow|user)\/?\?screen_name=|(?:\/#!)?\/))@?([\w]+)(?:\?|&|$)/i,g=/(?:^|(?:https?\:)?\/\/(?:www\.)?twitter\.com(?:\:\d+)?\/(?:#!\/)?[\w_]+\/status(?:es)?\/)(\d+)/i,w=/^http(s?):\/\/(\w+\.)*twitter\.com([\:\/]|$)/i,v=/^http(s?):\/\/pbs\.twimg\.com\//,y=/^#?([^.,<>!\s\/#\-\(\)\'\"]+)$/,b=/twitter\.com(\:\d{2,4})?\/intent\/(\w+)/;e.exports={isHashTag:a,hashTag:c,isScreenName:i,screenName:r,isStatus:l,status:u,intentForProfileURL:o,intentForFollowURL:s,isTwitterURL:h,isTwimgURL:d,isIntentURL:f,regexen:{profile:p}}},{65:65}],68:[function(t,e,n){function i(t){return void 0!==t&&null!==t&&""!==t}function r(t){return s(t)&&t%1===0}function o(t){return s(t)&&!r(t)}function s(t){return i(t)&&!isNaN(t)}function a(t){return i(t)&&"array"==d.toType(t)}function c(t){if(!i(t))return!1;switch(t){case"1":case"on":case"ON":case"true":case"TRUE":case"yes":case"YES":return!0;case"0":case"off":case"OFF":case"false":case"FALSE":case"no":case"NO":return!1;default:return!!t}}function l(t){return s(t)?t:void 0}function u(t){return o(t)?t:void 0}function h(t){return r(t)?t:void 0}var d=t(71);e.exports={hasValue:i,isInt:r,isFloat:o,isNumber:s,isArray:a,asInt:h,asFloat:u,asNumber:l,asBoolean:c}},{71:71}],69:[function(t,e,n){function i(){return String(+new Date)+Math.floor(1e5*Math.random())+r++}var r=0;e.exports={generate:i}},{}],70:[function(t,e,n){function i(t,e){var n,i;return e=e||a,/^https?:\/\//.test(t)?t:/^\/\//.test(t)?e.protocol+t:(n=e.host+(e.port.length?":"+e.port:""),0!==t.indexOf("/")&&(i=e.pathname.split("/"),i.pop(),i.push(t),t="/"+i.join("/")),[e.protocol,"//",n,t].join(""))}function r(){for(var t,e=s.getElementsByTagName("link"),n=0;t=e[n];n++)if("canonical"==t.rel)return i(t.href)}function o(){for(var t,e,n,i=s.getElementsByTagName("a"),r=s.getElementsByTagName("link"),o=[i,r],a=0,l=0,u=/\bme\b/;t=o[a];a++)for(l=0;e=t[l];l++)if(u.test(e.rel)&&(n=c.screenName(e.href)))return n}var s=t(11),a=t(12),c=t(67);e.exports={absolutize:i,getCanonicalURL:r,getScreenNameFromPage:o}},{11:11,12:12,67:67}],71:[function(t,e,n){function i(t){return h(arguments).slice(1).forEach(function(e){o(e,function(e,n){t[e]=n})}),t}function r(t){return o(t,function(e,n){c(n)&&(r(n),l(n)&&delete t[e]),(void 0===n||null===n||""===n)&&delete t[e]}),t}function o(t,e){for(var n in t)(!t.hasOwnProperty||t.hasOwnProperty(n))&&e(n,t[n]);return t}function s(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function a(t,e){return t==s(e)}function c(t){return t===Object(t)}function l(t){if(!c(t))return!1;if(Object.keys)return!Object.keys(t).length;for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function u(t,e){f.setTimeout(function(){t.call(e||null)},0)}function h(t){return Array.prototype.slice.call(t)}function d(t,e){return t&&t.indexOf?t.indexOf(e)>-1:!1}var f=t(14);e.exports={aug:i,async:u,compact:r,contains:d,forIn:o,isObject:c,isEmptyObject:l,toType:s,isType:a,toRealArray:h}},{14:14}],72:[function(t,e,n){function i(){if(o)return o;if(l.isDynamicWidget()){var t,e=0,n=c.parent.frames.length;try{if(o=c.parent.frames[d])return o}catch(i){}if(u.anyIE())for(;n>e;e++)try{if(t=c.parent.frames[e],t&&"function"==typeof t.openIntent)return o=t}catch(i){}}}function r(){var t,e,n,o,a,u,h={};if("function"===(typeof arguments[0]).toLowerCase()?h.success=arguments[0]:h=arguments[0],t=h.success||function(){},e=h.timeout||function(){},n=h.nohub||function(){},o=h.complete||function(){},a=void 0!==h.attempt?h.attempt:p,!l.isDynamicWidget()||s)return n(),o(),!1;u=i(),a--;try{if(u&&u.trigger)return t(u),void o()}catch(d){}return 0>=a?(s=!0,e(),void o()):+new Date-f>m*p?(s=!0,void n()):void c.setTimeout(function(){r({success:t,timeout:e,nohub:n,attempt:a,complete:o})},m)}var o,s,a=t(12),c=t(14),l=t(40),u=t(57),h="twttrHubFrameSecure",d="http:"==a.protocol?"twttrHubFrame":h,f=+new Date,m=100,p=20;e.exports={withHub:r,contextualHubId:d,secureHubId:h}},{12:12,14:14,40:40,57:57}],73:[function(t,e,n){e.exports={version:"43a3a1bd09f3b06042bd5cfbc1b9aded030c1032:1429120612890"}},{}],74:[function(t,e,n){e.exports={css:"ba226255ed1f71521d439fee78573484"}},{}],75:[function(t,e,n){function i(t,e){return t&&t.getAttribute?t.getAttribute("data-"+e):void 0}function r(t,e){return{element:t.element||g,action:t.action||w,page:o(e)?"video":void 0}}function o(t){return u.closest(".embedded-video",t)}function s(t){return JSON.parse(i(o(t),"player-config"))}function a(t,e){var n,r,s,a=o(e);return a?n=l.aug({item_type:m,card_type:p,id:i(a,"tweet-id"),card_name:i(a,"card-name"),publisher_id:i(a,"publisher-id"),content_id:i(a,"content-id")},t.itemData||{}):(r=u.closest(".cards-multimedia",e),s=u.closest(".tweet",e),n=l.aug({item_type:m,card_type:p,id:i(s,"tweet-id"),card_name:i(r,"card-name"),publisher_id:i(r,"publisher-id"),content_id:i(r,"video-content-id")},t.itemData||{})),{items:[n]}}function c(t){var e=this;this.global=t,this.server=(new h).attachReceiver(new f.Receiver(t,"")).bind("scribe",function(t){e.scribe(t,this)}).bind("requestPlayerConfig",function(){return e.requestPlayerConfig(this)})}var l=t(71),u=t(7),h=t(26),d=t(33),f=t(27),m=0,p=6,g="amplify_player",w="undefined";c.prototype.findIframeByWindow=function(t){for(var e=this.global.document.getElementsByTagName("iframe"),n=e.length,i=0;n>i;i++)if(e[i].contentWindow==t)return e[i]},c.prototype.requestPlayerConfig=function(t){var e=this.findIframeByWindow(t);if(e)return s(e)},c.prototype.scribe=function(t,e){var n,i,o,s;n=t&&t.customScribe,i=this.findIframeByWindow(e),n&&i&&(o=r(n,i),s=a(n,i),d.clientEvent2(o,s,!0))},e.exports=c},{26:26,27:27,33:33,7:7,71:71}],76:[function(t,e,n){!function(){var e=t(11),n=t(37),i=t(55),r=t(61),o=t(23),s=t(43),a=t(45),c=t(49),l=t(44),u=t(48),h=t(50),d=t(46),f=t(35),m=t(58),p=t(36),g=t(21),w=t(19),v=t(18),y=t(15),b=t(64);if(v.init("host","platform.twitter.com"),o.start("widgets-js-load"),n.requestArticleUrl(),v.get("widgets.loaded"))return w.call("widgets.load"),!1;if(v.get("widgets.init"))return!1;v.set("widgets.init",!0),w.set("init",!0);var _,T=new b(function(t){_=t.fulfill.bind(t)});y.exposeReadyPromise(T,w.base,"_e"),w.set("events",{bind:function(t,e){T.then(function(n){n.events.bind(t,e)})}}),i(function(){function t(){v.set("eventsHub",p.init()),p.init(!0)}var n,i={"a.twitter-share-button":c,"a.twitter-mention-button":c,"a.twitter-hashtag-button":c,"a.twitter-follow-button":a,"blockquote.twitter-tweet":l,"a.twitter-timeline":u,"div.twitter-timeline":u,"blockquote.twitter-video":h,body:d},o=v.get("eventsHub")?w.get("events"):{};w.aug("widgets",f,{load:function(t){r.time("load"),s.init(i),s.embed(t),v.set("widgets.loaded",!0)}}),w.aug("events",o,m.Emitter),n=w.get("events.bind"),w.set("events.bind",function(e,i){t(),this.bind=n,this.bind(e,i)}),_(w.base),g.attachTo(e),w.call("widgets.load")})}()},{11:11,15:15,18:18,19:19,21:21,23:23,35:35,36:36,37:37,43:43,44:44,45:45,46:46,48:48,49:49,50:50,55:55,58:58,61:61,64:64}],77:[function(t,e,n){function i(){}var r=t(71),o=t(58);r.aug(i.prototype,o.Emitter,{transportMethod:"",init:function(){},send:function(t){var e;this._ready?this._performSend(t):e=this.bind("ready",function(){this.unbind("ready",e),this._performSend(t)})},ready:function(){this.trigger("ready",this),this._ready=!0},isReady:function(){return!!this._ready},receive:function(t){this.trigger("message",t)}}),e.exports={Connection:i}},{58:58,71:71}],78:[function(t,e,n){function i(t,e){var n=e||Math.floor(100*Math.random()),i=['<object id="xdflashshim'+n+'" name="xdflashshim'+n+'"','type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"','width="1" height="1" style="position:absolute;left:-9999px;top:-9999px;">','<param name="movie" value="'+t+"&debug="+r.__XDDEBUG__+'">','<param name="wmode" value="window">','<param name="allowscriptaccess" value="always">',"</object>"].join(" ");return i}var r=t(14);e.exports={object:i}},{14:14}],79:[function(t,e,n){function i(t){return(JSON.parse||JSON.decode)(t)}function r(t){this.con=t}function o(){this.id=o.id++}var s=t(71),a=t(58);s.aug(r.prototype,{expose:function(t){this.con.bind("message",this._handleRequest(t))},call:function(t){var e,n=this;return this._requests||(this._requests={},this.con.bind("message",function(t){var e;try{t=i(t)}catch(r){return}t.callback&&"number"==typeof t.id&&(e=n._requests[t.id])&&(t.error?e.trigger("error",t):e.trigger("success",t),delete n._requests[t.id])})),e=new o,this._requests[e.id]=e,e.send(this.con,t,Array.prototype.slice.call(arguments,1))},_handleRequest:function(t){var e=this;return function(n){var r,o;try{n=i(n)}catch(s){return}n.callback||"number"==typeof n.id&&"function"==typeof t[n.method]&&(o=e._responseCallbacks(n.id),r=t[n.method].apply(t,n.params.concat(o)),"undefined"!=typeof r&&o[0](r))}},_responseCallbacks:function(t){var e=this.con;return[function(n){e.send(JSON.stringify({id:t,result:n,callback:!0}))},function n(i){e.send(JSON.stringify({id:t,error:n,callback:i}))}]}}),o.id=0,s.aug(o.prototype,a.Emitter,{send:function(t,e,n){return t.send(JSON.stringify({id:this.id,method:e,params:n})),this},success:function(t){return this.bind("success",t),this},error:function(t){return this.bind("error",t),this}}),e.exports=function(t){return new r(t)}},{58:58,71:71}],80:[function(t,e,n){function i(){}function r(t){this.transportMethod="PostMessage",this.options=t,this._createChild()}function o(t){this.transportMethod="Flash",this.options=t,this.token=Math.random().toString(16).substring(2),this._setup()}function s(t){this.transportMethod="Fallback",this.options=t,this._createChild()}var a,c=t(11),l=t(14),u=t(77),h=t(71),d=t(57),f=t(22),m="__ready__",p=0;i.prototype=new u.Connection,h.aug(i.prototype,{_createChild:function(){this.options.window?this._createWindow():this._createIframe()},_createIframe:function(){function t(){o.child=e.contentWindow,o._ready||o.init()}var e,n,i,r,o=this,s={allowTransparency:!0,frameBorder:"0",scrolling:"no",tabIndex:"0",name:this._name()},u=h.aug(h.aug({},s),this.options.iframe);l.postMessage?(a||(a=c.createElement("iframe")),e=a.cloneNode(!1)):e=c.createElement('<iframe name="'+u.name+'">'),e.id=u.name,h.forIn(u,function(t,n){"style"!=t&&e.setAttribute(t,n)}),r=e.getAttribute("style"),r&&"undefined"!=typeof r.cssText?r.cssText=u.style:e.style.cssText=u.style,e.addEventListener("load",t,!1),e.src=this._source(),(n=this.options.appendTo)?n.appendChild(e):(i=this.options.replace)?(n=i.parentNode,n&&n.replaceChild(e,i)):c.body.insertBefore(e,c.body.firstChild)},_createWindow:function(){var t=f.open(this._source()).popup;t&&t.focus(),this.child=t,this.init()},_source:function(){return this.options.src},_name:function(){var t="_xd_"+p++;return l.parent&&l.parent!=l&&l.name&&(t=l.name+t),t}}),r.prototype=new i,h.aug(r.prototype,{init:function(){function t(t){t.source===e.child&&(e._ready||t.data!==m?e.receive(t.data):e.ready())}var e=this;l.addEventListener("message",t,!1)},_performSend:function(t){this.child.postMessage(t,this.options.src)}}),o.prototype=new i,h.aug(o.prototype,{_setup:function(){var e=this,n=t(78);l["__xdcb"+e.token]={receive:function(t){e._ready||t!==m?e.receive(t):e.ready()},loaded:function(){}};var i=c.createElement("div");i.innerHTML=n.object("https://platform.twitter.com/xd/ft.swf?&token="+e.token+"&parent=true&callback=__xdcb"+e.token+"&xdomain="+e._host(),e.token),c.body.insertBefore(i,c.body.firstChild),e.proxy=i.firstChild,e._createChild()},init:function(){},_performSend:function(t){this.proxy.send(t)},_host:function(){return this.options.src.replace(/https?:\/\//,"").split(/(:|\/)/)[0]},_source:function(){return this.options.src+(this.options.src.match(/\?/)?"&":"?")+"xd_token="+l.escape(this.token)}}),s.prototype=new i,h.aug(s.prototype,{init:function(){},_performSend:function(){}}),e.exports={connect:function(t){return!d.canPostMessage()||d.anyIE()&&t.window?d.anyIE()&&d.flashEnabled()?new o(t):new s(t):new r(t)}}},{11:11,14:14,22:22,57:57,71:71,77:77,78:78}]},{},[76]))}();