/g,p=/\"/g,o=/\'/g;function n(b){if(typeof b=="undefined"||b===null||!b.toString){return""}if(b===false){return"0"}else{if(b===true){return"1"}}return b.toString().replace(s,"&").replace(p,""").replace(o,"'").replace(r,"<").replace(q,">")}u.exports=n}),null);__d("Flash",["DOMEventListener","DOMWrapper","QueryString","UserAgent_DEPRECATED","guid","htmlSpecialChars"],(function a(Q,P,O,N,M,L,K,J,I,H,G,F){var E={},D,C=J.getWindow().document;function B(c){var b=C.getElementById(c);if(b){b.parentNode.removeChild(b)}delete E[c]}function A(){for(var b in E){if(Object.prototype.hasOwnProperty.call(E,b)){B(b)}}}function z(b){return b.replace(/\d+/g,function(c){return"000".substring(c.length)+c})}function y(b){if(!D){if(H.ie()>=9){K.add(window,"unload",A)}D=true}E[b]=b}var x={embed:function w(i,h,g,f){var e=G();i=F(i).replace(/&/g,"&");g=babelHelpers["extends"]({allowscriptaccess:"always",flashvars:f,movie:i},g);if(typeof g.flashvars=="object"){g.flashvars=I.encode(g.flashvars)}var d=[];for(var c in g){if(Object.prototype.hasOwnProperty.call(g,c)&&g[c]){d.push('')}}var b=h.appendChild(C.createElement("span")),k="";b.innerHTML=k;var j=b.firstChild;y(e);return j},remove:B,getVersion:function w(){var d="Shockwave Flash",c="application/x-shockwave-flash",g="ShockwaveFlash.ShockwaveFlash",e;if(navigator.plugins&&typeof navigator.plugins[d]=="object"){var b=navigator.plugins[d].description;if(b&&navigator.mimeTypes&&navigator.mimeTypes[c]&&navigator.mimeTypes[c].enabledPlugin){e=b.match(/\d+/g)}}if(!e){try{e=new ActiveXObject(g).GetVariable("$version").match(/(\d+),(\d+),(\d+),(\d+)/);e=Array.prototype.slice.call(e,1)}catch(f){}}return e},getVersionString:function w(){var b=x.getVersion();return b?b.join("."):""},checkMinVersion:function w(c){var b=x.getVersion();if(!b){return false}return z(b.join("."))>=z(c)},isAvailable:function w(){return !!x.getVersion()}};M.exports=x}),null);__d("dotAccess",[],(function a(i,o,n,m,l,k){function j(f,e,d){var c=e.split(".");do{var b=c.shift();f=f[b]||d&&(f[b]={})}while(c.length&&f);return f}l.exports=j}),null);__d("GlobalCallback",["DOMWrapper","dotAccess","guid","wrapFunction"],(function a(C,B,A,z,y,x,w,v,u,t){var s,r,q={setPrefix:function p(b){s=v(w.getWindow(),b,true);r=b},create:function p(d,c){if(!s){this.setPrefix("__globalCallbacks")}var b=u();s[b]=t(d,"entry",c||"GlobalCallback");return r+"."+b},remove:function p(c){var b=c.substring(r.length+1);delete s[b]}};y.exports=q}),null);__d("XDM",["DOMEventListener","DOMWrapper","emptyFunction","Flash","GlobalCallback","guid","Log","UserAgent_DEPRECATED","wrapFunction"],(function a(S,R,Q,P,O,N,M,L,K,J,I,H,G,F,E){var D={},C={transports:[]},B=L.getWindow();function A(d){var c={},g=d.length,e=C.transports;while(g--){c[d[g]]=1}g=e.length;while(g--){var b=e[g],f=D[b];if(!c[b]&&f.isAvailable()){return b}}}var z={register:function x(b,c){G.debug("Registering %s as XDM provider",b);C.transports.push(b);D[b]=c},create:function x(b){if(!b.whenReady&&!b.onMessage){G.error("An instance without whenReady or onMessage makes no sense");throw new Error("An instance without whenReady or onMessage makes no sense")}if(!b.channel){G.warn("Missing channel name, selecting at random");b.channel=H()}if(!b.whenReady){b.whenReady=K}if(!b.onMessage){b.onMessage=K}var d=b.transport||A(b.blacklist||[]),c=D[d];if(c&&c.isAvailable()){G.debug("%s is available",d);c.init(b);return d}}};z.register("flash",function(){var d=false,c,g=false,e=15000,b;return{isAvailable:function f(){return J.checkMinVersion("8.0.24")},init:function f(l){G.debug("init flash: "+l.channel);var k={send:function h(p,o,n,m){G.debug("sending to: %s (%s)",o,m);c.postMessage(p,o,m)}};if(d){l.whenReady(k);return}var j=l.root.appendChild(B.document.createElement("div")),i=I.create(function(){I.remove(i);clearTimeout(b);G.info("xdm.swf called the callback");var m=I.create(function(o,n){o=decodeURIComponent(o);n=decodeURIComponent(n);G.debug("received message %s from %s",o,n);l.onMessage(o,n)},"xdm.swf:onMessage");c.init(l.channel,m);l.whenReady(k)},"xdm.swf:load");c=J.embed(l.flashUrl,j,null,{protocol:location.protocol.replace(":",""),host:location.host,callback:i,log:g});b=setTimeout(function(){G.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",e)},e);d=true}}}());var y=/\.facebook\.com(\/|$)/;z.register("postmessage",function(){var c=false;return{isAvailable:function b(){return !!B.postMessage},init:function b(g){G.debug("init postMessage: "+g.channel);var e="_FB_"+g.channel,d={send:function f(k,j,i,h){if(B===i){G.error("Invalid windowref, equal to window (self)");throw new Error()}G.debug("sending to: %s (%s)",j,h);var l=function l(){i.postMessage("_FB_"+h+k,j)};if(F.ie()==8||F.ieCompatibilityMode()){setTimeout(l,0)}else{l()}}};if(c){g.whenReady(d);return}M.add(B,"message",E(function(h){var j=h.data,i=h.origin||"native";if(!/^(https?:\/\/|native$)/.test(i)){G.debug("Received message from invalid origin type: %s",i);return}if(i!=="native"&&!(y.test(location.hostname)||y.test(h.origin))){return}if(typeof j!="string"){G.warn("Received message of type %s from %s, expected a string",typeof j,i);return}G.debug("received message %s from %s",j,i);if(j.substring(0,e.length)==e){j=j.substring(e.length)}g.onMessage(j,i)},"entry","onMessage"));g.whenReady(d);c=true}}}());O.exports=z}),null);__d("resolveWindow",[],(function a(i,o,n,m,l,k){function j(f){var e=window,d=f.split(".");try{for(var c=0;c\(\)\\@]/g,""):n}function I(){if(!window.chrome||!location.ancestorOrigins){return false}return !/\.facebook\.com$/.test(location.ancestorOrigins[1])}function H(o,n){if(I()){return""}if(window!=parent&&window.parent!=window.parent.parent){try{return parent.parent.XdArbiter.register(window,o,n)}catch(p){M.error("Could not register with XdArbiter in parent.parent")}}return""}function G(n,r,q){if(!n&&I()){M.error("Can not use parent.parent to reach facebook.com");return}var p=n?N(n):parent.parent;try{p.XdArbiter.handleMessage(r,q,window)}catch(o){M.error("Could not reach facebook.com using %s",n)}}function E(n,r){var q=50,p=function p(){if(!--q){clearInterval(o)}try{n();clearInterval(o)}catch(s){}},o=setInterval(p,50);p()}function D(){var n=/^https?:\/\/[^\/]*/.exec(g.origin)[0];E(function(){var o=N(g.relation).frames["fb_xdm_frame_"+f];if(typeof o.location.search==="undefined"){throw new Error("Proxy not ready")}if(location.search===o.location.search){o.proxyMessage(B,n)}else{M.error("Version mismatch: %s, %s",location.search,o.location.search)}},50)}function C(){var n=/^(.*)\/(.*)$/.exec(g.origin)[1];if(window.__fbNative&&window.__fbNative.postMessage){window.__fbNative.postMessage(B,n)}else{var o=function o(p){window.removeEventListener("fbNativeReady",o);window.__fbNative.postMessage(B,n)};window.addEventListener("fbNativeReady",o)}}var B=/#(.*)|$/.exec(location.href)[1];if(window==top){location.hash=""}if(!B){M.error("xd_arbiter.php loaded without a valid hash, referrer: %s",document.referrer);return}var g=O.decode(B,true),f=location.protocol.replace(":","");if(window.name.substring(0,6)==="blank_"){parent.frames[g.forIframe].require("Arbiter").inform("blankIframeAck",window);return}if(g.relation){if(window==top&&/FBAN\/\w+;/i.test(navigator.userAgent)){M.info("Native proxy");C()}else{M.info("Legacy proxy to %s",g.relation);D()}return}if(f!=/https?/.exec(window.name)[0]){M.info("Redirection to %s detected, aborting",f);return}var e=J(g.transport),d=J(g.channel),c=J(g.origin),b=J(g.xd_name);if(!/^https?/.test(c)){M.error("Invalid origin presented, aborting.");return}L.create({root:document.body,transport:e,channel:d+"_"+f,flashUrl:K.Flash.path,onMessage:function F(o,n){if(c!==n){M.info("Received message from unknown origin %s, expected %s.",n,c);return}if(!/^FB_RPC:/.test(o)){o=O.decode(o)}G(o.relation,o,c)},whenReady:function F(q){window.proxyMessage=function(s,r){if(r===c){q.send(s,c,parent,d)}else{M.error("Failed proxying to %s, expected %s",r,c)}};var p=null,o={xd_action:"proxy_ready",logged_in:/\bc_user=/.test(document.cookie),data:p},n=H(b,c);if(n){o.registered=n}q.send(O.encode(o),c,parent,d)}})})()}),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.