if (self.CavalryLogger) { CavalryLogger.start_js(["5ItY9"]); } __d("BoostedActionStatsCategory",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({DAILY_BUDGET:"daily_budget",LIFETIME_BUDGET:"lifetime_budget",DURATION:"duration",LEAD:"lead",LIKE:"like",LINK_CLICK:"link_click",PAGE_VIEW:"page_view",REACH:"reach",RSVP:"rsvp",SPENT:"spent",STATUS:"ad_status",VIDEO_VIEW:"video_view",ENGAGEMENT:"engagement",LOCAL_ENGAGEMENT:"local_engagement",OFFSITE_CONVERSION:"offsite_conversion",OFFSITE_CONVERSION_FB_PIXEL_ADD_TO_CART:"offsite_conversion.fb_pixel_add_to_cart",OFFSITE_CONVERSION_FB_PIXEL_VIEW_CONTENT:"offsite_conversion.fb_pixel_view_content",OFFSITE_CONVERSION_FB_PIXEL_PURCHASE:"offsite_conversion.fb_pixel_purchase",ONSITE_CONVERSION_FLOW_COMPLETE:"onsite_conversion_flow_complete",ONSITE_CONVERSION_PURCHASE:"onsite_conversion_purchase",LOCAL_IMPRESSIONS:"local_impressions",UNIQUE_CLICK:"unique_click",CTA_GET_DIRECTIONS_CLICK:"cta_get_directions_click",CTA_CALL_NOW_CLICK:"cta_call_now_click",CTA_MESSAGE_PAGE_CLICK:"cta_message_page_click",CTA_MESSAGING_REPLY:"cta_messaging_reply",CTA_LEARN_MORE_CLICK:"cta_learn_more_click",CTA_SAVE_CLICK:"cta_save_click",CTA_MESSAGING_REPLY_THREADS:"cta_messaging_reply_threads",MULTIPLE_CTA_CLICK:"multiple_cta_click",INSTALLS:"installs",NO_OBJECTIVE:"no_objective",LEADGEN_OTHER:"actions:leadgen.other",POST_ENGAGEMENT:"actions:post_engagement",MOBILE_APP_INSTALL:"actions:mobile_app_install",APP_INSTALL:"actions:app_install",OMNI_PURCHASE:"actions:omni_purchase",ONSITE_CONVERSION_MESSAGING_REPLY:"actions:onsite_conversion.messaging_reply",VIDEO_3_SEC_VIEWS:"actions:video_view",ACTIONS_RSVP:"actions:rsvp",ACTIONS_LINK_CLICK:"actions:link_click",ACTIONS_LIKES:"actions:like",ACTIONS_PIXEL_PURCHASE:"actions:offsite_conversion.fb_pixel_purchase",ACTIONS_ONSITE_PURCHASES:"actions:onsite_conversion.purchase",ACTIONS_ADD_TO_CART:"actions:offsite_conversion.fb_pixel_add_to_cart",ACTIONS_MESSAGING_CONVERSATION:"actions:onsite_conversion.messaging_conversation_started_7d",ACTIONS_LANDING_PAGE:"actions:landing_page_view",ACTIONS_ONSITE_CONVERSION_FLOW_COMPLETE:"actions:onsite_conversion.flow_complete",ONSITE_CONVERSION_SERVICE_BOOKING_REQUEST:"actions:onsite_conversion.service_booking_request",VIDEO_2_SEC_WATCHED_ACTIONS:"video_continuous_2_sec_watched_actions",VIDEO_2_SEC_WATCHED_ACTIONS_VIDEO_VIEW:"video_continuous_2_sec_watched_actions:video_view",VIDEO_10_SEC_WATCHED_ACTIONS:"video_10_sec_watched_actions",VIDEO_10_SEC_WATCHED_ACTIONS_VIDEO_VIEW:"video_10_sec_watched_actions:video_view",VIDEO_THRUPLAY_WATCHED_ACTIONS_VIDEO_VIEW:"video_thruplay_watched_actions:video_view",VIDEO_THRUPLAY_WATCHED_ACTIONS:"video_thruplay_watched_actions",ESTIMATED_AD_RECALLERS:"estimated_ad_recallers",ACTIONS_RECEIVE_OFFER:"actions:receive_offer",ACTIONS_OFFSITE_CONVERSIONS_PIXEL_LEAD:"actions:offsite_conversion.fb_pixel_lead",ACTIONS_OFFSITE_CONVERSIONS_PIXEL_VIEW_CONTENT:"actions:offsite_conversion.fb_pixel_view_content",ACTIONS_OFFSITE_CONVERSIONS_INITIATE_CHECKOUT:"actions:offsite_conversion.fb_pixel_initiate_checkout",UNKNOWN:"unknown"})}),null); __d("AdsLWIInsightsStrings",["fbt","AdsInsightsMetricNames","BoostedActionStatsCategory","FBLogger","strictGetKeyByValue"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function h(a){a=b("strictGetKeyByValue")(b("BoostedActionStatsCategory"),a);return a!=null?b("BoostedActionStatsCategory")[a]:null}function a(a){if(a===null)return g._("Results");else if(a==="reach")return g._("People Reached");a=i(a);return b("AdsInsightsMetricNames")[a]}function i(a){var b=h(a);switch(b){case"video_continuous_2_sec_watched_actions":return"video_continuous_2_sec_watched_actions:video_view";case"video_10_sec_watched_actions":return"video_10_sec_watched_actions:video_view";case"video_thruplay_watched_actions":return"video_thruplay_watched_actions:video_view";default:break}return a}function c(a,c){__p&&__p();var d=h(c);switch(a){case 14:return g._("Cost per Post Engagement");case 8:return g._("Cost per Page Like");case 39:switch(d){case"actions:onsite_conversion.messaging_reply":return g._("Cost Per Messaging Reply");case"actions:onsite_conversion.messaging_conversation_started_7d":return g._("Cost Per Messaging Conversation Started");default:break}break;case 31:return g._("Cost per Lead (Form)");case 26:case 36:return g._("Cost per 1,000 impressions");case 12:return g._("Cost per Event Response");case 15:switch(d){case"actions:onsite_conversion.purchase":case"actions:omni_purchase":return g._("Cost per Purchase");case"actions:offsite_conversion.fb_pixel_purchase":case"offsite_conversion.fb_pixel_purchase":return g._("Cost per Website Purchase");case"offsite_conversion.fb_pixel_add_to_cart":return g._("Cost per Add to Cart");case"offsite_conversion.fb_pixel_view_content":return g._("Cost per View Content");case"actions:onsite_conversion.flow_complete":return g._("Cost per On-Facebook Workflow Completion");default:break}break;case 19:return g._("Cost per Link Click");case 24:d=i(c);switch(d){case"video_continuous_2_sec_watched_actions:video_view":return g._("Cost per 2-Second Continuous Video View");case"video_10_sec_watched_actions:video_view":return g._("Cost per 10-Second Video View");case"video_thruplay_watched_actions:video_view":default:return g._("Cost per ThruPlay")}case 17:return g._("Cost per Mobile App Install");case 37:return g._("Cost per Desktop App Install");default:break}b("FBLogger")("boosted_component").warn("No cost per result label shown for objective: %s and conversion type: %s",a,c);return null}e.exports={getCostPerResultLabel:c,getPerformanceIndicatorName:a}}),null); __d("InfiniteScrollArea.react",["React","ScrollableArea.react"],(function(a,b,c,d,e,f){__p&&__p();a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;fa.x};c.hasPointMovedVertically=function(a){var c=b("Vector").getElementPosition(this.dom);return c.y<=a.y&&this.dom.offsetHeight+c.y>a.y};c.hasPointMovedInside=function(a){return this.hasPointMovedHorizontally(a)&&this.hasPointMovedVertically(a)};c.setDragOverHandler=function(a){this.ondragover=a;return this};c.setDragOutHandler=function(a){this.ondragout=a;return this};c.setDragOverVectically=function(){this.isDraggedOver=a.prototype.hasPointMovedVertically;return this};c.setDragOverHorizontally=function(){this.isDraggedOver=a.prototype.hasPointMovedHorizontally;return this};c.setDragMoveHandler=function(a){this.ondragmove=a;return this};c.setDropHandler=function(a){this.ondrop=a;return this};return a}();a.prototype.zIndex=0;a.prototype.isDraggedOver=a.prototype.hasPointMovedInside;a.prototype.ondragover=b("emptyFunction");a.prototype.ondragout=b("emptyFunction");a.prototype.ondragmove=b("emptyFunction");a.prototype.ondrop=b("emptyFunction");a.prototype.getDOM=b("Draggable").prototype.getDOM;a.prototype.setKey=b("Draggable").prototype.setKey;a.prototype.getKey=b("Draggable").prototype.getKey;e.exports=a}),null); __d("SortableGroup",["Arbiter","CSS","DOM","Draggable","Droppable","Style","Vector","emptyFunction","removeFromArray"],(function(a,b,c,d,e,f){__p&&__p();c=function(){"use strict";__p&&__p();function a(){this.namespace="sortable"+ ++a.instanceCount,this.draggables={},this.droppables={},this.sortables={},this.linkedGroups=[],this.linkedGroups.onbeforelinkjump=b("emptyFunction"),this.linkedGroups.onlinkjump=b("emptyFunction"),this.rootNode=null,this.boundingBox=null,this.neverEmpty=!1,this.hasEmptyMessage=!1,this.isDroppable=!0,this.isDraggable=!0,this.useScroller=!0,this.dragOverCriteria="inside",this.requireSameParent=!0,this.previousIndexList=[],this.anchor=null,this.disabled=!1,this.autoWidth=!1,this.placeholderWidth=!1,this.placeholderHeight=!1}var c=a.prototype;c.addEmptyMessage=function(a,c){var d="placeholder";a.parentNode!=c&&b("DOM").appendContent(c,a);this.emptyMessage=a;this._initializeAdded(d,a);this.hasEmptyMessage=!0;this.sortables[d]=a;this.droppables[d]=new(b("Droppable"))(a).setNamespace(this.namespace).setDragOverHandler(this._dragOverHandlerShim.bind(this,d));return this};c.setAutoWidth=function(a){this.autoWidth=a;return this};c.setPlaceholderWidth=function(a){this.placeholderWidth=a;return this};c.setPlaceholderHeight=function(a){this.placeholderHeight=a;return this};c.setUseScroller=function(a){this.useScroller=a;return this};c.setDragOverHorizontally=function(){this.dragOverCriteria="horizontal";return this};c.setDragOverVertically=function(){this.dragOverCriteria="vertical";return this};c.removeEmptyMessage=function(){this.emptyMessage&&b("DOM").remove(this.emptyMessage);this.hasEmptyMessage=!1;this.removeSortable("placeholder");return this};c.addSortable=function(a,c,d,e){this._initializeAdded(a,c);this.sortables[a]=c;this.draggables[a]=new(b("Draggable"))(c).setNamespace(this.namespace).setGutter(this.gutter).setUseAbsolute(!0).setUseScroller(this.useScroller).setGrabHandler(this.grabHandler.bind(this,a)).setDropHandler(this.dropHandler.bind(this,a,e)).setKey("key",a).setBoundingBox(this.boundingBox);d&&this.draggables[a].addHandle(d);this.droppables[a]=new(b("Droppable"))(c).setNamespace(this.namespace).setDragOverHandler(this._dragOverHandlerShim.bind(this,a));this.dragOverCriteria==="horizontal"?this.droppables[a].setDragOverHorizontally():this.dragOverCriteria==="vertical"&&this.droppables[a].setDragOverVectically();return this};c.destroy=function(){for(var a in this.droppables)this.droppables[a].destroy();for(var c in this.draggables)this.draggables[c].destroy();this.droppables=this.draggables=this.rootNode=null;b("removeFromArray")(this.linkedGroups,this);for(var d=0;d0)return;c=b("XPageCalloutAsyncController").getURIBuilder().setInt("pageid",c.pageID).setIntVector("tip_ids",Object.keys(c.eligible)).getURI();new(b("AsyncRequest"))().setHandler(function(b){a._showCalloutAndLog(b.payload)}).setURI(c).send()},_showCalloutAndLog:function(a){__p&&__p();if(!a)return;var c=b("PagesCalloutStore").getState().eligible[a];if(!c)return;var d=c.showCallback;if(!d)return;var e=b("PagesCalloutStore").getState();if(e.showing.length>0)return;d.apply();b("AYMTClientSideLogging").logImpression(a,e.channelID);c.nux_id&&b("BasicFBNux").onView(c.nux_id)},_showCalloutAndListenToClose:function(a,c,d){var e=this;c.isShown()||(c.show(),b("PagesCalloutDispatcher").dispatch({type:"show_callout",data:{tip_id:a}}),c.subscribe("hide",function(){b("PagesCalloutDispatcher").dispatch({type:"dismiss_callout",data:{tip_id:a}}),e.logXout(a)}))}};e.exports=a}),null); __d("FBCarouselArrow.react",["ix","cx","xuiglyph","CenteredContainer.react","Image.react","Locale","React","cxMargin","joinClasses"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();a=b("React").PropTypes;c=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c,d;for(var e=arguments.length,f=new Array(e),h=0;h