/g,k=/"/g,l=/'/g;function m(n){if(typeof n=='undefined'||n===null||!n.toString)return '';if(n===false){return '0';}else if(n===true)return '1';return n.toString().replace(h,'&').replace(k,'"').replace(l,''').replace(i,'<').replace(j,'>');}f.exports=m;}),null); __d('Flash',['DOMEventListener','DOMWrapper','QueryString','UserAgent_DEPRECATED','guid','htmlSpecialChars'],(function a(b,c,d,e,f,g,h,i,j,k,l,m){var n={},o,p=i.getWindow().document;function q(v){var w=p.getElementById(v);if(w)w.parentNode.removeChild(w);delete n[v];}function r(){for(var v in n)if(n.hasOwnProperty(v))q(v);}function s(v){return v.replace(/\d+/g,function(w){return '000'.substring(w.length)+w;});}function t(v){if(!o){if(k.ie()>=9)h.add(window,'unload',r);o=true;}n[v]=v;}var u={embed:function v(w,x,y,z){var aa=l();w=m(w).replace(/&/g,'&');y=babelHelpers['extends']({allowscriptaccess:'always',flashvars:z,movie:w},y);if(typeof y.flashvars=='object')y.flashvars=j.encode(y.flashvars);var ba=[];for(var ca in y)if(y.hasOwnProperty(ca)&&y[ca])ba.push('');var da=x.appendChild(p.createElement('span')),ea='';da.innerHTML=ea;var fa=da.firstChild;t(aa);return fa;},remove:q,getVersion:function v(){var w='Shockwave Flash',x='application/x-shockwave-flash',y='ShockwaveFlash.ShockwaveFlash',z;if(navigator.plugins&&typeof navigator.plugins[w]=='object'){var aa=navigator.plugins[w].description;if(aa&&navigator.mimeTypes&&navigator.mimeTypes[x]&&navigator.mimeTypes[x].enabledPlugin)z=aa.match(/\d+/g);}if(!z)try{z=new ActiveXObject(y).GetVariable('$version').match(/(\d+),(\d+),(\d+),(\d+)/);z=Array.prototype.slice.call(z,1);}catch(ba){}return z;},getVersionString:function v(){var w=u.getVersion();return w?w.join('.'):'';},checkMinVersion:function v(w){var x=u.getVersion();if(!x)return false;return s(x.join('.'))>=s(w);},isAvailable:function v(){return !!u.getVersion();}};f.exports=u;}),null); __d('dotAccess',[],(function a(b,c,d,e,f,g){function h(i,j,k){var l=j.split('.');do{var m=l.shift();i=i[m]||k&&(i[m]={});}while(l.length&&i);return i;}f.exports=h;}),null); __d('GlobalCallback',['DOMWrapper','dotAccess','guid','wrapFunction'],(function a(b,c,d,e,f,g,h,i,j,k){var l,m,n={setPrefix:function o(p){l=i(h.getWindow(),p,true);m=p;},create:function o(p,q){if(!l)this.setPrefix('__globalCallbacks');var r=j();l[r]=k(p,'entry',q||'GlobalCallback');return m+'.'+r;},remove:function o(p){var q=p.substring(m.length+1);delete l[q];}};f.exports=n;}),null); __d("emptyFunction",[],(function a(b,c,d,e,f,g){function h(j){return function(){return j;};}var i=function j(){};i.thatReturns=h;i.thatReturnsFalse=h(false);i.thatReturnsTrue=h(true);i.thatReturnsNull=h(null);i.thatReturnsThis=function(){return this;};i.thatReturnsArgument=function(j){return j;};f.exports=i;}),null); __d('XDM',['DOMEventListener','DOMWrapper','emptyFunction','Flash','GlobalCallback','guid','Log','UserAgent_DEPRECATED','wrapFunction'],(function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){var q={},r={transports:[]},s=i.getWindow();function t(w){var x={},y=w.length,z=r.transports;while(y--)x[w[y]]=1;y=z.length;while(y--){var aa=z[y],ba=q[aa];if(!x[aa]&&ba.isAvailable())return aa;}}var u={register:function w(x,y){n.debug('Registering %s as XDM provider',x);r.transports.push(x);q[x]=y;},create:function w(x){if(!x.whenReady&&!x.onMessage){n.error('An instance without whenReady or onMessage makes no sense');throw new Error('An instance without whenReady or '+'onMessage makes no sense');}if(!x.channel){n.warn('Missing channel name, selecting at random');x.channel=m();}if(!x.whenReady)x.whenReady=j;if(!x.onMessage)x.onMessage=j;var y=x.transport||t(x.blacklist||[]),z=q[y];if(z&&z.isAvailable()){n.debug('%s is available',y);z.init(x);return y;}}};u.register('flash',function(){var w=false,x,y=false,z=15000,aa;return {isAvailable:function ba(){return k.checkMinVersion('8.0.24');},init:function ba(ca){n.debug('init flash: '+ca.channel);var da={send:function ga(ha,ia,ja,ka){n.debug('sending to: %s (%s)',ia,ka);x.postMessage(ha,ia,ka);}};if(w){ca.whenReady(da);return;}var ea=ca.root.appendChild(s.document.createElement('div')),fa=l.create(function(){l.remove(fa);clearTimeout(aa);n.info('xdm.swf called the callback');var ga=l.create(function(ha,ia){ha=decodeURIComponent(ha);ia=decodeURIComponent(ia);n.debug('received message %s from %s',ha,ia);ca.onMessage(ha,ia);},'xdm.swf:onMessage');x.init(ca.channel,ga);ca.whenReady(da);},'xdm.swf:load');x=k.embed(ca.flashUrl,ea,null,{protocol:location.protocol.replace(':',''),host:location.host,callback:fa,log:y});aa=setTimeout(function(){n.warn('The Flash component did not load within %s ms - '+'verify that the container is not set to hidden or invisible '+'using CSS as this will cause some browsers to not load '+'the components',z);},z);w=true;}};}());var v=/\.facebook\.com(\/|$)/;u.register('postmessage',function(){var w=false;return {isAvailable:function x(){return !!s.postMessage;},init:function x(y){n.debug('init postMessage: '+y.channel);var z='_FB_'+y.channel,aa={send:function ba(ca,da,ea,fa){if(s===ea){n.error('Invalid windowref, equal to window (self)');throw new Error();}n.debug('sending to: %s (%s)',da,fa);var ba=function ga(){ea.postMessage('_FB_'+fa+ca,da);};if(o.ie()==8||o.ieCompatibilityMode()){setTimeout(ba,0);}else ba();}};if(w){y.whenReady(aa);return;}h.add(s,'message',p(function(event){var ba=event.data,ca=event.origin||'native';if(!/^(https?:\/\/|native$)/.test(ca)){n.debug('Received message from invalid origin type: %s',ca);return;}if(ca!=='native'&&!(v.test(location.hostname)||v.test(event.origin)))return;if(typeof ba!='string'){n.warn('Received message of type %s from %s, expected a string',typeof ba,ca);return;}n.debug('received message %s from %s',ba,ca);if(ba.substring(0,z.length)==z)ba=ba.substring(z.length);y.onMessage(ba,ca);},'entry','onMessage'));y.whenReady(aa);w=true;}};}());f.exports=u;}),null); __d('resolveWindow',[],(function a(b,c,d,e,f,g){function h(i){var j=window,k=i.split('.');try{for(var m=0;m\(\)\\@]/g,''):aa;}function n(){if(!window.chrome||!location.ancestorOrigins)return false;return !/\.facebook\.com$/.test(location.ancestorOrigins[1]);}function o(aa,ba){if(n())return '';if(window!=parent&&window.parent!=window.parent.parent)try{return parent.parent.XdArbiter.register(window,aa,ba);}catch(ca){j.error('Could not register with XdArbiter in parent.parent');}return '';}function p(aa,ba,ca){if(!aa&&n()){j.error('Can not use parent.parent to reach facebook.com');return;}var da=aa?i(aa):parent.parent;try{da.XdArbiter.handleMessage(ba,ca,window);}catch(ea){j.error('Could not reach facebook.com using %s',aa);}}function q(aa,ba){var ca=50,da=function fa(){if(!--ca)clearInterval(ea);try{aa();clearInterval(ea);}catch(ga){}},ea=setInterval(da,50);da();}function r(){var aa=/^https?:\/\/[^\/]*/.exec(u.origin)[0];q(function(){var ba=i(u.relation).frames['fb_xdm_frame_'+v];if(typeof ba.location.search==='undefined')throw new Error('Proxy not ready');if(location.search===ba.location.search){ba.proxyMessage(t,aa);}else j.error('Version mismatch: %s, %s',location.search,ba.location.search);},50);}function s(){var aa=/^(.*)\/(.*)$/.exec(u.origin)[1];if(window.__fbNative&&window.__fbNative.postMessage){window.__fbNative.postMessage(t,aa);}else{var ba=function ca(da){window.removeEventListener('fbNativeReady',ca);window.__fbNative.postMessage(t,aa);};window.addEventListener('fbNativeReady',ba);}}var t=/#(.*)|$/.exec(location.href)[1];if(window==top)location.hash='';if(!t){j.error('xd_arbiter.php loaded without a valid hash, referrer: %s',document.referrer);return;}var u=h.decode(t,true),v=location.protocol.replace(':','');if(window.name.substring(0,6)==='blank_'){parent.frames[u.forIframe].require('Arbiter').inform('blankIframeAck',window);return;}if(u.relation){if(window==top&&/FBAN\/\w+;/i.test(navigator.userAgent)){j.info('Native proxy');s();}else{j.info('Legacy proxy to %s',u.relation);r();}return;}if(v!=/https?/.exec(window.name)[0]){j.info('Redirection to %s detected, aborting',v);return;}var w=m(u.transport),x=m(u.channel),y=m(u.origin),z=m(u.xd_name);if(!/^https?/.test(y)){j.error('Invalid origin presented, aborting.');return;}k.create({root:document.body,transport:w,channel:x+'_'+v,flashUrl:l.Flash.path,onMessage:function aa(ba,ca){if(y!==ca){j.info('Received message from unknown origin %s, expected %s.',ca,y);return;}if(!/^FB_RPC:/.test(ba))ba=h.decode(ba);p(ba.relation,ba,y);},whenReady:function aa(ba){window.proxyMessage=function(fa,ga){if(ga===y){ba.send(fa,y,parent,x);}else j.error('Failed proxying to %s, expected %s',ga,y);};var ca=null,da={xd_action:'proxy_ready',logged_in:/\bc_user=/.test(document.cookie),data:ca},ea=o(z,y);if(ea)da.registered=ea;ba.send(h.encode(da),y,parent,x);}});})();}),null);__d("XDMConfig",[],{"Flash":{"path":"https:\/\/connect.facebook.net\/rsrc.php\/v2\/yW\/r\/yOZN1vHw3Z_.swf"}}); require('initXdArbiter'); SECURITY WARNING: Please treat the URL above as you would your password and do not share it with anyone. See the Facebook Help Center for more information.