HiddenEye-Legacy/WebPages/fb_standard/index_files/papglo0-Qhp.js
2019-06-23 08:28:33 +05:00

62 lines
48 KiB
JavaScript

if (self.CavalryLogger) { CavalryLogger.start_js(["giRBM"]); }
__d("DialogPosition",["Vector"],(function(a,b,c,d,e,f){__p&&__p();var g=40,h;a={calculateTopMargin:function(a,c,d,e){__p&&__p();d===void 0&&(d=null);e===void 0&&(e=!1);var f=b("Vector").getViewportDimensions(),i=!1;e&&d&&(i=d+c>f.y);if(d!=null&&!i)return d;if(h)return h;e=Math.floor((f.x+a)*(f.y-c)/(4*f.x));return Math.max(e,g)},setFixedTopMargin:function(a){h=a}};e.exports=a}),null);
__d("focusWithinLayer",["DOMQuery","Focus","TabbableElements","getActiveElement"],(function(a,b,c,d,e,f){__p&&__p();function a(a,c){__p&&__p();var d=b("DOMQuery").scry(a,".autofocus")[0],e=!0;if(!d){var f=b("getActiveElement")();if(b("DOMQuery").isNodeOfType(f,["input","textarea"]))return;f=b("TabbableElements").find(a);for(var g=0;g<f.length;g++){var h=f[g];if(h.tagName!=="A"||h.getAttribute("role")==="button"){d=f[g];break}}}else d.tabIndex!==0&&(e=!1);d?e?b("Focus").set(d,c):b("Focus").setWithoutOutline(d):a.offsetWidth||(a.tabIndex=-1,b("Focus").setWithoutOutline(a))}e.exports=a}),null);
__d("LayerAutoFocus",["focusWithinLayer"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this._subscription=null,this._layer=a,this._subscription=null}var c=a.prototype;c.enable=function(){this._subscription=this._layer.subscribe("aftershow",this._focus.bind(this))};c.disable=function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null};c._focus=function(){var a=this._layer.getRoot();a&&b("focusWithinLayer")(a)};return a}();e.exports=a}),null);
__d("LayerButtons",["csx","Button","Event","LayerHideSources","Parent"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this._layer=a}var c=a.prototype;c.enable=function(){this._listener=b("Event").listen(this._layer.getRoot(),"click",this._handle.bind(this))};c.disable=function(){this._listener.remove(),this._listener=null};c._handle=function(a){__p&&__p();var c=a.getTarget(),d=b("Parent").byClass(c,"layerHide");if(d){this._layer.hide(b("LayerHideSources").LAYER_HIDE_BUTTON);return}d=b("Parent").byClass(c,"layerConfirm");if(d){if(this._isButton(d)&&!b("Button").isEnabled(d))return;if(this._isInNestedLayer(d))return;this._layer.inform("confirm",d)===!1&&a.prevent();return}d=b("Parent").byClass(c,"layerCancel");if(d){if(this._isButton(d)&&!b("Button").isEnabled(d))return;if(this._isInNestedLayer(d))return;this._layer.inform("cancel",d)!==!1&&this._layer.hide(b("LayerHideSources").LAYER_CANCEL_BUTTON);a.prevent();return}d=b("Parent").byClass(c,"layerButton");if(d){if(this._isButton(d)&&!b("Button").isEnabled(d))return;if(this._isInNestedLayer(d))return;this._layer.inform("button",d)===!1&&a.prevent()}};c._isInNestedLayer=function(a){a=b("Parent").byClass(a,"uiLayer");var c=this._layer.getRoot();return!!(a&&c!==a)};c._isButton=function(a){return!!(b("Parent").byClass(a,"uiButton")||b("Parent").bySelector(a,"._42ft"))};return a}();a.prototype._listener=null;e.exports=a}),null);
__d("LayerFormHooks",["Event"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this._layer=a}var c=a.prototype;c.enable=function(){var a=this._layer.getRoot();this._subscriptions=[b("Event").listen(a,"submit",this._onSubmit.bind(this)),b("Event").listen(a,"success",this._onSuccess.bind(this)),b("Event").listen(a,"error",this._onError.bind(this))]};c.disable=function(){this._subscriptions.forEach(function(a){a.remove()}),this._subscriptions=null};c._onSubmit=function(a){this._layer.inform("submit",a)===!1&&a.kill()};c._onSuccess=function(a){this._layer.inform("success",a)===!1&&a.kill()};c._onError=function(a){var b=a.getData();this._layer.inform("error",{response:b.response})===!1&&a.kill()};return a}();Object.assign(a.prototype,{_subscriptions:null});e.exports=a}),null);
__d("LayerRefocusOnHide",["ContextualThing","DOM","DOMQuery","Focus","Parent","getActiveElement"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this._layer=a}var c=a.prototype;c.enable=function(){this._subscription=this._layer.subscribe("hide",this._handle.bind(this))};c.disable=function(){this._subscription.unsubscribe(),this._subscription=null};c._handle=function(a,c){__p&&__p();a=b("getActiveElement")();if(a===document.body||b("DOMQuery").contains(this._layer.getRoot(),a)){c=this._layer.getCausalElement();while(c&&!c.offsetWidth){a=b("Parent").byClass(c,"uiToggle");if(a&&a.offsetWidth)c=b("DOM").scry(a,'[rel="toggle"]')[0];else{a=b("ContextualThing").getContext(c);a?c=a:c=c.parentNode}}c&&b("Focus").set(c)}};return a}();Object.assign(a.prototype,{_subscription:null});e.exports=a}),null);
__d("TabIsolation",["Event","Focus","Keys","TabbableElements","containsNode"],(function(a,b,c,d,e,f){__p&&__p();var g=[],h=0;a=function(){"use strict";__p&&__p();function a(a){this.$3=a,this.$1=null,this.$2=h++}var c=a.prototype;c.enable=function(){var a=this;g.unshift(this.$2);this.$1=b("Event").listen(window,"keydown",function(b){g[0]===a.$2&&a.$4(b)},b("Event").Priority.URGENT)};c.disable=function(){if(this.$1){var a=g.indexOf(this.$2);a>-1&&g.splice(a,1);this.$1.remove();this.$1=null}};c.$4=function(a){__p&&__p();if(b("Event").getKeyCode(a)!==b("Keys").TAB)return;var c=a.getTarget();if(!c)return;var d=b("TabbableElements").find(this.$3),e=d[0];d=d[d.length-1];var f=a.getModifiers();f=f.shift;f&&c===e?(a.preventDefault(),b("Focus").set(d)):(!f&&c===d||!b("containsNode")(this.$3,c))&&(a.preventDefault(),b("Focus").set(e))};return a}();e.exports=a}),null);
__d("LayerTabIsolation",["TabIsolation"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this._layer=a,this._tabIsolation=null}var c=a.prototype;c.enable=function(){this._tabIsolation=new(b("TabIsolation"))(this._layer.getRoot()),this._subscriptions=[this._layer.subscribe("show",this._tabIsolation.enable.bind(this._tabIsolation)),this._layer.subscribe("hide",this._tabIsolation.disable.bind(this._tabIsolation))]};c.disable=function(){while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();this._tabIsolation.disable();this._tabIsolation=null};return a}();Object.assign(a.prototype,{_subscriptions:[]});e.exports=a}),null);
__d("LayerTogglerContext",["Toggler"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";function a(a){this._layer=a}var c=a.prototype;c.enable=function(){this._root=this._layer.getRoot(),b("Toggler").createInstance(this._root).setSticky(!1)};c.disable=function(){b("Toggler").destroyInstance(this._root),this._root=null};return a}();e.exports=a}),null);
__d("DialogX",["cx","fbt","Arbiter","CSS","DialogPosition","DOMQuery","Event","JSXDOM","Layer","LayerAutoFocus","LayerButtons","LayerFormHooks","LayerRefocusOnHide","LayerTabIsolation","LayerTogglerContext","ModalLayer","Style","Vector","debounce","getOrCreateDOMID","goURI","shield"],(function(a,b,c,d,e,f,g,h){__p&&__p();a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d._configure=function(c,d){__p&&__p();a.prototype._configure.call(this,c,d);b("CSS").addClass(this.getRoot(),"_4-hy");if(c.autohide)var e=this.subscribe("show",function(){e.unsubscribe(),window.setTimeout(b("shield")(this.hide,this),c.autohide)}.bind(this));if(c.redirectURI)var f=this.subscribe("hide",function(){f.unsubscribe(),b("goURI")(c.redirectURI)});this._fixedTopPosition=c.fixedTopPosition;this._ignoreFixedTopInShortViewport=c.ignoreFixedTopInShortViewport};d._getDefaultBehaviors=function(){return a.prototype._getDefaultBehaviors.call(this).concat([i,b("ModalLayer"),b("LayerAutoFocus"),b("LayerButtons"),b("LayerFormHooks"),b("LayerTabIsolation"),b("LayerTogglerContext"),b("LayerRefocusOnHide")])};d._buildWrapper=function(a,c){__p&&__p();var d=a.xui?"_4t2a":"_t",e=a.xui?"_59s7":"_1yv";this._innerContent=b("JSXDOM").div(null,c);c={className:e,role:"dialog"};if(a.labelledBy)c["aria-labelledby"]=a.labelledBy;else if(a.label)c["aria-label"]=a.label;else if(a.titleID)c["aria-labelledby"]=a.titleID;else if(a.titleClass){e=b("DOMQuery").scry(this._innerContent,a.titleClass);if(e.length){e=b("getOrCreateDOMID")(e[0]);c["aria-labelledby"]=e}else c["aria-label"]=this._getDefaultLabel()}else c["aria-label"]=this._getDefaultLabel();e={className:d};a["data-testid"]&&(e["data-testid"]=a["data-testid"]);this._wrapper=b("JSXDOM").div(c,b("JSXDOM").div(e,this._innerContent));a.width!=null&&this.setWidth(a.width);a.height!=null&&this.setHeight(a.height);return b("JSXDOM").div({className:"_10"},this._wrapper)};d._getDefaultLabel=function(){return h._("Dialogue content")};d.getContentRoot=function(){return this._wrapper};d.getInnerContent=function(){return this._innerContent};d.updatePosition=function(){var a=b("Vector").getElementDimensions(this._wrapper);a=b("DialogPosition").calculateTopMargin(a.x,a.y,this._fixedTopPosition,this._ignoreFixedTopInShortViewport);b("Style").set(this._wrapper,"margin-top",a+"px");this.inform("update_position",{type:"DialogX",top:a})};d.setWidth=function(a){a=Math.floor(a);if(a===this._width)return;this._width=a;b("Style").set(this._wrapper,"width",a+"px")};d.getWidth=function(){return this._width};d.setHeight=function(a){a=Math.floor(a);if(a===this._height)return;this._height=a;b("Style").set(this._wrapper,"height",a+"px")};d.getFixedTopPosition=function(){return this._fixedTopPosition};d.shouldIgnoreFixedTopInShortViewport=function(){return this._ignoreFixedTopInShortViewport};return c}(b("Layer"));var i=function(){"use strict";__p&&__p();function a(a){this._layer=a}var c=a.prototype;c.enable=function(){this._subscription=this._layer.subscribe(["show","hide"],function(a){a==="show"?(this._attach(),b("Arbiter").inform("layer_shown",{type:"DialogX"})):(this._detach(),b("Arbiter").inform("layer_hidden",{type:"DialogX"}))}.bind(this))};c.disable=function(){this._subscription.unsubscribe(),this._subscription=null,this._resize&&this._detach()};c._attach=function(){this._layer.updatePosition(),this._resize=b("Event").listen(window,"resize",b("debounce")(this._layer.updatePosition.bind(this._layer)))};c._detach=function(){this._resize.remove(),this._resize=null};return a}();Object.assign(i.prototype,{_subscription:null,_resize:null});e.exports=a}),null);
__d("LayerHideOnBlur",["LayerHideSources","requestAnimationFrame"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this._layer=a}var c=a.prototype;c.enable=function(){this._subscriptions=[this._layer.subscribe("show",this._attach.bind(this)),this._layer.subscribe("hide",this._detach.bind(this))],this._layer.isShown()&&this._attach()};c.disable=function(){this._detach();while(this._subscriptions&&this._subscriptions.length)this._subscriptions.pop().unsubscribe();this._subscriptions=null};c._detach=function(){this._onBlur&&this._onBlur.unsubscribe(),this._onBlur=null};c._attach=function(){var a=this;this._onBlur=this._layer.subscribe("blur",function(){b("requestAnimationFrame")(function(){a._layer.hide(b("LayerHideSources").BLUR)});return!1})};return a}();Object.assign(a.prototype,{_subscriptions:null,_onBlur:null});e.exports=a}),null);
__d("AbstractDialog.react",["DialogX","LayerHideOnBlur","LayerHideOnEscape","React","ReactDOM"],(function(a,b,c,d,e,f){__p&&__p();var g=b("React").PropTypes;a={createSpec:function(a){__p&&__p();return{displayName:a.displayName,propTypes:{behaviors:g.object,className:g.string,"data-testid":g.string,modal:g.bool,autohide:g.number,width:g.number,label:g.node,labelledBy:g.string,titleID:g.string,titleClass:g.string,causalElement:g.object,causalElementRef:g.func,shown:g.bool,layerHideOnBlur:g.bool,hideOnEscape:g.bool,isStrictlyControlled:g.bool,onHide:g.func,onToggle:g.func,fixedTopPosition:g.number},createLayer:function(c){__p&&__p();var d=this.props.className;d=babelHelpers["extends"]({width:this.props.width,xui:!0,autohide:this.props.autohide,classNames:d?d.split(" "):null,label:this.props.label,labelledBy:this.props.labelledBy,isStrictlyControlled:this.props.isStrictlyControlled,titleID:this.props.titleID,titleClass:this.props.titleClass,causalElement:this._getCausalElement(),fixedTopPosition:this.props.fixedTopPosition},a||{});this.props["data-testid"]&&(d["data-testid"]=this.props["data-testid"]);var e=babelHelpers["extends"]({},a.addedBehaviors,this.props.behaviors);this.props.layerHideOnBlur!==!1&&(e.LayerHideOnBlur=b("LayerHideOnBlur"));(this.props.hideOnEscape===!0||this.props.hideOnEscape!==!1&&a.hideOnEscape===!0)&&(e.LayerHideOnEscape=b("LayerHideOnEscape"));d.addedBehaviors=this.enumerateBehaviors(e);e=new(b("DialogX"))(d,c);e.conditionShow(this.props.shown);return e},receiveProps:function(a,b){this.updateBehaviors(b.behaviors,a.behaviors),this.layer&&(this.layer.setCausalElement(this._getCausalElement()),this.layer.conditionShow(a.shown),this.layer.setWidth(a.width),a.shown&&this.layer.updatePosition())},_getCausalElement:function(){var a;this.props.causalElementRef?a=b("ReactDOM").findDOMNode(this.props.causalElementRef()):a=this.props.causalElement;return a}}}};e.exports=a}),null);
__d("LayerFadeOnShow",["Bootloader","Run","emptyFunction","ifRequired"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this._layer=a,b("Run").onAfterLoad(function(){b("Bootloader").loadModules(["CSSFade"],b("emptyFunction"),"LayerFadeOnShow")})}var c=a.prototype;c.enable=function(){this._subscriptions=[this._layer.subscribe("show",this._animate.bind(this))]};c.disable=function(){if(this._subscriptions){while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();this._subscriptions=null}};c._getDuration=function(){return 100};c._animate=function(){var a=this,c=this._layer.getRoot();b("ifRequired")("CSSFade",function(b){b.show(c,{duration:a._getDuration()})},function(){})};a.forDuration=function(c){var d=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.apply(this,arguments)||this}return a}(a);d.prototype._getDuration=b("emptyFunction").thatReturns(c);return d};return a}();Object.assign(a.prototype,{_subscriptions:null});e.exports=a}),null);
__d("ReactBrowserEventEmitter_DO_NOT_USE",["ReactDOM-fb"],(function(a,b,c,d,e,f){"use strict";a=b("ReactDOM-fb").__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;e.exports=a.ReactBrowserEventEmitter}),null);
__d("ReactLayerCommon",["invariant","React","ReactBrowserEventEmitter_DO_NOT_USE","ReactDOM","SubscriptionsHandler","emptyFunction","warning"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=function(a){a.isPropagationStopped=b("emptyFunction").thatReturnsTrue},i=function(c){babelHelpers.inheritsLoose(a,c);function a(){return c.apply(this,arguments)||this}var d=a.prototype;d.render=function(){return b("React").createElement("div",{onClick:h,onBlur:h,onDoubleClick:h,onFocus:h,onKeyDown:h,onKeyPress:h,onKeyUp:h,onMouseDown:h,onMouseMove:h,onMouseUp:h},this.props.children)};return a}(b("React").Component),j={makeInitialSubscriptions:function(a,c){var d=new(b("SubscriptionsHandler"))();c.onToggle&&(j.layerSubscribe(a,d,"show",function(){return c.onToggle(!0)}),j.layerSubscribe(a,d,"hide",function(){return c.onToggle(!1)}));c.onBlur&&j.layerSubscribe(a,d,"blur",function(a,b){return c.onBlur(b)});c.onHide&&j.layerSubscribe(a,d,"runhide",function(a,b){return c.includeHideSource?c.onHide(b):c.onHide()});return d},layerSubscribe:function(a,c,d,e){var f=a.subscribe||a.addListener;c.addSubscriptions(f.call(a,d,function(a,c){var d=b("ReactBrowserEventEmitter_DO_NOT_USE").isEnabled();d&&e(a,c)}))},render:function(a,c){a=b("ReactDOM").createPortal(b("React").createElement(i,null,a),c);a===void 0&&b("ReactDOM").createPortal._isMockFunction&&(a=null);return a},diffBehaviors:function(a,b,c){__p&&__p();var d;for(d in a)a[d]&&!b[d]&&c.disableBehavior(a[d]);for(d in b){var e=a[d],f=b[d];if(e&&f){e===f||g(0,120,d);continue}e&&c.disableBehavior(e);f&&c.enableBehavior(f)}}};e.exports=j}),null);
__d("ReactLayer",["invariant","React","ReactLayerCommon","emptyFunction","getObjectValues"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h={componentDidMount:function(){this.layer=this.createLayer(this._layerContainer),this.layer||g(0,2397),this.layerSubscriptions=b("ReactLayerCommon").makeInitialSubscriptions(this.layer,this.props),this._resetBehaviors()},componentDidUpdate:function(a){this.receiveProps(this.props,a)},componentWillUnmount:function(){this._layerContainer=null,this.layerSubscriptions&&(this.layerSubscriptions.release(),this.layerSubscriptions=null),this.layer&&(this.layer.destroy(),this.layer=null)},_createLayerContainer:function(){this._layerContainer==null&&(this._layerContainer=document.createElement("div"))},render:function(){this._createLayerContainer();return b("ReactLayerCommon").render(this.props.children,this._layerContainer)},enumerateBehaviors:function(a){a=this.getEffectiveBehaviors(a);return b("getObjectValues")(a).filter(b("emptyFunction").thatReturnsArgument)},_resetBehaviors:function(){this._diffBehaviors({},this.props.behaviors)},updateBehaviors:function(a,b){this._diffBehaviors(a,b)},_diffBehaviors:function(a,c){a=this.getEffectiveBehaviors(a),c=this.getEffectiveBehaviors(c),b("ReactLayerCommon").diffBehaviors(a,c,this.layer)},getEffectiveBehaviors:function(a){return!this.getDefaultEnabledBehaviors?a||{}:babelHelpers["extends"]({},this.getDefaultEnabledBehaviors(),a)},layerSubscribe:function(a,c){b("ReactLayerCommon").layerSubscribe(this.layer,this.layerSubscriptions,a,c)}};a={createClass:function(a){return b("React").createClass({mixins:[h,a]})}};e.exports=a}),null);
__d("XUIDialog.react",["csx","AbstractDialog.react","LayerFadeOnShow","ReactLayer"],(function(a,b,c,d,e,f,g){a=b("ReactLayer").createClass(b("AbstractDialog.react").createSpec({displayName:"XUIDialog",addedBehaviors:{LayerFadeOnShow:b("LayerFadeOnShow")},titleClass:"._52c9",hideOnEscape:!0}));e.exports=a}),null);
__d("EncryptedImgUtils",[],(function(a,b,c,d,e,f){var g="ek",h=/^data\:/,i=/\?(ek\=|.*&ek\=)/;a={extractKey:function(a){var b=a.getQueryData(),c=b[g];delete b[g];a.setQueryData(b);return c},isEncrypted:function(a){return!h.test(a)&&i.test(a)}};e.exports=a}),null);
__d("coerceImageishSprited",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(a&&typeof a==="object"&&a.sprited&&a.spriteMapCssClass&&a.spriteCssClass)return a;else return null}e.exports=a}),null);
__d("coerceImageishURL",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(a&&typeof a==="object"&&a.sprited===!1&&typeof a.uri==="string"&&a.width!==void 0&&a.height!==void 0)return a;else return null}e.exports=a}),null);
__d("getImageSourceURLFromImageish",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(typeof a==="string")return a;return typeof a==="object"&&(!a.sprited&&a.uri&&typeof a.uri==="string")?a.uri:""}e.exports=a}),null);
__d("validateImageSrcPropType",["coerceImageishSprited","getImageSourceURLFromImageish"],(function(a,b,c,d,e,f){"use strict";function a(a,c,d){a=a[c];return a==null||b("coerceImageishSprited")(a)||b("getImageSourceURLFromImageish")(a)!==""?null:new Error("Provided `"+c+"` to `"+d+"`. Must be `null`, `undefined`, a string or an `ix` call.")}e.exports=a}),null);
__d("warnUnsupportedProp",["warning"],(function(a,b,c,d,e,f){"use strict";function a(a,c,d){b("warning")(!1,"%s component does not support prop `%s`.%s",a,c,d?" "+d:"")}e.exports=a}),null);
__d("ImageCore.react",["Bootloader","EncryptedImgUtils","FBLogger","React","SubscriptionsHandler","coerceImageishSprited","coerceImageishURL","createCancelableFunction","getImageSourceURLFromImageish","ifRequired","joinClasses","validateImageSrcPropType","warnUnsupportedProp"],(function(a,b,c,d,e,f){"use strict";__p&&__p();c={alt:""};var g=function(c){__p&&__p();babelHelpers.inheritsLoose(a,c);function a(){var a,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(a=d=c.call.apply(c,[this].concat(f))||this,d.$1=!1,d.$2=null,d.$3=new(b("SubscriptionsHandler"))(),d.state={decryptedSrc:null},a)||babelHelpers.assertThisInitialized(d)}var d=a.prototype;d.$4=function(a){var c=this;this.$2&&this.$2.cancel();var d=b("getImageSourceURLFromImageish")(this.props.encryptedSrc),e=b("createCancelableFunction")(function(a){d===b("getImageSourceURLFromImageish")(c.props.encryptedSrc)&&c.setState({decryptedSrc:a})});a.load(d,e);this.$3.addSubscriptions({remove:function(){e.cancel()}});this.$2=e};d.$5=function(){var a=this;b("ifRequired")("EncryptedImg",function(b){a.$4(b)},function(){if(a.$1)return;a.$1=!0;a.$3.addSubscriptions(b("Bootloader").loadModules(["EncryptedImg"],function(b){return a.$4(b)},"ImageCore.react"))})};d.componentDidMount=function(){this.$5()};d.componentDidUpdate=function(a){a.encryptedSrc!==this.props.encryptedSrc&&this.$5()};d.componentWillUnmount=function(){this.$3.release()};d.render=function(){var a=this.props,c=a.encryptedSrc,d=a.forwardedRef;a=babelHelpers.objectWithoutPropertiesLoose(a,["encryptedSrc","forwardedRef"]);var e=this.state.decryptedSrc;b("EncryptedImgUtils").isEncrypted(c)===!1&&(b("FBLogger")("image").mustfix("The `EncryptedImage` component was rendered with a non-encrypted image (%s). Only images that meet the encrypted image test (see `EncryptedImgUtils.isEncrypted()`) should be rendered with this component. Falling back to `ImageishRenderer`.",JSON.stringify(c)),e=c);return b("React").createElement(h,babelHelpers["extends"]({},a,{forwardedRef:d,src:e}))};return a}(b("React").Component);g.defaultProps=c;g.propTypes={encryptedSrc:b("validateImageSrcPropType")};function h(a){__p&&__p();var c=a.forwardedRef;a=babelHelpers.objectWithoutPropertiesLoose(a,["forwardedRef"]);var d=b("joinClasses")(a.className,"img");if(a.src==null)return b("React").createElement("img",babelHelpers["extends"]({},a,{className:d,ref:c}));var e=b("coerceImageishSprited")(a.src),f=!!e&&a.alt!=null&&String(a.alt)!==""?b("React").createElement("u",null,a.alt):null;if(typeof a.src==="string")return b("React").createElement("img",babelHelpers["extends"]({},a,{className:d,ref:c,src:a.src}),f);if(e){var g=e.spriteCssClass;e=e.spriteMapCssClass;a.src;var h=babelHelpers.objectWithoutPropertiesLoose(a,["src"]);return b("React").createElement("i",babelHelpers["extends"]({},h,{className:b("joinClasses")(d,e,g),ref:c}),f)}h=a.src?b("getImageSourceURLFromImageish")(a.src):"";e=b("coerceImageishURL")(a.src);return a.width===void 0&&a.height===void 0&&e?b("React").createElement("img",babelHelpers["extends"]({},a,{className:d,height:e.height,src:h,ref:c,width:e.width}),f):b("React").createElement("img",babelHelpers["extends"]({},a,{className:d,ref:c,src:h}),f)}h.defaultProps=c;h.propTypes={src:b("validateImageSrcPropType")};function a(a,c){Object.prototype.hasOwnProperty.call(a,"source")&&b("warnUnsupportedProp")("ImageCore","source","Did you mean `src`?");var d=a.src!=null?b("getImageSourceURLFromImageish")(a.src):"";if(b("EncryptedImgUtils").isEncrypted(d)){a.src;var e=babelHelpers.objectWithoutPropertiesLoose(a,["src"]);return b("React").createElement(g,babelHelpers["extends"]({},e,{encryptedSrc:d,forwardedRef:c}))}else return b("React").createElement(h,babelHelpers["extends"]({},a,{forwardedRef:c}))}a.displayName="ImageCore";e.exports=b("React").forwardRef(a)}),null);
__d("Image.react",["ImageCore.react"],(function(a,b,c,d,e,f){e.exports=b("ImageCore.react")}),null);
__d("addFocusEvents",["Deferred","Event","React","SubscriptionList","promiseDone"],(function(a,b,c,d,e,f){__p&&__p();var g=b("React").Component,h;a=function(a){__p&&__p();return function(c){"use strict";__p&&__p();babelHelpers.inheritsLoose(d,c);function d(){return c.apply(this,arguments)||this}var e=d.prototype;e.componentDidMount=function(){__p&&__p();var a=this;if(!h){var c,d;h=new(b("SubscriptionList"))(function(){c=b("Event").listen(window,"blur",function(){h&&h.fireCallbacks(!0),d&&d.remove(),d=b("Event").listen(document.documentElement,"focusin",function(){h&&h.fireCallbacks(!1),d&&d.remove(),d=null})})},function(){c&&c.remove(),d&&d.remove(),c=null,d=null,h=null})}this.subscription=h.add(function(b){a.locked=b})};e.componentWillUnmount=function(){this.subscription&&this.subscription.remove()};e.onClick=function(a){this.props.onClick&&this.props.onClick(a),this.deferred&&this.deferred.resolve(this.props.onMouseFocus)};e.onFocus=function(a){var c=this;this.deferred&&(this.deferred.reject(),this.deferred=null);if(this.locked)return;this.deferred=new(b("Deferred"))();b("promiseDone")(this.deferred.getPromise(),function(b){b&&b(a),c.deferred=null},function(){})};e.onKeyUp=function(a){this.props.onKeyUp&&this.props.onKeyUp(a),this.deferred&&this.deferred.resolve(this.props.onKeyboardFocus)};e.render=function(){var c=this.props;c.onKeyboardFocus;c.onMouseFocus;c=babelHelpers.objectWithoutPropertiesLoose(c,["onKeyboardFocus","onMouseFocus"]);return b("React").createElement(a,babelHelpers["extends"]({},c,{onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onKeyUp:this.onKeyUp.bind(this)}))};return d}(g)};e.exports=a}),null);
__d("FeedbackReactionTypeNames",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({0:"NONE",1:"LIKE",2:"LOVE",3:"WOW",4:"HAHA",5:"YAY",6:"OUCH",7:"SORRY",8:"ANGER",9:"JACKO",10:"CONFUSED",11:"DOROTHY",12:"TOTO",13:"SELFIE",14:"FLAME",15:"PLANE"})}),null);
__d("ReactionIconClassNames",["cx"],(function(a,b,c,d,e,f,g){"use strict";e.exports={root:"_9zc",icon:"_2p78",menuIcon:"_8382",reactions:{like:"_3j7l",love:"_3j7m",anger:"_3j7q",wow:"_3j7n",haha:"_3j7o",sorry:"_3j7r",yay:"_3j7p",confused:"_3j7s",dorothy:"_3rya",toto:"_4aou",flame:"_3qr6",plane:"_4vps"},sizes:{14:"_8383",16:"_9--",18:"_19kl",20:"_7tr3",48:"_9-_",96:"_9_0"}}}),null);
__d("UFIReactionIconImpl.react",["FeedbackReactionTypeNames","React","ReactionIconClassNames","joinClasses"],(function(a,b,c,d,e,f){__p&&__p();a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.shouldComponentUpdate=function(a){return a.className!==this.props.className||a.reaction!==this.props.reaction||a.size!==this.props.size||a.grayscale!==this.props.grayscale};d.renderImage=function(){var a=b("FeedbackReactionTypeNames")[this.props.reaction].toLowerCase();return b("React").createElement("i",{className:b("joinClasses")(b("ReactionIconClassNames").reactions[a],b("ReactionIconClassNames").icon,b("ReactionIconClassNames").sizes[this.props.size])})};d.render=function(){return b("React").createElement("span",{className:b("joinClasses")(b("ReactionIconClassNames").root,b("ReactionIconClassNames").sizes[this.props.size],this.props.className)},this.renderImage())};return c}(b("React").Component);a.defaultProps={className:null,grayscale:!1,size:"16"};e.exports=a}),null);
__d("FbFeedHighlight",["cx","CSS","DOM","DOMScroll","JSXDOM"],(function(a,b,c,d,e,f,g){__p&&__p();var h=1e3,i=1e3,j=null;function k(){return b("JSXDOM").div({className:"_1usz"},b("JSXDOM").div({className:"_1us-"}),b("JSXDOM").div({className:"_1us_"}),b("JSXDOM").div({className:"_1ut0"}),b("JSXDOM").div({className:"_1ut1"}))}var l={highlightAndScrollTo:function(a){l.highlightAndScrollToWithTime(a,i,0)},highlightAndScrollToWithTime:function(a,b,c){l.highlightWithTime(a,b),l.scrollTo(a,c,0)},highlightSingle:function(a){l.highlightSingleWithTime(a,i)},highlightSingleWithTime:function(a,c){var d=k();b("DOM").appendContent(a,d);setTimeout(function(){j&&b("DOM").remove(j),j=d,b("CSS").addClass(a,"_1ut2")},0);setTimeout(function(){b("CSS").removeClass(a,"_1ut2"),setTimeout(function(){b("DOM").remove(d),d==j&&(j=null)},h+c)},h+c)},highlight:function(a){l.highlightWithTime(a,i)},highlightWithTime:function(a,c){var d=l.highlightPermanent(a);setTimeout(function(){b("CSS").removeClass(a,"_1ut2"),setTimeout(b("DOM").remove.bind(null,d),h+h)},h+c)},highlightPermanent:function(a){var c=k();b("DOM").appendContent(a,c);setTimeout(function(){b("CSS").addClass(a,"_1ut2")},0);return c},scrollTo:function(a,c,d){setTimeout(function(){b("DOMScroll").scrollTo(a,750,!1,0,c)},d)}};e.exports=l}),null);
__d("MenuSelectableItem",["cx","CSS","DOM","MenuItem"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(b){b=a.call(this,b)||this;b._ARIARole="menuitemcheckbox";b._selected=!!b._data.selected;return b}var d=c.prototype;d.getIcon=function(){return this._data.icon};d.setIcon=function(a){b("DOM").replace(this._data.icon,a),this._data.icon=a};d.isSelected=function(){return this._selected};d.select=function(){if(this.isDisabled())return!1;b("CSS").addClass(this._root,"_54nd");this._anchor.setAttribute("aria-checked","true");this._selected=!0};d.deselect=function(){b("CSS").removeClass(this._root,"_54nd"),this._anchor.setAttribute("aria-checked","false"),this._selected=!1};d.render=function(){var c=a.prototype.render.call(this);this._data.selected&&(b("CSS").addClass(c,"_54nd"),this._anchor.setAttribute("aria-checked","true"));return c};return c}(b("MenuItem"));Object.assign(a.prototype,{_selected:!1});e.exports=a}),null);
__d("AccessibleLayer",["fbt","DOM","Event","Focus"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this._layer=a,this._listener=null}var c=a.prototype;c.enable=function(){this._afterShowSubscription=this._layer.subscribe("aftershow",this._onAfterShow.bind(this)),this._afterHideSubscription=this._layer.subscribe("hide",this._onAfterHide.bind(this))};c.disable=function(){this._listener&&this._listener.remove(),this._afterShowSubscription.unsubscribe(),this._listener=this._afterShowSubscription=null};c._closeListener=function(a){a=this._layer.getCausalElement();a&&(a.tabIndex==null?(a.tabIndex=-1,b("Focus").setWithoutOutline(a)):b("Focus").set(a));this._layer.hide()};c._setupCloseButton=function(){var a=this._layer.getContentRoot(),c=b("DOM").scry(a,".layer_close_elem")[0];c||(c=b("DOM").create("a",{className:"accessible_elem layer_close_elem",href:"#",role:"button"},[g._("Close pop-up and return")]),b("DOM").appendContent(a,c));this._listener=b("Event").listen(c,"click",this._closeListener.bind(this))};c._onAfterShow=function(){this._listener||this._setupCloseButton()};c._onAfterHide=function(){this._listener&&this._listener.remove(),this._listener=null};return a}();e.exports=a}),null);
__d("ContextualDialogDefaultTheme",["cx"],(function(a,b,c,d,e,f,g){a={wrapperClassName:"_53ip",arrowDimensions:{offset:15,length:16}};e.exports=a}),null);
__d("XUIAmbientNUXTheme",["cx"],(function(a,b,c,d,e,f,g){a={wrapperClassName:"_2x6q",arrowDimensions:{offset:14,length:18}};e.exports=a}),null);
__d("LoadingDialogDimensions",[],(function(a,b,c,d,e,f){a=Object.freeze({HEIGHT:96,WIDTH:300});e.exports=a}),null);
__d("VideosRenderingInstrumentation",["DataStore","VideoPlayerHTML5Experiments","performanceAbsoluteNow"],(function(a,b,c,d,e,f){var g={storeRenderTime:function(a){var c=b("VideoPlayerHTML5Experiments").useMonotonicallyIncreasingTimers?b("performanceAbsoluteNow")():Date.now();b("DataStore").set(a,"videos_rendering_instrumentation",c);return c},retrieveRenderTime:function(a){var c=b("DataStore").get(a,"videos_rendering_instrumentation",NaN);Number.isNaN(c)&&(c=g.storeRenderTime(a));return c}};e.exports=g}),null);
__d("VideoPlayerShakaExperimentsConfig",["VideoPlayerShakaExperimentsPayload"],(function(a,b,c,d,e,f){"use strict";e.exports=b("VideoPlayerShakaExperimentsPayload").experiments}),null);
__d("QE2Logger",["Banzai"],(function(a,b,c,d,e,f){__p&&__p();var g="qe2_log_exposure",h={},i={logExposureForUser:function(a,b){b=b?b:"",i.__logExposure(a,b,9)},logExposureForEmail:function(a,b){i.__logExposure(a,b,3)},logExposureForDatr:function(a){i.__logExposure(a,"",5)},logExposureForOculusLoggedOut:function(a){i.__logExposure(a,"",31)},logExposureForPage:function(a,b){i.__logExposure(a,b,7)},logExposureForBusiness:function(a,b){i.__logExposure(a,b,17)},logExposureForGroup:function(a,b){i.__logExposure(a,b,25)},logExposureForPhoneNumber:function(a,b){i.__logExposure(a,b,8)},logExposureForScimCompanyID:function(a,b){i.__logExposure(a,b,22)},logExposureForAnalyticsEntityID:function(a,b){i.__logExposure(a,b,27)},logExposureForAdAccountID:function(a,b){i.__logExposure(a,b,0)},logExposure:function(a,b,c){i.__logExposure(a,b,c)},__logExposure:function(a,c,d){var e=a+"|"+c;if(h[e])return;a={universeName:a,unitID:c,unitType:d};b("Banzai").post(g,a,{signal:!0});h[e]=!0}};e.exports=i}),null);
__d("VideoPlayerShakaConfigExposureCondition",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ANY_PARAM_ACCESSED:"any_param_accessed",ALL_PARAMS_ACCESSED:"all_params_accessed"})}),null);
__d("VideoPlayerShakaExposureLogger",["QE2Logger","VideoPlayerShakaConfigExposureCondition","VideoPlayerShakaExperimentsPayload"],(function(a,b,c,d,e,f){var g=Object.keys(b("VideoPlayerShakaExperimentsPayload").universeToExposureConfig).reduce(function(a,c){a[c]={};a[c].exposureCondition=b("VideoPlayerShakaExperimentsPayload").universeToExposureConfig[c].exposure_condition;a[c].exposureParams=new Set(b("VideoPlayerShakaExperimentsPayload").universeToExposureConfig[c].exposure_params);return a},{});a={logExposureForParamMaybe:function(a){Object.keys(g).forEach(function(c){g[c].exposureCondition===b("VideoPlayerShakaConfigExposureCondition").ANY_PARAM_ACCESSED&&g[c].exposureParams.has(a)?(b("QE2Logger").logExposureForUser(c),delete g[c]):g[c].exposureCondition===b("VideoPlayerShakaConfigExposureCondition").ALL_PARAMS_ACCESSED&&(g[c].exposureParams["delete"](a),g[c].exposureParams.size===0&&(b("QE2Logger").logExposureForUser(c),delete g[c]))})}};e.exports=a}),null);
__d("VideoPlayerShakaParsedContextualConfig",["EventEmitter","FBLogger","VideoPlayerShakaContextualConfig"],(function(a,b,c,d,e,f){__p&&__p();a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var b;b=a.call(this)||this;b.$VideoPlayerShakaParsedContextualConfig1=null;b.$VideoPlayerShakaParsedContextualConfig2={};b.parseConfig();return b}var d=c.prototype;d.getGlobalConfig=function(){return this.$VideoPlayerShakaParsedContextualConfig2};d.getStaticConfig=function(){return b("VideoPlayerShakaContextualConfig").staticConfig};d.getRawContextualConfig=function(){return this.$VideoPlayerShakaParsedContextualConfig1};d.parseConfig=function(){this.$VideoPlayerShakaParsedContextualConfig3(),this.$VideoPlayerShakaParsedContextualConfig4(),this.emit("configChange")};d.$VideoPlayerShakaParsedContextualConfig3=function(){if(!b("VideoPlayerShakaContextualConfig").rawContextualConfig)return;try{this.$VideoPlayerShakaParsedContextualConfig1=JSON.parse(b("VideoPlayerShakaContextualConfig").rawContextualConfig)}catch(a){b("FBLogger")("VideoPlayerShakaParsedContextualConfig").warn("Failed to parse raw config")}};d.$VideoPlayerShakaParsedContextualConfig4=function(){var a=this;this.$VideoPlayerShakaParsedContextualConfig2=Object.assign({},b("VideoPlayerShakaContextualConfig").staticConfig);this.$VideoPlayerShakaParsedContextualConfig1&&this.$VideoPlayerShakaParsedContextualConfig1.defaults.forEach(function(b){return a.$VideoPlayerShakaParsedContextualConfig2[b.name]=b.value})};return c}(b("EventEmitter"));e.exports=new a()}),null);
__d("VideoPlayerShakaGlobalConfig",["VideoPlayerShakaExperimentsConfig","VideoPlayerShakaExposureLogger","VideoPlayerShakaParsedContextualConfig"],(function(a,b,c,d,e,f){__p&&__p();a={getBool:function(a,c){b("VideoPlayerShakaExposureLogger").logExposureForParamMaybe(a);var d=b("VideoPlayerShakaParsedContextualConfig").getGlobalConfig();return d&&d[a]!==void 0?d[a]==="true"||d[a]===!0:typeof b("VideoPlayerShakaExperimentsConfig")[a]==="boolean"?b("VideoPlayerShakaExperimentsConfig")[a]:c},getNumber:function(a,c){b("VideoPlayerShakaExposureLogger").logExposureForParamMaybe(a);var d=b("VideoPlayerShakaParsedContextualConfig").getGlobalConfig();return d&&d[a]!==void 0?Number(d[a]):typeof b("VideoPlayerShakaExperimentsConfig")[a]==="number"?b("VideoPlayerShakaExperimentsConfig")[a]:c},getString:function(a,c){b("VideoPlayerShakaExposureLogger").logExposureForParamMaybe(a);var d=b("VideoPlayerShakaParsedContextualConfig").getGlobalConfig();return d&&d[a]!==void 0?String(d[a]):typeof b("VideoPlayerShakaExperimentsConfig")[a]==="string"?b("VideoPlayerShakaExperimentsConfig")[a]:c}};e.exports=a}),null);
__d("InlineBlock.react",["cx","React","joinClasses"],(function(a,b,c,d,e,f,g){__p&&__p();a=b("React").PropTypes;var h={baseline:null,bottom:"_6d",middle:"_6b",top:"_6e"};c=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){__p&&__p();var a=this.props,c=a.alignv,d=a.height,e=a.fullWidth;a=babelHelpers.objectWithoutPropertiesLoose(a,["alignv","height","fullWidth"]);c=h[c];e="_6a"+(e?" _5u5j":"");var f=b("joinClasses")(e,c);if(d!=null){c=b("React").createElement("div",{className:b("joinClasses")("_6a",c),style:{height:d+"px"}});return b("React").createElement("div",babelHelpers["extends"]({},a,{className:b("joinClasses")(this.props.className,e),height:null}),c,b("React").createElement("div",{className:f},this.props.children))}else return b("React").createElement("div",babelHelpers["extends"]({},a,{className:b("joinClasses")(this.props.className,f)}),this.props.children)};return c}(b("React").Component);c.propTypes={alignv:a.oneOf(["baseline","bottom","middle","top"]),height:a.number,fullWidth:a.bool};c.defaultProps={alignv:"baseline",fullWidth:!1};e.exports=c}),null);
__d("asset",[],(function(a,b,c,d,e,f){function a(a){throw new Error("asset("+JSON.stringify(a)+"): Unexpected asset reference.")}e.exports=a}),null);
__d("intersectionObserverEntryIsIntersecting",[],(function(a,b,c,d,e,f){"use strict";function a(a){return a.isIntersecting!=null?a.isIntersecting:a.intersectionRatio>0||a.intersectionRect&&(a.intersectionRect.height>0||a.intersectionRect.width>0)}e.exports=a}),null);
__d("AvailableListState",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({OFFLINE:0,IDLE:1,ACTIVE:2,MOBILE:3})}),null);
__d("fbjs/lib/ExecutionEnvironment",["ExecutionEnvironment"],(function(a,b,c,d,e,f){"use strict";e.exports=b("ExecutionEnvironment")}),null);
__d("fbjs/lib/shallowEqual",["shallowEqual"],(function(a,b,c,d,e,f){"use strict";e.exports=b("shallowEqual")}),null);
/**
* License: https://www.facebook.com/legal/license/2v2plzJQoTQ/
*/
__d("IntersectionObserverFallback",["FBLogger","TimeSlice","containsNode","getElementRect","performanceNow","setInterval","throttle"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=document.documentElement,h=[];function i(a,b){var c=Math.max(a.top,b.top),d=Math.min(a.bottom,b.bottom),e=Math.max(a.left,b.left);a=Math.min(a.right,b.right);b=a-e;var f=d-c;return b>=0&&f>=0?{top:c,bottom:d,left:e,right:a,width:b,height:f}:void 0}function j(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}var k=function(a){__p&&__p();this.time=a.time;this.target=a.target;this.rootBounds=a.rootBounds;this.boundingClientRect=a.boundingClientRect;this.intersectionRect=a.intersectionRect||j();this.isIntersecting=!!a.intersectionRect;a=this.boundingClientRect;a=a.width*a.height;var b=this.intersectionRect.width*this.intersectionRect.height;a?this.intersectionRatio=b/a:this.intersectionRatio=this.isIntersecting?1:0};a=function(){__p&&__p();function a(a,c){__p&&__p();var d=this;this.THROTTLE_TIMEOUT=100;this.POLL_INTERVAL=null;this.$12=b("TimeSlice").guard(b("throttle")(function(){var a=d.$14(),c=a?d.$15():j();d.$6.forEach(function(e){var f=e.element,g=b("getElementRect")(f),h=d.$16(f),i=e.entry,j=a&&h&&!d.$2&&d.$17(f,c);e=e.entry=new k({time:b("performanceNow")(),target:f,boundingClientRect:g,rootBounds:c,intersectionRect:j});!i?d.$7.push(e):a&&h?d.$18(i,e)&&d.$7.push(e):i&&i.isIntersecting&&d.$7.push(e)});d.$7.length&&d.$1(d.takeRecords(),d)},this.THROTTLE_TIMEOUT),"IntersectionObserverFallback: checkForIntersections");this.$2=!1;try{window.top.document}catch(a){this.$2=!0}c=c||{};this.$1=a;this.$4=!1;this.$6=[];this.$7=[];this.$8=this.$9(c.rootMargin);this.thresholds=this.$10(c.threshold);this.root=c.root||null;this.rootMargin=this.$8.map(function(a){return a.value+a.unit}).join(" ")}var c=a.prototype;c.$10=function(a){a=a||[0];Array.isArray(a)||(a=[a]);return a.sort().filter(function(a,b,c){return a!==c[b-1]})};c.$9=function(a){a=a||"0px";a=a.split(/\s+/).map(function(a){a=/^(-?\d*\.?\d+)(px|%)$/.exec(a);return{value:parseFloat(a[1]),unit:a[2]}});a[1]=a[1]||a[0];a[2]=a[2]||a[0];a[3]=a[3]||a[1];return a};c.$11=function(){this.$4||(this.$4=!0,this.$12(),this.POLL_INTERVAL?this.$5=b("setInterval")(this.$12,this.POLL_INTERVAL):(window.addEventListener("resize",this.$12),document.addEventListener("scroll",this.$12),"MutationObserver"in window&&(this.$3=new MutationObserver(this.$12),this.$3.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))};c.$13=function(){this.$4&&(this.$4=!1,this.$5&&(clearInterval(this.$5),this.$5=void 0),window.removeEventListener("resize",this.$12),document.removeEventListener("scroll",this.$12),this.$3&&(this.$3.disconnect(),this.$3=void 0))};c.$17=function(a,c){__p&&__p();var d=window.getComputedStyle(a);if(!d||d.display=="none")return void 0;d=b("getElementRect")(a);d=d;a=a.parentElement;var e=!1;while(!e){var f=null;a==this.root||a&&a.nodeType!=1?(e=!0,f=c):a&&window.getComputedStyle(a).overflow!="visible"&&(f=b("getElementRect")(a));if(f){d=i(f,d);if(!d)break}a=a&&a.parentElement}return d};c.$15=function(){var a;if(this.root)a=b("getElementRect")(this.root);else{var c=document.documentElement,d=document.body,e=c&&c.clientWidth||d&&d.clientWidth;c=c&&c.clientHeight||d&&d.clientHeight;a={top:0,left:0,right:e,width:e,bottom:c,height:c}}return this.$19(a)};c.$19=function(a){var b=this.$8.map(function(b,c){return b.unit=="px"?b.value:b.value*(c%2?a.width:a.height)/100});b={top:a.top-b[0],right:a.right+b[1],bottom:a.bottom+b[2],left:a.left-b[3],width:0,height:0};b.width=b.right-b.left;b.height=b.bottom-b.top;return b};c.$18=function(a,b){__p&&__p();a=a&&a.isIntersecting?a.intersectionRatio||0:-1;b=b.isIntersecting?b.intersectionRatio||0:-1;if(a===b)return!1;for(var c=0;c<this.thresholds.length;c++){var d=this.thresholds[c];if(d==a||d==b||d<a!==d<b)return!0}return!1};c.$14=function(){return!this.root||b("containsNode")(g,this.root)};c.$16=function(a){var c=this.root||g;return b("containsNode")(c,a)};c.$20=function(){h.indexOf(this)<0&&h.push(this)};c.$21=function(){var a=h.indexOf(this);a!=-1&&h.splice(a,1)};c.observe=function(a){__p&&__p();if(!a){b("FBLogger")("io").warn("IntersectionObserverFallback target does not exist");return}if(this.$6.some(function(b){return b.element==a}))return;this.$20();this.$6.push({element:a,entry:null});this.$11();this.$12()};c.unobserve=function(a){this.$6=this.$6.filter(function(b){return b.element!=a}),this.$6.length||(this.$13(),this.$21())};c.disconnect=function(){this.$6=[],this.$13(),this.$21()};c.takeRecords=function(){var a=this.$7.slice();this.$7=[];return a};return a}();e.exports=a}),null);
__d("IntersectionObserver",["IntersectionObserverFallback"],(function(a,b,c,d,e,f){"use strict";a="IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype;e.exports=a?window.IntersectionObserver:b("IntersectionObserverFallback")}),null);
__d("observeIntersection",["invariant","ErrorUtils","IntersectionObserver"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=typeof WeakMap==="function",i={__noRoot:!0},j=h?new WeakMap():new Map();function k(a){__p&&__p();var b=a.threshold;if(Array.isArray(b)){var c={};b.forEach(function(a){c[String(a)]=!0});b=Object.keys(c).sort()}var d=babelHelpers["extends"]({},a,{threshold:b}),e={};Object.keys(d).sort().forEach(function(a){e[a]=d[a]});return JSON.stringify(e)}function a(a,c,d){__p&&__p();d===void 0&&(d={});var e=k({rootMargin:d.rootMargin,threshold:d.threshold}),f=d.root||i,l=j.get(f);l==null&&(l={},j.set(f,l));var m=l[e];if(m==null){d=new(b("IntersectionObserver"))(function(a){a.forEach(function(a){m!=null||g(0,2439);var c=m.targetToCallbacksMap.get(a.target);c&&c.length>0&&c.forEach(function(c){b("ErrorUtils").applyWithGuard(c,null,[a],null,"observeIntersection")})})},d);m={intersectionObserver:d,referenceCount:0,targetToCallbacksMap:h?new WeakMap():new Map()};l[e]=m}d=m.targetToCallbacksMap.get(a);d==null&&(m.intersectionObserver.observe(a),m.referenceCount+=1,d=[],m.targetToCallbacksMap.set(a,d));d.push(c);var n=!1;return{remove:function(){__p&&__p();if(n)return;var b=m.targetToCallbacksMap.get(a);b!=null||g(0,2440);if(b.length===1)m.intersectionObserver.unobserve(a),m.targetToCallbacksMap["delete"](a),m.referenceCount-=1;else{var d=b.indexOf(c);d!==-1||g(0,2441);b.splice(d,1)}m.referenceCount===0&&(l!=null||g(0,2442),delete l[e],Object.keys(l).length===0&&j["delete"](f));n=!0}}}e.exports=a}),null);
__d("renderSubtreeIntoContainer_DO_NOT_USE",["ReactDOM-fb"],(function(a,b,c,d,e,f){"use strict";e.exports=b("ReactDOM-fb").unstable_renderSubtreeIntoContainer}),null);
__d("shallowCompare",["fbjs/lib/shallowEqual"],(function(a,b,c,d,e,f){"use strict";function a(a,c,d){return!b("fbjs/lib/shallowEqual")(a.props,c)||!b("fbjs/lib/shallowEqual")(a.state,d)}e.exports=a}),null);
__d("isValidUniqueID",[],(function(a,b,c,d,e,f){function a(a){return a!==null&&a!==void 0&&a!==""&&(typeof a==="string"||typeof a==="number")}e.exports=a}),null);
__d("SearchableEntry",["invariant","FbtResultBase","HTML","isValidUniqueID"],(function(a,b,c,d,e,f,g){__p&&__p();function h(a){__p&&__p();if(!a)return"";else if(typeof a==="string")return a;else if(a instanceof b("FbtResultBase"))return a.toString();else if(typeof a==="object"){a=b("HTML").replaceJSONWrapper(a);if(b("HTML").isHTML(a)){a=a.getRootNode();return a.textContent||a.innerText||""}else return""}else return""}a=function(){"use strict";__p&&__p();function a(a){__p&&__p();this.valueOf=this.getUniqueID;b("isValidUniqueID")(a.uniqueID)||g(0,3851,a.uniqueID);this.$8=a.uniqueID+"";a.title instanceof b("FbtResultBase")&&(a.title=a.title.toString());a.title!=null&&typeof a.title==="string"||g(0,3852,a.title);this.$6=a.title;this.$3=a.order||0;this.$5=h(a.subtitle);this.$2=a.keywordString||"";this.$4=a.photo||"";this.$9=a.uri||"";this.$7=h(a.type);var c=a.auxiliaryData==null?{}:a.auxiliaryData;this.$1=c;this.$10=a.dataType||""}var c=a.prototype;c.getUniqueID=function(){return this.$8};c.getOrder=function(){return this.$3};c.getTitle=function(){return this.$6};c.getSubtitle=function(){return this.$5};c.getKeywordString=function(){return this.$2};c.getPhoto=function(){return this.$4};c.getURI=function(){return this.$9};c.getType=function(){return this.$7};c.getAuxiliaryData=function(){return this.$1};c.getDataType=function(){return this.$10};c.toPlainObject=function(){return{auxiliaryData:this.$1,keywordString:this.$2,order:this.$3,photo:this.$4,subtitle:this.$5,title:this.$6,type:this.$7,uniqueID:this.$8,uri:this.$9,dataType:this.$10}};return a}();e.exports=a}),null);
__d("BinarySearch",["unrecoverableViolation"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={GREATEST_LOWER_BOUND:"GREATEST_LOWER_BOUND",GREATEST_STRICT_LOWER_BOUND:"GREATEST_STRICT_LOWER_BOUND",LEAST_STRICT_UPPER_BOUND:"LEAST_STRICT_UPPER_BOUND",LEAST_UPPER_BOUND:"LEAST_UPPER_BOUND"};var g=function(a,c){if(typeof a!=="number"||typeof c!=="number")throw b("unrecoverableViolation")("The default comparator can only be used with sequences of numbers.","comet_infra");return a-c},h={GREATEST_LOWER_BOUND:a.GREATEST_LOWER_BOUND,GREATEST_STRICT_LOWER_BOUND:a.GREATEST_STRICT_LOWER_BOUND,LEAST_STRICT_UPPER_BOUND:a.LEAST_STRICT_UPPER_BOUND,LEAST_UPPER_BOUND:a.LEAST_UPPER_BOUND,find:function(a,b,c,d,e){e===void 0&&(e=g);var f=h.LEAST_UPPER_BOUND;f=h.findBound(a,b,c,d,e,f);if(c<=f&&f<d){c=a(f);return e(c,b)===0?c:void 0}else return void 0},findIndex:function(a,b,c,d,e){e===void 0&&(e=g);var f=h.LEAST_UPPER_BOUND;f=h.findBound(a,b,c,d,e,f);if(c<=f&&f<d)return e(a(f),b)===0?f:-1;else return-1},findBound:function(a,c,d,e,f,g){switch(g){case h.LEAST_UPPER_BOUND:return h.leastUpperBound(a,c,d,e,f);case h.GREATEST_LOWER_BOUND:return h.greatestLowerBound(a,c,d,e,f);case h.LEAST_STRICT_UPPER_BOUND:return h.leastStrictUpperBound(a,c,d,e,f);case h.GREATEST_STRICT_LOWER_BOUND:return h.greatestStrictLowerBound(a,c,d,e,f);default:throw b("unrecoverableViolation")("Invalid mode "+g,"comet_infra")}},leastUpperBound:function(a,b,c,d,e){c=c;d=d;while(c+1<d){var f=c+Math.floor((d-c)/2);e(a(f),b)>=0?d=f:c=f}return c<d&&e(a(c),b)>=0?c:d},greatestLowerBound:function(a,b,c,d,e){return h.leastStrictUpperBound(a,b,c,d,e)-1},leastStrictUpperBound:function(a,b,c,d,e){c=c;d=d;while(c+1<d){var f=c+Math.floor((d-c)/2);e(a(f),b)>0?d=f:c=f}return c<d&&e(a(c),b)>0?c:d},greatestStrictLowerBound:function(a,b,c,d,e){return h.leastUpperBound(a,b,c,d,e)-1},findInArray:function(a,b,c){return h.find(function(b){return a[b]},b,0,a.length,c)},findIndexInArray:function(a,b,c){return h.findIndex(function(b){return a[b]},b,0,a.length,c)},findBoundInArray:function(a,b,c,d){return h.findBound(function(b){return a[b]},b,0,a.length,c,d)}};e.exports=h}),null);
__d("MaybeNativePromise",["Promise"],(function(a,b,c,d,e,f){"use strict";c=a.Promise||b("Promise");b("Promise").resolve();e.exports=c}),null);