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

__d("AdImageSpecCropKeys",[],(function a(b,c,d,e,f,g){f.exports={NO_CROP:"NO_CROP","191x100":"191x100","100x72":"100x72","110x80":"110x80","400x150":"400x150","600x360":"600x360","254x94":"254x94","254x133":"254x133","254x143":"254x143","284x149":"284x149","398x208":"398x208","125x90":"125x90","320x50":"320x50","100x100":"100x100","600x600":"600x600","400x500":"400x500","90x160":"90x160"}}),null);
__d("AdsCFImageTypes",[],(function a(b,c,d,e,f,g){f.exports={"image/bmp":"image/bmp","image/x-ms-bmp":"image/x-ms-bmp","image/gif":"image/gif","image/iff":"image/iff","image/jpeg":"image/jpeg","image/jp2":"image/jp2","image/pjpeg":"image/pjpeg","image/png":"image/png","image/x-png":"image/x-png","image/psd":"image/psd","image/tiff":"image/tiff","image/vnd.wap.wbmp":"image/vnd.wap.wbmp","image/x-xbitmap":"image/x-xbitmap"}}),null);
__d("AdsInstagramMediaSpecs",[],(function a(b,c,d,e,f,g){f.exports={ASPECT_RATIO_TOLERANCE:.01,MIN_MEDIA_WIDTH:500,MIN_MEDIA_WIDTH_LOW_RES:500,MAX_STORY_ASPECT_RATIO:.5625,MIN_STORY_MEDIA_HEIGHT:889,MIN_STORY_MEDIA_HEIGHT_LOW_RES:889,MAX_STORY_VIDEO_DURATION_IN_SEC:15,MIN_STREAM_ASPECT_RATIO:.8,MAX_STREAM_ASPECT_RATIO:1.91,MIN_STREAM_MEDIA_HEIGHT:262,MIN_STREAM_MEDIA_HEIGHT_LOW_RES:262,MAX_STREAM_VIDEO_DURATION_IN_SEC:60}}),null);
__d("AdsPixelEventNames",[],(function a(b,c,d,e,f,g){f.exports={VIEW_CONTENT:"ViewContent",SEARCH:"Search",ADD_TO_CART:"AddToCart",ADD_TO_WISHLIST:"AddToWishlist",INITIATE_CHECKOUT:"InitiateCheckout",ADD_PAYMENT_INFO:"AddPaymentInfo",PURCHASE:"Purchase",LEAD:"Lead",COMPLETE_REGISTRATION:"CompleteRegistration",CUSTOM_CONVERSION:"CustomConversion",AGGREGATE_CUSTOM_CONVERSION:"AggregateCustomConversion",OTHER:"Other",PAGE_VIEW:"PageView",CUSTOM_EVENT:"CustomEvent",SUBSCRIBED_BUTTON_CLICK:"SubscribedButtonClick",MICRODATA:"Microdata"}}),null);
__d("BoostedComponentAppID",[],(function a(b,c,d,e,f,g){f.exports={BOOSTED_APP_INSTALL:"1854988081404917",BOOSTED_APP_INSTALL_MOBILE:"1138508619600258",BOOSTED_AUTOMATED_ADS:"212024805822989",BOOSTED_AUTOMATED_ADS_MOBILE:"848078152025489",BOOSTED_CCTA:"1458876464372956",BOOSTED_CCTA_MOBILE:"457271257782595",BOOSTED_DYNAMIC_PRODUCTS:"1538693329793182",BOOSTED_DYNAMIC_PRODUCTS_MOBILE:"1714603125482217",BOOSTED_EVENT:"820618717973249",BOOSTED_EVENT_MOBILE:"1125848774099301",BOOSTED_GROUP:"1929916263901684",BOOSTED_GROUP_MOBILE:"386774818388094",BOOSTED_INSTAGRAM_MEDIA:"1754980011403190",BOOSTED_INSTAGRAM_MEDIA_MOBILE:"871306629649317",BOOSTED_JOB_POST:"389603641419842",BOOSTED_JOB_POST_MOBILE:"1802984630024280",BOOSTED_LEAD_GEN:"714972465352747",BOOSTED_LEAD_GEN_MOBILE:"1295470197216741",BOOSTED_LOCAL_AWARENESS:"816624838417560",BOOSTED_LOCAL_AWARENESS_MOBILE:"832588546789224",BOOSTED_PAGE:"1146105192114219",BOOSTED_PAGE_MOBILE:"1659139844398915",BOOSTED_PAGELIKE:"317954918290638",BOOSTED_PAGELIKE_MOBILE:"566331623413113",BOOSTED_POST:"205000946197077",BOOSTED_POST_MOBILE:"302649456508105",BOOSTED_PRODUCT:"663080140459190",BOOSTED_PRODUCT_MOBILE:"1640411289574678",BOOSTED_PRODUCT_SET:"1722218301350158",BOOSTED_WEBSITE:"543312395742355",BOOSTED_WEBSITE_MOBILE:"757371790995289"}}),null);
__d("BusinessObjectConstantNames",[],(function a(b,c,d,e,f,g){f.exports={ASSET_TYPE:{PAGE:"page",AD_ACCOUNT:"ad-account",PRODUCT_CATALOG:"product-catalog",APP:"app",PIXEL:"pixel",SYSTEM_USER:"system-user",BRAND:"brand",USER:"user",PROJECT:"project",INSTAGRAM_ACCOUNT:"instagram-account",ATLAS_ADVERTISER:"atlas-advertiser",FUNDING_SOURCE:"funding-source",LEGACY_LOGIN:"legacy-login",BUSINESS_REQUEST:"business_request",EXAMPLE_CAT:"example-cat",MONETIZATION_PROPERTY:"monetization-property",GRP_PLAN:"grp-plan",PERSONA:"persona",CREDIT_PARTITION:"credit-partition",PAYOUT_ACCOUNT:"payout-method",AD_STUDY:"ad-study",SAVED_AUDIENCE:"saved-audience",CUSTOM_AUDIENCE:"shared-audience",PLATFORM_CUSTOM_AUDIENCE:"shared-platform-audience",EVENT_SOURCE_GROUP:"event-source-group",OFFLINE_CONVERSION_DATA_SET:"offline-event-set",AD_IMAGE:"ad-image",PHOTO:"photo",BLOCK_LIST:"block-list",FINANCE:"finance",IP:"ip",CREDIT_PARTITION_CONFIG:"credit-partition-config",VIDEO_ASSET:"video-asset",BUSINESS_UNIT:"business-unit",PAGE_FOR_LOCATIONS:"page-locations",AD_ACCOUNT_CREATION_REQUEST:"ad-account-creation-request",REGISTERED_TRADEMARK:"registered-trademark",CUSTOM_CONVERSION:"custom-conversion",LEADS_ACCESS:"leads-access",SPACO_DS_DATA_COLLECTION:"spaco-ds-data-collection",OWNED_DOMAIN:"owned-domain",WHATSAPP_BUSINESS_ACCOUNT:"whatsapp-business-account"},REQUESTED_ASSET_STATUS:{CONFIRMED:"CONFIRMED",PENDING:"PENDING",ERROR:"ERROR"},ACCESS_TYPE:{OWNER:"OWNER",AGENCY:"AGENCY"}}}),null);
__d("BusinessSettingsPanes",[],(function a(b,c,d,e,f,g){f.exports={USER:"user",FUNDING_SOURCE:"payment-method",AD_ACCOUNT_CREATION_REQUEST:"ad_account_creation_request",AUDIENCE_NETWORK_REPORTING:"audience_network_reporting",PROJECT:"project",AGENCY:"agency",INFO:"info",LEGACY_LOGIN:"legacy-login",SYSTEM_USER:"system-user",REQUEST:"request",PREFERENCE:"preference",ASSET_MANAGEMENT:"asset-management",GUIDE:"setup-guide",SECURITY:"security",PAGE:"page",AD_ACCOUNT:"ad-account",PRODUCT_CATALOG:"product-catalog",APP:"app",PIXEL:"pixel",INSTAGRAM_ACCOUNT:"instagram-account",ATLAS_ADVERTISER:"atlas-advertiser",EXAMPLE_CAT:"example-cat",MONETIZATION_PROPERTY:"monetization-property",PAYOUT_ACCOUNT:"payout-method",AD_STUDY:"ad-study",CUSTOM_AUDIENCE:"shared-audience",EVENT_SOURCE_GROUP:"event-source-group",OFFLINE_CONVERSION_DATA_SET:"offline-event-set",BLOCK_LIST:"block-list",BUSINESS_UNIT:"business-unit",REGISTERED_TRADEMARK:"registered-trademark",CUSTOM_CONVERSION:"custom-conversion",LEADS_ACCESS:"leads-access",OWNED_DOMAIN:"owned-domain",WHATSAPP_BUSINESS_ACCOUNT:"whatsapp-business-account"}}),null);
__d("BusinessSettingsUIConfigKey",[],(function a(b,c,d,e,f,g){f.exports={MenuLabel:"MenuLabel",SettingsIcon:"SettingsIcon",SettingsPaneBlankIcon:"SettingsPaneBlankIcon",SettingsUrlPath:"SettingsUrlPath",ContextFieldName:"ContextFieldName",DefaultAssetImage:"DefaultAssetImage",DefaultAssetImageXXLarge:"DefaultAssetImageXXLarge",SettingsNavIcon:"SettingsNavIcon",SettingsNavIconDark:"SettingsNavIconDark",SettingsNavIconActive:"SettingsNavIconActive",SettingsNavIconNew:"SettingsNavIconNew",SettingsNavIconActiveNew:"SettingsNavIconActiveNew",InformationTooltip:"InformationTooltip",RequestDialogIcon:"RequestDialogIcon"}}),null);
__d("AdsInstagramAccountActionSources",[],(function a(b,c,d,e,f,g){"use strict";var h=Object.freeze({CF_AUCTION:"cf_auction",NAM_AUCTION:"nam_auction",PE_AUCTION:"pe_auction",PE_REACH_FREQUENCY:"pe_reach_frequency",REACH_FREQUENCY_PLANNER:"reach_frequency_planner",TRP:"trp"});f.exports=h}),null);
__d("AYMTTipEventType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({CREATED:"created",PASSED_VALIDATION:"passed_validation",FAILED_VALIDATION:"failed_validation",PASSED_OPTIONAL_VALIDATION:"passed_optional_validation",FAILED_OPTIONAL_VALIDATION:"failed_optional_validation",PASSED_INVALIDATION:"passed_invalidation",FAILED_INVALIDATION:"failed_invalidation",PASSED_VISIBILITY:"passed_visibility",FAILED_VISIBILITY:"failed_visibility",PASSED_DEDUP:"passed_dedup",FAILED_DEDUP:"failed_dedup",PASSED_FINAL_VALIDATION:"passed_final_validation",FAILED_FINAL_VALIDATION:"failed_final_validation",PASSED_CLIENT_VALIDATION:"passed_client_validation",ERROR:"error",ELIGIBILITY:"eligibility",INVALIDATED:"invalidated",READY_FOR_RENDER:"ready_for_render",IMPRESSION:"impression",CLICK:"click",XOUT:"xout",CONVERSION:"conversion",DELIVERY:"delivery",DELIVERY_ATTEMPTED:"delivery_attempted",DELIVERY_FAILURE:"delivery_failure",DELIVERY_REATTEMPTED:"delivery_reattempted",NOT_DELIVERED:"not_delivered",TOUR_COMPLETE:"tour_complete",CAROUSEL_NAVIGATE:"carousel_navigate",INTERACTION:"interaction",TIP_HOME_EXCLUDE:"tip_home_exclude"})}),null);
__d("XAYMTMultiTipAsyncClickController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/growth/aymt/multi_async_click/",{tip_id:{type:"String"},channel_id:{type:"String"},aymt_data:{type:"String"},target:{type:"String",required:true},handled_delete:{type:"Bool",defaultValue:true},extra_data:{type:"String"}})}),null);
__d("XAYMTMultiTipCarouselNavigationLoggerAsyncController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/growth/aymt/log/carousel_navigation/",{tip_id:{type:"String"},channel_id:{type:"String"},aymt_data:{type:"String"},message:{type:"String",required:true}})}),null);
__d("XAYMTTipConversionLoggerAsyncController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/growth/aymt/log/conversion/",{tip_id:{type:"String"},channel_id:{type:"String"},aymt_data:{type:"String"}})}),null);
__d("XAYMTTipImpressionLoggerAsyncController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/growth/aymt/log/impression/",{tip_id:{type:"String"},channel_id:{type:"String"},aymt_data:{type:"String"},reason:{type:"String"},message:{type:"String"}})}),null);
__d("XAYMTTipTourCompleteLoggerAsyncController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/growth/aymt/log/tour_complete/",{tip_id:{type:"String"},channel_id:{type:"String"},aymt_data:{type:"String"}})}),null);
__d("XAdsCMTipQEAsyncController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/manager/ajax/check_tip_qe/",{tip_id:{type:"String",required:true},channel_id:{type:"String",required:true}})}),null);
__d("AYMTClientSideLogging",["AsyncRequest","AYMTTipEventType","AYMTTipSettings","XAdsCMTipQEAsyncController","XAYMTMultiTipAsyncClickController","XAYMTMultiTipCarouselNavigationLoggerAsyncController","XAYMTTipConversionLoggerAsyncController","XAYMTTipImpressionLoggerAsyncController","XAYMTTipTourCompleteLoggerAsyncController"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={logEligibilityAndCheckQE:function i(j,k,l,m){var n=c("XAdsCMTipQEAsyncController").getURIBuilder().setString("tip_id",l.data.tip_id).setString("channel_id",l.data.channel_id).getURI();new(c("AsyncRequest"))().setURI(n).setAllowCrossPageTransition(true).setHandler(m).send()},logImpression:function i(j,k){var l=c("XAYMTTipImpressionLoggerAsyncController").getURIBuilder().setString("tip_id",j).setString("channel_id",k).getURI();new(c("AsyncRequest"))().setURI(l).setAllowCrossPageTransition(true).send()},logXout:function i(j,k){var l=arguments.length<=2||arguments[2]===undefined?true:arguments[2],m=c("XAYMTMultiTipAsyncClickController").getURIBuilder().setString("tip_id",j).setString("channel_id",k).setString("target",c("AYMTTipEventType").XOUT).setBool("handled_delete",l).getURI();new(c("AsyncRequest"))().setURI(m).setAllowCrossPageTransition(true).send()},logClick:function i(j,k){var l=c("XAYMTMultiTipAsyncClickController").getURIBuilder().setString("tip_id",j).setString("channel_id",k).setString("target",c("AYMTTipEventType").CLICK).getURI();new(c("AsyncRequest"))().setURI(l).setAllowCrossPageTransition(true).send()},logTourComplete:function i(j,k){var l=c("XAYMTTipTourCompleteLoggerAsyncController").getURIBuilder().setString("tip_id",j).setString("channel_id",k).getURI();new(c("AsyncRequest"))().setURI(l).setAllowCrossPageTransition(true).send()},logConversion:function i(j,k){var l=c("XAYMTTipConversionLoggerAsyncController").getURIBuilder().setString("tip_id",j).setString("channel_id",k).getURI();new(c("AsyncRequest"))().setURI(l).setAllowCrossPageTransition(true).send()},logTourStepImpression:function i(j,k,l){var m=c("XAYMTTipImpressionLoggerAsyncController").getURIBuilder().setString("tip_id",j).setString("channel_id",k).setString("reason","tour_step").setString("message",l.toString()).getURI();new(c("AsyncRequest"))().setURI(m).setAllowCrossPageTransition(true).send()},logRenderingTypeImpression:function i(j,k,l){var m=c("XAYMTTipImpressionLoggerAsyncController").getURIBuilder().setString("tip_id",j).setString("channel_id",k).setString("reason","rendering_type").setString("message",l).getURI();new(c("AsyncRequest"))().setURI(m).setAllowCrossPageTransition(true).send()},logCarouselNavigation:function i(j,k,l){var m=c("XAYMTMultiTipCarouselNavigationLoggerAsyncController").getURIBuilder().setString("tip_id",j).setString("channel_id",k).setString("message",l).getURI();new(c("AsyncRequest"))().setURI(m).setAllowCrossPageTransition(true).send()},logClickNew:function i(j){var k=c("XAYMTMultiTipAsyncClickController").getURIBuilder().setString("tip_id",j[c("AYMTTipSettings").TIP_ID]).setString("channel_id",j[c("AYMTTipSettings").CHANNEL_ID]).setString("aymt_data",JSON.stringify(j)).setString("target",c("AYMTTipEventType").CLICK).getURI();new(c("AsyncRequest"))().setURI(k).setAllowCrossPageTransition(true).send()},logImpressionNew:function i(j){var k=c("XAYMTTipImpressionLoggerAsyncController").getURIBuilder().setString("tip_id",j[c("AYMTTipSettings").TIP_ID]).setString("channel_id",j[c("AYMTTipSettings").CHANNEL_ID]).setString("aymt_data",JSON.stringify(j)).getURI();new(c("AsyncRequest"))().setURI(k).setAllowCrossPageTransition(true).send()},logXoutNew:function i(j){var k=arguments.length<=1||arguments[1]===undefined?true:arguments[1],l=c("XAYMTMultiTipAsyncClickController").getURIBuilder().setString("tip_id",j[c("AYMTTipSettings").TIP_ID]).setString("channel_id",j[c("AYMTTipSettings").CHANNEL_ID]).setString("aymt_data",JSON.stringify(j)).setString("target",c("AYMTTipEventType").XOUT).setBool("handled_delete",k).getURI();new(c("AsyncRequest"))().setURI(l).setAllowCrossPageTransition(true).send()},logTourCompleteNew:function i(j){var k=c("XAYMTTipTourCompleteLoggerAsyncController").getURIBuilder().setString("tip_id",j[c("AYMTTipSettings").TIP_ID]).setString("channel_id",j[c("AYMTTipSettings").CHANNEL_ID]).setString("aymt_data",JSON.stringify(j)).getURI();new(c("AsyncRequest"))().setURI(k).setAllowCrossPageTransition(true).send()},logTourStepImpressionNew:function i(j,k){var l=c("XAYMTTipImpressionLoggerAsyncController").getURIBuilder().setString("tip_id",j[c("AYMTTipSettings").TIP_ID]).setString("channel_id",j[c("AYMTTipSettings").CHANNEL_ID]).setString("aymt_data",JSON.stringify(j)).setString("reason","tour_step").setString("message",k.toString()).getURI();new(c("AsyncRequest"))().setURI(l).setAllowCrossPageTransition(true).send()},logRenderingTypeImpressionNew:function i(j,k){var l=c("XAYMTTipImpressionLoggerAsyncController").getURIBuilder().setString("tip_id",j[c("AYMTTipSettings").TIP_ID]).setString("channel_id",j[c("AYMTTipSettings").CHANNEL_ID]).setString("aymt_data",JSON.stringify(j)).setString("reason","rendering_type").setString("message",k).getURI();new(c("AsyncRequest"))().setURI(l).setAllowCrossPageTransition(true).send()},logCarouselNavigationNew:function i(j,k){var l=c("XAYMTMultiTipCarouselNavigationLoggerAsyncController").getURIBuilder().setString("tip_id",j[c("AYMTTipSettings").TIP_ID]).setString("channel_id",j[c("AYMTTipSettings").CHANNEL_ID]).setString("aymt_data",JSON.stringify(j)).setString("message",k).getURI();new(c("AsyncRequest"))().setURI(l).setAllowCrossPageTransition(true).send()}};f.exports=h}),null);
__d("AdsBaseListDataManager",["AdsAbstractDataManager","abstractMethod","adsCoalesceLoads"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("AdsAbstractDataManager"));i=h&&h.prototype;function j(){i.constructor.call(this);if(this.__getMultiple)this.loadFor=c("adsCoalesceLoads")(this.__loadMultiple)}j.prototype.loadFor=function(k){c("abstractMethod")("AdsBaseListDataManager","loadFor")};f.exports=j}),null);
__d("ListCache",["Cache","TreeMap","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("Cache"));i=h&&h.prototype;function j(k){i.constructor.call(this);this.$ListCache1=k!=null?k:this.$ListCache2}j.prototype.$ListCache2=function(k,l){if(k.value<l.value)return-1;else if(k.value>l.value)return 1;else return 0};j.prototype.hasList=function(k){if(!this.has(k))return false;var l=c("nullthrows")(this.__getRaw(k));return!!l.$ListCache3};j.prototype.getList=function(k,l){if(!this.hasList(k))return l;var m=c("nullthrows")(this.__getRaw(k));return m.$ListCache3};j.prototype.makeList=function(k){var l=this.__getRaw(k);if(!l)l=this.__getNewRawObject();l.$ListCache3=new(c("TreeMap"))(this.$ListCache1);this.__setRaw(k,l)};f.exports=j}),null);
__d("AdsBaseListStore",["AdsDataAtom","AdsLoadState_LEGACY","FluxStore","ImmutableObject","ListCache","Map","TreeMap","abstractMethod","adsBaseStoreMixin_DEPRECATED","adsCreateStoreThunkSelector","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=new(c("TreeMap"))(function(){return 0}),k=new(c("ImmutableObject"))({loadState:c("AdsLoadState_LEGACY").LOADING,list:[]}),l=new(c("ImmutableObject"))({loadState:c("AdsLoadState_LEGACY").NOT_LOADED,list:[]});h=babelHelpers.inherits(m,c("FluxStore"));i=h&&h.prototype;m.getLoadingList=function(){return k};function m(){i.constructor.call(this,c("AdsDataAtom"));this.getAllSelector=c("adsCreateStoreThunkSelector")(this,this.getFor.bind(this));c("adsBaseStoreMixin_DEPRECATED")(this);this.$AdsBaseListStore1=new(c("ListCache"))(this.$AdsBaseListStore6.bind(this,this.compare));this.$AdsBaseListStore2=new(c("Map"))();this.$AdsBaseListStore5=new(c("Map"))();this.$AdsBaseListStore3=this.getIDKey();this.$AdsBaseListStore4=this.getSortKey()}m.prototype.getDataManager=function(){c("abstractMethod")("AdsBaseListStore","getDataManager");return c("nullthrows")(null)};m.prototype.getIDKey=function(){return"id"};m.prototype.getLoadingList=function(){return k};m.prototype.getSortKey=function(){return null};m.prototype.compare=function(n,o){if(n<o)return-1;else if(n>o)return 1;else return 0};m.prototype.$AdsBaseListStore6=function(n,o,p){return n(o.value,p.value)};m.prototype.getFor=function(n){var o=this.$AdsBaseListStore7(n);if(o.loadState===c("AdsLoadState_LEGACY").NOT_LOADED){var p=this.getDataManager();p.loadFor(n);this.$AdsBaseListStore1.set(n,c("AdsLoadState_LEGACY").LOADING);this.$AdsBaseListStore2["delete"](n)}return this.$AdsBaseListStore7(n)};m.prototype.getCachedFor=function(n){return this.$AdsBaseListStore7(n)};m.prototype.$AdsBaseListStore7=function(n){__p&&__p();if(this.$AdsBaseListStore2.has(n))return c("nullthrows")(this.$AdsBaseListStore2.get(n));if(this.$AdsBaseListStore1.has(n)){var o=this.$AdsBaseListStore1.get(n,c("AdsLoadState_LEGACY").NOT_LOADED),p=this.$AdsBaseListStore1.getList(n,j).keys(),q={loadState:o||c("AdsLoadState_LEGACY").NOT_LOADED,list:p||[],totalCount:undefined,loadedCount:undefined};if(this.$AdsBaseListStore5.has(n)){q.totalCount=this.$AdsBaseListStore5.get(n);q.loadedCount=p.length}q=new(c("ImmutableObject"))(q);this.$AdsBaseListStore2.set(n,q);return q}return l};m.prototype.__getMinValueFor=function(n){if(!this.$AdsBaseListStore1.hasList(n))return null;var o=this.$AdsBaseListStore1.getList(n).min();return o==null?null:o.value};m.prototype.__getMaxValueFor=function(n){if(!this.$AdsBaseListStore1.hasList(n))return null;var o=this.$AdsBaseListStore1.getList(n).max();return o==null?null:o.value};m.prototype.__invalidateEntireCache=function(){var n=this.$AdsBaseListStore1.size()>0||this.$AdsBaseListStore2.size>0;this.$AdsBaseListStore1.clear();this.$AdsBaseListStore2.clear();return n};m.prototype.__invalidate=function(n){if(this.$AdsBaseListStore1.has(n)||this.$AdsBaseListStore2.has(n)){var o=this.$AdsBaseListStore1["delete"](n),p=this.$AdsBaseListStore2["delete"](n);return o||p}return false};m.prototype.__invalidateChildren=function(n,o){o.forEach(function(p){return this.__invalidateChild(n,p)}.bind(this))};m.prototype.__invalidateChild=function(n,o){__p&&__p();var p=this.$AdsBaseListStore1.getList(n);if(!p)return false;var q=p["delete"](o);if(!q)return false;this.__incrementTotalCountIfSet(n,-1);this.$AdsBaseListStore2["delete"](n);this.__emitChange();return true};m.prototype.__setTotalCount=function(n,o){if(this.$AdsBaseListStore5.get(n)!==o){this.$AdsBaseListStore5.set(n,o);this.__emitChange()}};m.prototype.__incrementTotalCountIfSet=function(n,o){var p=this.$AdsBaseListStore5.get(n);if(p){var q=p+(o||1);this.$AdsBaseListStore5.set(n,q);return q}};m.prototype.__handleDataFor=function(n,o,p){__p&&__p();var q=false;if(!this.$AdsBaseListStore1.hasList(n))this.$AdsBaseListStore1.makeList(n);var r=this.$AdsBaseListStore1.getList(n);if(o&&o.length>0)o.forEach(function(s){if(Object.prototype.hasOwnProperty.call(s,this.$AdsBaseListStore3)){var t=s[this.$AdsBaseListStore3],u=this.$AdsBaseListStore4==null?null:s[this.$AdsBaseListStore4];if(!r.has(t)||r.get(t)!==u){r.set(t,u);q=true}}}.bind(this));if(p&&this.$AdsBaseListStore1.get(n)!==p){this.$AdsBaseListStore1.set(n,p);q=true}if(q){this.$AdsBaseListStore2["delete"](n);this.__emitChange()}return q};m.prototype.__updateLoadingFor=function(n){var o=[];n.forEach(function(p){var q=this.$AdsBaseListStore7(p);if(q.loadState===c("AdsLoadState_LEGACY").NOT_LOADED){this.$AdsBaseListStore1.set(p,c("AdsLoadState_LEGACY").LOADING);this.$AdsBaseListStore2["delete"](p);o.push(p)}}.bind(this));return o};f.exports=m}),null);
__d("XAdsBlocklistErrorReportExportController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/blocklist/download_error_report/",{})}),null);
__d("FileSaver",[],(function a(b,c,d,e,f,g){__p&&__p();var h=h||function(i){"use strict";__p&&__p();if(typeof navigator!=="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent))return;var j=i.document,k=function(){return i.URL||i.webkitURL||i},l=j.createElementNS("http://www.w3.org/1999/xhtml","a"),m="download"in l,n=function(A){var event=new MouseEvent("click");A.dispatchEvent(event)},o=/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),p=i.webkitRequestFileSystem,q=i.requestFileSystem||p||i.mozRequestFileSystem,r=function(A){(i.setImmediate||i.setTimeout)(function(){throw A},0)},s="application/octet-stream",t=0,u=500,v=function(A){var B=function(){if(typeof A==="string")k().revokeObjectURL(A);else A.remove()};if(i.chrome)B();else setTimeout(B,u)},w=function(A,B,event){B=[].concat(B);var C=B.length;while(C--){var D=A["on"+B[C]];if(typeof D==="function")try{D.call(A,event||A)}catch(E){r(E)}}},x=function(A){if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(A.type))return new Blob(["\ufeff",A],{type:A.type});return A},y=function(A,B,C){__p&&__p();if(!C)A=x(A);var D=this,E=A.type,F=false,G,H,I=function(){w(D,"writestart progress write writeend".split(" "))},J=function(){__p&&__p();if(H&&o&&typeof FileReader!=="undefined"){var N=new FileReader();N.onloadend=function(){var P=N.result;H.location.href="data:attachment/file"+P.slice(P.search(/[,;]/));D.readyState=D.DONE;I()};N.readAsDataURL(A);D.readyState=D.INIT;return}if(F||!G)G=k().createObjectURL(A);if(H)H.location.href=G;else{var O=i.open(G,"_blank");if(O==undefined&&o)i.location.href=G}D.readyState=D.DONE;I();v(G)},K=function(N){return function(){if(D.readyState!==D.DONE)return N.apply(this,arguments)}},L={create:true,exclusive:false},M;D.readyState=D.INIT;if(!B)B="download";if(m){G=k().createObjectURL(A);setTimeout(function(){l.href=G;l.download=B;n(l);I();v(G);D.readyState=D.DONE});return}if(i.chrome&&E&&E!==s){M=A.slice||A.webkitSlice;A=M.call(A,0,A.size,s);F=true}if(p&&B!=="download")B+=".download";if(E===s||p)H=i;if(!q){J();return}t+=A.size;q(i.TEMPORARY,t,K(function(N){__p&&__p();N.root.getDirectory("saved",L,K(function(O){__p&&__p();var P=function(){__p&&__p();O.getFile(B,L,K(function(Q){__p&&__p();Q.createWriter(K(function(R){__p&&__p();R.onwriteend=function(event){H.location.href=Q.toURL();D.readyState=D.DONE;w(D,"writeend",event);v(Q)};R.onerror=function(){var S=R.error;if(S.code!==S.ABORT_ERR)J()};"writestart progress write abort".split(" ").forEach(function(event){R["on"+event]=D["on"+event]});R.write(A);D.abort=function(){R.abort();D.readyState=D.DONE};D.readyState=D.WRITING}),J)}),J)};O.getFile(B,{create:false},K(function(Q){Q.remove();P()}),K(function(Q){if(Q.code===Q.NOT_FOUND_ERR)P();else J()}))}),J)}),J)},z=y.prototype,h=function(A,B,C){return new y(A,B,C)};if(typeof navigator!=="undefined"&&navigator.msSaveOrOpenBlob)return function(A,B,C){if(!C)A=x(A);return navigator.msSaveOrOpenBlob(A,B||"download")};z.abort=function(){var A=this;A.readyState=A.DONE;w(A,"abort")};z.readyState=z.INIT=0;z.WRITING=1;z.DONE=2;z.error=z.onwritestart=z.onprogress=z.onwrite=z.onabort=z.onerror=z.onwriteend=null;return h}(typeof self!=="undefined"&&self||typeof window!=="undefined"&&window||this.content);if(typeof f!=="undefined")f.exports=h}),null);
__d("convertToUTF16LE",[],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i){var j=new Uint8Array(i.length*2+2);j[0]=255;j[1]=254;for(var k=0,l=2;k<i.length;k++){j[l++]=i.charCodeAt(k)&255;j[l++]=i.charCodeAt(k)>>8&255}return j}f.exports=h}),null);
__d("saveCSV",["convertToUTF16LE","formatDate","FileSaver"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=navigator.userAgent.includes("Windows")?"application/vnd.ms-excel":"text/csv";function i(l,m){if(!m)m=k();var n=c("convertToUTF16LE")(l,h),o=j(n);c("FileSaver")(o,m,true)}function j(l){var m=b.BlobBuilder||b.WebKitBlobBuilder;if(!m&&b.Blob)return new b.Blob([l.buffer],{type:h});var n=new m();n.append(l.buffer);return n.getBlob(h)}function k(){return"export_"+c("formatDate")(new Date(),"Ymd_Hi",{skipPatternLocalization:true})+".csv"}f.exports=i}),null);
__d("AdsBlockListDataLoader",["AdsGraphAPI","AsyncRequest","BrandsAppConfig","DateFormatConfig","DateTime","XAdsBlocklistErrorReportExportController","saveCSV"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={getBlockLists:function i(j){var k=["id","name","last_update_user","last_update_time","business_owner_id","owner_ad_account_id","is_eligible_at_campaign_level","blocked_placements"];if(c("BrandsAppConfig").businessCapabilities.can_use_block_list_auto_blocking_feature)k.push("is_auto_blocking_on");return c("AdsGraphAPI").get(f.id).adaccount(j).edge("publisher_block_lists").get({fields:k.join(",")})},getBlockListDetails:function i(j){return c("AdsGraphAPI").get(f.id).object("blocklistID",j).get({fields:"web_publishers,app_publishers"})},downloadErrorReport:function i(j,k,l){var m=c("XAdsBlocklistErrorReportExportController").getURIBuilder().getURI(),n=c("DateTime").localNow(),o="block_list_"+n.format(c("DateFormatConfig").formats["Y-m-d"])+".csv",p=new(c("AsyncRequest"))(m).setMethod("POST").setData({blocklist_id:j,error_urls:k,update:l}).setHandler(function(q){var r=q.payload.file_data;c("saveCSV")(r,o)});p.send()}};f.exports=h}),null);
__d("AdsBlockListGetDetailsErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"GET_DETAILS_ERROR");f.exports=h}),null);
__d("AdsBlockListGetDetailsSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"GET_DETAILS_SUCCESS");f.exports=h}),null);
__d("AdsBlockListGetListErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"GET_LIST_ERROR");f.exports=h}),null);
__d("AdsBlockListGetListSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"GET_LIST_SUCCESS");f.exports=h}),null);
__d("AdsBlockListShareListErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"SHARE_LIST_ERROR");f.exports=h}),null);
__d("AdsBlockListShareListSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"SHARE_LIST_SUCCESS");f.exports=h}),null);
__d("XBusinessAddBusinessObjectConnectionsAsyncController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/business/objects/add/connections/",{business_id:{type:"FBID",required:true},from_id:{type:"Int",required:true},from_asset_type:{type:"Enum",required:true,enumType:1},to_id:{type:"Int",required:true},to_asset_type:{type:"Enum",required:true,enumType:1},role_id:{type:"String"}})}),null);
__d("AdsBlockListDataDispatcher",["AdsBlockListDataLoader","AdsBlockListGetDetailsErrorDataAction","AdsBlockListGetDetailsSuccessDataAction","AdsBlockListGetListErrorDataAction","AdsBlockListGetListSuccessDataAction","AdsBlockListShareListErrorDataAction","AdsBlockListShareListSuccessDataAction","AsyncRequest","BusinessObjectConstantNames","XBusinessAddBusinessObjectConnectionsAsyncController"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={getBlockLists:function i(j){c("AdsBlockListDataLoader").getBlockLists(j).then(function(k){c("AdsBlockListGetListSuccessDataAction").dispatch({data:{accountID:j,blocklists:k.data}})})["catch"](function(k){c("AdsBlockListGetListErrorDataAction").dispatch({})}).done()},getBlockListDetails:function i(j){c("AdsBlockListDataLoader").getBlockListDetails(j).then(function(k){c("AdsBlockListGetDetailsSuccessDataAction").dispatch({data:{blocklistID:j,blocklistDetails:k}})})["catch"](function(k){c("AdsBlockListGetDetailsErrorDataAction").dispatch({})}).done()},shareBlockList:function i(j,k,l){__p&&__p();var m=c("XBusinessAddBusinessObjectConnectionsAsyncController").getURIBuilder();m.setFBID("business_id",k);m.setInt("from_id",k);m.setEnum("from_asset_type",c("BusinessObjectConstantNames").ASSET_TYPE.BRAND);m.setInt("to_id",j);m.setEnum("to_asset_type",c("BusinessObjectConstantNames").ASSET_TYPE.BLOCK_LIST);var n=new(c("AsyncRequest"))(m.getURI()).setHandler(function(o){c("AdsBlockListShareListSuccessDataAction").dispatch({accountID:l,blocklistID:j,businessID:k})}).setErrorHandler(function(o){c("AdsBlockListShareListErrorDataAction").dispatch({accountID:l,blocklistID:j,businessID:k})});n.send()}};f.exports=h}),null);
__d("AdsBlockListFileUploadCompleteDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"FILE_UPLOAD_COMPLETE");f.exports=h}),null);
__d("AdsBlockListRenameBlockListSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RENAME_BLOCK_LIST_SUCCESS");f.exports=h}),null);
__d("AdsBlockListAccountListStore",["AdsBlockListDataDispatcher","AdsBlockListFileUploadCompleteDataAction","AdsBlockListGetListSuccessDataAction","AdsBlockListRenameBlockListSuccessDataAction","AdsBlockListShareListSuccessDataAction","AdsDataAtom","FluxStore","LoadObject","adsCreateStoreThunkSelector"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("FluxStore"));i=h&&h.prototype;function j(){i.constructor.call(this,c("AdsDataAtom"));this.getSelector=c("adsCreateStoreThunkSelector")(this,this.get.bind(this));this.$AdsBlockListAccountListStore1=c("LoadObject").empty()}j.prototype.get=function(k){if(this.$AdsBlockListAccountListStore1.isEmpty())this.$AdsBlockListAccountListStore2(k);return this.$AdsBlockListAccountListStore1};j.prototype.$AdsBlockListAccountListStore2=function(k){c("AdsBlockListDataDispatcher").getBlockLists(k);this.$AdsBlockListAccountListStore1=c("LoadObject").loading()};j.prototype.__onDispatch=function(k){var l=k.action;switch(l.actionType){case c("AdsBlockListGetListSuccessDataAction").actionType:this.$AdsBlockListAccountListStore1=c("LoadObject").empty().setValue(l.data.blocklists);this.__emitChange();break;case c("AdsBlockListFileUploadCompleteDataAction").actionType:case c("AdsBlockListRenameBlockListSuccessDataAction").actionType:case c("AdsBlockListShareListSuccessDataAction").actionType:this.$AdsBlockListAccountListStore2(l.accountID);break}};f.exports=new j()}),null);
__d("AdsMultiProductMutators",["AdsChildAttachmentsUtils","AdsMutators"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsMutators").deleteIn,i=c("AdsMutators").setIn;function j(r,s,t){var u=c("AdsChildAttachmentsUtils").getChildAttachmentsPath(t);if(!u)return t;var v=[].concat(u,[""+r],s);return h(v,t)}function k(r,s){p(s,function(t,u,v){s=h([].concat(v,r),s)});return s}function l(r,s,t,u){var v=c("AdsChildAttachmentsUtils").getChildAttachmentsPath(u);if(!v)return u;var w=[].concat(v,[""+r],s);return i(w,t,u)}function m(r,s,t){p(t,function(u,v,w){t=t.setIn([].concat(w,r),s)});return t}function n(r,s,t){p(t,function(u,v,w){if(!c("AdsChildAttachmentsUtils").hasPlaceData(u))t=t.setIn([].concat(w,r),s)});return t}function o(r,s,t){p(t,function(u,v,w){if(c("AdsChildAttachmentsUtils").hasPlaceData(u))t=t.setIn([].concat(w,r),s)});return t}function p(r,s){var t=c("AdsChildAttachmentsUtils").getChildAttachmentsPath(r);if(!t)return;var u=r.getIn(t),v=u?u.size:0;for(var w=0;w<v;w++){var x=[].concat(t,[""+w]),y=r.getIn(x);if(y)s(y,w,x)}}var q={deleteInChild:j,deleteInEachChild:k,forEachChild:p,setInChild:l,setInEachChild:m,setInEachNonPlaceDataChild:n,setInEachPlaceDataChild:o};f.exports=q}),null);
__d("AdsUEditorAdgroupCanvasMutator",["AdsAPIAdAssetFeedLinkURLsFields","AdsAPIAdgroupRecordUtils","AdsAPIChildAttachmentPaths","AdsAssetFeedFieldUtils","AdsCanvasAdUtils","AdsCanvasCollectionsConstants","AdsCanvasConstants","AdsCollectionsAdUtils","AdsCollectionsConstants","AdsPromotedObjectTypes","AdsMultiProductMutators","AdsUnifiedCreativeAPIFields"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsMultiProductMutators").setInEachChild;function i(k,l){if(c("AdsUnifiedCreativeAPIFields").linkURL.isSupported(k,l)){var m=c("AdsAssetFeedFieldUtils").firstAsset_TALK_WITH_ACE_BEFORE_USE(c("AdsUnifiedCreativeAPIFields").linkURL.getValue(k,l),c("AdsAPIAdAssetFeedLinkURLsFields").WEBSITE_URL);if(c("AdsCanvasAdUtils").isCanvasLink(m))k=k.setIn(c("AdsUnifiedCreativeAPIFields").linkURL.getPath(k,l),c("AdsCanvasConstants").EMPTY_CANVAS_LINK);if(c("AdsAPIAdgroupRecordUtils").isCarouselAd(k))k=h(c("AdsAPIChildAttachmentPaths").LINK,c("AdsCanvasConstants").EMPTY_CANVAS_LINK,k)}return k}function j(k,l,m){__p&&__p();if(!c("AdsCollectionsAdUtils").isCollectionsAd(k.creative))return k;if(c("AdsUnifiedCreativeAPIFields").retailerItemIDs.isSupported(k,l)){var n=k.getIn(c("AdsUnifiedCreativeAPIFields").retailerItemIDs.getPath(k,l));if(n){k=k.setIn(c("AdsUnifiedCreativeAPIFields").retailerItemIDs.getPath(k,l),c("AdsCollectionsConstants").EMPTY_COLLECTIONS_RETAIL_ID).setIn(c("AdsUnifiedCreativeAPIFields").postClickItemDescription.getPath(k,l),c("AdsCollectionsConstants").POST_CLICK_ITEM_DEFAULT_DESCRIPTION_TEMPLATE).setIn(c("AdsUnifiedCreativeAPIFields").postClickItemHeadline.getPath(k,l),c("AdsCollectionsConstants").POST_CLICK_ITEM_DEFAULT_HEADLINE_TEMPLATE);if(m!==c("AdsPromotedObjectTypes").PRODUCT_SET)k=k.deleteIn(c("AdsUnifiedCreativeAPIFields").productSetID.getPath(k,l))}}if(c("AdsUnifiedCreativeAPIFields").collectionThumbnails.isSupported(k,l)){var o=k.getIn(c("AdsUnifiedCreativeAPIFields").collectionThumbnails.getPath(k,l));if(o)k=k.setIn(c("AdsUnifiedCreativeAPIFields").collectionThumbnails.getPath(k,l),c("AdsCanvasCollectionsConstants").EMPTY_COLLECTION_THUMBNAILS)}return k}f.exports={clearCanvasLink:i,clearCollectionsFields:j}}),null);
__d("AdsErrorBoundary.react",["AdsInterfacesLoggerUtils","ErrorBoundary.react","React"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("React").Component);i=h&&h.prototype;function j(){var k,l;for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];return l=(k=i.constructor).call.apply(k,[this].concat(n)),this.onHandleError=function(p,q){c("AdsInterfacesLoggerUtils").logCriticalException(p,{error_type:"ERROR_BOUNDARY",module_name:this.props.moduleName||q})}.bind(this),this.onRenderFallback=function(p){c("AdsInterfacesLoggerUtils").logUserError(new Error("React error due to previous render error"),{module_name:this.props.moduleName||p})}.bind(this),l}j.prototype.render=function(){return c("React").createElement(c("ErrorBoundary.react"),babelHelpers["extends"]({},this.props,{onHandleError:this.onHandleError,onRenderFallback:this.onRenderFallback}),this.props.children)};f.exports=j}),null);
__d("AdsFluxContainer",["AdsInterfacesLoggerUtils","FluxContainer","getModuleNameFromFluxContainer"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i,j){__p&&__p();var k,l,m=c("FluxContainer").create(i,j);k=babelHelpers.inherits(n,m);l=k&&k.prototype;n.prototype.componentDidCatch=function(p){"use strict";if(!p.hasBeenLoggedForAdsInterfaces){var q={error_type:"FLUX_CONTAINER",module_name:(j?j.name:null)||c("getModuleNameFromFluxContainer")(i.displayName||i.name)||"AdsFluxContainer(unknown)"};c("AdsInterfacesLoggerUtils").logCriticalException(p,q);p.hasBeenLoggedForAdsInterfaces=true}throw p};function n(){"use strict";k.apply(this,arguments)}try{Object.defineProperty(n,"name",{value:m.name})}catch(o){}return n}f.exports={create:h,createFunctional:c("FluxContainer").createFunctional}}),null);
__d("AdsSpinner.react",["React","SUIBusinessTheme","SUISpinner.react"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("React").PropTypes;h=babelHelpers.inherits(k,c("React").Component);i=h&&h.prototype;k.prototype.componentDidMount=function(){if(this.context.spinnerGroup)this.context.spinnerGroup.registerLoadStart()};k.prototype.componentWillUnmount=function(){if(this.context.spinnerGroup)this.context.spinnerGroup.registerLoadEnd()};k.prototype.render=function(){return c("React").createElement(c("SUISpinner.react"),babelHelpers["extends"]({size:"small"},this.props,{theme:c("SUIBusinessTheme")}))};function k(){h.apply(this,arguments)}k.defaultProps={background:"light",size:"small"};k.contextTypes={spinnerGroup:j.shape({registerLoadStart:j.func.isRequired,registerLoadEnd:j.func.isRequired})};f.exports=k}),null);
__d("AdsImageSelectorV2Types",["immutable"],(function a(b,c,d,e,f,g){"use strict";var h,i;h=babelHelpers.inherits(j,c("immutable").Record({minWarningWidth:0,minWarningHeight:0,minWarningAspectRatio:0,maxWarningAspectRatio:0,placement:""}));i=h&&h.prototype;function j(){h.apply(this,arguments)}var k=Object.freeze({ACCOUNT_IMAGE:"ACCOUNT_IMAGE",STOCK_IMAGE:"STOCK_IMAGE",EXTERNAL_IMAGE:"EXTERNAL_IMAGE",PAGE_IMAGE:"PAGE_IMAGE",UPLOAD_IMAGE:"UPLOAD_IMAGE",INSTAGRAM_IMAGE:"INSTAGRAM_IMAGE"}),l=c("immutable").OrderedSet(Object.keys(k)),m=c("immutable").OrderedSet([k.ACCOUNT_IMAGE,k.UPLOAD_IMAGE]);f.exports={AdsImageSource:k,ImageSourceImageSpec:j,ALL_SOURCE_TYPE_LIST:l,DEFAULT_SOURCE_TYPE_LIST:m}}),null);
__d("AdsSimpleImage",["immutable"],(function a(b,c,d,e,f,g){"use strict";var h,i;h=babelHelpers.inherits(j,c("immutable").Record({height:null,url:null,width:null,isSphericalPhoto:null}));i=h&&h.prototype;function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("AdsStockImageSourceUtils",["AdsSimpleImage"],(function a(b,c,d,e,f,g){"use strict";var h=1e3,i=1e3;function j(k){var l=k.width,m=k.height,n=Math.min(h/l,i/m);return{width:Math.round(l*n),height:Math.round(m*n)}}f.exports={MAX_STOCK_IMAGE_WIDTH:h,MAX_STOCK_IMAGE_HEIGHT:i,estimatePreviewDimensions:j}}),null);
__d("AdsVideoUploadStatus",[],(function a(b,c,d,e,f,g){var h={BOOTLOADING:"BOOTLOADING",BROWSE:"BROWSE",ENCODING:"ENCODING",ERROR:"ERROR",NONE:"NONE",UPLOADING:"UPLOADING"};f.exports=h}),null);
__d("AdsConversionPixelStatusUI",["fbt","invariant","ix","AdsPixelConstants","formatDate","parseISODate"],(function a(b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=c("AdsPixelConstants").statuses,l=60*60*1e3,m=l*24,n=m*7,o=new Date();function p(r){return r.last_firing_time||r.lastFiringTime}var q={resetTime:function r(){o=new Date()},getStatus:function r(s){__p&&__p();if(s.is_deleted===true||s.isDeleted===true)return k.DELETED;var t=p(s)||null;if(t)t=c("parseISODate")(t);if(t===null)return k.UNVERIFIED;else if(t.getTime()<o.getTime()-n)return k.INACTIVE;else return k.ACTIVE},getStatusUI:function r(s){var t=q.getStatus(s);switch(t){case k.DELETED:return q._getDeletedStatusUI();case k.UNVERIFIED:return q._getUnverifiedStatusUI();case k.INACTIVE:return q._getInactiveStatusUI(c("parseISODate")(p(s)));case k.ACTIVE:return q._getActiveStatusUI(c("parseISODate")(p(s)))}i(0)},_getInactiveStatusUI:function r(s){return{iconImage:j("22205"),text:h._("No Recent Activity"),subtitle:h._("Last Event: {date}",[h.param("date",c("formatDate")(s,"n/j/y"))]),desc:h._("We haven't received any events from this pixel in the last week.")}},_getActiveStatusUI:function r(s){var t=o.getTime()-s.getTime(),u=null;if(t<l)u=h._("Last Event: within an hour");else if(t<m)u=h._("Last Event: within 24 hours");else{t<n||i(0);u=h._("Last Event: {date}",[h.param("date",c("formatDate")(s,"F j"))])}return{iconImage:j("22204"),text:h._("Active"),subtitle:u,desc:h._("We have received events from this pixel in the last week.")}},_getUnverifiedStatusUI:function r(){return{iconImage:j("22206"),text:h._("No Activity Yet"),desc:h._("We haven't received any events from this pixel. Make sure the pixel code is properly installed or configured on your website.")}},_getDeletedStatusUI:function r(){return{iconImage:j("22206"),text:h._("Deleted")}}};f.exports=q}),null);
__d("AdImageSpecs",["fbt","AdCreativeType","AdImageSpecCropKeys","AdsAPIDevicePlatform","AdsAPIFacebookPosition","AdsAPIInstagramPosition","AdsAPIPublisherPlatform","AdsInstagramMediaSpecs","AdsPageTypes","intlNumUtils"],(function a(b,c,d,e,f,g,h){"use strict";var i=c("AdCreativeType").AD_CREATIVE_TYPE;function j(l,m){return h._({"*":{"*":"{Numerator}:{Denominator}"}},[h.param("Numerator",l,[0]),h.param("Denominator",m,[0])])}var k={PAGE_LIKE_DESKTOP_FEED:{placement:c("AdsPageTypes").DESKTOP_FEED,position:c("AdsAPIFacebookPosition").FEED,devicePlatform:c("AdsAPIDevicePlatform").DESKTOP,width:1200,height:444,minLargeWidth:400,minLargeHeight:150,minWarningWidth:400,minWarningHeight:150,aspectRatio:8/3,displayRatio:j(8,3),cropKey:c("AdImageSpecCropKeys")["400x150"],supportedTypes:[i.INLINE_FAN]},PAGE_LIKE_MOBILE_FEED:{placement:c("AdsPageTypes").MOBILE_FEED,position:c("AdsAPIFacebookPosition").FEED,devicePlatform:c("AdsAPIDevicePlatform").MOBILE,width:1200,height:444,minLargeWidth:400,minLargeHeight:150,minWarningWidth:400,minWarningHeight:150,aspectRatio:8/3,displayRatio:j(8,3),cropKey:c("AdImageSpecCropKeys")["400x150"],supportedTypes:[i.INLINE_FAN]},PAGE_LIKE_RHC:{placement:c("AdsPageTypes").RIGHT_COLUMN,position:c("AdsAPIFacebookPosition").RHC,width:1200,height:444,minWarningWidth:400,minWarningHeight:150,aspectRatio:8/3,displayRatio:j(8,3),cropKey:c("AdImageSpecCropKeys")["400x150"],supportedTypes:[i.INLINE_FAN]},PAGE_POST_DESKTOP_FEED:{placement:c("AdsPageTypes").DESKTOP_FEED,position:c("AdsAPIFacebookPosition").FEED,devicePlatform:c("AdsAPIDevicePlatform").DESKTOP,width:1200,height:628,minLargeWidth:400,minLargeHeight:209,minWarningWidth:254,minWarningHeight:133,aspectRatio:1.91,displayRatio:j(1.91,1),cropKey:c("AdImageSpecCropKeys")["191x100"],supportedTypes:[i.STANDARD,i.FEED_URL,i.PAGE_POSTS_V2]},PAGE_POST_MOBILE_FEED:{placement:c("AdsPageTypes").MOBILE_FEED,position:c("AdsAPIFacebookPosition").FEED,devicePlatform:c("AdsAPIDevicePlatform").MOBILE,width:1200,height:628,minLargeWidth:400,minLargeHeight:209,minWarningWidth:254,minWarningHeight:133,aspectRatio:1.91,displayRatio:j(1.91,1),cropKey:c("AdImageSpecCropKeys")["191x100"],supportedTypes:[i.STANDARD,i.FEED_URL,i.PAGE_POSTS_V2]},PAGE_POST_RIGHT_COLUMN:{placement:c("AdsPageTypes").RIGHT_COLUMN,position:c("AdsAPIFacebookPosition").RHC,width:1200,height:628,minLargeWidth:400,minLargeHeight:209,minWarningWidth:254,minWarningHeight:133,aspectRatio:1.91,displayRatio:j(1.91,1),cropKey:c("AdImageSpecCropKeys")["191x100"],supportedTypes:[i.STANDARD,i.FEED_URL,i.PAGE_POSTS_V2]},AUDIENCE_NETWORK_MOBILE_EXTERNAL:{placement:c("AdsPageTypes").MOBILE_EXTERNAL,platform:c("AdsAPIPublisherPlatform").AUDIENCE_NETWORK,devicePlatform:c("AdsAPIDevicePlatform").MOBILE,width:1200,height:628,minLargeWidth:400,minLargeHeight:209,minWarningWidth:254,minWarningHeight:133,aspectRatio:1.91,displayRatio:j(1.91,1),cropKey:c("AdImageSpecCropKeys")["191x100"],supportedTypes:[i.FEED_URL,i.NEKO_LPP,i.PAGE_POSTS_V2]},PAGE_POST_MULTI_PRODUCT:{placement:c("AdsPageTypes").DESKTOP_FEED,position:c("AdsAPIFacebookPosition").FEED,devicePlatform:c("AdsAPIDevicePlatform").DESKTOP,width:1080,height:1080,minWarningWidth:600,minWarningHeight:600,aspectRatio:1,displayRatio:j(1,1),cropKey:c("AdImageSpecCropKeys")["100x100"],supportedTypes:[]},PAGE_POST_DESKTOP_FEED_NEKO:{placement:c("AdsPageTypes").DESKTOP_FEED,position:c("AdsAPIFacebookPosition").FEED,devicePlatform:c("AdsAPIDevicePlatform").DESKTOP,width:1200,height:628,minWarningWidth:600,minWarningHeight:314,aspectRatio:1.91,displayRatio:j(1.91,1),cropKey:c("AdImageSpecCropKeys")["191x100"],supportedTypes:[i.NEKO_LPP]},PAGE_POST_MOBILE_FEED_NEKO:{placement:c("AdsPageTypes").MOBILE_FEED,position:c("AdsAPIFacebookPosition").FEED,devicePlatform:c("AdsAPIDevicePlatform").MOBILE,width:1200,height:628,minWarningWidth:600,minWarningHeight:314,aspectRatio:1.91,displayRatio:j(1.91,1),cropKey:c("AdImageSpecCropKeys")["191x100"],supportedTypes:[i.NEKO_LPP]},PAGE_PROFILE:{width:180,height:180,minWarningWidth:180,minWarningHeight:180,previewRatio:.5,aspectRatio:1,displayRatio:j(1,1),cropKey:c("AdImageSpecCropKeys")["100x100"],ignoreTextCoverage:true},INSTAGRAM_STORY:{placement:c("AdsPageTypes").INSTAGRAM_STORY,position:c("AdsAPIInstagramPosition").STORY,width:1080,height:1920,minWarningWidth:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH,minWarningHeight:c("AdsInstagramMediaSpecs").MIN_STORY_MEDIA_HEIGHT,aspectRatio:0,displayRatio:j(9,16),maxWarningAspectRatio:c("AdsInstagramMediaSpecs").MAX_STORY_ASPECT_RATIO,aspectRatioTolerance:c("AdsInstagramMediaSpecs").ASPECT_RATIO_TOLERANCE,cropKey:c("AdImageSpecCropKeys").NO_CROP,supportedTypes:[i.AD_VIDEO,i.FEED_URL,i.NEKO_LPP,i.PAGE_POSTS_V2]},INSTAGRAM_STORY_CROP:{placement:c("AdsPageTypes").INSTAGRAM_STORY,position:c("AdsAPIInstagramPosition").STORY,width:1080,height:1920,minWarningWidth:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH,minWarningHeight:c("AdsInstagramMediaSpecs").MIN_STORY_MEDIA_HEIGHT,aspectRatio:.5625,displayRatio:j(9,16),cropKey:c("AdImageSpecCropKeys")["90x160"],supportedTypes:[i.AD_VIDEO,i.FEED_URL,i.NEKO_LPP,i.PAGE_POSTS_V2]},INSTAGRAM_STREAM:{placement:c("AdsPageTypes").INSTAGRAM_STREAM,position:c("AdsAPIInstagramPosition").STREAM,width:1080,height:1080,minWarningWidth:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH,minWarningHeight:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH,aspectRatio:1,displayRatio:j(1,1),cropKey:c("AdImageSpecCropKeys")["100x100"],supportedTypes:[i.AD_VIDEO,i.FEED_URL,i.NEKO_LPP,i.PAGE_POSTS_V2]},INSTAGRAM_STREAM_NO_CROP:{placement:c("AdsPageTypes").INSTAGRAM_STREAM,position:c("AdsAPIInstagramPosition").STREAM,width:1080,height:1080,minWarningWidth:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH,minWarningHeight:c("AdsInstagramMediaSpecs").MIN_STREAM_MEDIA_HEIGHT,aspectRatio:0,minWarningAspectRatio:c("AdsInstagramMediaSpecs").MIN_STREAM_ASPECT_RATIO,maxWarningAspectRatio:c("AdsInstagramMediaSpecs").MAX_STREAM_ASPECT_RATIO,minWarningDisplayRatio:j(4,5),maxWarningDisplayRatio:j(1.91,1),aspectRatioTolerance:c("AdsInstagramMediaSpecs").ASPECT_RATIO_TOLERANCE,cropKey:c("AdImageSpecCropKeys").NO_CROP,supportedTypes:[i.AD_VIDEO,i.FEED_URL,i.NEKO_LPP,i.PAGE_POSTS_V2]},INSTAGRAM_STREAM_LANDSCAPE:{placement:c("AdsPageTypes").INSTAGRAM_STREAM,position:c("AdsAPIInstagramPosition").STREAM,width:1200,height:628,minWarningWidth:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH,minWarningHeight:c("AdsInstagramMediaSpecs").MIN_STREAM_MEDIA_HEIGHT,aspectRatio:c("AdsInstagramMediaSpecs").MAX_STREAM_ASPECT_RATIO,displayRatio:j(1.91,1),cropKey:c("AdImageSpecCropKeys")["191x100"],supportedTypes:[i.AD_VIDEO,i.FEED_URL,i.NEKO_LPP,i.PAGE_POSTS_V2]},MESSENGER:{placement:c("AdsPageTypes").MESSENGER,platform:c("AdsAPIPublisherPlatform").MESSENGER,width:1200,height:628,minLargeWidth:400,minLargeHeight:209,minWarningWidth:254,minWarningHeight:133,aspectRatio:1.91,displayRatio:j(1.91,1),cropKey:c("AdImageSpecCropKeys")["191x100"],supportedTypes:[i.FEED_URL,i.PAGE_POSTS_V2]},EVENT_DESKTOP_FEED:{placement:c("AdsPageTypes").DESKTOP_FEED,position:c("AdsAPIFacebookPosition").FEED,devicePlatform:c("AdsAPIDevicePlatform").DESKTOP,width:1200,height:628,minLargeWidth:400,minLargeHeight:209,minWarningWidth:254,minWarningHeight:133,aspectRatio:1.91,displayRatio:j(1.91,1),cropKey:c("AdImageSpecCropKeys")["191x100"],supportedTypes:[i.INLINE_RSVP]},EVENT_MOBILE_FEED:{placement:c("AdsPageTypes").MOBILE_FEED,position:c("AdsAPIFacebookPosition").FEED,devicePlatform:c("AdsAPIDevicePlatform").MOBILE,width:1200,height:628,minLargeWidth:400,minLargeHeight:209,minWarningWidth:254,minWarningHeight:133,aspectRatio:1.91,displayRatio:j(1.91,1),cropKey:c("AdImageSpecCropKeys")["191x100"],supportedTypes:[i.INLINE_RSVP]},EVENT_RHC:{placement:c("AdsPageTypes").RIGHT_COLUMN,position:c("AdsAPIFacebookPosition").RHC,width:1200,height:628,minLargeWidth:400,minLargeHeight:209,minWarningWidth:254,minWarningHeight:133,aspectRatio:1.91,displayRatio:j(1.91,1),cropKey:c("AdImageSpecCropKeys")["191x100"],supportedTypes:[i.INLINE_RSVP]},PAGE_POST_OFFER_VIEW:{placement:c("AdsPageTypes").DESKTOP_FEED,position:c("AdsAPIFacebookPosition").FEED,devicePlatform:c("AdsAPIDevicePlatform").DESKTOP,width:610,height:318,minWarningWidth:610,minWarningHeight:318,aspectRatio:1.917,displayRatio:j(1.91,1),cropKey:c("AdImageSpecCropKeys")["191x100"],supportedTypes:[]},CANVAS_COLLECTIONS:{placement:c("AdsPageTypes").MOBILE_FEED,position:c("AdsAPIFacebookPosition").FEED,devicePlatform:c("AdsAPIDevicePlatform").MOBILE,width:1080,height:1080,minWarningWidth:100,minWarningHeight:100,aspectRatio:1,displayRatio:j(1,1),cropKey:c("AdImageSpecCropKeys")["100x100"],supportedTypes:[]}};f.exports=k}),null);
__d("AdsPlacementPlatforms",["keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirror")({AUDIENCE_NETWORK:null,FACEBOOK:null,INSTAGRAM:null});f.exports=h}),null);
__d("InstagramAdImageLowResolutionSpecs",["fbt","AdCreativeType","AdImageSpecCropKeys","AdsInstagramMediaSpecs","AdsPageTypes","intlNumUtils"],(function a(b,c,d,e,f,g,h){"use strict";var i=c("AdCreativeType").AD_CREATIVE_TYPE;function j(l,m){return h._({"*":{"*":"{Numerator}:{Denominator}"}},[h.param("Numerator",l,[0]),h.param("Denominator",m,[0])])}var k={INSTAGRAM_STORY:{placement:c("AdsPageTypes").INSTAGRAM_STORY,width:1080,height:1920,minWarningWidth:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH_LOW_RES,minWarningHeight:c("AdsInstagramMediaSpecs").MIN_STORY_MEDIA_HEIGHT_LOW_RES,aspectRatio:0,displayRatio:j(9,16),maxWarningAspectRatio:c("AdsInstagramMediaSpecs").MAX_STORY_ASPECT_RATIO,aspectRatioTolerance:c("AdsInstagramMediaSpecs").ASPECT_RATIO_TOLERANCE,cropKey:c("AdImageSpecCropKeys").NO_CROP,supportedTypes:[i.AD_VIDEO,i.FEED_URL,i.NEKO_LPP,i.PAGE_POSTS_V2]},INSTAGRAM_STORY_CROP:{placement:c("AdsPageTypes").INSTAGRAM_STORY,width:1080,height:1920,minWarningWidth:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH_LOW_RES,minWarningHeight:c("AdsInstagramMediaSpecs").MIN_STORY_MEDIA_HEIGHT_LOW_RES,aspectRatio:.5625,displayRatio:j(9,16),cropKey:c("AdImageSpecCropKeys")["90x160"],supportedTypes:[i.AD_VIDEO,i.FEED_URL,i.NEKO_LPP,i.PAGE_POSTS_V2]},INSTAGRAM_STREAM:{placement:c("AdsPageTypes").INSTAGRAM_STREAM,width:1080,height:1080,minWarningWidth:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH_LOW_RES,minWarningHeight:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH_LOW_RES,aspectRatio:1,displayRatio:j(1,1),cropKey:c("AdImageSpecCropKeys")["100x100"],supportedTypes:[i.AD_VIDEO,i.FEED_URL,i.NEKO_LPP,i.PAGE_POSTS_V2]},INSTAGRAM_STREAM_NO_CROP:{placement:c("AdsPageTypes").INSTAGRAM_STREAM,width:1080,height:1080,minWarningWidth:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH_LOW_RES,minWarningHeight:c("AdsInstagramMediaSpecs").MIN_STREAM_MEDIA_HEIGHT_LOW_RES,aspectRatio:0,minWarningAspectRatio:c("AdsInstagramMediaSpecs").MIN_STREAM_ASPECT_RATIO,maxWarningAspectRatio:c("AdsInstagramMediaSpecs").MAX_STREAM_ASPECT_RATIO,aspectRatioTolerance:c("AdsInstagramMediaSpecs").ASPECT_RATIO_TOLERANCE,cropKey:c("AdImageSpecCropKeys").NO_CROP,supportedTypes:[i.AD_VIDEO,i.FEED_URL,i.NEKO_LPP,i.PAGE_POSTS_V2]},INSTAGRAM_STREAM_LANDSCAPE:{placement:c("AdsPageTypes").INSTAGRAM_STREAM,width:1200,height:628,minWarningWidth:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH_LOW_RES,minWarningHeight:c("AdsInstagramMediaSpecs").MIN_STREAM_MEDIA_HEIGHT_LOW_RES,aspectRatio:c("AdsInstagramMediaSpecs").MAX_STREAM_ASPECT_RATIO,displayRatio:j(1.91,1),cropKey:c("AdImageSpecCropKeys")["191x100"],supportedTypes:[i.AD_VIDEO,i.FEED_URL,i.NEKO_LPP,i.PAGE_POSTS_V2]}};f.exports=k}),null);
__d("InstagramAdImageStoryPortalSpecs",["fbt","AdCreativeType","AdImageSpecCropKeys","AdsAPIInstagramPosition","AdsInstagramMediaSpecs","AdsPageTypes","intlNumUtils"],(function a(b,c,d,e,f,g,h){"use strict";var i=c("AdCreativeType").AD_CREATIVE_TYPE;function j(l,m){return h._({"*":{"*":"{Numerator}:{Denominator}"}},[h.param("Numerator",l,[0]),h.param("Denominator",m,[0])])}var k={INSTAGRAM_STORY:{placement:c("AdsPageTypes").INSTAGRAM_STORY,position:c("AdsAPIInstagramPosition").STORY,width:1080,height:1920,minWarningWidth:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH,minWarningHeight:c("AdsInstagramMediaSpecs").MIN_STREAM_MEDIA_HEIGHT,aspectRatio:0,displayRatio:j(9,16),maxWarningAspectRatio:c("AdsInstagramMediaSpecs").MAX_STREAM_ASPECT_RATIO,aspectRatioTolerance:c("AdsInstagramMediaSpecs").ASPECT_RATIO_TOLERANCE,cropKey:c("AdImageSpecCropKeys").NO_CROP,supportedTypes:[i.AD_VIDEO,i.FEED_URL,i.NEKO_LPP,i.PAGE_POSTS_V2]},INSTAGRAM_STORY_SQUARE:{placement:c("AdsPageTypes").INSTAGRAM_STORY,position:c("AdsAPIInstagramPosition").STORY,width:1080,height:1080,minWarningWidth:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH,minWarningHeight:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH,aspectRatio:1,displayRatio:j(1,1),cropKey:c("AdImageSpecCropKeys")["100x100"],supportedTypes:[i.AD_VIDEO,i.FEED_URL,i.NEKO_LPP,i.PAGE_POSTS_V2]},INSTAGRAM_STORY_LANDSCAPE:{placement:c("AdsPageTypes").INSTAGRAM_STORY,position:c("AdsAPIInstagramPosition").STORY,width:1200,height:628,minWarningWidth:c("AdsInstagramMediaSpecs").MIN_MEDIA_WIDTH,minWarningHeight:c("AdsInstagramMediaSpecs").MIN_STREAM_MEDIA_HEIGHT,aspectRatio:c("AdsInstagramMediaSpecs").MAX_STREAM_ASPECT_RATIO,displayRatio:j(1.91,1),cropKey:c("AdImageSpecCropKeys")["191x100"],supportedTypes:[i.AD_VIDEO,i.FEED_URL,i.NEKO_LPP,i.PAGE_POSTS_V2]}};f.exports=k}),null);
__d("AdsGuidanceMegaphoneNux.react",["cx","BUIAdoptionCloseButton.react","Image.react","React","SUIBusinessTheme","SUIText.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=c("React").Component;i=babelHelpers.inherits(m,l);j=i&&i.prototype;m.prototype.render=function(){var n=c("React").createElement(c("BUIAdoptionCloseButton.react"),{className_DEPRECATED:"_2hs9",shade:"dark",onClick:this.props.onClose}),o=c("React").createElement(c("SUIText.react"),{className:"_2pim",display:"block",size:"medium_DEPRECATED",theme:c("SUIBusinessTheme"),weight:"bold"},this.props.title),p=c("React").createElement("div",null,o,this.props.children),q=void 0;if(this.props.imageSrc)q=c("React").createElement("div",{className:"_20f1"+(this.props.containerAlign==="center"?" _2hs2":"")},c("React").createElement("div",{className:"_20f2"+(this.props.imageAlign==="center"?" _2hs6":""),style:{backgroundColor:this.props.imageBackgroundColor}},c("React").createElement(c("Image.react"),{className:"_2hs7",src:this.props.imageSrc})),c("React").createElement("div",{className:"_20f3"},p));else q=p;return c("React").createElement("div",{className:"_2hs8"},q,n)};function m(){i.apply(this,arguments)}m.propTypes={containerAlign:k.oneOf(["left","center"]),imageAlign:k.oneOf(["top","center"]),imageBackgroundColor:k.string,imageSrc:k.object,title:k.node.isRequired,onClose:k.func.isRequired};m.defaultProps={containerAlign:"left",imageAlign:"top"};f.exports=m}),null);
__d("AdsAGBlueTip.react",["AdsBlueTip.react","React"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("React").Component);i=h&&h.prototype;j.prototype.render=function(){var k=this.props,l=k.behaviors,m=k.context,n=k.insertParent_DO_NOT_USE,o=k.messageContent,p=k.position,q=k.onClose;return c("React").createElement(c("AdsBlueTip.react"),{behaviors:l,context:m,insertParent:n,position:p,onClose:q},o)};function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("AYMTAdsIntelligentBlueTipRenderer",["AdsAGBlueTip.react","AdsGuidanceBaseNuxRenderer","AdsGuidanceChannelObject","immutable","React","ge"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("AdsGuidanceChannelObject").NuxData,k=c("AdsGuidanceChannelObject").ChannelData;h=babelHelpers.inherits(l,c("AdsGuidanceBaseNuxRenderer"));i=h&&h.prototype;function l(m){i.constructor.call(this,m)}l.prototype.getIDs=function(){return c("immutable").Set([this.getProps().messageID])};l.prototype.canRender=function(m,n,o){return!!c("ge")(this.getProps().contextNodeID)};l.prototype.getElement=function(m,n,o,p,q){var r=this.getProps(),s=r.behaviors,t=r.contextNodeID,u=r.insertParent_DO_NOT_USE,v=r.messageContent,w=r.position,x=r.onCloseCustomized,y=function y(){x&&x();p()};return c("React").createElement(c("AdsAGBlueTip.react"),{behaviors:s,context:c("ge")(t),insertParent_DO_NOT_USE:u,messageContent:v,position:w,onClose:y})};f.exports=l}),null);
__d("AdsIntelligentComponentsQEStoreUtils",["AdsQEStore"],(function a(b,c,d,e,f,g){"use strict";var h="use_intelligent_system",i={shouldUseIntelligentBlueTips:function j(){var k=c("AdsQEStore").getForCurrentUser("ads_intelligent_blue_tip");return k&&k.isDone()&&k.hasValue()?k.getValueEnforcing().getParamBool(h):false}};f.exports=i}),null);
__d("ContextualLayerAutoFlipBluetip",["ContextualLayerAutoFlip"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("ContextualLayerAutoFlip"));i=h&&h.prototype;j.prototype.__setBestPosition=function(k,l,m){if(k>=0)l.setPosition(m[k]);else l.setPosition(m[0])};function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("AdsIntelligentBlueTip.react",["AdsGuidanceStandaloneNuxContainer.react","AdsIntelligentComponentsQEStoreUtils","AYMTAdsIntelligentBlueTipRenderer","BootloadedComponent.react","ContextualLayerAutoFlipBluetip","ContextualLayerShowAndHideOnScrollOut","ContextualLayerUpdateOnScroll","JSResource","LayerFadeOnHide","LayerFadeOnShow","LayerHideOnTransition","React"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("React").Component);i=h&&h.prototype;j.prototype.render=function(){var k=this.props,l=k.behaviors,m=k.channelName,n=k.contextNodeID,o=k.insertParent_DO_NOT_USE,p=k.messageContent,q=k.messageID,r=k.position,s=k.onClick,t=k.onClose;if(c("AdsIntelligentComponentsQEStoreUtils").shouldUseIntelligentBlueTips())return c("React").createElement(c("BootloadedComponent.react"),{behaviors:l,bootloadLoader:c("JSResource")("AdsIntelligentBlueTipContainer.react").__setRef("AdsIntelligentBlueTip.react"),bootloadPlaceholder:c("React").createElement("span",null),contextNodeID:n,messageID:q,position:r,onClose:t,onLearnMoreClick:s});return c("React").createElement(c("AdsGuidanceStandaloneNuxContainer.react"),{channelName:m,nuxName:q,renderer:new(c("AYMTAdsIntelligentBlueTipRenderer"))({behaviors:l,contextNodeID:n,insertParent_DO_NOT_USE:o,messageContent:p,messageID:q,position:r,onClose:t})})};function j(){h.apply(this,arguments)}j.DEFAULT_BEHAVIORS=Object.freeze({ContextualLayerAutoFlipBluetip:c("ContextualLayerAutoFlipBluetip"),ContextualLayerShowAndHideOnScrollOut:c("ContextualLayerShowAndHideOnScrollOut"),ContextualLayerUpdateOnScroll:c("ContextualLayerUpdateOnScroll"),LayerFadeOnHide:c("LayerFadeOnHide"),LayerFadeOnShow:c("LayerFadeOnShow"),LayerHideOnTransition:c("LayerHideOnTransition")});j.defaultProps={behaviors:j.DEFAULT_BEHAVIORS,position:"right"};f.exports=j}),null);
__d("AdsCreativeOptimizedUtils",["AdsAPIAdgroupPaths","AdsEmptyValue","AdsMixedValue","getBulkByPath"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=3,i=2,j=10,k=10,l=5,m={getMaxProductsNum_DEPRECATED:function n(o){var p=l,q=c("getBulkByPath")(o,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.MULTI_SHARE_OPTIMIZED);if(!(q instanceof c("AdsMixedValue")))p=q instanceof c("AdsEmptyValue")||q.getValue()?k:l;return p},getMaxProductsNum:function n(){return j},getMinProductsNum:function n(){return i},getInstagramStoryMaxProductsNum:function n(){return h}};f.exports=m}),null);
__d("AdsShutterstockImageByIDLoaderActionTypes",["keyMirrorRecursive"],(function a(b,c,d,e,f,g){"use strict";var h={START:"",SUCCESS:"",ERROR:""},i=c("keyMirrorRecursive")(h,"AdsShutterstockImageByIDLoader");f.exports=i}),null);
__d("AdsActionCategories",["keyMirrorRecursive"],(function a(b,c,d,e,f,g){"use strict";var h="ADS_CATEGORY",i=Object.freeze({STATE_CHANGE:""}),j=c("keyMirrorRecursive")(i,h);f.exports=j}),null);
__d("AdsBaseDataLoader",["AdsDataAtom","abstractMethod","setImmediate"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();h.prototype.__getActionTypes=function(){return c("abstractMethod")("AdsBaseDataLoader","__getActionTypes")};h.prototype.promise=function(){return c("abstractMethod")("AdsBaseDataLoader","promise")};h.prototype.dispatch=function(){for(var i=arguments.length,j=Array(i),k=0;k<i;k++)j[k]=arguments[k];c("setImmediate")(function(){c("AdsDataAtom").handleUpdateFromServerResponse({data:{args:j},type:this.__getActionTypes().START});this.promise.apply(this,j).done(function(l){return c("AdsDataAtom").handleUpdateFromServerResponse({data:{args:j,result:l},type:this.__getActionTypes().SUCCESS})}.bind(this),function(l){return c("AdsDataAtom").handleUpdateFromServerResponse({data:{args:j,error:l},type:this.__getActionTypes().ERROR})}.bind(this))}.bind(this))};function h(){}f.exports=h}),null);
__d("AdsInstagramAccountBusinessBatchLoadErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.BUSINESS.BATCH_LOAD_ERROR");f.exports=h}),null);
__d("AdsBusinessInstagramAccountActions",["AdsInstagramAccountBusinessBatchLoadedDataAction","AdsInstagramAccountBusinessBatchLoadErrorDataAction"],(function a(b,c,d,e,f,g){"use strict";var h={accountsBatchLoaded:function i(j){c("AdsInstagramAccountBusinessBatchLoadedDataAction").dispatch({specs:j})},accountsBatchLoadError:function i(j){c("AdsInstagramAccountBusinessBatchLoadErrorDataAction").dispatch({errors:j})}};f.exports=h}),null);
__d("AdsAPIShutterstockImageFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ID:"id",PREVIEW:"preview",PREVIEW_URL:"preview_url",THUMBNAIL:"thumbnail"})}),null);
__d("AdsShutterstockImageByIDLoader",["AdsAPIShutterstockImageFields","AdsBaseDataLoader","AdsGraphAPI","AdsShutterstockImageByIDLoaderActionTypes"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=[c("AdsAPIShutterstockImageFields").ID,c("AdsAPIShutterstockImageFields").PREVIEW,c("AdsAPIShutterstockImageFields").PREVIEW_URL,c("AdsAPIShutterstockImageFields").THUMBNAIL];h=babelHelpers.inherits(k,c("AdsBaseDataLoader"));i=h&&h.prototype;k.prototype.__getActionTypes=function(){return c("AdsShutterstockImageByIDLoaderActionTypes")};k.prototype.promise=function(){for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];var p=n[0],q=p;return c("AdsGraphAPI").get(f.id).root(q).get({fields:j})};function k(){h.apply(this,arguments)}var l=new k();f.exports=l}),null);
__d("AdsBusinessInstagramAccountDataManager",["fbt","AdsBaseDataManager","AdsBusinessInstagramAccountActions","AdsGraphAPI","GraphEdgeName","GraphInstagramUserFields"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=100;i=babelHelpers.inherits(l,c("AdsBaseDataManager"));j=i&&i.prototype;l.prototype.loadAll=function(m){m.forEach(function(n){return this.load(n)}.bind(this))};l.prototype.load=function(m){c("AdsGraphAPI").get(f.id).adaccount(m).edge(c("GraphEdgeName").INSTAGRAM_ACCOUNTS).batched().get({fields:[c("GraphInstagramUserFields").HAS_PROFILE_PIC,c("GraphInstagramUserFields").ID,c("GraphInstagramUserFields").IS_BUSINESS,c("GraphInstagramUserFields").IS_PRIVATE,c("GraphInstagramUserFields").IS_PUBLISHED,c("GraphInstagramUserFields").PROFILE_PIC,c("GraphInstagramUserFields").USERNAME],limit:k}).done(this.__handleSuccess.bind(this,["load"],m,null),this.__handleError.bind(this,["load"],m,null))};l.prototype.__onBatchLoaded=function(m){c("AdsBusinessInstagramAccountActions").accountsBatchLoaded(m)};l.prototype.__onBatchLoadError=function(m){c("AdsBusinessInstagramAccountActions").accountsBatchLoadError(m)};l.prototype.__getObjectTypeLabel=function(){return h._("Instagram Account")};function l(){i.apply(this,arguments)}f.exports=new l()}),null);
__d("AdsBusinessInstagramAccountStore",["AdsBaseDataStore","AdsBusinessInstagramAccountDataManager","AdsInstagramAccountBusinessBatchLoadedDataAction","AdsInstagramAccountBusinessBatchLoadErrorDataAction","AdsInstagramAccountErrorRefreshAllErrorsDataAction","AdsLoadState_LEGACY"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("AdsBaseDataStore"));i=h&&h.prototype;j.prototype.getDataManager=function(){return c("AdsBusinessInstagramAccountDataManager")};j.prototype.__onDispatch=function(k){var l=k.action;switch(l.type){case c("AdsInstagramAccountBusinessBatchLoadedDataAction").actionType:this.__handleData(l.specs,c("AdsLoadState_LEGACY").LOADED);break;case c("AdsInstagramAccountBusinessBatchLoadErrorDataAction").actionType:this.__handleData(l.errors,c("AdsLoadState_LEGACY").ERROR);break;case c("AdsInstagramAccountErrorRefreshAllErrorsDataAction").actionType:if(this.__invalidateAllErrors())this.__emitChange();break}};function j(){h.apply(this,arguments)}f.exports=new j()}),null);
__d("ShutterstockImage",["invariant","immutable"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("immutable").Record({id:null,preview:null,preview_url:null,thumbnail:null}));j=i&&i.prototype;function k(l){if(Object.prototype.hasOwnProperty.call(l,"id"))typeof l.id==="string"&&l.id.startsWith("ssimg_")||h(0);if(Object.prototype.hasOwnProperty.call(l,"preview_url"))typeof l.preview_url==="string"||h(0);j.constructor.call(this,l)}f.exports=k}),null);
__d("AdsShutterstockImageByIDStore",["AdsDataAtom","AdsShutterstockImageByIDLoader","AdsShutterstockImageByIDLoaderActionTypes","FluxStore","LoadObject","Map","ShutterstockImage","setImmediate"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("FluxStore"));i=h&&h.prototype;function j(){i.constructor.call(this,c("AdsDataAtom"));this.$AdsShutterstockImageByIDStoreClass1=new(c("Map"))();this.$AdsShutterstockImageByIDStoreClass2=new(c("Map"))();this.$AdsShutterstockImageByIDStoreClass2.set(c("AdsShutterstockImageByIDLoaderActionTypes").START,this.$AdsShutterstockImageByIDStoreClass3);this.$AdsShutterstockImageByIDStoreClass2.set(c("AdsShutterstockImageByIDLoaderActionTypes").SUCCESS,this.$AdsShutterstockImageByIDStoreClass4);this.$AdsShutterstockImageByIDStoreClass2.set(c("AdsShutterstockImageByIDLoaderActionTypes").ERROR,this.$AdsShutterstockImageByIDStoreClass5)}j.prototype.$AdsShutterstockImageByIDStoreClass6=function(){return{accessed:false,legacyCallbacks:[],loadObject:c("LoadObject").empty(),scheduledLoad:false}};j.prototype.$AdsShutterstockImageByIDStoreClass7=function(l){return this.$AdsShutterstockImageByIDStoreClass1.get(l)};j.prototype.$AdsShutterstockImageByIDStoreClass8=function(l){var m=this.$AdsShutterstockImageByIDStoreClass7(l);if(!m){m=this.$AdsShutterstockImageByIDStoreClass6();this.$AdsShutterstockImageByIDStoreClass1.set(l,m)}return m};j.prototype.$AdsShutterstockImageByIDStoreClass9=function(l){var m=this.$AdsShutterstockImageByIDStoreClass8(l);m.accessed=true;return m};j.prototype.get=function(l){var m=this.$AdsShutterstockImageByIDStoreClass9(l),n=m.loadObject;if(!n.hasValue()&&!n.hasError()&&!n.hasOperation()&&!m.scheduledLoad){m.scheduledLoad=true;c("AdsShutterstockImageByIDLoader").dispatch(l)}return n};j.prototype.getCached=function(l){return this.$AdsShutterstockImageByIDStoreClass9(l).loadObject};j.prototype.__onDispatch=function(l){var m=l.action,n=this.$AdsShutterstockImageByIDStoreClass2.get(m.type);if(n){var o=n.call(this,m.data);if(o)this.__emitChange()}};j.prototype.$AdsShutterstockImageByIDStoreClass10=function(l,m){var n=this.$AdsShutterstockImageByIDStoreClass8(l),o=n.accessed,p=n.loadObject;m(n);var q=n.loadObject;if(q.hasValue()||q.hasError()){n.legacyCallbacks.forEach(function(r){return this.$AdsShutterstockImageByIDStoreClass11(r,q)}.bind(this));n.legacyCallbacks=[]}return o&&q!==p};j.prototype.$AdsShutterstockImageByIDStoreClass11=function(l,m){c("setImmediate")(function(){return l(m)})};j.prototype.addLegacyCallback_DONT_USE_IN_NEW_CODE=function(l,m){var n=this.$AdsShutterstockImageByIDStoreClass9(l),o=n.loadObject;if(o.hasValue()||o.hasError())this.$AdsShutterstockImageByIDStoreClass11(m,o);else{n.legacyCallbacks.push(m);this.get(l)}};j.prototype.$AdsShutterstockImageByIDStoreClass3=function(l){var m=l.args;return this.$AdsShutterstockImageByIDStoreClass10(m[0],function(n){n.loadObject=n.loadObject.loading();n.scheduledLoad=false})};j.prototype.$AdsShutterstockImageByIDStoreClass4=function(l){var m=l.args,n=l.result;return this.$AdsShutterstockImageByIDStoreClass10(m[0],function(o){o.loadObject=o.loadObject.setValue(new(c("ShutterstockImage"))(n)).done()})};j.prototype.$AdsShutterstockImageByIDStoreClass5=function(l){var m=l.args,n=l.error;return this.$AdsShutterstockImageByIDStoreClass10(m[0],function(o){o.loadObject=o.loadObject.setError(n).done()})};var k=new j();f.exports=k}),null);
__d("AdsAdgroupTemplateStaticCardMutators",["AdsAdgroupChildAttachmentTypes","AdsAdgroupSpecUtils","AdsAPIAdgroupPaths","AdsAPIChildAttachmentPaths","AdsChildAttachmentsUtils","AdsUnifiedCreativeAPIFieldMappings","ApiCallToActionFields","immutable"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsUnifiedCreativeAPIFieldMappings").TEMPLATE_MAPPING,i=2;function j(s,t){var u,v,w=c("AdsAdgroupSpecUtils").getCallToActionType(s,t);return c("immutable").fromJS((v={},v[c("AdsAPIChildAttachmentPaths").DESCRIPTION]=s.getIn(h.linkDescription),v[c("AdsAPIChildAttachmentPaths").LINK]=s.getIn(h.linkURL)||"",v[c("AdsAPIChildAttachmentPaths").NAME]=s.getIn(h.headline),v[c("AdsAPIChildAttachmentPaths").CALL_TO_ACTION.path]=c("immutable").Map((u={},u[c("ApiCallToActionFields").TYPE]=w,u)),v))}function k(s,t,u){u=u.setIn(c("AdsAPIChildAttachmentPaths").STATIC_CARD,true);var v=s.getIn(h.childAttachments);if(!v)v=c("immutable").fromJS([j(s,t),u]);else v=v.splice(i,0,c("immutable").fromJS(u));return p(s,v)}function l(s){return m(s,c("AdsAdgroupChildAttachmentTypes").PLACE)}function m(s,t){__p&&__p();var u=s.getIn(h.childAttachments);if(!u)return s;var v=u.filter(function(w){return!!w.getIn(c("AdsAPIChildAttachmentPaths").STATIC_CARD)}).size>1;if(!v)return q(s);u=u.filter(function(w,x){var y=c("AdsChildAttachmentsUtils").getChildAttachmentType(s,w);return y!==t});return p(s,u)}function n(s){return m(s,c("AdsAdgroupChildAttachmentTypes").STATIC)}function o(s,t){var u,v,w=c("AdsAdgroupSpecUtils").getCallToActionType(s,t),x=(v={},v[c("AdsAPIChildAttachmentPaths").LINK]=s.getIn(h.linkURL)||"",v[c("AdsAPIChildAttachmentPaths").STATIC_CARD]=true,v[c("AdsAPIChildAttachmentPaths").CALL_TO_ACTION.path]=c("immutable").Map((u={},u[c("ApiCallToActionFields").TYPE]=w,u)),v),y=s.getIn(h.childAttachments);if(!y)y=c("immutable").fromJS([x,j(s,t)]);else y=y.splice(0,0,c("immutable").fromJS(x));return p(s,y)}function p(s,t){var u=c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA;return s.deleteIn(h.headline).deleteIn(h.linkDescription).deleteIn(u.FORCE_SINGLE_LINK).setIn(h.childAttachments,t)}function q(s){var t=s.getIn(h.childAttachments),u=t.findIndex(function(x){return!x.getIn(c("AdsAPIChildAttachmentPaths").STATIC_CARD)}).toString(),v=t.getIn([u].concat(c("AdsAPIChildAttachmentPaths").NAME)),w=t.getIn([u].concat(c("AdsAPIChildAttachmentPaths").DESCRIPTION));return s.setIn(h.headline,v).setIn(h.linkDescription,w).deleteIn(h.childAttachments)}var r={addLeadingStaticCard:o,appendPlaceData:k,removeAllStaticCards:q,removeLeadingStaticCard:n,removePlaceData:l};f.exports=r}),null);
__d("AdsAdgroupPlaceDataMutators",["AdsAdgroupSpecUtils","AdsAdgroupTemplateStaticCardMutators","AdsAPIAdgroupRecordUtils","AdsAPIObjectives","AdsCreativeOptimizedUtils","AdsUnifiedCreativeAPIFields","ApiCallToActionFields","ApiObjectStorySpecLinkChildFields","immutable"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(j,k,l){__p&&__p();var m;if(!c("AdsAPIAdgroupRecordUtils").hasPlaceData(j,l))return j;if(c("AdsAdgroupSpecUtils").isTemplateCreative(j)&&k!==c("AdsAPIObjectives").STORE_VISITS)return c("AdsAdgroupTemplateStaticCardMutators").removePlaceData(j);var n=c("AdsUnifiedCreativeAPIFields").childAttachments.getValue(j,l);if(!n)return j;n=n.filter(function(v){return v&&!v.get(c("ApiObjectStorySpecLinkChildFields").PLACE_DATA)});j=j.setIn(c("AdsUnifiedCreativeAPIFields").childAttachments.getPath(j,l),n);var o=n.size;if(o===0||o>=c("AdsCreativeOptimizedUtils").getMinProductsNum())return j;var p=n.first(),q=p.get(c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION),r=(m={},m[c("ApiObjectStorySpecLinkChildFields").LINK]=p.get(c("ApiObjectStorySpecLinkChildFields").LINK),m);if(q){var s,t;r=(t={},t[c("ApiObjectStorySpecLinkChildFields").LINK]=p.get(c("ApiObjectStorySpecLinkChildFields").LINK),t[c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION]=(s={},s[c("ApiCallToActionFields").TYPE]=q&&q.get(c("ApiCallToActionFields").TYPE),s[c("ApiCallToActionFields").VALUE]=c("immutable").fromJS(q&&q.get(c("ApiCallToActionFields").VALUE)),s),t)}n=n.toJS();for(var u=o;u<c("AdsCreativeOptimizedUtils").getMinProductsNum();u++)n=n.concat(r);return j.setIn(c("AdsUnifiedCreativeAPIFields").childAttachments.getPath(j,l),c("immutable").fromJS(n))}var i={removePlaceData:h};f.exports=i}),null);
__d("AdsUEditorAdgroupChildAttachmentsMutators",["invariant","AdsAdgroupChildAttachmentsFields","AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAPIChildAttachmentPaths","AdsEditorMPAConstants","AdsMediaFormat","AdsUnifiedCreativeAPIFields","immutable","getByPath"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(v,w,x){if(c("AdsAPIAdgroupRecordUtils").isStaticCarouselAd(w)){var y=c("AdsUnifiedCreativeAPIFields").childAttachments.getPath(w,v),z=w.getIn(y);w=w.setIn(y,z.map(x))}return w}function j(v,w,x,y,z){__p&&__p();var A=z.imageHash,B=z.imageURL,C=z.imageCrops,D=z.thumbnailURL,E=c("AdsAdgroupChildAttachmentsFields").imageURL.get(v,w,x);switch(y){case c("AdsMediaFormat").VIDEO:v=[c("AdsAdgroupChildAttachmentsFields").imageCrops,c("AdsAdgroupChildAttachmentsFields").imageHash,c("AdsAdgroupChildAttachmentsFields").imageURL].reduce(function(v,J){var K=J.get(v,w,x);return K.supported===true?v.deleteIn(K.path):v},v);var F=z.videoID||c("AdsEditorMPAConstants").MPA_PLACEHOLDER_VIDEO_ID,G=c("AdsAdgroupChildAttachmentsFields").videoID.get(v,w,x);if(G.supported)v=v.setIn(G.path,F);if(E.supported&&D)v=v.setIn(E.path,D);break;case c("AdsMediaFormat").IMAGE:v=[c("AdsAdgroupChildAttachmentsFields").imageCrops,c("AdsAdgroupChildAttachmentsFields").imageURL,c("AdsAdgroupChildAttachmentsFields").videoID].reduce(function(v,J){var K=J.get(v,w,x);return K.supported===true?v.deleteIn(K.path):v},v);var H=c("AdsAdgroupChildAttachmentsFields").imageHash.get(v,w,x),I=c("AdsAdgroupChildAttachmentsFields").imageCrops.get(v,w,x);if(H.supported&&A)v=v.setIn(H.path,A);else if(E.supported&&B)v=v.setIn(E.path,B);if(I.supported&&C)v=v.setIn(I.path,C);break}return v}function k(v,w,x,y){var z=c("AdsAdgroupChildAttachmentsFields").imageURL.get(v,w,x),A=c("AdsAdgroupChildAttachmentsFields").imageHash.get(v,w,x);if(z.supported)v=v.setIn(z.path,y);if(A.supported)v=v.deleteIn(A.path);if(x===0)v=v.setIn(c("AdsAPIAdgroupPaths").CREATIVE.THUMBNAIL_URL,y);return v}function l(v,w,x,y,z){__p&&__p();var A=c("AdsAdgroupChildAttachmentsFields").videoID.get(v,w,x),B=c("AdsAdgroupChildAttachmentsFields").imageHash.get(v,w,x),C=c("AdsAdgroupChildAttachmentsFields").imageURL.get(v,w,x);if(A.supported)v=v.setIn(A.path,y);if(B.supported)v=v.deleteIn(B.path);if(z){if(C.supported)v=v.setIn(C.path,c("getByPath")(z,["preferredThumbnail","uri"]));if(x===0)v=v.setIn(c("AdsAPIAdgroupPaths").CREATIVE.THUMBNAIL_URL,c("getByPath")(z,["preferredThumbnail","uri"]));return v}if(C.supported)v=v.deleteIn(C.path);return v}function m(v,w,x,y){var z=c("AdsAdgroupChildAttachmentsFields").captionIDs.get(v,w,x);return z.supported?v.setIn(z.path,y):v}function n(v,w,x,y){__p&&__p();var z=arguments.length<=4||arguments[4]===undefined?c("immutable").Set():arguments[4],A=arguments[5],B=w.getUnifiedCreativeAPIFieldMapping(v).get("childAttachments"),C=v.getIn(B);if(!C)return v;return v.withMutations(function(v){C.forEach(function(D,E){var F=x.get(v,w,E);if(o(D,E,z)||A&&!A(F,D,v,E))return;if(F.supported)v.setIn(F.path,y)})})}function o(v,w,x){return x.has(w)}function p(v){return function(w,x,y,z){return w.supported&&z===v}}function q(v,w,x,y){return v.supported&&!v.value}function r(v,w,x,y){return v.supported&&!!v.value}function s(v,w){return function(x,y,z,A){var B=v.get(z,w,A);return x.supported&&B.supported&&x.value!==B.value}}function t(v,w,x,y){return v.supported&&!w.getIn(c("AdsAPIChildAttachmentPaths").STATIC_CARD)}var u={isCardIndex:p,isEmptyValue:q,hasValue:r,valueNotEqualOtherField:s,notStaticCard:t};f.exports={childIterationConditions:u,mutateChildAttachments:i,setChildCaptionIDs:m,setChildImageURL:k,setChildMediaFormat:j,setChildVideoID:l,setEachChildField:n}}),null);
__d("AdsXAdgroupCallToActionMutators",["AdsAPIAdgroupRecordUtils","AdsMutators","AdsUEditorAdgroupChildAttachmentsMutators","AdsUnifiedCreativeAPIFields","ApiAdCreativeFields","ApiAdObjectTypes","ApiCallToActionFields","ApiObjectStorySpecLinkChildFields","CallToActionValueFields"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsMutators").chain;function i(l,m,n,o){return h(function(l){var p=c("AdsUnifiedCreativeAPIFields").callToActionValue.getPathOrThrow(l,m);return l.setIn(p.concat(n),o)},function(l){return c("AdsUEditorAdgroupChildAttachmentsMutators").mutateChildAttachments(m,l,function(p){return p.setIn([c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION,c("ApiCallToActionFields").VALUE,n],o)})})(l)}function j(l,m,n){return h(function(l){var o=c("AdsUnifiedCreativeAPIFields").callToActionValue.getPathOrThrow(l,m);return l.deleteIn(o.concat(n))},function(l){return c("AdsUEditorAdgroupChildAttachmentsMutators").mutateChildAttachments(m,l,function(o){return o.deleteIn([c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION,c("ApiCallToActionFields").VALUE,n])})})(l)}var k={setCallToActionType:function l(m,n,o){return h(function(m){return m.setIn(c("AdsUnifiedCreativeAPIFields").callToActionType.getPathOrThrow(m,o),n)},function(m){return c("AdsUEditorAdgroupChildAttachmentsMutators").mutateChildAttachments(o,m,function(p){return p.setIn([c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION,c("ApiCallToActionFields").TYPE],n)})})(m)},setCallToActionValueAppLink:function l(m,n,o){return i(m,o,c("CallToActionValueFields").APP_LINK,n)},setCallToActionValueLeadGenFormID:function l(m,n,o){return i(m,o,c("CallToActionValueFields").LEAD_GEN_FORM_ID,n)},setCallToActionValueCanvasVideoTranstionEnabled:function l(m,n,o){return i(m,o,c("CallToActionValueFields").IS_CANVAS_VIDEO_TRANSITION_ENABLED,n)},deleteCallToActionValueCanvasVideoTranstionEnabled:function l(m,n){return j(m,n,c("CallToActionValueFields").IS_CANVAS_VIDEO_TRANSITION_ENABLED)},setCallToActionValueLink:function l(m,n,o){return i(m,o,c("CallToActionValueFields").LINK,n)},setCallToActionValueAppDestination:function l(m,n,o){return i(m,n,c("CallToActionValueFields").APP_DESTINATION,o)},deleteCallToActionValueAppDestination:function l(m,n){if(c("AdsUnifiedCreativeAPIFields").callToActionValue.isSupported(m,n))m=j(m,n,c("CallToActionValueFields").APP_DESTINATION);return m},setCallToActionValueWhatsAppNumber:function l(m,n,o){return i(m,n,c("CallToActionValueFields").WHATSAPP_NUMBER,o)},deleteCallToActionValueWhatsAppNumber:function l(m,n){if(c("AdsUnifiedCreativeAPIFields").callToActionValue.isSupported(m,n))m=j(m,n,c("CallToActionValueFields").WHATSAPP_NUMBER);return m},deleteCallToAction:function l(m,n){__p&&__p();return h(function(m){__p&&__p();if(c("AdsUnifiedCreativeAPIFields").callToActionType.isSupported(m,n)){var o=c("AdsUnifiedCreativeAPIFields").callToActionType.getPathOrThrow(m,n);m=m.deleteIn(o);var p=o.slice(0,-1),q=p[p.length-1]===c("ApiAdCreativeFields").CALL_TO_ACTION;if(q)m=m.deleteIn(p)}if(c("AdsUnifiedCreativeAPIFields").callToActionValue.isSupported(m,n))m=m.deleteIn(c("AdsUnifiedCreativeAPIFields").callToActionValue.getPathOrThrow(m,n));return m},function(m){return c("AdsUEditorAdgroupChildAttachmentsMutators").mutateChildAttachments(n,m,function(o){return o.deleteIn([c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION])})})(m)},resetCallToActionValue:function l(m,n){__p&&__p();return h(function(m){__p&&__p();var o=c("AdsUnifiedCreativeAPIFields").callToActionValue.getPathOrThrow(m,n);if(!m.getIn(o))m=m.setIn(o.concat(c("CallToActionValueFields").LINK),"");var p=m.getIn(o),q=c("AdsAPIAdgroupRecordUtils").getObjectType(m);if(q===c("ApiAdObjectTypes").VIDEO){var r=m.getIn(o.concat(c("CallToActionValueFields").LINK_DESCRIPTION)),s=m.getIn(o.concat(c("CallToActionValueFields").LINK_TITLE));p=p.clear().setIn([c("CallToActionValueFields").LINK_DESCRIPTION],r).setIn([c("CallToActionValueFields").LINK_TITLE],s)}else p=p.clear();return m.setIn(o,p)},function(m){return c("AdsUEditorAdgroupChildAttachmentsMutators").mutateChildAttachments(n,m,function(o){var p=[c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION,c("ApiCallToActionFields").VALUE];if(!o.getIn(p))o=o.setIn([c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION,c("ApiCallToActionFields").VALUE,c("CallToActionValueFields").LINK],"");var q=o.getIn(p);return o.setIn(p,q.clear())})})(m)}};f.exports=k}),null);
__d("AdsAPICampaignGroupRecordUtils",["AdsAPIAdLabelFields","AdsAPICampaignGroupPaths","AdsAPIPromotedObjectFields","AdsBuyingTypes","AdsDateUtils"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h="NEW_CAMPAIGN_GROUP_ID",i={getID:function j(k){return k.getIn(c("AdsAPICampaignGroupPaths").ID)},getBuyingType:function j(k){return k.getIn(c("AdsAPICampaignGroupPaths").BUYING_TYPE)},getObjective:function j(k){return k.getIn(c("AdsAPICampaignGroupPaths").OBJECTIVE)},getSpendCap:function j(k){return k.getIn(c("AdsAPICampaignGroupPaths").SPEND_CAP)},getName:function j(k){return k.getIn(c("AdsAPICampaignGroupPaths").NAME)},getCampaignKPI:function j(k){return k.getIn(c("AdsAPICampaignGroupPaths").KPI_TYPE)},getAdLabels:function j(k){__p&&__p();var l,m=k.getIn(c("AdsAPICampaignGroupPaths").AD_LABELS);if(Array.isArray(m)&&m.length>0){var l=function(){var n=[];m.forEach(function(o){n.push(o[c("AdsAPIAdLabelFields").NAME])});return{v:n}}();if(typeof l==="object")return l.v}return null},hasSplitTest:function j(k){var l=k.getIn(c("AdsAPICampaignGroupPaths").SPLIT_TEST_CONFIG.path);return!!l&&l.size!==0},isReachFrequency:function j(k){return i.getBuyingType(k)===c("AdsBuyingTypes").RESERVED},isNewCampaignGroup:function j(k){var l=k.getIn(c("AdsAPICampaignGroupPaths").ID);return!l||l===h},getPromotedObjectProductCatalogID:function j(k){return k.getIn([].concat(c("AdsAPICampaignGroupPaths").PROMOTED_OBJECT.path,[c("AdsAPIPromotedObjectFields").PRODUCT_CATALOG_ID]))},getPromotedObjectPageID:function j(k){return k.getIn([].concat(c("AdsAPICampaignGroupPaths").PROMOTED_OBJECT.path,[c("AdsAPIPromotedObjectFields").PAGE_ID]))},getPromotedObject:function j(k){return k.getIn(c("AdsAPICampaignGroupPaths").PROMOTED_OBJECT.path)},getUpdatedTime:function j(k){var l=k.getIn(c("AdsAPICampaignGroupPaths").UPDATED_TIME);return l?c("AdsDateUtils").parseISODate(l):null},hasBrandLiftStudies:function j(k){return!!k.getIn(c("AdsAPICampaignGroupPaths").BRAND_LIFT_STUDIES)}};f.exports=i}),null);
__d("AdsSelectorUtils",["Set"],(function a(b,c,d,e,f,g){"use strict";function h(j,k){var l;return Array.from(new(c("Set"))((l=[]).concat.apply(l,j.map(function(m){return m.getStores(k)}))))}function i(j,k){return h(j,k).map(function(l){return l.getDispatchToken()})}f.exports={getStoreDispatchTokens:i,getStores:h}}),null);
__d("adsUEditorCampaignGroupSelector",["adsCreateStoreSelector"],(function a(b,c,d,e,f,g){"use strict";var h=c("adsCreateStoreSelector")(function(i){var j=i.campaignGroupSelector;return j.getStores()},function(i){var j=i.campaignGroupID,k=i.campaignGroupSelector;return k(j)},f.id+".selector");f.exports=h}),null);
__d("adsUEditorCampaignSelector",["adsCreateStoreSelector"],(function a(b,c,d,e,f,g){"use strict";var h=c("adsCreateStoreSelector")(function(i){var j=i.campaignSelector;return j.getStores()},function(i){var j=i.campaignID,k=i.campaignSelector;return k(j)},f.id+".selector");f.exports=h}),null);
__d("AdsUEditorAdgroupActionHandlerCommon",["AdsAPIAdgroupRecordUtils","AdsAPICampaignGroupRecordUtils","AdsCampaignUtils","AdsDataAtom","AdsMutators","AdsSelectorUtils","adsUEditorAdgroupSpecPathPluginSelector","adsUEditorCampaignGroupSelector","adsUEditorCampaignSelector","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={genSpecPathPluginForExtraData:function i(j,k,l){var m=j.ids;c("AdsDataAtom").waitFor(c("AdsSelectorUtils").getStoreDispatchTokens([c("adsUEditorAdgroupSpecPathPluginSelector")],l));return c("AdsMutators").mapExistingValues(k,m,function(n){return c("adsUEditorAdgroupSpecPathPluginSelector")(babelHelpers["extends"]({},l,c("AdsAPIAdgroupRecordUtils").getParentIDs(n)))})},genParentAdObjectsExtraData:function i(j,k,l){c("AdsDataAtom").waitFor(c("AdsSelectorUtils").getStoreDispatchTokens([c("adsUEditorAdgroupSpecPathPluginSelector"),c("adsUEditorCampaignSelector"),c("adsUEditorCampaignGroupSelector")],l));return c("AdsMutators").mapExistingValues(k,j.ids,function(m){var n=babelHelpers["extends"]({},l,c("AdsAPIAdgroupRecordUtils").getParentIDs(m)),o=c("nullthrows")(c("adsUEditorCampaignGroupSelector")(n)),p=c("nullthrows")(c("adsUEditorCampaignSelector")(n)),q=c("adsUEditorAdgroupSpecPathPluginSelector")(n),r=c("AdsAPICampaignGroupRecordUtils").getObjective(o),s=c("AdsCampaignUtils").getPromotedObjectType(r,p),t=c("AdsAPICampaignGroupRecordUtils").getPromotedObjectPageID(o);return{campaignGroupPromotedPageID:t,objective:r,promotedObjectType:s,specPlugin:q}})}};f.exports=h}),null);
__d("AdsCFAdgroupDataProviderPlugin",["immutable","ifRequired"],(function a(b,c,d,e,f,g){"use strict";function h(j){c("ifRequired")("AdsCFAdgroupLegacyFluxReduce",j)}var i={initialValue:c("immutable").Map(),legacyFluxReduce:function j(k,l){var m=k;h(function(n){m=n.legacyFluxReduce(k,l)});return m}};f.exports=i}),null);
__d("AdsDataProviderWithFallback",["invariant","AdsDataAtom","AdsDataProvider","AdsDataReducer"],(function a(b,c,d,e,f,g,h){"use strict";function i(j,k){var l=Object.assign(c("AdsDataProvider").create(j,k),{registerLegacyFluxReducer:function m(){j.legacyFluxReduce||h(0);c("AdsDataAtom").__dataPluginsRegisterLegacyFluxReducer(c("AdsDataReducer").create(l,{},j.legacyFluxReduce))}});return l}f.exports={create:i}}),null);
__d("AdsCFAdgroupDataProvider",["AdsCFAdgroupDataProviderPlugin","AdsDataProviderWithFallback"],(function a(b,c,d,e,f,g){"use strict";f.exports=c("AdsDataProviderWithFallback").create(c("AdsCFAdgroupDataProviderPlugin"),"AdsCFAdgroupDataProviderPlugin")}),null);
__d("AdsCFAdgroupRemoveInstagramAccountActionDataReducer",["AdsCFAdgroupDataProvider","AdsCFAdgroupRemoveInstagramAccountActionDataReducerPlugin","AdsDataReducer"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataReducer").create(c("AdsCFAdgroupDataProvider"),{},c("AdsCFAdgroupRemoveInstagramAccountActionDataReducerPlugin").reduce);f.exports=h}),null);
__d("AdsCFAdgroupSetCallToActionLinkActionDataReducer",["AdsCFAdgroupDataProvider","AdsCFAdgroupSetCallToActionLinkActionDataReducerPlugin","AdsDataReducer"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataReducer").create(c("AdsCFAdgroupDataProvider"),{},c("AdsCFAdgroupSetCallToActionLinkActionDataReducerPlugin").reduce);f.exports=h}),null);
__d("AdsCFAdgroupSetCallToActionTypeActionDataReducer",["AdsCFAdgroupDataProvider","AdsCFAdgroupSetCallToActionTypeActionDataReducerPlugin","AdsDataReducer"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataReducer").create(c("AdsCFAdgroupDataProvider"),{},c("AdsCFAdgroupSetCallToActionTypeActionDataReducerPlugin").reduce);f.exports=h}),null);
__d("AdsCFAdgroupSetInstagramAccountActionDataReducer",["AdsCFAdgroupDataProvider","AdsCFAdgroupSetInstagramAccountActionDataReducerPlugin","AdsDataReducer"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataReducer").create(c("AdsCFAdgroupDataProvider"),{},c("AdsCFAdgroupSetInstagramAccountActionDataReducerPlugin").reduce);f.exports=h}),null);
__d("AdsCFAdgroupSetPageActionDataReducer",["AdsCFAdgroupDataProvider","AdsCFAdgroupSetPageActionDataReducerPlugin","AdsDataReducer"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataReducer").create(c("AdsCFAdgroupDataProvider"),{},c("AdsCFAdgroupSetPageActionDataReducerPlugin").reduce);f.exports=h}),null);
__d("AdsUEditorAdgroupRemoveInstagramAccountDataAction",["AdsCFAdgroupRemoveInstagramAccountActionDataReducer","AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([c("AdsCFAdgroupRemoveInstagramAccountActionDataReducer")],"ADS_ADGROUP_EDITOR_REMOVE_INSTAGRAM_ACCOUNT");f.exports=h}),null);
__d("AdsUEditorAdgroupSetCallToActionLinkDataAction",["AdsCFAdgroupSetCallToActionLinkActionDataReducer","AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([c("AdsCFAdgroupSetCallToActionLinkActionDataReducer")],"ADS_ADGROUP_EDITOR_SET_CALL_TO_ACTION_LINK");f.exports=h}),null);
__d("AdsUEditorAdgroupSetInstagramAccountDataAction",["AdsCFAdgroupSetInstagramAccountActionDataReducer","AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([c("AdsCFAdgroupSetInstagramAccountActionDataReducer")],"ADS_ADGROUP_EDITOR_SET_INSTAGRAM_ACCOUNT");f.exports=h}),null);
__d("AdsUEditorAdgroupSetPageDataAction",["AdsCFAdgroupSetPageActionDataReducer","AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([c("AdsCFAdgroupSetPageActionDataReducer")],"ADS_ADGROUP_EDITOR_SET_PAGE");f.exports=h}),null);
__d("AdsCFAdgroupDataReducerUtils",["AdsUEditorHostIDs","ifRequired"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(){var m=void 0;c("ifRequired")("AdsCFAdgroupEditorContext",function(n){return m=n});return m}function i(){var m=void 0;c("ifRequired")("AdsCFAdgroupLegacyFluxReduce",function(n){return m=n});return m}function j(m,n){return function(o,p,q){var r=h(),s=i();if(p.hostID&&p.hostID!==c("AdsUEditorHostIDs").CREATION||!r||!s)return o;return s.legacyFluxReduce(o,p,[function(o){return n(o,p,q,m(o,p,r))}])}}function k(m,n,o){}function l(m){return j(function(n,o,p){return(m.genExtraData||k)(o,n,p)},function(n,o,p,q){return m.mutate(o,n,q)})}f.exports={wrap:j,wrapActionHandler:l}}),null);
__d("AdsCFAdgroupRemoveInstagramAccountActionDataReducerPlugin",["AdsCFAdgroupDataReducerUtils","AdsUEditorAdgroupRemoveInstagramAccountActionHandler"],(function a(b,c,d,e,f,g){"use strict";var h={reduce:c("AdsCFAdgroupDataReducerUtils").wrapActionHandler(c("AdsUEditorAdgroupRemoveInstagramAccountActionHandler"))};f.exports=h}),null);
__d("AdsCFAdgroupSetCallToActionLinkActionDataReducerPlugin",["AdsCFAdgroupDataReducerUtils","AdsUEditorAdgroupSetCallToActionLinkActionHandler"],(function a(b,c,d,e,f,g){"use strict";var h={reduce:c("AdsCFAdgroupDataReducerUtils").wrapActionHandler(c("AdsUEditorAdgroupSetCallToActionLinkActionHandler"))};f.exports=h}),null);
__d("AdsCFAdgroupSetCallToActionTypeActionDataReducerPlugin",["AdsCFAdgroupDataReducerUtils","AdsUEditorAdgroupSetCallToActionTypeActionHandler"],(function a(b,c,d,e,f,g){"use strict";var h={reduce:c("AdsCFAdgroupDataReducerUtils").wrapActionHandler(c("AdsUEditorAdgroupSetCallToActionTypeActionHandler"))};f.exports=h}),null);
__d("AdsCFAdgroupSetInstagramAccountActionDataReducerPlugin",["AdsCFAdgroupDataReducerUtils","AdsUEditorAdgroupSetInstagramAccountActionHandler"],(function a(b,c,d,e,f,g){"use strict";var h={reduce:c("AdsCFAdgroupDataReducerUtils").wrapActionHandler(c("AdsUEditorAdgroupSetInstagramAccountActionHandler"))};f.exports=h}),null);
__d("AdsCFAdgroupSetPageActionDataReducerPlugin",["AdsCFAdgroupDataReducerUtils","AdsUEditorAdgroupSetPageActionHandler"],(function a(b,c,d,e,f,g){"use strict";var h={reduce:c("AdsCFAdgroupDataReducerUtils").wrapActionHandler(c("AdsUEditorAdgroupSetPageActionHandler"))};f.exports=h}),null);
__d("AdsUEditorAdgroupRemoveInstagramAccountDataActionPlugin",[],(function a(b,c,d,e,f,g){"use strict";var h={key:"uEditorAdgroupRemoveInstagramAccount",actionType:"ADS_ADGROUP_EDITOR_REMOVE_INSTAGRAM_ACCOUNT"};f.exports=h}),null);
__d("AdsUEditorAdgroupRemoveInstagramAccountActionHandler",["AdsMutators","AdsUEditorAdgroupActionHandlerCommon","AdsUEditorAdgroupRemoveInstagramAccountDataActionPlugin","AdsUnifiedCreativeAPIFields","nullthrows"],(function a(b,c,d,e,f,g){"use strict";var h={type:c("AdsUEditorAdgroupRemoveInstagramAccountDataActionPlugin").actionType,genExtraData:c("AdsUEditorAdgroupActionHandlerCommon").genSpecPathPluginForExtraData,mutate:function i(j,k,l){return c("AdsMutators").mutateEach(k,j.ids,function(m,n){var o=c("nullthrows")(l[n]),p=c("AdsUnifiedCreativeAPIFields").instagramActorID.getPath(m,o);return p?m.deleteIn(p):m})}};f.exports=h}),null);
__d("AdsUEditorAdgroupSetCallToActionLinkDataActionPlugin",[],(function a(b,c,d,e,f,g){"use strict";var h={key:"uEditorAdgroupSetCallToActionLink",actionType:"ADS_ADGROUP_EDITOR_SET_CALL_TO_ACTION_LINK"};f.exports=h}),null);
__d("AdsUEditorAdgroupSetCallToActionLinkActionHandler",["AdsAPIAdgroupRecordUtils","AdsAPICampaignGroupRecordUtils","AdsCampaignUtils","AdsDataAtom","AdsMutators","AdsSelectorUtils","AdsUEditorAdgroupActionHandlerCommon","AdsUEditorAdgroupSetCallToActionLinkDataActionPlugin","AdsUEditorCallToActionMutators","adsUEditorAdgroupSpecPathPluginSelector","adsUEditorCampaignGroupSelector","adsUEditorCampaignSelector","nullthrows"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsUEditorAdgroupActionHandlerCommon").genParentAdObjectsExtraData,i={type:c("AdsUEditorAdgroupSetCallToActionLinkDataActionPlugin").actionType,genExtraData:h,mutate:function j(k,l,m){return c("AdsMutators").mutateEach(l,k.ids,function(n,o){var p=c("nullthrows")(m[o]),q=p.campaignGroupPromotedPageID,r=p.objective,s=p.promotedObjectType,t=p.specPlugin;return c("AdsUEditorCallToActionMutators").setCallToActionLink({link:k.link,pages:k.pages,adgroup:n,campaignGroupPromotedPageID:q,objective:r,promotedObjectType:s,specPlugin:t})})}};f.exports=i}),null);
__d("AdsUEditorAdgroupCachedChildMediaFomatDataRecord",["immutable"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("immutable").Record({imageCrops:null,imageHash:null,imageURL:null,thumbnailURL:null,videoID:null}));i=h&&h.prototype;function j(){h.apply(this,arguments)}j.getEmptyRecord=function(){return k};var k=new j();f.exports=j}),null);
__d("AdsUEditorAdgroupCachedUtils",["AdsUEditorAdgroupCachedChildMediaFomatDataRecord"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(n,o,p){if(!p)return null;var q=n.get(o);return q?q.getIn(["callToActionValue",p]):null}function i(n,o){var p=n.get(o);return p?p.additionalImageIndex:null}function j(n,o,p){var q=n.getIn([o,"creatives"])||{};return q[p]}function k(n,o){return n.getIn([o,"existingPostPageID"])}function l(n,o){return n.getIn([o,"metadata"])}function m(n,o,p){return n.getIn([o,"childMediaFormatData",p])||c("AdsUEditorAdgroupCachedChildMediaFomatDataRecord").getEmptyRecord()}f.exports={getCachedAdditionalImageIndex:i,getCreative:j,getPageID:k,getMetadata:l,getCachedCallToActionLink:h,getChildMediaFormatData:m}}),null);
__d("AdsUEditorAdgroupSetCallToActionTypeDataActionPlugin",[],(function a(b,c,d,e,f,g){"use strict";var h={key:"uEditorAdgroupSetCallToActionType",actionType:"ADS_ADGROUP_EDITOR_SET_CALL_TO_ACTION_TYPE"};f.exports=h}),null);
__d("AdsUEditorAdgroupSetCallToActionTypeActionHandler",["AdsAPIAdgroupRecordUtils","AdsAPICampaignGroupRecordUtils","AdsCampaignUtils","AdsDataAtom","AdsMutators","AdsSelectorUtils","AdsUEditorAdgroupActionHandlerCommon","AdsUEditorAdgroupCachedUIStore","AdsUEditorAdgroupCachedUtils","AdsUEditorAdgroupSetCallToActionTypeDataActionPlugin","AdsUEditorCallToActionMutators","adsUEditorAdgroupSpecPathPluginSelector","adsUEditorCampaignGroupSelector","adsUEditorCampaignSelector","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsUEditorAdgroupActionHandlerCommon").genParentAdObjectsExtraData,i={type:c("AdsUEditorAdgroupSetCallToActionTypeDataActionPlugin").actionType,genExtraData:function j(k,l,m){var n=h(k,l,m);c("AdsDataAtom").waitFor([c("AdsUEditorAdgroupCachedUIStore").getDispatchToken()]);var o=c("AdsUEditorAdgroupCachedUIStore").getState();return c("AdsMutators").mapExistingValues(l,k.ids,function(p,q){var r=c("AdsUEditorAdgroupCachedUtils").getCachedCallToActionLink(o,q,k.callToActionType);return babelHelpers["extends"]({},n[q],{cachedCallToActionLink:r})})},mutate:function j(k,l,m){return c("AdsMutators").mutateEach(l,k.ids,function(n,o){var p=c("nullthrows")(m[o]),q=p.campaignGroupPromotedPageID,r=p.cachedCallToActionLink,s=p.objective,t=p.promotedObjectType,u=p.specPlugin;return c("AdsUEditorCallToActionMutators").setCallToAction({callToActionType:k.callToActionType,pages:k.pages,cachedCallToActionLink:r,adgroup:n,campaignGroupPromotedPageID:q,objective:s,promotedObjectType:t,specPlugin:u})})}};f.exports=i}),null);
__d("AdsUEditorAdgroupSetInstagramAccountDataActionPlugin",[],(function a(b,c,d,e,f,g){"use strict";var h={key:"uEditorAdgroupSetInstagramAccount",actionType:"ADS_ADGROUP_EDITOR_SET_INSTAGRAM_ACCOUNT"};f.exports=h}),null);
__d("AdsUEditorAdgroupSetInstagramAccountActionHandler",["AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAPICampaignGroupRecordUtils","AdsAssetFeedFieldUtils","AdsDataAtom","AdsMutators","AdsObjectStorySpecUtils","AdsSelectorUtils","AdsUEditorAdgroupSetInstagramAccountDataActionPlugin","AdsUnifiedCreativeAPIFields","AdsWebsiteAdUtils","CallToActionTypes","adsUEditorAdgroupSpecPathPluginSelector","adsUEditorCampaignGroupSelector","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={type:c("AdsUEditorAdgroupSetInstagramAccountDataActionPlugin").actionType,genExtraData:function i(j,k,l){c("AdsDataAtom").waitFor(c("AdsSelectorUtils").getStoreDispatchTokens([c("adsUEditorAdgroupSpecPathPluginSelector"),c("adsUEditorCampaignGroupSelector")],l));return c("AdsMutators").mapExistingValues(k,j.ids,function(m,n){var o=babelHelpers["extends"]({},l,c("AdsAPIAdgroupRecordUtils").getParentIDs(m)),p=c("nullthrows")(c("adsUEditorCampaignGroupSelector")(o)),q=c("adsUEditorAdgroupSpecPathPluginSelector")(o),r=c("AdsAPICampaignGroupRecordUtils").getObjective(p);return{objective:r,specPlugin:q}})},mutate:function i(j,k,l){__p&&__p();return c("AdsMutators").mutateEach(k,j.ids,function(m,n){__p&&__p();var o=c("nullthrows")(l[n]),p=o.objective,q=o.specPlugin;if(!c("AdsUnifiedCreativeAPIFields").instagramActorID.isSupported(m,q))return m;var r=c("AdsObjectStorySpecUtils").isUsingObjectStorySpec(m),s=c("AdsUnifiedCreativeAPIFields").instagramActorID.getValue(m,q);if(r&&c("AdsWebsiteAdUtils").isWebsiteObjective(p)&&!s){var t=c("AdsUnifiedCreativeAPIFields").callToActionType.getPath(m,q),u=c("AdsAssetFeedFieldUtils").firstCTAAsset_TALK_WITH_ACE_BEFORE_USE(c("AdsUnifiedCreativeAPIFields").callToActionType.getValue(m,q)),v=c("AdsUnifiedCreativeAPIFields").childAttachments.getValue(m,q);if(t&&!u&&!v)m=c("AdsMutators").setIn(t,c("CallToActionTypes").LEARN_MORE,m)}if(r)m=c("AdsMutators").deleteIn(c("AdsAPIAdgroupPaths").CREATIVE.INSTAGRAM_ACTOR_ID,m);return c("AdsMutators").setIn(c("AdsUnifiedCreativeAPIFields").instagramActorID.getPathOrThrow(m,q),j.instagramAccountID,m)})}};f.exports=h}),null);
__d("AdsAdgroupFetchDefaultInstagramAccountForPageFinishedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"ADS_FETCH_DEFAULT_INSTAGRAM_ACCOUNT_FOR_PAGE.FINISHED");f.exports=h}),null);
__d("AdsAdgroupFetchDefaultInstagramAccountForPageStartedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"ADS_FETCH_DEFAULT_INSTAGRAM_ACCOUNT_FOR_PAGE.STARTED");f.exports=h}),null);
__d("AdsLoadStateUtils_LEGACY",["invariant","AdsCachedLoadState_LEGACY","AdsLoadState_LEGACY","immutable","LoadObject","isEmpty"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i={isLoading:function j(k){return k.loadState===c("AdsLoadState_LEGACY").LOADING},isLoaded:function j(k){return!!k&&k.loadState===c("AdsLoadState_LEGACY").LOADED},isDeleting:function j(k){return k.loadState===c("AdsLoadState_LEGACY").DELETING},isError:function j(k){return!!k&&k.loadState===c("AdsLoadState_LEGACY").ERROR},isPendingWrite:function j(k){return k.loadState===c("AdsLoadState_LEGACY").PENDING_WRITE},enforceLoaded:function j(k){k.loadState===c("AdsLoadState_LEGACY").LOADED||h(0);return k},anyLoading:function j(){for(var k=arguments.length,l=Array(k),m=0;m<k;m++)l[m]=arguments[m];return i._anyHasLoadState(c("AdsLoadState_LEGACY").LOADING,l)},anyLoaded:function j(){for(var k=arguments.length,l=Array(k),m=0;m<k;m++)l[m]=arguments[m];return i._anyHasLoadState(c("AdsLoadState_LEGACY").LOADED,l)},anyError:function j(){for(var k=arguments.length,l=Array(k),m=0;m<k;m++)l[m]=arguments[m];return i._anyHasLoadState(c("AdsLoadState_LEGACY").ERROR,l)},anyDeleting:function j(){for(var k=arguments.length,l=Array(k),m=0;m<k;m++)l[m]=arguments[m];return i._anyHasLoadState(c("AdsLoadState_LEGACY").DELETING,l)},allLoaded:function j(){for(var k=arguments.length,l=Array(k),m=0;m<k;m++)l[m]=arguments[m];return i._allHaveLoadState(c("AdsLoadState_LEGACY").LOADED,l)},mergeLoadStates:function j(k){var l=k.reduce(function(m,n){return Math.min(m,i.toIndex(n))},i.toIndex(c("AdsLoadState_LEGACY").LOADED));return i.fromIndex(l)},mergeLoadStatesForMap:function j(k){var l=i.toIndex(c("AdsLoadState_LEGACY").LOADED);k.forEach(function(m){l=Math.min(l,i.toIndex(m.loadState))});return i.fromIndex(l)},_allHaveLoadState:function j(k,l){__p&&__p();return l.every(function(m){if(!m)return true;var n=m.values(),o=n.next();while(!o.done){if(o.value&&o.value.loadState!==k)return false;o=n.next()}return true})},_anyHasLoadState:function j(k,l){__p&&__p();return l.some(function(m){if(!m)return false;var n=m.values(),o=n.next();while(!o.done){if(o.value&&o.value.loadState===k)return true;o=n.next()}return false})},getError:function j(k){return i.isError(k)?k.error:null},getErrorValues:function j(){for(var k=arguments.length,l=Array(k),m=0;m<k;m++)l[m]=arguments[m];var n=l.map(i._getErrorValuesSingleMap);return[].concat.apply([],n)},_getErrorValuesSingleMap:function j(k){var l=[];if(k)k.forEach(function(m){var n=i.getError(m);if(n)l.push(n)});return l},getLoadedValues:function j(){for(var k=arguments.length,l=Array(k),m=0;m<k;m++)l[m]=arguments[m];var n=l.map(i.getLoadedValuesSingleMap);return[].concat.apply([],n)},getLoadedValuesSingleMap:function j(k){var l=[];if(k)k.forEach(function(m){if(m&&m.loadState===c("AdsLoadState_LEGACY").LOADED)l.push(m)});return l},toLoadObject:function j(k){var l=k.loadState,m=babelHelpers.objectWithoutProperties(k,["loadState"]),n=!c("isEmpty")(m);switch(l){case c("AdsLoadState_LEGACY").ERROR:return c("LoadObject").empty().setError(m.error||new Error());case c("AdsLoadState_LEGACY").LOADED:return n?c("LoadObject").withValue(m):c("LoadObject").empty();case c("AdsLoadState_LEGACY").LOADING:return n?c("LoadObject").loading().setValue(m):c("LoadObject").loading();case c("AdsLoadState_LEGACY").NOT_LOADED:return c("LoadObject").empty();case c("AdsLoadState_LEGACY").PENDING_WRITE:return n?c("LoadObject").updating().setValue(m):c("LoadObject").updating();default:return h(false,"Invalid load state")}},fromLoadObject:function j(k){__p&&__p();if(k.isEmpty())return c("AdsCachedLoadState_LEGACY").NOT_LOADED;if(k.isLoading())return c("AdsCachedLoadState_LEGACY").LOADING;if(k.hasError())return{loadState:c("AdsLoadState_LEGACY").ERROR,error:k.getError()};if(k.isUpdating())return babelHelpers["extends"]({loadState:c("AdsLoadState_LEGACY").PENDING_WRITE},k.getValue());var l=k.getValue()||{};return babelHelpers["extends"]({loadState:c("AdsLoadState_LEGACY").LOADED},l)},listObjectToLoadObject:function j(k){var l=k.loadState,m=k.list,n=c("immutable").List(m);switch(l){case c("AdsLoadState_LEGACY").ERROR:return c("LoadObject").withError(new Error());case c("AdsLoadState_LEGACY").LOADED:return c("LoadObject").withValue(n);case c("AdsLoadState_LEGACY").LOADING:return c("LoadObject").withValue(n).loading();case c("AdsLoadState_LEGACY").NOT_LOADED:return c("LoadObject").empty();case c("AdsLoadState_LEGACY").PENDING_WRITE:return c("LoadObject").withValue(n).updating();default:return h(false,"Invalid load state")}},fromIndex:function j(k){switch(k){case 0:return c("AdsLoadState_LEGACY").NOT_LOADED;case 1:return c("AdsLoadState_LEGACY").LOADING;case 2:return c("AdsLoadState_LEGACY").PENDING_WRITE;case 3:return c("AdsLoadState_LEGACY").ERROR;case 4:return c("AdsLoadState_LEGACY").LOADED;default:h(0)}},toIndex:function j(k){switch(k){case c("AdsLoadState_LEGACY").NOT_LOADED:return 0;case c("AdsLoadState_LEGACY").LOADING:return 1;case c("AdsLoadState_LEGACY").PENDING_WRITE:return 2;case c("AdsLoadState_LEGACY").ERROR:return 3;case c("AdsLoadState_LEGACY").LOADED:return 4;default:return undefined}},getLoadStateForLoadObject:function j(k){if(k.isEmpty())return c("AdsLoadState_LEGACY").NOT_LOADED;if(k.isLoading())return c("AdsLoadState_LEGACY").LOADING;if(k.hasError())return c("AdsLoadState_LEGACY").ERROR;return c("AdsLoadState_LEGACY").LOADED}};f.exports=i}),null);
__d("AdsInstagramAccountUtils",["AdsLoadStateUtils_LEGACY","GraphEdgeName","GraphInstagramUserFields","Map","getByPath"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={mapToDestinations:function i(j){return j.map(function(k){return{id:k[c("GraphInstagramUserFields").ID],name:k[c("GraphInstagramUserFields").USERNAME],icon_url:k[c("GraphInstagramUserFields").PROFILE_PIC]}})},getPageBackedInstagramAccountMap:function i(j){var k=new(c("Map"))();j.forEach(function(l){var m=h.getLoadedPageBackedInstagramAccount(l);if(m)k.set(m.id,m)});return k},getLoadedPageBackedInstagramAccount:function i(j){if(!c("AdsLoadStateUtils_LEGACY").isLoaded(j))return null;var k=c("getByPath")(j,[c("GraphEdgeName").PAGE_BACKED_INSTAGRAM_ACCOUNTS,"data"],[]);return k.length>0?k[0]:null},isPublished:function i(j){if(!c("AdsLoadStateUtils_LEGACY").isLoaded(j))return null;return j.is_published},filterOutPrivateInstagramAccounts:function i(j){return j.filter(function(k){return!k[c("GraphInstagramUserFields").IS_PRIVATE]})}};f.exports=h}),null);
__d("AdsInstagramAccountStoreUtils",["regeneratorRuntime","Promise","AdsBusinessInstagramAccountStore","AdsInstagramAccountUtils","AdsPageInstagramAccountStore","AdsPageStore","AdsStoreUtils","GraphEdgeName","Map","Set","getByPath","isEmpty"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(q){return c("getByPath")(q,[c("GraphEdgeName").INSTAGRAM_ACCOUNTS,"data","0","id"])||c("getByPath")(q,[c("GraphEdgeName").PAGE_BACKED_INSTAGRAM_ACCOUNTS,"data","0","id"])}function i(q){__p&&__p();var r;return c("regeneratorRuntime").async(function s(t){while(1)switch(t.prev=t.next){case 0:t.next=2;return c("regeneratorRuntime").awrap(c("AdsStoreUtils").promiseAsyncGetForSyncStore(c("AdsBusinessInstagramAccountStore"),function(){return c("AdsBusinessInstagramAccountStore").get(q)}));case 2:r=t.sent;return t.abrupt("return",c("getByPath")(r,["data"]));case 4:case"end":return t.stop()}},null,this)}function j(q,r,s){__p&&__p();var t,u;return c("regeneratorRuntime").async(function v(w){__p&&__p();while(1)switch(w.prev=w.next){case 0:if(!(!r||c("isEmpty")(Object.values(s)))){w.next=2;break}return w.abrupt("return",c("Promise").resolve(Object.keys(s)));case 2:w.next=4;return c("regeneratorRuntime").awrap(i(q));case 4:t=w.sent;u=new(c("Set"))(t.map(function(x){return x.id}));return w.abrupt("return",Object.entries(s).filter(function(x){var y=x[0],z=x[1];return!u.has(z)}).map(function(x){var y=x[0],z=x[1];return y}));case 7:case"end":return w.stop()}},null,this)}function k(q){return c("regeneratorRuntime").async(function r(s){while(1)switch(s.prev=s.next){case 0:return s.abrupt("return",c("AdsStoreUtils").promiseAsyncGetForSyncStore(c("AdsPageStore"),function(){return c("AdsPageStore").get(q)}).then(function(t){return t.access_token}));case 1:case"end":return s.stop()}},null,this)}function l(q){__p&&__p();var r;return c("regeneratorRuntime").async(function s(t){while(1)switch(t.prev=t.next){case 0:t.next=2;return c("regeneratorRuntime").awrap(c("AdsStoreUtils").promiseAsyncGetForSyncStore(c("AdsPageInstagramAccountStore"),function(){return c("AdsPageInstagramAccountStore").getAll(q)}));case 2:r=t.sent;return t.abrupt("return",r);case 4:case"end":return t.stop()}},null,this)}function m(q,r,s,t){__p&&__p();var u,v,w,x,y;return c("regeneratorRuntime").async(function z(A){__p&&__p();while(1)switch(A.prev=A.next){case 0:A.next=2;return c("regeneratorRuntime").awrap(c("Promise").all([j(q,r,s),k(t)]));case 2:u=A.sent;v=u[0];w=u[1];if(!c("isEmpty")(v)){A.next=7;break}return A.abrupt("return",{instagramAccountID:undefined,adgroupIDs:[],pageAccessToken:w});case 7:A.next=9;return c("regeneratorRuntime").awrap(l([t]));case 9:x=A.sent;y=x.get(t);if(!y){A.next=13;break}return A.abrupt("return",{adgroupIDs:v,instagramAccountID:h(y),pageAccessToken:w});case 13:return A.abrupt("return",{adgroupIDs:[],instagramAccountID:undefined,pageAccessToken:w});case 14:case"end":return A.stop()}},null,this)}function n(q){__p&&__p();return c("regeneratorRuntime").async(function r(s){__p&&__p();while(1)switch(s.prev=s.next){case 0:return s.abrupt("return",c("AdsStoreUtils").promiseAsyncGetForSyncStore(c("AdsPageInstagramAccountStore"),function(){return c("AdsPageInstagramAccountStore").getAll(q)}).then(function(t){var u=new(c("Map"))();t.forEach(function(v,w){var x=c("AdsInstagramAccountUtils").getLoadedPageBackedInstagramAccount(v);if(w&&x)u.set(w,x)});return u}));case 1:case"end":return s.stop()}},null,this)}function o(q,r,s,t){__p&&__p();var u,v,w,x,y;return c("regeneratorRuntime").async(function z(A){__p&&__p();while(1)switch(A.prev=A.next){case 0:if(!(r&&t)){A.next=6;break}A.next=3;return c("regeneratorRuntime").awrap(i(q));case 3:u=A.sent;if(!u.some(function(B){return B.id===t})){A.next=6;break}return A.abrupt("return",{needsInstagramAccount:false});case 6:A.next=8;return c("regeneratorRuntime").awrap(c("Promise").all([l([s]),k(s)]));case 8:v=A.sent;w=v[0];x=v[1];y=w.get(s);if(!y){A.next=14;break}return A.abrupt("return",{instagramAccountID:h(y),needsInstagramAccount:true,pageAccessToken:x});case 14:return A.abrupt("return",{instagramAccountID:undefined,needsInstagramAccount:true,pageAccessToken:x});case 15:case"end":return A.stop()}},null,this)}var p={genDefaultInstagramAccountForPageAndAdgroups:m,genLoadedPageBackedInstagramAccountForPages:n,genDefaultInstagramAccountForReachFrequency:o};f.exports=p}),null);
__d("AdsUEditorAdgroupSetPageDataActionPlugin",[],(function a(b,c,d,e,f,g){"use strict";var h={key:"uEditorAdgroupSetPage",actionType:"ADS_ADGROUP_EDITOR_SET_PAGE"};f.exports=h}),null);
__d("adsCreateSelector",["AdsSelectorNameUtils","AdsSelectorProfilerUtils","AdsSelectorUtils","adsCacheSelector","shallowArrayEqual"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=function h(n,o,p,q){var r=q||n.name||"unnamedSelector",s=p?o():[],t=c("AdsSelectorProfilerUtils").instrumentSelectorInclusive(c("adsCacheSelector")(n,o,p),r);if(p)t.getStores=function(){return s};else t.getStores=o;t.isGetStoresStatic=p;c("AdsSelectorNameUtils").nameSelector(t,r);return t},i=function i(n,o,p){return h(function(q){return o.apply(undefined,n.map(function(r){return r(q)}))},function(q){return c("AdsSelectorUtils").getStores([].concat(n,[o]),q)},n.every(function(q){return q.isGetStoresStatic})&&o.isGetStoresStatic,p)};function j(n,o){if(n===o)return true;if(Array.isArray(n)&&Array.isArray(o))return c("shallowArrayEqual")(n,o);return false}var k=function k(n,o,p){__p&&__p();var q=null,r=null,s=function s(t){var u=n.map(function(v){return v(t)});if(!r||!r.every(function(v,w){return j(v,u[w])})){q=o.apply(undefined,u);r=u}return q};return h(s,function(t){return c("AdsSelectorUtils").getStores(n,t)},n.every(function(t){return t.isGetStoresStatic}),p)},l=function l(n,o){return h(function(){return n()},function(){return[]},true,o)},m=function m(n,o,p){var q=void 0;if(typeof o.getStores==="function")q=i(n,o,p);else if(n.length)q=k(n,o,p);else q=l(o,p);q.rawSelectFn=o;return q};f.exports=m}),null);
__d("adsUEditorAccountSelector",["invariant","AdsAccountStore","AdsLoadStateUtils_LEGACY","adsCreateSelector"],(function a(b,c,d,e,f,g,h){"use strict";f.exports=c("adsCreateSelector")([c("AdsAccountStore").getSelectedAccount],function(i){c("AdsLoadStateUtils_LEGACY").isLoaded(i)||h(0);return i},f.id)}),null);
__d("adsUEditorBlockListAccountListSelector",["AdsAPIAdAccountFields","AdsBlockListAccountListStore","adsCreateSelector","adsUEditorAccountSelector"],(function a(b,c,d,e,f,g){"use strict";var h=[],i=c("adsCreateSelector")([c("adsUEditorAccountSelector"),c("AdsBlockListAccountListStore").getSelector],function(j,k){return k(j[c("AdsAPIAdAccountFields").ACCOUNT_ID]).getValue()||h},f.id+".selector");f.exports=i}),null);
__d("AdsUEditorAdgroupSetPageActionHandler",["AdsAdgroupFetchDefaultInstagramAccountForPageFinishedDataAction","AdsAdgroupFetchDefaultInstagramAccountForPageStartedDataAction","AdsAdgroupPlaceDataMutators","AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAPICampaignGroupPaths","AdsAPICampaignGroupRecordUtils","AdsAPICampaignPaths","AdsCampaignUtils","AdsCanvasAdUtils","AdsDataAtom","AdsInstagramAccountActionSources","AdsInstagramAccountStoreUtils","AdsInstagramApplicabilityUtils","AdsMutators","AdsPageInstagramAccountActions","AdsPlacementEligibilityInfoUtils","AdsPromotedObjectTypes","AdsSelectorUtils","AdsUEditorAdgroupCanvasMutator","AdsUEditorAdgroupSetInstagramAccountDataAction","AdsUEditorAdgroupSetPageDataActionPlugin","AdsUEditorHostIDs","AdsUEditorMessengerMutators","AdsUnifiedCreativeAPIFields","adsUEditorAccountSelector","adsUEditorAdgroupSpecPathPluginSelector","adsUEditorBlockListAccountListSelector","adsUEditorCampaignGroupSelector","adsUEditorCampaignSelector","isEmpty","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(l,m){return l.setIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_ID,m).deleteIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_ID).deleteIn(c("AdsAPIAdgroupPaths").CREATIVE.BRANDED_CONTENT_SPONSOR_PAGE_ID)}function i(l,m,n,o,p,q){__p&&__p();if(c("AdsCanvasAdUtils").isCanvasAd(m.creative)){m=c("AdsUEditorAdgroupCanvasMutator").clearCanvasLink(m,o);m=c("AdsUEditorAdgroupCanvasMutator").clearCollectionsFields(m,o,q)}var r=c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID.getPath(m,o);if(r)m=m.deleteIn(r);var s=c("AdsUnifiedCreativeAPIFields").locationSourceID.getPath(m,o);if(s)m=m.deleteIn(s);if(c("AdsAPIAdgroupRecordUtils").hasPlaceData(m,o))m=c("AdsAdgroupPlaceDataMutators").removePlaceData(m,p,o);if(q===c("AdsPromotedObjectTypes").MESSENGER)m=c("AdsUEditorMessengerMutators").resetPageWelcomeMessage({account:l,adgroup:m,specPlugin:o,pageID:n});return m}var j={type:c("AdsUEditorAdgroupSetPageDataActionPlugin").actionType,genExtraData:function l(m,n,o){c("AdsDataAtom").waitFor(c("AdsSelectorUtils").getStoreDispatchTokens([c("adsUEditorAdgroupSpecPathPluginSelector"),c("adsUEditorCampaignGroupSelector"),c("adsUEditorCampaignSelector"),c("adsUEditorAccountSelector"),c("adsUEditorBlockListAccountListSelector")],o));var p=c("AdsMutators").mapExistingValues(n,m.ids,function(q,r){var s=babelHelpers["extends"]({},o,c("AdsAPIAdgroupRecordUtils").getParentIDs(q)),t=c("nullthrows")(c("adsUEditorCampaignGroupSelector")(s)),u=c("adsUEditorAdgroupSpecPathPluginSelector")(s),v=c("nullthrows")(c("adsUEditorCampaignSelector")(s)),w=c("adsUEditorAccountSelector")(),x=c("AdsAPICampaignGroupRecordUtils").getObjective(t),y=c("AdsCampaignUtils").getPromotedObjectType(x,v),z=c("AdsPlacementEligibilityInfoUtils").buildEligibilityInformationFromAdObjects(w.capabilities,c("adsUEditorBlockListAccountListSelector")(),[{campaignGroupID:t.get(c("AdsAPICampaignGroupPaths").ID),campaignGroup:t,campaignID:v.get(c("AdsAPICampaignPaths").ID),campaign:v,adgroupID:r,adgroup:q}]),A=c("AdsUnifiedCreativeAPIFields").instagramActorID.getValue(q,u),B=c("AdsInstagramApplicabilityUtils").placementSpecHasInstagramPlacement(z.spec);return{instagramActorID:A,isInstagramPlacementEnabled:B,objective:x,promotedObjectType:y,specPlugin:u}});return{account:c("adsUEditorAccountSelector")(),adObjectData:p,context:o}},mutate:function l(m,n,o){__p&&__p();var p=c("AdsMutators").mutateEach(n,m.ids,function(q,r){var s=c("nullthrows")(o.adObjectData[r]),t=s.promotedObjectType,u=s.objective,v=s.specPlugin;if(c("AdsAPIAdgroupRecordUtils").isExistingPostAd(q))q=h(q,m.pageID);else{q=q.setIn(c("AdsUnifiedCreativeAPIFields").pageID.getPath(q,v),m.pageID);q=i(o.account,q,m.pageID,v,u,t)}return q});k(o.account,o.adObjectData,m.pageID,o.context);return p}};function k(l,m,n,o){__p&&__p();var p=false,q={};Object.keys(m).forEach(function(r){if(m[r].isInstagramPlacementEnabled){p=true;q[r]=m[r].instagramActorID}});if(p){c("AdsDataAtom").addPostDispatchCallback(function(){c("AdsAdgroupFetchDefaultInstagramAccountForPageStartedDataAction").dispatch({})});c("AdsInstagramAccountStoreUtils").genDefaultInstagramAccountForPageAndAdgroups(l.account_id,!!l.business,q,n).then(function(r){var s=r.adgroupIDs,t=r.instagramAccountID,u=r.pageAccessToken;if(!c("isEmpty")(s))if(t)c("AdsUEditorAdgroupSetInstagramAccountDataAction").dispatch({hostID:o.hostID,ids:s,instagramAccountID:t});else c("AdsPageInstagramAccountActions").createAndUsePageBackedAccount(null,s,n,u,o.hostID===c("AdsUEditorHostIDs").CREATION?c("AdsInstagramAccountActionSources").CF_AUCTION:c("AdsInstagramAccountActionSources").PE_AUCTION);c("AdsAdgroupFetchDefaultInstagramAccountForPageFinishedDataAction").dispatch({})}).done()}}f.exports=j}),null);
__d("AdsUEditorAdgroupCachedActionHandlerCommon",["AdsAPIAdgroupRecordUtils","AdsDataAtom","AdsSelectorUtils","adsUEditorAdgroupSpecPathPluginSelector","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i,j,k){__p&&__p();c("AdsDataAtom").waitFor(c("AdsSelectorUtils").getStoreDispatchTokens([c("adsUEditorAdgroupSpecPathPluginSelector")],k));var l=i.adgroupsToCache,m=i.ids;if(!l)return{};return m.reduce(function(n,o){c("adsUEditorAdgroupSpecPathPluginSelector");var p=l.get(o);if(!p)return n;n[o]=c("adsUEditorAdgroupSpecPathPluginSelector")(babelHelpers["extends"]({},k,c("AdsAPIAdgroupRecordUtils").getParentIDs(p)));return n},{})}f.exports={genSpecPathPluginForExtraData:h}}),null);
__d("AdsUEditorAdgroupCachedSetCallToActionLinkActionHandler",["AdsUEditorAdgroupCachedActionHandlerCommon","AdsUEditorAdgroupCachedCallToActionMutators","AdsUEditorAdgroupSetCallToActionLinkDataActionPlugin"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsUEditorAdgroupCachedActionHandlerCommon").genSpecPathPluginForExtraData,i={type:c("AdsUEditorAdgroupSetCallToActionLinkDataActionPlugin").actionType,genExtraData:h,mutate:function j(k,l,m){var n=k.adgroupsToCache,o=k.ids;if(!n)return l;return c("AdsUEditorAdgroupCachedCallToActionMutators").updateCacheForAdgroupIDs(n,o,l,m,k.link)}};f.exports=i}),null);
__d("AdsUEditorAdgroupCachedSetCallToActionTypeActionHandler",["AdsUEditorAdgroupCachedActionHandlerCommon","AdsUEditorAdgroupCachedCallToActionMutators","AdsUEditorAdgroupSetCallToActionTypeDataActionPlugin"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsUEditorAdgroupCachedActionHandlerCommon").genSpecPathPluginForExtraData,i={type:c("AdsUEditorAdgroupSetCallToActionTypeDataActionPlugin").actionType,genExtraData:h,mutate:function j(k,l,m){var n=k.adgroupsToCache,o=k.ids;if(!n)return l;return c("AdsUEditorAdgroupCachedCallToActionMutators").updateCacheForAdgroupIDs(n,o,l,m,null)}};f.exports=i}),null);
__d("AdsUEditorAdgroupCachedRecord",["AdsEditorPostEditMode","immutable"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j;h=babelHelpers.inherits(k,c("immutable").Record({additionalImageIndex:null,callToActionValue:c("immutable").Map(),childMediaFormatData:c("immutable").List(),creatives:(j={},j[c("AdsEditorPostEditMode").EXISTING]=null,j[c("AdsEditorPostEditMode").INLINE]=null,j),existingPostPageID:null,metadata:null}));i=h&&h.prototype;function k(){h.apply(this,arguments)}k.getEmptyRecord=function(){return l};var l=new k();f.exports=k}),null);
__d("AdsUEditorAdgroupSetCatalogAssetFormatOptionDataActionPlugin",["Map"],(function a(b,c,d,e,f,g){"use strict";var h={key:"uEditorAdgroupSetCatalogAssetFormatOption",actionType:"ADS_ADGROUP_EDITOR_SET_CATALOG_ASSET_FORMAT_OPTION"};f.exports=h}),null);
__d("AdsUEditorAdgroupCachedSetCatalogAssetFormatOptionActionHandler",["AdsAPIAdgroupRecordUtils","AdsUEditorAdgroupCachedActionHandlerCommon","AdsUEditorAdgroupCachedRecord","AdsUEditorAdgroupSetCatalogAssetFormatOptionDataActionPlugin","ApiObjectStorySpecFormatOption","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsUEditorAdgroupCachedActionHandlerCommon").genSpecPathPluginForExtraData,i=function i(k,l,m){if(!k||!l)return m;var n=c("AdsAPIAdgroupRecordUtils").getAdditionalImageIndex(k,l);return m.set("additionalImageIndex",n)},j={type:c("AdsUEditorAdgroupSetCatalogAssetFormatOptionDataActionPlugin").actionType,genExtraData:h,mutate:function k(l,m,n){var o=l.adgroupsToCache,p=l.ids,q=l.formatOption;if(!o)return m;p.forEach(function(r){if(q===c("ApiObjectStorySpecFormatOption").CAROUSEL_SLIDESHOWS){var s=c("nullthrows")(n[r]),t=i(o.get(r),s,m.get(r)||new(c("AdsUEditorAdgroupCachedRecord"))());m=m.set(r,t)}});return m}};f.exports=j}),null);
__d("AdsUEditorAdgroupSetChildMediaFormatDataActionPlugin",[],(function a(b,c,d,e,f,g){"use strict";var h={key:"uEditorAdgroupSetChildMediaFormat",actionType:"ADS_ADGROUP_EDITOR_SET_CHILD_MEDIA_FORMAT"};f.exports=h}),null);
__d("AdsUEditorAdgroupCachedSetChildMediaFormatActionHandler",["AdsAdgroupChildAttachmentsFields","AdsMediaFormat","AdsUEditorAdgroupCachedActionHandlerCommon","AdsUEditorAdgroupCachedChildMediaFomatDataRecord","AdsUEditorAdgroupSetChildMediaFormatDataActionPlugin","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsUEditorAdgroupCachedActionHandlerCommon").genSpecPathPluginForExtraData,i={type:c("AdsUEditorAdgroupSetChildMediaFormatDataActionPlugin").actionType,genExtraData:h,mutate:function j(k,l,m){__p&&__p();var n=k.adgroupsToCache,o=k.ids,p=k.index,q=k.mediaFormat;if(!n)return l;return l.withMutations(function(r){__p&&__p();return o.reduce(function(r,s){__p&&__p();var t=n.get(s),u=c("nullthrows")(m[s]);if(!t)return r;var v=[s,"childMediaFormatData",p],w=r.getIn(v)||c("AdsUEditorAdgroupCachedChildMediaFomatDataRecord").getEmptyRecord(),x=c("AdsAdgroupChildAttachmentsFields").imageURL.get(t,u,p);switch(q){case c("AdsMediaFormat").IMAGE:var y=c("AdsAdgroupChildAttachmentsFields").videoID.get(t,u,p);if(y.supported)w=w.set("videoID",y.value);if(x.supported)w=w.set("thumbnailURL",x.value);break;case c("AdsMediaFormat").VIDEO:var z=c("AdsAdgroupChildAttachmentsFields").imageHash.get(t,u,p),A=c("AdsAdgroupChildAttachmentsFields").imageCrops.get(t,u,p);if(z.supported)w=w.set("imageHash",z.value);if(x.supported)w=w.set("imageURL",x.value);if(A.supported)w=w.set("imageCrops",A.value);break}r.setIn(v,w);return r},r)})}};f.exports=i}),null);
__d("AdsUEditorAdgroupCachedCallToActionMutators",["AdsAPIAdgroupRecordUtils","AdsCallToActionUtils","AdsUEditorAdgroupCachedRecord","immutable","Map","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=function h(j,k,l,m){__p&&__p();if(!j||!k)return l;var n=c("AdsAPIAdgroupRecordUtils").getCallToActionType(j,k),o=m||c("AdsAPIAdgroupRecordUtils").getCallToActionLink(j,k);if(!n||!o||!c("AdsCallToActionUtils").shouldCacheCTAType(n))return l;var p=l.callToActionValue;if(!p)p=c("immutable").Map();p=p.set(n,o);return l.set("callToActionValue",p)},i=function i(j,k,l,m,n){k.forEach(function(o){var p=c("nullthrows")(m[o]),q=h(j.get(o),p,l.get(o)||new(c("AdsUEditorAdgroupCachedRecord"))(),n);l=l.set(o,q)});return l};f.exports={getUpdatedCache:h,updateCacheForAdgroupIDs:i}}),null);
__d("createObjectBy",[],(function a(b,c,d,e,f,g){"use strict";function h(i,j){var k={};for(var l=0;l<i.length;l++){var m=i[l],n=j(m,l,i);k[n]=m}return k}f.exports=h}),null);
__d("AdsUEditorAdgroupCreateReducer",["invariant","AdsUEditorHostIDs","createObjectBy","requireWeak"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=void 0,j=void 0;c("requireWeak")("AdsCFAdgroupEditorContext",function(l){return i=l});c("requireWeak")("AdsEditingAdgroupEditorContext",function(l){return j=l});function k(l,m){var n=c("createObjectBy")(m,function(o){return o.type});return function(o,p){var q=n[p.action.type],r=p.action.hostID;if(!q)return o;l.includes(r)||h(0);var s=r===c("AdsUEditorHostIDs").CREATION?i:j,t=q.genExtraData&&q.genExtraData(p.action,o,s);return q.mutate(p.action,o,t)}}f.exports=k}),null);
__d("TypedFluxReduceStore",["FluxReduceStore"],(function a(b,c,d,e,f,g){"use strict";f.exports=c("FluxReduceStore")}),null);
__d("AdsUEditorAdgroupBaseUIStore",["AdsUEditorAdgroupCreateReducer","AdsUEditorHostIDs","TypedFluxReduceStore","abstractMethod"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("TypedFluxReduceStore"));i=h&&h.prototype;function j(k){i.constructor.call(this,k);this.$AdsUEditorAdgroupBaseUIStore1=c("AdsUEditorAdgroupCreateReducer")([c("AdsUEditorHostIDs").CREATION,c("AdsUEditorHostIDs").EDITING],this.getHandlers())}j.prototype.reduce=function(k,l){return this.$AdsUEditorAdgroupBaseUIStore1(k,l)};j.prototype.getHandlers=function(){return c("abstractMethod")("AdsUEditorAdgroupBaseUIStore","getHandlers")};f.exports=j}),null);
__d("AdsUEditorAdgroupSetPostEditModeDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"ADS_ADGROUP_EDITOR_SET_POST_EDIT_MODE");f.exports=h}),null);
__d("AdsUEditorAdgroupCachedSetPostEditModeActionHandler",["AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsEditorPostEditMode","AdsUEditorAdgroupCachedRecord","AdsUEditorAdgroupSetPostEditModeDataAction"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={type:c("AdsUEditorAdgroupSetPostEditModeDataAction").actionType,mutate:function i(j,k){__p&&__p();var l=j.adgroupsToCache,m=j.ids,n=j.postEditMode;if(!l)return k;return k.withMutations(function(o){__p&&__p();return m.reduce(function(o,p){__p&&__p();var q,r,s=l.get(p);if(!s)return o;if(!o.get(p))o.set(p,c("AdsUEditorAdgroupCachedRecord").getEmptyRecord());var t=[p,"creatives"],u=s.getIn(c("AdsAPIAdgroupPaths").CREATIVE.path),v=o.getIn(t)||{};switch(n){case c("AdsEditorPostEditMode").INLINE:v=babelHelpers["extends"]({},v,(q={},q[c("AdsEditorPostEditMode").EXISTING]=u,q));o.setIn([p,"existingPostPageID"],c("AdsAPIAdgroupRecordUtils").getExistingPostAdPageID(s));break;case c("AdsEditorPostEditMode").EXISTING:v=babelHelpers["extends"]({},v,(r={},r[c("AdsEditorPostEditMode").INLINE]=u,r));o.setIn([p,"metadata"],s.getIn(c("AdsAPIAdgroupPaths").METADATA.path));break}o.setIn(t,v);return o},o)})}};f.exports=h}),null);
__d("AdsUEditorAdgroupCachedUIStore",["AdsDataAtom","AdsUEditorAdgroupBaseUIStore","AdsUEditorAdgroupCachedSetCallToActionLinkActionHandler","AdsUEditorAdgroupCachedSetCallToActionTypeActionHandler","AdsUEditorAdgroupCachedSetCatalogAssetFormatOptionActionHandler","AdsUEditorAdgroupCachedSetChildMediaFormatActionHandler","AdsUEditorAdgroupCachedSetPostEditModeActionHandler","immutable"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("AdsUEditorAdgroupBaseUIStore"));i=h&&h.prototype;j.prototype.getInitialState=function(){return c("immutable").Map()};j.prototype.getHandlers=function(){return[c("AdsUEditorAdgroupCachedSetCallToActionLinkActionHandler"),c("AdsUEditorAdgroupCachedSetCallToActionTypeActionHandler"),c("AdsUEditorAdgroupCachedSetCatalogAssetFormatOptionActionHandler"),c("AdsUEditorAdgroupCachedSetChildMediaFormatActionHandler"),c("AdsUEditorAdgroupCachedSetPostEditModeActionHandler")]};function j(){h.apply(this,arguments)}f.exports=new j(c("AdsDataAtom"))}),null);
__d("AdsAssetFeedMutationUtils",["invariant","AdsAPIAdAssetFeedImagesFields","AdsAPIAdAssetFeedVideosFields","AdsAPIAdgroupPaths","AdsAPIAdLabelFields","AdsUnifiedCreativeAPIFields","immutable"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i={removeAssetAtIndex:function j(k,l,m,n){var o=m.getValue(k,l);o instanceof c("immutable").List||h(0);n>=0&&n<o.count()||h(0);o=o["delete"](n);return k.setIn(m.getPath(k,l),o)},removeAssetFieldAtIndex:function j(k,l,m,n,o){var p=m.getValue(k,l);p instanceof c("immutable").List||h(0);n>=0&&n<p.count()||h(0);p=p.update(n,function(q){return q["delete"](o)});return k.setIn(m.getPath(k,l),p)},setAssetFieldAtIndex:function j(k,l,m,n,o,p){__p&&__p();var q=m.getValue(k,l);if(q===undefined)q=c("immutable").List();q instanceof c("immutable").List||h(0);n>=0&&n<=q.count()||h(0);if(n===q.count())q=q.set(n,c("immutable").Map());q=q.update(n,function(r){return r.set(o,p)});return k.setIn(m.getPath(k,l),q)},setAssetAdLabelAtIndex:function j(k,l,m,n,o,p){var q=m.getValue(k,l);q instanceof c("immutable").List||h(0);n>=0&&n<q.count()||h(0);q=q.update(n,function(r){var s;return r.set(o,c("immutable").List.of(c("immutable").Map((s={},s[c("AdsAPIAdLabelFields").NAME]=p,s))))});return k.setIn(m.getPath(k,l),q)},setAssetAtIndex:function j(k,l,m,n,o){var p=m.getValue(k,l);if(p===undefined)p=c("immutable").List();p instanceof c("immutable").List||h(0);n>=0&&n<=p.count()||h(0);p=p.set(n,o);return k.setIn(m.getPath(k,l),p)},setAssetsArrayInField:function j(k,l,m,n){return k.setIn(m.getPath(k,l),c("immutable").List(n))},setStringAssetsArrayInField:function j(k,l,m,n){return k.setIn(m.getPath(k,l),c("immutable").List(n))},setImageAssetAtIndex:function j(k,l,m,n,o){var p=n?{toSet:c("AdsAPIAdAssetFeedImagesFields").HASH,toRemove:c("AdsAPIAdAssetFeedImagesFields").URL,value:n}:{toSet:c("AdsAPIAdAssetFeedImagesFields").URL,toRemove:c("AdsAPIAdAssetFeedImagesFields").HASH,value:o},q=p.value;q||h(0);var r=i.setAssetFieldAtIndex(k,l,c("AdsUnifiedCreativeAPIFields").imageHash,m,p.toSet,q);return i.removeAssetFieldAtIndex(r,l,c("AdsUnifiedCreativeAPIFields").imageHash,m,p.toRemove)},setVideoAssetAtIndex:function j(k,l,m,n,o){if(n)k=i.setAssetFieldAtIndex(k,l,c("AdsUnifiedCreativeAPIFields").videoID,m,c("AdsAPIAdAssetFeedVideosFields").VIDEO_ID,n);else if(!o)return i.removeAssetAtIndex(k,l,c("AdsUnifiedCreativeAPIFields").videoID,m);if(o)k=i.setAssetFieldAtIndex(k,l,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL,m,c("AdsAPIAdAssetFeedVideosFields").THUMBNAIL_URL,o);else k=i.removeAssetFieldAtIndex(k,l,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL,m,c("AdsAPIAdAssetFeedVideosFields").THUMBNAIL_URL);return k},setVideoCaptionAtIndex:function j(k,l,m){__p&&__p();var n=k.getIn(c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.VIDEOS);n instanceof c("immutable").List||h(0);l>=0&&l<n.count()||h(0);var o=void 0;if(!m||m.length===0)o=n.update(l,function(p){return p["delete"](c("AdsAPIAdAssetFeedVideosFields").CAPTION_IDS)});else o=n.update(l,function(p){return p.set(c("AdsAPIAdAssetFeedVideosFields").CAPTION_IDS,c("immutable").List(m))});return k.setIn(c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.VIDEOS,o)},updateAdLabelForField:function j(k,l,m,n,o){if(!k)k=c("immutable").List();var p=k.findEntry(function(s){return s instanceof c("immutable").Map&&s.get(l)===n});if(!p)return k;var q=p[0],r=p[1];r=r.set(m,c("immutable").List.of(c("immutable").Map().set(c("AdsAPIAdLabelFields").NAME,o)));return k.set(q,r)},removeAdLabelForField:function j(k,l,m,n){if(!k)k=c("immutable").List();var o=k.findEntry(function(r){return r instanceof c("immutable").Map&&r.get(l)===n});if(!o)return k;var p=o[0],q=o[1];q=q.remove(m);return k.set(p,q)}};f.exports=i}),null);
__d("AdsLandingViewTypes",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({EXTERNAL:"EXTERNAL",FACEBOOK_PAGE:"FACEBOOK_PAGE",STORE_LOCATOR:"STORE_LOCATOR",PRODUCT_PAGE:"PRODUCT_PAGE"})}),null);
__d("AdsUEditorCallToActionMutators",["AdsAdgroupSpecUtils","AdsAPIAdgroupPaths","AdsAPIChildAttachmentPaths","AdsAPIObjectives","AdsAssetFeedMutationUtils","AdsAssetFeedUtils","AdsCallToActionTypes","AdsCallToActionUtils","AdsLandingViewTypes","AdsLocalAwarenessUtils","AdsLocalUtils","AdsMultiProductMutators","AdsMutators","AdsUEditorWebsiteMutators","AdsUnifiedCreativeAPIFields","AdsXAdgroupCallToActionMutators","ApiCallToActionFields","ApiObjectStorySpecLinkChildFields","ApiObjectStorySpecLinkFields","CallToActionValueFields","getByPath"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsMultiProductMutators").deleteInEachChild,i=c("AdsMultiProductMutators").setInEachNonPlaceDataChild,j=c("AdsMultiProductMutators").setInEachPlaceDataChild,k=c("AdsMutators").setIn,l=function l(r,s,t){return c("AdsLocalAwarenessUtils").isDynamicLocalAwareness(s,t)},m=function m(r){__p&&__p();var s=r.adgroup,t=r.cachedCallToActionLink,u=r.callToActionType,v=r.campaignGroupPromotedPageID,w=r.objective,x=r.pages,y=r.promotedObjectType,z=r.specPlugin;if(u){s=c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(s)?c("AdsAssetFeedMutationUtils").setAssetAtIndex(s,z,c("AdsUnifiedCreativeAPIFields").callToActionType,0,u):s.setIn(c("AdsUnifiedCreativeAPIFields").callToActionType.getPath(s,z),u);s=i([c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION,c("ApiCallToActionFields").TYPE],u,s);if(c("AdsLocalUtils").isLocalObjective(w)||w===c("AdsAPIObjectives").REACH)s=o({objective:w,cachedCallToActionLink:t,promotedObjectType:y,specPlugin:z,callToActionType:u,adgroup:s,pages:x,campaignGroupPromotedPageID:v});if(l(s,w,v)&&[c("AdsCallToActionTypes").TYPES.LEARN_MORE.name,c("AdsCallToActionTypes").TYPES.ORDER_NOW.name,c("AdsCallToActionTypes").TYPES.SHOP_NOW.name].includes(u))s=c("AdsUEditorWebsiteMutators").setLandingViewType({landingViewType:c("AdsLandingViewTypes").EXTERNAL,adgroup:s,pages:x,objective:w,promotedObjectType:y,specPlugin:z,campaignGroupPromotedPageID:v})}else{s=c("AdsXAdgroupCallToActionMutators").deleteCallToAction(s,z);s=h([c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION],s)}return s},n=function n(r){__p&&__p();var s=r.link,t=r.adgroup,u=r.pages,v=r.objective,w=r.promotedObjectType,x=r.specPlugin,y=r.campaignGroupPromotedPageID,z=[c("ApiObjectStorySpecLinkFields").CALL_TO_ACTION,c("ApiCallToActionFields").VALUE,c("CallToActionValueFields").LINK],A=c("AdsUnifiedCreativeAPIFields").callToActionValue.getPath(t,x);if(A)t=t.setIn(A.concat([c("CallToActionValueFields").LINK]),s);var B=c("AdsAdgroupSpecUtils").getCallToActionType(t,v,y);if(B===c("AdsCallToActionTypes").TYPES.GET_DIRECTIONS.name&&s){var C=c("AdsCallToActionUtils").parseGeoLink(s);if(C){t=j(c("AdsAPIChildAttachmentPaths").PLACE_DATA.ADDRESS_STRING,C.get("name"),t);t=j(c("AdsAPIChildAttachmentPaths").PLACE_DATA.LATITUDE,C.get("coordinates").latitude,t);t=j(c("AdsAPIChildAttachmentPaths").PLACE_DATA.LONGITUDE,C.get("coordinates").longitude,t)}}return i(z,s,t)},o=function o(r){__p&&__p();var s=r.callToActionType,t=r.cachedCallToActionLink,u=r.adgroup,v=r.pages,w=r.objective,x=r.promotedObjectType,y=r.specPlugin,z=r.campaignGroupPromotedPageID,A=c("AdsAdgroupSpecUtils").isCTALinkCustomizable(u,w,z);if(!A&&!t)return n({link:undefined,adgroup:u,pages:v,objective:w,promotedObjectType:x,specPlugin:y,campaignGroupPromotedPageID:z});if(t)return n({link:t,adgroup:u,pages:v,objective:w,promotedObjectType:x,specPlugin:y,campaignGroupPromotedPageID:z});var B=c("getByPath")(u,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PAGE_ID);if(B&&v&&v.has(B)){var C=v.get(B),D=C&&c("AdsCallToActionUtils").getCTADefaultValueFromPage(C,s,l(u,w,z));if(D)return n({link:D,adgroup:u,pages:v,objective:w,promotedObjectType:x,specPlugin:y,campaignGroupPromotedPageID:z})}return n({link:"",adgroup:u,pages:v,objective:w,promotedObjectType:x,specPlugin:y,campaignGroupPromotedPageID:z})},p=function p(r,s){if(s)r=k(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.LINK_FORMAT,s,r);return r},q={setCallToAction:m,setCallToActionLink:n,setCallToActionLinkFormat:p};f.exports=q}),null);
__d("AdsUEditorMessengerMutators",["AdsAccountCapabilities","AdsAccountUtils","AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAPIChildAttachmentPaths","AdsCallToActionTypes","AdsMessengerConstants","AdsMessengerReducerUtils","AdsMultiProductMutators","AdsMutators","AdsPageStore","AdsSponsoredMessageUtils","AdsUEditorCallToActionMutators","AdsUEditorWebsiteMutators","AdsUnifiedCreativeAPIFields","AdsXAdgroupCallToActionMutators","ApiAdObjectTypes","ApiObjectStorySpecLinkChildFields","CallToActionAppDestination","MessengerContentEditorSurface","getByPath"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsMultiProductMutators").deleteInEachChild,i=function i(m){__p&&__p();var n=m.adgroup,o=m.objective,p=m.promotedObjectType,q=m.specPlugin,r=m.campaignGroupPromotedPageID,s=m.supportPageEndCard,t=m.capabilities;if(c("AdsAPIAdgroupRecordUtils").isExistingPostAd(n))return n;if(c("AdsAccountUtils").hasCapabilityFromList(t,c("AdsAccountCapabilities").ENABLE_SPONSOR_MESSAGE_INLINE_VISUAL_EDITOR)&&!!c("getByPath")(n,c("AdsAPIAdgroupPaths").CREATIVE.MESSENGER_SPONSORED_MESSAGE))n=n.deleteIn(c("AdsAPIAdgroupPaths").CREATIVE.MESSENGER_SPONSORED_MESSAGE).deleteIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_ID).setIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE,c("ApiAdObjectTypes").SHARE).setIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.path,c("AdsSponsoredMessageUtils").getDefaultImageObjectStorySpec());var u=c("AdsUnifiedCreativeAPIFields").headline.getPath(n,q),v=n.getIn(u)||c("AdsMessengerConstants").DEFAULT_HEADLINE.toString(),w=c("AdsMutators").chain(function(n){return c("AdsUEditorCallToActionMutators").setCallToAction({callToActionType:c("AdsCallToActionTypes").TYPES.MESSAGE_PAGE.name,pages:null,cachedCallToActionLink:null,adgroup:n,campaignGroupPromotedPageID:r,objective:o,promotedObjectType:p,specPlugin:q})},function(n){return c("AdsXAdgroupCallToActionMutators").setCallToActionValueAppDestination(n,q,c("CallToActionAppDestination").MESSENGER)},function(n){return c("AdsUEditorWebsiteMutators").setWebsiteURL({websiteURL:c("AdsMessengerConstants").EMPTY_MESSENGER_LINK,adgroup:n,campaignGroupPromotedPageID:r,objective:o,promotedObjectType:p,specPlugin:q})},function(n){return c("AdsUEditorWebsiteMutators").setWebsiteURLInChildren({websiteURL:c("AdsMessengerConstants").EMPTY_MESSENGER_LINK,adgroup:n,campaignGroupPromotedPageID:r,objective:o,promotedObjectType:p,specPlugin:q})},function(n){return s?n.setIn(c("AdsUnifiedCreativeAPIFields").multiShareEndCard.getPath(n,q),false):n},function(n){return n.setIn(u,v)});return w(n)},j=function j(m){__p&&__p();var n=m.adgroup,o=m.specPlugin,p=m.supportPageEndCard;if(c("AdsAPIAdgroupRecordUtils").isExistingPostAd(n))return n;var q=c("AdsUnifiedCreativeAPIFields").headline.getPath(n,o),r=n.getIn(q),s=c("AdsMutators").chain(function(n){return c("AdsXAdgroupCallToActionMutators").deleteCallToActionValueAppDestination(n,o)},function(n){return h(c("AdsAPIChildAttachmentPaths").LINK,n)},function(n){return h([c("ApiObjectStorySpecLinkChildFields").LINK],n)},function(n){return n.deleteIn(c("AdsUnifiedCreativeAPIFields").linkURL.getPath(n,o))},function(n){return p?n.setIn(c("AdsUnifiedCreativeAPIFields").multiShareEndCard.getPath(n,o),true):n},function(n){return r===c("AdsMessengerConstants").DEFAULT_HEADLINE.toString()?n.deleteIn(q):n},function(n){return n.deleteIn(c("AdsUnifiedCreativeAPIFields").pageWelcomeMessage.getPath(n,o))});return s(n)},k=function k(m){__p&&__p();var n=m.account,o=m.adgroup,p=m.specPlugin,q=m.pageID,r=null,s=c("AdsPageStore").get(q),t=c("AdsAccountUtils").hasCapability(n,c("AdsAccountCapabilities").VISUAL_EDITOR_STICKY_SETTINGS);if(t)r=c("AdsMessengerReducerUtils").getLastUsedPageWelcomeMessage(s);else{var u=c("AdsMessengerReducerUtils").getDefaultFormatType(n),v=c("AdsMessengerReducerUtils").getDefaultQuickReplies(s);r=c("AdsMessengerReducerUtils").getVisualEditorDefaultJSON(v,true,q,c("MessengerContentEditorSurface").VISUAL_EDITOR,u);r=JSON.stringify(r)}if(r)o=o.setIn(c("AdsUnifiedCreativeAPIFields").pageWelcomeMessage.getPath(o,p),r);return o},l={setMessengerDestinationFields:i,deleteMessengerDestinationFields:j,resetPageWelcomeMessage:k};f.exports=l}),null);
__d("ShareAttachmentStyles",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({LINK:"link",DEFAULT_STYLE:"default"})}),null);
__d("AdsUEditorWebsiteMutators",["invariant","AdsAdgroupSpecUtils","AdsAPIAdAssetFeedFields","AdsAPIAdAssetFeedLinkURLsFields","AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAPIChildAttachmentPaths","AdsAssetFeedFieldUtils","AdsAssetFeedMutationUtils","AdsAssetFeedUtils","AdsChildAttachmentsUtils","AdsLandingViewTypeUtils","AdsLocalAwarenessUtils","AdsMultiProductMutators","AdsMutators","AdsUEditorWebsiteUtils","AdsUnifiedCreativeAPIFields","ApiAdObjectTypes","CallToActionValueFields","ShareAttachmentStyles","nullthrows"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("AdsMultiProductMutators").forEachChild,j=c("AdsMultiProductMutators").setInChild,k=c("AdsMultiProductMutators").setInEachNonPlaceDataChild,l=c("AdsMutators").deleteIn,m=c("AdsMutators").setIn,n=function n(v){var w=v.adgroup,x=v.objectType,y=v.objective,z=v.campaignGroupPromotedPageID,A=v.promotedObjectType,B=v.specPlugin;if(x!==c("ApiAdObjectTypes").SHARE)return false;var C=c("AdsUnifiedCreativeAPIFields").callToActionValue.getPath(w,B),D=C&&w.getIn(C.concat([c("CallToActionValueFields").LINK]));if(!D)return false;return!c("AdsAdgroupSpecUtils").isCTALinkCustomizable(w,y,z)},o=function o(v){var w=v.index,x=v.adgroup,y=v.objective,z=v.campaignGroupPromotedPageID,A=v.promotedObjectType,B=c("AdsChildAttachmentsUtils").getInChild(w,c("AdsAPIChildAttachmentPaths").CALL_TO_ACTION.VALUE.LINK,x);if(!B)return false;return!c("AdsAdgroupSpecUtils").isCTALinkCustomizable(x,y,z)},p=function p(v){__p&&__p();var w=v.adgroup,x=v.campaignGroupPromotedPageID,y=v.objective,z=v.promotedObjectType,A=v.specPlugin,B=v.websiteURL,C=w.getIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE);if(C===c("ApiAdObjectTypes").SHARE&&c("AdsAdgroupSpecUtils").isLinkDataEligible(y,z)&&!s(w,y,x)&&!c("AdsAPIAdgroupRecordUtils").isTemplateCreative(w)&&!c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(w))w=m(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.ATTACHMENT_STYLE,c("ShareAttachmentStyles").LINK,w);else w=l(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.ATTACHMENT_STYLE,w);if(n({adgroup:w,objectType:C,objective:y,campaignGroupPromotedPageID:x,promotedObjectType:z,specPlugin:A})){var D=c("AdsUnifiedCreativeAPIFields").callToActionValue.getPath(w,A);if(D)w=w.setIn(D.concat([c("CallToActionValueFields").LINK]),B)}if(c("AdsAdgroupSpecUtils").isAppLinkDataEligible(y,z)){w=k(c("AdsAPIChildAttachmentPaths").LINK,B,w);w=k(c("AdsAPIChildAttachmentPaths").CALL_TO_ACTION.VALUE.LINK,B,w)}if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(w))w=c("AdsAssetFeedMutationUtils").setAssetFieldAtIndex(w,A,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsAssetFeedFieldUtils").getDefaultAssetIndex(w,c("AdsAPIAdAssetFeedFields").LINK_URLS),c("AdsAPIAdAssetFeedLinkURLsFields").WEBSITE_URL,B);else w=w.setIn(c("AdsUnifiedCreativeAPIFields").linkURL.getPath(w,A),B);w=q(w,c("AdsUEditorWebsiteUtils").getVideoLPPFormat(w,y));return w},q=function q(v,w){if(w)v=m(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.LINK_FORMAT,w,v);return v},r=function r(v){__p&&__p();var w=v.websiteURL,x=v.adgroup,y=v.objective,z=v.promotedObjectType,A=v.specPlugin,B=v.campaignGroupPromotedPageID;if(!c("AdsChildAttachmentsUtils").hasChildAttachments(x))return p({specPlugin:A,websiteURL:w,adgroup:x,objective:y,promotedObjectType:z,campaignGroupPromotedPageID:B});x=k(c("AdsAPIChildAttachmentPaths").LINK,w,x);i(x,function(C,D,E){if(c("AdsChildAttachmentsUtils").hasPlaceData(C))return;if(o({index:D,adgroup:x,objective:y,campaignGroupPromotedPageID:B,promotedObjectType:z}))x=j(D,c("AdsAPIChildAttachmentPaths").CALL_TO_ACTION.VALUE.LINK,w,x)});return x},s=function s(v,w,x){return c("AdsLocalAwarenessUtils").isDynamicLocalAwareness(w,x)},t=function t(v){var w=v.landingViewType,x=v.adgroup,y=v.pages,z=v.objective,A=v.promotedObjectType,B=v.specPlugin,C=v.campaignGroupPromotedPageID,D=x.getIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PAGE_ID);D&&y&&y.has(D)||h(0);var E=c("nullthrows")(y.get(D)),F=c("AdsLandingViewTypeUtils").linkFromType(w,E);x=r({specPlugin:B,websiteURL:F,adgroup:x,objective:z,promotedObjectType:A,campaignGroupPromotedPageID:C});return x},u={setWebsiteURL:p,setWebsiteURLInChildren:r,setLandingViewType:t,shouldUpdateCallToActionURLInChild:o};f.exports=u}),null);
__d("adsUEditorAdgroupSpecPathPluginSelector",["AdsAdgroupSpecPathPluginResolver","AdsAPICampaignGroupRecordUtils","AdsAudienceDirectConfig","AdsCampaignUtils","adsCreateSelector","adsUEditorCampaignGroupSelector","adsUEditorCampaignSelector","nullthrows"],(function a(b,c,d,e,f,g){"use strict";f.exports=c("adsCreateSelector")([c("adsUEditorCampaignSelector"),c("adsUEditorCampaignGroupSelector")],function(h,i){var j=c("nullthrows")(h),k=c("nullthrows")(i),l=c("AdsAPICampaignGroupRecordUtils").getObjective(k),m=c("AdsCampaignUtils").getPromotedObjectType(l,j);return c("AdsAdgroupSpecPathPluginResolver").resolve({accountType:c("AdsAudienceDirectConfig").accountType,objective:l,promotedObjectType:m})},f.id)}),null);
__d("AdsLandingViewTypeUtils",["invariant","AdsAdgroupSpecUtils","AdsAPIAdAssetFeedLinkURLsFields","AdsAPIAdgroupPaths","AdsAPIChildAttachmentPaths","AdsAPIObjectives","AdsAssetFeedFieldUtils","AdsBulkValueTypesConfig","AdsBulkValueUtils","AdsChildAttachmentsUtils","AdsLandingViewTypes","AdsUEditorAdgroupSpecPathPluginAdObjectsUtils","AdsUnifiedCreativeAPIFields","ApiObjectStorySpecLinkChildFields","ApiPageFields","immutable","getBulkByPath","getByPath"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("AdsUEditorAdgroupSpecPathPluginAdObjectsUtils").getAdgroupSpecPathPlugin,j="https://fb.com/store_locator",k="https://fb.com/retail_product",l=c("immutable").List([]),m={fromAdObjects:function n(o,p){var q=o.adgroup,r=i(o),s=c("AdsChildAttachmentsUtils").getChildAttachmentsPath(q),t=(s&&q.getIn(s)||l).filter(function(v){return!v.getIn(c("AdsAPIChildAttachmentPaths").PLACE_DATA.path)}),u=void 0;if(t&&t.size)u=t.get(0).getIn(c("AdsAPIChildAttachmentPaths").LINK);else u=c("AdsAssetFeedFieldUtils").firstAsset_TALK_WITH_ACE_BEFORE_USE(c("AdsUnifiedCreativeAPIFields").linkURL.getValue(q,r),c("AdsAPIAdAssetFeedLinkURLsFields").WEBSITE_URL);return this.fromURLComparison(u,p&&p.link)},fromAdgroupSpec:function n(o,p,q,r){var s=c("AdsChildAttachmentsUtils").getChildAttachmentsPathFromSpec(o),t=(s&&c("getByPath")(o,s)||[]).filter(function(v){return!c("getByPath")(v,c("AdsAPIChildAttachmentPaths").PLACE_DATA.path)}),u=t&&t.length?c("getByPath")(t,["0"].concat(c("AdsAPIChildAttachmentPaths").LINK)):c("AdsAdgroupSpecUtils").getLink(o);return this.fromURLComparison(u,r.link)},fromURLComparison:function n(o,p){if(this.areEqualURLs(o,p))return c("AdsLandingViewTypes").FACEBOOK_PAGE;else if(this.areEqualURLs(o,j))return c("AdsLandingViewTypes").STORE_LOCATOR;else if(this.areEqualURLs(o,k))return c("AdsLandingViewTypes").PRODUCT_PAGE;else return c("AdsLandingViewTypes").EXTERNAL},fromAttachmentsURLComparison:function n(o,p,q){__p&&__p();var r=c("AdsUnifiedCreativeAPIFields").childAttachments.getValue(o,q);r&&r.size||h(0);var s=r.filter(function(t){return!t.getIn([c("ApiObjectStorySpecLinkChildFields").PLACE_DATA])}).map(function(t){return this.fromURLComparison(t.getIn([c("ApiObjectStorySpecLinkChildFields").LINK]),p)}.bind(this));if(s.every(function(t){return t===c("AdsLandingViewTypes").FACEBOOK_PAGE}))return c("AdsLandingViewTypes").FACEBOOK_PAGE;if(s.every(function(t){return t===c("AdsLandingViewTypes").STORE_LOCATOR}))return c("AdsLandingViewTypes").STORE_LOCATOR;return c("AdsLandingViewTypes").EXTERNAL},linkFromType:function n(o,p){__p&&__p();var q=void 0;switch(o){case c("AdsLandingViewTypes").FACEBOOK_PAGE:q=p[c("ApiPageFields").LINK];break;case c("AdsLandingViewTypes").STORE_LOCATOR:q=j;break;case c("AdsLandingViewTypes").PRODUCT_PAGE:q=k;break;case c("AdsLandingViewTypes").EXTERNAL:q=p[c("ApiPageFields").WEBSITE];break;default:q=null}return q||""},getSupportedTypes:function n(o,p){var q=!!(p&&p.getIn(c("AdsAPIAdgroupPaths").CREATIVE.PRODUCT_SET_ID));return this._getSupportedTypes(o,q)},getSupportedTypesFromAdObjects:function n(o){var p=c("AdsBulkValueUtils").aggregate(c("AdsBulkValueTypesConfig").EMPTY_UNIFORM_MIXED,o.map(function(r){return r.campaignGroup.objective})),q=o.map(function(r){return r.adgroup.getIn(c("AdsAPIAdgroupPaths").CREATIVE.PRODUCT_SET_ID)}).every(function(r){return!!r});return this._getSupportedTypes(c("AdsBulkValueUtils").getUniformValue(p,c("AdsAPIObjectives").NONE),q)},getSupportedTypesBulk:function n(o,p){var q=c("getBulkByPath")(p,c("AdsAPIAdgroupPaths").CREATIVE.PRODUCT_SET_ID),r=q.getValues(),s=r.length>0&&r.every(function(q){return q});return this._getSupportedTypes(c("AdsBulkValueUtils").getUniformValue(o),s)},_getSupportedTypes:function n(o,p){switch(o){case c("AdsAPIObjectives").STORE_VISITS:var q=(!p?[c("AdsLandingViewTypes").FACEBOOK_PAGE]:[]).concat([c("AdsLandingViewTypes").EXTERNAL,c("AdsLandingViewTypes").STORE_LOCATOR]).concat(p?[c("AdsLandingViewTypes").PRODUCT_PAGE]:[]);return q;default:return[c("AdsLandingViewTypes").FACEBOOK_PAGE,c("AdsLandingViewTypes").EXTERNAL]}},areEqualURLs:function n(o,p){return o!=null&&p!=null&&o.replace(/\/$/,"")===p.replace(/\/$/,"")}};f.exports=m}),null);
__d("AdsBootloader.react",["AdsSpinner.react","BootloadedComponent.react","React"],(function a(b,c,d,e,f,g){"use strict";var h,i,j=c("React").Component;h=babelHelpers.inherits(k,j);i=h&&h.prototype;k.prototype.render=function(){return c("React").createElement(c("BootloadedComponent.react"),babelHelpers["extends"]({bootloadPlaceholder:c("React").createElement(c("AdsSpinner.react"),null)},this.props))};function k(){h.apply(this,arguments)}f.exports=k}),null);
__d("ContextualLayerDynamicOffsetX",["ContextualLayerDimensions"],(function a(b,c,d,e,f,g){__p&&__p();var h=4;function i(j){"use strict";this._layer=j;this._defaultOffsetX=null;this._subscription=null}i.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe("show",this._adjustOffset.bind(this));this._adjustOffset()};i.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;if(this._defaultOffsetX!==null){this._layer.setOffsetX(this._defaultOffsetX);this._defaultOffsetX=null}};i.prototype._adjustOffset=function(j){"use strict";__p&&__p();var k=this._layer.getOrientation();if(!k.isVertical())return;if(this._defaultOffsetX===null)this._defaultOffsetX=k.getOffsetX();var l=c("ContextualLayerDimensions").getViewportRect(this._layer),m=l.r-l.l,n=c("ContextualLayerDimensions").getLayerRect(this._layer,k),o=k.getOffsetX()-this._defaultOffsetX,p=m-n.r;if(p<0||p<-o)this._layer.setOffsetX(k.getOffsetX()+p-h);else if(n.l<0)this._layer.setOffsetX(n.l*-1+h)};f.exports=i}),null);
__d("ContextualLayerDynamicOffsetY",["ContextualLayerDimensions"],(function a(b,c,d,e,f,g){__p&&__p();function h(i){"use strict";this._layer=i}h.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe("show",this._adjustOffset.bind(this));this._adjustOffset()};h.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;if(this._defaultOffsetY!==null){this._layer.setOffsetY(this._defaultOffsetY);this._defaultOffsetY=null}};h.prototype._adjustOffset=function(i){"use strict";__p&&__p();var j=this._layer.getOrientation();if(j.isVertical())return;if(this._defaultOffsetY===null)this._defaultOffsetY=j.getOffsetY();var k=c("ContextualLayerDimensions").getViewportRect(this._layer),l=k.b-k.t,m=c("ContextualLayerDimensions").getLayerRect(this._layer,j),n=j.getOffsetY()-this._defaultOffsetY,o=l-m.b;if(o>=0&&o>=-n)this._layer.setOffsetY(this._defaultOffsetY);else this._layer.setOffsetY(j.getOffsetY()+o)};Object.assign(h.prototype,{_defaultOffsetY:null,_subscriptions:[]});f.exports=h}),null);
__d("SignalsTooltipInfo.react",["cx","ContextualLayerDynamicOffsetX","ContextualLayerDynamicOffsetY","ContextualLayerHideOnScroll","FbtResultBase","Image.react","LayerFadeOnShow","LayerHideOnBlur","React","XUIContextualDialog.react","XUIContextualDialogBody.react","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").Component,l=c("React").PropTypes,m=100,n="right",o={ContextualLayerHideOnScroll:c("ContextualLayerHideOnScroll"),LayerFadeOnShow:c("LayerFadeOnShow"),LayerHideOnBlur:c("LayerHideOnBlur")};i=babelHelpers.inherits(p,k);j=i&&i.prototype;function p(){var q,r;for(var s=arguments.length,t=Array(s),u=0;u<s;u++)t[u]=arguments[u];return r=(q=j.constructor).call.apply(q,[this].concat(t)),this.$SignalsTooltipInfo1=function(){return this.refs&&this.refs.body}.bind(this),r}p.prototype.render=function(){var q=this.props.message,r=this.props.iconURL?c("React").createElement(c("Image.react"),{alt:typeof q==="string"?q:null,className:"_2s1t"+(!this.props.noVerticalMargin?" _4ca9":""),position:"above",src:this.props.iconURL}):null,s=c("joinClasses")("_1bg5 _46qs"+(this.props.iconURL!=null?" _2s1u":"")+(this.props.textBlock!=null?" _2s1v":"")+(this.props.noHorizontalMargin===true?" _1bg6":""),this.props.className),t=babelHelpers["extends"]({},o),u=this.props,v=u.dynamicOffset,w=u.position;if(v)if(w==="left"||w==="right")Object.assign(t,{ContextualLayerDynamicOffsetY:c("ContextualLayerDynamicOffsetY")});else Object.assign(t,{ContextualLayerDynamicOffsetX:c("ContextualLayerDynamicOffsetX")});return c("React").createElement("div",{className:s},c("React").createElement("div",{className:"_1bg7",ref:"body",tabIndex:0},r,this.props.textBlock),c("React").createElement(c("XUIContextualDialog.react"),babelHelpers["extends"]({behaviors:t,contextRef:this.$SignalsTooltipInfo1,hoverContextRef:this.$SignalsTooltipInfo1,hoverHideDelay:m,hoverShowDelay:this.props.hoverShowDelay,position:this.props.position},this.props),c("React").createElement(c("XUIContextualDialogBody.react"),null,q)))};p.propTypes={className:l.string,hoverShowDelay:l.number,iconURL:l.oneOfType([l.object,l.string]),noHorizontalMargin:l.bool,position:l.string,textBlock:l.oneOfType([l.element,l.node,l.string])};p.defaultProps={hoverShowDelay:0,noHorizontalMargin:false,position:n};f.exports=p}),null);
__d("AdsImageIDClasses",["invariant","Cache","ShutterstockImageUtils","nullthrows"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k,l,m,n,o,p,q="SECRET_"+Math.random();function r(x,y){x===q||h(0);this.$AdsImageID1=y}r.fromAcountAndHash=function(x,y){var z="ACCOUNT_"+x+":"+y;if(!w.has(z))w.set(z,new s(q,z,x,y));return c("nullthrows")(w.get(z))};r.fromFacebookID=function(x){var y="FACEBOOK_"+x;if(!w.has(y))w.set(y,new t(q,y,x));return c("nullthrows")(w.get(y))};r.fromShutterstockID=function(x){var y="SHUTTERSTOCK_"+x;if(!w.has(y))w.set(y,new u(q,y,x));return c("nullthrows")(w.get(y))};r.fromShutterstockURL=function(x){c("ShutterstockImageUtils").isStockImageURL(x)||h(0);return r.fromShutterstockID(c("ShutterstockImageUtils").urlToID(x))};r.fromExternalURL=function(x){var y="EXT_"+x;if(!w.has(y))w.set(y,new v(q,y,x));return c("nullthrows")(w.get(y))};r.fromSignature=function(x){w.has(x)||h(0);return c("nullthrows")(w.get(x))};r.prototype.getSignature=function(){return this.$AdsImageID1};i=babelHelpers.inherits(s,r);j=i&&i.prototype;function s(x,y,z,A){j.constructor.call(this,x,y);this.$AdsAccountImageID1=z;this.$AdsAccountImageID2=A}s.prototype.getAccountID=function(){return this.$AdsAccountImageID1};s.prototype.getHash=function(){return this.$AdsAccountImageID2};k=babelHelpers.inherits(t,r);l=k&&k.prototype;function t(x,y,z){l.constructor.call(this,x,y);this.$AdsFacebookImageID1=z}t.prototype.getFacebookID=function(){return this.$AdsFacebookImageID1};m=babelHelpers.inherits(u,r);n=m&&m.prototype;function u(x,y,z){n.constructor.call(this,x,y);this.$AdsShutterstockImageID1=z}u.prototype.getShutterstockImageID=function(){return this.$AdsShutterstockImageID1};o=babelHelpers.inherits(v,r);p=o&&o.prototype;function v(x,y,z){p.constructor.call(this,x,y);this.$AdsExternalImageID1=z}v.prototype.getUrl=function(){return this.$AdsExternalImageID1};var w=new(c("Cache"))();f.exports={AdsAccountImageID:s,AdsExternalImageID:v,AdsFacebookImageID:t,AdsImageID:r,AdsShutterstockImageID:u}}),null);
__d("AdsPlacementPlatformUtils",["AdsAPIAudienceNetworkPosition","AdsAPIFacebookPosition","AdsAPIInstagramPosition","AdsAPIPublisherPlatform","AdsPageTypes","AdsPlacementAPIMigrationUtils","AdsPlacementAPISpecReaderUtils"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsPlacementAPIMigrationUtils").deprecate,i=c("AdsPlacementAPISpecReaderUtils").convertCampaignToPlacementSpec,j=c("AdsPlacementAPISpecReaderUtils").isActiveAudienceNetworkPosition,k=c("AdsPlacementAPISpecReaderUtils").isActiveFacebookPosition,l=c("AdsPlacementAPISpecReaderUtils").isActiveInstagramPosition,m=c("AdsPlacementAPISpecReaderUtils").isActivePublisherPlatform,n=c("AdsPlacementAPISpecReaderUtils").isOnlyActivePublisherPlatform,o={hasAnyFacebookPlacement:function p(q){return q.some(function(r){return r===h(c("AdsPageTypes").DESKTOP_FEED)||r===h(c("AdsPageTypes").MOBILE_FEED)||r===h(c("AdsPageTypes").RIGHT_COLUMN)||r===h(c("AdsPageTypes").HOME)||r===h(c("AdsPageTypes").LOGOUT)})},hasAnyFacebookPlacementV2:function p(q){return m(q,c("AdsAPIPublisherPlatform").FACEBOOK)},hasAnyInstreamVideoPlacementV2:function p(q){return k(q,c("AdsAPIFacebookPosition").INSTREAM_VIDEO)},hasAnyInstagramPlacementV2:function p(q){return m(q,c("AdsAPIPublisherPlatform").INSTAGRAM)},hasInstagramStoriesPlacementV2:function p(q){return l(q,c("AdsAPIInstagramPosition").STORY)},hasAudienceNetworkInstreamVideoPlacementV2:function p(q){return j(q,c("AdsAPIAudienceNetworkPosition").INSTREAM_VIDEO)},hasAudienceNetworkPlacementOnlyV2:function p(q){return n(q,c("AdsAPIPublisherPlatform").AUDIENCE_NETWORK)},hasAudienceNetworkRewardedVideoPlacementV2:function p(q){return j(q,c("AdsAPIAudienceNetworkPosition").REWARDED_VIDEO)},campaignHasAnyFacebookPlacement:function p(q){return m(i(q),c("AdsAPIPublisherPlatform").FACEBOOK)}};f.exports=o}),null);
__d("adsGetCreativeTypeByCreativeFields",["ApiAdObjectTypes","ApiCreativeTypes"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i){switch(i){case c("ApiAdObjectTypes").DOMAIN:return c("ApiCreativeTypes").STANDARD;case c("ApiAdObjectTypes").PAGE:return c("ApiCreativeTypes").INLINE_FAN;case c("ApiAdObjectTypes").EVENT:return c("ApiCreativeTypes").INLINE_RSVP;case c("ApiAdObjectTypes").OFFER:case c("ApiAdObjectTypes").PHOTO:case c("ApiAdObjectTypes").SHARE:case c("ApiAdObjectTypes").STATUS:case c("ApiAdObjectTypes").VIDEO:return c("ApiCreativeTypes").PAGE_POSTS_V2;case c("ApiAdObjectTypes").INVALID:return c("ApiCreativeTypes").EXOTIC_OR_INVALID;default:return null}}f.exports=h}),null);
__d("AdImageSpecsUtils",["invariant","AdCreativeType","AdImageSpecs","AdsAdgroupSpecUtils","AdsAPIAdgroupPaths","AdsBrandAwarenessUtils","AdsImageSelectorV2Types","AdsInstagramApplicabilityUtils","AdsMessengerPlacementV2Utils","AdsPageTypes","AdsPlacementAPISpecReaderUtils","AdsPlacementPlatforms","AdsPlacementPlatformUtils","AdsUniformValue","ApiAdCreativePlatformCustomizationFields","ApiAdObjectTypes","immutable","InstagramAdImageLowResolutionSpecs","InstagramAdImageStoryPortalSpecs","adsGetCreativeTypeByCreativeFields","getByPath","gkx"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("AdsImageSelectorV2Types").ImageSourceImageSpec,j=c("AdsPlacementAPISpecReaderUtils").isPageTypeSupportedByAssetCustomizationPlacement,k=c("AdsPlacementAPISpecReaderUtils").isPageTypeSupportedByPlacement,l=c("adsGetCreativeTypeByCreativeFields")(c("ApiAdObjectTypes").SHARE),m={getImageSpecKey:function n(o){for(var p in c("AdImageSpecs"))if(c("AdImageSpecs")[p]===o)return p;return null},getImageSpecsForAdType:function n(o,p,q){__p&&__p();var r=[],s=m.getAllImageSpecs(q);Object.keys(s).forEach(function(u){var v=s[u].supportedTypes||[];if(v.indexOf(o)>=0)r.push(s[u])});var t=p;if(t&&!t.includes(c("AdsPageTypes").NONE))return r.filter(function(u){return t.indexOf(u.placement)>=0});return r},getImageSpecsForAssetCustomizationPlacement:function n(o,p,q){__p&&__p();var r=[],s=m.getAllImageSpecs(q);Object.keys(s).forEach(function(u){var v=s[u].supportedTypes||[];if(v.indexOf(l)>=0)r.push(s[u])});var t=p;if(o&&t)return r.filter(function(u){return j(u.placement,o,t)});return r},getImageSpecsForAdTypeV2:function n(o,p,q){__p&&__p();var r=[],s=m.getAllImageSpecs(q);Object.keys(s).forEach(function(u){var v=s[u].supportedTypes||[];if(v.indexOf(o)>=0)r.push(s[u])});var t=p;if(t)return r.filter(function(u){return t.every(function(v){return k(u.placement,v)})});return r},getCropImageSpecsForAdType:function n(o,p,q){var r=m.getImageSpecsForAdType(o,p,q);return m.filterCropImageSpecs(r)},getCropImageSpecsForAdTypeV2:function n(o,p,q){var r=m.getImageSpecsForAdTypeV2(o,p,q);return m.filterCropImageSpecs(r)},getDisabledCropImageSpecsForAdType:function n(o,p,q){return o.filter(function(r){if(r.placement===c("AdsPageTypes").DESKTOP_FEED&&p===c("AdCreativeType").AD_CREATIVE_TYPE.PAGE_POSTS_V2&&!q)return true;return false})},getDisabledSpecs:function n(o,p,q,r){var s=[],t=m.getFacebookImageSpecs(o);if(!m.isCroppingEnabled(p,q,r,null))Array.prototype.push.apply(s,t);var u=m.getInstagramImageSpecs(o);if(!m.isCroppingEnabled(p,q,r,c("ApiAdCreativePlatformCustomizationFields").INSTAGRAM))Array.prototype.push.apply(s,u);return s},shouldShowCropButton:function n(o,p,q,r,s){if(m.isCroppingEnabled(o,p,r,null))return true;if(!m.isCroppingEnabled(o,p,r,c("ApiAdCreativePlatformCustomizationFields").INSTAGRAM))return false;if(!q)return false;return!!s},isCroppingEnabled:function n(o,p,q){var r=arguments.length<=3||arguments[3]===undefined?null:arguments[3];if(o)return false;var s=function s(u){return c("AdsAdgroupSpecUtils").canCropStaticImageForPlatform(u,r)},t=q&&c("AdsMessengerPlacementV2Utils").someHaveMessengerThreadPosition(q);return!t&&p.every(s)},filterCropImageSpecs:function n(o){var p=[];return o.sort(function(q,r){return r.width-q.width}).filter(function(q){if(q.placement===c("AdsPageTypes").INSTAGRAM_STREAM)return true;if(!q.cropKey||p.includes(q.cropKey))return false;p.push(q.cropKey);return true})},getCropImageSpecsForBulkAdgroups:function n(o,p){var q=c("getByPath")(o,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE);if(!(q instanceof c("AdsUniformValue")))return[];var r=c("adsGetCreativeTypeByCreativeFields")(q.getValue());return m.getCropImageSpecsForAdType(r,p)},getCropImageSpecsForBulkAdgroupsV2:function n(o,p,q){var r=c("getByPath")(o,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE);if(!(r instanceof c("AdsUniformValue")))return[];var s=c("adsGetCreativeTypeByCreativeFields")(r.getValue());return m.getCropImageSpecsForAdTypeV2(s,p,q)},getImageSpecForAdType:function n(o,p){var q=m.getImageSpecsForAdType(o);for(var r=0;r<q.length;++r){var s=q[r];if(s.placement===p)return s}return null},getImageSpecPlacementPlatform:function n(o){if(c("AdsPlacementPlatformUtils").hasAnyFacebookPlacement([o.placement])||o.placement===c("AdsPageTypes").MOBILE_EXTERNAL)return c("AdsPlacementPlatforms").FACEBOOK;return o.placement===c("AdsPageTypes").INSTAGRAM_STREAM?c("AdsPlacementPlatforms").INSTAGRAM:null},getMostStringentImageSpec:function n(o){if(!o.length)return null;return o.sort(function(p,q){return p.width-q.width})[0]},getLeastStringentImageSpec:function n(o){if(!o.length)return null;return o.sort(function(p,q){return q.width-p.width})[0]},hasFacebookPlacement:function n(o){return o.some(function(p){return p.placement!==c("AdsPageTypes").INSTAGRAM_STREAM})},hasInstagramPlacement:function n(o){return o.some(function(p){return p.placement===c("AdsPageTypes").INSTAGRAM_STREAM})},getFacebookImageSpecs:function n(o){return o.filter(function(p){return p.placement!==c("AdsPageTypes").INSTAGRAM_STORY&&p.placement!==c("AdsPageTypes").INSTAGRAM_STREAM})},getInstagramImageSpecs:function n(o){return o.filter(function(p){return p.placement===c("AdsPageTypes").INSTAGRAM_STORY||p.placement===c("AdsPageTypes").INSTAGRAM_STREAM})},reduceMinFacebookImageSpec:function n(o){o.length>0||h(0);var p={};["minWarningHeight","minWarningWidth"].forEach(function(q){p[q]=o.reduce(function(r,s){return Math.max(r,s[q])},0)});p.placement="";return p},reduceMinInstagramImageSpec:function n(o){__p&&__p();o.length>0||h(0);var p=Number.MAX_VALUE,q=Number.MAX_VALUE,r=void 0,s=void 0;o.forEach(function(t){p=Math.min(p,t.minWarningHeight);q=Math.min(q,t.minWarningWidth);if(t.minWarningAspectRatio)r=Math.min(r?r:Number.MAX_VALUE,t.minWarningAspectRatio);if(t.maxWarningAspectRatio)s=Math.max(s?s:0,t.maxWarningAspectRatio)});return{minWarningHeight:p,minWarningWidth:q,minWarningAspectRatio:r,maxWarningAspectRatio:s,placement:o[0].placement}},reduceMinImageSpec:function n(o){__p&&__p();var p=null,q=null;if(!o||!o.length)return{igSpecificImageSpec:q,imageSpec:p};var r=m.getFacebookImageSpecs(o),s=m.getInstagramImageSpecs(o);if(r.length>0)p=m.reduceMinFacebookImageSpec(r);if(s.length>0){q=m.reduceMinInstagramImageSpec(s);if(r.length===0){p=q;q=undefined}}return{igSpecificImageSpec:q,imageSpec:p}},reduceAndMergeImageSpec:function n(o){var p=m.reduceMinImageSpec(o),q=p.imageSpec,r=p.igSpecificImageSpec,s=c("immutable").List([new i(babelHelpers["extends"]({},q))]);if(r)s=s.push(new i(babelHelpers["extends"]({},r)));return s},getSelectedInstagramImageSpec:function n(o){if(o){if(o[c("AdImageSpecs").INSTAGRAM_STREAM.cropKey])return c("AdImageSpecs").INSTAGRAM_STREAM;if(o[c("AdImageSpecs").INSTAGRAM_STREAM_LANDSCAPE.cropKey])return c("AdImageSpecs").INSTAGRAM_STREAM_LANDSCAPE;if(o[c("AdImageSpecs").INSTAGRAM_STORY_CROP.cropKey])return c("AdImageSpecs").INSTAGRAM_STORY_CROP}return c("AdImageSpecs").INSTAGRAM_STREAM_NO_CROP},getAllImageSpecs:function n(o){if(c("gkx")("AT5gTHWzPb9gKQAyeSlkH_YBoHd8u5vPOGrhfgo3Sf__Z2Bz7E14G3zlZRAdm-qX8Yr257cuNuewCZCRCM5yrbDh"))return babelHelpers["extends"]({},c("AdImageSpecs"),c("InstagramAdImageStoryPortalSpecs"));else if(o)return babelHelpers["extends"]({},c("AdImageSpecs"),c("InstagramAdImageLowResolutionSpecs"));else return c("AdImageSpecs")},getImageSpecsForAdgroup:function n(o,p,q){var r=c("adsGetCreativeTypeByCreativeFields")(o.getIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE)),s=c("AdsPlacementAPISpecReaderUtils").convertCampaignRecordToPlacementSpec(p),t=m.getCropImageSpecsForAdTypeV2(r,[s],q),u=m.getDisabledCropImageSpecsForAdType(t,r,c("AdsBrandAwarenessUtils").isWebsiteLinkEnabled(o.toJS()));return{imageSpecs:t,disabledSpecs:u}}};f.exports=m}),null);
__d("InstagramImageResolutionExperiment",["AdsBuyingTypes","AdsError"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={useHighResolution:function i(j,k,l){if(!j)return false;if(l&&l.includes(c("AdsBuyingTypes").RESERVED))return false;if(k&&k!==c("AdsError").Level.RECOMMEND)return false;return j.getParamBool("high_resolution")}};f.exports=h}),null);
__d("AdsImageValidation",["errorCode","errorDesc","fbt","AdImageSpecs","AdImageSpecsUtils","AdsAPIAdgroupPaths","AdsAPIPublisherPlatform","AdsBuyingTypes","AdsCFImageTypes","AdsError","AdsInstagramSoftErrors","AdsPageTypes","AdsPlacementAPISpecReaderUtils","AdsStockImageSourceUtils","ApiAdCreativeFields","ApiAdCreativePlatformCustomizationFields","ApiAdCreativeStorySpecFields","ApiObjectStorySpecLinkFields","InstagramImageResolutionExperiment","adsGetCreativeTypeByCreativeFields","getByPath","gkx","keyMirror"],(function a(b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=c("AdsStockImageSourceUtils").MAX_STOCK_IMAGE_WIDTH,l=c("AdsStockImageSourceUtils").MAX_STOCK_IMAGE_HEIGHT,m={isValidFormat:function n(o){return Object.prototype.hasOwnProperty.call(c("AdsCFImageTypes"),o)},isSquare:function n(o){return!!(o.getWidth()&&o.getWidth()===o.getHeight())},isExactSize:function n(o,p){return o.getWidth()===p.width&&o.getHeight()===p.height},isWarningSize:function n(o,p){var q=o.getWidth(),r=o.getHeight();if(o.isStockImage()&&!o.hasFullSizeDimensions()){var s=Math.min(k/q,l/r);r=Math.round(r*s);q=Math.round(q*s)}return q>=p.minWarningWidth&&r>=p.minWarningHeight},isValidCropSize:function n(o,p){return o[1][0]-o[0][0]+1>=p.minWarningWidth&&o[1][1]-o[0][1]+1>=p.minWarningHeight},isValidAspectRatio:function n(o,p){var q=0;if(Object.prototype.hasOwnProperty.call(p,"aspectRatioTolerance"))q=p.aspectRatioTolerance;var r=o.getWidth()/o.getHeight();if(Object.prototype.hasOwnProperty.call(p,"minWarningAspectRatio")&&r<p.minWarningAspectRatio*(1-q))return false;if(Object.prototype.hasOwnProperty.call(p,"maxWarningAspectRatio")&&r>p.maxWarningAspectRatio*(1+q))return false;return true},isRecommendedSize:function n(o,p){return o.getHeight()>=p.height&&o.getWidth()>=p.width},isLargeSize:function n(o,p){return m.isRecommendedSize(o,p)||o.getWidth()>=p.minLargeWidth&&o.getHeight()>=p.minLargeHeight},isSmallSize:function n(o,p){return m.isLargeSize(o,p)||m.isWarningSize(o,p)},hasSmallFormat:function n(o){return!!(o.minLargeWidth&&o.minLargeHeight)},isWithinSizeTolerance:function n(o,p){var q=p.dimensionTolerance,r=Math.abs(p.height-o.getHeight())<q,s=Math.abs(p.width-o.getWidth())<q;return r&&s},validate:function n(o,p,q){if(p.placement in o.validationMap){q(o,p,o.validationMap[p.placement]);return}var r=this._imageDimensionsReady.bind(this,o,p,q);if(o.isStockImage())o.fetchFullSizeDimensions(r);else o.setDimensionsReadyCallback(r)},validateNow:function n(o,p,q,r,s){if(o.isValidated(p.placement))return;if(!o.hasDimensions())return;var t=this._getValidation(o,p,q,r,s);o.validationMap[p.placement]=t},_imageDimensionsReady:function n(o,p,q){var r=this._getValidation(o,p,o.getCrops());q(o,p,r)},_getImageResolutionError:function n(o,p,q){if(c("InstagramImageResolutionExperiment").useHighResolution(q,undefined,p))return j._("Your image resolution is low and might not perform as well on all devices.");return j._("Images must be at least {minimum Instagram ad image width} x {minimum Instagram ad image height} pixels.",[j.param("minimum Instagram ad image width",o.minWarningWidth),j.param("minimum Instagram ad image height",o.minWarningHeight)])},_getValidation:function n(o,p,q,r,s){__p&&__p();var t=void 0,u=void 0,v=void 0,w=[],x=void 0,y=void 0,z=void 0,A=void 0,B=p.placement,C=Object.prototype.hasOwnProperty.call(p,"height")&&Object.prototype.hasOwnProperty.call(p,"width"),D=C?j._({"*":{"*":{"*":{"*":"This image is too small. Please use a larger image.{newLine1}Minimum Size: {minimumWidth} x {minimumHeight} pixels{newLine2}Recommended Size: {recommendedWidth} x {recommendedHeight} pixels"}}}},[j.param("newLine1","\n\n"),j.param("minimumWidth",p.minWarningWidth,[0]),j.param("minimumHeight",p.minWarningHeight,[0]),j.param("newLine2","\n"),j.param("recommendedWidth",p.width,[0]),j.param("recommendedHeight",p.height,[0])]):j._({"*":{"*":"This image is too small. Please use a larger image.{newLine}Minimum Size: {width} x {height} pixels"}},[j.param("newLine","\n\n"),j.param("width",p.minWarningWidth,[0]),j.param("height",p.minWarningHeight,[0])]),E=c("keyMirror")(c("AdImageSpecs")),F=c("AdImageSpecsUtils").getImageSpecKey(p);switch(F){case E.EVENT_DESKTOP_FEED:case E.EVENT_MOBILE_FEED:case E.EVENT_RHC:break;default:x=m.isWarningSize(o,p);if(!x)v=D;else if((B===c("AdsPageTypes").DESKTOP_FEED||B===c("AdsPageTypes").MOBILE_FEED)&&m.hasSmallFormat(p)){A=m.isRecommendedSize(o,p);z=m.isLargeSize(o,p);y=m.isSmallSize(o,p);if(A)t=j._("This image will display in high-resolution on Facebook.");else if(z&&!A)t=C?j._({"*":{"*":"This image will show in the wider format in News Feed.{newLine}Recommended Size: {width} x {height} pixels"}},[j.param("newLine","\n\n"),j.param("width",p.width,[0]),j.param("height",p.height,[0])]):j._("This image will show in the wider format in News Feed.");else if(y&&!A)u=C?j._({"*":{"*":"Upload a larger image to be eligible for the wider format in News Feed.{newLine}Recommended Size: {width} x {height} pixels"}},[j.param("newLine","\n\n"),j.param("width",p.width,[0]),j.param("height",p.height,[0])]):j._("Upload a larger image to be eligible for the wider format in News Feed.")}if(B===c("AdsPageTypes").INSTAGRAM_STREAM||B===c("AdsPageTypes").INSTAGRAM_STORY){var G=[],H=q&&q[p.cropKey];if(!m.isWarningSize(o,p)){var I=m._getImageResolutionError(p,r,s);w.push(new(c("AdsError"))(1772077,I,{level:c("AdsError").Level.WARN,path:c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_HASH}));G.push(I)}else if(q&&H&&!m.isValidCropSize(q[p.cropKey],p)){var J=m._getImageResolutionError(p,r,s);w.push(new(c("AdsError"))(2016007,J,{level:c("AdsError").Level.WARN,path:c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_HASH}));G.push(J)}else if(B===c("AdsPageTypes").INSTAGRAM_STORY&&!H&&!m.isValidAspectRatio(o,p)&&!c("gkx")("AT5gTHWzPb9gKQAyeSlkH_YBoHd8u5vPOGrhfgo3Sf__Z2Bz7E14G3zlZRAdm-qX8Yr257cuNuewCZCRCM5yrbDh")){G.push(i._(function(j,K){return j._("Story media aspect ratio has to be smaller than or equal to 9:16")},{}));w.push(new(c("AdsError"))(1772130,i._(function(j,K){return j._("Story media aspect ratio has to be smaller than or equal to 9:16")},{}),{level:c("AdsError").Level.WARN,path:c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_HASH}))}if(G.length>0){if(G.length>1)G=G.map(function(K){return j._("{bullet} {error message}",[j.param("bullet","\u2022"),j.param("error message",K)])}).join("\n");v=G}}}return{successMessage:t,warningMessage:u,errorMessage:v,specificErrors:w}},getValidationByCreative:function n(o,p,q,r,s,t,u,v){__p&&__p();var w=c("adsGetCreativeTypeByCreativeFields")(p[c("ApiAdCreativeFields").OBJECT_TYPE]),x=c("AdImageSpecsUtils").getImageSpecsForAdTypeV2(w,s&&[s],v),y=!!c("getByPath")(p,[c("ApiAdCreativeFields").OBJECT_STORY_SPEC,c("ApiAdCreativeStorySpecFields").LINK_DATA,c("ApiObjectStorySpecLinkFields").CHILD_ATTACHMENTS]);if(y)x=x.filter(function(F){return F.placement!==c("AdsPageTypes").INSTAGRAM_STREAM||F.cropKey===c("AdImageSpecs").INSTAGRAM_STREAM.cropKey});var z=void 0;if(s&&c("AdsPlacementAPISpecReaderUtils").isActivePublisherPlatform(s,c("AdsAPIPublisherPlatform").INSTAGRAM))z=c("AdImageSpecsUtils").getSelectedInstagramImageSpec(q);if(z)x=x.filter(function(F){return F.placement!==c("AdsPageTypes").INSTAGRAM_STREAM&&F.placement!==c("AdsPageTypes").INSTAGRAM_STORY||z&&F.cropKey===z.cropKey});var A=void 0,B=void 0,C=[],D=void 0,E=void 0;x.some(function(F){__p&&__p();m.validateNow(o,F,q,t,u);var G=o.validationMap[F.placement];if(G){if(G.errorMessage){A=G.errorMessage;D=F.placement;C=G.specificErrors;return true}if(!B&&G.warningMessage){B=G.warningMessage;E=F.placement}}return false});if(A)return{message:A,severity:"error",placement:D,specificErrors:C};if(B)return{message:B,severity:"warning",placement:E};return null},getAdsErrorForImageWithImageSpec:function n(o,p,q,r){m.validateNow(o,p,null,q,r);var s=o.getValidation(p.placement);if(!s.errorMessage)return null;var t=p.placement===c("AdsPageTypes").INSTAGRAM_STREAM||p.placement===c("AdsPageTypes").INSTAGRAM_STORY?2016006:1487015;return new(c("AdsError"))(t,s.errorMessage,{level:c("AdsError").Level.WARN})},getAdsErrorsForImage:function n(o,p,q,r){__p&&__p();if(p.length===0||!o.hasDimensions())return[];var s=[];p.forEach(function(t){if(t.placement===c("AdsPageTypes").INSTAGRAM_STORY||t.placement===c("AdsPageTypes").INSTAGRAM_STREAM)return;var u=m.getAdsErrorForImageWithImageSpec(o,t,q,r);u&&s.push(u)});if(s.length!==0)return s;p.forEach(function(t){if(t.placement!==c("AdsPageTypes").INSTAGRAM_STORY&&t.placement!==c("AdsPageTypes").INSTAGRAM_STREAM)return;var u=m.getAdsErrorForImageWithImageSpec(o,t,q,r);u&&s.push(u)});if(s.length!==0&&p.length>1&&(!q||!q.includes(c("AdsBuyingTypes").RESERVED)))s=s.map(function(t){if(t.key in c("AdsInstagramSoftErrors")&&t.level===c("AdsError").Level.WARN)t.level=c("AdsError").Level.RECOMMEND;return t});return s},getDefaultImageSpec:function n(o,p,q){__p&&__p();if(o!==c("ApiAdCreativePlatformCustomizationFields").INSTAGRAM)return q[0];var r=p.getWidth(),s=p.getHeight(),t=void 0;if(q.some(function(v){return v.cropKey===c("AdImageSpecs").INSTAGRAM_STREAM_LANDSCAPE.cropKey})&&r>0&&s>0&&m.isWarningSize(p,c("AdImageSpecs").INSTAGRAM_STREAM_NO_CROP)&&!m.isValidAspectRatio(p,c("AdImageSpecs").INSTAGRAM_STREAM_NO_CROP))t=r>s?c("AdImageSpecs").INSTAGRAM_STREAM_LANDSCAPE.cropKey:c("AdImageSpecs").INSTAGRAM_STREAM.cropKey;else t=c("AdImageSpecs").INSTAGRAM_STREAM_NO_CROP.cropKey;if(q.some(function(v){return v.cropKey===c("AdImageSpecs").INSTAGRAM_STORY_CROP.cropKey})&&r>0&&s>0&&m.isWarningSize(p,c("AdImageSpecs").INSTAGRAM_STORY)&&!m.isValidAspectRatio(p,c("AdImageSpecs").INSTAGRAM_STORY))t=c("AdImageSpecs").INSTAGRAM_STORY_CROP.cropKey;else t=c("AdImageSpecs").INSTAGRAM_STORY.cropKey;var u=q.find(function(v){return v.cropKey===t});if(!u)u=q[0];return u}};f.exports=m}),null);
__d("AdsImageLegacy",["invariant","AdsImageValidation","AdsShutterstockImageByIDStore","CachedDOMImageSizePool","mapObject","mergeDeep","mergeHelpers","nullthrows"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=new(c("CachedDOMImageSizePool"))(1e3,10*60*1e3),j=["FullSize","Preview","Thumbnail"];k.prototype.toJSON=function(){return{creatives:this.creatives,isAssociatedCreativesInAdgroups:this.isAssociatedCreativesInAdgroups,crops:this.crops,hash:this.$AdsImageLegacy4,height:this.height,imageType:this.$AdsImageLegacy8||null,key:this.$AdsImageLegacy10||null,name:this.name,platformImageObjects:c("mapObject")(this.platformLegacyImages,function(l){return l.toJSON()}),previewHeight:this.getPreviewHeight(),previewUrl:this.getPreviewUrl(),previewWidth:this.getPreviewWidth(),stockImageID:this.$AdsImageLegacy14||null,thumbHeight:this.getThumbnailHeight(),thumbWidth:this.getThumbnailWidth(),url:this.isStockImage()?this.$AdsImageLegacy2:this.$AdsImageLegacy18?this.$AdsImageLegacy18:null,url_128:this.$AdsImageLegacy16||null,url_256:this.$AdsImageLegacy6||null,validationMap:this.validationMap||null,width:this.width,id:this.id,business_object_tags:this.business_object_tags,created_time:this.created_time,renderedHeight:this.renderedHeight,renderedWidth:this.renderedWidth,isSphericalPhoto:this.$AdsImageLegacy9}};k.prototype.clone=function(l){return new k(c("mergeDeep")(this.toJSON(),l,c("mergeHelpers").ArrayStrategies.Clobber))};function k(l){__p&&__p();this.$AdsImageLegacy20=function(m,n){this.width=m;this.height=n}.bind(this);this.$AdsImageLegacy21=function(m,n){this.$AdsImageLegacy17=m;this.$AdsImageLegacy15=n}.bind(this);l=l||{};this.creatives=l.creatives||[];this.isAssociatedCreativesInAdgroups=l.is_associated_creatives_in_adgroups;this.crops=l.crops||{};this.name=l.name||"";this.platformLegacyImages=c("mapObject")(l.platformImageObjects||{},function(m){!m.platform||h(0);return new k(m)});this.$AdsImageLegacy4=l.hash;this.$AdsImageLegacy18=l.url;this.$AdsImageLegacy6=l.url_256;this.$AdsImageLegacy5=l.url_256_height;this.$AdsImageLegacy7=l.url_256_width;this.$AdsImageLegacy16=l.url_128;this.$AdsImageLegacy9=l.is_spherical_photo;this.$AdsImageLegacy8=l.imageType;this.$AdsImageLegacy10=l.key;this.$AdsImageLegacy14=l.stockImageID;if(this.isStockImage()){this.$AdsImageLegacy1=l.fullSizeHeight;this.$AdsImageLegacy2=l.fullSizeUrl;this.$AdsImageLegacy3=l.fullSizeWidth;this.$AdsImageLegacy11=l.previewHeight;this.$AdsImageLegacy12=l.previewUrl;this.$AdsImageLegacy13=l.previewWidth;this.$AdsImageLegacy15=l.thumbHeight;this.$AdsImageLegacy16=l.url;this.$AdsImageLegacy17=l.thumbWidth;this.$AdsImageLegacy6=l.url;this.$AdsImageLegacy5=l.thumbHeight;this.$AdsImageLegacy7=l.thumbWidth;this.getThumbnailWidth()&&this.getThumbnailHeight()||h(0);this.getPreviewUrl()&&this.getPreviewWidth()&&this.getPreviewHeight()||h(0)}this.height=l.height;this.width=l.width;this.renderedHeight=l.renderedHeight;this.renderedWidth=l.renderedWidth;this.id=l.id;this.business_object_tags=l.business_object_tags;this.created_time=l.created_time;this.validationMap=l.validationMap||{};this.$AdsImageLegacy19()}k.prototype.$AdsImageLegacy19=function(){if(this.$AdsImageLegacy18&&!this.hasDimensions())i.get(this.$AdsImageLegacy18,this.$AdsImageLegacy20,this);if(this.$AdsImageLegacy16&&!this.hasThumbnailDimensions())i.get(this.$AdsImageLegacy16,this.$AdsImageLegacy21,this)};k.prototype.isValidated=function(l){var m=this.getValidationMap();if(l)return!!m[l];return!!Object.keys(m).length};k.prototype.getValidation=function(){var l=arguments.length<=0||arguments[0]===undefined?"":arguments[0];return this.getValidationMap()[l]||{}};k.prototype.getValidationMap=function(){return this.validationMap};k.prototype.resetValidation=function(l){if(l){this.validationMap=babelHelpers["extends"]({},this.validationMap);delete this.validationMap[l]}else this.validationMap={}};k.prototype.hasValidationError=function(l){var m=this.getValidation(l);return!!m.errorMessage};k.prototype.getValidationError=function(l){var m=this.getValidation(l);return this.hasValidationError(l)?m.errorMessage:null};k.prototype.getCreatives=function(){return this.creatives};k.prototype.getCrop=function(l){return this.crops?this.crops[l]:null};k.prototype.getCrops=function(){var l={};Object.keys(this.crops||{}).forEach(function(m){var n=this.getCrop(m);if(n)l[m]=n}.bind(this));return l};k.prototype.getAPICrops=function(){var l=this.getCrops();if(!Object.keys(l).length)return null;return l};k.prototype.hasDimensions=function(){return this.width!==undefined&&this.height!==undefined};k.prototype.hasThumbnailDimensions=function(){return this.$AdsImageLegacy17!==undefined&&this.$AdsImageLegacy15!==undefined};k.prototype.getWidth=function(){return this.getFullSizeWidth()||this.getPreviewWidth()||this.width};k.prototype.getHeight=function(){return this.getFullSizeHeight()||this.getPreviewHeight()||this.height};k.prototype.getIsSphericalPhoto=function(){return!!this.$AdsImageLegacy9};k.prototype.setDimensionsReadyCallback=function(l){__p&&__p();if(!l)return;if(this.hasDimensions())setTimeout(l,0);else if(this.$AdsImageLegacy18)i.get(this.$AdsImageLegacy18,l);else{this.$AdsImageLegacy20(0,0);this.$AdsImageLegacy21(0,0);setTimeout(l,0)}};k.prototype.validate=function(l,m){c("AdsImageValidation").validate(this,l,m)};k.prototype.validateNow=function(l){c("AdsImageValidation").validateNow(this,l)};k.prototype.getName=function(){return this.name};k.prototype.getUrl=function(){return this.$AdsImageLegacy18};k.prototype.getBiggestVersionDetails=function(){if(this.isStockImage())for(var l=0;l<j.length;l++){var m="get"+j[l],n=this[m+"Url"]();if(n)return{url:n,width:this[m+"Width"](),height:this[m+"Height"]()}}return{url:this.getUrl(),width:this.getWidth(),height:this.getHeight()}};k.prototype.getPreviewUrl=function(){return this.$AdsImageLegacy12};k.prototype.getPreviewWidth=function(){return this.$AdsImageLegacy13};k.prototype.getPreviewHeight=function(){return this.$AdsImageLegacy11};k.prototype.getFullSizeUrl=function(){return this.$AdsImageLegacy2};k.prototype.setFullSizeUrl=function(l){this.$AdsImageLegacy2=l};k.prototype.getFullSizeWidth=function(){return this.$AdsImageLegacy3};k.prototype.getFullSizeHeight=function(){return this.$AdsImageLegacy1};k.prototype.fetchStockImageDetails=function(l,m){var n=this.getStockImageID();n||h(0);c("AdsShutterstockImageByIDStore").addLegacyCallback_DONT_USE_IN_NEW_CODE(n,function(o){if(o.hasError())m&&m(o.getErrorEnforcing());else if(o.hasValue()){this.$AdsImageLegacy2=o.getValueEnforcing().get("preview_url");l&&l(this)}}.bind(this))};k.prototype.fetchFullSizeDimensions=function(l,m){this.isStockImage()||h(0);if(this.getFullSizeUrl())this.$AdsImageLegacy22(l);else this.fetchStockImageDetails(this.$AdsImageLegacy22.bind(this,l),m)};k.prototype.$AdsImageLegacy22=function(l){if(this.hasFullSizeDimensions()){if(l)setTimeout(l,0)}else i.get(this.getFullSizeUrl(),function(m,n){this.$AdsImageLegacy3=m;this.$AdsImageLegacy1=n;l&&l()},this)};k.prototype.hasFullSizeDimensions=function(){return!!(this.getFullSizeWidth()&&this.getFullSizeHeight())};k.prototype.getAdAccountHash=function(){return this.$AdsImageLegacy4};k.prototype.equals=function(l){return this.getUniqueIdentifier()===l.getUniqueIdentifier()};k.prototype.hasKey=function(){return this.$AdsImageLegacy10!==null&&this.$AdsImageLegacy10!==undefined};k.prototype.getUniqueIdentifier=function(){if(this.isStockImage())return c("nullthrows")(this.getStockImageID());else if(this.hasKey())return c("nullthrows")(this.$AdsImageLegacy10);var l=this.getHashOrUrl();if(l)return l;return""};k.prototype.getHashOrUrl=function(){return this.getAdAccountHash()||this.getUrl()};k.prototype.isStockImage=function(){return!!this.getStockImageID()};k.prototype.getStockImageID=function(){return this.$AdsImageLegacy14};k.prototype.getImageType=function(){return this.$AdsImageLegacy8};k.prototype.getThumbnailUrl=function(){return this.$AdsImageLegacy16};k.prototype.getThumbnailHeight=function(){return this.$AdsImageLegacy15};k.prototype.getThumbnailWidth=function(){return this.$AdsImageLegacy17};k.prototype.getHighResThumbnailUrl=function(){return this.$AdsImageLegacy6};k.prototype.getHighResThumbnailHeight=function(){return this.$AdsImageLegacy5};k.prototype.getHighResThumbnailWidth=function(){return this.$AdsImageLegacy7};k.prototype.getID=function(){return this.id};k.prototype.getBusinessTags=function(){return this.business_object_tags};k.prototype.getCreatedTime=function(){return this.created_time};f.exports=k}),null);
__d("AdsInfoTable.react",["cx","React"],(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;l.prototype.render=function(){var m="_19b9 _34l3"+(this.props.oneColumn?" _19ba":"")+(!this.props.oneColumn?" _19bb":"");return c("React").createElement("div",{className:m},this.props.children)};function l(){i.apply(this,arguments)}l.propTypes={oneColumn:k.bool};f.exports=l}),null);
__d("AdsInfoTableRow.react",["cx","fbt","AdsIntelligentBlueTip.react","AdsLearnMore.react","React","joinClasses","uniqueID"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").PropTypes,m="Age",n="246326065855555",o="AYMTAdsEditorChannel",p="bulk_edit_age_context",q="bulk_edit_age_tip",r="bulk_edit_gender_context",s="bulk_edit_gender_tip",t="Gender",u="246326065855555";function v(x){__p&&__p();var y=x.label,z=x.row,A=x.selectionSize;if(A===1)return z;var B=c("React").createElement("div",null,i._("You can now view and edit age for all ad sets selected.")," ",c("React").createElement(c("AdsLearnMore.react"),{cmsID:n,isInverseColor:true})),C=c("React").createElement("div",null,i._("You can now view and edit gender for all ad sets selected.")," ",c("React").createElement(c("AdsLearnMore.react"),{cmsID:u,isInverseColor:true})),D=null;switch(y){case m:D=c("React").createElement("div",{className:"uiContextualLayerParent"},c("React").createElement("div",{className:"_3009",id:p},c("React").createElement(c("AdsIntelligentBlueTip.react"),{channelName:o,contextNodeID:p,messageContent:B,messageID:q}),z));break;case t:D=c("React").createElement("div",{className:"uiContextualLayerParent"},c("React").createElement("div",{className:"_3009",id:r},c("React").createElement(c("AdsIntelligentBlueTip.react"),{channelName:o,contextNodeID:r,messageContent:C,messageID:s}),z));break;default:D=z;break}return D}j=babelHelpers.inherits(w,c("React").Component);k=j&&j.prototype;function w(){var x,y;for(var z=arguments.length,A=Array(z),B=0;B<z;B++)A[B]=arguments[B];return y=(x=k.constructor).call.apply(x,[this].concat(A)),this.state={labelId:c("uniqueID")()},y}w.prototype.render=function(){var x=c("joinClasses")("_2ekq _2ekr",this.props.noUIContextualLayerParent!==true?"uiContextualLayerParent":""),y="_4jci _4209",z=this.state.labelId,A=this.props.annotation||this.props.label||this.props.helpLink,B=null;if(!this.props.hideLabelIfEmpty||A)B=c("React").createElement("div",{className:x,id:z},c("React").createElement("h4",null,c("React").createElement("div",{className:y},this.props.label,this.props.annotation,this.props.helpLink)));var C="_4jcj _420a",D=c("React").createElement("div",{"aria-labelledby":z,className:C},this.props.children),E=c("joinClasses")(this.props.className,"_4jch _420b"+(!!this.props.vertical?" _1djm":"")),F=c("React").createElement("div",{className:E},B,D);if(this.props.rowRenderer)F=this.props.rowRenderer(F,B,D);if(this.props.label)F=c("React").createElement(v,{label:this.props.label.toString(),row:F,selectionSize:this.props.selectionSize});return F};w.propTypes={annotation:l.string,helpLink:l.object,hideLabelIfEmpty:l.bool,label:l.node,noUIContextualLayerParent:l.bool,selectionSize:l.number,vertical:l.bool};w.defaultProps={hideLabelIfEmpty:false};f.exports=w}),null);
__d("AdsTargetingViewActionsLogger",["AdsInterfacesLogEvents","AdsInterfacesLogger"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsInterfacesLogEvents").EventCategory,i=function i(l){return typeof l==="function"},j="ads_targeting_flexible_targeting_",k={attachLog:function l(m,n){__p&&__p();var o=n&&n.prefix||"";return Object.keys(m).reduce(function(p,q){var r=m[q];if(i(r))p[q]=function(){r.apply(undefined,arguments);var s=o===j?Math.random()>.1:false;if(!s)c("AdsInterfacesLogger").log({eventName:o+q,eventCategory:h.USER_ACTION},c("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)};else p[q]=r;return p},{})}};f.exports=k}),null);
__d("BusinessObjectFeature",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({BUSINESS_OWNED_OBJECT:"BUSINESS_OWNED_OBJECT",BUSINESS_SHAREABLE_OBJECT:"BUSINESS_SHAREABLE_OBJECT",OBJECT_WITH_NON_BUSINESS_ROLES:"OBJECT_WITH_NON_BUSINESS_ROLES",BUSINESS_PROJECT:"BUSINESS_PROJECT",FAVORITABLE:"FAVORITABLE",OBJECT_CONNECTIONS:"OBJECT_CONNECTIONS",USER_PERMISSIONS:"USER_PERMISSIONS",TAGGABLE:"TAGGABLE",TRACKS_RECENTLY_USED_ITEMS_BY_USER:"TRACKS_RECENTLY_USED_ITEMS_BY_USER",SEARCHABLE:"SEARCHABLE",ASSET_LIBRARY:"ASSET_LIBRARY",BUSINESS_MANAGER_SETTINGS:"BUSINESS_MANAGER_SETTINGS",GRAPH_API_NODE:"GRAPH_API_NODE",RENDERED_IN_UI:"RENDERED_IN_UI",VISIBLE_IN_BID_TOOL:"VISIBLE_IN_BID_TOOL",BUSINESS_UNIT:"BUSINESS_UNIT",BUSINESS_MANAGER_HOME:"BUSINESS_MANAGER_HOME"})}),null);
__d("AppConstants.brands",["AppUserRoleConstants.brands","AdmanagerAccountStatuses","BusinessSettingsPanes","BusinessSettingsUIConfigKey","BusinessObjectConstantNames","BusinessObjectFeature"],(function aa(ba,a,ca,da,b,ea){"use strict";var c=a("BusinessObjectConstantNames").ASSET_TYPE,d=a("BusinessObjectConstantNames").ACCESS_TYPE,e=a("BusinessObjectConstantNames").REQUESTED_ASSET_STATUS,f=Object.freeze({APP_READY:"app-ready",APP_NOTICE_ERROR_ADD:"app-notice-error-add",APP_ERROR_REMOVE:"app-error-remove",SET_CONTEXT:"app-set-context",SET_CONTEXT_FROM_URI:"app-set-context-from-uri",UPDATE_CONTEXT:"app-update-context",FLUSH:"flush",OPEN_DIALOG:"open-dialog",CLOSE_DIALOG:"close-dialog",DISPATCH_NOTICE_MESSAGES:"dispatch_notice_messages"}),g=Object.freeze({FETCH_START:"brand-fetch-start",FETCH_SUCCESS:"brand-fetch-success",FETCH_ERROR:"brand-fetch-error",UPDATE_START:"brand-update-start",UPDATE_SUCCESS:"brand-update-success",UPDATE_ERROR:"brand-update-error",MIGRATE_SUCCESS:"brand-v2-migrate-success",DELETE_SUCCESS:"brand-v2-delete-success",VALIDATE_START:"brand-validate-start",VALIDATE_SUCCESS:"brand-validate-success",VALIDATE_FAILURE:"brand-validate-failure"}),h=Object.freeze({FETCH_START:"business-asset-fetch-start",FETCH_SUCCESS:"business-asset-fetch-success",FETCH_ERROR:"business-asset-fetch-error"}),i=Object.freeze({ASSIGNING_START:"store-select-asset-assigning-start",ASSIGNING_END:"store-select-asset-assigning-end",CLEAR_ASSET_TYPE:"store-select-asset-clear-asset-type",CLEAR_STORE:"store-select-asset-clear-store",DELETE_ASSET:"store-select-asset-delete-asset",START_ASSIGN_ASSETS_FLOW:"store-select-asset-start-assign-assign-asset-flow",UPDATE_ASSET:"store-select-asset-update-asset"}),j=Object.freeze({CLEAR_STORE:"partner-clear-store",FETCH_START:"partner-fetch-start",FETCH_SUCCESS:"partner-fetch-success",FETCH_ERROR:"partner-fetch-error"}),k=Object.freeze({FETCH_START:"partner-asset-fetch-start",FETCH_SUCCESS:"partner-asset-fetch-success",FETCH_ERROR:"partner-asset-fetch-error"}),l=Object.freeze({LAZY_LOAD_USER_DATA:"asset-permission-lazy-load-user-data"}),m=Object.freeze({UPDATE_START:"user-persona-update-start",UPDATE_SUCCESS:"user-persona-update-success",UPDATE_ERROR:"user-persona-update-error",CLEAR_STATUS:"user-persona-clear-status"}),n=Object.freeze({ADS_BUSINESS:"ADS_BUSINESS",ADS_SEQUENTIAL:"ADS_SEQUENTIAL"}),o=Object.freeze({CREATE_START:"user-request-create-start",CREATE_SUCCESS:"user-request-create-success",CREATE_ERROR:"user-request-create-error",UPDATE_START:"user-request-update-start",UPDATE_SUCCESS:"user-request-update-success",UPDATE_ERROR:"user-request-update-error",UPDATE_DISMISS_MESSAGE:"user-request-update-dismiss-message",UPDATE_STATUS:"user-request-update-status",DELETE_START:"user-request-delete-start",DELETE_ERROR:"user-request-delete-error",DELETE_SUCCESS:"user-request-delete-success",LEAVE_BUSINESS_START:"user-request-leave-business-start",LEAVE_BUSINESS_ERROR:"user-request-leave-business-error",LEAVE_BUSINESS_SUCCESS:"user-request-leave-business-success"}),p=Object.freeze({NAME_CHANGE:"project-name-change",CREATE_START:"project-create-start",CREATE_SUCCESS:"project-create-success",CREATE_ERROR:"project-create-error",DELETE_START:"project-delete-start",DELETE_SUCCESS:"project-delete-success",DELETE_ERROR:"project-delete-error",UPDATE_START:"project-update-start",UPDATE_SUCCESS:"project-update-success",UPDATE_ERROR:"project-update-error",ADD_ASSETS_START:"project-add-assets-start",ADD_ASSETS_SUCCESS:"project-add-assets-success",ADD_ASSETS_ERROR:"project-add-assets-error",DELETE_ASSET_START:"project-delete-asset-start",DELETE_ASSET_SUCCESS:"project-delete-asset-success",DELETE_ASSET_ERROR:"project-delete-asset-error",CLEAR_STATUS:"project-clear-status"}),q=Object.freeze({UPDATE_REQUESTS_COUNT:"update-requests-count"}),r=Object.freeze({FETCH_SUCCESS:"page-fetch-success",CLEAR_STATUS:"page-create-clear-status",CREATE_START:"page-create-start",CREATE_SUCCESS:"page-create-success",CREATE_ERROR:"page-create-error",DELETE_START:"page-delete-start",DELETE_SUCCESS:"page-delete-success",DELETE_ERROR:"page-delete-error",MIGRATE_START:"page-migrate-start",MIGRATE_SUCCESS:"page-migrate-success",MIGRATE_ERROR:"page-migrate-error"}),s=Object.freeze({COUNT_PIXELS_IN_BUSINESS:"count-pixels-in-business"}),t=Object.freeze({CREATE_START:"product-catalog-create-start",CREATE_SUCCESS:"product-catalog-create-success",CREATE_ERROR:"product-catalog-create-error",DELETE_START:"product-catalog-delete-start",DELETE_SUCCESS:"product-catalog-delete-success",DELETE_ERROR:"product-catalog-delete-error"}),u=Object.freeze({DELETE_START:"offline-conversion-data-set-delete-start",DELETE_DIALOG_CONFIRM:"offline-conversion-data-set-delete-dialog-confirm",DELETE_DIALOG_CLOSE:"offline-conversion-data-set-delete-dialog-close",DELETE_SUCCESS:"offline-conversion-data-set-delete-success",DELETE_ERROR:"offline-conversion-data-set-delete-error",OPT_OUT_STATUS_UPDATE_START:"offline-conversion-data-set-opt-out-status-update-start",OPT_OUT_STATUS_UPDATE_SUCCESS:"offline-conversion-data-set-opt-out-status-update-success",OPT_OUT_STATUS_UPDATE_ERROR:"offline-conversion-data-set-opt-out-status-update-error"}),v=Object.freeze({CREATE_START:"ad-study-create-start",CREATE_SUCCESS:"ad-study-create-success",CREATE_ERROR:"ad-study-create-error",CREATE_CHANGE_NAME:"ad-study-create-change-name",CREATE_CHANGE_DESCRIPTION:"ad-study-create-change-description",CREATE_ASSIGN_AD_ACCOUNT_SKIP:"ad-study-create-assign-ad-account-skip",CREATE_ASSIGN_AD_ACCOUNT_CONFIRM:"ad-study-create-assign-ad-account-confirm",CREATE_ASSIGN_PEOPLE_SKIP:"ad-study-create-assign-people-skip",CREATE_ASSIGN_PEOPLE_CONFIRM:"ad-study-set-create-assign-people-confirm",CREATE_DIALOG_CLOSE:"ad-study-set-create-dialog-close",DELETE_START:"ad-study-delete-start",DELETE_DIALOG_CONFIRM:"ad-study-delete-dialog-confirm",DELETE_DIALOG_CLOSE:"ad-study-delete-dialog-close",DELETE_SUCCESS:"ad-study-delete-success",DELETE_ERROR:"ad-study-delete-error",OPT_OUT_STATUS_UPDATE_START:"ad-study-opt-out-status-update-start",OPT_OUT_STATUS_UPDATE_SUCCESS:"ad-study-opt-out-status-update-success",OPT_OUT_STATUS_UPDATE_ERROR:"ad-study-opt-out-status-update-error"}),w=Object.freeze({DELETE_START:"asset-permission-delete-start",DELETE_SUCCESS:"asset-permission-delete-success",DELETE_ERROR:"asset-permission-delete-error",UPDATE_START:"asset-permission-update-start",UPDATE_SUCCESS:"asset-permission-update-success",UPDATE_ERROR:"asset-permission-update-error",CLEAR_STATUS:"asset-permission-clear-status",CLEAR_USER_STATUS:"asset-permission-clear-user-status"}),x=Object.freeze({DELETE_START:"agency-delete-start",DELETE_SUCCESS:"agency-delete-success",DELETE_ERROR:"agency-delete-error",UPDATE_START:"agency-update-start",UPDATE_SUCCESS:"agency-update-success",UPDATE_ERROR:"agency-update-error"}),y=Object.freeze({FETCH_START:"agency-permission-fetch-start",FETCH_SUCCESS:"agency-permission-fetch-success",FETCH_ERROR:"agency-permission-fetch-error",DELETE_START:"agency-permission-delete-start",DELETE_SUCCESS:"agency-permission-delete-success",DELETE_ERROR:"agency-permission-delete-error",UPDATE_START:"agency-permission-update-start",UPDATE_SUCCESS:"agency-permission-update-success",UPDATE_ERROR:"agency-permission-update-error"}),z=Object.freeze({ACCEPT_START:"agency-request-request-start",ACCEPT_SUCCESS:"agency-request-delete-success",ACCEPT_ERROR:"agency-request-delete-error",REJECT_START:"agency-request-update-start",REJECT_SUCCESS:"agency-request-update-success",REJECT_ERROR:"agency-request-update-error"}),A=Object.freeze({CREATE_START:"business-request-create-start",CREATE_SUCCESS:"business-request-create-success",CREATE_ERROR:"business-request-create-error",DELETE_START:"business-request-delete-start",DELETE_SUCCESS:"business-request-delete-success",DELETE_ERROR:"business-request-delete-error",ACCEPT_START:"business-request-accept-start",ACCEPT_SUCCESS:"business-request-accept-success",ACCEPT_ERROR:"business-request-accept-error",REJECT_START:"business-request-decline-start",REJECT_SUCCESS:"business-request-decline-success",REJECT_ERROR:"business-request-decline-error"}),B=Object.freeze({APPROVE:"APPROVE",DECLINE:"DECLINE",IN_PROGRESS:"IN_PROGRESS"}),C=Object.freeze({AGENCY_ACCESS_TO_OBJECT:"AGENCY_ACCESS_TO_OBJECT"}),D=Object.freeze({DELETE_START:"client-delete-start",DELETE_SUCCESS:"client-delete-success",DELETE_ERROR:"client-delete-error",UPDATE_START:"client-update-start",UPDATE_SUCCESS:"client-update-success",UPDATE_ERROR:"client-update-error"}),E=Object.freeze({DELETE_START:"client-permission-delete-start",DELETE_SUCCESS:"client-permission-delete-success",DELETE_ERROR:"client-permission-delete-error",UPDATE_START:"client-permission-update-start",UPDATE_SUCCESS:"client-permission-update-success",UPDATE_ERROR:"client-permission-update-error"}),F=Object.freeze({ROLES:"roles",OWNERSHIP:"ownership"}),G=Object.freeze({DELETE_START:"finance-permission-delete-start",DELETE_SUCCESS:"finance-permission-delete-success",DELETE_ERROR:"finance-permission-delete-error",UPDATE_START:"finance-permission-update-start",UPDATE_SUCCESS:"finance-permission-update-success",UPDATE_ERROR:"finance-permission-update-error",FETCH_START:"finance-permission-fetch-start",FETCH_SUCCESS:"finance-permission-fetch-success",FETCH_ERROR:"finance-permission-fetch-error",CLEAR_STATUS:"finance-permission-clear-status"}),H=Object.freeze({DELETE_START:"ip-permission-delete-start",DELETE_SUCCESS:"ip-permission-delete-success",DELETE_ERROR:"ip-permission-delete-error",UPDATE_START:"ip-permission-update-start",UPDATE_SUCCESS:"ip-permission-update-success",UPDATE_ERROR:"ip-permission-update-error",FETCH_START:"ip-permission-fetch-start",FETCH_SUCCESS:"ip-permission-fetch-success",FETCH_ERROR:"ip-permission-fetch-error"}),I=Object.freeze({CREATE_ERROR:"funding-source-create-error",CREATE_START:"funding-source-create-start",CREATE_SUCCESS:"funding-source-create-success",DELETE_START:"funding-source-delete-start",DELETE_SUCCESS:"funding-source-delete-success",DELETE_ERROR:"funding-source-delete-error",FETCH_ERROR:"funding-source-fetch-error",UPDATE_START:"funding-source-update-start",UPDATE_SUCCESS:"funding-source-update-success",UPDATE_ERROR:"funding-source-update-error"}),J=Object.freeze({CREATE_START:"invoice-group-create-start",CREATE_SUCCESS:"invoice-group-create-success",CREATE_ERROR:"invoice-group-create-error",DELETE_START:"invoice-group-delete-start",DELETE_SUCCESS:"invoice-group-delete-success",DELETE_ERROR:"invoice-groupn-delete-error",FETCH_START:"invoice-group-fetch-start",FETCH_SUCCESS:"invoice-group-fetch-success",FETCH_ERROR:"invoice-group-fetch-error",UPDATE_START:"invoice-group-update-start",UPDATE_ACCOUNT_SUCCESS:"invoice-group-update-account-success",UPDATE_SUCCESS:"invoice-group-update-success",UPDATE_ERROR:"invoice-group-update-error"}),K=Object.freeze({FETCH_START:"credit-setting-fetch-start",FETCH_SUCCESS:"credit-setting-fetch-success",FETCH_ERROR:"credit-setting-fetch-error",UPDATE_START:"credit-setting-update-start",UPDATE_SUCCESS:"credit-setting-update-success",UPDATE_ERROR:"credit-setting-update-error"}),L=Object.freeze({CLAIM_START:"ad-account-claim-start",CLAIM_SUCCESS:"ad-account-claim-success",CLAIM_ERROR:"ad-account-claim-error",CREATE_START:"ad-account-create-start",CREATE_SUCCESS:"ad-account-create-success",CREATE_ERROR:"ad-account-create-error",UPDATE_START:"ad-account-update-start",UPDATE_SUCCESS:"ad-account-update-success",UPDATE_ERROR:"ad-account-update-error",MIGRATE_START:"ad-account-migrate-start",MIGRATE_SUCCESS:"ad-account-migrate-success",MIGRATE_ERROR:"ad-account-migrate-error",REQUEST_START:"ad-account-request-start",REQUEST_SUCCESS:"ad-account-request-success",REQUEST_ERROR:"ad-account-request-error",TRANSFER_START:"ad-account-transfer-start",TRANSFER_SUCCESS:"ad-account-transfer-success",TRANSFER_ERROR:"ad-account-transfer-error",DELETE_REQUEST_START:"ad-account-delete-request-start",DELETE_REQUEST_SUCCESS:"ad-account-delete-request-success",DELETE_REQUEST_ERROR:"ad-account-delete-request-error",DELETE_START:"ad-account-delete-start",DELETE_ERROR:"ad-account-delete-error",DELETE_SUCCESS:"ad-account-delete-success",FETCH_ERROR:"ad-account-fetch-error",FETCH_CAMPAIGN_START:"ad-account-fetch-campaign-start",FETCH_CAMPAIGN_SUCCESS:"ad-account-fetch-campaign-success",FETCH_CAMPAIGN_ERROR:"ad-account-fetch-campaign-error"}),M=Object.freeze({CLEAR_STATUS:"app-create-clear-status",UPDATE_START:"app-update-start",UPDATE_SUCCESS:"app-update-success",UPDATE_ERROR:"app-update-error",MIGRATE_START:"app-migrate-start",MIGRATE_SUCCESS:"app-migrate-success",MIGRATE_ERROR:"app-migrate-error",DELETE_START:"app-delete-start",DELETE_SUCCESS:"app-delete-success",DELETE_ERROR:"app-delete-error"}),N=Object.freeze({CREATE_START:"system-user-create-start",CREATE_SUCCESS:"system-user-create-success",CREATE_ERROR:"system-user-create-error",UPDATE_START:"system-user-update-start",UPDATE_SUCCESS:"system-user-update-success",UPDATE_ERROR:"system-user-update-error",UPDATE_DISMISS_MESSAGE:"system-user-update-dismiss-message",DELETE_REQUEST_START:"system-user-delete-request-start",DELETE_REQUEST_SUCCESS:"system-user-delete-request-success",DELETE_REQUEST_ERROR:"system-user-delete-request-error",DELETE_START:"system-user-delete-start",DELETE_ERROR:"system-user-delete-error",DELETE_SUCCESS:"system-user-delete-success",FETCH_ERROR:"system-user-fetch-error"}),O=Object.freeze({CREATE_START:"shared-login-create-start",CREATE_SUCCESS:"shared-login-create-success",CREATE_ERROR:"shared-login-create-error"}),P=Object.freeze({SYNCED:"synced",CREATING:"creating",CREATE_SUCCESS:"create-success",CREATE_ERROR:"create-error",UPDATING:"updating",UPDATE_SUCCESS:"update-success",UPDATE_ERROR:"update-error",DELETING:"deleting",DELETED:"deleted"}),Q=Object.freeze({EMAIL_REMOVE:"user-persona-email-remove",EMAIL_READD:"user-persona-email-readd",EMAIL_RESENDING:"user-persona-email-resending",EMAIL_RESEND_SUCCESS:"user-persona-email-resend-success",EMAIL_RESEND_ERROR:"user-persona-email-resend-error",EMAIL_RESEND_TIMEOUT:"user-persona-email-resend-timeout"}),R=Object.freeze({ACTIVE:"ACTIVE",SUSPENDED:"SUSPENDED",INVITED:"INVITED",NOT_EMPLOYEE:"not-employee"}),S=Object.freeze({ADMIN_SYSTEM_USER:"ADMIN_SYSTEM_USER",SYSTEM_USER:"SYSTEM_USER"}),T=Object.freeze({NONE:"NONE",UNFOUND:"UNFOUND"}),U=Object.freeze({CREDIT_CARD:"credit-card",DIRECT_DEBIT:"direct-debit",EXTENDED_CREDIT:"extended-credit",EXTENDED_CREDIT_APPLICATION:"extended-credit-application",FACEBOOK_AD_COUPON:"facebook-ad-coupon",PAYPAL:"paypal"}),V=Object.freeze({NORMAL:"Normal",SEQUENTIAL:"Sequential"}),W=Object.freeze({CLIENT_RESPONSE_PENDING:"CLIENT_RESPONSE_PENDING",AGENCY_RESPONSE_PENDING:"AGENCY_RESPONSE_PENDING",CONFIRMED:"CONFIRMED",SUSPENDED:"SUSPENDED"}),X=Object.freeze({OPEN_ADD_USER_DIALOG:"_oaud"}),Y=Object.freeze({NONE:"none",ADMIN_REQUIRED:"admin_required",ALL_REQUIRED:"all_required"}),Z=Object.freeze({NOTIFICATIONS:"notifications"}),$=Object.freeze({FETCH_START:"preferences-fetch-start",FETCH_SUCCESS:"preferences-fetch-success",FETCH_ERROR:"preferences-fetch-error",UPDATE_START:"preferences-update-start",UPDATE_SUCCESS:"preferences-update-success",UPDATE_ERROR:"preferences-update-error"}),fa=Object.freeze({CREATE_ADS:"create_ads",MANAGE:"manage",MANAGE_ADS:"manage_ads",USE_NAM:"use_nam",USE_PE:"use_pe",USE_PAGE:"use_page"}),ga=Object.freeze({CHANGE:"notifications-change",INITIAL_LOAD:"notifications-initial-load",NEW_NOTIFICATION:"new-notification"}),ha=Object.freeze({FETCH_START:"favorites-fetch-start",FETCH_SUCCESS:"favorites-fetch-success",FETCH_ERROR:"favorites-fetch-error",UPDATE_START:"favorites-update-start",UPDATE_SUCCESS:"favorites-update-success",UPDATE_ERROR:"favortes-update-error"}),ia=Object.freeze({CREATE_START:"credit_partition-create-start",CREATE_SUCCESS:"credit_partition-create-success",CREATE_ERROR:"credit_partition-create-error",DELETE_START:"credit_partition-delete-start",DELETE_SUCCESS:"credit_partition-delete-success",DELETE_ERROR:"credit_partition-delete-error",UPDATE_START:"credit_partition-migrate-start",UPDATE_SUCCESS:"credit_partition-migrate-success",UPDATE_ERROR:"credit_partition-migrate-error"}),ja=Object.freeze({FETCH_SUCCESS:"credit-partition-config-fetch-success"}),ka=Object.freeze({FETCH_START:"pending-credit-partition-config-fetch-start",FETCH_SUCCESS:"pending-credit-partition-config-fetch-success"}),la=Object.freeze({CLAIM_ADVERTISER_ERROR:"claim-advertiser-error",CLAIM_ADVERTISER_START:"claim-advertiser-start",CLAIM_ADVERTISER_SUCCESS:"claim-advertiser-success",CONNECTION_NOTIFICATION_ERROR:"connection-notification-error",CONNECTION_NOTIFICATION_SUCCESS:"connection-notification-success",CONNECTION_NOTIFICATION_START:"connection-notification-start",CREATE_ACCOUNT_ERROR:"create-advertiser-error",CREATE_ACCOUNT_START:"create-advertiser-start",CREATE_ACCOUNT_SUCCESS:"create-advertiser-success",TOKEN_LOAD_ERROR:"token-load-error",TOKEN_LOAD_START:"token-load-start",TOKEN_LOAD_SUCCESS:"token-load-success"}),ma=Object.freeze({ASSIGN_AD_ACCOUNT_NEXT:"assign-ad-account-next",ASSIGN_AD_ACCOUNT_START:"assign-ad-account-start",ASSIGN_EVENT_SOURCE_GROUP_NEXT:"assign-event-source-group-next",ASSIGN_EVENT_SOURCE_GROUP_START:"assign-event-source-group-start",ASSIGN_PEOPLE_NEXT:"assign-people-next",ASSIGN_PEOPLE_START:"assign-people-start",CLAIM_ACCOUNT_START:"claim-account-start",CREATE_ACCOUNT_START:"create-account-start",CREATE_EVENT_SOURCE_GROUP_START:"create-event-source-group-start"}),na=Object.freeze({CREATE_ERROR:"event-source-group-create-error",CREATE_START:"event-source-group-create-start",CREATE_SUCCESS:"event-source-group-create-success",DELETE_ERROR:"event-source-group-delete-error",DELETE_START:"event-source-group-delete-start",DELETE_SUCCESS:"event-source-group-delete-success",UPDATE_ERROR:"event-source-group-update-error",UPDATE_START:"event-source-group-update-start",UPDATE_SUCCESS:"event-source-group-update-success"}),oa=Object.freeze({CREATE_ERROR:"monetization-property-create-error",CREATE_START:"monetization-property-create-start",CREATE_SUCCESS:"monetization-property-create-success",DELETE_ERROR:"monetization-property-delete-error",DELETE_START:"monetization-property-delete-start",DELETE_SUCCESS:"monetization-property-delete-success",UPDATE_ERROR:"monetization-property-update-error",UPDATE_START:"monetization-property-update-start",UPDATE_SUCCESS:"monetization-property-update-success"}),pa=Object.freeze({EDIT_START:"event-source-group-modal-edit-start"}),qa=Object.freeze({VERIFY_START:"owned-domain-verify-start",VERIFY_SUCCESS:"owned-domain-verify-success",VERIFY_ERROR:"owned-domain-verify-error",DISMISS_ERROR_MESSAGE:"owned-domain-dismiss-error-message",CREATE_STARTED:"owned-domain-create-started",CREATE_SUCCESS:"owned-domain-create-success",CREATE_FAILURE:"owned-domain-create-failure",UPDATE_NAME:"owned-domain-update-name",ERROR_DIALOG_SHOWN:"owned-domain-error-dialog-shown"}),ra=Object.freeze({APPLY_CHANGES:"domain-ad-restrictions-apply-changes",APPLY_CHANGES_SUCCESS:"domain-ad-restrictions-apply-changes-success",APPLY_CHANGES_ERROR:"domain-ad-restrictions-apply-changes-error",APPLY_BLACKLIST_ITEM_CHANGE_SUCCESS:"domain-ad-restrictions-apply-blacklist-item-change-success",APPLY_BLACKLIST_ITEM_CHANGE_ERROR:"domain-ad-restrictions-apply-blacklist-item-change-error",CANCEL_CHANGES:"domain-ad-restrictions-cancel-changes",FETCH_RESTRICTIONS_SUCCESS:"fetch-restrictions-success",FETCH_RESTRICTIONS_ERROR:"fetch-restrictions-error",LOAD_RESTRICTIONS:"domain-ad-restrictions-load-restrictions",LOAD_RESTRICTIONS_ERROR:"domain-ad-restrictions-load-restrictions-error",SELECT_RESTRICTION:"domain-ad-restrictions-select-restriction",ADD_PAGES_TO_BLOCKLIST:"domain-ad-restrictions-add-pages-to-blocklist"}),sa={CHANGE_SERVER_ERROR_FIELD:"ad_account_creation_request_change_server_error_field",CREATE_START:"ad_account_creation_request_action_create_start",CREATE_SUCCESS:"ad_account_creation_request_action_create_success",CREATE_FAILURE:"ad_account_creation_request_action_create_failure",EDIT_START:"ad_account_creation_request_action_edit_start",EDIT_SUCCESS:"ad_account_creation_request_action_edit_success",EDIT_FAILURE:"ad_account_creation_request_action_edit_failure",DELETE_START:"ad_account_creation_request_action_delete_start",DELETE_SUCCESS:"ad_account_creation_request_action_delete_success",DELETE_FAILURE:"ad_account_creation_request_action_edit_failure",OPEN_DIALOG:"ad_account_creation_request_action_open_dialog",OPEN_ADVERTISER_DETAILS_DIALOG:"ad_account_creation_request_action_open_advertiser_details_dialog",OPEN_ACCOUNT_DETAILS_DIALOG:"ad_account_creation_request_action_open_account_details_dialog",OPEN_CONFIRMATION_DETAILS_DIALOG:"ad_account_creation_request_action_open_confirmation_details_dialog",CLEAR_STATUS:"ad_account_creation_request_action_clear_status"},ta=Object.freeze({CREATE_COMPLETE:"monetization-property-modal-create-complete",ASSIGN_APP_NEXT:"monetization-property-modal-assign-app-next",ASSIGN_APP_START:"monetization-property-modal-assign-app-start",ASSIGN_PLACEMENTS_NEXT:"monetization-property-modal-assign-placements-next",ASSIGN_ROLES_NEXT:"monetization-property-modal-assign-roles-next",CREATE_CONFIRM:"monetization-property-modal-create-confirm"}),ua=Object.freeze({FETCH_START:"billing_info_fetch_start",FETCH_SUCCESS:"billing_info_fetch_success",FETCH_ERROR:"billing_info_fetch_error"}),va=Object.freeze({CREATE_START:"business_unit_create_start",CREATE_SUCCESS:"business_unit_create_success",CREATE_FAILED:"business_unit_create_failed",UPDATE_START:"business_unit_update_start",UPDATE_SUCCESS:"business_unit_update_success",UPDATE_FAILED:"business_unit_update_failure"}),wa=Object.freeze({FETCH_APP_SCOPES_SUCCESS:"fetch_app_scopes_success",FETCH_APP_SCOPES_ERROR:"fetch_app_scopes_error",CREATE_TOKEN_START:"system-user-token-creation-start",CREATE_TOKEN_SUCCESS:"system-user-token-creation-success",CREATE_TOKEN_ERROR:"system-user-token-creation-error"}),xa=Object.freeze({CREATE_START:"registered_trademark_create_start",CREATE_SUCCESS:"registered_trademark_create_success",CREATE_FAILED:"registered_trademark_create_failed",CREATE_COMPLETE:"registered_trademark_create_complete"}),ya=Object.freeze({ASSIGN_ASSETS_START:"assign_assets_start",ASSIGN_ASSETS_SUCCESS:"assign_assets_success",ASSIGN_ASSETS_ERROR:"assign_assets_error"}),za=Object.freeze({SIGNED_LEGAL:"signed_legal"}),Aa=Object.freeze({FETCH_DATA_START:"biz_settings_fetch_data_start",FETCH_DATA_SUCCESS:"biz_settings_fetch_data_success",FETCH_DATA_ERROR:"biz_settings_fetch_data_error"}),Ba=Object.freeze({COMPONENT_START_RENDERING:"component_start_rendering",COMPONENT_DISPLAY_DONE:"component_display_done",USER_PANE_START_RENDERING:"user_pane_start_rendering",USER_LIST_DISPLAY_DONE:"user_list_display_done"}),Ca=Object.freeze({ON:"1",OFF:"0"}),Da=Object.freeze({SURVEY_LOADED:"survey-loaded",SURVEY_FINISHED:"survey-finished"}),Ea=Object.freeze({DIALOG_LOADED:"dialog-loaded"}),Fa=Object.freeze({TOOLTIP_LOADED:"tooltip-loaded"}),Ga=Object.freeze({USER:"user",ACCOUNTS:"accounts",DATA_SOURCES:"data-sources",INTEGRATIONS:"integrations",SAFETY:"safety",ASSET:"asset",OTHER:"other"});b.exports={ACCESS_TYPE:d,ACTION:f,ACCOUNT_STATUS:a("AdmanagerAccountStatuses"),AD_ACCOUNT_ACTION:L,AGENCY_ACTION:x,AGENCY_PERMISSION_ACTION:y,AGENCY_REQUEST:z,ATLAS_ACCOUNT_ACTION:la,ATLAS_ACCOUNT_MODAL_ACTION:ma,BILLING_INFO_ACTION:ua,BUSINESS_REQUEST:A,BUSINESS_REQUEST_ACTION:B,BUSINESS_REQUEST_TYPE:C,APP_ACTION:M,APP_REQUEST_TYPE:F,API_VERSION:"v2.10",GRAPH_API_VERSION:"2.10",ASSET_PERMISSION_ACTION:w,ASSET_TYPE:c,ATTRIBUTION_TYPE:T,BRAND_ACTION:g,BUSINESS_ASSET_ACTION:h,STORE_SELECT_ASSET_ACTION:i,CLIENT_ACTION:D,CLIENT_AGENCY_STATUS:W,CLIENT_PERMISSION_ACTION:E,DEFAULT_API_LIMIT:3e3,DEFAULT_API_ACCUMULATE_LIMIT:750,FINANCE_PERMISSION_ACTION:G,IP_PERMISSION_ACTION:H,FUNDING_SOURCE_ACTION:I,INVOICE_GROUP_ACTION:J,CREDIT_SETTING_ACTION:K,FUNDING_TYPE:U,LIABILITY_TYPE:V,HOMEPAGE_CARD_ACTION:fa,PROJECT_ACTION:p,GENERAL_REQUEST_ACTION:q,OBJECT_STATUS:P,PAGE_ACTION:r,PIXEL_ACTION:s,PARTNER_ACTION:j,PARTNER_ASSET_ACTION:k,PANES:a("BusinessSettingsPanes"),PERSONA_OBJECT_STATUS:Q,PRODUCT_CATALOG_ACTION:t,OFFLINE_CONVERSION_DATA_SET_ACTION:u,LIFT_STUDY_ACTION:v,REQUESTED_ASSET_STATUS:e,SHARED_LOGIN_ACTION:O,SYSTEM_USER_ACTION:N,SYSTEM_USER_ROLE:S,USER_ACTION:l,USER_PERSONA_ACTION:m,USER_REQUEST_ACTION:o,USER_ROLE:a("AppUserRoleConstants.brands"),USER_STATUS:R,URL_PARAMS:X,TWO_FACTOR_TYPES:Y,PREFERENCES_SECTIONS:Z,PREFERENCES_ACTION:$,FAVORITE_ACTION:ha,NOTIFICATIONS:ga,FEATURE_NAME:a("BusinessObjectFeature"),UI_CONFIG_KEY:a("BusinessSettingsUIConfigKey"),CREDIT_PARTITION_ACTION:ia,CREDIT_PARTITION_CONFIG_ACTION:ja,PENDING_CREDIT_PARTITION_CONFIG_ACTION:ka,CREDIT_TYPE:n,EVENT_SOURCE_GROUP_ACTION:na,MONETIZATION_PROPERTY_ACTION:oa,EVENT_SOURCE_GROUP_MODAL_ACTION:pa,AD_ACCOUNT_CREATION_REQUEST_ACTION:sa,MONETIZATION_PROPERTY_MODAL_ACTION:ta,BUSINESS_UNIT_ACTION:va,SYSTEM_USER_APP_ACTION:wa,REGISTERED_TRADEMARK_ACTION:xa,ASSET_ACTION:ya,AD_BREAK_SIGN_UP_ACTION:za,BIZ_SETTINGS_FETCH_DATA_ACTION:Aa,BIZ_SETTINGS_PERF_ACTION:Ba,GK_STATUS_LOGGING_VALUE:Ca,SURVEY_ACTION:Da,INACTIVE_USER_DIALOG_ACTION:Ea,LEFT_NAV_SECTIONS:Ga,OWNED_DOMAIN_ACTION:qa,DOMAIN_AD_RESTRICTIONS_ACTION:ra,TOOLTIP_ACTION:Fa}}),null);
__d("FBMoreLink.react",["ix","cx","fbt","Image.react","Link.react","React","fbglyph"],(function a(b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k,l,m=c("React").PropTypes;k=babelHelpers.inherits(n,c("React").Component);l=k&&k.prototype;function n(){var o,p;for(var q=arguments.length,r=Array(q),s=0;s<q;s++)r[s]=arguments[s];return p=(o=l.constructor).call.apply(o,[this].concat(r)),this.state={isCollapsed:this.props.isInitiallyCollapsed!=null?this.props.isInitiallyCollapsed:true},this.onClick=function(){var t=this.$FBMoreLink1();this.setState({isCollapsed:!t});this.props.onClick(!t)}.bind(this),this.$FBMoreLink1=function(){return this.props.isCollapsed!=null?this.props.isCollapsed:this.state.isCollapsed}.bind(this),p}n.prototype.render=function(){__p&&__p();var o=this.$FBMoreLink1();if(!this.props.allowToggle&&!o)return c("React").createElement("div",null);var p=this.props.moreLabel,q=h("117293");if(!o){p=this.props.lessLabel;q=h("117305")}var r=!this.props.hideToggleIcon?c("React").createElement(c("Image.react"),{className:"_554d",src:q}):null;return c("React").createElement(c("Link.react"),babelHelpers["extends"]({},this.props,{onClick:this.onClick}),c("React").createElement("span",{className:"_554b"},p),r)};n.propTypes={allowToggle:m.bool,hideToggleIcon:m.bool,moreLabel:m.node,lessLabel:m.node,isInitiallyCollapsed:m.bool,isCollapsed:m.bool,onClick:m.func.isRequired};n.defaultProps=function(){var o=j._("More"),p=j._("Less");return{allowToggle:false,moreLabel:o,lessLabel:p}}();f.exports=n}),null);
__d("WaitTimeArea.react",["React"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("React").PropTypes;h=babelHelpers.inherits(k,c("React").Component);i=h&&h.prototype;k.prototype.getChildContext=function(){return{waitTimeAreaName:this.props.name,waitTimeAreaOwner:this.props.owner}};k.prototype.render=function(){return this.props.children||null};function k(){h.apply(this,arguments)}k.childContextTypes={waitTimeAreaName:j.string.isRequired,waitTimeAreaOwner:j.string.isRequired};f.exports=k}),null);
__d("SUINotice.react",["cx","fbt","Locale","React","SUIButton.react","SUICloseButton.react","SUIComponent","SUITheme","uniqueID"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").PropTypes,m={noticeID:"",type:"warning",hasRoundedCorners:true},n={error:i._("Error notice"),information:i._("Informational notice"),success:i._("Success notice"),warning:i._("Warning notice")};j=babelHelpers.inherits(o,c("SUIComponent"));k=j&&j.prototype;function o(){var p,q;for(var r=arguments.length,s=Array(r),t=0;t<r;t++)s[t]=arguments[t];return q=(p=k.constructor).call.apply(p,[this].concat(s)),this.$SUINotice1=function(){if(this.props.onClose)this.props.onClose(this.props.noticeID)}.bind(this),q}o.prototype.render=function(){var p,q=c("SUITheme").get(this).SUINotice,r=q.type[this.props.type],s=r.icon,t=c("uniqueID")(),u=c("uniqueID")(),v=(p={},p[c("Locale").isRTL()?"left":"right"]=8,p.position="absolute",p.top=14,p);return c("React").createElement("div",{className:"_29dw"+(!!this.props.onClose?" _29dx":"")+(this.props.hasRoundedCorners?" _5q8c":""),"data-testid":this.props["data-testid"],style:babelHelpers["extends"]({},this.props.style,{backgroundColor:r.messageBackgroundColor})},c("React").createElement("div",{className:"_29dy",style:{backgroundColor:r.iconBackgroundColor}},s,c("React").createElement("span",{className:"accessible_elem",id:u},n[this.props.type])),c("React").createElement("div",{className:"_2as-",style:babelHelpers["extends"]({backgroundColor:r.messageBackgroundColor,borderColor:r.messageBorderColor},q.textStyle)},c("React").createElement("div",{className:"_29dz"},this.props.children),this.props.action?c("React").createElement(c("SUIButton.react"),{"data-testid":"SUINotice/action",height:this.props.action.height||"short",label:this.props.action.label,onClick:this.props.action.onClick,use:this.props.action.use||"default"}):null,this.props.onClose?c("React").createElement(c("SUICloseButton.react"),{"aria-labelledby":t+" "+u,"data-testid":"SUINotice/closeButton",id:t,onClick:this.$SUINotice1,style:v}):null))};o.propTypes={action:l.shape({height:l.oneOf(["normal","tall","short"]),label:l.node.isRequired,use:l.oneOf(["default","special","confirm"]),onClick:l.func.isRequired}),noticeID:l.string.isRequired,type:l.oneOf(["information","success","warning","error"]).isRequired,onClose:l.func,style:l.object,theme:l.instanceOf(c("SUITheme"))};o.defaultProps=m;f.exports=o}),null);
__d("SUIHorizontalLayout.react",["Locale","React","SUIComponent","SUITheme"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("React").PropTypes;function k(){return c("Locale").isRTL()?"marginLeft":"marginRight"}var l={display:"inline-block"};h=babelHelpers.inherits(m,c("SUIComponent"));i=h&&h.prototype;m.prototype.render=function(){var n,o=this.props,p=o.display,q=o.wrapChildren,r=o.children,s=o.theme,t=babelHelpers.objectWithoutProperties(o,["display","wrapChildren","children","theme"]),u=c("SUITheme").get(this).SUIHorizontalLayout,v=(n={},n[k()]=u.margin,n.display="inline-block",n);p=p==="inline"?"inline-block":"block";var w=q?function(x,y,v){return c("React").createElement("div",{key:y,style:v},x)}:function(x,y,v){return c("React").cloneElement(x,{style:v,key:y})};r=c("React").Children.toArray(r).filter(function(x){return!!x}).map(function(x,y,z){return y!==z.length-1?w(x,x.props.key||y,v):w(x,x.props.key||y,l)});return c("React").createElement("div",babelHelpers["extends"]({},t,{style:{display:p}}),r)};function m(){h.apply(this,arguments)}m.propTypes={"data-testid":j.string,display:j.oneOf(["block","inline"]).isRequired,theme:j.instanceOf(c("SUITheme")),wrapChildren:j.bool.isRequired};m.defaultProps={display:"inline",wrapChildren:true};f.exports=m}),null);
__d("SUIModalCard.react",["cx","Locale","React","SUICloseButton.react","SUIComponent","SUITheme"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("Locale").isRTL;i=babelHelpers.inherits(l,c("SUIComponent"));j=i&&i.prototype;l.prototype.render=function(){var m,n=this.props,o=n.children,p=n.footer,q=n.header,r=c("SUITheme").get(this),s=r.SUIModalCard,t=s.closeButtonPosition,u=t+c("SUICloseButton.react").getHeightForSize(r,"large"),v=q?s.bodyVerticalMargin:u,w=v+"px       "+s.bodyHorizontalMargin+"px       "+s.bodyVerticalMargin+"px";return c("React").createElement("div",{className:"_1py_",style:{backgroundColor:s.backgroundColor,boxShadow:s.boxShadow}},c("React").createElement(c("SUICloseButton.react"),{layerCancel:true,size:"large",style:(m={},m[k()?"left":"right"]=t,m.position="absolute",m.top=t,m)}),q,c("React").createElement("div",{className:"_jmh",style:babelHelpers["extends"]({},s.typeStyle,{padding:w})},o),p)};function l(){i.apply(this,arguments)}f.exports=l}),null);
__d("SUIModal.react",["csx","cx","AbstractDialog.react","LayerFadeOnShow","React","ReactLayer","SUIComponent","SUIModalCard.react"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k;j=babelHelpers.inherits(l,c("SUIComponent"));k=j&&j.prototype;l.prototype.render=function(){var n=this.props,o=n.children,p=n.footer,q=n.header,r=n.isShown,s=n.onHide,t=babelHelpers.objectWithoutProperties(n,["children","footer","header","isShown","onHide"]),u=true;if(t.behaviors&&t.behaviors.LayerHideOnBlur===null)u=false;return c("React").createElement(m,babelHelpers["extends"]({},t,{className:"_d2i",includeHideSource:true,isStrictlyControlled:true,layerHideOnBlur:u,onHide:s,shown:r}),c("React").createElement(c("SUIModalCard.react"),{footer:p,header:q},o))};function l(){j.apply(this,arguments)}l.defaultProps=babelHelpers["extends"]({},c("SUIModalCard.react").defaultProps,{behaviors:{},causalElementRef:function n(){return null},width:400});var m=c("ReactLayer").createClass(c("AbstractDialog.react").createSpec({displayName:"SUIModal",addedBehaviors:{LayerFadeOnShow:c("LayerFadeOnShow")},titleClass:"._604x"}));f.exports=l}),null);
__d("SUIModalHeader.react",["cx","Locale","React","SUICloseButton.react","SUIComponent","SUITheme"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("Locale").isRTL,l=12,m=8;i=babelHelpers.inherits(n,c("SUIComponent"));j=i&&i.prototype;n.prototype.render=function(){var o,p=c("SUITheme").get(this),q=p.SUIModalHeader;return c("React").createElement("div",{className:"_604x","data-hover":"tooltip","data-tooltip-display":"overflow",style:babelHelpers["extends"]({},q.typeStyle,(o={backgroundColor:q.backgroundColor,borderBottom:"1px solid "+q.bottomBorderColor,padding:l},o[k()?"paddingLeft":"paddingRight"]=l+m+c("SUICloseButton.react").getHeightForSize(p,"large"),o))},this.props.title)};function n(){i.apply(this,arguments)}f.exports=n}),null);
__d("ads-lib-urllib",[],(function a(b,c,d,e,f,g){__p&&__p();function h(o){return l(n.normalize(o.trim()))}var i=/^(?:(\w+):)?(?:\/\/([^\/:?#]*)(?::(\d+))?)?([^#?]*)(?:\?([^#]*))?(?:#(.*))?/,j="invalid.invalid";function k(o){var p=new RegExp("[\\x00-\\x2c\\x2f\\x3b-\\x40\\x5c\\x5e\\x60\\x7b-\\x7f\\uFDD0-\\uFDEF\\uFFF0-\\uFFFF\\u2047\\u2048\\uFE56\\uFE5F\\uFF03\\uFF0F\\uFF1F]");if(p.test(o))return j;else return o}function l(o){var p=o.toString().trim().match(i)||[],q={protocol:p[1]||"",domain:k(p[2]||""),port:p[3]||"",path:p[4]||"",query_s:p[5]||"",fragment:p[6]||""};if(!q.domain&&q.path.indexOf("\\")!==-1)return{};var r=new RegExp("^(?:[^/]*:|[\\x00-\\x1f]*/[\\x00-\\x1f]*/)");if(!q.protocol&&r.test(o.toString()))return{};return q}function m(o){__p&&__p();var p="";o.protocol&&(p+=o.protocol+"://");o.domain&&(p+=o.domain);o.port&&(p+=":"+o.port);if(o.domain&&!o.path)p+="/";o.path&&(p+=o.path);o.query_s&&(p+="?"+o.query_s);o.fragment&&(p+="#"+o.fragment);return p}var n={normalize:function o(p){if(!p)return p;var q=l(p);if(!q.protocol)q.protocol="http";return m(q)},isUrlSimple:function o(p){var q=p.trim().split(".");return q.length>1&&q.filter(function(r){return!r}).length===0},isUrl:function o(p){if(!p)return false;var q=h(p);return!!(q.domain&&q.domain!==j&&n.isUrlSimple(q.domain))},isPotentialUrl:function o(p){if(!p)return true;var q=h(p);return!!(q.domain&&q.domain!==j)},getDomain:function o(p){if(!p)return null;var q=h(p);return q.domain&&q.domain!==j?q.domain:null}};f.exports=n}),null);
__d("TimeInterval",["invariant","DateConsts","DateTime","PeriodUnit","Timezone"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("Timezone").UTC;function j(l,m,n){l<=m||h(0);this.start=l;this.end=m;this.timezoneID=n}j.prototype.abuts=function(l){var m=Math.max(this.start,l.start),n=Math.min(this.end,l.end);return m===n};j.apply=function(l){return new j(l.start,l.end,l.timezoneID)};j.prototype.contains=function(l){return this.start<=l&&l<this.end};j.prototype.containsInterval=function(l){return this.start<=l.start&&l.end<=this.end};j.create=function(l,m,n){return new j(l,m,n||i)};j.prototype.equals=function(l){return this.start===l.start&&this.end===l.end&&this.timezoneID===l.timezoneID};j.fromFBDates=function(l,m){return new j(l.getUnixTimestampSeconds(),m.getUnixTimestampSeconds(),l.getTimezoneID())};j.fromDateTimes=function(l,m){return new j(l.instant,m.instant,l.timezoneID)};j.prototype.gap=function(l){var m=Math.max(this.start,l.start),n=Math.min(this.end,l.end);return n<m?j.create(n,m,this.timezoneID):null};j.prototype.getEndDateTime=function(){return c("DateTime").create(this.end,this.timezoneID)};j.prototype.getStartDateTime=function(){return c("DateTime").create(this.start,this.timezoneID)};j.prototype.intersect=function(l){var m=Math.max(this.start,l.start),n=Math.min(this.end,l.end);return m<=n?j.create(m,n,this.timezoneID):null};j.prototype.intersects=function(l){var m=Math.max(this.start,l.start),n=Math.min(this.end,l.end);return m<=n};j.prototype.isAfter=function(l){return l.end<=this.start};j.prototype.isBefore=function(l){return this.end<=l.start};j.prototype.join=function(l){return j.create(Math.min(this.start,l.start),Math.max(this.end,l.end),this.timezoneID)};j.prototype.lowerBoundDays=function(){var l=k(c("DateTime").create(this.start,this.timezoneID)).instant,m=c("DateTime").create(this.end,this.timezoneID).startOfDay().instant;return l<=m?j.create(l,m,this.timezoneID):null};j.prototype.measure=function(l){if(c("PeriodUnit").isForTime(l))return Math.floor((this.end-this.start)/c("PeriodUnit").getDuration(l));else return this.measureDateBasedUnit(l)};j.prototype.measureDateBasedUnit=function(l){__p&&__p();var m=this.getStartDateTime(),n=this.getEndDateTime(),o=void 0;switch(l){case c("PeriodUnit").year:o=n.getYear()-m.getYear();return m.addYears(o).instant<=n.instant?o:o-1;case c("PeriodUnit").month:o=n.getYear()-m.getYear();var p=n.getMonth()-m.getMonth(),q=12*o+p;for(var r=q;Math.max(0,q-2)<r;r-=1)if(m.addMonths(r).instant<=n.instant)break;return r;case c("PeriodUnit").week:return Math.floor(this.measureDateBasedUnit(c("PeriodUnit").day)/c("DateConsts").DAYS_PER_WEEK);case c("PeriodUnit").day:var s=Math.round((n.startOfDay().instant-m.startOfDay().instant)/c("DateConsts").SEC_PER_DAY);return m.addDays(s).instant<=n.instant?s:s-1;default:h(0)}};j.prototype.overlap=function(l){var m=Math.max(this.start,l.start),n=Math.min(this.end,l.end);return m<n?j.create(m,n,this.timezoneID):null};j.prototype.overlaps=function(l){var m=Math.max(this.start,l.start),n=Math.min(this.end,l.end);return m<n};j.prototype.subintervalOf=function(l){return l.start<=this.start&&this.end<=l.end};j.prototype.toDuration=function(){return this.end-this.start};j.prototype.toString=function(){var l=this.getStartDateTime(),m=this.getEndDateTime();return"("+l.toString()+", "+m.toString()+")"};j.prototype.toPeriod=function(){return this.toPeriodIn(c("PeriodUnit").canonicalUnits)};j.prototype.toPeriodIn=function(l){if(l.length===0)return{};else{var m=l[0],n={};n[m]=this.measure(m);Object.assign(n,j.fromDateTimes(this.getStartDateTime().add(n),this.getEndDateTime()).toPeriodIn(l.slice(1)));return n}};j.prototype.union=function(l){return this.intersects(l)?j.create(Math.min(this.start,l.start),Math.max(this.end,l.end),this.timezoneID):null};j.prototype.upperBoundDays=function(){return j.create(c("DateTime").create(this.start,this.timezoneID).startOfDay().instant,k(c("DateTime").create(this.end,this.timezoneID)).instant,this.timezoneID)};j.prototype.withEnd=function(l){return new j(this.start,l,this.timezoneID)};j.prototype.withStart=function(l){return new j(l,this.end,this.timezoneID)};j.prototype.withTimezone=function(l){return new j(this.start,this.end,l)};j.prototype["with"]=function(l){return j.apply(babelHelpers["extends"]({},this,l))};function k(l){var m=l.startOfDay();return l.instant===m.instant?l:m.addDays(1)}f.exports=j}),null);
__d("first",[],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i){__p&&__p();for(var j=i,k=Array.isArray(j),l=0,j=k?j:j[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var m;if(k){if(l>=j.length)break;m=j[l++]}else{l=j.next();if(l.done)break;m=l.value}var n=m;return n}return null}f.exports=h}),null);
__d("FluxDerivedStore",["FluxStore","immutable","Map","Set","UserTimingUtils","abstractMethod"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("FluxStore"));i=h&&h.prototype;function j(k){i.constructor.call(this,k);this.$FluxDerivedStore1=c("immutable").Map();this.$FluxDerivedStore3=this.__getStores();this.$FluxDerivedStore4=this.$FluxDerivedStore3.map(function(l){return l.getDispatchToken()});this.$FluxDerivedStore2=new(c("Map"))()}j.prototype.__onDispatch=function(k){if(!this.$FluxDerivedStore4)return;this.getDispatcher().waitFor(this.$FluxDerivedStore4);if(this.$FluxDerivedStore3.some(function(l){return l.hasChanged()})){this.$FluxDerivedStore2.clear();this.__emitChange()}};j.prototype.__getStores=function(){return c("abstractMethod")(this.constructor.name,"__getStores")};j.prototype.__getData=function(k,l){return c("abstractMethod")(this.constructor.name,"__getData")};j.prototype.__getCachedData=function(k,l){return c("abstractMethod")(this.constructor.name,"__getCachedData")};j.prototype.__computeResult=function(k,l,m){return c("abstractMethod")(this.constructor.name,"__computeResult")};j.prototype.__areEqual=function(k,l){return k===l};j.prototype.__updateOne=function(k,l,m,n){if(!n||!this.__areEqual(n,m)){var o=this.__computeResult(l,m,this.$FluxDerivedStore1.getIn([l,"result"],null));k.setIn([l,"data"],m);k.setIn([l,"result"],o)}};j.prototype.__updateAll=function(k,l,m,n){__p&&__p();for(var o=l,p=Array.isArray(o),q=0,o=p?o:o[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var r;if(p){if(q>=o.length)break;r=o[q++]}else{q=o.next();if(q.done)break;r=q.value}var s=r;this.__updateOne(k,s,m.get(s),n.get(s))}};j.prototype.get=function(k){if(this.$FluxDerivedStore2.get(k))return this.$FluxDerivedStore1.getIn([k,"result"]);var l=this.$FluxDerivedStore1.getIn([k,"data"]),m=this.__getData(k,l);this.$FluxDerivedStore1=this.$FluxDerivedStore1.withMutations(function(n){return this.__updateOne(n,k,m,l)}.bind(this));this.$FluxDerivedStore2.set(k,true);return this.$FluxDerivedStore1.getIn([k,"result"])};j.prototype.getCached=function(k){if(this.$FluxDerivedStore2.get(k))return this.$FluxDerivedStore1.getIn([k,"result"]);var l=this.$FluxDerivedStore1.getIn([k,"data"]),m=this.__getCachedData(k,l);this.$FluxDerivedStore1=this.$FluxDerivedStore1.withMutations(function(n){return this.__updateOne(n,k,m,l)}.bind(this));return this.$FluxDerivedStore1.getIn([k,"result"])};j.prototype.getAll=function(k,l){__p&&__p();var m=new(c("Set"))(k),n=l||this.$FluxDerivedStore5||c("immutable").Map(),o=n.withMutations(function(p){__p&&__p();var q,r=this;n.forEach(function(s,t){if(!m.has(t))p["delete"](t)});if(this.__getDataAll)(function(){var s=r.$FluxDerivedStore1.filter(function(u,v){return m.has(v)}).map(function(u){return u.get("data")}),t=r.__getDataAll(m,s);r.$FluxDerivedStore1=r.$FluxDerivedStore1.withMutations(function(u){return this.__updateAll(u,k,t,s)}.bind(r));m.forEach(function(u){p.set(u,this.$FluxDerivedStore1.getIn([u,"result"]))}.bind(r))})();else m.forEach(function(s){p.set(s,this.get(s))}.bind(this))}.bind(this));this.$FluxDerivedStore5=o;return o};j.prototype.getAllCached=function(k,l){__p&&__p();var m=new(c("Set"))(k),n=l||this.$FluxDerivedStore5||c("immutable").Map(),o=n.withMutations(function(p){__p&&__p();for(var q=n.keys(),r=Array.isArray(q),s=0,q=r?q:q[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var t;if(r){if(s>=q.length)break;t=q[s++]}else{s=q.next();if(s.done)break;t=s.value}var u=t;if(!m.has(u))p["delete"](u)}this.$FluxDerivedStore1=this.$FluxDerivedStore1.withMutations(function(v){__p&&__p();for(var w=m,x=Array.isArray(w),y=0,w=x?w:w[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var z;if(x){if(y>=w.length)break;z=w[y++]}else{y=w.next();if(y.done)break;z=y.value}var A=z,B=v.getIn([A,"data"]),C=this.__getCachedData(A,B);this.__updateOne(v,A,C,B);p.set(A,v.getIn([A,"result"]))}}.bind(this))}.bind(this));this.$FluxDerivedStore5=o;return o};j.prototype.clearCacheForTestsOnly=function(){this.$FluxDerivedStore2.clear()};f.exports=j}),null);
__d("FluxMixinLegacy",["invariant","FluxMixinLegacyInstrumentation","FluxStoreGroup","SubscriptionsHandler"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(k){__p&&__p();var l=arguments.length<=1||arguments[1]===undefined?{withProps:false}:arguments[1];k=k.filter(function(m){return!!m});return c("FluxMixinLegacyInstrumentation").addInstrumentation({_callCalculateState:function m(n,o){return this.constructor.calculateState(n,o)},getInitialState:function m(){j(this);return l.withProps?this._callCalculateState(null,this.props):this._callCalculateState(null,undefined)},componentWillMount:function m(){__p&&__p();var n,o=false,p=function p(){o=true};this._fluxMixinSubscriptionsHandler=new(c("SubscriptionsHandler"))();var q=k.map(function(s){return s.addListener(p)});(n=this._fluxMixinSubscriptionsHandler).addSubscriptions.apply(n,q);var r=function(){if(o)this.setState(function(s){return l.withProps?this._callCalculateState(s,this.props):this._callCalculateState(s,undefined)}.bind(this));o=false}.bind(this);this._fluxMixinStoreGroup=new(c("FluxStoreGroup"))(k,r,this.constructor.name)},componentWillReceiveProps:function m(n,o){if(!l.withProps)return;this.setState(function(p){return this._callCalculateState(p,n)}.bind(this))},componentWillUnmount:function m(){this._fluxMixinStoreGroup.release();this._fluxMixinSubscriptionsHandler.release()}})}function j(k){k.constructor.calculateState||h(0)}f.exports=i}),null);
__d("AdsAPILeadGenDataFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ALLOW_ORGANIC_LEAD:"allow_organic_lead",BLOCK_DISPLAY_FOR_NON_TARGETED_VIEWER:"block_display_for_non_targeted_viewer",CANVAS_ID:"canvas_id",CONTEXT_CARD:"context_card",CONTEXT_CARD_CONTENT:"context_card_content",CONTEXT_CARD_COVER_PHOTO:"context_card_cover_photo",CONTEXT_CARD_CTA:"context_cta",CONTEXT_CARD_LAYOUT:"context_card_layout",CONTEXT_CARD_TITLE:"context_title",CREATED_TIME:"created_time",CREATOR:"creator",CREATOR_ID:"creator_id",CUSTOM_DISCLAIMER_BODY:"custom_disclaimer_body",CUSTOM_DISCLAIMER_CONSENTS:"custom_disclaimer_consents",CUSTOMIZED_QUESTION:"customized_question",CUSTOMIZED_TCPA_CONTENT:"cusomized_tcpa_content",EXPIRED_LEADS_COUNT:"expired_leads_count",EXTRA_DETAILS:"extra_details",FOLLOW_UP_ACTION_TEXT:"follow_up_action_text",FOLLOW_UP_ACTION_URL:"follow_up_action_url",FORM:"form",HACKATHON_REVENUE_DELTA:"hackathon_revenue_delta",ID:"id",IS_OPTIMIZED_FOR_QUALITY:"is_optimized_for_quality",JUMP_TO_FORM_BUTTON:"jump_to_form_button",LEAD_GEN_USE_CASE:"lead_gen_use_case",LEADGEN_EXPORT_CSV_URL:"leadgen_export_csv_url",LEADS:"leads",LEADS_COUNT:"leads_count",LEGAL_CONTENT:"legal_content",LOCALE:"locale",MESSENGER_WELCOME_MESSAGE:"messenger_welcome_message",NAME:"name",ORGANIC_LEADS_COUNT:"organic_leads_count",PAGE:"page",PAGE_ID:"page_id",PRIVACY_POLICY_URL:"privacy_policy_url",QUALIFIERS:"qualifiers",QUESTION_PAGE_CUSTOM_HEADLINE:"question_page_custom_headline",QUESTIONS:"questions",STATUS:"status",TCPA_COMPLIANCE:"tcpa_compliance",TEST_LEADS:"test_leads",THANK_YOU_PAGE:"thank_you_page",THANK_YOU_PAGE_BODY:"thank_you_page_body",THANK_YOU_PAGE_BUSINESS_PHONENUMBER:"thank_you_page_business_phonenumber",THANK_YOU_PAGE_BUTTON_TEXT:"thank_you_page_button_text",THANK_YOU_PAGE_HEADLINE:"thank_you_page_headline",THANK_YOU_PAGE_WEBSITE_URL:"thank_you_page_website_url"})}),null);
__d("AdsTestIDs",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ACCOUNT_OVERVIEW_NAV:"account-overview-nav",ACCOUNT_INSIGHTS:"account-insights",ADD_INSTAGRAM_PLACEMENT_BUTTON:"add-instagram-placement-button",ADD_INSTAGRAM_PLACEMENT_CONFIRM_BUTTON:"add-instagram-placement-confirm-button",ADGROUP_NAME_FIELD:"adgroup-name-field",ADS_AUDIENCE_SIZE:"ads-audience-size",ADS_APP_TRACKING:"ads-app-tracking",ADS_CREATION_BUTTON:"ads-creation-button",ADS_CREATIVE_SECTION:"ads-creative-section",ADS_CREATIVE_SECTION_ADVANCED:"ads-creative-section-advanced",ADS_CREATIVE_SECTION_ADVANCED_TOGGLE:"ads-creative-section-advanced-toggle",ADS_DESTINATION_SELECTOR:"ads_destination_selector",ADS_DRAGGABLE_INDEXED_TAB_BAR_ITEM:"ads-draggable-indexed-tab-bar-item",ADS_DYNAMIC_VOICE:"ads-dynamic-voice",ADS_EDITOR_FOOTER_ROOT:"ads-editor-footer-root",ADS_ENDCARD_CHECKBOX:"ads-endcard-checkbox",APP_EVENT_SELECTOR:"app-event-selector",APP_EVENT_SELECTOR_OVERLAY:"app-event-selector-overlay",ADS_MAPCARD_CHECKBOX:"ads-mapcard-checkbox",ADS_MAPCARD_CHECKBOX_INPUT:"ads-mapcard-checkbox-input",ADS_MAPCARD_POSITION_SELECTOR:"ads-mapcard-position-selector",ADS_MINI_GROUPED_OBJECTIVE_SELECTOR:"ads-mini-grouped-objective-selector",ADS_MINI_GROUPED_OBJECTIVE_SELECTOR_OPTION:"ads-mini-grouped-objective-selector-option",ADS_MINI_GROUPED_OBJECTIVE_SELECTOR_ROOT:"ads-mini-grouped-objective-selector-root",ADS_INCREMENTAL_NUMBER_ARROW_UP:"ads-incremental-number-arrow-up",ADS_INCREMENTAL_NUMBER_ARROW_DOWN:"ads-incremental-number-arrow-down",ADS_INSIGHTS_AUDIENCE_AGE_GENDER:"ads-insights-audience-age-gender",ADS_INSIGHTS_OBJECTIVE_OVERVIEW:"ads-insights-objective-overview",ADS_IMAGE_OVERLAY:"ads-image-overlay",APP_SELECTOR:"app-selector",APP_STORE_SELECTOR:"app-store-selector",ADS_LANDING_VIEW:"ads-landing-view",ADS_LANDING_VIEW_SELECTOR:"ads-landing-view-selector",ADS_LOADING_SPIN:"ads-loading-spin",ADS_OFFLINE_TRACKING:"ads-offline-tracking",ADS_OVERLAYS_EDIT_APPEARANCE_LINK:"ads-overlays-edit-appearance-link",ADS_OVERLAYS_EDIT_APPEARANCE_DIALOG:"ads-overlays-edit-appearance-dialog",ADS_OVERLAYS_EDIT_APPEARANCE_DIALOG_SAVE_BUTTON:"ads-overlays-edit-appearance-dialog-save-button",ADS_OVERLAYS_ENTRY_POINT_SELECTOR:"ads-overlays-entry-point-selector",ADS_PIXEL_TRACKING:"ads-pixel-tracking",ADS_PROGRESS_BAR:"ads-progress-bar",ADS_RICH_SELECTOR_OPTION:"ads-rich-selector-option",ADS_SET_OBJECTIVES_BLOCKING_DIALOG:"ads-set-objectives-blocking-dialog",ADS_SET_OBJECTIVES_BLOCKING_DIALOG_CONFIRM:"ads-set-objectives-blocking-dialog-confirm",ADS_STATIC_CARD_CHECKBOX:"ads-static-card-checkbox",ADS_TOKENIZED_DESCRIPTION:"ads-tokenized-description",ADS_TOKENIZED_HEADLINE:"ads-tokenized-headline",ADS_TOKENIZED_MESSAGE:"ads-tokenized-message",ADS_URL_TAGS:"ads-url-tags",BID_AMOUNT_INFO:"bid-amount-info",BID_TYPE_SELECTOR:"bid-type-selector",BIG_AD_ACCOUNT_DIALOG:"big-ad-account-dialog",BIG_AD_ACCOUNT_SELECTOR:"big-ad-account-selector",BIG_AD_ACCOUNT_SELECTOR_ITEM:"big-ad-account-selector-item",BUDGET_CONTROL_SELECTOR:"budget_control_selector",BUDGET_CONTROL_SELECTOR_INCREASE_ITEM:"budget_control_selector_increase_item",BUDGET_INPUT:"budget-input",BUDGET_REACH_CURVE:"budget-reach-curve",BUSINESS_TYPEAHEAD_SEARCH:"business-typeahead-search",BUSINESS_TYPEAHEAD_SEARCH_BOOTLOAD:"business-typeahead-search-bootload",BUSINESS_TYPEAHEAD_SEARCH_INPUT:"business-typeahead-search-input",CALL_TO_ACTION_DIALOG_POPUP:"call-to-action-dialog-popup",CALL_TO_ACTION_SELECTOR:"call-to-action-selector",CAMPAIGN_AD_SCHEDULING:"campaign-ad-scheduling",CAMPAIGN_BID_AMOUNT:"campaign-bid-amount",CAMPAIGN_BILLING_EVENT:"campaign-billing-event",CAMPAIGN_BILLING_EVENT_MORE_OPTIONS:"campaign-billing-event-more-options",CAMPAIGN_BILLING_EVENT_SELECTOR:"campaign-billing-event-selector",CAMPAIGN_BUDGET:"campaign-budget",CAMPAIGN_BUDGET_AMOUNT:"campaign-budget-amount",CAMPAIGN_BUDGET_CURVE:"campaign-budget-curve",CAMPAIGN_BUDGET_MODE:"campaign-budget-mode",CAMPAIGN_BUDGET_SHOW_CURVE_LINK:"campaign-budget-show-curve-link",CAMPAIGN_CONVERSION_WINDOW:"campaign-conversion-window",CAMPAIGN_COST_STRATEGY_AVERAGE:"campaign-cost-strategy-average",CAMPAIGN_COST_STRATEGY_BID_CAP_CHECKBOX:"campaign-cost-strategy-bid-cap-checkbox",CAMPAIGN_COST_STRATEGY_LIST:"campaign-cost-strategy-list",CAMPAIGN_COST_STRATEGY_OPTIMIZED:"campaign-cost-strategy-optimized",CAMPAIGN_DELIVERY_ADVANCED:"campaign-delivery-advanced",CAMPAIGN_DELIVERY_ADVANCED_MORE_LINK:"campaign-delivery-advanced-more-link",CAMPAIGN_DELIVERY_TIP:"campaign-delivery-tip",CAMPAIGN_DELIVERY_TIP_TITLE:"campaign-delivery-tip-title",CAMPAIGN_DELIVERY_TYPE:"campaign-delivery-type",CAMPAIGN_EVENT_TYPE:"campaign-event-type",CAMPAIGN_FREQUENCY_INTERVAL:"campaign-frequency-interval",CAMPAIGN_IMPRESSION_LIMIT:"campaign-impression-limit",CAMPAIGN_INFLATION:"campaign-inflation",CAMPAIGN_LINE_NUMBER:"campaign-line-number",CAMPAIGN_LINE_PRICE:"campaign-line-price",CAMPAIGN_MANUAL_BIDDING_TYPE_SELECTOR:"campaign-manual-bidding-type-selector",CAMPAIGN_OPTIMIZATION_GOAL:"campaign-optimization-goal",CAMPAIGN_GROUP_NAME_FIELD:"campaign-group-name-field",CAMPAIGN_NAME_FIELD:"campaign-name-field",CAMPAIGN_SCHEDULE:"campaign-schedule",CANCEL_BUTTON:"cancel-button",CATALOG_APP_EVENT_SOURCE_NOTICE:"catalog-app-event-source-notice",CATALOG_APP_EVENT_SOURCE_NOTICE_CTA:"catalog-app-event-source-notice-cta",CATALOG_APP_EVENT_SOURCE_SUCCESS_OK:"catalog-app-event-source-success-ok",CATALOG_SELECTOR_BUTTON:"catalog-selector-button",CF_CREATIVE_VIDEO_PLACEMENT_ASSET_PANEL:"cf-creative-video-placement-asset-panel",CHANGING_PLACEMENT_DIALOG_CANCEL:"change-placement-dialog-cancel",CHANGING_PLACEMENT_DIALOG_CONFIRM:"change-placement-dialog-confirm",CLEAR_VIDEOS_BUTTON:"clear-videos-button",CM_CHROME:"cm-chrome",COMPLETE_BUTTON:"completion-button",CONFIRM_CREATE_SLIDESHOW_BUTTON:"confirm-create-slideshow-button",CREATE_ADGROUP_BUTTON:"create-adgroup-button",CREATE_CAMPAIGN_BUTTON:"create-campaign-button",CREATE_CAMPAIGN_GROUP_BUTTON:"create-campaign-group-button",CREATE_OFFER_BUTTON:"create-offer-button",CREATION_BUTTON:"creation-button",CREATION_BUTTON_GROUP:"creation-button-group",CREATION_MENU:"creation-menu",CREATION_MENU_BUTTON:"creation-menu-button",CREATION_MODAL:"creation-modal",CREATION_FLOW_ERROR_DIALOG_AT_FOOTER:"creation-flow-error-dialog-at-footer",DCO_ADD_ASSET_BUTTON:"dco-add-asset-button",DCO_HEADLINE_FIELD:"dco-headline-field",DCO_LINK_DESCRIPTION_FIELD:"dco-link-description-field",DCO_MESSAGE_FIELD:"dco-message-field",DCO_TEXT_INPUT_BOX:"dco-text-input-box",DESTINATION_EVENT_SELECTOR:"detination-event-selector",DIALOG_PROCESSING_SPINNER:"dialog-processing-spinner",DISPLAY_URL_FIELD:"display-url-field",DLO_ADD_LANGUAGE_BUTTON:"dlo-add-language-button",DLO_CANCEL_BUTTON:"dlo-cancel-button",DLO_CREATED_LANGUAGE_COUNT:"dlo-created-language-count",DLO_ENTRYPOINT_BUTTON:"dlo-entrypoint-button",DLO_HEADLINE_FIELD:"dlo-headline-field",DLO_LANGUAGE_TYPEAHEAD:"dlo-language-typeahead",DLO_LINK_DESCRIPTION_FIELD:"dlo-link-description-field",DLO_MESSAGE_FIELD:"dlo-message-field",DLO_REMOVE_UNSUPPORTED_PLACEMENTS_BUTTON:"dlo-remove-unsupported-placements-button",DLO_SAVE_BUTTON:"dlo-save-button",DLO_SELECT_PRIMARY_LANGUAGE_BUTTON:"dlo-select-primary-language-button",DLO_WEBSITE_URL_FIELD:"dlo-website-url-field",DOTS_TAB:"dots-tab",DRAFT_SYNC_STATUS:"draft-sync-status",DRAFT_SYNC_STATUS_SPINNER:"draft-sync-status-spinner",EDIT:"edit",EDIT_NAME_FIELD:"edit-name-field",EDITOR_CHROME:"editor-chrome",EVENT_TYPEAHEAD:"event-typeahead",EXISTING_POST_ADD_CTA_BUTTON:"existing-post-add-cta-button",FREQUENCY_MAX_IMPS_PER_INTERVAL_FIELD:"frequency-max-imps-per-interval-field",FREQUENCY_RESET_INTERVAL_DAYS_FIELD:"frequency-reset-interval-days-field",HEADLINE_FIELD:"headline_field",HEADER_OBJECT_NAME:"header-object-name",HELP_JEWEL:"help-jewel",INFO_CARD:"info-card",INFO_CARD_BUTTON_PANEL:"info-card-button-panel",IMAGE_BOX:"image-box",IMAGE_DIALOG:"image-dialog",IMAGE_DIALOG_CLOSE_BUTTON:"image-dialog-close-button",IMAGE_LIBRARY:"image-library",IMAGE_LIBRARY_HEADER:"image-library-header",IMAGE_SELECT_BUTTON:"image-select-button",IMPORT_ADS_MENU_OPTION:"import-ads-menu-option",IMPORT_BUTTON:"import-button",IMPORT_CLOSE_DIALOG_BUTTON:"import-close-dialog-button",IMPORT_DOWNLOAD_TO_FAME_BUTTON:"import-download-to-fame-button",IMPORT_EXPORT_BUTTON:"import-export-button",IMPORT_FILE_BUTTON:"import-paste-text-link",IMPORT_PROGRESS_DIALOG:"import-progress-dialog",INSTAGRAM_ACCOUNT_SELECTOR:"instagram-account-selector",LINK_DESCRIPTION_FIELD:"link-description-field",LINK_POST_DESTINATION_SELECTOR:"link-post-destination-selector",LINK_POST_DESTINATION_SELECTOR_ITEM:"link-post-destination-selector-item",LINK_POST_FORMAT_SELECTOR:"link-post-format-selector",LINK_POST_FORMAT_SELECTOR_ITEM:"link-post-format-selector-item",MANUAL_BID_AMOUNT_FIELD:"manual-bid-amount-field",MEDIA_FORMAT_SELECTOR:"media-format-selector",MEDIA_FORMAT_SELECTOR_ITEM:"media-format-selector-item",MESSAGE_FIELD:"message-field",MESSAGE_FIELD_ITEM:"message-field-item",NAVIGATION_BAR_SECTION:"navigation-bar-section",NAVIGATION_BAR_SUB_SECTION:"navigation-bar-sub-section",OFFER_SELECTED_ITEM:"offer-selected-item",OFFER_OPTIONAL_SECTION:"offer-optional-section",OPEN_THUMBNAIL_AND_CAPTIONS_BUTTON:"open-thumbnail-and-caption-button",OPEN_VIDEO_UPLOAD_BUTTON:"open-video-upload-button",OPTIMIZATION_GOAL_BULK_RADIO_LIST:"optimization-goal-bulk-radio-list",OPTIMIZATION_GOAL_SELECTOR:"optimzation-goal-selector",OPTIMIZATION_GOAL_SINGLE:"optimization-goal-single",OPTIONAL_SECTION_TOGGLE:"optional-section-toggle",PAGE_POST_SELECTOR:"page-post-selector",PAGE_POST_SELECTOR_ITEM:"page-post-selector-item",PAGE_SELECTOR:"page-selector",PAGE_SELECTOR_OVERLAY:"page-selector-overlay",PAGE_SELECTOR_OVERLAY_ITEM:"page-selector-overlay-item",PAGE_SELECTOR_OVERLAY_ITEM_CONTENT:"page-selector-overlay-item-content",PAGE_TYPEAHEAD:"page-typeahead",PE_CONFIRM_DRAFT_ITEM_DIALOG_CANCEL_BUTTON:"pe-confirm-draft-item-dialog-cancel-button",PERSONA_SELECTOR:"persona-selector",PIXEL_CONVERSIONS_FIELD:"pixel-conversions-field",PLACEMENTS:"placements",PLACEMENTS_AUTOMATIC:"placements_automatic",PLACEMENTS_EDIT:"placements_edit",PLACEMENTS_EDIT_COMPONENT:"placements_edit_component",PLACEMENTS_EXPANDABLE_LIST_ITEM:"placements_expandable_list_item",PLACEMENT_CHECKBOX:"placement-checkbox",PLACEMENT_ASSET_CUSTOMIZATION_CUSTOMIZED_ITEM_LABEL:"placement-asset-customization-customized-item-label",PLACEMENT_ASSET_CUSTOMIZATION_PHASE1_SELECTOR:"placement-asset-customization-phase1-selector",PLACEMENT_ASSET_CUSTOMIZATION_PHASE1_SELECTOR_EDITING:"placement-asset-customization-phase1-selector-editing",PLACEMENT_ASSET_CUSTOMIZATION_SELECTOR:"placement-asset-customization-selector",PLACEMENT_ASSET_CUSTOMIZATION_SELECTOR_ROOT:"placement-asset-customization-selector-root",PREDICTED_OUTCOMES:"predicted_outcomes",PREVIEW:"preview",PREVIEW_CAROUSEL:"preview-carousel",PREVIEW_CLICK_TO_CLOSE_AREA:"preview-click-to-close-area",PREVIEW_CLOSE_BUTTON:"preview-close-button",PREVIEW_CLOSE_BUTTON_LIGHT:"preview-close-button-light",PREVIEW_COMPONENT_FORMAT_PAGINATOR:"preview-component-format-paginator",PREVIEW_COMPONENT_NEXT_FORMAT:"preview-component-next-format",PREVIEW_COMPONENT_PREVIOUS_FORMAT:"preview-component-previous-format",PREVIEW_CONTAINER:"preview-container",PREVIEW_DCO_VARIATIONS:"preview-dco-variations",PREVIEW_DCO_VARIATIONS_BUTTON:"preview-dco-variations-button",PREVIEW_SELECTOR:"preview-selector",PREVIEW_SELECTOR_ITEM:"preview-selector-item",PRODUCT_SET_SELECTOR_BUTTON:"product-set-selector-button",PUBX_AD_SPACES_LIST:"pubx-ad-spaces-list",PUBX_AD_SPACE_PLACEMENTS_TABLE:"pubx-ad-space-placements-table",PUBX_OVERVIEW_CHART:"pubx-overview-chart",PUBX_OVERVIEW_CHARTS:"pubx-overview-charts",PUBX_PERFORMANCE_CHART:"pubx-performance-chart",PUBX_PLACEMENT_CARD:"pubx-placement-card",PUBX_PROPERTY_AD_SPACES_TABLE:"pubx-property-ad-spaces-table",PUBX_PROPERTY_BREAKDOWN_TABLE:"pubx-property-breakdown-table",PUBX_PROPERTY_LIST:"pubx-property-list",PUBX_PROPERTY_PLACEMENTS_TABLE:"pubx-property-placements-table",PUBX_PLACEMENT_CARD_NAME_LINK:"pubx-placement-card-name-link",PUBX_PLACEMENT_GROUP_CARD:"pubx-placement-group-card",PUBX_PLACEMENT_GROUP_CARD_EDIT_BUTTON:"pubx-placement-group-card-edit-button",PUBX_PLACEMENT_GROUP_EDITOR:"pubx-placement-group-editor",PUBX_STATS_CHART:"pubx-stats-chart",PUBX_STATS_OVERVIEW_PANEL:"pubx-stats-overview-panel",PUBX_STATS_PANEL:"pubx-stats-panel",PUBX_TABLE_METADATA:"pubx-table-metadata",QUICK_CREATE_BUTTON:"quick-create-button",QUICK_CREATE_DIALOG:"quick-create-dialog",REPORT_SETTINGS:"report-settings",REVIEW_STATUS_NOTICE:"review-status-notice",RF_UPDATE_PREDICTION_BUTTON:"rf-update-prediction-button",ROW_CHECKBOX:"row-checkbox",SAVED_STATE_START_OVER_BUTTON:"saved-state-start-over-button",SAVE_BUTTON:"save-button",SAVING_INDICATOR:"saving-indicator",SCHEDULE_END_DATE:"schedule_end_date",SCHEDULE_END_TIME:"schedule_end_time",SCHEDULE_START_DATE:"schedule_start_date",SCHEDULE_START_TIME:"schedule_start_time",SCHEDULE_TYPE_SELECTOR:"schedule_type_selector",SEARCH_BROWSE_TOKENIZER_LIST_ITEM:"search_browse_tokenizer_list_item",SEARCH_FILTER:"search-filter",SEE_MORE_WEBSITE_URL_FIELD:"see-more-website-url-field",SELECT_ASSET_CUSTOMIZATION_PLACEMENTS:"select-asset-customization-placements",SELECT_QUICK_CREATION_BUTTON:"select-quick-creation-button",SELECT_GUIDED_CREATION_BUTTON:"select-guided-creation-button",SELECT_SINGLE_VIDEO_OPTION_BUTTON:"SINGLE_VIDEO",SELECT_SLIDE_SHOW_OPTION_BUTTON:"SLIDESHOW",SELECTED_IMAGE_PANEL:"selected-image-panel",SLIDE_SHOW_ADD_PHOTOS_BUTTON:"slide-show-add-photos-button",SLIDE_SHOW_ADD_VIDEO_BUTTON:"slide-show-add-video-button",SLIDE_SHOW_CREATION_DIALOG:"slide-show-creation-dialog",SLIDE_SHOW_IMAGE_UPLOAD_DIALOG:"slide-show-image-upload-dialog",SLIDE_SHOW_VIDEO_UPLOAD_DIALOG:"slide-show-video-upload-dialog",SLIDE_SHOW_MEDIA_UPLOAD_PANEL:"slide-show-media-upload-panel",OPEN_SLIDE_SHOW_BUTTON:"open-slide-show-button",STEPPER_CREATE_BUTTON:"stepper-create-button",SUGGESTED_BID:"suggested-bid",TARGETING_SEARCH_BROWSE_TOKENIZER_LIST_ITEM:"targeting_search_browse_tokenizer_list_item",TEXT_INPUT:"text-input",TRY_CREATEFLOW_BUTTON:"try-createflow-button",UNIFIED_NAV_PAGES_JEWEL:"unified-nav-pages-jewel",USE_GUIDED_CREATION_BUTTON:"use-guided-creation-button",USING_EXISTING_POST_TAB:"using-existing-post-tab",VIDEO_BOX:"video-box",VIDEO_CAPTION_EDIT_RESULT_FIELD:"video-caption-edit-result-field",VIDEO_CAPTION_EDIT_RESULT_ICORN:"video-caption-edit-result-icon",VIDEO_CAPTION_EDITOR_DIALOG_SAVE_BUTTON:"video-caption-editor-dialog-save-button",VIDEO_LIBRARY:"video-library",VIDEO_PICKER_OPEN_BUTTON:"video-picker-open-button",VIDEO_SELECT_BUTTON:"video-select-button",VIDEO_SRT_CAPTION_MODAL:"video-srt-caption-modal",VIDEO_SRT_CAPTION_MODAL_SELECT_FILE_BUTTON:"video-srt-caption-modal-select-file-button",VIDEO_SRT_CAPTION_MODAL_SAVE_BUTTON:"video-srt-caption-modal-save-button",VIDEO_SRT_CAPTION_MODAL_CANCEL_BUTTON:"video-srt-caption-modal-cancel-button",VIDEO_SRT_CAPTION_PANEL:"video-srt-caption-panel",VIDEO_SRT_CAPTION_PANEL_AUTO_GENERATE_BUTTON:"video-srt-caption-panel-auto-generate-button",VIDEO_SRT_CAPTION_PANEL_UPLOAD_YOUR_OWN_BUTTON:"video-srt-caption-panel-upload-your-own-button",WEBSITE_URL_FIELD:"website-url-field",WEBSITE_URL_TOGGLE:"website-url-toggle"})}),null);
__d("LeadGenDataStatus",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ACTIVE:"ACTIVE",ARCHIVED:"ARCHIVED",DELETED:"DELETED",DRAFT:"DRAFT"})}),null);
__d("BootloadOnInteraction.react",["BootloadOnRender.react","React"],(function a(b,c,d,e,f,g){__p&&__p();var h,i;h=babelHelpers.inherits(j,c("React").Component);i=h&&h.prototype;function j(k){"use strict";i.constructor.call(this,k);this.$BootloadOnInteraction1=function(){this.setState({hadUserInteraction:true})}.bind(this);this.state={hadUserInteraction:false}}j.prototype.render=function(){"use strict";if(!this.state.hadUserInteraction)return c("React").cloneElement(this.props.placeholder,{onFocus:this.$BootloadOnInteraction1,onMouseOver:this.$BootloadOnInteraction1,onClick:this.$BootloadOnInteraction1});var k=this.props,l=k.loader,m=k.component,n=k.placeholder;return c("React").createElement(c("BootloadOnRender.react"),{placeholder:n,loader:l,component:m})};f.exports=j}),null);