PageSourceSearch

https://www.globallimos.com/public/review/js/sdk.js

js globallimos.com collected 2026-10-05 17:37:30 UTC 180,446 bytes, 1 lines download raw bytes

1try{window.FB||function(window,fb_fif_window){var apply=Function.prototype.apply;function bindContext(e,t){return function(){return apply.call(e,t,arguments)}}for(var global={__type:"JS_SDK_SANDBOX",window:window,document:window.document},sandboxWhitelist=["setTimeout","setInterval","clearTimeout","clearInterval"],i=0;i<sandboxWhitelist.length;i++)global[sandboxWhitelist[i]]=bindContext(window[sandboxWhitelist[i]],window);(function(){var self=window,__DEV__=0;function emptyFunction(){}var __transform_includes={},__annotator,__bodyWrapper,__w,__t,undefined,a,d,f;with(this){var require,__d;a={},d=function(e,t,n){return e},f=function(e,t,n){return n.apply(e,t)},void 0===__transform_includes?(__annotator=d,__bodyWrapper=f):(__annotator=function(e,t,n){if("sourcemeta"in __transform_includes&&(e.__SMmeta=t),"typechecks"in __transform_includes){var i=function(e,t){return function(e,t){if(!e&&!t)return null;var n={};return void 0!==e&&(n.type=e),void 0!==t&&(n.signature=t),n}(e&&/^[A-Z]/.test(e)?e:undefined,t&&(t.params&&t.params.length||t.returns)?"function("+(t.params?t.params.map(function(e){return/\?/.test(e)?"?"+e.replace("?",""):e}).join(","):"")+")"+(t.returns?":"+t.returns:""):undefined)}(t?t.name:undefined,n);i&&__w(e,i)}return e},"codeusage"in __transform_includes?(__annotator=d,(__bodyWrapper=function(e,t,n,i,r){if(r){r.callId||(r.callId=r.module+":"+(r.line||0)+":"+(r.column||0));var o=r.callId;a[o]=(a[o]||0)+1}return n.apply(e,t)}).getCodeUsage=function(){return a},__bodyWrapper.clearCodeUsage=function(){a={}}):__bodyWrapper="typechecks"in __transform_includes?function(e,t,n,i){i&&i.params&&__t.apply(e,i.params);var r=n.apply(e,t);return i&&i.returns&&__t([r,i.returns]),r}:f),__t=function(e){return e[0]},__w=function(e){return e},function(e){var t={},n={},i=["global","require","requireDynamic","requireLazy","module","exports"];(require=function(i,r){if(n.hasOwnProperty(i))return n[i];if(!t.hasOwnProperty(i)){if(r)return null;throw new Error("Module "+i+" has not been defined")}for(var o,s=t[i],a=s.deps,l=s.factory.length,d=[],u=0;u<l;u++){switch(a[u]){case"module":o=s;break;case"exports":o=s.exports;break;case"global":o=e;break;case"require":o=require;break;case"requireDynamic":case"requireLazy":o=null;break;default:o=require.call(null,a[u])}d.push(o)}return s.factory.apply(e,d),n[i]=s.exports,s.exports}).__markCompiled=function(){},__d=function(e,r,o,s){"function"==typeof o?(t[e]={factory:o,deps:i.concat(r),exports:{}},3===s&&require.call(null,e)):n[e]=o}}(this),__d("ES5Array",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s={isArray:function(e){return"[object Array]"==Object.prototype.toString.call(e)}};r.exports=s},null),__d("ES5ArrayPrototype",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s={map:function(e,t){if("function"!=typeof e)throw new TypeError;var n,i=this.length,r=new Array(i);for(n=0;n<i;++n)n in this&&(r[n]=e.call(t,this[n],n,this));return r},forEach:function(e,t){s.map.call(this,e,t)},filter:function(e,t){if("function"!=typeof e)throw new TypeError;var n,i,r=this.length,o=[];for(n=0;n<r;++n)n in this&&(i=this[n],e.call(t,i,n,this)&&o.push(i));return o},every:function(e,t){if("function"!=typeof e)throw new TypeError;for(var n=new Object(this),i=n.length,r=0;r<i;r++)if(r in n&&!e.call(t,n[r],r,n))return!1;return!0},some:function(e,t){if("function"!=typeof e)throw new TypeError;for(var n=new Object(this),i=n.length,r=0;r<i;r++)if(r in n&&e.call(t,n[r],r,n))return!0;return!1},indexOf:function(e,t){var n=this.length;for((t|=0)<0&&(t+=n);t<n;t++)if(t in this&&this[t]===e)return t;return-1}};r.exports=s},null),__d("ES5Date",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s={now:function(){return(new Date).getTime()}};r.exports=s},null),__d("ES5FunctionPrototype",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s={bind:function(e){if("function"!=typeof this)throw new TypeError("Bind must be called on a function");var t=this,n=Array.prototype.slice.call(arguments,1);function i(){return t.apply(e,n.concat(Array.prototype.slice.call(arguments)))}return i.displayName="bound:"+(t.displayName||t.name||"(?)"),i.toString=function(){return"bound: "+t},i}};r.exports=s},null),__d("ie8DontEnum",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();
1var s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","prototypeIsEnumerable","constructor"],a={}.hasOwnProperty,l=function(){};({toString:!0}).propertyIsEnumerable("toString")&&(l=function(e,t){for(var n=0;n<s.length;n++){var i=s[n];a.call(e,i)&&t(i)}}),r.exports=l},null),__d("ES5Object",["ie8DontEnum"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled();var a={}.hasOwnProperty,l={};function d(){}l.create=function(e){var t=typeof e;if("object"!=t&&"function"!=t)throw new TypeError("Object prototype may only be a Object or null");return d.prototype=e,new d},l.keys=function(e){var t=typeof e;if("object"!=t&&"function"!=t||null===e)throw new TypeError("Object.keys called on non-object");var n=[];for(var i in e)a.call(e,i)&&n.push(i);return s(e,function(e){return n.push(e)}),n},r.exports=l},null),__d("ES5StringPrototype",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s={trim:function(){if(null==this)throw new TypeError("String.prototype.trim called on null or undefined");return String.prototype.replace.call(this,/^\s+|\s+$/g,"")},startsWith:function(e){var t=String(this);if(null==this)throw new TypeError("String.prototype.startsWith called on null or undefined");var n=arguments.length>1?Number(arguments[1]):0;isNaN(n)&&(n=0);var i=Math.min(Math.max(n,0),t.length);return t.indexOf(String(e),n)==i},endsWith:function(e){var t=String(this);if(null==this)throw new TypeError("String.prototype.endsWith called on null or undefined");var n=t.length,i=String(e),r=arguments.length>1?Number(arguments[1]):n;isNaN(r)&&(r=0);var o=Math.min(Math.max(r,0),n)-i.length;return!(o<0)&&t.lastIndexOf(i,o)==o},includes:function(e){if(null==this)throw new TypeError("String.prototype.contains called on null or undefined");var t=String(this),n=arguments.length>1?Number(arguments[1]):0;return isNaN(n)&&(n=0),-1!=t.indexOf(String(e),n)}};s.contains=s.includes,s.repeat=function(e){if(null==this)throw new TypeError("String.prototype.repeat called on null or undefined");var t=String(this),n=e?Number(e):0;if(isNaN(n)&&(n=0),n<0||n===1/0)throw RangeError();if(1===n)return t;if(0===n)return"";for(var i="";n;)1&n&&(i+=t),(n>>=1)&&(t+=t);return i},r.exports=s},null),__d("ES6Array",[],function(e,t,n,i,r,o){"use strict";t.__markCompiled&&t.__markCompiled();var s={from:function(e){if(null==e)throw new TypeError("Object is null or undefined");var t=arguments[1],n=arguments[2],i=this,r=Object(e),o="function"==typeof Symbol&&"function"==typeof Symbol?Symbol.iterator:"@@iterator",s="function"==typeof t,a=0,l=void 0,d=void 0;if("function"==typeof r[o]){l="function"==typeof i?new i:[];for(var u=r[o](),c=void 0;!(c=u.next()).done;)d=c.value,s&&(d=t.call(n,d,a)),l[a]=d,a+=1;return l.length=a,l}var p=r.length;for((isNaN(p)||p<0)&&(p=0),l="function"==typeof i?new i(p):new Array(p);a<p;)d=r[a],s&&(d=t.call(n,d,a)),l[a]=d,a+=1;return l.length=a,l}};r.exports=s},null),__d("ES6ArrayPrototype",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s={find:function(e,t){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");var n=s.findIndex.call(this,e,t);return-1===n?void 0:this[n]},findIndex:function(e,t){if(null==this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var n=Object(this),i=n.length>>>0,r=0;r<i;r++)if(e.call(t,n[r],r,n))return r;return-1},fill:function(e){if(null==this)throw new TypeError("Array.prototype.fill called on null or undefined");for(var t=Object(this),n=t.length>>>0,i=arguments[1]>>0,r=i<0?Math.max(n+i,0):Math.min(i,n),o=arguments[2],s=o===undefined?n:o>>0,a=s<0?Math.max(n+s,0):Math.min(s,n);r<a;)t[r]=e,r++;return t}};r.exports=s},null),__d("ES6DatePrototype",[],function(e,t,n,i,r,o){function s(e){return(e<10?"0":"")+e}t.__markCompiled&&t.__markCompiled();var a={toISOString:function(){if(!isFinite(this))throw new Error("Invalid time value");var e=this.getUTCFullYear();return(e=(e<0?"-":e>9999?"+":"")+("00000"+Math.abs(e)).slice(0<=e&&e<=9999?-4:-6))+"-"+s(this.getUTCMonth()+1)+"-"+s(this.getUTCDate())+"T"+s(this.getUTCHours())+":"+s(this.getUTCMinutes())+":"+s(this.getUTCSeconds())+"."+(this.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}};
1r.exports=a},null),__d("ES6Number",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s=Math.pow(2,-52),a=Math.pow(2,53)-1,l=-1*a,d={isFinite:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return"number"==typeof e&&isFinite(e)}),isNaN:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return"number"==typeof e&&isNaN(e)}),isInteger:function(e){return this.isFinite(e)&&Math.floor(e)===e},isSafeInteger:function(e){return this.isFinite(e)&&e>=this.MIN_SAFE_INTEGER&&e<=this.MAX_SAFE_INTEGER&&Math.floor(e)===e},EPSILON:s,MAX_SAFE_INTEGER:a,MIN_SAFE_INTEGER:l};r.exports=d},null),__d("ES6Object",["ie8DontEnum"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled();var a={}.hasOwnProperty,l={assign:function(e){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");e=Object(e);for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0;r<n.length;r++){var o=n[r];if(null!=o){for(var l in o=Object(o))a.call(o,l)&&(e[l]=o[l]);s(o,function(t){return e[t]=o[t]})}}return e},is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}};r.exports=l},null),__d("ES7Object",["ie8DontEnum"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled();var a={}.hasOwnProperty,l={entries:function(e){if(null==e)throw new TypeError("Object.entries called on non-object");var t=[];for(var n in e)a.call(e,n)&&t.push([n,e[n]]);return s(e,function(n){return t.push([n,e[n]])}),t},values:function(e){if(null==e)throw new TypeError("Object.values called on non-object");var t=[];for(var n in e)a.call(e,n)&&t.push(e[n]);return s(e,function(n){return t.push(e[n])}),t}};r.exports=l},null),__d("ES7StringPrototype",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s={trimLeft:function(){return this.replace(/^\s+/,"")},trimRight:function(){return this.replace(/\s+$/,"")}};r.exports=s},null),__d("JSON3",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled(),function(){var e,t,n,i,o,s,a,l,d,u,c,p,f,h,m,_,g,b,v,y,k,w={}.toString,C=r.exports={},S='{"A":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}',E=new Date(-0xc782b5b800cec);try{E=-109252==E.getUTCFullYear()&&0===E.getUTCMonth()&&1==E.getUTCDate()&&10==E.getUTCHours()&&37==E.getUTCMinutes()&&6==E.getUTCSeconds()&&708==E.getUTCMilliseconds()}catch(e){}if(E||(v=Math.floor,y=[0,31,59,90,120,151,181,212,243,273,304,334],k=function(e,t){return y[t]+365*(e-1970)+v((e-1969+(t=+(t>1)))/4)-v((e-1901+t)/100)+v((e-1601+t)/400)}),"object"==typeof JSON&&JSON&&(C.stringify=JSON.stringify,C.parse=JSON.parse),i="function"==typeof C.stringify&&!k){(E=function(){return 1}).toJSON=E;try{i="0"===C.stringify(0)&&"0"===C.stringify(new Number)&&'""'==C.stringify(new String)&&C.stringify(w)===n&&C.stringify(n)===n&&C.stringify()===n&&"1"===C.stringify(E)&&"[1]"==C.stringify([E])&&"[null]"==C.stringify([n])&&"null"==C.stringify(null)&&"[null,null,null]"==C.stringify([n,w,null])&&C.stringify({result:[E,!0,!1,null,"\0\b\n\f\r\t"]})==S&&"1"===C.stringify(null,E)&&"[\n 1,\n 2\n]"==C.stringify([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==C.stringify(new Date(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==C.stringify(new Date(864e13))&&'"-000001-01-01T00:00:00.000Z"'==C.stringify(new Date(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==C.stringify(new Date(-1))}catch(e){i=!1}}if("function"==typeof C.parse)try{if(0===C.parse("0")&&!C.parse(!1)&&(d=5==(E=C.parse(S)).A.length&&1==E.A[0])){try{d=!C.parse('"\t"')}catch(e){}if(d)try{d=1!=C.parse("01")}catch(e){}}}catch(e){d=!1}E=S=null,i&&d||((e={}.hasOwnProperty)||(e=function(t){var n,i={};return(i.__proto__=null,i.__proto__={toString:1},i).toString!=w?e=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);return this.__proto__=t,n}:(n=i.constructor,e=function(e){var t=(this.constructor||n).prototype;return e in this&&!(e in t&&this[e]===t[e])}),i=null,e.call(this,t)}),t=function(t,n){var i,r,o,s,a=0;for(o in(i=function(){this.valueOf=0}).prototype.valueOf=0,r=new i)e.call(r,o)&&a++;return i=r=null,a?s=2==a?function(t,n){var i,r={},o="[object Function]"==w.call(t);for(i in t)o&&"prototype"==i||e.call(r,i)||!(r[i]=1)||!e.call(t,i)||n(i)}:function(t,n){var i,r,o="[object Function]"==w.call(t);for(i in t)o&&"prototype"==i||!e.call(t,i)||(r="constructor"===i)||n(i);(r||e.call(t,i="constructor"))&&n(i)}
1:(r=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],s=function(t,n){var i,o,s="[object Function]"==w.call(t);for(i in t)s&&"prototype"==i||!e.call(t,i)||n(i);for(o=r.length;i=r[--o];e.call(t,i)&&n(i));}),s(t,n)},i||(o={"\\":"\\\\",'"':'\\"',"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},s=function(e,t){return("000000"+(t||0)).slice(-e)},a=function(e){for(var t,n='"',i=0;t=e.charAt(i);i++)n+='\\"\b\f\n\r\t'.indexOf(t)>-1?o[t]:t<" "?"\\u00"+s(2,t.charCodeAt(0).toString(16)):t;return n+'"'},l=function(i,r,o,d,u,c,p){var f,h,m,_,g,b,y,C,S,E,x,I,A,R,T,O=r[i];if("object"==typeof O&&O)if("[object Date]"!=(f=w.call(O))||e.call(O,"toJSON"))"function"==typeof O.toJSON&&("[object Number]"!=f&&"[object String]"!=f&&"[object Array]"!=f||e.call(O,"toJSON"))&&(O=O.toJSON(i));else if(O>-1/0&&O<1/0){if(k){for(_=v(O/864e5),h=v(_/365.2425)+1970-1;k(h+1,0)<=_;h++);for(m=v((_-k(h,0))/30.42);k(h,m+1)<=_;m++);_=1+_-k(h,m),b=v((g=(O%864e5+864e5)%864e5)/36e5)%24,y=v(g/6e4)%60,C=v(g/1e3)%60,S=g%1e3}else h=O.getUTCFullYear(),m=O.getUTCMonth(),_=O.getUTCDate(),b=O.getUTCHours(),y=O.getUTCMinutes(),C=O.getUTCSeconds(),S=O.getUTCMilliseconds();O=(h<=0||h>=1e4?(h<0?"-":"+")+s(6,h<0?-h:h):s(4,h))+"-"+s(2,m+1)+"-"+s(2,_)+"T"+s(2,b)+":"+s(2,y)+":"+s(2,C)+"."+s(3,S)+"Z"}else O=null;if(o&&(O=o.call(r,i,O)),null===O)return"null";if("[object Boolean]"==(f=w.call(O)))return""+O;if("[object Number]"==f)return O>-1/0&&O<1/0?""+O:"null";if("[object String]"==f)return a(O);if("object"==typeof O){for(A=p.length;A--;)if(p[A]===O)throw TypeError();if(p.push(O),E=[],R=c,c+=u,"[object Array]"==f){for(I=0,A=O.length;I<A;T||(T=!0),I++)x=l(I,O,o,d,u,c,p),E.push(x===n?"null":x);return T?u?"[\n"+c+E.join(",\n"+c)+"\n"+R+"]":"["+E.join(",")+"]":"[]"}return t(d||O,function(e){var t=l(e,O,o,d,u,c,p);t!==n&&E.push(a(e)+":"+(u?" ":"")+t),T||(T=!0)}),T?u?"{\n"+c+E.join(",\n"+c)+"\n"+R+"}":"{"+E.join(",")+"}":"{}"}},C.stringify=function(e,t,n){var i,r,o,s,a,d;if("function"==typeof t||"object"==typeof t&&t)if("[object Function]"==w.call(t))r=t;else if("[object Array]"==w.call(t))for(o={},s=0,a=t.length;s<a;d=t[s++],("[object String]"==w.call(d)||"[object Number]"==w.call(d))&&(o[d]=1));if(n)if("[object Number]"==w.call(n)){if((n-=n%1)>0)for(i="",n>10&&(n=10);i.length<n;i+=" ");}else"[object String]"==w.call(n)&&(i=n.length<=10?n:n.slice(0,10));return l("",((d={})[""]=e,d),r,o,i,"",[])}),d||(u=String.fromCharCode,c={"\\":"\\",'"':'"',"/":"/",b:"\b",t:"\t",n:"\n",f:"\f",r:"\r"},p=function(){throw g=b=null,SyntaxError()},f=function(){for(var e,t,n,i,r,o=b,s=o.length;g<s;)if(e=o.charAt(g),"\t\r\n ".indexOf(e)>-1)g++;else{if("{}[]:,".indexOf(e)>-1)return g++,e;if('"'==e){for(t="@",g++;g<s;)if((e=o.charAt(g))<" ")p();else if("\\"==e)if(e=o.charAt(++g),'\\"/btnfr'.indexOf(e)>-1)t+=c[e],g++;else if("u"==e){for(n=++g,i=g+4;g<i;g++)(e=o.charAt(g))>="0"&&e<="9"||e>="a"&&e<="f"||e>="A"&&e<="F"||p();t+=u("0x"+o.slice(n,g))}else p();else{if('"'==e)break;t+=e,g++}if('"'==o.charAt(g))return g++,t;p()}else{if(n=g,"-"==e&&(r=!0,e=o.charAt(++g)),e>="0"&&e<="9"){for("0"==e&&((e=o.charAt(g+1))>="0"&&e<="9")&&p(),r=!1;g<s&&((e=o.charAt(g))>="0"&&e<="9");g++);if("."==o.charAt(g)){for(i=++g;i<s&&((e=o.charAt(i))>="0"&&e<="9");i++);i==g&&p(),g=i}if("e"==(e=o.charAt(g))||"E"==e){for("+"!=(e=o.charAt(++g))&&"-"!=e||g++,i=g;i<s&&((e=o.charAt(i))>="0"&&e<="9");i++);i==g&&p(),g=i}return+o.slice(n,g)}if(r&&p(),"true"==o.slice(g,g+4))return g+=4,!0;if("false"==o.slice(g,g+5))return g+=5,!1;if("null"==o.slice(g,g+4))return g+=4,null;p()}}return"$"},h=function(e){var t,n;if("$"==e&&p(),"string"==typeof e){if("@"==e.charAt(0))return e.slice(1);if("["==e){for(t=[];"]"!=(e=f());n||(n=!0))n&&(","==e?"]"==(e=f())&&p():p()),","==e&&p(),t.push(h(e));return t}if("{"==e){for(t={};"}"!=(e=f());n||(n=!0))n&&(","==e?"}"==(e=f())&&p():p()),","!=e&&"string"==typeof e&&"@"==e.charAt(0)&&":"==f()||p(),t[e.slice(1)]=h(f());return t}p()}return e},_=function(e,t,i){var r=m(e,t,i);r===n?delete e[t]:e[t]=r},m=function(e,n,i){var r,o=e[n];if("object"==typeof o&&o)if("[object Array]"==w.call(o))for(r=o.length;r--;)_(o,r,i);else t(o,function(e){_(o,e,i)});return i.call(e,n,o)},C.parse=function(e,t){g=0,b=e;var n=h(f());return"$"!=f()&&p(),g=b=null,t&&"[object Function]"==w.call(t)?m(((E={})[""]=n,E),"",t):n}))}.call(this)},null),__d("ES",["ES5ArrayPrototype","ES5FunctionPrototype","ES5StringPrototype","ES5Array","ES5Object","ES5Date","JSON3","ES6Array","ES6Object","ES6ArrayPrototype","ES6DatePrototype","ES6Number","ES7StringPrototype","ES7Object"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f,h,m,_,g,b,v){t.__markCompiled&&t.__markCompiled();var y={}.toString,k={"JSON.stringify":p.stringify,"JSON.parse":p.parse},w={Object:h,"Array.prototype":m,"Date.prototype":_,Number:g,Array:f},C={Object:v,"String.prototype":b};function S(e){for(var t in e)if(e.hasOwnProperty(t)){var n=e[t],i=t.split(".");if(2===i.length){var r=i[0],o=i[1];if(!(r&&o&&window[r]&&window[r][o])){var s=r?window[r]:"-",a=r&&window[r]&&o?window[r][o]:"-";throw new Error("Unexpected state (t11975770): "+r+", "+o+", "+s+", "+a+", "+t)}}var l=2===i.length?window[i[0]][i[1]]:window[t];for(var d in n)if(n.hasOwnProperty(d))if("function"==typeof n[d]){var u=l[d];k[t+"."+d]=u&&/\{\s+\[native code\]\s\}/.test(u)?u:n[d]}else k[t+"."+d]=n[d]}}S({"Array.prototype":s,"Function.prototype":a,"String.prototype":l,Object:u,Array:d,Date:c}),S(w),S(C),r.exports=function(e,t,n){var i=n?y.call(e).slice(8,-1)+".prototype":e,r=k[i+"."+t]||e[t];if("function"==typeof r){for(var o=arguments.length,s=Array(o>3?o-3:0),a=3;a<o;a++)s[a-3]=arguments[a];return r.apply(e,s)}if(r)return r;throw new Error("Polyfill "+i+" does not have implementation of "+t)}},null),__d("sdk.babelHelpers",["ES5FunctionPrototype","ES5Object","ES6Object"],function(e,t,n,i,r,o,s,a,l){t.__markCompiled&&t.__markCompiled();var d={},u=Object.prototype.hasOwnProperty;d.inherits=function(e,t){return l.assign(e,t),e.prototype=a.create(t&&t.prototype),e.prototype.constructor=e,e.__superConstructor__=t,t},d._extends=l.assign,d.extends=d._extends,d.objectWithoutProperties=function(e,t){var n={};for(var i in e)!u.call(e,i)||t.indexOf(i)>=0||(n[i]=e[i]);return n},d.taggedTemplateLiteralLoose=function(e,t){return e.raw=t,e},d.bind=s.bind,r.exports=d},null);var ES=require("ES"),babelHelpers=require("sdk.babelHelpers");__d("UrlMapConfig",[],{www:"www.facebook.com",m:"m.facebook.com",connect:"connect.facebook.net",business:"business.facebook.com",api_https:"api.facebook.com",api_read_https:"api-read.facebook.com",graph_https:"graph.facebook.com",an_https:"an.facebook.com",fbcdn_http:"static.xx.fbcdn.net",fbcdn_https:"static.xx.fbcdn.net",cdn_http:"staticxx.facebook.com",cdn_https:"staticxx.facebook.com"}),__d("JSSDKRuntimeConfig",[],{locale:"en_US",rtl:!1,revision:"2717633"}),__d("JSSDKConfig",[],{bustCache:!0,tagCountLogRate:.01,errorHandling:{rate:4},usePluginPipe:!0,features:{dialog_resize_refactor:!0,one_comment_controller:!0,allow_non_canvas_app_events:!1,event_subscriptions_log:{rate:.01,value:1e4},should_force_single_dialog_instance:!0,js_sdk_force_status_on_load:!0,js_sdk_mbasic_share_plugin_init:!0,kill_fragment:!0,xfbml_profile_pic_server:!0,error_handling:{rate:4},e2e_ping_tracking:{rate:1e-6},getloginstatus_tracking:{rate:.001},xd_timeout:{rate:4,value:3e4},use_bundle:!0,launch_payment_dialog_via_pac:{rate:100},plugin_tags_blacklist:["recommendations_bar","registration","activity","re
1commendations","facepile"],should_log_response_error:!0},api:{mode:"warn",whitelist:["AppEvents","AppEvents.EventNames","AppEvents.ParameterNames","AppEvents.activateApp","AppEvents.logEvent","AppEvents.logPageView","AppEvents.logPurchase","Canvas","Canvas.Prefetcher","Canvas.Prefetcher.addStaticResource","Canvas.Prefetcher.setCollectionMode","Canvas.getPageInfo","Canvas.hideFlashElement","Canvas.scrollTo","Canvas.setAutoGrow","Canvas.setDoneLoading","Canvas.setSize","Canvas.setUrlHandler","Canvas.showFlashElement","Canvas.startTimer","Canvas.stopTimer","Event","Event.subscribe","Event.unsubscribe","Music.flashCallback","Music.init","Music.send","Payment","Payment.cancelFlow","Payment.continueFlow","Payment.init","Payment.lockForProcessing","Payment.parse","Payment.setSize","Payment.unlockForProcessing","ThirdPartyProvider","ThirdPartyProvider.init","ThirdPartyProvider.sendData","UA","UA.nativeApp","XFBML","XFBML.RecommendationsBar","XFBML.RecommendationsBar.markRead","XFBML.parse","addFriend","api","getAccessToken","getAuthResponse","getLoginStatus","getUserID","init","login","logout","publish","share","ui"]},initSitevars:{enableMobileComments:1,iframePermissions:{read_stream:!1,manage_mailbox:!1,manage_friendlists:!1,read_mailbox:!1,publish_checkins:!0,status_update:!0,photo_upload:!0,video_upload:!0,sms:!1,create_event:!0,rsvp_event:!0,offline_access:!0,email:!0,xmpp_login:!1,create_note:!0,share_item:!0,export_stream:!1,publish_stream:!0,publish_likes:!0,ads_management:!1,contact_email:!0,access_private_data:!1,read_insights:!1,read_requests:!1,read_friendlists:!0,manage_pages:!1,physical_login:!1,manage_groups:!1,read_deals:!1}}}),__d("JSSDKXDConfig",[],{XdUrl:"/connect/xd_arbiter.php?version=42",XdBundleUrl:"/connect/xd_arbiter/r/fTmIQU3LxvB.js?version=42",Flash:{path:"https://connect.facebook.net/rsrc.php/v2/yW/r/yOZN1vHw3Z_.swf"},useCdn:!0}),__d("JSSDKCssConfig",[],{rules:'.fb_hidden{position:absolute;top:-10000px;z-index:10001}.fb_reposition{overflow:hidden;position:relative}.fb_invisible{display:none}.fb_reset{background:none;border:0;border-spacing:0;color:#000;cursor:auto;direction:ltr;font-family:"lucida grande", tahoma, verdana, arial, sans-serif;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal}.fb_reset>div{overflow:hidden}.fb_link img{border:none}@keyframes fb_transform{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.fb_animate{animation:fb_transform .3s forwards}\n.fb_dialog{background:rgba(82, 82, 82, .7);position:absolute;top:-10000px;z-index:10001}.fb_reset .fb_dialog_legacy{overflow:visible}.fb_dialog_advanced{padding:10px;-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}.fb_dialog_content{background:#fff;color:#333}.fb_dialog_close_icon{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;_background-image:url(https://static.xx.fbcdn.net/rsrc.php/v3/yL/r/s816eWC-2sl.gif);cursor:pointer;display:block;height:15px;position:absolute;right:18px;top:17px;width:15px}.fb_dialog_mobile .fb_dialog_close_icon{top:5px;left:5px;right:auto}.fb_dialog_padding{background-color:transparent;position:absolute;width:1px;z-index:-1}.fb_dialog_close_icon:hover{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent;_background-image:url(https://static.xx.fbcdn.net/rsrc.php/v3/yL/r/s816eWC-2sl.gif)}.fb_dialog_close_icon:active{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -30px transparent;_background-image:url(https://static.xx.fbcdn.net/rsrc.php/v3/yL/r/s816eWC-2sl.gif)}.fb_dialog_loader{background-color:#f6f7f9;border:1px solid #606060;font-size:24px;padding:20px}.fb_dialog_top_left,.fb_dialog_top_right,.fb_dialog_bottom_left,.fb_dialog_bottom_right{height:10px;width:10px;overflow:hidden;position:absolute}.fb_dialog_top_left{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/ye/r/8YeTNIlTZjm.png) no-repeat 0 0;left:-10px;top:-10px}.fb_dialog_top_right{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/ye/r/8YeTNIlTZjm.png) no-repeat 0 -10px;right:-10px;top:-10px}.fb_dialog_bottom_left{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/ye/r/8YeTNIlTZjm.png) no-repeat 0 -20px;bottom:-10px;left:-10px}.fb_dialog_bottom_right{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/ye/r/8YeTNIlTZjm.png) no-repeat 0 -30px;right:-10px;bottom:-10px}.fb_dialog_vert_left,.fb_dialog_vert_right,.fb_dialog_horiz_top,.fb_dialog_horiz_bottom{position:absolute;background:#525252;filter:alpha(opacity=70);opacity:.7}.fb_dialog_vert_left,.fb_dialog_vert_right{width:10px;height:100%}.fb_dialog_vert_left{margin-left:-10px}.fb_dialog_vert_right{right:0;margin-right:-10px}.fb_dialog_horiz_top,.fb_dialog_horiz_bottom{width:100%;height:10px}.fb_dialog_horiz_top{margin-top:-10px}.fb_dialog_horiz_bottom{bottom:0;margin-bottom:-10px}.fb_dialog_iframe{line-height:0}.fb_dialog_content .dialog_title{background:#6d84b4;border:1px solid #365899;color:#fff;font-size:14px;font-weight:bold;margin:0}.fb_dialog_content .dialog_title>span{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yd/r/Cou7n-nqK52.gif) no-repeat 5px 50%;float:left;padding:5px 0 7px 26px}body.fb_hidden{-webkit-transform:none;height:100%;margin:0;overflow:visible;position:absolute;top:-10000px;left:0;width:100%}.fb_dialog.fb_dialog_mobile.loading{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/ya/r/3rhSv5V8j3o.gif) white no-repeat 50% 50%;min-height:100%;min-width:100%;overflow:hidden;position:absolute;top:0;z-index:10001}.fb_dialog.fb_dialog_mobile.loading.centered{width:auto;height:auto;min-height:initial;min-width:initial;background:none}.fb_dialog.fb_dialog_mobile.loading.centered #fb_dialog_loader_spinner{width:100%}.fb_dialog.fb_dialog_mobile.loading.centered .fb_dialog_content{background:none}.loading.centered #fb_dialog_loader_close{color:#fff;display:block;padding-top:20px;clear:both;font-size:18px}#fb-root #fb_dialog_ipad_overlay{background:rgba(0, 0, 0, .45);position:absolute;bottom:0;left:0;right:0;top:0;width:100%;min-height:100%;z-index:10000}#fb-root #fb_dialog_ipad_overlay.hidden{display:none}.fb_dialog.fb_dialog_mobile.loading iframe{visibility:hidden}.fb_dialog_content .dialog_header{-webkit-box-shadow:white 0 1px 1px -1px inset;background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#738ABA), to(#2C4987));border-bottom:1px solid;border-color:#1d4088;
1color:#fff;font:14px Helvetica, sans-serif;font-weight:bold;text-overflow:ellipsis;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0;vertical-align:middle;white-space:nowrap}.fb_dialog_content .dialog_header table{-webkit-font-smoothing:subpixel-antialiased;height:43px;width:100%}.fb_dialog_content .dialog_header td.header_left{font-size:12px;padding-left:5px;vertical-align:middle;width:60px}.fb_dialog_content .dialog_header td.header_right{font-size:12px;padding-right:5px;vertical-align:middle;width:60px}.fb_dialog_content .touchable_button{background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#4966A6), color-stop(.5, #355492), to(#2A4887));border:1px solid #29487d;-webkit-background-clip:padding-box;-webkit-border-radius:3px;-webkit-box-shadow:rgba(0, 0, 0, .117188) 0 1px 1px inset, rgba(255, 255, 255, .167969) 0 1px 0;display:inline-block;margin-top:3px;max-width:85px;line-height:18px;padding:4px 12px;position:relative}.fb_dialog_content .dialog_header .touchable_button input{border:none;background:none;color:#fff;font:12px Helvetica, sans-serif;font-weight:bold;margin:2px -12px;padding:2px 6px 3px 6px;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}.fb_dialog_content .dialog_header .header_center{color:#fff;font-size:16px;font-weight:bold;line-height:18px;text-align:center;vertical-align:middle}.fb_dialog_content .dialog_content{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/y9/r/jKEcVPZFk-2.gif) no-repeat 50% 50%;border:1px solid #555;border-bottom:0;border-top:0;height:150px}.fb_dialog_content .dialog_footer{background:#f6f7f9;border:1px solid #555;border-top-color:#ccc;height:40px}#fb_dialog_loader_close{float:left}.fb_dialog.fb_dialog_mobile .fb_dialog_close_button{text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}.fb_dialog.fb_dialog_mobile .fb_dialog_close_icon{visibility:hidden}#fb_dialog_loader_spinner{animation:rotateSpinner 1.2s linear infinite;background-color:transparent;background-image:url(https://static.xx.fbcdn.net/rsrc.php/v3/yD/r/t-wz8gw1xG1.png);background-repeat:no-repeat;background-position:50% 50%;height:24px;width:24px}@keyframes rotateSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n.fb_iframe_widget{display:inline-block;position:relative}.fb_iframe_widget span{display:inline-block;position:relative;text-align:justify}.fb_iframe_widget iframe{position:absolute}.fb_iframe_widget_fluid_desktop,.fb_iframe_widget_fluid_desktop span,.fb_iframe_widget_fluid_desktop iframe{max-width:100%}.fb_iframe_widget_fluid_desktop iframe{min-width:220px;position:relative}.fb_iframe_widget_lift{z-index:1}.fb_hide_iframes iframe{position:relative;left:-10000px}.fb_iframe_widget_loader{position:relative;display:inline-block}.fb_iframe_widget_fluid{display:inline}.fb_iframe_widget_fluid span{width:100%}.fb_iframe_widget_loader iframe{min-height:32px;z-index:2;zoom:1}.fb_iframe_widget_loader .FB_Loader{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/y9/r/jKEcVPZFk-2.gif) no-repeat;height:32px;width:32px;margin-left:-16px;position:absolute;left:50%;z-index:4}',components:["css:fb.css.base","css:fb.css.dialog","css:fb.css.iframewidget"]}),__d("ApiClientConfig",[],{FlashRequest:{swfUrl:"https://connect.facebook.net/rsrc.php/v2/yd/r/mxzow1Sdmxr.swf"}}),__d("JSSDKCanvasPrefetcherConfig",[],{blacklist:[0x83d70a64a992,768691303149786],sampleRate:500}),__d("DOMWrapper",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s,a,l={setRoot:function(e){s=e},getRoot:function(){return s||document.body},setWindow:function(e){a=e},getWindow:function(){return a||self}};r.exports=l},null),__d("dotAccess",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled(),r.exports=function(e,t,n){var i=t.split(".");do{var r=i.shift();e=e[r]||n&&(e[r]={})}while(i.length&&e);return e}},null),__d("guid",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled(),r.exports=function(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}},null),__d("wrapFunction",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s={},a=function(e,t,n){var i=t||"default";return function(){return(i in s?s[i](e,n):e).apply(this,arguments)}};a.setWrapper=function(e){var t=arguments.length<=1||arguments[1]===undefined?"default":arguments[1];s[t]=e},r.exports=a},null),__d("GlobalCallback",["DOMWrapper","dotAccess","guid","wrapFunction"],function(e,t,n,i,r,o,s,a,l,d){t.__markCompiled&&t.__markCompiled();var u,c,p={setPrefix:function(e){u=a(s.getWindow(),e,!0),c=e},create:function(e,t){u||this.setPrefix("__globalCallbacks");var n=l();
1return u[n]=d(e,"entry",t||"GlobalCallback"),c+"."+n},remove:function(e){var t=e.substring(c.length+1);delete u[t]}};r.exports=p},null),__d("sprintf",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled(),r.exports=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0;return e.replace(/%s/g,function(e){return n[r++]})}},null),__d("Log",["sprintf"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled();var a={DEBUG:3,INFO:2,WARNING:1,ERROR:0};function l(e,t){var n=Array.prototype.slice.call(arguments,2),i=s.apply(null,n),r=window.console;r&&d.level>=t&&r[e in r?e:"log"](i)}var d={level:-1,Level:a,debug:ES(l,"bind",!0,null,"debug",a.DEBUG),info:ES(l,"bind",!0,null,"info",a.INFO),warn:ES(l,"bind",!0,null,"warn",a.WARNING),error:ES(l,"bind",!0,null,"error",a.ERROR)};r.exports=d},null),__d("ObservableMixin",[],function(e,t,n,i,r,o){function s(){this.__observableEvents={}}t.__markCompiled&&t.__markCompiled(),s.prototype={inform:function(e){for(var t=Array.prototype.slice.call(arguments,1),n=Array.prototype.slice.call(this.getSubscribers(e)),i=0;i<n.length;i++)if(null!==n[i])try{n[i].apply(this,t)}catch(e){setTimeout(function(){throw e},0)}return this},getSubscribers:function(e){return this.__observableEvents[e]||(this.__observableEvents[e]=[])},clearSubscribers:function(e){return e&&(this.__observableEvents[e]=[]),this},clearAllSubscribers:function(){return this.__observableEvents={},this},subscribe:function(e,t){return this.getSubscribers(e).push(t),this},unsubscribe:function(e,t){for(var n=this.getSubscribers(e),i=0;i<n.length;i++)if(n[i]===t){n.splice(i,1);break}return this},monitor:function(e,t){if(!t()){var n=ES(function(i){t.apply(t,arguments)&&this.unsubscribe(e,n)},"bind",!0,this);this.subscribe(e,n)}return this}},r.exports=s},null),__d("UrlMap",["UrlMapConfig"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled();var a={resolve:function(e,t){var n=void 0===t?location.protocol.replace(":",""):t?"https":"http";return e in s?n+"://"+s[e]:void 0===t&&e+"_"+n in s?n+"://"+s[e+"_"+n]:!0!==t&&e+"_http"in s?"http://"+s[e+"_http"]:!1!==t&&e+"_https"in s?"https://"+s[e+"_https"]:void 0}};r.exports=a},null),__d("QueryString",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s={encode:function(e){var t=[];return ES(ES("Object","keys",!1,e).sort(),"forEach",!0,function(n){var i=e[n];void 0!==i&&(null!==i?t.push(encodeURIComponent(n)+"="+encodeURIComponent(i)):t.push(n))}),t.join("&")},decode:function(e,t){var n={};if(""===e)return n;for(var i=e.split("&"),r=0;r<i.length;r++){var o=i[r].split("=",2),s=decodeURIComponent(o[0]);if(t&&n.hasOwnProperty(s))throw new URIError("Duplicate key: "+s);n[s]=2===o.length?decodeURIComponent(o[1]):null}return n},appendToUrl:function(e,t){return e+(-1!==ES(e,"indexOf",!0,"?")?"&":"?")+("string"==typeof t?t:s.encode(t))}};r.exports=s},null),__d("ManagedError",[],function(e,t,n,i,r,o){function s(e,t){Error.prototype.constructor.call(this,e),this.message=e,this.innerError=t}t.__markCompiled&&t.__markCompiled(),s.prototype=new Error,s.prototype.constructor=s,r.exports=s},null),__d("AssertionError",["ManagedError"],function(e,t,n,i,r,o,s){function a(e){s.prototype.constructor.apply(this,arguments)}t.__markCompiled&&t.__markCompiled(),a.prototype=new s,a.prototype.constructor=a,r.exports=a},null),__d("Assert",["AssertionError","sprintf"],function(e,t,n,i,r,o,s,a){function l(e,t){if("boolean"!=typeof e||!e)throw new s(t);return e}function d(e,t,n){var i;if(t===undefined)i="undefined";else if(null===t)i="null";else{var r=Object.prototype.toString.call(t);i=/\s(\w*)/.exec(r)[1].toLowerCase()}return l(-1!==ES(e,"indexOf",!0,i),n||a("Expression is of type %s, not %s",i,e)),t}
1function u(e,t){c["is"+e]=t,c["maybe"+e]=function(e,n){null!=e&&t(e,n)}}t.__markCompiled&&t.__markCompiled();var c={isInstanceOf:function(e,t,n){return l(t instanceof e,n||"Expression not instance of type"),t},isTrue:l,isTruthy:function(e,t){return l(!!e,t)},type:d,define:function(e,t){u(e=e.substring(0,1).toUpperCase()+e.substring(1).toLowerCase(),function(e,n){l(t(e),n)})}};ES(["Array","Boolean","Date","Function","Null","Number","Object","Regexp","String","Undefined"],"forEach",!0,function(e){u(e,ES(d,"bind",!0,null,e.toLowerCase()))}),r.exports=c},null),__d("Type",["Assert"],function(e,t,n,i,r,o,s){function a(){var e=this.__mixins;if(e)for(var t=0;t<e.length;t++)e[t].apply(this,arguments)}function l(e,t){if(t instanceof e)return!0;if(t instanceof a)for(var n=0;n<t.__mixins.length;n++)if(t.__mixins[n]==e)return!0;return!1}function d(e,t,n){var i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){this.parent.apply(this,arguments)};if(s.isFunction(i),e&&e.prototype instanceof a==!1)throw new Error("parent type does not inherit from Type");function r(){}return e=e||a,r.prototype=e.prototype,i.prototype=new r,t&&ES("Object","assign",!1,i.prototype,t),i.prototype.constructor=i,i.parent=e,i.prototype.__mixins=e.prototype.__mixins?Array.prototype.slice.call(e.prototype.__mixins):[],n&&function(e,t){var n=e.prototype;ES("Array","isArray",!1,t)||(t=[t]);for(var i=0;i<t.length;i++){var r=t[i];"function"==typeof r&&(n.__mixins.push(r),r=r.prototype),ES(ES("Object","keys",!1,r),"forEach",!0,function(e){n[e]=r[e]})}}(i,n),i.prototype.parent=function(){this.parent=e.prototype.parent,e.apply(this,arguments)},i.prototype.parentCall=function(t){return e.prototype[t].apply(this,Array.prototype.slice.call(arguments,1))},i.extend=function(e,t){return d(this,e,t)},i}t.__markCompiled&&t.__markCompiled(),ES("Object","assign",!1,a.prototype,{instanceOf:function(e){return l(e,this)}}),ES("Object","assign",!1,a,{extend:function(e,t){return"function"==typeof e?d.apply(null,arguments):d(null,e,t)},instanceOf:l}),r.exports=a},null),__d("sdk.Model",["Type","ObservableMixin"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled();var l=s.extend({constructor:function(e){this.parent();var t={},n=this;ES(ES("Object","keys",!1,e),"forEach",!0,function(i){t[i]=e[i],n["set"+i]=function(e){return e===t[i]?this:(t[i]=e,n.inform(i+".change",e),n)},n["get"+i]=function(){return t[i]}})}},a);r.exports=l},null),__d("sdk.Runtime",["sdk.Model","JSSDKRuntimeConfig"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled();var l,d={UNKNOWN:0,PAGETAB:1,CANVAS:2,PLATFORM:4},u=new s({AccessToken:"",ClientID:"",CookieUserID:"",Environment:d.UNKNOWN,Initialized:!1,IsVersioned:!1,KidDirectedSite:undefined,Locale:a.locale,LoggedIntoFacebook:undefined,LoginStatus:undefined,Revision:a.revision,Rtl:a.rtl,Scope:undefined,Secure:undefined,UseCookie:!1,UserID:"",Version:undefined});ES("Object","assign",!1,u,{ENVIRONMENTS:d,isEnvironment:function(e){var t=this.getEnvironment();return(e|t)===t},isCanvasEnvironment:function(){return this.isEnvironment(d.CANVAS)||this.isEnvironment(d.PAGETAB)}}),((l=/app_runner/.test(window.name)?d.PAGETAB:/iframe_canvas/.test(window.name)?d.CANVAS:d.UNKNOWN)|d.PAGETAB)===l&&(l|=d.CANVAS),u.setEnvironment(l),r.exports=u},null),__d("sdk.Cookie",["QueryString","sdk.Runtime"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled();var l=null;function d(e,t,n){e+=a.getClientID();var i=l&&"."!==l;i&&(document.cookie=e+"=; expires=Wed, 04 Feb 2004 08:00:00 GMT;",document.cookie=e+"=; expires=Wed, 04 Feb 2004 08:00:00 GMT;domain="+location.hostname+";");var r=new Date(n).toGMTString();document.cookie=e+"="+t+(t&&0===n?"":"; expires="+r)+"; path=/"+(i?"; domain="+l:"")}function u(e){return e+=a.getClientID(),new RegExp("\\b"+e+"=([^;]*)\\b").test(document.cookie)?RegExp.$1:null}var c={setDomain:function(e){l=e;var t=s.encode({base_domain:l&&"."!==l?l:""}),n=new Date;n.setFullYear(n.getFullYear()+1),d("fbm_",t,n.getTime())},getDomain:function(){return l},loadMeta:function(){var e=u("fbm_");if(e){var t=s.decode(e);return l||(l=t.base_domain),t}},loadSignedRequest:function(){return u("fbsr_")},setSignedRequestCookie:function(e,t){if(!e)throw new Error("Value passed to Cookie.setSignedRequestCookie "+"was empty.");d("fbsr_",e,t)},clearSignedRequestCookie:function(){d("fbsr_","",0)},setRaw:d,getRaw:u};r.exports=c},null),__d("Miny",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s="wxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_".split(""),a={encode:function(e){if(/^$|[~\\]|__proto__/.test(e))return e;var t,n=e.match(/\w+|\W+/g),i=ES("Object","create",!1,null);for(t=0;t<n.length;t++)i[n[t]]=(i[n[t]]||0)+1;var r=ES("Object","keys",!1,i);for(r.sort(function(e,t){return i[t]-i[e]}),t=0;t<r.length;t++){var o=(t-t%32)/32;i[r[t]]=o?o.toString(32)+s[t%32]:s[t%32]}var a="";for(t=0;t<n.length;t++)a+=i[n[t]];return r.unshift("Miny1",r.length),r.push(a),r.join("~")}};r.exports=a},null),__d("sdk.UA",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s=navigator.userAgent,a={iphone:/\b(iPhone|iP[ao]d)/.test(s),ipad:/\b(iP[ao]d)/.test(s),android:/Android/i.test(s),nativeApp:/FBAN\/\w+;/i.test(s)},l=/Mobile/i.test(s),d={ie:"",firefox:"",chrome:"",webkit:"",osx:"",edge:"",operaMini:"",ucWeb:""}
1,u=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(s);if(u&&(d.ie=u[1]?parseFloat(u[1]):u[4]?parseFloat(u[4]):"",d.firefox=u[2]||"",d.webkit=u[3]||"",u[3])){var c=/(?:Chrome\/(\d+\.\d+))/.exec(s);d.chrome=c?c[1]:"";var p=/(?:Edge\/(\d+\.\d+))/.exec(s);d.edge=p?p[1]:""}var f=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(s);f&&(d.osx=f[1]);var h=/(?:Opera Mini\/(\d+(?:\.\d+)?))/.exec(s);h&&(d.operaMini=h[1]);var m=/(?:UCWEB\/(\d+(?:\.\d+))?)/.exec(s);m&&(d.ucWeb=m[1]||"2.0");var _={};ES(ES("Object","keys",!1,d),"map",!0,function(e){_[e]=function(){return parseFloat(d[e])},_[e].getVersionParts=function(){return function(e){return ES(e.split("."),"map",!0,function(e){return parseFloat(e)})}(d[e])}}),ES(ES("Object","keys",!1,a),"map",!0,function(e){_[e]=function(){return a[e]}}),_.mobile=function(){return a.iphone||a.ipad||a.android||l},_.mTouch=function(){return a.android||a.iphone||a.ipad},_.mBasic=function(){return!(!d.ucWeb&&!d.operaMini)},r.exports=_},null),__d("getBlankIframeSrc",["sdk.UA"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled(),r.exports=function(){return s.ie()<10?"javascript:false":"about:blank"}},null),__d("insertIframe",["GlobalCallback","getBlankIframeSrc","guid"],function(e,t,n,i,r,o,s,a,l){t.__markCompiled&&t.__markCompiled(),r.exports=function(e){e.id=e.id||l(),e.name=e.name||l();var t=!1,n=!1,i=function(){t&&!n&&(n=!0,e.onload&&e.onload(e.root.firstChild))},r=s.create(i);if(document.attachEvent){var o="<iframe"+' id="'+e.id+'" name="'+e.name+'"'+(e.title?' title="'+e.title+'"':"")+(e.className?' class="'+e.className+'"':"")+' style="border:none;'+(e.width?"width:"+e.width+"px;":"")+(e.height?"height:"+e.height+"px;":"")+'" src="'+a()+'" frameborder="0" scrolling="no" allowtransparency="true" onload="'+r+'()"></iframe>';e.root.innerHTML='<iframe src="'+a()+'" frameborder="0" scrolling="no" style="height:1px"></iframe>',t=!0,setTimeout(function(){e.root.innerHTML=o,e.root.firstChild.src=e.url,e.onInsert&&e.onInsert(e.root.firstChild)},0)}else{var d=document.createElement("iframe");d.id=e.id,d.name=e.name,d.onload=i,d.scrolling="no",d.style.border="none",d.style.overflow="hidden",e.title&&(d.title=e.title),e.className&&(d.className=e.className),e.height!==undefined&&(d.style.height=e.height+"px"),e.width!==undefined&&("100%"==e.width?d.style.width=e.width:d.style.width=e.width+"px"),e.root.appendChild(d),t=!0,d.src=e.url,e.onInsert&&e.onInsert(d)}}},null),__d("sdk.domReady",["sdk.Runtime"],function(e,t,n,i,r,o,s){var a;function l(){if(a){for(var e;e=a.shift();)e();a=null}}if(t.__markCompiled&&t.__markCompiled(),!("readyState"in document?/loaded|complete/.test(document.readyState):!!document.body)&&(a=[],document.addEventListener?(document.addEventListener("DOMContentLoaded",l,!1),window.addEventListener("load",l,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",l),window.attachEvent("onload",l)),document.documentElement.doScroll&&window==window.top)){!function e(){try{s.getRtl()?document.documentElement.doScroll("right"):document.documentElement.doScroll("left")}catch(t){return void setTimeout(e,0)}l()}()}r.exports=function(e){a?a.push(e):e()}},3),__d("sdk.Content",["Log","sdk.UA","sdk.domReady"],function(e,t,n,i,r,o,s,a,l){t.__markCompiled&&t.__markCompiled();var d,u={append:function(e,t){if(t||(d?t=d:(d=t=document.getElementById("fb-root"),t||(s.warn('The "fb-root" div has not been created, auto-creating'),d=t=document.createElement("div"),t.id="fb-root",a.ie()||!document.body?l(function(){document.body.appendChild(t)}):document.body.appendChild(t)),t.className+=" fb_reset")),"string"==typeof e){var n=document.createElement("div");return t.appendChild(n).innerHTML=e,n}return t.appendChild(e)},appendHidden:function(e){if(!t){var t=document.createElement("div"),n=t.style;n.position="absolute",n.top="-10000px",n.width=n.height=0,t=u.append(t)}return u.append(e,t)},submitToTarget:function(e,t){var n=document.createElement("form");for(var i in n.action=e.url,n.target=e.target,n.method=t?"GET":"POST",u.appendHidden(n),e.params)if(e.params.hasOwnProperty(i)){var r=e.params[i];if(null!==r&&r!==undefined){var o=document.createElement("input");o.name=i,o.value=r,n.appendChild(o)}}n.submit(),n.parentNode.removeChild(n)}};r.exports=u},null),__d("sdk.Impressions",["sdk.Content","Miny","QueryString","sdk.Runtime","UrlMap","getBlankIframeSrc","guid","insertIframe"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f){function h(e){var t=d.getClientID();!e.api_key&&t&&(e.api_key=t),e.kid_directed_site=d.getKidDirectedSite();var n=u.resolve("www",!0)+"/impression.php/"+p()+"/",i=l.appendToUrl(n,e);if(i.length>2e3&&e.payload&&"string"==typeof e.payload){var r=a.encode(e.payload);r&&r.length<e.payload.length&&(e.payload=r,i=l.appendToUrl(n,e))}
1if(i.length<=2e3){(new Image).src=i}else{var o=p(),h=s.appendHidden("");f({url:c(),root:h,name:o,className:"fb_hidden fb_invisible",onload:function(){h.parentNode.removeChild(h)}}),s.submitToTarget({url:n,target:o,params:e})}}t.__markCompiled&&t.__markCompiled();var m={log:function(e,t){t.source||(t.source="jssdk"),h({lid:e,payload:ES("JSON","stringify",!1,t)})},impression:h};r.exports=m},null),__d("sdk.Scribe",["QueryString","sdk.Runtime","UrlMap"],function(e,t,n,i,r,o,s,a,l){t.__markCompiled&&t.__markCompiled();var d={log:function(e,t){"object"==typeof t.extra&&(t.extra.revision=a.getRevision()),(new Image).src=s.appendToUrl(l.resolve("www",!0)+"/common/scribe_endpoint.php",{c:e,m:ES("JSON","stringify",!1,t)})}};r.exports=d},null),__d("Base64",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function a(e){return e=e.charCodeAt(0)<<16|e.charCodeAt(1)<<8|e.charCodeAt(2),String.fromCharCode(s.charCodeAt(e>>>18),s.charCodeAt(e>>>12&63),s.charCodeAt(e>>>6&63),s.charCodeAt(63&e))}var l=">___?456789:;<=_______"+"\0�������\b\t\n\v\f\r������������______������ !\"#$%&'()*+,-./0123";function d(e){return e=l.charCodeAt(e.charCodeAt(0)-43)<<18|l.charCodeAt(e.charCodeAt(1)-43)<<12|l.charCodeAt(e.charCodeAt(2)-43)<<6|l.charCodeAt(e.charCodeAt(3)-43),String.fromCharCode(e>>>16,e>>>8&255,255&e)}var u={encode:function(e){var t=((e=unescape(encodeURI(e))).length+2)%3;return(e=(e+"\0\0".slice(t)).replace(/[\s\S]{3}/g,a)).slice(0,e.length+t-2)+"==".slice(t)},decode:function(e){var t=(e=e.replace(/[^A-Za-z0-9+\/]/g,"")).length+3&3;e=(e=(e+"AAA".slice(t)).replace(/..../g,d)).slice(0,e.length+t-3);try{return decodeURIComponent(escape(e))}catch(e){throw new Error("Not valid UTF-8")}},encodeObject:function(e){return u.encode(ES("JSON","stringify",!1,e))},decodeObject:function(e){return ES("JSON","parse",!1,u.decode(e))},encodeNums:function(e){return String.fromCharCode.apply(String,ES(e,"map",!0,function(e){return s.charCodeAt((e|-(e>63))&-(e>0)&63)}))}};r.exports=u},null),__d("sdk.SignedRequest",["Base64"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled();var a={parse:function(e){if(!e)return null;var t=e.split(".",2)[1].replace(/\-/g,"+").replace(/\_/g,"/");return s.decodeObject(t)}};r.exports=a},null),__d("URIRFC3986",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s=new RegExp("^"+"([^:/?#]+:)?(//([^\\\\/?#@]*@)?(\\[[A-Fa-f0-9:.]+\\]|[^\\/?#:]*)(:[0-9]*)?)?([^?#]*)(\\?[^#]*)?(#.*)?"),a={parse:function(e){if(""===ES(e,"trim",!0))return null;var t=e.match(s);if(null==t)return null;var n={};return n.uri=t[0]?t[0]:null,n.scheme=t[1]?t[1].substr(0,t[1].length-1):null,n.authority=t[2]?t[2].substr(2):null,n.userinfo=t[3]?t[3].substr(0,t[3].length-1):null,n.host=t[2]?t[4]:null,n.port=t[5]&&t[5].substr(1)?parseInt(t[5].substr(1),10):null,n.path=t[6]?t[6]:null,n.query=t[7]?t[7].substr(1):null,n.fragment=t[8]?t[8].substr(1):null,n.isGenericURI=null===n.authority&&!!n.scheme,n}};r.exports=a},null),__d("createObjectFrom",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled(),r.exports=function(e,t){var n={},i=ES("Array","isArray",!1,t);t===undefined&&(t=!0);for(var r=e.length-1;r>=0;r--)n[e[r]]=i?t[r]:t;return n}},null),__d("URISchemes",["createObjectFrom"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled();var a=s(["blob","cmms","fb","fbatwork","fb-ama","fb-messenger","fb-page-messages","fb-pma","fbcf","fbconnect","fbmobilehome","fbrpc","file","ftp","http","https","mailto","ms-app","intent","itms","itms-apps","itms-services","market","svn+ssh","fbstaging","tel","sms","pebblejs","sftp","whatsapp","moments","fblite","chrome-extension","webcal","fb124024574287414","fb124024574287414rc","fb124024574287414master","fb1576585912599779","fb929757330408142","designpack"]),l={isAllowed:function(e){return!e||a.hasOwnProperty(e.toLowerCase())}};r.exports=l},null),__d("eprintf",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();r.exports=function e(t){var n=ES(Array.prototype.slice.call(arguments),"map",!0,function(e){return String(e)});if(t.split("%s").length-1!=n.length-1)return e("eprintf args number mismatch: %s",ES("JSON","stringify",!1,n));var i=1;return t.replace(/%s/g,function(e){return String(n[i++])})}},null),__d("ex",["eprintf"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled();var a=function e(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return(n=ES(n,"map",!0,function(e){return String(e)}))[0].split("%s").length!==n.length?e("ex args number mismatch: %s",ES("JSON","stringify",!1,n)):e._prefix+ES("JSON","stringify",!1,n)+e._suffix};a._prefix="<![EX[",a._suffix="]]>",r.exports=a},null),__d("invariant",["ex","sprintf"],function(e,t,n,i,r,o,s,a){"use strict";t.__markCompiled&&t.__markCompiled();var l=s;r.exports=function(e,t){if(!e){var n=void 0;if(t===undefined)n=new Error("Minified exception occurred; use the non-minified dev environment "+"for the full error message and additional helpful warnings.");else{for(var i=arguments.length,r=Array(i>2?i-2:0),o=2;o<i;o++)r[o-2]=arguments[o];(n=new Error(l.apply(undefined,[t].concat(r)))).name="Invariant Violation",n.messageWithParams=[t].concat(r)}throw n.framesToPop=1,n}}},null),__d("setHostSubdomain",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled(),r.exports=function(e,t){var n=e.split(".");return n.length<3?n.unshift(t):n[0]=t,n.join(".")}},null),__d("URIBase",["URIRFC3986","URISchemes","ex","invariant","setHostSubdomain"],function(e,t,n,i,r,o,s,a,l,d,u){t.__markCompiled&&t.__markCompiled();var c=new RegExp("[\\x00-\\x2c\\x2f\\x3b-\\x40\\x5c\\x5e\\x60\\x7b-\\x7f"+"\\uFDD0-\\uFDEF\\uFFF0-\\uFFFF\\u2047\\u2048\\uFE56\\uFE5F\\uFF03\\uFF0F\\uFF1F]"),p=new RegExp("^(?:[^/]*:|"+"[\\x00-\\x1f]*/[\\x00-\\x1f]*/)");function f(e,t,n,i){if(!t)return!0;
1if(t instanceof m)return e.setProtocol(t.getProtocol()),e.setDomain(t.getDomain()),e.setPort(t.getPort()),e.setPath(t.getPath()),e.setQueryData(i.deserialize(i.serialize(t.getQueryData()))),e.setFragment(t.getFragment()),e.setIsGeneric(t.getIsGeneric()),e.setForceFragmentSeparator(t.getForceFragmentSeparator()),!0;t=ES(t.toString(),"trim",!0);var r=s.parse(t)||{fragment:null,scheme:null};if(!n&&!a.isAllowed(r.scheme))return!1;if(e.setProtocol(r.scheme||""),!n&&c.test(r.host||""))return!1;if(e.setDomain(r.host||""),e.setPort(r.port||""),e.setPath(r.path||""),n)e.setQueryData(i.deserialize(r.query||"")||{});else try{e.setQueryData(i.deserialize(r.query||"")||{})}catch(e){return!1}if(e.setFragment(r.fragment||""),""===r.fragment&&e.setForceFragmentSeparator(!0),e.setIsGeneric(r.isGenericURI||!1),null!==r.userinfo){if(n)throw new Error(l("URI.parse: invalid URI (userinfo is not allowed in a URI): %s",e.toString()));return!1}if(!e.getDomain()&&-1!==ES(e.getPath(),"indexOf",!0,"\\")){if(n)throw new Error(l("URI.parse: invalid URI (no domain but multiple back-slashes): %s",e.toString()));return!1}if(!e.getProtocol()&&p.test(t)){if(n)throw new Error(l("URI.parse: invalid URI (unsafe protocol-relative URLs): %s",e.toString()));return!1}if(e.getDomain()&&e.getPath()&&!ES(e.getPath(),"startsWith",!0,"/")){if(n)throw new Error(l("URI.parse: invalid URI (domain and path where path lacks leading slash): %s",e.toString()));return!1}return!0}var h=[];function m(e,t){"use strict";t||d(0),this.$URIBase9=t,this.$URIBase7="",this.$URIBase1="",this.$URIBase6="",this.$URIBase5="",this.$URIBase3="",this.$URIBase4=!1,this.$URIBase8={},this.$URIBase2=!1,f(this,e,!0,t)}m.isValidURI=function(e,t){"use strict";return f(new m(null,t),e,!1,t)},m.prototype.setProtocol=function(e){"use strict";return a.isAllowed(e)||d(0),this.$URIBase7=e,this},m.prototype.getProtocol=function(){"use strict";return(this.$URIBase7||"").toLowerCase()},m.prototype.setSecure=function(e){"use strict";return this.setProtocol(e?"https":"http")},m.prototype.isSecure=function(){"use strict";return"https"===this.getProtocol()},m.prototype.setDomain=function(e){"use strict";if(c.test(e))throw new Error(l("URI.setDomain: unsafe domain specified: %s for url %s",e,this.toString()));return this.$URIBase1=e,this},m.prototype.getDomain=function(){"use strict";return this.$URIBase1},m.prototype.setPort=function(e){"use strict";return this.$URIBase6=e,this},m.prototype.getPort=function(){"use strict";return this.$URIBase6},m.prototype.setPath=function(e){"use strict";return this.$URIBase5=e,this},m.prototype.getPath=function(){"use strict";return this.$URIBase5},m.prototype.addQueryData=function(e,t){"use strict";return"[object Object]"===Object.prototype.toString.call(e)?ES("Object","assign",!1,this.$URIBase8,e):this.$URIBase8[e]=t,this},m.prototype.setQueryData=function(e){"use strict";return this.$URIBase8=e,this},m.prototype.getQueryData=function(){"use strict";return this.$URIBase8},m.prototype.removeQueryData=function(e){"use strict";ES("Array","isArray",!1,e)||(e=[e]);for(var t=0,n=e.length;t<n;++t)delete this.$URIBase8[e[t]];return this},m.prototype.setFragment=function(e){"use strict";return this.$URIBase3=e,this.setForceFragmentSeparator(!1),this},m.prototype.getFragment=function(){"use strict";return this.$URIBase3},m.prototype.setForceFragmentSeparator=function(e){"use strict";return this.$URIBase2=e,this},m.prototype.getForceFragmentSeparator=function(){"use strict";return this.$URIBase2},m.prototype.setIsGeneric=function(e){"use strict";return this.$URIBase4=e,this},m.prototype.getIsGeneric=function(){"use strict";return this.$URIBase4},m.prototype.isEmpty=function(){"use strict";return!(this.getPath()||this.getProtocol()||this.getDomain()||this.getPort()||ES("Object","keys",!1,this.getQueryData()).length>0||this.getFragment())},m.prototype.toString=function(){"use strict";for(var e=this,t=0;t<h.length;t++)e=h[t](e);return e.$URIBase10()},m.prototype.$URIBase10=function(){"use strict";var e="",t=this.getProtocol();t&&(e+=t+":"+(this.getIsGeneric()?"":"//"));var n=this.getDomain();n&&(e+=n);var i=this.getPort();i&&(e+=":"+i);var r=this.getPath();r?e+=r:e&&(e+="/");var o=this.$URIBase9.serialize(this.getQueryData());o&&(e+="?"+o);var s=this.getFragment();return s?e+="#"+s:this.getForceFragmentSeparator()&&(e+="#"),e},m.registerFilter=function(e){"use strict";h.push(e)},m.prototype.getOrigin=function(){"use strict";var e=this.getPort();return this.getProtocol()+"://"+this.getDomain()+(e?":"+e:"")}
1,m.prototype.getQualifiedURIBase=function(){"use strict";return new m(this,this.$URIBase9).qualify()},m.prototype.qualify=function(){"use strict";if(!this.getDomain()){var e=new m(window.location.href,this.$URIBase9);this.setProtocol(e.getProtocol()).setDomain(e.getDomain()).setPort(e.getPort())}return this},m.prototype.setSubdomain=function(e){"use strict";var t=this.qualify().getDomain();return this.setDomain(u(t,e))},m.prototype.getSubdomain=function(){"use strict";if(!this.getDomain())return"";var e=this.getDomain().split(".");return e.length<=2?"":e[0]},r.exports=m},null),__d("sdk.URI",["Assert","QueryString","URIBase"],function(e,t,n,i,r,o,s,a,l){var d,u;t.__markCompiled&&t.__markCompiled();var c=/\.facebook\.com$/,p={serialize:function(e){return e?a.encode(e):""},deserialize:function(e){return e?a.decode(e):{}}};function f(e){"use strict";s.isString(e,"The passed argument was of invalid type."),u.constructor.call(this,e,p)}d=babelHelpers.inherits(f,l),u=d&&d.prototype,f.prototype.isFacebookURI=function(){"use strict";return c.test(this.getDomain())},f.prototype.valueOf=function(){"use strict";return this.toString()},r.exports=f},null),__d("Queue",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s={};function a(e){"use strict";this._opts=babelHelpers.extends({interval:0,processor:null},e),this._queue=[],this._stopped=!0}a.prototype._dispatch=function(e){"use strict";if(!this._stopped&&0!==this._queue.length){if(!this._opts.processor)throw this._stopped=!0,new Error("No processor available");if(this._opts.interval)this._opts.processor.call(this,this._queue.shift()),this._timeout=setTimeout(ES(this._dispatch,"bind",!0,this),this._opts.interval);else for(;this._queue.length;)this._opts.processor.call(this,this._queue.shift())}},a.prototype.enqueue=function(e){"use strict";return this._opts.processor&&!this._stopped?this._opts.processor.call(this,e):this._queue.push(e),this},a.prototype.start=function(e){"use strict";return e&&(this._opts.processor=e),this._stopped=!1,this._dispatch(),this},a.prototype.isStarted=function(){"use strict";return!this._stopped},a.prototype.dispatch=function(){"use strict";this._dispatch(!0)},a.prototype.stop=function(e){"use strict";return this._stopped=!0,e&&clearTimeout(this._timeout),this},a.prototype.merge=function(e,t){"use strict";return this._queue[t?"unshift":"push"].apply(this._queue,e._queue),e._queue=[],this._dispatch(),this},a.prototype.getLength=function(){"use strict";return this._queue.length},a.get=function(e,t){"use strict";return e in s?s[e]:s[e]=new a(t)},a.exists=function(e){"use strict";return e in s},a.remove=function(e){"use strict";return delete s[e]},r.exports=a},null),__d("DOMEventListener",["invariant","wrapFunction"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled();var l=void 0,d=void 0;window.addEventListener?(l=function(e,t,n){n.wrapper=a(n,"entry","DOMEventListener.add "+t),e.addEventListener(t,n.wrapper,!1)},d=function(e,t,n){e.removeEventListener(t,n.wrapper,!1)}):window.attachEvent?(l=function(e,t,n){n.wrapper=a(n,"entry","DOMEventListener.add "+t),e.attachEvent||s(0),e.attachEvent("on"+t,n.wrapper)},d=function(e,t,n){e.detachEvent||s(0),e.detachEvent("on"+t,n.wrapper)}):d=l=function(){};var u={add:function(e,t,n){return l(e,t,n),{remove:function(){d(e,t,n)}}},remove:d};r.exports=u},null),__d("UserAgent_DEPRECATED",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s,a,l,d,u,c,p,f,h,m,_,g,b,v,y,k=!1;function w(){if(!k){k=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Ice
1weasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(g=/\b(iPhone|iP[ao]d)/.exec(e),b=/\b(iP[ao]d)/.exec(e),m=/Android/i.exec(e),v=/FBAN\/\w+;/i.exec(e),y=/Mobile/i.exec(e),_=!!/Win64/.exec(e),t){(s=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(s=document.documentMode);var i=/(?:Trident\/(\d+.\d+))/.exec(e);c=i?parseFloat(i[1])+4:s,a=t[2]?parseFloat(t[2]):NaN,l=t[3]?parseFloat(t[3]):NaN,(d=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),u=t&&t[1]?parseFloat(t[1]):NaN):u=NaN}else s=a=l=u=d=NaN;if(n){if(n[1]){var r=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);p=!r||parseFloat(r[1].replace("_","."))}else p=!1;f=!!n[2],h=!!n[3]}else p=f=h=!1}}var C={ie:function(){return w()||s},ieCompatibilityMode:function(){return w()||c>s},ie64:function(){return C.ie()&&_},firefox:function(){return w()||a},opera:function(){return w()||l},webkit:function(){return w()||d},safari:function(){return C.webkit()},chrome:function(){return w()||u},windows:function(){return w()||f},osx:function(){return w()||p},linux:function(){return w()||h},iphone:function(){return w()||g},mobile:function(){return w()||g||b||m||y},nativeApp:function(){return w()||v},android:function(){return w()||m},ipad:function(){return w()||b}};r.exports=C},null),__d("htmlSpecialChars",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s=/&/g,a=/</g,l=/>/g,d=/"/g,u=/'/g;r.exports=function(e){return null!=e&&e.toString?!1===e?"0":!0===e?"1":e.toString().replace(s,"&amp;").replace(d,"&quot;").replace(u,"&#039;").replace(a,"&lt;").replace(l,"&gt;"):""}},null),__d("Flash",["DOMEventListener","DOMWrapper","QueryString","UserAgent_DEPRECATED","guid","htmlSpecialChars"],function(e,t,n,i,r,o,s,a,l,d,u,c){t.__markCompiled&&t.__markCompiled();var p,f={},h=a.getWindow().document;function m(e){var t=h.getElementById(e);t&&t.parentNode.removeChild(t),delete f[e]}function _(){for(var e in f)f.hasOwnProperty(e)&&m(e)}function g(e){return e.replace(/\d+/g,function(e){return"000".substring(e.length)+e})}var b={embed:function(e,t,n,i){var r=u();e=c(e).replace(/&amp;/g,"&"),"object"==typeof(n=babelHelpers.extends({allowscriptaccess:"always",flashvars:i,movie:e},n)).flashvars&&(n.flashvars=l.encode(n.flashvars));var o=[];for(var a in n)n.hasOwnProperty(a)&&n[a]&&o.push('<param name="'+c(a)+'" value="'+c(n[a])+'">');var m=t.appendChild(h.createElement("span")),g="<object "+(d.ie()?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ':'type="application/x-shockwave-flash"')+'data="'+e+'" '+(n.height?'height="'+n.height+'" ':"")+(n.width?'width="'+n.width+'" ':"")+'id="'+r+'">'+o.join("")+"</object>";m.innerHTML=g;var b=m.firstChild;return function(e){p||(d.ie()>=9&&s.add(window,"unload",_),p=!0),f[e]=e}(r),b},remove:m,getVersion:function(){var e,t="Shockwave Flash",n="application/x-shockwave-flash";if(navigator.plugins&&"object"==typeof navigator.plugins[t]){var i=navigator.plugins[t].description;i&&navigator.mimeTypes&&navigator.mimeTypes[n]&&navigator.mimeTypes[n].enabledPlugin&&(e=i.match(/\d+/g))}if(!e)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").match(/(\d+),(\d+),(\d+),(\d+)/),e=Array.prototype.slice.call(e,1)}catch(e){}return e},getVersionString:function(){var e=b.getVersion();return e?e.join("."):""},checkMinVersion:function(e){var t=b.getVersion();return!!t&&g(t.join("."))>=g(e)},isAvailable:function(){return!!b.getVersion()}};r.exports=b},null),__d("emptyFunction",[],function(e,t,n,i,r,o){function s(e){return function(){return e}}t.__markCompiled&&t.__markCompiled();var a=function(){};a.thatReturns=s,a.thatReturnsFalse=s(!1),a.thatReturnsTrue=s(!0),a.thatReturnsNull=s(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},r.exports=a},null),__d("XDM",["DOMEventListener","DOMWrapper","emptyFunction","Flash","GlobalCallback","guid","Log","UserAgent_DEPRECATED","wrapFunction"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f,h){t.__markCompiled&&t.__markCompiled();var m={},_={transports:[]},g=a.getWindow();var b,v,y,k={register:function(e,t){p.debug("Registering %s as XDM provider",e),_.transports.push(e),m[e]=t},create:function(e){if(!e.whenReady&&!e.onMessage)throw p.error("An instance without whenReady or onMessage makes no sense"),new Error("An instance without whenReady or "+"onMessage makes no sense");e.channel||(p.warn("Missing channel name, selecting at random"),e.channel=c()),e.whenReady||(e.whenReady=l),e.onMessage||(e.onMessage=l);var t=e.transport||function(e){for(var t={},n=e.length,i=_.transports;n--;)t[e[n]]=1;for(n=i.length;n--;){var r=i[n],o=m[r];if(!t[r]&&o.isAvailable())return r}}(e.blacklist||[]),n=m[t];if(n&&n.isAvailable())return p.debug("%s is available",t),n.init(e),t}};k.register("flash",(y=!1,{isAvailable:function(){return d.checkMinVersion("8.0.24")},init:function(e){p.debug("init flash: "+e.channel);var t={send:function(e,t,n,i){p.debug("sending to: %s (%s)",t,i),b.postMessage(e,t,i)}};if(y)e.whenReady(t);else{var n=e.root.appendChild(g.document.createElement("div")),i=u.create(function(){u.remove(i),clearTimeout(v),p.info("xdm.swf called the callback");var n=u.create(function(t,n){t=decodeURIComponent(t),n=decodeURIComponent(n),p.debug("received message %s from %s",t,n),e.onMessage(t,n)},"xdm.swf:onMessage");b.init(e.channel,n),e.whenReady(t)},"xdm.swf:load");b=d.embed(e.flashUrl,n,null,{protocol:location.protocol.replace(":",""),host:location.host,callback:i,log:!1}
1),v=setTimeout(function(){p.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",15e3)},15e3),y=!0}}}));var w=/\.facebook\.com(\/|$)/;k.register("postmessage",function(){var e=!1;return{isAvailable:function(){return!!g.postMessage},init:function(t){p.debug("init postMessage: "+t.channel);var n="_FB_"+t.channel,i={send:function(e,t,n,i){if(g===n)throw p.error("Invalid windowref, equal to window (self)"),new Error;p.debug("sending to: %s (%s)",t,i);var r=function(){n.postMessage("_FB_"+i+e,t)};8==f.ie()||f.ieCompatibilityMode()?setTimeout(r,0):r()}};e?t.whenReady(i):(s.add(g,"message",h(function(e){var i=e.data,r=e.origin||"native";/^(https?:\/\/|native$)/.test(r)?("native"===r||w.test(location.hostname)||w.test(e.origin))&&("string"==typeof i?(p.debug("received message %s from %s",i,r),i.substring(0,n.length)==n&&(i=i.substring(n.length)),t.onMessage(i,r)):p.warn("Received message of type %s from %s, expected a string",typeof i,r)):p.debug("Received message from invalid origin type: %s",r)},"entry","onMessage")),t.whenReady(i),e=!0)}}}()),r.exports=k},null),__d("isFacebookURI",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s=null,a=["http","https"];function l(e){return s||(s=new RegExp("(^|\\.)facebook\\.com$","i")),(!e.isEmpty()||"#"===e.toString())&&(!e.getDomain()&&!e.getProtocol()||-1!==ES(a,"indexOf",!0,e.getProtocol())&&s.test(e.getDomain()))}l.setRegex=function(e){s=e},r.exports=l},null),__d("sdk.Event",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s={SUBSCRIBE:"event.subscribe",UNSUBSCRIBE:"event.unsubscribe",subscribers:function(){return this._subscribersMap||(this._subscribersMap={}),this._subscribersMap},subscribe:function(e,t){var n=this.subscribers();n[e]?-1==ES(n[e],"indexOf",!0,t)&&n[e].push(t):n[e]=[t],e!=this.SUBSCRIBE&&e!=this.UNSUBSCRIBE&&this.fire(this.SUBSCRIBE,e,n[e])},unsubscribe:function(e,t){var n=this.subscribers()[e];n&&ES(n,"forEach",!0,function(e,i){e==t&&n.splice(i,1)}),e!=this.SUBSCRIBE&&e!=this.UNSUBSCRIBE&&this.fire(this.UNSUBSCRIBE,e,n)},monitor:function(e,t){if(!t()){var n=this;this.subscribe(e,function i(){t.apply(t,arguments)&&n.unsubscribe(e,i)})}},clear:function(e){delete this.subscribers()[e]},fire:function(e){var t=Array.prototype.slice.call(arguments,1),n=this.subscribers()[e];n&&ES(n,"forEach",!0,function(e){e&&e.apply(this,t)})}};r.exports=s},null),__d("JSONRPC",["Log"],function(e,t,n,i,r,o,s){function a(e){"use strict";this.$JSONRPC1=0,this.$JSONRPC2={},this.remote=ES(function(e){return this.$JSONRPC3=e,this.remote},"bind",!0,this),this.local={},this.$JSONRPC4=e}t.__markCompiled&&t.__markCompiled(),a.prototype.stub=function(e){"use strict";this.remote[e]=ES(function(){for(var t={jsonrpc:"2.0",method:e},n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];"function"==typeof i[i.length-1]&&(t.id=++this.$JSONRPC1,this.$JSONRPC2[t.id]=i.pop()),t.params=i,this.$JSONRPC4(ES("JSON","stringify",!1,t),this.$JSONRPC3||{method:e})},"bind",!0,this)},a.prototype.read=function(e,t){"use strict";var n=ES("JSON","parse",!1,e),i=n.id;if(!n.method){if(!this.$JSONRPC2[i])return void s.warn("Could not find callback %s",i);var r=this.$JSONRPC2[i];return delete this.$JSONRPC2[i],delete n.id,delete n.jsonrpc,void r(n)}var o,a=this,l=this.local[n.method];if(o=i?function(e,n){var r={jsonrpc:"2.0",id:i};r[e]=n,setTimeout(function(){a.$JSONRPC4(ES("JSON","stringify",!1,r),t)},0)}:function(){},!l)return s.error('Method "%s" has not been defined',n.method),void o("error",{code:-32601,message:"Method not found",data:n.method});n.params.push(ES(o,"bind",!0,null,"result")),n.params.push(ES(o,"bind",!0,null,"error"));try{var d=l.apply(t||null,n.params);void 0!==d&&o("result",d)}catch(e){s.error("Invokation of RPC method %s resulted in the error: %s",n.method,e.message),o("error",{code:-32603,message:"Internal error",data:e.message})}},r.exports=a},null),__d("sdk.RPC",["Assert","JSONRPC","Queue"],function(e,t,n,i,r,o,s,a,l){t.__markCompiled&&t.__markCompiled();var d=new l,u=new a(function(e){d.enqueue(e)}
1),c={local:u.local,remote:u.remote,stub:ES(u.stub,"bind",!0,u),setInQueue:function(e){s.isInstanceOf(l,e),e.start(function(e){u.read(e)})},getOutQueue:function(){return d}};r.exports=c},null),__d("hasNamePropertyBug",["guid","UserAgent_DEPRECATED"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled();var l=!!a.ie()&&undefined;r.exports=function(){return void 0===l?(e=document.createElement("form"),(t=e.appendChild(document.createElement("input"))).name=s(),l=t!==e.elements[t.name],e=t=null,l):l;var e,t}},null),__d("isNumberLike",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled(),r.exports=function(e){return!isNaN(parseFloat(e))&&isFinite(e)}},null),__d("sdk.createIframe",["DOMEventListener","getBlankIframeSrc","guid","hasNamePropertyBug","isNumberLike"],function(e,t,n,i,r,o,s,a,l,d,u){t.__markCompiled&&t.__markCompiled(),r.exports=function(e){var t,n=(e=ES("Object","assign",!1,{},e)).name||l(),i=e.root,r=e.style||{border:"none"},o=e.url,c=e.onload,p=e.onerror;d()?t=document.createElement('<iframe name="'+n+'"/>'):(t=document.createElement("iframe")).name=n,delete e.style,delete e.name,delete e.url,delete e.root,delete e.onload,delete e.onerror;var f=ES("Object","assign",!1,{frameBorder:0,allowTransparency:!0,allowFullscreen:!0,scrolling:"no"},e);for(var h in f.width&&u(f.width)&&(t.width=f.width+"px"),f.height&&u(f.height)&&(t.height=f.height+"px"),delete f.height,delete f.width,f)f.hasOwnProperty(h)&&t.setAttribute(h,f[h]);if(ES("Object","assign",!1,t.style,r),t.src=a(),i.appendChild(t),c)var m=s.add(t,"load",function(){m.remove(),c()});if(p)var _=s.add(t,"error",function(){_.remove(),p()});return t.src=o,t}},null),__d("sdk.FeatureFunctor",["invariant"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled(),r.exports={create:function(e){return function(t,n){return arguments.length>=2||s(0),function(e,t,n){if(e.features&&t in e.features){var i=e.features[t];return"object"==typeof i&&"number"==typeof i.rate?i.rate&&100*Math.random()<=i.rate?i.value||!0:!!i.value&&null:i}return n}(e,t,n)}}}},null),__d("sdk.feature",["sdk.FeatureFunctor","JSSDKConfig"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled(),r.exports=s.create(a)},null),__d("sdk.XD",["sdk.Content","sdk.Event","Log","QueryString","Queue","sdk.RPC","sdk.Runtime","sdk.Scribe","sdk.URI","UrlMap","JSSDKXDConfig","XDM","isFacebookURI","sdk.createIframe","sdk.feature","guid"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f,h,m,_,g,b,v,y,k){t.__markCompiled&&t.__markCompiled();var w,C,S,E=new u,x=new u,I=new u,A=k(),R=_.useCdn?"cdn":"www",T=y("use_bundle",!1)?_.XdBundleUrl:_.XdUrl,O=m.resolve(R,!1)+T,N=m.resolve(R,!0)+T,D=k(),P=function(){if("origin"in location){if(location.origin&&"null"!==location.origin)return location.origin;if(window!==window.parent)try{var e=parent.location.origin;if(e&&"null"!==e)return e}catch(e){}}return location.protocol+"//"+location.host}(),F=!1,U="Facebook Cross Domain Communication Frame",M={},L=new u;function B(e,t){if(!t)throw l.error("No senderOrigin"),new Error;var n=/^https?/.exec(t)[0];switch(e.xd_action){case"proxy_ready":var i,r;"https"==n?(i=I,r=C,p.setLoggedIntoFacebook("true"===e.logged_in)):(i=x,r=w),e.registered&&(!function(e){l.info("Remote XD can talk to facebook.com (%s)",e),p.setEnvironment("canvas"===e?p.ENVIRONMENTS.CANVAS:p.ENVIRONMENTS.PAGETAB)}(e.registered),E=i.merge(E)),l.info("Proxy ready, starting queue %s containing %s messages",n+"ProxyQueue",i.getLength()),i.start(function(e){S.send("string"==typeof e?e:d.encode(e),t,r.contentWindow,D+"_"+n)});break;case"plugin_ready":if(l.info("Plugin %s ready, protocol: %s",e.name,n),M[e.name]={protocol:n},u.exists(e.name)){var o=u.get(e.name);l.debug("Enqueuing %s messages for %s in %s",o.getLength(),e.name,n+"ProxyQueue"),("https"==n?I:x).merge(o)}}e.data&&j(e.data,t)}function j(e,t){if(!t||"native"===t||b(new h(t))){if("string"==typeof e){if(/^FB_RPC:/.test(e))return void L.enqueue(e.substring(7));if("{"==e.substring(0,1))try{e=ES("JSON","parse",!1,e)}catch(t){return void l.warn("Failed to decode %s as JSON",e)}else e=d.decode(e)}if(t||e.xd_sig==A&&(t=e.xd_origin),e.xd_action)B(e,t);else if(e.access_token&&p.setSecure(/^https/.test(P)),e.cb){var n=q._callbacks[e.cb];q._forever[e.cb]||delete q._callbacks[e.cb],n&&n(e)}}}function V(e,t){if("facebook"==e)t.relation="parent.parent",E.enqueue(t);else{t.relation='parent.frames["'+e+'"]';var n=M[e];
1n?(l.debug("Enqueuing message for plugin %s in %s",e,n.protocol+"ProxyQueue"),("https"==n.protocol?I:x).enqueue(t)):(l.debug("Buffering message for plugin %s",e),u.get(e).enqueue(t))}}function z(e){if(!F){var t=s.appendHidden(document.createElement("div")),n=g.create({blacklist:null,root:t,channel:D,flashUrl:_.Flash.path,whenReady:function(i){S=i;var r={channel:D,origin:P,transport:n,xd_name:e},o="#"+d.encode(r);!0!==p.getSecure()&&(w=v({url:O+o,name:"fb_xdm_frame_http",id:"fb_xdm_frame_http",root:t,"aria-hidden":!0,title:U,tabindex:-1})),C=v({url:N+o,name:"fb_xdm_frame_https",id:"fb_xdm_frame_https",root:t,"aria-hidden":!0,title:U,tabindex:-1})},onMessage:j});n||f.log("jssdk_error",{appId:p.getClientID(),error:"XD_TRANSPORT",extra:{message:"Failed to create a valid transport"}}),F=!0}}c.setInQueue(L),c.getOutQueue().start(function(e){V("facebook","FB_RPC:"+e)});var q={rpc:c,_callbacks:{},_forever:{},_channel:D,_origin:P,onMessage:j,recv:j,init:z,sendToFacebook:V,inform:function(e,t,n,i){V("facebook",{method:e,params:ES("JSON","stringify",!1,t||{}),behavior:i||"p",relation:n})},handler:function(e,t,n,i){var r="#"+d.encode({cb:this.registerCallback(e,n,i),origin:P+"/"+D,domain:location.hostname,relation:t||"opener"});return("https:"==location.protocol?N:O)+r},registerCallback:function(e,t,n){return n=n||k(),t&&(q._forever[n]=!0),q._callbacks[n]=e,n},getXDArbiterURL:function(e){return e?N:O}};a.subscribe("init:post",function(e){z(e.xdProxyName);var t=y("xd_timeout",!1);t&&setTimeout(function(){C&&!!w==x.isStarted()&&!!C==I.isStarted()||f.log("jssdk_error",{appId:p.getClientID(),error:"XD_INITIALIZATION",extra:{message:"Failed to initialize in "+t+"ms"}})},t)}),r.exports=q},null),__d("sdk.getContextType",["sdk.Runtime","sdk.UA"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled(),r.exports=function(){return a.nativeApp()?3:a.mobile()?2:s.isEnvironment(s.ENVIRONMENTS.CANVAS)?5:1}},null),__d("sdk.Auth",["sdk.Cookie","sdk.createIframe","DOMWrapper","sdk.feature","sdk.getContextType","guid","sdk.Impressions","Log","ObservableMixin","sdk.Runtime","sdk.Scribe","sdk.SignedRequest","UrlMap","sdk.URI","sdk.XD"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f,h,m,_,g,b,v,y){t.__markCompiled&&t.__markCompiled();var k,w,C,S="fblo_",E=31536e6,x=new h;function I(e,t){var n=m.getUserID(),i="";if(e)if(e.userID)i=e.userID;else if(e.signedRequest){var r=g.parse(e.signedRequest);r&&r.user_id&&(i=r.user_id)}var o=m.getLoginStatus(),s="unknown"===o&&e||m.getUseCookie()&&m.getCookieUserID()!==i,a=n&&!e,l=e&&n&&n!=i,d=e!=k,u=t!=(o||"unknown");m.setLoginStatus(t),m.setAccessToken(e&&e.accessToken||null),m.setUserID(i),k=e;var c={authResponse:e,status:t};return(a||l)&&x.inform("logout",c),(s||l)&&x.inform("login",c),d&&x.inform("authresponse.change",c),u&&x.inform("status.change",c),c}function A(){return k}function R(e,t,n){return function(i){if(i&&i.access_token){var r=g.parse(i.signed_request);if(t={accessToken:i.access_token,userID:r.user_id,expiresIn:parseInt(i.expires_in,10),signedRequest:i.signed_request},i.granted_scopes&&(t.grantedScopes=i.granted_scopes),m.getUseCookie()){var o=0===t.expiresIn?0:ES("Date","now",!1)+1e3*t.expiresIn;!s.getDomain()&&i.base_domain&&s.setDomain("."+i.base_domain),s.setSignedRequestCookie(i.signed_request,o),T()}I(t,"connected")}else"logout"!==n&&"login_status"!==n||(I(null,i.error&&"not_authorized"===i.error?"not_authorized":"unknown"),m.getUseCookie()&&s.clearSignedRequestCookie(),"logout"===n&&(s.setRaw(S,"y",ES("Date","now",!1)+E),_.log("jssdk_error",{appId:m.getClientID(),error:"PLATFORM_AUTH_LOGOUT",extra:{args:{fblo:!0}}})));return i&&1==i.https&&m.setSecure(!0),e&&e({authResponse:t,status:m.getLoginStatus()}),t}}function T(){s.setRaw(S,"",0)}function O(e){var t,n=ES("Date","now",!1);w&&(clearTimeout(w),w=null);var i="y"===s.getRaw(S);if(d("getloginstatus_tracking",!0)&&_.log("jssdk_error",{appId:m.getClientID(),error:"PLATFORM_AUTH_GETLOGINSTATUS",extra:{args:{fblo:i}}}),i){var r="unknown";return I(null,r),void(e&&e({authResponse:null,status:r}))}var o=R(e,k,"login_status"),h=new v(b.resolve("www",!0)+"/connect/ping").setQueryData({client_id:m.getClientID(),response_type:"token,signed_request,code",domain:location.hostname,origin:u(),redirect_uri:y.handler(function(e){if(d("e2e_ping_tracking",!0)){var i={init:n,close:ES("Date","now",!1),method:"ping"};f.debug("e2e: %s",ES("JSON","stringify",!1,i)),p.log(114,{payload:i})}t.parentNode.removeChild(t),o(e)&&(w=setTimeout(function(){O(function(){})},12e5))},"parent"),sdk:"joey",kid_directed_site:m.getKidDirectedSite()});t=a({root:l.getRoot(),name:c(),url:h.toString(),style:{display:"none"}})}ES("Object","assign",!1,x,{removeLogoutState:T,getLoginStatus:function(e,t){if(m.getClientID()){if(e){if(!t&&"loaded"==C)return void e({status:m.getLoginStatus(),authResponse:A()});x.subscribe("FB.loginStatus",e)}(t||"loading"!=C)&&(C="loading",O(function(e){C="loaded",x.inform("FB.loginStatus",e),x.clearSubscribers("FB.loginStatus")}))}else f.warn("FB.getLoginStatus() called before calling FB.init().")},fetchLoginStatus:O,setAuthResponse:I,getAuthResponse:A,parseSignedRequest:g.parse,xdResponseWrapper:R}),r.exports=x}
1,null),__d("sdk.DOM",["Assert","sdk.UA","sdk.domReady"],function(e,t,n,i,r,o,s,a,l){t.__markCompiled&&t.__markCompiled();var d={};function u(e,t){var n=e.getAttribute(t)||e.getAttribute(t.replace(/_/g,"-"))||e.getAttribute(t.replace(/-/g,"_"))||e.getAttribute(t.replace(/-/g,""))||e.getAttribute(t.replace(/_/g,""))||e.getAttribute("data-"+t)||e.getAttribute("data-"+t.replace(/_/g,"-"))||e.getAttribute("data-"+t.replace(/-/g,"_"))||e.getAttribute("data-"+t.replace(/-/g,""))||e.getAttribute("data-"+t.replace(/_/g,""));return n?String(n):null}function c(e,t){s.isTruthy(e,"element not specified"),s.isString(t);try{return String(e[t])}catch(e){throw new Error("Could not read property "+t+" : "+e.message)}}function p(e,t){s.isTruthy(e,"element not specified"),s.isString(t);var n=" "+c(e,"className")+" ";return ES(n,"indexOf",!0," "+t+" ")>=0}var f={containsCss:p,addCss:function(e,t){s.isTruthy(e,"element not specified"),s.isString(t),p(e,t)||(e.className=c(e,"className")+" "+t)},removeCss:function(e,t){s.isTruthy(e,"element not specified"),s.isString(t);var n=new RegExp("\\s*"+t,"g");e.className=ES(c(e,"className").replace(n,""),"trim",!0)},getByClass:function(e,t,n){if(s.isString(e),n=n||"*",(t=t||document.body).querySelectorAll)return ES("Array","from",!1,t.querySelectorAll(n+"."+e));for(var i=t.getElementsByTagName(n),r=[],o=0,a=i.length;o<a;o++)p(i[o],e)&&(r[r.length]=i[o]);return r},getStyle:function(e,t){s.isTruthy(e,"element not specified"),s.isString(t),t=t.replace(/-(\w)/g,function(e,t){return t.toUpperCase()});var n=(e.currentStyle||document.defaultView.getComputedStyle(e,null))[t];return/backgroundPosition?/.test(t)&&/top|left/.test(n)&&(n="0%"),n},setStyle:function(e,t,n){s.isTruthy(e,"element not specified"),s.isString(t),t=t.replace(/-(\w)/g,function(e,t){return t.toUpperCase()}),e.style[t]=n},getAttr:u,getBoolAttr:function(e,t){var n=u(e,t);return n?/^(true|1|yes|on)$/.test(n):null},getProp:c,html:function(e,t){s.isTruthy(e,"element not specified"),s.isString(t);try{e.innerHTML=t}catch(e){throw new Error("Could not set innerHTML : "+e.message)}},addCssRules:function(e,t){for(var n,i=!0,r=0;n=t[r++];)n in d||(i=!1,d[n]=!0);if(!i)if(a.ie()<11)try{document.createStyleSheet().cssText=e}catch(t){document.styleSheets[0]&&(document.styleSheets[0].cssText+=e)}else{var o=document.createElement("style");o.type="text/css",o.textContent=e,document.getElementsByTagName("head")[0].appendChild(o)}},getViewportInfo:function(){var e=document.documentElement&&"CSS1Compat"==document.compatMode?document.documentElement:document.body;return{scrollTop:e.scrollTop||document.body.scrollTop,scrollLeft:e.scrollLeft||document.body.scrollLeft,width:window.innerWidth?window.innerWidth:e.clientWidth,height:window.innerHeight?window.innerHeight:e.clientHeight}},getPosition:function(e){s.isTruthy(e,"element not specified");var t=0,n=0;do{t+=e.offsetLeft,n+=e.offsetTop}while(e=e.offsetParent);return{x:t,y:n}},ready:l};r.exports=f},null),__d("normalizeError",["sdk.UA"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled(),r.exports=function(e){var t={line:e.lineNumber||e.line,message:e.message,name:e.name,script:e.fileName||e.sourceURL||e.script,stack:e.stackTrace||e.stack};t._originalError=e;var n=/([\w:\.\/]+\.js):(\d+)/.exec(e.stack);for(var i in s.chrome()&&n&&(t.script=n[1],t.line=parseInt(n[2],10)),t)null==t[i]&&delete t[i];return t}},null),__d("sdk.ErrorHandling",["ManagedError","sdk.Runtime","sdk.Scribe","sdk.feature","normalizeError","wrapFunction"],function(e,t,n,i,r,o,s,a,l,d,u,c){t.__markCompiled&&t.__markCompiled();var p=d("error_handling",!1),f="";function h(e,t){return function(){if(!p)return e.apply(this,arguments);try{return f=t,e.apply(this,arguments)}catch(e){if(e instanceof s)throw e;var n=u(e);n.entry=t;var i=ES(Array.prototype.slice.call(arguments),"map",!0,function(e){var t=Object.prototype.toString.call(e);return/^\[object (String|Number|Boolean|Object|Date)\]$/.test(t)?e:e.toString()});n.args=ES("JSON","stringify",!1,i).substring(0,200),function(e){var t=e._originalError;throw delete e._originalError,l.log("jssdk_error",{appId:a.getClientID(),error:e.name||e.message,extra:e}),t}(n)}finally{f=""}}}function m(e,t){return function(n,i){var r=t+":"+(f||"[global]")+":"+(n.name||"[anonymous]"+function(e){try{return e&&e.callee&&e.callee.caller?e.callee.caller.name:""}catch(e){return""}}(arguments));return e(c(n,"entry",r),i)}}p&&(setTimeout=m(setTimeout,"setTimeout"),setInterval=m(setInterval,"setInterval"),c.setWrapper(h,"entry"));var _={guard:h,unguard:function(e){return e.__wrapper||(e.__wrapper=function(){try{return e.apply(this,arguments)}catch(e){return window.setTimeout(function(){throw e},0),!1}}),e.__wrapper}};
1r.exports=_},null),__d("sdk.Insights",["sdk.Impressions"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled();var a={TYPE:{NOTICE:"notice",WARNING:"warn",ERROR:"error"},CATEGORY:{DEPRECATED:"deprecated",APIERROR:"apierror"},log:function(e,t,n){var i={source:"jssdk",type:e,category:t,payload:n};s.log(113,i)},impression:s.impression};r.exports=a},null),__d("FB",["sdk.Auth","JSSDKCssConfig","dotAccess","sdk.domReady","sdk.DOM","sdk.ErrorHandling","sdk.Content","DOMWrapper","GlobalCallback","sdk.Insights","Log","sdk.Runtime","sdk.Scribe","JSSDKConfig"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f,h,m,_,g,b,v){t.__markCompiled&&t.__markCompiled();var y=void 0,k=void 0,w=l(v,"api.mode"),C={};y=window.FB={};var S={};_.level=0,h.setPrefix("FB.__globalCallbacks");var E,x,I=document.createElement("div");f.setRoot(I),d(function(){_.info("domReady"),p.appendHidden(I),a.rules&&u.addCssRules(a.rules,a.components)}),g.subscribe("AccessToken.change",function(e){e||"connected"!==g.getLoginStatus()||s.getLoginStatus(null,!0)}),l(v,"api.whitelist.length")&&(k={},ES(v.api.whitelist,"forEach",!0,function(e){k[e]=1})),g.setSecure((E=/iframe_canvas|app_runner/.test(window.name),x=/dialog/.test(window.name),"https:"==location.protocol&&(window==top||!E&&!x)||(/_fb_https?/.test(window.name)?-1!=ES(window.name,"indexOf",!0,"_fb_https"):void 0))),ES("Object","assign",!1,S,{provide:function(e,t){var n=e?l(y,e,!0):y;ES(ES("Object","keys",!1,t),"forEach",!0,function(i){var r=t[i];if("function"==typeof r){var o=(e?e+".":"")+i,s=function e(t,n,i,r){var o;switch(/^_/.test(i)?o="hide":k&&!k[n]&&(o=w),o){case"hide":return;case"stub":return function(){_.warn("The method FB.%s has been removed from the JS SDK.",n)};default:return c.guard(function(){"warn"===o&&(_.warn("The method FB.%s is not officially supported by "+"Facebook and access to it will soon be removed.",n),C.hasOwnProperty(n)||(m.log(m.TYPE.WARNING,m.CATEGORY.DEPRECATED,"FB."+n),b.log("jssdk_error",{appId:g.getClientID(),error:"Private method used",extra:{args:n}}),C[n]=!0));var i,s=ES(Array.prototype.slice.call(arguments),"map",!0,function e(t){return ES("Array","isArray",!1,t)?ES(t,"map",!0,e):t&&"object"==typeof t&&t.__wrapped?t.__wrapped:"function"==typeof t&&/^function/.test(t.toString())?c.unguard(t):t}),a=t.apply(r,s),l=!0;if(a&&"object"==typeof a)for(var d in(i=ES("Object","create",!1,a)).__wrapped=a,a){var u=a[d];"function"==typeof u&&"constructor"!==d&&(l=!1,i[d]=e(u,n+":"+d,d,a))}return l&&l?a:i},n)}}(r,o,i,t);s&&(n[i]=s)}else"object"!=typeof r&&"number"!=typeof r||(o=(e?e+".":"")+i,k&&k[o]&&(n[i]=r))})}}),r.exports=S},null),__d("ArgumentError",["ManagedError"],function(e,t,n,i,r,o,s){function a(e,t){s.prototype.constructor.apply(this,arguments)}t.__markCompiled&&t.__markCompiled(),a.prototype=new s,a.prototype.constructor=a,r.exports=a},null),__d("errorCode",[],function(e,t,n,i,r,o){"use strict";t.__markCompiled&&t.__markCompiled(),r.exports=function(e){throw new Error("errorCode"+'("'+e+'"): This should not happen. Oh noes!')}},null),__d("sdk.safelyParseResponse",["errorCode"],function(e,t,n,i,r,o,s){"use strict";function a(e){try{return null===e?l:ES("JSON","parse",!1,e)}catch(e){return l}}t.__markCompiled&&t.__markCompiled();var l={error:{code:1,error_subcode:1357046,message:"Received Invalid JSON reply.",type:"http"}};a.ERROR=l,r.exports=a},null),__d("CORSRequest",["wrapFunction","QueryString","errorCode","sdk.safelyParseResponse"],function(e,t,n,i,r,o,s,a,l,d){t.__markCompiled&&t.__markCompiled();var u={execute:function(e,t,n,i){n.suppress_http_code=1;var r=a.encode(n);"post"!=t&&(e=a.appendToUrl(e,r),r="");var o=function(e,t){if(!self.XMLHttpRequest)return null;var n=new XMLHttpRequest,i=function(){};if("withCredentials"in n)n.open(e,t,!0),n.setRequestHeader("Content-type","application/x-www-form-urlencoded");else{if(!self.XDomainRequest)return null;n=new XDomainRequest;try{n.open(e,t),n.onprogress=n.ontimeout=i}catch(e){return null}}var r={send:function(e){n.send(e)}},o=s(function(){o=i,"onload"in r&&r.onload(n)},"entry","XMLHttpRequest:load"),a=s(function(){a=i,"onerror"in r&&r.onerror(n)},"entry","XMLHttpRequest:error");return n.onload=function(){o()},n.onerror=function(){a()},n.onreadystatechange=function(){4==n.readyState&&(200==n.status?o():a())},r}(t,e);return!!o&&(o.onload=function(e){i(d(e.responseText))},o.onerror=function(e){e.responseText?i(d(e.responseText)):i({error:{code:1,error_subcode:1357045,message:"unknown error (empty response)",status:e.status,type:"http"}})},o.send(r),!0)}};r.exports=u},null),__d("FlashRequest",["DOMWrapper","Flash","GlobalCallback","QueryString","Queue"],function(e,t,n,i,r,o,s,a,l,d,u){t.__markCompiled&&t.__markCompiled();var c,p,f,h={};var m={setSwfUrl:function(e){p=e},execute:function(e,t,n,i){n.suppress_http_code=1,n.method||(n.method=t);var r=d.encode(n);if("get"===t&&e.length+r.length<2e3?(e=d.appendToUrl(e,r),r=""):t="post",!c){if(!a.isAvailable())return!1;c=new u,function(){if(!p)throw new Error("swfUrl has not been set");var e=l.create(function(){c.start(function(e){var t=f.execute(e.method,e.url,e.body);if(!t)throw new Error("Could create request");h[t]=e.callback})}),t=l.create(function(e,t,n){var i;try{i=ES("JSON","parse",!1,decodeURIComponent(n))}catch(e){i={error:{type:"SyntaxError",message:e.message,status:t,raw:n}}}h[e](i),delete h[e]});f=a.embed(p,s.getRoot(),null,{log:!1,initCallback:e,requestCallback:t})}()}return c.enqueue({method:t,url:e,body:r,callback:i}),!0}};r.exports=m},null),__d("JSONPRequest",["DOMWrapper","GlobalCallback","QueryString"],function(e,t,n,i,r,o,s,a,l){t.__markCompiled&&t.__markCompiled();var d=2e3;var u={execute:function(e,t,n,i){var r=document.createElement("script"),o=function(e){o=function(){},a.remove(n.callback),i(e),r.parentNode.removeChild(r)};if(n.callback=a.create(o),n.method||(n.method=t),(e=l.appendToUrl(e,n)).length>d)return a.remove(n.callback),!1;r.onerror=function(){o({error:{type:"http",message:"unknown error"}})};var u=function(){setTimeout(function(){o({error:{type:"http",message:"unknown error"}})},0)};return r.addEventListener?r.addEventListener("load",u,!1):r.onreadystatechange=function(){/loaded|complete/.test(this.readyState)&&u()},r.src=e,s.getRoot().appendChild(r),!0},MAX_QUERYSTRING_LENGTH:d};r.exports=u},null),__d("flattenObject",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled(),r.exports=function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];if(null===i||undefined===i)continue;t[n]="string"==typeof i?i:ES("JSON","stringify",!1,i)}return t}},null),__d("ApiClient",["ArgumentError","Assert","CORSRequest","FlashRequest","flattenObject","JSONPRequest","Log","ObservableMixin","QueryString","sprintf","sdk.URI","UrlMap","ApiClientConfig","invariant","sdk.safelyParseResponse"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f,h,m,_,g,b,v,y){t.__markCompiled&&t.__markCompiled();var k,w,C,S=c.MAX_QUERYSTRING_LENGTH,E={get:!0,post:!0,delete:!0,put:!0},x={fql_query:!0,fql_multiquery:!0,friends_get:!0,notifications_get:!0,stream_get:!0,users_getinfo:!0},I=["jsonp","cors","flash"],A=[],R=[],T=null,O=0,N=[],D=0,P=50,F=105440539523;function U(e,t,n,i){if(0!==D&&O>=D)return N.push(function(){return U(e,t,n,i)}),void z.inform("request.queued",e,t,n);O++,C&&(n=ES("Object","assign",!1,{},C,n)),n.pretty=n.pretty||0,n=u(n);
1var r={jsonp:c,cors:l,flash:d},o={},s=n.access_token||k;s&&(o.access_token=s),n.routing_control&&(o.routing_control=n.routing_control);var a,p=ES("Object","keys",!1,o);p.length>0&&(e=h.appendToUrl(e,o),ES(p,"forEach",!0,function(e){return delete n[e]})),n.transport?(a=[n.transport],delete n.transport):a=I;for(var f=0;f<a.length;f++){var m=r[a[f]],_=ES("Object","assign",!1,{},n);if(m.execute(e,t,_,i))return}i({error:{type:"no-transport",message:"Could not find a usable transport for request"}})}function M(e,t,n,i,r,o){(o&&o.error&&z.inform("request.error",t,n,i,o,ES("Date","now",!1)-r),z.inform("request.complete",t,n,i,o,ES("Date","now",!1)-r),O--,e&&e(o),N.length>0&&O<D)&&N.shift()()}function L(e){var t=e.shift();a.isString(t,"Invalid path"),/^https?/.test(t)||"/"===t.charAt(0)||(t="/"+t);var n,i={};try{n=new _(t)}catch(e){throw new s(e.message,e)}ES(e,"forEach",!0,function(e){return i[typeof e]=e});var r=(i.string||"get").toLowerCase();a.isTrue(E.hasOwnProperty(r),m("Invalid method passed to ApiClient: %s",r));var o=i.function;o||p.warn("No callback passed to the ApiClient"),i.object&&n.addQueryData(u(i.object));var l=n.getQueryData();return l.method=r,{uri:n,callback:o,params:l}}function B(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=L(t),r=i.uri,o=i.callback,s=i.params,a=s.method;(function(e,t){return e.toString().length>S&&"get"===t})(r,a)&&(a="post");var l=r.getProtocol()&&r.getDomain()?r.setQueryData({}).toString():g.resolve("graph")+r.getPath();z.inform("request.prepare",l,s),U(l,"get"==a?"get":"post",s,ES(M,"bind",!0,null,o,r.getPath(),a,s,ES("Date","now",!1)))}function j(e){var t,n=L(e),i=n.uri,r=n.callback,o=n.params.method,s=i.removeQueryData("method").toString();return"post"==o.toLowerCase()&&(t=h.encode(i.getQueryData()),s=i.setQueryData({}).toString()),{body:t,callback:r,method:o,relative_url:s}}function V(){A.length>0||v(0),A.length!==R.length&&v(0);var e=A,t=R;if(A=[],R=[],T=null,1!==e.length)B("/","POST",{batch:e,include_headers:!1,batch_app_id:w||F},function(e){ES("Array","isArray",!1,e)?ES(e,"forEach",!0,function(e,n){t[n](y(e&&e.body))}):ES(t,"forEach",!0,function(e){return e({error:{message:"Fatal: batch call failed."}})})});else{var n=e[0],i=t[0],r=n.body?h.decode(n.body):null;B(n.relative_url,n.method,r,i)}}var z=ES("Object","assign",!1,new f,{setAccessToken:function(e){k=e},setAccessTokenForClientID:function(e,t){k&&w&&w!==t||(k=e)},getAccessToken:function(){return k},setClientID:function(e){w=e},setDefaultParams:function(e){C=e},setDefaultTransports:function(e){I=e},setMaxConcurrentRequests:function(e){D=e},getCurrentlyExecutingRequestCount:function(){return O},getQueuedRequestCount:function(){return N.length},rest:function(e,t){a.isObject(e),a.isString(e.method,"method missing"),t||p.warn("No callback passed to the ApiClient");var n=e.method.toLowerCase().replace(".","_");e.format="json-strings",e.api_key=w;var i=n in x?"api_read":"api";U(g.resolve(i)+"/restserver.php","get",e,ES(M,"bind",!0,null,t,"/restserver.php","get",e,ES("Date","now",!1)))},graph:B,scheduleBatchCall:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=j(t),r=i.body,o=i.callback,s={method:i.method,relative_url:i.relative_url};r&&(s.body=r),A.push(s),R.push(o),A.length==P?(T&&clearTimeout(T),V()):T||(T=setTimeout(V,0))},prepareBatchParams:j});d.setSwfUrl(b.FlashRequest.swfUrl),r.exports=z},null),__d("sdk.PlatformVersioning",["sdk.Runtime","ManagedError"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled();var l=/^v\d+\.\d\d?$/,d={REGEX:l,assertVersionIsSet:function(){if(!s.getVersion())throw new a("init not called with valid version")},assertValidVersion:function(e){if(!l.test(e))throw new a("invalid version specified")}};r.exports=d},null),__d("sdk.api",["ApiClient","sdk.PlatformVersioning","sdk.Runtime","sdk.Scribe","sdk.URI","sdk.feature"],function(e,t,n,i,r,o,s,a,l,d,u,c){t.__markCompiled&&t.__markCompiled();var p,f=c("should_log_response_error",!1);l.subscribe("ClientID.change",function(e){return s.setClientID(e)}),l.subscribe("AccessToken.change",function(e){p=e,s.setAccessToken(e)}),s.setDefaultParams({sdk:"joey"}),s.subscribe("request.complete",function(e,t,n,i){var r=!1;i&&"object"==typeof i&&(i.error?("invalid_token"==i.error||"OAuthException"==i.error.type&&190==i.error.code)&&(r=!0):i.error_code&&"190"==i.error_code&&(r=!0)),r&&p===l.getAccessToken()&&l.setAccessToken(null)}),s.subscribe("request.complete",function(e,t,n,i){("/me/permissions"==e&&"delete"===t||"/restserver.php"==e&&"Auth.revokeAuthorization"==n.method)&&!0===i&&l.setAccessToken(null)}),s.subscribe("request.error",function(e,t,n,i){f&&"http"===i.error.type&&d.log("jssdk_error",{appId:l.getClientID(),error:"transport",extra:{name:"transport",message:ES("JSON","stringify",!1,i.error)}})}),r.exports=function(e){if("string"==typeof e)if(l.getIsVersioned()){a.assertVersionIsSet(),/https?/.test(e)||"/"===e.charAt(0)||(e="/"+e),e=new u(e).setDomain(null).setProtocol(null).toString(),a.REGEX.test(e.substring(1,ES(e,"indexOf",!0,"/",1)))||(e="/"+l.getVersion()+e);
1var t=[e].concat(Array.prototype.slice.call(arguments,1));s.graph.apply(s,t)}else s.graph.apply(s,arguments);else s.rest.apply(s,arguments)}},null),__d("legacy:fb.api",["FB","sdk.api"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled(),s.provide("",{api:a})},3),__d("FBEventsParamList",[],function(e,t,n,i,r,o){"use strict";t.__markCompiled&&t.__markCompiled();var s="deep";function a(){this.list=[]}a.prototype={append:function(e,t){this._append(encodeURIComponent(e),t,s)},_append:function(e,t,n){Object(t)!==t?this._appendPrimitive(e,t):n===s?this._appendObject(e,t):this._appendPrimitive(e,function(e){return"undefined"!=typeof JSON&&null!==JSON&&ES("JSON","stringify",!1)?ES("JSON","stringify",!1,e):Object.prototype.toString.call(e)}(t))},_appendPrimitive:function(e,t){null!=t&&this.list.push([e,t])},_appendObject:function(e,t){for(var n in t)if(t.hasOwnProperty(n)){var i=e+"["+encodeURIComponent(n)+"]";this._append(i,t[n],"shallow")}},each:function(e){for(var t=this.list,n=0,i=t.length;n<i;n++)e(t[n][0],t[n][1])},toQueryString:function(){var e=[];return this.each(function(t,n){e.push(t+"="+encodeURIComponent(n))}),e.join("&")}},r.exports=a},null),__d("FBEventsUtils",[],function(e,t,n,i,r,o){"use strict";t.__markCompiled&&t.__markCompiled();var s="error",a="Facebook Pixel Error",l="Facebook Pixel Warning",d="warn",u=Object.prototype.toString,c=!("addEventListener"in document),p=window.console||{},f=window.postMessage||function(){};o.isArray=function(e){return ES("Array","isArray",!1)?ES("Array","isArray",!1,e):"[object Array]"===u.call(e)},o.logError=function(e){f({action:"FB_LOG",logType:a,logMessage:e},"*"),s in p&&p[s](a+": "+e)},o.logWarning=function(e){f({action:"FB_LOG",logType:l,logMessage:e},"*"),d in p&&p[d](l+": "+e)},o.listenOnce=function(e,t,n){t=c?"on"+t:t;var i=c?"detachEvent":"removeEventListener";e[c?"attachEvent":"addEventListener"](t,function r(){e[i](t,r,!1),n()},!1)},o.injectMethod=function(e,t,n){var i=e[t];e[t]=function(){var e=i.apply(this,arguments);return n.apply(this,arguments),e}}},null),__d("FBPixelEndpoint",["FBEventsParamList","FBEventsUtils"],function(e,t,n,i,r,o,s,a){"use strict";t.__markCompiled&&t.__markCompiled();var l="https://www.facebook.com/tr/",d=location.href,u=window.top!==window,c=document.referrer;var p={sendEvent:function(e,t,n,i){var r=function(e,t,n,i){i=i||{};var r=new s;for(var o in r.append("id",e),r.append("ev",t),r.append("dl",d),r.append("rl",c),r.append("if",u),r.append("ts",(new Date).valueOf()),r.append("cd",n),i)r.append(o,i[o]);return r}(e,t,n,i),o=r.toQueryString();2048>(l+"?"+o).length?function(e,t){(new Image).src=e+"?"+t}(l,o):function(e,t){var n="fb"+Math.random().toString().replace(".",""),i=document.createElement("form");i.method="post",i.action=e,i.target=n,i.acceptCharset="utf-8",i.style.display="none";var r=window.attachEvent&&!window.addEventListener?'<iframe name="'+n+'">':"iframe",o=document.createElement(r);o.src="javascript:false",o.id=n,o.name=n,i.appendChild(o),a.listenOnce(o,"load",function(){t.each(function(e,t){var n=document.createElement("input");n.name=e,n.value=t,i.appendChild(n)}),a.listenOnce(o,"load",function(){i.parentNode.removeChild(i)}),i.submit()}),document.body.appendChild(i)}(l,r)}};r.exports=p},null),__d("sdk.AppEvents",["Assert","sdk.Impressions","sdk.Runtime","FBPixelEndpoint","sdk.Auth"],function(e,t,n,i,r,o,s,a,l,d,u){t.__markCompiled&&t.__markCompiled();var c={COMPLETED_REGISTRATION:"fb_mobile_complete_registration",VIEWED_CONTENT:"fb_mobile_content_view",SEARCHED:"fb_mobile_search",RATED:"fb_mobile_rate",COMPLETED_TUTORIAL:"fb_mobile_tutorial_completion",ADDED_TO_CART:"fb_mobile_add_to_cart",ADDED_TO_WISHLIST:"fb_mobile_add_to_wishlist",INITIATED_CHECKOUT:"fb_mobile_initiated_checkout",ADDED_PAYMENT_INFO:"fb_mobile_add_payment_info",ACHIEVED_LEVEL:"fb_mobile_level_achieved",UNLOCKED_ACHIEVEMENT:"fb_mobile_achievement_unlocked",PAGE_VIEW:"fb_page_view",SPENT_CREDITS:"fb_mobile_spent_credits"},p={ACTIVATED_APP:"fb_mobile_activate_app",PURCHASED:"fb_mobile_purchase"},f={CURRENCY:"fb_currency",REGISTRATION_METHOD:"fb_registration_method",CONTENT_TYPE:"fb_content_type",CONTENT_ID:"fb_content_id",SEARCH_STRING:"fb_search_string",SUCCESS:"fb_success",MAX_RATING_VALUE:"fb_max_rating_value",PAYMENT_INFO_AVAILABLE:"fb_payment_info_available",NUM_ITEMS:"fb_num_items",LEVEL:"fb_level",DESCRIPTION:"fb_description"},h=40,m="^[0-9a-zA-Z_]+[0-9a-zA-Z _-]*$";function _(e,t,n,i){s.isTrue(g(t),"Invalid event name: "+t+". It must be between 1 and "+h+" characters, and must be contain only alphanumerics, _, - or spaces, starting with alphanumeric or _."),l.isCanvasEnvironment()?function(e,t,n,i){var r={ae:1,ev:t,vts:n,canvas:1};i&&(r.cd=i),a.impression({api_key:e,payload:ES("JSON","stringify",!1,r)})}.apply(null,arguments):function(e,t,n,i){var r={vts:n,es:"APP"},o=u.getAuthResponse();o&&o.accessToken&&(r.at=o.accessToken);var s=i;d.sendEvent(e,t,s,r)}.apply(null,arguments)}function g(e){return!(null===e||0===e.length||e.length>h||!new RegExp(m).test(e))}r.exports={activateApp:function(e){_(e,p.ACTIVATED_APP)},logEvent:_,logPurchase:function(e,t,n,i){var r={};r[f.CURRENCY]=n,_(e,p.PURCHASED,t,babelHelpers.extends({},i,r))},logPageView:function(e){_(e,c.PAGE_VIEW)},isValidEventName:g,EventNames:c,ParameterNames:f}}
1,null),__d("legacy:fb.appevents",["Assert","sdk.AppEvents","FB","sdk.Runtime"],function(e,t,n,i,r,o,s,a,l,d){t.__markCompiled&&t.__markCompiled(),l.provide("AppEvents",{logEvent:function(e,t,n){s.isString(e,"Invalid eventName"),s.maybeNumber(t,"Invalid valueToSum"),s.maybeObject(n,"Invalid params");var i=d.getClientID();s.isTrue(null!==i&&i.length>0,"You need to call FB.init() with App ID first."),a.logEvent(i,e,t,n)},logPurchase:function(e,t,n){s.isNumber(e,"Invalid purchaseAmount"),s.isString(t,"Invalid currency"),s.maybeObject(n,"Invalid params");var i=d.getClientID();s.isTrue(null!==i&&i.length>0,"You need to call FB.init() with App ID first."),a.logPurchase(i,e,t,n)},activateApp:function(){var e=d.getClientID();s.isTrue(null!==e&&e.length>0,"You need to call FB.init() with App ID first."),a.activateApp(e)},logPageView:function(){var e=d.getClientID();s.isTrue(null!==e&&e.length>0,"You need to call FB.init() with App ID first."),a.logPageView(e)},EventNames:a.EventNames,ParameterNames:a.ParameterNames})},3),__d("resolveURI",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled(),r.exports=function(e){if(!e)return window.location.href;e=e.replace(/&/g,"&amp;").replace(/"/g,"&quot;");var t=document.createElement("div");return t.innerHTML='<a href="'+e+'"></a>',t.firstChild.href}},null),__d("sdk.Canvas.Environment",["sdk.RPC"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled(),s.stub("getPageInfo"),s.stub("scrollTo");var a={getPageInfo:function(e){s.remote.getPageInfo(function(t){e(t.result)})},scrollTo:function(e,t){s.remote.scrollTo({x:e||0,y:t||0})}};r.exports=a},null),__d("sdk.DialogUtils",["sdk.Content","sdk.DOM","DOMEventListener","sdk.UA","sdk.feature"],function(e,t,n,i,r,o,s,a,l,d,u){"use strict";t.__markCompiled&&t.__markCompiled();var c={isOrientationPotrait:function(){return window.innerWidth<window.innerHeight},addDoubleClickAction:function(e,t,n){var i=null;return l.add(e,"click",function(){null!==i&&(clearTimeout(i),i=null,t()),i=setTimeout(function(){i=null},n)})},addIdleDesktopAction:function(e,t,n){var i=void 0,r=void 0,o=function(){i=setTimeout(t,n)};return o(),l.add(e,"mouseenter",function(){clearTimeout(i),r||(r=l.add(e,"mouseleave",function(){o()}))})},addMobileOrientationChangeAction:function(e){if(!d.mobile())return null;var t="onorientationchange"in window?"orientationchange":"resize";return l.add(window,t,function(t){return setTimeout(function(t){return e(t)},50)})},applyScreenDimensions:function(e){if(null!=e){var t=a.getViewportInfo();e.style.minHeight=t.height||t.width?t.height+"px":"",e.style.top=t.scrollTop?t.scrollTop+"px":""}},setDialogPositionToCenter:function(e,t,n){var i=function(e){return"number"==typeof e?e:parseInt(e,10)},r=a.getViewportInfo(),o=i(e.offsetWidth),s=i(e.offsetHeight),l=r.scrollLeft+(r.width-o)/2,c=(r.height-s)/2.5;l<c&&(c=l);var p=r.height-s-c,f=(r.height-s)/2;if(n&&(f=n.scrollTop-n.offsetTop+(n.clientHeight-s)/2),f<c?f=c:f>p&&(f=p),f+=r.scrollTop,d.mobile()){var h=100;t?(h+=(r.height-s)/2,a.addCss(document.body,"fb_reposition")):(a.addCss(document.body,"fb_hidden"),u("dialog_resize_refactor",!1)&&(document.body.style.width="auto"),f=1e4);var m=a.getByClass("fb_dialog_padding",e);m.length&&(m[0].style.height=h+"px")}e.style.left=(l>0?l:0)+"px",e.style.top=(f>0?f:0)+"px"},setDialogPositionToTop:function(e,t,n){this.setDialogPositionToCenter(e,t,n);var i=a.getViewportInfo(),r=i.scrollTop+.05*(i.height-e.offsetHeight);a.setStyle(e,"top",r+"px")},setupNewDarkOverlay:function(){var e=document.createElement("div");return e.setAttribute("id","fb_dialog_ipad_overlay"),this.applyScreenDimensions(e),e},setupNewDialog:function(e){e=e||{};var t=document.createElement("div"),n=e.onClose;if(e.closeIcon&&n){var i=document.createElement("a");i.className="fb_dialog_close_icon",l.add(i,"click",n),t.appendChild(i)}var r="fb_dialog";if(r+=" "+(e.classes||""),d.ie()?(r+=" fb_dialog_legacy",ES(["vert_left","vert_right","horiz_top","horiz_bottom","top_left","top_right","bottom_left","bottom_right"],"forEach",!0,function(e){var n=document.createElement("span");n.className="fb_dialog_"+e,t.appendChild(n)})):r+=d.mobile()?" fb_dialog_mobile":" fb_dialog_advanced",t.className=r,e.width){var o=parseInt(e.width,10);isNaN(o)||(t.style.width=o+"px")}var a=document.createElement("div");if(e.content&&s.append(e.content,a),a.className="fb_dialog_content",t.appendChild(a),d.mobile()){var u=document.createElement("div");u.className="fb_dialog_padding",t.appendChild(u)}return{dialogElement:t,contentRoot:a}},onDialogHideCleanup:function(e){var t=document.body;e?a.removeCss(t,"fb_reposition"):a.removeCss(t,"fb_hidden")}};r.exports=c},null),__d("sdk.fbt",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();r.exports={_:function(e){return"string"==typeof e?e:e[0]}}}
1,null),__d("sdk.Dialog",["sdk.Canvas.Environment","sdk.Content","sdk.DialogUtils","sdk.DOM","DOMEventListener","ObservableMixin","sdk.Runtime","Type","sdk.UA","sdk.fbt","sdk.feature"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f,h,m,_){t.__markCompiled&&t.__markCompiled();var g=590,b=500;function v(){if(_("dialog_resize_refactor",!1)){var e=d.getViewportInfo();if(e.height&&e.width)return{width:Math.min(e.width,b),height:Math.min(e.height,g)}}return null}var y=f.extend({constructor:function(e,t){this.parent(),this.id=e,this.display=t,this._e2e={},k._dialogs||(k._dialogs={},k._addOrientationHandler()),k._dialogs[e]=this,this.trackEvent("init")},trackEvent:function(e,t){return this._e2e[e]?this:(this._e2e[e]=t||ES("Date","now",!1),"close"==e&&this.inform("e2e:end",this._e2e),this)},trackEvents:function(e){for(var t in"string"==typeof e&&(e=ES("JSON","parse",!1,e)),e)e.hasOwnProperty(t)&&this.trackEvent(t,e[t]);return this}},c),k={newInstance:function(e,t){return new y(e,t)},_dialogs:null,_lastYOffset:0,_overlayListeners:[],_loaderEl:null,_overlayEl:null,_stack:[],_active:null,_forceTabletStyle:null,_closeOnOverlayTap:null,_positionDialogAtTopWhenPortrait:null,get:function(e){return k._dialogs[e]},_findRoot:function(e){for(;e;){if(d.containsCss(e,"fb_dialog"))return e;e=e.parentNode}},_createWWWLoader:function(e){return e=e||460,k.create({content:'<div class="dialog_title">'+'  <a id="fb_dialog_loader_close">    <div class="fb_dialog_close_icon"></div>  </a>  <span>Facebook</span>  <div style="clear:both;"></div></div><div class="dialog_content"></div><div class="dialog_footer"></div>',width:e})},_createMobileLoader:function(){var e;return e=h.nativeApp()?'<div class="dialog_header"></div>':k.isTabletStyle()?'<div class="overlayLoader">'+'<div id="fb_dialog_loader_spinner"></div><a id="fb_dialog_loader_close" href="#">'+m._("Cancel")+"</a></div>":'<div class="dialog_header">'+'<table>  <tbody>    <tr>      <td class="header_left">        <label class="touchable_button">          <input type="submit" value="'+m._("Cancel")+'"            id="fb_dialog_loader_close"/>        </label>      </td>      <td class="header_center">        <div>         '+m._("Loading...")+'        </div>      </td>      <td class="header_right">      </td>    </tr>  </tbody></table></div>',k.create({classes:"loading"+(k.isTabletStyle()?" centered":""),content:e})},_setDialogOverlayStyle:function(){l.applyScreenDimensions(k._overlayEl)},_showTabletOverlay:function(e){if(k.isTabletStyle()){if(k._overlayEl||(k._overlayEl=l.setupNewDarkOverlay(),a.append(k._overlayEl,null)),k._closeOnOverlayTap){var t=l.addDoubleClickAction(k._overlayEl,ES(e,"bind",!0,this),5e3);k._overlayListeners.push(t)}k._overlayEl.className=""}},_hideTabletOverlay:function(){k.isTabletStyle()&&(k._overlayEl.className="hidden",ES(k._overlayListeners,"forEach",!0,function(e){return e.remove()}),k._overlayListeners=[])},showLoader:function(e,t){e||(e=function(){});var n=function(){k._hideLoader(),l.onDialogHideCleanup(k.isTabletStyle()),k._hideTabletOverlay(),e()};k._showTabletOverlay(n),k._loaderEl||(k._loaderEl=k._findRoot(h.mobile()?k._createMobileLoader():k._createWWWLoader(t)));var i=document.getElementById("fb_dialog_loader_close");if(i){d.removeCss(i,"fb_hidden");var r=u.add(i,"click",n);k._overlayListeners.push(r)}k._makeActive(k._loaderEl)},setCloseOnOverlayTap:function(e){k._closeOnOverlayTap=!!e},setPositionDialogAtTopWhenPortrait:function(e){k._positionDialogAtTopWhenPortrait=!!e},_hideLoader:function(){k._loaderEl&&k._loaderEl==k._active&&(k._loaderEl.style.top="-10000px")},_makeActive:function(e){k._setDialogSizes(),k._lowerActive(),k._active=e,p.isEnvironment(p.ENVIRONMENTS.CANVAS)&&s.getPageInfo(function(e){k._centerActive(e)}),k._centerActive()},_lowerActive:function(){k._active&&(k._active.style.top="-10000px",k._active=null)},_removeStacked:function(e){k._stack=ES(k._stack,"filter",!0,function(t){return t!=e})},_centerActive:function(e){var t=k._active;t&&(k._positionDialogAtTopWhenPortrait&&l.isOrientationPotrait()?l.setDialogPositionToTop(t,k.isTabletStyle(),e):l.setDialogPositionToCenter(t,k.isTabletStyle(),e))},_setDialogSizes:function(){var e=!(arguments.length<=0||arguments[0]===undefined)&&arguments[0];if(h.mobile())for(var t in k._dialogs)if(k._dialogs.hasOwnProperty(t)){var n=document.getElementById(t);n&&(n.style.width=k.getDefaultSize().width+"px",e||(n.style.height=k.getDefaultSize().height+"px"))}},getDefaultSize:function(){if(h.mobile()){var e=v();if(e)return d.getViewportInfo().width<=e.width&&(e.width=d.getViewportInfo().width-30),d.getViewportInfo().height<=e.height&&(e.height=d.getViewportInfo().height-30),e;if(h.ipad())return{width:b,height:g};
1if(h.android())return{width:screen.availWidth,height:screen.availHeight};var t=window.innerWidth,n=window.innerHeight,i=t/n>1.2;return{width:t,height:Math.max(n,i?screen.width:screen.height)}}return{width:575,height:240}},_handleOrientationChange:function(){var e=_("dialog_resize_refactor",!1)?d.getViewportInfo().width:screen.availWidth;if(k._availScreenWidth=e,k.isTabletStyle())k._setDialogSizes(!0),k._centerActive(),k._setDialogOverlayStyle();else{var t=k.getDefaultSize().width;for(var n in k._dialogs)if(k._dialogs.hasOwnProperty(n)){var i=document.getElementById(n);i&&(i.style.width=t+"px")}}},_addOrientationHandler:function(){if(!h.mobile())return null;k._availScreenWidth=_("dialog_resize_refactor",!1)?d.getViewportInfo().width:screen.availWidth,l.addMobileOrientationChangeAction(k._handleOrientationChange)},create:function(e){var t=l.setupNewDialog(e);return a.append(t.dialogElement),e.visible&&k.show(t.dialogElement),"object"==typeof e.styles&&ES("Object","assign",!1,t.dialogElement.style,e.styles),t.contentRoot},show:function(e){var t=k._findRoot(e);t&&(k._removeStacked(t),k._hideLoader(),k._makeActive(t),k._stack.push(t),"fbCallID"in e&&k.get(e.fbCallID).inform("iframe_show").trackEvent("show"))},hide:function(e){var t=k._findRoot(e);k._hideLoader(),t==k._active&&(k._lowerActive(),l.onDialogHideCleanup(k.isTabletStyle()),k._hideTabletOverlay(),"fbCallID"in e&&k.get(e.fbCallID).inform("iframe_hide").trackEvent("hide"))},remove:function(e){if(e=k._findRoot(e)){var t=k._active==e;k._removeStacked(e),t?(k._hideLoader(),k._stack.length>0?k.show(k._stack.pop()):(k._lowerActive(),l.onDialogHideCleanup(k.isTabletStyle()),k._hideTabletOverlay())):null===k._active&&k._stack.length>0&&k.show(k._stack.pop()),setTimeout(function(){e.parentNode.removeChild(e)},3e3)}},isActive:function(e){var t=k._findRoot(e);return t&&t===k._active},setForceTabletStyle:function(e){k._forceTabletStyle=!!e},isTabletStyle:function(){var e;if(!h.mobile())return!1;if(k._forceTabletStyle)return!0;if(_("dialog_resize_refactor",!1)){var t=v();e=t&&(t.height>=g||t.width>=b)}else e=!!h.ipad();return e}};r.exports=k},null),__d("sdk.Frictionless",["sdk.Auth","sdk.api","sdk.Event","sdk.Dialog"],function(e,t,n,i,r,o,s,a,l,d){t.__markCompiled&&t.__markCompiled();var u={_allowedRecipients:{},_useFrictionless:!1,_updateRecipients:function(){u._allowedRecipients={},a("/me/apprequestformerrecipients",function(e){e&&!e.error&&ES(e.data,"forEach",!0,function(e){u._allowedRecipients[e.recipient_id]=!0})})},init:function(){u._useFrictionless=!0,s.getLoginStatus(function(e){"connected"==e.status&&u._updateRecipients()}),l.subscribe("auth.login",function(e){e.authResponse&&u._updateRecipients()})},_processRequestResponse:function(e,t){return function(n){var i=n&&n.updated_frictionless;u._useFrictionless&&i&&u._updateRecipients(),n&&(!t&&n.frictionless&&(d._hideLoader(),d._restoreBodyPosition(),d._hideIPadOverlay()),delete n.frictionless,delete n.updated_frictionless),e&&e(n)}},isAllowed:function(e){if(!e)return!1;if("number"==typeof e)return e in u._allowedRecipients;"string"==typeof e&&(e=e.split(",")),e=ES(e,"map",!0,function(e){return ES(String(e),"trim",!0)});var t=!0,n=!1;return ES(e,"forEach",!0,function(e){t=t&&e in u._allowedRecipients,n=!0}),t&&n}};l.subscribe("init:post",function(e){e.frictionlessRequests&&u.init()}),r.exports=u},null),__d("sdk.Native",["Log","sdk.UA"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled();var l="fbNativeReady",d={onready:function(e){if(a.nativeApp())if(window.__fbNative&&!this.nativeReady&&ES("Object","assign",!1,this,window.__fbNative),this.nativeReady)e();else{window.addEventListener(l,function t(n){window.removeEventListener(l,t),this.onready(e)},!1)}else s.error("FB.Native.onready only works when the page is rendered "+"in a WebView of the native Facebook app. Test if this is the case calling FB.UA.nativeApp()")}};r.exports=d},null),__d("sdk.openMessenger",["sdk.UA"],function(e,t,n,i,r,o,s){"use strict";t.__markCompiled&&t.__markCompiled();var a="https://itunes.apple.com/us/app/messenger/id454638411",l="https://play.google.com/store/apps/details?id=com.facebook.orca",d=3e3;r.exports=function(e){var t=void 0,n=void 0,i=e.link,r=e.app_id;s.android()?(t="intent://share/#Intent;"+"package=com.facebook.orca;
1scheme=fb-messenger;S.android.intent.extra.TEXT="+encodeURIComponent(i)+";S.trigger=send_plugin;",r&&(t+="S.platform_app_id="+encodeURIComponent(r)+";"),t+="end",n=l):(t="fb-messenger://share?link="+encodeURIComponent(i),r&&(t+="&app_id="+encodeURIComponent(r)),n=a),setTimeout(function(){window.location.href=n},d),window.location.href=t}},null),__d("sdk.UIServer",["sdk.Auth","sdk.Content","sdk.DOM","sdk.Dialog","sdk.Event","sdk.Frictionless","Log","sdk.Native","QueryString","sdk.RPC","sdk.Runtime","JSSDKConfig","sdk.UA","UrlMap","sdk.XD","createObjectFrom","sdk.feature","sdk.fbt","flattenObject","sdk.getContextType","guid","insertIframe","sdk.openMessenger","resolveURI"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f,h,m,_,g,b,v,y,k,w,C,S,E,x,I,A,R){t.__markCompiled&&t.__markCompiled();var T={transform:function(e){return"touch"===e.params.display&&D.canIframe(e.params)&&window.postMessage?(e.params.channel=D._xdChannelHandler(e.id,"parent"),b.nativeApp()||(e.params.in_iframe=1),e):D.genericTransform(e)},getXdRelation:function(e){return"touch"===e.display&&window.postMessage&&e.in_iframe?"parent":D.getXdRelation(e)}},O={"stream.share":{size:{width:670,height:340},url:"sharer.php",transform:function(e){return e.params.u||(e.params.u=window.location.toString()),e.params.display="popup",e}},apprequests:{transform:function(e){return(e=T.transform(e)).params.frictionless=c&&c._useFrictionless,e.params.frictionless&&(c.isAllowed(e.params.to)&&(e.params.display="iframe",e.params.in_iframe=!0,e.hideLoader=!0),e.cb=c._processRequestResponse(e.cb,e.hideLoader)),e.closeIcon=!1,e},getXdRelation:T.getXdRelation},"permissions.oauth":{url:"dialog/oauth",size:{width:b.mobile()?null:475,height:b.mobile()?null:183},transform:function(e){if(_.getClientID()){if(s.getAuthResponse()&&!e.params.scope&&!e.params.auth_type)return p.error("FB.login() called when user is already connected."),void(e.cb&&e.cb({status:_.getLoginStatus(),authResponse:s.getAuthResponse()}));var t=e.cb,n=e.id;delete e.cb;var i=ES("Object","keys",!1,ES("Object","assign",!1,e.params.response_type?k(e.params.response_type.split(",")):{},{token:!0,signed_request:!0})).join(",");return"async"===e.params.display?(ES("Object","assign",!1,e.params,{client_id:_.getClientID(),origin:E(),response_type:i,domain:location.hostname}),e.cb=s.xdResponseWrapper(t,s.getAuthResponse(),"permissions.oauth")):ES("Object","assign",!1,e.params,{client_id:_.getClientID(),redirect_uri:R(D.xdHandler(t,n,"opener",s.getAuthResponse(),"permissions.oauth")),origin:E(),response_type:i,domain:location.hostname}),e}p.error("FB.login() called before FB.init().")}},"auth.logout":{url:"logout.php",transform:function(e){if(_.getClientID()){if(s.getAuthResponse())return e.params.next=D.xdHandler(e.cb,e.id,"parent",s.getAuthResponse(),"logout"),e;p.error("FB.logout() called without an access token.")}else p.error("FB.logout() called before calling FB.init().")}},"login.status":{url:"dialog/oauth",transform:function(e){var t=e.cb,n=e.id;return delete e.cb,ES("Object","assign",!1,e.params,{client_id:_.getClientID(),redirect_uri:D.xdHandler(t,n,"parent",s.getAuthResponse(),"login_status"),origin:E(),response_type:"token,signed_request,code",domain:location.hostname}),e}},pay:{size:{width:555,height:120},connectDisplay:"popup"},live_broadcast:{transform:function(e){return"create"===e.params.phase&&(e.size={width:480,height:280}),"publish"===e.params.phase&&(e.size={width:772,height:540}),e},require_access_token:!0}},N={};var D={Methods:O,_loadedNodes:{},_defaultCb:{},_resultToken:'"xxRESULTTOKENxx"',genericTransform:function(e){return"dialog"!=e.params.display&&"iframe"!=e.params.display||ES("Object","assign",!1,e.params,{display:"iframe",channel:D._xdChannelHandler(e.id,"parent.parent")},!0),e},checkOauthDisplay:function(e){var t=e.scope||e.perms||_.getScope();if(!t)return e.display;for(var n=t.split(/\s|,/g),i=0;i<n.length;i++)if(!g.initSitevars.iframePermissions[ES(n[i],"trim",!0)])return"popup";return e.display},prepareCall:function(e,t){var n=e.method.toLowerCase(),i=D.Methods.hasOwnProperty(n)?ES("Object","assign",!1,{},D.Methods[n]):{},r=x(),o=_.getSecure()||"auth.status"!==n&&"login.status"!=n;if(ES("Object","assign",!1,e,{app_id:_.getClientID(),locale:_.getLocale(),sdk:"joey",access_token:o&&_.getAccessToken()||undefined}),"share"!==n&&"share_open_graph"!==n||(e.mobile_iframe=b.mobile()&&(e.mobile_iframe||e.iframe_test),e.mobile_iframe&&(i=ES("Object","assign",!1,{},T))),e.display=D.getDisplayMode(i,e),i.url||(i.url="dialog/"+n),"dialog/oauth"!=i.url&&"dialog/permissions.request"!=i.url||!("iframe"==e.display||"touch"==e.display&&e.in_iframe)||(e.display=D.checkOauthDisplay(e)),"popup"!=e.display||i.require_access_token||delete e.access_token,_.getIsVersioned()&&"dialog/"===i.url.substring(0,7)&&(i.url=e.version+"/"+i.url),function(e){return!!w("should_force_single_dialog_instance",!0)&&"pay"===e.method.toLowerCase()&&"async"===e.display}(e)){if(N[n]){var s='Dialog "'+n+'" is trying to run more than once.';return p.warn(s),void t({error_code:-100,error_message:s})}t=function(e,t){return N[t]=!0,function(n){delete N[t],e(n)}}(t,n)}var a={cb:t,id:r,size:i.size||D.getDefaultSize(),url:v.resolve("touch"==e.display?"m":"www",o)+"/"+i.url,params:e,name:n,dialog:d.newInstance(r,e.display)},l=i.transform?i.transform:D.genericTransform;if(!l||(a=l(a))){"touch"===e.display&&e.in_iframe&&(a.params.parent_height=window.innerHeight);var u=(i.getXdRelation||D.getXdRelation)(a.params);return a.id in D._defaultCb||"next"in a.params||"redirect_uri"in a.params||(a.params.next=D._xdResult(a.cb,a.id,u,!0)),"parent"===u&&ES("Object","assign",!1,a.params,{channel_url:D._xdChannelHandler(r,"parent.parent")},!0),a=D.prepareParams(a)}},prepareParams:function(e){"async"!==e.params.display&&delete e.params.method,e.params=S(e.params);var t=h.encode(e.params);return!b.nativeApp()&&D.urlTooLongForIE(e.url+"?"+t)?e.post=!0:t&&(e.url+="?"+t),e},urlTooLongForIE:function(e){return b.ie()&&b.ie()<=8&&e.length>2048},getDisplayMode:function(e,t){if("hidden"===t.display||"none"===t.display||"native"===t.display)return t.display;var n=_.isEnvironment(_.ENVIRONMENTS.CANVAS)||_.isEnvironment(_.ENVIRONMENTS.PAGETAB);return n&&!t.display?"async":b.mobile()||"touch"===t.display?"touch":"iframe"!=t.display&&"dialog"!=t.display||D.canIframe(t)?e.connectDisplay&&!n?e.connectDisplay:t.display||(D.canIframe(t)?"dialog":"popup"):(p.error('"dialog" mode can only be used when the user is connected.'),"popup")},canIframe:function(e){return!!_.getAccessToken()||!(!b.mobile()||!_.getLoggedIntoFacebook())&&!!e.mobile_iframe}
1,getXdRelation:function(e){var t=e.display;return"popup"===t||"touch"===t?"opener":"dialog"===t||"iframe"===t||"hidden"===t||"none"===t?"parent":"async"===t?"parent.frames["+window.name+"]":void 0},popup:function(e){var t,n=void 0!==window.screenX?window.screenX:window.screenLeft,i=void 0!==window.screenY?window.screenY:window.screenTop,r=void 0!==window.outerWidth?window.outerWidth:document.documentElement.clientWidth,o=void 0!==window.outerHeight?window.outerHeight:document.documentElement.clientHeight-22,s=b.mobile()?null:e.size.width,l=b.mobile()?null:e.size.height,d=n<0?window.screen.width+n:n,u=parseInt(d+(r-s)/2,10),c=parseInt(i+(o-l)/2.5,10),p=[];null!==s&&p.push("width="+s),null!==l&&p.push("height="+l),p.push("left="+u),p.push("top="+c),p.push("scrollbars=1"),"permissions.request"!=e.name&&"permissions.oauth"!=e.name||p.push("location=1,toolbar=0"),p=p.join(","),e.post?(t=window.open("about:blank",e.id,p),t&&(D.setLoadedNode(e,t,"popup"),a.submitToTarget({url:e.url,target:e.id,params:e.params}))):(t=window.open(e.url,e.id,p),t&&D.setLoadedNode(e,t,"popup")),t&&e.id in D._defaultCb&&D._popupMonitor()},setLoadedNode:function(e,t,n){"iframe"===n&&(t.fbCallID=e.id),t={node:t,type:n,fbCallID:e.id},D._loadedNodes[e.id]=t},getLoadedNode:function(e){var t="object"==typeof e?e.id:e,n=D._loadedNodes[t];return n?n.node:null},hidden:function(e){e.className="FB_UI_Hidden",e.root=a.appendHidden(""),D._insertIframe(e)},iframe:function(e){e.className="FB_UI_Dialog",e.params.mobile_iframe&&(d.setForceTabletStyle(!0),d.setCloseOnOverlayTap(!0),d.setPositionDialogAtTopWhenPortrait(!0));var t=function(){var t=ES("JSON","stringify",!1,{error_code:4201,error_message:C._("User canceled the Dialog flow")});D._triggerDefault(e.id,t)},n={onClose:t,closeIcon:e.closeIcon===undefined||e.closeIcon,classes:d.isTabletStyle()?"centered":""};e.params.mobile_iframe&&(n.styles={"border-radius":"8px"}
1),e.root=d.create(n),e.hideLoader||d.showLoader(t,e.size.width),l.addCss(e.root,"fb_dialog_iframe"),D._insertIframe(e)},touch:function(e){e.params&&e.params.in_iframe?e.ui_created?d.showLoader(function(){D._triggerDefault(e.id,null)},0):D.iframe(e):b.nativeApp()&&!e.ui_created?(e.frame=e.id,f.onready(function(){D.setLoadedNode(e,f.open(e.url+"#cb="+e.frameName),"native")}),D._popupMonitor()):e.ui_created||D.popup(e)},async:function(e){e.params.redirect_uri=location.protocol+"//"+location.host+location.pathname,delete e.params.access_token,m.remote.showDialog(e.params,function(t){var n=t.result;if(n&&n.e2e){var i=d.get(e.id);i.trackEvents(n.e2e),i.trackEvent("close"),delete n.e2e}e.cb(n)})},native:function(e){A(e.params)},getDefaultSize:function(){return d.getDefaultSize()},_insertIframe:function(e){D._loadedNodes[e.id]=!1;var t=function(t){e.id in D._loadedNodes&&D.setLoadedNode(e,t,"iframe")};e.post?I({url:"about:blank",root:e.root,className:e.className,width:e.size.width,height:e.size.height,id:e.id,onInsert:t,onload:function(t){a.submitToTarget({url:e.url,target:t.name,params:e.params})}}):I({url:e.url,root:e.root,className:e.className,width:e.size.width,height:e.size.height,id:e.id,name:e.frameName,onInsert:t})},_handleResizeMessage:function(e,t){var n=D.getLoadedNode(e);n&&(t.height&&(n.style.height=t.height+"px"),t.width&&(n.style.width=t.width+"px"),y.inform("resize.ack",t||{},"parent.frames["+n.name+"]"),d.isActive(n)?d._centerActive():d.show(n))},_triggerDefault:function(e,t){var n={frame:e};t&&(n.result=t),D._xdRecv(n,D._defaultCb[e]||function(){})},_popupMonitor:function(){var e;for(var t in D._loadedNodes)if(D._loadedNodes.hasOwnProperty(t)&&t in D._defaultCb){var n=D._loadedNodes[t];if("popup"!=n.type&&"native"!=n.type)continue;var i=n.node;try{i.closed?D._triggerDefault(t,null):e=!0}catch(e){}}e&&!D._popupInterval?D._popupInterval=setInterval(D._popupMonitor,100):!e&&D._popupInterval&&(clearInterval(D._popupInterval),D._popupInterval=null)},_xdChannelHandler:function(e,t){return y.handler(function(t){var n=D.getLoadedNode(e);if(n)if("resize"==t.type)D._handleResizeMessage(e,t);else if("hide"==t.type)d.hide(n);else if("rendered"==t.type){var i=d._findRoot(n);d.show(i)}else"fireevent"==t.type&&u.fire(t.event)},t,!0,null)},_xdNextHandler:function(e,t,n,i){return i&&(D._defaultCb[t]=e),y.handler(function(t){D._xdRecv(t,e)},n)+"&frame="+t},_xdRecv:function(e,t){var n=D.getLoadedNode(e.frame);if(n)if(n.close)try{n.close(),/iPhone.*Version\/(5|6)/.test(navigator.userAgent)&&"5"!==RegExp.$1&&window.focus(),D._popupCount--}catch(e){}else l.containsCss(n,"FB_UI_Hidden")?setTimeout(function(){n.parentNode.parentNode.removeChild(n.parentNode)},3e3):l.containsCss(n,"FB_UI_Dialog")&&d.remove(n);if(delete D._loadedNodes[e.frame],delete D._defaultCb[e.frame],e.e2e){var i=d.get(e.frame);i.trackEvents(e.e2e),i.trackEvent("close"),delete e.e2e}t(e)},_xdResult:function(e,t,n,i){return D._xdNextHandler(function(t){e&&e(t.result&&t.result!=D._resultToken&&ES("JSON","parse",!1,t.result))},t,n,i)+"&result="+encodeURIComponent(D._resultToken)},xdHandler:function(e,t,n,i,r){return D._xdNextHandler(s.xdResponseWrapper(e,i,r),t,n,!0)}};m.stub("showDialog"),r.exports=D},null),__d("sdk.ui",["Assert","sdk.Impressions","Log","sdk.PlatformVersioning","sdk.Runtime","sdk.UIServer","sdk.feature"],function(e,t,n,i,r,o,s,a,l,d,u,c,p){t.__markCompiled&&t.__markCompiled(),r.exports=function(e,t){if(s.isObject(e),s.maybeFunction(t),u.getIsVersioned()&&(d.assertVersionIsSet(),e.version?d.assertValidVersion(e.version):e.version=u.getVersion()),!(e=ES("Object","assign",!1,{},e)).method)return l.error('"method" is a required parameter for FB.ui().'),null;"pay.prompt"==e.method&&(e.method="pay");var n=e.method;if(e.redirect_uri&&(l.warn("When using FB.ui, you should not specify a redirect_uri."),delete e.redirect_uri),"permissions.request"!=n&&"permissions.oauth"!=n||"iframe"!=e.display&&"dialog"!=e.display||(e.display=c.checkOauthDisplay(e)),"native"===e.display&&"send"!==n)return l.error('display type "native" not supported'),null;var i=p("e2e_tracking",!0);i&&(e.e2e={});var r=c.prepareCall(e,t||function(){});if(!r)return null;var o=r.params.display;"dialog"===o?o="iframe":"none"===o&&(o="hidden");var f=c[o];return f?(i&&r.dialog.subscribe("e2e:end",function(e){e.method=n,e.display=o,l.debug("e2e: %s",ES("JSON","stringify",!1,e)),a.log(114,{payload:e})}),f(r),r.dialog):(l.error('"display" must be one of "popup", '+'"dialog", "iframe", "touch", "async", "hidden", or "none"'),null)}},null),__d("legacy:fb.auth",["sdk.Auth","sdk.Cookie","sdk.Event","FB","Log","sdk.Runtime","sdk.SignedRequest","sdk.ui"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f){t.__markCompiled&&t.__markCompiled(),d.provide("",{getLoginStatus:function(){return s.getLoginStatus.apply(s,arguments)},getAuthResponse:function(){return s.getAuthResponse()},getAccessToken:function(){return c.getAccessToken()||null},getUserID:function(){return c.getUserID()||c.getCookieUserID()},login:function(e,t){t&&t.perms&&!t.scope&&(t.scope=t.perms,delete t.perms,u.warn("OAuth2 specification states that 'perms' "+"should now be called 'scope'.  Please update."));var n=c.isEnvironment(c.ENVIRONMENTS.CANVAS)||c.isEnvironment(c.ENVIRONMENTS.PAGETAB);f(babelHelpers.extends({method:"permissions.oauth",display:n?"async":"popup",domain:location.hostname},t||{}),e)},logout:function(e){f({method:"auth.logout",display:"hidden"},e)}}),s.subscribe("logout",ES(l.fire,"bind",!0,l,"auth.logout")),s.subscribe("login",ES(l.fire,"bind",!0,l,"auth.login")),s.subscribe("authresponse.change",ES(l.fire,"bind",!0,l,"auth.authResponseChange")),s.subscribe("status.change",ES(l.fire,"bind",!0,l,"auth.statusChange")),l.subscribe("init:post",function(e){if(e.status&&s.getLoginStatus(),c.getClientID())if(e.authResponse)s.setAuthResponse(e.authResponse,"connected");else if(c.getUseCookie()){var t,n=a.loadSignedRequest();if(n){try{t=p.parse(n)}catch(e){a.clearSignedRequestCookie()}
1t&&t.user_id&&c.setCookieUserID(t.user_id)}a.loadMeta()}})},3),__d("sdk.Canvas.IframeHandling",["DOMWrapper","sdk.RPC"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled();var l,d=null;function u(e){"object"!=typeof e&&(e={});var t=0,n=0;if(e.height||(e.height=function(){var e=s.getWindow().document,t=e.body,n=e.documentElement,i=Math.max(t.offsetTop,0),r=Math.max(n.offsetTop,0),o=t.scrollHeight+i,a=t.offsetHeight+i,l=n.scrollHeight+r,d=n.offsetHeight+r;return Math.max(o,a,l,d)}(),t=16,n=4),e.frame||(e.frame=window.name||"iframe_canvas"),l){var i=l.height,r=e.height-i;if(r<=n&&r>=-t)return!1}return l=e,a.remote.setSize(e),!0}a.stub("setSize");var c={setSize:u,setAutoGrow:function(e,t){t===undefined&&"number"==typeof e&&(t=e,e=!0),e||e===undefined?(null===d&&(d=setInterval(function(){u()},t||100)),u()):null!==d&&(clearInterval(d),d=null)}};r.exports=c},null),__d("sdk.Canvas.Navigation",["sdk.RPC"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled(),s.stub("setNavigationEnabled");var a={setUrlHandler:function(e){s.local.navigate=function(t){e({path:t})},s.remote.setNavigationEnabled(!0)}};r.exports=a},null),__d("sdk.Canvas.Plugin",["Log","sdk.RPC","sdk.Runtime","sdk.UA","sdk.api"],function(e,t,n,i,r,o,s,a,l,d,u){t.__markCompiled&&t.__markCompiled();var c="CLSID:D27CDB6E-AE6D-11CF-96B8-444553540000",p="CLSID:444785F1-DE89-4295-863A-D46C3A781394",f=null,h=d.osx()&&d.osx.getVersionParts(),m=!(h&&h[0]>10&&h[1]>10&&(d.chrome()>=31||d.webkit()>=537.71||d.firefox()>=25));function _(e){e._hideunity_savedstyle={},e._hideunity_savedstyle.left=e.style.left,e._hideunity_savedstyle.position=e.style.position,e._hideunity_savedstyle.width=e.style.width,e._hideunity_savedstyle.height=e.style.height,e.style.left="-10000px",e.style.position="absolute",e.style.width="1px",e.style.height="1px"}function g(e){e._hideunity_savedstyle&&(e.style.left=e._hideunity_savedstyle.left,e.style.position=e._hideunity_savedstyle.position,e.style.width=e._hideunity_savedstyle.width,e.style.height=e._hideunity_savedstyle.height)}function b(e){e._old_visibility=e.style.visibility,e.style.visibility="hidden"}function v(e){e.style.visibility=e._old_visibility||"",delete e._old_visibility}function y(e){var t=ES("Array","from",!1,window.document.getElementsByTagName("object"));t=t.concat(ES("Array","from",!1,window.document.getElementsByTagName("embed")));var n=!1,i=!1;if(ES(t,"forEach",!0,function(t){var r=function(e){if(!("application/x-shockwave-flash"===(e.type?e.type.toLowerCase():null)||e.classid&&e.classid.toUpperCase()==c))return!1;var t=/opaque|transparent/i;if(t.test(e.getAttribute("wmode")))return!1;for(var n=0;n<e.childNodes.length;n++){var i=e.childNodes[n];if(/param/i.test(i.nodeName)&&/wmode/i.test(i.name)&&t.test(i.value))return!1}return!0}(t),o=m&&function(e){return"application/vnd.unity"===(e.type?e.type.toLowerCase():null)||e.classid&&e.classid.toUpperCase()==p}(t);if(r||o){n=n||r,i=i||o;var a=function(){"opened"===e.state?r?b(t):_(t):r?v(t):g(t)};if(f){s.info("Calling developer specified callback");var l={state:e.state,elem:t};f(l),setTimeout(a,200)}else a()}}),Math.random()<=.001){var r={unity:i,flash:n};u(l.getClientID()+"/occludespopups","post",r)}}a.local.hidePluginObjects=function(){s.info("hidePluginObjects called"),y({state:"opened"})},a.local.showPluginObjects=function(){s.info("showPluginObjects called"),y({state:"closed"})},a.local.showFlashObjects=a.local.showPluginObjects,a.local.hideFlashObjects=a.local.hidePluginObjects;var k={_setHidePluginCallback:function(e){f=e},hidePluginElement:function(){b(),_()},showPluginElement:function(){v(),g()}};r.exports=k},null),__d("sdk.Canvas.Tti",["sdk.RPC","sdk.Runtime"],function(e,t,n,i,r,o,s,a){function l(e,t){var n=[{appId:a.getClientID(),time:ES("Date","now",!1),name:t}];e&&n.push(function(t){e(t.result)}),s.remote.logTtiMessage.apply(null,n)}t.__markCompiled&&t.__markCompiled(),s.stub("logTtiMessage");var d={setDoneLoading:function(e){l(e,"RecordIframeAppTti")},startTimer:function(){l(null,"StartIframeAppTtiTimer")},stopTimer:function(e){l(e,"StopIframeAppTtiTimer")}};r.exports=d}
1,null),__d("legacy:fb.canvas",["Assert","sdk.Canvas.Environment","sdk.Event","FB","sdk.Canvas.IframeHandling","sdk.Canvas.Navigation","sdk.Canvas.Plugin","sdk.RPC","sdk.Runtime","sdk.Canvas.Tti"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f,h,m){t.__markCompiled&&t.__markCompiled(),d.provide("Canvas",{setSize:function(e){return s.maybeObject(e,"Invalid argument"),u.setSize.apply(null,arguments)},setAutoGrow:function(){return u.setAutoGrow.apply(null,arguments)},getPageInfo:function(e){return s.isFunction(e,"Invalid argument"),a.getPageInfo.apply(null,arguments)},scrollTo:function(e,t){return s.maybeNumber(e,"Invalid argument"),s.maybeNumber(t,"Invalid argument"),a.scrollTo.apply(null,arguments)},setDoneLoading:function(e){return s.maybeFunction(e,"Invalid argument"),m.setDoneLoading.apply(null,arguments)},startTimer:function(){return m.startTimer.apply(null,arguments)},stopTimer:function(e){return s.maybeFunction(e,"Invalid argument"),m.stopTimer.apply(null,arguments)},getHash:function(e){return s.isFunction(e,"Invalid argument"),c.getHash.apply(null,arguments)},setHash:function(e){return s.isString(e,"Invalid argument"),c.setHash.apply(null,arguments)},setUrlHandler:function(e){return s.isFunction(e,"Invalid argument"),c.setUrlHandler.apply(null,arguments)}}),f.local.fireEvent=ES(l.fire,"bind",!0,l),l.subscribe("init:post",function(e){h.isEnvironment(h.ENVIRONMENTS.CANVAS)&&(s.isTrue(!e.hideFlashCallback||!e.hidePluginCallback,"cannot specify deprecated hideFlashCallback and new hidePluginCallback"),p._setHidePluginCallback(e.hidePluginCallback||e.hideFlashCallback))})},3),__d("legacy:fb.canvas.plugin",["FB","sdk.Canvas.Plugin"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled(),s.provide("Canvas.Plugin",a)},3),__d("sdk.Canvas.Prefetcher",["JSSDKCanvasPrefetcherConfig","sdk.Runtime","sdk.api"],function(e,t,n,i,r,o,s,a,l){t.__markCompiled&&t.__markCompiled();var d={AUTOMATIC:0,MANUAL:1},u=s.sampleRate,c=s.blacklist,p=d.AUTOMATIC,f=[];function h(){var e={object:"data",link:"href",script:"src"};p==d.AUTOMATIC&&ES(ES("Object","keys",!1,e),"forEach",!0,function(t){var n=e[t];ES(ES("Array","from",!1,document.getElementsByTagName(t)),"forEach",!0,function(e){e[n]&&f.push(e[n])})}),0!==f.length&&(l(a.getClientID()+"/staticresources","post",{urls:ES("JSON","stringify",!1,f),is_https:"https:"===location.protocol}),f=[])}var m={COLLECT_AUTOMATIC:d.AUTOMATIC,COLLECT_MANUAL:d.MANUAL,addStaticResource:function(e){f.push(e)},setCollectionMode:function(e){p=e},_maybeSample:function(){a.isEnvironment(a.ENVIRONMENTS.CANVAS)&&a.getClientID()&&u&&(Math.random()>1/u||"*"==c||~ES(c,"indexOf",!0,a.getClientID())||setTimeout(h,3e4))}};r.exports=m},null),__d("legacy:fb.canvas.prefetcher",["FB","sdk.Canvas.Prefetcher","sdk.Event","sdk.Runtime"],function(e,t,n,i,r,o,s,a,l,d){t.__markCompiled&&t.__markCompiled(),s.provide("Canvas.Prefetcher",a),l.subscribe("init:post",function(e){d.isEnvironment(d.ENVIRONMENTS.CANVAS)&&a._maybeSample()})},3),__d("legacy:fb.canvas.presence",["sdk.RPC","sdk.Event"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled(),a.subscribe(a.SUBSCRIBE,function(e,t){if("canvas.friendsOnlineUpdated"!=e)return;1===t.length&&s.remote.useFriendsOnline(!0)}),a.subscribe(a.UNSUBSCRIBE,function(e,t){if("canvas.friendsOnlineUpdated"!=e)return;0===t.length&&s.remote.useFriendsOnline(!1)}),s.stub("useFriendsOnline")},3),__d("legacy:fb.canvas.syncrequests",["sdk.RPC","sdk.Event"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled(),s.stub("initPendingSyncRequests"),a.subscribe(a.SUBSCRIBE,function e(t,n){"canvas.syncRequestUpdated"==t&&(s.remote.initPendingSyncRequests(),a.unsubscribe(a.SUBSCRIBE,e))})},3),__d("legacy:fb.event",["FB","sdk.Event","sdk.Runtime","sdk.Scribe","sdk.feature"],function(e,t,n,i,r,o,s,a,l,d,u){t.__markCompiled&&t.__markCompiled();var c=[],p=null,f=u("event_subscriptions_log",!1);s.provide("Event",{subscribe:function(e,t){return f&&(c.push(e),p||(p=setTimeout(function(){d.log("jssdk_error",{appId:l.getClientID(),error:"EVENT_SUBSCRIPTIONS_LOG",extra:{line:0,name:"EVENT_SUBSCRIPTIONS_LOG",script:"N/A",stack:"N/A",message:c.sort().join(",")}}),c.length=0,p=null},f))),a.subscribe(e,t)},unsubscribe:ES(a.unsubscribe,"bind",!0,a)})},3),__d("legacy:fb.frictionless",["FB","sdk.Frictionless"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled(),s.provide("Frictionless",a)},3),__d("sdk.MBasicInitializer",["sdk.DOM","sdk.Runtime","sdk.UA","sdk.URI","UrlMap","sdk.fbt","sdk.feature"],function(e,t,n,i,r,o,s,a,l,d,u,c,p){t.__markCompiled&&t.__markCompiled();var f=function(){function e(e){if(e){var t=e.parentNode;if(t){var n=s.getAttr(e,"href")||window.location.href,i=new d(u.resolve("m"));i.setPath("/dialog/share"),i.addQueryData("href",encodeURI(n)),i.addQueryData("app_id",a.getClientID()),i.addQueryData("mbasic_link",1);var r=document.createElement("a");r.style="display:inline-block; zoom:1;",r.textContent=c._("Share to Facebook"),r.setAttribute("href",i.toString()),r.setAttribute("target","_blank"),t.insertBefore(r,e),t.removeChild(e)}}}p("js_sdk_mbasic_share_plugin_init",!1)&&(ES(ES("Array","from",!1,document.getElementsByTagName("fb:share-button")),"forEach",!0,function(t){return e(t)}),ES(ES("Array","from",!1,document.getElementsByClassName("fb-share-button")),"forEach",!0,function(t){return e(t)}))};r.exports={init:function(){l.mBasic()&&f()}}},null),__d("sdk.init",["sdk.Cookie","sdk.ErrorHandling","sdk.Event","sdk.Impressions","Log","ManagedError","sdk.MBasicInitializer","sdk.PlatformVersioning","QueryString","sdk.Runtime","sdk.UA","sdk.URI","sdk.feature"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f,h,m,_,g,b){function v(e){if(m.getInitialized()&&u.warn("FB.init has already been called - this could indicate a problem"),m.getIsVersioned()){if("[object Object]"!==Object.prototype.toString.call(e))throw new c("Invalid argument");e.authResponse&&u.warn("Setting authResponse is not supported"),e.version||(e.version=new g(location.href).getQueryData().sdk_version),f.assertValidVersion(e.version),m.setVersion(e.version)}else/number|string/.test(typeof e)&&(u.warn("FB.init called with invali
1d parameters"),e={apiKey:e}),e=ES("Object","assign",!1,{status:!0},e||{});var t=function(e){return"number"==typeof e&&e>0||"string"==typeof e&&/^[0-9a-f]{21,}$|^[0-9]{1,21}$/.test(e)?e.toString():(u.warn("Invalid App Id: Must be a number or numeric string representing "+"the application id."),null)}(e.appId||e.apiKey);null!==t&&m.setClientID(t),"scope"in e&&m.setScope(e.scope),e.cookie&&(m.setUseCookie(!0),"string"==typeof e.cookie&&s.setDomain(e.cookie)),e.kidDirectedSite&&m.setKidDirectedSite(!0),m.setInitialized(!0),b("js_sdk_impression_on_load",!0)&&d.log(115,{}),_.mBasic()&&p.init(),l.fire("init:post",e)}t.__markCompiled&&t.__markCompiled(),setTimeout(function(){var e=/(connect\.facebook\.net|\.facebook\.com\/assets.php).*?#(.*)/;ES(ES("Array","from",!1,fb_fif_window.document.getElementsByTagName("script")),"forEach",!0,function(t){if(t.src){var n=e.exec(t.src);if(n){var i=h.decode(n[2]);for(var r in i)if(i.hasOwnProperty(r)){"0"==i[r]&&(i[r]=0)}v(i)}}}),window.fbAsyncInit&&!window.fbAsyncInit.hasRun&&(window.fbAsyncInit.hasRun=!0,a.unguard(window.fbAsyncInit)())},0),r.exports=v},null),__d("legacy:fb.init",["FB","sdk.init"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled(),s.provide("",{init:a})},3),__d("legacy:fb.ui",["FB","sdk.ui"],function(e,t,n,i,r,o,s,a){t.__markCompiled&&t.__markCompiled(),s.provide("",{ui:a})},3),__d("legacy:fb.versioned-sdk",["sdk.Runtime"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled(),s.setIsVersioned(!0)},3),__d("IframePlugin",["sdk.Auth","sdk.DOM","sdk.Event","Log","ObservableMixin","sdk.PlatformVersioning","QueryString","sdk.Runtime","Type","sdk.UA","sdk.URI","UrlMap","sdk.XD","sdk.createIframe","sdk.feature","guid","resolveURI"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f,h,m,_,g,b,v,y,k,w){t.__markCompiled&&t.__markCompiled();
1var C={skin:"string",font:"string",width:"string",height:"px",ref:"string",color_scheme:"string"};function S(e,t,n){(t||0===t)&&(e.style.width="100%"===t?"100%":t+"px"),(n||0===n)&&(e.style.height=n+"px")}function E(e){return function(t){var n={width:t.width,height:t.height,pluginID:e};l.fire("xfbml.resize",n)}}var x={string:function(e){return e},bool:function(e){return e?/^(?:true|1|yes|on)$/i.test(e):undefined},url:function(e){return w(e)},url_maybe:function(e){return e?w(e):e},hostname:function(e){return e||window.location.hostname},px:function(e){return/^(\d+)(?:px)?$/.test(e)?parseInt(RegExp.$1,10):undefined},text:function(e){return e}};function I(e,t){return e[t]||e[t.replace(/_/g,"-")]||e[t.replace(/_/g,"")]||e["data-"+t]||e["data-"+t.replace(/_/g,"-")]||e["data-"+t.replace(/_/g,"")]||undefined}function A(e,t,n,i){ES(ES("Object","keys",!1,e),"forEach",!0,function(r){"text"!=e[r]||n[r]||(n[r]=t.textContent||t.innerText||"",t.setAttribute(r,n[r])),i[r]=x[e[r]](I(n,r))})}function R(e){return"100%"===e?"100%":e||"0"===e||0===e?parseInt(e,10):undefined}function T(e){e&&S(e,0,0)}var O=h.extend({constructor:function(e,t,n,i){this.parent(),n=n.replace(/-/g,"_");var r=I(i,"plugin_id");this.subscribe("xd.resize",E(r)),this.subscribe("xd.resize.flow",E(r)),this.subscribe("xd.resize.flow",ES(function(e){ES("Object","assign",!1,this._iframeOptions.root.style,{verticalAlign:"bottom",overflow:""}),S(this._iframeOptions.root,R(e.width),R(e.height)),this.updateLift(),clearTimeout(this._timeoutID)},"bind",!0,this)),this.subscribe("xd.resize",ES(function(e){ES("Object","assign",!1,this._iframeOptions.root.style,{verticalAlign:"bottom",overflow:""}),S(this._iframeOptions.root,R(e.width),R(e.height)),S(this._iframe,R(e.width),R(e.height)),this._isIframeResized=!0,this.updateLift(),clearTimeout(this._timeoutID)},"bind",!0,this)),this.subscribe("xd.resize.iframe",ES(function(e){"true"===e.reposition&&y("reposition_iframe",!1)&&this.reposition(R(e.width)),S(this._iframe,R(e.width),R(e.height)),this._isIframeResized=!0,this.updateLift(),clearTimeout(this._timeoutID)},"bind",!0,this)),this.subscribe("xd.sdk_event",function(t){var n=ES("JSON","parse",!1,t.data);n.pluginID=r,l.fire(t.event,n,e)});var o=g.resolve("www",!0)+"/plugins/"+n+".php?",d={};A(this.getParams(),e,i,d),A(C,e,i,d),ES("Object","assign",!1,d,{app_id:f.getClientID(),locale:f.getLocale(),sdk:"joey",kid_directed_site:f.getKidDirectedSite(),channel:b.handler(ES(function(e){return this.inform("xd."+e.type,e)},"bind",!0,this),"parent.parent",!0)}),d.container_width=e.offsetWidth,a.addCss(e,"fb_iframe_widget");var u=k();this.subscribe("xd.verify",function(e){b.sendToFacebook(u,{method:"xd/verify",params:ES("JSON","stringify",!1,e.token)})}),this.subscribe("xd.refreshLoginStatus",ES(function(){s.removeLogoutState(),s.getLoginStatus(ES(this.inform,"bind",!0,this,"login.status"),!0)},"bind",!0,this));var c=document.createElement("span");ES("Object","assign",!1,c.style,{verticalAlign:"top",width:"0px",height:"0px",overflow:"hidden"}),this._element=e,this._ns=t,this._tag=n,this._params=d,this._config=this.getConfig(),this._iframeOptions={root:c,url:o+p.encode(d),name:u,width:this._config.mobile_fullsize&&m.mobile()?void 0:d.width||1e3,height:d.height||1e3,style:{border:"none",visibility:"hidden"},title:this._ns+":"+this._tag+" Facebook Social Plugin",onload:ES(function(){return this.inform("render")},"bind",!0,this),onerror:ES(function(){return T(this._iframe)},"bind",!0,this)},this.isFluid()&&"auto"!==d.width&&(a.addCss(this._element,"fb_iframe_widget_fluid_desktop"),!d.width&&this._config.full_width&&(this._element.style.width="100%",this._iframeOptions.root.style.width="100%",this._iframeOptions.style.width="100%",this._params.container_width=this._element.offsetWidth,this._iframeOptions.url=o+p.encode(this._params)))},process:function(){if(f.getIsVersioned()){c.assertVersionIsSet();var e=new _(this._iframeOptions.url);this._iframeOptions.url=e.setPath("/"+f.getVersion()+e.getPath()).toString()}var t=ES("Object","assign",!1,{},this._params);delete t.channel;var n=p.encode(t);if(this._element.getAttribute("fb-iframe-plugin-query")==n)return d.info("Skipping render: %s:%s %s",this._ns,this._tag,n),void this.inform("render");for(this._element.setAttribute("fb-iframe-plugin-query",n),this.subscribe("render",ES(function(){this._iframe.style.visibility="visible",this._isIframeResized||T(this._iframe)},"bind",!0,this));this._element.firstChild;)this._element.removeChild(this._element.firstChild);this._element.appendChild(this._iframeOptions.root);var i=m.mobile()?120:45;if(this._timeoutID=setTimeout(ES(function(){T(this._iframe),d.warn("%s:%s failed to resize in %ss",this._ns,this._tag,i)},"bind",!0,this),1e3*i),this._iframe=v(this._iframeOptions),(m.mobile()||"auto"===t.width)&&(a.addCss(this._element,"fb_iframe_widget_fluid"),!this._iframeOptions.width)){ES("Object","assign",!1,this._element.style,{display:"block",width:"100%",height:"auto"}),ES("Object","assign",!1,this._iframeOptions.root.style,{width:"100%",height:"auto"});var r={height:"auto",position:"static",width:"100%"};(m.iphone()||m.ipad())&&ES("Object","assign",!1,r,{width:"220px","min-width":"100%"}),ES("Object","assign",!1,this._iframe.style,r)}},getConfig:function(){return{}},isFluid:function(){return this.getConfig().fluid},reposition:function(e){var t=a.getPosition(this._iframe).x,n=a.getViewportInfo().width,i=parseInt(a.getStyle(this._iframe,"width"),10),r={};if(t+e>n&&t>e)this._iframe.style.left=parseInt(a.getStyle(this._iframe,"width"),10)-e+"px",this._isRepositioned=!0,r.type="reposition";else{if(!this._isRepositioned||i-e==0)return;this._iframe.style.left="0px",this._isRepositioned=!1,r.type="restore"}b.sendToFacebook(this._iframe.name,{method:"xd/reposition",params:ES("JSON","stringify",!1,r)})},updateLift:function(){var e=this._iframe.style.width===this._iframeOptions.root.style.width&&this._iframe.style.height===this._iframeOptions.root.style.height;a[e?"removeCss":"addCss"](this._iframe,"fb_iframe_widget_lift")}},u);O.getVal=I,O.withParams=function(e,t){return O.extend({getParams:function(){return e},getConfig:function(){return t||{}}})},r.exports=O},null),__d("PluginConfig",["sdk.feature"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled();var a={messengerpreconfirmation:{mobile_fullsize:!0},messengeraccountconfirmation:{mobile_fullsize:!0},messengerbusinesslink:{mobile_fullsize:!0},messengertoggle:{mobile_fullsize:!0},messengermessageus:{mobile_fullsize:!0},send_to_messenger:{mobile_fullsize:!0},post:{fluid:s("fluid_embed",!1),mobile_fullsize:!0}};r.exports=a},null),__d("PluginTags",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s={comment_embed:{href:"url",include_parent:"bool"},composer:{action_type:"string",action_properties:"string"},create_event_button:{},follow:{href:"url",layout:"string",show_faces:"bool",size:"string"},like:{href:"url",layout:"string",show_faces:"bool",share:"bool",action:"string",send:"bool",size:"string"},like_box:{href:"string",show_faces:"bool",header:"bool",stream:"bool",force_wall:"bool",show_border:"bool",id:"string",connections:"str
1ing",profile_id:"string",name:"string"},page:{href:"string",hide_cta:"bool",hide_cover:"bool",small_header:"bool",adapt_container_width:"bool",show_facepile:"bool",show_posts:"bool",tabs:"string"},messenger_checkbox:{messenger_app_id:"string",page_id:"string",pixel_id:"string",prechecked:"bool",allow_login:"bool",size:"string",origin:"string",user_ref:"string",identity_match:"string"},messengerpreconfirmation:{messenger_app_id:"string",page_id:"string"},messengeraccountconfirmation:{messenger_app_id:"string",page_id:"string",state:"string"},messengerbusinesslink:{messenger_app_id:"string",page_id:"string",state:"string"},messengertoggle:{messenger_app_id:"string",page_id:"string",token:"string",psid:"string"},messengermessageus:{messenger_app_id:"string",page_id:"string",color:"string",size:"string"},send_to_messenger:{messenger_app_id:"string",page_id:"string",color:"string",size:"string",enforce_login:"bool",identity_match:"string",origin:"string"},page_events:{href:"url"},post:{href:"url",show_text:"bool"},profile_pic:{uid:"string",linked:"bool",href:"string",size:"string",facebook_logo:"bool"},send:{href:"url",size:"string"},send_to_mobile:{max_rows:"string",show_faces:"bool",size:"string"}},a={subscribe:"follow",fan:"like_box",likebox:"like_box"};ES(ES("Object","keys",!1,a),"forEach",!0,function(e){s[e]=s[a[e]]}),r.exports=s},null),__d("runOnce",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled(),r.exports=function(e){var t,n;return function(){return t||(t=!0,n=e()),n}}},null),__d("XFBML",["Assert","sdk.DOM","Log","ObservableMixin","sdk.UA","runOnce"],function(e,t,n,i,r,o,s,a,l,d,u,c){t.__markCompiled&&t.__markCompiled();var p={},f={},h=0,m=new d;function _(e,t){return ES(e[t]+"","trim",!0)}function g(e,t,n){s.isTrue(e&&e.nodeType&&1===e.nodeType&&!!e.getElementsByTagName,"Invalid DOM node passed to FB.XFBML.parse()"),s.isFunction(t,"Invalid callback passed to FB.XFBML.parse()");var i=++h;l.info("XFBML Parsing Start %s",i);var r=1,o=0,d=function(){0===--r&&(l.info("XFBML Parsing Finish %s, %s tags found",i,o),t(),m.inform("render",i,o)),s.isTrue(r>=0,"onrender() has been called too many times")};ES(ES("Array","from",!1,e.getElementsByTagName("*")),"forEach",!0,function(e){if((n||!e.getAttribute("fb-xfbml-state"))&&1===e.nodeType){var t,i=p[_(t=e,"nodeName").toLowerCase()]||p[function(e){return e.scopeName?e.scopeName+":"+e.nodeName:""}(t).toLowerCase()]||function(e){var t=ES(_(e,"className").split(/\s+/),"filter",!0,function(e){return f.hasOwnProperty(e)});return 0===t.length?undefined:e.getAttribute("fb-xfbml-state")||!e.childNodes||0===e.childNodes.length||1===e.childNodes.length&&3===e.childNodes[0].nodeType||1===e.children.length&&"fb-xfbml-parse-ignore"===_(e.children[0],"className")?f[t[0]]:void 0}(e);if(i){u.ie()<9&&e.scopeName&&(e=function(e,t,n){var i=document.createElement("div");return a.addCss(e,t+"-"+n),ES(ES("Array","from",!1,e.childNodes),"forEach",!0,function(e){i.appendChild(e)}),ES(ES("Array","from",!1,e.attributes),"forEach",!0,function(e){i.setAttribute(e.name,e.value)}),e.parentNode.replaceChild(i,e),i}(e,i.xmlns,i.localName)),r++,o++;var s=new i.ctor(e,i.xmlns,i.localName,function(e){var t={};return ES(ES("Array","from",!1,e.attributes),"forEach",!0,function(e){t[_(e,"name")]=_(e,"value")}),t}(e));s.subscribe("render",c(function(){e.setAttribute("fb-xfbml-state","rendered"),d()}));!function t(){"parsed"==e.getAttribute("fb-xfbml-state")?m.subscribe("render.queue",t):(e.setAttribute("fb-xfbml-state","parsed"),s.process())}()}}}),m.inform("parse",i,o);setTimeout(function(){r>0&&l.warn("%s tags failed to render in %s ms",r,3e4)},3e4),d()}m.subscribe("render",function(){var e=m.getSubscribers("render.queue");m.clearSubscribers("render.queue"),ES(e,"forEach",!0,function(e){e()})}),ES("Object","assign",!1,m,{registerTag:function(e){var t=e.xmlns+":"+e.localName;s.isUndefined(p[t],t+" already registered"),p[t]=e,f[e.xmlns+"-"+e.localName]=e},parse:function(e,t){g(e||document.body,t||function(){},!0)},parseNew:function(){g(document.body,function(){},!1)}}),r.exports=m},null),__d("sdk.Arbiter",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();r.exports={BEHAVIOR_EVENT:"e",BEHAVIOR_PERSISTENT:"p",BEHAVIOR_STATE:"s"}},null),__d("sdk.XFBML.Element",["sdk.DOM","Type","ObservableMixin"],function(e,t,n,i,r,o,s,a,l){t.__markCompiled&&t.__markCompiled();var d=a.extend({constructor:function(e){this.parent(),this.dom=e},fire:function(){this.inform.apply(this,arguments)},getAttribute:function(e,t,n){var i=s.getAttr(this.dom,e);return i?n?n(i):i:t},_getBoolAttribute:function(e,t){var n=s.getBoolAttr(this.dom,e);return null===n?t:n},_getPxAttribute:function(e,t){return this.getAttribute(e,t,function(e){var n=parseInt(e,10);return isNaN(n)?t:n})},_getLengthAttribute:function(e,t){return this.getAttribute(e,t,function(e){if("100%"===e||"auto"===e)return e;var n=parseInt(e,10);return isNaN(n)?t:n})},_getAttributeFromList:function(e,t,n){return this.getAttribute(e,t,function(e){return e=e.toLowerCase(),ES(n,"indexOf",!0,e)>-1?e:t})},isValid:function(){for(var e=this.dom;e;e=e.parentNode)if(e==document.body)return!0},clear:function(){s.html(this.dom,"")}},l);r.exports=d},null),__d("sdk.XFBML.IframeWidget",["sdk.Arbiter","sdk.Auth","sdk.Content","sdk.DOM","sdk.Event","sdk.XFBML.Element","guid","insertIframe","QueryString","sdk.Runtime","sdk.ui","UrlMap","sdk.XD"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f,h,m,_,g,b){t.__markCompiled&&t.__markCompiled();var v=c.extend({_iframeName:null,_showLoader:!0,_refreshOnAuthChange:!1,_allowReProcess:!1,_fetchPreCachedLoader:!1,_visibleAfter:"load",_widgetPipeEnabled:!1,_borderReset:!1,_repositioned:!1,getUrlBits:function(){throw new Error("Inheriting class needs to implement getUrlBits().")},setupAndValidate:function(){return!0},oneTimeSetup:function(){},getSize:function(){},getIframeName:function(){return this._iframeName},getIframeTitle:function(){return"Facebook Social Plugin"},getChannelUrl:function(){if(!this._channelUrl){var e=this;this._channelUrl=b.handler(function(t){e.fire("xd."+t.type,t)},"parent.parent",!0)}return this._channelUrl},getIframeNode:function(){return this.dom.getElementsByTagName("iframe")[0]},arbiterInform:function(e,t,n){b.sendToFacebook(this.getIframeName(),{method:e,params:ES("JSON","stringify",!1,t||{}),behavior:n||s.BEHAVIOR_PERSISTENT})},_arbiterInform:function(e,t,n){var i='parent.frames["'+this.getIframeNode().name+'"]';b.inform(e,t,i,n)},getDefaultWebDomain:function(){return g.resolve("www")},process:function(e){if(this._done){if(!this._allowReProcess&&!e)return;this.clear()}else this._oneTimeSetup();if(this._done=!0,this._iframeName=this.getIframeName()||this._iframeName||p(),this.setupAndValidate()){this._showLoader&&this._addLoader(),d.addCss(this.dom,"fb_iframe_widget"),"immediate"!=this._visibleAfter?d.addCss(this.dom,"fb_hide_iframes"):this.subscribe("iframe.onload",ES(this.fire,"bind",!0,this,"render"));var t=this.getSize()||{},n=this.getFullyQualifiedURL();
1"100%"==t.width&&d.addCss(this.dom,"fb_iframe_widget_fluid"),this.clear(),f({url:n,root:this.dom.appendChild(document.createElement("span")),name:this._iframeName,title:this.getIframeTitle(),className:m.getRtl()?"fb_rtl":"fb_ltr",height:t.height,width:t.width,onload:ES(this.fire,"bind",!0,this,"iframe.onload")}),this._resizeFlow(t),this.loaded=!1,this.subscribe("iframe.onload",ES(function(){this.loaded=!0,this._isResizeHandled||d.addCss(this.dom,"fb_hide_iframes")},"bind",!0,this))}else this.fire("render")},generateWidgetPipeIframeName:function(){return"fb_iframe_"+ ++y},getFullyQualifiedURL:function(){var e=this._getURL();if((e+="?"+h.encode(this._getQS())).length>2e3){e="about:blank";var t=ES(function(){this._postRequest(),this.unsubscribe("iframe.onload",t)},"bind",!0,this);this.subscribe("iframe.onload",t)}return e},_getWidgetPipeShell:function(){return g.resolve("www")+"/common/widget_pipe_shell.php"},_oneTimeSetup:function(){this.subscribe("xd.resize",ES(this._handleResizeMsg,"bind",!0,this)),this.subscribe("xd.resize",ES(this._bubbleResizeEvent,"bind",!0,this)),this.subscribe("xd.resize.iframe",ES(this._resizeIframe,"bind",!0,this)),this.subscribe("xd.resize.flow",ES(this._resizeFlow,"bind",!0,this)),this.subscribe("xd.resize.flow",ES(this._bubbleResizeEvent,"bind",!0,this)),this.subscribe("xd.refreshLoginStatus",function(){a.getLoginStatus(function(){},!0)}),this.subscribe("xd.logout",function(){_({method:"auth.logout",display:"hidden"},function(){})}),this._refreshOnAuthChange&&this._setupAuthRefresh(),"load"==this._visibleAfter&&this.subscribe("iframe.onload",ES(this._makeVisible,"bind",!0,this)),this.subscribe("xd.verify",ES(function(e){this.arbiterInform("xd/verify",e.token)},"bind",!0,this)),this.oneTimeSetup()},_makeVisible:function(){this._removeLoader(),d.removeCss(this.dom,"fb_hide_iframes"),this.fire("render")},_setupAuthRefresh:function(){a.getLoginStatus(ES(function(e){var t=e.status;u.subscribe("auth.statusChange",ES(function(e){this.isValid()&&("unknown"!=t&&"unknown"!=e.status||this.process(!0),t=e.status)},"bind",!0,this))},"bind",!0,this))},_handleResizeMsg:function(e){this.isValid()&&(this._resizeIframe(e),this._resizeFlow(e),this._borderReset||(this.getIframeNode().style.border="none",this._borderReset=!0),this._isResizeHandled=!0,this._makeVisible())},_bubbleResizeEvent:function(e){var t={height:e.height,width:e.width,pluginID:this.getAttribute("plugin-id")};u.fire("xfbml.resize",t)},_resizeIframe:function(e){var t=this.getIframeNode();"true"===e.reposition&&this._repositionIframe(e),e.height&&(t.style.height=e.height+"px"),e.width&&(t.style.width=e.width+"px"),this._updateIframeZIndex()},_resizeFlow:function(e){var t=this.dom.getElementsByTagName("span")[0];e.height&&(t.style.height=e.height+"px"),e.width&&(t.style.width=e.width+"px"),this._updateIframeZIndex()},_updateIframeZIndex:function(){var e=this.dom.getElementsByTagName("span")[0],t=this.getIframeNode(),n=t.style.height===e.style.height&&t.style.width===e.style.width;d[n?"removeCss":"addCss"](t,"fb_iframe_widget_lift")},_repositionIframe:function(e){var t=this.getIframeNode(),n=parseInt(d.getStyle(t,"width"),10),i=d.getPosition(t).x,r=d.getViewportInfo().width,o=parseInt(e.width,10);i+o>r&&i>o?(t.style.left=n-o+"px",this.arbiterInform("xd/reposition",{type:"horizontal"}),this._repositioned=!0):this._repositioned&&(t.style.left="0px",this.arbiterInform("xd/reposition",{type:"restore"}),this._repositioned=!1)},_addLoader:function(){this._loaderDiv||(d.addCss(this.dom,"fb_iframe_widget_loader"),this._loaderDiv=document.createElement("div"),this._loaderDiv.className="FB_Loader",this.dom.appendChild(this._loaderDiv))},_removeLoader:function(){this._loaderDiv&&(d.removeCss(this.dom,"fb_iframe_widget_loader"),this._loaderDiv.parentNode&&this._loaderDiv.parentNode.removeChild(this._loaderDiv),this._loaderDiv=null)},_getQS:function(){return ES("Object","assign",!1,{api_key:m.getClientID(),locale:m.getLocale(),sdk:"joey",kid_directed_site:m.getKidDirectedSite(),ref:this.getAttribute("ref")},this.getUrlBits().params)},_getURL:function(){return this.getDefaultWebDomain()+"/plugins/"+this.getUrlBits().name+".php"}
1,_postRequest:function(){l.submitToTarget({url:this._getURL(),target:this.getIframeNode().name,params:this._getQS()})}}),y=0;r.exports=v},null),__d("sdk.XFBML.Comments",["sdk.Event","sdk.XFBML.IframeWidget","QueryString","sdk.Runtime","JSSDKConfig","sdk.UA","UrlMap"],function(e,t,n,i,r,o,s,a,l,d,u,c,p){t.__markCompiled&&t.__markCompiled();var f=a.extend({_visibleAfter:"immediate",_refreshOnAuthChange:!0,setupAndValidate:function(){var e={channel_url:this.getChannelUrl(),colorscheme:this.getAttribute("colorscheme"),skin:this.getAttribute("skin"),numposts:this.getAttribute("num-posts",10),width:this._getLengthAttribute("width"),href:this.getAttribute("href"),permalink:this.getAttribute("permalink"),publish_feed:this.getAttribute("publish_feed"),order_by:this.getAttribute("order_by"),mobile:this._getBoolAttribute("mobile"),version:this.getAttribute("version")};if(e.width||e.permalink||(e.width=550),u.initSitevars.enableMobileComments&&c.mobile()&&!1!==e.mobile&&(e.mobile=!0,delete e.width),e.skin||(e.skin=e.colorscheme),e.href){var t=this.getAttribute("fb_comment_id");t||(t=l.decode(document.URL.substring(ES(document.URL,"indexOf",!0,"?")+1)).fb_comment_id)&&ES(t,"indexOf",!0,"#")>0&&(t=t.substring(0,ES(t,"indexOf",!0,"#"))),t&&(e.fb_comment_id=t,this.subscribe("render",ES(function(){window.location.hash||(window.location.hash=this.getIframeNode().id)},"bind",!0,this)))}else{if(e.migrated=this.getAttribute("migrated"),e.xid=this.getAttribute("xid"),e.title=this.getAttribute("title",document.title),e.url=this.getAttribute("url",document.URL),e.quiet=this.getAttribute("quiet"),e.reverse=this.getAttribute("reverse"),e.simple=this.getAttribute("simple"),e.css=this.getAttribute("css"),e.notify=this.getAttribute("notify"),!e.xid){var n=ES(document.URL,"indexOf",!0,"#");e.xid=n>0?encodeURIComponent(document.URL.substring(0,n)):encodeURIComponent(document.URL)}e.migrated&&(e.href=p.resolve("www")+"/plugins/comments_v1.php?app_id="+d.getClientID()+"&xid="+encodeURIComponent(e.xid)+"&url="+encodeURIComponent(e.url))}return e.version||(e.version=d.getVersion()),this._attr=e,!0},oneTimeSetup:function(){this.subscribe("xd.sdk_event",function(e){s.fire(e.event,ES("JSON","parse",!1,e.data))})},getSize:function(){if(!this._attr.permalink)return{width:this._attr.mobile||"auto"===this._attr.width||"100%"===this._attr.width?"100%":Math.max(this._attr.width,320),height:100}},getUrlBits:function(){return{name:"comments",params:this._attr}},getDefaultWebDomain:function(){return p.resolve("www",!0)}});r.exports=f},null),__d("sdk.XFBML.CommentsCount",["ApiClient","sdk.DOM","sdk.XFBML.Element","sprintf"],function(e,t,n,i,r,o,s,a,l,d){t.__markCompiled&&t.__markCompiled();var u=l.extend({process:function(){a.addCss(this.dom,"fb_comments_count_zero");var e=this.getAttribute("href",window.location.href);s.scheduleBatchCall("/v2.1/"+encodeURIComponent(e),{fields:"share"},ES(function(e){var t=e.share&&e.share.comment_count||0;a.html(this.dom,d('<span class="fb_comments_count">%s</span>',t)),t>0&&a.removeCss(this.dom,"fb_comments_count_zero"),this.fire("render")},"bind",!0,this))}});r.exports=u},null),__d("safeEval",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled(),r.exports=function(e,t){if(null!=e)return"string"!=typeof e?e:/^\w+$/.test(e)&&"function"==typeof window[e]?window[e].apply(null,t||[]):Function('return eval("'+e.replace(/"/g,'\\"')+'");').apply(null,t||[])}},null),__d("sdk.Helper",["sdk.ErrorHandling","sdk.Event","UrlMap","safeEval","sprintf"],function(e,t,n,i,r,o,s,a,l,d,u){t.__markCompiled&&t.__markCompiled();var c={isUser:function(e){return e<22e8||e>=1e14&&e<=0x5b0a58f100ef||e>=89e12&&e<=89999999999999||e>=6000001e7&&e<=60000019999999},upperCaseFirstChar:function(e){return e.length>0?e.substr(0,1).toUpperCase()+e.substr(1):e},getProfileLink:function(e,t,n){return!n&&e&&(n=u("%s/profile.php?id=%s",l.resolve("www"),e.uid||e.id)),n&&(t=u('<a class="fb_link" href="%s">%s</a>',n,t)),t},invokeHandler:function(e,t,n){e&&("string"==typeof e?s.unguard(d)(e,n):e.apply&&s.unguard(e).apply(t,n||[]))},fireEvent:function(e,t){var n=t._attr.href;t.fire(e,n),a.fire(e,n,t)},executeFunctionByName:function(e){for(var t=Array.prototype.slice.call(arguments,1
1),n=e.split("."),i=n.pop(),r=window,o=0;o<n.length;o++)r=r[n[o]];return r[i].apply(this,t)}};r.exports=c},null),__d("sdk.XFBML.LoginButton",["sdk.Helper","IframePlugin","Log","sdk.ui"],function(e,t,n,i,r,o,s,a,l,d){t.__markCompiled&&t.__markCompiled();var u=a.extend({constructor:function(e,t,n,i){this.parent(e,t,n,i);var r=a.getVal(i,"on_login"),o=null;r&&(o=function(e){e.error_code?l.debug("Plugin Return Error (%s): %s",e.error_code,e.error_message||e.error_description):s.invokeHandler(r,null,[e])},this.subscribe("login.status",o)),this.subscribe("xd.login_button_native_open",function(e){d(ES("JSON","parse",!1,e.params),o)})},getParams:function(){return{scope:"string",perms:"string",size:"string",login_text:"text",show_faces:"bool",max_rows:"string",show_login_face:"bool",registration_url:"url_maybe",auto_logout_link:"bool",one_click:"bool",show_banner:"bool",auth_type:"string",default_audience:"string",use_continue_as:"bool"}}});r.exports=u},null),__d("escapeHTML",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled();var s=/[&<>"'\/]/g,a={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;","/":"&#x2F;"};r.exports=function(e){return e.replace(s,function(e){return a[e]})}},null),__d("sdk.XFBML.Name",["ApiClient","escapeHTML","sdk.Event","sdk.XFBML.Element","sdk.Helper","Log","sdk.Runtime"],function(e,t,n,i,r,o,s,a,l,d,u,c,p){t.__markCompiled&&t.__markCompiled();var f={}.hasOwnProperty,h=d.extend({process:function(){if(ES("Object","assign",!1,this,{_uid:this.getAttribute("uid"),_firstnameonly:this._getBoolAttribute("first-name-only"),_lastnameonly:this._getBoolAttribute("last-name-only"),_possessive:this._getBoolAttribute("possessive"),_reflexive:this._getBoolAttribute("reflexive"),_objective:this._getBoolAttribute("objective"),_linked:this._getBoolAttribute("linked",!0),_subjectId:this.getAttribute("subject-id")}),!this._uid)return c.error('"uid" is a required attribute for <fb:name>'),void this.fire("render");var e=[];this._firstnameonly?e.push("first_name"):this._lastnameonly?e.push("last_name"):e.push("name"),this._subjectId&&(e.push("gender"),this._subjectId==p.getUserID()&&(this._reflexive=!0)),l.monitor("auth.statusChange",ES(function(){if(!this.isValid())return this.fire("render"),!0;this._uid&&"loggedinuser"!=this._uid||(this._uid=p.getUserID()),this._uid&&s.scheduleBatchCall("/v1.0/"+this._uid,{fields:e.join(",")},ES(function(e){f.call(e,"error")?c.warn("The name is not found for ID: "+this._uid):(this._subjectId==this._uid?this._renderPronoun(e):this._renderOther(e),this.fire("render"))},"bind",!0,this))},"bind",!0,this))},_renderPronoun:function(e){var t="",n=this._objective;if(this._subjectId&&(n=!0,this._subjectId===this._uid&&(this._reflexive=!0)),this._uid==p.getUserID()&&this._getBoolAttribute("use-you",!0))t=this._possessive?this._reflexive?"your own":"your":this._reflexive?"yourself":"you";else switch(e.gender){case"male":t=this._possessive?this._reflexive?"his own":"his":this._reflexive?"himself":n?"him":"he";break;case"female":t=this._possessive?this._reflexive?"her own":"her":this._reflexive?"herself":n?"her":"she";break;default:t=this._getBoolAttribute("use-they",!0)?this._possessive?this._reflexive?"their own":"their":this._reflexive?"themselves":n?"them":"they":this._possessive?this._reflexive?"his/her own":"his/her":this._reflexive?"himself/herself":n?"him/her":"he/she"}this._getBoolAttribute("capitalize",!1)&&(t=u.upperCaseFirstChar(t)),this.dom.innerHTML=t},_renderOther:function(e){var t="",n="";this._uid==p.getUserID()&&this._getBoolAttribute("use-you",!0)?t=this._reflexive?this._possessive?"your own":"yourself":this._possessive?"your":"you":e&&(null===e.first_name&&(e.first_name=""),null===e.last_name&&(e.last_name=""),this._firstnameonly&&e.first_name!==undefined?t=a(e.first_name):this._lastnameonly&&e.last_name!==undefined&&(t=a(e.last_name)),t||(t=a(e.name)),""!==t&&this._possessive&&(t+="'s")),t||(t=a(this.getAttribute("if-cant-see","Facebook User"))),t&&(this._getBoolAttribute("capitalize",!1)&&(t=u.upperCaseFirstChar(t)),n=e&&this._linked?u.getProfileLink(e,t,this.getAttribute("href",null)):t),this.dom.innerHTML=n}});
1r.exports=h},null),__d("UnicodeUtils",["invariant"],function(e,t,n,i,r,o,s){"use strict";t.__markCompiled&&t.__markCompiled();var a=55296,l=56319,d=56320,u=57343,c=/[\uD800-\uDFFF]/;function p(e){return a<=e&&e<=u}function f(e){return c.test(e)}function h(e,t){return 1+p(e.charCodeAt(t))}function m(e,t,n){if(t=t||0,n=n===undefined?1/0:n||0,!f(e))return e.substr(t,n);var i=e.length;if(i<=0||t>i||n<=0)return"";var r=0;if(t>0){for(;t>0&&r<i;t--)r+=h(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=h(e,r-1);r<0&&(r=0)}var o=i;if(n<i)for(o=r;n>0&&o<i;n--)o+=h(e,o);return e.substring(r,o)}var _={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=h(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:h,hasSurrogateUnit:f,isCodeUnitInSurrogateRange:p,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||s(0),t+1===e.length)return!1;var n=e.charCodeAt(t),i=e.charCodeAt(t+1);return a<=n&&n<=l&&d<=i&&i<=u},strlen:function(e){if(!f(e))return e.length;for(var t=0,n=0;n<e.length;n+=h(e,n))t++;return t},substring:function(e,t,n){(t=t||0)<0&&(t=0),(n=n===undefined?1/0:n||0)<0&&(n=0);var i=Math.abs(n-t);return m(e,t=t<n?t:n,i)},substr:m};r.exports=_},null),__d("isNode",[],function(e,t,n,i,r,o){t.__markCompiled&&t.__markCompiled(),r.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},null),__d("isTextNode",["isNode"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled(),r.exports=function(e){return s(e)&&3==e.nodeType}},null),__d("containsNode",["isTextNode"],function(e,t,n,i,r,o,s){t.__markCompiled&&t.__markCompiled(),r.exports=function e(t,n){return!(!t||!n)&&(t===n||!s(t)&&(s(n)?e(t,n.parentNode):"contains"in t?ES(t,"contains",!0,n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},null),__d("sdk.XFBML.Quote",["sdk.DOM","DOMEventListener","IframePlugin","UnicodeUtils","sdk.UA","sdk.XD","containsNode","sdk.feature"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f){"use strict";t.__markCompiled&&t.__markCompiled();var h=155,m=70,_="",g=null,b=[],v=!1,y=null,k=u.mobile();function w(e){if(document.getSelection&&!k){var t=document.getSelection();if(0!==t.rangeCount){var n=b.length;if(C(),n){for(var i=!1,r=0;r<n;r++)if(p(b[r],t.focusNode)){i=!0;break}if(!i)return}if(""!==(_=t.toString())){_=ES(_.toString().replace(/\s+/g," "),"trim",!0);var o=Number(f("sharequotelimit",500));if(_=d.strlen(_)>o?d.substr(_,0,o-3)+"...":d.substr(_,0,o),!v&&y){(function(e){var t=e.getRangeAt(0).startContainer;return 3===t.nodeType?t.parentNode:t})(t).appendChild(y);var s=function(e){var t=y&&y.offsetWidth,n=t?y.offsetHeight:m,i=t?y.offsetWidth:h,r=e.getRangeAt(0),o=document.createElement("span"),s=document.createElement("span"),a=document.createRange();a.setStart(r.startContainer,r.startOffset),a.insertNode(o);var l=document.createRange();l.setStart(r.endContainer,r.endOffset),l.insertNode(s);var d=o.offsetTop-n,u=o.offsetLeft+(s.offsetLeft-o.offsetLeft)/2-i/2;return o.parentNode.removeChild(o),s.parentNode.removeChild(s),{x:u,y:d}}(t);y.style.left=s.x+"px",y.style.top=s.y+"px"}}else C()}else C()}}function C(){_="",!v&&y&&(y.style.left="-9999px")}var S=l.extend({constructor:function(e,t,n,i){return g||(this.parent(e,t,n,i),v="button"===s.getAttr(e,"layout"),(y=e).style.position="absolute",y.style.display="",a.add(document,"keyup",w),a.add(document,"mouseup",w),this.subscribe("xd.getTextSelection",ES(function(){c.sendToFacebook(this._iframeOptions.name,{method:"setTextSelection",params:ES("JSON","stringify",!1,{text:_})}),C()},"bind",!0,this)),b=ES(ES("Array","from",!1,document.getElementsByTagName("*")),"filter",!0,function(e){return"article"===e.nodeName.toLowerCase()||s.containsCss(e,"fb-quotable")}),C(),g=this)},getParams:function(){return{href:"url",layout:"string"}}});r.exports=S},null),__d("sdk.XFBML.Save",["sdk.Content","sdk.DialogUtils","sdk.DOM","sdk.Event","IframePlugin","QueryString","sdk.UA","sdk.XD","sdk.createIframe"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f,h){"use strict";t.__markCompiled&&t.__markCompiled();var m=void 0,_=u.extend({constructor:function(e,t,n,i){this.parent(e,t,n,i);var r=p.mobile();this.subscribe("xd.savePluginGetBlankIframe",ES(function(e){var t,n=void 0,i=void 0,o=function(e){e&&l.removeCss(e,"fb_invisible")},u=function(e){e&&l.addCss(e,"fb_invisible")};r&&(n=a.setupNewDarkOverlay(),u(n),s.append(n),a.addDoubleClickAction(n,function(){return ES(i,"forEach",!0,u)},5e3)),t=this.setupNewIframeDialog(ES("JSON","parse",!1,e.data),e.fromIframe,ES("JSON","parse",!1,e.isHTTPS)),u(t),s.append(t),i=[t,n];var c=function(){ES(i,"forEach",!0,u),a.onDialogHideCleanup(r),clearInterval(m)},p=void 0;this.subscribe("xd.savePluginShowIframe",ES(function(){d.fire("savePlugin:hideDialog"),ES(i,"forEach",!0,o),this.positionOnScreen(t,n),r||p||(p=a.addIdleDesktopAction(t,c,7e3))},"bind",!0,this)),this.subscribe("xd.savePluginHideIframe",function(){return c()}),d.subscribe("savePlugin:hideDialog",function(){return c()});var f=setInterval(function(){0===document.getElementsByName(e.fromIframe).length&&(clearTimeout(f),c(),ES(i,"forEach",!0,function(e){e&&e.parentNode.removeChild(e)}))},500)},"bind",!0,this))},positionOnScreen:function(e,t){var n,i=p.mobile();i?((n=function(e,t){null!=t&&a.setDialogPositionToCenter(t,i),a.setDialogPositionToCenter(e,i)}
1)(e,t),a.addMobileOrientationChangeAction(function(i){n(e,t)}),m=setInterval(function(){return n(e,t)},100)):(l.setStyle(e,"position","fixed"),l.setStyle(e,"top","20px"),l.setStyle(e,"right","20px"))},setupNewIframeDialog:function(e,t,n){var i="#"+c.encode({forIframe:t}),r=a.setupNewDialog();return h({url:f.getXDArbiterURL(n)+i,name:"blank_"+this._iframeOptions.name,root:r.contentRoot,tabindex:-1}),l.addCss(r.contentRoot,"fb_dialog_iframe"),ES("Object","assign",!1,r.dialogElement.style,e.style||{}),l.setStyle(r.dialogElement,"width",e.width+"px"),l.setStyle(r.dialogElement,"height",e.height+"px"),ES(e.classList,"forEach",!0,function(e){return l.addCss(r.dialogElement,e)}),l.removeCss(r.dialogElement,"fb_dialog_advanced"),r.dialogElement},getParams:function(){return{uri:"url",url_category:"string",size:"string"}}});r.exports=_},null),__d("sdk.XFBML.ShareButton",["IframePlugin","sdk.UA","sdk.ui"],function(e,t,n,i,r,o,s,a,l){"use strict";t.__markCompiled&&t.__markCompiled();var d=s.extend({constructor:function(e,t,n,i){this.parent(e,t,n,i),this.subscribe("xd.shareTriggerMobileIframe",function(e){var t=ES("JSON","parse",!1,e.data);l({method:"share",href:t.href,mobile_iframe:a.mobile()})})},getParams:function(){return{href:"url",layout:"string",mobile_iframe:"bool",type:"string",size:"string"}}});r.exports=d},null),__d("sdk.XFBML.Video",["Assert","sdk.Event","IframePlugin","ObservableMixin","sdk.XD"],function(e,t,n,i,r,o,s,a,l,d,u){function c(e){"use strict";this.$VideoCache1=e.isMuted,this.$VideoCache2=e.volume,this.$VideoCache3=e.timePosition,this.$VideoCache4=e.duration}function p(e,t,n){"use strict";this.$VideoController1=e,this.$VideoController2=t,this.$VideoController3=n}t.__markCompiled&&t.__markCompiled(),c.prototype.update=function(e){"use strict";e.isMuted!==undefined&&(this.$VideoCache1=e.isMuted),e.volume!==undefined&&(this.$VideoCache2=e.volume),e.timePosition!==undefined&&(this.$VideoCache3=e.timePosition),e.duration!==undefined&&(this.$VideoCache4=e.duration)},c.prototype.isMuted=function(){"use strict";return this.$VideoCache1},c.prototype.getVolume=function(){"use strict";return this.$VideoCache1?0:this.$VideoCache2},c.prototype.getCurrentPosition=function(){"use strict";return this.$VideoCache3},c.prototype.getDuration=function(){"use strict";return this.$VideoCache4},p.prototype.play=function(){"use strict";u.sendToFacebook(this.$VideoController1,{method:"play",params:ES("JSON","stringify",!1,{})})},p.prototype.pause=function(){"use strict";u.sendToFacebook(this.$VideoController1,{method:"pause",params:ES("JSON","stringify",!1,{})})},p.prototype.seek=function(e){"use strict";s.isNumber(e,"Invalid argument"),u.sendToFacebook(this.$VideoController1,{method:"seek",params:ES("JSON","stringify",!1,{target:e})})},p.prototype.mute=function(){"use strict";u.sendToFacebook(this.$VideoController1,{method:"mute",params:ES("JSON","stringify",!1,{})})},p.prototype.unmute=function(){"use strict";u.sendToFacebook(this.$VideoController1,{method:"unmute",params:ES("JSON","stringify",!1,{})})},p.prototype.setVolume=function(e){"use strict";s.isNumber(e,"Invalid argument"),u.sendToFacebook(this.$VideoController1,{method:"setVolume",params:ES("JSON","stringify",!1,{volume:e})})},p.prototype.isMuted=function(){"use strict";return this.$VideoController3.isMuted()},p.prototype.getVolume=function(){"use strict";return this.$VideoController3.getVolume()},p.prototype.getCurrentPosition=function(){"use strict";return this.$VideoController3.getCurrentPosition()},p.prototype.getDuration=function(){"use strict";return this.$VideoController3.getDuration()},p.prototype.subscribe=function(e,t){"use strict";return s.isString(e,"Invalid argument"),s.isFunction(t,"Invalid argument"),this.$VideoController2.subscribe(e,t),{release:ES(function(){this.$VideoController2.unsubscribe(e,t)},"bind",!0,this)}};var f=l.extend({constructor:function(e,t,n,i){this.parent(e,t,n,i),this._videoController=null,this._sharedObservable=null,this._sharedVideoCache=null,this.subscribe("xd.onVideoAPIReady",function(e){this._sharedObservable=new d,this._sharedVideoCache=new c(ES("JSON","parse",!1,e.data)),this._videoController=new p(this._iframeOptions.name,this._sharedObservable,this._sharedVideoCache),a.fire("xfbml.ready",{type:"video",id:i.id,instance:this._videoController})}),this.subscribe("xd.stateChange",function(e){this._sharedObservable.inform(e.state)}),this.subscribe("xd.cachedStateUpdateRequest",function(e){this._sharedVideoCache.update(ES("JSON","parse",!1,e.data))})},getParams:function(){return{allowfullscreen:"bool",autoplay:"bool",controls:"bool",href:"url",show_captions:"bool",show_text:"bool"}},getConfig:function(){return{fluid:!0,full_width:!0}}});
1r.exports=f},null),__d("legacy:fb.xfbml",["Assert","sdk.Event","FB","IframePlugin","PluginConfig","PluginTags","XFBML","sdk.domReady","sdk.feature","wrapFunction","sdk.XFBML.Comments","sdk.XFBML.CommentsCount","sdk.XFBML.LoginButton","sdk.XFBML.Name","sdk.XFBML.Quote","sdk.XFBML.Save","sdk.XFBML.ShareButton","sdk.XFBML.Video"],function(e,t,n,i,r,o,s,a,l,d,u,c,p,f,h,m){t.__markCompiled&&t.__markCompiled();var _={comments:t("sdk.XFBML.Comments"),comments_count:t("sdk.XFBML.CommentsCount"),login_button:t("sdk.XFBML.LoginButton"),name:t("sdk.XFBML.Name"),quote:t("sdk.XFBML.Quote"),save:t("sdk.XFBML.Save"),share_button:t("sdk.XFBML.ShareButton"),video:t("sdk.XFBML.Video")},g=h("plugin_tags_blacklist",[]);ES(ES("Object","keys",!1,c),"forEach",!0,function(e){-1===ES(g,"indexOf",!0,e)&&p.registerTag({xmlns:"fb",localName:e.replace(/_/g,"-"),ctor:d.withParams(c[e],u[e])})}),ES(ES("Object","keys",!1,_),"forEach",!0,function(e){-1===ES(g,"indexOf",!0,e)&&p.registerTag({xmlns:"fb",localName:e.replace(/_/g,"-"),ctor:_[e]})}),l.provide("XFBML",{parse:function(e){return s.maybeXfbml(e,"Invalid argument"),e&&9===e.nodeType&&(e=e.body),p.parse.apply(null,arguments)}}),p.subscribe("parse",ES(a.fire,"bind",!0,a,"xfbml.parse")),p.subscribe("render",ES(a.fire,"bind",!0,a,"xfbml.render")),a.subscribe("init:post",function(e){e.xfbml&&setTimeout(m(ES(f,"bind",!0,null,p.parse),"entry","init:post:xfbml.parse"),0)}),s.define("Xfbml",function(e){return(1===e.nodeType||9===e.nodeType)&&"string"==typeof e.nodeName});try{document.namespaces&&!document.namespaces.item.fb&&document.namespaces.add("fb")}catch(e){}},3)}}).call(global)}(window.inDapIF?parent.window:window,window)}catch(e){(new Image).src="https://www.facebook.com/common/scribe_endpoint.php?c=jssdk_error&m="+encodeURIComponent('{"error":"LOAD", "extra": {"name":"'+e.name+'","line":"'+(e.lineNumber||e.line)+'","script":"'+(e.fileName||e.sourceURL||e.script)+'","stack":"'+(e.stackTrace||e.stack)+'","revision":"2717633","namespace":"FB","message":"'+e.message+'"}}')}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.