if (self.CavalryLogger) { CavalryLogger.start_js(["ejrFr"]); } __d("AdsCFCampaignGroupBuyingTypeChangeDataActionFlux",[],(function(a,b,c,d,e,f){"use strict";e.exports={actionType:"ADS_CF.BUYING_TYPE_CHANGE"}}),null); __d("AdsUEditorCampaignGroupSetRegulatedCategoryActionFlux",[],(function(a,b,c,d,e,f){"use strict";e.exports={actionType:"ADS_CAMPAIGN_GROUP_EDITOR_SET_REGULATED_CATEGORY"}}),null); __d("AdsCanvasInstagramConstants",[],(function(a,b,c,d,e,f){"use strict";a={IG_COLLECTION_FALLBACK_TEMPLATE_ID:["1063217037112304","133471657203838"],IG_SUPPORTED_COLLECTION_TEMPLATE_ID:["1932289657009030","1063217037112304","133471657203838"],IG_COLLECTION_TEMPLATE_FIXED_BUTTON:{textColor:"#262626",fontSize:14,fontFamily:"SFUIText-Semibold",lineHeight:"1.1"}};e.exports=a}),null); __d("AdsSpinnerCover.react",["cx","FDSSpinner.react","React","joinClasses"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){var c=b("joinClasses")(a.className,"_2qei"+(a.show?" _2qej":"")+(a.background==="light"?" _7heh":"")+(a.background==="medium"?" _2qek":"")+(a.background==="dark"?" _2qel":""));a=a.show===!0?b("React").createElement("div",{className:"_2qer","data-testid":a.testID},b("React").createElement(b("FDSSpinner.react"),{shade:a.background==="medium"||a.background==="dark"?"light":"dark"})):null;return b("React").createElement("div",{className:c},a)};a.defaultProps={background:"light"};e.exports=a}),null); __d("adsEnvironmentSelectorCreator",["AdsInterfacesSessionConfig","AdsPerfScenarioUserConfig","CurrentUser","SiteData","UserAgentData","adsCreateSelector","adsCreateStoreSelector"],(function(a,b,c,d,e,f){"use strict";var g=b("adsCreateStoreSelector")([],function(){return null},e.id+".nullSelector");function a(a,c,d,f,h){return b("adsCreateSelector")([a,(a=c)!=null?a:g,(c=d)!=null?c:g,(a=f)!=null?a:g,(d=h)!=null?d:g],function(a,c,d,e,f){var g=a.tool;a=a.section;return{ad_account_id:c||"",browser_name:b("UserAgentData").browserName,browser_version:(c=b("UserAgentData").browserVersion)!=null?c:0,business_id:d||"",client_revision:b("SiteData").client_revision,current_country:b("AdsPerfScenarioUserConfig").currentCountry,is_regular_user:b("AdsPerfScenarioUserConfig").isRegularUser,js_push_phase:b("SiteData").push_phase,last_30d_spend:(c=e)!=null?c:0,pkg_cohort:b("SiteData").pkg_cohort,section:a||"",server_revision:b("SiteData").client_revision,session_id:b("AdsInterfacesSessionConfig").sessionID||"",tier:b("SiteData").tier,today_spend:(d=f)!=null?d:0,tool:g||"",user_id:b("CurrentUser").getID()}},{name:e.id})}e.exports=a}),null); __d("AdsLeadGenFormPreviewConstants",["fbt","AdsLeadGenConstants","AdsLeadGenFormFeatureToCapability"],(function(a,b,c,d,e,f,g){"use strict";a={FACEBOOK:"Facebook",INSTAGRAM:"Instagram",DESKTOP:"Desktop"};d=(c={},c[b("AdsLeadGenConstants").DATE_OF_BIRTH_QUESTION_KEY]=g._("Date of Birth Question"),c[b("AdsLeadGenFormFeatureToCapability").LEAD_AD_WITH_CANVAS]=g._("Canvas Context Card Format"),c[b("AdsLeadGenFormFeatureToCapability").LEAD_GEN_WITH_CONTEXT_CARD]=g._("Context Card"),c[b("AdsLeadGenFormFeatureToCapability").LEAD_AD_WITH_CUSTOM_DISCLAIMER]=g._("Custom Disclaimer"),c[b("AdsLeadGenFormFeatureToCapability").LEAD_AD_WITH_CUSTOM_DISCLAIMER_AND_OPTIONAL_CHECKBOX]=g._("Custom Disclaimer Optional Checkboxes"),c[b("AdsLeadGenFormFeatureToCapability").LEAD_AD_WITH_CONTEXT_CARD_PHOTO]=g._("Context Card Image"),c[b("AdsLeadGenFormFeatureToCapability").LEAD_AD_WITH_CUSTOMIZED_THANK_YOU_PAGE]=g._("Customized Thank You Page"),c[b("AdsLeadGenFormFeatureToCapability").LEAD_AD_WITH_IMPROVED_AD_UNIT]=g._("Higher Intent Form Type"),c[b("AdsLeadGenFormFeatureToCapability").LEAD_AD_WITH_STORE_LOOKUP]=g._("Store Lookup Question"),c[b("AdsLeadGenFormFeatureToCapability").LEAD_AD_WITH_STORE_LOOKUP_TYPEAHEAD]=g._("Store Lookup Typeahead Question"),c[b("AdsLeadGenFormFeatureToCapability").LEAD_AD_WITH_DATE_TIME_INPUT]=g._("Appointment Scheduling Question"),c);e.exports={PreviewEnum:a,capabilityToFeature:d}}),null); __d("AdsLeadGenPlacementUtils",["errorCode","errorDesc","AdsAPIAdgroupPaths","AdsAPIDevicePlatform","AdsError","AdsLeadGenConstants","AdsLeadGenFormPreviewConstants","AdsPlacementAPISpecReaderUtils","adsPlacementAPISpecReaderIsActivePublisherPlatform"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i=b("AdsLeadGenFormPreviewConstants").PreviewEnum,j={isInstagramActive:function(a){return b("adsPlacementAPISpecReaderIsActivePublisherPlatform")(a,"instagram")},isFacebookActive:function(a){return b("adsPlacementAPISpecReaderIsActivePublisherPlatform")(a,"facebook")},isDesktopPlatformActive:function(a){return b("AdsPlacementAPISpecReaderUtils").isActiveDevicePlatform(a,b("AdsAPIDevicePlatform").DESKTOP)},isMobilePlatformActive:function(a){return b("AdsPlacementAPISpecReaderUtils").isActiveDevicePlatform(a,b("AdsAPIDevicePlatform").MOBILE)},hasCanvasError:function(a){return j.isInstagramActive(a)||j.isFacebookActive(a)&&j.isDesktopPlatformActive(a)},hasStoreLookupError:function(a){return j.isInstagramActive(a)},hasStoreLookupTypeaheadError:function(a){return j.isInstagramActive(a)||j.isFacebookActive(a)&&j.isDesktopPlatformActive(a)},hasAppointmentSchedulingError:function(a){return j.isInstagramActive(a)||j.isFacebookActive(a)&&j.isDesktopPlatformActive(a)},hasQualityBundlePlacementNotice:function(a){return j.isInstagramActive(a)||j.isFacebookActive(a)&&j.isDesktopPlatformActive(a)},hasQualityBundlePlacementErrors:function(a){var c=b("AdsPlacementAPISpecReaderUtils").isOnlyActivePublisherPlatform(a,"instagram");a=b("AdsPlacementAPISpecReaderUtils").isOnlyActiveDevicePlatform(a,b("AdsAPIDevicePlatform").DESKTOP);return c||a},hasNPCPlacementErrors:function(a){var c=b("adsPlacementAPISpecReaderIsActivePublisherPlatform")(a,"facebook");a=b("AdsPlacementAPISpecReaderUtils").isActiveDevicePlatform(a,b("AdsAPIDevicePlatform").MOBILE);return!c||!a},getPreviewPlacements:function(a){var b=[];if(a&&a[0]){a=a[0];j.isFacebookActive(a)&&b.push(i.FACEBOOK);j.isInstagramActive(a)&&b.push(i.INSTAGRAM)}return b},hasDateofBirthQuestionError:function(a){return b("adsPlacementAPISpecReaderIsActivePublisherPlatform")(a,"instagram")},getQualityBundlePlacementErrors:function(a){return j.hasQualityBundlePlacementErrors(a)?[new(b("AdsError"))(1892136,h._(function(a,b){return a._("The current selected placement is not supported for Forms using 'Higher Intent' Form Type. Please update the placement or select a Form using 'More Volume' Form Type.")},{}),{level:b("AdsError").Level.WARN,path:b("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.LEAD_GEN_FORM_ID})]:[]},getNPCPlacementErrors:function(a){return j.hasQualityBundlePlacementErrors(a)?[new(b("AdsError"))(1892154,h._(function(a,b){return a._("The current selected placement is not supported for Instant Experience using a Form component. Please update the placement include Mobile Devices on Facebook Platform")},{}),{level:b("AdsError").Level.WARN,path:b("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.LEAD_GEN_FORM_ID})]:[]},getDateofBirthQuestionError:function(a){return j.hasDateofBirthQuestionError(a)?h._(function(a,b){return a._("Date of birth is not a supported form question on Instagram")},{}):""},getQuestionErrorMsg:function(a,c){switch(a.value){case b("AdsLeadGenConstants").DATE_OF_BIRTH_QUESTION_ID:return j.getDateofBirthQuestionError(c)}return""},getQuestionErrorMsgByLabel:function(a,c){switch(a.id){case b("AdsLeadGenConstants").DATE_OF_BIRTH_QUESTION_ID:return j.getDateofBirthQuestionError(c)}return""}};e.exports=j}),null); __d("AdsRasLearnMoreCategoryContentFBT",["fbt","AdsCertificationConstants","AdsRegulatedCategory","FDSLink.react","React","URI"],(function(a,b,c,d,e,f,g){__p&&__p();var h,i;c=(a={},a[b("AdsRegulatedCategory").HOUSING]=g._("Housing"),a[b("AdsRegulatedCategory").EMPLOYMENT]=g._("Employment"),a[b("AdsRegulatedCategory").CREDIT]=g._("Credit"),a[b("AdsRegulatedCategory").NONE]=g._("Housing"),a);d="https://www.facebook.com/policies/ads/prohibited_content/discriminatory_practices";a=(f={},f[b("AdsRegulatedCategory").HOUSING]=g._("Ads that promote or directly link to a housing opportunity or related service, including but not limited to listings for the sale or rental of a home or apartment, homeowners insurance, mortgage insurance, mortgage loans, housing repairs and home equity or appraisal services must comply with our {=Advertising Policies}.",[g._param("=Advertising Policies",b("React").createElement(b("FDSLink.react"),{href:new(b("URI"))(d),target:"_blank"},g._("Advertising Policies")))]),f[b("AdsRegulatedCategory").EMPLOYMENT]=g._("Ads that promote or directly link to an employment opportunity, including but not limited to part- or full-time jobs, internships or professional certification programs must comply with our {=Advertising Policies}.",[g._param("=Advertising Policies",b("React").createElement(b("FDSLink.react"),{href:new(b("URI"))(d),target:"_blank"},g._("Advertising Policies")))]),f[b("AdsRegulatedCategory").CREDIT]=g._("Ads that promote or directly link to a credit opportunity, including but not limited to credit card offers, auto loans, personal or business loan services, mortgage loans and long-term financing must comply with our {=Advertising Policies}.",[g._param("=Advertising Policies",b("React").createElement(b("FDSLink.react"),{href:new(b("URI"))(d),target:"_blank"},g._("Advertising Policies")))]),f[b("AdsRegulatedCategory").NONE]=null,f);f=(d={},d[b("AdsRegulatedCategory").HOUSING]=g._("Ads in this special category must not discriminate against people based on certain personal characteristics such as race, ethnicity, national origin, religion, age, sex, sexual orientation, gender identity, family\/marital status, disability or medical or genetic condition."),d[b("AdsRegulatedCategory").EMPLOYMENT]=g._("Ads in this special category must not discriminate against people based on certain personal characteristics such as race, ethnicity, national origin, religion, age, sex, sexual orientation, gender identity, family\/marital status, disability or medical or genetic condition."),d[b("AdsRegulatedCategory").CREDIT]=g._("Ads in this special category must not discriminate against people based on certain personal characteristics such as race, ethnicity, national origin, religion, age, sex, sexual orientation, gender identity, family\/marital status, disability or medical or genetic condition."),d[b("AdsRegulatedCategory").NONE]=null,d);d={HUD:g._("U.S. Department of Housing and Urban Development"),CFPU:g._("Consumer Financial Protection Bureau"),EEOC:g._("U.S. Equal Employment Opportunity Commission"),NFHA:g._("National Fair Housing Alliance")};h=(h={},h[b("AdsRegulatedCategory").HOUSING]=[{linkText:d.HUD,linkHref:b("AdsCertificationConstants").HUD_LINK},{linkText:d.NFHA,linkHref:b("AdsCertificationConstants").NFHA_LINK}],h[b("AdsRegulatedCategory").EMPLOYMENT]=[{linkText:d.EEOC,linkHref:b("AdsCertificationConstants").EEOC_LINK}],h[b("AdsRegulatedCategory").CREDIT]=[{linkText:d.CFPU,linkHref:b("AdsCertificationConstants").CFPU_LINK}],h[b("AdsRegulatedCategory").NONE]=[{linkText:d.HUD,linkHref:b("AdsCertificationConstants").HUD_LINK},{linkText:d.NFHA,linkHref:b("AdsCertificationConstants").NFHA_LINK}],h);var j=g._("Other Resources");b=(i={},i[b("AdsRegulatedCategory").HOUSING]=g._("U.S. federal, state and local laws in some locations prohibit discrimination in this special category. It's your responsibility to comply with relevant fair housing laws in your location and the location you're advertising to ensure your ads do not discriminate."),i[b("AdsRegulatedCategory").EMPLOYMENT]=g._("U.S. federal, state and local laws in some locations prohibit discrimination in this special category. It's your responsibility to comply with relevant laws in your location and the location you're advertising to ensure your ads do not discriminate."),i[b("AdsRegulatedCategory").CREDIT]=g._("U.S. federal, state and local laws in some locations prohibit discrimination in this special category. It's your responsibility to comply with relevant laws in your location and the location you're advertising to ensure your ads do not discriminate."),i[b("AdsRegulatedCategory").NONE]=g._("U.S. federal, state and local laws in some locations prohibit discrimination in this special category. It's your responsibility to comply with relevant laws in your location and the location you're advertising to ensure your ads do not discriminate."),i);e.exports={HEADER:c,SUMMARY_PART1:a,SUMMARY_PART2:f,EXTERNAL_LINK_DESCRIPTION:b,EXTERNAL_LINK_TEXT:d,EXTERNAL_LINK_HEADER:j,EXTERNAL_LINKS:h}}),null); __d("ShowreelVideoPlayer.react",["requireCond","cr:727747"],(function(a,b,c,d,e,f){"use strict";e.exports=b("cr:727747")}),null); __d("XShowreelFontsController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/ads/showreel/fonts/",{font_ids:{type:"EnumSet",required:!0,enumType:null}})}),null); __d("resolveShowreelFonts",["Promise","AsyncRequest","XShowreelFontsController"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){return new(b("Promise"))(function(c,d){try{var e=b("XShowreelFontsController").getURIBuilder().setEnumSet("font_ids",a).getURI();new(b("AsyncRequest"))().setURI(e).setHandler(function(a){a=a.getPayload();c(a)}).setErrorHandler(d).send()}catch(a){d(a)}})};e.exports=a}),null); __d("adsUEditorCampaignErrorsSelector",["adsCreateStoreSelector"],(function(a,b,c,d,e,f){"use strict";a=b("adsCreateStoreSelector")(function(a){a=a.campaignErrorsSelector;return a.getStores()},function(a){var b=a.campaignID;a=a.campaignErrorsSelector;return a(b)},e.id+".adsUEditorCampaignErrorsSelector");e.exports=a}),null); __d("adsUEditorCampaignErrorsForSelectedCampaignsSelector",["adsCreateSelector","adsCreateStoreSelector","adsUEditorCampaignErrorsSelector","adsUEditorSelectedCampaignIDsSelector","concatArrays"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=b("adsCreateStoreSelector")(function(a){return b("adsUEditorCampaignErrorsSelector").getStores(a)},function(a){return function(c){return b("adsUEditorCampaignErrorsSelector")(babelHelpers["extends"]({},a,{campaignID:c}))}},e.id+".getContextBoundErrorSelector");c=b("adsCreateSelector")([b("adsUEditorSelectedCampaignIDsSelector"),a],function(a,c){a=a.map(function(a){return c(a)});return b("concatArrays")(a)},{name:e.id+".adsUEditorCampaignErrorsForSelectedCampaignsSelector"});e.exports=c}),null); __d("adsUEditorCampaignPublishStatusSelector",["adsCreateStoreSelector"],(function(a,b,c,d,e,f){"use strict";a=b("adsCreateStoreSelector")(function(a){a=a.campaignPublishStatusSelector;return a.getStores()},function(a){a=a.campaignPublishStatusSelector;return a()},e.id+".adsUEditorCampaignPublishStatusSelector");e.exports=a}),null); __d("AdsUEditorCampaignBulkSelectors",["AdsUEditorSelectorUtils","adsCreateSelector","adsMemoizeByReference","adsMemoizeWithArgs","adsUEditorAdObjectsForSelectedCampaignsSelector","adsUEditorCampaignErrorsForSelectedCampaignsSelector","adsUEditorCampaignPublishStatusSelector","adsUEditorSelectedCampaignIDsSelector","adsUEditorSelectedCampaignsSelector","immutable","shallowArrayEqual"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){return b("adsCreateSelector")([b("adsUEditorCampaignErrorsForSelectedCampaignsSelector")],b("AdsUEditorSelectorUtils").memoizeBulkAggregation(function(c){return c.filter(function(c){return c.path&&b("shallowArrayEqual")(c.path,a)}).map(function(a){return a.message})}),{name:e.id})};c=b("adsMemoizeWithArgs")(a,function(a){return a.join(".")},e.id+".errorMessageSelectorByPath");d=b("adsCreateSelector")([b("adsUEditorSelectedCampaignIDsSelector"),b("adsUEditorCampaignPublishStatusSelector")],b("AdsUEditorSelectorUtils").memoizeBulkAggregation(function(a,b){return a.map(function(a){a=b.get(a);return a?a.isNew:!1})}),{name:e.id+".isObjectNew"});f=function(a,c){return b("adsCreateSelector")([b("adsUEditorSelectedCampaignsSelector")],b("AdsUEditorSelectorUtils").memoizeBulkAggregation(function(b){return b.map(function(b){return b.getIn(a)})},c),{name:e.id})};a=b("adsMemoizeWithArgs")(f,function(a,b){return(b?[].concat(a,[b.getKey()]):a).join(".")},"AdsUEditorCampaignBulkSelectors.selectorByPath");f=function(a,c){return b("adsCreateSelector")([b("adsUEditorSelectedCampaignsSelector")],b("AdsUEditorSelectorUtils").memoizeBulkAggregation(function(c){return c.map(function(c){c=c.getIn(a);var d=c!=null&&(c instanceof b("immutable").Iterable||c instanceof b("immutable").Record);return d?c.toJS():c})},c),{name:e.id})};f=b("adsMemoizeWithArgs")(f,function(a,b){return(b?[].concat(a,[b.getKey()]):a).join(".")},"AdsUEditorCampaignBulkSelectors.selectorByPathToJS");var g=function(a){return b("adsCreateSelector")([b("adsUEditorSelectedCampaignsSelector")],b("AdsUEditorSelectorUtils").memoizeBulkAggregation(function(b){return b.map(a)}),{name:e.id})},h=function(a){return b("adsCreateSelector")([b("adsUEditorAdObjectsForSelectedCampaignsSelector")],b("AdsUEditorSelectorUtils").memoizeBulkAggregation(function(b){return b.map(function(b){return a(b)})}),{name:e.id})};c={errorMessageSelectorByPath:c,isObjectNew:d,selectorByPath:a,selectorByPathToJS:f,selectorByCampaignFn:b("adsMemoizeByReference")(g,e.id),selectorByAdObjectsFn:b("adsMemoizeByReference")(h,e.id)};e.exports=c}),null); __d("AdsUEditorCampaignGroupSelectors",["adsCreateSelector","adsMemoizeByReference","adsUEditorSelectedCampaignGroupsSelector","immutable"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=function(a){return b("adsCreateSelector")([b("adsUEditorSelectedCampaignGroupsSelector")],function(b){return b.some(a)},{name:e.id})};a=function(a){return b("adsCreateSelector")([b("adsUEditorSelectedCampaignGroupsSelector")],function(b){return b.every(a)},{name:e.id})};c=function(a){return b("adsCreateSelector")([g(a)],function(a){return!a},{name:e.id})};d=function(a){return b("adsCreateSelector")([b("adsUEditorSelectedCampaignGroupsSelector")],function(b){return b.filter(a)},{name:e.id})};f=function(a){return b("adsCreateSelector")([b("adsUEditorSelectedCampaignGroupsSelector")],function(b){return b.map(a)},{name:e.id})};var h=function(a){return b("adsCreateSelector")([b("adsUEditorSelectedCampaignGroupsSelector")],function(c){return b("immutable").Map(c.map(function(b,c,d){return[b.id,a(b,c,d)]}))},{name:e.id})};e.exports={campaignGroups:{some:b("adsMemoizeByReference")(g,e.id),every:b("adsMemoizeByReference")(a,e.id),none:b("adsMemoizeByReference")(c,e.id),filter:b("adsMemoizeByReference")(d,e.id),map:b("adsMemoizeByReference")(f,e.id),mapTransform:b("adsMemoizeByReference")(h,e.id)}}}),null); __d("APIcon.react",["cx","invariant","React","joinClasses"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i=40,j=40;a=b("React").createElement("g",null,b("React").createElement("path",{d:"M 20 2 l 19 32 l -38 0 z",className:"_31vw"}),b("React").createElement("path",{d:"M 18 11 l 4 0 l -1 14 l -2 0 z",className:"_31v-"}),b("React").createElement("path",{d:"M 22 27 l 0 4 l -4 0 l 0 -4 z",className:"_31v-"}));var k={info:b("React").createElement("svg",{className:"_31v_",viewBox:"0, 0, 40, 40"},b("React").createElement("circle",{cx:20,cy:20,r:18,className:"_31vw"}),b("React").createElement("rect",{x:18,y:18,width:4,height:14,className:"_31v-"}),b("React").createElement("circle",{cx:20,cy:11,r:2.5,className:"_31v-"})),success:b("React").createElement("svg",{className:"_31w0",viewBox:"0, 0, 40, 40"},b("React").createElement("circle",{cx:20,cy:20,r:18,className:"_31vw"}),b("React").createElement("path",{d:"M 9 22 l 7 7 l 15 -15",fill:"none",className:"_31v-"})),error:b("React").createElement("svg",{className:"_31w1",viewBox:"0, 0, 40, 40"},a),warning:b("React").createElement("svg",{className:"_31w2",viewBox:"0, 0, 40, 40"},a),apLogo:b("React").createElement("svg",{className:"_48hp",viewBox:"0, 0, 40, 40"},b("React").createElement("circle",{cx:13,cy:14,r:11.5,strokeWidth:2.5,fill:"none"}),b("React").createElement("circle",{cx:27,cy:14,r:11.5,strokeWidth:2.5,fill:"none"}),b("React").createElement("circle",{cx:20,cy:26,r:11.5,strokeWidth:2.5,fill:"none"})),dataSet:b("React").createElement("svg",{className:"_48hq",viewBox:"0, 0, 40, 40"},b("React").createElement("circle",{cx:7,cy:6,r:4.7,stroke:"none"}),b("React").createElement("circle",{cx:20,cy:6,r:4.7,stroke:"none"}),b("React").createElement("circle",{cx:33,cy:6,r:4.7,stroke:"none"}),b("React").createElement("circle",{cx:13.5,cy:18,r:4.7,stroke:"none"}),b("React").createElement("circle",{cx:26.5,cy:18,r:4.7,stroke:"none"}),b("React").createElement("circle",{cx:20,cy:30,r:4.7,stroke:"none"})),add:b("React").createElement("svg",{className:"_5fkp",viewBox:"0, 0, 40, 40"},b("React").createElement("rect",{x:1,y:1,width:38,height:38,rx:4,ry:4}),b("React").createElement("line",{x1:20,y1:12,x2:20,y2:28}),b("React").createElement("line",{x1:12,y1:20,x2:28,y2:20})),remove:b("React").createElement("svg",{className:"_5fkp",viewBox:"0, 0, 40, 40"},b("React").createElement("rect",{x:1,y:1,width:38,height:38,rx:4,ry:4}),b("React").createElement("line",{x1:15,y1:15,x2:25,y2:25}),b("React").createElement("line",{x1:25,y1:15,x2:15,y2:25}))};c=function(a){var c=b("joinClasses")("_31w3"+(a.inverted&&a.inverted===!0?" _31w4":"")+(a.animation==="fadeIn"?" _31w5":"")+(a.animation==="bounceIn"?" _31w6":""),a.className),d=isNaN(a.width)?i:a.width,e=isNaN(a.height)?j:a.height;a=k[a.shape];a||h(0,4846);return b("React").createElement("div",{className:c,style:{width:d,height:e}},a)};e.exports=c}),null); __d("BUIText_DEPRECATED.react",["cx","BUIComponent","React","XUIText.react","joinClasses"],(function(a,b,c,d,e,f,g){__p&&__p();a=b("React").PropTypes;c=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a=this.props,c=a.size;a=babelHelpers.objectWithoutPropertiesLoose(a,["size"]);var d=(c==="xxlarge"?"_38i9":"")+(c==="xxxlarge"?" _38ia":"");(c==="xxlarge"||c==="xxxlarge")&&(c="inherit");return b("React").createElement(b("XUIText.react"),babelHelpers["extends"]({},a,{size:c,className:b("joinClasses")(this.props.className,d)}),this.props.children)};return c}(b("BUIComponent"));c.propTypes={size:a.oneOf(["small","medium","large","xlarge","xxlarge","xxxlarge","inherit"]),weight:a.oneOf(["bold","inherit","normal"]),display:a.oneOf(["inline","block"])};e.exports=c}),null); __d("BUIFormText.react",["cx","BUIComponent","BUIText_DEPRECATED.react","React","joinClasses"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){return b("React").createElement(b("BUIText_DEPRECATED.react"),babelHelpers["extends"]({},this.props,{className:b("joinClasses")(this.props.className,"_2l13")}))};return c}(b("BUIComponent"));a.propTypes=babelHelpers["extends"]({},b("BUIText_DEPRECATED.react").propTypes);e.exports=a}),null); __d("BUIFormTextInput.react",["invariant","BUIComponent","BUIForm.react","BUITextInput_DEPRECATED.react","React"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){__p&&__p();var a=this,c=this.props,d=c.density;c=babelHelpers.objectWithoutPropertiesLoose(c,["density"]);var e;switch(d){case"breathy":case"svelt":e="xtall";break;case"snug":e="tall";break;case"taut":e="short";break;default:g(0,4054,d)}return b("React").createElement(b("BUITextInput_DEPRECATED.react"),babelHelpers["extends"]({},c,{ref:function(b){a.$BUIFormTextInput1=b},height:e}))};d.focusInput=function(){this.$BUIFormTextInput1&&this.$BUIFormTextInput1.focusInput()};return c}(b("BUIComponent"));a.defaultProps={density:"taut"};a.propTypes=babelHelpers["extends"]({},b("BUITextInput_DEPRECATED.react").propTypes,{density:b("BUIForm.react").propTypes.density});e.exports=a}),null); __d("XUICheckboxList.react",["cx","InputLabel.react","React","ScrollableArea.react","XUICheckboxInput.react","joinClasses"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("React").PropTypes;c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;ge.length-1&&(d=e.length-1);return d}}});e.exports=c}),null); __d("PageComposerIDStore",["Arbiter","ReactComposerEvents","SubscriptionsHandler"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={_composerID:null,_subscriptions:b("SubscriptionsHandler"),set:function(a){this._subscriptions=new(b("SubscriptionsHandler"))(),this._composerID=a,this._subscribeComposerResetEvent()},get:function(){return!this._composerID?null:this._composerID},_subscribeComposerResetEvent:function(){var a=this;if(!this._composerID)return;var c=b("Arbiter").subscribeOnce(b("ReactComposerEvents").COMPOSER_RESET+this._composerID,function(b,c){c&&c.newComposerID&&(a._composerID=c.newComposerID,a._subscribeComposerResetEvent())});this._subscriptions.addSubscriptions(c)}};e.exports=a}),null); __d("XAdsPEController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/adsmanager/",{path:{type:"String"},_fb_noscript:{type:"Bool",defaultValue:!1},act:{type:"Int"},adgroup:{type:"FBID"},audiences:{type:"String"},business_id:{type:"FBID"},campaign:{type:"FBID"},campaign_group:{type:"FBID"},campaign_group_spec:{type:"String"},column_preset:{type:"String"},columns:{type:"String"},page:{type:"FBID"},targeting_spec:{type:"String"},tool:{type:"String"},uitest:{type:"String"},date:{type:"String"},filter_set:{type:"String"},is_split_test:{type:"Bool",defaultValue:!1},root_level:{type:"Enum",enumType:1},selected_ad_ids:{type:"String"},selected_adset_ids:{type:"String"},selected_campaign_ids:{type:"String"},sort:{type:"String"},nav_source:{type:"Enum",enumType:1},objective:{type:"String"},prefetch:{type:"Bool",defaultValue:!1},prefilled_adgroup_id:{type:"FBID"},optimization_goal:{type:"String"},launch_quick_creation:{type:"Bool",defaultValue:!1},replay_session_id:{type:"String"},replay_session_start_date:{type:"String"},replay_session_end_date:{type:"String"},launch_help_tray:{type:"Enum",enumType:1},ad_script_id:{type:"FBID"},qpl_console_logging:{type:"Int"},notif_id:{type:"Int"},notif_t:{type:"String"},redirect_context:{type:"String"}})}),null); __d("XProductsController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/products/",{business_id:{type:"FBID"},catalog_id:{type:"FBID"},catalog_segment_id:{type:"FBID"},page_id:{type:"String"},feed_id:{type:"FBID"},source_id:{type:"FBID"},pixel_id:{type:"FBID"},app_id:{type:"FBID"},nav_source:{type:"Enum",enumType:1},static_notice:{type:"Enum",enumType:1}})}),null); __d("ProductsSiteIdentifier.brands",["AdsAPIObjectives","AdsApplicationUtils","BizSiteIdentifier.brands","CommerceManagerUtils","ProductFeedConstants","URI","XAdsCMController","XAdsPEController","XDeveloperDocumentationController","XProductsController"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(){return new(b("URI"))(b("ProductFeedConstants").UPLOAD_PRODUCT_FEED_URI).setSecure(!0)}function c(a){var c=b("XProductsController").getURIBuilder();a&&c.setFBID("business_id",a);a=H();a&&c.setEnum("nav_source",a);return c.getURI()}function d(a){var c=b("BizSiteIdentifier.brands").createBusinessURL(b("XProductsController").getURIBuilder().getURI());c.setPath("/products/catalogs/"+a+"/events/sources");return c}function f(a,c,d){var e=b("BizSiteIdentifier.brands").createBusinessURL(b("XProductsController").getURIBuilder().getURI());e.setPath("/products/catalogs/"+a+"/events/sources/"+c);d&&e.setQueryData({eventType:d});return e}function g(a,c,d){c=c||"";a=new(b("URI"))("/products/catalogs/"+a+"/"+c);c=H();d=(d=d)!=null?d:{};c&&(d.nav_source=c);a.setQueryData(d);return a}function h(a){return g(a,"diagnostics")}function i(a){return g(a,"products")}function j(a){return g(a,"feeds")}function k(a){return g(a,"sets")}function l(a){return g(a,"sets",{layer:"createProductSet"})}function m(a){return g(a,"events")}function n(a){return g(a,"feeds/new")}function o(a,b){return g(a,"feeds/"+b+"/")}function p(a){return g(a)}function q(a){return g(a,"data_sources")}function r(a){return g(a,"settings")}function s(a,c){return b("BizSiteIdentifier.brands").createBusinessURL("/settings/product-catalogs/"+a,c)}function t(a,c,d){a=b("XAdsPEController").getURIBuilder().setString("campaign_group_spec",JSON.stringify({buying_type:a,objective:b("AdsAPIObjectives").PRODUCT_CATALOG_SALES})).setInt("act",c);d&&(a=a.setFBID("business_id",d));return a.getURI()}function u(a,c,d,e,f){f===void 0&&(f="manage/adsets/edit");return new(b("URI"))("/adsmanager/"+f+("?selected_campaign_ids="+c+"&")+("selected_adset_ids="+d+"&")+("selected_ad_ids="+e+"&")+("act="+a+"&prod=1"))}function v(a,c,d,e){d=d!=null?d:b("AdsAPIObjectives").PRODUCT_CATALOG_SALES;d=b("XAdsCMController").getURIBuilder().setEnum("page","creation").setString("objective",d).setEnum("tab","creation");a&&d.setInt("business_id",a);c&&d.setInt("act",c);e&&d.setInt("catalog_id",e);c=d.getURI();a&&(c=c.setSubdomain("business"));return c}function w(){return b("XDeveloperDocumentationController").getURIBuilder().setString("path1","marketing-api").setString("path2","dynamic-product-ads").setString("path3","product-catalog").getURI().setSubdomain("developers").setFragment("create-product-set")}function x(){return b("XDeveloperDocumentationController").getURIBuilder().setString("path1","marketing-api").setString("path2","dynamic-product-ads").setString("path3","product-catalog").getURI().setSubdomain("developers").setFragment("create-product-set")}function y(){return b("XDeveloperDocumentationController").getURIBuilder().setString("path1","marketing-api").setString("path2","dynamic-product-ads").setString("path3","product-catalog").getURI().setSubdomain("developers").setFragment("create-product-set")}function z(){return b("XDeveloperDocumentationController").getURIBuilder().setString("path1","marketing-api").setString("path2","dynamic-product-ads").setString("path3","product-catalog").getURI().setSubdomain("developers").setFragment("create-product-set")}function A(){return b("XDeveloperDocumentationController").getURIBuilder().setString("path1","marketing-api").setString("path2","dynamic-ads-for-travel").setString("path3","catalog").getURI().setSubdomain("developers").setFragment("create-destination-set")}function B(){return b("XDeveloperDocumentationController").getURIBuilder().setString("path1","marketing-api").setString("path2","dynamic-product-ads").setString("path3","product-catalog").getURI().setSubdomain("developers").setFragment("create-product-set")}function C(){return b("XDeveloperDocumentationController").getURIBuilder().setString("path1","marketing-api").setString("path2","dynamic-ads-for-travel").setString("path3","catalog").getURI().setSubdomain("developers").setFragment("create-flight-set")}function D(){return b("XDeveloperDocumentationController").getURIBuilder().setString("path1","marketing-api").setString("path2","dynamic-product-ads").setString("path3","product-catalog").getURI().setSubdomain("developers").setFragment("create-product-set")}function E(){return b("XDeveloperDocumentationController").getURIBuilder().setString("path1","marketing-api").setString("path2","dynamic-ads-for-travel").setString("path3","catalog").getURI().setSubdomain("developers").setFragment("create-hotel-set")}function F(){return b("XDeveloperDocumentationController").getURIBuilder().setString("path1","marketing-api").setString("path2","reference").setString("path3","product-feed-schedule").getURI().setSubdomain("developers")}function G(){return b("XDeveloperDocumentationController").getURIBuilder().setString("path1","marketing-api").setString("path2","dynamic-product-ads").setString("path3","product-catalog").getURI().setSubdomain("developers").setFragment("scheduled-product-feed-fetches")}function H(){__p&&__p();if(b("AdsApplicationUtils").isPowerEditor())return"power_editor";else if(b("AdsApplicationUtils").isCampaignManager())return"ads_manager";else if(b("AdsApplicationUtils").isDynamicInstantAds())return"dynamic_instant_ads";else if(b("CommerceManagerUtils").isCommerceManager())return"seller_hub";else{var a=b("URI").getRequestURI().getPath()==="/"&&b("URI").getRequestURI().getSubdomain()==="business",c=b("URI").getRequestURI().getPath()==="/settings/product-catalogs";return a||c?"business_manager":null}}function I(a,b){return"/adsmanager/creation?prod=1&objective=LINK_CLICKS&act="+a+"&app_referrer=catalog_manager&catalog_id="+b}e.exports={generateCollectionURL:I,getAddNewFeedUri:n,getAddNewProductSetUri:l,getAutomotiveModelSetDocumentationUri:y,getCatalogDataSourceUri:q,getCatalogSettingUri:s,getCatalogSetupScheduledFetchesDocumentationUri:G,getCatalogUri:p,getCreateFlowCatalogSalesCampaignUri:v,getDestinationSetDocumentationUri:A,getDiagnosticsUri:h,getFeedSchedulesDocumentationUri:F,getFeedUri:o,getFlightSetDocumentationUri:C,getHomeListingSetDocumentationUri:D,getHotelSetDocumentationUri:E,getMediaTitleSetDocumentationUri:z,getPowerEditorCreateCatalogCampaignUri:t,getPowerEditorDeepLinkedUri:u,getProductEventsUri:m,getProductFeedsUri:j,getProductSetDocumentationUri:B,getProductSetsUri:k,getProductsEventsSourceURI:f,getProductsEventsSourcesURI:d,getProductsHomeLandingPageUri:c,getProductsUri:i,getSettingsUri:r,getUploadUri:a,getVehicleOfferSetDocumentationUri:x,getVehicleSetDocumentationUri:w}}),null); __d("SUIModalConfirmButton.react",["fbt","React","SUIButton.react","SUIComponent"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){return b("React").createElement(b("SUIButton.react"),babelHelpers["extends"]({},this.props,{label:g._("Confirm"),layerAction:"confirm",use:"confirm"}))};return c}(b("SUIComponent"));a.defaultProps=b("SUIButton.react").defaultProps;e.exports=a}),null); /** * License: https://www.facebook.com/legal/license/v4UK-P_gtfA/ */ __d("color-picker-clamp",[],(function(a,b,c,d,e,f){function a(a,b,c){return ac?c:a}e.exports=a}),null); /** * License: https://www.facebook.com/legal/license/v4UK-P_gtfA/ */ __d("color-picker-draggable-mixin",["React","color-picker-clamp"],(function(a,b,c,d,e,f){__p&&__p();a=b("React");var g=b("color-picker-clamp");function h(){}c={propTypes:{onChange:a.PropTypes.func,max:a.PropTypes.number},getDefaultProps:function(){return{onChange:h,max:1}},getInitialState:function(){return{active:!1}},componentDidMount:function(){document.addEventListener("mousemove",this.handleUpdate),document.addEventListener("touchmove",this.handleUpdate),document.addEventListener("mouseup",this.stopUpdates),document.addEventListener("touchend",this.stopUpdates)},componentWillUnmount:function(){document.removeEventListener("mousemove",this.handleUpdate),document.removeEventListener("touchmove",this.handleUpdate),document.removeEventListener("mouseup",this.stopUpdates),document.removeEventListener("touchend",this.stopUpdates)},startUpdates:function(a){a=this.getPosition(a);this.setState({active:!0});this.updatePosition(a.x,a.y)},handleUpdate:function(a){if(this.state.active){a.preventDefault();a=this.getPosition(a);this.updatePosition(a.x,a.y)}},stopUpdates:function(){this.state.active&&this.setState({active:!1})},getPosition:function(a){a.touches&&(a=a.touches[0]);return{x:a.clientX,y:a.clientY}},getPercentageValue:function(a){return a/this.props.max*100+"%"},getScaledValue:function(a){return g(a,0,1)*this.props.max}};e.exports=c}),null); /** * License: https://www.facebook.com/legal/license/TN64DW1aWE6/ */ __d("color-picker-map",["cx","React","ReactDOM","ReactComponentWithPureRenderMixin","color-picker-draggable-mixin"],(function(a,b,c,d,e,f,g){__p&&__p();a=b("React").createClass({displayName:"Map",mixins:[b("color-picker-draggable-mixin"),b("ReactComponentWithPureRenderMixin")],propTypes:{x:b("React").PropTypes.number,y:b("React").PropTypes.number,backgroundColor:b("React").PropTypes.string},getDefaultProps:function(){return{x:0,y:0,backgroundColor:"transparent"}},updatePosition:function(a,c){var d=b("ReactDOM").findDOMNode(this).getBoundingClientRect();a=(a-d.left)/d.width;c=(d.bottom-c)/d.height;a=this.getScaledValue(a);c=this.getScaledValue(c);this.props.onChange(a,c)},render:function(){var a="map"+(this.state.active?" active":"");return b("React").createElement("div",{className:"_4uwo "+this.props.className+" "+a,onMouseDown:this.startUpdates,onTouchStart:this.startUpdates},b("React").createElement("div",{className:"background",style:{backgroundColor:this.props.backgroundColor}}),b("React").createElement("div",{className:"pointer",style:{left:this.getPercentageValue(this.props.x),bottom:this.getPercentageValue(this.props.y)}}))}});e.exports=a}),null); /** * License: https://www.facebook.com/legal/license/TN64DW1aWE6/ */ __d("color-picker-slider",["cx","React","ReactDOM","ReactComponentWithPureRenderMixin","color-picker-draggable-mixin"],(function(a,b,c,d,e,f,g){__p&&__p();a=b("React").createClass({displayName:"Slider",mixins:[b("color-picker-draggable-mixin"),b("ReactComponentWithPureRenderMixin")],propTypes:{vertical:b("React").PropTypes.bool.isRequired,value:b("React").PropTypes.number.isRequired},getDefaultProps:function(){return{value:0}},updatePosition:function(a,c){var d=b("ReactDOM").findDOMNode(this).getBoundingClientRect();this.props.vertical?c=(d.bottom-c)/d.height:c=(a-d.left)/d.width;c=this.getScaledValue(c);this.props.onChange(c)},getCss:function(){var a={},b=this.props.vertical?"bottom":"left";a[b]=this.getPercentageValue(this.props.value);return a},render:function(){var a="slider"+(this.props.vertical?" vertical":"")+(this.props.vertical?"":" horizontal");return b("React").createElement("div",{className:"_4_2w "+a,onMouseDown:this.startUpdates,onTouchStart:this.startUpdates},b("React").createElement("div",{className:"track"}),b("React").createElement("div",{className:"pointer",style:this.getCss()}))}});e.exports=a}),null); /** * License: https://www.facebook.com/legal/license/QYQNmh4x0KJ/ */ __d("color-picker",["cx","React","color-picker-map","color-picker-slider","colr","joinClasses"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c){__p&&__p();var d;d=a.call(this,c)||this;d.getStateFrom=function(a){a=b("colr").fromHex(a);return{hsv:a.toHsvObject()}};d.getLuminosity=function(){return b("colr").fromHsvObject(d.state.hsv).toGrayscale()/255};d.getBackgroundHue=function(){return b("colr").fromHsv(d.state.hsv.h,100,100).toHex()};d.handleHueChange=function(a){d.update({h:a,s:d.state.hsv.s,v:d.state.hsv.v})};d.handleSaturationValueChange=function(a,b){d.update({h:d.state.hsv.h,s:a,v:b})};d.update=function(a){var c=b("colr").fromHsvObject(a);d.props.onChange(c.toHex());d.setState({hsv:a})};d.state=d.getStateFrom(c.color);return d}var d=c.prototype;d.UNSAFE_componentWillReceiveProps=function(a){a=a.color;var c=b("colr").fromHsvObject(this.state.hsv).toHex();a.toLowerCase()!==c.toLowerCase()&&this.setState(this.getStateFrom(a))};d.render=function(){var a=this.getLuminosity(),c=this.getBackgroundHue();a=(a<=.5?"dark":"")+(a>.5?" light":"");return b("React").createElement("div",{className:b("joinClasses")(this.props.className,"_7anf")},b("React").createElement("div",{className:"_2ppf"},b("React").createElement(b("color-picker-slider"),{vertical:!0,value:this.state.hsv.h,max:360,onChange:this.handleHueChange})),b("React").createElement(b("color-picker-map"),{x:this.state.hsv.s,y:this.state.hsv.v,max:100,className:a,backgroundColor:c,onChange:this.handleSaturationValueChange}))};return c}(b("React").PureComponent);a.defaultProps={className:"",color:"#000000"};e.exports=a}),null); __d("compose",[],(function(a,b,c,d,e,f){function g(){for(var a=arguments.length,b=new Array(a),c=0;c