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

__d("AdsGetDirectionsActionLink",[],(function a(b,c,d,e,f,g){f.exports={LINK_START:"fbgeo://",URI_REGEX:'^fbgeo:\\/\\/(-?\\d+(?:\\.\\d+)?),\\s*(-?\\d+(?:\\.\\d+)?)(?:,\\s*"([^"]+)")?(?:,\\s*"([^"]+)")?(?:,\\s*(\\d+))?$'}}),null);
__d("AdsOffsiteConversionConstants",[],(function a(b,c,d,e,f,g){f.exports={pixelTOS:"/customaudiences/app/tos",pixelNameMaxLength:100,statuses:{UNVERIFIED:"Unverified",ACTIVE:"Active",INACTIVE:"Inactive",DELETED:"Deleted"},statusOrdering:{Active:0,Inactive:1,Unverified:2},tags:["checkout","registration","lead","key_page_view","add_to_cart","other"],tagOrdering:{checkout:0,registration:1,lead:2,key_page_view:3,add_to_cart:4,other:5},tosProjectName:"offsite_conversion",emailSources:{ADS_MANAGER:"ads_manager",AYMT:"aymt",CREATE_FLOW:"create_flow",POWER_EDITOR:"power_editor"},uris:{HELP_PAGE_URL:"/help/435189689870514"},jsPixelFields:{PIXEL_ID:"id",NAME:"name",TAG:"tag",CREATED_BY:"created_by",CREATE_TIME:"create_time",STATUS:"status",OWNER_ADMARKET_ID:"owner_admarket_id",OWNER_ADACCOUNT_ID:"owner_adaccount_id",CREATOR_NAME:"creator_name",SHARERS_NAMES:"sharers_names",HAS_WRITE_PERMISSION:"has_write_permission",LAST_FIRING_TIME:"last_firing_time"}}}),null);
__d("DefaultSettingsValues",[],(function a(b,c,d,e,f,g){f.exports={ASSET_SECTION_TYPE:"OWNED",PANE:"CampaignGroupPane"}}),null);
__d("BoostedComponentCreativeActionTypesV2",["keyMirrorRecursive"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirrorRecursive")({FETCH_DEFAULT_CITY_SUBMIT:"",FETCH_DEFAULT_CITY_SUCCESS:"",FETCH_DEFAULT_CITY_FAIL:"",PHONE_NUMBER_VALIDATION_FAIL:"",PAGE_MESSAGING_ENABLE_REQUEST_SUBMIT:"",PAGE_MESSAGING_ENABLE_REQUEST_SUCCESS:"",PAGE_MESSAGING_ENABLE_REQUEST_FAIL:"",TOGGLE_CALL_TO_ACTION_SELECTOR:"",UPDATE_CALL_TO_ACTION:"",UPDATE_WELCOME_MESSAGE:"",GET_PAGE_MESSAGE_SETTING_SUBMIT:"",GET_PAGE_MESSAGE_SETTING_SUCCESS:"",GET_PAGE_MESSAGE_SETTING_FAIL:"",ADD_WHATSAPP_NUMBER_SUBMIT:"",ADD_WHATSAPP_NUMBER_SUCCESS:"",ADD_WHATSAPP_NUMBER_FAIL:"",CLEAR_WHATSAPP_VERIFICATION_STATUS:"",VALIDATE_WHATSAPP_VERIFICATION_CODE_SUBMIT:"",VALIDATE_WHATSAPP_VERIFICATION_CODE_SUCCESS:"",VALIDATE_WHATSAPP_VERIFICATION_CODE_FAIL:"",CLOSE_WHATSAPP_LINK_SUCCESS_BANNER:"",TOGGLE_WHATSAPP_NUMBER_READ_EDIT_MODE:"",OPEN_IMAGE_DIALOG:"",SELECT_CHILD_ATTACHMENT_INDEX:"",TOGGLE_CREATIVE_CATEGORY_LINK:"",UPDATE_IMAGE:"",UPDATE_IMAGE_CROPS:"",ADD_CHILDATTACHMENT:"",REMOVE_CHILDATTACHMENT:"",CLEAR_VIDEO_CREATIVE:"",UPDATE_VIDEO_LIBRARY:"",UPDATE_VIDEO_THUMBNAIL:"",VIDEO_ENCODING_SUCCESS:"",VIDEO_UPLOAD_CANCEL:"",VIDEO_UPLOAD_ERROR:"",VIDEO_UPLOAD_PROGRESS:"",VIDEO_UPLOAD_START:"",VIDEO_UPLOAD_SUCCESS:"",UPDATE_CREATIVE_BODY:"",UPDATE_CREATIVE_LINK_DATA_BODY:"",UPDATE_VIDEO_DESCRIPTION:"",UPDATE_VIDEO_HEADLINE:"",UPDATE_CREATIVE_LINK_DATA_HEADLINE:"",UPDATE_VIDEO_DATA_URL:"",UPDATE_LINK_DATA_URL:"",UPDATE_LINK_DATA_FROM_DESTINATION_DATA:"",UPDATE_MAP_CARDS:""},"BoostedComponenCreative");f.exports=h}),null);
__d("ShutterstockImageUtils",[],(function a(b,c,d,e,f,g){"use strict";var h="ssimg_",i="shutterstock://",j={isStockImageURL:function k(l){return l.startsWith(i)},urlToID:function k(l){return l.replace(i,h)},idToURL:function k(l){return l.replace(h,i)}};f.exports=j}),null);
__d("AdsImageInfoUtils",["AdsImageIDClasses","Cache","immutable","keyMirror"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsImageIDClasses").AdsImageID,i="-query-type-",j=c("immutable").Record({displayHeight:null,displayWidth:null,height:null,name:null,realHeight:null,realWidth:null,url:null,width:null,isSphericalPhoto:null}),k=c("keyMirror")({FULL_SIZE:null,FULL_SIZE_URL:null,NAME:null,PREVIEW:null,THUMBNAIL:null,THUMBNAIL_URL:null,HIGH_RES_THUMBNAIL:null,HIGH_RES_THUMBNAIL_URL:null,IS_SPHERICAL_PHOTO:null}),l=new(c("Cache"))();function m(o,p){var q=""+o.getSignature()+i+p;l.set(q,{imageID:o,queryType:p});return q}function n(o){var p=l.get(o);if(p!=null)return p;var q=o.split(i),r=q[0],s=q[1];return{queryType:s,imageID:h.fromSignature(r)}}f.exports={convertStringKeyToKey:n,convertKeyToStringKey:m,InternalImage:j,QueryTypes:k}}),null);
__d("AdsBaseImageInfoStore",["invariant","AdsImageInfoUtils","FluxDerivedStore","gkx"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("gkx")("AT48MTjoltsXJycb3o69Gm5cN8H3-OI3mR_5ql-_HXcBDCE5xXVfHwNsql05URRSERT5Cn_gFFtybyMTQ-9dy6zO");function l(o,p){if(k)return c("AdsImageInfoUtils").convertKeyToStringKey(o,p);else return{imageID:o,queryType:p}}function m(o){if(k){typeof o==="string"||h(0);return c("AdsImageInfoUtils").convertStringKeyToKey(o)}else{typeof o!=="string"||h(0);return o}}i=babelHelpers.inherits(n,c("FluxDerivedStore"));j=i&&i.prototype;n.prototype.getByQuery=function(o,p){return this.get(l(o,p))};function n(){i.apply(this,arguments)}f.exports={_getCacheKeyFromImageInfoQuery:l,_getImageInfoQueryFromCacheKey:m,AdsBaseImageInfoStore:n}}),null);
__d("AdsImageDimensionDataLoader",["Promise","CachedDOMImageSizePool"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(){this.$AdsImageDimensionDataLoader1=new(c("CachedDOMImageSizePool"))(1e3,30*60*1e3)}h.prototype.getDimensionByURL=function(i){return new(c("Promise"))(function(j,k){this.$AdsImageDimensionDataLoader1.get(i,function(l,m){if(l&&m)j({width:l,height:m});else k(new Error("Failed to fetch dimension for "+i))})}.bind(this))};f.exports=new h()}),null);
__d("AdsImageDimensionLoadImageDimensionErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"IMAGE_DIMENSION.LOAD_IMAGE_DIMENSION_ERROR");f.exports=h}),null);
__d("AdsImageDimensionLoadImageDimensionSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"IMAGE_DIMENSION.LOAD_IMAGE_DIMENSION_SUCCESS");f.exports=h}),null);
__d("AdsImageDimensionDataManager",["AdsDataAtom","AdsImageDimensionDataLoader","AdsImageDimensionLoadImageDimensionErrorDataAction","AdsImageDimensionLoadImageDimensionSuccessDataAction"],(function a(b,c,d,e,f,g){"use strict";h.prototype.loadDimension=function(i){c("AdsImageDimensionDataLoader").getDimensionByURL(i).done(function(j){return c("AdsDataAtom").handleUpdateFromServerResponse({type:c("AdsImageDimensionLoadImageDimensionSuccessDataAction").actionType,data:{url:i,dimension:j}})},function(){return c("AdsDataAtom").handleUpdateFromServerResponse({type:c("AdsImageDimensionLoadImageDimensionErrorDataAction").actionType,data:{url:i}})})};function h(){}f.exports=new h()}),null);
__d("AdsImageDimensionStore",["AdsDataAtom","AdsImageDimensionDataManager","AdsImageDimensionLoadImageDimensionErrorDataAction","AdsImageDimensionLoadImageDimensionSuccessDataAction","FluxLoadObjectStore"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("FluxLoadObjectStore"));i=h&&h.prototype;j.prototype.reduce=function(k,l){var m=l.action;switch(m.type){case c("AdsImageDimensionLoadImageDimensionSuccessDataAction").actionType:return this.__handleOne(k,m.data.url,m.data.dimension);case c("AdsImageDimensionLoadImageDimensionErrorDataAction").actionType:var n=new Error("Fail to fetch dimension for "+m.data.url);return this.__handleOne(k,m.data.url,n)}return k};j.prototype.__load=function(k){c("AdsImageDimensionDataManager").loadDimension(k)};function j(){h.apply(this,arguments)}f.exports=new j(c("AdsDataAtom"))}),null);
__d("AdsPageImageSourceImageListLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"ADS_PAGE_IMAGE_SOURCE_IMAGE_LIST_LOADED");f.exports=h}),null);
__d("AdsPageImageSourceDataLoader",["AdsGraphAPI","AdsImageIDClasses","AdsPageImageSourceImageListLoadedDataAction"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsImageIDClasses").AdsImageID,i=["images","picture","id"],j=25;k.prototype.loadPageImageIDs=function(l,m){var n=l.pageID,o={fields:i,limit:j,type:"uploaded",after:m};c("AdsGraphAPI").get(f.id).object("page",n).edge("photos").get(o).done(function(p){var q=p.data,r=q.map(function(t){var u=t.images.reduce(function(v,w){return v.width<w.width?w:v});return{height:u.height,id:t.id,url:u.source,url_128:t.picture,width:u.width}}),s=r.map(function(t){return h.fromExternalURL(t.url)});c("AdsPageImageSourceImageListLoadedDataAction").dispatch({response:{query:l,imageDataList:r,imageIDList:s,after:p.paging&&p.paging.next?p.paging.cursors.after:undefined}})},function(p){return null})};function k(){}f.exports=new k()}),null);
__d("AdsPageImagesQuery",["immutable"],(function a(b,c,d,e,f,g){"use strict";var h,i,j=c("immutable").Record({pageID:undefined,pageLimit:25});h=babelHelpers.inherits(k,j);i=h&&h.prototype;function k(){h.apply(this,arguments)}f.exports=k}),null);
__d("AdsPageImageSourceImageDataStore",["invariant","AdsDataAtom","AdsImageIDClasses","AdsPageImageSourceDataLoader","AdsPageImageSourceImageListLoadedDataAction","AdsPageImagesQuery","FluxLoadObjectStore","immutable","LoadObject"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("AdsImageIDClasses").AdsFacebookImageID;i=babelHelpers.inherits(l,c("FluxLoadObjectStore"));j=i&&i.prototype;l.prototype.getInitialState=function(){return c("immutable").Map()};l.prototype.reduce=function(m,n){var o=n.action;switch(o.type){case c("AdsPageImageSourceImageListLoadedDataAction").actionType:return this.$AdsPageImageSourceImageDataStore1(m,o.response);default:return m}};l.prototype.__load=function(m){if(m instanceof k){var n=new(c("AdsPageImagesQuery"))({pageID:m.getFacebookID()});c("AdsPageImageSourceDataLoader").loadPageImageIDs(n)}};l.prototype.$AdsPageImageSourceImageDataStore1=function(m,n){var o=n.imageIDList,p=n.imageDataList;o.length===p.length||h(0);return m.withMutations(function(q){return o.forEach(function(r,s){return q.set(r,c("LoadObject").withValue(p[s]))})})};function l(){i.apply(this,arguments)}f.exports=new l(c("AdsDataAtom"))}),null);
__d("AdsPageImageInfoStore",["invariant","AdsBaseImageInfoStore","AdsDataAtom","AdsImageDimensionStore","AdsImageIDClasses","AdsImageInfoUtils","AdsPageImageSourceImageDataStore","LoadObject"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("AdsBaseImageInfoStore").AdsBaseImageInfoStore,l=c("AdsBaseImageInfoStore")._getImageInfoQueryFromCacheKey,m=c("AdsImageIDClasses").AdsFacebookImageID,n=c("AdsImageIDClasses").AdsImageID,o=c("AdsImageInfoUtils").InternalImage,p=c("AdsImageInfoUtils").QueryTypes;i=babelHelpers.inherits(q,k);j=i&&i.prototype;q.prototype.__getStores=function(){return[c("AdsImageDimensionStore"),c("AdsPageImageSourceImageDataStore")]};q.prototype.__getData=function(r){var s=l(r),t=s.imageID,u=s.queryType;t instanceof m||h(0);switch(u){case p.HIGH_RES_THUMBNAIL_URL:return this.$AdsPageImageInfoStore1(t);case p.THUMBNAIL_URL:return this.$AdsPageImageInfoStore2(t);case p.THUMBNAIL:return this.$AdsPageImageInfoStore3(t);case p.FULL_SIZE_URL:return this.$AdsPageImageInfoStore4(t);case p.FULL_SIZE:return this.$AdsPageImageInfoStore5(t);default:return c("LoadObject").empty()}};q.prototype.$AdsPageImageInfoStore1=function(r){var s=c("AdsPageImageSourceImageDataStore").get(r);return s.map(function(t){return new o({url:t.url_128})})};q.prototype.$AdsPageImageInfoStore2=function(r){var s=c("AdsPageImageSourceImageDataStore").get(r);return s.map(function(t){return new o({url:t.url_128})})};q.prototype.$AdsPageImageInfoStore3=function(r){var s=c("AdsPageImageSourceImageDataStore").get(r);return s.map(function(t){return this.$AdsPageImageInfoStore6(t.url_128,null,null)}.bind(this))};q.prototype.$AdsPageImageInfoStore4=function(r){var s=c("AdsPageImageSourceImageDataStore").get(r);return s.map(function(t){return new o({url:t.url})})};q.prototype.$AdsPageImageInfoStore5=function(r){var s=c("AdsPageImageSourceImageDataStore").get(r);return s.map(function(t){return new o({url:t.url,height:t.height,width:t.width})})};q.prototype.$AdsPageImageInfoStore6=function(r,s,t){var u=c("AdsImageDimensionStore").get(r);return u.map(function(v){return new o({displayHeight:t||v.height,displayWidth:s||v.width,realHeight:v.height,realWidth:v.width,url:r})})};q.prototype.__computeResult=function(r,s){return s};function q(){i.apply(this,arguments)}f.exports=new q(c("AdsDataAtom"))}),null);
__d("AdsStockImageSourceImageDataLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"ADS_STOCK_IMAGE_SOURCE_IMAGE_DATA_LOADED");f.exports=h}),null);
__d("AdsStockImageSourceImageListLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"ADS_STOCK_IMAGE_SOURCE_IMAGE_LIST_LOADED");f.exports=h}),null);
__d("AdsStockImageSourceDataLoader",["invariant","AdsAPIShutterstockImageFields","AdsGraphAPI","AdsImageIDClasses","AdsStockImageSourceImageDataLoadedDataAction","AdsStockImageSourceImageListLoadedDataAction"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=25,j=c("AdsImageIDClasses").AdsImageID,k=c("AdsImageIDClasses").AdsShutterstockImageID,l=[c("AdsAPIShutterstockImageFields").ID,c("AdsAPIShutterstockImageFields").PREVIEW,c("AdsAPIShutterstockImageFields").PREVIEW_URL,c("AdsAPIShutterstockImageFields").THUMBNAIL];m.prototype.loadOneImageData=function(n){n instanceof k||h(0);var o=n.getShutterstockImageID();c("AdsGraphAPI").get(f.id).root(o).get({fields:l}).done(function(p){var q=p;c("AdsStockImageSourceImageDataLoadedDataAction").dispatch({response:{imageID:n,imageData:{stockImageID:q.id,preview:q.preview,thumbnail:q.thumbnail,fullSizeURL:q.preview_url}}})})};m.prototype.loadSearchResults=function(n,o){c("AdsGraphAPI").get(f.id).search("adstockimage").get({limit:i,locale:"user",q:n,after:o}).done(function(p){var q=p.data,r=q.map(function(t){return j.fromShutterstockID(t.id)}),s=q.map(function(t){return{stockImageID:t.id,preview:t.preview,thumbnail:t.thumbnail}}),o=p.paging&&p.paging.next?p.paging.cursors.after:undefined;c("AdsStockImageSourceImageListLoadedDataAction").dispatch({response:{query:n,imageIDs:r,imageDataList:s,after:o}})})};function m(){}f.exports=new m()}),null);
__d("AdsStockImageSourceImageLoadFullSizeURLDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"ADS_STOCK_IMAGE_SOURCE_IMAGE_LOAD_FULL_SIZE_URL");f.exports=h}),null);
__d("AdsStockImageSourceImageDataStore",["invariant","AdsDataAtom","AdsStockImageSourceDataLoader","AdsStockImageSourceImageDataLoadedDataAction","AdsStockImageSourceImageListLoadedDataAction","AdsStockImageSourceImageLoadFullSizeURLDataAction","FluxLoadObjectStore","immutable","LoadObject"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("FluxLoadObjectStore"));j=i&&i.prototype;k.prototype.getInitialState=function(){return c("immutable").Map()};k.prototype.getWithFullSizeURL=function(l){var m=this.get(l),n=m.getValue();if(n&&!n.fullSizeURL&&!m.isUpdating())c("AdsStockImageSourceImageLoadFullSizeURLDataAction").dispatch({imageID:l});return m};k.prototype.reduce=function(l,m){var n=m.action;switch(n.type){case c("AdsStockImageSourceImageListLoadedDataAction").actionType:return this.$AdsStockImageSourceImageDataStore1(l,n.response);case c("AdsStockImageSourceImageDataLoadedDataAction").actionType:return this.$AdsStockImageSourceImageDataStore2(l,n.response);case c("AdsStockImageSourceImageLoadFullSizeURLDataAction").actionType:return this.$AdsStockImageSourceImageDataStore3(l,n.imageID);default:return l}};k.prototype.__load=function(l){c("AdsStockImageSourceDataLoader").loadOneImageData(l)};k.prototype.$AdsStockImageSourceImageDataStore2=function(l,m){var n=m.imageID,o=m.imageData,p=this.get(n).getValue();if(p)o.preview=p.preview;return l.set(n,c("LoadObject").withValue(o))};k.prototype.$AdsStockImageSourceImageDataStore1=function(l,m){var n=m.imageIDs,o=m.imageDataList;n.length===o.length||h(0);return l.withMutations(function(p){return n.forEach(function(q,r){return p.set(q,c("LoadObject").withValue(o[r]))})})};k.prototype.$AdsStockImageSourceImageDataStore3=function(l,m){var n=this.get(m);if(!n.isUpdating()){this.__load(m);return this.__setUpdating(l,[m])}return l};function k(){i.apply(this,arguments)}f.exports=new k(c("AdsDataAtom"))}),null);
__d("AdsAdgroupChildAttachmentsFieldMappingRecord",["AdsAdgroupChildAttachmentsFields","immutable","emptyFunction","mapObject"],(function a(b,c,d,e,f,g){"use strict";var h,i,j=c("mapObject").untyped(c("AdsAdgroupChildAttachmentsFields"),c("emptyFunction").thatReturnsNull);h=babelHelpers.inherits(k,c("immutable").Record(j));i=h&&h.prototype;function k(){h.apply(this,arguments)}f.exports=k}),null);
__d("AdsAdgroupChildAttachmentsFieldMappings",["AdsAdgroupChildAttachmentsFieldMappingRecord","AdsAdgroupChildAttachmentsFields","AdsAPICallToActionPaths","ApiObjectStorySpecLinkChildFields","ApiObjectStorySpecPlaceDataFields","filterObject","whitelistObjectKeys"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={callToActionType:[c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION].concat(c("AdsAPICallToActionPaths").TYPE),callToActionValue:[c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION].concat(c("AdsAPICallToActionPaths").VALUE.path),callToActionLink:[c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION].concat(c("AdsAPICallToActionPaths").VALUE.LINK),callToActionCaption:[c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION].concat(c("AdsAPICallToActionPaths").VALUE.CAPTION),callToActionAppLink:[c("ApiObjectStorySpecLinkChildFields").CALL_TO_ACTION].concat(c("AdsAPICallToActionPaths").VALUE.APP_LINK),caption:[c("ApiObjectStorySpecLinkChildFields").CAPTION],captionIDs:[c("ApiObjectStorySpecLinkChildFields").CAPTION_IDS],description:[c("ApiObjectStorySpecLinkChildFields").DESCRIPTION],headline:[c("ApiObjectStorySpecLinkChildFields").NAME],imageCrops:[c("ApiObjectStorySpecLinkChildFields").IMAGE_CROPS],imageHash:[c("ApiObjectStorySpecLinkChildFields").IMAGE_HASH],imageURL:[c("ApiObjectStorySpecLinkChildFields").PICTURE],link:[c("ApiObjectStorySpecLinkChildFields").CAPTION],linkURL:[c("ApiObjectStorySpecLinkChildFields").LINK],placeDataAddress:[c("ApiObjectStorySpecLinkChildFields").PLACE_DATA,c("ApiObjectStorySpecPlaceDataFields").ADDRESS_STRING],placeDataLabel:[c("ApiObjectStorySpecLinkChildFields").PLACE_DATA,c("ApiObjectStorySpecPlaceDataFields").LABEL],placeDataLatitude:[c("ApiObjectStorySpecLinkChildFields").PLACE_DATA,c("ApiObjectStorySpecPlaceDataFields").LATITUDE],placeDataLocationSourceID:[c("ApiObjectStorySpecLinkChildFields").PLACE_DATA,c("ApiObjectStorySpecPlaceDataFields").LOCATION_SOURCE_ID],placeDataLongitude:[c("ApiObjectStorySpecLinkChildFields").PLACE_DATA,c("ApiObjectStorySpecPlaceDataFields").LONGITUDE],placeDataType:[c("ApiObjectStorySpecLinkChildFields").PLACE_DATA,c("ApiObjectStorySpecPlaceDataFields").TYPE],staticCard:[c("ApiObjectStorySpecLinkChildFields").STATIC_CARD],videoID:[c("ApiObjectStorySpecLinkChildFields").VIDEO_ID]},i=[c("AdsAdgroupChildAttachmentsFields").callToActionValue,c("AdsAdgroupChildAttachmentsFields").callToActionLink,c("AdsAdgroupChildAttachmentsFields").callToActionCaption],j=[c("AdsAdgroupChildAttachmentsFields").placeDataAddress,c("AdsAdgroupChildAttachmentsFields").placeDataLabel,c("AdsAdgroupChildAttachmentsFields").placeDataLatitude,c("AdsAdgroupChildAttachmentsFields").placeDataLongitude,c("AdsAdgroupChildAttachmentsFields").placeDataType];function k(t){return new(c("AdsAdgroupChildAttachmentsFieldMappingRecord"))(c("filterObject")(h,function(u,v){return t.every(function(w){return w.name!==v})}))}function l(t){return new(c("AdsAdgroupChildAttachmentsFieldMappingRecord"))(c("whitelistObjectKeys")(h,t.map(function(u){return u.name})))}var m=k([c("AdsAdgroupChildAttachmentsFields").staticCard]),n=k([].concat(i)),o=l([c("AdsAdgroupChildAttachmentsFields").callToActionType,c("AdsAdgroupChildAttachmentsFields").description,c("AdsAdgroupChildAttachmentsFields").headline,c("AdsAdgroupChildAttachmentsFields").linkURL]),p=l([c("AdsAdgroupChildAttachmentsFields").caption,c("AdsAdgroupChildAttachmentsFields").captionIDs,c("AdsAdgroupChildAttachmentsFields").description,c("AdsAdgroupChildAttachmentsFields").headline,c("AdsAdgroupChildAttachmentsFields").imageCrops,c("AdsAdgroupChildAttachmentsFields").imageHash,c("AdsAdgroupChildAttachmentsFields").imageURL,c("AdsAdgroupChildAttachmentsFields").linkURL,c("AdsAdgroupChildAttachmentsFields").videoID]),q=l([c("AdsAdgroupChildAttachmentsFields").headline,c("AdsAdgroupChildAttachmentsFields").imageCrops,c("AdsAdgroupChildAttachmentsFields").imageHash,c("AdsAdgroupChildAttachmentsFields").imageURL]),r=l([c("AdsAdgroupChildAttachmentsFields").placeDataLocationSourceID,c("AdsAdgroupChildAttachmentsFields").placeDataType]),s=new(c("AdsAdgroupChildAttachmentsFieldMappingRecord"))();f.exports={DYNAMIC_CAROUSEL_DYNAMIC_CARD_MAPPINGS:o,DYNAMIC_AND_REALTIME_CAROUSEL_PLACE_CARD_MAPPINGS:r,DYNAMIC_CAROUSEL_STATIC_CARD_MAPPINGS:n,EMPTY_CAROUSEL_MAPPINGS:s,STATIC_CAROUSEL_MAPPINGS:m,STATIC_CAROUSEL_PLACE_CARD_FIELDS:j,STORE_VISITS_STATIC_CARD_MAPPINGS:p,STORE_VISITS_WITH_OFFER_STATIC_CARD_MAPPINGS:q}}),null);
__d("AdsImageConstants",["AdsAPIAdgroupPaths","immutable"],(function a(b,c,d,e,f,g){"use strict";var h=c("immutable").Record({CREATED_TIME_ASCENDING:"created_time_ascending",CREATED_TIME_DESCENDING:"created_time_descending",HEIGHT_ASCENDING:"height_ascending",HEIGHT_DESCENDING:"height_descending",IMAGE_HASH_PATHS:[c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_HASH,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.IMAGE_HASH,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.IMAGE_HASH,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.IMAGE_HASH,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.IMAGE_HASH],IMAGE_URL_PATHS:[c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_URL,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.PICTURE,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.URL,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.PICTURE],IMAGE_ARRAY_PATHS:[c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.IMAGES],MAX_THUMBNAIL_DIMENSION:128,UPLOAD_BOX_ASPECT_RATIO:1.5,WIDTH_ASCENDING:"width_ascending",WIDTH_DESCENDING:"width_descending"});f.exports=new h()}),null);
__d("AdsInstagramSoftErrors",["errorCode"],(function a(b,c,d,e,f,g,h){"use strict";var i;f.exports=(i={},i[2016004]="",i[2016005]="",i[1772049]="",i[1772063]="",i[1772095]="",i[1772048]="",i[2016007]="",i[2016006]="",i[1772069]="",i[1772081]="",i[1772077]="",i[1772073]="",i[1815238]="",i[1772076]="",i[2016008]="",i[1772074]="",i[1815390]="",i[1815463]="",i[1815605]="",i[1772130]="",i[1772122]="",i)}),null);
__d("SignalsExperimentEnum",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({PIXEL_FLOW_IMPROVEMENT:"pixel_flow_improvement",PIXEL_FLOW_SOLUTION_SUGGESTION:"pixel_flow_solution_suggestion",PIXEL_GUIDE_EFFECTIVENESS:"pixel_guide_effectiveness",PIXEL_OPENCART_EXPERIMENT:"pixel_opencart_experiment",PIXEL_PRESTASHOP_EXPERIMENT:"pixel_prestashop_experiment",PIXEL_QUICK_START_LINK:"pixel_quick_start_link",PIXEL_VIDEO_EXPERIMENT:"pixel_video_experiment",PIXEL_WORDPRESS_EXPERIMENT:"pixel_wordpress_experiment",OFFLINE_NEW_UPLOADER_FLOW:"offline_new_uploader_flow",OFFLINE_SETUP_FLOW:"offline_setup_flow",VIEW_ANALYTICS_LINK:"view_analytics_link_exp",DIAGNOSTICS_TAB_EXPERIMENT:"diagnostics_tab_experiment"})}),null);
__d("AdsPixelConstants",["fbt","AdsOffsiteConversionConstants","Link.react","React","SignalsExperimentEnum"],(function a(b,c,d,e,f,g,h){"use strict";var i="pixel_flow_improvement_universe",j="biz_pixel_flow_improvement_qe",k=c("SignalsExperimentEnum").PIXEL_FLOW_IMPROVEMENT,l=c("SignalsExperimentEnum").PIXEL_FLOW_SOLUTION_SUGGESTION,m=c("SignalsExperimentEnum").PIXEL_QUICK_START_LINK,n={UNVERIFIED:c("AdsOffsiteConversionConstants").statuses.UNVERIFIED,ACTIVE:c("AdsOffsiteConversionConstants").statuses.ACTIVE,INACTIVE:c("AdsOffsiteConversionConstants").statuses.INACTIVE,DELETED:c("AdsOffsiteConversionConstants").statuses.DELETED},o=[c("React").createElement("span",null,h._("Copy and paste the following code between {=\u003Chead>} and {=\u003C\/head>} on the page of your website you want to track actions. For example, to track registrations, place the code on your 'registration completed' web page.",[h.param("=<head>","<head>"),h.param("=</head>","</head>")])),c("React").createElement("span",null,h._("To include a monetary value for each conversion, edit the code to assign a conversion value using the 'value' and 'currency' fields. You'll also need to modify the JavaScript code and image URL within {noscript}. {Learn more}.",[h.param("noscript","<noscript>"),h.param("Learn more",c("React").createElement(c("Link.react"),{href:"https://www.facebook.com/help/www/464828030234857",target:"_blank"},h._("Learn more")))])),c("React").createElement("span",null,h._("To verify that the pixel is working correctly, test it by navigating to the web page you put the pixel on. If it's working, the pixel will send that information back to Facebook.")),c("React").createElement("span",null,h._("Come back to Facebook to start using your website conversion-tracking pixel in your campaigns."))];f.exports={categoryLabels:{checkout:h._("Checkouts"),registration:h._("Registrations"),lead:h._("Leads"),key_page_view:h._("Key Page Views"),add_to_cart:h._("Adds to Cart"),other:h._("Other Website Conversions")},statuses:n,pixelVerificationSteps:o,AD_ACCOUNT_QE_UNIVERSE:i,BUSINESS_ACCOUNT_QE_UNIVERSE:j,PIXEL_FLOW_EXPERIMENT:k,PIXEL_FLOW_SOLUTION_SUGGESTION:l,PIXEL_QUICK_START:m}}),null);
__d("AdsUnifiedCreativeAPIFieldMappingRecord",["AdsUnifiedCreativeAPIFields","immutable","emptyFunction","mapObject"],(function a(b,c,d,e,f,g){"use strict";var h,i,j=c("mapObject").untyped(c("AdsUnifiedCreativeAPIFields"),c("emptyFunction").thatReturnsNull);h=babelHelpers.inherits(k,c("immutable").Record(j));i=h&&h.prototype;function k(){h.apply(this,arguments)}f.exports=k}),null);
__d("AdsUnifiedCreativeAPIFieldMappings",["AdsAPIAdgroupPaths","AdsUnifiedCreativeAPIFieldMappingRecord"],(function a(b,c,d,e,f,g){"use strict";var h=new(c("AdsUnifiedCreativeAPIFieldMappingRecord"))({callToActionType:c("AdsAPIAdgroupPaths").CREATIVE.CALL_TO_ACTION_TYPE,headline:c("AdsAPIAdgroupPaths").CREATIVE.TITLE,imageCrops:c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_CROPS,imageHash:c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_HASH,imageURL:c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_URL,linkURL:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_URL,message:c("AdsAPIAdgroupPaths").CREATIVE.BODY}),i=new(c("AdsUnifiedCreativeAPIFieldMappingRecord"))({additionalImageIndex:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.ADDITIONAL_IMAGE_INDEX,brandedContentSponsorPageID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.BRANDED_CONTENT_SPONSOR_PAGE_ID,brandedContentSponsorRelationship:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.BRANDED_CONTENT_SPONSOR_RELATIONSHIP,brandedContentSharedToSponsorStatus:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.BRANDED_CONTENT_SHARED_TO_SPONSOR_STATUS,callToAction:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.path,callToActionType:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.TYPE,callToActionValue:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.path,childAttachments:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CHILD_ATTACHMENTS,collectionThumbnails:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.COLLECTION_THUMBNAILS,displayURL:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CAPTION,eventID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.EVENT_ID,eventTourID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.EVENT_TOUR_ID,headline:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.NAME,imageCrops:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.IMAGE_CROPS,imageHash:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.IMAGE_HASH,imageURL:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.PICTURE,instagramActorID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.INSTAGRAM_ACTOR_ID,linkDescription:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.DESCRIPTION,linkURL:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.LINK,locationSourceID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.LOCATION_EXTENSION_SOURCE_ID,message:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.MESSAGE,multiShareEndCard:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.MULTI_SHARE_END_CARD,multiShareOptimized:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.MULTI_SHARE_OPTIMIZED,offerID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.OFFER_ID,pageID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PAGE_ID,pageWelcomeMessage:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.PAGE_WELCOME_MESSAGE,productSetID:c("AdsAPIAdgroupPaths").CREATIVE.PRODUCT_SET_ID,postClickItemDescription:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.POST_CLICK_CONFIGURATION.POST_CLICK_ITEM_DESCRIPTION,postClickItemHeadline:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.POST_CLICK_CONFIGURATION.POST_CLICK_ITEM_HEADLINE,retailerItemIDs:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.RETAILER_ITEM_IDS}),j=new(c("AdsUnifiedCreativeAPIFieldMappingRecord"))({headline:c("AdsAPIAdgroupPaths").CREATIVE.TITLE,imageCrops:c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_CROPS,imageHash:c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_HASH,imageURL:c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_URL,linkURL:c("AdsAPIAdgroupPaths").CREATIVE.LINK_URL,message:c("AdsAPIAdgroupPaths").CREATIVE.BODY,pageID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_ID}),k=new(c("AdsUnifiedCreativeAPIFieldMappingRecord"))({brandedContentSponsorPageID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.BRANDED_CONTENT_SPONSOR_PAGE_ID,brandedContentSponsorRelationship:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.BRANDED_CONTENT_SPONSOR_RELATIONSHIP,brandedContentSharedToSponsorStatus:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.BRANDED_CONTENT_SHARED_TO_SPONSOR_STATUS,imageHash:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.IMAGE_HASH,imageURL:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.URL,instagramActorID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.INSTAGRAM_ACTOR_ID,locationSourceID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.LOCATION_EXTENSION_SOURCE_ID,message:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.CAPTION,pageID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PAGE_ID,pageWelcomeMessage:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.PAGE_WELCOME_MESSAGE}),l=new(c("AdsUnifiedCreativeAPIFieldMappingRecord"))({additionalImageIndex:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.ADDITIONAL_IMAGE_INDEX,callToActionType:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.CALL_TO_ACTION.TYPE,callToActionValue:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.CALL_TO_ACTION.VALUE.path,catalogAssetFormatOption:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.FORMAT_OPTION,childAttachments:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.CHILD_ATTACHMENTS,collectionThumbnails:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.COLLECTION_THUMBNAILS,displayURL:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.CAPTION,forceSingleLink:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.FORCE_SINGLE_LINK,headline:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.NAME,imageCrops:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.IMAGE_CROPS,imageHash:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.IMAGE_HASH,imageURL:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.PICTURE,instagramActorID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.INSTAGRAM_ACTOR_ID,linkDescription:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.DESCRIPTION,linkURL:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.LINK,message:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.MESSAGE,multiShareEndCard:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.MULTI_SHARE_END_CARD,multiShareOptimized:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.MULTI_SHARE_OPTIMIZED,offerID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.OFFER_ID,pageID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PAGE_ID,postClickItemDescription:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.POST_CLICK_CONFIGURATION.POST_CLICK_ITEM_DESCRIPTION,postClickItemHeadline:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.POST_CLICK_CONFIGURATION.POST_CLICK_ITEM_HEADLINE,productSetID:c("AdsAPIAdgroupPaths").CREATIVE.PRODUCT_SET_ID,retailerItemIDs:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.RETAILER_ITEM_IDS}),m=new(c("AdsUnifiedCreativeAPIFieldMappingRecord"))({additionalImageIndex:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.ADDITIONAL_IMAGE_INDEX,brandedContentSponsorPageID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.BRANDED_CONTENT_SPONSOR_PAGE_ID,brandedContentSponsorRelationship:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.BRANDED_CONTENT_SPONSOR_RELATIONSHIP,brandedContentSharedToSponsorStatus:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.BRANDED_CONTENT_SHARED_TO_SPONSOR_STATUS,callToAction:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.path,callToActionType:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.TYPE,callToActionValue:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.path,captionIDs:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CAPTION_IDS,childAttachments:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CHILD_ATTACHMENTS,collectionThumbnails:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.COLLECTION_THUMBNAILS,displayURL:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.CAPTION,eventID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.EVENT_ID,eventTourID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.EVENT_TOUR_ID,headline:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.TITLE,instagramActorID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.INSTAGRAM_ACTOR_ID,linkDescription:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.LINK_DESCRIPTION,linkURL:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.LINK,locationSourceID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.LOCATION_EXTENSION_SOURCE_ID,message:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.MESSAGE,offerID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.OFFER_ID,pageID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PAGE_ID,pageWelcomeMessage:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.PAGE_WELCOME_MESSAGE,postClickItemDescription:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.POST_CLICK_CONFIGURATION.POST_CLICK_ITEM_DESCRIPTION,postClickItemHeadline:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.POST_CLICK_CONFIGURATION.POST_CLICK_ITEM_HEADLINE,productSetID:c("AdsAPIAdgroupPaths").CREATIVE.PRODUCT_SET_ID,retailerItemIDs:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.RETAILER_ITEM_IDS,videoID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.VIDEO_ID,videoThumbnailURL:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.IMAGE_URL}),n=new(c("AdsUnifiedCreativeAPIFieldMappingRecord"))({instagramActorID:c("AdsAPIAdgroupPaths").CREATIVE.INSTAGRAM_ACTOR_ID}),o=new(c("AdsUnifiedCreativeAPIFieldMappingRecord"))({callToActionType:c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.CALL_TO_ACTION_TYPES,captionIDs:c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.VIDEOS,displayURL:c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.LINK_URLS,headline:c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.TITLES,imageCrops:c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.IMAGES,imageHash:c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.IMAGES,imageURL:c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.IMAGES,instagramActorID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.INSTAGRAM_ACTOR_ID,linkDescription:c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.DESCRIPTIONS,linkURL:c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.LINK_URLS,message:c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.BODIES,pageID:c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PAGE_ID,videoID:c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.VIDEOS,videoThumbnailURL:c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.VIDEOS}),p=new(c("AdsUnifiedCreativeAPIFieldMappingRecord"))({});f.exports={ASSET_FEED_MAPPING:o,DOMAIN_MAPPING:h,LINK_MAPPING:i,INVALID_MAPPING:p,PAGE_MAPPING:j,PHOTO_MAPPING:k,STATUS_MAPPING:n,TEMPLATE_MAPPING:l,VIDEO_MAPPING:m}}),null);
__d("AdsRegistry",["invariant","Map"],(function a(b,c,d,e,f,g,h){"use strict";var i=new(c("Map"))(),j={find:function k(l){i.has(l)||h(0);return i.get(l)},register:function k(l,m){!i.has(l)||h(0);i.set(l,m)}};f.exports=j}),null);
__d("AdsGetter",["invariant","AdsRegistry"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();i.getPath=function(){h(0)};i.get=function(j){var k=c("AdsRegistry").find(this.getPath());k instanceof i||h(0);return k.__get(j)};i.getWithoutWaitFor_HACK=function(j){var k=c("AdsRegistry").find(this.getPath());k instanceof i||h(0);return k.__getWithoutWaitFor_HACK(j)};i.getStores=function(){var j=c("AdsRegistry").find(this.getPath());j instanceof i||h(0);return j.__stores};function i(j){__p&&__p();var k=j.get,l=j.stores;l&&l.length>0||h(0);var m=l.map(function(o){return o.getDispatchToken()}),n=l[0].getDispatcher();l.every(function(o){return o.getDispatcher()===n})||h(0);this.__stores=l;this.__get=function(o){if(n.isDispatching())n.waitFor(m);return k(o)};this.__getWithoutWaitFor_HACK=function(o){return k(o)}}i.prototype.register=function(){c("AdsRegistry").register(this.constructor.getPath(),this)};f.exports=i}),null);
__d("AdsCampaignGroupPromotedPageIDGetter",["AdsGetter"],(function a(b,c,d,e,f,g){"use strict";var h,i;h=babelHelpers.inherits(j,c("AdsGetter"));i=h&&h.prototype;j.getPath=function(){return"campaign_group_promoted_page_id"};function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("AdsObjectiveGetter",["AdsGetter"],(function a(b,c,d,e,f,g){"use strict";var h,i;h=babelHelpers.inherits(j,c("AdsGetter"));i=h&&h.prototype;j.getPath=function(){return"objective"};function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("AdsImageActionType",["keyMirrorRecursive"],(function a(b,c,d,e,f,g){"use strict";var h={BATCH_LOADED:"",BATCH_LOAD_ERROR:"",IMAGE_COLLECTION_ADD_TO_FRONT:"",IMAGE_COLLECTION_ADD_TO_FRONT_AND_MAYBE_SELECT:"",IMAGE_COLLECTION_INVALIDATED:"",IMAGE_COLLECTION_SET_SELECTED:"",IMAGES_DELETE:"",IMAGES_END_REACHED:"",IMAGES_INVALIDATED:"",IMAGES_SEARCH:"",IMAGES_SORT:"",LIST_LOADED:"",LOAD_DIMENSION_ERROR:"",LOAD_DIMENSION_SUCCESS:"",LOAD_IMAGES_ERROR:"",LOAD_IMAGES_SUCCESS:"",LOAD_NEXT_PAGE:""},i=c("keyMirrorRecursive")(h,"AdsImageAction");f.exports=i}),null);
__d("AdsImageBatchLoadErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsImageAction.BATCH_LOAD_ERROR");f.exports=h}),null);
__d("AdsImageBatchLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsImageAction.BATCH_LOADED");f.exports=h}),null);
__d("AdsImageImageCollectionAddToFrontAndMaybeSelectDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsImageAction.IMAGE_COLLECTION_ADD_TO_FRONT_AND_MAYBE_SELECT");f.exports=h}),null);
__d("AdsImageImageCollectionAddToFrontDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsImageAction.IMAGE_COLLECTION_ADD_TO_FRONT");f.exports=h}),null);
__d("AdsImageImageCollectionInvalidatedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsImageAction.IMAGE_COLLECTION_INVALIDATED");f.exports=h}),null);
__d("AdsImageImageCollectionSetSelectedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsImageAction.IMAGE_COLLECTION_SET_SELECTED");f.exports=h}),null);
__d("AdsImageImagesDeleteDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsImageAction.IMAGES_DELETE");f.exports=h}),null);
__d("AdsImageImagesEndReachedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsImageAction.IMAGES_END_REACHED");f.exports=h}),null);
__d("AdsImageImagesInvalidatedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsImageAction.IMAGES_INVALIDATED");f.exports=h}),null);
__d("AdsImageImagesSearchDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsImageAction.IMAGES_SEARCH");f.exports=h}),null);
__d("AdsImageImagesSortDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsImageAction.IMAGES_SORT");f.exports=h}),null);
__d("AdsImageListLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsImageAction.LIST_LOADED");f.exports=h}),null);
__d("AdsImageLoadImagesErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsImageAction.LOAD_IMAGES_ERROR");f.exports=h}),null);
__d("AdsImageLoadNextPageDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsImageAction.LOAD_NEXT_PAGE");f.exports=h}),null);
__d("AdsImageActions",["AdsDataAtom","AdsImageActionType","AdsImageBatchLoadedDataAction","AdsImageBatchLoadErrorDataAction","AdsImageImageCollectionAddToFrontAndMaybeSelectDataAction","AdsImageImageCollectionAddToFrontDataAction","AdsImageImageCollectionInvalidatedDataAction","AdsImageImageCollectionSetSelectedDataAction","AdsImageImagesDeleteDataAction","AdsImageImagesEndReachedDataAction","AdsImageImagesInvalidatedDataAction","AdsImageImagesSearchDataAction","AdsImageImagesSortDataAction","AdsImageListLoadedDataAction","AdsImageLoadImagesErrorDataAction","AdsImageLoadNextPageDataAction"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={loadNextPage:function i(j){c("AdsImageLoadNextPageDataAction").dispatch({accountID:j})},imagesLoaded:function i(j,k,l){c("AdsDataAtom").handleUpdateFromServerResponse({accountID:j,images:k,loadNextPage:l,type:c("AdsImageActionType").LOAD_IMAGES_SUCCESS})},imagesLoadError:function i(j){c("AdsImageLoadImagesErrorDataAction").dispatch({error:j})},dimensionLoaded:function i(j,k,l){c("AdsDataAtom").handleUpdateFromServerResponse({height:l,type:c("AdsImageActionType").LOAD_DIMENSION_SUCCESS,url:j,width:k})},dimensionLoadError:function i(j){c("AdsDataAtom").handleUpdateFromServerResponse({type:c("AdsImageActionType").LOAD_DIMENSION_ERROR,url:j})},imagesBatchLoaded:function i(j){c("AdsImageBatchLoadedDataAction").dispatch({images:j})},imagesBatchLoadError:function i(j){c("AdsImageBatchLoadErrorDataAction").dispatch({errors:j})},imagesEndReached:function i(j){c("AdsImageImagesEndReachedDataAction").dispatch({imageListRecord:j})},imagesInvalidated:function i(){c("AdsImageImagesInvalidatedDataAction").dispatch({})},imageListLoaded:function i(j,k,l){c("AdsImageListLoadedDataAction").dispatch({images:k,imageListRecord:j,loadNextPage:l})},imageCollectionInvalidated:function i(){c("AdsImageImageCollectionInvalidatedDataAction").dispatch({})},sortImages:function i(j){c("AdsImageImagesSortDataAction").dispatch({sortBy:j})},deleteImages:function i(j,k){c("AdsImageImagesDeleteDataAction").dispatch({imageList:k,imageListRecord:j})},searchImages:function i(j){c("AdsImageImagesSearchDataAction").dispatch({query:j})},addImagesToFrontOfCollection:function i(j,k){c("AdsImageImageCollectionAddToFrontDataAction").dispatch({accountID:j,images:k})},setSelectedImages:function i(j,k){c("AdsImageImageCollectionSetSelectedDataAction").dispatch({accountID:j,images:k})},addImagesToFrontOfCollectionAndMaybeSelect:function i(j,k){c("AdsImageImageCollectionAddToFrontAndMaybeSelectDataAction").dispatch({accountID:j,images:k})}};f.exports=h}),null);
__d("AdsAPIImageFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ID:"id",ACCOUNT_ID:"account_id",CREATED_TIME:"created_time",CREATIVES:"creatives",HASH:"hash",HEIGHT:"height",NAME:"name",ORIGINAL_WIDTH:"original_width",ORIGINAL_HEIGHT:"original_height",PERMALINK_URL:"permalink_url",STATUS:"status",UPDATED_TIME:"updated_time",URL:"url",URL_128:"url_128",URL_256:"url_256",URL_256_HEIGHT:"url_256_height",URL_256_WIDTH:"url_256_width",WIDTH:"width",IS_ASSOCIATED_CREATIVES_IN_ADGROUPS:"is_associated_creatives_in_adgroups",IS_SPHERICAL_PHOTO:"is_spherical_photo"})}),null);
__d("AdsImageDataLoader",["Promise","AdsAPIAdAccountFields","AdsAPIImageFields","AdsGraphAPI","getDOMImageSize"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=[c("AdsAPIImageFields").HASH,c("AdsAPIImageFields").HEIGHT,c("AdsAPIImageFields").WIDTH,c("AdsAPIImageFields").URL,c("AdsAPIImageFields").URL_128,c("AdsAPIImageFields").URL_256,c("AdsAPIImageFields").URL_256_HEIGHT,c("AdsAPIImageFields").URL_256_WIDTH];function i(l,m){var n={fields:h,limit:50};if(m&&m.length)n.hashes=m;return c("AdsGraphAPI").get(f.id).adaccount(l).edge(c("AdsAPIAdAccountFields").ADIMAGES).get(n)}function j(l){return new(c("Promise"))(function(m,n){var o=function o(p,q,l){var r={data:{height:q,url:l,width:p}};if(p&&q)m(r);else n(r)};c("getDOMImageSize")(l,o)})}var k={loadImageDimensionsForURL:j,loadImagesForAccountID:i};f.exports=k}),null);
__d("AdsImageDataDispatcher",["AdsImageActions","AdsImageDataLoader"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();h.prototype.loadAllImagesForAccountID=function(j,k){var l=function l(m){c("AdsImageActions").imagesLoaded(j,m.data);if(typeof m.next==="function")m.next().done(l,c("AdsImageActions").imagesLoadError)};c("AdsImageDataLoader").loadImagesForAccountID(j,k).done(l,c("AdsImageActions").imagesLoadError)};h.prototype.loadPagedImagesForAccountID=function(j,k){var l=function l(m){var n=null;if(typeof m.next==="function")n=function n(){m.next().done(l,c("AdsImageActions").imagesLoadError)};c("AdsImageActions").imagesLoaded(j,m.data,n)};c("AdsImageDataLoader").loadImagesForAccountID(j,k).done(l,c("AdsImageActions").imagesLoadError)};h.prototype.loadImageDimensionsForURL=function(j){var k=function k(l){var m=l.data;c("AdsImageActions").dimensionLoaded(m.url,m.width,m.height)};c("AdsImageDataLoader").loadImageDimensionsForURL(j).done(k,c("AdsImageActions").dimensionLoadError.bind(null,j))};function h(){}var i=new h();f.exports=i}),null);
__d("AdsLeadGenConstants",["Set"],(function a(b,c,d,e,f,g){"use strict";var h={PHONE_NUMBER_QUESTION_ID:"380952935446163",EMAIL_QUESTION_ID:"446872765494724",NAME_QUESTION_ID:"891455540903772",FIRST_NAME_QUESTION_ID:"401904326672835",LAST_NAME_QUESTION_ID:"1183326621695145",STREET_ADDRESS_QUESTION_ID:"850238575052917",STATE_QUESTION_ID:"906674396045302",COUNTRY_QUESTION_ID:"1453557984945016",ZIP_CODE_QUESTION_ID:"780114468774638",DATE_OF_BIRTH_QUESTION_ID:"1630532333857430",DEFAULT_DISCLAIMER_ID:"135120446820799",PRIVATE_POLICY_DISCLAIMER_ID:"884207651640579",DATE_OF_BIRTH_QUESTION_KEY:"date_of_birth",MESSENGER_CHECKBOX_QUESTION_KEY:"messenger_checkbox",MESSENGER_FOLLOWUP_FIELD_NAME:"messenger_followup",SIMPLE_FORM_QUESTION:new(c("Set"))(["446872765494724","891455540903772"]),LWI_FORM_QUESTION:new(c("Set"))(["446872765494724","891455540903772","380952935446163","1463430793974450"]),AA_FORM_QUESTION:new(c("Set"))(["446872765494724","891455540903772","380952935446163"]),CONTEXT_BULLETS_NUMBER:5,CONTEXT_BULLETS_MAX_LENGTH:80,CONTEXT_IMAGE_HEIGHT:167,CONTEXT_IMAGE_WIDTH:322,TYPE_AHEAD_LIMIT:10,FORM_LIST_LIMIT:26};f.exports=h}),null);
__d("AdsGuidanceActionTypes",["keyMirrorRecursive"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirrorRecursive")({CHANNEL_LOADED:"",CHANNELS_LOADED:"",CHECK_RULES:"",LOAD_CHANNEL:"",NUX_CLOSE:"",REGISTER_STANDALONE_RENDERER:"",RULE_SATISFIED:"",SELECT_NUX:"",QE_SATISFIED:"",UPDATE_CHANNEL:""},"AdsGuidance");f.exports=h}),null);
__d("AdsGuidanceChannelLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsGuidance.CHANNEL_LOADED");f.exports=h}),null);
__d("AdsGuidanceChannelsLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsGuidance.CHANNELS_LOADED");f.exports=h}),null);
__d("AdsGuidanceActions",["AdsDataAtom","AdsGuidanceActionTypes","AdsGuidanceChannelLoadedDataAction","AdsGuidanceChannelsLoadedDataAction"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={checkRules:function i(){c("AdsDataAtom").dispatch({action:{actionType:c("AdsGuidanceActionTypes").CHECK_RULES,action:c("AdsGuidanceActionTypes").CHECK_RULES}})},closeNux:function i(j,k){c("AdsDataAtom").dispatch({action:{actionType:c("AdsGuidanceActionTypes").NUX_CLOSE,data:{key:j,nux:k},action:c("AdsGuidanceActionTypes").NUX_CLOSE}})},dispatchTips:function i(j,k,l){c("AdsGuidanceChannelLoadedDataAction").dispatch({data:{key:j,channelData:k,loadedData:l}})},dispatchBulkTips:function i(j,k,l){c("AdsGuidanceChannelsLoadedDataAction").dispatch({data:{key:j,channelData:k,loadedData:l}})},loadChannel:function i(j,k){c("AdsDataAtom").dispatch({action:{actionType:c("AdsGuidanceActionTypes").LOAD_CHANNEL,data:{key:j,channelData:k},type:c("AdsGuidanceActionTypes").LOAD_CHANNEL}})},updateChannel:function i(j,k){c("AdsDataAtom").dispatch({action:{actionType:c("AdsGuidanceActionTypes").UPDATE_CHANNEL,data:{key:j,channelData:k},type:c("AdsGuidanceActionTypes").UPDATE_CHANNEL}})},ruleSatisfied:function i(j){c("AdsDataAtom").dispatch({action:{actionType:c("AdsGuidanceActionTypes").RULE_SATISFIED,data:{rule:j},type:c("AdsGuidanceActionTypes").RULE_SATISFIED}})},satisfyQE:function i(j,k,l){c("AdsDataAtom").dispatch({action:{actionType:c("AdsGuidanceActionTypes").QE_SATISFIED,data:{key:j,channelData:k,nuxData:l},type:c("AdsGuidanceActionTypes").QE_SATISFIED}})},registerStandaloneRenderer:function i(j,k,l){c("AdsDataAtom").dispatch({action:{actionType:c("AdsGuidanceActionTypes").REGISTER_STANDALONE_RENDERER,data:{key:j,nuxName:k,renderer:l},type:c("AdsGuidanceActionTypes").REGISTER_STANDALONE_RENDERER}})},selectNux:function i(j,k){c("AdsDataAtom").dispatch({action:{actionType:c("AdsGuidanceActionTypes").SELECT_NUX,data:{key:j,nux:k},type:c("AdsGuidanceActionTypes").SELECT_NUX}})}};f.exports=h}),null);
__d("AdsGuidanceBaseNuxRenderer",["immutable","abstractMethod"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i){this.$AdsGuidanceBaseNuxRenderer1=i}h.prototype.getProps=function(){return this.$AdsGuidanceBaseNuxRenderer1};h.prototype.getIDs=function(){return c("abstractMethod")("AdsGuidanceBaseNuxRenderer","getIDs")};h.prototype.getRules=function(){return c("immutable").Set()};h.prototype.canRender=function(i,j,k){return c("abstractMethod")("AdsGuidanceBaseNuxRenderer","canRender")};h.prototype.render=function(i,j,k,l,m){return this.getElement.apply(this,arguments)};h.prototype.getElement=function(i,j,k,l,m,n){return c("abstractMethod")("AdsGuidanceBaseNuxRenderer","getElement")};f.exports=h}),null);
__d("AdsGuidanceChannelKeyObject",["Cache","immutable","gkx","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("gkx")("AT6rmu5Xehkg1fdtBFiR-ynStSkYp671tveAN7ASqT-bZrufTrRYDHCeLGypERJyPRN30xCIelcMlbEp892rWpUh");function k(o){return o.userID+"@@"+(o.accountID||"")+"@@"+o.channelName}var l="use .get() instead of calling constructor directly";h=babelHelpers.inherits(m,c("immutable").Record({userID:null,accountID:null,channelName:null}));i=h&&h.prototype;function m(o,p){i.constructor.call(this,o);this.$KeyObject1=k(o)}m.prototype.getKeyString=function(){return this.$KeyObject1};m.get=function(o){if(!j)return new m(o,l);var p=k(o);if(!n.has(p))n.set(p,new m(o,l));return c("nullthrows")(n.get(p))};var n=new(c("Cache"))();f.exports=m}),null);
__d("AYMTGuidanceTipRenderingType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({BADGE:"badge",BULLET:"bullet",INLINE:"inline",MEGAPHONE:"megaphone",TIP:"tip",TOUR:"tour",DEFAULT:"default"})}),null);
__d("AdsGuidanceChannelObject",["AYMTGuidanceTipRenderingType","immutable","LoadObject","keyMirror"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j,k,l={data:null,isStandalone:false,rules:c("immutable").Set(),renderer:null,canRender:false,passesQE:null,renderingType:c("AYMTGuidanceTipRenderingType").DEFAULT,score:0,impressionLogged:false};h=babelHelpers.inherits(m,c("immutable").Record(l));i=h&&h.prototype;function m(){h.apply(this,arguments)}var n={accountID:"",allowMultiple:false,channelName:"",filteredNuxData:c("immutable").Set(),nuxData:c("LoadObject").empty(),nuxes:c("immutable").Map(),nuxesToRender:c("immutable").Map(),defaultRenderer:null,renderers:[],selectedNuxesToRender:c("immutable").Map(),standaloneRenderers:c("immutable").Map(),standaloneNuxesToRender:c("immutable").Map()};j=babelHelpers.inherits(o,c("immutable").Record(n));k=j&&j.prototype;function o(){j.apply(this,arguments)}f.exports={ChannelData:o,ChannelDataKeys:c("keyMirror")(n),NuxData:m,NuxDataKeys:c("keyMirror")(l)}}),null);
__d("AdsGuidanceChannelName",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ADS_AUDIENCE_MANAGER:"AYMTAdsAudienceManagerChannel",ADS_CREATION:"AYMTAdsCreationChannel",ADS_DELIVERY_INSIGHTS:"AYMTAdsCMDeliveryInsightsChannel",ADS_EDITOR:"AYMTAdsEditorChannel",ADS_INTERFACES:"AYMTAdsInterfacesChannel",ADS_INTERFACES_MANAGEMENT_HOME:"AYMTAdsInterfacesManagementHomeChannel",ADS_PLANNER:"AYMTAdsPlannerChannel",HELP_TRAY:"AYMTHelpTrayChannel"})}),null);
__d("AdsGuidanceSurfaceType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({AUDIENCE_MANAGER:"AudienceManager",ADS_DELIVERY_INSIGHTS:"AdsDeliveryInsights",ADS_MANAGER:"AdsManager",ADS_PLANNER:"AdsPlanner",CREATION_FLOW:"CreationFlow",HELP_TRAY:"HelpTray",POWER_EDITOR:"PowerEditor",CREATIVE_STUDIO:"CreativeStudio",UNKNOWN:"Unknown"})}),null);
__d("AdsGuidanceApplicationUtils",["AdsApplicationUtils","AdsGuidanceChannelName","AdsGuidanceSurfaceType","URI"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i){__p&&__p();if(i===c("AdsGuidanceChannelName").HELP_TRAY)return c("AdsGuidanceSurfaceType").HELP_TRAY;else if(i===c("AdsGuidanceChannelName").ADS_PLANNER)return c("AdsGuidanceSurfaceType").ADS_PLANNER;else if(i===c("AdsGuidanceChannelName").ADS_DELIVERY_INSIGHTS)return c("AdsGuidanceSurfaceType").ADS_DELIVERY_INSIGHTS;else if(c("AdsApplicationUtils").isPowerEditor())if(i===c("AdsGuidanceChannelName").ADS_CREATION)return c("AdsGuidanceSurfaceType").CREATION_FLOW;else return c("AdsGuidanceSurfaceType").POWER_EDITOR;else if(c("AdsApplicationUtils").isCampaignManager()){var j=new(c("URI"))(window.location.href).getPath();if(j.startsWith("/ads/manager/creation/creation"))return c("AdsGuidanceSurfaceType").CREATION_FLOW;else if(j.startsWith("/ads/manager/audiences/manage"))return c("AdsGuidanceSurfaceType").AUDIENCE_MANAGER;else return c("AdsGuidanceSurfaceType").ADS_MANAGER}else if(c("AdsApplicationUtils").isCreativeStudio())return c("AdsGuidanceSurfaceType").CREATIVE_STUDIO;else return c("AdsGuidanceSurfaceType").UNKNOWN}f.exports={detectSurface:h}}),null);
__d("AdsGuidancePacingStoreUtils",["AdsGuidanceChannelName"],(function a(b,c,d,e,f,g){"use strict";var h={isPacingEnabled:function i(j){var k=Object.values(c("AdsGuidanceChannelName")).indexOf(j)!==-1;if(!k)return false;return true}};f.exports=h}),null);
__d("XAdsCMTipsAsyncController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/manager/ajax/list_tips/",{act:{type:"String"},surface:{type:"String"},channel:{type:"String",required:true},cache:{type:"Int"},invalidate:{type:"Int"},tip:{type:"String"},validate:{type:"Int"}})}),null);
__d("AdsGuidanceDataLoader",["Promise","AdsCMURLParams","AdsGuidanceApplicationUtils","AdsGuidancePacingStoreUtils","AsyncRequest","URI","XAdsCMTipsAsyncController"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();h.prototype.loadTips=function(k,l){var m=new(c("URI"))(window.location.href).getQueryData(),n=m[c("AdsCMURLParams").AYMT_CHANNEL];if(!c("AdsGuidancePacingStoreUtils").isPacingEnabled(l)&&n&&n!==l)return new(c("Promise"))(function(o){});return new(c("Promise"))(function(o,p){return new(c("AsyncRequest"))().setURI(i(l,m,k).getURI()).setAllowCrossPageTransition(true).setErrorHandler(function(q){return p(q.errorDescription)}).setHandler(function(q){return o(q.payload)}).send()})};function h(){}function i(k,l,m){var n=c("XAdsCMTipsAsyncController").getURIBuilder().setString("act",m).setInt(c("AdsCMURLParams").AYMT_CACHE,l[c("AdsCMURLParams").AYMT_CACHE]).setString(c("AdsCMURLParams").AYMT_CHANNEL,k).setInt(c("AdsCMURLParams").AYMT_INVALIDATE,l[c("AdsCMURLParams").AYMT_INVALIDATE]).setString(c("AdsCMURLParams").AYMT_TIP,l[c("AdsCMURLParams").AYMT_TIP]).setInt(c("AdsCMURLParams").AYMT_VALIDATE,l[c("AdsCMURLParams").AYMT_VALIDATE]);if(c("AdsGuidancePacingStoreUtils").isPacingEnabled(k)){var o=c("AdsGuidanceApplicationUtils").detectSurface(k);n=n.setString("surface",o)}return n}var j=new h();f.exports=j}),null);
__d("AdsGuidanceDataDispatcher",["AdsGuidanceActions","AdsGuidanceDataLoader"],(function a(b,c,d,e,f,g){"use strict";var h=function h(j,k){c("AdsGuidanceDataLoader").loadTips(j.accountID,j.channelName).done(function(l){if(l.bulk)c("AdsGuidanceActions").dispatchBulkTips(j,k,l.tips);else c("AdsGuidanceActions").dispatchTips(j,k,l.tips)})},i={loadTips:h};f.exports=i}),null);
__d("AdsGuidanceLogUtils",["AdsGuidanceChannelObject","AYMTClientSideLogging"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsGuidanceChannelObject").NuxData,i=c("AdsGuidanceChannelObject").NuxDataKeys,j=c("AdsGuidanceChannelObject").ChannelData,k={logImpression:function l(m,n,o){if(!o.get(i.impressionLogged))c("AYMTClientSideLogging").logRenderingTypeImpression(o.data.tip_id,o.data.channel_id,o.renderingType)},logXout:function l(m,n,o){c("AYMTClientSideLogging").logXout(o.data.tip_id,o.data.channel_id)},logClick:function l(m,n,o){c("AYMTClientSideLogging").logClick(o.data.tip_id,o.data.channel_id)},logTourComplete:function l(m){c("AYMTClientSideLogging").logTourComplete(m.data.tip_id,m.data.channel_id)},logTourStepImpression:function l(m,n){c("AYMTClientSideLogging").logTourStepImpression(m.data.tip_id,m.data.channel_id,n)},logConversion:function l(m){c("AYMTClientSideLogging").logConversion(m.data.tip_id,m.data.channel_id)}};f.exports=k}),null);
__d("AdsGuidanceStandaloneKeyObject",["Cache","immutable","gkx","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("gkx")("AT6rmu5Xehkg1fdtBFiR-ynStSkYp671tveAN7ASqT-bZrufTrRYDHCeLGypERJyPRN30xCIelcMlbEp892rWpUh");function k(p){return p.channelKey.getKeyString()+"@@"+p.nuxName}var l={channelKey:null,nuxName:null},m="use .get() instead of calling constructor directly";h=babelHelpers.inherits(n,c("immutable").Record(l));i=h&&h.prototype;function n(p,q){i.constructor.call(this,p);this.$AdsGuidanceStandaloneKeyObject1=k(p)}n.prototype.getKeyString=function(){return this.$AdsGuidanceStandaloneKeyObject1};n.get=function(p){if(!j)return new n(p,m);var q=k(p);if(!o.has(q))o.set(q,new n(p,m));return c("nullthrows")(o.get(q))};var o=new(c("Cache"))();f.exports=n}),null);
__d("AdsGuidanceStore",["cx","AdsCMURLParams","AdsDataAtom","AdsGuidanceActions","AdsGuidanceActionTypes","AdsGuidanceApplicationUtils","AdsGuidanceChannelKeyObject","AdsGuidanceChannelLoadedDataAction","AdsGuidanceChannelObject","AdsGuidanceChannelsLoadedDataAction","AdsGuidanceDataDispatcher","AdsGuidanceLogUtils","AdsGuidancePacingStoreUtils","AdsGuidanceStandaloneKeyObject","AYMTClientSideLogging","AYMTGuidanceTipRenderingType","AYMTTipSettings","FluxMapStore","ICEPerformanceTimer","immutable","LoadObject","React","URI","areEqual","gkx","setImmediate","shallowEqual"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("gkx")("AT6rmu5Xehkg1fdtBFiR-ynStSkYp671tveAN7ASqT-bZrufTrRYDHCeLGypERJyPRN30xCIelcMlbEp892rWpUh"),l=c("AdsGuidanceChannelObject").ChannelData,m=c("AdsGuidanceChannelObject").ChannelDataKeys,n=c("AdsGuidanceChannelObject").NuxData,o=c("AdsGuidanceChannelObject").NuxDataKeys,p=4,q=1,r=1e3;i=babelHelpers.inherits(s,c("FluxMapStore"));j=i&&i.prototype;function s(){j.constructor.call(this,c("AdsDataAtom"));this.$AdsGuidanceStoreClass1=c("immutable").Set();this.$AdsGuidanceStoreClass2=c("immutable").Set();this.$AdsGuidanceStoreClass4=c("immutable").Set();var u=new(c("URI"))(window.location.href);this.$AdsGuidanceStoreClass3=u.getQueryData()[c("AdsCMURLParams").AYMT_VALIDATE]!=="0";this.$AdsGuidanceStoreClass5=c("immutable").Set();this.$AdsGuidanceStoreClass6=q;this.$AdsGuidanceStoreClass7=p}s.prototype.reduce=function(u,v){__p&&__p();var w=v.action;switch(w.actionType){case c("AdsGuidanceActionTypes").LOAD_CHANNEL:return this.$AdsGuidanceStoreClass8(w.data.key,w.data.channelData);case c("AdsGuidanceChannelLoadedDataAction").actionType:return this.$AdsGuidanceStoreClass9(w.data.key,w.data.channelData,w.data.loadedData);case c("AdsGuidanceChannelsLoadedDataAction").actionType:return this.$AdsGuidanceStoreClass10(w.data.key,w.data.channelData,w.data.loadedData);case c("AdsGuidanceActionTypes").CHECK_RULES:case c("AdsGuidanceActionTypes").RULE_SATISFIED:return this.$AdsGuidanceStoreClass11();case c("AdsGuidanceActionTypes").NUX_CLOSE:return this.$AdsGuidanceStoreClass12(w.data.key,w.data.nux);case c("AdsGuidanceActionTypes").REGISTER_STANDALONE_RENDERER:var x=w.data,y=x.key,z=x.nuxName,A=x.renderer;return this.$AdsGuidanceStoreClass13(y,z,A);case c("AdsGuidanceActionTypes").QE_SATISFIED:var B=w.data,C=B.channelData,D=B.nuxData;return this.$AdsGuidanceStoreClass14(w.data.key,C,D);case c("AdsGuidanceActionTypes").UPDATE_CHANNEL:return this.$AdsGuidanceStoreClass15(w.data.key,w.data.channelData);case c("AdsGuidanceActionTypes").SELECT_NUX:return this.$AdsGuidanceStoreClass16(w.data.key,w.data.nux)}return u};s.prototype.getNuxElements=function(u,v,w,x){__p&&__p();var y=new l(babelHelpers["extends"]({},u.toJS(),{allowMultiple:v,defaultRenderer:w,renderers:x}));if(c("AdsGuidancePacingStoreUtils").isPacingEnabled(u.channelName))if(this.has(u)&&!this.$AdsGuidanceStoreClass1.has(u)){c("setImmediate")(function(){return c("AdsGuidanceActions").updateChannel(u,y)});this.$AdsGuidanceStoreClass1=this.$AdsGuidanceStoreClass1.add(u)}if(!this.has(u)&&!this.$AdsGuidanceStoreClass1.has(u)){c("setImmediate")(function(){return c("AdsGuidanceActions").loadChannel(u,y)});this.$AdsGuidanceStoreClass1=this.$AdsGuidanceStoreClass1.add(u);c("ICEPerformanceTimer").start("ice-guidance/channel/"+u.channelName)}var z=this.getState().getIn([u,m.nuxesToRender])||c("immutable").Map();if(c("AdsGuidancePacingStoreUtils").isPacingEnabled(u.channelName))z=z.keySeq().map(function(A){return this.$AdsGuidanceStoreClass17(u,A)}.bind(this)).filter(function(A){return A});return z.toSet()};s.prototype.getStandaloneNuxElement=function(u,v,w){__p&&__p();if(!this.has(u))return null;if(!this.getState().hasIn([u,m.nuxes,v]))return null;var x=c("AdsGuidanceStandaloneKeyObject").get({channelKey:u,nuxName:v}),y=this.getState().getIn([u,m.nuxes,v]).renderer,z=y&&!(k?c("shallowEqual"):c("areEqual"))(y.getProps(),w.getProps());if(!this.$AdsGuidanceStoreClass2.has(x)||z){c("setImmediate")(function(){return c("AdsGuidanceActions").registerStandaloneRenderer(u,v,w)});this.$AdsGuidanceStoreClass2=this.$AdsGuidanceStoreClass2.add(x);return null}if(c("AdsGuidancePacingStoreUtils").isPacingEnabled(u.channelName))return this.$AdsGuidanceStoreClass17(u,v);else return this.getState().getIn([u,m.standaloneNuxesToRender,v])};s.prototype.getTipCanRenderInChannel=function(u,v){return this.getState().hasIn([u,m.nuxesToRender,v])||this.getState().hasIn([u,m.selectedNuxesToRender,v])||this.getState().hasIn([u,m.standaloneNuxesToRender,v])};s.prototype.$AdsGuidanceStoreClass17=function(u,v){__p&&__p();var w,x=this;if(this.getState().hasIn([u,m.selectedNuxesToRender,v]))return this.getState().getIn([u,m.selectedNuxesToRender,v]);if(this.getState().hasIn([u,m.standaloneNuxesToRender,v])||this.getState().hasIn([u,m.nuxesToRender,v]))(function(){__p&&__p();var y=x.getState().getIn([u,m.nuxes,v]);if(y.score===0)c("setImmediate")(function(){return c("AdsGuidanceActions").selectNux(u,y)});else{var z=void 0;if(x.$AdsGuidanceStoreClass18(y))z=x.$AdsGuidanceStoreClass6>0;else z=x.$AdsGuidanceStoreClass7>0;if(z&&!x.$AdsGuidanceStoreClass5.has(y)){x.$AdsGuidanceStoreClass19(y);setTimeout(function(){return c("AdsGuidanceActions").selectNux(u,y)},r)}}})();return null};s.prototype.$AdsGuidanceStoreClass18=function(u){var v=u.renderingType;return v===c("AYMTGuidanceTipRenderingType").TIP||v===c("AYMTGuidanceTipRenderingType").TOUR||v===c("AYMTGuidanceTipRenderingType").DEFAULT};s.prototype.$AdsGuidanceStoreClass19=function(u){__p&&__p();var v=void 0,w=void 0;if(this.$AdsGuidanceStoreClass18(u)){v=this.$AdsGuidanceStoreClass5.filter(function(u){return this.$AdsGuidanceStoreClass18(u)}.bind(this));w=v.size===this.$AdsGuidanceStoreClass6}else{v=this.$AdsGuidanceStoreClass5.filter(function(u){return!this.$AdsGuidanceStoreClass18(u)}.bind(this));w=v.size===this.$AdsGuidanceStoreClass7}if(!w)this.$AdsGuidanceStoreClass5=this.$AdsGuidanceStoreClass5.add(u);else{var x=v.min(function(y,z){return y.score-z.score});if(u.score>x.score)this.$AdsGuidanceStoreClass5=this.$AdsGuidanceStoreClass5.remove(x).add(u)}};s.prototype.$AdsGuidanceStoreClass16=function(u,v){__p&&__p();var w=v.score===0,x=this.$AdsGuidanceStoreClass5.has(v);if(x){this.$AdsGuidanceStoreClass5=this.$AdsGuidanceStoreClass5.remove(v);if(this.$AdsGuidanceStoreClass18(v))this.$AdsGuidanceStoreClass6-=1;else this.$AdsGuidanceStoreClass7-=1}if(w||x){c("AdsGuidanceLogUtils").logImpression(u,this.getState().get(u),v);var y=v.data.name;if(this.getState().hasIn([u,m.standaloneNuxesToRender,y]))return this.getState().setIn([u,m.selectedNuxesToRender,y],this.getState().getIn([u,m.standaloneNuxesToRender,y])).setIn([u,m.nuxes,y,o.impressionLogged],true);else return this.getState().setIn([u,m.selectedNuxesToRender,y],this.getState().getIn([u,m.nuxesToRender,y])).setIn([u,m.nuxes,y,o.impressionLogged],true)}return this.getState()};s.prototype.$AdsGuidanceStoreClass8=function(u,v){__p&&__p();var w=this.getState().set(u,v.set(m.nuxData,c("LoadObject").loading()));if(c("AdsGuidancePacingStoreUtils").isPacingEnabled(u.channelName)){var x=c("AdsGuidanceApplicationUtils").detectSurface(u.channelName);if(!this.$AdsGuidanceStoreClass4.has(x)){c("AdsGuidanceDataDispatcher").loadTips(u,v);this.$AdsGuidanceStoreClass4=this.$AdsGuidanceStoreClass4.add(x)}}else c("AdsGuidanceDataDispatcher").loadTips(u,v);return w};s.prototype.$AdsGuidanceStoreClass15=function(u,v){var w=this.getState().setIn([u,m.allowMultiple],v.allowMultiple).setIn([u,m.defaultRenderer],v.defaultRenderer).setIn([u,m.renderers],v.renderers),x=w.get(u).get(m.filteredNuxData).reduce(function(y,z){return y.set(z.name,new n({data:z,renderer:this.$AdsGuidanceStoreClass20(z,v),rules:this.$AdsGuidanceStoreClass21(z,v),isStandalone:z.client_side_rendering_spec[c("AYMTTipSettings").TIP_IS_STANDALONE],score:z.tip_score,renderingType:z.rendering_type}))}.bind(this),c("immutable").Map());w=w.setIn([u,m.nuxes],x);c("setImmediate")(c("AdsGuidanceActions").checkRules);c("ICEPerformanceTimer").start("ice-guidance/rules/"+u.channelName);return w};s.prototype.$AdsGuidanceStoreClass9=function(u,v,w){__p&&__p();var x=w.tips.filter(function(C){return w.visible_tips_ids.indexOf(C.tip_id)!==-1}),y=x;if(c("AdsGuidancePacingStoreUtils").isPacingEnabled(u.channelName)){var z=w.channel_weight;y=x.slice(0,z)}var A=y.reduce(function(C,D){return C.set(D.name,new n({data:D,renderer:this.$AdsGuidanceStoreClass20(D,v),rules:this.$AdsGuidanceStoreClass21(D,v),isStandalone:D.client_side_rendering_spec[c("AYMTTipSettings").TIP_IS_STANDALONE],score:D.tip_score,renderingType:D.rendering_type}))}.bind(this),c("immutable").Map()),B=this.getState().setIn([u,m.nuxData],c("LoadObject").withValue(c("immutable").Set(w.tips)));B=B.setIn([u,m.nuxes],A);B=B.setIn([u,m.filteredNuxData],y);c("setImmediate")(c("AdsGuidanceActions").checkRules);c("ICEPerformanceTimer").stop("ice-guidance/channel/"+u.channelName);c("ICEPerformanceTimer").start("ice-guidance/rules/"+u.channelName);return B};s.prototype.$AdsGuidanceStoreClass10=function(u,v,w){__p&&__p();var x=this.getState();w.bulk_tips.map(function(y){__p&&__p();var z=c("AdsGuidanceChannelKeyObject").get({accountID:u.accountID,channelName:y.channel,userID:u.userID});if(this.has(z)){if(!x.get(z).get(m.nuxData).hasValue()){var A=this.getState().get(z),B=this.$AdsGuidanceStoreClass9(z,A,y);x=x.set(z,B.get(z))}}else{var C=new l(babelHelpers["extends"]({},z.toJS())),D=y.channel_weight,E=y.tips.filter(function(F){return y.visible_tips_ids.indexOf(F.tip_id)!==-1}).slice(0,D);x=x.set(z,C.set(m.nuxData,c("LoadObject").withValue(c("immutable").Set(y.tips))).set(m.filteredNuxData,E))}}.bind(this));return x};s.prototype.$AdsGuidanceStoreClass14=function(u,v,w){var x=w[o.data].name;c("setImmediate")(c("AdsGuidanceActions").checkRules);return this.getState().setIn([u,m.nuxes,x,o.passesQE],true)};s.prototype.$AdsGuidanceStoreClass13=function(u,v,w){if(!this.getState().hasIn([u,m.nuxes,v]))return this.getState();var x=w.getRules();x.forEach(function(y){return y.init()});c("setImmediate")(c("AdsGuidanceActions").checkRules);return this.getState().setIn([u,m.standaloneRenderers,v],w).setIn([u,m.nuxes,v,o.isStandalone],true).setIn([u,m.nuxes,v,o.renderer],w).setIn([u,m.nuxes,v,o.rules],x)};s.prototype.$AdsGuidanceStoreClass20=function(u,v){__p&&__p();var w=null;if(!u.client_side_rendering_spec[c("AYMTTipSettings").TIP_IS_STANDALONE]){w=v.defaultRenderer;if(v.renderers.length)w=v.renderers.find(function(x){return x.getIDs().has(u.name)})||w}if(!w)w=v.standaloneRenderers.get(u.name)||w;return w};s.prototype.$AdsGuidanceStoreClass21=function(u,v){var w=u.client_side_rules.map(function(x){var y=new x.client_side_rule_class(x.client_side_rule_params);y.init();return y});return c("immutable").Set(w)};s.prototype.$AdsGuidanceStoreClass11=function(){return this.getState().map(function(u,v){return u.set(m.nuxes,this.$AdsGuidanceStoreClass22(v,u))}.bind(this)).map(function(u,v){return u.set(m.nuxesToRender,this.$AdsGuidanceStoreClass23(v,u)).set(m.standaloneNuxesToRender,this.$AdsGuidanceStoreClass24(v,u))}.bind(this)).map(function(u,v){return u.set(m.nuxes,this.$AdsGuidanceStoreClass25(v,u))}.bind(this)).toMap()};s.prototype.$AdsGuidanceStoreClass25=function(u,v){return v.get(m.nuxes).filter(function(w){return w&&w.data}).map(function(w){var x=w.data.name;if(!c("AdsGuidancePacingStoreUtils").isPacingEnabled(u.channelName)&&this.$AdsGuidanceStoreClass26(x,v)){c("AdsGuidanceLogUtils").logImpression(u,v,w);return w.set(o.impressionLogged,true)}else return w}.bind(this))};s.prototype.$AdsGuidanceStoreClass26=function(u,v){return v.hasIn([m.standaloneNuxesToRender,u])||v.hasIn([m.nuxesToRender,u])};s.prototype.$AdsGuidanceStoreClass22=function(u,v){var w=v.get(m.nuxes).map(function(x){return x.set(o.canRender,this.$AdsGuidanceStoreClass27(u,v,x))}.bind(this)).map(function(x){return x.set(o.passesQE,this.$AdsGuidanceStoreClass28(u,v,x))}.bind(this));c("ICEPerformanceTimer").stop("ice-guidance/rules/"+u.channelName);return w};s.prototype.$AdsGuidanceStoreClass27=function(u,v,w){if(!this.$AdsGuidanceStoreClass3)return true;if(!w.renderer)return false;var x=w.renderer.canRender(u,v,w),y=w.get(o.rules),z=y.every(function(A){return A.isSatisfied()});return x&&z};s.prototype.$AdsGuidanceStoreClass23=function(u,v){return v.get(m.nuxes).filter(function(w){return w.canRender&&w.passesQE&&!w.isStandalone&&w.renderer}).slice(0,v.allowMultiple?undefined:1).map(function(w){return this.$AdsGuidanceStoreClass29(u,v,w)}.bind(this))};s.prototype.$AdsGuidanceStoreClass24=function(u,v){return v.get(m.nuxes).filter(function(w){return w.canRender&&w.isStandalone&&w.renderer&&w.passesQE}).map(function(w){return this.$AdsGuidanceStoreClass29(u,v,w)}.bind(this))};s.prototype.$AdsGuidanceStoreClass28=function(u,v,w){__p&&__p();if(!this.$AdsGuidanceStoreClass3)return true;var x=w.get(o.passesQE),y=w.get(o.canRender);if(y&&x===null){var z=function z(A){if(A.payload.passesQE)c("AdsGuidanceActions").satisfyQE(u,v,w)};c("AYMTClientSideLogging").logEligibilityAndCheckQE(u,v,w,z.bind(this));return false}return x};s.prototype.$AdsGuidanceStoreClass29=function(u,v,w){var x=function x(){c("AdsGuidanceLogUtils").logXout(u,v,w);c("AdsGuidanceActions").closeNux(u,w)},y=function y(){c("AdsGuidanceLogUtils").logClick(u,v,w)},z=function z(){c("AdsGuidanceLogUtils").logXout(u,v,w)};return c("React").createElement("div",{className:"_5et9",key:w.data.tip_id},w.renderer.render(u,v,w,x,y,z))};s.prototype.$AdsGuidanceStoreClass12=function(u,v){c("setImmediate")(c("AdsGuidanceActions").checkRules);v.rules&&v.rules.forEach(function(w){return w.destroy()});if(v.data)return this.getState().deleteIn([u,"nuxes",v.data.name]);return this.getState()};var t=new s();f.exports=t}),null);
__d("AdsGuidanceStandaloneNuxContainer.react",["AdsAccountStore","AdsFluxContainer","AdsGuidanceActions","AdsGuidanceBaseNuxRenderer","AdsGuidanceChannelKeyObject","AdsGuidanceChannelObject","AdsGuidanceStore","CurrentUser","React","gkx","shallowEqual"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j,k,l=c("AdsGuidanceChannelObject").ChannelDataKeys,m=c("React").PropTypes,n=c("React").Component,o={shouldCloseOnUnmount:true},p=c("gkx")("AT6rmu5Xehkg1fdtBFiR-ynStSkYp671tveAN7ASqT-bZrufTrRYDHCeLGypERJyPRN30xCIelcMlbEp892rWpUh");h=babelHelpers.inherits(q,n);i=h&&h.prototype;q.getStores=function(){return[c("AdsAccountStore"),c("AdsGuidanceStore")]};q.calculateState=function(t,u){var v=c("AdsGuidanceChannelKeyObject").get({accountID:u.accountID?u.accountID:c("AdsAccountStore").getSelectedAccountID(),channelName:u.channelName,userID:c("CurrentUser").getID()}),w=c("AdsGuidanceStore").getState().getIn([v,l.nuxes,u.nuxName]),x=c("AdsGuidanceStore").getStandaloneNuxElement(v,u.nuxName,u.renderer);return{nuxData:w,nuxKey:v,nuxToRender:x}};q.prototype.componentWillUnmount=function(){var t=this.state,u=t.nuxData,v=t.nuxKey;if(this.props.shouldCloseOnUnmount&&u)c("AdsGuidanceActions").closeNux(v,u)};q.prototype.render=function(){if(!this.state.nuxToRender)return null;var t=this.props.className;return c("React").createElement("div",{className:t?t:null},this.state.nuxToRender)};function q(){h.apply(this,arguments)}q.propTypes={accountID:m.string,channelName:m.string.isRequired,className:m.string,nuxName:m.string.isRequired,renderer:m.instanceOf(c("AdsGuidanceBaseNuxRenderer")).isRequired};q.defaultProps=o;var r=c("AdsFluxContainer").create(q,{withProps:true,pureProps:p,name:f.id});j=babelHelpers.inherits(s,c("React").Component);k=j&&j.prototype;s.prototype.componentWillMount=function(){this.$ReuseNUXRenderer2(this.props)};s.prototype.componentWillReceiveProps=function(t){this.$ReuseNUXRenderer2(t)};s.prototype.$ReuseNUXRenderer2=function(t){if(!p)return;var u=t.renderer;if(this.$ReuseNUXRenderer1)if(this.$ReuseNUXRenderer1.constructor===u.constructor&&c("shallowEqual")(this.$ReuseNUXRenderer1.getProps(),u.getProps()))return;this.$ReuseNUXRenderer1=u};s.prototype.render=function(){return c("React").createElement(r,babelHelpers["extends"]({},this.props,{renderer:this.$ReuseNUXRenderer1||this.props.renderer}))};function s(){j.apply(this,arguments)}s.defaultProps=o;f.exports=s}),null);
__d("InstagramAuthenticationError",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({CANNOT_OBTAIN_OAUTH_ACCESS_TOKEN:"cannot_obtain_oauth_access_token",CLAIM_INSTAGRAM_ACCOUNT_FAILURE:"claim_instagram_account_failure",INSTAGRAM_ACCOUNT_LINKED:"instagram_account_is_linked",INVALID_ACCESS_TOKEN:"invalid_access_token",INVALID_CREDENTIAL:"incorrect_username_or_password",INVALID_PHONE_NUMBER:"invalid_phone_number",NOT_PAGE_ADMIN:"user_is_not_page_admin",NOT_BUSINESS_ADMIN:"user_is_not_business_admin",PAGE_CREATE_INSTAGRAM_ACCOUNT_FAILURE:"page_create_instagram_account_failure",PAGE_LINK_INSTAGRAM_ACCOUNT_FAILURE:"page_link_instagram_account_failure",PAGE_LINKED:"page_is_linked",PAGE_UNLINK_INSTAGRAM_ACCOUNT_FAILURE:"page_unlink_instagram_account_failure",REMOVE_EXISTING_OWNERSHIP_FAILURE:"remove_existing_ownership_failure",TWO_FACTOR_IS_NOT_SUPPORTED:"two_factor_is_not_supported",ACCOUNT_IS_CHECKPOINTED:"account_is_checkpointed",UNKNOWN:"unknown"})}),null);
__d("InstagramAuthenticationErrorMessages",["fbt","InstagramAuthenticationError"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i={};i[c("InstagramAuthenticationError").CANNOT_OBTAIN_OAUTH_ACCESS_TOKEN]=h._("Sorry, something went wrong when trying to authenticate with Instagram.");i[c("InstagramAuthenticationError").CLAIM_INSTAGRAM_ACCOUNT_FAILURE]=h._("Failed to claim the Instagram account. Please verify your information and try again.");i[c("InstagramAuthenticationError").INSTAGRAM_ACCOUNT_LINKED]=h._("This Instagram account is already connected to a Facebook Page.");i[c("InstagramAuthenticationError").INVALID_ACCESS_TOKEN]=i[c("InstagramAuthenticationError").CANNOT_OBTAIN_OAUTH_ACCESS_TOKEN];i[c("InstagramAuthenticationError").INVALID_CREDENTIAL]=h._("The provided username or password is wrong. Please verify your information and try again.");i[c("InstagramAuthenticationError").INVALID_PHONE_NUMBER]=h._("The provided phone number is invalid. Please verify your information and try again.");i[c("InstagramAuthenticationError").NOT_BUSINESS_ADMIN]=h._("You are not an admin of this business.");i[c("InstagramAuthenticationError").NOT_PAGE_ADMIN]=h._("You are not an admin of this Facebook Page.");i[c("InstagramAuthenticationError").PAGE_CREATE_INSTAGRAM_ACCOUNT_FAILURE]=h._("Failed to create the Instagram account. Please verify your information and try again.");i[c("InstagramAuthenticationError").PAGE_LINK_INSTAGRAM_ACCOUNT_FAILURE]=h._("Failed to link the Instagram account. Please verify your information and try again.");i[c("InstagramAuthenticationError").PAGE_LINKED]=h._("This Facebook Page is already connected to an Instagram account.");i[c("InstagramAuthenticationError").PAGE_UNLINK_INSTAGRAM_ACCOUNT_FAILURE]=h._("Failed to unlink the Instagram account. Please verify your information and try again.");i[c("InstagramAuthenticationError").REMOVE_EXISTING_OWNERSHIP_FAILURE]=h._("Failed to remove the existing ownership for the Instagram account. Please verify your information and try again.");i[c("InstagramAuthenticationError").TWO_FACTOR_IS_NOT_SUPPORTED]=h._("We do not support connecting Instagram account with two factor authentication enabled.");i[c("InstagramAuthenticationError").ACCOUNT_IS_CHECKPOINTED]=h._("The Instagram account is currently blocked, please go to the Instagram app or website to resolve the issue.");var j={getMessage:function k(l){if(!l||!i[l])return h._("Sorry, an unknown error occurred. Please try again.");return i[l]}};f.exports=j}),null);
__d("AdsEditorMPAConstants",["keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirror")({MPA_PLACEHOLDER_VIDEO_ID:null});f.exports=h}),null);
__d("AdsPageFields",["ApiPageFields","GraphAPIFieldUtils","CurrentUser"],(function a(b,c,d,e,f,g){"use strict";var h="<<not-applicable>>",i=[c("ApiPageFields").ACCESS_TOKEN,c("ApiPageFields").BUSINESS,c("ApiPageFields").CATEGORY,c("ApiPageFields").DESCRIPTION,c("ApiPageFields").GLOBAL_BRAND_PAGE_NAME,c("ApiPageFields").HAS_WHATSAPP_NUMBER,c("ApiPageFields").HOURS,c("ApiPageFields").ID,c("ApiPageFields").IS_PUBLISHED,c("ApiPageFields").IS_VERIFIED,c("ApiPageFields").LEADGEN_TOS_ACCEPTED,c("ApiPageFields").LEADGEN_HAS_CRM_INTEGRATION,c("ApiPageFields").LINK,c("ApiPageFields").LOCATION,c("ApiPageFields").MESSENGER_ADS_DEFAULT_QUICK_REPLIES,c("ApiPageFields").NAME,c("ApiPageFields").OFFER_ELIGIBLE,c("ApiPageFields").PAGE_TOKEN,c("ApiPageFields").PHONE,c("ApiPageFields").SHARED_LOCATION_STRUCTURES,c("ApiPageFields").SINGLE_LINE_ADDRESS,c("ApiPageFields").WHATSAPP_NUMBER,c("ApiPageFields").WEBSITE,"picture.type(small)"],j=c("GraphAPIFieldUtils").getFieldWithSubfields("locations",{limit:0,summary:"total_count"}),k=c("GraphAPIFieldUtils").getFieldWithSubfields(c("ApiPageFields").MESSENGER_ADS_DEFAULT_PAGE_WELCOME_MESSAGE,["page_welcome_message_type","page_welcome_message_body"]),l={forCurrentUser:function m(){return i.concat(c("GraphAPIFieldUtils").getFieldWithSubfields(c("GraphAPIFieldUtils").getFieldWithSubfields("userpermissions",{user:c("CurrentUser").getID()}),["business","role"]),c("GraphAPIFieldUtils").getFieldWithSubfields("businessprojects",["business","name"]),k,j)},onlyLocationCounts:function m(){return[j]},isNotApplicable:function m(n){return n===h}};f.exports=l}),null);
__d("AdsEditorPostEditMode",["keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirror")({DISABLED:null,EXISTING:null,INLINE:null,MIXED:null});f.exports=h}),null);
__d("AdsConnectionObjectBatchLoadErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CONNECTION_OBJECT.BATCH_LOAD_ERROR");f.exports=h}),null);
__d("AdsConnectionObjectBatchLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CONNECTION_OBJECT.BATCH_LOADED");f.exports=h}),null);
__d("AdsConnectionObjectInputStringCompleteDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CONNECTION_OBJECT.INPUT_STRING_COMPLETE");f.exports=h}),null);
__d("AdsConnectionObjectInputStringUpdateDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CONNECTION_OBJECT.INPUT_STRING_UPDATE");f.exports=h}),null);
__d("AdsConnectionObjectListBatchLoadErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CONNECTION_OBJECT.LIST.BATCH_LOAD_ERROR");f.exports=h}),null);
__d("AdsConnectionObjectListBatchLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CONNECTION_OBJECT.LIST.BATCH_LOADED");f.exports=h}),null);
__d("AdsConnectionObjectListGroupBatchErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CONNECTION_OBJECT.LIST.GROUP_BATCH_ERROR");f.exports=h}),null);
__d("AdsConnectionObjectListGroupBatchLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CONNECTION_OBJECT.LIST.GROUP_BATCH_LOADED");f.exports=h}),null);
__d("AdsConnectionObjectListPartialLoadDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CONNECTION_OBJECT.LIST.PARTIAL_LOAD");f.exports=h}),null);
__d("AdsConnectionObjectShowDialogDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CONNECTION_OBJECT.SHOW_DIALOG");f.exports=h}),null);
__d("AdsConnectionObjectActions",["AdsConnectionObjectBatchLoadedDataAction","AdsConnectionObjectBatchLoadErrorDataAction","AdsConnectionObjectInputStringCompleteDataAction","AdsConnectionObjectInputStringUpdateDataAction","AdsConnectionObjectListBatchLoadedDataAction","AdsConnectionObjectListBatchLoadErrorDataAction","AdsConnectionObjectListGroupBatchErrorDataAction","AdsConnectionObjectListGroupBatchLoadedDataAction","AdsConnectionObjectListPartialLoadDataAction","AdsConnectionObjectShowDialogDataAction"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={connectionObjectBatchLoaded:function i(j){c("AdsConnectionObjectBatchLoadedDataAction").dispatch({connectionObjects:j})},connectionObjectBatchLoadError:function i(j){c("AdsConnectionObjectBatchLoadErrorDataAction").dispatch({errors:j})},connectionObjectInputStringUpdate:function i(j,k){c("AdsConnectionObjectInputStringUpdateDataAction").dispatch({inputString:j,connectionObjectIDs:k})},connectionObjectInputStringComplete:function i(){c("AdsConnectionObjectInputStringCompleteDataAction").dispatch({})},connectionObjectListPartialLoad:function i(j,k){c("AdsConnectionObjectListPartialLoadDataAction").dispatch({accountID:j,connectionObjects:k})},connectionObjectListLoaded:function i(j,k){c("AdsConnectionObjectListBatchLoadedDataAction").dispatch({accountID:j,connectionObjects:k})},connectionObjectListLoadError:function i(j){c("AdsConnectionObjectListBatchLoadErrorDataAction").dispatch({accountID:j})},connectionObjectListGroupLoaded:function i(j){c("AdsConnectionObjectListGroupBatchLoadedDataAction").dispatch({responses:j})},connectionObjectListGroupError:function i(j){c("AdsConnectionObjectListGroupBatchErrorDataAction").dispatch({responses:j})},connectionObjectShowDialog:function i(j){c("AdsConnectionObjectShowDialogDataAction").dispatch({isDialogShown:j})}};f.exports=h}),null);
__d("AdsPageBatchLoadErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.BATCH_LOAD_ERROR");f.exports=h}),null);
__d("AdsPageBatchLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.BATCH_LOADED");f.exports=h}),null);
__d("AdsPageCreateErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.CREATE_ERROR");f.exports=h}),null);
__d("AdsPageCreateForAppDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.CREATE_FOR_APP");f.exports=h}),null);
__d("AdsPageCreateSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.CREATE_SUCCESS");f.exports=h}),null);
__d("AdsPageLeadgenFormErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.LEADGEN_FORM_ERROR");f.exports=h}),null);
__d("AdsPageLeadgenFormLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.LEADGEN_FORM_LOADED");f.exports=h}),null);
__d("AdsPageListBatchLoadErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.LIST.BATCH_LOAD_ERROR");f.exports=h}),null);
__d("AdsPageListBatchLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.LIST.BATCH_LOADED");f.exports=h}),null);
__d("AdsPageListGroupBatchLoadErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.LIST.GROUP_BATCH_LOAD_ERROR");f.exports=h}),null);
__d("AdsPageListGroupBatchLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.LIST.GROUP_BATCH_LOADED");f.exports=h}),null);
__d("AdsPageListPartialLoadDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.LIST.PARTIAL_LOAD");f.exports=h}),null);
__d("AdsPageListReloadDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.LIST.RELOAD");f.exports=h}),null);
__d("AdsPageRestrictedDataBatchLoadErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.RESTRICTED_DATA.BATCH_LOAD_ERROR");f.exports=h}),null);
__d("AdsPageRestrictedDataBatchLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.RESTRICTED_DATA.BATCH_LOADED");f.exports=h}),null);
__d("AdsPageSelectorInitDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.SELECTOR.INIT");f.exports=h}),null);
__d("AdsPageSetPageLocationDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.SET_PAGE_LOCATION");f.exports=h}),null);
__d("AdsPageSignLeadgenTosDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.SIGN_LEADGEN_TOS");f.exports=h}),null);
__d("AdsPageSignLeadgenTosErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.SIGN_LEADGEN_TOS_ERROR");f.exports=h}),null);
__d("AdsPageSignLeadgenTosSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.SIGN_LEADGEN_TOS_SUCCESS");f.exports=h}),null);
__d("AdsPageActions",["AdsPageBatchLoadedDataAction","AdsPageBatchLoadErrorDataAction","AdsPageCreateErrorDataAction","AdsPageCreateForAppDataAction","AdsPageCreateSuccessDataAction","AdsPageLeadgenFormErrorDataAction","AdsPageLeadgenFormLoadedDataAction","AdsPageListBatchLoadedDataAction","AdsPageListBatchLoadErrorDataAction","AdsPageListGroupBatchLoadedDataAction","AdsPageListGroupBatchLoadErrorDataAction","AdsPageListPartialLoadDataAction","AdsPageListReloadDataAction","AdsPageRestrictedDataBatchLoadedDataAction","AdsPageRestrictedDataBatchLoadErrorDataAction","AdsPageSelectorInitDataAction","AdsPageSetPageLocationDataAction","AdsPageSignLeadgenTosDataAction","AdsPageSignLeadgenTosErrorDataAction","AdsPageSignLeadgenTosSuccessDataAction"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={createPageForApp:function i(j,k,l){c("AdsPageCreateForAppDataAction").dispatch({accountID:j,adgroupIDs:k,app:l})},initSelector:function i(j,k,l){c("AdsPageSelectorInitDataAction").dispatch({bookmarkedPageIDs:k,pageID:j.pageID,businessID:j.businessID,section:j.section,unownedPageIDs:l})},pageBatchLoaded:function i(j){c("AdsPageBatchLoadedDataAction").dispatch({pages:j})},pageBatchLoadError:function i(j){c("AdsPageBatchLoadErrorDataAction").dispatch({errors:j})},pageCreateError:function i(j){c("AdsPageCreateErrorDataAction").dispatch({error:j})},pageCreateSuccess:function i(j,k){c("AdsPageCreateSuccessDataAction").dispatch({appID:k,pageID:j})},pageListBatchLoaded:function i(j,k){c("AdsPageListBatchLoadedDataAction").dispatch({id:j,pages:k})},pageListGroupBatchLoaded:function i(j){c("AdsPageListGroupBatchLoadedDataAction").dispatch({responses:j})},pageListPartialBatchLoaded:function i(j,k){c("AdsPageListPartialLoadDataAction").dispatch({id:j,pages:k})},pageListReload:function i(j){c("AdsPageListReloadDataAction").dispatch({id:j})},pageListBatchLoadError:function i(j){c("AdsPageListBatchLoadErrorDataAction").dispatch({id:j})},pageListGroupBatchLoadError:function i(j){c("AdsPageListGroupBatchLoadErrorDataAction").dispatch({errors:j})},pageRestrictedDataLoaded:function i(j){c("AdsPageRestrictedDataBatchLoadedDataAction").dispatch({pages:j})},pageRestrictedDataLoadError:function i(j){c("AdsPageRestrictedDataBatchLoadErrorDataAction").dispatch({errors:j})},leadGenFormLoaded:function i(j,k){c("AdsPageLeadgenFormLoadedDataAction").dispatch({pageID:j,pageLeadGenForms:k})},leadGenFormError:function i(j,k){c("AdsPageLeadgenFormErrorDataAction").dispatch({error:k})},setPageLocation:function i(j,k){c("AdsPageSetPageLocationDataAction").dispatch({pageID:j,location:k})},signLeadGenTOS:function i(j){c("AdsPageSignLeadgenTosDataAction").dispatch({pageID:j})},signLeadGenTOSError:function i(j){c("AdsPageSignLeadgenTosErrorDataAction").dispatch({error:j})},signLeadGenTOSSuccess:function i(j){c("AdsPageSignLeadgenTosSuccessDataAction").dispatch({pageID:j})}};f.exports=h}),null);
__d("AdsInstagramAccountPageBatchLoadErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.PAGE.BATCH_LOAD_ERROR");f.exports=h}),null);
__d("AdsInstagramAccountPageBatchLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.PAGE.BATCH_LOADED");f.exports=h}),null);
__d("AdsInstagramAccountPageClearAccountsDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.PAGE.CLEAR_ACCOUNTS");f.exports=h}),null);
__d("AdsInstagramAccountPageCreateAndUsePageBackedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.PAGE.CREATE_AND_USE_PAGE_BACKED");f.exports=h}),null);
__d("AdsInstagramAccountPageCreatePageBackedErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.PAGE.CREATE_PAGE_BACKED_ERROR");f.exports=h}),null);
__d("AdsInstagramAccountPageCreatePageBackedSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.PAGE.CREATE_PAGE_BACKED_SUCCESS");f.exports=h}),null);
__d("AdsInstagramAccountPageHandleLinkAccountErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.PAGE.HANDLE_LINK_ACCOUNT_ERROR");f.exports=h}),null);
__d("AdsInstagramAccountPageHandleLinkAccountResponseDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.PAGE.HANDLE_LINK_ACCOUNT_RESPONSE");f.exports=h}),null);
__d("AdsInstagramAccountPageHandleUnlinkAccountErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.PAGE.HANDLE_UNLINK_ACCOUNT_ERROR");f.exports=h}),null);
__d("AdsInstagramAccountPageHandleUnlinkAccountResponseDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.PAGE.HANDLE_UNLINK_ACCOUNT_RESPONSE");f.exports=h}),null);
__d("AdsInstagramAccountPageLinkAccountDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.PAGE.LINK_ACCOUNT");f.exports=h}),null);
__d("AdsInstagramAccountPageUnlinkAccountDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.PAGE.UNLINK_ACCOUNT");f.exports=h}),null);
__d("AdsPageInstagramAccountActions",["AdsInstagramAccountPageBatchLoadedDataAction","AdsInstagramAccountPageBatchLoadErrorDataAction","AdsInstagramAccountPageClearAccountsDataAction","AdsInstagramAccountPageCreateAndUsePageBackedDataAction","AdsInstagramAccountPageCreatePageBackedErrorDataAction","AdsInstagramAccountPageCreatePageBackedSuccessDataAction","AdsInstagramAccountPageHandleLinkAccountErrorDataAction","AdsInstagramAccountPageHandleLinkAccountResponseDataAction","AdsInstagramAccountPageHandleUnlinkAccountErrorDataAction","AdsInstagramAccountPageHandleUnlinkAccountResponseDataAction","AdsInstagramAccountPageLinkAccountDataAction","AdsInstagramAccountPageUnlinkAccountDataAction"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={accountsBatchLoaded:function i(j){c("AdsInstagramAccountPageBatchLoadedDataAction").dispatch({specs:j})},accountsBatchLoadError:function i(j){c("AdsInstagramAccountPageBatchLoadErrorDataAction").dispatch({errors:j})},clearAccounts:function i(j){c("AdsInstagramAccountPageClearAccountsDataAction").dispatch({data:{pageID:j}})},createAndUsePageBackedAccount:function i(j,k,l,m,n,o){c("AdsInstagramAccountPageCreateAndUsePageBackedDataAction").dispatch({data:{accessToken:m,campaignID:j,adgroupIDs:k,pageID:l,instagramAccountIDCallback:o},source:n})},handlePageBackedAccountCreateSuccess:function i(j,k,l,m,n,o){c("AdsInstagramAccountPageCreatePageBackedSuccessDataAction").dispatch({data:{campaignID:j,adgroupIDs:k,pageID:l,instagramAccountID:m,instagramAccountIDCallback:o},source:n})},handlePageBackedAccountCreateError:function i(j){c("AdsInstagramAccountPageCreatePageBackedErrorDataAction").dispatch({data:{pageID:j}})},clearPageBackedAccountCreateError:function i(j){c("AdsInstagramAccountPageCreatePageBackedSuccessDataAction").dispatch({data:{pageID:j}})},linkInstagramAccount:function i(j,k,l){c("AdsInstagramAccountPageLinkAccountDataAction").dispatch({data:{pageID:j,password:k,username:l}})},unlinkInstagramAccount:function i(j,k){c("AdsInstagramAccountPageUnlinkAccountDataAction").dispatch({data:{pageID:j,instagramAccountID:k}})},handleLinkInstagramAccountResponse:function i(j,k,l,m){c("AdsInstagramAccountPageHandleLinkAccountResponseDataAction").dispatch({data:{pageID:j,instagramAccountID:k,errorMessages:l,errorCode:m}})},handleLinkInstagramAccountError:function i(j){c("AdsInstagramAccountPageHandleLinkAccountErrorDataAction").dispatch({data:{pageID:j}})},handleUnlinkInstagramAccountResponse:function i(j,k,l){c("AdsInstagramAccountPageHandleUnlinkAccountResponseDataAction").dispatch({data:{pageID:j,error:k,success:l}})},handleUnlinkInstagramAccountError:function i(j){c("AdsInstagramAccountPageHandleUnlinkAccountErrorDataAction").dispatch({data:{pageID:j}})}};f.exports=h}),null);
__d("AdsPromotablePageBatchLoadDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PROMOTABLE_PAGE.BATCH_LOAD");f.exports=h}),null);
__d("AdsPromotablePageBatchLoadErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PROMOTABLE_PAGE.BATCH_LOAD_ERROR");f.exports=h}),null);
__d("AdsPromotablePageBatchLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PROMOTABLE_PAGE.BATCH_LOADED");f.exports=h}),null);
__d("AdsPromotablePageListBatchLoadErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PROMOTABLE_PAGE.LIST.BATCH_LOAD_ERROR");f.exports=h}),null);
__d("AdsPromotablePageListBatchLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PROMOTABLE_PAGE.LIST.BATCH_LOADED");f.exports=h}),null);
__d("AdsPromotablePageListLoadErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PROMOTABLE_PAGE.LIST.LOAD_ERROR");f.exports=h}),null);
__d("AdsPromotablePageListLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PROMOTABLE_PAGE.LIST.LOADED");f.exports=h}),null);
__d("AdsPromotablePageListPartialLoadDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PROMOTABLE_PAGE.LIST.PARTIAL_LOAD");f.exports=h}),null);
__d("AdsPromotablePageActions",["AdsPromotablePageBatchLoadDataAction","AdsPromotablePageBatchLoadedDataAction","AdsPromotablePageBatchLoadErrorDataAction","AdsPromotablePageListBatchLoadedDataAction","AdsPromotablePageListBatchLoadErrorDataAction","AdsPromotablePageListLoadedDataAction","AdsPromotablePageListLoadErrorDataAction","AdsPromotablePageListPartialLoadDataAction"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={batchLoad:function i(j){c("AdsPromotablePageBatchLoadDataAction").dispatch({responses:j})},batchLoaded:function i(j,k){c("AdsPromotablePageBatchLoadedDataAction").dispatch({accountID:j,promotablePages:k})},batchLoadError:function i(j,k){c("AdsPromotablePageBatchLoadErrorDataAction").dispatch({accountID:j,errors:k})},partialLoad:function i(j,k){c("AdsPromotablePageListPartialLoadDataAction").dispatch({accountID:j,promotablePages:k})},listLoaded:function i(j,k){c("AdsPromotablePageListLoadedDataAction").dispatch({accountID:j,promotablePages:k})},listLoadError:function i(j){c("AdsPromotablePageListLoadErrorDataAction").dispatch({accountID:j})},listBatchLoaded:function i(j){c("AdsPromotablePageListBatchLoadedDataAction").dispatch({responses:j})},listBatchLoadError:function i(j){c("AdsPromotablePageListBatchLoadErrorDataAction").dispatch({responses:j})}};f.exports=h}),null);
__d("AdsConnectionObjectListDataManager",["AdsAPIAdAccountFields","AdsBaseListDataManager","AdsConnectionObjectActions","AdsGraphAPI","GraphAPIPaging"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("AdsBaseListDataManager"));i=h&&h.prototype;j.prototype.loadFor=function(l){c("AdsGraphAPI").get(f.id).adaccount(l).edge(c("AdsAPIAdAccountFields").CONNECTIONOBJECTS).get().then(c("GraphAPIPaging").eachPage(function(m){return c("AdsConnectionObjectActions").connectionObjectListPartialLoad(l,m.data)})).done(function(m){return this.__handleSuccess(["load"],l,null,m)}.bind(this),function(m){return this.__handleError(["load"],l,null,m)}.bind(this))};j.prototype.__onBatchLoaded=function(l){c("AdsConnectionObjectActions").connectionObjectListGroupLoaded(l)};j.prototype.__onBatchLoadError=function(l){c("AdsConnectionObjectActions").connectionObjectListGroupError(l)};function j(){h.apply(this,arguments)}var k=new j();f.exports=k}),null);
__d("AdsImageDataManagerFields",["AdsAPIImageFields"],(function a(b,c,d,e,f,g){"use strict";var h=[c("AdsAPIImageFields").CREATED_TIME,c("AdsAPIImageFields").CREATIVES,c("AdsAPIImageFields").HASH,c("AdsAPIImageFields").HEIGHT,c("AdsAPIImageFields").NAME,c("AdsAPIImageFields").ORIGINAL_HEIGHT,c("AdsAPIImageFields").ORIGINAL_WIDTH,c("AdsAPIImageFields").PERMALINK_URL,c("AdsAPIImageFields").STATUS,c("AdsAPIImageFields").UPDATED_TIME,c("AdsAPIImageFields").URL,c("AdsAPIImageFields").URL_128,c("AdsAPIImageFields").WIDTH,c("AdsAPIImageFields").URL_256,c("AdsAPIImageFields").URL_256_HEIGHT,c("AdsAPIImageFields").URL_256_WIDTH,c("AdsAPIImageFields").IS_ASSOCIATED_CREATIVES_IN_ADGROUPS,c("AdsAPIImageFields").IS_SPHERICAL_PHOTO];f.exports=h}),null);
__d("AdsImageDataManager",["fbt","AdsAPIAdAccountFields","AdsBaseDataManager","AdsGraphAPI","AdsImageActions","AdsImageDataManagerFields"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("AdsBaseDataManager"));j=i&&i.prototype;k.prototype.loadAllFor=function(l,m){c("AdsGraphAPI").get(f.id).adaccount(l).edge(c("AdsAPIAdAccountFields").ADIMAGES).get({date_format:"U",fields:c("AdsImageDataManagerFields"),hashes:m}).done(function(n){return this.__processResponse(n,m,function(o){return o.hash},function(o){return new Error(h._("Unable to load image hash \"{image hash}\", it may be invalid.",[h.param("image hash",o)]))},true,false)}.bind(this),function(n){m.forEach(function(o){this.__handleError(["load"],o,null,n)}.bind(this))}.bind(this))};k.prototype.loadOneFor=function(l,m){this.loadAllFor(l,[m])};k.prototype.__onBatchLoaded=function(l){c("AdsImageActions").imagesBatchLoaded(l)};k.prototype.__onBatchLoadError=function(l){c("AdsImageActions").imagesBatchLoadError(l)};function k(){i.apply(this,arguments)}f.exports=new k()}),null);
__d("AdsAdgroupSetPageDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"ADGROUP.SET_PAGE");f.exports=h}),null);
__d("AdsConnectionObjectUtils",["fbt","AdsAPIConnectionObjectPaths","AdsDestinationTypes","ApiPagePaths","ads-app-platforms","getByPath"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("ads-app-platforms").APP_PLATFORM,j={isPage:function k(l){var m=c("getByPath")(l,c("AdsAPIConnectionObjectPaths").OBJECT_TYPE);return m===c("AdsDestinationTypes").PAGE||m===c("AdsDestinationTypes").PLACE||m===c("AdsDestinationTypes").EXTERNAL_WEB_PAGE||m===c("AdsDestinationTypes").PAGE_AND_PLACE},isApp:function k(l){return c("getByPath")(l,c("AdsAPIConnectionObjectPaths").OBJECT_TYPE)===c("AdsDestinationTypes").APP},isEvent:function k(l){return c("getByPath")(l,c("AdsAPIConnectionObjectPaths").OBJECT_TYPE)===c("AdsDestinationTypes").EVENT},isViewerEventAdmin:function k(l){return c("getByPath")(l,c("AdsAPIConnectionObjectPaths").EVENT_IS_VIEWER_ADMIN,false)},getTabList:function k(l,m,n){__p&&__p();var o={};for(var p in m)if(Object.prototype.hasOwnProperty.call(m,p)){var q=p.match(/\?sk=(\w+)/);if(!q||n.indexOf(q[1])<0)o[p]=m[p]}var r=Object.keys(o).map(function(s){return{text:o[s],value:s}});r.unshift({text:h._("Default"),value:l});return r},pageToConnectionObject:function k(l){return{id:c("getByPath")(l,c("ApiPagePaths").ID),name:c("getByPath")(l,c("ApiPagePaths").NAME),picture:c("getByPath")(l,c("ApiPagePaths").PICTURE.DATA.URL),url:c("getByPath")(l,c("ApiPagePaths").LINK),type:c("AdsDestinationTypes").PAGE}},supportsContextualAppAds:function k(l){var m=c("getByPath")(l,c("AdsAPIConnectionObjectPaths").TYPE);if(m!==c("AdsDestinationTypes").APP)return false;var n=c("getByPath")(l,c("AdsAPIConnectionObjectPaths").SUPPORTED_PLATFORMS)||[];return n.some(function(o){return o!==i.WEB&&o!==i.CANVAS})}};f.exports=j}),null);
__d("AdsPagePageRoleLoadErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.PAGE_ROLE_LOAD_ERROR");f.exports=h}),null);
__d("AdsPagePageRoleLoadSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.PAGE_ROLE_LOAD_SUCCESS");f.exports=h}),null);
__d("AdsPagePageSettingsLoadErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.PAGE_SETTINGS_LOAD_ERROR");f.exports=h}),null);
__d("AdsPagePageSettingsLoadSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.PAGE_SETTINGS_LOAD_SUCCESS");f.exports=h}),null);
__d("AdsPageUpdatePageSettingsErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.UPDATE_PAGE_SETTINGS_ERROR");f.exports=h}),null);
__d("AdsPageUpdatePageSettingsSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.UPDATE_PAGE_SETTINGS_SUCCESS");f.exports=h}),null);
__d("AdsPageDataManager",["fbt","AdsAdgroupSetPageDataAction","AdsBaseDataManager","AdsConnectionObjectActions","AdsConnectionObjectUtils","AdsGraphAPI","AdsPageActions","AdsPageFields","AdsPagePageRoleLoadErrorDataAction","AdsPagePageRoleLoadSuccessDataAction","AdsPagePageSettingsLoadErrorDataAction","AdsPagePageSettingsLoadSuccessDataAction","AdsPageUpdatePageSettingsErrorDataAction","AdsPageUpdatePageSettingsSuccessDataAction","ApiPageFields","CurrentUser"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("AdsBaseDataManager"));j=i&&i.prototype;k.prototype.createPageForApp=function(m,n,o){c("AdsGraphAPI").get(f.id).me().edge("accounts").post({name:o.name,category_enum:"APP",picture:o.logo_url||o.picture,website:o.url}).then(function(p){return c("AdsGraphAPI").get(f.id).object("page",p.id).get({fields:c("AdsPageFields").forCurrentUser()})}).then(function(p){var q=c("AdsConnectionObjectUtils").pageToConnectionObject(p);c("AdsConnectionObjectActions").connectionObjectListLoaded(m,[q]);c("AdsPageActions").pageCreateSuccess(p.id,o.id);c("AdsAdgroupSetPageDataAction").dispatch({ids:n,pageID:p.id})})["catch"](c("AdsPageActions").pageCreateError)};k.prototype.loadLeadGenForm=function(m){c("AdsGraphAPI").get(f.id).object("page",m).edge("leadgen_forms").get({fields:["id"],limit:1}).done(function(n){return c("AdsPageActions").leadGenFormLoaded(m,n.data)},function(n){return c("AdsPageActions").leadGenFormError(m,n)})};k.prototype.signLeadGenTOS=function(m){c("AdsGraphAPI").get(f.id).object("page",m).post({leadgen_tos_accepted:true}).then(function(){c("AdsPageActions").signLeadGenTOSSuccess(m)})["catch"](c("AdsPageActions").signLeadGenTOSError)};k.prototype.loadAll=function(m){m.forEach(function(n){return this.load(n)}.bind(this))};k.prototype.load=function(m){c("AdsGraphAPI").get(f.id).objectByName("page",m).batched().get({fields:c("AdsPageFields").forCurrentUser()}).done(function(n){return this.__handleSuccess(["load"],m,null,n)}.bind(this),function(n){return this.__handleError(["load"],m,null,n)}.bind(this))};k.prototype.__getMultiple=function(m){return this.__withBatching(m,c("AdsGraphAPI").get(f.id).objectsByName("page",m)).get({fields:c("AdsPageFields").forCurrentUser()})};k.prototype.loadPageSettings=function(m){__p&&__p();c("AdsGraphAPI").get(f.id).object("page",m).get({fields:c("ApiPageFields").ACCESS_TOKEN}).then(function(n){return c("AdsGraphAPI").get(f.id).object("page",m).edge("settings").get({access_token:n[c("ApiPageFields").ACCESS_TOKEN]})}).then(function(n){var o={};if(n.data){n.data.forEach(function(p){var q=p.setting,r=p.value;o[q]=r});c("AdsPagePageSettingsLoadSuccessDataAction").dispatch({pageID:m,settings:o})}})["catch"](function(n){return c("AdsPagePageSettingsLoadErrorDataAction").dispatch({pageID:m,error:n})})};k.prototype.loadPageRole=function(m){c("AdsGraphAPI").get(f.id).object("page",m).get({fields:c("ApiPageFields").ACCESS_TOKEN}).then(function(n){return c("AdsGraphAPI").get(f.id).object("page",m).edge("roles").get({access_token:n[c("ApiPageFields").ACCESS_TOKEN],uid:c("CurrentUser").getID()})}).then(function(n){if(n.data&&n.data[0])c("AdsPagePageRoleLoadSuccessDataAction").dispatch({pageID:m,role:n.data[0]})})["catch"](function(n){return c("AdsPagePageRoleLoadErrorDataAction").dispatch({error:n,pageID:m})})};k.prototype.updatePageSettings=function(m,n){c("AdsGraphAPI").get(f.id).object("page",m).get({fields:c("ApiPageFields").ACCESS_TOKEN}).then(function(o){return c("AdsGraphAPI").get(f.id).object("page",m).edge("settings").post({access_token:o[c("ApiPageFields").ACCESS_TOKEN],option:n})}).then(function(o){return c("AdsPageUpdatePageSettingsSuccessDataAction").dispatch({pageID:m})})["catch"](function(o){return c("AdsPageUpdatePageSettingsErrorDataAction").dispatch({error:o,pageID:m})})};k.prototype.__onBatchLoaded=function(m){c("AdsPageActions").pageBatchLoaded(m)};k.prototype.__onBatchLoadError=function(m){c("AdsPageActions").pageBatchLoadError(m)};k.prototype.__getObjectTypeLabel=function(){return h._("Page")};function k(){i.apply(this,arguments)}var l=new k();f.exports=l}),null);
__d("GraphInstagramUserFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({FOLLOW_COUNT:"follow_count",FOLLOWED_BY_COUNT:"followed_by_count",HAS_PROFILE_PIC:"has_profile_picture",ID:"id",IS_BUSINESS:"is_business",IS_PRIVATE:"is_private",IS_PUBLISHED:"is_published",LOGGING_START_DATE:"logging_start_date",MEDIA_COUNT:"media_count",PROFILE_PIC:"profile_pic",USERNAME:"username"})}),null);
__d("XPageLinkInstagramAccountController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/page/instagram/link/",{})}),null);
__d("XPageUnlinkInstagramAccountController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/page/instagram/unlink/",{})}),null);
__d("AdsPageInstagramAccountDataManager",["fbt","AdsBaseDataManager","AdsGraphAPI","AdsPageInstagramAccountActions","AsyncRequest","GraphEdgeName","GraphInstagramUserFields","XPageLinkInstagramAccountController","XPageUnlinkInstagramAccountController","sprintf"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=[c("GraphInstagramUserFields").HAS_PROFILE_PIC,c("GraphInstagramUserFields").ID,c("GraphInstagramUserFields").IS_BUSINESS,c("GraphInstagramUserFields").IS_PRIVATE,c("GraphInstagramUserFields").IS_PUBLISHED,c("GraphInstagramUserFields").PROFILE_PIC,c("GraphInstagramUserFields").USERNAME].join(),l=["id","profile_picture_url","username"].join();i=babelHelpers.inherits(m,c("AdsBaseDataManager"));j=i&&i.prototype;m.prototype.loadAll=function(n){n.forEach(function(o){return this.load(o)}.bind(this))};m.prototype.load=function(n){c("AdsGraphAPI").get(f.id).objectByName("page",n).batched().get({fields:[c("sprintf")("%s.limit(1).fields(%s)",c("GraphEdgeName").INSTAGRAM_ACCOUNTS,k),c("sprintf")("%s.limit(1).fields(%s)",c("GraphEdgeName").PAGE_BACKED_INSTAGRAM_ACCOUNTS,k),c("sprintf")("instagram_business_account.fields(%s)",l)]}).done(function(o){return this.__handleSuccess(["load"],n,null,o)}.bind(this),function(o){return this.__handleError(["load"],n,null,o)}.bind(this))};m.prototype.createAndUsePageBackedAccount=function(n,o,p,q,r,s){c("AdsGraphAPI").get(f.id).objectByName("page",p).edge(c("GraphEdgeName").PAGE_BACKED_INSTAGRAM_ACCOUNTS).batched().post({access_token:q}).done(function(t){c("AdsPageInstagramAccountActions").handlePageBackedAccountCreateSuccess(n,o,p,t.id,r,s)},function(t){c("AdsPageInstagramAccountActions").handlePageBackedAccountCreateError(p)})};m.prototype.linkInstagramAccount=function(n,o,p){var q=c("XPageLinkInstagramAccountController").getURIBuilder().getURI();new(c("AsyncRequest"))().setAllowCrossOrigin(true).setURI(q).setData({page_id:n,password:p,username:o}).setHandler(function(r){return c("AdsPageInstagramAccountActions").handleLinkInstagramAccountResponse(n,r.payload.instagram_account_id,r.payload.error_messages,r.payload.error_code)}).setErrorHandler(function(r){return c("AdsPageInstagramAccountActions").handleLinkInstagramAccountError(n)}).send()};m.prototype.unlinkInstagramAccount=function(n,o){var p=c("XPageUnlinkInstagramAccountController").getURIBuilder().getURI();new(c("AsyncRequest"))().setAllowCrossOrigin(true).setURI(p).setData({page_id:n,instagram_account_id:o}).setHandler(function(q){return c("AdsPageInstagramAccountActions").handleUnlinkInstagramAccountResponse(n,q.payload.error,q.payload.success)}).setErrorHandler(function(q){return c("AdsPageInstagramAccountActions").handleUnlinkInstagramAccountError(n)}).send()};m.prototype.__onBatchLoaded=function(n){c("AdsPageInstagramAccountActions").accountsBatchLoaded(n)};m.prototype.__onBatchLoadError=function(n){c("AdsPageInstagramAccountActions").accountsBatchLoadError(n)};m.prototype.__getObjectTypeLabel=function(){return h._("Page Instagram Accounts")};function m(){i.apply(this,arguments)}f.exports=new m()}),null);
__d("AdsPromotablePageListDataManager",["AdsBaseListDataManager","AdsGraphAPI","AdsPageFields","AdsPromotablePageActions","GraphAPIPaging"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("AdsBaseListDataManager"));i=h&&h.prototype;j.prototype.loadFor=function(k){c("AdsGraphAPI").get(f.id).me().edge("accounts").get({is_promotable:true,fields:c("AdsPageFields").forCurrentUser(),limit:50}).then(c("GraphAPIPaging").eachPage(function(l){return c("AdsPromotablePageActions").partialLoad(k,l.data)})).done(function(l){return this.__handleSuccess(["load"],k,null,l)}.bind(this),function(l){return this.__handleError(["load"],k,null,l)}.bind(this))};j.prototype.__onBatchLoaded=function(k){c("AdsPromotablePageActions").listBatchLoaded(k)};j.prototype.__onBatchLoadError=function(k){c("AdsPromotablePageActions").listBatchLoadError(k)};function j(){h.apply(this,arguments)}f.exports=new j()}),null);
__d("AdsImageStore",["AdsBaseDataStore","AdsImageActionType","AdsImageBatchLoadedDataAction","AdsImageBatchLoadErrorDataAction","AdsImageDataDispatcher","AdsImageDataManager","AdsImageListLoadedDataAction","AdsImageLoadNextPageDataAction","AdsLoadState_LEGACY","BoostedComponentCreativeActionTypesV2","Map","curry","deepFreezeValue"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=[];c("deepFreezeValue")(j);var k={};c("deepFreezeValue")(k);var l={};h=babelHelpers.inherits(m,c("AdsBaseDataStore"));i=h&&h.prototype;function m(){i.constructor.call(this);this.$AdsImageStore1={};this.$AdsImageStore2=new(c("Map"))()}m.prototype.getDataManager=function(){return c("AdsImageDataManager")};m.prototype.__onDispatch=function(o){__p&&__p();var p=o.action;switch(p.actionType){case c("AdsImageBatchLoadedDataAction").actionType:this.__handleData(p.images,c("AdsLoadState_LEGACY").LOADED);break;case c("AdsImageBatchLoadErrorDataAction").actionType:this.__handleData(p.errors,c("AdsLoadState_LEGACY").ERROR);break;case c("AdsImageActionType").LOAD_IMAGES_SUCCESS:this.$AdsImageStore3(p.accountID,p.images);this.$AdsImageStore2.set(p.accountID,{loadNextPage:p.loadNextPage,isLoadingNextPage:false});this.__emitChange();break;case c("AdsImageActionType").LOAD_DIMENSION_SUCCESS:var q={width:p.width,height:p.height};c("deepFreezeValue")(q);l[p.url]=q;this.__emitChange();break;case c("AdsImageActionType").LOAD_DIMENSION_ERROR:delete l[p.url];this.__emitChange();break;case c("AdsImageLoadNextPageDataAction").actionType:if(this.$AdsImageStore4(p.accountID))this.__emitChange();break;case c("AdsImageListLoadedDataAction").actionType:var r=p.images,s=new(c("Map"))();r.forEach(function(t){return s.set(t.hash,t)});this.__handleData(s,c("AdsLoadState_LEGACY").LOADED);break;case c("BoostedComponentCreativeActionTypesV2").UPDATE_IMAGE:var t=p.image.toJSON();this.$AdsImageStore3(p.accountID,[{hash:t.hash,height:t.height,loadState:"LOADED",name:t.name,url:t.url,url_128:t.url_128,url_256:t.url_256,url_256_height:0,url_256_width:0,width:t.width}]);break;default:return}};m.prototype.getOneFor=function(o,p){return this.getAllFor(o,[p]).get(p)};m.prototype.getAllFor=function(o,p){var q=this.__updateLoading(p);if(q.length>0)c("AdsImageDataManager").loadAllFor(o,q);return this.getAllCached(p)};m.prototype.getImages_DEPRECATED=function(o){var p=this.$AdsImageStore1[o];if(p===k)return j;if(p)return p.list;this.$AdsImageStore1[o]=k;c("AdsImageDataDispatcher").loadPagedImagesForAccountID(o);return j};m.prototype.getImageByHash_DEPRECATED=function(o,p){__p&&__p();var q=this.$AdsImageStore1[o];if(q===k)return null;if(!q){this.getImages_DEPRECATED(o);return null}var r=q.map[p];if(r===k)return null;if(typeof r==="number")return q.list[r];q.map[p]=k;c("AdsImageDataDispatcher").loadAllImagesForAccountID(o,[p]);return null};m.prototype.getImageDimensionsByURL=function(o){var p=l[o];if(p)return p===k?null:p;l[o]=k;c("AdsImageDataDispatcher").loadImageDimensionsForURL(o);return null};m.prototype.$AdsImageStore3=function(o,p){var q=this.$AdsImageStore1[o];if(!(q&&q!==k))q={list:[],map:{}};p.forEach(c("curry")(this.$AdsImageStore5,q.list,q.map));this.$AdsImageStore1[o]=q};m.prototype.$AdsImageStore5=function(o,p,q){__p&&__p();if(q.url&&q.width&&q.height){var r={width:q.width,height:q.height};c("deepFreezeValue")(r);l[q.url]=r}var s=n(q),t=p[s];if(typeof t==="number")o[t]=q;else{o.push(q);t=o.length-1;p[s]=t}};m.prototype.$AdsImageStore4=function(o){var p=this.$AdsImageStore2.get(o);if(!p)return false;if(!p.isLoadingNextPage&&p.loadNextPage){p.loadNextPage();p.isLoadingNextPage=true;return true}return false};m.prototype.isFetchingNextPage=function(o){var p=this.$AdsImageStore2.get(o);if(!p)return false;return p.isLoadingNextPage};m.prototype.hasCursorForNextPage=function(o){var p=this.$AdsImageStore2.get(o);if(!p)return false;return!!p.loadNextPage};m.prototype.getImageDataFromHash=function(o,p){var q="",r=p?this.getImageByHash_DEPRECATED(o,p):null;if(r)q=r.url||r.url_128||q;return{dimensions:q?this.getImageDimensionsByURL(q):null,url:q}};function n(o){if(o.stockImageID)return o.stockImageID;return o.hash||o.url}f.exports=new m()}),null);
__d("AdsAccountImageInfoStore",["invariant","AdsBaseImageInfoStore","AdsDataAtom","AdsImageDimensionStore","AdsImageIDClasses","AdsImageInfoUtils","AdsImageStore","AdsLoadState_LEGACY","LoadObject"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("AdsBaseImageInfoStore").AdsBaseImageInfoStore,l=c("AdsBaseImageInfoStore")._getImageInfoQueryFromCacheKey,m=c("AdsImageIDClasses").AdsAccountImageID,n=c("AdsImageInfoUtils").InternalImage,o=c("AdsImageInfoUtils").QueryTypes;i=babelHelpers.inherits(p,k);j=i&&i.prototype;p.prototype.__getStores=function(){return[c("AdsImageDimensionStore"),c("AdsImageStore")]};p.prototype.__getData=function(q){__p&&__p();var r=l(q),s=r.imageID,t=r.queryType;s instanceof m||h(0);var u=s.getAccountID(),v=s.getHash();if(t===o.PREVIEW)return c("LoadObject").empty();var w=c("AdsImageStore").getOneFor(u,v),x=typeof w==="string"?w:w.loadState,y=typeof w!=="string"?w:null;if(x===c("AdsLoadState_LEGACY").LOADING)return c("LoadObject").loading();if(x!==c("AdsLoadState_LEGACY").LOADED)return c("LoadObject").empty().setError(new Error("Cannot load image data for accountID: "+u+", hash: "+v));y||h(0);switch(t){case o.FULL_SIZE:var z=y.url,A=y.width,B=y.height;return c("LoadObject").empty().setValue(new n({url:z,width:A,height:B}));case o.FULL_SIZE_URL:return c("LoadObject").empty().setValue(new n({url:y.url}));case o.NAME:var C=y.name;if(!C)return c("LoadObject").empty();return c("LoadObject").empty().setValue(new n({name:C}));case o.THUMBNAIL:var D=y.url_128;if(!D)return c("LoadObject").empty();return this.$AdsAccountImageInfoStore1(D,null,null);case o.THUMBNAIL_URL:return c("LoadObject").withValue(new n({url:y.url_128}));case o.HIGH_RES_THUMBNAIL:var E=y.url_256,F=y.url_256_width,G=y.url_256_height;if(!E)return c("LoadObject").empty();return this.$AdsAccountImageInfoStore1(E,F,G);case o.HIGH_RES_THUMBNAIL_URL:if(!y.url_256)return c("LoadObject").empty();else return c("LoadObject").withValue(new n({url:y.url_256}));case o.IS_SPHERICAL_PHOTO:if(!y.is_spherical_photo)return c("LoadObject").empty();else return c("LoadObject").withValue(new n({isSphericalPhoto:y.is_spherical_photo}))}h(0)};p.prototype.__computeResult=function(q,r){return r};p.prototype.$AdsAccountImageInfoStore1=function(q,r,s){var t=c("AdsImageDimensionStore").get(q);if(!t.hasValue())return t;var u=t.getValueEnforcing(),v=u.width,w=u.height;return c("LoadObject").empty().setValue(new n({displayHeight:s||w,displayWidth:r||v,realHeight:w,realWidth:v,url:q}))};function p(){i.apply(this,arguments)}f.exports=new p(c("AdsDataAtom"))}),null);
__d("AdsAdgroupDisablePageActorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"ADGROUP.DISABLE_PAGE_ACTOR");f.exports=h}),null);
__d("AdsAdgroupSetChildPlaceDataLocationDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"ADGROUP.SET_CHILD_PLACE_DATA_LOCATION");f.exports=h}),null);
__d("AdsAdgroupSetLinkPostFormatDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"ADGROUP.SET_LINK_POST_FORMAT");f.exports=h}),null);
__d("AdsAdgroupSetMediaFormatDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"ADGROUP.SET_MEDIA_FORMAT");f.exports=h}),null);
__d("AdsAdgroupSetPostEditModeDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"ADGROUP.SET_POST_EDIT_MODE");f.exports=h}),null);
__d("AdsAdgroupSetTrackingSpecDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"ADGROUP.SET_TRACKING_SPEC");f.exports=h}),null);
__d("AdsCampaignPromotedObjectSetPageIdDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CAMPAIGN.PROMOTED_OBJECT.SET_PAGE_ID");f.exports=h}),null);
__d("AdsUEditorHostIDs",["keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirror")({BULK_EDIT_DIALOG:null,CREATION:null,EDITING:null});f.exports=h}),null);
__d("AdsAdgroupEditorStore",["AdsAdgroupDisablePageActorDataAction","AdsAdgroupSetChildPlaceDataLocationDataAction","AdsAdgroupSetLinkPostFormatDataAction","AdsAdgroupSetMediaFormatDataAction","AdsAdgroupSetPageDataAction","AdsAdgroupSetPostEditModeDataAction","AdsAdgroupSetTrackingSpecDataAction","AdsAdgroupSpecUtils","AdsAPIAdgroupPaths","AdsCallToActionTypes","AdsCallToActionUtils","AdsCampaignPromotedObjectSetPageIdDataAction","AdsConversionActionTypes","AdsDataAtom","AdsEditorPostEditMode","AdsInstagramActorIDUtils","AdsLinkPostFormat","AdsMediaFormat","AdsMixedValue","AdsUEditorAdgroupRemoveInstagramAccountDataAction","AdsUEditorAdgroupSetCallToActionLinkDataAction","AdsUEditorAdgroupSetCallToActionTypeDataAction","AdsUEditorAdgroupSetPageDataAction","AdsUEditorHostIDs","AdsUniformValue","Cache","FluxStore","GeoCoordinates","GeoPlace","Map","adsBaseStoreMixin_DEPRECATED","getByPath","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;function j(m,n){return c("getByPath")(n,m.slice(1))}h=babelHelpers.inherits(k,c("FluxStore"));i=h&&h.prototype;function k(){i.constructor.call(this,c("AdsDataAtom"));c("adsBaseStoreMixin_DEPRECATED")(this);this.$AdsAdgroupEditorStoreClass1=new(c("Cache"))()}k.prototype.__onDispatch=function(m){__p&&__p();var n=m.action;if(n.hostID&&n.hostID!==c("AdsUEditorHostIDs").EDITING)return;switch(n.type){case c("AdsAdgroupDisablePageActorDataAction").actionType:this.$AdsAdgroupEditorStoreClass2(n.ids,n.pageIDsToCache,n.creativesToCache);break;case c("AdsAdgroupSetMediaFormatDataAction").actionType:this.$AdsAdgroupEditorStoreClass3(n.ids,n.mediaFormat,n.adgroupsToCache,n.objectives,n.campaignGroupPromotedPageIDs);break;case c("AdsCampaignPromotedObjectSetPageIdDataAction").actionType:this.$AdsAdgroupEditorStoreClass4(n.adgroupIDs,n.pageID);break;case c("AdsAdgroupSetPageDataAction").actionType:this.$AdsAdgroupEditorStoreClass4(n.ids,n.pageID);break;case c("AdsUEditorAdgroupSetPageDataAction").actionType:this.$AdsAdgroupEditorStoreClass4(n.ids,n.pageID);break;case c("AdsAdgroupSetPostEditModeDataAction").actionType:this.$AdsAdgroupEditorStoreClass5(n.ids,n.postEditMode,n.creativesToCache,n.carouselStyleToCache,n.carouselWithStaticCardStyleToCache);break;case c("AdsAdgroupSetLinkPostFormatDataAction").actionType:this.$AdsAdgroupEditorStoreClass6(n.ids,n.linkPostFormat,n.fieldsToCache);break;case c("AdsUEditorAdgroupSetCallToActionTypeDataAction").actionType:this.$AdsAdgroupEditorStoreClass7(n.ids,n.adgroupsToCache);break;case c("AdsUEditorAdgroupSetCallToActionLinkDataAction").actionType:this.$AdsAdgroupEditorStoreClass7(n.ids,n.adgroupsToCache);break;case c("AdsAdgroupSetChildPlaceDataLocationDataAction").actionType:this.$AdsAdgroupEditorStoreClass8(n.ids,n.addressString,n.latitude,n.longitude);break;case c("AdsAdgroupSetTrackingSpecDataAction").actionType:this.$AdsAdgroupEditorStoreClass9(n.ids,n.conversionType,n.uiTrackingType);break;case c("AdsUEditorAdgroupRemoveInstagramAccountDataAction").actionType:this.setInstagramActorIDAndCoupledPageID(n.ids,n.adgroupsToCache);this.$AdsAdgroupEditorStoreClass10(n.ids);break}};k.prototype.$AdsAdgroupEditorStoreClass2=function(m,n,o){__p&&__p();if(n instanceof c("AdsMixedValue"))m.forEach(function(p,q){this.$AdsAdgroupEditorStoreClass4([p],n.getValueForIndex(q))}.bind(this));else if(n instanceof c("AdsUniformValue")&&n.getValue())this.$AdsAdgroupEditorStoreClass4(m,n.getValue());o.forEach(function(p,q){__p&&__p();var r=this.$AdsAdgroupEditorStoreClass1.get(q)||this.$AdsAdgroupEditorStoreClass11(),s=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_ID,p),t=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.path,p),u=j(c("AdsAPIAdgroupPaths").CREATIVE.INSTAGRAM_STORY_ID,p),v=j(c("AdsAPIAdgroupPaths").CREATIVE.INSTAGRAM_ACTOR_ID,p);if(s)r.objectStoryID=s;if(t)r.objectStorySpec=t;if(u)r.instagramStoryID=u;if(v)r.coupledInstagramActorID=v;this.$AdsAdgroupEditorStoreClass1.set(q,r)}.bind(this))};k.prototype.$AdsAdgroupEditorStoreClass10=function(m){__p&&__p();var n=false;m.forEach(function(o){var p=this.$AdsAdgroupEditorStoreClass1.get(o);if(p&&p.objectStorySpec&&p.objectStorySpec.instagram_actor_id){var q=babelHelpers["extends"]({},p);delete c("nullthrows")(q.objectStorySpec).instagram_actor_id;this.$AdsAdgroupEditorStoreClass1.set(o,q);n=true}}.bind(this));n&&this.__emitChange()};k.prototype.$AdsAdgroupEditorStoreClass11=function(){return{assetFeedSpec:null,callToActionType:null,callToActionLinks:new(c("Map"))(),carouselStyle:null,carouselWithStaticCardStyle:null,childAttachments:null,childAttachmentsMediaData:new(c("Map"))(),coupledPageID:null,coupledInstagramActorID:null,displayURL:null,imageAssets:null,imageCrops:null,imageHash:null,imageURL:null,instagramActorID:null,instagramStoryID:null,link:null,videoThumbnailHash:null,videoThumbnailURL:null,objectStorySpec:null,objectStoryID:null,offlineTrackingType:null,pageID:null,platformCustomizations:null,productSetID:null,title:null,videoCallToActionType:null,videoID:null,videoAssets:null}};k.prototype.getCachedInstagramStoryID=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.instagramStoryID||undefined};k.prototype.getCachedCoupledInstagramActorID=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.coupledInstagramActorID||undefined};k.prototype.getCachedInstagramActorID=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.instagramActorID||undefined};k.prototype.getCachedCoupledPageID=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.coupledPageID||undefined};k.prototype.getCachedCallToActionType=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.callToActionType||undefined};k.prototype.getCachedCallToActionLink=function(m,n){if(!n)return null;var o=this.$AdsAdgroupEditorStoreClass1.get(m);return o&&o.callToActionLinks.get(n)?o.callToActionLinks.get(n):null};k.prototype.getCachedCarouselStyle=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.carouselStyle||undefined};k.prototype.getCachedCarouselWithStaticCardStyle=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n?n.carouselWithStaticCardStyle:null};k.prototype.getCachedChildAttachments=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.childAttachments||undefined};k.prototype.getCachedChildAttachmentsMediaData=function(m,n){var o=this.$AdsAdgroupEditorStoreClass1.get(m);return o&&o.childAttachmentsMediaData?o.childAttachmentsMediaData.get(n):null};k.prototype.getCachedDisplayURL=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.displayURL||undefined};k.prototype.getCachedImageCrops=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.imageCrops||undefined};k.prototype.getCachedImageHash=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.imageHash||undefined};k.prototype.getCachedOfflineTrackingType=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.offlineTrackingType||undefined};k.prototype.getCachedVideoThumbnailHash=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.videoThumbnailHash||undefined};k.prototype.getCachedVideoThumbnailURL=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.videoThumbnailURL||undefined};k.prototype.getCachedPageID=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.pageID||undefined};k.prototype.getCachedPlatformCustomizations=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.platformCustomizations||undefined};k.prototype.getCachedImageURL=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.imageURL||undefined};k.prototype.getCachedAssetFeedSpec=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.assetFeedSpec||undefined};k.prototype.getCachedObjectStorySpec=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.objectStorySpec||undefined};k.prototype.getCachedObjectStoryID=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.objectStoryID||undefined};k.prototype.getCachedProductSetID=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.productSetID||undefined};k.prototype.getCachedTitle=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.title||undefined};k.prototype.getCachedVideoID=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.videoID||undefined};k.prototype.getCachedAssetFeedVideos=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.videoAssets||undefined};k.prototype.getCachedAssetFeedImages=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.imageAssets||undefined};k.prototype.getCachedVideoCallToActionType=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.videoCallToActionType||undefined};k.prototype.getCachedLink=function(m){var n=this.$AdsAdgroupEditorStoreClass1.get(m);return n&&n.link||undefined};k.prototype.setInstagramActorIDAndCoupledPageID=function(m,n){__p&&__p();if(!n)return;m.forEach(function(o){var p=n&&n.get(o),q=p?c("AdsInstagramActorIDUtils").getInstagramActorID(p):null;if(q){var r=this.$AdsAdgroupEditorStoreClass1.get(o)||this.$AdsAdgroupEditorStoreClass11();r.coupledPageID=r.pageID;r.instagramActorID=q;this.$AdsAdgroupEditorStoreClass1.set(o,r)}}.bind(this));this.__emitChange()};k.prototype.$AdsAdgroupEditorStoreClass4=function(m,n){m.forEach(function(o){var p=this.$AdsAdgroupEditorStoreClass1.get(o)||this.$AdsAdgroupEditorStoreClass11();p.pageID=n;this.$AdsAdgroupEditorStoreClass1.set(o,p)}.bind(this));this.__emitChange()};k.prototype.$AdsAdgroupEditorStoreClass5=function(m,n,o,p,q){__p&&__p();m.forEach(function(r){__p&&__p();var s=this.$AdsAdgroupEditorStoreClass1.get(r)||this.$AdsAdgroupEditorStoreClass11(),t=o.get(r);if(n===c("AdsEditorPostEditMode").INLINE){s.objectStoryID=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_ID,t);s.instagramStoryID=j(c("AdsAPIAdgroupPaths").CREATIVE.INSTAGRAM_STORY_ID,t);s.coupledInstagramActorID=j(c("AdsAPIAdgroupPaths").CREATIVE.INSTAGRAM_ACTOR_ID,t)}else if(n===c("AdsEditorPostEditMode").EXISTING){var u=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PAGE_ID,t);if(u)s.pageID=u;s.assetFeedSpec=j(c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.path,t);s.objectStorySpec=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.path,t);s.productSetID=j(c("AdsAPIAdgroupPaths").CREATIVE.PRODUCT_SET_ID,t);s.platformCustomizations=j(c("AdsAPIAdgroupPaths").CREATIVE.PLATFORM_CUSTOMIZATIONS.path,t);s.carouselStyle=p.get(r);s.carouselWithStaticCardStyle=q.get(r)}this.$AdsAdgroupEditorStoreClass1.set(r,s)}.bind(this));this.__emitChange()};k.prototype.$AdsAdgroupEditorStoreClass6=function(m,n,o){__p&&__p();if(!o)return;var p=o.childAttachmentsToCache,q=o.displayURLsToCache,r=o.platformCustomizationsToCache,s=o.carouselStyleToCache,t=o.carouselWithStaticCardStyleToCache;if(!p&&!q&&!r)return;m.forEach(function(u){__p&&__p();var v=this.$AdsAdgroupEditorStoreClass1.get(u)||this.$AdsAdgroupEditorStoreClass11();if(p&&n===c("AdsLinkPostFormat").SINGLE)v.childAttachments=p.get(u);if(q&&n===c("AdsLinkPostFormat").SINGLE)v.displayURL=q.get(u);if(r&&n===c("AdsLinkPostFormat").MULTIPLE)v.platformCustomizations=r.get(u);if(s&&n===c("AdsLinkPostFormat").SINGLE)v.carouselStyle=s.get(u);if(t&&n===c("AdsLinkPostFormat").SINGLE)v.carouselWithStaticCardStyle=t.get(u);this.$AdsAdgroupEditorStoreClass1.set(u,v)}.bind(this));this.__emitChange()};k.prototype.$AdsAdgroupEditorStoreClass3=function(m,n,o,p,q){__p&&__p();m.forEach(function(r,s){__p&&__p();var t=this.$AdsAdgroupEditorStoreClass1.get(r)||this.$AdsAdgroupEditorStoreClass11(),u=o.get(r),v=c("getByPath")(u,c("AdsAPIAdgroupPaths").CREATIVE.path);if(n===c("AdsMediaFormat").IMAGE){t.videoCallToActionType=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.TYPE,v);t.videoThumbnailHash=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.IMAGE_HASH,v);t.videoThumbnailURL=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.IMAGE_URL,v);t.videoID=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.VIDEO_ID,v);t.videoAssets=j(c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.VIDEOS,v)}else if(n===c("AdsMediaFormat").VIDEO&&u){t.link=c("AdsAdgroupSpecUtils").getLink(u,p[s],q[s]);t.callToActionType=c("AdsAdgroupSpecUtils").getCallToActionType(u,p[s],q[s]);this.$AdsAdgroupEditorStoreClass12(v,t);t.title=j(c("AdsAPIAdgroupPaths").CREATIVE.TITLE,v);t.imageCrops=j(c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_CROPS,v)||j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.IMAGE_CROPS,v)||j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.IMAGE_CROPS,v);t.imageAssets=j(c("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.IMAGES,v)}this.$AdsAdgroupEditorStoreClass1.set(r,t)}.bind(this));this.__emitChange()};k.prototype.$AdsAdgroupEditorStoreClass12=function(m,n){var o=j(c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_HASH,m),p=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.IMAGE_HASH,m),q=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.IMAGE_HASH,m),r=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.IMAGE_HASH,m);n.imageHash=o||p||q||r||null;var s=j(c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_URL,m),t=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.PICTURE,m),u=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.URL,m),v=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.PICTURE,m);n.imageURL=s||t||u||v||null};k.prototype.$AdsAdgroupEditorStoreClass7=function(m,n){__p&&__p();if(!n)return;var o=false;m.forEach(function(p){var q=this.$AdsAdgroupEditorStoreClass1.get(p)||this.$AdsAdgroupEditorStoreClass11(),r=n.get(p),s=c("getByPath")(r,c("AdsAPIAdgroupPaths").CREATIVE.path),t=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.LINK,s),u=j(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.TYPE,s);if(c("AdsCallToActionUtils").shouldCacheCTAType(u)){q.callToActionLinks.set(u,t);this.$AdsAdgroupEditorStoreClass1.set(p,q);o=true}}.bind(this));if(o)this.__emitChange()};k.prototype.$AdsAdgroupEditorStoreClass8=function(m,n,o,p){var q=c("AdsCallToActionTypes").TYPES.GET_DIRECTIONS.name;if(!c("AdsCallToActionUtils").shouldCacheCTAType(q))return;var r=c("AdsCallToActionUtils").makeGeoLink(new(c("GeoPlace"))(new(c("GeoCoordinates"))(o,p),n));m.forEach(function(s){var t=this.$AdsAdgroupEditorStoreClass1.get(s)||this.$AdsAdgroupEditorStoreClass11();t.callToActionLinks.set(q,r);this.$AdsAdgroupEditorStoreClass1.set(s,t)}.bind(this));this.__emitChange()};k.prototype.$AdsAdgroupEditorStoreClass13=function(m,n,o){__p&&__p();if(!n||!o)return;var p=o.childAttachmentsToCache;if(!p)return;m.forEach(function(q){var r=this.$AdsAdgroupEditorStoreClass1.get(q)||this.$AdsAdgroupEditorStoreClass11();if(p)r.childAttachments=p.get(q);this.$AdsAdgroupEditorStoreClass1.set(q,r)}.bind(this));this.__emitChange()};k.prototype.$AdsAdgroupEditorStoreClass9=function(m,n,o){if(n!==c("AdsConversionActionTypes").OFFLINE_CONVERSION)return;m.forEach(function(p){var q=this.$AdsAdgroupEditorStoreClass1.get(p)||this.$AdsAdgroupEditorStoreClass11();q.offlineTrackingType=o;this.$AdsAdgroupEditorStoreClass1.set(p,q)}.bind(this));this.__emitChange()};var l=new k();f.exports=l}),null);
__d("AdsAPIAdgroupLinkDataRecord",["AdsAPIAdgroupObjectStorySpecRecord","ApiAdCreativeStorySpecFields"],(function a(b,c,d,e,f,g){"use strict";f.exports=c("AdsAPIAdgroupObjectStorySpecRecord").getSpec()[c("ApiAdCreativeStorySpecFields").LINK_DATA]}),null);
__d("AdsAPIAdgroupPhotoDataRecord",["AdsAPIAdgroupObjectStorySpecRecord","ApiAdCreativeStorySpecFields"],(function a(b,c,d,e,f,g){"use strict";f.exports=c("AdsAPIAdgroupObjectStorySpecRecord").getSpec()[c("ApiAdCreativeStorySpecFields").PHOTO_DATA]}),null);
__d("AdsAPIAdgroupTemplateDataRecord",["AdsAPIAdgroupObjectStorySpecRecord","ApiAdCreativeStorySpecFields"],(function a(b,c,d,e,f,g){"use strict";f.exports=c("AdsAPIAdgroupObjectStorySpecRecord").getSpec()[c("ApiAdCreativeStorySpecFields").TEMPLATE_DATA]}),null);
__d("AdsAPIAdgroupVideoDataRecord",["AdsAPIAdgroupObjectStorySpecRecord","ApiAdCreativeStorySpecFields"],(function a(b,c,d,e,f,g){"use strict";f.exports=c("AdsAPIAdgroupObjectStorySpecRecord").getSpec()[c("ApiAdCreativeStorySpecFields").VIDEO_DATA]}),null);
__d("AdsDynamicAdVoices",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({DYNAMIC:"DYNAMIC",STORY_OWNER:"STORY_OWNER"})}),null);
__d("AdsUEditorWebsiteUtils",["AdsAPIAdgroupPaths","AdsAPIObjectives","AdsObjectTypeUtils","ApiAdObjectTypes","CallToActionLinkFormats","getByPath"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i,j){var k=c("AdsObjectTypeUtils").getObjectTypeFromCreativeSpecType(i);if(k!==c("ApiAdObjectTypes").VIDEO)return null;var l=c("getByPath")(i,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.LINK);if(!l)return null;switch(j){case c("AdsAPIObjectives").LINK_CLICKS:case c("AdsAPIObjectives").WEBSITE_CONVERSIONS:case c("AdsAPIObjectives").VIDEO_VIEWS:case c("AdsAPIObjectives").BRAND_AWARENESS:case c("AdsAPIObjectives").POST_ENGAGEMENT:return c("CallToActionLinkFormats").VIDEO_LPP}return null}f.exports={getVideoLPPFormat:h}}),null);
__d("AdsAdgroupPostTypeMutators",["invariant","AdsAdgroupEditorStore","AdsAdgroupSpecUtils","AdsAPIAdgroupLinkDataRecord","AdsAPIAdgroupPaths","AdsAPIAdgroupPhotoDataRecord","AdsAPIAdgroupRecord","AdsAPIAdgroupTemplateDataRecord","AdsAPIAdgroupVideoDataRecord","AdsAPICallToActionPaths","AdsAPICampaignPaths","AdsAPIObjectives","AdsAssetFeedFieldUtils","AdsCallToActionTypes","AdsCampaignGroupPromotedPageIDGetter","AdsCollectionsAdUtils","AdsDataAtom","AdsDynamicAdVoices","AdsLocalUtils","AdsObjectiveGetter","AdsUEditorWebsiteUtils","AdsUnifiedCreativeAPIFieldMappings","AdsWebsiteAdUtils","ApiAdObjectTypes","ApiCallToActionFields","ApiObjectStorySpecLinkFields","CallToActionAppDestination","CallToActionValueFields","immutable","adsAssertAPIObjective","getByPath","nullthrows"],(function aa(ba,a,ca,da,b,ea,c){"use strict";__p&&__p();var d,e,f=new(a("AdsAPIAdgroupRecord"))(),g=a("immutable").List([]),h=a("immutable").List([a("AdsAPIAdgroupPaths").CREATIVE.IMAGE_CROPS,a("AdsAPIAdgroupPaths").CREATIVE.IMAGE_HASH,a("AdsAPIAdgroupPaths").CREATIVE.VIDEO_ID]),i=a("immutable").List([a("AdsAPIAdgroupPaths").CREATIVE.BODY,a("AdsAPIAdgroupPaths").CREATIVE.CALL_TO_ACTION_TYPE,a("AdsAPIAdgroupPaths").CREATIVE.IMAGE_CROPS,a("AdsAPIAdgroupPaths").CREATIVE.IMAGE_HASH,a("AdsAPIAdgroupPaths").CREATIVE.IMAGE_URL,a("AdsAPIAdgroupPaths").CREATIVE.INSTAGRAM_PERMALINK_URL,a("AdsAPIAdgroupPaths").CREATIVE.PLATFORM_CUSTOMIZATIONS.path,a("AdsAPIAdgroupPaths").CREATIVE.TITLE,a("AdsAPIAdgroupPaths").CREATIVE.VIDEO_ID]);function j(E,F){return!E.getIn(F.imageHash)?E:E.deleteIn(F.imageURL)}d=babelHelpers.inherits(k,a("immutable").Record({dataPath:null,deletePaths:g,mapping:null,objectType:null,resolvers:g,useThisConfigForTheGivenObjectType:true}));e=d&&d.prototype;function k(){d.apply(this,arguments)}var l=new k({dataPath:[],objectType:a("ApiAdObjectTypes").DOMAIN,mapping:a("AdsUnifiedCreativeAPIFieldMappings").DOMAIN_MAPPING}),m=new k({dataPath:a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.path,deletePaths:h,mapping:a("AdsUnifiedCreativeAPIFieldMappings").TEMPLATE_MAPPING,objectType:a("ApiAdObjectTypes").SHARE,resolvers:a("immutable").List([j]),useThisConfigForTheGivenObjectType:false}),n=new k({dataPath:a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.path,deletePaths:h,mapping:a("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING,objectType:a("ApiAdObjectTypes").SHARE,resolvers:a("immutable").List([j])}),o=new k({dataPath:a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.path,deletePaths:h,mapping:a("AdsUnifiedCreativeAPIFieldMappings").PHOTO_MAPPING,objectType:a("ApiAdObjectTypes").PHOTO,resolvers:a("immutable").List([j])}),p=new k({dataPath:a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.path,deletePaths:h.push(a("AdsAPIAdgroupPaths").CREATIVE.IMAGE_URL),mapping:a("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,objectType:a("ApiAdObjectTypes").VIDEO}),q=new k({dataPath:a("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_SPEC.path,deletePaths:i,mapping:a("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING,objectType:a("ApiAdObjectTypes").SHARE,useThisConfigForTheGivenObjectType:false}),r=a("immutable").Set([l,m,n,o,p]);function s(E){return a("nullthrows")(r.filter(function(F){return F.objectType===E&&F.useThisConfigForTheGivenObjectType}).first())}function t(E,F,G){__p&&__p();var H=arguments.length<=3||arguments[3]===undefined?null:arguments[3],I=arguments.length<=4||arguments[4]===undefined?null:arguments[4],J=arguments[5],K=arguments[6];if(E===F)return G;var L=E.dataPath,M=E.mapping,N=F.dataPath,O=F.mapping,P=function P(T){var U=M[T];if(!U)return undefined;!U.path||c(0);return G.getIn(U)};O.forEach(function(T,U){__p&&__p();var va,V=P(U);if(!T||T.path||V===undefined)return;if(J&&K)(function(){var X=K(U),Y=void 0;if(X){Y={};Object.keys(X).forEach(function(Z){var $=P(X[Z]);if($)Y[Z]=$})}V=J(U,V,Y)})();var W=G.getSubRecordClass(T);if(W)G=G.setIn(T,new W(V.toObject()));else G=G.setIn(T,V)});var Q=H&&H.getIn(N);if(Q){var R=G.getIn(N);R=R&&R.mergeDeepWith(function(T,U){return U||T},Q);G=G.setIn(N,R||Q)}G=G.setIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE,F.objectType);G=L&&G.deleteIn(L)||G;var S=u(F.deletePaths,I||g);S.forEach(function(T){return G=G.deleteIn(T)});F.resolvers.forEach(function(T){return G=T(G,O)});return G}function u(E,F){return E.toSet().union(F.toSet()).toList()}function v(E,F,G){var H=arguments.length<=3||arguments[3]===undefined?null:arguments[3],I=arguments.length<=4||arguments[4]===undefined?null:arguments[4];if(E===F)return G;var J=s(E),K=s(F);return t(J,K,G,H,I)}function w(E){__p&&__p();var F={};if(a("AdsDataAtom").isDispatching())a("AdsDataAtom").waitFor([a("AdsAdgroupEditorStore").getDispatchToken()]);var G=a("AdsAdgroupEditorStore").getCachedImageHash(E.id);if(G)F.image_hash=G;var H=a("AdsAdgroupEditorStore").getCachedImageCrops(E.id);if(H)F.image_crops=H;var I=a("AdsAdgroupEditorStore").getCachedImageURL(E.id);if(I)F.picture=I;return F}function x(E){__p&&__p();var F={};if(a("AdsDataAtom").isDispatching())a("AdsDataAtom").waitFor([a("AdsAdgroupEditorStore").getDispatchToken()]);var G=a("AdsAdgroupEditorStore").getCachedImageHash(E.id);if(G)F.image_hash=G;var H=a("AdsAdgroupEditorStore").getCachedImageURL(E.id);if(H)F.url=H;return F}function y(E){__p&&__p();var F={};if(a("AdsDataAtom").isDispatching())a("AdsDataAtom").waitFor([a("AdsAdgroupEditorStore").getDispatchToken()]);var G=a("AdsAdgroupEditorStore").getCachedVideoID(E.id);if(G)F.video_id=G;var H=a("AdsAdgroupEditorStore").getCachedVideoThumbnailURL(E.id);if(H)F.image_url=H;var I=a("AdsAdgroupEditorStore").getCachedVideoThumbnailHash(E.id);if(I)F.image_hash=I;return F}function z(E,F,G){__p&&__p();var H=[],I={},J=B(E,F),K=J.config,L=J.isDynamic,M=L?a("AdsUnifiedCreativeAPIFieldMappings").TEMPLATE_MAPPING:a("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING;H.push([].concat(M.callToActionValue,[a("CallToActionValueFields").CAPTION]),[].concat(M.callToActionValue,[a("CallToActionValueFields").LINK_DESCRIPTION]),[].concat(M.callToActionValue,[a("CallToActionValueFields").LINK_TITLE]));var N=E.getIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.TYPE);if(N===a("AdsCallToActionTypes").TYPES.LEARN_MORE.name||N===a("AdsCallToActionTypes").TYPES.MESSAGE_PAGE.name)H.push([].concat(M.callToActionValue,[a("CallToActionValueFields").LINK]));var O=E.getIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.LINK),P=a("ApiObjectStorySpecLinkFields").LINK;if(N===a("AdsCallToActionTypes").TYPES.LEARN_MORE.name&&O)I[P]=O;else if(G)I[P]=G;else H.push(M.linkURL);if(L){var Q=a("ApiObjectStorySpecLinkFields").FORCE_SINGLE_LINK;I[Q]=true}return{toConfig:K,deletePaths:H,overrideDataFields:I,isDynamic:L}}function A(E){return a("AdsCampaignGroupPromotedPageIDGetter").get({campaignGroupID:E.getIn(a("AdsAPICampaignPaths").CAMPAIGN_ID)})}function B(E,F){__p&&__p();var G=null,H=false,I=m;switch(F){case a("AdsAPIObjectives").LOCAL_AWARENESS:G=A(E);H=!!G;I=H?m:n;break;case a("AdsAPIObjectives").STORE_VISITS:H=true;I=m;break;default:c(0)}return{campaignGroupPromotedPageID:G,config:I,isDynamic:H}}function C(E,F){__p&&__p();var G=[],H={},I=B(E,F),J=I.campaignGroupPromotedPageID,K=I.config,L=I.isDynamic,M=a("ApiObjectStorySpecLinkFields").CALL_TO_ACTION,N=a("ApiCallToActionFields").TYPE,O=a("ApiCallToActionFields").VALUE,P=a("CallToActionValueFields").LINK,Q=a("AdsAdgroupSpecUtils").getCallToAction(E,F,J),R=a("getByPath")(Q,a("AdsAPICallToActionPaths").TYPE),S=a("getByPath")(Q,a("AdsAPICallToActionPaths").VALUE.LINK),T=E.getIn(a("AdsAPIAdgroupPaths").CREATIVE.DYNAMIC_AD_VOICE)===a("AdsDynamicAdVoices").DYNAMIC,U=a("AdsCollectionsAdUtils").isCollectionsAd(E.getIn(a("AdsAPIAdgroupPaths").CREATIVE.path));if(U){H[M]={};H[M][N]=a("AdsCallToActionTypes").TYPES.LEARN_MORE.name}else if(!R){H[M]={};if(L&&T){H[M][N]=a("AdsCallToActionTypes").TYPES.GET_DIRECTIONS.name;G.push(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.path)}else H[M][N]=a("AdsCallToActionTypes").TYPES.LEARN_MORE.name}else if(R===a("AdsCallToActionTypes").TYPES.SHOP_NOW.name||R===a("AdsCallToActionTypes").TYPES.ORDER_NOW.name){H[M]={};H[M][N]=a("AdsCallToActionTypes").TYPES.GET_DIRECTIONS.name;G.push(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.LINK)}else if(R!==a("AdsCallToActionTypes").TYPES.LEARN_MORE.name&&!S)G.push(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.LINK);else if(R!==a("AdsCallToActionTypes").TYPES.LEARN_MORE.name){H[M]={};H[M][N]=R;H[M][O]={};H[M][O][P]=S}return{fromConfig:K,deletePaths:G,overrideVideoDataFields:H}}function fa(E,F){return D.convertPostTypeInAdgroupRecord(a("ApiAdObjectTypes").SHARE,a("ApiAdObjectTypes").DOMAIN,E,F,a("immutable").List([a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.path]))}function ga(E,F){var G=[];if(E!==a("AdsAPIObjectives").POST_ENGAGEMENT)G.push(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.CALL_TO_ACTION.path);return D.convertPostTypeInAdgroupRecord(a("ApiAdObjectTypes").SHARE,a("ApiAdObjectTypes").PHOTO,F,null,a("immutable").List(G))}function ha(E,F){__p&&__p();var G=y(F),H=[];if(a("AdsWebsiteAdUtils").isWebsiteObjective(E)||E===a("AdsAPIObjectives").PRODUCT_CATALOG_SALES){if(a("AdsDataAtom").isDispatching())a("AdsDataAtom").waitFor([a("AdsAdgroupEditorStore").getDispatchToken()]);var I=a("AdsAdgroupEditorStore").getCachedCallToActionType(F.id)||a("AdsAdgroupEditorStore").getCachedVideoCallToActionType(F.id)||a("AdsCallToActionTypes").TYPES.LEARN_MORE.name;G.call_to_action={type:I}}var J={};if(a("AdsLocalUtils").isLocalObjective(E)){J=C(F,E);H=[].concat(H,J.deletePaths);G=babelHelpers["extends"]({},G,J.overrideVideoDataFields)}if(E===a("AdsAPIObjectives").REACH)H.push(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.LINK);var K=f.setIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.path,new(a("AdsAPIAdgroupVideoDataRecord"))(G));return t(J.fromConfig||n,p,F,K,a("immutable").List(H))}function ia(E,F){return D.convertPostTypeInAdgroupRecord(a("ApiAdObjectTypes").PHOTO,a("ApiAdObjectTypes").SHARE,F)}function ja(E,F){var G=y(F),H=f.setIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.path,new(a("AdsAPIAdgroupVideoDataRecord"))(G));return D.convertPostTypeInAdgroupRecord(a("ApiAdObjectTypes").PHOTO,a("ApiAdObjectTypes").VIDEO,F,H)}function ka(E,F){__p&&__p();var G=w(F),H=[];if(a("AdsWebsiteAdUtils").isWebsiteObjective(E)){if(a("AdsDataAtom").isDispatching())a("AdsDataAtom").waitFor([a("AdsAdgroupEditorStore").getDispatchToken()]);var I=a("AdsAdgroupEditorStore").getCachedCallToActionType(F.id);if(I)G.call_to_action={type:I}}var J={};if(a("AdsLocalUtils").isLocalObjective(E)){if(a("AdsDataAtom").isDispatching())a("AdsDataAtom").waitFor([a("AdsAdgroupEditorStore").getDispatchToken()]);J=z(F,E,a("AdsAdgroupEditorStore").getCachedLink(F.id));H=[].concat(H,J.deletePaths);G=babelHelpers["extends"]({},G,J.overrideDataFields)}var K=F.getIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.APP_DESTINATION);if((a("AdsWebsiteAdUtils").isWebsiteObjective(E)||E===a("AdsAPIObjectives").BRAND_AWARENESS)&&K!==a("CallToActionAppDestination").MESSENGER&&K!==a("CallToActionAppDestination").MESSENGER_EXTENSIONS)H.push(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.path);if(E===a("AdsAPIObjectives").POST_ENGAGEMENT)H.push(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.path);if(E===a("AdsAPIObjectives").VIDEO_VIEWS){H.push(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.path);H.push(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.LINK)}if(E===a("AdsAPIObjectives").REACH){G.call_to_action={type:a("AdsCallToActionTypes").TYPES.LEARN_MORE.name};H.push(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.LINK,a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.path)}var L=J.isDynamic?f.setIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.path,new(a("AdsAPIAdgroupTemplateDataRecord"))(G)):f.setIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.path,new(a("AdsAPIAdgroupLinkDataRecord"))(G));if(E===a("AdsAPIObjectives").LEAD_GENERATION)H.push(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.LINK,a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.CAPTION,a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.LINK_TITLE);var M=t(p,J.toConfig||n,F,L,a("immutable").List(H));if(F.getIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.EVENT_ID))M=M.setIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.EVENT_ID,F.getIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.EVENT_ID)).setIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.LINK,F.getIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.LINK));return M}function la(E,F,G){var H,I=arguments.length<=3||arguments[3]===undefined?null:arguments[3],J=G.getIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.path)||new(a("AdsAPIAdgroupVideoDataRecord"))(),K=C(E,F),L=K.deletePaths,M=K.overrideVideoDataFields;I=(H=I||a("immutable").List([])).push.apply(H,L);var N=babelHelpers["extends"]({},J.toJS(),M),O=f.setIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.path,new(a("AdsAPIAdgroupVideoDataRecord"))(N));return t(m,p,E,O,I)}function ma(E,F,G){var H,I=arguments.length<=3||arguments[3]===undefined?null:arguments[3],J=G.getIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.path)||new(a("AdsAPIAdgroupTemplateDataRecord"))(),K=z(E,F,G.getIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.LINK)),L=K.deletePaths,M=K.overrideDataFields;M[a("AdsUnifiedCreativeAPIFieldMappings").TEMPLATE_MAPPING.forceSingleLink]=true;I=(H=I||a("immutable").List([])).push.apply(H,L);var N=babelHelpers["extends"]({},J.toJS(),M),O=f.setIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.path,new(a("AdsAPIAdgroupTemplateDataRecord"))(N));return t(p,m,E,O,I)}function na(E,F){var G=x(F),H=f.setIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.path,new(a("AdsAPIAdgroupPhotoDataRecord"))(G)),I=[];if(E!==a("AdsAPIObjectives").POST_ENGAGEMENT)I.push(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.CALL_TO_ACTION.path);return D.convertPostTypeInAdgroupRecord(a("ApiAdObjectTypes").VIDEO,a("ApiAdObjectTypes").PHOTO,F,H,a("immutable").List(I))}function oa(E,F){return D.convertPostTypeInAdgroupRecord(a("ApiAdObjectTypes").VIDEO,a("ApiAdObjectTypes").DOMAIN,E,F,a("immutable").List([a("AdsAPIAdgroupPaths").CREATIVE.URL_TAGS,a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.path,a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_ID]))}function pa(E,F){var G=D.convertPostTypeInAdgroupRecord(a("ApiAdObjectTypes").DOMAIN,a("ApiAdObjectTypes").SHARE,E,F,a("immutable").List([a("AdsAPIAdgroupPaths").CREATIVE.BODY,a("AdsAPIAdgroupPaths").CREATIVE.CALL_TO_ACTION_TYPE,a("AdsAPIAdgroupPaths").CREATIVE.TITLE,a("AdsAPIAdgroupPaths").CREATIVE.IMAGE_CROPS,a("AdsAPIAdgroupPaths").CREATIVE.IMAGE_HASH,a("AdsAPIAdgroupPaths").CREATIVE.IMAGE_URL,a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_URL]));if(F)G=G.setIn(n.mapping.pageID,F.getIn(n.mapping.pageID)).setIn(n.mapping.instagramActorID,F.getIn(n.mapping.instagramActorID));return G}function qa(E,F){var G=D.convertPostTypeInAdgroupRecord(a("ApiAdObjectTypes").DOMAIN,a("ApiAdObjectTypes").VIDEO,E,F,a("immutable").List([a("AdsAPIAdgroupPaths").CREATIVE.BODY,a("AdsAPIAdgroupPaths").CREATIVE.CALL_TO_ACTION_TYPE,a("AdsAPIAdgroupPaths").CREATIVE.TITLE,a("AdsAPIAdgroupPaths").CREATIVE.IMAGE_CROPS,a("AdsAPIAdgroupPaths").CREATIVE.IMAGE_HASH,a("AdsAPIAdgroupPaths").CREATIVE.IMAGE_URL,a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_URL]));if(F)G=G.setIn(a("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING.pageID,F.getIn(a("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING.pageID)).setIn(a("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING.instagramActorID,F.getIn(a("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING.instagramActorID));return G}function ra(E){var F=f.setIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.path,new(a("AdsAPIAdgroupTemplateDataRecord"))({}));return t(n,m,E,F,a("immutable").List(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.path))}function sa(E){var F=f.setIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.path,new(a("AdsAPIAdgroupLinkDataRecord"))({}));return t(m,n,E,F,a("immutable").List(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.path))}function ta(E,F){var G=s(E);return t(G,q,F,null,a("immutable").List([G.dataPath]),a("AdsAssetFeedFieldUtils").convertFieldToAssetFeedFormat,a("AdsAssetFeedFieldUtils").getDependentFields)}function ua(E,F,G){var H=s(E),I=t(q,H,F,null,a("immutable").List(H.dataPath),a("AdsAssetFeedFieldUtils").convertFieldToObjectStorySpecFormat,a("AdsAssetFeedFieldUtils").getDependentFields);if(E===a("ApiAdObjectTypes").VIDEO){var J=a("AdsUEditorWebsiteUtils").getVideoLPPFormat(I,G);if(J!=null)I=I.setIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.VIDEO_DATA.CALL_TO_ACTION.VALUE.LINK_FORMAT,J)}return I.deleteIn(a("AdsAPIAdgroupPaths").CREATIVE.ASSET_FEED_ID).deleteIn(a("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.path)}var D={convertDomainPostToLinkPost:pa,convertDomainPostToVideoPost:qa,convertLinkPostToDomainPost:fa,convertLinkPostToPhotoPost:ga,convertLinkPostToTemplatePost:ra,convertLinkOrTemplatePostToVideoPost:ha,convertPhotoPostToLinkPost:ia,convertPhotoPostToVideoPost:ja,convertPostTypeInAdgroupRecord:v,convertTemplatePostToLinkPost:sa,convertTemplatePostToVideoPost:la,convertVideoPostToDomainPost:oa,convertVideoPostToLinkOrTemplatePost:ka,convertVideoPostToPhotoPost:na,convertVideoPostToTemplatePost:ma,convertToAssetFeedSpec:ta,convertFromAssetFeedSpec:ua};b.exports=D}),null);
__d("AdsBuyingAccountType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({REGULAR:"REGULAR",DIRECT_DEALS:"DIRECT_DEALS"})}),null);
__d("adsPivotsPluginMustImplementFunction",["invariant"],(function a(b,c,d,e,f,g,h){"use strict";function i(j,k){h(0)}f.exports=i}),null);
__d("AdsDefaultAdgroupSpecPathPlugin",["AdsAdgroupChildAttachmentsFieldMappings","adsPivotsPluginMustImplementFunction"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsAdgroupChildAttachmentsFieldMappings").EMPTY_CAROUSEL_MAPPINGS,i={type:"adgroup/spec-path",key:"default",pivots:{},convertImageToVideoSpec:function j(k,l){return c("adsPivotsPluginMustImplementFunction")(this,"convertImageToVideoSpec")},convertVideoToImageSpec:function j(k,l){return c("adsPivotsPluginMustImplementFunction")(this,"convertVideoToImageSpec")},canSinglePhotoHaveCTA:function j(){return false},getDefaultCallToActionType:function j(k){return c("adsPivotsPluginMustImplementFunction")(this,"getDefaultCallToActionType")},getUnifiedCreativeAPIFieldMapping:function j(k){return c("adsPivotsPluginMustImplementFunction")(this,"getUnifiedCreativeAPIFieldMapping")},getChildAttachmentsFieldMapping:function j(k,l){return h},getDefaultMessage:function j(){return""}};f.exports=i}),null);
__d("AdsUnifiedCreativeAPIFieldMappingRecordUtils",[],(function a(b,c,d,e,f,g){"use strict";var h={selectKeys:function i(j,k){var l=k.map(function(m){return m.name});j.forEach(function(m,n){if(l.indexOf(n)===-1)j=j["delete"](n)});return j}};f.exports=h}),null);
__d("AdsCPBVideoViewsAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsAssetFeedUtils","AdsBuyingAccountType","AdsCallToActionTypes","AdsDefaultAdgroupSpecPathPlugin","AdsUnifiedCreativeAPIFieldMappingRecordUtils","AdsUnifiedCreativeAPIFieldMappings","AdsUnifiedCreativeAPIFields"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),{type:"adgroup/spec-path",key:"cpb/video-views",pivots:{accountType:c("AdsBuyingAccountType").DIRECT_DEALS,objective:c("AdsAPIObjectives").VIDEO_VIEWS},getUnifiedCreativeAPIFieldMapping:function i(j){if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(j))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;return c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").childAttachments,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").displayURL,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkDescription,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL])},getDefaultCallToActionType:function i(j){return c("AdsCallToActionTypes").TYPES.LEARN_MORE.name}});f.exports=h}),null);
__d("AdsNoneObjectiveAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsDefaultAdgroupSpecPathPlugin","AdsUnifiedCreativeAPIFieldMappings"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),{type:"adgroup/spec-path",key:"none",pivots:{objective:c("AdsAPIObjectives").NONE},getUnifiedCreativeAPIFieldMapping:function i(j){return c("AdsUnifiedCreativeAPIFieldMappings").INVALID_MAPPING}});f.exports=h}),null);
__d("AdsPageLikesAdgroupSpecPathPlugin",["AdsAPIAdgroupPaths","AdsAPIObjectives","AdsAssetFeedUtils","AdsCallToActionTypes","AdsDefaultAdgroupSpecPathPlugin","AdsUnifiedCreativeAPIFieldMappingRecordUtils","AdsUnifiedCreativeAPIFieldMappings","AdsUnifiedCreativeAPIFields","ApiAdObjectTypes","CallToActionValueFields","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsUnifiedCreativeAPIFieldMappings").PAGE_MAPPING,i=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL]),j=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),{type:"adgroup/spec-path",key:"page-likes",pivots:{objective:c("AdsAPIObjectives").PAGE_LIKES},convertImageToVideoSpec:function k(l,m){var n=l;return l.removeIn(c("AdsAPIAdgroupPaths").CREATIVE.path).setIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE,c("ApiAdObjectTypes").VIDEO).setIn(i.pageID,n.getIn(h.pageID)).setIn(i.message,n.getIn(h.message)).setIn(i.videoID,null).setIn(i.callToActionType,c("AdsCallToActionTypes").TYPES.LIKE_PAGE.name).setIn(c("nullthrows")(i.callToActionValue).concat(c("CallToActionValueFields").PAGE),n.getIn(h.pageID))},convertVideoToImageSpec:function k(l,m){var n=l;return l.removeIn(c("AdsAPIAdgroupPaths").CREATIVE.path).setIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE,c("ApiAdObjectTypes").PAGE).setIn(h.pageID,n.getIn(i.pageID)).setIn(h.message,n.getIn(i.message)).setIn(h.headline,m&&m.getIn(h.headline)).setIn(h.linkURL,m&&m.getIn(h.linkURL)).setIn(h.imageCrops,m&&m.getIn(h.imageCrops)).setIn(h.imageHash,m&&m.getIn(h.imageHash)).setIn(h.imageURL,m&&m.getIn(h.imageURL))},getUnifiedCreativeAPIFieldMapping:function k(l){if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(l))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;var m=l.getIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE);if(m===c("ApiAdObjectTypes").VIDEO)return i;return h}});f.exports=j}),null);
__d("AdsAdgroupChildAttachmentsFieldMappingRecordUtils",["AdsAdgroupChildAttachmentsFieldMappingRecord","whitelistObjectKeys"],(function a(b,c,d,e,f,g){"use strict";function h(i,j){return new(c("AdsAdgroupChildAttachmentsFieldMappingRecord"))(c("whitelistObjectKeys")(i.toJS(),j.map(function(k){return k.name})))}f.exports={selectFields:h}}),null);
__d("AdsVideoViewsAdgroupSpecPathPlugin",["AdsAdgroupChildAttachmentsFieldMappingRecord","AdsAdgroupChildAttachmentsFieldMappingRecordUtils","AdsAdgroupChildAttachmentsFieldMappings","AdsAdgroupChildAttachmentsFields","AdsAPIAdgroupRecordUtils","AdsAPIObjectives","AdsAssetFeedUtils","AdsBrandAwarenessUtils","AdsCallToActionTypes","AdsChildAttachmentsUtils","AdsDefaultAdgroupSpecPathPlugin","AdsUnifiedCreativeAPIFieldMappingRecordUtils","AdsUnifiedCreativeAPIFieldMappings","AdsUnifiedCreativeAPIFields"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsAdgroupChildAttachmentsFieldMappings").EMPTY_CAROUSEL_MAPPINGS,i=c("AdsAdgroupChildAttachmentsFieldMappings").STATIC_CAROUSEL_MAPPINGS,j=c("AdsUnifiedCreativeAPIFieldMappings").STATUS_MAPPING,k=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").childAttachments,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").multiShareEndCard,c("AdsUnifiedCreativeAPIFields").multiShareOptimized,c("AdsUnifiedCreativeAPIFields").pageID]),l=c("AdsAdgroupChildAttachmentsFieldMappingRecordUtils").selectFields(i,[c("AdsAdgroupChildAttachmentsFields").captionIDs,c("AdsAdgroupChildAttachmentsFields").headline,c("AdsAdgroupChildAttachmentsFields").imageHash,c("AdsAdgroupChildAttachmentsFields").imageURL,c("AdsAdgroupChildAttachmentsFields").videoID]),m=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),{type:"adgroup/spec-path",key:"video-views",pivots:{objective:c("AdsAPIObjectives").VIDEO_VIEWS},getUnifiedCreativeAPIFieldMapping:function n(o){if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(o))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;if(c("AdsAPIAdgroupRecordUtils").isExistingPostAd(o))return j;else if(c("AdsAPIAdgroupRecordUtils").isCarouselAd(o))return k;return this._getVideoFieldsPath(o)},_getVideoFieldsPath:function n(o){var p=c("AdsBrandAwarenessUtils").isWebsiteLinkEnabled(o);if(p)return c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").childAttachments,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").displayURL,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkDescription,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL]);else return c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").childAttachments,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL])},getDefaultCallToActionType:function n(o){return c("AdsCallToActionTypes").TYPES.LEARN_MORE.name},getChildAttachmentsFieldMapping:function n(o,p){if(!c("AdsChildAttachmentsUtils").hasChildAttachments(o))return h;return l}});f.exports=m}),null);
__d("AdsAdgroupSpecPathPlugins",["adsPluginsFactory","AdsAppInstallsCanvasAppAdgroupSpecPathPlugin","AdsAppInstallsAppAdgroupSpecPathPlugin","AdsBrandAwarenessAdgroupSpecPathPlugin","AdsCanvasAppEngagementAdgroupSpecPathPlugin","AdsCanvasAppInstallsAdgroupSpecPathPlugin","AdsConversionsAdgroupSpecPathPlugin","AdsConversionsAppAdgroupSpecPathPlugin","AdsConversionsDynamicAdgroupSpecPathPlugin","AdsConversionsMessengerAdgroupSpecPathPlugin","AdsCPBVideoViewsAdgroupSpecPathPlugin","AdsDefaultAdgroupSpecPathPlugin","AdsEventResponsesAdgroupSpecPathPlugin","AdsLeadGenerationAdgroupSpecPathPlugin","AdsLeadGenDynamicAdgroupSpecPathPlugin","AdsLinkClicksAdgroupSpecPathPlugin","AdsLinkClicksMessengerAdgroupSpecPathPlugin","AdsLinkClicksAppAdgroupSpecPathPlugin","AdsLinkClicksCanvasAppAdgroupSpecPathPlugin","AdsLinkClicksDynamicAdgroupSpecPathPlugin","AdsLocalAwarenessAdgroupSpecPathPlugin","AdsMessagesAdgroupSpecPathPlugin","AdsMessagesMessengerAdgroupSpecPathPlugin","AdsMessagesSponsoredMessagesAdgroupSpecPathPlugin","AdsMessagesWhatsAppAdgroupSpecPathPlugin","AdsMobileAppEngagementAdgroupSpecPathPlugin","AdsMobileAppInstallsAdgroupSpecPathPlugin","AdsNoneObjectiveAdgroupSpecPathPlugin","AdsOfferClaimsAdgroupSpecPathPlugin","AdsPageLikesAdgroupSpecPathPlugin","AdsPostEngagementAdgroupSpecPathPlugin","AdsProductCatalogSalesAdgroupSpecPathPlugin","AdsReachAdgroupSpecPathPlugin","AdsStoreVisitsAdgroupSpecPathPlugin","AdsVideoViewsAdgroupSpecPathPlugin"],(function a(b,c,d,e,f,g){"use strict";var h=c("adsPluginsFactory")(function(){return[c("AdsAppInstallsCanvasAppAdgroupSpecPathPlugin"),c("AdsAppInstallsAppAdgroupSpecPathPlugin"),c("AdsBrandAwarenessAdgroupSpecPathPlugin"),c("AdsCanvasAppEngagementAdgroupSpecPathPlugin"),c("AdsCanvasAppInstallsAdgroupSpecPathPlugin"),c("AdsConversionsAdgroupSpecPathPlugin"),c("AdsConversionsAppAdgroupSpecPathPlugin"),c("AdsConversionsDynamicAdgroupSpecPathPlugin"),c("AdsConversionsMessengerAdgroupSpecPathPlugin"),c("AdsCPBVideoViewsAdgroupSpecPathPlugin"),c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsEventResponsesAdgroupSpecPathPlugin"),c("AdsLeadGenerationAdgroupSpecPathPlugin"),c("AdsLeadGenDynamicAdgroupSpecPathPlugin"),c("AdsLinkClicksAdgroupSpecPathPlugin"),c("AdsLinkClicksMessengerAdgroupSpecPathPlugin"),c("AdsLinkClicksAppAdgroupSpecPathPlugin"),c("AdsLinkClicksCanvasAppAdgroupSpecPathPlugin"),c("AdsLinkClicksDynamicAdgroupSpecPathPlugin"),c("AdsLocalAwarenessAdgroupSpecPathPlugin"),c("AdsMessagesAdgroupSpecPathPlugin"),c("AdsMessagesMessengerAdgroupSpecPathPlugin"),c("AdsMessagesSponsoredMessagesAdgroupSpecPathPlugin"),c("AdsMessagesWhatsAppAdgroupSpecPathPlugin"),c("AdsMobileAppEngagementAdgroupSpecPathPlugin"),c("AdsMobileAppInstallsAdgroupSpecPathPlugin"),c("AdsNoneObjectiveAdgroupSpecPathPlugin"),c("AdsOfferClaimsAdgroupSpecPathPlugin"),c("AdsPageLikesAdgroupSpecPathPlugin"),c("AdsPostEngagementAdgroupSpecPathPlugin"),c("AdsProductCatalogSalesAdgroupSpecPathPlugin"),c("AdsReachAdgroupSpecPathPlugin"),c("AdsStoreVisitsAdgroupSpecPathPlugin"),c("AdsVideoViewsAdgroupSpecPathPlugin")]},function(){});f.exports=h}),null);
__d("AdsDataPluginsInternalUtils",[],(function a(b,c,d,e,f,g){"use strict";f.exports={memoize:function h(i){var j=i,k=void 0;return function(){if(j){k=j();j=null}return k}}}}),null);
__d("AdsDataProvider",["AdsDataAtom","AdsDataPluginsInternalUtils","FluxReduceStore"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsDataPluginsInternalUtils").memoize;function i(k){__p&&__p();var l,m;l=babelHelpers.inherits(n,c("FluxReduceStore"));m=l&&l.prototype;n.prototype.getInitialState=function(){"use strict";return k.select(c("AdsDataAtom").__dataPluginsGetAlteredState())};n.prototype.reduce=function(){"use strict";c("AdsDataAtom").waitFor(k.providers);return k.select(c("AdsDataAtom").__dataPluginsGetAlteredState())};function n(){"use strict";l.apply(this,arguments)}return new n(c("AdsDataAtom"))}function j(k,l){var m=function m(q){if(!q)throw new Error("'state' must be present. If 'state' is 'undefined' make sure\n       you passed the altered state to the selector function. Example:\n         AdsExampleSelector(\n           AdsDataAtom.__dataPluginsGetAlteredState(),\n         );");return Object.prototype.hasOwnProperty.call(q,l)?q[l]:k.initialValue},n=function n(){return m(c("AdsDataAtom").__dataPluginsGetAlteredState())},o=h(function(){return i(n)}),p=h(function(){return Object.assign(n,{getStores:h(function(){return[o()]}),isGetStoresStatic:true,rawSelectFn:n})});return Object.assign(n,{providers:[l],provider:l,select:m,toFluxStore:o,toFluxSelector:p})}f.exports={create:j}}),null);
__d("AdsDataSelector",["AdsDataPluginsInternalUtils","AdsDataAtom","Set"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsDataPluginsInternalUtils").memoize;function i(n){__p&&__p();var o=new(c("Set"))();for(var p in n)for(var q=n[p].providers,r=Array.isArray(q),s=0,q=r?q:q[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var t;if(r){if(s>=q.length)break;t=q[s++]}else{s=q.next();if(s.done)break;t=s.value}var u=t;o.add(u)}return Array.from(o)}function j(n){__p&&__p();var o=new(c("Set"))();for(var p in n)for(var q=n[p].toFluxSelector().getStores(),r=Array.isArray(q),s=0,q=r?q:q[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var t;if(r){if(s>=q.length)break;t=q[s++]}else{s=q.next();if(s.done)break;t=s.value}var u=t;o.add(u)}return Array.from(o)}function k(n,o,p){var q={};for(var r in n)q[r]=n[r].select(o,p);return q}function l(n,o){__p&&__p();var p=Object.keys(n);if(p.length!==Object.keys(o).length)return false;for(var q=p,r=Array.isArray(q),s=0,q=r?q:q[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var t;if(r){if(s>=q.length)break;t=q[s++]}else{s=q.next();if(s.done)break;t=s.value}var u=t;if(!Object.prototype.hasOwnProperty.call(o,u)||n[u]!==o[u])return false}return true}function m(n,o){__p&&__p();var p=null,q=null,r=function r(u,v){var w=k(n,u,v);if(!q||!l(w,q)){p=o(w);q=w}return p},s=function s(u){return r(c("AdsDataAtom").__dataPluginsGetAlteredState(),u)},t=Object.assign(s,{providers:i(n),select:r,toFluxSelector:h(function(){return Object.assign(function(){return t(c("AdsDataAtom").__dataPluginsGetAlteredState())},{getStores:function u(){return j(n)},isGetStoresStatic:true,rawSelectFn:function u(){return t(c("AdsDataAtom").__dataPluginsGetAlteredState())}})})});return t}f.exports={create:m}}),null);
__d("AdsDataReducer",["AdsDataAtom","AdsDataSelector"],(function a(b,c,d,e,f,g){"use strict";function h(i,j,k){var l=c("AdsDataSelector").create(j,function(o){return o}),m=function m(o,p){var q=l.select(o),r=i.select(o);return k(r,p,q)},n=function n(o){return m(c("AdsDataAtom").__dataPluginsGetAlteredState(),o)};return Object.assign(n,{provider:i.provider,reduce:m})}f.exports={create:h}}),null);
__d("AdsUEditorAdgroupSetCallToActionTypeDataAction",["AdsCFAdgroupSetCallToActionTypeActionDataReducer","AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([c("AdsCFAdgroupSetCallToActionTypeActionDataReducer")],"ADS_ADGROUP_EDITOR_SET_CALL_TO_ACTION_TYPE");f.exports=h}),null);
__d("AdsAdgroupSpecPathPluginType",[],(function a(b,c,d,e,f,g){"use strict";f.exports={order:["accountType","objective","promotedObjectType"]}}),null);
__d("AdsAdgroupSpecPathPluginResolver",["adsPluginResolverFactory","AdsAdgroupSpecPathPluginType","AdsAdgroupSpecPathPlugins"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsAdgroupSpecPathPluginType").order,i=c("adsPluginResolverFactory")(function(){return c("AdsAdgroupSpecPathPlugins").getArray()},h);f.exports=i}),null);
__d("AdsAppAdgroupSpecPathPluginCommon",["AdsAdgroupChildAttachmentsFieldMappingRecord","AdsAdgroupChildAttachmentsFieldMappingRecordUtils","AdsAdgroupChildAttachmentsFieldMappings","AdsAdgroupChildAttachmentsFields","AdsAdgroupChildAttachmentTypes","AdsAdgroupPostTypeMutators","AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsChildAttachmentsUtils","ApiAdObjectTypes","immutable"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsAdgroupChildAttachmentsFieldMappings").EMPTY_CAROUSEL_MAPPINGS,i=c("AdsAdgroupChildAttachmentsFieldMappings").STATIC_CAROUSEL_MAPPINGS,j=c("AdsAdgroupChildAttachmentsFieldMappings").DYNAMIC_CAROUSEL_STATIC_CARD_MAPPINGS,k=c("AdsAdgroupChildAttachmentsFieldMappings").DYNAMIC_CAROUSEL_DYNAMIC_CARD_MAPPINGS,l=c("AdsAdgroupChildAttachmentsFieldMappingRecordUtils").selectFields(i,[c("AdsAdgroupChildAttachmentsFields").callToActionType,c("AdsAdgroupChildAttachmentsFields").callToActionValue,c("AdsAdgroupChildAttachmentsFields").callToActionLink,c("AdsAdgroupChildAttachmentsFields").callToActionCaption,c("AdsAdgroupChildAttachmentsFields").callToActionAppLink,c("AdsAdgroupChildAttachmentsFields").captionIDs,c("AdsAdgroupChildAttachmentsFields").headline,c("AdsAdgroupChildAttachmentsFields").imageCrops,c("AdsAdgroupChildAttachmentsFields").imageHash,c("AdsAdgroupChildAttachmentsFields").imageURL,c("AdsAdgroupChildAttachmentsFields").linkURL,c("AdsAdgroupChildAttachmentsFields").videoID]),m={convertImageToVideoSpec:function n(o,p){return c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").SHARE,c("ApiAdObjectTypes").VIDEO,o,p)},convertVideoToImageSpec:function n(o,p){return c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").VIDEO,c("ApiAdObjectTypes").SHARE,o,p,c("immutable").List([c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.NAME]))},getChildAttachmentsFieldMapping:function n(o,p){if(!c("AdsChildAttachmentsUtils").hasChildAttachments(o))h;if(c("AdsAPIAdgroupRecordUtils").isTemplateCreative(o))switch(p){case c("AdsAdgroupChildAttachmentTypes").STATIC:return j;case c("AdsAdgroupChildAttachmentTypes").DYNAMIC:return k;default:return h}return l}};f.exports=m}),null);
__d("objectEntries",[],(function a(b,c,d,e,f,g){function h(i){return Object.entries(i)}f.exports=h}),null);
__d("adsGetMappingForUnrecognizedObjectType",["AdsUnifiedCreativeAPIFieldMappings","objectEntries"],(function a(b,c,d,e,f,g){"use strict";function h(i,j){var k=c("objectEntries")(i).map(function(l){var m=l[0],n=l[1];return m+": "+n}).join(", ");return c("AdsUnifiedCreativeAPIFieldMappings").INVALID_MAPPING}f.exports=h}),null);
__d("AdsMobileAppAdgroupSpecPathPluginCommon",["AdsAPIAdgroupRecordUtils","AdsAssetFeedUtils","AdsCallToActionTypes","AdsUnifiedCreativeAPIFieldMappingRecordUtils","AdsUnifiedCreativeAPIFieldMappings","AdsUnifiedCreativeAPIFields","ApiAdObjectTypes","adsGetMappingForUnrecognizedObjectType"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").collectionThumbnails,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").postClickItemDescription,c("AdsUnifiedCreativeAPIFields").postClickItemHeadline,c("AdsUnifiedCreativeAPIFields").productSetID,c("AdsUnifiedCreativeAPIFields").retailerItemIDs,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL]),i=c("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING,j={getUnifiedCreativeAPIFieldMapping:function k(l){__p&&__p();if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(l))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;var m=c("AdsAPIAdgroupRecordUtils").getObjectType(l);if(m===c("ApiAdObjectTypes").VIDEO)return h;if(m===c("ApiAdObjectTypes").SHARE){if(c("AdsAPIAdgroupRecordUtils").isTemplateCreative(l))return c("AdsUnifiedCreativeAPIFieldMappings").TEMPLATE_MAPPING;return i}return c("adsGetMappingForUnrecognizedObjectType")(this.pivots,m)},getDefaultCallToActionType:function k(l){return c("AdsCallToActionTypes").TYPES.INSTALL_MOBILE_APP.name}};f.exports=j}),null);
__d("AdsMobileAppInstallsAdgroupSpecPathPluginCommon",["AdsAPIAdgroupPaths","AdsAssetFeedUtils","AdsMobileAppAdgroupSpecPathPluginCommon","AdsUnifiedCreativeAPIFieldMappings"],(function a(b,c,d,e,f,g){"use strict";var h={getUnifiedCreativeAPIFieldMapping:function i(j){if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(j))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;if(j.getIn(c("AdsAPIAdgroupPaths").CREATIVE.PRODUCT_SET_ID))return c("AdsUnifiedCreativeAPIFieldMappings").TEMPLATE_MAPPING;else return c("AdsMobileAppAdgroupSpecPathPluginCommon").getUnifiedCreativeAPIFieldMapping.call(this,j)}};f.exports=h}),null);
__d("AdsAppInstallsAppAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsAppAdgroupSpecPathPluginCommon","AdsDefaultAdgroupSpecPathPlugin","AdsMobileAppAdgroupSpecPathPluginCommon","AdsMobileAppInstallsAdgroupSpecPathPluginCommon","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsAppAdgroupSpecPathPluginCommon"),c("AdsMobileAppAdgroupSpecPathPluginCommon"),c("AdsMobileAppInstallsAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"app-installs/mobile",pivots:{objective:c("AdsAPIObjectives").APP_INSTALLS,promotedObjectType:c("AdsPromotedObjectTypes").MOBILE_APP}});f.exports=h}),null);
__d("AdsCanvasAppAdgroupSpecPathPluginCommon",["AdsAdgroupChildAttachmentsFieldMappingRecordUtils","AdsAdgroupChildAttachmentsFieldMappings","AdsAdgroupChildAttachmentsFields","AdsAPIAdgroupRecordUtils","AdsAssetFeedUtils","AdsCallToActionTypes","AdsChildAttachmentsUtils","AdsUnifiedCreativeAPIFieldMappingRecordUtils","AdsUnifiedCreativeAPIFieldMappings","AdsUnifiedCreativeAPIFields","ApiAdObjectTypes","adsGetMappingForUnrecognizedObjectType"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsAdgroupChildAttachmentsFieldMappings").EMPTY_CAROUSEL_MAPPINGS,i=c("AdsAdgroupChildAttachmentsFieldMappings").STATIC_CAROUSEL_MAPPINGS,j=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL]),k=c("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING,l=c("AdsAdgroupChildAttachmentsFieldMappingRecordUtils").selectFields(i,[c("AdsAdgroupChildAttachmentsFields").callToActionType,c("AdsAdgroupChildAttachmentsFields").callToActionValue,c("AdsAdgroupChildAttachmentsFields").callToActionLink,c("AdsAdgroupChildAttachmentsFields").description,c("AdsAdgroupChildAttachmentsFields").headline,c("AdsAdgroupChildAttachmentsFields").imageCrops,c("AdsAdgroupChildAttachmentsFields").imageHash,c("AdsAdgroupChildAttachmentsFields").imageURL,c("AdsAdgroupChildAttachmentsFields").linkURL]),m={getUnifiedCreativeAPIFieldMapping:function n(o){if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(o))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;var p=c("AdsAPIAdgroupRecordUtils").getObjectType(o);if(p===c("ApiAdObjectTypes").VIDEO)return j;if(p===c("ApiAdObjectTypes").SHARE)return k;return c("adsGetMappingForUnrecognizedObjectType")(this.pivots,p)},getDefaultCallToActionType:function n(o){return c("AdsCallToActionTypes").TYPES.PLAY_NOW.name},getChildAttachmentsFieldMapping:function n(o,p){if(!c("AdsChildAttachmentsUtils").hasChildAttachments(o))h;return l}};f.exports=m}),null);
__d("AdsAppInstallsCanvasAppAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsAppAdgroupSpecPathPluginCommon","AdsCanvasAppAdgroupSpecPathPluginCommon","AdsDefaultAdgroupSpecPathPlugin","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsAppAdgroupSpecPathPluginCommon"),c("AdsCanvasAppAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"app-installs/canvas",pivots:{objective:c("AdsAPIObjectives").APP_INSTALLS,promotedObjectType:c("AdsPromotedObjectTypes").CANVAS_APP}});f.exports=h}),null);
__d("AdsBrandAwarenessAdgroupSpecPathPlugin",["invariant","AdsAdgroupChildAttachmentsFieldMappingRecord","AdsAdgroupChildAttachmentsFieldMappingRecordUtils","AdsAdgroupChildAttachmentsFieldMappings","AdsAdgroupChildAttachmentsFields","AdsAdgroupPostTypeMutators","AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAPIObjectives","AdsAssetFeedUtils","AdsBrandAwarenessUtils","AdsCallToActionTypes","AdsChildAttachmentsUtils","AdsDefaultAdgroupSpecPathPlugin","AdsUnifiedCreativeAPIFieldMappingRecordUtils","AdsUnifiedCreativeAPIFieldMappings","AdsUnifiedCreativeAPIFields","ApiAdObjectTypes","immutable","adsGetMappingForUnrecognizedObjectType"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("AdsAdgroupChildAttachmentsFieldMappings").EMPTY_CAROUSEL_MAPPINGS,j=c("AdsAdgroupChildAttachmentsFieldMappings").STATIC_CAROUSEL_MAPPINGS,k=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").childAttachments,c("AdsUnifiedCreativeAPIFields").collectionThumbnails,c("AdsUnifiedCreativeAPIFields").displayURL,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").imageCrops,c("AdsUnifiedCreativeAPIFields").imageHash,c("AdsUnifiedCreativeAPIFields").imageURL,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkDescription,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").multiShareEndCard,c("AdsUnifiedCreativeAPIFields").multiShareOptimized,c("AdsUnifiedCreativeAPIFields").pageID]),l=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").PHOTO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").imageHash,c("AdsUnifiedCreativeAPIFields").imageURL,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID]),m=c("AdsUnifiedCreativeAPIFieldMappings").STATUS_MAPPING,n=c("AdsAdgroupChildAttachmentsFieldMappingRecordUtils").selectFields(j,[c("AdsAdgroupChildAttachmentsFields").callToActionType,c("AdsAdgroupChildAttachmentsFields").callToActionValue,c("AdsAdgroupChildAttachmentsFields").callToActionLink,c("AdsAdgroupChildAttachmentsFields").caption,c("AdsAdgroupChildAttachmentsFields").captionIDs,c("AdsAdgroupChildAttachmentsFields").description,c("AdsAdgroupChildAttachmentsFields").headline,c("AdsAdgroupChildAttachmentsFields").imageCrops,c("AdsAdgroupChildAttachmentsFields").imageHash,c("AdsAdgroupChildAttachmentsFields").imageURL,c("AdsAdgroupChildAttachmentsFields").link,c("AdsAdgroupChildAttachmentsFields").linkURL,c("AdsAdgroupChildAttachmentsFields").videoID]),o=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),{type:"adgroup/spec-path",key:"brand-awareness",pivots:{objective:c("AdsAPIObjectives").BRAND_AWARENESS},convertImageToVideoSpec:function p(q,r){var s=c("AdsBrandAwarenessUtils").isWebsiteLinkEnabled(q),t=this._getVideoFieldsPath(r);q=c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(q.getIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE),c("ApiAdObjectTypes").VIDEO,q,r,c("immutable").List([]));var u=this.getDefaultCallToActionType(q);return s?q.setIn(t.callToActionType,u):q},convertVideoToImageSpec:function p(q,r){var s=c("AdsBrandAwarenessUtils").isWebsiteLinkEnabled(q);r=r&&c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(r.getIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE),s?c("ApiAdObjectTypes").SHARE:c("ApiAdObjectTypes").PHOTO,r);var t=c("immutable").List([]);if(k.callToActionValue)t=t.push(k.callToActionValue);return c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").VIDEO,s?c("ApiAdObjectTypes").SHARE:c("ApiAdObjectTypes").PHOTO,q,r,t)},getDefaultCallToActionType:function p(q){var r=q.getIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE);switch(r){case c("ApiAdObjectTypes").SHARE:case c("ApiAdObjectTypes").VIDEO:return c("AdsCallToActionTypes").TYPES.LEARN_MORE.name}h(0)},getUnifiedCreativeAPIFieldMapping:function p(q){__p&&__p();if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(q))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;if(c("AdsAPIAdgroupRecordUtils").isExistingPostAd(q))return m;var r=q.getIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE);switch(r){case c("ApiAdObjectTypes").PHOTO:return l;case c("ApiAdObjectTypes").SHARE:return k;case c("ApiAdObjectTypes").VIDEO:return this._getVideoFieldsPath(q)}return c("adsGetMappingForUnrecognizedObjectType")(o.pivots,r)},_getVideoFieldsPath:function p(q){var r=c("AdsBrandAwarenessUtils").isWebsiteLinkEnabled(q);if(r)return c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").collectionThumbnails,c("AdsUnifiedCreativeAPIFields").displayURL,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkDescription,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL]);else return c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").collectionThumbnails,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL])},getChildAttachmentsFieldMapping:function p(q,r){if(!c("AdsChildAttachmentsUtils").hasChildAttachments(q))i;return n}});f.exports=o}),null);
__d("AdsCanvasAppEngagementAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsAppAdgroupSpecPathPluginCommon","AdsCanvasAppAdgroupSpecPathPluginCommon","AdsDefaultAdgroupSpecPathPlugin"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsAppAdgroupSpecPathPluginCommon"),c("AdsCanvasAppAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"canvas-app-engagement",pivots:{objective:c("AdsAPIObjectives").CANVAS_APP_ENGAGEMENT}});f.exports=h}),null);
__d("AdsCanvasAppInstallsAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsAppAdgroupSpecPathPluginCommon","AdsCanvasAppAdgroupSpecPathPluginCommon","AdsDefaultAdgroupSpecPathPlugin"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsAppAdgroupSpecPathPluginCommon"),c("AdsCanvasAppAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"canvas-app-installs",pivots:{objective:c("AdsAPIObjectives").CANVAS_APP_INSTALLS}});f.exports=h}),null);
__d("AdsConversionsAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsDefaultAdgroupSpecPathPlugin","AdsWebsiteAdgroupSpecPathPluginCommon"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsWebsiteAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"conversions",pivots:{objective:c("AdsAPIObjectives").CONVERSIONS}});f.exports=h}),null);
__d("AdsConversionsAppAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsAppAdgroupSpecPathPluginCommon","AdsDefaultAdgroupSpecPathPlugin","AdsMobileAppAdgroupSpecPathPluginCommon","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsAppAdgroupSpecPathPluginCommon"),c("AdsMobileAppAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"conversions/app",pivots:{objective:c("AdsAPIObjectives").CONVERSIONS,promotedObjectType:c("AdsPromotedObjectTypes").MOBILE_APP}});f.exports=h}),null);
__d("AdsConversionsDynamicAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsDefaultAdgroupSpecPathPlugin","AdsDynamicAdgroupSpecPathPluginCommon","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsDynamicAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"conversions/dynamic",pivots:{objective:c("AdsAPIObjectives").CONVERSIONS,promotedObjectType:c("AdsPromotedObjectTypes").PRODUCT_SET}});f.exports=h}),null);
__d("AdsConversionsMessengerAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsDefaultAdgroupSpecPathPlugin","AdsMessengerAdgroupSpecPathPluginCommon","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsMessengerAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"conversions/messenger",pivots:{objective:c("AdsAPIObjectives").CONVERSIONS,promotedObjectType:c("AdsPromotedObjectTypes").MESSENGER}});f.exports=h}),null);
__d("AdsDynamicAdgroupSpecPathPluginCommon",["AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAssetFeedUtils","AdsCallToActionTypes","AdsUnifiedCreativeAPIFieldMappings","AdsWebsiteAdgroupSpecPathPluginCommon","ApiAdObjectTypes"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=babelHelpers["extends"]({},c("AdsWebsiteAdgroupSpecPathPluginCommon"),{getDefaultCallToActionType:function i(j){return c("AdsCallToActionTypes").TYPES.SHOP_NOW.name},getUnifiedCreativeAPIFieldMapping:function i(j){if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(j))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;var k=c("AdsAPIAdgroupRecordUtils").getObjectType(j);switch(k){case c("ApiAdObjectTypes").SHARE:if(j.getIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.path))return c("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING;return c("AdsUnifiedCreativeAPIFieldMappings").TEMPLATE_MAPPING;case c("ApiAdObjectTypes").VIDEO:return c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING}return c("AdsUnifiedCreativeAPIFieldMappings").TEMPLATE_MAPPING}});f.exports=h}),null);
__d("AdsEventResponsesAdgroupSpecPathPlugin",["AdsAdgroupPostTypeMutators","AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAPIObjectives","AdsAssetFeedUtils","AdsCallToActionTypes","AdsDefaultAdgroupSpecPathPlugin","AdsUnifiedCreativeAPIFieldMappingRecordUtils","AdsUnifiedCreativeAPIFieldMappings","AdsUnifiedCreativeAPIFields","ApiAdObjectTypes","immutable"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").eventID,c("AdsUnifiedCreativeAPIFields").imageCrops,c("AdsUnifiedCreativeAPIFields").imageHash,c("AdsUnifiedCreativeAPIFields").imageURL,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID]),i=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").eventID,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL]),j=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),{type:"adgroup/spec-path",key:"event-responses",pivots:{objective:c("AdsAPIObjectives").EVENT_RESPONSES},convertImageToVideoSpec:function k(l,m){return c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").SHARE,c("ApiAdObjectTypes").VIDEO,l,m)},convertVideoToImageSpec:function k(l,m){return c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").VIDEO,c("ApiAdObjectTypes").SHARE,l,m,c("immutable").List([c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.EVENT_ID,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.LINK]))},getDefaultCallToActionType:function k(l){return c("AdsCallToActionTypes").TYPES.EVENT_RSVP.name},getUnifiedCreativeAPIFieldMapping:function k(l){if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(l))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;var m=c("AdsAPIAdgroupRecordUtils").getObjectType(l);switch(m){case c("ApiAdObjectTypes").SHARE:return h;case c("ApiAdObjectTypes").VIDEO:return i}return h}});f.exports=j}),null);
__d("AdsLeadGenDynamicAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsCallToActionTypes","AdsDefaultAdgroupSpecPathPlugin","AdsDynamicAdgroupSpecPathPluginCommon","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsDynamicAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"lead-generation/dynamic",pivots:{objective:c("AdsAPIObjectives").LEAD_GENERATION,promotedObjectType:c("AdsPromotedObjectTypes").PRODUCT_SET},getDefaultCallToActionType:function i(j){return c("AdsCallToActionTypes").TYPES.SIGN_UP.name}});f.exports=h}),null);
__d("AdsLeadGenerationAdgroupSpecPathPlugin",["AdsAdgroupChildAttachmentsFieldMappingRecordUtils","AdsAdgroupChildAttachmentsFieldMappings","AdsAdgroupChildAttachmentsFields","AdsAdgroupPostTypeMutators","AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAPIObjectives","AdsAssetFeedUtils","AdsCallToActionTypes","AdsChildAttachmentsUtils","AdsDefaultAdgroupSpecPathPlugin","AdsUnifiedCreativeAPIFieldMappingRecordUtils","AdsUnifiedCreativeAPIFieldMappings","AdsUnifiedCreativeAPIFields","ApiAdObjectTypes","immutable","adsGetMappingForUnrecognizedObjectType"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsAdgroupChildAttachmentsFieldMappings").EMPTY_CAROUSEL_MAPPINGS,i=c("AdsAdgroupChildAttachmentsFieldMappings").STATIC_CAROUSEL_MAPPINGS,j=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").displayURL,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkDescription,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL]),k=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").childAttachments,c("AdsUnifiedCreativeAPIFields").displayURL,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").imageCrops,c("AdsUnifiedCreativeAPIFields").imageHash,c("AdsUnifiedCreativeAPIFields").imageURL,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkDescription,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").multiShareEndCard,c("AdsUnifiedCreativeAPIFields").multiShareOptimized,c("AdsUnifiedCreativeAPIFields").pageID]),l=c("AdsAdgroupChildAttachmentsFieldMappingRecordUtils").selectFields(i,[c("AdsAdgroupChildAttachmentsFields").callToActionType,c("AdsAdgroupChildAttachmentsFields").callToActionValue,c("AdsAdgroupChildAttachmentsFields").callToActionLink,c("AdsAdgroupChildAttachmentsFields").captionIDs,c("AdsAdgroupChildAttachmentsFields").description,c("AdsAdgroupChildAttachmentsFields").headline,c("AdsAdgroupChildAttachmentsFields").imageCrops,c("AdsAdgroupChildAttachmentsFields").imageHash,c("AdsAdgroupChildAttachmentsFields").imageURL,c("AdsAdgroupChildAttachmentsFields").linkURL,c("AdsAdgroupChildAttachmentsFields").videoID]),m=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),{type:"adgroup/spec-path",key:"lead-generation",pivots:{objective:c("AdsAPIObjectives").LEAD_GENERATION},convertImageToVideoSpec:function n(o,p){return c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").SHARE,c("ApiAdObjectTypes").VIDEO,o,p)},convertVideoToImageSpec:function n(o,p){return c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").VIDEO,c("ApiAdObjectTypes").SHARE,o,p,c("immutable").List([c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.NAME]))},getUnifiedCreativeAPIFieldMapping:function n(o){if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(o))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;var p=c("AdsAPIAdgroupRecordUtils").getObjectType(o);if(p===c("ApiAdObjectTypes").VIDEO)return j;if(p===c("ApiAdObjectTypes").SHARE)return k;return c("adsGetMappingForUnrecognizedObjectType")(m.pivots,p)},getDefaultCallToActionType:function n(o){return c("AdsCallToActionTypes").TYPES.SIGN_UP.name},getChildAttachmentsFieldMapping:function n(o,p){if(!c("AdsChildAttachmentsUtils").hasChildAttachments(o))h;return l}});f.exports=m}),null);
__d("AdsLinkClicksAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsDefaultAdgroupSpecPathPlugin","AdsWebsiteAdgroupSpecPathPluginCommon"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsWebsiteAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"link-clicks",pivots:{objective:c("AdsAPIObjectives").LINK_CLICKS}});f.exports=h}),null);
__d("AdsLinkClicksAppAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsAppAdgroupSpecPathPluginCommon","AdsDefaultAdgroupSpecPathPlugin","AdsMobileAppAdgroupSpecPathPluginCommon","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsAppAdgroupSpecPathPluginCommon"),c("AdsMobileAppAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"link_clicks/app",pivots:{objective:c("AdsAPIObjectives").LINK_CLICKS,promotedObjectType:c("AdsPromotedObjectTypes").MOBILE_APP}});f.exports=h}),null);
__d("AdsLinkClicksCanvasAppAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsAppAdgroupSpecPathPluginCommon","AdsCanvasAppAdgroupSpecPathPluginCommon","AdsDefaultAdgroupSpecPathPlugin","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsAppAdgroupSpecPathPluginCommon"),c("AdsCanvasAppAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"link_clicks/canvas-app",pivots:{objective:c("AdsAPIObjectives").LINK_CLICKS,promotedObjectType:c("AdsPromotedObjectTypes").CANVAS_APP}});f.exports=h}),null);
__d("AdsLinkClicksDynamicAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsDefaultAdgroupSpecPathPlugin","AdsDynamicAdgroupSpecPathPluginCommon","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsDynamicAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"link_clicks/dynamic",pivots:{objective:c("AdsAPIObjectives").LINK_CLICKS,promotedObjectType:c("AdsPromotedObjectTypes").PRODUCT_SET}});f.exports=h}),null);
__d("AdsLinkClicksMessengerAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsDefaultAdgroupSpecPathPlugin","AdsMessengerAdgroupSpecPathPluginCommon","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsMessengerAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"link-clicks/messenger",pivots:{objective:c("AdsAPIObjectives").LINK_CLICKS,promotedObjectType:c("AdsPromotedObjectTypes").MESSENGER}});f.exports=h}),null);
__d("AdsLocalAwarenessAdgroupSpecPathPlugin",["invariant","AdsAdgroupPostTypeMutators","AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAPIObjectives","AdsAssetFeedUtils","AdsCallToActionTypes","AdsDefaultAdgroupSpecPathPlugin","AdsUnifiedCreativeAPIFieldMappingRecordUtils","AdsUnifiedCreativeAPIFieldMappings","AdsUnifiedCreativeAPIFields","ApiAdObjectTypes","immutable","adsGetMappingForUnrecognizedObjectType","nullthrows"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING,[c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").childAttachments,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").imageCrops,c("AdsUnifiedCreativeAPIFields").imageHash,c("AdsUnifiedCreativeAPIFields").imageURL,c("AdsUnifiedCreativeAPIFields").linkDescription,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").multiShareEndCard,c("AdsUnifiedCreativeAPIFields").multiShareOptimized,c("AdsUnifiedCreativeAPIFields").pageID]),j=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL]),k=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),{type:"adgroup/spec-path",key:"local-awareness",pivots:{objective:c("AdsAPIObjectives").LOCAL_AWARENESS},convertImageToVideoSpec:function l(m,n){var o=c("AdsAPIAdgroupRecordUtils").getObjectType(m);o===c("ApiAdObjectTypes").SHARE||h(0);return c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").SHARE,c("ApiAdObjectTypes").VIDEO,m,n).removeIn(c("nullthrows")(j.callToActionValue))},convertVideoToImageSpec:function l(m,n){var o=c("immutable").List([c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.LINK_TITLE]);if(n&&(!n.hasIn(i.callToActionType)||n.getIn(i.callToActionType)!==c("AdsCallToActionTypes").TYPES.GET_DIRECTIONS.name&&n.getIn(i.callToActionType)!==c("AdsCallToActionTypes").TYPES.CALL_NOW.name))o=o.push(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.LINK);return c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").VIDEO,c("ApiAdObjectTypes").SHARE,m,n,o)},getUnifiedCreativeAPIFieldMapping:function l(m){if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(m))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;var n=c("AdsAPIAdgroupRecordUtils").getObjectType(m);switch(n){case c("ApiAdObjectTypes").SHARE:if(c("AdsAPIAdgroupRecordUtils").isTemplateCreative(m))return c("AdsUnifiedCreativeAPIFieldMappings").TEMPLATE_MAPPING;return i;case c("ApiAdObjectTypes").VIDEO:return j}return c("adsGetMappingForUnrecognizedObjectType")(k.pivots,n)}});f.exports=k}),null);
__d("AdsMessagesAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsDefaultAdgroupSpecPathPlugin","AdsMessengerAdgroupSpecPathPluginCommon"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsMessengerAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"messages",pivots:{objective:c("AdsAPIObjectives").MESSAGES}});f.exports=h}),null);
__d("AdsMessagesMessengerAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsDefaultAdgroupSpecPathPlugin","AdsMessengerAdgroupSpecPathPluginCommon","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsMessengerAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"messages/messenger",pivots:{objective:c("AdsAPIObjectives").MESSAGES,promotedObjectType:c("AdsPromotedObjectTypes").MESSENGER}});f.exports=h}),null);
__d("AdsMessagesSponsoredMessagesAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsDefaultAdgroupSpecPathPlugin","AdsMessengerAdgroupSpecPathPluginCommon","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsMessengerAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"messages/sponsored-messages",pivots:{objective:c("AdsAPIObjectives").MESSAGES,promotedObjectType:c("AdsPromotedObjectTypes").SPONSORED_MESSAGES}});f.exports=h}),null);
__d("AdsMessagesWhatsAppAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsDefaultAdgroupSpecPathPlugin","AdsPromotedObjectTypes","AdsWhatsAppAdgroupSpecPathPluginCommon"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsWhatsAppAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"messages/whatsapp",pivots:{objective:c("AdsAPIObjectives").MESSAGES,promotedObjectType:c("AdsPromotedObjectTypes").WHATSAPP}});f.exports=h}),null);
__d("AdsMessengerAdgroupSpecPathPluginCommon",["AdsAdgroupChildAttachmentsFieldMappings","AdsAPIAdgroupRecordUtils","AdsAssetFeedUtils","AdsCallToActionTypes","AdsChildAttachmentsUtils","AdsUnifiedCreativeAPIFieldMappings","AdsWebsiteAdgroupSpecPathPluginCommon","ApiAdObjectTypes","adsGetMappingForUnrecognizedObjectType"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsAdgroupChildAttachmentsFieldMappings").EMPTY_CAROUSEL_MAPPINGS,i=c("AdsAdgroupChildAttachmentsFieldMappings").STATIC_CAROUSEL_MAPPINGS,j=c("AdsUnifiedCreativeAPIFieldMappings").STATUS_MAPPING,k=babelHelpers["extends"]({},c("AdsWebsiteAdgroupSpecPathPluginCommon"),{getDefaultCallToActionType:function l(m){return c("AdsCallToActionTypes").TYPES.MESSAGE_PAGE.name},getUnifiedCreativeAPIFieldMapping:function l(m){__p&&__p();if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(m))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;if(c("AdsAPIAdgroupRecordUtils").isExistingPostAd(m))return j;var n=c("AdsAPIAdgroupRecordUtils").getObjectType(m);switch(n){case c("ApiAdObjectTypes").SHARE:if(c("AdsAPIAdgroupRecordUtils").isTemplateCreative(m))return c("AdsUnifiedCreativeAPIFieldMappings").TEMPLATE_MAPPING;return c("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING;case c("ApiAdObjectTypes").VIDEO:return c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING;case c("ApiAdObjectTypes").PHOTO:return c("AdsUnifiedCreativeAPIFieldMappings").PHOTO_MAPPING;case c("ApiAdObjectTypes").STATUS:return c("AdsUnifiedCreativeAPIFieldMappings").STATUS_MAPPING}return c("adsGetMappingForUnrecognizedObjectType")(this.pivots,n)},getChildAttachmentsFieldMapping:function l(m,n){if(!c("AdsChildAttachmentsUtils").hasChildAttachments(m))return h;return i}});f.exports=k}),null);
__d("AdsMobileAppEngagementAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsAppAdgroupSpecPathPluginCommon","AdsDefaultAdgroupSpecPathPlugin","AdsMobileAppAdgroupSpecPathPluginCommon"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsAppAdgroupSpecPathPluginCommon"),c("AdsMobileAppAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"mobile-app-engagement",pivots:{objective:c("AdsAPIObjectives").MOBILE_APP_ENGAGEMENT}});f.exports=h}),null);
__d("AdsMobileAppInstallsAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsAppAdgroupSpecPathPluginCommon","AdsDefaultAdgroupSpecPathPlugin","AdsMobileAppAdgroupSpecPathPluginCommon","AdsMobileAppInstallsAdgroupSpecPathPluginCommon"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsAppAdgroupSpecPathPluginCommon"),c("AdsMobileAppAdgroupSpecPathPluginCommon"),c("AdsMobileAppInstallsAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"mobile-app-installs",pivots:{objective:c("AdsAPIObjectives").MOBILE_APP_INSTALLS}});f.exports=h}),null);
__d("AdsOfferClaimsAdgroupSpecPathPlugin",["AdsAdgroupPostTypeMutators","AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAPIObjectives","AdsAssetFeedUtils","AdsCallToActionTypes","AdsDefaultAdgroupSpecPathPlugin","AdsUnifiedCreativeAPIFieldMappingRecordUtils","AdsUnifiedCreativeAPIFieldMappings","AdsUnifiedCreativeAPIFields","ApiAdObjectTypes","immutable","adsGetMappingForUnrecognizedObjectType"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").displayURL,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").offerID,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL]),i=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING,[c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").childAttachments,c("AdsUnifiedCreativeAPIFields").displayURL,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").imageCrops,c("AdsUnifiedCreativeAPIFields").imageHash,c("AdsUnifiedCreativeAPIFields").imageURL,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").multiShareEndCard,c("AdsUnifiedCreativeAPIFields").multiShareOptimized,c("AdsUnifiedCreativeAPIFields").offerID,c("AdsUnifiedCreativeAPIFields").pageID]),j=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),{type:"adgroup/spec-path",key:"offer-claims",pivots:{objective:c("AdsAPIObjectives").OFFER_CLAIMS},convertImageToVideoSpec:function k(l,m){return c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").SHARE,c("ApiAdObjectTypes").VIDEO,l,m)},convertVideoToImageSpec:function k(l,m){return c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").VIDEO,c("ApiAdObjectTypes").SHARE,l,m,c("immutable").List([c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.NAME]))},getUnifiedCreativeAPIFieldMapping:function k(l){if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(l))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;var m=c("AdsAPIAdgroupRecordUtils").getObjectType(l);if(m===c("ApiAdObjectTypes").VIDEO)return h;if(m===c("ApiAdObjectTypes").SHARE)return i;return c("adsGetMappingForUnrecognizedObjectType")(j.pivots,m)},getDefaultCallToActionType:function k(l){return c("AdsCallToActionTypes").TYPES.GET_OFFER_VIEW.name}});f.exports=j}),null);
__d("AdsPostEngagementAdgroupSpecPathPlugin",["AdsAdgroupPostTypeMutators","AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAPIObjectives","AdsAssetFeedUtils","AdsCallToActionTypes","AdsCanvasAdUtils","AdsDefaultAdgroupSpecPathPlugin","AdsUnifiedCreativeAPIFieldMappingRecordUtils","AdsUnifiedCreativeAPIFieldMappings","AdsUnifiedCreativeAPIFields","ApiAdObjectTypes","immutable","adsGetMappingForUnrecognizedObjectType"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").childAttachments,c("AdsUnifiedCreativeAPIFields").collectionThumbnails,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").imageCrops,c("AdsUnifiedCreativeAPIFields").imageHash,c("AdsUnifiedCreativeAPIFields").imageURL,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID]),i=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").PHOTO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").imageHash,c("AdsUnifiedCreativeAPIFields").imageURL,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID]).withMutations(function(l){return l.set("callToActionType",c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.CALL_TO_ACTION.TYPE).set("callToActionValue",c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.CALL_TO_ACTION.VALUE.path).set("linkURL",c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.PHOTO_DATA.CALL_TO_ACTION.VALUE.LINK)}),j=c("AdsUnifiedCreativeAPIFieldMappings").STATUS_MAPPING,k=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),{type:"adgroup/spec-path",key:"post-engagement",pivots:{objective:c("AdsAPIObjectives").POST_ENGAGEMENT},convertImageToVideoSpec:function l(m,n){var o=c("AdsCanvasAdUtils").isCanvasDestinationEnabled(m);m=c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(m.getIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE),c("ApiAdObjectTypes").VIDEO,m,n);var p=this._getVideoFieldsPath(m);return o?m.setIn(p.callToActionType,c("AdsCallToActionTypes").TYPES.LEARN_MORE.name):m},convertVideoToImageSpec:function l(m,n){var o=c("AdsCanvasAdUtils").isCanvasDestinationEnabled(m);n=n&&c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(n.getIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE),o?c("ApiAdObjectTypes").SHARE:c("ApiAdObjectTypes").PHOTO,n);var p=c("immutable").List([]);if(h.callToActionValue)p=p.push(h.callToActionValue);return c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").VIDEO,o?c("ApiAdObjectTypes").SHARE:c("ApiAdObjectTypes").PHOTO,m,n,p)},canSinglePhotoHaveCTA:function l(){return true},getUnifiedCreativeAPIFieldMapping:function l(m){__p&&__p();if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(m))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;if(c("AdsAPIAdgroupRecordUtils").isExistingPostAd(m))return j;var n=m.getIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE);switch(n){case c("ApiAdObjectTypes").PHOTO:return i;case c("ApiAdObjectTypes").SHARE:return h;case c("ApiAdObjectTypes").VIDEO:return this._getVideoFieldsPath(m)}return c("adsGetMappingForUnrecognizedObjectType")(k.pivots,n)},_getVideoFieldsPath:function l(m){var n=c("AdsCanvasAdUtils").isCanvasDestinationEnabled(m);if(n)return c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").collectionThumbnails,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL]);else return c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").collectionThumbnails,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL])},getDefaultCallToActionType:function l(m){return c("AdsCallToActionTypes").TYPES.NO_BUTTON.name}});f.exports=k}),null);
__d("AdsProductCatalogSalesAdgroupSpecPathPlugin",["AdsAPIObjectives","AdsDefaultAdgroupSpecPathPlugin","AdsDynamicAdgroupSpecPathPluginCommon"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),c("AdsDynamicAdgroupSpecPathPluginCommon"),{type:"adgroup/spec-path",key:"product-catalog-sales",pivots:{objective:c("AdsAPIObjectives").PRODUCT_CATALOG_SALES}});f.exports=h}),null);
__d("AdsReachAdgroupSpecPathPlugin",["invariant","AdsAdgroupChildAttachmentsFieldMappingRecordUtils","AdsAdgroupChildAttachmentsFieldMappings","AdsAdgroupChildAttachmentsFields","AdsAdgroupPostTypeMutators","AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAPIObjectives","AdsAssetFeedUtils","AdsBrandAwarenessUtils","AdsCallToActionTypes","AdsCanvasAdUtils","AdsChildAttachmentsUtils","AdsDefaultAdgroupSpecPathPlugin","AdsUnifiedCreativeAPIFieldMappingRecordUtils","AdsUnifiedCreativeAPIFieldMappings","AdsUnifiedCreativeAPIFields","ApiAdObjectTypes","CallToActionValueFields","immutable","adsGetMappingForUnrecognizedObjectType","nullthrows"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("AdsAdgroupChildAttachmentsFieldMappings").EMPTY_CAROUSEL_MAPPINGS,j=c("AdsAdgroupChildAttachmentsFieldMappings").STATIC_CAROUSEL_MAPPINGS,k=c("AdsAdgroupChildAttachmentsFieldMappings").STATIC_CAROUSEL_PLACE_CARD_FIELDS,l=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").childAttachments,c("AdsUnifiedCreativeAPIFields").collectionThumbnails,c("AdsUnifiedCreativeAPIFields").displayURL,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").imageCrops,c("AdsUnifiedCreativeAPIFields").imageHash,c("AdsUnifiedCreativeAPIFields").imageURL,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkDescription,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").multiShareEndCard,c("AdsUnifiedCreativeAPIFields").multiShareOptimized,c("AdsUnifiedCreativeAPIFields").pageID]),m=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").PHOTO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").imageHash,c("AdsUnifiedCreativeAPIFields").imageURL,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID]),n=c("AdsUnifiedCreativeAPIFieldMappings").STATUS_MAPPING,o=c("AdsAdgroupChildAttachmentsFieldMappingRecordUtils").selectFields(j,[].concat(k,[c("AdsAdgroupChildAttachmentsFields").callToActionType,c("AdsAdgroupChildAttachmentsFields").callToActionValue,c("AdsAdgroupChildAttachmentsFields").callToActionLink,c("AdsAdgroupChildAttachmentsFields").caption,c("AdsAdgroupChildAttachmentsFields").captionIDs,c("AdsAdgroupChildAttachmentsFields").description,c("AdsAdgroupChildAttachmentsFields").headline,c("AdsAdgroupChildAttachmentsFields").imageCrops,c("AdsAdgroupChildAttachmentsFields").imageHash,c("AdsAdgroupChildAttachmentsFields").imageURL,c("AdsAdgroupChildAttachmentsFields").link,c("AdsAdgroupChildAttachmentsFields").linkURL,c("AdsAdgroupChildAttachmentsFields").videoID])),p=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),{type:"adgroup/spec-path",key:"reach",pivots:{objective:c("AdsAPIObjectives").REACH},convertImageToVideoSpec:function q(r,s){var t=c("AdsBrandAwarenessUtils").isWebsiteLinkEnabled(r),u=this._getVideoFieldsPath(s),v=c("AdsCanvasAdUtils").isCanvasDestinationEnabled(r)?c("immutable").List([]):c("immutable").List([u.callToActionValue.concat(c("CallToActionValueFields").LINK)]);r=c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(t?c("ApiAdObjectTypes").SHARE:c("ApiAdObjectTypes").PHOTO,c("ApiAdObjectTypes").VIDEO,r,s,v);var w=this.getDefaultCallToActionType(r);return t?r.setIn(u.callToActionType,w):r},convertVideoToImageSpec:function q(r,s){var t=c("AdsAPIAdgroupRecordUtils").getObjectType(r),u=c("AdsBrandAwarenessUtils").isWebsiteLinkEnabled(r);s=s&&c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(t,u?c("ApiAdObjectTypes").SHARE:c("ApiAdObjectTypes").PHOTO,s);var v=u&&!c("AdsCanvasAdUtils").isCanvasDestinationEnabled(r)?c("immutable").List([c("nullthrows")(l.linkURL),c("nullthrows")(l.callToActionValue).concat(c("CallToActionValueFields").LINK),c("nullthrows")(l.callToActionValue).concat(c("CallToActionValueFields").LINK_FORMAT),c("nullthrows")(l.callToActionValue).concat(c("CallToActionValueFields").LINK_TITLE),c("nullthrows")(l.callToActionValue).concat(c("CallToActionValueFields").LINK_DESCRIPTION),c("nullthrows")(l.callToActionValue).concat(c("CallToActionValueFields").CAPTION)]):c("immutable").List([c("nullthrows")(l.callToActionValue).concat(c("CallToActionValueFields").LINK_FORMAT),c("nullthrows")(l.callToActionValue).concat(c("CallToActionValueFields").LINK_TITLE),c("nullthrows")(l.callToActionValue).concat(c("CallToActionValueFields").LINK_DESCRIPTION),c("nullthrows")(l.callToActionValue).concat(c("CallToActionValueFields").CAPTION)]);r=c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").VIDEO,u?c("ApiAdObjectTypes").SHARE:c("ApiAdObjectTypes").PHOTO,r,s,v);return u?r.setIn(l.callToActionType,this.getDefaultCallToActionType(r)):r},getDefaultCallToActionType:function q(r){var s=r.getIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE);switch(s){case c("ApiAdObjectTypes").SHARE:case c("ApiAdObjectTypes").VIDEO:return c("AdsCallToActionTypes").TYPES.LEARN_MORE.name}h(0)},getUnifiedCreativeAPIFieldMapping:function q(r){__p&&__p();if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(r))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;if(c("AdsAPIAdgroupRecordUtils").isExistingPostAd(r))return n;var s=c("AdsAPIAdgroupRecordUtils").getObjectType(r);switch(s){case c("ApiAdObjectTypes").PHOTO:return m;case c("ApiAdObjectTypes").SHARE:return l;case c("ApiAdObjectTypes").VIDEO:return this._getVideoFieldsPath(r)}return c("adsGetMappingForUnrecognizedObjectType")(p.pivots,s)},_getVideoFieldsPath:function q(r){var s=c("AdsBrandAwarenessUtils").isWebsiteLinkEnabled(r);if(s)return c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").collectionThumbnails,c("AdsUnifiedCreativeAPIFields").displayURL,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkDescription,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL]);else return c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").collectionThumbnails,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL])},getChildAttachmentsFieldMapping:function q(r,s){if(!c("AdsChildAttachmentsUtils").hasChildAttachments(r))i;return o}});f.exports=p}),null);
__d("AdsStoreVisitsAdgroupSpecPathPlugin",["invariant","AdsAdgroupChildAttachmentsFieldMappings","AdsAdgroupChildAttachmentTypes","AdsAdgroupPostTypeMutators","AdsAdgroupSpecUtils","AdsAPIAdgroupRecordUtils","AdsAPICallToActionPaths","AdsAPIObjectives","AdsAssetFeedUtils","AdsCallToActionTypes","AdsDefaultAdgroupSpecPathPlugin","AdsUnifiedCreativeAPIFieldMappings","ApiAdObjectTypes","adsGetMappingForUnrecognizedObjectType","getByPath"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=babelHelpers["extends"]({},c("AdsDefaultAdgroupSpecPathPlugin"),{type:"adgroup/spec-path",key:"store-visits",pivots:{objective:c("AdsAPIObjectives").STORE_VISITS},getDefaultCallToActionType:function j(k){return c("AdsCallToActionTypes").TYPES.GET_DIRECTIONS.name},getUnifiedCreativeAPIFieldMapping:function j(k){if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(k))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;var l=c("AdsAPIAdgroupRecordUtils").getObjectType(k);switch(l){case c("ApiAdObjectTypes").SHARE:return c("AdsUnifiedCreativeAPIFieldMappings").TEMPLATE_MAPPING;case c("ApiAdObjectTypes").VIDEO:return c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING}return c("adsGetMappingForUnrecognizedObjectType")(i.pivots,l)},convertImageToVideoSpec:function j(k,l){var m=c("AdsAPIAdgroupRecordUtils").getObjectType(k);m===c("ApiAdObjectTypes").SHARE||h(0);var n=c("AdsAdgroupSpecUtils").getCallToAction(k,c("AdsAPIObjectives").STORE_VISITS),o=c("getByPath")(n,c("AdsAPICallToActionPaths").TYPE);if([c("AdsCallToActionTypes").TYPES.GET_OFFER_VIEW.name,c("AdsCallToActionTypes").TYPES.SHOP_NOW.name,c("AdsCallToActionTypes").TYPES.ORDER_NOW.name].includes(o))l=l.deleteIn(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING.callToActionType);return c("AdsAdgroupPostTypeMutators").convertTemplatePostToVideoPost(k,this.pivots.objective,l)},convertVideoToImageSpec:function j(k,l){var m=c("AdsAPIAdgroupRecordUtils").getObjectType(k);m===c("ApiAdObjectTypes").VIDEO||h(0);return c("AdsAdgroupPostTypeMutators").convertVideoPostToTemplatePost(k,this.pivots.objective,l)},getChildAttachmentsFieldMapping:function j(k,l){var m=this.getUnifiedCreativeAPIFieldMapping(k);if(l===c("AdsAdgroupChildAttachmentTypes").PLACE)return c("AdsAdgroupChildAttachmentsFieldMappings").DYNAMIC_AND_REALTIME_CAROUSEL_PLACE_CARD_MAPPINGS;var n=!!k.getIn(m.offerID);return n?c("AdsAdgroupChildAttachmentsFieldMappings").STORE_VISITS_WITH_OFFER_STATIC_CARD_MAPPINGS:c("AdsAdgroupChildAttachmentsFieldMappings").STORE_VISITS_STATIC_CARD_MAPPINGS},getDefaultMessage:function j(){return"Visit us at {{page.location.street_address}}, {{page.location.city}}."}});f.exports=i}),null);
__d("AdsWebsiteAdgroupSpecPathPluginCommon",["invariant","AdsAdgroupChildAttachmentsFieldMappingRecord","AdsAdgroupChildAttachmentsFieldMappings","AdsAdgroupChildAttachmentTypes","AdsAdgroupPostTypeMutators","AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAssetFeedUtils","AdsCallToActionTypes","AdsChildAttachmentsUtils","AdsUnifiedCreativeAPIFieldMappingRecordUtils","AdsUnifiedCreativeAPIFieldMappings","AdsUnifiedCreativeAPIFields","ApiAdObjectTypes","immutable","adsGetMappingForUnrecognizedObjectType"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("AdsAdgroupChildAttachmentsFieldMappings").DYNAMIC_CAROUSEL_DYNAMIC_CARD_MAPPINGS,j=c("AdsAdgroupChildAttachmentsFieldMappings").DYNAMIC_CAROUSEL_STATIC_CARD_MAPPINGS,k=c("AdsAdgroupChildAttachmentsFieldMappings").DYNAMIC_AND_REALTIME_CAROUSEL_PLACE_CARD_MAPPINGS,l=c("AdsAdgroupChildAttachmentsFieldMappings").EMPTY_CAROUSEL_MAPPINGS,m=c("AdsAdgroupChildAttachmentsFieldMappings").STATIC_CAROUSEL_MAPPINGS,n=c("AdsUnifiedCreativeAPIFieldMappings").TEMPLATE_MAPPING,o=c("AdsUnifiedCreativeAPIFieldMappings").DOMAIN_MAPPING,p=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").callToAction,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").childAttachments,c("AdsUnifiedCreativeAPIFields").collectionThumbnails,c("AdsUnifiedCreativeAPIFields").displayURL,c("AdsUnifiedCreativeAPIFields").eventTourID,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").imageCrops,c("AdsUnifiedCreativeAPIFields").imageHash,c("AdsUnifiedCreativeAPIFields").imageURL,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkDescription,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").locationSourceID,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").multiShareEndCard,c("AdsUnifiedCreativeAPIFields").multiShareOptimized,c("AdsUnifiedCreativeAPIFields").offerID,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").postClickItemDescription,c("AdsUnifiedCreativeAPIFields").postClickItemHeadline,c("AdsUnifiedCreativeAPIFields").productSetID,c("AdsUnifiedCreativeAPIFields").pageWelcomeMessage,c("AdsUnifiedCreativeAPIFields").retailerItemIDs]),q=c("AdsUnifiedCreativeAPIFieldMappings").STATUS_MAPPING,r=c("AdsUnifiedCreativeAPIFieldMappingRecordUtils").selectKeys(c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING,[c("AdsUnifiedCreativeAPIFields").brandedContentSponsorPageID,c("AdsUnifiedCreativeAPIFields").brandedContentSponsorRelationship,c("AdsUnifiedCreativeAPIFields").brandedContentSharedToSponsorStatus,c("AdsUnifiedCreativeAPIFields").callToAction,c("AdsUnifiedCreativeAPIFields").callToActionType,c("AdsUnifiedCreativeAPIFields").callToActionValue,c("AdsUnifiedCreativeAPIFields").captionIDs,c("AdsUnifiedCreativeAPIFields").collectionThumbnails,c("AdsUnifiedCreativeAPIFields").displayURL,c("AdsUnifiedCreativeAPIFields").eventTourID,c("AdsUnifiedCreativeAPIFields").headline,c("AdsUnifiedCreativeAPIFields").instagramActorID,c("AdsUnifiedCreativeAPIFields").linkDescription,c("AdsUnifiedCreativeAPIFields").linkURL,c("AdsUnifiedCreativeAPIFields").locationSourceID,c("AdsUnifiedCreativeAPIFields").message,c("AdsUnifiedCreativeAPIFields").offerID,c("AdsUnifiedCreativeAPIFields").pageID,c("AdsUnifiedCreativeAPIFields").pageWelcomeMessage,c("AdsUnifiedCreativeAPIFields").postClickItemDescription,c("AdsUnifiedCreativeAPIFields").postClickItemHeadline,c("AdsUnifiedCreativeAPIFields").productSetID,c("AdsUnifiedCreativeAPIFields").retailerItemIDs,c("AdsUnifiedCreativeAPIFields").videoID,c("AdsUnifiedCreativeAPIFields").videoThumbnailURL]),s={convertImageToVideoSpec:function t(u,v){var w=c("AdsAPIAdgroupRecordUtils").getObjectType(u);switch(w){case c("ApiAdObjectTypes").DOMAIN:return c("AdsAdgroupPostTypeMutators").convertDomainPostToVideoPost(u,v);case c("ApiAdObjectTypes").SHARE:return c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").SHARE,c("ApiAdObjectTypes").VIDEO,u,v)}h(0)},convertVideoToImageSpec:function t(u,v){var w=c("AdsAPIAdgroupRecordUtils").getObjectType(u);w===c("ApiAdObjectTypes").VIDEO||h(0);var x=v?c("AdsAPIAdgroupRecordUtils").getObjectType(v):c("ApiAdObjectTypes").SHARE;switch(x){case c("ApiAdObjectTypes").DOMAIN:return c("AdsAdgroupPostTypeMutators").convertVideoPostToDomainPost(u,v);case c("ApiAdObjectTypes").SHARE:return c("AdsAdgroupPostTypeMutators").convertPostTypeInAdgroupRecord(c("ApiAdObjectTypes").VIDEO,c("ApiAdObjectTypes").SHARE,u,v,c("immutable").List([c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.CAPTION,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.LINK,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CALL_TO_ACTION.VALUE.LINK_FORMAT]))}h(0)},getDefaultCallToActionType:function t(u){return c("AdsCallToActionTypes").TYPES.LEARN_MORE.name},getUnifiedCreativeAPIFieldMapping:function t(u){__p&&__p();if(c("AdsAPIAdgroupRecordUtils").isExistingPostAd(u))return q;if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(u))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;var v=c("AdsAPIAdgroupRecordUtils").getObjectType(u);switch(v){case c("ApiAdObjectTypes").DOMAIN:return o;case c("ApiAdObjectTypes").SHARE:if(c("AdsAPIAdgroupRecordUtils").isTemplateCreative(u))return n;return p;case c("ApiAdObjectTypes").VIDEO:return r}return c("adsGetMappingForUnrecognizedObjectType")(this.pivots,v)},getChildAttachmentsFieldMapping:function t(u,v){if(!c("AdsChildAttachmentsUtils").hasChildAttachments(u))return l;if(c("AdsAPIAdgroupRecordUtils").isTemplateCreative(u))switch(v){case c("AdsAdgroupChildAttachmentTypes").STATIC:return j;case c("AdsAdgroupChildAttachmentTypes").DYNAMIC:return i;case c("AdsAdgroupChildAttachmentTypes").PLACE:return k;default:return l}return m}};f.exports=s}),null);
__d("AdsWhatsAppAdgroupSpecPathPluginCommon",["AdsAdgroupChildAttachmentsFieldMappings","AdsAPIAdgroupRecordUtils","AdsAssetFeedUtils","AdsCallToActionTypes","AdsChildAttachmentsUtils","AdsUnifiedCreativeAPIFieldMappings","AdsWebsiteAdgroupSpecPathPluginCommon","ApiAdObjectTypes","adsGetMappingForUnrecognizedObjectType"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsAdgroupChildAttachmentsFieldMappings").EMPTY_CAROUSEL_MAPPINGS,i=c("AdsAdgroupChildAttachmentsFieldMappings").STATIC_CAROUSEL_MAPPINGS,j=babelHelpers["extends"]({},c("AdsWebsiteAdgroupSpecPathPluginCommon"),{getDefaultCallToActionType:function k(l){return c("AdsCallToActionTypes").TYPES.WHATSAPP_MESSAGE.name},getUnifiedCreativeAPIFieldMapping:function k(l){if(c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(l))return c("AdsUnifiedCreativeAPIFieldMappings").ASSET_FEED_MAPPING;var m=c("AdsAPIAdgroupRecordUtils").getObjectType(l);switch(m){case c("ApiAdObjectTypes").SHARE:if(c("AdsAPIAdgroupRecordUtils").isTemplateCreative(l))return c("AdsUnifiedCreativeAPIFieldMappings").TEMPLATE_MAPPING;return c("AdsUnifiedCreativeAPIFieldMappings").LINK_MAPPING;case c("ApiAdObjectTypes").VIDEO:return c("AdsUnifiedCreativeAPIFieldMappings").VIDEO_MAPPING}return c("adsGetMappingForUnrecognizedObjectType")(this.pivots,m)},getChildAttachmentsFieldMapping:function k(l,m){if(!c("AdsChildAttachmentsUtils").hasChildAttachments(l))return h;return i}});f.exports=j}),null);
__d("AdsInstagramAccountBusinessBatchLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.BUSINESS.BATCH_LOADED");f.exports=h}),null);
__d("AdsInstagramAccountErrorRefreshAllErrorsDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AdsInstagramAccounts.ERROR.REFRESH_ALL_ERRORS");f.exports=h}),null);
__d("AdsPageInstagramAccountStore",["AdsBaseDataStore","AdsInstagramAccountErrorRefreshAllErrorsDataAction","AdsInstagramAccountPageBatchLoadedDataAction","AdsInstagramAccountPageBatchLoadErrorDataAction","AdsInstagramAccountPageClearAccountsDataAction","AdsInstagramAccountPageCreateAndUsePageBackedDataAction","AdsInstagramAccountPageCreatePageBackedErrorDataAction","AdsInstagramAccountPageCreatePageBackedSuccessDataAction","AdsInstagramAccountPageHandleLinkAccountErrorDataAction","AdsInstagramAccountPageHandleLinkAccountResponseDataAction","AdsInstagramAccountPageHandleUnlinkAccountErrorDataAction","AdsInstagramAccountPageHandleUnlinkAccountResponseDataAction","AdsInstagramAccountPageLinkAccountDataAction","AdsInstagramAccountPageUnlinkAccountDataAction","AdsLoadState_LEGACY","AdsPageInstagramAccountDataManager","InstagramAuthenticationErrorMessages"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("AdsBaseDataStore"));i=h&&h.prototype;function j(){i.constructor.call(this);this.$AdsPageInstagramAccountStore1={};this.$AdsPageInstagramAccountStore2={};this.$AdsPageInstagramAccountStore3={}}j.prototype.getDataManager=function(){return c("AdsPageInstagramAccountDataManager")};j.prototype.__onDispatch=function(k){__p&&__p();var l=k.action;switch(l.type){case c("AdsInstagramAccountPageBatchLoadedDataAction").actionType:this.__handleData(l.specs,c("AdsLoadState_LEGACY").LOADED);break;case c("AdsInstagramAccountPageBatchLoadErrorDataAction").actionType:this.__handleData(l.errors,c("AdsLoadState_LEGACY").ERROR);break;case c("AdsInstagramAccountPageClearAccountsDataAction").actionType:this.__invalidate(l.data.pageID);break;case c("AdsInstagramAccountPageCreateAndUsePageBackedDataAction").actionType:this.$AdsPageInstagramAccountStore4(l.data.campaignID,l.data.adgroupIDs,l.data.pageID,l.data.accessToken,l.data.instagramAccountIDCallback,l.source);break;case c("AdsInstagramAccountPageCreatePageBackedErrorDataAction").actionType:this.$AdsPageInstagramAccountStore5(l.data.pageID);break;case c("AdsInstagramAccountPageCreatePageBackedSuccessDataAction").actionType:this.$AdsPageInstagramAccountStore6(l.data);break;case c("AdsInstagramAccountErrorRefreshAllErrorsDataAction").actionType:if(this.__invalidateAllErrors())this.__emitChange();break;case c("AdsInstagramAccountPageLinkAccountDataAction").actionType:this.$AdsPageInstagramAccountStore7(l.data.pageID,l.data.username,l.data.password);break;case c("AdsInstagramAccountPageUnlinkAccountDataAction").actionType:this.$AdsPageInstagramAccountStore8(l.data.pageID,l.data.instagramAccountID);break;case c("AdsInstagramAccountPageHandleLinkAccountErrorDataAction").actionType:case c("AdsInstagramAccountPageHandleUnlinkAccountErrorDataAction").actionType:this.$AdsPageInstagramAccountStore9(l.data.pageID);break;case c("AdsInstagramAccountPageHandleLinkAccountResponseDataAction").actionType:this.$AdsPageInstagramAccountStore10(l.data.pageID,l.data.instagramAccountID,l.data.errorMessages,l.data.errorCode);break;case c("AdsInstagramAccountPageHandleUnlinkAccountResponseDataAction").actionType:this.$AdsPageInstagramAccountStore11(l.data.pageID,l.data.error,l.data.success);break}};j.prototype.getPageBackedAccountCreateState=function(k){return this.$AdsPageInstagramAccountStore1[k]?this.$AdsPageInstagramAccountStore1[k]:c("AdsLoadState_LEGACY").LOADED};j.prototype.getPageLinkOrUnlinkAccountErrors=function(k){return this.$AdsPageInstagramAccountStore2[k]?this.$AdsPageInstagramAccountStore2[k]:[]};j.prototype.getPageLinkOrUnlinkState=function(k){return this.$AdsPageInstagramAccountStore3[k]?this.$AdsPageInstagramAccountStore3[k]:c("AdsLoadState_LEGACY").LOADED};j.prototype.$AdsPageInstagramAccountStore4=function(k,l,m,n,o,p){if(this.$AdsPageInstagramAccountStore1[m]===c("AdsLoadState_LEGACY").LOADING)return;this.$AdsPageInstagramAccountStore1[m]=c("AdsLoadState_LEGACY").LOADING;this.__emitChange();c("AdsPageInstagramAccountDataManager").createAndUsePageBackedAccount(k,l,m,n,p,o)};j.prototype.$AdsPageInstagramAccountStore6=function(k){if(k.instagramAccountIDCallback)k.instagramAccountIDCallback(k.instagramAccountID);this.$AdsPageInstagramAccountStore1[k.pageID]=c("AdsLoadState_LEGACY").LOADED;this.__invalidate(k.pageID)};j.prototype.$AdsPageInstagramAccountStore5=function(k){this.$AdsPageInstagramAccountStore1[k]=c("AdsLoadState_LEGACY").ERROR;this.__emitChange()};j.prototype.$AdsPageInstagramAccountStore7=function(k,l,m){this.$AdsPageInstagramAccountStore2[k]=[];this.$AdsPageInstagramAccountStore3[k]=c("AdsLoadState_LEGACY").LOADING;c("AdsPageInstagramAccountDataManager").linkInstagramAccount(k,l,m);this.__emitChange()};j.prototype.$AdsPageInstagramAccountStore8=function(k,l){this.$AdsPageInstagramAccountStore2[k]=[];this.$AdsPageInstagramAccountStore3[k]=c("AdsLoadState_LEGACY").LOADING;c("AdsPageInstagramAccountDataManager").unlinkInstagramAccount(k,l);this.__emitChange()};j.prototype.$AdsPageInstagramAccountStore10=function(k,l,m,n){__p&&__p();this.$AdsPageInstagramAccountStore3[k]=c("AdsLoadState_LEGACY").LOADED;if(!l){var o=m||[];if(n)o.push(c("InstagramAuthenticationErrorMessages").getMessage(n));if(o.length===0)o.push(c("InstagramAuthenticationErrorMessages").getMessage());this.$AdsPageInstagramAccountStore2[k]=o;this.__emitChange();return}this.__invalidate(k);this.__emitChange()};j.prototype.$AdsPageInstagramAccountStore11=function(k,l,m){this.$AdsPageInstagramAccountStore3[k]=c("AdsLoadState_LEGACY").LOADED;if(l||!m){this.$AdsPageInstagramAccountStore2[k]=[c("InstagramAuthenticationErrorMessages").getMessage(l)];this.__emitChange();return}this.__invalidate(k);this.__emitChange()};j.prototype.$AdsPageInstagramAccountStore9=function(k){this.$AdsPageInstagramAccountStore3[k]=c("AdsLoadState_LEGACY").LOADED;var l=c("InstagramAuthenticationErrorMessages").getMessage();this.$AdsPageInstagramAccountStore2[k]=[l];this.__emitChange()};f.exports=new j()}),null);
__d("AdsBaseConnectionObjectListStore",["AdsAPIConnectionObjectFields","AdsBaseListStore","AdsConnectionObjectListBatchLoadedDataAction","AdsConnectionObjectListBatchLoadErrorDataAction","AdsConnectionObjectListDataManager","AdsConnectionObjectListGroupBatchErrorDataAction","AdsConnectionObjectListGroupBatchLoadedDataAction","AdsConnectionObjectListPartialLoadDataAction","AdsLoadState_LEGACY","abstractMethod"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("AdsBaseListStore"));i=h&&h.prototype;j.prototype.getDataManager=function(){return c("AdsConnectionObjectListDataManager")};j.prototype.getSortKey=function(){return c("AdsAPIConnectionObjectFields").NAME};j.prototype.__onDispatch=function(k){__p&&__p();var l=k.action;switch(l.actionType){case c("AdsConnectionObjectListBatchLoadedDataAction").actionType:this.__handleDataFor(l.accountID,this.$AdsBaseConnectionObjectListStore1(l.connectionObjects),c("AdsLoadState_LEGACY").LOADED);break;case c("AdsConnectionObjectListGroupBatchLoadedDataAction").actionType:l.responses.forEach(function(m,n){this.__handleDataFor(n,this.$AdsBaseConnectionObjectListStore1(m.data),c("AdsLoadState_LEGACY").LOADED)}.bind(this));break;case c("AdsConnectionObjectListGroupBatchErrorDataAction").actionType:l.responses.forEach(function(m,n){this.__handleDataFor(n,null,c("AdsLoadState_LEGACY").ERROR)}.bind(this));break;case c("AdsConnectionObjectListPartialLoadDataAction").actionType:this.__handleDataFor(l.accountID,this.$AdsBaseConnectionObjectListStore1(l.connectionObjects),c("AdsLoadState_LEGACY").LOADING);break;case c("AdsConnectionObjectListBatchLoadErrorDataAction").actionType:this.__handleDataFor(l.accountID,null,c("AdsLoadState_LEGACY").ERROR);break}};j.prototype.$AdsBaseConnectionObjectListStore1=function(k){return k.filter(this.__filterConnectionObject)};j.prototype.__filterConnectionObject=function(k){return c("abstractMethod")("AdsBaseConnectionObjectListStore","__filterConnectionObject")};function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("AdsAssetSectionType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({BOOKMARKED:"BOOKMARKED",OWNED:"OWNED",SEARCH:"SEARCH",UNOWNED:"UNOWNED"})}),null);
__d("AdsPageSelectorBookmarkDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.SELECTOR.BOOKMARK");f.exports=h}),null);
__d("AdsPageSelectorChangeDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.SELECTOR.CHANGE");f.exports=h}),null);
__d("AdsPageSelectorRemoveDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.SELECTOR.REMOVE");f.exports=h}),null);
__d("AdsPageSelectorSearchDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PAGE.SELECTOR.SEARCH");f.exports=h}),null);
__d("AdsPageSelectorStore",["AdsAssetSectionType","AdsDataAtom","AdsPageListBatchLoadedDataAction","AdsPageSelectorBookmarkDataAction","AdsPageSelectorChangeDataAction","AdsPageSelectorInitDataAction","AdsPageSelectorRemoveDataAction","AdsPageSelectorSearchDataAction","ApiPageFields","DefaultSettingsValues","FluxStore","adsBaseStoreMixin_DEPRECATED","removeFromArray"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("FluxStore"));i=h&&h.prototype;function j(){i.constructor.call(this,c("AdsDataAtom"));c("adsBaseStoreMixin_DEPRECATED")(this);this.$AdsPageSelectorStoreClass4="";this.$AdsPageSelectorStoreClass5="";this.$AdsPageSelectorStoreClass2="";this.$AdsPageSelectorStoreClass1=[];this.$AdsPageSelectorStoreClass6=[]}j.prototype.__onDispatch=function(l){__p&&__p();var m=l.action;switch(m.actionType){case c("AdsPageListBatchLoadedDataAction").actionType:this.$AdsPageSelectorStoreClass7(m.pages);break;case c("AdsPageSelectorChangeDataAction").actionType:this.$AdsPageSelectorStoreClass8(m.pageID,m.businessID,m.sectionType);break;case c("AdsPageSelectorBookmarkDataAction").actionType:this.$AdsPageSelectorStoreClass9(m.pageID);break;case c("AdsPageSelectorSearchDataAction").actionType:this.$AdsPageSelectorStoreClass10(m.searchQuery);break;case c("AdsPageSelectorRemoveDataAction").actionType:this.$AdsPageSelectorStoreClass11(m.pageID,m.sectionType);break;case c("AdsPageSelectorInitDataAction").actionType:this.$AdsPageSelectorStoreClass12(m.pageID,m.businessID,m.section,m.bookmarkedPageIDs||[],m.unownedPageIDs||[]);break}};j.prototype.getSelectedPageID=function(){return this.$AdsPageSelectorStoreClass4};j.prototype.getSelectedBusinessID=function(){return this.$AdsPageSelectorStoreClass3};j.prototype.getSelectedSectionType=function(){return this.$AdsPageSelectorStoreClass5};j.prototype.getSearchQuery=function(){return this.$AdsPageSelectorStoreClass2};j.prototype.getUnownedPageIDs=function(){return this.$AdsPageSelectorStoreClass6};j.prototype.getBookmarkedPageIDs=function(){return this.$AdsPageSelectorStoreClass1};j.prototype.$AdsPageSelectorStoreClass8=function(l,m,n){__p&&__p();this.$AdsPageSelectorStoreClass4=l;this.$AdsPageSelectorStoreClass3=m;this.$AdsPageSelectorStoreClass5=n;if(n===c("AdsAssetSectionType").SEARCH){this.$AdsPageSelectorStoreClass2="";this.$AdsPageSelectorStoreClass5=c("AdsAssetSectionType").UNOWNED;if(!this.$AdsPageSelectorStoreClass6.includes(l))this.$AdsPageSelectorStoreClass6.push(l)}this.__emitChange()};j.prototype.$AdsPageSelectorStoreClass9=function(l){if(!this.$AdsPageSelectorStoreClass1.includes(l)){this.$AdsPageSelectorStoreClass1.push(l);this.__emitChange()}};j.prototype.$AdsPageSelectorStoreClass10=function(l){this.$AdsPageSelectorStoreClass2=l;this.__emitChange()};j.prototype.$AdsPageSelectorStoreClass7=function(l){if(!this.$AdsPageSelectorStoreClass4&&l.length>0){var m=l[0];this.$AdsPageSelectorStoreClass4=m.id;var n=m[c("ApiPageFields").BUSINESS];if(n&&n.id)this.$AdsPageSelectorStoreClass3=n.id;this.$AdsPageSelectorStoreClass5=c("AdsAssetSectionType").OWNED;this.__emitChange()}};j.prototype.$AdsPageSelectorStoreClass11=function(l,m){__p&&__p();switch(m){case c("AdsAssetSectionType").BOOKMARKED:c("removeFromArray")(this.$AdsPageSelectorStoreClass1,l);if(l===this.$AdsPageSelectorStoreClass4&&this.$AdsPageSelectorStoreClass5===c("AdsAssetSectionType").BOOKMARKED)this.$AdsPageSelectorStoreClass13();break;case c("AdsAssetSectionType").UNOWNED:c("removeFromArray")(this.$AdsPageSelectorStoreClass6,l);if(l===this.$AdsPageSelectorStoreClass4)this.$AdsPageSelectorStoreClass13();break}this.__emitChange()};j.prototype.$AdsPageSelectorStoreClass13=function(){this.$AdsPageSelectorStoreClass4="";this.$AdsPageSelectorStoreClass3=null;this.$AdsPageSelectorStoreClass5=""};j.prototype.$AdsPageSelectorStoreClass12=function(l,m,n,o,p){this.$AdsPageSelectorStoreClass4=l||"";this.$AdsPageSelectorStoreClass3=m;this.$AdsPageSelectorStoreClass5=n||c("DefaultSettingsValues").ASSET_SECTION_TYPE;this.$AdsPageSelectorStoreClass1=o;this.$AdsPageSelectorStoreClass6=p;this.__emitChange()};var k=new j();f.exports=k}),null);
__d("AdsPromotablePageListStore",["AdsBaseConnectionObjectListStore","AdsConnectionObjectUtils","AdsDataAtom","AdsEditorConfig","AdsLoadState_LEGACY","AdsPageSelectorStore","AdsPromotablePageListBatchLoadedDataAction","AdsPromotablePageListBatchLoadErrorDataAction","AdsPromotablePageListDataManager","AdsPromotablePageListLoadedDataAction","AdsPromotablePageListLoadErrorDataAction","AdsPromotablePageListPartialLoadDataAction","CurrentUser"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("AdsBaseConnectionObjectListStore"));i=h&&h.prototype;j.prototype.getDataManager=function(){return c("AdsPromotablePageListDataManager")};j.prototype.__filterConnectionObject=function(l){return c("AdsConnectionObjectUtils").isPage(l)};j.prototype.__onDispatch=function(l){__p&&__p();if(c("AdsEditorConfig").empl_show_all_pages)i.__onDispatch.call(this,l);var m=l.action;switch(m.actionType){case c("AdsPromotablePageListLoadedDataAction").actionType:this.__handleDataFor(m.accountID,m.promotablePages,c("AdsLoadState_LEGACY").LOADED);break;case c("AdsPromotablePageListBatchLoadedDataAction").actionType:m.responses.forEach(function(n,o){this.__handleDataFor(o,n.data,c("AdsLoadState_LEGACY").LOADED)}.bind(this));break;case c("AdsPromotablePageListPartialLoadDataAction").actionType:this.__handleDataFor(m.accountID,m.promotablePages,c("AdsLoadState_LEGACY").LOADING);break;case c("AdsPromotablePageListLoadErrorDataAction").actionType:this.__handleDataFor(m.accountID,null,c("AdsLoadState_LEGACY").ERROR);break;case c("AdsPromotablePageListBatchLoadErrorDataAction").actionType:m.responses.forEach(function(n,o){this.__handleDataFor(o,null,c("AdsLoadState_LEGACY").ERROR)}.bind(this));break}c("AdsDataAtom").waitFor([c("AdsPageSelectorStore").getDispatchToken()]);if(c("AdsPageSelectorStore").hasChanged())this.__emitChange()};j.prototype.getFor=function(l){var m=i.getFor.call(this,l);if(!c("CurrentUser").isEmployee())return m;return{list:m.list.concat(c("AdsPageSelectorStore").getUnownedPageIDs()),loadState:m.loadState}};function j(){h.apply(this,arguments)}var k=new j();f.exports=k}),null);
__d("AdsWhatsAppConnectAccountDialogVerifyCodeSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"WhatsAppConnectAccountDialog.VERIFY_CODE_SUCCESS");f.exports=h}),null);
__d("AdsPageStore",["AdsBaseDataStore","AdsCachedLoadState_LEGACY","AdsLoadState_LEGACY","AdsLoadStateUtils_LEGACY","AdsPageBatchLoadedDataAction","AdsPageBatchLoadErrorDataAction","AdsPageCreateErrorDataAction","AdsPageCreateForAppDataAction","AdsPageCreateSuccessDataAction","AdsPageDataManager","AdsPageLeadgenFormErrorDataAction","AdsPageLeadgenFormLoadedDataAction","AdsPageSetPageLocationDataAction","AdsPageSignLeadgenTosDataAction","AdsPageSignLeadgenTosErrorDataAction","AdsPageSignLeadgenTosSuccessDataAction","AdsPromotablePageListStore","AdsWhatsAppConnectAccountDialogVerifyCodeSuccessDataAction","Cache","LoadObject","Map","URI","getObjectValues","isFacebookURI","isValidID","isValidVanityURI"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("AdsBaseDataStore"));i=h&&h.prototype;function j(){i.constructor.call(this);this.$AdsPageStore1=new(c("Cache"))();this.$AdsPageStore2=new(c("Map"))();this.$AdsPageStore3=false;this.$AdsPageStore4="";this.$AdsPageStore5=new(c("Cache"))()}j.prototype.getDataManager=function(){return c("AdsPageDataManager")};j.prototype.getAll=function(l){__p&&__p();var m=[],n=[],o=new(c("Map"))();l.forEach(function(q){if(c("isValidID")(q)||c("isValidVanityURI")(q))m.push(q);else{var r=new(c("URI"))(q),s=void 0;if(c("isFacebookURI")(r)&&(s=k(r.getPath()))){m.push(s);o.set(q,s)}else n.push(q)}});var p=i.getAll.call(this,m);n.forEach(function(q){return p.set(q,c("AdsCachedLoadState_LEGACY").ERROR)});o.forEach(function(q,r){return p.set(r,p.get(q))});return p};j.prototype.__onDispatch=function(l){__p&&__p();var m=l.action;switch(m.type){case c("AdsPageBatchLoadedDataAction").actionType:this.__handleData(this.$AdsPageStore6(m.pages),c("AdsLoadState_LEGACY").LOADED);break;case c("AdsPageBatchLoadErrorDataAction").actionType:this.__handleData(m.errors,c("AdsLoadState_LEGACY").ERROR);break;case c("AdsPageCreateForAppDataAction").actionType:this.$AdsPageStore7(m.accountID,m.adIDs,m.app);break;case c("AdsPageCreateErrorDataAction").actionType:this.$AdsPageStore8(m.error);break;case c("AdsPageCreateSuccessDataAction").actionType:this.$AdsPageStore9(m.pageID,m.appID);break;case c("AdsPageLeadgenFormErrorDataAction").actionType:this.$AdsPageStore10(m.error);break;case c("AdsPageLeadgenFormLoadedDataAction").actionType:this.$AdsPageStore11(m.pageID,m.pageLeadGenForms);break;case c("AdsPageSetPageLocationDataAction").actionType:this.$AdsPageStore12(m.pageID,m.location);break;case c("AdsPageSignLeadgenTosDataAction").actionType:this.$AdsPageStore13(m.pageID);break;case c("AdsPageSignLeadgenTosErrorDataAction").actionType:this.$AdsPageStore14(m.pageID);break;case c("AdsPageSignLeadgenTosSuccessDataAction").actionType:this.$AdsPageStore15(m.pageID);break;case c("AdsWhatsAppConnectAccountDialogVerifyCodeSuccessDataAction").actionType:this.$AdsPageStore16(m.pageID);break}};j.prototype.getPageForApp=function(l,m){__p&&__p();var n=this.$AdsPageStore1.get(m.id);if(n)return this.get(n);var o=c("getObjectValues")(m.object_store_urls||{});if(m.url)o.push(m.url);var p=c("AdsPromotablePageListStore").getFor(l).list,q=this.getAll(p);for(var r=0;r<p.length;r++){var s=q.get(p[r]);if(!s)continue;var t=o.indexOf(s.website)>=0;if(t||s.name===m.name){this.$AdsPageStore1.set(m.id,s.id);return s}}return null};j.prototype.getPageForAppLoadObject=function(l,m,n){__p&&__p();var o=this.$AdsPageStore1.get(m.id);if(o){var p=this.get(o);return c("AdsLoadStateUtils_LEGACY").toLoadObject(p)}var q=this.getAll(n);if(!c("AdsLoadStateUtils_LEGACY").anyLoading(q)){p=this.getPageForApp(l,m);return p?c("AdsLoadStateUtils_LEGACY").toLoadObject(p):c("LoadObject").empty().setValue(null)}else return c("LoadObject").loading()};j.prototype.getPageCreationError=function(){return this.$AdsPageStore4};j.prototype.getPageLocationFromPageID=function(l){return this.$AdsPageStore5.get(l)};j.prototype.hasLeadGenForm=function(l){if(this.$AdsPageStore2.get(l))return this.$AdsPageStore2.get(l)||c("LoadObject").loading();c("AdsPageDataManager").loadLeadGenForm(l);return c("LoadObject").loading()};j.prototype.isCreatingPage=function(){return this.$AdsPageStore3};j.prototype.$AdsPageStore7=function(l,m,n){this.$AdsPageStore3=true;this.__emitChange();c("AdsPageDataManager").createPageForApp(l,m,n)};j.prototype.$AdsPageStore8=function(l){this.$AdsPageStore3=false;this.$AdsPageStore4=l.message||l.toString();this.__emitChange()};j.prototype.$AdsPageStore9=function(l,m){this.$AdsPageStore1.set(m,l);this.$AdsPageStore3=false;this.$AdsPageStore4="";this.__emitChange()};j.prototype.$AdsPageStore6=function(l){var m=new(c("Map"))();l.forEach(function(n,o){m.set(o,n);if(n.id!==o)m.set(n.id,n)});return m};j.prototype.$AdsPageStore10=function(l){this.$AdsPageStore4=l.message||l.toString();this.__emitChange()};j.prototype.$AdsPageStore11=function(l,m){this.__invalidate(l);this.$AdsPageStore2.set(l,c("LoadObject").empty().setValue(m.length===1));this.__emitChange()};j.prototype.$AdsPageStore12=function(l,m){this.$AdsPageStore5.set(l,m);this.__emitChange()};j.prototype.$AdsPageStore13=function(l){this.$AdsPageStore3=false;c("AdsPageDataManager").signLeadGenTOS(l)};j.prototype.$AdsPageStore14=function(l){this.$AdsPageStore3=false;this.$AdsPageStore4=l.message||l.toString();this.__emitChange()};j.prototype.$AdsPageStore15=function(l){this.__invalidate(l);this.$AdsPageStore3=false;this.__emitChange()};j.prototype.$AdsPageStore16=function(l){this.__invalidate(l);this.__emitChange();c("AdsPageDataManager").load(l)};function k(l){var m=l.split(/[/?]/)[1];if(m&&c("isValidVanityURI")(m))return m;else return null}f.exports=new j()}),null);
__d("AdsUEditorCampaignAdObjectsUtils",["AdsAudienceDirectConfig","AdsCampaignUtils","AdsUEditorCampaignGroupAdObjectsUtils"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsUEditorCampaignGroupAdObjectsUtils").getObjective;function i(l){var m=h(l);return{accountType:c("AdsAudienceDirectConfig").accountType,objective:m,promotedObjectType:k(l,m)}}function j(l){return c("AdsCampaignUtils").getOfferStateType(l.campaign)}function k(l){var m=arguments.length<=1||arguments[1]===undefined?h(l):arguments[1];return c("AdsCampaignUtils").getPromotedObjectType(m,l.campaign)}f.exports={getCommonPivots:i,getOfferStateType:j,getPromotedObjectType:k}}),null);
__d("AdsUEditorAdgroupSpecPathPluginAdObjectsUtils",["AdsAdgroupSpecPathPluginResolver","AdsUEditorCampaignAdObjectsUtils"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsUEditorCampaignAdObjectsUtils").getCommonPivots;function i(k){return c("AdsAdgroupSpecPathPluginResolver").resolve(j(k))}function j(k){return h(k)}f.exports={getAdgroupSpecPathPlugin:i,getAdgroupSpecPathPluginPivots:j}}),null);
__d("AdsLegacyObjectivesUtils",["AdsAPIObjectives","AdsCampaignUtils","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(j,k,l){if(!k||k===c("AdsPromotedObjectTypes").NONE)k=c("AdsCampaignUtils").getDefaultPromotedObjectType(j);if(j===c("AdsAPIObjectives").CONVERSIONS||j===c("AdsAPIObjectives").LINK_CLICKS)if(k===c("AdsPromotedObjectTypes").CANVAS_APP)return c("AdsAPIObjectives").CANVAS_APP_ENGAGEMENT;else if(k===c("AdsPromotedObjectTypes").MOBILE_APP)return c("AdsAPIObjectives").MOBILE_APP_ENGAGEMENT;return j}var i={convertToLegacyAppObjectives_HACK:function j(k,l,m){k=this.convertToLegacyAppInstallsObjectives_HACK(k,l);return h(k,l,m)},convertToLegacyAppInstallsObjectives_HACK:function j(k,l){if(!l||l===c("AdsPromotedObjectTypes").NONE)l=c("AdsCampaignUtils").getDefaultPromotedObjectType(k);if(k===c("AdsAPIObjectives").APP_INSTALLS)if(l===c("AdsPromotedObjectTypes").MOBILE_APP)return c("AdsAPIObjectives").MOBILE_APP_INSTALLS;else if(l===c("AdsPromotedObjectTypes").CANVAS_APP)return c("AdsAPIObjectives").CANVAS_APP_INSTALLS;return k}};f.exports=i}),null);
__d("NonURLLinkCTATypes",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({GET_DIRECTIONS:"GET_DIRECTIONS",CALL:"CALL",MISSED_CALL:"MISSED_CALL",CALL_NOW:"CALL_NOW",CALL_ME:"CALL_ME",WHATSAPP_MESSAGE:"WHATSAPP_MESSAGE",MESSAGE_PAGE:"MESSAGE_PAGE",SAVE:"SAVE",GET_OFFER_VIEW:"GET_OFFER_VIEW",GET_OFFER:"GET_OFFER"})}),null);
__d("AdsCallToActionUtils",["fbt","invariant","AdsAdgroupSpecUtils","AdsAPIAdAssetFeedLinkURLsFields","AdsAPIAdgroupPaths","AdsAPIAdgroupRecordUtils","AdsAPICampaignGroupPaths","AdsAPIObjectives","AdsAPIPublisherPlatform","AdsAppUtils","AdsAssetFeedFieldUtils","AdsAssetFeedUtils","AdsBrandAwarenessUtils","AdsBulkValueUtils","AdsCallToActionTypes","AdsCampaignUtils","AdsDynamicAdVoices","AdsGetDirectionsActionLink","AdsLegacyObjectivesUtils","AdsLocalUtils","AdsOfferState","AdsPageFields","AdsPlacementAPISpecReaderUtils","AdsPromotedObjectTypes","AdsStrings","AdsUEditorAdgroupSpecPathPluginAdObjectsUtils","AdsUEditorCampaignAdObjectsUtils","AdsUEditorCampaignGroupAdObjectsUtils","AdsUnifiedCreativeAPIFields","AdsWebsiteAdUtils","ApiAdObjectTypes","ApiPageFields","GeoCoordinates","GeoPlace","immutable","NonURLLinkCTATypes","Set","StrSet","getObjectValues"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j=c("AdsPlacementAPISpecReaderUtils").convertCampaignRecordToPlacementSpec,k=c("AdsPlacementAPISpecReaderUtils").isActivePublisherPlatform,l="fbgeo://",m="tel:",n=c("AdsCallToActionTypes").TYPES.NO_BUTTON.name,o=Object.keys(c("NonURLLinkCTATypes"));function p(){__p&&__p();var u,v={},w=function w(){if(!Object.prototype.hasOwnProperty.call(c("AdsCallToActionTypes").TYPES,x))return"continue";var z=c("AdsCallToActionTypes").TYPES[x],A=z.objectives;A.forEach(function(y){if(!v[y])v[y]=[];v[y].push(z)})};for(var x in c("AdsCallToActionTypes").TYPES){var u=w();if(u==="continue")continue}for(var y in v)if(Object.prototype.hasOwnProperty.call(v,y))v[y].sort(function(z,A){return z.name.localeCompare(A.name)});return v}var q=p(),r=c("immutable").Set([c("AdsCallToActionTypes").TYPES.CALL_NOW.name,c("AdsCallToActionTypes").TYPES.GET_DIRECTIONS.name,c("AdsCallToActionTypes").TYPES.LEARN_MORE.name]);function s(u,v){return c("AdsAssetFeedFieldUtils").firstAsset_TALK_WITH_ACE_BEFORE_USE(c("AdsUnifiedCreativeAPIFields").linkURL.getValue(u,v),c("AdsAPIAdAssetFeedLinkURLsFields").WEBSITE_URL)}var t={getFBGEOUrlPrefix:function u(){return l},isNullOptionSelectable:function u(v){var w=v.adgroup,x=c("AdsUEditorAdgroupSpecPathPluginAdObjectsUtils").getAdgroupSpecPathPlugin(v),y=c("AdsUEditorCampaignGroupAdObjectsUtils").getObjective(v),z=w.getIn(c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE),A=s(w,x),B=A&&c("AdsAppUtils").isCanvasLink(A),C=c("AdsUEditorCampaignAdObjectsUtils").getPromotedObjectType(v,y),D=c("AdsAssetFeedUtils").isAdgroupUsingAssetFeedFromRecord(w);return!B&&!D&&(c("AdsBrandAwarenessUtils").isBrandObjective(y)&&z!==c("ApiAdObjectTypes").VIDEO||y===c("AdsAPIObjectives").LOCAL_AWARENESS&&z!==c("ApiAdObjectTypes").VIDEO||y===c("AdsAPIObjectives").STORE_VISITS&&z!==c("ApiAdObjectTypes").VIDEO||y===c("AdsAPIObjectives").PRODUCT_CATALOG_SALES||c("AdsWebsiteAdUtils").isWebsiteObjective(y)&&z!==c("ApiAdObjectTypes").VIDEO||y===c("AdsAPIObjectives").POST_ENGAGEMENT)&&C!==c("AdsPromotedObjectTypes").MESSENGER&&C!==c("AdsPromotedObjectTypes").MOBILE_APP&&C!==c("AdsPromotedObjectTypes").CANVAS_APP},isNullOptionSelectableForAdgroups:function u(v){var w=arguments.length<=1||arguments[1]===undefined?false:arguments[1];return!w&&v.every(function(x){return t.isNullOptionSelectable(x)})},getCTALabel:function u(v){__p&&__p();if(!v)return null;var w=c("AdsBulkValueUtils").getValue(v);if(w===n||!w)return null;if(w===c("AdsBulkValueUtils").MIXED_VALUE)return h._("Mixed");var x=c("getObjectValues")(c("AdsCallToActionTypes").TYPES),y=x.filter(function(z){return z.name===w});y.length||i(0);return y[0].text},getDefaultCallToActionType:function u(v,w){__p&&__p();var x=void 0;switch(v){case c("AdsAPIObjectives").APP_INSTALLS:if(w===c("AdsPromotedObjectTypes").CANVAS_APP)x=c("AdsCallToActionTypes").TYPES.PLAY_GAME.name;else if(w===c("AdsPromotedObjectTypes").MOBILE_APP)x=c("AdsCallToActionTypes").TYPES.INSTALL_MOBILE_APP.name;break;case c("AdsAPIObjectives").CONVERSIONS:case c("AdsAPIObjectives").LINK_CLICKS:if(w===c("AdsPromotedObjectTypes").CANVAS_APP)x=c("AdsCallToActionTypes").TYPES.USE_APP.name;else if(w===c("AdsPromotedObjectTypes").MOBILE_APP)x=c("AdsCallToActionTypes").TYPES.USE_MOBILE_APP.name;else if(w===c("AdsPromotedObjectTypes").MESSENGER)x=c("AdsCallToActionTypes").TYPES.MESSAGE_PAGE.name;break;case c("AdsAPIObjectives").CANVAS_APP_ENGAGEMENT:case c("AdsAPIObjectives").CANVAS_APP_INSTALLS:x=c("AdsCallToActionTypes").TYPES.PLAY_GAME.name;break;case c("AdsAPIObjectives").LEAD_GENERATION:x=c("AdsCallToActionTypes").TYPES.SIGN_UP.name;break;case c("AdsAPIObjectives").MOBILE_APP_ENGAGEMENT:x=c("AdsCallToActionTypes").TYPES.USE_MOBILE_APP.name;break;case c("AdsAPIObjectives").MOBILE_APP_INSTALLS:x=c("AdsCallToActionTypes").TYPES.INSTALL_MOBILE_APP.name;break;case c("AdsAPIObjectives").BRAND_AWARENESS:case c("AdsAPIObjectives").REACH:case c("AdsAPIObjectives").VIDEO_VIEWS:x=c("AdsCallToActionTypes").TYPES.LEARN_MORE.name;break;case c("AdsAPIObjectives").LOCAL_AWARENESS:case c("AdsAPIObjectives").STORE_VISITS:x=c("AdsCallToActionTypes").TYPES.GET_DIRECTIONS.name;break;case c("AdsAPIObjectives").OFFER_CLAIMS:x=c("AdsCallToActionTypes").TYPES.GET_OFFER_VIEW.name;break;case c("AdsAPIObjectives").MESSAGES:x=c("AdsCallToActionTypes").TYPES.MESSAGE_PAGE.name;if(w===c("AdsPromotedObjectTypes").WHATSAPP)x=c("AdsCallToActionTypes").TYPES.WHATSAPP_MESSAGE.name;break}return x},getTypesForAdgroup:function u(v,w){__p&&__p();var x=v.adgroup,y=v.campaign,z=c("AdsUEditorAdgroupSpecPathPluginAdObjectsUtils").getAdgroupSpecPathPlugin(v),A=c("AdsUEditorCampaignGroupAdObjectsUtils").getObjective(v),B=c("AdsUEditorCampaignAdObjectsUtils").getPromotedObjectType(v),C=s(x,z),D=t.typesForObjective(A,B,w,C);D=t.filterTypesByAdgroupMediaFormat(D,A,x);if(A===c("AdsAPIObjectives").MESSAGES)D=t.filterTypesForMessagesObjective(D,B);D=t.filterTypesIfAssetFeedAd(x,D);var E=x.getIn(c("AdsAPIAdgroupPaths").CREATIVE.DYNAMIC_AD_VOICE);D=t.filterTypesByDynamicAdVoice(D,[A],[E]);var F=c("AdsCampaignUtils").getOfferStateType(y)===c("AdsOfferState").HAS_OFFER;D=t.filterTypesByOfferSupport(D,[A],[F]);return D},getTypesForAdgroups:function u(v,w){if(!v.length)return[];var x=c("immutable").Set(t.getTypesForAdgroup(v[0],w));return x.withMutations(function(y){for(var z=1,A=v.length;z<A&&y.size;z++)y=y.intersect(t.getTypesForAdgroup(v[z],w));return y}).toArray()},typesForObjective:function u(v,w,x,y){if(!v)return[];v=c("AdsLegacyObjectivesUtils").convertToLegacyAppObjectives_HACK(v,w,y);var z=q[v]?q[v].slice(0):[];return z},filterTypesByOfferSupport:function u(v,w,x){w.forEach(function(y,z){switch(y){case c("AdsAPIObjectives").STORE_VISITS:if(!x[z])v=v.filter(function(A){return A!==c("AdsCallToActionTypes").TYPES.GET_OFFER_VIEW});break}});return v},filterTypesIfAssetFeedAd:function u(v,w){if(c("AdsAssetFeedUtils").isSpecUsingAssetFeed(v))w=w.filter(function(x){return x&&x.name&&!o.includes(x.name)});return w},filterTypesByDynamicAdVoice:function u(v,w,x){var y=new(c("Set"))([c("AdsCallToActionTypes").TYPES.MESSAGE_PAGE]);w.forEach(function(z,A){switch(z){case c("AdsAPIObjectives").LOCAL_AWARENESS:case c("AdsAPIObjectives").STORE_VISITS:if(x[A]===c("AdsDynamicAdVoices").DYNAMIC)v=v.filter(function(B){return!y.has(B)});break}});return v},filterTypesByAdgroupMediaFormat:function u(v,w,x){if((w===c("AdsAPIObjectives").LOCAL_AWARENESS||w===c("AdsAPIObjectives").REACH)&&c("AdsAdgroupSpecUtils").isVideoAd(x))v=v.filter(function(y){return y.name!==c("AdsCallToActionTypes").TYPES.SAVE.name});if(w===c("AdsAPIObjectives").STORE_VISITS&&c("AdsAdgroupSpecUtils").isVideoAd(x))v=v.filter(function(y){return![c("AdsCallToActionTypes").TYPES.SHOP_NOW.name,c("AdsCallToActionTypes").TYPES.ORDER_NOW.name].includes(y.name)});return v},filterTypesForMessagesObjective:function u(v,w){if(w===c("AdsPromotedObjectTypes").WHATSAPP)return v.filter(function(x){return x.name===c("AdsCallToActionTypes").TYPES.WHATSAPP_MESSAGE.name});return v.filter(function(x){return x.name!==c("AdsCallToActionTypes").TYPES.WHATSAPP_MESSAGE.name})},getSharedCTATypesForObjectives_DEPRECATED:function u(v,w,x){__p&&__p();var y=new(c("StrSet"))();v.forEach(function(z,A){var B=t.typesForObjective(z,w?w[A]:null,x);if(A===0)y.addAll(B.map(function(D){return D.name}));else{var C=new(c("StrSet"))(B.map(function(D){return D.name}));y=y.intersect(C)}});return y.toArray().map(function(z){return c("AdsCallToActionTypes").TYPES[z]})},shouldCacheCTAType:function u(v){return!!v&&r.has(v)},getCTADefaultValueFromPage:function u(v,w,x){__p&&__p();var y=null;switch(w){case c("AdsCallToActionTypes").TYPES.CALL_NOW.name:var z=v[c("ApiPageFields").PHONE],A=z&&!c("AdsPageFields").isNotApplicable(z);if(A&&!x)y=t.makePhoneNumber(v[c("ApiPageFields").PHONE]);break;case c("AdsCallToActionTypes").TYPES.GET_DIRECTIONS.name:if(v[c("ApiPageFields").LOCATION]&&!x){var B=v[c("ApiPageFields").LOCATION];if(B.latitude&&B.longitude){var C=B.name;if(B.name)C=B.name;else if(v[c("ApiPageFields").SINGLE_LINE_ADDRESS])C=v[c("ApiPageFields").SINGLE_LINE_ADDRESS];else C=B.latitude+","+B.longitude;y=""+l+B.latitude+","+(B.longitude+',"'+C+'"')}}break;case c("AdsCallToActionTypes").TYPES.LEARN_MORE.name:var D=v[c("ApiPageFields").WEBSITE],E=D&&!c("AdsPageFields").isNotApplicable(D);if(E)y=D;break}return y},getEmptyCallToActionLabel:function u(v){var w=v.adgroup,x=v.campaignGroup,y=v.page,z=c("AdsUEditorAdgroupSpecPathPluginAdObjectsUtils").getAdgroupSpecPathPlugin(v),A=x.getIn(c("AdsAPICampaignGroupPaths").OBJECTIVE),B=s(w,z),C=y&&y[c("ApiPageFields").LINK];if(A===c("AdsAPIObjectives").STORE_VISITS){var D=x.getIn(c("AdsAPICampaignGroupPaths").PROMOTED_OBJECT.PRODUCT_CATALOG_ID),E=!!c("AdsUnifiedCreativeAPIFields").offerID.getValue(w,z);if(!c("AdsAPIAdgroupRecordUtils").isCarouselAd(w)&&(D||!E&&B===C))return c("AdsCallToActionTypes").TYPES.LIKE_PAGE.text}else if(A===c("AdsAPIObjectives").LOCAL_AWARENESS&&!c("AdsAPIAdgroupRecordUtils").isCarouselAd(w)&&B===C)return c("AdsCallToActionTypes").TYPES.LIKE_PAGE.text;return c("AdsCallToActionTypes").TYPES.NO_BUTTON.text},getEmptyCallToActionLabelForAdgroups:function u(v){if(!v.length)return c("AdsCallToActionTypes").TYPES.NO_BUTTON.text;var w=t.getEmptyCallToActionLabel(v[0]),x=v.some(function(y){return w!==t.getEmptyCallToActionLabel(y)});return x?c("AdsStrings").MixedValuePlaceholder:w},isLocalObjective:function u(v){return c("AdsLocalUtils").isLocalObjective(v)},isCTASupportedByObjective:function u(v,w){var x=this.typesForObjective(v);return x.some(function(y){return y.name===w})},isValidGeoLink:function u(v){return t.parseGeoLink(v)!=null},parseGeoLink:function u(v){var w=v.match(c("AdsGetDirectionsActionLink").URI_REGEX);if(w==null)return;var x=+w[1],y=+w[2];if(!isNaN(x)&&!isNaN(y)&&Math.abs(x)<=90&&Math.abs(y)<=180)return new(c("GeoPlace"))(new(c("GeoCoordinates"))(x,y),w[3])},makeGeoLink:function u(v){return c("AdsGetDirectionsActionLink").LINK_START+(v.coordinates.latitude+","+v.coordinates.longitude)+(v.name!=null?',"'+v.name+'"':"")},makeBulkEditGeoLink:function u(v){return c("AdsGetDirectionsActionLink").LINK_START+(v.latitude+","+v.longitude)+(',"'+v.full_address+'"')},parsePhoneNumber:function u(v){if(v.indexOf(m)!==0)return null;return v.replace(m,"")},makePhoneNumber:function u(v){return""+m+v},getCTAFieldVisibility:function u(v,w){var x=false,y=false;v.getValues().forEach(function(z){if(z===w.name)y=true;else x=true});return{visible:y,mixed:y?x:undefined}},getDisabledCallToActionTypes:function u(v){var w=j(v),x=k(w,c("AdsAPIPublisherPlatform").FACEBOOK),y=k(w,c("AdsAPIPublisherPlatform").INSTAGRAM);if(x||y)return[];return[c("AdsCallToActionTypes").TYPES.DONATE_NOW.name]},hasCarouselCardsWithText:function u(v){if(!v.length)return false;if(!v[0].creative.object_story_spec.template_data)return false;var w=v[0].creative.object_story_spec.template_data.child_attachments;return!!w&&w.some(function(x){return x.name})}};f.exports=t}),null);
__d("AdsExternalImageInfoStore",["invariant","AdsBaseImageInfoStore","AdsDataAtom","AdsImageDimensionStore","AdsImageIDClasses","AdsImageInfoUtils","LoadObject"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("AdsBaseImageInfoStore").AdsBaseImageInfoStore,l=c("AdsBaseImageInfoStore")._getImageInfoQueryFromCacheKey,m=c("AdsImageIDClasses").AdsExternalImageID,n=c("AdsImageInfoUtils").InternalImage,o=c("AdsImageInfoUtils").QueryTypes;i=babelHelpers.inherits(p,k);j=i&&i.prototype;p.prototype.__getStores=function(){return[c("AdsImageDimensionStore")]};p.prototype.__getData=function(q){var r=l(q),s=r.imageID,t=r.queryType;s instanceof m||h(0);var u=s.getUrl();switch(t){case o.FULL_SIZE:return this.$AdsExternalImageInfoStore1(u);case o.FULL_SIZE_URL:case o.HIGH_RES_THUMBNAIL_URL:return c("LoadObject").empty().setValue(new n({url:u}));case o.NAME:case o.PREVIEW:case o.THUMBNAIL:case o.THUMBNAIL_URL:case o.IS_SPHERICAL_PHOTO:return c("LoadObject").empty()}h(0)};p.prototype.__computeResult=function(q,r){return r};p.prototype.$AdsExternalImageInfoStore1=function(q){var r=c("AdsImageDimensionStore").get(q);if(!r.hasValue())return r;var s=r.getValueEnforcing(),t=s.width,u=s.height;return c("LoadObject").empty().setValue(new n({height:u,url:q,width:t}))};function p(){i.apply(this,arguments)}f.exports=new p(c("AdsDataAtom"))}),null);
__d("AdsImageCollectionViews",["invariant","nullthrows"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=["INSTAGRAM","LIBRARY","PAGE","SCRAPED","STOCK"],j={};i.forEach(function(r,s){j[r]=1<<s});j.INVISIBLE=0;var k={};Object.keys(j).forEach(function(r){var s=j[r];k[s]=s});j.ALL=(1<<i.length)-1;function l(r){return r in k}function m(r){return r>=0&&r<=c("nullthrows")(j.ALL)}function n(r){l(r)||h(0)}function o(r){m(r)||h(0)}var p={ALL:c("nullthrows")(j.ALL),INSTAGRAM:c("nullthrows")(j.INSTAGRAM),INVISIBLE:c("nullthrows")(j.INVISIBLE),LIBRARY:c("nullthrows")(j.LIBRARY),PAGE:c("nullthrows")(j.PAGE),SCRAPED:c("nullthrows")(j.SCRAPED),STOCK:c("nullthrows")(j.STOCK)},q={views:p,isValidView:l,isValidViewBitmask:m,assertIsValidView:n,assertIsValidViewBitmask:o};f.exports=q}),null);
__d("AdsImageUtils",["cx","invariant","AdsAPIAdAssetFeedImagesFields","AdsAPIAdgroupPaths","AdsAPIObjectives","AdsAssetFeedFieldUtils","AdsImageCollectionViews","AdsImageConstants","AdsImageLegacy","AdsLocalUtils","AdsPromotedObjectTypes","AdsUnifiedCreativeAPIFields","AdsValidationIconType","ApiAdObjectTypes","React","everyObject","getByPath"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j=/^(\d+):(.*)$/,k={cropsFitIntoImage:function l(m,n,o){if(!n||!o||!m)return true;var p=m,q=n,r=o;return c("everyObject")(p,function(s){return s&&s.every(function(t){return(+t[0]===0||+t[0]<=q)&&(+t[1]===0||+t[1]<=r)})})},_getImageValueFromPaths:function l(m,n){for(var o=0;o<m.length;o++){var p=c("getByPath")(n,m[o]);if(p)return m[o]}return null},getImageArrayPath:function l(m){return k._getImageValueFromPaths(c("AdsImageConstants").IMAGE_ARRAY_PATHS,m)},getImageHashFromArray:function l(m){var n=k.getImageArrayPath(m);if(n){var o=c("getByPath")(m,n);if(o.length!==0){var p=o[0].hash;return p?p:null}}return null},getImageURLFromArray:function l(m){var n=k.getImageArrayPath(m);if(n){var o=c("getByPath")(m,n);if(o.length!==0){var p=o[0].url;return p?p:null}}return null},getImageURLPath:function l(m){return k._getImageValueFromPaths(c("AdsImageConstants").IMAGE_URL_PATHS,m)},getImageURL:function l(m){var n=k.getImageURLPath(m);return n?c("getByPath")(m,n):null},getImageHashPath:function l(m){return k._getImageValueFromPaths(c("AdsImageConstants").IMAGE_HASH_PATHS,m)},getImageHash:function l(m){var n=k.getImageHashPath(m);return n?c("getByPath")(m,n):null},getImageHashWithPlugin:function l(m,n){return c("AdsAssetFeedFieldUtils").firstAsset_TALK_WITH_ACE_BEFORE_USE(c("AdsUnifiedCreativeAPIFields").imageHash.getValue(m,n),c("AdsAPIAdAssetFeedImagesFields").HASH)},getImageURLWithPlugin:function l(m,n){return c("AdsAssetFeedFieldUtils").firstAsset_TALK_WITH_ACE_BEFORE_USE(c("AdsUnifiedCreativeAPIFields").imageURL.getValue(m,n),c("AdsAPIAdAssetFeedImagesFields").URL)},getChildAttachmentsImageHashes:function l(m){var n=c("getByPath")(m,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CHILD_ATTACHMENTS)||[];return n.map(function(o){return o.image_hash})},hasSizeRestrictions:function l(m){return m!==c("AdsAPIObjectives").POST_ENGAGEMENT},objectiveRequiresImage:function l(m,n,o){__p&&__p();var p=[c("AdsAPIObjectives").MOBILE_APP_INSTALLS,c("AdsAPIObjectives").STORE_VISITS].includes(m)||m===c("AdsAPIObjectives").APP_INSTALLS&&o===c("AdsPromotedObjectTypes").MOBILE_APP;if(p)return!c("getByPath")(n,c("AdsAPIAdgroupPaths").CREATIVE.PRODUCT_SET_ID);if(m===c("AdsAPIObjectives").POST_ENGAGEMENT||m===c("AdsAPIObjectives").BRAND_AWARENESS){var q=c("getByPath")(n,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_TYPE);return q!==c("ApiAdObjectTypes").SHARE}if(m===c("AdsAPIObjectives").MESSAGES&&(o===c("AdsPromotedObjectTypes").MESSENGER||o===c("AdsPromotedObjectTypes").WHATSAPP))return true;return[c("AdsAPIObjectives").MOBILE_APP_ENGAGEMENT,c("AdsAPIObjectives").PAGE_LIKES].concat(c("AdsLocalUtils").getLocalObjectives()).includes(m)},objectTypeRequiresImage:function l(m){return[c("ApiAdObjectTypes").DOMAIN].includes(m)},isHashWithAccountID:function l(m){return j.test(m)},parseHashWithAccountID:function l(m){var n=j.exec(m);if(!n)return null;return{accountID:n[1],hash:n[2]}},calculateCroppedPosition:function l(m,n,o,p,q){var r=q[0][0],s=q[0][1],t="0px",u="0px",v=this.calculateCroppedScale(o,p,q);t=-Math.floor(r*v)+"px";u=-Math.floor(s*v)+"px";return t+" "+u},calculateBackgroundScale:function l(m,n,o){var p=o[1][0]-o[0][0],q=o[1][1]-o[0][1],r=n/m,s=q/p;return r>s?Math.min(n/q,m/p):Math.max(n/q,m/p)},calculateCroppedScale:function l(m,n,o){var p=o[0][0],q=o[1][0],r=o[0][1],s=o[1][1],t=q-p,u=s-r;return Math.min(n/u,m/t)},calculateDefaultCoordinates:function l(m,n,o){__p&&__p();if(!o)return[[0,0],[m,n]];var p=void 0,q=void 0;if(m/o>n){q=n;p=n*o}else{p=m;q=m/o}var r=(m-p)/2,s=(n-q)/2,t=Math.floor(r)-r,u=Math.floor(s)-s;return[[r+t,s+u],[Math.round(r+p+t),Math.round(s+q+u)]]},addToImageCollection:function l(m,n,o){var p=void 0,q=n.map(function(r){var s=new(c("AdsImageLegacy"))(r);if(o&&(o===s.getUrl()||o===s.getAdAccountHash()))p=s;return s});m.addImagesToFront(q,c("AdsImageCollectionViews").views.LIBRARY);if(p)m.setImageSelected(p,true);return m},renderScaledCroppedImage:function l(m,n,o,p,q,r,s,t,u){__p&&__p();var v=1,w="0px 0px",x="100%";if(!r){var y=n/o;r=this.calculateDefaultCoordinates(p,q,y)}w=this.calculateCroppedPosition(p,q,n,o,r);v=this.calculateBackgroundScale(p,q,r);x=Math.round(v*100)+"%";var z={backgroundImage:"url("+m+")",backgroundSize:x,backgroundPosition:w,backgroundRepeat:"no-repeat",height:o,position:"relative",width:n},A=u===c("AdsValidationIconType").ERROR_IMAGE;return c("React").createElement("div",{className:A?"_12fq":"",style:z,onContextMenu:s},t)},renderScaledImage:function l(m,n,o,p,q){var r="0px 0px",s="100%",t=q/p,u=o/n,v=Math.min(o/q,n/p);if(t>u)r=(n-v*p)/2+"px 0px";else r="0px "+(o-v*q)/2+"px";s=Math.round(v*100)+"%";var w={backgroundImage:"url("+m+")",backgroundSize:s,backgroundPosition:r,backgroundRepeat:"no-repeat",height:q,position:"relative",width:p};return c("React").createElement("div",{style:w})},scaleImageFitIntoBox:function l(m,n,o,p){m>0&&n>0&&o>0&&p>0||i(0);var q=m/n,r=o/p;if(q>=r)return{width:o,height:o/q};else return{width:p*q,height:p}},lookupImageHash:function l(m,n){if(m.hashes&&m.hashes[n])return m.hashes[n];if(m.copied&&m.copied[n])return m.copied[n].hash;if(n.match(/^\d+:[a-f0-9]+$/))return n.split(":")[1];return n}};f.exports=k}),null);
__d("AdsImageIDUtils",["invariant","AdsAPIAdAssetFeedVideosFields","AdsAPIAdgroupPaths","AdsAssetFeedFieldUtils","AdsImageIDClasses","AdsImageLegacy","AdsImageUtils","AdsUnifiedCreativeAPIFields","ApiAdCreativeFields","immutable","ShutterstockImageUtils","getByPath"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("AdsImageIDClasses").AdsImageID;j.prototype.getSingleImageID=function(k,l){var m=c("AdsImageUtils").getImageHash(k),n=c("AdsImageUtils").getImageURL(k);return this.$AdsImageIDUtils1(l,m,n)};j.prototype.getSingleImageIDWithPlugin=function(k,l,m){var n=c("AdsImageUtils").getImageHashWithPlugin(k,m),o=c("AdsImageUtils").getImageURLWithPlugin(k,m);return this.$AdsImageIDUtils1(l,n,o)};j.prototype.getPlatformImageID=function(k,l,m){var n=c("getByPath")(k,[].concat(c("AdsAPIAdgroupPaths").CREATIVE.PLATFORM_CUSTOMIZATIONS.path,m,c("ApiAdCreativeFields").IMAGE_HASH)),o=c("getByPath")(k,[].concat(c("AdsAPIAdgroupPaths").CREATIVE.PLATFORM_CUSTOMIZATIONS.path,m,c("ApiAdCreativeFields").IMAGE_URL));return this.$AdsImageIDUtils1(l,n,o)};j.prototype.getMPAImageIDs=function(k,l){var m=c("getByPath")(k,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.CHILD_ATTACHMENTS);if(!m)m=c("getByPath")(k,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.CHILD_ATTACHMENTS);m=m&&m.toJS()||[];return m.map(function(n){return this.$AdsImageIDUtils1(l,n.image_hash,n.picture)}.bind(this))};j.prototype.getVideoThumbnail=function(k,l){var m=c("AdsAssetFeedFieldUtils").firstAsset_TALK_WITH_ACE_BEFORE_USE(c("AdsUnifiedCreativeAPIFields").videoThumbnailURL.getValue(k,l),c("AdsAPIAdAssetFeedVideosFields").THUMBNAIL_URL);return this.$AdsImageIDUtils1(null,null,m)};j.prototype.getImageID=function(k){var l=k.accountID,m=k.hash,n=k.url,o=k.stockImageID;if(o)n=c("ShutterstockImageUtils").idToURL(o);return this.$AdsImageIDUtils1(l,m,n)};j.prototype.$AdsImageIDUtils1=function(k,l,m){if(k&&l)return i.fromAcountAndHash(k,l);if(!m)return null;if(c("ShutterstockImageUtils").isStockImageURL(m))return i.fromShutterstockURL(m);return i.fromExternalURL(m)};j.prototype.getImageIDFromValidImageInfo=function(k,l){if(typeof l.hash==="string")return i.fromAcountAndHash(k,l.hash);if(typeof l.stockImageID==="string"){var m=c("ShutterstockImageUtils").idToURL(l.stockImageID);return i.fromShutterstockURL(m)}if(typeof l.url==="string")return i.fromExternalURL(l.url);return h(false,"ImageInfo must have one of accountID & hash, stockImageID, url.")};j.prototype.getImageIDFromLegacyImage=function(k,l){return this.getImageID({accountID:k,hash:l.getAdAccountHash(),stockImageID:l.getStockImageID(),url:l.getUrl()})};j.prototype.getImageIDsFromImageInfoArray=function(k,l){var m=c("immutable").OrderedSet();l.forEach(function(n){var o=this.getImageIDFromValidImageInfo(k,n);m=m.add(o)}.bind(this));return m};j.prototype.getImageIDPrimarilyFromURL=function(k,l,m){if(m){if(c("ShutterstockImageUtils").isStockImageURL(m))return i.fromShutterstockURL(m);return i.fromExternalURL(m)}if(k&&l)return i.fromAcountAndHash(k,l);return null};function j(){}f.exports=new j()}),null);
__d("AdsShutterstockImageInfoStore",["invariant","AdsBaseImageInfoStore","AdsDataAtom","AdsExternalImageInfoStore","AdsImageDimensionStore","AdsImageIDClasses","AdsImageInfoUtils","AdsStockImageSourceImageDataStore","LoadObject"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("AdsBaseImageInfoStore").AdsBaseImageInfoStore,l=c("AdsBaseImageInfoStore")._getImageInfoQueryFromCacheKey,m=c("AdsImageIDClasses").AdsShutterstockImageID,n=c("AdsImageIDClasses").AdsImageID,o=c("AdsImageInfoUtils").InternalImage,p=c("AdsImageInfoUtils").QueryTypes;i=babelHelpers.inherits(q,k);j=i&&i.prototype;q.prototype.__getStores=function(){return[c("AdsExternalImageInfoStore"),c("AdsImageDimensionStore"),c("AdsStockImageSourceImageDataStore")]};q.prototype.__getData=function(r){__p&&__p();var s=l(r),t=s.imageID,u=s.queryType;t instanceof m||h(0);if(u===p.NAME)return c("LoadObject").empty();if(u===p.PREVIEW)return this.$AdsShutterstockImageInfoStore1(t);if(u===p.THUMBNAIL)return this.$AdsShutterstockImageInfoStore2(t);if(u===p.THUMBNAIL_URL)return this.$AdsShutterstockImageInfoStore3(t);if(u===p.HIGH_RES_THUMBNAIL)return c("LoadObject").empty();if(u===p.HIGH_RES_THUMBNAIL_URL)return c("LoadObject").empty();if(u===p.IS_SPHERICAL_PHOTO)return c("LoadObject").empty();var v=c("AdsStockImageSourceImageDataStore").getWithFullSizeURL(t),w=v.getValue();if(!w||!w.fullSizeURL)return v.isLoading()?c("LoadObject").loading():c("LoadObject").empty();if(u===p.FULL_SIZE||u===p.FULL_SIZE_URL)return c("AdsExternalImageInfoStore").getByQuery(n.fromExternalURL(w.fullSizeURL),u);h(0)};q.prototype.__computeResult=function(r,s){return s};q.prototype.$AdsShutterstockImageInfoStore1=function(r){var s=c("AdsStockImageSourceImageDataStore").get(r);if(!s.hasValue())return s;var t=s.getValueEnforcing();return c("LoadObject").withValue(new o({height:t.preview.height,url:t.preview.url,width:t.preview.width}))};q.prototype.$AdsShutterstockImageInfoStore2=function(r){var s=c("AdsStockImageSourceImageDataStore").get(r);if(!s.hasValue())return s;var t=s.getValueEnforcing();return this.$AdsShutterstockImageInfoStore4(t.thumbnail.url,t.thumbnail.width,t.thumbnail.height)};q.prototype.$AdsShutterstockImageInfoStore3=function(r){var s=c("AdsStockImageSourceImageDataStore").get(r);return s.map(function(t){return new o({url:t.thumbnail.url})})};q.prototype.$AdsShutterstockImageInfoStore4=function(r,s,t){var u=c("AdsImageDimensionStore").get(r);if(!u.hasValue())return u;var v=u.getValueEnforcing(),w=v.width,x=v.height;return c("LoadObject").withValue(new o({displayHeight:t||x,displayWidth:s||w,realHeight:x,realWidth:w,url:r}))};function q(){i.apply(this,arguments)}f.exports=new q(c("AdsDataAtom"))}),null);
__d("AdsImageInfoStore",["invariant","AdsAccountImageInfoStore","AdsAPIAdgroupPaths","AdsBaseImageInfoStore","AdsDataAtom","AdsExternalImageInfoStore","AdsImageIDClasses","AdsImageIDUtils","AdsImageInfoUtils","AdsImageLegacy","AdsPageImageInfoStore","AdsShutterstockImageInfoStore","AdsSimpleImage","ApiAdCreativeFields","ApiAdCreativePlatformCustomizationFields","LoadObject","forEachObject","getByPath"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("AdsBaseImageInfoStore").AdsBaseImageInfoStore,l=c("AdsBaseImageInfoStore")._getImageInfoQueryFromCacheKey,m=c("AdsImageInfoUtils").QueryTypes,n=c("AdsImageIDClasses").AdsAccountImageID,o=c("AdsImageIDClasses").AdsExternalImageID,p=c("AdsImageIDClasses").AdsFacebookImageID,q=c("AdsImageIDClasses").AdsShutterstockImageID;i=babelHelpers.inherits(r,k);j=i&&i.prototype;r.prototype.getName=function(s){var t=this.getByQuery(s,m.NAME);if(!t.hasValue())return t;return c("LoadObject").empty().setValue(t.getValueEnforcing().name)};r.prototype.getFullSizeURL=function(s){var t=this.getByQuery(s,m.FULL_SIZE_URL);if(!t.hasValue()||t.isUpdating())return!t.hasValue()?t:c("LoadObject").updating();return c("LoadObject").empty().setValue(t.getValueEnforcing().url)};r.prototype.getFullSize=function(s){var t=this.getByQuery(s,m.FULL_SIZE);if(!t.hasValue()||t.isUpdating())return!t.hasValue()?t:c("LoadObject").updating();var u=t.getValueEnforcing().toJS(),v=u.url,w=u.height,x=u.width;v&&w&&x||h(0);var y=this.getIsSphericalPhoto(s),z=y.hasValue()&&y.getValueEnforcing();return c("LoadObject").empty().setValue(new(c("AdsSimpleImage"))({height:w,url:v,width:x,isSphericalPhoto:z}))};r.prototype.getPreview=function(s){var t=this.getByQuery(s,m.PREVIEW);if(!t.hasValue())return t;var u=t.getValueEnforcing().toJS(),v=u.url,w=u.height,x=u.width;v&&w&&x||h(0);return c("LoadObject").empty().setValue(new(c("AdsSimpleImage"))({height:w,url:v,width:x}))};r.prototype.getThumbnail=function(s){var t=this.getByQuery(s,m.THUMBNAIL);if(!t.hasValue())return t;var u=t.getValueEnforcing().toJS(),v=u.displayHeight,w=u.displayWidth,x=u.realHeight,y=u.realWidth,z=u.url;z&&y&&x&&w&&v||h(0);return c("LoadObject").empty().setValue({displayImage:new(c("AdsSimpleImage"))({height:v,url:z,width:w}),realImage:new(c("AdsSimpleImage"))({height:x,url:z,width:y})})};r.prototype.getThumbnailURL=function(s){var t=this.getByQuery(s,m.THUMBNAIL_URL);return t.map(function(u){return new(c("AdsSimpleImage"))({url:u.url})})};r.prototype.getHighResThumbnail=function(s){var t=this.getByQuery(s,m.HIGH_RES_THUMBNAIL);if(!t.hasValue())return t;var u=t.getValueEnforcing().toJS(),v=u.displayHeight,w=u.displayWidth,x=u.realHeight,y=u.realWidth,z=u.url;z&&y&&x&&w&&v||h(0);return c("LoadObject").empty().setValue({displayImage:new(c("AdsSimpleImage"))({height:v,url:z,width:w}),realImage:new(c("AdsSimpleImage"))({height:x,url:z,width:y})})};r.prototype.getHighResThumbnailURL=function(s){var t=this.getByQuery(s,m.HIGH_RES_THUMBNAIL_URL);return t.map(function(u){return new(c("AdsSimpleImage"))({url:u.url})})};r.prototype.getIsSphericalPhoto=function(s){var t=this.getByQuery(s,m.IS_SPHERICAL_PHOTO);return t.map(function(u){return u.isSphericalPhoto})};r.prototype.getFullSizeLegacyImage_DEPRECATED=function(s,t,u){if(s instanceof n)return this.$AdsImageInfoStore1(s,t,u);if(s instanceof q)return this.$AdsImageInfoStore2(s,t,u);if(s instanceof p)return this.$AdsImageInfoStore3(s,t,u);s instanceof o||h(0);return this.$AdsImageInfoStore4(s,t,u)};r.prototype.getFullSizeLegacyImageForSingleImageAd_DEPRECATED=function(s,t){__p&&__p();var u=arguments.length<=2||arguments[2]===undefined?null:arguments[2],v=s.toJS(),w=u?c("AdsImageIDUtils").getSingleImageIDWithPlugin(s,t,u):c("AdsImageIDUtils").getSingleImageID(s,t);if(!w)return c("LoadObject").empty();var x=c("getByPath")(v,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.LINK_DATA.IMAGE_CROPS)||c("getByPath")(v,c("AdsAPIAdgroupPaths").CREATIVE.IMAGE_CROPS)||c("getByPath")(v,c("AdsAPIAdgroupPaths").CREATIVE.OBJECT_STORY_SPEC.TEMPLATE_DATA.IMAGE_CROPS),y={};c("forEachObject")(c("ApiAdCreativePlatformCustomizationFields"),function(z){var A=c("AdsImageIDUtils").getPlatformImageID(s,t,z);if(!A)return;var B=c("getByPath")(s,[].concat(c("AdsAPIAdgroupPaths").CREATIVE.PLATFORM_CUSTOMIZATIONS.path,z,c("ApiAdCreativeFields").IMAGE_CROPS)),C=this.getFullSizeLegacyImage_DEPRECATED(A,B);if(C.hasValue())y[z]=C.getValueEnforcing().toJSON()}.bind(this));return this.getFullSizeLegacyImage_DEPRECATED(w,x,y)};r.prototype.__getStores=function(){return[c("AdsAccountImageInfoStore"),c("AdsExternalImageInfoStore"),c("AdsPageImageInfoStore"),c("AdsShutterstockImageInfoStore")]};r.prototype.__getData=function(s){__p&&__p();var t=l(s),u=t.imageID;if(u instanceof n)return c("AdsAccountImageInfoStore").get(s);if(u instanceof q)return c("AdsShutterstockImageInfoStore").get(s);if(u instanceof p)return c("AdsPageImageInfoStore").get(s);if(u instanceof o)return c("AdsExternalImageInfoStore").get(s);h(0)};r.prototype.__computeResult=function(s,t){return t};r.prototype.$AdsImageInfoStore1=function(s,t,u){var v=this.getFullSize(s),w=this.getThumbnail(s),x=this.getIsSphericalPhoto(s);if(!v.hasValue())return v;if(!w.hasValue())return w;var y=v.getValueEnforcing(),z=w.getValueEnforcing(),A=x.hasValue()&&x.getValueEnforcing();return c("LoadObject").empty().setValue(new(c("AdsImageLegacy"))({crops:t,hash:s.getHash(),height:y.height,platformImageObjects:u,url:y.url,url_128:z.displayImage.url,width:y.width,is_spherical_photo:A}))};r.prototype.$AdsImageInfoStore2=function(s,t,u){var v=this.getFullSize(s),w=this.getThumbnail(s),x=this.getPreview(s);if(!v.hasValue())return v;if(!w.hasValue())return w;if(!x.hasValue())return x;var y=v.getValueEnforcing(),z=x.getValueEnforcing(),A=w.getValueEnforcing();return c("LoadObject").empty().setValue(new(c("AdsImageLegacy"))({crops:t,fullSizeHeight:y.height,fullSizeUrl:y.url,fullSizeWidth:y.width,height:A.realImage.height,platformImageObjects:u,previewHeight:z.height,previewUrl:z.url,previewWidth:z.width,stockImageID:s.getShutterstockImageID(),thumbHeight:A.displayImage.height,thumbWidth:A.displayImage.width,url:A.realImage.url,width:A.realImage.width}))};r.prototype.$AdsImageInfoStore3=function(s,t,u){var v=this.getFullSize(s),w=this.getThumbnail(s);if(!v.hasValue())return v;if(!w.hasValue())return w;var x=v.getValueEnforcing(),y=w.getValueEnforcing();return c("LoadObject").withValue(new(c("AdsImageLegacy"))({crops:t,height:x.height,platformImageObjects:u,url:x.url,url_128:y.displayImage.url,width:x.width}))};r.prototype.$AdsImageInfoStore4=function(s,t,u){var v=this.getFullSize(s);if(!v.hasValue())return v;var w=v.getValueEnforcing();return c("LoadObject").empty().setValue(new(c("AdsImageLegacy"))({crops:t,height:w.height,platformImageObjects:u,url:w.url,width:w.width}))};function r(){i.apply(this,arguments)}f.exports=new r(c("AdsDataAtom"))}),null);
__d("AdsVideoUtils",["AdsAudienceDirectConfig"],(function a(b,c,d,e,f,g){"use strict";var h={isVideoGif:function i(j){return j!=null&&j.match(/.gif\.*/i)!==null},shouldAllowGIFFiles:function i(){return!c("AdsAudienceDirectConfig").isDirectDealsUser},getVideoFileExtensions:function i(){var j=["video/mp4","video/x-m4v","video/*"];if(h.shouldAllowGIFFiles())j.push("image/gif");return j.join(",")}};f.exports=h}),null);
__d("AdsPixelViewActionTypes",["keyMirrorRecursive"],(function a(b,c,d,e,f,g){"use strict";var h={ADD_CONVERSION_FOR_PIXELS:"",CLEAR_PIXEL:"",DIALOG_TYPE_CHANGE:"",DISABLE_PIXEL_PICKER:"",DISPLAY_CHANGE:"",END_PIXEL_CREATE:"",INITIALIZE_PIXEL_PICKER:"",ON_DIALOG_BACK:"",OUTCOME_BASE_PIXEL_CHANGE:"",PIXEL_ICON_NUX_CLOSED:"",PIXEL_ICON_NUX_VIEWED:"",PIXEL_MEGAPHONE_CLOSED:"",PIXEL_MEGAPHONE_VIEWED:"",RAW_PIXEL_FIRES_ICON_CLICK:"",REFRESH_CONVERSION_CODE_STATUS:"",REFRESH_PIXEL_CODE_STATUS:"",RESET_PIXEL_LIST:"",RESIZE_PAGE:"",START_PIXEL_CREATE:"",TRACKING_SPEC_CHANGE:"",UPDATE_BREAKDOWN_SETTING:"",UPDATE_CONVERSION_CHOICE:"",UPDATE_DATE_PICKER_SETTING:"",UPDATE_INSIGHT_SETTING:"",UPDATE_SORT_SETTING:"",UPDATE_TABLE_SELECTION:"",UPDATE_VIEW_PIXEL_CODE_SELECTION:"",VIEW_CLOSE_PIXEL_CREATE_DIALOG:"",VIEW_PIXEL_NUX_END:"",VIEW_PIXEL_NUX_START:"",VIEW_SHOW_PIXEL_CREATE_DIALOG:""},i=c("keyMirrorRecursive")(h,"PIXEL_VIEW_ACTION");f.exports=i}),null);
__d("AdsPixelLoggingPrefix",["keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirror")({CUSTOM_CONVERSION_SERVER_ACTION_:null,CUSTOM_CONVERSION_VIEW_ACTION_:null,PIXEL_PICKER_SERVER_ACTION_:null,PIXEL_PICKER_VIEW_ACTION_:null,PIXEL_SERVER_ACTION_:null,PIXEL_VIEW_ACTION_:null});f.exports=h}),null);
__d("AdsPixelViewClearPixelDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.CLEAR_PIXEL");f.exports=h}),null);
__d("AdsPixelViewDialogTypeChangeDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.DIALOG_TYPE_CHANGE");f.exports=h}),null);
__d("AdsPixelViewDisplayChangeDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.DISPLAY_CHANGE");f.exports=h}),null);
__d("AdsPixelViewEndPixelCreateDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.END_PIXEL_CREATE");f.exports=h}),null);
__d("AdsPixelViewOnDialogBackDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.ON_DIALOG_BACK");f.exports=h}),null);
__d("AdsPixelViewPixelMegaphoneClosedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.PIXEL_MEGAPHONE_CLOSED");f.exports=h}),null);
__d("AdsPixelViewPixelMegaphoneViewedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.PIXEL_MEGAPHONE_VIEWED");f.exports=h}),null);
__d("AdsPixelViewRawPixelFiresIconClickDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.RAW_PIXEL_FIRES_ICON_CLICK");f.exports=h}),null);
__d("AdsPixelViewRefreshConversionCodeStatusDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.REFRESH_CONVERSION_CODE_STATUS");f.exports=h}),null);
__d("AdsPixelViewRefreshPixelCodeStatusDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.REFRESH_PIXEL_CODE_STATUS");f.exports=h}),null);
__d("AdsPixelViewResetPixelListDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.RESET_PIXEL_LIST");f.exports=h}),null);
__d("AdsPixelViewResizePageDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.RESIZE_PAGE");f.exports=h}),null);
__d("AdsPixelViewStartPixelCreateDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.START_PIXEL_CREATE");f.exports=h}),null);
__d("AdsPixelViewTrackingSpecChangeDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.TRACKING_SPEC_CHANGE");f.exports=h}),null);
__d("AdsPixelViewUpdateBreakdownSettingDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.UPDATE_BREAKDOWN_SETTING");f.exports=h}),null);
__d("AdsPixelViewUpdateDatePickerSettingDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.UPDATE_DATE_PICKER_SETTING");f.exports=h}),null);
__d("AdsPixelViewUpdateInsightSettingDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.UPDATE_INSIGHT_SETTING");f.exports=h}),null);
__d("AdsPixelViewUpdateSortSettingDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.UPDATE_SORT_SETTING");f.exports=h}),null);
__d("AdsPixelViewUpdateTableSelectionDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.UPDATE_TABLE_SELECTION");f.exports=h}),null);
__d("AdsPixelViewUpdateViewPixelCodeSelectionDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.UPDATE_VIEW_PIXEL_CODE_SELECTION");f.exports=h}),null);
__d("AdsPixelViewViewPixelNuxEndDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.VIEW_PIXEL_NUX_END");f.exports=h}),null);
__d("AdsPixelViewViewPixelNuxStartDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_VIEW_ACTION.VIEW_PIXEL_NUX_START");f.exports=h}),null);
__d("PixelInterfacesLoggingKeys",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({PIXEL_ATTACH_AD_FAILURE:"pixel_attach_ad_failure",PIXEL_BASE_CODE_CONTENT_LOADED:"pixel_base_code_content_loaded",PIXEL_BASE_CODE_SELECTOR_LOADED:"pixel_base_code_selector_loaded",PIXEL_BOOSTED_COMPONENT_UPSELL:"pixel_boosted_component_upsell",PIXEL_CREATE_ERROR:"pixel_create_error",PIXEL_CREATE_START:"pixel_create_start",PIXEL_CREATE_SUCCESS:"pixel_create_success",PIXEL_DIALOG_CHANGED:"pixel_dialog_changed",PIXEL_DIALOG_RENDERED:"pixel_dialog_rendered",PIXEL_EMAIL_INSTRUCTIONS_SUCCESS:"pixel_email_instructions_success",PIXEL_EVENT_CODE_CONTENT_LOADED:"pixel_event_code_content_loaded",PIXEL_FEEDBACK_SUBMITTED:"pixel_feedback_submitted",PIXEL_FEEDBACK_SUBMITTED_FAILURE:"pixel_feedback_submitted_failure",PIXEL_INLINE_CREATION_SUCCESS:"pixel_inline_creation_success",PIXEL_INLINE_CREATION_SUCCESS_SELECTOR:"pixel_inline_creation_success_selector",PIXEL_INSTALL_GTM_ADVANCED_MATCHING:"pixel_install_gtm_advanced_matching",PIXEL_INSTALL_GTM_API_ERROR:"pixel_install_gtm_api_error",PIXEL_INSTALL_GTM_API_SUCCESS:"pixel_install_gtm_api_success",PIXEL_INSTALL_GTM_AUTH_START:"pixel_install_gtm_auth_start",PIXEL_INSTALL_GTM_AUTH_SUCCESS:"pixel_install_gtm_auth_success",PIXEL_INSTALL_GTM_CREATE_TAG:"pixel_install_gtm_create_tag",PIXEL_INSTALL_GTM_CREATE_TAG_CANCELED:"pixel_install_gtm_create_tag_canceled",PIXEL_INSTALL_GTM_CREATE_TAG_START:"pixel_install_gtm_create_tag_start",PIXEL_INSTALL_GTM_DELETE_TAG:"pixel_install_gtm_delete_tag",PIXEL_INSTALL_GTM_PUBLISH:"pixel_install_gtm_publish",PIXEL_INSTALL_GTM_PUBLISH_TAG:"pixel_install_gtm_publish_tag",PIXEL_INSTALL_GTM_SELECT_ACCOUNT:"pixel_install_gtm_select_account",PIXEL_INSTALL_GTM_SELECT_CONTAINER:"pixel_install_gtm_select_container",PIXEL_INSTALL_GTM_START:"pixel_install_gtm_start",PIXEL_INSTALL_GTM_TAG_API_ERROR:"pixel_install_gtm_tag_api_error",PIXEL_INTEGRATION_LIST_RENDER:"pxiel_integration_list_render",PIXEL_INTEGRATION_REQUESTED:"pixel_integration_requested",PIXEL_INTEGRATION_REQUESTED_FAILURE:"pixel_integration_requested_failure",PIXEL_INTEGRATION_SELECTED:"pixel_integration_selected",PIXEL_INTERFACE_ERROR:"pixel_interface_error",PIXEL_SCHEDULE_CALL_LINK_SHOWN:"pixel_schedule_call_link_shown",PIXEL_SCHEDULE_CALL_LINK_SHOWN_NEWBIE:"pixel_schedule_call_link_shown_newbie",PIXEL_SCHEDULE_CALL_LINK_UPSELL:"pixel_schedule_call_link_upsell",PIXEL_SCHEDULE_CALL_LINK_UPSELL_NEWBIE:"pixel_schedule_call_link_upsell_newbie",PIXEL_SOLUTION_SELECTOR_LOADED:"pixel_solution_selector_loaded"})}),null);
__d("AdsPixelViewActions",["AdsActionCategories","AdsDataAtom","AdsInterfacesLogger","AdsPixelLoggingPrefix","AdsPixelViewActionTypes","AdsPixelViewClearPixelDataAction","AdsPixelViewDialogTypeChangeDataAction","AdsPixelViewDisplayChangeDataAction","AdsPixelViewEndPixelCreateDataAction","AdsPixelViewOnDialogBackDataAction","AdsPixelViewPixelMegaphoneClosedDataAction","AdsPixelViewPixelMegaphoneViewedDataAction","AdsPixelViewRawPixelFiresIconClickDataAction","AdsPixelViewRefreshConversionCodeStatusDataAction","AdsPixelViewRefreshPixelCodeStatusDataAction","AdsPixelViewResetPixelListDataAction","AdsPixelViewResizePageDataAction","AdsPixelViewStartPixelCreateDataAction","AdsPixelViewTrackingSpecChangeDataAction","AdsPixelViewUpdateBreakdownSettingDataAction","AdsPixelViewUpdateDatePickerSettingDataAction","AdsPixelViewUpdateInsightSettingDataAction","AdsPixelViewUpdateSortSettingDataAction","AdsPixelViewUpdateTableSelectionDataAction","AdsPixelViewUpdateViewPixelCodeSelectionDataAction","AdsPixelViewViewPixelNuxEndDataAction","AdsPixelViewViewPixelNuxStartDataAction","AdsTargetingViewActionsLogger","PixelInterfacesLoggingKeys"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsTargetingViewActionsLogger").attachLog({updateSortSetting:function i(j,k,l){c("AdsPixelViewUpdateSortSettingDataAction").dispatch({data:{tableName:j,dataKey:k,sortStatus:l}})},resetPixelList:function i(){c("AdsPixelViewResetPixelListDataAction").dispatch({})},updatePixelTableSelection:function i(j){c("AdsPixelViewUpdateTableSelectionDataAction").dispatch({data:{selectedID:j}})},updateViewPixelCodeSelection:function i(j){c("AdsPixelViewUpdateViewPixelCodeSelectionDataAction").dispatch({data:{viewPixelCodeSelectedID:j}})},updateDatePickerSetting:function i(j){c("AdsPixelViewUpdateDatePickerSettingDataAction").dispatch({category:c("AdsActionCategories").STATE_CHANGE,data:{choice:j,replaceURL:true}})},updateConversionChoice:function i(j){c("AdsDataAtom").handleUpdateFromViewAction({data:{conversion:j},type:c("AdsPixelViewActionTypes").UPDATE_CONVERSION_CHOICE})},updateInsightTypeSetting:function i(j){c("AdsPixelViewUpdateInsightSettingDataAction").dispatch({data:{insightType:j}})},updateBreakdownTypeSetting:function i(j){c("AdsPixelViewUpdateBreakdownSettingDataAction").dispatch({data:{breakdownType:j}})},startPixelNUX:function i(){c("AdsPixelViewViewPixelNuxStartDataAction").dispatch({})},endPixelNUX:function i(){c("AdsPixelViewViewPixelNuxEndDataAction").dispatch({})},startPixelCreate:function i(){c("AdsPixelViewStartPixelCreateDataAction").dispatch({})},endPixelCreate:function i(){c("AdsPixelViewEndPixelCreateDataAction").dispatch({})},clearPixel:function i(){c("AdsPixelViewClearPixelDataAction").dispatch({})},onDialogBack:function i(){c("AdsPixelViewOnDialogBackDataAction").dispatch({})},dialogTypeChange:function i(j,k){c("AdsPixelViewDialogTypeChangeDataAction").dispatch({data:babelHelpers["extends"]({dialogType:j},k)});var l=k&&k.currentDialogType?k.currentDialogType:"";c("AdsInterfacesLogger").log({eventName:c("PixelInterfacesLoggingKeys").PIXEL_DIALOG_CHANGED,data:{dialog_type:j.concat(l)}},c("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)},trackingSpecChange:function i(j,k){c("AdsDataAtom").addPostDispatchCallback(function(){c("AdsPixelViewTrackingSpecChangeDataAction").dispatch({data:{trackingSpec:k},ids:j})})},refreshPixelStatus:function i(j){c("AdsPixelViewRefreshPixelCodeStatusDataAction").dispatch({data:{pixelID:j}})},refreshConversionPixelStatus:function i(j){c("AdsPixelViewRefreshConversionCodeStatusDataAction").dispatch({data:{pixelID:j}})},resizePage:function i(){c("AdsPixelViewResizePageDataAction").dispatch({})},setDisplayPixel:function i(j){c("AdsPixelViewDisplayChangeDataAction").dispatch({data:{pixelID:j}})},onPixelMegaphoneClosed:function i(){c("AdsPixelViewPixelMegaphoneClosedDataAction").dispatch({})},onPixelMegaphoneViewed:function i(){c("AdsPixelViewPixelMegaphoneViewedDataAction").dispatch({})},registerRawPixelFiresIconClick:function i(){c("AdsPixelViewRawPixelFiresIconClickDataAction").dispatch({})}},{prefix:c("AdsPixelLoggingPrefix").PIXEL_VIEW_ACTION_});f.exports=h}),null);
__d("AdsPixelDialogTypes",["ImmutableObject","keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirror")({AUDIENCE:null,BASE_CODE_INSTALL_METHOD_SELECTOR:null,BASE_CODE_MANUAL_INSTALL:null,CREATE_CONVERSION:null,CREATE_PIXEL:null,CREATE_PIXEL_COMPLETE:null,EDIT:null,EMAIL_CODE:null,EMAIL_CODE_SUCCESS:null,EMAIL_INSTRUCTIONS:null,EVENT_CODE_MANUAL_INSTALL:null,GOAL_CREATE_STEP_ONE:null,GOAL_CREATE_STEP_THREE:null,GOAL_CREATE_STEP_TWO:null,GOAL_EDIT:null,GOAL_DELETE:null,GOOGLE_TAG_MANAGER:null,GTM_QUICKINSTALL:null,INLINE_CREATION_NEXT_STEPS:null,INTEGRATIONS_LIST:null,INTEGRATIONS_CMS:null,INTEGRATION_REQUEST_SUCCESS:null,NO_DIALOG:null,NEXT_STEPS:null,SETUP_CONVERSION:null,SOLUTION_TYPE_SELECTOR:null,SHARE:null,VIEW_CODE:null,VIEW_EVENT_CODE:null,VIEW_USAGE:null,CREATE_BUSINESS_PIXEL:null,CREATE_BUSINESS_PIXEL_COMPLETE:null,SELECT_PIXEL_AD_ACCOUNT:null,SHOW_DIAGNOSTICS_URL:null});f.exports=new(c("ImmutableObject"))(h)}),null);
__d("AdsDataSourceTables",["keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h={DEVICE:null,DIAGNOSTICS:null,DOMAIN:null,EVENT:null,PIXEL:null,URL:null,VIEW_PIXEL_CODE:null},i=c("keyMirror")(h);f.exports=i}),null);
__d("AdsPixelTableColumns",[],(function a(b,c,d,e,f,g){"use strict";var h={NAME:null,DOMAIN:null,STATUS:null,TRAFFIC:null,USER:null,SHARE:null},i=Object.keys(h).reduce(function(j,k){j[k]=k.toLowerCase();return j},{});f.exports=i}),null);
__d("AdsPixelTableSettingStore",["invariant","AdsDataAtom","AdsDataSourceTables","AdsPixelDialogTypes","AdsPixelTableColumns","AdsPixelViewDialogTypeChangeDataAction","AdsPixelViewUpdateSortSettingDataAction","AdsPixelViewUpdateTableSelectionDataAction","AdsPixelViewUpdateViewPixelCodeSelectionDataAction","FluxStore","adsBaseStoreMixin_DEPRECATED"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("FluxStore"));j=i&&i.prototype;function k(){j.constructor.call(this,c("AdsDataAtom"));c("adsBaseStoreMixin_DEPRECATED")(this);this.$AdsPixelTableSettingStoreClass1={};this.$AdsPixelTableSettingStoreClass1[c("AdsDataSourceTables").PIXEL]={dataKey:c("AdsPixelTableColumns").NAME,sortStatus:"ASC"};this.$AdsPixelTableSettingStoreClass1[c("AdsDataSourceTables").VIEW_PIXEL_CODE]={selectedPixelID:null};this.$AdsPixelTableSettingStoreClass1[c("AdsDataSourceTables").DOMAIN]={dataKey:"count",sortStatus:"DESC"};this.$AdsPixelTableSettingStoreClass1[c("AdsDataSourceTables").URL]={dataKey:"count",sortStatus:"DESC"};this.$AdsPixelTableSettingStoreClass1[c("AdsDataSourceTables").EVENT]={dataKey:"count",sortStatus:"DESC"};this.$AdsPixelTableSettingStoreClass1[c("AdsDataSourceTables").DEVICE]={dataKey:"count",sortStatus:"DESC"}}k.prototype.getStoreName=function(){return"AdsPixelTableSettingStore"};k.prototype.__onDispatch=function(m){__p&&__p();var n=m.action;switch(n.actionType){case c("AdsPixelViewUpdateSortSettingDataAction").actionType:this.$AdsPixelTableSettingStoreClass2(n.data.tableName,n.data.dataKey,n.data.sortStatus);this.__emitChange();break;case c("AdsPixelViewUpdateTableSelectionDataAction").actionType:this.$AdsPixelTableSettingStoreClass3(n.data.selectedID);this.__emitChange();break;case c("AdsPixelViewUpdateViewPixelCodeSelectionDataAction").actionType:this.$AdsPixelTableSettingStoreClass4(n.data.viewPixelCodeSelectedID);this.__emitChange();break;case c("AdsPixelViewDialogTypeChangeDataAction").actionType:if(n.data.dialogType in c("AdsPixelDialogTypes"))if(n.data.dialogType===c("AdsPixelDialogTypes").NO_DIALOG)this.$AdsPixelTableSettingStoreClass4(undefined);break}};k.prototype.getSortDataKey=function(m){m in this.$AdsPixelTableSettingStoreClass1||h(0);return this.$AdsPixelTableSettingStoreClass1[m].dataKey};k.prototype.getSortStatus=function(m){m in this.$AdsPixelTableSettingStoreClass1||h(0);return this.$AdsPixelTableSettingStoreClass1[m].sortStatus};k.prototype.getSelectedID=function(){return this.$AdsPixelTableSettingStoreClass1[c("AdsDataSourceTables").PIXEL].selectedID};k.prototype.getViewPixelCodeSelectedID=function(){return this.$AdsPixelTableSettingStoreClass1[c("AdsDataSourceTables").VIEW_PIXEL_CODE].selectedID};k.prototype.$AdsPixelTableSettingStoreClass2=function(m,n,o){if(!(m in this.$AdsPixelTableSettingStoreClass1))return;Object.assign(this.$AdsPixelTableSettingStoreClass1[m],{dataKey:n,sortStatus:o})};k.prototype.$AdsPixelTableSettingStoreClass3=function(m){this.$AdsPixelTableSettingStoreClass1[c("AdsDataSourceTables").PIXEL].selectedID=m};k.prototype.$AdsPixelTableSettingStoreClass4=function(m){this.$AdsPixelTableSettingStoreClass1[c("AdsDataSourceTables").VIEW_PIXEL_CODE].selectedID=m};var l=new k();f.exports=l}),null);
__d("AdsPixelStatusEnum",["keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirror")({ACTIVE:null,INACTIVE:null,NEVER_ACTIVE:null});f.exports=h}),null);
__d("AdsPixelGetHelpFlyoutLink.react",["cx","fbt","invariant","AdsFluxContainer","AdsPixelDialogTypes","AdsPixelStatusEnum","AdsPixelTableSettingStore","AdsPixelViewActions","React","SignalsTooltipInfo.react","SUIBusinessTheme","SUIButton.react"],(function a(b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k,l,m=c("React").PropTypes;k=babelHelpers.inherits(n,c("React").PureComponent);l=k&&k.prototype;function n(){var o,p;for(var q=arguments.length,r=Array(q),s=0;s<q;s++)r[s]=arguments[s];return p=(o=l.constructor).call.apply(o,[this].concat(r)),this.$AdsPixelGetHelpFlyoutLink3=function(){c("AdsPixelViewActions").updateViewPixelCodeSelection(this.props.pixelID);c("AdsPixelViewActions").dialogTypeChange(c("AdsPixelDialogTypes").VIEW_CODE)}.bind(this),p}n.getStores=function(){return[c("AdsPixelTableSettingStore")]};n.calculateState=function(){return{viewPixelCodeSelectedID:c("AdsPixelTableSettingStore").getViewPixelCodeSelectedID()}};n.prototype.render=function(){return c("React").createElement(c("SignalsTooltipInfo.react"),{iconURL:"/images/ads/signals/icons/OrangeWarning_16x14.png",message:this.$AdsPixelGetHelpFlyoutLink1(),position:"right"})};n.prototype.$AdsPixelGetHelpFlyoutLink2=function(){return c("React").createElement("div",{className:"_3_2p"},c("React").createElement(c("SUIButton.react"),{label:i._("View Pixel Code"),theme:c("SUIBusinessTheme"),use:"confirm",onClick:this.$AdsPixelGetHelpFlyoutLink3}))};n.prototype.$AdsPixelGetHelpFlyoutLink1=function(){var o=void 0;switch(this.props.pixelStatus){case c("AdsPixelStatusEnum").INACTIVE:o=i._("We haven't received any events for this pixel in more than 7 days. Make sure the pixel code is properly installed or configured on your website.");break;case c("AdsPixelStatusEnum").NEVER_ACTIVE:o=i._("We haven't received any events for this pixel yet. Make sure the pixel code is properly installed or configured on your website.");break;default:j(0)}return c("React").createElement("div",{className:"_3_2q"},c("React").createElement("div",{className:"_583m"},o),c("React").createElement("hr",null),this.$AdsPixelGetHelpFlyoutLink2())};n.propTypes={pixelStatus:m.string.isRequired,pixelID:m.string};f.exports=c("AdsFluxContainer").create(n,{name:f.id})}),null);
__d("SignalsStatusEnum",["keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirror")({ACTIVE:null,INACTIVE:null,NEVER_ACTIVE:null});f.exports=h}),null);
__d("AdsPixelStatusUtils",["cx","fbt","invariant","ix","AdsPixelConstants","AdsPixelStatusEnum","Image.react","React","SignalsStatusEnum","ex"],(function a(b,c,d,e,f,g,h,i,j,k){"use strict";__p&&__p();var l=c("AdsPixelConstants").statuses,m="-1 days",n="-15 days",o="-30 days",p={getUserFacingStatus:function q(r){switch(r){case c("AdsPixelStatusEnum").ACTIVE:return i._("Active");case c("AdsPixelStatusEnum").INACTIVE:return i._("No Recent Activity");case c("AdsPixelStatusEnum").NEVER_ACTIVE:return i._("No Activity Yet");default:j(0)}},getStatsStartTime:function q(){return n},getStatsForKPIStartTime:function q(){return m},getStatsMaximumStartTimeForPixel:function q(){return o},getIcon:function q(r){return c("React").createElement(c("Image.react"),{className:"_3-8_",src:this._getIconSrc(r)})},_getIconSrc:function q(r){switch(r){case c("AdsPixelStatusEnum").ACTIVE:return k("23293");case c("AdsPixelStatusEnum").INACTIVE:return k("23292");case c("AdsPixelStatusEnum").NEVER_ACTIVE:return k("23294");default:j(0)}},convertLegacyPixelStatus:function q(r){switch(r){case l.ACTIVE:return c("AdsPixelStatusEnum").ACTIVE;case l.INACTIVE:return c("AdsPixelStatusEnum").INACTIVE;case l.UNVERIFIED:case l.DELETED:return c("AdsPixelStatusEnum").NEVER_ACTIVE;default:throw new Error(c("ex")("Invalid legacy pixel status %s",r))}},convertToSignalsStatus:function q(r){switch(r){case c("AdsPixelStatusEnum").ACTIVE:return c("SignalsStatusEnum").ACTIVE;case c("AdsPixelStatusEnum").INACTIVE:return c("SignalsStatusEnum").INACTIVE;case c("AdsPixelStatusEnum").NEVER_ACTIVE:return c("SignalsStatusEnum").NEVER_ACTIVE;default:throw new Error(c("ex")("Invalid pixel status %s",r))}}};f.exports=p}),null);
__d("signalsNow",["AdsCurrentUser","DateTime","Timezone"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("Timezone").UTC,i=c("Timezone").PST8PDT;function j(){return j.getNow()}j.getNow=function(){return c("DateTime").localNow().instant};j.UTC=h;j.PST8PDT=i;j.LOCAL_TIMEZONE_ID=c("AdsCurrentUser").timezoneID||c("Timezone").getEnvironmentTimezoneID();j.asPSTDateTime=function(){return new(c("DateTime"))(j.getNow(),i)};j.asUTCDateTime=function(){return new(c("DateTime"))(j.getNow(),h)};j.asLocalDateTime=function(){return new(c("DateTime"))(j.getNow(),j.LOCAL_TIMEZONE_ID)};f.exports=j}),null);
__d("AdsPixelStatusBase",["fbt","invariant","AdsPixelStatusEnum","AdsPixelStatusUtils","DateTime","React","signalsNow"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j=7,k=24,l=60,m=24*60*60;function n(o){this.$AdsPixelStatusBase1=o;this.$AdsPixelStatusBase2=n.getStatusFromLastFiredTime(o)}n.prototype.getUserFacingStatus=function(){return c("AdsPixelStatusUtils").getUserFacingStatus(this.$AdsPixelStatusBase2)};n.prototype.getIcon=function(){return c("AdsPixelStatusUtils").getIcon(this.$AdsPixelStatusBase2)};n.prototype.getDetail=function(){var o=void 0;if(this.$AdsPixelStatusBase2==c("AdsPixelStatusEnum").ACTIVE||this.$AdsPixelStatusBase2==c("AdsPixelStatusEnum").INACTIVE)o=this.$AdsPixelStatusBase3();else if(this.$AdsPixelStatusBase2!=c("AdsPixelStatusEnum").NEVER_ACTIVE)i(0);return o};n.prototype.getWarning=function(){return this.$AdsPixelStatusBase2==c("AdsPixelStatusEnum").NEVER_ACTIVE||this.$AdsPixelStatusBase2==c("AdsPixelStatusEnum").INACTIVE?this.__getHelpLink():undefined};n.prototype.getStatus=function(){return this.$AdsPixelStatusBase2};n.prototype.getSUIStatusIndicatorStatus=function(){__p&&__p();var o="error";switch(this.$AdsPixelStatusBase2){case c("AdsPixelStatusEnum").ACTIVE:o="active";break;case c("AdsPixelStatusEnum").INACTIVE:o="inactive";break;case c("AdsPixelStatusEnum").NEVER_ACTIVE:o="warning";break;default:i(0)}return o};n.prototype.getLastReceivedSentence=function(){__p&&__p();if(this.$AdsPixelStatusBase2===c("AdsPixelStatusEnum").NEVER_ACTIVE)return undefined;var o=n.getDaysAfterLastFired(this.$AdsPixelStatusBase1),p=o*k;if(p<1){var q=p*l;if(q<=1)return h._("in the Last Minute");else{var r=Math.floor(q);return r==1?h._("1 Minute Ago"):h._("{number} Minutes Ago",[h.param("number",r)])}}if(p<k){var s=Math.floor(p);return s==1?h._("1 Hour Ago"):h._("{number} Hours Ago",[h.param("number",s)])}o=Math.floor(o);return o==1?h._("1 Day Ago"):h._("{number} Days Ago",[h.param("number",o)])};n.getStatusFromLastFiredTime=function(o){if(!o)return c("AdsPixelStatusEnum").NEVER_ACTIVE;var p=n.getDaysAfterLastFired(o);if(p>j)return c("AdsPixelStatusEnum").INACTIVE;return c("AdsPixelStatusEnum").ACTIVE};n.getDaysAfterLastFired=function(o){var p=o?c("DateTime").fromISOString(o,c("signalsNow").LOCAL_TIMEZONE_ID):c("signalsNow").asLocalDateTime(),q=c("signalsNow").asLocalDateTime();return(q.getUnixTimestampSeconds()-p.getUnixTimestampSeconds())/m};n.prototype.__getHelpLink=function(){return c("React").createElement("div",null)};n.prototype.$AdsPixelStatusBase3=function(){__p&&__p();var o=n.getDaysAfterLastFired(this.$AdsPixelStatusBase1),p=Math.round(o*k);if(p<=1)return h._("Last Received in the Last Hour");if(p<k)return h._("Last Received {number} Hours Ago",[h.param("number",p)]);o=Math.round(o);if(o<=1)return h._("Last Received 1 Day Ago");if(o<=j)return h._("Last Received {number} Days Ago",[h.param("number",o)]);return h._("No Activity for {number} Days",[h.param("number",o)])};f.exports=n}),null);
__d("AdsPixelStatus",["AdsPixelGetHelpFlyoutLink.react","AdsPixelStatusBase","React"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("AdsPixelStatusBase"));i=h&&h.prototype;function j(k,l){i.constructor.call(this,k);this.$AdsPixelStatus1=l||""}j.prototype.__getHelpLink=function(){return c("React").createElement(c("AdsPixelGetHelpFlyoutLink.react"),{pixelID:this.$AdsPixelStatus1,pixelStatus:this.getStatus()})};f.exports=j}),null);
__d("AdsAdObjectUpdateSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"AD_OBJECT.UPDATE_SUCCESS");f.exports=h}),null);
__d("AdsSlideshowCreateDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CREATE");f.exports=h}),null);
__d("AdsSlideshowCreateResetDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CREATE_RESET");f.exports=h}),null);
__d("AdsSlideshowResetAllDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RESET_ALL");f.exports=h}),null);
__d("AdsAPICampaignGroupRecord",["AdsAPICampaignGroupPaths","RecordClassWithToJSCached","recordFromPaths"],(function a(b,c,d,e,f,g){"use strict";var h,i,j=c("RecordClassWithToJSCached").extendRecordClass(c("recordFromPaths")(c("AdsAPICampaignGroupPaths")));h=babelHelpers.inherits(k,j);i=h&&h.prototype;function k(){h.apply(this,arguments)}f.exports=k}),null);
__d("AdsBulkImageUtils",["AdsEmptyValue","AdsImageConstants","getByPath"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={getImageHashPath:function i(j){var k=c("AdsImageConstants").IMAGE_HASH_PATHS;for(var l=0;l<k.length;l++){var m=c("getByPath")(j,k[l]);if(m&&!(m instanceof c("AdsEmptyValue")))return k[l]}return null},getImageHash:function i(j){var k=h.getImageHashPath(j);return k?c("getByPath")(j,k):c("AdsEmptyValue").instance()},getImageUrlPath:function i(j){var k=c("AdsImageConstants").IMAGE_URL_PATHS;for(var l=0;l<k.length;l++){var m=c("getByPath")(j,k[l]);if(m&&!(m instanceof c("AdsEmptyValue")))return k[l]}return null},getImageUrl:function i(j){var k=h.getImageUrlPath(j);return k?c("getByPath")(j,k):c("AdsEmptyValue").instance()}};f.exports=h}),null);
__d("isInvalidFacebookCapitalization",[],(function a(b,c,d,e,f,g){"use strict";function h(i){var j=!!/(\s|^)\b(?!Facebook)[Ff][Aa][Cc][Ee][Bb][Oo][Oo][Kk]\b(?!.com)/.test(i);return j}f.exports=h}),null);
__d("SUIModalFooter.react",["cx","Locale","React","SUIComponent","SUIHorizontalLayout.react","SUITheme"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("Locale").isRTL;i=babelHelpers.inherits(l,c("SUIComponent"));j=i&&i.prototype;l.prototype.render=function(){var m=c("SUITheme").get(this).SUIModalFooter;return c("React").createElement("div",{className:"_3xni _3-8t _2pi4",style:{borderTop:"1px solid "+m.topBorderColor}},c("React").createElement("span",{className:k()?"_3xnj":null},this.props.leftContent),c("React").createElement("span",{className:k()?null:"_3xnj"},c("React").createElement(c("SUIHorizontalLayout.react"),null,this.props.secondaryButton,this.props.primaryButton)))};function l(){i.apply(this,arguments)}f.exports=l}),null);
__d("AdsAPIPacingType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({STANDARD:"standard",DISABLED:"disabled",DAY_PARTING:"day_parting",NO_PACING:"no_pacing",PROBABILISTIC_PACING:"probabilistic_pacing",PROBABILISTIC_PACING_V2:"probabilistic_pacing_v2"})}),null);
__d("AdsInterfacesScenarioTerminalStatus",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({START:"start",SUCCESS:"success",FAIL:"fail",ABANDONED:"abandoned",TIMEOUT:"timeout"})}),null);
__d("ApiPlaceDataTypes",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({DYNAMIC:"DYNAMIC",REALTIME:"REALTIME",SINGLE:"SINGLE"})}),null);