ews javascript api

!function(){var t;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 e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var d=n[a]={exports:{}};t[a][0].call(d.exports,function(e){var n=t[a][1][e];return i(n?n:e)},d,d.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,n,r){(function(){"use strict";function r(t){return"function"==typeof t||"object"==typeof t&&null!==t}function i(t){return"function"==typeof t}function o(t){return"object"==typeof t&&null!==t}function a(t){H=t}function s(t){Q=t}function u(){var t=process.nextTick,e=process.versions.node.match(/^(?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)$/);return Array.isArray(e)&&"0"===e[1]&&"10"===e[2]&&(t=setImmediate),function(){t(h)}}function c(){return function(){q(h)}}function d(){var t=0,e=new Y(h),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function l(){var t=new MessageChannel;return t.port1.onmessage=h,function(){t.port2.postMessage(0)}}function f(){return function(){setTimeout(h,1)}}function h(){for(var t=0;K>t;t+=2){var e=tt[t],n=tt[t+1];e(n),tt[t]=void 0,tt[t+1]=void 0}K=0}function p(){try{var t=e,n=t("vertx");return q=n.runOnLoop||n.runOnContext,c()}catch(r){return f()}}function m(){}function g(){return new TypeError("You cannot resolve a promise with itself")}function v(){return new TypeError("A promises callback cannot return that same promise.")}function w(t){try{return t.then}catch(e){return it.error=e,it}}function b(t,e,n,r){try{t.call(e,n,r)}catch(i){return i}}function y(t,e,n){Q(function(t){var r=!1,i=b(n,e,function(n){r||(r=!0,e!==n?_(t,n):A(t,n))},function(e){r||(r=!0,I(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&i&&(r=!0,I(t,i))},t)}function x(t,e){e._state===nt?A(t,e._result):e._state===rt?I(t,e._result):C(e,void 0,function(e){_(t,e)},function(e){I(t,e)})}function E(t,e){if(e.constructor===t.constructor)x(t,e);else{var n=w(e);n===it?I(t,it.error):void 0===n?A(t,e):i(n)?y(t,e,n):A(t,e)}}function _(t,e){t===e?I(t,g()):r(e)?E(t,e):A(t,e)}function T(t){t._onerror&&t._onerror(t._result),S(t)}function A(t,e){t._state===et&&(t._result=e,t._state=nt,0!==t._subscribers.length&&Q(S,t))}function I(t,e){t._state===et&&(t._state=rt,t._result=e,Q(T,t))}function C(t,e,n,r){var i=t._subscribers,o=i.length;t._onerror=null,i[o]=e,i[o+nt]=n,i[o+rt]=r,0===o&&t._state&&Q(S,t)}function S(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r,i,o=t._result,a=0;a<e.length;a+=3)r=e[a],i=e[a+n],r?P(n,r,i,o):i(o);t._subscribers.length=0}}function N(){this.error=null}function k(t,e){try{return t(e)}catch(n){return ot.error=n,ot}}function P(t,e,n,r){var o,a,s,u,c=i(n);if(c){if(o=k(n,r),o===ot?(u=!0,a=o.error,o=null):s=!0,e===o)return void I(e,v())}else o=r,s=!0;e._state!==et||(c&&s?_(e,o):u?I(e,a):t===nt?A(e,o):t===rt&&I(e,o))}function R(t,e){try{e(function(e){_(t,e)},function(e){I(t,e)})}catch(n){I(t,n)}}function j(t,e){var n=this;n._instanceConstructor=t,n.promise=new t(m),n._validateInput(e)?(n._input=e,n.length=e.length,n._remaining=e.length,n._init(),0===n.length?A(n.promise,n._result):(n.length=n.length||0,n._enumerate(),0===n._remaining&&A(n.promise,n._result))):I(n.promise,n._validationError())}function D(t){return new at(this,t).promise}function O(t){function e(t){_(i,t)}function n(t){I(i,t)}var r=this,i=new r(m);if(!$(t))return I(i,new TypeError("You must pass an array to race.")),i;for(var o=t.length,a=0;i._state===et&&o>a;a++)C(r.resolve(t[a]),void 0,e,n);return i}function L(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(m);return _(n,t),n}function z(t){var e=this,n=new e(m);return I(n,t),n}function F(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function M(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function W(t){this._id=lt++,this._state=void 0,this._result=void 0,this._subscribers=[],m!==t&&(i(t)||F(),this instanceof W||M(),R(this,t))}function B(){var t;if("undefined"!=typeof global)t=global;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=t.Promise;(!n||"[object Promise]"!==Object.prototype.toString.call(n.resolve())||n.cast)&&(t.Promise=ft)}var U;U=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var q,H,V,$=U,K=0,Q=({}.toString,function(t,e){tt[K]=t,tt[K+1]=e,K+=2,2===K&&(H?H(h):V())}),G="undefined"!=typeof window?window:void 0,J=G||{},Y=J.MutationObserver||J.WebKitMutationObserver,X="undefined"!=typeof process&&"[object process]"==={}.toString.call(process),Z="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,tt=new Array(1e3);V=X?u():Y?d():Z?l():void 0===G&&"function"==typeof e?p():f();var et=void 0,nt=1,rt=2,it=new N,ot=new N;j.prototype._validateInput=function(t){return $(t)},j.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},j.prototype._init=function(){this._result=new Array(this.length)};var at=j;j.prototype._enumerate=function(){for(var t=this,e=t.length,n=t.promise,r=t._input,i=0;n._state===et&&e>i;i++)t._eachEntry(r[i],i)},j.prototype._eachEntry=function(t,e){var n=this,r=n._instanceConstructor;o(t)?t.constructor===r&&t._state!==et?(t._onerror=null,n._settledAt(t._state,e,t._result)):n._willSettleAt(r.resolve(t),e):(n._remaining--,n._result[e]=t)},j.prototype._settledAt=function(t,e,n){var r=this,i=r.promise;i._state===et&&(r._remaining--,t===rt?I(i,n):r._result[e]=n),0===r._remaining&&A(i,r._result)},j.prototype._willSettleAt=function(t,e){var n=this;C(t,void 0,function(t){n._settledAt(nt,e,t)},function(t){n._settledAt(rt,e,t)})};var st=D,ut=O,ct=L,dt=z,lt=0,ft=W;W.all=st,W.race=ut,W.resolve=ct,W.reject=dt,W._setScheduler=a,W._setAsap=s,W._asap=Q,W.prototype={constructor:W,then:function(t,e){var n=this,r=n._state;if(r===nt&&!t||r===rt&&!e)return this;var i=new this.constructor(m),o=n._result;if(r){var a=arguments[r-1];Q(function(){P(r,i,a,o)})}else C(n,i,t,e);return i},"catch":function(t){return this.then(null,t)}};var ht=B,pt={Promise:ft,polyfill:ht};"function"==typeof t&&t.amd?t(function(){return pt}):"undefined"!=typeof n&&n.exports&&(n.exports=pt)}).call(this)},{}],2:[function(e,n,r){!function(e){"use strict";function r(){this.frames=[],this.lastId=0,this.raf=i,this.batch={hash:{},read:[],write:[],mode:null}}var i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)};r.prototype.read=function(t,e){var n=this.add("read",t,e),r=n.id;this.batch.read.push(n.id);var i="reading"===this.batch.mode||this.batch.scheduled;return i?r:(this.scheduleBatch(),r)},r.prototype.write=function(t,e){var n=this.add("write",t,e),r=this.batch.mode,i=n.id;this.batch.write.push(n.id);var o="writing"===r||"reading"===r||this.batch.scheduled;return o?i:(this.scheduleBatch(),i)},r.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})})},r.prototype.clear=function(t){if("function"==typeof t)return this.clearFrame(t);t=Number(t);var e=this.batch.hash[t];if(e){var n=this.batch[e.type],r=n.indexOf(t);delete this.batch.hash[t],~r&&n.splice(r,1)}},r.prototype.clearFrame=function(t){var e=this.frames.indexOf(t);~e&&this.frames.splice(e,1)},r.prototype.scheduleBatch=function(){var t=this;this.schedule(0,function(){t.batch.scheduled=!1,t.runBatch()}),this.batch.scheduled=!0},r.prototype.uniqueId=function(){return++this.lastId},r.prototype.flush=function(t){for(var e;e=t.shift();)this.run(this.batch.hash[e])},r.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(t){throw this.runBatch(),t}},r.prototype.add=function(t,e,n){var r=this.uniqueId();return this.batch.hash[r]={id:r,fn:e,ctx:n,type:t}},r.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(r){this.onError(r)}},r.prototype.loop=function(){var t=this,e=this.raf;this.looping||(e(function n(){var r=t.frames.shift();t.frames.length?e(n):t.looping=!1,r&&r()}),this.looping=!0)},r.prototype.schedule=function(t,e){return this.frames[t]?this.schedule(t+1,e):(this.loop(),this.frames[t]=e)},e=e||new r,"undefined"!=typeof n&&n.exports?n.exports=e:"function"==typeof t&&t.amd?t(function(){return e}):window.fastdom=e}(window.fastdom)},{}],3:[function(t,e,n){function r(){return s.builtUrl(d)}function i(t){return"dark"===t?"dark":"light"}function o(t,e,n){var r,o;return n=i(n),r=a.isRtlLang(e)?"rtl":"ltr",o=[t,u.css,n,r,"css"].join("."),s.base()+"/css/"+o}var a=t(32),s=t(61),u=t(115),c=t(89),d="embed/timeline.css";e.exports={tweet:c(o,null,"tweet"),timeline:r,video:c(o,null,"video"),grid:c(o,null,"grid")}},{115:115,32:32,61:61,89:89}],4:[function(t,e,n){function r(t){return t.input.lang||m}function i(t,e){var n={ids:[],lang:t};return n=e.reduce(function(t,e){return t.ids.push(e.input.id),t},n),n.ids=n.ids.sort().join(","),n}function o(t,e){t.forEach(function(t){var n=e[t.input.id];n?t.taskDoneDeferred.resolve(n):t.taskDoneDeferred.reject(new Error("not found"))})}function a(t){t.forEach(function(t){t.taskDoneDeferred.reject(new Error("request failed"))})}function s(t,e){var n=l(e,r);h.forIn(n,function(e,n){var r=i(e,n),s=p(o,null,n),u=p(a,null,n);d.fetch(t,r,c).then(s,u)})}function u(t){this.requestQueue=new f(p(s,null,t))}var c=t(5),d=t(7),l=t(73),f=t(76),h=t(109),p=t(89),m="en";u.prototype.fetch=function(t,e){return this.requestQueue.add({id:t,lang:e})},e.exports=u},{109:109,5:5,7:7,73:73,76:76,89:89}],5:[function(t,e,n){function r(t){return{success:!0,resp:t}}e.exports=r},{}],6:[function(t,e,n){function r(){var t=9e5;return Math.floor(+new Date/t)}e.exports=r},{}],7:[function(t,e,n){function r(){return d+l++}function i(t,e,n,i){var d,l,f;return i=i||r(),d=a.fullPath(["callbacks",i]),l=o.createElement("script"),f=new s,e=u.aug({},e,{callback:d,suppress_response_codes:!0}),a.set(["callbacks",i],function(t){var e,r;e=n(t||!1),t=e.resp,r=e.success,r?f.resolve(t):f.reject(t),l.onload=l.onreadystatechange=null,l.parentNode&&l.parentNode.removeChild(l),a.unset(["callbacks",i])}),l.onerror=function(){f.reject(new Error("failed to fetch "+l.src))},l.src=c.url(t,e),l.async="async",o.body.appendChild(l),f.promise}var o=t(17),a=t(28),s=t(97),u=t(109),c=t(100),d="cb",l=0;e.exports={fetch:i}},{100:100,109:109,17:17,28:28,97:97}],8:[function(t,e,n){function r(t){var e,n;return e=t.headers&&t.headers.status,n=t&&!t.error&&200===e,!n&&t.headers&&t.headers.message&&i.warn(t.headers.message),{success:n,resp:t}}var i=t(94);e.exports=r},{94:94}],9:[function(t,e,n){function r(t){return 10>t?"0"+t:t}function i(t){function e(t,e){return n&&n[t]&&(t=n[t]),t.replace(/%\{([\w_]+)\}/g,function(t,n){return void 0!==e[n]?e[n]:t})}var n=t&&t.phrases,o=t&&t.months||u,a=t&&t.formats||c;this.timeAgo=function(t){var n,r=i.parseDate(t),s=+new Date,u=s-r;return r?isNaN(u)||2*d>u?e("now"):l>u?(n=Math.floor(u/d),e(a.abbr,{number:n,symbol:e(p,{abbr:e("s"),expanded:e(n>1?"seconds":"second")})})):f>u?(n=Math.floor(u/l),e(a.abbr,{number:n,symbol:e(p,{abbr:e("m"),expanded:e(n>1?"minutes":"minute")})})):h>u?(n=Math.floor(u/f),e(a.abbr,{number:n,symbol:e(p,{abbr:e("h"),expanded:e(n>1?"hours":"hour")})})):365*h>u?e(a.shortdate,{day:r.getDate(),month:e(o[r.getMonth()])}):e(a.longdate,{day:r.getDate(),month:e(o[r.getMonth()]),year:r.getFullYear().toString().slice(2)}):""},this.localTimeStamp=function(t){var n=i.parseDate(t),s=n&&n.getHours();return n?e(a.full,{day:n.getDate(),month:e(o[n.getMonth()]),year:n.getFullYear(),hours24:r(s),hours12:13>s?s?s:"12":s-12,minutes:r(n.getMinutes()),seconds:r(n.getSeconds()),amPm:e(12>s?"AM":"PM")}):""}}var o=/(\d{4})-?(\d{2})-?(\d{2})T(\d{2}):?(\d{2}):?(\d{2})(Z|[\+\-]\d{2}:?\d{2})/,a=/[a-z]{3,4} ([a-z]{3}) (\d{1,2}) (\d{1,2}):(\d{2}):(\d{2}) ([\+\-]\d{2}:?\d{2}) (\d{4})/i,s=/^\d+$/,u=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],c={abbr:"%{number}%{symbol}",shortdate:"%{day} %{month}",longdate:"%{day} %{month} %{year}",full:"%{hours12}:%{minutes} %{amPm} - %{day} %{month} %{year}"},d=1e3,l=60*d,f=60*l,h=24*f,p='<abbr title="%{expanded}">%{abbr}</abbr>';i.parseDate=function(t){var e,n,r=t||"",i=r.toString();return(e=function(){var t;return s.test(i)?parseInt(i,10):(t=i.match(a))?Date.UTC(t[7],u.indexOf(t[1]),t[2],t[3],t[4],t[5]):(t=i.match(o))?Date.UTC(t[1],t[2]-1,t[3],t[4],t[5],t[6]):void 0}())?(n=new Date(e),!isNaN(n.getTime())&&n):!1},e.exports=i},{}],10:[function(t,e,n){function r(t){return new o(i.compact({months:(t.getAttribute("data-dt-months")||"").split("|"),phrases:{AM:t.getAttribute("data-dt-am"),PM:t.getAttribute("data-dt-pm"),now:t.getAttribute("data-dt-now"),s:t.getAttribute("data-dt-s"),m:t.getAttribute("data-dt-m"),h:t.getAttribute("data-dt-h"),second:t.getAttribute("data-dt-second"),seconds:t.getAttribute("data-dt-seconds"),minute:t.getAttribute("data-dt-minute"),minutes:t.getAttribute("data-dt-minutes"),hour:t.getAttribute("data-dt-hour"),hours:t.getAttribute("data-dt-hours")},formats:{full:t.getAttribute("data-dt-full"),abbr:t.getAttribute("data-dt-abbr"),shortdate:t.getAttribute("data-dt-short"),longdate:t.getAttribute("data-dt-long")}}))}var i=t(109),o=t(9);e.exports=r},{109:109,9:9}],11:[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 a(t,e,n){return void 0===n&&t.classList&&t.classList.toggle?t.classList.toggle(e,n):(n?i(t,e):o(t,e),n)}function s(t,e,n){return t.classList&&u(t,e)?(o(t,e),void i(t,n)):void(t.className=t.className.replace(r(e),n))}function u(t,e){return t.classList?t.classList.contains(e):d.contains(c(t),e)}function c(t){return d.toRealArray(t.classList?t.classList:t.className.match(l))}var d=t(109),l=/\b([\w-_]+)\b/g;e.exports={add:i,remove:o,replace:s,toggle:a,present:u,list:c}},{109:109}],12:[function(t,e,n){function r(t){var e=t.getAttribute("data-twitter-event-id");return e?e:(t.setAttribute("data-twitter-event-id",++g),g)}function i(t,e,n){var r=0,i=t&&t.length||0;for(r=0;i>r;r++)t[r].call(e,n,e)}function o(t,e,n){for(var r=n||t.target||t.srcElement,a=p.list(r),s=0,u=a.length;u>s;s++)i(e["."+a[s]],r,t);i(e[r.tagName],r,t),t.cease||r!==this&&o.call(this,t,e,r.parentElement||r.parentNode)}function a(t,e,n,r){function i(r){o.call(t,r,n[e])}s(t,i,e,r),t.addEventListener(e,i,!1)}function s(t,e,n,r){t.id&&(v[t.id]=v[t.id]||[],v[t.id].push({el:t,listener:e,type:n,rootId:r}))}function u(t){var e=v[t];e&&(e.forEach(function(t){t.el.removeEventListener(t.type,t.listener,!1),delete m[t.rootId]}),delete v[t])}function c(t,e,n,i){var o=r(t);m[o]=m[o]||{},m[o][e]||(m[o][e]={},a(t,e,m[o],o)),m[o][e][n]=m[o][e][n]||[],m[o][e][n].push(i)}function d(t,e,n){var i=r(e),a=m[i]&&m[i];o.call(e,{target:n},a[t])}function l(t){return h(t),f(t),!1}function f(t){t&&t.preventDefault?t.preventDefault():t.returnValue=!1}function h(t){t&&(t.cease=!0)&&t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}var p=t(11),m={},g=-1,v={};e.exports={stop:l,stopPropagation:h,preventDefault:f,delegate:c,simulate:d,removeDelegatesForWidget:u}},{11:11}],13:[function(t,e,n){function r(t){var e=t.charAt(0);return"."===e?function(e){var n=e.className?e.className.split(/\s+/):[];return o.contains(n,t.slice(1))}:"#"===e?function(e){return e.id===t.slice(1)}:function(e){return e.tagName===t.toUpperCase()}}function i(t,e,n){var a;if(e)return n=n||e&&e.ownerDocument,a=o.isType("function",t)?t:r(t),e===n?a(e)?e:void 0:a(e)?e:i(a,e.parentNode,n)}var o=t(109);e.exports={closest:i}},{109:109}],14:[function(t,e,n){function r(t,e){return function(){try{e.resolve(t.call(this))}catch(n){e.reject(n)}}}function i(t,e){t.call(e)}function o(t,e){var n=new c;return u.read(r(t,n),e),n.promise}function a(t,e){var n=new c;return u.write(r(t,n),e),n.promise}function s(t,e,n){var i=new c;return d.isType("function",t)&&(n=e,e=t,t=1),u.defer(t,r(e,i),n),i.promise}var u=t(2),c=t(97),d=t(109);e.exports={sync:i,read:o,write:a,defer:s}},{109:109,2:2,97:97}],15:[function(t,e,n){function r(t){return t=t||o,t.getSelection&&t.getSelection()}function i(t){var e=r(t);return e?e.toString():""}var o=t(20);e.exports={getSelection:r,getSelectedText:i}},{20:20}],16:[function(t,e,n){function r(t){return t&&1===t.nodeType?t.offsetWidth||r(t.parentNode):0}e.exports={effectiveWidth:r}},{}],17:[function(t,e,n){e.exports=document},{}],18:[function(t,e,n){e.exports=location},{}],19:[function(t,e,n){e.exports=navigator},{}],20:[function(t,e,n){e.exports=window},{}],21:[function(t,e,n){function r(t,e,n){e.ready=i(t.then,t),n&&Array.isArray(e[n])&&(e[n].forEach(i(t.then,t)),delete e[n])}var i=t(89);e.exports={exposeReadyPromise:r}},{89:89}],22:[function(t,e,n){function r(){return!0}function i(t){return t}function o(t,e,n){var r=null;return t.some(function(t){return t=s.isType("function",t)?t():t,e(t)?(r=n(t),!0):void 0}),r}function a(){function t(t){var e=this;t=t||{},this.params=Object.keys(this.paramConfigs).reduce(function(n,a){var s=[],u=e.boundParams,c=e.paramConfigs[a],d=c.validate||r,l=c.transform||i;if(a in u&&s.push(u[a]),a in t&&s.push(t[a]),s="fallback"in c?s.concat(c.fallback):s,n[a]=o(s,d,l),c.required&&null==n[a])throw new Error(a+" is a required parameter");return n},{}),this.initialize()}return s.aug(t.prototype,{paramConfigs:{},boundParams:{},initialize:function(){}}),t}var s=t(109);e.exports=a},{109:109}],23:[function(t,e,n){function r(t,e,n){var r=this[e];if(!r)throw new Error(e+" does not exist");this[e]=t(r,n)}function i(){this.Component=this.factory(),this._adviceArgs=[],this._lastArgs=[]}var o=t(24),a=t(71),s=t(109),u=t(22);s.aug(i.prototype,{factory:u,build:function(t){var e=this,n=this.Component;return s.aug(this.Component.prototype.boundParams,t),o.ifEnabled(function(){Object.freeze(n.prototype.boundParams),Object.freeze(n.prototype.paramConfigs)}),this._adviceArgs.concat(this._lastArgs).forEach(function(t){r.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=s.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)},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=s.aug({configurable:!0},e);Object.defineProperty(this.Component.prototype,t,n)},before:function(t,e){this._adviceArgs.push([a.before,t,e])},after:function(t,e){this._adviceArgs.push([a.after,t,e])},around:function(t,e){this._adviceArgs.push([a.around,t,e])},last:function(t,e){this._lastArgs.push([a.after,t,e])}}),e.exports=i},{109:109,22:22,24:24,71:71}],24:[function(t,e,n){function r(){c=!0}function i(){c=!1}function o(t){c&&t()}function a(t){o(function(){u.warn(t)})}function s(t){o(function(){throw new Error(t)})}var u=t(94),c=!1;e.exports={enable:r,disable:i,ifEnabled:o,fail:s,warn:a}},{94:94}],25:[function(t,e,n){function r(){return s.toRealArray(arguments)}function i(t,e,n){var r=new t;return e=a(o(e||[])),e.forEach(function(t){t.call(null,r)}),r.build(n)}var o=t(72),a=t(74),s=t(109);e.exports={couple:r,build:i}},{109:109,72:72,74:74}],26:[function(t,e,n){function r(t){return s.isType("string",t)?t.split("."):s.isType("array",t)?t:[]}function i(t,e){var n=r(e),i=n.slice(0,-1);return i.reduce(function(t,e,n){if(t[e]=t[e]||{},!s.isObject(t[e]))throw new Error(i.slice(0,n+1).join(".")+" is already defined with a value.");return t[e]},t)}function o(t,e){e=e||a,e[t]=e[t]||{},Object.defineProperty(this,"base",{value:e[t]}),Object.defineProperty(this,"name",{value:t})}var a=t(20),s=t(109);s.aug(o.prototype,{get:function(t){var e=r(t);return e.reduce(function(t,e){return s.isObject(t)?t[e]:void 0},this.base)},set:function(t,e,n){var o=r(t),a=i(this.base,t),s=o.slice(-1);return n&&s in a?a[s]:a[s]=e},init:function(t,e){return this.set(t,e,!0)},unset:function(t){var e=r(t),n=this.get(e.slice(0,-1));n&&delete n[e.slice(-1)]},aug:function(t){var e=this.get(t),n=s.toRealArray(arguments).slice(1);if(e="undefined"!=typeof e?e:{},n.unshift(e),!n.every(s.isObject))throw new Error("Cannot augment non-object.");return this.set(t,s.aug.apply(null,n))},call:function(t){var e=this.get(t),n=s.toRealArray(arguments).slice(1);if(!s.isType("function",e))throw new Error("Function "+t+"does not exist.");return e.apply(null,n)},fullPath:function(t){var e=r(t);return e.unshift(this.name),e.join(".")}}),e.exports=o},{109:109,20:20}],27:[function(t,e,n){function r(t){var e,n,r,i=0;for(o={},t=t||a,e=t.getElementsByTagName("meta");n=e[i];i++)/^twitter:/.test(n.name)&&(r=n.name.replace(/^twitter:/,""),o[r]=n.content)}function i(t){return o[t]}var o,a=t(17);r(),e.exports={init:r,val:i}},{17:17}],28:[function(t,e,n){var r=t(26);e.exports=new r("__twttr")},{26:26}],29:[function(t,e,n){var r=t(26);e.exports=new r("twttr")},{26:26}],30:[function(t,e,n){function r(t){return"en"===t||i.contains(o,t)}var i=t(109),o=t(31);e.exports=r},{109:109,31:31}],31:[function(t,e,n){e.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"]},{}],32:[function(t,e,n){function r(t){return t=String(t).toLowerCase(),o.contains(s,t)}function i(t){return t=(t||"").toLowerCase(),t=t.replace("_","-"),a(t)?t:(t=t.replace(/\-.*/,""),a(t)?t:"en")}var o=t(109),a=t(30),s=["ar","fa","he","ur"];e.exports={isRtlLang:r,matchLanguage:i}},{109:109,30:30}],33:[function(t,e,n){function r(t){var e=~a.host.indexOf("poptip.com")?"https://poptip.com":a.href,n="original_referer="+e;return[t,n].join(-1==t.indexOf("?")?"?":"&")}function i(t){var e,n;t.altKey||t.metaKey||t.shiftKey||(e=u.closest(function(t){return"A"===t.tagName||"AREA"===t.tagName},t.target),e&&d.isIntentURL(e.href)&&(n=r(e.href),n=n.replace(/^http[:]/,"https:"),n=n.replace(/^\/\//,"https://"),c.open(n,e),s.preventDefault(t)))}function o(t){t.addEventListener("click",i,!1)}var a=t(18),s=t(12),u=t(13),c=t(65),d=t(103);e.exports={attachTo:o}},{103:103,12:12,13:13,18:18,65:65}],34:[function(t,e,n){function r(t){var e=[];return f.forIn(t,function(t,n){e.push(t+"="+n)}),e.join(",")}function i(){return h+l.generate()}function o(t,e){function n(t){return Math.round(t/2)}return t>e?{coordinate:0,size:e}:{coordinate:n(e)-n(t),size:t}}function a(t,e,n){var i,a;e=s.parse(e),n=n||{},i=o(e.width,n.width||p),e.left=i.coordinate,e.width=i.size,a=o(e.height,n.height||m),e.top=a.coordinate,e.height=a.size,this.win=t,this.features=r(e)}var s,u=t(20),c=t(95),d=t(103),l=t(105),f=t(109),h="intent_",p=u.screen.width,m=u.screen.height;s=(new c).defaults({width:550,height:520,personalbar:"0",toolbar:"0",location:"1",scrollbars:"1",resizable:"1"}),a.prototype.open=function(t){return d.isTwitterURL(t)?(this.name=i(),this.popup=this.win.open(t,this.name,this.features),this):void 0},a.open=function(t,e){var n=new a(u,e);return n.open(t)},e.exports=a},{103:103,105:105,109:109,20:20,95:95}],35:[function(t,e,n){function r(t){return function(e){var n=t.srcEl,r=t.targetEl;n?r.insertBefore(e,n):r.appendChild(e)}}function i(t){return c.write(function(){t&&t.parentNode&&t.parentNode.removeChild(t)})}function o(t){t.forEach(function(t){var e=t.input;try{a(e).then(t.taskDoneDeferred.resolve,t.taskDoneDeferred.reject)}catch(n){t.taskDoneDeferred.reject(n)}})}function a(t){function e(){return i(t.srcEl).then(function(){return o.sandboxEl})}function n(){return i(o.sandboxEl).then(function(){return t.srcEl?p.always(c.write(function(){u.add(t.srcEl,f)}),function(){return t.srcEl}):void 0})}var o=new t.sandbox,a=new t.module(t.parameters,o),s=t.className+"-rendered",f=t.className+"-error",m=o.insert(a.id,[t.className,s],r(t)),g=a.hydrate();return h.all([m,g]).then(function(){return a.render(o)}).then(function(){d.add(a,o.sandboxEl),o.onResize(function(){return a.resize().then(function(){l.trigger("resize",{target:o.sandboxEl})})})}).then(e,n).then(function(t){return t?(l.trigger("rendered",{target:t}),t):void 0})}function s(t){return m.add(t)}var u=t(11),c=t(14),d=t(50),l=t(66),f=t(76),h=t(98),p=t(99),m=new f(o);e.exports={addWidget:s}},{11:11,14:14,50:50,66:66,76:76,98:98,99:99}],36:[function(t,e,n){function r(t,e,n,r,i,o){this.module=t,this.sandbox=e,this.srcEl=o,this.targetEl=i,this.parameters=r,this.className=n}r.prototype.destroy=function(){this.srcEl=this.targetEl=null},e.exports=r},{}],37:[function(t,e,n){function r(t){c[t]=+new Date}function i(t){return c[t]?+new Date-c[t]:null}function o(t,e,n,r,o){var s=i(e);s&&a(t,n,r,s,o)}function a(t,e,n,r,i){var o,a=void 0===i?d:i;100*Math.random()>a||(n=u.aug(n||{},{duration_ms:r}),o={page:e,component:"performance",action:t},s.clientEvent(o,n,!0))}var s=t(57),u=t(109),c={},d=1;e.exports={start:r,end:i,track:a,endAndTrack:o}},{109:109,57:57}],38:[function(t,e,n){e.exports={PARSE_ERROR:{code:-32700,message:"Parse error"},INVALID_REQUEST:{code:-32600,message:"Invalid Request"},INVALID_PARAMS:{code:-32602,message:"Invalid params"},METHOD_NOT_FOUND:{code:-32601,message:"Method not found"},INTERNAL_ERROR:{code:-32603,message:"Internal error"}}},{}],39:[function(t,e,n){function r(t){this.registry=t||{}}function i(t){return h.isType("string",t)?l.parse(t):t}function o(t){var e,n,r;return h.isObject(t)?(e=t.jsonrpc===g,n=h.isType("string",t.method),r=!("id"in t)||a(t.id),e&&n&&r):!1}function a(t){var e,n,r;return e=h.isType("string",t),n=h.isType("number",t),r=null===t,e||n||r}function s(t){return h.isObject(t)&&!h.isType("function",t)}function u(t,e){return{jsonrpc:g,id:t,result:e}}function c(t,e){return{jsonrpc:g,id:a(t)?t:null,error:e}}function d(t){return p.all(t).then(function(t){return t=t.filter(function(t){return void 0!==t}),t.length?t:void 0})}var l=t(93),f=t(38),h=t(109),p=t(98),m=t(99),g="2.0";r.prototype._invoke=function(t,e){var n,r,i;n=this.registry[t.method],r=t.params||[],r=h.isType("array",r)?r:[r];try{i=n.apply(e.source||null,r)}catch(o){i=p.reject(o.message)}return m.isPromise(i)?i:p.resolve(i)},r.prototype._processRequest=function(t,e){function n(e){return u(t.id,e)}function r(){return c(t.id,f.INTERNAL_ERROR)}var i;return o(t)?(i="params"in t&&!s(t.params)?p.resolve(c(t.id,f.INVALID_PARAMS)):this.registry[t.method]?this._invoke(t,{source:e}).then(n,r):p.resolve(c(t.id,f.METHOD_NOT_FOUND)),null!=t.id?i:p.resolve()):p.resolve(c(t.id,f.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,o,a=this;try{t=i(t)}catch(s){return p.resolve(c(null,f.PARSE_ERROR))}return e=e||null,n=h.isType("array",t),r=n?t:[t],o=r.map(function(t){return a._processRequest(t,e)}),n?d(o):o[0]},e.exports=r},{109:109,38:38,93:93,98:98,99:99}],40:[function(t,e,n){function r(t,e,n){var r;t&&t.postMessage&&(v?r=(n||"")+l.stringify(e):n?(r={},r[n]=e):r=e,t.postMessage(r,"*"))}function i(t){return p.isType("string",t)?t:"JSONRPC"}function o(t,e){return e?p.isType("string",t)&&0===t.indexOf(e)?t.substring(e.length):t[e]?t[e]:void 0:t}function a(t,e){var n=t.document;this.filter=i(e),this.server=null,this.isTwitterFrame=m.isTwitterURL(n.location.href),t.addEventListener("message",g(this._onMessage,this),!1)}function s(t,e){this.pending={},this.target=t,this.isTwitterHost=m.isTwitterURL(c.href),this.filter=i(e),d.addEventListener("message",g(this._onMessage,this),!1)}function u(t){return arguments.length>0&&(v=!!t),v}var c=t(18),d=t(20),l=t(93),f=t(97),h=t(86),p=t(109),m=t(103),g=t(89),v=h.ie9();p.aug(a.prototype,{_onMessage:function(t){var e,n=this;this.server&&(!this.isTwitterFrame||m.isTwitterURL(t.origin))&&(e=o(t.data,this.filter),e&&this.server.receive(e,t.source).then(function(e){e&&r(t.source,e,n.filter)}))},attachTo:function(t){this.server=t},detach:function(){this.server=null}}),p.aug(s.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||m.isTwitterURL(t.origin))&&(e=o(t.data,this.filter))){if(p.isType("string",e))try{e=l.parse(e)}catch(n){return}e=p.isType("array",e)?e:[e],e.forEach(g(this._processResponse,this))}},send:function(t){var e=new f;return t.id?this.pending[t.id]=e:e.resolve(),r(this.target,t,this.filter),e.promise}}),e.exports={Receiver:a,Dispatcher:s,_stringifyPayload:u}},{103:103,109:109,18:18,20:20,86:86,89:89,93:93,97:97}],41:[function(t,e,n){function r(t,e,n,r){var a,c=this;this.readyDeferred=new o,this.attrs=t||{},this.styles=e||{},this.appender=n||function(t){i.body.appendChild(t)},this.layout=r||function(t){return u.resolve(t())},this.frame=a=s(this.attrs,this.styles),a.onreadystatechange=a.onload=this.getCallback(this.onLoad),this.layout(function(){c.appender(a)})}var i=t(17),o=t(97),a=t(86),s=t(92),u=t(98),c=t(28),d=0;r.prototype.getCallback=function(t){var e=this,n=!1;return function(){n||(n=!0,t.call(e))}},r.prototype.registerCallback=function(t){var e="cb"+d++;return c.set(["sandbox",e],t),e},r.prototype.onLoad=function(){try{this.document=this.frame.contentWindow.document}catch(t){return void this.setDocDomain()}this.writeStandardsDoc(),this.readyDeferred.resolve(this)},r.prototype.ready=function(){return this.readyDeferred.promise},r.prototype.setDocDomain=function(){var t=this,e=s(this.attrs,this.styles),n=this.registerCallback(this.getCallback(this.onLoad));e.src=["javascript:",'document.write("");',"try { window.parent.document; }","catch (e) {",'document.domain="'+i.domain+'";',"}","window.parent."+c.fullPath(["sandbox",n])+"();"].join(""),this.layout(function(){t.frame.parentNode.removeChild(t.frame),t.frame=null,t.appender?t.appender(e):i.body.appendChild(e),t.frame=e})},r.prototype.writeStandardsDoc=function(){if(a.anyIE()&&!a.cspEnabled()){var t=["<!DOCTYPE html>","<html>","<head>","<scr","ipt>","try { window.parent.document; }",'catch (e) {document.domain="'+i.domain+'";}',"</scr","ipt>","</head>","<body></body>","</html>"].join("");this.document.write(t),this.document.close()}},e.exports=r},{17:17,28:28,86:86,92:92,97:97,98:98}],42:[function(t,e,n){var r=t(46),i=t(48);e.exports=r.build([i])},{46:46,48:48}],43:[function(t,e,n){var r=t(46),i=t(49);e.exports=r.build([i])},{46:46,49:49}],44:[function(t,e,n){function r(){var t=a();return u.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],o.write(function(){t.forEach(function(t){i.add(e,t)})})},removeClass:function(t){var e=this.sandboxEl;return t=Array.isArray(t)?t:[t],o.write(function(){t.forEach(function(t){i.remove(e,t)})})},styleSelf:function(t){var e=this;return o.write(function(){u.forIn(t,function(t,n){e.sandboxEl.style[t]=n})})}}),t}var i=t(11),o=t(14),a=t(22),s=t(98),u=t(109);e.exports=r;
},{109:109,11:11,14:14,22:22,98:98}],45:[function(t,e,n){function r(){i.apply(this,arguments)}var i=t(23),o=t(109),a=t(44);r.prototype=Object.create(i.prototype),o.aug(r.prototype,{factory:a}),e.exports=r},{109:109,23:23,44:44}],46:[function(t,e,n){var r=t(25),i=t(45),o=t(89);r=Object.create(r),r.build=o(r.build,null,i),e.exports=r},{25:25,45:45,89:89}],47:[function(t,e,n){function r(t,e){t&&(this._frame=t,this._win=t.contentWindow,this._doc=this._win.document,this._body=this._doc.body,this._head=this._body.parentNode.children[0],this.layout=e,this.root=this._doc.documentElement,this.root.className="SandboxRoot")}var i=t(41),o=t(109);o.aug(r.prototype,{createElement:function(t){return this._doc.createElement(t)},createDocumentFragment:function(){return this._doc.createDocumentFragment()},appendChild:function(t){var e=this;return this.layout(function(){return e._body.appendChild(t)})},setBaseTarget:function(t){var e=this,n=this._doc.createElement("base");return n.target=t,this.layout(function(){return e._head.appendChild(n)})},setTitle:function(t){t&&(this._frame.title=t)},element:function(){return this._frame},document:function(){return this._doc}}),r.createSandbox=function(t,e,n,o){var a=new i(t,e,n,o);return a.ready().then(function(t){return new r(t.frame,t.layout)})},e.exports=r},{109:109,41:41}],48:[function(t,e,n){function r(t,e){var n=b.aug({id:t,"class":e},_);return m(n,T)}function i(t){try{t.contentWindow.document}catch(e){return w.reject(e)}return w.resolve(t)}function o(t){var e=new v,n=x.generate(),i=r(t.id,t.className);return y.set(["sandbox",n],function(){var t=i.contentWindow.document,n="<!DOCTYPE html><html><head></head><body></body></html>";d.write(function(){t.write(n)}).then(function(){t.close(),e.resolve(i)})}),i.src=["javascript:",'document.write("");',"try { window.parent.document; }",'catch (e) { document.domain="'+u.domain+'"; }',"window.parent."+y.fullPath(["sandbox",n])+"();"].join(""),i.addEventListener("error",e.reject,!1),d.write(function(){t.parentNode.replaceChild(i,t)}),e.promise}function a(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 t=this;return d.read(function(){var e,n=g(t.sandboxEl);"visible"==t.sandboxEl.style.visibility?t._width=n.width:(e=g(t.sandboxEl.parentElement).width,t._width=Math.min(n.width,e)),t._height=n.height})}),t.define("setTitle",function(t){this.iframeEl.title=t}),t.define("createElement",function(t){return this.doc.createElement(t)}),t.define("createFragment",function(){return this.doc.createDocumentFragment()}),t.define("htmlToElement",function(t){var e;return e=this.createElement("div"),e.innerHTML=t,e.firstElementChild}),t.define("hasSelectedText",function(){return!!l.getSelectedText(this.win)}),t.define("setTargetToBlank",function(){var t=this.createElement("base");t.target="_blank",this.doc.head.appendChild(t)}),t.define("addRootClass",function(t){var e=this.rootEl;return t=Array.isArray(t)?t:[t],this.initialized?d.write(function(){t.forEach(function(t){c.add(e,t)})}):w.reject(new Error("sandbox not initialized"))}),t.define("removeRootClass",function(t){var e=this.rootEl;return t=Array.isArray(t)?t:[t],this.initialized?d.write(function(){t.forEach(function(t){c.remove(e,t)})}):w.reject(new Error("sandbox not initialized"))}),t.define("hasRootClass",function(t){return c.present(this.rootEl,t)}),t.define("addStyleSheet",function(t,e){function n(){var t=o.doc.head.firstElementChild;return t?o.doc.head.insertBefore(i,t):o.doc.head.appendChild(i)}function r(){return o.doc.head.appendChild(i)}var i,o=this,a=new v;return this.initialized?(i=this.createElement("link"),i.type="text/css",i.rel="stylesheet",i.href=t,i.addEventListener("load",a.resolve,!1),i.addEventListener("error",a.reject,!1),d.write(e?n:r).then(function(){var e=o.createElement("img");return e.src=t,e.onerror=function(){s.setTimeout(a.resolve,50)},a.promise})):w.reject(new Error("sandbox not initialized"))}),t.define("prependStyleSheet",function(t){return this.addStyleSheet(t,!0)}),t.define("appendStyleSheet",function(t){return this.addStyleSheet(t,!1)}),t.define("addCss",function(t,e){function n(){var t=o.doc.head.firstElementChild;return t?o.doc.head.insertBefore(i,t):o.doc.head.appendChild(i)}function r(){return o.doc.head.appendChild(i)}var i,o=this;return h.cspEnabled()?(f.warn("CSP enabled; cannot embed inline styles"),w.resolve()):(i=this.createElement("style"),i.type="text/css",i.appendChild(this.doc.createTextNode(t)),d.write(e?n:r))}),t.define("prependCss",function(t){return this.addCss(t,!0)}),t.define("appendCss",function(t){return this.addCss(t,!1)}),t.define("makeVisible",function(){var t=this;return this.styleSelf(A).then(function(){t.updateCachedDimensions()})}),t.define("injectWidgetEl",function(t){var e=this;return this.initialized?this.widgetEl?w.reject(new Error("widget already injected")):d.write(function(){e.doc.body.appendChild(t)}):w.reject(new Error("sandbox not initialized"))}),t.define("matchHeightToContent",function(){var t,e=this;return d.read(function(){t=e.widgetEl?g(e.widgetEl).height:0}),d.write(function(){e.sandboxEl.style.height=t+"px"}).then(function(){return e.updateCachedDimensions()})}),t.define("didResize",function(){var t=this,e=t._resizeHandlers.length>0;return this.updateCachedDimensions().then(function(){e&&t._resizeHandlers.forEach(function(e){e(t)})})}),t.after("initialize",function(){this._iframe=null,this._width=this._height=0,this._resizeHandlers=[]}),t.override("insert",function(t,e,n){var a=this,s=new v,u=r(t,e.join(" "));return d.write(E(n,null,u)),u.addEventListener("load",function(){i(u).then(null,E(o,null,u)).then(s.resolve,s.reject)},!1),u.addEventListener("error",s.reject,!1),s.promise.then(function(t){var e=p(a.didResize,S,a);return a._iframe=t,a.win.addEventListener("resize",e,!1),w.all([a.setTargetToBlank(),a.addRootClass(I),a.prependCss(C)])})}),t.override("onResize",function(t){this._resizeHandlers.push(t)}),t.after("styleSelf",function(){return this.updateCachedDimensions()})}var s=t(20),u=t(17),c=t(11),d=t(14),l=t(15),f=t(24),h=t(86),p=t(91),m=t(92),g=t(82),v=t(97),w=t(98),b=t(109),y=t(28),x=t(105),E=t(89),_={allowfullscreen:"true"},T={position:"absolute",visibility:"hidden",display:"block",width:"0px",height:"0px",padding:"0",border:"none"},A={position:"static",visibility:"visible"},I="SandboxRoot",C=".SandboxRoot { display: none; }",S=50;e.exports=a},{105:105,109:109,11:11,14:14,15:15,17:17,20:20,24:24,28:28,82:82,86:86,89:89,91:91,92:92,97:97,98:98}],49:[function(t,e,n){function r(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?i.read(function(){t._width=t.sandboxEl.offsetWidth,t._height=t.sandboxEl.offsetHeight}):c.resolve()}),t.define("setTitle",function(t){this.iframeEl.title=t}),t.define("makeVisible",function(){return this.styleSelf(f)}),t.define("didResize",function(){var t=this,e=t._resizeHandlers.length>0;return this.updateCachedDimensions().then(function(){e&&t._resizeHandlers.forEach(function(e){e(t)})})}),t.define("loadDocument",function(t){var e=new u;return this.initialized?this.iframeEl.src?c.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):c.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){var r=this,o=this._iframe=s({id:t,"class":e.join(" ")},l);return h[t]=this,this.onResize(a(function(){r.makeVisible()})),i.write(d(n,null,o))}),t.override("onResize",function(t){this._resizeHandlers.push(t)}),t.after("styleSelf",function(){return this.updateCachedDimensions()})}var i=t(14),o=t(64),a=t(90),s=t(92),u=t(97),c=t(98),d=t(89),l={position:"absolute",visibility:"hidden",width:"0px",height:"0px"},f={position:"static",visibility:"visible"},h={};o(function(t,e,n){var r=h[t];if(r)return r.styleSelf({width:e+"px",height:n+"px"}).then(function(){r.didResize()})}),e.exports=r},{14:14,64:64,89:89,90:90,92:92,97:97,98:98}],50:[function(t,e,n){function r(t,e){c[t.id]=e}function i(t){d[t.id]=t}function o(t){return c[t]}function a(t){var e=d[t];return e&&e.element}function s(t){return o(t)||a(t)}function u(){d={}}var c={},d={};e.exports={add:r,addClassic:i,getSandboxElement:s,resetClassic:u}},{}],51:[function(t,e,n){e.exports={CONVERSATION_ORIGIN:4}},{}],52:[function(t,e,n){function r(){return d.formatGenericEventData("syndicated_impression",{})}function i(){u("tweet")}function o(){u("timeline")}function a(){u("video")}function s(){u("partnertweet")}function u(t){l.isHostPageSensitive()||f[t]||(f[t]=!0,c.scribe(d.formatClientEventNamespace({page:t,action:"impression"}),r(),d.AUDIENCE_ENDPOINT))}var c=t(57),d=t(59),l=t(102),f={};e.exports={scribeAudienceImpression:u,scribePartnerTweetAudienceImpression:s,scribeTweetAudienceImpression:i,scribeTimelineAudienceImpression:o,scribeVideoAudienceImpression:a}},{102:102,57:57,59:59}],53:[function(t,e,n){e.exports={CLIENT_SIDE_USER:0,CLIENT_SIDE_APP:2}},{}],54:[function(t,e,n){function r(t){return t?(t=Array.isArray(t)?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},{})):{}}var i=t(56);e.exports=r},{56:56}],55:[function(t,e,n){function r(){return A?I.promise:(m.createSandbox({id:"rufous-sandbox"},{display:"none"}).then(function(t){f=t,d=u(),l=c(),I.resolve([d,l])}),A=!0,I.promise)}function i(t,e){var n,r,i;b.isObject(t)&&b.isObject(e)&&(i=w.flattenClientEventPayload(t,e),n=d.firstChild,n.value=+(+n.value||i.dnt||0),r=f.createElement("input"),r.type="hidden",r.name="l",r.value=w.stringify(i),d.appendChild(r))}function o(t,e,n){var r=!b.isObject(t),o=e?!b.isObject(e):!1;r||o||I.promise.then(function(){i(w.formatClientEventNamespace(t),w.formatClientEventData(e,n))})}function a(){return I.promise.then(function(){if(d.children.length<=2)return v.reject();var t=v.all([f.appendChild(d),f.appendChild(l)]).then(function(t){var e=t[0],n=t[1];return n.addEventListener("load",function(){s(e,n)(),y.get("events").trigger("logFlushed")}),e.submit(),t});return d=u(),l=c(),t})}function s(t,e){return function(){var n=t.parentNode;n&&(n.removeChild(t),n.removeChild(e))}}function u(){var t=f.createElement("form"),e=f.createElement("input"),n=f.createElement("input");return T++,t.action=w.CLIENT_EVENT_ENDPOINT,t.method="POST",t.target=E+T,t.id=_+T,e.type="hidden",e.name="dnt",e.value=p.enabled(),n.type="hidden",n.name="tfw_redirect",n.value=w.RUFOUS_REDIRECT,t.appendChild(e),t.appendChild(n),t}function c(){var t=E+T;return h({id:t,name:t,width:0,height:0,border:0},{display:"none"},f.document())}var d,l,f,h=t(92),p=t(81),m=t(47),g=t(97),v=t(98),w=t(59),b=t(109),y=t(29),x=Math.floor(1e3*Math.random())+"_",E="rufous-frame-"+x+"-",_="rufous-form-"+x+"-",T=0,A=!1,I=new g;e.exports={clientEvent:o,flush:a,init:r}},{109:109,29:29,47:47,59:59,81:81,92:92,97:97,98:98}],56:[function(t,e,n){e.exports={TWEET:0,RETWEET:10,CUSTOM_TIMELINE:17}},{}],57:[function(t,e,n){function r(t,e,n){return i(t,e,n,2)}function i(t,e,n,r){var i=!p.isObject(t),o=e?!p.isObject(e):!1;i||o||a(h.formatClientEventNamespace(t),h.formatClientEventData(e,n,r),h.CLIENT_EVENT_ENDPOINT)}function o(t,e,n,r){var o=h.extractTermsFromDOM(t.target||t.srcElement);o.action=r||"click",i(o,e,n)}function a(t,e,n){var r,i;n&&p.isObject(t)&&p.isObject(e)&&(r=h.flattenClientEventPayload(t,e),i={l:h.stringify(r)},r.dnt&&(i.dnt=1),d(f.url(n,i)))}function s(t,e,n,r){var i,o=!p.isObject(t),a=e?!p.isObject(e):!1;if(!o&&!a)return i=h.flattenClientEventPayload(h.formatClientEventNamespace(t),h.formatClientEventData(e,n,r)),u(i)}function u(t){return g.push(t),g}function c(){var t,e,n=f.url(h.CLIENT_EVENT_ENDPOINT,{dnt:0,l:""}),r=encodeURIComponent(n).length;return g.length>1&&s({page:"widgets_js",component:"scribe_pixel",action:"batch_log"},{}),t=g,g=[],e=t.reduce(function(e,n,i){var o,a,s=e.length,u=s&&e[s-1],c=i+1==t.length;return c&&n.event_namespace&&"batch_log"==n.event_namespace.action&&(n.message=["entries:"+i,"requests:"+s].join("/")),o=h.stringify(n),a=encodeURIComponent(o).length+3,r+a>m?e:((!u||u.urlLength+a>m)&&(u={urlLength:r,items:[]},e.push(u)),u.urlLength+=a,u.items.push(o),e)},[]),e.map(function(t){var e={l:t.items};return l.enabled()&&(e.dnt=1),d(f.url(h.CLIENT_EVENT_ENDPOINT,e))})}function d(t){var e=new Image;return e.src=t}var l=t(81),f=t(100),h=t(59),p=t(109),m=2083,g=[];e.exports={_enqueueRawObject:u,scribe:a,clientEvent:i,clientEvent2:r,enqueueClientEvent:s,flushClientEvents:c,interaction:o}},{100:100,109:109,59:59,81:81}],58:[function(t,e,n){function r(t){t.forEach(function(t){var e=t.input.namespace,n=t.input.data,r=t.input.offsite,i=t.input.version;u.clientEvent(e,n,r,i),t.taskDoneDeferred.resolve()})}function i(t){function e(){t.forEach(function(t){t.taskDoneDeferred.resolve()})}function n(){t.forEach(function(t){t.taskDoneDeferred.reject()})}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(e,n)}function o(t){(1===t.length?r:i)(t)}function a(t,e,n,r){return d.add({namespace:t,data:e,offsite:n,version:r})}var s=t(55),u=t(57),c=t(76),d=new c(o);e.exports={scribe:a}},{55:55,57:57,76:76}],59:[function(t,e,n){function r(t,e){var n;return e=e||{},t&&t.nodeType===Node.ELEMENT_NODE?((n=t.getAttribute("data-scribe"))&&n.split(" ").forEach(function(t){var n=t.trim().split(":"),r=n[0],i=n[1];r&&i&&!e[r]&&(e[r]=i)}),r(t.parentNode,e)):e}function i(t){return f.aug({client:"tfw"},t||{})}function o(t,e,n){var r=t&&t.widget_origin||c.referrer;return t=a("tfw_client_event",t,r),t.client_version=m,t.format_version=void 0!==n?n:1,e||(t.widget_origin=r),t}function a(t,e,n){return e=e||{},f.aug({},e,{_category_:t,triggered_on:e.triggered_on||+new Date,dnt:l.enabled(n)})}function s(t,e){return f.aug({},e,{event_namespace:t})}function u(t){var e,n=Array.prototype.toJSON;return delete Array.prototype.toJSON,e=d.stringify(t),n&&(Array.prototype.toJSON=n),e}var c=t(17),d=t(93),l=t(81),f=t(109),h=t(114),p=t(28),m=h.version,g=p.get("endpoints.rufous")||"https://syndication.twitter.com/i/jot",v=p.get("endpoints.rufousAudience")||"https://syndication.twitter.com/i/jot/syndication",w=p.get("endpoints.rufousRedirect")||"https://platform.twitter.com/jot.html";e.exports={extractTermsFromDOM:r,flattenClientEventPayload:s,formatGenericEventData:a,formatClientEventData:o,formatClientEventNamespace:i,stringify:u,AUDIENCE_ENDPOINT:v,CLIENT_EVENT_ENDPOINT:g,RUFOUS_REDIRECT:w}},{109:109,114:114,17:17,28:28,81:81,93:93}],60:[function(t,e,n){function r(t,e){var n=c.connect({src:t,iframe:{name:e,style:"position:absolute;top:-9999em;width:10px;height:10px"}});return d(n).expose({trigger:function(t,e,n){e=e||{};var r=e.region;delete e.region,f.get("events").trigger(t,{target:h.getSandboxElement(n),data:e,region:r,type:t})},initXPHub:function(){o(!0)}}),n}function i(t){return t?l.secureHubId:l.contextualHubId}function o(t){var e=u.base(t)+"/widgets/hub.86c71f88b184f2d5cb2f57cd5a1066ce.html",n=i(t);if(!s.getElementById(n))return r(e,n)}function a(t,e){var n=c.connect({window:{width:550,height:450},src:t});d(n).expose({trigger:function(t,n){f.get("events").trigger(t,{target:e,region:"intent",type:t,data:n})}})}var s=t(17),u=t(61),c=t(196),d=t(195),l=t(110),f=t(29),h=t(50);e.exports={init:o,openIntent:a}},{110:110,17:17,195:195,196:196,29:29,50:50,61:61}],61:[function(t,e,n){function r(t,e){var n,r=c[t];return"embed/timeline.css"===t&&u.contains(o.href,"localhost.twitter.com")?"/node_modules/syndication-templates/lib/css/index.css":(n=s.retina()?"2x":"default",e&&(n+=".rtl"),i()+"/"+r[n])}function i(t){var e=a.get("host");return d(t)+"://"+e}var o=t(18),a=t(28),s=t(86),u=t(109),c={"embed/timeline.css":{"default":"embed/timeline.93933550310288c77a13ff57ab42950b.default.css","2x":"embed/timeline.93933550310288c77a13ff57ab42950b.2x.css",gif:"embed/timeline.93933550310288c77a13ff57ab42950b.gif.css","default.rtl":"embed/timeline.93933550310288c77a13ff57ab42950b.default.rtl.css","2x.rtl":"embed/timeline.93933550310288c77a13ff57ab42950b.2x.rtl.css","gif.rtl":"embed/timeline.93933550310288c77a13ff57ab42950b.gif.rtl.css"}},d=function(){return/^http\:$/.test(o.protocol)?function(t){return t?"https":"http"}:function(){return"https"}}();e.exports={builtUrl:r,base:i}},{109:109,18:18,28:28,86:86}],62:[function(t,e,n){function r(){var t=36e5,e=a.combined(o)._;return void 0!==i?i:(i=!1,e&&/^\d+$/.test(e)&&(i=+new Date-parseInt(e)<t),i)}var i,o=t(18),a=t(96);e.exports={isDynamicWidget:r}},{18:18,96:96}],63:[function(t,e,n){function r(t){var e=t.split(" ");this.url=decodeURIComponent(e[0].trim()),this.width=+e[1].replace(/w$/,"").trim()}function i(t,e,n){var i,o,a,s;if(t=p.devicePixelRatio?t*p.devicePixelRatio:t,o=e.split(",").map(function(t){return new r(t.trim())}),n)for(s=0;s<o.length;s++)o[s].url===n&&(i=o[s]);return a=o.reduce(function(e,n){return n.width<e.width&&n.width>=t?n:e},o[0]),i&&i.width>a.width?i:a}function o(t,e){var n,r=t.getAttribute("data-srcset"),o=t.src;r&&(n=i(e,r,o),t.src=n.url)}function a(t,e){e=void 0!==e?!!e:g.retina(),m.toRealArray(t.getElementsByTagName("IMG")).forEach(function(t){var n=t.getAttribute("data-src-1x")||t.getAttribute("src"),r=t.getAttribute("data-src-2x");e&&r?t.src=r:n&&(t.src=n)})}function s(t,e,n){t&&(m.toRealArray(t.querySelectorAll(".NaturalImage-image")).forEach(function(t){n(function(){o(t,e)})}),m.toRealArray(t.querySelectorAll(".CroppedImage-image")).forEach(function(t){n(function(){o(t,e/2)})}),m.toRealArray(t.querySelectorAll("img.autosized-media")).forEach(function(t){n(function(){o(t,e),t.removeAttribute("width"),t.removeAttribute("height")})}))}function u(t,e,n,r){t&&((g.ios()||g.android())&&m.toRealArray(t.querySelectorAll(".FilledIframe")).forEach(function(t){r(function(){l(t,{width:t.offsetWidth,height:t.offsetHeight})})}),m.toRealArray(t.querySelectorAll("iframe.autosized-media")).forEach(function(t){var i=d(t.getAttribute("data-width"),t.getAttribute("data-height"),w.effectiveWidth(t.parentElement)||e,n);r(function(){t.width=i.width,t.height=i.height,l(t,i)})}))}function c(t,e,n,r){s(t,e,r),u(t,e,n,r)}function d(t,e,n,r,i,o){return n=n||t,r=r||e,i=i||0,o=o||0,t>n&&(e*=n/t,t=n),e>r&&(t*=r/e,e=r),i>t&&(e*=i/t,t=i),o>e&&(t*=o/e,e=o),{width:Math.floor(t),height:Math.floor(e)}}function l(t,e){function n(){var t={name:"tfw:resize",dimensions:e};i.postMessage(t,"*")}var r,i,o,a,s;t&&(i=t.contentWindow,r=t.ownerDocument&&t.ownerDocument.defaultView,o=g.ios()||g.android(),a=v.isTwitterURL(t.src),s=i&&g.canPostMessage(i),o&&a&&s&&(n(),r&&r.addEventListener("message",function(t){"tfw:requestsize"===t.data&&n()},!1)))}function f(t,e,n,r){m.toRealArray(t.querySelectorAll(e)).forEach(function(t){var e=t.getAttribute("style")||t.getAttribute("data-style"),i=r.test(e)&&RegExp.$1;i&&(t.setAttribute("data-csp-fix",!0),t.style[n]=i)})}function h(t){g.cspEnabled()&&(f(t,".MediaCard-widthConstraint","maxWidth",b),f(t,".MediaCard-mediaContainer","paddingBottom",E),f(t,".CroppedImage-image","top",y),f(t,".CroppedImage-image","left",x))}var p=t(20),m=t(109),g=t(86),v=t(103),w=t(16),b=/max-width:\s*([\d\.]+px)/,y=/top:\s*(\-?[\d\.]+%)/,x=/left:\s*(\-?[\d\.]+%)/,E=/padding-bottom:\s*([\d\.]+%)/;e.exports={scaleDimensions:d,retinize:a,setSrcForImgs:s,sizeIframes:u,constrainMedia:c,fixMediaCardLayout:h,__setSrcFromSet:o}},{103:103,109:109,16:16,20:20,86:86}],64:[function(t,e,n){function r(t){(new o).attachReceiver(new a.Receiver(i,"twttr.resize")).bind("twttr.private.resizeButton",function(e){var n=u(this),r=n&&n.id,i=s.asInt(e.width),o=s.asInt(e.height);r&&i&&o&&t(r,i,o)})}var i=t(20),o=t(39),a=t(40),s=t(104),u=t(88);e.exports=r},{104:104,20:20,39:39,40:40,88:88}],65:[function(t,e,n){function r(t){c.open(t)}function i(e,n){var r=t(60);r.openIntent(e,n)}function o(t,e){u.isTwitterURL(t)&&(l.get("eventsHub")&&e?(f.add(s.generate(),e),i(t,e),d.get("events").trigger("click",{target:e,region:"intent",type:"click",data:{}})):r(t))}function a(t){this.srcEl=[],this.element=t}var s=t(105),u=t(103),c=t(34),d=t(29),l=t(28),f=t(50);a.open=o,e.exports=a},{103:103,105:105,28:28,29:29,34:34,50:50,60:60}],66:[function(t,e,n){function r(){o.get("eventsHub")||(o.set("eventsHub",s.init()),s.init(!0))}function i(){return o.get("eventsHub")?a.get("events"):{}}var o=t(28),a=t(29),s=t(60),u=t(87),c=t(109),d=["click","tweet","retweet","favorite","follow","unfollow"],l=c.aug(i(),u.Emitter),f=l.bind;l.bind=function(t,e){t=t.toLowerCase(),c.contains(d,t)&&r(),f.call(this,t,e)},e.exports=l},{109:109,28:28,29:29,60:60,87:87}],67:[function(t,e,n){e.exports=[t(120),t(178),t(155),t(171),t(187),t(127)]},{120:120,127:127,155:155,171:171,178:178,187:187}],68:[function(t,e,n){var r=t(109);e.exports=r.aug({},t(119),t(177),t(170),t(153),t(186))},{109:109,119:119,153:153,170:170,177:177,186:186}],69:[function(t,e,n){var r,i=t(97),o=t(17),a=t(21),s=t(28),u=t(29),s=t(28),c=t(33),d=t(37),l=t(66),f=t(70),h=t(68),p=t(79),m=t(80),g="_e";s.set("widgets.init",!0),u.set("init",!0),r=new i,a.exposeReadyPromise(r.promise,u.base,g),u.set("widgets",h),u.set("widgets.load",f.load),u.set("events",l),s.init("host","platform.twitter.com"),m(function(){r.resolve(u.base),c.attachTo(o),d.start("widgets-js-load"),f.loadPage().then(function(){d.endAndTrack("render","widgets-js-load","page",{widget_origin:p.rootDocumentLocation(),widget_frame:p.isFramed()&&p.currentDocumentLocation()})})})},{17:17,21:21,28:28,29:29,33:33,37:37,66:66,68:68,70:70,79:79,80:80,97:97}],70:[function(t,e,n){function r(t){return t.reduce(function(t,e){return t.concat(g.reduce(function(t,n){return t.concat(n(e))},[]))},[])}function i(){var t=l.val("widgets:autoload")||!0;return p.isFalseValue(t)?!1:p.isTruthValue(t)?c.body:c.querySelectorAll(t)}function o(t){return t=t||c.body,t=t.length?m.toRealArray(t):[t],u.allResolved(r(t).map(function(t){return d.addWidget(t)})).then(function(t){h.trigger("loaded",{widgets:t})})}function a(){var t=i();return t===!1?s.resolve():(f.set("widgets.loaded",!0),o(t))}var s=t(98),u=t(99),c=t(17),d=t(35),l=t(27),f=t(28),h=t(66),p=t(104),m=t(109),g=t(67);e.exports={load:o,loadPage:a,_getPageLoadTarget:i}},{104:104,109:109,17:17,27:27,28:28,35:35,66:66,67:67,98:98,99:99}],71:[function(t,e,n){function r(t,e){return function(){var n,r=this,i=arguments;return n=e.apply(this,arguments),a.isPromise(n)?n.then(function(){return t.apply(r,i)}):t.apply(this,arguments)}}function i(t,e){return function(){function n(t,e){return a.isPromise(e)?e.then(function(){return t}):t}var r,i=this,o=arguments;return r=t.apply(this,arguments),a.isPromise(r)?r.then(function(t){return n(t,e.apply(i,o))}):n(r,e.apply(this,arguments))}}function o(t,e){return function(){var n=s.toRealArray(arguments);return n.unshift(u(t,this)),e.apply(this,n)}}var a=t(99),s=t(109),u=t(89);e.exports={before:r,after:i,around:o}},{109:109,89:89,99:99}],72:[function(t,e,n){function r(t){var e=[];return t.forEach(function(t){var n=i.isType("array",t)?r(t):[t];e=e.concat(n)}),e}var i=t(109);e.exports=r},{109:109}],73:[function(t,e,n){function r(t,e){return t.reduce(function(t,n){var r=e(n);return t[r]=t[r]||[],t[r].push(n),t},{})}e.exports=r},{}],74:[function(t,e,n){function r(t){return t.filter(function(e,n){return t.indexOf(e)===n})}e.exports=r},{}],75:[function(t,e,n){var r=t(1).Promise;e.exports=r._asap},{1:1}],76:[function(t,e,n){function r(t){this.inputsQueue=[],this.task=t,this.hasFlushBeenScheduled=!1}var i=t(97),o=t(75),a=t(89);r.prototype.add=function(t){var e=new i;return this.inputsQueue.push({input:t,taskDoneDeferred:e}),this.hasFlushBeenScheduled||(this.hasFlushBeenScheduled=!0,o(a(this._flush,this))),e.promise},r.prototype._flush=function(){try{this.task.call(null,this.inputsQueue)}catch(t){this.inputsQueue.forEach(function(e){e.taskDoneDeferred.reject(t)})}this.inputsQueue=[],this.hasFlushBeenScheduled=!1},e.exports=r},{75:75,89:89,97:97}],77:[function(t,e,n){function r(t){return u.parseInt(t,16)}function i(t){return c.isType("string",t)?(t=t.replace(d,""),t+=3===t.length?t:""):null}function o(t,e){var n,o,a,s;return t=i(t),e=e||0,t?(n=0>e?0:255,e=0>e?-Math.max(e,-1):Math.min(e,1),o=r(t.substring(0,2)),a=r(t.substring(2,4)),s=r(t.substring(4,6)),"#"+(16777216+65536*(Math.round((n-o)*e)+o)+256*(Math.round((n-a)*e)+a)+(Math.round((n-s)*e)+s)).toString(16).slice(1)):void 0}function a(t,e){return o(t,-e)}function s(t,e){return o(t,e)}var u=t(20),c=t(109),d=/^#/;e.exports={darken:a,lighten:s}},{109:109,20:20}],78:[function(t,e,n){var r=t(17),i=t(104),o=r.createElement("div");e.exports=function(t){return i.isNumber(t)&&(t+="px"),o.style.width="",o.style.width=t,o.style.width||null}},{104:104,17:17}],79:[function(t,e,n){function r(t){return t&&u.isType("string",t)&&(c=t),c}function i(){return d}function o(){return c!==d}var a=t(18),s=t(106),u=t(109),c=s.getCanonicalURL()||a.href,d=c;e.exports={isFramed:o,rootDocumentLocation:r,currentDocumentLocation:i}},{106:106,109:109,18:18}],80:[function(t,e,n){function r(){c=1;for(var t=0,e=d.length;e>t;t++)d[t]()}var i,o,a,s=t(17),u=t(20),c=0,d=[],l=!1,f=s.createElement("a");/^loade|c/.test(s.readyState)&&(c=1),s.addEventListener&&s.addEventListener("DOMContentLoaded",o=function(){s.removeEventListener("DOMContentLoaded",o,l),r()},l),f.doScroll&&s.attachEvent("onreadystatechange",i=function(){/^c/.test(s.readyState)&&(s.detachEvent("onreadystatechange",i),r())}),a=f.doScroll?function(t){u.self!=u.top?c?t():d.push(t):!function(){try{f.doScroll("left")}catch(e){return setTimeout(function(){a(t)},50)}t()}()}:function(t){c?t():d.push(t)},e.exports=a},{17:17,20:20}],81:[function(t,e,n){function r(){f=!0}function i(t,e){return f?!0:d.asBoolean(l.val("dnt"))?!0:!s||1!=s.doNotTrack&&1!=s.msDoNotTrack?c.isUrlSensitive(e||a.host)?!0:u.isFramed()&&c.isUrlSensitive(u.rootDocumentLocation())?!0:(t=h.test(t||o.referrer)&&RegExp.$1,t&&c.isUrlSensitive(t)?!0:!1):!0}var o=t(17),a=t(18),s=t(19),u=t(79),c=t(102),d=t(104),l=t(27),f=!1,h=/https?:\/\/([^\/]+).*/i;e.exports={setOn:r,enabled:i}},{102:102,104:104,17:17,18:18,19:19,27:27,79:79}],82:[function(t,e,n){function r(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height}}e.exports=r},{}],83:[function(t,e,n){function r(t){var e;if(t)return e=t.lang||t.getAttribute("data-lang"),e?e:r(t.parentElement)}e.exports=r},{}],84:[function(t,e,n){function r(t,e){return a?a.call(t,e):void 0}var i=t(20),o=i.HTMLElement,a=o.prototype.matches||o.prototype.matchesSelector||o.prototype.webkitMatchesSelector||o.prototype.mozMatchesSelector||o.prototype.msMatchesSelector||o.prototype.oMatchesSelector;e.exports=r},{20:20}],85:[function(t,e,n){function r(t,e){return o(t,e)?[t]:i.toRealArray(t.querySelectorAll(e))}var i=t(109),o=t(84);e.exports=r},{109:109,84:84}],86:[function(t,e,n){function r(t){return t=t||g,t.devicePixelRatio?t.devicePixelRatio>=1.5:t.matchMedia?t.matchMedia("only screen and (min-resolution: 144dpi)").matches:!1}function i(t){return t=t||_,/(Trident|MSIE \d)/.test(t)}function o(t){return t=t||_,/MSIE 9/.test(t)}function a(t){return t=t||_,/(iPad|iPhone|iPod)/.test(t)}function s(t){return t=t||_,/^Mozilla\/5\.0 \(Linux; (U; )?Android/.test(t)}function u(){return T}function c(t,e){return t=t||g,e=e||_,t.postMessage&&!(i(e)&&t.opener)}function d(t){t=t||m;try{return!!t.plugins["Shockwave Flash"]||!!new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){return!1}}function l(t,e,n){return t=t||g,e=e||m,n=n||_,"ontouchstart"in t||/Opera Mini/.test(n)||e.msMaxTouchPoints>0}function f(){var t=p.body.style;return void 0!==t.transition||void 0!==t.webkitTransition||void 0!==t.mozTransition||void 0!==t.oTransition||void 0!==t.msTransition}function h(){return!!(g.Promise&&g.Promise.resolve&&g.Promise.reject&&g.Promise.all&&g.Promise.race&&function(){var t;return new g.Promise(function(e){t=e}),y.isType("function",t)}())}var p=t(17),m=t(19),g=t(20),v=t(80),w=t(94),b=t(104),y=t(109),x=t(27),E=t(28),_=m.userAgent,T=!1,A=!1,I="twitter-csp-test";E.set("verifyCSP",function(t){var e=p.getElementById(I);A=!0,T=!!t,e&&e.parentNode.removeChild(e)}),v(function(){var t;return b.asBoolean(x.val("widgets:csp"))?T=!0:(t=p.createElement("script"),t.id=I,t.text=E.fullPath("verifyCSP")+"(false);",p.body.appendChild(t),void g.setTimeout(function(){A||(w.warn('TWITTER: Content Security Policy restrictions may be applied to your site. Add <meta name="twitter:widgets:csp" content="on"> to supress this warning.'),w.warn("TWITTER: Please note: Not all embedded timeline and embedded Tweet functionality is supported when CSP is applied."))},5e3))}),e.exports={retina:r,anyIE:i,ie9:o,ios:a,android:s,cspEnabled:u,flashEnabled:d,canPostMessage:c,touch:l,cssTransitions:f,hasPromiseSupport:h}},{104:104,109:109,17:17,19:19,20:20,27:27,28:28,80:80,94:94}],87:[function(t,e,n){var r=t(109),i=t(89),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){if(this._handlers[t])if(e){var n=this._handlers[t].indexOf(e);n>=0&&this._handlers[t].splice(n,1)}else this._handlers[t]=[]},trigger:function(t,e){var n=this._handlers&&this._handlers[t];e=e||{},e.type=t,n&&n.forEach(function(t){r.async(i(t,this,e))})}};e.exports={Emitter:o}},{109:109,89:89}],88:[function(t,e,n){function r(t){for(var e,n=i.getElementsByTagName("iframe"),r=0;e=n[r];r++)if(e.contentWindow===t)return e}var i=t(17);e.exports=r},{17:17}],89:[function(t,e,n){var r=t(109);e.exports=function(t,e){var n=Array.prototype.slice.call(arguments,2);return function(){var i=r.toRealArray(arguments);return t.apply(e,n.concat(i))}}},{109:109}],90:[function(t,e,n){function r(t){var e,n=!1;return function(){return n?e:(n=!0,e=t.apply(this,arguments))}}e.exports=r},{}],91:[function(t,e,n){function r(t,e,n){function r(){var s=n||this,u=arguments,c=+new Date;return i.clearTimeout(o),c-a>e?(a=c,void t.apply(s,u)):void(o=i.setTimeout(function(){r.apply(s,u)},e))}var o,a=0;return n=n||null,r}var i=t(20);e.exports=r},{20:20}],92:[function(t,e,n){var r=t(17),i=t(109);e.exports=function(t,e,n){var o;if(n=n||r,t=t||{},e=e||{},t.name){try{o=n.createElement('<iframe name="'+t.name+'"></iframe>')}catch(a){o=n.createElement("iframe"),o.name=t.name}delete t.name}else o=n.createElement("iframe");return t.id&&(o.id=t.id,delete t.id),o.allowtransparency="true",o.scrolling="no",o.setAttribute("frameBorder",0),o.setAttribute("allowTransparency",!0),i.forIn(t,function(t,e){o.setAttribute(t,e)}),i.forIn(e,function(t,e){o.style[t]=e}),o}},{109:109,17:17}],93:[function(t,e,n){var r=t(20),i=r.JSON;e.exports={stringify:i.stringify||i.encode,parse:i.parse||i.decode}},{20:20}],94:[function(t,e,n){function r(){c("info",f.toRealArray(arguments))}function i(){c("warn",f.toRealArray(arguments))}function o(){c("error",f.toRealArray(arguments))}function a(t){m&&(p[t]=u())}function s(t){var e;m&&(p[t]?(e=u(),r("_twitter",t,e-p[t])):o("timeEnd() called before time() for id: ",t));
}function u(){return l.performance&&+l.performance.now()||+new Date}function c(t,e){if(l[h]&&l[h][t])switch(e.length){case 1:l[h][t](e[0]);break;case 2:l[h][t](e[0],e[1]);break;case 3:l[h][t](e[0],e[1],e[2]);break;case 4:l[h][t](e[0],e[1],e[2],e[3]);break;case 5:l[h][t](e[0],e[1],e[2],e[3],e[4]);break;default:0!==e.length&&l[h].warn&&l[h].warn("too many params passed to logger."+t)}}var d=t(18),l=t(20),f=t(109),h=["con","sole"].join(""),p={},m=f.contains(d.href,"tw_debug=true");e.exports={info:r,warn:i,error:o,time:a,timeEnd:s}},{109:109,18:18,20:20}],95:[function(t,e,n){function r(t){return function(e){return o.hasValue(e[t])}}function i(){this.assertions=[],this._defaults={}}var o=t(104),a=t(109);i.prototype.assert=function(t,e){return this.assertions.push({fn:t,msg:e||"assertion failed"}),this},i.prototype.defaults=function(t){return this._defaults=t||this._defaults,this},i.prototype.require=function(t){var e=this;return t=Array.isArray(t)?t:a.toRealArray(arguments),t.forEach(function(t){e.assert(r(t),"required: "+t)}),this},i.prototype.parse=function(t){var e,n;if(e=a.aug({},this._defaults,t||{}),n=this.assertions.reduce(function(t,n){return n.fn(e)||t.push(n.msg),t},[]),n.length>0)throw new Error(n.join("\n"));return e},e.exports=i},{104:104,109:109}],96:[function(t,e,n){var r,i,o,a=t(100);r=function(t){var e=t.search.substr(1);return a.decode(e)},i=function(t){var e=t.href,n=e.indexOf("#"),r=0>n?"":e.substring(n+1);return a.decode(r)},o=function(t){var e,n={},o=r(t),a=i(t);for(e in o)o.hasOwnProperty(e)&&(n[e]=o[e]);for(e in a)a.hasOwnProperty(e)&&(n[e]=a[e]);return n},e.exports={combined:o,fromQuery:r,fromFragment:i}},{100:100}],97:[function(t,e,n){function r(){var t=this;this.promise=new i(function(e,n){t.resolve=e,t.reject=n})}var i=t(98);e.exports=r},{98:98}],98:[function(t,e,n){var r=t(1).Promise,i=t(20),o=t(86);e.exports=o.hasPromiseSupport()?i.Promise:r},{1:1,20:20,86:86}],99:[function(t,e,n){function r(t,e){return t.then(e,e)}function i(t){var e;return t=t||[],e=t.length,t=t.filter(a),e?e!==t.length?s.reject("non-Promise passed to .some"):new s(function(e,n){function r(){i+=1,i===t.length&&n()}var i=0;t.forEach(function(t){t.then(e,r)})}):s.reject("no promises passed to .some")}function o(t){var e;return void 0===t?s.reject(new Error("undefined is not an object")):Array.isArray(t)?(e=t.length,e?new s(function(n,r){function i(){s+=1,s===e&&(0===u.length?r():n(u))}function o(t){u.push(t),i()}var s=0,u=[];t.forEach(function(t){a(t)?t.then(o,i):o(t)})}):s.resolve([])):s.reject(new Error("Type error"))}function a(t){return t instanceof s}var s=t(98);e.exports={always:r,allResolved:o,some:i,isPromise:a}},{98:98}],100:[function(t,e,n){function r(t){return encodeURIComponent(t).replace(/\+/g,"%2B").replace(/'/g,"%27")}function i(t){return decodeURIComponent(t)}function o(t){var e=[];return d.forIn(t,function(t,n){var i=r(t);d.isType("array",n)||(n=[n]),n.forEach(function(t){c.hasValue(t)&&e.push(i+"="+r(t))})}),e.sort().join("&")}function a(t){var e,n={};return t?(e=t.split("&"),e.forEach(function(t){var e=t.split("="),r=i(e[0]),o=i(e[1]);return 2==e.length?d.isType("array",n[r])?void n[r].push(o):r in n?(n[r]=[n[r]],void n[r].push(o)):void(n[r]=o):void 0}),n):{}}function s(t,e){var n=o(e);return n.length>0?d.contains(t,"?")?t+"&"+o(e):t+"?"+o(e):t}function u(t){var e=t&&t.split("?");return 2==e.length?a(e[1]):{}}var c=t(104),d=t(109);e.exports={url:s,decodeURL:u,decode:a,encode:o,encodePart:r,decodePart:i}},{104:104,109:109}],101:[function(t,e,n){function r(t,e){return t.replace(i,function(t,n){return void 0!==e[n]?e[n]:t})}var i=/\{\{([\w_]+)\}\}/g;e.exports=r},{}],102:[function(t,e,n){function r(t){return t in s?s[t]:s[t]=a.test(t)}function i(){return r(o.host)}var o=t(18),a=/^[^#?]*\.(gov|mil)(:\d+)?([#?].*)?$/i,s={};e.exports={isUrlSensitive:r,isHostPageSensitive:i}},{18:18}],103:[function(t,e,n){function r(t){return"string"==typeof t&&g.test(t)&&RegExp.$1.length<=20}function i(t){return r(t)?RegExp.$1:void 0}function o(t,e){var n=m.decodeURL(t);return e=e||!1,n.screen_name=i(t),n.screen_name?m.url("https://twitter.com/intent/"+(e?"follow":"user"),n):void 0}function a(t){return o(t,!0)}function s(t){return"string"==typeof t&&y.test(t)}function u(t,e){return e=void 0===e?!0:e,s(t)?(e?"#":"")+RegExp.$1:void 0}function c(t){return"string"==typeof t&&v.test(t)}function d(t){return c(t)&&RegExp.$1}function l(t){return w.test(t)}function f(t){return b.test(t)}function h(t){return x.test(t)}function p(t){return E.test(t)&&RegExp.$1}var m=t(100),g=/(?:^|(?:https?\:)?\/\/(?:www\.)?twitter\.com(?:\:\d+)?(?:\/intent\/(?:follow|user)\/?\?screen_name=|(?:\/#!)?\/))@?([\w]+)(?:\?|&|$)/i,v=/(?:^|(?:https?\:)?\/\/(?:www\.)?twitter\.com(?:\:\d+)?\/(?:#!\/)?[\w_]+\/status(?:es)?\/)(\d+)/i,w=/^http(s?):\/\/(\w+\.)*twitter\.com([\:\/]|$)/i,b=/^http(s?):\/\/pbs\.twimg\.com\//,y=/^#?([^.,<>!\s\/#\-\(\)\'\"]+)$/,x=/twitter\.com(\:\d{2,4})?\/intent\/(\w+)/,E=/^https?:\/\/(?:www\.)?twitter\.com\/i\/moments\/(\d+)/i;e.exports={isHashTag:s,hashTag:u,isScreenName:r,screenName:i,isStatus:c,status:d,intentForProfileURL:o,intentForFollowURL:a,isTwitterURL:l,isTwimgURL:f,isIntentURL:h,regexen:{profile:g},momentId:p}},{100:100}],104:[function(t,e,n){function r(t){return void 0!==t&&null!==t&&""!==t}function i(t){return a(t)&&t%1===0}function o(t){return a(t)&&!i(t)}function a(t){return r(t)&&!isNaN(t)}function s(t){return r(t)&&"array"==p.toType(t)}function u(t){return p.contains(g,t)}function c(t){return p.contains(m,t)}function d(t){return r(t)?c(t)?!0:u(t)?!1:!!t:!1}function l(t){return a(t)?t:void 0}function f(t){return o(t)?t:void 0}function h(t){return i(t)?t:void 0}var p=t(109),m=[!0,1,"1","on","ON","true","TRUE","yes","YES"],g=[!1,0,"0","off","OFF","false","FALSE","no","NO"];e.exports={hasValue:r,isInt:i,isFloat:o,isNumber:a,isArray:s,isTruthValue:c,isFalseValue:u,asInt:h,asFloat:f,asNumber:l,asBoolean:d}},{109:109}],105:[function(t,e,n){function r(){return o+String(+new Date)+Math.floor(1e5*Math.random())+a++}function i(){return o+String(s++)}var o="i",a=0,s=0;e.exports={generate:r,deterministic:i}},{}],106:[function(t,e,n){function r(t,e){var n,r;return e=e||s,/^https?:\/\//.test(t)?t:/^\/\//.test(t)?e.protocol+t:(n=e.host+(e.port.length?":"+e.port:""),0!==t.indexOf("/")&&(r=e.pathname.split("/"),r.pop(),r.push(t),t="/"+r.join("/")),[e.protocol,"//",n,t].join(""))}function i(){for(var t,e=a.getElementsByTagName("link"),n=0;t=e[n];n++)if("canonical"==t.rel)return r(t.href)}function o(){for(var t,e,n,r=a.getElementsByTagName("a"),i=a.getElementsByTagName("link"),o=[r,i],s=0,c=0,d=/\bme\b/;t=o[s];s++)for(c=0;e=t[c];c++)if(d.test(e.rel)&&(n=u.screenName(e.href)))return n}var a=t(17),s=t(18),u=t(103);e.exports={absolutize:r,getCanonicalURL:i,getScreenNameFromPage:o}},{103:103,17:17,18:18}],107:[function(t,e,n){function r(t){return i.url(t,{ref_src:o})}var i=t(100),o="twsrc^tfw";e.exports=r},{100:100}],108:[function(t,e,n){function r(t){a.isTwitterURL(t)&&(t=o(t)),i.open(t)}var i=t(20),o=t(107),a=t(103);e.exports=r},{103:103,107:107,20:20}],109:[function(t,e,n){function r(t){return l(arguments).slice(1).forEach(function(e){o(e,function(e,n){t[e]=n})}),t}function i(t){return o(t,function(e,n){u(n)&&(i(n),c(n)&&delete t[e]),(void 0===n||null===n||""===n)&&delete t[e]}),t}function o(t,e){for(var n in t)(!t.hasOwnProperty||t.hasOwnProperty(n))&&e(n,t[n]);return t}function a(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function s(t,e){return t==a(e)}function u(t){return t===Object(t)}function c(t){if(!u(t))return!1;if(Object.keys)return!Object.keys(t).length;for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function d(t,e){h.setTimeout(function(){t.call(e||null)},0)}function l(t){return t?Array.prototype.slice.call(t):[]}function f(t,e){return t&&t.indexOf?t.indexOf(e)>-1:!1}var h=t(20);e.exports={aug:r,async:d,compact:i,contains:f,forIn:o,isObject:u,isEmptyObject:c,toType:a,isType:s,toRealArray:l}},{20:20}],110:[function(t,e,n){function r(){if(o)return o;if(c.isDynamicWidget()){var t,e=0,n=u.parent.frames.length;try{if(o=u.parent.frames[f])return o}catch(r){}if(d.anyIE())for(;n>e;e++)try{if(t=u.parent.frames[e],t&&"function"==typeof t.openIntent)return o=t}catch(r){}}}function i(){var t,e,n,o,s,d,l={};if("function"===(typeof arguments[0]).toLowerCase()?l.success=arguments[0]:l=arguments[0],t=l.success||function(){},e=l.timeout||function(){},n=l.nohub||function(){},o=l.complete||function(){},s=void 0!==l.attempt?l.attempt:m,!c.isDynamicWidget()||a)return n(),o(),!1;d=r(),s--;try{if(d&&d.trigger)return t(d),void o()}catch(f){}return 0>=s?(a=!0,e(),void o()):+new Date-h>p*m?(a=!0,void n()):void u.setTimeout(function(){i({success:t,timeout:e,nohub:n,attempt:s,complete:o})},p)}var o,a,s=t(18),u=t(20),c=t(62),d=t(86),l="twttrHubFrameSecure",f="http:"==s.protocol?"twttrHubFrame":l,h=+new Date,p=100,m=20;e.exports={withHub:i,contextualHubId:f,secureHubId:l}},{18:18,20:20,62:62,86:86}],111:[function(t,e,n){function r(t){return i.test(t)}var i=/^#(?:[a-f\d]{3}){1,2}$/i;e.exports=r},{}],112:[function(t,e,n){function r(t){return i.isType("string",t)}var i=t(109);e.exports=r},{109:109}],113:[function(t,e,n){function r(t){return i.test(t)}var i=/^(dark|light)$/;e.exports=r},{}],114:[function(t,e,n){e.exports={version:"eee317b:1441746038059"}},{}],115:[function(t,e,n){e.exports={css:"a628960e3573c02b8650fcbd305178b9"}},{}],116:[function(t,e,n){function r(t){t=i.parse(t),this.rootEl=t.rootEl,this.videoEl=t.videoEl,this.playButtonEl=t.playButtonEl,this.fallbackUrl=t.fallbackUrl,this.player=new c({videoEl:this.videoEl,loop:!0,autoplay:!1}),this._attachClickListener()}var i,o=t(11),a=t(12),s=t(108),u=t(95),c=t(117);i=(new u).require("rootEl","videoEl","playButtonEl").defaults({fallbackUrl:null}),r.prototype._attachClickListener=function(){function t(t){a.stopPropagation(t),e._togglePlayer()}var e=this;this.videoEl.addEventListener("click",t,!1),this.playButtonEl.addEventListener("click",t,!1)},r.prototype._togglePlayer=function(){return this.player.hasPlayableSource()?(this.player.toggle(),void o.toggle(this.rootEl,"is-playing",!this.player.isPaused())):void(this.fallbackUrl&&s(this.fallbackUrl))},e.exports=r},{108:108,11:11,117:117,12:12,95:95}],117:[function(t,e,n){function r(t){var e;t=i.parse(t),this.videoEl=t.videoEl,"loop"in t&&(this.videoEl.loop=t.loop),"autoplay"in t&&(this.videoEl.autoplay=t.autoplay),"poster"in t&&(this.videoEl.poster=t.poster),e=s.toRealArray(this.videoEl.querySelectorAll("source")),this.sourceTypes=e.map(function(t){return t.type})}var i,o=t(17),a=t(95),s=t(109);i=(new a).require("videoEl"),r.prototype.isPaused=function(){return this.videoEl.paused},r.prototype.play=function(){return this.videoEl.play(),this},r.prototype.pause=function(){return this.videoEl.pause(),this},r.prototype.toggle=function(){return this.videoEl.paused?this.play():this.pause()},r.prototype.addSource=function(t,e){var n=o.createElement("source");return n.src=t,n.type=e,this.sourceTypes.push(e),this.videoEl.appendChild(n),this},r.prototype.hasPlayableSource=function(){var t=this.videoEl;return t.canPlayType?this.sourceTypes.reduce(function(e,n){return e||!!t.canPlayType(n).replace("no","")},!1):!1},r.prototype.setDimensions=function(t,e){return this.videoEl.width=t,this.videoEl.height=e,this},e.exports=r},{109:109,17:17,95:95}],118:[function(t,e,n){function r(t,e){return t&&t.getAttribute?t.getAttribute("data-"+e):void 0}function i(t,e){return{element:t.element||w,action:t.action||b,page:o(e)?"video":void 0}}function o(t){return f.closest(".embedded-video",t)}function a(t){var e=f.closest(".tweet",t),n=!e&&f.closest(".EmbeddedTweet",t);return n&&(e=n.querySelector(".tweet.subject")),e}function s(t){return d.parse(r(o(t),"player-config"))}function u(t,e){var n,i,s,u=o(e);return u?n=l.aug({item_type:g,card_type:v,id:r(u,"tweet-id"),card_name:r(u,"card-name"),publisher_id:r(u,"publisher-id"),content_id:r(u,"content-id")},t.itemData||{}):(i=f.closest(".cards-multimedia",e),s=a(e),n=l.aug({item_type:g,card_type:v,id:r(s,"tweet-id"),card_name:r(i,"card-name"),publisher_id:r(i,"publisher-id"),content_id:r(i,"video-content-id")},t.itemData||{})),{items:[n]}}function c(t){var e=this;this.global=t,this.server=(new h).attachReceiver(new m.Receiver(t,"")).bind("scribe",function(t){e.scribe(t,this)}).bind("requestPlayerConfig",function(){return e.requestPlayerConfig(this)})}var d=t(93),l=t(109),f=t(13),h=t(39),p=t(57),m=t(40),g=0,v=6,w="amplify_player",b="undefined";c.prototype.findIframeByWindow=function(t){for(var e=this.global.document.getElementsByTagName("iframe"),n=e.length,r=0;n>r;r++)if(e[r].contentWindow==t)return e[r]},c.prototype.requestPlayerConfig=function(t){var e=this.findIframeByWindow(t);if(e)return s(e)},c.prototype.scribe=function(t,e){var n,r,o,a;n=t&&t.customScribe,r=this.findIframeByWindow(e),n&&r&&(o=i(n,r),a=u(n,r),p.clientEvent2(o,a,!0))},e.exports=c},{109:109,13:13,39:39,40:40,57:57,93:93}],119:[function(t,e,n){var r=t(123),i=t(183),o=i(["screenName"],{},r);e.exports={createFollowButton:o}},{123:123,183:183}],120:[function(t,e,n){function r(t){var e=s(t),n={screenName:o.screenName(t.href),showScreenName:"false"!==t.getAttribute("data-show-screen-name"),showCount:"false"!==t.getAttribute("data-show-count"),size:t.getAttribute("data-size"),count:t.getAttribute("data-count"),align:t.getAttribute("data-align"),preview:t.getAttribute("data-preview")};return a.forIn(n,function(t,n){var r=e[t];e[t]=d.hasValue(r)?r:n}),e}function i(t){var e=u(t,l);return e.map(function(t){return c(r(t),t.parentNode,t)})}var o=t(103),a=t(109),s=t(182),u=t(184)(),c=t(123),d=t(104),l="a.twitter-follow-button";e.exports=i},{103:103,104:104,109:109,123:123,182:182,184:184}],121:[function(t,e,n){function r(t){return"large"===t?"l":"m"}function i(t){t.params({screenName:{required:!0},lang:{required:!0,transform:p.matchLanguage,fallback:"en"},size:{fallback:"medium",transform:r},showScreenName:{fallback:!0},showCount:{fallback:!0},partner:{fallback:h(s.val,s,"partner")},count:{},align:{},preview:{}}),t.define("getUrlParams",function(){return l.compact({id:this.id,lang:this.params.lang,size:this.params.size,screen_name:this.params.screenName,show_count:"none"===this.params.count?!1:this.params.showCount,show_screen_name:this.params.showScreenName,preview:this.params.preview,align:this.params.align,partner:this.params.partner,dnt:c.enabled(),_:+new Date})}),t.around("widgetDataAttributes",function(t){return l.aug({"screen-name":this.params.screenName},t())}),t.override("render",function(){var t=d(m,{lang:this.params.lang}),e=f.encode(this.getUrlParams()),n=u.base()+t+"#"+e;return o.all([this.sandbox.setTitle(g),this.sandbox.addClass(v),this.sandbox.loadDocument(n)])})}var o=t(98),a=t(126),s=t(27),u=t(61),c=t(81),d=t(101),l=t(109),f=t(100),h=t(89),p=t(32),m="/widgets/follow_button.3476cd70032ff6b94ecc9ea63ab78a8b.{{lang}}.html",g="Twitter Follow Button",v="twitter-follow-button";e.exports=a.couple(t(152),i)},{100:100,101:101,109:109,126:126,152:152,27:27,32:32,61:61,81:81,89:89,98:98}],122:[function(t,e,n){var r=t(126);e.exports=r.build([t(121)])},{121:121,126:126}],123:[function(t,e,n){function r(t,e,n){return new i(o,a,"twitter-follow-button",t,e,n)}var i=t(36),o=t(122),a=t(43);e.exports=r},{122:122,36:36,43:43}],124:[function(t,e,n){function r(){function t(t,n){e.apply(this,arguments),this.id=d+c(),this.sandbox=n}var e=a();return t.prototype=Object.create(e.prototype),s.aug(t.prototype,{selectors:{},hydrate:function(){return i.resolve()},prepForInsertion:function(){},render:function(){return i.resolve()},resize:function(){return i.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){function r(t){s.addEventListener(t,n,!1)}function i(t){o.delegate(s,t,a,n)}var a,s=this.el;this.el&&(t=(t||"").split(/\s+/),2===arguments.length?n=e:a=e,a=this.selectors[a]||a,n=u(n,this),t.forEach(a?i:r))}}),t}var i=t(98),o=t(12),a=t(22),s=t(109),u=t(89),c=t(185),d="twitter-widget-";e.exports=r},{109:109,12:12,185:185,22:22,89:89,98:98}],125:[function(t,e,n){function r(){i.apply(this,arguments),this.Widget=this.Component}var i=t(23),o=t(24),a=t(109),s=t(124);r.prototype=Object.create(i.prototype),a.aug(r.prototype,{factory:s,build:function(){var t=i.prototype.build.apply(this,arguments);return o.ifEnabled(function(){Object.freeze(t.prototype.selectors)}),t},selectors:function(t){var e=this.Widget.prototype.selectors;t=t||{},this.Widget.prototype.selectors=a.aug({},t,e)}}),e.exports=r},{109:109,124:124,23:23,24:24}],126:[function(t,e,n){var r=t(25),i=t(125),o=t(89);r=Object.create(r),r.build=o(r.build,null,i),e.exports=r},{125:125,25:25,89:89}],127:[function(t,e,n){function r(t){var e=u(t),n={momentId:s.momentId(t.href)};return a.forIn(n,function(t,n){var r=e[t];e[t]=o.hasValue(r)?r:n}),e}function i(t){var e=c(t,l);return e.map(function(t){return d(r(t),t.parentNode,t)})}var o=t(104),a=t(109),s=t(103),u=t(182),c=t(184)(),d=t(131),l="a.twitter-moment";e.exports=i},{103:103,104:104,109:109,131:131,182:182,184:184}],128:[function(t,e,n){function r(t){return g+t}function i(t){return"tl_"+t.momentId+"_"+t.instanceId}function o(t){if(!t||!t.headers)throw new Error("unexpected response schema");return{html:t.body}}function a(t){if(t&&t.headers)throw new Error(t.headers.status);throw t instanceof Error?t:new Error(t)}function s(t){var e=r(t.momentId),n=i(t),s={lang:t.lang,t:p(),domain:d.host,dnt:f.enabled()},l=h.compact(s);return u.fetch(e,l,c,n).then(o,a)}var u=t(7),c=t(8),d=t(18),l=t(28),f=t(81),h=t(109),p=t(6),m="https://syndication.twitter.com/moments/",g=l.get("endpoints.gridTimeline")||m;e.exports={gridTimeline:s}},{109:109,18:18,28:28,6:6,7:7,8:8,81:81}],129:[function(t,e,n){function r(t){t.params({momentId:{required:!0},width:{required:!0,fallback:"100%",validate:u,transform:u},instanceId:{required:!0,fallback:l.deterministic},lang:{required:!0,transform:s.matchLanguage,fallback:"en"}}),t.around("widgetDataAttributes",function(t){return d.aug({"moment-id":this.params.momentId},t())}),t.override("hydrate",function(){var t=this;return a.gridTimeline(this.params).then(function(e){t.html=e.html})}),t.override("render",function(){var t=this;return this.el=this.sandbox.htmlToElement(this.html),this.el?(this.el.lang=this.params.lang,i.all([this.sandbox.appendStyleSheet(o.grid(this.params.lang,this.params.theme)),this.sandbox.styleSelf({display:"inline-block",maxWidth:this.params.width,width:h,minWidth:f})]).then(function(){return t.prepForInsertion(t.el),t.sandbox.injectWidgetEl(t.el)})):i.reject(new Error("unable to render"))}),t.last("render",function(){var t=this.sandbox;return this.sandbox.matchHeightToContent().then(function(){return t.makeVisible()})}),t.last("resize",function(){return this.sandbox.matchHeightToContent()})}var i=t(98),o=t(3),a=t(128),s=t(32),u=t(78),c=t(126),d=t(109),l=t(105),f="180px",h="100%";e.exports=e.exports=c.couple(t(152),r)},{105:105,109:109,126:126,128:128,152:152,3:3,32:32,78:78,98:98}],130:[function(t,e,n){var r=t(126);e.exports=r.build([t(129),t(136),t(138),t(145),t(146),t(133),t(150),t(134)],{productName:"grid",breakpoints:{425:"env-small",625:"env-medium",925:"env-wide"}})},{126:126,129:129,133:133,134:134,136:136,138:138,145:145,146:146,150:150}],131:[function(t,e,n){function r(t,e,n){return new i(o,a,"twitter-moment",t,e,n)}var i=t(36),o=t(130),a=t(42);e.exports=r},{130:130,36:36,42:42}],132:[function(t,e,n){function r(t){t.params({pageForAudienceImpression:{required:!0}}),t.before("hydrate",function(){i.scribeAudienceImpression(this.params.pageForAudienceImpression)})}var i=t(52);e.exports=r},{52:52}],133:[function(t,e,n){function r(t){return Object.keys(t).every(s.isInt)}function i(t){var e=Object.keys(t).map(function(e){return{size:+e,className:t[e]}}).sort(function(t,e){return t.size-e.size});return e.unshift({size:0,className:u}),e}function o(t){t.params({breakpoints:{required:!0,validate:r,transform:i}}),t.define("getClassForWidth",function(t){var e,n,r;for(n=this.params.breakpoints.length-1;n>=0;n--)if(r=this.params.breakpoints[n],t>r.size){e=r.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)?a.resolve():a.all([this.sandbox.removeRootClass(this.allBreakpoints),this.sandbox.addRootClass(t)])}),t.after("render",function(){return this.recalculateBreakpoints()}),t.after("resize",function(){return this.recalculateBreakpoints()})}var a=t(98),s=t(104),u="env-narrow";e.exports=o},{104:104,98:98}],134:[function(t,e,n){function r(t){t.before("render",function(){i.ios()&&this.sandbox.addRootClass("env-ios"),i.ie9()&&this.sandbox.addRootClass("ie9"),i.touch()&&this.sandbox.addRootClass("is-touch")})}var i=t(86);e.exports=r},{86:86}],135:[function(t,e,n){function r(t){t.selectors({followButton:".follow-button"}),t.define("handleFollowButtonClick",function(t,e){var n=s.intentForFollowURL(e.href),r=t.altKey||t.metaKey||t.shiftKey,c=a.ios()||a.android(),d=u.asBoolean(e.getAttribute("data-age-gate"));!n||r||c||d||(o.open(n,this.sandbox.sandboxEl),i.preventDefault(t))}),t.after("render",function(){this.on("click","followButton",function(t,e){this.handleFollowButtonClick(t,e)})})}var i=t(12),o=t(65),a=t(86),s=t(103),u=t(104);e.exports=r},{103:103,104:104,12:12,65:65,86:86}],136:[function(t,e,n){function r(t){t.selectors({gifPlayer:".GifPlayer, .MediaPlayer",gifPlayerVideo:".GifPlayer-video, .MediaPlayer-video",gifPlayerPlayButton:".GifPlayer-playButton, .MediaPlayer-playButton"}),t.after("prepForInsertion",function(t){var e=this;this.select(t,"gifPlayer").forEach(function(t){new i({rootEl:t,videoEl:e.selectOne(t,"gifPlayerVideo"),playButtonEl:e.selectOne(t,"gifPlayerPlayButton"),fallbackUrl:t.getAttribute("data-fallback-url")})})})}var i=t(116);e.exports=r},{116:116}],137:[function(t,e,n){function r(t){t.after("prepForInsertion",function(t){i.retinize(t)})}var i=t(63);e.exports=r},{63:63}],138:[function(t,e,n){function r(t){t.after("prepForInsertion",function(t){o.sizeIframes(t,this.sandbox.width,a,i.sync)}),t.after("resize",function(){o.sizeIframes(this.el,this.sandbox.width,a,i.write)})}var i=t(14),o=t(63),a=375;e.exports=r},{14:14,63:63}],139:[function(t,e,n){function r(t){return t.replace(/-(.)/g,function(t,e){return e.toUpperCase()})}function i(t){return(t||"").split(";").reduce(function(t,e){var n,i;return d.test(e.trim())?(n=RegExp.$1,i=RegExp.$2,t[r(n)]=i):s.warn("unable to parse inline style: "+e),t},{})}function o(t){var e=i(t.getAttribute("data-style"));0!==Object.keys(e).length&&(t.setAttribute("data-csp-fix","true"),c.forIn(e,function(e,n){t.style[e]=n}))}function a(t){t.selectors({cspForcedStyle:".js-cspForcedStyle"}),t.after("prepForInsertion",function(t){u.cspEnabled()&&this.select(t,"cspForcedStyle").forEach(o)})}var s=t(24),u=t(86),c=t(109),d=/^([a-zA-Z-]+):\s*(.+)$/;e.exports=a},{109:109,24:24,86:86}],140:[function(t,e,n){function r(t){return[c+"{color:"+t+";}",d+"{color:"+a.lighten(t,.2)+";}"].join("")}function i(t){t.params({linkColor:{fallback:u(o.val,o,"widgets:link-color"),validate:s}}),t.after("render",function(){this.params.linkColor&&this.sandbox.appendCss(r(this.params.linkColor))})}var o=t(27),a=t(77),s=t(111),u=t(89),c="a, a:visited",d="a:hover, a:focus, a:active";e.exports=i},{111:111,27:27,77:77,89:89}],141:[function(t,e,n){function r(t){t.selectors({fullTimestampToLocalize:".long-permalink time",relativeTimestampToLocalize:".permalink time"}),t.after("prepForInsertion",function(t){var e=s(this.el);e&&(this.select(t,"fullTimestampToLocalize").forEach(function(t){var n=t.getAttribute("datetime"),r=n&&e.localTimeStamp(n);r&&(t.innerHTML=r)}),this.select(t,"relativeTimestampToLocalize").forEach(function(t){var n=t.getAttribute("datetime"),r=n&&e.timeAgo(n);r&&(t.innerHTML=r)}))}),t.define("updateRelativeTimestamps",function(){var t=s(this.el);if(t){var e=this.select("relativeTimestampToLocalize").reduce(function(e,n){var r=n.getAttribute("datetime"),i=r&&t.timeAgo(r);return i&&e.push(function(){n.innerHTML=i}),e},[]);return i.all(e.map(o.write))}}),t.after("render",function(){var t=this;a.setInterval(function(){t.updateRelativeTimestamps()},u)})}var i=t(98),o=t(14),a=t(20),s=t(10),u=6e4;e.exports=r},{10:10,14:14,20:20,98:98}],142:[function(t,e,n){function r(t){t.selectors({mediaCard:".MediaCard",mediaCardNsfwDismissalTarget:".MediaCard-dismissNsfw"}),t.define("dismissNsfwWarning",function(t,e){var n=i.closest(this.selectors.mediaCard,e,this.el);n&&o.remove(n,"is-nsfw")}),t.after("render",function(){this.on("click","mediaCardNsfwDismissalTarget",this.dismissNsfwWarning)})}var i=t(13),o=t(11);e.exports=r},{11:11,13:13}],143:[function(t,e,n){function r(t){t.selectors({prerenderedCard:".PrerenderedCard"}),t.define("scribeCardShown",function(t){var e=2;this.scribe({component:"card",action:"shown"},{items:[{card_name:t.getAttribute("data-card-name")}]},e)}),t.define("displayCardEl",function(t){function e(){r&&n.sandbox.matchHeightToContent()}var n=this,r=!1;return this.select(t,"img").forEach(function(t){t.addEventListener("load",e,!1)}),this.scribeCardShown(t),o.write(function(){i.add(t,"is-ready")}).then(function(){r=!0,n.sandbox.matchHeightToContent()})}),t.after("prepForInsertion",function(t){var e=this,n=this.select(t,"prerenderedCard").reduce(function(t,e){var n=e.getAttribute("data-css");return n&&(t[n]=t[n]||[],t[n].push(e)),t},{});a.forIn(n,function(t,n){e.sandbox.prependStyleSheet(t).then(function(){n.forEach(function(t){e.displayCardEl(t)})})})})}var i=t(11),o=t(14),a=t(109),s=t(126);e.exports=s.couple(t(147),r)},{109:109,11:11,126:126,14:14,147:147}],144:[function(t,e,n){function r(t){t.define("injectRefSrcParam",function(t){t.getAttribute(a)||(t.setAttribute(a,!0),t.href=i(t.href))}),t.after("render",function(){this.on("click","A",function(t,e){o.isTwitterURL(e.href)&&this.injectRefSrcParam(e)})})}var i=t(107),o=t(103),a="data-url-refsrc-injected";e.exports=r},{103:103,107:107}],145:[function(t,e,n){function r(t){t.after("prepForInsertion",function(t){o.setSrcForImgs(t,this.sandbox.width,i.sync)}),t.after("resize",function(){o.setSrcForImgs(this.el,this.sandbox.width,i.write)})}var i=t(14),o=t(63);e.exports=r},{14:14,63:63}],146:[function(t,e,n){function r(t){t.after("render",function(){var t=this.el.getAttribute(i);t&&this.sandbox.setTitle(t)})}var i="data-iframe-title";e.exports=r},{}],147:[function(t,e,n){function r(t){t.define("scribeNamespace",function(){return{client:"tfw"}}),t.define("scribeData",function(){return{widget_origin:a.rootDocumentLocation(),widget_frame:a.isFramed()&&a.currentDocumentLocation()}}),t.define("scribe",function(t,e,n){t=s.aug(this.scribeNamespace(),t||{}),e=s.aug(this.scribeData(),e||{}),i.scribe(t,e,!1,n)}),t.define("scribeInteraction",function(t,e,n){var r=o.extractTermsFromDOM(t.target);r.action=t.type,this.scribe(r,e,n)})}var i=t(58),o=t(59),a=t(79),s=t(109);e.exports=r},{109:109,58:58,59:59,79:79}],148:[function(t,e,n){function r(t){var e=s([t]);return{item_ids:Object.keys(e),item_details:e}}function i(t){t.selectors({tweet:".tweet"}),t.define("scribeTweetClickInteraction",function(t,e){var n=o.closest(this.selectors.tweet,e,this.el);n&&this.scribeInteraction(t,r(n))}),t.after("render",function(){this.on("click","A",this.scribeTweetClickInteraction),this.on("click","BUTTON",this.scribeTweetClickInteraction)})}var o=t(13),a=t(126),s=t(54);e.exports=a.couple(t(147),i)},{126:126,13:13,147:147,54:54}],149:[function(t,e,n){function r(t){t.after("render",function(){new i(this.sandbox.win)})}var i=t(118);e.exports=r},{118:118}],150:[function(t,e,n){function r(t){t.params({productName:{required:!0},widgetId:{required:!1},related:{required:!1},partner:{fallback:l(a.val,a,"partner")}}),t.selectors({timeline:".timeline",tweet:".tweet"}),t.define("injectWebIntentParams",function(t){var e=o.closest(this.selectors.tweet,t,this.el),n=o.closest(this.selectors.timeline,t,this.el);t.getAttribute(f)||(t.setAttribute(f,!0),t.href=c.url(t.href,{tw_w:this.params.widgetId,tw_i:e&&e.getAttribute("data-tweet-id"),tw_p:this.params.productName,related:this.params.related,partner:this.params.partner,query:n&&n.getAttribute("data-search-query"),profile_id:n&&n.getAttribute("data-profile-id"),original_referer:u.rootDocumentLocation()}))}),t.after("render",function(){this.on("click","A",function(t,e){d.isIntentURL(e.href)&&(this.injectWebIntentParams(e),t.altKey||t.metaKey||t.shiftKey||(s.open(e.href,this.sandbox.sandboxEl),i.preventDefault(t)))})})}var i=t(12),o=t(13),a=t(27),s=t(65),u=t(79),c=t(100),d=t(103),l=t(89),f="data-url-params-injected";e.exports=r},{100:100,103:103,12:12,13:13,27:27,65:65,79:79,89:89}],151:[function(t,e,n){function r(t){t.params({align:{required:!1},width:{required:!1},floatedWidth:{fallback:"350px",validate:i},centeredWidth:{fallback:"70%",validate:i}}),t.before("render",function(){var t,e,n,r,i=this.params.align;switch(i&&i.toLowerCase()){case"center":t=this.params.width||this.params.centeredWidth,e="auto",n="auto";break;case"left":t=this.params.width||this.params.floatedWidth,n="10px",r="left";break;case"right":t=this.params.width||this.params.floatedWidth,e="10px",r="right";break;default:return}return this.sandbox.styleSelf({width:t,marginLeft:e,marginRight:n,cssFloat:r})})}var i=t(112);e.exports=r},{112:112}],152:[function(t,e,n){function r(t){t.define("widgetDataAttributes",function(){return{}}),t.define("setDataAttributes",function(){var t=this.sandbox.sandboxEl;o.forIn(this.widgetDataAttributes(),function(e,n){i.hasValue(n)&&t.setAttribute("data-"+e,n)})}),t.after("render",function(){this.setDataAttributes()})}var i=t(104),o=t(109);e.exports=r},{104:104,109:109}],153:[function(t,e,n){function r(t){return function(){return a.toRealArray(arguments).slice(1).forEach(function(t){a.isType("object",t)&&(t.profileScreenName=t.screenName,t.profileUserId=t.userId,t.profileShowReplies=t.showReplies,t.listOwnerUserId=t.listOwnerId,t.ariaLive=t.ariaPolite)}),t.apply(this,arguments)}}var i=t(18),o=t(103),a=t(109),s=t(167),u=t(183),c=u(["widgetId"],{},s),d={createTimeline:r(c)};o.isTwitterURL(i.href)&&(d.createTimelinePreview=function(t,e,n){return d.createTimeline("preview",e,{previewParams:t||{}},n)}),e.exports=d},{103:103,109:109,167:167,18:18,183:183}],154:[function(t,e,n){function r(t,e){var n;if(t)for(;n=t.children[e];)t.removeChild(n)}e.exports=r},{}],155:[function(t,e,n){function r(t){var e=s(t),n=t.getAttribute("data-show-replies"),r={widgetId:t.getAttribute("data-widget-id"),chrome:t.getAttribute("data-chrome"),tweetLimit:t.getAttribute("data-tweet-limit"),ariaLive:t.getAttribute("data-aria-polite"),theme:t.getAttribute("data-theme"),linkColor:t.getAttribute("data-link-color"),borderColor:t.getAttribute("data-border-color"),profileShowReplies:n?o.asBoolean(n):null,profileScreenName:t.getAttribute("data-screen-name"),profileUserId:t.getAttribute("data-user-id"),favoritesScreenName:t.getAttribute("data-favorites-screen-name"),favoritesUserId:t.getAttribute("data-favorites-user-id"),listOwnerScreenName:t.getAttribute("data-list-owner-screen-name"),listOwnerUserId:t.getAttribute("data-list-owner-id"),listId:t.getAttribute("data-list-id"),listSlug:t.getAttribute("data-list-slug"),customTimelineId:t.getAttribute("data-custom-timeline-id")};return a.forIn(r,function(t,n){var r=e[t];e[t]=o.hasValue(r)?r:n}),e}function i(t){var e=u(t,d);return e.map(function(t){return c(r(t),t.parentNode,t)})}var o=t(104),a=t(109),s=t(182),u=t(184)(),c=t(167),d="a.twitter-timeline,div.twitter-timeline";e.exports=i},{104:104,109:109,167:167,182:182,184:184}],156:[function(t,e,n){function r(t){return _+t}function i(t){return T+t}function o(t){return"tl_"+t.widgetId+"_"+t.instanceId}function a(t){var e=t.sinceId||t.maxId||t.maxPosition||t.minPosition;
return"tlPoll_"+t.widgetId+"_"+t.instanceId+"_"+e}function s(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 u(t){if(t&&t.headers)throw new Error(t.headers.status);throw t instanceof Error?t:new Error(t)}function c(t){var e=r(t.widgetId),n=o(t),i={lang:t.lang,t:b(),domain:p.host,dnt:g.enabled()},a=v.aug(i,w(t));return a=v.compact(a),f.fetch(e,a,h,n).then(s,u)}function d(t){var e=i(t.widgetId),n=a(t),r=v.compact({lang:t.lang,since_id:t.sinceId,max_id:t.maxId,min_position:t.minPosition,max_position:t.maxPosition,domain:p.host,dnt:g.enabled()}),o=v.aug(r,w(t));return o=v.compact(o),f.fetch(e,o,h,n).then(s,u)}function l(t){return f.fetch(A,t,h).then(s,u)}var f=t(7),h=t(8),p=t(18),m=t(28),g=t(81),v=t(109),w=t(157),b=t(6),y="https://cdn.syndication.twimg.com/widgets/timelines/",x="https://syndication.twitter.com/widgets/timelines/paged/",E="https://syndication.twitter.com/widgets/timelines/preview/",_=m.get("endpoints.timeline")||y,T=m.get("endpoints.timelinePoll")||x,A=m.get("endpoints.timelinePreview")||E;e.exports={timeline:c,poll:d,preview:l}},{109:109,157:157,18:18,28:28,6:6,7:7,8:8,81:81}],157:[function(t,e,n){function r(t){var e={};return t=t||{},t.profileScreenName||t.profileUserId?e={override_type:"user",override_id:t.profileUserId,override_name:t.profileScreenName,with_replies:t.profileShowReplies?"true":"false"}:t.favoritesScreenName||t.favoritesUserId?e={override_type:"favorites",override_id:t.favoritesUserId,override_name:t.favoritesScreenName}:t.listOwnerScreenName||t.listOwnerUserId||t.listId||t.listSlug?e={override_type:"list",override_owner_id:t.listOwnerUserId,override_owner_name:t.listOwnerScreenName,override_id:t.listId,override_name:t.listSlug}:t.customTimelineId&&(e={override_type:"custom",override_id:t.customTimelineId}),e}e.exports=r},{}],158:[function(t,e,n){function r(t){t.params({widgetId:{required:!0},instanceId:{required:!0,fallback:d.deterministic},lang:{required:!0,transform:w.matchLanguage,fallback:"en"},width:{required:!0,fallback:"520px",validate:m,transform:m},height:{validate:m,transform:m},theme:{fallback:[h(u.val,u,"widgets:theme")],validate:b},tweetLimit:{fallback:0,transform:c.asInt},partner:{fallback:h(u.val,u,"partner")},previewParams:{},profileScreenName:{},profileUserId:{},profileShowReplies:{fallback:!1,transform:c.asBoolean},favoritesScreenName:{},favoritesUserId:{},listOwnerScreenName:{},listOwnerUserId:{},listId:{},listSlug:{},customTimelineId:{}}),t.selectors({header:".timeline-header",footer:".timeline-footer",viewport:".stream",tweetList:".h-feed",tweetsInStream:".h-feed .tweet"}),t.around("scribeNamespace",function(t){return l.aug(t,{page:"timeline"})}),t.around("scribeData",function(t){return l.aug(t(),{widget_id:this.params.widgetId,message:this.params.partner,query:this.el&&this.el.getAttribute("data-search-query"),profile_id:this.el&&this.el.getAttribute("data-profile-id")})}),t.around("widgetDataAttributes",function(t){return l.aug({"widget-id":this.params.widgetId,"user-id":this.el&&this.el.getAttribute("data-profile-id"),"search-query":this.el&&this.el.getAttribute("data-search-query")},t())}),t.define("updateViewportHeight",function(){var t,e=this.sandbox,n=this.selectOne("header"),r=this.selectOne("footer"),i=this.selectOne("viewport");return s.read(function(){t=e.height-2*I,t-=n?n.offsetHeight:0,t-=r?r.offsetHeight:0}),s.write(function(){i.style.height=t+"px"})}),t.define("adjustWidgetSize",function(){return this.isStaticTimeline?this.sandbox.matchHeightToContent():this.updateViewportHeight()}),t.define("reconfigureWithServerSideParams",function(t){t=t||{},this.params.linkColor=this.params.linkColor||t.linkColor,this.params.theme=this.params.theme||t.theme||"light",this.params.height=m(this.params.height||t.height||"600px")}),t.define("scribeImpressionsForInitialTweetSet",function(){var t=p(this.select("tweetsInStream")),e=Object.keys(t),n=e.length?"results":"no_results",r=this.el.getAttribute("data-collection-id");r&&(e.push(r),t[r]={item_type:x.CUSTOM_TIMELINE}),this.scribe({component:"timeline",element:"initial",action:n},{item_ids:e,item_details:t})}),t.override("initialize",function(){this.isStaticTimeline=this.params.tweetLimit>0,this.isPreviewTimeline=!!this.params.previewParams}),t.override("hydrate",function(){var t=this,e=this.isPreviewTimeline?v.preview(this.params.previewParams):v.timeline(this.params);return e.then(function(e){t.html=e.html,t.reconfigureWithServerSideParams(e.config),y(t,e,E.INITIAL)})}),t.override("render",function(){var t=this;return this.el=this.sandbox.htmlToElement(this.html),this.el?(this.el.lang=this.params.lang,"dark"==this.params.theme&&a.add(this.el,"thm-dark"),this.isStaticTimeline&&(this.sandbox.addRootClass("var-static"),g(this.selectOne("tweetList"),this.params.tweetLimit)),this.scribeImpressionsForInitialTweetSet(),i.all([this.sandbox.appendStyleSheet(o.timeline(this.params.lang,this.params.theme)),this.sandbox.styleSelf({display:"inline-block",maxWidth:this.params.width,width:T,minWidth:_,minHeight:this.isStaticTimeline?void 0:A,height:this.params.height,marginTop:0,marginBottom:0})]).then(function(){return t.prepForInsertion(t.el),t.sandbox.injectWidgetEl(t.el)})):i.reject(new Error("unable to render"))}),t.last("render",function(){var t=this.sandbox,e=this.selectOne("viewport"),n=this;return this.adjustWidgetSize().then(function(){return i.all([t.makeVisible(),s.write(function(){e.style.width||(e.style.width="auto")})])}).then(function(){n.resize()})}),t.last("resize",function(){return this.adjustWidgetSize()})}var i=t(98),o=t(3),a=t(11),s=t(14),u=t(27),c=t(104),d=t(105),l=t(109),f=t(126),h=t(89),p=t(54),m=t(78),g=t(154),v=t(156),w=t(32),b=t(113),y=t(169),x=t(56),E=t(168),_="180px",T="100%",A="200px",I=1;e.exports=f.couple(t(147),t(152),r)},{104:104,105:105,109:109,11:11,113:113,126:126,14:14,147:147,152:152,154:154,156:156,168:168,169:169,27:27,3:3,32:32,54:54,56:56,78:78,89:89,98:98}],159:[function(t,e,n){var r=t(126);e.exports=r.build([t(158),t(162),t(134),t(132),t(148),t(144),t(160),t(141),t(137),t(145),t(138),t(135),t(163),t(166),t(164),t(150),t(161),t(165),t(146),t(133)],{pageForAudienceImpression:"timeline",productName:"embeddedtimeline",breakpoints:{320:"env-wide"}})},{126:126,132:132,133:133,134:134,135:135,137:137,138:138,141:141,144:144,145:145,146:146,148:148,150:150,158:158,160:160,161:161,162:162,163:163,164:164,165:165,166:166}],160:[function(t,e,n){function r(t){t.params({ariaLive:{fallback:""}}),t.selectors({newTweetsNotifier:".new-tweets-bar"}),t.after("render",function(){var t=this.selectOne("newTweetsNotifier");"assertive"===this.params.ariaLive&&t&&t.setAttribute("aria-live","assertive")})}e.exports=r},{}],161:[function(t,e,n){function r(t,e){var n=d;return e&&(n=[c+" "+d,c+d].join(",")),n+"{border-color:"+t+";}"}function i(t){t.params({theme:{fallback:[u(o.val,o,"widgets:theme"),"light"],validate:s},borderColor:{fallback:[u(o.val,o,"widgets:border-color")],validate:a}}),t.after("render",function(){var t=this.params.borderColor,e="dark"===this.params.theme;t&&this.sandbox.appendCss(r(t,e))})}var o=t(27),a=t(111),s=t(113),u=t(89),c=".thm-dark",d=".customisable-border";e.exports=i},{111:111,113:113,27:27,89:89}],162:[function(t,e,n){function r(t){var e={transparent:!1,hideBorder:!1,hideHeader:!1,hideFooter:!1,hideScrollBar:!1};return t=t||"",o.contains(t,"transparent")&&(e.transparent=!0),o.contains(t,"noborders")&&(e.hideBorder=!0),o.contains(t,"noheader")&&(e.hideHeader=!0),o.contains(t,"nofooter")&&(e.hideFooter=!0),o.contains(t,"noscrollbar")&&(e.hideScrollBar=!0),e}function i(t){t.params({chrome:{transform:r,fallback:""}}),t.selectors({streamContainer:".stream",tweetStream:".h-feed"}),t.before("render",function(){this.params.chrome.transparent&&this.sandbox.addRootClass("var-chromeless"),this.params.chrome.hideBorder&&this.sandbox.addRootClass("var-borderless"),this.params.chrome.hideHeader&&this.sandbox.addRootClass("var-headerless"),this.params.chrome.hideFooter&&this.sandbox.addRootClass("var-footerless")}),t.after("render",function(){return this.params.chrome.hideScrollBar?this.hideScrollBar():void 0}),t.after("resize",function(){return this.params.chrome.hideScrollBar?this.hideScrollBar():void 0}),t.define("hideScrollBar",function(){var t=this.selectOne("streamContainer"),e=this.selectOne("tweetStream");return a.defer(function(){var n,r;t.style.width="",n=t.offsetWidth-e.offsetWidth,r=t.offsetWidth+n,t.style.width=r+"px"})})}var o=t(109),a=t(14);e.exports=i},{109:109,14:14}],163:[function(t,e,n){function r(t,e,n){var r={};return t=t||{},n&&t.max?r.minPosition=t.max:!n&&t.min?r.maxPosition=t.min:n?r.sinceId=e:r.maxId=e,r}function i(t){t.selectors({tweet:".tweet",viewport:".stream",tweetList:".h-feed",tweetsInStream:".h-feed .tweet",newTweetsNotifier:".new-tweets-bar",loadMoreButton:".load-more"}),t.define("gcTweetsSync",function(){var t="custom"===this.el.getAttribute("data-timeline-type"),e=this.selectOne("tweetList");return t?a.resolve():void p(e,y)}),t.define("scribeImpressionsForDynamicTweetSet",function(t,e){var n=l.toRealArray(t.querySelectorAll(this.selectors.tweet)),r=h(n),i=Object.keys(r),o=e?"newer":"older",a=e?w.CLIENT_SIDE_APP:w.CLIENT_SIDE_USER;this.scribe({component:"timeline",element:o,action:"results"},{item_ids:i,item_details:r,event_initiator:a})}),t.define("fetchTweets",function(t,e){function n(t){return"404"===t?o.pollInterval=null:"503"===t&&(o.pollInterval*=1.5),a.reject(t)}function i(n){var r,i=o.sandbox.createFragment(),a=o.sandbox.createElement("ol"),s=e?b.NEWER:b.OLDER;return g(o,n,s),a.innerHTML=n.html,r=a.firstElementChild,r&&"LI"===r.tagName?(r.getAttribute("data-tweet-id")===t&&a.removeChild(r),o.scribeImpressionsForDynamicTweetSet(a,e),o.prepForInsertion(a),l.toRealArray(a.children).forEach(function(t){i.appendChild(t)}),i):i}var o=this,s=r(this.cursors,t,e);return m.poll(l.aug(s,this.params)).then(i,n)}),t.define("loadOldTweets",function(){var t=this,e=this.selectLast("tweetsInStream"),n=e&&e.getAttribute("data-tweet-id");return n?this.fetchTweets(n,!1).then(function(e){var n=t.selectOne("tweetList");return u.write(function(){e.childNodes.length>0?n.appendChild(e):s.add(t.el,"no-more")})}):a.reject(new Error("unable to load more"))}),t.after("loadOldTweets",function(){v.trigger("timelineUpdated",{target:this.sandbox.sandboxEl,region:"older"})}),t.define("loadNewTweets",function(){var t=this,e=this.selectOne("tweetsInStream"),n=e&&e.getAttribute("data-tweet-id");return n?this.fetchTweets(n,!0).then(function(n){var r,i,o=t.selectOne(".stream"),a=t.selectOne(".h-feed");return 0!==n.childNodes.length?(u.read(function(){r=o.scrollTop,i=o.scrollHeight}),u.defer(function(){var c;return a.insertBefore(n,e),c=r+o.scrollHeight-i,r>40||t.mouseIsOverWidget?(o.scrollTop=c,void t.showNewTweetsNotifier()):(s.remove(t.el,"pending-scroll-in"),a.style.marginTop="-"+c+"px",u.write(function(){o.scrollTop=0,s.add(t.el,"pending-scroll-in"),a.style.marginTop="",t.gcTweetsSync()}))})):void 0}):a.reject(new Error("unable to load new tweets"))}),t.after("loadNewTweets",function(){v.trigger("timelineUpdated",{target:this.sandbox.sandboxEl,region:"newer"})}),t.define("showNewTweetsNotifier",function(){var t=this,e=this.selectOne("newTweetsNotifier"),n=e&&e.firstElementChild;return c.setTimeout(function(){t.hideNewTweetsNotifier()},x),u.write(function(){e.removeChild(n),e.appendChild(n),s.add(t.el,"pending-new-tweet-display")}),u.defer(function(){s.add(t.el,"pending-new-tweet")})}),t.define("hideNewTweetsNotifier",function(t){var e=this,n=new o;return t=t||{},!t.force&&this.mouseIsOverNewTweetsNotifier?(n.resolve(),n.promise):(u.write(function(){s.remove(e.el,"pending-new-tweet")}),c.setTimeout(function(){u.write(function(){s.remove(e.el,"pending-new-tweet-display")}).then(n.resolve,n.reject)},E),n.promise)}),t.define("scrollToTopOfViewport",function(){var t=this.selectOne("viewport");return u.write(function(){t.scrollTop=0,t.focus()})}),t.define("schedulePolling",function(){function t(){n.isPollInProgress=!1}function e(){var i=r||n.pollInterval;i&&c.setTimeout(function(){n.isPollInProgress||(n.isPollInProgress=!0,n.loadNewTweets(n.sandbox).then(t,t)),e()},i)}var n=this,r=d.get("timeline.pollInterval");e()}),t.after("initialize",function(){this.isPollInProgress=!1,this.mouseIsOverWidget=!1,this.mouseIsOverNewTweetsNotifier=!1,this.cursors={},this.pollInterval=1e4}),t.after("render",function(){this.isStaticTimeline||this.isPreviewTimeline||(this.select("tweet").length>0&&this.schedulePolling(),this.on("mouseover",function(){this.mouseIsOverWidget=!0}),this.on("mouseout",function(){this.mouseIsOverWidget=!1}),this.on("mouseover","newTweetsNotifier",function(){this.mouseIsOverNewTweetsNotifier=!0}),this.on("mouseout","newTweetsNotifier",function(){this.mouseIsOverNewTweetsNotifier=!1}),this.on("click","newTweetsNotifier",function(){this.scrollToTopOfViewport(),this.hideNewTweetsNotifier({force:!0})}),this.on("click","loadMoreButton",function(){this.loadOldTweets()}))})}var o=t(97),a=t(98),s=t(11),u=t(14),c=t(20),d=t(28),l=t(109),f=t(126),h=t(54),p=t(154),m=t(156),g=t(169),v=t(66),w=t(53),b=t(168),y=50,x=5e3,E=500;e.exports=f.couple(t(147),i)},{109:109,11:11,126:126,14:14,147:147,154:154,156:156,168:168,169:169,20:20,28:28,53:53,54:54,66:66,97:97,98:98}],164:[function(t,e,n){function r(t){var e=t&&t.querySelector("b");return e?(u.write(function(){var n=e.innerText||e.textContent;e.innerHTML=t.getAttribute("data-toggled-text"),t.setAttribute("data-toggled-text",n)}),!0):!1}function i(t){t.selectors({tweetContent:".e-entry-content",expandoLink:".expand",tweetWithExpando:".with-expansion",expandoExpander:".detail-expander",expandoContentContainer:".detail-content"}),t.define("toggleExpando",function(t){var e,n=t.querySelector(this.selectors.tweetContent),i=t.querySelector(this.selectors.expandoLink),a=t.querySelector(this.selectors.expandoExpander),s=t.querySelector(this.selectors.expandoContentContainer),h=s&&s.getAttribute("data-expanded-media");return r(i)?o.present(t,d)?u.write(function(){o.remove(t,d),a.style.cssText="",s.innerHTML=""}):h?(u.read(function(){e=n.clientWidth}),u.write(function(){s.innerHTML=h,c.retinize(s),c.setSrcForImgs(s,e,u.sync),c.sizeIframes(s,e,l,u.sync),a.style.maxHeight=f,o.add(t,d)})):u.write(function(){o.add(t,d)}):void 0}),t.after("render",function(){this.isStaticTimeline||(this.on("click","expandoLink",function(t,e){var n=s.closest(this.selectors.tweetWithExpando,e,this.el),r=t.altKey||t.metaKey||t.shiftKey;n&&!r&&(this.toggleExpando(n),a.preventDefault(t))}),this.on("click","tweetWithExpando",function(t,e){s.closest("A",t.target,this.el)||(this.toggleExpando(e),a.preventDefault(t))}))})}var o=t(11),a=t(12),s=t(13),u=t(14),c=t(63),d="expanded",l=375,f="500px";e.exports=i},{11:11,12:12,13:13,14:14,63:63}],165:[function(t,e,n){function r(t){return t}function i(t){return h+" "+t}function o(t,e){return t.map(e?i:r).join(",")}function a(t,e){var n=o(p,e),r=o(m,e),i=o(g,e);return[n+"{color:"+t+";}",i+"{background-color:"+t+";}",r+"{color:"+c.lighten(t,.2)+";}"].join("")}function s(t){t.params({theme:{fallback:[f(u.val,u,"widgets:theme"),"light"],validate:l},linkColor:{fallback:f(u.val,u,"widgets:link-color"),validate:d}}),t.after("render",function(){var t=this.params.linkColor,e="dark"===this.params.theme;t&&this.sandbox.appendCss(a(t,e))})}var u=t(27),c=t(77),d=t(111),l=t(113),f=t(89),h=".thm-dark",p=[".customisable",".customisable:link",".customisable:visited"],m=[".customisable:hover",".customisable:focus",".customisable:active",".customisable-highlight:hover",".customisable-highlight:focus","a:hover .customisable-highlight","a:focus .customisable-highlight"],g=["a:hover .ic-mask","a:focus .ic-mask"];e.exports=s},{111:111,113:113,27:27,77:77,89:89}],166:[function(t,e,n){function r(t,e){var n,r,i;return(n=e.getAttribute("data-player"))?(r=t.createElement("iframe"),r.src=n):(i=t.createElement("a"),i.href=e.getAttribute("data-href"),r=t.createElement("img"),r.src=e.getAttribute(c.retina()?"data-image-2x":"data-image"),r.alt=e.getAttribute("data-alt"),i.appendChild(r)),r.title=e.getAttribute("data-title"),{mediaEl:r,rootEl:n?r:i}}function i(t){t.selectors({tweet:".tweet",tweetContent:".e-entry-content",showNsfwButton:".display-sensitive-image",nsfwInterstitial:".nsfw",expandoExpander:".detail-expander"}),t.define("displayNsfwMedia",function(t){var e,n,i,o=t.querySelector(this.selectors.nsfwInterstitial),a=t.querySelector(this.selectors.tweetContent),c=t.querySelector(this.selectors.expandoExpander),d=c&&c.children[0];return o&&a&&d?(e=r(this.sandbox,o),n=e.rootEl,i=e.mediaEl,s.read(function(){var t=u.scaleDimensions(o.getAttribute("data-width"),o.getAttribute("data-height"),a.offsetWidth,o.getAttribute("data-height"));i.width=t.width,i.height=t.height}),s.write(function(){o.parentElement.replaceChild(n,o)})):void 0}),t.after("render",function(){this.on("click","showNsfwButton",function(t,e){var n=a.closest(this.selectors.tweet,e,this.el);n&&(this.displayNsfwMedia(n),o.preventDefault(t))})})}var o=t(12),a=t(13),s=t(14),u=t(63),c=t(86);e.exports=i},{12:12,13:13,14:14,63:63,86:86}],167:[function(t,e,n){function r(t,e,n){return new i(o,a,"twitter-timeline",t,e,n)}var i=t(36),o=t(159),a=t(42);e.exports=r},{159:159,36:36,42:42}],168:[function(t,e,n){e.exports={INITIAL:1,NEWER:2,OLDER:3}},{}],169:[function(t,e,n){function r(t,e,n){switch(t.cursors=t.cursors||{},t.pollInterval=e.pollInterval,n){case i.INITIAL:t.cursors.min=e.minCursorPosition,t.cursors.max=e.maxCursorPosition;break;case i.NEWER:t.cursors.max=e.maxCursorPosition||t.cursors.max;break;case i.OLDER:t.cursors.min=e.minCursorPosition||t.cursors.min}}var i=t(168);e.exports=r},{168:168}],170:[function(t,e,n){function r(t){return 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)}),t.apply(this,arguments)}}var i=t(109),o=t(176),a=t(183),s=r(a(["tweetId"],{},o));e.exports={createTweet:s,createTweetEmbed:s}},{109:109,176:176,183:183}],171:[function(t,e,n){function r(t){var e=u(t),n=t.getElementsByTagName("A"),r=n&&n[n.length-1],i=r&&a.status(r.href),c=t.getAttribute("data-conversation"),d="none"==c||"hidden"==c||o.present(t,"tw-hide-thread"),l=t.getAttribute("data-cards"),h="none"==l||"hidden"==l||o.present(t,"tw-hide-media"),p=t.getAttribute("data-align")||t.getAttribute("align"),m=t.getAttribute("data-link-color"),g=t.getAttribute("data-theme");return!p&&f.test(t.className)&&(p=RegExp.$1),s.aug(e,{tweetId:i,hideThread:d,hideCard:h,align:p,linkColor:m,theme:g})}function i(t){var e=c(t,l);return e.map(function(t){return d(r(t),t.parentNode,t)})}var o=t(11),a=t(103),s=t(109),u=t(182),c=t(184)(),d=t(176),l="blockquote.twitter-tweet",f=/\btw-align-(left|right|center)\b/;e.exports=i},{103:103,109:109,11:11,176:176,182:182,184:184}],172:[function(t,e,n){function r(t,e,n){var r="";return e&&(r+="c"),n&&(r+="t"),r?t+"-"+r:t}function i(t,e){return e=e||{},t=r(t,e.hideCard,e.hideThread),c.fetch(t,e.lang)}var o=t(4),a=t(28),s="https://syndication.twitter.com/tweets.json",u=a.get("endpoints.tweets")||s,c=new o(u);e.exports=i},{28:28,4:4}],173:[function(t,e,n){function r(t){var e={item_ids:[],item_details:{}};return e.item_ids.push(t),e.item_details[t]={item_type:b.TWEET},e}function i(t,e){var n={item_ids:[],item_details:{},associations:{}};return n.item_ids.push(e),n.item_details[e]={item_type:b.TWEET},n.associations[w.CONVERSATION_ORIGIN]={association_id:t,association_type:b.TWEET},n}function o(t){t.params({tweetId:{required:!0,validate:p},lang:{required:!0,transform:m.matchLanguage,fallback:"en"},width:{required:!0,fallback:"500px",validate:h,transform:h},theme:{fallback:[f(u.val,u,"widgets:theme"),"light"],validate:g},hideCard:{fallback:!1,transform:c.asBoolean},hideThread:{fallback:!1,transform:c.asBoolean},partner:{fallback:f(u.val,u,"partner")}}),t.selectors({ancestorTweet:".EmbeddedTweet-ancestor .Tweet",subjectTweet:".EmbeddedTweet-tweet .Tweet"}),t.around("scribeNamespace",function(t){return d.aug(t,{page:"tweet"})}),t.around("scribeData",function(t){return d.aug(t(),{message:this.params.partner})}),t.around("widgetDataAttributes",function(t){return d.aug({"tweet-id":this.params.tweetId},t())}),t.define("scribeImpressionForTweets",function(){var t=this.selectOne("subjectTweet"),e=this.selectOne("ancestorTweet"),n=t&&t.getAttribute("data-tweet-id"),o=e&&e.getAttribute("data-tweet-id");n&&this.scribe({section:"subject",component:"tweet",action:"results"},r(n)),n&&o&&this.scribe({section:"conversation",component:"tweet",action:"results"},i(n,o))}),t.override("hydrate",function(){function t(t){i.html=t}function e(t){return i.scribe({section:"subject",component:"rawembedcode",action:"no_result"},r(i.params.tweetId)),a.reject(t)}var n,i=this;return n={lang:this.params.lang,hideCard:this.params.hideCard,hideThread:this.params.hideThread},v(this.params.tweetId,n).then(t,e)}),t.override("render",function(){var t=this;return this.el=this.sandbox.htmlToElement(this.html),this.el?(this.el.id=this.id,this.el.lang=this.params.lang,this.scribeImpressionForTweets(),a.all([this.sandbox.appendStyleSheet(s.tweet(this.params.lang,this.params.theme)),this.sandbox.styleSelf({maxWidth:this.params.width,width:x,minWidth:y,marginTop:E,marginBottom:E})]).then(function(){return t.prepForInsertion(t.el),t.sandbox.injectWidgetEl(t.el)})):a.reject(new Error("unable to render"))}),t.last("render",function(){var t=this.sandbox;return this.sandbox.matchHeightToContent().then(function(){return t.makeVisible()})}),t.last("resize",function(){return this.sandbox.matchHeightToContent()})}var a=t(98),s=t(3),u=t(27),c=t(104),d=t(109),l=t(126),f=t(89),h=t(78),p=t(112),m=t(32),g=t(113),v=t(172),w=t(51),b=t(56),y="220px",x="100%",E="10px";e.exports=l.couple(t(147),t(152),o)},{104:104,109:109,112:112,113:113,126:126,147:147,152:152,172:172,27:27,3:3,32:32,51:51,56:56,78:78,89:89,98:98}],174:[function(t,e,n){var r=t(126);e.exports=r.build([t(173),t(134),t(132),t(148),t(144),t(141),t(140),t(137),t(145),t(138),t(139),t(135),t(136),t(143),t(142),t(151),t(150),t(175),t(149),t(146),t(133)],{pageForAudienceImpression:"tweet",productName:"tweetembed",breakpoints:{350:"env-wide"}})},{126:126,132:132,133:133,134:134,135:135,136:136,137:137,138:138,139:139,140:140,141:141,142:142,143:143,144:144,145:145,146:146,148:148,149:149,150:150,151:151,173:173,175:175}],175:[function(t,e,n){function r(t){t.selectors({subjectTweet:".EmbeddedTweet .Tweet"}),t.define("possiblyFallbackToPermalink",function(t){var e,n;i.closest("A",t.target,this.el)||this.sandbox.hasSelectedText()||(e=this.selectOne("subjectTweet"),n=e&&e.getAttribute("cite"),a.isTwitterURL(n)&&(o(n),this.scribeInteraction(t)))}),t.after("render",function(){this.on("click",function(t){this.possiblyFallbackToPermalink(t)})})}var i=t(13),o=t(108),a=t(103),s=t(126);e.exports=s.couple(t(147),r)},{103:103,108:108,126:126,13:13,147:147}],176:[function(t,e,n){function r(t,e,n){return new i(o,a,"twitter-tweet",t,e,n)}var i=t(36),o=t(174),a=t(42);e.exports=r},{174:174,36:36,42:42}],177:[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.countUrl=t.countUrl||t.counturl)}),t.apply(this,arguments)}}var i=t(109),o=t(181),a=t(183),s=a(["url"],{type:"share"},o),u=a(["buttonHashtag"],{type:"hashtag"},o),c=a(["screenName"],{type:"mention"},o);e.exports={createShareButton:r(s),createHashtagButton:r(u),createMentionButton:r(c)}},{109:109,181:181,183:183}],178:[function(t,e,n){function r(t){var e=s(t),n={screenName:t.getAttribute("data-button-screen-name"),text:t.getAttribute("data-text"),type:t.getAttribute("data-type"),size:t.getAttribute("data-size"),count:t.getAttribute("data-count"),align:t.getAttribute("data-align"),countUrl:t.getAttribute("data-counturl"),url:t.getAttribute("data-url"),hashtags:t.getAttribute("data-hashtags"),via:t.getAttribute("data-via"),buttonHashtag:t.getAttribute("data-button-hashtag"),searchLink:t.getAttribute("data-searchlink")};return a.forIn(n,function(t,n){var r=e[t];e[t]=d.hasValue(r)?r:n}),e.screenName=e.screenName||e.screen_name,e.buttonHashtag=e.buttonHashtag||e.button_hashtag||e.hashtag,o.present(t,f)&&(e.type="hashtag"),o.present(t,h)&&(e.type="mention"),e}function i(t){var e=u(t,l);return e.map(function(t){return c(r(t),t.parentNode,t)})}var o=t(11),a=t(109),s=t(182),u=t(184)(),c=t(181),d=t(104),l="a.twitter-share-button, a.twitter-mention-button, a.twitter-hashtag-button",f="twitter-hashtag-button",h="twitter-mention-button";e.exports=i},{104:104,109:109,11:11,181:181,182:182,184:184}],179:[function(t,e,n){function r(t){return"large"===t?"l":"m"}function i(t){return v.contains(N,t)}function o(t){return v.contains(k,t)}function a(t){return b.hashTag(t,!1)}function s(t){var e=/\+/.test(t)&&!/ /.test(t);return e?t.replace(/\+/g," "):t}function u(t){t.params({lang:{required:!0,transform:E.matchLanguage,fallback:"en"},size:{fallback:"medium",transform:r},type:{fallback:"share",validate:i},count:{fallback:"horizontal",validate:o},text:{transform:s},screenName:{transform:b.screenName},buttonHashtag:{transform:a},partner:{fallback:x(f.val,f,"partner")},via:{},related:{},hashtags:{},url:{},countUrl:{},align:{},searchLink:{}}),t.define("getUrlParams",function(){var t=this.params.text,e=this.params.url,n=this.params.count,r=this.params.via,i=this.params.related,o=g.getScreenNameFromPage();return"share"===this.params.type?(t=t||d.title,e=e||g.getCanonicalURL()||l.href,r=r||o):(n="none",o&&(i=i?o+","+i:o)),v.compact({id:this.id,lang:this.params.lang,size:this.params.size,type:this.params.type,text:t,url:e,via:r,related:i,button_hashtag:this.params.buttonHashtag,count:n,counturl:this.params.countUrl,searchlink:this.params.searchLink,screen_name:this.params.screenName,hashtags:this.params.hashtags,align:this.params.align,partner:this.params.partner,original_referer:l.href,dnt:p.enabled(),_:+new Date})}),t.around("widgetDataAttributes",function(t){return"mention"==this.params.type?v.aug({"screen-name":this.params.screenName},t()):"hashtag"==this.params.type?v.aug({hashtag:this.params.buttonHashtag},t()):v.aug({url:this.params.url},t())}),t.override("render",function(){var t,e=m(_,{lang:this.params.lang}),n=w.encode(this.getUrlParams()),r=h.base()+e+"#"+n;switch(this.params.type){case"hashtag":t=C;break;case"mention":t=S;break;default:t=I}return c.all([this.sandbox.setTitle(T),this.sandbox.addClass(A),this.sandbox.addClass(t),this.sandbox.loadDocument(r)])})}var c=t(98),d=t(17),l=t(18),f=t(27),h=t(61),p=t(81),m=t(101),g=t(106),v=t(109),w=t(100),b=t(103),y=t(126),x=t(89),E=t(32),_="/widgets/tweet_button.8d007ddfc184e6776be76fe9e5e52d69.{{lang}}.html",T="Twitter Tweet Button",A="twitter-tweet-button",I="twitter-share-button",C="twitter-hashtag-button",S="twitter-mention-button",N=["share","hashtag","mention"],k=["vertical","horizontal","none"];e.exports=y.couple(t(152),u)},{100:100,101:101,103:103,106:106,109:109,126:126,152:152,17:17,18:18,27:27,32:32,61:61,81:81,89:89,98:98}],180:[function(t,e,n){var r=t(126);e.exports=r.build([t(179)])},{126:126,179:179}],181:[function(t,e,n){function r(t,e,n){var r=t&&t.type||"share",s="hashtag"==r?"twitter-hashtag-button":"mention"==r?"twitter-mention-button":"twitter-share-button";return new i(o,a,s,t,e,n)}var i=t(36),o=t(180),a=t(43);e.exports=r},{180:180,36:36,43:43}],182:[function(t,e,n){function r(t){var e=t.href&&t.href.split("?")[1],n=e?a.decode(e):{},r={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(),s.forIn(r,function(t,e){var r=n[t];n[t]=o.hasValue(r)?r:e}),n}var i=t(81),o=t(104),a=t(100),s=t(109),u=t(83);e.exports=r},{100:100,104:104,109:109,81:81,83:83}],183:[function(t,e,n){function r(t,e,n){t=t||[],e=e||{};var r="ƒ("+t.join(", ")+", target, [options]);";return function(){var c,d,l,f,h=Array.prototype.slice.apply(arguments,[0,t.length]),p=Array.prototype.slice.apply(arguments,[t.length]);return p.forEach(function(t){return t?t.nodeType===Node.ELEMENT_NODE?void(l=t):u.isType("function",t)?void(c=t):void(u.isType("object",t)&&(d=t)):void 0}),h.length!==t.length||0===p.length?(c&&u.async(function(){c(!1)}),i.reject(new Error("Not enough parameters. Expected: "+r))):l?(d=u.aug(d||{},e),t.forEach(function(t){d[t]=h.shift()}),s.asBoolean(d.dnt)&&a.setOn(),f=o.addWidget(n(d,l)),c&&f.then(c,function(){c(!1)}),f):(c&&u.async(function(){c(!1)}),i.reject(new Error("No target element specified. Expected: "+r)))}}var i=t(98),o=t(35),a=t(81),s=t(104),u=t(109);e.exports=r},{104:104,109:109,35:35,81:81,98:98}],184:[function(t,e,n){var r=t(85),i=t(105);e.exports=function(){var t="data-twitter-extracted-"+i.generate();return function(e,n){function i(e){return!e.hasAttribute(t)}function o(e){return e.setAttribute(t,"true"),e}return r(e,n).filter(i).map(o)}}},{105:105,85:85}],185:[function(t,e,n){function r(){return String(i++)}var i=0;e.exports=r},{}],186:[function(t,e,n){var r=t(191),i=t(183),o=i(["tweetId"],{},r);e.exports={createVideo:o}},{183:183,191:191}],187:[function(t,e,n){function r(t){var e=s(t),n=t.getElementsByTagName("A"),r=n&&n[n.length-1],i=r&&o.status(r.href),u="hidden"==t.getAttribute("data-status");return a.aug(e,{tweetId:i,hideStatus:u})}function i(t){var e=u(t,d);return e.map(function(t){return c(r(t),t.parentNode,t)})}var o=t(103),a=t(109),s=t(182),u=t(184)(),c=t(191),d="blockquote.twitter-video";e.exports=i},{103:103,109:109,182:182,184:184,191:191}],188:[function(t,e,n){function r(t,e){var n=e&&e.lang;return u.fetch(t,n)}var i=t(4),o=t(28),a="https://syndication.twitter.com/widgets/video/",s=o.get("endpoints.videos")||a,u=new i(s);e.exports=r},{28:28,4:4}],189:[function(t,e,n){function r(t){var e={item_ids:[],item_details:{}};return e.item_ids.push(t),e.item_details[t]={item_type:m.TWEET},e}function i(t){t.params({tweetId:{required:!0,validate:d},lang:{required:!0,transform:l.matchLanguage,fallback:"en"},hideStatus:{fallback:!1,transform:u.asBoolean},partner:{fallback:v(g.val,g,"partner")}}),t.around("scribeNamespace",function(t){return p.aug(t,{page:"video"})}),t.around("scribeData",function(t){return p.aug(t(),{message:this.params.partner})}),t.around("widgetDataAttributes",function(t){return p.aug({"tweet-id":this.params.tweetId},t())}),t.define("scribeImpressionForTweet",function(){this.scribe({component:"tweet",action:"results"},r(this.params.tweetId))}),t.override("hydrate",function(){function t(t){i.html=t}function e(t){return i.scribe({component:"rawembedcode",action:"no_result"},r(i.params.tweetId)),a.reject(t)}var n,i=this;return n={lang:this.params.lang},f(this.params.tweetId,n).then(t,e)}),t.define("updatePlayerConfig",function(){var t=this.el.getAttribute("data-datetime"),e=h(this.el),n=t&&e.localTimeStamp(t),r=o.parse(this.el.getAttribute("data-player-config"));r.statusTimestamp={local:n},r.hideStatus=this.params.hideStatus,this.el.setAttribute("data-player-config",o.stringify(r))}),t.override("render",function(){var t,e=this;return this.el=this.sandbox.htmlToElement(this.html),this.scribeImpressionForTweet(),this.el?(this.updatePlayerConfig(),t=this.el.children[0],a.all([this.sandbox.setWrapperSize(t.getAttribute("data-width"),t.getAttribute("data-height")),this.sandbox.appendStyleSheet(s.video(this.params.lang))]).then(function(){return e.prepForInsertion(e.el),e.sandbox.injectWidgetEl(e.el)})):a.reject(new Error("unable to render"))}),t.last("render",function(){return this.sandbox.makeVisible()})}var o=t(93),a=t(98),s=t(3),u=t(104),c=t(126),d=t(112),l=t(32),f=t(188),h=t(10),p=t(109),m=t(56),g=t(27),v=t(89);
e.exports=c.couple(t(147),t(152),i)},{10:10,104:104,109:109,112:112,126:126,147:147,152:152,188:188,27:27,3:3,32:32,56:56,89:89,93:93,98:98}],190:[function(t,e,n){var r=t(126);e.exports=r.build([t(189),t(146),t(132),t(149)],{pageForAudienceImpression:"video"})},{126:126,132:132,146:146,149:149,189:189}],191:[function(t,e,n){function r(t,e,n){return new i(o,a,"twitter-video",t,e,n)}var i=t(36),o=t(190),a=t(192);e.exports=r},{190:190,192:192,36:36}],192:[function(t,e,n){function r(t){t.overrideProperty("sandboxEl",{get:function(){return this._constrainingWrapper}}),t.override("makeVisible",function(){var t=this.iframeEl;return i.write(function(){t.style.visibility="visible"})}),t.define("setWrapperSize",function(t,e){var n=this,r=t/e,o=100/r+"%",a=c*r+"px";return i.write(function(){n._constrainingWrapper.style.maxWidth=a,n._iframeWrapper.style.paddingBottom=o})}),t.after("initialize",function(){this._constrainingWrapper=this._iframeWrapper=null}),t.around("insert",function(t,e,n,r){var i=this._constrainingWrapper=o.createElement("div"),a=this._iframeWrapper=o.createElement("div");return i.id=e,i.className=n.join(" "),i.style.minWidth=u+"px",i.style.position="relative",i.style.margin=d,a.style.position="relative",a.style.height="0px",i.appendChild(a),t(void 0,[],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),r(i)})})}var i=t(14),o=t(17),a=t(46),s=t(48),u=320,c=500,d="10px 0px";e.exports=a.build([s,r])},{14:14,17:17,46:46,48:48}],193:[function(t,e,n){function r(){}var i=t(109),o=t(87);i.aug(r.prototype,o.Emitter,{transportMethod:"",init:function(){},send:function(t){var e;this._ready?this._performSend(t):e=this.bind("ready",function(){this.unbind("ready",e),this._performSend(t)})},ready:function(){this.trigger("ready",this),this._ready=!0},isReady:function(){return!!this._ready},receive:function(t){this.trigger("message",t)}}),e.exports={Connection:r}},{109:109,87:87}],194:[function(t,e,n){function r(t,e){var n=e||Math.floor(100*Math.random()),r=['<object id="xdflashshim'+n+'" name="xdflashshim'+n+'"','type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"','width="1" height="1" style="position:absolute;left:-9999px;top:-9999px;">','<param name="movie" value="'+t+"&debug="+i.__XDDEBUG__+'">','<param name="wmode" value="window">','<param name="allowscriptaccess" value="always">',"</object>"].join(" ");return r}var i=t(20);e.exports={object:r}},{20:20}],195:[function(t,e,n){function r(t){this.con=t}function i(){this.id=i.id++}var o=t(93),a=t(109),s=t(87);a.aug(r.prototype,{expose:function(t){this.con.bind("message",this._handleRequest(t))},call:function(t){var e,n=this;return this._requests||(this._requests={},this.con.bind("message",function(t){var e;try{t=o.parse(t)}catch(r){return}t.callback&&"number"==typeof t.id&&(e=n._requests[t.id])&&(t.error?e.trigger("error",t):e.trigger("success",t),delete n._requests[t.id])})),e=new i,this._requests[e.id]=e,e.send(this.con,t,Array.prototype.slice.call(arguments,1))},_handleRequest:function(t){var e=this;return function(n){var r,i;try{n=o.parse(n)}catch(a){return}n.callback||"number"==typeof n.id&&"function"==typeof t[n.method]&&(i=e._responseCallbacks(n.id),r=t[n.method].apply(t,n.params.concat(i)),"undefined"!=typeof r&&i[0](r))}},_responseCallbacks:function(t){var e=this.con;return[function(n){e.send(o.stringify({id:t,result:n,callback:!0}))},function n(r){e.send(o.stringify({id:t,error:n,callback:r}))}]}}),i.id=0,a.aug(i.prototype,s.Emitter,{send:function(t,e,n){return t.send(o.stringify({id:this.id,method:e,params:n})),this},success:function(t){return this.bind("success",t),this},error:function(t){return this.bind("error",t),this}}),e.exports=function(t){return new r(t)}},{109:109,87:87,93:93}],196:[function(t,e,n){function r(){}function i(t){this.transportMethod="PostMessage",this.options=t,this._createChild()}function o(t){this.transportMethod="Flash",this.options=t,this.token=Math.random().toString(16).substring(2),this._setup()}function a(t){this.transportMethod="Fallback",this.options=t,this._createChild()}var s,u=t(17),c=t(20),d=t(193),l=t(109),f=t(86),h=t(34),p="__ready__",m=0;r.prototype=new d.Connection,l.aug(r.prototype,{_createChild:function(){this.options.window?this._createWindow():this._createIframe()},_createIframe:function(){function t(){o.child=e.contentWindow,o._ready||o.init()}var e,n,r,i,o=this,a={allowTransparency:!0,frameBorder:"0",scrolling:"no",tabIndex:"0",name:this._name()},d=l.aug(l.aug({},a),this.options.iframe);c.postMessage?(s||(s=u.createElement("iframe")),e=s.cloneNode(!1)):e=u.createElement('<iframe name="'+d.name+'">'),e.id=d.name,l.forIn(d,function(t,n){"style"!=t&&e.setAttribute(t,n)}),i=e.getAttribute("style"),i&&"undefined"!=typeof i.cssText?i.cssText=d.style:e.style.cssText=d.style,e.addEventListener("load",t,!1),e.src=this._source(),(n=this.options.appendTo)?n.appendChild(e):(r=this.options.replace)?(n=r.parentNode,n&&n.replaceChild(e,r)):u.body.insertBefore(e,u.body.firstChild)},_createWindow:function(){var t=h.open(this._source()).popup;t&&t.focus(),this.child=t,this.init()},_source:function(){return this.options.src},_name:function(){var t="_xd_"+m++;return c.parent&&c.parent!=c&&c.name&&(t=c.name+t),t}}),i.prototype=new r,l.aug(i.prototype,{init:function(){function t(t){t.source===e.child&&(e._ready||t.data!==p?e.receive(t.data):e.ready())}var e=this;c.addEventListener("message",t,!1)},_performSend:function(t){this.child.postMessage(t,this.options.src)}}),o.prototype=new r,l.aug(o.prototype,{_setup:function(){var e=this,n=t(194);c["__xdcb"+e.token]={receive:function(t){e._ready||t!==p?e.receive(t):e.ready()},loaded:function(){}};var r=u.createElement("div");r.innerHTML=n.object("https://platform.twitter.com/xd/ft.swf?&token="+e.token+"&parent=true&callback=__xdcb"+e.token+"&xdomain="+e._host(),e.token),u.body.insertBefore(r,u.body.firstChild),e.proxy=r.firstChild,e._createChild()},init:function(){},_performSend:function(t){this.proxy.send(t)},_host:function(){return this.options.src.replace(/https?:\/\//,"").split(/(:|\/)/)[0]},_source:function(){return this.options.src+(this.options.src.match(/\?/)?"&":"?")+"xd_token="+c.escape(this.token)}}),a.prototype=new r,l.aug(a.prototype,{init:function(){},_performSend:function(){}}),e.exports={connect:function(t){return!f.canPostMessage()||f.anyIE()&&t.window?f.anyIE()&&f.flashEnabled()?new o(t):new a(t):new i(t)}}},{109:109,17:17,193:193,194:194,20:20,34:34,86:86}]},{},[69])))}();