
/*1546074239,,JIT Construction: v4658476,en_US*/

/**
 * Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
 *
 * You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
 * copy, modify, and distribute this software in source code or binary form for use
 * in connection with the web services and APIs provided by Facebook.
 *
 * As with any software that integrates with the Facebook platform, your use of
 * this software is subject to the Facebook Platform Policy
 * [http://developers.facebook.com/policy/]. This copyright notice shall be
 * included in all copies or substantial portions of the software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
try {(window.FB && !window.FB.__buffer) || (function(window, fb_fif_window) {  var apply = Function.prototype.apply;  function bindContext(fn, thisArg) {    return function _sdkBound() {      return apply.call(fn, thisArg, arguments);    };  }  var global = {    __type: 'JS_SDK_SANDBOX',    window: window,    document: window.document  };  var sandboxWhitelist = [    'setTimeout',    'setInterval',    'clearTimeout',    'clearInterval'  ];  for (var i = 0; i < sandboxWhitelist.length; i++) {    global[sandboxWhitelist[i]] = bindContext(      window[sandboxWhitelist[i]],      window    );  }  (function() {    var self = window;    var __DEV__ = 0;    function emptyFunction() {};    var __transform_includes = {};    var __annotator, __bodyWrapper;    var __buffer = window.FB && window.FB.__buffer;    var __w, __t;    var undefined;    var __p;    with (this) {      (function(){var a={},b=function(a,b){if(!a&&!b)return null;var c={};typeof a!=="undefined"&&(c.type=a);typeof b!=="undefined"&&(c.signature=b);return c},c=function(a,c){return b(a&&/^[A-Z]/.test(a)?a:void 0,c&&(c.params&&c.params.length||c.returns)?"function("+(c.params?c.params.map(function(a){return/\?/.test(a)?"?"+a.replace("?",""):a}).join(","):"")+")"+(c.returns?":"+c.returns:""):void 0)},d=function(a,b,c){return a},e=function(a,b,d){"sourcemeta"in __transform_includes&&(a.__SMmeta=b);if("typechecks"in __transform_includes){b=c(b?b.name:void 0,d);b&&__w(a,b)}return a},f=function(a,b,c){return c.apply(a,b)},g=function(a,b,c,d){d&&d.params&&__t.apply(a,d.params);c=c.apply(a,b);d&&d.returns&&__t([c,d.returns]);return c},h=function(b,c,d,e,f){if(f){f.callId||(f.callId=f.module+":"+(f.line||0)+":"+(f.column||0));e=f.callId;a[e]=(a[e]||0)+1}return d.apply(b,c)};typeof __transform_includes==="undefined"?(__annotator=d,__bodyWrapper=f):(__annotator=e,"codeusage"in __transform_includes?(__annotator=d,__bodyWrapper=h,__bodyWrapper.getCodeUsage=function(){return a},__bodyWrapper.clearCodeUsage=function(){a={}}):"typechecks"in __transform_includes?__bodyWrapper=g:__bodyWrapper=f)})();
__t=function(a){return a[0]},__w=function(a){return a};
var require,__d;(function(a){var b={},c={},d=["global","require","requireDynamic","requireLazy","module","exports"];require=function(d,e){if(Object.prototype.hasOwnProperty.call(c,d))return c[d];if(!Object.prototype.hasOwnProperty.call(b,d)){if(e)return null;throw new Error("Module "+d+" has not been defined")}e=b[d];var f=e.deps,g=e.factory.length,h,i=[];for(var j=0;j<g;j++){switch(f[j]){case"module":h=e;break;case"exports":h=e.exports;break;case"global":h=a;break;case"require":h=require;break;case"requireDynamic":h=null;break;case"requireLazy":h=null;break;default:h=require.call(null,f[j])}i.push(h)}e.factory.apply(a,i);c[d]=e.exports;return e.exports};__d=function(a,e,f,g){typeof f==="function"?(b[a]={factory:f,deps:d.concat(e),exports:{}},g===3&&require.call(null,a)):c[a]=f}})(this);
__d("ES5Array",[],(function(a,b,c,d,e,f){a={};a.isArray=function(a){return Object.prototype.toString.call(a)=="[object Array]"};e.exports=a}),null);
__d("ES5ArrayPrototype",[],(function(a,b,c,d,e,f){__p&&__p();var g={};g.map=function(a,b){if(typeof a!=="function")throw new TypeError();var c,d=this.length,e=new Array(d);for(c=0;c<d;++c)c in this&&(e[c]=a.call(b,this[c],c,this));return e};g.forEach=function(a,b){g.map.call(this,a,b)};g.filter=function(a,b){if(typeof a!=="function")throw new TypeError();var c,d,e=this.length,f=[];for(c=0;c<e;++c)c in this&&(d=this[c],a.call(b,d,c,this)&&f.push(d));return f};g.every=function(a,b){if(typeof a!=="function")throw new TypeError();var c=new Object(this),d=c.length;for(var e=0;e<d;e++)if(e in c&&!a.call(b,c[e],e,c))return!1;return!0};g.some=function(a,b){if(typeof a!=="function")throw new TypeError();var c=new Object(this),d=c.length;for(var e=0;e<d;e++)if(e in c&&a.call(b,c[e],e,c))return!0;return!1};g.indexOf=function(a,b){var c=this.length;b|=0;b<0&&(b+=c);for(;b<c;b++)if(b in this&&this[b]===a)return b;return-1};e.exports=g}),null);
__d("ES5Date",[],(function(a,b,c,d,e,f){a={};a.now=function(){return new Date().getTime()};e.exports=a}),null);
__d("ES5FunctionPrototype",[],(function(a,b,c,d,e,f){__p&&__p();a={};a.bind=function(a){if(typeof this!=="function")throw new TypeError("Bind must be called on a function");var b=this,c=Array.prototype.slice.call(arguments,1);function d(){return b.apply(a,c.concat(Array.prototype.slice.call(arguments)))}d.displayName="bound:"+(b.displayName||b.name||"(?)");d.toString=function(){return"bound: "+b};return d};e.exports=a}),null);
__d("ie8DontEnum",[],(function(a,b,c,d,e,f){var g=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","prototypeIsEnumerable","constructor"],h={}.hasOwnProperty;a=function(){};({toString:!0}).propertyIsEnumerable("toString")&&(a=function(a,b){for(var c=0;c<g.length;c++){var d=g[c];h.call(a,d)&&b(d)}});e.exports=a}),null);
__d("ES5Object",["ie8DontEnum"],(function(a,b,c,d,e,f,g){__p&&__p();var h={}.hasOwnProperty;a={};function i(){}a.create=function(a){var b=typeof a;if(b!="object"&&b!="function")throw new TypeError("Object prototype may only be a Object or null");i.prototype=a;return new i()};a.keys=function(a){var b=typeof a;if(b!="object"&&b!="function"||a===null)throw new TypeError("Object.keys called on non-object");var c=[];for(var d in a)h.call(a,d)&&c.push(d);g(a,function(a){return c.push(a)});return c};a.freeze=function(a){return a};a.isFrozen=function(){return!1};a.seal=function(a){return a};e.exports=a}),null);
__d("ES5StringPrototype",[],(function(a,b,c,d,e,f){__p&&__p();a={};a.trim=function(){if(this==null)throw new TypeError("String.prototype.trim called on null or undefined");return String.prototype.replace.call(this,/^\s+|\s+$/g,"")};a.startsWith=function(a){var b=String(this);if(this==null)throw new TypeError("String.prototype.startsWith called on null or undefined");var c=arguments.length>1?Number(arguments[1]):0;isNaN(c)&&(c=0);var d=Math.min(Math.max(c,0),b.length);return b.indexOf(String(a),c)==d};a.endsWith=function(a){var b=String(this);if(this==null)throw new TypeError("String.prototype.endsWith called on null or undefined");var c=b.length,d=String(a),e=arguments.length>1?Number(arguments[1]):c;isNaN(e)&&(e=0);var f=Math.min(Math.max(e,0),c),g=f-d.length;return g<0?!1:b.lastIndexOf(d,g)==g};a.includes=function(a){if(this==null)throw new TypeError("String.prototype.contains called on null or undefined");var b=String(this),c=arguments.length>1?Number(arguments[1]):0;isNaN(c)&&(c=0);return b.indexOf(String(a),c)!=-1};a.contains=a.includes;a.repeat=function(a){__p&&__p();if(this==null)throw new TypeError("String.prototype.repeat called on null or undefined");var b=String(this);a=a?Number(a):0;isNaN(a)&&(a=0);if(a<0||a===Infinity)throw RangeError();if(a===1)return b;if(a===0)return"";var c="";while(a)a&1&&(c+=b),(a>>=1)&&(b+=b);return c};e.exports=a}),null);
__d("ES6Array",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={from:function(a){__p&&__p();if(a==null)throw new TypeError("Object is null or undefined");var b=arguments[1],c=arguments[2],d=this,e=Object(a),f=typeof Symbol==="function"?typeof Symbol==="function"?Symbol.iterator:"@@iterator":"@@iterator",g=typeof b==="function",h=typeof e[f]==="function",i=0,j,k;if(h){j=typeof d==="function"?new d():[];var l=e[f](),m;while(!(m=l.next()).done)k=m.value,g&&(k=b.call(c,k,i)),j[i]=k,i+=1;j.length=i;return j}var n=e.length;(isNaN(n)||n<0)&&(n=0);j=typeof d==="function"?new d(n):new Array(n);while(i<n)k=e[i],g&&(k=b.call(c,k,i)),j[i]=k,i+=1;j.length=i;return j}};e.exports=a}),null);
__d("ES6ArrayPrototype",[],(function(a,b,c,d,e,f){__p&&__p();var g={find:function(a,b){if(this==null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof a!=="function")throw new TypeError("predicate must be a function");a=g.findIndex.call(this,a,b);return a===-1?void 0:this[a]},findIndex:function(a,b){if(this==null)throw new TypeError("Array.prototype.findIndex called on null or undefined");if(typeof a!=="function")throw new TypeError("predicate must be a function");var c=Object(this),d=c.length>>>0;for(var e=0;e<d;e++)if(a.call(b,c[e],e,c))return e;return-1},fill:function(a){if(this==null)throw new TypeError("Array.prototype.fill called on null or undefined");var b=Object(this),c=b.length>>>0,d=arguments[1],e=d>>0,f=e<0?Math.max(c+e,0):Math.min(e,c),g=arguments[2],h=g===void 0?c:g>>0,i=h<0?Math.max(c+h,0):Math.min(h,c);while(f<i)b[f]=a,f++;return b}};e.exports=g}),null);
__d("ES6DatePrototype",[],(function(a,b,c,d,e,f){function g(a){return(a<10?"0":"")+a}a={toISOString:function(){if(!isFinite(this))throw new Error("Invalid time value");var a=this.getUTCFullYear();a=(a<0?"-":a>9999?"+":"")+("00000"+Math.abs(a)).slice(0<=a&&a<=9999?-4:-6);return a+"-"+g(this.getUTCMonth()+1)+"-"+g(this.getUTCDate())+"T"+g(this.getUTCHours())+":"+g(this.getUTCMinutes())+":"+g(this.getUTCSeconds())+"."+(this.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}};e.exports=a}),null);
__d("ES6Number",[],(function(a,b,c,d,e,f){__p&&__p();a=Math.pow(2,-52);b=Math.pow(2,53)-1;c=-1*b;d={isFinite:function(a){function b(b){return a.apply(this,arguments)}b.toString=function(){return a.toString()};return b}(function(a){return typeof a==="number"&&isFinite(a)}),isNaN:function(a){function b(b){return a.apply(this,arguments)}b.toString=function(){return a.toString()};return b}(function(a){return typeof a==="number"&&isNaN(a)}),isInteger:function(a){return this.isFinite(a)&&Math.floor(a)===a},isSafeInteger:function(a){return this.isFinite(a)&&a>=this.MIN_SAFE_INTEGER&&a<=this.MAX_SAFE_INTEGER&&Math.floor(a)===a},EPSILON:a,MAX_SAFE_INTEGER:b,MIN_SAFE_INTEGER:c};e.exports=d}),null);
__d("ES6Object",["ie8DontEnum"],(function(a,b,c,d,e,f,g){__p&&__p();var h={}.hasOwnProperty;a={assign:function(a){__p&&__p();if(a==null)throw new TypeError("Object.assign target cannot be null or undefined");a=Object(a);for(var b=0;b<(arguments.length<=1?0:arguments.length-1);b++){var c=b+1<1||arguments.length<=b+1?void 0:arguments[b+1];if(c==null)continue;c=Object(c);for(var d in c)h.call(c,d)&&(a[d]=c[d]);g(c,function(b){return a[b]=c[b]})}return a},is:function(a,b){if(a===b)return a!==0||1/a===1/b;else return a!==a&&b!==b}};e.exports=a}),null);
__d("ES7ArrayPrototype",["ES5Array","ES5ArrayPrototype"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i=g.isArray,j=h.indexOf;function k(a){return Math.min(Math.max(l(a),0),Number.MAX_SAFE_INTEGER)}function l(a){a=Number(a);return isFinite(a)&&a!==0?m(a)*Math.floor(Math.abs(a)):a}function m(a){return a>=0?1:-1}a={includes:function(a){"use strict";__p&&__p();if(a!==void 0&&i(this)&&!(typeof a==="number"&&isNaN(a)))return j.apply(this,arguments)!==-1;var b=Object(this),c=b.length?k(b.length):0;if(c===0)return!1;var d=arguments.length>1?l(arguments[1]):0,e=d<0?Math.max(c+d,0):d,f=isNaN(a)&&typeof a==="number";while(e<c){var g=b[e];if(g===a||typeof g==="number"&&f&&isNaN(g))return!0;e++}return!1}};e.exports=a}),null);
__d("ES7Object",["ie8DontEnum"],(function(a,b,c,d,e,f,g){__p&&__p();var h={}.hasOwnProperty;a={};a.entries=function(a){if(a==null)throw new TypeError("Object.entries called on non-object");var b=[];for(var c in a)h.call(a,c)&&b.push([c,a[c]]);g(a,function(c){return b.push([c,a[c]])});return b};a.values=function(a){if(a==null)throw new TypeError("Object.values called on non-object");var b=[];for(var c in a)h.call(a,c)&&b.push(a[c]);g(a,function(c){return b.push(a[c])});return b};e.exports=a}),null);
__d("ES7StringPrototype",[],(function(a,b,c,d,e,f){a={};a.trimLeft=function(){return this.replace(/^\s+/,"")};a.trimRight=function(){return this.replace(/\s+$/,"")};e.exports=a}),null);
/**
 * License: https://www.facebook.com/legal/license/MDzNl_j9yvg/
 */
__d("json3-3.3.2",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g={},h={exports:g},i;function j(){__p&&__p();(function(){__p&&__p();var b=typeof i==="function"&&i.amd,c={"function":!0,object:!0},d=c[typeof g]&&g&&!g.nodeType&&g,e=c[typeof window]&&window||this,j=d&&c[typeof h]&&h&&!h.nodeType&&typeof a=="object"&&a;j&&(j.global===j||j.window===j||j.self===j)&&(e=j);function k(b,a){__p&&__p();b||(b=e.Object());a||(a=e.Object());var d=b.Number||e.Number,g=b.String||e.String,h=b.Object||e.Object,i=b.Date||e.Date,j=b.SyntaxError||e.SyntaxError,l=b.TypeError||e.TypeError,m=b.Math||e.Math;b=b.JSON||e.JSON;typeof b=="object"&&b&&(a.stringify=b.stringify,a.parse=b.parse);b=h.prototype;var n=b.toString,o,p,q,r=new i(-3509827334573292);try{r=r.getUTCFullYear()==-109252&&r.getUTCMonth()===0&&r.getUTCDate()===1&&r.getUTCHours()==10&&r.getUTCMinutes()==37&&r.getUTCSeconds()==6&&r.getUTCMilliseconds()==708}catch(a){}function s(b){__p&&__p();if(s[b]!==q)return s[b];var c;if(b=="bug-string-char-index")c="a"[0]!="a";else if(b=="json")c=s("json-stringify")&&s("json-parse");else{var e,f='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if(b=="json-stringify"){var h=a.stringify,j=typeof h=="function"&&r;if(j){(e=function(){return 1}).toJSON=e;try{j=h(0)==="0"&&h(new d())==="0"&&h(new g())=='""'&&h(n)===q&&h(q)===q&&h()===q&&h(e)==="1"&&h([e])=="[1]"&&h([q])=="[null]"&&h(null)=="null"&&h([q,n,null])=="[null,null,null]"&&h({a:[e,!0,!1,null,"\0\b\n\f\r\t"]})==f&&h(null,e)==="1"&&h([1,2],null,1)=="[\n 1,\n 2\n]"&&h(new i(-864e13))=='"-271821-04-20T00:00:00.000Z"'&&h(new i(864e13))=='"+275760-09-13T00:00:00.000Z"'&&h(new i(-621987552e5))=='"-000001-01-01T00:00:00.000Z"'&&h(new i(-1))=='"1969-12-31T23:59:59.999Z"'}catch(a){j=!1}}c=j}if(b=="json-parse"){h=a.parse;if(typeof h=="function")try{if(h("0")===0&&!h(!1)){e=h(f);var k=e.a.length==5&&e.a[0]===1;if(k){try{k=!h('"\t"')}catch(a){}if(k)try{k=h("01")!==1}catch(a){}if(k)try{k=h("1.")!==1}catch(a){}}}}catch(a){k=!1}c=k}}return s[b]=!!c}if(!s("json")){var t="[object Function]",u="[object Date]",v="[object Number]",w="[object String]",x="[object Array]",y="[object Boolean]",z=s("bug-string-char-index");if(!r)var A=m.floor,B=[0,31,59,90,120,151,181,212,243,273,304,334],C=function(a,b){return B[b]+365*(a-1970)+A((a-1969+(b=+(b>1)))/4)-A((a-1901+b)/100)+A((a-1601+b)/400)};(o=b.hasOwnProperty)||(o=function(a){var b={},c;(b.__proto__=null,b.__proto__={toString:1},b).toString!=n?o=function(a){var b=this.__proto__;a=a in(this.__proto__=null,this);this.__proto__=b;return a}:(c=b.constructor,o=function(a){var b=(this.constructor||c).prototype;return a in this&&!(a in b&&this[a]===b[a])});return o.call(this,a)});p=function(a,b){__p&&__p();var d=0,e,f;(e=function(){this.valueOf=0}).prototype.valueOf=0;f=new e();for(e in f)o.call(f,e)&&d++;f=null;!d?(f=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],p=function(a,b){var d=n.call(a)==t,e,g=!d&&typeof a.constructor!="function"&&c[typeof a.hasOwnProperty]&&a.hasOwnProperty||o;for(e in a)!(d&&e=="prototype")&&g.call(a,e)&&b(e);for(d=f.length;e=f[--d];g.call(a,e)&&b(e));}):d==2?p=function(a,b){var c={},d=n.call(a)==t,e;for(e in a)!(d&&e=="prototype")&&!o.call(c,e)&&(c[e]=1)&&o.call(a,e)&&b(e)}:p=function(a,b){var c=n.call(a)==t,d,e;for(d in a)!(c&&d=="prototype")&&o.call(a,d)&&!(e=d==="constructor")&&b(d);(e||o.call(a,d="constructor"))&&b(d)};return p(a,b)};if(!s("json-stringify")){var D={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},E="000000",F=function(a,b){return(E+(b||0)).slice(-a)},G="\\u00",H=function(a){__p&&__p();var b='"',c=0,d=a.length,e=!z||d>10,f=e&&(z?a.split(""):a);for(;c<d;c++){var g=a.charCodeAt(c);switch(g){case 8:case 9:case 10:case 12:case 13:case 34:case 92:b+=D[g];break;default:if(g<32){b+=G+F(2,g.toString(16));break}b+=e?f[c]:a.charAt(c)}}return b+'"'},I=function(a,b,c,d,e,f,g){__p&&__p();var h,i,j,k,m,r,s,t,z,B;try{h=b[a]}catch(a){}if(typeof h=="object"&&h){i=n.call(h);if(i==u&&!o.call(h,"toJSON"))if(h>-1/0&&h<1/0){if(C){m=A(h/864e5);for(j=A(m/365.2425)+1970-1;C(j+1,0)<=m;j++);for(k=A((m-C(j,0))/30.42);C(j,k+1)<=m;k++);m=1+m-C(j,k);r=(h%864e5+864e5)%864e5;s=A(r/36e5)%24;t=A(r/6e4)%60;z=A(r/1e3)%60;r=r%1e3}else j=h.getUTCFullYear(),k=h.getUTCMonth(),m=h.getUTCDate(),s=h.getUTCHours(),t=h.getUTCMinutes(),z=h.getUTCSeconds(),r=h.getUTCMilliseconds();h=(j<=0||j>=1e4?(j<0?"-":"+")+F(6,j<0?-j:j):F(4,j))+"-"+F(2,k+1)+"-"+F(2,m)+"T"+F(2,s)+":"+F(2,t)+":"+F(2,z)+"."+F(3,r)+"Z"}else h=null;else typeof h.toJSON=="function"&&(i!=v&&i!=w&&i!=x||o.call(h,"toJSON"))&&(h=h.toJSON(a))}c&&(h=c.call(b,a,h));if(h===null)return"null";i=n.call(h);if(i==y)return""+h;else if(i==v)return h>-1/0&&h<1/0?""+h:"null";else if(i==w)return H(""+h);if(typeof h=="object"){for(j=g.length;j--;)if(g[j]===h)throw l();g.push(h);B=[];k=f;f+=e;if(i==x){for(m=0,j=h.length;m<j;m++)s=I(m,h,c,d,e,f,g),B.push(s===q?"null":s);t=B.length?e?"[\n"+f+B.join(",\n"+f)+"\n"+k+"]":"["+B.join(",")+"]":"[]"}else p(d||h,function(a){var b=I(a,h,c,d,e,f,g);b!==q&&B.push(H(a)+":"+(e?" ":"")+b)}),t=B.length?e?"{\n"+f+B.join(",\n"+f)+"\n"+k+"}":"{"+B.join(",")+"}":"{}";g.pop();return t}};a.stringify=function(a,b,d){__p&&__p();var e,f,g,h;if(c[typeof b]&&b)if((h=n.call(b))==t)f=b;else if(h==x){g={};for(var i=0,j=b.length,k;i<j;k=b[i++],(h=n.call(k),h==w||h==v)&&(g[k]=1));}if(d)if((h=n.call(d))==v){if((d-=d%1)>0)for(e="",d>10&&(d=10);e.length<d;e+=" ");}else h==w&&(e=d.length<=10?d:d.slice(0,10));return I("",(k={},k[""]=a,k),f,g,e,"",[])}}if(!s("json-parse")){var J=g.fromCharCode,K={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"},L,M,N=function(){L=M=null;throw j()},O=function(){__p&&__p();var a=M,b=a.length,c,d,e,f,g;while(L<b){g=a.charCodeAt(L);switch(g){case 9:case 10:case 13:case 32:L++;break;case 123:case 125:case 91:case 93:case 58:case 44:c=z?a.charAt(L):a[L];L++;return c;case 34:for(c="@",L++;L<b;){g=a.charCodeAt(L);if(g<32)N();else if(g==92){g=a.charCodeAt(++L);switch(g){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:c+=K[g];L++;break;case 117:d=++L;for(e=L+4;L<e;L++)g=a.charCodeAt(L),g>=48&&g<=57||g>=97&&g<=102||g>=65&&g<=70||N();c+=J("0x"+a.slice(d,L));break;default:N()}}else{if(g==34)break;g=a.charCodeAt(L);d=L;while(g>=32&&g!=92&&g!=34)g=a.charCodeAt(++L);c+=a.slice(d,L)}}if(a.charCodeAt(L)==34){L++;return c}N();default:d=L;g==45&&(f=!0,g=a.charCodeAt(++L));if(g>=48&&g<=57){g==48&&(g=a.charCodeAt(L+1),g>=48&&g<=57)&&N();f=!1;for(;L<b&&(g=a.charCodeAt(L),g>=48&&g<=57);L++);if(a.charCodeAt(L)==46){e=++L;for(;e<b&&(g=a.charCodeAt(e),g>=48&&g<=57);e++);e==L&&N();L=e}g=a.charCodeAt(L);if(g==101||g==69){g=a.charCodeAt(++L);(g==43||g==45)&&L++;for(e=L;e<b&&(g=a.charCodeAt(e),g>=48&&g<=57);e++);e==L&&N();L=e}return+a.slice(d,L)}f&&N();if(a.slice(L,L+4)=="true"){L+=4;return!0}else if(a.slice(L,L+5)=="false"){L+=5;return!1}else if(a.slice(L,L+4)=="null"){L+=4;return null}N()}}return"$"},P=function(a){__p&&__p();var b,c;a=="$"&&N();if(typeof a=="string"){if((z?a.charAt(0):a[0])=="@")return a.slice(1);if(a=="["){b=[];for(;;c||(c=!0)){a=O();if(a=="]")break;c&&(a==","?(a=O(),a=="]"&&N()):N());a==","&&N();b.push(P(a))}return b}else if(a=="{"){b={};for(;;c||(c=!0)){a=O();if(a=="}")break;c&&(a==","?(a=O(),a=="}"&&N()):N());(a==","||typeof a!="string"||(z?a.charAt(0):a[0])!="@"||O()!=":")&&N();b[a.slice(1)]=P(O())}return b}N()}return a},Q=function(a,b,c){c=R(a,b,c);c===q?delete a[b]:a[b]=c},R=function(a,b,c){var d=a[b],e;if(typeof d=="object"&&d)if(n.call(d)==x)for(e=d.length;e--;)Q(d,e,c);else p(d,function(a){Q(d,a,c)});return c.call(a,b,d)};a.parse=function(a,b){var c;L=0;M=""+a;a=P(O());O()!="$"&&N();L=M=null;return b&&n.call(b)==t?R((c={},c[""]=a,c),"",b):a}}}a.runInContext=k;return a}if(d&&!b)k(e,d);else{var l=e.JSON,m=e.JSON3,n=!1,o=k(e,e.JSON3={noConflict:function(){n||(n=!0,e.JSON=l,e.JSON3=m,l=m=null);return o}});e.JSON={parse:o.parse,stringify:o.stringify}}b&&i(function(){return o})}).call(this)}var k=!1,l=function(){k||(k=!0,j());return h.exports};b=function(a){switch(a){case void 0:return l()}};e.exports=b}),null);
__d("json3",["json3-3.3.2"],(function(a,b,c,d,e,f){e.exports=b("json3-3.3.2")()}),null);
__d("ES",["ES5Array","ES5ArrayPrototype","ES5Date","ES5FunctionPrototype","ES5Object","ES5StringPrototype","ES6Array","ES6ArrayPrototype","ES6DatePrototype","ES6Number","ES6Object","ES7ArrayPrototype","ES7Object","ES7StringPrototype","json3"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u){__p&&__p();var v={}.toString,w={"JSON.stringify":u.stringify,"JSON.parse":u.parse};c={"Array.prototype":h,"Function.prototype":j,"String.prototype":l,Object:k,Array:g,Date:i};d={Object:q,"Array.prototype":n,"Date.prototype":o,Number:p,Array:m};f={Object:s,"String.prototype":t,"Array.prototype":r};function a(a){__p&&__p();for(var b in a){if(!Object.prototype.hasOwnProperty.call(a,b))continue;var c=a[b],d=b.split(".");if(d.length===2){var e=d[0],f=d[1];if(!e||!f||!window[e]||!window[e][f]){var g=e?window[e]:"-",h=e&&window[e]&&f?window[e][f]:"-";throw new Error("Unexpected state (t11975770): "+(e+", "+f+", "+g+", "+h+", "+b))}}e=d.length===2?window[d[0]][d[1]]:window[b];for(var i in c){if(!Object.prototype.hasOwnProperty.call(c,i))continue;if(typeof c[i]!=="function"){w[b+"."+i]=c[i];continue}f=e[i];w[b+"."+i]=f&&/\{\s+\[native code\]\s\}/.test(f)?f:c[i]}}}a(c);a(d);a(f);function b(a,b,c){var d=c?v.call(a).slice(8,-1)+".prototype":a,e=w[d+"."+b]||a[b];if(typeof e==="function"){for(var f=arguments.length,g=new Array(f>3?f-3:0),h=3;h<f;h++)g[h-3]=arguments[h];return e.apply(a,g)}else if(e)return e;throw new Error("Polyfill "+d+" does not have implementation of "+b)}e.exports=b}),null);
__d("sdk.babelHelpers",["ES5FunctionPrototype","ES5Object","ES6Object"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();a={};var j=Object.prototype.hasOwnProperty;a.inherits=function(a,b){i.assign(a,b);a.prototype=h.create(b&&b.prototype);a.prototype.constructor=a;a.__superConstructor__=b;return b};a._extends=i.assign;a["extends"]=a._extends;a.objectWithoutPropertiesLoose=function(a,b){var c={};for(var d in a){if(!j.call(a,d)||b.indexOf(d)>=0)continue;c[d]=a[d]}return c};a.objectWithoutProperties=a.objectWithoutPropertiesLoose;a.taggedTemplateLiteralLoose=function(a,b){a.raw=b;return a};a.bind=g.bind;e.exports=a}),null);var ES=require('ES');var babelHelpers=require('sdk.babelHelpers');(function(a,b){var c="keys",d="values",e="entries",f=function(){var a=h(Array),b;a||(b=function(){function a(a,b){"use strict";this.$1=a,this.$2=b,this.$3=0}a.prototype.next=function(){"use strict";if(this.$1==null)return{value:void 0,done:!0};var a=this.$1,b=this.$1.length,f=this.$3,g=this.$2;if(f>=b){this.$1=void 0;return{value:void 0,done:!0}}this.$3=f+1;if(g===c)return{value:f,done:!1};else if(g===d)return{value:a[f],done:!1};else if(g===e)return{value:[f,a[f]],done:!1}};a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this};return a}());return{keys:a?function(a){return a.keys()}:function(a){return new b(a,c)},values:a?function(a){return a.values()}:function(a){return new b(a,d)},entries:a?function(a){return a.entries()}:function(a){return new b(a,e)}}}(),g=function(){var a=h(String),b;a||(b=function(){function a(a){"use strict";this.$1=a,this.$2=0}a.prototype.next=function(){"use strict";if(this.$1==null)return{value:void 0,done:!0};var a=this.$2,b=this.$1,c=b.length;if(a>=c){this.$1=void 0;return{value:void 0,done:!0}}var d=b.charCodeAt(a);if(d<55296||d>56319||a+1===c)d=b[a];else{c=b.charCodeAt(a+1);c<56320||c>57343?d=b[a]:d=b[a]+b[a+1]}this.$2=a+d.length;return{value:d,done:!1}};a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this};return a}());return{keys:function(){throw TypeError("Strings default iterator doesn't implement keys.")},values:a?function(a){return a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]()}:function(a){return new b(a)},entries:function(){throw TypeError("Strings default iterator doesn't implement entries.")}}}();function h(a){return typeof a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]==="function"&&typeof a.prototype.values==="function"&&typeof a.prototype.keys==="function"&&typeof a.prototype.entries==="function"}function i(a,b){"use strict";this.$1=a,this.$2=b,this.$3=ES("Object","keys",!1,a),this.$4=0}i.prototype.next=function(){"use strict";var a=this.$3.length,b=this.$4,f=this.$2,g=this.$3[b];if(b>=a){this.$1=void 0;return{value:void 0,done:!0}}this.$4=b+1;if(f===c)return{value:g,done:!1};else if(f===d)return{value:this.$1[g],done:!1};else if(f===e)return{value:[g,this.$1[g]],done:!1}};i.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this};var j={keys:function(a){return new i(a,c)},values:function(a){return new i(a,d)},entries:function(a){return new i(a,e)}};function k(a,b){if(typeof a==="string")return g[b||d](a);else if(ES("Array","isArray",!1,a))return f[b||d](a);else if(a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"])return a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();else return j[b||e](a)}ES("Object","assign",!1,k,{KIND_KEYS:c,KIND_VALUES:d,KIND_ENTRIES:e,keys:function(a){return k(a,c)},values:function(a){return k(a,d)},entries:function(a){return k(a,e)},generic:j.entries});a.FB_enumerate=k})(typeof global==="undefined"?this:global);
(function(a,b){var c=a.window||a;function d(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}function e(a){var b=a?a.ownerDocument||a:document;b=b.defaultView||c;return!!(a&&(typeof b.Node==="function"?a instanceof b.Node:typeof a==="object"&&typeof a.nodeType==="number"&&typeof a.nodeName==="string"))}function f(a){a=c[a];if(a==null)return!0;if(typeof c.Symbol!=="function")return!0;var b=a.prototype;return a==null||typeof a!=="function"||typeof b.clear!=="function"||new a().size!==0||typeof b.keys!=="function"||typeof b.forEach!=="function"}var g=a.FB_enumerate,h=function(){if(!f("Map"))return c.Map;var b="key",i="value",j="key+value",k="$map_",l,m="IE_HASH_";function a(a){"use strict";if(!r(this))throw new TypeError("Wrong map object type.");q(this);if(a!=null){a=g(a);var b;while(!(b=a.next()).done){if(!r(b.value))throw new TypeError("Expected iterable items to be pair objects.");this.set(b.value[0],b.value[1])}}}a.prototype.clear=function(){"use strict";q(this)};a.prototype.has=function(a){"use strict";a=o(this,a);return!!(a!=null&&this._mapData[a])};a.prototype.set=function(a,b){"use strict";var c=o(this,a);c!=null&&this._mapData[c]?this._mapData[c][1]=b:(c=this._mapData.push([a,b])-1,p(this,a,c),this.size+=1);return this};a.prototype.get=function(a){"use strict";a=o(this,a);if(a==null)return void 0;else return this._mapData[a][1]};a.prototype["delete"]=function(a){"use strict";var b=o(this,a);if(b!=null&&this._mapData[b]){p(this,a,void 0);this._mapData[b]=void 0;this.size-=1;return!0}else return!1};a.prototype.entries=function(){"use strict";return new n(this,j)};a.prototype.keys=function(){"use strict";return new n(this,b)};a.prototype.values=function(){"use strict";return new n(this,i)};a.prototype.forEach=function(a,b){"use strict";if(typeof a!=="function")throw new TypeError("Callback must be callable.");a=ES(a,"bind",!0,b||void 0);b=this._mapData;for(var c=0;c<b.length;c++){var d=b[c];d!=null&&a(d[1],d[0],this)}};a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this.entries()};function n(a,c){"use strict";if(!(r(a)&&a._mapData))throw new TypeError("Object is not a map.");if(ES([b,j,i],"indexOf",!0,c)===-1)throw new Error("Invalid iteration kind.");this._map=a;this._nextIndex=0;this._kind=c}n.prototype.next=function(){"use strict";if(!this instanceof a)throw new TypeError("Expected to be called on a MapIterator.");var c=this._map,d=this._nextIndex,e=this._kind;if(c==null)return s(void 0,!0);c=c._mapData;while(d<c.length){var f=c[d];d+=1;this._nextIndex=d;if(f)if(e===b)return s(f[0],!1);else if(e===i)return s(f[1],!1);else if(e)return s(f,!1)}this._map=void 0;return s(void 0,!0)};n.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this};function o(a,b){if(r(b)){var c=w(b);return c?a._objectIndex[c]:void 0}else{c=k+b;if(typeof b==="string")return a._stringIndex[c];else return a._otherIndex[c]}}function p(a,b,c){var d=c==null;if(r(b)){var e=w(b);e||(e=x(b));d?delete a._objectIndex[e]:a._objectIndex[e]=c}else{e=k+b;typeof b==="string"?d?delete a._stringIndex[e]:a._stringIndex[e]=c:d?delete a._otherIndex[e]:a._otherIndex[e]=c}}function q(a){a._mapData=[],a._objectIndex={},a._stringIndex={},a._otherIndex={},a.size=0}function r(a){return a!=null&&(typeof a==="object"||typeof a==="function")}function s(a,b){return{value:a,done:b}}a.__isES5=function(){try{Object.defineProperty({},"__.$#x",{});return!0}catch(a){return!1}}();function t(b){if(!a.__isES5||!Object.isExtensible)return!0;else return Object.isExtensible(b)}function u(a){var b;switch(a.nodeType){case 1:b=a.uniqueID;break;case 9:b=a.documentElement.uniqueID;break;default:return null}if(b)return m+b;else return null}var v=d();function w(b){if(b[v])return b[v];else if(!a.__isES5&&b.propertyIsEnumerable&&b.propertyIsEnumerable[v])return b.propertyIsEnumerable[v];else if(!a.__isES5&&e(b)&&u(b))return u(b);else if(!a.__isES5&&b[v])return b[v]}var x=function(){var b=Object.prototype.propertyIsEnumerable,c=0;return function(d){if(t(d)){c+=1;if(a.__isES5)Object.defineProperty(d,v,{enumerable:!1,writable:!1,configurable:!1,value:c});else if(d.propertyIsEnumerable)d.propertyIsEnumerable=function(){return b.apply(this,arguments)},d.propertyIsEnumerable[v]=c;else if(e(d))d[v]=c;else throw new Error("Unable to set a non-enumerable property on object.");return c}else throw new Error("Non-extensible objects are not allowed as keys.")}}();return __annotator(a,{name:"Map"})}();b=function(){if(!f("Set"))return c.Set;function a(a){"use strict";if(this==null||typeof this!=="object"&&typeof this!=="function")throw new TypeError("Wrong set object type.");b(this);if(a!=null){a=g(a);var c;while(!(c=a.next()).done)this.add(c.value)}}a.prototype.add=function(a){"use strict";this._map.set(a,a);this.size=this._map.size;return this};a.prototype.clear=function(){"use strict";b(this)};a.prototype["delete"]=function(a){"use strict";a=this._map["delete"](a);this.size=this._map.size;return a};a.prototype.entries=function(){"use strict";return this._map.entries()};a.prototype.forEach=function(a){"use strict";var b=arguments[1],c=this._map.keys(),d;while(!(d=c.next()).done)a.call(b,d.value,d.value,this)};a.prototype.has=function(a){"use strict";return this._map.has(a)};a.prototype.values=function(){"use strict";return this._map.values()};a.prototype.keys=function(){"use strict";return this.values()};a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this.values()};function b(a){a._map=new h(),a.size=a._map.size}return __annotator(a,{name:"Set"})}();a.Map=h;a.Set=b})(typeof global==="undefined"?this:global);      __d("UrlMapConfig",[],{"www":"web.facebook.com","m":"mobile.facebook.com","business":"business.facebook.com","api":"api.facebook.com","api_read":"api.facebook.com","graph":"graph.facebook.com","an":"an.facebook.com","fbcdn":"static.xx.fbcdn.net","cdn":"staticxx.facebook.com"});__d("JSSDKRuntimeConfig",[],{"locale":"en_US","revision":"4658476","rtl":false,"sdkab":null,"sdkns":"FB","sdkurl":"https:\/\/connect.facebook.net\/en_US\/sdk\/xfbml.customerchat.js"});__d("JSSDKConfig",[],{"features":{"allow_non_canvas_app_events":false,"error_handling":{"rate":4},"e2e_ping_tracking":{"rate":1.0e-6},"xd_timeout":{"rate":1,"value":60000},"use_bundle":true,"should_log_response_error":true,"popup_blocker_scribe_logging":{"rate":100},"https_only_enforce_starting":2538809200000,"https_only_learn_more":"https:\/\/developers.facebook.com\/blog\/post\/2018\/06\/08\/enforce-https-facebook-login\/","https_only_scribe_logging":{"rate":1},"log_perf":{"rate":0.001}}});__d("JSSDKXDConfig",[],{"XdUrl":"\/connect\/xd_arbiter.php?version=43","XdBundleUrl":"\/connect\/xd_arbiter\/r\/j-GHT1gpo6-.js?version=43","useCdn":true});__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}\u0040keyframes 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_dialog_advanced{border-radius:8px;padding:10px}.fb_dialog_content{background:#fff;color:#373737}.fb_dialog_close_icon{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yq\/r\/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;cursor:pointer;display:block;height:15px;position:absolute;right:18px;top:17px;width:15px}.fb_dialog_mobile .fb_dialog_close_icon{left:5px;right:auto;top:5px}.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}.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}.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\u0025;float:left;padding:5px 0 7px 26px}body.fb_hidden{height:100\u0025;left:0;margin:0;overflow:visible;position:absolute;top:-10000px;transform:none;width:100\u0025}.fb_dialog.fb_dialog_mobile.loading{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ya\/r\/3rhSv5V8j3o.gif) white no-repeat 50\u0025 50\u0025;min-height:100\u0025;min-width:100\u0025;overflow:hidden;position:absolute;top:0;z-index:10001}.fb_dialog.fb_dialog_mobile.loading.centered{background:none;height:auto;min-height:initial;min-width:initial;width:auto}.fb_dialog.fb_dialog_mobile.loading.centered #fb_dialog_loader_spinner{width:100\u0025}.fb_dialog.fb_dialog_mobile.loading.centered .fb_dialog_content{background:none}.loading.centered #fb_dialog_loader_close{clear:both;color:#fff;display:block;font-size:18px;padding-top:20px}#fb-root #fb_dialog_ipad_overlay{background:rgba(0, 0, 0, .4);bottom:0;left:0;min-height:100\u0025;position:absolute;right:0;top:0;width:100\u0025;z-index:10000}#fb-root #fb_dialog_ipad_overlay.hidden{display:none}.fb_dialog.fb_dialog_mobile.loading iframe{visibility:hidden}.fb_dialog_mobile .fb_dialog_iframe{position:sticky;top:0}.fb_dialog_content .dialog_header{background:linear-gradient(from(#738aba), to(#2c4987));border-bottom:1px solid;border-color:#1d3c78;box-shadow:white 0 1px 1px -1px inset;color:#fff;font:bold 14px Helvetica, sans-serif;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{height:43px;width:100\u0025}.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:linear-gradient(from(#4267B2), to(#2a4887));background-clip:padding-box;border:1px solid #29487d;border-radius:3px;display:inline-block;line-height:18px;margin-top:3px;max-width:85px;padding:4px 12px;position:relative}.fb_dialog_content .dialog_header .touchable_button input{background:none;border:none;color:#fff;font:bold 12px Helvetica, sans-serif;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\u0025 50\u0025;border:1px solid #4a4a4a;border-bottom:0;border-top:0;height:150px}.fb_dialog_content .dialog_footer{background:#f5f6f7;border:1px solid #4a4a4a;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-position:50\u0025 50\u0025;background-repeat:no-repeat;height:24px;width:24px}\u0040keyframes rotateSpinner{0\u0025{transform:rotate(0deg)}100\u0025{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\u0025}.fb_iframe_widget_fluid_desktop iframe{min-width:220px;position:relative}.fb_iframe_widget_lift{z-index:1}.fb_iframe_widget_fluid{display:inline}.fb_iframe_widget_fluid span{width:100\u0025}\n.fb_customer_chat_bounce_in_v2{animation-duration:300ms;animation-name:fb_bounce_in_v2;transition-timing-function:ease-in}.fb_customer_chat_bounce_out_v2{animation-duration:300ms;animation-name:fb_bounce_out_v2;transition-timing-function:ease-in}.fb_customer_chat_bounce_in_v2_mobile_chat_started{animation-duration:300ms;animation-name:fb_bounce_in_v2_mobile_chat_started;transition-timing-function:ease-in}.fb_customer_chat_bounce_out_v2_mobile_chat_started{animation-duration:300ms;animation-name:fb_bounce_out_v2_mobile_chat_started;transition-timing-function:ease-in}.fb_customer_chat_bubble_pop_in{animation-duration:250ms;animation-name:fb_customer_chat_bubble_bounce_in_animation}.fb_customer_chat_bubble_animated_no_badge{box-shadow:0 3px 12px rgba(0, 0, 0, .15);transition:box-shadow 150ms linear}.fb_customer_chat_bubble_animated_no_badge:hover{box-shadow:0 5px 24px rgba(0, 0, 0, .3)}.fb_customer_chat_bubble_animated_with_badge{box-shadow:-5px 4px 14px rgba(0, 0, 0, .15);transition:box-shadow 150ms linear}.fb_customer_chat_bubble_animated_with_badge:hover{box-shadow:-5px 8px 24px rgba(0, 0, 0, .2)}.fb_invisible_flow{display:inherit;height:0;overflow-x:hidden;width:0}.fb_mobile_overlay_active{background-color:#fff;height:100\u0025;overflow:hidden;position:fixed;visibility:hidden;width:100\u0025}\u0040keyframes fb_bounce_in_v2{0\u0025{opacity:0;transform:scale(0, 0);transform-origin:bottom right}50\u0025{transform:scale(1.03, 1.03);transform-origin:bottom right}100\u0025{opacity:1;transform:scale(1, 1);transform-origin:bottom right}}\u0040keyframes fb_bounce_in_v2_mobile_chat_started{0\u0025{opacity:0;top:20px}100\u0025{opacity:1;top:0}}\u0040keyframes fb_bounce_out_v2{0\u0025{opacity:1;transform:scale(1, 1);transform-origin:bottom right}100\u0025{opacity:0;transform:scale(0, 0);transform-origin:bottom right}}\u0040keyframes fb_bounce_out_v2_mobile_chat_started{0\u0025{opacity:1;top:0}100\u0025{opacity:0;top:20px}}\u0040keyframes fb_customer_chat_bubble_bounce_in_animation{0\u0025{bottom:6pt;opacity:0;transform:scale(0, 0);transform-origin:center}70\u0025{bottom:18pt;opacity:1;transform:scale(1.2, 1.2)}100\u0025{transform:scale(1, 1)}}","components":["css:fb.css.base","css:fb.css.dialog","css:fb.css.iframewidget","css:fb.css.customer_chat_plugin_iframe"]});__d("JSSDKCanvasPrefetcherConfig",[],{"blacklist":[144959615576466,768691303149786,320528941393723],"sampleRate":500});__d("TimeSliceInteractionSV",[],{"on_demand_reference_counting":{"thing":true},"on_demand_profiling_counters":true,"default_rate":1000,"lite_default_rate":100,"interaction_to_lite_coinflip":{"ADS_INTERFACES_INTERACTION":0,"ads_perf_scenario":0,"ads_wait_time":0,"Event":1,"video_psr":0,"video_stall":0},"interaction_to_coinflip":{"ADS_INTERFACES_INTERACTION":1,"ads_perf_scenario":1,"ads_wait_time":1,"video_psr":1000000,"video_stall":2500000,"Event":100,"pixelcloud_view_performance":25,"intern_notify_inbox_page_load":10,"intern_notify_jewel_list_load":10,"tasks_initial_page_load":1,"watch_carousel_left_scroll":1,"watch_carousel_right_scroll":1,"watch_sections_load_more":1,"watch_discover_scroll":1,"fbpkg_ui":1,"sevmanager_powersearch_initial_page_load":10,"backbone_ui":1,"daiquery_interactive_query":1},"enable_heartbeat":true,"maxBlockMergeDuration":0,"maxBlockMergeDistance":0,"enable_banzai_stream":true,"user_timing_coinflip":50,"banzai_stream_coinflip":1,"compression_enabled":true,"ref_counting_fix":true,"ref_counting_cont_fix":{"thing":false},"also_record_new_timeslice_format":false,"force_async_request_tracing_on":false});      __d("DOMWrapper",[],(function(a,b,c,d,e,f){var g,h;a={setRoot:function(a){g=a},getRoot:function(){return g||document.body},setWindow:function(a){h=a},getWindow:function(){return h||self}};e.exports=a}),null);
__d("dotAccess",[],(function(a,b,c,d,e,f){function a(a,b,c){b=b.split(".");do{var d=b.shift();a=a[d]||c&&(a[d]={})}while(b.length&&a);return a}e.exports=a}),null);
__d("guid",[],(function(a,b,c,d,e,f){function a(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}e.exports=a}),null);
__d("wrapFunction",[],(function(a,b,c,d,e,f){__p&&__p();var g={};a=function(a,b,c){return function(){var d=b in g?g[b](a,c):a;for(var e=arguments.length,f=new Array(e),h=0;h<e;h++)f[h]=arguments[h];return d.apply(this,f)}};a.setWrapper=function(a,b){g[b]=a};e.exports=a}),null);
__d("GlobalCallback",["DOMWrapper","dotAccess","guid","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j){__p&&__p();var k,l;a={setPrefix:function(a){k=h(g.getWindow(),a,!0),l=a},create:function(a,b){k||this.setPrefix("__globalCallbacks");var c=i();k[c]=j(a,"entry",b||"GlobalCallback");return l+"."+c},remove:function(a){a=a.substring(l.length+1);delete k[a]}};e.exports=a}),null);
__d("Log",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={DEBUG:3,INFO:2,WARNING:1,ERROR:0};b=function(a,b,c){for(var d=arguments.length,e=new Array(d>3?d-3:0),f=3;f<d;f++)e[f-3]=arguments[f];var h=0,i=c.replace(/%s/g,function(){return String(e[h++])}),j=window.console;j&&g.level>=b&&j[a in j?a:"log"](i)};var g={level:-1,Level:a,debug:ES(b,"bind",!0,null,"debug",a.DEBUG),info:ES(b,"bind",!0,null,"info",a.INFO),warn:ES(b,"bind",!0,null,"warn",a.WARNING),error:ES(b,"bind",!0,null,"error",a.ERROR),log:b};e.exports=g}),null);
__d("OAuthControllerParameterName",[],(function(a,b,c,d,e,f){e.exports=ES("Object","freeze",!1,{ANCESTOR_ORIGINS:"ancestor_origins",ANDROID_KEY:"android_key",API_KEY:"api_key",APP_ID:"app_id",AUTH_NONCE:"auth_nonce",AUTH_TYPE:"auth_type",CLIENT_ID:"client_id",CONTEXT:"context",DEFAULT_AUDIENCE:"default_audience",DISPLAY:"display",DOMAIN:"domain",E2E:"e2e",EXPLICIT_TOKEN:"explicit_token",EXTRAS:"extras",FORCE_CONFIRMATION:"force_confirmation",MBASIC_NAVIGATION:"mbasic_navigation",NEXT:"next",NONCE:"nonce",ORIGIN:"origin",ORIGINAL_REDIRECT_URI:"original_redirect_uri",PERMS:"perms",REDIRECT_URI:"redirect_uri",REF:"ref",RESPONSE_TYPE:"response_type",RETURN_SCOPES:"return_scopes",SCOPE:"scope",SDK:"sdk",STATE:"state",SSO:"sso",SSO_KEY:"sso_key",USER_CODE:"user_code",VERSION:"version",WINDOWS_STORE_ID:"windows_store_id",AUTH_TOKEN:"auth_token",RETURN_SESSION:"return_session",SESSION_VERSION:"session_version",TYPE:"type"})}),null);
__d("ObservableMixin",[],(function(a,b,c,d,e,f){__p&&__p();function a(){this.__observableEvents={}}a.prototype={inform:function(a){__p&&__p();var b=Array.prototype.slice.call(arguments,1),c=Array.prototype.slice.call(this.getSubscribers(a));for(var d=0;d<c.length;d++){if(c[d]===null)continue;try{c[d].apply(this,b)}catch(a){window.setTimeout(function(){throw a},0)}}return this},getSubscribers:function(a){return this.__observableEvents[a]||(this.__observableEvents[a]=[])},clearSubscribers:function(a){a&&(this.__observableEvents[a]=[]);return this},subscribe:function(a,b){a=this.getSubscribers(a);a.push(b);return this},unsubscribe:function(a,b){a=this.getSubscribers(a);for(var c=0;c<a.length;c++)if(a[c]===b){a.splice(c,1);break}return this}};e.exports=a}),null);
__d("QueryString",[],(function(a,b,c,d,e,f){__p&&__p();function a(a){__p&&__p();var b=[];ES(ES("Object","keys",!1,a).sort(),"forEach",!0,function(c){var d=a[c];if(d===void 0)return;if(d===null){b.push(c);return}b.push(encodeURIComponent(c)+"="+encodeURIComponent(d))});return b.join("&")}function b(a,b){__p&&__p();b===void 0&&(b=!1);var c={};if(a==="")return c;a=a.split("&");for(var d=0;d<a.length;d++){var e=a[d].split("=",2),f=decodeURIComponent(e[0]);if(b&&Object.prototype.hasOwnProperty.call(c,f))throw new URIError("Duplicate key: "+f);c[f]=e.length===2?decodeURIComponent(e[1]):null}return c}function c(a,b){return a+(ES(a,"indexOf",!0,"?")!==-1?"&":"?")+(typeof b==="string"?b:g.encode(b))}var g={encode:a,decode:b,appendToUrl:c};e.exports=g}),null);
__d("Env",[],(function(a,b,c,d,e,f){b={start:ES("Date","now",!1),nocatch:!1,ajaxpipe_token:null};a.Env&&ES("Object","assign",!1,b,a.Env);a.Env=b;e.exports=b}),null);
__d("javascript_shared_TAAL_OpCode",[],(function(a,b,c,d,e,f){e.exports=ES("Object","freeze",!1,{PREVIOUS_FILE:1,PREVIOUS_FRAME:2,PREVIOUS_DIR:3,FORCED_KEY:4})}),null);
__d("TAALOpcodes",["javascript_shared_TAAL_OpCode"],(function(a,b,c,d,e,f,g){"use strict";a={previousFile:function(){return g.PREVIOUS_FILE},previousFrame:function(){return g.PREVIOUS_FRAME},previousDirectory:function(){return g.PREVIOUS_DIR},getString:function(a){return a&&a.length?" TAAL["+a.join(";")+"]":""}};e.exports=a}),null);
__d("TAAL",["TAALOpcodes"],(function(a,b,c,d,e,f,g){"use strict";a={blameToPreviousFile:function(a){return this.applyOpcodes(a,[g.previousFile()])},blameToPreviousFrame:function(a){return this.applyOpcodes(a,[g.previousFrame()])},blameToPreviousDirectory:function(a){return this.applyOpcodes(a,[g.previousDirectory()])},applyOpcodes:function(a,b){return a+g.getString(b)}};e.exports=a}),null);
__d("eprintf",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];var e=ES(c,"map",!0,function(a){return String(a)}),f=a.split("%s").length-1;if(f!==e.length)return g("eprintf args number mismatch: %s",ES("JSON","stringify",!1,[a].concat(e)));var h=0;return a.replace(/%s/g,function(){return String(e[h++])})}e.exports=g}),null);
__d("ex",["eprintf"],(function(a,b,c,d,e,f,g){function h(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];var e=ES(c,"map",!0,function(a){return String(a)}),f=a.split("%s").length-1;return f!==e.length?h("ex args number mismatch: %s",ES("JSON","stringify",!1,[a].concat(e))):h._prefix+ES("JSON","stringify",!1,[a].concat(e))+h._suffix}h._prefix="<![EX[";h._suffix="]]>";e.exports=h}),null);
__d("sprintf",[],(function(a,b,c,d,e,f){function a(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];var e=0;return a.replace(/%s/g,function(){return String(c[e++])})}e.exports=a}),null);
__d("invariant",["Env","TAAL","ex","sprintf"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=i;function a(a,b){__p&&__p();if(!a){var c=b;for(var d=arguments.length,e=new Array(d>2?d-2:0),f=2;f<d;f++)e[f-2]=arguments[f];if(typeof c==="number"){var g=l(c,e),i=g.message,j=g.decoderLink;c=i;e.unshift(j)}else if(c===void 0){c="Invariant: ";for(var m=0;m<e.length;m++)c+="%s,"}c=h.blameToPreviousFrame(c);var n=new Error(k.apply(void 0,[c].concat(e)));n.name="Invariant Violation";n.messageWithParams=[c].concat(e);throw n}}function l(a,b){var c="Minified invariant #"+a+"; %s";b.length>0&&(c+=" Params: "+ES(b,"map",!0,function(a){return"%s"}).join(", "));a=g.show_invariant_decoder===!0?"visit "+m(a,b)+" to see the full message.":"";return{message:c,decoderLink:a}}function m(a,b){a="https://our.intern.facebook.com/intern/invariant/"+a+"/";b.length>0&&(a+="?"+ES(b,"map",!0,function(a,b){return"args["+b+"]="+encodeURIComponent(String(a))}).join("&"));return a}e.exports=a}),null);
__d("UrlMap",["UrlMapConfig","invariant"],(function(a,b,c,d,e,f,g,h){a={resolve:function(a){var b="https";if(a in g)return b+"://"+g[a];a in g||h(0,2511,a);return""}};e.exports=a}),null);
__d("ManagedError",[],(function(a,b,c,d,e,f){var g;b=babelHelpers.inherits(a,Error);g=b&&b.prototype;function a(a,b){"use strict";g.constructor.call(this,a!==null&&a!==void 0?a:""),a!==null&&a!==void 0?this.message=a:this.message="",this.innerError=b}e.exports=a}),null);
__d("AssertionError",["ManagedError"],(function(a,b,c,d,e,f,g){function a(a){g.prototype.constructor.apply(this,arguments)}a.prototype=new g();a.prototype.constructor=a;e.exports=a}),null);
__d("Assert",["AssertionError","sprintf"],(function(a,b,c,d,e,f,g,h){__p&&__p();function i(a,b){if(typeof a!=="boolean"||!a)throw new g(b);return a}function j(a,b,c){__p&&__p();var d;if(b===void 0)d="undefined";else if(b===null)d="null";else{var e=Object.prototype.toString.call(b);d=/\s(\w*)/.exec(e)[1].toLowerCase()}i(ES(a,"indexOf",!0,d)!==-1,c||h("Expression is of type %s, not %s",d,a));return b}function a(a,b,c){i(b instanceof a,c||"Expression not instance of type");return b}function k(a,b){l["is"+a]=b,l["maybe"+a]=function(a,c){a!=null&&b(a,c)}}var l={isInstanceOf:a,isTrue:i,isTruthy:function(a,b){return i(!!a,b)},type:j,define:function(a,b){a=a.substring(0,1).toUpperCase()+a.substring(1).toLowerCase(),k(a,function(a,c){i(b(a),c)})}};ES(["Array","Boolean","Date","Function","Null","Number","Object","Regexp","String","Undefined"],"forEach",!0,function(a){k(a,ES(j,"bind",!0,null,a.toLowerCase()))});e.exports=l}),null);
__d("Type",["Assert"],(function(a,b,c,d,e,f,g){__p&&__p();function h(){var a=this.__mixins;if(a)for(var b=0;b<a.length;b++)a[b].apply(this,arguments)}function i(a,b){if(b instanceof a)return!0;if(b instanceof h)for(var c=0;c<b.__mixins.length;c++)if(b.__mixins[c]==a)return!0;return!1}function j(a,b){var c=a.prototype;ES("Array","isArray",!1,b)||(b=[b]);for(var a=0;a<b.length;a++){var d=b[a];typeof d==="function"&&(c.__mixins.push(d),d=d.prototype);ES(ES("Object","keys",!1,d),"forEach",!0,function(a){c[a]=d[a]})}}function k(a,b,c){__p&&__p();var d=b&&Object.prototype.hasOwnProperty.call(b,"constructor")?b.constructor:function(){this.parent.apply(this,arguments)};g.isFunction(d);if(a&&a.prototype instanceof h===!1)throw new Error("parent type does not inherit from Type");a=a||h;function e(){}e.prototype=a.prototype;d.prototype=new e();b&&ES("Object","assign",!1,d.prototype,b);d.prototype.constructor=d;d.parent=a;d.prototype.__mixins=a.prototype.__mixins?Array.prototype.slice.call(a.prototype.__mixins):[];c&&j(d,c);d.prototype.parent=function(){this.parent=a.prototype.parent,a.apply(this,arguments)};d.prototype.parentCall=function(b){return a.prototype[b].apply(this,Array.prototype.slice.call(arguments,1))};d.extend=function(a,b){return k(this,a,b)};return d}ES("Object","assign",!1,h.prototype,{instanceOf:function(a){return i(a,this)}});ES("Object","assign",!1,h,{extend:function(a,b){return typeof a==="function"?k.apply(null,arguments):k(null,a,b)},instanceOf:i});e.exports=h}),null);
__d("sdk.Model",["ObservableMixin","Type"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();a=h.extend({constructor:function(a){__p&&__p();this.parent();var b={},c=this;ES(ES("Object","keys",!1,a),"forEach",!0,function(d){b[d]=a[d],c["set"+d]=function(a){if(a===b[d])return c;b[d]=a;c.inform(d+".change",a);return c},c["get"+d]=function(){return b[d]}})}},g);e.exports=a}),null);
__d("sdk.Runtime",["JSSDKRuntimeConfig","sdk.Model"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i={UNKNOWN:0,PAGETAB:1,CANVAS:2,PLATFORM:4},j=new h({AccessToken:"",AutoLogAppEvents:!1,ClientID:"",CookieUserID:"",Environment:i.UNKNOWN,Initialized:!1,IsVersioned:!1,KidDirectedSite:void 0,Locale:g.locale,LoggedIntoFacebook:void 0,LoginStatus:void 0,Revision:g.revision,Rtl:g.rtl,Scope:void 0,SDKAB:g.sdkab,SDKUrl:g.sdkurl,SDKNS:g.sdkns,UseCookie:!1,UseLocalStorage:!0,UserID:"",Version:void 0});ES("Object","assign",!1,j,{ENVIRONMENTS:i,isEnvironment:function(a){var b=this.getEnvironment();return(a|b)===b},isCanvasEnvironment:function(){return this.isEnvironment(i.CANVAS)||this.isEnvironment(i.PAGETAB)}});(function(){var a=/app_runner/.test(window.name)?i.PAGETAB:/iframe_canvas/.test(window.name)?i.CANVAS:i.UNKNOWN;(a|i.PAGETAB)===a&&(a|=i.CANVAS);j.setEnvironment(a)})();e.exports=j}),null);
__d("sdk.Cookie",["QueryString","sdk.Runtime"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i=null;function j(a,b,c,d){a=a+h.getClientID();d=d?";Secure":"";var e=i!==null&&i!==".";e&&(document.cookie=a+"=; expires=Wed, 04 Feb 2004 08:00:00 GMT"+d,document.cookie=a+"=; expires=Wed, 04 Feb 2004 08:00:00 GMT;domain="+location.hostname+d);var f=new Date(c).toUTCString();document.cookie=a+"="+b+(b&&c===0?"":"; expires="+f)+"; path=/"+(e?"; domain="+((a=i)!=null?a:""):"")+d}function k(a){a=a+h.getClientID();a=new RegExp("\\b"+a+"=([^;]*)\\b");a=document.cookie.match(a);if(a===null||a===void 0)return null;else return a[1]}a={setDomain:function(a){i=a;a=g.encode({base_domain:i!==null&&i!=="."?i:""});var b=new Date();b.setFullYear(b.getFullYear()+1);j("fbm_",a,b.getTime(),!1)},getDomain:function(){return i},loadMeta:function(){var a=k("fbm_");if(a!==null&&a!==void 0&&i===null){a=g.decode(a);i=a.base_domain;return a}return null},loadSignedRequest:function(){return k("fbsr_")},setSignedRequestCookie:function(a,b,c){if(a==="")throw new Error("Value passed to Cookie.setSignedRequestCookie was empty.");j("fbsr_",a,b,c)},clearSignedRequestCookie:function(){this.loadMeta(),j("fbsr_","",0,!1)},setRaw:j,getRaw:k};e.exports=a}),null);
__d("Miny",[],(function(a,b,c,d,e,f){__p&&__p();var g="Miny1",h="wxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_".split("");a={encode:function(a){__p&&__p();if(/^$|[~\\]|__proto__/.test(a))return a;a=a.match(/\w+|\W+/g);var b,c=ES("Object","create",!1,null);for(b=0;b<a.length;b++)c[a[b]]=(c[a[b]]||0)+1;var d=ES("Object","keys",!1,c);d.sort(function(a,b){return c[b]-c[a]});for(b=0;b<d.length;b++){var e=(b-b%32)/32;c[d[b]]=e?e.toString(32)+h[b%32]:h[b%32]}e="";for(b=0;b<a.length;b++)e+=c[a[b]];d.unshift(g,d.length);d.push(e);return d.join("~")}};e.exports=a}),null);
__d("sdk.UA",[],(function(a,b,c,d,e,f){__p&&__p();a=navigator.userAgent;var g={iphone:/\b(iPhone|iP[ao]d)/.test(a),ipad:/\b(iP[ao]d)/.test(a),android:/Android/i.test(a),nativeApp:/FBAN\/\w+;/i.test(a),nativeAndroidApp:/FB_IAB\/\w+;/i.test(a),nativeInstagramApp:/Instagram/i.test(a),nativeMessengeriOSApp:/MessengerForiOS/i.test(a),nativeMessengerAndroidApp:/Orca\-Android/i.test(a),ucBrowser:/UCBrowser/i.test(a)},h=/Mobile/i.test(a),i={ie:NaN,firefox:NaN,chrome:NaN,webkit:NaN,osx:NaN,edge:NaN,operaMini:NaN,ucWeb:NaN};b=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(a);if(b){i.ie=b[1]?parseFloat(b[1]):b[4]?parseFloat(b[4]):NaN;i.firefox=b[2]||"";i.webkit=b[3]||"";if(b[3]){c=/(?:Chrome\/(\d+\.\d+))/.exec(a);i.chrome=c?c[1]:"";d=/(?:Edge\/(\d+\.\d+))/.exec(a);i.edge=d?d[1]:""}}f=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(a);f&&(i.osx=f[1]);b=/(?:Opera Mini\/(\d+(?:\.\d+)?))/.exec(a);b&&(i.operaMini=b[1]);c=/(?:UCWEB\/(\d+(?:\.\d+))?)/.exec(a);c&&(i.ucWeb=c[1]||"2.0");function j(a){return ES(String(a).split("."),"map",!0,function(a){return parseFloat(a)})}var k={};ES(ES("Object","keys",!1,i),"map",!0,function(a){k[a]=function(){return parseFloat(i[a])},k[a].getVersionParts=function(){return j(i[a])}});ES(ES("Object","keys",!1,g),"map",!0,function(a){k[a]=function(){return g[a]}});k.mobile=function(){return g.iphone||g.ipad||g.android||h};k.mTouch=function(){return g.android||g.iphone||g.ipad};k.facebookInAppBrowser=function(){return g.nativeApp||g.nativeAndroidApp};k.inAppBrowser=function(){return g.nativeApp||g.nativeAndroidApp||g.nativeInstagramApp};k.mBasic=function(){return!!(i.ucWeb||i.operaMini)};k.instagram=function(){return g.nativeInstagramApp};k.messenger=function(){return g.nativeMessengeriOSApp||g.nativeMessengerAndroidApp};e.exports=k}),null);
__d("getBlankIframeSrc",["sdk.UA"],(function(a,b,c,d,e,f,g){function a(){return g.ie()<10?"javascript:false":"about:blank"}e.exports=a}),null);
__d("insertIframe",["GlobalCallback","getBlankIframeSrc","guid"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();function a(a){__p&&__p();a.id=a.id||i();a.name=a.name||i();var b=!1,c=!1,d=function(){b&&!c&&(c=!0,a.onload&&a.onload(a.root.firstChild))},e=g.create(d);if(document.attachEvent){var f='<iframe id="'+a.id+'" name="'+a.name+'"'+(a.title?' title="'+a.title+'"':"")+(a.className?' class="'+a.className+'"':"")+' style="border:none;'+(a.width?"width:"+a.width+"px;":"")+(a.height?"height:"+a.height+"px;":"")+'" src="'+h()+'" frameborder="0" scrolling="no" allowtransparency="true" onload="'+e+'()"></iframe>';a.root.innerHTML='<iframe src="'+h()+'" frameborder="0" scrolling="no" style="height:1px"></iframe>';b=!0;setTimeout(function(){a.root.innerHTML=f,a.root.firstChild.src=a.url,a.onInsert&&a.onInsert(a.root.firstChild)},0)}else{e=document.createElement("iframe");e.id=a.id;e.name=a.name;e.onload=d;e.scrolling="no";e.style.border="none";e.style.overflow="hidden";a.title&&(e.title=a.title);a.className&&(e.className=a.className);a.height!==void 0&&(e.style.height=a.height+"px");a.width!==void 0&&(a.width=="100%"?e.style.width=a.width:e.style.width=a.width+"px");a.root.appendChild(e);b=!0;e.src=a.url;a.onInsert&&a.onInsert(e)}}e.exports=a}),null);
__d("sdk.domReady",[],(function(a,b,c,d,e,f){__p&&__p();var g;b="readyState"in document?/loaded|complete/.test(document.readyState):!!document.body;function h(){if(!g)return;var a;while(a=g.shift())a();g=null}function a(a){if(g){g.push(a);return}else a()}if(!b){g=[];document.addEventListener?(document.addEventListener("DOMContentLoaded",h,!1),window.addEventListener("load",h,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",h),window.attachEvent("onload",h));if(document.documentElement.doScroll&&window===window.top){c=function a(){try{document.documentElement.doScroll("left")}catch(b){setTimeout(a,0);return}h()};c()}}e.exports=a}),3);
__d("sdk.Content",["Log","sdk.domReady","sdk.UA"],(function(a,b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l={append:function(a,b){b||(!j?(j=b=document.getElementById("fb-root"),b||(g.warn('The "fb-root" div has not been created, auto-creating'),j=b=document.createElement("div"),b.id="fb-root",i.ie()||!document.body?h(function(){b&&document.body&&document.body.appendChild(b)}):document.body.appendChild(b)),b.className+=" fb_reset"):b=j);if(typeof a==="string"){var c=document.createElement("div");b.appendChild(c).innerHTML=a;return c}else return b.appendChild(a)},appendHidden:function(a){__p&&__p();if(!k){k=document.createElement("div");var b=k.style;b.position="absolute";b.top="-10000px";b.width="0";b.height="0";k=l.append(k)}return l.append(a,k)},submitToTarget:function(a,b){__p&&__p();var c=document.createElement("form");c.action=a.url;c.target=a.target;c.method=b?"GET":"POST";l.appendHidden(c);for(var d in a.params)if(Object.prototype.hasOwnProperty.call(a.params,d)){b=a.params[d];if(b!==null&&b!==void 0){var e=document.createElement("input");e.name=d;e.value=b;c.appendChild(e)}}c.submit();c.parentNode&&c.parentNode.removeChild(c)}};e.exports=l}),null);
__d("sdk.Impressions",["Miny","QueryString","UrlMap","getBlankIframeSrc","guid","insertIframe","sdk.Content","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){__p&&__p();function o(a){__p&&__p();var b=n.getClientID();!a.api_key&&b&&(a.api_key=b);a.kid_directed_site=n.getKidDirectedSite();b=i.resolve("www",!0)+"/impression.php/"+k()+"/";var c=h.appendToUrl(b,a);if(c.length>2e3&&(a.payload&&typeof a.payload==="string")){var d=g.encode(a.payload);d&&d.length<a.payload.length&&(a.payload=d,c=h.appendToUrl(b,a))}if(c.length<=2e3){d=new Image();d.src=c}else{d=k();var e=m.appendHidden("");l({url:j(),root:e,name:d,className:"fb_hidden fb_invisible",onload:function(){e.parentNode.removeChild(e)}});m.submitToTarget({url:b,target:d,params:a})}}a={log:function(a,b){b.source||(b.source="jssdk"),o({lid:a,payload:ES("JSON","stringify",!1,b)})},impression:o};e.exports=a}),null);
__d("sdk.Scribe",["QueryString","UrlMap","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i){function a(a,b){typeof b.extra==="object"&&(b.extra.revision=i.getRevision()),new Image().src=g.appendToUrl(h.resolve("www")+"/common/scribe_endpoint.php",{c:a,m:ES("JSON","stringify",!1,b)})}b={log:a};e.exports=b}),null);
__d("Base64",[],(function(a,b,c,d,e,f){__p&&__p();var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function h(a){a=a.charCodeAt(0)<<16|a.charCodeAt(1)<<8|a.charCodeAt(2);return String.fromCharCode(g.charCodeAt(a>>>18),g.charCodeAt(a>>>12&63),g.charCodeAt(a>>>6&63),g.charCodeAt(a&63))}var i=">___?456789:;<=_______\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19______\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123";function j(a){a=i.charCodeAt(a.charCodeAt(0)-43)<<18|i.charCodeAt(a.charCodeAt(1)-43)<<12|i.charCodeAt(a.charCodeAt(2)-43)<<6|i.charCodeAt(a.charCodeAt(3)-43);return String.fromCharCode(a>>>16,a>>>8&255,a&255)}var k={encode:function(a){a=unescape(encodeURI(a));var b=(a.length+2)%3;a=(a+"\0\0".slice(b)).replace(/[\s\S]{3}/g,h);return a.slice(0,a.length+b-2)+"==".slice(b)},decode:function(a){a=a.replace(/[^A-Za-z0-9+\/]/g,"");var b=a.length+3&3;a=(a+"AAA".slice(b)).replace(/..../g,j);a=a.slice(0,a.length+b-3);try{return decodeURIComponent(escape(a))}catch(a){throw new Error("Not valid UTF-8")}},encodeObject:function(a){return k.encode(ES("JSON","stringify",!1,a))},decodeObject:function(a){return ES("JSON","parse",!1,k.decode(a))},encodeNums:function(a){return String.fromCharCode.apply(String,ES(a,"map",!0,function(a){return g.charCodeAt((a|-(a>63?1:0))&-(a>0?1:0)&63)}))}};e.exports=k}),null);
__d("sdk.SignedRequest",["Base64"],(function(a,b,c,d,e,f,g){function a(a){if(!a)return null;a=a.split(".",2)[1].replace(/\-/g,"+").replace(/\_/g,"/");return g.decodeObject(a)}b={parse:a};e.exports=b}),null);
__d("URIRFC3986",[],(function(a,b,c,d,e,f){__p&&__p();var g=new RegExp("^([^:/?#]+:)?(//([^\\\\/?#@]*@)?(\\[[A-Fa-f0-9:.]+\\]|[^\\/?#:]*)(:[0-9]*)?)?([^?#]*)(\\?[^#]*)?(#.*)?");a={parse:function(a){__p&&__p();if(ES(a,"trim",!0)==="")return null;a=a.match(g);if(a==null)return null;var b={};b.uri=a[0]?a[0]:null;b.scheme=a[1]?a[1].substr(0,a[1].length-1):null;b.authority=a[2]?a[2].substr(2):null;b.userinfo=a[3]?a[3].substr(0,a[3].length-1):null;b.host=a[2]?a[4]:null;b.port=a[5]?a[5].substr(1)?parseInt(a[5].substr(1),10):null:null;b.path=a[6]?a[6]:null;b.query=a[7]?a[7].substr(1):null;b.fragment=a[8]?a[8].substr(1):null;b.isGenericURI=b.authority===null&&!!b.scheme;return b}};e.exports=a}),null);
__d("createObjectFrom",[],(function(a,b,c,d,e,f){__p&&__p();function g(a,b){if(b===void 0)return g(a,!0);var c={};if(ES("Array","isArray",!1,b))for(var d=a.length-1;d>=0;d--)c[a[d]]=b[d];else for(var d=a.length-1;d>=0;d--)c[a[d]]=b;return c}e.exports=g}),null);
__d("URISchemes",["createObjectFrom"],(function(a,b,c,d,e,f,g){var h=g(["blob","cmms","fb","fba","fbatwork","fb-ama","fb-workchat","fb-workchat-secure","fb-messenger","fb-messenger-public","fb-messenger-group-thread","fb-page-messages","fb-pma","fbcf","fbconnect","fbinternal","fbmobilehome","fbrpc","file","ftp","http","https","mailto","wss","ms-app","intent","itms","itms-apps","itms-services","market","svn+ssh","fbstaging","tel","sms","pebblejs","sftp","whatsapp","moments","flash","fblite","chrome-extension","webcal","fb124024574287414","fb124024574287414rc","fb124024574287414master","fb1576585912599779","fb929757330408142","designpack","fbpixelcloud","fbapi20130214","fb1196383223757595","tbauth","oculus","oculus.store","skype","callto","workchat","fb236786383180508","fb1775440806014337","data"]);a={isAllowed:function(a){return!a?!0:Object.prototype.hasOwnProperty.call(h,a.toLowerCase())}};e.exports=a}),null);
__d("setHostSubdomain",[],(function(a,b,c,d,e,f){function a(a,b){a=a.split(".");a.length<3?a.unshift(b):a[0]=b;return a.join(".")}e.exports=a}),null);
__d("URIBase",["URIRFC3986","URISchemes","ex","invariant","setHostSubdomain"],(function(a,b,c,d,e,f,g,h,i,j,k){__p&&__p();var l=new RegExp("[\\x00-\\x2c\\x2f\\x3b-\\x40\\x5c\\x5e\\x60\\x7b-\\x7f\\uFDD0-\\uFDEF\\uFFF0-\\uFFFF\\u2047\\u2048\\uFE56\\uFE5F\\uFF03\\uFF0F\\uFF1F]"),m=new RegExp("^(?:[^/]*:|[\\x00-\\x1f]*/[\\x00-\\x1f]*/)");function n(a,b,c,d){__p&&__p();if(!b)return!0;if(b instanceof p){a.setProtocol(b.getProtocol());a.setDomain(b.getDomain());a.setPort(b.getPort());a.setPath(b.getPath());a.setQueryData(d.deserialize(d.serialize(b.getQueryData())));a.setFragment(b.getFragment());a.setIsGeneric(b.getIsGeneric());a.setForceFragmentSeparator(b.getForceFragmentSeparator());return!0}b=ES(b.toString(),"trim",!0);var e=g.parse(b)||{fragment:null,scheme:null};if(!c&&!h.isAllowed(e.scheme))return!1;a.setProtocol(e.scheme||"");if(!c&&l.test(e.host||""))return!1;a.setDomain(e.host||"");a.setPort(e.port||"");a.setPath(e.path||"");if(c)a.setQueryData(d.deserialize(e.query||"")||{});else try{a.setQueryData(d.deserialize(e.query||"")||{})}catch(a){return!1}a.setFragment(e.fragment||"");e.fragment===""&&a.setForceFragmentSeparator(!0);a.setIsGeneric(e.isGenericURI||!1);if(e.userinfo!==null)if(c)throw new Error(i("URI.parse: invalid URI (userinfo is not allowed in a URI): %s",a.toString()));else return!1;if(!a.getDomain()&&ES(a.getPath(),"indexOf",!0,"\\")!==-1)if(c)throw new Error(i("URI.parse: invalid URI (no domain but multiple back-slashes): %s",a.toString()));else return!1;if(!a.getProtocol()&&m.test(b))if(c)throw new Error(i("URI.parse: invalid URI (unsafe protocol-relative URLs): %s",a.toString()));else return!1;if(a.getDomain()&&a.getPath()&&!ES(a.getPath(),"startsWith",!0,"/"))if(c)throw new Error(i("URI.parse: invalid URI (domain and path where path lacks leading slash): %s",a.toString()));else return!1;return!0}var o=[];p.tryParse=function(a,b){"use strict";var c=new p(null,b);return n(c,a,!1,b)?c:null};p.isValid=function(a,b){"use strict";return!!p.tryParse(a,b)};function p(a,b){"use strict";b||j(0,2966),this.$9=b,this.$7="",this.$1="",this.$6="",this.$5="",this.$3="",this.$4=!1,this.$8={},this.$2=!1,n(this,a,!0,b)}p.prototype.setProtocol=function(a){"use strict";h.isAllowed(a)||j(0,11793,a);this.$7=a;return this};p.prototype.getProtocol=function(){"use strict";return(this.$7||"").toLowerCase()};p.prototype.setSecure=function(a){"use strict";return this.setProtocol(a?"https":"http")};p.prototype.isSecure=function(){"use strict";return this.getProtocol()==="https"};p.prototype.setDomain=function(a){"use strict";if(l.test(a))throw new Error(i("URI.setDomain: unsafe domain specified: %s for url %s",a,this.toString()));this.$1=a;return this};p.prototype.getDomain=function(){"use strict";return this.$1};p.prototype.setPort=function(a){"use strict";this.$6=a;return this};p.prototype.getPort=function(){"use strict";return this.$6};p.prototype.setPath=function(a){"use strict";this.$5=a;return this};p.prototype.getPath=function(){"use strict";return this.$5};p.prototype.addQueryData=function(a,b){"use strict";Object.prototype.toString.call(a)==="[object Object]"?ES("Object","assign",!1,this.$8,a):this.$8[a]=b;return this};p.prototype.setQueryData=function(a){"use strict";this.$8=a;return this};p.prototype.getQueryData=function(){"use strict";return this.$8};p.prototype.setQueryString=function(a){"use strict";return this.setQueryData(this.$9.deserialize(a))};p.prototype.getQueryString=function(){"use strict";return this.$9.serialize(this.getQueryData())};p.prototype.removeQueryData=function(a){"use strict";ES("Array","isArray",!1,a)||(a=[a]);for(var b=0,c=a.length;b<c;++b)delete this.$8[a[b]];return this};p.prototype.setFragment=function(a){"use strict";this.$3=a;this.setForceFragmentSeparator(!1);return this};p.prototype.getFragment=function(){"use strict";return this.$3};p.prototype.setForceFragmentSeparator=function(a){"use strict";this.$2=a;return this};p.prototype.getForceFragmentSeparator=function(){"use strict";return this.$2};p.prototype.setIsGeneric=function(a){"use strict";this.$4=a;return this};p.prototype.getIsGeneric=function(){"use strict";return this.$4};p.prototype.isEmpty=function(){"use strict";return!(this.getPath()||this.getProtocol()||this.getDomain()||this.getPort()||ES("Object","keys",!1,this.getQueryData()).length>0||this.getFragment())};p.prototype.toString=function(){"use strict";var a=this;for(var b=0;b<o.length;b++)a=o[b](a);return a.$10()};p.prototype.$10=function(){"use strict";__p&&__p();var a="",b=this.getProtocol();b&&(a+=b+":"+(this.getIsGeneric()?"":"//"));b=this.getDomain();b&&(a+=b);b=this.getPort();b&&(a+=":"+b);b=this.getPath();b?a+=b:a&&(a+="/");b=this.getQueryString();b&&(a+="?"+b);b=this.getFragment();b?a+="#"+b:this.getForceFragmentSeparator()&&(a+="#");return a};p.registerFilter=function(a){"use strict";o.push(a)};p.prototype.getOrigin=function(){"use strict";var a=this.getPort();return this.getProtocol()+"://"+this.getDomain()+(a?":"+a:"")};p.prototype.getQualifiedURIBase=function(){"use strict";return new p(this,this.$9).qualify()};p.prototype.qualify=function(){"use strict";if(!this.getDomain()){var a=new p(window.location.href,this.$9);this.setProtocol(a.getProtocol()).setDomain(a.getDomain()).setPort(a.getPort())}return this};p.prototype.setSubdomain=function(a){"use strict";var b=this.qualify().getDomain();return this.setDomain(k(b,a))};p.prototype.getSubdomain=function(){"use strict";if(!this.getDomain())return"";var a=this.getDomain().split(".");if(a.length<=2)return"";else return a[0]};p.prototype.isSubdomainOfDomain=function(a){"use strict";var b=this.getDomain();return p.isDomainSubdomainOfDomain(b,a,this.$9)};p.isDomainSubdomainOfDomain=function(a,b,c){"use strict";if(b===""||a==="")return!1;if(ES(a,"endsWith",!0,b)){var d=a.length,e=b.length,f=d-e-1;if(d===e||a[f]===".")return p.isValid(b,c)}return!1};e.exports=p}),null);
__d("sdk.URI",["Assert","QueryString","URIBase"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j,k=/\.facebook\.com$/,l={serialize:function(a){return a?h.encode(a):""},deserialize:function(a){return a?h.decode(a):{}}};b=babelHelpers.inherits(a,i);j=b&&b.prototype;function a(a){"use strict";g.isString(a,"The passed argument was of invalid type."),j.constructor.call(this,a,l)}a.prototype.isFacebookURI=function(){"use strict";return k.test(this.getDomain())};a.prototype.valueOf=function(){"use strict";return this.toString()};a.isValidURI=function(a){"use strict";return i.isValid(a,l)};e.exports=a}),null);
__d("sdk.WebStorage",["Log"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a={getLocalStorage:function(){try{return window.localStorage}catch(a){g.warn("Failed to get local storage")}return null},getLocalStorageForRead:function(){__p&&__p();try{var a=window.localStorage;if(a){var b="__test__"+ES("Date","now",!1);a.setItem(b,"");a.removeItem(b)}return a}catch(a){g.warn("Failed to get local storage")}return null}};e.exports=a}),null);
__d("Queue",[],(function(a,b,c,d,e,f){__p&&__p();var g={};function h(a){"use strict";this._timeout=null,this._interval=(a==null?void 0:a.interval)||0,this._processor=a==null?void 0:a.processor,this._queue=[],this._stopped=!0}h.prototype._dispatch=function(a){__p&&__p();a===void 0;if(this._stopped||this._queue.length===0)return;a=this._processor;if(a==null){this._stopped=!0;throw new Error("No processor available")}var b=this._interval;if(b!=null)a.call(this,this._queue.shift()),this._timeout=setTimeout(ES(function(){return this._dispatch()},"bind",!0,this),b);else while(this._queue.length)a.call(this,this._queue.shift())};h.prototype.enqueue=function(a){"use strict";this._processor&&!this._stopped?this._processor(a):this._queue.push(a);return this};h.prototype.start=function(a){"use strict";a&&(this._processor=a);this._stopped=!1;this._dispatch();return this};h.prototype.isStarted=function(){"use strict";return!this._stopped};h.prototype.dispatch=function(){"use strict";this._dispatch(!0)};h.prototype.stop=function(a){"use strict";this._stopped=!0;a&&this._timeout!=null&&clearTimeout(this._timeout);return this};h.prototype.merge=function(a,b){"use strict";if(b){(b=this._queue).unshift.apply(b,a._queue)}else{(b=this._queue).push.apply(b,a._queue)}a._queue=[];this._dispatch();return this};h.prototype.getLength=function(){"use strict";return this._queue.length};h.get=function(a,b){"use strict";var c;a in g?c=g[a]:c=g[a]=new h(b);return c};h.exists=function(a){"use strict";return a in g};h.remove=function(a){"use strict";return delete g[a]};e.exports=h}),null);
__d("UserAgent_DEPRECATED",[],(function(a,b,c,d,e,f){__p&&__p();var g=!1,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;function w(){__p&&__p();if(g)return;g=!0;var a=navigator.userAgent,b=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(a),c=/(Mac OS X)|(Windows)|(Linux)/.exec(a);s=/\b(iPhone|iP[ao]d)/.exec(a);t=/\b(iP[ao]d)/.exec(a);q=/Android/i.exec(a);u=/FBAN\/\w+;/i.exec(a);v=/Mobile/i.exec(a);r=!!/Win64/.exec(a);if(b){h=b[1]?parseFloat(b[1]):b[5]?parseFloat(b[5]):NaN;h&&document&&document.documentMode&&(h=document.documentMode);var d=/(?:Trident\/(\d+.\d+))/.exec(a);m=d?parseFloat(d[1])+4:h;i=b[2]?parseFloat(b[2]):NaN;j=b[3]?parseFloat(b[3]):NaN;k=b[4]?parseFloat(b[4]):NaN;k?(b=/(?:Chrome\/(\d+\.\d+))/.exec(a),l=b&&b[1]?parseFloat(b[1]):NaN):l=NaN}else h=i=j=l=k=NaN;if(c){if(c[1]){d=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(a);n=d?parseFloat(d[1].replace("_",".")):!0}else n=!1;o=!!c[2];p=!!c[3]}else n=o=p=!1}var x={ie:function(){return w()||h},ieCompatibilityMode:function(){return w()||m>h},ie64:function(){return x.ie()&&r},firefox:function(){return w()||i},opera:function(){return w()||j},webkit:function(){return w()||k},safari:function(){return x.webkit()},chrome:function(){return w()||l},windows:function(){return w()||o},osx:function(){return w()||n},linux:function(){return w()||p},iphone:function(){return w()||s},mobile:function(){return w()||s||t||q||v},nativeApp:function(){return w()||u},android:function(){return w()||q},ipad:function(){return w()||t}};e.exports=x}),null);
__d("emptyFunction",[],(function(a,b,c,d,e,f){__p&&__p();function a(a){return function(){return a}}b=function(){};b.thatReturns=a;b.thatReturnsFalse=a(!1);b.thatReturnsTrue=a(!0);b.thatReturnsNull=a(null);b.thatReturnsThis=function(){return this};b.thatReturnsArgument=function(a){return a};e.exports=b}),null);
__d("sdk.DOMEventListener",["emptyFunction","invariant","wrapFunction"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j=!1;try{a=Object.defineProperty({},"passive",{get:function(){j=!0}});window.addEventListener("test",null,a)}catch(a){}var k,l;window.addEventListener?(k=function(a,b,c,d){d===void 0&&(d=!1),c.wrapper=i(c,"entry","DOMEventListener.add "+b),a.addEventListener(b,c.wrapper,j?d:!1)},l=function(a,b,c,d){d===void 0&&(d=!1),a.removeEventListener(b,c.wrapper,j?d:!1)}):window.attachEvent?(k=function(a,b,c){c.wrapper=i(c,"entry","DOMEventListener.add "+b),a.attachEvent||h(0,2798),a.attachEvent("on"+b,c.wrapper)},l=function(a,b,c){a.detachEvent||h(0,2799),a.detachEvent("on"+b,c.wrapper)}):l=k=g;b={add:function(a,b,c,d){d===void 0&&(d=!1);k(a,b,c,d);return{remove:function(){l(a,b,c,d)}}},remove:l};e.exports=b}),null);
__d("XDM",["DOMWrapper","Log","UserAgent_DEPRECATED","emptyFunction","guid","sdk.DOMEventListener","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m){__p&&__p();var n={},o={transports:[]},p=g.getWindow();function q(a){__p&&__p();var b={},c=a.length,d=o.transports;while(c--)b[a[c]]=1;c=d.length;while(c--){a=d[c];var e=n[a];if(!b[a]&&e.isAvailable())return a}return null}a={register:function(a,b){h.debug("Registering %s as XDM provider",a),o.transports.push(a),n[a]=b},create:function(a){__p&&__p();if(!a.whenReady&&!a.onMessage){var b="An instance without whenReady or onMessage makes no sense";h.error(b);throw new Error(b)}a.channel||(h.warn("Missing channel name, selecting at random"),a.channel=k());a.whenReady||(a.whenReady=j);a.onMessage||(a.onMessage=j);b=(b=a.transport)!=null?b:q(a.blacklist||[]);var c=b!=null?n[b]:null;if(c!=null&&c.isAvailable()){h.debug("%s is available",b);c.init(a);return b}return null}};var r=/\.facebook\.com(\/|$)/;a.register("postmessage",function(){__p&&__p();var a=!1;return{isAvailable:function(){return!!p.postMessage},init:function(b){__p&&__p();h.debug("init postMessage: "+b.channel);var c="_FB_"+b.channel,d={send:function(a,b,c,d){if(p===c){h.error("Invalid windowref, equal to window (self)");throw new Error()}h.debug("sending to: %s (%s)",b,d);var e=function(){c.postMessage("_FB_"+d+a,b)};i.ie()==8||i.ieCompatibilityMode()?p.setTimeout(e,0):e()}};if(a){b.whenReady(d);return}l.add(p,"message",m(function(a){__p&&__p();var d=a.data,e=a.origin||"native";if(!/^(https?:\/\/|native$)/.test(e)){h.debug("Received message from invalid origin type: %s",e);return}if(e!=="native"&&!(r.test(location.hostname)||r.test(a.origin)))return;if(typeof d!=="string"){h.warn("Received message of type %s from %s, expected a string",typeof d,e);return}h.debug("received message %s from %s",d,e);d.substring(0,c.length)==c&&(d=d.substring(c.length));b.onMessage(d,e)},"entry","onMessage"));b.whenReady(d);a=!0}}}());e.exports=a}),null);
__d("isFacebookURI",[],(function(a,b,c,d,e,f){var g=null,h=["http","https"];function a(a){g||(g=new RegExp("(^|\\.)facebook\\.com$","i"));if(a.isEmpty()&&a.toString()!=="#")return!1;return!a.getDomain()&&!a.getProtocol()?!0:ES(h,"indexOf",!0,a.getProtocol())!==-1&&g.test(a.getDomain())}a.setRegex=function(a){g=a};e.exports=a}),null);
__d("sdk.Event",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={SUBSCRIBE:"event.subscribe",UNSUBSCRIBE:"event.unsubscribe",subscribers:function(){this._subscribersMap||(this._subscribersMap={});return this._subscribersMap},subscribe:function(a,b){var c=this.subscribers();!c[a]?c[a]=[b]:ES(c[a],"indexOf",!0,b)==-1&&c[a].push(b);a!=this.SUBSCRIBE&&a!=this.UNSUBSCRIBE&&this.fire(this.SUBSCRIBE,a,c[a])},unsubscribe:function(a,b){var c=this.subscribers()[a];c&&ES(c,"forEach",!0,function(a,d){a===b&&c.splice(d,1)});a!=this.SUBSCRIBE&&a!=this.UNSUBSCRIBE&&this.fire(this.UNSUBSCRIBE,a,c)},monitor:function(a,b){if(!b()){var c=this,d=function d(){b.apply(b,arguments)&&c.unsubscribe(a,d)};this.subscribe(a,d)}},clear:function(a){delete this.subscribers()[a]},fire:function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];var e=this.subscribers()[a];e&&ES(e,"forEach",!0,function(a){a&&a.apply(this,c)})}};e.exports=a}),null);
__d("JSONRPC",["Log"],(function(a,b,c,d,e,f,g){__p&&__p();function a(a){"use strict";this.$1=0,this.$2={},this.remote=ES(function(a){this.$3=a;return this.remote},"bind",!0,this),this.local={},this.$4=a}a.prototype.stub=function(a){"use strict";this.remote[a]=ES(function(){var b={jsonrpc:"2.0",method:a};for(var c=arguments.length,d=new Array(c),e=0;e<c;e++)d[e]=arguments[e];typeof d[d.length-1]==="function"&&(b.id=++this.$1,this.$2[b.id]=d.pop());b.params=d;this.$4(ES("JSON","stringify",!1,b),this.$3||{method:a})},"bind",!0,this)};a.prototype.read=function(a,b){"use strict";__p&&__p();a=ES("JSON","parse",!1,a);var c=a.id;if(!a.method){if(!this.$2[c]){g.warn("Could not find callback %s",c);return}var d=this.$2[c];delete this.$2[c];delete a.id;delete a.jsonrpc;d(a);return}var e=this;d=this.local[a.method];var f;c?f=function(a,d){var f={jsonrpc:"2.0",id:c};f[a]=d;setTimeout(function(){e.$4(ES("JSON","stringify",!1,f),b)},0)}:f=function(){};if(!d){g.error('Method "%s" has not been defined',a.method);f("error",{code:-32601,message:"Method not found",data:a.method});return}a.params.push(ES(f,"bind",!0,null,"result"));a.params.push(ES(f,"bind",!0,null,"error"));try{d=d.apply(b||null,a.params);typeof d!=="undefined"&&f("result",d)}catch(b){g.error("Invokation of RPC method %s resulted in the error: %s",a.method,b.message),f("error",{code:-32603,message:"Internal error",data:b.message})}};e.exports=a}),null);
__d("sdk.RPC",["Assert","JSONRPC","Queue"],(function(a,b,c,d,e,f,g,h,i){var j=new i(),k=new h(function(a){j.enqueue(a)});a={local:k.local,remote:k.remote,stub:ES(k.stub,"bind",!0,k),setInQueue:function(a){g.isInstanceOf(i,a),a.start(function(a){k.read(a)})},getOutQueue:function(){return j}};e.exports=a}),null);
__d("hasNamePropertyBug",["UserAgent_DEPRECATED","guid"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i=g.ie()?void 0:!1;function j(){var a=document.createElement("form"),b=a.appendChild(document.createElement("input"));b.name=h();i=b!==a.elements[b.name];a=b=null;return i}function a(){return typeof i==="undefined"?j():i}e.exports=a}),null);
__d("isNumberLike",[],(function(a,b,c,d,e,f){function a(a){return!isNaN(parseFloat(a))&&isFinite(a)}e.exports=a}),null);
__d("sdk.createIframe",["getBlankIframeSrc","guid","hasNamePropertyBug","isNumberLike","sdk.DOMEventListener"],(function(a,b,c,d,e,f,g,h,i,j,k){__p&&__p();function a(a){__p&&__p();a=ES("Object","assign",!1,{},a);var b,c=a.name||h(),d=a.root,e=a.style||{border:"none"},f=a.url,l=a.onload,m=a.onerror;i()?b=document.createElement('<iframe name="'+c+'"/>'):(b=document.createElement("iframe"),b.name=c);delete a.style;delete a.name;delete a.url;delete a.root;delete a.onload;delete a.onerror;c=ES("Object","assign",!1,{frameBorder:0,allowTransparency:!0,allowFullscreen:!0,scrolling:"no",allow:"encrypted-media"},a);c.width&&j(c.width)&&(b.width=c.width+"px");c.height&&j(c.height)&&(b.height=c.height+"px");delete c.height;delete c.width;for(var n in c)Object.prototype.hasOwnProperty.call(c,n)&&b.setAttribute(n,c[n]);ES("Object","assign",!1,b.style,e);b.src=g();d.appendChild(b);if(l)var o=k.add(b,"load",function(){o.remove(),l()});if(m)var p=k.add(b,"error",function(){p.remove(),m()});b.src=f;return b}e.exports=a}),null);
__d("sdk.FeatureFunctor",["invariant"],(function(a,b,c,d,e,f,g){__p&&__p();function h(a,b,c){if(a.features&&b in a.features){a=a.features[b];if(typeof a==="object"&&typeof a.rate==="number")if(a.rate&&Math.random()*100<=a.rate)return a.value||!0;else return a.value?null:!1;else return a}return c}function a(a){return function(){for(var b=arguments.length,c=new Array(b),d=0;d<b;d++)c[d]=arguments[d];c.length>=2||g(0,4837);var e=c[0],f=c[1];return h(a,e,f)}}e.exports={create:a}}),null);
__d("sdk.feature",["JSSDKConfig","sdk.FeatureFunctor"],(function(a,b,c,d,e,f,g,h){e.exports=h.create(g)}),null);
__d("sdk.XD",["JSSDKXDConfig","Log","QueryString","Queue","UrlMap","XDM","guid","isFacebookURI","sdk.Content","sdk.createIframe","sdk.Event","sdk.feature","sdk.RPC","sdk.Runtime","sdk.Scribe","sdk.URI"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){__p&&__p();var w=new j(),x=new j(),y=m(),z="https";a=g.useCdn?"cdn":"www";b=r("use_bundle",!1)?g.XdBundleUrl:g.XdUrl;var A=k.resolve(a)+b;c=function(){if("origin"in location)if(location.origin&&location.origin!="null")return location.origin;else if(window!==window.parent)try{var a=parent.location.origin;if(a&&a!="null")return a}catch(a){}return location.protocol+"//"+location.host};var B=m(),C=c(),D,E,F=!1,G="Facebook Cross Domain Communication Frame",H={},I=new j();s.setInQueue(I);function J(a){h.info("Remote XD can talk to facebook.com (%s)",a),t.setEnvironment(a==="canvas"?t.ENVIRONMENTS.CANVAS:t.ENVIRONMENTS.PAGETAB)}function K(a,b){__p&&__p();if(!b){h.error("No senderOrigin");throw new Error()}switch(a.xd_action){case"proxy_ready":var c,d;c=x;d=E;t.setLoggedIntoFacebook(a.logged_in==="true");a.registered&&(J(a.registered),w=c.merge(w,!1));h.info("Proxy ready, starting queue containing %s messages",c.getLength());c.start(function(a){a!=null&&typeof a==="object"&&(a=i.encode(a)),D.send(a,b,d.contentWindow,B+"_"+z)});break;case"plugin_ready":if(typeof a.name==="string"){c=a.name;h.info("Plugin %s ready, protocol: %s",c,z);H[c]={protocol:z};if(j.exists(c)){var e=j.get(c,{});h.debug("Enqueuing %s messages for %s in %s",e.getLength(),c,z+"ProxyQueue");x.merge(e,!1)}}else h.error("plugin_ready message received without a name");break}a.data&&L(a.data,b)}function L(a,b){__p&&__p();if(b!=null&&b!=="native"&&!n(new v(b)))return;if(typeof a==="string"){if(/^FB_RPC:/.test(a)){I.enqueue(a.substring(7));return}if(a.substring(0,1)=="{")try{a=ES("JSON","parse",!1,a)}catch(b){h.warn("Failed to decode %s as JSON",a);return}else a=i.decode(a)}a=a;b==null&&(a.xd_sig===y&&(b=a.xd_origin));if(a.xd_action){K(a,b);return}if(a.cb){b=O._callbacks[a.cb];O._forever[a.cb]||delete O._callbacks[a.cb];b&&b(a)}}function M(a,b){if(a=="facebook")typeof b==="object"&&(b.relation="parent.parent"),w.enqueue(b);else{typeof b==="object"&&(b.relation='parent.frames["'+a+'"]');var c=H[a];c?(h.debug("Enqueuing message for plugin %s in %s",a,c.protocol+"ProxyQueue"),x.enqueue(b)):(h.debug("Buffering message for plugin %s",a),j.get(a,{}).enqueue(b))}}s.getOutQueue().start(function(a){M("facebook","FB_RPC:"+a)});function N(a){if(F)return;var b=o.appendHidden(document.createElement("div")),c=l.create({blacklist:null,root:b,channel:B,whenReady:function(d){D=d;d={channel:B,origin:C,transport:c,xd_name:a};d="#"+i.encode(d);E=p({url:A+d,name:"fb_xdm_frame_https",id:"fb_xdm_frame_https",root:b,"aria-hidden":!0,title:G,tabindex:-1})},onMessage:L});c||u.log("jssdk_error",{appId:t.getClientID(),error:"XD_TRANSPORT",extra:{message:"Failed to create a valid transport"}});F=!0}var O={rpc:s,_callbacks:{},_forever:{},_channel:B,_origin:C,onMessage:L,recv:L,init:N,sendToFacebook:M,inform:function(a,b,c,d){M("facebook",{method:a,params:ES("JSON","stringify",!1,b||{}),behavior:d||"p",relation:c})},handler:function(a,b,c,d){a="#"+i.encode({cb:this.registerCallback(a,c,d),origin:C+"/"+B,domain:location.hostname,relation:b||"opener"});return A+a},registerCallback:function(a,b,c){c=c||m();b&&(O._forever[c]=!0);O._callbacks[c]=a;return c},getXDArbiterURL:function(){return A}};q.subscribe("init:post",function(a){N(a.xdProxyName);var b=r("xd_timeout",!1);b&&window.setTimeout(function(){var a=E&&!!E==x.isStarted();a||u.log("jssdk_error",{appId:t.getClientID(),error:"XD_INITIALIZATION",extra:{message:"Failed to initialize in "+b+"ms"}})},b)});e.exports=O}),null);
__d("sdk.getContextType",["sdk.Runtime","sdk.UA"],(function(a,b,c,d,e,f,g,h){function a(){if(h.nativeApp())return 3;if(h.mobile())return 2;return g.isEnvironment(g.ENVIRONMENTS.CANVAS)?5:1}e.exports=a}),null);
__d("sdk.Auth",["DOMWrapper","Log","OAuthControllerParameterName","ObservableMixin","QueryString","UrlMap","guid","sdk.Cookie","sdk.createIframe","sdk.feature","sdk.getContextType","sdk.Impressions","sdk.Runtime","sdk.Scribe","sdk.SignedRequest","sdk.URI","sdk.WebStorage","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x){__p&&__p();var y="fblst_",z="fblo_",A=365*24*60*60*1e3,B,C,D=new j();function E(a,b){__p&&__p();var c=s.getUserID(),d="";if(a)if(a.userID)d=a.userID;else if(a.signedRequest){var e=u.parse(a.signedRequest);e&&e.user_id&&(d=e.user_id)}e=s.getLoginStatus();var f=e==="unknown"&&a||s.getUseCookie()&&s.getCookieUserID()!==d,g=c&&!a;c=a&&c&&c!=d;var h=a!=B;e=b!=(e||"unknown");s.setLoginStatus(b);s.setAccessToken(a&&a.accessToken||null);s.setUserID(d);B=a;d={authResponse:a,status:b};(g||c)&&D.inform("logout",d);(f||c)&&D.inform("login",d);h&&D.inform("authresponse.change",d);e&&D.inform("status.change",d);return d}function F(){return B}function G(a,b,c){__p&&__p();return function(d){__p&&__p();var e=!1;if(d&&d.access_token){var f=u.parse(d.signed_request);b={accessToken:d.access_token,userID:f.user_id,expiresIn:parseInt(d.expires_in,10),signedRequest:d.signed_request};d.granted_scopes&&(b=babelHelpers["extends"]({},b,{grantedScopes:d.granted_scopes}));d.reauthorize_required_in&&(b=babelHelpers["extends"]({},b,{reauthorize_required_in:parseInt(d.reauthorize_required_in,10)}));d.data_access_expiration_time&&(b=babelHelpers["extends"]({},b,{data_access_expiration_time:Number(d.data_access_expiration_time)}));d.enforce_https&&(e=!0);if(s.getUseLocalStorage()&&location.protocol==="https:"&&d.long_lived_token){f=w.getLocalStorage();f&&f.setItem(y+s.getClientID(),d.long_lived_token)}if(s.getUseCookie()){f=b.expiresIn===0?0:ES("Date","now",!1)+b.expiresIn*1e3;var g=n.getDomain();!g&&d.base_domain&&n.setDomain("."+d.base_domain);n.setSignedRequestCookie(d.signed_request,f,e)}I();g="connected";E(b,g)}else c==="logout"||c==="login_status"?(d&&d.error==="not_authorized"?(g="not_authorized",E(null,g)):d&&d.error==="authorization_expired"?(g="authorization_expired",E(null,g)):(g="unknown",E(null,g)),s.getUseCookie()&&n.clearSignedRequestCookie(),s.getUseLocalStorage()&&H(),c==="logout"&&(J(),t.log("jssdk_error",{appId:s.getClientID(),error:"PLATFORM_AUTH_LOGOUT",extra:{args:{fblo:!0}}}))):d&&d.error==="access_denied"&&(J(),g="unknown",E(null,g));if(a){f={authResponse:b,status:s.getLoginStatus()};a(f)}return b}}function H(){var a=w.getLocalStorage();a&&a.removeItem(y+s.getClientID())}function I(){n.setRaw(z,"",0,!1)}function J(){n.setRaw(z,"y",ES("Date","now",!1)+A,!1)}function K(a){__p&&__p();var b,c=ES("Date","now",!1);C&&(window.clearTimeout(C),C=null);var d=n.getRaw(z)==="y",e=null,f=!1;if(/^https?:\/\/([\w\.]+)?facebook.com\//.test(document.referrer)){var j=location.hash.substr(1);if(j!==""){j=k.decode(j,!0);window==top&&(location.hash="");e=j.access_token;e!=null&&I()}j=k.decode(location.search);j.error==="access_denied"&&(f=!0)}if(d||f){j="unknown";E(null,j);a&&a({authResponse:null,status:j});return}var t=G(a,B,"login_status");d=new v(l.resolve("www")+"/connect/ping").addQueryData(i.CLIENT_ID,s.getClientID()).addQueryData(i.RESPONSE_TYPE,"token,signed_request").addQueryData(i.DOMAIN,location.hostname).addQueryData(i.ORIGIN,q()).addQueryData(i.REDIRECT_URI,x.handler(function(a){if(p("e2e_ping_tracking",!0)){var d={init:c,close:ES("Date","now",!1),method:"ping"};h.debug("e2e: %s",ES("JSON","stringify",!1,d));r.log(114,{payload:d})}b.parentNode.removeChild(b);t(a)&&(C=window.setTimeout(function(){K(function(){})},12e5))},"parent")).addQueryData(i.SDK,"joey").addQueryData(i.VERSION,s.getIsVersioned()?s.getVersion():null);if(window.location.ancestorOrigins){f=window.location.ancestorOrigins;if(f.length>0){j="";for(var a=0;a<f.length;a++)j+=f[a],j+=",";d.addQueryData(i.ANCESTOR_ORIGINS,j.slice(0,-1))}}f=w.getLocalStorageForRead();if(f){a=f.getItem(y+s.getClientID());a&&d.addQueryData(i.EXPLICIT_TOKEN,a)}e!=null&&d.addQueryData(i.EXPLICIT_TOKEN,e);b=o({root:g.getRoot(),name:m(),url:d.toString(),style:{display:"none"}})}var L;function a(a,b){__p&&__p();if(!s.getClientID()){h.warn("FB.getLoginStatus() called before calling FB.init().");return}if(a)if(!b&&L==="loaded"){var c={authResponse:F(),status:s.getLoginStatus()};a(c);return}else D.subscribe("FB.loginStatus",a);if(!b&&L==="loading")return;L="loading";c=function(a){L="loaded",D.inform("FB.loginStatus",a),D.clearSubscribers("FB.loginStatus")};K(c)}ES("Object","assign",!1,D,{removeLogoutState:I,getLoginStatus:a,fetchLoginStatus:K,setAuthResponse:E,getAuthResponse:F,parseSignedRequest:u.parse,xdResponseWrapper:G});e.exports=D}),null);
__d("sdk.DOM",["Assert","sdk.domReady","sdk.UA"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j={};function k(a,b){a=a.getAttribute(b)||a.getAttribute(b.replace(/_/g,"-"))||a.getAttribute(b.replace(/-/g,"_"))||a.getAttribute(b.replace(/-/g,""))||a.getAttribute(b.replace(/_/g,""))||a.getAttribute("data-"+b)||a.getAttribute("data-"+b.replace(/_/g,"-"))||a.getAttribute("data-"+b.replace(/-/g,"_"))||a.getAttribute("data-"+b.replace(/-/g,""))||a.getAttribute("data-"+b.replace(/_/g,""));return a?String(a):null}function a(a,b){a=k(a,b);return a?/^(true|1|yes|on)$/.test(a):null}function l(a,b){g.isTruthy(a,"element not specified");g.isString(b);try{return String(a[b])}catch(a){throw new Error("Could not read property "+b+" : "+a.message)}}function b(a,b){g.isTruthy(a,"element not specified");g.isString(b);try{a.innerHTML=b}catch(a){throw new Error("Could not set innerHTML : "+a.message)}}function m(a,b){g.isTruthy(a,"element not specified");g.isString(b);a=" "+l(a,"className")+" ";return ES(a,"indexOf",!0," "+b+" ")>=0}function c(a,b){g.isTruthy(a,"element not specified"),g.isString(b),m(a,b)||(a.className=l(a,"className")+" "+b)}function d(a,b){g.isTruthy(a,"element not specified");g.isString(b);b=new RegExp("\\s*"+b,"g");a.className=ES(l(a,"className").replace(b,""),"trim",!0)}function f(a,b,c){__p&&__p();g.isString(a);b=b||document.body;c=c||"*";if(b.querySelectorAll)return ES("Array","from",!1,b.querySelectorAll(c+"."+a));b=b.getElementsByTagName(c);c=[];for(var d=0,e=b.length;d<e;d++)m(b[d],a)&&(c[c.length]=b[d]);return c}function n(a,b){g.isTruthy(a,"element not specified");g.isString(b);b=b.replace(/-(\w)/g,function(a,b){return b.toUpperCase()});a=a.currentStyle||document.defaultView.getComputedStyle(a,null);a=a[b];/backgroundPosition?/.test(b)&&/top|left/.test(a)&&(a="0%");return a}function o(a,b,c){g.isTruthy(a,"element not specified"),g.isString(b),b=b.replace(/-(\w)/g,function(a,b){return b.toUpperCase()}),a.style[b]=c}function p(a,b){__p&&__p();var c=!0;for(var d=0,e;e=b[d++];)e in j||(c=!1,j[e]=!0);if(c)return;if(i.ie()<11)try{document.createStyleSheet().cssText=a}catch(b){document.styleSheets[0]&&(document.styleSheets[0].cssText+=a)}else{e=document.createElement("style");e.type="text/css";e.textContent=a;document.getElementsByTagName("head")[0].appendChild(e)}}function q(a){if(!a||!a.parentNode)return null;else return a.parentNode.removeChild(a)}function r(){var a=document.documentElement&&document.compatMode=="CSS1Compat"?document.documentElement:document.body;return{scrollTop:a.scrollTop||document.body.scrollTop,scrollLeft:a.scrollLeft||document.body.scrollLeft,width:window.innerWidth?window.innerWidth:a.clientWidth,height:window.innerHeight?window.innerHeight:a.clientHeight}}function s(a){g.isTruthy(a,"element not specified");var b=0,c=0;do b+=a.offsetLeft,c+=a.offsetTop;while(a=a.offsetParent);return{x:b,y:c}}c={containsCss:m,addCss:c,removeCss:d,getByClass:f,getStyle:n,setStyle:o,getAttr:k,getBoolAttr:a,getProp:l,html:b,addCssRules:p,getViewportInfo:r,getPosition:s,ready:h,remove:q};e.exports=c}),null);
__d("normalizeError",["sdk.UA"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(a){var b={line:a.lineNumber||a.line,message:a.message,name:a.name,script:a.fileName||a.sourceURL||a.script,stack:a.stackTrace||a.stack};b._originalError=a;a=/([\w:\.\/]+\.js):(\d+)/.exec(a.stack);g.chrome()&&a&&(b.script=a[1],b.line=parseInt(a[2],10));for(var c in b)b[c]==null&&delete b[c];return b};e.exports=a}),null);
__d("sdk.ErrorHandler",["ManagedError","normalizeError","wrapFunction"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();function a(a,b){__p&&__p();var c="";function d(a){var c=a._originalError;delete a._originalError;b(a);throw c}function e(b,e){__p&&__p();return function(){__p&&__p();if(!a)return b.apply(this,arguments);try{c=e;return b.apply(this,arguments)}catch(a){if(a instanceof g)throw a;var f=h(a);f.entry=e;var i=ES(Array.prototype.slice.call(arguments),"map",!0,function(a){var b=Object.prototype.toString.call(a);return/^\[object (String|Number|Boolean|Object|Date)\]$/.test(b)?a:a.toString()});f.args=ES("JSON","stringify",!1,i).substring(0,200);d(f)}finally{c=""}}}function f(a){a.__wrapper||(a.__wrapper=function(){try{return a.apply(this,arguments)}catch(a){window.setTimeout(function(){throw a},0);return!1}});return a.__wrapper}function j(a){try{return a&&a.callee&&a.callee.caller?a.callee.caller.name:""}catch(a){return""}}function k(a,b){return function(d,e){var f=b+":"+(c||"[global]")+":"+(d.name||"[anonymous]"+j(arguments));return a(i(d,"entry",f),e)}}a&&(setTimeout=k(setTimeout,"setTimeout"),setInterval=k(setInterval,"setInterval"),i.setWrapper(e,"entry"));return{guard:e,unguard:f}}e.exports={create:a}}),null);
__d("sdk.ErrorHandling",["sdk.ErrorHandler","sdk.feature","sdk.Runtime","sdk.Scribe"],(function(a,b,c,d,e,f,g,h,i,j){a=h("error_handling",!1);e.exports=g.create(a,function(a){j.log("jssdk_error",{appId:i.getClientID(),error:a.name||a.message,extra:a})})}),null);
__d("FB",["DOMWrapper","GlobalCallback","JSSDKCssConfig","Log","dotAccess","sdk.Auth","sdk.Content","sdk.DOM","sdk.domReady","sdk.ErrorHandling","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){__p&&__p();var r=window.FB={};b={};j.level=0;h.setPrefix("FB.__globalCallbacks");var s=document.createElement("div");g.setRoot(s);o(function(){j.info("domReady"),m.appendHidden(s),i.rules&&n.addCssRules(i.rules,i.components)});q.subscribe("AccessToken.change",function(a){!a&&q.getLoginStatus()==="connected"&&l.getLoginStatus(null,!0)});function t(a,b,c,d){__p&&__p();return p.guard(function(){__p&&__p();function e(a){if(ES("Array","isArray",!1,a))return ES(a,"map",!0,e);return a&&typeof a==="object"&&a.__wrapped?a.__wrapped:typeof a==="function"&&/^function/.test(a.toString())?p.unguard(a):a}var f=ES(Array.prototype.slice.call(arguments),"map",!0,e),g=a.apply(d,f),h,i=!0;if(g&&typeof g==="object"){h=ES("Object","create",!1,g);h.__wrapped=g;for(var c in g){var j=g[c];if(typeof j!=="function"||c==="constructor")continue;i=!1;h[c]=t(j,b+":"+c,c,g)}}return!i?h:i?g:h},b)}function a(a,b){var c=a?k(r,a,!0):r;ES(ES("Object","keys",!1,b),"forEach",!0,function(d){var e=b[d];if(typeof e==="function"){var f=(a?a+".":"")+d;f=t(e,f,d,b);f&&(c[d]=f)}else(typeof e==="object"||typeof e==="number")&&(c[d]=e)})}ES("Object","assign",!1,b,{provide:a});e.exports=b}),null);
__d("ArgumentError",["ManagedError"],(function(a,b,c,d,e,f,g){var h;b=babelHelpers.inherits(a,g);h=b&&b.prototype;function a(a,b){"use strict";h.constructor.call(this,a,b)}e.exports=a}),null);
__d("flattenObject",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){var b={};for(var c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=a[c];if(null===d||void 0===d)continue;else typeof d==="string"?b[c]=d:b[c]=ES("JSON","stringify",!1,d)}return b};e.exports=a}),null);
__d("ApiClientUtils",["ArgumentError","Assert","Log","flattenObject","sdk.URI","sprintf"],(function(a,b,c,d,e,f,g,h,i,j,k,l){__p&&__p();var m={get:!0,post:!0,"delete":!0,put:!0};function a(a){__p&&__p();var b=a.shift();h.isString(b,"Invalid path");!/^https?/.test(b)&&b.charAt(0)!=="/"&&(b="/"+b);var c={};try{b=new k(b)}catch(a){throw new g(a.message,a)}ES(a,"forEach",!0,function(a){return c[typeof a]=a});a=(c.string||"get").toLowerCase();h.isTrue(Object.prototype.hasOwnProperty.call(m,a),l("Invalid method passed to ApiClient: %s",a));var d=c["function"];d||i.warn("No callback passed to the ApiClient");c.object&&b.addQueryData(j(c.object));var e=b.getQueryData();e.method=a;return{uri:b,callback:d,params:e}}e.exports={parseCallDataFromArgs:a}}),null);
__d("errorCode",[],(function(a,b,c,d,e,f){"use strict";function a(a){throw new Error('errorCode("'+a+'"): This should not happen. Oh noes!')}e.exports=a}),null);
__d("nullthrows",[],(function(a,b,c,d,e,f){a=function(a,b){b===void 0&&(b="Got unexpected null or undefined");if(a!=null)return a;a=new Error(b);a.framesToPop=1;throw a};e.exports=a}),null);
__d("sdk.safelyParseResponse",["errorCode","nullthrows"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();b=function(a,b,c){return i};function a(a,c){c===void 0&&(c=null);try{return a===null?i:ES("JSON","parse",!1,h(a))}catch(d){return b(d,a,c)}}var i={error:{code:1,error_subcode:1357046,message:"Received Invalid JSON reply.",type:"http"}};a.ERROR=i;a.setErrorHandler=function(a){b=a};e.exports=a}),null);
__d("ApiBatcher",["ApiClientUtils","QueryString","invariant","sdk.safelyParseResponse"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=50,l=105440539523;function m(a,b){this.$1=[],this.$2=[],this.$4=null,this.executeRequest=a,this.$3=b}m.prototype.scheduleBatchCall=function(){for(var a=arguments.length,b=new Array(a),c=0;c<a;c++)b[c]=arguments[c];var d=m.prepareBatchParams(b),e=d.body,f=d.callback,g=d.method,h=d.relative_url,i={method:g,relative_url:h};e&&(i.body=e);this.$1.push(i);this.$2.push(f);this.$1.length==k?(this.$4&&clearTimeout(this.$4),this.$5()):this.$4||(this.$4=setTimeout(ES(function(){this.$5()},"bind",!0,this),0))};m.prepareBatchParams=function(a){a=g.parseCallDataFromArgs(a);var b=a.uri,c=a.callback;a=a.params.method;var d,e=b.removeQueryData("method").toString();a.toLowerCase()=="post"&&(d=h.encode(b.getQueryData()),e=b.setQueryData({}).toString());return{body:d,callback:c,method:a,relative_url:e}};m.prototype.$5=function(){__p&&__p();this.$1.length>0||i(0,4698);this.$1.length===this.$2.length||i(0,4699);var a=this.$1,b=this.$2;this.$1=[];this.$2=[];this.$4=null;if(a.length===1){var c=a[0],d=b[0],e=c.body?h.decode(c.body):null;this.executeRequest(c.relative_url,c.method,e,d);return}this.executeRequest("/","POST",{batch:a,include_headers:!1,batch_app_id:this.$3||l},function(a){ES("Array","isArray",!1,a)?ES(a,"forEach",!0,function(a,c){b[c](j(a&&a.body))}):ES(b,"forEach",!0,function(a){return a({error:{message:"Fatal: batch call failed."}})})})};e.exports=m}),null);
__d("RequestConstants",["errorCode"],(function(a,b,c,d,e,f,g){a={code:1,error_subcode:1357045,message:"unknown error (empty response)",type:"http",status:0};e.exports={PARSE_ERROR_TEMPLATE:a}}),null);
__d("CORSRequest",["QueryString","RequestConstants","sdk.safelyParseResponse","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j){__p&&__p();function k(a,b){__p&&__p();if(!self.XMLHttpRequest)return null;var c=new XMLHttpRequest(),d=function(){};if("withCredentials"in c)c.open(a,b,!0),c.setRequestHeader("Content-type","application/x-www-form-urlencoded");else if(self.XDomainRequest){c=new XDomainRequest();try{c.open(a,b),c.onprogress=c.ontimeout=d}catch(a){return null}}else return null;var e={send:function(a){c.send(a)}},f=j(function(){f=d,"onload"in e&&e.onload(c)},"entry","XMLHttpRequest:load"),g=j(function(){g=d,"onerror"in e&&e.onerror(c)},"entry","XMLHttpRequest:error");c.onload=function(){f()};c.onerror=function(){g()};c.onreadystatechange=function(){c.readyState==4&&(c.status==200?f():g())};return e}function a(a,b,c,d){__p&&__p();c.suppress_http_code=1;c=g.encode(c);b!="post"&&(a=g.appendToUrl(a,c),c="");b=k(b,a);if(!b)return!1;b.onload=function(b){d(i(b.responseText,a))};b.onerror=function(b){b.responseText?d(i(b.responseText,a)):d({error:babelHelpers["extends"]({},h.PARSE_ERROR_TEMPLATE,{status:b.status})})};b.send(c);return!0}b={execute:a};e.exports=b}),null);
__d("GraphBatchConstants",[],(function(a,b,c,d,e,f){e.exports=ES("Object","freeze",!1,{FLUSH_DELIMITER:"\r\n"})}),null);
__d("ChunkedRequest",["GraphBatchConstants","QueryString","RequestConstants","sdk.safelyParseResponse","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j,k){__p&&__p();var l="{}";function m(a){a===void 0&&(a=g.FLUSH_DELIMITER),this.offset=0,this.delimiter=g.FLUSH_DELIMITER,this.delimiter=a}m.prototype.parse=function(a,b){__p&&__p();b===void 0&&(b=!1);var c=[],d=a.substring(this.offset),e=0,f=ES(d,"indexOf",!0,this.delimiter,e);f===0&&(e=this.delimiter.length,f=ES(d,"indexOf",!0,this.delimiter,e));while(f>-1){var g=d.substring(e,f);g&&c.push(g);e=f+this.delimiter.length;f=ES(d,"indexOf",!0,this.delimiter,e)}this.offset+=e;if(b&&d&&f===-1){g=a.substring(this.offset);c.push(g)}return c};function n(a,b){__p&&__p();if(!self.XMLHttpRequest)return null;var c=new XMLHttpRequest();if(!("withCredentials"in c))return null;c.open(a,b,!0);c.setRequestHeader("Content-type","application/x-www-form-urlencoded");var d=new m(),e={send:function(a){c.send(a)}},f=k(function(a,b){if(e.onchunk){a=d.parse(a);ES(a,"forEach",!0,function(a){return e.onchunk(a,b)});b&&e.onchunk(l,b)}},"entry","XMLHttpRequest:onchunk"),g=k(function(){e.onerror&&e.onerror(c)},"entry","XMLHttpRequest:error");c.onerror=g;c.onreadystatechange=function(){c.readyState==4?c.status===200?f(c.responseText,!0):g():c.readyState==3&&f(c.responseText,!1)};return e}function a(a,b,c,d){__p&&__p();c.suppress_http_code=1;c=h.encode(c);b!="post"&&(a=h.appendToUrl(a,c),c="");b=n(b,a);if(!b)return!1;b.onchunk=function(a,b){d(j(a),b)};b.onerror=function(a){a.responseText?d(j(a.responseText)):d({error:babelHelpers["extends"]({},i.PARSE_ERROR_TEMPLATE,{status:a.status})})};b.send(c);return!0}b={execute:a};e.exports=b}),null);
__d("JSONPRequest",["DOMWrapper","GlobalCallback","QueryString"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j=2e3,k=!1;function a(a,b,c,d){__p&&__p();var e=document.createElement("script"),f=function(a){f=function(){},h.remove(c.callback),d(a),e.parentNode.removeChild(e)};c.callback=h.create(f);c.method||(c.method=b);a=i.appendToUrl(a,c);if(!k&&a.length>j){h.remove(c.callback);return!1}e.onerror=function(){f({error:{type:"http",message:"unknown error"}})};var l=function(){setTimeout(function(){f({error:{type:"http",message:"unknown error"}})},0)};e.addEventListener?e.addEventListener("load",l,!1):e.onreadystatechange=function(){/loaded|complete/.test(this.readyState)&&l()};e.src=a;g.getRoot().appendChild(e);return!0}function b(){k=!0}c={execute:a,ignoreMaxQuerystringLength:b,MAX_QUERYSTRING_LENGTH:j};e.exports=c}),null);
__d("ApiClient",["ApiBatcher","ApiClientUtils","Assert","ChunkedRequest","CORSRequest","JSONPRequest","Log","ObservableMixin","QueryString","UrlMap","flattenObject"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){__p&&__p();var r,s,t,u=l.MAX_QUERYSTRING_LENGTH,v={fql_query:!0,fql_multiquery:!0,friends_get:!0,notifications_get:!0,stream_get:!0,users_getinfo:!0},w=["cors","jsonp"],x=0,y=[],z=0,A=0,B;function C(a,b,c,d){__p&&__p();var e=z!==0&&x>=z;if(e){y.push(function(){return C(a,b,c,d)});F.inform("request.queued",a,b,c);return}x++;t&&(c=ES("Object","assign",!1,{},t,c));c.pretty=c.pretty||0;c=q(c);e={jsonp:l,cors:k,chunked:j};var f={},g=c.access_token||r;g&&(f.access_token=g);g=ES("Object","keys",!1,f);g.length>0&&(a=o.appendToUrl(a,f),ES(g,"forEach",!0,function(a){return delete c[a]}));c.transport?(f=[c.transport],delete c.transport):f=w;for(var g=0;g<f.length;g++){var h=e[f[g]],i=ES("Object","assign",!1,{},c);if(h.execute(a,b,i,d))return}d({error:{type:"no-transport",message:"Could not find a usable transport for request"}})}function D(a,b,c,d,e,f,g,h){__p&&__p();if(d.transport&&d.transport==="chunked"&&h===!1){a(g,!1);return}g&&g.error&&F.inform("request.error",b,c,d,g,ES("Date","now",!1)-e,f);F.inform("request.complete",b,c,d,g,ES("Date","now",!1)-e,f);x--;a&&a(g);h=y.length>0&&x<z;if(h){b=y.shift();b()}}function E(){for(var a=arguments.length,b=new Array(a),c=0;c<a;c++)b[c]=arguments[c];var d=h.parseCallDataFromArgs(b),e=d.uri,f=d.callback,g=d.params,i=g.method;G(e,i)&&(i="post");var j=e.getProtocol()&&e.getDomain()?e.setQueryData({}).toString():p.resolve("graph")+e.getPath(),k=A++;F.inform("request.prepare",j,g,k);C(j,i=="get"?"get":"post",g,ES(D,"bind",!0,null,f,e.getPath(),i,g,ES("Date","now",!1),k))}function a(){var a;B||(B=new g(E,s));(a=B).scheduleBatchCall.apply(a,arguments)}function b(a,b){__p&&__p();i.isObject(a);i.isString(a.method,"method missing");b||m.warn("No callback passed to the ApiClient");var c=a.method.toLowerCase().replace(".","_");a.format="json-strings";a.api_key=s;c=c in v?"api_read":"api";c=p.resolve(c)+"/restserver.php";var d=A++;b=ES(D,"bind",!0,null,b,"/restserver.php","get",a,ES("Date","now",!1),d);C(c,"get",a,b)}var F=ES("Object","assign",!1,new n(),{setAccessToken:function(a){r=a},setAccessTokenForClientID:function(a,b){r&&s&&s!==b||(r=a)},getAccessToken:function(){return r},setClientID:function(a){s=a},setDefaultParams:function(a){t=a},setDefaultTransports:function(a){w=a},setMaxConcurrentRequests:function(a){z=a},getCurrentlyExecutingRequestCount:function(){return x},getQueuedRequestCount:function(){return y.length},rest:b,graph:E,scheduleBatchCall:a,prepareBatchParams:g.prepareBatchParams});function G(a,b){return a.toString().length>u&&b==="get"}e.exports=F}),null);
__d("sdk.PlatformVersioning",["ManagedError","sdk.Runtime"],(function(a,b,c,d,e,f,g,h){var i=/^v\d+\.\d\d?$/;a={REGEX:i,assertVersionIsSet:function(){if(!h.getVersion())throw new g("init not called with valid version")},assertValidVersion:function(a){if(!i.test(a))throw new g("invalid version specified")}};e.exports=a}),null);
__d("sdk.unsecureDisallowed",["Log","sdk.feature","sdk.Runtime","sdk.Scribe"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=h("https_only_enforce_starting",!1),l=h("https_only_learn_more",""),m={};function a(a){if(window.location.protocol!=="https:"&&k&&k-ES("Date","now",!1)<=0){g.log("error",-1,"The method FB.%s can no longer be called from http pages. %s",a,l);return!0}window.location.protocol!=="https:"&&k&&(g.log("error",-1,"The method FB.%s will soon stop working when called from http pages. Please update your site to use https for Facebook Login. %s",a,l),h("https_only_scribe_logging",!0)&&!Object.prototype.hasOwnProperty.call(m,a)&&(j.log("jssdk_error",{appId:i.getClientID(),error:"HttpsOnly",extra:{message:a}}),m[a]=!0));return!1}e.exports=a}),null);
__d("sdk.api",["ApiClient","sdk.feature","sdk.PlatformVersioning","sdk.Runtime","sdk.Scribe","sdk.URI","sdk.unsecureDisallowed"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m){__p&&__p();var n=h("should_log_response_error",!1),o;j.subscribe("ClientID.change",function(a){return g.setClientID(a)});j.subscribe("AccessToken.change",function(a){o=a,g.setAccessToken(a)});g.setDefaultParams({sdk:"joey"});g.subscribe("request.complete",function(a,b,c,d){a=!1;d&&typeof d==="object"&&(d.error?(d.error=="invalid_token"||d.error.type=="OAuthException"&&d.error.code==190)&&(a=!0):d.error_code&&(d.error_code=="190"&&(a=!0)));a&&o===j.getAccessToken()&&j.setAccessToken(null)});g.subscribe("request.complete",function(a,b,c,d){(a=="/me/permissions"&&b==="delete"||a=="/restserver.php"&&c.method=="Auth.revokeAuthorization")&&d===!0&&j.setAccessToken(null)});g.subscribe("request.error",function(a,b,c,d){n&&d.error.type==="http"&&k.log("jssdk_error",{appId:j.getClientID(),error:"transport",extra:{name:"transport",message:ES("JSON","stringify",!1,d.error)}})});function a(a){__p&&__p();if(m("api"))return;if(typeof a==="string")if(j.getIsVersioned()){i.assertVersionIsSet();!/https?/.test(a)&&a.charAt(0)!=="/"&&(a="/"+a);a=new l(a).setDomain(null).setProtocol(null).toString();i.REGEX.test(a.substring(1,ES(a,"indexOf",!0,"/",1)))||(a="/"+j.getVersion()+a);var b=[a].concat(Array.prototype.slice.call(arguments,1));g.graph.apply(g,b)}else g.graph.apply(g,arguments);else g.rest.apply(g,arguments)}e.exports=a}),null);
__d("legacy:fb.api",["FB","sdk.api"],(function(a,b,c,d,e,f,g,h){g.provide("",{api:h})}),3);
__d("AppUserPropertyAPIBuiltinField",[],(function(a,b,c,d,e,f){e.exports={GENDER:"$gender",CITY:"$city",STATE:"$state",ZIPCODE:"$zipcode",COUNTRY:"$country",LANGUAGE:"$language",CURRENCY:"$currency",INSTALL_SOURCE:"$install_source",USER_TYPE:"$user_type",ACCOUNT_CREATED_TIME:"$account_created_time",APP_ID:"$app_id"}}),null);
__d("FBEventsParamList",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g="deep",h="shallow";function a(){this.list=[]}a.prototype={append:function(a,b){this._append(encodeURIComponent(a),b,g)},_append:function(a,b,c){Object(b)!==b?this._appendPrimitive(a,b):c===g?this._appendObject(a,b):this._appendPrimitive(a,i(b))},_appendPrimitive:function(a,b){b!=null&&this.list.push([a,b])},_appendObject:function(a,b){for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=a+"["+encodeURIComponent(c)+"]";this._append(d,b[c],h)}},each:function(a){var b=this.list;for(var c=0,d=b.length;c<d;c++)a(b[c][0],b[c][1])},toQueryString:function(){var a=[];this.each(function(b,c){a.push(b+"="+encodeURIComponent(c))});return a.join("&")}};function i(a){if(typeof JSON==="undefined"||JSON===null||!ES("JSON","stringify",!1))return Object.prototype.toString.call(a);else return ES("JSON","stringify",!1,a)}e.exports=a}),null);
__d("FBEventsUtils",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g="console",h="error",i="Facebook Pixel Error",j="Facebook Pixel Warning",k="warn",l=Object.prototype.toString,m=!("addEventListener"in document),n=function(){},o=window[g]||{},p=window.postMessage||n;function a(a){return l.call(a)==="[object Array]"}function b(a){p({action:"FB_LOG",logType:i,logMessage:a},"*"),h in o&&o[h](i+": "+a)}function c(a){p({action:"FB_LOG",logType:j,logMessage:a},"*"),k in o&&o[k](j+": "+a)}function d(a,b,c){b=m?"on"+b:b;var d=m?"attachEvent":"addEventListener",e=m?"detachEvent":"removeEventListener",f=function d(){a[e](b,d,!1),c()};a[d](b,f,!1)}function e(a,b,c){var d=a[b];a[b]=function(){var a=d.apply(this,arguments);c.apply(this,arguments);return a}}f.isArray=a;f.logError=b;f.logWarning=c;f.listenOnce=d;f.injectMethod=e}),null);
__d("FBPixelEndpoint",["FBEventsParamList","FBEventsUtils"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i="https://www.facebook.com/tr/",j=location.href,k=window.top!==window,l=document.referrer;function m(a,b,c,d){__p&&__p();d=d||{};var e=new g();e.append("id",a);e.append("ev",b);e.append("dl",j);e.append("rl",l);e.append("if",k);e.append("ts",new Date().valueOf());e.append("cd",c);e.append("sw",window.screen.width);e.append("sh",window.screen.height);for(var f in d)e.append(f,d[f]);return e}function a(a,b,c,d){a=m(a,b,c,d);b=a.toQueryString();2048>(i+"?"+b).length?n(i,b):o(i,a)}function n(a,b){var c=new Image();c.src=a+"?"+b}function o(a,b){__p&&__p();var c="fb"+Math.random().toString().replace(".",""),d=document.createElement("form");d.method="post";d.action=a;d.target=c;d.acceptCharset="utf-8";d.style.display="none";a=!!(window.attachEvent&&!window.addEventListener);a=a?'<iframe name="'+c+'">':"iframe";var e=document.createElement(a);e.src="javascript:false";e.id=c;e.name=c;d.appendChild(e);h.listenOnce(e,"load",function(){b.each(function(a,b){var c=document.createElement("input");c.name=a;c.value=b;d.appendChild(c)}),h.listenOnce(e,"load",function(){d.parentNode.removeChild(d)}),d.submit()});document.body.appendChild(d)}b={sendEvent:a};e.exports=b}),null);
__d("FBAppEvents",["ApiClient","FBPixelEndpoint"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();function a(a,b,c,d,e){var f={};d!=null&&(f.vts=d.toString());e!=null&&(f.at=e);h.sendEvent(a.toString(),b,c,f)}function b(a,b,c,d){b="/"+b+"/user_properties";a={data:[{user_unique_id:a,custom_data:c}]};g.graph(b,"post",a,d)}e.exports={logEvent:a,updateUserProperties:b}}),null);
__d("sdk.AppEvents",["AppUserPropertyAPIBuiltinField","Assert","FBAppEvents","sdk.Auth","sdk.Event","sdk.Impressions","sdk.Model","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){__p&&__p();var o=ES("Object","freeze",!1,{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=ES("Object","freeze",!1,{ACTIVATED_APP:"fb_mobile_activate_app",PURCHASED:"fb_mobile_purchase"}),q=ES("Object","freeze",!1,{APP_USER_ID:"_app_user_id",APP_VERSION:"_appVersion",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"}),r=/^[0-9a-zA-Z_][0-9a-zA-Z _-]{0,39}$/,s=40,t=r,u=s,v=100,w=100,x=100,y=100,z=ES("Object","values",!1,g),A=new m({UserID:"",Version:""});function B(a,b,c,d){b={ae:1,ev:b,vts:c,canvas:1};d&&(b.cd=d);l.impression({api_key:a,payload:ES("JSON","stringify",!1,b)})}function C(a,b,c,d){var e=j.getAuthResponse();e=e&&e.accessToken?e.accessToken:null;i.logEvent(a,b,d||{},c,e)}function D(a,b,c,d){E(b);var e=A.getUserID();e!==""&&(d=d||{},d[q.APP_USER_ID]=e);e=A.getVersion();e!==""&&(d=d||{},d[q.APP_VERSION]=e);n.isCanvasEnvironment()?B(a,b,c,d):C(a,b,c,d)}function E(a){h.isTrue(r.test(a),"Invalid event name: "+a+". It must be between 1 and "+s+" characters, and must be contain only alphanumerics, _, - or spaces, starting with alphanumeric or _.")}function a(a,b,c,d){var e={};e[q.CURRENCY]=c;D(a,p.PURCHASED,b,babelHelpers["extends"]({},d,e))}function b(a){D(a,p.ACTIVATED_APP)}function F(a){D(a,o.PAGE_VIEW)}function G(a){h.isTrue(a.length!==0,"User ID must be set before updateUserProperties can be called."),h.isTrue(a.length<=v,"Invalid user ID: "+a+". It must be no longer than "+v+" characters.")}function c(a){G(a),A.setUserID(a)}function H(){return A.getUserID()}function d(){A.setUserID("")}function I(a){h.isTrue(a.length<=w,"Invalid app version: "+a+". It must be no longer than "+w+" characters.")}function f(a){I(a),A.setVersion(a)}function J(){return A.getVersion()}function K(){A.setVersion("")}function L(a){h.isTrue(ES("Object","keys",!1,a).length<=x,"The total number of user properties cannot exceed "+x+".");for(var b in a)h.isTrue(t.test(b)||ES(z,"includes",!0,b),"Invalid user properties key name: "+b+". It must be between 1 and "+u+" characters, and must contain only alphanumerics, _, - or spaces, starting with alphanumeric or _. Or, it must be a pre-defined user property"),h.isTrue(a[b].toString().length<=y,"Invalid user properties value: "+a[b]+". It must be no longer than "+y+" characters.")}function M(a,b,c){var d=H();G(d);L(b);i.updateUserProperties(d,a,b,c)}k.subscribe("init:post",function(a){n.getClientID()&&(a.autoLogAppEvents!==void 0&&(h.isBoolean(a.autoLogAppEvents,"Type of property autoLogAppEvents must be boolean"),n.setAutoLogAppEvents(a.autoLogAppEvents)),n.getAutoLogAppEvents()&&F(n.getClientID()))});e.exports={activateApp:b,logEvent:D,logPurchase:a,logPageView:F,assertValidEventName:E,EventNames:o,ParameterNames:q,assertValidUserID:G,setUserID:c,getUserID:H,clearUserID:d,assertValidUserProperties:L,updateUserProperties:M,setAppVersion:f,getAppVersion:J,clearAppVersion:K,assertValidAppVersion:I}}),null);
__d("legacy:fb.appevents",["Assert","sdk.AppEvents","FB","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i,j){__p&&__p();function k(){var a=j.getClientID();g.isTrue(a!==null&&a.length>0,"You need to call FB.init() with App ID first.");return a}i.provide("AppEvents",{logEvent:function(a,b,c){h.logEvent(k(),a,b,c)},logPurchase:function(a,b,c){h.logPurchase(k(),a,b,c)},activateApp:function(){h.activateApp(k())},logPageView:function(){h.logPageView(k())},setUserID:function(a){h.setUserID(a)},getUserID:function(){return h.getUserID()},clearUserID:function(){h.clearUserID()},updateUserProperties:function(a,b){h.updateUserProperties(k(),a,b)},setAppVersion:function(a){h.setAppVersion(a)},getAppVersion:function(){return h.getAppVersion()},clearAppVersion:function(){h.clearAppVersion()},EventNames:h.EventNames,ParameterNames:h.ParameterNames})}),3);
__d("resolveURI",[],(function(a,b,c,d,e,f){function a(a){if(!a)return window.location.href;a=a.replace(/&/g,"&amp;").replace(/\"/g,"&quot;");var b=document.createElement("div");b.innerHTML='<a href="'+a+'"></a>';return b.firstChild.href}e.exports=a}),null);
__d("sdk.Canvas.Environment",["sdk.RPC"],(function(a,b,c,d,e,f,g){function a(a){g.remote.getPageInfo(function(b){a(b.result)})}function b(a,b){g.remote.scrollTo({x:a||0,y:b||0})}g.stub("getPageInfo");g.stub("scrollTo");c={getPageInfo:a,scrollTo:b};e.exports=c}),null);
__d("sdk.DialogUtils",["sdk.Content","sdk.DOM","sdk.DOMEventListener","sdk.UA"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();a={isOrientationPotrait:function(){return window.innerWidth<window.innerHeight},addDoubleClickAction:function(a,b,c){var d=null;return i.add(a,"click",function(){d!==null&&(clearTimeout(d),d=null,b()),d=setTimeout(function(){d=null},c)})},addIdleDesktopAction:function(a,b,c){var d,e,f=function(){d=setTimeout(b,c)};f();return i.add(a,"mouseenter",function(){clearTimeout(d),e||(e=i.add(a,"mouseleave",function(){f()}))})},addMobileOrientationChangeAction:function(a){if(!j.mobile())return null;var b="onorientationchange"in window?"orientationchange":"resize",c=function(b){return setTimeout(function(b){return a(b)},50)};return i.add(window,b,c)},applyScreenDimensions:function(a){if(a==null)return;var b=h.getViewportInfo();a.style.minHeight=b.height||b.width?b.height+"px":"";a.style.top=b.scrollTop?b.scrollTop+"px":""},setDialogPositionToCenter:function(a,b,c){__p&&__p();var d=function(a){return typeof a==="number"?a:parseInt(a,10)},e=h.getViewportInfo(),f=d(a.offsetWidth);d=d(a.offsetHeight);f=e.scrollLeft+(e.width-f)/2;var g=(e.height-d)/2.5;f<g&&(g=f);var i=e.height-d-g,k=(e.height-d)/2;c&&(k=c.scrollTop-c.offsetTop+(c.clientHeight-d)/2);k<g?k=g:k>i&&(k=i);k+=e.scrollTop;if(j.mobile()){c=100;b?(c+=(e.height-d)/2,h.addCss(document.body,"fb_reposition")):(h.addCss(document.body,"fb_hidden"),document.body.style.width="auto",k=1e4);g=h.getByClass("fb_dialog_padding",a);g.length&&(g[0].style.height=c+"px")}a.style.left=(f>0?f:0)+"px";a.style.top=(k>0?k:0)+"px"},setDialogPositionToTop:function(a,b,c){this.setDialogPositionToCenter(a,b,c);b=h.getViewportInfo();c=b.scrollTop+(b.height-a.offsetHeight)*.05;h.setStyle(a,"top",c+"px")},setupNewDarkOverlay:function(){var a=document.createElement("div");a.setAttribute("id","fb_dialog_ipad_overlay");this.applyScreenDimensions(a);return a},setupNewDialog:function(a){__p&&__p();a=a||{};var b=document.createElement("div"),c=a;c=c.onClose;if(a.closeIcon&&c){var d=document.createElement("a");d.className="fb_dialog_close_icon";i.add(d,"click",c);b.appendChild(d)}c="fb_dialog";c+=" "+(a.classes||"");c+=j.mobile()?" fb_dialog_mobile":" fb_dialog_advanced";b.className=c;if(a.width){d=parseInt(a.width,10);isNaN(d)||(b.style.width=d+"px")}c=document.createElement("div");a.content&&g.append(a.content,c);c.className="fb_dialog_content";b.appendChild(c);if(j.mobile()){d=document.createElement("div");d.className="fb_dialog_padding";b.appendChild(d)}return{dialogElement:b,contentRoot:c}},onDialogHideCleanup:function(a){var b=document.body;a?h.removeCss(b,"fb_reposition"):h.removeCss(b,"fb_hidden")}};e.exports=a}),null);
__d("sdk.fbt",[],(function(a,b,c,d,e,f){a={_:function(a){return typeof a==="string"?a:a[0]}};e.exports=a}),null);
__d("sdk.Dialog",["ObservableMixin","Type","sdk.Canvas.Environment","sdk.Content","sdk.DialogUtils","sdk.DOM","sdk.DOMEventListener","sdk.fbt","sdk.Runtime","sdk.UA"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){__p&&__p();var q=30,r=590,s=500,t=240,u=575;function v(){var a=l.getViewportInfo();return a.height&&a.width?{width:Math.min(a.width,s),height:Math.min(a.height,r)}:null}var w=h.extend({constructor:function(a,b){this.parent(),this.id=a,this.display=b,this._e2e={},x._dialogs||(x._dialogs={},x._addOrientationHandler()),x._dialogs[a]=this,this.trackEvent("init")},trackEvent:function(a,b){if(this._e2e[a])return this;this._e2e[a]=b||ES("Date","now",!1);a=="close"&&this.inform("e2e:end",this._e2e);return this},trackEvents:function(a){typeof a==="string"&&(a=ES("JSON","parse",!1,a));for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&this.trackEvent(b,a[b]);return this}},g),x={newInstance:function(a,b){return new w(a,b)},_dialogs:null,_lastYOffset:0,_overlayListeners:[],_loaderEl:null,_overlayEl:null,_stack:[],_active:null,_forceTabletStyle:null,_closeOnOverlayTap:null,_positionDialogAtTopWhenPortrait:null,get:function(a){return x._dialogs[a]},_findRoot:function(a){while(a){if(l.containsCss(a,"fb_dialog"))return a;a=a.parentNode}},_createWWWLoader:function(a){a=a?a:460;return x.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:a})},_createMobileLoader:function(){var a;p.nativeApp()?a='<div class="dialog_header"></div>':x.isTabletStyle()?a='<div class="overlayLoader"><div id="fb_dialog_loader_spinner"></div><a id="fb_dialog_loader_close" href="#">'+n._("Cancel")+"</a></div>":a='<div class="dialog_header"><table>  <tbody>    <tr>      <td class="header_left">        <label class="touchable_button">          <input type="submit" value="'+n._("Cancel")+'"            id="fb_dialog_loader_close"/>        </label>      </td>      <td class="header_center">        <div>         '+n._("Loading...")+'        </div>      </td>      <td class="header_right">      </td>    </tr>  </tbody></table></div>';return x.create({classes:"loading"+(x.isTabletStyle()?" centered":""),content:a})},_setDialogOverlayStyle:function(){k.applyScreenDimensions(x._overlayEl)},_showTabletOverlay:function(a){if(!x.isTabletStyle())return;x._overlayEl||(x._overlayEl=k.setupNewDarkOverlay(),j.append(x._overlayEl,null));if(x._closeOnOverlayTap){a=k.addDoubleClickAction(x._overlayEl,ES(a,"bind",!0,this),5e3);x._overlayListeners.push(a)}x._overlayEl.className=""},_hideTabletOverlay:function(){x.isTabletStyle()&&(x._overlayEl.className="hidden",ES(x._overlayListeners,"forEach",!0,function(a){return a.remove()}),x._overlayListeners=[])},showLoader:function(a,b){__p&&__p();a||(a=function(){});var c=function(){x._hideLoader(),k.onDialogHideCleanup(x.isTabletStyle()),x._hideTabletOverlay(),a()};x._showTabletOverlay(c);x._loaderEl||(x._loaderEl=x._findRoot(p.mobile()?x._createMobileLoader():x._createWWWLoader(b)));b=document.getElementById("fb_dialog_loader_close");if(b){l.removeCss(b,"fb_hidden");b=m.add(b,"click",c);x._overlayListeners.push(b)}x._makeActive(x._loaderEl)},setCloseOnOverlayTap:function(a){x._closeOnOverlayTap=!!a},setPositionDialogAtTopWhenPortrait:function(a){x._positionDialogAtTopWhenPortrait=!!a},_hideLoader:function(){x._loaderEl&&x._loaderEl==x._active&&(x._loaderEl.style.top="-10000px")},_makeActive:function(a){x._setDialogSizes(),x._lowerActive(),x._active=a,o.isEnvironment(o.ENVIRONMENTS.CANVAS)&&i.getPageInfo(function(a){x._centerActive(a)}),x._centerActive()},_lowerActive:function(){if(!x._active)return;x._active.style.top="-10000px";x._active=null},_removeStacked:function(a){x._stack=ES(x._stack,"filter",!0,function(b){return b!=a})},_centerActive:function(a){var b=x._active;if(!b)return;x._positionDialogAtTopWhenPortrait&&k.isOrientationPotrait()?k.setDialogPositionToTop(b,x.isTabletStyle(),a):k.setDialogPositionToCenter(b,x.isTabletStyle(),a)},_setDialogSizes:function(a){a===void 0&&(a=!1);if(!p.mobile())return;for(var b in x._dialogs)if(Object.prototype.hasOwnProperty.call(x._dialogs,b)){var c=document.getElementById(b);c&&(c.style.width=x.getDefaultSize().width+"px",a||(c.style.height=x.getDefaultSize().height+"px"))}},getDefaultSize:function(){__p&&__p();if(p.mobile()){var a=v();if(a){l.getViewportInfo().width<=a.width&&(a.width=l.getViewportInfo().width-q);l.getViewportInfo().height<=a.height&&(a.height=l.getViewportInfo().height-q);return a}if(p.ipad())return{width:s,height:r};if(p.android())return{width:screen.availWidth,height:screen.availHeight};else{a=window.innerWidth;var b=window.innerHeight,c=a/b>1.2;return{width:a,height:Math.max(b,c?screen.width:screen.height)}}}return{width:u,height:t}},_handleOrientationChange:function(){__p&&__p();x._availScreenWidth=l.getViewportInfo().width;if(x.isTabletStyle())x._setDialogSizes(!0),x._centerActive(),x._setDialogOverlayStyle();else{var a=x.getDefaultSize().width;for(var b in x._dialogs)if(Object.prototype.hasOwnProperty.call(x._dialogs,b)){var c=document.getElementById(b);c&&(c.style.width=a+"px")}}},_addOrientationHandler:function(){if(!p.mobile())return null;x._availScreenWidth=l.getViewportInfo().width;k.addMobileOrientationChangeAction(x._handleOrientationChange)},create:function(a){var b=k.setupNewDialog(a);j.append(b.dialogElement);a.visible&&x.show(b.dialogElement);typeof a.styles==="object"&&ES("Object","assign",!1,b.dialogElement.style,a.styles);return b.contentRoot},show:function(a){var b=x._findRoot(a);b&&(x._removeStacked(b),x._hideLoader(),x._makeActive(b),x._stack.push(b),"fbCallID"in a&&x.get(a.fbCallID).inform("iframe_show").trackEvent("show"))},hide:function(a){var b=x._findRoot(a);x._hideLoader();b==x._active&&(x._lowerActive(),k.onDialogHideCleanup(x.isTabletStyle()),x._hideTabletOverlay(),"fbCallID"in a&&x.get(a.fbCallID).inform("iframe_hide").trackEvent("hide"))},remove:function(a){a=x._findRoot(a);if(a){var b=x._active==a;x._removeStacked(a);b?(x._hideLoader(),x._stack.length>0?x.show(x._stack.pop()):(x._lowerActive(),k.onDialogHideCleanup(x.isTabletStyle()),x._hideTabletOverlay())):x._active===null&&x._stack.length>0&&x.show(x._stack.pop());setTimeout(function(){a.parentNode.removeChild(a)},3e3)}},isActive:function(a){a=x._findRoot(a);return a&&a===x._active},setForceTabletStyle:function(a){x._forceTabletStyle=!!a},isTabletStyle:function(){if(!p.mobile())return!1;if(x._forceTabletStyle)return!0;var a=v();return a&&(a.height>=r||a.width>=s)}};e.exports=x}),null);
__d("sdk.NativeExtensions",["Log","sdk.DOMEventListener","sdk.UA"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j="fbNativeExtensionsReady";function k(){return window._FBSdkExtensions&&window._FBSdkExtensions.jsonRPC&&window._FBSdkExtensions.initializeCallbackHandler&&window._FBSdkExtensions.supportsDialog?window._FBSdkExtensions:null}a={onReady:function(a){__p&&__p();if(!i.facebookInAppBrowser()){g.error("FB.NativeExtensions.onReady only works when the page is rendered in a WebView of the native Facebook app.");return}var b=k();if(b){a(b);return}var c=!1;b=function b(){var d=k();if(c||!d)return;c=!0;a(d);h.remove(window,j,b)};h.add(window,j,b)}};e.exports=a}),null);
__d("sdk.Extensions",["JSONRPC","Queue","sdk.NativeExtensions","sdk.UA"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=new h(),l=new g(function(a){k.enqueue(a)}),m=new h();m.start(function(a){l.read(a)});var n=null;j.facebookInAppBrowser()&&i.onReady(function(a){n=a,window._FBBrowserCallbackHandler=function(a){m.enqueue(ES("JSON","stringify",!1,a))},a.initializeCallbackHandler(ES("JSON","stringify",!1,{name:"_FBBrowserCallbackHandler"})),k.start(function(b){a.jsonRPC(b)})});e.exports={local:l.local,remote:l.remote,stub:ES(l.stub,"bind",!0,l),supportsDialog:function(a){return!!n&&n.supportsDialog(a)}}}),null);
__d("sdk.Frictionless",["sdk.api","sdk.Auth","sdk.Dialog","sdk.Event"],(function(a,b,c,d,e,f,g,h,i,j){__p&&__p();var k={_allowedRecipients:{},_useFrictionless:!1,_updateRecipients:function(){k._allowedRecipients={},g("/me/apprequestformerrecipients",function(a){if(!a||a.error)return;ES(a.data,"forEach",!0,function(a){k._allowedRecipients[a.recipient_id]=!0})})},init:function(){k._useFrictionless=!0,h.getLoginStatus(function(a){a.status=="connected"&&k._updateRecipients()}),j.subscribe("auth.login",function(a){a.authResponse&&k._updateRecipients()})},_processRequestResponse:function(a,b){return function(c){var d=c&&c.updated_frictionless;k._useFrictionless&&d&&k._updateRecipients();c&&(!b&&c.frictionless&&(i._hideLoader(),i._restoreBodyPosition(),i._hideIPadOverlay()),delete c.frictionless,delete c.updated_frictionless);a&&a(c)}},isAllowed:function(a){__p&&__p();if(!a)return!1;if(typeof a==="number")return a in k._allowedRecipients;typeof a==="string"&&(a=a.split(","));a=ES(a,"map",!0,function(a){return ES(String(a),"trim",!0)});var b=!0,c=!1;ES(a,"forEach",!0,function(a){b=b&&a in k._allowedRecipients,c=!0});return b&&c}};j.subscribe("init:post",function(a){a.frictionlessRequests&&k.init()});e.exports=k}),null);
__d("sdk.Native",["Log","sdk.UA"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i="fbNativeReady";a={onready:function(a){__p&&__p();if(!h.nativeApp()){g.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()");return}window.__fbNative&&!this.nativeReady&&ES("Object","assign",!1,this,window.__fbNative);if(this.nativeReady)a();else{var b=function b(c){window.removeEventListener(i,b),this.onready(a)};window.addEventListener(i,b,!1)}}};e.exports=a}),null);
__d("sdk.openMessenger",["sdk.UA"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h="https://itunes.apple.com/us/app/messenger/id454638411",i="https://play.google.com/store/apps/details?id=com.facebook.orca",j=3e3;function a(a){var b,c,d=a.link;a=a.app_id;g.android()?(b="intent://share/#Intent;package=com.facebook.orca;scheme=fb-messenger;S.android.intent.extra.TEXT="+encodeURIComponent(d)+";S.trigger=send_plugin;",a&&(b+="S.platform_app_id="+encodeURIComponent(a)+";"),b+="end",c=i):(b="fb-messenger://share?link="+encodeURIComponent(d),a&&(b+="&app_id="+encodeURIComponent(a)),c=h);setTimeout(function(){window.location.href=c},j);window.location.href=b}e.exports=a}),null);
__d("sdk.UIServer",["Log","QueryString","UrlMap","createObjectFrom","flattenObject","guid","insertIframe","resolveURI","sdk.Auth","sdk.Content","sdk.Dialog","sdk.DOM","sdk.Event","sdk.Extensions","sdk.fbt","sdk.feature","sdk.Frictionless","sdk.getContextType","sdk.Native","sdk.openMessenger","sdk.RPC","sdk.Runtime","sdk.Scribe","sdk.UA","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E){__p&&__p();var F={transform:function(a){if(a.params.display==="touch"&&M.canIframe(a.params)&&window.postMessage){a.params.channel=M._xdChannelHandler(a.id,"parent");D.nativeApp()||(a.params.in_iframe=1);return a}else return M.genericTransform(a)},getXdRelation:function(a){var b=a.display;return b==="touch"&&window.postMessage&&a.in_iframe?"parent":M.getXdRelation(a)}};function G(a){return a.method=="permissions.oauth"||a.method=="permissions.request"||a.method=="oauth"}function H(a){return G(a)&&t.supportsDialog("oauth")}function I(a){return G(a)&&(a.is_account_link===!0||a.is_account_link==="true")&&t.supportsDialog("accountLink")}a={"stream.share":{size:{width:670,height:340},url:"sharer.php",transform:function(a){a.params.u||(a.params.u=window.location.toString());a.params.display="popup";return a}},apprequests:{transform:function(a){a=F.transform(a);a.params.frictionless=w&&w._useFrictionless;a.params.frictionless&&(w.isAllowed(a.params.to)&&(a.params.display="iframe",a.params.in_iframe=!0,a.hideLoader=!0),a.cb=w._processRequestResponse(a.cb,a.hideLoader));a.closeIcon=!1;return a},getXdRelation:F.getXdRelation},"permissions.oauth":{url:"dialog/oauth",size:{width:D.mobile()?null:600,height:D.mobile()?null:679},transform:function(a){__p&&__p();if(!B.getClientID()){g.error("FB.login() called before FB.init().");return}if(o.getAuthResponse()&&!a.params.scope&&!a.params.auth_type){g.error("FB.login() called when user is already connected.");a.cb&&a.cb({status:B.getLoginStatus(),authResponse:o.getAuthResponse()});return}var b=a.cb,c=a.id;delete a.cb;var d=a.params.auth_type==="reauthenticate",e=ES("Object","keys",!1,ES("Object","assign",!1,a.params.response_type?j(a.params.response_type.split(",")):{},{token:!0,signed_request:!0})).join(",");a.params.display==="async"?(ES("Object","assign",!1,a.params,{client_id:B.getClientID(),origin:x(),response_type:e,domain:location.hostname}),a.cb=o.xdResponseWrapper(b,o.getAuthResponse(),"permissions.oauth")):(d&&M._xdNextHandler(function(a){b({authResponse:null,status:"not_authorized"})},c,"opener",!0),ES("Object","assign",!1,a.params,{client_id:B.getClientID(),redirect_uri:n(M.xdHandler(b,c,"opener",o.getAuthResponse(),"permissions.oauth",!d)),origin:x(),response_type:e,domain:location.hostname}));return a}},"auth.logout":{url:"logout.php",transform:function(a){if(!B.getClientID())g.error("FB.logout() called before calling FB.init().");else if(!o.getAuthResponse())g.error("FB.logout() called without an access token.");else{a.params.next=M.xdHandler(a.cb,a.id,"parent",o.getAuthResponse(),"logout",!0);return a}}},"login.status":{url:"dialog/oauth",transform:function(a){var b=a.cb,c=a.id;delete a.cb;ES("Object","assign",!1,a.params,{client_id:B.getClientID(),redirect_uri:M.xdHandler(b,c,"parent",o.getAuthResponse(),"login_status",!0),origin:x(),response_type:"token,signed_request",domain:location.hostname});return a}},pay:{size:{width:555,height:120},connectDisplay:"popup"},live_broadcast:{transform:function(a){a.params.phase==="create"&&(a.size={width:480,height:280});a.params.phase==="publish"&&(a.size={width:772,height:540});return a},require_access_token:!0},boost:{transform:function(a){a.size={width:960,height:760};a.params.display="popup";return a}}};var J={};function K(a,b){J[b]=!0;return function(c){delete J[b],a(c)}}function L(a){var b=a.method.toLowerCase();return b==="pay"&&a.display==="async"?!0:!1}var M={Methods:a,_loadedNodes:{},_defaultCb:{},_resultToken:'"xxRESULTTOKENxx"',genericTransform:function(a){(a.params.display=="dialog"||a.params.display=="iframe")&&ES("Object","assign",!1,a.params,{display:"iframe",channel:M._xdChannelHandler(a.id,"parent.parent")},!0);return a},checkOauthDisplay:function(a){var b=a.scope||a.perms||B.getScope();return!b?a.display:"popup"},prepareCall:function(a,b){__p&&__p();var c=a.method.toLowerCase(),d=Object.prototype.hasOwnProperty.call(M.Methods,c)?ES("Object","assign",!1,{},M.Methods[c]):{},e=l(),f=!0;ES("Object","assign",!1,a,{app_id:B.getClientID(),locale:B.getLocale(),sdk:"joey",access_token:f&&B.getAccessToken()||void 0});(c==="share"||c==="share_open_graph")&&(a.mobile_iframe=D.mobile()&&(a.mobile_iframe||a.iframe_test),a.mobile_iframe&&(d=ES("Object","assign",!1,{},F)));a.display=M.getDisplayMode(d,a);d.url||(d.url="dialog/"+c);(d.url=="dialog/oauth"||d.url=="dialog/permissions.request")&&(a.display=="iframe"||a.display=="touch"&&a.in_iframe)&&(a.display=M.checkOauthDisplay(a));a.display=="popup"&&!d.require_access_token&&delete a.access_token;B.getIsVersioned()&&d.url.substring(0,7)==="dialog/"&&(d.url=a.version+"/"+d.url);if(L(a)){if(J[c]){f='Dialog "'+c+'" is trying to run more than once.';g.warn(f);b({error_code:-100,error_message:f});return}b=K(b,c)}f={cb:b,id:e,size:d.size||M.getDefaultSize(),url:i.resolve(a.display=="touch"?"m":"www")+"/"+d.url,params:a,name:c,dialog:q.newInstance(e,a.display)};b=d.transform?d.transform:M.genericTransform;if(b){f=b(f);if(!f)return}a.display==="touch"&&a.in_iframe&&(f.params.parent_height=window.innerHeight);c=d.getXdRelation||M.getXdRelation;b=c(f.params);!(f.id in M._defaultCb)&&!("next"in f.params)&&!("redirect_uri"in f.params)&&(f.params.next=M._xdResult(f.cb,f.id,b,!0));(b==="parent"||b==="opener")&&ES("Object","assign",!1,f.params,{channel_url:M._xdChannelHandler(e,b==="parent"?"parent.parent":"opener")},!0);f=M.prepareParams(f);return f},prepareParams:function(a){a.params.display!=="async"&&delete a.params.method;a.params.kid_directed_site=B.getKidDirectedSite()||a.params.kid_directed_site;a.params=k(a.params);var b=h.encode(a.params);!D.nativeApp()&&M.urlTooLongForIE(a.url+"?"+b)?a.post=!0:b&&(a.url+="?"+b);return a},urlTooLongForIE:function(a){return D.ie()&&D.ie()<=8&&a.length>2048},getDisplayMode:function(a,b){__p&&__p();if(b.display==="hidden"||b.display==="none"||b.display==="native")return b.display;var c=B.isEnvironment(B.ENVIRONMENTS.CANVAS)||B.isEnvironment(B.ENVIRONMENTS.PAGETAB);if(c&&!b.display)return"async";if(H(b)||I(b))return"async";if(D.mobile()||b.display==="touch")return"touch";if((b.display=="iframe"||b.display=="dialog")&&!M.canIframe(b)){g.error('"dialog" mode can only be used when the user is connected.');return"popup"}return a.connectDisplay&&!c?a.connectDisplay:b.display||(M.canIframe(b)?"dialog":"popup")},canIframe:function(a){if(B.getAccessToken())return!0;return D.mobile()&&B.getLoggedIntoFacebook()?!!a.mobile_iframe:!1},getXdRelation:function(a){a=a.display;if(a==="popup"||a==="touch")return"opener";if(a==="dialog"||a==="iframe"||a==="hidden"||a==="none")return"parent";return a==="async"?"parent.frames["+window.name+"]":""},popup:function(a){__p&&__p();var b=window.screenX,c=window.screenY,d=window.outerWidth,e=window.outerHeight,f=D.mobile()?null:a.size.width,g=D.mobile()?null:a.size.height;b=b<0?window.screen.width+b:b;b=b+(d-f)/2;d=c+(e-g)/2.5;c=[];f!==null&&c.push("width="+f);g!==null&&c.push("height="+g);c.push("left="+b);c.push("top="+d);c.push("scrollbars=1");(a.name=="permissions.request"||a.name=="permissions.oauth")&&(c.push("toolbar=0"),(!D.chrome()||D.chrome()<59)&&c.push("location=1"));e=c.join(",");a.post?(f=window.open("about:blank",a.id,e),f&&(M.setLoadedNode(a,f,"popup"),p.submitToTarget({url:a.url,target:a.id,params:a.params}))):(f=window.open(a.url,a.id,e),f&&M.setLoadedNode(a,f,"popup"));if(!f){v("popup_blocker_scribe_logging",!0)&&C.log("jssdk_error",{appId:B.getClientID(),error:"POPUP_MAYBE_BLOCKED",extra:{call:a.name}});return}a.id in M._defaultCb&&M._popupMonitor()},setLoadedNode:function(a,b,c){c==="iframe"&&(b.fbCallID=a.id),b={node:b,type:c,fbCallID:a.id},M._loadedNodes[a.id]=b},getLoadedNode:function(a){a=typeof a==="object"?a.id:a;a=M._loadedNodes[a];return a?a.node:null},hidden:function(a){a.className="FB_UI_Hidden",a.root=p.appendHidden(""),M._insertIframe(a)},iframe:function(a){__p&&__p();a.className="FB_UI_Dialog";a.params.mobile_iframe&&(q.setForceTabletStyle(!0),q.setCloseOnOverlayTap(!0),q.setPositionDialogAtTopWhenPortrait(!0));var b=function(){var b=ES("JSON","stringify",!1,{error_code:4201,error_message:u._("User canceled the Dialog flow")});M._triggerDefault(a.id,b)},c={onClose:b,closeIcon:a.closeIcon===void 0?!0:a.closeIcon,classes:q.isTabletStyle()?"centered":""};a.params.mobile_iframe&&(c.styles={"border-radius":"8px"});a.root=q.create(c);a.hideLoader||q.showLoader(b,a.size.width);r.addCss(a.root,"fb_dialog_iframe");M._insertIframe(a)},touch:function(a){a.params&&a.params.in_iframe?a.ui_created?q.showLoader(function(){M._triggerDefault(a.id,null)},0):M.iframe(a):D.nativeApp()&&!a.ui_created?(a.frame=a.id,y.onready(function(){M.setLoadedNode(a,y.open(a.url+"#cb="+a.frameName),"native")}),M._popupMonitor()):a.ui_created||M.popup(a)},async:function(a){__p&&__p();a.params.redirect_uri=location.protocol+"//"+location.host+location.pathname;delete a.params.access_token;var b=function(b){b=b.result;if(b&&b.e2e){var c=q.get(a.id);c.trackEvents(b.e2e);c.trackEvent("close");delete b.e2e}a.cb(b)};H(a.params)||I(a.params)?(a.params.method="oauth",a.params.redirect_uri=a.params.next,t.remote.showDialog(a.params,b)):A.remote.showDialog(a.params,b)},"native":function(a){z(a.params)},getDefaultSize:function(){return q.getDefaultSize()},_insertIframe:function(a){M._loadedNodes[a.id]=!1;var b=function(b){a.id in M._loadedNodes&&M.setLoadedNode(a,b,"iframe")};a.post?m({url:"about:blank",root:a.root,className:a.className,width:a.size.width,height:a.size.height,id:a.id,onInsert:b,onload:function(b){p.submitToTarget({url:a.url,target:b.name,params:a.params})}}):m({url:a.url,root:a.root,className:a.className,width:a.size.width,height:a.size.height,id:a.id,name:a.frameName,onInsert:b})},_handleResizeMessage:function(a,b){a=M.getLoadedNode(a);if(!a)return;b.height&&(a.style.height=b.height+"px");b.width&&(a.style.width=b.width+"px");E.inform("resize.ack",b||{},"parent.frames["+a.name+"]");!q.isActive(a)?q.show(a):q._centerActive()},_triggerDefault:function(a,b){var c={frame:a};b&&(c.result=b);M._xdRecv(c,M._defaultCb[a]||function(){})},_popupMonitor:function(){__p&&__p();var a;for(var b in M._loadedNodes)if(Object.prototype.hasOwnProperty.call(M._loadedNodes,b)&&b in M._defaultCb){var c=M._loadedNodes[b];if(c.type!="popup"&&c.type!="native")continue;c=c.node;try{c.closed?M._triggerDefault(b,null):a=!0}catch(a){}}a&&!M._popupInterval?M._popupInterval=setInterval(M._popupMonitor,100):!a&&M._popupInterval&&(clearInterval(M._popupInterval),M._popupInterval=null)},_xdChannelHandler:function(a,b){__p&&__p();return E.handler(function(b){__p&&__p();var c=M.getLoadedNode(a);if(!c)return;if(b.type=="resize")M._handleResizeMessage(a,b);else if(b.type=="hide")q.hide(c);else if(b.type=="rendered"){c=q._findRoot(c);q.show(c)}else b.type=="fireevent"&&s.fire(b.event,b)},b,!0,null)},_xdNextHandler:function(a,b,c,d){d&&(M._defaultCb[b]=a);return E.handler(function(b){M._xdRecv(b,a)},c)+"&frame="+b},_xdRecv:function(a,b){__p&&__p();var c=M.getLoadedNode(a.frame);if(c)if(c.close)try{c.close(),/iPhone.*Version\/(5|6)/.test(navigator.userAgent)&&RegExp.$1!=="5"&&window.focus(),M._popupCount--}catch(a){}else r.containsCss(c,"FB_UI_Hidden")?setTimeout(function(){c.parentNode.parentNode.removeChild(c.parentNode)},3e3):r.containsCss(c,"FB_UI_Dialog")&&q.remove(c);delete M._loadedNodes[a.frame];delete M._defaultCb[a.frame];if(a.e2e){var d=q.get(a.frame);d.trackEvents(a.e2e);d.trackEvent("close");delete a.e2e}b(a)},_xdResult:function(a,b,c,d){return M._xdNextHandler(function(b){a&&a(b.result&&b.result!=M._resultToken&&ES("JSON","parse",!1,b.result))},b,c,d)+"&result="+encodeURIComponent(M._resultToken)},xdHandler:function(a,b,c,d,e,f){return M._xdNextHandler(o.xdResponseWrapper(a,d,e),b,c,f)}};t.stub("showDialog");A.stub("showDialog");e.exports=M}),null);
__d("sdk.ui",["Assert","Log","sdk.feature","sdk.Impressions","sdk.PlatformVersioning","sdk.Runtime","sdk.UIServer","sdk.URI"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){__p&&__p();function a(a,b){__p&&__p();g.isObject(a);g.maybeFunction(b);l.getIsVersioned()&&(k.assertVersionIsSet(),a.version?k.assertValidVersion(a.version):a.version=l.getVersion());a=ES("Object","assign",!1,{},a);if(!a.method){h.error('"method" is a required parameter for FB.ui().');return null}a.method=="pay.prompt"&&(a.method="pay");var c=a.method;a.redirect_uri&&(h.warn("When using FB.ui, you should not specify a redirect_uri."),delete a.redirect_uri);if(!a.fallback_redirect_uri){var d=new n(document.location.href);d.setQueryData({}).setFragment();a.fallback_redirect_uri=d.toString()}(c=="permissions.request"||c=="permissions.oauth")&&(a.display=="iframe"||a.display=="dialog")&&(a.display=m.checkOauthDisplay(a));if(a.display==="native"&&c!=="send"){h.error('display type "native" not supported');return null}d=i("e2e_tracking",!0);d&&(a.e2e={});a=m.prepareCall(a,b||function(){});if(!a)return null;var e=a.params.display;e==="dialog"?e="iframe":e==="none"&&(e="hidden");b=m[e];if(!b){h.error('"display" must be one of "popup", "dialog", "iframe", "touch", "async", "hidden", or "none"');return null}d&&a.dialog.subscribe("e2e:end",function(a){a.method=c,a.display=e,h.debug("e2e: %s",ES("JSON","stringify",!1,a)),j.log(114,{payload:a})});b(a);return a.dialog}e.exports=a}),null);
__d("legacy:fb.auth",["FB","Log","sdk.Auth","sdk.Cookie","sdk.Event","sdk.Runtime","sdk.SignedRequest","sdk.ui","sdk.unsecureDisallowed"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){__p&&__p();g.provide("",{getLoginStatus:function(){return o("getLoginStatus")?null:i.getLoginStatus.apply(i,arguments)},getAuthResponse:function(){return o("getAuthResponse")?null:i.getAuthResponse()},getAccessToken:function(){return o("getAccessToken")?null:l.getAccessToken()||null},getUserID:function(){return o("getUserID")?null:l.getUserID()||l.getCookieUserID()},login:function(a,b){if(o("login"))return;b&&b.perms&&!b.scope&&(b.scope=b.perms,delete b.perms,h.warn("OAuth2 specification states that 'perms' should now be called 'scope'.  Please update."));var c=l.isEnvironment(l.ENVIRONMENTS.CANVAS)||l.isEnvironment(l.ENVIRONMENTS.PAGETAB);n(babelHelpers["extends"]({method:"permissions.oauth",display:c?"async":"popup",domain:location.hostname},b||{}),a)},logout:function(a){n({method:"auth.logout",display:"hidden"},a)}}),i.subscribe("logout",ES(k.fire,"bind",!0,k,"auth.logout")),i.subscribe("login",ES(k.fire,"bind",!0,k,"auth.login")),i.subscribe("authresponse.change",ES(k.fire,"bind",!0,k,"auth.authResponseChange")),i.subscribe("status.change",ES(k.fire,"bind",!0,k,"auth.statusChange")),k.subscribe("init:post",function(a){__p&&__p();a.status&&i.getLoginStatus();if(l.getClientID())if(a.authResponse)i.setAuthResponse(a.authResponse,"connected");else if(l.getUseCookie()){a=j.loadSignedRequest();if(a){try{a=m.parse(a)}catch(a){j.clearSignedRequestCookie()}a&&a.user_id&&l.setCookieUserID(a.user_id)}}})}),3);
__d("sdk.Canvas.IframeHandling",["DOMWrapper","sdk.RPC"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i=null,j;function k(){var a=g.getWindow().document,b=a.body;a=a.documentElement;var c=Math.max(b.offsetTop,0),d=Math.max(a.offsetTop,0),e=b.scrollHeight+c;b=b.offsetHeight+c;c=a.scrollHeight+d;a=a.offsetHeight+d;return Math.max(e,b,c,a)}function l(a){__p&&__p();typeof a!=="object"&&(a={});var b=0,c=0;a.height||(a.height=k(),b=16,c=4);a.frame||(a.frame=window.name||"iframe_canvas");if(j){var d=j.height;d=a.height-d;if(d<=c&&d>=-b)return!1}j=a;h.remote.setSize(a);return!0}function a(a,b){b===void 0&&typeof a==="number"&&(b=a,a=!0),a||a===void 0?(i===null&&(i=setInterval(function(){l()},b||100)),l()):i!==null&&(clearInterval(i),i=null)}h.stub("setSize");b={setSize:l,setAutoGrow:a};e.exports=b}),null);
__d("sdk.Canvas.Navigation",["sdk.RPC"],(function(a,b,c,d,e,f,g){function a(a){g.local.navigate=function(b){a({path:b})},g.remote.setNavigationEnabled(!0)}g.stub("setNavigationEnabled");b={setUrlHandler:a};e.exports=b}),null);
__d("sdk.Canvas.Plugin",["Log","sdk.api","sdk.RPC","sdk.Runtime","sdk.UA"],(function(a,b,c,d,e,f,g,h,i,j,k){__p&&__p();var l="CLSID:D27CDB6E-AE6D-11CF-96B8-444553540000",m="CLSID:444785F1-DE89-4295-863A-D46C3A781394",n=null;c=k.osx()&&k.osx.getVersionParts();var o=!(c&&c[0]>10&&c[1]>10&&(k.chrome()>=31||k.webkit()>=537.71||k.firefox()>=25));function p(a){a._hideunity_savedstyle={},a._hideunity_savedstyle.left=a.style.left,a._hideunity_savedstyle.position=a.style.position,a._hideunity_savedstyle.width=a.style.width,a._hideunity_savedstyle.height=a.style.height,a.style.left="-10000px",a.style.position="absolute",a.style.width="1px",a.style.height="1px"}function q(a){a._hideunity_savedstyle&&(a.style.left=a._hideunity_savedstyle.left,a.style.position=a._hideunity_savedstyle.position,a.style.width=a._hideunity_savedstyle.width,a.style.height=a._hideunity_savedstyle.height)}function r(a){a._old_visibility=a.style.visibility,a.style.visibility="hidden"}function s(a){a.style.visibility=a._old_visibility||"",delete a._old_visibility}function t(a){__p&&__p();var b=a.type?a.type.toLowerCase():null;b=b==="application/x-shockwave-flash"||a.classid&&a.classid.toUpperCase()==l;if(!b)return!1;b=/opaque|transparent/i;if(b.test(a.getAttribute("wmode")))return!1;for(var c=0;c<a.childNodes.length;c++){var d=a.childNodes[c];if(/param/i.test(d.nodeName)&&/wmode/i.test(d.name)&&b.test(d.value))return!1}return!0}function u(a){var b=a.type?a.type.toLowerCase():null;return b==="application/vnd.unity"||a.classid&&a.classid.toUpperCase()==m}function v(a){__p&&__p();var b=ES("Array","from",!1,window.document.getElementsByTagName("object"));b=b.concat(ES("Array","from",!1,window.document.getElementsByTagName("embed")));var c=!1,d=!1;ES(b,"forEach",!0,function(b){__p&&__p();var e=t(b),f=o&&u(b);if(!e&&!f)return;c=c||e;d=d||f;f=function(){a.state==="opened"?e?r(b):p(b):e?s(b):q(b)};if(n){g.info("Calling developer specified callback");var h={state:a.state,elem:b};n(h);setTimeout(f,200)}else f()});if(Math.random()<=1/1e3){b={unity:d,flash:c};h(j.getClientID()+"/occludespopups","post",b)}}i.local.hidePluginObjects=function(){g.info("hidePluginObjects called"),v({state:"opened"})};i.local.showPluginObjects=function(){g.info("showPluginObjects called"),v({state:"closed"})};i.local.showFlashObjects=i.local.showPluginObjects;i.local.hideFlashObjects=i.local.hidePluginObjects;function a(){r(),p()}function b(){s(),q()}d={_setHidePluginCallback:function(a){n=a},hidePluginElement:a,showPluginElement:b};e.exports=d}),null);
__d("sdk.Canvas.Tti",["sdk.RPC","sdk.Runtime"],(function(a,b,c,d,e,f,g,h){__p&&__p();function i(a,b){b={appId:h.getClientID(),time:ES("Date","now",!1),name:b};b=[b];a&&b.push(function(b){a(b.result)});g.remote.logTtiMessage.apply(null,b)}function a(){i(null,"StartIframeAppTtiTimer")}function b(a){i(a,"StopIframeAppTtiTimer")}function c(a){i(a,"RecordIframeAppTti")}g.stub("logTtiMessage");d={setDoneLoading:c,startTimer:a,stopTimer:b};e.exports=d}),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(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){__p&&__p();j.provide("Canvas",{setSize:function(a){g.maybeObject(a,"Invalid argument");return k.setSize.apply(null,arguments)},setAutoGrow:function(){return k.setAutoGrow.apply(null,arguments)},getPageInfo:function(a){g.isFunction(a,"Invalid argument");return h.getPageInfo.apply(null,arguments)},scrollTo:function(a,b){g.maybeNumber(a,"Invalid argument");g.maybeNumber(b,"Invalid argument");return h.scrollTo.apply(null,arguments)},setDoneLoading:function(a){g.maybeFunction(a,"Invalid argument");return p.setDoneLoading.apply(null,arguments)},startTimer:function(){return p.startTimer.apply(null,arguments)},stopTimer:function(a){g.maybeFunction(a,"Invalid argument");return p.stopTimer.apply(null,arguments)},getHash:function(a){g.isFunction(a,"Invalid argument");return l.getHash.apply(null,arguments)},setHash:function(a){g.isString(a,"Invalid argument");return l.setHash.apply(null,arguments)},setUrlHandler:function(a){g.isFunction(a,"Invalid argument");return l.setUrlHandler.apply(null,arguments)}}),n.local.fireEvent=ES(i.fire,"bind",!0,i),i.subscribe("init:post",function(a){o.isEnvironment(o.ENVIRONMENTS.CANVAS)&&(g.isTrue(!a.hideFlashCallback||!a.hidePluginCallback,"cannot specify deprecated hideFlashCallback and new hidePluginCallback"),m._setHidePluginCallback(a.hidePluginCallback||a.hideFlashCallback))})}),3);
__d("legacy:fb.canvas.plugin",["FB","sdk.Canvas.Plugin"],(function(a,b,c,d,e,f,g,h){g.provide("Canvas.Plugin",h)}),3);
__d("sdk.Canvas.Prefetcher",["JSSDKCanvasPrefetcherConfig","sdk.api","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j={AUTOMATIC:0,MANUAL:1},k=g.sampleRate,l=g.blacklist,m=j.AUTOMATIC,n=[];function o(){var a={object:"data",link:"href",script:"src"};m==j.AUTOMATIC&&ES(ES("Object","keys",!1,a),"forEach",!0,function(b){var c=a[b];ES(ES("Array","from",!1,document.getElementsByTagName(b)),"forEach",!0,function(a){a[c]&&n.push(a[c])})});if(n.length===0)return;h(i.getClientID()+"/staticresources","post",{urls:ES("JSON","stringify",!1,n),is_https:location.protocol==="https:"});n=[]}function a(){if(!i.isEnvironment(i.ENVIRONMENTS.CANVAS)||!i.getClientID()||!k)return;if(Math.random()>1/k||l=="*"||~ES(l,"indexOf",!0,i.getClientID()))return;setTimeout(o,3e4)}function b(a){m=a}function c(a){n.push(a)}d={COLLECT_AUTOMATIC:j.AUTOMATIC,COLLECT_MANUAL:j.MANUAL,addStaticResource:c,setCollectionMode:b,_maybeSample:a};e.exports=d}),null);
__d("legacy:fb.canvas.prefetcher",["FB","sdk.Canvas.Prefetcher","sdk.Event","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i,j){g.provide("Canvas.Prefetcher",h),i.subscribe("init:post",function(a){j.isEnvironment(j.ENVIRONMENTS.CANVAS)&&h._maybeSample()})}),3);
__d("legacy:fb.canvas.presence",["sdk.RPC","sdk.Event"],(function(a,b,c,d,e,f,g,h){__p&&__p();h.subscribe(h.SUBSCRIBE,a);h.subscribe(h.UNSUBSCRIBE,b);g.stub("useFriendsOnline");function a(a,b){if(a!="canvas.friendsOnlineUpdated")return;b.length===1&&g.remote.useFriendsOnline(!0)}function b(a,b){if(a!="canvas.friendsOnlineUpdated")return;b.length===0&&g.remote.useFriendsOnline(!1)}}),3);
__d("legacy:fb.event",["FB","sdk.Event","Log"],(function(a,b,c,d,e,f,g,h,i){a=function(a){return i.error("FB.Event."+a+"() has been deprecated")};g.provide("Event",{subscribe:function(a,b){return h.subscribe(a,b)},unsubscribe:ES(h.unsubscribe,"bind",!0,h),clear:ES(a,"bind",!0,null,"clear"),fire:ES(a,"bind",!0,null,"fire")})}),3);
__d("legacy:fb.frictionless",["FB","sdk.Frictionless"],(function(a,b,c,d,e,f,g,h){g.provide("Frictionless",h)}),3);
__d("sdk.MBasicInitializer",["UrlMap","sdk.DOM","sdk.fbt","sdk.Runtime","sdk.UA","sdk.URI"],(function(a,b,c,d,e,f,g,h,i,j,k,l){__p&&__p();var m=function(){__p&&__p();function a(a){__p&&__p();if(!a)return;var b=a.parentNode;if(!b)return;var c=h.getAttr(a,"href")||window.location.href,d=new l(g.resolve("m"));d.setPath("/dialog/share");d.addQueryData("href",encodeURI(c));d.addQueryData("app_id",j.getClientID());d.addQueryData("mbasic_link",1);c=document.createElement("a");c.style="display:inline-block; zoom:1;";c.textContent=i._("Share to Facebook");c.setAttribute("href",d.toString());c.setAttribute("target","_blank");b.insertBefore(c,a);b.removeChild(a)}ES(ES("Array","from",!1,document.getElementsByTagName("fb:share-button")),"forEach",!0,function(b){return a(b)});ES(ES("Array","from",!1,document.getElementsByClassName("fb-share-button")),"forEach",!0,function(b){return a(b)})};function a(){if(!k.mBasic())return;m()}e.exports={init:a}}),null);
__d("sdk.init",["Log","ManagedError","QueryString","sdk.Cookie","sdk.ErrorHandling","sdk.Event","sdk.MBasicInitializer","sdk.PlatformVersioning","sdk.Runtime","sdk.UA","sdk.URI"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){__p&&__p();function r(a){var b=typeof a==="number"&&a>0||typeof a==="string"&&/^[0-9a-f]{21,}$|^[0-9]{1,21}$/.test(a);if(b)return a.toString();g.warn("Invalid App Id: Must be a number or numeric string representing the application id.");return null}function s(a){__p&&__p();o.getInitialized()&&g.warn("FB.init has already been called - this could indicate a problem");if(o.getIsVersioned()){if(Object.prototype.toString.call(a)!=="[object Object]")throw new h("Invalid argument");a.authResponse&&g.warn("Setting authResponse is not supported");a.version||(a.version=new q(location.href).getQueryData().sdk_version);n.assertValidVersion(a.version);o.setVersion(a.version)}else/number|string/.test(typeof a)&&(g.warn("FB.init called with invalid parameters"),a={apiKey:a}),a=ES("Object","assign",!1,{status:!0},a||{});var b=r(a.appId||a.apiKey);b!==null&&o.setClientID(b);"scope"in a&&o.setScope(a.scope);a.cookie&&(o.setUseCookie(!0),typeof a.cookie==="string"&&j.setDomain(a.cookie));(a.localStorage===!1||a.localStorage==="false")&&o.setUseLocalStorage(!1);a.kidDirectedSite&&o.setKidDirectedSite(!0);(a.autoLogAppEvents==="1"||a.autoLogAppEvents==="true")&&(a.autoLogAppEvents=!0);a.ab&&o.setSDKAB(a.ab);o.setInitialized(!0);p.mBasic()&&m.init();l.fire("init:post",a)}window.setTimeout(function(){__p&&__p();var a=/(connect\.facebook\.net|\.facebook\.com\/assets.php|\.facebook\.net\/assets.php).*?#(.*)/;ES(ES("Array","from",!1,fb_fif_window.document.getElementsByTagName("script")),"forEach",!0,function(b){__p&&__p();if(b.src){b=a.exec(b.src);if(b){b=i.decode(b[2]);for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c];d=="0"&&(b[c]=0)}s(b)}}});window.fbAsyncInit&&!window.fbAsyncInit.hasRun&&(l.fire("init:asyncstart"),window.fbAsyncInit.hasRun=!0,k.unguard(window.fbAsyncInit)())},0);e.exports=s}),null);
__d("legacy:fb.init",["FB","sdk.Event","sdk.init"],(function(a,b,c,d,e,f,g,h,i){"use strict";g.provide("",{init:i}),h.subscribe("init:post",function(){__buffer&&__buffer.replay()}),window.setTimeout(function(){__buffer&&__buffer.opts&&i(__buffer.opts)},0)}),3);
__d("runOnce",[],(function(a,b,c,d,e,f){function a(a){var b,c;return function(){b||(b=!0,c=a());return c}}e.exports=a}),null);
__d("sdk.Time",["Log","sdk.feature","sdk.Impressions","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=window.performance,l=k&&"now"in k&&"getEntriesByName"in k,m,n={};if(l){var o=j.getSDKUrl();a=null;b=ES(k.getEntriesByType("resource"),"filter",!0,function(a){return ES(a.name,"startsWith",!0,o)});if(b.length>1)b=null;else if(b.length===1){c=document.getElementById("facebook-jssdk-iframe");c&&c instanceof HTMLIFrameElement&&(a=c.contentWindow.performance.getEntriesByType("resource").find(function(a){return ES(a.name,"startsWith",!0,o)}));b=b[0]}else b=null;b&&(n.fetchTime=Math.round(b.duration),a&&(n.fetchTime+=Math.round(a.duration)),"transferSize"in b&&(n.transferSize=b.transferSize,a&&(n.transferSize+=a.transferSize)),g.debug("sdkperf: it took %s ms and %s bytes to load %s",n.fetchTime,n.transferSize,o),m=b.startTime,n.ns=j.getSDKNS(),m&&window.setTimeout(function(){var a=h("log_perf",!1),b=j.getSDKAB();b&&(n.ab=b,a=!0);a&&i.log(116,n)},1e4))}d={log:function(a){if(!l||!m)return;n[a]=Math.round(k.now()-m);g.debug("sdkperf: %s logged after %s ms",a,n[a])}};e.exports=d}),null);
__d("legacy:fb.time",["sdk.Event","sdk.Time","runOnce"],(function(a,b,c,d,e,f,g,h,i){"use strict";g.subscribe("init:post",function(){h.log("init")}),g.subscribe("init:asyncstart",function(){h.log("asyncstart")}),g.subscribe("iframeplugin:create",i(function(){return h.log("pluginframe")})),g.subscribe("iframeplugin:onload",i(function(){return h.log("ttfp")}))}),3);
__d("legacy:fb.ui",["FB","sdk.ui"],(function(a,b,c,d,e,f,g,h){g.provide("",{ui:h})}),3);
__d("legacy:fb.versioned-sdk",["sdk.Runtime"],(function(a,b,c,d,e,f,g){g.setIsVersioned(!0)}),3);
__d("XFBML",["Assert","Log","ObservableMixin","runOnce"],(function(a,b,c,d,e,f,g,h,i,j){__p&&__p();var k={},l={},m=0,n=new i();function o(a,b){return ES(a[b]+"","trim",!0)}function p(a){return a.scopeName?a.scopeName+":"+a.nodeName:""}function q(a){return k[o(a,"nodeName").toLowerCase()]||k[p(a).toLowerCase()]}function r(a){var b=ES(o(a,"className").split(/\s+/),"filter",!0,function(a){return Object.prototype.hasOwnProperty.call(l,a)});if(b.length===0)return void 0;if(a.getAttribute("fb-xfbml-state")||!a.childNodes||a.childNodes.length===0||a.childNodes.length===1&&a.childNodes[0].nodeType===3||a.children.length===1&&o(a.children[0],"className")==="fb-xfbml-parse-ignore")return l[b[0]]}function s(a){var b={};ES(ES("Array","from",!1,a.attributes),"forEach",!0,function(a){b[o(a,"name")]=o(a,"value")});return b}function t(a,b,c){__p&&__p();g.isTrue(a&&a.nodeType&&a.nodeType===1&&!!a.getElementsByTagName,"Invalid DOM node passed to FB.XFBML.parse()");g.isFunction(b,"Invalid callback passed to FB.XFBML.parse()");var d=++m;h.info("XFBML Parsing Start %s",d);var e=1,f=0,i=function(){e--,e===0&&(h.info("XFBML Parsing Finish %s, %s tags found",d,f),b(),n.inform("render",d,f)),g.isTrue(e>=0,"onrender() has been called too many times")};ES(ES("Array","from",!1,a.getElementsByTagName("*")),"forEach",!0,function(a){__p&&__p();if(!c&&a.getAttribute("fb-xfbml-state"))return;if(a.nodeType!==1)return;var b=q(a)||r(a);if(!b)return;e++;f++;var d=new b.ctor(a,b.xmlns,b.localName,s(a));d.subscribe("render",j(function(){a.setAttribute("fb-xfbml-state","rendered"),i()}));b=function b(){a.getAttribute("fb-xfbml-state")=="parsed"?n.subscribe("render.queue",b):(a.setAttribute("fb-xfbml-state","parsed"),d.process())};b()});n.inform("parse",d,f);var k=3e4;setTimeout(function(){e>0&&h.warn("%s tags failed to render in %s ms",e,k)},k);i()}n.subscribe("render",function(){var a=n.getSubscribers("render.queue");n.clearSubscribers("render.queue");ES(a,"forEach",!0,function(a){a()})});ES("Object","assign",!1,n,{registerTag:function(a){var b=a.xmlns+":"+a.localName;g.isUndefined(k[b],b+" already registered");k[b]=a;l[a.xmlns+"-"+a.localName]=a},parse:function(a,b){t(a||document.body,b||function(){},!0)},parseNew:function(){t(document.body,function(){},!1)}});e.exports=n}),null);
__d("legacy:fb.xfbml",["Assert","sdk.Event","FB","XFBML","sdk.domReady","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j,k,l){__p&&__p();i.provide("XFBML",{parse:function(a){g.maybeXfbml(a,"Invalid argument");a&&a.nodeType===9&&(a=a.body);return j.parse.apply(null,arguments)}});j.subscribe("parse",ES(h.fire,"bind",!0,h,"xfbml.parse"));j.subscribe("render",ES(h.fire,"bind",!0,h,"xfbml.render"));h.subscribe("init:post",function(a){a.xfbml&&setTimeout(l(ES(k,"bind",!0,null,j.parse),"entry","init:post:xfbml.parse"),0)});g.define("Xfbml",function(a){return(a.nodeType===1||a.nodeType===9)&&typeof a.nodeName==="string"});try{document.namespaces&&!document.namespaces.item.fb&&document.namespaces.add("fb")}catch(a){}}),3);
__d("IframePlugin",["Log","ObservableMixin","QueryString","Type","UrlMap","guid","resolveURI","sdk.Auth","sdk.createIframe","sdk.DOM","sdk.Event","sdk.PlatformVersioning","sdk.Runtime","sdk.UA","sdk.URI","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){__p&&__p();var w={skin:"string",font:"string",width:"string",height:"px",ref:"string",color_scheme:"string"};function x(a,b,c){(b||b===0)&&(b==="100%"?a.style.width="100%":a.style.width=b+"px"),(c||c===0)&&(a.style.height=c+"px")}function y(a){return function(b){b={width:b.width,height:b.height,pluginID:a};q.fire("xfbml.resize",b)}}var z={string:function(a){return a},bool:function(a){return a?/^(?:true|1|yes|on)$/i.test(a):void 0},url:function(a){return m(a)},url_maybe:function(a){return a?m(a):a},hostname:function(a){return a||window.location.hostname},px:function(a){return/^(\d+)(?:px)?$/.test(a)?parseInt(RegExp.$1,10):void 0},text:function(a){return a}};function A(a,b){a=a[b]||a[b.replace(/_/g,"-")]||a[b.replace(/_/g,"")]||a["data-"+b]||a["data-"+b.replace(/_/g,"-")]||a["data-"+b.replace(/_/g,"")]||void 0;return a}function B(a,b,c,d){ES(ES("Object","keys",!1,a),"forEach",!0,function(e){a[e]=="text"&&!c[e]&&(c[e]=b.textContent||b.innerText||"",b.setAttribute(e,c[e])),d[e]=z[a[e]](A(c,e))})}function C(a){return a==="100%"?"100%":a||a==="0"||a===0?parseInt(a,10):void 0}function D(a){a&&x(a,0,0)}var E=j.extend({constructor:function(a,b,c,d){__p&&__p();this.parent();c=c.replace(/-/g,"_");var e=A(d,"plugin_id");this.subscribe("xd.resize",y(e));this.subscribe("xd.resize.flow",y(e));this.subscribe("xd.resize.flow",ES(function(a){ES("Object","assign",!1,this._iframeOptions.root.style,{verticalAlign:"bottom",overflow:""}),x(this._iframeOptions.root,C(a.width),C(a.height)),this.updateLift(),clearTimeout(this._timeoutID)},"bind",!0,this));this.subscribe("xd.resize",ES(function(a){ES("Object","assign",!1,this._iframeOptions.root.style,{verticalAlign:"bottom",overflow:""}),x(this._iframeOptions.root,C(a.width),C(a.height)),x(this._iframe,C(a.width),C(a.height)),this._isIframeResized=!0,this.updateLift(),clearTimeout(this._timeoutID)},"bind",!0,this));this.subscribe("xd.resize.iframe",ES(function(a){x(this._iframe,C(a.width),C(a.height)),this._isIframeResized=!0,this.updateLift(),clearTimeout(this._timeoutID)},"bind",!0,this));this.subscribe("xd.sdk_event",function(b){var c=ES("JSON","parse",!1,b.data);c.pluginID=e;q.fire(b.event,c,a)});var f=k.resolve("www")+"/plugins/"+c+".php?",g={};B(this.getParams(),a,d,g);B(w,a,d,g);ES("Object","assign",!1,g,{app_id:s.getClientID(),locale:s.getLocale(),sdk:"joey",kid_directed_site:s.getKidDirectedSite(),channel:v.handler(ES(function(a){return this.inform("xd."+a.type,a)},"bind",!0,this),"parent.parent",!0)});this.shouldIgnoreWidth()&&(g.width=void 0);g.container_width=a.offsetWidth;p.addCss(a,"fb_iframe_widget");var h=l();this.subscribe("xd.verify",function(a){v.sendToFacebook(h,{method:"xd/verify",params:ES("JSON","stringify",!1,a.token)})});this.subscribe("xd.refreshLoginStatus",ES(function(){n.removeLogoutState(),n.getLoginStatus(ES(this.inform,"bind",!0,this,"login.status"),!0)},"bind",!0,this));d=document.createElement("span");ES("Object","assign",!1,d.style,{verticalAlign:"top",width:"0px",height:"0px",overflow:"hidden"});this._element=a;this._ns=b;this._tag=c;this._params=g;this._config=this.getConfig();this._iframeOptions={root:d,url:f+i.encode(g),name:h,width:this._config.mobile_fullsize&&t.mobile()?void 0:g.width||1e3,height:g.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 D(this._iframe)},"bind",!0,this)};this.isFluid()&&g.width!=="auto"&&(p.addCss(this._element,"fb_iframe_widget_fluid_desktop"),!g.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=f+i.encode(this._params)))},shouldIgnoreWidth:function(){return t.mobile()&&this.getConfig().mobile_fullsize},useInlineHeightForMobile:function(){return!0},process:function(){__p&&__p();if(s.getIsVersioned()){r.assertVersionIsSet();var a=new u(this._iframeOptions.url);this._iframeOptions.url=a.setPath("/"+s.getVersion()+a.getPath()).toString()}a=ES("Object","assign",!1,{},this._params);delete a.channel;var b=i.encode(a);if(this._element.getAttribute("fb-iframe-plugin-query")==b){g.info("Skipping render: %s:%s %s",this._ns,this._tag,b);this.inform("render");return}this._element.setAttribute("fb-iframe-plugin-query",b);this.subscribe("render",ES(function(){q.fire("iframeplugin:onload"),this._iframe.style.visibility="visible",this._isIframeResized||D(this._iframe)},"bind",!0,this));while(this._element.firstChild)this._element.removeChild(this._element.firstChild);this._element.appendChild(this._iframeOptions.root);var c=t.mobile()?120:45;this._timeoutID=setTimeout(ES(function(){D(this._iframe),g.warn("%s:%s failed to resize in %ss",this._ns,this._tag,c)},"bind",!0,this),c*1e3);this._iframe=o(this._iframeOptions);q.fire("iframeplugin:create");if(t.mobile()||a.width==="auto"){this.useInlineHeightForMobile()&&p.addCss(this._element,"fb_iframe_widget_fluid");if(!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"});b={height:"auto",position:"static",width:"100%"};(t.iphone()||t.ipad())&&ES("Object","assign",!1,b,{width:"220px","min-width":"100%"});ES("Object","assign",!1,this._iframe.style,b)}}},getConfig:function(){return{}},isFluid:function(){var a=this.getConfig();return a.fluid},updateLift:function(){var a=this._iframe.style.width===this._iframeOptions.root.style.width&&this._iframe.style.height===this._iframeOptions.root.style.height;p[a?"removeCss":"addCss"](this._iframe,"fb_iframe_widget_lift")}},h);E.getVal=A;E.getBaseParams=function(){return w};E.withParams=function(a,b){return E.extend({getParams:function(){return a},getConfig:function(){return b?b:{}}})};e.exports=E}),null);
__d("PluginConfig",["sdk.feature"],(function(a,b,c,d,e,f,g){a={comment_embed:{mobile_fullsize:!0},messengerpreconfirmation:{mobile_fullsize:!0},messengeraccountconfirmation:{mobile_fullsize:!0},messengerbusinesslink:{mobile_fullsize:!0},messengertoggle:{mobile_fullsize:!0},messengermessageus:{mobile_fullsize:!0},post:{fluid:g("fluid_embed",!1),mobile_fullsize:!0},send_to_messenger:{mobile_fullsize:!0}};e.exports=a}),null);
__d("PluginAttrTypes",[],(function(a,b,c,d,e,f){"use strict";a={string:"string",bool:"bool",url:"url"};e.exports=a}),null);
__d("PluginTags",["PluginAttrTypes"],(function(a,b,c,d,e,f,g){var h={comment_embed:{href:g.url,include_parent:g.bool},composer:{action_type:g.string,action_properties:g.string},create_event_button:{},group:{href:g.url,show_social_context:g.bool,show_group_info:g.bool,show_metadata:g.bool},like:{href:g.url,layout:g.string,show_faces:g.bool,share:g.bool,action:g.string,send:g.bool,size:g.string},like_box:{href:g.string,show_faces:g.bool,header:g.bool,stream:g.bool,force_wall:g.bool,show_border:g.bool,id:g.string,connections:g.string,profile_id:g.string,name:g.string},page:{href:g.string,hide_cta:g.bool,hide_cover:g.bool,small_header:g.bool,adapt_container_width:g.bool,show_facepile:g.bool,show_posts:g.bool,tabs:g.string},messenger_checkbox:{messenger_app_id:g.string,page_id:g.string,pixel_id:g.string,prechecked:g.bool,allow_login:g.bool,size:g.string,origin:g.string,user_ref:g.string,identity_match:g.string,center_align:g.bool},messengermessageus:{messenger_app_id:g.string,page_id:g.string,color:g.string,size:g.string},send_to_messenger:{messenger_app_id:g.string,page_id:g.string,color:g.string,size:g.string,enforce_login:g.bool,identity_match:g.string,origin:g.string,cta_text:g.string},page_events:{href:g.url},post:{href:g.url,show_text:g.bool},profile_pic:{uid:g.string,linked:g.bool,href:g.string,size:g.string,facebook_logo:g.bool},send_to_mobile:{max_rows:g.string,show_faces:g.bool,size:g.string}},i={fan:"like_box",likebox:"like_box"};ES(ES("Object","keys",!1,i),"forEach",!0,function(a){h[a]=h[i[a]]});e.exports=h}),null);
__d("sdk.XFBML.Comments",["IframePlugin","QueryString","UrlMap","sdk.DOM","sdk.Event","sdk.Runtime","sdk.UA","sdk.URI"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){__p&&__p();var o=320,p=ES("Object","assign",!1,{numposts:"string",href:"url",permalink:"bool",order_by:"string",mobile:"bool",version:"string",hide_post_profile:"bool",limit:"string",offset:"string",view:"string",fb_comment_id:"string",from_mod_tool:"bool",migrated:"string",xid:"string",title:"string",url:"string",quiet:"string",reverse:"string",simple:"string",css:"string",notify:"string",count:"bool"},g.getBaseParams());function q(a,b){__p&&__p();ES(ES("Object","keys",!1,p),"forEach",!0,function(c){var d=j.getAttr(a,c);d!==null&&(b[c]=d)});ES(ES("Object","keys",!1,b),"forEach",!0,function(a){ES(a,"startsWith",!0,"data-")&&delete b[a]});m.mobile()&&b.mobile!==!1&&(b.mobile=!0);b.skin||(b.skin=b.colorscheme);if(!b.href){b.title=b.title||document.title;b.url=b.url||document.URL;if(!b.xid){var c=ES(document.URL,"indexOf",!0,"#");c>0?b.xid=encodeURIComponent(document.URL.substring(0,c)):b.xid=encodeURIComponent(document.URL)}b.migrated&&(b.href=i.resolve("www")+"/plugins/comments_v1.php?app_id="+l.getClientID()+"&xid="+encodeURIComponent(b.xid)+"&url="+encodeURIComponent(b.url))}else{c=b.fb_comment_id;c||(c=h.decode(document.URL.substring(ES(document.URL,"indexOf",!0,"?")+1)).fb_comment_id,c&&ES(c,"indexOf",!0,"#")>0&&(c=c.substring(0,ES(c,"indexOf",!0,"#"))));c&&(b.fb_comment_id=c)}b.version||(b.version=l.getVersion());b.permalink||(b.width=b.mobile||b.width==="auto"||b.width==="100%"?"":b.width?Math.max(b.width,o):550,b.height=100);if(b.href!=null){c=new n(b.href);c.getProtocol()||(b.href=c.setProtocol("http").toString())}return b}a=g.extend({constructor:function(a,b,c,d){d=q(a,d),this.parent(a,b,c,d),this.subscribe("xd.sdk_event",function(a){k.fire(a.event,ES("JSON","parse",!1,a.data))})},getConfig:function(){return{fluid:!0,full_width:!0}},getParams:function(){return p}});e.exports=a}),null);
__d("sdk.XFBML.CommentsCount",["sdk.DOM","sdk.XFBML.Comments","sprintf"],(function(a,b,c,d,e,f,g,h,i){a=h.extend({constructor:function(a,b,c,d){g.addCss(a,"fb_comments_count_zero"),d.count=1,this.parent(a,b,"comments",d),this.subscribe("xd.comment_count",function(b){b=ES("JSON","parse",!1,b.data);g.html(a,i('<span class="fb_comments_count">%s</span>',b.count));b.count>0&&g.removeCss(a,"fb_comments_count_zero");g.removeCss(a,"fb_iframe_widget")})}});e.exports=a}),null);
__d("getDocumentScrollElement",[],(function(a,b,c,d,e,f){"use strict";var g=typeof navigator!=="undefined"&&ES(navigator.userAgent,"indexOf",!0,"AppleWebKit")>-1;function a(a){a=a||document;return a.scrollingElement?a.scrollingElement:!g&&a.compatMode==="CSS1Compat"?a.documentElement:a.body}e.exports=a}),null);
__d("sdk.DocumentTitle",[],(function(a,b,c,d,e,f){__p&&__p();var g=document.title,h=null,i=1500,j=null,k=!1;function l(){h?!k?m(h):n():(clearInterval(j),j=null,n())}function m(a){document.title=a,k=!0}function n(){o.set(g),k=!1}var o={get:function(){return g},set:function(a){document.title=a},blink:function(a){h=a;j===null&&(j=setInterval(l,i));return{stop:function(){h=null}}}};e.exports=o}),null);
__d("sdk.XFBML.CustomerChat",["IframePlugin","Log","QueryString","getDocumentScrollElement","sdk.Content","sdk.createIframe","sdk.DialogUtils","sdk.DocumentTitle","sdk.DOM","sdk.DOMEventListener","sdk.Event","sdk.Runtime","sdk.Scribe","sdk.UA","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u){"use strict";__p&&__p();var v=["animationend","mozAnimationEnd","MSAnimationEnd","oAnimationEnd","webkitAnimationEnd"],w=null,x=!(t.ie()<=9),y=null,z=!1,A=null,B="",C=!1,D=0,E=0,F=!1,G=null;a=g.extend({constructor:function(a,b,c,d){o.addCss(a,"fb_invisible_flow"),o.remove(a),k.append(a),this.parent(a,b,c,d),this._iframeOptions.title="",q.fire("customerchat.load"),this._setUpSubscriptions(),ES(r.getSDKUrl(),"indexOf",!0,"customerchat")===-1&&(h.error("##########################\n#  The CustomerChat plugin will soon be removed from the main Facebook SDK.\n#  To continue using it please use the correct SDK URL.\n#  For more details see https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin/sdk\n##########################"),s.log("jssdk_error",{appId:r.getClientID(),error:"customerchat"}))},_setUpSubscriptions:function(){__p&&__p();this.subscribe("xd.liveChatPluginGetBubbleIframe",ES(function(a){this._handleGetBubbleIframe(a)},"bind",!0,this)),this.subscribe("xd.liveChatPluginPrepareAnchorIframe",ES(function(a){C=ES("JSON","parse",!1,a.passesMobileRedesignGK),ES("JSON","parse",!1,a.isMobile)?this._handlePrepareMobileAnchorIframe(a):this._handlePrepareDesktopAnchorIframe(a)},"bind",!0,this)),this.subscribe("xd.liveChatPluginResizeAnchorIframe",ES(function(a){this._handleResizeAnchorIframe(a)},"bind",!0,this)),this.subscribe("xd.liveChatPluginExpandDialogIframe",ES(function(a){ES("JSON","parse",!1,a.isMobile)?this._handleExpandMobileDialogIframe(a):this._handleExpandDesktopDialogIframe(a)},"bind",!0,this)),this.subscribe("xd.liveChatPluginShowInterstitialOnPage",ES(function(a){this._handleShowInterstitialOnPage(a)},"bind",!0,this)),this.subscribe("xd.liveChatPluginShowDialogIframe",ES(function(a){this._handleShowDialogIframe(a)},"bind",!0,this)),this.subscribe("xd.liveChatPluginHideDialogIframe",ES(function(a){this._handleHideDialogIframe(a)},"bind",!0,this)),this.subscribe("xd.liveChatPluginUpdateShadow",ES(function(a){this._handleShadowUpdate(a)},"bind",!0,this)),this.subscribe("xd.liveChatPluginUpdatePageTitle",ES(function(a){this._handleUpdatePageTitle(a)},"bind",!0,this)),this.subscribe("xd.liveChatPluginExpandMobilePrompt",ES(function(a){this._handleExpandMobilePrompt()},"bind",!0,this)),t.iphone()&&(this.subscribe("xd.liveChatPluginFocusComposer",ES(function(a){this._handleFocusComposer()},"bind",!0,this)),this.subscribe("xd.liveChatPluginBlurComposer",ES(function(a){this._handleBlurComposer()},"bind",!0,this)))},_handleGetBubbleIframe:function(a){this._bubbleDialog=this._setupNewIframeDialog(a.fromIframe),y=this._bubbleDialog,k.append(this._bubbleDialog),this.subscribe("xd.liveChatPluginShowBubbleIframe",ES(function(a){o.setStyle(this._bubbleDialog,"display","inline"),x&&(o.addCss(this._bubbleDialog,"fb_customer_chat_bubble_pop_in"),ES("JSON","parse",!1,a.dialogHidden)||window.setTimeout(ES(function(){G=!1,J(this._iframe,z,t.mobile())},"bind",!0,this),750)),ES("JSON","parse",!1,a.showBadge)&&this._setBubbleBadgeStyle()},"bind",!0,this))},_handlePrepareDesktopAnchorIframe:function(a){this._iframe&&(this._iframe.setAttribute("data-testid","dialog_iframe"),ES("Object","assign",!1,this._iframe.style,{borderRadius:"9pt",bottom:"63pt",padding:"0",position:"fixed",right:"9pt",top:"auto",width:"288pt",zIndex:"2147483647"}),o.setStyle(this._iframe,"maxHeight",ES("JSON","parse",!1,a.dialogHidden)||x?"0":"100%"),ES("JSON","parse",!1,a.chatStarted)&&(z=!0,ES("Object","assign",!1,this._iframe.style,{height:"378pt"})),A=this._iframe)},_handlePrepareMobileAnchorIframe:function(a){__p&&__p();if(this._iframe){this._iframe.setAttribute("data-testid","dialog_iframe");ES("Object","assign",!1,this._iframe.style,{padding:"0",position:"fixed",zIndex:"2147483647"});o.setStyle(this._iframe,"maxHeight",ES("JSON","parse",!1,a.dialogHidden)||x?"0":"100%");var b=ES("JSON","parse",!1,a.chatStarted);if(b)z=!0,ES("Object","assign",!1,this._iframe.style,{boxShadow:"none",height:"100%",right:"0",top:"0",width:"100%"}),ES("JSON","parse",!1,a.dialogHidden)||H();else if(C)if(!ES("JSON","parse",!1,a.showInterstitialOnPage)){b=screen.width-120;ES("Object","assign",!1,this._iframe.style,{bottom:"12px",right:"84px",top:"auto",width:b+"px"})}else this._makeDialogIframeFullScreen(),F=!0;else ES("Object","assign",!1,this._iframe.style,{borderRadius:"9pt",bottom:"63pt",right:"3pt",top:"auto",width:"288pt"});A=this._iframe}},_handleResizeAnchorIframe:function(a){this._iframe&&o.setStyle(this._iframe,"height",ES("JSON","parse",!1,a.height)+"px")},_handleExpandDesktopDialogIframe:function(){z=!0,this._iframe&&o.setStyle(this._iframe,"height","378pt")},_handleExpandMobileDialogIframe:function(){z=!0,this._makeDialogIframeFullScreen(),H()},_handleShowDialogIframe:function(a){J(this._iframe,ES("JSON","parse",!1,a.chatStarted),ES("JSON","parse",!1,a.isMobile))},_handleHideDialogIframe:function(a){K(this._iframe,ES("JSON","parse",!1,a.chatStarted),ES("JSON","parse",!1,a.isMobile))},_handleShowInterstitialOnPage:function(a){!ES("JSON","parse",!1,a.dialogHidden)?(K(this._iframe,!1,!0,!1),window.setTimeout(ES(function(){this._makeDialogIframeFullScreen(),F=!0,J(this._iframe,!1,!0,!0),H()},"bind",!0,this),500)):(this._makeDialogIframeFullScreen(),F=!0,J(this._iframe,!1,!0,!0))},_handleShadowUpdate:function(a){ES("JSON","parse",!1,a.resetShadow)&&this._bubbleDialog?(o.setStyle(this._bubbleDialog,"borderRadius","50%"),x?o.addCss(this._bubbleDialog,"fb_customer_chat_bubble_animated_no_badge"):o.setStyle(this._bubbleDialog,"boxShadow","0px 3px 12px rgba(0, 0, 0, 0.15)")):ES("JSON","parse",!1,a.resetShadow)||this._setBubbleBadgeStyle()},_handleUpdatePageTitle:function(a){!w&&a.titleText?(w=n.blink(a.titleText),p.add(window,"focus",ES(function(a){this._stopBlinking()},"bind",!0,this))):w&&!a.titleText&&this._stopBlinking()},_handleFocusComposer:function(){window.setTimeout(ES(function(){var a=j();a&&(o.setStyle(this._iframe,"maxHeight",a.scrollHeight-a.scrollTop+"px"),a.scrollTo(0,0))},"bind",!0,this),700)},_handleBlurComposer:function(){o.setStyle(this._iframe,"maxHeight","100%")},_setupNewIframeDialog:function(a){a="#"+i.encode({forIframe:a});var b=m.setupNewDialog();o.setStyle(b.contentRoot,"background","none");B=this._iframeOptions.name;l({url:u.getXDArbiterURL()+a,name:"blank_"+this._iframeOptions.name,root:b.contentRoot,tabindex:-1,width:60,"data-testid":"bubble_iframe"});ES("Object","assign",!1,b.dialogElement.style,{background:"none",borderRadius:"50%",bottom:"18pt",display:"none",height:"45pt",padding:"0",position:"fixed",right:"18pt",top:"auto",width:"45pt",zIndex:"2147483646"});x?(o.removeCss(b.dialogElement,"fb_customer_chat_bubble_animated_with_badge"),o.addCss(b.dialogElement,"fb_customer_chat_bubble_animated_no_badge")):o.setStyle(b.dialogElement,"boxShadow","0px 3px 12px rgba(0, 0, 0, 0.15)");return b.dialogElement},_setBubbleBadgeStyle:function(){this._bubbleDialog&&(o.setStyle(this._bubbleDialog,"borderRadius","50% 0% 50% 50%"),x?(o.removeCss(this._bubbleDialog,"fb_customer_chat_bubble_animated_no_badge"),o.addCss(this._bubbleDialog,"fb_customer_chat_bubble_animated_with_badge")):o.setStyle(this._bubbleDialog,"boxShadow","-5px 4px 14px rgba(0, 0, 0, 0.15)"))},_stopBlinking:function(){w&&(w.stop(),w=null)},_makeDialogIframeFullScreen:function(){this._iframe&&(o.setStyle(this._iframe,"boxShadow","none"),o.setStyle(this._iframe,"border-radius","0"),o.setStyle(this._iframe,"height","100%"),o.setStyle(this._iframe,"right","0"),o.setStyle(this._iframe,"top","0"),o.setStyle(this._iframe,"width","100%"))},getParams:function(){return{attribution:"string",greeting_dialog_display:"string",greeting_dialog_delay:"string",logged_in_greeting:"string",logged_out_greeting:"string",minimized:"bool",page_id:"string",theme_color:"string"}}});function H(){D=window.pageXOffset!==void 0?window.pageXOffset:document.documentElement&&document.documentElement.scrollLeft,E=window.pageYOffset!==void 0?window.pageYOffset:document.documentElement&&document.documentElement.scrollTop,o.addCss(document.body,"fb_mobile_overlay_active")}function I(){o.removeCss(document.body,"fb_mobile_overlay_active"),window.scrollTo(D,E)}function J(a,b,c,d){__p&&__p();d===void 0&&(d=!0);if(!a)return;if(G===null||G===!1){c&&(b||C&&F)&&H();if(x){c&&(b||C&&F)?(c="fb_customer_chat_bounce_in_v2_mobile_chat_started",b="fb_customer_chat_bounce_out_v2_mobile_chat_started"):(c="fb_customer_chat_bounce_in_v2",b="fb_customer_chat_bounce_out_v2");o.removeCss(a,b);o.addCss(a,c)}o.setStyle(a,"maxHeight","100%");u.sendToFacebook(B,{method:"CustomerChat.isDialogHidden",params:ES("JSON","stringify",!1,{is_dialog_hidden:!1})});G=!0}d&&q.fire("customerchat.dialogShow")}function K(a,b,c,d){__p&&__p();d===void 0&&(d=!0);var e=a;if(!e)return;if(G===null||G===!0){c&&(b||C&&F)&&I();if(!x)o.setStyle(e,"maxHeight","0");else{var f=function a(d){var f;c&&(b||C&&F)?f="fb_bounce_out_v2_mobile_chat_started":f="fb_bounce_out_v2";d.animationName===f&&(o.setStyle(e,"maxHeight","0"),ES(v,"forEach",!0,function(b){p.remove(e,b,a)}))},g;c&&(b||C&&F)?(a="fb_customer_chat_bounce_in_v2_mobile_chat_started",g="fb_customer_chat_bounce_out_v2_mobile_chat_started"):(a="fb_customer_chat_bounce_in_v2",g="fb_customer_chat_bounce_out_v2");o.removeCss(e,a);o.addCss(e,g);ES(v,"forEach",!0,function(a){p.add(e,a,f)})}u.sendToFacebook(B,{method:"CustomerChat.isDialogHidden",params:ES("JSON","stringify",!1,{is_dialog_hidden:!0})});G=!1}d&&q.fire("customerchat.dialogHide")}a.show=function(a){a===void 0&&(a=!0),o.setStyle(y,"display","inline"),a&&J(A,z,t.mobile(),!1),q.fire("customerchat.show")};a.hide=function(){o.setStyle(y,"display","none"),K(A,z,t.mobile(),!1),q.fire("customerchat.hide")};a.showDialog=function(){o.setStyle(y,"display","inline"),J(A,z,t.mobile())};a.hideDialog=function(){K(A,z,t.mobile())};a.update=function(a){u.sendToFacebook(B,{method:"updateCustomerChat",params:ES("JSON","stringify",!1,a||{})})};e.exports=a}),null);
__d("safeEval",[],(function(a,b,c,d,e,f){function a(a,b){if(a===null||typeof a==="undefined")return;if(typeof a!=="string")return a;return/^\w+$/.test(a)&&typeof window[a]==="function"?window[a].apply(null,b||[]):Function('return eval("'+a.replace(/\"/g,'\\"')+'");').apply(null,b||[])}e.exports=a}),null);
__d("sdk.XFBML.LoginButton",["IframePlugin","Log","safeEval","sdk.ErrorHandling","sdk.feature","sdk.Runtime","sdk.Scribe","sdk.ui","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){__p&&__p();var p=k("https_only_enforce_starting",!1),q=k("https_only_learn_more","");function r(a,b,c){a&&(typeof a==="string"?j.unguard(i)(a,c):a.apply&&j.unguard(a).apply(b,c||[]))}a=g.extend({constructor:function(a,b,c,d){__p&&__p();if(location.protocol!=="https:"&&p){var e="The Login Button plugin will soon stop working on http pages. Please update your site to use https for Facebook Login. %s";h.log("error",-1,e,q);k("https_only_scribe_logging",!0)&&m.log("jssdk_error",{appId:l.getClientID(),error:"HttpsOnly",extra:{message:"LoginButton"}})}this.parent(a,b,c,d);var f=g.getVal(d,"on_login"),i=null,j=this._iframeOptions.name;f&&(i=function(a){if(a.error_code){h.debug("Plugin Return Error (%s): %s",a.error_code,a.error_message||a.error_description);return}r(f,null,[a])},this.subscribe("login.status",i));this.subscribe("xd.login_button_dialog_open",function(a){n(ES("JSON","parse",!1,a.params),function(a){r(i,null,[a]),o.sendToFacebook(j,{method:"loginReload",params:ES("JSON","stringify",!1,a)})})})},shouldIgnoreWidth:function(){return!1},getParams:function(){return{scope:"string",perms:"string",size:"string",login_text:"text",show_faces:"bool",max_rows:"string",show_login_face:"bool",show_login_numbers:"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",button_type:"string",width:"px",height:"px"}}});e.exports=a}),null);
__d("UnicodeUtils",["invariant"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=55296,i=56319,j=56320,k=57343,l=/[\uD800-\uDFFF]/;function m(a){return h<=a&&a<=k}function a(a,b){0<=b&&b<a.length||g(0,1346,b,a.length);if(b+1===a.length)return!1;var c=a.charCodeAt(b);a=a.charCodeAt(b+1);return h<=c&&c<=i&&j<=a&&a<=k}function n(a){return l.test(a)}function o(a,b){return 1+m(a.charCodeAt(b))}function b(a){if(!n(a))return a.length;var b=0;for(var c=0;c<a.length;c+=o(a,c))b++;return b}function p(a,b,c){__p&&__p();var d=b||0;c=c===void 0?Infinity:c||0;if(!n(a))return a.substr(d,c);var e=a.length;if(e<=0||d>e||c<=0)return"";var f=0;if(d>0){for(;d>0&&f<e;d--)f+=o(a,f);if(f>=e)return""}else if(b<0){for(f=e;d<0&&0<f;d++)f-=o(a,f-1);f<0&&(f=0)}b=e;if(c<e)for(b=f;c>0&&b<e;c--)b+=o(a,b);return a.substring(f,b)}function c(a,b,c){b=b||0;c=c===void 0?Infinity:c||0;b<0&&(b=0);c<0&&(c=0);var d=Math.abs(c-b);b=b<c?b:c;return p(a,b,d)}function d(a){var b=[];for(var c=0;c<a.length;c+=o(a,c))b.push(a.codePointAt(c));return b}f={getCodePoints:d,getUTF16Length:o,hasSurrogateUnit:n,isCodeUnitInSurrogateRange:m,isSurrogatePair:a,strlen:b,substring:c,substr:p};e.exports=f}),null);
__d("isNode",[],(function(a,b,c,d,e,f){function a(a){var b=a?a.ownerDocument||a:document;b=b.defaultView||window;return!!(a&&(typeof b.Node==="function"?a instanceof b.Node:typeof a==="object"&&typeof a.nodeType==="number"&&typeof a.nodeName==="string"))}e.exports=a}),null);
__d("isTextNode",["isNode"],(function(a,b,c,d,e,f,g){function a(a){return g(a)&&a.nodeType==3}e.exports=a}),null);
__d("containsNode",["isTextNode"],(function(a,b,c,d,e,f,g){__p&&__p();function h(a,b){__p&&__p();if(!a||!b)return!1;else if(a===b)return!0;else if(g(a))return!1;else if(g(b))return h(a,b.parentNode);else if("contains"in a)return ES(a,"contains",!0,b);else if(a.compareDocumentPosition)return!!(a.compareDocumentPosition(b)&16);else return!1}e.exports=h}),null);
__d("sdk.XFBML.Quote",["IframePlugin","UnicodeUtils","containsNode","sdk.DOM","sdk.DOMEventListener","sdk.feature","sdk.UA","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){"use strict";__p&&__p();var o="fb-quotable",p=155,q=70,r="",s=null,t=[],u=!1,v=null,w=m.mobile();function x(a){a=a.getRangeAt(0);a=a.startContainer;return a.nodeType===3?a.parentNode:a}function y(a){__p&&__p();if(!document.getSelection||w)return;a=document.getSelection();if(a.rangeCount===0){A();return}var b=t.length;A();if(b){var c=!1;for(var d=0;d<b;d++)if(i(t[d],a.focusNode)){c=!0;break}if(!c)return}r=a.toString();if(r===""){A();return}r=ES(r.toString().replace(/\s+/g," "),"trim",!0);b=Number(l("sharequotelimit",500));h.strlen(r)>b?r=h.substr(r,0,b-3)+"...":r=h.substr(r,0,b);if(!u&&v){x(a).appendChild(v);d=z(a);v.style.left=d.x+"px";v.style.top=d.y+"px"}}function z(a){__p&&__p();var b=v&&v.offsetWidth,c=b?v.offsetHeight:q;b=b?v.offsetWidth:p;a=a.getRangeAt(0);var d=document.createElement("span"),e=document.createElement("span"),f=document.createRange();f.setStart(a.startContainer,a.startOffset);f.insertNode(d);f=document.createRange();f.setStart(a.endContainer,a.endOffset);f.insertNode(e);a=d.offsetTop-c;f=d.offsetLeft+(e.offsetLeft-d.offsetLeft)/2-b/2;d.parentNode.removeChild(d);e.parentNode.removeChild(e);return{x:f,y:a}}function A(){r="",!u&&v&&(v.style.left="-9999px")}a=g.extend({constructor:function(a,b,c,d){__p&&__p();if(s)return s;this.parent(a,b,c,d);u=j.getAttr(a,"layout")==="button";v=a;v.style.position="absolute";v.style.display="";k.add(document,"keyup",y);k.add(document,"mouseup",y);this.subscribe("xd.getTextSelection",ES(function(){n.sendToFacebook(this._iframeOptions.name,{method:"setTextSelection",params:ES("JSON","stringify",!1,{text:r})}),A()},"bind",!0,this));t=ES(ES("Array","from",!1,document.getElementsByTagName("*")),"filter",!0,function(a){return a.nodeName.toLowerCase()==="article"||j.containsCss(a,o)});A();s=this;return s},getParams:function(){return{href:"url",layout:"string"}}});e.exports=a}),null);
__d("sdk.XFBML.Save",["IframePlugin","QueryString","sdk.Content","sdk.createIframe","sdk.DialogUtils","sdk.DOM","sdk.Event","sdk.UA","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){"use strict";__p&&__p();var p;a=g.extend({constructor:function(a,b,c,d){__p&&__p();this.parent(a,b,c,d);var e=n.mobile();this.subscribe("xd.savePluginGetBlankIframe",ES(function(a){__p&&__p();var b,c,d,f=function(a){a&&l.removeCss(a,"fb_invisible")},g=function(a){a&&l.addCss(a,"fb_invisible")};e&&(b=k.setupNewDarkOverlay(),g(b),i.append(b),k.addDoubleClickAction(b,function(){return ES(d,"forEach",!0,g)},5e3));c=this.setupNewIframeDialog(ES("JSON","parse",!1,a.data),a.fromIframe);g(c);i.append(c);d=[c,b];var h=function(){ES(d,"forEach",!0,g),k.onDialogHideCleanup(e),clearInterval(p)},j;this.subscribe("xd.savePluginShowIframe",ES(function(){m.fire("savePlugin:hideDialog"),ES(d,"forEach",!0,f),this.positionOnScreen(c,b),!e&&!j&&(j=k.addIdleDesktopAction(c,h,7e3))},"bind",!0,this));this.subscribe("xd.savePluginHideIframe",function(){return h()});m.subscribe("savePlugin:hideDialog",function(){return h()});var n=setInterval(function(){var b=document.getElementsByName(a.fromIframe);b.length===0&&(clearInterval(n),h(),ES(d,"forEach",!0,function(a){a&&a.parentNode.removeChild(a)}))},500)},"bind",!0,this))},positionOnScreen:function(a,b){__p&&__p();var c=n.mobile();if(c){var d=function(a,b){b!=null&&k.setDialogPositionToCenter(b,c),k.setDialogPositionToCenter(a,c)};d(a,b);k.addMobileOrientationChangeAction(function(c){d(a,b)});p=setInterval(function(){return d(a,b)},100)}else l.setStyle(a,"position","fixed"),l.setStyle(a,"top","20px"),l.setStyle(a,"right","20px")},setupNewIframeDialog:function(a,b){__p&&__p();b="#"+h.encode({forIframe:b});var c=k.setupNewDialog();j({url:o.getXDArbiterURL()+b,name:"blank_"+this._iframeOptions.name,root:c.contentRoot,tabindex:-1});l.addCss(c.contentRoot,"fb_dialog_iframe");ES("Object","assign",!1,c.dialogElement.style,a.style||{});l.setStyle(c.dialogElement,"width",a.width+"px");l.setStyle(c.dialogElement,"height",a.height+"px");ES(a.classList,"forEach",!0,function(a){return l.addCss(c.dialogElement,a)});l.removeCss(c.dialogElement,"fb_dialog_advanced");return c.dialogElement},getParams:function(){return{uri:"url",url_category:"string",size:"string"}}});e.exports=a}),null);
__d("sdk.XFBML.ShareButton",["IframePlugin","sdk.UA","sdk.ui"],(function(a,b,c,d,e,f,g,h,i){"use strict";a=g.extend({constructor:function(a,b,c,d){this.parent(a,b,c,d),this.subscribe("xd.shareTriggerMobileIframe",function(a){a=ES("JSON","parse",!1,a.data);i({method:"share",href:a.href,mobile_iframe:h.mobile()})})},getParams:function(){return{href:"url",layout:"string",mobile_iframe:"bool",type:"string",size:"string"}}});e.exports=a}),null);
__d("sdk.XFBML.Video",["Assert","IframePlugin","ObservableMixin","sdk.Event","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k){__p&&__p();function l(a){"use strict";this.$1=a.isMuted,this.$2=a.volume,this.$3=a.timePosition,this.$4=a.duration}l.prototype.update=function(a){"use strict";a.isMuted!==void 0&&(this.$1=a.isMuted),a.volume!==void 0&&(this.$2=a.volume),a.timePosition!==void 0&&(this.$3=a.timePosition),a.duration!==void 0&&(this.$4=a.duration)};l.prototype.isMuted=function(){"use strict";return this.$1};l.prototype.getVolume=function(){"use strict";return this.$1?0:this.$2};l.prototype.getCurrentPosition=function(){"use strict";return this.$3};l.prototype.getDuration=function(){"use strict";return this.$4};function m(a,b,c){"use strict";this.$1=a,this.$2=b,this.$3=c}m.prototype.play=function(){"use strict";k.sendToFacebook(this.$1,{method:"play",params:ES("JSON","stringify",!1,{})})};m.prototype.pause=function(){"use strict";k.sendToFacebook(this.$1,{method:"pause",params:ES("JSON","stringify",!1,{})})};m.prototype.seek=function(a){"use strict";g.isNumber(a,"Invalid argument"),k.sendToFacebook(this.$1,{method:"seek",params:ES("JSON","stringify",!1,{target:a})})};m.prototype.mute=function(){"use strict";k.sendToFacebook(this.$1,{method:"mute",params:ES("JSON","stringify",!1,{})})};m.prototype.unmute=function(){"use strict";k.sendToFacebook(this.$1,{method:"unmute",params:ES("JSON","stringify",!1,{})})};m.prototype.setVolume=function(a){"use strict";g.isNumber(a,"Invalid argument"),k.sendToFacebook(this.$1,{method:"setVolume",params:ES("JSON","stringify",!1,{volume:a})})};m.prototype.isMuted=function(){"use strict";return this.$3.isMuted()};m.prototype.getVolume=function(){"use strict";return this.$3.getVolume()};m.prototype.getCurrentPosition=function(){"use strict";return this.$3.getCurrentPosition()};m.prototype.getDuration=function(){"use strict";return this.$3.getDuration()};m.prototype.subscribe=function(a,b){"use strict";g.isString(a,"Invalid argument");g.isFunction(b,"Invalid argument");this.$2.subscribe(a,b);return{release:ES(function(){this.$2.unsubscribe(a,b)},"bind",!0,this)}};a=h.extend({constructor:function(a,b,c,d){this.parent(a,b,c,d),this._videoController=null,this._sharedObservable=null,this._sharedVideoCache=null,this.subscribe("xd.onVideoAPIReady",function(a){this._sharedObservable=new i(),this._sharedVideoCache=new l(ES("JSON","parse",!1,a.data)),this._videoController=new m(this._iframeOptions.name,this._sharedObservable,this._sharedVideoCache),j.fire("xfbml.ready",{type:"video",id:d.id,instance:this._videoController})}),this.subscribe("xd.stateChange",function(a){this._sharedObservable.inform(a.state)}),this.subscribe("xd.cachedStateUpdateRequest",function(a){this._sharedVideoCache.update(ES("JSON","parse",!1,a.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}}});e.exports=a}),null);
__d("legacy:fb.xfbml.plugins",["IframePlugin","PluginConfig","PluginTags","XFBML","sdk.feature","sdk.XFBML.CustomerChat","sdk.XFBML.Comments","sdk.XFBML.CommentsCount","sdk.XFBML.LoginButton","sdk.XFBML.Quote","sdk.XFBML.Save","sdk.XFBML.ShareButton","sdk.XFBML.Video"],(function(a,b,c,d,e,f,g,h,i,j,k){var l={customerchat:b("sdk.XFBML.CustomerChat"),comments:b("sdk.XFBML.Comments"),comments_count:b("sdk.XFBML.CommentsCount"),login_button:b("sdk.XFBML.LoginButton"),quote:b("sdk.XFBML.Quote"),save:b("sdk.XFBML.Save"),share_button:b("sdk.XFBML.ShareButton"),video:b("sdk.XFBML.Video")},m=k("plugin_tags_blacklist",[]);ES(ES("Object","keys",!1,i),"forEach",!0,function(a){if(ES(m,"indexOf",!0,a)!==-1)return;j.registerTag({xmlns:"fb",localName:a.replace(/_/g,"-"),ctor:g.withParams(i[a],h[a])})});ES(ES("Object","keys",!1,l),"forEach",!0,function(a){if(ES(m,"indexOf",!0,a)!==-1)return;j.registerTag({xmlns:"fb",localName:a.replace(/_/g,"-"),ctor:l[a]})})}),3);

__d("ExecutionContextObservers",[],(function(a,b,c,d,e,f){a={MUTATION_COUNTING:0,PROFILING_COUNTERS:1,REFERENCE_COUNTING:2,HEARTBEAT:3,CALL_STACK:4,ASYNC_PROFILER:5,TIMESLICE_EXECUTION_LOGGER:6};b={MUTATION_COUNTING:0,REFERENCE_COUNTING:1,PROFILING_COUNTERS:2,HEARTBEAT:3,CALL_STACK:4,ASYNC_PROFILER:5,TIMESLICE_EXECUTION_LOGGER:6};c={beforeIDs:a,afterIDs:b};e.exports=c}),null);
__d("ifRequired",[],(function(a,b,c,d,e,f){function a(a,b,c){var e;d&&d.call(null,[a],function(a){e=a});if(e&&b)return b(e);else if(!e&&c)return c()}e.exports=a}),null);
__d("uniqueID",[],(function(a,b,c,d,e,f){var g="js_",h=36,i=0;function a(){return g+(i++).toString(h)}e.exports=a}),null);
__d("CallStackExecutionObserver",["ExecutionContextObservers","ifRequired","uniqueID"],(function(a,b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j=null;function k(a,b){__p&&__p();if(b){var c=b.id,d=b.name;b=b.interactions;var e=Error.stackTraceLimit;Error.stackTraceLimit=1e3;var f=new Error().stack;Error.stackTraceLimit=e;ES(b,"forEach",!0,function(b){b.inform(a+":"+d,{rawStackTrace:f}).addStringAnnotation("id",c)})}}a={onNewContextCreated:function(a,b,c){__p&&__p();a=h("TimeSliceAutoclosedInteraction",function(a){return a});a=a?a.getInteractionsActiveRightNow():[];a=ES(a,"filter",!0,function(a){return a.isEnabledForMode("full")});if(c&&c.isContinuation&&a.length){var d=i();c=Error.stackTraceLimit;Error.stackTraceLimit=1e3;var e=new Error().stack;Error.stackTraceLimit=c;ES(a,"forEach",!0,function(a){var c=a.inform("created_continuation:"+b,{rawStackTrace:e}).addStringAnnotation("id",d);j&&c.addStringAnnotation("parentID",j);a.trace().addStringAnnotation("has_stack_trace","1")});return{id:d,parentID:j,name:b,interactions:a}}return null},onContextCanceled:function(a,b){k("cancelling_continuation",b)},onBeforeContextStarted:function(a,b,c){a=j;b&&b.id&&(j=b.id);return{executionParentID:a}},onAfterContextStarted:function(a,b,c,d){k("executing_continuation",b);return c},onAfterContextEnded:function(a,b,c,d){c&&(j=c.executionParentID),k("executing_continuation_end",b)},getBeforeID:function(){return g.beforeIDs.CALL_STACK},getAfterID:function(){return g.afterIDs.CALL_STACK}};e.exports=a}),null);
__d("CircularBuffer",["invariant"],(function(a,b,c,d,e,f,g){__p&&__p();function a(a){"use strict";a>0||g(0,2222),this.$1=a,this.$2=0,this.$3=[],this.$4=[]}a.prototype.write=function(a){"use strict";this.$3.length<this.$1?this.$3.push(a):(ES(this.$4,"forEach",!0,ES(function(a){return a(this.$3[this.$2])},"bind",!0,this)),this.$3[this.$2]=a,this.$2++,this.$2%=this.$1);return this};a.prototype.onEvict=function(a){"use strict";this.$4.push(a);return this};a.prototype.read=function(){"use strict";return this.$3.slice(this.$2).concat(this.$3.slice(0,this.$2))};a.prototype.expand=function(a){"use strict";if(a>this.$1){var b=this.read();this.$2=0;this.$3=b;this.$1=a}return this};a.prototype.dropFirst=function(a){"use strict";if(a<=this.$1){var b=this.read();this.$2=0;b.splice(0,a);this.$3=b}return this};a.prototype.clear=function(){"use strict";this.$2=0;this.$3=[];return this};a.prototype.currentSize=function(){"use strict";return this.$3.length};e.exports=a}),null);
__d("ErrorConstants",[],(function(a,b,c,d,e,f){"use strict";a={ANONYMOUS_GUARD_TAG:"<anonymous guard>",EVAL_FRAME_PATTERN_CHROME:/^at .*eval eval (at .*\:\d+\:\d+), .*$/,GLOBAL_ERROR_HANDLER_TAG:typeof window==="undefined"?"<self.onerror>":"<window.onerror>",GLOBAL_REACT_ERROR_HANDLER_TAG:"<global.react>",IE_AND_OTHER_FRAME_PATTERN:/(.*)[@\s][^\s]+$/,IE_STACK_TRACE_REFERENCES:["Unknown script code","Function code","eval code"]};e.exports=a}),null);
__d("CometErrorUtils",["ErrorConstants"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();Error.stackTraceLimit!=null&&Error.stackTraceLimit<40&&(Error.stackTraceLimit=40);var h={getColumn:function(a){a=(a=a.columnNumber)!=null?a:"";return String(a)},getColumnFromStackData:function(a){return a[0]&&a[0].column||""},getIEFrame:function(a){for(var b=0;b<g.IE_STACK_TRACE_REFERENCES.length;b++){var c=" "+g.IE_STACK_TRACE_REFERENCES[b];if(ES(a,"endsWith",!0,c))return[a,a.substring(0,a.length-c.length)]}return null},getLine:function(a){a=(a=a.lineNumber)!=null?a:"";return String(a)},getLineFromStackData:function(a){return a[0]&&a[0].line||""},getReactComponentStack:function(a){if(a==null||a==="")return null;a=a.split("\n");a.splice(0,1);return ES(a,"map",!0,function(a){return ES(a,"trim",!0)})},getScript:function(a){a=(a=a.fileName)!=null?a:"";return String(a)},getScriptFromStackData:function(a){return a[0]&&a[0].script||""},getSimpleHash:function(a){var b=0;if(a.length===0)return String(b);for(var c=0;c<a.length;c++){var d=a.charCodeAt(c);b=(b<<5)-b+d;b|=0}return String(b)},normalizeError:function(a){var b=h.normalizeErrorStack(a),c=h.getReactComponentStack(a.reactComponentStackForLogging);c={_originalError:a,cerror:!0,column:h.getColumn(a)||h.getColumnFromStackData(b),deferredSource:null,extra:{},fbloggerMetadata:[],guard:"",guardList:[],line:h.getLine(a)||h.getLineFromStackData(b),message:a.message,messageWithParams:[],name:a.name,reactComponentStack:c,script:h.getScript(a)||h.getScriptFromStackData(b),serverHash:null,stack:ES(b,"map",!0,function(a){return a.text}).join("\n"),stackFrames:b,type:""};typeof c.message==="string"?c.messageWithParams=[c.message]:(c.messageObject=c.message,c.message=String(c.message)+" ("+typeof c.message+")");typeof window!=="undefined"&&window&&window.location&&(c.windowLocationURL=window.location.href);for(var d in c)c[d]==null&&delete c[d];return c},normalizeErrorStack:function(a){__p&&__p();var b=a.stack;if(b==null)return[];a=a.message;var c=b.replace(/^[\w \.\<\>:]+:\s/,"");a=a!=null&&ES(c,"startsWith",!0,a)?c.substr(a.length+1):c!==b?c.replace(/^.*?\n/,""):b;return ES(a.split(/\n\n/)[0].replace(/[\(\)]|\[.*?\]/g,"").split("\n"),"map",!0,function(a){__p&&__p();a=ES(a,"trim",!0);var b=a.match(g.EVAL_FRAME_PATTERN_CHROME);b&&(a=b[1]);var c,d;b=a.match(/:(\d+)(?::(\d+))?$/);b&&(c=b[1],d=b[2],a=a.slice(0,-b[0].length));var e;b=h.getIEFrame(a)||a.match(g.IE_AND_OTHER_FRAME_PATTERN);if(b){a=a.substring(b[1].length+1);b=b[1].match(/(?:at)?\s*(.*)(?:[^\s]+|$)/);e=b?b[1]:""}ES(a,"includes",!0,"charset=utf-8;base64,")&&(a="<inlined-file>");b={column:d,identifier:e,line:c,script:a};var f=e!=null&&e!==""?" "+e+" (":" ",i=f.length>1?")":"",j=c!=null&&c!==""?":"+c:"",k=d!=null&&d!==""?":"+d:"";f="    at"+f+a+j+k+i;return babelHelpers["extends"]({},b,{text:f})})}};e.exports=h}),null);
__d("FBLoggerMetadata",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[];function a(){this.metadata=[].concat(g)}a.prototype.addMetadata=function(a,b,c){this.metadata.push([a,b,c]);return this};a.prototype.isEmpty=function(){return this.metadata.length===0};a.prototype.getAll=function(){__p&&__p();var a=[],b=ES(this.metadata,"filter",!0,function(b){if(b==null)return!1;var c=ES(b,"filter",!0,function(a){return String(a)&&ES(String(a),"indexOf",!0,":")>-1});if(c.length>0){a.push(b);return!1}return!0});return{invalidMetadata:a,validMetadata:b}};a.addGlobalMetadata=function(a,b,c){g.push([a,b,c])};a.getGlobalMetadata=function(){return g};a.unsetGlobalMetadata=function(a,b){g=ES(g,"filter",!0,function(c){return!(ES("Array","isArray",!1,c)&&c[0]===a&&c[1]===b)})};e.exports=a}),null);
__d("erx",["ex"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a){__p&&__p();if(typeof a!=="string")return a;var b=ES(a,"indexOf",!0,g._prefix),c=a.lastIndexOf(g._suffix);if(b<0||c<0)return[a];var d=b+g._prefix.length,e=c+g._suffix.length;if(d>=c)return["erx slice failure: %s",a];b=a.substring(0,b);e=a.substring(e);a=a.substring(d,c);try{d=ES("JSON","parse",!1,a);d[0]=b+d[0]+e;return d}catch(b){return["erx parse failure: %s because %s",a,b.message]}}e.exports=a}),null);
__d("removeFromArray",[],(function(a,b,c,d,e,f){function a(a,b){b=ES(a,"indexOf",!0,b);b!==-1&&a.splice(b,1)}e.exports=a}),null);
__d("ErrorUtils",["CometErrorUtils","Env","ErrorConstants","FBLoggerMetadata","eprintf","erx","removeFromArray","sprintf"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){"use strict";__p&&__p();var o="<generated guard>",p=/^https?:\/\//i,q=/^Type Mismatch for/,r=[],s,t=[],u=50,v=[],w=!1,x=!1,y=!1,z=/\bnocatch\b/.test(location.search);function A(a){a=a.columnNumber||a.column;return a!=null?String(a):""}function B(a){return a[0]&&a[0].column||""}function C(a){a=a.lineNumber||a.line;return a!=null?String(a):""}function D(a){return a[0]&&a[0].line||""}function E(a){a=a.fileName||a.sourceURL;return a!=null?String(a):""}function F(a){return a[0]&&a[0].script||""}function G(a){__p&&__p();var b=a.stackTrace||a.stack;if(b==null)return[];a=a.message;var c=b.replace(/^[\w \.\<\>:]+:\s/,"");a=a!=null&&ES(c,"startsWith",!0,a)?c.substr(a.length+1):c!==b?c.replace(/^.*?\n/,""):b;return ES(a.split(/\n\n/)[0].replace(/[\(\)]|\[.*?\]/g,"").split("\n"),"map",!0,function(a){__p&&__p();a=ES(a,"trim",!0);var b=a.match(i.EVAL_FRAME_PATTERN_CHROME);b&&(a=b[1]);var c,d;b=a.match(/:(\d+)(?::(\d+))?$/);b&&(c=b[1],d=b[2],a=a.slice(0,-b[0].length));var e;b=g.getIEFrame(a)||a.match(i.IE_AND_OTHER_FRAME_PATTERN);if(b){a=a.substring(b[1].length+1);b=b[1].match(/(?:at)?\s*(.*)(?:[^\s]+|$)/);e=b?b[1]:""}ES(a,"includes",!0,"charset=utf-8;base64,")&&(a="<inlined-file>");b={column:d,identifier:e,line:c,script:a};s&&s(b);a="    at"+(b.identifier?" "+b.identifier+" (":" ")+b.script+(b.line?":"+b.line:"")+(b.column?":"+b.column:"")+(b.identifier?")":"");return babelHelpers["extends"]({},b,{text:a})})}function H(a){v.unshift(a),w=!0}function I(){v.shift(),w=v.length!==0}var J={ANONYMOUS_GUARD_TAG:i.ANONYMOUS_GUARD_TAG,GENERATED_GUARD_TAG:o,GLOBAL_ERROR_HANDLER_TAG:i.GLOBAL_ERROR_HANDLER_TAG,history:t,addListener:function(a,b){b===void 0&&(b=!1),r.push(a),b||ES(t,"forEach",!0,function(b){return a(b.error,b.loggingType)})},removeListener:function(a){m(r,a)},setSourceResolver:function(a){s=a},applyWithGuard:function(b,c,d,e,f,g){__p&&__p();H(f||i.ANONYMOUS_GUARD_TAG);h.nocatch&&(z=!0);if(z){try{f=b.apply(c,d||[])}finally{I()}return f}try{return Function.prototype.apply.call(b,c,d||[])}catch(h){f=h;if(f==null)try{var j=c,k=function(a){__p&&__p();if(a==null)return"<unset>";else if(typeof a==="object"&&a.toString)return a.toString();else if(typeof a==="boolean"&&a.toString)return a.toString();else if(typeof a==="number"&&a.toString)return a.toString();else if(typeof a==="string")return a;else if(typeof a==="symbol"&&a.toString)return a.toString();else if(typeof a==="function"&&a.toString)return a.toString();return"<unset>"};if(c!=null)if(c==window)j="[The window object]";else if(c==a)j="[The global object]";else{var l=c,m={};ES(ES("Object","keys",!1,l),"map",!0,function(a,b){b=l[a];m[a]=k(b)});j=m}c=ES(d||[],"map",!0,k);var o="applyWithGuard threw null or undefined:\nFunc: %s\nContext: %s\nArgs: %s",p=b.toString&&b.toString().substr(0,1024);j=ES("JSON","stringify",!1,j).substr(0,1024);c=ES("JSON","stringify",!1,c).substr(0,1024);var q=n(o,p?p:"this function does not support toString",j,c);f=new Error(q);f.messageWithParams=[o,p?p:"this function does not support toString",j,c]}catch(a){q="applyWithGuard threw null or undefined with unserializable data:\nFunc: %s\nMetaEx: %s";o=b.toString&&b.toString().substr(0,1024);p=n(q,o?o:"this function does not support toString",a.message);f=new Error(p);f.messageWithParams=[p,o?o:"this function does not support toString",a.message]}g&&g.deferredSource&&(f.deferredSource=g.deferredSource);j=J.normalizeError(f);e&&e(j);j.extra||(j.extra={});if(b)try{j.extra[b.toString().substring(0,100)]="function"}catch(a){}d&&(j.extra[ES("Array","from",!1,d).toString().substring(0,100)]="args");j.guard=v[0];j.guardList=v.slice();J.reportError(j,!1,"GUARDED")}finally{I()}},guard:function(a,b,c){b=b||a.name||o;function d(){return J.applyWithGuard(a,c||this,[].concat(Array.prototype.slice.call(arguments)),null,b)}a.__SMmeta&&(d.__SMmeta=a.__SMmeta);return d},inGuard:function(){return w},normalizeError:function(a){__p&&__p();var b=a;a=a!=null?a:{};if(Object.prototype.hasOwnProperty.call(a,"_originalError"))return a;var c=G(a),d=!1;if(a.framesToPop){var e=a.framesToPop,f;while(e>0&&c.length>0)f=c.shift(),e--,d=!0;q.test(a.message)&&a.framesToPop===2&&f&&(p.test(f.script)&&(a.message+=" at "+f.script+(f.line?":"+f.line:"")+(f.column?":"+f.column:"")))}e=g.getReactComponentStack(a.reactComponentStackForLogging);var h=a.fbloggerMetadata?a.fbloggerMetadata:[],i=ES(j.getGlobalMetadata(),"map",!0,function(a){return a.join(":")});h=[].concat(h,i);h.length===0&&(h=void 0);i={_originalError:b,cerror:!1,column:d?B(c):A(a)||B(c),deferredSource:a.deferredSource,extra:a.extra,fbloggerMetadata:h,guard:a.guard,guardList:a.guardList,line:d?D(c):C(a)||D(c),message:a.message,messageWithParams:a.messageWithParams,name:a.name,reactComponentStack:e,script:d?F(c):E(a)||F(c),serverHash:a.serverHash,snapshot:a.snapshot,stack:ES(c,"map",!0,function(a){return a.text}).join("\n"),stackFrames:c,type:a.type};typeof i.message==="string"?i.messageWithParams=i.messageWithParams||l(i.message):(i.messageObject=i.message,i.message=String(i.message)+" ("+typeof i.message+")");i.messageWithParams&&(i.message=k.apply(void 0,i.messageWithParams));typeof window!=="undefined"&&window&&window.location&&(i.windowLocationURL=window.location.href);s&&s(i);for(var m in i)i[m]==null&&delete i[m];return i},onerror:function(a,b,c,d,e){e=e||{},e.message=e.message||a,e.script=e.script||b,e.line=e.line||c,e.column=e.column||d,e.guard=i.GLOBAL_ERROR_HANDLER_TAG,e.guardList=[i.GLOBAL_ERROR_HANDLER_TAG],J.reportError(e,!0,"FATAL")},reportError:function(b,c,d){__p&&__p();c===void 0&&(c=!1);d===void 0&&(d="DEPRECATED");if(x)return!1;b.reactComponentStack&&H(i.GLOBAL_REACT_ERROR_HANDLER_TAG);v.length>0&&(b.guard=b.guard||v[0],b.guardList=v.slice());b.reactComponentStack&&I();b=J.normalizeError(b);if(!c){c=a.console;var e=b._originalError;e=e!=null?""+e.message:"";if((!c[b.type]||b.type==="error")&&!y){e=e.length>80?e.slice(0,77)+"...":e;c.error('ErrorUtils caught an error: "'+e+"\". Subsequent errors won't be logged; see https://fburl.com/debugjs.");y=!0}}t.length>u&&t.splice(u/2,1);t.push({error:b,loggingType:d});x=!0;for(var c=0;c<r.length;c++)try{r[c](b,d)}catch(a){}x=!1;return!0}};a.onerror=J.onerror;e.exports=a.ErrorUtils=J;typeof __t==="function"&&__t.setHandler&&__t.setHandler(J.reportError)}),3);
__d("defaultTo",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return a==null?b:typeof a==="string"&&a===""?b:a}e.exports=a}),null);
__d("ErrorGuard",["CometErrorUtils","ErrorConstants","defaultTo"],(function(a,b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j=!1,k=!1,l=[],m=50,n=[],o={guardList:[],isGuarding:!1,addListener:function(a,b){b===void 0&&(b=!1),n.push(a),b||ES(l,"forEach",!0,function(b){return a(b.error,b.loggingType)})},applyWithGuard:function(a,b,c,d){__p&&__p();o.pushGuard(d&&d.name!=null&&d.name!==""?d.name:h.ANONYMOUS_GUARD_TAG);try{return Function.prototype.apply.call(a,b,c||[])}catch(e){b=g.normalizeError(e);d&&d.deferredSource&&(b.deferredSource=d.deferredSource);d&&d.onError&&d.onError(b);b.extra==null&&(b.extra={});if(typeof b.extra==="object"){if(a)try{b.extra[a.toString().substring(0,100)]="function"}catch(a){}c&&(b.extra[ES("Array","from",!1,c).toString().substring(0,100)]="args")}b.guard=o.guardList[0];b.guardList=o.guardList.slice();o.reportError(b,!1,"GUARDED")}finally{o.popGuard()}return null},onerror:function(a,b,c,d,e){e=e||new Error(a);e.message=e.message||a;e.lineNumber=Number(i(String(e.lineNumber),c));e.columnNumber=Number(i(String(e.columnNumber),d));e=g.normalizeError(e);e.script=i(e.script,b);e.guard=h.GLOBAL_ERROR_HANDLER_TAG;e.guardList=[h.GLOBAL_ERROR_HANDLER_TAG];o.reportError(e,!0,"FATAL")},popGuard:function(){o.guardList.shift(),o.isGuarding=o.guardList.length!==0},pushGuard:function(a){o.guardList.unshift(a),o.isGuarding=!0},removeListener:function(a){a=ES(l,"indexOf",!0,a);a!==-1&&l.splice(a,1)},reportError:function(b,c,d){__p&&__p();c===void 0&&(c=!1);d===void 0&&(d="DEPRECATED");if(j)return!1;b.cerror=!0;b.reactComponentStack==null&&o.pushGuard(h.GLOBAL_REACT_ERROR_HANDLER_TAG);if(o.guardList.length>0){var e;b.guard=(e=b.guard)!=null?e:o.guardList[0];b.guardList=o.guardList.slice()}b.reactComponentStack&&o.popGuard();if(!c){e=a.console;c=""+b.message;if((!e[b.type]||b.type==="error")&&!k){c=c.length>80?c.slice(0,77)+"...":c;e.error('ErrorUtils caught an error: "'+c+"\". Subsequent errors won't be logged; see https://fburl.com/debugjs.");k=!0}}l.length>m&&l.splice(m/2,1);l.push({error:b,loggingType:d});j=!0;for(var e=0;e<n.length;e++)try{n[e](b,d)}catch(a){}j=!1;return!0}};a.onerror=o.onerror;e.exports=o}),null);
__d("FBLogMessageCore",["CometErrorUtils","ErrorGuard"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i={info:"log",mustfix:"error",warn:"warn"};function j(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];return"<![EX["+ES("JSON","stringify",!1,[a].concat(ES(c,"map",!0,function(a){return String(a)})))+"]]"}function k(){}function l(a){this.project=a}l.prototype.$1=function(a,b){__p&&__p();var c;for(var d=arguments.length,e=new Array(d>2?d-2:0),f=2;f<d;f++)e[f-2]=arguments[f];if(this.error){c=this.error;var k=b+" from %s: %s";e.push(c.name);e.push(c.message);c.message=j.apply(void 0,[k].concat(e))}else c=new Error(j.apply(void 0,[b].concat(e)));if(this.error&&ES(c.name,"startsWith",!0,"<level:")){var m=new l("fblogger");m.warn("Double logging detected")}var n="FBLogger"+(this.error?" caught "+c.name:"");c.name="<level:"+a+"> <name:"+this.project+"> "+n;var o=g.normalizeError(c);o.type=i[a];h.reportError(o,!1,"FBLOGGER")};l.prototype.mustfix=function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];this.$1.apply(this,["mustfix",a].concat(c))};l.prototype.warn=function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];this.$1.apply(this,["warn",a].concat(c))};l.prototype.info=function(a){};l.prototype.debug=function(a){};l.prototype.catching=function(a){!(a instanceof Error)?new l("fblogger").warn("Catching non-Error object is not supported"):this.error=a;return this};l.prototype.blameToPreviousFile=function(){k();return this};l.prototype.blameToPreviousFrame=function(){k();return this};l.prototype.blameToPreviousDirectory=function(){k();return this};l.prototype.addMetadata=function(a,b,c){return this};e.exports=l}),null);
__d("FBLogMessage",["ErrorUtils","FBLoggerMetadata","FBLogMessageCore","TAAL","TAALOpcodes","erx","ex","sprintf"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){"use strict";__p&&__p();var o,p={mustfix:"error",warn:"warn",info:"log"},q=m,r=function a(b){return function(c){b>0&&(c(),a(b-1)(c))}};a=babelHelpers.inherits(s,i);o=a&&a.prototype;function s(a){o.constructor.call(this,a),this.metadata=new h(),this.taalOpcodes=[]}s.prototype.$FBLogMessage1=function(a,b){__p&&__p();var c=2;if(b===void 0){var d=new s("fblogger");r(c)(function(){return d.blameToPreviousFrame()});d.mustfix("You provided an undefined format string to FBLogger, dropping log line");return}var e;for(var f=arguments.length,h=new Array(f>2?f-2:0),i=2;i<f;i++)h[i-2]=arguments[i];if(this.error){e=this.error;var m=b+" from %s: %s";h.push(e.name);h.push(e.message?n.apply(null,l(e.message)):"");e.message=q.apply(void 0,[m].concat(h))}else{r(c)(ES(function(){return this.taalOpcodes.unshift(k.previousFrame())},"bind",!0,this));if(this.taalOpcodes){var o=j.applyOpcodes(b,this.taalOpcodes);e=new Error(q.apply(void 0,[o].concat(h)))}else e=new Error(q.apply(void 0,[b].concat(h)))}if(this.error&&ES(e.name,"startsWith",!0,"<level:")){var t=new s("fblogger");r(c)(function(){return t.blameToPreviousFrame()});t.warn("Double logging detected")}var u="FBLogger"+(this.error?" caught "+e.name:"");e.name=n("<level:%s> <name:%s> %s",a,this.project,u);e=g.normalizeError(e);if(!this.metadata.isEmpty()){var v=this.metadata.getAll(),w=v.invalidMetadata,x=v.validMetadata;if(w.length>0){var y=new s("fblogger");r(c)(function(){return y.blameToPreviousFrame()});y.warn("Metadata cannot contain colon %s",ES(w,"map",!0,function(a){return a.join(":")}).join(" "))}e.fbloggerMetadata=ES(x,"map",!0,function(a){return a.join(":")})}var z=p[a];e.type=z;if(this.error&&(this.taalOpcodes&&this.taalOpcodes.length)){var A=new s("fblogger");r(c)(function(){return A.blameToPreviousFrame()});A.warn("Blame helpers do not work with catching")}g.reportError(e,!1,"FBLOGGER")};s.prototype.mustfix=function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];this.$FBLogMessage1.apply(this,["mustfix",a].concat(c))};s.prototype.warn=function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];this.$FBLogMessage1.apply(this,["warn",a].concat(c))};s.prototype.info=function(a){};s.prototype.debug=function(a){};s.prototype.catching=function(a){!(a instanceof Error)?new s("fblogger").blameToPreviousFrame().warn("Catching non-Error object is not supported"):o.catching.call(this,a);return this};s.prototype.blameToPreviousFile=function(){this.taalOpcodes.push(k.previousFile());return this};s.prototype.blameToPreviousFrame=function(){this.taalOpcodes.push(k.previousFrame());return this};s.prototype.blameToPreviousDirectory=function(){this.taalOpcodes.push(k.previousDirectory());return this};s.prototype.addMetadata=function(a,b,c){this.metadata.addMetadata(a,b,c);return this};e.exports=s}),null);
__d("FBLoggerImpl",["FBLoggerMetadata","FBLogMessage"],(function(a,b,c,d,e,f,g,h){"use strict";a=function(a){return new h(a)};a.addGlobalMetadata=function(a,b,c){g.addGlobalMetadata(a,b,c)};e.exports=a}),null);
__d("IntervalTrackingBoundedBuffer",["CircularBuffer","ErrorUtils"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i=5e3;function a(a){__p&&__p();this.$6=0;if(a!=null){if(a<=0)throw new Error("Size for a buffer must be greater than zero.")}else a=i;this.$4=a;this.$1=new g(a);this.$1.onEvict(ES(function(){this.$6++},"bind",!0,this));this.$2=[];this.$3=1;this.$5=0}a.prototype.open=function(){__p&&__p();var a=this.$3++,b=!1,c,d=this.$5,e={id:a,startIdx:d,hasOverflown:function(){return e.getOverflowSize()>0},getOverflowSize:ES(function(){return c!=null?c:Math.max(this.$6-d,0)},"bind",!0,this),close:ES(function(){if(b)return[];else{b=!0;c=this.$6-d;return this.$7(a)}},"bind",!0,this)};this.$2.push(e);return e};a.prototype.pushElement=function(a){this.$2.length>0&&(this.$1.write(a),this.$5++);return this};a.prototype.isActive=function(){return this.$2.length>0};a.prototype.$8=function(a){return Math.max(a-this.$6,0)};a.prototype.$7=function(a){__p&&__p();var b,c,d,e;for(var f=0;f<this.$2.length;f++){var g=this.$2[f],i=g.startIdx;g=g.id;g===a?(d=f,e=i):(c==null||i<c)&&(c=i);(b==null||i<b)&&(b=i)}if(d==null||b==null||e==null){h.reportError(new Error("messed up state inside IntervalTrackingBoundedBuffer"));return[]}this.$2.splice(d,1);g=this.$8(e);i=this.$1.read().slice(g);f=this.$8(c==null?this.$5:c)-this.$8(b);f>0&&(this.$1.dropFirst(f),this.$6+=f);return i};e.exports=a}),null);
__d("WorkerUtils",[],(function(a,b,c,d,e,f){"use strict";function b(){try{return"WorkerGlobalScope"in a&&a instanceof a.WorkerGlobalScope}catch(a){return!1}}e.exports={isWorkerContext:b}}),null);
__d("getReusableTimeSliceContinuation",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(a,b,c){__p&&__p();var d=!1,e=a.getGuardedContinuation(c),f=function(b){e(function(){d||(e=a.getGuardedContinuation(c)),b()})};f.last=function(a){var b=e;g();b(a)};f[b]={cancel:function(){d||(a.cancel(e),g(),d=!0)},tokens:[],invoked:!1};function g(){d=!0,e=function(a){a()}}return f}e.exports=a}),null);
__d("ExecutionEnvironment",[],(function(a,b,c,d,e,f){"use strict";a=!!(typeof window!=="undefined"&&window.document&&window.document.createElement);b={canUseDOM:a,canUseWorkers:typeof Worker!=="undefined",canUseEventListeners:a&&!!(window.addEventListener||window.attachEvent),canUseViewport:a&&!!window.screen,isInWorker:!a};e.exports=b}),null);
__d("performance",["ExecutionEnvironment"],(function(a,b,c,d,e,f,g){"use strict";var h;g.canUseDOM&&(h=window.performance||window.msPerformance||window.webkitPerformance);e.exports=h||{}}),null);
__d("performanceAbsoluteNow",["performance"],(function(a,b,c,d,e,f,g){if(g.now&&g.timing&&g.timing.navigationStart){var h=g.timing.navigationStart;a=function(){return g.now()+h}}else a=function(){return ES("Date","now",!1)};e.exports=a}),null);
__d("TimeSlice",["CallStackExecutionObserver","CircularBuffer","Env","ErrorUtils","FBLoggerImpl","IntervalTrackingBoundedBuffer","WorkerUtils","getReusableTimeSliceContinuation","invariant","nullthrows","performanceAbsoluteNow","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){__p&&__p();var s=[],t=[],u="key"+Math.random(),v=1,w=!1,x=0,y=1,z=2,A={},B=x,C=new h(100),D=0,E=0;b=i.timesliceBufferSize;b==null&&(b=5e3);var F=new l(b),G="stackTraceLimit"in Error,H=[],I=[],J=[];function K(){return L(H)}function L(a){return a.length>0?a[a.length-1]:null}function M(a,b){var c={};j.applyWithGuard(Q,null,[a,b,c]);j.applyWithGuard(R,null,[a,b,c]);H.push(a);I.push(b);J.push(c)}function N(a,b,c){ES(s,"forEach",!0,function(d){var e=d.onNewContextCreated(K(),b,c);a[d.getBeforeID()]=e})}function O(a,b){ES(s,"forEach",!0,function(c){c.onContextCanceled(a,b[c.getBeforeID()])})}function P(a,b,c){ES(t,"forEach",!0,function(d){d.onAfterContextEnded(a,b[d.getBeforeID()],c[d.getBeforeID()],a.meta)})}function Q(a,b,c){ES(s,"forEach",!0,function(d){var e=d.onBeforeContextStarted(a,b[d.getBeforeID()],a.meta);c[d.getBeforeID()]=e})}function R(a,b,c){ES(s,"forEach",!0,function(d){var e=d.onAfterContextStarted(a,b[d.getBeforeID()],c[d.getBeforeID()],a.meta);c[d.getBeforeID()]=e})}function S(){__p&&__p();var a=K(),b=L(I),c=L(J);if(a==null||b==null||c==null){k("TimeSlice").mustfix("popped too many times off the timeslice stack");w=!1;return}j.applyWithGuard(P,null,[a,b,c]);w=!a.isRoot;H.pop();I.pop();J.pop()}var T={PropagationType:{CONTINUATION:0,EXECUTION:1,ORPHAN:2},guard:function(a,b,c){__p&&__p();typeof a==="function"||o(0,3725);typeof b==="string"||o(0,3726);var d=U(c);if(a[u])return a;d.root||T.checkCoverage();var e;w&&(e=K());var f={},g=0,h=void 0,l=i.deferred_stack_trace_rate||0;l!==0&&Math.random()*l<=1&&i.timeslice_heartbeat_config&&i.timeslice_heartbeat_config.isArtilleryOn&&c&&c.registerCallStack&&(h=j.normalizeError(new Error("deferred execution source")));var n={cancel:function(){n.invoked||j.applyWithGuard(O,null,[b,f])},tokens:[],invoked:!1};l=function(){__p&&__p();var c=q(),i,l=v++,o={contextID:l,name:b,isRoot:!w,executionNumber:g++,meta:d,absBeginTimeMs:c};n.invoked||(n.invoked=!0,n.tokens.length&&(ES(n.tokens,"forEach",!0,function(a){delete A[a]}),n.tokens=[]));M(o,f);if(e!=null){var p=!!d.isContinuation;e.isRoot?(o.indirectParentID=e.contextID,o.isEdgeContinuation=p):(o.indirectParentID=e.indirectParentID,o.isEdgeContinuation=!!(p&&e.isEdgeContinuation))}var r=m.isWorkerContext();w=!0;try{if(!o.isRoot||r)return a.apply(this,arguments);else{var s="TimeSlice"+(b?": "+b:"");i=j.applyWithGuard(a,this,[].concat(Array.prototype.slice.call(arguments)),null,s,{deferredSource:h});return i}}finally{var t=K();if(t==null)k("TimeSlice").mustfix("timeslice stack misaligned, not logging the block"),w=!1;else{var u=t.isRoot,x=t.contextID,y=t.indirectParentID,z=t.isEdgeContinuation,B=q();t.absEndTimeMs=B;if(u&&c!=null){E+=B-c;var C=babelHelpers["extends"]({begin:c,end:B,id:x,indirectParentID:y,representsExecution:!0,isEdgeContinuation:e&&z,guard:b},d,a.__SMmeta);F.pushElement(C)}S()}}};l=l;l[u]=n;j.applyWithGuard(N,null,[f,b,d]);return l},copyGuardForWrapper:function(a,b){a&&a[u]&&(b[u]=a[u]);return b},cancel:function(a){a=a?a[u]:null;a&&!a.invoked&&(a.cancel(),ES(a.tokens,"forEach",!0,function(a){delete A[a]}),a.invoked=!0)},cancelWithToken:function(a){A[a]&&T.cancel(A[a])},registerForCancelling:function(a,b){a&&(b[u]&&(A[a]||(b[u].invoked||(A[a]=b,b[u].tokens.push(a)))))},inGuard:function(){return w},checkCoverage:function(){var a;if(B!==z&&!w){G&&(a=Error.stackTraceLimit,Error.stackTraceLimit=50);var b=new Error("Missing TimeSlice coverage");G&&(Error.stackTraceLimit=a);B===y&&Math.random()<D?k("TimeSlice").catching(b).debug("Missing TimeSlice coverage"):B===x&&p(C).write(b)}},setLogging:function(a,b){if(B!==x)return;D=b;a?(B=y,ES(p(C).read(),"forEach",!0,function(a){Math.random()<D&&k("TimeSlice").catching(a).warn("error from logging buffer")})):B=z;p(C).clear();C=void 0},getContext:function(){return K()},getTotalTime:function(){return E},getGuardedContinuation:function(a){return T.guard(function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];return a.apply(this,c)},a,{propagationType:T.PropagationType.CONTINUATION})},getReusableContinuation:function(a){return n(T,u,a)},getPlaceholderReusableContinuation:function(){var a=function(a){return a()};a.last=a;return a},getGuardNameStack:function(){return ES(H,"map",!0,function(a){return a.name})},registerExecutionContextObserver:function(a){__p&&__p();var b=!1;for(var c=0;c<s.length;c++)if(s[c].getBeforeID()>a.getBeforeID()){s.splice(c,0,a);b=!0;break}b||s.push(a);for(var c=0;c<t.length;c++)if(t[c].getAfterID()>a.getAfterID()){t.splice(c,0,a);return}t.push(a)},catchUpOnDemandExecutionContextObservers:function(a){for(var b=0;b<H.length;b++){var c=H[b],d=I[b],e=J[b]||{};d=a.onBeforeContextStartedWhileEnabled(c,d[a.getBeforeID()],c.meta);e[a.getBeforeID()]=d;J[b]=e}},getBuffer:function(){return F}};function U(a){__p&&__p();var b={};a&&a.propagateCounterAttribution!==void 0&&(b.propagateCounterAttribution=a.propagateCounterAttribution);a&&a.root!==void 0&&(b.root=a.root);switch(a&&a.propagationType){case T.PropagationType.CONTINUATION:b.isContinuation=!0;b.extendsExecution=!0;break;case T.PropagationType.ORPHAN:b.isContinuation=!1;b.extendsExecution=!1;break;case T.PropagationType.EXECUTION:default:b.isContinuation=!1,b.extendsExecution=!0}return b}i.sample_continuation_stacktraces&&T.registerExecutionContextObserver(g);r.setWrapper(T.guard,"entry");a.TimeSlice=T;e.exports=T}),3);
__d("TimerStorage",[],(function(a,b,c,d,e,f){__p&&__p();a={ANIMATION_FRAME:"ANIMATION_FRAME",IDLE_CALLBACK:"IDLE_CALLBACK",IMMEDIATE:"IMMEDIATE",INTERVAL:"INTERVAL",TIMEOUT:"TIMEOUT"};var g={};ES(ES("Object","keys",!1,a),"forEach",!0,function(a){return g[a]={}});b=babelHelpers["extends"]({},a,{set:function(a,b){g[a][b]=!0},unset:function(a,b){delete g[a][b]},clearAll:function(a,b){ES(ES("Object","keys",!1,g[a]),"forEach",!0,b),g[a]={}},getStorages:function(){return{}}});e.exports=b}),null);
__d("setTimeoutAcrossTransitions",["TimerStorage","TimeSlice"],(function(a,b,c,d,e,f,g,h){var i=a.__fbNativeSetTimeout||a.setTimeout,j=g.TIMEOUT;function b(b,c){var d=h.guard(b,"setTimeout",{propagationType:h.PropagationType.CONTINUATION,registerCallStack:!0});for(var e=arguments.length,f=new Array(e>2?e-2:0),g=2;g<e;g++)f[g-2]=arguments[g];var k=Function.prototype.apply.call(i,a,[d,c].concat(f)),l=j+k;h.registerForCancelling(l,d);return k}e.exports=b}),null);
__d("setTimeout",["TimerStorage","TimeSlice","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();function a(a,b){__p&&__p();var c,d=function(){g.unset(g.TIMEOUT,c);for(var b=arguments.length,d=new Array(b),e=0;e<b;e++)d[e]=arguments[e];Function.prototype.apply.call(a,this,d)};h.copyGuardForWrapper(a,d);for(var e=arguments.length,f=new Array(e>2?e-2:0),j=2;j<e;j++)f[j-2]=arguments[j];c=i.apply(void 0,[d,b].concat(f));g.set(g.TIMEOUT,c);return c}e.exports=a}),null);
__d("throttle",["TimeSlice","TimeSliceInteractionSV","setTimeout","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g,h,i,j){__p&&__p();function a(a,b,c){return k(a,b,c,i,!1)}ES("Object","assign",!1,a,{acrossTransitions:function(a,b,c){return k(a,b,c,j,!1)},withBlocking:function(a,b,c){return k(a,b,c,i,!0)},acrossTransitionsWithBlocking:function(a,b,c){return k(a,b,c,j,!0)}});function k(a,b,c,d,e){__p&&__p();var f=b==null?100:b,i,j,k=0,l=null,m=[],n=g.guard(function(){__p&&__p();k=ES("Date","now",!1);if(j){var b=ES(function(b){a.apply(i,b)},"bind",!0,null,j),c=m.length;while(--c>=0)b=ES(m[c],"bind",!0,null,b);m=[];b();j=null;l=d(n,f)}else l=null},"throttle_"+f+"_ms",{propagationType:g.PropagationType.EXECUTION});n.__SMmeta=a.__SMmeta;return function(){h.ref_counting_fix&&m.push(g.getGuardedContinuation("throttleWithContinuation")),j=arguments,i=this,c!==void 0&&(i=c),(l===null||ES("Date","now",!1)-k>f)&&(e?n():l=d(n,0))}}e.exports=a}),null);
__d("legacy:fb.xfbml.customerchat",["FB","sdk.XFBML.CustomerChat","throttle"],(function(a,b,c,d,e,f,g,h,i){g.provide("CustomerChat",{show:i(function(a){h.show(a)},5e3),hide:i(h.hide,5e3),showDialog:i(h.showDialog,5e3),hideDialog:i(h.hideDialog,5e3),update:i(function(a){h.update(a)},5e3)})}),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":"4658476","namespace":"FB","message":"'+e.message+'"}}');}
