if (self.CavalryLogger) { CavalryLogger.start_js(["DfGLI"]); } __d("PagesLoggerEventEnum",[],(function a(b,c,d,e,f,g){f.exports={CLICK:"click",CREATE:"create",DELETE:"delete",DRAG:"drag",HOVER:"hover",IMPRESSION:"impression",RECEIVE_REQUEST:"receive_request",RECEIVE_RESPONSE:"receive_response",SCROLL:"scroll",SEND_REQUEST:"send_request",SEND_RESPONSE:"send_response",UPDATE:"update"}}),null); __d("PagesLoggerEventTargetEnum",[],(function a(b,c,d,e,f,g){f.exports={ABOUT_TAB:"about_tab",ADMIN_JOURNEY_CARD:"admin_journey_card",ADMIN_TAB:"admin_tab",ADS_CTA:"ads_cta",COMMENT_MESSAGE_BUTTON:"comment_message_button",CONFIRM_APPLY_PAGE_TEMPLATE_BUTTON:"confirm_apply_page_template_button",EDIT_PAGE_TEMPLATE_ROW:"edit_page_template_row",FAN_INVITE_EMAIL:"fan_invite_email",FAQ_TAB:"faq_tab",FEED_CTA:"feed_cta",FEED_PAGE_ATTACHMENT:"feed_page_attachment",FEED_PAGE_COMMENT_ATTACHMENT:"feed_page_comment_attachment",FOLLOW_UP_MESSAGE:"follow_up_message",FOOD_DRINK_COMPOSER_INTERCEPT:"food_drink_composer_intercept",MESSAGE_FANTA_TAB_CLOSE:"message_fanta_tab_close",MESSENGER_ABOUT_BUTTON:"messenger_about_button",MESSENGER_ATTACHMENT:"messenger_attachment",MESSENGER_ONE_CLICK_MESSAGE_BUTTON:"messenger_one_click_message_button",MESSENGER_ONE_CLICK_MESSAGE_SETTING:"messenger_one_click_message_setting",MESSENGER_PAGE_NOTIFICATION_TOGGLE:"messenger_page_notification_toggle",MESSENGER_PAGE_PROFILE_SHARE_BUTTON:"messenger_page_profile_share_button",MESSENGER_URL_BUTTON:"messenger_url_button",MORE_BUTTON:"more_button",MSITE_MESSAGE_BUBBLE:"msite_message_bubble",MSITE_SERVICES_THREAD_INTENT_CTA:"msite_services_thread_intent_cta",NEW_ACTION_PROMOTION:"new_action_promotion",ORDERS_HELP:"orders_help",PAGE_ADD_CHILD_LOCATION:"page_add_child_location",PAGE_CHECKIN:"page_checkin",PAGE_COPY_LINK:"page_copy_link",PAGE_COVER_CTA_BUTTON:"page_cover_cta_button",PAGE_COVER_DESCRIPTION:"page_cover_description",PAGE_COVER_SLIDESHOW:"page_cover_slideshow",PAGE_EMAIL:"page_email",PAGE_EVENT:"page_event",PAGE_FOLLOW:"page_follow",PAGE_FOLLOW_MENU:"page_follow_menu",PAGE_GET_DIRECTIONS:"page_get_directions",PAGE_GROUP:"page_group",PAGE_HOME_CARD:"page_home_card",PAGE_INSTAGRAM_BUSINESS:"page_instagram_business",PAGE_LAUNCHPAD:"page_launchpad",PAGE_LAUNCHPAD_MORE_DRAWER:"page_launchpad_more_drawer",PAGE_LIKE:"page_like",PAGE_LOCATIONS_CARD:"page_locations_card",PAGE_LOCATIONS_MAP:"page_locations_map",PAGE_MAP:"page_map",PAGE_MENU:"page_menu",PAGE_MESSAGE:"page_message",PAGE_MESSAGE_PROMPT:"page_message_prompt",PAGE_NOTES_CARD:"page_notes_card",PAGE_NOTES_TAB:"page_notes_tab",PAGE_OFFER:"page_offer",PAGE_PHONE:"page_phone",PAGE_PHOTO:"page_photo",PAGE_PHOTOS_CARD:"page_photos_card",PAGE_PROFILE:"page_profile",PAGE_PROFILE_TAB_ORDER:"page_profile_tab_order",PAGE_PROMOTIONS_TAB:"page_promotions_tab",PAGE_REQUEST_TIME_BOOST:"page_request_time_boost",PAGE_REVIEW:"page_review",PAGE_SAVE:"page_save",PAGE_SCRAPED_HOTEL:"page_scraped_hotel",PAGE_SERVICES:"page_services",PAGE_SETTINGS:"page_settings",PAGE_STORY:"page_story",PAGE_STORY_CREATE:"page_story_create",PAGE_STORY_DELETE:"page_story_delete",PAGE_STORY_FINISH_DRAFT:"page_story_finish_draft",PAGE_STORY_PUBLISH:"page_story_publish",PAGE_STORY_SAVE_DRAFT:"page_story_save_draft",PAGE_TAB_BAR:"page_tab_bar",PAGE_TEMPLATE:"page_template",PAGE_TEMPLATE_ALARM_CLOCK:"page_template_alarm_clock",PAGE_TEMPLATE_NUX_TOUR:"page_template_nux_tour",PAGE_THIS_WEEK_CARD:"page_this_week_card",PAGE_UNLIKE:"page_unlike",PAGE_UNSAVE:"page_unsave",PAGE_UPDATE_CARD:"page_update_card",PAGE_VENUE_EVENT_ABOUT:"page_venue_event_about",PAGE_VIDEOS_CARD:"page_videos_card",PAGE_WEBSITE:"page_website",PAGE_WHATSAPP:"page_whatsapp",PAGES_COVER_VIDEO:"pages_cover_video",PAGES_PRIMARY_CTA_BUTTON:"pages_primary_cta_button",PMA_CONTEXT_ROWS:"pma_context_rows",PMA_RESPONSIVENESS_TIPS_CARD:"pma_responsiveness_tips_card",PMA_TAB:"pma_tab",SEARCH_CTAS:"search_ctas",SEARCH_QUALIFIER_TAB_LINK:"search_qualifier_tab_link",SEARCH_SUGGESTION:"search_suggestion",SEARCH_SUGGESTION_SEE_MORE:"search_suggestion_see_more",SERVICES_APPOINTMENT_INTERSTITIAL:"services_appointment_interstitial",SERVICES_COMPOSER_INTERCEPT:"services_composer_intercept",SERVICES_MESSENGER_MARK_READ_UNREAD:"services_messenger_mark_read_unread",SHOP_TAB:"shop_tab",UNIFIED_INBOX:"unified_inbox",VIEW_ADMIN_LAUNCHPOINT:"view_admin_launchpoint"}}),null); __d("MenuStaticItem.react",["MenuStaticItem"],(function a(b,c,d,e,f,g){function h(j){j.isReactLegacyFactory={};j.type=j}var i=c("MenuStaticItem");h(i);f.exports=i}),null); __d("XUIMenuStaticItem.react",["MenuStaticItem.react"],(function a(b,c,d,e,f,g){var h=c("MenuStaticItem.react");f.exports=h}),null); __d("PagesTypedLogger",["Banzai","GeneratedLoggerUtils","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(){this.clear()}h.prototype.log=function(){c("GeneratedLoggerUtils").log("logger:PagesLoggerConfig",this.$PagesTypedLogger1,c("Banzai").BASIC)};h.prototype.logVital=function(){c("GeneratedLoggerUtils").log("logger:PagesLoggerConfig",this.$PagesTypedLogger1,c("Banzai").VITAL)};h.prototype.clear=function(){this.$PagesTypedLogger1={};return this};h.prototype.updateData=function(j){this.$PagesTypedLogger1=babelHelpers["extends"]({},this.$PagesTypedLogger1,j);return this};h.prototype.setConnectionClass=function(j){this.$PagesTypedLogger1.connection_class=j;return this};h.prototype.setEvent=function(j){this.$PagesTypedLogger1.event=j;return this};h.prototype.setEventLocation=function(j){this.$PagesTypedLogger1.event_location=j;return this};h.prototype.setEventTarget=function(j){this.$PagesTypedLogger1.event_target=j;return this};h.prototype.setLogSource=function(j){this.$PagesTypedLogger1.log_source=j;return this};h.prototype.setPageID=function(j){this.$PagesTypedLogger1.page_id=j;return this};h.prototype.setSessionid=function(j){this.$PagesTypedLogger1.sessionid=j;return this};h.prototype.setTags=function(j){this.$PagesTypedLogger1.tags=c("GeneratedLoggerUtils").serializeVector(j);return this};h.prototype.updateExtraData=function(j){j=c("nullthrows")(c("GeneratedLoggerUtils").serializeMap(j));c("GeneratedLoggerUtils").checkExtraDataFieldNames(j,i);this.$PagesTypedLogger1=babelHelpers["extends"]({},this.$PagesTypedLogger1,j);return this};h.prototype.addToExtraData=function(j,k){var l={};l[j]=k;return this.updateExtraData(l)};var i={connection_class:true,event:true,event_location:true,event_target:true,log_source:true,page_id:true,sessionid:true,tags:true};f.exports=h}),null); __d("ChatTabViewEvents",["Arbiter"],(function a(b,c,d,e,f,g){"use strict";f.exports=new(c("Arbiter"))()}),null); __d("XPagesPresenceController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/pages/presence/",{})}),null); __d("PagePresencePoller",["ActorURI","AsyncRequest","UserActivity","XPagesPresenceController"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=9e4,i=0,j=function j(l){i=Date.now();var m=c("XPagesPresenceController").getURIBuilder().getURI(),n=c("ActorURI").create(m,l);new(c("AsyncRequest"))().setURI(n).send()},k={init:function l(m){c("UserActivity").subscribe(function(){if(Date.now()-i>h)j(m)});setInterval(function(){if(c("UserActivity").isActive())j(m)},h)}};f.exports=k}),null); __d("PageTimelineChainingTypeConstants",[],(function a(b,c,d,e,f,g){f.exports={FANNING:"fanning",FOLLOW:"follow",SHOW_FOLLOW:"show_follow"}}),null); __d("PagesLikeFollowNotifActions",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({INIT_DATA:"init_data",LIKE:"like",UNLIKE:"unlike",FOLLOW_CHANGED:"follow_changed",SNOOZE_CHANGED:"snooze_changed",NOTIF_CHANGE:"notif_change",NOTIF_ALL_ON:"notif_all_on",NOTIF_ALL_OFF:"notif_all_off",NEWS_FEED_CHANGE:"news_feed_change"})}),null); __d("PagesLikeFollowNotifDispatcher",["Arbiter","ExplicitRegistrationReactDispatcher","PageLikeConstants","PagesLikeFollowNotifActions","SubscriptionsHandler"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("ExplicitRegistrationReactDispatcher"));i=h&&h.prototype;function j(k){i.constructor.call(this,k);var l=new(c("SubscriptionsHandler"))();l.addSubscriptions(c("Arbiter").subscribe(c("PageLikeConstants").LIKED,function(m,n){return this.dispatchLike(n.profile_id)}.bind(this)),c("Arbiter").subscribe(c("PageLikeConstants").UNLIKED,function(m,n){return this.dispatchUnlike(n.profile_id)}.bind(this)))}j.prototype.dispatchLike=function(k){this.dispatch({type:c("PagesLikeFollowNotifActions").LIKE,data:{pageID:k,likeStatus:true}})};j.prototype.dispatchUnlike=function(k){this.dispatch({type:c("PagesLikeFollowNotifActions").UNLIKE,data:{pageID:k,likeStatus:false}})};f.exports=new j({strict:true})}),null); __d("PagesFollowStore",["FluxReduceStore","PagesLikeFollowNotifActions","PagesLikeFollowNotifDispatcher"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("FluxReduceStore"));i=h&&h.prototype;j.prototype.getInitialState=function(){return{}};j.prototype.reduce=function(k,l){var m=babelHelpers["extends"]({},k);switch(l.type){case c("PagesLikeFollowNotifActions").INIT_DATA:if(l.data.pageID in k)return k;m[l.data.pageID]=l.data.followStatus;return m;case c("PagesLikeFollowNotifActions").FOLLOW_CHANGED:m[l.data.pageID]=l.data.followStatus;return m}return k};function j(){h.apply(this,arguments)}f.exports=new j(c("PagesLikeFollowNotifDispatcher"))}),null); __d("PagesTimelineChaining",["Arbiter","Banzai","ChatTabViewEvents","CSS","Event","PageLikeConstants","PagesFollowStore","PageTimelineChainingTypeConstants","Run","Style","SubscriptionsHandler","UIPagelet"],(function a(b,c,d,e,f,g){__p&&__p();var h=0,i={_recentlyLikedPageIDs:{},_recentlyMessagedPageIDs:{},container:null,_subscriptions:[],_chatSubscriptions:[],_followSubscription:null,_isFollow:false,_shouldShowRelatedPagesOnBounce:false,init:function j(k,l){__p&&__p();this.container=k;this._followSubscription=new(c("SubscriptionsHandler"))();this._isFollow=l.isFollow;this._shouldShowRelatedPagesOnBounce=l.shouldShowRelatedPagesOnBounce;c("Run").onLeave(function(){return this._unsubscribe()}.bind(this));if(!this._showChainSuggestions(l.pageID,false)){this._subscriptions=[c("Arbiter").subscribe(c("PageLikeConstants").LIKED,this.onLike.bind(this,l.pageID))];if(l.canFollow)this._followSubscription.addSubscriptions(c("PagesFollowStore").addListener(function(){var m=c("PagesFollowStore").getState();if(!(l.pageID in m))return;if(m[l.pageID]&&!this._isFollow)this._onFollow(l.pageID);this._isFollow=m[l.pageID]}.bind(this)));if(l.enableLikeCheckup)this._subscriptions.push(c("Arbiter").subscribe(c("PageLikeConstants").UNLIKED,this.onUnlike.bind(this)));if(l.onMessageEnabled)this._chatSubscriptions.push(c("ChatTabViewEvents").subscribe("chat-send-to-page",this.onMessage.bind(this,l.pageID)));if(l.shouldShowRelatedPagesOnBounce)window.addEventListener("scroll",this.onScroll.bind(this,l.pageID),false)}},onScroll:function j(k){if(document.documentElement){var l=window.pageYOffset||document.documentElement.scrollTop;if(l<=h){this._showChainSuggestions(k,true);this._unsubscribe()}h=l}},onLike:function j(k,l,m){if(m.profile_id===k&&m.target){this._recentlyLikedPageIDs[k]=true;this._showChainSuggestions(k,false);this._unsubscribe()}},_onFollow:function j(k){this._showChainFollowSuggestions(k);this._unsubscribe()},onMessage:function j(k,l,m){if(m&&m.pageID===k){this._recentlyMessagedPageIDs[k]=true;this._showMessageSuggestions(k);this._unsubscribe()}},onUnlike:function j(k,l){c("UIPagelet").loadFromEndpoint("PagesLikeCheckupPagelet",this.container,{},{displayCallback:this.displayCallback.bind(this)});this._unsubscribe()},displayCallback:function j(k){if(k)k();var l=this.container.firstChild;if(l)c("Style").set(this.container,"height",l.offsetHeight+"px")},_showChainSuggestions:function j(k,l){if(!(k in this._recentlyLikedPageIDs)&&!(this._shouldShowRelatedPagesOnBounce&&l))return false;var m=c("PageTimelineChainingTypeConstants").FANNING;c("UIPagelet").loadFromEndpoint("PagesTimelineChainingPagelet",this.container,{pageID:k,type:m},{displayCallback:this.displayCallback.bind(this)});return true},_showChainFollowSuggestions:function j(k){var l=c("PageTimelineChainingTypeConstants").FOLLOW;c("UIPagelet").loadFromEndpoint("PagesTimelineChainingPagelet",this.container,{pageID:k,type:l},{displayCallback:this.displayCallback.bind(this)});return true},_showMessageSuggestions:function j(k){if(!(k in this._recentlyMessagedPageIDs))return false;c("UIPagelet").loadFromEndpoint("PagesMessageChainingPagelet",this.container,{pageID:k},{displayCallback:this.displayCallback.bind(this)});return true},dismissCallback:function j(k,l,m){c("CSS").hide(this.container);delete this._recentlyLikedPageIDs[l];this._unsubscribe();if(m==="friend_inviter_chaining"){var n="pages_growth_general_analytical_logger",o={id:l,event:"dismiss_carousel",event_target:"friend_inviter_chaining",feature_name:"friend_inviter_chaining_investigate"};c("Banzai").post(n,o)}},attachDismissCallback:function j(k,l,m,n){c("Event").listen(k,"click",this.dismissCallback.bind(this,l,m,n))},_unsubscribe:function j(){__p&&__p();if(this._subscriptions.length){this._subscriptions.forEach(function(k){return c("Arbiter").unsubscribe(k)});this._subscriptions=[]}if(this._chatSubscriptions.length){this._chatSubscriptions.forEach(function(k){return c("ChatTabViewEvents").unsubscribe(k)});this._chatSubscriptions=[]}this._followSubscription&&this._followSubscription.release()}};f.exports=i}),null); __d("XPageNuxSelectorAsyncController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/pages/nux_selector/",{page_id:{type:"FBID",required:true},nux_ids:{type:"EnumVector",required:true,enumType:{member:0}},surface:{type:"Enum",required:true,enumType:1}})}),null); __d("PagesNuxFrameworkHelper",["AsyncRequest","BasicFBNux","ContextualDialog","Run","XPageNuxSelectorAsyncController"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={},i={},j=null,k=null;function l(){return j}function m(v){j=v}function n(){return k}function o(v){k=v}function p(v,w,x,y,z){if(!h[w])h[w]={};h[w][v]={showCallback:x,isReadyForRender:y,contextRef:z}}function q(){return h}function r(v,w,x){if(!h[w]||!h[w][v])return;h[w][v].isReadyForRender=x}function s(v,w){i[v]=w}function t(){return i}var u={_initSurface:function v(j,w){o(w);m(j)},_showNux:function v(w,x){var k=n();if(!k)return;if(!w.isShown()){w.show();w.subscribe("hide",function(){u.closeNux(x,k)})}},_setNuxActive:function v(w){__p&&__p();if(!w)return;var k=n();if(!k)return;var x=q()[k][w];if(!x.isReadyForRender&&x.contextRef){x.contextRef.addEventListener("show",function(){if(w){x.showCallback&&x.showCallback();c("BasicFBNux").onView(w)}});s(k,w);return}x.showCallback.apply();c("BasicFBNux").onView(w);s(k,w)},_pickAndShowNux:function v(){__p&&__p();var k=n();if(!k)return;var h=q()[k];if(!h)return;var i=t()[k];if(i){if(h[i].isReadyForRender===false)r(i,k,true);u._setNuxActive(i);return}var w=c("XPageNuxSelectorAsyncController").getURIBuilder().setFBID("page_id",l()).setEnumVector("nux_ids",Object.keys(h)).setEnum("surface",k).getURI();new(c("AsyncRequest"))().setHandler(function(x){u._setNuxActive(x.payload)}).setURI(w).send()},registerNux:function v(w,x,y,z,A){p(w,x,y,z?z:true,A)},closeNux:function v(w,x){s(x,null);c("BasicFBNux").onDismiss(w)},registerNuxFromServer:function v(w,x,y){var z=function z(){return u._showNux(w,x)};u.registerNux(x,y,z)},showNuxAfterLoading:function v(j,w){u._initSurface(j,w);c("Run").onAfterLoad(function(){return u._pickAndShowNux()})},RegisterNuxWithDependency:function v(w,x,y,z){var A=function A(){return u._showNux(w,x)};u.registerNux(x,y,A,false,z)},showNuxAferComponentLoading:function v(w){var k=n();if(!k||k!==w)return;var i=t();if(i[w])return;this._pickAndShowNux()}};f.exports=u}),null); __d("EntityPageSubNavigationLogger",["cx","Arbiter","Event","Parent","SubscriptionsHandler","XUISubNavigationLoader"],(function a(b,c,d,e,f,g,h){__p&&__p();var i="_2yaa",j=void 0,k=null,l={subscribe:function m(event,n,o){if(!j)j=new(c("Arbiter"))();return j.subscribe(event,n,o)},register:function m(n){__p&&__p();if(!k){k=new(c("SubscriptionsHandler"))();k.addSubscriptions(c("XUISubNavigationLoader").onLeave(function(){k&&k.release();k=null}))}k.addSubscriptions(c("Event").listen(n,"click",function(event){var o=event.target;if(o instanceof Node){var p=c("Parent").byClass(o,i);if(p)j&&j.inform("click",p.getAttribute("data-key"))}}))}};f.exports=l}),null); __d("PagesLogger",["PagesLoggerEventEnum","PagesTypedLogger"],(function a(b,c,d,e,f,g){__p&&__p();var h="extra_data_",i={log:function j(k,event,l){var m=arguments.length<=3||arguments[3]===undefined?null:arguments[3],n=arguments.length<=4||arguments[4]===undefined?[]:arguments[4],o=arguments[5],p=o||{};Object.keys(p).forEach(function(q){var r=p[q];if(r instanceof Array||r instanceof Object)r=JSON.stringify(r);p[h+q]=r;delete p[q]});new(c("PagesTypedLogger"))().setPageID(k).setEvent(event).setEventTarget(l).setEventLocation(m).setLogSource("pages_logger").setTags(n).updateExtraData(p).log()},registerLogOnClick:function j(k,l,m){var n=arguments.length<=3||arguments[3]===undefined?null:arguments[3],o=arguments.length<=4||arguments[4]===undefined?[]:arguments[4],p=arguments.length<=5||arguments[5]===undefined?{}:arguments[5];k.addEventListener("click",function(){this.log(l,c("PagesLoggerEventEnum").CLICK,m,n,o,p)}.bind(this))}};f.exports=i}),null); __d("PagesProfileSidebarLogger",["EntityPageSubNavigationLogger","PagesLogger","PagesLoggerEventEnum","PagesLoggerEventTargetEnum","SubscriptionsHandler","XUISubNavigationLoader"],(function a(b,c,d,e,f,g){__p&&__p();var h=null,i={register:function j(k){if(!h){h=new(c("SubscriptionsHandler"))();h.addSubscriptions(c("XUISubNavigationLoader").onLeave(function(){h&&h.release();h=null}))}h.addSubscriptions(c("EntityPageSubNavigationLogger").subscribe("click",function(event,l){var m=l.indexOf("tab_custom_")!==-1?{tab:"tab_custom",app_id:l.replace("tab_custom_","")}:{tab:l};c("PagesLogger").log(k,c("PagesLoggerEventEnum").CLICK,c("PagesLoggerEventTargetEnum").PAGE_TAB_BAR,null,[],m)}))}};f.exports=i}),null); __d("XUISubNavigationItemsAndNavigationShortcutsHighlighting",["cx","Event","DOM","CSS","throttle","ge"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i="_2yaa",j="_2yau",k="_2yap",l="_8ue",m="_4t7n",n="data-endpoint";o.init=function(p){return new o(p)};function o(p){var q=[];for(var r=0;r