text: if (self.CavalryLogger) { CavalryLogger.start_js(["Ehbm\/"]); }
  
  __d("AdsPEImportExportConstants",[],(function(a,b,c,d,e,f){e.exports={Bid:{ABSOLUTE_OCPM:"multi absolute",CPC:"cpc",CPM:"cpm",CPA:"cpa",MULTI_PREMIUM:"multi",FIXED_CPM:"cpm fixed"},OS:{ALL:"All",IOS:"iOS",ANDROID:"Android",FEATURE_DEPRECATED:"feature_phones",FEATURE:"Feature_Phone",FB_CANVAS:"fb_canvas",WINDOWS:"Windows"},ObjectType:{OFFER:"Offer Page Post Ad",PHOTO:"Photo Page Post Ad",SHARE:"Link Page Post Ad",STATUS:"Status Page Post Ad",VIDEO:"Video Page Post Ad",PAGE:"Fan",DOMAIN:"Standard"},PlacementAssetCustomizationConstants:{DEFAULT_PLACEMENT_RULE:"Default"}}}),null);
  __d("AdsValidationConsts",[],(function(a,b,c,d,e,f){e.exports={maxAge:65,maxAdgroupNameLength:400,maxFriendlyNameLength:128,maxURLLength:1024,minAge:13,minAgeDefault:18,minMessagingDestinationAge:18,minLeadGenerationAge:18,nameMaxLength:400}}),null);
  __d("CustomAudienceDataSourceSubType",[],(function(a,b,c,d,e,f){e.exports={ANYTHING:"ANYTHING",NOTHING:"NOTHING",HASHES:"HASHES",USER_IDS:"USER_IDS",HASHES_OR_USER_IDS:"HASHES_OR_USER_IDS",MOBILE_ADVERTISER_IDS:"MOBILE_ADVERTISER_IDS",EXTERNAL_IDS:"EXTERNAL_IDS",MULTI_HASHES:"MULTI_HASHES",TOKENS:"TOKENS",EXTERNAL_IDS_MIX:"EXTERNAL_IDS_MIX",HOUSEHOLD_EXPANSION:"HOUSEHOLD_EXPANSION",WEB_PIXEL_HITS:"WEB_PIXEL_HITS",MOBILE_APP_EVENTS:"MOBILE_APP_EVENTS",MOBILE_APP_COMBINATION_EVENTS:"MOBILE_APP_COMBINATION_EVENTS",VIDEO_EVENTS:"VIDEO_EVENTS",WEB_PIXEL_COMBINATION_EVENTS:"WEB_PIXEL_COMBINATION_EVENTS",ENGAGEMENT_EVENTS:"ENGAGEMENT_EVENTS",OFFLINE_EVENTS:"OFFLINE_EVENTS",PUSH_NOTIFICATIONS:"PUSH_NOTIFICATIONS",PLATFORM:"PLATFORM",MULTI_DATA_EVENTS:"MULTI_DATA_EVENTS",IG_BUSINESS_EVENTS:"IG_BUSINESS_EVENTS",STORE_VISIT_EVENTS:"STORE_VISIT_EVENTS",INSTANT_ARTICLE_EVENTS:"INSTANT_ARTICLE_EVENTS",FB_EVENT_SIGNALS:"FB_EVENT_SIGNALS",ENGAGEMENT_EVENT_USERS:"ENGAGEMENT_EVENT_USERS",CUSTOM_AUDIENCE_USERS:"CUSTOM_AUDIENCE_USERS",PAGE_FANS:"PAGE_FANS",CONVERSION_PIXEL_HITS:"CONVERSION_PIXEL_HITS",APP_USERS:"APP_USERS",S_EXPR:"S_EXPR",DYNAMIC_RULE:"DYNAMIC_RULE",CAMPAIGN_CONVERSIONS:"CAMPAIGN_CONVERSIONS",WEB_PIXEL_HITS_CUSTOM_AUDIENCE_USERS:"WEB_PIXEL_HITS_CUSTOM_AUDIENCE_USERS",MOBILE_APP_CUSTOM_AUDIENCE_USERS:"MOBILE_APP_CUSTOM_AUDIENCE_USERS",COMBINATION_CUSTOM_AUDIENCE_USERS:"COMBINATION_CUSTOM_AUDIENCE_USERS",REV_SHARE_CUSTOM_AUDIENCE_USERS:"REV_SHARE_CUSTOM_AUDIENCE_USERS",INTEREST_ENGAGERS:"INTEREST_ENGAGERS",VIDEO_EVENT_USERS:"VIDEO_EVENT_USERS",DATA_SET_USERS:"DATA_SET_USERS",FB_PIXEL_HITS:"FB_PIXEL_HITS",IG_PROMOTED_POST:"IG_PROMOTED_POST",PLACE_VISITS:"PLACE_VISITS",OFFLINE_EVENT_USERS:"OFFLINE_EVENT_USERS",EXPANDED_AUDIENCE:"EXPANDED_AUDIENCE",SEED_LIST:"SEED_LIST",PARTNER_CATEGORY_USERS:"PARTNER_CATEGORY_USERS",PAGE_SMART_AUDIENCE:"PAGE_SMART_AUDIENCE",MULTICOUNTRY_COMBINATION:"MULTICOUNTRY_COMBINATION",PLATFORM_USERS:"PLATFORM_USERS",MULTI_EVENT_SOURCE:"MULTI_EVENT_SOURCE",SMART_AUDIENCE:"SMART_AUDIENCE",LOOKALIKE_PLATFORM:"LOOKALIKE_PLATFORM",MAIL_CHIMP_EMAIL_HASHES:"MAIL_CHIMP_EMAIL_HASHES",CONSTANT_CONTACTS_EMAIL_HASHES:"CONSTANT_CONTACTS_EMAIL_HASHES",COPY_PASTE_EMAIL_HASHES:"COPY_PASTE_EMAIL_HASHES",USER_PROPERTIES:"USER_PROPERTIES",CONTACT_IMPORTER:"CONTACT_IMPORTER",DATA_SET:"DATA_SET",STUDY_AUDIENCE:"STUDY_AUDIENCE",BAG_OF_ACCOUNTS:"BAG_OF_ACCOUNTS",STUDY_RULE_AUDIENCE:"STUDY_RULE_AUDIENCE",INSTANT_STUDY_AUDIENCE:"INSTANT_STUDY_AUDIENCE",DATA_FILE:"DATA_FILE",FBA_PEOPLE_INSIGHTS_APP:"FBA_PEOPLE_INSIGHTS_APP",FBA_PEOPLE_INSIGHTS_PAGE:"FBA_PEOPLE_INSIGHTS_PAGE",FBA_PEOPLE_INSIGHTS_IG:"FBA_PEOPLE_INSIGHTS_IG",FBA_PEOPLE_INSIGHTS_PIXEL:"FBA_PEOPLE_INSIGHTS_PIXEL",MEASUREMENT:"MEASUREMENT",ACTIONABLE_INSIGHTS:"ACTIONABLE_INSIGHTS"}}),null);
  __d("CustomAudienceDataSourceType",[],(function(a,b,c,d,e,f){e.exports={UNKNOWN:"UNKNOWN",FILE_IMPORTED:"FILE_IMPORTED",EVENT_BASED:"EVENT_BASED",SEED_BASED:"SEED_BASED",THIRD_PARTY_IMPORTED:"THIRD_PARTY_IMPORTED",COPY_PASTE:"COPY_PASTE",CLAIM_BASED:"CLAIM_BASED",CONTACT_IMPORTER:"CONTACT_IMPORTER",DATA_SET_IMPORTED:"DATA_SET_IMPORTED",STUDY_AUDIENCE:"STUDY_AUDIENCE",BAG_OF_ACCOUNTS:"BAG_OF_ACCOUNTS",STUDY_RULE_AUDIENCE:"STUDY_RULE_AUDIENCE",INSTANT_STUDY_AUDIENCE:"INSTANT_STUDY_AUDIENCE",HOUSEHOLD_AUDIENCE:"HOUSEHOLD_AUDIENCE",FBA_PEOPLE_INSIGHTS:"FBA_PEOPLE_INSIGHTS",ACTIONABLE_INSIGHTS:"ACTIONABLE_INSIGHTS",MEASUREMENT:"MEASUREMENT"}}),null);
  __d("LegacyImmutableObject",["invariant","isNode","mergeHelpers"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("mergeHelpers").checkMergeObjectArgs,i=b("mergeHelpers").isTerminal,j;function k(a){a instanceof j||g(0,3642)}j=function(a){Object.assign(this,a)},j.set=function(a,b){k(a);a=new j(a);Object.assign(a,b);return a};j.setField=function(a,b,c){var d={};d[b]=c;return j.set(a,d)};j.setDeep=function(a,b){k(a);return l(a,b)};function l(a,b){__p&&__p();h(a,b);var c={},d=Object.keys(a);for(var e=0;e<d.length;e++){var f=d[e];!Object.prototype.hasOwnProperty.call(b,f)?c[f]=a[f]:i(a[f])||i(b[f])?c[f]=b[f]:c[f]=l(a[f],b[f])}f=Object.keys(b);for(e=0;e<f.length;e++){d=f[e];if(Object.prototype.hasOwnProperty.call(a,d))continue;c[d]=b[d]}return a instanceof j||b instanceof j?new j(c):c}e.exports=j}),null);
  __d("AdsGenericFilter",["invariant","AdsGenericFilterFieldType","AdsGenericFilterOperator","LegacyImmutableObject","getObjectValues"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("getObjectValues")(b("AdsGenericFilterOperator"));var h={};c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(b,c,d,e,f){__p&&__p();e===void 0&&(e={});f===void 0&&(f=[]);var g=d;if(d==null||typeof d==="number"&&isNaN(d))throw new Error("invalid filter value");Array.isArray(d)&&d.length>1&&(d=d.slice(0),d.sort());f=f.map(function(a){return a==null?a:a.toLowerCase()});h.field=b;h.operator=c;h.value=g;h.extraRenderingProps=e;h.prefixes=f;h.key=JSON.stringify(f.concat(b.toString(),c,d));return a.call(this,h)||this}var d=c.prototype;d.getField=function(){return this.field};d.getOperator=function(){return this.operator};d.getValue=function(){return this.value};d.toString=function(){return this.key};d.toAPI=function(){return this.isComplete()?{field:this.prefixes.join("")+this.field.name,operator:this.operator,value:this.value}:null};d.isComplete=function(){switch(this.operator){case b("AdsGenericFilterOperator").IN:case b("AdsGenericFilterOperator").NOT_IN:case b("AdsGenericFilterOperator").ALL:case b("AdsGenericFilterOperator").ANY:return this.value.length!==0;case b("AdsGenericFilterOperator").IN_RANGE:case b("AdsGenericFilterOperator").NOT_IN_RANGE:return this.value.length===2;default:return this.value!==""}};return c}(b("LegacyImmutableObject"));e.exports=c}),null);
  __d("AdsGenericFilterField",["invariant","AdsGenericFilterFieldType","LegacyImmutableObject","getObjectValues"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h={};a=b("getObjectValues")(b("AdsGenericFilterFieldType"));c=function(a){__p&&__p();babelHelpers.inheritsLoose(b,a);function b(b,c,d){h.name=b;h.type=c;d?(h.level=d,h.key=b+"-"+c+"-"+d):(h.level=void 0,h.key=b+"-"+c);return a.call(this,h)||this}var c=b.prototype;c.toString=function(){return this.key};return b}(b("LegacyImmutableObject"));e.exports=c}),null);
  __d("AdsGenericFilterSet",["LegacyImmutableObject"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g={},h=[],i=";";a=function(a){__p&&__p();babelHelpers.inheritsLoose(b,a);function b(b){__p&&__p();var c,d=[];switch(b.length){case 0:throw Error("AdsGenericFilterSet contains no filter");case 1:d.push(b[0]);c=b[0].key;break;default:var e={};h.length=0;b.forEach(function(a){var b=a.key;b in e||(d.push(a),e[b]=!0,h.push(b))});h.sort();c=h.join(i)}g.values=d;g.key="("+c+")";return a.call(this,g)||this}var c=b.prototype;c.toString=function(){return this.key};c.toAPI=function(){var a=this.values,b=[];for(var c=0;c<a.length;c++){var d=a[c].toAPI();d!=null&&b.push(d)}return b};c.getCompleteFilters=function(){var a=this.values.filter(function(a){return a.isComplete()});return a.length?new this.constructor(a):void 0};c.getValues=function(){return this.values};return b}(b("LegacyImmutableObject"));e.exports=a}),null);
  __d("AdsCommonTargetingLatLonUtils",[],(function(a,b,c,d,e,f){"use strict";var g=/^\(-?\d+(\.\d+)?, -?\d+(\.\d+)?\)$/;function a(a){return g.test(a)}e.exports={isLatLonString:a}}),null);
  __d("AdsFlexibleTargetingConstants",["cssVar","fbt","ix","CurrentLocale","URI","deepFreezeValue","keyMirror","mapObject"],(function(a,b,c,d,e,f,g,h,i){"use strict";__p&&__p();a=b("keyMirror")({INCLUDE_ALL:null,INCLUDE_ANY:null,EXCLUDE_ANY:null});c=Object.freeze({FLEXIBLE_TARGETING_API:!0});d=b("keyMirror")({relationship_statuses:null,interested_in:null,education_statuses:null,college_years:null});f="detailed_targeting";g={interests:["Interests"],behaviors:["Behaviors"],user_adclusters:["More Categories","Partner Categories"],college_years:["Demographics","Education","Undergrad Years"],education_majors:["Demographics","Education","Fields of Study"],education_schools:["Demographics","Education","Schools"],education_statuses:["Demographics","Education","Education level"],ethnic_affinity:["Demographics","Multicultural Affinity"],family_statuses:["Demographics","Parents"],generation:["Demographics","Generation"],home_ownership:["Demographics","Home","Home Ownership"],home_type:["Demographics","Home","Home Type"],home_value:["Demographics","Home","Home Value"],household_composition:["Demographics","Home","Household Composition"],income:["Demographics","Financial","Income"],industries:["Demographics","Work","Industries"],interested_in:["Demographics","Relationship","Interested In"],life_events:["Demographics","Life Events"],moms:["Demographics","Parents","Moms"],net_worth:["Demographics","Financial","Net Worth"],office_type:["Demographics","Work","Office Type"],politics:["Demographics","Politics (US)"],relationship_statuses:["Demographics","Relationship","Relationship Status"],work_employers:["Demographics","Work","Employers"],work_positions:["Demographics","Work","Job Titles"],location_categories:["Places of Interest"],consumer_classification_brazil:["Behaviors","Consumer Classification","Brazil"]};var j={education_majors:!0,education_schools:!0,interests:!0,work_employers:!0,work_positions:!0},k={college_years:!0,education_statuses:!0,interested_in:!0,relationship_statuses:!0},l=b("mapObject")(g,function(){return!0}),m=[{type:a.INCLUDE_ANY,income:[{id:"6006371343132",name:"Over 125,000"}],behaviors:[{id:"6017831572183",name:"iPhone 6"}]},{type:a.EXCLUDE_ANY,interests:[{id:"6003167425934",name:"Shopping and fashion"}]}],n="FLEXIBLE_TARGETING_API",o=b("keyMirror")({INCLUDE_REPLACE:null}),p=h._("Interests"),q=h._("Additional Interests"),r=h._("Demographics"),s=h._("Education"),t=h._("Field of Study"),u=h._("Schools"),v=h._("Undergrad Years"),w=h._("Work"),x=h._("Employers"),y=h._("Job Titles");t={interests:[p,q],education_majors:[r,s,t],education_schools:[r,s,u],college_years:[r,s,v],work_employers:[r,w,x],work_positions:[r,w,y]};u=[p,q];s={ORIGIN_COLOR:"#FFFFFF",ANIMATION_COLOR:"rgba(88, 144, 255, 0.1)",DURATION:1e3};v=10;x=new Date().getFullYear();r={CURRENT:x,MIN_YEAR:1980,MAX_YEAR:x+4};w={DEMOGRAPHICS_IMG:i("22780"),INTERESTS_IMG:i("22781"),BEHAVIORS_IMG:i("22774"),CATEGORICAL_LOCATIONS_IMG:i("22774")};y=b("CurrentLocale").get();var z;y&&y.startsWith("en_")&&(z=i("22777"));p={INCLUDE:{position:"above",tips:h._("To refine your audience, you can use the links below to exclude people or narrow based on other details."),title:h._("INCLUDE"),text:h._("Adding more targeting details here will expand your audience to include more people.")},INCLUDE_ONLY:{position:"above",title:h._("INCLUDE"),text:h._("Adding more targeting details here will expand your audience to include more people.")},AND_INCLUDE:{position:"above",image:z,tips:h._("Adding the first option will decrease the size of your audience, and then each new option will increase the size from there."),title:h._("NARROW AUDIENCE"),text:h._("Choose new targeting details to refine your audience from the people included above.")},EXCLUDE:{position:"above",tips:h._("Each new option will decrease the size of your audience."),title:h._("EXCLUDE"),text:h._("Choose new details to exclude people from the audience included above.")}};q={ARRAY_TYPE_ENTRIES:d,CATEGORY_NUX_IMG:w,COLLEGE_YEAR_RANGE:r,COMPONENT_ID_FOR_LOGGING:f,DEFAULT_ITEM_EDITOR_WIDTH:430,DEFAULT_PATH:u,EDU_LINK_DISPLAY_INFO:p,EXPAND_WARNING_THRESHOLD:v,FLEXIBLE_API_BEHAVIORS:c,FLEXIBLE_TARGETING_API:n,FLEXIBLE_TARGETING_WARNING_MODE:o,ITEM_TYPE:a,MOCK_DATA:m,PRESENTER_ANIMATION:s,SPECIAL_PATHS:t,SUPPORT_TARGETING_TYPES:l,TARGETING_TYPE_TO_LABELS:g,TARGETING_TYPES_FROM_ENUM:k,TARGETING_TYPES_FROM_SEARCH:j,USE_ENUM_TYPES:!1,USE_WORK_EDU_SEARCH_TYPES:!1,PRIMARY_LABEL:h._("Detailed Targeting"),INCLUDE_HEADER:h._("INCLUDE people who match at least ONE of the following"),INCLUDE_HEADER_SIMPLIFIED:h._("Include people who match"),INCLUDE_AND_HEADER:h._("and MUST ALSO match at least ONE of the following"),INCLUDE_AND_HEADER_SIMPLIFIED:h._("and must also match"),EXCLUDE_HEADER:h._("EXCLUDE people who match at least ONE of the following"),EXCLUDE_HEADER_SIMPLIFIED:h._("Exclude people who match"),NUX_PAGE_HEADER:h._("Demographics, Interests and Behaviors"),NUX_PAGE_TEXT:h._("Now you can find all demographics, interests and behaviors in one place, then combine them in any way you want."),NUX_BUTTON_TEXT:h._("Get Started"),DEFINE_SUBSET_HEADER:h._("Only Include A Subset"),DEFINE_SUBSET_DETAIL:h._("From the people in the audience above, only include people who also meet specific criteria. For example, you can choose parents above, and then narrow your audience to only include the ones who buy pet supplies."),TYPEAHEAD_PLACEHOLDER:h._("Add demographics, interests or behaviors"),DETAILED_TARGETING_TOOLTIP:h._("Define your audience by including or excluding demographics, interests and behaviors."),DETAILED_TARGETING_TOOLTIP_DISABLE_EXCLUSION:h._("Define your audience by including demographics interests and behaviors."),OPT_OUT_DESCRIPTION:h._("This update lets you include and exclude demographics, interests and behaviors in any way you want. Switching back to the previous version will remove those options, so you can only combine targeting details within the same targeting types (ex: interests with interests or job titles with job titles)."),OPT_OUT_HEADER:h._("Switch to the Previous Version?"),OPT_OUT_CONFIRM_QUESTION:h._("Are you sure you want to switch back? You will need to download your account and refresh the view to update your targeting controls."),OPT_OUT_CONFIRM_BUTTON:h._("Switch Back"),NUX_PRESENTER_TEXT:h._("Adding more options here will make your audience bigger. To refine your audience, use the links below to exclude people or narrow based on other details."),NUX_PRESENTER_TITLE:h._("Tip"),LEARN_MORE_CMSID:"182371508761821",FLEXIBLE_TARGETING_NO_EDIT_INFO:h._("This ad set was created in a different interface using targeting options that are not available here. To edit your targeting, use the interface where you created this ad set."),FLEXIBLE_TARGETING_OPT_IN_STRING:h._("New detailed targeting controls let you include or exclude people based on any combination of demographics, interests and behaviors."),FLEXIBLE_TARGETING_OPT_IN_LINK:h._("Try it now."),EXCLUSION_TARGETING_MESSAGE:h._("You can exclude people to help refine your intended audience. When you choose to make exclusions, keep in mind that our Advertising Policies prohibit wrongful discrimination."),EXCLUSION_TARGETING_LEARN_MORE_URI:new(b("URI"))("/policies/ads/prohibited_content/discriminatory_practices")};b("deepFreezeValue")(q);e.exports=q}),null);
  __d("AdsMobileDeviceTypes",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({IPHONE:"iPhone",IPOD:"iPod",IPAD:"iPad",ANDROID_SMARTPHONE:"Android_Smartphone",ANDROID_TABLET:"Android_Tablet",DESKTOP_CANVAS:"Desktop_Canvas",AMAZON:"amazon"});e.exports=a}),null);
  __d("maybe",["invariant"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h={type:"none"},i={type:"some"};function a(a){return babelHelpers["extends"]({value:a},i)}function b(a){return a.type===i.type?a.value:null}function c(a){a.type===i.type||g(0,5020);return a.value}function d(a){return a.type===h.type}function f(a){return a.type===i.type}e.exports={isNone:d,isSome:f,None:h,Some:a,unwrap:b,unwrapEnforcing:c,wrap:a}}),null);
  __d("LocationConstants",["fbt","AdsAPIObjectives","AdsTargetingConstraints","AdsTargetingLocationConstants","CurrentLocale","SearchableEntry","getByPath","gkx","intlNumUtils","keyMirror","maybe"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h="km",i="kilometer",j="mi",k="mile",l=[1,3,5,10,15,20,25,50],m=[1,3,5,10,20,25,40,70],n=[0,10,25,50],o=[0,20,40,70],p=[1,3,5,10,15,25,30,40,50],q=[1,5,8,16,25,40,48,64,80],r=[0,10,15,20,25,30,40,50],s=[0,16,25,32,40,48,64,80],aa=10,ba=17,t=.63,u=1,ca=50,da=80,ea=25,fa=40,ga=10,ha=16,ia=1,ja=2,ka=1e3,la=5,ma=8,na=b("AdsTargetingConstraints").MAX_COUNTRIES,oa=200,pa=2500,qa=250,v=2500,ra=200,sa=200,ta=5e4,w=0,x=1,y=2,z=3,A=3,B=6,C=8,D=11,ua="COORDINATES_UNAVAILABLE",va="worldwide",E,F={getSupportedRadii:function(a,b){b=b||this.getLocalizedUnit();return a===$.LA_RADIUS_TYPE?b===k?l:m:b===k?n:o},getLocalizedUnit:function(){if(E)return E;else if(b("CurrentLocale").get()=="en_US")return k;else return i},getLocalizedUnitFbt:function(a){return(a||F.getLocalizedUnit())===k?g._("mi"):g._("km")},getCityMinRadius:function(a){a=a||this.getLocalizedUnit();return a===k?aa:ba},getAddressMinRadius:function(a){a=a||this.getLocalizedUnit();return a===k?t:u},getMinRadius:function(a,b){return a===$.CITIES||a===$.CUSTOM_LOCATIONS||a===$.PLACES?a===$.CITIES?F.getCityMinRadius(b):F.getAddressMinRadius(b):0},getMaxRadius:function(a){a=a||this.getLocalizedUnit();return a===k?ca:da},getCityDefaultRadius:function(a){a=a||this.getLocalizedUnit();return a===k?ea:fa},getAddressDefaultRadius:function(a){a=a||this.getLocalizedUnit();return a===k?ga:ha},getPlaceDefaultRadius:function(a){a=a||this.getLocalizedUnit();return a===k?ia:ja},getLocationSetDefaultRadius:function(a){a=a||this.getLocalizedUnit();return a===k?$.DEFAULT_DISTANCE_MILES:$.DEFAULT_DISTANCE_KM},getSupportedRadiiByLocationType:function(a,b,c){a=F.getSupportedRadii(a,c);var d=F.getMinRadius(b),e=F.getMaxRadius();return a.filter(function(a){return a>=d&&a<=e})},getBulkInputRadiusOptions:function(a){if(a===$.CITIES)return this.getLocalizedUnit()===k?r:s;else if(a===$.CUSTOM_LOCATIONS)return this.getLocalizedUnit()===k?p:q;return[]},getDefaultRadius:function(a){switch(a){case $.CITIES:return this.getCityDefaultRadius();case $.PLACES:return this.getPlaceDefaultRadius();case $.CUSTOM_LOCATIONS:return this.getAddressDefaultRadius();default:return 0}},setLocalizedUnit:function(a){E=a},unsetLocalizedUnit:function(){E=null},MENU_ITEMS:b("keyMirror")({CURRENT_CITY:null,CITIES_IN_RADIUS:null,RADIUS_INPUT:null,SEPARATOR:null})},wa={getMinPopulationForCountry:function(){return b("AdsTargetingLocationConstants").minPopulationThresholdForCountries},getMinPopulationForCountryGroup:function(){return b("AdsTargetingLocationConstants").minPopulationThresholdForCountryGroups},getMaxPopulation:function(){return b("AdsTargetingLocationConstants").maxPopulationThreshold},getPopulationRangesForCountry:function(){var a=this;return b("AdsTargetingLocationConstants").populationRanges.filter(function(b){return b>=a.getMinPopulationForCountry()&&b<=a.getMaxPopulation()}).slice()},getPopulationRangesForCountryGroup:function(){var a=this;return b("AdsTargetingLocationConstants").populationRanges.filter(function(b){return b>=a.getMinPopulationForCountryGroup()&&b<=a.getMaxPopulation()}).slice()},getMaxPopulationFormat:function(){return g._("3 million+")},getFormattedPopulation:function(a){if(a===this.getMaxPopulation())return this.getMaxPopulationFormat();else if(a%1e6==0)return g._({"*":"{population count} million"},[g._param("population count",a/1e6,[0,a/1e6])]);return g._({"*":"{population count}"},[g._param("population count",b("intlNumUtils").formatNumberWithThousandDelimiters(a,0),[0,a])])},MENU_ITEMS:b("keyMirror")({POPULATION_INPUT:null})};function a(a){if(!a||a<A)return w;if(a<B)return x;return a<C?y:z}function c(a){switch(a){case w:return 1;case x:return A+1;case y:return B+1;case z:return C+1;default:return D+1}}function d(a){switch(a){case"page":return 1;case"country":return A+1;case"region":return B+1;case"city":return C+1;case"location":default:return D+1}}function f(a){if(!a||a<A)return A+1;if(a<B)return B+1;if(a<C)return C+1;return a<D?D+1:a+2}function xa(a){__p&&__p();switch(a){case $.COUNTRIES:return na;case $.CITIES:return qa;case $.REGIONS:return oa;case $.GEO_MARKETS:return pa;case $.ZIPS:if(b("gkx")("678710"))return v*1e3;else return v;case $.CUSTOM_LOCATIONS:return ra;case $.PLACES:return sa;case $.LOCATION_CLUSTER_IDS:return ta;default:return 0}}function ya(a){$.DEFAULT_LOCATION_TYPES=a}function za(a){__p&&__p();switch(a){case $.COUNTRY_GROUP:return $.COUNTRY_GROUPS;case $.COUNTRY:return $.COUNTRIES;case $.CITY:return $.CITIES;case $.REGION:return $.REGIONS;case $.GEO_MARKET:return $.GEO_MARKETS;case $.LARGE_GEO_AREA:return $.LARGE_GEO_AREAS;case $.MEDIUM_GEO_AREA:return $.MEDIUM_GEO_AREAS;case $.SMALL_GEO_AREA:return $.SMALL_GEO_AREAS;case $.METRO_AREA:return $.METRO_AREAS;case $.SUBCITY:return $.SUBCITIES;case $.NEIGHBORHOOD:return $.NEIGHBORHOODS;case $.SUBNEIGHBORHOOD:return $.SUBNEIGHBORHOODS;case $.LOCATION_CLUSTER_ID:return $.LOCATION_CLUSTER_IDS;case $.ELECTORAL_DISTRICT:return $.ELECTORAL_DISTRICTS;case $.POLITICAL_DISTRICT:return $.POLITICAL_DISTRICTS;case $.ZIP:return $.ZIPS;case $.CUSTOM_LOCATION:return $.CUSTOM_LOCATIONS;case $.PLACE:return $.PLACES;case $.COUNTRY_GROUPS:case $.COUNTRIES:case $.CITIES:case $.REGIONS:case $.GEO_MARKETS:case $.LARGE_GEO_AREAS:case $.MEDIUM_GEO_AREAS:case $.SMALL_GEO_AREAS:case $.METRO_AREAS:case $.SUBCITIES:case $.NEIGHBORHOODS:case $.SUBNEIGHBORHOODS:case $.ELECTORAL_DISTRICTS:case $.POLITICAL_DISTRICTS:case $.ZIPS:case $.CUSTOM_LOCATIONS:case $.LOCATION_CLUSTER_IDS:case $.PLACES:return a;default:return $.UNKNOWN}}function Aa(a){__p&&__p();switch(a){case $.COUNTRY_GROUPS:return $.COUNTRY_GROUP;case $.COUNTRIES:return $.COUNTRY;case $.CITIES:return $.CITY;case $.REGIONS:return $.REGION;case $.GEO_MARKETS:return $.GEO_MARKET;case $.LARGE_GEO_AREAS:return $.LARGE_GEO_AREA;case $.MEDIUM_GEO_AREAS:return $.MEDIUM_GEO_AREA;case $.SMALL_GEO_AREAS:return $.SMALL_GEO_AREA;case $.METRO_AREAS:return $.METRO_AREA;case $.SUBCITIES:return $.SUBCITY;case $.NEIGHBORHOODS:return $.NEIGHBORHOOD;case $.SUBNEIGHBORHOODS:return $.SUBNEIGHBORHOOD;case $.ELECTORAL_DISTRICTS:return $.ELECTORAL_DISTRICT;case $.POLITICAL_DISTRICTS:return $.POLITICAL_DISTRICT;case $.ZIPS:return $.ZIP;case $.CUSTOM_LOCATIONS:return $.CUSTOM_LOCATION;case $.LOCATION_CLUSTER_ID:return $.LOCATION_CLUSTER_ID;case $.PLACES:return $.PLACE;case $.COUNTRY_GROUP:case $.COUNTRY:case $.CITY:case $.REGION:case $.GEO_MARKET:case $.LARGE_GEO_AREA:case $.MEDIUM_GEO_AREA:case $.SMALL_GEO_AREA:case $.METRO_AREA:case $.SUBCITY:case $.NEIGHBORHOOD:case $.SUBNEIGHBORHOOD:case $.ELECTORAL_DISTRICT:case $.POLITICAL_DISTRICT:case $.ZIP:case $.CUSTOM_LOCATION:case $.PLACE:return a;default:return $.UNKNOWN}}function Ba(){return{country_groups:[],countries:[],regions:[],geo_markets:[],cities:[],electoral_districts:[],political_districts:[],zips:[],custom_locations:[],places:[],large_geo_areas:[],medium_geo_areas:[],small_geo_areas:[],metro_areas:[],subcities:[],neighborhoods:[],subneighborhoods:[],location_cluster_ids:[]}}function Ca(){return $.DEFAULT_LOCATION_TYPES}function Da(a){return b("getByPath")(a,[$.CUSTOM_LOCATIONS,"0","distance_unit"],F.getLocalizedUnit())}function Ea(){var a=[b("AdsAPIObjectives").APP_INSTALLS,b("AdsAPIObjectives").MOBILE_APP_ENGAGEMENT,b("AdsAPIObjectives").MOBILE_APP_INSTALLS,b("AdsAPIObjectives").CONVERSIONS,b("AdsAPIObjectives").PRODUCT_CATALOG_SALES];return a}var G="country_groups",H="countries",I="regions",J="geo_markets",K="cities",L="electoral_districts",M="political_districts",N="zips",O="custom_locations",P="places",Q="large_geo_areas",R="medium_geo_areas",S="small_geo_areas",T="metro_areas",U="subcities",V="neighborhoods",W="subneighborhoods",X="location_cluster_ids",Y=[G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X],Fa=Y.concat(["location_types","location_expansion"]),Ga={AGGREGATION_RADIUS:10,LARGE_CLUSTER_THRESHOLD:1e3,MEDIUM_CLUSTER_THRESHOLD:500,SMALL_CLUSTER_THRESHOLD:100,MAX_LOCATIONS_SIZE:1e3,MIN_ZOOM_LEVEL_FOR_FILTERING:3},Z="__NO_RESULTS_FOUND__",$={Aggregation:Ga,LOCATION_EXPANSION:"location_expansion",COUNTRY_GROUP:"country_group",COUNTRY_GROUPS:G,COUNTRY:"country",COUNTRIES:H,CUSTOM_LOCATION:"custom_location",CUSTOM_LOCATIONS:O,DMA:"DMA",GEO_MARKET:"geo_market",GEO_MARKETS:J,REGION:"region",REGIONS:I,CITY:"city",CITIES:K,ELECTORAL_DISTRICT:"electoral_district",ELECTORAL_DISTRICTS:L,POLITICAL_DISTRICT:"political_district",POLITICAL_DISTRICTS:M,ZIP:"zip",ZIPS:N,LARGE_GEO_AREA:"large_geo_area",LARGE_GEO_AREAS:Q,MEDIUM_GEO_AREA:"medium_geo_area",MEDIUM_GEO_AREAS:R,SMALL_GEO_AREA:"small_geo_area",SMALL_GEO_AREAS:S,METRO_AREA:"metro_area",METRO_AREAS:T,SUBCITY:"subcity",SUBCITIES:U,NEIGHBORHOOD:"neighborhood",NEIGHBORHOODS:V,SUBNEIGHBORHOOD:"subneighborhood",SUBNEIGHBORHOODS:W,PLACE:"place",PLACES:P,LOCATION_CLUSTER_ID:"location_cluster_id",LOCATION_CLUSTER_IDS:X,LA_RADIUS_TYPE:"LA_RADIUS_TYPE",CUSTOM_TYPE_MULTI_CITY:"multi_city",locationTypes:Y,locationTypesWithSource:Fa,UNKNOWN:"unknown",RadiusInfo:F,MultiCityPopulationInfo:wa,SAVED_LOCATIONS:"saved_locations",MAX_SAVED_LOCATIONS_ALLOWED:b("AdsTargetingLocationConstants").maxSavedLocationsAllowed,KILOMETER_SYMBOL:h,KILOMETER_UNIT:i,MILE_SYMBOL:j,MILE_UNIT:k,BULK_INPUT_ADDRESS_RADIUS_MILES:p,BULK_INPUT_ADDRESS_RADIUS_KILOMETERS:q,BULK_INPUT_CITY_RADIUS_MILES:r,BULK_INPUT_CITY_RADIUS_KILOMETERS:s,STORE_VISITS_MIN_AUDIENCE:ka,STORE_VISITS_MIN_RADIUS_MILE:la,STORE_VISITS_MIN_RADIUS_KILOMETER:ma,ADDRESS_MIN_RADIUS_MILE:t,ADDRESS_MIN_RADIUS_KILOMETER:u,COUNTRY_TREE_LEVEL:w,REGION_TREE_LEVEL:x,CITY_TREE_LEVEL:y,LOCATION_TREE_LEVEL:z,TYPE_ALL:"home,recent",TYPE_HOME:"home",TYPE_RECENT:"recent",TYPE_TRAVELING:"travel_in",DEFAULT_AUDIENCE_SIZE:"500000",DEFAULT_DISTANCE_KM:"18",DEFAULT_DISTANCE_MILES:"11",MAX_MILES_DISTANCE_SIZE:50,DEFAULT_LOCATION_TYPES:["home","recent"],DEFAULT_EXCLUSION_LOCATION_TYPES:["home"],DEFAULT_DYNAMIC_LOCAL_AWARENESS_LOCATION_TYPES:["recent"],getDynamicLocalAwarenessDefaultLocationTypes:Ca,setDefaultLocationTypes:ya,getPluralLocationType:za,getSingularLocationType:Aa,getEmptyLocations:Ba,getLocationDistanceUnit:Da,getMaxTargetLocationsCount:xa,getTreeDepthForZoomLevel:a,getZoomLevelForTreeDepth:c,getZoomLevelForLocationType:d,getNextZoomRangeStart:f,getAllowedObjectivesForGlobalTargeting:Ea,CLEAR_WARNING:"clear_warning",INCLUDE:"include",EXCLUDE:"exclude",WORLDWIDE:va,MAX_COUNTRIES:b("AdsTargetingConstraints").MAX_COUNTRIES,MAP_DEFAULT_HEIGHT:230,COUNTRIES_WITH_ZIP_TARGETING:b("AdsTargetingLocationConstants").CountriesWithPostalCodeTargeting,REPORT_OPTIONS:b("keyMirror")({SHAPE_WRONG:null,SHAPE_MISSING:null,NAME_WRONG:null,OTHER:null}),LIST_ITEM_STATE:b("keyMirror")({MENU:null,HIDE:null,REPORT:null,COMPLETE:null}),NOTICE_TYPES:b("keyMirror")({hasDropPinFailed:null,hasNoInclusion:null,hasNoPolygon:null,hasTooManyLocations:null,hasTooManyCountriesForMap:null,hasDuplicates:null,hasTooManyCountries:null,hasReplacedLocations:null,hasInvalidExclude:null,hasValidLocations:null,hasInvalidLocationNames:null,hasSuggestedLocation:null,isSavedLocationCreated:null,isSavedLocationDeleted:null,isSavedLocationUpdated:null,isSavedLocationDeletedFailed:null,hasSavedLocationLoadFailed:null}),BULK_INPUT_VIEW_STATE:b("keyMirror")({INPUT_VIEW:null,HIDE_VIEW:null,VALIDATING_VIEW:null,REVIEW_VIEW:null,UPDATING_SAVED_LOCATION:null,LOADING_LOCATION_CLUSTER_VIEW:null,LOCATION_CLUSTER_CREATION_ERROR_VIEW:null}),SAVED_LOCATION_VIEW_STATE:b("keyMirror")({NAME_INPUT_VIEW:null,NAME_SAVING_VIEW:null,DELETE_VIEW:null,DELETE_SPINNER_VIEW:null,HIDE_VIEW:null}),BULK_INPUT_FORMAT_STATE:b("keyMirror")({CORRECT:null,ERROR_EXCEED_MAX_LOCATIONS:null}),BULK_INUT_REVIEW_TABLE_KEY:b("keyMirror")({TOTAL:null,VALID:null,INVALID:null}),BULK_INUT_GEO_MARKET_INPUT_FORMAT:b("keyMirror")({CODE:null,NAME:null}),BULK_INUT_ROW_DATA_KEYS:["valid","key","name","primary_city","region","country_name"],BULK_INPUT_DOWNLOAD_OPTIONS:b("keyMirror")({ALL:null,MATCHED:null,UNMATCHED:null}),BULK_INUT_ROW_DATA_KEY_INDEX_MAP:{},SUGGESTED_COUNTRY_GROUPS_KEYS:["asia","africa","europe","north_america","south_america","oceania","caribbean","central_america","worldwide"],SUGGEST_LOCATION_COUNTRIES_THRESHOLD:b("AdsTargetingLocationConstants").SuggestRegionsCountryThreshold,SUGGEST_MULTI_CITY_LOCATIONS_COUNTRIES:3,SUGGEST_MULTI_CITY_LOCATIONS_COUNTRY_GROUPS:5,LOCATION_COORDINATES_UNAVAILABLE:ua,LOCATION_TYPES_SUPPORTED_FOR_SAVED_LOCATIONS:new Set(),NO_RESULTS_ID:Z,NO_RESULTS_ENTRY:new(b("SearchableEntry"))({title:g._("No Locations Found"),uniqueID:Z,auxiliaryData:b("maybe").None})};$.BULK_INUT_ROW_DATA_KEYS.forEach(function(a,b){$.BULK_INUT_ROW_DATA_KEY_INDEX_MAP[a]=b});$.LOCATION_TYPES_SUPPORTED_FOR_SAVED_LOCATIONS=new Set(["countries","regions","cities","zips","geo_markets","custom_locations"]);e.exports=$}),null);
  __d("adsTargetingLocationGetKeyFromCoordinates",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return"("+a+", "+b+")"}e.exports=a}),null);
  __d("adsTargetingLocationGetMultiCityCustomLocationKey",[],(function(a,b,c,d,e,f){"use strict";function a(a){return a.country||a.country_group||a.key}e.exports=a}),null);
  __d("adsTargetingLocationIsMultiCityCustomLocation",["LocationConstants"],(function(a,b,c,d,e,f){"use strict";function a(a){return a.custom_type===b("LocationConstants").CUSTOM_TYPE_MULTI_CITY}e.exports=a}),null);
  __d("adsTargetingLocationGetCustomLocationKey",["adsTargetingLocationGetKeyFromCoordinates","adsTargetingLocationGetMultiCityCustomLocationKey","adsTargetingLocationIsMultiCityCustomLocation"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(a){if(b("adsTargetingLocationIsMultiCityCustomLocation")(a))return b("adsTargetingLocationGetMultiCityCustomLocationKey")(a);else if(!isNaN(a.latitude)&&!isNaN(a.longitude)){var c=b("adsTargetingLocationGetKeyFromCoordinates")(a.latitude,a.longitude);return a.address_string?a.address_string+" "+c:c}else return a.address_string}e.exports=a}),null);
  __d("AdsTargetingLocationDataTransformer",["invariant","LocationConstants","SearchableEntry","adsTargetingLocationGetCustomLocationKey","adsTargetingLocationGetKeyFromCoordinates","flattenArray","requireCond","cr:902520"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();b("cr:902520");var h=b("LocationConstants").RadiusInfo;function a(a){return new(b("SearchableEntry"))({uniqueID:a.key,title:a.name,type:a.type,auxiliaryData:a})}function c(a,c){var d=b("LocationConstants").getEmptyLocations();a.filter(function(a){return d[a.getType()]}).forEach(function(a){d[a.getType()].push(i(a.getAuxiliaryData()||{},!1,c))});return d}function i(a,c,d){__p&&__p();var e={key:a.key,name:a.name,type:a.type};d=d?d(a.type):a.radius;switch(a.type){case b("LocationConstants").COUNTRY_GROUPS:return babelHelpers["extends"]({country_codes:a.country_codes,is_worldwide:a.is_worldwide},e);case b("LocationConstants").COUNTRIES:return c?e:a.key;case b("LocationConstants").REGIONS:return babelHelpers["extends"]({country:a.country_code,country_name:a.country_name},e);case b("LocationConstants").CITIES:c=babelHelpers["extends"]({country:a.country_code,country_name:a.country_name,radius:d||h.getCityDefaultRadius(),distance_unit:h.getLocalizedUnit()},e);a.region_id&&(c.region_id=String(a.region_id),c.region=a.region);return c;case b("LocationConstants").GEO_MARKETS:return babelHelpers["extends"]({country:a.country_code,country_name:a.country_name},e);case b("LocationConstants").ELECTORAL_DISTRICTS:return babelHelpers["extends"]({region_id:String(a.region_id),region:a.region,country:a.country_code,country_name:a.country_name},e);case b("LocationConstants").LOCATION_CLUSTER_IDS:return babelHelpers["extends"]({},e);case b("LocationConstants").LARGE_GEO_AREAS:return babelHelpers["extends"]({region_id:String(a.region_id),region:a.region,country:a.country_code,country_name:a.country_name},e);case b("LocationConstants").MEDIUM_GEO_AREAS:return babelHelpers["extends"]({region_id:String(a.region_id),region:a.region,country:a.country_code,country_name:a.country_name},e);case b("LocationConstants").SMALL_GEO_AREAS:return babelHelpers["extends"]({region_id:String(a.region_id),region:a.region,country:a.country_code,country_name:a.country_name},e);case b("LocationConstants").METRO_AREAS:return babelHelpers["extends"]({region_id:String(a.region_id),region:a.region,country:a.country_code,country_name:a.country_name},e);case b("LocationConstants").SUBCITIES:return babelHelpers["extends"]({region_id:String(a.region_id),region:a.region,country:a.country_code,country_name:a.country_name,city:a.city,city_id:String(a.city_id)},e);case b("LocationConstants").NEIGHBORHOODS:return babelHelpers["extends"]({region_id:String(a.region_id),region:a.region,country:a.country_code,country_name:a.country_name,city:a.city,city_id:String(a.city_id)},e);case b("LocationConstants").SUBNEIGHBORHOODS:return babelHelpers["extends"]({region_id:String(a.region_id),region:a.region,country:a.country_code,country_name:a.country_name,city:a.city,city_id:String(a.city_id)},e);case b("LocationConstants").POLITICAL_DISTRICTS:return babelHelpers["extends"]({region_id:String(a.region_id),region:a.region,country:a.country_code,country_name:a.country_name},e);case b("LocationConstants").ZIPS:c=babelHelpers["extends"]({country:a.country_code,country_name:a.country_name},e);a.region_id&&(c.region_id=String(a.region_id),c.region=a.region);a.primary_city_id&&(c.primary_city_id=String(a.primary_city_id),c.primary_city=a.primary_city);return c;case b("LocationConstants").CUSTOM_LOCATIONS:if(a.custom_type===b("LocationConstants").CUSTOM_TYPE_MULTI_CITY)return babelHelpers["extends"]({custom_type:a.custom_type,min_population:a.min_population,max_population:a.max_population,country:a.country,country_group:a.country_group},e);else{c=babelHelpers["extends"]({address_string:a.name,country:a.country_code,country_name:a.country_name,latitude:Number(a.latitude),longitude:Number(a.longitude),radius:d||h.getAddressDefaultRadius(),distance_unit:h.getLocalizedUnit()},e);a.region_id&&(c.region_id=String(a.region_id),c.region=a.region);a.primary_city_id&&(c.primary_city_id=String(a.primary_city_id),c.primary_city=a.primary_city);return c}case b("LocationConstants").PLACES:c=babelHelpers["extends"]({category:a.category,country:a.country_code,country_name:a.country_name,radius:d||h.getPlaceDefaultRadius(),distance_unit:h.getLocalizedUnit()},e);a.region_id&&(c.region_id=String(a.region_id),c.region=a.region);a.primary_city_id&&(c.primary_city_id=String(a.primary_city_id),c.primary_city=a.primary_city);return c;default:g(0,4683)}}function d(a){return new(b("SearchableEntry"))({uniqueID:a.normalized_address,title:a.normalized_address,type:b("LocationConstants").CUSTOM_LOCATIONS,auxiliaryData:j(a)})}function j(a){var c=babelHelpers["extends"]({type:b("LocationConstants").CUSTOM_LOCATIONS,latitude:Number(a.latitude),longitude:Number(a.longitude),key:a.normalized_address,name:a.normalized_address,country_code:a.country.key,country_name:a.country.name},{});a.city&&(c.primary_city_id=String(a.city.key),c.primary_city=a.city.name);a.region&&(c.region_id=String(a.region.key),c.region=a.region.name);a.radius&&(c.radius=a.radius);return c}function f(a,c,d){__p&&__p();a=a||{};var e=Object.assign({},a);b("LocationConstants").locationTypes.forEach(function(f){__p&&__p();if(!a[f]||!c[f])return;e[f]=a[f].map(function(a){__p&&__p();if(f===b("LocationConstants").COUNTRIES)if(!d)return a;else a={key:a};else if(!c[f][a.key])return a;var e=Object.assign({},c[f][a.key]);e.country_code&&(e.country=e.country_code);e.type=f;delete e.country_code;e.region_id?e.region_id=String(e.region_id):(delete e.region_id,delete e.region);e.primary_city_id?e.primary_city_id=String(e.primary_city_id):(delete e.primary_city_id,delete e.primary_city);(f===b("LocationConstants").CUSTOM_LOCATIONS||f===b("LocationConstants").PLACES)&&e.latitude&&e.longitude&&(e.latitude=Number(e.latitude),e.longitude=Number(e.longitude));return Object.assign({},a,e)})});return e}function k(a,c){__p&&__p();var d=[];b("LocationConstants").locationTypes.forEach(function(e){__p&&__p();if(!a[e])return;a[e].forEach(function(a){__p&&__p();e===b("LocationConstants").COUNTRIES&&(a=babelHelpers["extends"]({key:a,name:a},{}));var f=babelHelpers["extends"]({included:c,type:e,parentKey:null,parentName:null,parentType:null},a);switch(e){case b("LocationConstants").COUNTRY_GROUPS:f.parentKey=a.key;f.country_codes=a.country_codes;f.parentName=a.name;f.parentType=b("LocationConstants").COUNTRY_GROUPS;f.is_worldwide=a.is_worldwide;break;case b("LocationConstants").COUNTRIES:f.parentKey=a.key;f.parentName=a.name;f.parentType=b("LocationConstants").COUNTRIES;break;case b("LocationConstants").REGIONS:f.parentKey=a.country;f.parentName=a.country_name;f.parentType=b("LocationConstants").COUNTRIES;break;case b("LocationConstants").GEO_MARKETS:f.parentKey=a.country;f.parentName=a.country_name;f.parentType=b("LocationConstants").COUNTRIES;break;case b("LocationConstants").CITIES:f.radius=a.radius;f.parentKey=a.region_id||a.country;f.parentType=a.region_id?b("LocationConstants").REGIONS:b("LocationConstants").COUNTRIES;f.parentName=a.region||a.country_name;break;case b("LocationConstants").ELECTORAL_DISTRICTS:f.parentKey=a.region_id||a.country;f.parentType=a.region_id?b("LocationConstants").REGIONS:b("LocationConstants").COUNTRIES;f.parentName=a.region||a.country_name;break;case b("LocationConstants").LARGE_GEO_AREAS:f.parentKey=a.region_id||a.country;f.parentType=a.region_id?b("LocationConstants").REGIONS:b("LocationConstants").COUNTRIES;f.parentName=a.region||a.country_name;break;case b("LocationConstants").MEDIUM_GEO_AREAS:f.parentKey=a.region_id||a.country;f.parentType=a.region_id?b("LocationConstants").REGIONS:b("LocationConstants").COUNTRIES;f.parentName=a.region||a.country_name;break;case b("LocationConstants").SMALL_GEO_AREAS:f.parentKey=a.region_id||a.country;f.parentType=a.region_id?b("LocationConstants").REGIONS:b("LocationConstants").COUNTRIES;f.parentName=a.region||a.country_name;break;case b("LocationConstants").METRO_AREAS:f.parentKey=a.region_id||a.country;f.parentType=a.region_id?b("LocationConstants").REGIONS:b("LocationConstants").COUNTRIES;f.parentName=a.region||a.country_name;break;case b("LocationConstants").SUBCITIES:f.parentKey=a.region_id||a.country;f.parentType=a.region_id?b("LocationConstants").REGIONS:b("LocationConstants").COUNTRIES;f.parentName=a.region||a.country_name;break;case b("LocationConstants").NEIGHBORHOODS:f.parentKey=a.region_id||a.country;f.parentType=a.region_id?b("LocationConstants").REGIONS:b("LocationConstants").COUNTRIES;f.parentName=a.region||a.country_name;break;case b("LocationConstants").SUBNEIGHBORHOODS:f.parentKey=a.region_id||a.country;f.parentType=a.region_id?b("LocationConstants").REGIONS:b("LocationConstants").COUNTRIES;f.parentName=a.region||a.country_name;break;case b("LocationConstants").POLITICAL_DISTRICTS:f.parentKey=a.region_id||a.country;f.parentType=a.region_id?b("LocationConstants").REGIONS:b("LocationConstants").COUNTRIES;f.parentName=a.region||a.country_name;break;case b("LocationConstants").LOCATION_CLUSTER_IDS:f.parentKey=a.country;f.parentType=b("LocationConstants").COUNTRIES;break;case b("LocationConstants").ZIPS:a.region_id?(f.parentKey=a.region_id,f.parentType=b("LocationConstants").REGIONS,f.parentName=a.region):a.primary_city_id?(f.parentKey=a.primary_city_id,f.parentType=b("LocationConstants").CITIES,f.parentName=a.primary_city):(f.parentKey=a.country,f.parentType=b("LocationConstants").COUNTRIES,f.parentName=a.country_name);break;case b("LocationConstants").CUSTOM_LOCATIONS:f.radius=a.radius;a.region_id?(f.parentKey=a.region_id,f.parentType=b("LocationConstants").REGIONS,f.parentName=a.region):(f.parentKey=a.country,f.parentType=b("LocationConstants").COUNTRIES,f.parentName=a.country_name);a.primary_city_id&&(f.groupKey=a.primary_city_id,f.groupType=b("LocationConstants").CITIES,f.groupName=a.primary_city);break;case b("LocationConstants").PLACES:f.radius=a.radius;f.category=a.category;a.region_id?(f.parentKey=a.region_id,f.parentType=b("LocationConstants").REGIONS,f.parentName=a.region):(f.parentKey=a.country,f.parentType=b("LocationConstants").COUNTRIES,f.parentName=a.country_name);break}d.push(f)})});return d}function l(a){var c={};b("LocationConstants").locationTypes.forEach(function(a){c[a]=[]});a.forEach(function(a){a.type===b("LocationConstants").COUNTRIES?c[a.type].push(a.key):c[a.type].push(a)});return c}function m(a){var c={};b("LocationConstants").locationTypes.forEach(function(d){a[d]&&(c[d]=[],a[d].forEach(function(a){var e;d===b("LocationConstants").COUNTRIES?e=a:d===b("LocationConstants").COUNTRY_GROUPS?e={key:a}:(e=Object.assign({},a),d===b("LocationConstants").CITIES&&(e.radius=a.radius),d===b("LocationConstants").CUSTOM_LOCATIONS&&(e.key=b("adsTargetingLocationGetCustomLocationKey")(a)),a.region_id&&(e.region_id=String(a.region_id)),a.primary_city_id&&(e.primary_city_id=String(a.primary_city_id)));c[d].push(e)}))});a.location_types&&(c.location_types=a.location_types.slice());a.location_expansion&&(c.location_expansion=a.location_expansion);return c}function n(a){var c=b("adsTargetingLocationGetKeyFromCoordinates")(a.location.latitude,a.location.longitude);return{key:c,type:b("LocationConstants").CUSTOM_LOCATIONS,latitude:a.location.latitude,longitude:a.location.longitude,country_name:a.location.country,address_string:a.single_line_address,name:a.single_line_address,distance_unit:b("LocationConstants").RadiusInfo.getLocalizedUnit(),included:!0}}function o(a){if(a.type===b("LocationConstants").COUNTRIES)return[new(b("SearchableEntry"))({uniqueID:a.id,title:a.name,type:b("LocationConstants").COUNTRIES,auxiliaryData:{country_code:a.id,country_name:a.name,key:a.id,name:a.name,supports_city:!0,supports_region:!0,type:b("LocationConstants").COUNTRIES,order:0}})];else if(a.id===b("LocationConstants").WORLDWIDE||a.type===b("LocationConstants").COUNTRY_GROUPS)return[new(b("SearchableEntry"))({uniqueID:a.id,title:a.name,type:b("LocationConstants").COUNTRY_GROUPS,auxiliaryData:{key:a.id,name:a.name.toString(),country_codes:a.geoLocations.countries,supports_city:!0,supports_region:!0,is_worldwide:a.id==b("LocationConstants").WORLDWIDE,type:b("LocationConstants").COUNTRY_GROUPS,order:0}})];return null}function p(a,b){a=babelHelpers["extends"]({},a,{primary_city:b.city.name,primary_city_id:b.city.id,country:b.country.abbr});b.region&&(a=babelHelpers["extends"]({},a,{region:b.region.name,region_id:b.region.id}));return a}function q(a){var c=o(a);return c||b("flattenArray")(a.children.map(function(a){return q(a)}))}a={dataStoreToEntry:a,entriesToDataStore:c,getSearchableEntryFromGeoCoder:d,fillMetaInfoForLocations:f,convertDataStoreToProxyData:k,convertProxyDataToDataStore:l,convertKeyToString:m,geoCoderDataToSearchData:j,searchDataToDataStore:i,getDataStoreFormatFromPage:n,getSearchableEntryFromBrowseListEntry:o,fillPageAddressWithMetaInfo:p,convertToSearchableEntries:q};e.exports=a}),null);
  __d("AdsPageTypes",["ImmutableObject"],(function(a,b,c,d,e,f){"use strict";a=babelHelpers["extends"]({DESKTOP_FEED:"desktopfeed",DESKTOP_VIDEO_CHANNEL:"desktopvideochannel",INSTAGRAM_STORY:"instagramstory",INSTAGRAM_STREAM:"instagramstream",MESSENGER:"messenger",MESSENGER_INBOX:"messenger_home",MESSENGER_MOBILE_STORY:"messenger_mobile_story",MOBILE_EXTERNAL:"mobileexternal",MOBILE_FEED:"mobilefeed",MOBILE_VIDEO_CHANNEL:"mobilevideochannel",RIGHT_COLUMN:"rightcolumn",HOME:"home",LOGOUT:"logout",LEGACY_EXTERNAL:"legacyexternal",DESKTOP_INSTREAM_VIDEO:"desktop-instream-video",MOBILE_INSTREAM_VIDEO:"mobile-instream-video",INSTANT_ARTICLE:"instantarticle",DESKTOP_GROUPS:"desktopgroups",MOBILE_GROUPS:"mobilegroups",MARKETPLACE_MOBILE:"mobile-marketplace",MOBILE_FB_STORY:"mobile-fb-story",MOBILE_MARKETPLACE_SEARCH_ADS:"mobile_marketplace_search_ads",MOBILE_SEARCH_SERP_ADS:"mobile_search_serp_ads",ALL:"all",NONE:"none",DESKTOP:"desktop",DESKTOP_AND_INSTAGRAM_STREAM:"desktop-and-instagramstream",DESKTOP_AND_MOBILE_AND_EXTERNAL:"desktop-and-mobile-and-external",DESKTOP_AND_MOBILE_FEED_AND_EXTERNAL_AND_INSTAGRAM_STREAM:"desktop-and-mobilefeed-and-external-and-instagramstream",DESKTOP_AND_MOBILE_FEED_AND_INSTAGRAM_STREAM:"desktop-and-mobilefeed-and-instagramstream",DESKTOP_FEED_AND_INSTAGRAM_STREAM:"desktopfeed-and-instagramstream",DESKTOP_FEED_AND_MOBILE_FEED_AND_EXTERNAL_AND_INSTAGRAM_STREAM:"desktopfeed-and-mobilefeed-and-external-and-instagramstream",FEED:"feed",FEED_AND_INSTAGRAM_STREAM:"feed-and-instagramstream",FEED_AND_EXTERNAL:"feed-and-external",HOME_AND_FEED:"home-and-feed",MOBILE:"mobile",MOBILE_FEED_AND_INSTAGRAM_STREAM:"mobilefeed-and-instagramstream",MOBILE_FEED_AND_EXTERNAL:"mobilefeed-and-external",MOBILE_FEED_AND_EXTERNAL_AND_INSTAGRAM_STREAM:"mobilefeed-and-external-and-instagramstream",RIGHT_COLUMN_AND_MOBILE:"rightcolumn-and-mobile",RIGHT_COLUMN_AND_MOBILE_AND_EXTERNAL:"rightcolumn-and-mobile-and-external",RIGHT_COLUMN_AND_INSTAGRAM_STREAM:"rightcolumn-and-instagramstream",RIGHT_COLUMN_AND_MOBILE_FEED_AND_INSTAGRAM_STREAM:"rightcolumn-and-mobilefeed-and-instagramstream",RIGHT_COLUMN_AND_MOBILE_FEED_AND_EXTERNAL_AND_INSTAGRAM_STREAM:"rightcolumn-and-mobilefeed-and-external-instagramstream"},{});a.MOBILE_PAGE_TYPES=[a.MOBILE_FEED,a.MOBILE_EXTERNAL,a.INSTAGRAM_STORY,a.INSTAGRAM_STREAM,a.MOBILE_INSTREAM_VIDEO,a.INSTANT_ARTICLE,a.MOBILE_GROUPS,a.MARKETPLACE_MOBILE];a.DEPRECATED={EXTERNAL:"external",MOBILE_EXTERNAL_ONLY:"mobile-external-only",DESKTOP_EXTERNAL_ONLY:"desktop-external-only"};e.exports=new(b("ImmutableObject"))(a)}),null);
  __d("AdsInterfacesComponentsEventCategory",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ERRORS:"errors",GENERAL:"general"})}),null);
  __d("AdsInterfacesComponentsEventName",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({BIG_ADOPTION_EXCEPTION:"big_adoption_exception",BIG_ADOPTION_NO_CONTEXT_THEME:"big_adoption_no_context_theme",BIG_COMPONENT_ERROR:"big_component_error",DEPRECATE_CALLED:"deprecate_called",FDS_MOUNT_TIME:"fds_mount_time",FDS_TEXT_DEPRECATED_VALUES:"fds_text_deprecated_values",SUI_THEME_ERROR:"sui_theme_error"})}),null);
  __d("AdsInterfacesComponentsLogger",["AdsInterfacesComponentsEventCategory","AdsInterfacesComponentsEventName","AdsInterfacesLogger","AdsLogger"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g="unified_logging",h="components";a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.call(this,h,void 0,void 0,g)||this}var d=c.prototype;d.getInterfaceID=function(){return this.__interface_id};d.setInterfaceID=function(a){this.__interface_id=a};d.logForAnalytics=function(c,d,e){__p&&__p();e=e||{};if(!e.interface_id){var f=this.getInterfaceID();if(!f){var g=b("AdsInterfacesLogger").get();g&&(f=g.getInterfaceID())}f&&(e.interface_id=f)}a.prototype.logForAnalytics.call(this,c,d,e)};d.logBIGComponentError=function(a,c){this.logForAnalytics(b("AdsInterfacesComponentsEventCategory").ERRORS,b("AdsInterfacesComponentsEventName").BIG_COMPONENT_ERROR,{caller:c,message:a.message,stack_trace:a.stack})};d.logSUIThemeError=function(a,c){this.logForAnalytics(b("AdsInterfacesComponentsEventCategory").ERRORS,b("AdsInterfacesComponentsEventName").SUI_THEME_ERROR,{caller:c,message:a.message,stack_trace:a.stack})};d.logFDSMountTime=function(a,c){this.logForAnalytics(b("AdsInterfacesComponentsEventCategory").GENERAL,b("AdsInterfacesComponentsEventName").FDS_MOUNT_TIME,{caller:a,duration:c})};d.__shouldSilenceError=function(a){return!0};return c}(b("AdsLogger"));e.exports=new a()}),null);
  __d("AdsPlacementAPIMigrationUtils",["AdsInterfacesComponentsEventCategory","AdsInterfacesComponentsEventName","AdsInterfacesComponentsLogger","ErrorUtils"],(function(a,b,c,d,e,f){"use strict";function a(a){return a}e.exports={deprecate:a}}),null);
  __d("ads-mobile-platforms",["fbt","AdsMobileDeviceTypes","AdsPageTypes","AdsPEImportExportConstants","AdsPlacementAPIMigrationUtils","AdsTargetingExtendedDevicesV2","StrSet"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("AdsPlacementAPIMigrationUtils").deprecate,i=/(.*)_ver_(.*)/,j=[{name:g._("Smartphones"),id:b("AdsMobileDeviceTypes").ANDROID_SMARTPHONE},{name:g._("Tablets"),id:b("AdsMobileDeviceTypes").ANDROID_TABLET}],k=new(b("StrSet"))(j.map(function(a){return a.id}));g=[{name:g._("iPhone"),id:b("AdsMobileDeviceTypes").IPHONE},{name:g._("iPod"),id:b("AdsMobileDeviceTypes").IPOD},{name:g._("iPad"),id:b("AdsMobileDeviceTypes").IPAD}];var l=new(b("StrSet"))(g.map(function(a){return a.id}));function m(a){return a==null?!1:l.contains(a)||!!b("AdsTargetingExtendedDevicesV2").iOS[a]}function n(a){return a==null?!1:k.contains(a)||!!b("AdsTargetingExtendedDevicesV2").Android[a]}function a(a,b){var c;a===o.IOS?c=m:a===o.ANDROID?c=n:c=function(a){return!1};return b.filter(c)}var o={ALL:b("AdsPEImportExportConstants").OS.ALL,IOS:b("AdsPEImportExportConstants").OS.IOS,ANDROID:b("AdsPEImportExportConstants").OS.ANDROID,FEATURE_DEPRECATED:b("AdsPEImportExportConstants").OS.FEATURE_DEPRECATED,FEATURE:b("AdsPEImportExportConstants").OS.FEATURE,FB_CANVAS:b("AdsPEImportExportConstants").OS.FB_CANVAS,WINDOWS:b("AdsPEImportExportConstants").OS.WINDOWS},p={ALL:"All",SPECIFIC:"Specific"},q={WIFI:"Wifi","3G":"3G"};function c(a){return!a||a.length===0||a.some(function(a){return a.includes("mobile")||a===h(b("AdsPageTypes").FEED)||a===h(b("AdsPageTypes").FEED_AND_EXTERNAL)||a===h(b("AdsPageTypes").INSTAGRAM_STREAM)||a===h(b("AdsPageTypes").DEPRECATED).EXTERNAL})}function d(a){a=Array.isArray(a)?a[0]:a;if(a==null||a==="")return{os:null,version:null};var b=a.match(i);if(b&&b.length>2)return{os:b[1],version:b[2]};else return{os:a,version:null}}function e(a){var b=!!(a.site_category&&a.site_category[0]===o.FEATURE_DEPRECATED);a=!!(a.user_device&&a.user_device[0]===o.FEATURE);return b||a}f.userOSRegex=i;f.IOS_DEVICES=g;f.ANDROID_DEVICES=j;f.isIosDevice=m;f.isAndroidDevice=n;f.splitOSVersion=d;f.filterDevicesCompatibleWithOS=a;f.operatingSystems=o;f.carriers=q;f.deviceAll=p;f.hasValidPageTypesForPlatformTargeting=c;f.isTargetingFeaturePhones=e}),null);
  __d("ads-app-platforms",["fbt","invariant","ads-mobile-platforms"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();var i=b("ads-mobile-platforms").operatingSystems,j={WEB:1,CANVAS:2,MOBILE_WEB:3,IPHONE:4,IPAD:5,ANDROID:6,IOS:7,DESKTOP_CANVAS:8,WINDOWS:9,AMAZON:10,GAMEROOM:11,INSTANT_GAME:12};b={INVALID:0,CANVAS:1,MOBILE_CANVAS:2,MOBILE_NATIVE:3,GAMEROOM:4,INSTANT_GAME:5};var k={0:g._("The app does not support any mobile platforms"),1:g._("Canvas"),2:g._("Mobile Canvas"),3:g._("Mobile Native"),4:g._("Gameroom"),5:g._("Instant Games")},l=Object.freeze({GOOGLE_PLAY:"google_play",ITUNES:"itunes",ITUNES_IPAD:"itunes_ipad",WINDOWS_10_STORE:"windows_10_store",FB_CANVAS:"fb_canvas",AMAZON:"amazon_app_store",FB_GAMEROOM:"fb_gameroom",INSTANT_GAME:"instant_game"}),m={FB_APPLICATION_ONLY:"application",FB_MOBILE_STORE_ONLY:"mobile_store",FB_MOBILE_STORE_WITH_BACKING_APP:"mobile_store_with_matching_application"},n={};n[j.IOS]=g._("iTunes");n[j.IPAD]=g._("iTunes for iPad");n[j.ANDROID]=g._("Google Play");n[j.DESKTOP_CANVAS]=g._("Facebook Canvas");n[j.AMAZON]=g._("Amazon Appstore");n[j.WINDOWS]=g._("Windows Store");n[j.GAMEROOM]=g._("Facebook Gameroom");n[j.INSTANT_GAME]=g._("Instant Games");var o={};o[l.ITUNES]=g._("iTunes");o[l.ITUNES_IPAD]=g._("iTunes for iPad");o[l.GOOGLE_PLAY]=g._("Google Play");o[l.FB_CANVAS]=g._("Facebook Canvas");o[l.AMAZON]=g._("Amazon Appstore");o[l.WINDOWS_10_STORE]=g._("Windows Store");o[l.FB_GAMEROOM]=g._("Facebook Gameroom");o[l.INSTANT_GAME]=g._("Instant Games");var p={};p[b.INVALID]=g._("The app does not support any native mobile platforms");p[j.IPHONE]=g._("iPhone");p[j.IPAD]=g._("iPad");p[j.ANDROID]=g._("Android");p[j.IOS]=g._("iOS");p[j.CANVAS]=g._("Canvas");p[j.WINDOWS]=g._("Windows");p[j.AMAZON]=g._("Amazon");p={};p[j.IPHONE]="iPhone";p[j.IPAD]="iPad";p[j.ANDROID]="Android";p[j.IOS]="iOS";p[j.CANVAS]="Canvas";p[j.WINDOWS]="Windows";p[j.AMAZON]="Amazon";g={};g[j.ANDROID]=l.GOOGLE_PLAY;g[j.CANVAS]=l.FB_CANVAS;g[j.DESKTOP_CANVAS]=l.FB_CANVAS;g[j.IOS]=l.ITUNES;g[j.IPAD]=l.ITUNES_IPAD;g[j.IPHONE]=l.ITUNES;g[j.WINDOWS]=l.WINDOWS_10_STORE;g[b.INVALID]="";g[j.AMAZON]=l.AMAZON;g[j.GAMEROOM]=l.FB_GAMEROOM;p={};p[l.ITUNES]=j.IPHONE;p[l.ITUNES_IPAD]=j.IPAD;p[l.GOOGLE_PLAY]=j.ANDROID;p[l.FB_CANVAS]=j.CANVAS;p[l.WINDOWS_10_STORE]=j.WINDOWS;p[l.AMAZON]=j.AMAZON;p[l.FB_GAMEROOM]=j.GAMEROOM;var q={};q[i.ANDROID]=j.ANDROID;q[i.IOS]=j.IOS;q[i.WINDOWS]=j.WINDOWS;var r={};r[i.ANDROID]=l.GOOGLE_PLAY;r[i.IOS]=l.ITUNES;function a(a){return!a||!a.length?!1:a.some(function(a){return a===j.CANVAS||a===j.DESKTOP_CANVAS||a===j.GAMEROOM||a===j.INSTANT_GAME})}function s(a){return[j.IPHONE,j.IPAD,j.ANDROID,j.IOS,j.WINDOWS,j.AMAZON].includes(a)}function c(a){return!a||!a.length?!1:a.some(s)}function d(a){__p&&__p();if(a===""||a==null)return;switch(a){case l.ITUNES:case l.ITUNES_IPAD:return i.IOS;case l.GOOGLE_PLAY:return i.ANDROID;case l.FB_GAMEROOM:case l.WINDOWS_10_STORE:return i.WINDOWS;case l.FB_CANVAS:return i.FB_CANVAS;case l.AMAZON:return i.ANDROID;case l.INSTANT_GAME:return i.ALL;default:h(0,3249,a)}}function e(a){if(a==null||a===0)return;switch(a){case j.IOS:case j.IPAD:case j.IPHONE:return i.IOS;case j.ANDROID:case j.AMAZON:return i.ANDROID;case j.WINDOWS:return i.WINDOWS;default:h(0,3250,a)}}function t(a){return o[a]||a}function u(a){__p&&__p();var b=function(a,b){a=a.toLowerCase();return a.indexOf(b.toLowerCase())>=0};if(b(a,i.IOS))return i.IOS;else if(b(a,i.ANDROID))return i.ANDROID;else if(b(a,i.WINDOWS))return i.WINDOWS;else return null}f.APP_PLATFORM=j;f.APP_PLATFORM_TO_STORE_NAME=n;f.APP_PLATFORM_TYPE=b;f.APP_PLATFORM_TYPE_NAME=k;f.getMobileOperatingSystemFromUserOS=u;f.getMobileOSForPlatform=e;f.getOSForMobileStore=d;f.getStoreName=t;f.MOBILE_OPERATING_SYSTEM_TO_APP_PLATFORM=q;f.MOBILE_STORE=l;f.MOBILE_STORE_DESTINATION_TYPE=m;f.NATIVE_APP_TO_MOBILE_STORE_MAP=g;f.OPERATING_SYSTEM_TO_MOBILE_STORE=r;f.MOBILE_STORE_TO_NATIVE_APP_MAP=p;f.supportsDesktop=a;f.supportsNativeMobile=c;f.isMobileNativePlatform=s}),null);
  __d("adsTargetingLocationGetLocationsCount",["LocationConstants"],(function(a,b,c,d,e,f){"use strict";function a(a){var c=0;b("LocationConstants").locationTypes.forEach(function(b){a&&a[b]&&a[b].length&&(c+=a[b].length)});return c}e.exports=a}),null);
  __d("isDynamicAudience",["CustomAudienceDataSourceType"],(function(a,b,c,d,e,f){"use strict";function a(a){return a.data_source!=null&&a.data_source.type===b("CustomAudienceDataSourceType").CLAIM_BASED}e.exports=a}),null);
  __d("trimObject",["isEmpty"],(function(a,b,c,d,e,f){__p&&__p();function g(a,c){__p&&__p();if(!a)return a;a=JSON.parse(JSON.stringify(a));for(var d in a)if(Object.prototype.hasOwnProperty.call(a,d)){var e=c&&c[d]===!0,f=a[d];if(f==="")e||delete a[d];else if(f instanceof Array)!e&&f.length===0&&delete a[d];else if(typeof f==="object"){f=g(f,c&&c[d]);c||!b("isEmpty")(f)?a[d]=f:e||delete a[d]}}return a}e.exports=g}),null);
  __d("AdsCommonTargetingApiTransformer",["invariant","AddressPart","AdsAPISpec","AdsAPITargetFields","AdsCommonTargetingLatLonUtils","AdsFlexibleTargetingConstants","AdsMobileDeviceTypes","AdsTargetingAdvancedDemoConstants","AdsTargetingLocationDataTransformer","AdsUtils","AdsValidationConsts","BrandsAppConfig","CustomAudienceDataSourceSubType","CustomAudienceDataSourceType","LocationConstants","ads-app-platforms","ads-mobile-platforms","adsTargetingLocationGetLocationsCount","isDynamicAudience","requireCond","trimObject","whitelistObjectKeys","cr:902520"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h;b("cr:902520");var i=b("AdsValidationConsts").maxAge,j=b("AdsValidationConsts").minAge,k=b("AdsValidationConsts").minAgeDefault,l=b("AdsTargetingAdvancedDemoConstants").graduationYearBounds,m=b("ads-mobile-platforms").operatingSystems,n="2.0",o="2.0",p="10.0",q=b("AdsFlexibleTargetingConstants").FLEXIBLE_TARGETING_API,r=b("AdsFlexibleTargetingConstants").ITEM_TYPE,s=b("AdsFlexibleTargetingConstants").SUPPORT_TARGETING_TYPES;function t(a){return!a||!a.length?a:a.charAt(0).toUpperCase()+a.slice(1)}function u(a){return"get"+t(a)}function v(a){return"from"+t(a)}function a(a){return a}function c(a,c,d){var e={};e[c]=a[b("AdsUtils").underscoreKey(c)]||d;return e}function d(a,b,c){return{}}function f(a,c,d){d={};var e=b("AdsUtils").underscoreKey(c),f=a[e]||[];a=a[A(e)]||[];d[c]=f.concat(a.map(function(a){return{id:a,data_source:{creation_params:"",sub_type:b("CustomAudienceDataSourceSubType").USER_PROPERTIES,type:b("CustomAudienceDataSourceType").CLAIM_BASED}}}));return d}function w(a){var c=["id","name","lookalike_spec","data_source","sharing_status"];return a.map(function(a){return b("whitelistObjectKeys")(a,c)}).filter(function(a){return!b("isDynamicAudience")(a)})}function x(a){return a.filter(function(a){return b("isDynamicAudience")(a)}).map(function(a){return a.id})}var y=(h={},h[b("AdsAPITargetFields").CUSTOM_AUDIENCES]=b("AdsAPITargetFields").DYNAMIC_AUDIENCE_IDS,h[b("AdsAPITargetFields").EXCLUDED_CUSTOM_AUDIENCES]=b("AdsAPITargetFields").EXCLUDED_DYNAMIC_AUDIENCE_IDS,h),z={dynamicAudienceIds:"customAudiences",excludedDynamicAudienceIds:"excludedCustomAudiences"};function A(a){var b=y[a];b!==void 0||g(0,5469,a);return b}function B(a){var b=z[a];b!==void 0||g(0,5470,a);return b}var C={ageMax:i,ageMin:k,fbDealID:null,genders:[],customAudiences:[],prospectingAudience:{},directInstallDevices:null,dynamicAudienceIds:[],excludedPublisherCategories:[],excludedPublisherListIDs:[],excludedCustomAudiences:[],excludedDynamicAudienceIds:[],interestedIn:[],mobileDevices:[],wifiOnly:!1,educationMajors:[],educationSchools:[],maxGradYear:l.maxGraduationYear,minGradYear:l.minGraduationYear,workEmployers:[],flexibleSpec:[{type:r.INCLUDE_ANY}]};h={fromApi:function(a,c,d){var e=this,f={};b("AdsAPISpec").TARGETING_FIELDS.forEach(function(c){var g=b("BrandsAppConfig").businessCapabilities.can_see_claim_audience_ads_manager&&(c==="customAudiences"||c==="excludedCustomAudiences")&&a[A(b("AdsUtils").underscoreKey(c))];if(d&&!a[b("AdsUtils").underscoreKey(c)]&&!g)return;f=babelHelpers["extends"]({},f,e[v(c)](a,c,C[c]))});c&&c[q]?Object.keys(s).forEach(function(a){return delete f[b("AdsUtils").camelCaseKey(a)]}):delete f.flexibleSpec;return f},targetingSpecToApi:function(a){__p&&__p();var c=this,d={};b("AdsAPISpec").TARGETING_FIELDS.forEach(function(e){__p&&__p();var f=a[e],g=b("AdsUtils").underscoreKey(e);f===void 0&&(f=C[e]);if(e==="userOs")d[g]=c[u(e)](a.mobileOperatingSystem,a.minIosVersion,a.maxIosVersion,a.minAndroidVersion,a.maxAndroidVersion,a.minWindowsVersion,a.maxWindowsVersion);else if(e==="userDevice")d[g]=c[u(e)](a.mobileOperatingSystem,a.mobileDevices||C.mobileDevices);else if(e==="excludedUserDevice")d[g]=c[u("userDevice")](a.mobileOperatingSystem,a.excludedMobileDevices||C.mobileDevices);else if(e==="wirelessCarrier")d[g]=c[u(e)](a.wifiOnly||C.wifiOnly);else if(!(e==="collegeYears"))if(e==="exclusions")d[g]=c[u(e)](a.flexibleSpec);else if(e==="gatekeepers")d[g]=c[u(e)](a.gatekeepers);else if(e==="followProfiles")d[g]=c[u(e)](a.followProfiles);else if(e==="followProfilesNegative")d[g]=c[u(e)](a.followProfilesNegative);else if(b("BrandsAppConfig").businessCapabilities.can_see_claim_audience_ads_manager&&(e==="dynamicAudienceIds"||e==="excludedDynamicAudienceIds")){var h=B(e),i=a[h];f=i!=null?i:C[h];d[g]=c[u(e)](f)}else d[g]=c[u(e)](f,a,e)});a.sex&&(d.genders=a.sex===b("AdsAPISpec").GENDERS.ALL?[]:[a.sex]);return b("trimObject")(d)},getAgeMax:a,fromAgeMax:c,getAgeMin:function(a,b){b=b.ageMinLimit||j;return Math.max(a,b)},fromAgeMin:c,getGenders:a,fromGenders:c,getInterests:a,fromInterests:c,getKeywords:a,fromKeywords:c,getUserAdclusters:a,fromUserAdclusters:c,getConjunctiveUserAdclusters:a,fromConjunctiveUserAdclusters:c,getCustomAudiences:w,fromCustomAudiences:b("BrandsAppConfig").businessCapabilities.can_see_claim_audience_ads_manager?f:c,getProspectingAudience:a,fromProspectingAudience:c,getExcludedCustomAudiences:w,fromExcludedCustomAudiences:b("BrandsAppConfig").businessCapabilities.can_see_claim_audience_ads_manager?f:c,getDynamicAudienceIds:b("BrandsAppConfig").businessCapabilities.can_see_claim_audience_ads_manager?x:a,fromDynamicAudienceIds:b("BrandsAppConfig").businessCapabilities.can_see_claim_audience_ads_manager?d:c,getExcludedDynamicAudienceIds:b("BrandsAppConfig").businessCapabilities.can_see_claim_audience_ads_manager?x:a,fromExcludedDynamicAudienceIds:b("BrandsAppConfig").businessCapabilities.can_see_claim_audience_ads_manager?d:c,getExcludedProductAudienceSpecs:a,fromExcludedProductAudienceSpecs:c,getProductAudienceSpecs:a,fromProductAudienceSpecs:c,getConnections:a,fromConnections:c,getExcludedConnections:a,fromExcludedConnections:c,getExcludedPublisherCategories:a,fromExcludedPublisherCategories:c,getExcludedPublisherListIDs:a,fromExcludedPublisherListIDs:c,getBrandSafetyContentFilterLevels:a,fromBrandSafetyContentFilterLevels:c,getExcludedBrandSafetyContentTypes:a,fromExcludedBrandSafetyContentTypes:c,getPublisherVisibilityCategories:a,fromPublisherVisibilityCategories:c,getFriendsOfConnections:a,fromFriendsOfConnections:c,getFbDealID:a,fromFbDealID:c,getEngagementSpecs:a,fromEngagementSpecs:c,getExcludedEngagementSpecs:a,fromExcludedEngagementSpecs:c,getInterestedIn:a,fromInterestedIn:c,getRelationshipStatuses:a,fromRelationshipStatuses:c,getFamilyStatuses:a,fromFamilyStatuses:c,getIndustries:a,fromIndustries:c,getLifeEvents:a,fromLifeEvents:c,getMarkets:a,fromMarkets:c,getPolitics:a,fromPolitics:c,getIncome:a,fromIncome:c,getNetWorth:a,fromNetWorth:c,getHomeType:a,fromHomeType:c,getHomeOwnership:a,fromHomeOwnership:c,getHomeValue:a,fromHomeValue:c,getEthnicAffinity:a,fromEthnicAffinity:c,getGeneration:a,fromGeneration:c,getHouseholdComposition:a,fromHouseholdComposition:c,getMoms:a,fromMoms:c,getOfficeType:a,fromOfficeType:c,getLocales:a,fromLocales:c,getTimezones:a,fromTimezones:c,getTargetingOptimization:a,fromTargetingOptimization:c,getEducationMajors:a,fromEducationMajors:c,getEducationSchools:a,fromEducationSchools:c,getWorkEmployers:a,fromWorkEmployers:c,getWorkPositions:a,fromWorkPositions:c,getBehaviors:a,fromBehaviors:c,getGatekeepers:a,fromGatekeepers:c,getFollowProfiles:a,fromFollowProfiles:c,getFollowProfilesNegative:a,fromFollowProfilesNegative:c,getExcludedUserAdclusters:a,fromExcludedUserAdclusters:c,getPageTypes:a,fromPageTypes:c,getAppInstallState:a,fromAppInstallState:c,getPlacePageSetIDs:a,fromPlacePageSetIDs:c,getAlternateAutoTargetingOption:a,fromAlternateAutoTargetingOption:c,getUserOs:function(a,b,c,d,e,f,g){if(!a)return[];var h,i;a===m.IOS?(h=!b&&c?n:b,i=c):a===m.ANDROID?(h=!d&&e?o:d,i=e):a===m.WINDOWS&&(h=!f&&g?p:f,i=g);i==="None"&&(i=null);b=h?a+"_ver_"+h+(i?"_to_"+i:"_and_above"):a;return[b]},fromUserOs:function(a){__p&&__p();a=a.user_os||[];var c=babelHelpers["extends"]({userOs:a},{});a.forEach(function(a){var d=null,e=null;if(a.indexOf("_ver_")>=0){var f=a.split("_ver_")[1];d=f.split("_")[0];f=f.split("_")[2];f!=="above"&&(e=f)}f=b("ads-app-platforms").getMobileOperatingSystemFromUserOS(a);f===m.IOS?(c.mobileOperatingSystem=m.IOS,c.minIosVersion=d,c.maxIosVersion=e):f===m.ANDROID?(c.mobileOperatingSystem=m.ANDROID,c.minAndroidVersion=d,c.maxAndroidVersion=e):f===m.WINDOWS?(c.mobileOperatingSystem=m.WINDOWS,c.minWindowsVersion=d,c.maxWindowsVersion=e):c.mobileOperatingSystem=null});return c},getUserDevice:function(a,c){c=c||[];if(a===m.IOS)return c.filter(b("ads-mobile-platforms").isIosDevice);else if(a===m.ANDROID)return c.filter(b("ads-mobile-platforms").isAndroidDevice);else return[]},fromUserDevice:function(a){var c=b("AdsMobileDeviceTypes");a=a.user_device||[];a.length||(a=[c.IPAD,c.IPOD,c.IPHONE]);return{mobileDevices:a}},fromDirectInstallDevices:function(a,c){var d={};d[c]=a[b("AdsUtils").underscoreKey(c)];return d},getDirectInstallDevices:a,fromExcludedUserDevice:function(a){a=a.excluded_user_device||[];return{excludedUserDevice:a}},getWirelessCarrier:function(a){var c=b("ads-mobile-platforms").carriers;return a?[c.WIFI]:[]},fromWirelessCarrier:function(a){a=a.wireless_carrier;var c=b("ads-mobile-platforms").carriers,d={wifiOnly:!1};a&&a.length&&a[0]===c.WIFI&&(d.wifiOnly=!0);return d},getCollegeYears:function(a,b,c){if(a!==!1)return[];a=[];for(var c=c;c<=b;c++)a.push(c);return a},fromCollegeYears:function(a){a=a.college_years;var b=babelHelpers["extends"]({targetAllGraduationYears:!0},{});a&&a.length&&(b.minGradYear=a[0],b.maxGradYear=a[a.length-1],b.targetAllGraduationYears=!1);return b},getEducationStatuses:a,fromEducationStatuses:c,getGeoLocationApiSpec:function(a,c){__p&&__p();a=a||{};var d=babelHelpers["extends"]({location_expansion:a.location_expansion||{},country_groups:(a.country_groups||[]).map(function(a){return a.key}),countries:a.countries||[],cities:(a.cities||[]).map(function(a){return{distance_unit:a.distance_unit,key:a.key,name:a.name,region:a.region,region_id:a.region_id,radius:a.radius,country:a.country}}),regions:(a.regions||[]).map(function(a){return{key:a.key,name:a.name,country:a.country}}),location_cluster_ids:(a.location_cluster_ids||[]).map(function(a){return{key:a.key,country:a.country}}),zips:(a.zips||[]).map(function(a){return{key:a.key,name:a.name,country:a.country}}),geo_markets:(a.geo_markets||[]).map(function(a){return{key:a.key,name:a.name,country:a.country}}),electoral_districts:(a.electoral_districts||[]).map(function(a){return{key:a.key,name:a.name,country:a.country}}),political_districts:(a.political_districts||[]).map(function(a){return{key:a.key,name:a.name,country:a.country}}),large_geo_areas:(a.large_geo_areas||[]).map(function(a){return{key:a.key,name:a.name,country:a.country,region:a.region,region_id:a.region_id}}),medium_geo_areas:(a.medium_geo_areas||[]).map(function(a){return{key:a.key,name:a.name,country:a.country,region:a.region,region_id:a.region_id}}),small_geo_areas:(a.small_geo_areas||[]).map(function(a){return{key:a.key,name:a.name,country:a.country,region:a.region,region_id:a.region_id}}),metro_areas:(a.metro_areas||[]).map(function(a){return{key:a.key,name:a.name,country:a.country,region:a.region,region_id:a.region_id}}),subcities:(a.subcities||[]).map(function(a){return{key:a.key,name:a.name,country:a.country,region:a.region,region_id:a.region_id}}),neighborhoods:(a.neighborhoods||[]).map(function(a){return{key:a.key,name:a.name,country:a.country,region:a.region,region_id:a.region_id}}),subneighborhoods:(a.subneighborhoods||[]).map(function(a){return{key:a.key,name:a.name,country:a.country,region:a.region,region_id:a.region_id}}),custom_locations:(a.custom_locations||[]).map(function(a){if(a.custom_type==b("LocationConstants").CUSTOM_TYPE_MULTI_CITY){var c={custom_type:a.custom_type,min_population:a.min_population,max_population:a.max_population};if(a.country)return babelHelpers["extends"]({},c,{country:a.country});else return babelHelpers["extends"]({},c,{country_group:a.country_group})}c=a.address_string;(!c||b("AdsCommonTargetingLatLonUtils").isLatLonString(c))&&(c=void 0);return{name:a.address_string,address_string:c,distance_unit:a.distance_unit,latitude:a.latitude,longitude:a.longitude,primary_city_id:Number(a.primary_city_id),radius:a.radius,region_id:Number(a.region_id),country:a.country}}),places:(a.places||[]).map(function(a){return{key:a.key,distance_unit:a.distance_unit,radius:a.radius,country:a.country}})},{}),e=b("adsTargetingLocationGetLocationsCount")(a);if(e){e=a.location_types||(c?b("LocationConstants").DEFAULT_EXCLUSION_LOCATION_TYPES:b("LocationConstants").DEFAULT_LOCATION_TYPES);d.location_types=e}return d},_fromGeoLocationHelper:function(a){a=a||{};Array.isArray(a)&&(a={});return b("AdsTargetingLocationDataTransformer").convertKeyToString(a)},getGeoLocations:function(a){return this.getGeoLocationApiSpec(a,!1)},fromGeoLocations:function(a){a=this._fromGeoLocationHelper(a.geo_locations);return{geoLocations:a}},getExcludedGeoLocations:function(a){return this.getGeoLocationApiSpec(a,!0)},fromExcludedGeoLocations:function(a){a=this._fromGeoLocationHelper(a.excluded_geo_locations);return{excludedGeoLocations:a}},getContextualTargetingCategories:function(a){return a||[]},fromContextualTargetingCategories:function(a){a=a.contextual_targeting_categories||[];return{contextualTargetingCategories:a}},getFlexibleSpec:function(a){__p&&__p();a=a||[];var b=[];a.forEach(function(a){__p&&__p();if(Object.keys(a).length<=1)return;if(a.type===r.INCLUDE_ALL)Object.keys(a).forEach(function(c){c!=="type"&&a[c].forEach(function(d){var a={};a[c]=[d];b.push(a)})});else if(a.type===r.INCLUDE_ANY){var c={};Object.keys(a).forEach(function(b){b!=="type"&&(c[b]=a[b])});b.push(c)}});return b},fromFlexibleSpec:function(a){return this._fromFlexibleSpec(a)},getExclusions:function(a){a=a||[];var b={};a.forEach(function(a){if(Object.keys(a).length<=1)return;a.type===r.EXCLUDE_ANY&&Object.keys(a).forEach(function(c){c!=="type"&&(b[c]=b[c]||[],b[c]=b[c].concat(a[c]))})});return b},fromExclusions:function(a){return this._fromFlexibleSpec(a)},_fromFlexibleSpec:function(a){var b=[];Object.keys(a).forEach(function(c){if(a[c]&&s[c]){var d={type:r.INCLUDE_ANY};d[c]=a[c];b.push(d)}});b.push.apply(b,this._fromFlexibleSpecNewFormatHelper(a.flexible_spec,a.exclusions));return{flexibleSpec:D(b)}},_fromFlexibleSpecNewFormatHelper:function(a,b){var c=[];a&&a.forEach(function(a){c.push(babelHelpers["extends"]({},a,{type:r.INCLUDE_ANY}))});b&&Object.keys(b).length&&c.push(babelHelpers["extends"]({type:r.EXCLUDE_ANY},b));return c},getIntlAddressMetadata:function(a,c){switch(c){case b("LocationConstants").CITIES:return c={},c[b("AddressPart").CITY]=a.name,c[b("AddressPart").REGION]=a.region,c[b("AddressPart").COUNTRY]=a.country_name,c;case b("LocationConstants").REGIONS:return c={},c[b("AddressPart").REGION]=a.name,c[b("AddressPart").COUNTRY]=a.country_name,c;case b("LocationConstants").ZIPS:return c={},c[b("AddressPart").POSTAL_CODE]=a.name,c[b("AddressPart").CITY]=a.primary_city,c[b("AddressPart").REGION]=a.region,c[b("AddressPart").COUNTRY]=a.country_name,c;default:throw new Error("Unsupported location type")}},getCatalogBasedTargeting:a,fromCatalogBasedTargeting:c,getDefaultValue:function(a){return C[a]}};function D(a){a.length||a.push({type:r.INCLUDE_ANY});return a}e.exports=h}),null);
  __d("ads-lib-connect_DEPRECATED",["ApiClient","ArbiterMixin","URI","flattenObject","mixin"],(function(a,b,c,d,e,f){__p&&__p();d=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.events={NEW_NETWORK_DATA_AVAILABLE:"newNetworkDataAvailable"},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.api=function(a){var c={};Array.prototype.slice.call(arguments,1).forEach(function(a){c[typeof a]=a});var d=c.string,e=c.object,f=c["function"],g=Date.now(),i=function(b){var c=Date.now();h({path:a,method:d,params:e,response:b,start:g,end:c,baseURL:window.location.href});f&&f(b)},j=[a,d,e,i].filter(function(a){return!!a});b("ApiClient").graph.apply(b("ApiClient"),j)};d.url=function(a,c,d){a&&a.substring(0,1)!="/"&&(a="/"+a);c=c||{};c.access_token=d;c=b("flattenObject")(c);return new(b("URI"))(window.location.href).setPath(a).setSubdomain("graph").setQueryData(c).toString()};return c}(b("mixin")(b("ArbiterMixin")));var g=new d();function h(a){g.inform(g.events.NEW_NETWORK_DATA_AVAILABLE,a,"event")}function a(a){return!a||a.error||a.error_msg}function c(a){return!a?{}:{msg:a.error_msg||a.error&&(a.error.error_user_msg||a.error.message)||a.error,code:a.error_code||a.error&&a.error.code,type:a.error_type||a.error&&a.error.type,subcode:a.error_subcode||a.error&&a.error.error_subcode}}f.FB=g;f.getErrorMessage=c;f.isError=a}),null);
  __d("AdsLearnMoreStrings",["fbt"],(function(a,b,c,d,e,f,g){"use strict";a=g._("Learn more.");b=g._("Learn More");c={INLINE_LEARN_MORE:a,STANDALONE_LEARN_MORE:b};e.exports=c}),null);
  __d("AdsICMessageSubobjectCategory",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({CONTROL:"control",CTA:"cta",MESSAGE:"message"})}),null);
  __d("AdsICMessageSubobjectType",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({BUTTON:"button",CHECKBOX:"checkbox",COMPLETE_FEEDBACK:"complete_feedback",FEEDBACK:"feedback",HEADER_LINK:"header_link",LEARN_MORE:"learn_more",LINK:"link",MESSAGE:"message",PATH_LINK:"path_link",SAVE:"save",TOGGLE:"toggle",UNSAVE:"unsave"})}),null);
  __d("AHGLink.react",["AdsICMessageSubobjectCategory","AdsICMessageSubobjectType","AdsLearnMoreStrings","AHGLogUtils","React","SUIBusinessTheme","SUILink.react"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.$2=function(a){c.$1(),c.props.onClick&&c.props.onClick(a)},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.$1=function(){b("AHGLogUtils").logLinkClick("AHGLink",this.props.href.toString(),b("AdsICMessageSubobjectCategory").CTA,b("AdsICMessageSubobjectType").LINK)};d.render=function(){var a=this.props,c=a.className_DEPRECATED,d=a.dataTestID,e=a.href,f=a.isInverseColor;a=a.label;return b("React").createElement(b("SUILink.react"),{className:c,"data-testid":d,href:e.toString(),isInverseColor:f,target:"_blank",theme:b("SUIBusinessTheme"),onClick:this.$2},a)};return c}(b("React").Component);a.defaultProps={href:"#",label:b("AdsLearnMoreStrings").INLINE_LEARN_MORE};e.exports=a}),null);
  __d("AdsWhatsAppConstants",["fbt"],(function(a,b,c,d,e,f,g){"use strict";a="16505555555";b=g._("Chat in WhatsApp");c=g._("I'm interested in this post");d="https://api.whatsapp.com/send?";f="whatsapp_cta_ads_intent_targeting";g={CTWA_INTENT_TARGETING_UNIVERSE:f,DEFAULT_HEADLINE:b,DEFAULT_MESSAGE:c,DEFAULT_WHATSAPP_NUMBER:a,WHATSAPP_API_LINK:d};e.exports=g}),null);
  __d("errorDesc",["fbt","invariant"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a){h(0,3625)}a.withParams=function(a,b){h(0,3625)};a._=function(a,b){return a(g,b)};e.exports=a}),null);
  __d("AdsPageUtils",["AdsAPIAdgroupPaths","AdsEditorConfig","AdsPagePostUtils","ApiPageFields","ApiPagePaths","CurrentUser","PageAdminTypes","getByPath"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=new Set([b("PageAdminTypes").MANAGER,b("PageAdminTypes").CONTENT_CREATOR]),h=new Set([b("PageAdminTypes").MANAGER,b("PageAdminTypes").CONTENT_CREATOR,b("PageAdminTypes").MODERATOR,b("PageAdminTypes").ADVERTISER]),i=new Set([b("PageAdminTypes").MANAGER,b("PageAdminTypes").CONTENT_CREATOR,b("PageAdminTypes").MODERATOR,b("PageAdminTypes").ADVERTISER,b("PageAdminTypes").INSIGHTS_ANALYST]),j={getPageID:function(a){var c;return b("getByPath")(a,b("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PAGE_ID)||b("AdsPagePostUtils").getPageIdFromPagePostId_BROKEN(a==null?void 0:(c=a.creative)==null?void 0:c.object_story_id)||(a==null?void 0:(c=a.creative)==null?void 0:c.object_id)},getParentPages:function(a){return a.filter(function(a){return j.hasLocations(a)||j.hasSharedLocationStructures(a)})},hasLocations:function(a){return b("getByPath")(a,["locations","summary","total_count"])>0},hasLocation:function(a){a=a[b("ApiPageFields").LOCATION];return!!a&&!!a.latitude&&!!a.longitude},hasSharedLocationStructures:function(a){return b("getByPath")(a,["shared_location_structures","data","length"])>0},getSharedParentPageIDs:function(a){a=b("getByPath")(a,["shared_location_structures","data"]);return b("getByPath")(a,["length"])>0?a.map(function(a){return a.id}):[]},isPageForBusiness:function(a,b){var c=a.business&&a.business.id===b;a=j.getBusinessProjects(a).some(function(a){return a.business&&a.business.id===b});return!!(c||a)},isBusinessPage:function(a){var b=a.business&&a.business.id;a=j.getBusinessProjects(a).length>0;return!!(b||a)},getBusinessProjects:function(a){return b("getByPath")(a,b("ApiPagePaths").BUSINESSPROJECTS.DATA,[])},filterForBusinessUsage:function(a,b,c){var d=b?function(a){return j.isPageForBusiness(a,b)}:function(a){return!j.isBusinessPage(a)};return a.filter(function(a){return d(a)||c&&c.has(a.id)})},getPageUIName:function(a){return b("getByPath")(a,b("ApiPagePaths").GLOBAL_BRAND_PAGE_NAME)||b("getByPath")(a,b("ApiPagePaths").NAME)||b("getByPath")(a,b("ApiPagePaths").ID)},getPageIconURI:function(a){var c=b("getByPath")(a,b("ApiPagePaths").PICTURE.path);return typeof c==="string"?c:b("getByPath")(a,b("ApiPagePaths").PICTURE.DATA.URL)},getPageLink:function(a){return b("getByPath")(a,b("ApiPagePaths").LINK)},canCreateAdsForPage:function(a){return j._hasPermission(a,h)},canCreatePostsForPage:function(a){return j._hasPermission(a,g)},canSeeStoreVisitInsights:function(a){return j._hasPermission(a,i)||b("CurrentUser").isEmployee()},isAdmin:function(a){return j._hasPermission(a,new Set([b("PageAdminTypes").MANAGER]))},_hasPermission:function(a,c){if(b("AdsEditorConfig").empl_show_all_pages)return!0;a=b("getByPath")(a,b("ApiPagePaths").USERPERMISSIONS.DATA,[]);return a.some(function(a){return c.has(a.role)})},hasWhatsAppNumber:function(a){return b("getByPath")(a,b("ApiPagePaths").HAS_WHATSAPP_NUMBER,!1)},hasWhatsAppBusinessNumber:function(a){return b("getByPath")(a,b("ApiPagePaths").HAS_WHATSAPP_BUSINESS_NUMBER,!1)},getWhatsAppNumber:function(a,c){a=b("getByPath")(a,b("ApiPagePaths").WHATSAPP_NUMBER);if(!c||!a)return a;else return a.replace(/\+/g,"")},getWhatsAppBusinessProfileID:function(a){return b("getByPath")(a,["whatsapp_business_profile","id"])},getWhatsAppBusinessProfileVerifiedName:function(a){return b("getByPath")(a,["whatsapp_business_profile","verified_name"])},getWhatsAppBusinessProfilePicture:function(a){return b("getByPath")(a,["whatsapp_business_profile","profile_picture_url"])}};e.exports=j}),null);
  __d("XWhatsAppSendBusinessAppDownloadLinkController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/presma/whatsapp/business_app_download_link/send/",{})}),null);
  __d("AdsWhatsAppUtils",["AdsAPIAdgroupPaths","AdsCallToActionTypes","AdsInterfacesLogger","AdsPageUtils","AdsWhatsAppConstants","ApiPagePaths","AsyncRequest","BizSiteIdentifier.brands","QE2Logger","XPresmaWhatsAppSendVerificationCodeController","XPresmaWhatsAppVerificationCodeValidationController","XWhatsAppSendBusinessAppDownloadLinkController","getByPath"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("AdsWhatsAppConstants").DEFAULT_MESSAGE,h=b("AdsWhatsAppConstants").WHATSAPP_API_LINK;function a(a,c,d){var e=b("XWhatsAppSendBusinessAppDownloadLinkController").getURIBuilder().getURI();a={page_token:a,whatsapp_number:c};new(b("AsyncRequest"))().setURI(e).setMethod("POST").setData(a).setHandler(d).send()}function c(a,c,d,e,f){var g=b("XPresmaWhatsAppSendVerificationCodeController").getURIBuilder().getURI();a={page_token:a,request_source:d,whatsapp_number:c,waive_business_number_requirement:f};new(b("AsyncRequest"))().setURI(g).setMethod("POST").setData(a).setHandler(e).send()}function d(a,c,d,e,f,g,h){var i=b("XPresmaWhatsAppVerificationCodeValidationController").getURIBuilder().getURI();a={page_token:a,request_source:e,verification_code:c,whatsapp_number:d,waive_business_number_requirement:g,ad_account_id:h};new(b("AsyncRequest"))().setURI(i).setMethod("POST").setData(a).setHandler(f).send()}f="https://www.whatsapp.com/business/";var i="https://www.whatsapp.com/download/",j=function(a,b){b=b!=null&&b!==""?encodeURIComponent(b):encodeURIComponent(g.toString());return h+"phone="+a+"&text="+b},k=function(a){return a==null||a===""?null:b("BizSiteIdentifier.brands").createBusinessURL("/"+a+"/settings").addQueryData({tab:"whatsapp_management"})},l=function(a){return!!b("getByPath")(a,b("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.WHATSAPP_NUMBER)},m=function(a){return a!==null&&a!==""&&a===b("AdsCallToActionTypes").TYPES.WHATSAPP_MESSAGE.name},n=function(a){return{hasWhatsAppBusinessNumber:b("AdsPageUtils").hasWhatsAppBusinessNumber(a),hasWhatsAppNumber:b("AdsPageUtils").hasWhatsAppNumber(a),isPageAdmin:b("AdsPageUtils").isAdmin(a),pageLoadState:a.loadState,pageSettingsLink:k(a.id),pageToken:b("getByPath")(a,b("ApiPagePaths").PAGE_TOKEN),whatsAppNumber:b("AdsPageUtils").getWhatsAppNumber(a),whatsAppBusinessProfileID:b("AdsPageUtils").getWhatsAppBusinessProfileID(a),whatsAppBusinessVerifiedName:b("AdsPageUtils").getWhatsAppBusinessProfileVerifiedName(a),whatsAppBusinessProfilePicture:b("AdsPageUtils").getWhatsAppBusinessProfilePicture(a)}},o=function(){b("QE2Logger").logExposureForUser(b("AdsWhatsAppConstants").CTWA_INTENT_TARGETING_UNIVERSE)},p=function(a){b("AdsInterfacesLogger").log({eventName:a},b("AdsInterfacesLogger").LOG_TYPE_SECONDARY_APP)};j={getDefaultCTALink:j,getPageSettingsLink:k,getPageWhatsAppData:n,isWhatsAppCTAType:m,isWhatsAppDestinationAd:l,logWhatsAppExposuresWhenCTAIsClickedOnLWI:o,logWhatsAppLWIUIEvent:p,sendDownloadLink:a,sendVerificationCode:c,submitVerificationCode:d,whatsAppBusinessLink:f,whatsAppLink:i};e.exports=j}),null);
  __d("AudienceNetworkUtils",["AdsAccountUtils","AdsAPICampaignPaths","AdsAPIObjectives","AdsAPIOptimizationGoals","AdsError","keyMirror","requireCond","cr:938018"],(function(a,b,c,d,e,f){"use strict";__p&&__p();b("cr:938018");var g=b("keyMirror")({DESKTOP:null,MOBILE:null,TABLET:null});a={DEVICE_TYPES:g,supportsANVideoButNoANStatic:function(a){return a===b("AdsAPIObjectives").VIDEO_VIEWS||a===b("AdsAPIObjectives").REACH||a===b("AdsAPIObjectives").BRAND_AWARENESS||a===b("AdsAPIObjectives").POST_ENGAGEMENT},pushError:function(a,c){var d=[];d.push(new(b("AdsError"))(a,c,{level:b("AdsError").Level.WARN,path:b("AdsAPICampaignPaths").TARGETING.PUBLISHER_PLATFORMS}));return d},isMobileAppInstallObjective:function(a){return a===b("AdsAPIObjectives").MOBILE_APP_INSTALLS||a===b("AdsAPIObjectives").APP_INSTALLS},getDeviceType:function(){var a=Math.min(screen.width,window.innerWidth);if(a<=480)return g.MOBILE;else if(a<=1200)return g.TABLET;else return g.DESKTOP},canUseFANExclusively:function(a,c){var d=b("AdsAccountUtils").hasCapabilityFromList(a,"ADS_ALLOW_AUDIENCE_NETWORK_ONLY"),e=b("AdsAccountUtils").hasCapabilityFromList(a,"CAN_USE_AUDIENCE_NETWORK_PLACEMENT_EXCLUSIVELY_IN_VIDEO_VIEWS"),f=b("AdsAccountUtils").hasCapabilityFromList(a,"CAN_USE_AUDIENCE_NETWORK_PLACEMENT_EXCLUSIVELY_IN_PPE"),g=b("AdsAccountUtils").hasCapabilityFromList(a,"CAN_USE_AUDIENCE_NETWORK_PLACEMENT_EXCLUSIVELY_IN_REACH");a=b("AdsAccountUtils").hasCapabilityFromList(a,"CAN_USE_AUDIENCE_NETWORK_PLACEMENT_EXCLUSIVELY_IN_BAO");return d||e&&c===b("AdsAPIOptimizationGoals").VIDEO_VIEWS||a&&c===b("AdsAPIOptimizationGoals").BRAND_AWARENESS||g&&c===b("AdsAPIOptimizationGoals").REACH||f&&c===b("AdsAPIOptimizationGoals").POST_ENGAGEMENT}};e.exports=a}),null);
  __d("SUIThreeStateCheckboxInput.react",["cx","KeyStatus","React","RTLKeys","SUIComponent","SUIErrorComponentUtil","SUIInternalMouseUpListener","SUITheme","SUIThreeStateCheckboxEnum","Tooltip","VirtualCursorStatus","getActiveElement","gkx","joinClasses","prop-types","uniqueID","withSUITheme"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("KeyStatus").isKeyDown,i=b("VirtualCursorStatus").isVirtualCursorTriggered;a=b("gkx")("678820")?b("React").Component:b("SUIComponent");c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){__p&&__p();var c;c=a.call(this)||this;c.$SUIThreeStateCheckboxInput3=function(a){var d=b("getActiveElement")();if(d&&d.nodeName==="A")return;d=c.props.value===b("SUIThreeStateCheckboxEnum").CHECKED?b("SUIThreeStateCheckboxEnum").UNCHECKED:b("SUIThreeStateCheckboxEnum").CHECKED;a.preventDefault();c.props.disabled||c.props.onChange(d,a)};c.$SUIThreeStateCheckboxInput4=function(){c.setState({isActive:!1,showFocusRing:!1})};c.$SUIThreeStateCheckboxInput5=function(){(h()||i())&&c.setState({showFocusRing:!0})};c.$SUIThreeStateCheckboxInput6=function(a){if(!c.props.disabled)switch(a.keyCode){case b("RTLKeys").RETURN:case b("RTLKeys").SPACE:c.setState({isActive:!0,showFocusRing:!0});break}};c.$SUIThreeStateCheckboxInput7=function(a){switch(a.keyCode){case b("RTLKeys").RETURN:case b("RTLKeys").SPACE:c.setState({isActive:!1,showFocusRing:!0});break}};c.$SUIThreeStateCheckboxInput8=function(){c.props.disabled||(b("SUIInternalMouseUpListener").set(c.$SUIThreeStateCheckboxInput2),c.setState({isActive:!0,showFocusRing:!1}))};c.$SUIThreeStateCheckboxInput2=function(){c.setState({isActive:!1,showFocusRing:!1})};c.$SUIThreeStateCheckboxInput1=b("uniqueID")();c.state={isActive:!1,showFocusRing:!1};return c}var d=c.prototype;d.componentWillUnmount=function(){b("SUIInternalMouseUpListener").unset(this.$SUIThreeStateCheckboxInput2)};d.$SUIThreeStateCheckboxInput9=function(){var a=this.props.label,b,c;this.props.labelIsHidden?b=typeof a==="string"?a:void 0:c=a;return{labelAria:b,labelText:c}};d.render=function(){__p&&__p();var a=b("SUITheme").get(this),c=a.SUIThreeStateCheckboxInput,d=this.$SUIThreeStateCheckboxInput9(),e=d.labelAria;d=d.labelText;var f=d!=null&&d!=="",g=this.props.value===b("SUIThreeStateCheckboxEnum").PARTIAL?c.partiallyCheckedIcon:c.checkedIcon,h=this.props.value!==b("SUIThreeStateCheckboxEnum").UNCHECKED;h={borderColor:this.state.isActive&&c.activeCheckboxBorderColor||h&&c.checkedBorderColor||c.checkboxBorderColor,backgroundColor:this.props.disabled&&c.disabledCheckboxBackgroundColor||this.state.isActive&&c.activeCheckboxBackgroundColor||h&&c.checkedBackgroundColor||c.checkboxBackgroundColor};var i=this.props.disabled?c.disabledLabelColor:c.labelColor;e=b("React").createElement("button",{"aria-checked":this.props.value===b("SUIThreeStateCheckboxEnum").PARTIAL?"mixed":this.props.value===b("SUIThreeStateCheckboxEnum").CHECKED?"true":"false","aria-disabled":this.props.disabled,"aria-label":e,"aria-labelledby":f?this.$SUIThreeStateCheckboxInput1:void 0,className:"_1gco"+(d?" _1gcp":"")+(this.state.showFocusRing?"":" _5e9w"),"data-testid":this.props["data-testid"],id:this.props.id,onBlur:this.$SUIThreeStateCheckboxInput4,onFocus:this.$SUIThreeStateCheckboxInput5,onKeyDown:this.$SUIThreeStateCheckboxInput6,onKeyUp:this.$SUIThreeStateCheckboxInput7,role:"checkbox",style:h,type:"button"},b("React").cloneElement(g,{"aria-hidden":!0,className:"_3w08"+(this.props.value===b("SUIThreeStateCheckboxEnum").UNCHECKED?" accessible_elem":""),disabled:this.props.disabled}));h=this.props.display==="block";g=b("joinClasses")("_1gcq"+(this.props.disabled?" _5_yg":"")+(h?" _29cz":"")+(h?"":" _29c-"),this.props.margin);h=b("SUIErrorComponentUtil").getErrorIcon(this.props,a,"_3w09");return!f&&!h?b("React").cloneElement(e,babelHelpers["extends"]({className:b("joinClasses")(this.props.className,g,e.props.className),onClick:this.$SUIThreeStateCheckboxInput3,onMouseDown:this.$SUIThreeStateCheckboxInput8},b("Tooltip").propsFor(this.props.tooltip))):b("React").createElement("label",babelHelpers["extends"]({className:b("joinClasses")(this.props.className,g,h&&"_3w0a"),onClick:this.$SUIThreeStateCheckboxInput3,onMouseDown:this.$SUIThreeStateCheckboxInput8,style:babelHelpers["extends"]({},c.typeStyle,{color:i,fontWeight:"normal"},this.props.style)},b("Tooltip").propsFor(this.props.tooltip),{"data-tooltip-alignh":"center"},b("SUIErrorComponentUtil").getErrorTooltipProps(this.props)),e,f?b("React").createElement("span",{className:"_1gcr",id:this.$SUIThreeStateCheckboxInput1},d):null,h)};return c}(a);c.propTypes=babelHelpers["extends"]({},b("SUIErrorComponentUtil").propTypes,{disabled:b("prop-types").bool.isRequired,label:b("prop-types").node,labelIsHidden:b("prop-types").bool,display:b("prop-types").oneOf(["inline","block"]).isRequired,margin:b("prop-types").string,onChange:b("prop-types").func.isRequired,theme:b("prop-types").instanceOf(b("SUITheme")),tooltip:b("prop-types").node,value:b("prop-types").string});c.defaultProps=babelHelpers["extends"]({},b("SUIErrorComponentUtil").defaultProps,{disabled:!1,labelIsHidden:!1,display:"inline",value:b("SUIThreeStateCheckboxEnum").UNCHECKED});c.CHECKBOX_STATES=b("SUIThreeStateCheckboxEnum");e.exports=b("withSUITheme")(c)}),null);
  __d("SUICheckboxInput.react",["React","SUIComponent","SUIThreeStateCheckboxInput.react","prop-types"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("SUIThreeStateCheckboxInput.react").CHECKBOX_STATES;a=b("SUIThreeStateCheckboxInput.react").defaultProps;a.value;c=babelHelpers.objectWithoutPropertiesLoose(a,["value"]);d=babelHelpers["extends"]({},c,{value:!1});f=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.$SUICheckboxInput1=function(a,b){c.props.onChange(a===g.CHECKED,b)},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.render=function(){var a=this.props;a.onChange;var c=a.value;a=babelHelpers.objectWithoutPropertiesLoose(a,["onChange","value"]);return b("React").createElement(b("SUIThreeStateCheckboxInput.react"),babelHelpers["extends"]({},a,{onChange:this.$SUICheckboxInput1,value:c?g.CHECKED:g.UNCHECKED}))};return c}(b("SUIComponent"));f.propTypes=babelHelpers["extends"]({},b("SUIThreeStateCheckboxInput.react").propTypes,{value:b("prop-types").bool});f.defaultProps=d;e.exports=f}),null);
  __d("getSUIThreeStateCheckboxInputUniform.fds",["ix","cssVar","React","SUIGlyphIcon.react","asset","autoFlipStyleProps","createBUITypeStyle"],(function(a,b,c,d,e,f,g,h){"use strict";function a(){return{activeCheckboxBackgroundColor:"#EBEDF0",activeCheckboxBorderColor:"#DADDE1",checkboxBackgroundColor:"#FFFFFF",checkboxBorderColor:"#DADDE1",checkedIcon:b("React").createElement(b("SUIGlyphIcon.react"),{srcDefault:g("495429"),srcDisabled:g("492920"),style:b("autoFlipStyleProps")({left:"0",top:"0"})}),disabledCheckboxBackgroundColor:"#EBEDF0",disabledLabelColor:"#BEC3C9",labelColor:"#1C1E21",partiallyCheckedIcon:b("React").createElement(b("SUIGlyphIcon.react"),{srcDefault:g("495440"),srcDisabled:g("492942"),style:b("autoFlipStyleProps")({left:"0",top:"0"})}),typeStyle:b("createBUITypeStyle")({color:"#1C1E21",fontSize:"12px"})}}e.exports=a}),null);
  __d("SUIThreeStateCheckboxInputUniform.fds",["getSUIThreeStateCheckboxInputUniform.fds"],(function(a,b,c,d,e,f){"use strict";e.exports=b("getSUIThreeStateCheckboxInputUniform.fds")()}),null);
  __d("FDSCheckboxInput.maintenance.react",["React","SUICheckboxInput.react","SUIThreeStateCheckboxInputUniform.fds","makeFDSStandardComponent","makeSUIFDSPrivateTheme"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("makeSUIFDSPrivateTheme")("FDSCheckboxInput",{SUIThreeStateCheckboxInput:b("SUIThreeStateCheckboxInputUniform.fds")});a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a=this.props;return b("React").createElement(b("SUICheckboxInput.react"),{"data-testid":a["data-testid"],disabled:a.isDisabled,display:a.display,id:a.id,label:a.label,margin:a.margin,onChange:a.onChange,style:a.style,theme:g,tooltip:a.tooltip,value:a.value})};return c}(b("React").PureComponent);a.defaultProps={display:"inline",isDisabled:!1,value:!1};e.exports=b("makeFDSStandardComponent")("FDSCheckboxInput",a)}),null);
  __d("FDSThreeStateCheckboxInput.react",["FDSThreeStateCheckboxEnum","React","SUIThreeStateCheckboxInput.react","SUIThreeStateCheckboxInputUniform.fds","makeFDSStandardComponent","makeSUIFDSPrivateTheme"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("makeSUIFDSPrivateTheme")("FDSThreeStateCheckboxInput",{SUIThreeStateCheckboxInput:b("SUIThreeStateCheckboxInputUniform.fds")});a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a=this.props;return b("React").createElement(b("SUIThreeStateCheckboxInput.react"),{"data-testid":a["data-testid"],disabled:a.isDisabled,display:a.display,label:a.label,labelIsHidden:a.labelIsHidden,margin:a.margin,onChange:a.onChange,style:a.style,theme:g,tooltip:a.tooltip,value:a.value})};return c}(b("React").PureComponent);a.defaultProps={display:"inline",isDisabled:!1,value:b("FDSThreeStateCheckboxEnum").UNCHECKED,labelIsHidden:!1};e.exports=b("makeFDSStandardComponent")("FDSThreeStateCheckboxInput",a)}),null);
  __d("PageContentTabLoggingEvents",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ACTION_TAKEN_MAIN_VIEW:"action_taken_main_view",ACTION_TAKEN_OVERLAY:"action_taken_overlay",ADHOC_VIDEO_MIGRATION_ERROR:"adhoc_video_migration_error",BULK_ACTION_TAKEN:"bulk_action_taken",BULK_ACTION_FAILED:"bulk_action_failed",COLUMN_SWITCHED:"column_switched",FORM_DOWNLOAD:"form_donwload",INITIAL_LOAD:"initial_load",DATA_LOADED:"data_loaded",TABLE_CONTENTS_SHOWN:"table_contents_shown",TAB_SWITCHED:"tab_switched",TAB_REFRESHED:"tab_refreshed",TABLE_SORTED:"table_sorted",SEARCH:"search",ROW_CLICKED:"row_clicked",CREATE_CLICKED:"create_clicked",SAVED_FILTER_APPLIED:"saved_filter_applied",FILTERS_APPLIED:"filters_applied",FILTERS_CLEARED:"filters_cleared",VIDEO_UPLOAD_FILE_SELECTED:"video_upload_file_selected",COPYRIGHT_SEND_REPORT_CLICKED:"copyright_send_report_clicked",API_ERROR:"api_error",DATA_ERROR:"data_error",LEADS_DOWNLOAD_DIALOG_OPENED:"leads_download_dialog_opened",LEADS_DOWNLOAD_DIALOG_BUTTON_CLICKED:"leads_download_dialog_button_clicked",REFERENCE_VIDEO_FILE_SELECTED:"reference_video_file_selected",ENABLE_COPYRIGHTS_DASHBOARD:"enable_copyrights_dashboard",ENABLE_COPYRIGHTS_DASHBOARD_FAILED:"enable_copyrights_dashboard_failed",POST_STATE_INDICATOR_HOVERED:"post_state_indicator_hovered",MATCH_RULE_CREATED:"match_rule_created",MATCH_RULE_DELETED:"match_rule_deleted",NUX_SHOWN:"nux_shown",NUX_DISMISSED:"nux_dismissed",CREATE_LIVE_BROADCAST:"create_live_broadcast",FINISHED_INITIAL_RENDER:"finished_initial_render",CONTACT_RIGHTS_MANAGER_CLICKED:"contact_rights_manager_clicked",RIGHTS_MANAGER_TUTORIAL_CLICKED:"rights_manager_tutorial_clicked",RIGHTS_MANAGER_UPDATES_CLICKED:"rights_manager_updates_clicked"})}),null);
  __d("VideoCopyrightMatchActionTypes",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({ALLOW_MATCH:"ALLOW_MATCH",TRACK:"TRACK",ADD_TO_REPORT:"ADD_TO_REPORT",BLOCK:"BLOCK",UNBLOCK:"UNBLOCK",WRONG_MATCH:"WRONG_MATCH",UPDATE_NOTES:"UPDATE_NOTES",REMOVE_FROM_REPORT:"REMOVE_FROM_REPORT",REMOVE_FROM_ALLOWED:"REMOVE_FROM_ALLOWED",REMOVE_FROM_DASHBOARD:"REMOVE_FROM_DASHBOARD",SET_SEEN_STATUS:"SET_SEEN_STATUS",MARK_SEEN:"MARK_SEEN",MARK_UNSEEN:"MARK_UNSEEN",MONETIZE:"MONETIZE",WHITELIST_PAGE:"WHITELIST_PAGE",ACQUIRE_VIEWS:"ACQUIRE_VIEWS",RETRACT_REPORTED:"RETRACT_REPORTED",RETRACT_TAKEDOWN:"RETRACT_TAKEDOWN",REPORT_SENT:"REPORT_SENT",LIVE_REPORT_SENT:"LIVE_REPORT_SENT",FILTER_BY_REFERENCE_VIDEO:"FILTER_BY_REFERENCE_VIDEO",FILTER_BY_MATCH_OWNER:"FILTER_BY_MATCH_OWNER",TOUR_STARTED:"TOUR_STARTED",TOUR_COMPLETED:"TOUR_COMPLETED",TOUR_RESUMED:"TOUR_RESUMED",REASSOCIATION_SUCCEEDED:"REASSOCIATION_SUCCEEDED",REASSOCIATION_BLUE_BAR_SEEN:"REASSOCIATION_BLUE_BAR_SEEN",REASSOCIATION_DIALOG_OPENED_BY_USER_FROM_BLUE_BAR:"REASSOCIATION_DIALOG_OPENED_BY_USER_FROM_BLUE_BAR",REASSOCIATION_DIALOG_OPENED_BY_USER_FROM_RULES_TAB:"REASSOCIATION_DIALOG_OPENED_BY_USER_FROM_RULES_TAB",REASSOCIATION_DIALOG_SHOWN_AUTOMATICALLY:"REASSOCIATION_DIALOG_SHOWN_AUTOMATICALLY",REASSOCIATION_REQUEST_PERFORMED_FROM_RULES_TAB:"REASSOCIATION_REQUEST_PERFORMED_FROM_RULES_TAB",REASSOCIATION_REQUEST_PERFORMED_FROM_BLUE_BAR:"REASSOCIATION_REQUEST_PERFORMED_FROM_BLUE_BAR",REASSOCIATION_REQUEST_PERFORMED_FROM_FORCE_DISPLAY:"REASSOCIATION_REQUEST_PERFORMED_FROM_FORCE_DISPLAY",UPHOLD_CLAIM:"UPHOLD_CLAIM",RELEASE_CLAIM:"RELEASE_CLAIM",REQUEST_TAKEDOWN:"REQUEST_TAKEDOWN",MOVE_TO_MANUAL_REVIEW:"MANUAL_REVIEW",UPDATE_APPLIED_ACTIONS:"UPDATE_APPLIED_ACTIONS",ATTRIBUTION_CREATION_CANCELLED:"ATTRIBUTION_CREATION_CANCELLED",ATTRIBUTION_CREATION_FINISHED:"ATTRIBUTION_CREATION_FINISHED",ATTRIBUTION_HELP_CENTER_LINK_CLICKED:"ATTRIBUTION_HELP_CENTER_LINK_CLICKED",CONFIRM_CLAIM:"CONFIRM_CLAIM",CANCEL_CLAIM:"CANCEL_CLAIM",CONFIRM_BLOCK:"CONFIRM_BLOCK"});e.exports=a}),null);
  __d("VideoCopyrightMatchGraphFields",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ID:"id",REFERENCE_OWNER_ID:"reference_owner_id",MATCHED_OWNER_ID:"matched_owner_id",MATCH_STATUS:"match_status",ACTIVE_MATCH_DATA_ID:"active_match_data_id",MATCHED_VIDEO_ASSET:"matched_video_asset",MATCHED_VIDEO:"matched_video",EXPIRATION_DAYS:"expiration_days",DISPUTE_EXPIRATION_DAYS:"dispute_expiration_days",LAST_MODIFIED_USER:"last_modified_user",LAST_MODIFIED_TIME:"last_modified_time",AUDIT_LOG:"audit_log",IS_VIEWED:"is_viewed",NOTES:"notes",ADDED_TO_DASHBOARD_TIME:"added_to_dashboard_time",DISPUTE:"dispute",APPLIED_ACTIONS:"applied_actions",SIBLING_APPLIED_ACTIONS:"sibling_applied_actions",ACTION_REQUIRING_MANUAL_REVIEW:"action_requiring_manual_review",MATCH_DATA:"match_data",REVIEW_REPORT_ID:"review_report_id",OWNERSHIP_COUNTRIES:"ownership_countries",IS_ANONYMOUS:"is_anonymous",PERMALINK:"permalink",ATTRIBUTION:"attribution",MUTED_SEGMENTS_FROM_OTHER_PUBLISHERS:"muted_segments_from_other_publishers",IS_TRUSTED_PARTNER_MATCH:"is_trusted_partner_match",TRUSTED_PARTNER_INFO:"trusted_partner_info",CREATED_DATE:"created_date",IS_BUSINESS_PAGE_MATCH:"is_business_page_match",PUBLISHER_CAN_RESTORE:"publisher_can_restore",MATCHED_VIDEO_OVERLAP_DURATION_IN_SEC:"matched_video_overlap_duration_in_sec"})}),null);
  __d("VideoCopyrightVideoAssetGraphFields",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({COMMENT_COUNT:"comment_count",DESCRIPTION:"description",HEIGHT:"height",ID:"id",LIVE_STATUS:"live_status",IS_PRIVATE:"is_private",DURATION_IN_SEC:"duration_in_sec",FOLLOWERS_COUNT:"followers_count",LIKE_COUNT:"like_count",OWNER_NAME:"owner_name",OWNER_PICTURE_URL:"owner_picture_url",OWNER_URL:"owner_url",PERMALINK_URL:"permalink_url",PUBLISHED_TIME:"published_time",SHARE_COUNT:"share_count",STATUS:"status",THUMBNAIL_URL:"thumbnail_url",THUMBNAIL_URL_WHILE_ENCODING:"thumbnail_url_while_encoding",TITLE:"title",VIEW_COUNT:"view_count",WIDTH:"width",PRIVACY_EXPLANATION:"privacy_explanation",AD_BREAK_OFFSETS_IN_MS:"ad_break_offsets_in_ms",MONETIZING_OWNER_COUNT:"monetizing_owner_count",MATCHED_ASSET_PLATFORM:"platform",IS_STORY:"is_story",STORY_EXPIRATION_HOURS:"story_expiration_hours",VIDEO_ID:"video_id"})}),null);
  __d("videoCopyrightGetPrivatePostCountIfExists",["PageContentTabLoggingEvents","VideoCopyrightMatchActionTypes","VideoCopyrightMatchGraphFields","VideoCopyrightVideoAssetGraphFields"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(a,c){__p&&__p();if(a.event!==b("PageContentTabLoggingEvents").ACTION_TAKEN_MAIN_VIEW&&a.event!==b("PageContentTabLoggingEvents").ACTION_TAKEN_OVERLAY)return null;if(b("VideoCopyrightMatchActionTypes")[a.action]==null)return null;if(!c||c.length===0)return null;a=c.filter(function(a){a=a[b("VideoCopyrightMatchGraphFields").MATCHED_VIDEO_ASSET];return a&&a[b("VideoCopyrightVideoAssetGraphFields").IS_PRIVATE]});return a.length}e.exports=a}),null);
  __d("PageContentTabLogger",["invariant","BanzaiLogger","PublishingToolsSource","guid","requireCond","videoCopyrightGetPrivatePostCountIfExists","cr:902526"],(function(a,b,c,d,e,f,g){"use strict";b("cr:902526");var h=b("guid")(),i=null,j=null,k=b("PublishingToolsSource").UNKNOWN,l="PageContentTabLoggerConfig";a={init:function(a,b,c){i=a,j=b,c&&(k=c)},hasPageID:function(){return i!==null},log:function(a,c,d,e){i||g(0,1713),d.event=a,d.tab=c,d.session_id=h,d.page_id=i,d.locationoftab=j,d.ref=k,d.private_post_count=b("videoCopyrightGetPrivatePostCountIfExists")(d,e),b("BanzaiLogger").log(l,d)}};e.exports=a}),null);
  __d("DialogExpansion",["Animation","DialogPosition","LoadingDialogDimensions","Style"],(function(a,b,c,d,e,f){__p&&__p();var g=400,h=100;a=function(){"use strict";__p&&__p();function a(a){this._dialog=a,this._fixedTopMargin=a.getFixedTopPosition(),this._ignoreFixedTopInShortViewport=a.shouldIgnoreFixedTopInShortViewport()}var c=a.prototype;c.enable=function(){this._subscription=this._dialog.subscribe("aftershow",this._onAfterShow.bind(this))};c.disable=function(){this._subscription!=null&&(this._subscription.unsubscribe(),this._subscription=null)};c.setTargetWidth=function(a){this._targetWidth=a};c._onAfterShow=function(){__p&&__p();var a=this;this._outer=this._dialog.getContentRoot();this._inner=this._dialog.getInnerContent();if(isNaN(parseInt(b("Style").get(this._inner,"height"),10)))return;var c=this._getWidth(),d=this._getHeight(),e=b("DialogPosition").calculateTopMargin(c,d);b("Style").apply(this._inner,{opacity:"0",width:this._dialog.getWidth()+"px"});b("Style").apply(this._outer,{width:c+"px",height:d+"px",marginTop:e+"px",overflow:"hidden"});setTimeout(function(){var c=parseInt(a._dialog.getWidth(),10);a._targetWidth&&(c=a._targetWidth);var d=parseInt(b("Style").get(a._inner,"height"),10),e=b("DialogPosition").calculateTopMargin(c,d,a._fixedTopMargin,a._ignoreFixedTopInShortViewport);a._growThenFade(c,d,e)},100)};c._growThenFade=function(a,c,d){new(b("Animation"))(this._outer).to("width",a).to("height",c).to("marginTop",d).duration(g).ease(b("Animation").ease.both).ondone(this._fadeIn.bind(this)).go()};c._fadeIn=function(){var a=this;b("Style").set(this._outer,"overflow","");b("Style").set(this._outer,"height","");new(b("Animation"))(this._inner).from("opacity",0).to("opacity",1).ondone(function(){b("Style").set(a._inner,"opacity","1"),b("Style").set(a._inner,"width",""),a._dialog.inform("afterexpand")}).duration(h).go()};c._getWidth=function(){return b("LoadingDialogDimensions").WIDTH};c._getHeight=function(){return b("LoadingDialogDimensions").HEIGHT};return a}();e.exports=a}),null);
  __d("AudioContextSingleton",["FBLogger"],(function(a,b,c,d,e,f){var g=window.AudioContext||window.webkitAudioContext||window.mozAudioContext,h=null;a={get:function(){h==null&&(h=new g());h.state==="closed"&&(b("FBLogger")("project").warn("AudioContext Singleton has been closed"),h=new g());return h}};e.exports=a}),null);
  __d("CancelablePromise",["Promise","promiseDone"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){var c=this;this.$1=new(b("Promise"))(function(d,e){b("promiseDone")(a.then(function(a){return c.$2?e({isCanceled:!0}):d(a)})["catch"](function(a){return c.$2?e({isCanceled:!0}):e(a)}))});this.$2=!1}var c=a.prototype;c.getPromise=function(){return this.$1};c.cancel=function(){this.$2=!0};return a}();e.exports=a}),null);