diff --git a/Rakefile b/Rakefile index 0c21bcb..ecb36e1 100644 --- a/Rakefile +++ b/Rakefile @@ -89,11 +89,63 @@ task "cucumber:debug" do ENV['TEST_DEBUG'] = nil end -task deploy: :environment do - if Rails.env.preview? || Rails.env.production? - UserMailer.delay(queue: Rails.env.to_s).server_startup(Rails.env.to_s) - else - UserMailer.server_startup(Rails.env.to_s).deliver_now +namespace :deployment do + task pull: :environment do + branch = Rails.env.production? ? :master : :development + `git reset --hard origin/#{branch}` + raise "\nPull failed" if $?.exitstatus > 0 + changed = !(`git pull` =~ /Already up to date/) + raise "\nPull failed" if $?.exitstatus > 0 + + `bundle install --no-deployment && bundle update bundle install --deployment` + raise "\nPull failed" if $?.exitstatus > 0 + end + + task update: :environment do + tasks = [ + 'lingua_franca:import', + 'bumbleberry:update', + 'assets:clean', + 'assets:precompile', + 'routes', + 'db:migrate' + ] + cmd = tasks.map { |t| "RAILS_ENV=#{Rails.env} bundle exec #{t}"}.join(' && ') + `#{cmd}` + raise "\nUpdate failed" if $?.exitstatus > 0 + end + + task bounce: :environment do + dir = Rails.env.production? ? :rails : Rails.env + pid = `cat /home/unicorn/#{Rails.env}.pid` + sk_pid = `cat /home/unicorn/sidekiq_#{Rails.env}.pid` + sk_processes = Rails.env.production? ? 25 : 5 + + system("kill #{pid}") + `bundle exec unicorn_rails -E #{Rails.env} -D -c /home/#{dir}/config/unicorn.rb` + + system("kill #{sk_pid}") + `bundle exec sidekiq -d -C config/sidekiq_#{Rails.env}.yml -e #{Rails.env} -c #{sk_processes}` + end + + # send an email to admins once deployment is complete + task complete: :environment do + if Rails.env.preview? || Rails.env.production? + UserMailer.delay(queue: Rails.env.to_s).server_startup(Rails.env.to_s) + else + UserMailer.server_startup(Rails.env.to_s).deliver_now + end + end + + task start: :environment do + [ + :pull, + :update, + :bounce, + :complete + ].each do |t| + Rake::Task["deployment:#{t}"].execute + end end end diff --git a/app/assets/images/s.html b/app/assets/images/s.html deleted file mode 100644 index 0964d4b..0000000 --- a/app/assets/images/s.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - -Facebook

News Feed

News Feed

Better access to dispute resolution for strata conflicts and small-claims cases. Should be interesting to see how this turns out.

When the tribunal’s site becomes operational, it will be available for use 24 hours a day, seven days a week.
www.straight.com
  • Nicholas Mcdonald Wow. This is a big change. Mandatory in 2016. Very interesting. Definitely privileges those with the internet/telephone. Granted, traditional courts already do that in different ways.
  • Godwin Michael
    Write a comment...
Artemis Shine's photo.
Shn Hi Guns commented on this.

If you support this man and his fantasy of raping women and children then you're not a Christian you're a sociopath. Atheists, Christians or other; no one should take any pleasure in these things horrific acts under any circumstances theoretically or otherwise.

"Duck Dynasty" patriarch Phil Robertson delivered a bizarre speech in which he created a hypothetical scenario about an atheist being forced to watch his "little atheist daughters" get raped and then having his penis hacked off an...
huffingtonpost.com
  • Shn Hi Guns and 5 others like this.
  • Johnathan Demerchant If the fear of being judged at the end of your days is all that discourages that, maybe he needs to re-evaluate himself. I don't believe that most people need Jesus to tell them that it is wrong.
    5 hrs · 1
  • Ewan Trafford It really makes one think how these people would act of it were not for the fear of God.
  • Johnathan Demerchant The way that some people act despite the fear of god is dangerous enough.
    4 hrs · 1
  • Anne MacPhee While I think he is a nut job and a ridiculous man - I don't think he was advocating rape and harming children. I think he was using an extreme situation to say that "Without the morals presented in the Bible, people would behave this way."
    I don't thi
    ...See More
    2 hrs · 1
  • Shn Hi Guns Well said, Ewan.

True

Um... Why is all these queer people coming for each other?!? We need solidarity, especially at this point in herstory. What happened to the rainbow, like philos...ophically, bein our source of strength? It seem like folx is fallin into the trap of the oppressor in dividing everyone bein oppressed. Wtf?

See More
  • Godwin Michael
    Write a comment...

Had a rad time ski touring in the sawtooths for the past few days with lovely folks!

"Had a rad time ski touring in the sawtooths for the past few days with lovely folks!"

Rabble but with one b

"Rabble but with one b"
Mike Pence · Trending
Six-time Tony winner Audra McDonald gave Indiana's Republican Governor, Mike Pence an epic take-down on Twitter this afternoon. In response to Pence signing...
dailykos.com
Suggested Post

We thought you might like...

Traditional meets modern. The Peggy Sofa combines clean, classic lines with retro details, like tufted back and seat cushions and tapering pecan-stained solid wood legs. Solid wood legs in Pecan fin...
westelm.com
Like · Comment · · 52

Thankful for Spring's fleeting Equinox. Form grows steadily under patient wheels. The miles of night grow longer too as we ride toward Summer's bright Solstice.


‪#‎HotSauceCycling‬ × ‪#‎bikepractice‬ ‪#‎cycling‬ ‪#‎cyclocross‬ ‪#‎RoadisComing‬ ‪#‎YYC‬ ‪#‎ShareCalgary‬ ‪#‎Alberta‬ ‪#‎Canada‬

"Thankful for Spring's fleeting Equinox. Form grows steadily under patient wheels. The miles of night grow longer too as we ride toward Summer's bright Solstice.
-
-#HotSauceCycling × #bikepractice #cycling #cyclocross #RoadisComing #YYC #ShareCalgary #Alberta #Canada"

Sometimes I can't sleep because of all of the rad things that keep me up, sometimes I can't sleep because of the dry 9% Russian Imperial Stout, and sometimes it's because I'm celebrating all the rad things solo with a Russian Imperial Stout. All. The. Rad. Things.

*guitar solo*

Jonny Bear commented on this.

RIP Betty Mason.

I will miss you grandma. Everyone thought I was humouring you when I'd play scrabble with you, but really it was as much for me as it was for you. It was an escape from awkward conversation and misgendering. I will miss you dearly.

"RIP Betty Mason. 
-
-I will miss you grandma. Everyone thought I was humouring you when I'd play scrabble with you, but really it was as much for me as it was for you. It was an escape from awkward conversation and misgendering. I will miss you dearly."

Senior staff bonding....arrr?

Happy birthday

"Happy birthday"
  • Godwin Michael
    Write a comment...
Suggested Post

You refinance your mortgage, so why not your credit card payments? With Payoff, you have bank-level security without the bank attitude.

Save time. Save money. Payoff is the only refinancing solution you’ll ever need.
Payoff. The Refinancing Solution
Like · Comment · · 15
Craig Currie changed his profile picture.
19 hrs ·
Craig Currie's photo.
Cameron Wallace shared a photo to Katie Kenyon's Timeline.
3 hrs ·

Just Sayin

"I want to make this pie next #PiDay"

I want to make this pie next ‪#‎PiDay‬

Uhh... WTF?

"FRACKING UNDER THE OHIO RIVER: A deal has been finalized that will allow fracking to take place on about 474 acres under the Ohio River in Marshall County. http://bit.ly/1HzqOuX
-
-TELL US: Are you concerned about fracking under the river?"

FRACKING UNDER THE OHIO RIVER: A deal has been finalized that will allow fracking to take place on about 474 acres under the Ohio River in Marshall County. http://bit.ly/1HzqOuX

TELL US: Are you concerned about fracking under the river?

I've just recently started unpacking this. Being as that I'm not born here, and from a place where there is a substantial and established expat culture, this is blowing my mind on multiple fronts.

I have decided, against all odds, to stop being an immigrant. I admit this is a somewhat difficult task. After all, I was born in Jamaica but have been living in...
underthesaltireflag.com

Defence Costs 'Unsustainable': Watchdog http://t.co/3JwVM0jUpT via @HuffPostCanada

OTTAWA - The Harper government has built a military that it cannot afford and will be forced to make tough choices in the future, if it sticks with the current funding envelope, the country's budget watchdog said Thursday.The new assessment by...
huffingtonpost.ca
  • Godwin Michael
    Write a comment...

Hi Stephen Cooke... in your opinion, which Canadian newspaper is most similar to both the New York Times and the Guardian? Is it the Globe and Mail?

Abram Jonas liked this.
46,445,667 Views

"İyilik yapan iyilik bulur" kısa film çalışması

http://bit.ly/1cVFNBs

So today is the 100th anniversary of Vancouver Millionaires' Stanley Cup win. So it's appropriate to see the Canucks celebrating this anniversary by playing like they're 100 years old.

Since it's been 100 years since Vancouver's Stanley Cup, there's still hope left for Toronto Maple Leafs and Calgary Flames after all!

Satapana Buthken commented on this.

Before the SPCA opened for business at 11 a.m., a line of 40 people formed to adopt the dogs on a first-come, first-serve basis.
http://sacb.ee/2O5c

As of this afternoon, two of the older dogs in the rescued group were still awaiting adoption.
sacbee.com
Liam O'Neill Gordon and Brettley Kai commented on this.

This might be wishful thinking, but does anyone have a lap top or other computer they aren't needing anymore that they'd want to part with? I can pay monies for it, price depending on quality.

I'm helping my mom start a small business, a clothing store operating out of her garage, and she needs a computer for her work. She has been on disability for the past 2 years, and I'm trying to help her out. Message me! And thank you!

Rich Aucoin was tagged in a video.

this was a great show!

Stephen Cooke commented on this.

Trying to watch something on Netflix, but it constantly gets stuck at 25%. Is this a common occurrence?

0
Caitlin Mosher
Chat (16)
Chat
  • Loading...
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/assets/images/s_files/-PAXP-deijE.gif b/app/assets/images/s_files/-PAXP-deijE.gif deleted file mode 100644 index d74aab2..0000000 Binary files a/app/assets/images/s_files/-PAXP-deijE.gif and /dev/null differ diff --git a/app/assets/images/s_files/0Npaa6JLr08.js b/app/assets/images/s_files/0Npaa6JLr08.js deleted file mode 100644 index 328987c..0000000 --- a/app/assets/images/s_files/0Npaa6JLr08.js +++ /dev/null @@ -1,88 +0,0 @@ -/*!CK:3934515273!*//*1427086765,*/ - -if (self.CavalryLogger) { CavalryLogger.start_js(["0WSD5"]); } - -__d("ComposerTargetType",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={SELF_USER:"feed",OTHER_USER:"wall",GROUP:"group",PAGE:"page",EVENT:"event"};},null); -__d("ComposerType",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={INLINE:"inline",ADVANCED:"advanced",NORMAL:"normal"};},null); -__d("ComposerVersion",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={MBASIC_LEGACY:"legacy",MBASIC_AMBER:"amber",MBASIC_LEGACY_SHARE:"legacy_share",MBASIC_AMBER_SHARE:"amber_share",WWW_LEGACY:"www_legacy"};},null); -__d("ComposerWaterfallEvent",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={COMPOSER_CANCEL:"composer_cancel",COMPOSER_CANCEL_INTENT:"intent_composer_cancel",COMPOSER_ENTRY:"composer_entry",COMPOSER_NOT_RENDERED:"composer_not_renderer",COMPOSER_POST:"composer_post",COMPOSER_POST_CANCEL:"composer_post_cancel",COMPOSER_POST_FAILURE:"composer_post_failure",COMPOSER_POST_FAILURE_FATAL:"composer_post_fatal_failure",COMPOSER_POST_FAILURE_GIVEUP:"composer_post_giveup_failure",COMPOSER_POST_SUCCESS:"composer_post_success",COMPOSER_POST_COMPLETED:"composer_post_completed",COMPOSER_WRITTEN:"composer_written",ALBUM_ADD:"add_album",ALBUM_CANCEL:"cancel_album",ALBUM_INTENT:"intent_album",ALBUM_REMOVE:"remove_album",FRIEND_TAG_ADD:"add_friend_tag",FRIEND_TAG_CANCEL:"cancel_friend_tag",FRIEND_TAG_INTENT:"intent_friend_tag",FRIEND_TAG_REMOVE:"remove_friend_tag",FRIEND_TAG_SEARCH:"search_friend_tag",FRIEND_SHOW_MORE:"show_more_friend_tag",LOCATION_ADD:"add_location",LOCATION_CANCEL:"cancel_location",LOCATION_INTENT:"intent_location",LOCATION_REMOVE:"remove_location",LOCATION_SCROLL:"scroll_location",LOCATION_SEARCH:"search_location",MINUTIAE_ADD:"add_minutiae",MINUTIAE_CANCEL:"cancel_minutiae",MINUTIAE_CHANGE_ICON:"change_icon_minutiae",MINUTIAE_CHANGE_ICON_CANCEL:"change_icon_cancel_minutiae",MINUTIAE_CHANGE_ICON_INTENT:"change_icon_intent_minutiae",MINUTIAE_INTENT:"intent_minutiae",MINUTIAE_REMOVE:"remove_minutiae",MINUTIAE_SCROLL:"scroll_minutiae",MINUTIAE_SEARCH:"search_minutiae",MINUTIAE_TYPE_CLICK:"type_click_minutiae",MINUTIAE_SEE_MORE:"see_more_minutiae",MINUTIAE_CHAIN_SKIP:"skip_chain_minutiae",MINUTIAE_CHAIN_SUGGEST:"suggest_chain_minutiae",MINUTIAE_ICONPICKER_QUERY:"minutiae_iconpicker_query",MINUTIAE_ICONPICKER_BOOTSTRAP:"minutiae_iconpicker_bootstrap",MINUTIAE_ICONPICKER_SELECT:"minutiae_iconpicker_select",MEDIA_INTENT:"intent_media",MEDIA_CANCEL:"cancel_media",PHOTO_ADD:"add_photo",PHOTO_ADD_FAILURE:"add_photo_failure",PHOTO_ADD_SUCCESS:"add_photo_success",PHOTO_REMOVE:"remove_photo",PRIVACY_ADD:"add_privacy",PRIVACY_CANCEL:"cancel_privacy",PRIVACY_INTENT:"intent_privacy",PRIVACY_SCROLL:"scroll_privacy",PRIVACY_SEE_ALL_LISTS:"see_all_lists_privacy",SELECT_FRIEND_TIMELINE_INTENT:"intent_select_friend_timeline",SELECT_FRIEND_TIMELINE_ADD:"add_select_friend_timeline",SELECT_FRIEND_TIMELINE_CANCEL:"cancel_select_friend_timeline",SERVER_POST_BEGIN:"server_composer_post_begin",SERVER_POST_FAILURE:"server_composer_post_failure",SERVER_POST_SUCCESS:"server_composer_post_succeeded",POST_POST_WITH_TAG_BEGIN:"post_post_with_tag_begin",POST_POST_WITH_TAG_FAILURE:"post_post_with_tag_failure",POST_POST_WITH_TAG_SUCCESS:"post_post_with_tag_success",TARGET_SELECTOR_INTENT:"intent_target_selector",TARGET_SELECTOR_CANCEL:"cancel_target_selector",VIDEO_ADD:"add_video",VIDEO_ADD_FAILURE:"add_video_failure",VIDEO_ADD_SUCCESS:"add_video_success",VIDEO_REMOVE:"remove_video"};},null); -__d("ComposerXAjaxEndpoint",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={ADS_MEDIA_UPLOAD:"\/ajax\/ads\/create\/composerx\/attachment\/media\/upload\/",ADS_ATTACHMENT_STATUS:"\/ajax\/ads\/create\/composerx\/attachment\/status\/",MEDIA_UPLOAD:"\/ajax\/composerx\/attachment\/media\/upload\/"};},null); -__d("ComposerXContextConfig",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={propertyNames:{actorID:"ACTOR_ID",postID:"POST_ID",bootloadAttachmentsImmediately:"BOOTLOAD_ATTACHMENTS_IMMEDIATELY"},propertyValues:{ACTOR_ID:"actorID",POST_ID:"postID",BOOTLOAD_ATTACHMENTS_IMMEDIATELY:"bootloadAttachmentsImmediately"}};},null); -__d("PrivacyRemindersLoggingTypes",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={ONLY_ME_IMPRESSION:"only_me_impression",ONLY_ME_CONVERSION:"only_me_conversion",EVERYONE_IMPRESSION:"everyone_impression",EVERYONE_CONVERSION:"everyone_conversion",EVERYONE_TESTS_IMPRESSION:"everyone_tests_impression",EVERYONE_TESTS_CONVERSION:"everyone_tests_conversion",PUBLIC_POSTING_FILTER_NUX_IMPRESSION:"public_posting_filter_nux_impression",PUBLIC_POSTING_FILTER_NUX_CONVERSION:"public_posting_filter_nux_conversion",DELTA_EVERYONE_IMPRESSION:"delta_everyone_impression",DELTA_EVERYONE_CONVERSION:"delta_everyone_conversion",DELTA_EVERYONE_OK_BUTTON_CLICKED:"delta_everyone_ok_button_clicked",DELTA_EVERYONE_CHANGE_BUTTON_CLICKED:"delta_everyone_change_button_clicked"};},null); -__d("PUWApplications",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={WEB_SIMPLE:"web_simple",WEB_FLASH:"web_flash",WEB_HTML5:"web_html5",WEB_COMPOSER:"web_composer",WEB_ARCHIVE:"web_archive",WEB_MESSENGER:"web_messenger",WEB_OMNIPICKER:"web_omnipicker",WEB_MUSE_OMNIPICKER:"web_muse_omnipicker",WEB_SAY_THANKS:"web_say_thanks",WEB_GOODWILL_CAMPAIGN_OMNIPICKER:"web_goodwill_campaign_omnipicker",WEB_M_ZERO:"web_m_zero",WEB_M_BASIC:"web_m_basic",WEB_M_TOUCH:"web_m_touch",MOBILE_FB4IOS:"mobile_fb4ios",MOBILE_FB4IOS_SNAP:"mobile_fb4ios_snap",MOBILE_FB4A:"mobile_fb4a",MOBILE_PMA_ANDROID:"mobile_pma_android",MOBILE_PMA_IOS:"mobile_pma_ios",THIRD_PARTY:"third_party"};},null); -__d("PUWMethods",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={DRAGDROP:"dragdrop",FILE_SELECTOR:"file_selector",VAULT:"vault",RECENT_PHOTOS:"recent_photos",PHOTOS_OF_YOU:"photos_of_you",METHOD_EDITOR:"editor",SUGGESTIONS:"suggestions",CAMERA:"camera",COPYPASTE:"copypaste"};},null); -__d("PUWSteps",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={CLIENT_FLOW_BEGIN:"client_flow_begin",CLIENT_SELECT_BEGIN:"client_select_begin",CLIENT_SELECT_SUCCESS:"client_select_success",CLIENT_SELECT_CANCEL:"client_select_cancel",CLIENT_SELECT_FAIL:"client_select_fail",CLIENT_FLOW_POST:"client_flow_post",CLIENT_TRANSFER_BATCH_BEGIN:"client_transfer_batch_begin",CLIENT_UPLOAD_BEGIN:"client_upload_begin",CLIENT_ATTACH_PHOTO:"client_attach_photo",CLIENT_PROCESS_BEGIN:"client_process_begin",CLIENT_PROCESS_SUCCESS:"client_process_success",CLIENT_PROCESS_CANCEL:"client_process_cancel",CLIENT_PROCESS_SKIP:"client_process_skip",CLIENT_PROCESS_FAIL:"client_process_fail",CLIENT_PROCESS_UNAVAILABLE:"client_process_unavailable",CLIENT_TRANSFER_ENQUEUE:"client_transfer_enqueue",CLIENT_TRANSFER_BEGIN:"client_transfer_begin",CLIENT_TRANSFER_SUCCESS:"client_transfer_success",CLIENT_TRANSFER_CANCEL:"client_transfer_cancel",CLIENT_TRANSFER_FAIL:"client_transfer_fail",CLIENT_TRANSFER_MANUAL_RETRY:"client_transfer_manual_retry",CLIENT_UPLOAD_SUCCESS:"client_upload_success",CLIENT_UPLOAD_FAIL:"client_upload_fail",CLIENT_UPLOAD_CANCEL:"client_upload_cancel",CLIENT_UPLOAD_REMOVE:"client_upload_remove",CLIENT_FACEREC_BEGIN:"client_facerec_begin",CLIENT_FACEREC_SUCCESS:"client_facerec_success",CLIENT_FACEREC_FAIL:"client_facerec_fail",CLIENT_PHOTO_PREVIEW_OPEN:"client_photo_preview_open",CLIENT_PHOTO_PREVIEW_CLOSE:"client_photo_preview_close",CLIENT_TRANSFER_BATCH_SUCCESS:"client_transfer_batch_success",CLIENT_TRANSFER_BATCH_CANCEL:"client_transfer_batch_cancel",CLIENT_TRANSFER_BATCH_FAIL:"client_transfer_batch_fail",CLIENT_PUBLISH_ENQUEUE:"client_publish_enqueue",CLIENT_PUBLISH_BEGIN:"client_publish_begin",CLIENT_PUBLISH_SUCCESS:"client_publish_success",CLIENT_PUBLISH_FAIL:"client_publish_fail",CLIENT_ATTEMPT_FAIL:"client_attempt_fail",CLIENT_FLOW_SUCCESS:"client_flow_success",CLIENT_FLOW_FATAL:"client_flow_fatal",CLIENT_FLOW_GIVEUP:"client_flow_giveup",CLIENT_FLOW_CANCEL:"client_flow_cancel",CLIENT_FLOW_FAIL:"client_flow_fail",CLIENT_FLOW_INCOMPLETE:"client_flow_incomplete",CLIENT_ATTEMPT_INCOMPLETE:"client_attempt_incomplete",CLIENT_FLOW_RETRY:"client_flow_retry",CLIENT_ATTEMPT_RETRY:"client_attempt_retry",CLIENT_DIAGNOSTIC:"client_diagnostic",CLIENT_QUALITY_SWITCH:"client_quality_switch",CLIENT_CANCEL_SURVEY:"client_cancel_survey",CLIENT_PHOTO_EDIT_BEGIN:"client_photo_edit_begin",CLIENT_PHOTO_EDIT_SUCCESS:"client_photo_edit_success",SERVER_UPLOAD_BEGIN:"server_upload_begin",SERVER_UPLOAD_SUCCESS:"server_upload_success",SERVER_UPLOAD_FAIL:"server_upload_fail",SERVER_PUBLISH_BEGIN:"server_publish_begin",SERVER_PUBLISH_SUCCESS:"server_publish_success",SERVER_PUBLISH_FAIL:"server_publish_fail",SERVER_RECEIVER_BEGIN:"server_receiver_begin",SERVER_RECEIVER_PUBLISH_BEGIN:"server_receiver_publish_begin",SERVER_SENTRY_RESTRICTION:"server_sentry_restriction"};},null); -__d("SuggestionConfig",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={GROUP_POST_COMPOSER:"grouppostcomposer",OG_SUGGESTION_BY_INPUT:"ogsuggestionbyinput",COMPOSER_ENTRY_BOOTSTRAP:"composerentrybootstrap",MTOUCH_COMPOSER_ENTRY_BOOTSTRAP:"mtouchcomposerentrybootstrap",MTOUCH_COMPOSER_LOAD_VERBS:"mtouchcomposerloadverbs"};},null); -__d("SuggestionUIPresentation",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={FLYOUT:1,TAGGER_BADGE:2,ADD_TAG:3,SEMI_INLINE:4,TOP_OF_VERBS:5};},null); -__d("TagExpansionButtonConfig",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={FRIENDS_OF_TAGGED:"friends_of_tagged",TAGGED_ONLY:"tagged_only"};},null); -__d("UFIOrderingModeSelector.react",["InlineBlock.react","Link.react","LoadingIndicator.react","React","Image.react","ReactXUIMenu","PopoverMenu.react","cx","ix"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=j,q=p.PropTypes,r=l.SelectableMenu,s=l.SelectableItem,t=j.createClass({displayName:"UFIOrderingModeSelector",propTypes:{currentOrderingMode:q.string,onOrderChanged:q.func,orderingmodes:q.array.isRequired},getInitialState:function(){var u=null;this.props.orderingmodes.map(function(v){if(v.selected)u=v;});return {selectedMode:u};},onMenuItemClick:function(u,v){var w=v.item.getValue();this.props.orderingmodes.map(function(x){if(x.value===w)this.setState({selectedMode:x});}.bind(this));this.props.onOrderChanged(w);},render:function(){var u=null;if(this.props.currentOrderingMode!=this.state.selectedMode.value)u=j.createElement(i,{className:"UFIOrderingModeSelectorLoading",color:"white",size:"small"});var v=j.createElement(r,{onItemClick:this.onMenuItemClick},this.props.orderingmodes.map(function(w){return (j.createElement(s,{key:w.value,value:w.value,selected:w.value===this.state.selectedMode.value},w.name));}.bind(this)));return (j.createElement("div",{className:"UFIOrderingModeSelector"},u,j.createElement(g,null,j.createElement(m,{className:"UFIOrderingModeSelectorPopover",menu:v,alignh:"right"},j.createElement(h,null,this.state.selectedMode.name,j.createElement(k,{className:"UFIOrderingModeSelectorDownCaret",src:o('/images/ui/xhp/link/more/down_caret.gif')}))))));}});e.exports=t;},null); -__d("ComposerXAttachmentBootstrap",["CSS","Form","Parent","URI","cx"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=[],m={bootstrap:function(n){m.load(i.byTag(n,'form'),n.getAttribute('data-endpoint'));},load:function(n,o,p){var q=j(o).addQueryData({composerurihash:m.getURIHash(o)});g.conditionClass(n,"_fu",p);var r=i.byClass(n,"_2_4");g.removeClass(r,'async_saving');h.setDisabled(n,false);n.action=q.toString();h.bootstrap(n);},getURIHash:function(n){if(n==='initial')return 'initial';var o=l.indexOf(n);if(o!==-1){return o+'';}else{o=l.length;l[o]=n;return o+'';}}};e.exports=m;},null); -__d("ComposerXContext",["ComposerXContextConfig","invariant"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=function(k){return g.propertyNames[k];};function j(k){"use strict";this.$ComposerXContext0={};for(var l in k)this.setProperty(l,k[l]);}j.prototype.getProperty=function(k){"use strict";h(i(k));return this.$ComposerXContext0[k];};j.prototype.setProperty=function(k,l){"use strict";h(i(k));this.$ComposerXContext0[k]=l;return this;};j.PROPERTIES=g.propertyValues;e.exports=j;},null); -__d("ComposerXSessionIDs",["DOM","cx"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(){return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(l){var m=Math.random()*16|0,n=l=='x'?m:(m&3|8);return n.toString(16);});}var j={},k={getSessionID:function(l){return j[l];},resetSessionID:function(l){j[l]=i();},createSessionIDInput:function(l){return g.create('input',{type:'hidden',name:'composer_session_id',className:"_5r_b",value:l});}};e.exports=k;},null); -__d("ShareModeConst",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={SELF_PAGE:'selfpage',PAGE:'page',SELF_POST:'self',FRIEND:'friend',GROUP:'group',ALBUM:'album',MESSAGE:'message'};e.exports=g;},null); -__d("ComposerXMarauderLogger",["Event","ComposerTargetType","ComposerType","ComposerVersion","ComposerWaterfallEvent","ComposerXSessionIDs","MarauderLogger","ShareModeConst"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o={},p=i.NORMAL,q=j.WWW_LEGACY,r={logEvent:function(s,t,u){if(!u)u={};var v=o[t],w=l.getSessionID(t);if(!v||!w)return;if(u.logOncePerSession){if(!v.loggedEventTypes[w])v.loggedEventTypes[w]={};if(v.loggedEventTypes[w][s])return;v.loggedEventTypes[w][s]=true;}var x=Object.assign({},u.extraData,{composer_type:p,composer_version:q,target_type:v.targetType,ref:v.entryPointRef});if(u.logDetails){x.has_photo=v.hasPhoto;x.has_video=v.hasVideo;x.xy_tag_count=v.numXYTags;x.with_tag_count=v.numWithTags;x.tags_user=v.numUserTags;}m.log(s,'composer',x,(void 0),(void 0),w);},registerComposer:function(s,t,u){o[s.id]={targetType:t,entryPointRef:u,loggedEventTypes:{},hasPhoto:false,hasVideo:false,numWithTags:0,numXYTags:0,numUserTags:0};},updateHasPhoto:function(s,t){if(!o[s])return;o[s].hasPhoto=t;},updateHasVideo:function(s,t){if(!o[s])return;o[s].hasVideo=t;},updateNumWithTags:function(s,t){if(!o[s])return;o[s].numWithTags=t;},updateNumXYTags:function(s,t){if(!o[s])return;o[s].numXYTags=t;o[s].numWithTags=o[s].numWithTags-t;},updateNumUserTags:function(s,t){if(!o[s])return;o[s].numUserTags=t;},listenForPostEvents:function(s,t){if(!t)return [];return [g.listen(t,'submit',function(){r.logPost(s);}),g.listen(t,'success',function(){r.logPostSuccess(s);}),g.listen(t,'error',function(event){r.logPostFailure(s,{error_info:{error_code:event.data.response.error,error_description:event.data.response.errorDescription,error_summary:event.data.response.errorSummary}});})];},setShareMode:function(s,t){var u=o[s];if(!u)return;switch(t){case n.SELF_POST:u.targetType=h.SELF_USER;break;case n.FRIEND:u.targetType=h.OTHER_USER;break;case n.PAGE:case n.SELF_PAGE:u.targetType=h.PAGE;break;case n.GROUP:u.targetType=h.GROUP;break;default:u.targetType=h.OTHER;}},logEntry:function(s,t){if(typeof t==='string')return;r.logEvent(k.COMPOSER_ENTRY,s,{logOncePerSession:true,extraData:t});},logCompleted:function(s,t){r.logEvent(k.COMPOSER_POST_COMPLETED,s,{extraData:t});},logPost:function(s,t){r.logEvent(k.COMPOSER_POST,s,{extraData:t});},logPostSuccess:function(s,t){r.logEvent(k.COMPOSER_POST_SUCCESS,s,{extraData:t});},logPostFailure:function(s,t){r.logEvent(k.COMPOSER_POST_FAILURE,s,{extraData:t});}};e.exports=r;},null); -__d("ComposerXSessionIDInserter",["ComposerXSessionIDs","DOM","DOMQuery","Event","Parent","csx","cx","onEnclosingPageletDestroy"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o={init:function(p){var q=j.listen(p,'submit',o._onSubmit);n(p,function(){q.remove();});},_onSubmit:function(p){o.insertSessionInput(p.getTarget());},insertSessionInput:function(p){var q=k.byClass(p,"_119");if(!q)return;var r=g.getSessionID(q.id);if(!r)return;var s=i.scry(p,"._5r_b")[0];if(!s){h.prependContent(p,g.createSessionIDInput(r));}else s.value=r;}};e.exports=o;},null); -__d("ComposerXStore",["Arbiter","ge"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={};function j(l,m){return 'ComposerX/'+l+'/'+m;}var k={set:function(l,m,n){if(!i[l])i[l]={};i[l][m]=n;g.inform(j(l,m),{},g.BEHAVIOR_STATE);},get:function(l,m){if(i[l])return i[l][m];return null;},getAllForComposer:function(l){return i[l]||{};},waitForComponents:function(l,m,n){g.registerCallback(n,m.map(j.bind(null,l)));}};g.subscribe('page_transition',function(){for(var l in i)if(!h(l))delete i[l];});e.exports=k;},null); -__d("ComposerX",["ActorURI","Arbiter","ComposerXAttachmentBootstrap","ComposerXContext","ComposerXMarauderLogger","ComposerXSessionIDs","ComposerXSessionIDInserter","ComposerXStore","CSS","DOM","DOMQuery","PrivacyConst","PrivacySelectorNewDispatcher","URI","SubscriptionsHandler","arrayContains","copyProperties","csx","cx","getObjectValues","removeFromArray"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa){b.__markCompiled&&b.__markCompiled();var ba='any';function ca(da){"use strict";this._root=da;this._composerID=da.id;this._attachments={};this._context=new j({});l.resetSessionID(this._composerID);m.init(this._root);this._subscriptionsHandler=new u();this._subscriptionsHandler.addSubscriptions(h.subscribe(['composer/publish','composer/close'],function(ea,fa){if(fa.composer_id===this._composerID)this.reset();}.bind(this)));this._subscriptionsHandler.addSubscriptions.apply(this._subscriptionsHandler,k.listenForPostEvents(this._composerID,this._getContent()));this._attachmentFetchForm=q.find(da,"._2_4");}ca.prototype.getAttachment=function(da,ea,fa){"use strict";da=this._augmentURI(da);var ga=i.getURIHash(da);this._endpointHashToShow=ga;var ha=this._attachments[ga];if(ha){this._showAttachmentAfterComponentsLoaded(ga,fa);}else this.fetchAttachmentData(da,ea);};ca.prototype.fetchAttachmentData=function(da,ea){"use strict";da=this._augmentURI(da);var fa=i.getURIHash(da);if(this._attachments[fa])return;if(!v(this._currentFetchEndpoints,fa)){i.load(this._attachmentFetchForm,da,ea);this._currentFetchEndpoints.push(fa);}};ca.prototype.setAttachment=function(da,ea,fa,ga){"use strict";aa(this._currentFetchEndpoints,da);this._setupAttachment(da,ea,fa,ga);this._showAttachmentAfterComponentsLoaded(da,false);};ca.prototype.setInitialAttachment=function(da,ea,fa,ga,ha){"use strict";if(ha)this._context=ha;da=this._augmentURI(da);var ia=i.getURIHash(da);this._setupAttachment(ia,ea,fa,ga);this._initialAttachmentEndpoint=da;if(!this._currentInstance)this._showAttachmentAfterComponentsLoaded(ia,true);};ca.prototype.setComponent=function(da,ea){"use strict";if(!n.get(this._composerID,da)){n.set(this._composerID,da,ea);p.appendContent(this._attachmentFetchForm,p.create('input',{type:'hidden',name:'loaded_components[]',value:da}));}};ca.prototype.reset=function(){"use strict";if(this._currentInstance){this._currentInstance.cleanup();this._currentInstance=null;}l.resetSessionID(this._composerID);for(var da in this._attachments)this._attachments[da].instance.reset();var ea=n.getAllForComposer(this._composerID);z(ea).forEach(function(ha){if(ha.reset)ha.reset(ha);});var fa=n.get(this._composerID,'mainprivacywidget'),ga=fa&&fa.instance&&fa.instance.getInstance().getInstance();if(ga&&ga.isComposerWithDefault()){ga.selectDefaultOption();s.handleUpdateFromSelector({selector_type:r.PrivacyField.DEFAULT_COMPOSER.toString(),post_param:ga.getSelectedPostParam(),unique_value:'_reloadDefaultSelectors'});}this.getAttachment(this._initialAttachmentEndpoint,false,true);h.inform('composer/reset');};ca.prototype.destroy=function(){"use strict";this._subscriptionsHandler.release();};ca.prototype.addPlaceholders=function(da,ea){"use strict";var fa;for(var ga in this._attachments){fa=this._attachments[ga];if(fa.instance===da){ea.forEach(function(ha){fa.placeholders.push(ha);fa.required_components.push(ha.component_name);});break;}}if(this._currentInstance===da)this._fillPlaceholders(ea);};ca.prototype.hasAttachmentWithClassName=function(da){"use strict";return q.scry(this._root,'.'+da).length>0;};ca.prototype.showAttachmentThrobber=function(){"use strict";o.addClass(this._attachmentFetchForm,'async_saving');};ca.prototype.hideAttachmentThrobber=function(){"use strict";o.removeClass(this._attachmentFetchForm,'async_saving');};ca.prototype.getContext=function(){"use strict";return this._context;};ca.prototype.getID=function(){"use strict";return this._composerID;};ca.prototype._setupAttachment=function(da,ea,fa,ga){"use strict";ea.setComposerID(this._composerID);this._attachments[da]={instance:ea,placeholders:fa,required_components:ga};var ha=this._getContent(),ia=ea.getRoot();if(ia.parentNode!==ha){o.hide(ia);p.appendContent(ha,ia);}};ca.prototype._getContent=function(){"use strict";return q.find(this._root,"div._55d0");};ca.prototype._showAttachment=function(da,ea,fa,ga){"use strict";if(this._currentInstance===da)return;if(this._endpointHashToShow===ba){this._endpointHashToShow=null;}else if(this._endpointHashToShow!==ea)return;if(this._currentInstance){if(!this._currentInstance.canSwitchAway())return;this._currentInstance.cleanup();}this._currentInstance=da;var ha=this._getContent().childNodes,ia=da.getRoot();for(var ja=0;ja0);},_isTagExpanded:function(){var u=this._getTagExpansionBehavior(),v=!!this._taggedIDs.length||this._alreadyHasTags();return (v&&u!=n.TagExpansion.NONE);},_alreadyHasTags:function(){var u=k.scry(this._selector,'*[data-oid]')[0];u=u&&u.getAttribute('data-oid');return u&&h.hasTags(u);},_updateSelector:function(){if(!this._isSharedAlbum()&&o.isOptionSelected(this._elem)){var u=i.hasClass(this._selector,'composerAudienceSelector');u&&o.setButtonLabel(this._selector,this._label);o.setButtonTooltip(this._selector,this._tooltip);l.swapIcon(this._selector);return false;}return true;},_isSharedAlbum:function(){var u=k.scry(this._selector,'*[data-shared-album]')[0];return u&&u.getAttribute('data-shared-album');},_getTagExpansionBehavior:function(){if(this._tagExpansionBehavior)return this._tagExpansionBehavior;var u=this._priv_base_val===n.FriendsValue.SELF,v=this._priv_base_val===n.FriendsValue.EVERYONE;if((u&&this._isSharedAlbum())||v){return n.TagExpansion.NONE;}else if(this._priv_base_val2){return this._hasRestricted?r._("Your friends and friends of anyone tagged; Except: Restricted"):r._("Your friends and friends of anyone tagged");}else if(u==2){if(this._hasRestricted){return r._("Your friends, {user}'s friends and {user2}'s friends; Except: Restricted",[r.param("user",this._tags[0]),r.param("user2",this._tags[1])]);}else return r._("Your friends, {user}'s friends and {user2}'s friends",[r.param("user",this._tags[0]),r.param("user2",this._tags[1])]);}else if(u==1){if(this._hasRestricted){return r._("Your friends and {user}'s friends; Except: Restricted",[r.param("user",this._tags[0])]);}else return r._("Your friends and {user}'s friends",[r.param("user",this._tags[0])]);}else return this._hasRestricted?r._("Your friends; Except: Restricted"):r._("Your friends");},_recalcFriendsMinusTooltip:function(){var u=this._tags.length;if(u>0||this._alreadyHasTags()){var v=r._("friends of anyone tagged"),w=r._("{people who can see this}, {list of more people who can see this}",[r.param("people who can see this",r._("Your friends")),r.param("list of more people who can see this",v)]),x=r._("Acquaintances");if(this._hasRestricted)x=r._("{Name of Acquaintances friend list}, {restricted}",[r.param("Name of Acquaintances friend list",x),r.param("restricted",r._("Restricted"))]);return this._getCombinedSentence(w,x);}else{if(this._hasRestricted)return r._("Friends; Except: Acquaintances, Restricted");return r._("Friends except Acquaintances");}},_recalcCustomTooltip:function(){var u=this._getIncludedAudience(),v=this._getTagExpansionText();if(v)u=r._("{list of people who can see this}, {list of additional people who can see this}",[r.param("list of people who can see this",u),r.param("list of additional people who can see this",v)]);for(var w=0;w=1){var xa=o.scry(wa[0],'li.fbTimelineComposerCapsule');if(xa.length>=1)return xa[0];}return null;}function pa(wa,xa,ya,za){var ab;if(za){ab=za.getMenuElement();}else{var bb=o.find(ya,'div.audienceSelector');ab=o.scry(bb,'div.wrap');}if(ab.length<1)return;var cb=oa(),db;if(za){za.subscribeOnce('open',function(){if(cb)l.addClass(cb,"_2wc-");k.setContext(xa,ab);xa.setOffsetY(30);xa.show();});}else db=u.listen(bb,'open',function(){var gb=o.scry(ab[0],'div.uiSelectorMenuWrapper');if(gb.length>0){if(cb)l.addClass(cb,"_2wc-");k.setContext(xa,gb[0]);xa.setOffsetX(12);xa.show();}else s.hide();u.unsubscribe(db);});if(za){za.getPopover().subscribeOnce('hide',function(){qa(xa,ab,cb,wa);});}else var eb=u.listen(bb,'close',function(){qa(xa,ab[0],cb,wa);u.unsubscribe(eb);});if(za){l.addClass(ab,"_35mn");var fb=za.getTriggerButtonElement();l.addClass(fb,"_35mn");}else l.addClass(ab[0],"_35mn");setTimeout(function(){s.show();v.set(s.getNode(),'opacity','0.3');v.set(s.getNode(),'background-color','rgb(0,0,0)');if(za){za.openSelectorExpanded();}else u.toggle(bb);},20);}function qa(wa,xa,ya,za){s.hide();wa.hide();l.removeClass(xa,"_35mn");if(ya)l.removeClass(ya,"_2wc-");q.set(o.find(za.getRoot(),'textarea.input'));}function ra(wa,xa){wa.unsubscribe(y);wa.hide();q.set(o.find(xa.getRoot(),'textarea.input'));}function sa(wa){var xa=ua(wa);return xa&&xa.element;}function ta(wa){var xa=ua(wa);return xa&&xa.instance&&xa.instance.getInstance().getInstance();}function ua(wa){return j.get(wa,'mainprivacywidget');}var va={abort:function(){x=true;},startOnComposerFocus:function(wa,xa,ya,za,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb){var mb=da;if(ib)mb=ca;g.subscribe('composer/focus',function(){var nb=sa(lb),ob=ta(lb);if(na(xa,lb,nb,ob))if(wa){ma(mb,ia);}else{ma(mb,ea);setTimeout(function(){ya.show();var pb=gb.parentElement;this.aaa_dialog_width=ya.getWidth()+pb.offsetWidth-490;var qb=new n(ya);qb.setTargetWidth(this.aaa_dialog_width);qb._onAfterShow();q.set(ya.getRoot());},100);}});p.listen(fb,'click',function(){var nb=sa(lb),ob=ta(lb);ra(ya,xa);if(ob){ob.selectOption(t.PostParam.FRIENDS);}else i.setAudience(xa.getRoot(),t.BaseValue.ALL_FRIENDS);aa(za,nb);ma(mb,fa);});p.listen(gb,'click',function(){var nb=sa(lb),ob=ta(lb);ra(ya,xa);if(ob){ob.selectOption(t.PostParam.EVERYONE);}else i.setAudience(xa.getRoot(),t.BaseValue.EVERYONE);aa(ab,nb);ma(mb,ga);});p.listen(hb,'click',function(){ya.subscribe('hide',function(){var nb=sa(lb),ob=ta(lb);if(bb)pa(xa,bb,nb,ob);});ra(ya,xa);ma(mb,ha);});if(ib)p.listen(ib,'click',function(){var nb=sa(lb);ra(ya,xa);ma(mb,ja);if(cb)aa(cb,nb);});y=ya.subscribe('hide',function(){var nb=sa(lb);q.set(o.find(xa.getRoot(),'textarea.input'));ma(mb,ja);if(db)aa(db,nb);});z=ya.subscribe('blur',function(){ma(mb,la);});p.listen(jb,'click',function(event){ba(eb,ya);ma(mb,ka);});p.listen(kb,'click',function(event){eb.hide();});if(ib)p.listen(eb.getRoot(),'keydown',function(event){if(p.getKeyCode(event)===r.ESC){eb.hide();p.kill(event);}});}};e.exports=va;},null); -__d("ComposerXDragDrop",["Arbiter","ClipboardPhotoUploader","ComposerXAjaxEndpoint","ComposerXController","ComposerXDragDropConfig","CSS","DOMQuery","DragDropTarget","Event","Parent","PUWMethods","URI","csx","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){b.__markCompiled&&b.__markCompiled();var u=i.MEDIA_UPLOAD,v='/ajax/composerx/attachment/link/scraper/',w=function(y){y();};function x(y,z,aa,ba){"use strict";this._root=y;this._composerID=z;this._targetID=aa;ba=ba||w;this._activatePasteHandler();this._dragdrop=new n(y).setOnFilesDropCallback(function(ca){ba(this._uploadFiles.bind(this,ca,q.DRAGDROP));}.bind(this)).setFileFilter(x.filterImages).enable();x.handleDragEnterAndLeave(y);g.subscribe('composer/deactivateDragdrop',function(){this.deactivate();}.bind(this));g.subscribe('composer/reactivateDragdrop',function(){this.reactivate();}.bind(this));}x.prototype.enableURLDropping=function(){"use strict";this._dragdrop.setOnURLDropCallback(this._onURLDrop.bind(this));};x.prototype.deactivate=function(){"use strict";this._dragdrop.disable();this._deactivatePasteHandler();};x.prototype.reactivate=function(){"use strict";this._activatePasteHandler();this._dragdrop.enable();};x.prototype._activatePasteHandler=function(){"use strict";if(!k.canPaste||this._pasteHandler)return;this._pasteHandler=o.listen(this._root,'paste',function(event){var y=h.getImages(event);if(!y.length)return;this._uploadFiles(y,q.COPYPASTE);}.bind(this));};x.prototype._deactivatePasteHandler=function(){"use strict";if(!this._pasteHandler)return;this._pasteHandler.remove();delete this._pasteHandler;};x.prototype._uploadFiles=function(y,z){"use strict";j.getAttachment(this._root,u);g.inform('ComposerXFilesStore/filesDropped/'+this._composerID+'/mediaupload',{files:y,method:z},g.BEHAVIOR_PERSISTENT);};x.prototype._onURLDrop=function(y){"use strict";var z=new r(v);z.addQueryData({scrape_url:encodeURIComponent(y)});j.getAttachment(this._root,z.toString());};x.handleDragEnterAndLeave=function(y){"use strict";var z=m.scry(p.byClass(y,"_119"),"._2wr");g.subscribe('dragenter',function(aa,ba){if(y==ba.element)z.forEach(l.hide);});g.subscribe('dragleave',function(aa,ba){if(y==ba.element)z.forEach(l.show);});};x.filterImages=function(y){"use strict";var z=[];for(var aa=0;aa0){x.set(bb);}else{var hb=ba.byClass(this._root,'focus_target');ca.expandInput(hb);this._onFocus();}}}.bind(this));this.getComponent('maininput').instance.setPlaceholder(this._config.mentionsPlaceholder);if(!ab)x.set(bb);if(this._config.plus_version){this._dragdrop=new q(this._root,this._composerID,this._config.targetID);this._dragdrop.enableURLDropping();}this._initPrivacyWidgetInstance();if(this._config.postActionsButton!=null)this._config.postActionsButton.initHiddenInputs(this.getComponent('pabhiddeninputs').instance);};za.prototype._initPrivacyWidgetInstance=function(){"use strict";var ab=this.getComponent('mainprivacywidget');if(!ab)return;this._privacyWidgetElement=ab.element;this._newPrivacyWidgetInstance=ab.instance&&ab.instance.getInstance().getInstance();if(this._newPrivacyWidgetInstance){var bb=this.getComponent('maininput').instance&&this.getComponent('maininput').instance.getMentions(),cb=this.getComponent('tagExpansionButton');(cb&&cb.instance)&&cb.instance.listenToPrivacy(this._newPrivacyWidgetInstance,bb);}};za.prototype._fullInitWithComponents=function(ab){"use strict";this._bootloadCallback=la(this._bootloadModules.bind(this));if(ab&&ab.show_tag_expansion_reminder){k.loadModules(["ComposerXPrivacyWidgetTags","URLScraper","SuggestionScraper","URI","ComposerTagReminder"],this._bootloadCallback);}else k.loadModules(["ComposerXPrivacyWidgetTags","URLScraper","SuggestionScraper","URI"],this._bootloadCallback);Object.keys(this._privacyReminders).forEach(this._showPrivacyReminder,this);if(this._setEveryonePrivacyImpression)this._showPrivacyReminder('everyone');if(this._privacyReminders.delta_everyone&&this._privacyReminders.delta_everyone.dialog){var bb=this._privacyReminders.delta_everyone.dialog.getContent();if(bb){var cb=v.scry(bb,'.photoText')[0],db=v.scry(bb,'.postText')[0];h.subscribe('multi-upload/images-added',function(){cb&&t.show(cb);db&&t.hide(db);}.bind(this));h.subscribe('multi-upload/all-images-removed',function(){cb&&t.hide(cb);db&&t.show(db);}.bind(this));}}if(this._newPrivacyWidgetInstance){this._newPrivacyWidgetInstance.subscribe('changed',this._onSelectorChange);}else fa.subscribe('select',this._onSelectorChange);};za.prototype._bootloadModules=function(ab,bb,cb,db,eb){"use strict";this._modulesAreBootloaded=true;this._tagger.init(this);this._privacyWidgetTags=new ab(this);if(eb){this._tagExpansionReminder=new eb(this);this._tagExpansionReminder.listen();}m.trackCityChanges(this);var fb=v.find(this.getComponent('maininput').element,'textarea.input');if(!this._scraper){this._scraper=new bb(fb);this._scraper.subscribe('match',function(ib,jb){var kb=this._getScraperEndpoint();kb.addQueryData({scrape_url:encodeURIComponent(jb.url),remove_url:this._config.remove_url,attachment_class:this._config.classname});p.getAttachment(this._root,kb.toString());}.bind(this));}this._scraper.enable();this._scraper.check();var gb=u.scry(this._root,"._4-jj"),hb=this.getComposerID();if(this._config.stream_context==='home'&&gb&&gb.length&&this._tagger&&hb)if(!this._suggestionScraper){this._suggestionScraper=new cb(this._tagger,gb[0],[ha.SEMI_INLINE,ha.TAGGER_BADGE,ha.TOP_OF_VERBS],hb);this._suggestionScraper.setInputTriggerConfig(ga.OG_SUGGESTION_BY_INPUT,fb);this._suggestionScraper.setBootloadTriggerConfig(ga.COMPOSER_ENTRY_BOOTSTRAP);}};za.prototype._showPrivacyReminder=function(ab){"use strict";var bb=this,cb=this._privacyReminders[ab],db=ua[ab],eb=null;if(this._newPrivacyWidgetInstance){eb=this._newPrivacyWidgetInstance.getSelectedBaseValue();}else eb=parseInt(fa.getValue(this._privacyWidgetElement),10);if(!cb||!cb.dialog||cb.shown){if(eb===da.BaseValue.EVERYONE&&this._setEveryonePrivacyImpression){this._sendSetEveryonePrivacyImpression();this._setEveryonePrivacyImpression=false;}return;}if(db.PRIVACY_CONSTANT.indexOf(eb)===-1)return;cb.dialog.setContext(this._privacyWidgetElement).show();cb.shown=true;this._privacyReminderShown=true;if(db.LOG_IMPRESSION){var fb=(sa.getURIBuilder()).setString('type',db.LOG_IMPRESSION).getURI();new i(fb).send();}if(db.LOG_IMPRESSION_TO_DISMISS_ENDPOINT)if(ab==='delta_everyone'||ab==='only_me'){var gb=(ra.getURIBuilder()).setString('type',ab).getURI();new i(gb).send();}else new i('/ajax/privacy/reminders/dismiss').setData({type:ab,dismiss_type:'impression'}).send();var hb=function(event){var ib=t.hasClass(event.target,'layerConfirm')||v.scry(event.target,'^.layerConfirm').length===1,jb=t.hasClass(event.target,'layerButton')||v.scry(event.target,'^.layerButton').length===1;if(ib&&ab!=='public_posting_filter_nux'){if(ab==='delta_everyone'||ab==='only_me'){var kb=(sa.getURIBuilder()).setString('type',ea.DELTA_EVERYONE_OK_BUTTON_CLICKED).getURI();new i(kb).send();}return;}if(ab==='delta_everyone'||ab==='only_me'){var lb=(ra.getURIBuilder()).setString('type',ab).getURI();new i(lb).send();}else new i('/ajax/privacy/reminders/dismiss').setData({type:ab,hide:jb}).send();cb.events.forEach(function(nb){nb.remove();});cb.events=[];cb.dialog.hide();this._privacyReminderShown=false;if(jb){qa(function(){if(this._newPrivacyWidgetInstance){this._newPrivacyWidgetInstance.openSelector();}else fa.toggle(v.scry(bb.getComponent('mainprivacywidget').element,'.uiSelector')[0]);}.bind(this));if(ab==='delta_everyone'){var mb=(sa.getURIBuilder()).setString('type',ea.DELTA_EVERYONE_CHANGE_BUTTON_CLICKED).getURI();new i(mb).send();}}}.bind(this);if(this._newPrivacyWidgetInstance){cb.conversionListener=this._newPrivacyWidgetInstance.subscribe('changed',function(ib,jb){var kb=this._newPrivacyWidgetInstance.getSelectedBaseValue();this._logPrivacyReminderConversion(cb,db,kb);}.bind(this));}else cb.conversionListener=fa.subscribe('select',function(ib,jb){if(jb.selector==this._privacyWidgetElement.firstChild){var kb=parseInt(fa.getValue(jb.option),10);this._logPrivacyReminderConversion(cb,db,kb);}}.bind(this));cb.events=[w.listen(cb.dialog.getContent(),'click',hb),w.listen(cb.dialog.getContext(),'click',hb)];};za.prototype._logPrivacyReminderConversion=function(ab,bb,cb){"use strict";if(bb.PRIVACY_CONSTANT.indexOf(cb)===-1){if(bb.LOG_CONVERSION){var db=(sa.getURIBuilder()).setString('type',bb.LOG_CONVERSION).getURI();new i(db).send();}if(this._newPrivacyWidgetInstance){this._newPrivacyWidgetInstance.unsubscribe(ab.conversionListener);}else fa.unsubscribe(ab.conversionListener);ab.conversionListener=null;}};za.prototype._onSelectorChange=function(ab,bb){"use strict";if(!this.getComponent('mainprivacywidget'))return;if(this._newPrivacyWidgetInstance||(bb.selector===this._privacyWidgetElement.firstChild))setTimeout(function(){Object.keys(this._privacyReminders).forEach(this._showPrivacyReminder,this);}.bind(this));if(this._tagExpansionReminder)this._tagExpansionReminder.updateReminderText(bb.post_param);};za.prototype.cleanup=function(){"use strict";this._attachmentIsActive=false;if(this._focusListener){this._focusListener.remove();this._focusListener=null;}if(this._clickListener){this._clickListener.remove();this._clickListener=null;}Object.keys(ua).forEach(function(ab){var bb=this._privacyReminders[ab];if(bb&&bb.dialog&&bb.shown){bb.dialog.hide();bb.events.forEach(function(cb){cb.remove();});bb.events=[];if(bb.conversionListener)if(this._newPrivacyWidgetInstance){this._newPrivacyWidgetInstance.unsubscribe(bb.conversionListener);}else fa.unsubscribe(bb.conversionListener);bb.conversionListener=null;}}.bind(this));if(this._dragdrop){this._dragdrop.deactivate();this._dragdrop=null;}if(this._modulesAreBootloaded){this._tagger.cleanup();this._privacyWidgetTags.destroy();this._privacyWidgetTags=null;this._scraper.disable();}if(this._bootloadCallback){this._bootloadCallback.cancel();this._bootloadCallback=null;}if(this._dragEnterHandler){this._dragEnterHandler.unsubscribe();this._dragEnterHandler=null;}if(this._pagesComposerEntryLogger)this._pagesComposerEntryLogger.unregister();};za.prototype.reset=function(){"use strict";var ab=ba.byClass(this._root,"child_was_focused");if(ab)t.removeClass(ab,"child_was_focused");if(this._tagger)this._tagger.reset();if(this._scraper)this._scraper.reset();if(this._newPrivacyWidgetInstance)this._newPrivacyWidgetInstance.informTagsChanged([]);this.getComponent('maininput').instance.setPlaceholder(this._config.mentionsPlaceholder);if(this._config.prefill_text)this._resetPrefill();};za.prototype.canSwitchAway=function(){"use strict";return !ba.byClass(this._root,'async_saving');};za.prototype.bootloadAttachments=function(){"use strict";if(this._bootloading)return;this._bootloading=true;p.getEndpoint(this._root,'/ajax/composerx/attachment/status/bootload/',true);};za.prototype.setBootloadedContent=function(ab){"use strict";this._bootloading=false;this._setEveryonePrivacyImpression=!!ab.set_everyone_privacy_impression;Object.keys(ua).forEach(function(eb){var fb=ab[eb+'_privacy_reminder'];if(fb)this._privacyReminders[eb]={dialog:fb};}.bind(this));if(ab.markup.privacy_widget){var bb=v.find(this._root,"._etn");u.setContent(bb,ab.markup.privacy_widget);var cb=v.find(this._root,"._1dwm");if(cb){cb.disabled=false;t.removeClass(cb,"_42fr");}}var db=ab.placeholders.map(function(eb){return eb.component_name;});s.waitForComponents(this._composerID,db,function(){var eb=v.find(this._root,"._3-6"),fb=v.find(this._root,"._3-7");u.setContent(eb,ab.markup.tagger_content);u.setContent(fb,ab.markup.tagger_icons);if(ab.markup.privacy_widget)this._initPrivacyWidgetInstance();p.addPlaceholders(this._root,this,ab.placeholders);this._tagger=ab.tagger;m.updateMessageBoxBarState(this);this._fullVersion=true;if(this._attachmentIsActive)this._fullInitWithComponents(ab);o.registerMentionsForComposerCancel(this.getComponent('maininput'),this.getComposerID());}.bind(this));};za.prototype._getScraperEndpoint=function(){"use strict";return ia('/ajax/composerx/attachment/link/scraper/');};za.prototype._isFocused=function(){"use strict";return v.contains(this._root,oa());};za.prototype._onFocus=function(){"use strict";r.logEntry(this._composerID);this._prefillOnFocus();h.inform(y.COMPOSER_FOCUSED);if(this._fullVersion||this._bootloading)return;h.inform('composer/focus',this._composerID);h.inform('composer/render_pab_nux');this.bootloadAttachments();};za.prototype.allowOGTagPreview=function(){"use strict";return true;};za.prototype._sendSetEveryonePrivacyImpression=function(){"use strict";new i('/ajax/privacy/reminders/set_everyone_privacy_impression').send();};za.setBootloadedContent=function(ab,bb){"use strict";var cb=va[ab];if(cb)cb.setBootloadedContent.call(cb,bb);};ka(za.prototype,{_attachmentIsActive:false,_bootloading:false,_modulesAreBootloaded:false,_fullVersion:false,_focusListener:null,_privacyWidgetTags:null,_scraper:null,_dragdrop:null,_bootloadCallback:null,attachmentClassName:"_4j"});e.exports=za;},null); -__d("fileSliceName",["UserAgent_DEPRECATED"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h='slice',i;if(i=g.chrome()){if(i<21)h='webkitSlice';}else if(i=g.firefox()){if(i<13)h='mozSlice';}else if(!(i=g.safari()))if(g.webkit())h='webkitSlice';e.exports=h;},null); -__d("fileSlice",["fileSliceName"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=a.File&&a.File.prototype[g];e.exports=h;},null); -__d("VideoUploadFeatureDetector",["UserAgent_DEPRECATED","fileSlice"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={supportsChunking:function(){return (typeof h==='function')&&this.supportsXHR();},supportsFullProgress:function(){return !g.firefox();},supportsFileAPI:function(){return ('FileList' in window);},supportsFileReading:function(){return ('FileReader' in window&&'DataView' in window);},supportsXHR:function(){return ('FormData' in window);}};e.exports=i;},null); -__d("VideoUploadFile",["fileSlice","VideoUploadFeatureDetector"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j){"use strict";this.$VideoUploadFile0=j;this.$VideoUploadFile1=i.getExtensionFromFileInput(j);if(h.supportsFileAPI()&&j.files.length){this.$VideoUploadFile2=j.files[0];this.$VideoUploadFile3=this.$VideoUploadFile2.size;}else{this.$VideoUploadFile2=null;this.$VideoUploadFile3=null;}}i.prototype.getFileInput=function(){"use strict";return this.$VideoUploadFile0;};i.prototype.getFile=function(){"use strict";return this.$VideoUploadFile2;};i.prototype.getSize=function(){"use strict";return this.$VideoUploadFile3;};i.prototype.getExtension=function(){"use strict";return this.$VideoUploadFile1;};i.prototype.getChunk=function(j,k){"use strict";return this.$VideoUploadFile2?g.call(this.$VideoUploadFile2,j,k):null;};i.getExtensionFromFileInput=function(j){"use strict";return j.value.indexOf('.')!=-1?j.value.split('.').pop().toLowerCase():'';};e.exports=i;},null); -__d("ComposerXMediaUploadHandler",["Arbiter","AsyncRequest","ComposerXAjaxEndpoint","ComposerXController","CSS","Dialog","SubscriptionsHandler","URI","VideoUploadConfig","VideoUploadFile","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();var r=i.MEDIA_UPLOAD,s='/ajax/composerx/attachment/video/upload/',t=0;function u(v,w){"use strict";this.$ComposerXMediaUploadHandler0=v;this.$ComposerXMediaUploadHandler1=w;}u.prototype.fetchAttachments=function(){"use strict";[this.getPhotoUploadAttachmentEndpoint(),s].forEach(function(v){j.fetchAttachmentData(this.$ComposerXMediaUploadHandler0,v);}.bind(this));};u.prototype.handleFileSelected=function(v){"use strict";if(u.isVideoFile(v)){this.handleVideoSelected(v);}else this.handlePhotoSelected(v);};u.prototype.handleVideoSelected=function(v){"use strict";if(this.$ComposerXMediaUploadHandler1&&this.$ComposerXMediaUploadHandler1.imagesOnly){var w=new l().setModal(true).setButtons([l.OK]);if(this.$ComposerXMediaUploadHandler1.isEditComposer){w.setTitle(q._("Can't add video")).setBody(q._("Sorry, you can't add a video to a post you're editing."));}else w.setTitle(q._("Invalid Image File")).setBody(q._("Please upload a valid image file."));w.show();return;}j.getAttachment(this.$ComposerXMediaUploadHandler0,s);g.inform('ComposerXFilesStore/filesAdded/'+this.$ComposerXMediaUploadHandler0+'/videoupload',{fileInput:v},g.BEHAVIOR_PERSISTENT);};u.prototype.handlePhotoSelected=function(v){"use strict";j.getAttachment(this.$ComposerXMediaUploadHandler0,this.getPhotoUploadAttachmentEndpoint());u.$ComposerXMediaUploadHandler2(this.$ComposerXMediaUploadHandler0,v);};u.isVideoFile=function(v){"use strict";var w=p.getExtensionFromFileInput(v.getInput());return !!o.videoExtensions[w];};u.prototype.$ComposerXMediaUploadHandler3=function(){"use strict";return (this.$ComposerXMediaUploadHandler1)?this.$ComposerXMediaUploadHandler1.photoUploadOverrideEndpoint:null;};u.prototype.getPhotoUploadAttachmentEndpoint=function(){"use strict";var v=this.$ComposerXMediaUploadHandler3();return (v)?v:r;};u.$ComposerXMediaUploadHandler2=function(v,w){"use strict";g.inform('ComposerXFilesStore/filesAdded/'+v+'/mediaupload',{fileInput:w},g.BEHAVIOR_PERSISTENT);};u.setupFileUploadToComposerDialog=function(v,w,x){"use strict";var y='composerxmediauploadhandler'+t++,z=function(ca){k.conditionClass(v.getControl(),x,ca);v.getInput().disabled=ca;},aa=new n(w),ba=aa.getQueryData();ba.client_ref=y;aa.setQueryData(ba);w=aa.toString();v.subscribe('change',function(){new h().setURI(w).setErrorHandler(function(){v.clear();z(false);}).send();z(true);});g.subscribe('composer/dialog/'+y+'/new',function(ca,da){this.$ComposerXMediaUploadHandler2(da.composerID,v);var ea=new m();ea.addSubscriptions(g.subscribe('composer/publish',function(event,fa){if(da.composerID===fa.composer_id)a.location.reload();}),da.dialog.subscribe('hide',function(){ea.release();v.clear();z(false);}));}.bind(this));};e.exports=u;},null); -__d("ComposerXMentionsInputReset",["DOMQuery","Input"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j){var k=g.scry(j.element,'textarea.input')[0];j.instance.reset();h.reset(k);}e.exports=i;},null); -__d("ComposerXOGTaggerIconReset",["CSS","cx"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j){g.removeClass(j.element,"_4-jh");g.removeClass(j.element,"_509o");}e.exports=i;},null); -__d("ComposerXPrivacyWidgetReset",["Arbiter"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i){g.inform('Composer/changedtags',{withTags:[],mention:{},eventTag:false});}e.exports=h;},null); -__d("ComposerXTaggerIconReset",["CSS","cx"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j){g.removeClass(j.element,"_1dsa");g.removeClass(j.element,"_1dsb");g.removeClass(j.element,"_509o");}e.exports=i;},null); -__d("htmlize",["htmlSpecialChars"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i){return g(i).replace(/\r\n|[\r\n]/g,'
    ');}e.exports=h;},null); -__d("PhotosUploadWaterfallXMixin",["AsyncSignal","Banzai","PhotosUploadWaterfallXConfig","PUWApplications","copyProperties","invariant","randomInt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();function n(p,q){var r={};p.client_time=Math.round(Date.now()/1000);if(i.retryBanzai){r.retry=true;p.nonce=m(4294967296);}h.post(i.banzaiRoute,p,r);if(q)setTimeout(q,0);}function o(p,q){if(i.useBanzai){n(p,q);}else{var r=new g(i.loggingEndpoint,{data:JSON.stringify(p)}).setHandler(q);if(i.timeout)r.setTimeout(10*1000);r.send();}}e.exports={logStep:function(p,q,r){var s=this.getWaterfallID&&this.getWaterfallID(),t=this.getWaterfallAppName&&this.getWaterfallAppName();if(!s||!t)return;if(i.reduceLoggingRequests&&t===j.WEB_FLASH){r&&r();return;}o(k({step:p,qn:s,uploader:t,ref:this.getWaterfallSource&&this.getWaterfallSource()},q),r);}};},null); -__d("XPubcontentInlinePhotoPivotsEventsController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/pubcontent\/inline_photo_pivots_chaining\/events\/",{});},null); -__d("EntstreamAttachmentRelatedShare",["Arbiter","AsyncRequest","AttachmentRelatedShareConstants","csx","cx","CSS","DOM","Event","ge","tidyEvent","XPubcontentInlinePhotoPivotsEventsController"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();var r=2,s=3,t={createRelatedAttachmentDelay:function(u,v,w){var x=null;if(typeof u==="string"){x=o(u);}else x=u;if(!x)return;setTimeout(function(){g.inform(i.ARTICLE_CLICK,{attachment:x,global_share_id:v,is_auto_expand:true,is_right_click:false});},1000);},loadRelatedAttachment:function(u,v,w){var x=null;if(typeof u==="string"){x=o(u);}else x=u;if(!x)return;var y=n.listen(x,'click',function(){y.remove();g.inform(i.ARTICLE_CLICK,{attachment:x,global_share_id:v,is_right_click:false,share_id:w});}),z=n.listen(x,'mousedown',function(event){if(event.which===s||event.button===r){z.remove();g.inform(i.ARTICLE_CLICK,{attachment:x,global_share_id:v,is_right_click:true});}});},loadInlineStoryPivotAttachment:function(u,v){var w=o(u);if(!w)return;var x=n.listen(w,'click',function(){x.remove();g.inform(i.PHOTO_CLICK,{attachment:w,storyid:v});});},loadRelatedGameAttachment:function(u,v){var w=null;if(typeof u==="string"){w=o(u);}else w=u;if(!w)return;p(n.listen(w,'click',function(){g.inform(i.GAME_CLICK,{attachment:w,global_share_id:v});}));p(n.listen(w,'mousedown',function(event){if(event.which===s||event.button===r)g.inform(i.GAME_CLICK,{attachment:w,global_share_id:v});}));},loadRelatedLSCVideoAttachment:function(u,v){var w=null;if(typeof u==='string'){w=o(u);}else w=u;if(!w)return;var x="^div._4-u2",y=m.scry(w,x),z=n.listen(w,'click',function(){z.remove();g.inform(i.VIDEO_CLICK,{attachment:w,global_share_id:v});});},loadRelatedLSCInlineVideoAttachment:function(u,v){var w=null;if(typeof u==='string'){w=o(u);}else w=u;if(!w)return;n.listen(w,'click',function(){var x="^div._4-u2",y="_1d8v",z=m.scry(w,x),aa=z.length===1?z[0]:null,ba=aa.parentNode,ca=ba.previousSibling;while(!ca){ba=ba.parentNode;ca=ba.previousSibling;}if(!l.hasClass(ca,y)){var da=m.create('div',{className:y}),ea=m.insertBefore(aa.parentNode,da),fa=ea.length>=1?ea[0]:null;}else fa=ca;var ga=m.getID(fa);new h().setURI('/ajax/flash/expand_inline.php').setData({share_id:v,target_div:ga,max_width:470,max_height:264,replace_target_div:true}).setMethod('GET').setReadOnly(true).setRelativeTo(w.parentNode).send();});},loadRelatedEventsPivotAttachment:function(u,v){var w=null;if(typeof u==="string"){w=o(u);}else w=u;if(!w)return;p(n.listen(w,'click',function(){g.inform(i.EVENT_JOIN,{attachment:w,event_id:v});}));},closeButton:function(u,v){n.listen(u,'click',function(){m.remove(v);});},closeButtonPhotoPivots:function(u,v,w,x){n.listen(u,'click',function(){var y=q.getURIBuilder(),z={story_id:w,search_query_type:x,event:'hide'};new h().setMethod('POST').setURI(y.getURI()).setData(z).send();m.remove(v);});},seeAllLinkPhotoPivots:function(u,v,w){n.listen(u,'click',function(){var x=q.getURIBuilder(),y={story_id:v,search_query_type:w,event:'see_all'};new h().setMethod('POST').setURI(x.getURI()).setData(y).send();});},loadRelatedVideos:function(u,v,w){var x=o(u);if(!x)return;var y=o(v);if(!y)return;var z={global_share_id:w,attachment_div_id:m.getID(x.parentNode),video_div_id:v},aa=n.listen(y,'click',function(){aa.remove();g.inform(i.VIDEO_CLICK,{attachment:x.parentNode,attachment_div_id:m.getID(x.parentNode),video_div_id:v,global_share_id:w});});},removeOldSuggestions:function(u){var v=o(u);if(!v)return;var w=m.scry(v.parentNode,"._5d73");for(var x=1;x0&&v.y>0){this._dialog.setContext(u);return true;}}return false;},_handler:function(t){this._handlerCustomDuration(1500,t);},_handlerCustomDuration:function(t,u){var v=u.payload;if(!v||!this._updateDialogContext())return;var w=this._dialog.getContent().firstChild;k.setContent(w,v);g.announce(q(w));this._dialog.show();var x=m.byClass(w,'metaComposerUserEd');if(this._anim){this._anim.stop();this._anim=new h(x);}else this._anim=new h(x).from('opacity',0);this._anim.to('opacity',1).ease(l.sineOut).checkpoint().duration(t).checkpoint().to('opacity',0).ease(l.sineOut).checkpoint().ondone(this._killAnim.bind(this)).go();},_killAnim:function(t,u){if(this._anim){this._dialog.hide();this._anim.stop();this._anim=null;}}});e.exports=s;},null); -__d("PrivacySelectorOptionNew",["CSS","DOM","DOMQuery","JSXDOM","MenuSelectableItem","PrivacyConst","csx","cx","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();for(var p in k)if(k.hasOwnProperty(p))r[p]=k[p];var q=k===null?null:k.prototype;r.prototype=Object.create(q);r.prototype.constructor=r;r.__superConstructor__=k;function r(s){"use strict";k.call(this,s);this.updateAfterTagExpansion(this._data.hasTags);}r.prototype.getTooltip=function(){"use strict";return this._data.tooltip;};r.prototype.getPostParam=function(){"use strict";return this._data.postParam;};r.prototype.getTriggerIcon=function(){"use strict";return this._data.triggerIcon;};r.prototype.isPublic=function(){"use strict";return this.getPostParam()===l.PostParam.EVERYONE;};r.prototype.isFriends=function(){"use strict";return this.getPostParam()===l.PostParam.FRIENDS;};r.prototype.isOnlyMe=function(){"use strict";return this.getPostParam()===l.PostParam.ONLY_ME;};r.prototype.isBasicOption=function(){"use strict";return true;};r.prototype.isCustomOption=function(){"use strict";return false;};r.prototype.getTagExpansionBehavior=function(){"use strict";return this._data.tagExpansionBehavior;};r.prototype.getBaseValue=function(){"use strict";return this._data.baseValue;};r.prototype.getIndex=function(){"use strict";return this._data.value;};r.prototype.getLoggingEventName=function(){"use strict";switch(this.getPostParam()){case l.PostParam.FRIENDS:return 'click_friends';case l.PostParam.EVERYONE:return 'click_everyone';case l.PostParam.ONLY_ME:return 'click_only_me';case l.PostParam.FRIENDS_MINUS_ACQUAINTANCES:return 'click_friends_except_acquaintances';case l.PostParam.FB_ONLY:return 'click_fb_only';default:return 'click_other';}};r.prototype.updateAfterTagExpansion=function(s){"use strict";var t=this._data.baseLabel;if(s&&this._data.showPlusOnTagExpansion)t=o._("{privacyLabel} (+)",[o.param("privacyLabel",this._data.baseLabel)]);this._setLabel(t);if(s){this._setSubtitle(this._data.optionSubtitleWithTags);}else this._setSubtitle(this._data.optionSubtitle);};r.prototype.isBelowFold=function(){"use strict";var s=g.hasClass(this.getRoot(),"_3ey_");return s;};r.prototype._setLabel=function(s){"use strict";if(!s)return;var t=i.find(this.getRoot(),"._54nh");t&&h.setContent(t,s);this._data.label=s;};r.prototype._setSubtitle=function(s){"use strict";if(!s)return;var t=i.find(this.getRoot(),"._48u1");t&&h.setContent(t,s);};r.prototype.render=function(){"use strict";var s=q.render.call(this);if(!this._data.isPrimaryOption)return s;var t=i.find(s,"._54nc");t&&g.addClass(t,"_48t_");var u=h.find(s,"._54nh");u&&g.addClass(u,"_48u0");var v=j.div({className:"_48u1"},this._data.optionSubtitle);h.appendContent(t,v);return s;};e.exports=r;},null); -__d("XPrivacySelectorLoggingController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/privacy\/selector\/log\/",{event:{type:"Enum",required:true,enumType:1},render_location:{type:"Int",required:true},content_type:{type:"String",required:true}});},null); -__d("PrivacySelectorCustomOption",["AsyncDialog","AsyncRequest","DataStore","PrivacySelectorOptionNew","XPrivacySelectorLoggingController","XPrivacyCustomDialogController"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();for(var m in j)if(j.hasOwnProperty(m))o[m]=j[m];var n=j===null?null:j.prototype;o.prototype=Object.create(n);o.prototype.constructor=o;o.__superConstructor__=j;function o(p){"use strict";j.call(this,p);}o.prototype.isBasicOption=function(){"use strict";return false;};o.prototype.isCustomOption=function(){"use strict";return true;};o.prototype.getSelector=function(){"use strict";return this._selector;};o.prototype.setPostParam=function(p){"use strict";this._data.postParam=p;};o.prototype.getLoggingEventName=function(){"use strict";return 'click_custom';};o.prototype.openDialog=function(p){"use strict";if(typeof this._selector==='undefined')this._selector=p;i.set(this._data.id,'PrivacySelectorCustomOption',this);var q=l.getURIBuilder().setString('option_id',this._data.id).setString('id',this._data.privacyfbid.toString()).setString('post_param',p.getPostParam()).setString('content_type',p.getContentType()).setInt('render_location',p.getRenderLocation()).setIntVector('tags',p.getTags()).setBool('autosave',this._data.autosave).setBool('limit_community',this._data.limitcommunity).setBool('limit_facebook',this._data.limitfacebook).setBool('limit_fof',this._data.limitfof).setBool('limit_tagexpand',this._data.limittagexpand).setBool('is_new_privacy_selector',true).setString('tag_expansion_button',p.getTagExpansionButton()).getURI(),r=new h(q);r.setRelativeTo(p.getTriggerButtonElement());g.send(r,function(s){var t=function(u){var v=k.getURIBuilder().setEnum('event',u).setInt('render_location',document.getElementsByName('render_location')[0].value).setString('content_type',document.getElementsByName('content_type')[0].value).getURI();new h().setURI(v).send();};s.subscribe('hide',function(){p.inform('custom/hide');p.inform('selectorFinished');});s.subscribe('success',function(){p.inform('custom/success');t('custom_save');});s.subscribe('cancel',function(){p.inform('custom/cancel');t('custom_cancel');});});};o.customPrivacySave=function(p,q,r){"use strict";var s=i.get(p,'PrivacySelectorCustomOption');s.getSelector().updateDataForItemIndex(s.getIndex(),q,r);s.getSelector().setValue(s.getIndex());i.remove(p,'PrivacySelectorCustomOption');};e.exports=o;},null); -__d("PrivacySelectableMenu",["AsyncRequest","CSS","Ease","PrivacySelectorCustomOption","PrivacySelectorOptionNew","SelectableMenu","SelectableMenuUtils","XPrivacySelectorLoggingController","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();for(var p in l)if(l.hasOwnProperty(p))r[p]=l[p];var q=l===null?null:l.prototype;r.prototype=Object.create(q);r.prototype.constructor=r;r.__superConstructor__=l;function r(s,t){"use strict";l.call(this,s,t);}r.prototype.getItemForIndex=function(s){"use strict";for(var t=0;t=15)setTimeout(function(){this._scrollableArea.scrollToBottom(true,{duration:1000,ease:i.sineOut});}.bind(this),250);};e.exports=r;},null); -__d("MenuStaticItem",["DOM","MenuItemBase","React","copyProperties","cx","emptyFunction"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();for(var m in h)if(h.hasOwnProperty(m))o[m]=h[m];var n=h===null?null:h.prototype;o.prototype=Object.create(n);o.prototype.constructor=o;o.__superConstructor__=h;function o(p){"use strict";h.call(this);this._data=p;}o.prototype._renderItemContent=function(){"use strict";var p=g.create('span',{className:"_54nc _54ah"});if(this._data.children){i.render(i.createElement("span",{className:"_54nh"},this._data.children),p);}else g.setContent(p,g.create('span',{className:"_54nh"},this._data.markup));return p;};j(o.prototype,{handleClick:l});e.exports=o;},null); -__d("PopoverButton",["DOM","DOMQuery","csx"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j={setLabel:function(k,l){var m=h.find(k,"._55pe"),n=m.childNodes;for(var o=0;o0;this._entID=oa.ent_id;this._popover=this._popoverMenu.getPopover();this._receivingUpdate=false;this._initTagExpansionButtonState();this._selectorSyncKey=oa.selector_sync_key;if(oa.use_async_menu){this._popoverMenu.subscribe('setMenu',function(){this._menu=this._popoverMenu.getMenu();if(!(this._menu instanceof u))return;this._onMenuLoad();this._onPopoverOpen();this.inform('asyncMenuLoaded');}.bind(this));}else this._onMenuLoad();if(this._selectorSyncKey)this._initSelectorSync();}ia.prototype._initSelectorSync=function(){"use strict";t.subscribe('change',function(){t.get(this._selectorSyncKey,function(ja){if(ja.unique_id!==this._menu._config.id){this._receivingUpdate=true;this.selectOption(ja.post_param);this.isComposerWithDefault()&&this.reloadSelector();}}.bind(this));}.bind(this));if(!this._syncsToDefault())this._menu.subscribe('change',function(){this._broadcastUpdate();}.bind(this));};ia.prototype._broadcastUpdate=function(){"use strict";if(!this._receivingUpdate){var ja=this._getSelectedOption();s.handleUpdateFromSelector({selector_type:this._selectorSyncKey,post_param:ja.getPostParam().toString(),unique_id:this._menu._config.id});}else this._receivingUpdate=false;};ia.prototype.isComposerWithDefault=function(){"use strict";return this._syncsToDefault()&&!this._config.replace_on_select;};ia.prototype._isSelectorForChangingComposerDefault=function(){"use strict";return this._syncsToDefault&&this._config.replace_on_select;};ia.prototype._syncsToDefault=function(){"use strict";return this._config.selector_sync_key==q.PrivacyField.DEFAULT_COMPOSER.toString();};ia.prototype.getIsPublicSelected=function(){"use strict";return this._selectedOption&&this._selectedOption.isPublic();};ia.prototype.getIsFriendsSelected=function(){"use strict";return this._selectedOption&&this._selectedOption.isFriends();};ia.prototype.getIsOnlyMeSelected=function(){"use strict";return this._selectedOption&&this._selectedOption.isOnlyMe();};ia.prototype.getSelectedBaseValue=function(){"use strict";return this._selectedOption&&this._selectedOption.getBaseValue();};ia.prototype.getSelectedPostParam=function(){"use strict";return this._selectedOption&&this._selectedOption.getPostParam().toString();};ia.prototype.setValue=function(ja){"use strict";this._menu.setValue(ja);};ia.prototype.openSelectorExpanded=function(ja){"use strict";this.openSelector(function(){this._menu.expandMenu();ja&&ja();}.bind(this));};ia.prototype.openSelector=function(ja){"use strict";if(this._menu instanceof p){this.subscribeOnce('asyncMenuLoaded',function(){ja&&ja();}.bind(this));this._popover.showLayer();}else{this._popover.showLayer();ja&&ja();}};ia.prototype.closeSelector=function(){"use strict";this._popover.hideLayer();};ia.prototype.getPopover=function(){"use strict";return this._popover;};ia.prototype.getTriggerButtonElement=function(){"use strict";return this._button;};ia.prototype.getRoot=function(){"use strict";return this._root;};ia.prototype.getMenuElement=function(){"use strict";return this._menu.getRoot();};ia.prototype.selectDefaultOption=function(){"use strict";this._menu.selectDefaultOption();this._updateMenu();};ia.prototype.selectOption=function(ja){"use strict";if(!ja)return;if(this._menu instanceof p){this.subscribeOnce('asyncMenuLoaded',this._selectOptionImpl.bind(this,ja));this._fetchAsyncMenu();}else this._selectOptionImpl(ja);};ia.prototype._selectOptionImpl=function(ja){"use strict";this._menu.selectOption(ja);this._updateMenu();};ia.prototype._updateMenu=function(){"use strict";this._selectedOption=this._getSelectedOption();this.updateDataForItemIndex(this._selectedOption.getIndex(),this._selectedOption.getPostParam().toString());};ia.prototype.setTagExpansionButton=function(ja){"use strict";this._tagExpansionButton=ja;if(this._hasTags){this._menu.updateOptionsAfterTagExpansion(this._showTagExpansion());this._updateTriggerButtonLabel();this._updateTooltipAfterChange();}};ia.prototype.getTagExpansionButton=function(){"use strict";return this._tagExpansionButton;};ia.prototype._initTagExpansionButtonState=function(){"use strict";this._tagExpansionButton=v.FRIENDS_OF_TAGGED;var ja=this._getSelectedOption();if(!ja)return;var ka=JSON.parse(ja.getPostParam());if(ka.settings&&ka.settings.no_tag_expansion===true){this._tagExpansionButton=v.TAGGED_ONLY;}else this._tagExpansionButton=v.FRIENDS_OF_TAGGED;};ia.prototype._fetchAsyncMenu=function(){"use strict";if(this._config.use_async_menu)this._popoverMenu.fetchMenu();};ia.prototype._getSelectedOption=function(){"use strict";if(!(this._menu instanceof u))return;var ja;this._menu.forEachItem(function(ka){if(ka instanceof n&&ka.isSelected())ja=ka;}.bind(this));return ja;};ia.prototype._onItemClick=function(ja,ka){"use strict";var la=ka.item;if(la instanceof m)return;if(la.isBasicOption()){this.updateDataForItemIndex(la.getIndex(),la.getPostParam().toString());}else if(la.isCustomOption()){this._closeForCustom=true;la.openDialog(this);}this.inform('click',{customSelected:la.isCustomOption()});};ia.prototype.getContentType=function(){"use strict";return this._contentType;};ia.prototype.getRenderLocation=function(){"use strict";return this._renderLocation;};ia.prototype.getPostParam=function(){"use strict";return this._postParam;};ia.prototype.getTags=function(){"use strict";return this._tags;};ia.prototype.updateDataForItemIndex=function(ja,ka,la){"use strict";if(la){this._tagExpansionButton=la;this.inform('CustomTagExpansion',this._tagExpansionButton);}var ma=this._menu.getItemForIndex(ja);if(ma.isCustomOption())ma.setPostParam(ka);this._selectedOption=ma;this._postParam=ka;l.setValue(this._input,ka);this._updateTriggerButtonLabel();if(this._shouldUpdateTooltips()){this._updateTooltipAfterChange();}else{if(this._isSavedOnSelect)this._savePrivacy();this._setTooltipValue(this._selectedOption.getTooltip());}this.inform('changed',{post_param:this._postParam,base_value:this.getSelectedBaseValue()});};ia.prototype._shouldUpdateTooltips=function(){"use strict";return this._prefixTooltipApps||this._supportsTagExpansion;};ia.prototype._savePrivacy=function(){"use strict";this._sendUpdateRequest();};ia.prototype.reloadSelector=function(){"use strict";var ja=z.getURIBuilder().setString('privacy_fbid',String(this._privacyFBID)).setString('post_param',this._postParam).setInt('render_location',this._renderLocation).setBool('reload_selector',true).setString('ent_id',String(this._entID)).getURI();new h().setRelativeTo(this._root).setHandler(this.inform.bind(this,'reloaded')).setURI(ja).send();};ia.prototype.transitionToDefault=function(){"use strict";var ja=y.getURIBuilder().setString('post_param',this._postParam).setEnum('render_location',this._renderLocation).getURI();new h().setRelativeTo(this._root).setHandler(function(){this._config.selector_sync_key=q.PrivacyField.DEFAULT_COMPOSER.toString();this._initSelectorSync();this.inform.bind(this,'reloaded');}.bind(this)).setURI(ja).send();};ia.prototype._sendUpdateRequest=function(){"use strict";var ja=z.getURIBuilder().setString('privacy_fbid',String(this._privacyFBID)).setString('post_param',this._postParam).setIntVector('tags',this._tags).setInt('render_location',this._renderLocation).setBool('is_saved_on_select',this._isSavedOnSelect).setBool('should_return_tooltip',this._shouldUpdateTooltips()).setBool('prefix_tooltip_with_app_privacy',this._prefixTooltipApps).setBool('replace_on_select',this._config.replace_on_select).setString('ent_id',String(this._entID)).setString('tag_expansion_button',this._tagExpansionButton).getURI();new h().setRelativeTo(this._button).setHandler(aa(this,function(ka){if(this._isSelectorForChangingComposerDefault())this._broadcastUpdate();var la=ka&&ka.payload&&ka.payload.tooltip;la&&this._setTooltipValue(ka.payload.tooltip);this.inform('selector_updated');})).setURI(ja).send();};ia.prototype.informTagsChanged=function(ja){"use strict";var ka=this._getTags(ja);this.informTagsChangedWithIDs(ka);};ia.prototype.informTagsChangedWithIDs=function(ja){"use strict";var ka=!ja.length;if(this._hasTags===ka){this._hasTags=!!ja.length;this._menu.updateOptionsAfterTagExpansion(this._showTagExpansion());this._updateTriggerButtonLabel();}if(this._tags.length!==ja.length){this._tags=ja;this._updateTooltipAfterChange();}};ia.prototype._showTagExpansion=function(){"use strict";return this._hasTags&&(this._tagExpansionButton.valueOf()===v.FRIENDS_OF_TAGGED.valueOf());};ia.prototype._getTags=function(ja){"use strict";var ka=[],la=k.getID();if(ja.withTags)for(var ma=0;ma_:;\n\r',j=i.replace('#','')+'&';function k(n,o){"use strict";this.$Matchers0=n;this.$Matchers1=o;this.$Matchers2();}k.prototype.$Matchers2=function(){"use strict";var n=this.$Matchers3(this.$Matchers1),o=this.$Matchers4(this.$Matchers0,this.$Matchers1),p=this.$Matchers5(this.$Matchers0,o),q=this.$Matchers6(n,p),r=this.$Matchers7(n);this.$Matchers8=new RegExp('['+this.$Matchers0+']$');this.$Matchers9=new RegExp(p+'$');this.$Matchersa=new RegExp(r+'$');this.$Matchersb=new RegExp(q+'$');this.$Matchersc=new RegExp('['+h+']');};k.prototype.$Matchers3=function(n){"use strict";return '\\b[A-Z][^ A-Z'+n+']';};k.prototype.$Matchers4=function(n,o){"use strict";return '(?:[^'+n+o+']|['+o+'][^ '+o+'])';};k.prototype.$Matchers5=function(n,o){"use strict";return '(?:^|\\s)(?:['+n+']('+o+'{0,20}))';};k.prototype.$Matchers6=function(n,o){"use strict";return '(?:(?:^|[^#])('+n+'+)|'+o+')';};k.prototype.$Matchers7=function(n){"use strict";return '(?:'+n+'{4,})';};k.prototype.getMainMatcher=function(){"use strict";return this.$Matchers9;};k.prototype.getTriggerMatcher=function(){"use strict";return this.$Matchers8;};k.prototype.getAutoMatcher=function(){"use strict";return this.$Matchersb;};k.prototype.getHashtagMatcher=function(){"use strict";return this.$Matchersc;};var l='\\b[A-Z][^ A-Z'+i+']',m={mentionsMatchers:new k(g,i),hashtagMatchers:new k(h,j),userMatcher:new RegExp('(?:'+l+'{4,})'+'$')};e.exports=m;},null); -__d("MentionsInput",["Arbiter","ArbiterMixin","Bootloader","CSS","DataStore","DOM","Event","FlipDirection","Input","InputSelection","Keys","MentionsInputMatchers","Parent","Style","TokenizeUtil","UserAgent_DEPRECATED","htmlize","mixin","removeFromArray","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z){b.__markCompiled&&b.__markCompiled();var aa='\u200B',ba=new RegExp(aa,'g'),ca=function(pa){return pa+aa;},da='\uFFFD',ea=/@+\[[0-9]+\:([^\]]|\\\])*\]+/g,fa=/[\\\]:]/g,ga={MENTIONS:'mentions',HASHTAGS:'hashtags'};function ha(pa,qa){return pa.replace(qa,' '.repeat(qa.length));}function ia(pa,qa){return pa.substring(0,qa)+pa.substring(qa+1);}function ja(pa){var qa=pa.lastIndexOf('>');if(qa>=0){var ra=pa.indexOf(' ',qa);return ra>=0?pa.substr(0,ra+1):pa;}else return '';}function ka(pa,qa,ra){var sa=ra.lastIndexOf('<',qa)>ra.lastIndexOf('>',qa);return sa?' ':' ';}var la=x(h);for(var ma in la)if(la.hasOwnProperty(ma))oa[ma]=la[ma];var na=la===null?null:la.prototype;oa.prototype=Object.create(na);oa.prototype.constructor=oa;oa.__superConstructor__=la;function oa(pa,qa,ra,sa,ta,ua){"use strict";k.set(pa,'MentionsInput',this);this._root=pa;this._typeahead=qa;this._input=ra;this._offsets=[];var va=null,wa=this.init.bind(this,sa,ta,ua);try{va=document.activeElement===this._input;}catch(xa){}if(va){setTimeout(wa,0);}else var ya=m.listen(this._input,'focus',function(){setTimeout(wa,0);ya.remove();});this._hasHashtags=sa.hashtags;this._hashtagsDataSource=sa.hashtags_data_source;this._mentionsDataSource=this._typeahead.getData();this._currentDataSource=this._mentionsDataSource;this._autoSuggestPages=sa.autosuggest_pages;this._lastHighlighterHTML='';this._hashtags=[];this._matchers=r.mentionsMatchers;this._setMatchersMode(ga.MENTIONS);}oa.prototype.init=function(pa,qa,ra){"use strict";if(this._initialized)return;this._initValue=qa?qa.value:'';this._initialized=true;this._highlighter=l.find(this._root,'.highlighter');this._highlighterInner=this._highlighter.firstChild;this._highlighterContent=l.find(this._root,'.highlighterContent');this._hiddenInput=l.find(this._root,'.mentionsHidden');this._placeholder=this._input.getAttribute('placeholder')||'';this._metrics=ra;if(!this._hiddenInput.name){var sa=this._input.name;this._input.name=sa+'_text';this._hiddenInput.name=sa;}this._initEvents();this._initTypeahead();if(qa===null){this._setup();}else this.reset(qa);if(pa.autoheight)this._typeahead.getCore().updateHeight&&this._typeahead.getCore().updateHeight();this.inform('init',null,g.BEHAVIOR_STATE);};oa.prototype._setup=function(){"use strict";this._mentioned={};this._orderedUIDs=[];this._numMentioned=0;this._filterData=null;this._highlighterContent&&l.empty(this._highlighterContent);this._highlighterAuxContent&&l.remove(this._highlighterAuxContent);this._highlighterAuxContent=null;o.setPlaceholder(this._input,this._placeholder);t.set(this._typeahead.getElement(),'height','auto');};oa.prototype.reset=function(pa){"use strict";if(!this._initialized)return;this._setup();var qa=pa&&pa.value||'';this._value=qa;this._hiddenInput&&(this._hiddenInput.value=qa);if(this._input&&pa)o.setValue(this._input,pa.value);var ra=pa&&pa.mentions;if(ra&&ra.length){var sa=[];ra.forEach(function(ta){sa.push(ta.offset+ta.length);delete ta.offset;delete ta.length;this._addToken(ta);},this);sa.reverse().forEach(function(ta){qa=qa.substring(0,ta)+aa+qa.substring(ta);});}o.setValue(this._input,qa);if(this._value==='')n.setDirection(this._input);this._update();};oa.prototype.getValue=function(){"use strict";return o.getValue(this._input).replace(ba,'');};oa.prototype._getMarkedValue=function(){"use strict";return o.getValueRaw(this._input);};oa.prototype.getRawValue=function(){"use strict";this._update();return o.getValue(this._hiddenInput);};oa.prototype.checkValue=function(){"use strict";var pa=this._typeahead.getCore().getValue();if(this._matchers.getTriggerMatcher().exec(pa)||pa==='')this.inform('sessionEnd',{});};oa.prototype.getTypeahead=function(){"use strict";return this._typeahead;};oa.prototype.hasChanges=function(){"use strict";return !o.isEmpty(this._input)&&this._input.value!==this._initValue&&this._initialized;};oa.prototype.focus=function(){"use strict";this._input.focus();};oa.prototype._initEvents=function(){"use strict";var pa=this._update.bind(this);m.listen(this._input,{input:pa,keyup:pa,change:pa,blur:this._handleBlur.bind(this),focus:this._handleFocus.bind(this),keydown:this._handleKeydown.bind(this)});if(this._metrics){this._metrics.init(this._typeahead);this._metrics._reset();this._metrics.bindSessionStart(this._typeahead,'render',true);this._metrics.bindSessionEnd(this._typeahead.getView(),'select',true);this._metrics.bindSessionEnd(this,'sessionEnd',false);m.listen(this._input,'keyup',function(event){setTimeout(this.checkValue.bind(this),0);}.bind(this));}};oa.prototype._initTypeahead=function(){"use strict";this._typeahead.subscribe('select',function(ua,va){var wa=va.selected;this._addToken({uid:wa.uid,text:wa.text,type:wa.type,weakreference:wa.weak_reference});this.updateValue();}.bind(this));var pa=this._input,qa=null;function ra(){if(qa===null){qa=o.getSubmitOnEnter(pa);o.setSubmitOnEnter(pa,false);}}function sa(){if(qa!==null){o.setSubmitOnEnter(pa,qa);qa=null;}}this._typeahead.subscribe('reset',sa);this._typeahead.subscribe('render',ra);this._typeahead.subscribe('highlight',function(ua,va){va.index>=0?ra():sa();});this._typeahead.subscribe('query',function(){this._filterData=null;}.bind(this));var ta=this._typeahead.getCore();ta.suffix=aa;this._handleFocus();};oa.prototype._handleBlur=function(){"use strict";if(this._filterToken){this._filterToken.remove();this._filterToken=null;}};oa.prototype._handleFocus=function(){"use strict";if(!this._filterToken)this._filterToken=this._typeahead.getData().addFilter(this._filterResults.bind(this));this._updateWidth();};oa.prototype._handleKeydown=function(event){"use strict";var pa=event.keyCode;if(pa==q.BACKSPACE||pa==q.DELETE)this._handleBackspaceAndDelete(event,pa);if(pa==q.LEFT||pa==q.RIGHT)setTimeout(this._handleLeftAndRight.bind(this,pa),10);};oa.prototype._handleLeftAndRight=function(pa){"use strict";var qa=this._getMarkedValue(),ra=p.get(this._input),sa=ra.start,ta=ra.end,ua=pa==q.LEFT,va=pa==q.RIGHT;if(sa==ta){var wa=ua?-1:1;if(qa.charAt(sa)==aa)p.set(this._input,sa+wa);}else if(ua&&qa.charAt(sa)==aa){p.set(this._input,sa-1,ta);}else if(ua&&qa.charAt(ta)==aa){p.set(this._input,sa,ta-1);}else if(va&&qa.charAt(ta)==aa){p.set(this._input,sa,ta+1);}else if(va&&qa.charAt(sa)==aa)p.set(this._input,sa+1,ta);};oa.prototype._handleBackspaceAndDelete=function(event,pa){"use strict";var qa=p.get(this._input),ra=false;if(qa.start!==qa.end)if(this._offsetIsInsideMention(qa.start+1)&&this._offsetIsInsideMention(qa.end)){ra=(pa===q.BACKSPACE);}else return;var sa=pa===q.DELETE?1:-1,ta=sa+(ra?qa.end:qa.start),ua=this._getMarkedValue(),va=ua;for(var wa=0;wa=bb){va=ha(va,za);continue;}var cb,db;if(xa.type!='user'){cb=0;db=[ya];}else{cb=za.substring(0,ta-ab).split(' ').length-1;db=ya.split(' ');}var eb=db.splice(cb,1)[0],fb=db.join(' '),gb=cb===0?ab:bb-eb.length-1;if(fb){xa.text=fb;fb=ca(fb);}else this._removeToken(xa.uid);var hb=ua.substring(0,ab)+fb+ua.substring(bb);o.setValue(this._input,hb);p.set(this._input,gb);this._update();event.kill();break;}};oa.prototype._offsetIsInsideMention=function(pa){"use strict";for(var qa=0;qathis._offsets[qa][0]&&pa<=this._offsets[qa][1])return true;return false;};oa.prototype._filterResults=function(pa){"use strict";if(this._filterData===null){var qa=p.get(this._input).start;if(this._offsetIsInsideMention(qa)){this._filterData={caretIsInsideMention:true};return false;}var ra=this._typeahead.getCore();this._filterData={value:ra.getValue(),rawValue:ra.getRawValue()};}if(this._filterData.caretIsInsideMention)return false;if(this._matchers.getMainMatcher().test(this._filterData.rawValue))return true;if(pa.type!='user'&&!pa.connected_page)return false;if(pa.disable_autosuggest)return false;if(this._matchersMode===ga.MENTIONS&&r.userMatcher.test(this._filterData.value))return true;return u.isExactMatch(this._filterData.value,this._typeahead.getData().getTextToIndex(pa));};oa.prototype._addToken=function(pa){"use strict";var qa=pa.uid;if(!this._mentioned.hasOwnProperty(qa)){this._mentioned[qa]=pa;var ra=this._orderedUIDs,sa=this._getMarkedValue().replace(ea,da),ta=sa.indexOf(ca(this._mentioned[qa].text)),ua=false,va=0;for(var wa=0;wa-1){va=ia(va,ua);qa=ia(qa,ua);}if(pa!==va){var wa=p.get(this._input);o.setValue(this._input,va);p.set(this._input,wa.start);this._value=va;}};oa.prototype._renderHashtags=function(pa){"use strict";this._initHashtagParser(pa);if(!this._hasHashtags||!this._hashtagParser)return w(pa);this._hashtags=this._hashtagParser.parse(pa);var qa=[],ra=0;for(var sa=0;sa',ta.marker,ta.tag,'');ra=ta.rawOffset+ta.marker.length+ta.tag.length;}qa.push(w(pa.substring(ra)));return qa.join('');};oa.prototype.updateValue=function(){"use strict";var pa=this._value=this._getMarkedValue(),qa=this._orderedUIDs,ra=pa.replace(ea,da);for(var sa=0;sa':'';va=va.replace('@['+wa+':]',za+w(ca(ya))+'');ya=ya.replace(fa,function(bb){return '\\'+bb;});ra=ra.replace('@['+wa+':]','@['+wa+':'+ya+']');}var ab=ja(va);if(this._highlighterAuxContent||ab!==this._lastHighlighterHTML){if(v.ie()<9)va=va.replace(/ /g,ka);this._highlighterContent.innerHTML=va;this._updateHighlighter();this._lastHighlighterHTML=ab;}this._hiddenInput.value=ra;this._updateHeight();};oa.prototype._updateDirection=function(){"use strict";var pa=t.get(this._input,'direction');if(pa==this._dir)return;this._dir=pa;t.set(this._highlighter,'direction',pa);if(pa=='rtl'){t.set(this._highlighter,'text-align','right');}else t.set(this._highlighter,'text-align','left');};oa.prototype._updateWidth=function(){"use strict";var pa=this._input.offsetWidth;if(pa===this._lastInputWidth)return;this._lastInputWidth=pa;var qa=t.getFloat.bind(null,this._input),ra=pa-qa('paddingLeft')-qa('paddingRight')-qa('borderLeftWidth')-qa('borderRightWidth');this._highlighterInner.style.width=Math.max(ra,0)+'px';};oa.prototype._updateHeight=function(){"use strict";if(this._highlighterAuxContent){var pa=this._highlighter.offsetHeight,qa=this._typeahead.getElement();if(pa>qa.offsetHeight){if(this._typeahead.setHeight){this._typeahead.setHeight(pa);}else t.set(qa,'height',pa+'px');g.inform('reflow');}}};oa.prototype._updateTypeahead=function(){"use strict";var pa=this._typeahead.getCore();pa.matcher=this._matchers.getAutoMatcher();pa.setExclusions(this._orderedUIDs);this.inform('update',{mentioned:this._mentioned});};oa.prototype.setPlaceholder=function(pa){"use strict";this._placeholder=pa;if(!this.hasAuxContent())o.setPlaceholder(this._input,pa);};oa.prototype._updateHighlighter=function(){"use strict";if(this._highlighterContent)j.conditionShow(this._highlighterContent,this._numMentioned>0||this.hasAuxContent()||this._hashtags.length);};oa.prototype.setAuxContent=function(pa){"use strict";if(this._highlighterContent){if(!this._highlighterAuxContent){this._highlighterAuxContent=l.create('span',{className:"highlighterAuxContent"});l.insertAfter(this._highlighterContent,this._highlighterAuxContent);}l.setContent(this._highlighterAuxContent,pa);if(pa){o.setPlaceholder(this._input,'');}else o.setPlaceholder(this._input,this._placeholder);this._value=null;this._update();this._updateHighlighter();this._updateHeight();}};oa.prototype.hasAuxContent=function(){"use strict";var pa=this.getAuxContentRoot();return pa&&j.shown(pa)&&pa.innerHTML.length>0;};oa.prototype.getAuxContentRoot=function(){"use strict";return this._highlighterAuxContent;};oa.prototype.addMention=function(pa,qa){"use strict";qa=(typeof qa==='undefined')?true:qa;var ra=qa===false?'':' ',sa=this._getMarkedValue();if(sa!=='')sa+=' ';o.setValue(this._input,sa+ca(pa.text)+ra);this._addToken(pa);this._update();};oa.prototype.getMentions=function(){"use strict";return this._mentioned;};oa.prototype.bootloadHashtagParser=function(){"use strict";if(!this._hashtagParser)i.loadModules(["HashtagParser"],function(pa){this._hashtagParser=pa;if(this._initialized){this._value=null;this._update();}}.bind(this));};oa.getInstance=function(pa){"use strict";var qa=s.byClass(pa,'uiMentionsInput');return qa?k.get(qa,'MentionsInput'):null;};oa.prototype._checkShouldSwapDataSource=function(pa){"use strict";this._initHashtagParser(pa);if(!this._hashtagsDataSource||!this._hashtagParser)return;var qa=this._isInsideHashtagToken(pa);if(this._matchersMode===ga.HASHTAGS&&!qa){this._setMatchersMode(ga.MENTIONS);this._swapData(this._mentionsDataSource);}else if(this._matchersMode===ga.MENTIONS&&qa){this._setMatchersMode(ga.HASHTAGS);this._swapData(this._hashtagsDataSource);}};oa.prototype._swapData=function(pa){"use strict";this._currentDataSource=pa;this._typeahead.swapDataNoCoreReset(this._currentDataSource);};oa.prototype._isInsideHashtagToken=function(pa){"use strict";this._hashtags=this._hashtagParser.parse(pa);var qa=p.get(this._input).start;for(var ra=0;ra=ta&&qa<=(ta+sa.tag.length+1))return true;}return false;};oa.prototype._initHashtagParser=function(pa){"use strict";if(this._hashtagParser)return;if(this._matchers.getHashtagMatcher().exec(pa))this.bootloadHashtagParser();};oa.prototype._setMatchersMode=function(pa){"use strict";switch(pa){case ga.MENTIONS:this._matchers=r.mentionsMatchers;break;case ga.HASHTAGS:this._matchers=r.hashtagMatchers;break;default:throw new Error('Invariant Violation: MatchersMode enum is missing constant '+pa);}this._matchersMode=pa;};e.exports=oa;},null); -__d("MentionsTypeaheadAreaView",["ContextualTypeaheadView","FamilyRelationshipMentions","Parent"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();for(var j in g)if(g.hasOwnProperty(j))l[j]=g[j];var k=g===null?null:g.prototype;l.prototype=Object.create(k);l.prototype.constructor=l;l.__superConstructor__=g;function l(){"use strict";if(g!==null)g.apply(this,arguments);}l.prototype.getContext=function(){"use strict";return i.byClass(this.element,'uiMentionsInput');};l.prototype.shouldValidateTypeaheadSelection=function(m){"use strict";return h.shouldShowNUX(m);};l.prototype.validateTypeaheadSelection=function(m,n){"use strict";h.showNUX(m,n);};e.exports=l;},null); -__d("legacy:MentionsInput",["MentionsInput"],function(a,b,c,d){b.__markCompiled&&b.__markCompiled();a.MentionsInput=b('MentionsInput');},3); -__d("TypeaheadAreaCore",["InputSelection","TextAreaControl","TypeaheadCore","copyProperties","emptyFunction"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();for(var l in i)if(i.hasOwnProperty(l))n[l]=i[l];var m=i===null?null:i.prototype;n.prototype=Object.create(m);n.prototype.constructor=n;n.__superConstructor__=i;function n(o){"use strict";i.call(this,o);this.matcher=new RegExp(this.matcher+'$');this.preventFocusChangeOnTab=true;}n.prototype.select=function(o){"use strict";m.select.call(this,o);var p=this.element.value,q=this.prefix+o.text+this.suffix;this.expandBounds(p,q);var r=p.substring(0,this.start),s=p.substring(this.end);this.element.value=r+q+s;g.set(this.element,r.length+q.length);};n.prototype.expandBounds=function(o,p){"use strict";o=o.toLowerCase();p=p.toLowerCase();var q,r,s,t,u=/\s/;r=o.substring(this.start,this.end);s=p.indexOf(r);q=this.start;while(q>=0&&s>=0){t=o.charAt(q-1);if(!t||u.test(t))this.start=q;r=t+r;s=p.indexOf(r);q--;}r=o.substring(this.start,this.end);s=p.indexOf(r);q=this.end;while(q<=o.length&&s>=0){t=o.charAt(q);if(!t||u.test(t))this.end=q;r=r+t;s=p.indexOf(r);q++;}};n.prototype.getRawValue=function(){"use strict";var o=g.get(this.element).start||0;return m.getValue.call(this).substring(0,o);};n.prototype.getValue=function(){"use strict";var o=this.matcher&&this.matcher.exec(this.getRawValue());if(!o)return '';var p=o[0],q=o.index+p.length;p=p.replace(/^\s/,'');var r=p.length;p=p.replace(/\s$/,'');var s=r-p.length;this.start=q-r;this.end=q+s;return o[2]||o[1]||o[0];};n.prototype.updateHeight=function(){"use strict";var o=h.getInstance(this.element);o.updateHeight();};j(n.prototype,{prefix:'',suffix:', ',matcher:"\\b[^,]*",click:k});e.exports=n;},null); -__d("TypeaheadHoistFriends",["copyProperties"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i){"use strict";this._typeahead=i;}h.prototype.enable=function(){"use strict";var i=this._typeahead.getView();this._subscription=i.subscribe('beforeRender',function(j,k){var l=[],m=[],n=[];for(var o=0;oli{margin-top:2px}.pymkAttachment{display:inline;outline:none}.pymkAttachmentWithBorder{border-bottom:1px solid #e9e9e9;padding-bottom:15px} - -#bootloader_M1hBo { height: 42px; } -.bootloader_M1hBo { display:block !important; } \ No newline at end of file diff --git a/app/assets/images/s_files/318741_2201920540250_1949797509_n.jpg b/app/assets/images/s_files/318741_2201920540250_1949797509_n.jpg deleted file mode 100644 index fc622c0..0000000 Binary files a/app/assets/images/s_files/318741_2201920540250_1949797509_n.jpg and /dev/null differ diff --git a/app/assets/images/s_files/390425_367239916624584_454858496_n(1).jpg b/app/assets/images/s_files/390425_367239916624584_454858496_n(1).jpg deleted file mode 100644 index 4dc6407..0000000 Binary files a/app/assets/images/s_files/390425_367239916624584_454858496_n(1).jpg and /dev/null differ diff --git a/app/assets/images/s_files/390425_367239916624584_454858496_n.jpg b/app/assets/images/s_files/390425_367239916624584_454858496_n.jpg deleted file mode 100644 index c94fddb..0000000 Binary files a/app/assets/images/s_files/390425_367239916624584_454858496_n.jpg and /dev/null differ diff --git a/app/assets/images/s_files/3KzLMLT9Jc9.js b/app/assets/images/s_files/3KzLMLT9Jc9.js deleted file mode 100644 index 5ff0722..0000000 --- a/app/assets/images/s_files/3KzLMLT9Jc9.js +++ /dev/null @@ -1,237 +0,0 @@ -/*!CK:3424901265!*//*1427087293,*/ - -if (self.CavalryLogger) { CavalryLogger.start_js(["oa8qQ"]); } - -__d("GenderConst",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={NOT_A_PERSON:0,FEMALE_SINGULAR:1,MALE_SINGULAR:2,FEMALE_SINGULAR_GUESS:3,MALE_SINGULAR_GUESS:4,MIXED_SINGULAR:5,MIXED_PLURAL:5,NEUTER_SINGULAR:6,UNKNOWN_SINGULAR:7,FEMALE_PLURAL:8,MALE_PLURAL:9,NEUTER_PLURAL:10,UNKNOWN_PLURAL:11,UNKNOWN:0};},null); -__d("MessagesViewerSetID",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={MESSAGES:"messages",MESSAGES_VIEW_ALL_IN_THREAD:"messages:view_all_in_thread"};},null); -__d("MessageTranscriptWaitHandleState",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={BUSY:"BUSY",READY:"READY",UNAVAILABLE:"UNAVAILABLE"};},null); -__d("P2PPaymentLogMessageSubtype",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={CANCELED_SENDER_RISK:"canceled_sender_risk",CANCELED_DECLINED:"canceled_declined",CANCELED_RECIPIENT_RISK:"canceled_recipient_risk",CANCELED_EXPIRED:"canceled_expired",CANCELED_SAME_CARD:"canceled_same_card",CANCELED_CUSTOMER_SERVICE:"canceled_customer_service"};},null); -__d("P2PTransferRiskResult",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={SUCCESS:"SUCCESS",UNDER_MANUAL_REVIEW:"UNDER_MANUAL_REVIEW",REQUIRE_VERIFICATION:"REQUIRE_VERIFICATION"};},null); -__d("StickerAssetType",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={IMAGE:"BestEffortImage",SPRITE:"SpriteImage",PADDED_SPRITE:"PaddedSpriteImage"};},null); -__d("TypingDetector",["ArbiterMixin","Event","Input","Run","TypingStates","copyProperties","createObjectFrom","emptyFunction"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();function o(p,q){this._input=p;this._ignoreKeys={};this._getValueFn=q;}l(o.prototype,g,{_timeout:7000,_currentState:k.INACTIVE,init:function(){this.init=n;this.reset();this._subscription=h.listen(this._input,'keyup',this._update.bind(this));j.onUnload(this._onunload.bind(this));},reset:function(){clearTimeout(this._checkTimer);this._checkTimer=null;this._lastKeystrokeAt=null;this._currentState=k.INACTIVE;},setIgnoreKeys:function(p){this._ignoreKeys=m(p);},destroy:function(){this._subscription.remove();},_onunload:function(){if(this._currentState==k.TYPING)this._transition(k.QUITTING);},_update:function(event){var p=h.getKeyCode(event),q=this._currentState;if(!this._ignoreKeys[p]){var r=this._getValueFn?this._getValueFn():i.getValue(this._input);if(r.trim().length===0){if(q==k.TYPING)this._transition(k.INACTIVE);}else if(q==k.TYPING){this._recordKeystroke();}else if(q==k.INACTIVE){this._transition(k.TYPING);this._recordKeystroke();}}},_transition:function(p){this.reset();this._currentState=p;this.inform('change',p);},_recordKeystroke:function(){this._lastKeystrokeTime=Date.now();if(!this._checkTimer)this._checkTimer=setTimeout(this._checkTyping.bind(this),this._timeout);},_checkTyping:function(){var p=this._lastKeystrokeTime+this._timeout,q=Date.now();if(q>p){this._transition(k.INACTIVE);}else{clearTimeout(this._checkTimer);this._checkTimer=setTimeout(this._checkTyping.bind(this),p-q+10);}}});e.exports=o;},null); -__d("TypingDetectorController",["AsyncRequest","AvailableList","AvailableListConstants","ChannelConnection","ChatVisibility","Keys","TypingDetector","TypingStates","copyProperties","emptyFunction","setTimeoutAcrossTransitions","shield"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b.__markCompiled&&b.__markCompiled();function s(t,u,v,w,x,y){"use strict";this.userID=t;this.input=u;this.source=v;this.threadID=x;this.remoteState=n.INACTIVE;this.notifyTimer=null;w=w||{};this.notifyDelay=w.notifyDelay||this.notifyDelay;this._typingDetector=new m(u,y);this._typingDetector.init(w);this._typingDetector.subscribe('change',this._stateChange.bind(this));}s.prototype.setUserAndThread=function(t,u){"use strict";if(this.userID!==t||this.threadID!==u){this.resetState();this.userID=t;this.threadID=u;}};s.prototype.setIgnoreEnter=function(t){"use strict";var u=t?[l.RETURN]:[];this._typingDetector.setIgnoreKeys(u);};s.prototype.resetState=function(){"use strict";this._notifyState(n.INACTIVE);this.remoteState=n.INACTIVE;this._typingDetector.reset();clearTimeout(this.notifyTimer);this.notifyTimer=null;};s.prototype.destroy=function(){"use strict";this.resetState();this._typingDetector.destroy();};s.prototype._stateChange=function(t,u){"use strict";if(u!=n.QUITTING){clearTimeout(this.notifyTimer);this.notifyTimer=q(r(this._notifyState,this,u),this.notifyDelay);}else this._notifyState(u,true);};s.prototype._notifyState=function(t,u){"use strict";if((!this.userID&&!this.threadID)||!k.isOnline()||t===this.remoteState||j.disconnected())return;this._sendRequest(t,this.userID,u);};s.prototype._sendRequest=function(t,u,v){"use strict";this.remoteState=t;var w={typ:t,to:u,source:this.source,thread:this.threadID};new g().setHandler(this._onTypResponse.bind(this,u)).setErrorHandler(p).setData(w).setURI('/ajax/messaging/typ.php').setAllowCrossPageTransition(true).setOption('asynchronous',!v).send();};s.prototype._onTypResponse=function(t,u){"use strict";var v=u.getPayload()||{};if(v.offline)h.set(t,i.OFFLINE,'typing_response');};o(s.prototype,{notifyDelay:1000});e.exports=s;},null); -__d("VideoCallingTour",["Arbiter","ArbiterMixin","Chat","ChatSidebar","ChatVisibility","CSS","DOM","PresencePrivacy","Run","Toggler","Vector","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b.__markCompiled&&b.__markCompiled();var s,t,u,v,w=[],x=function(){};function y(){if(j.isVisible()){z();}else if(u)aa();}function z(){s.setContext(t.getBody());ba();s.show();ca();}function aa(){if(!v)v=p.createInstance(u.getRoot());var fa=m.scry(u.getRoot(),'div.fbNubFlyout')[0];if(fa){s.setContext(fa);ba();s.show();ca();}}function ba(){var fa=q.getElementDimensions(s.getContext()).y;s.setOffsetY(fa*.6);s.updatePosition();}function ca(){if(u)w.push(u.subscribe('hide',function(){da();if(!j.isVisible())s.hide();}),u.subscribe('show',function(){s.show();}),u.subscribe('resize',function(){ba();s.updatePosition();}));w.push(g.subscribe('sidebar/show',z),g.subscribe('sidebar/hide',aa),g.subscribe('sidebar/resized',ba));}function da(){if(v){v.setSticky(false);v=null;}}function ea(){while(w.length)w.pop().unsubscribe();if(u)da();s.hide();l.show('fbVideoCallingGetStarted');}r(x,h,{start:function(fa){s=fa;l.hide('fbVideoCallingGetStarted');k.goOnline(function(){w.push(n.subscribe('privacy-user-presence-changed',ea));o.onLeave(ea);i.openBuddyList();var ga=null;w.push(j.subscribe('sidebar/initialized',function(ha,ia){t=ia;clearTimeout(ga);ga=setTimeout(y,0);}),x.subscribe('videocallingtour/end',ea));w.push(g.subscribe('buddylist-nub/initialized',function(ha,ia){u=ia;clearTimeout(ga);ga=setTimeout(y,0);}));});x.inform('videocallingtour/start');}});e.exports=x;},null); -__d("ChatMiniSidebarSearchSource",["AbstractSearchSource","AsyncRequest","ChatSortUsers","CurrentUser","MercuryParticipantTypes","OrderedFriendsList","SearchableEntry","SearchSourceCallbackManager","ShortProfiles","TokenizeUtil","copyProperties","emptyFunction","isValidUniqueID"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){b.__markCompiled&&b.__markCompiled();'use strict';for(var t in g)if(g.hasOwnProperty(t))v[t]=g[t];var u=g===null?null:g.prototype;v.prototype=Object.create(u);v.prototype.constructor=v;v.__superConstructor__=g;function v(w){this.$ChatMiniSidebarSearchSource0=new n({parseFn:p.parse,matchFn:p.isQueryMatch,indexFn:w.indexFn});this.$ChatMiniSidebarSearchSource1=[];this.$ChatMiniSidebarSearchSource2=w.queryRequests||[];this.$ChatMiniSidebarSearchSource3=false;}v.prototype.bootstrapImpl=function(w){o.fetchAll().then(function(){this.$ChatMiniSidebarSearchSource4();this.$ChatMiniSidebarSearchSource3=true;w();}.bind(this));};v.prototype.searchImpl=function(w,x,y){var z=null,aa={},ba=y&&y.onQueryFinished,ca=y&&y.onQueryStarted,da=this.$ChatMiniSidebarSearchSource0.search(w,function(ga){if(!z){z=ga;z.forEach(function(ha){return aa[ha.getUniqueID()]=true;});}else ga.forEach(function(ha){var ia=ha.getUniqueID();if(!aa[ia]){z.push(ha);aa[ia]=true;}});x(z,w);},y);if(!da||!this.$ChatMiniSidebarSearchSource2||!this.$ChatMiniSidebarSearchSource2.length||w.length<=1){ba&&ba(w);return;}var ea={value:w,existing_ids:z&&z.map(function(ga){return ga.getUniqueID();}).join(','),needs_friends:!this.$ChatMiniSidebarSearchSource3,limit:y.threadLimit};ca&&ca(w);var fa=this.$ChatMiniSidebarSearchSource2.length;this.$ChatMiniSidebarSearchSource2.forEach(function(ga){this.$ChatMiniSidebarSearchSource5(ea,ga,function(ha){this.$ChatMiniSidebarSearchSource6(this.$ChatMiniSidebarSearchSource7(this.$ChatMiniSidebarSearchSource8(ha)),w);fa--;if(fa===0){this.$ChatMiniSidebarSearchSource0.setQueryStringAsExhausted(w);ba&&ba(w);}}.bind(this));}.bind(this),this);};v.prototype.getBootstrappedEntries=function(w){return this.bootstrap(function(){return w(this.$ChatMiniSidebarSearchSource1||[]);}.bind(this));};v.prototype.getAllEntriesMap=function(){return this.$ChatMiniSidebarSearchSource0.getAllEntries();};v.prototype.$ChatMiniSidebarSearchSource4=function(){var w=o.getCachedProfileIDs(),x=w.filter(function(z){var aa=o.getNow(z);return (z==j.getID()||aa.type===k.FRIEND);});x.sort(i.sort);var y=x.map(this.$ChatMiniSidebarSearchSource9);if(y.length){this.$ChatMiniSidebarSearchSource0.addLocalEntries(y);this.$ChatMiniSidebarSearchSource1=this.$ChatMiniSidebarSearchSource1.concat(y);}};v.prototype.$ChatMiniSidebarSearchSource7=function(w){return w.map(this.$ChatMiniSidebarSearchSourcea,this);};v.prototype.$ChatMiniSidebarSearchSourcea=function(w,x){if(w.mercury_thread)return l.normalizeThreadEntry(w,x);var y=w.text,z=w.uid;if(!y||!s(z))return null;return new m({uniqueID:z,title:y,order:l.getActiveRank(z),subtitle:w.subtext,type:w.render_type||w.type,photo:w.photo,uri:w.path,auxiliaryData:{isMessengerUser:w.is_messenger_user}});};v.prototype.$ChatMiniSidebarSearchSource8=function(w){var x=w.getPayload();if(Array.isArray(x)){return x;}else if(x&&x.entries){return x.entries;}else return [];};v.prototype.$ChatMiniSidebarSearchSource9=function(w,x){var y=o.getNow(w),z=w==j.getID()?k.FRIEND:y.type,aa=[y.additionalName,y.alternateName].concat(y.searchTokens||[]).join(' ');return new m({uniqueID:w,title:y.name,order:x,subtitle:y.additionalName,keywordString:aa,type:z,photo:y.thumbSrc,uri:y.uri,auxiliaryData:{isMessengerUser:y.is_messenger_user}});};v.prototype.$ChatMiniSidebarSearchSource5=function(w,x,y,z){new h(x.uri).setData(q({},w,x.data)).setMethod('GET').setReadOnly(true).setHandler(y).setErrorHandler(z||r).setAllowCrossPageTransition(true).send();};v.prototype.$ChatMiniSidebarSearchSource6=function(w,x){if(w.length)this.$ChatMiniSidebarSearchSource0.addQueryEntries(w,x);};v.prototype.addLocalEntries=function(w){this.$ChatMiniSidebarSearchSource0.addLocalEntries(w);};v.prototype.refreshData=function(){o.fetchAll();d(['AvailableList'],function(w){return w.update();});};e.exports=v;},null); -__d("URLScraper",["ArbiterMixin","DataStore","Event","URLMatcher","copyProperties","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m='scraperLastPermissiveMatch',n=l(g);for(var o in n)if(n.hasOwnProperty(o))q[o]=n[o];var p=n===null?null:n.prototype;q.prototype=Object.create(p);q.prototype.constructor=q;q.__superConstructor__=n;function q(r,s){"use strict";this.input=r;this.enable();this.getValueFn=s;}q.prototype.reset=function(){"use strict";h.set(this.input,m,null);};q.prototype.enable=function(){"use strict";if(this.events)return;var r=function(s){setTimeout(this.check.bind(this,s),30);};this.events=i.listen(this.input,{paste:r.bind(this,false),keydown:r.bind(this,true)});};q.prototype.disable=function(){"use strict";if(!this.events)return;for(var event in this.events)this.events[event].remove();this.events=null;};q.prototype.check=function(r){"use strict";var s=this.getValueFn?this.getValueFn():this.input.value;if(r&&q.trigger(s))return;var t=q.match(s),u=j.permissiveMatch(s);if(u&&(u!=h.get(this.input,m))){h.set(this.input,m,u);this.inform('match',{url:t||u,alt_url:u});}};k(q,j);e.exports=q;},null); -__d("getURLRanges",["URI","URLScraper"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();"use strict";function i(j,k){k=k||0;var l=h.match(j);if(!l)return [];var m=l;if(!(/^[a-z][a-z0-9\-+.]+:\/\//i.test(l)))m='http://'+l;if(!g.isValidURI(m))return [];k+=j.indexOf(l);var n=l.length,o=[{offset:k,length:l.length,entity:{url:m}}];return o.concat(i(j.substr(k+n),k+n));}e.exports=i;},null); -__d("MercuryMessageBody.react",["EmoticonsList","React","Link.react","ReactComponentWithPureRenderMixin","SupportedEmoji","TextWithEntities.react","URI","URLMatcher","cancelAnimationFrame","cx","fbt","getURLRanges","isFacebookURI","requestAnimationFrame"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){b.__markCompiled&&b.__markCompiled();var u=h,v=u.PropTypes,w=function(y,z){if(z.entity&&z.entity.url){var aa=new m(z.entity.url);if(s(aa))z.entity.url=aa.addQueryData({__mref:'message_bubble'}).toString();}return (h.createElement(i,{target:"_blank",href:z.entity},y));},x=h.createClass({displayName:"MercuryMessageBody",mixins:[j],propTypes:{body:v.string,ranges:v.array},getInitialState:function(){return {richText:false};},componentDidMount:function(){this._raf=t(function(){delete this._raf;var y=this.props,z=y.body,aa=y.ranges;if((aa&&aa.length)||g.noncapturingRegexp.test(z)||k.findEmoji(z)||n.match(z))this.setState({richText:true});}.bind(this));},componentWillUnmount:function(){this._raf&&o(this._raf);},render:function(){var y=this.props.body||'';if(y.startsWith('?OTR'))return (h.createElement("span",{className:"_89h"},q._("[encrypted message]")));y=y.replace(/\s+$/,'');if(y.length===0)return null;if(!this.state.richText)return h.createElement("span",null,y);var z=this.props.ranges;if(z==undefined)z=r(y);return (h.createElement(l,{interpolator:w,text:y,ranges:z,renderEmoticons:true,renderEmoji:true}));}});e.exports=x;},null); -__d("MercuryMessageError.react",["CurrentUser","ImmutableObject","MercuryErrorInfo","MercuryMessageActions","React","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();'use strict';var n=k,o=n.PropTypes,p=k.createClass({displayName:"MercuryMessageError",propTypes:{authorFBID:o.string,message:o.instanceOf(h).isRequired},getDefaultProps:function(){return {authorFBID:g.getID()};},render:function(){var q=this.props.message,r=q.error_data;return (k.createElement("div",k.__spread({},this.props,{className:m(this.props.className,this._getClassNameFromStatus(q)),tabIndex:i.isTransient(r)?0:null,onClick:i.isTransient(r)?this.messageResend:null}),k.createElement("div",{className:"_2fs1"}),k.createElement("span",{dangerouslySetInnerHTML:{__html:this._getTextFromStatus(q)}})));},messageResend:function(){j.getForFBID(this.props.authorFBID).resend(this.props.message);},_getClassNameFromStatus:function(q){if(i.hasErrorStatus(q)){return (("_2fs2")+(' '+"_2fs3")+(i.isTransient(q.error_data)?' '+"_2fs4":'')+(i.isPermanent(q.error_data)?' '+"_2fs5":''));}else return "_2fs6 _2fs2";},_getTextFromStatus:function(q){var r='',s=q.error_data;if(i.hasErrorStatus(q))r=i.getMessage(s);if(typeof r==='object'&&r.__html)r=r.__html;return r;}});e.exports=p;},null); -__d("MercuryAudioPlayer",["Event","Arbiter","DOM","Flash","UserAgent_DEPRECATED","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=200;function n(){if(k.webkit()&&!k.chrome())return false;var w=i.create('audio'),x=false;try{if(!!w.canPlayType)if(w.canPlayType('video/mp4;').replace(/^no$/,''))x=true;}finally{return x;}}function o(){return j.isAvailable();}var p=function(){this.interval=null;this.arbiterInstance=null;this.audio=i.create('audio');g.listen(this.audio,'playing',function(){this.informAttachment('playing',this.audio.currentTime);this.interval=setInterval(function(){this.informAttachment('playing',this.audio.currentTime);}.bind(this),m);}.bind(this));g.listen(this.audio,'ended',function(){clearInterval(this.interval);this.informAttachment('finished');}.bind(this));};l(p.prototype,{setAudio:function(w,x){this.audio.setAttribute('src',w);this.arbiterInstance=x;},informAttachment:function(w,x){if(this.arbiterInstance)this.arbiterInstance.inform(w,x);},play:function(){this.audio.play();this.informAttachment('played');},resume:function(){this.audio.play();this.informAttachment('played');},pause:function(){this.audio.pause();clearInterval(this.interval);this.informAttachment('paused');},getType:function(){return 'html5';}});var q=function(){this.src=null;this.arbiterInstance=null;var w=i.create('div');document.body.appendChild(w);this.swf=j.embed('/swf/SoundStreamPlayer.swf',w,null,{});this.interval=null;h.subscribe('soundstream/finished',function(){clearInterval(this.interval);this.informAttachment('finished');}.bind(this));};l(q.prototype,{setAudio:function(w,x){this.src=w;this.arbiterInstance=x;},informAttachment:function(w,x){if(this.arbiterInstance)this.arbiterInstance.inform(w,x);},play:function(){this.swf.playSound(this.src);this.interval=setInterval(function(){var w=this.swf.getCurrentTime();this.informAttachment('playing',w);}.bind(this),m);this.informAttachment('played');},resume:function(){this.swf.resume();this.informAttachment('played');},pause:function(){clearInterval(this.interval);this.swf.pause();this.informAttachment('paused');},getType:function(){return 'flash';}});function r(){if(n()){return new p();}else if(o())return new q();return false;}var s=null,t=null,u=0;function v(w,x){this.src=w;this.arbiterInstance=x;this.audio_id=++u;s!==null||(s=r());if(!s)return false;}l(v.prototype,{getType:function(){if(!s){return false;}else return s.getType();},play:function(w){if(w&&t==this.audio_id){s.resume();}else{this.pause();t=this.audio_id;s.setAudio(this.src,this.arbiterInstance);s.play();}},pause:function(){s.pause();}});e.exports=v;},null); -__d("MercuryShareAttachmentRenderLocations",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();'use strict';var g={CHAT:'chat',CHAT_PREVIEW:'chat_preview',MESSENGER:'messenger',WEB_INBOX:'web_inbox',getValues:function(){return [g.CHAT,g.CHAT_PREVIEW,g.MESSENGER,g.WEB_INBOX];},isPreview:function(h){return h===g.CHAT_PREVIEW;}};e.exports=g;},null); -__d("MercuryAttachmentAudioClip.react",["Arbiter","ArbiterMixin","MercuryAudioPlayer","CurrentUser","JSLogger","LeftRight.react","MercuryShareAttachmentRenderLocations","React","SubscriptionsHandler","cx","fbt","joinClasses","shield"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){b.__markCompiled&&b.__markCompiled();var t=n,u=t.PropTypes,v='MercuryAttachmentAudioClip/play',w=k.create('mercury_audio_clip'),x=n.createClass({displayName:"AudioClip",mixins:[h],propTypes:{duration:u.number,location:u.oneOf(m.getValues()),rootClassName:u.string,showHelp:u.bool,src:u.string.isRequired,width:u.number},getInitialState:function(){this.logged=false;var y=this.props.downloadOnly?false:new i(this.props.src,this);return {time:0,playing:false,started:false,duration:this.props.duration,audioPlayer:y};},componentDidMount:function(){this._subscriptionsHandler=new o();this._subscriptionsHandler.addSubscriptions(this.subscribe('playing',this.updateTime),this.subscribe('played',s(this.setState,this,{playing:true,started:true})),this.subscribe('paused',s(this.setState,this,{playing:false})),this.subscribe('finished',s(this.setState,this,{playing:false,started:false,time:this.props.duration})),g.subscribe(v,function(y,z){if(this.props.src!=z)this.setState({time:0});}.bind(this)));},componentWillUnmount:function(){this._subscriptionsHandler&&this._subscriptionsHandler.release();},updateTime:function(y,z){this.setState({time:z});},play:function(){if(this.state.playing){this.state.audioPlayer.pause();}else{this.state.audioPlayer.play(this.state.started);g.inform(v,this.props.src);if(!this.logged){this.logged=true;w.log('play',{uid:j.getID(),duration:this.props.duration});}}},_formatSeconds:function(y){if(y){y=Math.ceil(y);var z=y%60;if(z<10)z='0'+z;var aa=Math.floor(y/60);return aa+':'+z;}else return null;},_renderPlayer:function(y,z){return (n.createElement("a",{className:"_1miz _2e-1",href:"#",style:{width:y},onClick:this.play},n.createElement("span",{className:"_1mi- _2e-2"},n.createElement("i",{className:"_1mi_ _2e-3"})),n.createElement("span",{className:"_1mj0 _2e-4"},z),n.createElement("div",{className:"_1mj1 _2e-5"})));},render:function(){var y=this.state.time,z=this.state.playing,aa=this._formatSeconds(this.state.duration),ba=this.props.location===m.MESSENGER,ca=this.props.width||170;if(ba){var da=this.props.duration;if(da>10){ca=240;}else if(da>5){ca=200;}else if(da>2){ca=160;}else ca=120;}var ea=null,fa=Math.ceil((y*(ca+2))/this.state.duration);if(ba)fa=Math.ceil((y*(ca+24))/this.state.duration);if(this.state.audioPlayer&&this.state.audioPlayer.getType()){var ga=this._renderPlayer(ca,aa),ha=this._renderPlayer(ca,aa),ia=(("_1mj2")+(' '+"_2e-6")+(z&&(y!==0)?' '+"_1mj3":'')+(z&&(y===0)?' '+"_4g4x":''));ea=(n.createElement("div",{className:ia},ga,n.createElement("div",{className:"_1mj4 _2e-7",style:{width:fa}},ha)));}else ea=(n.createElement("div",{className:"_1mj2"},n.createElement("div",{className:"_1miz"},n.createElement(l,null,n.createElement("a",{className:"_1mj5",href:this.props.src},n.createElement("span",{className:"_3qi6"},n.createElement("i",{className:"_1mj6"})),n.createElement("span",{className:"_1mj7"},q._("Voice Message")),n.createElement("span",{className:"_1mj8"},aa)),n.createElement("a",{href:this.props.src,className:"_1mj9"},n.createElement("i",{className:"_1mja"}))))));return (n.createElement("div",{className:r((("_1mjb")+(ba?' '+"_454y":'')),this.props.rootClassName)},ea));}});e.exports=x;},null); -__d("XMessageTranscriptController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/fetch_transcript\/",{message_id:{type:"String",required:true}});},null); -__d("StarsInput.react",["React","TooltipLink.react","cx","fbt"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=g,l=k.PropTypes,m=g.createClass({displayName:"StarsInput",propTypes:{allowMultipleSubmissions:l.bool,onClick:l.func.isRequired,starLabels:l.array},getDefaultProps:function(){return {allowMultipleSubmissions:false,starLabels:[j._("Poor"),j._("Fair"),j._("Good"),j._("Very Good"),j._("Excellent")]};},getInitialState:function(){return {starRating:0,starsShown:0,canUpdate:true};},_getStarRating:function(n){return parseInt(n.split('.').pop(),10)+1;},onMouseEnter:function(event){if(this.state.canUpdate)this.setState({starsShown:this._getStarRating(event.dispatchMarker)});},onMouseLeave:function(event){if(this.state.canUpdate){var n=this.state.starRating;this.setState({starsShown:n});}},onClick:function(event){if(this.state.canUpdate){var n=this._getStarRating(event.dispatchMarker);this.setState({starRating:n,starsShown:n,canUpdate:this.props.allowMultipleSubmissions});this.props.onClick(n);}},getStars:function(){var n=this.props.starLabels.length,o=[];for(var p=0;p=this.state.starsShown?' '+"_22mn":'')+(p1)ia=(ba._("Send Messages"));var ja=null;if(this.state.sending){ja=(p.createElement("div",null,p.createElement(z,null),p.createElement("span",{className:"_5s0d _3-99"},ba._("Sending"))));}else if(this.state.sendError){var ka=ca({name:'error-solid',shade:'dark',size:'medium'});ja=(p.createElement("div",{className:"_5s0d"},p.createElement(i,{src:ka}),p.createElement("span",{className:"_3-99"},this.state.sendError)));}return (p.createElement(t,{shown:this.props.shown,behaviors:{LayerFadeOnHide:j},width:560},p.createElement(y,null,this.props.title),p.createElement(u,{useCustomPadding:true},p.createElement(k,null,p.createElement(da,{className:"_5s0e"},p.createElement("div",{className:"_2ph_"},p.createElement(q,{className:"_5s0f",onChange:this._onSearchChange,onEntriesFound:this._onSearchEntriesFound,placeholder:ba._("Search"),queryString:this.state.query,searchSource:this._dataSource,searchSourceOptions:{onQueryFinished:this._onSearchFinished}})),p.createElement(r,{className:"_5s0g",fade:true,height:400,width:360},p.createElement(n,{entries:this.state.query?this.state.entries:this.state.bootstrappedEntries,loading:this.state.loading,selectedEntries:this.state.selectedEntries,onSelect:this._onSelectEntry}))),p.createElement(ea,{className:"_5s0h"},p.createElement(r,{fade:true,height:457,shadow:false},p.createElement(m,{entries:this.state.selectedEntries,onSelect:this._onSelectEntry}))))),p.createElement(x,{leftContent:ja},p.createElement(w,null),p.createElement(v,{use:"confirm",disabled:!this.state.selectedEntries.size||this.state.sending,label:ia,onClick:this._onSubmit}))));}});e.exports=ha;},null); -__d("Spotlight.react",["LayerHideOnBlur","LayerHideOnEscape","ReactLayer","Spotlight"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=i.createClass({getDefaultEnabledBehaviors:function(){return {hideOnBlur:g,hideOnEscape:h};},createLayer:function(l){var m=this.enumerateBehaviors(this.props.behaviors),n={addedBehaviors:m,rootClassName:this.props.rootClassName},o=new j(n,l);o.conditionShow(this.props.shown);if(this.props.onBeforeHide)o.subscribe('beforehide',this.props.onBeforeHide);if(this.props.onHide)o.subscribe('hide',this.props.onHide);return o;},receiveProps:function(l){this.layer.conditionShow(l.shown);}});e.exports=k;},null); -__d("SpotlightViewer",["React","ReactLayeredComponentMixin","Spotlight.react","cx"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=g.createClass({displayName:"SpotlightViewer",mixins:[h],renderLayers:function(){if(!this.props.open)return null;var l="_n3";if(this.props.className)l+=' '+this.props.className;return {photoLayer:g.createElement(i,{onBeforeHide:this.props.onBeforeHide,onHide:this.props.onHide,rootClassName:this.props.rootClassName,shown:this.props.open},g.createElement("div",{className:l,onClick:this.props.onClick},this.props.children))};},render:function(){return (g.createElement("div",null));}});e.exports=k;},null); -__d("SpotlightViewerBehaviorsMixin",["BehaviorsMixin","copyProperties"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={componentWillMount:function(){this.behaviors&&this.enableBehaviors(this.behaviors);},componentWillUnmount:function(){this.destroyBehaviors();}};h(i,g);e.exports=i;},null); -__d("SpotlightViewerBottomBar",["LeftRight.react","React","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=h.createClass({displayName:"SpotlightViewerBottomBar",render:function(){var l=Array.isArray(this.props.children)?this.props.children:[this.props.children],m="_4_8n _51an";if(this.props.className)m=j(m,this.props.className);if(l.length===1)return (h.createElement("div",{className:m},l[0]));m=j(m,"_50-m");return (h.createElement(g,{className:m},l[0],l[1]));}});e.exports=k;},null); -__d("SpotlightViewerPageWithKeys",["KeyEventController","SubscriptionsHandler"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();function i(j){"use strict";this.$SpotlightViewerPageWithKeys0=j;}i.prototype.enable=function(){"use strict";this.$SpotlightViewerPageWithKeys1=new h();this.$SpotlightViewerPageWithKeys1.addSubscriptions(g.registerKey('LEFT',function(){this.$SpotlightViewerPageWithKeys0.viewState.backward();return false;}.bind(this)),g.registerKey('RIGHT',function(){this.$SpotlightViewerPageWithKeys0.viewState.forward();return false;}.bind(this)));};i.prototype.disable=function(){"use strict";this.$SpotlightViewerPageWithKeys1.release();delete this.$SpotlightViewerPageWithKeys1;};e.exports=i;},null); -__d("SpotlightViewerThumbnailMixin",["PhotoStore","Vector"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={_getInitialPhotoData:function(){var j=g.getIndexForID(this.props.setid,this.props.photoid),k=g.getByIndexImmediate(this.props.setid,j);return k?k:this._getThumbnailPhotoData();},_getThumbnailPhotoData:function(){if(!this.props.dimensions||!this.props.thumbsrc)return null;var j={id:this.props.photoid};for(var k=0;k> - * - * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - * !! This file is a check-in of a static_upstream project! !! - * !! !! - * !! You should not modify this file directly. Instead: !! - * !! 1) Use `fjs use-upstream` to temporarily replace this with !! - * !! the latest version from upstream. !! - * !! 2) Make your changes, test them, etc. !! - * !! 3) Use `fjs push-upstream` to copy your changes back to !! - * !! static_upstream. !! - * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - * - * Copyright (C) 2010 by Johannes Baagoe - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - * @providesModule Alea - * @preserve-header - */__d("Alea",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(){var i=4022871197,j=function(k){k=k.toString();for(var l=0;l>>0;m-=i;m*=i;i=m>>>0;m-=i;i+=m*4294967296;}return (i>>>0)*2.3283064365386963e-10;};j.version='Mash 0.9';return j;}function h(){return (function(i){var j=0,k=0,l=0,m=1;if(i.length===0)i=[new Date()];var n=new g();j=n(' ');k=n(' ');l=n(' ');for(var o=0;o=this.$DataViewPolyfill0.length)throw new Error('Trying to read beyond bounds of DataViewPolyfill');return this.$DataViewPolyfill0[h];};g.prototype.getUint16=function(h,i){var j=this.getUint8(h),k=this.getUint8(h+1);return i?(k*256)+j:(j*256)+k;};g.prototype.getUint32=function(h,i){var j=this.getUint8(h),k=this.getUint8(h+1),l=this.getUint8(h+2),m=this.getUint8(h+3);return i?(((m*256+l)*256+k)*256)+j:(((j*256+k)*256+l)*256)+m;};g.isSupported=function(){return !!a.Uint8Array;};e.exports=g;},null); -__d("MercuryFileUploader",["ArbiterMixin","CSS","Dialog","DOM","Event","FileForm","FileFormResetOnSubmit","FileInput","FormSubmitOnChange","MercuryAttachment","MercuryAttachmentTemplates","MercuryConstants","PhotosUploadID","SubscriptionsHandler","csx","fbt","getObjectValues","mixin","shield"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y){b.__markCompiled&&b.__markCompiled();var z=x(g);for(var aa in z)if(z.hasOwnProperty(aa))ca[aa]=z[aa];var ba=z===null?null:z.prototype;ca.prototype=Object.create(ba);ca.prototype.constructor=ca;ca.__superConstructor__=z;function ca(ea,fa,ga,ha){"use strict";this.$MercuryFileUploader0=ea;this.$MercuryFileUploader1={};this.$MercuryFileUploader2={};this.$MercuryFileUploader3={};this.$MercuryFileUploader4={};this.$MercuryFileUploader5={};this.$MercuryFileUploader6={};this.$MercuryFileUploader7={};this.$MercuryFileUploader8={};this.$MercuryFileUploader9={};this.updateElements(fa,ga,ha);}ca.prototype.updateElements=function(ea,fa,ga){"use strict";this.$MercuryFileUploadera&&this.$MercuryFileUploadera.release();this.$MercuryFileUploadera=new t();this.$MercuryFileUploaderb&&this.$MercuryFileUploaderb.destroy();this.$MercuryFileUploaderb=new l(ea,[o,m]);this.$MercuryFileUploaderb.setAllowCrossOrigin(true);this.$MercuryFileUploaderb.setUploadInParallel(true);var ha=j.find(ea,"._4q60"),ia=j.find(ha,"._4q61");new n(ha,ia,fa);this.$MercuryFileUploadera.addSubscriptions(this.$MercuryFileUploaderb.subscribe('submit',function(){var ja={count:0,file_sizes:[]};if(fa.files){for(var ka=0;kar.AttachmentMaxSize){this.showAttachmentSizeErrorDialog();return false;}var la={};for(var ma=0;mar.AttachmentMaxSize){this.showAttachmentSizeErrorDialog();return false;}var ja=this.$MercuryFileUploaderc();this.$MercuryFileUploaderd(ja,ia.name);fa[ja]=ia;ga.file_sizes.push(ia.size);ga.count++;}this.$MercuryFileUploaderb.setFiles(fa);this.$MercuryFileUploaderb.forceSendViaXHR();this.inform('submit',ga);};ca.prototype.isUploading=function(){"use strict";return !!Object.keys(this.$MercuryFileUploader7).length;};ca.prototype.addCachedAttachments=function(ea){"use strict";ea.forEach(function(fa){var ga=this.$MercuryFileUploaderc();this.$MercuryFileUploaderd(ga,fa.filename);this.$MercuryFileUploaderg(ga,fa);}.bind(this));};ca.prototype.addCachedImageFiles=function(ea){"use strict";var fa=v._("Photo");ea.forEach(function(ga){var ha=this.$MercuryFileUploaderc();this.$MercuryFileUploaderd(ha,fa);this.$MercuryFileUploaderg(ha,{filename:ga,image_id:ga,filetype:'image/jpeg'});}.bind(this));};ca.prototype.getAttachments=function(){"use strict";return w(this.$MercuryFileUploader1);};ca.prototype.getImageFiles=function(){"use strict";var ea=Object.keys(this.$MercuryFileUploader2).sort(),fa=[];ea.forEach(function(ga){return fa.push(this.$MercuryFileUploader2[ga]);}.bind(this));return fa;};ca.prototype.getAnimatedImageFiles=function(){"use strict";return w(this.$MercuryFileUploader3);};ca.prototype.getVideoFiles=function(){"use strict";return w(this.$MercuryFileUploader4);};ca.prototype.getAudioFiles=function(){"use strict";return w(this.$MercuryFileUploader5);};ca.prototype.getFiles=function(){"use strict";return w(this.$MercuryFileUploader6);};ca.prototype.removeAttachments=function(){"use strict";j.empty(this.$MercuryFileUploader0);this.$MercuryFileUploader1={};this.$MercuryFileUploader2={};this.$MercuryFileUploader3={};this.$MercuryFileUploader4={};this.$MercuryFileUploader5={};this.$MercuryFileUploader6={};this.$MercuryFileUploader8={};this.$MercuryFileUploader7={};this.$MercuryFileUploader9={};h.hide(this.$MercuryFileUploader0);this.inform('dom-updated');};ca.prototype.destroy=function(){"use strict";this.$MercuryFileUploadera&&this.$MercuryFileUploadera.release();this.$MercuryFileUploaderb&&this.$MercuryFileUploaderb.destroy();this.removeAttachments();};ca.prototype.$MercuryFileUploaderd=function(ea,fa){"use strict";var ga=q[':fb:mercury:upload-file-row'].build();this.$MercuryFileUploader8[ea]=ga;this.$MercuryFileUploader7[ea]=true;this.$MercuryFileUploader9[ea]=Date.now();j.appendContent(ga.getNode('iconText'),da(fa));k.listen(ga.getNode('closeFileUpload'),'click',this.$MercuryFileUploaderh.bind(this,ea));j.appendContent(this.$MercuryFileUploader0,ga.getRoot());h.show(this.$MercuryFileUploader0);this.inform('dom-updated');};ca.prototype.$MercuryFileUploaderh=function(ea,event){"use strict";if(this.$MercuryFileUploader7[ea]){this.inform('upload-canceled-during-upload');}else if(this.$MercuryFileUploader1[ea]||this.$MercuryFileUploader2[ea]||this.$MercuryFileUploader3[ea]||this.$MercuryFileUploader4[ea]||this.$MercuryFileUploader5[ea]||this.$MercuryFileUploader6[ea])this.inform('upload-canceled-after-uploaded');delete this.$MercuryFileUploader1[ea];delete this.$MercuryFileUploader2[ea];delete this.$MercuryFileUploader3[ea];delete this.$MercuryFileUploader4[ea];delete this.$MercuryFileUploader5[ea];delete this.$MercuryFileUploader6[ea];delete this.$MercuryFileUploader7[ea];delete this.$MercuryFileUploader9[ea];var fa=this.$MercuryFileUploader8[ea];delete this.$MercuryFileUploader8[ea];if(fa){j.remove(fa.getRoot());this.inform('dom-updated');}this.inform('upload-canceled');return false;};ca.prototype.$MercuryFileUploaderi=function(ea,fa){"use strict";var ga=this.$MercuryFileUploader8[ea],ha=p.getAttachIconClassByMime(fa);h.addClass(ga.getNode('iconText'),ha);h.addClass(ga.getRoot(),'done');};ca.prototype.$MercuryFileUploaderg=function(ea,fa){"use strict";if(this.$MercuryFileUploader7[ea]){delete this.$MercuryFileUploader7[ea];if(fa.image_id){this.$MercuryFileUploader2[ea]=fa.image_id;}else if(fa.gif_id){this.$MercuryFileUploader3[ea]=fa.gif_id;}else if(fa.video_id){this.$MercuryFileUploader4[ea]=fa.video_id;}else if(fa.audio_id){this.$MercuryFileUploader5[ea]=fa.audio_id;}else if(fa.file_id){this.$MercuryFileUploader6[ea]=fa.file_id;}else this.$MercuryFileUploader1[ea]=fa;this.$MercuryFileUploaderi(ea,fa.filetype);this.inform('one-upload-completed',{upload_time_ms:Date.now()-this.$MercuryFileUploader9[ea]});}if(!this.isUploading())this.inform('all-uploads-completed',{count:this.getAttachments().length});};ca.prototype.$MercuryFileUploadere=function(event,ea){"use strict";var fa=ea.response.getPayload();this.$MercuryFileUploaderg(this.$MercuryFileUploaderj(ea),fa.metadata[0]);};ca.prototype.$MercuryFileUploaderf=function(event,ea){"use strict";this.inform('one-upload-failed');this.$MercuryFileUploaderh(this.$MercuryFileUploaderj(ea),event);};ca.prototype.$MercuryFileUploaderc=function(){"use strict";return 'upload_'+s.getNewID();};ca.prototype.$MercuryFileUploaderj=function(ea){"use strict";var fa=ea.response.getPayload();if(ea.upload){return ea.upload.getName();}else return fa.uploadID;};function da(ea){if(ea&&ea.startsWith('C:\\fakepath\\'))return ea.substring(12);return ea;}e.exports=ca;},null); -__d("MercuryShareLinkUploader",["ArbiterMixin","AsyncRequest","CSS","DOM","Event","Form","URLScraper","WebMessengerEvents","mixin","isEmpty"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();var q=o(g);for(var r in q)if(q.hasOwnProperty(r))t[r]=q[r];var s=q===null?null:q.prototype;t.prototype=Object.create(s);t.prototype.constructor=t;t.__superConstructor__=q;function t(u,v,w,x,y){"use strict";this.$MercuryShareLinkUploader0=u;this.$MercuryShareLinkUploader1=v;this.$MercuryShareLinkUploader2=w;this.$MercuryShareLinkUploader3=y;this.$MercuryShareLinkUploader4=false;this.$MercuryShareLinkUploader5=null;this.$MercuryShareLinkUploader6=null;k.listen(x,'click',this.close.bind(this));k.listen(y,'keyup',function(){!y.value.length&&this.$MercuryShareLinkUploader7.enable();}.bind(this));this.$MercuryShareLinkUploader7=new m(y);this.$MercuryShareLinkUploader7.subscribe('match',function(z,aa){this.loadShare(aa&&aa.url);}.bind(this));}t.prototype.getAttachData=function(){"use strict";return this.loadAttachData(this.$MercuryShareLinkUploader4,this.$MercuryShareLinkUploader0,this.$MercuryShareLinkUploader3);};t.prototype.getShareDataFromStage=function(u,v){"use strict";var w=l.serialize(v),x=w.attachment&&w.attachment.params;if(!x)return null;if(x instanceof Object){var y=[];y.push(x[0]);y.push(x[1]);x=y;}return {params:x,type:w.attachment.type};};t.prototype.loadAttachData=function(u,v,w,x){"use strict";if(u){var y=l.serialize(v),z=y.attachment&&y.attachment.params,aa=y.link_metrics?y.link_metrics.no_image:true;if(!z||p(z))return null;var ba=x?x():w.value;if(ba.indexOf(z.url)===-1)return y;if(!z.summary&&!z.favicon&&aa&&z.title&&z.url&&z.url.substr(0,z.title.length)===z.title)return null;return y;}return null;};t.prototype.check=function(){"use strict";this.$MercuryShareLinkUploader7.check();};t.prototype.close=function(){"use strict";this.$MercuryShareLinkUploader8();this.$MercuryShareLinkUploader7.disable();this.inform('closed');};t.prototype.clear=function(){"use strict";this.$MercuryShareLinkUploader8();this.$MercuryShareLinkUploader7.enable();};t.prototype.enable=function(){"use strict";this.$MercuryShareLinkUploader7.enable();};t.prototype.disable=function(){"use strict";this.$MercuryShareLinkUploader7.disable();};t.prototype.loadShare=function(u){"use strict";this.$MercuryShareLinkUploader5=u;this.$MercuryShareLinkUploader6&&this.$MercuryShareLinkUploader6.abort();this.$MercuryShareLinkUploader6=new h().setMethod('POST').setURI('/ajax/share_scrape.php').setData({u:u}).setHandler(this.$MercuryShareLinkUploader9.bind(this).bind(null,u)).setStatusElement(this.$MercuryShareLinkUploader2);this.$MercuryShareLinkUploader6.send();this.inform('link-detected');};t.prototype.$MercuryShareLinkUploader9=function(u,v){"use strict";if(this.$MercuryShareLinkUploader5!==u)return;this.$MercuryShareLinkUploader5=null;this.$MercuryShareLinkUploader6=null;i.show(this.$MercuryShareLinkUploader0);j.empty(this.$MercuryShareLinkUploader1);j.setContent(this.$MercuryShareLinkUploader1,v.payload);this.$MercuryShareLinkUploader4=true;if(!this.getAttachData()){this.close();return;}n.detailDOMChanged();};t.prototype.$MercuryShareLinkUploader8=function(){"use strict";i.hide(this.$MercuryShareLinkUploader0);this.$MercuryShareLinkUploader4=false;this.$MercuryShareLinkUploader5=null;this.$MercuryShareLinkUploader6&&this.$MercuryShareLinkUploader6.abort();this.$MercuryShareLinkUploader6=null;this.$MercuryShareLinkUploader7.reset();n.detailDOMChanged();};e.exports=t;},null); -__d("ChatActivity",["Event","Arbiter","AvailableList","AvailableListConstants","JSLogger","MercuryConfig","PresenceState","UserActivity","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=l.activity_limit||60000,q=l.idle_limit||1800000,r=l.idle_poll_interval||300000,s=k.create('chat_activity'),t=Date.now(),u=t,v=true;function w(){var aa=Date.now();return !!(v&&(aa-tq){s.debug('idle_to_active',aa);m.doSync();}x.inform('activity');}i.subscribe(j.ON_AVAILABILITY_CHANGED,function(){if(!i.isUserIdle())u=Date.now();});g.listen(window,'focus',function(){v=true;y();});g.listen(window,'blur',function(){v=false;});n.subscribe(function(){y();});function z(aa){var ba=aa&&aa.at&&m.verifyNumber(aa.at);if(typeof ba!=='number')ba=null;return ba||0;}setInterval(function(){var aa=Date.now(),ba=z(m.get()),ca=Math.max(t,ba,u);if(aa-ca>q){s.debug('idle',{cookie:ba,local:t,presence:u});x.inform('idle',aa-ca);}},r);m.registerStateStorer(function(aa){var ba=z(aa);if(bathis._lastTimestamp)this._lastTimestamp=q.timestamp;}}.bind(this));}k(l.prototype,{getLastUserMessageTimestamp:function(){return this._lastTimestamp;}});k(l,i);e.exports=l;},null); -__d("ChatTitleBarBlinker",["ChatActivity","DocumentTitle","JSLogger","MercuryNotificationRenderer","PresenceState","MercuryThreadInformer","MercuryTimestampTracker"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=b('MercuryThreadInformer').get(),m=b('MercuryTimestampTracker').get(),n=i.create('chat_title'),o=null,p=0,q=false;function r(){if(o){o.stop();o=null;return true;}return false;}function s(x){var y=x||m.getLastUserMessageTimestamp();if(p<=y){p=y;if(r()||q)k.doSync();}}var t={blink:function(x,y){if(!o&&p=z&&y[ba].timestamp>aa)aa=y[ba].timestamp;aa&&s(aa);});g.subscribe('activity',function(){s();});(function(){var x=k.getInitial();if(x)p=u(x)||0;})();e.exports=t;},null); -__d("MercuryBrowserAlerts",["ArbiterMixin","ChatActivity","ChatConfig","ChatOptions","ChatTitleBarBlinker","MercuryThreadInfo","MercuryViewer","MessagingTag","Sound","copyProperties","MercuryThreads"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();var q=b('MercuryThreads').get();o.init(['audio/ogg','audio/mpeg']);function r(t){if(j.getSetting('sound'))o.play([i.get('sound.notif_ogg_url'),i.get('sound.notif_mp3_url')],t,false);}var s={messageReceived:function(t){if(m.isViewer(t.author)||!t.is_unread||(t.folder!=n.INBOX&&t.folder!=n.ARCHIVED))return;var u=t.thread_id,v=h.isActive();if(v){var w=false;s.inform('before-alert',{threadID:u,cancelAlert:function(){w=true;}});}q.getThreadMeta(u,function(x){var y=l.isMuted(x);if(y)return;var z=t.timestamp;if(v){!w&&r(z);}else{k.blink(u,z);r(z);}k.blinkingElsewhere();}.bind(this));}};e.exports=p(s,g);},null); -__d("FBRTCAvailability",["ChannelConstants","PresenceStatus"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();'use strict';var i={isCallable:function(j){var k=h.getCapabilities(j),l=g.CAPABILITY_VOIP_INTEROP|g.CAPABILITY_VIDEO;return !!(k&l);}};e.exports=i;},null); -__d("FBRTCStruct",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g=function(i,j,k){var l,m;if(typeof i=='string'||i instanceof String){m=i;l=i;}else for(var n in i)if(i.hasOwnProperty(n))if(n==='index'){k=i[n];}else{m=n;l=i[n];}j[m]=k;j.strNames[k]=l;};function h(i){"use strict";this.strNames=[];for(var j=0;ji.strNames.length)return 'Unknown';return i.strNames[l];},fullCallEndReasonString:function(l,m){return this.callEndReasonString(l)+'_'+(m?'remote':'local');}};e.exports=k;},null); -__d("FBRTCIceStatsParser",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g=null;h.getInstance=function(){"use strict";if(!g)g=new h();return g;};function h(){"use strict";}h.prototype.extractIceInfo=function(i){"use strict";var j=[],k=i.split("\r\n");for(var l=0;l-1);};h.prototype.$FBRTCIceStatsParser1=function(i){"use strict";var j=0,k=i.match(/generation (\d+)/);if(k)j=parseInt(k[1],10);return j;};h.prototype.$FBRTCIceStatsParser2=function(i){"use strict";var j=i.match(/typ (host|relay|srflx|prflx)/);if(j){return j[1];}else return 'unknown';};e.exports=h;},null); -__d("FBRTCLogger",["Log","LogHistory","MarauderLogger","formatDate","pageID"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l='webrtc',m='sent_message',n='received_message',o='send_succeeded',p='send_failed',q='info',r='call_action',s='client_event',t='client_error',u='type',v='msg_id',w='ack_msg_id',x='call_id',y='from',z='to',aa='content',ba='tag',ca='peer_id',da='error_code',ea='trigger',fa='endcallstats',ga=null;ha.getInstance=function(){"use strict";if(!ga)ga=new ha();return ga;};function ha(){"use strict";this.$FBRTCLogger0=h.getInstance(l);}ha.prototype.logToConsole=function(ia){"use strict";var ja='Console';this.$FBRTCLogger1(null,null,ja,ia);this.$FBRTCLogger0.log(ja,ia);};ha.prototype.logReceivedMessage=function(ia,ja,ka){"use strict";var la={};la[y]=ia;la[x]=ja;la[u]=ka.type;la[v]=ka.msg_id;if(ka.sdp)la[aa]=ka.sdp;if(ka.ack_id)la[w]=ka.ack_id;this.$FBRTCLogger2(n,la);this.$FBRTCLogger1(ia,ja,'Received',ka.type+', '+ka.msg_id);};ha.prototype.logSentMessage=function(ia,ja,ka){"use strict";var la={};la[z]=ia;la[x]=ja;la[u]=ka.type;la[v]=ka.msg_id;if(ka.sdp)la[aa]=ka.sdp;if(ka.ack_id)la[w]=ka.ack_id;this.$FBRTCLogger2(m,la);this.$FBRTCLogger1(ia,ja,'Sent',ka.type+', '+ka.msg_id);};ha.prototype.logSentMessageSuccess=function(ia,ja,ka,la){"use strict";var ma={};ma[ca]=ia;ma[x]=ja;ma[u]=ka;ma[v]=la;this.$FBRTCLogger2(o,ma);};ha.prototype.logSentMessageFailure=function(ia,ja,ka,la,ma){"use strict";var na={};na[ca]=ia;na[x]=ja;na[u]=ka;na[v]=la;na[da]=ma;this.$FBRTCLogger2(p,na);this.$FBRTCLogger1(ia,ja,'Send Failed',ka+', '+ma);};ha.prototype.logCallAction=function(ia,ja,ka,la,ma){"use strict";var na={};na[ca]=ia;na[x]=ja;na[r]=ka;na[aa]=la;if(ma)na[ea]=ma;this.$FBRTCLogger2(r,na);this.$FBRTCLogger1(ia,ja,'CallAction',ka+', '+la);};ha.prototype.logEvent=function(ia,ja,event){"use strict";var ka={};ka[ca]=ia;ka[x]=ja;ka[aa]=event;this.$FBRTCLogger2(s,ka);this.$FBRTCLogger1(ia,ja,'Event',event);};ha.prototype.logInfo=function(ia,ja,ka){"use strict";var la={};la[ca]=ia;la[x]=ja;la[aa]=ka;this.$FBRTCLogger2(q,la);this.$FBRTCLogger1(ia,ja,'Info',ka);};ha.prototype.logError=function(ia,ja,ka){"use strict";var la={};la[ca]=ia;la[x]=ja;la[aa]=ka;this.$FBRTCLogger2(t,la);this.$FBRTCLogger1(ia,ja,'Error',ka);};ha.prototype.logErrorWithoutID=function(ia){"use strict";this.logError(null,null,ia);};ha.prototype.logEndCallSummary=function(ia){"use strict";if(!ia)return;var ja={};ja[ca]=ia.peerID;ja[x]=ia.callID;ja[ba]=fa;ja[aa]=ia.toString();var ka=ia.getExtraInfo();for(var la in ka)if(ka.hasOwnProperty(la))ja[la]=ka[la];this.$FBRTCLogger2(q,ja);this.$FBRTCLogger1(ia.peerID,ia.callID,'Call Summary',ja);};ha.prototype.$FBRTCLogger2=function(ia,ja){"use strict";ja.page_id=k;this.$FBRTCLogger0.log(ia,ja);i.log(ia,l,ja);};ha.prototype.$FBRTCLogger1=function(ia,ja,ka,la){"use strict";};ha.CallAction={START_CALL:'start_call',RECEIVED_CALL:'received_call',ANSWER_CALL:'answer_call',END_CALL:'end_call',DENIED_PERMISSION:'denied_permission',SET_MUTE:'set_mute',SET_VIDEO_ON:'set_video_on',SET_SELF_VIEW_ON:'set_self_view_on',SET_FULLSCREEN_ON:'set_fullscreen_on',START_SKYPE:'start_skype',TRY_NEW:'try_new',OPEN_POPUP:'open_popup',POPUP_OPENED:'popup_opened',AUTO_DISABLE_VIDEO:'auto_disable_video',FAILED_GETTING_URI:'failed_getting_uri',OLD_URI:'old_uri',USER_SETTINGS_CHANGED:'user_settings_changed'};ha.Trigger={ADMIN_MESSAGE:'admin_message',CHAT_TAB_ICON:'chat_tab_icon',CHAT_TAB_ICON_TOUR:'chat_tab_icon_tour',SKYPE_DEPRECATION_DIALOG:'skype_deprecation_dialog',REDIAL_BUTTON:'redial_button',RETURN_CALL:'return_call',WEB_MESSENGER:'web_messenger',POPUP_CALL_START_BUTTON:'popup_start_call_button',UNKNOWN:'unknown'};ha.Key={DEVICE_INFO:'device_info',RATING:'rating5',RATING_SHOWN:'rating_shown',SURVEY_CHOICE:'survey_choice',SURVEY_DETAILS:'survey_details',SURVEY_SHOWN:'survey_shown',INITIATED_BY_PAGE_ID:'initiated_by_page_id',PEER_IS_MOBILE:'peer_is_mobile'};e.exports=ha;},null); -__d("FBRTCCallSummary",["FBRTCConstants","FBRTCIceStatsParser","FBRTCLogger","UserAgentData","copyProperties","performanceNow"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=5*60*1000,n={CALL_STARTED:'started',POPUP_OPENED:'opened',SENT_OFFER:'s_o',RECV_OFFER:'r_o',SENT_OFFER_ACK:'s_oack',RECV_OFFER_ACK:'r_oack',SENT_RETRIED_OFFER:'s_o2',RECV_RETRIED_OFFER:'r_o2',SENT_RETRIED_OFFER_ACK:'s_oack2',RECV_RETRIED_OFFER_ACK:'r_oack2',SENT_PRANSWER:'s_pr',RECV_PRANSWER:'r_pr',NETWORK_READY:'network_ready',SENT_ANSWER:'s_a',RECV_ANSWER:'r_a',SENT_ANSWER_ACK:'s_aack',RECV_ANSWER_ACK:'r_aack',SENT_RETRIED_ANSWER:'s_a2',RECV_RETRIED_ANSWER:'r_a2',SENT_RETRIED_ANSWER_ACK:'s_aack2',RECV_RETRIED_ANSWER_ACK:'r_aack2',SENT_OK:'s_ok',RECV_OK:'r_ok',CALL_CONNECTED:'connected',CALL_ENDED:'ended'};o.CURRENT_SUMMARY_VERSION=10;function o(p){"use strict";this.peerID=p.peerID;this.callID=p.callID;this.$FBRTCCallSummary0=p.isCaller;this.$FBRTCCallSummary1=(new Date()).valueOf();this.$FBRTCCallSummary2=null;this.$FBRTCCallSummary3={};this.$FBRTCCallSummary4=null;this.$FBRTCCallSummary5=null;this.$FBRTCCallSummary6=null;this.$FBRTCCallSummary7=null;this.$FBRTCCallSummary8=null;this.$FBRTCCallSummary9=null;this.$FBRTCCallSummarya={};this.$FBRTCCallSummaryb={};this.$FBRTCCallSummaryc={};this.$FBRTCCallSummaryd={};this.$FBRTCCallSummarye={};this.$FBRTCCallSummaryf={};this.$FBRTCCallSummaryg=l();this.$FBRTCCallSummaryh=0;this.$FBRTCCallSummaryi={};this.$FBRTCCallSummaryj=this.$FBRTCCallSummaryg;this.$FBRTCCallSummaryk=0;this.$FBRTCCallSummaryl={};this.addExtraInfo(i.Key.DEVICE_INFO,this.$FBRTCCallSummarym());this.$FBRTCCallSummaryn();this.$FBRTCCallSummaryo=h.getInstance();this.$FBRTCCallSummaryp=i.getInstance();}o.prototype.toJsonString=function(){"use strict";this.$FBRTCCallSummary8=(new Date()).valueOf();return JSON.stringify({version:o.CURRENT_SUMMARY_VERSION,peerID:this.peerID,callID:this.callID,isCaller:this.$FBRTCCallSummary0,startTime:this.$FBRTCCallSummary1,trigger:this.$FBRTCCallSummary2,signalingTime:this.$FBRTCCallSummary3,endCallReason:this.$FBRTCCallSummary4,endCallSubreason:this.$FBRTCCallSummary5,isRemoteEnded:this.$FBRTCCallSummary6,lastUpdatedTime:this.$FBRTCCallSummary7,lastSerializedTime:this.$FBRTCCallSummary8,unsetOnRetrieve:this.$FBRTCCallSummary9,openCount:this.$FBRTCCallSummaryk,extraInfo:this.$FBRTCCallSummaryl,pcStats:this.$FBRTCCallSummarya,captureStats:this.$FBRTCCallSummaryb,gen0IceSentCount:this.$FBRTCCallSummaryc,gen0IceReceivedCount:this.$FBRTCCallSummaryd,iceSentCount:this.$FBRTCCallSummarye,iceReceivedCount:this.$FBRTCCallSummaryf,newSignalingTime:this.$FBRTCCallSummaryi,accumulatedCallTime:this.$FBRTCCallSummaryq()});};o.fromJsonString=function(p){"use strict";var q;try{q=JSON.parse(p);}catch(r){return null;}if(q.version!==o.CURRENT_SUMMARY_VERSION)return null;if(!q.hasOwnProperty('peerID')||!q.hasOwnProperty('callID')||!q.hasOwnProperty('isCaller')||!q.hasOwnProperty('startTime')||!q.hasOwnProperty('trigger')||!q.hasOwnProperty('signalingTime')||!q.hasOwnProperty('endCallReason')||!q.hasOwnProperty('isRemoteEnded')||!q.hasOwnProperty('lastUpdatedTime')||!q.hasOwnProperty('lastSerializedTime'))return null;var s=new o({peerID:q.peerID,callID:q.callID,isCaller:q.isCaller});s.$FBRTCCallSummary1=q.startTime;s.$FBRTCCallSummary2=q.trigger;s.$FBRTCCallSummary3=q.signalingTime;s.$FBRTCCallSummary4=q.endCallReason;s.$FBRTCCallSummary5=q.endCallSubreason;s.$FBRTCCallSummary6=q.isRemoteEnded;s.$FBRTCCallSummary7=q.lastUpdatedTime;s.$FBRTCCallSummary8=q.lastSerializedTime;if(q.unsetOnRetrieve)s.$FBRTCCallSummary9=q.unsetOnRetrieve;if(q.openCount)s.$FBRTCCallSummaryk=q.openCount;if(q.extraInfo)s.$FBRTCCallSummaryl=q.extraInfo;if(q.pcStats)s.$FBRTCCallSummarya=q.pcStats;if(q.captureStats)s.$FBRTCCallSummaryb=q.captureStats;if(q.gen0IceSentCount)s.$FBRTCCallSummaryc=q.gen0IceSentCount;if(q.gen0IceReceivedCount)s.$FBRTCCallSummaryd=q.gen0IceReceivedCount;if(q.iceSentCount)s.$FBRTCCallSummarye=q.iceSentCount;if(q.iceReceivedCount)s.$FBRTCCallSummaryf=q.iceReceivedCount;if(q.newSignalingTime)s.$FBRTCCallSummaryi=q.newSignalingTime;if(q.accumulatedCallTime)s.$FBRTCCallSummaryh=q.accumulatedCallTime;return s;};o.restoreOrInitialize=function(p,q,r,s,t){"use strict";var u=p.retrieveCallSummary(q,r);if(!u){u=new o({peerID:q,callID:r,isCaller:s});if(t){u.onFullMessageReceived({msg:t});u.onOfferAckSent(t);}else u.onCallStarted(i.Trigger.UNKNOWN);i.getInstance().logError(q,r,'Missing call summary from storage');}else if(u.$FBRTCCallSummary9){u.$FBRTCCallSummary4=null;u.$FBRTCCallSummary5=null;u.$FBRTCCallSummary6=null;delete u.$FBRTCCallSummary3[n.CALL_ENDED];delete u.$FBRTCCallSummaryi[n.CALL_ENDED];u.$FBRTCCallSummary9=null;}return u;};o.logSavedSummaries=function(p){"use strict";var q=p.getLoggableSummaries(),r=q.length;if(r<=0)return;var s=i.getInstance(),t=[];for(var u=0;um){this.$FBRTCCallSummaryp.logInfo(this.peerID,this.callID,'Summary too old: '+r);return;}p.storeCallSummary(this.peerID,this.callID,this);this.$FBRTCCallSummaryj=q;};o.prototype.getLastUpdatedTime=function(){"use strict";return this.$FBRTCCallSummary7;};o.prototype.setLastUpdatedTime=function(p){"use strict";this.$FBRTCCallSummary7=p;};o.prototype.getExtraInfo=function(){"use strict";return this.$FBRTCCallSummaryl;};o.prototype.addExtraInfo=function(p,q){"use strict";this.$FBRTCCallSummaryl[p]=q;this.$FBRTCCallSummaryn();};o.prototype.onCallStarted=function(p){"use strict";this.$FBRTCCallSummary2=p;this.$FBRTCCallSummaryr(n.CALL_STARTED);this.$FBRTCCallSummaryn();};o.prototype.onPopupOpened=function(){"use strict";this.$FBRTCCallSummaryr(n.POPUP_OPENED);this.$FBRTCCallSummaryk++;this.$FBRTCCallSummaryn();};o.prototype.setPcStats=function(p){"use strict";this.$FBRTCCallSummarya=p;this.$FBRTCCallSummaryn();};o.prototype.setVideoCaptureStats=function(p,q){"use strict";this.$FBRTCCallSummaryb={w:p,h:q};this.$FBRTCCallSummaryn();};o.prototype.onOfferAckSent=function(p){"use strict";this.onMessageSent({type:g.PayloadType.OFFER_ACK,flag:p.flag});};o.prototype.onMessageSent=function(p){"use strict";var q=p.flag===1;switch(p.type){case g.PayloadType.OFFER:this.$FBRTCCallSummarys(q,n.SENT_OFFER,n.SENT_RETRIED_OFFER);this.$FBRTCCallSummaryt(p,this.$FBRTCCallSummaryc,this.$FBRTCCallSummarye);break;case g.PayloadType.ANSWER:this.$FBRTCCallSummarys(q,n.SENT_ANSWER,n.SENT_RETRIED_ANSWER);this.$FBRTCCallSummaryt(p,this.$FBRTCCallSummaryc,this.$FBRTCCallSummarye);break;case g.PayloadType.OK:this.$FBRTCCallSummaryr(n.SENT_OK);break;case g.PayloadType.PRANSWER:this.$FBRTCCallSummaryr(n.SENT_PRANSWER);break;case g.PayloadType.OFFER_ACK:this.$FBRTCCallSummarys(q,n.SENT_OFFER_ACK,n.SENT_RETRIED_OFFER_ACK);break;case g.PayloadType.ANSWER_ACK:this.$FBRTCCallSummarys(q,n.SENT_ANSWER_ACK,n.SENT_RETRIED_ANSWER_ACK);break;case g.PayloadType.ICE_CANDIDATE:this.$FBRTCCallSummaryt(p,this.$FBRTCCallSummaryc,this.$FBRTCCallSummarye);break;default:}this.$FBRTCCallSummaryn();};o.prototype.$FBRTCCallSummaryt=function(p,q,r){"use strict";var s=null,t=null,u=this.$FBRTCCallSummaryo.extractIceInfo(p.sdp);for(var v=0;v0)p.duration=s;}p.new_time_from_start=this.$FBRTCCallSummaryi;q=this.$FBRTCCallSummaryi[n.CALL_CONNECTED];r=this.$FBRTCCallSummaryi[n.CALL_ENDED];if(q){if(!r)if(this.$FBRTCCallSummaryh>0){r=this.$FBRTCCallSummaryh;}else r=this.$FBRTCCallSummaryq();s=r-q;if(s>0)p.new_duration=s;}return p;};o.prototype.$FBRTCCallSummaryz=function(){"use strict";var p={};if(this.$FBRTCCallSummaryc)p.ice_g0=this.$FBRTCCallSummaryc;if(this.$FBRTCCallSummarye)p.ice=this.$FBRTCCallSummarye;if(this.$FBRTCCallSummarya.sender)k(p,this.$FBRTCCallSummarya.sender);return p;};o.prototype.$FBRTCCallSummaryA=function(){"use strict";var p={};if(this.$FBRTCCallSummaryd)p.ice_g0=this.$FBRTCCallSummaryd;if(this.$FBRTCCallSummaryf)p.ice=this.$FBRTCCallSummaryf;return p;};o.prototype.$FBRTCCallSummaryB=function(){"use strict";var p={};if(this.$FBRTCCallSummary4!==null){p.end_call_reason_string=g.callEndReasonString(this.$FBRTCCallSummary4);if(this.$FBRTCCallSummary5!==null)p.end_call_subreason_string=this.$FBRTCCallSummary5;p.remote_ended=this.$FBRTCCallSummary6;}if(this.$FBRTCCallSummarya.end)k(p,this.$FBRTCCallSummarya.end);return p;};o.prototype.$FBRTCCallSummaryC=function(){"use strict";var p={capture:{}};if(this.$FBRTCCallSummarya.video&&this.$FBRTCCallSummarya.video.sender)k(p,this.$FBRTCCallSummarya.video.sender);if(this.$FBRTCCallSummaryb)k(p.capture,this.$FBRTCCallSummaryb);return {sender:p};};o.prototype.$FBRTCCallSummaryD=function(){"use strict";return (new Date()).valueOf()-this.$FBRTCCallSummary1;};o.prototype.$FBRTCCallSummaryq=function(){"use strict";var p=l()-this.$FBRTCCallSummaryg;return Math.floor(this.$FBRTCCallSummaryh+p);};o.prototype.$FBRTCCallSummaryr=function(p){"use strict";if(this.$FBRTCCallSummary3[p])return;this.$FBRTCCallSummary3[p]=this.$FBRTCCallSummaryD();this.$FBRTCCallSummaryi[p]=this.$FBRTCCallSummaryq();};o.prototype.$FBRTCCallSummarys=function(p,q,r){"use strict";if(p){this.$FBRTCCallSummaryr(r);}else this.$FBRTCCallSummaryr(q);};o.prototype.$FBRTCCallSummaryn=function(){"use strict";this.$FBRTCCallSummary7=(new Date()).valueOf();};o.prototype.$FBRTCCallSummarym=function(){"use strict";return {device:j.deviceName,os:j.platformName,os_version:j.platformFullVersion,browser:j.browserName,browser_version:j.browserFullVersion,screen_height:window.screen.availHeight,screen_width:window.screen.availWidth};};e.exports=o;},null); -__d("FBRTCCallSummaryStore",["CacheStorage","FBRTCCallSummary","FBRTCLogger","areEqual"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k='localstorage',l='RTC_CALL_SUMMARY_',m='summary',n=2000,o=3,p=3*60*1000,q=null;r.getInstance=function(){"use strict";if(!q)q=new r();return q;};function r(){"use strict";this.$FBRTCCallSummaryStore0=new g(k,l);this.$FBRTCCallSummaryStore1=i.getInstance();}r.prototype.storeCallSummary=function(s,t,u){"use strict";var v=this;this.$FBRTCCallSummaryStore2(function(w){if(!w[s])w[s]={};var x=w[s][t];if(x){var y=v.$FBRTCCallSummaryStore3(x);if(y&&y.getLastUpdatedTime()>u.getLastUpdatedTime()){v.$FBRTCCallSummaryStore1.logToConsole('Outdated summaries');return null;}}w[s][t]=v.$FBRTCCallSummaryStore4(u);return w;},v.$FBRTCCallSummaryStore1.logError.bind(v.$FBRTCCallSummaryStore1,s,t));};r.prototype.retrieveCallSummary=function(s,t){"use strict";var u=this.$FBRTCCallSummaryStore5(),v=null;if(u[s])v=u[s][t];if(v){return this.$FBRTCCallSummaryStore3(v);}else return null;};r.prototype.removeCallSummary=function(s,t){"use strict";this.removeCallSummaries([{peerID:s,callID:t}]);};r.prototype.removeCallSummaries=function(s){"use strict";var t=this;this.$FBRTCCallSummaryStore2(function(u){var v=s.length;for(var w=0;w=t))return h.fromJsonString(s.__d);return null;};r.prototype.$FBRTCCallSummaryStore5=function(){"use strict";var s=this.$FBRTCCallSummaryStore0.get(m)||{};return s;};r.prototype.$FBRTCCallSummaryStore2=function(s,t,u,v){"use strict";if(u===(void 0)||u===null)u=o;var w=this.$FBRTCCallSummaryStore5(),x=this.$FBRTCCallSummaryStore5(),y=s(w);if(y===null)return;var z=this.$FBRTCCallSummaryStore5();if(j(x,z)){this.$FBRTCCallSummaryStore0.set(m,y);this.$FBRTCCallSummaryStore1.logToConsole('Updated summaries');}else if(u>0){t('Retry lock');if(v){var aa=this;setTimeout(function(){aa.$FBRTCCallSummaryStore2(s,t,u-1,true);},n);}else this.$FBRTCCallSummaryStore2(s,t,u-1,true);}else t('Failed to lock');};e.exports=r;},null); -__d("FBRTCUtils",["emptyFunction","randomInt","AsyncRequest"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=6000,k={attachMediaStream:function(l,m){if(window.webkitRTCPeerConnection){l.src=window.webkitURL.createObjectURL(m);}else{l.mozSrcObject=m;l.play();}},reattachMediaStream:function(l,m){if(window.webkitRTCPeerConnection){l.src=m.src;}else{l.mozSrcObject=m.mozSrcObject;l.play();}},generateRandomInt:function(){return h(0,4294967294)+1;},aboutEqual:function(l,m){return (l-m)<.01&&(m-l)<.01;},sendServerRequest:function(l,m,n,o,p,q){m=m||g;n=n||g;o=o||false;p=p||j;q=q||{};var r=new i().setURI(l).setData(q).setAllowCrossPageTransition(true).setHandler(m).setErrorHandler(n).setTimeoutHandler(p,function(){n();});if(o)r.setOption('asynchronous',false);r.send();}};e.exports=k;},null); -__d("XVideoCallInitController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/videocall\/init\/",{peer_id:{type:"Int",required:true},call_id:{type:"Int",required:true},is_caller:{type:"Bool",defaultValue:false}});},null); -__d("XVideoCallController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/videocall\/incall\/",{peer_id:{type:"Int",required:true},call_id:{type:"Int"},is_caller:{type:"Bool",defaultValue:false}});},null); -__d("FBRTCUrlManager",["FBRTCLogger","FBRTCUtils","XVideoCallInitController","XVideoCallController"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=3,l=function(p,q,r){g.getInstance().logCallAction(p,q,g.CallAction.OLD_URI);return j.getURIBuilder().setInt('peer_id',p).setInt('call_id',q).setBool('is_caller',r).getURI();},m=function(p,q,r,s,t,u){if(u===(void 0)||u===null)u=k;var v=i.getURIBuilder().setInt('peer_id',p).setInt('call_id',q).setBool('is_caller',r).getURI();h.sendServerRequest(v,function(w){s(w.payload.uri);},function(w){if(u>0){m(p,q,r,s,t,u-1);}else s(l(p,q,r));});},n=function(p){window.history.replaceState({},'',p);},o={init:function(p){this._peerID=p;},onCallStarted:function(){n(l(this._peerID));},getCallUri:m};e.exports=o;},null); -__d("FBRTCCallUI",["BanzaiLogger","Cookie","UserAgent","FBRTCCallSummary","FBRTCCallSummaryStore","FBRTCConstants","FBRTCLogger","FBRTCUrlManager","pageID"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=null,q={openAsCaller:function(r,s,t){if(!p&&window.rtcCallChildWindow){p=window.rtcCallChildWindow;window.rtcCallChildWindow=null;}if(this._shouldFocusCallWindow(r)){p.focus();return;}if(this._shouldCloseCallWindow())p.close();g.log('VideoCallLoggerConfig',{event:'open_as_caller'});m.getInstance().logCallAction(r,s,m.CallAction.START_CALL,null,t);var u=new j({peerID:r,callID:s,isCaller:true});u.onCallStarted(t);this._open(r,s,true,u,false);},openAsCallee:function(r,s,t,u){g.log('VideoCallLoggerConfig',{event:'open_as_callee'});this._open(r,s,false,t,u);},_shouldFocusCallWindow:function(r){return p&&!p.closed&&p.rtcCallInProgessWith===r;},_shouldCloseCallWindow:function(){return p&&!p.closed&&!p.rtcCallInProgessWith;},_open:function(r,s,t,u,v){h.clear('vcpwn');h.clear('vctid');var w=this._windowPosition(),x=['menubar=no','location=no','scrollbars=no','status=no','personalbar=no',w.height,w.width,w.top,w.left].join(',');if(this._isSparkBrowser())x='';u.addExtraInfo(m.Key.INITIATED_BY_PAGE_ID,o);u.onCallEnded(l.CallEndReason.CLIENT_ERROR,false,true,'PopupPending');u.save(k.getInstance());g.log('VideoCallLoggerConfig',{event:'open_popup'});if(!v){p=window.open('','Video Call',x);this._setUri(p,r,s,t);}else{m.getInstance().logCallAction(r,s,m.CallAction.OPEN_POPUP);p=window.open(v,'Video Call',x);}if(window.focus)p.focus();},_setUri:function(r,s,t,u){n.getCallUri(s,t,u,function(v){m.getInstance().logCallAction(s,t,m.CallAction.OPEN_POPUP);r.location=v;},function(){m.getInstance().logCallAction(s,t,m.CallAction.FAILED_GETTING_URI);});},_windowPosition:function(){var r=933,s=700,t,u,v,w;if(window.innerWidth!==(void 0)){u=window.innerWidth;t=window.innerHeight;}else{u=screen.width;t=screen.height;}if(window.screenLeft!==(void 0)){v=window.screenLeft;w=window.screenTop;}else{v=window.screenX;w=window.screenY;}var x=Math.floor(((u/2)-(r/2))+v),y=Math.floor(((t/2)-(s/2))+w);return {height:'height='+s.toString(),width:'width='+r.toString(),top:'top='+y.toString(),left:'left='+x.toString()};},_isSparkBrowser:function(){return i.isBrowser('Chrome < 34')&&i.isBrowser('Chrome > 33');}};e.exports=q;},null); -__d("XBrowserNotSupportedDialogController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/videocall\/browser_not_supported\/",{user_id:{type:"Int"},warning:{type:"Bool",defaultValue:false},__asyncDialog:{type:"Int"}});},null); -__d("FBRTCSoundController",["RTCConfig","Sound"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=[g.ringtone_mp3_url,g.ringtone_ogg_url],j={playIncomingRingtone:function(k,l,m){var n=['incoming_ringtone',k.toString(),l.toString()].join('_');h.play(i,n,m);},stopIncomingRingtone:function(){h.stop(i);}};e.exports=j;},null); -__d("FBRTCUnsupportedBrowserMessage",["AsyncDialog","AsyncRequest","XBrowserNotSupportedDialogController","FBRTCSoundController"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k={_dialog:null,warnForOutgoingCall:function(l){var m=i.getURIBuilder().setBool('warning',true).getURI();this._presentDialog(m,l);},showForOutgoingCall:function(){var l=i.getURIBuilder().getURI();this._presentDialog(l);},showForIncomingCall:function(l,m){j.playIncomingRingtone(l,m,false);var n=i.getURIBuilder().setInt('user_id',m).getURI();this._presentDialog(n);},dismiss:function(){if(this._dialog)this._dialog.hide();},_presentDialog:function(l,m){if(this._dialog)return;var n=new h(l);g.send(n,function(o){this._dialog=o;o.subscribe('hide',function(){this._dialog=null;if(m)m();}.bind(this));}.bind(this));}};e.exports=k;},null); -__d("FBRTCCore",["Arbiter","ChatVisibility","FBRTCAvailability","FBRTCCallUI","FBRTCStruct","FBRTCUnsupportedBrowserMessage","mixInEventEmitter","PresencePrivacy","VideoCallSupport","fbt","randomInt","invariant"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b.__markCompiled&&b.__markCompiled();var s=false,t={startOutgoingCall:function(u,v){r(!isNaN(parseInt(u,10)));if(s)return;s=true;setTimeout(function(){s=false;},1000);if(o.isWebrtcSupported()){var w=this._generateCallID();j.openAsCaller(u,w,v);}else l.showForOutgoingCall();},isAvailableForWebrtcCalling:function(u){return i.isCallable(u);},callabilityForUser:function(u){if(!h.isOnline()){return t.CallabilityStatus.OFFLINE;}else if(t.isAvailableForWebrtcCalling(u)){return t.CallabilityStatus.AVAILABLE;}else if(!n.allows(u)){return t.CallabilityStatus.BLOCKED;}else return t.CallabilityStatus.UNAVAILABLE;},generateCallButtonTooltip:function(u,v){switch(v){case t.CallabilityStatus.AVAILABLE:return p._("Start a video call with {shortname}",[p.param("shortname",u)]);case t.CallabilityStatus.BLOCKED:return p._("You must turn on chat for {shortname} to make a call.",[p.param("shortname",u)]);case t.CallabilityStatus.UNAVAILABLE:return p._("{shortname} is currently unavailable for video calling",[p.param("shortname",u)]);case t.CallabilityStatus.OFFLINE:return p._("You must be online to make a call.");default:return p._("You must be online to make a call.");}},_generateCallID:function(){return q(0,4294967295);},buddyCallabilityChanged:function(){this.emit('callabilityChanged');}};t.CallabilityStatus=new k(['AVAILABLE','BLOCKED','OFFLINE','UNAVAILABLE']);g.subscribe(['buddylist/availability-changed'],function(u,v){t.buddyCallabilityChanged();});n.subscribe(['privacy-changed','privacy-availability-changed'],function(u,v){t.buddyCallabilityChanged();});m(t,{callabilityChanged:true});e.exports=t;},null); -__d("SamplingPolicyBase",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(){"use strict";throw 'Tried to instantiate SamplingPolicyBase';}g.prototype.getName=function(){"use strict";return this.name;};g.prototype.isSampled=function(){"use strict";if(typeof(this.sampled)=='undefined')this.sampled=this.decideIfSampled();return this.sampled;};e.exports=g;},null); -__d("FbtraceForcedByServerPolicy",["FbtraceForcedByServer","SamplingPolicyBase","copyProperties"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';var j;function k(){this.name='FbtraceForcedByServerPolicy';}k.get=function(){if(typeof(j)=='undefined')j=new k();return j;};function l(){return g.forced;}i(k.prototype,h.prototype,{decideIfSampled:l});e.exports=k;},null); -__d("Random",["Alea","ServerNonce"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();'use strict';var h=b('ServerNonce').ServerNonce,i=g(h),j={random:i,uint32:function(){return Math.floor(i()*4294967296);}};e.exports=j;},null); -__d("guardFunction",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h,i,j){return function(){if(h.apply(j||this,arguments))i.apply(j||this,arguments);};}e.exports=g;},null); -__d("Fbtrace",["Arbiter","BanzaiScribe","ErrorUtils","FbtraceForcedByServer","FbtraceForcedByServerPolicy","Random","SiteData","copyProperties","guardFunction"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();'use strict';var p='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',q='AAAAAAAAAAA';for(var r in Error)if(Error.hasOwnProperty(r))t[r]=Error[r];var s=Error===null?null:Error.prototype;t.prototype=Object.create(s);t.prototype.constructor=t;t.__superConstructor__=Error;function t(ia){Error.call(this,ia);}function u(ia){i.reportError(new t(ia));}function v(){var ia=function(){var la=0,ma=0,na='';for(var oa=10;oa>=0;oa--){if(la<6){ma=l.uint32();la=32;}if(oa===0)ma=ma&7;na=p.charAt(ma&63)+na;ma>>=6;la-=6;}return na;},ja,ka;for(ja=3;ja>0;ja--){ka=ia();if(ka!=q)return ka;}u('failed to generate valid Fbtrace id');return q;}function w(){n(this,w);}n(w,{isOn:function(){return false;},replySend:function(ia,ja){},requestSend:function(ia,ja,ka){ca(ia,ja);return {metadata:function(){return (void 0);},replyReceive:function(la){}};}});var x=new w();function y(ia,ja,ka){if(!ia)throw {name:'ArgumentError',message:'no valid service name specified'};if(!ja)throw {name:'ArgumentError',message:'no valid version specified'};var la=h,ma=0,na=v(),oa=v(),pa=ba(na),qa={service:ia,version:ja},ra=function(wa){if(typeof(wa)=='undefined')return 'undefined';if(typeof(wa)!='string')wa=ra(JSON.stringify(wa));return wa;},sa=function(wa){var xa='';for(var ya in wa){if(xa.length>0)xa+='\x02';xa+=ra(ya)+'\x03'+ra(wa[ya]);}return xa;},ta=function(wa,xa,event,ya,za){ma++;return [za,ma,na,wa,xa,ra(event),sa(ya)].join('\x01');},ua=function(wa,xa,event,ya,za){if(!za&&typeof(za)=='undefined')za=Date.now()*1000;var ab=ta(wa,xa,event,ya,za);la.log('fbtrace',ab,pa);},va=function(){return oa;};ua(q,oa,'#rqrecv',n(ka,qa));n(this,y);n(this,{replySend:function(wa,xa){xa=n(xa,qa,{success:wa?'true':'false'});ua(q,oa,'#rpsend',xa);},requestSend:function(wa,xa,ya){ca(wa,xa);var za=va(),ab=v();ya=n(ya,qa,{op:wa,'remote:service':xa});ua(za,ab,'#rqsend',ya);return {metadata:function(){return na+ab;},replyReceive:function(bb){ua(za,ab,'#rprecv',n(bb,qa));},parentNode:this};}});}n(y,{isOn:function(){return true;}});function z(){return x;}function aa(ia,ja,ka){ka=ka||{};ka.init=true;var la=k.get();if(la.isSampled()){return new y(ia,ja,ka);}else return new w();}function ba(ia){var ja=ia.charAt(ia.length-1);return p.indexOf(ja)%32;}function ca(ia,ja){if(!ia)throw {name:'ArgumentError',message:'no valid operation specified'};if(!ja)throw {name:'ArgumentError',message:'no valid remote:service specified'};}function da(ia,ja){var ka=x,la;x=ia;try{la=ja();}finally{x=ka;}return la;}var ea=function(ia,ja){var ka=z(),la=ja.request,ma=false;if(!ka.isOn()&&j.forced&&/\/upload\/(?:composer|photos)\/|\/ajax\/composerx\/attachment\/media\//.test(la.uri.toString())){ka=aa('photo_upload_kludge',String(m.revision||'dev'),{policy:'PhotoUpload'});ma=true;}if(ka.isOn()){var na=ma?{policy:'PhotoUpload'}:{};if(la.userActionId)na.user_action_id=la.userActionId;var oa=ka.requestSend(la.uri.toString(),'www',na);la.fbtraceRemoteNode=oa;la.transport.setRequestHeader('X-Fbtrace-Meta',oa.metadata());}},fa=function(ia,ja){ja.request.fbtraceRemoteNode.replyReceive({is_last:ja.response.is_last,success:true});setTimeout(function(){ja.request.fbtraceRemoteNode.parentNode.replySend(true,{});},0);},ga=function(ia,ja){ja.request.fbtraceRemoteNode.replyReceive({is_last:ja.response.is_last,success:false,error_code:ja.response.error,error_summary:ja.response.errorSummary,error_description:ja.response.errorDescription});setTimeout(function(){ja.request.fbtraceRemoteNode.parentNode.replySend(false,{});},0);},ha=function(ia,ja){return ja.request.fbtraceRemoteNode;};g.subscribe('AsyncRequest/will_send',ea);g.subscribe('AsyncRequest/response',o(ha,fa));g.subscribe('AsyncRequest/error',o(ha,ga));e.exports={defaultNode:z,requestReceive:aa,withDefaultNode:da};},null); -__d("VideoCallCore",["Arbiter","ChannelConstants","FBRTCCore","FBRTCLogger","FBRTCUnsupportedBrowserMessage","VideoCallSupport","FBRTCCallUI","FBRTCIncomingCallController","randomInt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=[],q=null,r=false,s={onRTCMessage:function(w){if(l.isReceiveWebrtcSupported()&&n){p.push(w);t();}},setRTCMessageHandler:function(w){this.onRTCMessage=w;if(w)while(p.length)w(p.shift());},availableForCall:function(w){return v(w);},showOutgoingCallDialog:function(w,x,y){if(r)return;r=true;setTimeout(function(){r=false;},1000);if(l.isWebrtcSupported()){this.makeWebRTCCall(w,y||j.Trigger.CHAT_TAB_ICON);}else k.showForOutgoingCall();},canCallByWebrtc:function(w){if(l.isSendWebrtcSupported())return v(w);return false;},makeWebRTCCall:function(w,x){var y=parseInt(w,10);t();var z=u();q.startingCallTo(y,z);m.openAsCaller(w,z,x);}};function t(){if(!q)q=new n(s);}function u(){return o(0,4294967295);}function v(w){return i.isAvailableForWebrtcCalling(w);}g.subscribe(h.getArbiterType('video'),function(w,x){});g.subscribe(h.getArbiterType('webrtc'),function(w,x){s.onRTCMessage(x.obj);});if(l.isReceiveWebrtcSupported())t();e.exports=s;},null); -__d("ChatAnimatedGifs",["URI"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={shouldHideBody:function(i){if(!i.has_attachment)return false;for(var j=0;jga){if(hb()){kb=true;ca=jb||null;qa(ib);}}else ia.error('rejected',{change_time:ib,state_time:ga});kb&&pa();}function pa(){if(ja)fb.inform('chat/tabs-changed',fb.get());}function qa(hb){if(hb===(void 0))hb=Math.max(y.getLastUserMessageTimestamp()||1,ga+1);ga=hb;s.doSync();}function ra(hb){var ib=z.length-ha;if(ib>0)z=z.filter(function(jb){return jb.raised||jb.id==hb||ib--<=0;});if(ib>0)z=z.filter(function(jb){return jb.id==aa||jb.id==hb||ib--<=0;});}function sa(hb){for(var ib=0;ib-1){var jb=z[ib];return v({},jb);}return null;},getEmptyTab:function(){var hb;for(var ib=0;ibl)m=m.substr(0,l-3)+"...";new Notification(g._("You were tagged in a message!"),{body:m,icon:"http://facebook.com//images/icons-large/fb-xl.png"});}};e.exports=j;},null); -__d("ChatAddToThreadButton.react",["Link.react","ReactComponentWithPureRenderMixin","React","TrackingNodes","cx","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();'use strict';var m=i,n=m.PropTypes,o=i.createClass({displayName:"ChatAddToThreadButton",mixins:[h],propTypes:{isFBAtWork:n.bool,onClick:n.func,shown:n.bool},render:function(){var p=this.props.isFBAtWork?l._("Add more colleagues to chat"):l._("Add more friends to chat"),q=j.getTrackingInfo(j.types.ADD_TO_THREAD);return (i.createElement(g,{"aria-label":p,className:(("addToThread")+(' '+"button")+(!this.props.shown?' '+"hidden_elem":'')),"data-ft":q,"data-hover":"tooltip","data-tooltip-alignv":"top",onClick:this.props.onClick}));}});e.exports=o;},null); -__d("ChatArchiveWarning.react",["Image.react","ReactComponentWithPureRenderMixin","React","cx","ix"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';var l=i,m=l.PropTypes,n=i.createClass({displayName:"ChatArchiveWarning",mixins:[h],propTypes:{isFBAtWork:m.bool,shown:m.bool},render:function(){var o=this.props.isFBAtWork?k('images/chat/tab/archive-grey.png'):k('images/chat/tab/archive.png');return (i.createElement(g,{src:o,className:(("titanArchiveWarning")+(' '+"button")+(!this.props.shown?' '+"hidden_elem":'')),"data-hover":"tooltip","data-tooltip-alignh":"center","aria-label":"All employee-to-employee conversations will be archived"}));}});e.exports=n;},null); -__d("ChatCloseButton.react",["Link.react","ReactComponentWithPureRenderMixin","React","TrackingNodes","fbt"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';var l=i,m=l.PropTypes,n=i.createClass({displayName:"ChatCloseButton",mixins:[h],propTypes:{onClick:m.func,onKeyUp:m.func,onMouseDown:m.func,active:m.bool},getDefaultProps:function(){return {active:false};},render:function(){var o=j.getTrackingInfo(j.types.CLOSE_BUTTON),p=k._("Press Esc to close"),q=k._("Close tab");return (i.createElement(g,{"aria-label":this.props.active?p:q,className:"close button","data-ft":o,"data-hover":"tooltip","data-tooltip-position":"above",onClick:this.props.onClick,onKeyUp:this.props.onKeyUp,onMouseDown:this.props.onMouseDown}));}});e.exports=n;},null); -__d("VideoCallTourDialog",["ArbiterMixin","LegacyContextualDialog","CSS","MercuryIDs","ChatTabTemplates","VideoCallCore","VideoCallingTour","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();function o(){this._dialog=null;}n(o.prototype,g);n(o.prototype,{render:function(p,q){var r=j.getUserIDFromThreadID(q);if(!r||!l.availableForCall(r))return;var s=k[':fb:mercury:call:tour'].build();this._dialog=new h();this._dialog.init(s.getRoot()).setWidth(250).setAlignH('center').setContext(p).show();i.addClass(this._dialog.getRoot(),'uiContextualDialogWithFooterArrowBottom');i.addClass(p,'video_call_tour');this.inform('chat/dialog-rendered',{dialog:this,thread_id:q});m.inform('videocallingtour/end');},updatePosition:function(){if(this._dialog&&this._dialog.isShown())this._dialog.updatePosition();},hide:function(){if(this._dialog&&this._dialog.isShown()){this._dialog.hide();this._dialog=null;}}});e.exports=o;},null); -__d("ChatContextualDialogController",["Event","ArbiterMixin","ChatTabModel","VideoCallingTour","VideoCallTourDialog","copyProperties","setTimeoutAcrossTransitions"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=60000,o=false,p=function(w,x){this._videoCallTour=new k();this._threadID=w;this._tabMainElement=x;this._openDialog=null;this._subscriptionTokens=[];this._scrollListener=null;this._timeout=null;};function q(w,event,x){if(w._openDialog)w._openDialog.updatePosition();}function r(w){if(w._openDialog)w._openDialog.updatePosition();}function s(w){if(w._openDialog){w._openDialog.hide();w._openDialog=null;}if(w._timeout){clearTimeout(w._timeout);w._timeout=null;}while(w._subscriptionTokens.length)w._subscriptionTokens.pop().unsubscribe();if(w._scrollListener){w._scrollListener.remove();w._scrollListener=null;}}function t(w,event,x){if(x.thread_id===w._threadID){w._openDialog=x.dialog;v(w);w._timeout=m(w.destroy.bind(w,w._threadID),n);w._scrollListener=g.listen(window,'scroll',r.bind(null,w));}}function u(w,x){if(!w._openDialog){w._subscriptionTokens.push(x.subscribe('chat/dialog-rendered',t.bind(null,w)));x.render(w._tabMainElement,w._threadID);}}function v(w){w._subscriptionTokens.push(i.subscribe('chat/tabs-changed',q.bind(null,w)),p.subscribe('dialog/close-all',s.bind(null,w)));}l(p,h);l(p.prototype,{destroy:function(){s(this);},tabFocused:function(){if(o){u(this,this._videoCallTour);return;}},tabNotActive:function(){s(this);},hideVideoCallouts:function(){s(this);}});j.subscribe('videocallingtour/start',function(){o=true;p.inform('dialog/close-all');});j.subscribe('videocallingtour/end',function(){o=false;});e.exports=p;},null); -__d("ChatEmployeeAwayWarning",["MercuryIDs","MercuryParticipants","MercuryViewer"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j={updateEmployeeAwayWarning:function(k,l,m){h.get(i.getID(),function(n){var o=n.employee;if(o)h.getMulti(k.participants,function(p){var q=false,r=g.getUserIDFromThreadID(k.thread_id);if(!r)return;var s='fbid:'+r;for(var t in p)if(s==p[t].id&&p[t].is_employee_away)q=true;if(q){l();}else m();});});}};e.exports=j;},null); -__d("getImageSize",["DataViewPolyfill"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h=a.DataView||g;function i(m){return {width:m.getUint16(6,true),height:m.getUint16(8,true)};}function j(m){return {width:m.getUint32(16,false),height:m.getUint32(20,false)};}function k(m){var n=m.byteLength,o=2;while(o0)this.$ChatAutoSendPhotoUploader6.setFiles(ha);};ea.prototype.$ChatAutoSendPhotoUploader9=function(event,fa){var ga=this.$ChatAutoSendPhotoUploaderj(fa);if(this.$ChatAutoSendPhotoUploader3[ga]){var ha=this.$ChatAutoSendPhotoUploader3[ga];delete this.$ChatAutoSendPhotoUploader3[ga];var ia=fa.response.getPayload();if(!this.$ChatAutoSendPhotoUploader4[ha])this.$ChatAutoSendPhotoUploader4[ha]=[];this.$ChatAutoSendPhotoUploader4[ha].push({id:ga,image_id:ia.metadata[0].image_id,file_id:ia.metadata[0].file_id,gif_id:ia.metadata[0].gif_id});this.inform('success',{upload_id:ga});if(!this.$ChatAutoSendPhotoUploaderk(ha))this.$ChatAutoSendPhotoUploaderl(ha);this.$ChatAutoSendPhotoUploader7.clear();}};ea.prototype.$ChatAutoSendPhotoUploaderl=function(fa){x(!this.$ChatAutoSendPhotoUploaderk(fa));this.$ChatAutoSendPhotoUploader4[fa].sort(function(ga,ha){return ga.id0;if(!ha){var ia;if(!ga){ia=v.filter(function(ja){return ja.isMRU||ja.isSearch;}).length;}else ia=v.filter(function(ja){return ja.id!==j.EMOTICON_PACK_ID;}).length;v.splice(ia,0,u[fa.id]);}w=w.map(function(ja){return u[ja.id];});this.emit(this.PACKS_CHANGED,fa.id);},_addRecentlyUsedSticker:function(fa){for(var ga=0;ga0){var ea=this._calculatePageForPack(this.props.selectedPackID);if(this.state.page!==ea)this._setPage(ea,0);}},_calculatePageForPack:function(ea){for(var fa=0;fa0;},_canGoNext:function(){return this.state.page+1h){m=j/i;k=h*m;l=i*m;}else{m=j/h;k=h*m;l=i*m;}return {height:Math.round(k),width:Math.round(l)};},capitalizeWords:function(h){var i=h.split(" ");for(var j=0;j1){return this.renderStickers();}else return m.StickerSearchInRecent?this.renderRecentStickers():this.renderTags();},render:function(){return (k.createElement("div",{className:(("_217a")+(this.state.isScrolling?' '+"_1hg1":''))},k.createElement("div",{className:"_5jdr"},k.createElement("span",{className:"_5jds"}),k.createElement(w,{onEnter:this._onEnter,onChange:this._inputChanged,ref:"inputField",placeholder:z._("Search Stickers"),value:this.state.input}),k.createElement(v,{size:"small",onClick:this._handleResetButtonClick,className:((this.state.input.length===0?"hidden_elem":''))})),this.renderContentArea()));},selectTag:function(ia){g.log('StickersLoggerConfig',{event:'select_tag',tagid:ia.id});this.setState({tagChosen:true,input:s.capitalizeWords(ia.name)});this.focusInput();},selectTrigger:function(ia){if(ia!==null){var ja=q.getTagByName(ia);this.setState({tagChosen:true,input:s.capitalizeWords(ja.name)});this.props.resetTrigger();}},_onScroll:function(ia){this.setState({isScrolling:!!ia});},renderStickers:function(){var ia=this._normalizeInput(this.state.input);return (k.createElement(o,{ref:"selector",height:ea-ga,userInput:ia,onScroll:this._onScroll,stickerInterface:this.props.stickerInterface,tagChosen:this.state.tagChosen,onQueryResultsFound:this._setMatchedStickers}));},renderRecentStickers:function(){if(this._normalizeInput(this.state.input).length===1)return k.createElement("div",null);return (k.createElement(o,{ref:"selector",height:ea-ga,packID:n.MRU_STICKER_PACK,onScroll:this._onScroll,stickerInterface:this.props.stickerInterface}));},renderTags:function(){var ia=r.getFeaturedTags().filter(function(ja){return ja.sourceURI!==null;}).sort(function(ja,ka){return ja.order-ka.order;}).map(function(ja,ka){return k.createElement(ba,{key:ka},k.createElement("div",{className:(("_t5c")+(ka<2?' '+"_1b27":'')+(ka%2===0?' '+"_t5d":'')+(ka%2!==0?' '+"_t5e":''))},k.createElement(u,{image:k.createElement(l,{src:ja.sourceURI}),label:ja.name,onClick:this.selectTag.bind(this,ja),className:"_5jdu",style:{background:'#'+ja.color_code},disabled:this._normalizeInput(this.state.input).length===1})));}.bind(this));return (k.createElement(i,{height:ea-ga,width:fa-16,shadow:true,fade:true,className:"_5jei"},k.createElement(h,{spacing:"pas",cols:2,fixed:true,ref:"grid"},ia)));}});e.exports=ha;},null); -__d("StickersFlyout.react",["BanzaiLogger","Event","Keys","MessagesEmoticons.react","Parent","ReactComponentWithPureRenderMixin","React","StickersFlyoutPackSelector.react","StickersFlyoutStickerSelector.react","StickerActions","StickerConstants","StickerConfig","StickersFlyoutTagSelector.react","StickerInterfaces","StickerState","SubscriptionsHandler","Toggler","XUISpinner.react","arrayContains","cx","getObjectValues"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa){b.__markCompiled&&b.__markCompiled();'use strict';var ba=m,ca=ba.PropTypes,da=q.SEARCH_PACK_ID,ea=m.createClass({displayName:"StickersFlyout",mixins:[l],propTypes:{stickerInterface:ca.oneOf(aa(t)),onStickerSelect:ca.func.isRequired,onEmoticonSelect:ca.func,onShown:ca.func,onHidden:ca.func,onEscKeyDown:ca.func,onPackSelect:ca.func,packID:ca.string,shown:ca.bool,trigger:ca.string},getDefaultProps:function(){return {stickerInterface:t.MESSAGES,packID:u.getTrayPackID(),shown:false,trigger:null};},getInitialState:function(){return {dataReady:false,numNewPacks:0};},componentDidMount:function(){if(r.LoadStickerEarly&&!this.state.dataReady)this.loadTrayData();this._toggle=k.byClass(m.findDOMNode(this),'uiToggle');this._subscriptions=new v();if(this._toggle){this._subscriptions.addSubscriptions(w.listen('show',this._toggle,this._onShownWrapper),w.listen('hide',this._toggle,this._onHidden));}else if(!r.LoadStickerEarly&&this.props.shown&&!this.state.dataReady)this.loadTrayData();this._subscriptions.addSubscriptions(h.listen(m.findDOMNode(this),'keydown',this._onKeyDown),u.addListener(u.PACKS_CHANGED,this.packsUpdated),u.addListener(u.NUM_NEW_PACKS_CHANGED,function(fa){this.setState({numNewPacks:fa});}.bind(this)));},_onShownWrapper:function(){if(this.props.onShown){this.props.onShown(this._onShown);}else this._onShown();},_onShown:function(){g.log('StickersLoggerConfig',{event:'open_tray'});if(!r.LoadStickerEarly&&!this.state.dataReady)this.loadTrayData();if(this.props.packID===da)this.refs.tagSelector&&this.refs.tagSelector.focusInput();this.refs.packSelector.onFlyoutShown();},_onHidden:function(){this.resetTagSelector();this.props.onHidden&&this.props.onHidden();},componentWillUnmount:function(){this._subscriptions.release();},componentWillReceiveProps:function(fa){if(!this.state.dataReady&&fa.shown)this.loadTrayData();},componentDidUpdate:function(fa){if(!fa.shown&&this.props.shown){this._onShown();}else if(fa.shown&&!this.props.shown)this._onHidden();},_onKeyDown:function(event){if(event.keyCode===i.ESC&&this.props.onEscKeyDown){this.props.onEscKeyDown();event.kill();}},resetTagSelector:function(){this.refs.tagSelector&&this.refs.tagSelector.reset();},loadTrayData:function(){u.onTrayDataReady(function(){var fa=u.getNumNewPacks();this.setState({dataReady:true,numNewPacks:fa});var ga=u.getPacksInTray()[0].id,ha=this.props.packID;if(!ha||!y(u.getPackIDsInTray(),ha)){p.selectPack(ga,true);this.props.onPackSelect&&this.props.onPackSelect(ga);}}.bind(this));},loadPack:function(){if(!this.state.dataReady)return (m.createElement("div",{className:"_e0r"},m.createElement(x,{size:"large"})));if(this.props.packID===q.EMOTICON_PACK_ID)return (m.createElement("div",{className:"_5r8l","data-id":this.props.packID},m.createElement(j,{onEmoticonSelect:this.props.onEmoticonSelect})));if(this.props.packID===da&&r.WebStickerSearch)return (m.createElement("div",{className:"_5r8l"},m.createElement(s,{ref:"tagSelector",className:"fbStickersFlyoutTagSelector",trigger:this.props.trigger,resetTrigger:function(){return this.setProps({trigger:null});}.bind(this),stickerInterface:this.props.stickerInterface,onSelectSticker:this.onSelectSticker})));return (m.createElement("div",{className:"_5r8l","data-id":this.props.packID},m.createElement(o,{ref:"selector",packID:this.props.packID,stickerInterface:this.props.stickerInterface})));},packsUpdated:function(){var fa=u.getPackIDsInTray();if(!y(fa,this.props.packID)){p.selectPack(fa[0]);return;}this.forceUpdate(null);},onSelectSticker:function(fa,event){if(fa){u.updateRecentlyUsed(fa);this.props.onStickerSelect(fa,event);if(r.PromotePackFromSearch&&this.props.packID===q.SEARCH_PACK_ID)u.promotePackSentFromSearch(fa);u.clearShowStickerReplyNUX();}},selectedSticker:function(event){var fa=k.byClass(event.target,"_5r8h");if(fa){var ga=fa.getAttribute('data-id');this.onSelectSticker(ga,event);}},render:function(){var fa;if(this.props.stickerInterface==t.COMPOSER){fa=u.getPacksInComposerTray();}else if(this.props.stickerInterface==t.COMMENTS){fa=u.getPacksInCommentsTray();}else if(this.props.stickerInterface==t.MESSAGES)fa=u.getPacksInTray();return (m.createElement("div",{className:"_5r8f"},m.createElement("div",{className:"_5r8e"},m.createElement(n,{ref:"packSelector",numNewPacks:this.state.numNewPacks,onPackClick:this.props.onPackSelect,selectedPackID:this.props.packID,packs:fa,stickerInterface:this.props.stickerInterface,resetTagSelectorFunc:this.resetTagSelector})),m.createElement("div",{className:"_5r8m",onClick:this.selectedSticker},this.loadPack())));}});e.exports=ea;},null); -__d("ChatStickerButton.react",["BanzaiODS","React","ReactLayeredComponentMixin","StickerContextualDialog.react","StickersFlyout.react","StickerState","cx","emptyFunction","fbt","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();'use strict';var q=h,r=q.PropTypes,s=278,t=h.createClass({displayName:"ChatStickerButton",propTypes:{className:r.string,flyoutClassName:r.string,flyoutWidth:r.number,wrapperClass:r.func,onStickerSelect:r.func,onEmoticonSelect:r.func,onFlyoutShown:r.func,onFlyoutHidden:r.func},getInitialState:function(){return {shown:false,packID:l.getTrayPackID()};},mixins:[i],getDefaultProps:function(){return {flyoutWidth:s,onStickerSelect:n,onEmoticonSelect:n};},componentDidMount:function(){g.bumpEntityKey('chat.web','sticker_button.mounted');this._subscription=l.addListener(l.PACK_SELECTED,function(u){return this.setState({packID:u});}.bind(this));},shouldComponentUpdate:function(u,v){return (v.packID!=this.state.packID||v.shown!=this.state.shown);},componentWillUnmount:function(){this._subscription&&this._subscription.remove();},render:function(){return (h.createElement("a",{onClick:this.showFlyout,onMouseDown:this._prepareForClick,title:o._("Choose a sticker or emoticon"),ref:"link"},h.createElement("span",{className:p(this.props.className,((this.state.shown?"open":'')))})));},renderLayers:function(){var u=this.props.wrapperClass||j;return {contextualDialog:h.createElement(u,{alignment:this.props.flyoutAlignment,className:"_5e-r",contextRef:"link",onBlur:this._hideFlyout,position:"above",shown:this.state.shown,width:this.props.flyoutWidth},h.createElement("div",null,h.createElement(k,{className:this.props.flyoutClassName,onShown:function(v){return this.props.onFlyoutShown&&this.props.onFlyoutShown(v);}.bind(this),onHidden:function(){return this.props.onFlyoutHidden&&this.props.onFlyoutHidden();}.bind(this),onEscKeyDown:this._hideFlyout,onStickerSelect:this._handleStickerSelected,onEmoticonSelect:this._handleEmoticonSelected,packID:this.state.packID,shown:this.state.shown})))};},_prepareForClick:function(){this._clickGuard=this.state.shown;},showFlyout:function(){!this._clickGuard&&this.setState({shown:true});},_hideFlyout:function(){this.setState({shown:false});},_handleStickerSelected:function(u){this.props.onStickerSelect(u);},_handleEmoticonSelected:function(u){this._hideFlyout();this.props.onEmoticonSelect(u);}});e.exports=t;},null); -__d("StickersFlyoutTriggerSelector.react",["React","Sticker.react","StickerConstants","StickerUtils","XUIContextualDialog.react","XUICloseButton.react","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();'use strict';var n=g,o=n.PropTypes,p=84,q=g.createClass({displayName:"StickersFlyoutTriggerSelector",getDefaultProps:function(){return {stickers:[]};},propTypes:{context:o.object.isRequired,stickers:o.array,onStickerSelect:o.func.isRequired},shouldComponentUpdate:function(r){if(this.props.stickers.length!==r.stickers.length)return true;for(var s=0;s0,width:p},this._renderStickers()));}});e.exports=q;},null); -__d("StickerTrigger",["EmoticonsList","Map","StickerConfig","StickerSearch","StickerServerRequests"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();'use strict';var l=new h(),m={findTriggerForInput:function(n,o){if(n===null){o([],null);return;}j.prepareTagsData().then(function(){return this.findTagForInput(n,function(p,q){return o(p,q);});}.bind(this));},findTagForInput:function(n,o){var p=this.findTriggeredWord(n);if(p){if(l.has(p)){o(l.get(p),p);}else k.getStickersForQuery(p,function(q){var r=q.getPayload();l.set(p,r);o(r,p);});}else o([],null);},_getRegex:function(){if(i.TriggerConfidence==='emoji_only'){return g.noncapturingRegexp;}else if(i.TriggerConfidence==='high')return (/^(?:\w+\s?){1,4}$/);return null;},findTriggeredWord:function(n){var o=j.getTagsIndex();if(!o)return null;n=n.toLowerCase();var p=n.match(this._getRegex()),q=null;for(var r=0;p!==null&&r0,n=l.stickers.length>0;return m!==n;},render:function(){var l=this.props.stickers&&this.props.stickers.length>0;return g.createElement("span",{className:((l?"emoticonIndicator":''))});}});e.exports=k;},null); -__d("ChatStickerTriggerController",["BanzaiLogger","React","StickerConfig","StickersFlyoutTriggerSelector.react","StickerTrigger","StickerTriggerIndicator.react"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();'use strict';function m(n,o,p,q,r){this.$ChatStickerTriggerController0=null;this.$ChatStickerTriggerController1=null;this.$ChatStickerTriggerController2=null;this.$ChatStickerTriggerController3=r;this.$ChatStickerTriggerController4=q;this.$ChatStickerTriggerController5=null;if(i.TriggerInterface==='one_tap'){this.$ChatStickerTriggerController1=h.render(h.createElement(j,{context:p,onStickerSelect:this.$ChatStickerTriggerController6.bind(this),onDismissTrigger:this.$ChatStickerTriggerController7.bind(this)}),n);this.$ChatStickerTriggerController2=n;}else if(i.TriggerInterface==='hyperlink'){this.$ChatStickerTriggerController1=h.render(h.createElement(l,null),o);this.$ChatStickerTriggerController2=o;}}m.prototype.setInput=function(n){this.$ChatStickerTriggerController8=n;};m.prototype.activateAfterparty=function(){this.$ChatStickerTriggerController9=true;clearTimeout(this.$ChatStickerTriggerControllera);this.$ChatStickerTriggerControllera=setTimeout(this.$ChatStickerTriggerControllerb.bind(this),5000);};m.prototype.updateInput=function(n){if(this.$ChatStickerTriggerController9)this.$ChatStickerTriggerControllerb();this.$ChatStickerTriggerControllerc(n);};m.prototype.onFlyoutShown=function(n){if(this.$ChatStickerTriggerController0&&!this.$ChatStickerTriggerControllerd){this.$ChatStickerTriggerControllerd=true;this.$ChatStickerTriggerController3(this.$ChatStickerTriggerController0,n);this.$ChatStickerTriggerController1.isMounted()&&this.$ChatStickerTriggerController1.setProps({stickers:[]});}else n();};m.prototype.getTriggeredWord=function(){return this.$ChatStickerTriggerController0;};m.prototype.$ChatStickerTriggerController6=function(n){this.$ChatStickerTriggerController4(n);this.$ChatStickerTriggerController7();};m.prototype.$ChatStickerTriggerController7=function(){this.$ChatStickerTriggerControllerd=true;this.$ChatStickerTriggerController1.isMounted()&&this.$ChatStickerTriggerController1.setProps({stickers:[]});};m.prototype.$ChatStickerTriggerControllere=function(n,o){if(this.$ChatStickerTriggerController5===null||this.$ChatStickerTriggerController5&&this.$ChatStickerTriggerController5.toLowerCase().indexOf(o)===-1){this.$ChatStickerTriggerController8.isMounted()&&this.$ChatStickerTriggerController8.setProps({triggeredWord:null});this.$ChatStickerTriggerController1.isMounted()&&this.$ChatStickerTriggerController1.setProps({stickers:[]});return;}if(o)g.log('StickersLoggerConfig',{event:'sticker_trigger_activated',numsearchresults:n.length,triggeredword:o,triggerused:false});this.$ChatStickerTriggerController0=o;this.$ChatStickerTriggerController8.isMounted()&&this.$ChatStickerTriggerController8.setProps({triggeredWord:o});if(!this.$ChatStickerTriggerControllerd)this.$ChatStickerTriggerController1.isMounted()&&this.$ChatStickerTriggerController1.setProps({stickers:n});};m.prototype.$ChatStickerTriggerControllerb=function(){clearTimeout(this.$ChatStickerTriggerControllera);this.$ChatStickerTriggerController9=false;this.$ChatStickerTriggerControllerd=false;this.$ChatStickerTriggerController0=null;this.$ChatStickerTriggerControllerc(null);};m.prototype.$ChatStickerTriggerControllerc=function(n){if(this.$ChatStickerTriggerController5!==n){this.$ChatStickerTriggerController5=n;k.findTriggerForInput(this.$ChatStickerTriggerController5,this.$ChatStickerTriggerControllere.bind(this));}};m.prototype.destroy=function(){h.unmountComponentAtNode(this.$ChatStickerTriggerController2);clearTimeout(this.$ChatStickerTriggerControllera);};e.exports=m;},null); -__d("ChatFileUploaderMixin",["SubscriptionsHandler","React"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=h,j=i.PropTypes,k={propTypes:{attachmentsShelf:j.object,onFileUploaderMounted:j.func,onUploadFinished:j.func,onUpdateAttachmentsShelf:j.func,onSubmit:j.func},setUpSubscriptionsHandler:function(l){this._uploader=l;this._subscriptions=new g();this._subscriptions.addSubscriptions(this._uploader.subscribe(['all-uploads-completed','upload-canceled'],this._handleUploadFinished),this._uploader.subscribe('dom-updated',this._handleUpdateAttachmentsShelf),this._uploader.subscribe('submit',this._handleSubmit));this.props.onFileUploaderMounted(this._uploader);},componentWillUnmount:function(){this._subscriptions&&this._subscriptions.release();if(!this.props.uploaderIsFromHigherLevel)this._uploader&&this._uploader.destroy();},isUploading:function(){return this._uploader.isUploading();},getAttachments:function(){return this._uploader.getAttachments();},getImageFiles:function(){return this._uploader.getImageFiles();},getVideoFiles:function(){return this._uploader.getVideoFiles();},getAudioFiles:function(){return this._uploader.getAudioFiles();},getFiles:function(){return this._uploader.getFiles();},removeAttachments:function(){return this._uploader.removeAttachments();},_handleUploadFinished:function(){if(this.props.onUploadFinished)this.props.onUploadFinished();},_handleUpdateAttachmentsShelf:function(){if(this.props.onUpdateAttachmentsShelf)this.props.onUpdateAttachmentsShelf();},_handleSubmit:function(){if(this.props.onSubmit)this.props.onSubmit();}};e.exports=k;},null); -__d("ChatFileUploader.react",["ChatFileUploaderMixin","InlineBlock.react","MercuryConfig","React","cx","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();'use strict';var m=j.createClass({displayName:"ChatFileUploader",mixins:[g],getDefaultProps:function(){return {uploaderIsFromHigherLevel:true};},shouldComponentUpdate:function(){return false;},componentDidMount:function(){var n=this.props.initFileUploaderFn(j.findDOMNode(this.refs.form),j.findDOMNode(this.refs.input),j.findDOMNode(this.refs.attachID));this.setUpSubscriptionsHandler(n);},render:function(){return (j.createElement("form",{ref:"form",action:i.upload_url,method:"post"},j.createElement("input",{type:"hidden",ref:"attachID",name:"attach_id"}),j.createElement(h,{className:"_m _4q60 itemLabel"},j.createElement("input",{type:"file",className:"_n",name:"attachment[]",multiple:"true",ref:"input"}),j.createElement("span",{className:"_4q61 itemAnchor"},l._("Add Files...")))));}});e.exports=m;},null); -__d("MercuryThreadMuter",["AsyncDialog","AsyncRequest","DOM","MercuryThreadInfo"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k={showMuteChangeDialog:function(l,m){g.send(new h('/ajax/mercury/mute_thread_dialog.php').setRelativeTo(m),function(n){n.subscribe('confirm',function(){this.hide();var o;i.scry(this.getRoot(),'input[type="radio"]').forEach(function(p){if(p.checked)o=p.value;});o=k.convertRawMuteSetting(o);d(['MercuryThreadActions'],function(p){p.get().updateMuteSetting(l,o);});}.bind(n));});},convertRawMuteSetting:function(l){switch(l){case 'always':return -1;case '30minutes':return 1800;case '1hour':return 3600;case '8hours':return 8*3600;case '24hours':return 24*3600;case '8am':var m,n=new Date(),o=new Date();o.setHours(8);o.setMinutes(0);o.setSeconds(0);if(o>n){m=o-n;}else m=o-n+(24*3600*1000);return m/1000;default:return 0;}}};e.exports=k;},null); -__d("ChatTabMenu.react",["ChatFileUploader.react","ChatPrivacyActionController","MercuryConfig","MercuryIDs","MercuryFileUploader","MercuryThreadMuter","ReactComponentWithPureRenderMixin","React","PopoverMenu.react","ReactMenu","MenuSeparator.react","Toggler","TrackingNodes","WebMessengerThreadPermalinks","cx","fbt","goURI","MercuryThreadActions"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w){b.__markCompiled&&b.__markCompiled();'use strict';var x=b('MercuryThreadActions').get(),y=p.Item,z=n,aa=z.PropTypes,ba=n.createClass({displayName:"ChatTabMenu",mixins:[m],propTypes:{onFileUploaderMounted:aa.func,updatePrivacyLinkFunc:aa.func,nameConversationFunc:aa.func,leaveConversationFunc:aa.func,showParticipantsFunc:aa.func,clearHistoryFunc:aa.func,reportSpamFunc:aa.func,createGroupFunc:aa.func,switchToWorkFunc:aa.func,isMultichat:aa.bool,isEmptyChat:aa.bool,hasSwitchToWork:aa.bool,showAddFriend:aa.func,threadID:aa.string,attachmentsShelf:aa.object,onUploadFinished:aa.func,onUpdateAttachmentsShelf:aa.func,onSubmit:aa.func,enableDesktopNotif:aa.func},getInitialState:function(){return {url:null};},getDefaultProps:function(){return {show:true};},componentDidMount:function(){t.getThreadURI(this.props.threadID,function(ca){this.isMounted()&&this.setState({url:ca});}.bind(this));if(!this.props.isMultiChat)this._privacyActionController=new h(j.getUserIDFromThreadID(this.props.threadID),this.props.updatePrivacyLinkFunc);},_initFileUploader:function(ca,da,ea){if(this._fileUploader){this._fileUploader.updateElements(ca,da,ea);}else this._fileUploader=new k(this.props.attachmentsShelf,ca,da,ea);return this._fileUploader;},componentWillUnmount:function(){this._privacyActionController&&this._privacyActionController.destroy();this._fileUploader&&this._fileUploader.destroy();},_unmuteThread:function(){x.unmute(this.props.threadID);r.hide();},_togglePrivacyFunc:function(){this._privacyActionController.togglePrivacy();},getURL:function(){return this.state.url;},_renderFileUploader:function(){return (n.createElement(y,{className:"_37_x"},n.createElement(g,{onFileUploaderMounted:this.props.onFileUploaderMounted,attachmentsShelf:this.props.attachmentsShelf,initFileUploaderFn:this._initFileUploader,onUploadFinished:this.props.onUploadFinished,onUpdateAttachmentsShelf:this.props.onUpdateAttachmentsShelf,onSubmit:this.props.onSubmit})));},_renderOpenFullConversation:function(){if(this.state.url)return (n.createElement(y,{onclick:function(){return w(this.state.url);}.bind(this)},v._("See Full Conversation")));return null;},_renderAddFriend:function(){if(!this.props.showAddFriend)return null;return (n.createElement(y,{onclick:this.props.showAddFriend},v._("Add Friends to chat...")));},_renderTogglePrivacy:function(){if(!this.props.isMultichat)return (n.createElement(y,{onclick:this._togglePrivacyFunc},this.props.privacyText));return null;},_renderMuteConversation:function(){if(!this.props.isMuted){var ca=l.showMuteChangeDialog.bind(null,this.props.threadID,null);return (n.createElement(y,{onclick:ca},v._("Mute Conversation...")));}else return (n.createElement(y,{onclick:this._unmuteThread},v._("Unmute Conversation")));},_renderClearConversation:function(){if(!this.props.isMultichat)return (n.createElement(y,{onclick:this.props.clearHistoryFunc},v._("Clear window")));return null;},_renderReportSpam:function(){if(!this.props.isMultichat)return (n.createElement(y,{onclick:this.props.reportSpamFunc},v._("Report as Spam or Abuse...")));return null;},_renderCreateGroup:function(){if(this.props.isMultichat)return (n.createElement(y,{onclick:this.props.createGroupFunc},v._("Create Group")));return null;},_renderSwitchToWork:function(){if(this.props.hasSwitchToWork)return (n.createElement(y,{onclick:this.props.switchToWorkFunc},v._("Move to Work Account")));},_renderConversationName:function(){if(this.props.isMultichat&&this.state.url)return (n.createElement(y,{onclick:this.props.nameConversationFunc},v._("Edit Conversation Name")));return null;},_renderLeaveConversation:function(){if(this.props.isMultichat)return (n.createElement(y,{onclick:this.props.leaveConversationFunc},v._("Leave conversation...")));return null;},_renderEnableDesktopNotifications:function(){if(i.DesktopNotificationsGK&&"Notification" in window&&Notification.permission!=="granted")return (n.createElement(y,{onclick:this.props.enableDesktopNotif},v._("Enable Desktop Notifications")));return null;},_renderPeopleList:function(){if(this.props.isMultichat&&this.state.url)return (n.createElement(y,{onclick:this.props.showParticipantsFunc},v._("Edit Participants...")));return null;},render:function(){var ca=this._renderReportSpam(),da=this._renderCreateGroup(),ea=n.createElement(p,{className:(("chatReact")+(!this.props.show?' '+"hidden_elem":''))},this._renderOpenFullConversation(),this._renderFileUploader(),this._renderAddFriend(),this._renderTogglePrivacy(),this._renderConversationName(),this._renderPeopleList(),n.createElement(q,null),this._renderSwitchToWork(),this._renderMuteConversation(),this._renderClearConversation(),this._renderLeaveConversation(),ca?(n.createElement(q,null)):null,ca,da?(n.createElement(q,null)):null,da,this._renderEnableDesktopNotifications()),fa=v._("Options"),ga=s.getTrackingInfo(s.types.DROPDOWN_BUTTON);return (n.createElement(o,{menu:ea},n.createElement("a",{"data-ft":ga,"data-hover":"tooltip","aria-label":fa,"data-tooltip-alignh":"center",className:(("button")+(this.props.isEmptyChat?' '+"hidden_elem":''))})));}});e.exports=ba;},null); -__d("ChatDateBreak.react",["React","Timestamp.react","cx","formatDate","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=g,m=l.PropTypes,n=g.createClass({displayName:"ChatDateBreak",propTypes:{date:m.instanceOf(Date).isRequired},shouldComponentUpdate:function(o){return this.props.date.getTime()!==o.date.getTime();},render:function(){var o=this.props.date,p=j(o,{today:'g:ia',withinWeek:'l g:ia',thisYear:'F jS, g:ia',older:'F j, Y g:i a'}),q=Math.round(o.getTime()/1000);return (g.createElement("div",g.__spread({},this.props,{className:k(this.props.className,"_5w-5")}),g.createElement("div",{className:"_5w-6"},g.createElement(h,{time:q,verbose:p,text:p}))));}});e.exports=n;},null); -__d("ChatAuthorPhotoBlock.react",["MercuryParticipants","React","cx","formatDate","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l=h,m=l.PropTypes,n=86400000,o=h.createClass({displayName:"ChatAuthorPhotoBlock",propTypes:{authorID:m.string.isRequired,hideName:m.bool,hidePhoto:m.bool,timestamp:m.number},getInitialState:function(){return {author:{id:null,name:'',href:'#',image_src:''}};},componentDidMount:function(){this.updateAuthor(this.props.authorID);},componentWillReceiveProps:function(p){if(p.authorID!=this.state.author.id)this.updateAuthor(p.authorID);},render:function(){return (h.createElement("div",h.__spread({},this.props,{className:k(this.props.className,"_5yt9")}),this.renderAuthorName(),this.renderAuthorPhoto(),this.props.children));},renderAuthorName:function(){if(!this.props.hideName)return (h.createElement("div",{className:"_5ys-",ref:"name"},this.state.author.name));},renderAuthorPhoto:function(){if(!this.props.hidePhoto){var p=null;if(this.props.timestamp){var q=(Date.now()-this.props.timestamp>n)?'M jS, g:ia':'g:ia';p=j(new Date(this.props.timestamp),q);}return (h.createElement("a",{"aria-label":p,className:"_5ys_","data-hover":"tooltip","data-tooltip-position":"left",href:this.state.author.href,ref:"link"},h.createElement("img",{src:this.state.author.image_src,ref:"image"})));}},updateAuthor:function(p){g.get(p,function(q){this.isMounted()&&this.setState({author:q});}.bind(this));}});e.exports=o;},null); -__d("MessageBubbleMixin",["DOMDimensions","MercuryConfig","React"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();'use strict';var j=2,k={getInitialState:function(){return {bubbleWidth:null};},componentDidMount:function(){this._restyleBubble(this.props);},componentDidUpdate:function(l){if(l.maxWidth!==this.props.maxWidth||l.body!==this.props.body)this._restyleBubble(l);},_restyleBubble:function(l){if(this.props.attachments)return;var m=i.findDOMNode(this.refs.bubble);if(l.maxWidth!==this.props.maxWidth||g.getElementDimensions(m).width>this.props.maxWidth){var n=this.props.maxWidth;this.setState({bubbleWidth:n},this._shrinkBubble);return;}this._shrinkBubble();},_shrinkBubble:function(){var l=i.findDOMNode(this.refs.bubble),m=g.getElementDimensions(l).width,n=0,o=i.findDOMNode(this.refs.content);if(o){n=g.getElementDimensions(o).width;if(h.MercuryStoryAttachmentsGK||h.WWWMessengerComerceGK)n+=g.measureElementBox(i.findDOMNode(this.refs.contentWrapper),'width',true,false,false);}var p=n+j;if(n>0&&p0)this.setState({bubbleWidth:p});}};e.exports=k;},null); -__d("ChatBubble.react",["DOMDimensions","MercuryConfig","MercuryMessageBody.react","MessageBubbleMixin","React","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();'use strict';var n=k,o=n.PropTypes,p=null,q=h.MercuryStoryAttachmentsGK||h.WWWMessengerComerceGK,r=k.createClass({displayName:"ChatBubble",mixins:[j],propTypes:{attachments:o.node,body:o.string,maxWidth:o.number.isRequired},_renderContent:function(){if(!this.props.body)return null;return (k.createElement("div",{className:((q?"_d97":'')),ref:"contentWrapper"},k.createElement("span",{className:"_5yl5",ref:"content"},k.createElement(i,{body:this.props.body,ranges:this.props.ranges}))));},render:function(){return (k.createElement("div",k.__spread({},this.props,{className:m((("_5w1r")+(!q?' '+"_d98":'')),this.props.className),ref:"bubble",style:{maxWidth:this.props.maxWidth,width:this.state.bubbleWidth}}),this._renderContent(),this.props.attachments));},contentWraps:function(){var s=k.findDOMNode(this.refs.content),t=s.getClientRects(),u=g.getElementDimensions(s).height;return (t&&t.length>1&&t[0].height=176){cb='/images/photos/dots_large.png';}else if(ya>=86){cb='/images/photos/dots_medium.png';}else cb='/images/photos/dots_small.png';ja.set(bb,'width',ya+'px');ja.set(bb,'max-width',ya+'px');if(wa.preview_width&&wa.preview_height)ja.set(bb,'padding-bottom',((wa.preview_height/wa.preview_width)*100)+'%');}else if(wa.preview_loading){m.addClass(bb,"_5xdv");if(za==='contain'&&wa.preview_width&&wa.preview_height){ja.set(bb,'width',wa.preview_width+'px');ja.set(bb,'height',wa.preview_height+'px');}if(za==='cover'&&!sa)m.addClass(bb,"_55pj");}else if(wa.metadata&&wa.metadata.fbid){cb=ka('/ajax/mercury/attachments/photo.php').addQueryData({fbid:wa.metadata.fbid,request_user_id:wa.metadata.pageid,mode:za,width:ya,height:ya}).toString();var jb=bb.getAttribute('ajaxify');bb.removeAttribute('ajaxify');bb.removeAttribute('rel');p.listen(bb,'click',function(event){event.prevent();i.loadModules(["MessagesViewer"],function(mb){mb.bootstrapWithConfig({src:cb,endpoint:jb,fbid:wa.metadata.fbid,dimensions:wa.metadata.dimensions,disablePaging:xa&&xa.attachments.length==1},bb);});});}else cb=ka(wa.preview_url).toString();var kb=ab.getNode('preview-image');if(cb){if(za==='contain'&&wa.preview_width&&wa.preview_height){var lb=va.resizeContain({width:ya,height:ya},{width:wa.preview_width,height:wa.preview_height});kb.setAttribute('width',lb.width);kb.setAttribute('height',lb.height);}if(wa.preview_uploading||(za==='cover'&&!sa)){m.addClass(bb,"_55pj");ja.set(bb,'backgroundImage','url('+cb+')');}else{kb.onload=function(){kb.removeAttribute('width');kb.removeAttribute('height');};kb.setAttribute('src',cb);}}if(xa)this.renderReportRespondLink(ab.getRoot(),wa,xa.message_id);}return ab.getRoot();},renderShareLink:function(wa,xa,ya){var za=g[':fb:mercury:attachment:share-link'].build().setNodeContent('name',wa.name),ab=za.getNode('link');ab.setAttribute('href',wa.url);wa.rel&&ab.setAttribute('rel',wa.rel);return za.getRoot();},renderVideoThumb:function(wa){var xa=g[':fb:mercury:attachment:video-thumb'].build(),ya=xa.getNode('thumb');ya.setAttribute('href',wa.url);ya.setAttribute('rel',wa.rel);var za=o.find(xa.getRoot(),'img');za.src=wa.preview_url;return xa.getRoot();},renderShareXHP:function(wa,xa){var ya=o.create('div');if(wa){o.appendContent(ya,wa.share_xhp);this.renderReportRespondLink(ya,wa,xa);}return ya;},renderSticker:function(wa,xa,ya,za){var ab=ya?'chatScrolled/':'messengerScrolled/';ab+=xa.thread_id;var bb=o.create('div');m.addClass(bb,'stickerContainer');if(!wa.metadata){var cb=ha.getSticker(xa.sticker_id),db=Object.assign({},cb),eb=ia.getScaledDimensions(cb.height,cb.width,ga.THREAD_SIZE),fb=eb.height,gb=eb.width;db.height=fb;db.width=gb;db.stickerID=xa.sticker_id;db.spriteURI='';db.spriteURI2x='';db.paddedSpriteURI='';db.paddedSpriteURI2x='';wa.metadata=db;}var hb=null;if(wa.metadata.stickerID)hb=wa.metadata.stickerID.toString();var ib=null;if(wa.metadata.packID)ib=wa.metadata.packID.toString();var jb=qa.getURIBuilder().setInt('sticker_id',hb),kb=null,lb=null;if(window.devicePixelRatio&&window.devicePixelRatio>1){lb=wa.metadata.paddedSpriteURI2x;kb=wa.metadata.spriteURI2x;}else{lb=wa.metadata.paddedSpriteURI;kb=wa.metadata.spriteURI;}var mb=da.createElement(ea,{animationTrigger:"hover",className:"mvs",frameCount:wa.metadata.frameCount||1,frameRate:wa.metadata.frameRate||83,framesPerCol:wa.metadata.framesPerCol||1,framesPerRow:wa.metadata.framesPerRow||1,onStickerClick:za,packID:ib,paddedSpriteURI:lb,sourceHeight:wa.metadata.height,sourceURI:jb.setEnum('image_type',fa.IMAGE).getURI().toString(),sourceWidth:wa.metadata.width,spriteURI:kb,stickerID:hb,subscribedThreadID:ab});da.render(mb,bb);return bb;},renderReportRespondLink:function(wa,xa,ya){if(!xa.is_social_report_attachment)return null;switch(xa.share_data_type){case n.MercurySupportedShareType.FB_PHOTO:break;case n.MercurySupportedShareType.FB_SOCIAL_REPORT_PHOTO:return null;default:return null;}var za=null;if(ya)za=ra.getMessagesFromIDs([ya])[0];if(!za)return null;if(za.author===ba.getID())return null;var ab=null;y.get(za.author,function(bb){ab=o.create('a',{rel:'dialog-post',className:"_z6l",id:'respond-link',ajaxify:ka('/ajax/report/social_resolution/post/').setQueryData({attachment_fbid:xa.attach_id,post_fbid:xa.shared_object_id,sender_id:w.getUserIDFromParticipantID(bb.id)}).toString()});o.setContent(ab,na._("Respond to {name}'s request",[na.param("name",bb.name)]));o.appendContent(wa,ab);});},renderPhotoAttachments:function(wa,xa,ya,za,ab){var bb=wa.length;if(!bb)return null;var cb=o.create('div',{className:(("_55pk")+(v.MercuryImageBubblesGK&&!!xa.body?' '+"_9id":''))});if(bb===1){if(v.MercuryImageBubblesGK&&!xa.body&&ab){var db=wa[0],eb=va.resizeContain({width:ya,height:ya},{width:db.preview_width,height:db.preview_height});da.render(da.createElement(r,{image:db,width:eb.width,height:eb.height,message:xa}),cb);}else{var fb=va.renderPreview(wa[0],xa,ya,'contain');o.appendContent(cb,fb);}return cb;}if(v.MercuryImageBubblesGK&&!xa.body&&ab){da.render(da.createElement(s,{images:wa,size:ya,message:xa}),cb);return cb;}var gb=(bb==2||bb==4)?2:3,hb=(ya-(gb-1)*za)/gb,ib=Math.ceil(bb/gb),jb=ib*hb+(ib-1)*za,kb=o.create('div',{className:"_55pm",style:'padding-bottom: '+(jb/ya*100)+'%;'});o.appendContent(cb,kb);for(var lb=0;lb0;return (k.createElement("div",k.__spread({},this.props,{className:o(this.props.className,(("_5h9y")+(u?' '+"_zl6":'')))})));},renderAttachments:function(){var u=k.findDOMNode(this);h.empty(u);var v=this.props.message,w=g.sortAttachmentsStablyByType(this.props.attachments),x=this.props.customPhotoWidth||r,y=g.renderPhotoAttachments(w.filter(g.isPhotoAttachment),v,x,s,this.props.isChat);y&&h.appendContent(u,y);for(var z=0;z0)return w.createElement(p,{className:"_5wdd clearfix",isChat:true,message:ga,attachments:ia,ref:ha,onImageLoad:this.props.onImageLoad,onStickerClick:this.props.onStickerClick,maxWidth:this.props.maxBubbleWidth});},_renderBubble:function(){var fa=this.props.message,ga=fa.body,ha=this._renderAttachments('inside'),ia=v.isInbound(fa);if(i.shouldHideBody(fa))ga='';if(ga||ha)return (w.createElement("div",{className:"_5wde"},w.createElement(k,{attachments:ha,body:ga,className:(("_5wdf")+(o.hasBubbleTail(fa,ia)?' '+"_3okg":'')),maxWidth:this.props.maxBubbleWidth,ranges:fa.ranges,ref:"bubble"})));}});e.exports=ea;},null); -__d("ChatVideoCallLink.react",["Arbiter","ChatVisibility","MercuryViewer","PresencePrivacy","React","SubscriptionsHandler","VideoCallCore","cx","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=k,q=p.PropTypes,r=k.createClass({displayName:"ChatVideoCallLink",propTypes:{message:q.object.isRequired,onClick:q.func.isRequired},componentDidMount:function(){this._subscriptions=new l();this._subscriptions.addSubscriptions(g.subscribe(['buddylist/availability-changed'],this.availabilityChanged),j.subscribe(['privacy-changed','privacy-availability-changed'],this.availabilityChanged));},componentWillUnmount:function(){this._subscriptions.release();},render:function(){return (k.createElement("a",{className:(("callBackLink")+(this.shouldHideLink()?' '+"hidden_elem":'')),"data-gt":JSON.stringify({videochat:'clicked_callback_link'}),href:"#",onClick:this.linkClicked},this.renderLinkText()));},renderLinkText:function(){if(this.props.message.log_message_data.event_name=='install_canceled'){return (o._("Retry setup and call back."));}else if(!this.props.message.log_message_data.event_name&&this.props.message.log_message_data.callee==i.getID()&&!this.props.message.log_message_data.answered)return (o._("Call back."));},shouldHideLink:function(){return !h.isOnline()||!m.availableForCall(this.props.message.log_message_data.to);},linkClicked:function(){var s;if(this.props.message.log_message_data.event_name=='install_canceled'){s='callback_cancelinstall_link';}else if(!this.props.message.log_message_data.event_name&&this.props.message.log_message_data.callee==i.getID()&&!this.props.message.log_message_data.answered)s='callback_link';this.props.onClick(this.props.message.log_message_data.to,this.props.message.thread_id,s);},availabilityChanged:function(){this.forceUpdate();}});e.exports=r;},null); -__d("MercuryCallLogMessage.react",["FBRTCCore","FBRTCLogger","React","SimpleXUIDialog","Tooltip.react","cx","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=i.createClass({displayName:"MercuryCallLogMessage",render:function(){if(this.props.isAnswered){return (this._renderAnsweredCallLogMessage(this.props.peerFBID,this.props.peerName,this.props.isOutgoingCall));}else return (this._renderMissedCallLogMessage(this.props.peerFBID,this.props.peerName,this.props.isOutgoingCall));},_renderAnsweredCallLogMessage:function(o,p,q){var r=m._("call {firstname}",[m.param("firstname",p)]),s;if(q){s=m._("You called {firstname}.",[m.param("firstname",p)]);}else s=m._("{firstname} called you.",[m.param("firstname",p)]);return this._generateCallLink(s,r,o,p);},_renderMissedCallLogMessage:function(o,p,q){var r,s;if(q){r=m._("{firstname} missed a call from you.",[m.param("firstname",p)]);s=m._("call {firstname} again",[m.param("firstname",p)]);}else{r=m._("You missed a call from {firstname}.",[m.param("firstname",p)]);s=m._("call {firstname} back",[m.param("firstname",p)]);}return this._generateCallLink(r,s,o,p);},_generateCallLink:function(o,p,q,r){return (i.createElement("a",{className:"_1xpw",onClick:this._handleClick.bind(this,q,r)},i.createElement(k,{alignH:"center",position:"above",tooltip:p},o)));},_handleClick:function(o,p){if(g.isAvailableForWebrtcCalling(o)){g.startOutgoingCall(o,h.Trigger.ADMIN_MESSAGE);}else j.show(m._("{firstname} can't be called because they are temporarily offline.",[m.param("firstname",p)]),m._("Can't connect Call"));}});e.exports=n;},null); -__d("P2PMercuryLogMessage.react",["Link.react","P2PLinkConstants","P2PPaymentLogMessageSubtype","React","cx","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();'use strict';var m=j,n=m.PropTypes,o=j.createClass({displayName:"P2PMercuryLogMessage",propTypes:{formattedAmount:n.string,receiverParticipant:n.object,senderParticipant:n.object,subtype:n.oneOf(Object.keys(i).map(function(p){return i[p];})),viewerIsSender:n.bool},getDefaultProps:function(){return {formattedAmount:'',senderParticipant:null,receiverParticipant:null,subtype:null,viewerIsSender:false};},render:function(){var p=null,q=this.props.formattedAmount,r=this.props.subtype,s=this.props.viewerIsSender,t=j.createElement(g,{className:"_kiq",href:h.settingsWWWURI,target:"_blank"},l._("See details."));switch(r){case i.CANCELED_EXPIRED:case i.CANCELED_SAME_CARD:case i.CANCELED_SENDER_RISK:case i.CANCELED_RECIPIENT_RISK:case i.CANCELED_CUSTOMER_SERVICE:if(s){p=(l._("Your payment of {amount} was cancelled. {details}",[l.param("amount",q),l.param("details",t)]));}else p=(l._("{firstname}'s payment of {amount} was cancelled. {details}",[l.param("firstname",this.props.senderParticipant.short_name),l.param("amount",q),l.param("details",t)]));break;case i.CANCELED_DECLINED:if(s){p=(l._("{firstname} didn't accept your payment of {amount}. {details}",[l.param("firstname",this.props.receiverParticipant.short_name),l.param("amount",q),l.param("details",t)]));}else p=(l._("You didn't accept {firstname}'s {amount} payment. {details}",[l.param("firstname",this.props.senderParticipant.short_name),l.param("amount",q),l.param("details",t)]));break;}return j.createElement("div",null,p);}});e.exports=o;},null); -__d("MercuryLogMessageRenderer",["MercuryAttachmentRenderer","MercuryCallLogMessage.react","CSS","DOM","HovercardLink","MercuryConfig","MercuryIDs","MercuryViewer","MercuryLogMessageType","P2PMercuryLogMessage.react","MercuryParticipants","React","Image.react","TextWithEntities.react","TooltipLink.react","cx","fbt","ix"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x){b.__markCompiled&&b.__markCompiled();var y={renderText:function(ua,va){switch(ua.log_message_type){case o.SUBSCRIBE:aa(ua,va);break;case o.UNSUBSCRIBE:fa(ua,va);break;case o.VIDEO_CALL:if(l.InteractiveCallLogGK){ka(ua,va);}else ga(ua,va);break;case o.PHONE_CALL:if(l.InteractiveCallLogGK){ka(ua,va);}else ja(ua,va);break;case o.THREAD_NAME:la(ua,va);break;case o.THREAD_IMAGE:ma(ua,va);break;case o.WALLPAPER:na(ua,va);break;case o.SERVER_ERROR:oa(ua,va);break;case o.ORION:pa(ua,va);break;case o.PAGE_REPLY:ia(ua,va);break;}},renderIcon:function(ua){return (r.createElement(s,{className:z(ua),src:x('images/spacer.gif')}));},renderLegacy:function(ua,va,wa,xa){z(xa).split(' ').forEach(function(ya){return ya&&i.addClass(ua,ya);});this.renderText(xa,function(ya){r.render(r.createElement("span",null,ya),va);});this.renderAttachmentLegacy(wa,xa);},renderAttachmentLegacy:function(ua,va){if(va.log_message_type==o.THREAD_IMAGE){var wa=va.log_message_data.image;if(wa){var xa=g.renderPreview(wa.preview_url?wa:null);j.setContent(ua,xa);i.addClass(xa,"_z6a");i.show(ua);}}}};e.exports=y;function z(ua){var va=ua.log_message_type,wa=ua.log_message_data;return (("_5wzu")+(va==o.SUBSCRIBE?' '+"_5wzj":'')+(va==o.UNSUBSCRIBE?' '+"_5wzk":'')+(va==o.THREAD_NAME?' '+"_5wzl":'')+(va==o.THREAD_IMAGE?' '+"_5wzm":'')+(va==o.VIDEO_CALL&&(wa.answered||ta(ua))?' '+"_5wzn":'')+(va==o.VIDEO_CALL&&!(wa.answered||ta(ua))?' '+"_5wzo":'')+(va==o.PHONE_CALL&&wa.answered?' '+"_5wzp":'')+(va==o.PHONE_CALL&&!wa.answered?' '+"_5wzq":'')+(va==o.SERVER_ERROR?' '+"_5wzr":''));}function aa(ua,va){var wa=sa(ua.log_message_data.added_participants);switch(wa.length){case 1:ba(ua,va,wa);break;case 2:ca(ua,va,wa);break;case 3:da(ua,va,wa);break;default:ea(ua,va,wa);break;}}function ba(ua,va,wa){var xa=[ua.author,wa[0]];q.getMulti(xa,function(ya){if(ua.author==n.getID()){va(w._("You added {subscriber1}.",[w.param("subscriber1",ra(ya[wa[0]]))]));}else if(wa[0]==n.getID()){va(w._("{actor} added you.",[w.param("actor",ra(ya[ua.author]))]));}else va(w._("{actor} added {subscriber1}.",[w.param("actor",ra(ya[ua.author])),w.param("subscriber1",ra(ya[wa[0]]))]));});}function ca(ua,va,wa){var xa=[ua.author].concat(wa);q.getMulti(xa,function(ya){if(ua.author==n.getID()){va(w._("You added {subscriber1} and {subscriber2}.",[w.param("subscriber1",ra(ya[wa[0]])),w.param("subscriber2",ra(ya[wa[1]]))]));}else if(wa[0]==n.getID()){va(w._("{actor} added you and {subscriber2}.",[w.param("actor",ra(ya[ua.author])),w.param("subscriber2",ra(ya[wa[1]]))]));}else va(w._("{actor} added {subscriber1} and {subscriber2}.",[w.param("actor",ra(ya[ua.author])),w.param("subscriber1",ra(ya[wa[0]])),w.param("subscriber2",ra(ya[wa[1]]))]));});}function da(ua,va,wa){var xa=[ua.author].concat(wa);q.getMulti(xa,function(ya){if(ua.author==n.getID()){va(w._("You added {subscriber1}, {subscriber2} and {subscriber3}.",[w.param("subscriber1",ra(ya[wa[0]])),w.param("subscriber2",ra(ya[wa[1]])),w.param("subscriber3",ra(ya[wa[2]]))]));}else if(wa[0]==n.getID()){va(w._("{actor} added you, {subscriber2} and {subscriber3}.",[w.param("actor",ra(ya[ua.author])),w.param("subscriber2",ra(ya[wa[1]])),w.param("subscriber3",ra(ya[wa[2]]))]));}else va(w._("{actor} added {subscriber1}, {subscriber2} and {subscriber3}.",[w.param("actor",ra(ya[ua.author])),w.param("subscriber1",ra(ya[wa[0]])),w.param("subscriber2",ra(ya[wa[1]])),w.param("subscriber3",ra(ya[wa[2]]))]));});}function ea(ua,va,wa){var xa=[ua.author].concat(wa);q.getMulti(xa,function(ya){function za(bb){var cb=r.createElement("div",null,bb.map(function(db){return r.createElement("div",null,db.name);}));return (r.createElement(u,{alignH:"center",position:"above",tooltip:cb},w._({"*":"{num} more"},[w.param("num",bb.length,[0])])));}var ab=wa.map(function(bb){return ya[bb];});if(ua.author==n.getID()){va(w._("You added {subscriber1}, {subscriber2} and {more_people}.",[w.param("subscriber1",ra(ab[0])),w.param("subscriber2",ra(ab[1])),w.param("more_people",za(ab.slice(2)))]));}else if(wa[0]==n.getID()){va(w._("{actor} added you, {subscriber2} and {more_people}.",[w.param("actor",ra(ya[ua.author])),w.param("subscriber2",ra(ab[1])),w.param("more_people",za(ab.slice(2)))]));}else va(w._("{actor} added {subscriber1}, {subscriber2} and {more_people}.",[w.param("actor",ra(ya[ua.author])),w.param("subscriber1",ra(ab[0])),w.param("subscriber2",ra(ab[1])),w.param("more_people",za(ab.slice(2)))]));});}function fa(ua,va){var wa=[ua.author],xa=ua.log_message_data.removed_participants,ya;if(xa.length===1){ya=xa[0];wa.push(ya);}q.getMulti(wa,function(za){var ab=za[ua.author],bb=za[ya];if(ua.author==n.getID()){if(!ya||ya==ua.author){va(w._("You left the conversation."));}else va(w._("You removed {name} from the conversation.",[w.param("name",ra(bb))]));}else if(!ya||ya==ua.author){va(w._("{actor} left the conversation.",[w.param("actor",ra(ab))]));}else if(ya==n.getID()){va(w._("{actor} removed you from the conversation.",[w.param("actor",ra(ab))]));}else va(w._("{actor} removed {name} from the conversation.",[w.param("actor",ra(ab)),w.param("name",ra(bb))]));});}function ga(ua,va){if(ta(ua)){ha(ua,va);return;}var wa=ua.log_message_data.caller,xa=ua.log_message_data.callee,ya=[wa,xa];q.getMulti(ya,function(za){var ab=qa(za[xa]);if(wa==n.getID()){if(ua.log_message_data.answered){va(w._("You called {firstname}.",[w.param("firstname",ab)]));}else va(w._("{firstname} missed a call from you.",[w.param("firstname",ab)]));}else{var bb=qa(za[wa]);if(ua.log_message_data.answered){va(w._("{firstname} called you.",[w.param("firstname",bb)]));}else va(w._("You missed a call from {firstname}.",[w.param("firstname",bb)]));}});}function ha(ua,va){q.get(ua.log_message_data.callee,function(wa){var xa=qa(wa);switch(ua.log_message_data.event_name){case 'installing':va(w._("{firstname} is setting up video calling...",[w.param("firstname",xa)]));break;case 'installed':va(w._("{firstname} finished setting up video calling.",[w.param("firstname",xa)]));break;case 'install_canceled':va(w._("You cancelled the video calling installation."));break;}});}function ia(ua,va){va(ua.log_message_body);}function ja(ua,va){var wa=ua.log_message_data.caller,xa=ua.log_message_data.callee,ya=[wa,xa];q.getMulti(ya,function(za){if(wa==n.getID()){var ab=qa(za[xa]);if(ua.log_message_data.answered){va(w._("You called {firstname}.",[w.param("firstname",ab)]));}else va(w._("{firstname} missed a call from you.",[w.param("firstname",ab)]));}else{var bb=qa(za[wa]);if(ua.log_message_data.answered){va(w._("{firstname} called you.",[w.param("firstname",bb)]));}else va(w._("You missed a call from {firstname}.",[w.param("firstname",bb)]));}});}function ka(ua,va){var wa=ua.log_message_data.caller,xa=ua.log_message_data.callee,ya=ua.log_message_data.answered,za=wa===n.getID(),ab=za?xa:wa;q.get(ab,function(bb){var cb=m.getUserIDFromParticipantID(bb.id),db=bb.short_name?bb.short_name:bb.name;va(r.createElement(h,{peerFBID:cb,peerName:db,isAnswered:ya,isOutgoingCall:za}));});}function la(ua,va){var wa=ua.log_message_data.name;if(ua.author==n.getID()){if(wa){va(w._("You named the conversation: {name}.",[w.param("name",r.createElement("span",{className:"_5wzs"},r.createElement(t,{renderEmoticons:true,renderEmoji:true,text:wa})))]));}else va(w._("You removed the conversation name."));}else q.get(ua.author,function(xa){var ya=ra(xa);if(wa){va(w._("{actor} named the conversation: {name}.",[w.param("actor",ya),w.param("name",r.createElement("span",{className:"_5wzs"},wa))]));}else va(w._("{actor} removed the conversation name.",[w.param("actor",ya)]));});}function ma(ua,va){if(ua.author==n.getID()){if(ua.log_message_data.image){va(w._("You changed the conversation picture."));}else va(w._("You removed the conversation picture."));}else q.get(ua.author,function(wa){var xa=ra(wa);if(ua.log_message_data.image){va(w._("{actor} changed the conversation picture.",[w.param("actor",xa)]));}else va(w._("{actor} removed the conversation picture.",[w.param("actor",xa)]));});}function na(ua,va){if(ua.author==n.getID()){va(w._("You changed the wallpaper."));}else q.get(ua.author,function(wa){var xa=ra(wa);va(w._("{actor} changed the wallpaper.",[w.param("actor",xa)]));});}function oa(ua,va){va(w._("Couldn't find previous messages."));}function pa(ua,va){var wa=ua.log_message_data,xa=wa.senderId,ya=wa.receiverId,za=xa===n.getID();q.getMulti([xa,ya],function(ab){va(r.createElement(p,r.__spread({},wa,{receiverParticipant:ab[ya],senderParticipant:ab[xa],viewerIsSender:za})));});}function qa(ua){return ra(ua,true);}function ra(ua,va){var wa=ua.fbid,xa=k.constructEndpoint({id:wa});if(ua.href)return (r.createElement("a",{className:"_5wzt",href:ua.href,"data-hovercard":xa},va?ua.short_name:ua.name));return ua.name;}function sa(ua){var va=ua.indexOf(n.getID());if(va>0){var wa=ua.filter(function(xa){return xa!==n.getID();});return [n.getID()].concat(wa);}return ua;}function ta(ua){return ua.log_message_data.event_name==='installing'||ua.log_message_data.event_name==='installed'||ua.log_message_data.event_name==='install_canceled';}},null); -__d("MercuryLogMessage.react",["DOM","Event","ChatVideoCallLink.react","ImmutableObject","MercuryLogMessageRenderer","MercuryLogMessageType","React","VideoCallSupport","cx","emptyFunction","formatDate","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b.__markCompiled&&b.__markCompiled();'use strict';var s=m,t=s.PropTypes,u=m.createClass({displayName:"MercuryLogMessage",propTypes:{maxWidth:t.number,message:t.instanceOf(j).isRequired,onImageLoad:t.func,onVideoCallLinkClick:t.func},getDefaultProps:function(){return {onImageLoad:p};},getInitialState:function(){return {messageText:null};},componentDidMount:function(){this.componentWillReceiveProps(this.props);},componentWillReceiveProps:function(v){k.renderText(v.message,function(w){this.setState({messageText:w});}.bind(this));},shouldComponentUpdate:function(v,w){return (this.state.messageText!=w.messageText||v.maxWidth!==this.props.maxWidth);},componentDidUpdate:function(){var v=m.findDOMNode(this.refs.attachment);k.renderAttachmentLegacy(v,this.props.message);g.scry(v,'img').forEach(function(w){var x=h.listen(w,'load',function(){this.props.onImageLoad(w);x.remove();}.bind(this));}.bind(this));},render:function(){return (m.createElement("div",m.__spread({},this.props,{className:r(this.props.className,"_5ye6"),style:Object.assign({},this.props.style,this._getStyle()),title:q(new Date(this.props.message.timestamp),'g:ia')}),k.renderIcon(this.props.message),m.createElement("div",{className:"_5ye7"},this.state.messageText,this.renderVideoCallLink()),m.createElement("div",{className:"_5ye8",ref:"attachment"})));},renderVideoCallLink:function(){if(this.props.message.log_message_type!==l.VIDEO_CALL||!this.props.onVideoCallLinkClick||!n.isVideoCallSupported())return null;return (m.createElement(i,{message:this.props.message,onClick:this.props.onVideoCallLinkClick}));},_getStyle:function(){return this.props.maxWidth?{maxWidth:this.props.maxWidth}:null;}});e.exports=u;},null); -__d("ChatConversation.react",["ChatDateBreak.react","ChatMessage.react","ImmutableObject","MercuryActionType","MercuryLogMessage.react","P2PNUXRenderer.react","P2PGKValues","React","cx","invariant"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();'use strict';var q=n,r=q.PropTypes,s=1000*60*60,t=n.createClass({displayName:"ChatConversation",propTypes:{maxBubbleWidth:r.number.isRequired,messages:r.arrayOf(r.instanceOf(i)).isRequired,onCallLinkClick:r.func,onImageLoad:r.func,onStickerClick:r.func},componentWillReceiveProps:function(u){p(u.maxBubbleWidth===this.props.maxBubbleWidth);},render:function(){var u=this.props.messages,v=[];for(var w=0;w0)?u[w-1]:null;if(x.is_cleared)continue;if(!y||y.is_cleared||x.timestamp-y.timestamp>s)v.push(n.createElement(g,{date:new Date(x.timestamp),key:'db:'+x.message_id}));if(x.action_type==j.LOG_MESSAGE){v.push(n.createElement(k,{className:"_5w0o",key:x.message_id,message:x,onImageLoad:this.props.onImageLoad,onCallLinkClick:this.props.onCallLinkClick}));}else{v.push(n.createElement(h,{key:x.message_id,message:x,maxBubbleWidth:this.props.maxBubbleWidth,onImageLoad:this.props.onImageLoad,onStickerClick:this.props.onStickerClick}));if(!m.WebBubbleV2&&l.isValidNUXMessage(x))v.push(n.createElement(l,{key:'onr_c:'+x.message_id,message:x,onImageLoad:this.props.onImageLoad,type:"chat"}));}}return n.createElement("div",null,v);}});e.exports=t;},null); -__d("MercuryTypingReceiver",["Arbiter","ChannelConstants","MercuryActionType","MercuryIDs","MercuryPayloadSource","MercuryViewer","TypingStates","mixInEventEmitter","setTimeoutAcrossTransitions","MercuryServerRequests"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=b('MercuryServerRequests').get(),q,r={},s=30000,t={};n(t,{'state-changed':true});function u(aa){var ba=r[aa]||{},ca=Object.keys(ba);ca.sort(function(da,ea){return ba[da]-ba[ea];});return ca;}function v(){q=null;var aa=Date.now(),ba={},ca=false;for(var da in r){var ea=false;for(var fa in r[da]||{})if(r[da][fa]2&&ea>=da-1,ia;if(ca)ia=this._nameNormalizer(ca.participants);if(!ia)ia=function(ma){return ba[ma].short_name;};if(ha){fa=u._("Seen by everyone");}else if(y.length==1){fa=u._("Seen by {user}",[u.param("user",ba[y[0]].short_name)]);}else if(y.length==2){fa=u._("Seen by {user1}, {user2}",[u.param("user1",ba[y[0]].short_name),u.param("user2",ba[y[1]].short_name)]);}else if(y.length==3){fa=u._("Seen by {user1}, {user2}, {user3}",[u.param("user1",ba[y[0]].short_name),u.param("user2",ba[y[1]].short_name),u.param("user3",ba[y[2]].short_name)]);}else if(y.length>3){var ja=Object.keys(ba).length-2,ka=u._({"*":"{num} more"},[u.param("num",ja,[0])]),la=h.create('span',{className:'more'},ka);fa=u._("Seen by {user1}, {user2}, {=num more link}",[u.param("user1",ba[y[0]].short_name),u.param("user2",ba[y[1]].short_name),u.param("=num more link",la)]);ga=true;}this._informStateChanged({activity:'seen-by',text:fa,seenBy:y,tooltip:ga});}.bind(this));aa&&this._informStateChanged({activity:'none'});},_notifyTyping:function(y){var z=this._lastMsg,aa=true;m.getMulti(y,function(ba){aa=false;if(this._lastMsg!=z)return;var ca=v.getThreadMetaNow(this._threadID),da=ca?ca.participants.length:0,ea;if(ca)ea=this._nameNormalizer(ca.participants);if(!ea)ea=function(ka){return ba[ka].short_name;};var fa,ga=false;if(da>2&&y.length>=da-1){fa=u._("Everyone is typing...");}else if(y.length==1){fa=u._("{name} is typing...",[u.param("name",ba[y[0]].short_name)]);}else if(y.length==2){fa=u._("{user1} and {user2} are typing...",[u.param("user1",ba[y[0]].short_name),u.param("user2",ba[y[1]].short_name)]);}else if(y.length==3){fa=u._("{user1}, {user2} and {user3} are typing...",[u.param("user1",ba[y[0]].short_name),u.param("user2",ba[y[1]].short_name),u.param("user3",ba[y[2]].short_name)]);}else if(y.length>3){var ha=Object.keys(ba).length-2,ia=u._({"*":"{num} more"},[u.param("num",ha,[0])]),ja=h.create('a',{href:'#'},ia);fa=u._("{user1}, {user2} and {=num more link} are typing...",[u.param("user1",ba[y[0]].short_name),u.param("user2",ba[y[1]].short_name),u.param("=num more link",ja)]);ga=true;}this._informStateChanged({activity:'typing',text:fa,typing:y,tooltip:ga});}.bind(this));aa&&this._informStateChanged({activity:'none'});},_handleStateChange:function(){var y=i.LOG_MESSAGE;if(!this._lastMsg||this._lastMsg.action_type==y){this._informStateChanged({activity:'none'});return;}if(this._typing&&this._typing.length){this._notifyTyping(this._typing);return;}if(this._canonicalUser&&this._lastMsg.author!=p.getID()){this._notifySentFrom();return;}var z=j.getSeenBy(this._threadID,true);if(z.length)if(this._canonicalUser){this._notifySeenTimestamp(z);return;}else{this._notifySeenBy(z);return;}this._informStateChanged({activity:'none'});}});o.addRetroactiveListener('state-changed',function(y){w.forEach(function(z){var aa=y[z._threadID];if(aa!==(void 0)){z._typing=aa;z._handleStateChange();}});});j.subscribe('state-changed',function(y,z){w.forEach(function(aa){z[aa._threadID]&&aa._handleStateChange();});});e.exports=x;},null); -__d("MercuryLastMessageIndicator.react",["DOM","MercuryIndicatorController","MercuryParticipants","React","Tooltip","cx","emptyFunction","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o=j,p=o.PropTypes,q=j.createClass({displayName:"MercuryLastMessageIndicator",propTypes:{hideTyping:p.bool,indicatorWillShow:p.func,indicatorDidShow:p.func,lastMessage:p.object,threadID:p.string.isRequired},getDefaultProps:function(){return {indicatorWillShow:m,indicatorDidShow:m};},getInitialState:function(){return {data:{}};},componentDidMount:function(){this._setup(this.props);},componentWillReceiveProps:function(r){if(r.threadID!=this.props.threadID){this._destroy();this._setup(r);}else if(r.lastMessage!=this.props.lastMessage)this._controller.setLastMessage(r.lastMessage);},componentWillUpdate:function(r,s){if(this.isVisible(r,s))this.props.indicatorWillShow();},componentDidUpdate:function(){if(!this.isVisible())return;this.setText();this.setTooltip();this.props.indicatorDidShow();},componentWillUnmount:function(){this._destroy();},render:function(){return (j.createElement("div",{className:this.getRootClass()},j.createElement("div",{className:"_510h"}),j.createElement("span",{className:"_510f",ref:"text"}," ")));},getRootClass:function(){var r=(("_510g")+(this.state.data.self_authored?' '+"_510e":'')),s=this.state.data.activity,t=null;if(String(s).startsWith('seen')){t='seen';}else if(s=='typing'){t=this.props.hideTyping?null:s;}else t=s;return n(r,t,this.props.className);},isVisible:function(r,s){r=r||this.props;s=s||this.state;return (s.data&&s.data.activity!='none'&&!(r.hideTyping&&s.data.activity=='typing'));},setText:function(){if(this.state.data.text)g.setContent(j.findDOMNode(this.refs.text),this.state.data.text);},setTooltip:function(){if(this.state.data.activity=='seen-by'&&this.state.data.tooltip)i.getMulti(this.state.data.seenBy,function(r){var s=g.create('div',null,this.state.data.seenBy.map(function(t){return g.create('div',null,r[t].name);}));k.set(g.find(j.findDOMNode(this),'span.more'),s,'above','center');}.bind(this));},_setup:function(r){this._controller=new h(r.threadID);this._subscription=this._controller.subscribe('state-changed',function(s,t){return this.setState({data:t});}.bind(this));r.lastMessage&&this._controller.setLastMessage(r.lastMessage);},_destroy:function(){this._subscription.unsubscribe();this._controller.destroy();}});e.exports=q;},null); -__d("MercuryMessageList",["immutable","LogHistory","Map","setTimeoutAcrossTransitions"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();'use strict';var k=h.getInstance('mercury_message_list');function l(n){this.$MercuryMessageList0=g.List(n||[]);this.$MercuryMessageList1();}l.prototype.append=function(n){var o;this.$MercuryMessageList0=(o=this.$MercuryMessageList0).push.apply(o,n);this.$MercuryMessageList1();m('append',n);};l.prototype.prepend=function(n){var o;this.$MercuryMessageList0=(o=this.$MercuryMessageList0).unshift.apply(o,n);this.$MercuryMessageList1();m('prepend',n);};l.prototype.update=function(n){var o=n.filter(function(p){return this.contains(p);}.bind(this));if(o.length===0)return;this.$MercuryMessageList0=this.$MercuryMessageList0.withMutations(function(p){o.forEach(function(q){var r=this.$MercuryMessageList2.get(q.message_id);if(r!==(void 0))p.set(r,q);}.bind(this));}.bind(this));m('update',o);};l.prototype.reorder=function(n){this.$MercuryMessageList0=g.List(n);this.$MercuryMessageList1();m('reorder',n);};l.prototype.hasReachedClearedMessages=function(){var n=this.$MercuryMessageList0.first();return !!(n&&n.is_cleared);};l.prototype.at=function(n){return this.$MercuryMessageList0.get(n);};l.prototype.contains=function(n){return this.$MercuryMessageList2.has(n.message_id);};l.prototype.toArray=function(){return this.$MercuryMessageList0.toArray();};l.prototype.toMap=function(){return new i(g.Seq(this.$MercuryMessageList0).map(function(n){return [n.message_id,n];}));};l.prototype.$MercuryMessageList1=function(){this.$MercuryMessageList2=new i(g.Seq(this.$MercuryMessageList0).map(function(n,o){return [n.message_id,o];}));};function m(event,n){j(function(){k.debug(event,{messageIDs:n.map(function(o){return o.message_id;})});},0);}e.exports=l;},null); -__d("MercuryMessageStore",["MercuryAPIArgsSource","LogHistory","MercuryViewer","MercuryMessageList","SubscriptionsHandler","MercuryThreadlistConstants","copyProperties","merge","mixInEventEmitter","setTimeoutAcrossTransitions","MercuryMessages","MercuryThreadInformer","MercuryThreads"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();'use strict';var q=b('MercuryMessages').get(),r=b('MercuryThreadInformer').get(),s=b('MercuryThreads').get(),t=h.getInstance('mercury_message_store');function u(w,x){this.$MercuryMessageStore0=w;this.$MercuryMessageStore1=new j();this.$MercuryMessageStore2=1;this.$MercuryMessageStore3=null;this.$MercuryMessageStore4=0;this.$MercuryMessageStore5=x||l.RECENT_MESSAGES_LIMIT;this.$MercuryMessageStore6=new k();this.$MercuryMessageStore6.addSubscriptions(r.subscribe('messages-received',function(y,z){return this.$MercuryMessageStore8(z);}.bind(this)),r.subscribe('messages-updated',function(y,z){return z[this.$MercuryMessageStore0]&&this.$MercuryMessageStore9(z[this.$MercuryMessageStore0]);}.bind(this)),r.subscribe('messages-reordered',function(y,z){return z[this.$MercuryMessageStore0]&&this.$MercuryMessageStorea();}.bind(this)));t.debug('constructed',{threadID:this.$MercuryMessageStore0});this.$MercuryMessageStoreb();}u.prototype.setNewThreadID=function(w){this.$MercuryMessageStorec=w;};u.prototype.destroy=function(){this.$MercuryMessageStore6&&this.$MercuryMessageStore6.release();t.debug('destroyed',{threadID:this.$MercuryMessageStore0});};u.prototype.subscribe=function(w){return this.addRetroactiveListener('updated',w);};u.prototype.fetchMoreMessages=function(){if(q.hasLoadedExactlyNMessages(this.$MercuryMessageStore0,this.$MercuryMessageStore4)&&q.hasLoadedAllMessages(this.$MercuryMessageStore0))return false;if(s.isNewEmptyLocalThread(this.$MercuryMessageStore0))return false;if(this.$MercuryMessageStore1.hasReachedClearedMessages())return false;return this.$MercuryMessageStoreb();};u.prototype.$MercuryMessageStoreb=function(){var w=this.$MercuryMessageStore4+this.$MercuryMessageStore5*this.$MercuryMessageStore2;t.debug('fetching',{threadID:this.$MercuryMessageStore0,limit:w});q.getThreadMessagesRange(this.$MercuryMessageStore0,0,w,this.$MercuryMessageStored.bind(this),null,g.MERCURY);if(this.$MercuryMessageStore2<10)this.$MercuryMessageStore2+=1;if(q.hasLoadedNMessages(this.$MercuryMessageStore0,w)){this.$MercuryMessageStorea();return false;}return true;};u.prototype.$MercuryMessageStored=function(w){if(w&&w.length){this.$MercuryMessageStore3=w[0].timestamp;this.$MercuryMessageStore4=w.length;t.debug('fetched',{threadID:this.$MercuryMessageStore0,earliestMessageTimestamp:this.$MercuryMessageStore3,count:this.$MercuryMessageStore4});}else if(w&&!w.length&&!this.$MercuryMessageStore4)this.$MercuryMessageStoree(u.THREAD_IS_EMPTY);};u.prototype.$MercuryMessageStore8=function(w){var x=[],y=w[this.$MercuryMessageStore0];if(y&&y.length)x=x.concat(y);if(this.$MercuryMessageStorec){var z=w[this.$MercuryMessageStorec];if(z&&z.length){x=x.concat(z);this.$MercuryMessageStorec=null;}}if(x.length){this.$MercuryMessageStore1.append(x);this.$MercuryMessageStore4+=x.length;var aa=x.every(function(ba){return ba.author!=i.getID();});this.$MercuryMessageStoree(u.MESSAGES_RECEIVED,{allFromOthers:aa});}};u.prototype.$MercuryMessageStore9=function(w){this.$MercuryMessageStore1.update(q.getMessagesFromIDs(Object.keys(w)));this.$MercuryMessageStoref();this.$MercuryMessageStoree(u.MESSAGES_CHANGED);};u.prototype.$MercuryMessageStorea=function(){if(!this.$MercuryMessageStore3)return;this.$MercuryMessageStore1.reorder(q.getThreadMessagesSinceTimestamp(this.$MercuryMessageStore0,this.$MercuryMessageStore3));this.$MercuryMessageStoref();this.$MercuryMessageStoree(u.MESSAGES_REORDERED);};u.prototype.$MercuryMessageStoree=function(w,x){var y=this.$MercuryMessageStore1.toArray();this.releaseHeldEventType('updated');this.emitAndHold('updated',n({messages:y,eventType:w},x));v(this.$MercuryMessageStore0,w,y);};u.prototype.$MercuryMessageStoref=function(){var w=this.$MercuryMessageStore1.at(0);if(w)this.$MercuryMessageStore3=w.timestamp;};function v(w,x,y){p(function(){t.debug('update:'+x,{threadID:w,messageIDs:y.map(function(z){return z.message_id;})});},0);}m(u,{MESSAGES_FETCHED:'fetched',MESSAGES_CHANGED:'changed',MESSAGES_RECEIVED:'received',MESSAGES_REORDERED:'reordered',THREAD_IS_EMPTY:'thread-is-empty'});o(u,{updated:true});e.exports=u;},null); -__d("ChatTabMessagesView",["Animation","Arbiter","ArbiterMixin","BanzaiLogger","BootloadedComponent.react","Bootloader","ChatConfig","ChatConversation.react","ChatWelcomeMessage","CSS","DOM","Event","MercuryLastMessageIndicator.react","LiveTimer","MercuryViewer","MercuryMessageStore","React","ServerTime","StickerActions","StickerState","StickerStoreController","Style","SubscriptionsHandler","UserAgent_DEPRECATED","arrayContains","copyProperties","getElementPosition","throttle"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca,da,ea,fa,ga,ha){b.__markCompiled&&b.__markCompiled();'use strict';var ia=70,ja=null,ka=20;function la(na){if(ja===null){var oa=na.childNodes[0];ba.set(na,'overflow','scroll');ja=oa.clientWidth-ia;ba.set(na,'overflow','');}return ja;}function ma(na,oa,pa,qa,ra,sa,ta,ua){this.loadingIcon=ra;this.threadID=na;this.sheetController=oa;this.scrollContainer=pa;this.conversationElem=qa;this.tabView=ua;t.restart(x.get()/1000);this._loadingMoreMessages=false;function va(){ma.inform('interaction-with-tab',na);}this._subscriptions=new ca();this._subscriptions.addSubscriptions(h.subscribe('overflow-applied-to-body',this.scrollToBottom.bind(this)),r.listen(this.scrollContainer,'mousedown',va));if(da.firefox()){var wa=('WheelEvent' in window)?'wheel':'DOMMouseScroll';this.scrollContainer.addEventListener(wa,va,false);}else this._subscriptions.addSubscriptions(r.listen(this.scrollContainer,'mousewheel',va));this._subscriptions.addSubscriptions(r.listen(this.scrollContainer,'scroll',ha(this.scrolling,50,this)));if(m.get('chat_react')){var xa;w.render(w.createElement(k,{bootloadPlaceholder:w.createElement("span",null),bootloadComponent:function(za){l.loadModules(["ChatTypingIndicators.react"],za);},threadID:this.threadID,indicatorsWillShow:function(){return xa=this.isScrolledToBottom();}.bind(this),indicatorsDidShow:function(){return xa&&this.scrollToBottom(true);}.bind(this)}),ta);}else l.loadModules(["MercuryTypingIndicator"],function(za){this.typingIndicator=new za(this.threadID,ta,this);}.bind(this));var ya;this.lastMessageIndicatorNode=sa;this.lastMessageIndicator=w.render(w.createElement(s,{threadID:this.threadID,hideTyping:true,indicatorWillShow:function(){return ya=this.isScrolledToBottom();}.bind(this),indicatorDidShow:function(){return ya&&this.scrollToBottom(true);}.bind(this)}),this.lastMessageIndicatorNode);this.initializeConversation();}fa(ma,i);fa(ma.prototype,{initializeConversation:function(){this._store=new v(this.threadID);this._conversation=w.render(w.createElement(n,{maxBubbleWidth:la(this.scrollContainer),messages:[],onImageLoad:function(na){var oa=this.scrollContainer,pa=oa.scrollTop+oa.clientHeight;if(pa+na.offsetHeight>=oa.scrollHeight)this.scrollToBottom();}.bind(this),onStickerClick:this._onStickerClick.bind(this),onCallLinkClick:function(na,oa,pa){ma.inform('video-call-clicked',{userID:na,threadID:oa,clickSource:pa});}}),this.conversationElem);this._subscriptions.addSubscriptions(this._store.subscribe(function(na){if(na.eventType==v.MESSAGES_RECEIVED&&na.allFromOthers&&!this.isScrolledToBottom()){this.sheetController.openNewMessagesSheet();this._newMessagesSheetOpened=true;}if(na.eventType==v.MESSAGES_REORDERED){this._loadingMoreMessages=false;p.hide(this.loadingIcon);}var oa=this.isScrolledToBottom(),pa=this._getLoadingHeight(),qa=this.scrollContainer.scrollHeight,ra=this.scrollContainer.scrollTop,sa=na.messages,ta=o.getWelcomeMessage(this.threadID);if(ta)sa.push(ta);this._conversation.setProps({messages:sa},function(){if(oa||this._shouldScrollToBottom){this.scrollToBottom();this.setShouldScrollToBottom(false);}else if(na.eventType==v.MESSAGES_REORDERED)this.scrollToPosition(this.scrollContainer.scrollHeight-qa-pa+ra);}.bind(this));this.lastMessageIndicator.setProps({lastMessage:sa.length>0?sa[sa.length-1]:null});if(na.eventType==v.MESSAGES_RECEIVED&&this._shouldShowStickerReplyNUX(sa)&&this.tabView&&this.tabView.isFocused())this.tabView.showStickerReplyNUX();if(na.eventType==v.MESSAGES_CHANGED)this._checkToAnimateSticker();}.bind(this)));},setShouldScrollToBottom:function(na){this._shouldScrollToBottom=na;},scrolling:function(){this._checkToAnimateSticker();if(this.isScrolledNearTop()&&!this._loadingMoreMessages&&!this.isScrolledToBottom()&&!this.tabView._isDragDropActive)if(this._store.fetchMoreMessages()){p.show(this.loadingIcon);this._loadingMoreMessages=true;}if(!this._newMessagesSheetOpened)return;if(this.isScrolledToBottom()){this.sheetController.closeNewMessagesSheet();this._newMessagesSheetOpened=false;}},getScrollTop:function(){return this.scrollContainer&&this.scrollContainer.scrollTop;},destroy:function(){q.scry(this.conversationElem,'.stickerContainer').forEach(function(na){return w.unmountComponentAtNode(na);});w.unmountComponentAtNode(this.conversationElem);this._subscriptions&&this._subscriptions.release();w.unmountComponentAtNode(this.lastMessageIndicatorNode);delete this.lastMessageIndicator;this._store&&this._store.destroy();this.destroyed=true;},_getLoadingHeight:function(){return this.loadingHeight||this.loadingIcon.clientHeight;},_shouldShowStickerReplyNUX:function(na){if(!z.shouldShowStickerReplyNUX()||!na.length)return false;var oa=na[na.length-1];if(oa.author===u.getID())return false;if(oa.has_attachment)return oa.attachments.some(function(pa){return pa.attach_type==='sticker';});return false;},isScrolledToBottom:function(na){var oa=this.scrollContainer;na=na||ka;return oa.scrollTop+oa.clientHeight>=oa.scrollHeight-na;},isScrolledNearTop:function(){return this.scrollContainer.scrollTop0&&!o.endsWith(' '))l=' '+l;if(!p.startsWith(' '))l+=' ';var q=o+l+p;n.start+=l.length;n.end=n.start;return {result:q,start:n.start,end:n.end};}};e.exports=k;},null); -__d("MercurySharePreview.react",["AsyncRequest","LeftRight.react","LoadingIndicator.react","MercuryFallbackShareAttachment.react","MercuryShareAttachmentRenderLocations","React","XUICloseButton.react","cx","invariant"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=l,q=p.PropTypes,r=l.createClass({displayName:"MercurySharePreview",propTypes:{imageSize:q.shape({width:q.number.isRequired,height:q.number.isRequired}).isRequired,location:q.oneOf(k.getValues()).isRequired,share:q.shape({params:q.array,type:q.number}),uri:q.string,onClose:q.func,onUpdate:q.func},getInitialState:function(){return {attachmentData:null,loading:false};},componentWillMount:function(){this._requestID=1337;this._currentRequest=null;},componentWillUnmount:function(){this._reset();},componentWillReceiveProps:function(s){o(!(s.share&&s.uri));if(!s.share&&!s.uri)return this._reset();var t=this.state.attachmentData||this.state.loading;if(s.share&&!t){this._loadFromShare(s.share);}else if(s.uri&&!(t&&this.props.uri==s.uri))this._loadFromURI(s.uri);},componentDidUpdate:function(s,t){this.props.onUpdate&&this.props.onUpdate(this);},getShareData:function(){return this.state.attachmentData&&this.state.attachmentData.share_data;},isLoading:function(){return this.state.loading;},_loadFromShare:function(s){this._currentRequest=new g().setURI('/message_share_attachment/fromParams/').setData({image_height:this.props.imageSize.height,image_width:this.props.imageSize.width,share_params:s.params,share_type:s.type}).setHandler(this._onShareLoaded.bind(this,this._getNextRequestID()));this._currentRequest.send();this.setState({loading:true,attachmentData:null});},_loadFromURI:function(s){this._currentRequest=new g().setURI('/message_share_attachment/fromURI/').setData({image_height:this.props.imageSize.height,image_width:this.props.imageSize.width,uri:s}).setHandler(this._onShareLoaded.bind(this,this._getNextRequestID()));this._currentRequest.send();this.setState({loading:true,attachmentData:null});},_getNextRequestID:function(){return (++this._requestID);},_getCurrentRequestID:function(){return this._requestID;},_onShareLoaded:function(s,t){if(this._getCurrentRequestID()!==s)return;this.setState({loading:false,attachmentData:t.payload});},_close:function(){this._reset();this.props.onClose&&this.props.onClose();},_reset:function(){this._getNextRequestID();this._currentRequest&&this._currentRequest.abort();this._currentRequest=null;this.setState({loading:false,attachmentData:null});},render:function(){var s=(("_tig")+(' '+"_tih"));if(this.state.loading)return (l.createElement(h,{direction:h.DIRECTION.right,className:s},l.createElement(i,{className:"_tii",size:"large",color:"white"}),l.createElement(m,{className:"_tij",shade:"dark",size:"small",onClick:this._close})));var t=this.state.attachmentData;if(!t)return l.createElement("div",null);return (l.createElement("div",null,l.createElement(m,{className:"_tij",shade:"dark",size:"small",onClick:this._close}),l.createElement(j,{attachment:t,location:k.CHAT_PREVIEW})));}});e.exports=r;},null); -__d("P2PAddCreditCardDialog.react",["Link.react","P2PAPI","P2PAPIUtils","P2PCreditCardForm.react","P2PLoadingMask.react","P2PLinkConstants","React","XUIButton.react","XUIDialog.react","XUIDialogTitle.react","XUIDialogBody.react","XUIDialogFooter.react","XUIGrayText.react","cx","emptyFunction","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){b.__markCompiled&&b.__markCompiled();'use strict';var w=m,x=w.PropTypes,y='fbP2PAddCreditCardDialog_learnMoreSentenceID',z=m.createClass({displayName:"P2PAddCreditCardDialog",propTypes:{asyncRequestState:x.object,onCancel:x.func,onDecline:x.func,onError:x.func,onSaving:x.func,onSuccess:x.func,showPayButton:x.bool},getDefaultProps:function(){return {asyncRequestState:{},onCancel:u,onDecline:u,onError:u,onSaving:u,onSuccess:u,showPayButton:false};},getInitialState:function(){return {declineAddCardShown:false,isValid:false,formData:{},loading:false,requestID:'',saveErrors:null};},componentWillReceiveProps:function(aa){var ba=aa.asyncRequestState?aa.asyncRequestState[this.state.requestID]:null;if(ba){this.setState({requestID:''});if(ba.error){this.handleOnSaveError(ba.error);}else this.handleOnSaveSuccess(ba);}},onSaveClick:function(){var aa=i.genRequestID();this.setState({loading:true,requestID:aa,saveErrors:null});this.props.onSaving();h.addCreditCard(Object.assign({requestID:aa},this.state.formData));},handleOnSaveSuccess:function(aa){this.props.onSuccess(aa);},handleOnSaveError:function(aa){this.setState({loading:false,saveErrors:aa});this.props.onError();},handleValidation:function(aa,ba){this.setState({isValid:aa,formData:ba});},isSaveButtonDisabled:function(){return this.state.loading||!this.state.isValid;},onToggle:function(aa){if(!aa)this.props.onCancel();},handleNoDebitCardClick:function(){this.setState({declineAddCardShown:true});},handleDeclineCardBackButtonClick:function(){this.setState({declineAddCardShown:false});},handleDeclineCardOkButtonClick:function(){this.setState({declineAddCardShown:false});this.props.onDecline();},getButtonType:function(){var aa='default';if(this.props.showPayButton)aa='confirm';return aa;},getButtonText:function(){var aa=v._("Save");if(this.props.showPayButton)aa=v._("Pay");return aa;},renderDeclineAddCard:function(){return (m.createElement("div",{className:"_2hn6"},m.createElement(p,null,v._("Don't Have a Debit Card?")),m.createElement(q,null,m.createElement(s,{display:"block",shade:"medium",size:"small"},v._("You need a debit card to send payments in messages. If you don't have a debit card, you won't be able to send payments at this time."))),m.createElement(r,null,m.createElement(n,{label:v._("Back"),onClick:this.handleDeclineCardBackButtonClick,size:"medium",use:"default"}),m.createElement(n,{label:v._("OK"),onClick:this.handleDeclineCardOkButtonClick,size:"medium",use:"default"}))));},renderAddCardForm:function(){return (m.createElement("div",{className:"_2hn6"},m.createElement(p,null,v._("Add a Debit Card")),m.createElement(q,null,m.createElement(j,{onValidation:this.handleValidation,saveErrors:this.state.saveErrors}),m.createElement("div",{className:"_4v64",id:y},v._("Your payment info is stored securely. {Learn more about p2p link}",[v.param("Learn more about p2p link",m.createElement(g,{"aria-describedby":y,href:l.addDebitCardHelpURI,target:"_blank"},v._("Learn more.")))]))),m.createElement(r,{leftContent:m.createElement(g,{className:"_2hn7",href:"#",onClick:this.handleNoDebitCardClick},v._("Don't have a debit card?"))},m.createElement(n,{use:this.getButtonType(),size:"medium",label:this.getButtonText(),disabled:this.isSaveButtonDisabled(),onClick:this.onSaveClick}))));},componentDidUpdate:function(){setTimeout(function(){this.refs.dialog&&this.refs.dialog.layer.updatePosition();}.bind(this));},render:function(){var aa;if(this.state.declineAddCardShown){aa=this.renderDeclineAddCard();}else aa=this.renderAddCardForm();return (m.createElement(o,{className:"_2hn8",layerHideOnBlur:false,ref:"dialog",onToggle:this.onToggle,shown:true,width:288},aa,m.createElement(k,{visible:this.state.loading})));}});e.exports=z;},null); -__d("P2PConfirmAmountDialog.react",["P2PLoadingMask.react","React","XUIButton.react","XUIDialog.react","XUIDialogBody.react","XUIDialogFooter.react","XUIDialogTitle.react","emptyFunction","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){b.__markCompiled&&b.__markCompiled();var p=h,q=p.PropTypes,r=h.createClass({displayName:"P2PConfirmAmountDialog",propTypes:{amount:q.string,currencySymbol:q.string,onCancel:q.func,onConfirm:q.func,receiverName:q.string},getDefaultProps:function(){return {amount:'',currencySymbol:'',onCancel:n,onConfirm:n,receiverName:q.string};},getInitialState:function(){return {loading:false};},handleCancelClick:function(){this.props.onCancel();},handleConfirmClick:function(){this.setState({loading:true});this.props.onConfirm();},getFormattedAmount:function(){var s=this.props.amount,t=(parseFloat(s)).toFixed(2);return this.props.currencySymbol+''+t;},render:function(){return (h.createElement(j,{layerHideOnBlur:false,shown:true,width:300},h.createElement(m,{showCloseButton:false},o._("Confirm Payment")),h.createElement(k,null,o._("Do you want to pay {recipient name} {amount}?",[o.param("recipient name",this.props.receiverName),o.param("amount",this.getFormattedAmount())])),h.createElement(l,null,h.createElement(i,{label:o._("Cancel"),onClick:this.handleCancelClick,use:"default"}),h.createElement(i,{label:o._("Pay"),onClick:this.handleConfirmClick,use:"confirm"})),h.createElement(g,{visible:this.state.loading})));}});e.exports=r;},null); -__d("P2PSendMoneyAmountInput.react",["React","XUIError.react","XUIGrayText.react","cx","emptyFunction","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();'use strict';var m=g,n=m.PropTypes,o=10000,p=g.createClass({displayName:"P2PSendMoneyAmountInput",propTypes:{currencySymbol:n.string,onInputChange:n.func,value:n.string},getDefaultProps:function(){return {currencySymbol:'$',onInputChange:k,value:''};},getInitialState:function(){return {inputError:null,maxInputWidth:100,value:this.props.value,width:''};},componentDidMount:function(){this.updateWidth(this.state.value);},handleAmountInputChange:function(q){var r=q.target.value;this.clearInputError();this.updateAmount(r);},clearInputError:function(){this.setState({inputError:null});},setInputError:function(q){this.setState({inputError:q});},updateAmount:function(q){var r=true,s;q=q.replace(/[^0-9\.]+/g,'');s=parseFloat(q);if(s>=o){r=false;this.setInputError(l._("Please enter a smaller amount"));}var t=q.split('.'),u=t[0],v=t[1];if(v!==undefined){q=(u&&parseFloat(u)!==0?u:'0')+'.'+v.substr(0,2);}else if(u&&parseFloat(u)===0)q='0';this.setValue(q);s=parseFloat(q);r=r&&!isNaN(s)&&s>0;this.props.onInputChange(q,r);},setValue:function(q){this.setState({value:q},this.updateWidth);},updateWidth:function(){var q=this.getMockWidth();if(q)this.setState({width:Math.min(q,this.state.maxInputWidth)});},getMockWidth:function(){return g.findDOMNode(this.refs.mock_input).offsetWidth;},render:function(){return (g.createElement("div",{className:"_ipw"},g.createElement("label",null,g.createElement(i,{className:"_3-91",shade:"medium",size:"small",weight:"bold"},l._("Enter Amount")),g.createElement("div",{className:"_4puh"},g.createElement("div",{className:"_5fbp"},this.props.currencySymbol),g.createElement("div",{ref:"mock_input",className:"_5fbs"},this.state.value),g.createElement(h,{xuiError:this.state.inputError},g.createElement("input",{className:"_5fbv",onChange:this.handleAmountInputChange,ref:"textInput",style:{width:this.state.width},value:this.state.value}))))));}});e.exports=p;},null); -__d("P2PSendMoneyDialog.react",["Arbiter","CreditCardFormParam","Image.react","ImageBlock.react","Link.react","P2PAPI","P2PAddCreditCardDialog.react","P2PCreditCardStore","P2PChooseCreditCardForm.react","P2PConfirmAmountDialog.react","P2PLinkConstants","P2PLoadingMask.react","P2PLogger","P2PPaymentLoggerEvent","P2PPaymentLoggerEventFlow","P2PQEValues","P2PSendMoneyAmountInput.react","P2PVerifyCreditCardDialog.react","React","ReactLayeredComponentMixin","XUIButton.react","XUIContextualDialog.react","XUIGrayText.react","XUIText.react","cx","fbt","emptyFunction"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca,da,ea,fa,ga){b.__markCompiled&&b.__markCompiled();'use strict';var ha=y,ia=ha.PropTypes,ja=fa._("Change"),ka=fa._("Add a Debit Card"),la=260,ma=100,na=y.createClass({displayName:"P2PSendMoneyDialog",mixins:[z],propTypes:{currency:ia.string,currencySymbol:ia.string,onAmountInputChange:ia.func,onBlur:ia.func,onError:ia.func,onToggle:ia.func,onSendSuccess:ia.func,receiver:ia.object,theme:ia.string},getDefaultProps:function(){return {currency:'USD',currencySymbol:'$',onAmountInputChange:ga,onBlur:ga,onError:ga,onSendClick:ga,onSendSuccess:ga,onToggle:ga,receiver:{},theme:''};},getInitialState:function(){var oa=n.getAll();return {asyncRequestState:n.getAsyncRequestState(),addCreditCardDialogShown:false,amount:'',creditCards:oa,confirmAmountDialogShown:false,isAmountValid:false,loading:false,selectedCard:oa[0],showChooseCreditCardForm:false,verifyCreditCardDialogShown:false};},passwordCancelSubscribeToken:null,log:function(oa,pa){s.log(oa,Object.assign({www_event_flow:u.UI_FLOW_P2P_SEND,object_id:this.props.receiver.userId},pa));},componentWillUnmount:function(){if(this.passwordCancelSubscribeToken!==null){g.unsubscribe(this.passwordCancelSubscribeToken);this.passwordCancelSubscribeToken=null;}if(this.creditCardStoreSub){this.creditCardStoreSub.remove();this.creditCardStoreSub=null;}},componentWillMount:function(){this.creditCardStoreSub=n.addListener('change',this.onCreditCardStoreChange);this.log(t.UI_ACTN_INITIATE_SEND);},onAmountInputChange:function(oa,pa){this.setState({amount:oa,isAmountValid:pa});},onCreditCardStoreChange:function(){var oa=n.getAll();this.setState({asyncRequestState:n.getAsyncRequestState(),creditCards:oa,selectedCard:!this.state.selectedCard?oa[0]:this.state.selectedCard});},shouldShowConfirmAmountDialog:function(){var oa=parseFloat(this.state.amount);return oa>=ma;},shouldShowVerifyCreditCardDialog:function(){return !this.state.selectedCard.getIsVerified();},handleSendClick:function(oa){if(this.isSendButtonDisabled())return false;this.log(t.UI_ACTN_SEND_CLICKED,{raw_amount:this.state.amount,currency:this.props.currency});this.initiatePayment();},initiatePayment:function(){if(this.shouldShowConfirmAmountDialog()){this.setState({addCreditCardDialogShown:false,confirmAmountDialogShown:true});this.log(t.UI_ACTN_CONFIRM_AMOUNT,{raw_amount:this.state.amount,currency:this.props.currency});return;}if(this.shouldShowVerifyCreditCardDialog()){this.setState({addCreditCardDialogShown:false,verifyCreditCardDialogShown:true});this.log(t.UI_ACTN_VERIFY_CSC,{raw_amount:this.state.amount,currency:this.props.currency});return;}this.createTransaction();},shouldShowLoading:function(){return (!this.state.addCreditCardDialogShown&&!this.state.confirmAmountDialogShown&&!this.state.verifyCreditCardDialogShown);},createTransaction:function(){var oa={};this.setState({loading:this.shouldShowLoading()});oa[h.CREDENTIAL_ID]=this.state.selectedCard.getCredentialId();oa.amount=this.state.amount;oa.receiverId=this.props.receiver.userId;this.passwordCancelSubscribeToken=g.subscribeOnce('PasswordReauthDialogCancelClick',this.handlePasswordReauthDialogCancelClick);l.createTransaction({formData:oa,error:this.setCreateTransferError,success:this.setCreateTransferSuccess});this.log(t.UI_ACTN_CONFIRM_SEND,{raw_amount:this.state.amount,currency:this.props.currency});},hideAllDialogs:function(){this.setState({addCreditCardDialogShown:false,confirmAmountDialogShown:false,verifyCreditCardDialogShown:false});},setCreateTransferError:function(oa){if(this.isMounted()){this.hideAllDialogs();this.setState({loading:false});}this.props.onError(oa);this.log(t.UI_ACTN_SEND_FAIL);},setCreateTransferSuccess:function(oa){if(this.isMounted()){this.setState({loading:false});this.hideAllDialogs();}this.props.onSendSuccess(oa);this.log(t.UI_ACTN_SEND_SUCCESS);},handlePasswordReauthDialogCancelClick:function(){this.passwordCancelSubscribeToken=null;this.setState({loading:false});},onAddCreditCardCancel:function(){this.setState({addCreditCardDialogShown:false});this.log(t.UI_ACTN_CANCEL_ADD_CARD);},onAddCreditCardSaving:function(){this.log(t.UI_ACTN_CONFIRM_CARD_DETAILS);},onAddCreditCardSuccess:function(oa){var pa=this.state.creditCards.filter(function(qa){var ra=qa.getCredentialId();return (oa[h.CREDENTIAL_ID]===ra);})[0];this.setState({selectedCard:pa});if(this.state.isAmountValid){this.initiatePayment();}else{this.setState({addCreditCardDialogShown:false});this.focusAmountInput();}this.log(t.UI_ACTN_ADD_CARD_SUCCESS);},onAddCreditCardError:function(){this.log(t.UI_ACTN_ADD_CARD_FAIL);},onAddCreditCardDecline:function(){this.setState({addCreditCardDialogShown:false});this.props.onBlur();},focusAmountInput:function(){if(this.refs.send_money_amount_input)y.findDOMNode(this.refs.send_money_amount_input).focus();},_onBlur:function(){this.props.onBlur();if(!this.state.loading)this.log(t.UI_ACTN_SEND_MONEY_CANCELLED);},handleAddCreditCardClick:function(){this.setState({addCreditCardDialogShown:true,showChooseCreditCardForm:false});},handleBackClick:function(){this.setState({showChooseCreditCardForm:false},function(){this.focusAmountInput();});},handleChooseCardNextClick:function(){var oa=this.refs.choose_credit_card_form.getSelectedCard();this.setState({selectedCard:oa,showChooseCreditCardForm:false},function(){this.focusAmountInput();});},handleAddCardNextClick:function(){this.setState({addCreditCardDialogShown:true});this.log(t.UI_ACTN_INITIATE_ADD_CARD);},handleChangeSelectedCardClick:function(){var oa={};if(this.state.creditCards.length===1){oa.addCreditCardDialogShown=true;}else oa.showChooseCreditCardForm=true;this.setState(oa);},onConfirmAmountCancel:function(){this.setState({confirmAmountDialogShown:false});},onConfirmAmountSuccess:function(){if(this.shouldShowVerifyCreditCardDialog()){this.setState({confirmAmountDialogShown:false,verifyCreditCardDialogShown:true});}else this.createTransaction();},onVerifyCreditCardSuccess:function(){this.createTransaction();},onVerifyCreditCardCancel:function(){this.setState({verifyCreditCardDialogShown:false});},isSendButtonDisabled:function(){return (!this.state.isAmountValid||!this.state.creditCards.length||this.state.loading);},isAddCardNextButtonDisabled:function(){return !this.state.isAmountValid;},renderAddDebitCardLink:function(){return (y.createElement("div",{ref:"send_money_dialog_add_card_text"},y.createElement(k,{className:"_49nm",href:"#",onClick:this.handleAddCreditCardClick},ka)));},renderSelectedCard:function(){var oa=this.state.selectedCard;return (y.createElement("div",{className:"_21x5"},y.createElement("div",{className:"_49nn"},oa.getName()),y.createElement("div",{className:"_21wx"},oa.getCreditCardNumberFormatted()),y.createElement("div",{className:"_21ww"},'\u00b7'),y.createElement(k,{className:"_21wy",onClick:this.handleChangeSelectedCardClick,href:"#"},ja)));},renderFormButtons:function(){var oa;if(!this.state.creditCards.length){oa=this.renderAddCardNextButton();}else if(this.state.showChooseCreditCardForm){oa=y.createElement("div",null,this.renderChooseCardBackButton(),this.renderChooseCardNextButton());}else oa=this.renderPayButton();return oa;},renderChooseCardBackButton:function(){return (y.createElement(aa,{className:"_2abj",label:fa._("Back"),onClick:this.handleBackClick,ref:"back_button",size:"medium",use:"default"}));},renderAddCardNextButton:function(){return (y.createElement(aa,{disabled:this.isAddCardNextButtonDisabled(),label:fa._("Next"),onClick:this.handleAddCardNextClick,ref:"add_card_next_button",size:"medium",use:"default"}));},renderChooseCardNextButton:function(){return (y.createElement(aa,{label:fa._("Next"),onClick:this.handleChooseCardNextClick,ref:"choose_card_next_button",size:"medium",use:"confirm"}));},renderPayButton:function(){return (y.createElement(aa,{className:"_21x6",disabled:this.isSendButtonDisabled(),label:fa._("Pay"),onClick:this.handleSendClick,ref:"send_button",size:"medium",use:"confirm"}));},renderPaymentDetails:function(){var oa,pa=v.SendMoneyFlyoutBottomText||'';if(this.state.creditCards.length){if(this.state.showChooseCreditCardForm){oa=this.renderAddDebitCardLink();}else oa=this.renderSelectedCard();}else oa=y.createElement("div",{className:"_2abl"},y.createElement(ca,{display:"block",ref:"send_money_dialog_add_card_next_text",size:"small",shade:"light"},pa));return oa;},renderSendMoneyForm:function(){return (y.createElement("div",null,y.createElement("div",{className:"_49no _2pi4",ref:"send_money_dialog_title"},y.createElement(j,{spacing:"large"},y.createElement(i,{heigh:40,src:this.props.receiver.big_image_src||this.props.receiver.image_src,width:40}),y.createElement("div",{className:"_3-8w"},y.createElement(ca,{display:"block",weight:"normal",size:"small"},fa._("Send to")),y.createElement(da,{display:"block",size:"small",color:"dark",weight:"bold"},this.props.receiver.name))),y.createElement(k,{className:"_49np",href:q.helpCenterURI,target:"_blank"})),y.createElement("div",{className:"_2abm"},this.renderMainContainer()),y.createElement("div",{className:"_21w-"},y.createElement("div",{className:"_21x4"},this.renderPaymentDetails()),y.createElement("div",{className:"_4zf-"},this.renderFormButtons()))));},renderMainContainer:function(){var oa;if(this.state.showChooseCreditCardForm){oa=y.createElement("div",{className:"_xn7"},y.createElement(o,{creditCards:this.state.creditCards,selectedCard:this.state.selectedCard,ref:"choose_credit_card_form"}));}else oa=y.createElement("div",{className:"_2abn"},y.createElement(w,{currencySymbol:this.props.currencySymbol,onInputChange:this.onAmountInputChange,ref:"send_money_amount_input",value:this.state.amount}));return oa;},renderLayers:function(){var oa={};if(this.state.addCreditCardDialogShown){oa.addCreditCard=y.createElement(m,{asyncRequestState:this.state.asyncRequestState,ref:"send_money_dialog_add_credit_card_form",onCancel:this.onAddCreditCardCancel,onDecline:this.onAddCreditCardDecline,onSuccess:this.onAddCreditCardSuccess,onError:this.onAddCreditCardError,onSaving:this.onAddCreditCardSaving,showPayButton:this.state.isAmountValid});}else if(this.state.confirmAmountDialogShown){oa.confirmAmount=y.createElement(p,{amount:this.state.amount,currencySymbol:this.props.currencySymbol,onCancel:this.onConfirmAmountCancel,onConfirm:this.onConfirmAmountSuccess,receiverName:this.props.receiver.short_name});}else if(this.state.verifyCreditCardDialogShown)oa.verifyCreditCard=y.createElement(x,{asyncRequestState:this.state.asyncRequestState,creditCard:this.state.selectedCard,isSending:true,onCancel:this.onVerifyCreditCardCancel,onSuccess:this.onVerifyCreditCardSuccess});return oa;},render:function(){var oa=this.props.theme==='messenger';return (y.createElement(ba,{alignment:oa?'right':'left',context:this.props.context,onBlur:this._onBlur,shown:true,width:la,position:this.props.position||'above'},y.createElement("div",{className:(("_21x9")+(oa?' '+"_1pka":''))},this.renderSendMoneyForm(),y.createElement(r,{ref:"send_money_dialog_loader",visible:this.state.loading}))));}});e.exports=na;},null); -__d("P2PSendMoneyButton.react",["Image.react","LayerSlowlyFadeOnShow","Link.react","P2PErrorDialog.react","P2PLinkConstants","P2PPasswordProtectionNUXDialog.react","P2PPasswordProtectionStatusTypes","P2PSendMoneyDialog.react","P2PTransferRiskResult","P2PTransferParam","P2PVerificationFlowHelper","React","ReactLayeredComponentMixin","TooltipLink.react","XUIButton.react","XUIDialog.react","XUIDialogTitle.react","XUIDialogBody.react","XUIDialogFooter.react","XUIDialogOkayButton.react","XUIGrayText.react","cx","emptyFunction","fbt","ix"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca,da,ea){b.__markCompiled&&b.__markCompiled();'use strict';var fa=r,ga=fa.PropTypes,ha=r.createClass({displayName:"P2PSendMoneyButton",mixins:[s],propTypes:{theme:ga.string,disabled:ga.bool,onTrigger:ga.func,receiver:ga.object},getDefaultProps:function(){return {disabled:false,onTrigger:ca,receiver:{}};},getInitialState:function(){return {confirmationDialogShown:false,dialogShown:false,passwordNUXPending:false,passwordProtectionNUXDialogShown:false,sendErrorObject:null,underManualReviewDialogShown:false};},originalCreateTransactionResponse:null,_onButtonClick:function(ia){if(this._clickGuard||this.props.disabled)return;this.setState({dialogShown:true});},_handleDialogSendClick:function(){this.setState({dialogShown:false});},_handleDialogBlur:function(){this.setState({dialogShown:false});},_prepareForClick:function(){this._clickGuard=this.state.dialogShown;},handleOnSendSuccess:function(ia){this.setState({dialogShown:false});var ja=ia[p.RISK_RESULT];this.originalCreateTransactionResponse=ia;if(ja===o.REQUIRE_VERIFICATION){q.startVerificationFlow(ia.id,true,this.handlePostSendSteps);}else if(ja===o.UNDER_MANUAL_REVIEW){this.setState({underManualReviewDialogShown:true});}else this.handlePostSendSteps();},handlePostSendSteps:function(){var ia=this.originalCreateTransactionResponse,ja=ia.passwordProtection===m.NOT_SET;if(ia.isFirstSend){this.setState({confirmationDialogShown:true,passwordNUXPending:ja});}else if(ja)this.setState({passwordProtectionNUXDialogShown:true});this.originalCreateTransactionResponse=null;this.props.onTrigger();},onPasswordProtectionNUXComplete:function(){this.setState({passwordProtectionNUXDialogShown:false});},handleConfirmationOKClick:function(){this.setState({confirmationDialogShown:false,passwordProtectionNUXDialogShown:this.state.passwordNUXPending,passwordNUXPending:false});},handleSendError:function(ia){this.setState({sendErrorObject:ia});},handleErrorDialogOKClick:function(){this.setState({sendErrorObject:null});},onRiskResultDialogConfirmed:function(){this.setState({underManualReviewDialogShown:false},function(){this.handlePostSendSteps();}.bind(this));},renderLayers:function(){var ia={};if(this.state.sendErrorObject)ia.sendError=r.createElement(j,{error:this.state.sendErrorObject,onOKClick:this.handleErrorDialogOKClick,ref:"send_error",title:da._("Problem While Sending Money")});if(this.state.dialogShown)ia.sendMoneyDialog=r.createElement(n,{context:r.findDOMNode(this.refs.p2pSendMoneyButton),onBlur:this._handleDialogBlur,onError:this.handleSendError,onSendClick:this._handleDialogSendClick,onSendSuccess:this.handleOnSendSuccess,receiver:this.props.receiver,ref:'send_money_dialog',theme:this.props.theme});if(this.state.confirmationDialogShown)ia.confirmationDialog=r.createElement(v,{behaviors:{LayerFadeOnShow:false,LayerSlowlyFadeOnShow:h},layerHideOnBlur:false,ref:"confirmation_dialog",shown:true,width:300},r.createElement(w,{showCloseButton:false},da._("Payment Sent")),r.createElement(x,null,r.createElement("div",{className:"_3hd2"},r.createElement(g,{height:50,width:50,src:ea("/images/p2p/check_mark-sm.png")})),r.createElement(aa,{display:"block",size:"small",shade:"dark"},da._("When you receive money, it will go on this card, too. You can update your card in {Link with text that goes to settings page}.",[da.param("Link with text that goes to settings page",r.createElement(i,{target:"_blank",href:k.settingsWWWURI},da._("Payments Settings")))]))),r.createElement(y,null,r.createElement(z,{action:"cancel",use:"default",onClick:this.handleConfirmationOKClick})));if(this.state.passwordProtectionNUXDialogShown)ia.passwordProtectionNUXDialog=r.createElement(l,{onComplete:this.onPasswordProtectionNUXComplete});if(this.state.underManualReviewDialogShown)ia.underManualReviewDialog=r.createElement(v,{layerHideOnBlur:false,ref:"under_manual_review_dialog",shown:true,width:300},r.createElement(w,{showCloseButton:false},da._("Reviewing Payment Info")),r.createElement(x,null,da._("For your security, this payment is in review for up to 24 hours. When it's confirmed, it will go through.")),r.createElement(y,null,r.createElement(u,{label:da._("OK"),onClick:this.onRiskResultDialogConfirmed,use:"confirm"})));return ia;},render:function(){var ia=da._("Send money"),ja='';if(this.props.receiver)ja=da._("{receiverName} is unable to receive money at the moment.",[da.param("receiverName",this.props.receiver.short_name)]);var ka=!this.props.disabled?ia:null,la=this.props.disabled?ja:'';return (r.createElement(t,{alignH:"center",className:((this.state.dialogShown?"open":'')+(this.props.disabled?' '+"disabled":'')+(this.props.theme!=='messenger'?' '+"_5uqy":'')),position:"above",tooltip:la,onClick:this._onButtonClick,onMouseDown:this._prepareForClick,title:ka,ref:"p2pSendMoneyButton"}));}});e.exports=ha;},null); -__d("SelectionPosition",["Event","InputSelection","SubscriptionsHandler","merge"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();function k(l){"use strict";this.$SelectionPosition0=l;this.$SelectionPosition1={start:0,end:0};this.$SelectionPosition2=new i();this.$SelectionPosition3=false;this.updatePos();this.enable();}k.prototype.getPos=function(){"use strict";return j(this.$SelectionPosition1);};k.prototype.setPos=function(l,m){"use strict";this.$SelectionPosition1={start:l,end:m};this.restore();};k.prototype.updatePos=function(){"use strict";this.$SelectionPosition1=h.get(this.$SelectionPosition0);};k.prototype.restore=function(){"use strict";h.set(this.$SelectionPosition0,this.$SelectionPosition1.start,this.$SelectionPosition1.end);};k.prototype.enable=function(){"use strict";if(!this.$SelectionPosition3){this.$SelectionPosition2.addSubscriptions(g.listen(this.$SelectionPosition0,'keyup',this.updatePos.bind(this)),g.listen(this.$SelectionPosition0,'click',this.updatePos.bind(this)));this.$SelectionPosition3=true;}};k.prototype.disable=function(){"use strict";if(this.$SelectionPosition3){this.$SelectionPosition2.release();this.$SelectionPosition3=false;}};e.exports=k;},null); -__d("XStickerReplyNUXController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/stickers\/tooltip\/",{});},null); -__d("MercurySeenByAll",["CSS","DataStore","MercuryDelayedRoger","DOM","MercuryIDs","MercuryViewer","MercuryThreads"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=b('MercuryThreads').get(),n={},o={updateOnSeenChange:function(q,r,s){n[q.tagName]=true;h.set(q,'thread-id',r.thread_id);g.addClass(q,'seenByListener');p(q,r,s);}};function p(q,r,s){var t=null;if(s){t=k.getParticipantIDFromUserID(s);}else t=l.getID();var u=r.participants.filter(function(w){return w!==t;}),v=r.participants.length>0&&r.participants[0]===t;g.conditionClass(q,'repliedLast',v);g.conditionClass(q,'seenByAll',v&&i.getSeenBy(r.thread_id).length===u.length);}i.subscribe('state-changed',function(q,r){for(var s in n){var t=j.scry(document.body,s+'.seenByListener');for(var u=0;u1){s.get(ta,function(ua){if(ua.short_name){h.appendContent(oa,ga._("{name}: {conversation_snippet}",[ga.param("name",ua.short_name),ga.param("conversation_snippet",ra)]));}else h.appendContent(oa,ra);});}else h.appendContent(oa,ra);},renderWebMessengerLink:function(na,oa,pa,qa){aa.getThreadURI(na,function(ra){oa.setAttribute('href',ra);pa&&pa();},qa);},renderThreadImage:function(na,oa){t.render(t.createElement(p,{thread:na,viewer:this._fbid}),oa);},renderParticipantList:function(na,oa,pa,qa){return q.renderRawParticipantList(this._serverRequests.getServerThreadIDNow(na),oa,pa,qa);},renderThreadNameAndParticipantList:function(na,oa,pa,qa){var ra=q.renderRawParticipantList(this._serverRequests.getServerThreadIDNow(na),oa,pa,qa),sa=this._threads.getThreadMetaNow(na);if(!sa.name)return ra;return ga._("{conversation_name} [with {participant_list}]",[ga.param("conversation_name",sa.name),ga.param("participant_list",ra)]);},renderParticipantCount:function(na,oa){return q.renderRawParticipantCount(oa);}});function ja(na){if(!na.snippet_attachments)return [];return na.snippet_attachments.filter(function(oa){return oa.attach_type===l.PHOTO;});}function ka(na,oa){var pa=ja(oa);if(pa.length===0)return;var qa=pa[0].thumbnail_url;if(!qa)return;var ra=(pa.length==1)?'snippet-thumbnail-single':'snippet-thumbnail-multiple',sa=na.getNode(ra);if(!sa)return;var ta=h.find(sa,'i');w.set(ta,'background-image','url('+qa+')');g.show(sa);}function la(na,oa){ca(na).forEach(function(pa){h.setContent(pa,oa);});}function ma(na,oa,pa,qa){pa=ca(pa);var ra=na._fbid;if(oa.name){pa.forEach(function(ta){t.render(t.createElement(r,{thread:oa,viewer:ra,showUnreadCount:!!qa.show_unread_count}),ta);});return;}var sa=oa.participants;if(oa.participants.length>1)sa=oa.participants.filter(function(ta){return ta!=m.getParticipantIDFromUserID(ra);});s.getMulti(sa,function(ta){q.renderParticipantListWithNoThreadName(na._serverRequests.getServerThreadIDNow(oa.thread_id),oa,sa,ta,pa,qa);});}e.exports=ia;},null); -__d("ChatTabView",["Arbiter","ArbiterMixin","AsyncDialog","AsyncRequest","AsyncSignal","AvailableListConstants","BanzaiODS","Bootloader","BootloadedComponent.react","ChatAddToThreadButton.react","ChatArchiveWarning.react","ChatBehavior","ChatCloseButton.react","ChatConfig","ChatContextualDialogController","ChatEmployeeAwayWarning","ChatOpenTab","ChatPhotoUploader.react","ChatPrivacyActionController","ChatQuietLinks","ChatShareLinkUploader","ChatStickerButton.react","ChatStickerTriggerController","ChatTabActions","ChatTabMenu.react","ChatTabMessagesView","ChatTabOfficeStatus","ChatTabSheetController","ChatTitleLink.react","ChatVisibility","ChatVideoCallButton.react","MercuryConstants","CurrentUser","CSS","CurrentLocale","Dialog","Dock","DOM","DOMEvent","DOMQuery","DragDropTarget","EmoticonsList","EmoticonUtils","Event","FBRTCCore","Focus","ImmutableObject","Input","Keys","Locale","LogHistory","MercuryIDs","MercuryFileUploader","MercuryLogMessageType","MercuryParticipants","MercuryShareAttachmentRenderLocations","MercurySharePreview.react","MercurySourceType","MercuryThreadInfo","MercuryThreadMetadataRawRenderer","MercuryThreadMuter","MercuryTypingReceiver","MercuryViewer","NubController","P2PSendMoneyButton.react","P2PTransferStore","Parent","PhotosUploadWaterfall","PresencePrivacy","PresenceStatus","React","Run","SelectionPosition","StickerActions","StickerConfig","StickerConstants","StickersFlyout.react","StickerState","Style","SubscriptionsHandler","SyntheticMouseEvent","ChatTabTemplates","TextAreaControl","Toggler","Tooltip","TypingDetectorController","URLScraper","URI","UserAgent_DEPRECATED","WaterfallIDGenerator","WebMessengerThreadPermalinks","XStickerReplyNUXController","copyProperties","createCancelableFunction","csx","cx","fbt","getActiveElement","isEmpty","setIntervalAcrossTransitions","ChatReactInput","MercuryMessageActions","MercuryMessages","MercuryMessageObject","MercuryServerRequests","MercuryThreadInformer","MercuryThreadMetadataRenderer","MercuryThreadActions","MercuryThreads"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,ma,na,oa,pa,qa,ra,sa,ta,ua,va,wa,xa,ya,za,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb,mb,nb,ob,pb,qb,rb,sb,tb,ub,vb,wb,xb,yb,zb,ac,bc,cc,dc,ec,fc,gc,hc,ic,jc,kc,lc,mc,nc,oc,pc,qc,rc,sc,tc,uc,vc,wc,xc,yc,zc,ad,bd){b.__markCompiled&&b.__markCompiled();'use strict';var cd=b('ChatReactInput').module,dd=b('MercuryMessageActions').get(),ed=b('MercuryMessages').get(),fd=b('MercuryMessageObject').get(),gd=b('MercuryServerRequests').get(),hd=b('MercuryThreadInformer').get(),id=b('MercuryThreadMetadataRenderer').get(),jd=b('MercuryThreadActions').get(),kd=b('MercuryThreads').get(),ld=/^\s*$/,md={},nd=null,od,pd=10,qd=960,rd=eb.getInstance('chat_tab_view');function sd(ne,oe){var pe=ra.create('div');oe=oe&&oe.filter(function(se){return se!=qb.getID();});if(ad(oe))return mc.remove(ne);var qe=oe.length,re=qe-pd;if(re>1)oe=oe.slice(0,pd);ib.getMulti(oe,function(se){for(var te in se){var ue=se[te],ve=jc[':fb:mercury:chat:multichat-tooltip-item'].build();ra.setContent(ve.getNode('name'),ue.name);var we=fb.getUserIDFromParticipantID(te),xe=we&&xb.get(we)==l.ACTIVE;na.conditionShow(ve.getNode('icon'),xe);na.conditionClass(ve.getNode('name'),'tooltipItemWithIcon',xe);ra.appendContent(pe,ve.getRoot());}if(re>1){var ye=yc._("and {number of hidden chat participants} more.",[yc.param("number of hidden chat participants",re)]);ra.appendContent(pe,ra.create('div',{},ye));}mc.set(ne,pe,'above');});}var td={},ud=null,vd=false;function wd(ne,oe,pe){if(pe){td[ne]=oe;if(!ud)ud=bd(xd,600);}else{na.removeClass(oe,'highlightTitle');delete td[ne];}}function xd(){for(var ne in td){var oe=td[ne];if(oe.parentNode){na.conditionClass(oe,'highlightTitle',vd);}else delete td[ne];}vd=!vd;if(!Object.keys(td).length){clearInterval(ud);ud=null;}}function yd(ne){var oe=fb.tokenize(ne);switch(oe.type){case 'user':return jc[':fb:mercury:chat:user-tab'].build();}return jc[':fb:mercury:chat:multichat-tab'].build();}function zd(ne){var oe=ne._getInputValue(),pe=ne._fileUploader.getAttachments();if(fe(ne))be(ne,oe,pe,function(qe){var re=ne._fileUploader.getImageFiles();if(re.length>0){qe.image_ids=re;qe.has_attachment=true;}var se=ne._fileUploader.getAnimatedImageFiles();if(se.length>0){qe.gif_ids=se;qe.has_attachment=true;}var te=ne._fileUploader.getVideoFiles();if(te.length>0){qe.video_ids=te;qe.has_attachment=true;}var ue=ne._fileUploader.getAudioFiles();if(ue.length>0){qe.audio_ids=ue;qe.has_attachment=true;}var ve=ne._fileUploader.getFiles();if(ve.length>0){qe.file_ids=ve;qe.has_attachment=true;}dd.send(qe);ne._fileUploader.removeAttachments();ne._shareLinkUploader&&ne._shareLinkUploader.clear();if(ne._sharePreview)ne._sharePreview.setProps({share:null,uri:null});if(!t.get('chat_react_input'))ne._getNode('input').value='';ne._typingDetector&&ne._typingDetector.resetState();ne._messagesView&&ne._messagesView.setShouldScrollToBottom(true);});}function ae(ne,oe){if(oe===0)return;ie(ne,vb.POST_PUBLISHED,{count:oe});ne._waterfallID=rc.generate();}function be(ne,oe,pe,qe){kd.getThreadMeta(ne._threadID,function(re){var se=lb.CHAT_WEB;if(ne._shareLinkUploader&&ne._shareLinkUploader.getAttachData()&&ne._shareLinkUploader.loadedFromFeed())se=lb.SAM_UFI;var te=fd.constructUserGeneratedMessageObject(oe,se,ne._threadID);if(pe.length>0){te.has_attachment=true;te.raw_attachments=pe;}if(ne._shareLinkUploader){var ue=ne._shareLinkUploader.getAttachData();if(ue){te.has_attachment=true;te.content_attachment=ue;}}if(ne._sharePreview){var ve=ne._sharePreview.getShareData();if(ve){te.has_attachment=true;te.shareable_attachment=ve;}}if(kd.isNewEmptyLocalThread(ne._threadID)){var we=ne._sheetController.getAddFriendsParticipants();if(we===null||we.length===0)return;we=we.filter(function(ye){return ye!=qb.getID();});if(we.length===0){te.thread_id=fb.getThreadIDFromUserID(ma.getID());}else if(we.length===1){te.thread_id=fb.getThreadIDFromParticipantID(we[0]);}else jd.addParticipants(ne._threadID,we);}if(kd.isEmptyLocalThread(ne._threadID)){te.message_id=fb.tokenize(ne._threadID).value;var xe=kd.getThreadMetaNow(re.thread_id);te.specific_to_list=Array.from(xe.participants);}if(typeof te!='undefined')te.signatureID=ne._signatureID;te.ui_push_phase=la.UIPushPhase;qe(te);if(ne._threadID!==te.thread_id&&!ne._photoUploader.isUploading()){da.closeTab(ne._threadID);w.openThread(te.thread_id,'ChatTabView');}});}function ce(ne){ne._blocked=true;ne._sheetController.openUploadWarningTabSheet();}function de(ne){return (ne._fileUploader.isUploading()||ne._photoUploader.isUploading()||(ne._sharePreview&&ne._sharePreview.isLoading()));}function ee(ne){return ne._fileUploader.isUploading();}function fe(ne){var oe=ne._getInputValue();if(!ld.test(oe))return true;if(ne._fileUploader.getAttachments().length>0||ne._fileUploader.getImageFiles().length>0||ne._fileUploader.getAnimatedImageFiles().length>0||ne._fileUploader.getVideoFiles().length>0||ne._fileUploader.getAudioFiles().length>0||ne._fileUploader.getFiles().length>0)return true;if(ne._shareLinkUploader&&ne._shareLinkUploader.getAttachData())return true;if(ne._sharePreview&&ne._sharePreview.getShareData())return true;return false;}function ge(ne){if(!ne._blocked||ee(ne))return;ne._blocked=false;zd(ne);ne._sheetController.closeUploadWarningTabSheet();}function he(ne){ne._nubController.flyoutContentChanged();var oe=ne._getNode('attachmentShelf');oe.scrollTop=oe.scrollHeight;}function ie(ne,oe,pe){vb.sendSignal(uc({qn:ne._waterfallID,step:oe,uploader:vb.APP_CHAT},pe||{}));}function je(ne,oe,pe,qe,re){if(oe)gd.ensureThreadIsFetched(oe);this._threadID=ne;this._signatureID=pe;this._eventListeners=[];this._tabTemplate=yd(ne);this._tabElem=this._tabTemplate.getRoot();if(re){this.insertBefore(re);}else this.appendTo(qe);this._titlebar=this._getNode('nubFlyoutTitlebar');this._iconsContainerNode=this._getNode('iconsContainer');this._inputContainerNode=this._getNode('inputContainer');this._waterfallID=rc.generate();this._subscriptionsHandler=new hc();this._initializeAutoSendPhotoUploader();this._stickersFlyoutShown=false;var se=ta.scry(this._tabElem,"._1ia");if(se&&se.length>0){this._dropTarget=new ua(se[0]);this._dropTarget.setOnFilesDropCallback(this._filesDropped.bind(this));this._dropTarget.setOnURLDropCallback(this._linkDropped.bind(this));this._dropTarget.enable();}this._sheetController=new ha(this._threadID,this._getNode('sheet'),this._tabElem,this);if(t.get('chat_react_option_menu')){this._initializeReactMenu(this._getNode('fileAttachmentShelf'));}else{this._fileUploader=new gb(this._getNode('fileAttachmentShelf'),this._tabTemplate.getNode('attachButtonForm'),this._tabTemplate.getNode('fileInput'),this._tabTemplate.getNode('attachID'));this._initializeUploader(this._fileUploader);}this._initializeArchiveWarning();this._initializeAddToThreadButton();this._initializeVideoCallButton();this._initializeCloseButton();this._initializeTitle();this._sheetController.onClickNewMessagesSheet(function(){this._messagesView&&this._messagesView.scrollToBottom();this.focus();this.tryMarkAsRead();}.bind(this));this._sheetController.onClickThreadIsMutedSheet(function(){jd.unmute(this._threadID);this.focus();}.bind(this));this._nubController=new rb().init(this._tabElem);this._sheetController.onResize(this._nubController.flyoutContentChanged.bind(this._nubController));this._sheetController.onTokensChanged(function(xe,ye){kd.getThreadMeta(this._threadID,function(ze){this._updateControls(ze,ye.token_count);}.bind(this));}.bind(this));if(nd===null)nd=!t.get('seen_autosend_photo_nux');this._messagesView=null;if(t.get('chat_react_option_menu')){sc.getThreadURI(ne,function(xe){return this._setTitleHref(xe);}.bind(this));}else{var te=this._getNode('conversationLink');na.hide(te);id.renderWebMessengerLink(ne,te,function(){na.show(te);this._setTitleHref(te.href);}.bind(this));}if(!fb.getUserIDFromThreadID(this._threadID))this._titlebarTooltipAnchor=this._getNode('titlebarText');var ue=this._getCanonicalUserID();if(this._getCanonicalUserID()){ib.get(fb.getParticipantIDFromUserID(ue),function(xe){if(xe.href)this._setTitleHref(xe.href);}.bind(this));}else if(t.get('chat_react_option_menu')&&this._reactChatTabMenu.getURL()){this._setTitleHref(this._reactChatTabMenu.getURL());}else if(te&&te.href)this._setTitleHref(te.href);this._nubController.subscribe('resize',function(){this._resizeInputContainer();}.bind(this));this._setNameConversationLink();this._listen('closeButton','click',this._closeClicked);this._listen('dockButton','click',this._nubClicked);this._listen('dockButton','keydown',this._dockKeyDown);this._listen('nubFlyoutTitlebar','click',this._titleClicked);this._listen('chatConv','click',this._chatConvClicked);this._listen('inputContainer','click',this._inputContainerClicked);this._listen('addFriendLink','click',this._addFriendLinkClicked,true);this._listen('nameConversationLink','click',this._nameConversationLinkClicked,true);this._listen('clearWindowLink','click',this._clearHistory,true);this._listen('unsubscribeLink','click',this._unsubscribeLinkClicked,true);this._listen('reportSpamLink','click',this._reportSpamClicked,true);this._listen('createGroupLink','click',this._createGroupClicked,true);this._listen('enableDesktopNotif','click',this._enableDesktopNotif,true);this._listen('muteThreadLink','click',ob.showMuteChangeDialog.bind(null,this._threadID,null),true);this._listen('unmuteThreadLink','click',function(){jd.unmute(this._threadID);lc.hide();}.bind(this),true);this._listen('switchToWorkUserLink','click',this._switchToWorkUserClicked,true);this._listen('sheet','keydown',function(event){if(!event.getModifiers().any&&event.keyCode===cb.TAB){this._focusInput();event.kill();}}.bind(this));if(this._getNode('officeStatus'))this._listen('officeStatus','click',function(){return false;},true);this._stickersFlyoutToggler=this._getNode('emoticons');if(cc.WebStickerTrigger)this._stickerTriggerController=new ca(this._getNode('stickersTriggerFlyoutContainer'),this._getNode('emoticonIndicator'),this._stickersFlyoutToggler,this._stickerSelected.bind(this),this._searchStickers.bind(this));this._initializeInput();if(fc.shouldShowStickerSearchNUX())this._listen('emoticons','click',function(){if(fc.shouldShowStickerSearchNUX()){bc.selectPack(dc.SEARCH_PACK_ID);fc.clearShowStickerSearchNUX();}},true);if(t.get('chat_react_sticker_button')){this._stickerButton=yb.render(yb.createElement(ba,{className:"_4vui",flyoutAlignment:"left",onFlyoutShown:this._onFlyoutShown.bind(this),onFlyoutHidden:this._onFlyoutHidden.bind(this),onStickerSelect:this._stickerSelected.bind(this),onEmoticonSelect:this._emoticonSelected.bind(this)}),this._getNode('stickerButtonContainer'));m.bumpEntityKey('chat.web','sticker_button.mounting_attempted');}else{var ve=this._getNode('stickers');if(ve)this._stickersFlyout=yb.render(yb.createElement(ec,{onStickerSelect:function(xe){this._stickerSelected(xe);}.bind(this),onShown:this._onFlyoutShown.bind(this),onHidden:this._onFlyoutHidden.bind(this),onEmoticonSelect:this._emoticonSelected.bind(this),onEscKeyDown:this._hideStickersFlyoutIfShown.bind(this)}),ve);this._eventListeners.push(fc.addListener(fc.PACK_SELECTED,function(xe){if(this._stickersFlyout&&this._stickersFlyout.isMounted())this._stickersFlyout.setProps({packID:xe});}.bind(this)));}this._renderOrionTrigger();if(!this._isP2PEnabled())this._transferStoreSub=tb.addListener('change',this._onP2PTransferStoreChange.bind(this));this._privacyLink=this._getNode('privacyLink');if(this._privacyLink){this._privacyActionController=new y(ue,this._updatePrivacyLink.bind(this));this._eventListeners.push(xa.listen(this._privacyLink,'click',this._privacyActionController.togglePrivacy.bind(this._privacyActionController)));}kd.getThreadMeta(this._threadID,function(xe){this._setUpMutingSettings(xe);}.bind(this));z.removeEmptyHrefs(this._tabElem);md[ne]=this;this.updateAvailableStatus();this.updateTab();this._setCloseTooltip(false);var we={threadID:ne,userID:ue,signatureID:this._signatureID};new k('/ajax/chat/opentab_tracking.php',we).send();this._checkUnsentMessages=vc(function(){if(this._hasUnfinishedPost())return yc._("You haven't sent your message yet. Do you want to leave without sending?");if(ed.getNumberLocalMessages(this._threadID))return yc._("Your message is still being sent. Are you sure you want to leave?");return null;}.bind(this));zb.onBeforeUnload(this._checkUnsentMessages,false);this._logUnsentPhotos=vc(ke.bind(null,this));zb.onUnload(this._logUnsentPhotos);}function ke(ne){if(ne._photoUploader.isUploading())ie(ne,vb.CANCEL_DURING_UPLOAD);}function le(){for(var ne in md){md[ne].updateAvailableStatus();md[ne].updateMultichatTooltip();}}g.subscribe(['buddylist/availability-changed'],le);wb.subscribe(['privacy-changed','privacy-availability-changed'],le);r.subscribe(r.ON_CHANGED,function(){for(var ne in md)kd.getThreadMeta(ne,function(oe){md[ne]._updateUnreadCount(oe);});});pb.addRetroactiveListener('state-changed',function(ne){for(var oe in ne){var pe=ne[oe]&&ne[oe].length,qe=md[oe];qe&&qe.showTypingIndicator(pe);}});hd.subscribe('threads-updated',function(ne,oe){for(var pe in md){var qe=md[pe];oe[pe]&&qe.updateTab();if(qe._newThreadIDFromPhotoUpload&&!qe._photoUploader.isUploading()&&oe[qe._newThreadIDFromPhotoUpload]){da.closeTab(qe._threadID);w.openThread(qe._newThreadIDFromPhotoUpload,'ChatTabView');qe._newThreadIDFromPhotoUpload=null;}}});hd.subscribe('threads-deleted',function(ne,oe){for(var pe in md)oe[pe]&&da.closeTab(pe,'thread_deleted');});uc(je,h,{get:function(ne){return md[ne];}});uc(je.prototype,{getThreadID:function(){return this._threadID;},showAddFriend:function(){setTimeout((function(){this._sheetController.openAddFriendsSheet();}).bind(this),0);},showNameConversation:function(ne){setTimeout((function(){this._sheetController.openNameConversationSheet(ne);}).bind(this),0);},hideAutomaticNameConversation:function(){setTimeout((function(){this._sheetController.closeAutomaticNameConversationSheet();}).bind(this),0);},isVisible:function(){return na.shown(this._tabElem);},setVisibleState:function(ne,oe){var pe=na.shown(this._tabElem),qe=na.hasClass(this._tabElem,'opened');na.conditionShow(this._tabElem,ne);na.conditionClass(this._tabElem,'opened',oe);if(!(pe&&qe)&&ne&&oe){if(!this._messagesView)this._messagesView=new fa(this._threadID,this._sheetController,this._getNode('chatConv'),this._getNode('conversation'),this._getNode('loadingIndicator'),this._getNode('lastMessageIndicator'),this._getNode('typingIndicator'),this);this._nubController.flyoutContentChanged();this._messagesView.scrollToBottom();}if(pe&&qe&&!(ne&&oe))this._contextualDialogController&&this._contextualDialogController.tabNotActive();},focus:function(){if(na.hasClass(this._tabElem,'opened')){this._focusInput();}else this._getNode('dockButton').focus();},isFocused:function(){var ne=zc();return ub.byClass(ne,"_50mz")===this._tabElem;},hasEmptyInput:function(){var ne;if(t.get('chat_react_input')){if(!this._chatInput||!this._chatInput.isMounted())return false;ne=this._chatInput.getValue();}else ne=this._getNode('input').value;return ld.test(ne);},getInputElem:function(){if(t.get('chat_react_input')){if(!this._chatInput||!this._chatInput.isMounted())return null;return yb.findDOMNode(this._chatInput);}else return this._getNode('input');},setStickersFlyoutPackID:function(ne){if(this._stickerButton){this._setPackIDReact(ne);}else this._setPackIDLegacy(ne);},loadShareFromParams:function(ne,oe){this._shareLinkUploader&&this._shareLinkUploader.loadShareFromParams(ne,oe);if(this._sharePreview)this._sharePreview.setProps({share:{params:oe,type:ne},uri:null});},_linkDropped:function(ne){this._shareLinkUploader&&this._shareLinkUploader.loadShare(ne);if(this._sharePreview)this._sharePreview.setProps({share:null,uri:ne});},_filesDropped:function(ne){if(this._fileUploader)this._fileUploader.addDroppedFiles(ne);},_setPackIDLegacy:function(ne){var oe=this._stickersFlyout;if(!this._stickersFlyoutToggler||!oe||!oe.isMounted())return;bc.selectPack(ne);this._toggleStickersFlyoutShownLegacy(true);},_setPackIDReact:function(ne){if(!this._stickerButton.isMounted())return;bc.selectPack(ne);this._toggleStickersFlyoutShownReact(true);},_toggleStickersFlyoutShownReact:function(ne){this._stickerButton.showFlyout();this._stickersFlyoutShown=ne;},_toggleStickersFlyoutShownLegacy:function(ne){if(ne){lc.show(this._stickersFlyoutToggler);}else lc.hide(this._stickersFlyoutToggler);this._stickersFlyoutShown=ne;},_hideStickersFlyoutIfShown:function(){if(this._stickersFlyoutToggler&&this._stickersFlyout&&this._stickersFlyoutShown)this._toggleStickersFlyoutShownLegacy(false);},showStickerReplyNUX:function(){if(od)return;var ne=this._getNode('stickerButtonContainer')||this._getNode('emoticons');new j(tc.getURIBuilder().getURI()).setRelativeTo(ne).setData({thread_id:this._threadID}).setHandler(function(oe){fc.clearShowStickerReplyNUX();}).send();},insertBefore:function(ne){ra.insertBefore(ne._tabElem,this._tabElem);},appendTo:function(ne){ra.appendContent(ne,this._tabElem);},nextTabIs:function(ne){var oe=ne&&ne._tabElem;return this._tabElem.nextSibling==oe;},getScrollTop:function(){return ra.find(this._tabElem,'.fbNubFlyoutBody.scrollable').scrollTop;},setScrollTop:function(ne){ra.find(this._tabElem,'.fbNubFlyoutBody.scrollable').scrollTop=ne;},_unmountComponentAtNodeSafe:function(ne){var oe=this._getNode(ne);oe&&yb.unmountComponentAtNode(oe);},destroy:function(){this._selectionPosition&&this._selectionPosition.disable();while(this._eventListeners.length)this._eventListeners.pop().remove();if(this._dropTarget)this._dropTarget.disable();this._checkUnsentMessages&&this._checkUnsentMessages.cancel();this._logUnsentPhotos&&this._logUnsentPhotos.cancel();this._messagesView&&this._messagesView.destroy();this._sheetController&&this._sheetController.destroy();if(t.get('chat_react_option_menu')){yb.unmountComponentAtNode(this._getNode('menuContainer'));}else this._fileUploader&&this._fileUploader.destroy();if(t.get('chat_react_header')){yb.unmountComponentAtNode(this._getNode('addToThreadContainer'));this._unmountComponentAtNodeSafe('archiveContainer');this._unmountComponentAtNodeSafe('videoCallButtonContainer');yb.unmountComponentAtNode(this._getNode('closeButtonContainer'));yb.unmountComponentAtNode(this._getNode('titleContainer'));}if(t.get('chat_react_share_uploader')&&this._sharePreview&&this._sharePreview.isMounted()){yb.unmountComponentAtNode(yb.findDOMNode(this._sharePreview));}else this._shareLinkUploader&&this._shareLinkUploader.clear();try{yb.unmountComponentAtNode(this._getNode('photoUploaderContainer'));}catch(ne){m.bumpEntityKey('chat.web','chattab.unmount_failed');}if(t.get('chat_react_sticker_button')){yb.unmountComponentAtNode(this._getNode('stickerButtonContainer'));}else yb.unmountComponentAtNode(this._getNode('stickers'));if(cc.WebStickerTrigger)this._stickerTriggerController.destroy();this._subscriptionsHandler&&this._subscriptionsHandler.release();this._contextualDialogController&&this._contextualDialogController.destroy();this._privacyActionController&&this._privacyActionController.destroy();if(t.get('chat_react_input')){yb.unmountComponentAtNode(this._getNode('inputContainer'));}else bb.reset(this._getNode('input'));ra.remove(this._tabElem);delete md[this._threadID];qa.unregisterNubController(this._nubController);},updateAvailableStatus:function(){kd.getThreadMeta(this._threadID,function(ne){var oe=l.OFFLINE,pe=false,qe=this._getCanonicalUserID();if(qe){oe=xb.get(qe);pe=ya.isAvailableForWebrtcCalling(qe);}else{var re=ne.participants.map(function(te){return fb.getUserIDFromParticipantID(te);});oe=xb.getGroup(re);}if(!ja.isOnline())oe=l.OFFLINE;if(qe)this._updateCallLink();na.conditionClass(this._tabElem,"_5238",oe===l.ACTIVE);na.conditionClass(this._tabElem,"_4hwz",pe);na.conditionClass(this._tabElem,"_5239",oe===l.MOBILE);var se=this._getNode('presenceIndicator');switch(oe){case l.ACTIVE:se.setAttribute('alt',yc._("Online"));break;case l.MOBILE:se.setAttribute('alt',yc._("Mobile"));break;default:se.removeAttribute('alt');break;}}.bind(this));},updateTab:function(){this._setNameConversationLink();kd.getThreadMeta(this._threadID,function(ne){var oe=[this._getNode('name')];if(!t.get('chat_react_header')){oe.push(this._getNode('titlebarText'));}else if(this._title.isMounted())this._title.setProps({thread:ne},function(){this._getNode('chatWrapper').setAttribute('aria-label',this._title.getTitle());}.bind(this));id.renderAndSeparatedParticipantList(this._threadID,oe,{names_renderer:nb.renderShortNames,check_length:true});this._updateControls(ne);this._updateMutingSettings(ne);this._updateUnreadCount(ne);this.updateMultichatTooltip();this._updateArchiveWarning(ne);this._updateEmployeeAwayWarning(ne);this._updateOfficeStatus(ne);this._updateNewThread(ne);this._updateNameConversationSheet(ne);this._updateReadOnlySheet(ne);this._updateSwitchToWork(ne);}.bind(this));},_setNameConversationLink:function(){var ne=this._getNode('nameConversationLink');if(ne)kd.isEmptyLocalThread(this._threadID)?na.hide(ne):na.show(ne);},_updateNameConversationSheet:function(ne){if(mb.canReply(ne)&&!ne.name&&!ne.is_canonical&&!ne.name_conversation_sheet_dismissed&&!ne.has_email_participant&&!ne.read_only&&!kd.isEmptyLocalThread(ne.thread_id)){this.showNameConversation(true);}else this.hideAutomaticNameConversation();},_updateReadOnlySheet:function(ne){var oe=mb.canReply(ne),pe=kd.isEmptyLocalThread(ne.thread_id);if(!oe&&!pe)this._sheetController.openReadOnlySheet();},updateSignatureID:function(ne){this._signatureID=ne;},_showPhotoNUXIfNecessary:function(){if(nd){nd=false;new j('/ajax/chat/photo_nux.php').setRelativeTo(this._getNode('photoUploaderContainer')).setData({threadID:this._threadID}).send();return true;}},_setUpMutingSettings:function(ne){var oe=mb.isMuted(ne);if(oe)this._sheetController.openThreadIsMutedTabSheet();this._updateActionMenu(oe);},_updateMutingSettings:function(ne){var oe=mb.isMuted(ne),pe;if(t.get('chat_react_option_menu')){pe=this._reactChatTabMenu.props.isMuted;}else pe=na.shown(this._getNode('unmuteThreadLink').parentNode);if(oe&&!pe){this._sheetController.openThreadIsMutedTabSheet();}else if(!oe&&pe)this._sheetController.closeThreadIsMutedTabSheet();this._updateActionMenu(oe);},_updateActionMenu:function(ne){if(t.get('chat_react_option_menu')){this._reactChatTabMenu.isMounted()&&this._reactChatTabMenu.setProps({isMuted:ne});}else{na.conditionShow(this._getNode('muteThreadLink').parentNode,!ne);na.conditionShow(this._getNode('unmuteThreadLink').parentNode,ne);}},_updateArchiveWarning:function(ne){if(ma.isEmployee())ib.getMulti(ne.participants,this._showArchiveWarningIfAllParticipantsAreEmployees.bind(this));},_updateEmployeeAwayWarning:function(ne){v.updateEmployeeAwayWarning(ne,function(){this._sheetController.openEmployeeAwaySheet();}.bind(this),function(){});},_updateOfficeStatus:function(ne){var oe=this._getNode('officeStatus');if(!oe||fb.isMultichat(ne.thread_id))return;var pe=fb.getParticipantIDFromUserID(ne.canonical_fbid);ib.get(pe,function(qe){ga.update(oe,qe);});},_updateSwitchToWork:function(ne){if(ma.isEmployee()&&ma.hasWorkUser()&&fb.isMultichat(ne.thread_id)){ib.getMulti(ne.participants,function(oe){this._showSwitchToWork(this._isEmployeesOnly(oe));}.bind(this));}else this._showSwitchToWork(false);},_updateControls:function(ne,oe){var pe=false;if(ne&&ne.thread_id){var qe=fb.tokenize(ne.thread_id);if(qe.type==='user'){var re=qe.value;pe=!gd.isUser(re);}}var se=mb.canReply(ne)&&(!ad(ne.participants)||!!oe);na.conditionShow(this._inputContainerNode,se);na.conditionShow(this._iconsContainerNode,se);if(!t.get('chat_react_option_menu')){na.conditionShow(this._getNode('dropdown'),se);}else if(this._reactChatTabMenu.isMounted()){this._reactChatTabMenu.setProps({isEmptyChat:kd.isNewEmptyLocalThread(ne.thread_id),show:se});if(pe)this._reactChatTabMenu.setProps({showAddFriend:null});}var te=se&&!pe;if(t.get('chat_react_header')){this._addToThreadButton.isMounted()&&this._addToThreadButton.setProps({shown:te});}else na.conditionShow(this._getNode('addToThreadLink'),te);this._resizeInputContainer();this._updateOrionTrigger(se);},_updateOrionTrigger:function(ne){if(this._orionTrigger&&ne){this._setOrionTriggerProps();}else if(!this._orionTrigger)this._renderOrionTrigger();},_setOrionTriggerProps:function(){var ne=this.getParticipantIDForOrionNUX(),oe=true;na.conditionShow(this._orionTriggerContainer,ne);if(ne){ib.get(ne,function(pe){pe=ab.set(pe,{userId:this._getUserIdFromParticipantID(ne)});if(pe.orion_eligible||tb.hasReceivedFromSender(pe.userId))oe=false;this._orionTrigger.setProps({receiver:pe,disabled:oe});}.bind(this));}else this._orionTrigger.setProps({receiver:{}});},_getUserIdFromParticipantID:function(ne){return fb.getUserIDFromParticipantID(ne);},_onP2PTransferStoreChange:function(){this._renderOrionTrigger();if(this._transferStoreSub){this._transferStoreSub.remove();this._transferStoreSub=null;}},_isP2PEnabled:function(){return t.get('p2p_enabled');},_renderOrionTrigger:function(){var ne=this._isP2PEnabled()||tb.hasTransfers();if(ne){this._orionTriggerContainer=this._getNode('orionTriggerContainer');this._orionTrigger=yb.render(yb.createElement(sb,{onTrigger:this._orionTriggered.bind(this)}),this._orionTriggerContainer);na.addClass(this._inputContainerNode,"_11d6");this._setOrionTriggerProps();}},getParticipantIDForOrionNUX:function(){var ne=this._sheetController.getAddFriendsTabSheet(),oe=ne.getParticipants(),pe=this._getCanonicalUserID(),qe=null;if(pe){qe=fb.getParticipantIDFromUserID(pe);}else if(oe&&oe.length===1)qe=oe[0];return qe;},_resizeInputContainer:function(){var ne=this._tabElem.clientWidth,oe=2,pe=ne-(this._inputContainerNode.clientWidth+oe),qe=db.isRTL()?'left':'right';gc.set(this._iconsContainerNode,qe,pe+'px');if(!t.get('chat_react_input'))kc.getInstance(this._getNode('input')).update();},_updateNewThread:function(ne){if(kd.isNewEmptyLocalThread(ne.thread_id))this.showAddFriend();},_isEmployeesOnly:function(ne){for(var oe in ne)if(!ne[oe].employee)return false;return true;},_showArchiveWarningIfAllParticipantsAreEmployees:function(ne){var oe=this._isEmployeesOnly(ne),pe=t.get('chat_react_header'),qe=pe?this._getNode('archiveContainer'):this._getNode('titanArchiveWarning');if(qe){if(this._titlebarTooltipAnchor)na.conditionClass(this._titlebarTooltipAnchor,'narrowTitleBar',oe);if(pe){this._archiveWarning.isMounted()&&this._archiveWarning.setProps({shown:oe});}else na.conditionShow(qe,oe);}},_showSwitchToWork:function(ne){if(!t.get('chat_react_option_menu')){var oe=this._getNode('switchToWorkUserLink');if(oe)na.conditionShow(oe,ne);}else if(this._reactChatTabMenu.isMounted())this._reactChatTabMenu.setProps({hasSwitchToWork:ne});},updateMultichatTooltip:function(){kd.getThreadMeta(this._threadID,function(ne){if(!ne.is_canonical){var oe;if(t.get('chat_react_header')){oe=yb.findDOMNode(this._title);}else oe=this._titlebarTooltipAnchor;sd(oe,ne.participants);}}.bind(this));},_getNode:function(ne){return this._tabTemplate.getNode(ne);},_getCanonicalUserID:function(){return fb.getUserIDFromThreadID(this._threadID);},_listen:function(ne,event,oe,pe){var qe=this._getNode(ne);if(qe){this._eventListeners.push(xa.listen(qe,event,oe.bind(this)));}else if(!pe)throw new Error('Could not find node "'+ne+'"');},_closePreClicked:function(ne){this._closeMouseDown=true;},_closeClicked:function(ne){ke(this);da.closeTab(this._threadID);if(ne instanceof ic){ne.stopPropagation();return;}ne.kill();},_closeEnter:function(ne){if(ne.keyCode===cb.RETURN)this._closeClicked(ne);},_nubClicked:function(ne){ne.kill();return je.inform('nub-activated',this._threadID);},_dockKeyDown:function(event){if(event.keyCode===cb.RETURN||event.keyCode===cb.SPACE){je.inform('nub-activated',this._threadID);event.kill();}else this._handleHotkeyPressed(event);},_handleHotkeyPressed:function(event){if(event.keyCode===cb.ESC){this._handleEscape();if(t.get('chat_react_input'))event=new sa(event);event.kill();}else if(event.keyCode===cb.TAB)this._handleTabPressed(event);},_handleTabPressed:function(event){if(!event.ctrlKey){var ne=je.inform('tab-pressed',{id:this._threadID,shiftPressed:event.shiftKey});if(t.get('chat_react_input'))event=new sa(event);!ne&&event.kill();return true;}},_handleEscape:function(){if(this._stickersFlyoutShown){this._stickerButton?this._toggleStickersFlyoutShownReact(false):this._toggleStickersFlyoutShownLegacy(false);return;}ke(this);if(this.hasEmptyInput()){je.inform('esc-pressed',this._threadID);}else{var ne=yc._("Are you sure you want to close this chat window?"),oe=yc._("You haven't sent your message."),pe=new pa().setTitle(ne).setBody(oe).setButtons([pa.CLOSE,pa.CANCEL]).setHandler(je.inform.bind(je,'esc-pressed',this._threadID,null)).setModal(true).show(),qe=pe.getButtonElement('yes');qe&&za.set(qe);}},_titleClicked:function(event){var ne=event.getTarget();if(!ub.byClass(ne,'titlebarText')&&!ub.byClass(ne,'uiSelector')&&!ub.byClass(ne,'addToThread')&&!ub.byClass(ne,'optionMenu')&&!ub.byClass(ne,'videoicon')&&!ub.byClass(ne,'close')){event.kill();da.lowerTab(this._threadID);this.focus();}},_callEnter:function(ne){if(ne.keyCode===cb.RETURN)this._callClicked(ne);},_callClicked:function(ne){if(ne.target)ne.target.blur();var oe=this._getCanonicalUserID();if(ya.isAvailableForWebrtcCalling(oe)){var pe='chat_tab_icon';if(ne.target&&na.hasClass(ne.target,'video_call_tour'))pe='chat_tab_icon_tour';je.inform('video-call-clicked',{threadID:this._threadID,userID:oe,clickSource:pe});}if(t.get('chat_react_header')){ne.stopPropagation();}else return false;},_addFriendLinkClicked:function(){this.showAddFriend();},_nameConversationLinkClicked:function(){this.showNameConversation();},_showParticipantsClicked:function(){gd.getServerThreadID(this._threadID,function(ne){i.send(new j(pc('/ajax/browser/dialog/multichat_members/').addQueryData({id:ne})));});},_clearHistory:function(){var ne=kd.getThreadMetaNow(this._threadID);if(ne){var oe=this._getCanonicalUserID();gd.clearChat(this._threadID,oe,ne.timestamp);}},_unsubscribeLinkClicked:function(){var ne=[];ne.push({name:'unsubscribe',label:yc._("Leave Conversation"),handler:this._unsubscribeToThread.bind(this)});ne.push(pa.CANCEL);new pa().setTitle(yc._("Leave conversation?")).setBody(yc._("You will stop receiving messages from this conversation and people will see that you left.")).setButtons(ne).show();},_switchToWorkUserClicked:function(){var ne=[];ne.push({name:'move',label:yc._("Move Conversation"),handler:this._switchToWork.bind(this)});ne.push(pa.CANCEL);new pa().setTitle(yc._("Move Conversation to Work Account?")).setBody(yc._("Do you want to move this conversation so that it is shown in your work account instead?")).setButtons(ne).show();},_getUserParticipants:function(ne){var oe=[];ne.forEach(function(pe){var qe=fb.getUserIDFromParticipantID(pe);qe&&oe.push(qe);});return oe;},_createGroupClicked:function(){kd.getThreadMeta(this._threadID,function(ne){if(!ne.is_canonical){var oe=pc('/ajax/groups/create_get.php').addQueryData({ref:'web_messenger_dock',parent_id:'0'}),pe=this._getUserParticipants(ne.participants);oe.addQueryData({members:pe});if(ne.name)oe.addQueryData({name:ne.name});i.send(new j(oe));}}.bind(this));},_enableDesktopNotif:function(){Notification.requestPermission();},_reportSpamClicked:function(){var ne=this._getCanonicalUserID(),oe=pc('/ajax/chat/report.php').addQueryData({id:ne}).addQueryData({src:'top_report_link'});i.send(new j(oe));},_inputPasted:function(event){if(qc.chrome()){var ne=event.clipboardData||event.originalEvent.clipboardData;if(!ne||!ne.items||ne.items.length<1)return;var oe=ne.items[0].type;if(oe!=='image/png')return;if(ne.items[0].getAsFile){var pe=ne.items[0].getAsFile();this._photoUploader.uploadFile(pe);}}},_focusInput:function(){if(t.get('chat_react_input')){this._chatInput&&this._chatInput.isMounted()&&this._chatInput.focus();}else this._getNode('input').focus();},_focusTab:function(){na.addClass(this._tabElem,'focusedTab');this.tryMarkAsRead();this._contextualDialogController&&this._contextualDialogController.tabFocused();if(!od&&this._showPhotoNUXIfNecessary())g.subscribe(['ChatNUX/show','ChatNUX/hide'],function(event){od=event==='ChatNUX/show';});this._closeMouseDown=false;this._setCloseTooltip(true);je.inform('focus-tab',this._threadID);},_blurTab:function(){na.removeClass(this._tabElem,'focusedTab');!this._closeMouseDown&&this._setCloseTooltip(false);},_setCloseTooltip:function(ne){if(t.get('chat_react_header')){this._closeButton.isMounted()&&this._closeButton.setProps({active:ne});return;}var oe=this._getNode('titlebarCloseButton'),pe=ne?yc._("Press Esc to close"):yc._("Close tab");mc.set(oe,pe,'above');},_inputKeyDown:function(event){this.tryMarkAsRead();if(event.keyCode===cb.RETURN&&!event.shiftKey){if(ee(this)){ce(this);event.kill&&event.kill();return;}zd(this);if(cc.WebStickerTrigger)this._stickerTriggerController.activateAfterparty();event.kill&&event.kill();return;}if(event.keyCode===cb.DOWN&&event.shiftKey&&this.hasEmptyInput()){event.kill&&event.kill();da.lowerTab(this._threadID);this.focus();return;}this._handleHotkeyPressed(event);},_initializeInput:function(){if(!t.get('chat_react_input')){var ne=this._inputContainerNode.clientHeight;kc.getInstance(this._getNode('input')).subscribe('resize',function(){var oe=this._inputContainerNode.clientHeight;if(oe!=ne)this._nubController.flyoutContentChanged();ne=oe;}.bind(this));this._listen('input','focus',this._focusTab);this._listen('input','blur',this._blurTab);this._listen('input','paste',this._inputPasted);if(qc.firefox()&&oa.get()=='ko_KR'){this._listen('input','keyup',this._inputKeyDown);}else this._listen('input','keydown',this._inputKeyDown);this._initializeThingsWithInputFn(this._tabTemplate.getNode('input'));}else{this._chatInput=yb.render(yb.createElement(cd,{initializeThingsWithInputFn:this._initializeThingsWithInputFn.bind(this),inputChanged:function(oe){if(cc.WebStickerTrigger)this._stickerTriggerController.updateInput(oe);}.bind(this),inputKeyDown:this._inputKeyDown.bind(this),onAddMention:this._onAddMention.bind(this),onBlur:this._blurTab.bind(this),onEscape:this._handleEscape.bind(this),onFocus:this._focusTab.bind(this),onTab:this._handleTabPressed.bind(this),openFlyoutFn:this._toggleStickersFlyoutShownLegacy.bind(this,true),stickersFlyoutToggler:this._stickersFlyoutToggler,searchTriggeredWord:function(){this._toggleStickersFlyoutShownLegacy(true);this._searchStickers(this._stickerTriggerController.getTriggeredWord());}.bind(this),resizeFn:function(oe){gc.set(this._getNode('inputContainer'),'height',oe+'px');this._nubController.flyoutContentChanged();}.bind(this),uploadPhotoFn:this._photoUploader.uploadFile}),this._getNode('chatInputContainer'));if(cc.WebStickerTrigger)this._stickerTriggerController.setInput(this._chatInput);}},_initializeSharePreview:function(ne,oe){this._sharePreview=yb.render(yb.createElement(kb,{imageSize:{width:qd,height:qd},location:jb.CHAT_PREVIEW,onClose:this._focusInput.bind(this),onUpdate:function(){he(this);ge(this);}.bind(this)}),this._getNode('shareAttachmentShelf'));xa.listen(ne,'keyup',function(){var pe=oe?oe():ne.value;!pe.length&&this._urlScraper.reset();}.bind(this));this._urlScraper=new oc(ne,oe);this._urlScraper.subscribe('match',function(pe,qe){this._sharePreview.setProps({share:null,uri:(qe&&qe.url)});}.bind(this));},_initializeThingsWithInputFn:function(ne,oe){if(t.get('chat_react_share_uploader')){this._initializeSharePreview(ne,oe);}else{this._shareLinkUploader=new aa(this._getNode('shareAttachmentShelf'),ne,this.focus.bind(this),oe,this._appendTextToInput.bind(this));this._initializeUploader(this._shareLinkUploader);}kd.getThreadMeta(this._threadID,function(pe){gd.getServerThreadID(this._threadID,function(qe){this._typingDetector=new nc(this._getCanonicalUserID(),ne,'mercury-chat',null,qe,oe);}.bind(this));}.bind(this));},_getInputValue:function(){if(t.get('chat_react_input')){if(!this._chatInput||!this._chatInput.isMounted())return '';return this._chatInput.getValue()||'';}else return this._tabTemplate.getNode('input').value||'';},_appendTextToInput:function(ne){if(t.get('chat_react_input')){if(this._chatInput&&this._chatInput.isMounted())this._chatInput.appendText(ne);}else this._getNode('input').value+=ne;},_hasUnfinishedPost:function(){return fe(this)||de(this);},tryMarkAsRead:function(){if(!this._messagesView||this._messagesView.isScrolledToBottom()){jd.markRead(this._threadID);jd.markSeen(this._threadID);return true;}return false;},_chatConvClicked:function(ne){this.tryMarkAsRead();if(ub.byTag(ne.getTarget(),'a')||ra.getSelection())return;this.focus();},_inputContainerClicked:function(ne){this.tryMarkAsRead();this.focus();},showTypingIndicator:function(ne){if(t.get('chat_closed_tab_typing_indicator_animated')){var oe=ra.find(this._tabElem,"._54m9");if(ne){this._animatedTypingIndicator=yb.render(yb.createElement(o,{bootloadPlaceholder:yb.createElement("span",null),bootloadComponent:function(pe){n.loadModules(["MercuryTypingAnimation.react"],pe);}}),oe);this._updateAnimatedIndicatorColor();na.addClass(this._tabElem,"_54m8");na.show(oe);}else{na.removeClass(this._tabElem,"_54m8");na.hide(oe);yb.unmountComponentAtNode(oe);this._animatedTypingIndicator=null;}}else na.conditionClass(this._tabElem,'typing',ne);},_updateAnimatedIndicatorColor:function(){if(this._animatedTypingIndicator){var ne=na.hasClass(this._tabElem,'highlightTab')?'light':'dark';this._animatedTypingIndicator.setProps({color:ne});}},_updateUnreadCount:function(ne){var oe=ne.unread_count;if(typeof oe!='undefined'){var pe=!!oe&&(!r.showsTabUnreadUI||r.showsTabUnreadUI()),qe=this._getNode('numMessages');na.conditionShow(qe,pe);na.conditionClass(this._tabElem,'highlightTab',pe);this._updateAnimatedIndicatorColor();wd(this._threadID,this._tabElem,pe);ra.setContent(qe,oe);}},_updateCallLink:function(){var ne=this._getCanonicalUserID();if(ne===ma.getID()){this._hideVideoCallouts();if(t.get('chat_react_header')){this._videoCallButton.isMounted()&&this._videoCallButton.setProps({shown:false});}else na.hide(this._getNode('videoCallLink'));return;}var oe=ya.callabilityForUser(ne),pe=fb.getParticipantIDFromUserID(ne);if(oe!=ya.CallabilityStatus.AVAILABLE)this._hideVideoCallouts();ib.get(pe,function(qe){this._setVideoCallTooltip(ya.generateCallButtonTooltip(qe.short_name,oe));}.bind(this));},_setVideoCallTooltip:function(ne){if(t.get('chat_react_header')){this._videoCallButton.isMounted()&&this._videoCallButton.setProps({tooltipLabel:ne});}else mc.set(this._getNode('videoCallLink'),ne);},_hideVideoCallouts:function(){this._contextualDialogController.hideVideoCallouts();},_updatePrivacyLink:function(ne){var oe;if(ne==y.OFFLINE){oe=yc._("Go online");if(t.get('chat_react_option_menu')){this._reactChatTabMenu.isMounted()&&this._reactChatTabMenu.setProps({privacyText:oe});}else ra.setContent(this._privacyLink,oe);return;}var pe=this._getCanonicalUserID();if(!pe)return;var qe='fbid:'+pe;ib.get(qe,function(re){if(ne==y.BLOCKED){oe=yc._("Turn On Chat for {name}",[yc.param("name",re.short_name)]);}else oe=yc._("Turn Off Chat for {name}",[yc.param("name",re.short_name)]);if(t.get('chat_react_option_menu')){this._reactChatTabMenu.isMounted()&&this._reactChatTabMenu.setProps({privacyText:oe});}else ra.setContent(this._privacyLink,oe);}.bind(this));},_unsubscribeToThread:function(){if(!kd.isEmptyLocalThread(this._threadID)){var ne=fd.constructLogMessageObject(lb.CHAT_WEB,this._threadID,hb.UNSUBSCRIBE,{removed_participants:[qb.getID()]});dd.send(ne);}da.closeTab(this._threadID,'unsubscribed');return true;},_switchToWork:function(){if(!kd.isEmptyLocalThread(this._threadID)){var ne=fd.constructLogMessageObject(lb.CHAT_WEB,this._threadID,hb.SWITCH_TO_WORK,{removed_participants:[qb.getID()]});dd.send(ne);}da.closeTab(this._threadID,'unsubscribed');return true;},_initializeUploader:function(ne){this._subscriptionsHandler.addSubscriptions(ne.subscribe(['all-uploads-completed','upload-canceled'],function(){ge(this);}.bind(this)),ne.subscribe('dom-updated',function(){he(this);}.bind(this)),ne.subscribe('submit',function(){this._focusInput();}.bind(this)));},_initializeReactMenu:function(ne){var oe=this._getNode('menuContainer'),pe=fb.isMultichat(this._threadID),qe=kd.isNewEmptyLocalThread(this._threadID),re=this._sheetController.openAddFriendsSheet.bind(this._sheetController);if(oe)this._reactChatTabMenu=yb.render(yb.createElement(ea,{onFileUploaderMounted:this.setFileUploader.bind(this),updatePrivacyLinkFunc:this._updatePrivacyLink.bind(this),nameConversationFunc:this._nameConversationLinkClicked.bind(this),showParticipantsFunc:this._showParticipantsClicked.bind(this),leaveConversationFunc:this._unsubscribeLinkClicked.bind(this),clearHistoryFunc:this._clearHistory.bind(this),reportSpamFunc:this._reportSpamClicked.bind(this),createGroupFunc:this._createGroupClicked.bind(this),switchToWorkFunc:this._switchToWorkUserClicked.bind(this),isMultichat:pe,isEmptyChat:qe,showAddFriend:re,threadID:this._threadID,attachmentsShelf:ne,onUploadFinished:ge.bind(this,this),onUpdateAttachmentsShelf:he.bind(this,this),onSubmit:this._focusInput.bind(this),enableDesktopNotif:function(){this._enableDesktopNotif();}.bind(this)}),oe);},_initializeArchiveWarning:function(){if(t.get('chat_react_header'))this._archiveWarning=yb.render(yb.createElement(q,{isFBAtWork:t.IsWorkUser,shown:true}),this._getNode('archiveContainer'));},_initializeAddToThreadButton:function(){if(t.get('chat_react_header')){this._addToThreadButton=yb.render(yb.createElement(p,{isFBAtWork:t.get('IsWorkUser',false),onClick:this._addFriendLinkClicked.bind(this),shown:true}),this._getNode('addToThreadContainer'));}else this._listen('addToThreadLink','click',this._addFriendLinkClicked,true);},_initializeVideoCallButton:function(){if(!fb.getUserIDFromThreadID(this._threadID))return;var ne=null;if(t.get('chat_react_header')){this._videoCallButton=yb.render(yb.createElement(ka,{shown:true,onClick:this._callClicked.bind(this),onKeyUp:this._callEnter.bind(this)}),this._getNode('videoCallButtonContainer'));ne=yb.findDOMNode(this._videoCallButton);}else{ne=this._getNode('videoCallLink');this._listen('videoCallLink','click',this._callClicked,true);this._listen('videoCallLink','keyup',this._callEnter,true);}this._contextualDialogController=new u(this._threadID,ne);},_initializeCloseButton:function(){if(t.get('chat_react_header')){this._closeButton=yb.render(yb.createElement(s,{onClick:this._closeClicked.bind(this),onKeyUp:this._closeEnter.bind(this),onMouseDown:this._closePreClicked.bind(this)}),this._getNode('closeButtonContainer'));}else{this._listen('titlebarCloseButton','click',this._closeClicked);this._listen('titlebarCloseButton','keyup',this._closeEnter);this._listen('titlebarCloseButton','mousedown',this._closePreClicked);}},_initializeTitle:function(){if(t.get('chat_react_header')){var ne=kd.getThreadMetaNow(this._threadID);this._title=yb.render(yb.createElement(ia,{isNewThread:kd.isNewEmptyLocalThread(this._threadID),thread:ne,viewer:ma.getID()}),this._getNode('titleContainer'));}},setFileUploader:function(ne){this._fileUploader=ne;},_initializeAutoSendPhotoUploader:function(){this._photoUploader=yb.render(yb.createElement(x,{onSubmit:this._handlePUSubmit.bind(this),onAllUploadsComplete:this._handlePUAllUploadsCompleted.bind(this),onLastUploadFail:this._handlePULastUploadFailed.bind(this),onLastUploadCancel:this._handlePULastUploadCanceled.bind(this)}),this._getNode('photoUploaderContainer'));},_handlePUSubmit:function(ne,oe){ie(this,vb.UPLOAD_START,oe);be(this,'',[],function(pe){if(this._threadID!==pe.thread_id){this._newThreadIDFromPhotoUpload=pe.thread_id;if(this._messagesView)this._messagesView.setNewThreadID(pe.thread_id);}pe.content_attachment=null;dd.addAttachmentPlaceholder(pe,oe.upload_id,oe);}.bind(this));me('submit',oe);this._focusInput();},_handlePULastUploadFailed:function(ne,oe){ie(this,vb.CLIENT_ERROR,oe);me('failed',oe);dd.cancelAttachmentPlaceholder(oe.upload_id,oe);var pe=yc._("Photo Upload Failed"),qe=yc._("Please try again. Make sure you are uploading a valid photo.");new pa().setTitle(pe).setBody(qe).setButtons(pa.OK).show();},_handlePULastUploadCanceled:function(ne,oe){ie(this,vb.CANCEL_DURING_UPLOAD,oe);me('canceled',oe);dd.cancelAttachmentPlaceholder(oe.upload_id,oe);},_handlePUAllUploadsCompleted:function(ne,oe){ie(this,vb.ALL_UPLOADS_DONE,oe);me('completed',oe);dd.confirmAttachmentPlaceholder(oe.upload_id,oe);var pe=oe.image_ids.length||oe.attachments.length;ae(this,pe);},_stickerSelected:function(ne){be(this,'',[],function(oe){oe.has_attachment=true;oe.sticker_id=ne;dd.send(oe);this.focus();}.bind(this));this._messagesView&&this._messagesView.scrollToBottom();},_emoticonSelected:function(ne){var oe=va.symbols[ne];if(!oe)return;if(t.get('chat_react_input')){this._chatInput.insertEmoticon(oe);return;}this._selectionPosition=this._selectionPosition||new ac(this._getNode('input'));var pe=kc.getInstance(this._getNode('input')),qe=pe.getValue(),re=wa.insertEmoticon(oe,qe,this._selectionPosition.getPos());pe.setValue(re.result);this._selectionPosition.setPos(re.start,re.end);},_orionTriggered:function(){be(this,'',[],function(ne){this.focus();}.bind(this));this._messagesView&&this._messagesView.scrollToBottom();},_addStickerSearchNUXIndicator:function(){na.addClass(this._getNode('emoticonIndicator'),'nux');od=false;},_onFlyoutShown:function(ne){if(t.get('chat_react_sticker_button')){var oe=this._stickersFlyout.props.packID;if(oe!==dc.SEARCH_PACK_ID)this.focus();}if(cc.WebStickerTrigger){this._stickerTriggerController.onFlyoutShown(ne);}else ne();this._stickersFlyoutShown=true;},_searchStickers:function(ne,oe){this._stickersFlyout.isMounted()&&this._stickersFlyout.setProps({packID:dc.SEARCH_PACK_ID,trigger:ne},oe);},_onFlyoutHidden:function(){this._stickersFlyoutShown=false;this.focus();},_setTitleHref:function(ne){if(t.get('chat_react_header')){this._title.isMounted()&&this._title.setProps({href:ne});}else{var oe=this._getNode('titlebarText');oe.setAttribute('href',ne);oe.removeAttribute('rel');na.removeClass(oe,'noLink');}},_onAddMention:function(ne){this._linkDropped((new pc(ne.getURI())).getQualifiedURI().toString());}});function me(ne,oe){rd.debug('photo_uploader:'+ne,Object.assign({},oe));}e.exports=je;},null); -__d("ChatNewMessageHandler",["ChatActivity","ChatMentionsNotifications","ChatTabModel","ChatTabView","JSLogger","MercuryAssert","MercuryBrowserAlerts","UserActivity","MercuryConfig","MercuryThreadlistConstants"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();var q=k.create('chat_new_message'),r={_notify:function(s,t,u){if(o.DesktopNotificationsGK)h.notifyIfMessageToMe(t);var v=j.get(s);u.view_is_visible=v&&v.isVisible();u.view_is_focused=v&&v.isFocused();if(!u.view_is_visible)q.log('message_to_hidden');u.is_active=g.isActive();m.messageReceived(t);},newMessage:function(s,t){l.isThreadID(s);var u=i.getTab(s),v={thread_id:s,message_id:t.message_id,to_new_tab:!u,to_raised_tab:u?!!u.raised:true};this._notify(s,t,v);q.log('message',v);}};m.subscribe('before-alert',function(s,event){var t=event.threadID,u=j.get(t),v=i.getTab(t),w=p.MESSAGE_NOTICE_INACTIVITY_THRESHOLD;if(v&&v.raised&&u&&u.isVisible()&&u.isFocused()&&n.isActive(w)){u.tryMarkAsRead();event.cancelAlert();}});e.exports=r;},null); -__d("ChatTabLRUManager",["ChatTabView","ChatTabModel","InitialServerTime","MercuryThreads"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=b('MercuryThreads').get(),k={getLRUVisibleTab:function(l){if(l.hasRoomForRaisedTab())return (void 0);var m=Object.keys(l.getTabsToShow()||{}),n=1*60,o=null,p=Infinity;for(var q=0;qn)){o=s.thread_id;p=s.timestamp;}}return o;}};e.exports=k;},null); -__d("ChatTabPolicy",["ChatBehavior","JSLogger","MercuryActionType","MercuryLogMessageType","MercuryAssert","MercuryIDs","MercuryParticipantTypes","MercurySourceType","MercuryThreadInfo","MercuryThreadMode","MercuryViewer","MessagingTag","PresencePrivacy","ShortProfiles","MercuryThreadActions"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){b.__markCompiled&&b.__markCompiled();var u=b('MercuryThreadActions').get(),v=h.create('tab_policy');e.exports={messageIsAllowed:function(w,x,y){var z=w.thread_id,aa=x.message_id;k.isThreadID(z);k.isParticipantID(x.author);var ba;if(o.isMuted(w)){ba={thread_id:z,message_id:aa,mute_settings:w.mute_settings};v.log('message_thread_muted',ba);return;}if(w.mode==p.OBJECT_ORIGINATED){ba={thread_id:z,message_id:aa,mode:w.mode};v.log('message_object_originated',ba);return;}if(x.source==n.EMAIL||x.source==n.TITAN_EMAIL_REPLY){ba={thread_id:z,message_id:aa,source:x.source};v.log('message_source_not_allowed',ba);return;}var ca=l.getUserIDFromParticipantID(x.author);if(!ca){v.log('message_bad_author',{thread_id:z,message_id:aa,user:ca});return;}if(x.action_type!=i.USER_GENERATED_MESSAGE&&!this._messageIsNewlyCreatedGroup(x,w)){ba={thread_id:z,message_id:aa,type:x.action_type};v.log('message_non_user_generated',ba);return;}if(w.is_canonical_user&&!g.notifiesUserMessages()){v.log('message_jabber',{thread_id:z,message_id:aa});u.markSeen(z,true);return;}if(w.is_canonical&&!w.canonical_fbid){v.log('message_canonical_contact',{thread_id:z,message_id:aa});return;}if(w.folder!=r.INBOX){v.log('message_folder',{thread_id:z,message_id:aa,folder:w.folder});return;}var da=l.getUserIDFromParticipantID(q.getID());t.getMulti([ca,da],function(ea){if(!s.allows(ca)){v.log('message_privacy',{thread_id:z,message_id:aa,user:ca});return;}var fa=ea[ca].employee&&ea[da].employee;if(!fa&&ea[ca].type!==m.FRIEND){v.log('message_non_friend',{thread_id:z,message_id:aa,user:ca});return;}y();});},_messageIsNewlyCreatedGroup:function(w,x){return w.action_type===i.LOG_MESSAGE&&w.log_message_type===j.THREAD_NAME&&x.message_count===1;}};},null); -__d("ChatTabViewSelector",["Event","Arbiter","ChatTabActions","CSS","DataStore","DOM","MenuDeprecated","NubController","ChatTabTemplates","Toggler","copyProperties","MercuryThreadInformer","MercuryThreads","MercuryThreadMetadataRenderer"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();var r=b('MercuryThreadInformer').get(),s=b('MercuryThreads').get(),t=b('MercuryThreadMetadataRenderer').get();function u(v){var w=o[':fb:chat:tab:selector'].build(),x=w.getRoot(),y=w.getNode('menu'),z=l.find(y,'.uiMenuInner'),aa={},ba=new n().init(x);j.hide(x);l.insertBefore(v,x);function ca(fa){var ga=0;for(var ha in aa){var ia=aa[ha],ja=s.getThreadMetaNow(ha),ka=ia.getNode('unreadCount'),la=(ja&&ja.unread_count)||0;ga+=la;if(la>9)la='+';j.conditionClass(ka,'invisible_elem',!la);l.setContent(ka,la);}var ma=w.getNode('numMessages');j.conditionShow(ma,ga);l.setContent(ma,ga);}this.setTabData=function(fa){aa={};if(fa.length<1){j.hide(x);return;}j.show(x);l.empty(z);fa.forEach(function(ga){var ha=o[':fb:chat:tab:selector:item'].build();aa[ga.id]=ha;var ia=ha.getNode('content');t.renderAndSeparatedParticipantList(ga.id,ia);l.prependContent(z,ha.getRoot());k.set(ha.getRoot(),'threadID',ga.id);var ja=ha.getNode('closeButton');g.listen(ja,'click',function(event){i.closeTab(ga.id,'selector/close-tab');event.kill();});});ba.flyoutContentChanged();l.setContent(w.getNode('numTabs'),fa.length);ca();};function da(event,fa){if(fa.menu!=y)return;var ga=k.get(fa.item,'threadID');u.inform('selected',ga);p.hide(x);}function ea(event,fa){m.register(y);}m.subscribe('select',da.bind(this));p.listen('show',x,function(){h.inform('layer_shown',{type:'ChatTabSelector'});ea();});p.listen('hide',x,function(){h.inform('layer_hidden',{type:'ChatTabSelector'});});r.subscribe('threads-updated',ca);}q(u,new h());e.exports=u;},null); -__d("ChatTabController",["Arbiter","BanzaiLogger","ChatActivity","ChatConfig","ChatNewMessageHandler","ChatTabActions","ChatTabLRUManager","ChatTabMessagesView","ChatTabModel","ChatTabPolicy","ChatTabView","ChatTabViewSelector","JSLogger","MercuryViewer","Style","UserAgent_DEPRECATED","VideoCallCore","ChatTabPresence","ChatTypeaheadBehavior","MercuryThreadInformer","MercuryThreadActions","MercuryThreads"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w){b.__markCompiled&&b.__markCompiled();b('ChatTabPresence');b('ChatTypeaheadBehavior');var x=b('MercuryThreadInformer').get(),y=b('MercuryThreadActions').get(),z=b('MercuryThreads').get(),aa=j.get('tab_auto_close_timeout')||7200000,ba=s.create('tab_controller');function ca(na,oa,pa){var qa=o.get().tabs,ra=qa[na],sa,ta;if(qa.length===0)return false;var ua=qa.slice(na+1),va=qa.slice(0,na),wa=ua.concat(va);if(!oa)wa.reverse();if(ra)wa.push(ra);for(var xa=0;xaaa){var ra=o.get().tabs;ra.forEach(function(sa){var ta=sa.id;z.getThreadMeta(ta,function(ua){if(!ua.unread_count){ba.log('autoclose_idle_seen',{thread_id:ta,idleness:qa});l.closeTab(ta,'autoclose_idle_seen');}});});}});q.subscribe('nub-activated',function(pa,qa){fa(qa,na);});q.subscribe('focus-tab',function(pa,qa){var ra=o.getTab(qa);if(ra&&ra.raised)fa(qa,na,ra.signatureID,true);});function oa(pa,qa){h.log('VideoCallLoggerConfig',{event:'chat_tab_call_click'});w.showOutgoingCallDialog(qa.userID,qa.clickSource);}q.subscribe('video-call-clicked',oa);n.subscribe('video-call-clicked',oa);n.subscribe('interaction-with-tab',function(pa,qa){var ra=o.getTab(qa);ra&&ra.raised&&y.markSeen(qa);});q.subscribe('esc-pressed',function(pa,qa){ba.log('close_esc',{thread_id:qa});var ra=o.indexOf(qa);l.closeTab(qa,'close_esc');setTimeout(function(){ca(ra-1,true,true);},0);});x.subscribe('messages-received',function(pa,qa){for(var ra in qa){var sa=qa[ra];for(var ta=0;tathis._viewState.widthToShowNext){this._availableWidth=aa;this._maxShown=ba;this._viewState=null;this._recalculateTabs(ca);}},_onTabsChanged:function(){if(this._initialized){this.inform('tabs-changed');this.inform('max-to-show-changed',this._maxShown);this.inform('max-to-show-change-completed');}},_recalculateTabs:function(aa){var ba=z._getTabsToShow(i.get(),this._availableWidth);if(aa||!q(this._viewState,ba)){this._viewState=ba;this._onTabsChanged();}},getMaxTabsToShow:function(){return this._maxShown;},checkWidth:function(){this._recalculateWidth();},hasRoomForRaisedTab:function(){return this._availableWidth-this._viewState.usedWidth>y();},getTabsToShow:function(){return JSON.parse(JSON.stringify(this._viewState.tabsToShow));},getShowingTabsOrder:function(){var aa=i.get(),ba=this._viewState.tabsToShow;return aa.tabs.filter(function(ca){return ba[ca.id];});},getRightmostHiddenTab:function(){var aa=i.get(),ba=this._viewState.tabsToShow,ca=aa.tabs.filter(function(ea){return !ba[ea.id];}),da=ca.shift();return da?da.id:null;},getLeftmostVisibleTab:function(){var aa=this.getShowingTabsOrder(),ba=aa.pop();return ba?ba.id:null;},getRaisedVisibleTabs:function(){var aa=[],ba=this.getShowingTabsOrder(),ca=ba.length;for(var da=0;daw)w=ha;ba-=w;ba-=15;return Math.max(ba,0);},_getTabsToShow:function(aa,ba){ba=Math.max(ba,y()+1);function ca(sa,ta){return (sa.raised||!ta)?y():x();}var da=JSON.parse(JSON.stringify(aa.tabs)),ea=-1,fa=null;if(aa.promoted)da.forEach(function(sa,ta){if(sa.id===aa.promoted){ea=ta;fa=sa;}});var ga=0,ha=false,ia=0,ja=!fa;da.forEach(function(sa,ta){var ua=ca(sa,ha);ha=ha||!sa.raised;sa.leftmostOffset=ga+ua;ga+=ua;if(sa.leftmostOffsetli{border-color:rgba(100, 100, 100, .22);border-style:solid}._9oz{margin-right:15px;width:41px}._9o-{display:inline-block;width:262px}._dq0 ._9o-{width:247px}._9p2{margin-left:-7px}._9p2 .uiButtonText{color:gray}._9p2 .uiSelectorButton .customimg,._9p2 .uiSelectorButton .img{opacity:.5}._o1t{background-color:#f6f7f8;border:1px dashed #d1d4da;margin-right:-13px;padding:6px 20px 6px 6px}._2v9_{border-top:1px solid #c5c5c5}._8-b ._9oy ._9o- ._1msz{margin-left:21px}._301p{overflow:hidden}._301q{-webkit-box-sizing:border-box;width:100%}._301r{float:right}._dq0 ._9oz{margin-left:4px;width:37px}._awf,._awg,._4_8m,._awk .seeMore .subtitle,._awk .seeMore .img.white,._aw6._4_8l ._26y4,._aw6 ._26y3 ._150p,._aw6._aw7 ._4_8m,._aw7 ._26y4{display:none}._aw6 ._4_8m,._aw6 ._awf,._aw6 ._26y3 ._5cw1,._aw7 ._awg{display:block}._awf{background:#f6f7f8;-webkit-border-radius:2px 2px 0 0;left:0;padding:5px 0 4px 7px;position:absolute;right:0;top:0;z-index:101}html ._awh{border-color:#8c8c8c;padding:0 0 1px}html ._awh .inputtext{width:265px}._awi{display:inline-block;margin-right:2px;margin-top:-4px;vertical-align:middle}._awj{background-image:url(/rsrc.php/v2/y5/r/6qYnkCIq1UK.png);background-repeat:no-repeat;background-size:auto;background-position:0 -1237px;background-color:#fff;height:18px;overflow:hidden;position:absolute;right:10px;top:7px;width:18px}._awj:hover{background-image:url(/rsrc.php/v2/y5/r/6qYnkCIq1UK.png);background-repeat:no-repeat;background-size:auto;background-position:0 -1256px}._awk,._4_8m{padding:8px 5px}._awk .UIFaq_Content,._4_8m .UIFaq_Content{width:292px}._awk .UIFaq_Content img,._4_8m .UIFaq_Content img{max-width:100%}._awk .UIFaq_Container,._4_8m .UIFaq_Container{font-size:11px;line-height:15px}._awk .seeMore,._4_8m .seeMore{background:#f6f7f8;border-top:1px solid #c5c5c5;margin:5px -5px -40px;padding:8px;position:relative;text-align:center}._awk .seeMore .blue,._4_8m .seeMore .blue{margin-top:-12px}._awl{padding:20px;text-align:center}._o1t._9p0{display:none}._5n9x,._o1w{float:right;position:relative;right:-18px;top:-4px}._571t{background:#ebeef4;border:1px dashed #ccc;margin:-5px} -._5cop{padding-left:17px}html #navPrivacy._5cop ._59fc{padding:0}.highContrast ._5cop ._59fb:before{content:url(/rsrc.php/v2/y5/r/6qYnkCIq1UK.png);margin:-1319px 0 0 -16px;position:absolute}.highContrast ._5cop ._59fb{overflow:hidden;position:relative}._5cop ._59fb{background-image:url(/rsrc.php/v2/y5/r/6qYnkCIq1UK.png);background-repeat:no-repeat;background-size:auto;background-position:-16px -1319px;margin-top:8px}._5cop ._59fc:hover ._59fb,._5cop ._59fc:focus ._59fb{background-image:url(/rsrc.php/v2/y5/r/6qYnkCIq1UK.png);background-repeat:no-repeat;background-size:auto;background-position:0 -1319px}._5cop ._467b._59fc:hover ._59fb,._5cop ._467b._59fc:focus ._59fb,._5cop ._467b ._59fb,._5cop ._59fc:active ._59fb,._5cop .openToggler ._59fc ._59fb{background-image:url(/rsrc.php/v2/y5/r/6qYnkCIq1UK.png);background-repeat:no-repeat;background-size:auto;background-position:0 -1291px}.highContrast .work ._5cop ._59fb:before{content:url(/rsrc.php/v2/y5/r/6qYnkCIq1UK.png);margin:-1305px 0 0 -16px;position:absolute}.highContrast .work ._5cop ._59fb{overflow:hidden;position:relative}.work ._5cop ._59fb{background-image:url(/rsrc.php/v2/y5/r/6qYnkCIq1UK.png);background-repeat:no-repeat;background-size:auto;background-position:-16px -1305px;margin-top:8px}.work ._5cop ._59fc:hover ._59fb,.work ._5cop ._59fc:focus ._59fb{background-image:url(/rsrc.php/v2/y5/r/6qYnkCIq1UK.png);background-repeat:no-repeat;background-size:auto;background-position:0 -1305px}.work ._5cop ._59fc:active ._59fb,.work ._5cop .openToggler ._59fc ._59fb{background-image:url(/rsrc.php/v2/y5/r/6qYnkCIq1UK.png);background-repeat:no-repeat;background-size:auto;background-position:-16px -1291px} -._7fw{background-color:#000;background-color:rgba(0, 0, 0, .8);border-bottom:1px solid #000;color:#fff;display:none;height:38px;position:relative;width:100%}._7fx{background:url(/rsrc.php/v2/yF/r/Tk4r3ASHe9l.png) repeat-x;height:4px;position:absolute;top:38px;width:100%}.hasViewasChromeBar ._7fw,._7fy{display:block}._7fz{margin:0 auto;padding:3px 0;position:relative;width:981px}.sidebarMode ._7fz{left:-102px}._7f-{color:#a6a6a6;line-height:20px}._7f- ._7f_,._7f- ._7f_ a{color:#fff;cursor:pointer}._7f- ._7g0 .uiTypeahead,._7f- ._7g0 .uiTypeahead .wrap{background-color:#414141;border-color:#414141}._7f- ._7g0 .textInput{color:#a6a6a6}._7g1{margin-top:2px}._7fy{background-image:url(/rsrc.php/v2/y5/r/6qYnkCIq1UK.png);background-repeat:no-repeat;background-size:auto;background-position:0 -1127px;height:16px;padding-bottom:12px;position:relative;width:16px}._7fy:hover{background-image:url(/rsrc.php/v2/y5/r/6qYnkCIq1UK.png);background-repeat:no-repeat;background-size:auto;background-position:-16px -1127px}._7g2,._7g3,._7f_{margin-top:1px}._7g4{background-image:url(/rsrc.php/v2/yG/r/KOrgBTlwza7.png);background-repeat:no-repeat;background-size:auto;background-position:1px -52px}._7g5{background-image:url(/rsrc.php/v2/y5/r/6qYnkCIq1UK.png);background-repeat:no-repeat;background-size:auto;background-position:0 -1274px}._7g4{margin-left:3px}._7g4,._7g5{height:16px;margin-right:4px;margin-top:3px;width:16px}._7g8{min-width:200px}._7f_:hover ._7g6,._7f_:hover ._7o5{text-decoration:underline}._7g1,._7g2,._7g3,._7g5,._7g4,._7f_,._7g6,._7o5{float:left}._7g7 ._7g0,._7g7 ._7g8{display:block}._7g0,._7g8,._7g7 ._7g9,._7g7 ._7ga{display:none}._7g0{float:left;width:250px}.hasViewasChromeBar #modalMaskOverlay{background-color:#000} -._5ss6 #contentArea #stream_pagelet{border-top:1px solid #ccc}._5vb_ ._5ss6 #contentArea #stream_pagelet{border-top:0}._5ss6 ._5uun{border-bottom-width:0}._5ss6 ._5v3q{border-width:1px}._3og5 ._5ss6 ._5v3q{margin-bottom:88px}._3og5 ._5ss6 ._4gv-,._3og5 ._5ss6 ._3lkn{position:relative;top:-78px}._5ss6 ._5uuo .uiHeaderTitle{left:10px;padding:0 8px}._5wel #globalContainer{width:800px}._5wel #contentCol{margin-left:0}._5wel #pageFooter{margin-left:0}._5wel #leftCol{padding:0} -._5j5u{padding-top:4px;position:relative;width:398px}._54bx{font-family:Arial, Helvetica, sans-serif;position:relative;width:494px}._5jqj .uiStreamEdgeStoryLineTx{left:29px}._54bz{display:table;left:0;padding-left:0;position:relative}._5j5u .feedback{padding-left:4px}._5j5v .actorImage{padding:4px 0 0}._5j5v .content{display:table-cell;height:32px;margin-top:0;vertical-align:middle}._5j5v .ego_action{margin-top:8px}._5j5v .ego_x{margin-top:-2px}._5j5w.ego_unit{display:table-cell;float:left;margin:-4px 0 0;padding:0}._5j5w.ego_unit+._5j5w.ego_unit{border-top:0;margin-left:10px}._5j5w .imagewrapper{position:relative}._5j5w .close{position:absolute;right:0;top:0}._5j5w .actorImage .img{height:92px;width:92px}._5j5w .content{margin-top:4px;padding-bottom:27px;width:92px}._5j5w .action{bottom:0;position:absolute}._54b-{float:left;padding:12px;width:470px}._54b- ._5j5w.ego_unit{margin:0;padding-top:0}._54b- ._5j5w.ego_unit+._5j5w.ego_unit{border-top:0;margin-left:12px;padding-top:0}._54b_{border-bottom:1px solid #e9e9e9;padding-bottom:10px;padding-top:11px}._54b_ ._54c0{color:#9197a3;font-size:11px;font-weight:bold;line-height:11px;padding-left:12px;text-transform:uppercase}._54b- ._5j5w .content{line-height:12px;margin-top:-3px;padding-bottom:24px;padding-top:12px;width:92px}._54b- ._5j5w .actorImage .img{height:109px;width:109px}._54b- ._5j5w:first-child .actorImage .img{width:108px}._54b- ._5j5w:last-child .actorImage .img{width:108px}._54b- ._5j5w .action span.uiButtonText{padding-bottom:0;padding-top:2px}._54b- ._5j5w .action{bottom:12px;margin-top:12px;position:absolute}._54b- ._5j5w a{border-color:#cccccc #c5c6c8 #b6b7b9;color:#4e5665}._54bz .ego_title{color:#141823;line-height:1.5em;margin-bottom:5px}._54bz .fsm{color:#9197a3;line-height:12px;padding-bottom:10px}._54bx .feedback{font-family:Arial, Helvetica, sans-serif;padding-right:12px;padding-top:10px}._i0y{border:0;display:inline-block;height:218px;margin:0;padding:0 0 0 11px;position:relative;vertical-align:top;width:222px}._i0y:first-child{border-right:1px solid #e9e9e9;margin:0;padding:0 12px 0 0}._i0y .close{position:absolute;right:0;top:-6px}._i0y:hover .ego_x{opacity:1}._i0y .suggestionHeader{margin-bottom:5px}._i0y .suggestionHeader .adjuster{display:inline-block;height:50px;vertical-align:middle;width:0}._i0y .suggestionHeader .actorImg{display:inline-block;height:50px;margin:0 5px 0 0;padding:0;vertical-align:top;width:50px}._i0y .suggestionHeader .title{display:inline-block;font-size:13px;height:50px;line-height:1.5em;margin:0;padding:0;vertical-align:top;width:108px}._i0y .suggestionHeader .title a{color:#4e5665}._i0y .suggestionHeader .titleInner{display:inline-block;vertical-align:middle;width:90px}._i0y .suggestionHeader .likeButton{display:inline-block;height:50px;margin:0;padding:0;vertical-align:top;width:59px}._i0y .suggestionHeader .ego_action{display:inline-block;vertical-align:middle}._i0y .suggestionHeader .ego_action a{margin-top:-6px}._i0y .suggestionHeader .likeButton img{float:none;margin:0 5px 0 0}._i0y .descriptionText{font-family:Georgia, 'lucida grande',tahoma,verdana,arial,sans-serif;font-size:13px}._i0y .shareLink a{color:#4e5665}._i0y .photoColumn{height:143px;margin:0;width:108px}._i0y .photoColumn:first-child{margin-right:5px}._i0y .photoImage{border:1px solid #e9eaed;margin-bottom:3px;padding:0}._i0y .videoThumb{height:115px;width:223px} -.fbReminders .fbRemindersStory{padding:3px 5px}.fbReminders .fbRemindersSpecialStory{text-align:center}.fbReminders .fbRemindersIcon{height:16px;width:16px}.fbReminders .fbRemindersStory .fbRemindersRemove{margin-top:-1px;display:none}.fbReminders .fbRemindersStory .fbRemindersRemove.openMenu{display:block}.fbReminders .celebrationStory .fbRemindersRemove{display:block;visibility:hidden}.fbReminders .celebrationStory:hover .fbRemindersRemove{visibility:visible}.fbReminders .fbRemindersStory:hover{background-color:#e9eaed;cursor:pointer}.fbReminders .fbRemindersStory:hover a{text-decoration:none}.fbReminders .fbRemindersStory:hover .fbRemindersRemove,.fbReminders .fbRemindersStory a{display:block}.fbReminders .fbRemindersStory .fbRemindersTitle{color:#3b5998}.fbRemindersContent{overflow:hidden}.fbRemindersContent .fbRemindersFooter{text-align:center}.fbRemindersContent .fbCalendarList .fbCalendarLabel{width:60px}.fbRemindersContent .fbCalendarList .fbCalendarItemContent{position:relative;width:400px}.fbRemindersContent .fbRemindersPokeBack{white-space:nowrap}.fbRemindersContent .uiScrollableArea .jewelHeader{background-color:#fff}.fbRemindersContent .fbRequestList,.fbRemindersContent .jewelHeader,.fbRemindersContent .friendBrowserForm{margin-right:10px}.fbRemindersContent .jewelFooter{margin-top:5px}.fbBirthdayRemindersContent .uiScrollableAreaWithShadow.contentBefore:before{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2);top:-2px}.fbBirthdayRemindersContent .uiScrollableAreaWithShadow.contentAfter:after{background-color:#fff;-webkit-box-shadow:0 -1px 2px rgba(0,0,0,.3);height:6px}.fbBirthdayRemindersContent .fbRemindersTitleSeeAll{color:#627aad}.fbBirthdayRemindersContent .fbRemindersSubtitleActionList{color:#9197a3}.fbBirthdayRemindersContent .fbRemindersSubtitleAgeText{color:#4e5665}.fbBirthdayRemindersContent .fbRemindersTodayHeader,.fbBirthdayRemindersContent .fbRemindersSublistHeader{color:gray;font-size:11px}.fbBirthdayRemindersContent .fbRemindersBirthdayList .fbRemindersBirthdayListItem{border-color:#e9eaed}.fbNamedayRemindersContent .fbRemindersNamedayList .fbRemindersNamedayListItem{border-color:#e9eaed}.fbRemindersLoadingIndicator{display:block;padding:50px;text-align:center}.fbRemindersStickyArea{background-color:#fff}.fbEventReminderContent .fbCalendarLineSeparator{display:none}.fbEventReminderContent li.fbCalendarItem:first-child{padding-top:0}.fbEventReminderContent li.fbCalendarItem:last-child{padding-bottom:0}.fbRemindersContent .fbRemindersContentHeader{border-bottom:1px solid #e5e5e5}.fbReminders .fbRemindersStory .fbRemindersAction{display:none}.fbReminders .fbRemindersStory:hover .fbRemindersAction{display:block} -._585-{background-color:#fff;border:none;-webkit-border-radius:3px;-webkit-box-shadow:inset 0 0 0 1px #f9f9f9, inset 0 1px 0 0 #e5e5e5, 0 -1px 0 0 #2f477a;height:24px;margin-left:30px;margin-top:0;max-width:550px;overflow:hidden;padding-left:5px;padding-right:25px;position:relative;top:9px;width:auto}.work ._585-,.work ._4w96._585-{background-color:rgba(211,214,219,.25);border:1px solid rgba(145,151,163,.40);-webkit-box-shadow:inset 0 1px 1px 0 rgba(0,0,0,.02), inset 0 -1px 1px 0 rgba(255,255,255,.56);top:8px}.UIInternPage ._59ba ._585-{margin-left:0;padding-left:0}._4w96._585-{border:1px solid #355089;-webkit-border-radius:4px;-webkit-box-shadow:none;-webkit-box-sizing:border-box;height:26px;left:-1px;padding-right:48px;top:8px}._4w96._585- ._5860,._4w96._585- ._5861{height:25px}._585- ._5861,._5861 ._586f{border:none;font-family:'helvetica neue', helvetica, arial, 'lucida grande', sans-serif;font-size:14px}._585_{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:-34px -734px;cursor:pointer;display:block;height:14px;position:absolute;right:6px;top:4px;width:14px;z-index:2}.white ._585_{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -751px}._4w96 ._4w97 ._585_{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:-17px -751px}._585- ._4w98{background:#f6f7f8;border:1px solid #355089;border-bottom:none;border-left:none;-webkit-border-radius:0 4px 4px 0;cursor:default;display:block;height:24px;line-height:1;padding:0 16px;position:absolute;right:-1px;text-align:center;top:-1px;z-index:1}._585- ._4w98 ._585_{display:inline-block;position:relative;right:0;top:-1px;vertical-align:middle}._585- ._4w98._4w97{background:#5890ff;cursor:pointer}._585- ._5860,._585- ._5860 .wrap{background:transparent;border:none;height:23px}._585- ._5861{background:none;color:#333;cursor:text;height:23px;overflow:hidden;padding:0;text-indent:2px;width:inherit}._5861 ._586j,._5861 ._586k,._5861 ._586f,._5861 ._586i{font-family:'helvetica neue', helvetica, arial, 'lucida grande', sans-serif;-webkit-font-smoothing:antialiased;height:18px;line-height:18.6px;padding:3px 0 0;text-shadow:none}._5861 ::-ms-clear{display:none}._5861 ._586f{padding-left:0}._5861 ._586f,._5861 ._586i{color:#141823}._5861 ._586h{color:#9197a3} -._200{margin:10px 0;border-top:1px solid #ccc}._201{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -705px;display:block;height:14px;margin-top:-7px;position:absolute;right:4px;top:50%;width:17px}._6i3{font-size:14px}._6i3 ._7gk{max-width:550px;overflow:hidden} -._202{border:none;padding:0;position:relative}.highContrast ._202.selected{border-left:10px solid transparent;margin-right:10px}._1z7e ._202{display:none}._205{display:block;position:relative;white-space:nowrap}._7gk{display:block;height:48px;overflow:hidden;position:relative;text-overflow:ellipsis;vertical-align:middle}@media only screen and (min-height: 674px){._1et7._1wfz ._7gk{height:64px}}._20h,._k83,._51l_{float:left;height:40px;line-height:40px;margin:4px 8px 0 6px;overflow:hidden;text-align:center;vertical-align:middle;width:40px}@media only screen and (min-height: 674px){._1et7._1wfz ._20h,._1et7._1wfz ._k83,._1et7._1wfz ._51l_{height:56px;line-height:56px;width:56px}}._1et7._207 ._205,._1et7._207 ._7gk,._1et7._207 ._k83{height:32px}._1et7._207 ._k83{line-height:32px;margin-top:0;width:20px}._k83 ._20h{height:20px;margin:6px 0 0 0;width:20px}._k83 span{display:inline-block;height:40px;vertical-align:middle;width:40px}._6-a{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -664px}._5vdo{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -90px}._5b1w{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -49px}._1et7 ._5b1w{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:-17px -734px;height:16px;width:16px}._1et7 ._4lhn{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:-18px -705px;height:16px;width:16px}._1et7 ._4lho{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -734px;height:16px;width:16px}._9rf{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -459px}._9rg{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -418px}._9rh{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -541px}._9ri{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -295px}._9rj{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -131px}._9rk{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -500px}._9rl{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -623px}._a0i{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -377px}._hya{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -336px}._hyb{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -172px}._485s{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -254px}._4-vy{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -582px}._5vf2{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:0 -213px}._4c7a{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-repeat:no-repeat;background-size:auto;background-position:-4px -4px}._205,._205:hover{outline:none;text-decoration:none}._205,._205 .fragmentUnchanged{color:#999}._53ad{color:#333}._205 .fragmentEnt{font-weight:700}._51l_ .splitpic{background-position:center center;background-repeat:no-repeat;background-size:cover;float:left;height:40px;overflow:hidden;width:19px}@media only screen and (min-height: 674px){._1et7 .splitpic{background-position:center center;background-repeat:no-repeat;background-size:cover;height:56px;width:27px}}._51l_ .leftpic{margin-right:1px;width:20px}@media only screen and (min-height: 674px){._1et7 .leftpic{width:28px}}._51l_ .toppic{height:19px;margin-bottom:1px}@media only screen and (min-height: 674px){._1et7 .toppic{height:27px}}._51l_ .bottompic{height:20px}@media only screen and (min-height: 674px){._1et7 .bottompic{height:28px}}._51l_ img{left:0;margin-left:-11px;position:static}._51l_ .toppic img,._51l_ .bottompic img{height:40px;margin:-10px 0 0 -10px;width:40px}._51l_ .leftpic img{margin:-5px 0 0 -15px}._205 .presenceIndicator i{margin-left:6px}._202.selected{background:#ebeef4}._53ad,._53a9{overflow:hidden;text-overflow:ellipsis}._53ad{padding-right:10px}@media only screen and (min-height: 674px){._1et7._1wfz ._53ad._2vzo{margin:21px 0}._1et7._1wfz ._53ad._2vzp{margin:15px 0}._1et7._1wfz ._53ad._2vzq{margin:8px 0}}._1et7._207 ._53a9{display:none}._53ad{display:block;font-family:helvetica, arial, 'lucida grande', sans-serif;line-height:20px;margin:14px 0}@media only screen and (min-height: 674px){._1et7 ._53ad{line-height:20px;margin:14px 0}}._1et7._207 ._53ad{margin:6px 0 0}._55y-._53ad{margin:8px 0}._53a9{position:relative;z-index:1}._5byz ._53ad,._5byz ._53a9{width:452px}._55y-._53ad{line-height:16px;margin:9px 0}._1et7._207 ._55y-._53ad{line-height:20px}._53aa,._53ab,._57q5{color:#999;font-size:11px;font-weight:normal}@media only screen and (min-height: 674px){._1et7._1wfz ._53aa{color:#333}._1et7._1wfz ._53ab{display:block;text-indent:-6px}}@media only screen and (min-height: 674px){._1et7._1wfz.selected ._53ab{display:block}}._5td3{font-weight:bold} -._53a9{display:inline;font-size:13px}._55y- ._53a9{display:block}._53ab,._57q5{color:#999}.selected ._53ab{display:inline}._10j2{background-image:url(/rsrc.php/v2/yf/r/cBcXNHiVxzZ.png);background-repeat:no-repeat;background-size:auto;background-position:-17px -204px;color:#0c5eff;padding-left:12px}.selected ._10j2{background-image:url(/rsrc.php/v2/yf/r/cBcXNHiVxzZ.png);background-repeat:no-repeat;background-size:auto;background-position:-16px -68px;color:#ccc} -._5tlx{border:1px solid #ccc;border-color:rgba(0, 0, 0, .15);-webkit-border-radius:4px;-webkit-box-shadow:0 4px 6px 2px rgba(0, 0, 0, .10);left:-1px;max-width:800px;top:-1px}._5tlx._5xzd{-webkit-box-sizing:border-box;left:0}._5qz2._5tlx{border:0;-webkit-box-shadow:none}._50c9{background:#fff;-webkit-border-radius:5px;overflow:hidden;padding:4px 0;-webkit-transition:height 200ms ease-in-out}._50c9._5vg2{-webkit-transition:none}._5t7t._50c9{padding:0}._5tly ._50c9{max-height:90vh;overflow-y:auto}._70_{line-height:inherit;padding:8px 0 7px 0}.selected ._70_,.selected ._57zy,._70_.selected,._57zy.selected{background:#4e69a2;color:#fff}._50c9 ._6i1{display:block}._21r{font-size:16px}._50c9 .megaphone_location_gsv2_typeahead .megaphone_card{border:none;margin:0}._3su{border-top:1px solid #e1e1e1;color:#5d5d5d;cursor:pointer;font-family:helvetica, arial, 'lucida grande', sans-serif;font-size:11px;font-weight:bold;line-height:16px;text-align:center;text-transform:uppercase}._70_{border-top:1px solid #e1e1e1;color:#5d5d5d;cursor:pointer;font-family:helvetica, arial, 'lucida grande', sans-serif;font-size:11px;font-weight:bold;line-height:16px;padding:13px 0 11px 0;text-align:center;text-transform:uppercase}.selected ._70_,._70_.selected{background:#e9eaed;color:#2b2c2b}._70_:hover{color:#2b2c2b}._57zy{border-top:1px solid #e1e1e1;color:#5d5d5d;cursor:pointer;font-family:helvetica, arial, 'lucida grande', sans-serif;font-size:11px;font-weight:bold;line-height:16px;padding:13px 5px 11px 5px;text-align:center;text-decoration:none !important}.selected ._57zy,._57zy.selected{background:#e9eaed;color:#2b2c2b}._57zy:hover{color:#2b2c2b}._21f{line-height:23px;padding:8px 0}._21f img{margin-left:12px;position:relative;top:4px}._3zsi{background:#f6f7f8;border-bottom:1px solid #e9eaed;border-top:1px solid #e9eaed;line-height:16px;padding:3px 7px 2px;text-transform:uppercase}._3zsi,._3zsi a{color:#9197a3;font-family:helvetica, arial, 'lucida grande', sans-serif;font-size:11px;font-weight:bold}._1z7e ._3zsi{display:none}._366f{background-color:#fff9d2;border-bottom:1px solid #f9eca5;color:#535353;line-height:20px;padding:18px 0 17px 0;text-align:center}._553e{font-size:14px}._2hh{font-size:12px}._5vdn{border-top:1px solid #e9eaed;color:#9197a3;font-size:10px;margin-top:5px;padding:3px 0 5px 7px;text-transform:uppercase} -._586g{overflow:hidden;position:relative}._586f,._586i,._586k,._586j{border:0;outline:1px solid rgba(0, 0, 0, 0);padding:3px;position:relative;z-index:1}._586i,._586k,._586j{overflow:auto;white-space:pre-wrap}._586k,._586j{left:0;position:absolute;right:0;top:0;z-index:0}._586i{cursor:text}._586i br{display:none}._586k{color:transparent}._586f{width:100%}._586g{border:1px solid #999}._586f,._586i{color:#333}._586f,._586i{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==)}._586j{color:#9197a3}.child_is_focused ._586j{color:#bdc1c9}._586h{color:#999}._586o{font-weight:bold}._586p{height:20px}._586p ._586f,._586p ._586i,._586p ._586k,._586p ._586j,._4v1s{overflow:hidden;white-space:pre}.webkit ._586p ._586i,.webkit ._586p ._586k,.webkit ._586p ._586j{white-space:nowrap} -._4xi4 .notifMainLink img{display:none}._4xi4 .anchorContainer span.img{display:none}._4xi4 ._4962 .beeperNubWrapper{position:relative}._4xi4 ._4962 .beeperNubWrapper .beeperNub{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:-256px -549px;height:8px;left:auto;position:absolute;top:-8px;width:16px}._4xi4 ._2g48{line-height:19px}._4xi4 ._4962 .jewelCount{top:-4px} -._2qdr{height:80px;width:124px}._z1b{display:block}._2qds{background-size:100% 100%;-webkit-border-radius:3px;color:#fff;display:table-cell;height:80px;margin:0 4px 2px;width:124px}._2qdt{background:-webkit-gradient(linear, center top, center bottom, from(rgba(30,87,153,.01)), to(rgba(0,0,0,1)));background:-webkit-linear-gradient(to bottom, rgba(30,87,153,.01) 0%,rgba(0,0,0,1) 100%);-webkit-border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;line-height:35px;margin-top:-35px}._2qdu{color:#fff;display:inline-block;font-size:11px;line-height:14px;margin:4px 6px;vertical-align:bottom}._2qdu a{color:#fff}._2qdu a:hover{text-decoration:none}._3et8{left:109px;position:relative;top:-77px}._3et9{margin-left:40px;margin-top:-100px}._3eta{-webkit-border-radius:3px}._2qdr:hover{opacity:.65;-webkit-transition:.3s} -._bv9{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:-209px -539px;float:left;height:5px;margin:4px 8px 4px 4px;width:9px}._bva{padding:2px 0;text-align:center}._2cfp tr td:not(:last-child){padding-right:6px}._2cfq{margin-bottom:6px} -._2b2u{position:relative}._4ksu{cursor:default;opacity:.35;pointer-events:none}._1m6e{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:-103px -609px;display:none;height:10px;position:absolute;right:4px;top:4px;width:10px}._1m6e:hover{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:-114px -609px;cursor:pointer}._2b2u:hover ._1m6e{display:block} -.canvas_iframe_util{overflow:hidden;width:760px}.canvas_rel_positioning{position:relative;overflow:hidden;zoom:1}#canvas_throbber{display:none;padding:220px 0;text-align:center}#canvas_throbber.async_saving{display:block}#iframe_canvas,#iframe_canvas_fb_https{display:block;width:100%}.canvasRHCFooter{margin-bottom:30px}.hide_right_col{overflow-y:auto} -._lh- #headerArea{margin:0;padding:0}._4n06 #contentCol{padding-top:0}._4n06 #bottomContent{display:none}._4n06 #contentCurve{margin:0 8px}._4n06.center_fixed_width_app #pagelet_canvas_content{margin:0 auto;max-width:760px}._4n06{background-image:url(/rsrc.php/v2/yZ/r/7_2F8Pl4G1K.png);background-position:right;background-repeat:repeat-y;background-size:278px 10px;min-height:100vh}._4n06 #mainContainer{border-right:none;margin-left:0}body._4n06 div#globalContainer{padding-left:0;padding-right:0;width:1006px}._4n06.liquid div#globalContainer{min-width:1020px}._4n06 #contentArea{border-right:none;padding:0}._4n06 div#contentArea::after{display:none}._4n06 #contentCol{background-color:inherit}._4n06 #pagelet_canvas_appreview>div{border-bottom:1px solid #e9eaed}._4n06 #rightCol{background-color:#fff;border-left:1px solid #d3d6db;-webkit-box-sizing:border-box;margin-left:0;min-height:1px;width:278px;word-wrap:break-word}._4n06 #rightCol .ego_section{border-bottom:1px solid #e9eaed}._4n06 #rightCol .uiSideHeader{background-color:inherit;border-top:0;margin-bottom:0;padding:10px 0 4px 0}._4n06 #rightCol .uiHeaderTitle{color:#9197a3;font-size:11px;font-weight:bold;text-transform:uppercase}._4n06 #rightCol .uiHeaderActions,._4n06 #rightCol .uiHeaderActions a{color:#6d84b4}._4n06 .ego_unit{margin-left:3px;margin-right:3px}._4n06 #rightCol .ego_unit_container{padding:0}._4n06 #rightCol .rhcFooterBorder{border-bottom:none}._4n06 #rightCol .rhcFooterWrap{padding-left:0}._4n06 .ego_column{width:254px}._4n06 .adsCategoryTitleLink{color:#9197a3}._4n06 #rightCol .uiHeaderTitle,._4n06 .adsCategoryTitleLink{-webkit-font-smoothing:antialiased}._4n06 .canvasRHCFooter,._4n06 .canvasRHCFooter a{color:#9197a3;font-size:11px}._4n06 .canvasRHCFooter{padding-top:0}._41ph{background-repeat:no-repeat;background-size:cover}._14ox{bottom:0;height:20px}._41pi{background:-webkit-gradient(linear, center top, center bottom, from(rgba(0,0,0,.85)), to(rgba(0,0,0,.5)));background:-webkit-linear-gradient( to bottom, rgba(0,0,0,.85), rgba(0,0,0,.5) );height:100%} -._470m{border-bottom:1px solid #ccc;padding:8px}._470m>table{width:100%}._470n{border:2px solid white;-webkit-border-radius:4px;margin-right:6px;vertical-align:middle}._470n:hover{border:2px solid #ebeef4}._470o{display:block;font-size:14px;margin-right:6px;padding:4px}._470o:after{color:#9197a3;content:' \25be'}._470p a,._470o a{color:#4e5665;text-decoration:none}._470o:hover{background-color:#ebeef4;-webkit-border-radius:4px}._3yhi ._53iv{padding:0}._470s{background-color:#f6f7f8;border-bottom:1px solid #ccc;color:#9197a3;font-size:11px;font-smoothing:antialiased;font-weight:bold;padding:6px 8px;text-transform:uppercase}._470t:not(:last-child){border-bottom:1px solid #ccc}._470u{border-top:1px solid #ccc;font-weight:bold;padding:8px;text-align:center}._470u:hover{background-color:#f6f7f8}._a91{border-bottom:1px solid #ccc;padding:8px}._a92{color:#4c4c4c;font-weight:600}._5ebx{vertical-align:middle}._41ng:after{color:#4c4c4c;content:' \25be';font-size:13px;position:relative;top:-3px}._41ng:after,._41ng:hover{text-decoration:none}._41ng button:focus{outline:0}._41ni{margin-left:auto;margin-right:0;margin-top:1px}._4utw{opacity:.6}._4utw:hover{opacity:1}._elo{color:#4c4c4c;font-size:13px;text-decoration:none}._3ht4{color:green;margin-right:14px;margin-top:2px}._3ht5{margin:2px 6px}._4utx{margin-top:2px}._3iqd{margin-right:14px}._51sk{width:430px}._3yhj:not(:last-child){padding-bottom:8px}._3yhk{width:500px}._3yhl{font-size:13px;font-weight:bold;padding-bottom:8px}._1ql2 ._1g80{height:25px}._1ql2 ._1g82{display:none}._1ql2 ._1g83{width:48px}._1ql2 ._1g88{right:100%}._1ql2 ._1g89{left:100%}._1ql2 ._1g8a{bottom:24px}._1ql2 ._1g8b{font-size:19px;font-weight:bold}._1ql2 ._1g8c{font-size:13px;margin-top:5px} -._1k76{background-color:#fff;border-bottom:1px solid #d3d6db;padding-bottom:12px;position:relative;z-index:100}._1k77{display:block;padding:0 2px 0 6px;position:relative}._1k78{padding:0 4px 0}._1k79{-webkit-border-radius:7px;position:relative}._5pr2 ._1k79{background-color:#fff}._1k79 .img{-webkit-border-radius:7px}._2omr{-webkit-border-radius:7px;bottom:0;-webkit-box-shadow:inset 0 0 1px rgba(0, 0, 0, .5);left:0;position:absolute;right:0;top:0}._1k79:hover{border-color:#5890ff;-webkit-box-shadow:0 0 2px 1px #5890ff}._1k79 .uiSideNavCountSprited{padding:0 3px}._1k79 .uiSideNavCountSprited span.countValue{padding:0 1px 1px 1px}._5av9{-webkit-border-radius:2px}._5ms_ ._1k77{padding:0}._5mt0{width:205px}._5mt0 ._1k77{padding-left:12px;padding-top:1px}._5mt0 ._1k78{padding-bottom:0;padding-left:8px;padding-right:0}#pagelet_canvas_showcase ._5m9p{width:244px}#pagelet_canvas_showcase ._5av9{width:244px}._5r-_.homeFixedLayout #rightCol ._5xi_.uiSideHeader a{color:#3b5998;font-size:12px}._2avm{margin-bottom:0}._2avn{max-height:129px;width:254px}._2avo{-webkit-border-radius:5px;overflow:hidden;position:relative}._2avp{height:129px;position:absolute;top:0;width:30px}._2avq{left:0}._2avr{right:0}._2avs{background-color:#fff;display:block;height:100%;opacity:0;width:100%}._2avs:hover{opacity:.4}._2avt{opacity:.8;position:absolute;top:49px}._2avq ._2avt{left:7px}._2avr ._2avt{right:7px}._4qt8{border:1px solid #d3d6db;-webkit-border-radius:5px;display:block;height:32px;margin-top:10px;overflow:hidden;text-align:center;white-space:nowrap}._4qt8:hover ._4qt9,._4qt8:hover ._1sag,._4qt8:hover ._1sah{text-decoration:underline}._4qt8 ._4qta{padding-left:6px;padding-right:4px;padding-top:8px}._4qt8 ._4qt9,._4qt8 ._1sag,._4qt8 ._1sah{display:inline-block;margin-top:10px;max-width:210px;overflow:hidden;text-overflow:ellipsis;vertical-align:top;white-space:nowrap}._4qt8 ._1sag{font-weight:bold}._4qt8 ._1sah{background-color:#cee5f6;-webkit-border-radius:3px;margin-right:6px;padding-left:4px;padding-right:4px}._1rqn{-webkit-border-radius:5px;height:129px;overflow:hidden;position:relative;margin-bottom:8px}._1rqo ._1m6e{top:32px}._1m6e ._1rqp{position:absolute;right:5px;top:5px}._4j5d{margin:8px 0 -4px;text-align:center}._dvb ._1m6e{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:-70px -609px;margin-top:6px}._dvb ._1m6e:hover{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:-92px -609px} -._2hcm{position:absolute;right:-2px;text-align:right;top:-2px}._2hcl.uiSideNavCount.uiSideNavCountRed{background-color:#f03d25}._2hcl.uiSideNavCount{-webkit-box-shadow:0 1px 0 rgba(0, 0, 0, .5);color:#fff;padding-bottom:1px;z-index:1} -a._cny{color:#4c4c4c;text-decoration:none}a._co0{color:#5890ff}._cnz{opacity:.6}._cnz:hover{opacity:1}._cn-{margin:2px 4px 0 0}._cn_{font-size:13px} -._578{min-width:100%}._57a{padding:8px}._57a._57b{background:rgba(237,239,245,.98)}._57a:hover{background-color:#f6f7f8}._57a:not(:last-child){border-bottom:1px solid #ccc}._57c{color:#4c4c4c;font-weight:600}._57d{color:#9197a3}._35mc{color:#3b5998}._35md{color:#b2b2b2;font-size:11px;padding-left:4px}._35me{color:#666;padding-bottom:2px} -._3ss{cursor:auto;height:85px}._3ss ._1m6e{right:2px;top:2px}._3sy{position:relative}._3t9{padding-left:8px}._3tb{height:50px;position:relative;width:50px}._3tb img{-webkit-border-radius:7px}._3tb:hover{border-color:#5890ff;-webkit-border-radius:7px;-webkit-box-shadow:0 0 2px 1px #5890ff}._3te{background:#dcdee3;height:1px;margin-left:8px;width:189px}._3tf{padding-left:12px;padding-top:2px}._2xo._3tj,._2xo._3tk{display:none}._3sy:hover ._3tj{background-image:url(/rsrc.php/v2/yM/r/AMdqHnPZ66I.png);background-repeat:no-repeat;background-size:auto;background-position:-36px -132px}._3sy:hover ._3tk{background-image:url(/rsrc.php/v2/yM/r/AMdqHnPZ66I.png);background-repeat:no-repeat;background-size:auto;background-position:-54px -132px}._gu1{margin-left:-6px;margin-right:-6px}._3tj,._3tk{display:inline;height:12px;position:absolute;top:20px;width:8px;z-index:4}._3tj{background-image:url(/rsrc.php/v2/yM/r/AMdqHnPZ66I.png);background-repeat:no-repeat;background-size:auto;background-position:-45px -132px;left:5px}._3tk{background-image:url(/rsrc.php/v2/yM/r/AMdqHnPZ66I.png);background-repeat:no-repeat;background-size:auto;background-position:-63px -132px;right:5px}._3tl{height:65px;left:-5px;position:absolute;top:-25px;width:20px}._3tm{-webkit-border-radius:7px;bottom:0;-webkit-box-shadow:inset 0 0 1px rgba(0, 0, 0, .5);left:0;position:absolute;right:0;top:0}._3tr,._3tr a,._3ts{color:#989db3;font-weight:bold;text-shadow:0 1px #fff;text-transform:uppercase}._3tr{font-size:9px}._gu1 ._3ts,._gu1 ._3tr,._gu1 ._3tr a{text-shadow:none}._gu1 ._3ts{color:#9197a3;-webkit-font-smoothing:antialiased}._gu1 ._3tr a{color:#6d84b4;font-size:12px;font-weight:normal;text-transform:none}._gu1._3ss{height:83px}._gu1 ._3tx{padding-top:10px}._3ts{font-size:11px}._3tx{line-height:12px;padding:6px} -.__wu ._539-.roundedBox{margin-left:30px;max-width:400px;overflow:hidden;width:auto}.__wu ._539-.roundedBox .uiSearchInput{border:none}.__wu .roundedBox .smurfbarBottomBorder{background:#fff;-webkit-border-radius:0 0 3px 3px;height:3px}.__wu .roundedBox .smurfbarTopBorder{background:#fff;-webkit-border-radius:3px 3px 0 0;height:3px}.__wu ._539-.roundedBox .uiSearchInput{display:block}.__wu ._539-.roundedBox .uiSearchInput,.__wu ._539-.roundedBox .uiSearchInput input,.__wu ._539-.roundedBox .uiSearchInput button{background-color:transparent}.__wu ._539-.roundedBox .uiSearchInput input{-webkit-box-sizing:border-box;display:block;margin:0;padding-left:7px;padding-right:25px;width:100%}.__wu ._539-.roundedBox .uiSearchInput,.__wu ._539-.roundedBox .uiSearchInput span{display:block}.__wu ._539-.roundedBox .uiTypeahead{height:18px;margin-top:0}.__wu ._539-.roundedBox .uiSearchInput .inputtext{color:#141823;font-size:14px;-webkit-font-smoothing:antialiased;height:18px;line-height:18.6px;padding-top:0}.__wu ._539-.roundedBox .uiSearchInput input::-webkit-input-placeholder{color:#9197a3}.__wu ._539-.roundedBox .uiSearchInput .inputtext::-webkit-input-placeholder{color:#4e5665}.__wu ._539-.roundedBox .uiSearchInput button{background-image:url(/rsrc.php/v2/y5/r/6qYnkCIq1UK.png);background-repeat:no-repeat;background-size:auto;background-position:0 -1201px;height:15px;right:3px;top:2px;width:22px}.__wu .roundedBox .uiTypeahead{background-color:#fff;border:none;-webkit-border-radius:0} -._2dpb{display:inline-block;max-width:175px;overflow:hidden;padding-left:8px;padding-right:0;text-overflow:ellipsis;vertical-align:top;white-space:nowrap}html ._2dpc{border:0;-webkit-border-radius:0;height:19px;margin:4px 0 0;width:19px}._5luq ._2dpb,.wifi_auth_content ._2dpb,.wifi_content ._2dpb{color:#d8deea;font-weight:bold;line-height:29px}.wifi_auth_content ._2dpb,.wifi_content ._2dpb{height:31px;position:relative;text-decoration:none}#booklet #fbpageheader ._2dpb{line-height:24px;padding:0 5px;vertical-align:middle}#booklet #fbpageheader ._2dpc{width:20px;height:20px;border:solid 1px #294a8f;border-top:solid 1px #123682;-webkit-border-radius:2px;margin:3px;vertical-align:middle}._4fn6{height:22px;line-height:22px;padding:0 6px 0 0}._5luq ._4fn6{border-left:none}._2dpe:after,._2dpe:hover::after{background-image:url(/rsrc.php/v2/yG/r/KOrgBTlwza7.png);background-repeat:no-repeat;background-size:auto;background-position:0 -105px;background-color:transparent;content:'';display:block;height:21px;left:3px;position:absolute;top:3px;width:21px}.work ._2dpe:after,.work ._2dpe:hover::after{background-image:url(/rsrc.php/v2/yG/r/KOrgBTlwza7.png);background-repeat:no-repeat;background-size:auto;background-position:-24px -82px}._4fn6:hover a._2dpe,._4fn6 a._2dpe{padding-left:4px} -._5pbu{position:relative}._5mxv{border-top:1px solid #e9e9e9;margin-top:12px;padding-top:10px}._5v3q ._5mxv{border-top-color:#e5e5e5;margin-top:9px;padding-top:12px}._5uqk{border:1px solid #e5e5e5;-webkit-border-radius:3px;margin-top:12px;padding:12px} -._5usc{display:none;padding:12px;text-align:center}._5usd,._5usd:hover{display:block;padding:14px 0 14px 28px;text-decoration:none}.async_saving ._5usc{display:block}.async_saving ._5usd{display:none} -._5pa-{position:relative} -._5pbz{border-top:1px solid #e9e9e9;margin-top:12px;padding-top:10px}._5va0{border-top:0;margin-top:10px;padding-top:0}._5va1{border:1px solid #e5e5e5;-webkit-border-radius:3px;margin-top:10px;padding:12px}._5pbz ._5pcr{position:relative}._114d ._5q5v{margin-bottom:15px}._5va0 ._44b2{display:block;line-height:32px;margin:0 -10px -10px;text-align:center}._5va0 ._44b2:hover{background-color:#f6f7f8;-webkit-border-radius:2px;text-decoration:none} -._5paw a{color:#999}._5v3q ._5paw .uiStreamSponsoredLink{color:#9197a3} -._2w1_{line-height:1.6em} -._495i{padding:11px 10px 10px} -.uiStream .uiStreamMessage{color:#000;font-size:11px;font-weight:normal;margin:0 0 5px 0}.uiStream .uiStreamHeadline{margin-bottom:0;outline:none}.uiStreamHeadline .uiLikePage{float:right;margin:0 -15px 0 15px}.uiStreamHeadline .uiJoinGroupButton{margin:-5px 30px 0 0}.uiLikePage.newChevronButton{margin-right:-10px}.uiStreamHeadlineWithLikeButton{min-height:31px}.uiStream .uiStreamPassive{margin-bottom:5px}.Locale_zh_CN .uiStream .uiStreamMessage,.Locale_zh_TW .uiStream .uiStreamMessage,.Locale_zh_HK .uiStream .uiStreamMessage{font-size:13px}.Locale_ja_JP .uiStream .uiStreamMessage{font-size:12px}.uiStreamMessage,.uiAttachmentTitle,.uiAttachmentDesc{word-break:break-word;word-wrap:break-word}.uiStreamMessage .actorDescription{margin-bottom:3px}.uiStreamMessage .suggestionBio .actorDescription{padding-bottom:0}.uiStreamMessage .suggestionBio{width:410px}div.uiAttachmentTitle{color:#333}.permalink_stream{position:relative}.uiStreamStory .mainWrapper{margin:0 35px 14px 0;padding-top:14px}.uiStreamStory .actorPhoto{margin-bottom:14px;margin-top:14px}.uiStreamStory .storyContent .storyInnerContent{margin-left:60px}.uiStreamStory .uiStreamSubstory .storyInnerContentSmallPic{margin-left:40px}.uiStream .uiStreamHide{margin-top:18px;position:absolute;right:0;top:0}.uiStream .substoryHideSelector{float:right;margin:-2px 0 0 0}.holdoutAdStory:first-child+.uiStreamStory{border-top:none}.uiStreamStory{padding:0;position:static}.homeWiderContent .uiStreamStory{margin-left:-18px;padding-left:18px}.uiStream .uiStreamHide .uiSelectorButton,.uiStream a.uiCloseButton.uiStreamHide,.uiStream .uiStreamStory:hover .uiStreamSubstory .uiStreamHide .uiSelectorButton{left:-9999px;position:absolute}.uiStream .uiStreamStory:hover .uiStreamHide .uiSelectorButton,.uiStream .uiStreamStory:hover a.uiCloseButton.uiStreamHide,.uiStream .uiStreamStory .uiStreamSubstory:hover .uiStreamHide .uiSelectorButton,.uiStream .uiStreamStory .uiStreamHide .openToggler .uiSelectorButton,.uiStream .uiStreamStory:hover .uiStreamSubstory .uiStreamHide .openToggler .uiSelectorButton{left:auto}.uiStream a.uiCloseButton.uiStreamHide.alwaysShowHideButton,.uiStream .uiSelectorButton:focus{left:auto !important}.uiStream a.uiCloseButton.uiStreamHide.alwaysShowHideButton.xButtonInTab{background-image:url(/rsrc.php/v2/yo/r/v8Aa7LNLLjB.png);background-repeat:no-repeat;background-size:auto;background-position:0 -45px;height:19px;margin-top:-1px;width:18px}.uiStream a.uiCloseButton.uiStreamHide.alwaysShowHideButton.xButtonInTab:hover{background-image:url(/rsrc.php/v2/yo/r/v8Aa7LNLLjB.png);background-repeat:no-repeat;background-size:auto;background-position:-19px -45px}.uiStreamStory:first-child a.uiCloseButton.uiStreamHide.alwaysShowHideButton.xButtonInTab,.uiStreamStory:first-child a.uiCloseButton.uiStreamHide.alwaysShowHideButton.xButtonInTab:hover{margin-top:0}.uiStreamHide .uiStreamContextButton,.uiStreamStory:hover .uiStreamSubstory .uiStreamHide .uiStreamContextButton{left:-9999px;position:absolute}.uiStreamStory:hover .uiStreamHide .uiStreamContextButton,.uiStreamStory .uiStreamSubstory:hover .uiStreamHide .uiStreamContextButton,.uiStreamStory .uiStreamHide.openToggler .uiStreamContextButton,.uiStreamStory:hover .uiStreamSubstory .uiStreamHide.openToggler .uiStreamContextButton{left:auto}.uiStreamStory .uiStreamContextButton:focus{left:auto !important}.uiStream .uiAttachmentDesc,.uiStream .uiStreamPassive,.uiStream .uiStreamRobotextBeforeMessage,.uiStream .uiAdminAttribution{color:#7f7f7f}.uiStream .tagIcon{vertical-align:bottom}.uiStream .text_exposed_link{display:block;font-size:11px;padding-left:0;padding-top:4px}.storyContent{padding-bottom:2px;position:relative}.uiStream .uiStreamStoryHide .storyContent{display:none}.uiStream .uiStreamStoryHidden{display:none}.uiStreamAttachments .external.photoLink{overflow:hidden;position:relative}.uiStreamAttachments .external .linkOverlay{background:url(/rsrc.php/v2/yj/r/QijIVO3ZIrO.png) repeat-x 0 0;bottom:0;color:#fff;height:36px;left:0;position:absolute;right:0}.uiStreamAttachments .external .shareIcon{bottom:5px;height:16px;position:absolute;right:5px;width:16px}.uiStreamAttachments .profilePhotoAttachment,.uiStreamAttachments .external img{max-height:90px;max-width:90px}.uiStreamAttachments.streamAttachmentWidePhoto .external img{max-height:210px;max-width:210px}.uiStream .uiAttachmentDetails{color:#333}.uiAttachmentInline .uiAttachmentTitle,.uiAttachmentInline .uiAttachmentDesc{display:inline}.uiStreamMessage .actorName,.uiStreamMessage .passiveName{font-weight:bold}.uiStreamMessage .wallArrowIcon{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:-393px -564px;height:9px;margin:0 5px;width:11px}.uiAttachmentNoMedia{border-left:2px solid #ccc}.uiAttachmentMedia{float:left}.uiAttachmentMediaFiles{outline:none;width:100%}.uiStreamAttachments .text_exposed .truncatedMediaInfo{clear:both;display:block;padding-left:0;width:auto}.uiStreamAttachments .truncatedMediaItem{display:none}.uiStreamAttachments .text_exposed .truncatedMediaItem{display:block}.uiStreamAttachments .truncatedMediaInfo{display:table;zoom:1}.uiStreamCollapsed{border-top:1px solid #eee}.uiStreamSubstories li.showAll{line-height:15px;padding:0}.uiStreamSubstories li.showAll a{color:#6d84b4;display:block;padding:8px 0 0}.uiStreamSubstories .uiUfi{width:350px}.uiStream .uiStreamSeparator{background-color:#e9eaed;border:0;height:7px;margin:6px 0;padding:0;text-align:center}.uiStream .uiStreamSeparatorText{background-color:#fff;padding:0 5px;position:relative;top:-4px}.uiStream .suppressBorder{border-top:0}.uiStreamEdgeStoryLineTx{background-color:#fff;color:#7f7f7f;left:32px;padding:0 8px;position:relative;top:-20px}.uiStreamEdgeStoryLine hr{background:#e5e5e5;margin:8px 0 10px 0}.uiStreamEdgeStoryLineWithLabel{height:23px;padding-top:1px}.uiStreamFooter,.uiStreamSource,.uiStreamSource a,.uiStreamFooter .uiStreamSource a,.uiStreamAdditionalLogging,.uiStreamSponsoredLink,.uiStreamPrivacyContainer{color:#999}.uiStreamNub{border-bottom:1px solid #c2cbe1;margin-top:2px}html .uiStreamFooter{display:table-cell}.uiStreamFooter{width:10000px}.uiStreamHomepage .uiStreamStory:first-child{margin-top:-6px}.uiStreamHomepage .uiStreamStory:first-child .actorPhoto{margin-top:18px}.uiStreamHomepage .uiStreamStory:first-child .mainWrapper{padding-top:18px}.uiStreamActionFooter .UIActionLinks_bottom a{color:#3b5998}.uiStream .uiStreamStory .highlightSelector{margin:-2px 10px 0 0}.uiStream .uiStreamStory .substoryHideSelector{margin:-2px 0 0}.permalink_stream .highlightSelector .uiSelectorMenuWrapper,.uiStream .uiStreamStory .highlightSelector .uiSelectorMenuWrapper{margin:-3px 1px 0 0}.permalink_stream .fbStreamPermalinkHeader .highlightSelector{float:right;margin-right:0;margin-top:0}.permalink_stream .highlightSelector .highlightSelectorButton{background-image:url(/rsrc.php/v2/yo/r/v8Aa7LNLLjB.png);background-repeat:no-repeat;background-size:auto;background-position:0 -24px;border:0;-webkit-box-shadow:none;display:inline-block;height:21px;line-height:21px;overflow:hidden;padding:0;text-indent:50px;width:21px}.uiStream .uiStreamStory .highlightSelector .uiSelectorButton,.uiStream .highlightSelector .highlightSelectorButton{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:0 -539px}.highlightEditSelectorButton{background-image:url(/rsrc.php/v2/yo/r/v8Aa7LNLLjB.png);background-repeat:no-repeat;background-size:auto;background-position:0 0}.uiStream .uiStreamStory .highlightSelector .uiSelectorButton,.uiStream .highlightSelector .highlightSelectorButton,.highlightEditSelectorButton{border:0;-webkit-box-shadow:none;display:inline-block;height:24px;line-height:24px;overflow:hidden;padding:0;text-indent:50px;width:21px}.permalink_stream .highlightSelector .highlightSelectorButton,.permalink_stream .highlightSelector .highlightSelectorButton:active,.permalink_stream .highlightSelector .highlightSelectorButton:focus,.permalink_stream .highlightSelector .highlightSelectorButton:hover{background-color:transparent;border:0;height:21px;padding:0;width:21px}.uiStream .uiStreamStory .highlightSelector .uiSelectorButton,.uiStream .uiStreamStory .highlightSelector .uiSelectorButton:active,.uiStream .uiStreamStory .highlightSelector .uiSelectorButton:focus,.uiStream .uiStreamStory .highlightSelector .uiSelectorButton:hover,.uiStream .highlightSelector .highlightSelectorButton,.uiStream .highlightSelector .highlightSelectorButton:active,.uiStream .highlightSelector .highlightSelectorButton:focus,.uiStream .highlightSelector .highlightSelectorButton:hover,.highlightSelector .highlightEditSelectorButton{background-color:transparent;border:0;height:24px;padding:0;width:21px}.permalink_stream .highlightSelector .highlightSelectorButton:hover{background-image:url(/rsrc.php/v2/yo/r/v8Aa7LNLLjB.png);background-repeat:no-repeat;background-size:auto;background-position:-21px -24px;border:0;padding:0}.uiStream .uiStreamStory .highlightSelector .uiSelectorButton:hover,.highlightSelector .highlightSelectorButton:hover{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:-21px -539px;border:0;padding:0}.highlightSelector .highlightEditSelectorButton:hover{background-image:url(/rsrc.php/v2/yo/r/v8Aa7LNLLjB.png);background-repeat:no-repeat;background-size:auto;background-position:-21px 0;border:0;padding:0}.permalink_stream .highlightSelector .openToggler .highlightSelectorButton,.permalink_stream .highlightSelector.openToggler .highlightSelectorButton,.permalink_stream .highlightSelector .openToggler .highlightSelectorButton:hover{background-image:url(/rsrc.php/v2/yo/r/v8Aa7LNLLjB.png);background-repeat:no-repeat;background-size:auto;background-position:-42px -24px;background-color:transparent;border:0;height:21px;padding:0;width:21px}.uiStream .uiStreamStory .highlightSelector .openToggler .uiSelectorButton,.uiStream .uiStreamStory .highlightSelector .openToggler .uiSelectorButton:hover,.highlightSelector .openToggler .highlightSelectorButton,.highlightSelector.openToggler .highlightSelectorButton,.permalink_stream .highlightSelector .openToggler .highlightEditSelectorButton:hover,.highlightSelector .openToggler .highlightEditSelectorButton,.highlightSelector.openToggler .highlightEditSelectorButton{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:-42px -539px;background-color:transparent;border:0;height:24px;padding:0;width:21px}.highlightSelector .openToggler .highlightEditSelectorButton,.highlightSelector.openToggler .highlightEditSelectorButton,.permalink_stream .highlightSelector .openToggler .highlightEditSelectorButton:hover{background-image:url(/rsrc.php/v2/yo/r/v8Aa7LNLLjB.png);background-repeat:no-repeat;background-size:auto;background-position:-42px 0}.uiStreamBoulderThemeAgg .substoryActorPic img,.uiStreamBoulderThemeAgg .uiStreamInlineAction .inlineActionInputPic{height:32px;width:32px}.uiStreamBoulderThemeAgg .storyContent{padding-bottom:2px}.uiStreamBoulderThemeAgg .uiStreamSubstory{margin:0;padding:5px 0}.uiStreamSubstories .uiStreamSubstory div.storyContent{padding-bottom:2px}.uiStreamBoulderThemeAgg .uiStreamSubstories>li:first-child .uiStreamSubstory{padding-top:0}.uiStreamStory .uiStreamSubstory .storyContent{padding:0}.uiStreamLoader{text-align:center}.uiStreamBoulderThemeAgg .uiStreamSubstories{margin-top:0;padding-top:0}.uiStreamBoulderThemeAgg .uiStreamSubstories .uiStreamShowAll{border-bottom:0;text-align:left}.uiStreamBoulderThemeAgg .uiStreamSubstories .uiStreamShowAll span{font-weight:normal}.uiStreamBoulderThemeAgg .inlineSubstory .uiStreamSubstory{border-bottom:1px solid #e5e5e5;padding-bottom:10px}.uiStreamBoulderThemeAgg .uiStreamAttachments .external{display:block;margin:0;padding-bottom:5px;padding-right:10px}.uiStreamBoulderThemeAgg .uiStreamAttachments .external img{max-height:100px;max-width:120px}.uiStreamInlineTextarea{display:block;height:19px;width:100%}.uiStreamShareLikePageBox{border-top:1px solid #e9e9e9;padding-top:10px}.uiStreamShareLikePageBox .uiPageLikeButton{margin-top:4px}.uiStreamSubstory .storyInnerContent .rfloat.PageLikeButton,.uiStreamSubstory .storyInnerContent .rfloat .PageLikeButton{margin-right:25px}.uiStreamSubstory .uiStreamHide.substoryHideSelector{margin:-12px 10px 0} -.objectListItem{padding-bottom:8px;padding-top:8px}.passive .objectListItem{color:#7f7f7f}.objectListItem .auxiliary{text-align:right} -.uiVideoThumb{border:0;display:inline-block;overflow:hidden;position:relative}a.uiVideoThumb.uiVideoLink{padding:0}.uiVideoThumb img{display:inline-block;max-height:130px;max-width:130px}.uiVideoThumb img[width]{max-width:auto}.uiVideoThumb i{background:url(/rsrc.php/v2/yq/r/DnUkX_BFxq1.png) no-repeat 0 0;height:72px;position:absolute;width:72px}.uiVideoThumbSmall i{background-image:url(/rsrc.php/v2/yN/r/aERK2-5sOBX.png);bottom:3px;height:22px;left:3px;width:27px}.uiVideoThumbTiny i{background-image:url(/rsrc.php/v2/yr/r/AF1Uwjj81fI.png);bottom:3px;height:17px;width:21px;left:3px}.uiVideoThumbLoading i{background:url(/rsrc.php/v2/y9/r/jKEcVPZFk-2.gif) no-repeat 50% 50%;bottom:0;height:100%;left:0;width:100%}.uiVideoThumbSmall.uiVideoThumbLoading i,.uiVideoThumbTiny.uiVideoThumbLoading i{background-image:url(/rsrc.php/v2/yb/r/GsNJNwuI-UM.gif)}.uiVideoThumbLoading img{opacity:.15}.UFICommentContent .uiStreamAttachments .uiVideoThumbParentExpanded{min-height:250px}.uiVideoThumbLarge img{background:#f6f7f8 no-repeat 50% 50%;max-height:168px;max-width:300px}.uiVideoThumbLarge i{background:url(/rsrc.php/v2/y7/r/RWoxIvCnixl.png) no-repeat 0 0;height:26px;left:50%;margin:-13px 0 0 -17px;position:absolute;top:50%;width:35px}.uiVideoThumbHuge i{background:url(/rsrc.php/v2/yz/r/xstF50nZUKF.png) no-repeat 0 0;height:62px;left:50%;margin:-31px 0 0 -46px;position:absolute;top:50%;width:92px} -.uiSideNav ul{display:none}.uiSideNav .open ul{display:block}.uiSideNav .forceSubitems ul{display:block}.uiSideNav .hidden{display:none}.uiSideNav .item,.uiSideNav .subitem{color:#333;display:block;border-bottom:1px solid #fff;min-height:17px;line-height:13px;padding:3px 8px 0 28px;text-decoration:none}.Locale_ar_AR .uiSideNav .item,.Locale_ar_AR .uiSideNav .subitem{line-height:14px}.uiSideNav .subitem{padding-left:37px}.uiSideNav .item:hover,.uiSideNav .item:active,.uiSideNav .item:focus,.uiSideNav .subitem:hover,.uiSideNav .subitem:active,.uiSideNav .subitem:focus,.uiSideNav .highlighted .item:hover,.uiSideNav ul .highlighted .subitem:hover{background-color:#f6f7f8;text-decoration:none}.uiSideNav .selectedItem .item,.uiSideNav .selectedItem .item:hover,.uiSideNav ul .selectedItem .subitem,.uiSideNav ul .selectedItem .subitem:hover{background-color:#d8deea;font-weight:bold}.uiSideNav .highlighted .item,.uiSideNav ul .highlighted .subitem{background-color:#fffbe2;text-decoration:none}.uiSideNav .item .imgWrap{width:18px}.uiSideNav .external{padding-right:12px;background:url(/rsrc.php/v2/yW/r/AebrcwrBeG6.png) no-repeat right 3px}.uiSideNav .item .linkWrap{display:block;max-width:116px;overflow:hidden;padding-left:0;text-overflow:ellipsis;white-space:nowrap}.uiSideNavCountText{color:#7f7f7f}.uiSideNav .item .uiSideNavCountRed{background-color:#f64c4c;color:#fff}.uiSideNav .uiSideNavCountRedBordered{background:#f03d25;border:solid 1px #c0311e;-webkit-border-radius:2px;color:#fff;display:inline-block;font-size:9px;margin-top:3px;padding:0 2px 0 3px;position:relative;white-space:nowrap}.uiSideNav .loading .item,.uiSideNav .sideNavItem .loading .subitem{background-color:#f6f7f8;border-color:#f2f2f2;border-bottom-color:#fff}.uiSideNav .loading .subitem{background-color:#fff;border-color:#fff}.uiFutureSideNav .actionLinks{font-size:9px;font-weight:bold;text-transform:uppercase}.droppableNav .actionLinks{display:block}.actionLinks{line-height:12px;padding:4px 0 4px 28px;position:relative}.uiSideNav .loadingIndicator,.actionLinks .loadingIndicator{-webkit-animation-play-state:paused;display:none;position:absolute;right:10px;top:3px}.loading .loadingIndicator,.async_saving .loadingIndicator{-webkit-animation-play-state:running;display:block}.editMode .loadingIndicator,.loading ul .loadingIndicator{-webkit-animation-play-state:paused;display:none}.uiSideNav .showSubitems .hiddenSubitem,.uiSideNav .open .navMore{display:block}.uiSideNav .hiddenSubitem,.uiSideNav .showSubitems .navMore,.uiSideNav .navMore{display:none}.uiSideNav li .navMore{margin:4px 0 10px 37px}.uiSideNav .loading .navMore{background-color:transparent}.uiSideNavAux{float:right;position:relative;right:-20px;top:2px}.async_saving .uiSideNavAux,.loading .uiSideNavAux{display:none} -._23k7,._23k8{float:left;height:8px;margin:14px 0 0 -10px;width:8px}._23k7{background-image:url(/rsrc.php/v2/yP/r/UzjtBwhU8T9.png);background-repeat:no-repeat;background-size:auto;background-position:0 -9px}._23k8{background-image:url(/rsrc.php/v2/yP/r/UzjtBwhU8T9.png);background-repeat:no-repeat;background-size:auto;background-position:0 -18px}._23ke{margin:5px 0 5px 5px;width:165px}._4qh8,._1dni{border-left:1px solid #cdd3dd;padding:5px}._4qh8:hover{background-color:#dcdee3;border-left:1px solid #9197a3;-webkit-border-radius:3px;font-weight:bold}._1dni{color:#3a5795;font-size:12px;padding:5px 5px 5px 7px}._4qhb{color:#6a7180;float:right;font-size:11px;padding-left:5px}._4qha{color:#080a10;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._23k3 .img{vertical-align:middle}._23k3{min-height:36px}._23k3 .uiSideNavAux{right:0;top:0}._23ka{display:block}._23k3 .uiSideNavAux a{margin-top:5px}._23k3.unexpanded:hover,._23k9:hover,._23k3 .uiSideNavAux a:hover,._23k3 .uiSideNavAux a:focus{background-color:#dcdee3;-webkit-border-radius:3px}._23k3:hover a{text-decoration:none}._23k9{padding:5px}._1dnj{color:#4e5665;font-size:12px;font-weight:bold;padding:0 7px 0 7px}._23kb{float:right;margin-top:5px}._23kb ._23k6 .uiSideNavSpinner{-webkit-animation-play-state:running;display:inline-block}._2yt8{margin:6px 0 0 -6px}._2yt9{margin-bottom:10px}._2yt9 .selectedItem{font-weight:bold}._23kc{color:#080a10;display:inline;font-size:12px;margin-left:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._23kd{color:#4e5665;font-size:11px;font-weight:bold}._32uf{color:#3a5795;display:block;font-size:12px;font-weight:bold;margin-top:5px} -._55y4 #sideNav #pinnedNav{margin-top:12px}._55y4 .homeSideNav .navHeader,._55y4 .homeSideNav .navHeader a{color:#9197a3;font-size:11px;-webkit-font-smoothing:antialiased}._1cwg{color:#6d84b4;font-size:12px;-webkit-font-smoothing:subpixel-antialiased;font-weight:normal;line-height:13px;margin-right:-7px;visibility:hidden;white-space:nowrap}.homeSideNav:hover ._1cwg{visibility:visible}._1cwg:hover{text-decoration:underline}._55y4 ._bui{margin-left:-24px}._55y4 ._bui ._5afe{border-bottom:0;-webkit-border-radius:2px 0 0 2px;height:22px;line-height:22px;margin-left:20px;margin-right:0;padding:0 4px 0 28px}._5vb_ ._bui ._5afe{margin-left:0;padding-left:22px;padding-right:0}._55y4 ._bui ._5afe{-webkit-border-radius:2px;height:24px;line-height:24px;margin-left:20px;padding-left:28px;padding-right:4px}._55y4 ._bui .sideNavItem .hasCount{max-width:120px}._55y4 ._bui .sideNavItem .linkWrap{margin-right:5px}._5vb_ ._bui ._5afe:hover,._5vb_ ._bui ._5afe:focus,._5vb_ ._bui ._5afe:active{background:none;text-decoration:underline}._5vb_ ._bui ._5afe ._5aff{-webkit-background-clip:padding-box;background-color:#fff;border:1px solid rgba(0, 0, 0, .16);-webkit-border-radius:3px;color:#4e5665;display:inline-block;font-family:'helvetica neue', helvetica, arial, 'lucida grande', sans-serif;font-weight:normal;min-height:13px;padding:0 3px;text-decoration:none}._55y4 ._bui ._5afe:hover,._55y4 ._bui ._5afd ._5afe,._55y4 ._bui ._5afe:hover ._5aff{background-color:#f6f7f8;text-decoration:none}._5vb_ ._55y4 ._bui ._5afe:hover,._5vb_ ._55y4 ._bui ._5afe:focus,._5vb_ ._55y4 ._bui ._5afe:active,._5vb_ ._55y4 ._bui ._5afd ._5afe{background-color:#dcdee3}._5vb_ ._bui .selectedItem ._5afe,._5vb_ ._bui .selectedItem ._5afe:hover,._5vb_ .uiSideNaxAux:hover~._5afe,._5vb_ .openToggler.uiSideNaxAux+._5afe{background-color:#d6d6da}._55y4 ._bui .selectedItem ._5afe{background-color:transparent}._55y4 ._bui .selectedItem ._5afe:hover,._55y4 .uiSideNavAux:hover~._5afe,._55y4 .openToggler.uiSideNavAux+._5afe{background-color:#dcdee3}._55y4 ._5aff{height:17px;line-height:17px}._55y4 ._5aff .maxCountIndicator{font-size:9px}._55y4 .sideNavItem .imgWrap .img{vertical-align:middle}._55y4 .uiFutureSideNavNoIcons ._bui ._5afe{padding-left:6px}._55y4 .uiFutureSideNavNoIcons .sideNavItem .imgWrap{display:none}._55y4 ._bui .sideNavItem{clear:both;margin-left:0;padding-right:0;width:auto}._55y4 ._3evf ._bui .sideNavItem{margin-left:-4px}._55y4 .homeSideNav .uiSideNavAux{top:0}._55y4 ._bui .sideNavItem .uiSideNavEditButton{margin-top:3px}._5vb_ ._55y4 ._5afe .count{-webkit-border-radius:1px;position:static}._5vb_ ._55y4 ._5afd ._5aff{display:none}._5vb_ ._55y4 ._5afe .count .countValue,._5vb_ ._55y4 ._5afe .count .maxCountIndicator{color:#4e5665;font-size:10px;font-weight:bold}._55y4._55y4 ._5afe .count .countValue,._55y4._55y4 ._5afe .count .maxCountIndicator{color:#4e5665;font-size:11px;font-weight:normal}._5vb_ ._55y4 ._5afe .count .maxCountIndicator{position:relative;top:-1px}._5vb_ ._55y4 ._5afe ._5aff,._5vb_ ._55y4 ._5afe:hover ._5aff{background-color:transparent;border:none;-webkit-border-radius:0;-webkit-box-shadow:none;color:#4e5665;height:14px;line-height:13px}._5vb_ ._55y4 ._5afe ._55yi,._5vb_ ._55y4 ._5afe:hover ._55yi,._5vb_ ._55y4 ._5afe ._55yl,._5vb_ ._55y4 ._5afe:hover ._55yl{background-color:#dc0d17;background-image:-webkit-gradient(linear, center top, center bottom, from(#fa3c45), to(#dc0d17));background-image:-webkit-linear-gradient(#fa3c45, #dc0d17);border-bottom:1px solid rgba(0, 0, 0, .16);color:#fff;height:14px;line-height:13px;margin-bottom:-1px}._55y4 #sideNav ._3hge{padding-left:24px}._55y4 #sideNav .dropdownLink{color:#9197a3;font-size:11px;-webkit-font-smoothing:antialiased;margin-left:0;padding-left:0;padding-right:9px}._85u{float:right;line-height:13px;margin-right:7px}._bui ._5afd .uiSideNavSpinner{-webkit-animation-play-state:running;display:inline-block}._bui .uiSideNavSpinner{-webkit-animation-play-state:paused;position:relative;right:1px;top:-1px}._bui .subitem .uiSideNavSpinner{top:1px}._bui .buttonWrap{clear:left;float:left;height:20px;text-align:right;width:20px}._bui .sideNavItem{margin-left:-20px;padding-right:20px;width:100%}._bui .drag{margin-left:0}._bui ._5afe,._bui .subitem{margin-left:20px;margin-right:-20px;-webkit-user-select:none}._bui .sideNavItem .imgWrap{float:left;margin-left:-22px;margin-top:-1px}._bui .sideNavItem .linkWrap{display:block;overflow:hidden;padding-left:0;text-overflow:ellipsis;white-space:nowrap}._bui .sideNavItem .hasCount{max-width:110px}._bui .sideNavItem .noCount{max-width:145px}._bui .sideNavItem .subitem .hasCount{max-width:90px}._bui .sideNavItem .subitem .noCount{max-width:125px}._bui ._5afd .noCount{max-width:127px}._bui .sideNavItem .uiSideNavEditButton{margin:2px 5px 0 0;text-align:left}._55y4 ._3evf ._bui{margin-left:0}._3evf ._bui .sideNavItem:hover .buttonWrap,._3evf ._bui .editMenuOpened .buttonWrap{display:block;padding-right:4px;width:25px}._3evf ._bui .buttonWrap,._3evf ._bui .sideNavItem:hover ._5afe .rfloat,._3evf ._bui .editMenuOpened ._5afe .rfloat{display:none}._3evf ._bui .buttonWrap{float:right;margin-right:-2px;width:0}._3evf .sideNavItem{margin-left:0;padding-right:0}._3evf .sideNavItem ._5afe,._3evf .sideNavItem .subitem{margin-left:0;margin-right:0}._3evf .uiSideNavAux{right:0}._bui ul{display:none}._bui .open ul{display:block}._bui .forceSubitems ul{display:block}._bui .hidden{display:none}._bui ._5afe,._bui .subitem{border-bottom:1px solid #fff;color:#333;display:block;line-height:13px;min-height:17px;padding:3px 8px 0 28px;text-decoration:none}.Locale_ar_AR ._bui ._5afe,.Locale_ar_AR ._bui .subitem{line-height:14px}._bui .subitem{padding-left:37px}._bui ._5afe:hover,._bui ._5afe:active,._bui ._5afe:focus,._bui .subitem:hover,._bui .subitem:active,._bui .subitem:focus,._bui .highlighted ._5afe:hover,._bui ul .highlighted .subitem:hover{background-color:#f6f7f8;text-decoration:none}._bui .selectedItem ._5afe,._bui .selectedItem ._5afe:hover,._bui ul .selectedItem .subitem,._bui ul .selectedItem .subitem:hover{background-color:#d8deea;font-weight:bold}._bui .highlighted ._5afe,._bui ul .highlighted .subitem{background-color:#fffbe2;text-decoration:none}._bui ._5afe .imgWrap{width:18px}._bui .external{background:url(/rsrc.php/v2/yW/r/AebrcwrBeG6.png) no-repeat right 3px;padding-right:12px}._bui ._5afe .linkWrap{display:block;max-width:116px;overflow:hidden;padding-left:0;text-overflow:ellipsis;white-space:nowrap}._bui ._5afe .uiSideNavCountRed{background-color:#f64c4c}._bui .uiSideNavCountRedBordered{background:#f03d25;border:solid 1px #c0311e;-webkit-border-radius:2px;color:#fff;display:inline-block;font-size:9px;margin-top:3px;padding:0 2px 0 3px;position:relative;white-space:nowrap}._bui ._5afd ._5afe,._bui .sideNavItem ._5afd .subitem{background-color:#f6f7f8;border-bottom-color:#fff;border-color:#f2f2f2}._bui ._5afd .subitem{background-color:#fff;border-color:#fff}.uiFutureSideNav ._3hge{font-size:9px;font-weight:bold;text-transform:uppercase}.droppableNav ._3hge{display:block}._3hge{line-height:12px;padding:4px 0 4px 28px;position:relative}._bui .loadingIndicator,._3hge .loadingIndicator{-webkit-animation-play-state:paused;display:none;position:absolute;right:10px;top:3px}._5afd .loadingIndicator{-webkit-animation-play-state:running;display:block}._bui .showSubitems .hiddenSubitem,._bui .open .navMore{display:block}._bui .hiddenSubitem,._bui .showSubitems .navMore,._bui .navMore{display:none}._bui li .navMore{margin:4px 0 10px 37px}._bui ._5afd .navMore{background-color:transparent}.homeSideNav ._55yu{float:right;position:relative;right:0;top:2px}._5afd ._55yu{display:none}._5aff{background-color:#d8deea;-webkit-border-radius:2px;color:#3b5998;font-weight:bold;left:-1px;padding:0 4 2px;padding-bottom:2px;position:relative}#bookmarksSeeAllEntSection ._bui .sideNavItem .hasCount,#bookmarksSeeAllEntSection ._bui .sideNavItem .noCount{max-width:400px}#bookmarksSeeAllEntSection ._bui .sideNavItem{border-top:1px solid #e9e9e9;margin-left:0;padding:8px 0 6px}#bookmarksSeeAllEntSection ._bui .sideNavItem ._5afe{margin-right:0}#bookmarksSeeAllEntSection .sideNavItem ._5afe .linkWrap{padding-top:1px}._5vb_ #contentArea ._bui:last-child{margin-bottom:0}._5vb_ #contentArea ._55yu{display:none}._1xmt{color:#6a7180;display:inline-block;float:left;line-height:16px;padding-top:3px}._564o{border-top:1px solid #cdd3dd;padding-top:5px} -._1493,._1492{-webkit-box-shadow:0 0 0 2px rgba(88, 144, 255, 1)}._1494{-webkit-box-shadow:0 0 0 2px rgba(0, 0, 0, .1)}._53lz ._53ij,._53l- ._53ij{-webkit-border-radius:3px;color:#fff;display:inline-block;font-size:14px;height:32px;line-height:32px;padding:0 12px;-webkit-transform-origin:bottom center;-webkit-transition:-webkit-transform .2s ease, opacity .2s ease;white-space:nowrap}._53lz ._53ij{background-color:#5890ff}._53l- ._53ij{background-color:#da2929}._53lz ._53iv,._53l- ._53iv{padding:10px 34px 12px 10px}._53lz ._53ik,._53l- ._53ik{padding-bottom:12px}._53lz ._53ik ._53io,._53l- ._53ik ._53io{border-left:9px solid transparent;border-right:9px solid transparent;bottom:4px}._53lz ._53ik ._53io{border-top:9px solid #5890ff}._53l- ._53ik ._53io{border-top:9px solid #da2929}._2ryg ._5afe{cursor:default;opacity:.5}._2ryg ._5afe:hover{background-color:transparent}._2ryg .sortableItem{cursor:move;opacity:1}._2ryg .sortableItem:hover{background-color:#f6f7f8}._upa{background-image:url(/rsrc.php/v2/yP/r/UzjtBwhU8T9.png);background-repeat:no-repeat;background-size:auto;background-position:0 0;display:none;height:8px;margin-top:7px;width:10px}._2ryg ._upa{display:block}._2ryg ._bui .external{background-image:none}._3hgf{display:none}._2ryg ._3hgf{display:inline}._2ryg .draggingMode{opacity:.5}._2ryg .droppableNav .draggingMode{opacity:1}._2ryg ._bui ul{display:none}._2ryg .middot,._2ryg .navEdit,._2ryg .navLessLink,._2ryg ._bui .count,._2ryg ._bui .uiSideNavAux,._2ryg ._bui .divider,._2ryg ._bui .loading .mover,._2ryg ._bui .uiCloseButton{display:none !important}._2ryg ._bui .loading .uiSideNavSpinner{-webkit-animation-play-state:paused;display:none}._2ryg .loadingIndicator{-webkit-animation-play-state:paused;display:none}.draggingMode ._1wc5,._2ryg ._5ol3,._2ryg ._1wc5{visibility:hidden !important} -.uiTokenizer{background:#fff}.uiNormalTokenizer .uiTypeahead{width:100%}.uiNormalTokenizer .tokenarea{overflow:hidden;padding-top:6px} -.uiInlineTokenizer{cursor:text;border:1px solid #bdc7d8}.uiInlineTokenizer .tokenarea{padding-left:2px}.uiInlineTokenizer .uiToken{top:2px}.uiInlineTokenizer .uiTypeahead{border:0;float:left}.uiInlineTokenizer .uiTypeahead .wrap{border:0}div.uiInlineTokenizerView{width:200px}.uiInlineTokenizer .textInput[disabled]{background:#fff} -._53bb{background:rgba(0,0,0,.6);color:#fff;line-height:18px;text-align:center}._53bb._19qj{background:black}._53bb:before{content:'';display:inline-block;height:100%;vertical-align:middle}._53bj{display:inline-block;height:150px;text-decoration:none;vertical-align:middle}._53bj li{margin-bottom:20px;text-align:left}._53bk{vertical-align:middle}._53bl{color:#fff;display:inline-block;font-size:18px;font-weight:bold;padding-left:10px;text-decoration:none;vertical-align:middle}._53bl:hover{text-decoration:underline}._53bm{font-size:14px;font-weight:normal;margin-top:5px;text-decoration:none}._53bm:hover{text-decoration:underline} -.sp_1EX4ug-WZns{background-image:url(/rsrc.php/v2/yS/r/7iC9gNJBegJ.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:12px;width:150px}.sp_1EX4ug-WZns.sx_ce7642{width:120px;height:69px;background-position:-30px -99px}.sp_1EX4ug-WZns.sx_6ca665{width:15px;background-position:0 -122px}.sp_1EX4ug-WZns.sx_195914{height:98px;background-position:0 0}.sp_1EX4ug-WZns.sx_3a8230{width:12px;background-position:-16px -122px}.sp_1EX4ug-WZns.sx_fd7eea{width:22px;height:22px;background-position:0 -99px}.sp_1EX4ug-WZns.sx_e80fb3{width:90px;height:30px;background-position:0 -169px} -.sp_4K3ihxPoiFy{background-image:url(/rsrc.php/v2/y4/r/vij3xZb3gjg.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:16px;width:16px}.sp_4K3ihxPoiFy.sx_7a3b1e{background-position:0 0}.sp_4K3ihxPoiFy.sx_5e66bf{background-position:0 -17px} -.sp_7JyRWGJr8x9{background-image:url(/rsrc.php/v2/yY/r/1nk9TPCpGh3.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:40px;width:40px}.sp_7JyRWGJr8x9.sx_6201cf{width:17px;height:28px;background-position:0 -705px}.sp_7JyRWGJr8x9.sx_58f6a3{background-position:0 -49px}.sp_7JyRWGJr8x9.sx_1c7464{background-position:0 -90px}.sp_7JyRWGJr8x9.sx_705d07{background-position:0 -131px}.sp_7JyRWGJr8x9.sx_a19360{background-position:0 -172px}.sp_7JyRWGJr8x9.sx_5a2b6a{background-position:0 -213px}.sp_7JyRWGJr8x9.sx_f69eb0{background-position:0 -254px}.sp_7JyRWGJr8x9.sx_7e6c31{background-position:0 -295px}.sp_7JyRWGJr8x9.sx_b8a6fe{background-position:0 -336px}.sp_7JyRWGJr8x9.sx_e6d49d{background-position:0 -377px}.sp_7JyRWGJr8x9.sx_b877cd{background-position:0 -418px}.sp_7JyRWGJr8x9.sx_c31b66{background-position:0 -459px}.sp_7JyRWGJr8x9.sx_25a454{background-position:0 -500px}.sp_7JyRWGJr8x9.sx_c7c6c7{background-position:0 -541px}.sp_7JyRWGJr8x9.sx_0cc508{background-position:0 -582px}.sp_7JyRWGJr8x9.sx_9cb666{background-position:0 -623px}.sp_7JyRWGJr8x9.sx_19bffc{background-position:0 -664px}.sp_7JyRWGJr8x9.sx_4c09cd{width:48px;height:48px;background-position:0 0}.sp_7JyRWGJr8x9.sx_f9e5d3{width:16px;height:16px;background-position:-18px -705px}.sp_7JyRWGJr8x9.sx_f25529{width:16px;height:16px;background-position:0 -734px}.sp_7JyRWGJr8x9.sx_b97ce4{width:14px;height:14px;background-position:-34px -734px}.sp_7JyRWGJr8x9.sx_c5d63a{width:16px;height:16px;background-position:-17px -734px}.sp_7JyRWGJr8x9.sx_8bf6ad{width:14px;height:14px;background-position:-17px -751px}.sp_7JyRWGJr8x9.sx_bed59c{width:16px;height:16px;background-position:0 -751px} -.sp_7uLz3U6Scw5{background-image:url(/rsrc.php/v2/yQ/r/ZUPWq8y8Y4h.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:16px;width:16px}.sp_7uLz3U6Scw5.sx_0eb6fb{background-position:0 0}.sp_7uLz3U6Scw5.sx_4d2494{background-position:0 -17px} -.sp_KHkZV2AZyt5{background-image:url(/rsrc.php/v2/yq/r/HT0akMwqWGE.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:16px;width:16px}.sp_KHkZV2AZyt5.sx_10efbb{background-position:0 0}.sp_KHkZV2AZyt5.sx_174240{background-position:0 -17px} -.sp_KKjSkjiKU9X{background-image:url(/rsrc.php/v2/yv/r/Hx6dEMxb7UR.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:16px;width:16px}.sp_KKjSkjiKU9X.sx_2c947b{width:15px;background-position:0 -237px}.sp_KKjSkjiKU9X.sx_0689e7{width:24px;height:24px;background-position:0 0}.sp_KKjSkjiKU9X.sx_1f1a6c{background-position:0 -67px}.sp_KKjSkjiKU9X.sx_14ce94{background-position:0 -84px}.sp_KKjSkjiKU9X.sx_c2df66{background-position:0 -101px}.sp_KKjSkjiKU9X.sx_025628{width:20px;height:20px;background-position:0 -25px}.sp_KKjSkjiKU9X.sx_faacf7{background-position:0 -118px}.sp_KKjSkjiKU9X.sx_23540c{background-position:0 -135px}.sp_KKjSkjiKU9X.sx_e6faaa{background-position:0 -152px}.sp_KKjSkjiKU9X.sx_a0baf7{background-position:0 -169px}.sp_KKjSkjiKU9X.sx_a8b64d{background-position:0 -186px}.sp_KKjSkjiKU9X.sx_607b25{background-position:0 -203px}.sp_KKjSkjiKU9X.sx_1c6ddd{background-position:0 -220px}.sp_KKjSkjiKU9X.sx_b82c44{width:20px;height:20px;background-position:0 -46px}.sp_KKjSkjiKU9X.sx_d672f9{width:12px;height:12px;background-position:0 -254px} -.sp_Mq9hGfMTxze{background-image:url(/rsrc.php/v2/yi/r/8rZfw0Ft3km.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:16px;width:16px}.sp_Mq9hGfMTxze.sx_cb9bdd{background-position:0 0}.sp_Mq9hGfMTxze.sx_07c7d1{background-position:0 -17px} -.sp_RZ-FADxDq-i{background-image:url(/rsrc.php/v2/yo/r/v8Aa7LNLLjB.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:18px;width:63px}.sp_RZ-FADxDq-i.sx_0b842e{width:18px;background-position:0 -45px}.sp_RZ-FADxDq-i.sx_5131e4{width:18px;background-position:-19px -45px}.sp_RZ-FADxDq-i.sx_136740{height:23px;background-position:0 0}.sp_RZ-FADxDq-i.sx_2690f1{height:20px;background-position:0 -24px} -.sp_U7iaDyu_yfq{background-image:url(/rsrc.php/v2/yC/r/Zv_HCBA6LVT.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:16px;width:16px}.sp_U7iaDyu_yfq.sx_660682{background-position:0 0}.sp_U7iaDyu_yfq.sx_99a22b{background-position:0 -17px}.sp_U7iaDyu_yfq.sx_8e23f5{background-position:0 -34px} -.sp_U8Hn8VYe80j{background-image:url(/rsrc.php/v2/yP/r/UzjtBwhU8T9.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:8px;width:8px}.sp_U8Hn8VYe80j.sx_69a58d{width:10px;background-position:0 0}.sp_U8Hn8VYe80j.sx_221708{background-position:0 -9px}.sp_U8Hn8VYe80j.sx_179a0b{background-position:0 -18px} -.sp_W1hbKicGhtN{background-image:url(/rsrc.php/v2/yi/r/YdQYwz3hc9D.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:64px;width:64px}.sp_W1hbKicGhtN.sx_9d4b17{background-position:0 0}.sp_W1hbKicGhtN.sx_4018f1{background-position:0 -65px}.sp_W1hbKicGhtN.sx_bc782d{background-position:0 -130px} -.sp_bb29F7loOCS{background-image:url(/rsrc.php/v2/yh/r/DkNrHZbdaqK.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:16px;width:8px}.sp_bb29F7loOCS.sx_29dfc5{width:15px;background-position:0 -17px}.sp_bb29F7loOCS.sx_3fdc2b{width:16px;background-position:0 0}.sp_bb29F7loOCS.sx_d6f771{height:8px;background-position:0 -34px}.sp_bb29F7loOCS.sx_788ca9{height:8px;background-position:0 -43px} -.sp_fGlUVHJd1zA{background-image:url(/rsrc.php/v2/yA/r/OeM78C8eNQt.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:82px;width:90px}.sp_fGlUVHJd1zA.sx_47c1ce{width:50px;height:50px;background-position:0 -83px}.sp_fGlUVHJd1zA.sx_1f8e62{background-position:0 0} -.sp_p61yxZCxO_a{background-image:url(/rsrc.php/v2/yM/r/AMdqHnPZ66I.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:28px;width:12px}.sp_p61yxZCxO_a.sx_5cc2b2{width:11px;height:11px;background-position:-4px -48px}.sp_p61yxZCxO_a.sx_d20e4b{width:26px;height:24px;background-position:-200px -40px}.sp_p61yxZCxO_a.sx_7b64ee{width:26px;height:24px;background-position:-89px -67px}.sp_p61yxZCxO_a.sx_919bd5{width:20px;height:24px;background-position:0 -8px}.sp_p61yxZCxO_a.sx_767a92{width:38px;height:25px;background-position:0 -72px}.sp_p61yxZCxO_a.sx_7dd957{width:22px;height:25px;background-position:-192px -98px}.sp_p61yxZCxO_a.sx_2e7430{width:22px;height:25px;background-position:0 -132px}.sp_p61yxZCxO_a.sx_3f0b07{height:14px;background-position:-10px -108px}.sp_p61yxZCxO_a.sx_00d6e2{height:14px;background-position:-42px -108px}.sp_p61yxZCxO_a.sx_9aa8b3{height:14px;background-position:-74px -108px}.sp_p61yxZCxO_a.sx_aaa9f1{height:14px;background-position:-106px -108px}.sp_p61yxZCxO_a.sx_f7ec95{width:4px;background-position:-39px -67px}.sp_p61yxZCxO_a.sx_47f01e{width:4px;background-position:-44px -67px}.sp_p61yxZCxO_a.sx_c90474{width:4px;background-position:-49px -67px}.sp_p61yxZCxO_a.sx_0498ba{width:4px;background-position:-54px -67px}.sp_p61yxZCxO_a.sx_e5bd97{width:4px;background-position:-59px -67px}.sp_p61yxZCxO_a.sx_87560c{width:4px;background-position:-64px -67px}.sp_p61yxZCxO_a.sx_0a9e49{width:4px;background-position:-69px -67px}.sp_p61yxZCxO_a.sx_4d1952{width:4px;background-position:-74px -67px}.sp_p61yxZCxO_a.sx_8e745f{width:4px;background-position:-79px -67px}.sp_p61yxZCxO_a.sx_e28c65{width:4px;background-position:-84px -67px}.sp_p61yxZCxO_a.sx_8794fb{width:16px;height:16px;background-position:-176px -67px}.sp_p61yxZCxO_a.sx_f23243{width:16px;height:10px;background-position:-193px -67px}.sp_p61yxZCxO_a.sx_612609{height:17px;background-position:-150px -67px}.sp_p61yxZCxO_a.sx_353275{height:17px;background-position:-163px -67px}.sp_p61yxZCxO_a.sx_906024{width:16px;height:17px;background-position:-116px -67px}.sp_p61yxZCxO_a.sx_f132e3{width:16px;height:17px;background-position:-133px -67px}.sp_p61yxZCxO_a.sx_1b1b4d{height:13px;background-position:-215px -98px}.sp_p61yxZCxO_a.sx_6c7697{height:13px;background-position:-23px -132px}.sp_p61yxZCxO_a.sx_46659d{height:12px;background-position:-138px -108px}.sp_p61yxZCxO_a.sx_7b6272{height:12px;background-position:-170px -108px}.sp_p61yxZCxO_a.sx_9dfffa{width:8px;height:12px;background-position:-36px -132px}.sp_p61yxZCxO_a.sx_c82af6{width:8px;height:12px;background-position:-45px -132px}.sp_p61yxZCxO_a.sx_fe7735{width:8px;height:12px;background-position:-54px -132px}.sp_p61yxZCxO_a.sx_42675f{width:8px;height:12px;background-position:-63px -132px} -.sp_uv8KD5PfLOB{background-image:url(/rsrc.php/v2/ym/r/v_nQAQmKvaR.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:16px;width:16px}.sp_uv8KD5PfLOB.sx_668912{background-position:0 -49px}.sp_uv8KD5PfLOB.sx_f9fa54{background-position:-17px -49px}.sp_uv8KD5PfLOB.sx_a31aeb{background-position:0 -66px}.sp_uv8KD5PfLOB.sx_8a03da{background-position:-17px -66px}.sp_uv8KD5PfLOB.sx_2ffa4b{background-position:0 -83px}.sp_uv8KD5PfLOB.sx_b9d88e{background-position:-17px -83px}.sp_uv8KD5PfLOB.sx_d23690{width:48px;height:48px;background-position:0 0}.sp_uv8KD5PfLOB.sx_01d3b8{width:12px;height:12px;background-position:-34px -49px}.sp_uv8KD5PfLOB.sx_15325f{background-position:0 -100px}.sp_uv8KD5PfLOB.sx_a74878{background-position:-17px -100px}.sp_uv8KD5PfLOB.sx_71b72b{width:8px;height:12px;background-position:-34px -62px}.sp_uv8KD5PfLOB.sx_2becbb{width:8px;height:12px;background-position:-34px -75px} -.sp_wSHLyXlly6n{background-image:url(/rsrc.php/v2/yv/r/B1B2Szk2VH8.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:16px;width:16px}.sp_wSHLyXlly6n.sx_9dc478{background-position:0 0}.sp_wSHLyXlly6n.sx_1dd8ac{background-position:0 -17px} - -#bootloader_mgW29 { height: 42px; } -.bootloader_mgW29 { display:block !important; } \ No newline at end of file diff --git a/app/assets/images/s_files/533129_10150765207625861_312082963_n.jpg b/app/assets/images/s_files/533129_10150765207625861_312082963_n.jpg deleted file mode 100644 index bfb17ec..0000000 Binary files a/app/assets/images/s_files/533129_10150765207625861_312082963_n.jpg and /dev/null differ diff --git a/app/assets/images/s_files/553269_10204434621719534_8696227016564101710_n.jpg b/app/assets/images/s_files/553269_10204434621719534_8696227016564101710_n.jpg deleted file mode 100644 index dc89d56..0000000 Binary files a/app/assets/images/s_files/553269_10204434621719534_8696227016564101710_n.jpg and /dev/null differ diff --git a/app/assets/images/s_files/575380_10100597366280191_1677400712_n(1).jpg b/app/assets/images/s_files/575380_10100597366280191_1677400712_n(1).jpg deleted file mode 100644 index 1945eea..0000000 Binary files a/app/assets/images/s_files/575380_10100597366280191_1677400712_n(1).jpg and /dev/null differ diff --git a/app/assets/images/s_files/575380_10100597366280191_1677400712_n.jpg b/app/assets/images/s_files/575380_10100597366280191_1677400712_n.jpg deleted file mode 100644 index 3cf7f62..0000000 Binary files a/app/assets/images/s_files/575380_10100597366280191_1677400712_n.jpg and /dev/null differ diff --git a/app/assets/images/s_files/582682_10100533602962287_279967351_n.jpg b/app/assets/images/s_files/582682_10100533602962287_279967351_n.jpg deleted file mode 100644 index 5e11ccc..0000000 Binary files a/app/assets/images/s_files/582682_10100533602962287_279967351_n.jpg and /dev/null differ diff --git a/app/assets/images/s_files/67YWnac6gcD.css b/app/assets/images/s_files/67YWnac6gcD.css deleted file mode 100644 index dda1e0e..0000000 --- a/app/assets/images/s_files/67YWnac6gcD.css +++ /dev/null @@ -1,25 +0,0 @@ -/*!CK:2949344319!*//*1427086764,*/ - -._6z-{width:173px;z-index:2}._6z- .fbTimelineSection{padding:12px 0;width:250px}._5g4r .fbTimelineSection{margin-bottom:10px;margin-top:0;padding:12px 0;width:300px}._5i8n{padding-top:10px;position:relative;width:200px}._5i8o,._5jjg{padding-left:20px}._5i8o label{font-weight:normal;padding-bottom:10px}._6z_{font-size:16px;font-weight:bold;margin:20px 7px}._5g4s{font-weight:bold;padding:0 10px;text-transform:uppercase}._5g4t{color:#4e5665;font-weight:bold;padding:0 0 15px 10px;text-transform:uppercase}._5j5b{padding:0 0 5px 10px}._5j5b span input{width:245px}._5j5b td{max-width:145px}._5j5b .ego_column{margin:-14px 0;width:280px}._6z- .uiSideNav .sideNavItem{margin-bottom:2px}._6z- .uiSideNav .item,._6z- .uiSideNav .subitem{border-bottom:0;color:#4e5665}._6z- .uiSideNav .subitem{padding-left:28px}._6z- .uiSideNav .item:hover,._6z- .uiSideNav .subitem:hover{background-color:#f6f7f8}._6z- .uiSideNav .loading .subitem{background-color:transparent}._6z- .uiSideNav .selectedItem>.item,._6z- .uiSideNav .selectedItem>.subitem{background-color:#f6f7f8;border-bottom:1px solid #d3d6db;border-top:1px solid #d3d6db}._6z- .uiSideNav .selectedItem>.item:hover,._6z- .uiSideNav .selectedItem>.subitem:hover{background-color:#f6f7f8}._6z- .uiHeaderNav{background-image:url(/rsrc.php/v2/yV/r/R3gnFfkFEmR.png);background-repeat:no-repeat;margin:0}._6z- ._554b,._6z- .navLessLink{color:#89919c}._6z- ._554d{display:none}._6z- .uiSideNavCount{padding-left:3px;padding-right:3px}._6z- .count .countValue,._6z- .count .maxCountIndicator{font-size:9px}._6-0{width:678px}._6-0 #profileApprovalSeeMoreContainer{margin:0 -1px -2px -1px}._6-3{margin-top:74px}._5g4u{margin:-85px -30px 0 0}._kj2{margin-top:100px}.tinyViewport ._6-3{margin-top:0}._6-3 .profileApprovalListContainer{padding:0}.fbTimelineLogColumn ._6-3 .fbTimelineSection{padding:0}._6-3 li.profileApprovalStoryContainer{padding:3px 15px 16px}._41wg ._3kqv{display:none}._6-3 #profileApprovalLoadingIndicator{padding-bottom:10px;text-align:center}._6-3 .profileApprovalRow .uiStream .uiStreamAttachments{margin-bottom:5px}._3oyv{display:block;margin:auto}._6-3 .approvalStory{position:relative;top:6px}._6-3 #pages_scheduled_posts_stream{padding:0 15px}._6-3 #pages_scheduled_posts_stream_pager{margin:0}._6-3 .fbTimelineScheduledPostsSection h3{padding:10px 15px 0}._3_7k{border-top:1px solid #d3d6db}._1_3v{position:relative;top:-10px}._5jjh{background-color:#fff;border:1px solid #d3d6db;-webkit-border-radius:3px;margin:75px 0 0 35px;padding:15px;width:606px}._3r70 span._54nh{max-width:360px} -._iqp div.profile-pagelet-section{margin-bottom:0}._iqp h3{border-bottom:3px solid #e1e1e1;font-size:15px;line-height:22px}.async_saving ._iqp .uiMorePagerLoader{display:none}.async_saving ._iqp .uiMorePager,.async_saving ._iqp .uiMorePagerPrimary{display:block}._iqq{color:#6d84b4;font-size:15px;font-weight:bold;margin:10px;text-align:center}._40pu{border-bottom:1px solid #d3d6db;height:11px;margin:auto;position:relative;right:8px;width:290px}._40pv{background-color:#e9eaed;font-size:11px;font-weight:normal;padding:0 5px}._13rf{float:right;visibility:hidden}.async_saving ._13rf{visibility:visible}._z6j{background-color:#fff;border:1px solid #d3d6db;-webkit-border-radius:3px;position:relative}._iqp .uiMorePager{margin:0 -25px -10px}._iqp ._z6j .uiMorePager{margin:0 0 -5px}._iqp ._z6j .uiMorePagerLoader{border:none;-webkit-border-radius:0 0 2px 2px}._417b{border-bottom:2px solid #f2f2f2}._417c{border-bottom:1px solid #e0e0e0;padding:17px 0;text-align:center} -._3214{position:absolute;right:5px;top:5px}._3215{margin:0 2px;vertical-align:middle} -.fbActivityLogAudienceSelector a.uiSelectorButton,.fbActivityLogAudienceSelector a.uiSelectorButton:active,.fbActivityLogAudienceSelector a.uiSelectorButton:focus,.fbActivityLogAudienceSelector a.uiSelectorButton:hover{padding-left:5px;padding-right:22px}.fbActivityLogAudienceSelector a.uiButton{visibility:hidden}.fbActivityLogStaticAudience{display:inline-block;margin:3px 0 0 4px}.uiStreamStory:hover .fbActivityLogAudienceSelector a.uiButton,.fbActivityLogAudienceSelector .openToggler a.uiButton,.fbActivityLogAudienceSelector.openToggler a.uiButton,.fbActivityLogAudienceSelector a.uiButton .img{visibility:visible}.fbActivityLogAudienceSelector.audienceSelector .uiSelectorMenu .itemIcon{display:none}._2fmt ._2fmm ._2fmu{margin:3px 2px}._2fmt ._2fmm,._2fmt ._2fmm:active,._2fmt ._2fmm:focus,._2fmt ._2fmm:hover{padding-left:4px;padding-right:4px} -._2o3t{z-index:11}._kj3{background:#fff;border:1px solid #d3d6db;padding:15px;width:646px}._5g4p{background:#fff;border:1px solid #d3d6db;-webkit-border-radius:3px 3px 0 0;padding:15px;width:606px}._5g4q{background:#e9eaed;border:1px solid #e9eaed;margin-top:-106px;padding:15px;width:606px}._kj3 .uiSearchInput{border-color:#d3d6db}._a4f{line-height:32px}._a4h{padding-right:4px;padding-top:7px}._a4h li._a4i{padding-left:4px;padding-right:4px}._3216{padding:4px 5px 0 4px}._a4h ._2cte{margin-top:2px}._a4k{border-top:1px solid #d3d3d3;margin-top:10px;padding-top:12px}._2o49{background:#f6f7f8;border:1px solid #d3d6db;border-bottom-width:2px;-webkit-border-radius:0 0 3px 3px;border-top:0;height:23px;line-height:23px;padding:2px 15px}._kj4{line-height:19px;padding-top:2px}._kj4 .uiPopoverButton .customimg{vertical-align:middle}._kj5 .uiPopoverButtonWithChevron{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:right -295px}._2o4a{display:inline-block;position:relative;top:-1px}._kj5 .uiButtonText{color:#666;font-weight:normal}._kj5:hover .uiButtonText{color:#000}._kj8{color:#666;margin-left:10px}.highlighted ._kj8{color:#dcdee3}._kj7{margin-bottom:-4px;opacity:.5}._2_xy{line-height:15px;padding-top:3px}._2o4b,._2o3r ._kj4{display:none}._2o3r ._2o4b{display:block}._2_xz{position:relative;top:1px} -._5shk{padding-left:15px;padding-right:15px}._5shk .uiButton{background-image:none}._5shk:hover ._5shl{visibility:visible}._5shk:hover .uiButton{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:right -393px}._5shk .uiButtonSuppressed:hover{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:right -98px}._5shk .uiSelectorNormal .openToggler .uiButtonSuppressed{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:right -343px}._5ep5{padding:0 15px 0 4px;width:240px}._5shl{visibility:hidden}._5ep6{width:300px}._5ep7{width:76px}._5ep8{font-size:9px;font-weight:bold;padding:10px 15px;text-transform:uppercase}._5xec{margin-top:3px;padding-left:5px}._5p-m{height:30px;width:30px} -.fbConnectWidgetTopmost{border:1px solid #aaa;border-top-color:#3b5998;overflow:hidden;padding:0;position:relative}div.fbDarkWidget{background-color:transparent}.fbDarkWidget .fbWidgetTitle{color:#fff}.fbDarkWidget a,.fbDarkWidget .profileName{color:#fff}.fbDarkWidget a.uiLinkSubtle{color:#9197a3}.fbDarkWidget a.fbCommentOverlayLink{color:#3b5998}div.ConnectActivityLogin{border-width:0 0 1px;zoom:1}.fbDarkWidget div.ConnectActivityLogin{border-color:#333;background-color:#000}.fbProfilePic{height:35px;width:35px}.fbLoginButton{float:left}.ConnectActivityLoginMessage{color:#666;line-height:14px;vertical-align:top;zoom:1}.fbDarkWidget .ConnectActivityLoginMessage{color:#9197a3}.fbConnectWidgetFooter{bottom:0;cursor:default;position:absolute;width:100%}.transparent_widget .fbDarkWidget .fbConnectWidgetFooter{background-color:transparent}.fbConnectWidgetFooter .fbFooterBorder{border-top:1px solid #ccc;margin:0 6px;padding:4px 3px}.fbDarkWidget .fbConnectWidgetFooter .fbFooterBorder{border-top:1px solid #444}.fbConnectWidgetContent,.fbImageContainer img{visibility:hidden}.fbConnectWidgetContent,.fbGalleryRecommendationsImageContainer img{visibility:hidden}div.fbHalfPage{overflow:hidden}div.fbAdminOptions{float:right} -.fbFeedbackContent{-webkit-text-size-adjust:none}.fbFeedbackContent.fbDarkWidget{border:none}.fbFeedbackContent .async_saving ul,.fbFeedbackContent .async_saving .indicator,.fbFeedbackContent .async_saving .action_links{background:url(/rsrc.php/v2/yb/r/GsNJNwuI-UM.gif) no-repeat right}.fbFeedbackContent.fbDarkWidget .composerHider{border-bottom:1px solid #666;border-top:1px solid #666}.fbFeedbackContent .composerHider{border-bottom:1px solid #ccc;border-top:1px solid #ccc;margin:0;padding:9px 0 7px}.fbFeedbackContent .composerHider .uiSelector{margin:-3px 1px}.fbFeedbackContent .composerHider .uiSelector .uiSelectorButton,.fbFeedbackContent .composerHider .uiSelector .uiSelectorButton:active,.fbFeedbackContent .composerHider .uiSelector .uiSelectorButton:focus,.fbFeedbackContent .composerHider .uiSelector .uiSelectorButton:hover{background-image:url(/rsrc.php/v2/yF/r/FKdgyTOUamS.png);background-repeat:no-repeat;background-size:auto;background-position:right -393px;background-color:transparent;border:none;-webkit-box-shadow:none;margin:0;padding:2px 20px 2px 0}.fbFeedbackContent .composerHider .uiSelector .uiSelectorButton .uiButtonText{color:#333}.fbFeedbackContent.fbDarkWidget .composerHider .uiSelector .uiSelectorButton .uiButtonText{color:#fff}.fbFeedbackContent .composerHider .uiSelector .itemLabel{font-weight:normal}.fbFeedbackContent .composerHider .uiSelector .checked .itemLabel{font-weight:bold}.fbFeedbackContent .composerHider a{font-weight:bold}.fbFeedbackContent .fbThirdPartyIcon{position:relative;right:1px;top:4px}.fbCommentContext .fbCommentContextPosts{overflow-x:hidden;overflow-y:auto;max-height:400px}.fbCommentContext .fbCommentContextPosts .fbTopLevelComment{padding-top:0}.fbCommentContext .composerGrid{width:100%}.fbCommentContext .composerTight{width:0%}.fbCommentContext .composerReply .uiButton{margin-right:4px}.fbFeedbackContent .composer{background-color:transparent;background-color:rgba(190, 190, 190, .2);border:solid #e9e9e9;border-width:1px 0;padding:7px 10px 7px 69px;position:relative}.fbFeedbackContent.fbDarkWidget .composer{background-color:#333;border-color:#666}.fbFeedbackContent .fbFeedbackPosts .composer{margin-left:-10px}.fbFeedbackContent .fbFeedbackPostsContainer .fbFeedbackPosts{padding:0}.fbFeedbackContent .noTopBorder{border-top:0 !important}.fbDarkWidget .fbCommentContext .composer{background-color:#555;border:none}.fbCommentContext .composer{background-color:#f6f7f8;border:1px solid #ccc;margin-top:4px;padding-bottom:4px;padding-top:4px;padding-left:70px;position:relative}.fbFeedbackContent .composer .viewerProfilePic{background-color:#dcdee3;margin:2px 0 0 0;padding:0 !important;position:absolute;left:10px}.fbFeedbackContent .composer .mirroringNotice{background-color:#f6f7f8;border-top:1px solid #e9e9e9;color:#7f7f7f;font-size:11px;margin:7px -10px -7px -69px;padding:4px;text-align:center}.fbFeedbackContent.fbDarkWidget .fbFeedbackTypeahead,.fbFeedbackContent.fbDarkWidget .fbFeedbackTypeahead .wrap{border-color:#434343}.fbFeedbackContent.fbDarkWidget .fbFeedbackMentions .mentionsTextarea,.fbFeedbackContent .fbFeedbackMentions .mentionsTextarea{border-width:0;padding:0;margin:0;-webkit-box-shadow:none;background-color:transparent}.fbFeedbackContent.fbDarkWidget .fbFeedbackMentions{background-color:#000}.fbFeedbackContent .fbFeedbackMentions{background-color:#fff;margin:2px 0}.fbFeedbackContent .fbFeedbackMentions .innerWrap{padding:3px}.fbFeedbackContent .fbFeedbackMentions .highlighter{left:0;top:0}.fbFeedbackContent.fbDarkWidget .fbFeedbackMentions .highlighter b{background-color:#444}.fbCommentContext .textwrapper,.fbFeedbackContent .textwrapper{padding:0 8px 0 0}.commentas_inner{color:#000;display:block;padding-top:4px}.commentas_inner a{color:#000}.commentas_inner a:hover{text-decoration:none}.commentas_inner .commentasName{font-weight:bold}.postToProfile .indicator{display:inline-block;padding-left:5px;width:16px}.hideCommentas .commentas{display:none}.fbCommentContext.fbDarkWidget .composer textarea,.fbFeedbackContent.fbDarkWidget .composer textarea{color:#fff;background-color:#000;border:1px solid #434343}.fbCommentContext .composer textarea,.fbFeedbackContent .composer textarea{border-width:0;border:1px solid;border-color:#899bc1;padding:3px;width:100%}.fbFeedbackContent .replywrapper{padding:0 8px 0 0}.fbCommentContext .viewerProfilePic{float:left}.fbCommentContext .replywrapper{width:100%}.fbCommentContext .replywrappermargin{margin:0 9px}.fbCommentContext .replywrappermargin .textarea{margin-left:-4px}.fbFeedbackContent.fbDarkWidget .composerReply{border-top:1px solid #666}.fbFeedbackContent .composerReply{border-top:1px solid #e9e9e9}.fbFeedbackContent .composerReply{padding-top:8px}.fbFeedbackContent .composerReply textarea{width:100%}.fbFeedbackContent .postContent .action_links{margin-bottom:8px}.fbFeedbackContent .postBlingBox{border:none;bottom:1px;cursor:text;padding:0;position:relative}.fbFeedbackContent .postBlingBox:hover{background-color:transparent;border:none}.fbFeedbackContent .fbUpDownVoteAfterLogin{display:inline}.fbFeedbackContent .fbFeedbackPager{margin-left:0}.fbFeedbackContent .fbFeedbackPager .fbFeedbackPagerLink{padding:8px}.fbFeedbackContent .fbFeedbackReplyPager .fbFeedbackPagerLink{padding:5px 8px}.fbFeedbackContent .fbFeedbackPager .fbFeedbackPagerLink:hover{text-decoration:none}.fbFeedbackContent .postReplies .pagerLoader{padding-left:2px}.fbFeedbackContent{min-height:100px}.fbCommentContext .fbFeedbackContent{min-height:0}.fbFeedbackContent .fbFeedbackPosts{padding:0 0 0 10px}.fbFeedbackContent .star{height:11px;width:11px}.fbFeedbackContent .followLinkInlineCheck,.fbFeedbackContent .followLinkInlineCheckDark{margin-right:4px}.fbFeedbackContent .post{margin-top:4px}.fbFeedbackContent .post input{margin-left:0}.fbFeedbackContent .post label.desc{font-weight:normal}.fbFeedbackContent .profileName{font-size:12px}.fbFeedbackContent .fbFeedbackPost{border:solid #e9eaed;border-width:1px 0 0;clear:both;padding-bottom:0 !important;padding-top:10px}.fbFeedbackContent.fbDarkWidget .fbFeedbackPost{border-color:#555}.fbFeedbackContent li.fbTopLevelComment:first-of-type{border-width:0}.fbFeedbackContent li.fbTopLevelComment:last-of-type{margin-bottom:-5px}.fbDarkWidget .fbFeedbackReplies .fbFeedbackPost{border-color:#444}.fbFeedbackReplies .fbFeedbackPost{border-width:0 0 1px 0;border-color:#e9eaed}.fbFeedbackReply form,.fbFeedbackContent .postReply,.postReplies{margin-top:8px}.postReplies .uiMorePagerLight .uiMorePagerPrimary:hover{background-color:transparent;background-color:rgba(225, 228, 237, .6)}.postReplies .uiMorePagerInverted .uiMorePagerPrimary,.postReplies .uiMorePagerInverted .uiMorePagerLoader{background-color:transparent;border-width:1px 0 0 0;border-color:#444}.fbFeedbackContent .uiMorePagerInverted .uiMorePagerPrimary:hover{background-color:#444;border-color:#555}.fbDarkWidget .closeButton .uiCloseButton,.fbDarkWidget .closeButton .openToggler .uiCloseButton,.fbDarkWidget .closeButtonAfterLogin .uiCloseButton{border:1px solid #000;margin:0}.fbFeedbackContent .postContainer:hover .closeButton,.fbFeedbackContent .postContainer:hover .closeButtonAfterLogin,.fbFeedbackContent .postContainer .closeButton:focus,.fbFeedbackContent .postContainer .closeButtonAfterLogin:focus{opacity:1}.fbFeedbackContent .postContainer .closeButton,.fbFeedbackContent .postContainer .closeButtonAfterLogin{float:right;opacity:0}.fbFeedbackPost{position:relative}.fbFeedbackPost .postContent{margin-top:5px}.fbDarkWidget .fbFeedbackPost .postText{color:#ccc}.fbFeedbackPost .postText{color:#191919;line-height:14px;margin:0 28px 5px 0}.fbFeedbackPost .postActor{background-color:#e9eaed;margin-bottom:8px;margin-right:11px}.fbDarkWidget .postActor{background-color:#333}.fbFeedbackReplyPager{height:16px;margin-bottom:8px}.fbFeedbackContent .fbConnectWidgetFooter{position:static}.fbFeedbackContent .fbConnectWidgetFooter .fbFooterBorder{margin:5px 0 0 0}.fbTopLevelComment .fbFeedbackReplies .fbCommentReply{border-width:1px 0 0}.fbFeedbackContent .fbCommentOverlay{border-style:solid;border-width:1px;position:absolute;top:0;left:0;bottom:0;right:0;opacity:.90;font-size:12px}.fbFeedbackContent .fbReportedByUser{background-color:#fff;border-color:#e9eaed}.fbFeedbackContent .fbRecentlyBlacklisted{background-color:#444;border-color:#191919}.fbFeedbackContent .fbRecentlyPublicized{background-color:#e4ffe2;border-color:#d2f1d0}.fbFeedbackContent .fbRecentlyPrivatized{background-color:#fffbe8;border-color:#f7e0ff}.fbFeedbackContent .fbCommentOverlayInsert{position:absolute;top:50%;margin-top:-0.5em;text-align:center;width:100%}.fbFeedbackContent .fbCommentDownvotedButVisible .postText{color:#7f7f7f}.fbFeedbackContent .fbCommentOverlayDark{color:#000}.fbFeedbackContent .fbCommentOverlayLight{color:#fff}.fbFeedbackContent .fbCommentOverlayLight a:link,.fbFeedbackContent .fbCommentOverlayLight a:hover,.fbFeedbackContent .fbCommentOverlayLight a:visited,.fbFeedbackContent .fbCommentOverlayLight a:active{color:#999}.fbCommentsEditSettings .uiInfoTable .label{width:145px;vertical-align:middle}.fbCommentsEditSettings .uiInfoTable tr{border-top:1px solid #ccc}.fbCommentsEditSettings .uiInfoTable tr:first-child{border:none}.fbCommentsEditSettings .uiInfoTable th{padding:10px 5px 10px 0}.fbCommentsEditSettings .uiInfoTable td{padding:10px 0 10px 5px}.fbCommentsEditSettings .uiInfoTable tr:first-child th,.fbCommentsEditSettings .uiInfoTable tr:first-child td{padding-top:0}.fbCommentsEditSettings .uiInfoTable tr:nth-last-child(2) th,.fbCommentsEditSettings .uiInfoTable tr:nth-last-child(2) td{padding-bottom:0}.fbCommentsEditSettings .uiInfoTable tr:last-child,.fbCommentsEditSettings .uiInfoTable tr.custom_blacklist{border:none}.fbCommentsEditSettings .uiInfoTable tr.custom_blacklist th,.fbCommentsEditSettings .uiInfoTable tr.custom_blacklist td{padding:0 5px 10px 5px}.fbDarkWidget .warning a{color:#7f7f7f}.fbFeedbackContent .closeButton .editSelector .uiCloseButton{background-image:url(/rsrc.php/v2/yA/r/w49kGdoISkc.png)}.fbFeedbackPost .postContainer .fbCommentEditor textarea{padding:3px;width:100%;border:none}.fbFeedbackPost .postContainer .fbCommentEditor{padding:7px 10px 7px 10px;min-height:0}.fbFeedbackPost .postContainer .fbCommentEditor .textBoxContainer{background-color:#fff}.postToProfileCheckbox{vertical-align:middle}.fbFeedbackPost .postContainer .fbCommentEditor .highlighter{font-size:12px;font-weight:normal}.fbFeedbackPost .fsm{font-size:12px}.fbFeedbackContent body,.fbFeedbackContent button,.fbFeedbackContent form,.fbFeedbackContent input,.fbFeedbackContent label,.fbFeedbackContent select,.fbFeedbackContent td,.fbFeedbackContent textarea{font-size:12px} -.FlyoutSubscriptionMenu{min-width:180px}.SubscriptionMenu .itemLabel{overflow:hidden}div.SubscriptionMenu .SubscriptionMenuCategory .itemAnchor{font-weight:normal}div.FriendListSubscribeSubmenu{padding-top:0;padding-bottom:0}div.FriendListActionMenu,div.InterestListMenuDisconnect{padding-top:0}div.InterestListMenuLists{padding-bottom:0}.addToInterestListsClosed .FriendListSubscribeSubmenu{padding-top:4px}.addToInterestListsOpen .InterestListCreateList{padding-bottom:4px}.NonFriendSubscriptionMenu .hideFromNonFriend,.isUnsubscribed .SubscribeMenuSettingsItem,.subscriptionMenuOpen .FriendListActionMenu,.subscriptionMenuOpen .FlyoutFriendListMenu,.subscriptionMenuOpen .InterestListMenuLists,.subscriptionMenuOpen .InterestListMenuDisconnect,.subscriptionMenuOpen .FriendListSubscribeSubmenu,.subscriptionMenuOpen .AddToInterestListsMenuItem,.addToInterestListsClosed.subscriptionMenuOpen .FlyoutFriendListMenu,.addToInterestListsClosed.subscriptionMenuOpen .InterestListMenuLists,.addToInterestListsClosed.subscriptionMenuOpen .InterestListMenuDisconnect,.addToInterestListsClosed.subscriptionMenuOpen .FriendListSubscribeSubmenu,.addToInterestListsClosed.subscriptionMenuOpen .AddToInterestListsMenuItem,.addToInterestListsOpen .FriendListSubscribeSubmenu,.addToInterestListsOpen .AddToInterestListsMenuItem,.addToInterestListsOpen .InterestListMenuDisconnect,.addToInterestListsClosed .InterestListMenuLists,.addToInterestListsClosed .InterestListMenuGoBack,.cannotSubscribe .FriendListSubscribeSubmenu,.noSubscriptionLevels .SubscribeMenuSettingsItem,.noSubscribeCheckbox .SubscribeMenuSubscribeCheckbox,.pagesSubscribeButtonFlyout .SubscribeMenuSubscribeCheckbox,.FriendListSubscriptionsMenu{display:none}.addToInterestListsOpen .InterestListMenuGoBack,.addToInterestListsOpen .InterestListMenuLists,.addToInterestListsClosed .FriendListSubscribeSubmenu,.addToInterestListsClosed .AddToInterestListsMenuItem,.addToInterestListsClosed .InterestListMenuDisconnect,.subscriptionMenuOpen .FriendListSubscriptionsMenu{display:block} -span.FollowLink .followLinkInlineCheck{display:inline;margin-right:4px}.followLinkSubscribed{cursor:default} -.FriendListMenu{overflow:hidden;padding-bottom:0}.FriendListActionMenu{padding-top:0}.async_saving .FriendListCancel,.async_saving .FriendListUnfriend,.async_saving .FriendListActionSeparator,.async_saving .FriendListScroller,.async_saving .FriendListMenu,.async_saving .FriendListSubscribeSubmenu,.async_saving .FriendListSubscriptionsMenu{display:none}.FriendListCFMenu .itemLabel,.FriendListMenu .itemLabel{overflow:hidden}.FriendListMenu .FriendListItem .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.FriendListMenu .FriendListItem .icon{float:right;margin:3px 0 0 4px}.uiScrollableArea ul.FriendListMenu{margin-right:5px}.FriendListMenu .FriendListCreateItem{position:relative}.CreateListInputItem,.FriendListCreateTrigger{position:relative;zoom:1}div.FriendListMenuCreate li.FriendListCreateTrigger,.FriendListMenu .CreateListInputItem{display:none}div.FriendListMenuCreate .CreateListInputItem{display:block;padding:1px 16px 1px 22px}.FriendListMenu .createListInput{outline:none;padding:1px 2px 2px 2px;width:100px}.async_saving .FriendListActionMenu{display:none}.FriendListCancel{position:relative}.FriendListCancel .uiLoadingIndicatorAsync{position:absolute;top:4px}.FriendListMenu .underShowMore,.FriendListMenu .ShowMoreItem,.FriendListActionMenu .PageMenuUnlike,div.FriendListMenuShowMore li.ShowMoreItem{display:none}div.FriendListMenuShowMore .underShowMore,div.hasMoreFriendListItems .ShowMoreItem{display:block}.FlyoutFriendMenu{max-width:300px;min-width:192px}.FlyoutFriendMenu .uiScrollableAreaWrap{max-height:266px}.FlyoutFriendMenu .uiScrollableAreaTrack{right:15px}.FlyoutFriendMenu .uiScrollableArea.contentAfter:after{background-color:transparent}.FriendListMemorializedUser li,.FriendListMemorializedUser li.uiMenuItem{display:none}.FriendListMemorializedUser li.FriendListUnfriend{display:list-item}.FriendListCannotSuggestFriends li.FriendListSuggestFriends,.FriendListCannotSuggestFriends li.FriendListSuggestFriendsSeparator{display:none}.NoFriendListActionSeparator .FriendListActionSeparator{display:none} -._2eg_{background-color:#f6f7f8;border-bottom:1px solid #d3d6db;display:block;height:43px;overflow:hidden;position:relative}._2eh0{display:inline;line-height:43px;padding:12px 0 8px 12px;text-align:center;width:400px}._2eh1{float:right;margin:0 5px 0 0;padding:12px 12px 8px 12px}._2eh2{line-height:25px}._2eh3{max-width:79%;min-height:35px;text-overflow:ellipsis}._2eh4{float:right;padding-right:5px} -.fbTimelineLogColumn .fbTimelineNavigationPagelet{display:none}.fbTimelineLogFilterForm{display:inline}.fbTimelineSearchError{padding-left:20px}._guu{background-color:#f6f7f8;border:1px solid;border-bottom:2px solid;border-color:#d3d6db;-webkit-border-radius:3px;padding:12px 15px}._guu .title{color:#666;font-size:13px}._guu .text{color:gray;font-size:11px}.fbTimelineLogBody{margin-bottom:30px}.fbTimelineLogStream .profile-pagelet-section{margin-bottom:0}.fbTimelineLogStream .uiMorePagerPrimary{border:0}.fbTimelineLogTimeNav{padding-bottom:3px}.fbTimelineLogColumn .fbTimelineSection{padding:20px 25px 10px}.fbTimelineLogScrubber .selected ul{display:block}.fbTimelineLogScrubber .selected li.selected a{font-weight:bold}.fbTimelineLogColumn .fbProfileEditFieldInline{width:480px}.fbTimelineLogColumn .fbProfileEditFieldInline .privacyWidget{padding-top:0}.fbTimelineLogColumn .fbProfileEditFieldInline .rightCol{padding-left:0;width:41px} -._a4a{padding-top:6px}._a4b{display:inline;padding:15px 0}._a4d{padding-right:8px;padding-top:4px} -._554d{margin-left:2px;padding-bottom:2px} -.uiSideNav .divider{border-bottom:1px solid #ededed;border-top:1px solid #ededed;height:1px;left:auto;display:none;padding-left:0;margin-bottom:1px;width:179px;font-size:1px;line-height:1px;overflow:hidden}.editMode .uiSideNav .hidden,.expandedMode .uiSideNav .hidden,.expandedMode .uiSideNav .divider{display:block}.navMoreText{display:block;width:100%}.navLess{line-height:12px}div.navLess,.expandedMode .navMore{display:none}.expandedMode .navLess{display:block} -.uiMorePagerInverted .uiMorePagerPrimary,.uiMorePagerInverted .uiMorePagerLoader{padding:6px 5px 10px;border:1px solid #444}.uiMorePagerInverted .uiMorePagerPrimary:hover{background-color:#444}.uiMorePagerInverted .uiMorePagerSecondary{margin:6px 5px} -.sp_JcDlXLkT-_J{background-image:url(/rsrc.php/v2/yb/r/jBADm7298kh.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:10px;width:10px}.sp_JcDlXLkT-_J.sx_1d75b6{width:11px;background-position:0 -14px}.sp_JcDlXLkT-_J.sx_f7caea{width:9px;height:5px;background-position:0 -47px}.sp_JcDlXLkT-_J.sx_98cb57{background-position:0 -25px}.sp_JcDlXLkT-_J.sx_2faeb6{background-position:0 -36px}.sp_JcDlXLkT-_J.sx_638273{width:15px;height:13px;background-position:0 0} -.sp__a43P482Bcg{background-image:url(/rsrc.php/v2/yX/r/9Cneog2i_7o.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:16px;width:16px}.sp__a43P482Bcg.sx_074ea5{background-position:0 -51px}.sp__a43P482Bcg.sx_e09b26{width:11px;height:10px;background-position:-30px -68px}.sp__a43P482Bcg.sx_db59c7{width:5px;height:3px;background-position:-42px -68px}.sp__a43P482Bcg.sx_0ddde0{background-position:-17px -51px}.sp__a43P482Bcg.sx_7408be{width:9px;height:11px;background-position:0 -85px}.sp__a43P482Bcg.sx_77fe17{width:12px;height:14px;background-position:-17px -68px}.sp__a43P482Bcg.sx_14549e{background-position:-34px -51px}.sp__a43P482Bcg.sx_afdc65{width:50px;height:50px;background-position:0 0}.sp__a43P482Bcg.sx_5db8c5{background-position:0 -68px} -.sp_qNtrLM6Qw0-{background-image:url(/rsrc.php/v2/yT/r/IwMrDchhY34.png);background-size:auto;background-repeat:no-repeat;display:inline-block;height:12px;width:12px}.sp_qNtrLM6Qw0-.sx_671347{width:14px;height:14px;background-position:0 0}.sp_qNtrLM6Qw0-.sx_cf6339{background-position:0 -15px}.sp_qNtrLM6Qw0-.sx_357085{background-position:0 -28px} - -#bootloader_MREu1 { height: 42px; } -.bootloader_MREu1 { display:block !important; } \ No newline at end of file diff --git a/app/assets/images/s_files/8eDcp_y4GKo.js b/app/assets/images/s_files/8eDcp_y4GKo.js deleted file mode 100644 index 03f162c..0000000 --- a/app/assets/images/s_files/8eDcp_y4GKo.js +++ /dev/null @@ -1,14 +0,0 @@ -/*!CK:744403774!*//*1427086740,*/ - -if (self.CavalryLogger) { CavalryLogger.start_js(["SrgWn"]); } - -__d("StarsRatableBase",["Event","Arbiter","CSS","DOM","Parent","Run","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();function n(o,p,q,r){this.root=o;this.freezeOnClick=p;this.stars=j.scry(o,'a');this.listeners=[g.listen(this.root,'click',this._onClick.bind(this)),g.listen(this.root,'mousemove',this._onMouseMove.bind(this)),g.listen(this.root,'mouseout',this._onMouseOut.bind(this))];this.holdMouseMove=false;this.setRating(q);this.layerHides=0;if(r)h.subscribe('layer_hidden',function(){this.layerHides++;if(this.layerHides>=2)this.setRating(0);}.bind(this));l.onLeave(this.destroyListeners.bind(this));}n.init=function(o,p,q,r){return new n(o,p,q,r);};m(n.prototype,{_onClick:function(event){this.layerHides=0;var o=this._getStarIndexFromEvent(event);if(!o)return;this.setRating(o);if(this.freezeOnClick){this.freeze();}else this.holdMouseMove=true;event.prevent();},_onMouseMove:function(event){if(this.holdMouseMove)return;var o=this._getStarIndexFromEvent(event);if(!o)return;this.setStars(o,true);},_onMouseOut:function(event){this.holdMouseMove=false;this.updateStars();},_getStarIndexFromEvent:function(event){var o=k.byTag(event.getTarget(),'a');if(o)return this.stars.indexOf(o)+1;return 0;},setRating:function(o){this._rating=o;this.updateStars();},updateStars:function(){this.setStars(this._rating);},setStars:function(o,p){var q=p?'hoverStar':'fullStar',r=p?'fullStar':'hoverStar';for(var s=0;s=o);i.conditionClass(this.stars[s],q,!t);i.conditionClass(this.stars[s],'emptyStar',t);}},freeze:function(){i.addClass(this.root,'uiStarsRated');this.destroyListeners();},destroyListeners:function(){this.listeners.forEach(function(o){o&&o.remove();});this.listeners=[];}});a.StarsRatableBase=e.exports=n;},null); -__d("TabBar",["ArbiterMixin","React","mixin"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=i(g);for(var k in j)if(j.hasOwnProperty(k))m[k]=j[k];var l=j===null?null:j.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=j;function m(n,o,p){"use strict";o.props=Object.assign({},o.props,{onTabClick:function(q){return this.inform(m.TAB_CLICK,q);}.bind(this)});h.render(n(o),p);}m.TAB_CLICK='onTabClick';e.exports=m;},null); -__d("PageStars",["Event","Locale","Style","copyProperties"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=5;function l(m,n,o,p,q,r,s,t){this.myRating=q;this.avgRating=p;this.avgStars=n;this.myStars=o;this.margin=t;this.width=r;this.height=s;for(var u=0;u0&&this.props.setDialog){this.props.setDialog(this.props.interest,this.state.suggestions);}else{var z=n.getURIBuilder().setInt('ad_id',this.props.adID).setInt('category_fbid',this.props.interest.id).getURI();new h(z).setHandler(function(aa){var ba=aa.payload,ca=ba.suggestions,da=this.props.interest;if(!da.description)da.description=t._("This is a preference you added.");this.setState({suggestions:ca});if(this.props.setDialog)this.props.setDialog(da,ba.suggestions);}.bind(this)).send();}},_onReportPreferenceClick:function(event){if(this.props.setReportDialog)this.props.setReportDialog(this.props.interest);},render:function(){var z=((this.state.iHover?"hidden_elem":'')),aa=((!this.state.iHover?"hidden_elem":'')),ba=((this.state.interestHover&&this.props.isListItem?"_2imp":'')+(!this.state.interestHover&&this.props.isListItem?' '+"_2imq":'')+(this.props.removed?' '+"hidden_elem":'')),ca=!this.props.isListItem?null:l.createElement("span",{className:ba,ref:this.props.interest.name,onMouseEnter:this._iHover,onMouseLeave:this._iHover},l.createElement(i,{className:z,src:k({name:'info-solid',shade:'light',size:'medium'})}),l.createElement(i,{className:aa,src:k({name:'info-solid',shade:'dark',size:'medium'})})),da=l.createElement("span",{className:ba,onMouseEnter:this._xHover,onMouseLeave:this._xHover,onMouseMove:this._xOver},l.createElement(i,{className:((this.state.xHover?"hidden_elem":'')),src:k({name:'cross',shade:'dark'})}),l.createElement(i,{className:((!this.state.xHover?"hidden_elem":'')),src:k({name:'cross',shade:'accent'})})),ea=l.createElement("div",{className:"_2imr"},l.createElement("a",{href:"#"},t._("Undo"))),fa=l.createElement(r,{className:((this.props.removed?"_2ims":'')),size:"small",weight:"bold","data-fbid":this.props.interest.id},this.props.interest.name),ga=(!this.props.isListItem||this.props.removed)?fa:l.createElement("a",{onClick:this._onInterestTextClick},fa),ha=(("_2imt")+(!this.props.isListItem?' '+"_2imu":'')),ia=l.createElement(v,null,l.createElement("a",{onClick:this._onReportPreferenceClick,className:ba},l.createElement(r,{size:"small",weight:"bold"},"[FB-Only] Report"))),ja=(this.props.isListItem&&this.props.setReportDialog)?ia:null;return (l.createElement("li",{className:ha,onMouseEnter:this._interestEnter,onMouseLeave:this._interestLeave},l.createElement(j,null,l.createElement(v,null,ga,l.createElement("span",{className:"_2imv"},ca)),ja,l.createElement(u,{className:"mlm"},l.createElement("div",{onClick:this._handleInterestClick,className:"_2imw",ref:'toggle_'+this.props.interest.id},!this.props.removed?da:ea)))));},renderLayers:function(){var z=this.props.interest.description?this.props.interest.description:t._("This is a preference you added.");return {contextualDialog:l.createElement(o,{contextRef:this.props.interest.name,shown:this.state.iHover,position:"above",focusContextOnHide:false,width:o.WIDTH.NORMAL},l.createElement(p,null,g.about_this_ads_preference),l.createElement(q,null,z))};}});e.exports=y;},null); -__d("XAdPreferencesInterestsWriteController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/ads\/preferences\/edit_interests\/",{ad_id:{type:"Int",required:true},action:{type:"Enum",required:true,enumType:1},type:{type:"Enum",required:true,enumType:1},fbids:{type:"IntVector",required:true}});},null); -__d("XAdPreferencesNUXController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/ads\/preferences\/nux\/",{type:{type:"String",required:true}});},null); -__d("XAdsPreferencesFeedbackController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/ads\/preferences\/feeedback\/",{ad_id:{type:"Int",required:true},favorite:{type:"Enum",required:true,enumType:1}});},null); -__d("AdsPrefs",["AdsPreferencesInterestListItem.react","AsyncRequest","CSS","DOM","Event","React","XAdPreferencesInterestsWriteController","XAdPreferencesNUXController","XAdsPreferencesFeedbackController","csx","cx","tidyEvent"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b.__markCompiled&&b.__markCompiled();function s(w,x){i.toggleClass(w,"hidden_elem");var y=i.hasClass(w,"hidden_elem")?'ad_useful':'ad_neutral',z=o.getURIBuilder().setInt('ad_id',x).setEnum('favorite',y).getURI(),aa=new h(z);aa.send();}function t(){var w=n.getURIBuilder().setString('type','interest_nux_ts').getURI();new h(w).send();}function u(w,x,y){var z=x?'add':'del',aa=m.getURIBuilder().setInt('ad_id',w.adID).setEnum('action',z).setEnum('type','interest').setIntVector('fbids',[w.id]).getURI();new h(aa).send();l.render(l.createElement(g,{className:"_589n",adID:w.adID,interest:w,isListItem:false,onInterestClick:u,removed:!x}),document.getElementById(w.rootID));if(w.dialog&&y!=null){t();w.dialog.setContext(y);w.dialog.show();}}var v={initRHCFeedback:function(w,x,y){r(k.listen(x,'click',function(z){s(y,w);z.kill();}));},createListElement:function(w,x,y,z,aa,ba){var ca={id:x,name:y,adID:w,rootID:z,dialog:ba};l.render(l.createElement(g,{className:"_589n",adID:w,interest:ca,isListItem:false,onInterestClick:u,removed:false}),document.getElementById(z));},initExpandable:function(w){r(k.listen(w,'click',function(x){var y=j.scry(w,"div._2fdq")[0],z=j.scry(w,"._4r43")[0],aa=j.scry(w,"._1uhj")[0];i.toggleClass(z,'hidden_elem');i.toggleClass(aa,'hidden_elem');i.toggleClass(y,'hidden_elem');}));},toggleFavorite:function(w){var x=j.find(w.getRoot(),'.img');s(x,w.getLabel());}};e.exports=v;},null); -__d("CollapseExposedTextOnTransition",["CSS","DOMQuery","csx"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();function j(){"use strict";}j.prototype.init=function(k){"use strict";this.$CollapseExposedTextOnTransition0=k;this.$CollapseExposedTextOnTransition0.getArbiter().subscribe('onBeforeTransition',this.$CollapseExposedTextOnTransition1.bind(this));};j.prototype.$CollapseExposedTextOnTransition1=function(k,l){"use strict";var m=h.scry(l.item.ad,"div._5pbx .text_exposed.text_exposed_root");m.forEach(function(n){g.removeClass(n,'text_exposed');});};e.exports=j;},null); -__d("DesktopHscrollCarousel",["Animation","Arbiter","BanzaiODS","CSS","DesktopHscrollUnitEventConstants","DOM","DOMQuery","Ease","Event","TidyArbiterMixin","csx","cx","mixin","tidyEvent"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){b.__markCompiled&&b.__markCompiled();var u=s(p);for(var v in u)if(u.hasOwnProperty(v))x[v]=u[v];var w=u===null?null:u.prototype;x.prototype=Object.create(w);x.prototype.constructor=x;x.__superConstructor__=u;function x(y,z,aa,ba,ca,da,ea){"use strict";this.$DesktopHscrollCarousel0=y.node;this.$DesktopHscrollCarousel1=y.grid;this.$DesktopHscrollCarousel2=y.prev_link;this.$DesktopHscrollCarousel3=y.next_link;this.$DesktopHscrollCarousel4=y.prev_pager;this.$DesktopHscrollCarousel5=y.next_pager;this.$DesktopHscrollCarousel6=aa;this.$DesktopHscrollCarousel7=ba;this.$DesktopHscrollCarousel8=ea;this.$DesktopHscrollCarousel9=ca;this.$DesktopHscrollCarousela=da;this.$DesktopHscrollCarouselb=0;this.$DesktopHscrollCarouselc=new h();this.$DesktopHscrollCarouseld=0;this.$DesktopHscrollCarousele=m.find(this.$DesktopHscrollCarousel0,"^div._5jmm");z.forEach(function(fa){fa.init(this);},this);t([o.listen(this.$DesktopHscrollCarousel2,'click',this.$DesktopHscrollCarouself.bind(this)),o.listen(this.$DesktopHscrollCarousel2,'mouseenter',this.$DesktopHscrollCarouselg.bind(this)),o.listen(this.$DesktopHscrollCarousel2,'mouseleave',this.$DesktopHscrollCarouselh.bind(this)),o.listen(this.$DesktopHscrollCarousel3,'click',this.$DesktopHscrollCarouseli.bind(this)),o.listen(this.$DesktopHscrollCarousel3,'mouseenter',this.$DesktopHscrollCarouselj.bind(this)),o.listen(this.$DesktopHscrollCarousel3,'mouseleave',this.$DesktopHscrollCarouselk.bind(this)),o.listen(this.$DesktopHscrollCarousel4,'click',this.$DesktopHscrollCarouself.bind(this)),o.listen(this.$DesktopHscrollCarousel4,'mouseenter',this.$DesktopHscrollCarouselg.bind(this)),o.listen(this.$DesktopHscrollCarousel4,'mouseleave',this.$DesktopHscrollCarouselh.bind(this)),o.listen(this.$DesktopHscrollCarousel5,'click',this.$DesktopHscrollCarouseli.bind(this)),o.listen(this.$DesktopHscrollCarousel5,'mouseenter',this.$DesktopHscrollCarouselj.bind(this)),o.listen(this.$DesktopHscrollCarousel5,'mouseleave',this.$DesktopHscrollCarouselk.bind(this))]);this.refresh();}x.prototype.getLastVisibleIndex=function(){"use strict";return this.$DesktopHscrollCarouselb+1;};x.prototype.getArbiter=function(){"use strict";return this.$DesktopHscrollCarouselc;};x.prototype.getCurrentOnscreenAd=function(){"use strict";return this.$DesktopHscrollCarousel1.childNodes[this.$DesktopHscrollCarouselb];};x.prototype.getNumItems=function(){"use strict";return this.$DesktopHscrollCarousel1.childNodes.length;};x.prototype.scrollToNextItem=function(){"use strict";this.$DesktopHscrollCarouseli();};x.prototype.refresh=function(){"use strict";this.refreshPagerState();this.$DesktopHscrollCarouselc.inform('onShow',{item:{ad:this.$DesktopHscrollCarousel1.childNodes[this.$DesktopHscrollCarouselb]},index:this.$DesktopHscrollCarouselb+1},h.BEHAVIOR_EVENT);for(var y=0;y0;};x.prototype.$DesktopHscrollCarouselm=function(){"use strict";return this.$DesktopHscrollCarouselo()>0;};x.prototype.$DesktopHscrollCarouselq=function(){"use strict";var y='desktop_hscroll_first_next_pos_';return y.concat(this.$DesktopHscrollCarousel8);};x.prototype.$DesktopHscrollCarouseli=function(){"use strict";if(!this.$DesktopHscrollCarouselm())return;var y=0;if(this.$DesktopHscrollCarouselp()===0){j.removeClass(this.$DesktopHscrollCarousel0,"_594r");y+=-1*this.$DesktopHscrollCarousela;i.bumpEntityKey('feed_ads',this.$DesktopHscrollCarouselq());}if(this.$DesktopHscrollCarouselo()<=1){j.addClass(this.$DesktopHscrollCarousel0,"_594u");y+=-1*this.$DesktopHscrollCarousela;}this.$DesktopHscrollCarouseln(Math.min(this.$DesktopHscrollCarouselo(),1),y);};x.prototype.$DesktopHscrollCarouselj=function(){"use strict";j.conditionClass(this.$DesktopHscrollCarousel0,"_595n",this.$DesktopHscrollCarousel6&&this.$DesktopHscrollCarouselm());};x.prototype.$DesktopHscrollCarouselk=function(){"use strict";if(this.$DesktopHscrollCarousel6)j.removeClass(this.$DesktopHscrollCarousel0,"_595n");};x.prototype.$DesktopHscrollCarouself=function(){"use strict";if(!this.$DesktopHscrollCarousell())return;var y=0;if(this.$DesktopHscrollCarouselp()<=1){j.addClass(this.$DesktopHscrollCarousel0,"_594r");y+=this.$DesktopHscrollCarousela;}if(this.$DesktopHscrollCarouselo()===0){j.removeClass(this.$DesktopHscrollCarousel0,"_594u");y+=this.$DesktopHscrollCarousela;}this.$DesktopHscrollCarouseln(-1*Math.min(this.$DesktopHscrollCarouselp(),1),y);};x.prototype.$DesktopHscrollCarouselg=function(){"use strict";j.conditionClass(this.$DesktopHscrollCarousel0,"_595o",this.$DesktopHscrollCarousel6&&this.$DesktopHscrollCarousell());};x.prototype.$DesktopHscrollCarouselh=function(){"use strict";if(this.$DesktopHscrollCarousel6)j.removeClass(this.$DesktopHscrollCarousel0,"_595o");};x.prototype.$DesktopHscrollCarouseln=function(y,z,aa){"use strict";if(y)this.$DesktopHscrollCarouselc.inform('onBeforeTransition',{item:{ad:this.$DesktopHscrollCarousel1.childNodes[this.$DesktopHscrollCarouselb]}},h.BEHAVIOR_EVENT);this.$DesktopHscrollCarouselb+=y;if(!z)z=0;this.$DesktopHscrollCarouseld-=y*this.$DesktopHscrollCarousel9+z;if(!aa)aa=350*Math.abs(y);var ba=this.$DesktopHscrollCarousel0;j.addClass(ba,"_595p");new g(this.$DesktopHscrollCarousel1).to('left',this.$DesktopHscrollCarouseld).duration(aa).ease(n.sineOut).ondone(function(){j.removeClass(ba,"_595p");if(y)this.refresh();}.bind(this)).go();if(y)this.inform('onSlide');};e.exports=x;},null); -__d("DesktopHscrollPager",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(){"use strict";}g.prototype.initPager=function(h,i){"use strict";this.$DesktopHscrollPager0=h;this.$DesktopHscrollPager1=i;i.subscribe('next',this.$DesktopHscrollPager0.scrollNext.bind(this.$DesktopHscrollPager0));i.subscribe('prev',this.$DesktopHscrollPager0.scrollPrevious.bind(this.$DesktopHscrollPager0));this.$DesktopHscrollPager0.getArbiter().subscribe('onShow',function(j,k){this.$DesktopHscrollPager2(k.index);}.bind(this));this.$DesktopHscrollPager0.getArbiter().subscribe('onAdditionalItemsAdded',function(j,k){this.$DesktopHscrollPager2(this.$DesktopHscrollPager0.getSelectedIndex());}.bind(this));};g.prototype.getPagerButtons=function(){"use strict";return this.$DesktopHscrollPager1;};g.prototype.$DesktopHscrollPager2=function(h){"use strict";this.$DesktopHscrollPager1.setPrevEnabled(h>0);this.$DesktopHscrollPager1.setNextEnabled(h=0)this.$DesktopHscrollUnith(this.$DesktopHscrollUnit5-1);};aa.prototype.addOffscreenItems=function(ba){"use strict";this.$DesktopHscrollUnit4.push.apply(this.$DesktopHscrollUnit4,ba);this.$DesktopHscrollUnit6+=ba.length;this.$DesktopHscrollUnit9.inform('onAdditionalItemsAdded',{});};aa.prototype.$DesktopHscrollUnitf=function(ba){"use strict";var ca=this.$DesktopHscrollUnit7[ba];if(this.$DesktopHscrollUnit8&&ca.subheader){k.remove(ca.subheader);k.appendContent(this.$DesktopHscrollUnit1,ca.subheader);this.$DesktopHscrollUnit1.offsetHeight;}this.$DesktopHscrollUnit7.forEach(function(da,ea){var fa=ea==ba;i.conditionClass(da.ad,x,fa);i.conditionClass(da.ad,y,!fa);if(da.subheader)i.conditionClass(da.subheader,x,fa);});this.$DesktopHscrollUnit9.inform('onShow',{item:ca,index:ba},g.BEHAVIOR_EVENT);g.inform(j.HSCROLL_ITEM_SHOWN_EVENT);};aa.prototype.$DesktopHscrollUnith=function(ba){"use strict";this.$DesktopHscrollUnit9.inform('onBeforeTransition',{item:this.$DesktopHscrollUnit7[this.$DesktopHscrollUnit5]},g.BEHAVIOR_EVENT);while(this.$DesktopHscrollUnit4.length>0&&ba>=this.$DesktopHscrollUnit7.length)this.$DesktopHscrollUnitj(this.$DesktopHscrollUnit4.shift());this.$DesktopHscrollUnitf(ba);if(this.$DesktopHscrollUnit8){this.$DesktopHscrollUnita++;i.addClass(this.$DesktopHscrollUnit0,t);setTimeout(function(){if(--this.$DesktopHscrollUnita===0)i.removeClass(this.$DesktopHscrollUnit0,t);}.bind(this),u);this.$DesktopHscrollUnit9.inform('onAnimate',{item:this.$DesktopHscrollUnit7[ba]},g.BEHAVIOR_EVENT);var ca,da;s(function(){ca=n.numValue(r(this.$DesktopHscrollUnit0,'padding-bottom'));da=this.$DesktopHscrollUnit0.offsetHeight;}.bind(this),function(){o.set(this.$DesktopHscrollUnit0,'min-height',i.hasClass(this.$DesktopHscrollUnit7[ba].ad,z)?'0px':n.pixelValue(da-ca));o.set(this.$DesktopHscrollUnit7[0].ad,m.isRTL()?'margin-right':'margin-left',(ba*-100)+'%');}.bind(this));}this.$DesktopHscrollUnit5=ba;this.$DesktopHscrollUnitg();};aa.prototype.$DesktopHscrollUnitj=function(ba){"use strict";i.addClass(ba.ad,v);k.appendContent(this.$DesktopHscrollUnit0,ba.ad);g.inform(j.HSCROLL_ITEM_INSERTED_EVENT);if(ba.subheader){this.$DesktopHscrollUnite(ba.subheader);k.appendContent(this.$DesktopHscrollUnit1,ba.subheader);}this.$DesktopHscrollUnit7.push(ba);};aa.prototype.$DesktopHscrollUnitg=function(){"use strict";var ba=JSON.parse(this.$DesktopHscrollUnit7[this.$DesktopHscrollUnit5].ad.getAttribute('data-ft')),ca=JSON.parse(this.$DesktopHscrollUnitd);for(var da in ba)ca[da]=ba[da];this.$DesktopHscrollUnitc.setAttribute('data-ft',JSON.stringify(ca));g.inform('FeedAdsClickLogger/refreshTrackingData',{});};aa.prototype.$DesktopHscrollUnite=function(ba){"use strict";i.addClass(ba,w);if(this.$DesktopHscrollUnit8){var ca=k.create('div');i.addClass(ca,"_2_tm");k.appendContent(ba,ca);}};aa.prototype.$DesktopHscrollUniti=function(){"use strict";var ba='old_desktop_hscroll_first_next_pos_';return ba.concat(this.$DesktopHscrollUnitb);};e.exports=aa;},null); -__d("FormatLinkShareAttachmentExtension",["Arbiter","CSS","DOM","DOMQuery","LitestandEllipsis","csx"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m=22,n=2;function o(){"use strict";}o.prototype.init=function(p){"use strict";this.$FormatLinkShareAttachmentExtension0={0:true};this.$FormatLinkShareAttachmentExtension1=p;this.$FormatLinkShareAttachmentExtension1.getArbiter().subscribe('onShow',this.$FormatLinkShareAttachmentExtension2.bind(this),g.SUBSCRIBE_NEW);};o.prototype.$FormatLinkShareAttachmentExtension2=function(p,q){"use strict";if(this.$FormatLinkShareAttachmentExtension0[q.index])return;this.$FormatLinkShareAttachmentExtension0[q.index]=true;var r=i.scry(q.item.ad,"div._6m2")[0];if(!r)return;var s=i.scry(r,"._6m6")[0];if(!s)return;var t=s.offsetHeight/m;if(t>=n){k.add(s,n*m);var u=j.scry(r,"._6m7")[0];h.hide(u);}};e.exports=o;},null); -__d("PadMessageOnAnimateExtension",["Arbiter","CSS","DOM","DOMQuery","PixelNumConverter","Style","csx","cx","getStyleProperty","queryThenMutateDOM"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();var q="div._5pbx",r="div._329q",s="div._6m2",t="_1kf5";function u(){"use strict";}u.prototype.init=function(v){"use strict";this.$PadMessageOnAnimateExtension0=v;this.$PadMessageOnAnimateExtension0.getArbiter().subscribe('onAnimate',this.$PadMessageOnAnimateExtension1.bind(this),g.SUBSCRIBE_NEW);};u.prototype.$PadMessageOnAnimateExtension1=function(v,w){"use strict";if(h.hasClass(w.item.ad,t))return;var x=j.scry(w.item.ad,q)[0];if(!x)return;var y=j.scry(w.item.ad,r)[0]||j.scry(w.item.ad,s)[0];if(!y)return;var z=j.scry(w.item.ad,"div._5pbx .text_exposed_root")[0],aa,ba,ca,da;p(function(){aa=k.numValue(o(this.$PadMessageOnAnimateExtension0.getAdContainer(),'padding-bottom'));ca=this.$PadMessageOnAnimateExtension0.getAdContainer().offsetHeight;ba=x.offsetHeight;da=w.item.ad.offsetHeight;}.bind(this),function(){var ea=ca-aa-da;if(z&&!h.hasClass(z,'text_exposed')){h.addClass(z,'text_exposed');var fa=x.offsetHeight-ba;if(fa<=ea){ea-=fa;this.$PadMessageOnAnimateExtension2(z);}else h.removeClass(z,'text_exposed');}l.set(x,'min-height',k.pixelValue(ba+ea));}.bind(this));};u.prototype.$PadMessageOnAnimateExtension2=function(v){"use strict";j.scry(v,'.text_exposed_hide').forEach(function(w){i.remove(w);});j.scry(v,'.text_exposed_link').forEach(function(w){i.remove(w);});j.scry(v,'.text_exposed_show').forEach(function(w){i.replace(w,w.childNodes);});h.removeClass(v,'text_exposed_root');h.removeClass(v,'text_exposed');};e.exports=u;},null); -__d("HideUFIOnTransitionExtension",["Arbiter","CSS","DOMQuery","csx"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();function k(){"use strict";}k.prototype.init=function(l){"use strict";this.$HideUFIOnTransitionExtension0=l;this.$HideUFIOnTransitionExtension0.getArbiter().subscribe('onBeforeTransition',this.$HideUFIOnTransitionExtension1.bind(this),g.SUBSCRIBE_NEW);};k.prototype.$HideUFIOnTransitionExtension1=function(l,m){"use strict";var n=i.scry(m.item.ad,"form.commentable_item");n.forEach(function(o){h.addClass(o,'collapsed_comments');h.addClass(o,'hidden_add_comment');});};e.exports=k;},null); -__d("PageLikeAdScrollOnLikeExtension",["Arbiter","Button","PageLikeButton"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=750;function k(){"use strict";}k.prototype.init=function(l){"use strict";this.$PageLikeAdScrollOnLikeExtension0=l;var m=this.$PageLikeAdScrollOnLikeExtension0.getPager().getPagerButtons().getRoot().childNodes;this.$PageLikeAdScrollOnLikeExtension1=m[m.length-1];g.subscribe(i.LIKED,this.$PageLikeAdScrollOnLikeExtension2.bind(this),g.SUBSCRIBE_NEW);};k.prototype.$PageLikeAdScrollOnLikeExtension2=function(l,m){"use strict";var n=this.$PageLikeAdScrollOnLikeExtension0.getSelectedItem().ad.getAttribute('data-oid');if(m.profile_id!=n||!h.isEnabled(this.$PageLikeAdScrollOnLikeExtension1))return;var o=this.$PageLikeAdScrollOnLikeExtension0.getPager();o.fetchAdditionalAdsIfNecessary&&o.fetchAdditionalAdsIfNecessary();setTimeout(function(){h.setDepressed(this.$PageLikeAdScrollOnLikeExtension1,true);}.bind(this),j/2);setTimeout(function(){h.setDepressed(this.$PageLikeAdScrollOnLikeExtension1,false);this.$PageLikeAdScrollOnLikeExtension0.getPager().getPagerButtons().inform('next');}.bind(this),j);};e.exports=k;},null); -__d("EntstreamFeedObject",["CSS","Parent","cx"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j={getRoot:function(k){return h.byClass(k,"_5jmm");},getHscrollOuterRootIfAvailable:function(k){var l=k;if(g.hasClass(l,"_170y"))l=j.getRoot(l.parentNode);return l;}};e.exports=j;},null); -__d("EntstreamFeedObjectFollowup",["CSS","DOM","EntstreamFeedObject","Event","csx","cx","ge"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n={getFollowup:function(o){var p=h.scry(o,"._5lum");if(!p.length)p=h.scry(o.parentNode,"._5lum");return p?p[0]:null;},initCloseButton:function(o){var p=h.find(o,"._5xsl"),q=j.listen(p,'click',function(){q.remove();h.remove(o);});o.listener=q;},stopListenCloseButton:function(o){if(o.listener)o.listener.remove();},addFollowup:function(o,p,q){var r=g.hasClass(o,"_5pat"),s=h.create('div',{className:"_5lum"});if(r){g.addClass(s,"_5pau");}else g.addClass(s,"_1f84");if(q)g.addClass(s,q);if(p){h.appendContent(s,p);this.initCloseButton(s);h.insertBefore(o,s);}else{var t=n.getFollowup(o);if(t)this.removeFollowup(t);h.prependContent(o,s);}return s;},removeFollowup:function(o){var p=n.getFollowup(o);this.stopListenCloseButton(p);h.remove(p);},appendToFollowup:function(o,p){var q=i.getRoot(m(o)),r=n.getFollowup(q);h.appendContent(r,p);},getFollowupMessage:function(o){var p=h.find(o,"._1f86");return p;},replaceFollowupMessage:function(o,p){this.stopListenCloseButton(o);var q=n.getFollowupMessage(o);h.replace(q,p);this.initCloseButton(o);}};e.exports=n;},null); -__d("EntstreamFeedObjectDigest",["DOM","EntstreamFeedObject","EntstreamFeedObjectFollowup","cx","ge"],function(a,b,c,d,e,f,g,h,i,j,k){b.__markCompiled&&b.__markCompiled();var l={toggleDigest:function(m,n,o){var p=m.getValue()==='digest_on'?o.digest_off:o.digest_on,q=h.getRoot(k(n)),r=i.getFollowup(q);if(r){var s=i.getFollowupMessage(r);g.replace(s,p);}else i.addFollowup(q,p,"_521o");}};e.exports=l;},null); -__d("EntstreamFeedObjectFollow",["EntstreamFeedObject","EntstreamFeedObjectFollowup","Event","Parent","cx","ge"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m={toggleFollow:function(n,o,p){var q=n.getValue()=='follow_post'?p.follow_post:p.unfollow_post,r=g.getRoot(l(o)),s=h.getFollowup(r);if(s){h.replaceFollowupMessage(s,q);}else{s=h.addFollowup(r,q,"_521o")||h.getFollowup(r);i.listen(s,'click',function(event){var t=event.getTarget(),u="_1f89";if(j.byClass(t,u)){m.toggleFollow(n,o,p);n.toggleMenuItem();}});}}};e.exports=m;},null); -__d("EntstreamFeedObjectHide",["Event","CSS","EntstreamFeedObject","EntstreamFeedObjectFollowup","Focus","TabbableElements","cx","ge"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){b.__markCompiled&&b.__markCompiled();var o={hide:function(p,q){var r=i.getRoot(n(p));r=i.getHscrollOuterRootIfAvailable(r);j.addFollowup(r,q);h.addClass(r,"_i6m");o.setFocus(r);},registerUnhide:function(p,q){g.listen(p,'click',function(){if(q)q.send();var r=i.getRoot(p);r=i.getHscrollOuterRootIfAvailable(r);o.unhide(r);});},setFocus:function(p){var q=l.find(p);if(q&&q[0])k.setWithoutOutline(q[0]);},unhide:function(p){j.removeFollowup(p);h.removeClass(p,"_i6m");o.setFocus(p);}};e.exports=o;},null); -__d("YouTube",["CSS","DOM","DOMQuery","Event","Keys","LitestandStoryInsertionStatus","SubscriptionsHandler","UserAgent_DEPRECATED","Focus","copyProperties","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();function r(s,t,u){"use strict";var v=new m();v.addSubscriptions(j.listen(s,'load',this.listening.bind(this)),l.registerBlocker(function(){return this.playerState===r.STATE_PLAYING;}.bind(this)));p(this,{iframe:s,autofocus:t,autoplay:u,playerState:r.STATE_UNSTARTED,muted:false,volume:100,currentTime:0,timer:null,handler:v});if(t)o.set(s);}r.prototype.id=function(){"use strict";return this.iframe.id;};r.prototype.post=function(s){"use strict";s.id=this.id();this.iframe.contentWindow.postMessage(JSON.stringify(s),'*');};r.prototype.listening=function(){"use strict";this.post({event:'listening'});clearTimeout(this.timer);this.timer=setTimeout(this.listening.bind(this),100);};r.prototype.update=function(s){"use strict";if(s.event=='initialDelivery'){clearTimeout(this.timer);if((n.webkit()||n.firefox())&&s.info&&s.info.debugText.match(/flashVersion/)){this.addAccessibleButtons();if(n.firefox())this.iframe.tabIndex=-1;}}if(s.info)['playerState','muted','volume','currentTime'].forEach(function(t){if(s.info.hasOwnProperty(t))this[t]=s.info[t];}.bind(this));};r.prototype.togglePlay=function(){"use strict";this.post({event:'command',func:(this.playerState==r.STATE_PLAYING)?'pauseVideo':'playVideo'});};r.prototype.toggleMute=function(){"use strict";this.post({event:'command',func:this.muted?'unMute':'mute'});};r.prototype.addAccessibleButtons=function(){"use strict";this.addAccessibleButton('Mute',"_505m",this.toggleMute.bind(this));this.addAccessibleButton('Play',"_505n",this.togglePlay.bind(this));};r.prototype.addAccessibleButton=function(s,t,u){"use strict";var v=h.create('button',{'class':t,tabindex:0},s);h.insertAfter(this.iframe,v);this.handler.addSubscriptions(j.listen(v,'click',u),j.listen(v,'mouseover',g.hide.bind(null,v)),j.listen(this.iframe,'mouseout',g.show.bind(null,v)),j.listen(v,'focus',function(){if(!this.autoplay&&this.playerState==r.STATE_UNSTARTED){this.post({event:'command',func:'playVideo'});this.post({event:'command',func:'pauseVideo'});}}.bind(this)),j.listen(v,'keydown',function(w){switch(w.keyCode){case k.UP:case k.DOWN:this.post({event:'command',func:'setVolume',args:[this.volume+((w.keyCode==k.UP)?10:-10)]});w.prevent();break;case k.RIGHT:case k.LEFT:this.post({event:'command',func:'seekTo',args:[this.currentTime+((w.keyCode==k.RIGHT)?10:-10)]});w.prevent();break;}}.bind(this)));return v;};r.prototype.destroy=function(){"use strict";this.handler.release();delete r.instances[this.id()];if(!Object.keys(r.instances).length)r.handler.remove();};r.register=function(s,t,u){"use strict";if(!window.postMessage)return;if(!Object.keys(r.instances).length)r.handler=j.listen(window,'message',function(w){try{var x=JSON.parse(w.data);if(r.instances[x.id])r.instances[x.id].update(x);}catch(w){}});var v=new r(i.find(s,'iframe'),t,u);r.instances[v.id()]=v;};p(r,{STATE_UNSTARTED:-1,STATE_PLAYING:1,instances:{},handler:null});e.exports=r;},null); -__d("EntstreamHomeFeedObjectHide",["AsyncRequest","CSS","DOM","EntstreamFeedObject","EntstreamFeedObjectHide","Event","TrackingNodes","YouTube","csx","cx","ge","fbt","$"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){b.__markCompiled&&b.__markCompiled();var t={stopVideo:function(u){var v=s(u),w=i.find(v,"^._5jmm"),x=i.scry(w,'iframe');for(var y=0;y