if (self.CavalryLogger) { CavalryLogger.start_js(["GX+NQ"]); } __d("ActorURIConfig",[],(function(a,b,c,d,e,f){e.exports={PARAMETER_ACTOR:"av",ENCRYPTED_PARAMETER_ACTOR:"eav"}}),null); __d("PixelRatioConst",[],(function(a,b,c,d,e,f){e.exports={cookieName:"dpr"}}),null); __d("camelize",[],(function(a,b,c,d,e,f){var g=/-(.)/g;function a(a){return a.replace(g,function(a,b){return b.toUpperCase()})}e.exports=a}),null); __d("getOpacityStyleName",[],(function(a,b,c,d,e,f){__p&&__p();var g=!1,h=null;function a(){__p&&__p();if(!g){if(document.body&&"opacity"in document.body.style)h="opacity";else{var a=document.createElement("div");a.style.filter="alpha(opacity=100)";a.style.filter&&(h="filter")}g=!0}return h}e.exports=a}),null); __d("hyphenate",[],(function(a,b,c,d,e,f){var g=/([A-Z])/g;function a(a){return a.replace(g,"-$1").toLowerCase()}e.exports=a}),null); __d("getStyleProperty",["camelize","hyphenate"],(function(a,b,c,d,e,f){__p&&__p();function g(a){return a==null?a:String(a)}function a(a,c){__p&&__p();var d;if(window.getComputedStyle){d=window.getComputedStyle(a,null);if(d)return g(d.getPropertyValue(b("hyphenate")(c)))}if(document.defaultView&&document.defaultView.getComputedStyle){d=document.defaultView.getComputedStyle(a,null);if(d)return g(d.getPropertyValue(b("hyphenate")(c)));if(c==="display")return"none"}return a.currentStyle?c==="float"?g(a.currentStyle.cssFloat||a.currentStyle.styleFloat):g(a.currentStyle[b("camelize")(c)]):g(a.style&&a.style[b("camelize")(c)])}e.exports=a}),null); __d("StyleCore",["invariant","camelize","containsNode","ex","getOpacityStyleName","getStyleProperty","hyphenate"],(function(a,b,c,d,e,f,g){__p&&__p();function h(a,b){a=n.get(a,b);return a==="auto"||a==="scroll"}var i=new RegExp("\\s*([^\\s:]+)\\s*:\\s*([^;('\"]*(?:(?:\\([^)]*\\)|\"[^\"]*\"|'[^']*')[^;(?:'\"]*)*)(?:;|$)","g");function j(a){var b={};a.replace(i,function(a,c,d){b[c]=d;return d});return b}function k(a){var b="";for(var c in a)a[c]&&(b+=c+":"+a[c]+";");return b}function l(a){return a!==""?"alpha(opacity="+a*100+")":""}function m(a,c,d){switch(b("hyphenate")(c)){case"font-weight":case"line-height":case"opacity":case"z-index":case"animation-iteration-count":case"-webkit-animation-iteration-count":break;case"width":case"height":var e=parseInt(d,10)<0;e&&g(0,826,a,c,d);default:isNaN(d)||!d||d==="0"||g(0,827,a,c,d,d+"px");break}}var n={set:function(a,c,d){__p&&__p();m("Style.set",c,d);a=a.style;switch(c){case"opacity":b("getOpacityStyleName")()==="filter"?a.filter=l(d):a.opacity=d;break;case"float":a.cssFloat=a.styleFloat=d||"";break;default:try{a[b("camelize")(c)]=d}catch(a){throw new Error(b("ex")('Style.set: "%s" argument is invalid: %s',c,d))}}},apply:function(a,c){__p&&__p();var d;for(d in c)m("Style.apply",d,c[d]);"opacity"in c&&b("getOpacityStyleName")()==="filter"&&(c.filter=l(c.opacity),delete c.opacity);var e=j(a.style.cssText);for(d in c){var f=c[d];delete c[d];var g=b("hyphenate")(d);for(var h in e)(h===g||h.indexOf(g+"-")===0)&&delete e[h];c[g]=f}Object.assign(e,c);a.style.cssText=k(e)},get:b("getStyleProperty"),getFloat:function(a,b){return parseFloat(n.get(a,b),10)},getOpacity:function(a){if(b("getOpacityStyleName")()==="filter"){var c=n.get(a,"filter");if(c){c=/(\d+(?:\.\d+)?)/.exec(c);if(c)return parseFloat(c.pop())/100}}return n.getFloat(a,"opacity")||1},isFixed:function(a){while(b("containsNode")(document.body,a)){if(n.get(a,"position")==="fixed")return!0;a=a.parentNode}return!1},getScrollParent:function(a){if(!a)return null;while(a&&a!==document.body){if(h(a,"overflow")||h(a,"overflowY")||h(a,"overflowX"))return a;a=a.parentNode}return window}};e.exports=n}),null); __d("Style",["StyleCore","$"],(function(a,b,c,d,e,f){a=babelHelpers["extends"]({},b("StyleCore"),{get:function(a,c){typeof a==="string"&&(!1,a=b("$")(a));return b("StyleCore").get(a,c)},getFloat:function(a,c){typeof a==="string"&&(!1,a=b("$")(a));return b("StyleCore").getFloat(a,c)}});e.exports=a}),null); __d("createWarning",["CoreWarningGK","SiteData","emptyFunction"],(function(a,b,c,d,e,f){a=b("emptyFunction").thatReturns;e.exports=a}),null); __d("Banzai",["requireCond","cr:682513"],(function(a,b,c,d,e,f){e.exports=b("cr:682513").v}),null); __d("BanzaiScuba",["Banzai"],(function(a,b,c,d,e,f){__p&&__p();var g="scuba_sample";function a(a,c,d){__p&&__p();this.fields={};this.post=function(e){if(!a)return;var f=babelHelpers["extends"]({},this.fields);f._ds=a;c&&(f._lid=c);f._options=d;b("Banzai").post(g,f,e);this.post=function(){};this.posted=!0};this.lid=c;return this}function h(a,b,c){this.fields[a]||(this.fields[a]={});this.fields[a][b]=c;return this}function c(a){return function(b,c){return this.posted?this:h.call(this,a,b,c)}}Object.assign(a.prototype,{post:function(){},addNormal:c("normal"),addInteger:c("int"),addDenorm:c("denorm"),addTagset:c("tags"),addNormVector:c("normvector")});e.exports=a}),null); __d("ReactCurrentOwner",[],(function(a,b,c,d,e,f){"use strict";a={current:null};e.exports=a}),null); __d("forEachObject",[],(function(a,b,c,d,e,f){"use strict";var g=Object.prototype.hasOwnProperty;function a(a,b,c){for(var d in a){var e=d;g.call(a,e)&&b.call(c,a[e],e,a)}}e.exports=a}),null); __d("monitorCodeUse",["invariant","BanzaiScuba","ErrorUtils","ScriptPath","forEachObject","ReactCurrentOwner"],(function(a,b,c,d,e,f,g){__p&&__p();function h(a){a=a.type;if(typeof a==="string")return a;return typeof a==="function"?a.displayName||a.name:null}function i(a){var b=1e3,c=[];while(a&&c.length10){var b=a.slice(0,5).map(j);return"["+b.join(", ")+", ...]"}b=a.map(j);return"["+b.join(", ")+"]"}if(typeof a==="string")return"'"+a+"'";if(typeof a==="object"){b=Object.keys(a).map(function(a){return a+"=..."});return"{"+b.join(", ")+"}"}return""+a}function l(a){return a.identifier||""}function m(a){return a.script+" "+a.line+":"+a.column}function a(a,c,d){__p&&__p();d===void 0&&(d={});a&&!/[^a-z0-9_]/.test(a)||g(0,2789);var e={};d.sampleRate!=null&&(e.sampleRate=d.sampleRate);var f=new(b("BanzaiScuba"))("core_monitor",null,e);f.addNormal("event",a);e=b("ReactCurrentOwner");f.addNormVector("owners",i(e.current));f.addNormal("uri",window.location.href);f.addNormal("script_path",b("ScriptPath").getScriptPath());e=!1;d.forceIncludeStackTrace&&(e=!0);if(e)try{d=new Error(a);d.framesToPop=1;e=b("ErrorUtils").normalizeError(d).stackFrames;a=e.map(l);d=e.map(m).join("\n");f.addNormVector("stacktrace",a);f.addDenorm("stack",d)}catch(a){}b("forEachObject")(c,function(a,b,c){typeof a==="string"?f.addNormal(b,a):typeof a==="number"&&(a|0)===a?f.addInteger(b,a):Array.isArray(a)?f.addNormVector(b,a.map(k)):f.addNormal(b,k(a))});f.post()}e.exports=a}),null); __d("warning",["Bootloader","createWarning","monitorCodeUse"],(function(a,b,c,d,e,f){a=function(){};e.exports=a}),null); __d("PlatformDialog",["cx","CSS","DOMEvent","DOMEventListener"],(function(a,b,c,d,e,f,g){__p&&__p();var h;a.getInstance=function(){"use strict";return h};function a(a,c,d){"use strict";h=this,this.$1=a,this.$2=c,this.$3=!1,b("DOMEventListener").add(this.$1,"submit",function(c){if(this.$3){new(b("DOMEvent"))(c).kill();return}this.$3=!0;d&&b("CSS").addClass(a,"_32qa")}.bind(this))}a.prototype.getForm=function(){"use strict";return this.$1};a.prototype.getDisplay=function(){"use strict";return this.$2};a.prototype.hasBeenSubmitted=function(){"use strict";return this.$3};a.RESPONSE="platform/dialog/response";e.exports=a}),null); __d("FBJSON",[],(function(a,b,c,d,e,f){e.exports={parse:JSON.parse,stringify:JSON.stringify}}),null); __d("BanzaiConsts",[],(function(a,b,c,d,e,f){a={SEND:"Banzai:SEND",OK:"Banzai:OK",ERROR:"Banzai:ERROR",SHUTDOWN:"Banzai:SHUTDOWN",VITAL_WAIT:1e3,BASIC_WAIT:6e4,EXPIRY:30*6e4,LAST_STORAGE_FLUSH:"banzai:last_storage_flush",STORAGE_FLUSH_INTERVAL:12*60*6e4};e.exports=a}),null); __d("CurrentUser",["Cookie","CurrentUserInitialData"],(function(a,b,c,d,e,f){__p&&__p();var g={getID:function(){return b("CurrentUserInitialData").USER_ID},getAccountID:function(){return b("CurrentUserInitialData").ACCOUNT_ID},getWorkUserID:function(){return b("CurrentUserInitialData").WORK_USER_ID},getName:function(){return b("CurrentUserInitialData").NAME},getShortName:function(){return b("CurrentUserInitialData").SHORT_NAME},isLoggedIn:function(){return b("CurrentUserInitialData").USER_ID&&b("CurrentUserInitialData").USER_ID!=="0"},isLoggedInNow:function(){if(!g.isLoggedIn())return!1;if(b("CurrentUserInitialData").IS_INTERN_SITE)return!0;if(b("CurrentUserInitialData").IS_WORK_USER)return!0;return b("CurrentUserInitialData").ORIGINAL_USER_ID?b("CurrentUserInitialData").ORIGINAL_USER_ID===b("Cookie").get("c_user"):b("CurrentUserInitialData").USER_ID===b("Cookie").get("c_user")},isEmployee:function(){return!!b("CurrentUserInitialData").IS_EMPLOYEE},hasWorkUser:function(){return!!b("CurrentUserInitialData").HAS_WORK_USER},isWorkUser:function(){return!!b("CurrentUserInitialData").IS_WORK_USER},isGray:function(){return!!b("CurrentUserInitialData").IS_GRAY},isUnderage:function(){return!!b("CurrentUserInitialData").IS_UNDERAGE},isMessengerOnlyUser:function(){return!!b("CurrentUserInitialData").IS_MESSENGER_ONLY_USER},isDeactivatedAllowedOnMessenger:function(){return!!b("CurrentUserInitialData").IS_DEACTIVATED_ALLOWED_ON_MESSENGER}};e.exports=g}),null); __d("QueryString",[],(function(a,b,c,d,e,f){__p&&__p();function a(a){__p&&__p();var b=[];Object.keys(a).sort().forEach(function(c){var d=a[c];if(d===undefined)return;if(d===null){b.push(c);return}b.push(encodeURIComponent(c)+"="+encodeURIComponent(d))});return b.join("&")}function b(a,b){__p&&__p();b===void 0&&(b=!1);var c={};if(a==="")return c;a=a.split("&");for(var d=0;d=4){var a=g.indexOf(h);a>=0&&g.splice(a,1);try{a=h.status}catch(b){a=0}a==200?(c&&c(),e||l.inform(b("BanzaiConsts").OK)):(d&&d(a),e||l.inform(b("BanzaiConsts").ERROR))}};g.push(h);h.send(l.prepForTransit(a))},addRequestAuthData:function(a){return a},prepForTransit:function(a){var c=b("getAsyncParams")(k);c.q=JSON.stringify(a);c.ts=Date.now();c.ph=b("SiteData").push_phase;return b("QueryString").encode(c)},prepWadForTransit:function(a){if(a.snappy==null||a.snappy===!0){var b=Date.now(),c=JSON.stringify(a.posts),d=i.compressStringToSnappy(c);d!=null&&d.length1?a.then(c,d):a;f.then(null,function(a){b("setTimeoutAcrossTransitions")(function(){if(a instanceof Error)throw a;else{e.message=b("TAAL").blameToPreviousFile(a);throw e}},0)})}e.exports=a}),null); __d("AsyncSignal",["Promise","ErrorUtils","QueryString","Run","TimeSlice","TrackingConfig","URI","ZeroRewrites","getAsyncParams","isAdsExcelAddinURI","isBonfireURI","isFacebookURI","isMessengerDotComURI","isValidURI","memoize","promiseDone"],(function(a,b,c,d,e,f){__p&&__p();var g;function a(a,c){this.data=c||{},this.uri=a.toString(),b("TrackingConfig").domain&&this.uri.charAt(0)=="/"&&(this.uri=b("TrackingConfig").domain+this.uri)}a.prototype.setHandler=function(a){this.handler=a;return this};a.prototype.setTimeout=function(a){this.timeout=a;return this};a.prototype.send=function(){b("TimeSlice").guard(this._send.bind(this),"AsyncSignal send",{propagationType:b("TimeSlice").PropagationType.ORPHAN})()};a.prototype._send=function(){__p&&__p();var a=this.handler,c=this.data;c.asyncSignal=(Math.random()*1e4|0)+1;var d=b("ZeroRewrites").rewriteURI(new(b("URI"))(this.uri));d=b("isFacebookURI")(d)||b("isMessengerDotComURI")(d)||b("isBonfireURI")(d)||b("isAdsExcelAddinURI")(d)||b("isValidURI")(d);if(d)Object.assign(c,b("getAsyncParams")("POST"));else throw new Error("'"+this.uri+"' is an external URL, you should not send async signals to offsite links.");var e=b("QueryString").appendToUrl(this.uri,c);g||(g=new(b("Promise"))(function(a){b("Run").onAfterLoad(a)}));d=g.then(function(){return new(b("Promise"))(function(a,b){var c=new Image();c.onload=a;c.onerror=c.onabort=b;c.src=e})});if(a){var f=!1,h=b("memoize")(function(){b("ErrorUtils").applyWithGuard(a,null,[f])});b("promiseDone")(d.then(function(){f=!0,h()},h));this.timeout&&setTimeout(h,this.timeout)}return this};e.exports=a}),null); __d("isValidReactElement",[],(function(a,b,c,d,e,f){var g=typeof Symbol==="function"&&Symbol["for"]&&Symbol["for"]("react.element")||60103;function a(a){return!!(typeof a==="object"&&a!==null&&a.$$typeof===g)}e.exports=a}),null); __d("BootloadedReact",["Bootloader","isValidReactElement"],(function(a,b,c,d,e,f){__p&&__p();var g=function(a){b("Bootloader").loadModules(["ReactDOM"],a,"BootloadedReact")};a={isValidElement:function(a){return b("isValidReactElement")(a)},render:function(a,b,c){g(function(d){d.render(a,b,function(){c&&c(this)})})},unmountComponentAtNode:function(a,b){g(function(c){c.unmountComponentAtNode(a),b&&b()})}};e.exports=a}),null); __d("getOrCreateDOMID",["uniqueID"],(function(a,b,c,d,e,f){function a(a){a.id||(a.id=b("uniqueID")());return a.id}e.exports=a}),null); __d("ContextualThing",["CSS","containsNode","ge","getOrCreateDOMID"],(function(a,b,c,d,e,f){__p&&__p();var g={register:function(a,c){a.setAttribute("data-ownerid",b("getOrCreateDOMID")(c))},containsIncludingLayers:function(a,c){c=c;while(c){if(b("containsNode")(a,c))return!0;c=g.getContext(c)}return!1},getContext:function(a){a=a;var c;while(a){if(a.getAttribute&&(c=a.getAttribute("data-ownerid")))return b("ge")(c);a=a.parentNode}return null},parentByClass:function(a,c){a=a;var d;while(a&&!b("CSS").hasClass(a,c))a.getAttribute&&(d=a.getAttribute("data-ownerid"))?a=b("ge")(d):a=a.parentNode;return a}};e.exports=g}),null); __d("killswitch",["KSConfig"],(function(a,b,c,d,e,f){"use strict";function a(a){return b("KSConfig").killed.has(a)}a.override=function(a,c){c?b("KSConfig").killed.add(a):b("KSConfig").killed["delete"](a)};e.exports=a}),null); __d("FbtResultBase",["FBLogger","killswitch"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a){b("FBLogger")("fbt").blameToPreviousFile().mustfix("Error using fbt string. Used method %s on Fbt string. Fbt string is designed to be immutable and should not be manipulated.",a)}function h(a){this.$1=a,this.$2=null}h.prototype.flattenToArray=function(){return h.flattenToArray(this.$1)};h.prototype.getContents=function(){return this.$1};h.prototype.toString=function(){__p&&__p();if(this.$2!=null)return this.$2;var a="",c=this.flattenToArray();for(var d=0;dh},ie64:function(){return x.ie()&&r},firefox:function(){return w()||i},opera:function(){return w()||j},webkit:function(){return w()||k},safari:function(){return x.webkit()},chrome:function(){return w()||l},windows:function(){return w()||o},osx:function(){return w()||n},linux:function(){return w()||p},iphone:function(){return w()||s},mobile:function(){return w()||s||t||q||v},nativeApp:function(){return w()||u},android:function(){return w()||q},ipad:function(){return w()||t}};e.exports=x}),null); __d("isScalar",[],(function(a,b,c,d,e,f){function a(a){return/string|number|boolean/.test(typeof a)}e.exports=a}),null); __d("DOM",["DOMQuery","Event","FBLogger","FbtResultBase","HTML","TAAL","UserAgent_DEPRECATED","$","createArrayFromMixed","isNode","isScalar","isTextNode"],(function(a,b,c,d,e,f){__p&&__p();var g=babelHelpers["extends"]({},b("DOMQuery"),{create:function(a,b,c){a=document.createElement(a);b&&g.setAttributes(a,b);c!=null&&g.setContent(a,c);return a},setAttributes:function(a,c){c.type&&(a.type=c.type);for(var d in c){var e=c[d],f=/^on/i.test(d);f&&typeof e!=="function"&&b("FBLogger")("dom").warn("Handlers passed to DOM.setAttributes must be functions. Handler passed for %s was %s",d,typeof e);if(d=="type")continue;else d=="style"?typeof e==="string"?a.style.cssText=e:Object.assign(a.style,e):f?b("Event").listen(a,d.substr(2),e):d in a?a[d]=e:a.setAttribute&&a.setAttribute(d,e)}},prependContent:function(a,c){if(!a)throw new Error(b("TAAL").blameToPreviousFile("reference element is not a node"));return i(c,a,function(b){a.firstChild?a.insertBefore(b,a.firstChild):a.appendChild(b)})},insertAfter:function(a,c){if(!a||!a.parentNode)throw new Error(b("TAAL").blameToPreviousFile("reference element does not have a parent"));var d=a.parentNode;return i(c,d,function(b){a.nextSibling?d.insertBefore(b,a.nextSibling):d.appendChild(b)})},insertBefore:function(a,c){if(!a||!a.parentNode)throw new Error(b("TAAL").blameToPreviousFile("reference element does not have a parent"));var d=a.parentNode;return i(c,d,function(b){d.insertBefore(b,a)})},setContent:function(a,c){if(!a)throw new Error(b("TAAL").blameToPreviousFile("reference element is not a node"));while(a.firstChild)h(a.firstChild);return g.appendContent(a,c)},appendContent:function(a,c){if(!a)throw new Error(b("TAAL").blameToPreviousFile("reference element is not a node"));return i(c,a,function(b){a.appendChild(b)})},replace:function(a,c){if(!a||!a.parentNode)throw new Error(b("TAAL").blameToPreviousFile("reference element does not have a parent"));var d=a.parentNode;return i(c,d,function(b){d.replaceChild(b,a)})},remove:function(a){h(typeof a==="string"?b("$")(a):a)},empty:function(a){a=typeof a==="string"?b("$")(a):a;while(a.firstChild)h(a.firstChild)}});Object.assign(g,b("DOMQuery"));function h(a){a.parentNode&&a.parentNode.removeChild(a)}function i(a,c,d){__p&&__p();a=b("HTML").replaceJSONWrapper(a);if(a instanceof b("HTML")&&c.firstChild===null&&-1===a.toString().indexOf("7&&!b("DOMQuery").isNodeOfType(c,["table","tbody","thead","tfoot","tr","select","fieldset"])){var f=e?' ':"";c.innerHTML=f+a;e&&c.removeChild(c.firstChild);return Array.from(c.childNodes)}}else if(b("isTextNode")(c)){c.data=a;return[a]}f=document.createDocumentFragment();var g;e=[];c=[];a=b("createArrayFromMixed")(a);a.length===1&&a[0]instanceof b("FbtResultBase")&&(a=a[0].getContents());for(var h=0;h=4&&(f[1]||(f[1]=0),f[1]+=d)};var i=new h();b("Banzai").subscribe(b("Banzai").SEND,function(){return i.flush()});e.exports=i}),null); __d("SessionName",["SessionNameConfig","isInIframe"],(function(a,b,c,d,e,f){var g="_e_",h;function i(){h=(window.name||"").toString(),h.length==7&&h.substr(0,3)==g?h=h.substr(3):(h=b("SessionNameConfig").seed||"",b("isInIframe")()||(window.name=g+h))}e.exports={TOKEN:g,getName:function(){h===undefined&&i();return h}}}),null); __d("AbstractErrorSignal",["invariant","BanzaiODS","ScriptPath","SessionName","SiteData"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=!0;function i(){this.constructor!==i||g(0,4467)}i.prototype.logJSError=function(a,c){__p&&__p();c=c||{};c.svn_rev=b("SiteData").client_revision;c.push_phase=b("SiteData").push_phase;c.script_path=b("ScriptPath").getScriptPath();c.extra=c.extra||{};c.extra.hrm=b("SiteData").be_mode;var d=c.extra.type||"error";h&&a==="onerror"&&d==="error"&&(c.extra.extra=c.extra.extra||[],c.extra.extra.push("first_error"),h=!1);d=(b("SessionName").getName()||"-")+"/-";this.performCounterLogging("javascript_error");this.performSignalLogging("javascript_error",{c:a,a:d,m:c})};i.prototype.performCounterLogging=function(a){b("BanzaiODS").bumpEntityKey("js_error_reporting","error_signal.category."+a),a==="javascript_error"&&b("BanzaiODS").bumpEntityKey("js_error_reporting","error_signal.sent")};i.prototype.performSignalLogging=function(a,b){g(0,4468)};e.exports=i}),null); __d("XJavaScriptLogviewSiteCategory",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({MBASIC:"m_basic",MTOUCH:"m_touch",WWW:"www"})}),null); __d("ErrorSignal",["AbstractErrorSignal","AsyncSignal","Banzai","BanzaiODS","ErrorSignalConfig","XJavaScriptLogviewSiteCategory","gkx"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h,i="js_error_logging";g=babelHelpers.inherits(c,b("AbstractErrorSignal"));h=g&&g.prototype;c.prototype.performCounterLogging=function(a){h.performCounterLogging.call(this,a),a==="javascript_error"&&b("BanzaiODS").bumpEntityKey("js_error_reporting","error_signal."+b("XJavaScriptLogviewSiteCategory").WWW+".sent")};c.prototype.performSignalLogging=function(a,c){b("gkx")("678675")?b("Banzai").post(i,c):new(b("AsyncSignal"))(b("ErrorSignalConfig").uri,{c:a,m:JSON.stringify(c)}).send()};function c(){g.apply(this,arguments)}d=new c();e.exports=d;a.ErrorSignal=d}),null); __d("getElementText",["isElementNode","isTextNode"],(function(a,b,c,d,e,f){__p&&__p();var g=null;function a(a){__p&&__p();if(b("isTextNode")(a))return a.data;else if(b("isElementNode")(a)){if(g===null){var c=document.createElement("div");g=c.textContent!=null?"textContent":"innerText"}return a[g]}else return""}e.exports=a}),null); __d("isContentEditable",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(a){a=a;while(a instanceof HTMLElement){if(a.contentEditable==="true"||a.contentEditable==="plaintext-only")return!0;a=a.parentElement}return!1}e.exports=a}),null); __d("isElementInteractive",["isContentEditable"],(function(a,b,c,d,e,f){"use strict";var g=new Set(["EMBED","INPUT","OBJECT","SELECT","TEXTAREA"]),h=new Set(["button","checkbox","radio","submit"]);function a(a){if(!a instanceof HTMLElement)return!1;var c=b("isContentEditable")(a),d=g.has(a.nodeName);a=a instanceof HTMLInputElement&&h.has(a.type);return(c||d)&&!a}e.exports=a}),null); __d("KeyEventController",["Bootloader","DOMQuery","Event","Run","emptyFunction","getElementText","isContentEditable","isElementInteractive","isEmpty"],(function(a,b,c,d,e,f){__p&&__p();var g=null,h={BACKSPACE:[8],TAB:[9],RETURN:[13],ALT:[18],ESCAPE:[27],LEFT:[37,63234],UP:[38,63232],RIGHT:[39,63235],DOWN:[40,63233],NUMPAD_ADD:[43],NUMPAD_SUBSTRACT:[45],DELETE:[46],COMMA:[188],PERIOD:[190],SLASH:[191],"`":[192],"[":[219],"]":[221],PAGE_UP:[33],PAGE_DOWN:[34],END:[35],HOME:[36],SPACE:[32],KP_DOT:[46,110],"-":[189],"=":[187],FORWARD_SLASH:[191]},i={8:1,9:1,13:1,27:1,32:1,37:1,63234:1,38:1,63232:1,39:1,63235:1,40:1,63233:1,46:1};function j(){"use strict";this.handlers={},document.onkeyup=this.onkeyevent.bind(this,"onkeyup"),document.onkeydown=this.onkeyevent.bind(this,"onkeydown"),document.onkeypress=this.onkeyevent.bind(this,"onkeypress")}j.prototype.mapKey=function(a){"use strict";if(a>=0&&a<=9){typeof a!=="number"&&(a=a.charCodeAt(0)-48);return[48+a,96+a]}var b=h[a.toUpperCase()];return b?b:[a.toUpperCase().charCodeAt(0)]};j.prototype.onkeyevent=function(a,c){"use strict";__p&&__p();c=b("Event").$E(c);var d=this.handlers[c.keyCode]||this.handlers[c.which],e,f;if(d)for(var g=0;g=0&&g.handlers[a].splice(b,1)}delete i[a]}}}};e.exports=j}),null); __d("KeyStatus",["Event","ExecutionEnvironment"],(function(a,b,c,d,e,f){__p&&__p();var g=null,h=null;function i(){h||(h=b("Event").listen(window,"blur",function(){g=null,j()}))}function j(){h&&(h.remove(),h=null)}function a(event){g=b("Event").getKeyCode(event),i()}function c(){g=null,j()}if(b("ExecutionEnvironment").canUseDOM){d=document.documentElement;if(d)if(d.addEventListener)d.addEventListener("keydown",a,!0),d.addEventListener("keyup",c,!0);else if(d.attachEvent){f=d.attachEvent;f("onkeydown",a);f("onkeyup",c)}}d={isKeyDown:function(){return!!g},getKeyDownCode:function(){return g}};e.exports=d}),null); __d("Popup",[],(function(a,b,c,d,e,f){a={open:function(a,b,c,d){var e=document.body,f="screenX"in window?window.screenX:window.screenLeft,g="screenY"in window?window.screenY:window.screenTop,h="outerWidth"in window?window.outerWidth:e.clientWidth;e="outerHeight"in window?window.outerHeight:e.clientHeight-22;f=Math.floor(f+(h-b)/2);h=Math.floor(g+(e-c)/2.5);g=["width="+b,"height="+c,"left="+f,"top="+h,"scrollbars"];return window.open(a,d||"_blank",g.join(","))}};e.exports=a}),null); __d("PopupLink",["DOMEvent","DOMEventListener","Popup"],(function(a,b,c,d,e,f){a={listen:function(a,c,d){b("DOMEventListener").add(a,"click",function(e){new(b("DOMEvent"))(e).kill(),b("Popup").open(a.href,c,d)})}};e.exports=a}),null); __d("BehaviorsMixin",[],(function(a,b,c,d,e,f){__p&&__p();function g(a){"use strict";this.$1=a,this.$2=!1}g.prototype.enable=function(){"use strict";this.$2||(this.$2=!0,this.$1.enable())};g.prototype.disable=function(){"use strict";this.$2&&(this.$2=!1,this.$1.disable())};var h=1;function i(a){a.__BEHAVIOR_ID||(a.__BEHAVIOR_ID=h++);return a.__BEHAVIOR_ID}a={enableBehavior:function(a){this._behaviors||(this._behaviors={});var b=i(a);this._behaviors[b]||(this._behaviors[b]=new g(new a(this)));this._behaviors[b].enable();return this},disableBehavior:function(a){if(this._behaviors){a=i(a);this._behaviors[a]&&this._behaviors[a].disable()}return this},enableBehaviors:function(a){a.forEach(this.enableBehavior,this);return this},destroyBehaviors:function(){if(this._behaviors){for(var a in this._behaviors)this._behaviors[a].disable();this._behaviors={}}},hasBehavior:function(a){return this._behaviors&&i(a)in this._behaviors}};e.exports=a}),null); __d("mixin",[],(function(a,b,c,d,e,f){__p&&__p();function a(a,b,c,d,e,f,g,h,i,j,k){__p&&__p();k=function(){};a=[a,b,c,d,e,f,g,h,i,j];b=0;while(a[b]){c=a[b];for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(k.prototype[l]=c[l]);b+=1}return k}e.exports=a}),null); __d("setImmediate",["TimerStorage","TimeSlice","setImmediateAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();function a(a){__p&&__p();var c,d=function(){b("TimerStorage").unset(b("TimerStorage").IMMEDIATE,c);for(var d=arguments.length,e=new Array(d),f=0;f1?e-1:0),g=1;g=0;a--)if(i[a].inform("key",event)===!1)return!1;return!0},b("Event").Priority.URGENT);var k;b("Event").listen(document.documentElement,"mousedown",function(event){k=event.getTarget()});var l;b("Event").listen(document.documentElement,"mouseup",function(event){l=event.getTarget(),b("setImmediate")(function(){k=null,l=null})});b("Event").listen(document.documentElement,"click",function(event){__p&&__p();var a=k,c=l;k=null;l=null;var d=i.length;if(!d)return;var e=event.getTarget();if(e!==c||e!==a)return;if(!b("DOM").contains(document.documentElement,e))return;if(e.offsetWidth!=null&&!e.offsetWidth)return;if(b("Parent").byClass(e,"generic_dialog"))return;while(d--){c=i[d];a=c.getContentRoot();a!=null||g(0,5144);if(b("ContextualThing").containsIncludingLayers(a,e))return;if(c.inform("blur",{target:e})===!1||c.isShown())return}});e.exports=j}),null); __d("getViewportDimensions",["UserAgent"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(){var a;document.documentElement&&(a=document.documentElement.clientWidth);!a&&document.body&&(a=document.body.clientWidth);return a||0}function h(){var a;document.documentElement&&(a=document.documentElement.clientHeight);!a&&document.body&&(a=document.body.clientHeight);return a||0}function i(){return{width:window.innerWidth||g(),height:window.innerHeight||h()}}i.withoutScrollbars=function(){return b("UserAgent").isPlatform("Android")?i():{width:g(),height:h()}};e.exports=i}),null); __d("PopupWindow",["DOMDimensions","DOMQuery","Layer","Popup","getViewportDimensions"],(function(a,b,c,d,e,f){__p&&__p();var g={_opts:{allowShrink:!0,strategy:"vector",timeout:100,widthElement:null},init:function(a){Object.assign(g._opts,a),setInterval(g._resizeCheck,g._opts.timeout)},_resizeCheck:function(){__p&&__p();var a=b("getViewportDimensions")(),c=g._getDocumentSize(),d=b("Layer").getTopmostLayer();if(d){d=d.getRoot().firstChild;var e=b("DOMDimensions").getElementDimensions(d);e.height+=b("DOMDimensions").measureElementBox(d,"height",!0,!0,!0);e.width+=b("DOMDimensions").measureElementBox(d,"width",!0,!0,!0);c.height=Math.max(c.height,e.height);c.width=Math.max(c.width,e.width)}d=c.height-a.height;e=c.width-a.width;e<0&&!g._opts.widthElement&&(e=0);e=e>1?e:0;!g._opts.allowShrink&&d<0&&(d=0);if(d||e)try{window.console&&window.console.firebug&&!1,window.resizeBy(e,d),e&&window.moveBy(e/-2,0)}catch(a){}},_getDocumentSize:function(){var c=b("DOMDimensions").getDocumentDimensions();g._opts.strategy==="offsetHeight"&&(c.height=document.body.offsetHeight);if(g._opts.widthElement){var d=b("DOMQuery").scry(document.body,g._opts.widthElement)[0];d&&(c.width=b("DOMDimensions").getElementDimensions(d).width)}d=a.Dialog;d&&d.max_bottom&&d.max_bottom>c.height&&(c.height=d.max_bottom);return c},open:function(a,c,d,e){return b("Popup").open(a,d,c,e)}};e.exports=g}),null); __d("WebPixelRatio",["Cookie","DOMEventListener","PixelRatioConst","Run"],(function(a,b,c,d,e,f){__p&&__p();var g=b("PixelRatioConst").cookieName,h,i=!1,j=!1,k=!1;function l(){return window.devicePixelRatio||1}function m(){b("Cookie").set(g,String(l()))}function n(){b("Cookie").clear(g)}function o(){if(j)return;j=!0;k&&n();l()!==1?m():n()}a={startDetecting:function(a,c){h=a||1;c&&(k=!0);if(i)return;i=!0;"onpagehide"in window&&b("DOMEventListener").add(window,"pagehide",o);b("Run").onBeforeUnload(o,!1)},get:function(){return h||l()}};e.exports=a}),null); __d("Log",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={DEBUG:3,INFO:2,WARNING:1,ERROR:0};b=function(a,b,c){for(var d=arguments.length,e=new Array(d>3?d-3:0),f=3;f=b&&j[a in j?a:"log"](i)};var g={level:-1,Level:a,debug:b.bind(null,"debug",a.DEBUG),info:b.bind(null,"info",a.INFO),warn:b.bind(null,"warn",a.WARNING),error:b.bind(null,"error",a.ERROR),log:b};e.exports=g}),null); __d("Queue",[],(function(a,b,c,d,e,f){__p&&__p();var g={};function h(a){"use strict";this._opts=babelHelpers["extends"]({interval:0,processor:null},a),this._queue=[],this._stopped=!0}h.prototype._dispatch=function(a){"use strict";__p&&__p();if(this._stopped||this._queue.length===0)return;if(!this._opts.processor){this._stopped=!0;throw new Error("No processor available")}if(this._opts.interval)this._opts.processor.call(this,this._queue.shift()),this._timeout=setTimeout(this._dispatch.bind(this),this._opts.interval);else while(this._queue.length)this._opts.processor.call(this,this._queue.shift())};h.prototype.enqueue=function(a){"use strict";this._opts.processor&&!this._stopped?this._opts.processor.call(this,a):this._queue.push(a);return this};h.prototype.start=function(a){"use strict";a&&(this._opts.processor=a);this._stopped=!1;this._dispatch();return this};h.prototype.isStarted=function(){"use strict";return!this._stopped};h.prototype.dispatch=function(){"use strict";this._dispatch(!0)};h.prototype.stop=function(a){"use strict";this._stopped=!0;a&&clearTimeout(this._timeout);return this};h.prototype.merge=function(a,b){"use strict";this._queue[b?"unshift":"push"].apply(this._queue,a._queue);a._queue=[];this._dispatch();return this};h.prototype.getLength=function(){"use strict";return this._queue.length};h.get=function(a,b){"use strict";var c;a in g?c=g[a]:c=g[a]=new h(b);return c};h.exists=function(a){"use strict";return a in g};h.remove=function(a){"use strict";return delete g[a]};e.exports=h}),null); __d("resolveWindow",[],(function(a,b,c,d,e,f){__p&&__p();function a(a){__p&&__p();var b=window;a=a.split(".");try{for(var c=0;cthis._lastResizeAckId&&(this._lastResizeAckId=b.id)}.bind(this))},getQueue:function(){this._queue||(this._queue=new(b("Queue"))());return this._queue},setChannelUrl:function(a){this.getQueue().start(function(b){return this.send(b,a)}.bind(this))},send:function(a,c){__p&&__p();c=c||this._opts.channelUrl;if(!c){this.getQueue().enqueue(a);return}var d={};c=new(b("URI"))(c);Object.assign(d,a,b("PHPQuerySerializer").deserialize(c.getFragment()));var e=new(b("URI"))(d.origin).getOrigin(),f=b("resolveWindow")(d.relation.replace(/^parent\./,"")),h=50;a=function a(){var c=f.frames[g];try{c.proxyMessage(b("PHPQuerySerializer").serialize(d),e)}catch(c){--h?setTimeout(a,100):b("Log").warn('No such frame "'+g+'" to proxyMessage to')}};a()},_computeSize:function(){__p&&__p();var a=b("DOMDimensions").getDocumentDimensions(),c=0;if(this._opts.resizeWidth){var d=document.body;if(d.clientWidthc&&(c=f)}}c=Math.max(c,h.forced_min_width)}a.width=c;this._opts.allowShrink&&(this._shrinker||(this._shrinker=b("DOM").create("div")),b("DOM").appendContent(document.body,this._shrinker),a.height=Math.max(this._shrinker.offsetTop,0));return a},_startResizeMonitor:function(){__p&&__p();var a,c=document.documentElement;this._opts.hideOverflow&&(c.style.overflow="hidden",document.body.style.overflow="hidden");c=function(){__p&&__p();var c=this._computeSize(),d=Date.now(),e=this._lastResizeAckIdthis._opts.resizeAckTimeout;if(!a||this._opts.expectResizeAck&&e||this._opts.allowShrink&&a.width!=c.width||!this._opts.allowShrink&&a.width=Date.now()?a[0]:null};a.prototype.$2=function(a){"use strict";if(!j())return;a=Date.now()+(a||1e4);b("WebStorage").setItemGuarded(j(),"mutex_"+this.name,i+":"+a)};a.prototype.hasLock=function(){"use strict";return this.$1()==i};a.prototype.lock=function(a,c,d){"use strict";this.$3&&b("clearTimeout")(this.$3),i==(this.$1()||i)&&this.$2(d),this.$3=b("setTimeoutAcrossTransitions")(function(){this.$3=null;var b=this.hasLock()?a:c;b&&b(this)}.bind(this),0)};a.prototype.unlock=function(){"use strict";this.$3&&b("clearTimeout")(this.$3),j()&&this.hasLock()&&j().removeItem("mutex_"+this.name)};e.exports=a}),null); __d("onAfterDisplay",["NavigationMetrics","TimeSlice","requestIdleCallback"],(function(a,b,c,d,e,f){"use strict";var g=[],h=!1;function a(a){a=b("TimeSlice").guard(a,"onAfterDisplay invocation",{propagationType:b("TimeSlice").PropagationType.ORPHAN});h?b("requestIdleCallback")(a):g.push(a)}b("NavigationMetrics").addRetroactiveListener(b("NavigationMetrics").Events.EVENT_OCCURRED,function(a,c){["all_pagelets_displayed","e2e"].indexOf(c.event)>-1&&!h&&(h=!0,g.forEach(function(a){b("requestIdleCallback")(a)}))});e.exports=a}),null); __d("BanzaiOld",["BanzaiAdapter","BanzaiConsts","BanzaiStreamPayloads","CurrentUser","ErrorUtils","ExecutionEnvironment","FBJSON","FBLogger","NavigationMetrics","SetIdleTimeoutAcrossTransitions","TimeSlice","Visibility","WebStorage","emptyFunction","isInIframe","lowerFacebookDomain","onAfterDisplay","pageID","performanceAbsoluteNow","WebStorageMutex"],(function(a,b,c,d,e,f){__p&&__p();var g={adapter:b("BanzaiAdapter")},h=g.adapter,i=b("isInIframe")(),j="bz:",k="ods:banzai",l="send_via_beacon_failure",m=0,n=1,o=2,p=null,q,r,s=[],t=null,u=[];function v(a){return a[2]>=b("performanceAbsoluteNow")()-(h.config.EXPIRY||g.EXPIRY)}function w(a,b){a.__meta.status=m,a[3]=(a[3]||0)+1,!a.__meta.retry&&b>=400&&b<600&&s.push(a)}function x(a,c,d,e){a=[a,c,d,0];a.__meta={retry:e===!0,pageID:b("pageID"),userID:b("CurrentUser").getID(),status:m};return a}function y(){__p&&__p();var a=[];u.forEach(function(c){var d=c.cb();d.forEach(function(d){var e=c.route;if(e){e=x(e,d,b("performanceAbsoluteNow")());e.__meta.onSuccess=c.onSuccess;e.__meta.onFailure=c.onFailure;a.push(e)}})});u=[];var c=[],d=[];D(c,d,!0,a);if(c.length>0){c[0].send_method="beacon";c.map(h.prepWadForTransit);c=new Blob([h.addRequestAuthData(h.prepForTransit(c))],{type:"application/x-www-form-urlencoded"});c=navigator.sendBeacon(g.adapter.endpoint,c);c?d.forEach(function(b){return a.__meta&&b.__meta.onSuccess&&b.__meta.onSuccess()}):d.forEach(function(b){return a.__meta&&b.__meta.onFailure&&b.__meta.onFailure()})}}function z(a){__p&&__p();var c=b("performanceAbsoluteNow")()+a;if(!r||c=o||!v(d))return!1;if(f.status>=n)return!0;var g=f.compress!=null?f.compress:!0,h=f.pageID+f.userID+(g?"compress":""),i=e[h];i||(i={user:f.userID,page_id:f.pageID,posts:[],snappy:g},e[h]=i,a.push(i));f.status=n;i.posts.push(d);b.push(d);return c&&f.retry})}var E,F,G=!1;function H(){G||(G=!0,F=b("WebStorage").getLocalStorage());return F}function I(){__p&&__p();E||(!i?E={store:function(){var a=H();if(!a||s.length<=0)return;var c=s.map(function(a){return[a[0],a[1],a[2],a[3]||0,a.__meta]});s=[];b("WebStorage").setItemGuarded(a,j+b("pageID")+"."+b("performanceAbsoluteNow")(),b("FBJSON").stringify(c))},restore:function(){__p&&__p();var a=H();if(!a)return;var c=b("WebStorageMutex");new c("banzai").lock(function(c){__p&&__p();var d=[];for(var f=0;f=b("BanzaiConsts").STORAGE_FLUSH_INTERVAL;c&&g._restore(!1);(c||!p)&&(p=b("performanceAbsoluteNow")(),b("WebStorage").setItemGuarded(a,b("BanzaiConsts").LAST_STORAGE_FLUSH,p.toString()))}}}:E={store:b("emptyFunction"),restore:b("emptyFunction"),flush:b("emptyFunction")})}g.SEND="Banzai:SEND";g.OK="Banzai:OK";g.ERROR="Banzai:ERROR";g.SHUTDOWN="Banzai:SHUTDOWN";g.VITAL_WAIT=1e3;g.BASIC_WAIT=6e4;g.EXPIRY=30*6e4;g.VITAL={delay:h.config.MIN_WAIT||g.VITAL_WAIT};g.BASIC={delay:h.config.MAX_WAIT||g.BASIC_WAIT};g.isEnabled=function(a){return h.config.gks&&h.config.gks[a]};g.post=function(c,d,e){__p&&__p();c||b("FBLogger")("banzai").mustfix("Banzai.post called without specifying a route");e=e||{};var f=e.retry;if(h.config.disabled)return;if(!b("ExecutionEnvironment").canUseDOM)return;var j=h.config.blacklist;if(j&&(j.indexOf&&(typeof j.indexOf==="function"&&j.indexOf(c)!=-1)))return;if(i&&b("lowerFacebookDomain").isValidDocumentDomain()){var k;try{k=a.top.require("Banzai")}catch(a){k=null}if(k){k.post.apply(k,arguments);return}}var l=x(c,d,b("performanceAbsoluteNow")(),f);e.callback&&(l.__meta.callback=e.callback);e.compress!=null&&(l.__meta.compress=e.compress);var m=e.delay;m==null&&(m=g.BASIC_WAIT);if(e.signal){l.__meta.status=n;var p=[{user:b("CurrentUser").getID(),page_id:b("pageID"),posts:[l],trigger:c}];h.send(p,function(){l.__meta.status=o,l.__meta.callback&&l.__meta.callback()},function(a){w(l,a)},!0);if(!f)return}s.push(l);(z(m)||!t)&&(t=c)};g.registerToSendWithBeacon=function(a,c,d,e){if(!(navigator&&navigator.sendBeacon&&h.isOkToSendViaBeacon()))return!1;if(!a){b("FBLogger")("banzai").mustfix("Banzai.registerToSendWithBeacon called without specifying a route");return!1}u.push({cb:c,route:a,onSuccess:d,onFailure:e});return!0};g.flush=function(a,c){b("SetIdleTimeoutAcrossTransitions").clear(q),q=0,B(a,c)};g.subscribe=h.subscribe;g.canUseNavigatorBeacon=function(){return navigator&&navigator.sendBeacon&&h.isOkToSendViaBeacon()};g._schedule=z;g._store=function(a){I(),b("ErrorUtils").applyWithGuard(E.store,E)};g._restore=function(a){I(),b("ErrorUtils").applyWithGuard(E.restore,E),z(h.config.RESTORE_WAIT||g.VITAL_WAIT)};g._unload=function(){b("BanzaiStreamPayloads").unload(g.post),navigator&&navigator.sendBeacon&&h.isOkToSendViaBeacon()&&y(),h.cleanup(),h.inform(g.SHUTDOWN),s.length>0&&((!h.useBeacon||!C())&&(I(),b("ErrorUtils").applyWithGuard(E.store,E)))};g._testState=function(){return{postBuffer:s,triggerRoute:t}};(g._initialize=function(){b("ExecutionEnvironment").canUseDOM&&(h.useBeacon&&b("Visibility").isSupported()?(b("Visibility").addListener(b("Visibility").HIDDEN,function(){s.length>0&&(C()||(I(),b("ErrorUtils").applyWithGuard(E.store,E)))}),g.isEnabled("enable_client_logging_clear_on_visible")&&b("Visibility").addListener(b("Visibility").VISIBLE,function(){C()||b("ErrorUtils").applyWithGuard(E.restore,E)})):h.setHooks(g),h.setUnloadHook(g),b("NavigationMetrics").addListener(b("NavigationMetrics").Events.NAVIGATION_DONE,function(a,c){if(c.pageType!=="normal")return;g._restore();b("NavigationMetrics").removeCurrentListener()}))})();e.exports=g}),null); __d("BanzaiOriginal",["requireCond","cr:682174"],(function(a,b,c,d,e,f){e.exports=b("cr:682174").v}),null); __d("GeneratedLoggerUtils",["invariant","Banzai"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("Banzai").post;window.location.search.indexOf("showlog")>-1&&(a=function(a,c,d){b("Banzai").post(a,c,d),!1});c={log:a,serializeVector:function(a){__p&&__p();if(!a)return a;if(Array.isArray(a))return a;if(a.toArray){var b=a;return b.toArray()}if(typeof a==="object"&&a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"])return Array.from(a);g(0,3874,a)},serializeMap:function(a){__p&&__p();if(!a)return a;if(a.toJS){var b=a;return b.toJS()}if(typeof a==="object"&&a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]){b=a;var c={};for(var b=b,d=Array.isArray(b),e=0,b=d?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=b.length)break;f=b[e++]}else{e=b.next();if(e.done)break;f=e.value}f=f;c[f[0]]=f[1]}return c}if(Object.prototype.toString.call(a)==="[object Object]")return a;g(0,3875,a)},checkExtraDataFieldNames:function(a,b){Object.keys(a).forEach(function(a){Object.prototype.hasOwnProperty.call(b,a)&&g(0,3876,a)})},warnForInvalidFieldNames:function(a,b,c,d){},throwIfNull:function(a,b){a||g(0,3877,b);return a}};e.exports=c}),null); __d("areEqual",[],(function(a,b,c,d,e,f){__p&&__p();var g=[],h=[];function a(a,b){var c=g.length?g.pop():[],d=h.length?h.pop():[];a=i(a,b,c,d);c.length=0;d.length=0;g.push(c);h.push(d);return a}function i(a,b,c,d){__p&&__p();if(a===b)return a!==0||1/a==1/b;if(a==null||b==null)return!1;if(typeof a!=="object"||typeof b!=="object")return!1;var e=Object.prototype.toString,f=e.call(a);if(f!=e.call(b))return!1;switch(f){case"[object String]":return a==String(b);case"[object Number]":return isNaN(a)||isNaN(b)?!1:a==Number(b);case"[object Date]":case"[object Boolean]":return+a==+b;case"[object RegExp]":return a.source==b.source&&a.global==b.global&&a.multiline==b.multiline&&a.ignoreCase==b.ignoreCase}e=c.length;while(e--)if(c[e]==a)return d[e]==b;c.push(a);d.push(b);e=0;if(f==="[object Array]"){e=a.length;if(e!==b.length)return!1;while(e--)if(!i(a[e],b[e],c,d))return!1}else{if(a.constructor!==b.constructor)return!1;if(Object.prototype.hasOwnProperty.call(a,"valueOf")&&Object.prototype.hasOwnProperty.call(b,"valueOf"))return a.valueOf()==b.valueOf();f=Object.keys(a);if(f.length!=Object.keys(b).length)return!1;for(var e=0;e=0)b=l[c].bind(null,b);l=[];b();i=null;k=e(m,g)}else k=null},"throttle_"+g+"_ms",{propagationType:b("TimeSlice").PropagationType.EXECUTION});m.__SMmeta=a.__SMmeta;return function(){b("TimeSliceInteractionSV").ref_counting_fix&&l.push(b("TimeSlice").getGuardedContinuation("throttleWithContinuation")),i=arguments,h=this,d!==undefined&&(h=d),(k===null||Date.now()-j>g)&&(f?m():k=e(m,0))}}e.exports=a}),null); __d("ErrorLogging",["ErrorSignal","ErrorUtils","JSErrorExtra","JSErrorLoggingConfig","JSErrorPlatformColumns","performanceNow","throttle"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a){var c=a.extra||{},d={};Object.keys(b("JSErrorExtra")).forEach(function(a){b("JSErrorExtra")[a]&&(d[a]=!0)});Object.keys(c).forEach(function(a){c[a]?d[a]=!0:d[a]&&delete d[a]});a.extra=Object.keys(d)}function h(a){b("JSErrorPlatformColumns").app_id!==undefined&&(a.app_id=b("JSErrorPlatformColumns").app_id),b("JSErrorPlatformColumns").access_token!==undefined&&(a.access_token=b("JSErrorPlatformColumns").access_token)}function i(a){g(a);h(a);var c=a.category||"onerror";b("ErrorSignal").logJSError(c,{error:a.name||a.message,extra:a})}function a(){__p&&__p();var a=b("performanceNow")();for(var c=k,d=Array.isArray(c),e=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=c.length)break;f=c[e++]}else{e=c.next();if(e.done)break;f=e.value}f=f;var g=f[0];f=f[1];f>>b}function g(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)}function h(a,b,c){return a[b]===a[c]&&a[b+1]===a[c+1]&&a[b+2]===a[c+2]&&a[b+3]===a[c+3]}function i(a,b,c,d,e){var f;for(f=0;e>f;f++)c[d+f]=a[b+f]}function j(a,b,c,d,e){return 60>=c?(d[e]=c-1<<2,e+=1):256>c?(d[e]=240,d[e+1]=c-1,e+=2):(d[e]=244,d[e+1]=c-1&255,d[e+2]=c-1>>>8,e+=3),i(a,b,d,e,c),e+c}function k(a,b,c,d){return 12>d&&2048>c?(a[b]=1+(d-4<<2)+(c>>>8<<5),a[b+1]=255&c,b+2):(a[b]=2+(d-1<<2),a[b+1]=255&c,a[b+2]=c>>>8,b+3)}function l(a,b,c,d){for(;d>=68;)b=k(a,b,c,64),d-=64;return d>64&&(b=k(a,b,c,60),d-=60),k(a,b,c,d)}function m(a,b,c,e,f){__p&&__p();for(var i=1;c>=1<=i;)i+=1;i-=1;var k=32-i;"undefined"==typeof q[i]&&(q[i]=new Uint16Array(1<=x)for(c=m-x,b+=1,x=d(g(a,b),k);w;){s=32,o=b;do{if(b=o,n=x,t=s>>>5,s+=1,o=b+t,b>c){w=!1;break}x=d(g(a,o),k),r=u+i[n],i[n]=b-u}while(!h(a,b,r));if(!w)break;f=j(a,v,b-v,e,f);do{for(t=b,n=4;m>b+n&&a[b+n]===a[r+n];)n+=1;if(b+=n,o=t-r,f=l(e,f,o,n),v=b,b>=c){w=!1;break}s=d(g(a,b-1),k),i[s]=b-1-u,t=d(g(a,b),k),r=u+i[t],i[t]=b-u}while(h(a,b,r));if(!w)break;b+=1,x=d(g(a,b),k)}return m>v&&(f=j(a,v,m-v,e,f)),f}function n(a,b,c){do b[c]=127&a,a>>>=7,a>0&&(b[c]+=128),c+=1;while(a>0);return c}function c(a){this.array=a}a=16;var o=1<e;)b=Math.min(d-e,o),f=m(c,e,b,a,f),e+=b;return f},b.SnappyCompressor=c},{}],4:[function(c,a,b){"use strict";__p&&__p();function d(a,b,c,d,e){var f;for(f=0;e>f;f++)c[d+f]=a[b+f]}function g(a,b,c,d){var e;for(e=0;d>e;e++)a[b+e]=a[b-c+e]}function c(a){this.array=a,this.pos=0}var h=[0,255,65535,16777215,4294967295];c.prototype.readUncompressedLength=function(){for(var a,b,c=0,d=0;32>d&&this.pos>>d!==b)return-1;if(c|=b<a)return c;d+=7}return-1},c.prototype.uncompressToBuffer=function(a){__p&&__p();for(var b,c,e,f,i=this.array,j=i.length,k=this.pos,l=0;k>>2)+1,c>60){if(k+3>=j)return!1;e=c-60,c=i[k]+(i[k+1]<<8)+(i[k+2]<<16)+(i[k+3]<<24),c=(c&h[e])+1,k+=e}if(k+c>j)return!1;d(i,k,a,l,c),k+=c,l+=c}else{switch(3&b){case 1:c=(b>>>2&7)+4,f=i[k]+(b>>>5<<8),k+=1;break;case 2:if(k+1>=j)return!1;c=(b>>>2)+1,f=i[k]+(i[k+1]<<8),k+=2;break;case 3:if(k+3>=j)return!1;c=(b>>>2)+1,f=i[k]+(i[k+1]<<8)+(i[k+2]<<16)+(i[k+3]<<24),k+=4}if(0===f||f>l)return!1;g(a,l,f,c),l+=c}return!0},b.SnappyDecompressor=c},{}]},{},[1]),e.exports=SnappyJS}),null); __d("DataAttributeUtils",["DataStore","Parent"],(function(a,b,c,d,e,f){__p&&__p();var g=[],h={LEGACY_CLICK_TRACKING_ATTRIBUTE:"data-ft",CLICK_TRACKING_DATASTORE_KEY:"data-ft",ENABLE_STORE_CLICK_TRACKING:"data-fte",IMPRESSION_TRACKING_CONFIG_ATTRIBUTE:"data-xt-vimp",IMPRESSION_TRACKING_CONFIG_DATASTORE_KEY:"data-xt-vimp",REMOVE_LEGACY_TRACKING:"data-ftr",getDataAttribute:function(a,b){return i[b]?i[b](a):a.getAttribute(b)},setDataAttribute:function(a,b,c){return j[b]?j[b](a,c):a.setAttribute(b,c)},getDataFt:function(a){if(a.getAttribute(h.ENABLE_STORE_CLICK_TRACKING)){var c=b("DataStore").get(a,h.CLICK_TRACKING_DATASTORE_KEY);c||(c=h.moveClickTrackingToDataStore(a,a.getAttribute(h.REMOVE_LEGACY_TRACKING)));return c}return a.getAttribute(h.LEGACY_CLICK_TRACKING_ATTRIBUTE)},setDataFt:function(a,c){if(a.getAttribute(h.ENABLE_STORE_CLICK_TRACKING)){b("DataStore").set(a,h.CLICK_TRACKING_DATASTORE_KEY,c);return}a.setAttribute(h.LEGACY_CLICK_TRACKING_ATTRIBUTE,c)},moveXTVimp:function(a){h.moveAttributeToDataStore(a,h.IMPRESSION_TRACKING_CONFIG_ATTRIBUTE,h.IMPRESSION_TRACKING_CONFIG_DATASTORE_KEY),g.push(a.id)},getXTrackableElements:function(){var a=g.map(function(a){return document.getElementById(a)}).filter(function(a){return!!a}),b=document.querySelectorAll("[data-xt-vimp]");for(var c=0;c127)return null;b[c]=d}return g.compressUint8ArrayToSnappy(b)}};e.exports=g}),null); __d("XControllerURIBuilder",["invariant","URI","gkx"],(function(a,b,c,d,e,f,g){__p&&__p();function h(a,b){"use strict";this.$1={},this.$2=a,this.$3=b}h.prototype.setInt=function(a,b){"use strict";return this.__setParam(a,"Int",b)};h.prototype.setFBID=function(a,b){"use strict";return this.__setParam(a,"FBID",b)};h.prototype.setFloat=function(a,b){"use strict";return this.__setParam(a,"Float",b)};h.prototype.setString=function(a,b){"use strict";return this.__setParam(a,"String",b)};h.prototype.setExists=function(a,b){"use strict";b===!1&&(b=undefined);return this.__setParam(a,"Exists",b)};h.prototype.setBool=function(a,b){"use strict";return this.__setParam(a,"Bool",b)};h.prototype.setEnum=function(a,b){"use strict";return this.__setParam(a,"Enum",b)};h.prototype.setIntVector=function(a,b){"use strict";return this.__setParam(a,"IntVector",b)};h.prototype.setIntKeyset=function(a,b){"use strict";return this.__setParam(a,"IntKeyset",b)};h.prototype.setIntSet=function(a,b){"use strict";return this.__setParam(a,"IntSet",b.join(","))};h.prototype.setFloatVector=function(a,b){"use strict";return this.__setParam(a,"FloatVector",b)};h.prototype.setFloatSet=function(a,b){"use strict";return this.__setParam(a,"FloatSet",b.join(","))};h.prototype.setStringVector=function(a,b){"use strict";return this.__setParam(a,"StringVector",b)};h.prototype.setStringKeyset=function(a,b){"use strict";return this.__setParam(a,"StringKeyset",b)};h.prototype.setStringSet=function(a,b){"use strict";return this.__setParam(a,"StringSet",b)};h.prototype.setFBIDVector=function(a,b){"use strict";return this.__setParam(a,"FBIDVector",b)};h.prototype.setFBIDSet=function(a,b){"use strict";return this.__setParam(a,"FBIDSet",b)};h.prototype.setFBIDKeyset=function(a,b){"use strict";return this.__setParam(a,"FBIDKeyset",b)};h.prototype.setEnumVector=function(a,b){"use strict";return this.__setParam(a,"EnumVector",b)};h.prototype.setEnumSet=function(a,b){"use strict";return this.__setParam(a,"EnumSet",b)};h.prototype.setEnumKeyset=function(a,b){"use strict";return this.__setParam(a,"EnumKeyset",b)};h.prototype.setIntToIntMap=function(a,b){"use strict";return this.__setParam(a,"IntToIntMap",b)};h.prototype.setIntToFloatMap=function(a,b){"use strict";return this.__setParam(a,"IntToFloatMap",b)};h.prototype.setIntToStringMap=function(a,b){"use strict";return this.__setParam(a,"IntToStringMap",b)};h.prototype.setIntToBoolMap=function(a,b){"use strict";return this.__setParam(a,"IntToBoolMap",b)};h.prototype.setStringToIntMap=function(a,b){"use strict";return this.__setParam(a,"StringToIntMap",b)};h.prototype.setStringToFloatMap=function(a,b){"use strict";return this.__setParam(a,"StringToFloatMap",b)};h.prototype.setStringToStringMap=function(a,b){"use strict";return this.__setParam(a,"StringToStringMap",b)};h.prototype.setStringToNullableStringMap=function(a,b){"use strict";return this.__setParam(a,"StringToNullableStringMap",b)};h.prototype.setStringToBoolMap=function(a,b){"use strict";return this.__setParam(a,"StringToBoolMap",b)};h.prototype.setEnumToStringVectorMap=function(a,b){"use strict";return this.__setParam(a,"EnumToStringVectorMap",b)};h.prototype.setEnumToBoolMap=function(a,b){"use strict";return this.__setParam(a,"EnumToBoolMap",b)};h.prototype.setEnumToFBIDVectorMap=function(a,b){"use strict";return this.__setParam(a,"EnumToFBIDVectorMap",b)};h.prototype.setHackType=function(a,b){"use strict";return this.__setParam(a,"HackType",b)};h.prototype.setTypeAssert=function(a,b){"use strict";return this.__setParam(a,"TypeAssert",b)};h.prototype.__validateRequiredParamsExistence=function(){"use strict";for(var a in this.$3)!this.$3[a].required||Object.prototype.hasOwnProperty.call(this.$1,a)||g(0,903,a)};h.prototype.setParams=function(a){"use strict";for(var b in a){this.__assertParamExists(b);var c=this.$3[b].type;this.__setParam(b,c,a[b])}return this};h.prototype.__assertParamExists=function(a){"use strict";a in this.$3||g(0,904,a)};h.prototype.__setParam=function(a,b,c){"use strict";this.__assertParamExists(a);var d=this.$3[a].type;d===b||g(0,905,a,b,d);this.__setParamInt(a,c);return this};h.prototype.__setParamInt=function(a,b){"use strict";this.$1[a]=b};h.prototype.getRequest=function(a){"use strict";b("gkx")("676939")&&(a=a.setReplaceTransportMarkers());return a.setURI(this.getURI())};h.prototype.getURI=function(){"use strict";__p&&__p();this.__validateRequiredParamsExistence();var a={},c="",d=/^(.*)?\{(\?)?(\*)?(.+?)\}(.*)?$/,e=this.$2.split("/"),f=!1;for(var h=0;h=0;--d){var e=this.tryEntries[d],f=e.completion;if(e.tryLoc==="root")return c("end");if(e.tryLoc<=this.prev){var h=g.call(e,"catchLoc"),i=g.call(e,"finallyLoc");if(h&&i){if(this.prev=0;--c){var d=this.tryEntries[c];if(d.tryLoc<=this.prev&&g.call(d,"finallyLoc")&&this.prev=0;--b){var c=this.tryEntries[b];if(c.finallyLoc===a){this.complete(c.completion,c.afterLoc);y(c);return p}}},"catch":function(a){__p&&__p();for(var b=this.tryEntries.length-1;b>=0;--b){var c=this.tryEntries[b];if(c.tryLoc===a){var d=c.completion;if(d.type==="throw"){var e=d.arg;y(c)}return e}}throw new Error("illegal catch attempt")},delegateYield:function(a,b,c){this.delegate={iterator:A(a),resultName:b,nextLoc:c};return p}}}),null);