!function(){function provide(t,e){e(function(e){modules[t]=e})}function using(){for(var t,e=Array.prototype.slice.call(arguments,0,-1),i=0,n=[],r=arguments[arguments.length-1];t=e[i];i++){if(!modules[t])throw"[TWITTER] Module dependency missing: "+t;n.push(modules[t])}r&&r.apply(window,n)}var modules={};provide("util/util",function(t){function e(t){return t&&String(t).toLowerCase().indexOf("[native code]")>-1}function i(t){return f(arguments,function(e){r(e,function(e,i){t[e]=i})}),t}function n(t){return r(t,function(e,i){u(i)&&(n(i),l(i)&&delete t[e]),(void 0===i||null===i||""===i)&&delete t[e]}),t}function r(t,e){for(var i in t)(!t.hasOwnProperty||t.hasOwnProperty(i))&&e(i,t[i]);return t}function o(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function s(t,e){return t==o(e)}function a(t,e,i){return i=i||[],function(){var n=w(arguments,function(t){return t});return t.apply(e,i.concat(n))}}function u(t){return t===Object(t)}function l(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 c(t,e){window.setTimeout(function(){t.call(e||null)},0)}function d(t){return Array.prototype.slice.call(t)}var h=function(){var t=Array.prototype.indexOf;return e(t)?function(e,i){return e?t.apply(e,[i]):-1}:function(t,e){if(!t)return-1;for(var i=0,n=t.length;n>i;i++)if(e==t[i])return i;return-1}}(),f=function(){var t=Array.prototype.forEach;return e(t)?function(e,i){e&&i&&t.apply(e,[i])}:function(t,e){if(t&&e)for(var i=0,n=t.length;n>i;i++)e(t[i],i)}}(),m=function(){var t=Array.prototype.filter;return e(t)?function(e,i){return e?i?t.apply(e,[i]):e:null}:function(t,e){if(!t)return null;if(!e)return t;for(var i=[],n=0,r=t.length;r>n;n++)e(t[n])&&i.push(t[n]);return i}}(),w=function(){var t=Array.prototype.map;return e(t)?function(e,i){return e?i?t.apply(e,[i]):e:null}:function(t,e){if(!t)return null;if(!e)return t;for(var i=[],n=0,r=t.length;r>n;n++)i.push(e(t[n]));return i}}(),p=function(){var t=Array.prototype.reduce;return e(t)?function(e,i,n){return e?i?t.apply(e,[i,n]):n:null}:function(t,e,i){if(!t)return null;if(!e)return i;for(var n=i,r=0,o=t.length;o>r;r++)n=e(n,t[r],r,t);return n}}(),g=function(){var t=String.prototype.trim;return e(t)?function(e){return e&&t.apply(e)}:function(t){return t&&t.replace(/(^\s+|\s+$)/g,"")}}(),v=e(Object.create)?Object.create:function(t){function e(){}return e.prototype=t,new e};t({aug:i,async:c,compact:n,forIn:r,forEach:f,filter:m,map:w,reduce:p,trim:g,indexOf:h,isNative:e,isObject:u,isEmptyObject:l,createObject:v,bind:a,toType:o,isType:s,toRealArray:d})}),provide("util/typevalidator",function(t){using("util/util",function(e){function i(t){return void 0!==t&&null!==t&&""!==t}function n(t){return o(t)&&t%1===0}function r(t){return o(t)&&!n(t)}function o(t){return i(t)&&!isNaN(t)}function s(t){return i(t)&&"array"==e.toType(t)}function a(t){if(!i(t))return!1;switch(t){case"on":case"ON":case"true":case"TRUE":return!0;case"off":case"OFF":case"false":case"FALSE":return!1;default:return!!t}}function u(t){return o(t)?t:void 0}function l(t){return r(t)?t:void 0}function c(t){return n(t)?t:void 0}t({hasValue:i,isInt:n,isFloat:r,isNumber:o,isArray:s,asInt:c,asFloat:l,asNumber:u,asBoolean:a})})}),provide("tfw/util/globals",function(t){using("util/typevalidator",function(e){function i(){var t,e,i=document.getElementsByTagName("meta"),n=0;for(o={};t=i[n];n++)/^twitter:/.test(t.name)&&(e=t.name.replace(/^twitter:/,""),o[e]=t.content)}function n(t){return o[t]}function r(t){return e.asBoolean(t)&&(o.dnt=!0),e.asBoolean(o.dnt)}var o;i(),t({init:i,val:n,dnt:r})})}),provide("util/logger",function(t){using("util/util",function(e){function i(){u("info",e.toRealArray(arguments))}function n(){u("warn",e.toRealArray(arguments))}function r(){u("error",e.toRealArray(arguments))}function o(t){d&&(c[t]=a())}function s(t){var e;d&&(c[t]?(e=a(),i("_twitter",t,e-c[t])):r("timeEnd() called before time() for id: ",t))}function a(){return window.performance&&+window.performance.now()||+new Date}function u(t,e){if(window[l]&&window[l][t])switch(e.length){case 1:window[l][t](e[0]);break;case 2:window[l][t](e[0],e[1]);break;case 3:window[l][t](e[0],e[1],e[2]);break;case 4:window[l][t](e[0],e[1],e[2],e[3]);break;case 5:window[l][t](e[0],e[1],e[2],e[3],e[4]);break;default:0!==e.length&&window[l].warn&&window[l].warn("too many params passed to logger."+t)}}var l=["con","sole"].join(""),c={},d=!!~location.href.indexOf("tw_debug=true");t({info:i,warn:n,error:r,time:o,timeEnd:s})})}),provide("util/domready",function(t){function e(){o=1;for(var t=0,e=s.length;e>t;t++)s[t]()}var i,n,r,o=0,s=[],a=!1,u=document.createElement("a"),l="DOMContentLoaded",c="addEventListener",d="onreadystatechange";/^loade|c/.test(document.readyState)&&(o=1),document[c]&&document[c](l,n=function(){document.removeEventListener(l,n,a),e()},a),u.doScroll&&document.attachEvent(d,i=function(){/^c/.test(document.readyState)&&(document.detachEvent(d,i),e())}),r=u.doScroll?function(t){window.self!=window.top?o?t():s.push(t):!function(){try{u.doScroll("left")}catch(e){return setTimeout(function(){r(t)},50)}t()}()}:function(t){o?t():s.push(t)},t(r)}),provide("util/env",function(t){using("util/domready","util/typevalidator","util/logger","tfw/util/globals",function(e,i,n,r){function o(t){return t=t||window,t.devicePixelRatio?t.devicePixelRatio>=1.5:t.matchMedia?t.matchMedia("only screen and (min-resolution: 144dpi)").matches:!1}function s(t){return t=t||v,/(Trident|MSIE \d)/.test(t)}function a(t){return t=t||v,/MSIE 6/.test(t)}function u(t){return t=t||v,/MSIE 7/.test(t)}function l(t){return t=t||v,/MSIE 8/.test(t)}function c(t){return t=t||v,/MSIE 9/.test(t)}function d(t){return t=t||v,/(iPad|iPhone|iPod)/.test(t)}function h(t){return t=t||v,/^Mozilla\/5\.0 \(Linux; (U; )?Android/.test(t)}function f(){return b}function m(t,e){return t=t||window,e=e||v,t.postMessage&&!(s(e)&&t.opener)}function w(t){t=t||navigator;try{return!!t.plugins["Shockwave Flash"]||!!new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){return!1}}function p(t,e,i){return t=t||window,e=e||navigator,i=i||v,"ontouchstart"in t||/Opera Mini/.test(i)||e.msMaxTouchPoints>0}function g(){var t=document.body.style;return void 0!==t.transition||void 0!==t.webkitTransition||void 0!==t.mozTransition||void 0!==t.oTransition||void 0!==t.msTransition}var v=window.navigator.userAgent,b=!1,y=!1,_="twitter-csp-test";window.twttr=window.twttr||{},twttr.verifyCSP=function(t){var e=document.getElementById(_);y=!0,b=!!t,e&&e.parentNode.removeChild(e)},e(function(){var t;return a()||u()?b=!1:i.asBoolean(r.val("widgets:csp"))?b=!0:(t=document.createElement("script"),t.id=_,t.text="twttr.verifyCSP(false);",document.body.appendChild(t),void window.setTimeout(function(){y||(n.warn('TWITTER: Content Security Policy restrictions may be applied to your site. Add to supress this warning.'),n.warn("TWITTER: Please note: Not all embedded timeline and embedded Tweet functionality is supported when CSP is applied."))},5e3))}),t({retina:o,anyIE:s,ie6:a,ie7:u,ie8:l,ie9:c,ios:d,android:h,cspEnabled:f,flashEnabled:w,canPostMessage:m,touch:p,cssTransitions:g})})}),provide("util/querystring",function(t){function e(t){return encodeURIComponent(t).replace(/\+/g,"%2B").replace(/'/g,"%27")}function i(t){return decodeURIComponent(t)}function n(t){var i,n=[];for(i in t)null!==t[i]&&"undefined"!=typeof t[i]&&n.push(e(i)+"="+e(t[i]));return n.sort().join("&")}function r(t){var e,n,r,o,s={};if(t)for(e=t.split("&"),o=0;r=e[o];o++)n=r.split("="),2==n.length&&(s[i(n[0])]=i(n[1]));return s}function o(t,e){var i=n(e);return i.length>0?t.indexOf("?")>=0?t+"&"+n(e):t+"?"+n(e):t}function s(t){var e=t&&t.split("?");return 2==e.length?r(e[1]):{}}t({url:o,decodeURL:s,decode:r,encode:n,encodePart:e,decodePart:i})}),provide("util/params",function(t){using("util/querystring",function(e){var i,n,r;i=function(t){var i=t.search.substr(1);return e.decode(i)},n=function(t){var i=t.href,n=i.indexOf("#"),r=0>n?"":i.substring(n+1);return e.decode(r)},r=function(t){var e,r={},o=i(t),s=n(t);for(e in o)o.hasOwnProperty(e)&&(r[e]=o[e]);for(e in s)s.hasOwnProperty(e)&&(r[e]=s[e]);return r},t({combined:r,fromQuery:i,fromFragment:n})})}),provide("tfw/util/env",function(t){using("util/params",function(e){function i(){var t=36e5,i=e.combined(document.location)._;return void 0!==n?n:(n=!1,i&&/^\d+$/.test(i)&&(n=+new Date-parseInt(i)n;n++)try{if(t=parent.frames[n],t&&"function"==typeof t.openIntent)return o=t}catch(s){}}}function r(){var t,i,o,a,u,h,f={};if("function"===(typeof arguments[0]).toLowerCase()?f.success=arguments[0]:f=arguments[0],t=f.success||function(){},i=f.timeout||function(){},o=f.nohub||function(){},a=f.complete||function(){},u=void 0!==f.attempt?f.attempt:d,!e.isDynamicWidget()||s)return o(),a(),!1;h=n(),u--;try{if(h&&h.trigger)return t(h),void a()}catch(m){}return 0>=u?(s=!0,i(),void a()):+new Date-l>c*d?(s=!0,void o()):void window.setTimeout(function(){r({success:t,timeout:i,nohub:o,attempt:u,complete:a})},c)}var o,s,a="twttrHubFrameSecure",u="http:"==document.location.protocol?"twttrHubFrame":a,l=+new Date,c=100,d=20;t({withHub:r,contextualHubId:u,secureHubId:a})})}),provide("util/promise",function(t){using("util/util",function(e){var i=function(t){try{var e=t.then;if("function"==typeof e)return!0}catch(i){}return!1},n=function(t){Error.call(this,t)};n.prototype=e.createObject(Error.prototype);var r=function(){var t=[];return t.pump=function(i){e.async(function(){for(var e=t.length,n=0;e>n;)n++,t.shift()(i)})},t},o=function(t,n,r,o,s,a){var u=!1,l=this,c=function(t){e.async(function(){a("fulfilled"),o(t),n.pump(t)})},d=function(t){e.async(function(){a("rejected"),s(t),r.pump(t)})},h=function(t){return i(t)?void t.then(h,d):void c(t)},f=function(t){return function(e){u||(u=!0,t(e))}};this.resolve=f(h,"resolve"),this.fulfill=f(c,"fulfill"),this.reject=f(d,"reject"),this.cancel=function(){l.reject(new Error("Cancel"))},this.timeout=function(){l.reject(new Error("Timeout"))},a("pending")},s=function(t){var e,i,n=new r,s=new r,a="pending";this._addAcceptCallback=function(t){n.push(t),"fulfilled"==a&&n.pump(e)},this._addRejectCallback=function(t){s.push(t),"rejected"==a&&s.pump(i)};var u=new o(this,n,s,function(t){e=t},function(t){i=t},function(t){a=t});try{t&&t(u)}catch(l){u.reject(l)}},a=function(t){return"function"==typeof t},u=function(t,i,n){return a(t)?function(){try{var e=t.apply(null,arguments);i.resolve(e)}catch(n){i.reject(n)}}:e.bind(i[n],i)},l=function(t,e,i){return a(t)&&i._addAcceptCallback(t),a(e)&&i._addRejectCallback(e),i};e.aug(s.prototype,{then:function(t,e){var i=this;return new s(function(n){l(u(t,n,"resolve"),u(e,n,"reject"),i)})},"catch":function(t){var e=this;return new s(function(i){l(null,u(t,i,"reject"),e)})}}),s.isThenable=i;var c=function(t){return e.map(t,s.resolve)};s.any=function(){var t=c(arguments);return new s(function(i){if(t.length){var n=!1,r=function(t){n||(n=!0,i.resolve(t))},o=function(t){n||(n=!0,i.reject(t))};e.forEach(t,function(t){t.then(r,o)})}else i.reject("No futures passed to Promise.any()")})},s.every=function(){var t=c(arguments);return new s(function(i){if(t.length){var n=new Array(t.length),r=0,o=function(e,o){r++,n[e]=o,r==t.length&&i.resolve(n)};e.forEach(t,function(t,n){t.then(e.bind(o,null,[n]),i.reject)})}else i.reject("No futures passed to Promise.every()")})},s.some=function(){var t=c(arguments);return new s(function(i){if(t.length){var n=0,r=function(){n++,n==t.length&&i.reject()};e.forEach(t,function(t){t.then(i.resolve,r)})}else i.reject("No futures passed to Promise.some()")})},s.fulfill=function(t){return new s(function(e){e.fulfill(t)})},s.resolve=function(t){return new s(function(e){e.resolve(t)})},s.reject=function(t){return new s(function(e){e.reject(t)})},t(s)})}),provide("util/layout",function(t){using("util/promise",function(e){function i(){}var n,r=[];i.prototype.enqueue=function(t,i){return new e(function(e){r.push({action:t,resolver:e,note:i})})},i.prototype.exec=function(){var t,e=r;if(e.length)for(r=[];e.length;)t=e.shift(),t&&t.action?t.resolver.fulfill(t.action()):t.resolver.reject()},i.prototype.delayedExec=function(){n&&window.clearTimeout(n),n=window.setTimeout(this.exec,100)},t(i)})}),provide("util/iframe",function(t){using("util/util",function(e){t(function(t,i,n){var r;if(n=n||document,t=t||{},i=i||{},t.name){try{r=n.createElement('')}catch(o){r=n.createElement("iframe"),r.name=t.name}delete t.name}else r=n.createElement("iframe");return t.id&&(r.id=t.id,delete t.id),r.allowtransparency="true",r.scrolling="no",r.setAttribute("frameBorder",0),r.setAttribute("allowTransparency",!0),e.forIn(t,function(t,e){r.setAttribute(t,e)}),e.forIn(i,function(t,e){r.style[t]=e}),r})})}),provide("xd/json2",function(exports){function f(t){return 10>t?"0"+t:t}function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var i,n,r,o,s,a=gap,u=e[t];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(t)),"function"==typeof rep&&(u=rep.call(e,t,u)),typeof u){case"string":return quote(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(gap+=indent,s=[],"[object Array]"===Object.prototype.toString.apply(u)){for(o=u.length,i=0;o>i;i+=1)s[i]=str(i,u)||"null";return r=0===s.length?"[]":gap?"[\n"+gap+s.join(",\n"+gap)+"\n"+a+"]":"["+s.join(",")+"]",gap=a,r}if(rep&&"object"==typeof rep)for(o=rep.length,i=0;o>i;i+=1)n=rep[i],"string"==typeof n&&(r=str(n,u),r&&s.push(quote(n)+(gap?": ":":")+r));else for(n in u)Object.hasOwnProperty.call(u,n)&&(r=str(n,u),r&&s.push(quote(n)+(gap?": ":":")+r));return r=0===s.length?"{}":gap?"{\n"+gap+s.join(",\n"+gap)+"\n"+a+"}":"{"+s.join(",")+"}",gap=a,r}}window.JSON||(window.JSON={}),"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;"function"!=typeof JSON.stringify&&(JSON.stringify=function(t,e,i){var n;if(gap="",indent="","number"==typeof i)for(n=0;i>n;n+=1)indent+=" ";else"string"==typeof i&&(indent=i);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(t,e){var i,n,r=t[e];if(r&&"object"==typeof r)for(i in r)Object.hasOwnProperty.call(r,i)&&(n=walk(r,i),void 0!==n?r[i]=n:delete r[i]);return reviver.call(t,e,r)}var j;if(cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")}),exports(JSON)}),provide("util/twitter",function(t){using("util/querystring",function(e){function i(t){return"string"==typeof t&&h.test(t)&&RegExp.$1.length<=20}function n(t){return i(t)?RegExp.$1:void 0}function r(t,i){var r=e.decodeURL(t);return i=i||!1,r.screen_name=n(t),r.screen_name?e.url("https://twitter.com/intent/"+(i?"follow":"user"),r):void 0}function o(t){return r(t,!0)}function s(t){return"string"==typeof t&&p.test(t)}function a(t,e){return e=void 0===e?!0:e,s(t)?(e?"#":"")+RegExp.$1:void 0}function u(t){return"string"==typeof t&&f.test(t)}function l(t){return u(t)&&RegExp.$1}function c(t){return m.test(t)}function d(t){return w.test(t)}var h=/(?:^|(?:https?\:)?\/\/(?:www\.)?twitter\.com(?:\:\d+)?(?:\/intent\/(?:follow|user)\/?\?screen_name=|(?:\/#!)?\/))@?([\w]+)(?:\?|&|$)/i,f=/(?:^|(?:https?\:)?\/\/(?:www\.)?twitter\.com(?:\:\d+)?\/(?:#!\/)?[\w_]+\/status(?:es)?\/)(\d+)/i,m=/^http(s?):\/\/(\w+\.)*twitter\.com([\:\/]|$)/i,w=/^http(s?):\/\/pbs\.twimg\.com\//,p=/^#?([^.,<>!\s\/#\-\(\)\'\"]+)$/;t({isHashTag:s,hashTag:a,isScreenName:i,screenName:n,isStatus:u,status:l,intentForProfileURL:r,intentForFollowURL:o,isTwitterURL:c,isTwimgURL:d,regexen:{profile:h}})})}),provide("util/uri",function(t){using("util/querystring","util/util","util/twitter",function(e,i,n){function r(t,e){var i,n;return e=e||location,/^https?:\/\//.test(t)?t:/^\/\//.test(t)?e.protocol+t:(i=e.host+(e.port.length?":"+e.port:""),0!==t.indexOf("/")&&(n=e.pathname.split("/"),n.pop(),n.push(t),t="/"+n.join("/")),[e.protocol,"//",i,t].join(""))}function o(){for(var t,e=document.getElementsByTagName("link"),i=0;t=e[i];i++)if("canonical"==t.rel)return r(t.href)}function s(){for(var t,e,i,r=document.getElementsByTagName("a"),o=document.getElementsByTagName("link"),s=[r,o],a=0,u=0,l=/\bme\b/;t=s[a];a++)for(u=0;e=t[u];u++)if(l.test(e.rel)&&(i=n.screenName(e.href)))return i}t({absolutize:r,getCanonicalURL:o,getScreenNameFromPage:s})})}),provide("dom/delegate",function(t){using("util/util",function(e){function i(t){var e=t.getAttribute("data-twitter-event-id");return e?e:(t.setAttribute("data-twitter-event-id",++p),p)}function n(t,e,i){var n=0,r=t&&t.length||0;for(n=0;r>n;n++)t[n].call(e,i)}function r(t,e,i){for(var o=i||t.target||t.srcElement,s=o.className.split(" "),a=0,u=s.length;u>a;a++)n(e["."+s[a]],o,t);n(e[o.tagName],o,t),t.cease||o!==this&&r.call(this,t,e,o.parentElement||o.parentNode)}function o(t,e,i,n){function o(n){r.call(t,n,i[e])}function a(){r.call(t,t.ownerDocument.parentWindow.event,i[e])}return t.addEventListener?(s(t,o,e,n),void t.addEventListener(e,o,!1)):void(t.attachEvent&&(s(t,a,e,n),t.attachEvent("on"+e,a)))}function s(t,e,i,n){t.id&&(g[t.id]=g[t.id]||[],g[t.id].push({el:t,listener:e,type:i,rootId:n}))}function a(t){var i=g[t];i&&(e.forEach(i,function(t){u(t.el,t.type,t.listener),delete w[t.rootId]}),delete g[t])}function u(t,e,i){t&&t.removeEventListener&&t.removeEventListener(e,i),t&&t.detachEvent&&t.detachEvent(e,i)}function l(t,e,n,r){var s=i(t);w[s]=w[s]||{},w[s][e]||(w[s][e]={},o(t,e,w[s],s)),w[s][e][n]=w[s][e][n]||[],w[s][e][n].push(r)}function c(t,e,i){t.addEventListener?t.addEventListener(e,i,!1):t.attachEvent("on"+e,function(){i(window.event)})}function d(t,e,n){var o=i(e),s=w[o]&&w[o];r.call(e,{target:n},s[t])}function h(t){return m(t),f(t),!1}function f(t){t&&t.preventDefault?t.preventDefault():t.returnValue=!1}function m(t){t&&(t.cease=!0)&&t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}var w={},p=-1,g={};t({stop:h,stopPropagation:m,preventDefault:f,delegate:l,on:c,simulate:d,removeDelegatesForWidget:a,off:u})})}),provide("tfw/util/article",function(t){using("dom/delegate","tfw/util/globals","util/uri","xd/json2",function(e,i,n){function r(){if(o=n.getCanonicalURL()||""+document.location,window.top.postMessage){if(window==window.top)return void e.on(window,"message",function(t){var e;if(!t.data||"{"==t.data[0]){try{e=JSON.parse(t.data)}catch(n){}e&&"twttr:private:requestArticleUrl"==e.name&&t.source.postMessage(JSON.stringify({name:"twttr:private:provideArticleUrl",data:{url:o,dnt:i.dnt()}}),"*")}});e.on(window,"message",function(t){var e;if(!t.data||"{"==t.data[0]){try{e=JSON.parse(t.data)}catch(n){}e&&"twttr:private:provideArticleUrl"==e.name&&(o=e.data&&e.data.url,i.dnt(e.data.dnt),s=document.location.href)}}),window.top.postMessage(JSON.stringify({name:"twttr:private:requestArticleUrl"}),"*")}}var o,s="";r(),t({url:function(){return o},frameUrl:function(){return s}})})}),provide("util/tld",function(t){function e(t){return t in r?r[t]:r[t]=n.test(t)}function i(){return e(document.location.host)}var n=/^[^#?]*\.(gov|mil)(:\d+)?([#?].*)?$/i,r={};t({isUrlSensitive:e,isHostPageSensitive:i})}),provide("util/donottrack",function(t){using("util/tld","tfw/util/globals",function(e,i){t(function(t,n){var r=/https?:\/\/([^\/]+).*/i;return t=t||document.referrer,t=r.test(t)&&RegExp.$1,n=n||document.location.host,i.dnt()?!0:e.isUrlSensitive(n)?!0:t&&e.isUrlSensitive(t)?!0:document.navigator?1==document.navigator.doNotTrack:navigator?1==navigator.doNotTrack||1==navigator.msDoNotTrack:!1})})}),provide("sandbox/baseframe",function(t){using("util/domready","util/env","util/iframe","util/promise","util/util",function(e,i,n,r,o){function s(t,e,i,s){var a;this.readyPromise=new r(o.bind(function(t){this.resolver=t},this)),this.attrs=t||{},this.styles=e||{},this.appender=i||function(t){document.body.appendChild(t)},this.layout=s||function(t){return new r(function(e){return e.fulfill(t())})},this.frame=a=n(this.attrs,this.styles),a.onreadystatechange=a.onload=this.getCallback(this.onLoad),this.layout(o.bind(function(){this.appender(a)},this))}var a=0;window.twttr=window.twttr||{},window.twttr.sandbox=window.twttr.sandbox||{},s.prototype.getCallback=function(t){var e=this,i=!1;return function(){i||(i=!0,t.call(e))}},s.prototype.registerCallback=function(t){var e="cb"+a++;return window.twttr.sandbox[e]=t,e},s.prototype.onLoad=function(){try{this.document=this.frame.contentWindow.document}catch(t){return void this.setDocDomain()}this.writeStandardsDoc(),this.resolver.fulfill(this)},s.prototype.ready=function(){return this.readyPromise},s.prototype.setDocDomain=function(){var t=n(this.attrs,this.styles),e=this.registerCallback(this.getCallback(this.onLoad));t.src=["javascript:",'document.write("");',"try { window.parent.document; }","catch (e) {",'document.domain="'+document.domain+'";',"}",'window.parent.twttr.sandbox["'+e+'"]();'].join(""),this.layout(o.bind(function(){this.frame.parentNode.removeChild(this.frame),this.frame=null,this.appender?this.appender(t):document.body.appendChild(t),this.frame=t},this))},s.prototype.writeStandardsDoc=function(){if(i.anyIE()&&!i.cspEnabled()){var t=["","","","","try { window.parent.document; }",'catch (e) {document.domain="'+document.domain+'";}',"","","",""].join("");this.document.write(t),this.document.close()}},t(s)})}),provide("sandbox/minimal",function(t){using("sandbox/baseframe","util/env","util/promise","util/util",function(e,i,n,r){function o(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)}r.aug(o.prototype,{createElement:function(t){return this._doc.createElement(t)},createDocumentFragment:function(){return this._doc.createDocumentFragment()},appendChild:function(t){return this.layout(r.bind(function(){return this._body.appendChild(t)},this))},setBaseTarget:function(t){var e=this._doc.createElement("base");return e.target=t,this.layout(r.bind(function(){return this._head.appendChild(e)},this))},setTitle:function(t){t&&(this._frame.title=t)},element:function(){return this._frame},document:function(){return this._doc}}),o.createSandbox=function(t,i,n,r){var s=new e(t,i,n,r);return s.ready().then(function(t){return new o(t.frame,t.layout)})},t(o)})}),provide("dom/cookie",function(t){using("util/util",function(e){t(function(t,i,n){var r,o,s,a,u=e.aug({},n);return arguments.length>1&&"[object Object]"!==String(i)?((null===i||void 0===i)&&(u.expires=-1),"number"==typeof u.expires&&(r=u.expires,o=new Date((new Date).getTime()+60*r*1e3),u.expires=o),i=String(i),document.cookie=[encodeURIComponent(t),"=",u.raw?i:encodeURIComponent(i),u.expires?"; expires="+u.expires.toUTCString():"",u.path?"; path="+u.path:"",u.domain?"; domain="+u.domain:"",u.secure?"; secure":""].join("")):(u=i||{},a=u.raw?function(t){return t}:decodeURIComponent,(s=new RegExp("(?:^|; )"+encodeURIComponent(t)+"=([^;]*)").exec(document.cookie))?a(s[1]):null)})})}),provide("tfw/util/tracking",function(t){var e="3b8b35c298c308d5929861124acca0d86c839730:1414619355";using("dom/cookie","dom/delegate","sandbox/minimal","util/donottrack","util/promise","util/querystring","util/tld","tfw/util/env","util/iframe","util/util","xd/json2",function(i,n,r,o,s,a,u,l,c,d){function h(){return F?W:(r.createSandbox({id:"rufous-sandbox"},{display:"none"}).then(d.bind(function(t){R=t,C=k(),P=D(),j.fulfill([C,P])},this)),F=!0,W)}function f(t,e,i,n){return m(t,e,i,n,2)}function m(t,e,i,n,r){var o=!d.isObject(t),s=e?!d.isObject(e):!1;o||s||v(E(t),I(e,i,n,r),!0)}function w(t,e,i,n,r){var o=p(t.target||t.srcElement);o.action=r||"click",m(o,e,i,n)}function p(t,e){var i;return e=e||{},t&&1===t.nodeType?((i=t.getAttribute("data-scribe"))&&d.forEach(i.split(" "),function(t){var i=d.trim(t).split(":"),n=i[0],r=i[1];n&&r&&!e[n]&&(e[n]=r)}),p(t.parentNode,e)):e}function g(t,e,i){var n,r;i&&d.isObject(t)&&d.isObject(e)&&(n=d.aug({},e,{event_namespace:t}),r={l:L(n)},n.dnt&&(r.dnt=1),O(a.url(i,r)))}function v(t,e,i){var n,r,o,s;d.isObject(t)&&d.isObject(e)&&(i?g(t,e,U):(o=d.aug({},e,{event_namespace:t}),n=C.firstChild,n.value=+(+n.value||o.dnt||0),s=L(o),r=R.createElement("input"),r.type="hidden",r.name="l",r.value=s,C.appendChild(r)))}function b(t,e,i,n){var r=!d.isObject(t),o=e?!d.isObject(e):!1;r||o||W.then(function(){v(E(t),I(e,i,n))})}function y(t){T("tweet",t)}function _(t){T("timeline",t)}function T(t,e){u.isHostPageSensitive()||H[t]||(H[t]=!0,g(E({page:t,action:"impression"}),N(e),z))}function x(){return W.then(function(){if(C.children.length<=2)return s.reject();var t=s.every(R.appendChild(C),R.appendChild(P)).then(function(t){var e=t[0],i=t[1];return n.on(i,"load",function(){A(e,i)(),twttr.events.trigger("logFlushed")}),e.submit(),t});return C=k(),P=D(),t})}function A(t,e){return function(){var i=t.parentNode;i&&(i.removeChild(t),i.removeChild(e))}}function E(t){return d.aug({client:"tfw"},t||{})}function I(t,i,n,r){var s=t&&t.widget_origin||document.referrer;return t=S("tfw_client_event",t,n||o(s)),t.client_version=e,t.format_version=void 0!==r?r:1,i||(t.widget_origin=s),t}function N(t){return S("syndicated_impression",{},t)}function S(t,e,i){return e=e||{},d.aug(e,{_category_:t,triggered_on:e.triggered_on||+new Date,dnt:!!i})}function k(){var t=R.createElement("form"),e=R.createElement("input"),i=R.createElement("input");return M++,t.action=U,t.method="POST",t.target="rufous-frame-"+M,t.id="rufous-form-"+M,e.type="hidden",e.name="dnt",e.value=0,i.type="hidden",i.name="tfw_redirect",i.value=K,t.appendChild(e),t.appendChild(i),t}function D(){var t="rufous-frame-"+M;return c({id:t,name:t,width:0,height:0,border:0},{display:"none"},R.document())}function O(t){var e=new Image;e.src=t}function L(t){var e,i=Array.prototype.toJSON;return delete Array.prototype.toJSON,e=JSON.stringify(t),i&&(Array.prototype.toJSON=i),e}var C,P,R,j,M=0,F=!1,W=new s(function(t){j=t}),H={},U="https://syndication.twitter.com/i/jot",z="https://syndication.twitter.com/i/jot/syndication",K="https://platform.twitter.com/jot.html";twttr.widgets&&twttr.widgets.endpoints&&(U=twttr.widgets.endpoints.rufous||U,z=twttr.widgets.endpoints.rufous||z,K=twttr.widgets.endpoints.rufousRedirect||K),t({enqueue:b,flush:x,initPostLogging:h,scribeInteraction:w,extractTermsFromDOM:p,addPixel:m,addPixel2:f,scribeTweetAudienceImpression:y,scribeTimelineAudienceImpression:_})})}),provide("performance/perf-timers",function(t){using("tfw/util/tracking","util/util",function(e,i){function n(t){a[t]=+new Date}function r(t){return a[t]?+new Date-a[t]:null}function o(t,e,i,n,o,a){var u=r(e);u&&s(t,i,n,u,o,a)}function s(t,n,r,o,s,a){var l,c=void 0===a?u:a;100*Math.random()>c||(r=i.aug(r||{},{performance_details:{duration_ms:o}}),l={page:n,component:"performance",action:t},e.addPixel(l,r,!0,s))}var a={},u=1;t({start:n,end:r,track:s,endAndTrack:o})})}),provide("dom/get",function(t){using("util/util",function(e){function i(t,e,i){return r(t,e,i,1)[0]}function n(t,i,r){var o,s=i&&i.parentNode;if(s&&s!==r)return s.tagName==t?s:(o=s.className.split(" "),0===t.indexOf(".")&&~e.indexOf(o,t.slice(1))?s:n(t,s,r))}var r=function(){var t=document.getElementsByClassName;return e.isNative(t)?function(i,n,r,o){var s=n?n.getElementsByClassName(i):t.call(document,i),a=e.filter(s,function(t){return!r||t.tagName.toLowerCase()==r.toLowerCase()});return[].slice.call(a,0,o||a.length)}:function(t,i,n,r){var o,s,a,u,l,c,d,h,f=[];for(i=i||document,a=t.split(" "),c=a.length,o=i.getElementsByTagName(n||"*"),h=o.length,l=0;c>l&&h>0;l++){for(f=[],u=a[l],d=0;h>d&&(s=o[d],~e.indexOf(s.className.split(" "),u)&&f.push(s),l+1!=c||f.length!==r);d++);o=f,h=o.length}return f}}();t({all:r,one:i,ancestor:n})})}),provide("tfw/widget/base",function(t){using("dom/get","performance/perf-timers","tfw/util/article","util/domready","util/iframe","util/layout","util/promise","util/querystring","util/typevalidator","util/util","tfw/util/globals","util/logger",function(e,i,n,r,o,s,a,u,l,c,d,h){function f(t){var e;t&&(t.ownerDocument?(this.srcEl=t,this.classAttr=t.className.split(" ")):(this.srcOb=t,this.classAttr=[]),e=this.params(),this.id=this.generateId(),this.setLanguage(),this.related=e.related||this.dataAttr("related"),this.partner=e.partner||this.dataAttr("partner")||d.val("partner"),this.dnt=e.dnt||this.dataAttr("dnt")||d.dnt()||"",this.styleAttr=[],this.targetEl=t.targetEl,b[this.id]=this,this.completePromise=new a(c.bind(function(t){this.completeResolver=t},this)),this.completed().then(function(t){t&&t!=document.body&&twttr.events.trigger("rendered",{target:t})}))}function m(t){var e="";return d.dnt()?!0:(c.forEach(t,function(t){e=t.dnt||e}),e)}function w(){c.forEach(y,function(t){t()}),f.doLayout()}function p(t){return t?t.lang?t.lang:p(t.parentNode):void 0}var g,v=0,b={},y=[],_=new s,T="data-twttr-rendered",x={ar:{"%{followers_count} followers":"عدد المتابعين %{followers_count}","100K+":"+100 ألف","10k unit":"10 آلاف وحدة",Follow:"تابِع","Follow %{screen_name}":"تابِع %{screen_name}",K:"ألف",M:"م",Tweet:"غرِّد","Tweet %{hashtag}":"غرِّد %{hashtag}","Tweet to %{name}":"غرِّد لـ %{name}"},bn:{"Follow %{screen_name}":"%{screen_name}-কে অনুসরণ করুন"},cs:{"Follow %{screen_name}":"Sledovat uživatele %{screen_name}"},da:{"%{followers_count} followers":"%{followers_count} følgere","10k unit":"10k enhed",Follow:"Følg","Follow %{screen_name}":"Følg %{screen_name}","Tweet to %{name}":"Tweet til %{name}"},de:{"%{followers_count} followers":"%{followers_count} Follower","100K+":"100Tsd+","10k unit":"10tsd-Einheit",Follow:"Folgen","Follow %{screen_name}":"%{screen_name} folgen",K:"Tsd",Tweet:"Twittern","Tweet to %{name}":"Tweet an %{name}"},es:{"%{followers_count} followers":"%{followers_count} seguidores","10k unit":"unidad de 10 mil",Follow:"Seguir","Follow %{screen_name}":"Seguir a %{screen_name}",Tweet:"Twittear","Tweet %{hashtag}":"Twittear %{hashtag}","Tweet to %{name}":"Twittear a %{name}"},fa:{"%{followers_count} followers":"%{followers_count} دنبال‌کننده","100K+":">۱۰۰هزار","10k unit":"۱۰هزار واحد",Follow:"دنبال کردن","Follow %{screen_name}":"دنبال کردن %{screen_name}",K:"هزار",M:"میلیون",Tweet:"توییت","Tweet %{hashtag}":"توییت کردن %{hashtag}","Tweet to %{name}":"به %{name} توییت کنید"},fi:{"%{followers_count} followers":"%{followers_count} seuraajaa","100K+":"100 000+","10k unit":"10 000 yksikköä",Follow:"Seuraa","Follow %{screen_name}":"Seuraa käyttäjää %{screen_name}",K:"tuhatta",M:"milj.",Tweet:"Twiittaa","Tweet %{hashtag}":"Twiittaa %{hashtag}","Tweet to %{name}":"Twiittaa käyttäjälle %{name}"},fil:{"%{followers_count} followers":"%{followers_count} mga tagasunod","10k unit":"10k yunit",Follow:"Sundan","Follow %{screen_name}":"Sundan si %{screen_name}",Tweet:"I-tweet","Tweet %{hashtag}":"I-tweet ang %{hashtag}","Tweet to %{name}":"Mag-Tweet kay %{name}"},fr:{"%{followers_count} followers":"%{followers_count} abonnés","10k unit":"unité de 10k",Follow:"Suivre","Follow %{screen_name}":"Suivre %{screen_name}",Tweet:"Tweeter","Tweet %{hashtag}":"Tweeter %{hashtag}","Tweet to %{name}":"Tweeter à %{name}"},he:{"%{followers_count} followers":"%{followers_count} עוקבים","100K+":"מאות אלפים","10k unit":"עשרות אלפים",Follow:"מעקב","Follow %{screen_name}":"לעקוב אחר %{screen_name}",K:"אלף",M:"מיליון",Tweet:"ציוץ","Tweet %{hashtag}":"צייצו %{hashtag}","Tweet to %{name}":"ציוץ אל %{name}"},hi:{"%{followers_count} followers":"%{followers_count} फ़ॉलोअर्स","100K+":"1 लाख से अधिक","10k unit":"10 हजार इकाईयां",Follow:"फ़ॉलो","Follow %{screen_name}":"%{screen_name} को फ़ॉलो करें",K:"हजार",M:"मिलियन",Tweet:"ट्वीट","Tweet %{hashtag}":"ट्वीट %{hashtag}","Tweet to %{name}":"%{name} के प्रति ट्वीट करें"},hu:{"%{followers_count} followers":"%{followers_count} követő","100K+":"100E+","10k unit":"10E+",Follow:"Követés","Follow %{screen_name}":"%{screen_name} követése",K:"E","Tweet %{hashtag}":"%{hashtag} tweetelése","Tweet to %{name}":"Tweet küldése neki: %{name}"},id:{"%{followers_count} followers":"%{followers_count} pengikut","100K+":"100 ribu+","10k unit":"10 ribu unit",Follow:"Ikuti","Follow %{screen_name}":"Ikuti %{screen_name}",K:" ribu",M:" juta","Tweet to %{name}":"Tweet ke %{name}"},it:{"%{followers_count} followers":"%{followers_count} follower","10k unit":"10k unità",Follow:"Segui","Follow %{screen_name}":"Segui %{screen_name}","Tweet %{hashtag}":"Twitta %{hashtag}","Tweet to %{name}":"Twitta a %{name}"},ja:{"%{followers_count} followers":"%{followers_count}人のフォロワー","100K+":"100K以上","10k unit":"万",Follow:"フォローする","Follow %{screen_name}":"%{screen_name}さんをフォロー",Tweet:"ツイート","Tweet %{hashtag}":"%{hashtag} をツイートする","Tweet to %{name}":"%{name}さんへツイートする"},ko:{"%{followers_count} followers":"%{followers_count}명의 팔로워","100K+":"100만 이상","10k unit":"만 단위",Follow:"팔로우","Follow %{screen_name}":"%{screen_name} 님 팔로우하기",K:"천",M:"백만",Tweet:"트윗","Tweet %{hashtag}":"%{hashtag} 관련 트윗하기","Tweet to %{name}":"%{name} 님에게 트윗하기"},msa:{"%{followers_count} followers":"%{followers_count} pengikut","100K+":"100 ribu+","10k unit":"10 ribu unit",Follow:"Ikut","Follow %{screen_name}":"Ikut %{screen_name}",K:"ribu",M:"juta","Tweet to %{name}":"Tweet kepada %{name}"},nl:{"%{followers_count} followers":"%{followers_count} volgers","100K+":"100k+","10k unit":"10k-eenheid",Follow:"Volgen","Follow %{screen_name}":"%{screen_name} volgen",K:"k",M:" mln.",Tweet:"Tweeten","Tweet %{hashtag}":"%{hashtag} tweeten","Tweet to %{name}":"Tweeten naar %{name}"},no:{"%{followers_count} followers":"%{followers_count} følgere","100K+":"100 K+","10k unit":"10-K-enhet",Follow:"Følg","Follow %{screen_name}":"Følg %{screen_name}","Tweet to %{name}":"Send en tweet til %{name}"},pl:{"%{followers_count} followers":"%{followers_count} obserwujących","100K+":"100 tys.+","10k unit":"10 tys.",Follow:"Obserwuj","Follow %{screen_name}":"Obserwuj %{screen_name}",K:"tys.",M:"mln",Tweet:"Tweetnij","Tweet %{hashtag}":"Tweetnij %{hashtag}","Tweet to %{name}":"Tweetnij do %{name}"},pt:{"%{followers_count} followers":"%{followers_count} seguidores","100K+":"+100 mil","10k unit":"10 mil unidades",Follow:"Seguir","Follow %{screen_name}":"Seguir %{screen_name}",K:"Mil",Tweet:"Tweetar","Tweet %{hashtag}":"Tweetar %{hashtag}","Tweet to %{name}":"Tweetar para %{name}"},ro:{"Follow %{screen_name}":"Urmăreşte pe %{screen_name}"},ru:{"%{followers_count} followers":"Читатели: %{followers_count} ","100K+":"100 тыс.+","10k unit":"блок 10k",Follow:"Читать","Follow %{screen_name}":"Читать %{screen_name}",K:"тыс.",M:"млн.",Tweet:"Твитнуть","Tweet %{hashtag}":"Твитнуть %{hashtag}","Tweet to %{name}":"Твитнуть %{name}"},sv:{"%{followers_count} followers":"%{followers_count} följare","10k unit":"10k",Follow:"Följ","Follow %{screen_name}":"Följ %{screen_name}",Tweet:"Tweeta","Tweet %{hashtag}":"Tweeta %{hashtag}","Tweet to %{name}":"Tweeta till %{name}"},th:{"%{followers_count} followers":"%{followers_count} ผู้ติดตาม","100K+":"100พัน+","10k unit":"หน่วย 10พัน",Follow:"ติดตาม","Follow %{screen_name}":"ติดตาม %{screen_name}",M:"ล้าน",Tweet:"ทวีต","Tweet %{hashtag}":"ทวีต %{hashtag}","Tweet to %{name}":"ทวีตถึง %{name}"},tr:{"%{followers_count} followers":"%{followers_count} takipçi","100K+":"+100 bin","10k unit":"10 bin birim",Follow:"Takip et","Follow %{screen_name}":"Takip et: %{screen_name}",K:"bin",M:"milyon",Tweet:"Tweetle","Tweet %{hashtag}":"Tweetle: %{hashtag}","Tweet to %{name}":"Tweetle: %{name}"},uk:{"Follow %{screen_name}":"Читати %{screen_name}"},ur:{"%{followers_count} followers":"%{followers_count} فالورز","100K+":"ایک لاکھ سے زیادہ","10k unit":"دس ہزار یونٹ",Follow:"فالو کریں","Follow %{screen_name}":"%{screen_name} کو فالو کریں",K:"ہزار",M:"ملین",Tweet:"ٹویٹ کریں","Tweet %{hashtag}":"%{hashtag} ٹویٹ کریں","Tweet to %{name}":"%{name} کو ٹویٹ کریں"},vi:{"Follow %{screen_name}":"Theo dõi %{screen_name}"},"zh-cn":{"%{followers_count} followers":"%{followers_count} 关注者","100K+":"10万+","10k unit":"1万单元",Follow:"关注","Follow %{screen_name}":"关注 %{screen_name}",K:"千",M:"百万",Tweet:"发推","Tweet %{hashtag}":"以 %{hashtag} 发推","Tweet to %{name}":"发推给 %{name}"},"zh-tw":{"%{followers_count} followers":"%{followers_count} 位跟隨者","100K+":"超過十萬","10k unit":"1萬 單位",Follow:"跟隨","Follow %{screen_name}":"跟隨 %{screen_name}",K:"千",M:"百萬",Tweet:"推文","Tweet %{hashtag}":"推文%{hashtag}","Tweet to %{name}":"推文給%{name}"}}; c.aug(f.prototype,{setLanguage:function(t){var e;return t||(t=this.params().lang||this.dataAttr("lang")||p(this.srcEl)),(t=t&&t.toLowerCase())?x[t]?this.lang=t:(e=t.replace(/[\-_].*/,""),x[e]?this.lang=e:void(this.lang="en")):this.lang="en"},_:function(t,e){var i=this.lang;return e=e||{},i&&x.hasOwnProperty(i)||(i=this.lang="en"),t=x[i]&&x[i][t]||t,this.ringo(t,e,/%\{([\w_]+)\}/g)},ringo:function(t,e,i){return i=i||/\{\{([\w_]+)\}\}/g,t.replace(i,function(t,i){return void 0!==e[i]?e[i]:t})},makeIframeSource:function(){if(this.iframeSource){var t=u.encode(this.widgetUrlParams());return[twttr.widgets.config.assetUrl(),this.ringo(this.iframeSource,{lang:this.lang}),"#",t].join("")}},add:function(t){b[this.id]=t},create:function(t,e,i){var n,r=this;return i[T]=!0,n=o(c.aug({id:this.id,src:t,"class":this.classAttr.join(" ")},i),e,this.targetEl&&this.targetEl.ownerDocument),this.srcEl?this.layout(function(){return r.srcEl.parentNode.replaceChild(n,r.srcEl),r.completeResolver.fulfill(n),n}):this.targetEl?this.layout(function(){return r.targetEl.appendChild(n),r.completeResolver.fulfill(n),n}):a.reject("Did not append widget")},params:function(){var t,e;return this.srcOb?e=this.srcOb:(t=this.srcEl&&this.srcEl.href&&this.srcEl.href.split("?")[1],e=t?u.decode(t):{}),this.params=function(){return e},e},widgetUrlParams:function(){return{}},dataAttr:function(t){return this.srcEl&&this.srcEl.getAttribute("data-"+t)},attr:function(t){return this.srcEl&&this.srcEl.getAttribute(t)},layout:function(t){return _.enqueue(t)},styles:{base:[["font","normal normal normal 11px/18px 'Helvetica Neue', Arial, sans-serif"],["margin","0"],["padding","0"],["whiteSpace","nowrap"]],button:[["fontWeight","bold"],["textShadow","0 1px 0 rgba(255,255,255,.5)"]],large:[["fontSize","13px"],["lineHeight","26px"]],vbubble:[["fontSize","16px"]]},width:function(){throw new Error(name+" not implemented")},height:function(){return"m"==this.size?20:28},minWidth:function(){},maxWidth:function(){},minHeight:function(){},maxHeight:function(){},dimensions:function(){function t(t){switch(typeof t){case"string":return t;case"undefined":return;default:return t+"px"}}var e={width:this.width(),height:this.height()};return this.minWidth()&&(e["min-width"]=this.minWidth()),this.maxWidth()&&(e["max-width"]=this.maxWidth()),this.minHeight()&&(e["min-height"]=this.minHeight()),this.maxHeight()&&(e["max-height"]=this.maxHeight()),c.forIn(e,function(i,n){e[i]=t(n)}),e},generateId:function(){return this.srcEl&&this.srcEl.id||"twitter-widget-"+v++},completed:function(){return this.completePromise}}),f.afterLoad=function(t){y.push(t)},f.doLayout=function(){_.exec()},f.doLayoutAsync=function(){_.delayedExec()},f.init=function(t){g=t},f.reset=function(){b={}},f.find=function(t){return t&&b[t]?b[t].element:null},f.embed=function(t){var i=g.widgets,n=[],r=[],o=[];l.isArray(t)||(t=[t||document]),h.time("sandboxes"),c.forEach(t,function(t){c.forIn(i,function(i,r){var s,a;i.match(/\./)?(s=i.split("."),a=e.all(s[1],t,s[0])):a=t.getElementsByTagName(i),c.forEach(a,function(t){var e;t.getAttribute(T)||(t.setAttribute(T,"true"),e=new r(t),n.push(e),o.push(e.sandboxCreated))})})}),a.every.apply(null,o).then(function(){h.timeEnd("sandboxes")}),f.doLayout(),c.forEach(n,function(t){r.push(t.completed()),t.render(g)}),a.every.apply(null,r).then(function(t){t=c.filter(t,function(t){return t}),t.length&&(twttr.events.trigger("loaded",{widgets:t}),h.timeEnd("load"))}).then(c.bind(f.trackRender,null,[n])),f.doLayoutAsync(),w()},f.trackRender=function(t){i.endAndTrack("render","widgets-js-load","page",{widget_origin:n.url()},m(t))},window.setInterval(function(){f.doLayout()},500),t(f)})}),provide("util/events",function(t){using("util/util",function(e){var i={bind:function(t,e){return this._handlers=this._handlers||{},this._handlers[t]=this._handlers[t]||[],this._handlers[t].push(e)},unbind:function(t,i){if(this._handlers[t])if(i){var n=e.indexOf(this._handlers[t],i);n>=0&&this._handlers[t].splice(n,1)}else this._handlers[t]=[]},trigger:function(t,i){var n=this._handlers&&this._handlers[t];i=i||{},i.type=t,e.forEach(n,function(t){e.async(e.bind(t,this,[i]))})}};t({Emitter:i})})}),provide("xd/jsonrpc",function(t){using("util/util","util/events","xd/json2",function(e,i){function n(t){return(JSON.parse||JSON.decode)(t)}function r(t){this.con=t}function o(){this.id=o.id++}e.aug(r.prototype,{expose:function(t){this.con.bind("message",this._handleRequest(t))},call:function(t){var e,i=this;return this._requests||(this._requests={},this.con.bind("message",function(t){var e;try{t=n(t)}catch(r){return}t.callback&&"number"==typeof t.id&&(e=i._requests[t.id])&&(t.error?e.trigger("error",t):e.trigger("success",t),delete i._requests[t.id])})),e=new o,this._requests[e.id]=e,e.send(this.con,t,Array.prototype.slice.call(arguments,1))},_handleRequest:function(t){var e=this;return function(i){var r,o;try{i=n(i)}catch(s){return}i.callback||"number"==typeof i.id&&"function"==typeof t[i.method]&&(o=e._responseCallbacks(i.id),r=t[i.method].apply(t,i.params.concat(o)),"undefined"!=typeof r&&o[0](r))}},_responseCallbacks:function(t){var e=this.con;return[function(i){e.send(JSON.stringify({id:t,result:i,callback:!0}))},function i(n){e.send(JSON.stringify({id:t,error:i,callback:n}))}]}}),o.id=0,e.aug(o.prototype,i.Emitter,{send:function(t,e,i){return t.send(JSON.stringify({id:this.id,method:e,params:i})),this},success:function(t){return this.bind("success",t),this},error:function(t){return this.bind("error",t),this}}),t(function(t){return new r(t)})})}),provide("xd/flash",function(t){function e(t,e){var i=e||Math.floor(100*Math.random()),n=['','','','',""].join(" ");return n}t({object:e})}),provide("xd/base",function(t){using("util/util","util/events",function(e,i){function n(){}e.aug(n.prototype,i.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)}}),t({Connection:n})})}),provide("xd/parent",function(t){using("xd/base","util/util","util/env",function(e,i,n){function r(t){var e=[];return i.forIn(t,function(t,i){e.push(t+"="+i)}),e.join(",")}function o(){}function s(t){this.transportMethod="PostMessage",this.options=t,this._createChild()}function a(t){this.transportMethod="Flash",this.options=t,this.token=Math.random().toString(16).substring(2),this._setup()}function u(t){this.transportMethod="Fallback",this.options=t,this._createChild()}var l,c="__ready__",d=0;o.prototype=new e.Connection,i.aug(o.prototype,{_createChild:function(){this.options.window?this._createWindow():this._createIframe()},_createIframe:function(){function t(){s.child=e.contentWindow,s._ready||s.init()}var e,n,r,o,s=this,a={allowTransparency:!0,frameBorder:"0",scrolling:"no",tabIndex:"0",name:this._name()},u=i.aug(i.aug({},a),this.options.iframe),c=!1;window.postMessage?(l||(l=document.createElement("iframe")),e=l.cloneNode(!1)):e=document.createElement('