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

__d("NotificationAttachmentUtils",["NotificationAttachmentConfig"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={shouldOpenSnowlift:function i(j){__p&&__p();var k=j.attachments,l=j.feedback_context,m=j.attached_story,n=[];if(k)n.push.apply(n,k);if(l&&l.relevant_comments){var o=l.relevant_comments;o.reduce(function(p,q){return p.concat(q.attachments)},n)}if(m&&m.attachments)n.push.apply(n,m.attachments);return n.some(function(p){if(!p.style_list||!p.style_list.length)return false;var q=p.style_list[0];return!!c("NotificationAttachmentConfig").snowliftStyles[q]})}};f.exports=h}),null);
__d("NotificationConstants",[],(function a(b,c,d,e,f,g){f.exports={PayloadSourceType:{UNKNOWN:0,USER_ACTION:1,LIVE_SEND:2,ENDPOINT:3,INITIAL_LOAD:4,OTHER_APPLICATION:5,SYNC:6,CLIENT:7}}}),null);
__d("NotificationPhotoThumbnail",["NotificationAttachmentConfig"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(j){if(!j.media||!j.style_list||!j.style_list.length)return null;var k=j.style_list[0];if(c("NotificationAttachmentConfig").thumbnailStyles[k])return j.media.image;return null}var i={getThumbnailForNotification:function j(k){var l=k.attachments,m=k.attached_story,n=k.feedback_context;return i.getThumbnail(l,m,n)},getThumbnail:function j(k,l,m){__p&&__p();var n=void 0;if(k&&k.length){k.some(function(r){n=h(r);if(n)return true;return false});if(n)return n}if(m){var o=m.relevant_comments;if(o&&o.length){var p=o[0].attachments;if(p&&p.length){n=h(p[0]);if(n)return n}}}if(l){var q=l.attachments;if(q&&q.length)return h(q[0])}return null}};f.exports=i}),null);
__d("NotificationTokens",["CurrentUser"],(function a(b,c,d,e,f,g){var h={tokenizeIDs:function i(j){return j.map(function(k){return c("CurrentUser").getID()+":"+k})},untokenizeIDs:function i(j){return j.map(function(k){return k.split(":")[1]})}};f.exports=h}),null);
__d("NotificationURI",["BusinessURI.brands","URI","VideoPermalinkURI","isFacebookURI"],(function a(b,c,d,e,f,g){__p&&__p();var h={localize:function i(j){try{j=c("BusinessURI.brands")(j)}catch(k){return j.toString()}var l=j.getSubdomain();return j.getUnqualifiedURI().getQualifiedURI().setSubdomain(l).toString()},snowliftable:function i(j){if(!j)return false;var k=new(c("URI"))(j),l=k.getQueryData();return c("isFacebookURI")(k)&&(c("VideoPermalinkURI").isValid(k)||"fbid"in l)},isVaultSetURI:function i(j){return this._areEquals(j,"/ajax/vault/sharer_preview.php")},isAlbumDraftRecoveryDialogURI:function i(j){return this._areEquals(j,"/ajax/photos/upload/overlay/")},isQuicksilverURI:function i(j){return this._areEquals(j,"/games/quicksilver/spotlight/")},isDirectURI:function i(j){return this._startsWith(j,"/direct/")},isIGAccountCreationURI:function i(j){return this._areEquals(j,"/ads/growth/aymt/instagram/account-creation-dialog/")},_areEquals:function i(j,k){if(!j)return false;var l=new(c("URI"))(j);return c("isFacebookURI")(l)&&l.getPath()===k},_startsWith:function i(j,k){if(!j)return false;var l=new(c("URI"))(j);return c("isFacebookURI")(l)&&l.getPath().startsWith(k)}};f.exports=h}),null);
__d("NotificationUtils",["NotificationAttachmentUtils","NotificationURI","URI"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(l){return!!(l&&l.can_render_in_tahoe)}function i(l){return!!(l&&l.bucket_data)}function j(l){return!!(l&&l.video_channel_id)&&!h(l)}var k={getLinkProps:function l(m){__p&&__p();var n=c("NotificationURI").localize(new(c("URI"))(m.url)),o=n;if(j(m.rendererData)||h(m.rendererData)||i(m.rendererData))return{href:o};var p=c("NotificationAttachmentUtils").shouldOpenSnowlift(m)&&c("NotificationURI").snowliftable(n),q=c("NotificationURI").isAlbumDraftRecoveryDialogURI(n),r=p||q?n:m.ajaxify_url||"",s=null;if(p)s="theater";else if(q)s="async-post";else if(c("NotificationURI").isQuicksilverURI(r)||c("NotificationURI").isIGAccountCreationURI(r))s="dialog-post";else if(c("NotificationURI").isDirectURI(n))s="async";else if(r)s="dialog";return{ajaxify:r,href:o,rel:s}}};f.exports=k}),null);
__d("normalizeNotificationPayload",["ix","NotificationPhotoThumbnail","NotificationUtils","idx"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(j){__p&&__p();var k;if(Array.isArray(j.classifications))j.classifications=j.classifications.map(function(u){return u.toUpperCase()});if(Array.isArray(j.eligible_buckets))j.eligible_buckets=j.eligible_buckets.map(function(u){return u.toUpperCase()});if(Object.prototype.hasOwnProperty.call(j,"menu_options")){var l=j,m=l.menu_options;delete l.menu_options;j.notif_option_sets={edges:m&&[{node:{notif_options:{edges:m&&m.map(function(u){return{node:{client_info:{action_type:u.client_action,undo_server_action:u.undo_server_action},server_action:u.server_action,option_display:{text:{text:u.text},subtext:u.subtext!=null?{text:u.subtext}:null,undo_text:u.undo_text}}}})}}}]}}if(Object.prototype.hasOwnProperty.call(j,"previewImage")===false){var n=j,o=c("NotificationPhotoThumbnail").getThumbnailForNotification(n);j.previewImage=o}if(Object.prototype.hasOwnProperty.call(j,"primerAttributes")===false){var p=j,q=c("NotificationUtils").getLinkProps(p);j.primerAttributes={ajaxify:q.ajaxify===undefined?undefined:q.ajaxify,rel:q.rel};delete p.ajaxify_url}if(Object.prototype.hasOwnProperty.call(j,"renderer_data")===false)(function(){__p&&__p();var l=j,u=l.rendererData;if(u&&(Object.prototype.hasOwnProperty.call(u,"bucket_data")||Object.prototype.hasOwnProperty.call(u,"bucket_id")||Object.prototype.hasOwnProperty.call(u,"can_render_in_tahoe")||Object.prototype.hasOwnProperty.call(u,"owner_id")||Object.prototype.hasOwnProperty.call(u,"sender_id")||Object.prototype.hasOwnProperty.call(u,"time_to_hide")||Object.prototype.hasOwnProperty.call(u,"video_channel_caller")||Object.prototype.hasOwnProperty.call(u,"video_channel_id")||Object.prototype.hasOwnProperty.call(u,"video_id"))||l.notif_type==="live_video_explicit"||l.notif_type==="live_video_share"||l.notif_type==="live_video"||l.notif_type==="live_with_video_explicit"||l.notif_type==="live_with_video")j.renderer_data=babelHelpers["extends"]({__typename:"LiveVideoNotificationRendererData"},u,{beeper_time_to_hide:u==null?null:u.time_to_hide,bucket_data:u==null?null:function(){try{return JSON.stringify(u.bucket_data)}catch(w){return null}}()});else if(l.notif_type==="accept_gifted_game"||l.notif_type==="app_content_update"||l.notif_type==="app_invite"||l.notif_type==="app_notification"||l.notif_type==="app_request"||l.notif_type==="decline_gifted_game"||l.notif_type==="send_game_as_gift"){var v=l.app_request_ids;j.renderer_data={__typename:"AppRequestNotificationRendererData",app_request_ids:v?v.split(","):[]}}else j.renderer_data={__typename:"FallbackNotificationRendererData",should_log_menu_exposure:!!(u&&u.logMenuExposure)}})();if(Object.prototype.hasOwnProperty.call(j,"thumbnail")===false){var r,s=j,t=(r=s)!=null?(r=r.actors)!=null?(r=r[0])!=null?(r=r.profile_picture)!=null?r.uri:r:r:r:r;j.thumbnail={uri:t==null?h("97000"):t}}return j}f.exports=i}),null);
__d("normalizeNotificationUpdatePayload",["normalizeNotificationPayload"],(function a(b,c,d,e,f,g){"use strict";function h(i){i=i;if(i.nodes!=null&&Array.isArray(i.nodes))i.nodes=i.nodes.map(c("normalizeNotificationPayload"));return i}f.exports=h}),null);
__d("NotificationUpdates",["Arbiter","AsyncRequest","BusinessUserConf","LiveTimer","NotificationConstants","createObjectFrom","gkx","ifRequired","normalizeNotificationUpdatePayload"],(function a(b,c,d,e,f,g){__p&&__p();var h={},i={},j={},k={},l=false,m=[],n=0,o=void 0,p=new(c("Arbiter"))();function q(){__p&&__p();if(n)return;var v=h,w=i,x=j,y=k;h={};i={};j={};k={};if(Object.keys(v).length||l){l=false;s("notifications-updated",v)}if(Object.keys(w).length)s("seen-state-updated",w);if(Object.keys(x).length)s("read-state-updated",x);if(Object.keys(y).length)s("hidden-state-updated",y);m.pop()}function r(){if(m.length)return m[m.length-1];return c("NotificationConstants").PayloadSourceType.UNKNOWN}function s(event,v){u.inform(event,{updates:v,source:r()})}var t=null,u={getserverTime:function v(){return t},setEndPoint:function v(w){o=w},handleUpdate:function v(w,x,y,z){__p&&__p();x=c("normalizeNotificationUpdatePayload")(x);if(x.nodes&&Array.isArray(x.nodes))x.nodes=this._filterNodesBasedOnBusinessUser(x.nodes,c("BusinessUserConf").businessUserID);if(x.servertime){t=x.servertime;c("LiveTimer").restart(x.servertime)}var A=x.nodes;if(o&&w===c("NotificationConstants").PayloadSourceType.LIVE_SEND&&A&&Array.isArray(A)&&A.length>0&&!c("gkx")("AT4A6ZMUIyU9Lv9GalY23GUzOGmhCdrjDTnIRMBXKwTQ3IRz_6KrOYxhP-poHdLcJCp6jBr4hhCVMbQFtZuX6f_Qcs16xJihqv1PHBcY14tXjQ"))c("ifRequired")("NotificationStore",function(B){__p&&__p();var C={classification:z,endpointURI:o,readness:y};if(B.getCount(C)>0||!B.canFetchMore(C))return;new(c("AsyncRequest"))(o).setAllowCrossPageTransition(true).setData({businessUserID:c("BusinessUserConf").businessUserID,classification:z!=null?z.toLowerCase():null,readness:y,length:A.length}).setHandler(function(D){__p&&__p();var x=D.getPayload();if(x==null)return;var E=x.nodes;if(E==null||E.length===0)return;var F={};E.forEach(function(G){var H=G.alert_id;F[H]=true});x.nodes=A.filter(function(G){var H=G.alert_id;return F[H]===true});if(x.nodes.length>0)this._updateWithPayload(w,x)}.bind(this)).send()}.bind(this));else this._updateWithPayload(w,x)},_updateWithPayload:function v(w,x){if(Object.keys(x).length)this.synchronizeInforms(function(){m.push(w);var y=babelHelpers["extends"]({},x,{payloadsource:r()});this.inform("update-notifications",y);this.inform("update-seen",y);this.inform("update-read",y);this.inform("update-hidden",y)}.bind(this))},getArbiter:function v(){return p},inform:function v(event,w){return p.inform(event,w)},subscribe:function v(event,w){return p.subscribe(event,w)},didUpdateNotifications:function v(w){Object.assign(h,c("createObjectFrom")(w));l=true;q()},didUpdateSeenState:function v(w){Object.assign(i,c("createObjectFrom")(w));q()},didUpdateReadState:function v(w){Object.assign(j,c("createObjectFrom")(w));q()},didUpdateHiddenState:function v(w){Object.assign(k,c("createObjectFrom")(w));q()},synchronizeInforms:function v(w){n++;try{w()}catch(x){throw x}finally{n--;q()}},_filterNodesBasedOnBusinessUser:function v(w,x){if(c("gkx")("AT4A6ZMUIyU9Lv9GalY23GUzOGmhCdrjDTnIRMBXKwTQ3IRz_6KrOYxhP-poHdLcJCp6jBr4hhCVMbQFtZuX6f_Qcs16xJihqv1PHBcY14tXjQ"))return w;else return w.filter(function(y){return x==y.biz_user_id})}};f.exports=u}),null);
__d("NotificationOptionActionWebGraphQLMutation",["WebGraphQLMutationBase"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();f.exports=function(){__p&&__p();var h,i;h=babelHelpers.inherits(j,c("WebGraphQLMutationBase"));i=h&&h.prototype;j.__getDocID=function(){"use strict";return"1420844941369152"};j.getQueryID=function(){"use strict";return"318967338567215"};function j(){"use strict";h.apply(this,arguments)}return j}()}),null);
__d("NotificationUserActions",["AsyncRequest","Bootloader","BusinessUserConf","CurrentUser","NotificationConstants","NotificationOptionActionWebGraphQLMutation","NotificationTokens","NotificationUpdates","WebGraphQL","createObjectFrom"],(function a(b,c,d,e,f,g){__p&&__p();var h=c("NotificationConstants").PayloadSourceType.USER_ACTION,i=false;function j(m){if(c("BusinessUserConf").businessUserID!=null)m.biz_user_id=c("BusinessUserConf").businessUserID;new(c("AsyncRequest"))("/ajax/notifications/mark_read.php").setData(m).setAllowCrossPageTransition(true).send()}function k(m){var n={};m.forEach(function(o,p){n["alert_ids["+p+"]"]=o});return n}var l={markNotificationsAsSeen:function m(n){var o=document.getElementById("notificationsCountValue"),p=null;if(o)p=o.textContent;c("NotificationUpdates").handleUpdate(h,{seenState:c("createObjectFrom")(n)});var q=c("NotificationTokens").untokenizeIDs(n),r=k(q);r.seen=true;if(p)r.badgeCount=p;j(r)},setNextIsFromReadButton:function m(n){i=n},markNotificationsAsRead:function m(n,o){c("NotificationUpdates").handleUpdate(h,{readState:c("createObjectFrom")(n,true)});var p=c("NotificationTokens").untokenizeIDs(n),q=k(p);if(i){q.from_read_button=true;i=false}if(o)q.source_view=o;j(q)},markNotificationsAsUnread:function m(n,o){__p&&__p();c("NotificationUpdates").handleUpdate(h,{readState:c("createObjectFrom")(n,false)});var p=c("NotificationTokens").untokenizeIDs(n),q=k(p);if(i){q.from_read_button=true;i=false}q.unread=true;if(o)q.source_view=o;j(q)},markAllNotificationsAsRead:function m(){__p&&__p();c("Bootloader").loadModules(["NotificationSeenState"],function(n){var o=n.getUnreadIDs();if(o.length>0)c("NotificationUpdates").handleUpdate(h,{readState:c("createObjectFrom")(o)});var p={read:true};if(i){p.from_read_button=true;i=false}j(p)},"NotificationUserActions")},sendNotifOption:function m(n){return c("WebGraphQL").exec(new(c("NotificationOptionActionWebGraphQLMutation"))({input:{action_type:n,actor_id:c("CurrentUser").getID(),client_mutation_id:"0"}}))}};f.exports=l}),null);
__d("NotificationInterpolator",["Badge.react","React","TextWithEmoticons.react","WorkModeConfig"],(function a(b,c,d,e,f,g){function h(i,j){var k=null;if(!c("WorkModeConfig").is_in_solo_community&&(j.entity.is_viewer_coworker===false||j.entity.is_multi_company_group===true))k=c("React").createElement(c("Badge.react"),{type:"work_non_coworker"});if(typeof i==="string")i=c("React").createElement(c("TextWithEmoticons.react"),{text:i});return c("React").createElement("span",{className:"fwb"},i,k)}f.exports=h}),null);
__d("ReadToggle.react",["cx","Event","Keys","React","emptyFunction","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;function l(){var m,n;for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=j.constructor).call.apply(m,[this].concat(p)),this.$ReadToggle2=function(event){if(c("Event").getKeyCode(event)===c("Keys").RETURN)this.props.onClick()}.bind(this),n}l.prototype.render=function(){if(this.props.isRead)return c("React").createElement("div",{"aria-label":this.props.readLabel,className:this.$ReadToggle1(),"data-hover":"tooltip","data-tooltip-alignh":"center","data-tooltip-content":this.props.readLabel,onClick:this.props.onClick,onKeyDown:this.$ReadToggle2,role:"button",tabIndex:0});else return c("React").createElement("div",{"aria-label":this.props.unreadLabel,className:this.$ReadToggle1(),"data-hover":"tooltip","data-tooltip-alignh":"center","data-tooltip-content":this.props.unreadLabel,onClick:this.props.onClick,onKeyDown:this.$ReadToggle2,role:"button",tabIndex:"0"})};l.prototype.$ReadToggle1=function(){return c("joinClasses")(this.props.className,(!this.props.isRead?"_5c9q":"")+(this.props.isRead?" _5c9_":""))};l.propTypes={isRead:k.bool.isRequired,onClick:k.func.isRequired,readLabel:k.node.isRequired,unreadLabel:k.node.isRequired};l.defaultProps={onClick:c("emptyFunction")};f.exports=l}),null);
__d("Spotlight",["csx","cx","Arbiter","ArbiterMixin","DOM","JSXDOM","Layer","LayerAutoFocus","LayerButtons","LayerTabIsolation","ModalLayer","Vector","classWithMixins","joinClasses","mixin"],(function a(b,c,d,e,f,g,h,i){__p&&__p();var j,k;j=babelHelpers.inherits(l,c("classWithMixins")(c("Layer"),c("mixin")(c("ArbiterMixin"))));k=j&&j.prototype;function l(n,o){"use strict";k.constructor.call(this,n,o);this.stageMinSize=new(c("Vector"))(0,0);this.stagePadding=new(c("Vector"))(0,0)}l.prototype._buildWrapper=function(n,o){"use strict";var p=c("joinClasses")("_n8"+(n.wash==="dark"||!n.wash?" _3qx":"")+(n.wash==="xui"?" _4-hy":""),n.rootClassName);return c("JSXDOM").div({className:p},c("JSXDOM").div({className:"_n9"},o))};l.prototype._getDefaultBehaviors=function(){"use strict";return k._getDefaultBehaviors.call(this).concat([m,c("LayerAutoFocus"),c("LayerButtons"),c("LayerTabIsolation"),c("ModalLayer")])};l.prototype.getContentRoot=function(){"use strict";if(!this._content)this._content=c("DOM").find(this.getRoot(),"div._n3");return this._content};l.prototype.configure=function(n){"use strict";if(n.stageMinSize)this.stageMinSize=n.stageMinSize;if(n.stagePadding)this.stagePadding=n.stagePadding};l.prototype.onContentLoaded=function(){"use strict";this.inform("content-load")};l.prototype.updatePermalink=function(n){"use strict";this.inform("permalinkchange",n)};Object.assign(l.prototype,{stageMinSize:null,stagePadding:null});function m(n){"use strict";this._layer=n}m.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe(["show","hide"],function(n,o){if(n==="show")c("Arbiter").inform("layer_shown",{type:"Spotlight"});else c("Arbiter").inform("layer_hidden",{type:"Spotlight"})})};m.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null};Object.assign(m.prototype,{_subscription:null});f.exports=l}),null);
__d("Spotlight.react",["LayerAutoFocusReact","LayerHideOnBlur","LayerHideOnEscape","LayerRefocusOnHide","ReactLayer","Spotlight","React"],(function a(b,c,d,e,f,g){__p&&__p();var h=c("React").PropTypes,i=c("ReactLayer").createClass({propTypes:{causalElement:h.instanceOf(HTMLElement),onHide:h.func,rootClassName:h.string,shown:h.bool,wash:h.oneOf(["light","xui","dark"])},getDefaultEnabledBehaviors:function j(){return{hideOnBlur:c("LayerHideOnBlur"),hideOnEscape:c("LayerHideOnEscape"),refocusOnHide:c("LayerRefocusOnHide"),autoFocus:c("LayerAutoFocusReact")}},createLayer:function j(k){var l=this.enumerateBehaviors(this.props.behaviors),m={addedBehaviors:l,rootClassName:this.props.rootClassName,wash:this.props.wash},n=new(c("Spotlight"))(m,k);n.setCausalElement(this.props.causalElement);n.conditionShow(this.props.shown);if(this.props.onBeforeHide)n.subscribe("beforehide",this.props.onBeforeHide);if(this.props.onHide)n.subscribe("hide",this.props.onHide);return n},receiveProps:function j(k){if(this.layer){this.layer.setCausalElement(k.causalElement);this.layer.conditionShow(k.shown)}}});f.exports=i}),null);
__d("FacebookWebNotificationsSubscriptionWebGraphQLSubscription",["WebGraphQLSubscriptionHelper"],(function a(b,c,d,e,f,g){"use strict";f.exports=c("WebGraphQLSubscriptionHelper").getExports({docID:"1735200999864378",queryID:"1880562745497580"})}),null);
__d("FacebookWebNotificationsSubscription",["invariant","BaseGraphQLSubscription","CurrentUser","FacebookWebNotificationsSubscriptionWebGraphQLSubscription","SubscriptionsHandler","WebPixelRatio","uuid"],(function a(b,c,d,e,f,g,h){__p&&__p();var i="WEB_DESKTOP",j=[],k=null,l=babelHelpers["extends"]({},c("BaseGraphQLSubscription"),{_getTopic:function n(o){return"gqls/"+this._getSubscriptionCallName()+"/actor_id_"+o.actorID+"_environment_"+i},_getQueryID:function n(){return c("FacebookWebNotificationsSubscriptionWebGraphQLSubscription").getDocID()},_getQueryParameters:function n(o){return{input:JSON.stringify({client_subscription_id:c("uuid")(),environment:i}),is_work_user:c("CurrentUser").isWorkUser(),scale:c("WebPixelRatio").get()}},_getSubscriptionCallName:function n(){return"web_notification_receive_subscribe"}});function m(n){__p&&__p();var o=n.web_notification_receive_subscribe,p=o.aggregated_notification,q=o.notification,r=o.pinned_conversation,s=o.should_play_sound,t=o.should_show_beeper;j.forEach(function(u){__p&&__p();switch(u.event){case"NEW_BEEPER":if(q!=null&&t===true)u.callback({notification:q,should_play_sound:!!s});break;case"NEW_NOTIFICATION":if(p!=null)u.callback(p);break;case"NEW_PINNED_CONVERSATION":if(r!=null)u.callback(r);break}})}f.exports={subscribe:function n(o){__p&&__p();j.push(o);if(k===null){k=new(c("SubscriptionsHandler"))();k.addSubscriptions(l.subscribe({actorID:c("CurrentUser").getID()},m))}var p=false;return{remove:function q(){if(p===true)return;k!=null||h(0);p=true;j.splice(j.indexOf(o),1);if(j.length===0){k.release();k=null}}}}}}),null);
__d("XUIBadge",["cx","invariant","CSS","DOM","formatNumber"],(function a(b,c,d,e,f,g,h,i){__p&&__p();function j(l){return parseInt(l,10)===l}function k(l){"use strict";this.target=l.target;this.count=l.count;this.maxcount=l.maxcount}k.prototype.getCount=function(){"use strict";return this.count};k.prototype.setCount=function(l){"use strict";j(l)||i(0);l>=0||i(0);this.count=l;c("CSS").conditionClass(this.target,"hidden_elem",this.count===0);c("DOM").setContent(this.target,c("formatNumber").withMaxLimit(l,this.maxcount));if(l>this.maxcount)c("CSS").addClass(this.target,"_5ugi");else c("CSS").removeClass(this.target,"_5ugi")};k.prototype.setLegacyContent=function(l){"use strict";if(typeof l==="string"){c("CSS").conditionClass(this.target,"hidden_elem",l==0);c("DOM").setContent(this.target,l);c("CSS").removeClass(this.target,"_5ugi")}else this.setCount(l)};k.prototype.increment=function(){"use strict";this.setCount(this.getCount()+1)};f.exports=k}),null);
__d("arrayStableSort",[],(function a(b,c,d,e,f,g){function h(i,j){return i.map(function(k,l){return{data:k,index:l}}).sort(function(k,l){return j(k.data,l.data)||k.index-l.index}).map(function(k){return k.data})}f.exports=h}),null);
__d("RangedCallbackManager",["CallbackManagerController","arrayStableSort","createObjectFrom"],(function a(b,c,d,e,f,g){__p&&__p();function h(i,j,k){"use strict";this.$RangedCallbackManager1=[];this.$RangedCallbackManager2=false;this.$RangedCallbackManager3=false;this.$RangedCallbackManager4={};this.$RangedCallbackManager5=new(c("CallbackManagerController"))(this.$RangedCallbackManager6.bind(this));this.$RangedCallbackManager7=i;this.$RangedCallbackManager8=j;this.$RangedCallbackManager9=k}h.prototype.executeOrEnqueue=function(i,j,k,l,m){"use strict";return this.$RangedCallbackManager5.executeOrEnqueue({start:i,limit:j},k,{strict:!!l,skipOnStrictHandler:m})};h.prototype.unsubscribe=function(i){"use strict";this.$RangedCallbackManager5.unsubscribe(i)};h.prototype.getUnavailableResources=function(i){"use strict";var j=this.$RangedCallbackManager5.getRequest(i),k=[];if(j&&!this.$RangedCallbackManager2){var l=j.request,m=this.$RangedCallbackManager10(j.options),n=l.start+l.limit;for(var o=m.length;o<n;o++)k.push(o)}return k};h.prototype.addResources=function(i){"use strict";i.forEach(function(j){if(!this.$RangedCallbackManager4[j]){this.$RangedCallbackManager4[j]=true;this.$RangedCallbackManager1.push(j);this.$RangedCallbackManager3=null}}.bind(this));this.resortResources();this.$RangedCallbackManager5.runPossibleCallbacks()};h.prototype.addResourcesWithoutSorting=function(i,j){"use strict";var k=this.$RangedCallbackManager1.slice(0,j);k=k.concat(i);k=k.concat(this.$RangedCallbackManager1.slice(j));this.$RangedCallbackManager1=k;Object.assign(this.$RangedCallbackManager4,c("createObjectFrom")(i,true));this.$RangedCallbackManager3=null;this.$RangedCallbackManager5.runPossibleCallbacks()};h.prototype.removeResources=function(i){"use strict";i.forEach(function(j){if(this.$RangedCallbackManager4[j]){this.$RangedCallbackManager4[j]=false;var k=this.$RangedCallbackManager1.indexOf(j);if(k!=-1)this.$RangedCallbackManager1.splice(k,1)}}.bind(this))};h.prototype.removeAllResources=function(){"use strict";this.$RangedCallbackManager1=[];this.$RangedCallbackManager4={}};h.prototype.resortResources=function(){"use strict";this.$RangedCallbackManager1=c("arrayStableSort")(this.$RangedCallbackManager1,function(i,j){return this.$RangedCallbackManager8(this.$RangedCallbackManager7(i),this.$RangedCallbackManager7(j))}.bind(this))};h.prototype.setReachedEndOfArray=function(){"use strict";if(!this.$RangedCallbackManager2){this.$RangedCallbackManager2=true;this.$RangedCallbackManager3=null;this.$RangedCallbackManager5.runPossibleCallbacks()}};h.prototype.hasReachedEndOfArray=function(){"use strict";return this.$RangedCallbackManager2};h.prototype.forceRunCallbacks=function(){"use strict";this.$RangedCallbackManager5.runPossibleCallbacks({force:true})};h.prototype.setError=function(i){"use strict";if(this.$RangedCallbackManager3!==i){this.$RangedCallbackManager3=i;this.$RangedCallbackManager5.runPossibleCallbacks()}};h.prototype.getError=function(i,j,k){"use strict";var l=this.$RangedCallbackManager10({strict:k});return i+j>l.length?this.$RangedCallbackManager3:null};h.prototype.hasResource=function(i){"use strict";return this.$RangedCallbackManager4[i]};h.prototype.getResourceAtIndex=function(i){"use strict";return this.$RangedCallbackManager1[i]};h.prototype.getAllResources=function(){"use strict";return this.$RangedCallbackManager1.concat()};h.prototype.getCurrentArraySize=function(i){"use strict";return this.$RangedCallbackManager10(i).length};h.prototype.$RangedCallbackManager10=function(i){"use strict";var j=this.$RangedCallbackManager1;if(i&&i.strict){var k=i.skipOnStrictHandler||this.$RangedCallbackManager9;if(k)j=j.filter(k)}return j};h.prototype.$RangedCallbackManager6=function(i,j){"use strict";var k=this.$RangedCallbackManager10(j),l=i.start,m=i.start+i.limit,n=!!(j&&j.force);if(!n&&!this.$RangedCallbackManager2&&!this.$RangedCallbackManager3&&m>k.length)return false;else{var o=k.slice(l,m),p=m>k.length?this.$RangedCallbackManager3:null;return[o,p]}};h.prototype.getElementsUntil=function(i){"use strict";var j=[];for(var k=0;k<this.$RangedCallbackManager1.length;k++){var l=this.$RangedCallbackManager7(this.$RangedCallbackManager1[k]);if(this.$RangedCallbackManager8(l,i)>0)break;j.push(this.$RangedCallbackManager1[k])}return j};f.exports=h}),null);
__d("once",[],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(j){var k=i(j);for(var l in j)if(Object.prototype.hasOwnProperty.call(j,l))k[l]=j[l];return k}function i(j){var k=j,l=void 0,m=function m(){if(k){for(var n=arguments.length,o=Array(n),p=0;p<n;p++)o[p]=arguments[p];l=k.apply(this,o);k=null}return l};return m}f.exports=h}),null);
__d("NotifTestIDs",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({REACT_BLUE_BAR_JEWEL:"react_blue_bar_jewel",NON_REACT_BLUE_BAR_JEWEL:"non_react_blue_bar_jewel",REACT_NOTIF_LIST:"react_notif_list",NOTIF_LIST_ITEM:"notif_list_item",SEE_ALL_LIST:"see_all_list",REACT_NOTIF_JEWEL_FLYOUT:"react_notif_jewel_flyout",NON_REACT_NOTIF_JEWEL_FLYOUT:"non_react_notif_jewel_flyout",CHEVRON:"chevron",REACT_MARK_ALL_AS_READ_LINK:"react_mark_all_as_read_link",NON_REACT_MARK_ALL_AS_READ_LINK:"non_react_mark_all_as_read_link",NOTIFICATION_SOUND_SETTING:"notifiation_sound_setting",NOTIFICATION_SOUND_SETTING_SELECTOR:"notifiation_sound_setting_selector",MESSAGE_SOUND_SETTING:"message_sound_setting",MESSAGE_SOUND_SETTING_SELECTOR:"message_sound_setting_selector",CLOSE_FRIEND_ACTIVITY_SELECTOR:"close_friend_activity_selector",BIRTHDAY_SELECTOR:"birthday_selector",ON_THIS_DAY_SELECTOR:"on_this_day_selector",TAGS_SELECTOR:"tags_selector",LIVE_VIDEO_SELECTOR:"live_video_selector",REACT_BADGE_COUNT_CONTAINER:"react_badge_count_container",NON_REACT_BADGE_COUNT_CONTAINER:"non_react_badge_count_container",BEEPER_LIST:"beeper_list",NON_REACT_SETTING_LINK:"non_react_setting_link",REACT_SETTING_LINK:"react_setting_link",GEOGRAPHIC_SUBSCRIPTION_SELECTOR:"geographic_subscription_selector"})}),null);
__d("XQuickPromotionSimpleLoggingController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/qp/action/log/",{qp_id:{type:"Int",required:true},qp_action:{type:"Enum",enumType:1},qp_instance_log_data:{type:"StringToStringMap",defaultValue:{}},qp_event:{type:"String"}})}),null);