if (self.CavalryLogger) { CavalryLogger.start_js(["DOBH6"]); }

__d("ChatOpenTab",["csx","Bootloader","ContextualThing","Event","MercuryIDs","MercuryParticipantTypes","Parent","requireWeak"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=null;c("requireWeak")("FantaTabsReactApp",function(n){return i=n});c("requireWeak")("FantaTabsSlimApp",function(n){return i=n});function j(n,o,p,q){c("Event").listen(n,"click",function(r){if(m.canOpenTab()){q(o,p);n.removeAttribute("ajaxify");n.removeAttribute("rel");r.preventDefault()}})}function k(n,o,p,q){c("Event").listen(n,"click",function(r){if(m.canOpenTab())q(o,p)})}function l(n){var o=c("ContextualThing").getContext(n);return o&&c("Parent").bySelector(o,"._3qw")!==null}var m={canOpenTab:function n(){return i&&!i.isHidden()},listenOpenEmptyTabDEPRECATED:function n(o,p){j(o,null,p,this._loadAndOpenEmptyFantaTab)},listenOpenThreadDEPRECATED:function n(o,p,q){j(o,p,q,function(p,r){return this.loadAndOpenFantaTab(p,r,q)}.bind(this))},listenOpenUserTabDEPRECATED:function n(o,p,q){if(!l(o))j(o,p,q,function(r){return this.loadAndOpenFantaTab(r,c("MercuryParticipantTypes").USER,q)}.bind(this))},listenOpenUserTabPersistentEventDEPRECATED:function n(o,p,q){if(!l(o))k(o,p,q,function(r){return this.loadAndOpenFantaTab(r,c("MercuryParticipantTypes").USER,q)}.bind(this))},listenOpenPageTabDEPRECATED:function n(o,p,q,r){if(!l(o))j(o,p,r,function(s){return this.loadAndOpenFantaTab(s,c("MercuryParticipantTypes").PAGE,r)}.bind(this))},listenOpenPageTabPersistentEventDEPRECATED:function n(o,p,q,r){if(!l(o))k(o,p,r,function(s){return this.loadAndOpenFantaTab(s,c("MercuryParticipantTypes").PAGE,r)}.bind(this))},loadAndOpenFantaTab:function n(o,p,q){c("Bootloader").loadModules(["ChatOpenTabEventLogger","FantaTabActions"],function(r,s){if(p===c("MercuryParticipantTypes").USER||p===c("MercuryParticipantTypes").PAGE){var t=c("MercuryIDs").getThreadIDFromUserID(o);s.openTab(t,[q]);r.logUserClickOpen(q,o)}else{s.openTab(o,[q]);r.logClickOpen(q,o)}},"ChatOpenTab")},_loadAndOpenEmptyFantaTab:function n(){c("Bootloader").loadModules(["ChatOpenTabEventLogger","FantaTabActions","MercuryThreads"],function(o,p,q){var r=q.get().createNewLocalThreadGenerateID();p.openTab(r,"jewel_new_message");o.logClickOpen("EmptyTab")},"ChatOpenTab")}};f.exports=m}),null);
__d("XUIAmbientNUXBody.react",["cx","React","XUICloseButton.react","joinClasses"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;l.prototype.render=function(){"use strict";var m=c("joinClasses")("_21es",this.props.className,this.props.noCloseButton?"_izg":null),n=this.props.noCloseButton?null:c("React").createElement(c("XUICloseButton.react"),{shade:"light",className:"_36gl",onClick:this.props.onCloseButtonClick,onFocus:this.props.onFocus});return c("React").createElement("div",{className:m},n,c("React").createElement("div",{className:"__xn"},this.props.children))};function l(){"use strict";i.apply(this,arguments)}l.propTypes={noCloseButton:k.bool,onCloseButtonClick:k.func,onFocus:k.func};f.exports=l}),null);
__d("XUIAmbientNUX.react",["fbt","React","ReactLayer","ReactAbstractContextualDialog","XUIAmbientNUXTheme","XUIAmbientNUXBody.react","uniqueID"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j,k=c("React").PropTypes,l=300,m=380,n=c("ReactLayer").createClass(c("ReactAbstractContextualDialog").createSpec({displayName:"XUIAmbientNUX",theme:c("XUIAmbientNUXTheme")}));i=babelHelpers.inherits(o,c("React").Component);j=i&&i.prototype;function o(){"use strict";j.constructor.call(this);this.$XUIAmbientNUX2=c("uniqueID")();this.$XUIAmbientNUX1=c("uniqueID")()}o.prototype.$XUIAmbientNUX3=function(){"use strict";switch(this.props.width){case"wide":return m;case"custom":return this.props.customwidth;case"auto":return null;default:return l}};o.prototype.$XUIAmbientNUX4=function(){"use strict";return h._("Learn about this new feature")};o.prototype.render=function(){"use strict";var p=this.props.labelledBy,q=null,r=null;if(!p){q=c("React").createElement("div",{"aria-label":this.props.label||this.$XUIAmbientNUX4(),id:this.$XUIAmbientNUX2,key:this.$XUIAmbientNUX2});p=this.$XUIAmbientNUX2}var s=h._("Close");r=c("React").createElement("a",{className:"layer_close_elem accessible_elem",href:"#",id:this.$XUIAmbientNUX1,key:this.$XUIAmbientNUX1,"aria-label":s,"aria-labelledby":this.$XUIAmbientNUX1+" "+p,role:"button"});return c("React").createElement(n,{alignment:this.props.alignment,autoFocus:false,behaviors:this.props.behaviors,context:this.props.context,contextRef:this.props.contextRef,dialogRole:"region",focusContextOnHide:false,hasActionableContext:this.props.hasActionableContext,hideOnBlur:this.props.hideOnBlur,insertParent:this.props.insertParent,labelledBy:p,offsetX:this.props.offsetX,offsetY:this.props.offsetY,onBeforeHide:this.props.onBeforeHide,position:this.props.position,shown:this.props.shown,width:this.$XUIAmbientNUX3(this.props)},c("React").createElement(c("XUIAmbientNUXBody.react"),{className:this.props.className,noCloseButton:this.props.noCloseButton,onCloseButtonClick:this.props.onCloseButtonClick,onFocus:this.props.onFocus},this.props.children,q,r))};o.propTypes={alignment:k.oneOf(["left","center","right"]),behaviors:k.object,className:k.string,context:k.object,contextRef:k.func,customwidth:k.number,hasActionableContext:k.bool,hideOnBlur:k.bool,insertParent:k.object,label:k.object,labelledBy:k.string,noCloseButton:k.bool,offsetX:k.number,offsetY:k.number,onBeforeHide:k.func,onCloseButtonClick:k.func,onFocus:k.func,position:k.oneOf(["above","below","left","right"]),shown:k.bool,width:k.oneOf(["wide","normal","auto","custom"])};f.exports=o}),null);
__d("XUIDialogButton.react",["cx","React","XUIButton.react","joinClasses"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;l.prototype.render=function(){"use strict";var m=this.props.action,n=(m=="confirm"?"layerConfirm":"")+(m=="cancel"?" layerCancel":"")+(m=="button"?" layerButton":""),o=this.props.href;if(m=="cancel")o="#";else if(m=="button")o=o||"#";return c("React").createElement(c("XUIButton.react"),babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,n),href:o,role:"button"}))};function l(){"use strict";i.apply(this,arguments)}l.propTypes={action:k.oneOf(["cancel","confirm","button"])};f.exports=l}),null);
__d("XUIDialogCancelButton.react",["fbt","React","XUIDialogButton.react"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;k.prototype.render=function(){"use strict";return c("React").createElement(c("XUIDialogButton.react"),babelHelpers["extends"]({},this.props,{action:"cancel",label:h._("Cancel")}))};function k(){"use strict";i.apply(this,arguments)}f.exports=k}),null);
__d("XUIDialogOkayButton.react",["cx","fbt","React","XUIDialogButton.react","joinClasses"],(function a(b,c,d,e,f,g,h,i){__p&&__p();var j,k,l=c("React").PropTypes;j=babelHelpers.inherits(m,c("React").Component);k=j&&j.prototype;m.prototype.render=function(){"use strict";return c("React").createElement(c("XUIDialogButton.react"),babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,"_2z1w"),action:this.props.action,label:i._("OK")}))};function m(){"use strict";j.apply(this,arguments)}m.propTypes={action:l.oneOf(["confirm","cancel","button"]).isRequired};f.exports=m}),null);
__d("LayerAutoFocusReact",["focusWithinLayer"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i){this._layer=i;this._subscription=null}h.prototype.enable=function(){if(this._layer.containsReactComponent)this._subscription=this._layer.subscribe("reactshow",this._focus.bind(this))};h.prototype.disable=function(){if(this._subscription){this._subscription.unsubscribe();this._subscription=null}};h.prototype._focus=function(){var i=this._layer.getRoot();i&&c("focusWithinLayer")(i)};f.exports=h}),null);
__d("SimpleXUIDialog",["cx","AsyncResponse","DialogX","LayerAutoFocusReact","LayerDestroyOnHide","LayerFadeOnHide","LayerFadeOnShow","LayerHideOnBlur","LayerHideOnEscape","LayerRefocusOnHide","React","XUIDialogCancelButton.react","XUIDialogBody.react","XUIDialogFooter.react","XUIDialogOkayButton.react","XUIDialogTitle.react","XUIDialogButton.react","uniqueID","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=445,j={show:function k(l,m,n,o){var p=c("React").createElement(c("XUIDialogOkayButton.react"),{action:"cancel",use:"confirm"});return this.showEx(l,m,p,n,o)},showConfirm:function k(l,m,n,o){__p&&__p();var p=false,q=c("React").createElement(c("XUIDialogOkayButton.react"),{action:"cancel",className:o&&o.autofocusConfirm?"autofocus":"",use:"confirm",onClick:function t(){p=true}});if(o&&o.confirmBtnTxt)q=c("React").createElement(c("XUIDialogButton.react"),{className:c("joinClasses")(o&&o.autofocusConfirm?"autofocus":"","_2z1w"),action:"cancel",use:"confirm",label:o.confirmBtnTxt,onClick:function t(){p=true}});var r=c("React").createElement("div",null,c("React").createElement(c("XUIDialogCancelButton.react"),{onClick:function t(){p=false}}),q);function s(){if(n)n(p)}return this.showEx(l,m,r,s,o)},showEx:function k(l,m,n,o,p){__p&&__p();p=p||{};var q=[c("LayerDestroyOnHide"),c("LayerFadeOnShow"),c("LayerFadeOnHide"),c("LayerHideOnEscape"),c("LayerRefocusOnHide")];if(p.hideOnBlur!==false)q.push(c("LayerHideOnBlur"));if(p.useReactFocusBehavior)q.push(c("LayerAutoFocusReact"));var r={width:p.width||i,xui:true,addedBehaviors:q,causalElement:p.causalElement};if(m){var s=c("uniqueID")();r.titleID=s;m=c("React").createElement(c("XUIDialogTitle.react"),{showCloseButton:p.showCloseButton!==false,id:s},m)}if(n)n=c("React").createElement(c("XUIDialogFooter.react"),{"data-testid":"simple_xui_dialog_footer",leftContent:p.leftContent},n);var t=c("React").createElement("div",null,m,c("React").createElement(c("XUIDialogBody.react"),null,l),n),u=new(c("DialogX"))(r,t);if(o)u.subscribe("hide",o);u.show();return u}};f.exports=j}),null);
__d("DragDropFileUpload",[],(function a(b,c,d,e,f,g){g.isSupported=function(){return typeof FileList!=="undefined"}}),null);
__d("DocumentDragDrop",["Arbiter","CSS","DOMQuery","DragDropFileUpload","Event","emptyFunction","getObjectValues","getOrCreateDOMID"],(function a(b,c,d,e,f,g){__p&&__p();var h={},i=0;function j(){i=0;c("getObjectValues")(h).forEach(function(o){c("CSS").removeClass(o.element,o.className);c("Arbiter").inform("dragleave",{element:o.element})})}var k=null;function l(){k&&clearTimeout(k);k=setTimeout(function(){j()},500)}var m=function o(){__p&&__p();if(!c("DragDropFileUpload").isSupported())return;c("Event").listen(document,"dragenter",function(p){if(i===0)c("getObjectValues")(h).forEach(function(q){c("CSS").addClass(q.element,q.className);c("Arbiter").inform("dragenter",{element:q.element,event:p})});i++;l()});c("Event").listen(document,"dragleave",function(p){i--;if(i===0)j();l()});c("Event").listen(document,"drop",function(p){j();var q=p.getTarget();if(c("DOMQuery").isNodeOfType(p.getTarget(),"input"))if(q.type==="file")return;p.prevent()});c("Event").listen(document,"dragover",c("Event").prevent);document.addEventListener("dragover",l,true);m=c("emptyFunction")},n={init:function o(){m()},registerStatusElement:function o(p,q){m();h[c("getOrCreateDOMID")(p)]={element:p,className:q};if(i>0)c("CSS").addClass(p,q)},removeStatusElement:function o(p){var q=c("getOrCreateDOMID")(p),r=h[q];if(r){c("CSS").removeClass(r.element,r.className);delete h[q]}}};f.exports=n}),null);
__d("PhotosMimeType",[],(function a(b,c,d,e,f,g){var h={isImage:function j(k){return i(k)[0]==="image"},isJpeg:function j(k){var l=i(k);return h.isImage(k)&&(l[1]==="jpeg"||l[1]==="pjpeg")}};function i(j){return j.split("/")}f.exports=h}),null);
__d("DataTransfer",["PhotosMimeType","createArrayFromMixed","emptyFunction"],(function a(b,c,d,e,f,g){__p&&__p();var h=new RegExp("\r\n","g"),i="\n",j={"text/rtf":1,"text/html":1};function k(m){if(m.kind=="file")return m.getAsFile()}function l(m){"use strict";this.data=m;this.types=m.types?c("createArrayFromMixed")(m.types):[]}l.prototype.isRichText=function(){"use strict";if(this.getHTML()&&this.getText())return true;if(this.isImage())return false;return this.types.some(function(m){return j[m]})};l.prototype.getText=function(){"use strict";var m;if(this.data.getData)if(!this.types.length)m=this.data.getData("Text");else if(this.types.indexOf("text/plain")!=-1)m=this.data.getData("text/plain");return m?m.replace(h,i):null};l.prototype.getHTML=function(){"use strict";if(this.data.getData)if(!this.types.length)return this.data.getData("Text");else if(this.types.indexOf("text/html")!=-1)return this.data.getData("text/html")};l.prototype.isLink=function(){"use strict";return this.types.some(function(m){return m.indexOf("Url")!=-1||m.indexOf("text/uri-list")!=-1||m.indexOf("text/x-moz-url")!=-1})};l.prototype.getLink=function(){"use strict";if(this.data.getData){if(this.types.indexOf("text/x-moz-url")!=-1){var m=this.data.getData("text/x-moz-url").split("\n");return m[0]}return this.types.indexOf("text/uri-list")!=-1?this.data.getData("text/uri-list"):this.data.getData("url")}return null};l.prototype.isImage=function(){"use strict";__p&&__p();var m=this.types.some(function(p){return p.indexOf("application/x-moz-file")!=-1});if(m)return true;var n=this.getFiles();for(var o=0;o<n.length;o++){var p=n[o].type;if(!c("PhotosMimeType").isImage(p))return false}return true};l.prototype.getCount=function(){"use strict";if(Object.prototype.hasOwnProperty.call(this.data,"items"))return this.data.items.length;else if(Object.prototype.hasOwnProperty.call(this.data,"mozItemCount"))return this.data.mozItemCount;else if(this.data.files)return this.data.files.length;return null};l.prototype.getFiles=function(){"use strict";if(this.data.items)return Array.prototype.slice.call(this.data.items).map(k).filter(c("emptyFunction").thatReturnsArgument);else if(this.data.files)return Array.prototype.slice.call(this.data.files);else return[]};l.prototype.hasFiles=function(){"use strict";return this.getFiles().length>0};f.exports=l}),null);
__d("DragDropTarget",["Arbiter","Event","SubscriptionsHandler","CSS","DataTransfer","DocumentDragDrop","DragDropFileUpload","emptyFunction"],(function a(b,c,d,e,f,g){__p&&__p();function h(i){this._element=i;this._listeners=new(c("SubscriptionsHandler"))();this._statusElem=i;this._dragEnterCount=0;this._enabled=false}Object.assign(h.prototype,{_onFilesDropCallback:c("emptyFunction"),_onURLDropCallback:c("emptyFunction"),_onPlainTextDropCallback:c("emptyFunction"),_onDropCallback:c("emptyFunction"),_fileFilterFn:c("emptyFunction").thatReturnsArgument,setOnDocumentDragEnterCallback:function i(j){this._onDocumentDragEnterCallback=j;return this},setOnDocumentDragLeaveCallback:function i(j){this._onDocumentDragLeaveCallback=j;return this},setOnDragEnterCallback:function i(j){this._onDragEnterCallback=j;return this},setOnDragLeaveCallback:function i(j){this._onDragLeaveCallback=j;return this},setOnFilesDropCallback:function i(j){this._onFilesDropCallback=j;return this},setOnURLDropCallback:function i(j){this._onURLDropCallback=j;return this},setOnPlainTextDropCallback:function i(j){this._onPlainTextDropCallback=j;return this},setOnDropCallback:function i(j){this._onDropCallback=j;return this},enable:function i(){__p&&__p();if(!c("DragDropFileUpload").isSupported())return this;this._listeners.engage();c("DocumentDragDrop").registerStatusElement(this._statusElem,"fbWantsDragDrop");this._listeners.addSubscriptions(c("Event").listen(this._element,"dragenter",this._onDragEnter.bind(this)),c("Event").listen(this._element,"dragleave",this._onDragLeave.bind(this)),c("Event").listen(this._element,"dragover",this._onDragOver.bind(this)),c("Event").listen(this._element,"drop",function(j){__p&&__p();this._dragEnterCount=0;c("CSS").removeClass(this._statusElem,"fbDropReady");c("CSS").removeClass(this._statusElem,"fbDropReadyPhoto");c("CSS").removeClass(this._statusElem,"fbDropReadyPhotos");c("CSS").removeClass(this._statusElem,"fbDropReadyLink");var k=new(c("DataTransfer"))(j.dataTransfer),l={},m=false,n=this._fileFilterFn(j.dataTransfer.files);if(n.length){this._onFilesDropCallback(n,j);l.files=n;m=true}var o=k.getLink();if(o){this._onURLDropCallback(o,j);l.url=o;m=true}var p=k.getText();if(p){this._onPlainTextDropCallback(p,j);l.plainText=p;m=true}if(m)this._onDropCallback(l,j);j.kill()}.bind(this)));this._listeners.addSubscriptions(c("Arbiter").subscribe("dragenter",this._onDocumentDragEnter.bind(this)),c("Arbiter").subscribe("dragleave",this._onDocumentDragLeave.bind(this)));this._enabled=true;return this},disable:function i(){__p&&__p();if(!this._enabled)return this;c("DocumentDragDrop").removeStatusElement(this._statusElem,"fbWantsDragDrop");c("CSS").removeClass(this._statusElem,"fbDropReady");c("CSS").removeClass(this._statusElem,"fbDropReadyPhoto");c("CSS").removeClass(this._statusElem,"fbDropReadyPhotos");c("CSS").removeClass(this._statusElem,"fbDropReadyLink");this._listeners.release();this._enabled=false;return this},setFileFilter:function i(j){this._fileFilterFn=j;return this},setStatusElement:function i(j){this._statusElem=j;return this},_onDragEnter:function i(j){__p&&__p();if(this._dragEnterCount===0){var k=new(c("DataTransfer"))(j.dataTransfer);c("CSS").addClass(this._statusElem,"fbDropReady");if(k.isLink()||!k.isImage())c("CSS").addClass(this._statusElem,"fbDropReadyLink");else if(k.getCount()>1)c("CSS").addClass(this._statusElem,"fbDropReadyPhotos");else c("CSS").addClass(this._statusElem,"fbDropReadyPhoto");this._onDragEnterCallback&&this._onDragEnterCallback()}this._dragEnterCount++;j.preventDefault()},_onDragLeave:function i(j){this._dragEnterCount=Math.max(this._dragEnterCount-1,0);if(this._dragEnterCount===0){c("CSS").removeClass(this._statusElem,"fbDropReady");c("CSS").removeClass(this._statusElem,"fbDropReadyPhoto");c("CSS").removeClass(this._statusElem,"fbDropReadyPhotos");c("CSS").removeClass(this._statusElem,"fbDropReadyLink");this._onDragLeaveCallback&&this._onDragLeaveCallback()}},_onDragOver:function i(j){if(!j.dataTransfer){c("Event").kill(j);return}try{var k=j.dataTransfer.effectAllowed;j.dataTransfer.dropEffect=k=="move"||k=="linkMove"?"move":"copy"}catch(l){}c("Event").kill(j)},_onDocumentDragEnter:function i(event,j){if(this._onDocumentDragEnterCallback&&j.element==this._element)this._onDocumentDragEnterCallback()},_onDocumentDragLeave:function i(event,j){this._dragEnterCount=0;this._onDragLeave(event);if(this._onDocumentDragLeaveCallback&&j.element==this._element)this._onDocumentDragLeaveCallback()}});f.exports=h}),null);
__d("WaterfallIDGenerator",["CurrentUser","md5"],(function a(b,c,d,e,f,g){function h(){var k=2147483647;return Math.random()*k}function i(){return Math.floor(Date.now()/1e3)}var j={generate:function k(){return c("md5")([c("CurrentUser").getID(),i(),h()].join(":"))}};f.exports=j}),null);
__d("MessengerEnvironment",["CurrentEnvironment"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("CurrentEnvironment"),{messengerui:false,setMessengerUI:function i(j){this.messengerui=j}});f.exports=h}),null);
__d("FBRTCSupport",["ChannelConstants","RTCConfig","UserAgent"],(function a(b,c,d,e,f,g){__p&&__p();var h={isSendWebrtcSupported:function i(){return!!c("RTCConfig").SendNewVCGK},isReceiveWebrtcSupported:function i(){return!!c("RTCConfig").ReceiveNewVCGK},isVideoInteropSupported:function i(){return!!c("RTCConfig").VideoInteropGK},isVideoCallBlockingSupported:function i(){return!!c("RTCConfig").VideoCallBlockingGK},isWebrtcSupported:function i(){return c("UserAgent").isBrowser("Chrome >= 28")||c("UserAgent").isBrowser("Firefox >= 25")||!!c("RTCConfig").RtcUseWebRTCForEdge&&c("UserAgent").isBrowser("Edge >= 15.15042")||c("UserAgent").isBrowser("Opera >= 20")},isGroupCallWebtrcSupported:function i(){return c("UserAgent").isBrowser("Chrome >= 28")||c("UserAgent").isBrowser("Opera >= 20")},isCollabSupported:function i(){return h.isWebrtcSupported()&&(!!c("RTCConfig").CollabWhitelistedBrowserGK||c("UserAgent").isBrowser("Chrome >= 48"))},isWirelessScreenSharingSupported:function i(){return!!c("RTCConfig").CollabWirelessScreenSharingGK&&c("UserAgent").isBrowser("Chrome >= 48")},isOSSupported:function i(){return!c("UserAgent").isPlatform("Android")&&!c("UserAgent").isPlatform("iOS")},getCapabilities:function i(){var j=0;if(this.isReceiveWebrtcSupported())j=c("ChannelConstants").CAPABILITY_VOIP_INTEROP;return j}};f.exports=h}),null);
__d("MercuryLoggingHelper",[],(function a(b,c,d,e,f,g){__p&&__p();function h(j){return Array.from(j).slice(0,6).join("")}var i={obfuscateThread:function j(k){var l=babelHelpers["extends"]({},k);if(k&&k.snippet&&k.snippet.length>9)l.snippet=h(k.snippet)+"...";return l},obfuscateMessage:function j(k){var l=babelHelpers["extends"]({},k);if(k&&k.body&&k.body.length>9)l.body=h(k.body)+"...";return l}};f.exports=i}),null);
__d("FullScreen",["Event","Arbiter","CSS","UserAgent","UserAgent_DEPRECATED","throttle","Keys"],(function a(b,c,d,e,f,g){__p&&__p();var h={},i=false,j=function j(o){if(c("Event").getKeyCode(o)===c("Keys").ESC)o.stopPropagation()},k=function k(){if(!i){document.addEventListener("keydown",j,true);i=true}},l=function l(){if(i){document.removeEventListener("keydown",j,true);i=false}},m=Object.assign(new(c("Arbiter"))(),{listenForEvent:function o(p){var n=c("throttle")(this.onChange,0,this);if(!h[p.id]){h[p.id]=true;c("Event").listen(p,{webkitfullscreenchange:n,mozfullscreenchange:n,MSFullscreenChange:n,fullscreenchange:n})}},enableFullScreen:function o(p){__p&&__p();this.listenForEvent(p);if(p.webkitRequestFullScreen)if(c("UserAgent_DEPRECATED").chrome())p.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);else p.webkitRequestFullScreen();else if(p.mozRequestFullScreen)p.mozRequestFullScreen();else if(p.msRequestFullscreen){k();p.msRequestFullscreen()}else if(p.requestFullScreen)p.requestFullScreen();else return false;return true},disableFullScreen:function o(){__p&&__p();if(document.webkitCancelFullScreen)document.webkitCancelFullScreen();else if(document.mozCancelFullScreen)document.mozCancelFullScreen();else if(document.msExitFullscreen)document.msExitFullscreen();else if(document.cancelFullScreen)document.cancelFullScreen();else if(document.exitFullScreen)document.exitFullScreen();else return false;return true},isFullScreen:function o(){return document.webkitIsFullScreen||document.fullScreen||document.mozFullScreen||document.msFullscreenElement},toggleFullScreen:function o(p){if(this.isFullScreen()){this.disableFullScreen();return false}else return this.enableFullScreen(p)},onChange:function o(){var p=this.isFullScreen();c("CSS").conditionClass(document.body,"fullScreen",p);this.inform("changed");if(!p)l()},isSupportedWithKeyboardInput:function o(){return this.isSupported()&&!c("UserAgent").isBrowser("Safari")},isSupported:function o(){var p=document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled||document.fullscreenEnabled;return p||document.webkitCancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.cancelFullScreen||document.exitFullScreen}}),n=c("throttle")(m.onChange,0,m);c("Event").listen(document,{webkitfullscreenchange:n,mozfullscreenchange:n,MSFullscreenChange:n,fullscreenchange:n});f.exports=m}),null);
__d("getFullScreenElement",[],(function a(b,c,d,e,f,g){function h(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}f.exports=h}),null);
__d("logVideosClickTracking",["clickRefAction"],(function a(b,c,d,e,f,g){function h(i){c("clickRefAction")("click",i,null,"FORCE")}f.exports=h}),null);
__d("VideoFrameBuffer",[],(function a(b,c,d,e,f,g){__p&&__p();function h(i,j,k){"use strict";this.$VideoFrameBuffer2=j;this.$VideoFrameBuffer1=i;this.$VideoFrameBuffer3=k||"contain"}h.prototype.updateFrameBuffer=function(){"use strict";__p&&__p();if(this.$VideoFrameBuffer4){this.$VideoFrameBuffer1.width=this.$VideoFrameBuffer4;this.$VideoFrameBuffer4=null}if(this.$VideoFrameBuffer5){this.$VideoFrameBuffer1.height=this.$VideoFrameBuffer5;this.$VideoFrameBuffer5=null}var i=this.$VideoFrameBuffer1.clientWidth||this.$VideoFrameBuffer1.width,j=this.$VideoFrameBuffer1.clientHeight||this.$VideoFrameBuffer1.height,k=i,l=j,m=this.$VideoFrameBuffer2.videoWidth/this.$VideoFrameBuffer2.videoHeight,n=k/l;if(this.$VideoFrameBuffer3==="cover"){n*=-1;m*=-1}if(n>m)k=l*m;else if(n<m)l=k/m;var o=this.$VideoFrameBuffer1.getContext("2d");if(!(o instanceof window.CanvasRenderingContext2D))return;o.drawImage(this.$VideoFrameBuffer2,(i-k)/2,(j-l)/2,k,l)};h.prototype.getDOMNode=function(){"use strict";return this.$VideoFrameBuffer1};h.prototype.updateDimensions=function(i,j){"use strict";this.$VideoFrameBuffer4=i;this.$VideoFrameBuffer5=j};f.exports=h}),null);
__d("cssURL",[],(function a(b,c,d,e,f,g){function h(i){return"url('"+i.replace(/[\ud800-\udfff].|[^-a-zA-Z0-9./_?]/g,function(j){return"\\"+j.codePointAt().toString(16)+" "})+"')"}f.exports=h}),null);
__d("StoreBasedStateMixinHelper",["invariant","SubscriptionsHandler"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(j){this.$StoreBasedStateMixinHelper1=j;this.$StoreBasedStateMixinHelper2=new(c("SubscriptionsHandler"))()}i.prototype.subscribeCallback=function(j){__p&&__p();var k=this.$StoreBasedStateMixinHelper1.map(function(l){if(l.hasChanged&&l.getDispatchToken&&l.addListener)return l.addListener(j);else if(l.subscribe)return l.subscribe("change",j);else if(l.addListener)return l.addListener("change",j);else h(0)});if(this.$StoreBasedStateMixinHelper1.length>0)this.$StoreBasedStateMixinHelper2.addSubscriptions.apply(this.$StoreBasedStateMixinHelper2,k)};i.prototype.release=function(){this.$StoreBasedStateMixinHelper2.release()};f.exports=i}),null);
__d("isCanvasAppURI",["isFacebookURI"],(function a(b,c,d,e,f,g){"use strict";function h(i){return c("isFacebookURI")(i)&&i.getSubdomain()==="apps"}f.exports=h}),null);
__d("objectValues",[],(function a(b,c,d,e,f,g){function h(i){return Object.values(i)}f.exports=h}),null);
__d("CollabCallTriggerType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({MEETING_ROOM_PAGE_PROFILE:"meeting_room_page_profile",QUICK_DIAL:"quickdial"})}),null);
__d("VideoPlayerStates",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({READY:"ready",PLAYING:"playing",PAUSED:"paused",LOADING:"loading",FALLBACK:"fallback",FINISHED:"finished",DESTROYED:"destroyed",UNKNOWN:"unknown"})}),null);
__d("createChunkedResponseParser",["invariant"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i="\r\n",j=2;function k(l,m){__p&&__p();var n=0,o=function o(p,q,r){__p&&__p();if(m){p=m(p);p==null||typeof p==="string"||h(0)}if(p){var s=p.length;while(n<s){var t=p.indexOf(i,n);if(t<0)if(r)t=s;else break;var u=p.slice(n,t);n+=u.length+j;l(u,q,r&&n>=s)}}else if(r)l("",q,true)};o.parseStreaming=true;return o}f.exports=k}),null);
__d("TypeaheadNavigation",[],(function a(b,c,d,e,f,g){var h={moveUp:function i(j,k,l){var m=k?j.indexOf(k):-1,n=m==-1?j.length-1:m-1;l(n==-1?null:j[n])},moveDown:function i(j,k,l){var m=k?j.indexOf(k)+1:0;l(m==j.length?null:j[m])}};f.exports=h}),null);
__d("XGraphQLBatchAPIController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/api/graphqlbatch/",{queries:{type:"String"},batch_name:{type:"String"},scheduler:{type:"Enum",enumType:1},shared_params:{type:"String"}})}),null);
__d("WebGraphQL",["ActorURI","Deferred","WebGraphQLConfig","XGraphQLBatchAPIController","XHRRequest","createChunkedResponseParser","getAsyncParams","getSameOriginTransport"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i){__p&&__p();var j=i.getURIBuilder().getURI(),k={exec:function l(m,n){return k.execAll([m],n)[0]},execAll:function l(m,n){__p&&__p();var o={},p={},q=m.map(function(u,v){var w="o"+v;o[w]={doc_id:u.__getDocID(),query_params:u.__getVariables()};return p[w]=new(c("Deferred"))()}),r=babelHelpers["extends"]({},c("getAsyncParams")("POST"));if(n&&n.actorID!=null)r[c("ActorURI").PARAMETER_ACTOR]=n.actorID;var s=n&&n.batchName?{batch_name:n.batchName}:{},t=new(c("XHRRequest"))(j).setMethod("POST").setTransportBuilder(c("getSameOriginTransport")).setRequestHeader("Content-Type","application/x-www-form-urlencoded").setData(babelHelpers["extends"]({},s,r,{queries:JSON.stringify(o)})).setResponseHandler(c("createChunkedResponseParser")(function(u,v,w){__p&&__p();var x=JSON.parse(u);Object.keys(x).forEach(function(y){var z=p[y];if(z){var A=x[y];if(A.errors)z.reject(A);else if(A.data)z.resolve(A.data);else z.reject({data:{},errors:[{message:"Unexpected response received from server.",severity:"CRITICAL",response:A}]})}});if(w)Object.keys(p).forEach(function(y){if(!p[y].isSettled())p[y].reject({data:{},errors:[{message:"No response received from server.",severity:"CRITICAL"}]})})})).setTimeout(c("WebGraphQLConfig").timeout).setTimeoutHandler(function(){Object.keys(p).forEach(function(u){if(!p[u].isSettled())p[u].reject({data:{},errors:[{message:"Request timed out.",severity:"CRITICAL"}]})})}).setErrorHandler(function(u){Object.keys(p).forEach(function(v){if(!p[v].isSettled())p[v].reject({data:{},errors:[{message:u&&u.message||"Transport error.",severity:"CRITICAL",error:u}]})})});t.send();return q},__forController:h};return k}f.exports=h(c("XGraphQLBatchAPIController"))}),null);
__d("WebGraphQLLegacyHelper",["invariant"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();f.exports={getURI:function i(j){var k=j.controller,l=j.docID,m=j.queryID,n=j.variables;l!=m&&(l||m)!=null||h(0);var o=k.getURIBuilder();if(m)o.setFBID("query_id",m);else o.setFBID("doc_id",l);if(n)o.setString("variables",JSON.stringify(n));return o.getURI()}}}),null);
__d("XWebGraphQLMutationController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/webgraphql/mutation/",{query_id:{type:"FBID"},variables:{type:"String"},doc_id:{type:"FBID"}})}),null);
__d("WebGraphQLMutationBase",["invariant","CurrentUser","WebGraphQLLegacyHelper","XWebGraphQLMutationController","base62"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=0;function j(k){this.$WebGraphQLMutationBase1=k}j.prototype.__getVariables=function(){return this.$WebGraphQLMutationBase1};j.prototype.__getDocID=function(){return this.constructor.__getDocID()};j.__getController=function(){return c("XWebGraphQLMutationController")};j.__getDocID=function(){h(0)};j.getURI=function(k){return c("WebGraphQLLegacyHelper").getURI({controller:this.__getController(),docID:this.__getDocID(),variables:{data:babelHelpers["extends"]({client_mutation_id:c("base62")(i++),actor_id:c("CurrentUser").getID()},k)}})};f.exports=j}),null);
__d("XWebGraphQLQueryController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/webgraphql/query/",{query_id:{type:"FBID"},variables:{type:"String"},doc_id:{type:"FBID"}})}),null);
__d("WebGraphQLQueryBase",["invariant","WebGraphQLLegacyHelper","XWebGraphQLQueryController"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(j){this.$WebGraphQLQueryBase1=j}i.prototype.__getVariables=function(){return this.$WebGraphQLQueryBase1};i.prototype.__getDocID=function(){return this.constructor.__getDocID()};i.__getController=function(){return c("XWebGraphQLQueryController")};i.__getDocID=function(){h(0)};i.getURI=function(j){return c("WebGraphQLLegacyHelper").getURI({controller:this.__getController(),docID:this.__getDocID(),variables:j})};i.getLegacyURI=function(j){return c("WebGraphQLLegacyHelper").getURI({controller:this.__getController(),queryID:this.getQueryID(),variables:j})};i.getQueryID=function(){h(0)};f.exports=i}),null);