Follow
",""].join("");this.document.write(t),this.document.close()}},e.exports=n},{"util/env":11,"util/iframe":12,"util/promise":15,"util/util":20}],5:[function(t,e){function n(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)}var r=t("sandbox/baseframe"),i=t("util/util");i.aug(n.prototype,{createElement:function(t){return this._doc.createElement(t)},createDocumentFragment:function(){return this._doc.createDocumentFragment()},appendChild:function(t){return this.layout(i.bind(function(){return this._body.appendChild(t)},this))},setBaseTarget:function(t){var e=this._doc.createElement("base");return e.target=t,this.layout(i.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}}),n.createSandbox=function(t,e,i,o){var u=new r(t,e,i,o);return u.ready().then(function(t){return new n(t.frame,t.layout)})},e.exports=n},{"sandbox/baseframe":4,"util/util":20}],6:[function(t,e){function n(){var t=36e5,e=i.combined(document.location)._;return void 0!==r?r:(r=!1,e&&/^\d+$/.test(e)&&(r=+new Date-parseInt(e)t;t++)a[t]()}var r,i,o,u=0,a=[],c=!1,s=document.createElement("a");/^loade|c/.test(document.readyState)&&(u=1),document.addEventListener&&document.addEventListener("DOMContentLoaded",i=function(){document.removeEventListener("DOMContentLoaded",i,c),n()},c),s.doScroll&&document.attachEvent("onreadystatechange",r=function(){/^c/.test(document.readyState)&&(document.detachEvent("onreadystatechange",r),n())}),o=s.doScroll?function(t){window.self!=window.top?u?t():a.push(t):!function(){try{s.doScroll("left")}catch(e){return setTimeout(function(){o(t)},50)}t()}()}:function(t){u?t():a.push(t)},e.exports=o},{}],10:[function(t,e){var n=t("util/tld"),r=t("tfw/util/globals");e.exports=function(t,e){var i=/https?:\/\/([^\/]+).*/i;return t=t||document.referrer,t=i.test(t)&&RegExp.$1,e=e||document.location.host,r.dnt()?!0:n.isUrlSensitive(e)?!0:t&&n.isUrlSensitive(t)?!0:document.navigator?1==document.navigator.doNotTrack:navigator?1==navigator.doNotTrack||1==navigator.msDoNotTrack:!1}},{"tfw/util/globals":7,"util/tld":17}],11:[function(t,e){function n(t){return t=t||window,t.devicePixelRatio?t.devicePixelRatio>=1.5:t.matchMedia?t.matchMedia("only screen and (min-resolution: 144dpi)").matches:!1}function r(t){return t=t||y,/(Trident|MSIE \d)/.test(t)}function i(t){return t=t||y,/MSIE 6/.test(t)}function o(t){return t=t||y,/MSIE 7/.test(t)}function u(t){return t=t||y,/MSIE 8/.test(t)}function a(t){return t=t||y,/MSIE 9/.test(t)}function c(t){return t=t||y,/(iPad|iPhone|iPod)/.test(t)}function s(t){return t=t||y,/^Mozilla\/5\.0 \(Linux; (U; )?Android/.test(t)}function l(){return b}function f(t,e){return t=t||window,e=e||y,t.postMessage&&!(r(e)&&t.opener)}function d(t){t=t||navigator;try{return!!t.plugins["Shockwave Flash"]||!!new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){return!1}}function p(t,e,n){return t=t||window,e=e||navigator,n=n||y,"ontouchstart"in t||/Opera Mini/.test(n)||e.msMaxTouchPoints>0}function h(){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 m=t("util/domready"),g=t("util/typevalidator"),w=t("util/logger"),v=t("tfw/util/globals"),y=window.navigator.userAgent,b=!1,x=!1,E="twitter-csp-test";window.twttr=window.twttr||{},twttr.verifyCSP=function(t){var e=document.getElementById(E);x=!0,b=!!t,e&&e.parentNode.removeChild(e)},m(function(){var t;return i()||o()?b=!1:g.asBoolean(v.val("widgets:csp"))?b=!0:(t=document.createElement("script"),t.id=E,t.text="twttr.verifyCSP(false);",document.body.appendChild(t),void window.setTimeout(function(){x||(w.warn('TWITTER: Content Security Policy restrictions may be applied to your site. Add 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:n,anyIE:r,ie6:i,ie7:o,ie8:u,ie9:a,ios:c,android:s,cspEnabled:l,flashEnabled:d,canPostMessage:f,touch:p,cssTransitions:h}},{"tfw/util/globals":7,"util/domready":9,"util/logger":13,"util/typevalidator":19}],12:[function(t,e){var n=t("util/util");e.exports=function(t,e,r){var i;if(r=r||document,t=t||{},e=e||{},t.name){try{i=r.createElement('')}catch(o){i=r.createElement("iframe"),i.name=t.name}delete t.name}else i=r.createElement("iframe");return t.id&&(i.id=t.id,delete t.id),i.allowtransparency="true",i.scrolling="no",i.setAttribute("frameBorder",0),i.setAttribute("allowTransparency",!0),n.forIn(t,function(t,e){i.setAttribute(t,e)}),n.forIn(e,function(t,e){i.style[t]=e}),i}},{"util/util":20}],13:[function(t,e){function n(){c("info",s.toRealArray(arguments))}function r(){c("warn",s.toRealArray(arguments))}function i(){c("error",s.toRealArray(arguments))}function o(t){d&&(f[t]=a())}function u(t){var e;d&&(f[t]?(e=a(),n("_twitter",t,e-f[t])):i("timeEnd() called before time() for id: ",t))}function a(){return window.performance&&+window.performance.now()||+new Date}function c(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 s=t("util/util"),l=["con","sole"].join(""),f={},d=!!~location.href.indexOf("tw_debug=true");e.exports={info:n,warn:r,error:i,time:o,timeEnd:u}},{"util/util":20}],14:[function(t,e){var n,r,i,o=t("util/querystring");n=function(t){var e=t.search.substr(1);return o.decode(e)},r=function(t){var e=t.href,n=e.indexOf("#"),r=0>n?"":e.substring(n+1);return o.decode(r)},i=function(t){var e,i={},o=n(t),u=r(t);for(e in o)o.hasOwnProperty(e)&&(i[e]=o[e]);for(e in u)u.hasOwnProperty(e)&&(i[e]=u[e]);return i},e.exports={combined:i,fromQuery:n,fromFragment:r}},{"util/querystring":16}],15:[function(t,e){var n=t("util/util"),r=function(t){try{var e=t.then;if("function"==typeof e)return!0}catch(n){}return!1},i=function(t){Error.call(this,t)};i.prototype=n.createObject(Error.prototype);var o=function(){var t=[];return t.pump=function(e){n.async(function(){for(var n=t.length,r=0;n>r;)r++,t.shift()(e)})},t},u=function(t,e,i,o,u,a){var c=!1,s=this,l=function(t){n.async(function(){a("fulfilled"),o(t),e.pump(t)})},f=function(t){n.async(function(){a("rejected"),u(t),i.pump(t)})},d=function(t){return r(t)?void t.then(d,f):void l(t)},p=function(t){return function(e){c||(c=!0,t(e))}};this.resolve=p(d,"resolve"),this.fulfill=p(l,"fulfill"),this.reject=p(f,"reject"),this.cancel=function(){s.reject(new Error("Cancel"))},this.timeout=function(){s.reject(new Error("Timeout"))},a("pending")},a=function(t){var e,n,r=new o,i=new o,a="pending";this._addAcceptCallback=function(t){r.push(t),"fulfilled"==a&&r.pump(e)},this._addRejectCallback=function(t){i.push(t),"rejected"==a&&i.pump(n)};var c=new u(this,r,i,function(t){e=t},function(t){n=t},function(t){a=t});try{t&&t(c)}catch(s){c.reject(s)}},c=function(t){return"function"==typeof t},s=function(t,e,r){return c(t)?function(){try{var n=t.apply(null,arguments);e.resolve(n)}catch(r){e.reject(r)}}:n.bind(e[r],e)},l=function(t,e,n){return c(t)&&n._addAcceptCallback(t),c(e)&&n._addRejectCallback(e),n};n.aug(a.prototype,{then:function(t,e){var n=this;return new a(function(r){l(s(t,r,"resolve"),s(e,r,"reject"),n)})},"catch":function(t){var e=this;return new a(function(n){l(null,s(t,n,"reject"),e)})}}),a.isThenable=r;var f=function(t){return n.map(t,a.resolve)};a.any=function(){var t=f(arguments);return new a(function(e){if(t.length){var r=!1,i=function(t){r||(r=!0,e.resolve(t))},o=function(t){r||(r=!0,e.reject(t))};n.forEach(t,function(t){t.then(i,o)})}else e.reject("No futures passed to Promize.any()")})},a.every=function(){var t=f(arguments);return new a(function(e){if(t.length){var r=new Array(t.length),i=0,o=function(n,o){i++,r[n]=o,i==t.length&&e.resolve(r)};n.forEach(t,function(t,r){t.then(n.bind(o,null,[r]),e.reject)})}else e.reject("No futures passed to Promize.every()")})},a.some=function(){var t=f(arguments);return new a(function(e){if(t.length){var r=0,i=function(){r++,r==t.length&&e.reject()};n.forEach(t,function(t){t.then(e.resolve,i)})}else e.reject("No futures passed to Promize.some()")})},a.fulfill=function(t){return new a(function(e){e.fulfill(t)})},a.resolve=function(t){return new a(function(e){e.resolve(t)})},a.reject=function(t){return new a(function(e){e.reject(t)})},e.exports=a},{"util/util":20}],16:[function(t,e){function n(t){return encodeURIComponent(t).replace(/\+/g,"%2B").replace(/'/g,"%27")}function r(t){return decodeURIComponent(t)}function i(t){var e,r=[];for(e in t)null!==t[e]&&"undefined"!=typeof t[e]&&r.push(n(e)+"="+n(t[e]));return r.sort().join("&")}function o(t){var e,n,i,o,u={};if(t)for(e=t.split("&"),o=0;i=e[o];o++)n=i.split("="),2==n.length&&(u[r(n[0])]=r(n[1]));return u}function u(t,e){var n=i(e);return n.length>0?t.indexOf("?")>=0?t+"&"+i(e):t+"?"+i(e):t}function a(t){var e=t&&t.split("?");return 2==e.length?o(e[1]):{}}e.exports={url:u,decodeURL:a,decode:o,encode:i,encodePart:n,decodePart:r}},{}],17:[function(t,e){function n(t){return t in o?o[t]:o[t]=i.test(t)}function r(){return n(document.location.host)}var i=/^[^#?]*\.(gov|mil)(:\d+)?([#?].*)?$/i,o={};e.exports={isUrlSensitive:n,isHostPageSensitive:r}},{}],18:[function(t,e){function n(t){return"string"==typeof t&&p.test(t)&&RegExp.$1.length<=20}function r(t){return n(t)?RegExp.$1:void 0}function i(t,e){var n=d.decodeURL(t);return e=e||!1,n.screen_name=r(t),n.screen_name?d.url(https://twitter.com/intent/"+(e?"follow":"user),n):void 0}function o(t){return i(t,!0)}function u(t){return"string"==typeof t&&w.test(t)}function a(t,e){return e=void 0===e?!0:e,u(t)?(e?"#":"")+RegExp.$1:void 0}function c(t){return"string"==typeof t&&h.test(t)}function s(t){return c(t)&&RegExp.$1}function l(t){return m.test(t)}function f(t){return g.test(t)}var d=t("util/querystring"),p=/(?:^|(?:https?\:)?\/\/(?:www\.)?twitter\.com(?:\:\d+)?(?:\/intent\/(?:follow|user)\/?\?screen_name=|(?:\/#!)?\/))@?([\w]+)(?:\?|&|$)/i,h=/(?:^|(?:https?\:)?\/\/(?:www\.)?twitter\.com(?:\:\d+)?\/(?:#!\/)?[\w_]+\/status(?:es)?\/)(\d+)/i,m=/^http(s?):\/\/(\w+\.)*twitter\.com([\:\/]|$)/i,g=/^http(s?):\/\/pbs\.twimg\.com\//,w=/^#?([^.,<>!\s\/#\-\(\)\'\"]+)$/;e.exports={isHashTag:u,hashTag:a,isScreenName:n,screenName:r,isStatus:c,status:s,intentForProfileURL:i,intentForFollowURL:o,isTwitterURL:l,isTwimgURL:f,regexen:{profile:p}}},{"util/querystring":16}],19:[function(t,e){function n(t){return void 0!==t&&null!==t&&""!==t}function r(t){return o(t)&&t%1===0}function i(t){return o(t)&&!r(t)}function o(t){return n(t)&&!isNaN(t)}function u(t){return n(t)&&"array"==f.toType(t)}function a(t){if(!n(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 c(t){return o(t)?t:void 0}function s(t){return i(t)?t:void 0}function l(t){return r(t)?t:void 0}var f=t("util/util");e.exports={hasValue:n,isInt:r,isFloat:i,isNumber:o,isArray:u,asInt:l,asFloat:s,asNumber:c,asBoolean:a}},{"util/util":20}],20:[function(t,e){function n(t){return t&&String(t).toLowerCase().indexOf("[native code]")>-1}function r(t){return h(arguments,function(e){o(e,function(e,n){t[e]=n})}),t}function i(t){return o(t,function(e,n){s(n)&&(i(n),l(n)&&delete t[e]),(void 0===n||null===n||""===n)&&delete t[e]}),t}function o(t,e){for(var n in t)(!t.hasOwnProperty||t.hasOwnProperty(n))&&e(n,t[n]);return t}function u(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function a(t,e){return t==u(e)}function c(t,e,n){return n=n||[],function(){var r=g(arguments,function(t){return t});return t.apply(e,n.concat(r))}}function s(t){return t===Object(t)}function l(t){if(!s(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 f(t,e){window.setTimeout(function(){t.call(e||null)},0)}function d(t){return Array.prototype.slice.call(t)}var p=function(){var t=Array.prototype.indexOf;return n(t)?function(e,n){return e?t.apply(e,[n]):-1}:function(t,e){if(!t)return-1;for(var n=0,r=t.length;r>n;n++)if(e==t[n])return n;return-1}}(),h=function(){var t=Array.prototype.forEach;return n(t)?function(e,n){e&&n&&t.apply(e,[n])}:function(t,e){if(t&&e)for(var n=0,r=t.length;r>n;n++)e(t[n],n)}}(),m=function(){var t=Array.prototype.filter;return n(t)?function(e,n){return e?n?t.apply(e,[n]):e:null}:function(t,e){if(!t)return null;if(!e)return t;for(var n=[],r=0,i=t.length;i>r;r++)e(t[r])&&n.push(t[r]);return n}}(),g=function(){var t=Array.prototype.map;return n(t)?function(e,n){return e?n?t.apply(e,[n]):e:null}:function(t,e){if(!t)return null;if(!e)return t;for(var n=[],r=0,i=t.length;i>r;r++)n.push(e(t[r]));return n}}(),w=function(){var t=Array.prototype.reduce;return n(t)?function(e,n,r){return e?n?t.apply(e,[n,r]):r:null}:function(t,e,n){if(!t)return null;if(!e)return n;for(var r=n,i=0,o=t.length;o>i;i++)r=e(r,t[i],i,t);return r}}(),v=function(){var t=String.prototype.trim;return n(t)?function(e){return e&&t.apply(e)}:function(t){return t&&t.replace(/(^\s+|\s+$)/g,"")}}(),y=n(Object.create)?Object.create:function(t){function e(){}return e.prototype=t,new e};e.exports={aug:r,async:f,compact:i,forIn:o,forEach:h,filter:m,map:g,reduce:w,trim:v,indexOf:p,isNative:n,isObject:s,isEmptyObject:l,createObject:y,bind:c,toType:u,isType:a,toRealArray:d}},{}],21:[function(t,e){function n(){if(i)return i;if(u.isDynamicWidget()){var t,e=0,n=parent.frames.length;try{if(i=parent.frames[s])return i}catch(r){}if(a.anyIE())for(;n>e;e++)try{if(t=parent.frames[e],t&&"function"==typeof t.openIntent)return i=t}catch(r){}}}function r(){var t,e,i,a,c,s,p={};if("function"===(typeof arguments[0]).toLowerCase()?p.success=arguments[0]:p=arguments[0],t=p.success||function(){},e=p.timeout||function(){},i=p.nohub||function(){},a=p.complete||function(){},c=void 0!==p.attempt?p.attempt:d,!u.isDynamicWidget()||o)return i(),a(),!1;s=n(),c--;try{if(s&&s.trigger)return t(s),void a()}catch(h){}return 0>=c?(o=!0,e(),void a()):+new Date-l>f*d?(o=!0,void i()):void window.setTimeout(function(){r({success:t,timeout:e,nohub:i,attempt:c,complete:a})},f)}var i,o,u=t("tfw/util/env"),a=t("util/env"),c="twttrHubFrameSecure",s="http:"==document.location.protocol?"twttrHubFrame":c,l=+new Date,f=100,d=20;e.exports={withHub:r,contextualHubId:s,secureHubId:c}},{"tfw/util/env":6,"util/env":11}],22:[function(require,module,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 n,r,i,o,u,a=gap,c=e[t];switch(c&&"object"==typeof c&&"function"==typeof c.toJSON&&(c=c.toJSON(t)),"function"==typeof rep&&(c=rep.call(e,t,c)),typeof c){case"string":return quote(c);case"number":return isFinite(c)?String(c):"null";case"boolean":case"null":return String(c);case"object":if(!c)return"null";if(gap+=indent,u=[],"[object Array]"===Object.prototype.toString.apply(c)){for(o=c.length,n=0;o>n;n+=1)u[n]=str(n,c)||"null";return i=0===u.length?"[]":gap?"[\n"+gap+u.join(",\n"+gap)+"\n"+a+"]":"["+u.join(",")+"]",gap=a,i}if(rep&&"object"==typeof rep)for(o=rep.length,n=0;o>n;n+=1)r=rep[n],"string"==typeof r&&(i=str(r,c),i&&u.push(quote(r)+(gap?": ":":")+i));else for(r in c)Object.hasOwnProperty.call(c,r)&&(i=str(r,c),i&&u.push(quote(r)+(gap?": ":":")+i));return i=0===u.length?"{}":gap?"{\n"+gap+u.join(",\n"+gap)+"\n"+a+"}":"{"+u.join(",")+"}",gap=a,i}}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,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;n>r;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);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 n,r,i=t[e];if(i&&"object"==typeof i)for(n in i)Object.hasOwnProperty.call(i,n)&&(r=walk(i,n),void 0!==r?i[n]=r:delete i[n]);return reviver.call(t,e,i)}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")}),module.exports=JSON},{}]},{},[1]);;