/*!CK:679582035!*//*1459382622,*/

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

__d("PagesComposerPostActionsLoggerEvent",[],function a(b,c,d,e,f,g){c.__markCompiled&&c.__markCompiled();f.exports={PUBLISH:"publish",SCRAPED:"scraped",UPLOAD:"upload",IMAGE_SELECT:"image_select",IMAGE_UNSELECT_ON_UPLOAD_BAR:"image_unselect_on_upload_bar",IMAGE_UNSELECT_ON_CAROUSEL_CARD:"image_unselect_on_carousel_card",IMAGE_UNSELECT_ON_LPP_CARD:"image_unselect_on_carousel_card",IMAGE_CHANGE_LEFT_RIGHT:"image_change_left_right",IMAGE_DRAG:"image_drag",LPP_DESCRIPTION_EDIT:"lpp_description_edit",CAROUSEL_DESCRIPTION_EDIT:"carousel_description_edit",LPP_TITLE_EDIT:"lpp_title_edit",CAROUSEL_TITLE_EDIT:"carousel_title_edit",CHILD_IMAGES_NUM_INCONSISTENT:"child_images_num_inconsistent",CHILD_IMAGES_LINK_INCONSISTENT:"child_images_link_inconsistent",ATTACHMENT_STYLE_INVALID:"attachment_style_invalid",EDIT_URL:"edit_url",CLICK_UPLOAD_PHOTO_IN_PHOTO_TAB:"click_upload_photo_in_photo_tab",CLICK_UPLOAD_BUTTON_IN_TOOLBAR:"click_upload_button_in_toolbar",DRAG_PHOTO_TO_COMPOSER:"drag_photo_to_composer",CLICK_PHOTO_CAROUSEL_CREATE_TAB:"click_photo_carousel_create_tab",CLICK_SLIDESHOW_CREATE_TAB:"click_slideshow_create_tab",CLICK_CANVAS_CREATE_TAB:"click_canvas_create_tab",SHOW_PHOTO_CAROUSEL_CREATE_TAB:"show_photo_carousel_create_tab",REMOVE_PHOTO_CAROUSEL_URL_INPUT:"remove_photo_carousel_url_input",CLICK_UPLOAD_PHOTO_OPTION:"click_upload_photo_option",CLICK_PHOTO_ALBUM_OPTION:"click_photo_album_option",PREFILL_SCRAPE_URL:"prefill_scrape_url",EDIT_URL_APPLY_ALL:"edit_url_apply_all",UNKNOWN:"unknown"};},null);
__d("ReactComposerTaggerType",[],function a(b,c,d,e,f,g){c.__markCompiled&&c.__markCompiled();f.exports={CAMERA:"CAMERA",PEOPLE:"PEOPLE",OG:"OG",LOCATION:"LOCATION",ACTIVITY:"ACTIVITY",BACKDATE:"BACKDATE",TARGETING:"TARGETING",SPONSOR:"SPONSOR",VAULTPHOTO:"VAULTPHOTO",MARKDOWN:"MARKDOWN",CONTENT_WARNINGS:"CONTENT_WARNINGS"};},null);
__d('PagesComposerActionsLogger',['Banzai'],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h='pages_composer_actions',i='actions';function j(l){return {log:function(m,n){n=n?n:i;c('Banzai').post(h+':'+n,m,l);},create:null};}var k=j();k.create=j;f.exports=k;},null);
__d('EntStreamGroupMall',['DOM','$','ge'],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h={replacePager:function(i){c('DOM').setContent(c('$')('pagelet_group_pager'),i);},replaceFilesPager:function(i,j){c('DOM').setContent(c('$')('group_files_pager_'+j),i);},replacePostApprovalSection:function(i){var j=c('ge')('pagelet_consolidate_posts');if(j!==null)c('DOM').setContent(j,i);}};f.exports=h;},null);
__d('LitestandComposer',['Arbiter','Bootloader','ReactComposerIDGenerator','Run','SubscriptionsHandler'],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=600;function i(k,l){c('Bootloader').loadModules(["Animation","ComposerXController","ComposerXMarauderLogger","DOM","LitestandStream"],function(m,n,o,p,q){if(!c('ReactComposerIDGenerator').isComposerID(k))n.reset(k);if(!q||!l)return;p.prependContent(q.getStreamRoot(),l);new m(l).from('opacity',0).to('opacity',1).duration(h).go();o.logCompleted(k);});}var j={initComposer:function(k){var l=new (c('SubscriptionsHandler'))();l.addSubscriptions(c('Arbiter').subscribe('LitestandComposer/publish',function(m,n){if(n.composer_id===k)i(k,n.markup);}.bind(this)));c('Run').onLeave(function(){l.release();});}};f.exports=j;},null);
__d('ReactComposerPhotoActionType',['keyMirror'],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();f.exports=c('keyMirror')({PHOTO_RECOGNITION_STARTED:null,PHOTO_RECOGNITION_FINISHED:null,PHOTO_RECOGNITION_ALL_FINISHED:null,PHOTO_ADD_FACEBOX:null,PHOTO_TAG_FACEBOX:null,PHOTO_TAG_XY:null,PHOTO_UNTAG_FACEBOX:null,PHOTO_REMOVE:null,PHOTO_UNTAG_SUBJECT_FROM_ALL_PHOTOS:null,PHOTO_EDIT_STARTED:null,PHOTO_EDIT_FINISHED:null,PHOTO_SET_BEING_TAGGED:null,PHOTO_LOADING_EDIT_FINISHED:null});},null);
__d('ReactComposerPhotoUploadActionType',['keyMirror'],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();f.exports=c('keyMirror')({PHOTO_UPLOAD_INPUT_CLICKED:null,PHOTO_UPLOAD_ENQUEUED:null,PHOTO_UPLOAD_RESIZE_STARTED:null,PHOTO_UPLOAD_RESIZE_PROGRESS:null,PHOTO_UPLOAD_RESIZE_DONE:null,PHOTO_UPLOAD_RESIZE_FAILED:null,PHOTO_UPLOAD_RESIZER_UNAVAILABLE:null,PHOTO_UPLOAD_UPLOADING:null,PHOTO_UPLOAD_PROGRESS:null,PHOTO_UPLOAD_DONE:null,PHOTO_UPLOAD_FAILED:null,PHOTO_UPLOAD_REMOVE:null,PHOTO_UPLOAD_MOVED:null,PHOTO_UPLOAD_RETRY:null,PHOTOS_SELECT:null,PREFILL_PHOTOS:null});},null);
__d('ReactComposerPhotoStore',['ReactComposerPhotoActionType','ReactComposerPhotoUploadActionType','ReactComposerStoreBase','immutable'],function a(b,c,d,e,f,g){var h,i;if(c.__markCompiled)c.__markCompiled();var j=c('immutable').Record({faceboxes:c('immutable').Map(),id:null,isLoadingPhotoEdit:false,isRecognizingFaceboxes:false,thumbSrc:null,uploadID:null,xyTags:c('immutable').Map()}),k=c('immutable').Record({id:null,photoID:null,x:null,y:null,top:null,left:null,width:null,height:null,croppedURI:null,taggedSubjectID:null,taggedValue:null,isMagicTag:false,recognizedSubjectID:null}),l=c('immutable').Record({from_facebox:false,name:null,photoID:null,source:null,subject:null,x:null,y:null});h=babelHelpers.inherits(m,c('ReactComposerStoreBase'));i=h&&h.prototype;function m(){'use strict';var n;i.constructor.call(this,function(){return {photos:c('immutable').Map(),photoBeingTagged:null};},function(o){switch(o.type){case c('ReactComposerPhotoUploadActionType').PHOTO_UPLOAD_DONE:n&&n.$ReactComposerPhotoStore1(o);break;case c('ReactComposerPhotoActionType').PHOTO_RECOGNITION_STARTED:n&&n.$ReactComposerPhotoStore2(o);break;case c('ReactComposerPhotoActionType').PHOTO_RECOGNITION_FINISHED:n&&n.$ReactComposerPhotoStore3(o);break;case c('ReactComposerPhotoActionType').PHOTO_RECOGNITION_ALL_FINISHED:n&&n.$ReactComposerPhotoStore4(o);break;case c('ReactComposerPhotoActionType').PHOTO_ADD_FACEBOX:n&&n.$ReactComposerPhotoStore5(o);break;case c('ReactComposerPhotoActionType').PHOTO_TAG_XY:n&&n.$ReactComposerPhotoStore6(o);break;case c('ReactComposerPhotoActionType').PHOTO_TAG_FACEBOX:n&&n.$ReactComposerPhotoStore7(o);break;case c('ReactComposerPhotoActionType').PHOTO_UNTAG_FACEBOX:n&&n.$ReactComposerPhotoStore8(o);break;case c('ReactComposerPhotoActionType').PHOTO_REMOVE:n&&n.$ReactComposerPhotoStore9(o);break;case c('ReactComposerPhotoActionType').PHOTO_UNTAG_SUBJECT_FROM_ALL_PHOTOS:n&&n.$ReactComposerPhotoStore10(o);break;case c('ReactComposerPhotoActionType').PHOTO_SET_BEING_TAGGED:n&&n.$ReactComposerPhotoStore11(o);break;case c('ReactComposerPhotoUploadActionType').PREFILL_PHOTOS:n&&n.$ReactComposerPhotoStore12(o);break;case c('ReactComposerPhotoActionType').PHOTO_EDIT_STARTED:n&&n.$ReactComposerPhotoStore13(o);break;case c('ReactComposerPhotoActionType').PHOTO_LOADING_EDIT_FINISHED:n&&n.$ReactComposerPhotoStore14(o);break;default:}});n=this;}m.prototype.getPhotos=function(n){'use strict';return this.getComposerData(n).photos;};m.prototype.isLimitExceeded=function(n,o){'use strict';return this.getPhotos(n).size>o;};m.prototype.getPhoto=function(n,o){'use strict';return this.getComposerData(n).photos.get(o);};m.prototype.isRecognizing=function(n){'use strict';return this.getComposerData(n).photos.some(function(o){return o.isRecognizingFaceboxes;});};m.prototype.getIsSubjectTagged=function(n,o){'use strict';var p=this.getComposerData(n).photos;return p.some(function(q){return this.getIsSubjectTaggedInPhoto(n,q.id,o);}.bind(this));};m.prototype.getIsSubjectTaggedInPhoto=function(n,o,p){'use strict';var q=this.getPhoto(n,o),r=q.faceboxes.some(function(t){return t.taggedSubjectID===p;}),s=q.xyTags.some(function(t){return (t.subject===p);});return r||s;};m.prototype.hasTagsInPhoto=function(n,o){'use strict';var p=this.getPhoto(n,o);if(!p)return false;var q=p.faceboxes.some(function(s){return s.taggedSubjectID!==null;}),r=p.xyTags.size>0;return q||r;};m.prototype.getAllTaggedFaceboxes=function(n){'use strict';var o=this.getPhotos(n),p=[];o.forEach(function(q){p=p.concat(q.faceboxes.toArray());});return p.filter(function(q){return !!q.get('taggedSubjectID');});};m.prototype.getTaggedFaceboxes=function(n,o){'use strict';var p=this.getPhoto(n,o);return !p?null:p.faceboxes.filter(function(q){return !!q.get('taggedSubjectID');}).map(function(q){return q.toObject();}).toArray();};m.prototype.getXYTags=function(n,o){'use strict';var p=this.getPhoto(n,o);return !p?null:p.xyTags.map(function(q){return q.toObject();}).toArray();};m.prototype.getAllXYTags=function(n){'use strict';var o=this.getPhotos(n),p=[];o.forEach(function(q){p=p.concat(q.xyTags.toArray());});return p;};m.prototype.getPhotoBeingTagged=function(n){'use strict';return this.getComposerData(n).photoBeingTagged;};m.prototype.$ReactComposerPhotoStore1=function(n){'use strict';var o=this.validateAction(n,['composerID','uploadID','photoID','thumbSrc']),p=o[0],q=o[1],r=o[2],s=o[3];this.$ReactComposerPhotoStore15(p,r,new j({id:r,uploadID:q,thumbSrc:s}));this.emitChange(p);};m.prototype.$ReactComposerPhotoStore2=function(n){'use strict';var o=this.validateAction(n,['composerID','photoID']),p=o[0],q=o[1],r=this.getComposerData(p);r.photos=r.photos.update(q,function(s){return (s.set('isRecognizingFaceboxes',true));});this.emitChange(p);};m.prototype.$ReactComposerPhotoStore3=function(n){'use strict';var o=this.validateAction(n,['composerID','photoID']),p=o[0],q=o[1],r=this.getComposerData(p);r.photos=r.photos.update(q,function(s){return (s.set('isRecognizingFaceboxes',false));});this.emitChange(p);};m.prototype.$ReactComposerPhotoStore4=function(n){'use strict';var o=this.validateAction(n,['composerID','photos']),p=o[0],q=o[1],r=this.getComposerData(p);r.photos=r.photos.map(function(s){return q.indexOf(s.id)!==-1?s.set('isRecognizingFaceboxes',false):s;});this.emitChange(p);};m.prototype.$ReactComposerPhotoStore5=function(n){'use strict';var o=this.validateAction(n,['composerID','photoID','facebox']),p=o[0],q=o[1],r=o[2],s=this.getComposerData(p),t=r.bestRecognition,u=null,v=null;if(t){u=t.subjectID;v=t.value;}s.photos=s.photos.update(q,function(w){return (w.update('faceboxes',function(x){return (x.set(r.id,new k({id:r.id,photoID:q,x:r.x,y:r.y,top:r.top,left:r.left,width:r.width,height:r.height,croppedURI:r.croppedURI,taggedSubjectID:u,taggedValue:v,isMagicTag:!!u,recognizedSubjectID:u})));}));});this.emitChange(p);};m.prototype.$ReactComposerPhotoStore6=function(n){'use strict';var o=this.validateAction(n,['composerID','value','photoID','source','subject','x','y']),p=o[0],q=o[1],r=o[2],s=o[3],t=o[4],u=o[5],v=o[6],w=this.getComposerData(p);w.photos=w.photos.update(r,function(z){return (z.update('xyTags',function(aa){return (aa.set(t,new l({name:q,photoID:r,source:s,subject:t,x:u,y:v})));}));});this.emitChange(p);};m.prototype.$ReactComposerPhotoStore7=function(n){'use strict';var o=this.validateAction(n,['composerID','photoID','faceboxID','subjectID','value']),p=o[0],q=o[1],r=o[2],s=o[3],t=o[4],u=this.getComposerData(p);u.photos=u.photos.update(q,function(v){return (v.update('faceboxes',function(w){return (w.update(r,function(x){return x.withMutations(function(y){return y.set('taggedSubjectID',s).set('taggedValue',t).set('isMagicTag',false);});}));}));});this.emitChange(p);};m.prototype.$ReactComposerPhotoStore8=function(n){'use strict';var o=this.validateAction(n,['composerID','photoID','faceboxID']),p=o[0],q=o[1],r=o[2],s=this.getComposerData(p);s.photos=s.photos.update(q,function(t){return (t.update('faceboxes',function(u){return (u.update(r,function(v){return v.withMutations(function(w){return w.remove('taggedSubjectID').remove('taggedValue').set('isMagicTag',false);});}));}));});this.emitChange(p);};m.prototype.$ReactComposerPhotoStore9=function(n){'use strict';var o=this.validateAction(n,['composerID','photoID']),p=o[0],q=o[1],r=this.getComposerData(p);r.photos=r.photos['delete'](q);};m.prototype.$ReactComposerPhotoStore10=function(n){'use strict';var o=this.validateAction(n,['composerID','subjectID']),p=o[0],q=o[1],r=this.getComposerData(p);r.photos=r.photos.map(function(s){return (s.withMutations(function(t){return t.update('faceboxes',function(u){return (u.map(function(v){if(v.taggedSubjectID!==q)return v;return v.withMutations(function(w){return w.remove('taggedSubjectID').remove('taggedValue').set('isMagicTag',false);});}));}).update('xyTags',function(u){return (u.filterNot(function(v){return v.subject===q;}));});}));});this.emitChange(p);};m.prototype.$ReactComposerPhotoStore11=function(n){'use strict';var o=this.validateAction(n,['composerID','photoID']),p=o[0],q=o[1],r=this.getComposerData(p);r.photoBeingTagged=q;this.emitChange(p);};m.prototype.$ReactComposerPhotoStore12=function(n){'use strict';var o=this.validateAction(n,['composerID','photos']),p=o[0],q=o[1];q.forEach(function(r){this.$ReactComposerPhotoStore15(p,r.photoID,new j({id:r.photoID,uploadID:r.uploadID,thumbSrc:r.thumbSrc}));}.bind(this));this.emitChange(p);};m.prototype.$ReactComposerPhotoStore13=function(n){'use strict';var o=this.validateAction(n,['composerID','photoID']),p=o[0],q=o[1],r=this.getComposerData(p);r.photos=r.photos.update(q,function(s){return (s.set('isLoadingPhotoEdit',true));});this.emitChange(p);};m.prototype.$ReactComposerPhotoStore14=function(n){'use strict';var o=this.validateAction(n,['composerID','photoID']),p=o[0],q=o[1],r=this.getComposerData(p);r.photos=r.photos.update(q,function(s){return (s.set('isLoadingPhotoEdit',false));});this.emitChange(p);};m.prototype.$ReactComposerPhotoStore15=function(n,o,p){'use strict';var q=this.getComposerData(n);q.photos=q.photos.set(o,p);};f.exports=new m();},null);
__d('ReactComposerQuestionAttachmentSelector.react',['fbt','ix','ReactComposerAttachmentSelectorContainer.react','ReactComposerAttachmentType','ReactComponentWithPureRenderMixin','React'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j=c('React').PropTypes,k=c('React').createClass({displayName:'ReactComposerQuestionAttachmentSelector',mixins:[c('ReactComponentWithPureRenderMixin')],propTypes:{label:j.string},getDefaultProps:function(){return {label:h._("Create Poll")};},render:function(){return (c('React').createElement(c('ReactComposerAttachmentSelectorContainer.react'),{attachmentID:c('ReactComposerAttachmentType').QUESTION,label:this.props.label,icon:i('/images/litestand/composer/icons/questions.png')}));}});f.exports=k;},null);
__d('ReactComposerTaggerActionType',['keyMirror'],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();f.exports=c('keyMirror')({SET_SELECTED_TAGGER:null,UPDATE_TAGGERS_SOURCE:null,SET_TAGGER_SOURCE:null,SET_TAGGER_DATA:null});},null);
__d('ReactComposerTaggerStore',['ReactComposerAttachmentStore','ReactComposerAttachmentType','ReactComposerDispatcher','ReactComposerPhotoActionType','ReactComposerPhotoStore','ReactComposerPhotoUploadActionType','ReactComposerStoreBase','ReactComposerTaggerActionType','ReactComposerTaggerType','immutable','SearchableEntry','isEmpty'],function a(b,c,d,e,f,g){var h,i;if(c.__markCompiled)c.__markCompiled();h=babelHelpers.inherits(j,c('ReactComposerStoreBase'));i=h&&h.prototype;function j(){'use strict';var k;i.constructor.call(this,function(){var l={};l[c('ReactComposerTaggerType').PEOPLE]=[];l[c('ReactComposerTaggerType').LOCATION]={};l[c('ReactComposerTaggerType').BACKDATE]={};l[c('ReactComposerTaggerType').ACTIVITY]={};l[c('ReactComposerTaggerType').TARGETING]={};l[c('ReactComposerTaggerType').SPONSOR]=[];l[c('ReactComposerTaggerType').MARKDOWN]={};l[c('ReactComposerTaggerType').CONTENT_WARNINGS]=[];return {$ReactComposerTaggerStore1:c('immutable').Set(),autoFocusOnSelectedTagger:true,selectedTagger:null,taggersData:l,taggersSource:{}};},function(l){switch(l.type){case c('ReactComposerTaggerActionType').SET_SELECTED_TAGGER:k&&k.$ReactComposerTaggerStore2(l);break;case c('ReactComposerTaggerActionType').UPDATE_TAGGERS_SOURCE:k&&k.$ReactComposerTaggerStore3(l);break;case c('ReactComposerTaggerActionType').SET_TAGGER_SOURCE:k&&k.$ReactComposerTaggerStore4(l);break;case c('ReactComposerTaggerActionType').SET_TAGGER_DATA:k&&k.$ReactComposerTaggerStore5(l);break;case c('ReactComposerPhotoActionType').PHOTO_ADD_FACEBOX:k&&k.$ReactComposerTaggerStore6(l);break;case c('ReactComposerPhotoActionType').PHOTO_TAG_XY:k&&k.$ReactComposerTaggerStore7(l);break;case c('ReactComposerPhotoActionType').PHOTO_TAG_FACEBOX:k&&k.$ReactComposerTaggerStore8(l);break;case c('ReactComposerPhotoActionType').PHOTO_UNTAG_FACEBOX:c('ReactComposerDispatcher').waitFor([c('ReactComposerPhotoStore').getDispatchToken()]);k&&k.$ReactComposerTaggerStore9(l);break;case c('ReactComposerPhotoActionType').PHOTO_REMOVE:c('ReactComposerDispatcher').waitFor([c('ReactComposerPhotoStore').getDispatchToken()]);k&&k.$ReactComposerTaggerStore10(l);break;case c('ReactComposerPhotoUploadActionType').PHOTO_UPLOAD_DONE:k&&k.$ReactComposerTaggerStore11(l);break;}});k=this;}j.prototype.hasData=function(k,l){'use strict';var m=this.getTaggerData(k,l);if(m==null)return false;switch(l){case c('ReactComposerTaggerType').PEOPLE:case c('ReactComposerTaggerType').SPONSOR:case c('ReactComposerTaggerType').CONTENT_WARNINGS:return m.length>0;case c('ReactComposerTaggerType').LOCATION:return !!m.place;case c('ReactComposerTaggerType').BACKDATE:return !!m.year;case c('ReactComposerTaggerType').ACTIVITY:return !!m.action&&!!m.object;case c('ReactComposerTaggerType').TARGETING:case c('ReactComposerTaggerType').MARKDOWN:return !c('isEmpty')(m);default:throw new Error(l+" is an unhandled tagger type in "+"ReactComposerTaggerStore.hasData");}};j.prototype.areAllTaggersEmpty=function(k){'use strict';var l=this.getTaggersData(k);for(var m in l)if(this.hasData(k,m))return false;return true;};j.prototype.getSelectedTagger=function(k){'use strict';return this.getComposerData(k).selectedTagger;};j.prototype.getAutoFocusOnSelectedTagger=function(k){'use strict';return this.getComposerData(k).autoFocusOnSelectedTagger;};j.prototype.getTaggerSource=function(k,l){'use strict';return this.getComposerData(k).taggersSource[l];};j.prototype.getTaggerData=function(k,l){'use strict';return this.getComposerData(k).taggersData[l];};j.prototype.getTaggersData=function(k){'use strict';return this.getComposerData(k).taggersData;};j.prototype.$ReactComposerTaggerStore2=function(k){'use strict';var l=this.getComposerData(k.composerID);if(l.selectedTagger===k.taggerID&&!k.disableToggle){l.selectedTagger=null;}else l.selectedTagger=k.taggerID;l.autoFocusOnSelectedTagger=k.autoFocus;this.emitChange(k.composerID);};j.prototype.$ReactComposerTaggerStore4=function(k){'use strict';var l=this.getComposerData(k.composerID);l.taggersSource[k.taggerID]=k.taggerSource;this.emitChange(k.composerID);};j.prototype.$ReactComposerTaggerStore3=function(k){'use strict';var l=this.validateAction(k,['composerID','taggersSource']),m=l[0],n=l[1],o=this.getComposerData(m);for(var p in n)o.taggersSource[p]=n[p];this.emitChange(m);};j.prototype.$ReactComposerTaggerStore5=function(k){'use strict';var l=this.getComposerData(k.composerID),m=Array.isArray(k.taggerData)?k.taggerData.slice():Object.assign({},k.taggerData);l.taggersData[k.taggerID]=m;this.emitChange(k.composerID);};j.prototype.$ReactComposerTaggerStore11=function(k){'use strict';var l=this.getComposerData(k.composerID),m=c('ReactComposerAttachmentStore').getIsAttachmentSelected(k.composerID,c('ReactComposerAttachmentType').MEDIA);if(l.selectedTagger===null){var n=k.mediaLocation;if(n!=null&&!n.disableFlowing){l.selectedTagger=c('ReactComposerTaggerType').LOCATION;l.autoFocusOnSelectedTagger=true;}else if(m){l.selectedTagger=c('ReactComposerTaggerType').PEOPLE;l.autoFocusOnSelectedTagger=false;}}var o=Object.assign({mediaLocation:k.mediaLocation},l.taggersData[c('ReactComposerTaggerType').LOCATION]);l.taggersData[c('ReactComposerTaggerType').LOCATION]=o;this.emitChange(k.composerID);};j.prototype.$ReactComposerTaggerStore6=function(k){'use strict';var l=this.validateAction(k,['composerID','facebox']),m=l[0],n=l[1],o=n.bestRecognition;if(o)this.$ReactComposerTaggerStore12(m,o.subjectID,o.value);};j.prototype.$ReactComposerTaggerStore7=function(k){'use strict';var l=this.validateAction(k,['composerID','subject','value']),m=l[0],n=l[1],o=l[2];this.$ReactComposerTaggerStore12(m,n,o);};j.prototype.$ReactComposerTaggerStore8=function(k){'use strict';var l=this.validateAction(k,['composerID','subjectID','value']),m=l[0],n=l[1],o=l[2];this.$ReactComposerTaggerStore12(m,n,o);};j.prototype.$ReactComposerTaggerStore9=function(k){'use strict';var l=this.validateAction(k,['composerID','subjectID']),m=l[0],n=l[1];if(!c('ReactComposerPhotoStore').getIsSubjectTagged(m,n))this.$ReactComposerTaggerStore13(m,n);};j.prototype.$ReactComposerTaggerStore10=function(k){'use strict';var l=this.validateAction(k,'composerID');this.getComposerData(l).$ReactComposerTaggerStore1.forEach(function(m){if(!c('ReactComposerPhotoStore').getIsSubjectTagged(l,m))this.$ReactComposerTaggerStore13(l,m);}.bind(this));};j.prototype.$ReactComposerTaggerStore12=function(k,l,m){'use strict';var n=new (c('SearchableEntry'))({uniqueID:l,title:m,auxiliaryData:{isFacebox:true}}),o=this.getComposerData(k),p=o.taggersData[c('ReactComposerTaggerType').PEOPLE],q=p.some(function(r){return r.getUniqueID()===n.getUniqueID();});o.$ReactComposerTaggerStore1=o.$ReactComposerTaggerStore1.add(l);if(!q)o.taggersData[c('ReactComposerTaggerType').PEOPLE]=p.concat(n);this.emitChange(k);};j.prototype.$ReactComposerTaggerStore13=function(k,l){'use strict';var m=this.getComposerData(k);m.taggersData[c('ReactComposerTaggerType').PEOPLE]=m.taggersData[c('ReactComposerTaggerType').PEOPLE].filter(function(n){return n.getUniqueID()!==l;});m.$ReactComposerTaggerStore1=m.$ReactComposerTaggerStore1['delete'](l);this.emitChange(k);};f.exports=new j();},null);
__d('ReactComposerMarkdownTaggerButton.react',['cx','fbt','Arbiter','ReactComposerEvents','ReactComposerTaggerActions','ReactComposerTaggerButtonMixin','ReactComposerTaggerStore','ReactComposerTaggerType','React'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j=c('React').createClass({displayName:'ReactComposerMarkdownTaggerButton',mixins:[c('ReactComposerTaggerButtonMixin')],statics:{taggerID:c('ReactComposerTaggerType').MARKDOWN},getTitle:function(){return i._("Format text with Markdown");},getTooltip:function(){return i._("Format text with Markdown");},getClassName:function(){return "_73z";},_onSelectX:function(){var k=c('ReactComposerTaggerStore').hasData(this.context.composerID,this.constructor.taggerID);c('ReactComposerTaggerActions').setTaggerData(this.context.composerID,this.constructor.taggerID,k?null:{isMarkdown:true});c('Arbiter').inform(c('ReactComposerEvents').ACTIVATE_ATTACHMENT+this.context.composerID);}});f.exports=j;},null);
__d('ReactComposerMarkdownTaggerComponent.react',['React','emptyFunction'],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=c('React').PropTypes,i=c('React').createClass({displayName:'ReactComposerMarkdownTaggerComponent',propTypes:{taggerData:h.object.isRequired,onSelect:h.func.isRequired},getDefaultProps:function(){return {taggerData:{},onSelect:c('emptyFunction')};},_onClear:function(){this.props.onSelect({});},render:function(){return c('React').createElement('noscript',null);}});f.exports=i;},null);
__d('ReactComposerMarkdownTaggerContainer.react',['ReactComposerMarkdownTaggerComponent.react','ReactComposerTaggerContainerMixin','ReactComposerTaggerType','React'],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=c('React').createClass({displayName:'ReactComposerMarkdownTaggerContainer',mixins:[c('ReactComposerTaggerContainerMixin')],statics:{taggerID:c('ReactComposerTaggerType').MARKDOWN,taggerComponent:c('ReactComposerMarkdownTaggerComponent.react')}});f.exports=h;},null);
__d('ReactComposerGroupishPeopleTaggerPresenter.react',['GroupMentionsTypeaheadView.react'],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();f.exports={ViewRenderer:c('GroupMentionsTypeaheadView.react'),useLayer:true};},null);