var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); /*1715742628,,JIT Construction: v1013499993,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 globalThis = this; var __DEV__ = 0; function emptyFunction() {}; var __transform_includes = {}; var __annotator, __bodyWrapper; var __w, __t; var undefined; with (this) { (function(a){var b={},c=function(a,b){if(!a&&!b)return null;var c={};typeof a!=="undefined"&&(c.type=a);typeof b!=="undefined"&&(c.signature=b);return c},d=function(a,b){return c(a&&/^[A-Z]/.test(a)?a:void 0,b&&(b.params&&b.params.length||b.returns)?"function("+(b.params?b.params.map(function(a){return/\?/.test(a)?"?"+a.replace("?",""):a}).join(","):"")+")"+(b.returns?":"+b.returns:""):void 0)},e=function(a,b,c){return a},f=function(a,b,c){"sourcemeta"in __transform_includes&&(a.__SMmeta=b);if("typechecks"in __transform_includes){b=d(b?b.name:void 0,c);b&&__w(a,b)}return a},g=function(a,b,c){return c.apply(a,b)},h=function(a,b,c,d){d&&d.params&&__t.apply(a,d.params);c=c.apply(a,b);d&&d.returns&&__t([c,d.returns]);return c};h=function(a,c,d,e,f){if(f){f.callId||(f.callId=f.module+":"+(f.line||0)+":"+(f.column||0));e=f.callId;b[e]=(b[e]||0)+1}return d.apply(a,c)};typeof __transform_includes==="undefined"?(a.__annotator=e,a.__bodyWrapper=g):(a.__annotator=f,"codeusage"in __transform_includes?(a.__annotator=e,a.__bodyWrapper=h,a.__bodyWrapper.getCodeUsage=function(){return b},a.__bodyWrapper.clearCodeUsage=function(){b={}}):"typechecks"in __transform_includes?a.__bodyWrapper=g:a.__bodyWrapper=g)})(typeof globalThis!=="undefined"?globalThis:typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof this!=="undefined"?this:typeof self!=="undefined"?self:{}); (function(a){a.__t=function(a){return a[0]},a.__w=function(a){return a}})(typeof globalThis!=="undefined"?globalThis:typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof this!=="undefined"?this:typeof self!=="undefined"?self:{}); (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}}}).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(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==="object"?global:typeof this==="object"?this:typeof window==="object"?window:typeof self==="object"?self:{}); __d("cr:1126",[],function(g,r,rd,rl,m,e){m.exports=require("TimeSliceImpl");});__d("cr:986633",[],function(g,r,rd,rl,m,e){m.exports=require("setTimeoutAcrossTransitionsBlue");});__d("cr:7391",[],function(g,r,rd,rl,m,e){m.exports=require("setTimeoutAcrossTransitionsWWW");});__d("cr:807042",[],function(g,r,rd,rl,m,e){m.exports=require("setTimeoutBlue");});__d("cr:7390",[],function(g,r,rd,rl,m,e){m.exports=require("setTimeoutWWW");});__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:\/\/web.archive.org\/web\/20240515031045\/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}});__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_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":"1013499993","rtl":false,"sdkab":null,"sdkns":"","sdkurl":"https:\/\/web.archive.org\/web\/20240515031045\/https:\/\/connect.facebook.net\/en_US\/sdk\/xfbml.customerchat.js","scribeurl":"https:\/\/web.archive.org\/web\/20240515031045\/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}","css:fb.shadow.css.chatdom":".container{box-shadow:0 4px 12px 0 rgba(0, 0, 0, .15);cursor:pointer}.label-container{align-items:center;display:flex}.label-container-icon{margin-left:-2px}.centered-container{align-items:center;display:flex;height:100\u0025;justify-content:center;width:100\u0025}.label-container-label{color:#fff;display:flex;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;font-style:normal;font-weight:600;user-select:none;white-space:nowrap}\u0040keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.spinning{animation:spin 2s linear infinite}.spinning .path{animation:dash 1.5s ease-in-out infinite;stroke:white;stroke-linecap:round}\u0040keyframes dash{0\u0025{stroke-dasharray:1, 150;stroke-dashoffset:0}50\u0025{stroke-dasharray:90, 150;stroke-dashoffset:-56}100\u0025{stroke-dasharray:90, 150;stroke-dashoffset:-149}}\u0040keyframes slideInFromBottomDelay{0\u0025{opacity:0;transform:translateY(100\u0025)}90\u0025{opacity:0;transform:translateY(100\u0025)}100\u0025{opacity:1;transform:translateY(0)}}"});__d("TimeSliceInteractionSV",[],{"on_demand_reference_counting":{"thing":true},"on_demand_profiling_counters":{"thing":true},"default_rate":1000,"lite_default_rate":100,"interaction_to_lite_coinflip":{"ADS_INTERFACES_INTERACTION":0,"ads_perf_scenario":0,"ads_wait_time":0,"Event":1},"interaction_to_coinflip":{"ADS_INTERFACES_INTERACTION":1,"ads_perf_scenario":1,"ads_wait_time":1,"Event":100},"enable_heartbeat":{"thing":false},"maxBlockMergeDuration":0,"maxBlockMergeDistance":0,"enable_banzai_stream":true,"user_timing_coinflip":50,"banzai_stream_coinflip":0,"compression_enabled":true,"ref_counting_fix":{"thing":false},"ref_counting_cont_fix":{"thing":false},"also_record_new_timeslice_format":{"thing":false},"force_async_request_tracing_on":{"thing":false}}); __d("Env",[],(function(a,b,c,d,e,f){b={ajaxpipe_token:null,compat_iframe_token:null,iframeKey:"",iframeTarget:"",iframeToken:"",isCQuick:!1,jssp_header_sent:!1,jssp_targeting_enabled:!1,loadHyperion:!1,start:Date.now(),nocatch:!1,useTrustedTypes:!1,isTrustedTypesReportOnly:!1,enableDefaultTrustedTypesPolicy:!1,ig_server_override:"",barcelona_server_override:"",ig_mqtt_wss_endpoint:"",ig_mqtt_polling_endpoint:""};a.Env&&ES("Object","assign",!1,b,a.Env);a.Env=b;c=b;f["default"]=c}),66); __d("performance",[],(function(a,b,c,d,e,f){"use strict";b=a.performance||a.msPerformance||a.webkitPerformance||{};c=b;f["default"]=c}),66); __d("performanceNow",["performance"],(function(a,b,c,d,e,f,g){var h;if((h||(h=c("performance"))).now)b=function(){return(h||(h=c("performance"))).now()};else{d=a._cstart;e=Date.now();var i=typeof d==="number"&&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=String(a);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(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(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($==null)return;var b=$,c=a.reason,d,e=u(c);if(c!==e&&typeof c==="object"&&c!==null){d=Object.keys(c).sort().slice(0,3);typeof c.message!=="string"&&typeof c.messageFormat==="string"&&(c.message=c.messageFormat,e=u(c));if(typeof c.message!=="string"&&typeof c.errorMsg==="string")if(/^\s*\([^<]+)<\/title>(?:(?:.|\n)*

([^<]+)<\/h1>)?/im.exec(c.errorMsg);if(f){var g;e=h('HTML document with title="%s" and h1="%s"',(g=f[1])!==null&&g!==void 0?g:"",(g=f[2])!==null&&g!==void 0?g:"")}else e=h("HTML document sanitized")}else/^\s*<\?xml/i.test(c.errorMsg)?e=h("XML document sanitized"):(c.message=c.errorMsg,e=u(c));e!==c&&typeof c.name==="string"&&(e.name=c.name);typeof c.name!=="string"&&typeof c.errorCode==="string"&&(e.name="UnhandledRejectionWith_errorCode_"+c.errorCode);typeof c.name!=="string"&&typeof c.error==="number"&&(e.name="UnhandledRejectionWith_error_"+String(c.error))}e.loggingSource="ONUNHANDLEDREJECTION";e.name=e===c&&e.name!=null&&e.name!==""?e.name:typeof (c===null||c===void 0?void 0:c.name)==="string"&&c.name!==""?c.name:d!=null&&d.length>0?"UnhandledRejectionWith_"+d.join("_"):"UnhandledRejection_"+(c===null?"null":typeof c);try{f=c===null||c===void 0?void 0:c.stack;(typeof f!=="string"||f==="")&&(f=e.stack);(typeof f!=="string"||f==="")&&(f=h("").stack);e.stack=e.name+": "+e.message+"\n"+f.split("\n").slice(1).join("\n")}catch(a){}try{g=a.promise;e.stack=e.stack+(g!=null&&typeof g.settledStack==="string"?"\n at \n"+g.settledStack:"")+(g!=null&&typeof g.createdStack==="string"?"\n at \n"+g.createdStack:"")}catch(a){}b.reportError(e);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,c){R.addListener(function(d){var e;e=babelHelpers["extends"]({},a,(e=c===null||c===void 0?void 0:c())!==null&&e!==void 0?e:{});ta.postError(d,e,b)})}};var ya=20,za=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 p=l.metadata.concat(h.format()),q=new Set(p);l.metadata=ES("Array","from",!1,q.values())}if(e.length>0){if(l.events!=null){var r;(r=l.events).push.apply(r,e)}else l.events=[].concat(e);if(l.events!=null&&l.events.length>ya){var s=l.events.length-ya;l.events.splice(0,s+1,"")}}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;dthis.$1){var b=this.read();this.$2=0;this.$3=b;this.$1=a}return this};b.dropFirst=function(a){if(a<=this.$1){var b=this.read();this.$2=0;b.splice(0,a);this.$3=b}return this};b.clear=function(){this.$2=0;this.$3=[];return this};b.currentSize=function(){return this.$3.length};return a}();g["default"]=a}),98); __d("ErrorPubSub",["fb-error"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=c("fb-error").ErrorPubSub}),98); __d("IntervalTrackingBoundedBuffer",["CircularBuffer","ErrorPubSub"],(function(a,b,c,d,e,f,g){"use strict";var h,i=5e3;a=function(){function a(a){var b=this;this.$6=0;if(a!=null){if(a<=0)throw new Error("Size for a buffer must be greater than zero.")}else a=i;this.$4=a;this.$1=new(c("CircularBuffer"))(a);this.$1.onEvict(function(){b.$6++});this.$2=[];this.$3=1;this.$5=0}var b=a.prototype;b.open=function(){var a=this,b=this.$3++,c=!1,d,e=this.$5,f={id:b,startIdx:e,hasOverflown:function(){return f.getOverflowSize()>0},getOverflowSize:function(){return d!=null?d:Math.max(a.$6-e,0)},close:function(){if(c)return[];else{c=!0;d=a.$6-e;return a.$7(b)}}};this.$2.push(f);return f};b.pushElement=function(a){this.$2.length>0&&(this.$1.write(a),this.$5++);return this};b.isActive=function(){return this.$2.length>0};b.$8=function(a){return Math.max(a-this.$6,0)};b.$7=function(a){var b,d,e,f;for(var g=0;g0&&(this.$1.dropFirst(g),this.$6+=g);return j};return a}();g["default"]=a}),98); __d("WorkerUtils",[],(function(a,b,c,d,e,f){"use strict";function b(){try{return"WorkerGlobalScope"in a&&a instanceof a.WorkerGlobalScope}catch(a){return!1}}function c(){try{return"SharedWorkerGlobalScope"in a&&a instanceof a.SharedWorkerGlobalScope}catch(a){return!1}}f.isWorkerContext=b;f.isSharedWorkerContext=c}),66); __d("getReusableTimeSliceContinuation",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c){var d=!1,e=a.getGuardedContinuation(c),f=function(b){e(function(){d||(e=a.getGuardedContinuation(c)),b()})};f.last=function(a){var b=e;g();b(a)};f[b]={};function g(){d=!0,e=function(a){a()}}return f}f["default"]=a}),66); __d("fb-error-lite",[],(function(a,b,c,d,e,f){"use strict";var g={PREVIOUS_FILE:1,PREVIOUS_FRAME:2,PREVIOUS_DIR:3,FORCED_KEY:4};function a(a){var b=new Error(a);if(b.stack===void 0)try{throw b}catch(a){}b.messageFormat=a;for(var c=arguments.length,d=new Array(c>1?c-1:0),e=1;e1?b-1:0),d=1;d2?e-2:0),g=2;g0&&(d+=" Params: "+b.map(function(a){return"%s"}).join(", "));a=(h||(h=c("Env"))).show_invariant_decoder===!0?"visit "+j(a,b)+" to see the full message.":"";return{message:d,decoderLink:a}}function j(a,b){a="https://web.archive.org/web/20240515031045/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("performanceAbsoluteNow",["performance"],(function(a,b,c,d,e,f,g){var h,i=function(){return Date.now()};function a(a){i=a}if((h||(h=c("performance"))).now&&(h||(h=c("performance"))).timing&&(h||(h=c("performance"))).timing.navigationStart){var j=(h||(h=c("performance"))).timing.navigationStart;b=function(){return(h||(h=c("performance"))).now()+j}}else b=function(){return i()};b.setFallback=a;d=b;g["default"]=d}),98); __d("wrapFunction",[],(function(a,b,c,d,e,f){var g={};function a(a,b,c){var d=b in g?g[b](a,c):a;return function(){for(var a=arguments.length,b=new Array(a),c=0;c0?a[a.length-1]:null}function w(a,c){var d={};(i||(i=b("ErrorGuard"))).applyWithGuard(z,null,[a,c,d]);i.applyWithGuard(A,null,[a,c,d]);r.push(a);s.push(c);t.push(d)}function x(a,b,c){l.forEach(function(d){var e=d.onNewContextCreated(u(),b,c);a[d.getBeforeID()]=e})}function y(a,b,c){m.forEach(function(d){d.onAfterContextEnded(a,b[d.getBeforeID()],c[d.getBeforeID()],a.meta)})}function z(a,b,c){l.forEach(function(d){var e=d.onBeforeContextStarted(a,b[d.getBeforeID()],a.meta);c[d.getBeforeID()]=e})}function A(a,b,c){l.forEach(function(d){var e=d.onAfterContextStarted(a,b[d.getBeforeID()],c[d.getBeforeID()],a.meta);c[d.getBeforeID()]=e})}function B(){var a=u(),c=v(s),d=v(t);if(a==null||c==null||d==null){b("FBLogger")("TimeSlice").mustfix("popped too many times off the timeslice stack");p=!1;return}(i||(i=b("ErrorGuard"))).applyWithGuard(y,null,[a,c,d]);p=!a.isRoot;r.pop();s.pop();t.pop()}var C={PropagationType:{CONTINUATION:0,EXECUTION:1,ORPHAN:2},guard:function(a,c,d){typeof a==="function"||g(0,3725);typeof c==="string"||g(0,3726);var e=D(d);if(a[n])return a;var f;p&&(f=u());var h={},l=0;d=function(){var d=(j||(j=b("performanceAbsoluteNow")))(),g=o++,m={contextID:g,name:c,isRoot:!p,executionNumber:l++,meta:e,absBeginTimeMs:d};w(m,h);if(f!=null){var n=!!e.isContinuation;f.isRoot?(m.indirectParentID=f.contextID,m.isEdgeContinuation=n):(m.indirectParentID=f.indirectParentID,m.isEdgeContinuation=!!(n&&f.isEdgeContinuation))}var r=(k||(k=b("WorkerUtils"))).isWorkerContext();p=!0;try{for(var s=arguments.length,t=new Array(s),v=0;v1?b-1:0),d=1;da.getBeforeID()){l.splice(c,0,a);b=!0;break}b||l.push(a);for(c=0;ca.getAfterID()){m.splice(c,0,a);return}m.push(a)},catchUpOnDemandExecutionContextObservers:function(a){for(var b=0;b2?f-2:0),i=2;i2?f-2:0),h=2;h3?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("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(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;f0,"You need to call FB.init() with App ID first.");return a}function B(a){c("Assert").isTrue(Object.keys(a).length<=q,"The total number of user properties cannot exceed "+q+".");for(var b in a)c("Assert").isTrue(m.test(b)||ES(s,"includes",!0,b),"Invalid user properties key name: "+b+". It must be between 1 and "+n+" characters, and must contain only alphanumerics, _, - or spaces, starting with alphanumeric or _. Or, it must be a pre-defined user property"),c("Assert").isTrue(a[b].toString().length<=r,"Invalid user properties value: "+a[b]+". It must be no longer than "+r+" characters.")}function C(a){c("Assert").isTrue(k.test(a),"Invalid event name: "+a+". It must be between 1 and "+l+" characters, and must be contain only alphanumerics, _, - or spaces, starting with alphanumeric or _.")}function D(a){c("Assert").isTrue(a.length<=p,"Invalid app version: "+a+". It must be no longer than "+p+" characters.")}function E(a){c("Assert").isTrue(a.length!==0,"User ID must be set before updateUserProperties can be called."),c("Assert").isTrue(a.length<=o,"Invalid user ID: "+a+". It must be no longer than "+o+" characters.")}a=Object.freeze({logEvent:u,logPurchase:a,activateApp:b,logPageView:d,setUserID:e,getUserID:f,clearUserID:v,updateUserProperties:z,setAppVersion:w,getAppVersion:x,clearAppVersion:y,EventNames:h,ParameterNames:j});g.assertGetValidAppID=A;g.assertValidUserProperties=B;g.assertValidEventName=C;g.assertValidAppVersion=D;g.assertValidUserID=E;g.AppEvents=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;dDate.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||this.getFragment())};c.toString=function(a,b){a===void 0&&(a=function(){return!1});b===void 0&&(b=null);return this.$15(!1,!1,a,b)};c.toStringRawQuery=function(a,b){a===void 0&&(a=function(){return!1});b===void 0&&(b=null);return this.$15(!0,!1,a,b)};c.toStringPreserveQuery=function(a,b){a===void 0&&(a=function(){return!1});b===void 0&&(b=null);return this.$15(!1,!0,a,b)};c.toStringStrictQueryEncoding=function(a){a===void 0&&(a=function(){return!1});return this.$15(!0,!1,a,b("PHPStrictQuerySerializer"))};c.$15=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){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("isStringNullOrEmpty",[],(function(a,b,c,d,e,f){"use strict";function a(a){return a==null||a===""}f["default"]=a}),66); __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","isStringNullOrEmpty","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=!c("isStringNullOrEmpty")(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||e.code)){var g=d("sdk.SignedRequest").parse(e.signed_request);g=g!=null?g.user_id!=null?g.user_id:null:null;b={userID:g,expiresIn:Number(e.expires_in)};e.access_token&&(b=babelHelpers["extends"]({},b,{accessToken:e.access_token}));e.code&&(b=babelHelpers["extends"]({},b,{code:e.code}));e.signed_request&&(b=babelHelpers["extends"]({},b,{signedRequest:e.signed_request}));e.graph_domain&&(b=babelHelpers["extends"]({},b,{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){"use strict";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("passiveEventListenerUtil",[],(function(a,b,c,d,e,f){"use strict";b=!1;try{c=Object.defineProperty({},"passive",{get:function(){b=!0}});window.addEventListener("test",null,c)}catch(a){}var g=b;function a(a){return g?a:typeof a==="boolean"?a:a.capture||!1}f.isPassiveEventListenerSupported=g;f.makeEventOptions=a}),66); __d("DOMEventListener",["invariant","dedupString","emptyFunction","passiveEventListenerUtil","wrapFunction"],(function(a,b,c,d,e,f,g){var h=b("passiveEventListenerUtil").isPassiveEventListenerSupported,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");a={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=a}),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}),226); __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("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("ApiClientUtils",["ArgumentError","Assert","Log","flattenObject","sdk.URI","sprintf"],(function(a,b,c,d,e,f,g){var h={get:!0,post:!0,"delete":!0,put:!0};function a(a){var b=a.shift();c("Assert").isString(b,"Invalid path");!/^https?/.test(b)&&b.charAt(0)!=="/"&&(b="/"+b);var e,f={};try{e=new(c("sdk.URI"))(b)}catch(a){throw new(c("ArgumentError"))(a.message,a)}a.forEach(function(a){return f[typeof a]=a});b=(f.string||"get").toLowerCase();c("Assert").isTrue(Object.prototype.hasOwnProperty.call(h,b),c("sprintf")("Invalid method passed to ApiClient: %s",b));a=f["function"];a||d("Log").warn("No callback passed to the ApiClient");f.object&&e.addQueryData(c("flattenObject")(f.object));var g=e.getQueryData();g.method=b;return{uri:e,callback:a,params:g}}g.parseCallDataFromArgs=a}),98); __d("errorCode",[],(function(a,b,c,d,e,f){"use strict";function a(a){throw new Error('errorCode("'+a+'"): This should not happen. Oh noes!')}f["default"]=a}),66); __d("nullthrows",[],(function(a,b,c,d,e,f){function a(a,b){b===void 0&&(b="Got unexpected null or undefined");if(a!=null)return a;a=new Error(b);a.framesToPop=1;throw a}f["default"]=a}),66); __d("sdk.safelyParseResponse",["errorCode","nullthrows"],(function(a,b,c,d,e,f,g,h){"use strict";var i=function(a,b,c,d){return j};function a(a,b,d){b===void 0&&(b=null);d===void 0&&(d=null);try{return a===null?j:ES("JSON","parse",!1,c("nullthrows")(a))}catch(c){return i(c,a,b,d)}}var j={error:{code:1,error_subcode:1357046,message:"Received Invalid JSON reply.",type:"http"}};a.ERROR=j;a.setErrorHandler=function(a){i=a};b=a;g["default"]=b}),98); __d("whitelistObjectKeys",[],(function(a,b,c,d,e,f){function a(a,b){var c={};b=Array.isArray(b)?b:Object.keys(b);for(var d=0;d0||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("CORSRequest",["Log","QueryString","RequestConstants","sdk.Cookie","sdk.safelyParseResponse","wrapFunction"],(function(a,b,c,d,e,f,g){function h(a,b,d){d===void 0&&(d={withCredentials:!1});if(!self.XMLHttpRequest)return null;var e;e=new XMLHttpRequest();var f=function(){};((d=d)==null?void 0:d.withCredentials)&&(e.withCredentials=!0);if("withCredentials"in e)e.open(a,b,!0),e.setRequestHeader("Content-type","application/x-www-form-urlencoded");else if(self.XDomainRequest){e=new XDomainRequest();try{e.open(a,b),e.onprogress=e.ontimeout=f}catch(a){return null}}else return null;var g={send:function(a){e.send(a)}},h=c("wrapFunction")(function(){h=f,"onload"in g&&g.onload(e)},"entry","XMLHttpRequest:load"),i=c("wrapFunction")(function(){i=f,"onerror"in g&&g.onerror(e)},"entry","XMLHttpRequest:error");e.onload=function(){h()};e.onerror=function(){i()};e instanceof XMLHttpRequest&&(e.onreadystatechange=function(){e.readyState===4&&(e.status===200?h():i())});return g}var i="for (;;);",j=i.length;function k(a){a.substring(0,j)==i&&(a=a.substring(j));return a}function a(a,b,e,f,g){g===void 0&&(g={withCredentials:!1});if(ES(a,"includes",!0,"/../")||ES(a,"includes",!0,"/..\\")||ES(a,"includes",!0,"\\../")||ES(a,"includes",!0,"\\..\\")){d("Log").error("CORSRequest.execute(): path traversal is not allowed.");return!1}try{if(self.document){var i=d("sdk.Cookie").getRaw("cppo");i&&(a=c("QueryString").appendToUrl(a,c("QueryString").encode({__cppo:i})))}}catch(a){}e.suppress_http_code=1;i=c("QueryString").encode(e);b!=="post"&&(a=c("QueryString").appendToUrl(a,i),i="");e=h(b,a,g);if(!e)return!1;e.onload=function(b){f(c("sdk.safelyParseResponse")(k(b.responseText),a,b.status))};e.onerror=function(b){b.responseText?f(c("sdk.safelyParseResponse")(k(b.responseText),a,b.status)):f({error:babelHelpers["extends"]({},d("RequestConstants").PARSE_ERROR_TEMPLATE,{status:b.status})})};e.send(i);return!0}b={execute:a};e=b;g["default"]=e}),98); __d("ApiClient",["ApiBatcher","ApiClientUtils","Assert","CORSRequest","Log","ObservableMixin","QueryString","UrlMap","flattenObject"],(function(a,b,c,d,e,f,g){var h,i,j,k=[],l=!1,m=2e3,n={fql_query:!0,fql_multiquery:!0,friends_get:!0,notifications_get:!0,stream_get:!0,users_getinfo:!0},o=["cors"],p=0,q=[],r=0,s=0,t,u=d("Log");function v(a,b,d,e){var f=r!==0&&p>=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("sdk.PlatformVersioning",["ManagedError","sdk.Runtime"],(function(a,b,c,d,e,f,g){var h=/^v\d+\.\d\d?$/;function a(){if(!c("sdk.Runtime").getVersion())throw new(c("ManagedError"))("init not called with valid version")}function b(a){if(!h.test(a))throw new(c("ManagedError"))("invalid version specified")}g.REGEX=h;g.assertVersionIsSet=a;g.assertValidVersion=b}),98); __d("sdk.warnInsecure",["Log","sdk.Runtime","sdk.Scribe","sdk.feature"],(function(a,b,c,d,e,f,g){"use strict";var h=c("sdk.feature")("https_only_learn_more",""),i={};function a(a){window.location.protocol!=="https:"&&(d("Log").log("error",-1,"The method FB.%s can no longer be called from http pages. %s",a,h),c("sdk.feature")("https_only_scribe_logging",!0)&&!Object.prototype.hasOwnProperty.call(i,a)&&(d("sdk.Scribe").log("jssdk_error",{appId:c("sdk.Runtime").getClientID(),error:"HttpsOnly",extra:{message:a}}),i[a]=!0));return!0}g["default"]=a}),98); __d("sdk.api",["ApiClient","sdk.PlatformVersioning","sdk.Runtime","sdk.URI","sdk.warnInsecure"],(function(a,b,c,d,e,f,g){function a(a){for(var b=arguments.length,e=new Array(b>1?b-1:0),f=1;f=0;d--)c[a[d]]=b[d];else for(d=a.length-1;d>=0;d--)c[a[d]]=b;return c}f["default"]=g}),66); __d("resolveURI",[],(function(a,b,c,d,e,f){function a(a){if(a==null||a==="")return window.location.href;var b=document.createElement("a");b.href=a;return b.href}f["default"]=a}),66); __d("sdk.NativeExtensions",["DOMEventListener","Log","sdk.UA"],(function(a,b,c,d,e,f,g){var h="fbNativeExtensionsReady";function i(){return window._FBSdkExtensions&&window._FBSdkExtensions.jsonRPC&&window._FBSdkExtensions.initializeCallbackHandler&&window._FBSdkExtensions.supportsDialog?window._FBSdkExtensions:null}function a(a){if(!c("sdk.UA").facebookInAppBrowser()){d("Log").error("FB.NativeExtensions.onReady only works when the page is rendered in a WebView of the native Facebook app.");return}var b=i();if(b){a(b);return}var e=!1;b=function b(){var c=i();if(e||!c)return;e=!0;a(c);d("DOMEventListener").remove(window,h,b)};d("DOMEventListener").add(window,h,b)}g.onReady=a}),98); __d("sdk.Extensions",["JSONRPC","Queue","sdk.NativeExtensions","sdk.UA"],(function(a,b,c,d,e,f,g){"use strict";var h=new(c("Queue"))(),i=new(c("JSONRPC"))(function(a){h.enqueue(a)}),j=new(c("Queue"))();j.start(function(a){i.read(a)});var k=null;c("sdk.UA").facebookInAppBrowser()&&d("sdk.NativeExtensions").onReady(function(a){k=a,window._FBBrowserCallbackHandler=function(a){j.enqueue(ES("JSON","stringify",!1,a))},a.initializeCallbackHandler(ES("JSON","stringify",!1,{name:"_FBBrowserCallbackHandler"})),h.start(function(b){a.jsonRPC(b)})});b=i.local;e=i.remote;f=ES(i.stub,"bind",!0,i);function a(a){return!!k&&k.supportsDialog(a)}g.local=b;g.remote=e;g.stub=f;g.supportsDialog=a}),98); __d("sdk.Native",["Log","sdk.UA"],(function(a,b,c,d,e,f,g){var h="fbNativeReady";a={onready:function(a){if(!c("sdk.UA").nativeApp()){d("Log").error("FB.Native.onready only works when the page is rendered in a WebView of the native Facebook app. Test if this is the case calling FB.UA.nativeApp()");return}window.__fbNative&&!this.nativeReady&&ES("Object","assign",!1,this,window.__fbNative);if(this.nativeReady)a();else{var b=function b(){window.removeEventListener(h,b),this.onready(a)};window.addEventListener(h,b,!1)}}};b=a;g["default"]=b}),98); __d("sdk.Popup",["sdk.Content","sdk.Runtime","sdk.Scribe","sdk.UA","sdk.feature"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var e=h({name:a.name,height:a.size.height,width:a.size.width,isOAuth:b}),f;a.post?(f=window.open("about:blank",a.id,e),f&&d("sdk.Content").submitToTarget({url:a.url,target:a.id,params:a.params})):f=window.open(a.url,a.id,e);if(!f&&c("sdk.feature")("popup_blocker_scribe_logging",!0)){e=b?"POPUP_MAYBE_BLOCKED_OAUTH":"POPUP_MAYBE_BLOCKED";d("sdk.Scribe").log("jssdk_error",{appId:c("sdk.Runtime").getClientID(),error:e,extra:{call:a.name}})}return f}function h(a){var b=window.screenX,d=window.screenY,e=window.outerWidth,f=window.outerHeight,g=c("sdk.UA").mobile()?0:a.width,h=c("sdk.UA").mobile()?0:a.height;b=b<0?window.screen.width+b:b;b=b+(e-g)/2;e=d+(f-h)/2.5;d=[];g!==null&&d.push("width="+g);h!==null&&d.push("height="+h);d.push("left="+b);d.push("top="+e);d.push("scrollbars=1");a.isOAuth&&(d.push("toolbar=0"),(!c("sdk.UA").chrome()||c("sdk.UA").chrome()<59)&&d.push("location=1"));return d.join(",")}g.popup=a}),98); __d("isFacebookDotNetURI",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(a.getProtocol()!=="http"&&a.getProtocol()!=="https")return!1;var b=Number(a.getPort());if(!!b&&b!==80&&b!==443)return!1;return a.isSubdomainOfDomain("facebook.net")?!0:!1}f["default"]=a}),66); __d("isFacebookURI",[],(function(a,b,c,d,e,f){var g=null,h=["http","https"];function a(a){g||(g=new RegExp("(^|\\.)facebook\\.com$","i"));if(a.isEmpty()&&a.toString()!=="#")return!1;return!a.getDomain()&&!a.getProtocol()?!0:h.indexOf(a.getProtocol())!==-1&&g.test(a.getDomain())}a.setRegex=function(a){g=a};f["default"]=a}),66); __d("isInstagramURI",[],(function(a,b,c,d,e,f){var g=null;function a(a){if(a.isEmpty()&&a.toString()!=="#")return!1;if(!a.getDomain()&&!a.getProtocol())return!1;if(a.getProtocol()!=="https")return!1;g||(g=new RegExp("(^|\\.)instagram\\.com$","i"));return g.test(a.getDomain())}f["default"]=a}),66); __d("resolveWindow",[],(function(a,b,c,d,e,f){function a(a){if(a==null)return null;var b=window;a=a.split(".");try{for(var c=0;c0)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://web.archive.org/web/20240515031045/https://itunes.apple.com/us/app/messenger/id454638411",i="https://web.archive.org/web/20240515031045/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.config_id&&!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=a.params.override_default_response_type===!0?a.params.response_type: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(){var a;(a=c("sdk.RPC")).local.hidePluginObjects=function(){d("Log").info("hidePluginObjects called"),c("sdk.Canvas.Plugin").hidePluginCallback({state:"opened"})};a.local.showPluginObjects=function(){d("Log").info("showPluginObjects called"),c("sdk.Canvas.Plugin").hidePluginCallback({state:"closed"})};a.local.showFlashObjects=a.local.showPluginObjects;a.local.hideFlashObjects=a.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(){var a;(a=d("sdk.Event")).subscribe(a.SUBSCRIBE,b);a.subscribe(a.UNSUBSCRIBE,e);c("sdk.RPC").stub("useFriendsOnline");function b(a,b){if(a!="canvas.friendsOnlineUpdated")return;b.length===1&&c("sdk.RPC").remote.useFriendsOnline(!0)}function e(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("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("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("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("sdk.PluginUtils",["resolveURI","sdk.Event"],(function(a,b,c,d,e,f,g){var h={string:function(a){return a},bool:function(a){return a!=null?/^(?:true|1|yes|on)$/i.test(a):void 0},url:function(a){return c("resolveURI")(a)},url_maybe:function(a){return a!=null&&a!==""?c("resolveURI")(a):void 0},hostname:function(a){return a!=null&&a!==""?a:"window.location.hostname"},px:function(a){if(typeof a==="string"){var b=a.match(/^(\d+)(?:px)?$/);return b!=null?parseInt(b[0],10):void 0}else if(typeof a==="number")return a;else return void 0},text:function(a){return a}};function i(a,b){var c;return(c=(c=(c=(c=(c=(c=a[b])!=null?c:a[b.replace(/_/g,"-")])!=null?c:a[b.replace(/_/g,"")])!=null?c:a["data-"+b])!=null?c:a["data-"+b.replace(/_/g,"-")])!=null?c:a["data-"+b.replace(/_/g,"")])!=null?c:void 0}function a(a,b,c,d){Object.keys(a).forEach(function(e){if(a[e]==="text"&&!c[e]){var f;c[e]=(f=(f=b.textContent)!=null?f:b.innerText)!=null?f:void 0;b.setAttribute(e,c[e])}d[e]=h[a[e]](i(c,e))})}function j(a,b,c){b==="100%"?a.style.width="100%":b!=null&&b!==""&&(a.style.width=b+"px"),(c!=null&&c!==""||c===0)&&(a.style.height=c+"px")}function b(a){return function(b){b={width:b.width,height:b.height,pluginID:a};d("sdk.Event").fire("xfbml.resize",b)}}function e(a){return a==="100%"?"100%":a!=null?parseInt(a,10):void 0}function f(a){a!=null&&j(a,0,0)}var k={skin:"string",font:"string",width:"string",height:"px",ref:"string",lazy:"bool",color_scheme:"string"};g.getVal=i;g.validate=a;g.resize=j;g.resizeBubbler=b;g.parse=e;g.collapseIframe=f;g.baseParams=k}),98); __d("isNumberLike",[],(function(a,b,c,d,e,f){function a(a){return!isNaN(parseFloat(a))&&isFinite(a)}f["default"]=a}),66); __d("sdk.createIframe",["DOMEventListener","getBlankIframeSrc","guid","isNumberLike"],(function(a,b,c,d,e,f,g){function a(a){var b=ES("Object","assign",!1,{},a),e,f=b.name||c("guid")(),g=b.root,h=b.style||{border:"none"},i=b.url,j=b.onload,k=b.onerror;e=document.createElement("iframe");e.name=f;delete b.style;delete b.name;delete b.url;delete b.root;delete b.onload;delete b.onerror;delete b.height;delete b.width;b.frameBorder===void 0&&(b.frameBorder=0);b.allowTransparency===void 0&&(b.allowTransparency=!0);b.allowFullscreen===void 0&&(b.allowFullscreen=!0);b.scrolling===void 0&&(b.scrolling="no");b.allow===void 0&&(b.allow="encrypted-media");b.lazy&&(b.loading="lazy",h.visibility&&delete h.visibility);delete b.lazy;a.width!=null&&c("isNumberLike")(a.width)&&(e.width=a.width+"px");a.height!=null&&c("isNumberLike")(a.height)&&(e.height=a.height+"px");b.testid&&e.dataset!=null&&(e.dataset.testid=b.testid,delete b.testid);for(f in b)Object.prototype.hasOwnProperty.call(b,f)&&e.setAttribute(f,b[f]);ES("Object","assign",!1,e.style,h);e.src=c("getBlankIframeSrc")();g!=null&&g.appendChild(e);if(j)var l=d("DOMEventListener").add(e,"load",function(){l.remove(),j()});if(k)var m=d("DOMEventListener").add(e,"error",function(){m.remove(),k()});e.src=i;return e}g["default"]=a}),98); __d("IframePlugin",["Log","ObservableMixin","QueryString","Type","UrlMap","guid","sdk.Auth.LoginStatus","sdk.AuthUtils","sdk.DOM","sdk.Event","sdk.PlatformVersioning","sdk.PluginUtils","sdk.Runtime","sdk.UA","sdk.URI","sdk.XD","sdk.createIframe"],(function(a,b,c,d,e,f,g){var h=c("Type").extend({constructor:function(a,b,e,f){var g=this,h;this.parent();e=e.replace(/-/g,"_");var i=(h=d("sdk.PluginUtils")).getVal(f,"plugin_id");this.subscribe("xd.resize",h.resizeBubbler(i));this.subscribe("xd.resize.flow",h.resizeBubbler(i));this.subscribe("xd.resize.flow",function(a){ES("Object","assign",!1,g._iframeOptions.root.style,{verticalAlign:"bottom",overflow:""}),d("sdk.PluginUtils").resize(g._iframeOptions.root,d("sdk.PluginUtils").parse(a.width),d("sdk.PluginUtils").parse(a.height)),g.updateLift(),window.clearTimeout(g._timeoutID)});this.subscribe("xd.resize",function(b){var a;ES("Object","assign",!1,g._iframeOptions.root.style,{verticalAlign:"bottom",overflow:""});(a=d("sdk.PluginUtils")).resize(g._iframeOptions.root,a.parse(b.width),a.parse(b.height));a.resize(g._iframe,a.parse(b.width),a.parse(b.height));g._isIframeResized=!0;g.updateLift();window.clearTimeout(g._timeoutID)});this.subscribe("xd.resize.iframe",function(a){d("sdk.PluginUtils").resize(g._iframe,d("sdk.PluginUtils").parse(a.width),d("sdk.PluginUtils").parse(a.height)),g._isIframeResized=!0,g.updateLift(),window.clearTimeout(g._timeoutID)});this.subscribe("xd.sdk_event",function(b){var c=ES("JSON","parse",!1,b.data);c.pluginID=i;d("sdk.Event").fire(b.event,c,a)});var j=d("UrlMap").resolve("www")+"/plugins/"+e+".php?",k={};h.validate(this.getParams(),a,f,k);h.validate(h.baseParams,a,f,k);ES("Object","assign",!1,k,{app_id:c("sdk.Runtime").getClientID(),locale:c("sdk.Runtime").getLocale(),sdk:"joey",kid_directed_site:c("sdk.Runtime").getKidDirectedSite(),channel:d("sdk.XD").handler(function(a){a!=null&&g.inform("xd."+a.type,a)},"parent.parent",!0)});this.shouldIgnoreWidth()&&(k.width=void 0);k.container_width=a.offsetWidth;d("sdk.DOM").addCss(a,"fb_iframe_widget");var l=c("guid")();this.subscribe("xd.verify",function(a){d("sdk.XD").sendToFacebook(l,{method:"xd/verify",params:ES("JSON","stringify",!1,a.token)})});this.subscribe("xd.refreshLoginStatus",function(){d("sdk.AuthUtils").removeLogoutState(),c("sdk.Auth.LoginStatus").getLoginStatus(ES(g.inform,"bind",!0,g,"login.status"),!0)});h=document.createElement("span");ES("Object","assign",!1,h.style,{verticalAlign:"top",width:k.lazy?"1px":"0px",height:k.lazy?"1px":"0px",overflow:"hidden"});this._element=a;this._ns=b;this._tag=e;this._params=k;this._config=this.getConfig();this._iframeOptions={root:h,url:j+c("QueryString").encode(k),name:l,width:this._config.mobile_fullsize&&c("sdk.UA").mobile()?void 0:k.width||1e3,height:k.height||1e3,style:{border:"none",visibility:"hidden"},title:this._ns+":"+this._tag+" Facebook Social Plugin",testid:this._ns+":"+this._tag+" Facebook Social Plugin",onload:function(){return g.inform("render")},onerror:function(){return d("sdk.PluginUtils").collapseIframe(g._iframe)},lazy:k.lazy};this.isFluid()&&k.width!=="auto"&&(d("sdk.DOM").addCss(this._element,"fb_iframe_widget_fluid_desktop"),!k.width&&this._config.full_width&&(this._element.style.width="100%",this._iframeOptions.root.style.width="100%",this._iframeOptions.style.width="100%",this._params.container_width=this._element.offsetWidth,this._iframeOptions.url=j+c("QueryString").encode(this._params)))},shouldIgnoreWidth:function(){return c("sdk.UA").mobile()&&this.getConfig().mobile_fullsize},useInlineHeightForMobile:function(){return!0},process:function(){var a=this;if(c("sdk.Runtime").getIsVersioned()){d("sdk.PlatformVersioning").assertVersionIsSet();var b=new(c("sdk.URI"))(this._iframeOptions.url);this._iframeOptions.url=b.setPath("/"+c("sdk.Runtime").getVersion()+b.getPath()).toString()}b=babelHelpers["extends"]({},this._params);delete b.channel;var e=c("QueryString").encode(b);if(this._element.getAttribute("fb-iframe-plugin-query")==e){d("Log").info("Skipping render: %s:%s %s",this._ns,this._tag,e);this.inform("render");return}this._element.setAttribute("fb-iframe-plugin-query",e);this.subscribe("render",function(){d("sdk.Event").fire("iframeplugin:onload"),a._iframe.style.visibility="visible",a._isIframeResized||d("sdk.PluginUtils").collapseIframe(a._iframe)});while(this._element.firstChild)this._element.removeChild(this._element.firstChild);this._element.appendChild(this._iframeOptions.root);var f=c("sdk.UA").mobile()?120:45;this._timeoutID=window.setTimeout(function(){d("sdk.PluginUtils").collapseIframe(a._iframe),d("Log").warn("%s:%s failed to resize in %ss",a._ns,a._tag,f)},f*1e3);this._iframe=c("sdk.createIframe")(this._iframeOptions);d("sdk.Event").fire("iframeplugin:create");if(c("sdk.UA").mobile()||b.width==="auto"){this.useInlineHeightForMobile()&&d("sdk.DOM").addCss(this._element,"fb_iframe_widget_fluid");if(!this._iframeOptions.width){ES("Object","assign",!1,this._element.style,{display:"block",width:"100%",height:"auto"});ES("Object","assign",!1,this._iframeOptions.root.style,{width:"100%",height:"auto"});e={height:"auto",position:"static",width:"100%"};(c("sdk.UA").iphone()||c("sdk.UA").ipad())&&ES("Object","assign",!1,e,{width:"220px","min-width":"100%"});ES("Object","assign",!1,this._iframe.style,e)}}},getConfig:function(){return{}},isFluid:function(){var a=this.getConfig();return a.fluid},updateLift:function(){var a=this._iframe.style.width===this._iframeOptions.root.style.width&&this._iframe.style.height===this._iframeOptions.root.style.height;d("sdk.DOM")[a?"removeCss":"addCss"](this._iframe,"fb_iframe_widget_lift")}},c("ObservableMixin"));h.withParams=function(a,b){return h.extend({getParams:function(){return a},getConfig:function(){return b?b:{}}})};a=h;g["default"]=a}),98); __d("PluginConfig",["sdk.feature"],(function(a,b,c,d,e,f,g){a={mobile_fullsize:!0};b={mobile_fullsize:!0};d={mobile_fullsize:!0};e={mobile_fullsize:!0};f={mobile_fullsize:!0};c={fluid:c("sdk.feature")("fluid_embed",!1),mobile_fullsize:!0};a={comment_embed:a,messengerpreconfirmation:b,messengeraccountconfirmation:d,messengerbusinesslink:e,messengertoggle:f,post:c};b=a;g["default"]=b}),98); __d("PluginAttrTypes",[],(function(a,b,c,d,e,f){"use strict";a="string";b="bool";c="url";f.string=a;f.bool=b;f.url=c}),66); __d("PluginTags",["PluginAttrTypes"],(function(a,b,c,d,e,f,g){var h={ad_library_spend_tracker:{country:(a=d("PluginAttrTypes")).string,time_preset:a.string,custom_start_date:a.string,custom_end_date:a.string,race_type:a.string,state:a.string,district:a.string,page_ids:a.string,include_vps:a.bool},comment_embed:{href:a.url,include_parent:a.bool},composer:{action_type:a.string,action_properties:a.string},create_event_button:{},group:{href:a.url,show_social_context:a.bool,show_group_info:a.bool,show_metadata:a.bool},like:{href:a.url,layout:a.string,show_faces:a.bool,share:a.bool,action:a.string,send:a.bool,size:a.string},like_box:{href:a.string,show_faces:a.bool,header:a.bool,stream:a.bool,force_wall:a.bool,show_border:a.bool,id:a.string,connections:a.string,profile_id:a.string,name:a.string},page:{href:a.string,hide_cta:a.bool,hide_cover:a.bool,small_header:a.bool,adapt_container_width:a.bool,show_facepile:a.bool,show_posts:a.bool,tabs:a.string},page_events:{href:a.url},post:{href:a.url,show_text:a.bool},profile_pic:{uid:a.string,linked:a.bool,href:a.string,size:a.string,facebook_logo:a.bool},send_to_mobile:{max_rows:a.string,show_faces:a.bool,size:a.string}},i={fan:"like_box",likebox:"like_box"};Object.keys(i).forEach(function(a){h[a]=h[i[a]]});b=h;g["default"]=b}),98); __d("runOnce",[],(function(a,b,c,d,e,f){function a(a){var b=!1,c;return function(){b||(b=!0,c=a());return c}}f["default"]=a}),66); __d("XFBML",["Assert","Log","runOnce","sdk.Observable"],(function(a,b,c,d,e,f,g){var h={},i={},j=0,k=new(d("sdk.Observable").Observable)();function l(a,b){return(a[b]+"").trim()}function m(a){return h[l(a,"nodeName").toLowerCase()]}function n(a){var b=l(a,"className").split(/\s+/).filter(function(a){return Object.prototype.hasOwnProperty.call(i,a)});if(b.length===0)return void 0;if(a.getAttribute("fb-xfbml-state")||!a.childNodes||a.childNodes.length===0||a.childNodes.length===1&&a.childNodes[0].nodeType===3||a.children.length===1&&l(a.children[0],"className")==="fb-xfbml-parse-ignore")return i[b[0]]}function o(a){var b={};ES("Array","from",!1,a.attributes).forEach(function(a){b[l(a,"name")]=l(a,"value")});return b}function p(a,b,e){c("Assert").isTrue(a&&a.nodeType&&a.nodeType===1&&!!a.getElementsByTagName,"Invalid DOM node passed to FB.XFBML.parse()");c("Assert").isFunction(b,"Invalid callback passed to FB.XFBML.parse()");if(a==null)return;var f=++j;d("Log").info("XFBML Parsing Start %s",f);var g=1,h=0,i=function(){g--,g===0&&(d("Log").info("XFBML Parsing Finish %s, %s tags found",f,h),b!=null&&b(),k.inform("render",[f,h])),c("Assert").isTrue(g>=0,"onrender() has been called too many times")};ES("Array","from",!1,a.getElementsByTagName("*")).forEach(function(a){if(e!==!0&&a.getAttribute("fb-xfbml-state"))return;if(a.nodeType!==1)return;var b=m(a)||n(a);if(b==null)return;g++;h++;var d=new b.ctor(a,b.xmlns,b.localName,o(a));d.subscribe("render",c("runOnce")(function(){a.setAttribute("fb-xfbml-state","rendered"),i()}));b=function b(){a.getAttribute("fb-xfbml-state")=="parsed"?k.subscribe("render.queue",b):(a.setAttribute("fb-xfbml-state","parsed"),d.process())};b()});k.inform("parse",[f,h]);var l=3e4;window.setTimeout(function(){g>0&&d("Log").warn("%s tags failed to render in %s ms",g,l)},l);i()}k.subscribe("render",function(){var a=k.getSubscribers("render.queue");k.clearSubscribers("render.queue");a.forEach(function(a){a([])})});a={registerTag:function(a){var b=a.xmlns+":"+a.localName;if(b==="fb:customerchat"&&h[b]!=null)return;c("Assert").isUndefined(h[b],b+" already registered");h[b]=a;i[a.xmlns+"-"+a.localName]=a},parse:function(a,b){p((a=a)!=null?a:document.body,(a=b)!=null?a:function(){},!0)},parseNew:function(){p(document.body,function(){},!1)},subscribe:k.subscribe,unsubscribe:k.unsubscribe};b=a;g["default"]=b}),98); __d("sdk.XFBML.Comments",["IframePlugin","QueryString","UrlMap","sdk.DOM","sdk.Event","sdk.PluginUtils","sdk.Runtime","sdk.UA","sdk.URI"],(function(a,b,c,d,e,f,g){var h=320,i=babelHelpers["extends"]({numposts:"string",href:"url",permalink:"bool",order_by:"string",mobile:"bool",version:"string",hide_post_profile:"bool",limit:"string",offset:"string",view:"string",fb_comment_id:"string",from_mod_tool:"bool",migrated:"string",xid:"string",title:"string",url:"string",quiet:"string",reverse:"string",simple:"string",css:"string",notify:"string",count:"bool",skin:"string",font:"string",width:"string",height:"px",ref:"string",lazy:"bool",color_scheme:"string"},d("sdk.PluginUtils").baseParams);function j(a,b){Object.keys(i).forEach(function(c){var e=d("sdk.DOM").getAttr(a,c);e!==null&&(b[c]=e)});Object.keys(b).forEach(function(a){ES(a,"startsWith",!0,"data-")&&delete b[a]});c("sdk.UA").mobile()&&b.mobile!==!1&&(b.mobile=!0);b.skin||(b.skin=b.colorscheme);if(!b.href){b.title=b.title||document.title;b.url=b.url||document.URL;if(!b.xid){var e=document.URL.indexOf("#");e>0?b.xid=encodeURIComponent(document.URL.substring(0,e)):b.xid=encodeURIComponent(document.URL)}b.migrated&&(b.href=d("UrlMap").resolve("www")+"/plugins/comments_v1.php?app_id="+c("sdk.Runtime").getClientID()+"&xid="+encodeURIComponent(b.xid)+"&url="+encodeURIComponent(b.url))}else{e=b.fb_comment_id;e||(e=c("QueryString").decode(document.URL.substring(document.URL.indexOf("?")+1)).fb_comment_id,e&&e.indexOf("#")>0&&(e=e.substring(0,e.indexOf("#"))));e&&(b.fb_comment_id=e)}b.version||(b.version=c("sdk.Runtime").getVersion());b.permalink||(b.width=b.mobile||b.width==="auto"||b.width==="100%"?"":b.width?Math.max(b.width,h):550,b.height=100);if(b.href!=null){e=new(c("sdk.URI"))(b.href);e.getProtocol()||(b.href=e.setProtocol("http").toString())}return b}a=c("IframePlugin").extend({constructor:function(a,b,c,e){e=j(a,e),this.parent(a,b,c,e),this.subscribe("xd.sdk_event",function(a){d("sdk.Event").fire(a.event,ES("JSON","parse",!1,a.data))})},getConfig:function(){return{fluid:!0,full_width:!0}},getParams:function(){return i}});b=a;g["default"]=b}),98); __d("sdk.XFBML.CommentsCount",["sdk.DOM","sdk.XFBML.Comments","sprintf"],(function(a,b,c,d,e,f,g){a=c("sdk.XFBML.Comments").extend({constructor:function(a,b,e,f){d("sdk.DOM").addCss(a,"fb_comments_count_zero"),f.count=1,this.parent(a,b,"comments",f),this.subscribe("xd.comment_count",function(b){b=ES("JSON","parse",!1,b.data);d("sdk.DOM").dangerouslySetInnerHtml(a,c("sprintf")('%s',b.count));b.count>0&&d("sdk.DOM").removeCss(a,"fb_comments_count_zero");d("sdk.DOM").removeCss(a,"fb_iframe_widget")})}});b=a;g["default"]=b}),98); __d("ChatPluginEntryPointIconEnum",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum")({MESSENGER_ICON:"messenger_icon",CHAT_ROUND_ICON:"chat_round_icon",CHAT_ANGULAR_ICON:"chat_angular_icon",NONE:"none"});c=a;f["default"]=c}),66); __d("ChatPluginEntryPointLabelEnum",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum")({NONE:"none",CHAT:"chat",HELP:"help",ASK_US:"ask_us"});c=a;f["default"]=c}),66); __d("ChatPluginEntryPointSizeEnum",[],(function(a,b,c,d,e,f){a=Object.freeze({STANDARD:"standard",COMPACT:"compact"});f["default"]=a}),66); __d("ChatPluginSDKPreLoggingUtils",["CORSRequest","UrlMap","performanceAbsoluteNow"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,b,e,f){var g;f===void 0&&(f=!0);var i=(h||(h=c("performanceAbsoluteNow")))();a=a?d("UrlMap").resolve("social_plugin")+"/customer_chat/SDK/":d("UrlMap").resolve("www")+"/plugins/customer_chat/SDK/";g=(g=e.request_time)!=null?g:void 0;var j=0;typeof g==="number"&&f&&(j=i-g);e.request_time=i;c("CORSRequest").execute(a,"get",babelHelpers["extends"]({},e,{event_name:b,loading_time:j}),function(){return null})}g.preLogging=a}),98); __d("LiveChatPluginConstants",["$InternalEnum"],(function(a,b,c,d,e,f){"use strict";a="LiveChatEvent/";c="mqtt";d=b("$InternalEnum")({CONNECTED:"Connected",CONNECTING:"Connecting",DISCONNECTED:"Disconnected"});e=250;b=a+"close_timestamps";var g=a+"reset_badging",h=a+"state",i=a+"switch_account",j=a+"typing",k=a+"unread_count",l=a+"update_message_list",m="platform/plugins/connect/guest",n=a+"guest_upgrade_success",o=a+"guest_upgrade_success_incognito",p=a+"navigate_to_welcome_page",q="platform/plugins/connect/access_token";a=a+"start_re_engagement";var r=124,s=187,t=24,u=424,v=288,w=313,x=219,y=40,z=36,A=24,B=18,C=708,D=540,E=244,F=202,G=509,H=430,I=6,J=0,K=1,L=-1,M="messaging_plugin",N=8634e4,O="#8A8D91",P="entrypoint:customer_chat_plugin",Q=0,R=1,S=2,T=3,U="new_message_update",V="initial_fetch",W=5e3,X="https://web.archive.org/web/20240515031045/https://www.facebook.com/business/help/1661027437357021";f.MQTT=c;f.MQTTGatewayConnectionState=d;f.LOGIN_CHECK_INTERVAL=e;f.CLOSE_TIMESTAMPS=b;f.RESET_BADGING=g;f.STATE_UPDATE=h;f.SWITCH_ACCOUNT=i;f.TYPING_UPDATE=j;f.UNREAD_COUNT_UPDATE=k;f.UPDATE_MESSAGE_LIST=l;f.GUEST_MODE_CONNECT=m;f.GUEST_UPGRADE_SUCCESS=n;f.GUEST_UPGRADE_SUCCESS_INCOGNITO=o;f.NAVIGATE_TO_WELCOME_PAGE=p;f.ACCESS_TOKEN_LOGIN=q;f.START_RE_ENGAGEMENT=a;f.PROMPT_FALLBACK_HEIGHT=r;f.PROMPT_REDESIGN_FALLBACK_HEIGHT=s;f.PROMPT_CONTAINER_PADDING_HEIGHT=t;f.WELCOME_PAGE_GUEST_FALLBACK_HEIGHT=u;f.WELCOME_PAGE_NO_GUEST_FALLBACK_HEIGHT=v;f.WELCOME_PAGE_GUEST_FALLBACK_HEIGHT_WITH_COMPACT=w;f.WELCOME_PAGE_NO_GUEST_FALLBACK_HEIGHT_WITH_COMPACT=x;f.WELCOME_PAGE_ATTRIBUTION_OFFEST_HEIGHT=y;f.WELCOME_PAGE_ATTRIBUTION_OFFSET_HEIGHT_WITH_COMPACT=z;f.MAIN_IFRAME_PADDING_HEIGHT=A;f.MAIN_IFRAME_PADDING_HEIGHT_WITH_COMPACT=B;f.THREAD_PAGE_HEIGHT=C;f.THREAD_PAGE_HEIGHT_COMPACT=D;f.RE_ENGAGEMENT_COLLAPSED_DIALOG_HEIGHT=E;f.RE_ENGAGEMENT_COLLAPSED_DIALOG_HEIGHT_COMPACT=F;f.RE_ENGAGEMENT_EXPANDED_DIALOG_HEIGHT=G;f.RE_ENGAGEMENT_EXPANDED_DIALOG_HEIGHT_COMPACT=H;f.GREETING_TEXT_BOTTOM_SPACING_OFFEST=I;f.LOGGED_IN_CHAT_MODE=J;f.GUEST_CHAT_MODE=K;f.INVALID_CHAT_MODE=L;f.MESSENGING_PLUGIN=M;f.GUEST_SESSION_STORAGE_VALIDITY_MS=N;f.GUEST_SEND_BUTTON_COLOR_EMPTY_INPUT=O;f.LIVE_CHAT_ENTRYPOINT_ATTRIBUTION_TAG=P;f.ITP_CONSISTENCY_UNKNOWN_LOGGED_OUT=Q;f.ITP_CONSISTENCY_CONSISTENT_LOGGED_IN=R;f.ITP_CONSISTENCY_INCONSISTENT=S;f.ITP_CONSISTENCY_CONSISTENT_NO_ITP=T;f.NEW_MESSAGE_UPDATE=U;f.INITIAL_FETCH=V;f.PLUGIN_FADE_DELAY=W;f.HELP_DEX_LINK=X}),66); __d("ChatPluginStyleUtils",["LiveChatPluginConstants"],(function(a,b,c,d,e,f,g){var h=44,i=36,j=17,k=15,l=22,m=20,n=6,o=4,p=16,q=14,r=60,s=44,t=70,u=86,v=63,w=76,x=99,y=114,z=85,A=98,B=12;function a(){var a=screen.width;a="width: "+a+"px;";return"padding: 0; position: fixed; z-index: 2147483646;box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);border-radius: 16px;bottom: 24px; top: auto; right:0;"+a}function b(a){a instanceof HTMLElement&&(a.style.marginTop=window.innerHeight-a.clientHeight+"px")}function C(a,b,c,d,e,f,g){b=R(b,d,e);d=S(f,g);e=T(a,c);f=babelHelpers["extends"]({},b,d,e);return Object.fromEntries(ES("Object","entries",!1,f).sort())}function c(a,b,c,d,e,f,g){a=C(a,b,c,d,e,f,g);return ES("JSON","stringify",!1,a)}function e(a,b,c,d,e){c=c+(a=="right"?-2:43);b+r-16;b=b-16;d==="none"?e==="compact"?b+=s:b+=r:e==="compact"?b+=i:b+=h;d={bottom:b.toString()+"px",position:"fixed",width:"20px",height:"24px",zIndex:2147483645,borderRadius:"4pt",background:"none"};e={};switch(a){case"right":e=babelHelpers["extends"]({},d,{right:c+"px"});break;case"left":e=babelHelpers["extends"]({},d,{left:c+"px"});break}b=Object.fromEntries(ES("Object","entries",!1,e).sort());return ES("JSON","stringify",!1,b)}function f(a,b,c,d,e,f,g,h){var i=c;b=b-2.5;a==="left"&&(i=c-15,d==="none"?f==="compact"?i+=s:i+=r:e==="none"?d==="ask_us"?f==="compact"?i+=w:i+=u:f==="compact"?i+=v:i+=t:d==="ask_us"?f==="compact"?i+=A:i+=y:f==="compact"?i+=z:i+=x);c={bottom:b.toString()+"px",position:"fixed",zIndex:2147483646,height:"15px",width:"15px",borderRadius:"50%"};e={};switch(a){case"right":e=babelHelpers["extends"]({},c,{right:i+"px"});break;case"left":e=babelHelpers["extends"]({},c,{left:i+"px"});break}g===!1&&(e=babelHelpers["extends"]({},e,{animation:h===!0?"slideInFromBottomDelay 3.5s ease-out":null,backgroundColor:"#31CC46",border:"2.5px solid white",height:"10px",width:"10px"}));return Object.fromEntries(ES("Object","entries",!1,e).sort())}function D(a){var b="padding: 0; position: fixed; z-index: 2147483646;box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);border-radius: 16px;bottom: 24px; top: auto; right:0; margin: 0 12px; width: calc(100% - 24px);";a=a===!0?" height: 60px;":" height: 0px;";b+=a;return b}function E(a,b,c,d,e,f,g){c=c-B;r;e==="none"?f==="compact"?e=s:e=r:f==="compact"?e=i:e=h;f=e+b;e=" bottom: "+f.toString()+"px;";b="padding: 0; position: fixed; z-index: 2147483646; border-radius: 16px; top: auto; background: none; minHeight: 300px;";var j=" width: 399px;",k=" width: 324px;";b=b+(g==="compact"?k:j)+e;d?b+=" max-height: calc(100% - "+f.toString()+"px);":b+=" max-height: 0;";switch(a){case"right":b+=" right: "+(c+4)+"px;";break;case"left":b+=" left: "+(c-4)+"px;";break}return b}function F(a){var b="position: fixed; z-index: 2147483646; box-shadow: none; border-radius: 0; top: 0px; right: 0px; width: 100%;";a=a===!0?" height: 100%; max-height: 100%;":" max-height: 0px;";b+=a;return b}function G(a,b,c,e,f){b=H(b,c,e);if(!a){c=f?d("LiveChatPluginConstants").RE_ENGAGEMENT_COLLAPSED_DIALOG_HEIGHT_COMPACT:d("LiveChatPluginConstants").RE_ENGAGEMENT_COLLAPSED_DIALOG_HEIGHT;e=f?d("LiveChatPluginConstants").MAIN_IFRAME_PADDING_HEIGHT_WITH_COMPACT:d("LiveChatPluginConstants").MAIN_IFRAME_PADDING_HEIGHT;a=c+e;b+=a-d("LiveChatPluginConstants").GREETING_TEXT_BOTTOM_SPACING_OFFEST}return b}function H(a,b,c){var d=B;b==="none"?c==="compact"?d+=s:d+=r:c==="compact"?d+=i:d+=h;return d+a}function I(a,b,c,d,e){c=c-B;b=H(b,d,e);d={padding:0,position:"fixed",zIndex:2147483646,borderRadius:"16px",top:"auto",width:"247px",maxHeight:"calc(100% - 80px)",background:"none",height:"72px"};({});e=babelHelpers["extends"]({},d,{bottom:b+"px"});switch(a){case"right":e=babelHelpers["extends"]({},e,{right:"6px",marginRight:c+"px"});break;case"left":e=babelHelpers["extends"]({},e,{left:"2px",marginLeft:c+"px"});break}e=babelHelpers["extends"]({},e,{animation:"slideInFromBottomDelay 3s ease-out"});d=Object.fromEntries(ES("Object","entries",!1,e).sort());return ES("JSON","stringify",!1,d)}function J(a,b,c,d,e,f){c=c-B;b=H(b,e,f);e=" bottom: "+b.toString()+"px;";f="padding: 0; position: fixed; z-index: 2147483646;border-radius: 16px; top: auto; width: 247px; max-height: calc(100% - 80px); background: none;"+e;b=f;switch(a){case"right":b+=" right: 6px; margin-right: "+c+"px;";break;case"left":b+=" left: 2px; margin-left: "+c+"px;";break}b+=Boolean(d)?" animation: slideInFromBottomDelay 6s ease-out;":" animation: slideInFromBottomDelay 3s ease-out;";return b}function K(a,b,c,d,e,f){d=f==="compact"?s:r;var g="position: fixed; z-index: 2147483646; box-shadow: none; border-radius: 18px 0px 18px 18px; right: 0px; width: calc(80% - 40px); bottom: 24px;";if(a!=null&&typeof c=="number"){g+=" height: "+a+"px;";var j=c;a0){var e=p(d);a.setTimeout(function(){return y(e)},c.timeout)}return p(d)}function r(a){a=q(a);i[a]=null}function s(){m||(m=!0,c("requestAnimationFramePolyfill")(function(a){m=!1,u((h||(h=c("performanceNow")))()-a)}))}function t(a){var b=n-o;if(ab||al){a=t(a);if(a>0){b=b+a;x(b);l=b}}v()&&s()}function v(){return ja.$1){a.$3();return}var h=Date.now();if(h-b>a.$2){a.$3();return}h=g.timeRemaining();e+=h>=49&&f>=49?h:0;f=h;c(d)};return c(g)};b.isBrowserCompatible=function(){return typeof window==="undefined"?!1:typeof window.requestIdleCallback==="function"};return a}();g["default"]=a}),98); __d("uuidv4",[],(function(a,b,c,d,e,f){"use strict";function a(){var a;a=(a=self)==null?void 0:(a=a.crypto)==null?void 0:a.randomUUID;return typeof a==="function"?self.crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=Math.random()*16|0;a=a==="x"?b:b&3|8;return a.toString(16)})}f["default"]=a}),66); __d("sdk.XFBML.ChatDOM",["$InternalEnum","CORSRequest","ChatPluginEntryPointIconEnum","ChatPluginEntryPointLabelEnum","ChatPluginEntryPointSizeEnum","ChatPluginSDKPreLoggingUtils","ChatPluginStyleUtils","DOMPlugin","Log","UrlMap","getJSEnumSafe","performanceAbsoluteNow","sdk.Content","sdk.DOM","sdk.IdleCallback","sdk.XFBML.CustomerChatNew","sdk.fbt","sdk.feature","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h,i=b("$InternalEnum").Mirrored(["WAITING","LOADING","LOADED"]);a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,e,f,g){var j;j=a.call(this,b,e,f,g,{allow_guests:"bool",attribution:"string",greeting_dialog_display:"string",greeting_dialog_delay:"string",logged_in_greeting:"string",logged_out_greeting:"string",minimized:"bool",page_id:"string",theme_color:"string",override:"string",attribution_version:"string",is_loaded_by_facade:"bool"})||this;e=(h||(h=c("performanceAbsoluteNow")))();f=c("uuidv4")();var k=window.location.href;ES("Object","assign",!1,j.params,{current_url:k,log_id:f,request_time:e,is_loaded_by_facade:!0,should_use_new_domain:g.should_use_new_domain});d("ChatPluginSDKPreLoggingUtils").preLogging(Boolean(g.should_use_new_domain),"chat_plugin_sdk_facade_create",j.params,!1);d("sdk.DOM").remove(b);d("sdk.Content").append(b);j.$ChatDOMFacade$p_3=document.createElement("div");j.$ChatDOMFacade$p_1=i.WAITING;j.$ChatDOMFacade$p_2=!1;j.$ChatDOMFacade$p_6=!1;j.$ChatDOMFacade$p_8="standard";j.$ChatDOMFacade$p_9="none";j.$ChatDOMFacade$p_10="none";j.$ChatDOMFacade$p_11="left";j.$ChatDOMFacade$p_12=0;j.$ChatDOMFacade$p_13=0;j.$ChatDOMFacade$p_14=!1;j.$ChatDOMFacade$p_15=Boolean(g.should_use_new_domain);j.shadowCss=["css:fb.shadow.css.chatdom"];j.$ChatDOMFacade$p_4=h();d("Log").info("facadeperf: Started browser idle loader.");j.$ChatDOMFacade$p_5=new(c("sdk.IdleCallback"))(c("sdk.feature")("chat_plugin_facade_timeout_ms",8e3),function(){var a=(h||(h=c("performanceAbsoluteNow")))();d("Log").info("facadeperf: Idle callback starts full load in %sms.",a-j.$ChatDOMFacade$p_4);j.$ChatDOMFacade$p_16(!1,!1)}).start();return j}var e=b.prototype;e.render=function(a){var b=this;this.$ChatDOMFacade$p_3.classList.add("container");a=this.$ChatDOMFacade$p_15?d("UrlMap").resolve("social_plugin")+"/customer_chat/facade/":d("UrlMap").resolve("www")+"/plugins/customer_chat/facade/";c("CORSRequest").execute(a,"get",this.params,function(a){var e,f=(h||(h=c("performanceAbsoluteNow")))();d("Log").info("facadeperf: CORS request completed in %sms.",f-b.$ChatDOMFacade$p_4);if(a.error)return;b.$ChatDOMFacade$p_11=a.alignment;b.$ChatDOMFacade$p_12=a.bottom_spacing;b.$ChatDOMFacade$p_13=a.side_spacing;f=a.theme_color;b.$ChatDOMFacade$p_8=(e=c("getJSEnumSafe")(c("ChatPluginEntryPointSizeEnum"),(e=a.entry_point_size)==null?void 0:e.toUpperCase()))!=null?e:"standard";b.$ChatDOMFacade$p_9=(e=c("ChatPluginEntryPointLabelEnum").cast(a.entry_point_label))!=null?e:"none";b.$ChatDOMFacade$p_10=(e=c("ChatPluginEntryPointIconEnum").cast(a.entry_point_icon_enum))!=null?e:"none";b.$ChatDOMFacade$p_14=a.away_hours_enabled&&!a.is_page_away;if(b.$ChatDOMFacade$p_9==="none"){e=document.createElement("div");d("sdk.DOM").dangerouslySetInnerHtml(e,a.entry_point_icon_svg);e=e==null?void 0:e.outerHTML;d("sdk.DOM").dangerouslySetInnerHtml(b.$ChatDOMFacade$p_3,e)}else{e=a.entry_point_icon_svg;d("sdk.DOM").dangerouslySetInnerHtml(b.$ChatDOMFacade$p_3,b.$ChatDOMFacade$p_17(e))}e=d("ChatPluginStyleUtils").getEntryPointStyle(a.alignment,a.bottom_spacing,a.side_spacing,!1,!0,a.entry_point_label,b.$ChatDOMFacade$p_8);ES("Object","assign",!1,b.$ChatDOMFacade$p_3.style,e);b.$ChatDOMFacade$p_3.style.backgroundColor=f;if(b.$ChatDOMFacade$p_14){e=d("ChatPluginStyleUtils").getAvailabilityStatusStyleText(a.alignment,a.bottom_spacing,a.side_spacing,a.entry_point_label,a.entry_point_icon_enum,b.$ChatDOMFacade$p_8,!1,!0);f=document.createElement("div");ES("Object","assign",!1,f.style,e);b.$ChatDOMFacade$p_3.append(f)}d("ChatPluginSDKPreLoggingUtils").preLogging(b.$ChatDOMFacade$p_15,"chat_plugin_sdk_facade_load",b.params)});this.$ChatDOMFacade$p_3.addEventListener("click",function(a){b.$ChatDOMFacade$p_16(!0,!0)});return this.$ChatDOMFacade$p_3};e.$ChatDOMFacade$p_18=function(a){switch(a){case"chat":return c("sdk.fbt")._("Chat");case"help":return c("sdk.fbt")._("Help");case"ask_us":return c("sdk.fbt")._("Ask us");case"none":return""}};e.$ChatDOMFacade$p_19=function(){var a;(a=this.element.parentNode)==null?void 0:a.removeChild(this.element)};e.$ChatDOMFacade$p_20=function(){if(this.$ChatDOMFacade$p_2||this.$ChatDOMFacade$p_1===i.LOADED)return;if(this.$ChatDOMFacade$p_9==="none"){var a=this.$ChatDOMFacade$p_8==="compact"?24:36;a=this.$ChatDOMFacade$p_21(a);d("sdk.DOM").dangerouslySetInnerHtml(this.$ChatDOMFacade$p_3,'\n
\n '+a+"\n
\n ")}else{a=this.$ChatDOMFacade$p_8==="compact"?20:24;a=this.$ChatDOMFacade$p_21(a);if(this.$ChatDOMFacade$p_10==="none"){var b=this.$ChatDOMFacade$p_8==="compact"?d("ChatPluginStyleUtils").LABELED_ENTRY_POINT_COMPACT_ICON_MARGIN_RIGHT:d("ChatPluginStyleUtils").LABELED_ENTRY_POINT_STANDARD_ICON_MARGIN_RIGHT;d("sdk.DOM").dangerouslySetInnerHtml(this.$ChatDOMFacade$p_3.children[0],this.$ChatDOMFacade$p_22(b,a)+this.$ChatDOMFacade$p_3.children[0].innerHTML);if(this.$ChatDOMFacade$p_14){b=d("ChatPluginStyleUtils").getAvailabilityStatusStyleText(this.$ChatDOMFacade$p_11,this.$ChatDOMFacade$p_12,this.$ChatDOMFacade$p_13,this.$ChatDOMFacade$p_9,"chat_round_icon",this.$ChatDOMFacade$p_8,!1,!1);var c=document.createElement("div");ES("Object","assign",!1,c.style,b);d("sdk.DOM").remove(this.$ChatDOMFacade$p_3.children[1]);this.$ChatDOMFacade$p_3.append(c)}}else d("sdk.DOM").dangerouslySetInnerHtml(this.$ChatDOMFacade$p_3.children[0].children[0],a)}this.$ChatDOMFacade$p_2=!0};e.$ChatDOMFacade$p_17=function(a){var b=this.$ChatDOMFacade$p_8==="compact"?d("ChatPluginStyleUtils").LABELED_ENTRY_POINT_COMPACT_HEIGHT:d("ChatPluginStyleUtils").LABELED_ENTRY_POINT_STANDARD_HEIGHT,c=this.$ChatDOMFacade$p_8==="compact"?d("ChatPluginStyleUtils").LABELED_ENTRY_POINT_COMPACT_FONT_SIZE:d("ChatPluginStyleUtils").LABELED_ENTRY_POINT_STANDARD_FONT_SIZE,e=this.$ChatDOMFacade$p_8==="compact"?d("ChatPluginStyleUtils").LABELED_ENTRY_POINT_COMPACT_LINE_HEIGHT:d("ChatPluginStyleUtils").LABELED_ENTRY_POINT_STANDARD_LINE_HEIGHT,f=this.$ChatDOMFacade$p_8==="compact"?d("ChatPluginStyleUtils").LABELED_ENTRY_POINT_COMPACT_ICON_MARGIN_RIGHT:d("ChatPluginStyleUtils").LABELED_ENTRY_POINT_STANDARD_ICON_MARGIN_RIGHT,g=this.$ChatDOMFacade$p_8==="compact"?d("ChatPluginStyleUtils").LABELED_ENTRY_POINT_COMPACT_PADDING_HORIZONTAL:d("ChatPluginStyleUtils").LABELED_ENTRY_POINT_STANDARD_PADDING_HORIZONTAL;return'\n
\n '+(a&&'\n
\n '+a+"\n
\n ")+'\n '+this.$ChatDOMFacade$p_18(this.$ChatDOMFacade$p_9).toString()+"
\n \n "};e.$ChatDOMFacade$p_22=function(a,b){return'\n
\n '+b+"\n
\n "};e.$ChatDOMFacade$p_21=function(a){return'\n \n \n \n '};e.$ChatDOMFacade$p_23=function(a){if(a&&this.$ChatDOMFacade$p_7&&!this.$ChatDOMFacade$p_6){this.$ChatDOMFacade$p_6=!0;var b=this.$ChatDOMFacade$p_7;b.subscribe("iframes_loaded",function(a){b.showDialog()})}};e.$ChatDOMFacade$p_16=function(a,b){var e=this;b&&this.$ChatDOMFacade$p_20();this.$ChatDOMFacade$p_23(a);if(this.$ChatDOMFacade$p_1!==i.WAITING)return;this.$ChatDOMFacade$p_1=i.LOADING;b=document.createElement("div");d("sdk.Content").append(b,this.element);b=new(c("sdk.XFBML.CustomerChatNew"))(b,"fb","customerchat",this.params);this.$ChatDOMFacade$p_7=b;b.subscribe("xd.mpn.setupIconIframe",function(a){e.$ChatDOMFacade$p_1=i.LOADED,e.$ChatDOMFacade$p_19()});this.$ChatDOMFacade$p_23(a);b.process()};return b}(d("DOMPlugin").DOMPlugin);g["default"]=a}),226); __d("IframePluginClass",["Log","QueryString","UrlMap","guid","sdk.Auth.LoginStatus","sdk.AuthUtils","sdk.DOM","sdk.Event","sdk.Observable","sdk.PlatformVersioning","sdk.PluginUtils","sdk.Runtime","sdk.UA","sdk.URI","sdk.XD","sdk.createIframe"],(function(a,b,c,d,e,f,g){a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,e,f,g,h){var i;h===void 0&&(h=null);i=a.call(this)||this;f=f.replace(/-/g,"_");i.$IframePluginClass$p_2=!1;i.config=h!=null?h:{fluid:!1,mobile_fullsize:!1,full_width:!1};var j=d("sdk.PluginUtils").getVal(g,"plugin_id");i.subscribe("xd.resize",d("sdk.PluginUtils").resizeBubbler(j));i.subscribe("xd.resize.flow",d("sdk.PluginUtils").resizeBubbler(j));i.subscribe("xd.resize.flow",function(a){ES("Object","assign",!1,i.iframeOptions.root.style,{verticalAlign:"bottom",overflow:""}),d("sdk.PluginUtils").resize(i.iframeOptions.root,d("sdk.PluginUtils").parse(a.width),d("sdk.PluginUtils").parse(a.height)),i.updateLift(),window.clearTimeout(i.$IframePluginClass$p_1)});i.subscribe("xd.resize",function(a){var b;ES("Object","assign",!1,i.iframeOptions.root.style,{verticalAlign:"bottom",overflow:""});(b=d("sdk.PluginUtils")).resize(i.iframeOptions.root,b.parse(a.width),b.parse(a.height));b.resize(i.iframe,b.parse(a.width),b.parse(a.height));i.$IframePluginClass$p_2=!0;i.updateLift();window.clearTimeout(i.$IframePluginClass$p_1)});i.subscribe("xd.resize.iframe",function(a){d("sdk.PluginUtils").resize(i.iframe,d("sdk.PluginUtils").parse(a.width),d("sdk.PluginUtils").parse(a.height)),i.$IframePluginClass$p_2=!0,i.updateLift(),window.clearTimeout(i.$IframePluginClass$p_1)});i.subscribe("xd.sdk_event",function(a){var c=ES("JSON","parse",!1,a.data);c.pluginID=j;d("sdk.Event").fire(a.event,c,b)});h=g.should_use_new_domain?d("UrlMap").resolve("social_plugin")+"/"+f+".php?":d("UrlMap").resolve("www")+"/plugins/"+f+".php?";var k={};d("sdk.PluginUtils").validate(i.getParams(),b,g,k);d("sdk.PluginUtils").validate(d("sdk.PluginUtils").baseParams,b,g,k);ES("Object","assign",!1,k,{app_id:c("sdk.Runtime").getClientID(),locale:c("sdk.Runtime").getLocale(),sdk:"joey",kid_directed_site:c("sdk.Runtime").getKidDirectedSite(),channel:d("sdk.XD").handler(function(a){a!=null&&i.inform("xd."+a.type,a)},"parent.parent",!0)});i.shouldIgnoreWidth()&&(k.width=void 0);k.container_width=b.offsetWidth;d("sdk.DOM").addCss(b,"fb_iframe_widget");var l=c("guid")();i.subscribe("xd.verify",function(a){d("sdk.XD").sendToFacebook(l,{method:"xd/verify",params:ES("JSON","stringify",!1,a.token)})});i.subscribe("xd.refreshLoginStatus",function(){d("sdk.AuthUtils").removeLogoutState(),c("sdk.Auth.LoginStatus").getLoginStatus(ES(i.inform,"bind",!0,babelHelpers.assertThisInitialized(i),"login.status"),!0)});g=document.createElement("span");ES("Object","assign",!1,g.style,{verticalAlign:"top",width:k.lazy?"1px":"0px",height:k.lazy?"1px":"0px",overflow:"hidden"});i.element=b;i.ns=e;i.tag=f;i.params=k;i.iframeOptions={root:g,url:h+c("QueryString").encode(k),name:l,width:i.config.mobile_fullsize&&c("sdk.UA").mobile()?void 0:k.width||1e3,height:k.height||1e3,style:{border:"none",visibility:"hidden"},title:i.ns+":"+i.tag+" Facebook Social Plugin",testid:i.ns+":"+i.tag+" Facebook Social Plugin",onload:function(){return i.inform("render")},onerror:function(){return d("sdk.PluginUtils").collapseIframe(i.iframe)},lazy:k.lazy};i.config.fluid&&k.width!=="auto"&&(d("sdk.DOM").addCss(i.element,"fbiframe_widget_fluid_desktop"),!k.width&&i.config.full_width&&(i.element.style.width="100%",i.iframeOptions.root.style.width="100%",i.iframeOptions.style.width="100%",i.params.container_width=i.element.offsetWidth,i.iframeOptions.url=h+c("QueryString").encode(i.params)));return i}var e=b.prototype;e.shouldIgnoreWidth=function(){return c("sdk.UA").mobile()&&this.config.mobile_fullsize};e.useInlineHeightForMobile=function(){return!0};e.process=function(){var a=this;if(c("sdk.Runtime").getIsVersioned()){d("sdk.PlatformVersioning").assertVersionIsSet();var b=new(c("sdk.URI"))(this.iframeOptions.url);this.iframeOptions.url=b.setPath("/"+c("sdk.Runtime").getVersion()+b.getPath()).toString()}b=babelHelpers["extends"]({},this.params);delete b.channel;var e=c("QueryString").encode(b);if(this.element.getAttribute("fb-iframe-plugin-query")==e){d("Log").info("Skipping render: %s:%s %s",this.ns,this.tag,e);this.inform("render");return}this.element.setAttribute("fb-iframe-plugin-query",e);this.subscribe("render",function(){d("sdk.Event").fire("iframeplugin:onload"),a.iframe.style.visibility="visible",a.$IframePluginClass$p_2||d("sdk.PluginUtils").collapseIframe(a.iframe)});while(this.element.firstChild)this.element.removeChild(this.element.firstChild);this.element.appendChild(this.iframeOptions.root);var f=c("sdk.UA").mobile()?120:45;this.$IframePluginClass$p_1=window.setTimeout(function(){d("sdk.PluginUtils").collapseIframe(a.iframe),d("Log").warn("%s:%s failed to resize in %ss",a.ns,a.tag,f)},f*1e3);this.iframe=c("sdk.createIframe")(this.iframeOptions);d("sdk.Event").fire("iframeplugin:create");if(c("sdk.UA").mobile()||b.width==="auto"){this.useInlineHeightForMobile()&&d("sdk.DOM").addCss(this.element,"fbiframe_widget_fluid");if(!this.iframeOptions.width){ES("Object","assign",!1,this.element.style,{display:"block",width:"100%",height:"auto"});ES("Object","assign",!1,this.iframeOptions.root.style,{width:"100%",height:"auto"});e={height:"auto",position:"static",width:"100%"};(c("sdk.UA").iphone()||c("sdk.UA").ipad())&&ES("Object","assign",!1,e,{width:"220px",minWidth:"100%"});ES("Object","assign",!1,this.iframe.style,e)}}};e.getParams=function(){return this.params};e.updateLift=function(){var a=this.iframe.style.width===this.iframeOptions.root.style.width&&this.iframe.style.height===this.iframeOptions.root.style.height;(a?d("sdk.DOM").removeCss:d("sdk.DOM").addCss)(this.iframe,"fbiframe_widget_lift")};return b}(d("sdk.Observable").Observable);g["default"]=a}),98); __d("MPNExplicitUserInteractions",[],(function(a,b,c,d,e,f){"use strict";var g=36e5;function a(a){return a==null?!1:Date.now()<=a+g}f.hasUserInteraction=a}),66); __d("MPNLocalState",[],(function(a,b,c,d,e,f){"use strict";a={LANDING_BANNER:1,WELCOME_PAGE:2,ITP_CONTINUE:3,THREAD_VIEW:4,BUBBLE:5,REENGAGEMENT_COLLAPSED_VIEW:6,REENGAGEMENT_EXPANDED_VIEW:7};b={CHAT_NOT_STARTED:1,LOGGED_IN_CHAT_STARTED:2,GUEST_CHAT_STARTED:3};c="__fb_chat_plugin";f.MPNLocalStatePath=a;f.MPNChatState=b;f.LOCAL_STATE_KEY=c}),66); __d("getFacebookOriginForTarget",["Log"],(function(a,b,c,d,e,f,g){function a(a,b){b===void 0&&(b=top);var c=0,e=!1,f=200;window.addEventListener("message",function(c){c.source===b&&c.data.xdArbiterAck&&(/\.facebook\.(com|net)$/.test(c.origin)&&/^https:/.test(c.origin)?e===!1&&(e=!0,d("Log").debug("initXdArbiter got xdArbiterAck from "+c.origin),a(c.origin)):d("Log").error("xdAbiterAck was not from Facebook: ",c.origin))},!1);b.postMessage({xdArbiterSyn:!0},"*");c=window.setInterval(function(){!e&&f>0?(f--,d("Log").debug("resending xdArbiterSyn"),b.postMessage({xdArbiterSyn:!0},"*")):window.clearInterval(c)},200)}g["default"]=a}),98); __d("MPNSingletonProvider",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a){this.$1=null,this.$2=a}var b=a.prototype;b.get=function(){this.$1==null&&(this.$1=this.$2());return this.$1};b.clear=function(){this.$1=null};return a}();f["default"]=a}),66); __d("sdk.DocumentTitle",[],(function(a,b,c,d,e,f){var g=document.title,h=null,i=1500,j=null,k=!1;function l(){h!==null?!k?m(h):n():(clearInterval(j),j=null,n())}function m(a){document.title=a,k=!0}function n(){o(g),k=!1}function a(){return g}function o(a){document.title=a}function b(a){h=a;j===null&&(j=setInterval(l,i));return{stop:function(){h=null}}}f.get=a;f.set=o;f.blink=b}),66); __d("sdk.cp.Constants",["MPNLocalState","UrlMap","sdk.Runtime"],(function(a,b,c,d,e,f,g){"use strict";a=c("sdk.Runtime").getIsVersioned()?d("UrlMap").resolve("www")+"/"+c("sdk.Runtime").getVersion()+"/plugins/customer_chat/bubble":d("UrlMap").resolve("www")+"/plugins/customer_chat/bubble";b=c("sdk.Runtime").getIsVersioned()?d("UrlMap").resolve("social_plugin")+"/"+c("sdk.Runtime").getVersion()+"/customer_chat/bubble":d("UrlMap").resolve("social_plugin")+"/customer_chat/bubble";e={attribute:{alignment:"alignment",mobilePath:"mobile_path",desktopBottomSpacing:"desktop_bottom_spacing"},path:{landingPage:"/",welcomePage:"/welcome",bubble:"/bubble",itp:"/itpcontinue"},localStateKey:d("MPNLocalState").LOCAL_STATE_KEY,animationEvents:["animationend","mozAnimationEnd","MSAnimationEnd","oAnimationEnd","webkitAnimationEnd"],blankFrameURL:a,blankFrameNewDomainURL:b};g["default"]=e}),98); __d("sdk.cp.Actions",["DOMEventListener","MPNExplicitUserInteractions","MPNLocalState","MPNSingletonProvider","sdk.DOM","sdk.DocumentTitle","sdk.URI","sdk.WebStorage","sdk.cp.Constants"],(function(a,b,c,d,e,f,g){"use strict";var h=function(){function a(){}var b=a.prototype;b.reloadIframe=function(a,b){var e;if(a==null)return;var f=new(c("sdk.URI"))(a.src),g=f.getQueryData();g.local_state=(e=d("sdk.WebStorage").getLocalStorage())==null?void 0:e.getItem(c("sdk.cp.Constants").localStateKey);g.request_time=Date.now();(b==="true"||this.getExplicitUserInteractionFlag())&&(g.has_explicit_interaction="1");g.is_implicit_reload="1";f.setQueryData(g);a.src=f.valueOf()};b.getExplicitUserInteractionFlag=function(){var a=d("sdk.WebStorage").getLocalStorage(),b=null;if(a!=null)try{b=a.getItem(d("MPNLocalState").LOCAL_STATE_KEY)}catch(a){return!1}if(b!=null)try{a=ES("JSON","parse",!1,b);return d("MPNExplicitUserInteractions").hasUserInteraction(a==null?void 0:a.euit)}catch(a){return!1}return!1};b.setDialogAppearance=function(a,b){if(a==null)return;var c=b.height,e=b.boxShadow,f=b.margin,g=b.width;b=b.bottom;e!=null&&d("sdk.DOM").setStyle(a,"boxShadow",e);f!=null&&d("sdk.DOM").setStyle(a,"margin",f);c!=null&&d("sdk.DOM").setStyle(a,"height",c);g!=null&&d("sdk.DOM").setStyle(a,"width",g);b!=null&&d("sdk.DOM").setStyle(a,"bottom",b)};b.blinkPageTitle=function(a){var b=this;a!=null?(this.$2(),this.$1=d("sdk.DocumentTitle").blink(a),c("DOMEventListener").add(window,"focus",function(a){b.$2()})):this.$1&&a==null&&this.$2()};b.$2=function(){this.$1!=null&&(this.$1.stop(),this.$1=null)};return a}();a=new(c("MPNSingletonProvider"))(function(){return new h()});b=a.get();g["default"]=b}),98); __d("sdk.cp.Animation",["sdk.DOM","sdk.UA","sdk.cp.Constants"],(function(a,b,c,d,e,f,g){"use strict";function a(a){if(!a)return;var b=d("sdk.DOM").getAttr(a,c("sdk.cp.Constants").attribute.alignment);a=d("sdk.DOM").getAttr(a,c("sdk.cp.Constants").attribute.mobilePath);var e=c("sdk.UA").mobile(),f;if(e)switch(a){case c("sdk.cp.Constants").path.landingPage:return"fb_mpn_mobile_landing_page_slide_up";case c("sdk.cp.Constants").path.welcomePage:case c("sdk.cp.Constants").path.bubble:case c("sdk.cp.Constants").path.itp:return null;default:return"fb_mpn_mobile_bounce_in"}else switch(b){case"left":f="fb_customer_chat_bounce_in_from_left";break;case"right":default:f="fb_customer_chat_bounce_in_v2"}return f}function b(a){if(!a)return;var b=d("sdk.DOM").getAttr(a,c("sdk.cp.Constants").attribute.alignment);a=d("sdk.DOM").getAttr(a,c("sdk.cp.Constants").attribute.mobilePath);var e=c("sdk.UA").mobile(),f;if(e)switch(a){case c("sdk.cp.Constants").path.landingPage:return b==="left"?"fb_mpn_mobile_landing_page_slide_out_from_left":"fb_mpn_mobile_landing_page_slide_out";case c("sdk.cp.Constants").path.bubble:return"fb_mpn_mobile_bounce_out_v2";default:return"fb_mpn_mobile_bounce_out"}else switch(b){case"left":f="fb_customer_chat_bounce_out_from_left";break;case"right":default:f="fb_customer_chat_bounce_out_v2"}return f}g.iframeBounceInAnimation=a;g.iframeBounceOutAnimation=b}),98); __d("sdk.cp.Storage",["MPNSingletonProvider","sdk.WebStorage","sdk.cp.Constants"],(function(a,b,c,d,e,f,g){"use strict";var h=function(){function a(){}var b=a.prototype;b.setState=function(a){var b=d("sdk.WebStorage").getLocalStorageForRead();if(!b)return;try{if(a==null)b.removeItem(c("sdk.cp.Constants").localStateKey);else{var e=b.getItem(c("sdk.cp.Constants").localStateKey);if(e==null)b.setItem(c("sdk.cp.Constants").localStateKey,ES("JSON","stringify",!1,ES("JSON","parse",!1,a)));else{e=ES("JSON","parse",!1,e);a=ES("JSON","parse",!1,a);b.setItem(c("sdk.cp.Constants").localStateKey,ES("JSON","stringify",!1,babelHelpers["extends"]({},e,a)))}}}catch(a){return}};b.getStateJSON=function(){var a=d("sdk.WebStorage").getLocalStorageForRead();if(!a)return"{}";a=a.getItem(c("sdk.cp.Constants").localStateKey);return a==null?"{}":ES("JSON","stringify",!1,ES("JSON","parse",!1,a))};return a}();a=new(c("MPNSingletonProvider"))(function(){return new h()});b=a.get();g["default"]=b}),98); __d("sdk.XFBML.CustomerChatNew",["ChatPluginSDKPreLoggingUtils","DOMEventListener","IframePluginClass","Log","MPNExplicitUserInteractions","MPNLocalState","QueryString","UrlMap","getFacebookOriginForTarget","performanceAbsoluteNow","sdk.Content","sdk.DOM","sdk.DialogUtils","sdk.Event","sdk.UA","sdk.WebStorage","sdk.XD","sdk.XFBML.CustomerChatWrapper","sdk.cp.Actions","sdk.cp.Animation","sdk.cp.Constants","sdk.cp.Storage","sdk.createIframe"],(function(a,b,c,d,e,f,g){"use strict";var h;a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,c,e,f){var g;g=a.call(this,b,c,e,f)||this;g.$CustomerChat$p_1=null;g.$CustomerChat$p_2=null;g.$CustomerChat$p_3=null;g.$CustomerChat$p_4=null;g.$CustomerChat$p_5=null;g.$CustomerChat$p_6=null;g.$CustomerChat$p_7=null;g.$CustomerChat$p_8=null;g.$CustomerChat$p_9=null;g.$CustomerChat$p_10=null;g.$CustomerChat$p_11=null;g.$CustomerChat$p_12=!1;g.$CustomerChat$p_13=null;g.$CustomerChat$p_14=!1;g.$CustomerChat$p_15=!1;g.show=function(a){a===void 0&&(a=!0),g.$CustomerChat$p_15=!1,g.$CustomerChat$p_1!=null&&d("sdk.DOM").setStyle(g.$CustomerChat$p_1,"display","inline"),a&&g.$CustomerChat$p_30(g.$CustomerChat$p_4),d("sdk.Event").fire("customerchat.show"),g.$CustomerChat$p_34("show")};g.hide=function(){g.$CustomerChat$p_15=!0,g.$CustomerChat$p_1!=null&&d("sdk.DOM").setStyle(g.$CustomerChat$p_1,"display","none"),g.$CustomerChat$p_29(g.$CustomerChat$p_4),d("sdk.Event").fire("customerchat.hide"),g.$CustomerChat$p_34("hide")};g.showDialog=function(){g.$CustomerChat$p_1!=null&&d("sdk.DOM").setStyle(g.$CustomerChat$p_1,"display","inline"),g.$CustomerChat$p_30(g.$CustomerChat$p_4),g.$CustomerChat$p_34("showDialog")};g.hideDialog=function(){g.$CustomerChat$p_29(g.$CustomerChat$p_4),g.$CustomerChat$p_34("hideDialog")};g.update=function(a){var b;d("sdk.XD").sendToFacebook((b=g.$CustomerChat$p_5)!=null?b:"",{method:"updateCustomerChat",params:ES("JSON","stringify",!1,a||{})});g.$CustomerChat$p_34("update")};d("sdk.DOM").addCss(b,"fb_invisible_flow");d("sdk.DOM").remove(b);d("sdk.Content").append(b);g.$CustomerChat$p_16=Boolean(f.should_use_new_domain);g.$CustomerChat$p_17();d("sdk.Event").fire("customerchat.load");g.$CustomerChat$p_18();d("ChatPluginSDKPreLoggingUtils").preLogging(g.$CustomerChat$p_16,"chat_plugin_sdk_dialog_iframe_create",g.params,!1);return g}var e=b.prototype;e.$CustomerChat$p_17=function(){var a=d("sdk.WebStorage").getLocalStorage(),b=null;if(a!=null)try{b=a.getItem(d("MPNLocalState").LOCAL_STATE_KEY)}catch(a){d("Log").warn("Failed to access localStorage")}b!=null&&ES("Object","assign",!1,this.params,{local_state:b});if(b!=null)try{a=ES("JSON","parse",!1,b);d("MPNExplicitUserInteractions").hasUserInteraction(a==null?void 0:a.euit)&&ES("Object","assign",!1,this.params,{has_explicit_interaction:1})}catch(a){d("Log").warn("Invalid local state")}b=(h||(h=c("performanceAbsoluteNow")))();ES("Object","assign",!1,this.params,{request_time:b});a=this.$CustomerChat$p_16?d("UrlMap").resolve("social_plugin")+"/"+this.tag+".php?":d("UrlMap").resolve("www")+"/plugins/"+this.tag+".php?";this.iframeOptions.url=a+c("QueryString").encode(this.params);this.iframeOptions.title=""};e.$CustomerChat$p_18=function(){var a=this,b;this.subscribe("render",function(){d("ChatPluginSDKPreLoggingUtils").preLogging(a.$CustomerChat$p_16,"chat_plugin_sdk_dialog_iframe_load",a.params)});this.subscribe("xd.mpn.storeState",function(a){c("sdk.cp.Storage").setState(a.state)});this.subscribe("xd.mpn.getState",function(b){b=c("sdk.cp.Storage").getStateJSON();b={name:"mpnDidFetchState",params:b};a.$CustomerChat$p_19(b);a.$CustomerChat$p_20(b)});this.subscribe("xd.mpn.setupIconIframe",function(b){a.$CustomerChat$p_21(b)});this.subscribe("xd.mpn.setupDialogIframe",function(b){a.$CustomerChat$p_22(b)});this.subscribe("xd.mpn.toggleDialogVisibility",function(b){a.$CustomerChat$p_23(b)});this.subscribe("xd.mpn.toggleGreetingDialogVisibility",function(b){a.$CustomerChat$p_24(b)});this.subscribe("xd.mpn.updateGreetingAppearance",function(b){c("sdk.cp.Actions").setDialogAppearance(a.$CustomerChat$p_10,b)});this.subscribe("xd.mpn.updateDialogAppearance",function(b){c("sdk.cp.Actions").setDialogAppearance(a.iframe,b)});this.subscribe("xd.mpn.updateIconAppearance",function(b){c("sdk.cp.Actions").setDialogAppearance(a.$CustomerChat$p_3,b)});this.subscribe("xd.mpn.reload",function(b){c("sdk.cp.Actions").reloadIframe(a.iframe,b.hasExplicitInteraction)});this.subscribe("xd.mpn.updatePageTitle",function(a){c("sdk.cp.Actions").blinkPageTitle(a.title)});this.subscribe("xd.mpn.navigateToWelcomePage",function(b){a.$CustomerChat$p_25(b.isHidden)});(b=d("sdk.XFBML.CustomerChatWrapper")).CustomerChatInternalEvent.subscribe(b.CustomerChatInternalEventType.SHOW,this.show);b.CustomerChatInternalEvent.subscribe(b.CustomerChatInternalEventType.HIDE,this.hide);b.CustomerChatInternalEvent.subscribe(b.CustomerChatInternalEventType.SHOW_DIALOG,this.showDialog);b.CustomerChatInternalEvent.subscribe(b.CustomerChatInternalEventType.HIDE_DIALOG,this.hideDialog);b.CustomerChatInternalEvent.subscribe(b.CustomerChatInternalEventType.UPDATE,this.update)};e.$CustomerChat$p_21=function(a){var b=this;this.$CustomerChat$p_1&&d("sdk.DOM").remove(this.$CustomerChat$p_1);var e=a.frameName,f=a.iconSVG,g=d("sdk.DialogUtils").setupNewDialog(),h=ES("JSON","parse",!1,a.cssText),i=document.createElement("div");f!=null&&(d("sdk.DOM").dangerouslySetInnerHtml(i,f),ES("Object","assign",!1,i.style,h),i.style.boxShadow="none",d("sdk.Content").append(i,g.contentRoot));var j="blank_"+e;this.$CustomerChat$p_1=g.dialogElement;this.$CustomerChat$p_3=c("sdk.createIframe")({url:this.$CustomerChat$p_16?c("sdk.cp.Constants").blankFrameNewDomainURL:c("sdk.cp.Constants").blankFrameURL,name:j,root:g.contentRoot,tabindex:-1,width:60,style:h,"data-testid":"bubble_iframe",onload:function(){d("ChatPluginSDKPreLoggingUtils").preLogging(b.$CustomerChat$p_16,"chat_plugin_sdk_icon_iframe_load",b.params),b.$CustomerChat$p_2=j,b.$CustomerChat$p_26(),b.$CustomerChat$p_27(),window.setTimeout(function(){d("sdk.DOM").remove(i)},100)}});this.$CustomerChat$p_1&&this.$CustomerChat$p_1.setAttribute(c("sdk.cp.Constants").attribute.alignment,a.alignment);this.$CustomerChat$p_1&&d("sdk.Content").append(this.$CustomerChat$p_1);var k="availabilityStatus_"+e;this.$CustomerChat$p_8=c("sdk.createIframe")({url:this.$CustomerChat$p_16?c("sdk.cp.Constants").blankFrameNewDomainURL:c("sdk.cp.Constants").blankFrameURL,name:k,root:g.contentRoot,tabindex:-1,style:ES("JSON","parse",!1,a.availabilityStatusCssText),"data-testid":"availabilityStatus_iframe",onload:function(){b.$CustomerChat$p_9=k,b.$CustomerChat$p_26(),b.$CustomerChat$p_27()}});d("sdk.Content").append(this.$CustomerChat$p_8,g.contentRoot);var l="unread_"+e;this.$CustomerChat$p_6=c("sdk.createIframe")({url:this.$CustomerChat$p_16?c("sdk.cp.Constants").blankFrameNewDomainURL:c("sdk.cp.Constants").blankFrameURL,name:l,root:g.contentRoot,tabindex:-1,style:ES("JSON","parse",!1,a.unreadCountCssText),"data-testid":"unread_iframe",onload:function(){b.$CustomerChat$p_7=l,b.$CustomerChat$p_26(),b.$CustomerChat$p_27()}});d("sdk.Content").append(this.$CustomerChat$p_6,g.contentRoot);f=c("sdk.UA").mobile();if(!f){var m="greeting_"+e;this.$CustomerChat$p_10=c("sdk.createIframe")({url:this.$CustomerChat$p_16?c("sdk.cp.Constants").blankFrameNewDomainURL:c("sdk.cp.Constants").blankFrameURL,name:m,root:g.contentRoot,tabindex:-1,style:ES("JSON","parse",!1,a.greetingCssText),"data-testid":"greeting_iframe",onload:function(){b.$CustomerChat$p_11=m,b.$CustomerChat$p_26(),b.$CustomerChat$p_27()}});d("sdk.Content").append(this.$CustomerChat$p_10,g.contentRoot)}};e.$CustomerChat$p_27=function(){this.$CustomerChat$p_2!==null&&this.$CustomerChat$p_7!==null&&this.$CustomerChat$p_9!==null&&this.$CustomerChat$p_5!==null&&this.$CustomerChat$p_11!==null&&!this.$CustomerChat$p_12&&(this.$CustomerChat$p_12=!0,this.inform("iframes_loaded"))};e.$CustomerChat$p_26=function(){var a;this.$CustomerChat$p_19({name:"bubbleFrameLoaded",frameName:this.$CustomerChat$p_2,unreadCountFrameName:this.$CustomerChat$p_7,availabilityStatusIframeName:this.$CustomerChat$p_9,greetingIframeName:this.$CustomerChat$p_11,iconSrc:(a=this.$CustomerChat$p_3)==null?void 0:a.src,unreadSrc:(a=this.$CustomerChat$p_6)==null?void 0:a.src,request_time:this.params.request_time,log_id:this.params.log_id})};e.$CustomerChat$p_25=function(a){this.$CustomerChat$p_19({name:"navigateToWelcomePage",isHidden:a})};e.$CustomerChat$p_22=function(a){var b=a.cssText,e=a.mobilePath,f=a.isDialogHidden;a=a.desktopBottomSpacing;this.$CustomerChat$p_1&&(e&&this.$CustomerChat$p_1.setAttribute(c("sdk.cp.Constants").attribute.mobilePath,e),a&&this.$CustomerChat$p_1.setAttribute(c("sdk.cp.Constants").attribute.desktopBottomSpacing,a.toString()));this.$CustomerChat$p_14=f==="true";this.iframe&&(this.iframe.setAttribute("data-testid","dialog_iframe"),this.iframe.style.cssText=b);this.$CustomerChat$p_4=this.iframe;this.$CustomerChat$p_5=this.iframe.name;this.$CustomerChat$p_27();a=c("sdk.UA").mobile();if(a&&!this.$CustomerChat$p_14){if(e==c("sdk.cp.Constants").path.landingPage){f=d("sdk.cp.Animation").iframeBounceInAnimation(this.$CustomerChat$p_1);f!=null&&d("sdk.DOM").addCss(this.$CustomerChat$p_4,f)}e!=c("sdk.cp.Constants").path.landingPage&&e!=c("sdk.cp.Constants").path.bubble&&this.$CustomerChat$p_28()}this.$CustomerChat$p_15&&this.hide()};e.$CustomerChat$p_23=function(a){a=a.shouldHide;a==="true"?this.$CustomerChat$p_29(this.iframe):this.$CustomerChat$p_30(this.iframe)};e.$CustomerChat$p_24=function(a){a=a.shouldHide;a==="true"?this.$CustomerChat$p_31(this.$CustomerChat$p_10):this.$CustomerChat$p_32(this.$CustomerChat$p_10)};e.getParams=function(){return{allow_guests:"bool",attribution:"string",greeting_dialog_display:"string",greeting_dialog_delay:"string",logged_in_greeting:"string",logged_out_greeting:"string",minimized:"bool",page_id:"string",theme_color:"string",override:"string",attribution_version:"string",is_loaded_by_facade:"bool",current_url:"string",log_id:"string",request_time:"px"}};e.$CustomerChat$p_33=function(a,b){var d=this,e=window.frames[a],f=function(a){e==null?void 0:e.postMessage(babelHelpers["extends"]({},b),a)};this.$CustomerChat$p_13===null?c("getFacebookOriginForTarget")(function(a){d.$CustomerChat$p_13=a,f(d.$CustomerChat$p_13)},e):f(this.$CustomerChat$p_13)};e.$CustomerChat$p_20=function(a){var b;this.$CustomerChat$p_33((b=this.$CustomerChat$p_2)!=null?b:"",a)};e.$CustomerChat$p_19=function(a){var b;this.$CustomerChat$p_33((b=this.$CustomerChat$p_5)!=null?b:"",a)};e.$CustomerChat$p_34=function(a){this.$CustomerChat$p_19({name:"CustomerChat.SDK.Called",event:a})};e.$CustomerChat$p_28=function(){var a="fb_new_ui_mobile_overlay_active";d("sdk.DOM").addCss(document.body,a)};e.$CustomerChat$p_30=function(a){if(!a)return;if(this.$CustomerChat$p_14){this.$CustomerChat$p_14=!1;var b=d("sdk.cp.Animation").iframeBounceInAnimation(this.$CustomerChat$p_1),e=d("sdk.cp.Animation").iframeBounceOutAnimation(this.$CustomerChat$p_1);e!=null&&d("sdk.DOM").removeCss(a,e);b!=null&&d("sdk.DOM").addCss(a,b);if(c("sdk.UA").mobile())d("sdk.DOM").setStyle(a,"maxHeight","100%"),d("sdk.DOM").setStyle(a,"height","100%"),d("sdk.DOM").setStyle(a,"width","100%");else{e=this.$CustomerChat$p_1&&d("sdk.DOM").getAttr(this.$CustomerChat$p_1,c("sdk.cp.Constants").attribute.desktopBottomSpacing);b=e==null?"80":Number(e)+60;d("sdk.DOM").setStyle(a,"maxHeight","calc(100% - "+b+"px)");d("sdk.DOM").setStyle(a,"minHeight","300px")}this.$CustomerChat$p_19({name:"CustomerChat.isDialogHidden",params:{is_dialog_hidden:!1}});this.$CustomerChat$p_20({name:"CustomerChat.isDialogHidden",params:{is_dialog_hidden:!1}});d("sdk.Event").fire("customerchat.dialogShow")}};e.$CustomerChat$p_29=function(a){var b=this;if(!a)return;if(!this.$CustomerChat$p_14){this.$CustomerChat$p_14=!0;var e=d("sdk.cp.Animation").iframeBounceInAnimation(this.$CustomerChat$p_1),f=d("sdk.cp.Animation").iframeBounceOutAnimation(this.$CustomerChat$p_1);e!=null&&d("sdk.DOM").removeCss(a,e);f!=null&&d("sdk.DOM").addCss(a,f);var g={};c("sdk.cp.Constants").animationEvents.forEach(function(e){var f=function(e){b.$CustomerChat$p_14&&(d("sdk.DOM").setStyle(a,"maxHeight","0"),d("sdk.DOM").setStyle(a,"minHeight","0"),c("sdk.cp.Constants").animationEvents.forEach(function(b){g[b]&&(d("DOMEventListener").remove(a,b,g[b]),delete g[b])}))};g[e]=f;d("DOMEventListener").add(a,e,f)});this.$CustomerChat$p_19({name:"CustomerChat.isDialogHidden",params:{is_dialog_hidden:!0}});this.$CustomerChat$p_20({name:"CustomerChat.isDialogHidden",params:{is_dialog_hidden:!0}})}d("sdk.Event").fire("customerchat.dialogHide")};e.$CustomerChat$p_31=function(a){if(!a)return;d("sdk.DOM").setStyle(a,"maxHeight","0");d("sdk.DOM").setStyle(a,"minHeight","0")};e.$CustomerChat$p_32=function(a){if(!a)return;d("sdk.DOM").setStyle(a,"maxHeight","calc(100% - 80px)")};return b}(c("IframePluginClass"));g["default"]=a}),98); __d("sdk.XFBML.CustomerChatWrapper",["$InternalEnum","sdk.Observable","sdk.XFBML.ChatDOM"],(function(a,b,c,d,e,f,g){a=b("$InternalEnum")({SHOW:"SHOW",HIDE:"HIDE",SHOW_DIALOG:"SHOW_DIALOG",HIDE_DIALOG:"HIDE_DIALOG",UPDATE:"UDPATE"});e=new(d("sdk.Observable").Observable)();f=function(a,b,c,d){return new h(a,b,c,d)};var h=function(b){babelHelpers.inheritsLoose(a,b);function a(a,c,d,e){var f;f=b.call(this)||this;f.$CustomerChatWrapper$p_2=a;f.$CustomerChatWrapper$p_3=c;f.$CustomerChatWrapper$p_4=d;f.$CustomerChatWrapper$p_5=e;return f}var d=a.prototype;d.process=function(){var a=this;this.$CustomerChatWrapper$p_5.should_use_new_domain=!1;this.$CustomerChatWrapper$p_1=new(c("sdk.XFBML.ChatDOM"))(this.$CustomerChatWrapper$p_2,this.$CustomerChatWrapper$p_3,this.$CustomerChatWrapper$p_4,this.$CustomerChatWrapper$p_5);this.$CustomerChatWrapper$p_1.subscribe("render",function(){a.inform("render")});this.$CustomerChatWrapper$p_1.process()};return a}(d("sdk.Observable").Observable);g.CustomerChatInternalEventType=a;g.CustomerChatInternalEvent=e;g.CustomerChatWrapperPlugin=f}),98); __d("sdk.XFBML.LWIAdsCreation",["IframePlugin","sdk.createIframe"],(function(a,b,c,d,e,f,g){"use strict";a=c("IframePlugin").extend({constructor:function(a,b,c,d){this.parent(a,b,c,d),this._setUpSubscriptions()},getParams:function(){return{fbe_extras:"string",fbe_redirect_uri:"string",fbe_scopes:"string",fbe_state:"string",hide_manage_button:"bool",hide_explore_more_options:"bool",preferred_ad_options:"string"}},_setUpSubscriptions:function(){var a=this;this.subscribe("xd.lwiadscreation.load",function(b){a._createIframe(b)})},_createIframe:function(a){c("sdk.createIframe")({url:a.iframeURL,name:"LWIAdsCreationRootIframe",root:document.body,height:300,width:950})}});b=a;g["default"]=b}),98); __d("sdk.XFBML.LWIAdsInsights",["IframePlugin","sdk.createIframe"],(function(a,b,c,d,e,f,g){"use strict";a=c("IframePlugin").extend({constructor:function(a,b,c,d){this.parent(a,b,c,d),this._setUpSubscriptions()},getParams:function(){return{fbe_extras:"string",fbe_redirect_uri:"string",fbe_scopes:"string",fbe_state:"string"}},_setUpSubscriptions:function(){var a=this;this.subscribe("xd.lwiadsinsights.load",function(b){a._createIframe(b)})},_createIframe:function(a){c("sdk.createIframe")({url:a.iframeURL,name:"LWIAdsInsightsRootIframe",root:document.body,height:800,width:1050})}});b=a;g["default"]=b}),98); __d("safeEval",["sdk.Runtime","sdk.Scribe"],(function(a,b,c,d,e,f,g){function a(a,b){if(a===null||typeof a==="undefined")return;if(typeof a!=="string")return a;if(/^\w+$/.test(a)&&typeof window[a]==="function")return window[a].apply(null,b||[]);d("sdk.Scribe").log("jssdk_error",{appId:c("sdk.Runtime").getClientID(),error:"USE_OF_EVAL_FUNCTION",extra:{message:"Developer used an eval function"}});return Function('return eval("'+a.replace(/\"/g,'\\"')+'");').apply(null,b||[])}f.exports=a}),34); __d("sdk.SVGLogos",["guid"],(function(a,b,c,d,e,f,g){"use strict";var h="M90,212v-75h-27v-31h27v-25q0,-40 40,-40q15,0 24,2v26h-14q-16,0 -16,16v21h30l-5,31h-27v75",i="a106 106,0,1,0,-32 0",j="a106 106,1,0,1,-32 0";function k(a,b){Object.getOwnPropertyNames(b).forEach(function(c){return a.setAttribute(c,b[c])});return a}function l(a,b,c){b=k(document.createElementNS("http://www.w3.org/2000/svg",b),c);a==null?void 0:a.appendChild(b);return b}a=function(a){a=l(null,"svg",ES("Object","assign",!1,{viewBox:"0 0 100 100",preserveAspectRatio:"xMinYMin"},a));l(a,"line",{x1:"0",y1:"100",x2:"100",y2:"0","stroke-width":"12"});l(a,"line",{x1:"0",y1:"0",x2:"100",y2:"100","stroke-width":"12"});return a};b=function(a){a=l(null,"svg",ES("Object","assign",!1,{viewBox:"0 0 213 213",preserveAspectRatio:"xMinYMin"},a));l(a,"path",{d:h+i,"class":"f_logo_circle"});l(a,"path",{d:h+j,"class":"f_logo_f"});return a};d=function(a){a=l(null,"svg",ES("Object","assign",!1,{viewBox:"0 0 213 213",preserveAspectRatio:"xMinYMin"},a));l(a,"path",{d:h+i,"class":"f_logo_circle",fill:"white"});l(a,"path",{d:h+j,"class":"f_logo_f",fill:"white"});return a};e=function(a){a=l(null,"svg",ES("Object","assign",!1,{viewBox:"-2 -2 104 104",preserveAspectRatio:"xMinYMin"},a));l(a,"rect",{x:"5",y:"5",width:"91",height:"91","stroke-width":"9",rx:"23","class":"ig_logo_body"});l(a,"circle",{cx:"77",cy:"23",r:"6","class":"ig_logo_flash"});l(a,"circle",{cx:"50",cy:"50",r:"21","stroke-width":"9","class":"ig_logo_lens"});return a};f=function(a){var b=c("guid")();a=l(null,"svg",ES("Object","assign",!1,{viewBox:"-2 -2 104 104",preserveAspectRatio:"xMinYMin"},a));var d=l(a,"defs",{}),e=l(d,"mask",{id:b});l(e,"circle",{cx:"77",cy:"23",r:"6",fill:"white"});l(e,"circle",{cx:"50",cy:"50",r:"21","stroke-width":"9",stroke:"white"});l(e,"rect",{x:"5",y:"5",width:"91",height:"91","stroke-width":"9",rx:"23",stroke:"white",fill:"none"});e=l(d,"linearGradient",{id:"purplepink",x1:"0",x2:".15",y1:"0",y2:".6"});l(e,"stop",{offset:"12%","stop-color":"rgb(88,85,214)"});l(e,"stop",{offset:"85%","stop-color":"rgb(215,27,122)"});e=l(d,"radialGradient",{id:"yelloworange",cx:".35",cy:"1",r:"2"});l(e,"stop",{offset:"7%","stop-color":"rgb(252,215,114)"});l(e,"stop",{offset:"20%","stop-color":"rgb(244,102,37)"});l(e,"stop",{offset:"38%","stop-color":"rgb(225,37,122)","stop-opacity":"0"});l(a,"rect",{x:"1",y:"1",width:"99",height:"99","stroke-width":"0",rx:"23",fill:"url(#purplepink)",style:"mask: url(#"+b+")"});l(a,"rect",{x:"1",y:"1",width:"99",height:"99","stroke-width":"0",rx:"23",fill:"url(#yelloworange)",style:"mask: url(#"+b+")"});return a};g.close=a;g.facebook=b;g.facebookWhite=d;g.instagram=e;g.instagramColor=f}),98); __d("sdk.SharedStringConstants",["sdk.fbt"],(function(a,b,c,d,e,f,g){"use strict";b={continueWith:(a=c("sdk.fbt"))._("Continue with {facebook_app_name} or {instagram_app_name}"),continueWithShort:a._("{facebook_app_name} or {instagram_app_name}"),loginButtonAriaLabel:a._("Continue with Facebook or Instagram"),logout:a._("Logout"),logoutButtonAriaLabel:a._("Logout the current website"),titleText:a._("Choose Account"),promptText:a._("Which account would you like to use to log in?"),facebookText:a._("Log in with Facebook"),facebookTextShort:a._("Log in"),instagramText:a._("Log in with Instagram"),disambiguationDialogAriaLabelText:a._("Log in with Facebook or Instagram"),fbButtonText:a._("Continue with Facebook"),igButtonText:a._("Continue with Instagram")};g.buttonStringsFBT=b}),226); __d("sdk.XFBML.ShadowDOMLoginButton",["DOMPlugin","UrlMap","sdk.Auth","sdk.Event","sdk.LoggingUtils","sdk.PluginUtils","sdk.Runtime","sdk.SVGLogos","sdk.SharedStringConstants","sdk.createIframe","sdk.ui"],(function(a,b,c,d,e,f,g){var h={small:"11px",medium:"13px",large:"16px"},i={small:"20px",medium:"30px",large:"40px"},j="{facebook_app_name}";a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,e,f,g,h){b=a.call(this,b,e,f,g,h)||this;b.stateObservers=[];b.shadowCss=["css:fb.shadow.css.fb_login_button"];b.container=document.createElement("div");b.container.classList.add("fb_login_button_container");b.container.dir="auto";b.loginButtonText=b.updateLabel();b.fbLoginButton=document.createElement("button");b.borderRadius=b.updateRadius(b.params);b.fbLoginButton=b.createSingleButton(b.loginButtonText);b.createFBButton("fb-button-main-element",d("sdk.SharedStringConstants").buttonStringsFBT.logout,d("sdk.SharedStringConstants").buttonStringsFBT.logoutButtonAriaLabel,r,function(a){this.style.display=a.status==="connected"?"flex":"none"},ES(function(a){c("sdk.Auth").logout(),a&&a.detail===0&&this.fbLoginButton&&this.fbLoginButton.style.display!=="none"&&this.fbLoginButton.focus()},"bind",!0,babelHelpers.assertThisInitialized(b)));return b}var e=b.prototype;e.render=function(a){var b=this;this.updateDisplay({shouldHideDisambiguation:!0,status:c("sdk.Runtime").getLoginStatus()});d("sdk.Event").subscribe("auth.statusChange",function(a){a={shouldHideDisambiguation:!0,status:a.status,fxApp:a.loginSource};b.updateDisplay(a)});return this.container};e.createSingleButton=function(a){return this.createFBButton("fb-button-main-element",a,a,q,function(a){this.style.display=a.status==="connected"?"none":"flex"},ES(function(a){a.stopPropagation(),d("sdk.LoggingUtils").logLoginEvent(this.params,d("sdk.LoggingUtils").logEventName.buttonClick+"_single_fb"),this.loginTrigger()},"bind",!0,this))};e.loginTrigger=function(){var a="";c("sdk.ui")({method:"permissions.oauth",display:"popup",scope:a},this.loginCb())};e.createFBButton=function(a,b,c,d,e,f){var g=document.createElement("button");g.classList.add(a);g.setAttribute("aria-label",c);a=document.createElement("span");a.classList.add("fb_button_label_element");a.classList.add("fb_button_label");this.applyStyles(g,this.params);this.use_continue_as===!0?a.append(this.createIframeOverlay(this.container,this.params)):d(this.params,b,a);g.appendChild(a);g.addEventListener("click",function(a){f(a),g.blur()});g.updateDisplay=ES(e,"bind",!0,g);this.stateObservers.push(g);this.container.appendChild(g);return g};e.loginCb=function(){var a=this;return function(b){b.authResponse!=null&&b.status==="connected"?d("sdk.LoggingUtils").logLoginEvent(a.params,d("sdk.LoggingUtils").logEventName.loginSuccess+"_single_fb"):d("sdk.LoggingUtils").logLoginEvent(a.params,d("sdk.LoggingUtils").logEventName.loginCancel+"_single_fb")}};e.updateDisplay=function(a){this.stateObservers.forEach(function(b){return b.updateDisplay(a)})};e.updateLabel=function(){var a=this.params["button-type"]==="login_with"?d("sdk.SharedStringConstants").buttonStringsFBT.facebookText:d("sdk.SharedStringConstants").buttonStringsFBT.fbButtonText,b=o(this.params,a);this.params["button-type"]==="login_with"&&(a=b?a:d("sdk.SharedStringConstants").buttonStringsFBT.facebookTextShort);return a};e.updateRadius=function(a){var b;b=(b=d("sdk.PluginUtils").getVal(a,"layout"))!=null?b:"default";a=String(d("sdk.PluginUtils").getVal(a,"size"));a=a!==""?a:"small";a=a==="large"?"4px":"3px";return b==="rounded"?"20px":a};e.applyStyles=function(a,b){var c=String(d("sdk.PluginUtils").getVal(b,"size"));c=c!==""?c:"small";a.style.borderRadius=this.borderRadius;b=(b=d("sdk.PluginUtils").getVal(b,"width"))!=null?b:null;a.style.width=k(c,b).toString();a.style.fontSize=h[c];a.style.height=i[c];a.style.backgroundColor="rgb(26,119,242)";a.style.color="#fff";a.style.border="0";a.style.fontWeight="bold"};e.createIframeOverlay=function(a,b){var e,f=String(d("sdk.PluginUtils").getVal(b,"size"));f=f!==""?f:"small";var g=c("sdk.Runtime").getClientID(),h=String(d("sdk.PluginUtils").getVal(b,"layout"));h=h!==""?h:"default";e=(e=d("sdk.PluginUtils").getVal(b,"width"))!=null?e:null;e=k(f,e).toString();g=d("UrlMap").resolve("www")+("/plugins/login_button_overlay/"+g+"/"+e+"/"+f+"/"+h+"/");h={root:a,url:g,borderRadius:(f=d("sdk.PluginUtils").getVal(b,"layout"))!=null?f:"default",width:e};a=c("sdk.createIframe")(h);a.classList.add("fb-iframe-overlay");return a};return b}(d("DOMPlugin").DOMPlugin);function k(a,b){a=a!=null?a:"small";return b===""||b==null?m(a):l(a,b)}function l(a,b){b=isNaN(b)?0:Number(b);var c=m(a),d=n(a);if(bn(a)?d:b}function m(a){switch(a){case"large":return 240;case"medium":return 200;default:return 200}}function n(a){switch(a){case"large":return 400;case"medium":return 320;default:return 300}}function o(a,b){var c;b=b.replace(/\s?{facebook_app_name}\s?/,"");c=(c=d("sdk.PluginUtils").getVal(a,"width"))!=null?c:null;a=(a=d("sdk.PluginUtils").getVal(a,"size"))!=null?a:"large";a=k(a,c);c=p(b)?p(b):0;return c0||typeof a==="string"&&/^[0-9a-f]{21,}$|^[0-9]{1,21}$/.test(a);if(b)return a.toString();d("Log").warn("Invalid App Id: Must be a number or numeric string representing the application id.");return null}function a(a){c("sdk.Runtime").getInitialized()&&d("Log").warn("FB.init has already been called - this could indicate a problem");if(c("sdk.Runtime").getIsVersioned()){if(Object.prototype.toString.call(a)!=="[object Object]")throw new(c("ManagedError"))("Invalid argument");if(a.authResponse)throw new(c("ManagedError"))("Setting authResponse is not supported");a.version||(a.version=new(c("sdk.URI"))(location.href).getQueryData().sdk_version);d("sdk.PlatformVersioning").assertValidVersion(a.version);c("sdk.Runtime").setVersion(a.version)}else/number|string/.test(typeof a)&&(d("Log").warn("FB.init called with invalid parameters"),a={apiKey:a}),a.status==null&&(a.legacyStatusInit=!0),a=babelHelpers["extends"]({status:!0},a||{});var b=h(a.appId||a.apiKey);b!==null&&c("sdk.Runtime").setClientID(b);"scope"in a&&c("sdk.Runtime").setScope(a.scope);a.cookie&&(c("sdk.Runtime").setUseCookie(!0),typeof a.cookie==="string"&&d("sdk.Cookie").setDomain(a.cookie));(a.localStorage===!1||a.localStorage==="false")&&c("sdk.Runtime").setUseLocalStorage(!1);a.kidDirectedSite&&c("sdk.Runtime").setKidDirectedSite(!0);a.useFamilyLogin&&c("sdk.Runtime").setShouldLoadFamilyLogin(!0);(a.autoLogAppEvents==="1"||a.autoLogAppEvents==="true")&&(a.autoLogAppEvents=!0);a.ab&&c("sdk.Runtime").setSDKAB(a.ab);c("sdk.Runtime").setInitialized(!0);c("sdk.UA").mBasic()&&d("sdk.MBasicInitializer").init();d("sdk.Event").fire("init:post",a)}g["default"]=a}),98); __d("sdk.init-public",["FB","QueryString","sdk.AppEvents","sdk.ErrorHandling","sdk.Event","sdk.Frictionless","sdk.XD","sdk.init"],(function(a,b,c,d,e,f,g){"use strict";function a(){b("sdk.XD"),b("sdk.AppEvents"),b("sdk.Frictionless"),window.setTimeout(function(){var a=/(connect\.facebook\.net|\.facebook\.com\/assets.php|\.facebook\.net\/assets.php).*?#(.*)/;ES("Array","from",!1,window.document.getElementsByTagName("script")).forEach(function(b){if(b.src){b=a.exec(b.src);if(b){var d={};b=c("QueryString").decode(b[2]);for(var e in b)if(Object.prototype.hasOwnProperty.call(b,e)){var f=b[e];f==="0"?d[e]=0:d[e]=f}c("sdk.init")(d)}}});window.fbAsyncInit&&!window.fbAsyncInit.hasRun&&(d("sdk.Event").fire("init:asyncstart"),window.fbAsyncInit.hasRun=!0,c("sdk.ErrorHandling").unguard(window.fbAsyncInit)())},0),c("FB").provide("",{init:c("sdk.init")}),d("sdk.Event").subscribe("init:post",function(){window.__buffer!==void 0&&window.__buffer.replay()}),window.setTimeout(function(){window.__buffer&&window.__buffer.opts&&c("sdk.init")(window.__buffer.opts)},0)}e={initialize:a};f=e;g["default"]=f}),98); __d("sdk.Time",["Log","sdk.Impressions","sdk.Runtime","sdk.URI","sdk.feature"],(function(a,b,c,d,e,f,g){"use strict";var h=window.performance,i=h&&"now"in h&&"getEntriesByName"in h,j,k={};function a(){function a(a,b){var e=!1;try{a=new(c("sdk.URI"))(a.name);var f=a.getDomain();a=a.getPath();e=f===b.getDomain()&&ES(a,"includes",!0,"/rsrc.php/")}catch(a){d("Log").error("Malformed URL was passed to the URL constructor: Error %s occured",a.message)}return e}function b(b){try{var e=h.getEntriesByType("resource").filter(function(d){return a(d,new(c("sdk.URI"))(b))}),f=e.length>=1;f||(e=h.getEntriesByType("resource").filter(function(a){return ES(a.name,"startsWith",!0,b)}));return e}catch(a){d("Log").error("Malformed URL was passed to the URL constructor: Error %s occured",a.message)}}if(i){var e=c("sdk.Runtime").getSDKUrl(),f=null;b=b(e);if(b&&b.length>1)if(b>2)b=null;else{var g=ES(b,"findIndex",!0,function(a){return ES(a.name,"startsWith",!0,e+"?hash=")});!g?b=null:(f=b.splice(g)[0],b=b[0])}else if(b&&b.length===1){g=document.getElementById("facebook-jssdk-iframe");g&&g instanceof HTMLIFrameElement&&(f=g.contentWindow.performance.getEntriesByType("resource").find(function(a){return ES(a.name,"startsWith",!0,e)}));b=b[0]}else b=null;b&&(k.fetchTime=Math.round(b.duration),f&&(k.fetchTime+=Math.round(f.duration)),"transferSize"in b&&(k.transferSize=b.transferSize,f&&(k.transferSize+=f.transferSize)),d("Log").debug("sdkperf: it took %s ms and %s bytes to load %s",k.fetchTime,k.transferSize,e),j=b.startTime,k.ns=c("sdk.Runtime").getSDKNS(),j&&window.setTimeout(function(){var a=c("sdk.feature")("log_perf",!1),b=c("sdk.Runtime").getSDKAB();b&&(k.ab=b,a=!0);a&&d("sdk.Impressions").log(116,k)},1e4))}}function b(a){if(!i||!j)return;k[a]=Math.round(h.now()-j);d("Log").debug("sdkperf: %s logged after %s ms",a,k[a])}g.recordBootload=a;g.log=b}),98); __d("sdk.time-public",["runOnce","sdk.Event","sdk.Time"],(function(a,b,c,d,e,f,g){"use strict";function a(){var a;d("sdk.Time").recordBootload();(a=d("sdk.Event")).subscribe("init:post",function(){d("sdk.Time").log("init")});a.subscribe("init:asyncstart",function(){d("sdk.Time").log("asyncstart")});a.subscribe("iframeplugin:create",c("runOnce")(function(){return d("sdk.Time").log("pluginframe")}));a.subscribe("iframeplugin:onload",c("runOnce")(function(){return d("sdk.Time").log("ttfp")}))}b={init:a};e=b;g["default"]=e}),98); __d("legacy:fb.sdk.index",["FB","sdk.AppEvents-public","sdk.Auth-public","sdk.Canvas-public","sdk.Event-public","sdk.Frictionless-public","sdk.GamingServices-public","sdk.Runtime","sdk.XFBML-public","sdk.api-public","sdk.init-public","sdk.time-public","sdk.ui"],(function(a,b,c,d,e,f,g){c("sdk.api-public").init();c("sdk.AppEvents-public").init();c("sdk.Auth-public").init();(a=c("sdk.Canvas-public")).init();a.initCanvasPlugin();a.initCanvasPrefetcher();a.initCanvasPresence();c("sdk.Event-public").init();c("sdk.Frictionless-public").init();c("sdk.GamingServices-public").init();c("sdk.init-public").initialize();c("sdk.time-public").init();c("FB").provide("",{ui:c("sdk.ui")});c("sdk.XFBML-public").init();c("sdk.XFBML-public").initXFBMLBasedSocialPlugin();c("sdk.Runtime").setIsVersioned(!0)}),35); window.FB&&window.FB.__buffer&&(window.__buffer=babelHelpers["extends"]({},window.FB.__buffer)); __d("setTimeout",["cr:7390"],(function(a,b,c,d,e,f,g){g["default"]=b("cr:7390")}),98); __d("throttle",["TimeSlice","TimeSliceInteractionSV","setTimeout","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g){function a(a,b,d){return h(a,b,d,c("setTimeout"),!1)}ES("Object","assign",!1,a,{acrossTransitions:function(a,b,d){return h(a,b,d,c("setTimeoutAcrossTransitions"),!1)},withBlocking:function(a,b,d){return h(a,b,d,c("setTimeout"),!0)},acrossTransitionsWithBlocking:function(a,b,d){return h(a,b,d,c("setTimeoutAcrossTransitions"),!0)}});function h(a,b,d,e,f){var g=b==null?100:b,h,i=null,j=0,k=null,l=[],m=c("TimeSlice").guard(function(){j=Date.now();if(i){var b=ES(function(b){a.apply(h,b)},"bind",!0,null,i),c=l.length;while(--c>=0)b=ES(l[c],"bind",!0,null,b);l=[];b();i=null;k=e(m,g)}else k=null},"throttle_"+g+"_ms",{propagationType:c("TimeSlice").PropagationType.EXECUTION,registerCallStack:!0});m.__SMmeta=a.__SMmeta;return function(){c("TimeSliceInteractionSV").ref_counting_fix&&l.push(c("TimeSlice").getGuardedContinuation("throttleWithContinuation"));for(var a=arguments.length,b=new Array(a),n=0;ng)&&(f===!0?m():k=e(m,0))}}b=a;g["default"]=b}),98); __d("legacy:fb.xfbml.customerchat",["FB","XFBML","sdk.XFBML.CustomerChatWrapper","throttle"],(function(a,b,c,d,e,f,g){c("XFBML").registerTag({xmlns:"fb",localName:"customerchat",ctor:d("sdk.XFBML.CustomerChatWrapper").CustomerChatWrapperPlugin});c("FB").provide("CustomerChat",{show:(a=c("throttle"))(function(a){d("sdk.XFBML.CustomerChatWrapper").CustomerChatInternalEvent.inform(d("sdk.XFBML.CustomerChatWrapper").CustomerChatInternalEventType.SHOW,a)},1e3),hide:a(function(){d("sdk.XFBML.CustomerChatWrapper").CustomerChatInternalEvent.inform(d("sdk.XFBML.CustomerChatWrapper").CustomerChatInternalEventType.HIDE)},1e3),showDialog:a(function(){d("sdk.XFBML.CustomerChatWrapper").CustomerChatInternalEvent.inform(d("sdk.XFBML.CustomerChatWrapper").CustomerChatInternalEventType.SHOW_DIALOG)},1e3),hideDialog:a(function(){d("sdk.XFBML.CustomerChatWrapper").CustomerChatInternalEvent.inform(d("sdk.XFBML.CustomerChatWrapper").CustomerChatInternalEventType.HIDE_DIALOG)},1e3),update:a(function(a){d("sdk.XFBML.CustomerChatWrapper").CustomerChatInternalEvent.inform(d("sdk.XFBML.CustomerChatWrapper").CustomerChatInternalEventType.UPDATE,a)},1e3)})}),35); } }).call(global);})();} catch (e) {var i = new Image();i.crossOrigin = 'anonymous';i.dataset.testid = 'fbSDKErrorReport';i.src='https://web.archive.org/web/20240515031045/https://www.facebook.com/platform/scribe_endpoint.php/?c=jssdk_error&m='+encodeURIComponent('{"error":"LOAD", "extra": {"name":"'+e.name+'","line":"'+(e.lineNumber||e.line)+'","script":"'+(e.fileName||e.sourceURL||e.script||"xfbml.customerchat.js")+'","stack":"'+(e.stackTrace||e.stack)+'","revision":"1013499993","namespace":"FB","message":"'+e.message+'"}}');document.body.appendChild(i);} } /* FILE ARCHIVED ON 03:10:45 May 15, 2024 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 06:21:00 Jun 13, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.679 exclusion.robots: 0.064 exclusion.robots.policy: 0.054 esindex: 0.009 cdx.remote: 9.627 LoadShardBlock: 204.349 (6) PetaboxLoader3.datanode: 161.122 (7) PetaboxLoader3.resolve: 99.512 (2) load_resource: 138.946 */