/*1668161227,,JIT Construction: v1006589588,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() { 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 sandboxSafelist = [ 'setTimeout', 'setInterval', 'clearTimeout', 'clearInterval' ]; for (var i = 0; i < sandboxSafelist.length; i++) { global[sandboxSafelist[i]] = bindContext( window[sandboxSafelist[i]], window ); } (function() { var self = window; var __DEV__ = 0; function emptyFunction() {}; var __transform_includes = {}; var __annotator, __bodyWrapper; var __w, __t; var undefined; 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};g=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=g,__bodyWrapper.getCodeUsage=function(){return a},__bodyWrapper.clearCodeUsage=function(){a={}}):"typechecks"in __transform_includes?__bodyWrapper=f:__bodyWrapper=f)})(); __t=function(a){return a[0]},__w=function(a){return a}; (function(a){var b={},c=["global","require","requireDynamic","requireLazy","module","exports"],d=["global","require","importDefault","importNamespace","requireLazy","module","exports"],e=1,f=32,g=64,h={},i=Object.prototype.hasOwnProperty;function j(e,h){if(!i.call(b,e)){if(h)return null;throw new Error("Module "+e+" has not been defined")}h=b[e];if(h.resolved)return h;e=h.special;var j=h.factory.length,n=e&f?d.concat(h.deps):c.concat(h.deps),o=[],p;for(var q=0;q1?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},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},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},repeat:function(a){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}};b=a;f["default"]=b}),66); __d("ES6Array",[],(function(a,b,c,d,e,f){"use strict";a={from:function(a){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"&&navigator.userAgent.indexOf("Trident/7.0")===-1?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>>0;for(var e=0;e>>0,f=arguments[1],g=f>>0,h=g<0?Math.max(e+g,0):Math.min(g,e),i=arguments[2],j=i===void 0?e:i>>0,k=j<0?Math.max(e+j,0):Math.min(j,e);while(h=this.MIN_SAFE_INTEGER&&a<=this.MAX_SAFE_INTEGER&&Math.floor(a)===a},EPSILON:a,MAX_SAFE_INTEGER:b,MIN_SAFE_INTEGER:c};e=d;f["default"]=e}),66); __d("ES6Object",[],(function(a,b,c,d,e,f){var g={}.hasOwnProperty;a={assign:function(a){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)g.call(c,d)&&(a[d]=c[d])}return a},is:function(a,b){if(a===b)return a!==0||1/a===1/b;else return a!==a&&b!==b}};b=a;f["default"]=b}),66); __d("ES5Array",[],(function(a,b,c,d,e,f){a={isArray:function(a){return Object.prototype.toString.call(a)=="[object Array]"}};b=a;f["default"]=b}),66); __d("ES5ArrayPrototype",[],(function(a,b,c,d,e,f){a={indexOf:function(a,b){b=b;var c=this.length;b|=0;b<0&&(b+=c);for(;b=0?1:-1}a={includes:function(a){"use strict";if(a!==void 0&&g(this)&&!(typeof a==="number"&&isNaN(a)))return h.apply(this,arguments)!==-1;var b=Object(this),c=b.length?i(b.length):0;if(c===0)return!1;var d=arguments.length>1?j(arguments[1]):0,e=d<0?Math.max(c+d,0):d,f=isNaN(a)&&typeof a==="number";while(e1)))/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){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){var b='"',c=0,d=a.length,e=!z||d>10,f=e&&(z?a.split(""):a);for(;c-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;m0)for(e="",d>10&&(d=10);e.length=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=48&&g<=57);L++);if(a.charCodeAt(L)==46){e=++L;for(;e=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=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){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;function l(){k||(k=!0,j());return h.exports}function b(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",["ES5FunctionPrototype","ES5StringPrototype","ES6Array","ES6ArrayPrototype","ES6Number","ES6Object","ES7ArrayPrototype","ES7Object","ES7StringPrototype","json3"],(function(a,b,c,d,e,f,g){var h={}.toString,i={"JSON.stringify":c("json3").stringify,"JSON.parse":c("json3").parse};d={"Function.prototype":c("ES5FunctionPrototype"),"String.prototype":c("ES5StringPrototype")};e={Object:c("ES6Object"),"Array.prototype":c("ES6ArrayPrototype"),Number:c("ES6Number"),Array:c("ES6Array")};f={Object:c("ES7Object"),"String.prototype":c("ES7StringPrototype"),"Array.prototype":c("ES7ArrayPrototype")};function a(a){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 f in c){if(!Object.prototype.hasOwnProperty.call(c,f))continue;if(typeof c[f]!=="function"){i[b+"."+f]=c[f];continue}g=e[f];i[b+"."+f]=g&&/\{\s+\[native code\]\s\}/.test(g)?g:c[f]}}}a(d);a(e);a(f);function b(a,b,c){var d=c?h.call(a).slice(8,-1)+".prototype":a,e;if(Array.isArray(a))if(typeof d==="string")e=i[d+"."+b];else throw new Error("Can't polyfill "+b+" directly on an Array.");else if(typeof d==="string")e=i[d+"."+b];else if(typeof a==="string")throw new Error("Can't polyfill "+b+" directly on a string.");else e=a[b];if(typeof e==="function"){for(var f=arguments.length,g=new Array(f>3?f-3:0),j=3;j=0)continue;c[d]=a[d]}return c};g.objectWithoutProperties=g.objectWithoutPropertiesLoose;g.taggedTemplateLiteralLoose=function(a,b){b||(b=a.slice(0));a.raw=b;return a};g.bind=b("ES5FunctionPrototype").bind;e.exports=g}),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(){"use strict";function a(a,b){this.$1=a,this.$2=b,this.$3=0}var b=a.prototype;b.next=function(){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}};b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){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(){"use strict";function a(a){this.$1=a,this.$2=0}var b=a.prototype;b.next=function(){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}};b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){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"}var i=function(){"use strict";function a(a,b){this.$1=a,this.$2=b,this.$3=Object.keys(a),this.$4=0}var b=a.prototype;b.next=function(){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}};b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){return this};return a}(),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(Array.isArray(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); __d("JSSDKCanvasPrefetcherConfig",[],{"enabled":true,"excludedAppIds":[144959615576466,768691303149786,320528941393723],"sampleRate":500});__d("JSSDKConfig",[],{"features":{"allow_non_canvas_app_events":false,"error_handling":{"rate":4},"e2e_ping_tracking":{"rate":0.1},"xd_timeout":{"rate":1,"value":60000},"use_bundle":false,"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},"use_x_xd":{"rate":100},"cache_auth_response":{"rate":100},"oauth_funnel_logger_version":1,"force_popup_to_canvas_apps_with_id":[],"force_popup_to_all_canvas_app":false,"max_oauth_dialog_retries":{"rate":100,"value":10},"plugin_tags_blacklist":[],"idle_callback_wait_time_ms":3000,"chat_plugin_facade_timeout_ms":8000,"chat_plugin_facade_enabled_pageids":["102493178867330","107331571710078","1032787970130843","107771111665395","261907812360345","101305975654752","275483104252055","101664622285042","112682113428700","271628573687012","385757598521443","100545935690488"],"should_enable_ig_login_status_fetch":true,"log_cookies_usage":{"rate":0.1},"allow_shadow_dom_for_apps_with_id":[520916077950649,152351391599356,132081130190180,468663283258845,409976882430412,189845245141894,360467581347,274266067164],"allow_shadow_dom":true,"xfoa_login_enabled":false}});__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:\/\/connect.facebook.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:\/\/connect.facebook.net\/rsrc.php\/v3\/yq\/r\/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent}.fb_dialog_close_icon:active{background:url(https:\/\/connect.facebook.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:\/\/connect.facebook.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:\/\/connect.facebook.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:#043b87;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:\/\/connect.facebook.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_icon{visibility:hidden}#fb_dialog_loader_spinner{animation:rotateSpinner 1.2s linear infinite;background-color:transparent;background-image:url(https:\/\/connect.facebook.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_mpn_mobile_landing_page_slide_out{animation-duration:200ms;animation-name:fb_mpn_landing_page_slide_out;transition-timing-function:ease-in}.fb_mpn_mobile_landing_page_slide_out_from_left{animation-duration:200ms;animation-name:fb_mpn_landing_page_slide_out_from_left;transition-timing-function:ease-in}.fb_mpn_mobile_landing_page_slide_up{animation-duration:500ms;animation-name:fb_mpn_landing_page_slide_up;transition-timing-function:ease-in}.fb_mpn_mobile_bounce_in{animation-duration:300ms;animation-name:fb_mpn_bounce_in;transition-timing-function:ease-in}.fb_mpn_mobile_bounce_out{animation-duration:300ms;animation-name:fb_mpn_bounce_out;transition-timing-function:ease-in}.fb_mpn_mobile_bounce_out_v2{animation-duration:300ms;animation-name:fb_mpn_fade_out;transition-timing-function:ease-in}.fb_customer_chat_bounce_in_v2{animation-duration:300ms;animation-name:fb_bounce_in_v2;transition-timing-function:ease-in}.fb_customer_chat_bounce_in_from_left{animation-duration:300ms;animation-name:fb_bounce_in_from_left;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_out_from_left{animation-duration:300ms;animation-name:fb_bounce_out_from_left;transition-timing-function:ease-in}.fb_invisible_flow{display:inherit;height:0;overflow-x:hidden;width:0}\u0040keyframes fb_mpn_landing_page_slide_out{0\u0025{margin:0 12px;width:100\u0025 - 24px}60\u0025{border-radius:18px}100\u0025{border-radius:50\u0025;margin:0 24px;width:60px}}\u0040keyframes fb_mpn_landing_page_slide_out_from_left{0\u0025{left:12px;width:100\u0025 - 24px}60\u0025{border-radius:18px}100\u0025{border-radius:50\u0025;left:12px;width:60px}}\u0040keyframes fb_mpn_landing_page_slide_up{0\u0025{bottom:0;opacity:0}100\u0025{bottom:24px;opacity:1}}\u0040keyframes fb_mpn_bounce_in{0\u0025{opacity:.5;top:100\u0025}100\u0025{opacity:1;top:0}}\u0040keyframes fb_mpn_fade_out{0\u0025{bottom:30px;opacity:1}100\u0025{bottom:0;opacity:0}}\u0040keyframes fb_mpn_bounce_out{0\u0025{opacity:1;top:0}100\u0025{opacity:.5;top: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_from_left{0\u0025{opacity:0;transform:scale(0, 0);transform-origin:bottom left}50\u0025{transform:scale(1.03, 1.03);transform-origin:bottom left}100\u0025{opacity:1;transform:scale(1, 1);transform-origin:bottom left}}\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_from_left{0\u0025{opacity:1;transform:scale(1, 1);transform-origin:bottom left}100\u0025{opacity:0;transform:scale(0, 0);transform-origin:bottom left}}\u0040keyframes slideInFromBottom{0\u0025{opacity:.1;transform:translateY(100\u0025)}100\u0025{opacity:1;transform:translateY(0)}}\u0040keyframes slideInFromBottomDelay{0\u0025{opacity:0;transform:translateY(100\u0025)}97\u0025{opacity:0;transform:translateY(100\u0025)}100\u0025{opacity:1;transform:translateY(0)}}","components":["css:fb.css.base","css:fb.css.dialog","css:fb.css.iframewidget","css:fb.css.customer_chat_plugin_iframe"]});__d("JSSDKRuntimeConfig",[],{"locale":"en_US","revision":"1006589588","rtl":false,"sdkab":null,"sdkns":"","sdkurl":"https:\/\/connect.facebook.net\/en_US\/all.js","scribeurl":"https:\/\/www.facebook.com\/platform\/scribe_endpoint.php\/"});__d("JSSDKXDConfig",[],{"XXdUrl":"\/x\/connect\/xd_arbiter\/?version=46","useCdn":true});__d("UrlMapConfig",[],{"www":"www.facebook.com","m":"m.facebook.com","business":"business.facebook.com","api":"api.facebook.com","api_read":"api-read.facebook.com","graph":"graph.facebook.com","an":"an.facebook.com","fbcdn":"static.xx.fbcdn.net","cdn":"staticxx.facebook.com","graph_facebook":"graph.facebook.com","graph_gaming":"graph.fb.gg","graph_instagram":"graph.instagram.com","www_instagram":"www.instagram.com","social_plugin":"socialplugin.facebook.net"});__d("JSSDKShadowCssConfig",[],{"css:fb.shadow.css.fb_login_button":".fb_login_button_container{align-content:center;align-items:center;border:0;color:#fff;display:flex;font-family:'Roboto', 'Freight Sans LF Pro', Helvetica, Arial, 'Lucida Grande', sans-serif;font-weight:bold;margin:auto}.fb-button-main-element{display:flex;flex-wrap:nowrap;overflow:hidden}.fb-iframe-overlay{display:flex}.fb-button-main-element:hover{cursor:pointer}.fb-button-main-element:focus{filter:brightness(80\u0025)}.fb_button_label_element{align-items:center;display:flex;font-weight:bold;justify-content:center}.fb_button_label{margin:auto;pointer-events:none}.fb_button_svg_logo{height:1.33em;margin-left:.4em;margin-right:.4em;padding:.065em}.login_fb_logo .f_logo_f{fill:transparent}.single_button_svg_logo{margin-bottom:.08em}"}); __d("ManagedError",[],(function(a,b,c,d,e,f){a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,c){var d;d=a.call(this,b!==null&&b!==void 0?b:"")||this;b!==null&&b!==void 0?d.message=b:d.message="";d.innerError=c;return d}return b}(babelHelpers.wrapNativeSuper(Error));f["default"]=a}),66); __d("ArgumentError",["ManagedError"],(function(a,b,c,d,e,f,g){a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,c){return a.call(this,b,c)||this}return b}(c("ManagedError"));g["default"]=a}),98); __d("AssertionError",["ManagedError"],(function(a,b,c,d,e,f,g){a=function(a){babelHelpers.inheritsLoose(b,a);function b(b){return a.call(this,b)||this}return b}(c("ManagedError"));g["default"]=a}),98); __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;d3?d-3:0),f=3;f=b&&j[a in j?a:"log"](i)};function a(a){g=a}d=ES(c,"bind",!0,null,"debug",b.DEBUG);e=ES(c,"bind",!0,null,"info",b.INFO);var h=ES(c,"bind",!0,null,"warn",b.WARNING),i=ES(c,"bind",!0,null,"error",b.ERROR);f.Level=b;f.log=c;f.setLevel=a;f.debug=d;f.info=e;f.warn=h;f.error=i}),66); __d("flattenObject",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b={};for(var c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=a[c];if(d==null)continue;else typeof d==="string"?b[c]=d:b[c]=ES("JSON","stringify",!1,d)}return b}f["default"]=a}),66); __d("QueryString",[],(function(a,b,c,d,e,f){function g(a){var b=[];Object.keys(a).sort().forEach(function(c){var d=a[c];if(d===void 0)return;if(d===null){b.push(c);return}b.push(encodeURIComponent(c)+"="+encodeURIComponent(String(d)))});return b.join("&")}function a(a,b){b===void 0&&(b=!1);var c={};if(a==="")return c;a=a.split("&");for(var d=0;d1?c-1:0),e=1;ep+m){var c=a-n;for(var d=o,e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;if(e){if(f>=d.length)break;g=d[f++]}else{f=d.next();if(f.done)break;g=f.value}g=g;var h=g[0];g=g[1];g.lastAccessed":"",v;function ba(a){var b=a.error!=null?u(a.error):h(a.message||"");b.fileName==null&&a.filename!=null&&(b.fileName=a.filename);b.line==null&&a.lineno!=null&&(b.line=a.lineno);b.column==null&&a.colno!=null&&(b.column=a.colno);b.guardList=[aa];b.loggingSource="ONERROR";(a=v)===null||a===void 0?void 0:a.reportError(b)}var w={setup:function(b){if(typeof a.addEventListener!=="function")return;if(v!=null)return;v=b;a.addEventListener("error",ba)}},x=[],y={pushGuard:function(a){x.unshift(a)},popGuard:function(){x.shift()},inGuard:function(){return x.length!==0},cloneGuardList:function(){return x.map(function(a){return a.name})},findDeferredSource:function(){for(var a=0;a=0)return"warn";return a.stack!=null&&a.stack.indexOf("chrome-extension://")>=0?"warn":"error"}var z=[],A=function(){function a(){this.metadata=[].concat(z)}var b=a.prototype;b.addEntries=function(){var a;(a=this.metadata).push.apply(a,arguments);return this};b.addEntry=function(a,b,c){this.metadata.push([a,b,c]);return this};b.isEmpty=function(){return this.metadata.length===0};b.clearEntries=function(){this.metadata=[]};b.format=function(){var a=[];this.metadata.forEach(function(b){if(b&&b.length){b=b.map(function(a){return a!=null?String(a).replace(/:/g,"_"):""}).join(":");a.push(b)}});return a};b.getAll=function(){return this.metadata};a.addGlobalMetadata=function(a,b,c){z.push([a,b,c])};a.getGlobalMetadata=function(){return z};a.unsetGlobalMetadata=function(a,b){z=z.filter(function(c){return!(Array.isArray(c)&&c[0]===a&&c[1]===b)})};return a}(),B={debug:1,info:2,warn:3,error:4,fatal:5};function c(a,b){if(Object.isFrozen(a))return;b.type&&((!a.type||B[a.type]>B[b.type])&&(a.type=b.type));var c=b.metadata;if(c!=null){var d;d=(d=a.metadata)!==null&&d!==void 0?d:new A();c!=null&&d.addEntries.apply(d,c.getAll());a.metadata=d}b.project!=null&&(a.project=b.project);b.errorName!=null&&(a.errorName=b.errorName);b.componentStack!=null&&(a.componentStack=b.componentStack);b.deferredSource!=null&&(a.deferredSource=b.deferredSource);b.blameModule!=null&&(a.blameModule=b.blameModule);b.loggingSource!=null&&(a.loggingSource=b.loggingSource);d=(c=a.messageFormat)!==null&&c!==void 0?c:a.message;c=(c=a.messageParams)!==null&&c!==void 0?c:[];if(d!==b.messageFormat&&b.messageFormat!=null){var e;d+=" [Caught in: "+b.messageFormat+"]";c.push.apply(c,(e=b.messageParams)!==null&&e!==void 0?e:[])}a.messageFormat=d;a.messageParams=c;e=b.forcedKey;d=a.forcedKey;c=e!=null&&d!=null?e+"_"+d:e!==null&&e!==void 0?e:d;a.forcedKey=c}function d(a){var b;return da((b=a.messageFormat)!==null&&b!==void 0?b:a.message,a.messageParams||[])}function da(a,b){var c=0;a=a.replace(/%s/g,function(){return cea&&D.shift()}function F(a){var b=a.getAllResponseHeaders();if(b!=null&&b.indexOf("X-FB-Debug")>=0){b=a.getResponseHeader("X-FB-Debug");b&&E(b)}}function fa(){return D}var G={add:E,addFromXHR:F,getAll:fa},ga="abcdefghijklmnopqrstuvwxyz012345";function H(){var a=0;for(var b=arguments.length,c=new Array(b),d=0;d>=5;return i}var I=[/\(([^\s\)\()]+):(\d+):(\d+)\)$/,/@([^\s\)\()]+):(\d+):(\d+)$/,/^([^\s\)\()]+):(\d+):(\d+)$/,/^at ([^\s\)\()]+):(\d+):(\d+)$/],ha=/^\w+:\s.*?\n/g;Error.stackTraceLimit!=null&&Error.stackTraceLimit<80&&(Error.stackTraceLimit=80);function ia(a){var b=a.name,c=a.message;a=a.stack;if(a==null)return null;if(b!=null&&c!=null&&c!==""){var d=b+": "+c+"\n";if(ES(a,"startsWith",!0,d))return a.substr(d.length);if(a===b+": "+c)return null}if(b!=null){d=b+"\n";if(ES(a,"startsWith",!0,d))return a.substr(d.length)}if(c!=null&&c!==""){b=": "+c+"\n";d=a.indexOf(b);c=a.substring(0,d);if(/^\w+$/.test(c))return a.substring(d+b.length)}return a.replace(ha,"")}function J(a){a=a.trim();var b;a;var c,d,e;if(ES(a,"includes",!0,"charset=utf-8;base64,"))b="";else{var f;for(var g=0;g");c!=null&&d!=null&&a!=null&&(b+=" ("+c+":"+d+":"+a+")");return b}function L(c){var d,e,f,h,i,j,k=ka(c);d=(d=c.taalOpcodes)!==null&&d!==void 0?d:[];var l=c.framesToPop;if(l!=null){l=Math.min(l,k.length);while(l-->0)d.unshift(g.PREVIOUS_FRAME)}l=(l=c.messageFormat)!==null&&l!==void 0?l:c.message;e=((e=c.messageParams)!==null&&e!==void 0?e:[]).map(function(a){return String(a)});var m=la(c.componentStack),n=m==null?null:m.map(J),o=c.metadata?c.metadata.format():new A().format();o.length===0&&(o=void 0);var p=k.map(function(a){return a.text}).join("\n");f=(f=c.errorName)!==null&&f!==void 0?f:c.name;var q=ca(c),r=c.loggingSource,s=c.project;h=(h=c.lineNumber)!==null&&h!==void 0?h:c.line;i=(i=c.columnNumber)!==null&&i!==void 0?i:c.column;j=(j=c.fileName)!==null&&j!==void 0?j:c.sourceURL;var t=k.length>0;t&&h==null&&(h=k[0].line);t&&i==null&&(i=k[0].column);t&&j==null&&(j=k[0].script);n={blameModule:c.blameModule,column:i==null?null:String(i),clientTime:Math.floor(Date.now()/1e3),componentStackFrames:n,deferredSource:c.deferredSource!=null?L(c.deferredSource):null,extra:(t=c.extra)!==null&&t!==void 0?t:{},fbtrace_id:c.fbtrace_id,guardList:(i=c.guardList)!==null&&i!==void 0?i:[],hash:H(f,p,q,s,r),isNormalizedError:!0,line:h==null?null:String(h),loggingSource:r,message:C.toReadableMessage(c),messageFormat:l,messageParams:e,metadata:o,name:f,page_time:Math.floor(b("performanceNowSinceAppStart")()),project:s,reactComponentStack:m,script:j,serverHash:c.serverHash,stack:p,stackFrames:k,type:q,xFBDebug:G.getAll()};c.forcedKey!=null&&(n.forcedKey=c.forcedKey);d.length>0&&(n.taalOpcodes=d);t=a.location;t&&(n.windowLocationURL=t.href);for(var i in n)n[i]==null&&delete n[i];return n}function ma(a){return a!=null&&typeof a==="object"&&a.isNormalizedError===!0?a:null}var M={formatStackFrame:K,normalizeError:L,ifNormalizedError:ma},na="",N=[],O=[],P=50,Q=!1,R={history:O,addListener:function(a,b){b===void 0&&(b=!1),N.push(a),b||O.forEach(function(b){return a(b,(b=b.loggingSource)!==null&&b!==void 0?b:"DEPRECATED")})},unshiftListener:function(a){N.unshift(a)},removeListener:function(a){b("removeFromArray")(N,a)},reportError:function(a){a=M.normalizeError(a);R.reportNormalizedError(a)},reportNormalizedError:function(b){if(Q)return!1;var a=y.cloneGuardList();b.componentStackFrames&&a.unshift(na);a.length>0&&(b.guardList=a);if(b.deferredSource==null){a=y.findDeferredSource();a!=null&&(b.deferredSource=M.normalizeError(a))}O.length>P&&O.splice(P/2,1);O.push(b);Q=!0;for(var a=0;aU?a.substring(0,U-3)+"...":a}function ra(a,b){var c;c={appId:Y(b.appId),cavalry_lid:b.cavalry_lid,access_token:k.access_token,ancestor_hash:a.hash,bundle_variant:(c=b.bundle_variant)!==null&&c!==void 0?c:null,clientTime:X(a.clientTime),column:a.column,componentStackFrames:Z(a.componentStackFrames),events:a.events,extra:pa(a.extra,b.extra),forcedKey:a.forcedKey,frontend_env:(c=b.frontend_env)!==null&&c!==void 0?c:null,guardList:a.guardList,line:a.line,loggingFramework:b.loggingFramework,messageFormat:qa(a.messageFormat),messageParams:a.messageParams.map(qa),name:a.name,sample_weight:Y(b.sample_weight),script:a.script,site_category:b.site_category,stackFrames:Z(a.stackFrames),type:a.type,page_time:Y(a.page_time),project:a.project,push_phase:b.push_phase,report_source:b.report_source,report_source_ref:b.report_source_ref,rollout_hash:(c=b.rollout_hash)!==null&&c!==void 0?c:null,script_path:b.script_path,server_revision:Y(b.server_revision),spin:Y(b.spin),svn_rev:String(b.client_revision),additional_client_revisions:ES("Array","from",!1,(c=b.additional_client_revisions)!==null&&c!==void 0?c:[]).map(X),taalOpcodes:a.taalOpcodes==null?null:a.taalOpcodes.map(function(a){return a}),web_session_id:b.web_session_id,version:"3",xFBDebug:a.xFBDebug};b=a.blameModule;var d=a.deferredSource;b!=null&&(c.blameModule=String(b));d&&d.stackFrames&&(c.deferredSource={stackFrames:Z(d.stackFrames)});a.metadata&&(c.metadata=a.metadata);a.loadingUrls&&(c.loadingUrls=a.loadingUrls);a.serverHash!=null&&(c.serverHash=a.serverHash);a.windowLocationURL!=null&&(c.windowLocationURL=a.windowLocationURL);a.loggingSource!=null&&(c.loggingSource=a.loggingSource);return c}function sa(a,b,c){var d;W++;if(b.sample_weight===0)return!1;var e=s.shouldLog(a);if(e==null)return!1;if((d=b.projectBlocklist)!==null&&d!==void 0&&ES(d,"includes",!0,a.project))return!1;d=ra(a,b);ES("Object","assign",!1,d,{ancestors:V.slice(),clientWeight:X(e),page_position:X(W)});V.length<15&&V.push(a.hash);c(d);return!0}var ta={createErrorPayload:ra,postError:sa},$=null,ua=!1;function va(a){if(!$)return;var b=a.reason,c;if(b!=null&&typeof b==="object"&&(b.name==null||b.name===""||b.message==null||b.message===""))try{c=h("UnhandledRejection: %s",ES("JSON","stringify",!1,b)),c.loggingSource="ONUNHANDLEDREJECTION"}catch(a){c=h("UnhandledRejection: (circular) %s",Object.keys(b).join(",")),c.loggingSource="ONUNHANDLEDREJECTION"}else c=u(b),c.loggingSource||(c.loggingSource="ONUNHANDLEDREJECTION");try{b=a.promise;c.stack=String(c.stack||"")+(b!=null&&typeof b.settledStack==="string"?"\n()\n"+b.settledStack:"")+(b!=null&&typeof b.createdStack==="string"?"\n()\n"+b.createdStack:"")}catch(a){}$.reportError(c);a.preventDefault()}function wa(b){$=b,typeof a.addEventListener==="function"&&!ua&&(ua=!0,a.addEventListener("unhandledrejection",va))}var xa={onunhandledrejection:va,setup:wa};c={preSetup:function(a){(a==null||a.ignoreOnError!==!0)&&w.setup(R),(a==null||a.ignoreOnUnahndledRejection!==!0)&&xa.setup(R)},setup:function(a,b){R.addListener(function(c){ta.postError(c,a,b)})}};var ya=function(){function a(a){this.project=a,this.events=[],this.metadata=new A(),this.taalOpcodes=[]}var b=a.prototype;b.$1=function(b,c){var d=String(c),e=this.events,f=this.project,h=this.metadata,i=this.blameModule,j=this.forcedKey,k=this.error,l;for(var m=arguments.length,n=new Array(m>2?m-2:0),o=2;o0&&new a("fblogger").blameToPreviousFrame().blameToPreviousFrame().warn("Blame helpers do not work with catching"),C.aggregateError(k,{messageFormat:d,messageParams:C.toStringParams(n),errorName:k.name,forcedKey:j,project:f,type:b,loggingSource:"FBLOGGER"}),l=M.normalizeError(k);else{k=new Error(d);if(k.stack===void 0)try{throw k}catch(a){}k.messageFormat=d;k.messageParams=C.toStringParams(n);k.blameModule=i;k.forcedKey=j;k.project=f;k.type=b;k.loggingSource="FBLOGGER";k.taalOpcodes=[g.PREVIOUS_FRAME,g.PREVIOUS_FRAME].concat(this.taalOpcodes);l=M.normalizeError(k);l.name="FBLogger"}if(!h.isEmpty())if(l.metadata==null)l.metadata=h.format();else{var q=l.metadata.concat(h.format()),r=new Set(q);l.metadata=ES("Array","from",!1,r.values())}if(e.length>0)if(l.events!=null){var s;(s=l.events).push.apply(s,e)}else l.events=e;R.reportNormalizedError(l);return k};b.fatal=function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d1?b-1:0),d=1;d1?b-1:0),d=1;d1?b-1:0),d=1;d1?b-1:0),d=1;d1?c-1:0),e=1;e2?e-2:0),g=2;g0&&(d+=" Params: "+b.map(function(a){return"%s"}).join(", "));a=c("Env").show_invariant_decoder===!0?"visit "+i(a,b)+" to see the full message.":"";return{message:d,decoderLink:a}}function i(a,b){a="https://www.internalfb.com/intern/invariant/"+a+"/";b.length>0&&(a+="?"+b.map(function(a,b){return"args["+b+"]="+encodeURIComponent(String(a))}).join("&"));return a}g["default"]=a}),98); __d("flattenPHPQueryData",["invariant"],(function(a,b,c,d,e,f,g,h){function a(a){return i(a,"",{})}function i(a,b,c){if(a==null)c[b]=void 0;else if(typeof a==="object"){typeof a.appendChild!=="function"||h(0,2616);for(var d in a)d!=="$$typeof"&&Object.prototype.hasOwnProperty.call(a,d)&&a[d]!==void 0&&i(a[d],b?b+"["+d+"]":d,c)}else c[b]=a;return c}g["default"]=a}),98); __d("PHPQuerySerializer",["BaseDeserializePHPQueryData","flattenPHPQueryData"],(function(a,b,c,d,e,f,g){function a(a){var b=[];a=c("flattenPHPQueryData")(a);for(var d in a)if(Object.prototype.hasOwnProperty.call(a,d)){var e=h(d);a[d]===void 0?b.push(e):b.push(e+"="+h(String(a[d])))}return b.join("&")}function h(a){return encodeURIComponent(a).replace(/%5D/g,"]").replace(/%5B/g,"[")}function b(a){return d("BaseDeserializePHPQueryData").deserialize(a,i)}function i(a){try{return decodeURIComponent(a.replace(/\+/g," "))}catch(b){return a}}e={serialize:a,encodeComponent:h,deserialize:b,decodeComponent:i};f.exports=e}),34); __d("PHPStrictQuerySerializer",["PHPQuerySerializer","flattenPHPQueryData"],(function(a,b,c,d,e,f,g){function a(a){var b=[];a=c("flattenPHPQueryData")(a);for(var d in a)if(Object.prototype.hasOwnProperty.call(a,d)){var e=h(d);a[d]===void 0?b.push(e):b.push(e+"="+h(String(a[d])))}return b.join("&")}function h(a){return encodeURIComponent(a)}g.serialize=a;g.encodeComponent=h;g.deserialize=d("PHPQuerySerializer").deserialize;g.decodeComponent=d("PHPQuerySerializer").decodeComponent}),98); __d("URIRFC3986",[],(function(a,b,c,d,e,f){var g=new RegExp("^([^:/?#]+:)?(//([^\\\\/?#@]*@)?(\\[[A-Fa-f0-9:.]+\\]|[^\\/?#:]*)(:[0-9]*)?)?([^?#]*)(\\?[^#]*)?(#.*)?");function a(a){if(a.trim()==="")return null;a=a.match(g);if(a==null)return null;var b=a[2]?a[2].substr(2):null,c=a[1]?a[1].substr(0,a[1].length-1):null;a={uri:a[0]?a[0]:null,scheme:c,authority:b,userinfo:a[3]?a[3].substr(0,a[3].length-1):null,host:a[2]?a[4]:null,port:a[5]?a[5].substr(1)?parseInt(a[5].substr(1),10):null:null,path:a[6]?a[6]:null,query:a[7]?a[7].substr(1):null,fragment:a[8]?a[8].substr(1):null,isGenericURI:b===null&&!!c};return a}f.parse=a}),66); __d("createObjectFrom",[],(function(a,b,c,d,e,f){function g(a,b){if(b===void 0)return g(a,!0);var c={};if(Array.isArray(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}f["default"]=g}),66); __d("URISchemes",["createObjectFrom"],(function(a,b,c,d,e,f,g){var h=c("createObjectFrom")(["accountscenter","aidemos","aistudio","blob","cmms","fb","fba","fbatwork","fb-ama","fb-internal","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","flipper","ftp","gtalk","http","https","mailto","wss","ms-app","intent","itms","itms-apps","lasso","market","svn+ssh","fbstaging","tel","sms","pebblejs","sftp","whatsapp","moments","flash","fblite","chrome-extension","webcal","instagram","iglite","fb124024574287414","fb124024574287414rc","fb124024574287414master","fb1576585912599779","fb929757330408142","designpack","fbpixelcloud","fbapi20130214","fb1196383223757595","oculus","oculus.store","oculus.feed","oculusstore","odh","com.oculus.rd","aria","skype","ms-windows-store","callto","messenger","workchat","fb236786383180508","fb1775440806014337","data","fb-mk","munki","origami-file","fb-nimble-vrsrecorder","fb-nimble-monohandtrackingvis","together","togetherbl","horizonlauncher","venues","whatsapp-consumer","whatsapp-smb","fb-ide-opener","fb-vscode","fb-vscode-insiders","editor","spark-studio","manifold","origami-internal","origami-public","stella","mwa","mattermost","logaggregator"]);function a(a){return a==null||a===""?!0:Object.prototype.hasOwnProperty.call(h,a.toLowerCase())}g.isAllowed=a}),98); __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(".")}f["default"]=a}),66); __d("URIAbstractBase",["invariant","FBLogger","PHPStrictQuerySerializer","URIRFC3986","URISchemes","setHostSubdomain"],(function(a,b,c,d,e,f,g){var h,i,j=new RegExp("[\\x00-\\x2c\\x2f\\x3b-\\x40\\x5c\\x5e\\x60\\x7b-\\x7f\\uFDD0-\\uFDEF\\uFFF0-\\uFFFF\\u2047\\u2048\\uFE56\\uFE5F\\uFF03\\uFF0F\\uFF1F]"),k=new RegExp("^(?:[^/]*:|[\\x00-\\x1f]*/[\\x00-\\x1f]*/)"),l=[];a=function(){"use strict";a.parse=function(c,d,e,f){if(!d)return!0;if(d instanceof a){c.setProtocol(d.getProtocol());c.setDomain(d.getDomain());c.setPort(d.getPort());c.setPath(d.getPath());c.setQueryData(f.deserialize(f.serialize(d.getQueryData())));c.setFragment(d.getFragment());c.setIsGeneric(d.getIsGeneric());c.setForceFragmentSeparator(d.getForceFragmentSeparator());c.setOriginalRawQuery(d.getOriginalRawQuery());c.setQueryParamModified(!1);return!0}d=d.toString().trim();var g=(h||(h=b("URIRFC3986"))).parse(d)||{fragment:null,scheme:null,query:null};if(!e&&!(i||(i=b("URISchemes"))).isAllowed(g.scheme))return!1;c.setProtocol(g.scheme||"");if(!e&&j.test(g.host||""))return!1;c.setDomain(g.host||"");c.setPort(g.port||"");c.setPath(g.path||"");if(e)c.setQueryData(f.deserialize(g.query||"")||{});else try{c.setQueryData(f.deserialize(g.query||"")||{})}catch(a){return!1}c.setFragment(g.fragment||"");g.fragment===""&&c.setForceFragmentSeparator(!0);c.setIsGeneric(g.isGenericURI||!1);c.setOriginalRawQuery(g.query);c.setQueryParamModified(!1);if(g.userinfo!==null){if(e)throw new Error("URI.parse: invalid URI (userinfo is not allowed in a URI): "+d);return!1}if(!c.getDomain()&&c.getPath().indexOf("\\")!==-1){if(e)throw new Error("URI.parse: invalid URI (no domain but multiple back-slashes): "+d);return!1}if(!c.getProtocol()&&k.test(d)){if(e)throw new Error("URI.parse: invalid URI (unsafe protocol-relative URLs): "+d+"'");return!1}if(c.getDomain()&&c.getPath()&&!ES(c.getPath(),"startsWith",!0,"/")){if(e)throw new Error("URI.parse: invalid URI (domain and path where path lacks leading slash): "+d);return!1}f=c.getProtocol()==="mailto"||c.getProtocol()==="tel"||c.getProtocol()==="sms";c.getProtocol()&&!f&&!c.getDomain()&&c.getPath()!==""&&b("FBLogger")("uri").warn('URI.parse: invalid URI (protocol "'+c.getProtocol()+'" with no domain)');return!0};a.tryParse=function(b,c){var d=new a(null,c);return a.parse(d,b,!1,c)?d:null};a.isValid=function(b,c){return!!a.tryParse(b,c)};function a(b,c){c||g(0,2966),this.$9=c,this.$7="",this.$1="",this.$6="",this.$5="",this.$3="",this.$4=!1,this.$8={},this.$2=!1,a.parse(this,b,!0,c),this.$11=!1}var c=a.prototype;c.setProtocol=function(a){(i||(i=b("URISchemes"))).isAllowed(a)||g(0,11793,a);this.$7=a;return this};c.getProtocol=function(){return(this.$7||"").toLowerCase()};c.setSecure=function(a){return this.setProtocol(a?"https":"http")};c.isSecure=function(){return this.getProtocol()==="https"};c.setDomain=function(a){if(j.test(a))throw new Error("URI.setDomain: unsafe domain specified: "+a+" for url "+this.toString());this.$1=a;return this};c.getDomain=function(){return this.$1};c.setPort=function(a){this.$6=a;return this};c.getPort=function(){return this.$6};c.setPath=function(a){this.$5=a;return this};c.getPath=function(){return this.$5};c.addQueryData=function(a,b){Object.prototype.toString.call(a)==="[object Object]"?ES("Object","assign",!1,this.$8,a):this.$8[a]=b;this.$11=!0;return this};c.setQueryData=function(a){this.$8=a;this.$11=!0;return this};c.getQueryData=function(){return this.$8};c.setQueryString=function(a){return this.setQueryData(this.$9.deserialize(a))};c.getQueryString=function(a,b,c){a===void 0&&(a=!1);b===void 0&&(b=function(){return!1});c===void 0&&(c=null);return this.$12(!1,a,b,c)};c.$12=function(a,b,c,d){a===void 0&&(a=!1);b===void 0&&(b=!1);c===void 0&&(c=function(){return!1});d===void 0&&(d=null);if(!this.$11&&(b||c(this.getDomain()))){return(b=this.$10)!=null?b:""}return(a&&d?d:this.$9).serialize(this.getQueryData())};c.removeQueryData=function(a){Array.isArray(a)||(a=[a]);for(var b=0,c=a.length;b0||this.getFragment())};c.toString=function(a,b){a===void 0&&(a=function(){return!1});b===void 0&&(b=null);return this.$13(!1,!1,a,b)};c.toStringRawQuery=function(a,b){a===void 0&&(a=function(){return!1});b===void 0&&(b=null);return this.$13(!0,!1,a,b)};c.toStringPreserveQuery=function(a,b){a===void 0&&(a=function(){return!1});b===void 0&&(b=null);return this.$13(!1,!0,a,b)};c.toStringStrictQueryEncoding=function(a){a===void 0&&(a=function(){return!1});return this.$13(!0,!1,a,b("PHPStrictQuerySerializer"))};c.$13=function(a,b,c,d){a===void 0&&(a=!1);b===void 0&&(b=!1);c===void 0&&(c=function(){return!1});d===void 0&&(d=null);var e=this;for(var f=0;f0||h(0,4698);this.$1.length===this.$2.length||h(0,4699);var a=this.$1,b=this.$2;this.$1=[];this.$2=[];this.$4=null;if(a.length===1){var d=a[0],e=b[0],f=d.body?c("QueryString").decode(d.body):null;this.executeRequest(d.relative_url,d.method,f,e);return}this.executeRequest("/","POST",{batch:a,include_headers:!1,batch_app_id:this.$3||j},function(a){Array.isArray(a)?a.forEach(function(a,d){b[d](c("sdk.safelyParseResponse")(a&&a.body))}):b.forEach(function(a){return a({error:{message:"Fatal: batch call failed."}})})})};return a}();g["default"]=a}),98); __d("RequestConstants",["errorCode"],(function(a,b,c,d,e,f,g,h){a={code:1,error_subcode:1357045,message:"unknown error (empty response)",type:"http",status:0};g.PARSE_ERROR_TEMPLATE=a}),98); __d("ObservableMixin",[],(function(a,b,c,d,e,f){function a(){this.__observableEvents={}}a.prototype={inform:function(a){var b=Array.prototype.slice.call(arguments,1),c=Array.prototype.slice.call(this.getSubscribers(a));for(var d=0;d=r;if(f){q.push(function(){return v(a,b,d,e)});y.inform("request.queued",a,b,d);return}p++;var g=babelHelpers["extends"]({},j,d);g.pretty=g.pretty||0;g=c("flattenObject")(g);f={cors:c("CORSRequest")};var i={},m=g.access_token||h;m&&(i.access_token=m);b!=="get"&&k.forEach(function(a){i[a]=g[a]});m=Object.keys(i);m.length>0&&(a=c("QueryString").appendToUrl(a,i),delete g.access_token);m=o;for(var n=0;n0&&pm&&b==="get"}f=y;g["default"]=f}),98); __d("DOMWrapper",[],(function(a,b,c,d,e,f){"use strict";var g,h;function a(a){g=a}function b(){return g||document.body}function c(a){h=a}function d(){return h||self}f.setRoot=a;f.getRoot=b;f.setWindow=c;f.getWindow=d}),66); __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}f["default"]=a}),66); __d("guid",[],(function(a,b,c,d,e,f){function a(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}f["default"]=a}),66); __d("GlobalCallback",["DOMWrapper","dotAccess","guid","wrapFunction"],(function(a,b,c,d,e,f,g){var h,i;function j(a){h=c("dotAccess")(d("DOMWrapper").getWindow(),a,!0),i=a}function a(a,b){h||j("__globalCallbacks");var d=c("guid")();h[d]=c("wrapFunction")(a,"entry",(a=b)!=null?a:"GlobalCallback");return i+"."+d}function b(a){a=a.substring(i.length+1);delete h[a]}g.setPrefix=j;g.create=a;g.remove=b}),98); __d("sdk.UA",[],(function(a,b,c,d,e,f){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)&&!/FBAN\/mLite;/.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]:""}}e=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(a);e&&(i.osx=e[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 String(a).split(".").map(function(a){return parseFloat(a)})}var k={};Object.keys(i).map(function(a){var b=function(){return parseFloat(i[a])};b.getVersionParts=function(){return j(i[a])};k[a]=b});Object.keys(g).map(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};k.isSupportedIABVersion=function(a){if(!k.facebookInAppBrowser())return!1;var b=/(?:FBAV\/(\d+(\.\d+)+))/.exec(navigator.userAgent);if(b){b=parseFloat(b[1]);if(b>=a)return!0}return!1};d=k;f["default"]=d}),66); __d("sdk.domReady",[],(function(a,b,c,d,e,f){var g;c="readyState"in document?/loaded|complete/.test(document.readyState):!!document.body;function a(){if(!g)return;var a;while(a=g.shift())a();g=null}function b(a){if(g){g.push(a);return}else a()}c||(g=[],document.addEventListener?(document.addEventListener("DOMContentLoaded",a,!1),window.addEventListener("load",a,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",a),window.attachEvent("onload",a)));f["default"]=b}),67); __d("sdk.Content",["Log","sdk.UA","sdk.domReady"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function j(a,b){b||(!h?(h=b=document.getElementById("fb-root"),b||(d("Log").warn('The "fb-root" div has not been created, auto-creating'),h=b=document.createElement("div"),b.id="fb-root",c("sdk.UA").ie()||!document.body?c("sdk.domReady")(function(){b&&document.body&&document.body.appendChild(b)}):document.body.appendChild(b)),b.className+=" fb_reset"):b=h);b.appendChild(a);return a}function k(a){if(!i){i=document.createElement("div");var b=i.style;b.position="absolute";b.top="-10000px";b.width="0";b.height="0";i=j(i)}return j(a,i)}function a(a,b){var c=document.createElement("form");c.action=a.url;c.target=a.target;c.method=b?"GET":"POST";k(c);for(var b in a.params)if(Object.prototype.hasOwnProperty.call(a.params,b)){var d=a.params[b];if(d!=null){var e=document.createElement("input");e.name=b;e.value=d;c.appendChild(e)}}c.submit();c.parentNode&&c.parentNode.removeChild(c)}g.append=j;g.appendHidden=k;g.submitToTarget=a}),98); __d("sdk.DOM",["guid","sdk.domReady"],(function(a,b,c,d,e,f,g){var h={},i={};function j(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!=null?String(a):null}function a(a,b){a=j(a,b);return a!=null?/^(true|1|yes|on)$/.test(a):null}function b(a,b){try{a.innerHTML=b}catch(a){throw new Error("Could not set innerHTML : "+a.message)}}function k(a,b){a=" "+a.className+" ";return a.indexOf(" "+b+" ")>=0}function d(a,b){if(a==null)return;k(a,b)||(a.className=a.className+" "+b)}function e(a,b){if(a==null)return;b=new RegExp("\\s*"+b,"g");a.className=a.className.replace(b,"").trim()}function f(a,b,c){c===void 0&&(c="*");b=b||document.body;if(b==null)return[];c=c||"*";return ES("Array","from",!1,b.querySelectorAll(c+"."+a))}function l(a,b){b=u(b);var c=document.defaultView.getComputedStyle(a).getPropertyValue(b);c=a.style.getPropertyValue(b);/background-position?/.test(b)&&/top|left/.test(c)&&(c="0%");return c}function m(a,b,c){a.style.setProperty(u(b),c)}function n(a,b,c,d,e){a=a.styleSheets;for(var f=0;f1?b-1:0),f=1;fDate.now())return a}catch(a){return null}}return null}g.setLocalStorageToken=a;g.removeLocalStorageToken=b;g.setSessionStorage=e;g.getLocalStorageTokens=f;g.getCachedResponse=i}),98); __d("Base64",[],(function(a,b,c,d,e,f){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,a.map(function(a){return g.charCodeAt((a|-(a>63?1:0))&-(a>0?1:0)&63)}))}};a=k;f["default"]=a}),66); __d("sdk.SignedRequest",["Base64"],(function(a,b,c,d,e,f,g){function a(a){if(a==null||a==="")return null;a=a.split(".",2)[1].replace(/\-/g,"+").replace(/\_/g,"/");return c("Base64").decodeObject(a)}g.parse=a}),98); __d("Miny",[],(function(a,b,c,d,e,f){var g="Miny1",h="wxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_".split("");a={encode:function(a){if(/^$|[~\\]|__proto__/.test(a))return a;a=(a=a.match(/\w+|\W+/g))!=null?a:[];var b,c=Object.create(null);for(b=0;b';a.root.innerHTML='';f=!0;window.setTimeout(function(){a.root.innerHTML=j,a.root.firstChild.src=a.url,typeof a.onInsert==="function"&&a.onInsert(a.root.firstChild)},0)}else{i=document.createElement("iframe");i.id=b;i.name=e;i.onload=h;i.scrolling="no";i.style.border="none";i.style.overflow="hidden";a.title!=null&&(i.title=a.title);a.className!=null&&(i.className=a.className);a.height!==void 0&&(i.style.height=a.height+"px");a.width!==void 0&&(a.width==="100%"?i.style.width=a.width:i.style.width=a.width+"px");a.root.appendChild(i);f=!0;i.src=a.url;a.onInsert&&a.onInsert(i)}}g["default"]=a}),98); __d("sdk.Impressions",["Miny","QueryString","UrlMap","getBlankIframeSrc","guid","insertIframe","sdk.Content","sdk.Runtime"],(function(a,b,c,d,e,f,g){function h(a,b){b===void 0&&(b=!1);var e=c("sdk.Runtime").getClientID(),f=c("sdk.Runtime").isEnvironment(c("sdk.Runtime").ENVIRONMENTS.CANVAS);e&&(typeof a.api_key!=="string"||a.api_key==="")&&(a.api_key=e);a.kid_directed_site=c("sdk.Runtime").getKidDirectedSite();e=d("UrlMap").resolve("www")+"/platform/impression.php/"+c("guid")()+"/";f&&(e=d("UrlMap").resolve("www")+"/platform/canvas_impression.php/"+c("guid")()+"/");var g=c("QueryString").appendToUrl(e,a);if(g.length>2e3&&(a.payload&&typeof a.payload==="string")){var h=a.payload,k=c("Miny").encode(h);k&&k.length0){var e="";for(var f=0;f-1;if(!e&&!b){e=d("sdk.AuthStorageUtils").getCachedResponse();if(e!=null){var f;c("sdk.AuthState").setState({loadState:"loaded"});c("sdk.Auth").setAuthResponse(e.authResponse,(f=e.status)!=null?f:"unknown","facebook",!0);d("sdk.AuthUtils").setRevalidateTimer(e.status==="connected"?d("sdk.AuthUtils").AuthConstants.CONNECTED_REVALIDATE_PERIOD:d("sdk.AuthUtils").AuthConstants.DEFAULT_REVALIDATE_PERIOD)}}if(!b)if(c("sdk.AuthState").getState().loadState==="loaded"){if(a){f={authResponse:c("sdk.Auth").getAuthResponse(),status:c("sdk.Runtime").getLoginStatus()};a(f)}return}else if(c("sdk.AuthState").getState().loadState==="loading"){a&&d("sdk.AuthUtils").AuthInternalEvent.subscribe("FB.loginStatus",a);return}a&&d("sdk.AuthUtils").AuthInternalEvent.subscribe("FB.loginStatus",a);c("sdk.AuthState").setState({loadState:"loading"});e=function(a){c("sdk.AuthState").setState({loadState:"loaded"}),d("sdk.AuthUtils").AuthInternalEvent.inform("FB.loginStatus",a),d("sdk.AuthUtils").AuthInternalEvent.clearSubscribers("FB.loginStatus")};i(e)}function m(a){var b="unknown";c("sdk.Auth").setAuthResponse(null,b,null);b={authResponse:null,status:b,loginSource:null};a&&a(b)}var n={getLoginStatus:l,fetchLoginStatus:i,onSDKInit:a};b=n;g["default"]=b}),98); __d("sdk.LoggingUtils",["sdk.Impressions","sdk.feature"],(function(a,b,c,d,e,f,g){"use strict";var h={buttonLoad:"client_login_button_load",buttonClick:"client_login_click",loginSuccess:"client_login_success",loginCancel:"client_login_cancel",popupHide:"client_login_popup_hide_xfoa",popupShow:"client_login_popup_show_xfoa",loginEnd:"client_login_end",loginStart:"client_login_start",loginCompleteHeartbeat:"client_login_complete_heartbeat",loginStatusPopupShowXfoa:"client_login_status_popup_show_xfoa",loginStatusPopupHideXfoa:"client_login_status_popup_hide_xfoa",loginStatusPopupClickXfoa:"client_login_status_popup_click_xfoa",loginStatusPopupErrorXfoa:"client_login_status_popup_error_xfoa"};function i(a,b,e){d("sdk.Impressions").log(117,{payload:babelHelpers["extends"]({},e||{},{logger_id:a,action:b,client_funnel_version:c("sdk.feature")("oauth_funnel_logger_version",1)})})}function a(a,b){var c=a&&a.cbt!==void 0?Number(a.cbt):0;i(a==null?void 0:a.logger_id,b,{cbt_delta:Date.now()-c})}function b(a,b){b!==void 0&&i(a,b)}function e(a,b){a!==void 0&&i(b,h.loginStatusPopupErrorXfoa,{message:a})}g.logEventName=h;g.logEvent=i;g.logLoginEvent=a;g.logPopupEvent=b;g.logDisambiguationTrayEvent=e}),98); __d("sdk.Auth",["Log","UrlMap","sdk.AuthState","sdk.AuthStorageUtils","sdk.AuthUtils","sdk.Cookie","sdk.Frictionless","sdk.LoggingUtils","sdk.Runtime","sdk.Scribe","sdk.SignedRequest","sdk.URI","sdk.ui"],(function(a,b,c,d,e,f,g){b("sdk.Frictionless");var h=5*1e3;function a(a,b){b&&b.perms&&!b.scope&&(b.scope=b.perms,delete b.perms,d("Log").warn("OAuth2 specification states that 'perms' should now be called 'scope'. Please update."));var e=c("sdk.Runtime").isEnvironment(c("sdk.Runtime").ENVIRONMENTS.CANVAS)||c("sdk.Runtime").isEnvironment(c("sdk.Runtime").ENVIRONMENTS.PAGETAB);c("sdk.ui")(babelHelpers["extends"]({method:"permissions.oauth",display:e?"async":"popup",domain:location.hostname},b||{}),a)}function i(a){switch(a){case"connected":return"connected";case"not_authorized":return"not_authorized";default:return"unknown"}}function e(a){(a==null?void 0:a.shouldSetAuthResponse)!==!1&&((a==null?void 0:a.status)==="connected"&&d("sdk.AuthUtils").setRevalidateTimer(),j(a==null?void 0:a.authResponse,i(a==null?void 0:a.status),a==null?void 0:a.loginSource));var b=a==null?void 0:a.cb;if(b!=null){a={authResponse:a==null?void 0:a.authResponse,status:i(a==null?void 0:a.status),loginSource:a==null?void 0:a.loginSource};b(a)}d("sdk.AuthUtils").AuthInternalEvent.clearSubscribers(d("sdk.AuthUtils").AuthConstants.CORS_FETCH_COMPLETED_EVENT);d("sdk.AuthUtils").AuthInternalEvent.clearSubscribers(d("sdk.AuthUtils").AuthConstants.XFOA_FINAL_RESPONSE_EVENT)}function j(a,b,e,f){e===void 0&&(e="facebook");f===void 0&&(f=!1);var g=c("sdk.Runtime").getUserID(),h=c("sdk.Runtime").getLoginStatus(),i="";if(a!=null){c("sdk.AuthState").setState({loadState:"loaded"});if(a.userID!=null&&a.userID!=="")i=a.userID;else if(a.signedRequest!=null&&a.signedRequest!==""){var j=d("sdk.SignedRequest").parse(a.signedRequest);j!=null&&j!==""&&j.user_id!=null&&j.user_id!==""&&(i=j.user_id)}if(c("sdk.Runtime").getUseCookie()){j=a.expiresIn===0?0:Date.now()+a.expiresIn*1e3;d("sdk.Cookie").setSignedRequestCookie(a.signedRequest,j)}}else{c("sdk.Runtime").getUseCookie()&&d("sdk.Cookie").clearSignedRequestCookie();if(c("sdk.Runtime").getUseLocalStorage()){d("sdk.AuthStorageUtils").removeLocalStorageToken((j=e)!=null?j:"facebook")}}j=h==="unknown"&&a!=null||c("sdk.Runtime").getUseCookie()&&c("sdk.Runtime").getCookieUserID()!==i;var k=g!=null&&g!==""&&a==null;g=a!=null&&g!=null&&g!==""&&g!=i;var l=a!=c("sdk.AuthState").getState().currentAuthResponse;h=b!=h;c("sdk.Runtime").setLoginStatus(b);c("sdk.Runtime").setAccessToken(a&&a.accessToken||null);c("sdk.Runtime").setUserID(i);c("sdk.Runtime").setGraphDomain(a&&a.graphDomain||"");c("sdk.AuthState").setState({currentAuthResponse:a});i={authResponse:a,status:b,loginSource:e};(k||g)&&d("sdk.AuthUtils").AuthInternalEvent.inform("logout",i);(j||g)&&d("sdk.AuthUtils").AuthInternalEvent.inform("login",i);l&&d("sdk.AuthUtils").AuthInternalEvent.inform("authresponse.change",i);h&&d("sdk.AuthUtils").AuthInternalEvent.inform("status.change",i);f||d("sdk.AuthStorageUtils").setSessionStorage(a,b);return i}function k(){return c("sdk.AuthState").getState().currentAuthResponse}function f(a){var b=k(),e=d("sdk.AuthUtils").isInstagramLogin(b)?"instagram":"facebook";j(null,"unknown",e);d("sdk.AuthUtils").setLogoutState();if(b!=null&&b.accessToken!=null){e=new(c("sdk.URI"))(d("UrlMap").resolve("www").replace("web.","www.")+"/x/oauth/logout").addQueryData("access_token",b.accessToken);var f=new XMLHttpRequest(),g=!1;f&&(f.open("GET",e.toString(),!0),f.withCredentials=!0,a&&(f.onreadystatechange=function(){if(f.readyState>=2){if(g)return;a({authResponse:k(),status:c("sdk.Runtime").getLoginStatus()});g=!0}}),f.send())}d("sdk.Scribe").log("jssdk_error",{appId:c("sdk.Runtime").getClientID(),error:"PLATFORM_AUTH_LOGOUT",extra:{args:{fblo:!0}}})}function l(a,b,e,f){return function(e){if(e&&e.access_token){var g=d("sdk.SignedRequest").parse(e.signed_request);g=g!=null?g.user_id!=null?g.user_id:null:null;b={accessToken:e.access_token,userID:g,expiresIn:Number(e.expires_in),signedRequest:e.signed_request,graphDomain:e.graph_domain};e.asset_scopes&&(b=babelHelpers["extends"]({},b,{asset_scopes:ES("JSON","parse",!1,e.asset_scopes)}));b=n(b,e);d("sdk.AuthUtils").removeLogoutState();g="connected";j(b,g);m(f)}else if(e&&e.asset_scopes)b={asset_scopes:ES("JSON","parse",!1,e.asset_scopes)},b=n(b,e),d("sdk.AuthUtils").removeLogoutState(),g="connected",j(b,g),m(f);else if(e&&(e.error||e.error_message||e.error_description||e.error_code||e.error_reason||e.result&&e.result.closeWindow)){d("sdk.AuthUtils").setLogoutState();g="unknown";j(null,g);var h=e.error_message||e.error_description;g={authResponse:k(),status:g,message:h};e.error==="access_denied"||e.result&&e.result.closeWindow?d("sdk.AuthUtils").AuthInternalEvent.inform("loginDenied",g):d("sdk.AuthUtils").AuthInternalEvent.inform("loginError",g)}else e&&e.result&&(d("sdk.AuthUtils").removeLogoutState(),b=e.result.authResponse);if(a){h={authResponse:b,status:c("sdk.Runtime").getLoginStatus()};a(h)}return b}}function m(a){if(a&&a.tp&&a.tp!=="unspecified")return;d("sdk.LoggingUtils").logLoginEvent(a,d("sdk.LoggingUtils").logEventName.loginEnd);window.setTimeout(function(){d("sdk.LoggingUtils").logLoginEvent(a,d("sdk.LoggingUtils").logEventName.loginCompleteHeartbeat)},h)}function n(a,b){b.granted_scopes&&(a=babelHelpers["extends"]({},a,{grantedScopes:b.granted_scopes}));b.data_access_expiration_time&&(a=babelHelpers["extends"]({},a,{data_access_expiration_time:Number(b.data_access_expiration_time)}));b.base_domain!=null&&d("sdk.AuthUtils").setBaseDomain(b.base_domain);d("sdk.AuthUtils").setGraphDomain(b.graph_domain);b.enforce_https&&c("sdk.Runtime").setEnforceHttps(!0);b.referred&&(a=babelHelpers["extends"]({},a,{referred:b.referred}));d("sdk.AuthStorageUtils").setLocalStorageToken(a,b.long_lived_token);return a}b={setFinalAuthResponse:e,login:a,logout:f,setAuthResponse:j,getAuthResponse:k,parseSignedRequest:d("sdk.SignedRequest").parse,xdResponseWrapper:l,subscribe:d("sdk.AuthUtils").AuthInternalEvent.subscribe,unsubscribe:d("sdk.AuthUtils").AuthInternalEvent.unsubscribe};e=b;g["default"]=e}),98); __d("dedupString",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b;return Object.keys((b={},b[a]=0,b))[0]}f["default"]=a}),66); __d("emptyFunction",[],(function(a,b,c,d,e,f){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};c=b;f["default"]=c}),66); __d("DOMEventListener",["invariant","dedupString","emptyFunction","wrapFunction"],(function(a,b,c,d,e,f,g){var h=!1;try{a=Object.defineProperty({},"passive",{get:function(){h=!0}});window.addEventListener("test",null,a)}catch(a){}var i,j;window.addEventListener?(i=function(a,c,d,e){e===void 0&&(e=!1),d.wrapper=b("wrapFunction")(d,"entry",b("dedupString")("DOMEventListener.add "+c)),a.addEventListener(c,d.wrapper,h?e:!1)},j=function(a,b,c,d){d===void 0&&(d=!1),a.removeEventListener(b,c.wrapper,h?d:!1)}):window.attachEvent?(i=function(a,c,d,e){e===void 0,d.wrapper=b("wrapFunction")(d,"entry","DOMEventListener.add "+c),a.attachEvent||g(0,2798),a.attachEvent("on"+c,d.wrapper)},j=function(a,b,c,d){d===void 0,a.detachEvent||g(0,2799),a.detachEvent("on"+b,c.wrapper)}):j=i=b("emptyFunction");c={add:function(a,b,c,d){d===void 0&&(d=!1);i(a,b,c,d);return{remove:function(){j(a,b,c,d)}}},remove:j};e.exports=c}),null); __d("JSONRPC",["Log"],(function(a,b,c,d,e,f){a=function(){"use strict";function a(a){var b=this;this.$1=0;this.$2={};this.remote=function(a){b.$3=a;return b.remote};this.local={};this.$4=a}var c=a.prototype;c.stub=function(a){var b=this;this.remote[a]=function(){var c={jsonrpc:"2.0",method:a};for(var d=arguments.length,e=new Array(d),f=0;fg&&(k=g);k+=(e=m.scrollTop)!=null?e:0;if(c("sdk.UA").mobile()){n=100;if(b){n+=((g=m.height)!=null?g:h-l)/2;d("sdk.DOM").addCss(document.body,"fb_reposition")}else d("sdk.DOM").addCss(document.body,"fb_hidden"),document.body.style.width="auto",k=1e4;e=d("sdk.DOM").getByClass("fb_dialog_padding",a);e.length&&(e[0].style.height=n+"px")}a.style.left=(f>0?f:0)+"px";a.style.top=(k>0?k:0)+"px"}function m(a,b,c){l(a,b,c);b=d("sdk.DOM").getViewportInfo();b=(c=b.scrollTop)!=null?c:0+((c=b.height)!=null?c:h-a.offsetHeight)*.05;d("sdk.DOM").setStyle(a,"top",b+"px")}function n(){var a=document.createElement("div");a.setAttribute("id","fb_dialog_ipad_overlay");k(a);return a}function o(a){a=a||{};var b=document.createElement("div"),e=a;e=e.onClose;if(a.closeIcon&&e){var f=document.createElement("a");f.className="fb_dialog_close_icon";d("DOMEventListener").add(f,"click",e);b.appendChild(f)}e="fb_dialog";e+=" "+(a.classes||"");e+=c("sdk.UA").mobile()?" fb_dialog_mobile":" fb_dialog_advanced";b.className=e;if(a.width){f=parseInt(a.width,10);isNaN(f)||(b.style.width=f+"px")}e=document.createElement("div");a.content&&d("sdk.Content").append(a.content,e);e.className="fb_dialog_content";b.appendChild(e);if(c("sdk.UA").mobile()){f=document.createElement("div");f.className="fb_dialog_padding";b.appendChild(f)}return{dialogElement:b,contentRoot:e}}function p(a){var b=document.body;a?d("sdk.DOM").removeCss(b,"fb_reposition"):d("sdk.DOM").removeCss(b,"fb_hidden")}g.isOrientationPotrait=a;g.addDoubleClickAction=b;g.addIdleDesktopAction=e;g.addMobileOrientationChangeAction=f;g.applyScreenDimensions=k;g.setDialogPositionToCenter=l;g.setDialogPositionToTop=m;g.setupNewDarkOverlay=n;g.setupNewDialog=o;g.onDialogHideCleanup=p}),98); __d("sdk.fbt",[],(function(a,b,c,d,e,f){a=function(){};a._=function(a){var b=typeof a==="string"?a:a[0];b==null&&(typeof a==="object"&&a!==null&&!Array.isArray(a)&&"*"in a&&(b=a["*"]));return b};b=a;f["default"]=b}),66); __d("sdk.Dialog",["DOMEventListener","ObservableMixin","Type","sdk.Canvas.Environment","sdk.Content","sdk.DOM","sdk.DialogUtils","sdk.Runtime","sdk.UA","sdk.fbt"],(function(a,b,c,d,e,f,g){var h=30,i=590,j=500,k=240,l=575;function m(){var a=d("sdk.DOM").getViewportInfo(),b=a.height;a=a.width;return b!=null&&a!=null?{width:Math.min(a,j),height:Math.min(b,i)}:null}var n=c("Type").extend({constructor:function(a,b){this.parent(),this.id=a,this.display=b,this._e2e={},o._dialogs||(o._dialogs={},o._addOrientationHandler()),o._dialogs[a]=this,this.trackEvent("init")},trackEvent:function(a,b){if(this._e2e[a])return this;this._e2e[a]=b||Date.now();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}},c("ObservableMixin")),o={newInstance:function(a,b){return new n(a,b)},_dialogs:null,_lastYOffset:0,_availScreenWidth:null,_overlayListeners:[],_loaderEl:null,_overlayEl:null,_stack:[],_active:null,get:function(a){return o._dialogs[a]},_findRoot:function(a){a=a;while(a){if(d("sdk.DOM").containsCss(a,"fb_dialog"))return a;a.parentElement instanceof HTMLElement&&(a=a.parentElement)}},_createWWWLoader:function(a){a=a?a:"460";var b=document.createElement("div");b.innerHTML='
Facebook
';return o.create({content:b,width:a})},_createMobileLoader:function(){var a=document.createElement("div");c("sdk.UA").nativeApp()?a.innerHTML='
':o.isTabletStyle()?a.innerHTML='":a.innerHTML='
'+c("sdk.fbt")._("Loading...")+'
';return o.create({classes:"loading"+(o.isTabletStyle()?" centered":""),content:a})},_setDialogOverlayStyle:function(){o._overlayEl!=null&&d("sdk.DialogUtils").applyScreenDimensions(o._overlayEl)},_showTabletOverlay:function(a){if(!o.isTabletStyle())return;if(o._overlayEl==null){a=d("sdk.DialogUtils").setupNewDarkOverlay();a.className="";o._overlayEl=a;d("sdk.Content").append(o._overlayEl,null)}else o._overlayEl.className=""},_hideTabletOverlay:function(){o.isTabletStyle()&&(o._overlayEl!=null&&(o._overlayEl.className="hidden"),o._overlayListeners.forEach(function(a){return a.remove()}),o._overlayListeners=[])},showLoader:function(a,b){a||(a=function(){});var e=function(){o._hideLoader(),d("sdk.DialogUtils").onDialogHideCleanup(o.isTabletStyle()),o._hideTabletOverlay(),a!=null&&a()};o._showTabletOverlay(e);o._loaderEl||(o._loaderEl=o._findRoot(c("sdk.UA").mobile()?o._createMobileLoader():o._createWWWLoader(b)));b=document.getElementById("fb_dialog_loader_close");if(b){d("sdk.DOM").removeCss(b,"fb_hidden");b=d("DOMEventListener").add(b,"click",e);o._overlayListeners.push(b)}o._loaderEl!=null&&o._makeActive(o._loaderEl)},_hideLoader:function(){o._loaderEl&&o._loaderEl==o._active&&(o._loaderEl.style.top="-10000px")},_makeActive:function(a){o._setDialogSizes(),o._lowerActive(),o._active=a,c("sdk.Runtime").isEnvironment(c("sdk.Runtime").ENVIRONMENTS.CANVAS)&&c("sdk.Canvas.Environment").getPageInfo(function(a){o._centerActive(a)}),o._centerActive()},_lowerActive:function(){if(!o._active)return;o._active.style.top="-10000px";o._active=null},_removeStacked:function(a){o._stack=o._stack.filter(function(b){return b!=a})},_centerActive:function(a){var b=o._active;if(!b)return;d("sdk.DialogUtils").setDialogPositionToCenter(b,o.isTabletStyle(),a)},_setDialogSizes:function(a){a===void 0&&(a=!1);if(!c("sdk.UA").mobile())return;for(var b in o._dialogs)if(Object.prototype.hasOwnProperty.call(o._dialogs,b)){var d=document.getElementById(b);d&&(d.style.width=o.getDefaultSize().width+"px",a||(d.style.height=o.getDefaultSize().height+"px"))}},getDefaultSize:function(){if(c("sdk.UA").mobile()){var a=m();if(a){var b;if((b=(b=d("sdk.DOM").getViewportInfo())==null?void 0:b.width)!=null?b:j<=a.width){a.width=(b=(b=d("sdk.DOM").getViewportInfo())==null?void 0:b.width)!=null?b:j-h}if((b=(b=d("sdk.DOM").getViewportInfo())==null?void 0:b.height)!=null?b:i<=a.height){a.height=(b=(b=d("sdk.DOM").getViewportInfo())==null?void 0:b.height)!=null?b:i-h}return a}if(c("sdk.UA").ipad())return{width:j,height:i};if(c("sdk.UA").android())return{width:screen.availWidth,height:screen.availHeight};else{b=window.innerWidth;a=window.innerHeight;var e=b/a>1.2;return{width:b,height:Math.max(a,e?screen.width:screen.height)}}}return{width:l,height:k}},_handleOrientationChange:function(){var a;o._availScreenWidth=(a=(a=d("sdk.DOM").getViewportInfo())==null?void 0:a.width)!=null?a:j;if(o.isTabletStyle())o._setDialogSizes(!0),o._centerActive(),o._setDialogOverlayStyle();else{a=o.getDefaultSize().width;for(var b in o._dialogs)if(Object.prototype.hasOwnProperty.call(o._dialogs,b)){var c=document.getElementById(b);c&&(c.style.width=a+"px")}}},_addOrientationHandler:function(){var a;if(!c("sdk.UA").mobile())return;o._availScreenWidth=(a=(a=d("sdk.DOM").getViewportInfo())==null?void 0:a.width)!=null?a:j;d("sdk.DialogUtils").addMobileOrientationChangeAction(o._handleOrientationChange)},create:function(a){var b=d("sdk.DialogUtils").setupNewDialog(a);d("sdk.Content").append(b.dialogElement);a.visible&&o.show(b.dialogElement);typeof a.styles==="object"&&ES("Object","assign",!1,b.dialogElement.style,a.styles);return b.contentRoot},show:function(a){var b=o._findRoot(a);b!=null&&(o._removeStacked(b),o._hideLoader(),o._makeActive(b),o._stack.push(b),"fbCallID"in a&&o.get(a.fbCallID).inform("iframe_show").trackEvent("show"))},hide:function(a){var b=o._findRoot(a);o._hideLoader();b==o._active&&(o._lowerActive(),d("sdk.DialogUtils").onDialogHideCleanup(o.isTabletStyle()),o._hideTabletOverlay(),"fbCallID"in a&&o.get(a.fbCallID).inform("iframe_hide").trackEvent("hide"))},remove:function(a){var b=o._findRoot(a);if(b){a=o._active==b;o._removeStacked(b);a?(o._hideLoader(),o._stack.length>0?o.show(o._stack.pop()):(o._lowerActive(),d("sdk.DialogUtils").onDialogHideCleanup(o.isTabletStyle()),o._hideTabletOverlay())):o._active===null&&o._stack.length>0&&o.show(o._stack.pop());window.setTimeout(function(){var a;(a=b.parentNode)==null?void 0:a.removeChild(b)},3e3)}},isActive:function(a){a=o._findRoot(a);return a!=null&&a===o._active},isTabletStyle:function(){if(!c("sdk.UA").mobile())return!1;var a=m();return a!=null&&(a.height>=i||a.width>=j)}};a=o;g["default"]=a}),98); __d("sdk.Event",[],(function(a,b,c,d,e,f){"use strict";var g="event.subscribe",h="event.unsubscribe",i;function j(){i||(i={});return i}function k(a,b){var c=j();!c[a]?c[a]=[b]:c[a].indexOf(b)==-1&&c[a].push(b);a!=g&&a!=h&&m(g,a,c[a])}function l(a,b){var c=j()[a];c&&c.forEach(function(a,d){a===b&&c.splice(d,1)});a!=g&&a!=h&&m(h,a,c)}function a(a,b){var c=arguments;if(!b()){var d=function d(){b.apply(b,c)&&l(a,d)};k(a,d)}}function b(a){delete j()[a]}function m(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d0)g--,d("Log").debug("resending xdArbiterRegister"),i();else{window.clearInterval(f);if(g===0){d("sdk.Scribe").log("jssdk_error",{appId:c("sdk.Runtime").getClientID(),error:"XD_FB_QUEUE_INITIALIZATION",extra:{message:"Failed to initialize in "+e+"ms"}});d("Log").error("xdAbiterRegisterAck not received");return}}},b)}var w={rpc:c("sdk.RPC"),_callbacks:{},_forever:{},_channel:m,_origin:n,onMessage:s,init:u,sendToFacebook:t,inform:function(a,b,c,d){t("facebook",{method:a,params:ES("JSON","stringify",!1,b||{}),behavior:d||"p",relation:c})},handler:function(a,b,d,e){a="#"+c("QueryString").encode({cb:w.registerCallback(a,d,e),origin:n+"/"+m,domain:location.hostname,relation:b||"opener",is_canvas:c("sdk.Runtime").isCanvasEnvironment()});return l+a},registerCallback:function(a,b,d){d=d||c("guid")();b&&(w._forever[d]=!0);w._callbacks[d]=a;return d}};d("sdk.Event").subscribe("init:post",function(a){j=a.xdProxyName,u(a.xdProxyName)});f.exports=w}),34); __d("sdk.modFeatureCheck",["JSSDKConfig"],(function(a,b,c,d,e,f,g){function a(a,b,c){c===void 0&&(c=!1);if(d("JSSDKConfig").features&&a in d("JSSDKConfig").features){var e=d("JSSDKConfig").features[a];if(typeof e==="object"&&Array.isArray(e))return b.some(function(a){return e.some(function(b){return a%b===0})})}return c}g.forIDs=a}),98); __d("sdk.openMessenger",["sdk.UA"],(function(a,b,c,d,e,f,g){"use strict";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,d,e=a.link;a=a.app_id;c("sdk.UA").android()?(b="intent://share/#Intent;package=com.facebook.orca;scheme=fb-messenger;S.android.intent.extra.TEXT="+encodeURIComponent(e)+";S.trigger=send_plugin;",a&&(b+="S.platform_app_id="+encodeURIComponent(a)+";"),b+="end",d=i):(b="fb-messenger://share?link="+encodeURIComponent(e),a&&(b+="&app_id="+encodeURIComponent(a)),d=h);setTimeout(function(){window.location.href=d},j);window.location.href=b}g["default"]=a}),98); __d("sdk.UIServer",["Log","QueryString","UrlMap","createObjectFrom","flattenObject","guid","insertIframe","resolveURI","sdk.Auth","sdk.Auth.LoginStatus","sdk.Content","sdk.DOM","sdk.Dialog","sdk.Event","sdk.Extensions","sdk.Frictionless","sdk.LoggingUtils","sdk.Native","sdk.Popup","sdk.RPC","sdk.Runtime","sdk.UA","sdk.XD","sdk.api","sdk.fbt","sdk.feature","sdk.getContextType","sdk.modFeatureCheck","sdk.openMessenger"],(function(a,b,c,d,e,f,g){var h={transform:function(a){if(a.params.display==="touch"&&p.canIframe(a.params)&&window.postMessage){a.params.channel=p._xdChannelHandler(a.id,"parent");c("sdk.UA").nativeApp()||(a.params.in_iframe=1);return a}else return p.genericTransform(a)},getXdRelation:function(a){var b=a.display;return b==="touch"&&window.postMessage&&a.in_iframe?"parent":p.getXdRelation(a)}};function i(a){return p.isOAuth(a)&&d("sdk.Extensions").supportsDialog("oauth")}function j(a){return p.isOAuth(a)&&(a.is_account_link===!0||a.is_account_link==="true")&&d("sdk.Extensions").supportsDialog("accountLink")}function k(a){if(!c("sdk.Runtime").getClientID()){d("Log").error("FB.login() called before FB.init().");return}if(c("sdk.Auth").getAuthResponse()&&!a.params.scope&&!a.params.asset_scope&&!a.params.auth_type){a.params.plugin_prepare||(d("Log").error("FB.login() called when user is already connected."),a.cb&&(a==null?void 0:a.cb({status:c("sdk.Runtime").getLoginStatus(),authResponse:c("sdk.Auth").getAuthResponse()})));return}var b=a.cb,e=a.id;delete a.cb;a&&a.params&&!a.params.logger_id&&(a.params.logger_id=c("guid")());a&&a.params&&!a.params.cbt&&(a.params.cbt=Date.now());(a.params.fx_app==="instagram"||a.params.fx_app==="ig_single")&&!a.params.scope&&(a.params.scope="public_profile");var f=a.params.auth_type;f=f&&ES(f,"includes",!0,"reauthenticate");var g={token:!0,signed_request:!0,graph_domain:!0};g=Object.keys(ES("Object","assign",!1,a.params.response_type?c("createObjectFrom")(a.params.response_type.split(",")):{},g)).join(",");a.params.display==="async"?(ES("Object","assign",!1,a.params,{client_id:c("sdk.Runtime").getClientID(),origin:c("sdk.getContextType")(),response_type:g,domain:location.hostname}),a.cb=c("sdk.Auth").xdResponseWrapper(b,c("sdk.Auth").getAuthResponse(),"permissions.oauth",a.params)):(f&&p._xdNextHandler(function(a){b({authResponse:null,status:"not_authorized"})},e,a.params.plugin_prepare?"opener.parent":"opener",!0),ES("Object","assign",!1,a.params,{client_id:c("sdk.Runtime").getClientID(),redirect_uri:c("resolveURI")(p.xdHandler(b,e,a.params.plugin_prepare?"opener.parent":"opener",c("sdk.Auth").getAuthResponse(),"permissions.oauth",!f,a.params)),origin:c("sdk.getContextType")(),response_type:g,domain:location.hostname}));e=a.params&&a.params.tp&&a.params.tp!=="unspecified";!a.params.plugin_prepare&&!e&&d("sdk.LoggingUtils").logEvent(a.params.logger_id,d("sdk.LoggingUtils").logEventName.loginStart,{cbt_delta:0});return a}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}},gaming_friendfinder:{url:"gaming/me/friendfinder/",transform:function(a){if(!c("sdk.Runtime").getClientID()){d("Log").error("FriendFinder called before FB.init().");return}a.url+=c("sdk.Runtime").getClientID();a.size={width:400,height:800};return a}},gaming_media_library:{url:"gaming/me/media_asset/",transform:function(a){a.url+=a.params.media_id;a.size={width:400,height:800};return a}},apprequests:{transform:function(a){a=h.transform(a);a.size={width:445,height:635};a.params.display="popup";a.params.in_iframe=!1;a.params.frictionless=c("sdk.Frictionless")&&c("sdk.Frictionless")._useFrictionless;a.params.frictionless&&(c("sdk.Frictionless").isAllowed(a.params.to)&&(a.hideLoader=!0),a.cb=c("sdk.Frictionless")._processRequestResponse(a.cb,a.hideLoader));a.closeIcon=!1;return a},getXdRelation:h.getXdRelation},"permissions.oauth":{url:"dialog/oauth",size:{width:c("sdk.UA").mobile()?null:600,height:c("sdk.UA").mobile()?null:679},transform:function(a){return k(a)}},"permissions.ig_oauth":{url:"oauth/authorize",size:{width:c("sdk.UA").mobile()?null:600,height:c("sdk.UA").mobile()?null:679},transform:function(a){return k(a)}},photo_picker:{url:"dialog/photo_picker",size:{width:c("sdk.UA").mobile()?null:600,height:c("sdk.UA").mobile()?null:679},transform:function(a){if(!c("sdk.Runtime").getClientID()){d("Log").error("Photo Picker was called before FB.init().");return}var b=a.cb,e=a.id;delete a.cb;ES("Object","assign",!1,a.params,{client_id:c("sdk.Runtime").getClientID(),redirect_uri:c("resolveURI")(p.xdHandlerPhotoPicker(b,e,a.params.plugin_prepare?"opener.parent":"opener","photo_picker",a.params)),origin:c("sdk.getContextType")(),domain:location.hostname});return a}},"auth.logout":{transform:function(a){!c("sdk.Runtime").getClientID()?d("Log").error("FB.logout() called before calling FB.init()."):!c("sdk.Auth").getAuthResponse()?d("Log").error("FB.logout() called without an access token."):c("sdk.Auth").logout(a.cb)}},"login.status":{transform:function(a){c("sdk.Auth.LoginStatus").getLoginStatus(a.cb)}},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}},share_referral:{size:{width:482,height:725}}};var l={},m=0;function n(a,b){l[b]=!0;return function(c){delete l[b],a(c)}}function o(a){var b=a.method.toLowerCase();return b==="pay"&&a.display==="async"?!0:!1}var p={Methods:a,_oauthMethodNameSet:new Set(["permissions.oauth","permissions.request","permissions.ig_oauth"]),_loadedNodes:{},_defaultCb:{},_resultToken:'"xxRESULTTOKENxx"',_popupInterval:null,genericTransform:function(a){(a.params.display=="dialog"||a.params.display=="iframe")&&ES("Object","assign",!1,a.params,{display:"iframe",channel:p._xdChannelHandler(a.id,"parent.parent")},!0);return a},isOAuth:function(a){return p._oauthMethodNameSet.has(a.method)||a.method=="oauth"},checkOauthDisplay:function(a){var b=a.scope||a.perms||c("sdk.Runtime").getScope();return!b?a.display:"popup"},prepareCall:function(a,b){var e=a.method.toLowerCase(),f=Object.prototype.hasOwnProperty.call(p.Methods,e)?babelHelpers["extends"]({},p.Methods[e]):{},g=a.id||c("guid")(),h=!0;ES("Object","assign",!1,a,{app_id:c("sdk.Runtime").getClientID(),locale:c("sdk.Runtime").getLocale(),sdk:"joey",access_token:h&&c("sdk.Runtime").getAccessToken()||void 0});a.display=p.getDisplayMode(f,a);f.url||(f.url="dialog/"+e);(f.url=="dialog/oauth"||f.url=="dialog/permissions.request")&&(a.display=="iframe"||a.display=="touch"&&a.in_iframe)&&(a.display=p.checkOauthDisplay(a));if(f.url=="dialog/oauth"){if(m>=((h=c("sdk.feature")("max_oauth_dialog_retries",100))!=null?h:100)){d("Log").error("Your request to oauth has exceeded the rate limit, please try again later");return}m++}a.display=="popup"&&!f.require_access_token&&delete a.access_token;if(c("sdk.Runtime").getIsVersioned()&&f.url.substring(0,7)==="dialog/"){h=a.version||c("sdk.Runtime").getVersion();h!=null&&h!==""&&h!=="null"&&(f.url=h+"/"+f.url)}if(o(a)){if(l[e]){h='Dialog "'+e+'" is trying to run more than once.';d("Log").warn(h);b({error_code:-100,error_message:h});return}b=n(b,e)}h={cb:b,id:g,size:f.size||p.getDefaultSize(),url:d("UrlMap").resolve(a.fx_app==="instagram"||a.fx_app==="ig_single"?"www_instagram":a.display=="touch"?"m":"www")+"/"+f.url,params:a,name:e,dialog:c("sdk.Dialog").newInstance(g,a.display)};b=f.transform?f.transform:p.genericTransform;if(b){h=b(h);if(!h)return}a.display==="touch"&&a.in_iframe&&(h.params.parent_height=window.innerHeight);e=f.getXdRelation||p.getXdRelation;b=e(h.params);!(h.id in p._defaultCb)&&!("next"in h.params)&&!("redirect_uri"in h.params)&&(h.params.next=p._xdResult(h.cb,h.id,b,!0));(b==="parent"||b==="opener")&&ES("Object","assign",!1,h.params,{channel_url:p._xdChannelHandler(g,b==="parent"?"parent.parent":"opener")},!0);h=p.prepareParams(h);return h},prepareParams:function(a){a.params.display!=="async"&&delete a.params.method;a.params.kid_directed_site=c("sdk.Runtime").getKidDirectedSite()||a.params.kid_directed_site;a.params=c("flattenObject")(a.params);var b=c("QueryString").encode(a.params);!c("sdk.UA").nativeApp()&&p.urlTooLongForIE(a.url+"?"+b)?a.post=!0:b&&(a.url+="?"+b);return a},urlTooLongForIE:function(a){return c("sdk.UA").ie()!=null&&c("sdk.UA").ie()<=8&&a.length>2048},getDisplayMode:function(a,b){if(b.display==="hidden"||b.display==="none"||b.display==="native")return b.display;var e=c("sdk.Runtime").isEnvironment(c("sdk.Runtime").ENVIRONMENTS.CANVAS)||c("sdk.Runtime").isEnvironment(c("sdk.Runtime").ENVIRONMENTS.PAGETAB);if(e&&(d("sdk.modFeatureCheck").forIDs("force_popup_to_canvas_apps_with_id",[c("sdk.Runtime").getClientID()])||c("sdk.feature")("force_popup_to_all_canvas_app",!1)))return"popup";if(e&&!b.display)return"async";if(i(b)||j(b))return"async";if(c("sdk.UA").mobile()||b.display==="touch")return"touch";if((b.display=="iframe"||b.display=="dialog")&&!p.canIframe(b)){d("Log").error('"dialog" mode can only be used when the user is connected.');return"popup"}return a.connectDisplay&&!e?a.connectDisplay:b.display||(p.canIframe(b)?"dialog":"popup")},canIframe:function(a){return c("sdk.Runtime").getAccessToken()},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){var b=d("sdk.Popup").popup(a,p.isOAuth({method:a.name}));b&&(p.setLoadedNode(a,b,"popup"),a.id in p._defaultCb&&p._popupMonitor())},setLoadedNode:function(a,b,c){c==="iframe"&&(b.fbCallID=a.id),b={node:b,type:c,fbCallID:a.id,method:a.name,params:a.params},p._loadedNodes[a.id]=b},getLoadedNode:function(a){a=typeof a==="object"?a.id:a;a=p._loadedNodes[a];return a?a.node:null},hidden:function(a){a.className="FB_UI_Hidden",a.root=d("sdk.Content").appendHidden(document.createElement("div")),p._insertIframe(a)},iframe:function(a){a.className="FB_UI_Dialog";var b=function(){var b=ES("JSON","stringify",!1,{error_code:4201,error_message:c("sdk.fbt")._("User canceled the Dialog flow")});p._triggerDefault(a.id,b)},e={onClose:b,closeIcon:a.closeIcon===void 0?!0:a.closeIcon,classes:c("sdk.Dialog").isTabletStyle()?"centered":""};a.root=c("sdk.Dialog").create(e);a.hideLoader||c("sdk.Dialog").showLoader(b,a.size.width);d("sdk.DOM").addCss(a.root,"fb_dialog_iframe");p._insertIframe(a)},touch:function(a){a.params&&a.params.in_iframe?a.ui_created?c("sdk.Dialog").showLoader(function(){p._triggerDefault(a.id,null)},0):p.iframe(a):c("sdk.UA").nativeApp()&&!a.ui_created?(a.frame=a.id,c("sdk.Native").onready(function(){p.setLoadedNode(a,c("sdk.Native").open(a.url+"#cb="+a.frameName),"native")}),p._popupMonitor()):a.ui_created||p.popup(a)},async:function(a){a.params.redirect_uri=location.protocol+"//"+location.host+location.pathname;delete a.params.access_token;a.params.is_canvas=c("sdk.Runtime").isCanvasEnvironment();var b=function(b){b=b.result;if(b&&b.e2e){var d=c("sdk.Dialog").get(a.id);d.trackEvents(b.e2e);d.trackEvent("close");delete b.e2e}a.cb(b)};i(a.params)||j(a.params)?(a.params.method="oauth",a.params.redirect_uri=a.params.next,d("sdk.Extensions").remote.showDialog(a.params,b)):c("sdk.RPC").remote.showDialog(a.params,b)},"native":function(a){c("sdk.openMessenger")(a.params)},getDefaultSize:function(){return c("sdk.Dialog").getDefaultSize()},_insertIframe:function(a){p._loadedNodes[a.id]=!1;var b=function(b){a.id in p._loadedNodes&&p.setLoadedNode(a,b,"iframe")};a.post?c("insertIframe")({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){d("sdk.Content").submitToTarget({url:a.url,target:b.name,params:a.params})}}):c("insertIframe")({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=p.getLoadedNode(a);if(!a)return;b.height&&(a.style.height=b.height+"px");b.width&&b.width!=0&&(a.style.width=b.width+"px");c("sdk.XD").inform("resize.ack",b||{},"parent.frames["+a.name+"]");!c("sdk.Dialog").isActive(a)?c("sdk.Dialog").show(a):c("sdk.Dialog")._centerActive()},_triggerDefault:function(a,b){var c={frame:a,result:""};b&&(c.result=b);p._xdRecv(c,p._defaultCb[a]||function(){})},_popupMonitor:function(){var a;for(var b in p._loadedNodes)if(Object.prototype.hasOwnProperty.call(p._loadedNodes,b)&&b in p._defaultCb){var d=function(){var d=p._loadedNodes[b];if(d.type!="popup"&&d.type!="native")return"continue";var e=d.node;try{e.closed?p.isOAuth(d)?c("sdk.Auth.LoginStatus").getLoginStatus(function(a){(a==null?void 0:a.status)==="connected"&&d.params!=null&&d.params.return_scopes?c("sdk.api")("/me/permissions",function(c){(!c||c.error)&&p._triggerDefault(b,a);var d="";c=c&&c.data?c.data:[];for(var e=0;e=-b)return!1}i=a;c("sdk.RPC").remote.setSize(a);return!0}function a(a,b){b===void 0&&typeof a==="number"&&(b=a,a=!0),a||a===void 0?(h===null&&(h=window.setInterval(function(){k()},b||100)),k()):h!==null&&(window.clearInterval(h),h=null)}c("sdk.RPC").stub("setSize");b={setSize:k,setAutoGrow:a};e=b;g["default"]=e}),98); __d("sdk.Canvas.Navigation",["sdk.RPC"],(function(a,b,c,d,e,f){function a(a){b("sdk.RPC").local.navigate=function(b){a({path:b})},b("sdk.RPC").remote.setNavigationEnabled(!0)}b("sdk.RPC").stub("setNavigationEnabled");c={setUrlHandler:a};d=c;f["default"]=d}),66); __d("sdk.Canvas.Plugin",["Log","sdk.Runtime","sdk.UA","sdk.api"],(function(a,b,c,d,e,f,g){var h="CLSID:D27CDB6E-AE6D-11CF-96B8-444553540000",i="CLSID:444785F1-DE89-4295-863A-D46C3A781394",j=null;f=c("sdk.UA").osx()&&c("sdk.UA").osx.getVersionParts();var k=!(f&&f[0]>10&&f[1]>10&&(c("sdk.UA").chrome()>=31||c("sdk.UA").webkit()>=537.71||c("sdk.UA").firefox()>=25));function l(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 m(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 n(a){a._old_visibility=a.style.visibility,a.style.visibility="hidden"}function o(a){a.style.visibility=a._old_visibility||"",delete a._old_visibility}function p(a){var b=a.type?a.type.toLowerCase():null;b=b==="application/x-shockwave-flash"||a.classid&&a.classid.toUpperCase()==h;if(!b)return!1;b=/opaque|transparent/i;if(b.test(a.getAttribute("wmode")))return!1;for(var c=0;c=1/d("JSSDKCanvasPrefetcherConfig").sampleRate||!d("JSSDKCanvasPrefetcherConfig").enabled||ES(i,"includes",!0,c("sdk.Runtime").getClientID()))return;setTimeout(l,3e4)}function b(a){j=a}function e(a){k.push(a)}f={COLLECT_AUTOMATIC:h.AUTOMATIC,COLLECT_MANUAL:h.MANUAL,addStaticResource:e,setCollectionMode:b,_maybeSample:a};e=f;g["default"]=e}),98); __d("sdk.Canvas.Tti",["sdk.RPC","sdk.Runtime"],(function(a,b,c,d,e,f,g){function h(a,b){b={appId:c("sdk.Runtime").getClientID(),time:Date.now(),name:b};b=[b];a&&b.push(function(b){a(b.result)});c("sdk.RPC").remote.logTtiMessage.apply(null,b)}function a(){h(null,"StartIframeAppTtiTimer")}function b(a){h(a,"StopIframeAppTtiTimer")}function d(a){h(a,"RecordIframeAppTti")}c("sdk.RPC").stub("logTtiMessage");e={setDoneLoading:d,startTimer:a,stopTimer:b};f=e;g["default"]=f}),98); __d("sdk.Canvas-public",["Assert","FB","Log","sdk.Canvas.Environment","sdk.Canvas.IframeHandling","sdk.Canvas.Navigation","sdk.Canvas.Plugin","sdk.Canvas.Prefetcher","sdk.Canvas.Tti","sdk.Event","sdk.RPC","sdk.Runtime"],(function(a,b,c,d,e,f,g){function a(){c("FB").provide("Canvas",{setSize:function(a){c("Assert").maybeObject(a,"Invalid argument");return c("sdk.Canvas.IframeHandling").setSize.apply(null,arguments)},setAutoGrow:function(){return c("sdk.Canvas.IframeHandling").setAutoGrow.apply(null,arguments)},getPageInfo:function(a){c("Assert").isFunction(a,"Invalid argument");return c("sdk.Canvas.Environment").getPageInfo.apply(null,arguments)},scrollTo:function(a,b){c("Assert").maybeNumber(a,"Invalid argument");c("Assert").maybeNumber(b,"Invalid argument");return c("sdk.Canvas.Environment").scrollTo.apply(null,arguments)},setDoneLoading:function(a){c("Assert").maybeFunction(a,"Invalid argument");return c("sdk.Canvas.Tti").setDoneLoading.apply(null,arguments)},startTimer:function(){return c("sdk.Canvas.Tti").startTimer.apply(null,arguments)},stopTimer:function(a){c("Assert").maybeFunction(a,"Invalid argument");return c("sdk.Canvas.Tti").stopTimer.apply(null,arguments)},setUrlHandler:function(a){c("Assert").isFunction(a,"Invalid argument");return c("sdk.Canvas.Navigation").setUrlHandler.apply(null,arguments)}}),c("sdk.RPC").local.fireEvent=ES(d("sdk.Event").fire,"bind",!0,d("sdk.Event")),d("sdk.Event").subscribe("init:post",function(a){c("sdk.Runtime").isEnvironment(c("sdk.Runtime").ENVIRONMENTS.CANVAS)&&(c("Assert").isTrue(!a.hideFlashCallback||!a.hidePluginCallback,"cannot specify deprecated hideFlashCallback and new hidePluginCallback"),c("sdk.Canvas.Plugin")._setHidePluginCallback(a.hidePluginCallback||a.hideFlashCallback))})}function h(){c("sdk.RPC").local.hidePluginObjects=function(){d("Log").info("hidePluginObjects called"),c("sdk.Canvas.Plugin").hidePluginCallback({state:"opened"})},c("sdk.RPC").local.showPluginObjects=function(){d("Log").info("showPluginObjects called"),c("sdk.Canvas.Plugin").hidePluginCallback({state:"closed"})},c("sdk.RPC").local.showFlashObjects=c("sdk.RPC").local.showPluginObjects,c("sdk.RPC").local.hideFlashObjects=c("sdk.RPC").local.hidePluginObjects}function b(){h(),c("FB").provide("Canvas.Plugin",c("sdk.Canvas.Plugin"))}function e(){c("FB").provide("Canvas.Prefetcher",c("sdk.Canvas.Prefetcher")),d("sdk.Event").subscribe("init:post",function(a){c("sdk.Runtime").isEnvironment(c("sdk.Runtime").ENVIRONMENTS.CANVAS)&&c("sdk.Canvas.Prefetcher")._maybeSample()})}function f(){d("sdk.Event").subscribe(d("sdk.Event").SUBSCRIBE,a);d("sdk.Event").subscribe(d("sdk.Event").UNSUBSCRIBE,b);c("sdk.RPC").stub("useFriendsOnline");function a(a,b){if(a!="canvas.friendsOnlineUpdated")return;b.length===1&&c("sdk.RPC").remote.useFriendsOnline(!0)}function b(a,b){if(a!="canvas.friendsOnlineUpdated")return;b.length===0&&c("sdk.RPC").remote.useFriendsOnline(!1)}}a={init:a,initCanvasPlugin:b,initCanvasPrefetcher:e,initCanvasPresence:f,initRPC:h};b=a;g["default"]=b}),98); __d("legacy:fb.canvas",["sdk.Canvas-public"],(function(a,b,c,d,e,f,g){c("sdk.Canvas-public").init()}),35); __d("legacy:fb.canvas-legacy",["Assert","FB","Log","sdk.Canvas.Tti"],(function(a,b,c,d,e,f){b("FB").provide("CanvasInsights",{setDoneLoading:function(a){b("Log").warn("Deprecated: use FB.Canvas.setDoneLoading");b("Assert").maybeFunction(a,"Invalid argument");return b("sdk.Canvas.Tti").setDoneLoading.apply(null,arguments)}})}),3); __d("legacy:fb.canvas.plugin",["sdk.Canvas-public"],(function(a,b,c,d,e,f,g){c("sdk.Canvas-public").initCanvasPlugin()}),35); __d("legacy:fb.canvas.prefetcher",["sdk.Canvas-public"],(function(a,b,c,d,e,f,g){c("sdk.Canvas-public").initCanvasPrefetcher()}),35); __d("legacy:fb.compat.ui",["FB","Log","sdk.UIServer","sdk.ui"],(function(a,b,c,d,e,f){b("FB").provide("",{share:function(a){b("Log").error("share() has been deprecated. Please use FB.ui() instead."),b("sdk.ui")({display:"popup",method:"stream.share",u:a})},publish:function(a,c){b("Log").error("publish() has been deprecated. Please use FB.ui() instead."),a=a||{},b("sdk.ui")(babelHelpers["extends"]({display:"popup",method:"stream.publish",preview:1},a||{}),c)},addFriend:function(a,c){b("Log").error("addFriend() has been deprecated. Please use FB.ui() instead."),b("sdk.ui")({display:"popup",id:a,method:"friend.add"},c)}}),b("sdk.UIServer").Methods["auth.login"]=b("sdk.UIServer").Methods["permissions.request"]}),3); __d("sdk.Data",["Log"],(function(a,b,c,d,e,f){a=function(){b("Log").error("##########################\n# FB.Data has been deprecated.\n# Please use FB.api().\n# https://developers.facebook.com/docs/javascript/reference/FB.api/\n##########################")};c={query:a,waitOn:a,process:a};e.exports=c}),null); __d("legacy:fb.data",["FB","sdk.Data"],(function(a,b,c,d,e,f){b("FB").provide("Data",b("sdk.Data"))}),3); __d("sdk.Event-public",["FB","Log","sdk.Event"],(function(a,b,c,d,e,f,g){function a(){var a=function(a){return d("Log").error("FB.Event."+a+"() has been deprecated")};c("FB").provide("Event",{subscribe:function(a,b){return d("sdk.Event").subscribe(a,b)},unsubscribe:ES(d("sdk.Event").unsubscribe,"bind",!0,d("sdk.Event")),clear:ES(a,"bind",!0,null,"clear"),fire:ES(a,"bind",!0,null,"fire")})}b={init:a};e=b;g["default"]=e}),98); __d("legacy:fb.event",["sdk.Event-public"],(function(a,b,c,d,e,f,g){c("sdk.Event-public").init()}),35); __d("sdk.Frictionless-public",["FB","sdk.Event","sdk.Frictionless"],(function(a,b,c,d,e,f,g){"use strict";function a(){d("sdk.Event").subscribe("init:post",function(a){a.frictionlessRequests&&c("sdk.Frictionless").init()}),c("FB").provide("Frictionless",c("sdk.Frictionless"))}b={init:a};e=b;g["default"]=e}),98); __d("legacy:fb.frictionless",["sdk.Frictionless-public"],(function(a,b,c,d,e,f,g){c("sdk.Frictionless-public").init()}),35); __d("sdk.GamingServices",["sdk.api","sdk.ui"],(function(a,b,c,d,e,f,g){function a(a){c("sdk.ui")({display:"touch",method:"gaming_friendfinder"},a)}function b(a,b,d,e){c("sdk.api")("me/photos","POST",{caption:b,url:a},function(a){if(d===!1||!a||a.error)e!==null&&e(a);else{var b=a.id;c("sdk.ui")({display:"touch",method:"gaming_media_library",media_id:b},function(b){e!==null&&e(a)})}})}d={friendFinder:a,uploadImageToMediaLibrary:b};e=d;g["default"]=e}),98); __d("sdk.GamingServices-public",["FB","sdk.GamingServices"],(function(a,b,c,d,e,f,g){"use strict";function a(){c("FB").provide("",{gamingservices:c("sdk.GamingServices")})}b={init:a};d=b;g["default"]=d}),98); __d("legacy:fb.gamingservices",["sdk.GamingServices-public"],(function(a,b,c,d,e,f,g){c("sdk.GamingServices-public").init()}),35); __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";var g="deep",h="shallow";a=function(){function a(){this.list=[]}var b=a.prototype;b.append=function(a,b){this.$1(encodeURIComponent(a),b,g)};b.each=function(a){var b=this.list;for(var c=0,d=b.length;c(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){var c="fb"+Math.random().toString().replace(".",""),e=document.createElement("form");e.method="post";e.action=a;e.target=c;e.acceptCharset="utf-8";e.style.display="none";a=!!(window.attachEvent&&!window.addEventListener);a=a?'