File "twitter-widgets.min.js"
Full path: /home/kosmetik/public_html/wp-content/plugins/powerpack-elements/assets/js/min/twitter-widgets.min.js
File
size: 119.68 B
MIME-type: text/plain
Charset: utf-8
Download Open Edit Advanced Editor Back
Function&&Function.prototype&&Function.prototype.bind&&(/MSIE [678]/.test(navigator.userAgent)||(window.__twttr&&window.__twttr.widgets&&window.__twttr.widgets.loaded&&window.twttr.widgets.load&&window.twttr.widgets.load(),window.__twttr&&window.__twttr.widgets&&window.__twttr.widgets.init||function(s){function a(t){if(n[t])return n[t].exports;var e=n[t]={exports:{},id:t,loaded:!1};return s[t].call(e.exports,e,e.exports,a),e.loaded=!0,e.exports}var u=window.__twttrll;window.__twttrll=function(t,e){for(var n,r,i=0,o=[];i<t.length;i++)r=t[i],c[r]&&o.push.apply(o,c[r]),c[r]=0;for(n in e)s[n]=e[n];for(u&&u(t,e);o.length;)o.shift().call(null,null,a)};var n={},c={0:0};a.e=function(t,e){},a.e=function(e,t){if(0===c[e])return t.call(null,null,a);var n,r;void 0!==c[e]?c[e].push(t):(c[e]=[t],n=document.getElementsByTagName("head")[0],(r=document.createElement("script")).type="text/javascript",r.charset="utf-8",r.async=!0,r.onerror=function(){var t=c[e];for(r.onerror=null,delete c[e];t.length;)t.shift().call(null,new Error("failed to load chunk"))},r.src=a.p+"js/"+({1:"dm_button",2:"button",3:"grid",4:"moment",5:"periscope_on_air",6:"timeline",7:"tweet"}[e]||e)+"."+{1:"c6be4b2e80c5f8e8ea3a14f6031d5829",2:"556f0ea0e4da4e66cfdc182016dbd6db",3:"02a514d04aeb6f322ae55d7a4199f023",4:"79f50aa1e4cce1324345722b56882213",5:"57bea11535cf101cb36a419b56d50d70",6:"dfc64d2ffc9c3e764787417d99341394",7:"d657a9cf9370747df5a1bde99a943bd9"}[e]+".js",n.appendChild(r))},a.m=s,a.c=n,a.p="https://platform.twitter.com/",a(0)}([function(t,e,n){var r,i=n(1),o=n(9),s=n(14),a=n(16),u=n(18),c=n(19),d=n(30),l=n(32),f=n(262),h=n(273),p=n(274),m=n(241);n(275),m.emitter.trigger(m.START),u.set("widgets.init",!0),a.set("init",!0),p(),r=new i,s.exposeReadyPromise(r.promise,a.base,"_e"),a.set("widgets",f),a.set("widgets.load",l.load),a.set("events",d),h(function(){r.resolve(a.base),c.attachTo(o),l.loadPage()})},function(t,e,n){var r=n(2);t.exports=function(){var n=this;this.promise=new r(function(t,e){n.resolve=t,n.reject=e})}},function(t,e,n){var r=n(3).Promise,i=n(7),o=n(8);t.exports=o.hasPromiseSupport()?i.Promise:r},function(t,$,Q){var K;(function(G){
/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/jakearchibald/es6-promise/master/LICENSE
* @version 2.3.0
*/
(function(){"use strict";function c(t){return"function"==typeof t}function e(){return function(){setTimeout(n,1)}}function n(){for(var t=0;t<C;t+=2){(0,j[t])(j[t+1]),j[t]=void 0,j[t+1]=void 0}C=0}function s(){}function o(t,r,i){T(function(e){var n=!1,t=function(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}(i,r,function(t){n||(n=!0,(r!==t?d:l)(e,t))},function(t){n||(n=!0,f(e,t))},e._label);!n&&t&&(n=!0,f(e,t))},t)}function r(t,e){var n,r,i;e.constructor===t.constructor?(r=t,(i=e)._state===O?l(r,i._result):i._state===D?f(r,i._result):a(i,void 0,function(t){d(r,t)},function(t){f(r,t)})):(n=function(t){try{return t.then}catch(t){return z.error=t,z}}(e))===z?f(t,z.error):void 0!==n&&c(n)?o(t,e,n):l(t,e)}function d(t,e){var n;t===e?f(t,new TypeError("You cannot resolve a promise with itself")):("function"==typeof(n=e)||"object"==typeof n&&null!==n?r:l)(t,e)}function i(t){t._onerror&&t._onerror(t._result),u(t)}function l(t,e){t._state===L&&(t._result=e,t._state=O,0!==t._subscribers.length&&T(u,t))}function f(t,e){t._state===L&&(t._state=D,t._result=e,T(i,t))}function a(t,e,n,r){var i=t._subscribers,o=i.length;t._onerror=null,i[o]=e,i[o+O]=n,i[o+D]=r,0===o&&t._state&&T(u,t)}function u(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r,i,o=t._result,s=0;s<e.length;s+=3)r=e[s],i=e[s+n],r?h(n,r,i,o):i(o);t._subscribers.length=0}}function t(){this.error=null}function h(t,e,n,r){var i,o,s,a,u=c(n);if(u){if((i=function(t,e){try{return t(e)}catch(t){return B.error=t,B}}(n,r))===B?(a=!0,o=i.error,i=null):s=!0,e===i)return f(e,new TypeError("A promises callback cannot return that same promise.")),0}else i=r,s=!0;e._state!==L||(u&&s?d(e,i):a?f(e,o):t===O?l(e,i):t===D&&f(e,i))}function p(t,e){var n=this;n._instanceConstructor=t,n.promise=new t(s),n._validateInput(e)?(n._input=e,n.length=e.length,n._remaining=e.length,n._init(),0===n.length?l(n.promise,n._result):(n.length=n.length||0,n._enumerate(),0===n._remaining&&l(n.promise,n._result))):f(n.promise,n._validationError())}function m(t){this._id=W++,this._state=void 0,this._result=void 0,this._subscribers=[],s!==t&&(c(t)||function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof m||function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}(),function(e,t){try{t(function(t){d(e,t)},function(t){f(e,t)})}catch(t){f(e,t)}}(this,t))}var v,g,w,y,b,_,E,x,A=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},C=0,T=function(t,e){j[C]=t,j[C+1]=e,2===(C+=2)&&(g?g(n):k())},I="undefined"!=typeof window?window:void 0,S=I||{},R=S.MutationObserver||S.WebKitMutationObserver,P="undefined"!=typeof process&&"[object process]"==={}.toString.call(process),N="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,j=new Array(1e3),k=P?(E=process.nextTick,x=process.versions.node.match(/^(?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)$/),Array.isArray(x)&&"0"===x[1]&&"10"===x[2]&&(E=setImmediate),function(){E(n)}):R?(y=0,b=new R(n),_=document.createTextNode(""),b.observe(_,{characterData:!0}),function(){_.data=y=++y%2}):N?((w=new MessageChannel).port1.onmessage=n,function(){w.port2.postMessage(0)}):(void 0===I?function(){try{var t=Q(5);return v=t.runOnLoop||t.runOnContext,function(){v(n)}}catch(t){return e()}}:e)(),L=void 0,O=1,D=2,z=new t,B=new t;p.prototype._validateInput=function(t){return A(t)},p.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},p.prototype._init=function(){this._result=new Array(this.length)};var F=p;p.prototype._enumerate=function(){for(var t=this.length,e=this.promise,n=this._input,r=0;e._state===L&&r<t;r++)this._eachEntry(n[r],r)},p.prototype._eachEntry=function(t,e){var n,r=this,i=r._instanceConstructor;"object"==typeof(n=t)&&null!==n?t.constructor===i&&t._state!==L?(t._onerror=null,r._settledAt(t._state,e,t._result)):r._willSettleAt(i.resolve(t),e):(r._remaining--,r._result[e]=t)},p.prototype._settledAt=function(t,e,n){var r=this,i=r.promise;i._state===L&&(r._remaining--,t===D?f(i,n):r._result[e]=n),0===r._remaining&&l(i,r._result)},p.prototype._willSettleAt=function(t,e){var n=this;a(t,void 0,function(t){n._settledAt(O,e,t)},function(t){n._settledAt(D,e,t)})};var U=function(t){function e(t){d(r,t)}function n(t){f(r,t)}var r=new this(s);if(!A(t))return f(r,new TypeError("You must pass an array to race.")),r;for(var i=t.length,o=0;r._state===L&&o<i;o++)a(this.resolve(t[o]),void 0,e,n);return r},M=function(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=new this(s);return d(e,t),e},q=function(t){var e=new this(s);return f(e,t),e},W=0,H=m;m.all=function(t){return new F(this,t).promise},m.race=U,m.resolve=M,m.reject=q,m._setScheduler=function(t){g=t},m._setAsap=function(t){T=t},m._asap=T,m.prototype={constructor:m,then:function(t,e){var n=this._state;if(n===O&&!t||n===D&&!e)return this;var r,i=new this.constructor(s),o=this._result;return n?(r=arguments[n-1],T(function(){h(n,i,r,o)})):a(this,i,t,e),i},"catch":function(t){return this.then(null,t)}};var V={Promise:H,polyfill:function(){var t;if("undefined"!=typeof global)t=global;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;e&&"[object Promise]"===Object.prototype.toString.call(e.resolve())&&!e.cast||(t.Promise=H)}};Q(6).amd?void 0===(K=function(){return V}.call($,Q,$,G))||(G.exports=K):void 0!==G&&G.exports&&(G.exports=V)}).call(this)}).call($,Q(4)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e){},function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},function(t,e){t.exports=window},function(t,e,n){function r(t){return/(Trident|MSIE|Edge[\/ ]?\d)/.test(t=t||u)}var i=n(9),o=(n(10),n(13)),s=n(7),a=n(12),u=o.userAgent;t.exports={retina:function(t){return(t=t||s).devicePixelRatio?1.5<=t.devicePixelRatio:!!t.matchMedia&&t.matchMedia("only screen and (min-resolution: 144dpi)").matches},anyIE:r,ie9:function(t){return/MSIE 9/.test(t=t||u)},ie10:function(t){return/MSIE 10/.test(t=t||u)},ios:function(t){return/(iPad|iPhone|iPod)/.test(t=t||u)},android:function(t){return/^Mozilla\/5\.0 \(Linux; (U; )?Android/.test(t=t||u)},canPostMessage:function(t,e){return e=e||u,(t=t||s).postMessage&&!(r(e)&&t.opener)},touch:function(t,e,n){return e=e||o,n=n||u,"ontouchstart"in(t=t||s)||/Opera Mini/.test(n)||0<e.msMaxTouchPoints},cssTransitions:function(){var t=i.body.style;return void 0!==t.transition||void 0!==t.webkitTransition||void 0!==t.mozTransition||void 0!==t.oTransition||void 0!==t.msTransition},hasPromiseSupport:function(){return!!(s.Promise&&s.Promise.resolve&&s.Promise.reject&&s.Promise.all&&s.Promise.race&&(new s.Promise(function(t){e=t}),a.isType("function",e)));var e},hasIntersectionObserverSupport:function(){return!!s.IntersectionObserver},hasPerformanceInformation:function(){return s.performance&&s.performance.getEntriesByType},hasLocalStorageSupport:function(){try{return s.localStorage.setItem("local_storage_support_test","true"),"undefined"!=typeof s.localStorage}catch(t){return!1}}}},function(t,e){t.exports=document},function(t,e,n){function r(){s("info",c.toRealArray(arguments))}function i(){s("error",c.toRealArray(arguments))}function o(){return u.performance&&+u.performance.now()||+new Date}function s(t,e){if(u[d]&&u[d][t])switch(e.length){case 1:u[d][t](e[0]);break;case 2:u[d][t](e[0],e[1]);break;case 3:u[d][t](e[0],e[1],e[2]);break;case 4:u[d][t](e[0],e[1],e[2],e[3]);break;case 5:u[d][t](e[0],e[1],e[2],e[3],e[4]);break;default:0!==e.length&&u[d].warn&&u[d].warn("too many params passed to logger."+t)}}var a=n(11),u=n(7),c=n(12),d=["con","sole"].join(""),l={},f=c.contains(a.href,"tw_debug=true");t.exports={info:r,warn:function(){s("warn",c.toRealArray(arguments))},error:i,time:function(t){f&&(l[t]=o())},timeEnd:function(t){f&&(l[t]?r("_twitter",t,o()-l[t]):i("timeEnd() called before time() for id: ",t))}}},function(t,e){t.exports=location},function(t,e,n){function r(t,e){var n;for(n in t)t.hasOwnProperty&&!t.hasOwnProperty(n)||e(n,t[n]);return t}function i(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function o(t){return t===Object(t)}function s(t){var e;if(!o(t))return!1;if(Object.keys)return!Object.keys(t).length;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}function a(t){return t?Array.prototype.slice.call(t):[]}var u=n(7);t.exports={aug:function(n){return a(arguments).slice(1).forEach(function(t){r(t,function(t,e){n[t]=e})}),n},async:function(t,e){u.setTimeout(function(){t.call(e||null)},0)},compact:function c(n){return r(n,function(t,e){o(e)&&(c(e),s(e)&&delete n[t]),null!=e&&""!==e||delete n[t]}),n},contains:function(t,e){return!(!t||!t.indexOf)&&-1<t.indexOf(e)},forIn:r,isObject:o,isEmptyObject:s,toType:i,isType:function(t,e){return t==i(e)},toRealArray:a}},function(t,e){t.exports=navigator},function(t,e,n){var r=n(15);t.exports={exposeReadyPromise:function(t,e,n){e.ready=r(t.then,t),n&&Array.isArray(e[n])&&(e[n].forEach(r(t.then,t)),delete e[n])}}},function(t,e,n){var i=n(12);t.exports=function(e,n){var r=Array.prototype.slice.call(arguments,2);return function(){var t=i.toRealArray(arguments);return e.apply(n,r.concat(t))}}},function(t,e,n){var r=n(17);t.exports=new r("twttr")},function(t,e,n){function u(t){return c.isType("string",t)?t.split("."):c.isType("array",t)?t:[]}function r(t,e){(e=e||i)[t]=e[t]||{},Object.defineProperty(this,"base",{value:e[t]}),Object.defineProperty(this,"name",{value:t})}var i=n(7),c=n(12);c.aug(r.prototype,{get:function(t){return u(t).reduce(function(t,e){if(c.isObject(t))return t[e]},this.base)},set:function(t,e,n){var r,i,o=u(t),s=(r=this.base,(i=u(t).slice(0,-1)).reduce(function(t,e,n){if(t[e]=t[e]||{},!c.isObject(t[e]))throw new Error(i.slice(0,n+1).join(".")+" is already defined with a value.");return t[e]},r)),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=u(t),n=this.get(e.slice(0,-1));n&&delete n[e.slice(-1)]},aug:function(t){var e=this.get(t),n=c.toRealArray(arguments).slice(1),e=void 0!==e?e:{};if(n.unshift(e),!n.every(c.isObject))throw new Error("Cannot augment non-object.");return this.set(t,c.aug.apply(null,n))},call:function(t){var e=this.get(t),n=c.toRealArray(arguments).slice(1);if(!c.isType("function",e))throw new Error("Function "+t+"does not exist.");return e.apply(null,n)},fullPath:function(t){var e=u(t);return e.unshift(this.name),e.join(".")}}),t.exports=r},function(t,e,n){var r=n(17);t.exports=new r("__twttr")},function(t,e,n){function r(t){var e,n,r;t.altKey||t.metaKey||t.shiftKey||(e=s.closest(function(t){return"A"===t.tagName||"AREA"===t.tagName},t.target))&&u.isIntentURL(e.href)&&(n=(n=(n=[r=e.href,"original_referer="+i.href].join(-1==r.indexOf("?")?"?":"&")).replace(/^http[:]/,"https:")).replace(/^\/\//,"https://"),a.open(n,e),o.preventDefault(t))}var i=n(11),o=n(20),s=n(22),a=n(23),u=n(24);t.exports={attachTo:function(t){t.addEventListener("click",r,!1)}}},function(t,e,n){function o(t){var e=t.getAttribute("data-twitter-event-id");return e||(t.setAttribute("data-twitter-event-id",++d),d)}function c(t,e,n){for(var r=n||t.target||t.srcElement,i=a.list(r).map(function(t){return"."+t}).concat(r.tagName),o=0,s=i.length;o<s;o++)if(!1===function(t,e,n){for(var r=0,i=t&&t.length||0,r=0;r<i;r++)if(t[r].call(e,n,e),n.ceaseImmediately)return!1}(e[i[o]],r,t))return;t.cease||r!==this&&c.call(this,t,e,r.parentElement||r.parentNode)}function s(e,n,r,t){function i(t){c.call(e,t,r[n])}var o,s,a,u;s=i,a=n,u=t,(o=e).id&&(l[o.id]=l[o.id]||[],l[o.id].push({el:o,listener:s,type:a,rootId:u})),e.addEventListener(n,i,!1)}function r(t){t&&t.preventDefault?t.preventDefault():t.returnValue=!1}function i(t){t&&(t.cease=!0)&&t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}var a=n(21),u={},d=-1,l={};t.exports={stop:function(t){return i(t),r(t),!1},stopPropagation:i,stopImmediatePropagation:function(t){t&&(t.ceaseImmediately=!0,i(t),t.stopImmediatePropagation())},preventDefault:r,delegate:function(t,e,n,r){var i=o(t);u[i]=u[i]||{},u[i][e]||(u[i][e]={},s(t,e,u[i],i)),u[i][e][n]=u[i][e][n]||[],u[i][e][n].push(r)},simulate:function(t,e,n){var r=o(e),i=u[r]&&u[r];c.call(e,{target:n},i[t])},removeDelegatesForWidget:function(t){var e=l[t];e&&(e.forEach(function(t){t.el.removeEventListener(t.type,t.listener,!1),delete u[t.rootId]}),delete l[t])}}},function(t,e,n){function r(t){return new RegExp("\\b"+t+"\\b","g")}function i(t,e){return t.classList?void t.classList.add(e):void(r(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(r(e)," "))}function s(t,e){return t.classList?t.classList.contains(e):u.contains(a(t),e)}function a(t){return u.toRealArray(t.classList?t.classList:t.className.match(c))}var u=n(12),c=/\b([\w-_]+)\b/g;t.exports={add:i,remove:o,replace:function(t,e,n){return t.classList&&s(t,e)?(o(t,e),void i(t,n)):void(t.className=t.className.replace(r(e),n))},toggle:function(t,e,n){return void 0===n&&t.classList&&t.classList.toggle?t.classList.toggle(e,n):((n?i:o)(t,e),n)},present:s,list:a}},function(t,e,n){var s=n(12);t.exports={closest:function a(t,e,n){var r,i,o;if(e)return n=n||e&&e.ownerDocument,r=s.isType("function",t)?t:"."===(o=(i=t).charAt(0))?function(t){var e=t.className?t.className.split(/\s+/):[];return s.contains(e,i.slice(1))}:"#"===o?function(t){return t.id===i.slice(1)}:function(t){return t.tagName===i.toUpperCase()},e===n?r(e)?e:void 0:r(e)?e:a(r,e.parentNode,n)}}},function(t,e,n){function r(t){this.srcEl=[],this.element=t}var s=n(24),a=n(27),u=n(30),c=n(25),d={favorite:["favorite","like"],follow:["follow"],like:["favorite","like"],retweet:["retweet"],tweet:["tweet"]};r.open=function(e,n,t){var r,i,o=(s.intentType(e)||"").toLowerCase();s.isTwitterURL(e)&&(r=e,i=t,a.open(r,{},i),n&&u.trigger("click",{target:n,region:"intent",type:"click",data:{}}),n&&d[o]&&d[o].forEach(function(t){u.trigger(t,{target:n,region:"intent",type:t,data:function(t,e){var n=c.decodeURL(e);switch(t){case"favorite":case"like":return{tweet_id:n.tweet_id};case"follow":return{screen_name:n.screen_name,user_id:n.user_id};case"retweet":return{source_tweet_id:n.tweet_id};default:return{}}}(o,e)})}))},t.exports=r},function(t,e,n){function r(t){return"string"==typeof t&&c.test(t)&&RegExp.$1.length<=20}function i(t){if(r(t))return RegExp.$1}function o(t,e){var n=u.decodeURL(t);if(e=e||!1,n.screen_name=i(t),n.screen_name)return u.url("https://twitter.com/intent/"+(e?"follow":"user"),n)}function s(t){return"string"==typeof t&&h.test(t)}function a(t){return"string"==typeof t&&d.test(t)}var u=n(25),c=/(?:^|(?:https?:)?\/\/(?:www\.)?twitter\.com(?::\d+)?(?:\/intent\/(?:follow|user)\/?\?screen_name=|(?:\/#!)?\/))@?([\w]+)(?:\?|&|$)/i,d=/(?:^|(?:https?:)?\/\/(?:www\.)?twitter\.com(?::\d+)?\/(?:#!\/)?[\w_]+\/status(?:es)?\/)(\d+)/i,l=/^http(s?):\/\/(\w+\.)*twitter\.com([:\/]|$)/i,f=/^http(s?):\/\/pbs\.twimg\.com\//,h=/^#?([^.,<>!\s\/#\-()'"]+)$/,p=/twitter\.com(?::\d{2,4})?\/intent\/(\w+)/,m=/^https?:\/\/(?:www\.)?twitter\.com\/\w+\/timelines\/(\d+)/i,v=/^https?:\/\/(?:www\.)?twitter\.com\/i\/moments\/(\d+)/i,g=/^https?:\/\/(?:www\.)?twitter\.com\/(\w+)\/(?:likes|favorites)/i,w=/^https?:\/\/(?:www\.)?twitter\.com\/(\w+)\/lists\/([\w-]+)/i,y=/^https?:\/\/(?:www\.)?twitter\.com\/(\w+)\/([\w-]+)/i,b=/^https?:\/\/(?:www\.)?twitter\.com\/hashtag\/([\w-]+)/i,_=/^https?:\/\/(?:www\.)?twitter\.com\/search/i,E=/^https?:\/\/(?:www\.)?twitter\.com\/i\/live\/(\d+)/i,x=/^https?:\/\/syndication\.twitter\.com\/settings/i,A=/^https?:\/\/(localhost|platform)\.twitter\.com(?::\d+)?\/widgets\/widget_iframe\.(.+)/i;t.exports={isHashTag:s,hashTag:function(t,e){if(e=void 0===e||e,s(t))return(e?"#":"")+RegExp.$1},isSearchUrl:function(t){return b.test(t)||_.test(t)},isScreenName:r,screenName:i,isStatus:a,status:function(t){return a(t)&&RegExp.$1},intentForProfileURL:o,intentForFollowURL:function(t){return o(t,!0)},isTwitterURL:function(t){return l.test(t)},isTwimgURL:function(t){return f.test(t)},isIntentURL:function(t){return p.test(t)},isSettingsURL:function(t){return x.test(t)},isWidgetIframeURL:function(t){return A.test(t)},regexen:{profile:c},momentId:function(t){return v.test(t)&&RegExp.$1},collectionId:function(t){return m.test(t)&&RegExp.$1},intentType:function(t){return p.test(t)&&RegExp.$1},likesScreenName:function(t){return g.test(t)&&RegExp.$1},listScreenNameAndSlug:function(t){return!!w.test(t)&&{ownerScreenName:RegExp.$1,slug:RegExp.$2}},listLegacyScreenNameAndSlug:function(t){return!!y.test(t)&&{ownerScreenName:RegExp.$1,slug:RegExp.$2}},eventId:function(t){return E.test(t)&&RegExp.$1}}},function(t,e,n){function i(t){return encodeURIComponent(t).replace(/\+/g,"%2B").replace(/'/g,"%27")}function o(t){return decodeURIComponent(t)}function r(t){var r=[];return u.forIn(t,function(t,e){var n=i(t);u.isType("array",e)||(e=[e]),e.forEach(function(t){a.hasValue(t)&&r.push(n+"="+i(t))})}),r.sort().join("&")}function s(t){var i={};return t?(t.split("&").forEach(function(t){var e=t.split("="),n=o(e[0]),r=o(e[1]);if(2==e.length)return u.isType("array",i[n])?void i[n].push(r):n in i?(i[n]=[i[n]],void i[n].push(r)):void(i[n]=r)}),i):{}}var a=n(26),u=n(12);t.exports={url:function(t,e){return 0<r(e).length?u.contains(t,"?")?t+"&"+r(e):t+"?"+r(e):t},decodeURL:function(t){var e=t&&t.split("?");return 2==e.length?s(e[1]):{}},decode:s,encode:r,encodePart:i,decodePart:o}},function(t,e,n){function r(t){return null!=t&&""!==t}function i(t){return s(t)&&t%1==0}function o(t){return s(t)&&!i(t)}function s(t){return r(t)&&!isNaN(t)}function a(t){return c.contains(l,t)}function u(t){return c.contains(d,t)}var c=n(12),d=[!0,1,"1","on","ON","true","TRUE","yes","YES"],l=[!1,0,"0","off","OFF","false","FALSE","no","NO"];t.exports={hasValue:r,isInt:i,isFloat:o,isNumber:s,isString:function(t){return"string"===c.toType(t)},isArray:function(t){return r(t)&&"array"==c.toType(t)},isTruthValue:u,isFalseValue:a,asInt:function(t){if(i(t))return parseInt(t,10)},asFloat:function(t){if(o(t))return t},asNumber:function(t){if(s(t))return t},asBoolean:function(t){return!(!r(t)||!u(t)&&(a(t)||!t))}}},function(t,e,n){function a(t,e){function n(t){return Math.round(t/2)}return e<t?{coordinate:0,size:e}:{coordinate:n(e)-n(t),size:t}}function r(t,e,n){var r,i,o,s;n=n||{},r=a((e=m.parse(e)).width,n.width||h),e.left=r.coordinate,e.width=r.size,i=a(e.height,n.height||p),e.top=i.coordinate,e.height=i.size,this.win=t,this.features=(o=e,s=[],f.forIn(o,function(t,e){s.push(t+"="+e)}),s.join(","))}var i=n(7),o=n(28),s=n(20),u=n(22),c=n(8),d=n(24),l=n(29),f=n(12),h=i.screen.width,p=i.screen.height,m=(new o).defaults({width:550,height:520,personalbar:"0",toolbar:"0",location:"1",scrollbars:"1",resizable:"1"});r.prototype.open=function(t,e){var n=e&&"click"==e.type&&u.closest("a",e.target),r=e&&(e.altKey||e.metaKey||e.shiftKey),i=n&&(c.ios()||c.android());if(d.isTwitterURL(t))return r||i||(this.name="intent_"+l.generate(),this.popup=this.win.open(t,this.name,this.features),e&&s.preventDefault(e)),this},r.open=function(t,e,n){return new r(i,e).open(t,n)},t.exports=r},function(t,e,n){function r(){this.assertions=[],this._defaults={}}var i=n(26),o=n(12);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 n=this;return(t=Array.isArray(t)?t:o.toRealArray(arguments)).forEach(function(t){var e;n.assert(function(t){return i.hasValue(t[e])},"required: "+(e=t))}),this},r.prototype.parse=function(t){var n=o.aug({},this._defaults,t||{}),e=this.assertions.reduce(function(t,e){return e.fn(n)||t.push(e.msg),t},[]);if(0<e.length)throw new Error(e.join("\n"));return n},t.exports=r},function(t,e){var n=0,r=0;t.exports={generate:function(){return"i"+String(+new Date)+Math.floor(1e5*Math.random())+n++},deterministic:function(){return"i"+String(r++)}}},function(t,e,n){var r=n(16),i=n(31),o=n(12);t.exports=o.aug(r.get("events")||{},i.Emitter)},function(t,e,n){var r=n(12),i=n(15),o={bind:function(t,e){return this._handlers=this._handlers||{},this._handlers[t]=this._handlers[t]||[],this._handlers[t].push(e)},unbind:function(t,e){var n;this._handlers&&this._handlers[t]&&(e?0<=(n=this._handlers[t].indexOf(e))&&this._handlers[t].splice(n,1):this._handlers[t]=[])},trigger:function(t,e){var n=this._handlers&&this._handlers[t];(e=e||{}).type=t,n&&n.forEach(function(t){r.async(i(t,this,e))})}};t.exports={Emitter:o,makeEmitter:function(){return r.aug(function(){},o)}}},function(t,e,n){function r(){var t=c.val("widgets:autoload")||!0;return!h.isFalseValue(t)&&(h.isTruthValue(t)?o.body:o.querySelectorAll(t))}function i(t){var e;return t=(t=t||o.body).length?p.toRealArray(t):[t],l.pause(),e=a.allResolved(t.reduce(function(t,n){return t.concat(v.reduce(function(t,e){return t.concat(e(n))},[]))},[]).map(function(t){return u.addWidget(t)})).then(function(t){f.trigger("loaded",{widgets:t}),g.emitter.trigger(g.ALL_WIDGETS_RENDERED,{widgets:t})}),a.always(e,function(){l.resume()}),e}var o=n(9),s=n(2),a=n(33),u=n(34),c=n(41),d=n(18),l=n(42),f=n(30),h=n(26),p=n(12),m=n(73),v=n(78),g=n(241);t.exports={load:i,loadPage:function(){var t=r();return m.load(),!1===t?s.resolve():(d.set("widgets.loaded",!0),i(t))},_getPageLoadTarget:r}},function(t,e,n){function r(t,e){return t.then(e,e)}function u(t){return t instanceof o}var o=n(2),i=n(1);t.exports={always:r,allResolved:function(s){var a;return void 0===s?o.reject(new Error("undefined is not an object")):Array.isArray(s)?(a=s.length)?new o(function(t,e){function n(){(i+=1)===a&&(0===o.length?e():t(o))}function r(t){o.push(t),n()}var i=0,o=[];s.forEach(function(t){u(t)?t.then(r,n):r(t)})}):o.resolve([]):o.reject(new Error("Type error"))},some:function(i){var t=(i=i||[]).length;return i=i.filter(u),t?t!==i.length?o.reject("non-Promise passed to .some"):new o(function(e,t){function n(){(r+=1)===i.length&&t()}var r=0;i.forEach(function(t){t.then(e,n)})}):o.reject("no promises passed to .some")},isPromise:u,allSettled:function(t){function e(){}return o.all((t||[]).map(function(t){return r(t,e)}))},timeout:function(t,e){var n=new i;return setTimeout(function(){n.reject(new Error("Promise timed out"))},e),t.then(function(t){n.resolve(t)},function(t){n.reject(t)}),n.promise}}},function(t,e,n){var r=n(35),i=n(39),o=n(2),s=n(33),a=n(15),u=n(12),c=new i(function(t){var e=t.map(r.fromRawTask).reduce(function(t,e){return t[e.className]=t[e.className]||[],t[e.className].push(e),t},{});u.forIn(e,function(t,e){s.allSettled(e.map(function(t){return t.initialize()})).then(function(){e.forEach(function(t){o.all([t.hydrate(),t.insertIntoDom()]).then(a(t.render,t)).then(a(t.success,t),a(t.fail,t))})})})});t.exports={addWidget:function(t){return c.add(t)}}},function(t,e,n){function r(r,t){var e;this._widget=null,this._sandbox=null,this._hydrated=!1,this._insertedIntoDom=!1,this._Sandbox=r.Sandbox,this._factory=r.factory,this._widgetParams=r.parameters,this._resolve=t,this._className=r.className,this._renderedClassName=r.className+"-rendered",this._errorClassName=r.className+"-error",this._srcEl=r.srcEl,this._targetGlobal=((e=r).srcEl||e.targetEl).ownerDocument.defaultView,this._insertionStrategy=function(t){var e=r.srcEl,n=r.targetEl;e?n.insertBefore(t,e):n.appendChild(t)}}var i=n(21),o=n(36),s=n(30),a=n(38),u=n(2),c=n(33);r.fromRawTask=function(t){return new r(t.input,t.taskDoneDeferred.resolve)},r.prototype.initialize=function(){var e=this,n=new this._Sandbox(this._targetGlobal);return this._factory(this._widgetParams,n).then(function(t){return e._widget=t,e._sandbox=n,t})},r.prototype.insertIntoDom=function(){var t=this;return this._widget?this._sandbox.insert(this._widget.id,{"class":[this._className,this._renderedClassName].join(" ")},null,this._insertionStrategy).then(function(){t._insertedIntoDom=!0}):u.reject(new Error("cannot insert widget into DOM before it is initialized"))},r.prototype.hydrate=function(){var t=this;return this._widget?this._widget.hydrate().then(function(){t._hydrated=!0}):u.reject(new Error("cannot hydrate widget before it is initialized"))},r.prototype.render=function(){function t(t){return a(e._sandbox.sandboxEl).then(function(){return u.reject(t)})}var e=this;return this._hydrated?this._insertedIntoDom?e._widget.render(e._sandbox).then(function(){return e._sandbox.onResize(function(){return e._widget.resize().then(function(){s.trigger("resize",{target:e._sandbox.sandboxEl})})}),e._widget.show()}).then(function(){return a(e._srcEl).then(function(){return e._sandbox.sandboxEl})},t):t(new Error("cannot render widget before DOM insertion")):t(new Error("cannot render widget before hydration"))},r.prototype.fail=function(){var t=this;return this._srcEl?c.always(o.write(function(){i.add(t._srcEl,t._errorClassName)}),function(){s.trigger("rendered",{target:t._srcEl}),t._resolve(t._srcEl)}):(t._resolve(),u.resolve())},r.prototype.success=function(){s.trigger("rendered",{target:this._sandbox.sandboxEl}),this._resolve(this._sandbox.sandboxEl)},t.exports=r},function(t,e,n){function i(t,e){return function(){try{e.resolve(t.call(this))}catch(t){e.reject(t)}}}var o=n(37),s=n(1),a=n(12);t.exports={sync:function(t,e){t.call(e)},read:function(t,e){var n=new s;return o.read(i(t,n),e),n.promise},write:function(t,e){var n=new s;return o.write(i(t,n),e),n.promise},defer:function(t,e,n){var r=new s;return a.isType("function",t)&&(n=e,e=t,t=1),o.defer(t,i(e,r),n),r.promise}}},function(r,i,o){var s;!function(){"use strict";function t(){this.frames=[],this.lastId=0,this.raf=e,this.batch={hash:{},read:[],write:[],mode:null}}var e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)};t.prototype.read=function(t,e){var n=this.add("read",t,e),r=n.id;return this.batch.read.push(n.id),"reading"===this.batch.mode||this.batch.scheduled||this.scheduleBatch(),r},t.prototype.write=function(t,e){var n=this.add("write",t,e),r=this.batch.mode,i=n.id;return this.batch.write.push(n.id),"writing"===r||"reading"===r||this.batch.scheduled||this.scheduleBatch(),i},t.prototype.defer=function(t,e,n){"function"==typeof t&&(n=e,e=t,t=1);var r=this,i=t-1;return this.schedule(i,function(){r.run({fn:e,ctx:n})})},t.prototype.clear=function(t){if("function"==typeof t)return this.clearFrame(t);t=Number(t);var e,n,r=this.batch.hash[t];r&&(n=(e=this.batch[r.type]).indexOf(t),delete this.batch.hash[t],~n&&e.splice(n,1))},t.prototype.clearFrame=function(t){var e=this.frames.indexOf(t);~e&&this.frames.splice(e,1)},t.prototype.scheduleBatch=function(){var t=this;this.schedule(0,function(){t.batch.scheduled=!1,t.runBatch()}),this.batch.scheduled=!0},t.prototype.uniqueId=function(){return++this.lastId},t.prototype.flush=function(t){for(var e;e=t.shift();)this.run(this.batch.hash[e])},t.prototype.runBatch=function(){try{this.batch.mode="reading",this.flush(this.batch.read),this.batch.mode="writing",this.flush(this.batch.write),this.batch.mode=null}catch(r){throw this.runBatch(),r}},t.prototype.add=function(t,e,n){var r=this.uniqueId();return this.batch.hash[r]={id:r,fn:e,ctx:n,type:t}},t.prototype.run=function(t){var e=t.ctx||this,n=t.fn;if(delete this.batch.hash[t.id],!this.onError)return n.call(e);try{n.call(e)}catch(t){this.onError(t)}},t.prototype.loop=function(){function e(){var t=n.frames.shift();n.frames.length?r(e):n.looping=!1,t&&t()}var t,n=this,r=this.raf,i=!1;this.looping||(t=setTimeout(function(){i=!0,e()},500),r(function(){i||(clearTimeout(t),e())}),this.looping=!0)},t.prototype.schedule=function(t,e){return this.frames[t]?this.schedule(t+1,e):(this.loop(),this.frames[t]=e)};var n=new t;void 0!==r&&r.exports?r.exports=n:void 0===(s=function(){return n}.call(i,o,i,r))||(r.exports=s)}()},function(t,e,n){var r=n(36);t.exports=function(t){return r.write(function(){t&&t.parentNode&&t.parentNode.removeChild(t)})}},function(e,t,n){function r(t){this._inputsQueue=[],this._task=t,this._hasFlushBeenScheduled=!1}var i=n(1),o=n(40),s=n(15);r.prototype.add=function(t){var e=new i;return this._inputsQueue.push({input:t,taskDoneDeferred:e}),this._hasFlushBeenScheduled||(this._hasFlushBeenScheduled=!0,o(s(this._flush,this))),e.promise},r.prototype._flush=function(){try{this._task.call(null,this._inputsQueue)}catch(e){this._inputsQueue.forEach(function(t){t.taskDoneDeferred.reject(e)})}this._inputsQueue=[],this._hasFlushBeenScheduled=!1},e.exports=r},function(t,e,n){var r=n(3).Promise;t.exports=r._asap},function(t,e,n){function r(t){var e,n,r,i=0;for(o={},e=(t=t||s).getElementsByTagName("meta");e[i];i++){if(n=e[i],/^twitter:/.test(n.getAttribute("name")))r=n.getAttribute("name").replace(/^twitter:/,"");else{if(!/^twitter:/.test(n.getAttribute("property")))continue;r=n.getAttribute("property").replace(/^twitter:/,"")}o[r]=n.getAttribute("content")||n.getAttribute("value")}}var o,s=n(9);r(),t.exports={init:r,val:function(t){return o[t]}}},function(t,e,n){function i(t){t.forEach(function(t){var e=t.input.namespace,n=t.input.data,r=t.input.offsite,i=t.input.version;a.clientEvent(e,n,r,i),t.taskDoneDeferred.resolve()})}var o=n(43),s=n(44),a=n(71),u=n(50),c=new(n(72))(function(t){var e,n,r;if(0!==t.length){if(1===t.length)return i(t);n=(e=o(t,function(t){return u.noticeSeen(t.input.namespace)}))["true"],r=e["false"],n&&0<n.length&&i(n.slice(0,1)),r&&(1===r.length?i:function(t){s.init(),t.forEach(function(t){var e=t.input.namespace,n=t.input.data,r=t.input.offsite,i=t.input.version;s.clientEvent(e,n,r,i)}),s.flush().then(function(){t.forEach(function(t){t.taskDoneDeferred.resolve()})},function(){t.forEach(function(t){t.taskDoneDeferred.reject()})})})(r)}});t.exports={scribe:function(t,e,n,r){return c.add({namespace:t,data:e,offsite:n,version:r})},pause:function(){c.pause()},resume:function(){c.resume()}}},function(t,e){t.exports=function(t,r){return t.reduce(function(t,e){var n=r(e);return t[n]=t[n]||[],t[n].push(e),t},{})}},function(t,e,n){function r(){var t=d.createElement("form"),e=d.createElement("input"),n=d.createElement("input");return _++,t.action=p.CLIENT_EVENT_ENDPOINT,t.method="POST",t.target=y+_,t.id=b+_,e.type="hidden",e.name="dnt",e.value=l.enabled(),n.type="hidden",n.name="tfw_redirect",n.value=p.RUFOUS_REDIRECT,t.appendChild(e),t.appendChild(n),t}function i(){var t=y+_;return u({id:t,name:t,width:0,height:0,border:0},{display:"none"},d.doc)}var c,o,d,s=n(9),a=n(7),u=n(45),l=n(46),f=n(1),h=n(2),p=n(50),m=n(12),v=n(53),g=n(18).get("scribeCallback"),w=Math.floor(1e3*Math.random())+"_",y="rufous-frame-"+w+"-",b="rufous-form-"+w+"-",_=0,E=!1,x=new f;t.exports={clientEvent:function(o,s,a,u){var t,e,n,r;t=o,e=s,n=!m.isObject(t),r=!!e&&!m.isObject(e),n||r||(g&&g(arguments),x.promise.then(function(){var t,e,n,r,i;t=p.formatClientEventNamespace(o),e=p.formatClientEventData(s,a,u),m.isObject(t)&&m.isObject(e)&&(i=p.flattenClientEventPayload(t,e),(n=c.firstChild).value=+(+n.value||i.dnt||0),(r=d.createElement("input")).type="hidden",r.name="l",r.value=p.stringify(i),c.appendChild(r))}))},flush:function(){return x.promise.then(function(){var t;return c.children.length<=2?h.reject():(t=h.all([d.doc.body.appendChild(c),d.doc.body.appendChild(o)]).then(function(t){var r=t[0],i=t[1];return i.addEventListener("load",function(){var e,n;e=r,n=i,function(){var t=e.parentNode;t&&(t.removeChild(e),t.removeChild(n))}()}),r.submit(),t}),c=r(),o=i(),t)})},init:function(){return E||((d=new v(a)).insert("rufous-sandbox",null,{display:"none"},function(t){s.body.appendChild(t)}).then(function(){d.setTitle("Twitter analytics iframe"),c=r(),o=i(),x.resolve([c,o])}),E=!0),x.promise}}},function(t,e,n){var i=n(9),o=n(12);t.exports=function(t,e,n){var r;if(n=n||i,e=e||{},(t=t||{}).name){try{r=n.createElement('<iframe name="'+t.name+'"></iframe>')}catch(e){(r=n.createElement("iframe")).name=t.name}delete t.name}else r=n.createElement("iframe");return t.id&&(r.id=t.id,delete t.id),r.allowtransparency="true",r.scrolling="no",r.setAttribute("frameBorder",0),r.setAttribute("allowTransparency",!0),o.forIn(t,function(t,e){r.setAttribute(t,e)}),o.forIn(e,function(t,e){r.style[t]=e}),r}},function(t,e,n){var r=n(9),i=n(11),o=n(47),s=n(49),a=n(26),u=n(41),c=!1,d=/https?:\/\/([^\/]+).*/i;t.exports={setOn:function(){c=!0},enabled:function(t,e){return!!(c||a.asBoolean(u.val("dnt"))||s.isUrlSensitive(e||i.host)||o.isFramed()&&s.isUrlSensitive(o.rootDocumentLocation())||(t=d.test(t||r.referrer)&&RegExp.$1)&&s.isUrlSensitive(t))}}},function(t,e,n){var r=n(11),i=n(48),o=n(12),s=i.getCanonicalURL()||r.href,a=s;t.exports={isFramed:function(){return s!==a},rootDocumentLocation:function(t){return t&&o.isType("string",t)&&(s=t),s},currentDocumentLocation:function(){return a}}},function(t,e,n){function r(t,e){var n,r;return e=e||i,/^https?:\/\//.test(t)?t:/^\/\//.test(t)?e.protocol+t:(n=e.host+(e.port.length?":"+e.port:""),0!==t.indexOf("/")&&((r=e.pathname.split("/")).pop(),r.push(t),t="/"+r.join("/")),[e.protocol,"//",n,t].join(""))}var a=n(9),i=n(11),u=n(24);t.exports={absolutize:r,getCanonicalURL:function(){for(var t,e=a.getElementsByTagName("link"),n=0;e[n];n++)if("canonical"==(t=e[n]).rel)return r(t.href)},getScreenNameFromPage:function(){for(var t,e,n,r=[a.getElementsByTagName("a"),a.getElementsByTagName("link")],i=0,o=0,s=/\bme\b/;t=r[i];i++)for(o=0;e=t[o];o++)if(s.test(e.rel)&&(n=u.screenName(e.href)))return n}}},function(t,e,n){function r(t){return t in s?s[t]:s[t]=o.test(t)}var i=n(11),o=/^[^#?]*\.(gov|mil)(:\d+)?([#?].*)?$/i,s={};t.exports={isUrlSensitive:r,isHostPageSensitive:function(){return r(i.host)}}},function(t,e,n){function r(t){return u.aug({client:"tfw"},t||{})}function i(t,e,n){return e=e||{},u.aug({},e,{_category_:t,triggered_on:e.triggered_on||+new Date,dnt:a.enabled(n)})}var o=n(9),s=n(51),a=n(46),u=n(12),c=n(52),d=n(18),l=n(24),f=c.version,h=d.get("clientEventEndpoint")||"https://syndication.twitter.com/i/jot";t.exports={extractTermsFromDOM:function p(t,i){var e;return i=i||{},t&&t.nodeType===Node.ELEMENT_NODE?((e=t.getAttribute("data-scribe"))&&e.split(" ").forEach(function(t){var e=t.trim().split(":"),n=e[0],r=e[1];n&&r&&!i[n]&&(i[n]=r)}),p(t.parentNode,i)):i},clickEventElement:function(t){var e=t.getAttribute("data-expanded-url");return e&&l.isTwitterURL(e)?"twitter_url":"url"},flattenClientEventPayload:function(t,e){return u.aug({},e,{event_namespace:t})},formatGenericEventData:i,formatClientEventData:function(t,e,n){var r=t&&t.widget_origin||o.referrer;return(t=i("tfw_client_event",t,r)).client_version=f,t.format_version=void 0!==n?n:1,e||(t.widget_origin=r),t},formatClientEventNamespace:r,formatTweetAssociation:function(t,e){var n={};return(e=e||{}).association_namespace=r(t),n[1]=e,n},noticeSeen:function(t){return"notice"===t.element&&"seen"===t.action},splitLogEntry:function(e){var t,n,r,i,o;return e.item_ids&&1<e.item_ids.length?(t=Math.floor(e.item_ids.length/2),n=e.item_ids.slice(0,t),r={},i=e.item_ids.slice(t),o={},n.forEach(function(t){r[t]=e.item_details[t]}),i.forEach(function(t){o[t]=e.item_details[t]}),[u.aug({},e,{item_ids:n,item_details:r}),u.aug({},e,{item_ids:i,item_details:o})]):[e]},stringify:function(t){var e,n=Array.prototype.toJSON;return delete Array.prototype.toJSON,e=s.stringify(t),n&&(Array.prototype.toJSON=n),e},AUDIENCE_ENDPOINT:"https://syndication.twitter.com/i/jot/syndication",CLIENT_EVENT_ENDPOINT:h,RUFOUS_REDIRECT:"https://platform.twitter.com/jot.html"}},function(t,e,n){var r=n(7).JSON;t.exports={stringify:r.stringify||r.encode,parse:r.parse||r.decode}},function(t,e){t.exports={version:"c419f42:1520970215484"}},function(t,e,n){var r=n(54),i=n(63);t.exports=r.build([i])},function(t,e,n){var r=n(55),i=n(58),o=n(15);(r=Object.create(r)).build=o(r.build,null,i),t.exports=r},function(t,e,n){var i=n(56),o=n(57),r=n(12);t.exports={couple:function(){return r.toRealArray(arguments)},build:function(t,e,n){var r=new t;return(e=o(i(e||[]))).forEach(function(t){t.call(null,r)}),r.build(n)}}},function(t,e,n){var r=n(12);t.exports=function i(t){var n=[];return t.forEach(function(t){var e=r.isType("array",t)?i(t):[t];n=n.concat(e)}),n}},function(t,e){t.exports=function(n){return n.filter(function(t,e){return n.indexOf(t)===e})}},function(t,e,n){function r(){i.apply(this,arguments)}var i=n(59),o=n(12),s=n(62);r.prototype=Object.create(i.prototype),o.aug(r.prototype,{factory:s}),t.exports=r},function(t,e,n){function r(){this.Component=this.factory(),this._adviceArgs=[],this._lastArgs=[]}var i=n(60),o=n(12),s=n(61);o.aug(r.prototype,{factory:s,build:function(t){var e=this;return this.Component,o.aug(this.Component.prototype.boundParams,t),this._adviceArgs.concat(this._lastArgs).forEach(function(t){(function(t,e,n){var r=this[e];if(!r)throw new Error(e+" does not exist");this[e]=t(r,n)}).apply(e.Component.prototype,t)}),delete this._lastArgs,delete this._adviceArgs,this.Component},params:function(t){var e=this.Component.prototype.paramConfigs;t=t||{},this.Component.prototype.paramConfigs=o.aug({},t,e)},define:function(t,e){if(t in this.Component.prototype)throw new Error(t+" has previously been defined");this.override(t,e)},defineStatic:function(t,e){this.Component[t]=e},override:function(t,e){this.Component.prototype[t]=e},defineProperty:function(t,e){if(t in this.Component.prototype)throw new Error(t+" has previously been defined");this.overrideProperty(t,e)},overrideProperty:function(t,e){var n=o.aug({configurable:!0},e);Object.defineProperty(this.Component.prototype,t,n)},before:function(t,e){this._adviceArgs.push([i.before,t,e])},after:function(t,e){this._adviceArgs.push([i.after,t,e])},around:function(t,e){this._adviceArgs.push([i.around,t,e])},last:function(t,e){this._lastArgs.push([i.after,t,e])}}),t.exports=r},function(t,e,n){var s=n(33),r=n(12),i=n(15);t.exports={before:function(r,i){return function(){var t=this,e=arguments,n=i.apply(this,arguments);return s.isPromise(n)?n.then(function(){return r.apply(t,e)}):r.apply(this,arguments)}},after:function(i,o){return function(){function e(t,e){return s.isPromise(e)?e.then(function(){return t}):t}var n=this,r=arguments,t=i.apply(this,arguments);return s.isPromise(t)?t.then(function(t){return e(t,o.apply(n,r))}):e(t,o.apply(this,arguments))}},around:function(e,n){return function(){var t=r.toRealArray(arguments);return t.unshift(i(e,this)),n.apply(this,t)}}}},function(t,e,n){function f(){return!0}function h(t){return t}var p=n(12);t.exports=function(){function t(d){var l=this;d=d||{},this.params=Object.keys(this.paramConfigs).reduce(function(t,e){var n,r,i,o=[],s=l.boundParams,a=l.paramConfigs[e],u=a.validate||f,c=a.transform||h;if(e in s&&o.push(s[e]),e in d&&o.push(d[e]),o="fallback"in a?o.concat(a.fallback):o,t[e]=(n=u,r=c,i=null,o.some(function(t){if(t=p.isType("function",t)?t():t,n(t))return i=r(t),!0}),i),a.required&&null==t[e])throw new Error(e+" is a required parameter");return t},{}),this.initialize()}return p.aug(t.prototype,{paramConfigs:{},boundParams:{},initialize:function(){}}),t}},function(t,e,n){var r=n(21),i=n(36),o=n(61),s=n(2),a=n(12);t.exports=function(){function t(t){e.apply(this,arguments),Object.defineProperty(this,"targetGlobal",{value:t})}var e=o();return t.prototype=Object.create(e.prototype),a.aug(t.prototype,{id:null,initialized:!1,width:0,height:0,sandboxEl:null,insert:function(){return s.reject()},onResize:function(){},addClass:function(t){var e=this.sandboxEl;return t=Array.isArray(t)?t:[t],i.write(function(){t.forEach(function(t){r.add(e,t)})})},removeClass:function(t){var e=this.sandboxEl;return t=Array.isArray(t)?t:[t],i.write(function(){t.forEach(function(t){r.remove(e,t)})})},styleSelf:function(t){var n=this;return i.write(function(){a.forIn(t,function(t,e){n.sandboxEl.style[t]=e})})}}),t}},function(t,e,n){function u(t,e,n,r){return e=g.aug({id:t},_,e),n=g.aug({},E,n),h(e,n,r)}function c(t,e,n,r,i){var o=new m,s=y.generate(),a=u(t,e,n,i);return w.set(["sandbox",s],function(){var t=a.contentWindow.document;l.write(function(){t.write("<!DOCTYPE html><html><head></head><body></body></html>")}).then(function(){t.close(),o.resolve(a)})}),a.src=["javascript:",'document.write("");',"try { window.parent.document; }",'catch (e) { document.domain="'+d.domain+'"; }',"window.parent."+w.fullPath(["sandbox",s])+"();"].join(""),a.addEventListener("error",o.reject,!1),l.write(function(){r.parentNode.replaceChild(a,r)}),o.promise}var d=n(9),r=n(21),l=n(36),i=n(64),o=n(54),s=n(65),a=n(66),f=n(67),h=n(45),p=(n(10),n(68)),m=n(1),v=n(2),g=n(12),w=n(18),y=n(29),b=n(15),_={allowfullscreen:"true"},E={position:"absolute",visibility:"hidden",display:"block",width:"0px",height:"0px",padding:"0",border:"none"},x={position:"static",visibility:"visible"};t.exports=o.couple(n(69),function(t){t.overrideProperty("id",{get:function(){return this.sandboxEl&&this.sandboxEl.id}}),t.overrideProperty("initialized",{get:function(){return!!this.win}}),t.overrideProperty("width",{get:function(){return this._width}}),t.overrideProperty("height",{get:function(){return this._height}}),t.overrideProperty("sandboxEl",{get:function(){return this.iframeEl}}),t.defineProperty("iframeEl",{get:function(){return this._iframe}}),t.defineProperty("rootEl",{get:function(){return this.doc&&this.doc.documentElement}}),t.defineProperty("widgetEl",{get:function(){return this.doc&&this.doc.body.firstElementChild}}),t.defineProperty("win",{get:function(){return this.iframeEl&&this.iframeEl.contentWindow}}),t.defineProperty("doc",{get:function(){return this.win&&this.win.document}}),t.define("_updateCachedDimensions",function(){var n=this;return l.read(function(){var t,e=p(n.sandboxEl);"visible"==n.sandboxEl.style.visibility?n._width=e.width:(t=p(n.sandboxEl.parentElement).width,n._width=Math.min(e.width,t)),n._height=e.height})}),t.define("_setTargetToBlank",function(){var t=this.createElement("base");t.target="_blank",this.doc.head.appendChild(t)}),t.define("_didResize",function(){var e=this,t=this._resizeHandlers.slice(0);return this._updateCachedDimensions().then(function(){t.forEach(function(t){t(e)})})}),t.define("setTitle",function(t){this.iframeEl.title=t}),t.override("createElement",function(t){return this.doc.createElement(t)}),t.override("createFragment",function(){return this.doc.createDocumentFragment()}),t.override("htmlToElement",function(t){var e=this.createElement("div");return e.innerHTML=t,e.firstElementChild}),t.override("hasSelectedText",function(){return!!i.getSelectedText(this.win)}),t.override("addRootClass",function(t){var e=this.rootEl;return t=Array.isArray(t)?t:[t],this.initialized?l.write(function(){t.forEach(function(t){r.add(e,t)})}):v.reject(new Error("sandbox not initialized"))}),t.override("removeRootClass",function(t){var e=this.rootEl;return t=Array.isArray(t)?t:[t],this.initialized?l.write(function(){t.forEach(function(t){r.remove(e,t)})}):v.reject(new Error("sandbox not initialized"))}),t.override("hasRootClass",function(t){return r.present(this.rootEl,t)}),t.define("addStyleSheet",function(t,e){var n,r=new m;return this.initialized?((n=this.createElement("link")).type="text/css",n.rel="stylesheet",n.href=t,n.addEventListener("load",r.resolve,!1),n.addEventListener("error",r.reject,!1),l.write(b(e,null,n)).then(function(){return s(t).then(r.resolve,r.reject),r.promise})):v.reject(new Error("sandbox not initialized"))}),t.override("prependStyleSheet",function(t){var n=this.doc;return this.addStyleSheet(t,function(t){var e=n.head.firstElementChild;return e?n.head.insertBefore(t,e):n.head.appendChild(t)})}),t.override("appendStyleSheet",function(t){var e=this.doc;return this.addStyleSheet(t,function(t){return e.head.appendChild(t)})}),t.define("addCss",function(t,e){var n;return a.inlineStyle()?((n=this.createElement("style")).type="text/css",n.appendChild(this.doc.createTextNode(t)),l.write(b(e,null,n))):v.resolve()}),t.override("prependCss",function(t){var n=this.doc;return this.addCss(t,function(t){var e=n.head.firstElementChild;return e?n.head.insertBefore(t,e):n.head.appendChild(t)})}),t.override("appendCss",function(t){var e=this.doc;return this.addCss(t,function(t){return e.head.appendChild(t)})}),t.override("makeVisible",function(){var t=this;return this.styleSelf(x).then(function(){t._updateCachedDimensions()})}),t.override("injectWidgetEl",function(t){var e=this;return this.initialized?this.widgetEl?v.reject(new Error("widget already injected")):l.write(function(){e.doc.body.appendChild(t)}):v.reject(new Error("sandbox not initialized"))}),t.override("matchHeightToContent",function(){var t,e=this;return l.read(function(){t=e.widgetEl?p(e.widgetEl).height:0}),l.write(function(){e.sandboxEl.style.height=t+"px"}).then(function(){return e._updateCachedDimensions()})}),t.override("matchWidthToContent",function(){var t,e=this;return l.read(function(){t=e.widgetEl?p(e.widgetEl).width:0}),l.write(function(){e.sandboxEl.style.width=t+"px"}).then(function(){return e._updateCachedDimensions()})}),t.after("initialize",function(){this._iframe=null,this._width=this._height=0,this._resizeHandlers=[]}),t.override("insert",function(t,e,n,r){var i=this,o=new m,s=this.targetGlobal.document,a=u(t,e,n,s);return l.write(b(r,null,a)),a.addEventListener("load",function(){(function(t){try{t.contentWindow.document}catch(t){return v.reject(t)}return v.resolve(t)})(a).then(null,b(c,null,t,e,n,a,s)).then(o.resolve,o.reject)},!1),a.addEventListener("error",o.reject,!1),o.promise.then(function(t){var e=f(i._didResize,50,i);return i._iframe=t,i.win.addEventListener("resize",e,!1),v.all([i._setTargetToBlank(),i.addRootClass("SandboxRoot"),i.prependCss(".SandboxRoot { display: none; }")])})}),t.override("onResize",function(t){this._resizeHandlers.push(t)}),t.after("styleSelf",function(){return this._updateCachedDimensions()})})},function(t,e,n){function r(t){return(t=t||i).getSelection&&t.getSelection()}var i=n(7);t.exports={getSelection:r,getSelectedText:function(t){var e=r(t);return e?e.toString():""}}},function(t,e,n){var r=n(9),i=n(7),o=n(1);t.exports=function(t){var e=new o,n=r.createElement("img");return n.onload=n.onerror=function(){i.setTimeout(e.resolve,50)},n.src=t,i.setTimeout(e.reject,2e4),e.promise}},function(t,e,n){var i,o=n(21),s=n(9),a=n(7),u=n(41),c=n(38),d=n(26),l=n(29),f="csptest";t.exports={inlineStyle:function(){var t=f+l.generate(),e=s.createElement("div"),n=s.createElement("style"),r="."+t+" { visibility: hidden; }";return!!s.body&&(d.asBoolean(u.val("widgets:csp"))&&(i=!1),void 0!==i||(e.style.display="none",o.add(e,t),n.type="text/css",n.appendChild(s.createTextNode(r)),s.body.appendChild(n),s.body.appendChild(e),i="hidden"===a.getComputedStyle(e).visibility,c(e),c(n)),i)}}},function(t,e,n){var c=n(7);t.exports=function(r,i,o){function s(){var t=o||this,e=arguments,n=+new Date;return c.clearTimeout(a),i<n-u?(u=n,void r.apply(t,e)):void(a=c.setTimeout(function(){s.apply(t,e)},i))}var a,u=0;return o=o||null,s}},function(t,e){t.exports=function(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height}}},function(t,e,n){var r=n(70);t.exports=function(t){t.define("createElement",r),t.define("createFragment",r),t.define("htmlToElement",r),t.define("hasSelectedText",r),t.define("addRootClass",r),t.define("removeRootClass",r),t.define("hasRootClass",r),t.define("prependStyleSheet",r),t.define("appendStyleSheet",r),t.define("prependCss",r),t.define("appendCss",r),t.define("makeVisible",r),t.define("injectWidgetEl",r),t.define("matchHeightToContent",r),t.define("matchWidthToContent",r)}},function(t,e){t.exports=function(){throw new Error("unimplemented method")}},function(t,e,n){function o(t,e,n,r){var i=!f.isObject(t),o=!!e&&!f.isObject(e);i||o||(h&&h(arguments),s(l.formatClientEventNamespace(t),l.formatClientEventData(e,n,r),l.CLIENT_EVENT_ENDPOINT))}function s(t,e,n){var r,i;n&&f.isObject(t)&&f.isObject(e)&&(r=l.flattenClientEventPayload(t,e),i={l:l.stringify(r)},l.noticeSeen(t)&&(i.notice_seen=!0),r.dnt&&(i.dnt=1),c(d.url(n,i)))}function r(t,e,n,r){var i=!f.isObject(t),o=!!e&&!f.isObject(e);if(!i&&!o)return a(l.flattenClientEventPayload(l.formatClientEventNamespace(t),l.formatClientEventData(e,n,r)))}function a(t){return m.push(t),m}function u(t){return encodeURIComponent(t).length+3}function c(t){return(new Image).src=t}var i=n(46),d=n(25),l=n(50),f=n(12),h=n(18).get("scribeCallback"),p=2083,m=[],v=d.url(l.CLIENT_EVENT_ENDPOINT,{dnt:0,l:""}),g=encodeURIComponent(v).length;t.exports={_enqueueRawObject:a,scribe:s,clientEvent:o,clientEvent2:function(t,e,n){return o(t,e,n,2)},enqueueClientEvent:r,flushClientEvents:function(){var s;return 1<m.length&&r({page:"widgets_js",component:"scribe_pixel",action:"batch_log"},{}),s=m,m=[],s.reduce(function(n,t,e){var r=n.length,i=r&&n[r-1];return e+1==s.length&&t.event_namespace&&"batch_log"==t.event_namespace.action&&(t.message=["entries:"+e,"requests:"+r].join("/")),function o(t){return Array.isArray(t)||(t=[t]),t.reduce(function(t,e){var n,r=l.stringify(e),i=u(r);return g+i<p?t=t.concat(r):1<(n=l.splitLogEntry(e)).length&&(t=t.concat(o(n))),t},[])}(t).forEach(function(t){var e=u(t);(!i||i.urlLength+e>p)&&(i={urlLength:g,items:[]},n.push(i)),i.urlLength+=e,i.items.push(t)}),n},[]).map(function(t){var e={l:t.items};return i.enabled()&&(e.dnt=1),c(d.url(l.CLIENT_EVENT_ENDPOINT,e))})},interaction:function(t,e,n,r){var i=l.extractTermsFromDOM(t.target||t.srcElement);i.action=r||"click",o(i,e,n)}}},function(e,t,n){function r(t,e){this._inputsQueue=[],this._task=t,this._isPaused=!1,this._flushDelay=e&&e.flushDelay||100,this._pauseLength=e&&e.pauseLength||3e3,this._flushTimeout=void 0}var i=n(1),o=n(15);r.prototype.add=function(t){var e=new i;return this._inputsQueue.push({input:t,taskDoneDeferred:e}),this._scheduleFlush(),e.promise},r.prototype._scheduleFlush=function(){this._isPaused||(clearTimeout(this._flushTimeout),this._flushTimeout=setTimeout(o(this._flush,this),this._flushDelay))},r.prototype._flush=function(){try{this._task.call(null,this._inputsQueue)}catch(e){this._inputsQueue.forEach(function(t){t.taskDoneDeferred.reject(e)})}this._inputsQueue=[],this._flushTimeout=void 0},r.prototype.pause=function(t){clearTimeout(this._flushTimeout),this._isPaused=!0,!t&&this._pauseLength&&setTimeout(o(this.resume,this),this._pauseLength)},r.prototype.resume=function(){this._isPaused=!1,this._scheduleFlush()},e.exports=r},function(t,e,n){function r(e){return o.settingsLoaded().then(function(t){return t[e]})}function i(){return r("experiments")}var o=n(74);t.exports={isBucketed:function(){return r("isBucketed")},shouldObtainCookieConsent:function(){return r("shouldObtainCookieConsent")},getExperiments:i,getExperiment:function(e){return i().then(function(t){if(!t[e])throw new Error("Experiment not found");return t[e]})},getExperimentKeys:function(){return i().then(function(t){return Object.keys(t)})},load:function(){o.load()}}},function(t,e,n){function i(t){var e=t||{is_bucketed:!1,should_obtain_cookie_consent:!0,experiments:{}};return new r(e.is_bucketed,e.should_obtain_cookie_consent,e.experiments)}var o,s=n(45),a=n(1),u=n(9),c=n(51),d=n(11),l=n(25),f=n(7),h=n(8),p=n(75),m=n(76),r=(n(10),n(77));t.exports={load:function(){var t,n,e,r;return o=new a,h.ie9()||h.ie10()||"http:"!==d.protocol&&"https:"!==d.protocol?void o.resolve(i()):(t={origin:d.origin},n=l.url(p.resourceBaseUrl+p.widgetIframeHtmlPath,t),e=function(t){var e;if(n.substr(0,t.origin.length)===t.origin)try{(e=c.parse(t.data)).namespace===m.settings&&o.resolve(i(e.settings))}catch(t){}},f.addEventListener("message",e),r=s({src:n},{display:"none"}),void u.body.appendChild(r))},settingsLoaded:function(){var e=new a;return o.promise.then(function(t){e.resolve(t)})["catch"](function(t){e.reject(t)}),e.promise}}},function(t,e){t.exports={tweetButtonHtmlPath:"/widgets/tweet_button.f47a2e0b4471326b6fa0f163bda46011.{{lang}}.html",followButtonHtmlPath:"/widgets/follow_button.f47a2e0b4471326b6fa0f163bda46011.{{lang}}.html",hubHtmlPath:"/widgets/hub.html",widgetIframeHtmlPath:"/widgets/widget_iframe.f47a2e0b4471326b6fa0f163bda46011.html",resourceBaseUrl:"https://platform.twitter.com"}},function(t,e){t.exports={settings:"twttr.settings"}},function(t,e){t.exports=function(t,e,n){this.isBucketed=t,this.shouldObtainCookieConsent=e,this.experiments=n||{}}},function(t,e,n){t.exports=[n(79),n(112),n(127),n(162),n(173),n(179),n(224),n(243),n(248)]},function(t,e,n){var f=n(25),h=n(26),p=n(12),m=n(80),r=n(82)(),v=n(85);t.exports=function(t){return r(t,"a.twitter-dm-button").map(function(t){return v((n=(e=t).getAttribute("data-show-screen-name"),r=m(e),i=e.getAttribute("href"),o=e.getAttribute("data-screen-name"),s=n?h.asBoolean(n):null,a=e.getAttribute("data-size"),u=f.decodeURL(i),c=u.recipient_id,d=e.getAttribute("data-text")||u.text,l=e.getAttribute("data-welcome-message-id")||u.welcomeMessageId,p.aug(r,{screenName:o,showScreenName:s,size:a,text:d,userId:c,welcomeMessageId:l})),t.parentNode,t);var e,n,r,i,o,s,a,u,c,d,l})}},function(t,e,n){var i=n(46),o=n(26),s=n(25),a=n(12),u=n(81);t.exports=function(t){var e=t.href&&t.href.split("?")[1],r=e?s.decode(e):{},n={lang:u(t),width:t.getAttribute("data-width")||t.getAttribute("width"),height:t.getAttribute("data-height")||t.getAttribute("height"),related:t.getAttribute("data-related"),partner:t.getAttribute("data-partner")};return o.asBoolean(t.getAttribute("data-dnt"))&&i.setOn(),a.forIn(n,function(t,e){var n=r[t];r[t]=o.hasValue(n)?n:e}),a.compact(r)}},function(t,e,n){var r=n(12);t.exports=function i(t){var e;if(t)return e=t.lang||t.getAttribute("data-lang"),r.isType("string",e)?e:i(t.parentElement)}},function(t,e,n){var r=n(83),i=n(29);t.exports=function(){var n="data-twitter-extracted-"+i.generate();return function(t,e){return r(t,e).filter(function(t){return!t.hasAttribute(n)}).map(function(t){return t.setAttribute(n,"true"),t})}}},function(t,e,n){var r=n(12),i=n(84);t.exports=function(t,e){return i(t,e)?[t]:r.toRealArray(t.querySelectorAll(e))}},function(t,e,n){var r=n(7).HTMLElement,i=r.prototype.matches||r.prototype.matchesSelector||r.prototype.webkitMatchesSelector||r.prototype.mozMatchesSelector||r.prototype.msMatchesSelector||r.prototype.oMatchesSelector;t.exports=function(t,e){if(i)return i.call(t,e)}},function(t,e,n){var r=n(86),i=n(87),o=n(108);t.exports=function(t,e,n){return new r(i,o,"twitter-dm-button",t,e,n)}},function(t,e){function n(t,e,n,r,i,o){this.factory=t,this.Sandbox=e,this.srcEl=o,this.targetEl=i,this.parameters=r,this.className=n}n.prototype.destroy=function(){this.srcEl=this.targetEl=null},t.exports=n},function(t,e,s){var n=s(1);t.exports=function(r,i){var o=new n;return s.e(1,function(t,e){var n;if(t)return o.reject(t);try{n=s(88),o.resolve(new n(r,i))}catch(r){o.reject(r)}}),o.promise}},,function(t,e,n){var r=n(55),i=n(90),o=n(15);(r=Object.create(r)).build=o(r.build,null,i),t.exports=r},function(t,e,n){function r(){i.apply(this,arguments),this.Widget=this.Component}var i=n(59),o=n(12),s=n(91);r.prototype=Object.create(i.prototype),o.aug(r.prototype,{factory:s,build:function(){return i.prototype.build.apply(this,arguments)},selectors:function(t){var e=this.Widget.prototype.selectors;t=t||{},this.Widget.prototype.selectors=o.aug({},t,e)}}),t.exports=r},function(t,e,n){var r=n(2),o=n(20),i=n(61),s=n(12),a=n(15),u=n(92);t.exports=function(){function t(t,e){n.apply(this,arguments),this.id="twitter-widget-"+u(),this.sandbox=e}var n=i();return t.prototype=Object.create(n.prototype),s.aug(t.prototype,{selectors:{},hydrate:function(){return r.resolve()},prepForInsertion:function(){},render:function(){return r.resolve()},show:function(){return r.resolve()},resize:function(){return r.resolve()},select:function(t,e){return 1===arguments.length&&(e=t,t=this.el),t?(e=this.selectors[e]||e,s.toRealArray(t.querySelectorAll(e))):[]},selectOne:function(){return this.select.apply(this,arguments)[0]},selectLast:function(){return this.select.apply(this,arguments).pop()},on:function(t,e,n){var r,i=this.el;this.el&&(t=(t||"").split(/\s+/),2===arguments.length?n=e:r=e,r=this.selectors[r]||r,n=a(n,this),t.forEach(r?function(t){o.delegate(i,t,r,n)}:function(t){i.addEventListener(t,n,!1)}))}}),t}},function(t,e){var n=0;t.exports=function(){return String(n++)}},,function(t,e,n){function r(t,e,n){var r,i;return n="dark"===n?"dark":"light",r=o.isRtlLang(e)?"rtl":"ltr",i=[t,s.css,n,r,"css"].join("."),a.resourceBaseUrl+"/css/"+i}var o=n(95),s=n(98),i=n(15),a=n(75);t.exports={dmButton:function(){return a.resourceBaseUrl+"/css/"+["dm_button",s.css,"css"].join(".")},tweet:i(r,null,"tweet"),timeline:i(r,null,"timeline"),video:i(r,null,"video"),moment:i(r,null,"moment"),grid:i(r,null,"grid"),periscopeOnAir:function(){return a.resourceBaseUrl+"/css/"+["periscope_on_air",s.css,"css"].join(".")}}},function(t,e,n){var r=n(12),i=n(96),o=["ar","fa","he","ur"];t.exports={isRtlLang:function(t){return t=String(t).toLowerCase(),r.contains(o,t)},matchLanguage:function(t){return t=(t=(t||"").toLowerCase()).replace("_","-"),i(t)?t:(t=t.replace(/-.*/,""),i(t)?t:"en")}}},function(t,e,n){var r=n(12),i=n(97);t.exports=function(t){return"en"===t||r.contains(i,t)}},function(t,e){t.exports=["hi","zh-cn","fr","zh-tw","msa","fil","fi","sv","pl","ja","ko","de","it","pt","es","ru","id","tr","da","no","nl","hu","fa","ar","ur","he","th","cs","uk","vi","ro","bn","el","en-gb","gu","kn","mr","ta","bg","ca","hr","sr","sk"]},function(t,e){t.exports={css:"529166ecfeb05abf3ee5afe0a8c349a4"}},,function(t,e,n){var r=n(101),i=n(24),o="data-url-ref-attrs-injected";t.exports=function(t){t.define("injectRefUrlParams",function(t){t.getAttribute(o)||(t.setAttribute(o,!0),t.href=r(t.href))}),t.after("render",function(){this.on("click","A",function(t,e){i.isTwitterURL(e.href)&&this.injectRefUrlParams(e)})})}},function(t,e,n){var r=n(25),i=n(47);t.exports=function(t){return r.url(t,{ref_src:"twsrc^tfw",ref_url:i.rootDocumentLocation()})}},function(t,e,n){var r=n(42),i=n(50),o=n(47),s=n(12),a=n(15),u=n(41),c=n(26),d=n(103);t.exports=function(t){t.params({partner:{fallback:a(u.val,u,"partner")}}),t.define("scribeItems",function(){return{}}),t.define("scribeNamespace",function(){return{client:"tfw"}}),t.define("scribeData",function(){return{widget_origin:o.rootDocumentLocation(),widget_frame:o.isFramed()&&o.currentDocumentLocation(),widget_partner:this.params.partner,widget_site_screen_name:d(u.val("site")),widget_site_user_id:c.asNumber(u.val("site:id")),widget_creator_screen_name:d(u.val("creator")),widget_creator_user_id:c.asNumber(u.val("creator:id"))}}),t.define("scribe",function(t,e,n){t=s.aug(this.scribeNamespace(),t||{}),e=s.aug(this.scribeData(),e||{}),r.scribe(t,e,!1,n)}),t.define("scribeInteraction",function(t,e,n){var r=i.extractTermsFromDOM(t.target);r.action=t.type,"url"===r.element&&(r.element=i.clickEventElement(t.target)),this.scribe(r,e,n)})}},function(t,e){t.exports=function(t){return t&&"@"===t[0]?t.substr(1):t}},,function(t,e,n){var r=n(22),i=n(89),o=n(106);t.exports=i.couple(n(102),function(t){t.selectors({tweetIdInfo:".js-tweetIdInfo"}),t.define("scribeClickInteraction",function(t,e){var n=r.closest(this.selectors.tweetIdInfo,e,this.el);this.scribeInteraction(t,function(t){var e;if(t)return e=o([t]),{item_ids:Object.keys(e),item_details:e}}(n))}),t.after("render",function(){this.on("click","A",this.scribeClickInteraction),this.on("click","BUTTON",this.scribeClickInteraction)})})},function(t,e,n){var i=n(107);t.exports=function(t){return t?(t=Array.isArray(t)?t:[t]).reduce(function(t,e){var n=e.getAttribute("data-tweet-id"),r=e.getAttribute("data-rendered-tweet-id")||n;return n===r?t[r]={item_type:i.TWEET}:n&&(t[r]={item_type:i.RETWEET,target_type:i.TWEET,target_id:n}),t},{}):{}}},function(t,e){t.exports={TWEET:0,RETWEET:10,CUSTOM_TIMELINE:17,LIVE_VIDEO_EVENT:28}},function(t,e,n){var r=n(109),i=n(53);t.exports=r.isSupported()?r:i},function(t,e,n){var r=n(54),i=n(110);t.exports=r.build([i])},function(t,e,n){var r=n(111),i=n(7),o=n(21),u=n(20),c=n(36),s=n(64),a=n(54),d=n(65),l=n(66),f=n(8),h=n(68),p=n(15),m=n(67),v=n(2),g=n(12),w={position:"absolute",visibility:"hidden",display:"block",transform:"rotate(0deg)"},y={position:"static",visibility:"visible"};t.exports=a.couple(n(69),function(t){t.defineStatic("isSupported",function(){return!!i.HTMLElement.prototype.createShadowRoot&&l.inlineStyle()&&!f.android()}),t.overrideProperty("id",{get:function(){return this.sandboxEl&&this.sandboxEl.id}}),t.overrideProperty("initialized",{get:function(){return!!this._shadowHost}}),t.overrideProperty("width",{get:function(){return this._width}}),t.overrideProperty("height",{get:function(){return this._height}}),t.overrideProperty("sandboxEl",{get:function(){return this._shadowHost}}),t.define("_updateCachedDimensions",function(){var n=this;return c.read(function(){var t,e=h(n.sandboxEl);"visible"==n.sandboxEl.style.visibility?n._width=e.width:(t=h(n.sandboxEl.parentElement).width,n._width=Math.min(e.width,t)),n._height=e.height})}),t.define("_didResize",function(){var e=this,t=this._resizeHandlers.slice(0);return this._updateCachedDimensions().then(function(){t.forEach(function(t){t(e)})})}),t.override("createElement",function(t){return this.targetGlobal.document.createElement(t)}),t.override("createFragment",function(){return this.targetGlobal.document.createDocumentFragment()}),t.override("htmlToElement",function(t){var e=this.createElement("div");return e.innerHTML=t,e.firstElementChild}),t.override("hasSelectedText",function(){return!!s.getSelectedText(this.targetGlobal)}),t.override("addRootClass",function(t){var e=this._shadowRootBody;return t=Array.isArray(t)?t:[t],this.initialized?c.write(function(){t.forEach(function(t){o.add(e,t)})}):v.reject(new Error("sandbox not initialized"))}),t.override("removeRootClass",function(t){var e=this._shadowRootBody;return t=Array.isArray(t)?t:[t],this.initialized?c.write(function(){t.forEach(function(t){o.remove(e,t)})}):v.reject(new Error("sandbox not initialized"))}),t.override("hasRootClass",function(t){return o.present(this._shadowRootBody,t)}),t.override("addStyleSheet",function(t,e){return this.addCss('@import url("'+t+'");',e).then(function(){return d(t)})}),t.override("prependStyleSheet",function(t){var n=this._shadowRoot;return this.addStyleSheet(t,function(t){var e=n.firstElementChild;return e?n.insertBefore(t,e):n.appendChild(t)})}),t.override("appendStyleSheet",function(t){var e=this._shadowRoot;return this.addStyleSheet(t,function(t){return e.appendChild(t)})}),t.override("addCss",function(t,e){var n;return this.initialized?l.inlineStyle()?((n=this.createElement("style")).type="text/css",n.appendChild(this.targetGlobal.document.createTextNode(t)),c.write(p(e,null,n))):v.resolve():v.reject(new Error("sandbox not initialized"))}),t.override("prependCss",function(t){var n=this._shadowRoot;return this.addCss(t,function(t){var e=n.firstElementChild;return e?n.insertBefore(t,e):n.appendChild(t)})}),t.override("appendCss",function(t){var e=this._shadowRoot;return this.addCss(t,function(t){return e.appendChild(t)})}),t.override("makeVisible",function(){return this.styleSelf(y)}),t.override("injectWidgetEl",function(t){var e=this;return this.initialized?this._shadowRootBody.firstElementChild?v.reject(new Error("widget already injected")):c.write(function(){e._shadowRootBody.appendChild(t)}).then(function(){return e._updateCachedDimensions()}).then(function(){var t=m(e._didResize,50,e);new r(e._shadowRootBody,t)}):v.reject(new Error("sandbox not initialized"))}),t.override("matchHeightToContent",function(){return v.resolve()}),t.override("matchWidthToContent",function(){return v.resolve()}),t.override("insert",function(t,e,n,r){var i=this.targetGlobal.document,o=this._shadowHost=i.createElement("twitterwidget"),s=this._shadowRoot=o.createShadowRoot(),a=this._shadowRootBody=i.createElement("div");return g.forIn(e||{},function(t,e){o.setAttribute(t,e)}),o.id=t,s.appendChild(a),u.delegate(a,"click","A",function(t,e){e.hasAttribute("target")||e.setAttribute("target","_blank")}),v.all([this.styleSelf(w),this.addRootClass("SandboxRoot"),this.prependCss(".SandboxRoot { display: none; }"),c.write(r.bind(null,o))])}),t.override("onResize",function(t){this._resizeHandlers.push(t)}),t.after("initialize",function(){this._shadowHost=this._shadowRoot=this._shadowRootBody=null,this._width=this._height=0,this._resizeHandlers=[]}),t.after("styleSelf",function(){return this._updateCachedDimensions()})})},function(t,e){var a;(a=function(n,t){function p(){var t,e;this.q=[],this.add=function(t){this.q.push(t)},this.call=function(){for(t=0,e=this.q.length;t<e;t++)this.q[t].call()}}function e(t,e){if(t.resizedAttached){if(t.resizedAttached)return t.resizedAttached.add(e),0}else t.resizedAttached=new p,t.resizedAttached.add(e);t.resizeSensor=document.createElement("div"),t.resizeSensor.className="resize-sensor";var n,r,i="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",o="position: absolute; left: 0; top: 0; transition: 0s;";t.resizeSensor.style.cssText=i,t.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+i+'"><div style="'+o+'"></div></div><div class="resize-sensor-shrink" style="'+i+'"><div style="'+o+' width: 200%; height: 200%"></div></div>',t.appendChild(t.resizeSensor),{fixed:1,absolute:1}[r="position",(n=t).currentStyle?n.currentStyle[r]:window.getComputedStyle?window.getComputedStyle(n,null).getPropertyValue(r):n.style[r]]||(t.style.position="relative");var s,a,u=t.resizeSensor.childNodes[0],c=u.childNodes[0],d=t.resizeSensor.childNodes[1],l=(d.childNodes[0],function(){c.style.width=u.offsetWidth+10+"px",c.style.height=u.offsetHeight+10+"px",u.scrollLeft=u.scrollWidth,u.scrollTop=u.scrollHeight,d.scrollLeft=d.scrollWidth,d.scrollTop=d.scrollHeight,s=t.offsetWidth,a=t.offsetHeight});l();var f=function(t,e,n){t.attachEvent?t.attachEvent("on"+e,n):t.addEventListener(e,n)},h=function(){t.offsetWidth==s&&t.offsetHeight==a||t.resizedAttached&&t.resizedAttached.call(),l()};f(u,"scroll",h),f(d,"scroll",h)}var r=Object.prototype.toString.call(n),i="[object Array]"===r||"[object NodeList]"===r||"[object HTMLCollection]"===r||"undefined"!=typeof jQuery&&n instanceof jQuery||"undefined"!=typeof Elements&&n instanceof Elements;if(i)for(var o=0,s=n.length;o<s;o++)e(n[o],t);else e(n,t);this.detach=function(){if(i)for(var t=0,e=n.length;t<e;t++)a.detach(n[t]);else a.detach(n)}}).detach=function(t){t.resizeSensor&&(t.removeChild(t.resizeSensor),delete t.resizeSensor,delete t.resizedAttached)},void 0!==t&&"undefined"!=typeof t.exports?t.exports=a:window.ResizeSensor=a},function(t,e,n){var i=n(24),o=n(12),s=n(80),r=n(82)(),a=n(113),u=n(26);t.exports=function(t){return r(t,"a.twitter-follow-button").map(function(t){return a((r=s(e=t),n={screenName:i.screenName(e.href),showScreenName:"false"!==e.getAttribute("data-show-screen-name"),showCount:"false"!==e.getAttribute("data-show-count"),size:e.getAttribute("data-size"),count:e.getAttribute("data-count"),preview:e.getAttribute("data-preview")},o.forIn(n,function(t,e){var n=r[t];r[t]=u.hasValue(n)?n:e}),r.screenName=r.screenName||r.screen_name,r),t.parentNode,t);var e,r,n})}},function(t,e,n){var r=n(86),i=n(114),o=n(119);t.exports=function(t,e,n){return new r(i,o,"twitter-follow-button",t,e,n)}},function(t,e,s){var n=s(1);t.exports=function(r,i){var o=new n;return s.e(2,function(t,e){var n;if(t)return o.reject(t);try{n=s(115),o.resolve(new n(r,i))}catch(r){o.reject(r)}}),o.promise}},,,,function(t,e,n){var r=n(26),i=n(12);t.exports=function(t){t.define("widgetDataAttributes",function(){return{}}),t.define("setDataAttributes",function(){var n=this.sandbox.sandboxEl;i.forIn(this.widgetDataAttributes(),function(t,e){r.hasValue(e)&&n.setAttribute("data-"+t,e)})}),t.after("render",function(){this.setDataAttributes()})}},function(t,e,n){var r=n(54),i=n(120);t.exports=r.build([i])},function(t,e,n){var o=n(36),r=n(121),s=n(126),a=n(45),i=n(1),u=n(2),c=n(15),d=n(12),l={position:"absolute",visibility:"hidden",width:"0px",height:"0px"},f={position:"static",visibility:"visible"},h={};r(function(t,e,n){var r=h[t];if(r)return e=e||1,n=n||1,r.styleSelf({width:e+"px",height:n+"px"}).then(function(){r.didResize()})}),t.exports=function(t){t.overrideProperty("id",{get:function(){return this.sandboxEl&&this.sandboxEl.id}}),t.overrideProperty("initialized",{get:function(){return!!this.iframeEl}}),t.overrideProperty("width",{get:function(){return this._width}}),t.overrideProperty("height",{get:function(){return this._height}}),t.overrideProperty("sandboxEl",{get:function(){return this.iframeEl}}),t.defineProperty("iframeEl",{get:function(){return this._iframe}}),t.define("updateCachedDimensions",function(){var t=this;return this.initialized?o.read(function(){t._width=t.sandboxEl.offsetWidth,t._height=t.sandboxEl.offsetHeight}):u.resolve()}),t.define("setTitle",function(t){this.iframeEl.title=t}),t.define("makeVisible",function(){return this.styleSelf(f)}),t.define("didResize",function(){var e=this,t=0<e._resizeHandlers.length;return this.updateCachedDimensions().then(function(){t&&e._resizeHandlers.forEach(function(t){t(e)})})}),t.define("loadDocument",function(t){var e=new i;return this.initialized?this.iframeEl.src?u.reject(new Error("widget already loaded")):(this.iframeEl.addEventListener("load",e.resolve,!1),this.iframeEl.addEventListener("error",e.reject,!1),this.iframeEl.src=t,e.promise):u.reject(new Error("sandbox not initialized"))}),t.after("initialize",function(){this._iframe=null,this._width=this._height=0,this._resizeHandlers=[]}),t.override("insert",function(t,e,n,r){var i=this;return e=d.aug({id:t},e),n=d.aug({},l,n),this._iframe=a(e,n),(h[t]=this).onResize(s(function(){i.makeVisible()})),o.write(c(r,null,this._iframe))}),t.override("onResize",function(t){this._resizeHandlers.push(t)}),t.after("styleSelf",function(){return this.updateCachedDimensions()})}},function(t,e,n){var r=n(7),i=n(122),s=n(124),a=n(30),u=n(26),c=n(125);t.exports=function(o){(new i).attachReceiver(new s.Receiver(r,"twttr.button")).bind("twttr.private.trigger",function(t,e){var n=c(this);a.trigger(t,{target:n,region:e,type:t,data:{}})}).bind("twttr.private.resizeButton",function(t){var e=c(this),n=e&&e.id,r=u.asInt(t.width),i=u.asInt(t.height);n&&void 0!==r&&void 0!==i&&o(n,r,i)})}},function(t,e,n){function r(t){this.registry=t||{}}function u(t){var e=l.isType("string",t),n=l.isType("number",t);return e||n||null===t}function c(t,e){return{jsonrpc:h,id:u(t)?t:null,error:e}}var a=n(51),d=n(123),l=n(12),f=n(2),o=n(33),h="2.0";r.prototype._invoke=function(t,e){var n,r=this.registry[t.method],i=t.params||[];i=l.isType("array",i)?i:[i];try{n=r.apply(e.source||null,i)}catch(t){n=f.reject(t.message)}return o.isPromise(n)?n:f.resolve(n)},r.prototype._processRequest=function(n,t){var e,r,i,o,s,a;return i=n,l.isObject(i)&&(o=i.jsonrpc===h,s=l.isType("string",i.method),a=!("id"in i)||u(i.id),o&&s&&a)?(e="params"in n&&(r=n.params,!l.isObject(r)||l.isType("function",r))?f.resolve(c(n.id,d.INVALID_PARAMS)):this.registry[n.method]?this._invoke(n,{source:t}).then(function(t){return e=n.id,{jsonrpc:h,id:e,result:t};var e},function(){return c(n.id,d.INTERNAL_ERROR)}):f.resolve(c(n.id,d.METHOD_NOT_FOUND)),null!=n.id?e:f.resolve()):f.resolve(c(n.id,d.INVALID_REQUEST))},r.prototype.attachReceiver=function(t){return t.attachTo(this),this},r.prototype.bind=function(t,e){return this.registry[t]=e,this},r.prototype.receive=function(t,e){var n,r,i,o,s=this;try{i=t,t=l.isType("string",i)?a.parse(i):i}catch(t){return f.resolve(c(null,d.PARSE_ERROR))}return e=e||null,r=((n=l.isType("array",t))?t:[t]).map(function(t){return s._processRequest(t,e)}),n?(o=r,f.all(o).then(function(t){return(t=t.filter(function(t){return void 0!==t})).length?t:void 0})):r[0]},t.exports=r},function(t,e){t.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"}}},function(t,e,n){function r(t,e,n){var r;t&&t.postMessage&&(v?r=(n||"")+d.stringify(e):n?(r={})[n]=e:r=e,t.postMessage(r,"*"))}function i(t){return h.isType("string",t)?t:"JSONRPC"}function o(t,e){return e?h.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=i(e),this.server=null,this.isTwitterFrame=p.isTwitterURL(n.location.href),t.addEventListener("message",m(this._onMessage,this),!1)}function a(t,e){this.pending={},this.target=t,this.isTwitterHost=p.isTwitterURL(u.href),this.filter=i(e),c.addEventListener("message",m(this._onMessage,this),!1)}var u=n(11),c=n(7),d=n(51),l=n(1),f=n(8),h=n(12),p=n(24),m=n(15),v=f.ie9();h.aug(s.prototype,{_onMessage:function(e){var t,n=this;this.server&&(this.isTwitterFrame&&!p.isTwitterURL(e.origin)||(t=o(e.data,this.filter))&&this.server.receive(t,e.source).then(function(t){t&&r(e.source,t,n.filter)}))},attachTo:function(t){this.server=t},detach:function(){this.server=null}}),h.aug(a.prototype,{_processResponse:function(t){var e=this.pending[t.id];e&&(e.resolve(t),delete this.pending[t.id])},_onMessage:function(t){var e;if((!this.isTwitterHost||p.isTwitterURL(t.origin))&&(e=o(t.data,this.filter))){if(h.isType("string",e))try{e=d.parse(e)}catch(t){return}(e=h.isType("array",e)?e:[e]).forEach(m(this._processResponse,this))}},send:function(t){var e=new l;return t.id?this.pending[t.id]=e:e.resolve(),r(this.target,t,this.filter),e.promise}}),t.exports={Receiver:s,Dispatcher:a,_stringifyPayload:function(t){return 0<arguments.length&&(v=!!t),v}}},function(t,e,n){var i=n(9);t.exports=function(t){for(var e,n=i.getElementsByTagName("iframe"),r=0;n[r];r++)if((e=n[r]).contentWindow===t)return e}},function(t,e){t.exports=function(t){var e,n=!1;return function(){return n?e:(n=!0,e=t.apply(this,arguments))}}},function(t,e,n){var i=n(26),o=n(12),s=n(24),a=n(80),r=n(82)(),u=n(128);t.exports=function(t){return r(t,"a.twitter-grid").map(function(t){return u((r=a(e=t),n={collectionId:s.collectionId(e.href),chrome:e.getAttribute("data-chrome"),limit:e.getAttribute("data-limit")},o.forIn(n,function(t,e){var n=r[t];r[t]=i.hasValue(n)?n:e}),r),t.parentNode,t);var e,r,n})}},function(t,e,n){var r=n(86),i=n(129),o=n(53);t.exports=function(t,e,n){return new r(i,o,"twitter-grid",t,e,n)}},function(t,e,s){var n=s(1);t.exports=function(r,i){var o=new n;return s.e(3,function(t,e){var n;if(t)return o.reject(t);try{n=s(130),o.resolve(new n(r,i))}catch(r){o.reject(r)}}),o.promise}},,,,function(t,e,n){var a=n(9),u=n(18),c=n(1),d=n(12),l=n(25),f="cb",h=0;t.exports={fetch:function(t,e,n,r){var i,o,s;return r=function(t){if(t)return t.replace(/[^\w$]/g,"_")}(r||f+h++),i=u.fullPath(["callbacks",r]),o=a.createElement("script"),s=new c,e=d.aug({},e,{callback:i,suppress_response_codes:!0}),u.set(["callbacks",r],function(t){var e=n(t||!1);t=e.resp,e.success?s.resolve(t):s.reject(t),o.onload=o.onreadystatechange=null,o.parentNode&&o.parentNode.removeChild(o),u.unset(["callbacks",r])}),o.onerror=function(){s.reject(new Error("failed to fetch "+o.src))},o.src=l.url(t,e),o.async="async",a.body.appendChild(o),s.promise}}},function(t,e,n){var r=n(10);t.exports=function(t){var e=t.headers&&t.headers.status,n=t&&!t.error&&200===e;return!n&&t.headers&&t.headers.message&&r.warn(t.headers.message),{success:n,resp:t}}},function(t,e){t.exports={getTimezoneOffset:function(){var t=(new Date).toString().match(/(GMT[+-]?\d+)/);return t&&t[0]||"GMT"}}},function(t,e){t.exports=function(){return Math.floor(new Date/9e5)}},function(t,e,n){function r(t,e){var i=[t];return e.forEach(function(t){var e,n,r;i.push((e=(t||"").toString(),n=function(t){return"/"===t.slice(0,1)}(e)?1:0,r=function(t){return"/"===t.slice(-1)}(e)?-1:void 0,e.slice(n,r)))}),i.join("/")}var i=n(18),o="https://cdn.syndication.twimg.com",s="https://syndication.twitter.com",a=function(){return i.get("backendHost")||o},u=function(){return i.get("settingsSvcHost")||s};t.exports={cookieConsent:function(t){var e=t||[];return e.unshift("cookie/consent"),r(u(),e)},disableCDN:function(){i.init("backendHost",s)},enableCDN:function(){i.unset("backendHost",s)},eventVideo:function(t){var e=t||[];return e.unshift("video/event"),r(a(),e)},grid:function(t){var e=t||[];return e.unshift("grid/collection"),r(a(),e)},moment:function(t){var e=t||[];return e.unshift("moments"),r(a(),e)},settings:function(t){var e=t||[];return e.unshift("settings"),r(u(),e)},timeline:function(t){var e=t||[];return e.unshift("timeline"),r(a(),e)},timelinePreconfigured:function(t){var e=t||[];return e.unshift("widgets/timelines"),r(a(),e)},tweetBatch:function(t){var e=t||[];return e.unshift("tweets.json"),r(a(),e)},video:function(t){var e=t||[];return e.unshift("widgets/video"),r(a(),e)}}},function(t,e,n){var r=n(9),i=n(26),o=r.createElement("div");t.exports=function(t){return i.isNumber(t)&&(t+="px"),o.style.width="",o.style.width=t,o.style.width||null}},function(t,e,n){var r=n(36),i=n(140);t.exports=function(t){t.after("prepForInsertion",function(t){i.sizeIframes(t,this.sandbox.width,375,r.sync)}),t.after("resize",function(){i.sizeIframes(this.el,this.sandbox.width,375,r.write)})}},function(t,e,n){function r(t,e){(t.getAttribute("data-image")?i:o)(t,e)}function u(t){var e=t.split(" ");this.url=decodeURIComponent(e[0].trim()),this.width=+e[1].replace(/w$/,"").trim()}function i(t,e){var n,r,i=m.decodeURL(t.src).name,o=i&&v(C,function(t){if(A[t]===i)return t}),s=c(e)||680;s<=o||(n=t.getAttribute("data-image"),r=v(C,function(t){if(s<=t)return t})||4096,t.src=m.url(n,{format:"jpg",name:A[r]}))}function c(t){return f.devicePixelRatio?t*f.devicePixelRatio:t}function o(t,e){var n,r=t.getAttribute("data-srcset"),i=t.src;r&&(n=function(t,e,n){var r,i,o,s=c(t),a=e.split(",").map(function(t){return new u(t.trim())});if(n)for(o=0;o<a.length;o++)a[o].url===n&&(r=a[o]);return i=a.reduce(function(t,e){return e.width<t.width&&e.width>=s?e:t},a[0]),r&&r.width>i.width?r:i}(e,r,i),t.src=n.url)}function s(t,e,n){t&&(h.toRealArray(t.querySelectorAll(".NaturalImage-image")).forEach(function(t){n(function(){r(t,e)})}),h.toRealArray(t.querySelectorAll(".CroppedImage-image")).forEach(function(t){n(function(){r(t,e/2)})}),h.toRealArray(t.querySelectorAll("img.autosized-media")).forEach(function(t){n(function(){r(t,e),t.removeAttribute("width"),t.removeAttribute("height")})}))}function a(t,n,r,i){t&&h.toRealArray(t.querySelectorAll("iframe.autosized-media, .wvp-player-container")).forEach(function(t){var e=d(t.getAttribute("data-width"),t.getAttribute("data-height"),w.effectiveWidth(t.parentElement)||n,r);i(function(){t.setAttribute("width",e.width),t.setAttribute("height",e.height),y.present(t,"wvp-player-container")?(t.style.width=e.width,t.style.height=e.height):(t.width=e.width,t.height=e.height)})})}function d(t,e,n,r,i,o){return r=r||e,(n=n||t)<t&&(e*=n/t,t=n),r<e&&(t*=r/e,e=r),t<(i=i||0)&&(e*=i/t,t=i),e<(o=o||0)&&(t*=o/e,e=o),{width:Math.floor(t),height:Math.floor(e)}}function l(t,e,r,i){h.toRealArray(t.querySelectorAll(e)).forEach(function(t){var e=t.getAttribute("style")||t.getAttribute("data-style"),n=i.test(e)&&RegExp.$1;n&&(t.setAttribute("data-csp-fix",!0),t.style[r]=n)})}var f=n(7),h=n(12),p=n(66),m=n(25),v=n(141),g=n(8),w=n(142),y=n(21),b=/max-width:\s*([\d.]+px)/,_=/top:\s*(-?[\d.]+%)/,E=/left:\s*(-?[\d.]+%)/,x=/padding-bottom:\s*([\d.]+%)/,A={64:"tiny",120:"120x120",240:"240x240",360:"360x360",680:"small",900:"900x900",1200:"medium",2048:"large",4096:"4096x4096"},C=Object.keys(A).sort(function(t,e){return t-e});t.exports={scaleDimensions:d,retinize:function(t,r){r=void 0!==r?!!r:g.retina(),h.toRealArray(t.getElementsByTagName("IMG")).forEach(function(t){var e=t.getAttribute("data-src-1x")||t.getAttribute("src"),n=t.getAttribute("data-src-2x");r&&n?t.src=n:e&&(t.src=e)})},setSrcForImgs:s,sizeIframes:a,constrainMedia:function(t,e,n,r){s(t,e,r),a(t,e,n,r)},fixMediaCardLayout:function(t){p.inlineStyle()||(l(t,".MediaCard-widthConstraint","maxWidth",b),l(t,".MediaCard-mediaContainer","paddingBottom",x),l(t,".CroppedImage-image","top",_),l(t,".CroppedImage-image","left",E))},__setSrcFromSet:o,__setSrcFromImage:i,__setImageSrc:r}},function(t,e){t.exports=function(t,e,n){for(var r,i=0;i<t.length;i++)if(r=e.call(n,t[i],i,t))return r}},function(t,e){t.exports={effectiveWidth:function n(t){return t&&1===t.nodeType?t.offsetWidth||n(t.parentNode):0}}},function(t,e,n){function r(t){return(t||"").split(";").reduce(function(t,e){var n,r;return a.test(e.trim())&&(n=RegExp.$1,r=RegExp.$2,t[n.replace(/-(.)/g,function(t,e){return e.toUpperCase()})]=r),t},{})}function i(n){var t=r(n.getAttribute("data-style"));0!==Object.keys(t).length&&(n.setAttribute("data-csp-fix","true"),s.forIn(t,function(t,e){n.style[t]=e}))}var o=n(66),s=(n(10),n(12)),a=/^([a-zA-Z-]+):\s*(.+)$/;t.exports=function(t){t.selectors({cspForcedStyle:".js-cspForcedStyle"}),t.after("prepForInsertion",function(t){o.inlineStyle()||this.select(t,"cspForcedStyle").forEach(i)})}},function(t,e,n){var r=n(140);t.exports=function(t){t.after("prepForInsertion",function(t){r.retinize(t)})}},function(t,e,n){var r=n(36),i=n(140);t.exports=function(t){t.after("prepForInsertion",function(t){i.setSrcForImgs(t,this.sandbox.width,r.sync)}),t.after("resize",function(){i.setSrcForImgs(this.el,this.sandbox.width,r.write)})}},function(t,e){t.exports=function(t){t.after("render",function(){var t=this.el.getAttribute("data-iframe-title");t&&this.sandbox.setTitle&&this.sandbox.setTitle(t)})}},function(t,e,n){function r(t){return t.every(s.isInt)}function i(t){var e=t.map(function(t){return{size:+t,className:a+t}}).sort(function(t,e){return t.size-e.size});return e.unshift({size:0,className:u}),e}var o=n(2),s=n(26),a="env-bp-",u=a+"min";t.exports=function(t){t.params({breakpoints:{required:!0,validate:r,transform:i}}),t.define("getClassForWidth",function(t){for(var e,n,r=this.params.breakpoints.length-1;0<=r;r--)if(t>(n=this.params.breakpoints[r]).size){e=n.className;break}return e}),t.after("initialize",function(){this.allBreakpoints=this.params.breakpoints.map(function(t){return t.className})}),t.define("recalculateBreakpoints",function(){var t=this.getClassForWidth(this.sandbox.width);return t&&this.sandbox.hasRootClass(t)?o.resolve():o.all([this.sandbox.removeRootClass(this.allBreakpoints),this.sandbox.addRootClass(t)])}),t.after("render",function(){return this.recalculateBreakpoints()}),t.after("resize",function(){return this.recalculateBreakpoints()})}},,function(t,e,n){function s(t,e){var n,r={scribeContext:(e=e||{}).scribeContext||{client:"tfw"},languageCode:e.languageCode,hideControls:e.hideControls||!1,addTwitterBranding:e.addBranding||!1,widgetOrigin:e.widgetOrigin,borderRadius:e.borderRadius};if(0<(n=i(t,".wvp-player-container")).length)return o&&u.setBaseUrl(o),{element:n[0],options:r}}var a=n(1),i=n(83),u=n(150),o=null;t.exports={insertForTweet:function(t,e,n){var r,i=new a,o=s(t,n);if(o)return(r=u.createPlayerForTweet(o.element,e,o.options))?(i.resolve(r),i.promise):i.reject(new Error("unable to create tweet video player"))},insertForEvent:function(t,e,n){var r,i=new a,o=s(t,n);return o?((r=u.createPlayerForLiveVideo(o.element,e,o.options)).on("ready",function(){r.playPreview(),i.resolve(r)}),i.promise):i.reject(new Error("unable to initialize event video player"))},remove:function(t){var e=t.querySelector(".wvp-player-container"),n=e&&u.findPlayerForElement(e);if(n)return n.teardown()},find:function(t){return u.findPlayerForElement(t)}}},function(t,e,n){var r,i;i=this,void 0===(r=function(){return i.TwitterVideoPlayer=(s={suppressScribing:!(e=/^https?:\/\/([a-zA-Z0-9]+\.)*twitter.com(:\d+)?$/),squareCorners:!(f="https://twitter.com"),hideControls:!1,addTwitterBranding:!1},h=0,p={},{setBaseUrl:function(t){e.test(t)?f=t:window.console.error("newBaseUrl "+t+" not allowed")},createPlayerForTweet:function(t,e,n){var r="/i/videos/tweet/"+e,i="player_tweet_"+e;return new o(t,r,i,n||s)},createPlayerForDm:function(t,e,n){var r="/i/videos/dm/"+e,i="player_dm_"+e;return new o(t,r,i,n||s)},createPlayerForLiveVideo:function(t,e,n){var r="/i/videos/live_video/"+e,i="player_live_video_"+e;return new o(t,r,i,n||s)},findPlayerForElement:function(t){for(var e in p)if(p.hasOwnProperty(e)){var n=p[e];if(n&&n.domElement===t)return n.playerInterface}return null}});function l(t){var e,n,r,i;t&&t.data&&t.data.params&&t.data.params[0]&&(e=t.data.params[0],n=t.data.id,e&&e.context&&"TwitterVideoPlayer"===e.context&&(r=e.playerId,delete e.playerId,delete e.context,(i=p[r])&&i.processMessage(t.data.method,e,n)))}function o(t,e,n,r,i){t.ownerDocument.defaultView.addEventListener("message",l),this.playerId=h++;var o={embed_source:"clientlib",player_id:this.playerId,rpc_init:1};if(this.scribeParams={},this.scribeParams.suppressScribing=r&&r.suppressScribing,!this.scribeParams.suppressScribing){if(!r.scribeContext)throw"video_player: Missing scribe context";if(!r.scribeContext.client)throw"video_player: Scribe context missing client property";this.scribeParams.client=r.scribeContext.client,this.scribeParams.page=r.scribeContext.page,this.scribeParams.section=r.scribeContext.section,this.scribeParams.component=r.scribeContext.component}this.scribeParams.debugScribe=r&&r.scribeContext&&r.scribeContext.debugScribing,this.scribeParams.scribeUrl=r&&r.scribeContext&&r.scribeContext.scribeUrl,this.promotedLogParams=r.promotedContext,this.adRequestCallback=r.adRequestCallback,r.languageCode&&(o.language_code=r.languageCode),"tfw"===this.scribeParams.client&&(o.use_syndication_guest_id=!0);var s,a,u,c,d=(s=f,a=e,u=o,c=Object.keys(u).filter(function(t){return null!=u[t]}).map(function(t){var e=u[t];return encodeURIComponent(t)+"="+encodeURIComponent(e)}).join("&"),s+a+(c=c&&"?"+c));return this.videoIframe=document.createElement("iframe"),this.videoIframe.setAttribute("src",d),this.videoIframe.setAttribute("allowfullscreen",""),this.videoIframe.setAttribute("id",n),this.videoIframe.setAttribute("style","width: 100%; height: 100%; position: absolute; top: 0; left: 0;"),this.domElement=t,this.domElement.appendChild(this.videoIframe),(p[this.playerId]=this).eventCallbacks={},this.emitEvent=function(t,e){var n=this.eventCallbacks[t];void 0!==n&&n.forEach(function(t){t.apply(this.playerInterface,[e])}.bind(this))},this.jsonRpc=function(t){var e=this.videoIframe.contentWindow;t.jsonrpc="2.0",e&&e.postMessage&&e.postMessage(JSON.stringify(t),"*")},this.jsonRpcCall=function(t,e){this.jsonRpc({method:t,params:e})},this.jsonRpcResult=function(t,e){this.jsonRpc({result:t,id:e})},this.processMessage=function(t,e,n){switch(t){case"requestPlayerConfig":this.jsonRpcResult({scribeParams:this.scribeParams,promotedLogParams:this.promotedLogParams,squareCorners:r.squareCorners,borderRadius:r.borderRadius,hideControls:r.hideControls,embedded:r.addTwitterBranding,widgetOrigin:r.widgetOrigin,ignoreFineGrainGeoblocking:r.ignoreFineGrainGeoblocking},n);break;case"videoPlayerAdStart":this.emitEvent("adStart",e);break;case"videoPlayerAdEnd":this.emitEvent("adEnd",e);break;case"videoPlayerPlay":this.emitEvent("play",e);break;case"videoPlayerPause":this.emitEvent("pause",e);break;case"videoPlayerMute":this.emitEvent("mute",e);break;case"videoPlayerUnmute":this.emitEvent("unmute",e);break;case"videoPlayerPlaybackComplete":this.emitEvent("playbackComplete",e);break;case"videoPlayerReady":this.emitEvent("ready",e);break;case"videoView":this.emitEvent("view",e);break;case"debugLoggingEvent":this.emitEvent("logged",e);break;case"requestDynamicAd":"function"==typeof this.adRequestCallback?this.jsonRpcResult(this.adRequestCallback(),n):this.jsonRpcResult({},n);break;case"videoPlayerError":e&&"NO_COOKIES_ERROR"===e.error_category?this.emitEvent("noCookiesError",e):e&&"GEOBLOCK_ERROR"===e.error_category&&this.emitEvent("geoblockError",e)}},this.playerInterface={on:function(t,e){return"undefined"==typeof this.eventCallbacks[t]&&(this.eventCallbacks[t]=[]),this.eventCallbacks[t].push(e),this.playerInterface}.bind(this),off:function(t,e){var n,r;return void 0===e?delete this.eventCallbacks[t]:void 0===(n=this.eventCallbacks[t])||-1<(r=n.indexOf(e))&&n.splice(r,1),this.playerInterface}.bind(this),play:function(){return this.jsonRpcCall("play"),this.playerInterface}.bind(this),pause:function(){return this.jsonRpcCall("pause"),this.playerInterface}.bind(this),mute:function(){return this.jsonRpcCall("mute"),this.playerInterface}.bind(this),unmute:function(){return this.jsonRpcCall("unmute"),this.playerInterface}.bind(this),playPreview:function(){return this.jsonRpcCall("autoPlayPreview"),this.playerInterface}.bind(this),pausePreview:function(){return this.jsonRpcCall("autoPlayPreviewStop"),this.playerInterface}.bind(this),updatePosition:function(t){return this.jsonRpcCall("updatePosition",[t]),this.playerInterface}.bind(this),updateLayoutBreakpoint:function(t){return this.jsonRpcCall("updateLayoutBreakpoint",[t]),this.playerInterface}.bind(this),enterFullScreen:function(){return this.jsonRpcCall("enterFullScreen"),this.playerInterface}.bind(this),exitFullScreen:function(){return this.jsonRpcCall("exitFullScreen"),this.playerInterface}.bind(this),teardown:function(){this.eventCallbacks={},t.removeChild(this.videoIframe),this.videoIframe=void 0,delete p[this.playerId]}.bind(this)},this.playerInterface}var f,e,s,h,p}.call(e,n,e,t))||(t.exports=r)},function(t,e,n){var i=n(22),r=n(152),o=n(89),s=n(50);t.exports=o.couple(n(102),function(t){t.selectors({clickToOpen:".js-clickToOpenTarget"}),t.define("shouldOpenTarget",function(t){var e=i.closest("A",t.target,this.el),n=i.closest("BUTTON",t.target,this.el),r=this.sandbox.hasSelectedText();return!e&&!n&&!r}),t.define("openTarget",function(t,e){var n=e&&e.getAttribute("data-click-to-open-target");n&&(r(n),this.scribeOpenClick(t))}),t.define("attemptToOpenTarget",function(t,e){this.shouldOpenTarget(t)&&this.openTarget(t,e)}),t.define("scribeOpenClick",function(t){var e=s.extractTermsFromDOM(t.target),n={associations:s.formatTweetAssociation(e)};this.scribe({section:"chrome",action:"click"},n)}),t.after("render",function(){this.on("click","clickToOpen",this.attemptToOpenTarget)})})},function(t,e,n){var r=n(7),i=n(153),o=n(101),s=n(24);t.exports=function(t){s.isTwitterURL(t)&&(t=o(t)),s.isStatus(t)&&(t=i(t)),r.open(t)}},function(t,e,n){var r=n(103),i=n(41),o=n(25);t.exports=function(t){var e={};return i.val("site")&&(e.tfw_site=r(i.val("site"))),i.val("creator")&&(e.tfw_creator=r(i.val("creator"))),o.url(t,e)}},function(t,e,n){var r=n(22),i=n(41),o=n(23),s=n(47),a=n(25),u=n(24),c=n(15),d="data-url-params-injected";t.exports=function(t){t.params({productName:{required:!0},dataSource:{required:!1},related:{required:!1},partner:{fallback:c(i.val,i,"partner")}}),t.selectors({timeline:".timeline",tweetIdInfo:".js-tweetIdInfo"}),t.define("injectWebIntentParams",function(t){var e=r.closest(this.selectors.timeline,t,this.el),n=r.closest(this.selectors.tweetIdInfo,t,this.el);t.getAttribute(d)||(t.setAttribute(d,!0),t.href=a.url(t.href,{tw_w:this.params.dataSource&&this.params.dataSource.id,tw_i:n&&n.getAttribute("data-tweet-id"),tw_p:this.params.productName,related:this.params.related,partner:this.params.partner,query:e&&e.getAttribute("data-search-query"),profile_id:e&&e.getAttribute("data-profile-id"),original_referer:s.rootDocumentLocation()}))}),t.after("render",function(){this.on("click","A",function(t,e){u.isIntentURL(e.href)&&(this.injectWebIntentParams(e),o.open(e.href,this.sandbox.sandboxEl,t))})})}},function(t,e,n){var r=n(8);t.exports=function(t){t.before("render",function(){r.ios()&&this.sandbox.addRootClass("env-ios"),r.ie9()&&this.sandbox.addRootClass("ie9"),r.touch()&&this.sandbox.addRootClass("is-touch")})}},function(t,e,n){var r=n(157);t.exports=function(t){t.params({pageForAudienceImpression:{required:!0}}),t.before("hydrate",function(){r.scribeAudienceImpression(this.params.pageForAudienceImpression)})}},function(t,e,n){function r(t){s.isHostPageSensitive()||a[t]||(a[t]=!0,i.scribe(o.formatClientEventNamespace({page:t,action:"impression"}),o.formatGenericEventData("syndicated_impression",{}),o.AUDIENCE_ENDPOINT))}var i=n(71),o=n(50),s=n(49),a={};t.exports={scribeAudienceImpression:r,scribePartnerTweetAudienceImpression:function(){r("partnertweet")},scribeTweetAudienceImpression:function(){r("tweet")},scribeTimelineAudienceImpression:function(){r("timeline")},scribeVideoAudienceImpression:function(){r("video")}}},function(t,e,n){var r=n(89),i=n(159);t.exports=r.couple(n(102),function(t){var e={action:"dimensions"},n=new i(1);t.after("show",function(){var t;n.nextBoolean()&&(t={widget_width:this.sandbox.width,widget_height:this.sandbox.height},this.scribe(e,t))})})},function(t,e){function n(t){this.percentage=t}n.prototype.nextBoolean=function(){return 100*Math.random()<this.percentage},t.exports=n},,function(t,e,n){var r=n(12);t.exports=function(t){var e={transparent:!1,hideBorder:!1,hideHeader:!1,hideFooter:!1,hideScrollBar:!1};return t=t||"",r.contains(t,"transparent")&&(e.transparent=!0),r.contains(t,"noborders")&&(e.hideBorder=!0),r.contains(t,"noheader")&&(e.hideHeader=!0),r.contains(t,"nofooter")&&(e.hideFooter=!0),r.contains(t,"noscrollbar")&&(e.hideScrollBar=!0),e}},function(t,e,n){var i=n(26),o=n(12),s=n(24),a=n(80),r=n(82)(),u=n(163);t.exports=function(t){return r(t,"a.twitter-moment").map(function(t){return u((r=a(e=t),n={momentId:s.momentId(e.href),chrome:e.getAttribute("data-chrome"),limit:e.getAttribute("data-limit")},o.forIn(n,function(t,e){var n=r[t];r[t]=i.hasValue(n)?n:e}),r),t.parentNode,t);var e,r,n})}},function(t,e,n){var r=n(86),i=n(164),o=n(53);t.exports=function(t,e,n){return new r(i,o,"twitter-moment",t,e,n)}},function(t,e,s){var n=s(1);t.exports=function(r,i){var o=new n;return s.e(4,function(t,e){var n;if(t)return o.reject(t);try{n=s(165),o.resolve(new n(r,i))}catch(r){o.reject(r)}}),o.promise}},,,,function(t,e,n){var r=n(50),i=n(89),o=n(52),s=n(169);t.exports=i.couple(n(102),function(t){t.selectors({inViewportMarker:".js-inViewportScribingTarget"}),t.define("scribeInViewportSeen",function(t,e){var n=r.extractTermsFromDOM(t);n.action="seen",this.scribe(n,e,o.version)}),t.after("show",function(){var t=this.selectors.inViewportMarker;this.select(t).forEach(function(t){t&&s.inViewportOnce(t,this.sandbox.sandboxEl,function(){this.scribeInViewportSeen(t,this.scribeItems())}.bind(this))},this)})})},function(t,e,n){var a=n(170),r=n(67),u=n(171),c=n(7),d=n(8),l=function(t){return(c.requestIdleCallback||c.requestAnimationFrame||function(t){t()})(t)},i=function(){this.observers=[]};i.prototype._register=function(n,r,i){var o,s=this;return d.hasIntersectionObserverSupport()?(o=new c.IntersectionObserver(function(t){t.forEach(function(t){1<=t.intersectionRatio&&(l(i),s._unregister(o))})},{threshold:1})).observe(n):(o={update:function(t,e){a(n,{viewportWidth:t,viewportHeight:e,sandboxEl:r})&&(i(),s._unregister(o))}},this.observers.push(o),1===this.observers.length&&(this.unlisten=u.addScrollListener(this._onViewportChange.bind(this))),this._onViewportChange()),o},i.prototype._unregister=function(t){var e;d.hasIntersectionObserverSupport()&&t instanceof c.IntersectionObserver?t.disconnect():-1<(e=this.observers.indexOf(t))&&(this.observers.splice(e,1),0===this.observers.length&&this.unlisten&&this.unlisten())},i.prototype._onViewportChange=function(){r(l(function(){this._notify(u.getWidth(),u.getHeight())}.bind(this)),50,this)},i.prototype._notify=function(e,n){this.observers.forEach(function(t){t.update(e,n)})},i.prototype.inViewportOnce=function(t,e,n){return this._register(t,e,n)},t.exports=new i},function(t,e,n){var s=n(9),a=n(7);t.exports=function(t,e){var n,r=(e=e||{}).viewportWidth||a.innerWidth,i=e.viewportHeight||a.innerHeight,o=t.getBoundingClientRect();return t.ownerDocument!==s&&e.sandboxEl&&(n=e.sandboxEl.getBoundingClientRect(),o={top:o.top+n.top,bottom:o.bottom+n.top,left:o.left+n.left,right:o.right+n.left}),0<=o.top&&0<=o.left&&o.bottom<=i&&o.right<=r}},function(t,e,n){var r=n(7),i={_addListener:function(t,e){var n=function(){e()};return r.addEventListener(t,n),function(){r.removeEventListener(t,n)}},addScrollListener:function(t){return this._addListener("scroll",t)},getHeight:function(){return r.innerHeight},getWidth:function(){return r.innerWidth}};t.exports=i},,function(t,e,n){var s=n(12),a=n(80),r=n(82)(),u=n(174),c=/^https?:\/\/(?:www\.)?(?:periscope|pscp)\.tv\/@?([a-zA-Z0-9_]+)\/?$/i;t.exports=function(t){return r(t,"a.periscope-on-air").map(function(t){return u((n=a(e=t),r=e.getAttribute("href"),i=e.getAttribute("data-size"),o=c.exec(r)[1],s.aug(n,{username:o,size:i})),t.parentNode,t);var e,n,r,i,o})}},function(t,e,n){var r=n(86),i=n(175),o=n(53);t.exports=function(t,e,n){return new r(i,o,"periscope-on-air",t,e,n)}},function(t,e,s){var n=s(1);t.exports=function(r,i){var o=new n;return s.e(5,function(t,e){var n;if(t)return o.reject(t);try{n=s(176),o.resolve(new n(r,i))}catch(r){o.reject(r)}}),o.promise}},,,,function(t,e,n){var o=n(26),s=n(12),a=n(180),u=n(195),c=n(80),r=n(82)(),d=n(197);t.exports=function(t){return r(t,"a.twitter-timeline,div.twitter-timeline").map(function(t){return d((n=c(e=t),r=e.getAttribute("data-show-replies"),i={widgetId:e.getAttribute("data-widget-id"),chrome:e.getAttribute("data-chrome"),tweetLimit:e.getAttribute("data-tweet-limit"),ariaLive:e.getAttribute("data-aria-polite"),theme:e.getAttribute("data-theme"),linkColor:e.getAttribute("data-link-color"),borderColor:e.getAttribute("data-border-color"),showReplies:r?o.asBoolean(r):null,profileScreenName:e.getAttribute("data-screen-name"),profileUserId:e.getAttribute("data-user-id"),favoritesScreenName:e.getAttribute("data-favorites-screen-name"),favoritesUserId:e.getAttribute("data-favorites-user-id"),likesScreenName:e.getAttribute("data-likes-screen-name"),likesUserId:e.getAttribute("data-likes-user-id"),listOwnerScreenName:e.getAttribute("data-list-owner-screen-name"),listOwnerUserId:e.getAttribute("data-list-owner-id"),listId:e.getAttribute("data-list-id"),listSlug:e.getAttribute("data-list-slug"),customTimelineId:e.getAttribute("data-custom-timeline-id"),staticContent:e.getAttribute("data-static-content"),url:e.href},(i=s.aug(i,n)).dataSource=a(i),i.useLegacyDefaults=i.dataSource instanceof u,i),t.parentNode,t);var e,n,r,i})}},function(t,e,n){function i(e){return r(h,function(t){try{return new t(e)}catch(e){}})}var r=n(141),o=n(181),s=n(185),a=n(187),u=n(189),c=n(191),d=n(193),l=n(195),f={collection:o,event:s,likes:a,list:u,profile:d,widget:l,url:i},h=[l,d,a,o,u,s,c];t.exports=function(t){return t?(n=((e=t).sourceType+"").toLowerCase(),((r=f[n])?new r(e):null)||i(t)):null;var e,n,r}},function(t,e,n){var r=n(182);t.exports=r.build([n(183),n(184)])},function(t,e,n){var r=n(55),i=n(59),o=n(15);(r=Object.create(r)).build=o(r.build,null,i),t.exports=r},function(t,e,n){function i(t){if(!t||!t.headers)throw new Error("unexpected response schema");return{html:t.body,config:t.config,pollInterval:1e3*parseInt(t.headers.xPolling,10)||null,maxCursorPosition:t.headers.maxPosition,minCursorPosition:t.headers.minPosition}}function o(t){if(t&&t.headers)throw new Error(t.headers.status);throw t instanceof Error?t:new Error(t)}var r=n(136),s=n(133),a=n(134),u=n(11),c=n(95),d=n(135),l=n(46),f=n(26),h=n(29),p=n(12);t.exports=function(t){t.params({instanceId:{required:!0,fallback:h.deterministic},lang:{required:!0,transform:c.matchLanguage,fallback:"en"},tweetLimit:{transform:f.asInt}}),t.defineProperty("endpoint",{get:function(){throw new Error("endpoint not specified")}}),t.defineProperty("pollEndpoint",{get:function(){return this.endpoint}}),t.define("cbId",function(t){var e=t?"_new":"_old";return"tl_"+this.params.instanceId+"_"+this.id+e}),t.define("queryParams",function(){return{lang:this.params.lang,tz:d.getTimezoneOffset(),t:r(),domain:u.host,tweet_limit:this.params.tweetLimit,dnt:l.enabled()}}),t.define("fetch",function(){return s.fetch(this.endpoint,this.queryParams(),a,this.cbId()).then(i,o)}),t.define("poll",function(t,e){var n={since_id:(t=t||{}).sinceId,max_id:t.maxId,min_position:t.minPosition,max_position:t.maxPosition},r=p.aug(this.queryParams(),n);return s.fetch(this.pollEndpoint,r,a,this.cbId(e)).then(i,o)})}},function(t,e,n){function r(t,e){return i.collectionId(t)||e}var i=n(24),o=n(12),s=n(137);t.exports=function(t){t.params({id:{},url:{}}),t.overrideProperty("id",{get:function(){return"collection:"+r(this.params.url,this.params.id)}}),t.overrideProperty("endpoint",{get:function(){return s.timeline(["collection"])}}),t.around("queryParams",function(t){return o.aug(t(),{collection_id:r(this.params.url,this.params.id)})}),t.before("initialize",function(){if(!r(this.params.url,this.params.id))throw new Error("one of url or id is required")})}},function(t,e,n){var r=n(182);t.exports=r.build([n(183),n(186)])},function(t,e,n){function r(t,e){return i.eventId(t)||e}var i=n(24),o=n(12),s=n(137);t.exports=function(t){t.params({id:{},url:{}}),t.overrideProperty("id",{get:function(){return"event:"+r(this.params.url,this.params.id)}}),t.overrideProperty("endpoint",{get:function(){return s.timeline(["event"])}}),t.around("queryParams",function(t){return o.aug(t(),{event_id:r(this.params.url,this.params.id)})}),t.before("initialize",function(){if(!r(this.params.url,this.params.id))throw new Error("one of url or id is required")})}},function(t,e,n){var r=n(182);t.exports=r.build([n(183),n(188)])},function(t,e,n){function r(t){return i.likesScreenName(t.url)||t.screenName}var i=n(24),o=n(12),s=n(137);t.exports=function(t){t.params({screenName:{},userId:{},url:{}}),t.overrideProperty("id",{get:function(){return"likes:"+(r(this.params)||this.params.userId)}}),t.overrideProperty("endpoint",{get:function(){return s.timeline(["likes"])}}),t.define("_getLikesQueryParam",function(){var t=r(this.params);return t?{screen_name:t}:{user_id:this.params.userId}}),t.around("queryParams",function(t){return o.aug(t(),this._getLikesQueryParam())}),t.before("initialize",function(){if(!r(this.params)&&!this.params.userId)throw new Error("screen name or user id is required")})}},function(t,e,n){var r=n(182);t.exports=r.build([n(183),n(190)])},function(t,e,n){function r(t){var e=i.listScreenNameAndSlug(t.url)||t;return o.compact({screen_name:e.ownerScreenName,user_id:e.ownerUserId,list_slug:e.slug})}var i=n(24),o=n(12),s=n(137);t.exports=function(t){t.params({id:{},ownerScreenName:{},ownerUserId:{},slug:{},url:{}}),t.overrideProperty("id",{get:function(){var t,e;return this.params.id?"list:"+this.params.id:(e=(t=r(this.params))&&t.list_slug.replace(/-/g,"_"),"list:"+(t&&(t.screen_name||t.user_id))+":"+e)}}),t.overrideProperty("endpoint",{get:function(){return s.timeline(["list"])}}),t.define("_getListQueryParam",function(){return this.params.id?{list_id:this.params.id}:r(this.params)}),t.around("queryParams",function(t){return o.aug(t(),this._getListQueryParam())}),t.before("initialize",function(){var t=r(this.params);if(o.isEmptyObject(t)&&!this.params.id)throw new Error("qualified slug or list id required")})}},function(t,e,n){var r=n(182);t.exports=r.build([n(183),n(192)])},function(t,e,n){var r=n(26),i=n(137);t.exports=function(t){t.params({previewParams:{required:!0,validate:r.isObject}}),t.overrideProperty("id",{get:function(){return"preview"}}),t.overrideProperty("endpoint",{get:function(){return i.timelinePreconfigured(["preview"])}}),t.override("queryParams",function(){return this.params.previewParams})}},function(t,e,n){var r=n(182);t.exports=r.build([n(183),n(194)])},function(t,e,n){function r(t,e){return i.screenName(t)||e}var i=n(24),o=n(26),s=n(12),a=n(137);t.exports=function(t){t.params({showReplies:{fallback:!1,transform:o.asBoolean},screenName:{},userId:{},url:{}}),t.overrideProperty("id",{get:function(){return"profile:"+(r(this.params.url,this.params.screenName)||this.params.userId)}}),t.overrideProperty("endpoint",{get:function(){return a.timeline(["profile"])}}),t.define("_getProfileQueryParam",function(){var t=r(this.params.url,this.params.screenName),e=t?{screen_name:t}:{user_id:this.params.userId};return s.aug(e,{with_replies:this.params.showReplies?"true":"false"})}),t.around("queryParams",function(t){return s.aug(t(),this._getProfileQueryParam())}),t.before("initialize",function(){if(!r(this.params.url,this.params.screenName)&&!this.params.userId)throw new Error("screen name or user id is required")})}},function(t,e,n){var r=n(182);t.exports=r.build([n(183),n(196)])},function(t,e,n){var r=n(26),i=n(12),o=n(137);t.exports=function(t){t.params({widgetId:{required:!0},profileShowReplies:{fallback:!1,transform:r.asBoolean},showReplies:{fallback:!1,transform:r.asBoolean},profileScreenName:{},screenName:{},profileUserId:{},userId:{},favoritesScreenName:{},favoritesUserId:{},listOwnerScreenName:{},listOwnerUserId:{},listOwnerId:{},listId:{},listSlug:{},customTimelineId:{},previewParams:{}}),t.overrideProperty("id",{get:function(){return this.params.widgetId}}),t.overrideProperty("endpoint",{get:function(){return o.timelinePreconfigured([this.params.widgetId])}}),t.overrideProperty("pollEndpoint",{get:function(){return o.timelinePreconfigured(["paged",this.params.widgetId])}}),t.define("_getWidgetQueryParams",function(){var t=this.params.profileScreenName||this.params.screenName,e=this.params.profileUserId||this.params.userId,n=this.params.profileShowReplies||this.params.showReplies,r=this.params.listOwnerUserId||this.params.listOwnerId;return t||e?{override_type:"user",override_id:e,override_name:t,with_replies:n?"true":"false"}:this.params.favoritesScreenName||this.params.favoritesUserId?{override_type:"favorites",override_id:this.params.favoritesUserId,override_name:this.params.favoritesScreenName}:this.params.listOwnerScreenName||r||this.params.listId||this.params.listSlug?{override_type:"list",override_owner_id:r,override_owner_name:this.params.listOwnerScreenName,override_id:this.params.listId,override_name:this.params.listSlug}:this.params.customTimelineId?{override_type:"custom",override_id:this.params.customTimelineId}:void 0}),t.around("queryParams",function(t){return i.aug(t(),this._getWidgetQueryParams())})}},function(t,e,n){var r=n(86),i=n(198),o=n(53);t.exports=function(t,e,n){return new r(i,o,"twitter-timeline",t,e,n)}},function(t,e,s){var n=s(1);t.exports=function(r,i){var o=new n;return s.e(6,function(t,e){var n;if(t)return o.reject(t);try{n=s(199),o.resolve(new n(r,i))}catch(r){o.reject(r)}}),o.promise}},,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){var h=n(21),p=n(24),m=n(12),v=n(80),r=n(82)(),g=n(225),w=/\btw-align-(left|right|center)\b/;t.exports=function(t){return r(t,"blockquote.twitter-tweet").map(function(t){return g((n=v(e=t),r=e.getElementsByTagName("A"),i=r&&r[r.length-1],o=i&&p.status(i.href),s=e.getAttribute("data-conversation"),a="none"==s||"hidden"==s||h.present(e,"tw-hide-thread"),u=e.getAttribute("data-cards"),c="none"==u||"hidden"==u||h.present(e,"tw-hide-media"),d=e.getAttribute("data-align")||e.getAttribute("align"),l=e.getAttribute("data-link-color"),f=e.getAttribute("data-theme"),!d&&w.test(e.className)&&(d=RegExp.$1),m.aug(n,{tweetId:o,hideThread:a,hideCard:c,align:d,linkColor:l,theme:f})),t.parentNode,t);var e,n,r,i,o,s,a,u,c,d,l,f})}},function(t,e,n){var r=n(86),i=n(226),o=n(108);t.exports=function(t,e,n){return new r(i,o,"twitter-tweet",t,e,n)}},function(t,e,s){var n=s(1);t.exports=function(r,i){var o=new n;return s.e(7,function(t,e){var n;if(t)return o.reject(t);try{n=s(227),o.resolve(new n(r,i))}catch(r){o.reject(r)}}),o.promise}},,,,,function(t,e,n){function r(t){return t.input.lang||m}function u(t,n){t.forEach(function(t){var e=n[t.input.id];e?t.taskDoneDeferred.resolve(e):t.taskDoneDeferred.reject(new Error("not found"))})}function c(t){t.forEach(function(t){t.taskDoneDeferred.reject(new Error("request failed"))})}function i(a,t){var e=s(t,r);h.forIn(e,function(t,e){var n,r,i=(n=e,r={ids:[],lang:t,tz:f.getTimezoneOffset()},(r=n.reduce(function(t,e){return t.ids.push(e.input.id),t},r)).ids=r.ids.sort().join(","),r),o=p(u,null,e),s=p(c,null,e);l.fetch(a,i,d).then(o,s)})}function o(t){this.requestQueue=new a(p(i,null,t))}var d=n(232),l=n(133),s=n(43),a=n(39),f=n(135),h=n(12),p=n(15),m="en";o.prototype.fetch=function(t,e){return this.requestQueue.add({id:t,lang:e})},t.exports=o},function(t,e){t.exports=function(t){return{success:!0,resp:t}}},,,,,,,,function(t,e,n){function r(){i&&i.length===s&&(o.emitter.trigger(o.ALL_WIDGETS_AND_IMAGES_LOADED,i),i=null)}var i,o=n(241),s=0;o.emitter.bind(o.ALL_WIDGETS_RENDERED,function(t){i=t.widgets,r()}),t.exports={reportImagesLoadForAWidget:function(){s++,r()}}},function(t,e,n){var r=n(31).makeEmitter();t.exports={emitter:r,START:"start",ALL_WIDGETS_RENDERED:"all_widgets_rendered",ALL_WIDGETS_AND_IMAGES_LOADED:"all_widgets_and_images_loaded"}},,function(t,e,n){var i=n(21),o=n(12),s=n(80),r=n(82)(),a=n(244),u=n(26),c="twitter-hashtag-button",d="twitter-mention-button";t.exports=function(t){return r(t,"a.twitter-share-button, a.twitter-mention-button, a.twitter-hashtag-button").map(function(t){return a((r=s(e=t),n={screenName:e.getAttribute("data-button-screen-name"),text:e.getAttribute("data-text"),type:e.getAttribute("data-type"),size:e.getAttribute("data-size"),url:e.getAttribute("data-url"),hashtags:e.getAttribute("data-hashtags"),via:e.getAttribute("data-via"),buttonHashtag:e.getAttribute("data-button-hashtag")},o.forIn(n,function(t,e){var n=r[t];r[t]=u.hasValue(n)?n:e}),r.screenName=r.screenName||r.screen_name,r.buttonHashtag=r.buttonHashtag||r.button_hashtag||r.hashtag,i.present(e,c)&&(r.type="hashtag"),i.present(e,d)&&(r.type="mention"),r),t.parentNode,t);var e,r,n})}},function(t,e,n){var i=n(86),o=n(245),s=n(119);t.exports=function(t,e,n){var r=t&&t.type||"share";return new i(o,s,"hashtag"==r?"twitter-hashtag-button":"mention"==r?"twitter-mention-button":"twitter-share-button",t,e,n)}},function(t,e,s){var n=s(1);t.exports=function(r,i){var o=new n;return s.e(2,function(t,e){var n;if(t)return o.reject(t);try{n=s(246),o.resolve(new n(r,i))}catch(r){o.reject(r)}}),o.promise}},,,function(t,e,n){var o=n(12),s=n(80),r=n(82)(),a=n(249),u=n(254);t.exports=function(t){return r(t,"blockquote.twitter-video").map(function(t){return a((n=s(e=t),r=e.getElementsByTagName("A"),i={url:(r&&r[r.length-1]).href},(i=o.aug({},i,o.compact(n))).dataSource=u(i),i),t.parentNode,t);var e,n,r,i})}},function(t,e,n){var r=n(86),i=n(250),o=n(253);t.exports=function(t,e,n){return new r(i,o,"twitter-video",t,e,n)}},function(t,e,s){var n=s(1);t.exports=function(r,i){var o=new n;return s.e(7,function(t,e){var n;if(t)return o.reject(t);try{n=s(251),o.resolve(new n(r,i))}catch(r){o.reject(r)}}),o.promise}},,,function(t,e,n){var s=n(36),r=n(54),i=n(63);t.exports=r.build([i,function(t){t.overrideProperty("sandboxEl",{get:function(){return this._constrainingWrapper}}),t.override("makeVisible",function(){var t=this.iframeEl;return s.write(function(){t.style.visibility="visible"})}),t.define("setWrapperSize",function(t,e){var n=this,r=t/e,i=100/r+"%",o=500*r+"px";return s.write(function(){n._constrainingWrapper.style.maxWidth=o,n._iframeWrapper.style.paddingBottom=i})}),t.after("initialize",function(){this._constrainingWrapper=this._iframeWrapper=null}),t.around("insert",function(t,e,n,r,i){var o=this.targetGlobal.document,s=this._constrainingWrapper=o.createElement("div"),a=this._iframeWrapper=o.createElement("div");return s.id=e,s.className=(n||{})["class"],s.style.minWidth="320px",s.style.position="relative",s.style.margin="10px 0px",a.style.position="relative",a.style.height="0px",s.appendChild(a),t(void 0,null,null,function(t){t.style.position="absolute",t.style.top="0px",t.style.bottom="0px",t.style.width="100%",t.style.height="100%",a.appendChild(t),i(s)})})}])},function(t,e,n){var o=n(141),s=n(255);t.exports=function(t){return t?(r=((e=t).sourceType+"").toLowerCase(),((i=s[r])?new i(e):null)||(n=t,o(Object.keys(s),function(t){var e=s[t];try{return new e(n)}catch(n){}}))):null;var n,e,r,i}},function(t,e,n){var r=n(256),i=n(259);t.exports={tweet:r,event:i}},function(t,e,n){var r=n(182);t.exports=r.build([n(257),n(258)])},function(t,e,n){var r=n(95);t.exports=function(t){t.params({lang:{required:!0,transform:r.matchLanguage,fallback:"en"}}),t.defineProperty("identifier",{get:function(){throw new Error("identifier not specified")}}),t.defineProperty("name",{get:function(){throw new Error("name not specified")}}),t.defineProperty("scribeItemType",{get:function(){throw new Error("scribeItemType not specified")}}),t.define("fetch",function(){throw new Error("fetch not specified")})}},function(t,e,n){function r(t,e){return e||i.status(t)}var i=n(24),o=n(137),s=new(n(231))(o.video()),a=n(107);t.exports=function(t){t.params({id:{},url:{}}),t.overrideProperty("identifier",{get:function(){return r(this.params.url,this.params.id)}}),t.override("fetch",function(){return s.fetch(this.identifier,this.params.lang)}),t.overrideProperty("scribeItemType",{get:function(){return a.TWEET}}),t.overrideProperty("name",{get:function(){return"tweet"}}),t.before("initialize",function(){if(!r(this.params.url,this.params.id))throw new Error("one of url or id is required")})}},function(t,e,n){var r=n(182);t.exports=r.build([n(257),n(260)])},function(t,e,n){function r(t,e){return i.eventId(t)||e}var i=n(24),o=n(261),s=n(137),a=n(107);t.exports=function(t){t.params({id:{},url:{}}),t.overrideProperty("identifier",{get:function(){return r(this.params.url,this.params.id)}}),t.override("fetch",function(){var t={lang:this.params.lang,event_id:this.identifier};return o.fetch(s.eventVideo(),t)}),t.overrideProperty("scribeItemType",{get:function(){return a.LIVE_VIDEO_EVENT}}),t.overrideProperty("name",{get:function(){return"event"}}),t.before("initialize",function(){if(!r(this.params.url,this.params.id))throw new Error("one of url or id is required")})}},function(t,e,n){function r(t){return{success:!t.error,resp:t}}function i(t){return t.data.html}function o(t){return a.reject(t.error.detail)}var s=n(133),a=n(2);t.exports={fetch:function(t,e){return s.fetch(t,e,r).then(i,o)}}},function(t,e,n){var r=n(12);t.exports=r.aug({},n(263),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272))},function(t,e,n){var r=n(85),i=n(264)(["userId"],{},r);t.exports={createDMButton:i}},function(t,e,n){var d=n(2),l=n(34),f=n(46),h=n(26),p=n(12);t.exports=function(s,a,u){var c;return a=a||{},c="ƒ("+(s=s||[]).join(", ")+", target, [options]);",function(){var e,n,r,t,i=Array.prototype.slice.apply(arguments,[0,s.length]),o=Array.prototype.slice.apply(arguments,[s.length]);return o.forEach(function(t){if(t)return t.nodeType===Node.ELEMENT_NODE?void(r=t):p.isType("function",t)?void(e=t):void(p.isType("object",t)&&(n=t))}),i.length!==s.length||0===o.length?(e&&p.async(function(){e(!1)}),d.reject(new Error("Not enough parameters. Expected: "+c))):r?(n=p.aug({},n||{},a),s.forEach(function(t){n[t]=i.shift()}),h.asBoolean(n.dnt)&&f.setOn(),t=l.addWidget(u(n,r)),e&&t.then(e,function(){e(!1)}),t):(e&&p.async(function(){e(!1)}),d.reject(new Error("No target element specified. Expected: "+c)))}}},function(t,e,n){var r=n(113),i=n(264)(["screenName"],{},r);t.exports={createFollowButton:i}},function(t,e,n){var r=n(128),i=n(264)(["collectionId"],{},r);t.exports={createGridFromCollection:i}},function(t,e,n){var r=n(163),i=n(264)(["momentId"],{},r);t.exports={createMoment:i}},function(t,e,n){var r=n(174),i=n(264)(["username"],{},r);t.exports={createPeriscopeOnAirButton:i}},function(t,e,n){var r=n(11),i=n(24),o=n(12),s=n(26),a=n(180),u=n(195),c=n(197),d=n(264)([],{},c),l=n(2),f={createTimeline:function(t){var n,e=o.toRealArray(arguments).slice(1);return o.isObject(t)||s.isString(t)?(t=t||{},e.forEach(function(t){var e;o.isType("object",t)&&((e=n=t).ariaLive=e.ariaPolite)}),n||(n={},e.push(n)),s.isString(t)&&(t=o.aug({},n,{sourceType:"widget",widgetId:t})),t.lang=n.lang,t.tweetLimit=n.tweetLimit,t.showReplies=n.showReplies,n.dataSource=a(t),n.useLegacyDefaults=n.dataSource instanceof u,d.apply(this,e)):l.reject("data source must be a string or an object.")}};i.isTwitterURL(r.href)&&(f.createTimelinePreview=function(t,e,n){var r={previewParams:t,useLegacyDefaults:!0,isPreviewTimeline:!0};return r.dataSource=a(r),d(e,r,n)}),t.exports=f},function(t,e,n){var r,i=n(12),o=n(225),s=n(264),a=(r=s(["tweetId"],{},o),function(){return i.toRealArray(arguments).slice(1).forEach(function(t){i.isType("object",t)&&(t.hideCard="none"==t.cards||"hidden"==t.cards,t.hideThread="none"==t.conversation||"hidden"==t.conversation)}),r.apply(this,arguments)});t.exports={createTweet:a,createTweetEmbed:a}},function(t,e,n){function r(t){return function(){return i.toRealArray(arguments).slice(1).forEach(function(t){i.isType("object",t)&&(t.screenName=t.screenName||t.screen_name,t.buttonHashtag=t.buttonHashtag||t.button_hashtag||t.hashtag)}),t.apply(this,arguments)}}var i=n(12),o=n(244),s=n(264),a=s(["url"],{type:"share"},o),u=s(["buttonHashtag"],{type:"hashtag"},o),c=s(["screenName"],{type:"mention"},o);t.exports={createShareButton:r(a),createHashtagButton:r(u),createMentionButton:r(c)}},function(t,e,n){var r=n(249),i=n(264),o=n(12),s=n(26),a=n(254),u=i([],{},r);t.exports={createVideo:function(t){var e,n=o.toRealArray(arguments).slice(1),r=t||{};return n.forEach(function(t){o.isType("object",t)&&(e=t)}),e||(e={},n.push(e)),(s.isString(t)||s.isNumber(t))&&(r={sourceType:"tweet",id:t}),r.lang=e.lang,e.dataSource=a(r),u.apply(this,n)}}},function(t,e,n){function r(){var t,e;for(c=1,t=0,e=d.length;t<e;t++)d[t]()}var i,o,s,a=n(9),u=n(7),c=0,d=[],l=a.createElement("a");/^loade|c/.test(a.readyState)&&(c=1),a.addEventListener&&a.addEventListener("DOMContentLoaded",o=function(){a.removeEventListener("DOMContentLoaded",o,!1),r()},!1),l.doScroll&&a.attachEvent("onreadystatechange",i=function(){/^c/.test(a.readyState)&&(a.detachEvent("onreadystatechange",i),r())}),s=l.doScroll?function(t){u.self!=u.top?c?t():d.push(t):function(){try{l.doScroll("left")}catch(e){return setTimeout(function(){s(t)},50)}t()}()}:function(t){c?t():d.push(t)},t.exports=s},function(t,e,n){var r=n(52),i=n(18);t.exports=function(){i.set("buildVersion",r.version)}},function(t,e,n){n(276),n(240),n(280)},function(t,e,n){var r=n(277),i=n(241),o=n(279),s=new r;i.emitter.bind(i.START,function(){s.start()}),i.emitter.bind(i.ALL_WIDGETS_RENDERED,function(){s.end(),o(s.duration(),{action:"render"})})},function(t,e,n){function r(){}var i=n(278);r.prototype.start=function(){this._startTime=i()},r.prototype.end=function(){this._duration=i()-this._startTime},r.prototype.duration=function(){return this._duration},t.exports=r},function(t,e,n){var r=n(7);t.exports=function(){return r.performance&&r.performance.now?r.performance.now():Date.now()}},function(t,e,n){var i=n(42),o=n(47),s=n(12);t.exports=function(t,e){var n={widget_origin:o.rootDocumentLocation(),widget_frame:o.isFramed()?o.currentDocumentLocation():null,duration_ms:t},r=s.aug(e,{page:"page",component:"performance"});i.scribe(r,n)}},function(t,e,n){function r(t){return t.performance.getEntriesByType("resource").filter(function(t){return o.isTwimgURL(t.name)||o.isTwitterURL(t.name)}).reduce(function(t,e){return t[e.name]=e.duration,t},{})}var i=n(241),s=n(279),a=n(281),o=n(24),u=n(7),c=n(12),d=n(8),l=n(109);i.emitter.bind(i.ALL_WIDGETS_AND_IMAGES_LOADED,function(t){var e,o,n=[];d.hasPerformanceInformation()&&(e=r(u),l.isSupported()||(n=t.reduce(function(t,e){return c.aug(t,r(e.contentDocument.defaultView))},{})),o=c.aug({},e,n),Object.keys(a).forEach(function(t){var n,e,r,i;n=o,r=a[e=t],i=Object.keys(n).reduce(function(t,e){return r(e)?t+n[e]:t},0),s(i,{element:e,action:"resource"})}))})},function(t,e,n){var r=n(24),i={all:function(){return!0},image:function(t){return r.isTwimgURL(t)},settings:function(t){return r.isSettingsURL(t)},widget_iframe:function(t){return r.isWidgetIframeURL(t)}};t.exports=i}])));