text: if (self.CavalryLogger) { CavalryLogger.start_js(["E1rDX"]); }
  
  __d("AudienceTargetingFieldDisplayName",[],(function a(b,c,d,e,f,g){f.exports={SOME_HINTS_MATCHED:"Some Hints Matched",NO_HINTS_MATCHED:"No Hints Matched"};}),null);
  __d("CopyrightReferenceFileGraphFields",[],(function a(b,c,d,e,f,g){f.exports={CONTENT_TYPE:"content_type",DURATION_IN_SEC:"duration_in_sec",ENCODING_STATUS:"encoding_status",ID:"id",LIVE_STATUS:"live_status",PUBLISHED_TIME:"published_time",THUMBNAIL_URL:"thumbnail_url",THUMBNAIL_URL_WHILE_ENCODING:"thumbnail_url_while_encoding",TITLE:"title",METADATA:"metadata",UNIVERSAL_CONTENT_ID:"universal_content_id"};}),null);
  __d("InstreamAdsDisabledReason",[],(function a(b,c,d,e,f,g){f.exports={NO_AD_BREAKS:"no_ad_breaks",BRANDED_CONTENT:"branded_content"};}),null);
  __d("InstreamAdsInsightsDisabledReason",[],(function a(b,c,d,e,f,g){f.exports={VIDEO_TOO_OLD:"video_too_old"};}),null);
  __d("IsVideoAssetGraphFields",[],(function a(b,c,d,e,f,g){f.exports={BROADCAST_ID:"broadcast_id",BROADCAST_PLANNED_START_TIME:"broadcast_planned_start_time",COPYRIGHT_MONITORING_STATUS:"copyright_monitoring_status",CREATED_TIME:"created_time",CREATOR:"creator",DESCRIPTION:"description",DOWNLOAD_SD_URL:"download_sd_url",DOWNLOAD_HD_URL:"download_hd_url",EMBEDDABLE:"embeddable",EXPIRATION:"expiration",SOCIAL_ACTIONS:"social_actions",FEED_TYPE:"feed_type",ID:"id",IS_CROSSPOSTING_ELIGIBLE:"is_crossposting_eligible",IS_CROSSPOSTING_WITHIN_BM_ELIGIBLE:"is_crossposting_within_bm_eligible",IS_CROSSPOSTING_WITHIN_BM_ENABLED:"is_crossposting_within_bm_enabled",IS_FEATURED:"is_featured",IS_VIDEO_ASSET:"is_video_asset",LAST_ADDED_TIME:"last_added_time",LATEST_CREATOR:"latest_creator",LATEST_OWNED_DESCRIPTION:"latest_owned_description",LATEST_OWNED_TITLE:"latest_owned_title",LIVE_STATUS:"live_status",NO_STORY:"no_story",OWNER_NAME:"owner_name",OWNER_POST_STATE:"owner_post_state",PERMALINK_URL:"permalink_url",POSTS_COUNT:"posts_count",POSTS_IDS:"posts_ids",POSTS_STATUS:"posts_status",PUBLISHED:"published",SECRET:"secret",SCHEDULED_PUBLISH_TIME:"scheduled_publish_time",STATUS:"status",STREAM_URL:"stream_url",SECURE_STREAM_URL:"secure_stream_url",THUMBNAIL:"picture",THUMBNAIL_WHILE_ENCODING:"thumbnail_while_encoding",TITLE:"title",VIEWS:"views"};}),null);
  __d("LiveStatusType",[],(function a(b,c,d,e,f,g){f.exports={IS_LIVE_BROADCAST:0,WAS_LIVE_BROADCAST:1,NOT_A_BROADCAST:2,SCHEDULED_LIVE_BROADCAST:3};}),null);
  __d("PageContentTabLoggingEvents",[],(function a(b,c,d,e,f,g){f.exports={ACTION_TAKEN_MAIN_VIEW:"action_taken_main_view",ACTION_TAKEN_OVERLAY:"action_taken_overlay",COLUMN_SWITCHED:"column_switched",FORM_DOWNLOAD:"form_donwload",INITIAL_LOAD:"initial_load",DATA_LOADED:"data_loaded",TABLE_CONTENTS_SHOWN:"table_contents_shown",TAB_SWITCHED:"tab_switched",TAB_REFRESHED:"tab_refreshed",TABLE_SORTED:"table_sorted",SEARCH:"search",ROW_CLICKED:"row_clicked",CREATE_CLICKED:"create_clicked",SAVED_FILTER_APPLIED:"saved_filter_applied",FILTERS_APPLIED:"filters_applied",FILTERS_CLEARED:"filters_cleared",VIDEO_UPLOAD_FILE_SELECTED:"video_upload_file_selected",COPYRIGHT_SEND_REPORT_CLICKED:"copyright_send_report_clicked",API_ERROR:"api_error",DATA_ERROR:"data_error",LEADS_DOWNLOAD_DIALOG_OPENED:"leads_download_dialog_opened",LEADS_DOWNLOAD_DIALOG_BUTTON_CLICKED:"leads_download_dialog_button_clicked",REFERENCE_VIDEO_FILE_SELECTED:"reference_video_file_selected",ENABLE_COPYRIGHTS_DASHBOARD:"enable_copyrights_dashboard",ENABLE_COPYRIGHTS_DASHBOARD_FAILED:"enable_copyrights_dashboard_failed",POST_STATE_INDICATOR_HOVERED:"post_state_indicator_hovered",MATCH_RULE_CREATED:"match_rule_created",MATCH_RULE_DELETED:"match_rule_deleted",NUX_SHOWN:"nux_shown",NUX_DISMISSED:"nux_dismissed",CREATE_LIVE_BROADCAST:"create_live_broadcast",FINISHED_INITIAL_RENDER:"finished_initial_render"};}),null);
  __d("PageInsightsPostDataType",[],(function a(b,c,d,e,f,g){f.exports={LINK:"link",NOTE:"note",OFFER:"offer",PHOTO:"photo",QUESTION:"question",SHARED_VIDEO:"sharedVideo",STATUS:"status",VIDEO:"video",AUDIO:"audio"};}),null);
  __d("PageInsightsPostFields",[],(function a(b,c,d,e,f,g){f.exports={CAPTION:"caption",CREATION_TIME:"created_time",DESCRIPTION:"description",ID:"id",IDENTIFIER:"identifier",IS_HOT:"is_hot",LINK:"link",MESSAGE:"message",NAME:"name",PICTURE:"picture",PRIVACY:"privacy",PRIVACY_COUNTRIES:"privacy_countries",PRIVACY_CITIES:"privacy_cities",PRIVACY_DESCRIPTION:"privacy_description",PRIVACY_LOCALES:"privacy_locales",PRIVACY_POST_TARGETING:"privacy_post_targeting",PROPERTY:"properties",STATUS_TYPE:"status_type",STYLE:"style",TYPE:"type",HAS_HINTS:"has_hints",HINTS_CONFIG:"hints_config",AUDIENCE_TARGETING:"audience_targeting",VISIBILITY:"visibility",TIMELINE_TOKEN:"timeline_token"};}),null);
  __d("PagesInsightsDataPayloadTypes",[],(function a(b,c,d,e,f,g){f.exports={PAGE_ADMIN_SUMMARY_DATA:"page_admin_summary_data",PAGE_POST_REACH_DATA:"page_post_reach_data",POST_DETAILS_DATA:"post_details_data",POST_FOOTER_DATA:"post_footer_data",REQUEST_PAGE_ADMIN_SUMMARY_DATA:"request_page_admin_summary_data",REQUEST_PAGE_POST_REACH_DATA:"request_page_post_reach_data",REQUEST_POST_DETAILS_DATA:"request_post_details_data",REQUEST_POST_FOOTER_DATA:"request_post_footer_data",TIME_SELECTOR_REQUEST_DATA:"time_selector_request_data",VISITORS_TAB_VIEW_CHART_NAV_CLICK_REQUEST_DATA:"visitors_tab_view_chart_nav_click_request_data",VISITORS_TAB_VIEW_CHART_UPDATE_DATA:"visitors_tab_view_chart_update_data"};}),null);
  __d("SanityCheckNames",[],(function a(b,c,d,e,f,g){f.exports={PI_API_RESPONSE:"page_insights.api_responded_with_data",PI_REACH_GT_ENGMT:"page_insights.reach_greater_than_engagement",AI_REACH_IMPRESSIONS:"ads_insights.reach_impressions",AI_CLICKS:"ads_insights.clicks",AI_DWELLS:"ads_insights.dwells",AI_SPEND:"ads_insights.spend",AI_VIDEO_VIEWS:"ads_insights.video_views"};}),null);
  __d("SanityCheckStatuses",[],(function a(b,c,d,e,f,g){f.exports={VALID:1,INVALID_CONFIG:2,CHECKTIME_FAILURE:3};}),null);
  __d("UFIReactionsAnimatedVectorIcons",[],(function a(b,c,d,e,f,g){f.exports={LIKE:{features:[{fill_color:"#ff5d9ff5",key:1,key_frames:{"0":[["M",[176.25,88.25]],["C",[176.25,136.85,136.85,176.25,88.25,176.25]],["C",[39.65,176.25,.25,136.85,.25,88.25]],["C",[.25,39.65,39.65,.25,88.25,.25]],["C",[136.85,.25,176.25,39.65,176.25,88.25]]]}}],frameCount:212,frameRate:24,groups:[{id:1,animations:[{anchor:[45.556500185916,96.812569457121],key_frames:{"0":[47.6262,121.0817],"32":[47.6262,127.0352],"77":[45.3936,96.5235],"100":[47.6262,122.0739],"110":[47.6262,120.5856],"120":[47.6262,121.0817],"210":[47.6262,121.0817]},property:"POSITION",timing_curves:[[[.167,0],[.5,1]],[[.255,0],[.5,1]],[[.5,0],[.833,1]],[[.167,0],[.833,1]],[[.167,0],[.833,1]],[[.167,0],[.833,1]]]},{anchor:[45.556500185916,96.812569457121],key_frames:{"0":[0],"32":[6],"77":[-9],"100":[2],"110":[-1],"120":[0],"210":[0]},property:"ROTATION",timing_curves:[[[.167,0],[.5,1]],[[.255,0],[.5,1]],[[.5,0],[.833,1]],[[.167,0],[.833,1]],[[.167,0],[.833,1]],[[.163,0],[.903,1]]]}],features:[{fill_color:"#ffffffff",key:2,key_frames:{"0":[["M",[47.28,84.67]],["C",[45.59,84.67,44.46,85.6,44.46,87.18]],["L",[44.46,129.75]],["C",[44.46,131.33,45.59,132.42,47.28,132.42]],["L",[61.37,132.42]],["C",[63.06,132.42,64.1,131.33,64.1,129.75]],["L",[64.1,87.18]],["C",[64.1,85.6,63.06,84.67,61.37,84.67]],["L",[47.28,84.67]]]}},{animations:[{anchor:[88.5,88.5],key_frames:{"0":[0],"32":[2],"77":[-1],"100":[2],"110":[-.5],"120":[0]},property:"ROTATION",timing_curves:[[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ffffffff",key:3,key_frames:{"0":[["M",[90.57,50.91]],["L",[90.57,57.47]],["C",[90.57,59.47,88.93,62.04,85.77,64.04]],["C",[82.61,66.32,80.95,69.73,75.52,76.6]],["C",[69.19,84.59,69.78,88.02,69.78,90.3]],["L",[69.78,122.84]],["C",[69.78,125.12,71.47,126.69,73.77,126.69]],["L",[121.21,126.69]],["Q",[127.25,126.48,127.25,120.94]],["C",[127.25,115.4,125.52,115.42,123.51,114.56]],["C",[126.96,114.56,129.54,111.71,129.54,108.57]],["C",[129.54,106.29,128.11,104,125.81,103.15]],["C",[129.54,102.58,132.13,99.72,132.13,96.01]],["C",[132.13,92.87,130.12,90.3,127.25,89.16]],["C",[130.12,88.02,132.2,86.02,132.2,82.88]],["C",[132.2,79.17,129.4,76.88,125.66,76.31]],["L",[99.1,76.28]],["Q",[105.66,66.27,105.66,59.99]],["C",[105.66,54,104.2,49.49,101.9,46.92]],["C",[100.47,45.2,98.99,44.92,96.98,44.92]],["C",[92.95,44.92,90.57,47.77,90.57,50.91]]],"42":[["M",[102.45,51.29]],["L",[98.92,56.82]],["C",[97.85,58.51,93.13,61.78,89.83,63.53]],["C",[86.49,65.56,80.95,69.73,75.52,76.6]],["C",[69.19,84.59,69.78,88.02,69.78,90.3]],["L",[69.78,122.84]],["C",[69.78,125.12,71.47,126.69,73.77,126.69]],["L",[121.21,126.69]],["Q",[127.25,126.48,127.25,120.94]],["C",[127.25,115.4,125.52,115.42,123.51,114.56]],["C",[126.96,114.56,129.54,111.71,129.54,108.57]],["C",[129.54,106.29,128.11,104,125.81,103.15]],["C",[129.54,102.58,132.13,99.72,132.13,96.01]],["C",[132.13,92.87,130.12,90.3,127.25,89.16]],["C",[130.12,88.02,132.2,86.02,132.2,82.88]],["C",[132.2,79.17,129.4,76.88,125.66,76.31]],["L",[99.1,76.28]],["Q",[106.91,72.36,110.29,67.07]],["C",[113.52,62.02,114.72,57.43,114.16,54.02]],["C",[113.87,51.81,112.77,50.77,111.08,49.69]],["C",[107.68,47.52,104.14,48.65,102.45,51.29]]],"82":[["M",[84.03,51.61]],["L",[85.21,58.06]],["C",[85.57,60.02,84.75,62.3,83.39,64.64]],["C",[82.4,67.1,80.95,69.73,75.52,76.6]],["C",[69.19,84.59,69.78,88.02,69.78,90.3]],["L",[69.78,122.84]],["C",[69.78,125.12,71.47,126.69,73.77,126.69]],["L",[121.21,126.69]],["Q",[127.25,126.48,127.25,120.94]],["C",[127.25,115.4,125.52,115.42,123.51,114.56]],["C",[126.96,114.56,129.54,111.71,129.54,108.57]],["C",[129.54,106.29,128.11,104,125.81,103.15]],["C",[129.54,102.58,132.13,99.72,132.13,96.01]],["C",[132.13,92.87,130.12,90.3,127.25,89.16]],["C",[130.12,88.02,132.2,86.02,132.2,82.88]],["C",[132.2,79.17,129.4,76.88,125.66,76.31]],["L",[99.1,76.28]],["Q",[101.65,63.98,100.52,57.81]],["C",[99.43,51.91,97.18,47.74,94.45,45.63]],["C",[92.73,44.2,91.22,44.19,89.24,44.55]],["C",[85.28,45.28,83.46,48.52,84.03,51.61]]],"107":[["M",[90.57,50.91]],["L",[90.57,57.47]],["C",[90.57,59.47,88.93,62.04,85.77,64.04]],["C",[82.61,66.32,80.95,69.73,75.52,76.6]],["C",[69.19,84.59,69.78,88.02,69.78,90.3]],["L",[69.78,122.84]],["C",[69.78,125.12,71.47,126.69,73.77,126.69]],["L",[121.21,126.69]],["Q",[127.25,126.48,127.25,120.94]],["C",[127.25,115.4,125.52,115.42,123.51,114.56]],["C",[126.96,114.56,129.54,111.71,129.54,108.57]],["C",[129.54,106.29,128.11,104,125.81,103.15]],["C",[129.54,102.58,132.13,99.72,132.13,96.01]],["C",[132.13,92.87,130.12,90.3,127.25,89.16]],["C",[130.12,88.02,132.2,86.02,132.2,82.88]],["C",[132.2,79.17,129.4,76.88,125.66,76.31]],["L",[99.1,76.28]],["Q",[105.66,66.27,105.66,59.99]],["C",[105.66,54,104.2,49.49,101.9,46.92]],["C",[100.47,45.2,98.99,44.92,96.98,44.92]],["C",[92.95,44.92,90.57,47.77,90.57,50.91]]]},timing_curves:[[[.167,0],[.5,1]],[[.305,0],[.5,1]],[[.5,0],[.833,1]]]}],key:0,groups:[],parent_group:null}],size:{height:177,width:177}},LOVE:{features:[{fill_color:"#fff25268",key:1,key_frames:{"0":[["M",[176.25,88.25]],["C",[176.25,136.85,136.85,176.25,88.25,176.25]],["C",[39.65,176.25,.25,136.85,.25,88.25]],["C",[.25,39.65,39.65,.25,88.25,.25]],["C",[136.85,.25,176.25,39.65,176.25,88.25]]]}}],frameCount:102,frameRate:24,groups:[{id:1,animations:[{anchor:[88.5,92.080703735352],key_frames:{"0":[100,100],"10":[97.1,97.1],"35":[111.3,111.3],"60":[98.2,98.2],"70":[101.15,101.15],"80":[100,100],"100":[100,100]},property:"SCALE",timing_curves:[[[.167,0],[.833,1]],[[.167,0],[.5,1]],[[.5,0],[.833,1]],[[.083,0],[.833,1]],[[.083,0],[.833,1]],[[.079,0],[.858,1]]]}],features:[{fill_color:"#ffffffff",key:2,key_frames:{"0":[["M",[115.53,45.66]],["Q",[91.5,45.66,88.5,65.02]],["Q",[85.5,45.66,61.47,45.66]],["C",[38.36,45.66,31.62,69.23,34.43,81.84]],["Q",[41.87,115.16,88.5,138.5]],["Q",[135.13,115.16,142.57,81.84]],["C",[145.38,69.23,138.64,45.66,115.53,45.66]]]}}],key:0,groups:[],parent_group:null}],size:{height:177,width:177}},DOROTHY:{features:[{animations:[{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[101.5,101.5],"55":[104.342,104.342],"90":[99.47,99.47],"122":[102.515,102.515],"147":[101.1955,101.1955],"165":[101.5,101.5]},property:"SCALE",timing_curves:[[[1,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]},{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[0],"55":[-20.1],"90":[13.8],"122":[.3],"147":[3],"165":[-1.2],"182":[0]},property:"ROTATION",timing_curves:[[[1,0],[.42,1]],[[.74,0],[.43,1]],[[.57,0],[.35,1]],[[.65,0],[.67,1]],[[.33,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ffaf9cda",key:0,key_frames:{"0":[["M",[141.36,99.16]],["C",[131.1,100.78,109.02,99,96.91,95.16]],["C",[93.66,94.13,91.73,81.53,94.54,79.61]],["C",[104.94,72.49,125.14,63.57,135.38,61.95]],["C",[147.2,60.07,159.05,62.73,165.59,66.69]],["C",[172.2,70.7,173.57,79.63,168.44,85.42]],["C",[163.42,91.08,153.03,97.31,141.36,99.16]]]}},{animations:[{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[101.5,101.5],"52":[104.342,104.342],"87":[99.47,99.47],"120":[102.515,102.515],"145":[101.1955,101.1955],"162":[101.5,101.5]},property:"SCALE",timing_curves:[[[1,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]},{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[0],"52":[-20.1],"87":[13.8],"120":[.3],"145":[3],"162":[-1.2],"180":[0]},property:"ROTATION",timing_curves:[[[1,0],[.42,1]],[[.74,0],[.43,1]],[[.57,0],[.35,1]],[[.65,0],[.67,1]],[[.33,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ffaf9cda",key:1,key_frames:{"0":[["M",[105.71,139.61]],["C",[99.16,131.53,89.66,111.52,86.93,99.11]],["C",[86.2,95.79,96.15,87.81,99.22,89.28]],["C",[110.58,94.73,128.41,107.76,134.94,115.82]],["C",[142.47,125.12,146.09,136.71,145.93,144.36]],["C",[145.77,152.08,138.72,157.74,131.14,156.19]],["C",[123.73,154.67,113.14,148.78,105.71,139.61]]]}},{animations:[{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[101.5,101.5],"50":[104.342,104.342],"85":[99.47,99.47],"117":[102.515,102.515],"142":[101.1955,101.1955],"160":[101.5,101.5]},property:"SCALE",timing_curves:[[[1,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]},{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[0],"50":[-20.1],"85":[13.8],"117":[.3],"142":[3],"160":[-1.2],"177":[0]},property:"ROTATION",timing_curves:[[[1,0],[.42,1]],[[.74,0],[.43,1]],[[.57,0],[.35,1]],[[.65,0],[.67,1]],[[.33,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ffaf9cda",key:2,key_frames:{"0":[["M",[52.84,128.96]],["C",[56.57,119.25,69.15,101.02,78.53,92.45]],["C",[81.04,90.16,92.92,94.78,93.18,98.18]],["C",[94.15,110.74,91.78,132.7,88.06,142.37]],["C",[83.78,153.55,75.55,162.49,68.85,166.17]],["C",[62.07,169.89,53.65,166.61,51.21,159.28]],["C",[48.81,152.1,48.61,139.98,52.84,128.96]]]}},{animations:[{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[101.5,101.5],"50":[104.342,104.342],"85":[99.47,99.47],"117":[102.515,102.515],"142":[101.1955,101.1955],"160":[101.5,101.5]},property:"SCALE",timing_curves:[[[1,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]},{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[0],"50":[-20.1],"85":[13.8],"117":[.3],"142":[3],"160":[-1.2],"177":[0]},property:"ROTATION",timing_curves:[[[1,0],[.42,1]],[[.74,0],[.43,1]],[[.57,0],[.35,1]],[[.65,0],[.67,1]],[[.33,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ffaf9cda",key:3,key_frames:{"0":[["M",[35.63,77.85]],["C",[45.9,76.22,67.98,78,80.09,81.84]],["C",[83.34,82.87,85.27,95.47,82.46,97.39]],["C",[72.06,104.51,51.87,113.44,41.63,115.06]],["C",[29.81,116.94,17.95,114.28,11.41,110.32]],["C",[4.8,106.32,3.43,97.38,8.56,91.6]],["C",[13.58,85.93,23.97,79.7,35.63,77.85]]]}},{animations:[{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[101.5,101.5],"52":[104.342,104.342],"87":[99.47,99.47],"120":[102.515,102.515],"145":[101.1955,101.1955],"162":[101.5,101.5]},property:"SCALE",timing_curves:[[[1,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]},{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[0],"52":[-20.1],"87":[13.8],"120":[.3],"145":[3],"162":[-1.2],"180":[0]},property:"ROTATION",timing_curves:[[[1,0],[.42,1]],[[.74,0],[.43,1]],[[.57,0],[.35,1]],[[.65,0],[.67,1]],[[.33,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ffaf9cda",key:4,key_frames:{"0":[["M",[71.28,37.39]],["C",[77.83,45.47,87.33,65.48,90.06,77.89]],["C",[90.8,81.21,80.85,89.19,77.78,87.72]],["C",[66.42,82.27,48.58,69.25,42.06,61.19]],["C",[34.52,51.89,30.9,40.3,31.06,32.65]],["C",[31.22,24.93,38.27,19.28,45.84,20.82]],["C",[53.26,22.33,63.85,28.22,71.28,37.39]]]}},{animations:[{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[101.5,101.5],"55":[104.342,104.342],"90":[99.47,99.47],"122":[102.515,102.515],"147":[101.1955,101.1955],"165":[101.5,101.5]},property:"SCALE",timing_curves:[[[1,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]},{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[0],"55":[-20.1],"90":[13.8],"122":[.3],"147":[3],"165":[-1.2],"182":[0]},property:"ROTATION",timing_curves:[[[1,0],[.42,1]],[[.74,0],[.43,1]],[[.57,0],[.35,1]],[[.65,0],[.67,1]],[[.33,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ffaf9cda",key:5,key_frames:{"0":[["M",[124.16,48.05]],["C",[120.44,57.76,107.86,75.98,98.47,84.55]],["C",[95.96,86.85,84.08,82.22,83.82,78.82]],["C",[82.86,66.26,85.23,44.3,88.95,34.63]],["C",[93.23,23.45,101.47,14.52,108.17,10.84]],["C",[114.94,7.11,123.36,10.4,125.81,17.73]],["C",[128.2,24.91,128.4,37.03,124.16,48.05]]]}},{animations:[{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[101.5,101.5],"47":[104.342,104.342],"87":[99.47,99.47],"112":[102.515,102.515],"135":[101.1955,101.1955],"152":[101.5,101.5]},property:"SCALE",timing_curves:[[[1,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]},{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[0],"47":[-18.9],"87":[10.8],"112":[-5.4],"135":[1.8],"152":[-.9],"170":[0]},property:"ROTATION",timing_curves:[[[1,0],[.42,1]],[[.74,0],[.43,1]],[[.57,0],[.35,1]],[[.65,0],[.67,1]],[[.33,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ff9d87d2",key:6,key_frames:{"0":[["M",[99.16,35.64]],["C",[100.79,45.91,99,67.98,95.16,80.09]],["C",[94.13,83.34,81.53,85.27,79.61,82.46]],["C",[72.5,72.06,63.57,51.86,61.95,41.62]],["C",[60.08,29.8,62.74,17.94,66.7,11.41]],["C",[70.71,4.8,79.64,3.43,85.43,8.56]],["C",[91.09,13.58,97.32,23.98,99.16,35.64]]]}},{animations:[{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[101.5,101.5],"50":[104.342,104.342],"85":[99.47,99.47],"115":[102.515,102.515],"137":[101.1955,101.1955],"155":[101.5,101.5]},property:"SCALE",timing_curves:[[[1,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]},{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[0],"50":[-12.6],"85":[10.8],"115":[-5.4],"137":[1.8],"155":[-.9],"172":[0]},property:"ROTATION",timing_curves:[[[1,0],[.42,1]],[[.74,0],[.43,1]],[[.57,0],[.35,1]],[[.65,0],[.67,1]],[[.33,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ff9d87d2",key:7,key_frames:{"0":[["M",[139.61,71.3]],["C",[131.53,77.84,111.52,87.34,99.11,90.07]],["C",[95.79,90.8,87.81,80.85,89.28,77.78]],["C",[94.73,66.42,107.77,48.59,115.82,42.07]],["C",[125.12,34.53,136.72,30.91,144.36,31.07]],["C",[152.09,31.24,157.74,38.29,156.19,45.86]],["C",[154.68,53.28,148.79,63.87,139.61,71.3]]]}},{animations:[{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[101.5,101.5],"52":[104.342,104.342],"87":[99.47,99.47],"117":[102.515,102.515],"140":[101.1955,101.1955],"157":[101.5,101.5]},property:"SCALE",timing_curves:[[[1,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]},{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[0],"52":[-12.6],"87":[10.8],"117":[-5.4],"140":[1.8],"157":[-.9],"175":[0]},property:"ROTATION",timing_curves:[[[1,0],[.42,1]],[[.74,0],[.43,1]],[[.57,0],[.35,1]],[[.65,0],[.67,1]],[[.33,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ff9d87d2",key:8,key_frames:{"0":[["M",[128.95,124.16]],["C",[119.25,120.44,101.02,107.85,92.45,98.47]],["C",[90.15,95.96,94.78,84.08,98.18,83.82]],["C",[110.74,82.86,132.7,85.23,142.38,88.94]],["C",[153.55,93.23,162.48,101.46,166.17,108.16]],["C",[169.89,114.93,166.61,123.35,159.27,125.8]],["C",[152.09,128.2,139.98,128.39,128.95,124.16]]]}},{animations:[{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[101.5,101.5],"52":[104.342,104.342],"87":[99.47,99.47],"117":[102.515,102.515],"140":[101.1955,101.1955],"157":[101.5,101.5]},property:"SCALE",timing_curves:[[[1,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]},{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[0],"52":[-12.6],"87":[10.8],"117":[-5.4],"140":[1.8],"157":[-.9],"175":[0]},property:"ROTATION",timing_curves:[[[1,0],[.42,1]],[[.74,0],[.43,1]],[[.57,0],[.35,1]],[[.65,0],[.67,1]],[[.33,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ff9d87d2",key:9,key_frames:{"0":[["M",[77.85,141.37]],["C",[76.22,131.1,78,109.02,81.84,96.91]],["C",[82.87,93.66,95.47,91.73,97.39,94.54]],["C",[104.51,104.94,113.43,125.14,115.06,135.38]],["C",[116.93,147.19,114.27,159.05,110.31,165.59]],["C",[106.31,172.2,97.38,173.57,91.59,168.44]],["C",[85.92,163.42,79.7,153.03,77.85,141.37]]]}},{animations:[{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[101.5,101.5],"50":[104.342,104.342],"85":[99.47,99.47],"115":[102.515,102.515],"137":[101.1955,101.1955],"155":[101.5,101.5]},property:"SCALE",timing_curves:[[[1,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]},{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[0],"50":[-12.6],"85":[10.8],"115":[-5.4],"137":[1.8],"155":[-.9],"172":[0]},property:"ROTATION",timing_curves:[[[1,0],[.42,1]],[[.74,0],[.43,1]],[[.57,0],[.35,1]],[[.65,0],[.67,1]],[[.33,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ff9d87d2",key:10,key_frames:{"0":[["M",[37.39,105.71]],["C",[45.47,99.17,65.48,89.67,77.89,86.94]],["C",[81.21,86.2,89.19,96.15,87.72,99.22]],["C",[82.27,110.58,69.24,128.41,61.19,134.94]],["C",[51.89,142.47,40.29,146.1,32.65,145.94]],["C",[24.92,145.78,19.27,138.72,20.82,131.15]],["C",[22.33,123.73,28.22,113.14,37.39,105.71]]]}},{animations:[{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[101.5,101.5],"47":[104.342,104.342],"82":[99.47,99.47],"112":[102.515,102.515],"135":[101.1955,101.1955],"152":[101.5,101.5]},property:"SCALE",timing_curves:[[[1,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]},{anchor:[88.503004608154,88.490320205689],key_frames:{"0":[0],"47":[-12.6],"82":[10.8],"112":[-5.4],"135":[1.8],"152":[-.9],"170":[0]},property:"ROTATION",timing_curves:[[[1,0],[.42,1]],[[.74,0],[.43,1]],[[.57,0],[.35,1]],[[.65,0],[.67,1]],[[.33,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ff9d87d2",key:11,key_frames:{"0":[["M",[48.04,52.85]],["C",[57.75,56.57,75.98,69.15,84.55,78.53]],["C",[86.84,81.04,82.22,92.92,78.82,93.18]],["C",[66.26,94.15,44.31,91.78,34.63,88.07]],["C",[23.45,83.78,14.51,75.55,10.83,68.86]],["C",[7.11,62.08,10.39,53.66,17.72,51.21]],["C",[24.9,48.82,37.01,48.62,48.04,52.85]]]}},{fill_color:"#ff9d87d2",key:12,key_frames:{"0":[["M",[117.52,83.9]],["C",[120.06,99.93,109.12,114.98,93.1,117.52]],["C",[77.07,120.06,62.02,109.12,59.48,93.1]],["C",[56.94,77.07,67.88,62.02,83.9,59.48]],["C",[99.93,56.94,114.98,67.88,117.52,83.9]]]}},{animations:[{anchor:[88.500108413696,88.499798660278],key_frames:{"0":[101.5,101.5],"50":[114.695,114.695],"85":[99.47,99.47],"110":[102.515,102.515],"137":[101.1955,101.1955],"157":[101.5,101.5]},property:"SCALE",timing_curves:[[[1,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ffffe18f",key:13,key_frames:{"0":[["M",[113.37,84.56]],["C",[115.55,98.3,106.18,111.2,92.44,113.37]],["C",[78.7,115.55,65.8,106.18,63.63,92.44]],["C",[61.45,78.7,70.82,65.8,84.56,63.63]],["C",[98.3,61.45,111.2,70.82,113.37,84.56]]]}}],frameCount:212,frameRate:24,groups:[],size:{height:177,width:177}},HAHA:{features:[{fill_color:"#fffdda74",key:3,key_frames:{"0":[["M",[176.25,88.25]],["C",[176.25,136.85,136.85,176.25,88.25,176.25]],["C",[39.65,176.25,.25,136.85,.25,88.25]],["C",[.25,39.65,39.65,.25,88.25,.25]],["C",[136.85,.25,176.25,39.65,176.25,88.25]]]}}],frameCount:187,frameRate:24,groups:[{id:1,animations:[{anchor:[88.915089473145,46.559884244225],key_frames:{"0":[88.4518,88.552],"42":[88.0114,88.552],"92":[88.9151,46.5599],"155":[88.9151,46.5599],"185":[88.1814,80.6524]},property:"POSITION",timing_curves:[[[.167,0],[.605,1]],[[.395,0],[.605,1]],[[.395,0],[.83,1]],[[.424,0],[.961,1]]]},{anchor:[88.915089473145,46.559884244225],key_frames:{"-48":[-1],"0":[0],"50":[-3],"147":[0],"185":[0]},property:"ROTATION",timing_curves:[[[.083,0],[.833,1]],[[.167,0],[.833,1]],[[.167,0],[.833,1]],[[.444,0],[.957,1]]]}],features:[],key:0,groups:[{id:3,animations:[{anchor:[-.06530463521308,3.7354072456683],key_frames:{"0":[.0001,-.0135],"10":[.1878,-10.7624],"17":[.0691,-3.9634],"30":[.1878,-10.7624],"42":[.0691,-3.9634],"95":[.0691,-3.9634],"105":[-.0653,3.7354],"115":[.0691,-3.9634],"125":[-.0653,3.7354],"135":[.0691,-3.9634],"145":[-.0653,3.7354],"155":[.0691,-3.9634],"185":[.0131,-.7565]},property:"POSITION",timing_curves:[[[.167,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.605,1]],[[.395,0],[.605,1]],[[.395,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.424,0],[.961,1]]]}],features:[{fill_color:"#ff262c38",key:6,key_frames:{"0":[["M",[88.51,107.7]],["C",[109.61,107.57,128.73,109.43,136.49,111.18]],["C",[136.49,111.19,136.5,111.19,136.5,111.19]],["C",[136.23,137.47,114.85,158.7,88.5,158.7]],["C",[62.16,158.7,40.77,137.48,40.5,111.21]],["C",[40.5,111.21,40.49,111.21,40.5,111.21]],["C",[48.99,109.2,65.24,107.84,88.51,107.7]]],"10":[["M",[88.61,107.08]],["C",[109.42,107.08,124.42,108.7,133.14,110.69]],["C",[134.67,114.78,135.5,119.15,135.5,123.7]],["C",[135.5,146.62,114.46,165.2,88.5,165.2]],["C",[62.54,165.2,41.5,146.62,41.5,123.7]],["C",[41.5,119.16,42.33,114.79,43.85,110.7]],["C",[52.05,108.82,67.8,107.08,88.61,107.08]]],"17":[["M",[88.58,107.2]],["C",[105.42,107.4,125.67,109.02,136.5,111.25]],["C",[136.51,111.26,136.51,111.26,136.5,111.26]],["C",[136.2,137.51,114.82,158.7,88.5,158.7]],["C",[62.18,158.7,40.8,137.51,40.5,111.26]],["C",[40.5,111.26,40.51,111.26,40.51,111.25]],["C",[52.42,109.02,71.74,107,88.58,107.2]]],"30":[["M",[88.45,106.95]],["C",[101.17,106.95,119.8,108.07,127.57,109.69]],["C",[129.14,114.07,130,118.78,130,123.7]],["C",[130,146.62,111.42,165.2,88.5,165.2]],["C",[65.58,165.2,47,146.62,47,123.7]],["C",[47,118.8,47.85,114.1,49.41,109.74]],["C",[56.67,108.32,74.92,106.95,88.45,106.95]]],"42":[["M",[88.58,107.2]],["C",[105.42,107.4,125.67,109.02,136.5,111.25]],["C",[136.51,111.26,136.51,111.26,136.5,111.26]],["C",[136.2,137.51,114.82,158.7,88.5,158.7]],["C",[62.18,158.7,40.8,137.51,40.5,111.26]],["C",[40.5,111.26,40.51,111.26,40.51,111.25]],["C",[52.42,109.02,71.74,107,88.58,107.2]]],"95":[["M",[87.5,106.95]],["C",[113.5,106.9,135.25,110.15,153.93,115.02]],["C",[154.31,117.86,154.5,120.76,154.5,123.7]],["C",[154.5,160.15,124.95,189.7,88.5,189.7]],["C",[52.05,189.7,22.5,160.15,22.5,123.7]],["C",[22.5,120.72,22.7,117.79,23.08,114.91]],["C",[39.5,109.65,58.5,107.01,87.5,106.95]]],"105":[["M",[88.5,107.35]],["C",[107.25,107.35,133.25,109.95,151.51,114.26]],["C",[151.5,114.26,151.5,114.28,151.5,114.26]],["C",[149.65,147.45,122.15,173.8,88.5,173.8]],["C",[54.83,173.8,27.31,147.42,25.5,114.2]],["C",[25.56,114.2,25.5,114.2,25.52,114.26]],["C",[42,110.2,67,107.35,88.5,107.35]]],"115":[["M",[87.5,106.95]],["C",[113.5,106.9,135.25,110.15,153.93,115.02]],["C",[154.31,117.86,154.5,120.76,154.5,123.7]],["C",[154.5,160.15,124.95,189.7,88.5,189.7]],["C",[52.05,189.7,22.5,160.15,22.5,123.7]],["C",[22.5,120.72,22.7,117.79,23.08,114.91]],["C",[39.5,109.65,58.5,107.01,87.5,106.95]]],"125":[["M",[88.5,107.35]],["C",[107.25,107.35,133.25,109.95,151.51,114.26]],["C",[151.5,114.26,151.5,114.28,151.5,114.26]],["C",[149.65,147.45,122.15,173.8,88.5,173.8]],["C",[54.83,173.8,27.31,147.42,25.5,114.2]],["C",[25.56,114.2,25.5,114.2,25.52,114.26]],["C",[42,110.2,67,107.35,88.5,107.35]]],"135":[["M",[87.5,106.95]],["C",[113.5,106.9,135.25,110.15,153.93,115.02]],["C",[154.31,117.86,154.5,120.76,154.5,123.7]],["C",[154.5,160.15,124.95,189.7,88.5,189.7]],["C",[52.05,189.7,22.5,160.15,22.5,123.7]],["C",[22.5,120.72,22.7,117.79,23.08,114.91]],["C",[39.5,109.65,58.5,107.01,87.5,106.95]]],"145":[["M",[88.5,107.35]],["C",[107.25,107.35,133.25,109.95,151.51,114.26]],["C",[151.5,114.26,151.5,114.28,151.5,114.26]],["C",[149.65,147.45,122.15,173.8,88.5,173.8]],["C",[54.83,173.8,27.31,147.42,25.5,114.2]],["C",[25.56,114.2,25.5,114.2,25.52,114.26]],["C",[42,110.2,67,107.35,88.5,107.35]]],"155":[["M",[87.5,106.95]],["C",[113.5,106.9,135.25,110.15,153.93,115.02]],["C",[154.31,117.86,154.5,120.76,154.5,123.7]],["C",[154.5,160.15,124.95,189.7,88.5,189.7]],["C",[52.05,189.7,22.5,160.15,22.5,123.7]],["C",[22.5,120.72,22.7,117.79,23.08,114.91]],["C",[39.5,109.65,58.5,107.01,87.5,106.95]]],"185":[["M",[88.32,107.56]],["C",[110.34,107.45,129.96,109.57,139.77,111.91]],["C",[139.85,112.44,139.89,112.99,139.88,113.54]],["C",[139.67,141.74,116.75,164.53,88.5,164.53]],["C",[60.26,164.53,37.34,141.75,37.12,113.56]],["C",[37.12,113,37.15,112.44,37.22,111.9]],["C",[47.2,109.28,63.97,107.68,88.32,107.56]]]},timing_curves:[[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.605,1]],[[.395,0],[.605,1]],[[.395,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.5,0],[.917,1]]]},{fill_color:"#fff25268",key:7,key_frames:{"0":[["M",[126.03,139.98]],["C",[118.74,150.7,103.65,158.36,88.24,158.36]],["C",[72.96,158.36,58.11,150.82,50.69,140.29]],["C",[65.89,134.04,112.36,133.45,126.03,139.98]]],"10":[["M",[131.14,140.97]],["C",[122.44,156.47,106.05,164.95,88.22,165.2]],["C",[70.17,165.45,55.28,155.81,46.09,141.37]],["C",[64.28,134.18,108.81,132.84,131.14,140.97]]],"17":[["M",[126.03,139.98]],["C",[117.35,151.36,103.65,158.7,88.24,158.7]],["C",[72.96,158.7,59.38,151.49,50.69,140.29]],["C",[62.74,134.07,114.24,134.07,126.03,139.98]]],"30":[["M",[126.03,139.98]],["C",[122.55,150.83,107.85,165.39,88.47,165.26]],["C",[69.09,165.14,56.8,151.95,50.67,141.04]],["C",[62.42,133.83,112.92,133.58,126.03,139.98]]],"42":[["M",[126.03,139.62]],["C",[120.17,148.17,107.58,158.57,88.19,158.45]],["C",[68.81,158.33,54.8,145.92,50.67,140.69]],["C",[62.42,133.47,112.92,133.22,126.03,139.62]]],"95":[["M",[138.15,167.37]],["C",[127.63,179.03,110.75,189.15,88.14,189.58]],["C",[66.13,189.99,46.25,176.15,39.67,167.19]],["C",[63.13,142.15,115.13,141.28,138.15,167.37]]],"105":[["M",[128.25,159.68]],["C",[119.84,167.1,106.36,173.55,88.29,173.82]],["C",[70.71,174.08,54.83,165.27,49.57,159.57]],["C",[68.31,143.63,109.85,143.08,128.25,159.68]]],"115":[["M",[138.15,167.37]],["C",[127.63,179.03,110.75,189.15,88.14,189.58]],["C",[66.13,189.99,46.25,176.15,39.67,167.19]],["C",[63.13,142.15,115.13,141.28,138.15,167.37]]],"125":[["M",[128.25,159.68]],["C",[119.84,167.1,106.36,173.55,88.29,173.82]],["C",[70.71,174.08,54.83,165.27,49.57,159.57]],["C",[68.31,143.63,109.85,143.08,128.25,159.68]]],"135":[["M",[138.15,167.37]],["C",[127.63,179.03,110.75,189.15,88.14,189.58]],["C",[66.13,189.99,46.25,176.15,39.67,167.19]],["C",[63.13,142.15,115.13,141.28,138.15,167.37]]],"145":[["M",[128.25,159.68]],["C",[119.84,167.1,106.36,173.55,88.29,173.82]],["C",[70.71,174.08,54.83,165.27,49.57,159.57]],["C",[68.31,143.63,109.85,143.08,128.25,159.68]]],"155":[["M",[138.15,167.37]],["C",[127.63,179.03,110.75,189.15,88.14,189.58]],["C",[66.13,189.99,46.25,176.15,39.67,167.19]],["C",[63.13,142.15,115.13,141.28,138.15,167.37]]],"185":[["M",[128.31,145.13]],["C",[119.6,156.08,104.99,164.11,88.22,164.19]],["C",[71.68,164.27,56.59,155.64,48.61,145.35]],["C",[65.37,135.57,112.88,134.92,128.31,145.13]]]},timing_curves:[[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.605,1]],[[.395,0],[.605,1]],[[.395,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.19,0],[.81,1]],[[.5,0],[.917,1]]]}],key:1,groups:[{id:4,animations:[{anchor:[1.0542197156616,-4.319055946968],key_frames:{"10":[1.0542,-.0191],"40":[1.0542,-.0191],"90":[1.0542,-4.3191],"152":[1.0542,-4.3191],"185":[1.0542,-.0191]},property:"POSITION",timing_curves:[[[.167,0],[.605,1]],[[.395,0],[.605,1]],[[.395,0],[.83,1]],[[.5,0],[.917,1]]]}],features:[{key:4,key_frames:{"12":[["M",[37.89,98.91]],["L",[62.05,91.8]],["C",[62.72,91.38,62.66,90.37,61.93,90.03]],["L",[34.79,84.72]]],"42":[["M",[37.89,98.91]],["L",[62.05,91.8]],["C",[62.72,91.38,62.66,90.37,61.93,90.03]],["L",[34.79,84.72]]],"92":[["M",[31.21,99.26]],["L",[62.19,92.85]],["C",[62.9,92.48,62.92,91.47,62.22,91.08]],["L",[38.21,84.3]]],"155":[["M",[31.21,99.26]],["L",[62.19,92.85]],["C",[62.9,92.48,62.92,91.47,62.22,91.08]],["L",[38.21,84.3]]],"185":[["M",[37.01,98.95]],["L",[62.06,91.94]],["C",[62.75,91.52,62.69,90.51,61.97,90.17]],["L",[35.24,84.66]]]},stroke_color:"#ff262c38",stroke_width:8,timing_curves:[[[.395,0],[.605,1]],[[.395,0],[.605,1]],[[.395,0],[.605,1]],[[.395,0],[.917,1]]]},{key:5,key_frames:{"12":[["M",[139.71,100.44]],["L",[115.45,93.33]],["C",[114.77,92.91,114.84,91.9,115.56,91.57]],["L",[142.83,86.25]]],"42":[["M",[139.71,100.44]],["L",[115.45,93.33]],["C",[114.77,92.91,114.84,91.9,115.56,91.57]],["L",[142.83,86.25]]],"92":[["M",[146.44,100.79]],["L",[115.49,94.37]],["C",[114.78,94,114.77,92.98,115.47,92.6]],["L",[139.47,85.84]]],"155":[["M",[146.44,100.79]],["L",[115.49,94.37]],["C",[114.78,94,114.77,92.98,115.47,92.6]],["L",[139.47,85.84]]],"185":[["M",[140.98,100.51]],["L",[115.46,93.53]],["C",[114.77,93.12,114.82,92.1,115.55,91.76]],["L",[142.2,86.17]]]},stroke_color:"#ff262c38",stroke_width:8,timing_curves:[[[.167,0],[.605,1]],[[.395,0],[.605,1]],[[.395,0],[.83,1]],[[.5,0],[.917,1]]]}],key:2,groups:[],parent_group:3}],parent_group:1}],parent_group:null}],size:{height:177,width:177}},WOW:{features:[{fill_color:"#fffdda74",key:2,key_frames:{"0":[["M",[176.25,89.61]],["C",[176.25,138.22,136.85,177.61,88.25,177.61]],["C",[39.65,177.61,.25,138.22,.25,89.61]],["C",[.25,41.01,39.65,1.61,88.25,1.61]],["C",[136.85,1.61,176.25,41.01,176.25,89.61]]]}}],frameCount:200,frameRate:24,groups:[{id:1,animations:[{anchor:[86.6473,88.596],key_frames:{"0":[86.6473,88.596],"45":[64.6473,80.596],"60":[64.6473,80.596],"97":[109.6473,80.596],"150":[86.6473,88.596],"197":[86.6473,88.596]},property:"POSITION",timing_curves:[[[.325,0],[.675,1]],[[.285,0],[.675,1]],[[.318,0],[.69,1]],[[.345,0],[.643,1]],[[.086,0],[.647,1]]]},{anchor:[86.6473,88.596],key_frames:{"0":[0],"42":[17],"60":[17],"97":[-6],"145":[0],"197":[0]},property:"ROTATION",timing_curves:[[[.325,0],[.675,1]],[[.285,0],[.675,1]],[[.309,0],[.684,1]],[[.345,0],[.643,1]],[[.081,0],[.886,1]]]}],features:[{animations:[{anchor:[88.5,88.6],key_frames:{"0":[74.0746,100],"42":[44,44],"55":[44,44],"100":[74.0746,100]},property:"SCALE",timing_curves:[[[.78,0],[.22,1]],[[.78,0],[.22,1]],[[.78,0],[.35,1]]]}],fill_color:"#ff262c38",key:5,key_frames:{"0":[["M",[88.5,91.7]],["C",[104.53,91.7,117.52,107.59,117.52,127.2]],["C",[117.52,146.81,104.53,162.7,88.5,162.7]],["C",[72.47,162.7,59.48,146.81,59.48,127.2]],["C",[59.48,107.59,72.47,91.7,88.5,91.7]]]}},{animations:[{anchor:[48.328,62.9938],key_frames:{"12":[100,100],"17":[100,0],"27":[100,100],"72":[100,100],"77":[100,0],"87":[100,100],"165":[100,100],"170":[100,0],"177":[100,100]},property:"SCALE",timing_curves:[[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ff262c38",key:6,key_frames:{"0":[["M",[50.86,55.29]],["C",[57.63,56.24,62,64.94,60.63,74.71]],["C",[59.26,84.49,52.65,91.64,45.89,90.69]],["C",[39.12,89.74,34.75,81.04,36.12,71.27]],["C",[37.49,61.49,44.09,54.34,50.86,55.29]]]}},{animations:[{anchor:[128.0777,62.9938],key_frames:{"12":[100,100],"17":[100,0],"27":[100,100],"72":[100,100],"77":[100,0],"87":[100,100],"165":[100,100],"170":[100,0],"177":[100,100]},property:"SCALE",timing_curves:[[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ff262c38",key:7,key_frames:{"0":[["M",[125.64,55.29]],["C",[132.41,54.34,139.01,61.49,140.38,71.27]],["C",[141.75,81.04,137.38,89.74,130.61,90.69]],["C",[123.85,91.64,117.24,84.49,115.87,74.71]],["C",[114.5,64.94,118.87,56.24,125.64,55.29]]]}}],key:0,groups:[{id:2,animations:[{anchor:[86.6,88.6],key_frames:{"0":[86.6,88.6],"35":[86.6,104.5441],"60":[86.6,104.5441],"97":[86.6,104.5441],"145":[86.6,88.6]},property:"POSITION",timing_curves:[[[.451,0],[.737,1]],[[0,0],[.737,1]],[[0,0],[.655,1]],[[.345,0],[.643,1]]]}],features:[{key:3,key_frames:{"0":[["M",[39.11,28.84]],["C",[44.11,22.87,53.7,20,59.84,26.14]]]},stroke_color:"#ff262c38",stroke_width:8},{key:4,key_frames:{"0":[["M",[116.66,26.14]],["C",[122.8,20,132.39,22.87,137.39,28.84]]]},stroke_color:"#ff262c38",stroke_width:8}],key:1,groups:[],parent_group:1}],parent_group:null}],size:{height:177,width:177}},SORRY:{features:[{fill_color:"#fffdda74",key:2,key_frames:{"0":[["M",[177.23,88.25]],["C",[177.23,136.85,137.83,176.25,89.23,176.25]],["C",[40.63,176.25,1.23,136.85,1.23,88.25]],["C",[1.23,39.65,40.63,.25,89.23,.25]],["C",[137.83,.25,177.23,39.65,177.23,88.25]]]}},{animations:[{key_frames:{"135":[139.7094,123.9857],"210":[139.7094,151.4335]},property:"POSITION",timing_curves:[[[.333,0],[.833,1]]]},{anchor:[139.70942687988,123.9857],key_frames:{"135":[0,0],"185":[100,100],"210":[0,0]},property:"SCALE",timing_curves:[[[.333,0],[.667,1]],[[.333,0],[.833,1]]]}],fill_color:"#ff5890ff",key:3,key_frames:{"0":[["M",[139.71,101.96]],["C",[141.38,101.96,153.08,127.1,153.08,134.22]],["C",[153.08,141.35,147.09,147.13,139.71,147.13]],["C",[132.32,147.13,126.33,141.35,126.33,134.22]],["C",[126.33,127.1,138.04,101.96,139.71,101.96]]]}},{animations:[{key_frames:{"0":[39.2906,138.2],"30":[39.2906,149.7848],"195":[39.2906,123.5988],"240":[39.2906,138.2]},property:"POSITION",timing_curves:[[[.43,0],[.833,1]],[[.167,0],[.833,1]],[[.167,0],[.833,1]]]},{anchor:[39.290573120117,138.2],key_frames:{"0":[89.7367,89.7367],"35":[0,0],"195":[0,0],"240":[89.7367,89.7367]},property:"SCALE",timing_curves:[[[.333,0],[.833,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ff5890ff",key:4,key_frames:{"0":[["M",[39.29,125.72]],["C",[40.96,125.72,52.67,150.85,52.67,157.98]],["C",[52.67,165.1,46.68,170.88,39.29,170.88]],["C",[31.9,170.88,25.92,165.1,25.92,157.98]],["C",[25.92,150.85,37.62,125.72,39.29,125.72]]]}}],frameCount:240,frameRate:24,groups:[{id:1,animations:[{anchor:[89.5,114.98767852783],key_frames:{"0":[89.5,114.9877],"85":[89.5,92.9877],"170":[89.5,117.9877],"240":[89.5,114.9877]},property:"POSITION",timing_curves:[[[.245,0],[.615,1]],[[.331,0],[.615,1]],[[.385,0],[.755,1]]]}],features:[{animations:[{key_frames:{"0":[89.2218,139.4833],"60":[89.2218,134.4833],"85":[89.2218,134.4833],"142":[89.2218,144.4833],"170":[89.2218,144.4833],"240":[89.2218,139.4833]},property:"POSITION",timing_curves:[[[.49,0],[.51,1]],[[.49,0],[.51,1]],[[.49,0],[.51,1]],[[.49,0],[.51,1]],[[.49,0],[.51,1]]]}],key:7,key_frames:{"0":[["M",[109.66,144.12]],["C",[104.82,138.45,97.47,134.84,89.23,134.84]],["C",[80.98,134.84,73.62,138.46,68.78,144.13]]],"85":[["M",[103.73,138.05]],["C",[99.62,136.06,94.77,134.73,89.23,134.84]],["C",[83.69,134.94,78.75,136.06,74.72,138]]],"170":[["M",[109.66,144.12]],["C",[104.82,138.45,97.47,134.84,89.23,134.84]],["C",[80.98,134.84,73.62,138.46,68.78,144.13]]],"240":[["M",[109.66,144.12]],["C",[104.82,138.45,97.47,134.84,89.23,134.84]],["C",[80.98,134.84,73.62,138.46,68.78,144.13]]]},stroke_color:"#ff262c38",stroke_width:8.6,timing_curves:[[[.295,0],[.705,1]],[[.295,0],[.705,1]],[[.295,0],[.705,1]]]},{animations:[{key_frames:{"0":[47.9839,100.7499],"85":[47.9839,96.2499],"170":[47.9839,101.9177],"240":[47.9839,100.7499]},property:"POSITION",timing_curves:[[[.333,0],[.23,1]],[[.77,0],[.23,1]],[[.77,0],[.667,1]]]},{anchor:[47.983917236328,100.74992991943],key_frames:{"0":[100,100],"5":[100,0],"15":[100,100],"102":[100,100],"107":[100,0],"117":[100,100],"182":[100,100],"187":[100,0],"197":[100,100]},property:"SCALE",timing_curves:[[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ff262c38",key:8,key_frames:{"0":[["M",[47.98,87]],["C",[54.06,87,58.98,93.16,58.98,100.75]],["C",[58.98,108.34,54.06,114.5,47.98,114.5]],["C",[41.91,114.5,36.98,108.34,36.98,100.75]],["C",[36.98,93.16,41.91,87,47.98,87]]]}},{animations:[{key_frames:{"0":[130.4833,100.7497],"85":[130.4833,96.2497],"170":[130.4833,101.9175],"240":[130.4833,100.7497]},property:"POSITION",timing_curves:[[[.333,0],[.23,1]],[[.77,0],[.23,1]],[[.77,0],[.667,1]]]},{anchor:[130.48330688477,100.74974681397],key_frames:{"0":[100,100],"5":[100,0],"15":[100,100],"102":[100,100],"107":[100,0],"117":[100,100],"182":[100,100],"187":[100,0],"197":[100,100]},property:"SCALE",timing_curves:[[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ff262c38",key:9,key_frames:{"0":[["M",[130.48,87]],["C",[136.56,87,141.48,93.16,141.48,100.75]],["C",[141.48,108.34,136.56,114.5,130.48,114.5]],["C",[124.41,114.5,119.48,108.34,119.48,100.75]],["C",[119.48,93.16,124.41,87,130.48,87]]]}}],key:0,groups:[{id:8,animations:[{anchor:[89.233428955078,72.576565661621],key_frames:{"0":[89.2334,72.5766],"60":[89.2334,69.5766],"85":[89.2334,69.5766],"142":[89.2334,75.8766],"170":[89.2334,75.8766],"240":[89.2334,72.5766]},property:"POSITION",timing_curves:[[[.245,0],[.755,1]],[[.245,0],[.755,1]],[[.245,0],[.755,1]],[[.245,0],[.755,1]],[[.245,0],[.755,1]]]}],features:[{animations:[{anchor:[47.9839,99.77800681708],key_frames:{"0":[0],"85":[9.8],"142":[4],"240":[0]},property:"ROTATION",timing_curves:[[[.49,0],[.51,1]],[[.49,0],[.51,1]],[[.49,0],[.51,1]]]}],key:5,key_frames:{"0":[["M",[33.18,78.91]],["C",[36.46,74.73,44.55,71.33,49.88,73.33]]]},stroke_color:"#ff262c38",stroke_width:8},{animations:[{anchor:[129.48327792969,99.777823711612],key_frames:{"0":[0],"85":[-9.8],"142":[-4],"240":[0]},property:"ROTATION",timing_curves:[[[.49,0],[.51,1]],[[.49,0],[.51,1]],[[.49,0],[.51,1]]]}],key:6,key_frames:{"0":[["M",[127.9,72.65]],["C",[133.39,72.07,142.45,75.19,144.94,79.62]]]},stroke_color:"#ff262c38",stroke_width:8}],key:1,groups:[],parent_group:1}],parent_group:null}],size:{height:177,width:177}},ANGER:{features:[{effects:[{property:"gradient",end:{key_frames:{"20":[253,218,116],"100":[246,178,105],"167":[253,218,116]},timing_curves:[[[.333,0],[.667,1]],[[.333,0],[.667,1]]]},start:{key_frames:{"20":[245,115,107],"100":[224,45,69],"167":[245,115,107]},timing_curves:[[[.333,0],[.667,1]],[[.333,0],[.667,1]]]}}],fill_color:"#ff808080",key:3,key_frames:{"0":[["M",[.25,88.25]],["C",[.25,136.85,39.65,176.25,88.25,176.25]],["C",[136.85,176.25,176.25,136.85,176.25,88.25]],["C",[176.25,39.65,136.85,.25,88.25,.25]],["C",[39.65,.25,.25,39.65,.25,88.25]]]}}],frameCount:200,frameRate:24,groups:[{id:9,animations:[{anchor:[0,0],key_frames:{"0":[0,0],"115":[0,0],"120":[-8,0],"127":[13,0],"132":[-8,0],"140":[13,0],"162":[0,0],"197":[0,0]},property:"POSITION",timing_curves:[[[.315,0],[.685,1]],[[.315,0],[.685,1]],[[.315,0],[.685,1]],[[.315,0],[.685,1]],[[.315,0],[.685,1]],[[.315,0],[.833,1]],[[.167,0],[.833,1]]]}],features:[],key:0,groups:[{id:10,animations:[{anchor:[0,0],key_frames:{"0":[0,0],"40":[0,-31],"87":[0,-31],"127":[0,20],"147":[0,20],"192":[0,0]},property:"POSITION",timing_curves:[[[.39,0],[.61,1]],[[.39,0],[.61,1]],[[.39,0],[.61,1]],[[.39,0],[.833,1]],[[.167,0],[.833,1]]]}],features:[{animations:[{key_frames:{"0":[88.2514,144.0591],"40":[88.2514,154.0591],"85":[88.2514,154.0591],"125":[88.2514,133.0591],"147":[88.2514,133.0591],"192":[88.2514,144.0591]},property:"POSITION",timing_curves:[[[.78,0],[.22,1]],[[.78,0],[.22,1]],[[.78,0],[.22,1]],[[.78,0],[.667,1]],[[.333,0],[.667,1]]]},{anchor:[88.251358032227,144.05906144765],key_frames:{"0":[100,100],"87":[100.4106,332.3478],"127":[69,90],"147":[69,90],"192":[100,100]},property:"SCALE",timing_curves:[[[.78,0],[.22,1]],[[.78,0],[.22,1]],[[.78,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ff262c38",key:4,key_frames:{"0":[["M",[88.25,134.92]],["C",[103.44,134.92,115.75,136.44,115.75,141.32]],["C",[115.75,146.2,103.44,146,88.25,146]],["C",[73.06,146,60.75,146.2,60.75,141.32]],["C",[60.75,136.44,73.06,134.92,88.25,134.92]]]}},{animations:[{anchor:[49.750503540039,116.59986344961],key_frames:{"20":[100,100],"25":[100,0],"35":[100,100],"52":[100,100],"57":[100,0],"67":[100,100],"75":[100,100],"80":[100,0],"90":[100,100],"127":[100,59],"147":[100,59],"192":[100,100]},property:"SCALE",timing_curves:[[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.167,0],[.833,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ff262c38",key:5,key_frames:{"0":[["M",[49.75,102]],["C",[55.83,102,60.75,106.93,60.75,113]],["C",[60.75,119.08,55.83,124,49.75,124]],["C",[43.68,124,38.75,119.08,38.75,113]],["C",[38.75,106.93,43.68,102,49.75,102]]]}},{animations:[{anchor:[126.75050354004,116.59986344961],key_frames:{"20":[100,100],"25":[100,0],"35":[100,100],"52":[100,100],"57":[100,0],"67":[100,100],"75":[100,100],"80":[100,0],"90":[100,100],"127":[100,59],"147":[100,59],"192":[100,100]},property:"SCALE",timing_curves:[[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]],[[.333,0],[.667,1]],[[.167,0],[.833,1]],[[.167,0],[.667,1]],[[.333,0],[.667,1]]]}],fill_color:"#ff262c38",key:6,key_frames:{"0":[["M",[126.75,102]],["C",[132.83,102,137.75,106.93,137.75,113]],["C",[137.75,119.08,132.83,124,126.75,124]],["C",[120.68,124,115.75,119.08,115.75,113]],["C",[115.75,106.93,120.68,102,126.75,102]]]}}],key:1,groups:[{id:11,animations:[{anchor:[0,-2.5240199658936],key_frames:{"0":[0,-2.524],"100":[0,-33.524],"122":[0,2.476],"142":[0,2.476],"182":[0,-2.524]},property:"POSITION",timing_curves:[[[.167,0],[.61,1]],[[.39,0],[.61,1]],[[.39,0],[.833,1]],[[.167,0],[.833,1]]]}],features:[{animations:[{anchor:[49.750015258789,103.17566648176],key_frames:{"0":[0],"40":[16],"87":[16],"127":[0],"147":[0],"187":[0]},property:"ROTATION",timing_curves:[[[.78,0],[.22,1]],[[.78,0],[.22,1]],[[.78,0],[.22,1]],[[.78,0],[.667,1]],[[.333,0],[.667,1]]]},{key_frames:{"0":[8],"87":[6],"127":[8]},property:"STROKE_WIDTH",timing_curves:[[[.39,0],[.61,1]],[[.39,0],[.61,1]]]}],key:7,key_frames:{"0":[["M",[25,97.6]],["C",[33.45,104.35,49.95,108.02,74.5,108.6]]],"40":[["M",[32.86,105.02]],["C",[40.66,102.19,55.63,98.67,69.5,105.55]]],"87":[["M",[32.86,105.02]],["C",[40.66,102.19,55.63,98.67,69.5,105.55]]],"127":[["M",[31.2,100.98]],["C",[37.42,103.65,48.73,107.13,67,108.29]]],"147":[["M",[31.2,100.98]],["C",[37.42,103.65,48.73,107.13,67,108.29]]],"187":[["M",[25,97.6]],["C",[33.45,104.35,49.95,108.02,74.5,108.6]]]},stroke_color:"#ff262c38",stroke_width:8,timing_curves:[[[.285,0],[.715,1]],[[.285,0],[.715,1]],[[.285,0],[.715,1]],[[.285,0],[.715,1]],[[.285,0],[.715,1]]]},{animations:[{anchor:[126.75074768066,103.17566648176],key_frames:{"0":[0],"40":[-16],"87":[-16],"127":[0],"147":[0],"187":[0]},property:"ROTATION",timing_curves:[[[.78,0],[.22,1]],[[.78,0],[.22,1]],[[.78,0],[.22,1]],[[.78,0],[.667,1]],[[.333,0],[.667,1]]]},{key_frames:{"0":[8],"87":[6],"127":[8]},property:"STROKE_WIDTH",timing_curves:[[[.39,0],[.61,1]],[[.39,0],[.61,1]]]}],key:8,key_frames:{"0":[["M",[151.5,97.6]],["C",[143.05,104.35,126.55,108.02,102,108.6]]],"40":[["M",[143.32,104.36]],["C",[129.19,99.63,117.14,100.02,107.17,105.53]]],"87":[["M",[143.32,104.36]],["C",[129.19,99.63,117.14,100.02,107.17,105.53]]],"127":[["M",[145.13,101.1]],["C",[138.81,103.75,127.5,107.25,109.06,108.35]]],"147":[["M",[145.13,101.1]],["C",[138.81,103.75,127.5,107.25,109.06,108.35]]],"187":[["M",[151.5,97.6]],["C",[143.05,104.35,126.55,108.02,102,108.6]]]},stroke_color:"#ff262c38",stroke_width:8,timing_curves:[[[.285,0],[.715,1]],[[.285,0],[.715,1]],[[.285,0],[.715,1]],[[.285,0],[.715,1]],[[.285,0],[.715,1]]]}],key:2,groups:[],parent_group:10}],parent_group:9}],parent_group:null}],size:{height:177,width:177}},FLAME:{features:[{animations:[{key_frames:{"0":[127.5,80]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"0":[88.5]},property:"X_POSITION",timing_curves:[]},{key_frames:{"0":[90.5]},property:"Y_POSITION",timing_curves:[]}],fill_color:"#ffe55b0e",key:0,key_frames:{"0":[["M",[127.19,158.81]],["C",[.25,158.81,65.85,44.3,80.6,44.3]],["Q",[77.26,52.96,80.6,61.91]],["Q",[98.46,.25,155.14,.25]],["Q",[136.29,18.07,164.45,70.72]],["Q",[173.78,59.71,173.78,53.11]],["C",[190.08,53.11,254.13,158.81,127.19,158.81]]]}},{animations:[{key_frames:{"0":[92,59]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"0":[89]},property:"X_POSITION",timing_curves:[]},{key_frames:{"0":[103.5]},property:"Y_POSITION",timing_curves:[]}],fill_color:"#fff2bc13",key:1,key_frames:{"0":[["M",[91.81,117.64]],["C",[.25,117.64,42.8,44.01,44.86,42.17]],["C",[43.29,47.06,42.7,50.56,44.86,50.56]],["C",[47.01,50.56,74.4,.25,101.21,.25]],["C",[93.57,11.96,128.6,58.94,134.47,58.94]],["Q",[140.34,58.94,138.77,42.17]],["Q",[183.38,117.64,91.81,117.64]]]}},{animations:[{key_frames:{"0":[67,43.5]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"0":[81]},property:"X_POSITION",timing_curves:[]},{key_frames:{"0":[120]},property:"Y_POSITION",timing_curves:[]}],fill_color:"#ffffffff",key:2,key_frames:{"0":[["M",[76.54,85.75]],["C",[.25,85.75,66.16,.25,86.04,.25]],["C",[75.95,12.42,78.13,38.25,86.04,38.25]],["Q",[95.34,38.25,95.54,28.75]],["Q",[132.95,85.75,76.54,85.75]]]}},{animations:[{key_frames:{"0":[11.426,11.426]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"0":[63.4953],"57":[63.4953]},property:"X_POSITION",timing_curves:[[[.167,.167],[.833,.833]]]},{key_frames:{"0":[54.2903],"57":[-67.7097]},property:"Y_POSITION",timing_curves:[[[.167,.167],[.833,.833]]]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ffe65b0e",key:3,key_frames:{"0":[["M",[-14.68,59.43]],["L",[-19.57,59.43]],["C",[-20.68,59.43,-21.57,58.53,-21.57,57.43]],["L",[-21.57,52.53]],["C",[-21.57,51.54,-22.26,50.61,-23.24,50.45]],["C",[-24.49,50.25,-25.57,51.21,-25.57,52.43]],["L",[-25.57,57.43]],["C",[-25.57,58.53,-26.47,59.43,-27.57,59.43]],["L",[-32.47,59.43]],["C",[-33.46,59.43,-34.39,60.11,-34.55,61.09]],["C",[-34.75,62.34,-33.79,63.43,-32.57,63.43]],["L",[-27.57,63.43]],["C",[-26.47,63.43,-25.57,64.32,-25.57,65.43]],["L",[-25.57,70.32]],["C",[-25.57,71.32,-24.89,72.24,-23.91,72.4]],["C",[-22.66,72.6,-21.57,71.64,-21.57,70.43]],["L",[-21.57,65.43]],["C",[-21.57,64.32,-20.68,63.43,-19.57,63.43]],["L",[-14.57,63.43]],["C",[-13.36,63.43,-12.4,62.34,-12.6,61.09]],["C",[-12.76,60.11,-13.69,59.43,-14.68,59.43]]]}},{animations:[{key_frames:{"0":[6.346,6.346]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"-15":[147.3209],"42":[147.3209]},property:"X_POSITION",timing_curves:[[[.167,.167],[.833,.833]]]},{key_frames:{"-15":[148.4508],"42":[-5.5492]},property:"Y_POSITION",timing_curves:[[[.167,.167],[.833,.833]]]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ffe65b0e",key:4,key_frames:{"0":[["M",[11.2,5.26]],["L",[8.53,5.26]],["C",[7.93,5.26,7.44,4.77,7.44,4.16]],["L",[7.44,1.5]],["C",[7.44,.95,7.07,.45,6.53,.36]],["C",[5.85,.25,5.25,.77,5.25,1.44]],["L",[5.25,4.16]],["C",[5.25,4.77,4.77,5.26,4.16,5.26]],["L",[1.5,5.26]],["C",[.95,5.26,.45,5.63,.36,6.16]],["C",[.25,6.85,.78,7.44,1.44,7.44]],["L",[4.16,7.44]],["C",[4.77,7.44,5.25,7.93,5.25,8.53]],["L",[5.25,11.2]],["C",[5.25,11.74,5.63,12.24,6.16,12.33]],["C",[6.85,12.44,7.44,11.92,7.44,11.26]],["L",[7.44,8.53]],["C",[7.44,7.93,7.93,7.44,8.53,7.44]],["L",[11.26,7.44]],["C",[11.92,7.44,12.44,6.85,12.33,6.16]],["C",[12.24,5.63,11.74,5.26,11.2,5.26]]]}},{animations:[{key_frames:{"0":[8.3781,8.3785]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"0":[115.7472],"45":[125.7472],"57":[136.2472]},property:"X_POSITION",timing_curves:[[[.167,.168],[.833,.832]],[[.167,.168],[.833,.832]]]},{key_frames:{"0":[139.5555],"45":[29.2139],"57":[-1.4445]},property:"Y_POSITION",timing_curves:[[[.167,.168],[.833,.832]],[[.167,.168],[.833,.832]]]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ffe65b0e",key:5,key_frames:{"0":[["M",[14.85,6.92]],["L",[11.29,6.92]],["C",[10.48,6.92,9.83,6.27,9.83,5.47]],["L",[9.83,1.91]],["C",[9.83,1.19,9.34,.51,8.62,.4]],["C",[7.71,.25,6.92,.95,6.92,1.83]],["L",[6.92,5.47]],["C",[6.92,6.27,6.27,6.92,5.47,6.92]],["L",[1.91,6.92]],["C",[1.19,6.92,.51,7.42,.4,8.13]],["C",[.25,9.05,.95,9.83,1.83,9.83]],["L",[5.47,9.83]],["C",[6.27,9.83,6.92,10.48,6.92,11.29]],["L",[6.92,14.85]],["C",[6.92,15.57,7.42,16.24,8.13,16.36]],["C",[9.04,16.51,9.83,15.81,9.83,14.92]],["L",[9.83,11.29]],["C",[9.83,10.48,10.48,9.83,11.29,9.83]],["L",[14.92,9.83]],["C",[15.81,9.83,16.51,9.05,16.36,8.13]],["C",[16.24,7.42,15.57,6.92,14.85,6.92]]]}},{animations:[{key_frames:{"0":[9.3945,9.3945]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"-5":[71.9996],"52":[71.9996]},property:"X_POSITION",timing_curves:[[[.167,.167],[.833,.833]]]},{key_frames:{"-5":[151.1821],"52":[15.1821]},property:"Y_POSITION",timing_curves:[[[.167,.167],[.833,.833]]]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ffffffff",key:6,key_frames:{"0":[["M",[16.67,7.76]],["L",[12.67,7.76]],["C",[11.76,7.76,11.03,7.03,11.03,6.12]],["L",[11.03,2.12]],["C",[11.03,1.3,10.47,.55,9.67,.42]],["C",[8.64,.25,7.76,1.04,7.76,2.03]],["L",[7.76,6.12]],["C",[7.76,7.03,7.03,7.76,6.12,7.76]],["L",[2.12,7.76]],["C",[1.3,7.76,.55,8.31,.42,9.12]],["C",[.25,10.15,1.04,11.03,2.03,11.03]],["L",[6.12,11.03]],["C",[7.03,11.03,7.76,11.76,7.76,12.67]],["L",[7.76,16.67]],["C",[7.76,17.49,8.32,18.24,9.12,18.37]],["C",[10.14,18.54,11.03,17.75,11.03,16.76]],["L",[11.03,12.67]],["C",[11.03,11.76,11.76,11.03,12.67,11.03]],["L",[16.76,11.03]],["C",[17.75,11.03,18.54,10.15,18.37,9.12]],["C",[18.24,8.31,17.49,7.76,16.67,7.76]]]}},{animations:[{key_frames:{"0":[11.426,11.426]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"10":[82.4953],"35":[93.9736],"57":[94.5591],"67":[94.4953]},property:"X_POSITION",timing_curves:[[[.167,.167],[.833,.833]],[[.167,.167],[.833,.833]],[[.167,.328],[.833,.672]]]},{key_frames:{"10":[67.2903],"35":[27.8988],"57":[-50.2591],"67":[-54.7097]},property:"Y_POSITION",timing_curves:[[[.167,.167],[.833,.833]],[[.167,.167],[.833,.833]],[[.167,.328],[.833,.672]]]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ffea7635",key:7,key_frames:{"0":[["M",[-14.68,59.43]],["L",[-19.57,59.43]],["C",[-20.68,59.43,-21.57,58.53,-21.57,57.43]],["L",[-21.57,52.53]],["C",[-21.57,51.54,-22.26,50.61,-23.24,50.45]],["C",[-24.49,50.25,-25.57,51.21,-25.57,52.43]],["L",[-25.57,57.43]],["C",[-25.57,58.53,-26.47,59.43,-27.57,59.43]],["L",[-32.47,59.43]],["C",[-33.46,59.43,-34.39,60.11,-34.55,61.09]],["C",[-34.75,62.34,-33.79,63.43,-32.57,63.43]],["L",[-27.57,63.43]],["C",[-26.47,63.43,-25.57,64.32,-25.57,65.43]],["L",[-25.57,70.32]],["C",[-25.57,71.32,-24.89,72.24,-23.91,72.4]],["C",[-22.66,72.6,-21.57,71.64,-21.57,70.43]],["L",[-21.57,65.43]],["C",[-21.57,64.32,-20.68,63.43,-19.57,63.43]],["L",[-14.57,63.43]],["C",[-13.36,63.43,-12.4,62.34,-12.6,61.09]],["C",[-12.76,60.11,-13.69,59.43,-14.68,59.43]]]}},{animations:[{key_frames:{"0":[11.426,11.426]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"15":[172.9953],"40":[133.4736],"72":[116.4953]},property:"X_POSITION",timing_curves:[[[.167,.168],[.833,.832]],[[.167,.17],[.833,.83]]]},{key_frames:{"15":[81.7903],"40":[27.8988],"72":[-20.7097]},property:"Y_POSITION",timing_curves:[[[.167,.168],[.833,.832]],[[.167,.17],[.833,.83]]]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ffed8348",key:8,key_frames:{"0":[["M",[-14.68,59.43]],["L",[-19.57,59.43]],["C",[-20.68,59.43,-21.57,58.53,-21.57,57.43]],["L",[-21.57,52.53]],["C",[-21.57,51.54,-22.26,50.61,-23.24,50.45]],["C",[-24.49,50.25,-25.57,51.21,-25.57,52.43]],["L",[-25.57,57.43]],["C",[-25.57,58.53,-26.47,59.43,-27.57,59.43]],["L",[-32.47,59.43]],["C",[-33.46,59.43,-34.39,60.11,-34.55,61.09]],["C",[-34.75,62.34,-33.79,63.43,-32.57,63.43]],["L",[-27.57,63.43]],["C",[-26.47,63.43,-25.57,64.32,-25.57,65.43]],["L",[-25.57,70.32]],["C",[-25.57,71.32,-24.89,72.24,-23.91,72.4]],["C",[-22.66,72.6,-21.57,71.64,-21.57,70.43]],["L",[-21.57,65.43]],["C",[-21.57,64.32,-20.68,63.43,-19.57,63.43]],["L",[-14.57,63.43]],["C",[-13.36,63.43,-12.4,62.34,-12.6,61.09]],["C",[-12.76,60.11,-13.69,59.43,-14.68,59.43]]]}},{animations:[{key_frames:{"0":[11.426,11.426]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"0":[170.4953],"57":[126.4953]},property:"X_POSITION",timing_curves:[[[.167,.167],[.833,.833]]]},{key_frames:{"0":[73.2903],"57":[-73.7097]},property:"Y_POSITION",timing_curves:[[[.167,.167],[.833,.833]]]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ffe65b0e",key:9,key_frames:{"0":[["M",[-14.68,59.43]],["L",[-19.57,59.43]],["C",[-20.68,59.43,-21.57,58.53,-21.57,57.43]],["L",[-21.57,52.53]],["C",[-21.57,51.54,-22.26,50.61,-23.24,50.45]],["C",[-24.49,50.25,-25.57,51.21,-25.57,52.43]],["L",[-25.57,57.43]],["C",[-25.57,58.53,-26.47,59.43,-27.57,59.43]],["L",[-32.47,59.43]],["C",[-33.46,59.43,-34.39,60.11,-34.55,61.09]],["C",[-34.75,62.34,-33.79,63.43,-32.57,63.43]],["L",[-27.57,63.43]],["C",[-26.47,63.43,-25.57,64.32,-25.57,65.43]],["L",[-25.57,70.32]],["C",[-25.57,71.32,-24.89,72.24,-23.91,72.4]],["C",[-22.66,72.6,-21.57,71.64,-21.57,70.43]],["L",[-21.57,65.43]],["C",[-21.57,64.32,-20.68,63.43,-19.57,63.43]],["L",[-14.57,63.43]],["C",[-13.36,63.43,-12.4,62.34,-12.6,61.09]],["C",[-12.76,60.11,-13.69,59.43,-14.68,59.43]]]}},{animations:[{key_frames:{"0":[11.426,11.426]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"-10":[172.4953],"47":[132.2453],"57":[119.4953]},property:"X_POSITION",timing_curves:[[[.167,.167],[.833,.833]],[[.167,.167],[.833,.833]]]},{key_frames:{"-10":[72.7903],"47":[-16.2097],"57":[-56.7097]},property:"Y_POSITION",timing_curves:[[[.167,.167],[.833,.833]],[[.167,.167],[.833,.833]]]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ffe65b0e",key:10,key_frames:{"0":[["M",[-14.68,59.43]],["L",[-19.57,59.43]],["C",[-20.68,59.43,-21.57,58.53,-21.57,57.43]],["L",[-21.57,52.53]],["C",[-21.57,51.54,-22.26,50.61,-23.24,50.45]],["C",[-24.49,50.25,-25.57,51.21,-25.57,52.43]],["L",[-25.57,57.43]],["C",[-25.57,58.53,-26.47,59.43,-27.57,59.43]],["L",[-32.47,59.43]],["C",[-33.46,59.43,-34.39,60.11,-34.55,61.09]],["C",[-34.75,62.34,-33.79,63.43,-32.57,63.43]],["L",[-27.57,63.43]],["C",[-26.47,63.43,-25.57,64.32,-25.57,65.43]],["L",[-25.57,70.32]],["C",[-25.57,71.32,-24.89,72.24,-23.91,72.4]],["C",[-22.66,72.6,-21.57,71.64,-21.57,70.43]],["L",[-21.57,65.43]],["C",[-21.57,64.32,-20.68,63.43,-19.57,63.43]],["L",[-14.57,63.43]],["C",[-13.36,63.43,-12.4,62.34,-12.6,61.09]],["C",[-12.76,60.11,-13.69,59.43,-14.68,59.43]]]}},{animations:[{key_frames:{"0":[6.346,6.346]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"-63":[130.3209],"-5":[113.8209],"7":[112.3209]},property:"X_POSITION",timing_curves:[[[.167,.167],[.833,.833]],[[.167,.167],[.833,.833]]]},{key_frames:{"-63":[153.9508],"-5":[49.9508],"7":[-5.5492]},property:"Y_POSITION",timing_curves:[[[.167,.167],[.833,.833]],[[.167,.167],[.833,.833]]]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ffe65b0e",key:11,key_frames:{"0":[["M",[11.2,5.26]],["L",[8.53,5.26]],["C",[7.93,5.26,7.44,4.77,7.44,4.16]],["L",[7.44,1.5]],["C",[7.44,.95,7.07,.45,6.53,.36]],["C",[5.85,.25,5.25,.77,5.25,1.44]],["L",[5.25,4.16]],["C",[5.25,4.77,4.77,5.26,4.16,5.26]],["L",[1.5,5.26]],["C",[.95,5.26,.45,5.63,.36,6.16]],["C",[.25,6.85,.78,7.44,1.44,7.44]],["L",[4.16,7.44]],["C",[4.77,7.44,5.25,7.93,5.25,8.53]],["L",[5.25,11.2]],["C",[5.25,11.74,5.63,12.24,6.16,12.33]],["C",[6.85,12.44,7.44,11.92,7.44,11.26]],["L",[7.44,8.53]],["C",[7.44,7.93,7.93,7.44,8.53,7.44]],["L",[11.26,7.44]],["C",[11.92,7.44,12.44,6.85,12.33,6.16]],["C",[12.24,5.63,11.74,5.26,11.2,5.26]]]}}],frameCount:60,frameRate:24,groups:[],size:{height:177,width:177}},PLANE:{features:[{animations:[{key_frames:{"0":[11.426,11.426]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"0":[108.8112]},property:"X_POSITION",timing_curves:[]},{key_frames:{"0":[26.01]},property:"Y_POSITION",timing_curves:[]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ff4080ff",key:0,key_frames:{"0":[["M",[20.32,9.43]],["L",[15.43,9.43]],["C",[14.32,9.43,13.43,8.53,13.43,7.43]],["L",[13.43,2.53]],["C",[13.43,1.54,12.74,.61,11.76,.45]],["C",[10.51,.25,9.43,1.21,9.43,2.43]],["L",[9.43,7.43]],["C",[9.43,8.53,8.53,9.43,7.43,9.43]],["L",[2.53,9.43]],["C",[1.54,9.43,.61,10.11,.45,11.09]],["C",[.25,12.34,1.21,13.43,2.43,13.43]],["L",[7.43,13.43]],["C",[8.53,13.43,9.43,14.32,9.43,15.43]],["L",[9.43,20.32]],["C",[9.43,21.32,10.11,22.24,11.09,22.4]],["C",[12.34,22.6,13.43,21.64,13.43,20.43]],["L",[13.43,15.43]],["C",[13.43,14.32,14.32,13.43,15.43,13.43]],["L",[20.43,13.43]],["C",[21.64,13.43,22.6,12.34,22.4,11.09]],["C",[22.24,10.11,21.31,9.43,20.32,9.43]]]}},{animations:[{key_frames:{"0":[6.346,6.346]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"0":[25.3376]},property:"X_POSITION",timing_curves:[]},{key_frames:{"0":[55.4508]},property:"Y_POSITION",timing_curves:[]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ff4080ff",key:1,key_frames:{"0":[["M",[11.2,5.26]],["L",[8.53,5.26]],["C",[7.93,5.26,7.44,4.77,7.44,4.16]],["L",[7.44,1.5]],["C",[7.44,.95,7.07,.45,6.53,.36]],["C",[5.85,.25,5.25,.77,5.25,1.44]],["L",[5.25,4.16]],["C",[5.25,4.77,4.77,5.26,4.16,5.26]],["L",[1.5,5.26]],["C",[.95,5.26,.45,5.63,.36,6.16]],["C",[.25,6.85,.78,7.44,1.44,7.44]],["L",[4.16,7.44]],["C",[4.77,7.44,5.25,7.93,5.25,8.53]],["L",[5.25,11.2]],["C",[5.25,11.74,5.63,12.24,6.16,12.33]],["C",[6.85,12.44,7.44,11.92,7.44,11.26]],["L",[7.44,8.53]],["C",[7.44,7.93,7.93,7.44,8.53,7.44]],["L",[11.26,7.44]],["C",[11.92,7.44,12.44,6.85,12.33,6.16]],["C",[12.24,5.63,11.74,5.26,11.2,5.26]]]}},{animations:[{key_frames:{"0":[8.3781,8.3785]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"0":[147.7472]},property:"X_POSITION",timing_curves:[]},{key_frames:{"0":[84.5555]},property:"Y_POSITION",timing_curves:[]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ff4080ff",key:2,key_frames:{"0":[["M",[14.85,6.92]],["L",[11.29,6.92]],["C",[10.48,6.92,9.83,6.27,9.83,5.47]],["L",[9.83,1.91]],["C",[9.83,1.19,9.34,.51,8.62,.4]],["C",[7.71,.25,6.92,.95,6.92,1.83]],["L",[6.92,5.47]],["C",[6.92,6.27,6.27,6.92,5.47,6.92]],["L",[1.91,6.92]],["C",[1.19,6.92,.51,7.42,.4,8.13]],["C",[.25,9.05,.95,9.83,1.83,9.83]],["L",[5.47,9.83]],["C",[6.27,9.83,6.92,10.48,6.92,11.29]],["L",[6.92,14.85]],["C",[6.92,15.57,7.42,16.24,8.13,16.36]],["C",[9.04,16.51,9.83,15.81,9.83,14.92]],["L",[9.83,11.29]],["C",[9.83,10.48,10.48,9.83,11.29,9.83]],["L",[14.92,9.83]],["C",[15.81,9.83,16.51,9.05,16.36,8.13]],["C",[16.24,7.42,15.57,6.92,14.85,6.92]]]}},{animations:[{key_frames:{"0":[9.3945,9.3945]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"0":[88.4996]},property:"X_POSITION",timing_curves:[]},{key_frames:{"0":[146.6821]},property:"Y_POSITION",timing_curves:[]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ff4080ff",key:3,key_frames:{"0":[["M",[16.67,7.76]],["L",[12.67,7.76]],["C",[11.76,7.76,11.03,7.03,11.03,6.12]],["L",[11.03,2.12]],["C",[11.03,1.3,10.47,.55,9.67,.42]],["C",[8.64,.25,7.76,1.04,7.76,2.03]],["L",[7.76,6.12]],["C",[7.76,7.03,7.03,7.76,6.12,7.76]],["L",[2.12,7.76]],["C",[1.3,7.76,.55,8.31,.42,9.12]],["C",[.25,10.15,1.04,11.03,2.03,11.03]],["L",[6.12,11.03]],["C",[7.03,11.03,7.76,11.76,7.76,12.67]],["L",[7.76,16.67]],["C",[7.76,17.49,8.32,18.24,9.12,18.37]],["C",[10.14,18.54,11.03,17.75,11.03,16.76]],["L",[11.03,12.67]],["C",[11.03,11.76,11.76,11.03,12.67,11.03]],["L",[16.76,11.03]],["C",[17.75,11.03,18.54,10.15,18.37,9.12]],["C",[18.24,8.31,17.49,7.76,16.67,7.76]]]}},{animations:[{key_frames:{"0":[8.3781,8.3785]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"0":[145.3978]},property:"X_POSITION",timing_curves:[]},{key_frames:{"0":[132.1517]},property:"Y_POSITION",timing_curves:[]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ff4080ff",key:4,key_frames:{"0":[["M",[14.85,6.92]],["L",[11.29,6.92]],["C",[10.48,6.92,9.83,6.27,9.83,5.47]],["L",[9.83,1.91]],["C",[9.83,1.19,9.34,.51,8.62,.4]],["C",[7.71,.25,6.92,.95,6.92,1.83]],["L",[6.92,5.47]],["C",[6.92,6.27,6.27,6.92,5.47,6.92]],["L",[1.91,6.92]],["C",[1.19,6.92,.51,7.42,.4,8.13]],["C",[.25,9.05,.95,9.83,1.83,9.83]],["L",[5.47,9.83]],["C",[6.27,9.83,6.92,10.48,6.92,11.29]],["L",[6.92,14.85]],["C",[6.92,15.57,7.42,16.24,8.13,16.36]],["C",[9.04,16.51,9.83,15.81,9.83,14.92]],["L",[9.83,11.29]],["C",[9.83,10.48,10.48,9.83,11.29,9.83]],["L",[14.92,9.83]],["C",[15.81,9.83,16.51,9.05,16.36,8.13]],["C",[16.24,7.42,15.57,6.92,14.85,6.92]]]}},{animations:[{key_frames:{"0":[8.3781,8.3785]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"0":[77.7472]},property:"X_POSITION",timing_curves:[]},{key_frames:{"0":[69.5555]},property:"Y_POSITION",timing_curves:[]},{key_frames:{"0":[98.6135,98.6135]},property:"SCALE",timing_curves:[]}],fill_color:"#ff4080ff",key:5,key_frames:{"0":[["M",[14.85,6.92]],["L",[11.29,6.92]],["C",[10.48,6.92,9.83,6.27,9.83,5.47]],["L",[9.83,1.91]],["C",[9.83,1.19,9.34,.51,8.62,.4]],["C",[7.71,.25,6.92,.95,6.92,1.83]],["L",[6.92,5.47]],["C",[6.92,6.27,6.27,6.92,5.47,6.92]],["L",[1.91,6.92]],["C",[1.19,6.92,.51,7.42,.4,8.13]],["C",[.25,9.05,.95,9.83,1.83,9.83]],["L",[5.47,9.83]],["C",[6.27,9.83,6.92,10.48,6.92,11.29]],["L",[6.92,14.85]],["C",[6.92,15.57,7.42,16.24,8.13,16.36]],["C",[9.04,16.51,9.83,15.81,9.83,14.92]],["L",[9.83,11.29]],["C",[9.83,10.48,10.48,9.83,11.29,9.83]],["L",[14.92,9.83]],["C",[15.81,9.83,16.51,9.05,16.36,8.13]],["C",[16.24,7.42,15.57,6.92,14.85,6.92]]]}},{animations:[{key_frames:{"0":[88.5,88.5]},property:"ANCHOR_POINT",timing_curves:[]},{key_frames:{"0":[-79.6094],"120":[256.875]},property:"X_POSITION",timing_curves:[[[.167,.167],[.833,.833]]]},{key_frames:{"0":[256.6094],"120":[-80.125]},property:"Y_POSITION",timing_curves:[[[.167,.167],[.833,.833]]]},{key_frames:{"0":[90,90]},property:"SCALE",timing_curves:[]}],key:6,key_frames:{}}],frameCount:120,frameRate:24,groups:[],size:{height:177,width:177}}};}),null);
  __d("VideoAssetInsightsEvents",[],(function a(b,c,d,e,f,g){f.exports={PAGE_LOAD_STARTED:"page_load_started",PAGE_LOADED:"page_loaded",PAGE_LOAD_FAILED:"page_load_failed",JS_LOADED:"js_loaded",VIDEO_ASSET_VIDEO_PLAYED:"video_asset_video_played",VIDEO_ASSET_VIDEO_LOADED:"video_asset_video_loaded",VIDEO_ASSET_METRICS_LOADED:"video_asset_metrics_loaded",METRIC_CARD_DISPLAYED:"metric_card_displayed",AUDIENCE_RETENTION_BREAKDOWN_AUTO_AND_CLICKED_TO_PLAY:"audience_retention_breakdown_auto_and_clicked_to_play",DAILY_MINUTES_VIEWED_BREAKDOWN_ORGANIC_PAID:"daily_minutes_viewed_breakdown_organic_paid",DAILY_VIEWS_BREAKDOWN_ORGANIC_PAID:"daily_views_breakdown_organic_paid",POST_ROW_CLICKED:"post_row_clicked",POST_EDIT_CLICKED:"post_edit_clicked",CREATE_NEW_POST_CLICKED:"create_new_post_clicked",METRIC_CARDS_NAVIGATOR_CLICKED:"metric_cards_navigator_clicked",BACK_BUTTON_TO_TOTAL_METRICS_CLICKED:"back_button_to_total_metrics_clicked",POST_INSIGHTS_API_REQUEST_STARTED:"post_insights_api_request_started",POST_INSIGHTS_API_REQUEST_COMPLETED:"post_insights_api_request_completed",POST_INSIGHTS_API_REQUEST_FAILED:"post_insights_api_request_failed",ASSET_INSIGHTS_API_REQUEST_STARTED:"asset_insights_api_request_started",ASSET_INSIGHTS_API_REQUEST_COMPLETED:"asset_insights_api_request_completed",ASSET_INSIGHTS_API_REQUEST_FAILED:"asset_insights_api_request_failed",ASSET_AD_INSIGHTS_API_REQUEST_STARTED:"asset_ad_insights_api_request_started",ASSET_AD_INSIGHTS_API_REQUEST_COMPLETED:"asset_ad_insights_api_request_completed",ASSET_AD_INSIGHTS_API_REQUEST_FAILED:"asset_ad_insights_api_request_failed",ASSET_MENTIONS_INSIGHTS_API_REQUEST_STARTED:"asset_mentions_insights_api_request_started",ASSET_MENTIONS_INSIGHTS_API_REQUEST_COMPLETED:"asset_mentions_insights_api_request_completed",ASSET_MENTIONS_INSIGHTS_API_REQUEST_FAILED:"asset_mentions_insights_api_request_failed",CREATE_NEW_POST_LOADED:"create_new_post_loaded",POST_TAB_CLICKED:"post_tab_clicked",FIXED_TIME_OFFSET_IN_TIMESLICES:"fixed_time_offset_in_timeslices"};}),null);
  __d("VideoAssetInsightsMetricCards",[],(function a(b,c,d,e,f,g){f.exports={TOTAL_VIDEO_PERFORMANCE:"total_video_performance",REACH:"reach",VIDEO_VIEWS:"video_views",VIDEO_VIEWS_30S:"video_views_30s",VIDEO_VIEWS_10S:"video_views_10s",UNIQUE_VIEWERS:"unique_viewers",ENGAGEMENT:"engagement",REACTIONS_COMMENTS_SHARES:"reactions_comments_shares",POST_ENGAGEMENT:"post_engagement",VIDEO_ENGAGEMENT:"video_engagement",AUDIENCE_RETENTION:"audience_retention",MINUTES_VIEWED:"minutes_viewed",BROADCAST_VIEWERS:"broadcast_viewers",HEATMAP_360:"heatmap_360",MAX_CONCURRENT_VIEWERS:"max_concurrent_viewers",NEW_SUBSCRIBERS:"new_subscribers",AUDIENCE_AND_ENGAGEMENT:"audience_and_engagement",TOP_AUDIENCE:"top_audience",TOP_LOCATION:"top_location",FOLLOWERS:"followers",MONEY_EARNED:"money_earned",LIVE_BROADCAST_REVENUE:"live_broadcast_revenue",VIDEO_REPLAY_REVENUE:"video_replay_revenue"};}),null);
  __d("VideoAssetInsightsSource",[],(function a(b,c,d,e,f,g){f.exports={UNKNOWN:"unknown",VIDEO_LIBRARY:"video_library",PUBLISHED_POSTS:"published_posts",EXPIRING_POSTS:"expiring_posts",EXPIRED_POSTS:"expired_posts",ADS_POSTS:"ads_posts",VIDEO_PERMALINK:"video_permalink",PAGE_OVERVIEW_INSIGHTS:"page_overview_insights",PAGE_POST_INSIGHTS:"page_post_insights",PAGE_VIDEO_INSIGHTS:"page_video_insights",PAGE_BRANDED_CONTENT_INSIGHTS:"page_branded_content_insights",SNOWLIFT:"snowlift",VIDEO_ASSET_EDIT_SELECTOR:"video_asset_edit_selector",OLD_POST_INSIGHTS_VIDEO_TAB:"old_post_insights_video_tab",PAGES_POST_REACH_BAR:"pages_post_reach_bar",LIVE_VIDEO_INSIGHTS:"live_video_insights",ASSET_INSPECTOR:"asset_inspector"};}),null);
  __d("VideoAssetWaterfallEvent",[],(function a(b,c,d,e,f,g){f.exports={UI_EDIT_SELECTOR_OPEN:"ui.edit_selector_open",UI_EDIT_SELECTOR_CHOICE:"ui.edit_selector_choice",UI_NEW_POST_FROM_ASSET_START:"ui.new_post_from_asset_start",UI_NEW_POST_FROM_ASSET_FINISH:"ui.new_post_from_asset_finish",UI_NEW_POST_FROM_ASSET_FAILURE:"ui.new_post_from_asset_failure",UI_NEW_POST_FROM_ASSET_CAPTIONS_FAILURE:"ui.new_post_from_asset_captions_failure",UI_POST_DELETE_SELECTION:"ui.post_delete_selection",UI_POST_DELETE_START:"ui.post_delete_start",UI_POST_DELETE_FINISH:"ui.post_delete_finish",UI_POST_DELETE_FAILURE:"ui.post_delete_failure",UI_POST_EXPIRE_SELECTION:"ui.post_expire_selection",UI_POST_EXPIRE_START:"ui.post_expire_start",UI_POST_EXPIRE_FINISH:"ui.post_expire_finish",UI_POST_EXPIRE_FAILURE:"ui.post_expire_failure",POST_EXPIRE_START:"post_expire_start",POST_EXPIRE_FINISH:"post_expire_finish",POST_EXPIRE_FAILURE:"post_expire_failure",UI_ASSET_EXPIRE_REMOVE_SHARING_START:"ui.asset_expire_remove_sharing_start",UI_ASSET_EXPIRE_REMOVE_SHARING_FINISH:"ui.asset_expire_remove_sharing_finish",UI_ASSET_EXPIRE_REMOVE_SHARING_FAILURE:"ui.asset_expire_remove_sharing_failure",ASSET_EXPIRE_REMOVE_SHARING_START:"asset_expire_remove_sharing_start",ASSET_EXPIRE_REMOVE_SHARING_FINISH:"asset_expire_remove_sharing_finish",ASSET_EXPIRE_REMOVE_SHARING_FAILURE:"asset_expire_remove_sharing_failure",ASSET_ENABLE_SHARING_START:"asset_enable_sharing_start",ASSET_ENABLE_SHARING_FINISH:"asset_enable_sharing_finish",ASSET_ENABLE_SHARING_FAILURE:"asset_enable_sharing_failure",ASSET_REMOVE_SHARING_START:"asset_remove_sharing_start",ASSET_REMOVE_SHARING_FINISH:"asset_remove_sharing_finish",ASSET_REMOVE_SHARING_FAILURE:"asset_remove_sharing_failure",UI_POST_PUBLISH_START:"ui.post_publish_start",UI_POST_PUBLISH_FINISH:"ui.post_publish_finish",UI_POST_PUBLISH_FAILURE:"ui.post_publish_failure",POST_PUBLISH_START:"post_publish_start",POST_PUBLISH_FINISH:"post_publish_finish",POST_PUBLISH_FAILURE:"post_publish_failure",UI_POST_SCHEDULE_START:"ui.post_schedule_start",UI_POST_SCHEDULE_FINISH:"ui.post_schedule_finish",UI_POST_SCHEDULE_FAILURE:"ui.post_schedule_failure",POST_SCHEDULE_START:"post_schedule_start",POST_SCHEDULE_FINISH:"post_schedule_finish",POST_SCHEDULE_FAILURE:"post_schedule_failure",ASSET_ENABLE_SHARING_WITH_BUSINESS_START:"asset_enable_sharing_with_business_start",ASSET_ENABLE_SHARING_WITH_PAGE_START:"asset_enable_sharing_with_page_start",ASSET_REMOVE_SHARING_WITH_BUSINESS_START:"asset_remove_sharing_with_business_start",ASSET_REMOVE_SHARING_WITH_PAGE_START:"asset_remove_sharing_with_page_start",ASSET_ENABLE_SHARING_WITH_BUSINESS_FINISH:"asset_enable_sharing_with_business_finish",ASSET_ENABLE_SHARING_WITH_PAGE_FINISH:"asset_enable_sharing_with_page_finish",ASSET_REMOVE_SHARING_WITH_BUSINESS_FINISH:"asset_remove_sharing_with_business_finish",ASSET_REMOVE_SHARING_WITH_PAGE_FINISH:"asset_remove_sharing_with_page_finish",ASSET_UPDATE_CROSSPOSTING_CONFIG_FAILURE:"asset_update_crossposting_config_failure",INVALID_CROSSPOSTING_CONFIG:"invalid_crossposting_config",ASSET_ADD_VIDEO_CAPTION:"asset_add_video_caption",VIDEO_SOFT_DELETE_CAPTION_ON_ASSET:"video_soft_delete_caption_on_asset"};}),null);
  __d("VideoBroadcastAPIStatus",[],(function a(b,c,d,e,f,g){f.exports={UNPUBLISHED:"UNPUBLISHED",LIVE:"LIVE",LIVE_STOPPED:"LIVE_STOPPED",PROCESSING:"PROCESSING",VOD:"VOD",SCHEDULED_UNPUBLISHED:"SCHEDULED_UNPUBLISHED",SCHEDULED_LIVE:"SCHEDULED_LIVE",SCHEDULED_EXPIRED:"SCHEDULED_EXPIRED",SCHEDULED_CANCELED:"SCHEDULED_CANCELED"};}),null);
  __d("VideoContainerType",[],(function a(b,c,d,e,f,g){f.exports={LEGACY:0,CONTAINED_POST_ATTACHMENT:1,SAY_THANKS_DEPRECATED:2,LOOK_NOW_DEPRECATED:3,BROADCAST:4,ALBUM_MULTIMEDIA_POST:5,UNLISTED:6,NO_STORY:7,GOODWILL_ANNIVERSARY_DEPRECATED:8,PROFILE_VIDEO:9,DIRECT_INBOX:10,DIRECT_INBOX_REACTION:11,STORYLINE:12,GROUP_POST:14,ATLAS_VIDEO:15,LIVE_PHOTO:16,TEMP_MULTIMEDIA_POST:17,GOODWILL_ANNIVERSARY_PROMOTION_DEPRECATED:18,GOODWILL_VIDEO_SHARE:19,GOODWILL_VIDEO_PROMOTION:20,COPYRIGHT_REFERENCE_VIDEO:21,CANVAS:22,MOMENTS_VIDEO:23,APP_REVIEW_SCREENCAST:25,VIDEO_COMMENT:26,COPYRIGHT_REFERENCE_BROADCAST:27,OFFERS_VIDEO:28,JOB_APPLICATION_VIDEO:29,STORYLINE_WITH_EXTERNAL_MUSIC:30,JOB_OPENING_VIDEO:31,PAGE_SLIDESHOW_VIDEO:32,INSTANT_ARTICLE:33,PRODUCT_VIDEO:34,DIRECTED_POST_ATTACHMENT:35,PROFILE_INTRO_CARD:36,ISSUE_MODULE:37,GOODWILL_VIDEO_TOKEN_REQUIRED:38,INSTANT_APPLICATION_PREVIEW:39,REPLACE_VIDEO:40,FACECAST_DVR:41,PIXELCLOUD:42,SLIDESHOW_SHAKR:43,INSPIRATION_VIDEO:44,TAROT_DIGEST:45,SLIDESHOW_ANIMOTO:46,AUDIO_BROADCAST:47,LEARN:48,CULTURAL_MOMENT_DEPRECATED:49,YOUR_DAY:50,PAGES_COVER_VIDEO:51,PAGE_TRAILER:53,GOODWILL_VIDEO_CONTAINED_SHARE:54,DCO_AD_ASSET_FEED:55};}),null);
  __d("VideoContainerTypeInVideoLibrary",[],(function a(b,c,d,e,f,g){f.exports={LEGACY:"LEGACY",CONTAINED_POST_ATTACHMENT:"CONTAINED_POST_ATTACHMENT",SAY_THANKS_DEPRECATED:"SAY_THANKS_DEPRECATED",LOOK_NOW_DEPRECATED:"LOOK_NOW_DEPRECATED",BROADCAST:"BROADCAST",ALBUM_MULTIMEDIA_POST:"ALBUM_MULTIMEDIA_POST",UNLISTED:"UNLISTED",NO_STORY:"NO_STORY",GOODWILL_ANNIVERSARY_DEPRECATED:"GOODWILL_ANNIVERSARY_DEPRECATED",PROFILE_VIDEO:"PROFILE_VIDEO",DIRECT_INBOX:"DIRECT_INBOX",DIRECT_INBOX_REACTION:"DIRECT_INBOX_REACTION",STORYLINE:"STORYLINE",GROUP_POST:"GROUP_POST",ATLAS_VIDEO:"ATLAS_VIDEO",LIVE_PHOTO:"LIVE_PHOTO",TEMP_MULTIMEDIA_POST:"TEMP_MULTIMEDIA_POST",GOODWILL_ANNIVERSARY_PROMOTION_DEPRECATED:"GOODWILL_ANNIVERSARY_PROMOTION_DEPRECATED",GOODWILL_VIDEO_SHARE:"GOODWILL_VIDEO_SHARE",GOODWILL_VIDEO_PROMOTION:"GOODWILL_VIDEO_PROMOTION",MOMENTS_VIDEO:"MOMENTS_VIDEO",APP_REVIEW_SCREENCAST:"APP_REVIEW_SCREENCAST",VIDEO_COMMENT:"VIDEO_COMMENT",OFFERS_VIDEO:"OFFERS_VIDEO",JOB_APPLICATION_VIDEO:"JOB_APPLICATION_VIDEO",STORYLINE_WITH_EXTERNAL_MUSIC:"STORYLINE_WITH_EXTERNAL_MUSIC",JOB_OPENING_VIDEO:"JOB_OPENING_VIDEO",INSTANT_ARTICLE:"INSTANT_ARTICLE",PRODUCT_VIDEO:"PRODUCT_VIDEO",DIRECTED_POST_ATTACHMENT:"DIRECTED_POST_ATTACHMENT",PROFILE_INTRO_CARD:"PROFILE_INTRO_CARD",ISSUE_MODULE:"ISSUE_MODULE",GOODWILL_VIDEO_TOKEN_REQUIRED:"GOODWILL_VIDEO_TOKEN_REQUIRED",INSTANT_APPLICATION_PREVIEW:"INSTANT_APPLICATION_PREVIEW",REPLACE_VIDEO:"REPLACE_VIDEO",FACECAST_DVR:"FACECAST_DVR",PIXELCLOUD:"PIXELCLOUD",SLIDESHOW_SHAKR:"SLIDESHOW_SHAKR",INSPIRATION_VIDEO:"INSPIRATION_VIDEO",TAROT_DIGEST:"TAROT_DIGEST",SLIDESHOW_ANIMOTO:"SLIDESHOW_ANIMOTO",LEARN:"LEARN",CULTURAL_MOMENT_DEPRECATED:"CULTURAL_MOMENT_DEPRECATED",YOUR_DAY:"YOUR_DAY",PAGES_COVER_VIDEO:"PAGES_COVER_VIDEO",PAGE_TRAILER:"PAGE_TRAILER",GOODWILL_VIDEO_CONTAINED_SHARE:"GOODWILL_VIDEO_CONTAINED_SHARE",DCO_AD_ASSET_FEED:"DCO_AD_ASSET_FEED"};}),null);
  __d("VideoCopyrightDisputeGraphFields",[],(function a(b,c,d,e,f,g){f.exports={ID:"id",DISPUTE_TYPE:"dispute_type",VIDEO_COPYRIGHT_MATCH_ID:"video_copyright_match_id",VIDEO_COPYRIGHT_ID:"video_copyright_id",VIDEO_COPYRIGHT_POLICY_ID:"video_copyright_policy_id",MATCHED_VIDEO_ID:"matched_video_id",REFERENCE_VIDEO_ID:"reference_video_id",MATCHED_OWNER_ID:"matched_owner_id",REFERENCE_OWNER_ID:"reference_owner_id",TIME_CREATED:"time_created",TIME_UPDATED:"time_updated",TIME_APPEALED:"time_appealed",CREATOR_ID:"creator_id",EXPIRATION_TIME:"expiration_time",APPEAL_FORM_DATA:"appeal_form_data",DISPUTE_FORM_DATA:"dispute_form_data",STATUS:"status"};}),null);
  __d("VideoCopyrightGraphFields",[],(function a(b,c,d,e,f,g){f.exports={ID:"id",REFERENCE_OWNER_ID:"reference_owner_id",REFERENCE_FILE:"reference_file",MONITORING_TYPE:"monitoring_type",NEW_MATCHES_COUNT:"new_matches_count",COPYRIGHT_CONTENT_ID:"copyright_content_id",RULE_IDS:"rule_ids",WHITELISTED_IDS:"whitelisted_ids",OWNERSHIP_COUNTRIES:"ownership_countries",MONITORING_STATUS:"monitoring_status",CREATOR:"creator"};}),null);
  __d("VideoCopyrightMatchAuditLogEntryGraphFields",[],(function a(b,c,d,e,f,g){f.exports={TIMESTAMP:"timestamp",USER_NAME:"user_name",MATCH_STATE:"match_state",APPLIED_ACTIONS:"applied_actions"};}),null);
  __d("VideoCopyrightMatchComparisonSource",[],(function a(b,c,d,e,f,g){f.exports={DASHBOARD:"dashboard",PERMALINK:"permalink",REPORT:"report",OCR:"ocr"};}),null);
  __d("VideoCopyrightMatchDataGraphFields",[],(function a(b,c,d,e,f,g){f.exports={ID:"id",VIDEO_COPYRIGHT_ID:"video_copyright_id",VIDEO_MATCH_SEGMENTS:"video_matched_segments",AUDIO_MATCH_SEGMENTS:"audio_matched_segments",TOTAL_MATCH_DURATION:"total_match_duration",REFERENCE_ASSET:"reference_asset",MONITORING_TYPE:"monitoring_type",MATCH_RULE:"match_rule"};}),null);
  __d("VideoCopyrightMatchGraphFields",[],(function a(b,c,d,e,f,g){f.exports={ID:"id",REFERENCE_OWNER_ID:"reference_owner_id",MATCHED_OWNER_ID:"matched_owner_id",MATCH_STATUS:"match_status",ACTIVE_MATCH_DATA_ID:"active_match_data_id",MATCHED_VIDEO_ASSET:"matched_video_asset",EXPIRATION_DAYS:"expiration_days",LAST_MODIFIED_USER:"last_modified_user",LAST_MODIFIED_TIME:"last_modified_time",AUDIT_LOG:"audit_log",IS_VIEWED:"is_viewed",NOTES:"notes",ADDED_TO_DASHBOARD_TIME:"added_to_dashboard_time",DISPUTE:"dispute",APPLIED_ACTIONS:"applied_actions",ACTION_REQUIRING_MANUAL_REVIEW:"action_requiring_manual_review",MATCH_DATA:"match_data",REVIEW_REPORT_ID:"review_report_id",OWNERSHIP_COUNTRIES:"ownership_countries"};}),null);
  __d("VideoCopyrightMatchGraphFilterFields",[],(function a(b,c,d,e,f,g){f.exports={MATCHED_VIDEO_TITLE_OR_DESC:"matched_video_title_or_description",MATCHED_VIDEO_DATE_PUBLISHED:"matched_video_date_published",MATCHED_VIDEO_VIEWS:"matched_video_views",OVERLAP_DURATION:"overlap_duration",MATCHED_VIDEO_DURATION:"matched_video_duration",SUMMARY:"summary",REFERENCE_VIDEO_TITLE_OR_DESC:"reference_video_title_or_description",STATIC_REFERENCE_VIDEO_ID:"static_reference_video_id",STATIC_MATCHED_OWNER_ID:"static_matched_owner_id",REVIEW_REPORT_ID:"review_report_id",PUBLISHER_TYPE:"publisher_type",MONITORING_TYPE:"monitoring_type",LIVE_STATUS:"live_status",LAST_MODIFIED_DATE:"last_modified_date",CONTAINS_AD_BREAKS:"contains_ad_breaks"};}),null);
  __d("VideoCopyrightMatchStatus",[],(function a(b,c,d,e,f,g){f.exports={NEW_MATCH:"NEW_MATCH",REPORTED_MATCH:"REPORTED_MATCH",ALLOWED:"ALLOWED",ADDED_MATCH:"ADDED_MATCH",REMOVED:"REMOVED",IN_DISPUTE:"IN_DISPUTE",BLOCKED:"BLOCKED",ACQUIRED:"ACQUIRED",TRACKED:"TRACKED",MANUAL_REVIEW:"MANUAL_REVIEW",OTHER:"OTHER"};}),null);
  __d("VideoCopyrightRuleActionType",[],(function a(b,c,d,e,f,g){f.exports={ALLOW:"ALLOW",MANUAL_REVIEW:"MANUAL_REVIEW",TRACK:"TRACK",BLOCK:"BLOCK",TAKEDOWN:"TAKEDOWN",ACQUIRE_VIEWS:"ACQUIRE_VIEWS",MONETIZE:"MONETIZE",ACQUIRE_VIEWS_AND_MONETIZE:"ACQUIRE_VIEWS_AND_MONETIZE"};}),null);
  __d("VideoCopyrightRuleGraphFields",[],(function a(b,c,d,e,f,g){f.exports={ID:"id",NAME:"name",MIGRATION_RULE_ID:"migration_rule_id",COPYRIGHTS:"copyrights",CONDITION_GROUPS:"condition_groups",CREATOR:"creator",CREATED_DATE:"created_date",COPYRIGHTS_COUNT:"copyrights_count",MATCHES_COUNT:"matches_count",ACTION:"action",CONDITIONS:"conditions",TYPE:"type",OPERATOR:"operator",VALUE:"value"};}),null);
  __d("VideoCopyrightVideoAssetGraphFields",[],(function a(b,c,d,e,f,g){f.exports={COMMENT_COUNT:"comment_count",DESCRIPTION:"description",HEIGHT:"height",ID:"id",LIVE_STATUS:"live_status",IS_PRIVATE:"is_private",DURATION_IN_SEC:"duration_in_sec",FOLLOWERS_COUNT:"followers_count",LIKE_COUNT:"like_count",OWNER_NAME:"owner_name",OWNER_PICTURE_URL:"owner_picture_url",OWNER_URL:"owner_url",PERMALINK_URL:"permalink_url",PUBLISHED_TIME:"published_time",SHARE_COUNT:"share_count",STATUS:"status",THUMBNAIL_URL:"thumbnail_url",THUMBNAIL_URL_WHILE_ENCODING:"thumbnail_url_while_encoding",TITLE:"title",VIEW_COUNT:"view_count",WIDTH:"width",PRIVACY_EXPLANATION:"privacy_explanation",AD_BREAK_OFFSETS_IN_MS:"ad_break_offsets_in_ms",MONETIZING_OWNER_COUNT:"monetizing_owner_count"};}),null);
  __d("VideoInsightsContext",[],(function a(b,c,d,e,f,g){f.exports={VIDEO_ASSET:"video_asset",VIDEO_POST:"video_post",LIVE_VIDEO:"live_video",REFERENCE_LIVE_VIDEO:"reference_live_video"};}),null);
  __d("VideoInsightsWebdriverTestDataIDs",[],(function a(b,c,d,e,f,g){f.exports={METRICS_HEADER:"metrics_header",EXPORT_LINK:"export_link",EXPORT_BUTTON:"export_button",EXPORT_MESSAGE:"export_message"};}),null);
  __d("VideoPublishingState",[],(function a(b,c,d,e,f,g){f.exports={DRAFT:"draft",EXPIRED:"expired",EXPIRING:"expiring",LIVE:"live",MIXED:"mixed",PUBLISHED:"published",SCHEDULED:"scheduled",UNKNOWN:"unknown",UNPUBLISHED:"unpublished"};}),null);
  __d("VideoReferenceMatchGraphFields",[],(function a(b,c,d,e,f,g){f.exports={ID:"id",REFERENCE_OWNER_ID:"reference_owner_id",REFERENCE_OWNER_NAME:"reference_owner_name",REFERENCE_COPYRIGHT:"reference_copyright",MATCHED_REFERENCE_OWNER_ID:"matched_reference_owner_id",MATCHED_REFERENCE_OWNER_NAME:"matched_reference_owner_name",MATCHED_REFERENCE_COPYRIGHT:"matched_reference_copyright",MATCH_STATE:"match_state",MATCH_DATA:"match_data",MODIFICATION_HISTORY:"modification_history",CREATION_TIME:"creation_time",EXPIRATION_TIME:"expiration_time",CONFLICTING_COUNTRIES:"conflicting_countries"};}),null);
  __d('XUIAYMTTipButton.react',['AsyncRequest','AYMTClientSideLogging','React','URI','XUIButton.react'],(function a(b,c,d,e,f,g){'use strict';var h,i,j=c('React').PropTypes;h=babelHelpers.inherits(k,c('React').Component);i=h&&h.prototype;function k(){var l,m;for(var n=arguments.length,o=Array(n),p=0;p<n;p++)o[p]=arguments[p];return m=(l=i.constructor).call.apply(l,[this].concat(o)),this.$XUIAYMTTipButton1=function(event){c('AYMTClientSideLogging').logClick(this.props.tipID,this.props.channelID);var q=new (c('URI'))(this.props.href);if(this.props.hasAsyncLink){new (c('AsyncRequest'))().setURI(q).setReadOnly(this.props.method==='GET').setMethod(this.props.method?this.props.method:'POST').send();event.preventDefault();}}.bind(this),m;}k.prototype.render=function(){return c('React').createElement(c('XUIButton.react'),babelHelpers['extends']({onClick:this.$XUIAYMTTipButton1},this.props));};k.propTypes={channelID:j.string.isRequired,hasAsyncLink:j.bool,href:j.string.isRequired,label:j.object.isRequired,method:j.oneOf(['GET','POST']),size:j.oneOf(['large','medium']),tipID:j.string.isRequired,use:j.oneOf(['confirm','default','special'])};f.exports=k;}),null);
  __d('PointerEventElement.react',['cx','React','joinClasses'],(function a(b,c,d,e,f,g,h){var i,j,k=document.createElement('x');k.style.cssText='pointer-events:auto';var l=k.style.pointerEvents==='auto';i=babelHelpers.inherits(m,c('React').Component);j=i&&i.prototype;function m(){var n,o;'use strict';for(var p=arguments.length,q=Array(p),r=0;r<p;r++)q[r]=arguments[r];return o=(n=j.constructor).call.apply(n,[this].concat(q)),this.state={prepareForEventForwarding:false},this.lastEventData=null,this.handleClick=function(s){this.lastEventData={detail:s.detail,screenX:s.screenX,screenY:s.screenY,clientX:s.pageX||s.clientX,clientY:s.pageY||s.clientY,ctrlKey:s.ctrlKey,altKey:s.altKey,shiftKey:s.shiftKey,metaKey:s.metaKey,button:s.button,type:s.type};this.setState({prepareForEventForwarding:true});}.bind(this),this.forwardClick=function(){var s=this.lastEventData.clientX,t=this.lastEventData.clientY,u=document.elementFromPoint(s,t),v=this.lastEventData,w=document.createEvent("MouseEvents");w.initMouseEvent(v.type,true,true,window,v.detail,v.screenX,v.screenY,v.clientX,v.clientY,v.ctrlKey,v.altKey,v.shiftKey,v.metaKey,v.button,null);u.dispatchEvent(w);this.setState({prepareForEventForwarding:false});}.bind(this),o;}m.prototype.componentDidUpdate=function(n,o){'use strict';if(this.state.hide)this.forwardClick();};m.prototype.render=function(){'use strict';if(this.state.prepareForEventForwarding)return c('React').createElement('div',null);var n=l?null:this.handleClick,o=this.props.className;return (c('React').createElement('div',babelHelpers['extends']({},this.props,{className:c('joinClasses')(o,"_4z8f"),onClick:n,onMouseMove:n,onMouseDown:n,onMouseUp:n})));};f.exports=m;}),null);
  __d('SpectrumAnimationLayer',['cx','getVendorPrefixedName','PointerEventElement.react','React'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.render=function(){'use strict';var l=this.props,m=l.scaleX!=null?l.scaleX:l.scale!=null?l.scale:1,n=l.scaleY!=null?l.scaleY:l.scale!=null?l.scale:1,o='translate('+(l.x||0)+'px,'+(l.y||0)+'px)';if(m!=1||n!=1)o+=' scale('+m+','+n+')';if(l.rotation)o+=' rotate('+l.rotation+'deg)';if(l.transform){var p=l.transform;o+=' matrix('+p.xx+','+p.yx+','+p.xy+','+p.yy+','+p.x+','+p.y+')';}var q=(l.originX==null?'50% ':l.originX+'px ')+(l.originY==null?'50% ':l.originY+'px '),r=l.visible==null||l.visible,s=l.duration||'',t=l.timing||'',u={cursor:l.cursor,display:r?'':'none',height:l.height,left:0,opacity:l.opacity,right:'auto',width:l.width},v=c('getVendorPrefixedName')('transform');if(v==null){u.left=l.x;u.top=l.y;}else{u[v]=o;u[c('getVendorPrefixedName')('transform-origin')]=q;u[c('getVendorPrefixedName')('transition-duration')]=s;u[c('getVendorPrefixedName')('transition-timing-function')]=t;}if(this.props.zIndex!=null)u.zIndex=this.props.zIndex;return (c('React').createElement(c('PointerEventElement.react'),{className:"_5137",style:u},l.children));};function k(){'use strict';i.apply(this,arguments);}f.exports=k;}),null);
  __d('SpectrumFlag',['cx','SpectrumAnimationLayer','React'],(function a(b,c,d,e,f,g,h){var i,j,k=20,l=100;i=babelHelpers.inherits(m,c('React').Component);j=i&&i.prototype;m.prototype.render=function(){'use strict';var n,o=this.props.height?this.props.height:l,p={height:o};if(this.props.placement=="bottom"){n=c('React').createElement(c('SpectrumAnimationLayer'),{opacity:.9,x:Math.round(this.props.x-k),y:Math.round(this.props.y)},c('React').createElement('div',{className:"_57qv _57qw"},c('React').createElement('div',{style:p,className:"_57qx"},c('React').createElement('div',{className:"_57qy"},c('React').createElement('div',{className:"_57qz"},c('React').createElement('i',{className:"_57q-"})),c('React').createElement('div',{className:"_57q_"},this.props.children)))));}else n=c('React').createElement(c('SpectrumAnimationLayer'),{opacity:.9,x:Math.round(this.props.x-k),y:Math.round(this.props.y-o)},c('React').createElement('div',{className:"_57qv _57r0"},c('React').createElement('div',{style:p,className:"_57qx"},c('React').createElement('div',{className:"_57qy"},c('React').createElement('div',{className:"_57q_"},this.props.children),c('React').createElement('div',{className:"_57qz"},c('React').createElement('i',{className:"_57r1"}))))));return n;};function m(){'use strict';i.apply(this,arguments);}f.exports=m;}),null);
  __d('SpectrumFlagData',['cx','React'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.render=function(){'use strict';return (c('React').createElement('span',{className:"_57qt"},this.props.children));};function k(){'use strict';i.apply(this,arguments);}f.exports=k;}),null);
  __d('SpectrumFlagDescription',['cx','React'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.render=function(){'use strict';var l=c('React').createElement('span',{className:"_57qu"},this.props.children);return l;};function k(){'use strict';i.apply(this,arguments);}f.exports=k;}),null);
  __d('InsightsBenchmarkLayer.react',['fbt','React','ReactART','SpectrumAnimationLayer','d3/scale/linear','SpectrumLines','SpectrumStyle','SpectrumUtilities','SpectrumFlag','SpectrumFlagData','SpectrumFlagDescription','mergeDeep','mergeHelpers'],(function a(b,c,d,e,f,g,h){var i,j,k=c('mergeHelpers').ArrayStrategies,l=c('React').PropTypes,m=c('ReactART').Path,n=c('ReactART').Shape,o=c('ReactART').Surface,p=m().move(0,0).line(1,0).line(0,1).line(-1,0).close(),q=100,r={lines:{colors:[c('SpectrumStyle').BLUE,c('SpectrumStyle').DARK_BLUE],markers:false}};i=babelHelpers.inherits(s,c('React').Component);j=i&&i.prototype;function s(){var t,u;'use strict';for(var v=arguments.length,w=Array(v),x=0;x<v;x++)w[x]=arguments[x];return u=(t=j.constructor).call.apply(t,[this].concat(w)),this.handleEvent=function(event){if(this.props.visible){event.cursor='';event.stopPropagation();}}.bind(this),this.getExtentY=function(){if(!this.props.visible)return null;var y=this.props.benchmarks;return [Math.min(y.average,y.referenceAverage),Math.max(y.average,y.referenceAverage)];}.bind(this),u;}s.prototype.componentWillMount=function(){'use strict';if(this.props.eventChannel)this.props.eventChannel[this.props.eventIndex]=this;};s.prototype.componentWillUnmount=function(){'use strict';if(this.props.eventChannel)delete this.props.eventChannel[this.props.eventIndex];};s.prototype.render=function(){'use strict';if(!this.props.visible)return c('React').createElement('div',null);var t=c('mergeDeep')(this.props.theme,r,k.Clobber),u=c('d3/scale/linear')().range(c('SpectrumUtilities').getOuterRange(this.props.scaleX)),v=c('d3/scale/linear')().range(c('SpectrumUtilities').getOuterRange(this.props.scaleY)),w=[],x=[],y=this.props.benchmarks;if(y&&y.referenceAverage!=null&&!isNaN(y.referenceAverage)){w.push([y.referenceAverage,y.referenceAverage]);x.push(h._("Your Average Last Period"));}if(y&&y.average!=null&&!isNaN(y.average)){w.push([y.average,y.average]);x.push(h._("Your Average This Period"));}var z=this.props.scaleY,aa=z.tooltipFormat?z.tooltipFormat():z.tickFormat(),ba=[];function ca(fa,ga){var ha,ia=0,ja=0;for(ha=0;ha<fa.length;ha++){var ka=z(fa[ha][0]);ba.push("top");if(ka-q>0){ia+=1;}else ba[ha]="bottom";if(ka+q<ga)ja+=1;}if(ia!==fa.length&&ja===fa.length)for(ha=0;ha<ba.length;ha++)ba[ha]="bottom";}function da(fa,ga){var ha=fa[0],ia=.7/fa.length;return (c('React').createElement(c('SpectrumFlag'),{height:q,placement:ba[ga],x:u(.3+ia*ga),y:z(ha)},c('React').createElement(c('SpectrumFlagDescription'),null,x[ga]),c('React').createElement(c('SpectrumFlagData'),null,aa(ha))));}ca(w,this.props.height);var ea=c('SpectrumLines').getMarkerRadius(t.lines);return (c('React').createElement(c('SpectrumAnimationLayer'),{height:this.props.height,width:this.props.width},c('React').createElement(o,{height:this.props.height,width:this.props.width},c('React').createElement(n,{d:p,fill:'rgba(255,255,255,0.65)',scaleX:u(1)-u(0)+ea*2,scaleY:v(0)-v(1)+ea*2,x:u(0)-ea,y:v(1)-ea}),c('React').createElement(c('SpectrumLines'),{data:w,height:this.props.height,scaleX:u,scaleY:this.props.scaleY,theme:t,width:this.props.width})),w.map(da)));};s.propTypes={benchmarks:l.object,visible:l.bool};s.isChartLayer=true;f.exports=s;}),null);
  __d('XUIBackgroundBar.react',['cx','React','sumOfArray'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;function k(){var l,m;'use strict';for(var n=arguments.length,o=Array(n),p=0;p<n;p++)o[p]=arguments[p];return m=(l=j.constructor).call.apply(l,[this].concat(o)),this.getColorAtIndex=function(q){if(Array.isArray(this.props.colors)){return this.props.colors[q];}else return this.props.colors(q);}.bind(this),m;}k.prototype.render=function(){'use strict';var l=this.props.values,m=c('sumOfArray')(l),n=this.props.scale;n.rangeRound([0,100]);var o={width:n(m)+'%'};function p(q,r){if(r>0&&q===0)return null;var s=n(m)!==0?100*n(q)/n(m)+'%':'0',t={backgroundColor:this.getColorAtIndex(r),width:s};return (c('React').createElement('div',{className:"_5abn",key:r,style:t}));}return (c('React').createElement('div',{className:"_5abm",style:o},l.map(p,this),c('React').createElement('div',{className:"_352g"})));};f.exports=k;}),null);
  __d('InsightsBackgroundBar.react',['cx','React','ReactDOM','Tooltip','XUIBackgroundBar.react','joinClasses','sumOfArray'],(function a(b,c,d,e,f,g,h){var i,j,k=c('React').PropTypes;i=babelHelpers.inherits(l,c('React').Component);j=i&&i.prototype;function l(){var m,n;'use strict';for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=j.constructor).call.apply(m,[this].concat(p)),this.$InsightsBackgroundBar1=function(){var r=c('sumOfArray')(this.props.values||[]),s=this.props.forceTooltip||this.props.values.length>=2;if(!s||r===0){c('Tooltip').remove(c('ReactDOM').findDOMNode(this.refs.bar));}else c('Tooltip').set(c('ReactDOM').findDOMNode(this.refs.bar),c('ReactDOM').findDOMNode(this.refs.tooltip).cloneNode(true),'above','center');}.bind(this),n;}l.prototype.componentDidMount=function(){'use strict';this.$InsightsBackgroundBar1();};l.prototype.componentDidUpdate=function(m){'use strict';if(m.values!=this.props.values)this.$InsightsBackgroundBar1();};l.prototype.componentWillUnmount=function(){'use strict';c('Tooltip').remove(c('ReactDOM').findDOMNode(this.refs.bar));};l.prototype.render=function(){'use strict';var m="_5kmz"+(this.props.tall?' '+"_5km-":'')+(this.props.single?' '+"_5km_":'')+(this.props.short?' '+"_5vip":''),n=Array.isArray(this.props.values)?this.props.values:[this.props.values],o=this.props.scale&&this.props.scale.tickFormat(),p=c('sumOfArray')(n||[]),q=n.map(function(u,v){var w=this.props.titles?this.props.titles[v]:null,x=this.props.scale.tooltipFormat&&this.props.scale.tooltipFormat(),y=x(u),z=w||v;return (c('React').createElement('div',{key:z,className:"_5kn0"},c('React').createElement('div',{className:"_5kn1"},w),c('React').createElement('div',{className:"_5kn2"},y)));},this),r=null,s=null;if(this.props.labelWidth){r={marginLeft:this.props.labelWidth};s={width:this.props.labelWidth};}if(this.props.label||typeof this.props.label==='undefined')var t=c('React').createElement('div',{className:"_5kn3 ellipsis",style:s},this.props.label||o(p));return (c('React').createElement('div',{className:c('joinClasses')(m,this.props.className)},t,c('React').createElement('div',{className:"_5kn4",style:r},c('React').createElement(c('XUIBackgroundBar.react'),{colors:this.props.colors,ref:'bar',scale:this.props.scale,values:n,inlineLabels:this.props.inlineLabels}),c('React').createElement('div',{className:"_5kn5",ref:'tooltip'},q))));};l.propTypes={className:k.string,colors:k.oneOfType([k.array,k.func]),forceTooltip:k.bool,label:k.oneOfType([k.bool,k.object,k.string]),labelWidth:k.string,scale:k.func,single:k.bool,tall:k.bool,short:k.bool,titles:k.array,values:k.array};f.exports=l;}),null);
  __d('InsightsChartWithHoverCard.react',['CandelaConstants','InsightsFormatterFactories','immutable','Locale','React','ReactDOM','CandelaTheme','isEmpty','mapObject','shallowEqual'],(function a(b,c,d,e,f,g){'use strict';var h,i,j=c('CandelaConstants').Alignment,k=c('CandelaConstants').ShapeType,l=c('immutable').OrderedSet,m=c('immutable').Set,n=c('React').PropTypes;function o(q,r){var s,t=q[r];if(t){var s=function(){var u;if(!m.isSet(t))return {v:new Error('targetShapeTypes must be Immutable.Set')};var v=(u={},u[k.BAR_GROUP]=null,u[k.BAR]=null,u[k.GUIDE]=null,u),w=t.find(function(x){return !v.hasOwnProperty(x);});if(w)return {v:new Error('Not supported shapeType: '+w)};if(t.includes(k.BAR)&&t.includes(k.BAR_GROUP))return {v:new Error('targetShapeTypes cannot include both BAR and BAR_GROUP.')};}();if(typeof s==="object")return s.v;}return null;}h=babelHelpers.inherits(p,c('React').PureComponent);i=h&&h.prototype;function p(){var q,r;for(var s=arguments.length,t=Array(s),u=0;u<s;u++)t[u]=arguments[u];return r=(q=i.constructor).call.apply(q,[this].concat(t)),this.state={data:{},items:this.props.items,shown:false,theme:this.props.theme,title:this.props.title},this.$ChartWithHoverCard3=function(event,v){var w=event.target.coords;if(!m.isSet(w)||w.isEmpty())return {closestSeriesName:null,posX:0,posY:0};var x=event.target.coords.filter(function(y){return v.contains(y.series);}).minBy(function(y){return Math.abs(event.y-y.y);});return {anchorRect:{height:0,width:0,x:x.x,y:x.y},closestSeriesName:x.series,posX:x.x,posY:x.y};},this.$ChartWithHoverCard4=function(v){var w=v.x,x=v.y,y=v.height,z=v.width,aa=0,ba=0;switch(this.props.position){case 'above':aa=w+z/2;ba=x;break;case 'below':aa=w+z/2;ba=x+y;break;case 'left':aa=w;ba=x+y/2;break;case 'right':aa=w+z;ba=x+y/2;break;}return {anchorRect:{height:v.height,width:v.width,x:v.x,y:v.y},posX:aa,posY:ba};}.bind(this),this.$ChartWithHoverCard5=function(event){return this.$ChartWithHoverCard4(event.target);}.bind(this),this.$ChartWithHoverCard6=function(event,v){var w=event.target,x=w.alignment,y=w.height,z=w.overlap,aa=w.seriesOrder,ba=w.width,ca=w.x,da=w.y,ea=Infinity,fa=-Infinity;aa.forEach(function(ka){var la=0;ka.forEach(function(ma){var na=event.data[ma],oa=na.scale,pa=na.value;la+=pa;var qa=oa.convert(oa.props.origin),ra=oa.convert(z?pa:la);ea=Math.min(ea,ra,qa);fa=Math.max(fa,ra,qa);});});var ga=0,ha=0,ia=0,ja=0;switch(x){case j.LEFT:case j.RIGHT:ga=ea;ha=fa;ia=da;ja=da+y;break;case j.TOP:case j.BOTTOM:ga=ca;ha=ca+ba;ia=ea;ja=fa;break;}return this.$ChartWithHoverCard4({x:ga,y:ia,height:ja-ia,width:ha-ga});}.bind(this),this.$ChartWithHoverCard7=function(v,w){var x=0,y=0;if(this.refs.chart){var z=c('ReactDOM').findDOMNode(this.refs.chart).querySelector(c('CandelaConstants').CHART_ELEMENT_SELECTOR),aa=z.getBoundingClientRect();switch(this.props.position){case 'above':x=v-.5*aa.width;y=w;break;case 'below':x=v-.5*aa.width;y=w-aa.height;break;case 'left':x=c('Locale').isRTL()?v-aa.width:v;y=w;break;case 'right':x=c('Locale').isRTL()?v:v-aa.width;y=w;break;}if(c('Locale').isRTL())x=-x;}return {x:x,y:y};}.bind(this),this.$ChartWithHoverCard8=function(v,w){return c('shallowEqual')(c('mapObject')(v,function(x){return x.value;}),c('mapObject')(w,function(x){return x.value;}))&&c('shallowEqual')(c('mapObject')(v,function(x){return x.scale;}),c('mapObject')(w,function(x){return x.scale;}));},this.$ChartWithHoverCard10=function(event){var v=this.props.targetShapeTypes;if(v&&v.includes(event.target.shapeType))this.$ChartWithHoverCard9(event);var w=void 0;w=this.props.onMouseMove;w&&w(event);w=this.props.chart.props.onMouseMove;w&&w(event);}.bind(this),this.$ChartWithHoverCard11=function(event){var v=this.props.targetShapeTypes;if(v&&v.includes(event.target.shapeType))this.$ChartWithHoverCard9(event);var w=void 0;w=this.props.onMouseEnter;w&&w(event);w=this.props.chart.props.onMouseEnter;w&&w(event);}.bind(this),this.$ChartWithHoverCard12=function(event){var v=this.props.targetShapeTypes;if(event.target.shapeType===k.PLOT_AREA||v&&v.includes(event.target.shapeType))this.setState({shown:false});var w=void 0;w=this.props.onMouseLeave;w&&w(event);w=this.props.chart.props.onMouseLeave;w&&w(event);}.bind(this),r;}p.prototype.$ChartWithHoverCard1=function(q,r){var s=this.props.formatterFactory;return q.map(function(t){if(t.key in r){var u=r[t.key],v=u.scale,w=u.value;if(w!=null){var x=s&&s(v,t.key);w=x?x(w):w;}t=babelHelpers['extends']({},t,{value:w});}return t;});};p.prototype.$ChartWithHoverCard2=function(q,r){var s=this.props,t=s.formatterFactory,u=s.titleElementGetter,v=s.titleKey;if(u)return u(r);var w=this.props.title;if(!v||!(v in r))return w;var x=r[v],y=x.scale,z=x.value;if(z!=null){var aa=t&&t(y);w=aa?aa(z):w;}return w;};p.prototype.$ChartWithHoverCard9=function(event){this.setState({shown:!c('isEmpty')(event.data)});if(c('isEmpty')(event.data)||this.$ChartWithHoverCard8(event.data,this.state.data))return;var q=this.props.items,r=l(Object.keys(event.data)),s=q.map(function(fa){return fa.key;}).intersect(r),t=this.$ChartWithHoverCard2(q,event.data),u=this.$ChartWithHoverCard1(q,event.data),v=void 0,w=void 0,x=0,y=0;switch(event.target.shapeType){case k.BAR:var z=this.$ChartWithHoverCard5(event,s);x=z.posX;y=z.posY;v=z.anchorRect;break;case k.BAR_GROUP:var aa=this.$ChartWithHoverCard6(event,s);x=aa.posX;y=aa.posY;v=aa.anchorRect;break;case k.GUIDE:var ba=this.$ChartWithHoverCard3(event,s);w=ba.closestSeriesName;x=ba.posX;y=ba.posY;v=ba.anchorRect;break;}var ca=this.$ChartWithHoverCard7(x,y),da=ca.x,ea=ca.y;this.setState({anchorRect:c('shallowEqual')(v,this.state.anchorRect)?this.state.anchorRect:v,closestSeriesName:w,data:event.data,items:u,target:event.target,theme:event.theme,title:t,x:da,y:ea});};p.prototype.render=function(){var q=c('React').cloneElement(this.props.chart,{anchorRect:this.state.anchorRect,onMouseMove:this.$ChartWithHoverCard10,onMouseEnter:this.$ChartWithHoverCard11,onMouseLeave:this.$ChartWithHoverCard12,ref:'chart'}),r=this.props.children&&c('React').cloneElement(this.props.children,babelHelpers['extends']({},this.state,{chartNode:this.refs.chart,position:this.props.position}));return (c('React').createElement('div',null,q,r));};p.propTypes={chart:n.node.isRequired,children:n.node.isRequired,formatterFactory:n.func,items:n.instanceOf(l).isRequired,position:n.oneOf(['above','below','left','right']),targetShapeTypes:o,theme:n.instanceOf(c('CandelaTheme')),title:n.string,titleElementGetter:n.func,titleKey:n.string};p.defaultProps={formatterFactory:c('InsightsFormatterFactories').legendFormatterFactory,position:'above',targetShapeTypes:m([k.GUIDE,k.BAR_GROUP])};f.exports=p;}),null);
  __d('CandelaHoverCard.react',['CandelaConstants','React','ReactDOM'],(function a(b,c,d,e,f,g){'use strict';var h,i,j=c('CandelaConstants').CHART_HOVER_CARD_ANCHOR_SELECTOR,k=c('React').PropTypes;h=babelHelpers.inherits(l,c('React').PureComponent);i=h&&h.prototype;function l(){var m,n;for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=i.constructor).call.apply(m,[this].concat(p)),this.updatePosition=function(){var r=this.refs.dialog;if(r)r.layer.updatePosition();}.bind(this),n;}l.prototype.render=function(){var m=this.props,n=m.behaviors,o=m.chartNode,p=m.children,q=m.contextualDialogLayer,r=m.position,s=m.onToggle,t=m.shown,u=o&&c('ReactDOM').findDOMNode(o).querySelector(j);if(!u)return null;var v=r==='above'||r==='below'?'center':null;return (c('React').createElement(q,{alignment:v,autoFocus:false,behaviors:n,context:u,focusContextOnHide:false,hasActionableContext:false,hideOnEscape:false,onToggle:s,position:r,ref:'dialog',shown:t},p));};l.propTypes={behaviors:k.object,chartNode:k.object,children:k.node,contextualDialogLayer:k.func.isRequired,onToggle:k.func,position:k.oneOf(['above','below','left','right']),shown:k.bool};l.defaultProps={position:'above',shown:false};f.exports=l;}),null);
  __d('InsightsHoverCard.react',['cx','CandelaConstants','CandelaHoverCard.react','ContextualLayerAutoFlip','immutable','React','isEmpty','joinClasses'],(function a(b,c,d,e,f,g,h){'use strict';var i,j,k=c('immutable').OrderedSet,l=c('React').PropTypes,m=c('CandelaConstants').ShapeType,n=c('CandelaHoverCard.react').propTypes,o=n.children,p=babelHelpers.objectWithoutProperties(n,['children']);i=babelHelpers.inherits(q,c('React').PureComponent);j=i&&i.prototype;function q(){var r,s;for(var t=arguments.length,u=Array(t),v=0;v<t;v++)u[v]=arguments[v];return s=(r=j.constructor).call.apply(r,[this].concat(u)),this.$HoverCard2=function(w){return this.$HoverCard1(w,true);}.bind(this),this.$HoverCard4=function(){var w=this.props,x=w.auxiliaryItems,y=w.title,z=c('joinClasses')("_3l0-",this.props.className),aa=y?c('React').createElement('div',{className:"_3l0_"},y):null;return (c('React').createElement('div',{className:z},aa,c('React').createElement('ul',null,this.$HoverCard3(),x&&x.map(function(ba){return this.$HoverCard2(ba);}.bind(this)))));}.bind(this),s;}q.prototype.$HoverCard1=function(r,s){var t=r.constant,u=r.label,v=r.richLabel,w=r.value;if(w==null)return null;var x=(s?"auxiliary":'')+(t?' '+"constant":'')+(' '+"_3l0x");return c('React').createElement('li',{className:x,'data-key':r.key,key:r.key},c('React').createElement('div',{className:"_3l0y"},w),c('React').createElement('div',{className:"_3l0z"},v||u));};q.prototype.$HoverCard3=function(){var r=this.props,s=r.closestSeriesName,t=r.displayClosestSeriesItemOnly,u=r.items,v=r.target;if(!u)return null;var w=v.shapeType===m.GUIDE&&!t,x=w?u.filter(function(z){return z.key===s;}):u,y=x.map(function(z){return this.$HoverCard1(z);}.bind(this));return y;};q.prototype.render=function(){var r=this.props,s=r.auxiliaryItems,t=r.target,u=r.items,v=r.title;if(c('isEmpty')(t)||!v&&(!u||u.isEmpty())&&(!s||s.isEmpty()))return null;return (c('React').createElement(c('CandelaHoverCard.react'),this.props,this.$HoverCard4()));};q.defaultProps={behaviors:{ContextualLayerAutoFlip:c('ContextualLayerAutoFlip')}};q.propTypes=babelHelpers['extends']({},p,{auxiliaryItems:l.instanceOf(k),closestSeriesName:l.string,items:l.instanceOf(k),onToggle:l.func,title:l.oneOfType([l.string,l.element]),displayClosestSeriesItemOnly:l.bool});f.exports=q;}),null);
  __d('InsightsCSSBar.react',['cx','React'],(function a(b,c,d,e,f,g,h){'use strict';var i,j,k=c('React').PropTypes;i=babelHelpers.inherits(l,c('React').Component);j=i&&i.prototype;function l(){var m,n;for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=j.constructor).call.apply(m,[this].concat(p)),this.$InsightsCSSBar1=function(r){if(Array.isArray(this.props.colors)){return this.props.colors[r];}else return this.props.colors(r);}.bind(this),this.$InsightsCSSBar2=function(){return this.props.values.map(function(r,s){if(r===0)return null;var t=this.props.scale;t.rangeRound([0,100]);var u=t(r)+'%',v={backgroundColor:this.$InsightsCSSBar1(s),width:u};return (c('React').createElement('div',{className:"_2zjt",key:s,style:v}));}.bind(this));}.bind(this),n;}l.prototype.render=function(){var m=babelHelpers['extends']({},this.props.style,{height:this.props.height+'px',lineHeight:this.props.height+'px'});if(this.props.width)m.width=this.props.width;return (c('React').createElement('div',{className:"_2zju",style:m},this.$InsightsCSSBar2()));};l.propTypes={colors:k.oneOfType([k.array,k.func]).isRequired,height:k.number,scale:k.func.isRequired,style:k.object,values:k.array.isRequired,width:k.number};l.defaultProps={height:10};f.exports=l;}),null);
  __d('InsightsLoadingIndicator.react',['cx','React','XUISpinner.react','joinClasses'],(function a(b,c,d,e,f,g,h){var i,j,k=c('React').PropTypes;i=babelHelpers.inherits(l,c('React').Component);j=i&&i.prototype;l.prototype.render=function(){'use strict';var m=c('joinClasses')("_5g39",this.props.className);return (c('React').createElement('div',{className:m},c('React').createElement(c('XUISpinner.react'),{background:'light',size:this.props.size})));};function l(){'use strict';i.apply(this,arguments);}l.propTypes={size:k.string};l.defaultProps={size:'large'};f.exports=l;}),null);
  __d('InsightsTableLegend.react',['cx','HubbleContext','InsightsInfoTip.react','InsightsLegend_DEPRECATED.react','InsightsLegendAreaKey.react','React','joinClasses'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.render=function(){'use strict';var l=this.props.legendData.map(function(m){var n=c('HubbleContext').get('canSeeReactions')&&m.labelWithReactions?m.labelWithReactions:m.label;n=m.description?c('React').createElement(c('InsightsInfoTip.react'),{tip:m.description},n):n;return (c('React').createElement(c('InsightsLegendAreaKey.react'),{color:m.colors[0],key:n},n));});return (c('React').createElement('div',babelHelpers['extends']({},this.props,{className:c('joinClasses')(this.props.className,"_5k3z")}),c('React').createElement(c('InsightsLegend_DEPRECATED.react'),null,l)));};function k(){'use strict';i.apply(this,arguments);}f.exports=k;}),null);
  __d('InsightsDateRange.react',['fbt','React','formatDate'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.render=function(){'use strict';var l=this.props.includeTime?'g:ia F jS, Y':'F d, Y',m=this.props.from,n=new Date(this.props.to.getTime()-1),o=c('formatDate')(m,l,{utc:this.props.utc}),p=c('formatDate')(n,l,{utc:this.props.utc});if(o!=p){var q=h._("{from} to {to}",[h.param('from',o),h.param('to',p)]);return c('React').createElement('span',null,q);}return c('React').createElement('span',null,o);};function k(){'use strict';i.apply(this,arguments);}k.defaultProps={includeTime:false};f.exports=k;}),null);
  __d('IndexedLayout',['requestPersistentAnimationFrame','uniqueID'],(function a(b,c,d,e,f,g){function h(i){'use strict';this.$IndexedLayout4=function(){if(this.$IndexedLayout1){this.$IndexedLayout1=false;this.$IndexedLayout2=c('uniqueID')();this.onReflow();}}.bind(this);this.$IndexedLayout1=false;this.$IndexedLayout2=c('uniqueID')();this.$IndexedLayout3=[];this.onReflow=i;}h.prototype.getReflowID=function(){'use strict';return this.$IndexedLayout2;};h.prototype.getHeight=function(i){'use strict';return this.$IndexedLayout3[i]||0;};h.prototype.setHeight=function(i,j){'use strict';this.$IndexedLayout3[j]=i;if(!this.$IndexedLayout1){this.$IndexedLayout1=true;c('requestPersistentAnimationFrame')(this.$IndexedLayout4);}};f.exports=h;}),null);
  __d('LayoutScrollableGridBox.react',['cx','React','ResponsiveBlock.react','translateDOMPositionXY'],(function a(b,c,d,e,f,g,h){'use strict';var i,j,k=c('React').PropTypes;i=babelHelpers.inherits(l,c('React').PureComponent);j=i&&i.prototype;function l(){var m,n;for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=j.constructor).call.apply(m,[this].concat(p)),this.$LayoutScrollableGridBox2=function(){var r=this.props.scrollTop;if(this.$LayoutScrollableGridBox3===undefined)this.$LayoutScrollableGridBox3=0;if(this.$LayoutScrollableGridBox3!==r){this.$LayoutScrollableGridBox3=r;if(this.props.onScroll)this.props.onScroll(0,r);}var s=this.props.top;if(this.$LayoutScrollableGridBox4===undefined)this.$LayoutScrollableGridBox4=0;if(this.$LayoutScrollableGridBox4!==s){this.$LayoutScrollableGridBox4=s;if(this.props.onMove)this.props.onMove(0,s);}}.bind(this),this.$LayoutScrollableGridBox1=function(r,s){this.props.onResize(r,s,this.props.index);}.bind(this),n;}l.prototype.render=function(){var m="_2m-0",n=this.props.width,o=this.props.height,p={width:n,zIndex:this.props.zIndex};if(this.props.overflow==='hidden'){p.clip='rect(0 '+n+'px '+o+'px 0)';p.overflow='hidden';}c('translateDOMPositionXY')(p,0,this.props.top);if(this.props.shouldMeasureHeight){return c('React').createElement(c('ResponsiveBlock.react'),{style:p,className:m,onResize:this.$LayoutScrollableGridBox1},this.props.children);}else return c('React').createElement('div',{style:p,className:m},this.props.children);};l.prototype.componentDidMount=function(){this.$LayoutScrollableGridBox2();};l.prototype.componentDidUpdate=function(){this.$LayoutScrollableGridBox2();};l.propTypes={height:k.number.isRequired,index:k.number.isRequired,onMove:k.func,onResize:k.func.isRequired,onScroll:k.func,overflow:k.oneOf(['hidden','visible']),scrollTop:k.number.isRequired,shouldMeasureHeight:k.bool.isRequired,top:k.number.isRequired,width:k.number.isRequired,zIndex:k.number.isRequired};l.defaultProps={overflow:'hidden'};f.exports=l;}),null);
  __d('LayoutScrollableGridRow.react',['invariant','React'],(function a(b,c,d,e,f,g,h){'use strict';var i,j,k=c('React').PropTypes;i=babelHelpers.inherits(l,c('React').Component);j=i&&i.prototype;l.prototype.render=function(){h(0);};function l(){i.apply(this,arguments);}l.propTypes={contentHeight:k.number,onScroll:k.func,height:k.number,stickyOffset:k.number,zIndex:k.number};l.defaultProps={contentHeight:0};f.exports=l;}),null);
  __d('LayoutScrollableGridBoxPropsBuilder',['invariant','LayoutScrollableGridRow.react','React'],(function a(b,c,d,e,f,g,h){'use strict';function i(j,k,l,m,n){var o=[],p=0,q=0,r=[],s=k;c('React').Children.map(l,function(t,u){if(!t)return;t.type===c('LayoutScrollableGridRow.react')||h(0);var v=t.props,w=v.height===undefined,x=w?n.getHeight(u):v.height,y=v.stickyOffset,z=Math.max(x,v.contentHeight||0),aa=0,ba=z-x;if(y===undefined){if(s>0&&s<ba){aa=s;k-=s;s=0;}else if(s>0){aa=ba;s-=z;k-=ba;}}else if(s>0&&s<ba){aa=s;s=0;}else if(s>0){aa=ba;s-=ba;}p+=x;q+=z;r.push(aa);o.push(t);});this.$LayoutScrollableGridBoxPropsBuilder1=null;this.$LayoutScrollableGridBoxPropsBuilder2=0;this.$LayoutScrollableGridBoxPropsBuilder3=q;this.$LayoutScrollableGridBoxPropsBuilder4=j;this.$LayoutScrollableGridBoxPropsBuilder5=k;this.$LayoutScrollableGridBoxPropsBuilder6=r;this.$LayoutScrollableGridBoxPropsBuilder7=n;this.beforeBuildProps();this.$LayoutScrollableGridBoxPropsBuilder8=m;this.$LayoutScrollableGridBoxPropsBuilder9=o.length;this.$LayoutScrollableGridBoxPropsBuilder10=o.map(this.$LayoutScrollableGridBoxPropsBuilder11,this);}i.prototype.toArray=function(){if(this.$LayoutScrollableGridBoxPropsBuilder1===null)this.$LayoutScrollableGridBoxPropsBuilder1=this.$LayoutScrollableGridBoxPropsBuilder12();return this.$LayoutScrollableGridBoxPropsBuilder1;};i.prototype.getTotalContentHeight=function(){return this.$LayoutScrollableGridBoxPropsBuilder1?this.$LayoutScrollableGridBoxPropsBuilder3:0;};i.prototype.getZIndexOrder=function(){return this.$LayoutScrollableGridBoxPropsBuilder8;};i.prototype.beforeBuildProps=function(){};i.prototype.buildProps=function(j,k){};i.prototype.buildAllProps=function(j){};i.prototype.$LayoutScrollableGridBoxPropsBuilder11=function(j,k){var l=j.props,m=l.height===undefined,n=m?this.$LayoutScrollableGridBoxPropsBuilder7.getHeight(k):l.height,o=l.zIndex;if(o===undefined)if(this.$LayoutScrollableGridBoxPropsBuilder8==='descending'){o=this.$LayoutScrollableGridBoxPropsBuilder9-k-1;}else o=k;var p=l.width===undefined?this.$LayoutScrollableGridBoxPropsBuilder4:l.width,q=babelHelpers['extends']({},l,{height:n,index:k,key:'box_'+k,originalTop:this.$LayoutScrollableGridBoxPropsBuilder2,scrollTop:this.$LayoutScrollableGridBoxPropsBuilder6[k],shouldMeasureHeight:m,top:this.$LayoutScrollableGridBoxPropsBuilder2-this.$LayoutScrollableGridBoxPropsBuilder5,width:p,zIndex:o});this.$LayoutScrollableGridBoxPropsBuilder2+=Math.max(0,n);this.buildProps(q,k);return q;};i.prototype.$LayoutScrollableGridBoxPropsBuilder12=function(){this.buildAllProps(this.$LayoutScrollableGridBoxPropsBuilder10);return this.$LayoutScrollableGridBoxPropsBuilder10;};i.MAX_Z_INDEX=2000;i.STICK_Z_INDEX_BASE=1000;f.exports=i;}),null);
  __d('LayoutScrollableGridBoxPropsBuilderForStickyModeAttach',['LayoutScrollableGridBoxPropsBuilder'],(function a(b,c,d,e,f,g){'use strict';var h,i,j=c('LayoutScrollableGridBoxPropsBuilder').STICK_Z_INDEX_BASE;h=babelHelpers.inherits(k,c('LayoutScrollableGridBoxPropsBuilder'));i=h&&h.prototype;k.prototype.buildAllProps=function(l){var m=0;l.forEach(function(n,o){var p=n.stickyOffset;if(p!==undefined){var q=m+p;if(n.top<q){var r=this.getZIndexOrder()==='descending'?-o:o;n.top=q;n.zIndex=r+j;m+=n.height+p;}}}.bind(this));};function k(){h.apply(this,arguments);}f.exports=k;}),null);
  __d('LayoutScrollableGridBoxPropsBuilderForStickyModeCover',['LayoutScrollableGridBoxPropsBuilder'],(function a(b,c,d,e,f,g){'use strict';var h,i;h=babelHelpers.inherits(j,c('LayoutScrollableGridBoxPropsBuilder'));i=h&&h.prototype;j.prototype.buildProps=function(k,l){var m=k.stickyOffset;if(m!==undefined&&k.top<m)k.top=m;};function j(){h.apply(this,arguments);}f.exports=j;}),null);
  __d('LayoutScrollableGridBoxPropsBuilderForStickyModeInsert',['LayoutScrollableGridBoxPropsBuilder'],(function a(b,c,d,e,f,g){'use strict';var h,i,j=c('LayoutScrollableGridBoxPropsBuilder').MAX_Z_INDEX;h=babelHelpers.inherits(k,c('LayoutScrollableGridBoxPropsBuilder'));i=h&&h.prototype;k.prototype.buildProps=function(l,m){var n=l.stickyOffset;if(n!==undefined&&l.top<n){l.zIndex=j-m;l.top=n;}};function k(){h.apply(this,arguments);}f.exports=k;}),null);
  __d('LayoutScrollableGridBoxPropsBuilderForStickyModePush',['LayoutScrollableGridBoxPropsBuilder'],(function a(b,c,d,e,f,g){'use strict';var h,i,j=c('LayoutScrollableGridBoxPropsBuilder').STICK_Z_INDEX_BASE;h=babelHelpers.inherits(k,c('LayoutScrollableGridBoxPropsBuilder'));i=h&&h.prototype;k.prototype.beforeBuildProps=function(){this.$LayoutScrollableGridBoxPropsBuilderForStickyModePush1=[];this.$LayoutScrollableGridBoxPropsBuilderForStickyModePush2=null;};k.prototype.buildProps=function(l,m){var n=l.stickyOffset,o=n!==undefined;if(o)if(l.top<n){l.top=n;l.zIndex=j+m;this.$LayoutScrollableGridBoxPropsBuilderForStickyModePush1.unshift(l);}else if(this.$LayoutScrollableGridBoxPropsBuilderForStickyModePush2===null)this.$LayoutScrollableGridBoxPropsBuilderForStickyModePush2=l;};k.prototype.buildAllProps=function(l){var m=this.$LayoutScrollableGridBoxPropsBuilderForStickyModePush2,n=this.$LayoutScrollableGridBoxPropsBuilderForStickyModePush1;if(m)n.forEach(function(o,p){var q=p===0?m:n[p-1];if(o.top+o.height>q.top)o.top=q.top-o.height;});};function k(){h.apply(this,arguments);}f.exports=k;}),null);
  __d('LayoutScrollableGrid.react',['cx','invariant','IndexedLayout','LayoutScrollableGridBox.react','LayoutScrollableGridBoxPropsBuilder','LayoutScrollableGridBoxPropsBuilderForStickyModeAttach','LayoutScrollableGridBoxPropsBuilderForStickyModeCover','LayoutScrollableGridBoxPropsBuilderForStickyModeInsert','LayoutScrollableGridBoxPropsBuilderForStickyModePush','React','ReactDOM','ReactComponentWithPureRenderMixin','ReactWheelHandler','Scrollbar.react','clamp','emptyFunction','getObjectValues','normalizeWheel','nullthrows','setImmediate','shallowCompare'],(function a(b,c,d,e,f,g,h,i){'use strict';var j,k,l=c('LayoutScrollableGridBoxPropsBuilder').MAX_Z_INDEX,m=window.getComputedStyle,n=15,o=null,p=void 0;function q(t,u,v){if(t===0)return true;var w=void 0,x=0;while(u&&x++<n){if(u===v)return false;if(o&&u===o)return p;w=m(u);if(o===u)return true;if(w.overflow==='auto'||w.overflowY==='auto'||w.overflow==='scroll'||w.overflowY==='scroll'){if(u.scrollHeight===u.clientHeight){p=false;}else p=true;o=u;return p;}u=u.parentNode;}return false;}var r=function t(u,v){return (Math.abs(u)>Math.abs(v));};j=babelHelpers.inherits(s,c('React').Component);k=j&&j.prototype;function s(t){k.constructor.call(this,t);this.$LayoutScrollableGrid1=true;this.state={scrollTop:0,reflowID:null};var u=this;u.$LayoutScrollableGrid5=u.$LayoutScrollableGrid5.bind(u);u.$LayoutScrollableGrid6=u.$LayoutScrollableGrid6.bind(u);u.$LayoutScrollableGrid7=u.$LayoutScrollableGrid7.bind(u);u.$LayoutScrollableGrid8=u.$LayoutScrollableGrid8.bind(u);u.$LayoutScrollableGrid9=u.$LayoutScrollableGrid9.bind(u);this.$LayoutScrollableGrid2=new (c('IndexedLayout'))(this.$LayoutScrollableGrid5);this.$LayoutScrollableGrid3=new (c('ReactWheelHandler'))(this.$LayoutScrollableGrid8,false,r,true);}s.prototype.componentWillReceiveProps=function(t){if(t.scrollTop!=null)this.setState({scrollTop:t.scrollTop});};s.prototype.componentWillUnmount=function(){this.$LayoutScrollableGrid1=false;};s.prototype.shouldComponentUpdate=function(t,u){return c('shallowCompare')(this,t,u);};s.prototype.render=function(){var t,u=this,v=void 0;switch(this.props.stickyMode){case 'COVER':v=c('LayoutScrollableGridBoxPropsBuilderForStickyModeCover');break;case 'INSERT':v=c('LayoutScrollableGridBoxPropsBuilderForStickyModeInsert');break;case 'ATTACH':v=c('LayoutScrollableGridBoxPropsBuilderForStickyModeAttach');break;case 'PUSH':v=c('LayoutScrollableGridBoxPropsBuilderForStickyModePush');break;default:i(0);}var w=this.props.width;if(this.props.scrollbar==='inline')w-=c('Scrollbar.react').SIZE;var x=new v(w,this.state.scrollTop,this.props.children,this.props.zIndexOrder,this.$LayoutScrollableGrid2),y=x.toArray(),z=x.getTotalContentHeight();this.$LayoutScrollableGrid4={boxProps:y,contentHeight:z};var aa=y.map(function(ca){return (c('React').createElement(c('LayoutScrollableGridBox.react'),babelHelpers['extends']({},ca,{children:undefined,onResize:this.$LayoutScrollableGrid7,key:ca.key}),ca.children));}.bind(this)),ba={width:this.props.width,height:this.props.height};if(this.props.scrollToIndex!=null)(function(){var ca=void 0;switch(u.props.stickyMode){case 'PUSH':ca=y[u.props.scrollToIndex].originalTop;break;case 'ATTACH':ca=0;for(var da=0;da<u.props.scrollToIndex;da++){var ea=y[da];if(typeof ea.stickyOffset==='number'){ca-=ea.stickyOffset;}else ca+=ea.height;}break;default:i(0);}ca=c('clamp')(ca,0,z-u.props.height);c('setImmediate')(function(){this.setState({scrollTop:ca});this.props.onScroll&&this.props.onScroll(0,ca);}.bind(u));})();return (c('React').createElement('div',{style:ba,className:"_3qp4"},c('React').createElement('div',{onWheel:this.$LayoutScrollableGrid9},aa),c('React').createElement(c('Scrollbar.react'),{ref:'scrollbar',size:this.props.height,contentSize:z,onScroll:this.$LayoutScrollableGrid6,position:this.state.scrollTop,trackColor:this.props.scrollbarTrackColor,zIndex:l+1})));};s.prototype.$LayoutScrollableGrid9=function(event){var t=c('normalizeWheel')(event),u=t.pixelY,v=event.target;if(q(u,v,c('ReactDOM').findDOMNode(this))){return;}else this.$LayoutScrollableGrid3.onWheel(event);};s.prototype.$LayoutScrollableGrid8=function(t,u){this.setState(function(v){var w=c('clamp')(v.scrollTop+Math.round(u),0,c('nullthrows')(this.$LayoutScrollableGrid4).contentHeight-this.props.height);this.props.onScroll&&this.props.onScroll(0,w);return {scrollTop:w};}.bind(this));};s.prototype.$LayoutScrollableGrid6=function(t){this.setState({scrollTop:t});this.props.onScroll&&this.props.onScroll(0,t);};s.prototype.$LayoutScrollableGrid7=function(t,u,v){this.$LayoutScrollableGrid2.setHeight(u,v);};s.prototype.$LayoutScrollableGrid5=function(){if(this.$LayoutScrollableGrid1){this.setState({reflowID:this.$LayoutScrollableGrid2.getReflowID()});this.props.onReflow&&this.props.onReflow();}};s.prototype.getBoxProps=function(){return c('nullthrows')(this.$LayoutScrollableGrid4).boxProps;};s.defaultProps={scrollbar:'float',stickyMode:'INSERT',zIndexOrder:'ascending'};f.exports=s;}),null);
  __d('LayoutScrollableGridStickyMode',['keyMirror'],(function a(b,c,d,e,f,g){'use strict';var h=c('keyMirror')({ATTACH:null,COVER:null,INSERT:null,PUSH:null});f.exports=h;}),null);
  __d('BUIInsightsHoverCard.react',['cx','InsightsHoverCard.react','React','ReactAbstractContextualDialog','ReactLayer','joinClasses'],(function a(b,c,d,e,f,g,h){'use strict';var i,j,k={offset:12,length:16},l=c('ReactLayer').createClass(c('ReactAbstractContextualDialog').createSpec({displayName:'BUIInsightsHoverCard',theme:{wrapperClassName:"_2m8",arrowDimensions:k}})),m=c('InsightsHoverCard.react').propTypes,n=m.contextualDialogLayer,o=babelHelpers.objectWithoutProperties(m,['contextualDialogLayer']);i=babelHelpers.inherits(p,c('React').Component);j=i&&i.prototype;p.prototype.render=function(){var q=c('joinClasses')("_2m9",this.props.className),r=this.props,s=r.items,t=r.theme,u=s.map(function(v){var w=t.getAutoColorForSeries(v.key);if(v.richLabel||!w)return v;var x=c('React').createElement('span',{style:{color:w}},v.label);return babelHelpers['extends']({},v,{richLabel:x});});return (c('React').createElement(c('InsightsHoverCard.react'),babelHelpers['extends']({},this.props,{className:q,contextualDialogLayer:l,items:u})));};function p(){i.apply(this,arguments);}p.propTypes=babelHelpers['extends']({},o);f.exports=p;}),null);
  __d('BUIInsightsHoverCardChart.react',['BUIInsightsHoverCard.react','BUIInsightsTheme','InsightsChartWithHoverCard.react','immutable','React'],(function a(b,c,d,e,f,g){'use strict';var h,i,j=c('immutable').OrderedSet,k=c('React').PropTypes;h=babelHelpers.inherits(l,c('React').PureComponent);i=h&&h.prototype;l.prototype.render=function(){var m=this.props,n=m.auxiliaryItems,o=m.children,p=m.displayClosestSeriesItemOnly,q=m.hoverCardBehaviors,r=m.hoverCardPosition,s=m.onHoverCardToggle,t=babelHelpers.objectWithoutProperties(m,['auxiliaryItems','children','displayClosestSeriesItemOnly','hoverCardBehaviors','hoverCardPosition','onHoverCardToggle']);return (c('React').createElement(c('InsightsChartWithHoverCard.react'),babelHelpers['extends']({},t,{chart:o,position:r,theme:c('BUIInsightsTheme')}),c('React').createElement(c('BUIInsightsHoverCard.react'),{auxiliaryItems:n,behaviors:q,displayClosestSeriesItemOnly:p,onToggle:s})));};function l(){h.apply(this,arguments);}l.propTypes={auxiliaryItems:k.instanceOf(j),children:k.node,displayClosestSeriesItemOnly:k.bool,formatterFactory:k.func,hoverCardBehaviors:k.object,hoverCardPosition:k.oneOf(['above','below','left','right']),items:k.instanceOf(j).isRequired,onHoverCardToggle:k.func,targetShapeTypes:c('InsightsChartWithHoverCard.react').propTypes.targetShapeTypes,title:k.node,titleElementGetter:k.func,titleKey:k.string};f.exports=l;}),null);
  __d('CandelaPathUtils',[],(function a(b,c,d,e,f,g){'use strict';function h(i,j,k){var l=arguments.length<=3||arguments[3]===undefined?0:arguments[3],m=2*Math.PI/k,n=[],o=void 0;for(var p=0;p<k;p++){o=p*m+l;n.push({x:i.x+j*Math.cos(o),y:i.y+j*Math.sin(o)});}return n;}f.exports={createPolygon:h};}),null);
  __d('CandelaHexAnchorAnnotation.react',['CandelaInteractivePath.react','CandelaPathUtils','React','ReactART','CandelaUtils'],(function a(b,c,d,e,f,g){'use strict';var h,i,j=c('React').PropTypes,k=c('ReactART').Group,l=c('CandelaUtils').art.createShape,m=c('CandelaPathUtils').createPolygon;h=babelHelpers.inherits(n,c('React').PureComponent);i=h&&h.prototype;n.prototype.render=function(){var o=this.props,p=o.activeStyle,q=o.center,r=o.hoverStyle,s=o.isActive,t=o.isHovered,u=o.onShapeClick,v=o.onShapeDrag,w=o.onShapeDragEnd,x=o.onShapeDragStart,y=o.onShapeEnter,z=o.onShapeLeave,aa=o.regionID,ba=o.style,ca=void 0;if(ba.radius===0)return c('React').createElement(k,null);if(s||t)ca=l(m(q,ba.radius-3,6,Math.PI/2),true,{fill:s?p.stroke:r.stroke,opacity:s?p.opacity:r.opacity});return (c('React').createElement(k,null,c('React').createElement(c('CandelaInteractivePath.react'),{closePath:true,hoverStyle:s?p:r,hoverThreshold:1,onShapeClick:u,onShapeDrag:v,onShapeDragEnd:w,onShapeDragStart:x,onShapeEnter:y,onShapeLeave:z,points:m(q,ba.radius,6,Math.PI/2),regionID:aa,style:s?p:ba}),ca));};function n(){h.apply(this,arguments);}n.propTypes={activeStyle:j.object.isRequired,center:j.shape({x:j.number.isRequired,y:j.number.isRequired}).isRequired,hoverStyle:j.object.isRequired,isActive:j.bool,isHovered:j.bool,onShapeClick:j.func,onShapeDrag:j.func,onShapeDragEnd:j.func,onShapeDragStart:j.func,onShapeEnter:j.func,onShapeLeave:j.func,regionID:j.string,style:j.object.isRequired};f.exports=n;}),null);
  __d('CandelaAnchorAnnotations.react',['CandelaConstants','CandelaHexAnchorAnnotation.react','immutable','CandelaPureRenderMixin','React','ReactART','CandelaTheme','CandelaUtils'],(function a(b,c,d,e,f,g){'use strict';var h=c('CandelaConstants').Placement,i=c('CandelaConstants').PseudoClass,j=c('CandelaConstants').ShapeType,k=c('immutable').List,l=c('React').PropTypes,m=c('ReactART').Group,n=c('CandelaUtils').data,o=n.classNamesToSelector,p=n.getClassNamesFromInputString,q=c('React').createClass({displayName:'CandelaAnchorAnnotations',mixins:[c('CandelaPureRenderMixin')],contextTypes:{scales:l.object,theme:l.instanceOf(c('CandelaTheme'))},propTypes:{anchorElement:l.func.isRequired,annotations:l.instanceOf(k).isRequired,placement:l.oneOf([h.BOTTOM,h.TOP]).isRequired,selectedIndex:l.number},componentWillReceiveProps:function r(s){var t=s.selectedIndex;if(t!=null)this.setState({activeIndex:t});},getDefaultProps:function r(){return {anchorElement:c('CandelaHexAnchorAnnotation.react')};},getInitialState:function r(){return {activeIndex:this.props.selectedIndex,dragIndex:null,dragX:null,hoverIndex:-1};},_handleShapeClick:function r(s,t,u,event){var v=s[t].index;if(this.state.activeIndex===v){s[t].active=false;this.setState({activeIndex:-1,hoverIndex:v});}else{s[t].active=true;this.setState({activeIndex:v,hoverIndex:-1});}this._handleShapeEvent(s,u,event);},_handleShapeDrag:function r(event){var s=this.props,t=s.x,u=s.width,v=Math.min(Math.max(t,event.x),t+u);this.setState({dragX:v});},_handleShapeDragEnd:function r(){this.setState({dragIndex:null,dragX:null});},_handleShapeDragStart:function r(s){this.setState({dragIndex:s});},_handleShapeEnter:function r(s,t,u,event){this.setState({hoverIndex:s[t].index});this._handleShapeEvent(s,u,event);},_handleShapeLeave:function r(s,t,u,event){this.setState({hoverIndex:-1});this._handleShapeEvent(s,u,event);},_handleShapeEvent:function r(s,t,event){event.target=t;event.data=babelHelpers['extends']({},s,event.data);},_resizeScales:function r(){var s=this.props,t=s.annotations,u=s.width,v=s.x,w=this.context.scales,x={};t.forEach(function(y){var z=y.variableName;x[z]=w[z].set('output',[v,v+u]);});return x;},render:function r(){var s=this.props,t=s.anchorElement,u=s.annotations,v=s.height,w=s.placement,x=s.y,y=this.context.theme,z=this.state,aa=z.activeIndex,ba=z.dragIndex,ca=z.dragX,da=z.hoverIndex,ea=this._resizeScales(),fa=j.ANNOTATION+'>'+j.ANCHOR_ANNOTATION+('[placement="'+w+'"]'),ga=void 0,ha=u.map(function(ia){var ja=ia.draggable,ka=ia.index,la=ia.variableName,ma=ia.value,na=ia.className,oa=p(na);if(w&&ia.placement&&ia.placement!==w)return null;var pa=ea[la],qa=pa.convert(ma),ra=aa===ka,sa=da===ka||ba===ka,ta=fa+(ja?'[draggable="true"]':'')+o(oa);if(ra)ta+=i.ACTIVE;if(ka===ba&&ca!=null){ta+=i.DRAG;var ua=y.getHoverStyle(ta+i.REFERENCE);ga=c('React').createElement(t,{activeStyle:ua,center:{x:ca,y:x+v/2},hoverStyle:ua,isActive:ra,isHovered:sa,style:ua});}var va=y.getHoverStyle(ta),wa=ba===ka?va:y.getStyle(ta),xa={};xa[la]={index:ka,scale:pa,value:ia.value};var ya={style:wa,shapeType:j.ANCHOR_ANNOTATION},za=babelHelpers['extends']({},ya,{style:va});return c('React').createElement(t,{activeStyle:va,center:{x:qa,y:x+v/2},hoverStyle:va,isActive:ra,isHovered:sa,key:la+'-annotation-anchor-'+ka,onShapeClick:this._handleShapeClick.bind(this,xa,la,za),onShapeDrag:this._handleShapeDrag,onShapeDragEnd:this._handleShapeDragEnd,onShapeDragStart:this._handleShapeDragStart.bind(this,ka),onShapeEnter:this._handleShapeEnter.bind(this,xa,la,ya),onShapeLeave:this._handleShapeLeave.bind(this,xa,la,za),regionID:la+'-annotation-anchor-or-line-'+ka,style:wa});}.bind(this));return (c('React').createElement(m,null,ha,ga));}});f.exports=q;}),null);
  __d('CandelaAreas.react',['CandelaCategoryScale','CandelaConstants','CandelaGlobalThemeRegistry','immutable','CandelaInteractivePath.react','CandelaPureRenderMixin','React','ReactART','CandelaResizeScalesMixin','CandelaStructs','CandelaTheme','CandelaUtils','getObjectValues'],(function a(b,c,d,e,f,g){'use strict';var h=c('ReactART').ClippingRectangle,i=c('ReactART').Group,j=c('immutable').Map,k=c('immutable').OrderedSet,l=c('immutable').Set,m=c('React').PropTypes,n=c('CandelaConstants').Attribute,o=c('CandelaConstants').Placement,p=c('CandelaConstants').PseudoClass,q=c('CandelaConstants').ShapeType,r=c('CandelaConstants').Style,s=c('CandelaConstants').Visibility,t=c('CandelaStructs').Threshold,u=c('CandelaUtils').data,v=u.classNamesToSelector,w=u.computeHighlightPseudoClass,x=u.getClassNamesFromDataRow,y=u.getClassNamesFromInputString;c('CandelaGlobalThemeRegistry').register({type:q.AREA,attributes:[n.PLACEMENT,n.SERIES],pseudoClasses:[p.GREATER_THAN,p.HIGHLIGHTED,p.HOVER,p.LESS_THAN,p.MUTED,p.PROXIMITY],styles:[r.FILL,r.OPACITY]});var z=c('React').createClass({displayName:'CandelaAreas',mixins:[c('CandelaPureRenderMixin'),c('CandelaResizeScalesMixin')],contextTypes:{data:m.instanceOf(k),scales:m.object,schema:m.instanceOf(j),theme:m.instanceOf(c('CandelaTheme'))},propTypes:{height:m.number.isRequired,highlights:m.instanceOf(l),placement:m.oneOf(c('getObjectValues')(o)),plotX:m.string.isRequired,plotY:m.instanceOf(k).isRequired,threshold:m.instanceOf(t),width:m.number.isRequired,x:m.number.isRequired,y:m.number.isRequired},getDefaultProps:function aa(){return {height:0,placement:o.NONE,width:0,x:0,y:0};},_createPaths:function aa(ba){var ca=this.props,da=ca.highlights,ea=ca.plotX,fa=ca.plotY,ga=this.scales,ha=this.context.schema,ia={},ja=[],ka=void 0,la={},ma=ga[ea],na=ma instanceof c('CandelaCategoryScale')?Math.round(ma.props.outputStepInterval/2):0;ba.forEach(function(oa,pa){var qa=ba[pa+1],ra=x(qa),sa=ka!=null&&!ka.equals(ra),ta=ma.convert(oa[ea])+na;fa.forEach(function(ua){var va=oa[ea]===null,wa=ua.size>1&&(va||ua.some(function(za){return oa[za]===null;}));if(va||wa){ua.forEach(function(za){return ia[za]=null;});return;}var xa=void 0,ya=0;ua.forEach(function(za){var ab=ha.get(za).intervalOf;if(ab){if(oa[za]===null||oa[ab]===null){ia[za]=null;return;}}else if(oa[za]===null){ia[za]=null;return;}else if(oa[za]===undefined)return;var bb=void 0;if(qa){var cb=w(da,za,qa[ea]);bb=l([cb]);}else bb=l();var db=la[za]!=null&&!la[za].equals(bb);if(!ia[za]){var eb={classNames:ra,points:[],pseudoClasses:bb,seriesName:za};ia[za]=eb;ja.push(eb);}var fb=ga[za],gb=fb instanceof c('CandelaCategoryScale')?Math.round(fb.props.outputStepInterval/2):0;if(!xa)xa={x:ta,y:fb.convert(fb.props.origin)+gb};if(ab){if(oa[ab]){var hb={x:ta,y:fb.convert(oa[ab])+gb};ia[za].points.unshift(hb);if(oa[za]===undefined)return;}}else ia[za].points.unshift(xa);ya+=oa[za];var ib={x:ta,y:fb.convert(ya)+gb};ia[za].points.push(ib);if(pa!==ba.length-1&&(sa||db)){var jb={classNames:ra,points:[xa,ib],pseudoClasses:bb,seriesName:za};ia[za]=jb;ja.push(jb);}xa=ib;la[za]=bb;});});ka=ra;});return ja;},_handleShapeEvent:function aa(ba,ca,event){var da=this.props.plotX,ea=event.x,fa=event.y,ga=this.scales,ha=ga[da],ia=ga[ba],ja={};ja[da]={scale:ha,value:ha.invert(ea)};ja[ba]={scale:ia,value:ia.invert(fa)};event.target=ca;event.data=babelHelpers['extends']({},event.data,ja);},_renderAreas:function aa(ba,ca,da,ea){var fa=this.context,ga=fa.schema,ha=fa.theme,ia=this.props,ja=ia.placement,ka=ia.threshold,la=ka?y(ka.get('className')):l(),ma=0,na=ba.map(function(oa,pa){var qa=oa.classNames,ra=oa.points,sa=oa.seriesName,ta=oa.pseudoClasses;ta=ta.add(ea);var ua=y(ga.get(sa).className),va=v(qa.union(ua).union(la)),wa=ga.get(sa).comparisonFor||ga.get(sa).intervalOf||sa,xa=q.AREA+va+('[series="'+wa+'"]')+('[placement="'+ja+'"]')+ta.join(''),ya=ha.getHoverStyle(xa),za=ha.getProximityStyle(xa),ab=ha.getStyle(xa);if(ab.visibility===s.HIDDEN)return null;ma=Math.max(ma,ab.strokeWidth);var bb=void 0,cb=void 0;if(da){var db={shapeType:q.AREA,style:ab},eb=babelHelpers['extends']({},db,{style:ya});bb=this._handleShapeEvent.bind(this,sa,db);cb=this._handleShapeEvent.bind(this,sa,eb);}return (c('React').createElement(c('CandelaInteractivePath.react'),{addHitRegion:da,hoverStyle:ya,key:sa+'-area-'+pa,onShapeActive:bb,onShapeClick:cb,onShapeDown:cb,onShapeEnter:bb,onShapeLeave:cb,onShapeUp:cb,points:ra,proximityStyle:za,regionID:sa+'-area',style:ab}));}.bind(this),this);return (c('React').createElement(h,ca,na));},render:function aa(){var ba=this.context.data,ca=this.props,da=ca.height,ea=ca.plotY,fa=ca.threshold,ga=ca.width,ha=ca.x,ia=ca.y,ja=this._createPaths(ba.toArray());if(fa){var ka=ea.first().first(),la=this.scales[ka].convert(fa.get('value')),ma={height:la-ia,width:ga,x:ha,y:ia},na={height:ia+da-la,width:ga,x:ha,y:la};return (c('React').createElement(i,null,this._renderAreas(ja,ma,true,p.GREATER_THAN),this._renderAreas(ja,na,false,p.LESS_THAN)));}else return this._renderAreas(ja,{height:da,width:ga,x:ha,y:ia},true,p.NONE);}});f.exports=z;}),null);
  __d('CandelaDoubleCircularPoint.react',['Circle.art','CandelaConstants','React','ReactART','CandelaStyles'],(function a(b,c,d,e,f,g){'use strict';var h,i,j=c('CandelaConstants').Style,k=c('ReactART').Group;h=babelHelpers.inherits(l,c('React').Component);i=h&&h.prototype;l.prototype.render=function(){var m=this.props,n=m.fill,o=m.left,p=m.radius,q=m.stroke,r=m.strokeWidth,s=m.top;if(!n&&!q)return c('React').createElement(k,null);return (c('React').createElement(k,null,c('React').createElement(c('Circle.art'),{fill:n,radius:p,stroke:q,strokeWidth:r,x:o,y:s}),c('React').createElement(c('Circle.art'),{radius:p-1,stroke:'#fff',strokeWidth:1,x:o,y:s})));};function l(){h.apply(this,arguments);}l.propTypes=c('CandelaStyles').getPropTypes(j.FILL,j.RADIUS,j.STROKE,j.STROKE_DASHARRAY,j.STROKE_LINECAP,j.STROKE_WIDTH);l.className='point';f.exports=l;}),null);
  __d('CandelaGaps.react',['CandelaCategoryScale','CandelaConstants','immutable','CandelaPlatformConstants','CandelaPureRenderMixin','React','ReactART','Rectangle.art','CandelaResizeScalesMixin','CandelaScale','CandelaTheme'],(function a(b,c,d,e,f,g){'use strict';var h=c('CandelaPlatformConstants').GAPS_FILL,i=c('ReactART').Group,j=c('immutable').Map,k=c('immutable').OrderedSet,l=c('immutable').Set,m=c('React').PropTypes,n=c('CandelaScale').getExtentValue,o=c('CandelaConstants').ShapeType,p=c('CandelaConstants').PseudoClass,q=c('React').createClass({displayName:'CandelaGaps',mixins:[c('CandelaPureRenderMixin'),c('CandelaResizeScalesMixin')],contextTypes:{data:m.instanceOf(k),scales:m.object,schema:m.instanceOf(j),theme:m.instanceOf(c('CandelaTheme'))},propTypes:{plotX:m.instanceOf(l).isRequired,plotY:m.instanceOf(k).isRequired},statics:{hasValidData:function r(s,t,u,v,w){var x=t.toIndexedSeq().get(s);return x[u]!==null&&v.some(function(y){return (y.every(function(z){var aa=x[z]!==null,ba=w?w.get(z).intervalOf:null;if(ba)aa=aa&&x[ba]!==null;return aa;}));});}},_renderGap:function r(s,t,u,v,w,x,y){return (c('React').createElement(i,{key:u},c('React').createElement(c('Rectangle.art'),{fill:s,height:t,opacity:v,width:w,x:x,y:y}),c('React').createElement(c('Rectangle.art'),{fill:h,height:t,opacity:v,width:w,x:x,y:y})));},render:function r(){var s=this.context,t=s.data,u=s.schema,v=s.theme,w=this.props,x=w.height,y=w.plotX,z=w.plotY,aa=w.y,ba=this.scales,ca=v.getStyle(o.GAP),da=v.getStyle(o.GAP+p.POINT),ea=v.getStyle(o.GAP+p.SEGMENT),fa=[],ga=t.size;y.forEach(function(ha){var ia=ba[ha],ja=ia.props,ka=ia instanceof c('CandelaCategoryScale')?Math.round(n(ja.output)/ja.steps.size/2):0,la=void 0,ma=void 0;if(ga<2)return;var na=t.toArray(),oa=0,pa=0;while(oa<ga){while(oa<ga&&!q.hasValidData(oa,t,ha,z,u))oa++;if(oa!==pa){la=pa===0?ia.convert(na[pa][ha]):ia.convert(na[pa-1][ha])+ka;ma=oa===ga?ia.convert(na[oa-1][ha])+ka*2:ia.convert(na[oa][ha])+ka;if(oa+1<ga){var qa=!q.hasValidData(oa+1,t,ha,z);ma-=qa?da.marginRight:ea.marginRight;}if(pa-2>-1){var ra=!q.hasValidData(pa-2,t,ha,z);la+=ra?da.marginLeft:ea.marginLeft;}fa.push(this._renderGap(ca.fill,x,ma+'-'+la+'-gap-beginning',ca.opacity,ma-la,la,aa));pa=oa;}else{oa++;pa++;}}}.bind(this));return (c('React').createElement(i,null,fa));}});f.exports=q;}),null);
  __d('CandelaGuideLine.react',['CandelaConstants','React','ReactART','CandelaStyles','CandelaUtils'],(function a(b,c,d,e,f,g){'use strict';var h,i,j=c('ReactART').Path,k=c('ReactART').Shape,l=c('CandelaConstants').Style,m=c('CandelaUtils').art.drawDashedPath;h=babelHelpers.inherits(n,c('React').Component);i=h&&h.prototype;n.prototype.render=function(){var o=this.props,p=o.bottom,q=o.left,r=o.right,s=o.stroke,t=o.strokeDasharray,u=o.strokeLinecap,v=o.strokeWidth,w=o.top;if(q===r&&w===p)return c('React').createElement(k,null);var x=j();if(t){m(x,t,{x:q,y:w},{x:r,y:p});}else x.moveTo(q,w).lineTo(r,p);return (c('React').createElement(k,{d:x,stroke:s,strokeCap:u,strokeWidth:v}));};function n(){h.apply(this,arguments);}n.propTypes=c('CandelaStyles').getPropTypes(l.BOTTOM,l.LEFT,l.RIGHT,l.STROKE,l.STROKE_DASHARRAY,l.STROKE_LINECAP,l.STROKE_WIDTH,l.TOP);n.className='line';f.exports=n;}),null);
  __d('CandelaGuideUtils',['CandelaCategoryScale','immutable','CandelaScale'],(function a(b,c,d,e,f,g){'use strict';var h=c('immutable').Set,i=c('CandelaScale').getExtentValue;function j(m,n,o,p){var q=[],r=Infinity,s=Infinity,t=void 0;n.forEach(function(u,v){if(u<o||u>p)return;var w=Math.round(Math.abs(m-u));if(w<r){r=w;s=v;t=u;}});q.push({diff:r,index:s,x:t});return q;}function k(m){var n=Infinity,o=void 0;m.forEach(function(p){if(n>p.diff){n=p.diff;o=p.x;}});return m.filter(function(p){return p.x===o;});}var l={getHits:function m(n,o,p,q){return k(j(n,o,p,q));},createActiveCacheKey:function m(n){return n.map(function(o){return o.index;}).join('.');},createActiveSeries:function m(n,o){var p=n.reduce(function(r,s){var t=r.minCoord,u=r.minDiff,v=Math.round(Math.abs(o-s.y));if(v<u){t=s;u=v;}return {minCoord:t,minDiff:u};},{minCoord:null,minDiff:Number.MAX_SAFE_INTEGER}),q=p.minCoord;return q?q.series:null;},getCoordsAndEventData:function m(n,o,p,q,r,s,t){var u={},v=s[q],w=v instanceof c('CandelaCategoryScale')?i(v.props.output)/v.props.steps.size:0,x=Math.round(w/2);u[q]={scale:v};var y=o(v),z=[];p.forEach(function(aa){var ba=n[aa.index];u[q].value=ba[q];r.forEach(function(ca){if(ba[q]===undefined||ba[q]===null&&!t||ca.some(function(ea){return (ba[ea]===undefined||ba[ea]===null&&!t);}))return;var da=0;ca.forEach(function(ea){var fa=s[ea],ga=fa instanceof c('CandelaCategoryScale')?i(fa.props.output)/fa.props.steps.size:0,ha=Math.round(ga/2);u[ea]={scale:fa};u[ea].value=ba[ea];if(ba[q]!=null&&ca.every(function(ia){return ba[ia]!=null;})){da+=ba[ea];z.push({content:y(ba[q]),data:ba,series:ea,x:v.convert(ba[q])+x,y:fa.convert(da)+ha});}});});});return {coords:h(z),eventData:u};}};f.exports=l;}),null);
  __d('CandelaGuides.react',['invariant','CandelaConstants','CandelaGuideUtils','immutable','CandelaInteractiveRect.react','CandelaPureRenderMixin','React','ReactART','CandelaResizeScalesMixin','CandelaStructs','CandelaTheme','CandelaUtils','debounceCore','getObjectValues'],(function a(b,c,d,e,f,g,h){'use strict';var i=c('CandelaConstants').PseudoClass,j=c('CandelaConstants').ShapeType,k=c('CandelaConstants').Visibility,l=c('ReactART').Group,m=c('CandelaConstants').EventSource,n=c('CandelaConstants').Placement,o=c('immutable').Map,p=c('immutable').OrderedSet,q=c('immutable').Set,r=c('React').PropTypes,s=c('CandelaStructs').Threshold,t=c('CandelaUtils').data,u=t.classNamesToSelector,v=t.getClassNamesFromInputString;function w(y,z,aa){var ba=aa[y];return z.toArray().map(function(ca){return ba.convert(ca[y]);});}var x=c('React').createClass({displayName:'CandelaGuides',mixins:[c('CandelaResizeScalesMixin'),c('CandelaPureRenderMixin')],_isLongPressing:false,_handleShapeLeaveDebounce:function y(){},_xValues:null,contextTypes:{data:r.instanceOf(p),scales:r.object,schema:r.instanceOf(o),theme:r.instanceOf(c('CandelaTheme'))},propTypes:{constrain:r.bool,guideX:r.oneOfType([r.element,r.array,r.object]),guideY:r.oneOfType([r.element,r.array,r.object]),includeNullValueInEvent:r.bool,markFormatterFactory:r.func,placement:r.oneOf(c('getObjectValues')(n)),plotX:r.string.isRequired,plotY:r.instanceOf(p).isRequired,regionID:r.string,surfaceMouseOutTimeout:r.number,threshold:r.instanceOf(s)},getDefaultProps:function y(){return {constrain:false,markFormatterFactory:function z(aa){return function(ba){return String(ba);};},placement:n.NONE,surfaceMouseOutTimeout:300};},getInitialState:function y(){return {activeCacheKey:null,activeSeries:null,coords:null};},componentWillMount:function y(){var z=this.props,aa=z.plotX,ba=z.surfaceMouseOutTimeout,ca=this.context.data;this._xValues=w(aa,ca,this.scales);this._handleShapeLeaveDebounce=c('debounceCore')(this._handleShapeLeave,ba);},componentWillUpdate:function y(z,aa,ba){var ca=z.plotX,da=ba.data;this._xValues=w(ca,da,this.scales);},componentWillUnmount:function y(){this._handleShapeLeaveDebounce.reset();},_getTargetCoords:function y(z,event){var aa=void 0;if(event.target&&event.target.coords){aa=z.union(event.target.coords);}else aa=z;return aa.map(function(ba){var ca=ba.series,da=ba.x,ea=ba.y;return {series:ca,x:da,y:ea};});},_handleShapeClick:function y(z,aa){var ba=this.props,ca=ba.includeNullValueInEvent,da=ba.markFormatterFactory,ea=ba.placement,fa=ba.plotX,ga=ba.plotY,ha=ba.width,ia=ba.x;if(aa.x<ia||aa.x>ia+ha)return;var ja=c('CandelaGuideUtils').getHits(aa.x,this._xValues,ia,ia+ha),ka=c('CandelaGuideUtils').getCoordsAndEventData(this.context.data.toArray(),da,ja,fa,ga,this.scales,ca),la=ka.coords,ma=ka.eventData;aa.target=babelHelpers['extends']({},aa.target,z);if(ea!==n.CENTER)aa.target.coords=this._getTargetCoords(la,aa);aa.data=babelHelpers['extends']({},aa.data,ma);},_handleShapeHover:function y(z,aa){var ba=this.props,ca=ba.includeNullValueInEvent,da=ba.markFormatterFactory,ea=ba.placement,fa=ba.plotX,ga=ba.plotY,ha=ba.width,ia=ba.x;if(aa.x<ia||aa.x>ia+ha)return;if(aa.source===m.TOUCH&&!this._isLongPressing)return;var ja=c('CandelaGuideUtils').getHits(aa.x,this._xValues,ia,ia+ha),ka=c('CandelaGuideUtils').createActiveCacheKey(ja),la=c('CandelaGuideUtils').getCoordsAndEventData(this.context.data.toArray(),da,ja,fa,ga,this.scales,ca),ma=la.coords,na=la.eventData;aa.data=babelHelpers['extends']({},aa.data,na);var oa=c('CandelaGuideUtils').createActiveSeries(ma,aa.y);if(ka===this.state.activeCacheKey&&oa===this.state.activeSeries){aa.stopPropagation();return;}this.setState({coords:ma,activeCacheKey:ka,activeSeries:oa});aa.target=babelHelpers['extends']({},aa.target,z);if(ea!==n.CENTER)aa.target.coords=this._getTargetCoords(ma,aa);},_handleShapeLongPress:function y(z,aa){if(aa.source===m.TOUCH){this._isLongPressing=true;this._handleShapeHover(z,aa);}},_handleShapeUp:function y(z){if(z.source===m.TOUCH){this._isLongPressing=false;this.setState({activeCacheKey:null,activeSeries:null,coords:null});}},_handleShapeLeave:function y(z){if(z.source!==m.TOUCH){this._isLongPressing=false;this.setState({activeCacheKey:null,activeSeries:null,coords:null});}},_renderGuides:function y(z,aa){var ba=this.props,ca=ba.placement,da=ba.threshold,ea=this.context,fa=ea.schema,ga=ea.theme,ha=this.state.coords;if(ha&&ha.size)return c('React').Children.map(z,function(ia){var ja=ia.type;ja.className||h(0);return ha&&ha.map(function(ka){var la=void 0,ma=void 0,na=void 0,oa=void 0,pa=ka.content,qa=ka.data,ra=ka.series,sa=ka.x,ta=ka.y,ua=v(fa.get(ra).className),va=da?v(da.get('className')):q(),wa=i.NONE;if(da)if(qa[ra]>da.get('value')){wa=i.GREATER_THAN;}else if(qa[ra]===da.get('value')){wa=i.EQUAL_TO;}else wa=i.LESS_THAN;var xa=fa.get(ra).comparisonFor||ra,ya=j.GUIDE+('[placement="'+ca+'"]>'+ja.className)+u(ua.union(va))+('[series="'+xa+'"]')+wa,za=ra===this.state.activeSeries?ga.getActiveStyle(ya):ga.getStyle(ya);if(za.visibility===k.HIDDEN)return null;if(za.radius)za.height=za.width=za.radius;if(aa){ma=sa;na=ma+za.width;oa=this.props.y;la=oa+this.props.height;if(za.height){oa=ta;la=oa+za.height;}}else{oa=ta;la=oa+za.height;ma=this.props.x;na=ma+this.props.width;if(za.width){ma=sa;na=ma+za.width;}}la-=za.marginBottom-za.marginTop;ma+=za.marginLeft-za.marginRight;na-=za.marginRight-za.marginLeft;oa+=za.marginTop-za.marginBottom;if(this.props.constrain){var ab=0,bb=0;if(ma<this.props.x){ab=this.props.x-ma;}else if(na>this.props.x+this.props.width)ab=this.props.x+this.props.width-na;if(oa<this.props.y){bb=this.props.y-oa;}else if(la>this.props.y+this.props.height)bb=this.props.y+this.props.height-la;la+=bb;ma+=ab;oa+=bb;na+=ab;}return c('React').cloneElement(ia,babelHelpers['extends']({},za,{bottom:la,content:pa,left:ma,right:na,top:oa}));}.bind(this));}.bind(this));return null;},render:function y(){var z=this.props,aa=z.guideX,ba=z.guideY,ca=z.height,da=z.placement,ea=z.regionID,fa=z.width,ga=z.x,ha=z.y,ia=this.context.theme,ja='guide[placement="'+da+'"]',ka=ia.getStyle(ja),la=ia.getHoverStyle(ja),ma={shapeType:j.GUIDE};return (c('React').createElement(l,null,c('React').createElement(c('CandelaInteractiveRect.react'),{height:ca,hoverStyle:la,onShapeClick:this._handleShapeClick.bind(this,ma),onShapeHover:this._handleShapeHover.bind(this,ma),onShapeLeave:this._handleShapeLeaveDebounce,onShapeLongPress:this._handleShapeLongPress.bind(this,ma),onShapeUp:this._handleShapeUp,regionID:ea,style:ka,width:fa,x:ga,y:ha}),aa&&this._renderGuides(aa,true),ba&&this._renderGuides(ba)));}});f.exports=x;}),null);
  __d('CandelaLineAnnotations.react',['CandelaConstants','CandelaGlobalThemeRegistry','CandelaInteractivePath.react','immutable','CandelaPureRenderMixin','React','ReactART','CandelaTheme','CandelaUtils','clamp','getObjectValues'],(function a(b,c,d,e,f,g){'use strict';var h=c('CandelaConstants').Attribute,i=c('CandelaConstants').Placement,j=c('CandelaConstants').PseudoClass,k=c('CandelaConstants').ShapeType,l=c('CandelaConstants').Style,m=c('immutable').List,n=c('React').PropTypes,o=c('ReactART').Group,p=c('ReactART').Path,q=c('ReactART').Shape,r=c('CandelaUtils').data,s=r.classNamesToSelector,t=r.getClassNamesFromInputString;c('CandelaGlobalThemeRegistry').register({type:k.LINE_ANNOTATION,attributes:[h.DRAGGABLE,h.PLACEMENT],parentType:k.ANNOTATION,pseudoClasses:[j.ACTIVE,j.DRAG,j.HOVER,j.PROXIMITY,j.REFERENCE],styles:[l.OPACITY,l.STROKE,l.STROKE_DASHARRAY,l.STROKE_WIDTH]});var u=c('React').createClass({displayName:'LineAnnotations',mixins:[c('CandelaPureRenderMixin')],contextTypes:{scales:n.object,theme:n.instanceOf(c('CandelaTheme'))},propTypes:{annotations:n.instanceOf(m).isRequired,hoverThreshold:n.number,placement:n.oneOf(c('getObjectValues')(i)),selectedIndex:n.number},getDefaultProps:function v(){return {hoverThreshold:5,placement:i.NONE};},getInitialState:function v(){return {dragIndex:null,dragX:null};},_handleShapeDrag:function v(w,x,y,event){var z,aa=this.props,ba=aa.x,ca=aa.width,da=c('clamp')(event.x,ba,ba+ca);x.value=x.scale.invert(da);event.target=y;event.data=babelHelpers['extends']({},event.data,(z={},z[w]=x,z));this.setState({dragX:da});},_handleShapeDragEnd:function v(w,x,y,event){var z,aa=this.props,ba=aa.x,ca=aa.width,da=c('clamp')(event.x,ba,ba+ca);x.value=x.scale.invert(da);event.target=y;event.data=babelHelpers['extends']({},event.data,(z={},z[w]=x,z));this.setState({dragIndex:null,dragX:null});},_handleShapeDragStart:function v(w,x,y,event){var z;event.target=y;event.data=babelHelpers['extends']({},event.data,(z={},z[w]=x,z));this.setState({dragIndex:x.index});},_resizeScales:function v(){var w=this.props,x=w.annotations,y=w.width,z=w.x,aa=this.context.scales,ba={};x.forEach(function(ca){var da=ca.variableName;if(!ba[da])ba[da]=aa[da].set('output',[z,z+y]);});return ba;},render:function v(){var w=this.props,x=w.annotations,y=w.height,z=w.hoverThreshold,aa=w.placement,ba=w.selectedIndex,ca=w.y,da=this.context.theme,ea=this.state,fa=ea.dragIndex,ga=ea.dragX,ha=this._resizeScales(),ia=k.ANNOTATION+'>'+k.LINE_ANNOTATION+('[placement="'+aa+'"]'),ja=void 0,ka=x.map(function(la){var ma=la.draggable,na=la.index,oa=la.variableName,pa=la.value,qa=la.className,ra=t(qa);if(aa&&la.placement&&la.placement!==aa)return null;var sa=ia+(ma?'[draggable="true"]':'')+s(ra);if(na===ba)sa+=j.ACTIVE;if(na===fa&&ga!=null){sa+=j.DRAG;var ta=da.getHoverStyle(sa+j.REFERENCE),ua=ta.opacity,va=ta.stroke,wa=ta.strokeDasharray,xa=ta.strokeLinecap,ya=ta.strokeWidth,za=p().moveTo(ga,ca).lineTo(ga,ca+y);ja=c('React').createElement(q,{d:za,opacity:ua,stroke:va,strokeCap:xa,strokeDash:wa,strokeWidth:ya});}var ab=ha[oa],bb=ab.convert(pa),cb=[{x:bb,y:ca},{x:bb,y:ca+y}],db=da.getHoverStyle(sa),eb=fa===na?db:da.getStyle(sa),fb={active:na===ba,index:na,scale:ab,value:pa},gb={shapeType:k.LINE_ANNOTATION,style:db},hb=void 0,ib=void 0,jb=void 0;if(ma){hb=this._handleShapeDrag.bind(this,oa,fb,gb);ib=this._handleShapeDragEnd.bind(this,oa,fb,gb);jb=this._handleShapeDragStart.bind(this,oa,fb,gb);}return (c('React').createElement(c('CandelaInteractivePath.react'),{hoverStyle:db,hoverThreshold:z,key:oa+'-annotation-line-'+na,onShapeDrag:hb,onShapeDragEnd:ib,onShapeDragStart:jb,points:cb,regionID:oa+'-annotation-anchor-or-line-'+na,style:eb}));}.bind(this));return (c('React').createElement(o,null,ka,ja));}});f.exports=u;}),null);
  __d('CandelaLines.react',['CandelaCategoryScale','CandelaConstants','CandelaGlobalThemeRegistry','immutable','CandelaInteractivePath.react','CandelaPureRenderMixin','React','ReactART','CandelaResizeScalesMixin','CandelaStructs','CandelaTheme','CandelaUtils','getObjectValues'],(function a(b,c,d,e,f,g){'use strict';var h=c('ReactART').ClippingRectangle,i=c('ReactART').Group,j=c('immutable').Map,k=c('immutable').OrderedSet,l=c('immutable').Set,m=c('React').PropTypes,n=c('CandelaConstants').Attribute,o=c('CandelaConstants').Placement,p=c('CandelaConstants').PseudoClass,q=c('CandelaConstants').ShapeType,r=c('CandelaConstants').Style,s=c('CandelaConstants').Visibility,t=c('CandelaStructs').Threshold,u=c('CandelaUtils').data,v=u.classNamesToSelector,w=u.computeHighlightPseudoClass,x=u.getClassNamesFromDataRow,y=u.getClassNamesFromInputString;c('CandelaGlobalThemeRegistry').register({type:q.LINE,attributes:[n.PLACEMENT,n.SERIES],pseudoClasses:[p.GREATER_THAN,p.HIGHLIGHTED,p.HOVER,p.LESS_THAN,p.MUTED,p.PROXIMITY],styles:[r.OPACITY,r.STROKE,r.STROKE_DASHARRAY,r.STROKE_WIDTH]});var z=c('React').createClass({displayName:'CandelaLines',mixins:[c('CandelaPureRenderMixin'),c('CandelaResizeScalesMixin')],contextTypes:{data:m.instanceOf(k),scales:m.object,schema:m.instanceOf(j),theme:m.instanceOf(c('CandelaTheme'))},propTypes:{height:m.number.isRequired,highlights:m.instanceOf(l),placement:m.oneOf(c('getObjectValues')(o)),plotX:m.string.isRequired,plotY:m.instanceOf(k).isRequired,threshold:m.instanceOf(t),width:m.number.isRequired,x:m.number.isRequired,y:m.number.isRequired},getDefaultProps:function aa(){return {height:0,placement:o.NONE,width:0,x:0,y:0};},_createPaths:function aa(ba){var ca=this.props,da=ca.highlights,ea=ca.plotX,fa=ca.plotY,ga=this.scales,ha={},ia=[],ja={},ka=void 0,la=ga[ea],ma=la instanceof c('CandelaCategoryScale')?Math.round(la.props.outputStepInterval/2):0;ba.forEach(function(na,oa){var pa=ba[oa+1],qa=x(pa),ra=ka!=null&&!ka.equals(qa),sa=la.convert(na[ea])+ma;fa.forEach(function(ta){var ua=na[ea]===null,va=ta.size>1&&(ua||ta.some(function(xa){return na[xa]===null;}));if(ua||va){ta.forEach(function(xa){return ha[xa]=null;});return;}var wa=0;ta.forEach(function(xa){if(na[xa]===undefined)return;if(na[xa]===null){ha[xa]=null;return;}var ya=void 0;if(pa){var za=w(da,xa,pa[ea]);ya=l([za]);}else ya=l();var ab=ja[xa]!=null&&!ja[xa].equals(ya);if(!ha[xa]){var bb={classNames:qa,points:[],pseudoClasses:ya,seriesName:xa};ha[xa]=bb;ia.push(bb);}var cb=ga[xa],db=cb instanceof c('CandelaCategoryScale')?Math.round(cb.props.outputStepInterval/2):0;wa+=na[xa];var eb={x:sa,y:cb.convert(wa)+db};ha[xa].points.push(eb);if(oa!==ba.length-1&&(ra||ab)){var fb={classNames:qa,points:[eb],pseudoClasses:ya,seriesName:xa};ha[xa]=fb;ia.push(fb);}ja[xa]=ya;});});ka=qa;});return ia;},_handleShapeEvent:function aa(ba,ca,event){var da=this.props.plotX,ea=event.x,fa=event.y,ga=this.scales,ha=ga[da],ia=ga[ba],ja={};ja[da]={scale:ha,value:ha.invert(ea)};ja[ba]={scale:ia,value:ia.invert(fa)};event.target=ca;event.data=babelHelpers['extends']({},event.data,ja);},_renderLines:function aa(ba,ca,da,ea){var fa=this.context,ga=fa.schema,ha=fa.theme,ia=this.props,ja=ia.placement,ka=ia.threshold,la=ka?y(ka.get('className')):l(),ma=0,na=ba.map(function(oa,pa){var qa=oa.classNames,ra=oa.seriesName,sa=oa.points,ta=oa.pseudoClasses;ta=ta.add(ea);var ua=y(ga.get(ra).className),va=v(qa.union(ua).union(la)),wa=ga.get(ra).comparisonFor||ga.get(ra).intervalOf||ra,xa=q.LINE+va+('[series="'+wa+'"]')+('[placement="'+ja+'"]')+ta.join(''),ya=ha.getHoverStyle(xa),za=ha.getProximityStyle(xa),ab=ha.getStyle(xa);if(ab.visibility===s.HIDDEN)return null;if(sa.length===1){var bb=sa[0];sa=[{x:bb.x-ab.strokeWidth,y:bb.y},{x:bb.x+ab.strokeWidth,y:bb.y}];}ma=Math.max(ma,ab.strokeWidth);var cb=void 0,db=void 0;if(da){var eb={shapeType:q.LINE,style:ab},fb=babelHelpers['extends']({},eb,{style:ya});cb=this._handleShapeEvent.bind(this,ra,eb);db=this._handleShapeEvent.bind(this,ra,fb);}return (c('React').createElement(c('CandelaInteractivePath.react'),{addHitRegion:da,hoverStyle:ya,key:ra+'-line-'+pa,onShapeClick:db,onShapeDown:db,onShapeEnter:cb,onShapeLeave:db,onShapeUp:db,points:sa,proximityStyle:za,regionID:ra+'-line',style:ab}));}.bind(this),this);switch(ea){case p.NONE:ca.height+=ma;ca.y-=ma/2;break;case p.GREATER_THAN:ca.height+=ma/2;ca.y-=ma/2;break;case p.LESS_THAN:ca.height+=ma/2;break;}return (c('React').createElement(h,ca,na));},render:function aa(){var ba=this.context.data,ca=this.props,da=ca.height,ea=ca.plotY,fa=ca.threshold,ga=ca.width,ha=ca.x,ia=ca.y,ja=this._createPaths(ba.toArray());if(fa){var ka=ea.first().first(),la=this.scales[ka].convert(fa.get('value')),ma={height:la-ia,width:ga,x:ha,y:ia},na={height:ia+da-la,width:ga,x:ha,y:la};return (c('React').createElement(i,null,this._renderLines(ja,ma,true,p.GREATER_THAN),this._renderLines(ja,na,false,p.LESS_THAN)));}else return this._renderLines(ja,{height:da,width:ga,x:ha,y:ia},true,p.NONE);}});f.exports=z;}),null);
  __d('CandelaInteractivePoint.react',['Circle.art','CandelaConstants','CandelaInteractiveMixin','React'],(function a(b,c,d,e,f,g){'use strict';var h=c('CandelaConstants').Event,i=c('React').PropTypes,j=c('React').createClass({displayName:'CandelaInteractivePoint',mixins:[c('CandelaInteractiveMixin')],propTypes:{hoverStyle:i.object,proximityStyle:i.object,radius:i.number,style:i.object,x:i.number.isRequired,y:i.number.isRequired},getDefaultProps:function k(){return {style:{}};},getInitialState:function k(){return {hover:false,proximity:false};},_attachListeners:function k(){var l=this.props,m=l.hoverStyle,n=l.proximityStyle;if(m){this._attachSelfListener(h.SHAPE_ENTER,this._handleShapeEnter);this._attachSelfListener(h.SHAPE_LEAVE,this._handleShapeLeave);}if(n){this._attachSelfListener(h.SHAPE_ENTER_PROXIMITY,this._handleShapeEnterProximity);this._attachSelfListener(h.SHAPE_LEAVE_PROXIMITY,this._handleShapeLeaveProximity);}},_handleShapeEnter:function k(l){this.setState({hover:true});},_handleShapeEnterProximity:function k(l){this.setState({proximity:true});},_handleShapeLeave:function k(l){this.setState({hover:false});},_handleShapeLeaveProximity:function k(l){this.setState({proximity:false});},_resolveStyleProp:function k(l){var m=this.state,n=m.hover,o=m.proximity,p=this.props,q=p.hoverStyle,r=p.proximityStyle,s=p.style;if(n&&q&&q[l]!==undefined){return q[l];}else if(o&&r&&r[l]!==undefined){return r[l];}else if(s){return s[l];}else return null;},_buildPathImpl:function k(){var l=this.props,m=l.radius,n=l.x,o=l.y,p=m||Number(this._resolveStyleProp('radius'));this.addCommand('ellipse',n,o,p,p);},render:function k(){var l=this.props,m=l.radius,n=l.x,o=l.y,p=m||Number(this._resolveStyleProp('radius')),q=this._resolveStyleProp('fill'),r=this._resolveStyleProp('opacity'),s=this._resolveStyleProp('stroke'),t=this._resolveStyleProp('strokeWidth');if(!q&&!s)return null;return (c('React').createElement(c('Circle.art'),{fill:q,opacity:r,radius:p,stroke:s,strokeWidth:t,x:n,y:o}));}});f.exports=j;}),null);
  __d('CandelaMarkerAnnotations.react',['invariant','CandelaConstants','immutable','CandelaInteractivePoint.react','CandelaPureRenderMixin','React','ReactART','ReactFragment','CandelaResizeScalesMixin','CandelaTheme','CandelaUtils'],(function a(b,c,d,e,f,g,h){'use strict';var i=c('CandelaConstants').Placement,j=c('immutable').List,k=c('immutable').Map,l=c('immutable').OrderedSet,m=c('immutable').Set,n=c('React').PropTypes,o=c('ReactART').Group,p=c('CandelaUtils').data,q=p.classNamesToSelector,r=p.getClassNamesFromInputString,s=c('React').createClass({displayName:'CandelaMarkerAnnotations',mixins:[c('CandelaPureRenderMixin'),c('CandelaResizeScalesMixin')],contextTypes:{data:n.instanceOf(l),scales:n.object,schema:n.instanceOf(k),theme:n.instanceOf(c('CandelaTheme'))},propTypes:{annotations:n.instanceOf(j).isRequired,markerElement:n.func.isRequired,placement:n.oneOf([i.BOTTOM,i.TOP]),plotX:n.string.isRequired,plotY:n.instanceOf(l).isRequired},getDefaultProps:function t(){return {markerElement:c('CandelaInteractivePoint.react')};},_renderMarker:function t(u,v,w,x){var y=this.props,z=y.markerElement,aa=y.placement,ba=y.plotY,ca=this.context,da=ca.schema,ea=ca.theme,fa=0;ba.every(function(ma){fa=0;var na=false;ma.every(function(oa){fa+=x[oa];na=oa===w;return !na;});return !na;});var ga=this.scales[w],ha=ga.convert(fa),ia=r(da.get(w).className),ja='annotation>annotationmarker'+q(ia)+('[series='+w+']')+('[placement='+aa+']'),ka=ea.getHoverStyle(ja),la=ea.getStyle(ja);return c('React').createElement(z,{hoverStyle:ka,key:u,style:la,x:v,y:ha});},render:function t(){var u=this.props,v=u.annotations,w=u.plotX,x=u.plotY,y=this.context.data,z=this.scales[w],aa={},ba=x.flatten();v.forEach(function(ca,da){var ea=ca.dependentVariableName,fa=ca.variableName,ga=ca.value;if(ea&&!ba.contains(ea))return;w===fa||h(0);var ha=y.findEntry(function(la){return la[fa]===ga;});ha||h(0);var ia=ha[0],ja=z.convert(ga),ka=ea?m([ea]):ba;ka.forEach(function(la){var ma='annotation-marker-'+la+'-'+ia[la];aa[ma]=this._renderMarker(ma,ja,la,ia);}.bind(this));}.bind(this));return (c('React').createElement(o,null,c('ReactFragment').create(aa)));}});f.exports=s;}),null);
  __d('CandelaPoints.react',['invariant','CandelaCategoryScale','CandelaConstants','CandelaGlobalThemeRegistry','immutable','CandelaInteractivePoint.react','CandelaPureRenderMixin','React','ReactART','CandelaResizeScalesMixin','CandelaStructs','CandelaTheme','CandelaUtils','forEachObject','getObjectValues'],(function a(b,c,d,e,f,g,h){'use strict';var i=c('CandelaConstants').Attribute,j=c('CandelaConstants').Placement,k=c('CandelaConstants').PseudoClass,l=c('CandelaConstants').ShapeType,m=c('CandelaConstants').Style,n=c('CandelaConstants').Visibility,o=c('ReactART').Group,p=c('immutable').Map,q=c('immutable').Set,r=c('immutable').OrderedSet,s=c('React').PropTypes,t=c('CandelaStructs').Threshold,u=c('CandelaUtils').data,v=u.classNamesToSelector,w=u.computeHighlightPseudoClass,x=u.getClassNamesFromDataRow,y=u.getClassNamesFromInputString;c('CandelaGlobalThemeRegistry').register({type:l.POINT,attributes:[i.PLACEMENT,i.SERIES],pseudoClasses:[k.EQUAL_TO,k.DENSE,k.GREATER_THAN,k.HIGHLIGHTED,k.HOVER,k.LESS_THAN,k.MUTED,k.PROXIMITY],styles:[m.FILL,m.OPACITY,m.STROKE,m.STROKE_WIDTH]});var z=c('React').createClass({displayName:'CandelaPoints',mixins:[c('CandelaPureRenderMixin'),c('CandelaResizeScalesMixin')],contextTypes:{data:s.instanceOf(r),scales:s.object,schema:s.instanceOf(p),theme:s.instanceOf(c('CandelaTheme'))},propTypes:{height:s.number,highlights:s.instanceOf(q),minDensityThreshold:s.number,placement:s.oneOf(c('getObjectValues')(j)),plotX:s.string.isRequired,plotY:s.instanceOf(r).isRequired,plotSize:s.string,threshold:s.instanceOf(t),width:s.number,x:s.number.isRequired,y:s.number.isRequired},getDefaultProps:function aa(){return {height:0,highlights:q(),placement:j.NONE,width:0,x:0,y:0};},_createPaths:function aa(ba){var ca=this.props,da=ca.highlights,ea=ca.plotX,fa=ca.plotY,ga=this.scales,ha={},ia={},ja={},ka=ga[ea],la=ka instanceof c('CandelaCategoryScale')?Math.round(ka.props.outputStepInterval/2):0;ba.forEach(function(ma){var na=x(ma),oa=ka.convert(ma[ea])+la;fa.forEach(function(pa){var qa=ma[ea]===null,ra=pa.size>1&&(qa||pa.some(function(ta){return ma[ta]===null;}));if(qa||ra)return;var sa=0;pa.forEach(function(ta){if(ma[ta]==null)return;if(!ia[ta])ia[ta]=[];var ua=ga[ta],va=ua instanceof c('CandelaCategoryScale')?Math.round(ua.props.outputStepInterval/2):0;sa+=ma[ta];var wa=w(da,ta,ma[ea]),xa=q([wa]),ya={pseudoClasses:xa,x:oa,y:ua.convert(sa)+va};ia[ta].push({classNames:na,point:ya,row:ma});if(ja[ta]!=null){if(ha[ta]==null)ha[ta]=Infinity;ha[ta]=Math.min(ha[ta],Math.abs(oa-ja[ta]));}ja[ta]=oa;});});});return {minDensities:ha,paths:ia};},_handleShapeEvent:function aa(ba,ca,da,event){var ea=this.props,fa=ea.plotSize,ga=ea.plotX,ha=this.scales,ia=ha[ga],ja=ha[ca],ka={};ka[ga]={scale:ia,value:ba[ga]};ka[ca]={scale:ja,value:ba[ca]};if(fa&&ba[fa]!=null)ka[fa]={scale:ha[fa],value:ba[fa]};event.target=da;event.data=babelHelpers['extends']({},event.data,ka);},render:function aa(){var ba=this.context,ca=ba.data,da=ba.schema,ea=ba.theme,fa=this.props,ga=fa.minDensityThreshold,ha=fa.placement,ia=fa.plotSize,ja=fa.threshold,ka=this._createPaths(ca),la=ka.minDensities,ma=ka.paths,na=[];c('forEachObject')(ma,function(oa,pa){var qa=k.NONE;if(ga!=null&&la[pa]<ga)qa=k.DENSE;var ra=l.POINT+('[series="'+pa+'"]')+('[placement="'+ha+'"]')+qa,sa=ea.getStyle(ra);if(sa.visibility!==n.VISIBLE)return;var ta=y(da.get(pa).className);oa.forEach(function(ua,va){var wa=ua.classNames,xa=ua.point,ya=ua.row,za=ya[pa],ab=k.NONE;if(ja){var bb=ja.get('value');if(za>bb){ab=k.GREATER_THAN;}else if(za===bb){ab=k.EQUAL_TO;}else ab=k.LESS_THAN;}var cb=xa.pseudoClasses.add(ab),db=ja?y(ja.get('className')):q(),eb=wa.union(ta).union(db),fb=ra+v(eb)+cb.join(''),gb=ea.getHoverStyle(fb),hb=ea.getProximityStyle(fb),ib=ea.getStyle(fb),jb={shapeType:l.POINT,style:ib},kb=babelHelpers['extends']({},jb,{style:gb}),lb=this._handleShapeEvent.bind(this,ya,pa,jb),mb=this._handleShapeEvent.bind(this,ya,pa,kb),nb=void 0;if(ia&&ya[ia]!=null){var ob=this.context.scales[ia];ob.props.output||h(0);nb=Math.sqrt(ob.convert(ya[ia])/Math.PI);if(ob.props.roundOutput)nb=Math.round(nb*2)/2;}na.push(c('React').createElement(c('CandelaInteractivePoint.react'),babelHelpers['extends']({},xa,{hoverStyle:gb,key:pa+'-point-'+va,onShapeClick:mb,onShapeDown:mb,onShapeEnter:lb,onShapeLeave:mb,onShapeUp:mb,proximityStyle:hb,radius:nb,regionID:pa+'-point'+va,style:ib})));}.bind(this));}.bind(this));return (c('React').createElement(o,null,na));}});f.exports=z;}),null);
  __d('InsightsLineAreaChart.react',['invariant','CandelaAnchorAnnotations.react','CandelaAreas.react','CandelaAxis.react','CandelaConstants','CandelaChartLayout.react','CandelaChartSurface.react','CandelaDoubleCircularPoint.react','CandelaGaps.react','CandelaGridLines.react','CandelaGroupScaleBuilder','CandelaGuides.react','CandelaGuideLine.react','CandelaLineAnnotations.react','CandelaLines.react','CandelaMarkerAnnotations.react','CandelaPanel.react','CandelaPoints.react','CandelaReferences.react','CandelaStackScaleBuilder','CandelaStructs','CandelaTheme','immutable','InsightsFormatterFactories','React'],(function a(b,c,d,e,f,g,h){'use strict';var i,j,k=c('CandelaConstants').Alignment,l=c('CandelaConstants').NormalizedOutput,m=c('CandelaConstants').Orientation,n=c('CandelaConstants').Placement,o=c('CandelaConstants').RenderAs,p=c('CandelaConstants').Visibility,q=c('immutable').List,r=c('immutable').Map,s=c('immutable').OrderedSet,t=c('immutable').Set,u=c('React').PropTypes,v=c('CandelaStructs').Threshold,w=u.oneOfType([u.instanceOf(c('CandelaGroupScaleBuilder')),u.instanceOf(c('CandelaStackScaleBuilder'))]);function x(z){var aa=z.annotations,ba=z.data,ca=z.plotX,da=z.plotY,ea=z.references,fa=z.schema,ga=[],ha=[],ia=[],ja=[],ka=da.map(function(la){return la.normalizedOutputWhenNoExtent(l.MID);}).concat([ca]);aa.forEach(function(la,ma){var na,oa=la.renderAs,pa=la.variableName,qa=la.value;ja.push((na={},na[pa]=qa,na));var ra=Array.isArray(oa),sa=babelHelpers['extends']({},la,{index:ma});if(oa===o.ANCHOR||ra&&oa.indexOf(o.ANCHOR)!==-1)ga.push(sa);if(oa===o.LINE||ra&&oa.indexOf(o.LINE)!==-1)ha.push(sa);if(oa===o.MARKER||ra&&oa.indexOf(o.MARKER)!==-1)ia.push(sa);});ea&&ea.forEach(function(la){var ma;ja.push((ma={},ma[la.seriesName]=la.value,ma));});return {anchorAnnotations:q(ga),auxiliaryData:s(ja),data:s(ba),lineAnnotations:q(ha),markerAnnotations:q(ia),scales:t(ka),schema:r(fa)};}i=babelHelpers.inherits(y,c('React').PureComponent);j=i&&i.prototype;function y(){var z,aa;for(var ba=arguments.length,ca=Array(ba),da=0;da<ba;da++)ca[da]=arguments[da];return aa=(z=j.constructor).call.apply(z,[this].concat(ca)),this.state=x(this.props),aa;}y.prototype.componentWillReceiveProps=function(z){this.setState(x(z));};y.prototype.$InsightsLineAreaChart1=function(){var z=this.props,aa=z.axisMarkFormatterFactory,ba=z.axisSubMarkFormatterFactory,ca=z.plotX,da=z.theme,ea=z.useDualIndenpendentAxes,fa=z.xAxisAlignment,ga=ca&&ca.getSeriesNames()[0],ha=da.getStyle('axis[orientation="horizontal"][alignment="bottom"]'),ia=ca&&ca.getTitle();if((fa===k.BOTTOM||ea)&&ga)return (c('React').createElement(c('CandelaAxis.react'),{alignment:k.BOTTOM,height:ha.height,markFormatterFactory:aa,plot:ga,subMarkFormatterFactory:ba,title:ia}));return null;};y.prototype.$InsightsLineAreaChart2=function(){var z=this.props,aa=z.axisMarkFormatterFactory,ba=z.axisSubMarkFormatterFactory,ca=z.plotY,da=z.theme,ea=z.yAxisAlignment,fa=ea===k.LEFT?0:1,ga=ca[fa]&&ca[fa].getSeriesNames()[0],ha=da.getStyle('axis[orientation="vertical"][alignment="left"]'),ia=ca[fa]&&ca[fa].getTitle();if(ga)return (c('React').createElement(c('CandelaAxis.react'),{alignment:k.LEFT,markFormatterFactory:aa,orientation:m.VERTICAL,plot:ga,subMarkFormatterFactory:ba,title:ia,width:ha.width}));return null;};y.prototype.$InsightsLineAreaChart3=function(){var z=this.props,aa=z.highlights,ba=z.includeNullValueInEvent,ca=z.minDensityThreshold,da=z.plotX,ea=z.plotY,fa=z.references,ga=z.selectedAnnotationIndex,ha=z.theme,ia=z.threshold,ja=this.state,ka=ja.lineAnnotations,la=ja.markerAnnotations,ma=ja.schema;if(ia){ea.length===1||h(0);ea[0].getSeriesNames().length===1||ea[0] instanceof c('CandelaGroupScaleBuilder')||h(0);}var na=da&&da.getSeriesNames()[0],oa=t([na]),pa=aa?aa.map(function(bb){return bb.dependentSeriesName;}):t(),qa=[],ra=[];ea.forEach(function(bb){var cb,db=bb.getSeriesNames().slice();if(pa.size)db.sort(function(eb){return Number(pa.has(eb));});if(bb instanceof c('CandelaStackScaleBuilder')){(function(){var eb=ma.get(db[0]),fb=eb.renderAs;db.every(function(hb){return ma.get(hb).renderAs===fb;})||h(0);var gb=fb===o.AREA?qa:ra;gb.push(s(db));})();}else db.forEach(function(eb){var fb=ma.get(eb),gb=fb.renderAs,hb=gb===o.AREA?qa:ra;hb.push(s([eb]));});});var sa=s(qa.concat(ra)),ta=void 0,ua=void 0,va=void 0,wa=void 0,xa=void 0,ya=void 0,za=void 0,ab=void 0;if(qa.length)ta=c('React').createElement(c('CandelaPanel.react'),null,c('React').createElement(c('CandelaAreas.react'),{highlights:aa,plotX:na,plotY:s(qa),threshold:ia}),c('React').createElement(c('CandelaLines.react'),{highlights:aa,plotX:na,plotY:s(qa),threshold:ia}));if(ra.length)va=c('React').createElement(c('CandelaLines.react'),{highlights:aa,plotX:na,plotY:s(ra),threshold:ia});if(ka.size&&ha.getStyle('annotationline').visibility===p.VISIBLE)ua=c('React').createElement(c('CandelaLineAnnotations.react'),{annotations:ka,selectedIndex:ga});if(la.size&&ha.getStyle('annotationmarker').visibility===p.VISIBLE)wa=c('React').createElement(c('CandelaMarkerAnnotations.react'),{annotations:la,plotX:na,plotY:sa});if(ha.getStyle('gap').visibility===p.VISIBLE)xa=c('React').createElement(c('CandelaGaps.react'),{plotX:oa,plotY:sa});if(ha.getStyle('guide').visibility===p.VISIBLE)ya=c('React').createElement(c('CandelaGuides.react'),{guideX:c('React').createElement(c('CandelaGuideLine.react'),null),guideY:c('React').createElement(c('CandelaDoubleCircularPoint.react'),null),includeNullValueInEvent:ba,plotX:na,plotY:sa,threshold:ia});if(ha.getStyle('point').visibility===p.VISIBLE)za=c('React').createElement(c('CandelaPoints.react'),{minDensityThreshold:ca,plotX:na,plotY:sa});if(fa&&ha.getStyle('reference').visibility===p.VISIBLE)ab=c('React').createElement(c('CandelaReferences.react'),{alignment:k.BOTTOM,plotX:oa,plotY:sa.flatten(),references:fa});return (c('React').createElement(c('CandelaPanel.react'),null,c('React').createElement(c('CandelaGridLines.react'),{plotX:na,plotY:sa.first().first()}),xa,ab,ta,va,za,ua,wa,ya));};y.prototype.$InsightsLineAreaChart4=function(){var z=this.props,aa=z.axisMarkFormatterFactory,ba=z.axisSubMarkFormatterFactory,ca=z.plotY,da=z.theme,ea=z.yAxisAlignment,fa=ea===k.LEFT?1:0,ga=ca[fa]&&ca[fa].getSeriesNames()[0],ha=da.getStyle('axis[orientation="vertical"][alignment="right"]'),ia=ca[fa]&&ca[fa].getTitle();if(ga)return (c('React').createElement(c('CandelaAxis.react'),{alignment:k.RIGHT,markFormatterFactory:aa,orientation:m.VERTICAL,plot:ga,subMarkFormatterFactory:ba,title:ia,width:ha.width}));return null;};y.prototype.$InsightsLineAreaChart5=function(){var z=this.props,aa=z.axisMarkFormatterFactory,ba=z.axisSubMarkFormatterFactory,ca=z.plotX,da=z.selectedAnnotationIndex,ea=z.theme,fa=z.useDualIndenpendentAxes,ga=z.xAxisAlignment,ha=this.state.anchorAnnotations,ia=ca&&ca.getSeriesNames()[0],ja=ea.getStyle('axis[orientation="horizontal"][alignment="top"]'),ka=ca&&ca.getTitle(),la=(ga===k.TOP||fa)&&ia;!(la&&ha&&ha.size)||h(0);if(ha&&ha.size){var ma=ea.getStyle('annotationanchor'),na=ma.radius*2+ma.strokeWidth;return (c('React').createElement(c('CandelaPanel.react'),{height:na},c('React').createElement(c('CandelaAnchorAnnotations.react'),{annotations:ha,placement:n.TOP,selectedIndex:da})));}if(la)return (c('React').createElement(c('CandelaAxis.react'),{alignment:k.TOP,height:ja.height,markFormatterFactory:aa,plot:ia,subMarkFormatterFactory:ba,title:ka}));return null;};y.prototype.render=function(){var z=this.props,aa=z.anchorRect,ba=z.dragPreventDefault,ca=z.height,da=z.interactive,ea=z.onClick,fa=z.onDrag,ga=z.onDragEnd,ha=z.onDragStart,ia=z.onLongPress,ja=z.onTouchEnd,ka=z.onTouchMove,la=z.onTouchStart,ma=z.onMouseDown,na=z.onMouseEnter,oa=z.onMouseLeave,pa=z.onMouseMove,qa=z.onMouseOver,ra=z.onMouseOut,sa=z.onMouseUp,ta=z.theme,ua=z.width,va=this.state,wa=va.auxiliaryData,xa=va.data,ya=va.scales,za=va.schema,ab=this.$InsightsLineAreaChart1(),bb=this.$InsightsLineAreaChart2(),cb=this.$InsightsLineAreaChart3(),db=this.$InsightsLineAreaChart4(),eb=this.$InsightsLineAreaChart5();return (c('React').createElement(c('CandelaChartSurface.react'),{anchorRect:aa,auxiliaryData:wa,data:xa,dragPreventDefault:ba,height:ca,interactive:da,onClick:ea,onDrag:fa,onDragEnd:ga,onDragStart:ha,onLongPress:ia,onMouseDown:ma,onMouseEnter:na,onMouseLeave:oa,onMouseMove:pa,onMouseOut:ra,onMouseOver:qa,onMouseUp:sa,onTouchEnd:ja,onTouchMove:ka,onTouchStart:la,scales:ya,schema:za,theme:ta,width:ua},c('React').createElement(c('CandelaChartLayout.react'),{bottomXAxis:ab,leftYAxis:bb,plotArea:cb,rightYAxis:db,topXAxis:eb})));};y.propTypes={annotations:u.instanceOf(q),axisMarkFormatterFactory:u.func,axisSubMarkFormatterFactory:u.func,data:u.oneOfType([u.arrayOf(u.object),u.arrayOf(u.arrayOf(u.object))]),height:u.number,highlights:u.instanceOf(t),interactive:u.bool,minDensityThreshold:u.number,onClick:u.func,onDrag:u.func,onDragEnd:u.func,onDragStart:u.func,onLongPress:u.func,onTouchEnd:u.func,onTouchMove:u.func,onTouchStart:u.func,onMouseDown:u.func,onMouseEnter:u.func,onMouseLeave:u.func,onMouseMove:u.func,onMouseOver:u.func,onMouseOut:u.func,onMouseUp:u.func,plotX:w.isRequired,plotY:u.arrayOf(w).isRequired,references:u.instanceOf(t),selectedAnnotationIndex:u.number,schema:u.object.isRequired,theme:u.instanceOf(c('CandelaTheme')).isRequired,threshold:u.instanceOf(v),useDualIndenpendentAxes:u.bool,width:u.number.isRequired,xAxisAlignment:u.oneOf([k.BOTTOM,k.TOP]),yAxisAlignment:u.oneOf([k.LEFT,k.RIGHT])};y.defaultProps={annotations:q(),axisMarkFormatterFactory:c('InsightsFormatterFactories').axisMarkFormatterFactory,axisSubMarkFormatterFactory:c('InsightsFormatterFactories').axisSubMarkFormatterFactory,minDensityThreshold:36,useDualIndenpendentAxes:false,xAxisAlignment:k.BOTTOM,yAxisAlignment:k.LEFT};f.exports=y;}),null);
  __d('BUIInsightsLineAreaChart.react',['InsightsLineAreaChart.react','InsightsThemeableChartMixin','React','ReactComponentWithPureRenderMixin','BUIInsightsTheme'],(function a(b,c,d,e,f,g){'use strict';var h=c('React').createClass({displayName:'BUIInsightsLineAreaChart',mixins:[c('InsightsThemeableChartMixin')(function(){return c('BUIInsightsTheme');}),c('ReactComponentWithPureRenderMixin')],statics:{getComponentTheming:function i(){return {styleSheet:{'gridline[orientation="horizontal"]:last-child':{visibility:'hidden'},'gridline[orientation="horizontal"]:last-child:only-child':{visibility:'visible'}}};}},render:function i(){return (c('React').createElement(c('InsightsLineAreaChart.react'),babelHelpers['extends']({},this.props,{theme:this.state.theme})));}});f.exports=h;}),null);
  __d('LayerPage.react',['CSS','LayerPage','ReactLayer','LayerFadeOnHide','LayerHideOnBlur','LayerHideOnEscape','LayerHideOnTransition'],(function a(b,c,d,e,f,g){var h=c('ReactLayer').createClass({immutableProps:{modal:null},getDefaultEnabledBehaviors:function i(){return {fadeOnHide:c('LayerFadeOnHide'),hideOnBlur:c('LayerHideOnBlur'),hideOnEscape:c('LayerHideOnEscape'),hideOnTransition:c('LayerHideOnTransition')};},componentDidUpdate:function i(j){if(this.props.children!==j.children)this.layer.updatePosition();},createLayer:function i(j){var k=this.enumerateBehaviors(this.props.behaviors),l={width:this.props.width,modal:this.props.modal,addedBehaviors:k,fitWidth:this.props.fitWidth},m=new (c('LayerPage'))(l,j);m.conditionShow(this.props.shown);if(this.props.layerRootClass)c('CSS').addClass(m.getRoot(),this.props.layerRootClass);return m;},receiveProps:function i(j,k){this.updateBehaviors(k.behaviors,j.behaviors);this.layer.conditionShow(j.shown);}});f.exports=h;}),null);
  __d('LayerPageContent.react',['cx','React'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.render=function(){'use strict';var l="uiLayerPageContentWrap"+(!this.props.useCustomPadding?' '+"uiLayerPageDefaultPadding":'');return (c('React').createElement('div',{className:'uiLayerPageInner'},c('React').createElement('div',{className:'uiLayerPage uiOverlay'},c('React').createElement('div',{className:'uiOverlayContent'},c('React').createElement('div',{className:l},c('React').createElement('div',{className:'uiLayerPageContent'},this.props.children))))));};function k(){'use strict';i.apply(this,arguments);}f.exports=k;}),null);
  __d('HubbleHintsMetrics.react',['cx','React','BUIInsightsHorizontalBarChart.react','CandelaConstants','CandelaGroupScaleBuilder','CandelaStyleSheet'],(function a(b,c,d,e,f,g,h){'use strict';var i,j,k=c('React').PropTypes,l=c('CandelaConstants').Alignment,m=c('CandelaGroupScaleBuilder').group,n=c('CandelaConstants').ScaleType,o=30,p=20,q={name:{label:'Hint Name',type:n.CATEGORY},value:{label:'Reach count',type:n.NUMBER}},r={name:{label:'Hint Name',type:n.CATEGORY},value:{label:'Reach count',type:n.PERCENTAGE}},s=c('CandelaStyleSheet').fromJS({'axis[alignment="top"]':{visibility:'hidden'},'axis[orientation="horizontal"]':{visibility:'hidden'},'axis[orientation="vertical"]':{width:200},axisbucketmark:{color:'#485665',fontSize:12,padding:18},'bargroup:hover':{fill:'#eee',opacity:.2},bar:{margin:0},bargroup:{margin:1,fill:'#eee'},'bar[series="value"]':{fill:'#9DACCB'},barlabel:{color:'#999999',fontSize:11},gridline:{visibility:'hidden'},'bar.highlighted':{fill:'#5890ff'},'bar.highlighted>barlabel':{color:'#5890ff'}});i=babelHelpers.inherits(t,c('React').Component);j=i&&i.prototype;function t(){var u,v;for(var w=arguments.length,x=Array(w),y=0;y<w;y++)x[y]=arguments[y];return v=(u=j.constructor).call.apply(u,[this].concat(x)),this.createGroupPercentageBarLabelFormatterFactory=function(z){return function(aa,ba){return function(ca,da){switch(z){case 'rate':return (100*ca).toFixed(2)+'%';case 'compare_rate':if(ca>0){return '+'+(100*ca).toFixed(2)+'%';}else if(ca<0){return '-'+(100*ca).toFixed(2)+'%';}else return (100*ca).toFixed(2)+'%';}return ca.toString();};};},v;}t.prototype.render=function(){var u=this.props.metrics.length*o+p,v=this.createGroupPercentageBarLabelFormatterFactory(this.props.metricsType);return (c('React').createElement('div',{className:"_vc0"},c('React').createElement('div',{className:"_3phy"},c('React').createElement('div',{className:"_5cmo"},this.props.header),c('React').createElement('div',{className:"_2qqg"},this.props.subtitle)),c('React').createElement('div',null,c('React').createElement(c('BUIInsightsHorizontalBarChart.react'),{alignment:l.LEFT,barLabelFormatterFactory:v,data:this.props.metrics,height:u,plotX:[m('value').from(0).extendInput(0,1)],plotY:m('name'),schema:this.props.metricsType=='count'?q:r,styleSheet:s,width:885}))));};t.propTypes={metrics:k.array.isRequired,header:k.node.isRequired,metricsType:k.string.isRequired,subtitle:k.node};f.exports=t;}),null);
  __d('HubblePostView.react',['Arbiter','AsyncRequest','BizSiteIdentifier.brands','DOM','FBFeedLocations','InsightsLoadingIndicator.react','React','ReactDOM','SubscriptionsHandler','getOwnObjectValues'],(function a(b,c,d,e,f,g){var h,i,j=c('React').PropTypes,k=0;h=babelHelpers.inherits(l,c('React').Component);i=h&&h.prototype;function l(){var m,n;'use strict';for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=i.constructor).call.apply(m,[this].concat(p)),this.state={loading:true},this.updatePreview=function(){var r='HubblePostView-'+ ++k,s=c('DOM').create('div',{id:r});c('DOM').setContent(c('ReactDOM').findDOMNode(this.refs.preview),s);this.setState({loading:true});this.request=new (c('AsyncRequest'))().setData({destination_dom_id:r,feed_location:this.props.feedLocation,identifier:this.props.identifier,page_id:this.props.pageID,business_id:c('BizSiteIdentifier.brands').getBusinessID()}).setHandler(this.previewDidLoad).setErrorHandler(this.previewError).setMethod('GET').setReadOnly(true).setURI('/ajax/pages/insights/view_story/');this.request.send();}.bind(this),this.previewDidLoad=function(){this.setState({loading:false});this.props.onLoadComplete&&this.props.onLoadComplete();}.bind(this),this.previewError=function(){this.setState({loading:false});this.props.onLoadError&&this.props.onLoadError();}.bind(this),n;}l.prototype.componentDidMount=function(){'use strict';this.updatePreview();this.$HubblePostView1=new (c('SubscriptionsHandler'))();if(this.props.useNewVideoMetrics)this.$HubblePostView1.addSubscriptions(c('Arbiter').subscribe('video/edited'+this.props.pageID,this.updatePreview));};l.prototype.componentWillUnmount=function(){'use strict';this.request&&this.request.abandon();this.$HubblePostView1.release();};l.prototype.render=function(){'use strict';var m=null;if(this.state.loading)m=c('React').createElement(c('InsightsLoadingIndicator.react'),null);return (c('React').createElement('div',null,c('React').createElement('div',{ref:'preview'}),m));};l.propTypes={feedLocation:j.oneOf(c('getOwnObjectValues')(c('FBFeedLocations'))),identifier:j.string,onLoadComplete:j.func,onLoadError:j.func,pageID:j.string,useNewVideoMetrics:j.bool};f.exports=l;}),null);
  __d('HubbleVideoBackgroundBar.react',['cx','fbt','InsightsNumUtils','LeftRight.react','React','XUIBackgroundBar.react'],(function a(b,c,d,e,f,g,h,i){var j,k,l=c('React').PropTypes,m={organic:i._("Organic"),paid:i._("Paid")};j=babelHelpers.inherits(n,c('React').Component);k=j&&j.prototype;n.prototype.render=function(){'use strict';var o=this.props.metric.organic+this.props.metric.paid,p=c('React').createElement('div',null,c('React').createElement('div',{className:"_5uti"},c('InsightsNumUtils').prettyInt(o)),c('React').createElement('div',{className:"_5utj"},this.props.label)),q=c('React').createElement('div',{className:"_5utk"},c('React').createElement(c('XUIBackgroundBar.react'),{colors:this.props.colors,scale:this.props.scale,values:[this.props.metric.organic,this.props.metric.paid]})),r=Object.keys(this.props.metric).filter(function(t){return !!this.props.metric[t];}.bind(this)),s=null;if(Object.keys(r).length===1){s=c('React').createElement('div',{className:"_5utl"},c('React').createElement('span',{className:"_5utm"},c('InsightsNumUtils').prettyInt(this.props.metric[r[0]])),c('React').createElement('span',{className:"_5utn"},m[r[0]]));}else s=c('React').createElement(c('LeftRight.react'),{className:"_5utl"},c('React').createElement('div',null,c('React').createElement('span',{className:"_5utm"},c('InsightsNumUtils').prettyInt(this.props.metric.organic)),c('React').createElement('span',{className:"_5utn"},m.organic)),c('React').createElement('div',null,c('React').createElement('span',{className:"_5utm"},c('InsightsNumUtils').prettyInt(this.props.metric.paid)),c('React').createElement('span',{className:"_5utn"},m.paid)));return (c('React').createElement('div',{className:"_5uth"},p,q,s));};function n(){'use strict';j.apply(this,arguments);}n.propTypes={className:l.string,colors:l.array,label:l.string.isRequired,metric:l.object.isRequired,scale:l.func};f.exports=n;}),null);
  __d('HubbleStyle',['SpectrumStyle'],(function a(b,c,d,e,f,g){var h={LIGHT:c('SpectrumStyle').COBALT,DARK:c('SpectrumStyle').FB_BLUE,SPECTRUM:c('SpectrumStyle').BLUE_BRUSH},i={ORGANIC:h.LIGHT,PAID:h.DARK,AUTOPLAY:h.LIGHT,CLICKPLAY:h.DARK,UNIQUE:h.LIGHT,REPEAT:h.DARK},j={LIKE_SOURCES_COLORS:c('SpectrumStyle').BREAKDOWN_COLORS,PAGE_AND_TAB_VISITS_COLORS:c('SpectrumStyle').BREAKDOWN_COLORS,TOTAL_PAGE_LIKES:c('SpectrumStyle').LIGHT_BLUE,NET_COLORS:[c('SpectrumStyle').PINK,c('SpectrumStyle').LIGHT_BLUE,c('SpectrumStyle').LIGHT_BLUE2,c('SpectrumStyle').DARK_BLUE],OVERVIEW_PAGE_LIKES:[c('SpectrumStyle').GRAY,c('SpectrumStyle').DARK_BLUE],OVERVIEW_POST_REACH:[c('SpectrumStyle').GRAY,c('SpectrumStyle').ORANGE],OVERVIEW_LCS:{click:[c('SpectrumStyle').GRAY,c('SpectrumStyle').COBALT],comment:[c('SpectrumStyle').GRAY,c('SpectrumStyle').MAUVE2],like:[c('SpectrumStyle').GRAY,c('SpectrumStyle').LAVENDER],link:[c('SpectrumStyle').GRAY,c('SpectrumStyle').PURPLE2]},DESSUMARIZATION:[c('SpectrumStyle').SALMON],POST_REACH_COLORS:[c('SpectrumStyle').LIGHT_ORANGE,c('SpectrumStyle').ORANGE],REACH_POSITIVE_ACTION_COLORS:[c('SpectrumStyle').LAVENDER,c('SpectrumStyle').MAUVE2,c('SpectrumStyle').PURPLE2],REACH_NEGATIVE_ACTION_COLORS:[c('SpectrumStyle').FB_BLUE,c('SpectrumStyle').COBALT,c('SpectrumStyle').DARK_RED,c('SpectrumStyle').BROWN,c('SpectrumStyle').PINK],REACH_BRUSH:c('SpectrumStyle').ORANGE_BRUSH,OTHER_PAGE_ACTIVITY_COLORS:[c('SpectrumStyle').FB_BLUE,c('SpectrumStyle').VIOLET,c('SpectrumStyle').BLUE3,c('SpectrumStyle').PURPLE],LIKES_SPLIT_2:[c('SpectrumStyle').LAVENDER,c('SpectrumStyle').DEEP_PURPLE],REACH_SPLIT_2:[c('SpectrumStyle').LIGHT_ORANGE,c('SpectrumStyle').ORANGE],SHARES_SPLIT_2:[c('SpectrumStyle').PURPLE2,c('SpectrumStyle').PURPLE3],NEGATIVE_SPLIT_2:[c('SpectrumStyle').SALMON,c('SpectrumStyle').DARK_RED],COMMENTS_SPLIT_2:[c('SpectrumStyle').MAUVE2,c('SpectrumStyle').PURPLE4],LCS_SPLIT_2:[c('SpectrumStyle').MAUVE,c('SpectrumStyle').PURPLE5],POSTCLICKS_SPLIT_2:[c('SpectrumStyle').COBALT,c('SpectrumStyle').COBALT2],PAGE_LIKES_SPLIT_2:[c('SpectrumStyle').LIGHT_BLUE,c('SpectrumStyle').BLUE2],BEST_POST_TIME:[c('SpectrumStyle').GRAY,c('SpectrumStyle').DARK_BLUE],FANS_ONLINE:c('SpectrumStyle').BLUE,FANS_ONLINE_HOVER:c('SpectrumStyle').BLUE_HOVER,VIDEO_VIEWS:[h.LIGHT],VIDEO_ORGANIC_PAID_VIEWS:[i.ORGANIC,i.PAID],VIDEO_ORGANIC_PAID_VIEW_BRUSH:h.SPECTRUM,VIDEO_AUTOPLAY_CLICK_VIEWS:[i.AUTOPLAY,i.CLICKPLAY],VIDEO_AUTOPLAY_CLICK_VIEW_BRUSH:h.SPECTRUM,VIDEO_UNIQUE_REPEAT_VIEWS:[i.UNIQUE,i.REPEAT],VIDEO_UNIQUE_REPEAT_VIEW_BRUSH:h.SPECTRUM,BUTTERFLY_HEIGHT:234,BUTTERFLY_WIDTH:710,WIFI_BUTTERFLY_WIDTH:690,FULL_CHART_HEIGHT:300,FULL_CHART_WIDTH:885,LEFT_COL_CHART_HEIGHT:300,LEFT_COL_SHORT_CHART_HEIGHT:200,LEFT_COL_CHART_WIDTH:735,MINICHART_HEIGHT:120,MINICHART_WIDTH:292,SPARKCHART_HEIGHT:46,SPARKCHART_WIDTH:150,TIMESLIDER_HEIGHT:80,TIMESLIDER_WIDTH:760};f.exports=j;}),null);
  __d('HubblePostMetricConfig',['fbt','HubbleStyle'],(function a(b,c,d,e,f,g,h){var i={types:{clicks:{colors:c('HubbleStyle').POSTCLICKS_SPLIT_2,label:h._(["Post Clicks","6f9f937ae9b961d2552f011a45c24293"])},lcs:{colors:c('HubbleStyle').LCS_SPLIT_2,label:h._("Likes, Comments & Shares"),labelWithReactions:h._("Reactions, Comments & Shares")},reach:{colors:c('HubbleStyle').REACH_SPLIT_2,label:h._("Reach")},like:{colors:c('HubbleStyle').LIKES_SPLIT_2,label:h._("Likes"),labelWithReactions:h._("Reactions")},comment:{colors:c('HubbleStyle').COMMENTS_SPLIT_2,label:h._("Comments")},share:{colors:c('HubbleStyle').SHARES_SPLIT_2,label:h._("Shares")},page_likes:{colors:c('HubbleStyle').PAGE_LIKES_SPLIT_2,label:h._("Page Likes")},negative:{colors:c('HubbleStyle').NEGATIVE_SPLIT_2,label:h._("Post Hides, Hides of All Posts, Reports of Spam, Unlikes of Page")},engagementRate:{colors:c('HubbleStyle').LCS_SPLIT_2,label:h._("Engagement Rate"),description:h._("The number of people your post reached who then liked, commented, shared or clicked on your post.")},videoViews:{colors:c('HubbleStyle').VIDEO_VIEWS,label:h._("Video Views")},organic:{colors:['#3d6ad6'],label:h._("Organic")},paid:{colors:['#13bda6'],label:h._("Paid")}},splits:{none:{keys:[],label:h._("Reach"),titles:[h._("Reach")]},acquisition:{colors:c('HubbleStyle').REACH_SPLIT_2,keys:['organic','paid'],label:h._(["Reach: Organic \/ Paid","ceda9135bbc4202f02cdbf2fb6d308a7"]),titles:[h._("Organic"),h._("Paid")]},impression:{colors:c('HubbleStyle').REACH_SPLIT_2,keys:['organic','paid'],label:h._("Impressions: Organic \/ Paid"),titles:[h._("Organic"),h._("Paid")]},audience:{keys:['fans','nonfans'],label:h._("Reach: Fans \/ Non-Fans"),titles:[h._("Fans"),h._("Non-Fans")]}},reachSplits:{none:{colors:c('HubbleStyle').REACH_SPLIT_2,keys:[],label:h._("Reach"),titles:[h._("Reach")]},acquisition:{colors:c('HubbleStyle').REACH_SPLIT_2,keys:['organic','paid'],label:h._("Reach: Organic \/ Paid"),titles:[h._("Organic"),h._("Paid")]},audience:{colors:c('HubbleStyle').REACH_SPLIT_2,keys:['fans','nonfans'],label:h._("Reach: Fans \/ Non-Fans"),titles:[h._("Fans"),h._("Non-Fans")]}},filters:{postclcs:{metrics:['clicks','lcs'],label:h._("Post Clicks \/ Likes, Comments & Shares"),labelWithReactions:h._("Post Clicks \/ Reactions, Comments & Shares")},lcsbytype:{metrics:['like','comment','share'],label:h._("Likes \/ Comments \/ Shares"),labelWithReactions:h._("Reactions \/ Comments \/ Shares")},negative:{metrics:['negative'],label:h._("Post Hides, Hides of All Posts, Reports of Spam, Unlikes of Page")},engagement_rate:{metrics:['engagementRate'],label:h._("Engagement Rate")}},sort:{clicks:{label:h._("Post Clicks")},lcs:{label:h._("Likes, Comments & Shares"),labelWithReactions:h._("Reactions, Comments & Shares")}},default_filter:'postclcs',default_split:'acquisition'};f.exports=i;}),null);
  __d('HubbleVideoMetric.react',['cx','fbt','HubblePostMetricConfig','HubbleVideoBackgroundBar.react','SpectrumIntegerScale','React'],(function a(b,c,d,e,f,g,h,i){'use strict';var j,k,l=c('React').PropTypes,m={total:i._("Total"),unique:i._("Unique")};j=babelHelpers.inherits(n,c('React').Component);k=j&&j.prototype;n.prototype.render=function(){var o=this.props.metrics.total.organic+this.props.metrics.total.paid,p=this.props.metrics.unique.organic+this.props.metrics.unique.paid,q=new (c('SpectrumIntegerScale'))().domain([0,Math.max(o,p)]);return (c('React').createElement('div',null,c('React').createElement('div',null,c('React').createElement('div',{className:"_5utf"},this.props.title),c('React').createElement('div',{className:"_5utg"},this.props.subtitle)),c('React').createElement('div',null,c('React').createElement(c('HubbleVideoBackgroundBar.react'),{colors:c('HubblePostMetricConfig').types.clicks.colors,label:m.total,metric:this.props.metrics.total,scale:q}),c('React').createElement(c('HubbleVideoBackgroundBar.react'),{colors:c('HubblePostMetricConfig').types.reach.colors,label:m.unique,metric:this.props.metrics.unique,scale:q}))));};function n(){j.apply(this,arguments);}n.propTypes={metrics:l.object.isRequired,subtitle:l.string,title:l.string.isRequired};f.exports=n;}),null);
  __d('HubbleVideoMetricConfig',['fbt','HubbleStyle'],(function a(b,c,d,e,f,g,h){f.exports={breakdowns:['organic_paid','autoplayed_clickedtoplay','unique_repeat'],breakdownToTypes:{organic_paid:['organic','paid'],autoplayed_clickedtoplay:['autoplayed','clickedToPlay'],unique_repeat:['unique','repeat']},metricTypes:['organic','paid','autoplayed','clickedToPlay','unique','repeat'],viewTypes:['views','starts','completedViews'],viewTypeDescriptions:{starts:h._("Number of times your video started to play. This includes videos clicked-to-play and auto-played."),views:h._("Number of times your video was viewed for 3 seconds or more."),completedViews:h._("Number of times your video was viewed to 30 seconds. If the video is less than 30 seconds, then this number refers to the times people viewed 97 percent of your video.")},typeColors:{organic:c('HubbleStyle').VIDEO_ORGANIC_PAID_VIEWS[0],paid:c('HubbleStyle').VIDEO_ORGANIC_PAID_VIEWS[1],autoplayed:c('HubbleStyle').VIDEO_AUTOPLAY_CLICK_VIEWS[0],clickedToPlay:c('HubbleStyle').VIDEO_AUTOPLAY_CLICK_VIEWS[1],unique:c('HubbleStyle').VIDEO_UNIQUE_REPEAT_VIEWS[0],repeat:c('HubbleStyle').VIDEO_UNIQUE_REPEAT_VIEWS[1]},defaultBreakdown:'unique_repeat'};}),null);
  __d('HubbleVideoMetricV1.react',['ix','cx','fbt','xuiglyph','HubbleVideoMetricConfig','HubbleVideoMetricLabels','Image.react','InsightsNumUtils','LeftRight.react','React'],(function a(b,c,d,e,f,g,h,i,j,k){var l,m,n,o,p=c('React').PropTypes;l=babelHelpers.inherits(q,c('React').Component);m=l&&l.prototype;q.prototype.render=function(){'use strict';var s=this.props.scale,t=this.props.value,u=this.props.type,v=c('HubbleVideoMetricConfig').typeColors[u],w=0;if(t!==0&&this.props.total!==0)w=Math.round(t*100/this.props.total);var x={width:100*s(t)+'%',backgroundColor:v};return (c('React').createElement(c('LeftRight.react'),null,c('React').createElement('div',{className:"_5nbn"},c('React').createElement('div',{className:"_5nbo",style:x})),c('React').createElement('div',{className:"_1kay"},c('React').createElement('span',{className:"_5nbp"},c('InsightsNumUtils').prettyInt(t)),c('React').createElement('span',{className:"_5nbq"},'(',j._("{number}\u0025",[j.param('number',w)]),')'))));};function q(){'use strict';l.apply(this,arguments);}q.propTypes={scale:p.func.isRequired,total:p.number.isRequired,type:p.oneOf(c('HubbleVideoMetricConfig').metricTypes).isRequired,value:p.number.isRequired};n=babelHelpers.inherits(r,c('React').Component);o=n&&n.prototype;r.prototype.render=function(){'use strict';var s=c('HubbleVideoMetricConfig').breakdownToTypes[this.props.breakdown],t=s[0],u=s[1],v=this.props.metrics[this.props.viewType][t];if(!v)v=0;var w=this.props.metrics[this.props.viewType][u];if(!w)w=0;var x=v+w,y=c('HubbleVideoMetricLabels')[this.props.viewType],z=c('HubbleVideoMetricConfig').viewTypeDescriptions[this.props.viewType];return (c('React').createElement('div',{className:"_5nbr"},c('React').createElement(c('LeftRight.react'),null,c('React').createElement('div',{className:"_5nbs"},y,c('React').createElement(c('Image.react'),{alt:z,className:"_4lis",'data-hover':'tooltip','data-tooltip-content':z,src:h("89330")})),c('React').createElement('div',{className:"_5nbt"},c('InsightsNumUtils').prettyInt(x))),c('React').createElement(q,{scale:this.props.scale,total:x,type:t,value:v}),c('React').createElement(q,{scale:this.props.scale,total:x,type:u,value:w})));};function r(){'use strict';n.apply(this,arguments);}r.propTypes={breakdown:p.oneOf(c('HubbleVideoMetricConfig').breakdowns).isRequired,metrics:p.object.isRequired,scale:p.func.isRequired,viewType:p.oneOf(c('HubbleVideoMetricConfig').viewTypes).isRequired};f.exports=r;}),null);
  __d('HubbleVideoMetricSelector.react',['cx','fbt','HubbleVideoMetricV1.react','HubbleVideoMetricConfig','HubbleVideoMetricLabels','InsightsLegend_DEPRECATED.react','LeftRight.react','SpectrumIntegerScale','React','XUIGrayText.react','XUISingleSelector.react'],(function a(b,c,d,e,f,g,h,i){var j,k,l,m,n=c('React').PropTypes,o=c('XUISingleSelector.react').Option;j=babelHelpers.inherits(p,c('React').Component);k=j&&j.prototype;p.prototype.render=function(){'use strict';return (c('React').createElement(c('InsightsLegend_DEPRECATED.react'),{className:"_159i"},c('React').createElement(c('LeftRight.react'),null,c('React').createElement('div',{className:"_159j"},this.props.label),c('React').createElement('div',{className:"_1l46 _1u1r",style:{background:this.props.color}}))));};function p(){'use strict';j.apply(this,arguments);}l=babelHelpers.inherits(q,c('React').Component);m=l&&l.prototype;function q(){var r,s;'use strict';for(var t=arguments.length,u=Array(t),v=0;v<t;v++)u[v]=arguments[v];return s=(r=m.constructor).call.apply(r,[this].concat(u)),this.state={activeBreakdown:c('HubbleVideoMetricConfig').defaultBreakdown},this.$HubbleVideoMetricSelector1=function(w){if(w==='autoplayed_clickedtoplay'){return this.props.metrics.views.autoplayed>0;}else if(w==='organic_paid')return !this.props.hideOrganicAndPaidBreakdown;return true;}.bind(this),this.$HubbleVideoMetricSelector2=function(w){this.setState({activeBreakdown:w.value});if(this.props.onBreakdownChange)this.props.onBreakdownChange(w.value);}.bind(this),s;}q.prototype.render=function(){'use strict';var r=[],s=0,t=void 0;c('HubbleVideoMetricConfig').breakdowns.forEach(function(w){if(!this.$HubbleVideoMetricSelector1(w))return;var x=c('HubbleVideoMetricConfig').breakdownToTypes[w],y=this.props.metrics;x.forEach(function(z){c('HubbleVideoMetricConfig').viewTypes.forEach(function(aa){if(!y[aa])return;var ba=y[aa][z];s=Math.max(s,ba);});});t=i._("{first_metric}{preposition_between_metric}{second_metric}",[i.param('first_metric',c('React').createElement(p,{color:c('HubbleVideoMetricConfig').typeColors[x[0]],label:c('HubbleVideoMetricLabels')[x[0]]})),i.param('preposition_between_metric',c('React').createElement(c('XUIGrayText.react'),{className:"_yri",weight:'normal'},i._("vs."))),i.param('second_metric',c('React').createElement(p,{color:c('HubbleVideoMetricConfig').typeColors[x[1]],label:c('HubbleVideoMetricLabels')[x[1]]}))]);r.push(c('React').createElement(o,{value:w,key:w},t));}.bind(this));var u=new (c('SpectrumIntegerScale'))().domain([0,s]),v=this.props.playsEnabled?c('React').createElement(c('HubbleVideoMetricV1.react'),{metrics:this.props.metrics,breakdown:this.state.activeBreakdown,viewType:'starts',scale:u}):null;return c('React').createElement('div',{className:"_1u1s"},r.length===1?t:c('React').createElement(c('XUISingleSelector.react'),{size:'xlarge',maxwidth:270,defaultValue:c('HubbleVideoMetricConfig').defaultBreakdown,onChange:this.$HubbleVideoMetricSelector2},r),v,c('React').createElement(c('HubbleVideoMetricV1.react'),{metrics:this.props.metrics,breakdown:this.state.activeBreakdown,viewType:'views',scale:u}),c('React').createElement(c('HubbleVideoMetricV1.react'),{metrics:this.props.metrics,breakdown:this.state.activeBreakdown,viewType:'completedViews',scale:u}));};q.propTypes={metrics:n.object.isRequired,activeBreakdown:n.oneOf(c('HubbleVideoMetricConfig').breakdowns),onBreakdownChange:n.func};f.exports=q;}),null);
  __d('HubblePrimaryMetric.react',['cx','InsightsNumUtils','React','joinClasses','keyMirror'],(function a(b,c,d,e,f,g,h){var i,j,k=c('React').PropTypes,l=c('keyMirror')({flat:null,stacked:null});i=babelHelpers.inherits(m,c('React').Component);j=i&&i.prototype;m.prototype.render=function(){'use strict';var n=this.props.className;if(this.props.layout==l.flat)n=c('joinClasses')("_5j8e",this.props.className);return (c('React').createElement('div',{className:n},c('React').createElement('div',{className:"_55k2"},c('InsightsNumUtils').prettyInt(this.props.number)),c('React').createElement('div',{className:"_55k3"},this.props.label)));};function m(){'use strict';i.apply(this,arguments);}m.defaultProps={layout:l.flat};m.propTypes={label:k.string.isRequired,layout:k.oneOf(Object.keys(l)),number:k.number.isRequired};m.LAYOUT=l;f.exports=m;}),null);
  __d('HubbleSecondaryMetric.react',['cx','InsightsNumUtils','React','Tooltip.react','joinClasses','keyMirror'],(function a(b,c,d,e,f,g,h){var i,j,k=c('React').PropTypes,l=c('keyMirror')({flat:null,stacked:null}),m=c('keyMirror')({none:null,ruled:null});i=babelHelpers.inherits(n,c('React').Component);j=i&&i.prototype;function n(){var o,p;'use strict';for(var q=arguments.length,r=Array(q),s=0;s<q;s++)r[s]=arguments[s];return p=(o=j.constructor).call.apply(o,[this].concat(r)),this.getLayoutClass=function(){switch(this.props.layout){case 'flat':return "_5fbt";default:return '';}}.bind(this),this.getDecorationClass=function(){switch(this.props.decoration){case 'ruled':return "_5fbu";default:return '';}}.bind(this),p;}n.prototype.render=function(){'use strict';var o=c('joinClasses')("_55vy",this.getDecorationClass(),this.getLayoutClass(),this.props.className),p=c('joinClasses')("_55j-","_50f7"),q=c('joinClasses')("_55j_","_50f8"),r=c('React').createElement('span',null,c('React').createElement('div',{className:p},c('InsightsNumUtils').prettyInt(this.props.number)),' ',c('React').createElement('div',{className:q},this.props.label));return (c('React').createElement('div',{className:o,style:this.props.style},this.props.tooltip?c('React').createElement(c('Tooltip.react'),{tooltip:this.props.tooltip,alignH:'center'},r):r));};n.propTypes={decoration:k.oneOf(Object.keys(m)),layout:k.oneOf(Object.keys(l)),label:k.oneOfType([k.string,k.element]).isRequired,number:k.number.isRequired,style:k.object,key:k.string,tooltip:k.string};n.LAYOUT=l;n.DECORATION=m;f.exports=n;}),null);
  __d('HubbleSecondaryMetricGroup.react',['cx','React','cloneWithProps_DEPRECATED','joinClasses'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.render=function(){'use strict';var l=this.props.children,m=(1/c('React').Children.count(l)*100).toFixed(1)+'%';l=c('React').Children.map(l,function(o){if(o)return c('cloneWithProps_DEPRECATED')(o,{className:"_5fbx",style:{width:m}});return o;});var n=c('joinClasses')("_5fby",this.props.className);return (c('React').createElement('div',{className:n},c('React').createElement('div',{className:"_5fbz"},l)));};function k(){'use strict';i.apply(this,arguments);}f.exports=k;}),null);
  __d("XPageInsightsVideoViewController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/x\/pages\/insights\/view_video\/",{identifier:{type:"String",required:true},video_container_name:{type:"String",required:true},height:{type:"Int",defaultValue:300},width:{type:"Int",defaultValue:612},page_id:{type:"Int"}});}),null);
  __d('HubbleVideoView.react',['Arbiter','AsyncRequest','React','SubscriptionsHandler','XPageInsightsVideoViewController'],(function a(b,c,d,e,f,g){var h,i,j=c('React').PropTypes,k=0;h=babelHelpers.inherits(l,c('React').Component);i=h&&h.prototype;function l(){var m,n;'use strict';for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=i.constructor).call.apply(m,[this].concat(p)),this.state={videoLoaded:false},n;}l.prototype.componentWillMount=function(){'use strict';this.$HubbleVideoView1='videoContainer_'+ ++k;};l.prototype.componentDidMount=function(){'use strict';var m=c('XPageInsightsVideoViewController').getURIBuilder().setString('identifier',this.props.identifier).setString('identifier',this.props.identifier).setString('video_container_name',this.$HubbleVideoView1).setInt('page_id',this.props.pageID);if(this.props.height)m.setInt('height',this.props.height);if(this.props.width)m.setInt('width',this.props.width);var n=m.getURI();this.request=new (c('AsyncRequest'))().setRelativeTo(this).setMethod('GET').setReadOnly(true).setURI(n).send();};l.prototype.render=function(){'use strict';return (c('React').createElement('div',{id:this.$HubbleVideoView1}));};l.propTypes={identifier:j.string.isRequired,onVideoLoaded:j.func,height:j.number,width:j.number,pageID:j.string};l.invokeVideoLoaded=function(m,n){m.props.onVideoLoaded(n);};f.exports=l;}),null);
  __d('PostScheduleDialog.react',['cx','fbt','DatePickerRestraints','React','ReactLayeredComponentMixin_DEPRECATED','XUIDateTimePicker.react','XUIDialog.react','XUIDialogBody.react','XUIDialogFooter.react','XUIDialogTitle.react','XUIDialogButton.react','XUIDialogCancelButton.react','XUIGrayText.react','XUINotice.react'],(function a(b,c,d,e,f,g,h,i){var j=c('React').PropTypes,k=60*1000,l=24*60*60*1000,m=30,n=c('React').createClass({displayName:'PostScheduleDialog',mixins:[c('ReactLayeredComponentMixin_DEPRECATED')],propTypes:{initialDate:j.instanceOf(Date),isReschedule:j.bool,timezoneStr:j.string.isRequired,onSubmit:j.func.isRequired,defaultScheduledTimeDelta:j.number,submitLabel:j.string},getDefaultProps:function o(){return {defaultScheduledTimeDelta:11*k};},getInitialState:function o(){return {shown:false,date:this.props.initialDate?this.props.initialDate:new Date(Date.now()+this.props.defaultScheduledTimeDelta)};},show:function o(){this.setState({shown:true,date:this.props.initialDate?this.props.initialDate:new Date(Date.now()+this.props.defaultScheduledTimeDelta)});},renderLayers:function o(){var p=new Date(Date.now()-l),q=new Date(Date.now()+6*m*l),r=this._isSelectedTimeValid(this.state.date.getTime()),s=this.props.isReschedule?i._("Reschedule Post"):i._("Schedule Post"),t=this.props.submitLabel?this.props.submitLabel:this.props.isReschedule?i._("Reschedule"):i._("Schedule");return (c('React').createElement(c('XUIDialog.react'),{shown:this.state.shown,width:343},c('React').createElement(c('XUIDialogTitle.react'),null,s),c('React').createElement(c('XUIDialogBody.react'),{className:"_hg8"},c('React').createElement(c('XUIGrayText.react'),{shade:'light',size:'small',display:'block'},i._("Select a date and time in the future for when you want your post to publish.")),c('React').createElement(c('XUIDateTimePicker.react'),{allowEmpty:false,dateRestraints:[c('DatePickerRestraints').enforceDateIsNoEarlierThan(p),c('DatePickerRestraints').enforceDateIsNoLaterThan(q)],className:"_3-8x",date:this.state.date,onChange:this._onChange,timezone:this.props.timezoneStr}),c('React').createElement(c('XUINotice.react'),{use:'warn',className:"_3-8x"+(r?' '+"hidden_elem":'')},i._("Scheduled posts need to be shared between 10 minutes and 6 months from when you create them."))),c('React').createElement(c('XUIDialogFooter.react'),null,c('React').createElement(c('XUIDialogCancelButton.react'),null),c('React').createElement(c('XUIDialogButton.react'),{action:'confirm',label:t,onClick:this._onSubmitClick,disabled:!r,use:'confirm'}))));},render:function o(){return (c('React').createElement('div',null));},_onChange:function o(p){this.setState({date:p});},_onSubmitClick:function o(){this.props.onSubmit(this.state.date);this.setState({shown:false});},_isSelectedTimeValid:function o(p){var q=Date.now()+10*k,r=Date.now()+6*m*l;return p>q&&p<r;}});f.exports=n;}),null);
  __d('FixedDataTableCellDefault.react',['cx','React','joinClasses'],(function a(b,c,d,e,f,g,h){'use strict';var i,j,k=c('React').PropTypes;i=babelHelpers.inherits(l,c('React').Component);j=i&&i.prototype;l.prototype.render=function(){var m=this.props,n=m.height,o=m.width,p=m.style,q=m.className,r=m.children,s=m.columnKey,t=m.useDefaultCellLayout,u=babelHelpers.objectWithoutProperties(m,['height','width','style','className','children','columnKey','useDefaultCellLayout']);void s;void t;var v=babelHelpers['extends']({height:n,width:o},p);if(t===false){if(!q&&c('React').isValidElement(r))return r;return (c('React').createElement('div',{className:q},r));}else return (c('React').createElement('div',babelHelpers['extends']({},u,{className:c('joinClasses')("_4lgc","_4h2u",q),style:v}),c('React').createElement('div',{className:c('joinClasses')("_4lgd","_4h2w")},c('React').createElement('div',{className:c('joinClasses')("_4lge","_4h2x")},c('React').createElement('div',{className:"_4h2r"},r)))));};function l(){i.apply(this,arguments);}l.propTypes={height:k.number,width:k.number,columnKey:k.oneOfType([k.string,k.number]),useDefaultCellLayout:k.bool};f.exports=l;}),null);
  __d('FixedDataTableColumn.react',['React'],(function a(b,c,d,e,f,g){var h,i;h=babelHelpers.inherits(j,c('React').Component);i=h&&h.prototype;j.prototype.render=function(){'use strict';return null;};function j(){'use strict';h.apply(this,arguments);}j.__TableColumn__=true;f.exports=j;}),null);
  __d('FixedDataTableColumnGroup.react',['React'],(function a(b,c,d,e,f,g){var h,i;h=babelHelpers.inherits(j,c('React').Component);i=h&&h.prototype;j.prototype.render=function(){'use strict';return null;};function j(){'use strict';h.apply(this,arguments);}j.__TableColumnGroup__=true;f.exports=j;}),null);
  __d('FixedDataTableHelper',['Locale','React','FixedDataTableColumnGroup.react','FixedDataTableColumn.react'],(function a(b,c,d,e,f,g){'use strict';var h=c('Locale').isRTL()?-1:+1,i=5;function j(n){if(n===null||n===undefined){return '';}else return String(n);}function k(n,o){c('React').Children.forEach(n,function(p){if(p.type===c('FixedDataTableColumnGroup.react')){k(p.props.children,o);}else if(p.type===c('FixedDataTableColumn.react'))o(p);});}function l(n,o){var p=[];c('React').Children.forEach(n,function(q){var r,s=q;if(q.type===c('FixedDataTableColumnGroup.react')){(function(){var t=false,u=[];k(q.props.children,function(v){var w=o(v);if(w!==v)t=true;u.push(w);});if(t)s=c('React').cloneElement(q,{children:u});})();}else if(q.type===c('FixedDataTableColumn.react'))s=o(q);p.push(s);});return p;}var m={DIR_SIGN:h,CELL_VISIBILITY_TOLERANCE:i,renderToString:j,forEachColumn:k,mapColumns:l};f.exports=m;}),null);
  __d('FixedDataTableCell.react',['cx','invariant','FixedDataTableCellDefault.react','FixedDataTableHelper','React','joinClasses'],(function a(b,c,d,e,f,g,h,i){'use strict';var j,k,l=c('FixedDataTableHelper').DIR_SIGN,m=c('React').PropTypes;j=babelHelpers.inherits(n,c('React').Component);k=j&&j.prototype;function n(){var o,p;for(var q=arguments.length,r=Array(q),s=0;s<q;s++)r[s]=arguments[s];return p=(o=k.constructor).call.apply(o,[this].concat(r)),this.$FixedDataTableCell1=function(event){this.props.onColumnResize||i(0);this.props.onColumnResize(this.props.left,this.props.width,this.props.minWidth,this.props.maxWidth,this.props.columnKey,event);}.bind(this),p;}n.prototype.shouldComponentUpdate=function(o){return !o.isScrolling||this.props.rowIndex!==o.rowIndex;};n.prototype.render=function(){var o=this.props,p=o.height,q=o.width,r=o.columnKey,s=o.isRowHovered,t=o.useDefaultCellLayout,u=babelHelpers.objectWithoutProperties(o,['height','width','columnKey','isRowHovered','useDefaultCellLayout']),v=babelHelpers['extends']({},u.style,{height:p,width:q});if(l===1){v.left=u.left;}else v.right=u.left;var w=c('joinClasses')("_4lg0"+(u.lastChild?' '+"_4lg2":'')+(u.align==='right'?' '+"_4lg5":'')+(u.align==='center'?' '+"_4lg6":'')+(u.align==='right'?' '+"_4h2p":'')+(u.highlighted?' '+"_4h2n":'')+(' '+"_4h2m"),u.className),x=void 0;if(u.onColumnResize){var y={height:p};x=c('React').createElement('div',{className:"_4lg9",style:y,onMouseDown:this.$FixedDataTableCell1},c('React').createElement('div',{className:c('joinClasses')("_4lga","_4lgb"),style:y}));}var z={columnKey:r,height:p,width:q,isRowHovered:s,useDefaultCellLayout:t};if(u.rowIndex>=0)z.rowIndex=u.rowIndex;var aa=void 0;if(c('React').isValidElement(u.cell)){aa=c('React').cloneElement(u.cell,z);}else if(typeof u.cell==='function'){aa=u.cell(z);}else aa=c('React').createElement(c('FixedDataTableCellDefault.react'),z,u.cell);return c('React').createElement('div',{className:w,style:v},x,aa);};n.defaultProps={align:'left',highlighted:false,useDefaultCellLayout:true};n.propTypes_DISABLED_FOR_PERFORMANCE={isRowHovered:m.bool,isScrolling:m.bool,align:m.oneOf(['left','center','right']),className:m.string,highlighted:m.bool,width:m.number.isRequired,minWidth:m.number,maxWidth:m.number,height:m.number.isRequired,style:m.object,useDefaultCellLayout:m.bool,cell:m.oneOfType([m.string,m.element,m.func]),columnKey:m.oneOfType([m.string,m.number]),rowIndex:m.number.isRequired,onColumnResize:m.func,left:m.number.isRequired};f.exports=n;}),null);
  __d('FixedDataTableCellGroupImpl.react',['cx','FixedDataTableHelper','React','FixedDataTableCell.react','translateDOMPositionXY'],(function a(b,c,d,e,f,g,h){'use strict';var i,j,k=c('React').PropTypes,l=c('FixedDataTableHelper').DIR_SIGN;i=babelHelpers.inherits(m,c('React').Component);j=i&&i.prototype;m.prototype.render=function(){var n=this.props,o=n.columns,p=new Array(o.length),q=0;for(var r=0,s=o.length;r<s;r++){var t=o[r].props;if(!t.allowCellsRecycling||q-n.left<=n.width&&q-n.left+t.width>=0){var u='cell_'+r;p[r]=this.$FixedDataTableCellGroupImpl1(n.rowIndex,n.rowHeight,t,q,u,n.useDefaultCellLayout);}q+=t.width;}var v=this.$FixedDataTableCellGroupImpl2(o),w={height:n.height,position:'absolute',width:v,zIndex:n.zIndex};c('translateDOMPositionXY')(w,-1*l*n.left,0);return (c('React').createElement('div',{className:"_3pzj",style:w},p));};m.prototype.$FixedDataTableCellGroupImpl1=function(n,o,p,q,r,s){var t=p.isResizable&&this.props.onColumnResize,u=t?this.props.onColumnResize:undefined,v=p.cellClassName,w=p.canHover||false;return (c('React').createElement(c('FixedDataTableCell.react'),{isRowHovered:w?this.props.isRowHovered:undefined,isScrolling:this.props.isScrolling,align:p.align,className:v,height:o,key:r,maxWidth:p.maxWidth,minWidth:p.minWidth,onColumnResize:u,rowIndex:n,columnKey:p.columnKey,width:p.width,left:q,cell:p.cell,style:this.props.cellStyle,useDefaultCellLayout:s}));};m.prototype.$FixedDataTableCellGroupImpl2=function(n){var o=0;for(var p=0;p<n.length;++p)o+=n[p].props.width;return o;};function m(){i.apply(this,arguments);}m.propTypes_DISABLED_FOR_PERFORMANCE={cellStyle:k.object,columns:k.array.isRequired,isRowHovered:k.bool.isRequired,isScrolling:k.bool,left:k.number,onColumnResize:k.func,rowHeight:k.number.isRequired,rowIndex:k.number.isRequired,useDefaultCellLayout:k.bool,width:k.number.isRequired,zIndex:k.number.isRequired};f.exports=m;}),null);
  __d('FixedDataTableCellGroup.react',['cx','FixedDataTableHelper','React','FixedDataTableCellGroupImpl.react'],(function a(b,c,d,e,f,g,h){'use strict';var i,j,k=c('React').PropTypes,l=c('FixedDataTableHelper').DIR_SIGN;i=babelHelpers.inherits(m,c('React').Component);j=i&&i.prototype;function m(){var n,o;for(var p=arguments.length,q=Array(p),r=0;r<p;r++)q[r]=arguments[r];return o=(n=j.constructor).call.apply(n,[this].concat(q)),this.$FixedDataTableCellGroup1=function(s,t,u,v,w,event){this.props.onColumnResize&&this.props.onColumnResize(this.props.offsetLeft,s-this.props.left+t,t,u,v,w,event);}.bind(this),o;}m.prototype.shouldComponentUpdate=function(n){return !n.isScrolling||this.props.rowIndex!==n.rowIndex||this.props.left!==n.left;};m.prototype.render=function(){var n=this.props,o=n.offsetLeft,p=babelHelpers.objectWithoutProperties(n,['offsetLeft']),q={height:p.height};if(l===1){q.left=o;}else q.right=o;var r=p.onColumnResize?this.$FixedDataTableCellGroup1:undefined;return c('React').createElement('div',{style:q,className:"_3pzk"},c('React').createElement(c('FixedDataTableCellGroupImpl.react'),babelHelpers['extends']({},p,{onColumnResize:r})));};m.defaultProps={offsetLeft:0};m.propTypes_DISABLED_FOR_PERFORMANCE={isScrolling:k.bool,height:k.number.isRequired,offsetLeft:k.number,left:k.number,useDefaultCellLayout:k.bool,zIndex:k.number.isRequired};f.exports=m;}),null);
  __d('FixedDataTableRowImpl.react',['cx','React','FixedDataTableCellGroup.react','joinClasses'],(function a(b,c,d,e,f,g,h){'use strict';var i,j,k=c('React').PropTypes;i=babelHelpers.inherits(l,c('React').Component);j=i&&i.prototype;function l(){var m,n;for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=j.constructor).call.apply(m,[this].concat(p)),this.state={isHovered:false},this.$FixedDataTableRowImpl3=function(event){if(this.props.onClick)this.props.onClick(event,this.props.index);}.bind(this),this.$FixedDataTableRowImpl4=function(event){if(this.props.onDoubleClick)this.props.onDoubleClick(event,this.props.index);}.bind(this),this.$FixedDataTableRowImpl5=function(event){if(this.props.onMouseDown)this.props.onMouseDown(event,this.props.index);}.bind(this),this.$FixedDataTableRowImpl6=function(event){if(this.props.canHover)this.setState({isHovered:true});if(this.props.onMouseEnter)this.props.onMouseEnter(event,this.props.index);}.bind(this),this.$FixedDataTableRowImpl7=function(event){if(this.props.canHover)this.setState({isHovered:false});if(this.props.onMouseLeave)this.props.onMouseLeave(event,this.props.index);}.bind(this),n;}l.prototype.render=function(){var m={width:this.props.width,height:this.props.height},n="_1gd4"+(' '+"_4li")+(this.props.index%2===1?' '+"_4lo":'')+(this.props.index%2===1?' '+"_52nn":'')+(this.props.index%2===0?' '+"_52no":''),o=this.state.isHovered,p=this.$FixedDataTableRowImpl1(this.props.fixedColumns),q=c('React').createElement(c('FixedDataTableCellGroup.react'),{key:'fixed_cells',isScrolling:this.props.isScrolling,height:this.props.height,isRowHovered:o,left:0,width:p,zIndex:2,columns:this.props.fixedColumns,onColumnResize:this.props.onColumnResize,rowHeight:this.props.height,rowIndex:this.props.index,cellStyle:this.props.cellStyle,useDefaultCellLayout:this.props.useDefaultCellLayout}),r=this.$FixedDataTableRowImpl2(p),s=c('React').createElement(c('FixedDataTableCellGroup.react'),{key:'scrollable_cells',isScrolling:this.props.isScrolling,height:this.props.height,isRowHovered:o,left:this.props.scrollLeft,offsetLeft:p,width:this.props.width-p,zIndex:0,columns:this.props.scrollableColumns,onColumnResize:this.props.onColumnResize,rowHeight:this.props.height,rowIndex:this.props.index,cellStyle:this.props.cellStyle,useDefaultCellLayout:this.props.useDefaultCellLayout});return c('React').createElement('div',{className:c('joinClasses')(n,this.props.className),'data-testid':this.props['data-testid'],onClick:this.props.onClick?this.$FixedDataTableRowImpl3:null,onDoubleClick:this.props.onDoubleClick?this.$FixedDataTableRowImpl4:null,onMouseDown:this.props.onMouseDown?this.$FixedDataTableRowImpl5:null,onMouseEnter:this.$FixedDataTableRowImpl6,onMouseLeave:this.$FixedDataTableRowImpl7,role:'presentation',style:m},c('React').createElement('div',{className:"_1gd5"},q,s,r));};l.prototype.$FixedDataTableRowImpl1=function(m){var n=0;for(var o=0;o<m.length;++o)n+=m[o].props.width;return n;};l.prototype.$FixedDataTableRowImpl2=function(m){if(m>0){var n="_1gd6"+(this.props.scrollLeft>0?' '+"_1gd7":'')+(' '+"_1gd8")+(this.props.scrollLeft>0?' '+"_1gd9":''),o={left:m,height:this.props.height};return c('React').createElement('div',{className:n,style:o});}else return undefined;};l.propTypes={cellStyle:k.object,canHover:k.bool,'data-testid':k.string,isScrolling:k.bool,fixedColumns:k.array.isRequired,height:k.number.isRequired,index:k.number.isRequired,scrollableColumns:k.array.isRequired,scrollLeft:k.number.isRequired,useDefaultCellLayout:k.bool,width:k.number.isRequired,onClick:k.func,onDoubleClick:k.func,onColumnResize:k.func};f.exports=l;}),null);
  __d('FixedDataTableRow.react',['cx','React','FixedDataTableRowImpl.react','translateDOMPositionXY'],(function a(b,c,d,e,f,g,h){'use strict';var i,j,k=c('React').PropTypes;i=babelHelpers.inherits(l,c('React').Component);j=i&&i.prototype;l.prototype.render=function(){var m=this.props,n=m.offsetTop,o=m.zIndex,p=babelHelpers.objectWithoutProperties(m,['offsetTop','zIndex']),q={width:this.props.width,height:this.props.height,zIndex:o?o:0};c('translateDOMPositionXY')(q,0,n);return (c('React').createElement('div',{style:q,className:"_1gda"},c('React').createElement(c('FixedDataTableRowImpl.react'),p)));};function l(){i.apply(this,arguments);}l.propTypes={'data-testid':k.string,isScrolling:k.bool,height:k.number.isRequired,zIndex:k.number,offsetTop:k.number.isRequired,useDefaultCellLayout:k.bool,width:k.number.isRequired};f.exports=l;}),null);
  __d('IntegerBufferSet',['invariant','Heap'],(function a(b,c,d,e,f,g,h){'use strict';function i(){this.getSize=function(){return this.$IntegerBufferSet2;}.bind(this);this.getValuePosition=function(j){if(this.$IntegerBufferSet1[j]===undefined)return null;return this.$IntegerBufferSet1[j];}.bind(this);this.getNewPositionForValue=function(j){this.$IntegerBufferSet1[j]===undefined||h(0);var k=this.$IntegerBufferSet2;this.$IntegerBufferSet2++;this.$IntegerBufferSet7(k,j);this.$IntegerBufferSet1[j]=k;return k;}.bind(this);this.replaceFurthestValuePosition=function(j,k,l){this.$IntegerBufferSet1[l]===undefined||h(0);this.$IntegerBufferSet8();if(this.$IntegerBufferSet3.empty()||this.$IntegerBufferSet5.empty())return null;var m=this.$IntegerBufferSet3.peek().value,n=this.$IntegerBufferSet5.peek().value;if(m>=j&&n<=k)return null;var o=void 0;if(j-m>n-k){o=m;this.$IntegerBufferSet3.pop();}else{o=n;this.$IntegerBufferSet5.pop();}var p=this.$IntegerBufferSet1[o];delete this.$IntegerBufferSet1[o];this.$IntegerBufferSet1[l]=p;this.$IntegerBufferSet7(p,l);return p;}.bind(this);this.$IntegerBufferSet1={};this.$IntegerBufferSet2=0;this.$IntegerBufferSet3=new (c('Heap'))([],this.$IntegerBufferSet4);this.$IntegerBufferSet5=new (c('Heap'))([],this.$IntegerBufferSet6);}i.prototype.$IntegerBufferSet7=function(j,k){var l={position:j,value:k};this.$IntegerBufferSet3.push(l);this.$IntegerBufferSet5.push(l);};i.prototype.$IntegerBufferSet8=function(){this.$IntegerBufferSet9(this.$IntegerBufferSet3);this.$IntegerBufferSet9(this.$IntegerBufferSet5);var j=Math.min(this.$IntegerBufferSet3.size(),this.$IntegerBufferSet5.size()),k=Math.max(this.$IntegerBufferSet3.size(),this.$IntegerBufferSet5.size());if(k>10*j)this.$IntegerBufferSet10();};i.prototype.$IntegerBufferSet10=function(){var j=this.$IntegerBufferSet3.size()<this.$IntegerBufferSet5.size()?this.$IntegerBufferSet3:this.$IntegerBufferSet5,k=new (c('Heap'))([],this.$IntegerBufferSet4),l=new (c('Heap'))([],this.$IntegerBufferSet6);while(!j.empty()){var m=j.pop();if(this.$IntegerBufferSet1[m.value]!==undefined){k.push(m);l.push(m);}}this.$IntegerBufferSet3=k;this.$IntegerBufferSet5=l;};i.prototype.$IntegerBufferSet9=function(j){while(!j.empty()&&this.$IntegerBufferSet1[j.peek().value]===undefined)j.pop();};i.prototype.$IntegerBufferSet4=function(j,k){return j.value<k.value;};i.prototype.$IntegerBufferSet6=function(j,k){return j.value>k.value;};f.exports=i;}),null);
  __d('FixedDataTableRowBuffer',['invariant','IntegerBufferSet','clamp'],(function a(b,c,d,e,f,g,h){'use strict';var i=3,j=6;function k(l,m,n,o,p){this.getRowsWithUpdatedBuffer=function(){var q=2*this.$FixedDataTableRowBuffer6,r=Math.max(this.$FixedDataTableRowBuffer3-this.$FixedDataTableRowBuffer6,0);while(r<this.$FixedDataTableRowBuffer3){this.$FixedDataTableRowBuffer11(r,this.$FixedDataTableRowBuffer3,this.$FixedDataTableRowBuffer4-1);r++;q--;}r=this.$FixedDataTableRowBuffer4;while(r<this.$FixedDataTableRowBuffer7&&q>0){this.$FixedDataTableRowBuffer11(r,this.$FixedDataTableRowBuffer3,this.$FixedDataTableRowBuffer4-1);r++;q--;}return this.$FixedDataTableRowBuffer9;}.bind(this);this.getRows=function(q,r){var s=r,t=s,u=q,v=Math.min(q+this.$FixedDataTableRowBuffer5,this.$FixedDataTableRowBuffer7);this.$FixedDataTableRowBuffer3=q;while(u<v||t<this.$FixedDataTableRowBuffer10&&u<this.$FixedDataTableRowBuffer7){this.$FixedDataTableRowBuffer11(u,q,v-1);t+=this.$FixedDataTableRowBuffer8(u);++u;this.$FixedDataTableRowBuffer4=u;}return this.$FixedDataTableRowBuffer9;}.bind(this);m!==0||h(0);this.$FixedDataTableRowBuffer1=new (c('IntegerBufferSet'))();this.$FixedDataTableRowBuffer2=m;this.$FixedDataTableRowBuffer3=0;this.$FixedDataTableRowBuffer4=0;this.$FixedDataTableRowBuffer5=Math.ceil(n/m)+1;this.$FixedDataTableRowBuffer6=p!=null?p:c('clamp')(Math.floor(this.$FixedDataTableRowBuffer5/2),i,j);this.$FixedDataTableRowBuffer7=l;this.$FixedDataTableRowBuffer8=o;this.$FixedDataTableRowBuffer9=[];this.$FixedDataTableRowBuffer10=n;}k.prototype.$FixedDataTableRowBuffer11=function(l,m,n){var o=this.$FixedDataTableRowBuffer1.getValuePosition(l),p=n-m+1,q=p+this.$FixedDataTableRowBuffer6*2;if(o===null&&this.$FixedDataTableRowBuffer1.getSize()>=q)o=this.$FixedDataTableRowBuffer1.replaceFurthestValuePosition(m,n,l);if(o===null){o=this.$FixedDataTableRowBuffer1.getNewPositionForValue(l);this.$FixedDataTableRowBuffer9[o]=l;}else this.$FixedDataTableRowBuffer9[o]=l;};f.exports=k;}),null);
  __d('FixedDataTableBufferedRows.react',['cx','React','FixedDataTableRowBuffer','FixedDataTableRow.react','emptyFunction','joinClasses','translateDOMPositionXY'],(function a(b,c,d,e,f,g,h){var i=c('React').PropTypes,j=c('React').createClass({displayName:'FixedDataTableBufferedRows',propTypes:{bufferRowCount:i.number,canHover:i.bool,defaultRowHeight:i.number.isRequired,firstRowIndex:i.number.isRequired,firstRowOffset:i.number.isRequired,fixedColumns:i.array.isRequired,height:i.number.isRequired,isScrolling:i.bool,offsetTop:i.number.isRequired,onRowClick:i.func,onRowDoubleClick:i.func,onRowMouseDown:i.func,onRowMouseEnter:i.func,onRowMouseLeave:i.func,rowClassNameGetter:i.func,rowStyleGetter:i.func,rowHeightGetter:i.func,rowPositionGetter:i.func.isRequired,rowsCount:i.number.isRequired,scrollableColumns:i.array.isRequired,scrollLeft:i.number.isRequired,showLastRowBorder:i.bool,useDefaultCellLayout:i.bool,width:i.number.isRequired},getInitialState:function k(){this._rowBuffer=new (c('FixedDataTableRowBuffer'))(this.props.rowsCount,this.props.defaultRowHeight,this.props.height,this._getRowHeight,this.props.bufferRowCount);return {rowsToRender:this._rowBuffer.getRows(this.props.firstRowIndex,this.props.firstRowOffset)};},componentWillMount:function k(){this._staticRowArray=[];},componentDidMount:function k(){setTimeout(this._updateBuffer,1000);},componentWillReceiveProps:function k(l){if(l.rowsCount!==this.props.rowsCount||l.defaultRowHeight!==this.props.defaultRowHeight||l.height!==this.props.height||l.bufferRowCount!==this.props.bufferRowCount)this._rowBuffer=new (c('FixedDataTableRowBuffer'))(l.rowsCount,l.defaultRowHeight,l.height,this._getRowHeight,l.bufferRowCount);if(this.props.isScrolling&&!l.isScrolling){this._updateBuffer();}else this.setState({rowsToRender:this._rowBuffer.getRows(l.firstRowIndex,l.firstRowOffset)});},_updateBuffer:function k(){if(this.isMounted())this.setState({rowsToRender:this._rowBuffer.getRowsWithUpdatedBuffer()});},shouldComponentUpdate:function k(){return true;},componentWillUnmount:function k(){this._staticRowArray.length=0;},render:function k(){var l=this.props,m=l.rowClassNameGetter||c('emptyFunction'),n=l.rowStyleGetter||c('emptyFunction'),o=l.rowPositionGetter,p=this.state.rowsToRender;this._staticRowArray.length=p.length;for(var q=0;q<p.length;++q){var r=p[q],s=this._getRowHeight(r),t=o(r),u=r===l.rowsCount-1&&l.showLastRowBorder;this._staticRowArray[q]=c('React').createElement(c('FixedDataTableRow.react'),{key:q,cellStyle:n(r),canHover:this.props.canHover,'data-testid':'FixedDataTableRow',isScrolling:l.isScrolling,index:r,width:l.width,height:s,scrollLeft:Math.round(l.scrollLeft),offsetTop:Math.round(t),fixedColumns:l.fixedColumns,scrollableColumns:l.scrollableColumns,useDefaultCellLayout:l.useDefaultCellLayout,onClick:l.onRowClick,onDoubleClick:l.onRowDoubleClick,onMouseDown:l.onRowMouseDown,onMouseEnter:l.onRowMouseEnter,onMouseLeave:l.onRowMouseLeave,className:c('joinClasses')(m(r),"_3c7k",(u?"_4efq":'')+(u?' '+"_4efs":''))});}var v=l.rowPositionGetter(l.firstRowIndex),w={position:'absolute',pointerEvents:l.isScrolling?'none':'auto'};c('translateDOMPositionXY')(w,0,l.firstRowOffset-v+l.offsetTop);return c('React').createElement('div',{style:w},this._staticRowArray);},_getRowHeight:function k(l){return this.props.rowHeightGetter?this.props.rowHeightGetter(l):this.props.defaultRowHeight;}});f.exports=j;}),null);
  __d('FixedDataTableColumnGroupNew.react',['React'],(function a(b,c,d,e,f,g){var h,i,j=c('React').PropTypes;h=babelHelpers.inherits(k,c('React').Component);i=h&&h.prototype;k.prototype.render=function(){'use strict';return null;};function k(){'use strict';h.apply(this,arguments);}k.__TableColumnGroup__=true;k.propTypes={align:j.oneOf(['left','center','right']),fixed:j.bool,header:j.oneOfType([j.node,j.func])};k.defaultProps={fixed:false};f.exports=k;}),null);
  __d('FixedDataTableColumnNew.react',['React'],(function a(b,c,d,e,f,g){var h,i,j=c('React').PropTypes;h=babelHelpers.inherits(k,c('React').Component);i=h&&h.prototype;k.prototype.render=function(){'use strict';return null;};function k(){'use strict';h.apply(this,arguments);}k.__TableColumn__=true;k.propTypes={align:j.oneOf(['left','center','right']),fixed:j.bool,header:j.oneOfType([j.node,j.func]),headerStyle:j.object,cell:j.oneOfType([j.node,j.func]),cellStyle:j.object,footer:j.oneOfType([j.node,j.func]),columnKey:j.oneOfType([j.string,j.number]),width:j.number.isRequired,minWidth:j.number,maxWidth:j.number,flexGrow:j.number,isResizable:j.bool,allowCellsRecycling:j.bool};k.defaultProps={allowCellsRecycling:false,fixed:false};f.exports=k;}),null);
  __d('FixedDataTableColumnResizeHandle.react',['cx','DOMMouseMoveTracker','Locale','React','clamp'],(function a(b,c,d,e,f,g,h){'use strict';var i,j,k=c('React').PropTypes;i=babelHelpers.inherits(l,c('React').PureComponent);j=i&&i.prototype;function l(){var m,n;for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=j.constructor).call.apply(m,[this].concat(p)),this.state={width:0,cursorDelta:0},this.$FixedDataTableColumnResizeHandle2=function(r){if(c('Locale').isRTL())r=-r;var s=this.state.cursorDelta+r,t=c('clamp')(s,this.props.minWidth||0,this.props.maxWidth||Infinity);this.setState({width:t,cursorDelta:s});}.bind(this),this.$FixedDataTableColumnResizeHandle3=function(){this.props.onColumnResizeEnd(this.state.width,this.props.columnKey);}.bind(this),n;}l.prototype.componentWillReceiveProps=function(m){if(m.initialEvent&&!this.$FixedDataTableColumnResizeHandle1.isDragging()){this.$FixedDataTableColumnResizeHandle1.captureMouseMoves(m.initialEvent);this.setState({width:m.initialWidth,cursorDelta:m.initialWidth});}if(!m.visible)this.$FixedDataTableColumnResizeHandle1.releaseMouseMoves();};l.prototype.componentDidMount=function(){this.$FixedDataTableColumnResizeHandle1=new (c('DOMMouseMoveTracker'))(this.$FixedDataTableColumnResizeHandle2,this.$FixedDataTableColumnResizeHandle3,document.body);};l.prototype.componentWillUnmount=function(){this.$FixedDataTableColumnResizeHandle1.releaseMouseMoves();this.$FixedDataTableColumnResizeHandle1=null;};l.prototype.render=function(){var m={width:this.state.width,height:this.props.height};if(c('Locale').isRTL()){m.right=this.props.leftOffset;}else m.left=this.props.leftOffset;var n=!this.props.visible;return c('React').createElement('div',{className:"_3487"+(n?' '+"_3488":'')+(' '+"_3489"),style:m},c('React').createElement('div',{className:"_348a",style:{height:this.props.height}}));};l.propTypes={visible:k.bool.isRequired,height:k.number.isRequired,leftOffset:k.number.isRequired,knobHeight:k.number.isRequired,initialWidth:k.number,minWidth:k.number,maxWidth:k.number,initialEvent:k.object,onColumnResizeEnd:k.func,columnKey:k.oneOfType([k.string,k.number])};f.exports=l;}),null);
  __d('PrefixIntervalTree',['invariant'],(function a(b,c,d,e,f,g,h){'use strict';var i=function m(n){return Math.floor(n/2);},j=b.Int32Array||function(m){var n=[];for(var o=m-1;o>=0;--o)n[o]=0;return n;};function k(m){var n=1;while(n<m)n*=2;return n;}function l(m){this.$PrefixIntervalTree1=m.length;this.$PrefixIntervalTree2=k(this.$PrefixIntervalTree1);this.$PrefixIntervalTree3=new j(2*this.$PrefixIntervalTree2);var n=void 0;for(n=0;n<this.$PrefixIntervalTree1;++n)this.$PrefixIntervalTree3[this.$PrefixIntervalTree2+n]=m[n];for(n=this.$PrefixIntervalTree2-1;n>0;--n)this.$PrefixIntervalTree3[n]=this.$PrefixIntervalTree3[2*n]+this.$PrefixIntervalTree3[2*n+1];}l.uniform=function(m,n){var o=[];for(var p=m-1;p>=0;--p)o[p]=n;return new l(o);};l.empty=function(m){return l.uniform(m,0);};l.prototype.set=function(m,n){0<=m&&m<this.$PrefixIntervalTree1||h(0);var o=this.$PrefixIntervalTree2+m;this.$PrefixIntervalTree3[o]=n;o=i(o);for(;o!==0;o=i(o))this.$PrefixIntervalTree3[o]=this.$PrefixIntervalTree3[2*o]+this.$PrefixIntervalTree3[2*o+1];};l.prototype.get=function(m){0<=m&&m<this.$PrefixIntervalTree1||h(0);var n=this.$PrefixIntervalTree2+m;return this.$PrefixIntervalTree3[n];};l.prototype.getSize=function(){return this.$PrefixIntervalTree1;};l.prototype.sumUntil=function(m){0<=m&&m<this.$PrefixIntervalTree1+1||h(0);if(m===0)return 0;var n=this.$PrefixIntervalTree2+m-1,o=this.$PrefixIntervalTree3[n];for(;n!==1;n=i(n))if(n%2===1)o+=this.$PrefixIntervalTree3[n-1];return o;};l.prototype.sumTo=function(m){0<=m&&m<this.$PrefixIntervalTree1||h(0);return this.sumUntil(m+1);};l.prototype.sum=function(m,n){m<=n||h(0);return this.sumUntil(n)-this.sumUntil(m);};l.prototype.greatestLowerBound=function(m){if(m<0)return -1;var n=1;if(this.$PrefixIntervalTree3[n]<=m)return this.$PrefixIntervalTree1;while(n<this.$PrefixIntervalTree2){var o=this.$PrefixIntervalTree3[2*n];if(m<o){n=2*n;}else{n=2*n+1;m-=o;}}return n-this.$PrefixIntervalTree2;};l.prototype.greatestStrictLowerBound=function(m){if(m<=0)return -1;var n=1;if(this.$PrefixIntervalTree3[n]<m)return this.$PrefixIntervalTree1;while(n<this.$PrefixIntervalTree2){var o=this.$PrefixIntervalTree3[2*n];if(m<=o){n=2*n;}else{n=2*n+1;m-=o;}}return n-this.$PrefixIntervalTree2;};l.prototype.leastUpperBound=function(m){return this.greatestStrictLowerBound(m)+1;};l.prototype.leastStrictUpperBound=function(m){return this.greatestLowerBound(m)+1;};f.exports=l;}),null);
  __d('FixedDataTableScrollHelper',['PrefixIntervalTree','clamp'],(function a(b,c,d,e,f,g){'use strict';var h=5,i={index:0,offset:0,position:0,contentHeight:0};function j(l,m,n,o){k.call(this);this.$FixedDataTableScrollHelper1=c('PrefixIntervalTree').uniform(l,m);this.$FixedDataTableScrollHelper2=new Array(l);for(var p=0;p<l;++p)this.$FixedDataTableScrollHelper2[p]=m;this.$FixedDataTableScrollHelper3=l;this.$FixedDataTableScrollHelper4=0;this.$FixedDataTableScrollHelper5=l*m;this.$FixedDataTableScrollHelper6=m;this.$FixedDataTableScrollHelper7=o?o:function(){return m;};this.$FixedDataTableScrollHelper8=n;this.$FixedDataTableScrollHelper9(0,0);}j.prototype.$FixedDataTableScrollHelper9=function(l,m){var n=m,o=l;while(n<=this.$FixedDataTableScrollHelper8&&o<this.$FixedDataTableScrollHelper3){this.$FixedDataTableScrollHelper10(o);n+=this.$FixedDataTableScrollHelper2[o];o++;}};j.prototype.$FixedDataTableScrollHelper11=function(l){var m=l-1;while(m>=0&&m>=l-h){var n=this.$FixedDataTableScrollHelper10(m);this.$FixedDataTableScrollHelper4+=n;m--;}};j.prototype.$FixedDataTableScrollHelper10=function(l){if(l<0||l>=this.$FixedDataTableScrollHelper3)return 0;var m=this.$FixedDataTableScrollHelper7(l);if(m!==this.$FixedDataTableScrollHelper2[l]){var n=m-this.$FixedDataTableScrollHelper2[l];this.$FixedDataTableScrollHelper1.set(l,m);this.$FixedDataTableScrollHelper2[l]=m;this.$FixedDataTableScrollHelper5+=n;return n;}return 0;};j.prototype.$FixedDataTableScrollHelper12=function(l){this.$FixedDataTableScrollHelper10(l);var m=l,n=this.$FixedDataTableScrollHelper2[m];while(n<this.$FixedDataTableScrollHelper8&&m>=0){m--;if(m>=0){this.$FixedDataTableScrollHelper10(m);n+=this.$FixedDataTableScrollHelper2[m];}}var o=this.$FixedDataTableScrollHelper1.sumTo(l)-this.$FixedDataTableScrollHelper8;if(o<0)o=0;return o;};j.prototype.getLastRowIndex=function(l,m,n){var o=this.$FixedDataTableScrollHelper1.sumUntil(l)-m,p=o+n;return this.$FixedDataTableScrollHelper1.leastUpperBound(p);};j.prototype.getViewportHeight=function(){return this.$FixedDataTableScrollHelper8;};var k=function l(){this.setRowHeightGetter=function(m){this.$FixedDataTableScrollHelper7=m;}.bind(this);this.setViewportHeight=function(m){this.$FixedDataTableScrollHelper8=m;}.bind(this);this.getContentHeight=function(){return this.$FixedDataTableScrollHelper5;}.bind(this);this.getRowPosition=function(m){this.$FixedDataTableScrollHelper10(m);return this.$FixedDataTableScrollHelper1.sumUntil(m);}.bind(this);this.scrollBy=function(m){if(this.$FixedDataTableScrollHelper3===0)return i;var n=this.$FixedDataTableScrollHelper1.greatestLowerBound(this.$FixedDataTableScrollHelper4);n=c('clamp')(n,0,Math.max(this.$FixedDataTableScrollHelper3-1,0));var o=this.$FixedDataTableScrollHelper1.sumUntil(n),p=n,q=this.$FixedDataTableScrollHelper4,r=this.$FixedDataTableScrollHelper10(p);if(o!==0)q+=r;var s=this.$FixedDataTableScrollHelper2[p]-(q-o);if(m>=0){while(m>0&&p<this.$FixedDataTableScrollHelper3){if(m<s){q+=m;m=0;}else{m-=s;q+=s;p++;}if(p<this.$FixedDataTableScrollHelper3){this.$FixedDataTableScrollHelper10(p);s=this.$FixedDataTableScrollHelper2[p];}}}else if(m<0){m=-m;var t=this.$FixedDataTableScrollHelper2[p]-s;while(m>0&&p>=0){if(m<t){q-=m;m=0;}else{q-=t;m-=t;p--;}if(p>=0){var u=this.$FixedDataTableScrollHelper10(p);t=this.$FixedDataTableScrollHelper2[p];q+=u;}}}var v=this.$FixedDataTableScrollHelper5-this.$FixedDataTableScrollHelper8;q=c('clamp')(q,0,v);this.$FixedDataTableScrollHelper4=q;var w=this.$FixedDataTableScrollHelper1.greatestLowerBound(q);w=c('clamp')(w,0,Math.max(this.$FixedDataTableScrollHelper3-1,0));o=this.$FixedDataTableScrollHelper1.sumUntil(w);var x=o-q;this.$FixedDataTableScrollHelper9(w,x);this.$FixedDataTableScrollHelper11(w);return {index:w,offset:x,position:this.$FixedDataTableScrollHelper4,contentHeight:this.$FixedDataTableScrollHelper5};}.bind(this);this.scrollTo=function(m){if(this.$FixedDataTableScrollHelper3===0)return i;if(m<=0){this.$FixedDataTableScrollHelper4=0;this.$FixedDataTableScrollHelper9(0,0);return {index:0,offset:0,position:this.$FixedDataTableScrollHelper4,contentHeight:this.$FixedDataTableScrollHelper5};}else if(m>=this.$FixedDataTableScrollHelper5-this.$FixedDataTableScrollHelper8){var n=this.$FixedDataTableScrollHelper3-1;m=this.$FixedDataTableScrollHelper12(n);}this.$FixedDataTableScrollHelper4=m;var o=this.$FixedDataTableScrollHelper1.greatestLowerBound(m);o=c('clamp')(o,0,Math.max(this.$FixedDataTableScrollHelper3-1,0));var p=this.$FixedDataTableScrollHelper1.sumUntil(o),q=p-m;this.$FixedDataTableScrollHelper9(o,q);this.$FixedDataTableScrollHelper11(o);return {index:o,offset:q,position:this.$FixedDataTableScrollHelper4,contentHeight:this.$FixedDataTableScrollHelper5};}.bind(this);this.scrollToRow=function(m,n){m=c('clamp')(m,0,Math.max(this.$FixedDataTableScrollHelper3-1,0));n=c('clamp')(n,-this.$FixedDataTableScrollHelper2[m],0);var o=this.$FixedDataTableScrollHelper1.sumUntil(m);return this.scrollTo(o-n);}.bind(this);this.scrollRowIntoView=function(m){m=c('clamp')(m,0,Math.max(this.$FixedDataTableScrollHelper3-1,0));var n=this.$FixedDataTableScrollHelper1.sumUntil(m),o=n+this.$FixedDataTableScrollHelper2[m];if(n<this.$FixedDataTableScrollHelper4){return this.scrollTo(n);}else if(this.$FixedDataTableScrollHelper4+this.$FixedDataTableScrollHelper8<o){var p=this.$FixedDataTableScrollHelper12(m);return this.scrollTo(p);}return this.scrollTo(this.$FixedDataTableScrollHelper4);}.bind(this);};f.exports=j;}),null);
  __d('FixedDataTableWidthHelper',['React'],(function a(b,c,d,e,f,g){'use strict';function h(n){var o=0;for(var p=0;p<n.length;++p)o+=n[p].props.width;return o;}function i(n){var o=0;for(var p=0;p<n.length;++p)o+=n[p].props.flexGrow||0;return o;}function j(n,o){if(o<=0)return {columns:n,width:h(n)};var p=i(n),q=o,r=[],s=0;for(var t=0;t<n.length;++t){var u=n[t];if(!u.props.flexGrow){s+=u.props.width;r.push(u);continue;}var v=Math.floor(u.props.flexGrow/p*q),w=Math.floor(u.props.width+v);s+=w;p-=u.props.flexGrow;q-=v;r.push(c('React').cloneElement(u,{width:w}));}return {columns:r,width:s};}function k(n,o){var p=[],q=void 0;for(q=0;q<n.length;++q)c('React').Children.forEach(n[q].props.children,function(ca){p.push(ca);});var r=h(p),s=i(p),t=Math.max(o-r,0),u=[],v=[];for(q=0;q<n.length;++q){var w=n[q],x=[];c('React').Children.forEach(w.props.children,function(ca){x.push(ca);});var y=i(x),z=Math.floor(y/s*t),aa=j(x,z);s-=y;t-=z;for(var ba=0;ba<aa.columns.length;++ba)u.push(aa.columns[ba]);v.push(c('React').cloneElement(w,{width:aa.width}));}return {columns:u,columnGroups:v};}function l(n,o){var p=h(n);if(p<o)return j(n,o-p).columns;return n;}var m={getTotalWidth:h,getTotalFlexGrow:i,distributeFlexWidth:j,adjustColumnWidths:l,adjustColumnGroupWidths:k};f.exports=m;}),null);
  __d('FixedDataTableNew.react',['cx','invariant','FixedDataTableBufferedRows.react','FixedDataTableColumnResizeHandle.react','FixedDataTableRow.react','FixedDataTableScrollHelper','FixedDataTableWidthHelper','React','ReactWheelHandler','Scrollbar.react','areEqual','debounceCore','emptyFunction','joinClasses','shallowEqual','translateDOMPositionXY'],(function a(b,c,d,e,f,g,h,i){'use strict';var j,k,l,m,n=c('React').PropTypes,o={},p='header',q='footer',r='cell';j=babelHelpers.inherits(s,c('React').Component);k=j&&j.prototype;function s(u){k.constructor.call(this,u);this.$FixedDataTable7=true;this.$FixedDataTable12=function(w){if(this.props.overflowX==='hidden')return false;w=Math.round(w);if(w===0)return false;if(this.props.isRTL){return (w>0&&this.state.scrollX>0||w<=0&&this.state.scrollX<this.state.maxScrollX);}else return (w<0&&this.state.scrollX>0||w>=0&&this.state.scrollX<this.state.maxScrollX);}.bind(this);this.$FixedDataTable13=function(w){if(this.props.overflowY==='hidden'||w===0)return false;w=Math.round(w);if(w===0)return false;return (w<0&&this.state.scrollY>0||w>=0&&this.state.scrollY<this.state.maxScrollY);}.bind(this);this.$FixedDataTable17=function(w,x,y,z,aa,ba,event){this.setState({isColumnResizing:true,columnResizingData:{left:x+w-y,width:y,minWidth:z,maxWidth:aa,initialEvent:{clientX:event.clientX,clientY:event.clientY,preventDefault:c('emptyFunction')},key:ba}});}.bind(this);this.$FixedDataTable20=function(w,x){this.setState({isColumnResizing:false});!!this.props.onColumnResizeEndCallback||i(0);this.props.onColumnResizeEndCallback(w,x);}.bind(this);this.$FixedDataTable11=function(w,x){if(this.$FixedDataTable7){if(!this.$FixedDataTable5)this.$FixedDataTable15();var y=this.state.scrollX;if(Math.abs(x)>Math.abs(w)&&this.props.overflowY!=='hidden'){var z=this.$FixedDataTable1.scrollBy(Math.round(x)),aa=Math.max(0,z.contentHeight-this.state.bodyHeight);this.setState({firstRowIndex:z.index,firstRowOffset:z.offset,scrollY:z.position,scrollContentHeight:z.contentHeight,maxScrollY:aa});}else if(w&&this.props.overflowX!=='hidden'){y+=w*(this.props.isRTL?-1:1);y=y<0?0:y;y=y>this.state.maxScrollX?this.state.maxScrollX:y;this.setState({scrollX:y});}this.$FixedDataTable9();this.$FixedDataTable16('wheel');}}.bind(this);this.$FixedDataTable19=function(w){if(this.$FixedDataTable7&&w!==this.state.scrollX){if(!this.$FixedDataTable5)this.$FixedDataTable15();this.setState({scrollX:w});this.$FixedDataTable9();this.$FixedDataTable16('scrollbar');}}.bind(this);this.$FixedDataTable18=function(w){if(this.$FixedDataTable7&&w!==this.state.scrollY){if(!this.$FixedDataTable5)this.$FixedDataTable15();var x=this.$FixedDataTable1.scrollTo(Math.round(w));this.setState({firstRowIndex:x.index,firstRowOffset:x.offset,scrollY:x.position,scrollContentHeight:x.contentHeight});this.$FixedDataTable9();this.$FixedDataTable16('scrollbar');}}.bind(this);this.$FixedDataTable9=function(){if(this.$FixedDataTable7&&this.$FixedDataTable5){this.$FixedDataTable5=false;this.setState({redraw:true});if(this.props.onScrollEnd)this.props.onScrollEnd(this.state.scrollX,this.state.scrollY);}}.bind(this);var v=(u.height===undefined?u.maxHeight:u.height)-(u.headerHeight||0)-(u.footerHeight||0)-(u.groupHeaderHeight||0);this.$FixedDataTable1=new (c('FixedDataTableScrollHelper'))(u.rowsCount,u.rowHeight,v,u.rowHeightGetter);if(u.scrollTop)this.$FixedDataTable1.scrollTo(u.scrollTop);this.$FixedDataTable9=c('debounceCore')(this.$FixedDataTable9,200,this);this.state=this.$FixedDataTable10(u);}s.prototype.componentWillMount=function(){var u=this.props.scrollToRow;if(u!==undefined&&u!==null)this.$FixedDataTable2=u;var v=this.props.scrollToColumn;if(v!==undefined&&v!==null)this.$FixedDataTable3=v;this.$FixedDataTable4=new (c('ReactWheelHandler'))(this.$FixedDataTable11,this.$FixedDataTable12,this.$FixedDataTable13);};s.prototype.$FixedDataTable14=function(){var u=this.state.scrollContentHeight,v=this.state.reservedHeight,w=u+v,x=void 0,y=this.props.height===undefined;if(y&&this.props.maxHeight>w){x=w;}else if(this.state.height>w&&this.props.ownerHeight){x=Math.max(w,this.props.ownerHeight);}else x=this.state.height+this.state.maxScrollY;if(x!==this.$FixedDataTable8&&this.props.onContentHeightChange)this.props.onContentHeightChange(x);this.$FixedDataTable8=x;};s.prototype.componentDidMount=function(){this.$FixedDataTable14();};s.prototype.componentWillUnmount=function(){this.$FixedDataTable7=false;};s.prototype.componentWillReceiveProps=function(u){var v=u.scrollToRow;if(v!==undefined&&v!==null)this.$FixedDataTable2=v;var w=u.scrollToColumn;if(w!==undefined&&w!==null)this.$FixedDataTable3=w;var x=u.overflowX,y=u.overflowY;if(x!==this.props.overflowX||y!==this.props.overflowY)this.$FixedDataTable4=new (c('ReactWheelHandler'))(this.$FixedDataTable11,x!=='hidden',y!=='hidden');if(this.props.ownerHeight!==u.ownerHeight||this.props.scrollTop!==u.scrollTop)this.$FixedDataTable15();this.$FixedDataTable9();this.$FixedDataTable16('props');this.setState(this.$FixedDataTable10(u,this.state,this.props));};s.prototype.componentDidUpdate=function(){this.$FixedDataTable14();};s.prototype.render=function(){var u=this.state,v=this.props,w=void 0;if(u.useGroupHeader)w=c('React').createElement(c('FixedDataTableRow.react'),{key:'group_header',canHover:false,cellStyle:v.headerStyle,isScrolling:this.$FixedDataTable5,className:c('joinClasses')("_3h1a","_1mib","_e-x"),width:v.width,height:u.groupHeaderHeight,index:0,zIndex:1,offsetTop:0,scrollLeft:u.scrollX,fixedColumns:u.groupHeaderFixedColumns,scrollableColumns:u.groupHeaderScrollableColumns,useDefaultCellLayout:v.useDefaultCellLayout,onColumnResize:this.$FixedDataTable17});var x=u.maxScrollY,y=u.maxScrollX>0&&v.overflowX!=='hidden',z=x>0&&v.overflowY!=='hidden',aa=y?c('Scrollbar.react').SIZE:0,ba=u.height-aa-2*v.borderHeight-v.footerHeight,ca=u.useGroupHeader?u.groupHeaderHeight:0,da=ca+v.headerHeight;ba-=da;var ea=0,fa=v.maxHeight!=null?da+u.bodyHeight:da+ba,ga=fa+v.footerHeight;if(v.ownerHeight!==undefined&&v.ownerHeight<u.height){ea=v.ownerHeight-u.height;fa=Math.min(fa,v.ownerHeight-v.footerHeight-aa);ba=Math.max(0,fa-da);}var ha=void 0;if(z)ha=c('React').createElement(c('Scrollbar.react'),{size:ba,contentSize:ba+x,onScroll:this.$FixedDataTable18,verticalTop:da,position:u.scrollY});var ia=void 0;if(y){var ja=v.width;ia=c('React').createElement(t,{contentSize:ja+u.maxScrollX,offset:ea,onScroll:this.$FixedDataTable19,position:u.scrollX,size:ja,isRTL:v.isRTL});}var ka=c('React').createElement(c('FixedDataTableColumnResizeHandle.react'),{height:u.height,initialWidth:u.columnResizingData.width||0,minWidth:u.columnResizingData.minWidth||0,maxWidth:u.columnResizingData.maxWidth||Number.MAX_VALUE,visible:!!u.isColumnResizing,leftOffset:u.columnResizingData.left||0,knobHeight:v.headerHeight,initialEvent:u.columnResizingData.initialEvent,onColumnResizeEnd:this.$FixedDataTable20,columnKey:u.columnResizingData.key}),la=null;if(v.footerHeight)la=c('React').createElement(c('FixedDataTableRow.react'),{key:'footer',isScrolling:this.$FixedDataTable5,className:c('joinClasses')("_3h1b","_1mic"),width:v.width,height:v.footerHeight,index:-1,zIndex:1,offsetTop:fa,fixedColumns:u.footFixedColumns,scrollableColumns:u.footScrollableColumns,scrollLeft:u.scrollX});var ma=this.$FixedDataTable21(da),na=c('React').createElement(c('FixedDataTableRow.react'),{key:'header',canHover:false,cellStyle:v.headerStyle,isScrolling:this.$FixedDataTable5,className:c('joinClasses')("_3h1a","_1mib"),width:v.width,height:v.headerHeight,index:-1,zIndex:1,offsetTop:ca,scrollLeft:u.scrollX,fixedColumns:u.headFixedColumns,scrollableColumns:u.headScrollableColumns,onColumnResize:this.$FixedDataTable17}),oa=void 0,pa=void 0;if(u.scrollY)oa=c('React').createElement('div',{className:c('joinClasses')("_3h1c","_3h1d"),style:{top:da}});if(v.ownerHeight!=null&&v.ownerHeight<u.height&&u.scrollContentHeight+u.reservedHeight>v.ownerHeight||u.scrollY<x)pa=c('React').createElement('div',{className:c('joinClasses')("_3h1e","_3h1h"),style:{top:fa}});var qa={};if(this.props['data-testid'])qa['data-testid']=this.props['data-testid'];return c('React').createElement('div',babelHelpers['extends']({},qa,{className:c('joinClasses')(v.className,"_3h1i","_1mie"),onWheel:this.$FixedDataTable4.onWheel,style:{height:u.height,width:v.width}}),c('React').createElement('div',{className:"_3h1j",style:{height:ga,width:v.width}},ka,w,na,ma,la,oa,pa),ha,ia);};s.prototype.$FixedDataTable21=function(u){var v=this.state;return c('React').createElement(c('FixedDataTableBufferedRows.react'),{bufferRowCount:this.props.bufferRowCount,canHover:this.state.canHoverRows,defaultRowHeight:this.props.rowHeight,firstRowIndex:v.firstRowIndex,firstRowOffset:v.firstRowOffset,fixedColumns:v.bodyFixedColumns,height:v.bodyHeight,isScrolling:this.$FixedDataTable5,offsetTop:u,onRowClick:this.props.onRowClick,onRowDoubleClick:this.props.onRowDoubleClick,onRowMouseDown:this.props.onRowMouseDown,onRowMouseEnter:this.props.onRowMouseEnter,onRowMouseLeave:this.props.onRowMouseLeave,rowClassNameGetter:this.props.rowClassNameGetter,rowStyleGetter:this.props.rowStyleGetter,rowHeightGetter:this.props.rowHeightGetter,rowPositionGetter:this.$FixedDataTable1.getRowPosition,rowsCount:this.props.rowsCount,scrollableColumns:v.bodyScrollableColumns,scrollLeft:v.scrollX,showLastRowBorder:true,useDefaultCellLayout:this.props.useDefaultCellLayout,width:this.props.width});};s.prototype.$FixedDataTable22=function(u,v){if(u.length!==v.length)return false;for(var w=0;w<u.length;w++)if(!c('shallowEqual')(u[w].props,v[w].props))return false;return true;};s.prototype.$FixedDataTable23=function(u,v,w){var x=w,y={};if(x&&x.columns&&this.$FixedDataTable22(u,x.columns)){y.bodyFixedColumns=x.bodyFixedColumns;y.bodyScrollableColumns=x.bodyScrollableColumns;y.headFixedColumns=x.headFixedColumns;y.headScrollableColumns=x.headScrollableColumns;y.footFixedColumns=x.footFixedColumns;y.footScrollableColumns=x.footScrollableColumns;}else{var z=this.$FixedDataTable24(u);y.bodyFixedColumns=z.fixed;y.bodyScrollableColumns=z.scrollable;var aa=this.$FixedDataTable24(this.$FixedDataTable25(p,u));y.headFixedColumns=aa.fixed;y.headScrollableColumns=aa.scrollable;var ba=this.$FixedDataTable24(this.$FixedDataTable25(q,u));y.footFixedColumns=ba.fixed;y.footScrollableColumns=ba.scrollable;}if(x&&x.columnGroups&&v&&this.$FixedDataTable22(v,x.columnGroups)){y.groupHeaderFixedColumns=x.groupHeaderFixedColumns;y.groupHeaderScrollableColumns=x.groupHeaderScrollableColumns;}else if(v){var ca=this.$FixedDataTable24(this.$FixedDataTable25(p,v));y.groupHeaderFixedColumns=ca.fixed;y.groupHeaderScrollableColumns=ca.scrollable;}return y;};s.prototype.$FixedDataTable10=function(u,v,w){u.height!==undefined||u.maxHeight!==undefined||i(0);var x=[];c('React').Children.forEach(u.children,function(kb,lb){if(kb==null)return;kb.type.__TableColumnGroup__||kb.type.__TableColumn__||i(0);x.push(kb);});var y=!!(x.length&&x[0].type.__TableColumnGroup__),z=v&&v.firstRowIndex||0,aa=v&&v.firstRowOffset||0,ba=void 0,ca=void 0;if(v&&u.overflowX!=='hidden'){ba=v.scrollX;}else ba=u.scrollLeft;if(v&&u.overflowY!=='hidden'){ca=v.scrollY;}else{var da=this.$FixedDataTable1.scrollTo(u.scrollTop);z=da.index;aa=da.offset;ca=da.position;}if(this.$FixedDataTable2!==undefined){var ea=this.$FixedDataTable1.scrollRowIntoView(this.$FixedDataTable2);z=ea.index;aa=ea.offset;ca=ea.position;delete this.$FixedDataTable2;}var fa=y?u.groupHeaderHeight:0;if(v&&w&&u.rowsCount!==w.rowsCount){var ga=(u.height===undefined?u.maxHeight:u.height)-(u.headerHeight||0)-(u.footerHeight||0)-(u.groupHeaderHeight||0);this.$FixedDataTable1=new (c('FixedDataTableScrollHelper'))(u.rowsCount,u.rowHeight,ga,u.rowHeightGetter);var ha=this.$FixedDataTable1.scrollToRow(z,aa);z=ha.index;aa=ha.offset;ca=ha.position;}else if(v&&w&&u.rowHeightGetter!==w.rowHeightGetter)this.$FixedDataTable1.setRowHeightGetter(u.rowHeightGetter);var ia=void 0;if(u.isColumnResizing){ia=v&&v.columnResizingData;}else ia=o;var ja=void 0,ka=void 0;if(y){var la=c('FixedDataTableWidthHelper').adjustColumnGroupWidths(x,u.width);ja=la.columns;ka=la.columnGroups;}else ja=c('FixedDataTableWidthHelper').adjustColumnWidths(x,u.width);var ma=this.$FixedDataTable23(ja,ka,v);if(this.$FixedDataTable3!==undefined){var na=ma.bodyFixedColumns.length;if(this.$FixedDataTable3>=na){var oa=0,pa=void 0,qa=void 0;for(pa=0;pa<ma.bodyFixedColumns.length;++pa){qa=ma.bodyFixedColumns[pa];oa+=qa.props.width;}var ra=Math.min(this.$FixedDataTable3-na,ma.bodyScrollableColumns.length-1),sa=0;for(pa=0;pa<ra;++pa){qa=ma.bodyScrollableColumns[pa];sa+=qa.props.width;}var ta=u.width-oa,ua=ma.bodyScrollableColumns[ra].props.width,va=sa+ua-ta;if(ba==null||ba<va)ba=va;if(ba>sa)ba=sa;}delete this.$FixedDataTable3;}var wa=u.height===undefined,xa=Math.round(wa?u.maxHeight:u.height),ya=u.footerHeight+u.headerHeight+fa+2*u.borderHeight,za=xa-ya,ab=this.$FixedDataTable1.getContentHeight(),bb=ab+ya,cb=c('FixedDataTableWidthHelper').getTotalWidth(ja),db=cb>u.width&&u.overflowX!=='hidden';if(db){za-=c('Scrollbar.react').SIZE;bb+=c('Scrollbar.react').SIZE;ya+=c('Scrollbar.react').SIZE;}var eb=Math.max(0,cb-u.width),fb=Math.max(0,ab-za);ba=Math.min(ba||0,eb);ca=Math.min(ca,fb);if(!fb){if(wa)xa=bb;za=bb-ya;}var gb=this.$FixedDataTable1.getViewportHeight();this.$FixedDataTable1.setViewportHeight(za);if(ca>0&&za>gb){var hb=this.$FixedDataTable1.scrollBy(0);z=hb.index;aa=hb.offset;ca=hb.position;}var ib=ja.some(function(kb){return !!kb.props.canHover;}),jb=babelHelpers['extends']({isColumnResizing:v&&v.isColumnResizing},ma,u,{canHoverRows:ib,columns:ja,columnGroups:ka,columnResizingData:ia,firstRowIndex:z,firstRowOffset:aa,horizontalScrollbarVisible:db,maxScrollX:eb,maxScrollY:fb,reservedHeight:ya,scrollContentHeight:ab,scrollX:ba,scrollY:ca,bodyHeight:za,height:xa,groupHeaderHeight:fa,useGroupHeader:y});return jb;};s.prototype.$FixedDataTable25=function(u,v){var w=[];for(var x=0;x<v.length;x++){var y=v[x];w.push(c('React').cloneElement(y,{cell:u?y.props[u]:y.props[r]}));}return w;};s.prototype.$FixedDataTable24=function(u){var v=[],w=[];for(var x=0;x<u.length;x++)if(u[x].props.fixed){v.push(u[x]);}else w.push(u[x]);return {fixed:v,scrollable:w};};s.prototype.$FixedDataTable15=function(){if(this.$FixedDataTable7&&!this.$FixedDataTable5){this.$FixedDataTable5=true;if(this.props.onScrollStart)this.props.onScrollStart(this.state.scrollX,this.state.scrollY);}};s.prototype.$FixedDataTable16=function(u){var v=this.props.onRangeChange;if(v){var w=this.getViewportRange();if(!c('areEqual')(w,this.$FixedDataTable6)){this.$FixedDataTable6=w;v(w,{sourceEventType:u});}}else this.$FixedDataTable6=undefined;};s.prototype.getViewportRange=function(){return {row:this.$FixedDataTable26(),column:this.$FixedDataTable27()};};s.prototype.$FixedDataTable26=function(){var u=this.$FixedDataTable1.getViewportHeight()+(this.props.ownerHeight||this.props.height)-this.state.height,v=this.$FixedDataTable1.getLastRowIndex(this.state.firstRowIndex,this.state.firstRowOffset,u);return [this.state.firstRowIndex,Math.min(v,this.props.rowsCount)];};s.prototype.$FixedDataTable27=function(){var u=this.state,v=u.bodyFixedColumns,w=u.bodyScrollableColumns,x=u.scrollX,y=0;for(var z=0;z<v.length;z++)y+=v[z].props.width;var aa=this.props.width-y;return this.$FixedDataTable28(w,x,aa).map(function(ba){return ba+v.length;});};s.prototype.$FixedDataTable28=function(u,v,w){var x=undefined,y=undefined,z=-v;for(var aa=0;aa<u.length;aa++){var ba=u[aa].props,ca=0<=z+ba.width&&z<w;if(ca&&x==null)x=aa;if(!ca&&x!=null&&y==null){y=aa;break;}z+=ba.width;}return [x!=null?x:0,y!=null?y:u.length];};s.prototype.getScrollHelper=function(){return this.$FixedDataTable1;};s.propTypes={width:n.number.isRequired,height:n.number,borderHeight:n.number,maxHeight:n.number,ownerHeight:n.number,overflowX:n.oneOf(['hidden','auto']),overflowY:n.oneOf(['hidden','auto']),rowsCount:n.number.isRequired,rowHeight:n.number.isRequired,rowHeightGetter:n.func,rowClassNameGetter:n.func,rowStyleGetter:n.func,groupHeaderHeight:n.number,headerHeight:n.number.isRequired,headerStyle:n.object,footerHeight:n.number,scrollLeft:n.number,scrollToColumn:n.number,scrollTop:n.number,scrollToRow:n.number,useDefaultCellLayout:n.bool,onScrollStart:n.func,onScrollEnd:n.func,onRangeChange:n.func,onContentHeightChange:n.func,onRowClick:n.func,onRowDoubleClick:n.func,onRowMouseDown:n.func,onRowMouseEnter:n.func,onRowMouseLeave:n.func,onColumnResizeEndCallback:n.func,isColumnResizing:n.bool,isRTL:n.bool,bufferRowCount:n.number};s.defaultProps={borderHeight:1,footerHeight:0,groupHeaderHeight:0,headerHeight:0,overflowX:'auto',overflowY:'auto',scrollLeft:0,scrollTop:0,useDefaultCellLayout:true};l=babelHelpers.inherits(t,c('React').PureComponent);m=l&&l.prototype;t.prototype.render=function(){var u={height:c('Scrollbar.react').SIZE,width:this.props.size},v={height:c('Scrollbar.react').SIZE,position:'absolute',overflow:'hidden',width:this.props.size};c('translateDOMPositionXY')(v,0,this.props.offset);return (c('React').createElement('div',{className:c('joinClasses')("_3h1k","_3h1m"),style:u},c('React').createElement('div',{style:v},c('React').createElement(c('Scrollbar.react'),babelHelpers['extends']({},this.props,{isOpaque:true,orientation:'horizontal',offset:undefined})))));};function t(){l.apply(this,arguments);}t.propTypes={contentSize:n.number.isRequired,offset:n.number.isRequired,onScroll:n.func.isRequired,position:n.number.isRequired,size:n.number.isRequired,isRTL:n.bool};f.exports=s;}),null);
  __d('FixedDataTableCellTransition.react',['cx','React','joinClasses','shallowEqual','FixedDataTableCellDefault.react'],(function a(b,c,d,e,f,g,h){var i,j,k=c('React').PropTypes;i=babelHelpers.inherits(l,c('React').Component);j=i&&i.prototype;function l(){var m,n;'use strict';for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=j.constructor).call.apply(m,[this].concat(p)),this.$TransitionCell3=function(r){var s=r.dataKey;if(s==null)return null;var t;if(r.rowGetter)t=r.rowGetter(r.rowIndex);if(r.cellDataGetter)return r.cellDataGetter(s,t);if(t)return t[s];if(r.footerDataGetter)return r.footerDataGetter()[s];if(r.footerData)return r.footerData[s];if(r.headerDataGetter)return r.headerDataGetter[s];},this.$TransitionCell4=function(r){if(r.rowGetter)return r.rowGetter(r.rowIndex)||{};if(r.footerDataGetter)return r.footerDataGetter()||{};if(r.footerData)return r.footerData||{};return {};},n;}l.prototype.shouldComponentUpdate=function(m){'use strict';var n=false,o;if(m.rowGetter){o=m.rowGetter(m.rowIndex);if(this.$TransitionCell1!==o)n=true;}var p;if(m.dataKey!=null){if(m.cellDataGetter)p=m.cellDataGetter(m.dataKey,o);if(!p&&o)p=o[m.dataKey];}if(this.$TransitionCell2!==p||this.props.isRowHovered!==m.isRowHovered)n=true;this.$TransitionCell1=o;this.$TransitionCell2=p;return n||!c('shallowEqual')(m,this.props);};l.prototype.render=function(){'use strict';var m=this.props,n=this.$TransitionCell3(m),o=n,p=this.$TransitionCell4(m),q=!!(m.cellRenderer||m.groupHeaderRenderer);if(m.isHeaderCell||m.isFooterCell)o=o||m.label;if(m.cellRenderer)if(m.isHeaderCell||m.isFooterCell){o=m.cellRenderer(m.label,m.dataKey,m.columnData,p,m.width,m.isRowHovered)||m.label;}else o=m.cellRenderer(n,m.dataKey,p,m.rowIndex,m.columnData,m.width,m.isRowHovered);if(m.groupHeaderRenderer)o=m.groupHeaderRenderer(m.label,m.dataKey,m.groupHeaderData,m.groupHeaderLabels,m.width)||o;var r="_4h2r";if(c('React').isValidElement(o)&&q){o=c('React').cloneElement(o,{className:c('joinClasses')(o.props.className,r)});}else return (c('React').createElement(c('FixedDataTableCellDefault.react'),m,o));var s=babelHelpers['extends']({height:m.height,width:m.width},m.style);if(m.useDefaultCellLayout===false){if(!this.props.className)return o;return (c('React').createElement('div',{className:this.props.className},o));}else return (c('React').createElement('div',babelHelpers['extends']({},this.props,{className:c('joinClasses')("_4lgc","_4h2u",this.props.className),style:s}),c('React').createElement('div',{className:c('joinClasses')("_4lgd","_4h2w")},c('React').createElement('div',{className:c('joinClasses')("_4lge","_4h2x")},o))));};l.propTypes={label:k.string,className:k.string,rowIndex:k.number,rowGetter:k.func,dataKey:k.oneOfType([k.string,k.number]),cellRenderer:k.func,cellDataGetter:k.func,footerDataGetter:k.func,footerData:k.any,columnData:k.any,width:k.number,height:k.number,isHeaderCell:k.bool,isFooterCell:k.bool,isRowHovered:k.bool,style:k.object,useDefaultCellLayout:k.bool};f.exports=l;}),null);
  __d('FixedDataTable.react',['React','FixedDataTableNew.react','FixedDataTableColumnNew.react','FixedDataTableColumnGroupNew.react','FixedDataTableCellTransition.react'],(function a(b,c,d,e,f,g){'use strict';var h,i,j=c('React').PropTypes,k='0.7.0',l='https://fburl.com/FixedDataTable-v0.6',m={},n={};function o(r,s){}h=babelHelpers.inherits(p,c('React').Component);i=h&&h.prototype;function p(r){i.constructor.call(this,r);q.call(this);var s={};s.needsMigration=!!r.rowGetter;this.state=s;}p.prototype.render=function(){var r=this.props;return (c('React').createElement(c('FixedDataTableNew.react'),babelHelpers['extends']({},r,{ref:'fixedDataTable',onRowMouseDown:this.$TransitionTable2(r,r.onRowMouseDown),onRowClick:this.$TransitionTable2(r,r.onRowClick),onRowDoubleClick:this.$TransitionTable2(r,r.onRowDoubleClick),onRowMouseEnter:this.$TransitionTable2(r,r.onRowMouseEnter),onRowMouseLeave:this.$TransitionTable2(r,r.onRowMouseLeave)}),this.$TransitionTable5(this.state.needsMigration)));};p.propTypes={width:j.number.isRequired,height:j.number,maxHeight:j.number,ownerHeight:j.number,overflowX:j.oneOf(['hidden','auto']),overflowY:j.oneOf(['hidden','auto']),rowsCount:j.number.isRequired,rowHeight:j.number.isRequired,rowHeightGetter:j.func,rowGetter:j.func,rowClassNameGetter:j.func,rowStyleGetter:j.func,groupHeaderHeight:j.number,headerHeight:j.number.isRequired,headerStyle:j.object,headerDataGetter:j.func,footerHeight:j.number,footerData:j.oneOfType([j.object,j.array]),footerDataGetter:j.func,scrollLeft:j.number,scrollToColumn:j.number,scrollTop:j.number,scrollToRow:j.number,useDefaultCellLayout:j.bool,onScrollStart:j.func,onScrollEnd:j.func,onRangeChange:j.func,onContentHeightChange:j.func,onRowClick:j.func,onRowDoubleClick:j.func,onRowMouseDown:j.func,onRowMouseEnter:j.func,onRowMouseLeave:j.func,onColumnResizeEndCallback:j.func,isColumnResizing:j.bool,isRTL:j.bool,bufferRowCount:j.number};p.defaultProps={useDefaultCellLayout:true};var q=function r(){this.$TransitionTable1=function(){if(this.props.rowGetter)o('rowGetter','Please use the cell API in Column to fetch data for your cells.');if(this.props.headerDataGetter)o('headerDataGetter','Please use the header API in Column to '+'fetch data for your header cells.');if(this.props.footerData)o('footerData','Please use the footer API in Column to '+'fetch data for your footer cells.');if(this.props.footerDataGetter)o('footerDataGetter','Please use the footer API in Column to '+'fetch data for your footer cells.');c('React').Children.forEach(this.props.children,function(s){if(!s||!s.props)return;var t=s.props;if(t.label)o('label','Please use `header` instead.');if(t.dataKey)o('dataKey','Please use the `cell` API to pass in a dataKey');if(t.cellRenderer)o('cellRenderer','Please use the `cell` API to pass in a React Element instead.');if(t.headerRenderer)o('headerRenderer','Please use the `header` API to pass in a React Element instead.');if(t.columnData)o('columnData','Please pass data in through props to your header, cell or footer.');if(t.groupHeaderRenderer)o('groupHeaderRenderer','Please use the `header` API in ColumnGroup to '+'pass in a React Element instead of a function that creates one.');if(t.groupHeaderData)o('groupHeaderData','Please pass in any data through props to your header.');});}.bind(this);this.$TransitionTable2=function(s,t){if(!t)return undefined;return function(u,v){t(u,v,s.rowGetter&&s.rowGetter(v)||m);};};this.$TransitionTable3=function(s,t,u){var v=s.props;if(s.type.__TableColumn__)return c('React').createElement(c('FixedDataTableColumnNew.react'),babelHelpers['extends']({key:'column_'+u},v,{header:c('React').createElement(c('FixedDataTableCellTransition.react'),{isHeaderCell:true,label:v.label,width:v.width,dataKey:v.dataKey,className:v.headerClassName,columnData:v.columnData||m,cellRenderer:v.headerRenderer,headerDataGetter:t.headerDataGetter,style:v.headerStyle}),columnKey:v.dataKey,cell:c('React').createElement(c('FixedDataTableCellTransition.react'),{dataKey:v.dataKey,className:v.cellClassName,rowGetter:t.rowGetter,width:v.width,columnData:v.columnData||m,cellDataGetter:v.cellDataGetter,cellRenderer:v.cellRenderer,useDefaultCellLayout:t.useDefaultCellLayout}),footer:c('React').createElement(c('FixedDataTableCellTransition.react'),{isFooterCell:true,className:v.footerClassName,dataKey:v.dataKey,cellRenderer:v.footerRenderer,footerDataGetter:t.footerDataGetter,footerData:t.footerData||m})}));};this.$TransitionTable4=function(s,t,u,v){var w=s.props,x=0,y=c('React').Children.map(w.children,function(z){x++;return this.$TransitionTable3(z,t,u+'_'+x);}.bind(this));return c('React').createElement(c('FixedDataTableColumnGroupNew.react'),babelHelpers['extends']({},w,{key:'group_'+u,header:c('React').createElement(c('FixedDataTableCellTransition.react'),{isHeaderCell:true,label:s.props.label,dataKey:u,groupHeaderRenderer:w.groupHeaderRenderer,groupHeaderLabels:v,groupHeaderData:w.columnGroupData||m})}),y);}.bind(this);this.$TransitionTable5=function(s){if(!s)return c('React').Children.map(this.props.children,function(v){if(!v)return null;if(v.type.__TableColumn__)return c('React').createElement(c('FixedDataTableColumnNew.react'),v.props);if(v.type.__TableColumnGroup__)return c('React').createElement(c('FixedDataTableColumnGroupNew.react'),v.props);});var t=this.props,u=0;return c('React').Children.map(this.props.children,function(v){if(!v)return null;if(v.type.__TableColumn__)v=this.$TransitionTable3(v,t,u);if(v.type.__TableColumnGroup__){var w=[];c('React').Children.forEach(this.props.children,function(x){w.push(x.props.label);});v=this.$TransitionTable4(v,t,u,w);}u++;return v;}.bind(this));}.bind(this);};f.exports=p;}),null);
  __d('InsightsApiClient',['ApiClient','PHPQuerySerializer'],(function a(b,c,d,e,f,g){var h={};function i(k,l,m){if(m&&!m.error)h[k]=m;l(m);}var j={getRaw:function k(l,m,n,o,p,q){var r=m+c('PHPQuerySerializer').serialize(n);if(h.hasOwnProperty(r)&&!q){setTimeout(o.bind(null,h[r]),0);}else{if(l.hasOwnProperty('accessToken'))n.access_token=l.accessToken;c('ApiClient').graph(m,n,i.bind(null,r,o),p);}}};f.exports=j;}),null);
  __d('HubbleApiClient',['AsyncRequest','HubbleContext','InsightsApiClient','PageInsightsApiAccess'],(function a(b,c,d,e,f,g){var h={get:function i(j,k,l){if(!c('HubbleContext').getPageID())return;j=c('HubbleContext').getPageID()+(j||'');if(k.version){j=k.version+'/'+j;k.version=null;}this.getRaw(j,k,l);},getPosts:function i(j,k){j.page_id=j.page_id||c('HubbleContext').getPageID();if(!j.page_id)return;var l=new (c('AsyncRequest'))().setData(j).setMethod('GET').setPreBootloadHandler(function(m){k(m.payload);}).setReadOnly(true).setURI('/ajax/pages/insights/post_fields').setErrorHandler(function(m){k({posts:[],cursor:null,type:'published'});});l.send();},getRaw:function i(j,k,l){c('InsightsApiClient').getRaw(c('PageInsightsApiAccess'),j,k,l);}};f.exports=h;}),null);
  __d('HubblePostUtils',['AudienceTargetingFieldDisplayName','getOwnObjectValues','mapObject','sumOfArray'],(function a(b,c,d,e,f,g){var h={_metrics:['post_engaged_users','post_consumptions_by_type','post_impressions_unique','post_stories_by_action_type','post_negative_feedback_by_type','post_impressions_paid_unique','post_impressions_fan_unique','post_video_views_organic','post_video_views_paid'],parseInsights:function i(j,k){k=k||{};var l=k.post_consumptions_by_type||{},m=k.post_stories_by_action_type||{},n=k.post_negative_feedback_by_type||{},o=k.post_impressions_unique||0,p={like:m.like||0,comment:m.comment||0,share:m.share||0},q=c('sumOfArray')(c('getOwnObjectValues')(p)),r={};r.link=l['link clicks']||0;if(j==='video'||j==='premiumVideo'){r.video_play=l['video play']||0;}else r.photo_view=l['photo view']||0;r.other=l['other clicks']||0;if(r.other<0)r.other=0;var s=c('sumOfArray')(c('getOwnObjectValues')(r)),t={hide_clicks:n.hide_clicks||0,hide_all_clicks:n.hide_all_clicks||0,report_spam_clicks:n.report_spam_clicks||0,unlike_page_clicks:n.unlike_page_clicks||0},u=c('sumOfArray')(c('getOwnObjectValues')(t)),v=k.post_impressions_paid_unique||0,w=k.post_impressions_fan_unique||0,x={paid:v,organic:o-v,fans:w,nonfans:o-w},y=k.post_engaged_users||0,z=o>0?y/o:0,aa=k.post_video_views_organic+k.post_video_views_paid;return {clicks:s,clicksByType:r,engagedUsers:y,lcs:q,lcsByType:p,negative:u,negativeFeedbackByType:t,reach:o,reachByType:x,engagementRate:z,videoViews:aa};},_formatPostInsightsResponse:function i(j,k){return c('mapObject')(k,function(l){var m={};l.data.forEach(function(n){m[n.name]=n.values[0].value;});j.forEach(function(n){if(!m.hasOwnProperty(n))m[n]=null;});return m;});},formatPostHintsRateMetrics:function i(j,k){var l={};for(var m in j){var n=j[m],o=k[m];if(o!==undefined)l[m]=o===0?0:n/o;}return l;},formatPostHintsImpRatioMetrics:function i(j,k){var l={};for(var m in j){var n=j[m];l[m]=k===0?0:n/k;}return l;},formatPostHintsInsights:function i(j,k,l){var m=[];if(l===undefined)l=this.sortPostHintsMetrics(j);for(var n in l){if(!k&&(n===c('AudienceTargetingFieldDisplayName').SOME_HINTS_MATCHED||n===c('AudienceTargetingFieldDisplayName').NO_HINTS_MATCHED))continue;var o=this._formatPostHintKeys(n),p={name:o,value:j[n]};m.push(p);}return m;},_formatPostHintKeys:function i(j){var k=32,l=j.length>k?j.substring(0,k-3).trim()+'...':j;return l;},sortPostHintsMetrics:function i(j){var k={},l=Object.keys(j).sort(function(m,n){return j[n]-j[m];});l.forEach(function(m){k[m]=j[m];});return k;}};f.exports=h;}),null);
  __d('SanityCheck',['ErrorUtils','SanityCheckNames','SanityCheckStatuses','ex'],(function a(b,c,d,e,f,g){var h=Object.keys(c('SanityCheckNames')).map(function(j){return c('SanityCheckNames')[j];});function i(j,k){'use strict';this.$SanityCheck1=c('SanityCheckStatuses').VALID;this.$SanityCheck2=j;this.$SanityCheck3=k;if(h.indexOf(this.$SanityCheck3)===-1){c('ErrorUtils').reportError(new Error(c('ex')('Invalid SanityCheck name: %s.',this.$SanityCheck3)));this.$SanityCheck1=c('SanityCheckStatuses').INVALID_CONFIG;}}i.prototype.check=function(j){'use strict';if(this.$SanityCheck1!==c('SanityCheckStatuses').VALID)return {name:this.$SanityCheck3,status:this.$SanityCheck1};var k;try{k=this.$SanityCheck2.apply(null,j);}catch(l){c('ErrorUtils').reportError(l);return {args:j,status:c('SanityCheckStatuses').CHECKTIME_FAILURE};}return {args:j,name:this.getName(),passed:k,status:this.$SanityCheck1};};i.prototype.getName=function(){'use strict';return this.$SanityCheck3;};f.exports=i;}),null);
  __d('PIAPIResponseSanityCheck',['SanityCheck','SanityCheckNames'],(function a(b,c,d,e,f,g){f.exports=new (c('SanityCheck'))(function(h,i){return !!h.metric&&i.data.length>0;},c('SanityCheckNames').PI_API_RESPONSE);}),null);
  __d("SanityCheckChecker",[],(function a(b,c,d,e,f,g){var h={check:function i(j,k){return j.check(k);},checkMulti:function i(j){return j.map(function(k){return h.check(k.sanityCheck,k.args);});}};f.exports=h;}),null);
  __d('SanityCheckAdapter',['BanzaiLogger','BanzaiODS','SanityCheckChecker','SanityCheckStatuses'],(function a(b,c,d,e,f,g){var h={};function i(k,l,m,n){m=m||{};var o=[k.getName(),JSON.stringify(l),JSON.stringify(m)].join(':');if(h.hasOwnProperty(o))return;h[o]=true;if(!n.passed)c('BanzaiLogger').log('SanityCheckLoggerConfig',Object.assign(m,{name:k.getName()}));c('BanzaiODS').bumpFraction('sanity_check.pass_ratio','sanity_check.'+k.getName(),n.passed?1:0,1);}var j={check:function k(l,m,n){var o=c('SanityCheckChecker').check(l,m);if(o.status===c('SanityCheckStatuses').VALID)i(l,m,n,o);return o.passed;}};f.exports=j;}),null);
  __d('HubbleApiWrapper',['HubbleApiClient','HubbleContext','HubblePostUtils','InsightsUtils','PIAPIResponseSanityCheck','SanityCheckAdapter','setImmediate'],(function a(b,c,d,e,f,g){function h(j){return function(k){var l=null;if(k.cursor){var m=k.posts[k.posts.length-1].created_time;l=function n(o){c('HubbleApiClient').getPosts({cursor:k.cursor,type:k.type,until:m},h(o));};}else if(k.paging&&k.paging.next)l=function n(o){c('HubbleApiClient').getRaw(k.paging.next,{},h(o));};j(k,l);};}var i={_formatPageInsightsPerPostResponse:function j(k,l){var m={},n=/^([^\/]+)\//;l.data.forEach(function(o){var p=n.exec(o.id);if(!p||!p[1])return;var q=p[1],r;if(m.hasOwnProperty(q)){r=m[q];}else{m[q]=r={};k.forEach(function(s){r[s]=null;});}r[o.name]=o.values[0].value;});return m;},getPageInfo:function j(k,l){var m='';c('HubbleApiClient').get(m,k,l);},getPageInsights:function j(k,l){k=c('InsightsUtils').formatParams(k);c('HubbleApiClient').get('/insights',k,function(m){c('setImmediate')(c('SanityCheckAdapter').check.bind(c('SanityCheckAdapter'),c('PIAPIResponseSanityCheck'),[k,m],{metrics:JSON.stringify(k.metric),pageID:c('HubbleContext').getPageID()}));l(c('InsightsUtils').formatInsightsResponse(m));});},getPageInsightsPerPost:function j(k,l){k=c('InsightsUtils').formatParams(k);function m(n){return h(function(o,p){var q=!p?null:function(r){p(m(r));};n(i._formatPageInsightsPerPostResponse(k.metric,o),q);});}c('HubbleApiClient').get('/insights',k,m(l));},getPostInsights:function j(k,l){c('HubbleApiClient').getRaw('/insights',k,function(m){l(c('HubblePostUtils')._formatPostInsightsResponse(k.metric,m));});},getVersionedPostInsights:function j(k,l){var m='insights';if(k.version){m=k.version+'/'+m;k.version=null;}c('HubbleApiClient').getRaw(m,k,function(n){l(c('HubblePostUtils')._formatPostInsightsResponse(k.metric,n));});},getPostsByIDs:function j(k,l){k=c('InsightsUtils').formatParams(k);c('HubbleApiClient').getPosts(k,l);},getPosts:function j(k,l){k=c('InsightsUtils').formatParams(k);c('HubbleApiClient').getPosts(k,h(l));},getTotalPageLikes:function j(k){if(c('HubbleContext').get('globalPagesRootID')){i.getPageInfo({fields:['country_page_likes']},function(l){k(l.country_page_likes);});}else i.getPageInfo({fields:['likes']},function(l){k(l.likes);});}};f.exports=i;}),null);
  __d('HubbleConstants',['PageInsightsPostFields'],(function a(b,c,d,e,f,g){var h={DEFAULT_SECTION:'navOverview',NAV_SECTIONS:{LIKES:'navLikes',FOLLOWERS:'navFollowers',LOCAL:'navLocal',OVERVIEW:'navOverview',PEOPLE:'navPeople',POSTS:'navPosts',REACH:'navReach',VISITS:'navVisits',PAGE_VIEWS:'navPageViews',ACTIONS_ON_PAGE:'navActionsOnPage',WIFI:'navWifi',EVENTS:'navEvents',VIDEOS:'navVideos',SHOP:'navShop',BRANDED_CONTENT:'navBrandedContent',MESSAGES:'navMessages',PROMOTIONS:'navPromotions',API:'navAPI',IA_CTA_INSIGHTS:'navIaCtaInsights',OFFERS:'navOffers'},SCROLL_TARGETS:{ENGAGEMENT:'engagement'},PIPELINE_DAILY:'pipe_daily',PIPELINE_WEEKLY:'pipe_weekly',PIPELINE_MONTHLY:'pipe_monthly',PIPELINE_LIFETIME:'pipe_lifetime',PIPELINE_DEMO:'pipe_demo',PERIOD_DAY:'day',PERIOD_WEEK:'week',PERIOD_28_DAYS:'days_28',PERIOD_LIFETIME:'lifetime',SERIES_AREA:'area',SERIES_LINE:'line',SEC_IN_MIN:60,DAYS_PER_WEEK:7,SORT_BY_DATE:'date',SORT_BY_REACH:'reach',SORT_BY_CLICKS:'clicks',SORT_BY_LCS:'lcs',REQ_PREMIUM_VIDEO:'premium_video',REQ_PUBLISHED:'published',REQ_SMART_PUBLISHING:'smart_publishing',REQ_UNPUBLISHED:'unpublished',REQ_VIDEO:'video',TABLE_PAGE_SIZE:10,FACEBOOK_DEMOGRAPHICS:{F:{ageBuckets:{'13-17':7.2,'18-24':14.4,'25-34':11.8,'35-44':6.2,'45-54':3.6,'55-64':1.9,'65+':1.1},total:46.2},M:{ageBuckets:{'13-17':7.7,'18-24':17.9,'25-34':14.8,'35-44':7,'45-54':3.6,'55-64':1.6,'65+':1.3},total:53.8},total:100},MIN_WIFI_USERS_COUNT:100,POSTS_TABLE_FIELDS:[c('PageInsightsPostFields').CAPTION,c('PageInsightsPostFields').CREATION_TIME,c('PageInsightsPostFields').DESCRIPTION,c('PageInsightsPostFields').ID,c('PageInsightsPostFields').IDENTIFIER,c('PageInsightsPostFields').MESSAGE,c('PageInsightsPostFields').NAME,c('PageInsightsPostFields').PICTURE,c('PageInsightsPostFields').PRIVACY,c('PageInsightsPostFields').STATUS_TYPE,c('PageInsightsPostFields').TYPE,c('PageInsightsPostFields').HAS_HINTS,c('PageInsightsPostFields').HINTS_CONFIG,c('PageInsightsPostFields').VISIBILITY,c('PageInsightsPostFields').TIMELINE_TOKEN],FBTYPE_VIDEO:128};f.exports=h;}),null);
  __d('HubblePostsDataLayer',['fbt','GraphAPI','AsyncRequest','HubbleApiWrapper','HubbleConstants','HubbleContext','HubblePostUtils','getOwnObjectValues'],(function a(b,c,d,e,f,g,h){var i=250,j=2.5,k=['post_video_avg_time_watched','post_video_complete_views_organic','post_video_complete_views_organic_unique','post_video_complete_views_paid','post_video_complete_views_paid_unique','post_video_length','post_video_retention_graph','post_video_views_organic','post_video_views_organic_unique','post_video_views_paid','post_video_views_paid_unique'],l=['post_impressions_unique','post_video_views_organic','post_video_views_paid','post_video_avg_time_watched','post_video_length'],m=k.concat(['post_video_avg_time_watched_by_ad_id','post_video_complete_views_paid_by_ad_id','post_video_complete_views_paid_by_ad_id_unique','post_video_retention_graph_by_ad_id','post_video_views_paid_by_ad_id','post_video_views_paid_by_ad_id_unique']),n=['post_video_avg_time_watched','post_video_complete_views_30s','post_video_complete_views_30s_autoplayed','post_video_complete_views_30s_clicked_to_play','post_video_complete_views_30s_organic','post_video_complete_views_30s_paid','post_video_complete_views_30s_unique','post_video_length','post_video_retention_graph','post_video_retention_graph_autoplayed','post_video_retention_graph_clicked_to_play','post_video_sound_on','post_video_starts','post_video_starts_autoplayed','post_video_starts_clicked_to_play','post_video_starts_organic','post_video_starts_paid','post_video_starts_unique','post_video_views','post_video_views_autoplayed','post_video_views_clicked_to_play','post_video_views_organic','post_video_views_paid','post_video_views_unique'],o=['post_impressions_unique','post_interests_impressions_unique','post_interests_consumptions_by_type_unique','post_interests_action_by_type_unique'],p=['post_audio_listen_time','post_audio_listen_count'],q,r;function s(ia,ja,ka){var la=false;ia(function(ma,na){if(!la)ja(ma,na);},function(ma,na){if(!la)ka(ma,na);});return function(){la=true;};}function t(ia){var ja=ia.post_video_avg_time_watched/ia.post_video_length,ka=ia.post_video_avg_time_watched,la=ia.post_impressions_unique||0,ma=ia.post_video_length,na=ia.post_video_views_organic+ia.post_video_views_paid;return {avgCompletionPerc:ja,avgTimeWatched:ka,reach:la,videoLength:ma,videoViews:na};}function u(ia){return {aggregate:{averageTimeWatched:ia.post_video_avg_time_watched,completedViews:{repeat:{organic:ia.post_video_complete_views_organic-ia.post_video_complete_views_organic_unique,paid:ia.post_video_complete_views_paid-ia.post_video_complete_views_paid_unique},total:{organic:ia.post_video_complete_views_organic,paid:ia.post_video_complete_views_paid},unique:{organic:ia.post_video_complete_views_organic_unique,paid:ia.post_video_complete_views_paid_unique}},views:{repeat:{organic:ia.post_video_views_organic-ia.post_video_views_organic_unique,paid:ia.post_video_views_paid-ia.post_video_views_paid_unique},total:{organic:ia.post_video_views_organic,paid:ia.post_video_views_paid},unique:{organic:ia.post_video_views_organic_unique,paid:ia.post_video_views_paid_unique}},viewingBehavior:ia.post_video_retention_graph!==null?c('getOwnObjectValues')(ia.post_video_retention_graph):null},videoLength:ia.post_video_length};}function v(ia){if(!ia)return {};return {aggregate:{averageTimeWatched:ia.post_video_avg_time_watched,completedViews:{autoplayed:ia.post_video_complete_views_30s_autoplayed,clickedToPlay:ia.post_video_complete_views_30s_clicked_to_play,organic:ia.post_video_complete_views_30s_organic,paid:ia.post_video_complete_views_30s_paid,repeat:ia.post_video_complete_views_30s-ia.post_video_complete_views_30s_unique,unique:ia.post_video_complete_views_30s_unique},playsWithSoundOn:ia.post_video_sound_on,videoStarts:ia.post_video_starts,views:{autoplayed:ia.post_video_views_autoplayed,clickedToPlay:ia.post_video_views_clicked_to_play,organic:ia.post_video_views_organic,paid:ia.post_video_views_paid,repeat:ia.post_video_views-ia.post_video_views_unique,unique:ia.post_video_views_unique},starts:{autoplayed:ia.post_video_starts_autoplayed,clickedToPlay:ia.post_video_starts_clicked_to_play,organic:ia.post_video_starts_organic,paid:ia.post_video_starts_paid,repeat:ia.post_video_starts-ia.post_video_starts_unique,unique:ia.post_video_starts_unique},viewingBehaviorAutoplayed:ia.post_video_retention_graph_autoplayed!==null?c('getOwnObjectValues')(ia.post_video_retention_graph_autoplayed):null,viewingBehaviorClickedToPlay:ia.post_video_retention_graph_clicked_to_play!==null?c('getOwnObjectValues')(ia.post_video_retention_graph_clicked_to_play):null,viewingBehavior:ia.post_video_retention_graph!==null?c('getOwnObjectValues')(ia.post_video_retention_graph):null},videoLength:ia.post_video_length};}function w(ia){var ja=ia.post_video_avg_time_watched_by_ad_id,ka=ia.post_video_complete_views_paid_by_ad_id,la=ia.post_video_complete_views_paid_by_ad_id_unique,ma=ia.post_video_views_paid_by_ad_id,na=ia.post_video_views_paid_by_ad_id_unique,oa=ia.post_video_retention_graph_by_ad_id,pa=ja?Object.keys(ja):[],qa={},ra=1;pa.forEach(function(sa){var ta=h._("Ad {placement number}",[h.param('placement number',ra)]);ra++;qa[sa]={averageTimeWatched:ja[sa],completedViews:{total:{organic:0,paid:ka[sa]},unique:{organic:0,paid:la[sa]}},label:ta,views:{total:{organic:0,paid:ma[sa]},unique:{organic:0,paid:na[sa]}},viewingBehavior:c('getOwnObjectValues')(oa[sa])};});return qa;}function x(ia,ja){var ka=ja.post_interests_consumptions_by_type_unique||{},la=ja.post_interests_action_by_type_unique||{},ma=ja.post_impressions_unique||0,na=ja.post_interests_impressions_unique||{},oa={like:la.like||{},comment:la.comment||{},share:la.share||{}},pa={};pa.link=ka['link clicks']||{};if(ia==='video'||ia==='premiumVideo'){pa.video_play=ka['video play']||{};}else pa.photo_view=ka['photo view']||{};pa.other=ka['other clicks']||{};return {clicksByType:pa,lcsByType:oa,hintReach:na,postReach:ma};}function y(ia){return ia.message||ia.name||ia.caption||ia.description||ia.story||ia.picture;}function z(ia){return ia.id;}function aa(ia,ja,ka){var la=[];for(var ma in ia)if(ia.hasOwnProperty(ma))la.push(ma);if(!la.length){ka([]);return;}var na=1,oa=null,pa={};function qa(){var ra=[];for(var sa in ia)if(oa.hasOwnProperty(sa)&&ia.hasOwnProperty(sa)){var ta=oa[sa];if(y(ta)){ta.insights=c('HubblePostUtils').parseInsights(ta.type,ia[sa]);ta.promoteStatus=pa[sa];ra.push(ta);}}ja(ra);ka(ra);}if(c('HubbleContext').get('canSeePromoteButton')){na++;ba(la.join(','),function(ra){pa=ra.getPayload();--na;if(na===0)qa();});}c('HubbleApiWrapper').getPostsByIDs({ids:la.join(',')},function(ra){oa={};ra.posts.forEach(function(sa){oa[sa.id]=sa;});--na;if(na===0)qa();});}function ba(ia,ja){var ka=new (c('AsyncRequest'))().setData({ids:ia}).setHandler(ja).setMethod('GET').setReadOnly(true).setURI('/ajax/pages/insights/promotion_status/');ka.send();}function ca(ia,ja,ka){var la=ia.posts.filter(y);ja(la);if(!la.length){ka(la);return;}var ma=la.map(z).join(','),na=1;if(c('HubbleContext').get('canSeePromoteButton')){na++;ba(ma,function(oa){var pa=oa.getPayload();la.forEach(function(qa){qa.promoteStatus=pa[qa.id];});if(--na){ja(la);}else ka(la);});}c('HubbleApiWrapper').getPostInsights({ids:ma,metric:c('HubblePostUtils')._metrics},function(oa){la.forEach(function(pa){pa.insights=c('HubblePostUtils').parseInsights(pa.type,oa[pa.id]);});if(--na){ja(la);}else ka(la);});}function da(ia,ja,ka){var la=ia.posts.filter(y);ja(la);if(!la.length){ka(la);return;}var ma=la.map(z).join(',');c('HubbleApiWrapper').getPostInsights({ids:ma,metric:c('HubblePostUtils')._metrics},function(na){la.forEach(function(oa){oa.insights=c('HubblePostUtils').parseInsights(oa.type,na[oa.id]);});ka(la);});}function ea(ia,ja,ka){var la=ia.posts.filter(y);ja(la);if(!la.length){ka(la);return;}var ma=la.map(z).join(',');c('HubbleApiWrapper').getPostInsights({ids:ma,metric:l},function(na){la.forEach(function(oa){oa.insights=t(na[oa.id]);});ka(la);});}function fa(ia,ja){return function(ka){var la=ka.data;la.forEach(function(na){na.insights=null;na.created_time=new Date(na.created_time).getTime()/1000;});ia(la);if(la.length){var ma=la.map(z).join(',');c('HubbleApiWrapper').getPostInsights({ids:ma,metric:c('HubblePostUtils')._metrics},function(na){la.forEach(function(oa){oa.insights=c('HubblePostUtils').parseInsights(oa.type,na[oa.id]);});ja(la);});}};}function ga(ia,ja,ka){return function(la,ma){var na=ma?function(qa,ra){ma(ga(ia,qa,ra));}:null;function oa(qa){ja(qa,na);}function pa(qa){ka(qa,na);}ia(la,oa,pa);};}var ha={validatePostInsightsMetric:function ia(ja,ka,la,ma){var na={};na.insights=ja;na.id=ka;na.type=la;na.created_time=ma;},getActivePostsSortedByMetric:function ia(ja,ka,la,ma,na,oa){la.since<c('HubbleContext').get('earliestActivePostsData');if(q)q();q=s(function(pa,qa){c('HubbleApiWrapper').getPageInsightsPerPost({active_post:1,limit:ma,metric:['post_lcs_imps_clicks'],since:la.since,sort_dir:ka,sort_metric:ja,until:la.until},ga(aa,pa,qa));},na,oa);},getPostsSortedByMetric:function ia(ja,ka,la,ma,na,oa){if(q)q();q=s(function(pa,qa){c('HubbleApiWrapper').getPageInsightsPerPost({metric:c('HubblePostUtils')._metrics.concat(ja),limit:ma,since:la.since,until:la.until,sort_metric:ja,sort_dir:ka},ga(aa,pa,qa));},na,oa);},getPostsByDescendingDate:function ia(ja,ka,la,ma,na,oa){var pa=ja?{since:ja.since,until:ja.until}:{},qa=babelHelpers['extends']({},pa,{fields:oa,limit:ka,type:na});if(na===c('HubbleConstants').REQ_PREMIUM_VIDEO){if(r)r();r=s(function(ra,sa){c('HubbleApiWrapper').getPosts(qa,ga(ca,ra,sa));},la,ma);}else{if(q)q();q=s(function(ra,sa){c('HubbleApiWrapper').getPosts(qa,ga(ca,ra,sa));},la,ma);}},getPostsByQuery:function ia(ja,ka,la,ma){if(q)q();var na=['id','picture','created_time','message','privacy','status_type','type','object_id'];q=s(function(oa,pa){c('GraphAPI')(j).object('page',ja).edge('posts').get({access_token:c('HubbleContext').get('pageAccessToken'),fields:na,q:ka}).done(fa(oa,pa));},la,ma);},getVideosByViewCount:function ia(ja,ka,la,ma,na){var oa=ja?{since:ja.since,until:ja.until}:{},pa=babelHelpers['extends']({},oa,{limit:ka,type:na});if(q)q();q=s(function(qa,ra){c('HubbleApiWrapper').getPosts(pa,ga(ea,qa,ra));},la,ma);},getPostsMetrics:function ia(ja,ka,la,ma){c('HubbleApiWrapper').getPosts({limit:ka,since:ja.since,until:ja.until},function(na){da(na,la,ma);});},getPostsMetricsByPostType:function ia(ja,ka,la){var ma={all:{},everyone:{paid:{},organic:{}},targeted:{paid:{},organic:{}}};function na(ra){var sa=ra.privacy.value==='EVERYONE'||ra.privacy.value==='',ta=sa?ma.everyone:ma.targeted;return ra.insights.reachByType.paid?ta.paid:ta.organic;}function oa(ra,sa){var ta=ra[sa.type];if(!ta)ra[sa.type]=ta={clicks:0,lcs:0,reach:0,count:0};ta.clicks+=sa.insights.clicks;ta.lcs+=sa.insights.lcs;ta.reach+=sa.insights.reach;ta.count++;}function pa(ra){ka();}function qa(ra){ra.forEach(function(sa){oa(na(sa),sa);oa(ma.all,sa);});la(ma);}ha.getPostsMetrics(ja,i,pa,qa);},getPostMetricsByID:function ia(ja,ka,la,ma){c('HubbleApiWrapper').getPostInsights({ids:ja,metric:c('HubblePostUtils')._metrics},function(na){var oa={insights:c('HubblePostUtils').parseInsights(ka,na[ja])};la(oa);ma(oa);});},getPostVideoMetricsByID:function ia(ja,ka){c('HubbleApiWrapper').getPostInsights({ids:ja,metric:k},function(la){ka({videoInsights:u(la[ja])});});},getPostPremiumVideoMetricsByID:function ia(ja,ka){c('HubbleApiWrapper').getPostInsights({ids:ja,metric:m},function(la){var ma=u(la[ja]);ma.placements=w(la[ja]);ka({videoInsights:ma});});},getPostVideoMetricsWithAutoplay:function ia(ja,ka){c('HubbleApiWrapper').getPostInsights({ids:ja,metric:n},function(la){ka({videoInsights:v(la[ja])});});},getPostHintsMetrics:function ia(ja,ka,la){c('HubbleApiWrapper').getVersionedPostInsights({ids:ka,metric:o,version:'v2.4'},function(ma){la({hintsInsights:x(ja,ma[ka])});});},getLiveAudioMetrics:function ia(ja,ka,la){c('HubbleApiWrapper').getVersionedPostInsights({ids:ka,metric:p,version:'v2.8'},function(ma){la({liveAudioInsights:ma[ka]});});}};f.exports=ha;}),null);
  __d('PIReachGtEngmtSanityCheck',['PISanityCheckConfig','SanityCheck','SanityCheckNames'],(function a(b,c,d,e,f,g){f.exports=new (c('SanityCheck'))(function(h,i,j){if(j>c('PISanityCheckConfig').postCreatedTimeMaxValueInSeconds)return true;return h>=i;},c('SanityCheckNames').PI_REACH_GT_ENGMT);}),null);
  __d('HubbleSanityChecks',['PIReachGtEngmtSanityCheck','SanityCheckAdapter'],(function a(b,c,d,e,f,g){var h={checkReachGtEngmt:function i(j){return c('SanityCheckAdapter').check(c('PIReachGtEngmtSanityCheck'),[j.insights.reach,j.insights.engagedUsers,j.created_time],{postClicks:j.insights.clicks,postCreationTime:j.created_time,postEngagedUsers:j.insights.engagedUsers,postID:j.id,postLCS:j.insights.lcs,postPaidReach:j.insights.reachByType.paid,postReach:j.insights.reach,postType:j.type});}};f.exports=h;}),null);
  __d('SpectrumTooltipData',['cx','React'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.render=function(){'use strict';return (c('React').createElement('span',{className:"_51i3"},this.props.children));};function k(){'use strict';i.apply(this,arguments);}f.exports=k;}),null);
  __d('SpectrumTooltipDescription',['cx','joinClasses','React'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.render=function(){'use strict';return (c('React').createElement('span',babelHelpers['extends']({},this.props,{className:c('joinClasses')(this.props.className,"_2fp7")})));};function k(){'use strict';i.apply(this,arguments);}f.exports=k;}),null);
  __d('HubbleUtils',['fbt','BusinessConf','InsightsUtils','React','SpectrumTooltipData','SpectrumTooltipDescription','URI','UTCUtils','formatDate'],(function a(b,c,d,e,f,g,h){function i(){return {ageBuckets:{'13-17':0,'18-24':0,'25-34':0,'35-44':0,'45-54':0,'55-64':0,'65+':0},total:0};}var j={aggregateValues:function k(l){var m=null;Object.keys(l).forEach(function(n,o){if(m===null)m=c('InsightsUtils').fillArray(l[n].length,null);l[n].forEach(function(p,q){if(p!=null&&m!=null)m[q]+=p;});});return m;},apiGenderToText:function k(l){switch(l){case 'F':return h._("Women");case 'M':return h._("Men");case 'U':return h._("Unknown");default:}},isDataValid:function k(l){var m=l!==undefined,n=!!(l&&typeof l==='object'&&Object.keys(l).length>0);return m&&n;},constructNewBaseInsightsURI:function k(){var l=c('URI').getNextURI(),m=new (c('URI'))(l.getPath()),n=c('BusinessConf').BIZ_ID_PARAM_NAME;if(l.getQueryData().sk)m.setQueryData({sk:l.getQueryData().sk});if(l.getQueryData().hasOwnProperty(n)){m.addQueryData(n,l.getQueryData()[n]);m.setSubdomain(c('BusinessConf').DOMAIN);}m.removeQueryData(['section','subsection']);return m;},mergeKeyedDataSets:function k(l){var m={};l.forEach(function(n){if(!n)return;Object.keys(n).forEach(function(o){if(m.hasOwnProperty(o)){var p=n[o].forEach?n[o]:Object.keys(n[o]);p.forEach(function(q,r){m[o][r]+=n[o][r];});}else m[o]=n[o];});});return m;},getSectionByName:function k(l,m){for(var n=m.length-1;n>=0;--n)if(m[n].type.getName()===l)return m[n];},parseGenderAgeResponse:function k(l){var m={F:i(),M:i(),total:0,U:i()};if(!this.isDataValid(l))return null;var n=Object.keys(l);n.forEach(function(o){var p=o.split('.');if(p.length!==2||!m.hasOwnProperty(p[0])||!m[p[0]].ageBuckets.hasOwnProperty(p[1]))return;var q=l[o][l[o].length-1];m[p[0]].ageBuckets[p[1]]+=q;m[p[0]].total+=q;m.total+=q;});return m;},sliceDataForPreviousPeriod:function k(l,m,n){var o=n.until-n.since,p={since:n.since-o,until:n.until-o},q=c('InsightsUtils').getRangeIndices(m,p);if(q[0]<0)q[0]=0;if(q[1]<0)q[1]=0;return l.slice(q[0],q[1]+1);},pairAndSortKeyedDataSet:function k(l){var m,n,o;if(!this.isDataValid(l))return [];var p={};for(var q in l){n=0;o=o||l[q].length;m=-1;while(++m<o)n+=!!l[q][m]?l[q][m]:0;p[q]=n;}return (Object.keys(l).filter(function(r){return !!p[r];}).map(function(r){return [r,p[r]];}).sort(function(r,s){return s[1]-r[1];}));},summarizeKeyedDataSet:function k(l,m){var n=j.pairAndSortKeyedDataSet(l),o,p,q={},r=n.length,s=r>m?1:0,t=Math.min(r,m-s);for(o=0;o<t;++o){p=n[o][0];q[p]=l[p];}if(s){var u=null,v=0,w;o=m-2;while(++o<r){p=n[o][0];if(u==null){v=l[p].length;u=c('InsightsUtils').fillArray(v,null);}w=-1;while(++w<v)if(l[p][w]!=null)u[w]+=l[p][w];}q[h._("Others")]=u;}return q;},groupKeyedDataSet:function k(l,m){var n={};if(l)Object.keys(l).forEach(function(o){var p=m(o);if(n.hasOwnProperty(p)){for(var q=0;q<n[p].length;++q){var r=l[o][q];if(r!=null)n[p][q]+=l[o][q];}}else n[p]=l[o].slice();});return n;},groupKeyValuePair:function k(l,m,n){var o={};if(l)Object.keys(l).forEach(function(p){var q=m(p);o[q]=n(p);});return o;},partialValue:function k(l){return l.partial;},valueX:function k(l){return l.x;},valueY:function k(l){return l.y;},findNonZeroValueInValues:function k(l){var m=l;if(l.valueY===0&&l.allData)for(var n=l.allData.length;n-->0;){var o=l.allData[n];if(o.valueY!==0){m=o;break;}}m.isPartial=l.isPartial;return m;},getCustomTooltipFormat:function k(){var l=new Date();l.setHours(l.getHours()+c('UTCUtils').offsetFromPacificTime(l));var m=j.findNonZeroValueInValues;return function(n){var o=m(n),p=o.title||o.label,q=o.yValueString,r,s;if(o.isPartial){r=c('formatDate')(l,'M d, Y ga');s=h._("as of {timestamp}",[h.param('timestamp',r)]);}else s=o.xValueString;var t=[c('React').createElement(c('SpectrumTooltipDescription'),{key:'desc'},p),c('React').createElement(c('SpectrumTooltipData'),{key:'data'},q),c('React').createElement(c('SpectrumTooltipDescription'),{key:'foot'},s)];return t;};},getVideoID:function k(l){var m=l.split('_');if(m.length>=2)return m[1];return '0';},getPageID:function k(l){var m=l.split('_');if(m.length>=2)return m[0];return '0';}};f.exports=j;}),null);
  __d("XShouldHideLiveAudioController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/live\/audio\/should_hide_live_audio\/",{fbid:{type:"String",required:true}});}),null);
  __d('LiveAudioCheck',['AsyncRequest','Map','XShouldHideLiveAudioController'],(function a(b,c,d,e,f,g){var h=new (c('Map'))();f.exports={checkShouldHideLiveAudio:function i(j,k){if(h.has(j)){k(h.get(j));return;}var l=c('XShouldHideLiveAudioController').getURIBuilder().setString('fbid',j).getURI();new (c('AsyncRequest'))().setURI(l).setHandler(function(m){h.set(j,m.payload);k(m.payload);}).send();}};}),null);
  __d('SpectrumBrush',['fbt','keyMirror','SpectrumDataVisualization','SpectrumUtilities','React','ReactART','EventListener','d3/time/day'],(function a(b,c,d,e,f,g,h){var i=c('ReactART').Path,j=c('ReactART').Group,k=c('ReactART').Shape,l=c('React').PropTypes,m=i().move(0,0).line(1,0).line(0,1).line(-1,0).close(),n=i().moveTo(-3.5,-7.5).arc(2,-2).line(4,0).arc(2,2).line(0,16).arc(-2,2).line(-4,0).arc(-2,-2).close(),o=i().moveTo(-.5,-5.5).line(0,13).moveTo(1.5,-5.5).line(0,13),p=c('keyMirror')({NORMAL:null,HOVER:null,PRESSED:null,DRAGGING:null,MOVING:null}),q=10,r=c('React').createClass({displayName:'SpectrumBrush',propTypes:{onBrush:l.func,onSelection:l.func},timeoutID:null,boundaries:[],distance:0,componentWillMount:function s(){this.props.eventChannel[this.props.eventIndex]=this;var t=window.addEventListener?window:document.body;this.releaseHandler=c('EventListener').listen(t,'mouseup',this.release);this.boundaries=c('SpectrumUtilities').getOuterRange(this.props.scaleX);},componentWillUnmount:function s(){delete this.props.eventChannel[this.props.eventIndex];},getInitialState:function s(){return {anchor:0,focus:0,mode:p.NORMAL,move:0};},getHitType:function s(t){var u=this.getLeftPosition(),v=this.getRightPosition();if(Math.abs(t-u)<q)return 'dragLeft';if(Math.abs(t-v)<q)return 'dragRight';if(t>u&&t<v)return 'move';return 'outside';},getSelection:function s(){if(this.props.selection!==undefined){var t=this.props.selection[1];if(this.props.scaleX.interval&&this.props.scaleX.interval())t=this.props.scaleX.interval().offset(t,-1);return [this.props.selection[0],t];}if(this.props.focus)return this.props.focus.rangeX;return null;},hasSelection:function s(){return this.isDraggingOrMoving()||!!this.getSelection();},isDraggingOrMoving:function s(){return this.state.mode==p.DRAGGING||this.state.mode==p.MOVING;},shouldUseSelectionFromProps:function s(){return !this.isDraggingOrMoving()&&this.getSelection();},getLeftPosition:function s(){if(this.shouldUseSelectionFromProps())return this.props.scaleX(this.getSelection()[0]);return Math.min(this.state.focus,this.state.anchor);},getRightPosition:function s(){if(this.shouldUseSelectionFromProps())return this.props.scaleX(this.getSelection()[1]);return Math.max(this.state.focus,this.state.anchor);},dragLeave:function s(){if(this.distance!==0)this.invokeChangeEvent();if(!this.timeoutID){this.timeoutID=setTimeout(this.dragLeave,1000/Math.abs(this.distance));}else{this.cancelDragLeave();this.timeoutID=setTimeout(this.dragLeave,1000/Math.abs(this.distance));}},cancelDragLeave:function s(){if(this.timeoutID!==null){clearTimeout(this.timeoutID);this.timeoutID=null;}},hover:function s(t){var u=this.state.mode,v=this.props.scaleX;if(u==p.NORMAL||u==p.HOVER){var w=v(v.invert(t));this.setState({anchor:w,focus:w,mode:p.HOVER});return;}if(t<this.boundaries[0]){this.distance=t-this.boundaries[0];}else if(t>this.boundaries[1]){this.distance=t-this.boundaries[1];}else this.distance=0;if(this.distance!==0){var x=~~(3000/Math.abs(this.distance));if(this.timeoutID===null){this.timeoutID=setTimeout(this.dragLeave,x);}else{this.cancelDragLeave();this.timeoutID=setTimeout(this.dragLeave,x);}}else this.cancelDragLeave();if(u==p.MOVING){var y=this.state.move,z=this.state.focus,aa=this.state.anchor,ba=aa-z;z=v(v.invert(t-y));aa=v(v.invert(z+ba));z=aa-ba;this.setState({anchor:aa,focus:z},this.invokeChangeEvent);}else{var ca=v(v.invert(t));if(this.props.minDays){var da=Math.min(ca,this.state.anchor),ea=Math.max(ca,this.state.anchor);da=v.invert(da);ea=v.invert(ea);if(c('d3/time/day').range(da,ea).length+1<this.props.minDays)return;}this.setState({focus:ca,mode:p.DRAGGING},this.invokeChangeEvent);}},unhover:function s(){if(this.state.mode==p.HOVER)this.setState({mode:p.NORMAL});},press:function s(t,u){if(this.hasSelection()){if(u=='move'){this.setState({anchor:this.getLeftPosition(),focus:this.getRightPosition(),mode:p.MOVING,move:t-this.getRightPosition()});return;}if(u=='dragLeft'){this.setState({anchor:this.getRightPosition(),focus:this.getLeftPosition(),mode:p.DRAGGING});return;}if(u=='dragRight'){this.setState({anchor:this.getLeftPosition(),focus:this.getRightPosition(),mode:p.DRAGGING});return;}}var v=this.props.scaleX,w=v(v.invert(t));this.setState({anchor:w,focus:w,mode:p.PRESSED});},release:function s(){this.cancelDragLeave();if(this.state.mode==p.PRESSED){var t=this.state.focus,u=this.getLeftPosition(),v=this.getRightPosition(),w=v-u,x=this.props.scaleX;u=x(x.invert(t-w/2));v=x(x.invert(u+w));u=v-w;this.setState({anchor:v,focus:u,mode:p.NORMAL});this.invokeChangeEvent();return;}if(!this.isDraggingOrMoving())return;this.setState({mode:p.NORMAL});this.invokeChangeEvent();this.distance=0;},getHighlightRect:function s(t,u){var v=this.props.scaleX,w=v.rangeBand?v.rangeBand():0,x=c('SpectrumUtilities').getOuterRange(this.props.scaleY);return {left:t,top:x[1],right:u+w,bottom:x[0]};},invokeChangeEvent:function s(){var t=!this.isDraggingOrMoving()&&this.props.onSelection?this.props.onSelection:this.props.onBrush,u=Math.min(this.state.focus,this.state.anchor),v=Math.max(this.state.focus,this.state.anchor);if(this.distance>0){v+=this.distance;}else if(this.distance<0)u+=this.distance;var w=this.props.scaleX.invert(u),x=this.props.scaleX.invert(v);if(this.props.onRequestFocus)this.props.onRequestFocus({fixed:!this.isDraggingOrMoving(),title:h._("Selecting"),rangeX:[w,x],rect:this.getHighlightRect(u,v)});var y=this.props.scaleX.interval;if(t)t([w,y&&y()?y().offset(x,1):x]);},getCursor:function s(t){if(!this.isDraggingOrMoving()&&this.hasSelection()){return t=='dragLeft'||t=='dragRight'?'col-resize':t=='move'?'move':'pointer';}else{var u=this.state.mode==p.DRAGGING,v=this.state.mode==p.MOVING;return u?'col-resize':v?'move':'pointer';}},handleEvent:function s(t){var u=this.getHitType(t.x);t.cursor=this.getCursor(u);var v=this.props.onSelection||this.props.onBrush;switch(t.type){case 'mousemove':this.hover(t.x);break;case 'mouseleave':this.unhover();break;case 'mousedown':if(v){this.press(t.x,u);t.stopPropagation();}break;case 'mouseup':if(v){t.stopPropagation();this.release();}break;}if(this.hasSelection())t.stopPropagation();},render:function s(){var t=this.state.mode;if(t==p.NORMAL&&!this.hasSelection())return c('React').createElement(j,null);var u=c('SpectrumDataVisualization').getScaleX(this.props),v=u.rangeBand?u.rangeBand():0,w=c('SpectrumUtilities').getOuterRange(u);if(this.getLeftPosition()<w[0]||this.getRightPosition()+v>w[1])return c('React').createElement(j,null);var x=this.props.theme.brush,y=this.getHighlightRect(this.getLeftPosition(),this.getRightPosition());function z(ca){var da=(y.top+y.bottom)*.5,ea=i().move(.5,0).line(0,y.bottom-y.top);return (c('React').createElement(j,{x:Math.round(ca)},c('React').createElement(k,{d:ea,stroke:'#ccc',y:y.top}),c('React').createElement(k,{d:n,fill:'#fff',stroke:'#ccc',y:Math.round(da)}),c('React').createElement(k,{d:o,stroke:'#6382ad',y:Math.round(da)})));}function aa(ca,da){return (c('React').createElement(k,{d:m,fill:x.fadeColor,scaleX:da-ca,scaleY:y.bottom-y.top,x:ca,y:y.top}));}var ba=c('React').createElement(k,{d:m,fill:x.color,scaleX:y.right-y.left,scaleY:y.bottom-y.top,x:y.left,y:y.top});return (c('React').createElement(j,null,ba,aa(this.boundaries[0],y.left),aa(y.right,this.boundaries[1]),x.handleBars&&z(y.left),x.handleBars&&z(y.right)));}});f.exports=r;}),null);
  __d('SpectrumMarker',['Circle.art','React','ReactART','SpectrumDataVisualization','SpectrumUtilities','getObjectValues','keyMirror'],(function a(b,c,d,e,f,g){var h=c('React').PropTypes,i=c('ReactART').Group,j=c('ReactART').Path,k=c('ReactART').Shape,l=c('ReactART').Text,m=2,n=c('keyMirror')({VERTICAL:null,HORIZONTAL:null}),o=c('React').createClass({displayName:'SpectrumMarker',mixins:[c('SpectrumDataVisualization').Mixin],statics:{Orientation:n},propTypes:{content:h.string,x:h.number,y:h.number,activeOffset:h.number,markerOrientation:h.oneOf(c('getObjectValues')(n))},getDefaultProps:function p(){return {activeOffset:10,markerOrientation:n.VERTICAL};},getInitialState:function p(){return {tooltip:null};},getTop:function p(){var q=c('SpectrumUtilities').getOuterRange(this.props.scaleY);return q[1]-5;},getLeft:function p(){var q=c('SpectrumUtilities').getOuterRange(this.props.scaleX);return q[0]-5;},getX:function p(){if(this.props.markerOrientation===n.VERTICAL){return c('SpectrumDataVisualization').getX(this.props.scaleX,this.props.x);}else return this.props.scaleX(this.props.x);},getY:function p(){return this.props.scaleY(this.props.y);},handleEvent:function p(q){if(q.type!='mousemove')return;if(this.props.markerOrientation===n.VERTICAL&&this.props.y==null||this.props.markerOrientation===n.HORIZONTAL&&this.props.x==null)return;var r=this.getX(),s=this.getY(),t=this.props.markerOrientation===n.VERTICAL&&q.x>r-this.props.activeOffset&&q.x<r+this.props.activeOffset,u=this.props.markerOrientation===n.HORIZONTAL&&q.y>s-this.props.activeOffset&&q.y<s+this.props.activeOffset;if(t||u){var v={rect:{left:r,right:r,top:s,bottom:s},valueX:this.props.x,valueY:this.props.y};if(this.props.onRequestFocus)this.props.onRequestFocus(v);q.stopPropagation();}else if(this.props.onRequestFocus)this.props.onRequestFocus(null);},render:function p(){var q=this.props.focus,r=q&&q.valueX===this.props.x&&q.valueY===this.props.y&&this.props.x!=null&&this.props.y!=null||false;return (c('React').createElement(i,null,this._renderLine(r),this._renderCircle(r),this._renderLabel(r)));},_getXDomain:function p(){if(this.props.markerOrientation===n.VERTICAL){var q=Math.floor(this.props.scaleX(this.props.x))+.5;return [q,q];}else{var r=this.getLeft(),s=c('SpectrumUtilities').getOuterRange(this.props.scaleX)[1];return [r,s];}},_getYDomain:function p(){if(this.props.markerOrientation===n.VERTICAL){var q=this.getTop(),r=c('SpectrumUtilities').getOuterRange(this.props.scaleY)[0];return [q,r];}else{var s=Math.floor(this.props.scaleY(this.props.y))+.5;return [s,s];}},_renderLine:function p(q){var r=this._getXDomain(),s=this._getYDomain(),t=j().moveTo(r[0],s[0]),u=this.props.theme.markers,v=u.lineColor,w=u.lineWidth;if(q){v=u.highlightColor;w=u.highlightWidth;t=t.lineTo(r[1],s[1]);}else{var x=this.props.markerOrientation===n.VERTICAL?(s[1]-s[0])/4:(r[1]-r[0])/4,y=this.props.markerOrientation===n.VERTICAL?0:2,z=this.props.markerOrientation===n.VERTICAL?2:0;for(var aa=0;aa<x;aa++)t.line(y,z).move(y,z);}return (c('React').createElement(k,{d:t,stroke:v,strokeWidth:w}));},_renderCircle:function p(q){var r=null;if(q){var s=this.props.theme.markers,t=s.highlightColor,u=s.highlightWidth;r=c('React').createElement(i,null,c('React').createElement(c('Circle.art'),{radius:m,stroke:t,strokeWidth:u*2,x:this.getX(),y:this.getY()}),c('React').createElement(c('Circle.art'),{radius:m,fill:s.dotColor,x:this.getX(),y:this.getY()}));}return r;},_renderLabel:function p(q){var r=this.props.children;if(typeof r==='string'){var s=this.props.theme.markers,t={fontFamily:s.fontFamily,fontSize:s.fontSize},u=this.props.markerOrientation===n.VERTICAL?.5:this._getXDomain()[1]-this._getXDomain()[0],v=this.props.markerOrientation===n.VERTICAL?"center":"right",w=q?s.highlightColor:s.labelColor;r=c('React').createElement(l,{x:u,y:-t.fontSize-2,alignment:v,font:t,fill:w},r);}return (c('React').createElement(i,{x:this._getXDomain()[0],y:this._getYDomain()[0]},r));}});f.exports=o;}),null);
  __d('SpectrumTooltip',['cx','SpectrumAnimationLayer','PointerEventElement.react','React','ReactDOM'],(function a(b,c,d,e,f,g,h){var i,j,k=c('React').PropTypes,l=200,m=10,n=15;i=babelHelpers.inherits(o,c('React').Component);j=i&&i.prototype;function o(){var p,q;'use strict';for(var r=arguments.length,s=Array(r),t=0;t<r;t++)s[t]=arguments[t];return q=(p=j.constructor).call.apply(p,[this].concat(s)),this.state={width:0},this.calculateCardWidth=function(){var u=c('ReactDOM').findDOMNode(this.refs.card).offsetWidth;this.setState({width:u});this.props.onCalculateWidth&&this.props.onCalculateWidth(u);}.bind(this),q;}o.prototype.componentDidUpdate=function(p){'use strict';var q=this.props.x!==this.props.x,r=this.props.y!==this.props.y,s=this.props.x!=p.x||this.props.y!=p.y;if(s&&!q&&!r)this.calculateCardWidth();};o.prototype.componentDidMount=function(){'use strict';this.calculateCardWidth();};o.prototype.render=function(){'use strict';var p="_51i4"+(this.props.flip?' '+"_5k2_":''),q=this.props.x-m;if(this.props.flip)q=q-this.state.width-n;return (c('React').createElement(c('SpectrumAnimationLayer'),{opacity:.9,x:Math.round(q),y:Math.round(this.props.y-l/2),height:l,zIndex:this.props.zIndex},c('React').createElement(c('PointerEventElement.react'),{className:p},c('React').createElement('div',{className:"_5c7e _51i5",ref:'card'},c('React').createElement('div',{className:"_5l1x"},this.props.children),c('React').createElement('i',{className:"_5sx3"})))));};o.propTypes={flip:k.bool,onCalculateWidth:k.func};f.exports=o;}),null);
  __d('SpectrumTooltipAction',['cx','React'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.render=function(){'use strict';return (c('React').createElement('span',{className:"_5y0j"},this.props.children));};function k(){'use strict';i.apply(this,arguments);}f.exports=k;}),null);
  __d('SpectrumTooltipFooter',['cx','React'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.render=function(){'use strict';return (c('React').createElement('span',{className:"_51wj"},this.props.children));};function k(){'use strict';i.apply(this,arguments);}f.exports=k;}),null);
  __d('SpectrumTooltipMenu',['fbt','React','SpectrumUtilities','SpectrumTooltip','SpectrumTooltipAction','SpectrumTooltipData','SpectrumTooltipDescription','SpectrumTooltipFooter'],(function a(b,c,d,e,f,g,h){var i,j;function k(event){event.stopPropagation();}function l(o,p){if(o==p)return o;return h._("{from} to {to}",[h.param('from',o),h.param('to',p)]);}var m=20;i=babelHelpers.inherits(n,c('React').Component);j=i&&i.prototype;function n(){var o,p;'use strict';for(var q=arguments.length,r=Array(q),s=0;s<q;s++)r[s]=arguments[s];return p=(o=j.constructor).call.apply(o,[this].concat(r)),this.state={flip:false},this.getTooltipFormat=function(t){if(t.tooltipFormat)return t.tooltipFormat();if(t.tickFormat)return t.tickFormat(m);return function(u){return u;};},this.onCalculateTooltipWidth=function(t){var u=this.props.focus.rect.right,v=this.props.focus.rect.left,w=c('SpectrumUtilities').getOuterRange(this.props.scaleX),x=w[1]-t-u<v-t-w[0];if(this.state.flip!=x)this.setState({flip:x});}.bind(this),p;}n.prototype.render=function(){'use strict';var o=this.props.focus;if(!o)return c('React').createElement('div',null);var p=this.props.scaleX,q=this.props.scaleY,r=o.rangeX?o.rangeX[0]:o.valueX,s=o.rangeX?o.rangeX[1]:o.valueX,t=this.getTooltipFormat(p),u=this.getTooltipFormat(q),v=o.title||o.label,w=o.valueY==null?'':u(o.valueY),x=function ia(ja,ka){return Number(ja.toFixed(ka));},y=o.total?o.valueY*100/o.total:null,z=y?h._("{percent}\u0025",[h.param('percent',x(y,1))]):null;if(o.displayFooter===undefined||o.displayFooter)var aa=l(t(r),t(s));var ba,ca=null;if(this.props.actionContent&&r==s)ca=c('React').createElement(c('SpectrumTooltipAction'),null,this.props.actionContent);if(o.fixed&&this.props.children)ba=c('React').createElement(c('SpectrumTooltipFooter'),null,c('React').createElement('div',{onMouseDown:k},this.props.children));var da=o.rect.top,ea=o.rect.bottom,fa=o.rect.right;if(this.state.flip)fa=o.rect.left;var ga;if(this.props.customFormat){var ha=babelHelpers['extends']({},this.props.focus,{xValueString:t(r),xRangeString:aa,yValueString:w});if(ha.allData)ha.allData=ha.allData.map(function(ia,ja){ia.xValueString=t(ia.valueX);ia.yValueString=u(ia.valueY);return ia;});if(typeof o.comparisonValueY!=='undefined'){ha.comparisonTitle=o.comparisonTitle;ha.comparisonYValueString=o.comparisonValueY==null?'':u(o.comparisonValueY);}ga=c('React').createElement(c('SpectrumTooltipDescription'),null,this.props.customFormat(ha));}else ga=[c('React').createElement(c('SpectrumTooltipDescription'),{key:'desc'},v),c('React').createElement(c('SpectrumTooltipData'),{key:'data'},w),c('React').createElement(c('SpectrumTooltipDescription'),{key:'percentTotal'},this.props.showPercentTotal?z:null),c('React').createElement(c('SpectrumTooltipDescription'),{key:'foot'},aa)];return (c('React').createElement(c('SpectrumTooltip'),{x:fa,y:(da+ea)*.5,flip:this.state.flip,onCalculateWidth:this.onCalculateTooltipWidth,zIndex:this.props.zIndex},ga,ba,ca));};n.isChartLayer=true;f.exports=n;}),null);
  __d('SpectrumVerticalLines',['React','ReactART','SpectrumConstants','SpectrumUtilities'],(function a(b,c,d,e,f,g){'use strict';var h,i,j=c('ReactART').Group,k=c('ReactART').Path,l=c('ReactART').Shape;h=babelHelpers.inherits(m,c('React').Component);i=h&&h.prototype;m.prototype.shouldComponentUpdate=function(n){return this.props.scaleY!==n.scaleY||this.props.scaleX!==n.scaleX;};m.prototype.render=function(){var n=this.props.theme,o=[n.xAxis.lineColor,n.xAxis.lineColor],p=this.props.scaleX,q=this.props.ticks||c('SpectrumConstants').vlines.defaultLineCount,r=null,s=c('SpectrumUtilities').getOuterRange(this.props.scaleY),t=s[1],u=s[0],v=void 0;if(r==null){v=p.ticks?p.ticks(q):p.domain();}else v=r;var w=new k(),x=new k();function y(z,aa,ba){(aa%4?x:w).moveTo(p(z),t).line(0,u-t);}v.forEach(y);return (c('React').createElement(j,null,c('React').createElement(l,{d:w,stroke:o[0],opacity:.5}),c('React').createElement(l,{d:x,stroke:o[1],opacity:.25})));};function m(){h.apply(this,arguments);}f.exports=m;}),null);
  __d('SpectrumYAxis',['React','ReactART','SpectrumBaseStyleSheet','SpectrumUtilities'],(function a(b,c,d,e,f,g){var h,i,j=c('ReactART').Group,k=c('ReactART').Path,l=c('ReactART').Shape,m=c('ReactART').Text;h=babelHelpers.inherits(n,c('React').Component);i=h&&h.prototype;n.getGutter=function(o,p,q,r){'use strict';var s=r.tickFormatMaxLength!=null?r.tickFormatMaxLength:45,t=p.yAxis.fontSize/c('SpectrumBaseStyleSheet').yAxis.fontSize;s=s*t;var u={bottom:20,left:s,top:20};if(p.yAxis.showRightTicks)u.right=s;return u;};n.getTickCount=function(o){'use strict';var p=o.theme,q=c('SpectrumUtilities').getOuterRange(o.scaleY);return Math.round(Math.abs(q[0]-q[1])/p.yAxis.distanceBetweenTicks);};n.getAdjustedScaleY=function(o){'use strict';var p=o.scaleY;if(!p.nice)return p.copy();return p.copy().nice(n.getTickCount(o));};n.prototype.shouldComponentUpdate=function(o){'use strict';return this.props.scaleY!==o.scaleY;};n.prototype.render=function(){'use strict';var o=this.props.theme,p=o.yAxis,q=o.yAxis.labelColor,r=o.yAxis.lineColor,s=o.yAxis.baseLineColor||r,t=this.props.scaleY,u=n.getTickCount(this.props),v=0,w=o.yAxis.tickPadding||5,x=c('SpectrumUtilities').getOuterRange(this.props.scaleX),y=x==null?0:x[0],z=x[x.length-1],aa=x==null?5:x[x.length-1]-y,ba=t.ticks?t.ticks(u):t.domain(),ca=t.tickFormat?t.tickFormat(ba):String;function da(ha,ia){ha.moveTo(y-v,Math.round(t(ia))+.5).line(aa+v+v,0);}function ea(ha,ia){if(ha===0&&this.props.hideBaseLine)return null;var ja=[c('React').createElement(m,{alignment:'right',fill:q,font:p,key:'left'+ia,x:y-v-w,y:t(ha)-p.fontSize/2},ca(ha))];if(o.yAxis.showRightTicks)ja.push(c('React').createElement(m,{alignment:'left',fill:q,font:p,key:'right'+ia,x:z+w,y:t(ha)-p.fontSize/2},ca(ha)));return ja;}var fa=k(),ga=k();ba.forEach(function(ha,ia){if(ha===0){if(!this.props.hideBaseLine)da(ga,ha);}else da(fa,ha);},this);return (c('React').createElement(j,null,c('React').createElement(l,{d:fa,stroke:r}),c('React').createElement(l,{d:ga,stroke:s}),ba.map(ea,this)));};function n(){'use strict';h.apply(this,arguments);}f.exports=n;}),null);
  __d('HubbleAreaLineChart',['fbt','HubbleContext','HubbleStyle','HubbleUtils','InsightsBenchmarkLayer.react','React','SpectrumBrush','SpectrumChart','SpectrumIntegerScale','SpectrumLines','SpectrumMarker','SpectrumStackedAreas','SpectrumTooltipMenu','SpectrumXAxis','SpectrumYAxis','SpectrumVerticalLines','d3/time/day'],(function a(b,c,d,e,f,g,h){var i,j,k=Math.ceil(c('HubbleStyle').LEFT_COL_CHART_WIDTH/8),l=-1,m=1;i=babelHelpers.inherits(n,c('React').Component);j=i&&i.prototype;function n(){var o,p;'use strict';for(var q=arguments.length,r=Array(q),s=0;s<q;s++)r[s]=arguments[s];return p=(o=j.constructor).call.apply(o,[this].concat(r)),this.state={expandDirection:0},this.isTodayInDomain=function(){return (+this.props.domain[1]===+c('HubbleContext').get('todayReportTime'));}.bind(this),this.$HubbleAreaLineChart1=function(t){return Math.max(Math.ceil(t/k),1);},this.$HubbleAreaLineChart3=function(t){if(!this.$HubbleAreaLineChart2())return t;var u,v,w=[],x=this.$HubbleAreaLineChart1(t.length);if(this.state.expandDirection==l){var y=Math.ceil(t.length/x);for(u=t.length-1,v=y-1;u>=0;u-=x){w[v]={partial:u===t.length-1&&this.isTodayInDomain(),x:c('d3/time/day').utc.offset(this.props.domain[1],(v-y)*x),y:t[u]};--v;}}else for(u=0,v=0;u<t.length;u+=x){w[v]={partial:u===t.length-1&&this.isTodayInDomain(),x:c('d3/time/day').utc.offset(this.props.domain[0],v*x),y:t[u]};++v;}return w;}.bind(this),this.$HubbleAreaLineChart2=function(){return Array.isArray(this.props.domain);}.bind(this),p;}n.prototype.componentWillReceiveProps=function(o){'use strict';if(!Array.isArray(this.props.domain)||!Array.isArray(o.domain))return;var p=+this.props.domain[0],q=+this.props.domain[1],r=+o.domain[0],s=+o.domain[1],t=this.state.expandDirection;if(p==r&&q!=s){t=m;}else if(p!=r&&q==s)t=l;this.setState({expandDirection:t});};n.prototype.render=function(){'use strict';var o=Array.isArray(this.props.areas)&&!!this.props.areas.length,p=Array.isArray(this.props.lines)&&!!this.props.lines.length;if(!o&&!p)return null;var q=this.props.benchmarks,r=this.props.partialValue,s=this.props.valueX,t=this.props.valueY;if(this.$HubbleAreaLineChart2()){r=r||c('HubbleUtils').partialValue;s=s||c('HubbleUtils').valueX;t=t||c('HubbleUtils').valueY;}var u=0,v=null,w=null,x=null;if(o){w=this.props.areas.map(this.$HubbleAreaLineChart3);u=w[0].length;}if(p){x=this.props.lines.map(this.$HubbleAreaLineChart3);u=Math.max(u,x[0].length);}if(this.props.areaOffsets)v=this.$HubbleAreaLineChart3(this.props.areaOffsets).map(c('HubbleUtils').valueY);var y=o?c('React').createElement(c('SpectrumStackedAreas'),{base:this.props.base,data:w,offset:v,partialValue:r,titles:this.props.areaTitles,valueX:s,valueY:t}):null,z=p?c('React').createElement(c('SpectrumLines'),{data:x,showGuide:this.props.showGuide,onClick:this.props.onClick,partialValue:r,titles:this.props.lineTitles,valueX:s,valueY:t}):null,aa=this.props.markers;if(Array.isArray(aa)&&!!aa.length)aa=aa.map(function(ha,ia){return c('React').createElement(c('SpectrumMarker'),{x:ha.x,y:ha.y,key:'marker_'+ia},ha.label);});var ba;if(this.props.onSelection)ba=h._("Click or drag to select");var ca=this.props.domain;if(Array.isArray(ca)){var da=c('d3/time/day').range(this.props.domain[0],this.props.domain[1]).length,ea=this.$HubbleAreaLineChart1(da);ca=ca.slice();var fa=da-(1+ea*(u-1));if(fa)if(this.state.expandDirection==l){ca[0]=c('d3/time/day').utc.offset(ca[0],fa);}else ca[1]=c('d3/time/day').utc.offset(ca[1],-1*fa);}var ga=null;if(this.props.vlines)ga=c('React').createElement(c('SpectrumVerticalLines'),{ticks:u});return c('React').createElement(c('SpectrumChart'),{domain:ca,height:this.props.height,scaleY:this.props.scaleY||c('SpectrumIntegerScale')(),scaleYHasDomain:this.props.scaleYHasDomain,theme:this.props.theme,width:this.props.width,onRequestFocus:this.props.onRequestFocus},y,z,aa,c('React').createElement(c('SpectrumBrush'),{onSelection:this.props.onSelection,selection:this.props.selection}),c('React').createElement(c('SpectrumXAxis'),{secondaryTicks:this.props.secondaryTicks,ticks:u}),ga,c('React').createElement(c('SpectrumYAxis'),null),c('React').createElement(c('InsightsBenchmarkLayer.react'),{benchmarks:q,visible:!!q}),c('React').createElement(c('SpectrumTooltipMenu'),{actionContent:ba,customFormat:this.props.customTooltipFormat}));};n.defaultProps={scaleYHasDomain:false};f.exports=n;}),null);
  __d('HubblePostDetailsDrillDown',['cx','fbt','FBFeedLocations','HubbleContext','HubbleLogger','HubblePostView.react','HubblePrimaryMetric.react','HubbleSecondaryMetric.react','HubbleSecondaryMetricGroup.react','HubbleUtils','InsightsInfoTip.react','LeftRight.react','PageInsightsPostDataType','React','UFIReactionIconImpl.react','UFIReactionTypes','getOwnObjectValues','sumOfArray'],(function a(b,c,d,e,f,g,h,i){'use strict';var j,k,l=c('React').PropTypes,m={total:i._("Likes"),onPost:i._("On Post"),onShares:i._("On Shares")},n={total:i._("Comments"),onPost:i._("On Post"),onShares:i._("On Shares")},o={total:i._("Shares"),onPost:i._("On Post"),onShares:i._("On Shares")},p={hide_clicks:i._("Hide Post"),hide_all_clicks:i._("Hide All Posts")},q={report_spam_clicks:i._("Report as Spam"),unlike_page_clicks:i._("Unlike Page")},r=null,s={other:i._("Clicks not on the content of the post such as page title clicks, or clicks to \"see more\""),video_play:i._("The number of times your video started playing, after a person clicked to play it")},t=i._("Video Views"),u=i._("Video Views from Share");function v(aa,ba,ca){var da=Object.keys(ba).map(function(ea){var fa=null;if(aa.hasOwnProperty(ea)){if(s.hasOwnProperty(ea)){fa=c('React').createElement(c('InsightsInfoTip.react'),{tip:s[ea]},ba[ea]);}else fa=ba[ea];return (c('React').createElement(c('HubbleSecondaryMetric.react'),{decoration:c('HubbleSecondaryMetric.react').DECORATION.ruled,label:fa,number:aa[ea],key:ea,tooltip:ca&&ca.hasOwnProperty(ea)?ca[ea]:undefined}));}}).filter(function(ea){return ea!=null;});return (c('React').createElement(c('HubbleSecondaryMetricGroup.react'),{className:"_3uhz"},da));}function w(aa,ba){var ca=Object.keys(ba).map(function(da){if(aa.hasOwnProperty(da))return (c('React').createElement(c('HubbleSecondaryMetric.react'),{layout:c('HubbleSecondaryMetric.react').LAYOUT.flat,label:ba[da],number:aa[da],key:da}));});return (c('React').createElement(c('HubbleSecondaryMetricGroup.react'),null,ca));}function x(aa,ba,ca){var da=c('UFIReactionTypes').ordering.map(function(ea){if(aa[ea]||ba[ea]){var fa=ba[ea]||0,ga=Math.max(aa[ea]||0,fa);return v({total:ga,onPost:fa,onShares:ga-fa},y(ea),ca);}});return da;}function y(aa){return {total:c('React').createElement('div',null,c('React').createElement(c('UFIReactionIconImpl.react'),{className:"_59ar",reaction:parseInt(aa+'',10)}),c('UFIReactionTypes').reactions[aa].display_name),onPost:i._("On Post"),onShares:i._("On Shares")};}j=babelHelpers.inherits(z,c('React').Component);k=j&&j.prototype;function z(){var aa,ba;for(var ca=arguments.length,da=Array(ca),ea=0;ea<ca;ea++)da[ea]=arguments[ea];return ba=(aa=k.constructor).call.apply(aa,[this].concat(da)),this.getClickLabels=function(){if(!r)r={photo_view:i._("Photo Views"),video_play:i._("Clicks to Play"),link:i._("Link Clicks"),other:i._("Other Clicks")};return r;},this.hasValidReactionsData=function(){var fa=this.props.metrics,ga=fa.reactionsOnPost,ha=fa.reactionsTotal;if(!ga||!ha)return false;return Object.keys(ha).some(function(ia){return ia!=c('UFIReactionTypes').LIKE&&(ha[ia]||ga[ia]);});}.bind(this),this.$HubblePostDetailsDrillDown1=function(){return !!(this.props.metrics.lcsFromPage&&this.props.metrics.lcsTotal);}.bind(this),ba;}z.prototype.componentWillMount=function(){c('HubbleLogger').logAction('show_post_drilldown');};z.prototype.isShare=function(){return c('HubbleContext').get('showExplicitLabelsForShares')&&this.props.postType===c('PageInsightsPostDataType').SHARED_VIDEO;};z.prototype.getReactionsLabel=function(){return this.isShare()?i._("Reactions, Comments & Shares from Share"):i._("Reactions, Comments & Shares");};z.prototype.getLikesLabel=function(){return this.isShare()?i._("Likes, Comments & Shares from Share"):i._("Likes, Comments & Shares");};z.prototype.render=function(){var aa=null,ba=null;if(this.$HubblePostDetailsDrillDown1()){var ca=this.props.metrics.lcsTotal,da=this.props.metrics.lcsFromPage,ea=this.props.metrics.lcsFromPage,fa={like:ca.like-da.like,comment:ca.comment-da.comment,share:ca.share-da.share},ga=null,ha=this.props.postVideoViews?this.props.postVideoViews.value:this.props.metrics.videoViews;if(this.props.showVideoViews)ga=c('React').createElement('div',{className:"_55k0",key:'panel2'},c('React').createElement(c('HubblePrimaryMetric.react'),{label:this.isShare()?u:t,number:ha}));var ia=function sa(ta){var ua={};ua.total=ca[ta];ua.onPost=ea[ta];ua.onShares=fa[ta];return ua;},ja=this.hasValidReactionsData(),ka=ja?this.getReactionsLabel():this.getLikesLabel();if(this.props.metrics.audioListenCount!=null){var la=i._("Listens"),ma=i._("Minutes Listened"),na=i._("LIVE AUDIO"),oa=i._("POST");ba=c('React').createElement('div',null,c('React').createElement('div',{className:"_55k1 _3htf"},na),c('React').createElement('div',{className:"_55k0",key:'panelA'},c('React').createElement(c('HubblePrimaryMetric.react'),{label:la,number:this.props.metrics.audioListenCount})),c('React').createElement('div',{className:"_55k0",key:'panelB'},c('React').createElement(c('HubblePrimaryMetric.react'),{label:ma,number:this.props.metrics.audioListenTime})),c('React').createElement('div',{className:"_55k1 _3htf"},oa));}var pa=this.isShare()?i._("People Reached from Share"):i._("People Reached");aa=[c('React').createElement('div',{className:"_55k0",key:'panel1'},c('React').createElement(c('HubblePrimaryMetric.react'),{label:pa,number:this.props.metrics.reach})),ga,c('React').createElement('div',{className:"_55k0",key:'panel3'},c('React').createElement(c('HubblePrimaryMetric.react'),{label:ka,number:c('sumOfArray')(c('getOwnObjectValues')(ca))})),c('React').createElement('div',{className:"_3uh-",key:'panel4'},ja?x(this.props.metrics.reactionsTotal,this.props.metrics.reactionsOnPost,this.props.reactionsTooltips):v(ia('like'),m),v(ia('comment'),n),v(ia('share'),o))];if(this.props.metrics.clicks){var qa=this.isShare()?i._("Post Clicks from Share"):i._(["Post Clicks","59ac593f30fd367fcde56a279fd6a017"]);aa.push(c('React').createElement('div',{className:"_55k0",key:'panel5'},c('React').createElement(c('HubblePrimaryMetric.react'),{className:'mbm',label:qa,number:c('sumOfArray')(c('getOwnObjectValues')(this.props.metrics.clicks))}),v(this.props.metrics.clicks,this.getClickLabels())));}if(this.props.metrics.negative)aa.push(c('React').createElement('div',{className:"_55k0",key:'panel6'},c('React').createElement('div',{className:"_55k1"},i._("Negative Feedback")),w(this.props.metrics.negative,p),w(this.props.metrics.negative,q)));}var ra=c('HubbleUtils').getPageID(this.props.postID);return c('React').createElement('div',{className:"_55ii"},c('React').createElement(c('LeftRight.react'),null,c('React').createElement('div',{className:"_55ij"},c('React').createElement(c('HubblePostView.react'),{feedLocation:this.props.feedLocation,identifier:this.props.identifier,pageID:ra,useNewVideoMetrics:this.props.useNewVideoMetrics})),c('React').createElement('div',{className:this.props.className},ba,aa)));};z.propTypes={feedLocation:l.oneOf(c('getOwnObjectValues')(c('FBFeedLocations')))};z.defaultProps={showVideoViews:false};f.exports=z;}),null);
  __d("XPageInsightsReactionsMetricsController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/page\/insights\/reactions\/metrics\/",{end_time:{type:"Int"},page_id:{type:"Int"},post_id:{type:"String"},start_time:{type:"Int"}});}),null);
  __d("XVideoAssetInsightsDataController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/video\/video_asset\/insights\/data\/",{page_id:{type:"FBID",required:true},video_asset_id:{type:"Int",required:true},source:{type:"Enum",defaultValue:"unknown",enumType:1},context:{type:"Enum",defaultValue:"video_post",enumType:1}});}),null);
  __d('HubblePostDrillDownDataLayerMixin',['ActorURI','Arbiter','AsyncRequest','HubbleLogger','HubblePostsDataLayer','HubbleSanityChecks','HubbleUtils','LiveAudioInsightsConfig','VideoInsightsContext','XPageInsightsReactionsMetricsController','XVideoAssetInsightsDataController'],(function a(b,c,d,e,f,g){var h=3000,i={_subscription:null,_pollTimeout:null,_request:null,__initialPostDetailsState:{clicks:null,lcsFromPage:null,lcsTotal:null,negative:null,reach:null,reactionsOnPost:null,reactionsTotal:null},componentWillMount:function j(){this._subscription=c('Arbiter').subscribe('hubble/lcsFromServer',this.handleNewFeedbackFromServer);var k=c('XPageInsightsReactionsMetricsController').getURIBuilder().setString('post_id',this.props.postID).getURI();new (c('AsyncRequest'))().setURI(k).setHandler(this.handleReactionsMetrics).send();if(this.props.useNewVideoMetrics)this.fetchInsightsDataForStreamingVideo();c('HubblePostsDataLayer').getPostMetricsByID(this.props.postID,this.props.postType,this.handleNewInsights,this.handleNewInsights);var l=c('LiveAudioInsightsConfig').facecast_audio_show_v1_metrics,m=c('LiveAudioInsightsConfig').config.post_audio_listen_count.start_date,n=new Date(m).getTime()/1000;if(l&&n<=this.props.postCreatedTime&&this.props.postType==='audio')c('HubblePostsDataLayer').getLiveAudioMetrics(this.props.postType,this.props.postID,this.handleLiveAudioInsights);},componentWillUnmount:function j(){this._unsubscribe();clearTimeout(this._pollTimeout);this._request&&this._request.abort();},fetchInsightsDataForStreamingVideo:function j(){var k=c('HubbleUtils').getVideoID(this.props.postID),l=c('XVideoAssetInsightsDataController').getURIBuilder().setFBID('page_id',this.props.videoPostInsightsLoggerData.pageID).setInt('video_asset_id',k).setEnum('source',this.props.videoPostInsightsLoggerData.source).setEnum('context',c('VideoInsightsContext').VIDEO_POST).getURI();this._request=new (c('AsyncRequest'))().setURI(l).setHandler(this.handleInsightsOfVideoInPost);this._request.send();},handleNewFeedbackFromServer:function j(k,l){if(l.identifier!==this.props.postIdentifier)return;this._unsubscribe();var m={comment:l.commentCount,like:l.likeCount,share:l.shareCount},n={lcsFromPage:m,reactionsOnPost:l.reactionsCountMap};if(this.state.lcsTotal)n.lcsTotal=this.correctLcsTotal(this.state.lcsTotal,m);this.setState(n);},handleNewInsights:function j(k){if(!k.insights)return;var l=k.insights.lcsByType;if(this.state.lcsFromPage)l=this.correctLcsTotal(l,this.state.lcsFromPage);this.setState({clicks:k.insights.clicksByType,lcsTotal:l,negative:k.insights.negativeFeedbackByType,reach:k.insights.reach,videoViews:k.insights.videoViews});c('HubbleSanityChecks').checkReachGtEngmt(Object.assign({created_time:this.props.postCreatedTime,id:this.props.postID,type:this.props.postType},k));c('HubblePostsDataLayer').validatePostInsightsMetric(k.insights,this.props.postID,this.props.postType,this.props.postCreatedTime);},handleLiveAudioInsights:function j(k){if(!k.liveAudioInsights)return;var l=k.liveAudioInsights.post_audio_listen_time/60000;this.setState({audioListenCount:k.liveAudioInsights.post_audio_listen_count,audioListenTime:l});},handleReactionsMetrics:function j(k){if(k.error||!k.payload)return;this.setState({reactionsTotal:k.payload});},handleInsightsOfVideoInPost:function j(k){if(k.error||!k.payload||!k.payload.videoPostInsights||!k.payload.videoProfileData)return;var l=k.payload.videoProfileData;if(l.isLiveStreaming&&this.props.shown)this._pollTimeout=setTimeout(this.fetchInsightsDataForStreamingVideo,h);this.setState({insightsOfVideoInPost:k.payload.videoPostInsights,videoProfileData:l});},correctLcsTotal:function j(k,l){var m={};for(var n in l)if(k[n]<l[n]){m[n]=l[n];c('HubbleLogger').logAction('lcs_total_less_than_lcs_from_page');}else m[n]=k[n];return m;},getDetailsMetrics:function j(){if(this.props.brandedContentPostInsights)return {clicks:this.props.brandedContentPostInsights.clicksByType,lcsFromPage:this.state.lcsFromPage,lcsTotal:this.state.lcsTotal,negative:this.props.brandedContentPostInsights.negativeFeedbackByType,reach:this.props.brandedContentPostInsights.reach,reactionsOnPost:this.state.reactionsOnPost,reactionsTotal:this.state.reactionsTotal,videoViews:this.state.videoViews,audioListenTime:this.state.audioListenTime,audioListenCount:this.state.audioListenCount};return {clicks:this.state.clicks,lcsFromPage:this.state.lcsFromPage,lcsTotal:this.state.lcsTotal,negative:this.state.negative,reach:this.state.reach,reactionsOnPost:this.state.reactionsOnPost,reactionsTotal:this.state.reactionsTotal,videoViews:this.state.videoViews,audioListenTime:this.state.audioListenTime,audioListenCount:this.state.audioListenCount};},_unsubscribe:function j(){this._subscription&&this._subscription.unsubscribe();}};f.exports=i;}),null);
  __d('HubblePostHintsConstants',[],(function a(b,c,d,e,f,g){var h={IMP:'imp',LIKE:'like',SHARE:'share',CLK:'clk'};f.exports=h;}),null);
  __d('HubblePostHintsEmptyDrillDown.react',['cx','fbt','ix','Image.react','React','HubblePostHintsConstants'],(function a(b,c,d,e,f,g,h,i,j){var k,l,m=c('React').PropTypes;k=babelHelpers.inherits(n,c('React').Component);l=k&&k.prototype;function n(){var o,p;'use strict';for(var q=arguments.length,r=Array(q),s=0;s<q;s++)r[s]=arguments[s];return p=(o=l.constructor).call.apply(o,[this].concat(r)),this.getSubtext=function(){switch(this.props.type){case c('HubblePostHintsConstants').CLK:return i._("Check back again when this post has more clicks.");case c('HubblePostHintsConstants').LIKE:return i._("Check back again when this post has more likes.");case c('HubblePostHintsConstants').SHARE:return i._("Check back again when this post has more shares.");default:return i._("Check back again when this post has more views.");}}.bind(this),this.getText=function(){switch(this.props.type){case c('HubblePostHintsConstants').CLK:return this.getClickText();case c('HubblePostHintsConstants').LIKE:return i._("Sorry, data is not displayed until at least 100 people have liked the post");case c('HubblePostHintsConstants').SHARE:return i._("Sorry, data is not displayed until at least 100 people have shared the post");default:return i._("Sorry, data is not displayed until at least 100 people have viewed the post");}}.bind(this),this.getClickText=function(){switch(this.props.clkType){case 'video':case 'premiumVideo':return i._("Sorry, data is not displayed until at least 100 people have played the video on the post");case 'photo':return i._("Sorry, data is not displayed until at least 100 people have clicked the photo on the post");default:return i._("Sorry, data is not displayed until at least 100 people have clicked the link on the post");}}.bind(this),p;}n.prototype.render=function(){'use strict';var o=this.getSubtext(),p=this.getText();return (c('React').createElement('div',{className:"_4y9"},c('React').createElement(c('Image.react'),{className:"_4ya",src:j("82502")}),c('React').createElement('div',{className:"_4yf"},p),c('React').createElement('div',{className:"_4yi"},o)));};n.propTypes={type:m.string,clkType:m.string};f.exports=n;}),null);
  __d('HubblePostHintsImpsDrillDown',['cx','fbt','React','HubbleHintsMetrics.react','HubblePostUtils'],(function a(b,c,d,e,f,g,h,i){var j,k,l=c('React').PropTypes;j=babelHelpers.inherits(m,c('React').Component);k=j&&j.prototype;m.prototype.render=function(){'use strict';var n=c('HubblePostUtils').formatPostHintsImpRatioMetrics(this.props.impHintMetrics,this.props.impAllMetrics),o=c('HubblePostUtils').formatPostHintsInsights(n,this.props.showRawMetrics),p=null;if(this.props.showRawMetrics){var q=c('HubblePostUtils').formatPostHintsInsights(this.props.impHintMetrics,this.props.showRawMetrics);p=c('React').createElement(c('HubbleHintsMetrics.react'),{header:i._("Total Hint Reach"),metrics:q,metricsType:'count'});}return (c('React').createElement('div',{className:"_vki"},c('React').createElement(c('HubbleHintsMetrics.react'),{header:i._("Percentage of Total Reach"),metrics:o,metricsType:'rate'}),p));};function m(){'use strict';j.apply(this,arguments);}m.propTypes={impHintMetrics:l.object.isRequired,impAllMetrics:l.number.isRequired,showRawMetrics:l.bool};f.exports=m;}),null);
  __d('HubblePostHintsLCSDrillDown.react',['cx','fbt','HubbleHintsMetrics.react','HubblePostHintsEmptyDrillDown.react','HubblePostUtils','React','XUINotice.react'],(function a(b,c,d,e,f,g,h,i){var j,k,l=c('React').PropTypes;j=babelHelpers.inherits(m,c('React').Component);k=j&&j.prototype;m.prototype.render=function(){'use strict';if(this.props.countAllMetrics===0)return (c('React').createElement(c('HubblePostHintsEmptyDrillDown.react'),{key:'PostHintsDrillDownViews',postID:this.props.postID,type:this.props.type,clkType:this.props.clkType}));var n=c('HubblePostUtils').formatPostHintsRateMetrics(this.props.countMetrics,this.props.impMetrics),o=c('HubblePostUtils').sortPostHintsMetrics(n),p=c('HubblePostUtils').formatPostHintsInsights(n,this.props.showRawMetrics,o),q=null;if(this.props.showRawMetrics){var r=c('HubblePostUtils').formatPostHintsInsights(this.props.countMetrics,this.props.showRawMetrics);q=c('React').createElement(c('HubbleHintsMetrics.react'),{header:i._("Total Numbers"),metrics:r,metricsType:'count'});}else{var s=c('HubblePostUtils').formatPostHintsImpRatioMetrics(this.props.countMetrics,this.props.countAllMetrics),t=c('HubblePostUtils').formatPostHintsInsights(s,this.props.showRawMetrics,o);q=c('React').createElement(c('HubbleHintsMetrics.react'),{header:this.props.countHeader,metrics:t,metricsType:'rate'});}var u=null;if(this.props.noticeInfo)u=c('React').createElement('div',{className:"_44sh"},c('React').createElement(c('XUINotice.react'),null,this.props.noticeInfo));return (c('React').createElement('div',{className:"_vki"},u,c('React').createElement(c('HubbleHintsMetrics.react'),{header:this.props.rateHeader,subtitle:this.props.rateSubtitle,metrics:p,metricsType:'rate'}),q));};function m(){'use strict';j.apply(this,arguments);}m.propTypes={countMetrics:l.object.isRequired,countAllMetrics:l.number.isRequired,impMetrics:l.object.isRequired,noticeInfo:l.node,rateHeader:l.node.isRequired,rateSubtitle:l.node,countHeader:l.node.isRequired,showRawMetrics:l.bool,type:l.string,clkType:l.string};f.exports=m;}),null);
  __d('HubblePostHintsTabbedSection.react',['React'],(function a(b,c,d,e,f,g){var h,i,j=c('React').PropTypes;h=babelHelpers.inherits(k,c('React').Component);i=h&&h.prototype;k.getTabHref=function(l){'use strict';return l.tabHref;};k.getKey=function(l){'use strict';return l.sectionKey;};k.getTitle=function(l){'use strict';return l.title;};k.getSubtitle=function(l){'use strict';return l.subtitle;};k.getComplexTitle=function(l){'use strict';return l.complexTitle;};k.prototype.render=function(){'use strict';return (c('React').createElement('div',{className:this.props.className},this.props.children));};function k(){'use strict';h.apply(this,arguments);}k.propTypes={className:j.string,tabHref:j.string,sectionKey:j.string.isRequired,title:j.string,subtitle:j.string,complexTitle:j.object.isRequired};f.exports=k;}),null);
  __d('HubblePostHintsTabbedSections.react',['cx','InsightsTabbedSectionsMixin','React','underscore.ads'],(function a(b,c,d,e,f,g,h){var i=c('React').createClass({displayName:'HubblePostHintsTabbedSections',mixins:[c('underscore.ads').omit(c('InsightsTabbedSectionsMixin'),'getTabContent')],theme:{activeNavLinkClass:"_2w8o",activeSelector:"_3f_d",navClass:"_2w8p",longNavClass:"_3bxh",navLinkClass:"_2w8q",smallNavLinkClass:"_4d7-",subtitledBlockClass:"_1fkz",subtitleClass:"_1fk-"},getTabContent:function j(k){var l=k.props.complexTitle,m=c('React').createElement('div',{className:"_5u73"},c('React').createElement('div',{className:"_5u74"},l.title,l.tooltip),c('React').createElement('div',{className:"_5u75"},l.number));return m;}});f.exports=i;}),null);
  __d('HubblePostHintsTabbedDrillDown',['HubblePostHintsTabbedSection.react','HubblePostHintsTabbedSections.react','InsightsDateRange.react','React'],(function a(b,c,d,e,f,g){var h,i,j=c('React').PropTypes;h=babelHelpers.inherits(k,c('React').Component);i=h&&h.prototype;function k(){var l,m;'use strict';for(var n=arguments.length,o=Array(n),p=0;p<n;p++)o[p]=arguments[p];return m=(l=i.constructor).call.apply(l,[this].concat(o)),this.state={activeKey:null},this.showSection=function(q){this.setState({activeKey:q.type.getKey(q.props)});}.bind(this),m;}k.getHeaderText=function(l){'use strict';return c('React').createElement(c('InsightsDateRange.react'),{from:l.selection[0],to:l.selection[1],utc:true});};k.prototype.render=function(){'use strict';var l=this.props.hintsdrilldowns.map(function(m,n){m=c('React').cloneElement(m,this.props);var o=Array.isArray(this.props.nubSources)?this.props.nubSources[n]:this.props.nubSources;return c('React').createElement(c('HubblePostHintsTabbedSection.react'),{complexTitle:m.props.complexTitle,key:m.key,sectionKey:m.key,title:m.props.title,nubSource:o},m);}.bind(this),this);return c('React').createElement(c('HubblePostHintsTabbedSections.react'),{activeKey:this.state.activeKey,children:l,onTabClick:this.showSection});};k.propTypes={postID:j.string,hintsdrilldowns:j.array.isRequired};f.exports=k;}),null);
  __d('HubblePostHintsViewsDrillDown',['fbt','ix','AdsHelpLink.react','AudienceTargetingFieldDisplayName','HubblePostDrillDownDataLayerMixin','HubblePostHintsEmptyDrillDown.react','HubblePostHintsImpsDrillDown','HubblePostHintsLCSDrillDown.react','HubblePostHintsTabbedDrillDown','HubblePostsDataLayer','InsightsLoadingIndicator.react','React','HubblePostHintsConstants'],(function a(b,c,d,e,f,g,h,i){var j=c('React').createClass({displayName:'HubblePostHintsViewsDrillDown',mixins:[c('HubblePostDrillDownDataLayerMixin')],componentWillMount:function k(){var l=c('HubblePostsDataLayer').getPostHintsMetrics;l(this.props.postType,this.props.postID,this._handlePostHintsInsights);},getInitialState:function k(){return this.__initialPostDetailsState;},getClickHintsMetrics:function k(l){if(this.props.postType==='video'||this.props.postType==='premiumVideo'){return l.video_play||{};}else if(this.props.postType==='photo')return l.photo_view||{};return l.link||{};},getClickMetrics:function k(l){if(this.props.postType==='video'||this.props.postType==='premiumVideo'){return l.video_play||0;}else if(this.props.postType==='photo')return l.photo_view||0;return l.link||0;},getClickTitle:function k(){switch(this.props.postType){case 'video':case 'premiumVideo':return h._("Video Play Rate");case 'photo':return h._("Photo View Rate");default:return h._("Link Click Rate");}},getClickType:function k(){switch(this.props.postType){case 'video':case 'premiumVideo':return h._("Video Plays");case 'photo':return h._("Photo Views");default:return h._("Link Clicks");}},getClickRateTitle:function k(){switch(this.props.postType){case 'video':case 'premiumVideo':return h._("Video Play-Through Rate");case 'photo':return h._("Photo View Rate");default:return h._("Link Click Rate");}},getClickNoticeInfo:function k(){switch(this.props.postType){case 'video':case 'premiumVideo':return h._("These charts show the video play rate for each tag you added and the percentage of total user-initiated video plays for each tag.");case 'photo':return h._("These charts show the rate of photo views for each tag you added and the percentage of total photo views for each tag.");default:return h._("These charts show the click rate for each tag you added and the percentage of total clicks for each tag.");}},getClickToolTip:function k(){switch(this.props.postType){case 'video':case 'premiumVideo':return h._("Video click-to-play rate for people who matched at least one of your tags.");case 'photo':return h._("Rate of photo views for people who matched at least one of your tags.");default:return h._("Click rate for people who matched at least one of your tags.");}},getNumberFormat:function k(l){if(l===undefined||l===null)return '\u2014%';var m=(100*l).toFixed(1)+'%';return m;},getTitleForType:function k(l){switch(l){case c('HubblePostHintsConstants').IMP:return h._("Reach");case c('HubblePostHintsConstants').CLK:return this.getClickTitle();case c('HubblePostHintsConstants').LIKE:return h._("Like Rate");case c('HubblePostHintsConstants').SHARE:return h._("Share Rate");default:return null;}},getTooltipContent:function k(l,m){switch(l){case c('HubblePostHintsConstants').IMP:return h._("Of all the people who saw this post on News Feed, {percentage of tag matched reach} matched at least one of your tags.",[h.param('percentage of tag matched reach',m)]);case c('HubblePostHintsConstants').CLK:return this.getClickToolTip();case c('HubblePostHintsConstants').LIKE:return h._("Like rate for people who matched at least one of your tags");case c('HubblePostHintsConstants').SHARE:return h._("Share rate for people who matched at least one of your tags");default:return null;}},getTooltip:function k(l,m){var n=this.getTooltipContent(l,m);return (c('React').createElement(c('AdsHelpLink.react'),{imgNormal:i("28632"),imgHover:i("28634"),position:'above',width:300},n));},getComplexTitleForLCS:function k(l,m,n){var o=l['Some Hints Matched'],p=m['Some Hints Matched'],q=null;if(o!==undefined&&p!==undefined&&p>0)q=o/p;var r={};r.number=this.getNumberFormat(q);r.title=this.getTitleForType(n);r.tooltip=this.getTooltip(n,r.number);return r;},getComplexTitleForReach:function k(l){var m=this.getTotalHintsMetrics(l),n=l['Some Hints Matched'],o=0;if(n!==undefined)o=n/m;var p={};p.number=this.getNumberFormat(o);p.title=this.getTitleForType(c('HubblePostHintsConstants').IMP);p.tooltip=this.getTooltip(c('HubblePostHintsConstants').IMP,p.number);return p;},getTotalHintsMetrics:function k(l){var m=l[c('AudienceTargetingFieldDisplayName').NO_HINTS_MATCHED],n=l[c('AudienceTargetingFieldDisplayName').SOME_HINTS_MATCHED];if(m+n>0)return m+n;return 0;},render:function k(){if(!this.state.isLoaded)return c('React').createElement(c('InsightsLoadingIndicator.react'),null);var l=this.props.hintsConfig,m=this.getTotalHintsMetrics(this.state.hintReachMetrics),n=this.getTotalHintsMetrics(this.state.likeMetrics),o=this.getTotalHintsMetrics(this.state.shareMetrics),p=this.getClickHintsMetrics(this.state.clkMetrics),q=this.getTotalHintsMetrics(p),r=l.insights_threshold,s=r!==undefined?r.min_show_time:300,t=Math.floor(Date.now()/1000);if(t-this.props.postCreatedTime<s||m===0)return (c('React').createElement(c('HubblePostHintsEmptyDrillDown.react'),{key:'PostHintsDrillDownViews',postID:this.props.postID}));var u=l.show_raw_hints_insights,v=[c('React').createElement(c('HubblePostHintsImpsDrillDown'),{complexTitle:this.getComplexTitleForReach(this.state.hintReachMetrics),identifier:this.props.postIdentifier,impHintMetrics:this.state.hintReachMetrics,impAllMetrics:m,key:'PostHintsImpsDrillDown',showRawMetrics:u}),c('React').createElement(c('HubblePostHintsLCSDrillDown.react'),{countMetrics:p,countAllMetrics:q,countHeader:h._("Percentage of Total {click title}",[h.param('click title',this.getClickType())]),complexTitle:this.getComplexTitleForLCS(p,this.state.hintReachMetrics,c('HubblePostHintsConstants').CLK),clkMetrics:p,identifier:this.props.postIdentifier,impMetrics:this.state.hintReachMetrics,key:'PostHintsClkDrillDown',noticeInfo:this.getClickNoticeInfo(),rateHeader:this.getClickRateTitle(),rateSubtitle:h._("({click type} per view)",[h.param('click type',this.getClickType())]),showRawMetrics:u,type:c('HubblePostHintsConstants').CLK,clkType:this.props.postType}),c('React').createElement(c('HubblePostHintsLCSDrillDown.react'),{countMetrics:this.state.shareMetrics,countAllMetrics:o,countHeader:h._("Percentage of Total Shares"),complexTitle:this.getComplexTitleForLCS(this.state.shareMetrics,this.state.hintReachMetrics,c('HubblePostHintsConstants').SHARE),identifier:this.props.postIdentifier,impMetrics:this.state.hintReachMetrics,key:'PostHintsShareDrillDown',noticeInfo:h._("These charts show the share rate for each tag you added and the percentage of total shares for each tag"),rateHeader:h._("Share-Through Rate"),rateSubtitle:h._("(shares per view)"),showRawMetrics:u,type:c('HubblePostHintsConstants').SHARE}),c('React').createElement(c('HubblePostHintsLCSDrillDown.react'),{countMetrics:this.state.likeMetrics,countAllMetrics:n,countHeader:h._("Percentage of Total Likes"),complexTitle:this.getComplexTitleForLCS(this.state.likeMetrics,this.state.hintReachMetrics,c('HubblePostHintsConstants').LIKE),identifier:this.props.postIdentifier,impMetrics:this.state.hintReachMetrics,key:'PostHintsLikeDrillDown',noticeInfo:h._("These charts show the rate at which each tag received likes and the percentage of total likes for each tag."),rateHeader:h._("Like Rate"),rateSubtitle:h._("(likes per view)"),showRawMetrics:u,type:c('HubblePostHintsConstants').LIKE})];return c('React').createElement(c('HubblePostHintsTabbedDrillDown'),{hintsdrilldowns:v,postID:this.props.postID});},_handlePostHintsInsights:function k(l){this.setState({isLoaded:true,hintReachMetrics:l.hintsInsights.hintReach,clkMetrics:l.hintsInsights.clicksByType,likeMetrics:l.hintsInsights.lcsByType.like,shareMetrics:l.hintsInsights.lcsByType.share});}});f.exports=j;}),null);
  __d('HubbleTabbedDrillDown',['cx','InsightsDateRange.react','InsightsTabbedSection.react','InsightsTabbedSections.react','PagesEventType','PagesEventObserver','React'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;function k(){var l,m;'use strict';for(var n=arguments.length,o=Array(n),p=0;p<n;p++)o[p]=arguments[p];return m=(l=j.constructor).call.apply(l,[this].concat(o)),this.state={activeKey:null},this.showSection=function(q){this.setState({activeKey:q.type.getKey(q.props)});if(q.key==='PostHintsDrillDownViews'){var r=this.props.postID.split('_'),s=r[0];c('PagesEventObserver').notify(c('PagesEventType').VIEW_AUDIENCE_TARGETING_INSIGHTS,s,{post_id:this.props.postID,post_type:this.props.postType,post_status_type:this.props.postStatusType,is_admin:true,ref:this.props.ref});}if(this.props.onDrillDownClick)this.props.onDrillDownClick(q.props.sectionKey);}.bind(this),m;}k.getHeaderText=function(l){'use strict';return c('React').createElement(c('InsightsDateRange.react'),{from:l.selection[0],to:l.selection[1],utc:true});};k.prototype.render=function(){'use strict';var l=this.props.drilldowns.map(function(m,n){m=c('React').cloneElement(m,this.props);var o=this.props.flush?"_42s2":null,p=Array.isArray(this.props.nubSources)?this.props.nubSources[n]:this.props.nubSources;return c('React').createElement(c('InsightsTabbedSection.react'),{className:o,key:m.key,sectionKey:m.key,title:m.props.title,nubSource:p},m);},this);return c('React').createElement(c('InsightsTabbedSections.react'),{activeKey:this.state.activeKey,children:l,onTabClick:this.showSection,useCenteredTabsStyle:this.props.useCenteredTabsStyle});};f.exports=k;}),null);
  __d('HubbleDefaultPostDrillDown',['fbt','ix','FBFeedLocations','HubblePostDetailsDrillDown','HubblePostDrillDownDataLayerMixin','HubblePostHintsViewsDrillDown','HubblePostHintsEmptyDrillDown.react','HubbleTabbedDrillDown','React','getOwnObjectValues'],(function a(b,c,d,e,f,g,h,i){var j=c('React').PropTypes,k=c('React').createClass({displayName:'HubbleDefaultPostDrillDown',mixins:[c('HubblePostDrillDownDataLayerMixin')],propTypes:{feedLocation:j.oneOf(c('getOwnObjectValues')(c('FBFeedLocations')))},getInitialState:function l(){return this.__initialPostDetailsState;},render:function l(){var m=[i("28640"),i("28639")],n=c('React').createElement(c('HubblePostDetailsDrillDown'),{feedLocation:this.props.feedLocation,identifier:this.props.postIdentifier,key:'PostDrillDownOverview',metrics:this.getDetailsMetrics(),postID:this.props.postID,title:h._("Post")}),o=this.props.hasHints;if(o){var p=[n];p.push(c('React').createElement(c('HubblePostHintsViewsDrillDown'),{key:'PostHintsDrillDownViews',title:h._("Preferred Audience"),postID:this.props.postID}));return c('React').createElement(c('HubbleTabbedDrillDown'),babelHelpers['extends']({drilldowns:p},this.props,{flush:true,nubSources:m}));}return n;}});f.exports=k;}),null);
  __d('PagesInsightsDataDispatcher',['ReactDispatcher_DEPRECATED'],(function a(b,c,d,e,f,g){f.exports=new (c('ReactDispatcher_DEPRECATED'))();}),null);
  __d('PagesInsightsRequest',['AsyncRequest'],(function a(b,c,d,e,f,g){var h={sendRequest:function i(j){new (c('AsyncRequest'))(j).send();},getRequest:function i(j){return new (c('AsyncRequest'))(j);}};f.exports=h;}),null);
  __d("XPagesInsightsPostDataController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/pages\/insights\/post_data\/",{page_id:{type:"Int",required:true},post_feed_object_id:{type:"String",required:true},request_payload_type:{type:"Enum",required:true,enumType:1}});}),null);
  __d('PagesInsightsPostDataStore',['FluxStore','PagesInsightsDataDispatcher','PagesInsightsDataPayloadTypes','PagesInsightsRequest','XPagesInsightsPostDataController'],(function a(b,c,d,e,f,g){var h,i,j={};h=babelHelpers.inherits(k,c('FluxStore'));i=h&&h.prototype;k.prototype.__onDispatch=function(l){'use strict';switch(l.type){case c('PagesInsightsDataPayloadTypes').POST_DETAILS_DATA:case c('PagesInsightsDataPayloadTypes').POST_FOOTER_DATA:j[l.postFeedObjectID]=babelHelpers['extends']({},j[l.postFeedObjectID],l.data);this.__emitChange();break;case c('PagesInsightsDataPayloadTypes').REQUEST_POST_DETAILS_DATA:case c('PagesInsightsDataPayloadTypes').REQUEST_POST_FOOTER_DATA:this.$PagesInsightsPostDataStore1(l.pageID,l.postFeedObjectID,l.type);break;}};k.prototype.$PagesInsightsPostDataStore1=function(l,m,n){'use strict';c('PagesInsightsRequest').sendRequest(c('XPagesInsightsPostDataController').getURIBuilder().setInt('page_id',l).setString('post_feed_object_id',m).setEnum('request_payload_type',n).getURI());};k.prototype.getPostData=function(l){'use strict';return j[l]||{};};function k(){'use strict';h.apply(this,arguments);}f.exports=new k(c('PagesInsightsDataDispatcher'));}),null);
  __d('PagesInsightsPostDetailsAYMTDispatcher',['ReactDispatcher_DEPRECATED'],(function a(b,c,d,e,f,g){f.exports=new (c('ReactDispatcher_DEPRECATED'))();}),null);
  __d('PagesInsightsPostDetailsAYMTStore',['invariant','AYMTClientSideChannelNames','AYMTTipActionTypes','AYMTTipsLoader','FluxStore','PagesInsightsPostDetailsAYMTDispatcher'],(function a(b,c,d,e,f,g,h){var i,j,k={};i=babelHelpers.inherits(l,c('FluxStore'));j=i&&i.prototype;l.prototype.__onDispatch=function(m){'use strict';m.data&&m.data.channelName===this.$PagesInsightsPostDetailsAYMTStore1()||h(0);switch(m.type){case c('AYMTTipActionTypes').TIPS_REQUESTED:c('AYMTTipsLoader').loadTips(m.data.params,this.$PagesInsightsPostDetailsAYMTStore1(),c('PagesInsightsPostDetailsAYMTDispatcher'));break;case c('AYMTTipActionTypes').TIPS_LOADED:if(m.data.tips.length>0){k[m.data.params.post_id]=m.data.tips[0];this.__emitChange();}break;default:h(0);}};l.prototype.$PagesInsightsPostDetailsAYMTStore1=function(){'use strict';return c('AYMTClientSideChannelNames').AYMT_PAGES_INSIGHTS_POST_DETAILS_CHANNEL;};l.prototype.getTip=function(m){'use strict';return k[m]?k[m]:null;};function l(){'use strict';i.apply(this,arguments);}f.exports=new l(c('PagesInsightsPostDetailsAYMTDispatcher'));}),null);
  __d('PagesInsightsPostDetailsAYMT.react',['cx','AYMTClientSideChannelNames','AYMTClientSideLogging','AYMTClientSideParam','AYMTTipActionTypes','DOMContainer.react','Layout.react','PagesInsightsPostDetailsAYMTDispatcher','PagesInsightsPostDetailsAYMTStore','React','StoreAndPropBasedStateMixin','XUIAYMTTipButton.react'],(function a(b,c,d,e,f,g,h){var i=c('Layout.react').Column,j=c('Layout.react').FillColumn,k=c('React').PropTypes,l=c('React').createClass({displayName:'PagesInsightsPostDetailsAYMT',mixins:[c('StoreAndPropBasedStateMixin')(c('PagesInsightsPostDetailsAYMTStore'))],propTypes:{pageID:k.string.isRequired,postFeedObjectID:k.string.isRequired},statics:{calculateState:function m(n){var o=null,p=null,q=null,r=null,s=null,t=null,u=null,v=null,w=c('PagesInsightsPostDetailsAYMTStore').getTip(n.postFeedObjectID);if(w&&w.client_side_rendering_spec){o=w.client_side_rendering_spec.tip_body;p=w.client_side_rendering_spec.tip_image;q=w.client_side_rendering_spec.tip_title;r=w.client_side_rendering_spec.tip_action_label;s=w.client_side_rendering_spec.tip_link;t=w.channel_id;u=w.tip_id;v=w.aymtData;}return {body:o,image:p,title:q,actionLabel:r,actionURI:s,channelID:t,tipID:u,aymtData:v};}},_renderAction:function m(){if(!this.state.actionLabel||!this.state.actionURI||!this.state.channelID||!this.state.tipID)return null;return (c('React').createElement('div',{className:"_41uo"},c('React').createElement(c('XUIAYMTTipButton.react'),{channelID:this.state.channelID,href:this.state.actionURI,label:this._getDOMContainer(this.state.actionLabel),target:'_blank',tipID:this.state.tipID,use:'confirm'})));},render:function m(){if(!this.state.body)return null;return (c('React').createElement('div',{className:"_2ph_ _4njf"},c('React').createElement(c('Layout.react'),null,c('React').createElement(i,{className:"_3-91"},this._getDOMContainer(this.state.image)),c('React').createElement(j,null,c('React').createElement('div',{className:"_3-94 _25ex"},this._getDOMContainer(this.state.title)),c('React').createElement('div',{className:"_25ey"},this._getDOMContainer(this.state.body)),this._renderAction()))));},componentDidMount:function m(){if(this.state.aymtData!==null){c('AYMTClientSideLogging').logImpressionNew(this.state.aymtData);}else{var n={};n[c('AYMTClientSideParam').PAGE_ID]=this.props.pageID;n[c('AYMTClientSideParam').POST_ID]=this.props.postFeedObjectID;c('PagesInsightsPostDetailsAYMTDispatcher').dispatch({data:{channelName:this._getChannelName(),params:n},type:c('AYMTTipActionTypes').TIPS_REQUESTED});}},componentDidUpdate:function m(n,o){if(o.aymtData===null&&this.state.aymtData!==null)c('AYMTClientSideLogging').logImpressionNew(this.state.aymtData);},_getChannelName:function m(){return c('AYMTClientSideChannelNames').AYMT_PAGES_INSIGHTS_POST_DETAILS_CHANNEL;},_getDOMContainer:function m(n){if(!n)return null;return (c('React').createElement(c('DOMContainer.react'),null,n));}});f.exports=l;}),null);
  __d('PagesInsightsPostDetailsLCSChart.react',['cx','fbt','BUIInsightsVerticalBarChart.react','CandelaConstants','CandelaGroupScaleBuilder','React'],(function a(b,c,d,e,f,g,h,i){var j,k,l=c('CandelaConstants').Alignment,m=c('React').PropTypes,n=c('CandelaGroupScaleBuilder').group,o={LCS_CHART_HEIGHT:158,LCS_CHART_WIDTH:388,BLUE:'#3d6ad6',TEAL:'#13bda6'};j=babelHelpers.inherits(p,c('React').Component);k=j&&j.prototype;function p(){var q,r;'use strict';for(var s=arguments.length,t=Array(s),u=0;u<s;u++)t[u]=arguments[u];return r=(q=k.constructor).call.apply(q,[this].concat(t)),this.getPostDetailsLCSChartData=function(){var v=i._("Likes"),w=i._("Comments"),x=i._("Shares");return [{type:v,onOriginal:this.props.likesOnOriginalPost,onShares:this.props.likesOnShares},{type:w,onOriginal:this.props.commentsOnOriginalPost,onShares:this.props.commentsOnShares},{type:x,onOriginal:this.props.sharesOnOriginalPost,onShares:this.props.sharesOnShares}];}.bind(this),this.getPostDetailsLCSChartSchema=function(){return {type:{label:'Type',type:'category'},onOriginal:{label:'On Your Post',type:'number'},onShares:{label:'On Shares',type:'number'}};},this.getPostDetailsLCSChartStyles=function(){return {'axis[orientation="vertical"]>axisbucketmark':{visibility:'hidden'},'axis[orientation="vertical"]>axismark':{visibility:'hidden'},'bar[series="onOriginal"]':{fill:o.BLUE},'bar[series="onShares"]':{fill:o.TEAL},barlabel:{paddingBottom:15}};},r;}p.prototype.render=function(){'use strict';var q=this.getPostDetailsLCSChartData(),r=this.getPostDetailsLCSChartSchema(),s=this.getPostDetailsLCSChartStyles();return (c('React').createElement('div',null,c('React').createElement('div',{className:"_5cj4"},i._("Likes, Comments and Shares")),c('React').createElement('div',{className:"_5cj5 _5cj6"},i._("On Your Post")),c('React').createElement('div',{className:"_5cj7 _5cj8"},i._("On Shares of Your Post")),c('React').createElement('div',{className:"_5cj9"},c('React').createElement(c('BUIInsightsVerticalBarChart.react'),{alignment:l.BOTTOM,data:q,height:o.LCS_CHART_HEIGHT,plotX:n('type'),plotY:[n('onOriginal','onShares').from(0).extendInput(0,1)],schema:r,series:r,styles:s,width:o.LCS_CHART_WIDTH}))));};p.propTypes={likesOnOriginalPost:m.number.isRequired,commentsOnOriginalPost:m.number.isRequired,sharesOnOriginalPost:m.number.isRequired,likesOnShares:m.number.isRequired,commentsOnShares:m.number.isRequired,sharesOnShares:m.number.isRequired};f.exports=p;}),null);
  __d('PagesInsightsPostDetailsMetric.react',['cx','PrettyNum','React','joinClasses'],(function a(b,c,d,e,f,g,h){var i,j,k=c('React').PropTypes;i=babelHelpers.inherits(l,c('React').Component);j=i&&i.prototype;l.prototype.render=function(){'use strict';var m=new (c('PrettyNum'))(this.props.value).toPretty();if(this.props.maxLimit!=null&&this.props.value>=this.props.maxLimit)m='999+';if(this.props.isPercent)m+='%';var n=null;if(this.props.className!==null){n=c('joinClasses')(this.props.className,"_58eg");}else n="_58eg";return (c('React').createElement('div',{className:n},c('React').createElement('div',{className:"_3-94 _4syj"},m),c('React').createElement('div',{className:"_58eq"},this.props.label),c('React').createElement('div',{className:"_3pr"},this.props.sublabel)));};function l(){'use strict';i.apply(this,arguments);}l.propTypes={className:k.string,isPercent:k.bool,label:k.node.isRequired,maxLimit:k.number,sublabel:k.any,value:k.number.isRequired};f.exports=l;}),null);
  __d('PagesInsightsPostDetails.react',['cx','fbt','DOMContainer.react','FeedPlaceHolderStory.react','PagesInsightsPostDetailsLCSChart.react','PagesInsightsPostDetailsMetric.react','React','PagesEventObserver','PagesEventType','PagesInsightsDataDispatcher','PagesInsightsDataPayloadTypes','PagesInsightsPostDataStore','PagesInsightsPostDetailsAYMT.react','StoreAndPropBasedStateMixin','XUISpinner.react'],(function a(b,c,d,e,f,g,h,i){var j=c('React').PropTypes,k=c('React').createClass({displayName:'PagesInsightsPostDetails',mixins:[c('StoreAndPropBasedStateMixin')(c('PagesInsightsPostDataStore'))],propTypes:{pageID:j.string.isRequired,postFeedObjectID:j.string.isRequired},statics:{calculateState:function l(m){var n=c('PagesInsightsPostDataStore').getPostData(m.postFeedObjectID);return babelHelpers['extends']({commentsOnOriginalPost:null,commentsOnShares:null,commentsTotal:null,likesOnOriginalPost:null,likesOnShares:null,likesTotal:null,linkClicks:null,peopleReached:null,photoClicks:null,postPreviewMarkup:null,sharesOnOriginalPost:null,sharesOnShares:null,sharesTotal:null,videoViews:null},n);}},render:function l(){return (c('React').createElement('div',{className:"_19vn"},this.getPostPreviewColumn(),this.getPostDetailsColumn()));},componentDidMount:function l(){c('PagesInsightsDataDispatcher').dispatch({pageID:this.props.pageID,postFeedObjectID:this.props.postFeedObjectID,type:c('PagesInsightsDataPayloadTypes').REQUEST_POST_DETAILS_DATA});c('PagesEventObserver').logData_DEPRECATED({event_name:c('PagesEventType').POST_DETAIL_VIEW,page_id:this.props.pageID,post_feed_object_id:this.props.postFeedObjectID},c('PagesEventObserver').VITAL_WAIT);},getPostPreviewColumn:function l(){var m=null;if(this.state.postPreviewMarkup){m=c('React').createElement(c('DOMContainer.react'),null,this.state.postPreviewMarkup);}else m=c('React').createElement(c('FeedPlaceHolderStory.react'),null);return (c('React').createElement('div',{className:"_2pi0 _4c9a"},c('React').createElement('div',{className:"_4c9b"},m)));},getPostDetailsColumn:function l(){return (c('React').createElement('div',{className:"_4c9c"},this._getPostDetailsHeader(),this._getPostDetailsLCSChart(),c('React').createElement(c('PagesInsightsPostDetailsAYMT.react'),{pageID:this.props.pageID,postFeedObjectID:this.props.postFeedObjectID})));},_getPostDetailsHeader:function l(){var m=this._getContextualMetric(),n=this._getLikesCommentsAndSharesMetric(),o=this._getPeopleReachedMetric();if(m||n||o)return (c('React').createElement('div',{className:"_2pi4 _19vo"},o,n,m));},_getPostDetailsLCSChart:function l(){if(this.state.likesOnOriginalPost===null||this.state.commentsOnOriginalPost===null||this.state.sharesOnOriginalPost===null||this.state.likesTotal===null||this.state.commentsTotal===null||this.state.sharesTotal===null)return (c('React').createElement('div',{className:"_2ph_ _4mzv"},c('React').createElement(c('XUISpinner.react'),{size:'large'})));if(this.state.likesTotal>0||this.state.commentsTotal>0||this.state.sharesTotal>0)return (c('React').createElement(c('PagesInsightsPostDetailsLCSChart.react'),{likesOnOriginalPost:this.state.likesOnOriginalPost,commentsOnOriginalPost:this.state.commentsOnOriginalPost,sharesOnOriginalPost:this.state.sharesOnOriginalPost,likesOnShares:this.state.likesOnShares,commentsOnShares:this.state.commentsOnShares,sharesOnShares:this.state.sharesOnShares}));},_getContextualMetric:function l(){var m=null,n=null;if(this.state.videoViews){m=i._("Video Views");n=this.state.videoViews;}else if(this.state.photoClicks){m=i._("Photo Clicks");n=this.state.photoClicks;}else if(this.state.linkClicks){m=i._("Link Clicks");n=this.state.linkClicks;}if(m&&n!==null)return c('React').createElement(c('PagesInsightsPostDetailsMetric.react'),{label:m,value:n});},_getLikesCommentsAndSharesMetric:function l(){var m=i._("Likes, Comments and Shares");if(this.state.likesTotal!==null&&this.state.commentsTotal!==null&&this.state.sharesTotal!==null){var n=this.state.likesTotal+this.state.commentsTotal+this.state.sharesTotal;return (c('React').createElement(c('PagesInsightsPostDetailsMetric.react'),{label:m,value:n}));}},_getPeopleReachedMetric:function l(){var m=i._("People Reached");if(this.state.peopleReached!==null)return (c('React').createElement(c('PagesInsightsPostDetailsMetric.react'),{label:m,value:this.state.peopleReached}));}});f.exports=k;}),null);
  __d('PagesInsightsPostDetailsDialog.react',['cx','fbt','Arbiter','DialogExpansion','LayerFadeOnHide','PagesInsightsPostDetails.react','React','XUIDialog.react','XUIDialogBody.react','XUIDialogTitle.react'],(function a(b,c,d,e,f,g,h,i){var j,k,l=c('React').PropTypes;j=babelHelpers.inherits(m,c('React').Component);k=j&&j.prototype;m.prototype.render=function(){'use strict';return (c('React').createElement(c('XUIDialog.react'),babelHelpers['extends']({},this.props,{behaviors:{DialogExpansion:c('DialogExpansion'),LayerFadeOnHide:c('LayerFadeOnHide')},ref:'dialog',width:961}),c('React').createElement(c('XUIDialogTitle.react'),null,i._("Post Details")),c('React').createElement(c('XUIDialogBody.react'),{className:"_4hcm",useCustomPadding:true},c('React').createElement(c('PagesInsightsPostDetails.react'),{pageID:this.props.pageID,postFeedObjectID:this.props.postFeedObjectID}))));};m.prototype.componentDidMount=function(){'use strict';c('Arbiter').subscribe('Story/delete',function(event,n){if(n===this.props.postFeedObjectID)this.refs.dialog.layer.hide();}.bind(this));};function m(){'use strict';j.apply(this,arguments);}m.propTypes={pageID:l.string.isRequired,postFeedObjectID:l.string.isRequired};f.exports=m;}),null);
  __d('HubbleDrillDownMixin',['cx','LayerPage.react','LayerPageContent.react','PagesInsightsGating','PagesInsightsPostDetailsDialog.react','React','ReactLayeredComponentMixin_DEPRECATED','XUICloseButton.react'],(function a(b,c,d,e,f,g,h){var i=babelHelpers['extends']({},c('ReactLayeredComponentMixin_DEPRECATED'),{__initialDrillDownState:{drilldownProps:{},showDrillDown:false,hideDefaultHeader:false},onToggleDrillDown:function j(k){if(!k&&this.state.showDrillDown)this.setState({drilldownProps:{},showDrillDown:false});},onCloseButtonClick:function j(){this.onToggleDrillDown(false);},shouldComponentUpdate:function j(k,l){if(this.state.showDrillDown&&l.showDrillDown)return false;return true;},renderLayers:function j(){if(!this.state.showDrillDown||!this.props.drilldown){if(this._renderLayersHook)return this._renderLayersHook();return null;}var k=c('React').cloneElement(this.props.drilldown,this.state.drilldownProps),l=!this.state.hideDefaultHeader?c('React').createElement('div',{className:"_55m4"},c('React').createElement(c('XUICloseButton.react'),{className:"_55ng",onClick:function(){return this.onCloseButtonClick();}.bind(this)}),k.type.getHeaderText(k.props)):null;return {drilldown:c('React').createElement(c('LayerPage.react'),{layerRootClass:"_55vx",onToggle:function(m){return this.onToggleDrillDown(m);}.bind(this),shown:true,width:915},c('React').createElement(c('LayerPageContent.react'),{useCustomPadding:true},l,k))};}});f.exports=i;}),null);
  __d("d3/core/requote",[],(function a(b,c,d,e,f,g){var h=function j(k){return k.replace(i,"\\$&");},i=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;f.exports=h;}),null);
  __d("d3/time/format-en_US",[],(function a(b,c,d,e,f,g){var h="%a %b %e %X %Y",i="%m/%d/%Y",j="%H:%M:%S",k=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],l=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],m=["January","February","March","April","May","June","July","August","September","October","November","December"],n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];g._formatDateTime=h;g._formatDate=i;g._formatTime=j;g._days=k;g._dayAbbreviations=l;g._months=m;g._monthAbbreviations=n;}),null);
  __d("d3/time/format",["d3/time/time","d3/core/map","d3/time/format-en_US","d3/core/requote","d3/time/day"],(function a(b,c,d,e,f,g){var h=c("d3/core/map")._Map,i=c("d3/time/format-en_US")._days,j=c("d3/time/format-en_US")._dayAbbreviations,k=c("d3/time/format-en_US")._months,l=c("d3/time/format-en_US")._monthAbbreviations,m=c("d3/time/format-en_US")._formatDateTime,n=c("d3/time/format-en_US")._formatDate,o=c("d3/time/format-en_US")._formatTime,p=function xa(ya){var za=ya.length;function ab(bb){var cb=[],db=-1,eb=0,fb,gb,hb;while(++db<za)if(ya.charCodeAt(db)===37){cb.push(ya.substring(eb,db));if((gb=aa[fb=ya.charAt(++db)])!=null)fb=ya.charAt(++db);if(hb=ba[fb])fb=hb(bb,gb==null?fb==="e"?" ":"0":gb);cb.push(fb);eb=db+1;}cb.push(ya.substring(eb,db));return cb.join("");}ab.parse=function(bb){var cb={y:1900,m:0,d:1,H:0,M:0,S:0,L:0},db=q(cb,ya,bb,0);if(db!=bb.length)return null;if("p" in cb)cb.H=cb.H%12+cb.p*12;var eb=new (c("d3/time/time")._time)();eb.setFullYear(cb.y,cb.m,cb.d);eb.setHours(cb.H,cb.M,cb.S,cb.L);return eb;};ab.toString=function(){return ya;};return ab;};function q(xa,ya,za,ab){var bb,cb,db=0,eb=ya.length,fb=za.length;while(db<eb){if(ab>=fb)return -1;bb=ya.charCodeAt(db++);if(bb===37){cb=ca[ya.charAt(db++)];if(!cb||(ab=cb(xa,za,ab))<0)return -1;}else if(bb!=za.charCodeAt(ab++))return -1;}return ab;}function r(xa){return new RegExp("^(?:"+xa.map(c("d3/core/requote")).join("|")+")","i");}function s(xa){var ya=new h(),za=-1,ab=xa.length;while(++za<ab)ya.set(xa[za].toLowerCase(),za);return ya;}function t(xa,ya,za){xa+="";var ab=xa.length;return ab<za?new Array(za-ab+1).join(ya)+xa:xa;}var u=r(i),v=r(j),w=r(k),x=s(k),y=r(l),z=s(l),aa={"-":"",_:" ","0":"0"},ba={a:function xa(ya){return j[ya.getDay()];},A:function xa(ya){return i[ya.getDay()];},b:function xa(ya){return l[ya.getMonth()];},B:function xa(ya){return k[ya.getMonth()];},c:p(m),d:function xa(ya,za){return t(ya.getDate(),za,2);},e:function xa(ya,za){return t(ya.getDate(),za,2);},H:function xa(ya,za){return t(ya.getHours(),za,2);},I:function xa(ya,za){return t(ya.getHours()%12||12,za,2);},j:function xa(ya,za){return t(1+c("d3/time/day").ofYear(ya),za,3);},L:function xa(ya,za){return t(ya.getMilliseconds(),za,3);},m:function xa(ya,za){return t(ya.getMonth()+1,za,2);},M:function xa(ya,za){return t(ya.getMinutes(),za,2);},p:function xa(ya){return ya.getHours()>=12?"PM":"AM";},S:function xa(ya,za){return t(ya.getSeconds(),za,2);},U:function xa(ya,za){return t(c("d3/time/time").sundayOfYear(ya),za,2);},w:function xa(ya){return ya.getDay();},W:function xa(ya,za){return t(c("d3/time/time").mondayOfYear(ya),za,2);},x:p(n),X:p(o),y:function xa(ya,za){return t(ya.getFullYear()%100,za,2);},Y:function xa(ya,za){return t(ya.getFullYear()%10000,za,4);},Z:wa,"%":function xa(){return "%";}},ca={a:da,A:ea,b:fa,B:ga,c:ha,d:oa,e:oa,H:pa,I:pa,L:sa,m:na,M:qa,p:ua,S:ra,x:ia,X:ja,y:la,Y:ka};function da(xa,ya,za){v.lastIndex=0;var ab=v.exec(ya.substring(za));return ab?za+=ab[0].length:-1;}function ea(xa,ya,za){u.lastIndex=0;var ab=u.exec(ya.substring(za));return ab?za+=ab[0].length:-1;}function fa(xa,ya,za){y.lastIndex=0;var ab=y.exec(ya.substring(za));return ab?(xa.m=z.get(ab[0].toLowerCase()),za+=ab[0].length):-1;}function ga(xa,ya,za){w.lastIndex=0;var ab=w.exec(ya.substring(za));return ab?(xa.m=x.get(ab[0].toLowerCase()),za+=ab[0].length):-1;}function ha(xa,ya,za){return q(xa,ba.c.toString(),ya,za);}function ia(xa,ya,za){return q(xa,ba.x.toString(),ya,za);}function ja(xa,ya,za){return q(xa,ba.X.toString(),ya,za);}function ka(xa,ya,za){ta.lastIndex=0;var ab=ta.exec(ya.substring(za,za+4));return ab?(xa.y=+ab[0],za+=ab[0].length):-1;}function la(xa,ya,za){ta.lastIndex=0;var ab=ta.exec(ya.substring(za,za+2));return ab?(xa.y=ma(+ab[0]),za+=ab[0].length):-1;}function ma(xa){return xa+(xa>68?1900:2000);}function na(xa,ya,za){ta.lastIndex=0;var ab=ta.exec(ya.substring(za,za+2));return ab?(xa.m=ab[0]-1,za+=ab[0].length):-1;}function oa(xa,ya,za){ta.lastIndex=0;var ab=ta.exec(ya.substring(za,za+2));return ab?(xa.d=+ab[0],za+=ab[0].length):-1;}function pa(xa,ya,za){ta.lastIndex=0;var ab=ta.exec(ya.substring(za,za+2));return ab?(xa.H=+ab[0],za+=ab[0].length):-1;}function qa(xa,ya,za){ta.lastIndex=0;var ab=ta.exec(ya.substring(za,za+2));return ab?(xa.M=+ab[0],za+=ab[0].length):-1;}function ra(xa,ya,za){ta.lastIndex=0;var ab=ta.exec(ya.substring(za,za+2));return ab?(xa.S=+ab[0],za+=ab[0].length):-1;}function sa(xa,ya,za){ta.lastIndex=0;var ab=ta.exec(ya.substring(za,za+3));return ab?(xa.L=+ab[0],za+=ab[0].length):-1;}var ta=/^\s*\d+/;function ua(xa,ya,za){var ab=va.get(ya.substring(za,za+=2).toLowerCase());return ab==null?-1:(xa.p=ab,za);}var va=c("d3/core/map")({am:0,pm:1});function wa(xa){var ya=xa.getTimezoneOffset(),za=ya>0?"-":"+",ab=~~(Math.abs(ya)/60),bb=Math.abs(ya)%60;return za+t(ab,"0",2)+t(bb,"0",2);}f.exports=p;}),null);
  __d('HubbleVideoPostViewsDrillDownStatPanel.react',['ix','cx','fbt','xuiglyph','Image.react','InsightsNumUtils','LeftRight.react','React','XUIGrayText.react','XUIText.react','d3/time/format'],(function a(b,c,d,e,f,g,h,i,j,k){var l,m,n,o,p={averageViewDuration:j._("Average View Duration"),playedWithSound:j._("Played with Sound On"),peopleReached:j._("People Reached"),playedWithSoundTip:j._("The percentage of videos played with the sound turned on.")};l=babelHelpers.inherits(q,c('React').Component);m=l&&l.prototype;q.prototype.render=function(){'use strict';return (c('React').createElement(c('LeftRight.react'),null,c('React').createElement(c('XUIGrayText.react'),{size:'medium',weight:'bold',shade:'medium',className:"_vp2"},this.props.children[0]),c('React').createElement(c('XUIText.react'),{className:"_vp3"},this.props.children[1])));};function q(){'use strict';l.apply(this,arguments);}n=babelHelpers.inherits(r,c('React').Component);o=n&&n.prototype;r.prototype.render=function(){'use strict';var s=c('d3/time/format')('%-M:%S'),t=this.props.playedWithSoundOn,u=this.props.playsWithSoundOnEnabled,v=[c('React').createElement(q,{key:'stat1'},p.averageViewDuration,s(new Date(this.props.avgTimeWatched)))];if(u)v.push(c('React').createElement(q,{key:'stat2'},c('React').createElement('div',null,p.playedWithSound,c('React').createElement(c('Image.react'),{'aria-label':p.playedWithSoundTip,className:"_vp4",'data-hover':'tooltip','data-tooltip-content':p.playedWithSoundTip,src:h("89330")})),j._("{percentage indicator}\u0025",[j.param('percentage indicator',t)])));v.push(c('React').createElement(q,{key:'stat3'},p.peopleReached,c('InsightsNumUtils').prettyInt(this.props.number)));return (c('React').createElement('div',{className:"_32fe"},v));};function r(){'use strict';n.apply(this,arguments);}f.exports=r;}),null);
  __d('SpectrumPercentageScale',['intlNumUtils','SpectrumBaseNumberScale','NumberFormatConfig'],(function a(b,c,d,e,f,g){var h=3,i=3;function j(q){if(q<.01)return k(q);var r=l(q);return c('intlNumUtils').getFloatString(r,c('NumberFormatConfig').numberDelimiter,c('NumberFormatConfig').decimalSeparator)+'%';}function k(q){var r=m(q,i);return c('intlNumUtils').getFloatString(r,c('NumberFormatConfig').numberDelimiter,c('NumberFormatConfig').decimalSeparator)+'%';}function l(q){return Math.round(q*100);}function m(q,r){var s=q*100,t=s.toPrecision(r);return parseFloat(t);}function n(q){var r=q<.01?m(q,i):l(q);return r/100;}function o(q){q.tickFormat=function(){return j;};q.tooltipFormat=function(){return k;};q.roundedDecimalFormat=function(){return n;};var r=q.copy;q.copy=function(){return o(r());};return q;}var p=function q(){return o(c('SpectrumBaseNumberScale')(h));};f.exports=p;}),null);
  __d('SpectrumTimeSpanScale',['fbt','BinarySearch','d3/core/range','d3/scale/linear'],(function a(b,c,d,e,f,g,h){var i={unit:'year',label:'years',ms:3.1104e+10,next:null},j={unit:'month',label:'months',ms:2.592e+09,next:i},k={unit:'day',label:'days',ms:86400000,next:j},l={unit:'hour',label:'hours',ms:3600000,next:k},m={unit:'minute',label:'minutes',ms:60000,next:l},n={unit:'second',label:'seconds',ms:1000,next:m},o={unit:'ms',label:'milliseconds',ms:1,next:n},p=[1000,5000,15000,60000,300000,900000,3600000,10800000,21600000,86400000,172800000,2.592e+09,7.776e+09,3.1104e+10],q=[n,n,n,m,m,m,l,l,l,k,k,j,j,i];function r(ea){var fa=ea[0],ga=ea[ea.length-1];return fa<ga?[fa,ga]:[ga,fa];}function s(ea,fa){var ga=r(ea),ha=ga[1]-ga[0],ia=ha/fa,ja=c('BinarySearch').findBoundInArray(p,ia,function(ka,la){return ka-la;},c('BinarySearch').LEAST_UPPER_BOUND);if(ja==p.length)ja=p.length-1;if(!ja){if(ia>666)return 0;return -1;}if(ia/p[ja-1]<p[ja]/ia)ja--;return ja;}function t(ea,fa,ga){var ha=s(ea,fa);if(ga){var ia=ga.offset(0,1);while(p[ha]<ia&&ha<p.length-1)ha++;}return {step:p[ha]||1,unit:q[ha]||o};}function u(ea,fa){var ga=r(ea),ha=Math.ceil(ga[0]/fa)*fa,ia=Math.floor(ga[1]/fa)*fa+fa*.5;return c('d3/core/range')(ha,ia,fa);}function v(ea){return h._({"milliseconds":"milliseconds","seconds":"seconds","minutes":"minutes","hours":"hours","days":"days","months":"months","years":"years"},[h['enum'](ea.label,{milliseconds:'milliseconds',seconds:'seconds',minutes:'minutes',hours:'hours',days:'days',months:'months',years:'years'})]);}function w(ea,fa){if(ea==1)return h._({"ms":"ms 1","second":"second 1","minute":"minute 1","hour":"hour 1","day":"day 1","month":"month 1","year":"year 1"},[h['enum'](fa.unit,{ms:'ms',second:'second',minute:'minute',hour:'hour',day:'day',month:'month',year:'year'})]);return h._({"ms":"ms {timeSpanInteger}","second":"second {timeSpanInteger}","minute":"minute {timeSpanInteger}","hour":"hour {timeSpanInteger}","day":"day {timeSpanInteger}","month":"month {timeSpanInteger}","year":"year {timeSpanInteger}"},[h['enum'](fa.unit,{ms:'ms',second:'second',minute:'minute',hour:'hour',day:'day',month:'month',year:'year'}),h.param('timeSpanInteger',ea)]);}function x(ea,fa){if(ea==1)return h._({"ms":"1 ms","second":"1 second","minute":"1 minute","hour":"1 hour","day":"1 day","month":"1 month","year":"1 year"},[h['enum'](fa.unit,{ms:'ms',second:'second',minute:'minute',hour:'hour',day:'day',month:'month',year:'year'})]);return h._({"milliseconds":"{timeSpanInteger} milliseconds","seconds":"{timeSpanInteger} seconds","minutes":"{timeSpanInteger} minutes","hours":"{timeSpanInteger} hours","days":"{timeSpanInteger} days","months":"{timeSpanInteger} months","years":"{timeSpanInteger} years"},[h.param('timeSpanInteger',ea),h['enum'](fa.label,{milliseconds:'milliseconds',seconds:'seconds',minutes:'minutes',hours:'hours',days:'days',months:'months',years:'years'})]);}function y(ea,fa){var ga=o,ha='';while(ga){var ia=ga.next?ga.next.ms:Infinity,ja=Math.floor(ea%ia/ga.ms);if(ja||ga.ms===fa){if(ha)ha=' '+ha;ha=w(ja+1,ga)+ha;}ga=ga.next;}return ha;}function z(ea){var fa=n,ga='';while(fa){var ha=fa.next?fa.next.ms:Infinity,ia=null;if(fa===n){ia=Math.round(ea%ha/fa.ms*100)/100;}else ia=Math.floor(ea%ha/fa.ms);if(ia){if(ga)ga=' '+ga;ga=x(ia,fa)+ga;}fa=fa.next;}return ga;}function aa(ea,fa,ga){var ha=ea.ms,ia=ea.next?ea.next.ms:Infinity,ja=function ka(la){var ma=Math.floor(la/ha);if(fa)ma++;return ma+'';};ja.primary=function(ka){var la=Math.floor(ka%ia/ha);if(fa)la++;return la+'';};ja.secondary=function(ka){if(ga||!ea.next)return v(ea);var la=Math.floor(ka/ia)+1;return w(la,ea.next);};ja.bucketTicks=fa;return ja;}function ba(ea){function fa(ka){return Math.floor(+ka/ea)*ea;}function ga(ka){return Math.round(+ka/ea)*ea;}function ha(ka){return Math.ceil(+ka/ea)*ea;}function ia(ka,la){return +ka+la*ea;}function ja(ka,la,ma){return c('d3/core/range')(ha(ka),la,(ma||1)*ea);}fa.floor=fa;fa.round=ga;fa.ceil=ha;fa.offset=ia;fa.range=ja;return fa;}function ca(ea,fa,ga){function ha(ia){return fa(ia);}ha.tickFormatMaxLength=30;ha.interval=function(ia){if(!arguments.length)return ea;var ja=ha.domain();ea=typeof ia==='number'?ba(ia):ia;ga=0;ha.domain(ja);return ha;};ha.invert=function(ia){if(ea)return ea.floor(fa.invert(ia));return fa.invert(ia);};ha.domain=function(ia){if(!arguments.length)if(ea){return [fa.domain()[0],ea.offset(fa.domain()[1],1)];}else return fa.domain();if(ea){fa.domain([ea.floor(ia[0]),ea.offset(ea.ceil(ia[1]),-1)]);}else fa.domain(ia);return ha;};ha.nice=function(ia){if(!ia)return ha;var ja=t(fa.domain(),ia,ea).step,ka=ha.domain(),la=ka[0],ma=ka[ka.length-1];if(la<ma){la=Math.floor(la/ja)*ja;ma=Math.ceil(ma/ja)*ja;}else{la=Math.ceil(la/ja)*ja;ma=Math.floor(ma/ja)*ja;}return ha.domain([la,ma]);};ha.ticks=function(ia){var ja=t(fa.domain(),ia,ea).step;if(ja===1)return fa.ticks(ia);return u(fa.domain(),ja);};ha.secondaryTicks=function(ia){var ja=t(fa.domain(),ia,ea).unit;if(!ja.next)return [];return u(fa.domain(),ja.next.ms);};ha.tickFormat=function(ia){var ja=t(fa.domain(),ia,ea),ka=ja.step,la=ja.unit,ma=r(fa.domain()),na=ma[0]===0&&ha.secondaryTicks(ia).length<2,oa=!!ea&&la.ms===ka&&ka!==1;return aa(la,oa,na);};ha.tooltipFormat=function(){return ea?function(ia){return y(ia,ea.offset(0,1));}:z;};ha.range=function(ia){if(!arguments.length)return fa.range();ga=0;fa.range(ia);return ha;};ha.rangeBands=function(ia,ja,ka){if(arguments.length<2)ja=0;if(arguments.length<3)ka=ja;if(!ea){ga=0;return ha.range(ia);}var la=ea.range(fa.domain()[0],fa.domain()[1]).length,ma=ia[1]<ia[0],na=ia[ma-0],oa=ia[1-ma],pa=(oa-na)/(la+1-ja+2*ka),qa=[na+pa*ka,na+pa*la];if(ma)qa.reverse();ga=pa*(1-ja);fa.range(qa);return ha;};ha.rangeBand=function(){return ga;};ha.copy=function(){return ca(ea,fa.copy(),ga);};ha.interpolate=function(ia){if(arguments.length===1){fa.interpolate(ia);return ha;}else return fa.interpolate();};ha.clamp=function(ia){if(arguments.length===1){fa.clamp(ia);return ha;}else return fa.clamp();};return ha;}var da=function ea(){return ca(null,c('d3/scale/linear')(),0);};da.Intervals={Year:ba(i.ms),Month:ba(j.ms),Day:ba(k.ms),Hour:ba(l.ms),Minute:ba(m.ms),Second:ba(n.ms)};f.exports=da;}),null);
  __d("XShouldShowVideoAssetInsightsLinkController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/video\/video_asset\/insights_link\/",{video_id:{type:"Int",required:true}});}),null);
  __d("XVideoAssetInsightsDialogController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/video\/video_asset\/insights\/",{page_id:{type:"FBID",required:true},video_asset_id:{type:"Int",required:true},source:{type:"Enum",defaultValue:"unknown",enumType:1},context:{type:"Enum",defaultValue:"video_post",enumType:1},__asyncDialog:{type:"Int"}});}),null);
  __d('HubbleVideoPostViewsDrillDown',['cx','fbt','ActorURI','AsyncDialog','AsyncRequest','Grid.react','HubbleAreaLineChart','HubbleContext','HubbleLogger','HubbleUtils','HubbleVideoMetricConfig','HubbleVideoMetricLabels','HubbleVideoMetric.react','HubbleVideoMetricSelector.react','HubbleVideoPostViewsDrillDownStatPanel.react','HubbleVideoView.react','InsightsNumUtils','InsightsTableLegend.react','SpectrumPercentageScale','React','SpectrumStyle','SpectrumTimeSpanScale','VideoAssetInsightsSource','XVideoAssetInsightsDialogController','XShouldShowVideoAssetInsightsLinkController','XUIText.react','XUIGrayText.react','d3/time/format'],(function a(b,c,d,e,f,g,h,i){var j,k,l=c('Grid.react').GridItem,m={videoImpressions:c('SpectrumStyle').TROUT},n={audienceRetention:i._("Views of your video at each moment as a percentage of all views."),videoViews:i._("The number of times your video was viewed for 3 seconds or more."),videoViewsTo95:i._("The number of times your video was viewed to 95\u0025 of its length.")},o={videoViews:i._("Paid Video Views"),videoViewsTo95:i._("Paid Video Views to 95\u0025")},p={audienceRetention:i._("Audience Retention"),selectorLabel:i._("SHOW METRICS FOR:"),videoViews:i._("Video Views"),videoViewsTo95:i._("Video Views to 95\u0025")};j=babelHelpers.inherits(q,c('React').Component);k=j&&j.prototype;function q(){var r,s;'use strict';for(var t=arguments.length,u=Array(t),v=0;v<t;v++)u[v]=arguments[v];return s=(r=k.constructor).call.apply(r,[this].concat(u)),this.state={videoLoaded:false,audienceRetentionShowAutoplay:false,canShowTotalVideoInsights:false},this.$HubbleVideoPostViewsDrillDown6=function(){if(this.state.canShowTotalVideoInsights)return (c('React').createElement('div',{className:"_2p9a",onClick:this.$HubbleVideoPostViewsDrillDown7,role:'button',tabIndex:'0'},i._("View total metrics for this video.")));return null;}.bind(this),this.$HubbleVideoPostViewsDrillDown7=function(){var w=c('HubbleUtils').getPageID(this.props.postID),x=c('HubbleUtils').getVideoID(this.props.postID),y=c('XVideoAssetInsightsDialogController').getURIBuilder().setInt('video_asset_id',x).setFBID('page_id',w).setEnum('source',c('VideoAssetInsightsSource').OLD_POST_INSIGHTS_VIDEO_TAB).getURI();c('AsyncDialog').send(new (c('AsyncRequest'))(y));}.bind(this),this.$HubbleVideoPostViewsDrillDown8=function(w){this.$HubbleVideoPostViewsDrillDown9(w);}.bind(this),this.$HubbleVideoPostViewsDrillDown10=function(w){this.$HubbleVideoPostViewsDrillDown9(w);}.bind(this),this.$HubbleVideoPostViewsDrillDown9=function(w){if(w)if(this.state.videoLoaded)this.$HubbleVideoPostViewsDrillDown1.seek(w.valueX/1000);}.bind(this),this.$HubbleVideoPostViewsDrillDown11=function(){return (c('React').createElement('div',{className:"_3-96"},c('React').createElement(c('XUIText.react'),{size:'large',weight:'bold',display:'block'},p.audienceRetention),c('React').createElement(c('XUIGrayText.react'),{size:'small',shade:'light',display:'block'},n.audienceRetention)));},this.$HubbleVideoPostViewsDrillDown5=function(){var w=[],x=this.props.videolength,y=x/4,z=.25;for(var aa=y;aa<x;aa+=y,z+=.25)w.push({x:aa,label:c('InsightsNumUtils').prettyPercent(z)});var ba=this.props.metrics.viewingBehavior;if(ba===null)return null;var ca={domain:c('SpectrumTimeSpanScale')().domain([0,x]),height:200,lines:[ba],markers:w,showGuide:true,onClick:this.$HubbleVideoPostViewsDrillDown8,onRequestFocus:this.$HubbleVideoPostViewsDrillDown10,scaleY:c('SpectrumPercentageScale')().domain([0,1]),secondaryTicks:true,theme:{lines:{colors:[m.videoImpressions],markers:false}},width:600},da=c('React').createElement(c('HubbleAreaLineChart'),ca),ea=[{colors:[m.videoImpressions],label:c('HubbleVideoMetricLabels').viewsLegendLabel}];return (c('React').createElement('div',{className:"_5lsj"},this.$HubbleVideoPostViewsDrillDown11(),c('React').createElement('div',{className:"_53zo"},c('React').createElement(c('InsightsTableLegend.react'),{legendData:ea})),c('React').createElement('div',{className:"_5v6-"},da),c('React').createElement(c('HubbleVideoView.react'),{width:600,height:338,identifier:this.props.identifier,onVideoLoaded:this.$HubbleVideoPostViewsDrillDown12,pageID:c('HubbleUtils').getPageID(this.props.postID)})));}.bind(this),this.$HubbleVideoPostViewsDrillDown4=function(){var w=c('React').createElement(c('HubbleAreaLineChart'),null),x=this.props.videolength,y=this.props.metrics.viewingBehaviorAutoplayed,z=this.props.metrics.viewingBehaviorClickedToPlay;if(y.length===1)y=[1];if(z.length===1)z=[1];var aa=c('HubbleVideoMetricConfig').typeColors.autoplayed,ba=c('HubbleVideoMetricConfig').typeColors.clickedToPlay;Object.assign(w.props,{domain:c('SpectrumTimeSpanScale')().domain([0,x]),height:200,lines:[y,z],showGuide:true,onClick:this.$HubbleVideoPostViewsDrillDown8,onRequestFocus:this.$HubbleVideoPostViewsDrillDown10,scaleY:c('SpectrumPercentageScale')().domain([0,1]),secondaryTicks:true,theme:{lines:{colors:[aa,ba],markers:false}},width:600});var ca=[{colors:[aa],label:c('HubbleVideoMetricLabels').autoplayed},{colors:[ba],label:c('HubbleVideoMetricLabels').clickedToPlay}];return (c('React').createElement('div',{className:"_5lsj"},this.$HubbleVideoPostViewsDrillDown11(),c('React').createElement('div',{className:"_53zo"},c('React').createElement(c('InsightsTableLegend.react'),{legendData:ca})),c('React').createElement('div',{className:"_5v6-"},w),c('React').createElement('div',null,c('React').createElement(c('HubbleVideoView.react'),{width:600,height:338,identifier:this.props.identifier,onVideoLoaded:this.$HubbleVideoPostViewsDrillDown12,pageID:c('HubbleUtils').getPageID(this.props.postID)}))));}.bind(this),this.$HubbleVideoPostViewsDrillDown12=function(w){this.setState({videoLoaded:true});this.$HubbleVideoPostViewsDrillDown1=w;}.bind(this),this.$HubbleVideoPostViewsDrillDown3=function(w){this.setState({audienceRetentionShowAutoplay:w=='autoplayed_clickedtoplay'});c('HubbleLogger').logAction('video_breakdown_change_'+w);}.bind(this),s;}q.prototype.componentWillMount=function(){'use strict';c('HubbleLogger').logAction('show_video_views_drilldown');this.$HubbleVideoPostViewsDrillDown1=null;var r=c('HubbleUtils').getPageID(this.props.postID),s=c('HubbleUtils').getVideoID(this.props.postID),t=c('XShouldShowVideoAssetInsightsLinkController').getURIBuilder().setInt('video_id',s).getURI();t=c('ActorURI').create(t,r);new (c('AsyncRequest'))().setURI(t).setHandler(function(u){this.setState({canShowTotalVideoInsights:u.getPayload()});}.bind(this)).send();};q.prototype.componentDidMount=function(){'use strict';c('HubbleLogger').logAction('view_video_tab');};q.prototype.componentWillUnmount=function(){'use strict';this.$HubbleVideoPostViewsDrillDown2&&this.$HubbleVideoPostViewsDrillDown2.abandon();};q.prototype.render=function(){'use strict';var r=this.props.metrics.averageTimeWatched,s=c('d3/time/format')('%-M:%S'),t=r/this.props.videolength,u=null;if(this.props.videoViewVersion==='1.1'){var v=this.props.metrics.playsWithSoundOn,w=c('HubbleContext').get('videoMetricsSoundEnabled'),x=c('HubbleContext').get('videoMetricsPlaysEnabled');u=[c('React').createElement(c('HubbleVideoPostViewsDrillDownStatPanel.react'),{avgTimeWatched:r,number:this.props.number,playedWithSoundOn:v,playsWithSoundOnEnabled:w,key:'HubbleVideoPostViewsDrillDownStatPanel'})];}else u=[c('React').createElement('div',{className:"_5v6t",key:'averageTimeWatched'},c('React').createElement('div',{className:"_5v6u"},s(new Date(r))),c('React').createElement('div',{className:"_5v6v"},i._("Average Duration of Video Viewed ({avgTimeWatched})",[i.param('avgTimeWatched',c('InsightsNumUtils').prettyPercent(t,2))])))];var y;if(this.props.videoViewVersion==='1.1'){u.push(c('React').createElement('div',{className:"_5v6t",key:'selector'},c('React').createElement(c('XUIGrayText.react'),{display:'block',weight:'bold',className:"_5lsd"},p.selectorLabel),c('React').createElement(c('HubbleVideoMetricSelector.react'),{metrics:this.props.metrics,playsEnabled:x,onBreakdownChange:this.$HubbleVideoPostViewsDrillDown3,hideOrganicAndPaidBreakdown:this.props.hideOrganicAndPaidBreakdown})));if(this.state.audienceRetentionShowAutoplay){y=this.$HubbleVideoPostViewsDrillDown4();}else y=this.$HubbleVideoPostViewsDrillDown5();}else{var z=this.props.metrics.views,aa=z.total.organic&&z.unique.organic?p.videoViews:o.videoViews;u.push(c('React').createElement('div',{className:"_5v6t",key:'videoViews'},c('React').createElement(c('HubbleVideoMetric.react'),{metrics:this.props.metrics.views,subtitle:n.videoViews,title:aa})));var ba=this.props.metrics.completedViews,ca=ba.total.organic&&ba.unique.organic?p.videoViewsTo95:o.videoViewsTo95;u.push(c('React').createElement('div',{className:"_5v6t",key:'videoViewsTo95'},c('React').createElement(c('HubbleVideoMetric.react'),{metrics:this.props.metrics.completedViews,subtitle:n.videoViewsTo95,title:ca})));y=this.$HubbleVideoPostViewsDrillDown5();}return c('React').createElement(c('Grid.react'),{cols:2,alignv:'top',align:'center',className:"_5lse"},c('React').createElement(l,null,y),c('React').createElement(l,{className:"_5v6x"},u,this.$HubbleVideoPostViewsDrillDown6()));};f.exports=q;}),null);
  __d('VideoAssetInsightsTypedLogger',['Banzai','GeneratedLoggerUtils','nullthrows'],(function a(b,c,d,e,f,g){'use strict';function h(){this.clear();}h.prototype.log=function(){c('GeneratedLoggerUtils').log('logger:VideoAssetInsightsLoggerConfig',this.$VideoAssetInsightsTypedLogger1,c('Banzai').BASIC);};h.prototype.logVital=function(){c('GeneratedLoggerUtils').log('logger:VideoAssetInsightsLoggerConfig',this.$VideoAssetInsightsTypedLogger1,c('Banzai').VITAL);};h.prototype.clear=function(){this.$VideoAssetInsightsTypedLogger1={};return this;};h.prototype.updateData=function(j){this.$VideoAssetInsightsTypedLogger1=babelHelpers['extends']({},this.$VideoAssetInsightsTypedLogger1,j);return this;};h.prototype.setCurrentMetricCard=function(j){this.$VideoAssetInsightsTypedLogger1.current_metric_card=j;return this;};h.prototype.setError=function(j){this.$VideoAssetInsightsTypedLogger1.error=j;return this;};h.prototype.setEvent=function(j){this.$VideoAssetInsightsTypedLogger1.event=j;return this;};h.prototype.setInitialTimeOffset=function(j){this.$VideoAssetInsightsTypedLogger1.initial_time_offset=j;return this;};h.prototype.setPageID=function(j){this.$VideoAssetInsightsTypedLogger1.page_id=j;return this;};h.prototype.setSource=function(j){this.$VideoAssetInsightsTypedLogger1.source=j;return this;};h.prototype.setVC=function(j){this.$VideoAssetInsightsTypedLogger1.vc=j;return this;};h.prototype.setVideoOrAssetID=function(j){this.$VideoAssetInsightsTypedLogger1.video_or_asset_id=j;return this;};var i={current_metric_card:true,error:true,event:true,initial_time_offset:true,page_id:true,source:true,vc:true,video_or_asset_id:true};f.exports=h;}),null);
  __d("XVideoAssetPlayerController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/x\/video_assets\/video_player\/",{video_asset_id:{type:"Int",required:true},video_container_id:{type:"String",required:true},show_controls:{type:"Bool",defaultValue:false},width:{type:"Int",required:true},height:{type:"Int",required:true}});}),null);
  __d('VideoAssetPlayer.react',['ActorURI','AdsVideoPlayer.react','AsyncRequest','React','XVideoAssetPlayerController'],(function a(b,c,d,e,f,g){var h,i;h=babelHelpers.inherits(j,c('React').Component);i=h&&h.prototype;j.prototype.$VideoAssetPlayer1=function(k,l){'use strict';var m=c('XVideoAssetPlayerController').getURIBuilder().setInt('video_asset_id',this.props.videoAssetID).setString('video_container_id',k).setBool('show_controls',this.props.showControls).setInt('width',this.props.playerWidth).setInt('height',this.props.playerHeight),n=c('ActorURI').create(m.getURI(),this.props.pageID);new (c('AsyncRequest'))().setMethod('POST').setRelativeTo(l).setURI(n).setReadOnly(true).send();};j.prototype.seek=function(k){'use strict';this.refs.videoPlayer.seek(k);};j.prototype.closePlayer=function(){'use strict';this.refs.videoPlayer.closePlayer();};j.prototype.playVideo=function(){'use strict';this.refs.videoPlayer.playVideo();};j.prototype.pause=function(){'use strict';this.refs.videoPlayer.pause();};j.prototype.mute=function(){'use strict';this.refs.videoPlayer.mute();};j.prototype.render=function(){'use strict';return (c('React').createElement(c('AdsVideoPlayer.react'),{ref:'videoPlayer',className:this.props.className,videoID:this.props.videoAssetID,playerWidth:this.props.playerWidth,playerHeight:this.props.playerHeight,rotation:this.props.rotation,autoPlay:this.props.autoplay,showControls:this.props.showControls,hideCloseButton:this.props.hideCloseButton,onVideoLoaded:this.props.onVideoLoaded,loadVideoPlayer:this.$VideoAssetPlayer1.bind(this)},this.props.children));};function j(){'use strict';h.apply(this,arguments);}j.defaultProps={showControls:true,hideCloseButton:false};f.exports=j;}),null);
  __d('VideoAssetInsightsConfig',[],(function a(b,c,d,e,f,g){'use strict';var h={CARD_ANIMATION_DURATION:500,_showNewCardSelectionForVideoPost:false,_showDailyMetrics:false,_minutesViewedAvailableTime:0,_dailyViewsAvailableTime:0,_audienceBreakdownAvailableTime:0,_showReactionsMetrics:false,_reactionsAvailableTime:0,_showRetentionGraphNUX:false,_showAvgCompletionNoticeNUX:false,_showAudienceAndEngagementNUX:false,_showClickableReactionNUX:false,_showTopAudienceInfoNUX:false,_showTopLocationInfoNUX:false,_showCardTooltips:false,_showRevenueCardTooltips:false,_showLifetimeDailyMetrics:false,_showLiveTextUpdates:false,_showAudienceAndEngagementCard:false,_videoEngagementAvailableTime:false,_showFollowersCard:false,_showNewReactionsCommentsShares:false,_showHeatmap360Card:false,_showPlayCountBasedAvgWatchTime:false,_showInstreamMoneyEarned:false,_showSoundOnMetrics:false,_showPeakConcurrentWarning:false,_showInstreamMoneyEarnedDetails:false,_showNewInsightsDialogTooltips:false,_showAssetInsightsUniqueMetrics:true,_showNewPostEngagementTooltip:false,_hideOrganicAndPaidMetrics:false,setShowNewCardSelectionForVideoPost:function i(j){this._showNewCardSelectionForVideoPost=j;},getShowNewCardSelectionForVideoPost:function i(){return this._showNewCardSelectionForVideoPost;},setMinutesViewedAvailableTime:function i(j){this._minutesViewedAvailableTime=j;},getMinutesViewedAvailableTime:function i(){return this._minutesViewedAvailableTime;},setDailyViewsAvailableTime:function i(j){this._dailyViewsAvailableTime=j;},getDailyViewsAvailableTime:function i(){return this._dailyViewsAvailableTime;},hasReactionsMetrics:function i(j){return j>=this._reactionsAvailableTime;},setReactionsAvailableTime:function i(j){this._reactionsAvailableTime=j;},getReactionsAvailableTime:function i(){return this._reactionsAvailableTime;},setBroadcastViewersRetentionAvailableTime:function i(j){this._broadcastViewersRetentionAvailableTime=j;},getBroadcastViewersRetentionAvailableTime:function i(){return this._broadcastViewersRetentionAvailableTime;},setShowRetentionGraphNUX:function i(j){this._showRetentionGraphNUX=j;},getShowRetentionGraphNUX:function i(){return this._showRetentionGraphNUX;},setShowClickableReactionNUX:function i(j){this._showClickableReactionNUX=j;},getShowClickableReactionNUX:function i(){return this._showClickableReactionNUX;},setShowAvgCompletionNoticeNUX:function i(j){this._showAvgCompletionNoticeNUX=j;},getShowAvgCompletionNoticeNUX:function i(){return this._showAvgCompletionNoticeNUX;},setShowAudienceAndEngagementNUX:function i(j){this._showAudienceAndEngagementNUX=j;},getShowAudienceAndEngagementNUX:function i(){return this._showAudienceAndEngagementNUX;},setShowTopAudienceInfoNUX:function i(j){this._showTopAudienceInfoNUX=j;},getShowTopAudienceInfoNUX:function i(){return this._showTopAudienceInfoNUX;},setShowTopLocationInfoNUX:function i(j){this._showTopLocationInfoNUX=j;},getShowTopLocationInfoNUX:function i(){return this._showTopLocationInfoNUX;},setShowCardTooltips:function i(j){this._showCardTooltips=j;},getShowCardTooltips:function i(){return this._showCardTooltips;},setShowRevenueCardTooltips:function i(j){this._showRevenueCardTooltips=j;},getShowRevenueCardTooltips:function i(){return this._showRevenueCardTooltips;},setShowLifetimeDailyMetrics:function i(j){this._showLifetimeDailyMetrics=j;},getShowLifetimeDailyMetrics:function i(){return this._showLifetimeDailyMetrics;},setLiveBreakdownAvailableTime:function i(j){this._liveBreakdownAvailableTime=j;},getLiveBreakdownAvailableTime:function i(){return this._liveBreakdownAvailableTime;},setAudienceBreakdownAvailableTime:function i(j){this._audienceBreakdownAvailableTime=j;},getAudienceBreakdownAvailableTime:function i(){return this._audienceBreakdownAvailableTime;},setVideoEngagementAvailableTime:function i(j){this._videoEngagementAvailableTime=j;},getVideoEngagementAvailableTime:function i(){return this._videoEngagementAvailableTime;},setShowLiveTextUpdates:function i(j){this._showLiveTextUpdates=j;},getShowLiveTextUpdates:function i(){return this._showLiveTextUpdates;},setShowAudienceAndEngagementCard:function i(j){this._showAudienceAndEngagementCard=j;},getShowAudienceAndEngagementCard:function i(){return this._showAudienceAndEngagementCard;},setShowFollowersCard:function i(j){this._showFollowersCard=j;},getShowFollowersCard:function i(){return this._showFollowersCard;},setShowNewReactionsCommentsShares:function i(j){this._showNewReactionsCommentsShares=j;},getShowNewReactionsCommentsShares:function i(){return this._showNewReactionsCommentsShares;},setShowHeatmap360Card:function i(j){this._showHeatmap360Card=j;},getShowHeatmap360Card:function i(){return this._showHeatmap360Card;},setShowPlayCountBasedAvgWatchTime:function i(j){this._showPlayCountBasedAvgWatchTime=j;},getShowPlayCountBasedAvgWatchTime:function i(){return this._showPlayCountBasedAvgWatchTime;},setShowInstreamMoneyEarned:function i(j){this._showInstreamMoneyEarned=j;},getShowInstreamMoneyEarned:function i(){return this._showInstreamMoneyEarned;},setShowSoundOnMetrics:function i(j){this._showSoundOnMetrics=j;},getShowSoundOnMetrics:function i(){return this._showSoundOnMetrics;},setShowPeakConcurrentWarning:function i(j){this._showPeakConcurrentWarning=j;},getShowPeakConcurrentWarning:function i(){return this._showPeakConcurrentWarning;},setShowInstreamMoneyEarnedDetails:function i(j){this._showInstreamMoneyEarnedDetails=j;},getShowInstreamMoneyEarnedDetails:function i(){return this._showInstreamMoneyEarnedDetails;},setShowNewInsightsDialogTooltips:function i(j){this._showNewInsightsDialogTooltips=j;},getShowNewInsightsDialogTooltips:function i(){return this._showNewInsightsDialogTooltips;},setShowAssetInsightsUniqueMetrics:function i(j){this._showAssetInsightsUniqueMetrics=j;},getShowAssetInsightsUniqueMetrics:function i(){return this._showAssetInsightsUniqueMetrics;},setShowNewPostEngagementTooltip:function i(j){this._showNewPostEngagementTooltip=j;},getShowNewPostEngagementTooltip:function i(){return this._showNewPostEngagementTooltip;},setHideOrganicAndPaidMetrics:function i(j){this._hideOrganicAndPaidMetrics=j;},getHideOrganicAndPaidMetrics:function i(){return this._hideOrganicAndPaidMetrics;}};f.exports=h;}),null);
  __d('PageContentTabGroupedColumnHeader.react',['cx','React','CSS','FixedDataTableSortableHeader.react','PageContentTabConstants','XUISelector.react','XUISelectorButton.react'],(function a(b,c,d,e,f,g,h){'use strict';var i,j,k=c('XUISelector.react').Option,l=c('PageContentTabConstants').COLUMNS,m=c('React').PropTypes;i=babelHelpers.inherits(n,c('React').Component);j=i&&i.prototype;function n(){var o,p;for(var q=arguments.length,r=Array(q),s=0;s<q;s++)r[s]=arguments[s];return p=(o=j.constructor).call.apply(o,[this].concat(r)),this.$PageContentTabGroupedColumnHeader3=function(t){this.props.changeSelectedColumns(t.value,this.props.initiallySelectedColumn);}.bind(this),this.$PageContentTabGroupedColumnHeader1=function(){return (c('React').createElement(c('XUISelectorButton.react'),{className:"_4ubz",key:'page_content_tab_grouped_column_header_selector_button'}));},this.$PageContentTabGroupedColumnHeader2=function(t,u){if(!this.props.sort.key)return;var v=u.target,w=v.parentNode,x="_4uby";if(c('CSS').hasClass(v,x)||c('CSS').hasClass(w,x)){var y=this.props.sort.key===this.props.initiallySelectedColumn,z=c('PageContentTabConstants').SORT_ORDER_ASC;if(y&&this.props.sort.order===c('PageContentTabConstants').SORT_ORDER_ASC)z=c('PageContentTabConstants').SORT_ORDER_DESC;this.props.onSortChanged({key:this.props.initiallySelectedColumn,order:z});}}.bind(this),p;}n.prototype.render=function(){var o=this.props.sort.key===this.props.initiallySelectedColumn,p=[this.$PageContentTabGroupedColumnHeader1()];this.props.columns.forEach(function(q){return p.push(c('React').createElement(k,{value:q.key,key:q.key},q.label));});return c('React').createElement(c('FixedDataTableSortableHeader.react'),{className:"_4uby"+(!this.props.sort.key?' '+"_k7t":''),sorting:o?this.props.sort.order:null,onClick:this.$PageContentTabGroupedColumnHeader2},c('React').createElement(c('XUISelector.react'),{initialValue:this.props.initiallySelectedColumn,onChange:this.$PageContentTabGroupedColumnHeader3},p));};n.propTypes={columns:m.arrayOf(m.shape({key:m.oneOf(Object.keys(l)).isRequired,label:m.string.isRequired})).isRequired,initiallySelectedColumn:m.oneOf(Object.keys(l)).isRequired,changeSelectedColumns:m.func.isRequired,onSortChanged:m.func.isRequired,sort:m.shape({key:m.oneOf(Object.keys(l)),order:m.oneOf([c('PageContentTabConstants').SORT_ORDER_ASC,c('PageContentTabConstants').SORT_ORDER_DESC])}).isRequired};f.exports=n;}),null);
  __d('PageContentTabLastModifiedColumn',['parseISODate'],(function a(b,c,d,e,f,g){'use strict';var h={getLastEditorName:function i(j){var k=this._getLastEditAction(j);return k.editor&&k.editor.name;},getLastEditDate:function i(j){var k=this._getLastEditAction(j);if(k.edit_time)return c('parseISODate')(k.edit_time);},_getLastEditAction:function i(j){var k=0,l={};(j||[]).forEach(function(m){var n=c('parseISODate')(m.edit_time);if(n.getTime()>k){l=m;k=n.getTime();}});return l;}};f.exports=h;}),null);
  __d('PageContentTabLogger',['invariant','BanzaiLogger','PublishingToolsSource','VideoCopyrightUtils','guid'],(function a(b,c,d,e,f,g,h){'use strict';var i=c('guid')(),j=null,k=null,l=c('PublishingToolsSource').UNKNOWN,m='PageContentTabLoggerConfig',n={init:function o(p,q,r){j=p;k=q;if(r)l=r;},hasPageID:function o(){return j!==null;},log:function o(p,q,r,s){j||h(0);r.event=p;r.tab=q;r.session_id=i;r.page_id=j;r.locationoftab=k;r.ref=l;r.private_post_count=c('VideoCopyrightUtils').getPrivatePostCountIfExists(r,s);c('BanzaiLogger').log(m,r);}};f.exports=n;}),null);
  __d('VideoCopyrightMatchActionTypes',[],(function a(b,c,d,e,f,g){'use strict';var h={ALLOW_MATCH:'ALLOW_MATCH',TRACK:'TRACK',ADD_TO_REPORT:'ADD_TO_REPORT',BLOCK:'BLOCK',UNBLOCK:'UNBLOCK',WRONG_MATCH:'WRONG_MATCH',UPDATE_NOTES:'UPDATE_NOTES',REMOVE_FROM_REPORT:'REMOVE_FROM_REPORT',REMOVE_FROM_ALLOWED:'REMOVE_FROM_ALLOWED',REMOVE_FROM_DASHBOARD:'REMOVE_FROM_DASHBOARD',SET_SEEN_STATUS:'SET_SEEN_STATUS',MARK_SEEN:'MARK_SEEN',MARK_UNSEEN:'MARK_UNSEEN',MONETIZE:'MONETIZE',WHITELIST_PAGE:'WHITELIST_PAGE',ACQUIRE_VIEWS:'ACQUIRE_VIEWS',RETRACT_REPORTED:'RETRACT_REPORTED',RETRACT_TAKEDOWN:'RETRACT_TAKEDOWN',REPORT_SENT:'REPORT_SENT',LIVE_REPORT_SENT:'LIVE_REPORT_SENT',FILTER_BY_REFERENCE_VIDEO:'FILTER_BY_REFERENCE_VIDEO',FILTER_BY_MATCH_OWNER:'FILTER_BY_MATCH_OWNER',TOUR_STARTED:'TOUR_STARTED',TOUR_COMPLETED:'TOUR_COMPLETED',TOUR_RESUMED:'TOUR_RESUMED',UPHOLD_CLAIM:'UPHOLD_CLAIM',RELEASE_CLAIM:'RELEASE_CLAIM',REQUEST_TAKEDOWN:'REQUEST_TAKEDOWN'};f.exports=h;}),null);
  __d('VideoCopyrightMonitoringType',['fbt'],(function a(b,c,d,e,f,g,h){var i={VIDEO_AND_AUDIO:{value:'VIDEO_AND_AUDIO',label:h._("Video & Audio")},VIDEO_ONLY:{value:'VIDEO_ONLY',label:h._("Video Only")},AUDIO_ONLY:{value:'AUDIO_ONLY',label:h._("Audio Only")}};f.exports=i;}),null);
  __d('VideoCopyrightPublisherType',['fbt'],(function a(b,c,d,e,f,g,h){var i={PAGE:{value:'page',label:h._("Page")},PERSON:{value:'person',label:h._("Person")}};f.exports=i;}),null);
  __d("XVideoCopyrightMatchDialogController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/video\/copyright\/match\/dialog\/",{id:{type:"Int",required:true},source:{type:"Enum",required:true,enumType:1},__asyncDialog:{type:"Int"}});}),null);
  __d('VideoCopyrightUtils',['fbt','invariant','ActorURI','AdsGenericFilter','AdsGenericFilterField','AdsGenericFilterFieldType','AdsGenericFilterOperator','AdsGenericFilterSet','AsyncDialog','AsyncRequest','CopyrightReferenceFileGraphFields','GraphAPIFieldUtils','LiveStatusType','PageContentTabConstants','PageContentTabLogger','PageContentTabLoggingEvents','VideoCopyrightDisputeGraphFields','VideoCopyrightGraphFields','VideoCopyrightGraphAPIVersion','VideoCopyrightMatchActionTypes','VideoCopyrightMatchAuditLogEntryGraphFields','VideoCopyrightMatchComparisonSource','VideoCopyrightMatchDataGraphFields','VideoCopyrightMatchGraphFields','VideoCopyrightMatchGraphFilterFields','VideoCopyrightMatchStatus','VideoCopyrightMonitoringType','VideoCopyrightPublisherType','VideoCopyrightRuleActionType','VideoCopyrightRuleGraphFields','VideoCopyrightVideoAssetGraphFields','VideoReferenceMatchGraphFields','XVideoCopyrightMatchDialogController','formatDate','parseISODate'],(function a(b,c,d,e,f,g,h,i){'use strict';var j=c('PageContentTabConstants').TABS,k=20,l=86400,m=3600,n=60,o=1000,p={GRAPH_API_VERSION:c('VideoCopyrightGraphAPIVersion').graph_api_version,DEFAULT_MONITORING_TYPE:c('VideoCopyrightMonitoringType').VIDEO_ONLY.value,DEFAULT_LIVE_MONITORING_TYPE:c('VideoCopyrightMonitoringType').VIDEO_AND_AUDIO.value,DEFAULT_PUBLISHER_TYPE:c('VideoCopyrightPublisherType').PAGE.value,DEFAULT_RULE_ID:'DEFAULT',formatNumber:function q(r){return r>=1e+06?Math.round(r/1e+06)+'M':r>=1000?Math.round(r/1000)+'K':r.toString();},getGraphAPIFields:function q(r){var s=[c('VideoCopyrightMatchGraphFields').MATCH_STATUS,c('VideoCopyrightMatchGraphFields').ACTIVE_MATCH_DATA_ID,c('VideoCopyrightMatchGraphFields').MATCHED_VIDEO_ASSET,c('VideoCopyrightMatchGraphFields').EXPIRATION_DAYS,c('GraphAPIFieldUtils').getFieldWithSubfields(c('VideoCopyrightMatchGraphFields').LAST_MODIFIED_USER,['name']),c('VideoCopyrightMatchGraphFields').LAST_MODIFIED_TIME,c('VideoCopyrightMatchGraphFields').ADDED_TO_DASHBOARD_TIME,c('VideoCopyrightMatchGraphFields').IS_VIEWED,c('VideoCopyrightMatchGraphFields').NOTES,c('VideoCopyrightMatchGraphFields').AUDIT_LOG,c('VideoCopyrightMatchGraphFields').APPLIED_ACTIONS,c('VideoCopyrightMatchGraphFields').ACTION_REQUIRING_MANUAL_REVIEW,c('VideoCopyrightMatchGraphFields').REVIEW_REPORT_ID];if(r.can_see_copyright_disputes_tab)s.push(c('VideoCopyrightMatchGraphFields').DISPUTE);if(r.use_match_containers)s.push(c('VideoCopyrightMatchGraphFields').MATCH_DATA);if(r.copyright_geo_actions_enabled)s.push(c('VideoCopyrightMatchGraphFields').OWNERSHIP_COUNTRIES);return s;},getDefaultMatchRule:function q(){var r={};r[c('VideoCopyrightRuleGraphFields').ID]=this.DEFAULT_RULE_ID;return r;},getMatchGraphFields:function q(){return [c('VideoCopyrightRuleGraphFields').ID,c('VideoCopyrightRuleGraphFields').NAME,c('VideoCopyrightRuleGraphFields').CONDITION_GROUPS,c('VideoCopyrightRuleGraphFields').CREATED_DATE,c('VideoCopyrightRuleGraphFields').CREATOR,c('VideoCopyrightRuleGraphFields').COPYRIGHTS_COUNT,c('VideoCopyrightRuleGraphFields').MATCHES_COUNT];},getDeletedVideoAsset:function q(){var r={};r[c('VideoCopyrightVideoAssetGraphFields').TITLE]=h._("Deleted");r[c('VideoCopyrightVideoAssetGraphFields').PUBLISHED_TIME]=0;r[c('VideoCopyrightVideoAssetGraphFields').THUMBNAIL_URL]='';r[c('VideoCopyrightVideoAssetGraphFields').DURATION_IN_SEC]=0;r[c('VideoCopyrightVideoAssetGraphFields').DESCRIPTION]='';r[c('VideoCopyrightVideoAssetGraphFields').OWNER_NAME]='';r[c('VideoCopyrightVideoAssetGraphFields').VIEW_COUNT]=0;r[c('VideoCopyrightVideoAssetGraphFields').IS_PRIVATE]=false;return r;},_getTabFromMatchStatus:function q(r,s){var t=s?s.new_mental_model_enabled:false;switch(r){case c('VideoCopyrightMatchStatus').REMOVED:return j.TAKEDOWNS;case c('VideoCopyrightMatchStatus').REPORTED_MATCH:return j.REPORTED;case c('VideoCopyrightMatchStatus').ALLOWED:return t?j.TRACKED:j.ALLOWED;case c('VideoCopyrightMatchStatus').ADDED_MATCH:return j.UNSENT_REPORTS;case c('VideoCopyrightMatchStatus').BLOCKED:return j.BLOCKED;case c('VideoCopyrightMatchStatus').ACQUIRED:return j.CLAIMED;case c('VideoCopyrightMatchStatus').TRACKED:return j.TRACKED;default:return t?j.MANUAL_REVIEW:j.NEW_MATCHES;}},logDataError:function q(r,s,t){var u=p._getTabFromMatchStatus(r.match_status,t);c('PageContentTabLogger').log(c('PageContentTabLoggingEvents').DATA_ERROR,u,{error:JSON.stringify(s),post_id:r.id});},logAPIError:function q(r,s,t,u){var v=p._getTabFromMatchStatus(r,u);c('PageContentTabLogger').log(c('PageContentTabLoggingEvents').API_ERROR,v,{error:s+' : '+JSON.stringify(t)});},isMajorityUnseen:function q(r){var s=0;r.forEach(function(t){if(t.is_viewed){s+=1;}else s-=1;});return s<0;},getPrivatePostCountIfExists:function q(r,s){if(r.event!==c('PageContentTabLoggingEvents').ACTION_TAKEN_MAIN_VIEW&&r.event!==c('PageContentTabLoggingEvents').ACTION_TAKEN_OVERLAY)return null;if(c('VideoCopyrightMatchActionTypes')[r.action]==null)return null;if(!s||s.length===0)return null;var t=s.filter(function(u){var v=u[c('VideoCopyrightMatchGraphFields').MATCHED_VIDEO_ASSET];return v&&v[c('VideoCopyrightVideoAssetGraphFields').IS_PRIVATE];});return t.length;},getMatchedOwnerFilter:function q(r){var s=new (c('AdsGenericFilterField'))(c('VideoCopyrightMatchGraphFilterFields').STATIC_MATCHED_OWNER_ID,c('AdsGenericFilterFieldType').STRING_SET),t=r[c('VideoCopyrightMatchGraphFields').MATCHED_VIDEO_ASSET],u=t[c('VideoCopyrightVideoAssetGraphFields').OWNER_NAME];if(u.length>k)u=u.substring(0,k)+'...';return new (c('AdsGenericFilterSet'))([new (c('AdsGenericFilter'))(s,c('AdsGenericFilterOperator').ALL,[t[c('VideoCopyrightVideoAssetGraphFields').ID],'"'+u+'"'])]);},getActiveMatchDataFromMatch:function q(r){var s=r[c('VideoCopyrightMatchGraphFields').MATCH_DATA],t=r[c('VideoCopyrightMatchGraphFields').ACTIVE_MATCH_DATA_ID],u=s.filter(function(v){return t==v.id;});if(u.length===1){return u[0];}else return s[0];},getReferenceVideoFilter:function q(r){var s=this.getActiveMatchDataFromMatch(r),t=new (c('AdsGenericFilterField'))(c('VideoCopyrightMatchGraphFilterFields').STATIC_REFERENCE_VIDEO_ID,c('AdsGenericFilterFieldType').STRING_SET),u=s[c('VideoCopyrightMatchDataGraphFields').REFERENCE_ASSET],v=u[c('VideoCopyrightVideoAssetGraphFields').TITLE],w=u[c('VideoCopyrightVideoAssetGraphFields').DESCRIPTION],x=u[c('VideoCopyrightVideoAssetGraphFields').PUBLISHED_TIME],y=v&&v.length?v:w;if(!y||!y.length){y=c('formatDate')(new Date(x*o),'M j, Y');}else if(y.length>k)y=y.substring(0,k)+'...';return new (c('AdsGenericFilterSet'))([new (c('AdsGenericFilter'))(t,c('AdsGenericFilterOperator').ALL,[u[c('VideoCopyrightVideoAssetGraphFields').ID],'"'+y+'"'])]);},getCopyrightInUnixDateFormat:function q(r,s){var t=r,u=t[c('VideoCopyrightGraphFields').REFERENCE_FILE],v=u[c('CopyrightReferenceFileGraphFields').PUBLISHED_TIME];v=c('parseISODate')(v);u[c('CopyrightReferenceFileGraphFields').PUBLISHED_TIME]=v.getTime()/1000;var w=u[c('CopyrightReferenceFileGraphFields').LIVE_STATUS]===c('LiveStatusType').IS_LIVE_BROADCAST,x=u[c('CopyrightReferenceFileGraphFields').ENCODING_STATUS],y=x&&x.video_status==='processing';if(s&&w&&y)u[c('CopyrightReferenceFileGraphFields').LIVE_STATUS]=c('LiveStatusType').WAS_LIVE_BROADCAST;return t;},openMatchComparisonDialog:function q(r,s){var t=c('ActorURI').create(c('XVideoCopyrightMatchDialogController').getURIBuilder().setInt('id',r).setEnum('source',c('VideoCopyrightMatchComparisonSource').DASHBOARD).getURI(),s);c('AsyncDialog').send(new (c('AsyncRequest'))(t));},sortableColumnToField:function q(r,s){var t=this.getActiveMatchDataFromMatch(s);switch(r){case c('PageContentTabConstants').COLUMNS.VIDEO_VIEWS:return s[c('VideoCopyrightMatchGraphFields').MATCHED_VIDEO_ASSET][c('VideoCopyrightVideoAssetGraphFields').VIEW_COUNT];case c('PageContentTabConstants').COLUMNS.OVERLAP:return t[c('VideoCopyrightMatchDataGraphFields').TOTAL_MATCH_DURATION];case c('PageContentTabConstants').COLUMNS.EXPIRES_DAYS:return s[c('VideoCopyrightMatchGraphFields').EXPIRATION_DAYS];case c('PageContentTabConstants').COLUMNS.REFERENCE_VIDEO:return t[c('VideoCopyrightMatchDataGraphFields').REFERENCE_ASSET][c('VideoCopyrightVideoAssetGraphFields').TITLE];case c('PageContentTabConstants').COLUMNS.LAST_MODIFIED_BY:return s[c('VideoCopyrightMatchGraphFields').LAST_MODIFIED_TIME];case c('PageContentTabConstants').COLUMNS.DATE_FOUND:return s[c('VideoCopyrightMatchGraphFields').ADDED_TO_DASHBOARD_TIME];}return null;},convertGraphAPIAssetToVideoCopyrightVideoMetadata:function q(r){if(!r)return null;var s=r[c('VideoCopyrightVideoAssetGraphFields').AD_BREAK_OFFSETS_IN_MS];return {id:r[c('VideoCopyrightVideoAssetGraphFields').ID],title:r[c('VideoCopyrightVideoAssetGraphFields').TITLE],durationInSec:r[c('VideoCopyrightVideoAssetGraphFields').DURATION_IN_SEC],width:r[c('VideoCopyrightVideoAssetGraphFields').WIDTH],height:r[c('VideoCopyrightVideoAssetGraphFields').HEIGHT],permalinkURL:r[c('VideoCopyrightVideoAssetGraphFields').PERMALINK_URL],thumbnailSrc:r[c('VideoCopyrightVideoAssetGraphFields').THUMBNAIL_URL],ownerPictureSrc:r[c('VideoCopyrightVideoAssetGraphFields').OWNER_PICTURE_URL],ownerPublicName:r[c('VideoCopyrightVideoAssetGraphFields').OWNER_NAME]||'',ownerProfileURL:r[c('VideoCopyrightVideoAssetGraphFields').OWNER_URL],publishedTime:r[c('VideoCopyrightVideoAssetGraphFields').PUBLISHED_TIME],isPrivate:r[c('VideoCopyrightVideoAssetGraphFields').IS_PRIVATE],description:r[c('VideoCopyrightVideoAssetGraphFields').DESCRIPTION],viewsCount:r[c('VideoCopyrightVideoAssetGraphFields').VIEW_COUNT],commentsCount:r[c('VideoCopyrightVideoAssetGraphFields').COMMENT_COUNT],sharesCount:r[c('VideoCopyrightVideoAssetGraphFields').SHARE_COUNT],followersCount:r[c('VideoCopyrightVideoAssetGraphFields').FOLLOWERS_COUNT],likesCount:r[c('VideoCopyrightVideoAssetGraphFields').LIKE_COUNT],liveStatus:r[c('VideoCopyrightVideoAssetGraphFields').LIVE_STATUS],privacyExplanation:r[c('VideoCopyrightVideoAssetGraphFields').PRIVACY_EXPLANATION],adBreakOffsets:s,containsAdBreaks:s&&s.length>0,monetizingOwnerCount:r[c('VideoCopyrightVideoAssetGraphFields').MONETIZING_OWNER_COUNT]};},convertGraphAPIAssetToReferenceFileMetadata:function q(r){if(!r)return null;return {id:r[c('CopyrightReferenceFileGraphFields').ID],title:r[c('CopyrightReferenceFileGraphFields').TITLE],durationInSec:r[c('CopyrightReferenceFileGraphFields').DURATION_IN_SEC],thumbnailSrc:r[c('CopyrightReferenceFileGraphFields').THUMBNAIL_URL],liveStatus:r[c('CopyrightReferenceFileGraphFields').LIVE_STATUS],isFingerprint:r[c('CopyrightReferenceFileGraphFields').CONTENT_TYPE]==='fingerprint',metadata:r[c('CopyrightReferenceFileGraphFields').METADATA],universalContentID:r[c('CopyrightReferenceFileGraphFields').UNIVERSAL_CONTENT_ID]};},convertGraphAPIAuditLogToVideoMetadata:function q(r){var s=[];r.forEach(function(t){s.push({userName:t[c('VideoCopyrightMatchAuditLogEntryGraphFields').USER_NAME],timestamp:t[c('VideoCopyrightMatchAuditLogEntryGraphFields').TIMESTAMP],matchState:t[c('VideoCopyrightMatchAuditLogEntryGraphFields').MATCH_STATE],appliedActions:t[c('VideoCopyrightMatchAuditLogEntryGraphFields').APPLIED_ACTIONS]||[]});});return s;},convertGraphAPIDisputeToMetadata:function q(r){return {disputeType:r[c('VideoCopyrightDisputeGraphFields').DISPUTE_TYPE],status:r[c('VideoCopyrightDisputeGraphFields').STATUS],expirationTime:r[c('VideoCopyrightDisputeGraphFields').EXPIRATION_TIME],timeCreated:r[c('VideoCopyrightDisputeGraphFields').TIME_CREATED],timeAppealed:r[c('VideoCopyrightDisputeGraphFields').TIME_APPEALED],timeUpdated:r[c('VideoCopyrightDisputeGraphFields').TIME_UPDATED],disputeFormData:r[c('VideoCopyrightDisputeGraphFields').DISPUTE_FORM_DATA],appealFormData:r[c('VideoCopyrightDisputeGraphFields').APPEAL_FORM_DATA]};},convertGraphAPIMatchToVideoCopyrightMatch:function q(r){var s=r[c('VideoCopyrightMatchGraphFields').MATCHED_VIDEO_ASSET],t=r[c('VideoCopyrightMatchGraphFields').LAST_MODIFIED_USER],u=r[c('VideoCopyrightMatchGraphFields').AUDIT_LOG],v=r[c('VideoCopyrightMatchGraphFields').DISPUTE];return {matchID:r[c('VideoCopyrightMatchGraphFields').ID],is_viewed:r[c('VideoCopyrightMatchGraphFields').IS_VIEWED],status:r[c('VideoCopyrightMatchGraphFields').MATCH_STATUS],expirationInDays:r[c('VideoCopyrightMatchGraphFields').EXPIRATION_DAYS],matchedVideoAsset:s?this.convertGraphAPIAssetToVideoCopyrightVideoMetadata(s):null,lastModifiedUserName:t?t.name:' ',lastModifiedTime:r[c('VideoCopyrightMatchGraphFields').LAST_MODIFIED_TIME],auditLog:u?this.convertGraphAPIAuditLogToVideoMetadata(u):null,notes:r[c('VideoCopyrightMatchGraphFields').NOTES],appliedActions:r[c('VideoCopyrightMatchGraphFields').APPLIED_ACTIONS]||[],dispute:v?this.convertGraphAPIDisputeToMetadata(v):null,actionRequiringManualReview:r[c('VideoCopyrightMatchGraphFields').ACTION_REQUIRING_MANUAL_REVIEW],matchData:this.convertGraphAPIMatchDataToMetadata(r),addedToDashboardTime:r[c('VideoCopyrightMatchGraphFields').ADDED_TO_DASHBOARD_TIME],reviewReportID:r[c('VideoCopyrightMatchGraphFields').REVIEW_REPORT_ID]};},convertGraphAPIReferenceHistoryToMetadata:function q(r){var s=[];r.forEach(function(t){s.push({timestamp:t[c('VideoCopyrightMatchAuditLogEntryGraphFields').TIMESTAMP],matchState:t[c('VideoCopyrightMatchAuditLogEntryGraphFields').MATCH_STATE]});});return s;},convertGraphAPIMatchToVideoReferenceMatch:function q(r){var s=r[c('VideoReferenceMatchGraphFields').MATCHED_REFERENCE_COPYRIGHT],t=r[c('VideoReferenceMatchGraphFields').REFERENCE_COPYRIGHT],u=r[c('VideoReferenceMatchGraphFields').MATCH_DATA],v=void 0;if(s){v=r[c('VideoReferenceMatchGraphFields').REFERENCE_OWNER_NAME];}else v=r[c('VideoReferenceMatchGraphFields').MATCHED_REFERENCE_OWNER_NAME];return {id:r[c('VideoReferenceMatchGraphFields').ID],conflictingOwnerName:v,history:this.convertGraphAPIReferenceHistoryToMetadata(r[c('VideoReferenceMatchGraphFields').MODIFICATION_HISTORY]),matchData:this.convertGraphAPIMatchDataToMetadataImpl(u),matchedAsset:s?this.convertGraphAPIAssetToReferenceFileMetadata(s[c('VideoCopyrightGraphFields').REFERENCE_FILE]):null,referenceAsset:t?this.convertGraphAPIAssetToReferenceFileMetadata(t[c('VideoCopyrightGraphFields').REFERENCE_FILE]):null};},convertGraphAPIMatchDataToMetadata:function q(r){var s=r[c('VideoCopyrightMatchGraphFields').MATCH_DATA],t=[];if(s&&s.length)s.forEach(function(u){var v=p.convertGraphAPIMatchDataToMetadataImpl(u);if(u[c('VideoCopyrightMatchDataGraphFields').ID]===r[c('VideoCopyrightMatchGraphFields').ACTIVE_MATCH_DATA_ID]){t.unshift(v);}else t.push(v);});return t;},convertGraphAPIMatchDataToMetadataImpl:function q(r){return {id:r[c('VideoCopyrightMatchDataGraphFields').ID],monitoringType:r[c('VideoCopyrightMatchDataGraphFields').MONITORING_TYPE],matchRule:r[c('VideoCopyrightMatchDataGraphFields').MATCH_RULE],matchedDurationInSec:r[c('VideoCopyrightMatchDataGraphFields').TOTAL_MATCH_DURATION],videoSegments:r[c('VideoCopyrightMatchDataGraphFields').VIDEO_MATCH_SEGMENTS],audioSegments:r[c('VideoCopyrightMatchDataGraphFields').AUDIO_MATCH_SEGMENTS],referenceAsset:this.convertGraphAPIAssetToReferenceFileMetadata(r[c('VideoCopyrightMatchDataGraphFields').REFERENCE_ASSET])};},getDisputeExpirationLabel:function q(r){var s=void 0,t=void 0,u=r-Date.now()/o;if(u<m){s=Math.ceil(u/n);t=s===1?'minute':'minutes';}else if(u<l){s=Math.ceil(u/m);t=s===1?'hour':'hours';}else{s=Math.ceil(u/l);t=s===1?'day':'days';}if(s<0){return null;}else return h._({"*":{"day":"{time before expiration} day","days":"{time before expiration} days","hour":"{time before expiration} hour","hours":"{time before expiration} hours","minute":"{time before expiration} minute","minutes":"{time before expiration} minutes"}},[h.param('time before expiration',s,[0]),h['enum'](t,{day:'day',days:'days',hour:'hour',hours:'hours',minute:'minute',minutes:'minutes'})]);},getAppliedActionLabel:function q(r){var s=r.indexOf(c('VideoCopyrightRuleActionType').BLOCK)!==-1,t=r.indexOf(c('VideoCopyrightRuleActionType').MONETIZE)!==-1,u=r.indexOf(c('VideoCopyrightRuleActionType').TRACK)!==-1;if(s){return h._("Blocked");}else if(t){return h._("Claim ad earnings");}else if(u){return h._("Tracked");}else return h._("Claimed");},getActionRequiringManualReviewLabel:function q(r){switch(r){case c('VideoCopyrightRuleActionType').BLOCK:return h._("Block not applied");case c('VideoCopyrightRuleActionType').MONETIZE:return h._("Claim ad earnings not applied");default:return h._("Manually review");}}};f.exports=p;}),null);
  __d('VideoPublishingStateIndicator.react',['cx','React','joinClasses','Tooltip.react','PublishingToolsWebdriverTestDataIDs'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.$VideoPublishingStateIndicator1=function(){'use strict';var l=c('joinClasses')(this.props.className,"_5yje"+(this.props.state==='expiring'?' '+"_5yjf":'')+(this.props.state==='expired'?' '+"_5yju":'')+(this.props.state==='published'?' '+"_5yjz":'')+(this.props.state==='scheduled'?' '+"_5yj_":'')+(this.props.state==='draft'?' '+"_5yk6":'')+(this.props.state==='mixed'?' '+"_5yk7":'')+(this.props.state==='live'?' '+"_23d9":'')+(this.props.state==='unpublished'?' '+"_23da":''));return l;};k.prototype.render=function(){'use strict';var l=this.$VideoPublishingStateIndicator1();return (c('React').createElement(c('Tooltip.react'),{tooltip:this.props.toolTip,'data-testid':c('PublishingToolsWebdriverTestDataIDs').PUBLISHING_STATE_INDICATOR,position:this.props.toolTipPosition,alignH:this.props.toolTipAlignH},c('React').createElement('span',{className:l,onMouseEnter:this.props.onHover})));};function k(){'use strict';i.apply(this,arguments);}k.defaultProps={toolTipAlignH:'left',toolTipPosition:'left'};f.exports=k;}),null);
  __d('VideoPublishingStateIndicatorUtils',['fbt','VideoBroadcastAPIStatus','VideoPublishingState','formatDate','parseISODate'],(function a(b,c,d,e,f,g,h){'use strict';var i=1000,j={_getTime:function k(l){if(l)if(typeof l==='string'){return c('parseISODate')(l).getTime()/i;}else if(typeof l==='number')return l;return 0;},_getCurrentTime:function k(){return Math.floor(Date.now()/i);},_getDate:function k(l){return new Date(this._getTime(l)*i);},_getScheduledToolTip:function k(l){return this._getToolTip(c('VideoPublishingState').SCHEDULED,l.isVideoAsset&&l.postsCount>1,l.isVideoAsset?l.postsStatus?l.postsStatus.scheduled_posts_count:l.postsCount:1,l.publishTime);},_getDraftToolTip:function k(l){return this._getToolTip(c('VideoPublishingState').DRAFT,l.isVideoAsset&&l.postsCount>1,l.isVideoAsset?l.postsStatus?l.postsStatus.draft_posts_count:l.postsCount:1,l.time||l.creationTime);},_getPublishedToolTip:function k(l){return this._getToolTip(c('VideoPublishingState').PUBLISHED,l.isVideoAsset&&l.postsCount>1,l.isVideoAsset?l.postsStatus?l.postsStatus.published_posts_count:l.postsCount:1,l.publishTime);},_getExpiredToolTip:function k(l){return this._getToolTip(c('VideoPublishingState').EXPIRED,l.isVideoAsset&&l.postsCount>1,l.isVideoAsset?l.postsStatus?l.postsStatus.expired_posts_count:l.postsCount:1,l.expirationTime);},_getExpiringToolTip:function k(l){return this._getToolTip(c('VideoPublishingState').EXPIRING,l.isVideoAsset&&l.postsCount>1,l.isVideoAsset?l.postsStatus?l.postsStatus.expiring_posts_count:l.postsCount:1,l.expirationTime);},_getToolTip:function k(l,m,n,o){if(m){return h._({" post ":{"scheduled":"{total_posts_in_state} post Scheduled","expired":"{total_posts_in_state} post Expired","expiring":"{total_posts_in_state} post Expiring","draft":"{total_posts_in_state} post Saved as Draft","published":"{total_posts_in_state} post Published"}," posts ":{"scheduled":"{total_posts_in_state} posts Scheduled","expired":"{total_posts_in_state} posts Expired","expiring":"{total_posts_in_state} posts Expiring","draft":"{total_posts_in_state} posts Saved as Draft","published":"{total_posts_in_state} posts Published"}},[h.param('total_posts_in_state',n),h['enum'](n===1?' post ':' posts ',{' post ':' post ',' posts ':' posts '}),h['enum'](l,{scheduled:'Scheduled',expired:'Expired',expiring:'Expiring',draft:'Saved as Draft',published:'Published'})]);}else{var p=this._getDate(o);return h._({"scheduled":"Scheduled for {date} at {time}","expired":"Expired on {date} at {time}","expiring":"Expiring on {date} at {time}","draft":"Saved as Draft on {date} at {time}","published":"Published on {date} at {time}"},[h['enum'](l,{scheduled:'Scheduled for ',expired:'Expired on ',expiring:'Expiring on ',draft:'Saved as Draft on ',published:'Published on '}),h.param('date',c('formatDate')(p,'M d, Y')),h.param('time',c('formatDate')(p,'g:iA'))]);}},_getMixedToolTip:function k(l){var m='',n=l.postsStatus.published_posts_count;if(n)m=this._getPublishedToolTip(l);var o=l.postsStatus.draft_posts_count;if(o)m=m?m+'\n '+this._getDraftToolTip(l):this._getDraftToolTip(l);var p=l.postsStatus.scheduled_posts_count;if(p)m=m?m+'\n '+this._getScheduledToolTip(l):this._getScheduledToolTip(l);var q=l.postsStatus.expiring_posts_count;if(q)m=m?m+'\n '+this._getExpiringToolTip(l):this._getExpiringToolTip(l);var r=l.postsStatus.expired_posts_count;if(r)m=m?m+'\n '+this._getExpiredToolTip(l):this._getExpiredToolTip(l);return m;},getStateToolTip:function k(l,m){switch(l){case c('VideoPublishingState').PUBLISHED:return this._getPublishedToolTip(m);case c('VideoPublishingState').SCHEDULED:return this._getScheduledToolTip(m);case c('VideoPublishingState').EXPIRING:return this._getExpiringToolTip(m);case c('VideoPublishingState').EXPIRED:return this._getExpiredToolTip(m);case c('VideoPublishingState').DRAFT:return this._getDraftToolTip(m);case c('VideoPublishingState').MIXED:return this._getMixedToolTip(m);default:return '';}},getState:function k(l){if(l.liveStatus)switch(l.liveStatus){case c('VideoBroadcastAPIStatus').SCHEDULED_UNPUBLISHED:case c('VideoBroadcastAPIStatus').SCHEDULED_LIVE:return c('VideoPublishingState').SCHEDULED;case c('VideoBroadcastAPIStatus').SCHEDULED_EXPIRED:return c('VideoPublishingState').EXPIRED;}if(l.isVideoAsset&&l.postsStatus){return l.postsStatus.state;}else{var m=this._getTime(l.expirationTime),n=this._getTime(l.publishTime);if(m){if(m<this._getCurrentTime()){return c('VideoPublishingState').EXPIRED;}else return c('VideoPublishingState').EXPIRING;}else if(l.isDraft){return c('VideoPublishingState').DRAFT;}else if(n)if(n<this._getCurrentTime()){return c('VideoPublishingState').PUBLISHED;}else return c('VideoPublishingState').SCHEDULED;}return c('VideoPublishingState').UNKNOWN;},_getVideoAssetStateToolTip:function k(l){switch(l){case c('VideoPublishingState').SCHEDULED:return h._("Scheduled");case c('VideoPublishingState').DRAFT:return h._("Draft");case c('VideoPublishingState').EXPIRED:return h._("Expired");case c('VideoPublishingState').EXPIRING:return h._("Expiring");case c('VideoPublishingState').PUBLISHED:return h._("Published");default:return '';}}};f.exports=j;}),null);
  __d("XContentTabCuratedCollectionViewDialogController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/curated_collection\/view\/dialog\/",{collection_id:{type:"FBID",required:true},view_in_newsfeed:{type:"Bool",defaultValue:false},__asyncDialog:{type:"Int"}});}),null);
  __d('PageContentTabCellRenderers',['cx','fbt','ix','AsyncRequest','ContentTabPageInfo','CuratedCollectionNameSitevar','FixedDataTableSortableHeader.react','Image.react','LineClamp.react','NumberFormat','PageContentTabConstants','PageContentTabGroupedColumnHeader.react','PageContentTabLastModifiedColumn','PageContentTabLoadingDialog','PageContentTabLogger','PageContentTabLoggingEvents','React','Tooltip','Tooltip.react','VideoPublishingStateIndicator.react','VideoPublishingStateIndicatorUtils','XContentTabCuratedCollectionViewDialogController','XUIButton.react','XUIDateTimePickerUtils','emptyFunction','fbglyph','formatDate','joinClasses','parseISODate'],(function a(b,c,d,e,f,g,h,i,j){'use strict';var k=c('PageContentTabConstants').TABS,l={renderGroupedColumnHeader:function m(n,o,p){return (c('React').createElement(c('PageContentTabGroupedColumnHeader.react'),{columns:p.columnsInGroup,initiallySelectedColumn:o,changeSelectedColumns:p.changeSelectedColumns,onSortChanged:p.onSortChanged,sort:p.sort}));},renderSortableHeader:function m(n,o,p){return l.renderHeaderWithTooltip(n,o,p,true);},renderHeaderWithClassName:function m(n,o,p,q){return l.renderHeaderWithTooltip(n,o,p,true,'',q);},renderHeaderWithTooltip:function m(n,o,p,q,r,s){var t=p.sort.key===o,u=p.initialSortOrder||c('PageContentTabConstants').SORT_ORDER_ASC,v=p.sort.order||p.initialSortOrder,w=null;if(r)w=c('React').createElement(c('Tooltip.react'),{tooltip:r},c('React').createElement(c('Image.react'),{src:j("28631"),className:"_541d"}));return q?c('React').createElement(c('FixedDataTableSortableHeader.react'),{className:c('joinClasses')(s,"_2k53"),style:{width:p.width+'px'},onClick:function x(){var y=u;if(t&&v===y)y=v===c('PageContentTabConstants').SORT_ORDER_ASC?c('PageContentTabConstants').SORT_ORDER_DESC:c('PageContentTabConstants').SORT_ORDER_ASC;p.onSortChanged({key:o,order:y});},sorting:t?v:null},c('React').createElement('span',{className:(w!==null?"_2k55":'')+(' '+"_2k57")},n),w):c('React').createElement('div',{className:"_2k53",style:{width:p.width+'px'}},c('React').createElement('span',{className:(w!==null?"_2k55":'')+(' '+"_2k57")},n),w);},renderHeaderWithSortingArrow:function m(n){return (c('React').createElement(c('FixedDataTableSortableHeader.react'),{className:"_3i6j",onClick:c('emptyFunction'),sorting:c('PageContentTabConstants').SORT_ORDER_DESC},n));},renderPublishingStateIndicator:function m(n,o){var p=c('VideoPublishingStateIndicatorUtils').getState(n);return (c('React').createElement(c('VideoPublishingStateIndicator.react'),{state:p,toolTip:c('VideoPublishingStateIndicatorUtils').getStateToolTip(p,n),onHover:function q(){c('PageContentTabLogger').log(c('PageContentTabLoggingEvents').POST_STATE_INDICATOR_HOVERED,k.VIDEOS,{page_id:o.page_id});}}));},renderLastModifiedCell:function m(n){var o=null,p=null;if(!n.edit_actions||!n.edit_actions.length){p=c('parseISODate')(n.modified_time);}else{o=c('PageContentTabLastModifiedColumn').getLastEditorName(n.edit_actions);p=c('PageContentTabLastModifiedColumn').getLastEditDate(n.edit_actions);}var q=null,r=null;if(p){r=l._renderDateLabel(p.toISOString());q=c('React').createElement('div',{className:"_477n"},c('React').createElement(c('LineClamp.react'),{lines:1},r));}return (c('React').createElement('div',{'data-hover':'tooltip','data-tooltip-content':r},q,c('React').createElement('div',{className:"_1rus"},o)));},renderDateCreatedCell:function m(n){return l.renderDateCreatedWithAdminDataCell(n,true);},renderDateCreatedWithAdminDataCell:function m(n,o){var p=n.time?c('parseISODate')(n.time):null,q=null,r=null;if(p){r=l._renderDateLabel(n.time);q=c('React').createElement('div',{className:"_477n"},c('React').createElement(c('LineClamp.react'),{lines:1},r));}var s=null;if(o)s=c('React').createElement('div',{className:"_1rus"},n.admin);return (c('React').createElement('div',null,c('React').createElement(c('LineClamp.react'),{lines:2},q,s)));},renderVideoAssetStateIndicator:function m(n){return (c('React').createElement(c('VideoPublishingStateIndicator.react'),{state:n,toolTip:c('VideoPublishingStateIndicatorUtils')._getVideoAssetStateToolTip(n)}));},renderCellWithNLinesOfText:function m(n,o,p,q){return (c('React').createElement('div',{'data-hover':'tooltip','data-tooltip-content':p,className:"_1i32"},c('React').createElement(c('LineClamp.react'),{lines:o,lineHeight:q!==null?q:undefined},c('React').createElement('div',null,' ',n,' '))));},renderCellWithNumber:function m(n){var o=c('NumberFormat').formatInteger(n);return c('React').createElement('span',null,o);},renderVideoLibraryViews:function m(n,o){var p=this.renderCellWithNumber(n);if(o&&o>1){var q=i._({"*":"{number}"},[i.param('number',o,[0])]),r=i._({"*":"Video used in {number} posts"},[i.param('number',o,[0])]);return (c('React').createElement('div',{className:"_147g"},c('React').createElement(c('LineClamp.react'),{lines:2},c('React').createElement('div',null,p),c('React').createElement(c('Image.react'),{'aria-label':r,'data-hover':'tooltip','data-tooltip-content':r,'data-tooltip-position':'left',className:"_33op",src:j("142658")}),c('React').createElement('span',{className:"_33or"},q))));}else return c('React').createElement('div',{className:"_147g"},p);},renderCollectionPostTitleAndLede:function m(n,o){return (c('React').createElement('div',{className:"_1i32"},c('React').createElement(c('LineClamp.react'),{lines:1,fitHeightToShorterText:true},n),c('React').createElement('div',{className:"_38se"},c('React').createElement(c('LineClamp.react'),{lines:2,fitHeightToShorterText:true},o))));},renderCollectionViewButton:function m(n){return (c('React').createElement('div',{className:"_2pi8"},c('React').createElement(c('XUIButton.react'),babelHelpers['extends']({image:c('React').createElement(c('Image.react'),{src:j("113693")}),label:'View Newsfeed',labelIsHidden:true,onClick:function o(event){var p=c('XContentTabCuratedCollectionViewDialogController').getURIBuilder().setFBID('collection_id',n).setBool('view_in_newsfeed',true).getURI();c('PageContentTabLoadingDialog').show();new (c('AsyncRequest'))(p).exec().done(function(q){c('PageContentTabLoadingDialog').hide();},function(q){c('PageContentTabLoadingDialog').hide();});}},c('Tooltip').propsFor(i._("View Newsfeed Story")))),c('React').createElement(c('XUIButton.react'),babelHelpers['extends']({image:c('React').createElement(c('Image.react'),{src:j("113584")}),label:'View Stories',labelIsHidden:true,onClick:function o(event){var p=c('XContentTabCuratedCollectionViewDialogController').getURIBuilder().setFBID('collection_id',n).getURI();c('PageContentTabLoadingDialog').show();new (c('AsyncRequest'))(p).exec().done(function(q){c('PageContentTabLoadingDialog').hide();},function(q){c('PageContentTabLoadingDialog').hide();});}},c('Tooltip').propsFor('View '+c('CuratedCollectionNameSitevar').plural)))));},renderDateCell:function m(n,o){if(!n)return c('React').createElement('div',null);var p=l._renderDateLabel(n);return (c('React').createElement('div',{'data-hover':o?'':'tooltip','data-tooltip-content':p},c('React').createElement(c('LineClamp.react'),{lines:1},p)));},_renderDateLabel:function m(n){var o=c('parseISODate')(n),p=c('XUIDateTimePickerUtils').offsetDate(o,o.getTimezoneOffset()/60*-1,true),q=c('XUIDateTimePickerUtils').getOffsetUIDate(p,c('ContentTabPageInfo').accountGmtOffsetSeconds/60),r=c('formatDate')(q,'M j, Y'),s=c('formatDate')(q,'g:ia');return i._("{date} at {time}",[i.param('date',r),i.param('time',s)]);}};f.exports=l;}),null);
  __d('VideoAssetPostsTable.react',['cx','fbt','ContentTabPageInfo','FixedDataTable.react','FixedDataTableColumn.react','Image.react','LeftRight.react','LineClamp.react','PageContentTabCellRenderers','React','VideoPublishingStateIndicator.react','VideoPublishingStateIndicatorUtils','XUICheckboxInput.react','XUIDateTimePickerUtils','XUIGrayText.react','formatDate','joinClasses','parseISODate'],(function a(b,c,d,e,f,g,h,i){var j,k,l=20,m=435,n=275,o=80,p=140,q=28,r=55,s=26,t=7000,u=1000;j=babelHelpers.inherits(v,c('React').Component);k=j&&j.prototype;v.prototype.$VideoAssetPostsTable1=function(){'use strict';return this.props.organicPostsByAsset.reduce(function(w,x){return w.concat(x.posts);},[]);};v.prototype.$VideoAssetPostsTable2=function(w){'use strict';var x=this.$VideoAssetPostsTable1()[w],y=x.title?x.title+' ':'',z=x.description?x.description:'',aa=x.isPublished?x.createdTime:x.schedulePublishTime?x.schedulePublishTime:null;return {video:{text:y+z,img:x.thumbnailUrl,expirationTime:x.expirationTime?x.expirationTime:null,publishTime:aa,isDraft:!x.isPublished&&!aa,creationTime:x.createdTime},views:x.viewsCount,time:new Date(x.createdTime*u).toISOString(),selected:this.props.selectedOrganicPosts.indexOf(x)>=0,showPostStateIndicator:this.props.showPostStateIndicator};};v.prototype.$VideoAssetPostsTable3=function(w,x){var y,z=this;'use strict';if(w==='profile'){return {cellRenderer:function aa(ba){if(!ba)return c('React').createElement('div',null);return (c('React').createElement('div',null,c('React').createElement(c('Image.react'),{src:ba.img,className:"_16fx"}),c('React').createElement('div',{className:"_16fy",'data-tooltip-content':ba.text},c('React').createElement(c('LineClamp.react'),{lines:2},c('React').createElement('div',{className:"_16fz"},ba.text)))));},key:'video',label:i._("Your Posts"),width:m};}else if(w==='summary'){return {cellRenderer:function aa(ba){if(!ba)return c('React').createElement('div',null);return (c('React').createElement('div',null,c('React').createElement('div',{className:"_16fy",'data-tooltip-content':ba.text},c('React').createElement('div',{className:"_1tq2"},ba.text))));},key:'video',label:i._("Your Posts"),width:n};}else if(w==='views'){return {cellRenderer:function aa(ba){return c('PageContentTabCellRenderers').renderCellWithNumber(ba);},key:'views',width:o,label:i._("Views")};}else if(w==='dateCreated'){var y=function(){var aa=z;return {v:{cellRenderer:function ba(ca,da,ea){if(x&&ea.video){var fa=ea.video,ga=c('VideoPublishingStateIndicatorUtils').getState(fa);return (c('React').createElement(c('LeftRight.react'),{direction:c('LeftRight.react').DIRECTION.left,className:"_3g5l"},c('React').createElement(c('VideoPublishingStateIndicator.react'),{state:ga,toolTip:c('VideoPublishingStateIndicatorUtils').getStateToolTip(ga,fa)}),aa.renderDateCell(ca)));}else return aa.renderDateCell(ca);},width:p,key:'time',headerRenderer:function ba(ca,da,ea){var fa=x?"_3-9b":'';return (c('React').createElement('span',{className:fa},ca));},label:i._("Date Created")}};}();if(typeof y==="object")return y.v;}};v.prototype.renderDateCell=function(w){'use strict';if(!w)return c('React').createElement('div',null);var x=c('parseISODate')(w),y=c('XUIDateTimePickerUtils').offsetDate(x,x.getTimezoneOffset()/60*-1,true),z=c('XUIDateTimePickerUtils').getOffsetUIDate(y,c('ContentTabPageInfo').accountGmtOffsetSeconds/60),aa=c('formatDate')(z,'M j, Y'),ba=c('formatDate')(z,'g:ia');return (c('React').createElement('div',null,c('React').createElement(c('LineClamp.react'),{lines:1},c('React').createElement('span',null,aa),' ',c('React').createElement(c('XUIGrayText.react'),{size:'small'},ba))));};v.prototype.$VideoAssetPostsTable4=function(event){'use strict';var w=this.$VideoAssetPostsTable1(),x=Number(event.target.value),y=w[x],z=this.props.selectedOrganicPosts,aa=void 0;if(event.target.checked){aa=z.concat(y);}else{var ba=z.indexOf(y);aa=z.slice(0);aa.splice(ba,1);}this.props.onPostSelectionChange(aa);};v.prototype.$VideoAssetPostsTable5=function(){'use strict';var w=this.props.columns.map(function(x){return this.$VideoAssetPostsTable3(x,this.props.showPostStateIndicator);}.bind(this));if(this.props.allowRowSelection)w.unshift({cellRenderer:function(x,y,z,aa){return (c('React').createElement('div',{className:"_3zpx"},c('React').createElement(c('XUICheckboxInput.react'),{value:aa,checked:x,onChange:this.$VideoAssetPostsTable4.bind(this)})));}.bind(this),width:l,key:'selected'});return w;};v.prototype.$VideoAssetPostsTable6=function(){'use strict';var w=this.$VideoAssetPostsTable5();return w.map(function(x){return (c('React').createElement(c('FixedDataTableColumn.react'),{width:x.width,key:x.key,dataKey:x.key,label:x.label,cellRenderer:x.cellRenderer,headerRenderer:x.headerRenderer}));});};v.prototype.$VideoAssetPostsTable7=function(){'use strict';return "_16f-";};v.prototype.$VideoAssetPostsTable8=function(){'use strict';return this.props.columns.indexOf('profile')>=0?r:s;};v.prototype.$VideoAssetPostsTable9=function(){'use strict';return this.props.hideHeader?0:q;};v.prototype.render=function(){'use strict';var w=this.$VideoAssetPostsTable5().reduce(function(y,z){return y+z.width;},0),x=this.$VideoAssetPostsTable8();return (c('React').createElement('div',{className:c('joinClasses')(this.props.className,"_16g2"+(this.props.hideHeader?' '+"_16g3":'')+(x===s?' '+"_16g4":'')+(!!this.props.onRowClick?' '+"_16g5":''))},c('React').createElement(c('FixedDataTable.react'),{width:w,onRowClick:this.props.onRowClick,rowsCount:this.$VideoAssetPostsTable1().length,rowGetter:this.$VideoAssetPostsTable2.bind(this),rowClassNameGetter:this.$VideoAssetPostsTable7.bind(this),headerHeight:this.$VideoAssetPostsTable9(),rowHeight:x,maxHeight:t},this.$VideoAssetPostsTable6())));};function v(){'use strict';j.apply(this,arguments);}v.defaultProps={hideHeader:false,allowRowSelection:false,selectedOrganicPosts:[],showPostStateIndicator:false};f.exports=v;}),null);
  __d('VideoAssetPostsSelection.react',['cx','fbt','React','VideoAssetPostsTable.react','XUIGrayText.react','XUIText.react'],(function a(b,c,d,e,f,g,h,i){var j,k,l=' \u25B4',m=' \u25BE';j=babelHelpers.inherits(n,c('React').Component);k=j&&j.prototype;function n(o){'use strict';k.constructor.call(this,o);this.state={showPostsTable:false};}n.prototype.$VideoAssetPostsSelection1=function(){'use strict';return this.props.organicPostsByAsset.reduce(function(o,p){return o+p.posts.length;},0);};n.prototype.render=function(){'use strict';var o=void 0,p=void 0,q=this.$VideoAssetPostsSelection1(),r=void 0;if(this.state.showPostsTable){o=c('React').createElement(c('VideoAssetPostsTable.react'),{className:"_3-8w",organicPostsByAsset:this.props.organicPostsByAsset,selectedOrganicPosts:this.props.selectedOrganicPosts,onPostSelectionChange:this.props.onPostSelectionChange,columns:['summary','dateCreated'],hideHeader:true,allowRowSelection:true});p=c('React').createElement('a',{onClick:function(){return this.setState({showPostsTable:false});}.bind(this),role:'button',tabIndex:'0'},c('React').createElement(c('XUIText.react'),{size:'small'},i._("Hide {totalPostsCount} Posts",[i.param('totalPostsCount',q)])),c('React').createElement(c('XUIText.react'),{size:'small'},m));if(this.props.tableCaption)r=c('React').createElement(c('XUIGrayText.react'),{className:"_3-8x",shade:'light',size:'small',display:'block'},this.props.tableCaption);}else p=c('React').createElement('a',{onClick:function(){return this.setState({showPostsTable:true});}.bind(this),role:'button',tabIndex:'0'},c('React').createElement(c('XUIText.react'),{size:'small'},i._("Show {totalPostsCount} Posts",[i.param('totalPostsCount',q)])),c('React').createElement(c('XUIText.react'),{size:'large'},l));return (c('React').createElement('div',{className:this.props.className},p,o,r));};f.exports=n;}),null);
  __d('VideoAssetDeleteConfirmationDialog.react',['cx','fbt','InputLabel.react','Link.react','React','Set','VideoAssetPostsSelection.react','XUICheckboxInput.react','VideoUtils','XUIDialog.react','XUIDialogBody.react','XUIDialogButton.react','XUIDialogFooter.react','XUIDialogTitle.react','XUIGrayText.react','XUINotice.react','XUIText.react','PublishingToolsWebdriverTestDataIDs'],(function a(b,c,d,e,f,g,h,i){var j,k;j=babelHelpers.inherits(l,c('React').Component);k=j&&j.prototype;function l(m){'use strict';k.constructor.call(this,m);var n=this.$VideoAssetDeleteConfirmationDialog1(),o=this.props.selectedOrganicPosts||n;this.state={selectedOrganicPosts:o,deleteAllOwnedPosts:o.length===n.length};}l.prototype.$VideoAssetDeleteConfirmationDialog2=function(){'use strict';var m=new (c('Set'))();this.state.selectedOrganicPosts.forEach(function(n){m.add(n.videoAssetID);});return m.size;};l.prototype.$VideoAssetDeleteConfirmationDialog3=function(){'use strict';return this.props.organicPostsByAsset.reduce(function(m,n){return m+n.posts.length;},0);};l.prototype.$VideoAssetDeleteConfirmationDialog1=function(){'use strict';return this.props.organicPostsByAsset.reduce(function(m,n){return m.concat(n.posts);},[]);};l.prototype.$VideoAssetDeleteConfirmationDialog4=function(){'use strict';this.props.onDelete(this.state.selectedOrganicPosts);};l.prototype.$VideoAssetDeleteConfirmationDialog5=function(){'use strict';this.props.onExpire(this.state.selectedOrganicPosts);};l.prototype.$VideoAssetDeleteConfirmationDialog6=function(m){'use strict';this.setState({selectedOrganicPosts:m,deleteAllOwnedPosts:this.$VideoAssetDeleteConfirmationDialog1().length===m.length});};l.prototype.$VideoAssetDeleteConfirmationDialog7=function(){'use strict';var m=this.$VideoAssetDeleteConfirmationDialog3();if(m>1){return this.$VideoAssetDeleteConfirmationDialog8();}else return this.$VideoAssetDeleteConfirmationDialog9();};l.prototype.$VideoAssetDeleteConfirmationDialog8=function(){'use strict';var m=this.props.organicPostsByAsset,n=this.state.selectedOrganicPosts,o=this.$VideoAssetDeleteConfirmationDialog2();return (c('React').createElement('div',null,c('React').createElement(c('XUIGrayText.react'),{className:"_3-95",shade:'medium',size:'medium',display:'block'},i._({"s":{"s":"Your post using this video will be permanently deleted","p":"Your post using these videos will be permanently deleted"},"p":{"s":"Your posts using this video will be permanently deleted","p":"Your posts using these videos will be permanently deleted"}},[i['enum'](n.length===1?'s':'p',{s:'post',p:'posts'}),i['enum'](o===1?'s':'p',{s:'this video',p:'these videos'})])),c('React').createElement(c('VideoAssetPostsSelection.react'),{organicPostsByAsset:m,selectedOrganicPosts:n,tableCaption:i._("Only checked posts will be deleted"),onPostSelectionChange:this.$VideoAssetDeleteConfirmationDialog6.bind(this)}),this.$VideoAssetDeleteConfirmationDialog10(),this.$VideoAssetDeleteConfirmationDialog11(),c('React').createElement(c('XUIGrayText.react'),{className:"_3-8-",shade:'light',size:'small',display:'block'},i._("If you want to preserve the insights for these posts, you can expire them instead."),' ',this.$VideoAssetDeleteConfirmationDialog12())));};l.prototype.$VideoAssetDeleteConfirmationDialog12=function(){'use strict';var m=null;if(this.props.showCrosspostingHelpCenter)m=c('React').createElement(c('Link.react'),{href:'/business/help/457328234477362',target:'_blank',className:"_50f3"},i._("Learn more"));return m;};l.prototype.$VideoAssetDeleteConfirmationDialog10=function(){'use strict';if(!this.props.selectedOrganicPosts)return null;var m=this.$VideoAssetDeleteConfirmationDialog3();if(m===1)return null;var n=this.$VideoAssetDeleteConfirmationDialog2();return (c('React').createElement(c('InputLabel.react'),{className:"_3-8y",onChange:function(event){this.setState({deleteAllOwnedPosts:event.target.checked,selectedOrganicPosts:event.target.checked?this.$VideoAssetDeleteConfirmationDialog1():this.props.selectedOrganicPosts||[]});}.bind(this)},c('React').createElement(c('XUICheckboxInput.react'),{checked:this.state.deleteAllOwnedPosts}),c('React').createElement('label',null,c('React').createElement(c('XUIText.react'),{shade:'light',size:'medium',display:'block',weight:'normal'},i._({"s":"Delete all {count} of your posts using this video","p":"Delete all {count} of your posts using these videos"},[i.param('count',m),i['enum'](n===1?'s':'p',{s:'this video',p:'these videos'})])))));};l.prototype.$VideoAssetDeleteConfirmationDialog9=function(){'use strict';return (c('React').createElement('div',null,c('React').createElement(c('XUIText.react'),{className:"_3-95",shade:'light',size:'medium',display:'block'},i._("This post will be permanently deleted.")),this.$VideoAssetDeleteConfirmationDialog11(),c('React').createElement(c('XUIGrayText.react'),{className:"_3-8-",size:'small',display:'block'},i._("If you want to preserve the insights for this post, you can expire it instead.")),this.$VideoAssetDeleteConfirmationDialog12()));};l.prototype.$VideoAssetDeleteConfirmationDialog13=function(){'use strict';var m=this.props.selectedOrganicPosts?this.props.selectedOrganicPosts.length:0,n=this.$VideoAssetDeleteConfirmationDialog3();if(n===1||m===1){return i._("Delete Post?");}else if(m>1){return i._("Delete Posts?");}else if(this.props.organicPostsByAsset.length>1){return i._("Delete Videos?");}else return i._("Delete Video?");};l.prototype.$VideoAssetDeleteConfirmationDialog14=function(m){'use strict';var n=m.selectedVideosCrosspostsCount,o=m.selectedVideosCount;if(n===1){return i._("This video is used by another Page in one post. That post will be removed.");}else if(n>1)if(o===1){return i._("This video is used by other Pages in {num_deleted_cross_posts} posts. Those posts will be removed.",[i.param('num_deleted_cross_posts',n)]);}else return i._("These videos are used by other Pages in {num_deleted_cross_posts} posts. Those posts will be removed.",[i.param('num_deleted_cross_posts',n)]);return null;};l.prototype.$VideoAssetDeleteConfirmationDialog11=function(){'use strict';if(!this.props.canDeleteCrosspostedVideos)return null;var m=c('VideoUtils').getSelectedVideosAndCrossPostsCount(this.props.pageID,this.props.organicPostsByAsset,this.state.selectedOrganicPosts),n=m.selectedVideosCrosspostsCount;if(n===0)return null;return (c('React').createElement('div',null,c('React').createElement(c('XUINotice.react'),{className:"_3-8o",use:'notify'},this.$VideoAssetDeleteConfirmationDialog14(m))));};l.prototype.renderExpireButton=function(){'use strict';if(!this.props.canExpireVideos)return null;return (c('React').createElement(c('XUIDialogButton.react'),{label:i._("Expire{dot dot dot (for truncation)}",[i.param('dot dot dot (for truncation)','...')]),action:'cancel',size:'large',use:'default',onClick:this.$VideoAssetDeleteConfirmationDialog5.bind(this)}));};l.prototype.render=function(){'use strict';return (c('React').createElement(c('XUIDialog.react'),{width:450,shown:true,fixedTopPosition:100,hideOnEscape:true},c('React').createElement(c('XUIDialogTitle.react'),null,this.$VideoAssetDeleteConfirmationDialog13()),c('React').createElement(c('XUIDialogBody.react'),{className:"_2piq"},this.$VideoAssetDeleteConfirmationDialog7()),c('React').createElement(c('XUIDialogFooter.react'),{leftContent:this.renderExpireButton()},c('React').createElement(c('XUIDialogButton.react'),{label:i._("Cancel"),action:'cancel',size:'large',use:'default',onClick:this.props.onCancel}),c('React').createElement(c('XUIDialogButton.react'),{'data-testid':c('PublishingToolsWebdriverTestDataIDs').DELETE_VIDEO,label:i._("Delete"),action:'cancel',size:'large',use:'confirm',disabled:this.state.selectedOrganicPosts.length===0,onClick:this.$VideoAssetDeleteConfirmationDialog4.bind(this)}))));};f.exports=l;}),null);
  __d('VideoAssetExpireConfirmationDialog.react',['cx','fbt','InputLabel.react','LeftRight.react','React','VideoAssetPostsSelection.react','VideoUtils','XUICheckboxInput.react','XUIDialog.react','XUIDialogBody.react','XUIDialogButton.react','XUIDialogFooter.react','XUIDialogTitle.react','XUIGrayText.react','XUINotice.react','XUIText.react'],(function a(b,c,d,e,f,g,h,i){var j,k;j=babelHelpers.inherits(l,c('React').Component);k=j&&j.prototype;function l(m){'use strict';k.constructor.call(this,m);var n=m.organicPostsByAsset.reduce(function(p,q){return p.concat(q.posts);},[]),o=this.props.selectedOrganicPosts||n;this.state={selectedOrganicPosts:o,removeSharePermission:false,expireAllOwnedPosts:o.length===n.length};}l.prototype.$VideoAssetExpireConfirmationDialog1=function(){'use strict';return this.props.organicPostsByAsset.reduce(function(m,n){return m+n.posts.length;},0);};l.prototype.$VideoAssetExpireConfirmationDialog2=function(){'use strict';return this.props.organicPostsByAsset.reduce(function(m,n){return m.concat(n.posts);},[]);};l.prototype.$VideoAssetExpireConfirmationDialog3=function(){'use strict';this.props.onExpire(this.state.selectedOrganicPosts,this.state.removeSharePermission);};l.prototype.$VideoAssetExpireConfirmationDialog4=function(){'use strict';return this.props.organicPostsByAsset.filter(function(m){return m.isShared&&m.videoAssetOwnerID===this.props.pageID;}.bind(this)).length;};l.prototype.$VideoAssetExpireConfirmationDialog5=function(){'use strict';return this.props.organicPostsByAsset.reduce(function(m,n){return m+n.reusedPostsCount;},0);};l.prototype.$VideoAssetExpireConfirmationDialog6=function(){'use strict';return this.props.organicPostsByAsset.reduce(function(m,n){return m+n.reusedPublishedPostsCount;},0);};l.prototype.$VideoAssetExpireConfirmationDialog7=function(m){'use strict';this.setState({selectedOrganicPosts:m,expireAllOwnedPosts:this.$VideoAssetExpireConfirmationDialog2().length===m.length});};l.prototype.$VideoAssetExpireConfirmationDialog8=function(){'use strict';var m=this.$VideoAssetExpireConfirmationDialog1();if(m>1&&!this.props.disablePostSelection){return this.$VideoAssetExpireConfirmationDialog9();}else return this.$VideoAssetExpireConfirmationDialog10();};l.prototype.$VideoAssetExpireConfirmationDialog9=function(){'use strict';var m=this.props.organicPostsByAsset;return (c('React').createElement('div',null,c('React').createElement(c('XUIGrayText.react'),{className:"_3-95",shade:'medium',size:'medium',display:'block'},i._({"s":"Your posts using this video will be no longer be published","p":"Your posts using these videos will be no longer be published"},[i['enum'](m.length===1?'s':'p',{s:'this video',p:'these videos'})])),c('React').createElement(c('VideoAssetPostsSelection.react'),{className:"_3-8x",organicPostsByAsset:this.props.organicPostsByAsset,selectedOrganicPosts:this.state.selectedOrganicPosts,tableCaption:i._("Only checked posts will be expired"),onPostSelectionChange:this.$VideoAssetExpireConfirmationDialog7.bind(this)}),this.$VideoAssetExpireConfirmationDialog11(),this.$VideoAssetExpireConfirmationDialog12(),c('React').createElement(c('XUIText.react'),{className:"_3-8x",size:'medium',display:'block'},i._("The insights for these posts will be preserved."))));};l.prototype.$VideoAssetExpireConfirmationDialog12=function(){'use strict';if(!this.props.canRemoveSharePermission)return null;var m=void 0,n=void 0,o=void 0;if(this.props.disablePostSelection){o={selectedVideosCrosspostsCount:this.$VideoAssetExpireConfirmationDialog5(),selectedVideosPublishedCrosspostsCount:this.$VideoAssetExpireConfirmationDialog6(),selectedVideosCount:this.props.organicPostsByAsset.length,selectedOwnedVideosSharedCount:this.$VideoAssetExpireConfirmationDialog4()};}else o=c('VideoUtils').getSelectedVideosAndCrossPostsCount(this.props.pageID,this.props.organicPostsByAsset,this.state.selectedOrganicPosts);if(this.$VideoAssetExpireConfirmationDialog4()===0)return null;if(this.state.removeSharePermission){var p=this.$VideoAssetExpireConfirmationDialog13(o);if(p)m=c('React').createElement(c('XUINotice.react'),{className:"_3-8o",use:'notify'},p);}if(o.selectedVideosCount>1){n=i._("Remove permission from all other Pages to use these videos");}else n=i._("Remove permission from all other Pages to use this video");return (c('React').createElement('div',null,c('React').createElement(c('InputLabel.react'),{className:"_3-8y",onChange:function(event){this.setState({removeSharePermission:event.target.checked});}.bind(this)},c('React').createElement(c('XUICheckboxInput.react'),{checked:this.state.removeSharePermission}),c('React').createElement('label',null,c('React').createElement(c('XUIText.react'),{className:"_5gtt",size:'medium',weight:'normal'},n))),m));};l.prototype.$VideoAssetExpireConfirmationDialog13=function(m){'use strict';var n=m.selectedVideosPublishedCrosspostsCount,o=m.selectedVideosCount;if(n===1){return i._("This video is used by another Page in one post. That post will be unpublished.");}else if(n>1)if(o===1){return i._("This video is used by other Pages in {num_cross_posts} posts. Those posts will be unpublished.",[i.param('num_cross_posts',n)]);}else return i._("These videos are used by other Pages in {num_cross_posts} posts. Those posts will be unpublished.",[i.param('num_cross_posts',n)]);return null;};l.prototype.$VideoAssetExpireConfirmationDialog11=function(){'use strict';var m=this.$VideoAssetExpireConfirmationDialog1();if(m===1)return null;return (c('React').createElement(c('InputLabel.react'),{className:"_3-8y",onChange:function(event){this.setState({expireAllOwnedPosts:event.target.checked,selectedOrganicPosts:event.target.checked?this.$VideoAssetExpireConfirmationDialog2():this.props.selectedOrganicPosts||[]});}.bind(this)},c('React').createElement(c('XUICheckboxInput.react'),{checked:this.state.expireAllOwnedPosts}),c('React').createElement('label',null,c('React').createElement(c('XUIText.react'),{className:"_5gtt",size:'medium',weight:'normal'},i._("Expire all {count} of your posts that use this video",[i.param('count',m)])))));};l.prototype.$VideoAssetExpireConfirmationDialog10=function(){'use strict';return (c('React').createElement('div',null,c('React').createElement(c('XUIText.react'),{className:"_3-95",size:'medium',display:'block'},i._("This post will no longer be published.")),this.$VideoAssetExpireConfirmationDialog11(),this.$VideoAssetExpireConfirmationDialog12()));};l.prototype.$VideoAssetExpireConfirmationDialog14=function(){'use strict';var m=this.props.selectedOrganicPosts?this.props.selectedOrganicPosts.length:0,n=this.$VideoAssetExpireConfirmationDialog1();if(n===1||m===1){return i._("Expire Post?");}else if(m>1){return i._("Expire Posts?");}else if(this.props.organicPostsByAsset.length>1){return i._("Expire Videos?");}else return i._("Expire Video?");};l.prototype.render=function(){'use strict';return (c('React').createElement(c('XUIDialog.react'),{width:450,shown:true,fixedTopPosition:100,hideOnEscape:true},c('React').createElement(c('XUIDialogTitle.react'),null,this.$VideoAssetExpireConfirmationDialog14()),c('React').createElement(c('XUIDialogBody.react'),null,this.$VideoAssetExpireConfirmationDialog8()),c('React').createElement(c('XUIDialogFooter.react'),null,c('React').createElement(c('LeftRight.react'),null,c('React').createElement('span',null),c('React').createElement('span',null,c('React').createElement(c('XUIDialogButton.react'),{label:i._("Cancel"),action:'cancel',size:'large',use:'default',onClick:this.props.onCancel}),c('React').createElement(c('XUIDialogButton.react'),{label:i._("Expire"),action:'cancel',size:'large',use:'confirm',disabled:this.state.selectedOrganicPosts.length===0,onClick:this.$VideoAssetExpireConfirmationDialog3.bind(this)}))))));};f.exports=l;}),null);
  __d('VideoAssetPublishConfirmationDialog.react',['cx','fbt','LeftRight.react','React','VideoAssetPostsSelection.react','XUIDialog.react','XUIDialogBody.react','XUIDialogButton.react','XUIDialogFooter.react','XUIDialogTitle.react','XUIGrayText.react','XUIText.react'],(function a(b,c,d,e,f,g,h,i){var j,k;j=babelHelpers.inherits(l,c('React').Component);k=j&&j.prototype;function l(m){'use strict';k.constructor.call(this,m);this.state={selectedOrganicPosts:this.props.selectedOrganicPosts||m.organicPostsByAsset.reduce(function(n,o){return n.concat(o.posts);},[])};}l.prototype.$VideoAssetPublishConfirmationDialog1=function(){'use strict';return this.props.organicPostsByAsset.reduce(function(m,n){return m+n.posts.length;},0);};l.prototype.$VideoAssetPublishConfirmationDialog2=function(){'use strict';this.props.onPublish(this.state.selectedOrganicPosts);};l.prototype.$VideoAssetPublishConfirmationDialog3=function(m){'use strict';this.setState({selectedOrganicPosts:m});};l.prototype.$VideoAssetPublishConfirmationDialog4=function(){'use strict';var m=this.$VideoAssetPublishConfirmationDialog1();if(m>1){return this.$VideoAssetPublishConfirmationDialog5();}else return this.$VideoAssetPublishConfirmationDialog6();};l.prototype.$VideoAssetPublishConfirmationDialog5=function(){'use strict';var m=this.props.organicPostsByAsset;return (c('React').createElement('div',null,c('React').createElement(c('XUIGrayText.react'),{className:"_3-95",shade:'medium',size:'medium',display:'block',weight:'bold'},i._({"s":"Your posts using this video will be published","p":"Your posts using these videos will be published"},[i['enum'](m.length===1?'s':'p',{s:'this video',p:'these videos'})])),c('React').createElement(c('VideoAssetPostsSelection.react'),{organicPostsByAsset:this.props.organicPostsByAsset,selectedOrganicPosts:this.state.selectedOrganicPosts,tableCaption:i._("Only checked posts will be published"),onPostSelectionChange:this.$VideoAssetPublishConfirmationDialog3.bind(this)})));};l.prototype.$VideoAssetPublishConfirmationDialog6=function(){'use strict';return (c('React').createElement(c('XUIText.react'),{className:"_3-95",size:'medium',display:'block'},i._("This post will be published.")));};l.prototype.$VideoAssetPublishConfirmationDialog7=function(){'use strict';var m=this.$VideoAssetPublishConfirmationDialog1();if(m===1){return i._("Publish Post?");}else if(this.props.organicPostsByAsset.length>1){return i._("Publish Videos?");}else return i._("Publish Video?");};l.prototype.render=function(){'use strict';return (c('React').createElement(c('XUIDialog.react'),{width:450,shown:true,fixedTopPosition:100},c('React').createElement(c('XUIDialogTitle.react'),null,this.$VideoAssetPublishConfirmationDialog7()),c('React').createElement(c('XUIDialogBody.react'),null,this.$VideoAssetPublishConfirmationDialog4()),c('React').createElement(c('XUIDialogFooter.react'),null,c('React').createElement(c('LeftRight.react'),null,c('React').createElement('span',null),c('React').createElement('span',null,c('React').createElement(c('XUIDialogButton.react'),{label:i._("Cancel"),action:'cancel',size:'large',use:'default',onClick:this.props.onCancel}),c('React').createElement(c('XUIDialogButton.react'),{label:i._("Publish"),action:'cancel',size:'large',use:'confirm',disabled:this.state.selectedOrganicPosts.length===0,onClick:this.$VideoAssetPublishConfirmationDialog2.bind(this)}))))));};f.exports=l;}),null);
  __d('VideoAssetSelectorDialog.react',['fbt','LayerFadeOnHide','LayerHideOnEscape','React','VideoAssetPostsTable.react','XUIDialog.react','XUIDialogBody.react','XUIDialogTitle.react'],(function a(b,c,d,e,f,g,h){var i,j,k=655;i=babelHelpers.inherits(l,c('React').Component);j=i&&i.prototype;function l(m){'use strict';j.constructor.call(this,m);this.state={shown:true};}l.prototype.$VideoAssetSelectorDialog1=function(m,n){'use strict';var o=this.props.videoAssetData.posts[n],p=[o];this.props.onSelect(p);this.setState({shown:false});};l.prototype.render=function(){'use strict';return (c('React').createElement(c('XUIDialog.react'),{behaviors:{LayerFadeOnHide:c('LayerFadeOnHide'),LayerHideOnEscape:c('LayerHideOnEscape')},shown:this.state.shown,width:k},c('React').createElement(c('XUIDialogTitle.react'),null,h._("Schedule Which Post?")),c('React').createElement(c('XUIDialogBody.react'),{useCustomPadding:true},c('React').createElement(c('VideoAssetPostsTable.react'),{onRowClick:this.$VideoAssetSelectorDialog1.bind(this),organicPostsByAsset:[this.props.videoAssetData],columns:['profile','views','dateCreated'],showPostStateIndicator:this.props.showPostStateIndicator}))));};f.exports=l;}),null);
  __d('VideoAssetWaterfallTypedLogger',['Banzai','GeneratedLoggerUtils','nullthrows'],(function a(b,c,d,e,f,g){'use strict';function h(){this.clear();}h.prototype.log=function(){c('GeneratedLoggerUtils').log('logger:VideoAssetWaterfallLoggerConfig',this.$VideoAssetWaterfallTypedLogger1,c('Banzai').BASIC);};h.prototype.logVital=function(){c('GeneratedLoggerUtils').log('logger:VideoAssetWaterfallLoggerConfig',this.$VideoAssetWaterfallTypedLogger1,c('Banzai').VITAL);};h.prototype.clear=function(){this.$VideoAssetWaterfallTypedLogger1={};return this;};h.prototype.updateData=function(j){this.$VideoAssetWaterfallTypedLogger1=babelHelpers['extends']({},this.$VideoAssetWaterfallTypedLogger1,j);return this;};h.prototype.setCrosspostingPageIds=function(j){this.$VideoAssetWaterfallTypedLogger1.crossposting_page_ids=c('GeneratedLoggerUtils').serializeVector(j);return this;};h.prototype.setError=function(j){this.$VideoAssetWaterfallTypedLogger1.error=j;return this;};h.prototype.setEvent=function(j){this.$VideoAssetWaterfallTypedLogger1.event=j;return this;};h.prototype.setIsBulk=function(j){this.$VideoAssetWaterfallTypedLogger1.is_bulk=j;return this;};h.prototype.setPageID=function(j){this.$VideoAssetWaterfallTypedLogger1.page_id=j;return this;};h.prototype.setSource=function(j){this.$VideoAssetWaterfallTypedLogger1.source=j;return this;};h.prototype.setVC=function(j){this.$VideoAssetWaterfallTypedLogger1.vc=j;return this;};h.prototype.setVideoAssetIDOverride=function(j){this.$VideoAssetWaterfallTypedLogger1.video_asset_id_override=j;return this;};h.prototype.setVideoAssetIds=function(j){this.$VideoAssetWaterfallTypedLogger1.video_asset_ids=c('GeneratedLoggerUtils').serializeVector(j);return this;};h.prototype.setVideoID=function(j){this.$VideoAssetWaterfallTypedLogger1.video_id=j;return this;};h.prototype.setVideoIds=function(j){this.$VideoAssetWaterfallTypedLogger1.video_ids=c('GeneratedLoggerUtils').serializeVector(j);return this;};var i={crossposting_page_ids:true,error:true,event:true,is_bulk:true,page_id:true,source:true,vc:true,video_asset_id_override:true,video_asset_ids:true,video_id:true,video_ids:true};f.exports=h;}),null);
  __d("XVideoAssetsExpireRemoveSharingController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/video\/video_asset\/expire\/remove_sharing\/",{video_asset_id:{type:"FBID",required:true},source:{type:"Enum",required:true,enumType:1}});}),null);
  __d("XVideoAssetsPostsController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/video\/video_asset\/posts\/",{video_asset_ids:{type:"IntVector"},video_post_ids:{type:"IntVector"}});}),null);
  __d("XVideoPostExpireController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/video\/expire\/",{video_id:{type:"Int",required:true},source:{type:"Enum",required:true,enumType:1}});}),null);
  __d("XVideoPostPublishController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/video\/publish\/",{video_id:{type:"Int",required:true},source:{type:"Enum",required:true,enumType:1}});}),null);
  __d("XVideoPostScheduleController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/video\/schedule\/",{video_id:{type:"Int",required:true},source:{type:"Enum",required:true,enumType:1},schedule_publish_time:{type:"Int",required:true}});}),null);
  __d('VideoUtils',['ix','cx','fbt','Promise','ActorURI','AsyncDialog','AsyncRequest','DOM','Image.react','IsVideoAssetGraphFields','LiveStatusType','PageContentTabConfig','PostScheduleDialog.react','React','ReactDOM','VideoAssetDeleteConfirmationDialog.react','VideoAssetExpireConfirmationDialog.react','VideoAssetInsightsSource','VideoAssetPublishConfirmationDialog.react','VideoAssetSelectorDialog.react','VideoAssetWaterfallEvent','VideoAssetWaterfallTypedLogger','VideoBroadcastAPIStatus','VideoContainerType','VideoContainerTypeInVideoLibrary','VideoGraphFields','VideoInsightsContext','XUIDialog.react','XUIDialogBody.react','XUIDialogButton.react','XUIDialogFooter.react','XUIDialogTitle.react','XUISpinner.react','XVideoAssetInsightsDialogController','XVideoAssetsExpireRemoveSharingController','XVideoAssetsPostsController','XVideoEditDialogController','XVideoPostExpireController','XVideoPostPublishController','XVideoPostScheduleController','UserAgent','goURI','VideoFormattingUtils','fbglyph','getOwnObjectValues','joinClasses'],(function a(b,c,d,e,f,g,h,i,j){'use strict';var k,l,m=1000,n={formatTime:function p(q){return c('VideoFormattingUtils').formatTime(q);},formatPercentage:function p(q,r){return c('VideoFormattingUtils').formatPercentage(q,r);},showVideoManagementSurvey:function p(q){if(q!==null)q.show();},getLiveStatusType:function p(q){if(q)if(q===c('VideoBroadcastAPIStatus').UNPUBLISHED||q===c('VideoBroadcastAPIStatus').LIVE){return c('LiveStatusType').IS_LIVE_BROADCAST;}else if(q===c('VideoBroadcastAPIStatus').SCHEDULED_UNPUBLISHED||q===c('VideoBroadcastAPIStatus').SCHEDULED_LIVE){return c('LiveStatusType').SCHEDULED_LIVE_BROADCAST;}else return c('LiveStatusType').WAS_LIVE_BROADCAST;return c('LiveStatusType').NOT_A_BROADCAST;},convertRetentionValue:function p(q,r,s){var t=c('getOwnObjectValues')(r),u=t.length;if(q===u-1)q=u;return Math.round(q*s/t.length);},downloadURL:function p(q){if(c('UserAgent').isBrowser('Firefox')){c('goURI')(q);}else{var r=c('DOM').create('a');r.download='';r.href=q;r.click();}},_fetchVideoAssetsPosts:function p(q,r){var s=c('XVideoAssetsPostsController').getURIBuilder().setIntVector('video_asset_ids',q).getURI();s=c('ActorURI').create(s,r);return new (c('Promise'))(function(t,u){c('AsyncDialog').send(new (c('AsyncRequest'))().setURI(s).setHandler(function(v){return t(v.payload);}).setErrorHandler(u));});},_fetchVideoAssetsPostsFromPosts:function p(q,r){var s=c('XVideoAssetsPostsController').getURIBuilder().setIntVector('video_post_ids',q).getURI();s=c('ActorURI').create(s,r);return new (c('Promise'))(function(t,u){c('AsyncDialog').send(new (c('AsyncRequest'))().setURI(s).setHandler(function(v){return t(v.payload);}).setErrorHandler(u));});},getSelectedVideosAndCrossPostsCount:function p(q,r,s){var t=0,u=0,v=0,w=0;r.forEach(function(x){var y=x.reusedPostsCount,z=x.reusedPublishedPostsCount,aa=x.posts.length,ba=s.filter(function(ca){return ca.videoAssetID===x.videoAssetID;}).length;if(ba===aa){if(q===x.videoAssetOwnerID){u+=y;v+=z;if(x.isShared)w++;}t++;}});return {selectedVideosCrosspostsCount:u,selectedVideosPublishedCrosspostsCount:v,selectedVideosCount:t,selectedOwnedVideosSharedCount:w};},openVideoInsights:function p(q,r){var s=q.id;if(!q.is_video_asset&&q.video_asset_id&&q.video_asset_id!=0)s=q.video_asset_id;var t=c('XVideoAssetInsightsDialogController').getURIBuilder().setInt('video_asset_id',s).setFBID('page_id',r.page_id).setEnum('source',c('VideoAssetInsightsSource').VIDEO_LIBRARY).setEnum('context',c('VideoInsightsContext').VIDEO_ASSET).getURI();c('AsyncDialog').send(new (c('AsyncRequest'))(t));},deleteVideoAssets:function p(q,r,s,t){return this._fetchVideoAssetsPosts(q,r).then(function(u){return this._confirmDeleteVideoAssets(u,r,undefined,s,t);}.bind(this));},_performVideoActionOnPosts:function p(q,r){var s=c('ReactDOM').render(c('React').createElement(o,null),c('DOM').create('div'));s.show();var t=[];return c('Promise').all(q.map(function(u){return r(u).then(function(){return t.push(u);},function(){});})).then(function(){s.hide();return t;});},_getPostsFromVideoAssetsByID:function p(q,r){var s=[];q.forEach(function(t){t.posts.forEach(function(u){if(r.indexOf(u.id)>=0)s.push(u);});});return s;},deleteVideoPosts:function p(q,r,s,t){return this._fetchVideoAssetsPostsFromPosts(q,r).then(function(u){var v=this._getPostsFromVideoAssetsByID(u,q);return this._confirmDeleteVideoAssets(u,r,v,s,t);}.bind(this));},_confirmDeleteVideoAssets:function p(q,r,s,t,u){return new (c('Promise'))(function(v,w){c('ReactDOM').render(c('React').createElement(c('VideoAssetDeleteConfirmationDialog.react'),{pageID:r,organicPostsByAsset:q,selectedOrganicPosts:s,onExpire:function(x){this._confirmExpireVideoAssets(q,r,x,t).done();v([]);}.bind(this),onDelete:function(x){this._deleteVideoPosts(x,q,r,t).done(v,w);}.bind(this),canDeleteCrosspostedVideos:n._canDeleteCrosspostedVideos,showCrosspostingHelpCenter:u,canExpireVideos:this._filterNonExpiredPublishedPosts(q).length!==0}),c('DOM').create('div'));}.bind(this));},_deleteVideoPosts:function p(q,r,s,t){new (c('VideoAssetWaterfallTypedLogger'))().setEvent(c('VideoAssetWaterfallEvent').UI_POST_DELETE_SELECTION).setPageID(s).setIsBulk(1).setVideoAssetIds(r.map(function(u){return u.videoAssetID;})).setVideoIds(q.map(function(u){return u.id;})).setSource(t).log();return this._performVideoActionOnPosts(q,this._deleteVideoPost.bind(this,t),s);},_deleteVideoPost:function p(q,r,s){return new (c('Promise'))(function(t,u){new (c('VideoAssetWaterfallTypedLogger'))().setEvent('ui.post_delete_start').setPageID(s).setVideoID(r.id).setSource(q).log();new (c('AsyncRequest'))().setURI('/ajax/video/actions/delete/').setData({fbid:r.id,redirect:false}).setHandler(function(){new (c('VideoAssetWaterfallTypedLogger'))().setEvent('ui.post_delete_finish').setPageID(s).setVideoID(r.id).setSource(q).log();t();}).setErrorHandler(function(){new (c('VideoAssetWaterfallTypedLogger'))().setEvent('ui.post_delete_failure').setPageID(s).setVideoID(r.id).setSource(q).log();u();}).send();});},_filterNonExpiredPublishedPosts:function p(q){return q.map(function(r){return babelHelpers['extends']({},r,{posts:r.posts.filter(function(s){return s.isPublished&&!s.isExpired;})});}).filter(function(r){return r.posts.length>0;});},publishVideoAssets:function p(q,r,s){return this._fetchVideoAssetsPosts(q,r).then(function(t){return this._confirmPublishVideoAssets(t,r,undefined,s);}.bind(this));},_confirmPublishVideoAssets:function p(q,r,s,t){return new (c('Promise'))(function(u,v){var w=this._filterNonExpiredUnpublishedOrganicPosts(q);if(w.length===0){c('ReactDOM').render(c('React').createElement(c('XUIDialog.react'),{width:350,shown:true,layerHideOnBlur:false},c('React').createElement(c('XUIDialogTitle.react'),null,j._("No posts to publish")),c('React').createElement(c('XUIDialogBody.react'),null,j._("All posts using these videos are already published.")),c('React').createElement(c('XUIDialogFooter.react'),null,c('React').createElement(c('XUIDialogButton.react'),{label:j._("OK"),action:'cancel',use:'confirm',onClick:function x(){return u();}}))),c('DOM').create('div'));}else c('ReactDOM').render(c('React').createElement(c('VideoAssetPublishConfirmationDialog.react'),{organicPostsByAsset:w,selectedOrganicPosts:s,onPublish:function(x){this._publishVideoPosts(x,r,t).done(u,v);}.bind(this)}),c('DOM').create('div'));}.bind(this));},_publishVideoPosts:function p(q,r,s){return this._performVideoActionOnPosts(q,this._publishVideoPost.bind(this,r,s));},_publishVideoPost:function p(q,r,s){return new (c('Promise'))(function(t,u){new (c('VideoAssetWaterfallTypedLogger'))().setEvent('ui.post_publish_start').setPageID(q).setVideoID(s.id).setSource(r).log();var v=c('XVideoPostPublishController').getURIBuilder().setInt('video_id',s.id).setEnum('source',r).getURI();v=c('ActorURI').create(v,q);new (c('AsyncRequest'))().setURI(v).setHandler(function(){new (c('VideoAssetWaterfallTypedLogger'))().setEvent('ui.post_publish_finish').setPageID(q).setVideoID(s.id).setSource(r).log();t();}).setErrorHandler(function(){new (c('VideoAssetWaterfallTypedLogger'))().setEvent('ui.post_publish_failure').setPageID(q).setVideoID(s.id).setSource(r).log();u();}).send();});},_filterNonExpiredUnpublishedOrganicPosts:function p(q){return q.map(function(r){return babelHelpers['extends']({},r,{posts:r.posts.filter(function(s){return !s.isPublished&&!s.isExpired;})});}).filter(function(r){return r.posts.length>0;});},expireVideoAssets:function p(q,r,s){return this._fetchVideoAssetsPosts(q,r).then(function(t){return this._confirmExpireVideoAssets(t,r,undefined,s);}.bind(this));},expireVideoPosts:function p(q,r,s){return this._fetchVideoAssetsPostsFromPosts(q,r).then(function(t){var u=this._getPostsFromVideoAssetsByID(t,q);return this._confirmExpireVideoAssets(t,r,u,s);}.bind(this));},_confirmExpireVideoAssets:function p(q,r,s,t){return new (c('Promise'))(function(u,v){var w=this._filterNonExpiredPublishedPosts(q);if(w.length===0){c('ReactDOM').render(c('React').createElement(c('XUIDialog.react'),{width:350,shown:true,layerHideOnBlur:false},c('React').createElement(c('XUIDialogTitle.react'),null,j._("No posts to expire")),c('React').createElement(c('XUIDialogBody.react'),null,j._("All posts using these videos are already expired.")),c('React').createElement(c('XUIDialogFooter.react'),null,c('React').createElement(c('XUIDialogButton.react'),{label:j._("OK"),action:'cancel',use:'confirm',onClick:function x(){return u();}}))),c('DOM').create('div'));}else c('ReactDOM').render(c('React').createElement(c('VideoAssetExpireConfirmationDialog.react'),{pageID:r,organicPostsByAsset:w,selectedOrganicPosts:s,onExpire:function(x,y){c('Promise').all([this._expireVideoPosts(x,r,q,t),y?this._expireVideoAssetsCrosspostsAndRemoveSharing(w.filter(function(z){return z.videoAssetOwnerID===r;}).map(function(z){return z.videoAssetID;}),r,t):null]).then(function(z){var aa=z[0],ba=z[1];return aa;}).done(u,v);}.bind(this),canRemoveSharePermission:n._canRemoveSharePermissionOnExpire}),c('DOM').create('div'));}.bind(this));},_expireVideoAssetsCrosspostsAndRemoveSharing:function p(q,r,s){return c('Promise').all(q.map(function(t){return this._expireAllCrosspostsAndRemoveSharing(t,r,s);}.bind(this)));},_expireAllCrosspostsAndRemoveSharing:function p(q,r,s){return new (c('Promise'))(function(t,u){new (c('VideoAssetWaterfallTypedLogger'))().setEvent('ui.asset_expire_remove_sharing_start').setPageID(r).setVideoAssetIDOverride(q).setSource(s).log();var v=c('XVideoAssetsExpireRemoveSharingController').getURIBuilder().setFBID('video_asset_id',q).setEnum('source',s).getURI();v=c('ActorURI').create(v,r);new (c('AsyncRequest'))().setURI(v).setHandler(function(){new (c('VideoAssetWaterfallTypedLogger'))().setEvent('ui.asset_expire_remove_sharing_finish').setPageID(r).setVideoAssetIDOverride(q).setSource(s).log();t();}).setErrorHandler(function(){new (c('VideoAssetWaterfallTypedLogger'))().setEvent('ui.asset_expire_remove_sharing_failure').setPageID(r).setVideoAssetIDOverride(q).setSource(s).log();u();}).send();});},_expireVideoPosts:function p(q,r,s,t){new (c('VideoAssetWaterfallTypedLogger'))().setEvent(c('VideoAssetWaterfallEvent').UI_POST_EXPIRE_SELECTION).setIsBulk(1).setVideoAssetIds(s.map(function(u){return u.videoAssetID;})).setVideoIds(q.map(function(u){return u.id;})).setSource(t).log();return this._performVideoActionOnPosts(q,this._expireVideoPost.bind(this,r,t));},_expireVideoPost:function p(q,r,s){return new (c('Promise'))(function(t,u){new (c('VideoAssetWaterfallTypedLogger'))().setEvent('ui.post_expire_start').setPageID(q).setVideoID(s.id).setSource(r).log();var v=c('XVideoPostExpireController').getURIBuilder().setInt('video_id',s.id).setEnum('source',r).getURI();v=c('ActorURI').create(v,q);new (c('AsyncRequest'))().setURI(v).setHandler(function(){new (c('VideoAssetWaterfallTypedLogger'))().setEvent('ui.post_expire_finish').setPageID(q).setVideoID(s.id).setSource(r).log();t();}).setErrorHandler(function(){new (c('VideoAssetWaterfallTypedLogger'))().setEvent('ui.post_expire_failure').setPageID(q).setVideoID(s.id).setSource(r).log();u();}).send();});},scheduleVideoAssets:function p(q,r,s){return this._fetchVideoAssetsPosts(q,r.page_id).then(function(t){return this._confirmScheduleVideoAssets(t,r,undefined,s);}.bind(this));},_confirmScheduleVideoAssets:function p(q,r,s,t){return new (c('Promise'))(function(u,v){var w=this._filterNonExpiredUnpublishedOrganicPosts(q);if(w.length===0){c('ReactDOM').render(c('React').createElement(c('XUIDialog.react'),{width:350,shown:true,layerHideOnBlur:false},c('React').createElement(c('XUIDialogTitle.react'),null,j._("No posts to schedule")),c('React').createElement(c('XUIDialogBody.react'),null,j._("All posts using these videos are already published.")),c('React').createElement(c('XUIDialogFooter.react'),null,c('React').createElement(c('XUIDialogButton.react'),{label:j._("OK"),action:'cancel',use:'confirm',onClick:function x(){return u();}}))),c('DOM').create('div'));}else c('ReactDOM').render(c('React').createElement(c('VideoAssetSelectorDialog.react'),{showPostStateIndicator:true,videoAssetData:w[0],onSelect:function(x){this._scheduleVideoPostsDialog(x,r.page_id,t).done(u,v);}.bind(this)}),c('DOM').create('div'));}.bind(this));},_scheduleVideoPostsDialog:function p(q,r,s){var t=q[0];return new (c('Promise'))(function(u,v){var w=null,x=false;if(t.schedulePublishTime){w=new Date(t.schedulePublishTime*m);x=true;}var y=c('ReactDOM').render(c('React').createElement(c('PostScheduleDialog.react'),{timezoneStr:c('PageContentTabConfig').timezone_str,initialDate:w,isReschedule:x,onSubmit:function(z){this._performVideoActionOnPosts(q,this._scheduleVideoPost.bind(this,r,s,t,Math.floor(z.getTime()/m))).done(u,v);}.bind(this)}),c('DOM').create('div'));y.show();}.bind(this));},_scheduleVideoPost:function p(q,r,s,t){return new (c('Promise'))(function(u,v){new (c('VideoAssetWaterfallTypedLogger'))().setEvent(c('VideoAssetWaterfallEvent').UI_POST_SCHEDULE_START).setPageID(q).setVideoID(s.id).setSource(r).log();var w=c('XVideoPostScheduleController').getURIBuilder().setInt('video_id',s.id).setEnum('source',r).setInt('schedule_publish_time',t).getURI();w=c('ActorURI').create(w,q);new (c('AsyncRequest'))().setURI(w).setHandler(function(x){var y=x.payload.error;if(!y){new (c('VideoAssetWaterfallTypedLogger'))().setEvent(c('VideoAssetWaterfallEvent').UI_POST_SCHEDULE_FINISH).setPageID(q).setVideoID(s.id).setSource(r).log();u();}else{new (c('VideoAssetWaterfallTypedLogger'))().setEvent(c('VideoAssetWaterfallEvent').UI_POST_SCHEDULE_FAILURE).setPageID(q).setVideoID(s.id).setSource(r).log();v();}}).setErrorHandler(function(){new (c('VideoAssetWaterfallTypedLogger'))().setEvent(c('VideoAssetWaterfallEvent').UI_POST_SCHEDULE_FAILURE).setPageID(q).setVideoID(s.id).setSource(r).log();v();}).send();});},_canDeleteCrosspostedVideos:false,setCanDeleteCrosspostedVideos:function p(q){this._canDeleteCrosspostedVideos=q;},_canRemoveSharePermissionOnExpire:false,setCanRemoveSharePermissionOnExpire:function p(q){this._canRemoveSharePermissionOnExpire=q;},_openEditDialog:function p(q,r,s,t){var u=c('ActorURI').create(c('XVideoEditDialogController').getURIBuilder().setInt('video_id',q).setString('post_id',r).setEnum('source',t).getURI(),s);c('AsyncDialog').send(new (c('AsyncRequest'))(u));},renderMonitoringStatusIndicator:function p(q,r){if(q==='ERROR')return (c('React').createElement(c('Image.react'),{className:c('joinClasses')(r,"_5u-h"),'data-tooltip-content':j._("Not monitored"),'data-hover':'tooltip','data-tooltip-position':'left',src:h("117757")}));return null;},isValidContainerType:function p(q){return Object.keys(c('VideoContainerTypeInVideoLibrary')).some(function(r){return c('VideoContainerType')[r]===c('VideoContainerType')[q];});},_getVideoAssetDefaultFields:function p(q){var r=[c('IsVideoAssetGraphFields').ID,c('IsVideoAssetGraphFields').DESCRIPTION,c('IsVideoAssetGraphFields').CREATED_TIME,c('IsVideoAssetGraphFields').IS_CROSSPOSTING_ELIGIBLE,c('IsVideoAssetGraphFields').IS_CROSSPOSTING_WITHIN_BM_ELIGIBLE,c('IsVideoAssetGraphFields').IS_CROSSPOSTING_WITHIN_BM_ENABLED,c('IsVideoAssetGraphFields').IS_FEATURED,c('IsVideoAssetGraphFields').THUMBNAIL,c('IsVideoAssetGraphFields').IS_VIDEO_ASSET,c('IsVideoAssetGraphFields').POSTS_COUNT,c('IsVideoAssetGraphFields').POSTS_STATUS,c('IsVideoAssetGraphFields').VIEWS,c('IsVideoAssetGraphFields').TITLE,c('IsVideoAssetGraphFields').CREATOR,c('IsVideoAssetGraphFields').POSTS_IDS,c('IsVideoAssetGraphFields').LAST_ADDED_TIME,c('IsVideoAssetGraphFields').NO_STORY,c('IsVideoAssetGraphFields').SECRET,c('IsVideoAssetGraphFields').EMBEDDABLE,c('IsVideoAssetGraphFields').SOCIAL_ACTIONS,c('IsVideoAssetGraphFields').PUBLISHED,c('IsVideoAssetGraphFields').EXPIRATION,c('IsVideoAssetGraphFields').FEED_TYPE,c('IsVideoAssetGraphFields').PERMALINK_URL,c('IsVideoAssetGraphFields').SCHEDULED_PUBLISH_TIME,c('IsVideoAssetGraphFields').LIVE_STATUS,c('IsVideoAssetGraphFields').STATUS,c('IsVideoAssetGraphFields').THUMBNAIL_WHILE_ENCODING,c('IsVideoAssetGraphFields').LATEST_CREATOR,c('IsVideoAssetGraphFields').LATEST_OWNED_TITLE,c('IsVideoAssetGraphFields').LATEST_OWNED_DESCRIPTION,c('IsVideoAssetGraphFields').BROADCAST_PLANNED_START_TIME];if(q.can_edit_live_broadcast)r.push(c('IsVideoAssetGraphFields').BROADCAST_ID,c('IsVideoAssetGraphFields').STREAM_URL,c('IsVideoAssetGraphFields').SECURE_STREAM_URL);if(q.is_copyright_management_enabled)r.push(c('IsVideoAssetGraphFields').COPYRIGHT_MONITORING_STATUS);if(q.show_video_library_download_action)r.push(c('IsVideoAssetGraphFields').DOWNLOAD_SD_URL,c('IsVideoAssetGraphFields').DOWNLOAD_HD_URL);return r;},_getVideoDefaultFields:function p(q){var r=[c('VideoGraphFields').ID,c('VideoGraphFields').DESCRIPTION,c('VideoGraphFields').CREATED_TIME,c('VideoGraphFields').PICTURE,c('VideoGraphFields').UPDATED_TIME,c('VideoGraphFields').VIEWS,c('VideoGraphFields').EMBEDDABLE,c('VideoGraphFields').FEED_TYPE,c('VideoGraphFields').TITLE,c('VideoGraphFields').ADMIN_CREATOR,c('VideoGraphFields').PERMALINK_URL,c('VideoGraphFields').SECRET,c('VideoGraphFields').SOCIAL_ACTIONS,c('VideoGraphFields').NO_STORY,c('VideoGraphFields').EXPIRATION,c('VideoGraphFields').COPYRIGHTED,c('VideoGraphFields').PUBLISHED,c('VideoGraphFields').SCHEDULED_PUBLISH_TIME,c('VideoGraphFields').CONTAINER_TYPE,c('VideoGraphFields').LIVE_STATUS,c('VideoGraphFields').VIDEO_ASSET_ID,c('VideoGraphFields').STATUS,c('VideoGraphFields').THUMBNAIL_WHILE_ENCODING,c('VideoGraphFields').IS_CROSSPOSTING_ELIGIBLE,c('VideoGraphFields').IS_CROSSPOSTING_WITHIN_BM_ELIGIBLE,c('VideoGraphFields').IS_CROSSPOSTING_WITHIN_BM_ENABLED,c('VideoGraphFields').IS_FEATURED,c('VideoGraphFields').BROADCAST_PLANNED_START_TIME];if(q.can_edit_live_broadcast)r.push(c('VideoGraphFields').BROADCAST_ID,c('VideoGraphFields').STREAM_URL,c('VideoGraphFields').SECURE_STREAM_URL);if(q.is_copyright_management_enabled)r.push(c('VideoGraphFields').COPYRIGHT_MONITORING_STATUS);if(q.show_video_library_download_action)r.push(c('IsVideoAssetGraphFields').DOWNLOAD_SD_URL,c('IsVideoAssetGraphFields').DOWNLOAD_HD_URL);return r;}};k=babelHelpers.inherits(o,c('React').Component);l=k&&k.prototype;function o(p){l.constructor.call(this,p);this.state={shown:false};}o.prototype.show=function(){this.setState({shown:true});};o.prototype.hide=function(){this.setState({shown:false});};o.prototype.render=function(){return (c('React').createElement(c('XUIDialog.react'),{width:300,shown:this.state.shown,layerHideOnBlur:false},c('React').createElement(c('XUIDialogBody.react'),{className:"_5xp9"},c('React').createElement(c('XUISpinner.react'),{background:'light',className:"_5xpe",size:'large'}))));};f.exports=n;}),null);
  __d('VideoAssetPreviewProfile.react',['ix','cx','fbt','Image.react','ImageBlock.react','LineClamp.react','Link.react','React','VideoAssetInsightsConfig','VideoInsightsContext','VideoUtils','XUIText.react','fbglyph','formatDate'],(function a(b,c,d,e,f,g,h,i,j){var k,l,m=1000;k=babelHelpers.inherits(n,c('React').Component);l=k&&k.prototype;n.prototype.$VideoAssetPreviewProfile1=function(){'use strict';var o=this.props.pageName;if(this.props.title)o=this.props.pageName+': '+this.props.title;return (c('React').createElement(c('XUIText.react'),{display:'block',className:"_4g88"},o));};n.prototype.$VideoAssetPreviewProfile2=function(){'use strict';return c('formatDate')(new Date(this.props.uploadedTime*m),'m/d/Y');};n.prototype.$VideoAssetPreviewProfile3=function(){'use strict';var o=void 0;if(this.props.contextType===c('VideoInsightsContext').VIDEO_ASSET){var p=void 0,q=void 0;if(this.props.isCrosspostedVideo){p=j._("Shared by {owner}",[j.param('owner',this.props.ownerName)]);}else{p=j._("Owned");if(this.props.reusedPostsCount===1){q=j._("Appears Once");}else q=j._("Appears in {count} posts",[j.param('count',this.props.reusedPostsCount)]);}o=c('React').createElement('span',null,' ','\u00A0\u00B7\u00A0',' ',p,q?c('React').createElement('span',null,' ','\u00A0\u00B7\u00A0',' ',q):null);}var r=j._("Uploaded on {upload time}",[j.param('upload time',this.$VideoAssetPreviewProfile2())]);if(c('VideoAssetInsightsConfig').getShowLiveTextUpdates()&&this.props.isBroadcast)r=this.props.isLiveStreaming?j._("Is Live"):j._("Was Live: {live time}",[j.param('live time',this.$VideoAssetPreviewProfile2())]);var s=this.props.permalinkURL?c('React').createElement('span',null,'\u00A0\u00B7\u00A0',c('React').createElement(c('Link.react'),{href:this.props.permalinkURL,target:'_blank'},j._("View Permalink"),'\u00A0',c('React').createElement(c('Image.react'),{src:h("124776")}))):null;return (c('React').createElement('div',{className:"_4g89"},c('React').createElement(c('XUIText.react'),{size:'medium',display:'inline',className:"_4g8a"},c('VideoUtils').formatTime(this.props.duration),' ','\u00A0\u00B7\u00A0',' ',r,o,s)));};n.prototype.render=function(){'use strict';return (c('React').createElement('div',null,c('React').createElement('div',{className:"_4g8b"},c('React').createElement(c('ImageBlock.react'),{spacing:'medium'},c('React').createElement(c('Image.react'),{className:"_4g8c",src:this.props.thumbnailSrc}),c('React').createElement('div',null,this.$VideoAssetPreviewProfile1(),c('React').createElement(c('XUIText.react'),{className:"_4g8d",display:'block'},c('React').createElement(c('LineClamp.react'),{lines:3,lineHeight:17},this.props.description)),c('React').createElement(c('XUIText.react'),{className:"_41hi"},this.props.description)))),this.$VideoAssetPreviewProfile3()));};function n(){'use strict';k.apply(this,arguments);}f.exports=n;}),null);
  __d('VideoAssetPreviewVideo.react',['cx','BackgroundImage.react','React','VideoAssetPlayer.react','VideoAssetPreviewProfile.react'],(function a(b,c,d,e,f,g,h){var i,j,k=552,l=311,m=1000;i=babelHelpers.inherits(n,c('React').Component);j=i&&i.prototype;function n(o){'use strict';j.constructor.call(this,o);this.state={playerShown:false};}n.prototype.$VideoAssetPreviewVideo1=function(){'use strict';var o=this.props.videoProfileData;return (c('React').createElement(c('VideoAssetPreviewProfile.react'),{thumbnailSrc:o.thumbnailSrc,pageName:o.pageName,postType:o.postType,title:o.title,description:o.description,uploadedTime:o.uploadedTime,duration:o.duration,reusedPostsCount:this.props.reusedPostsCount,contextType:this.props.contextType,isCrosspostedVideo:!!this.props.pageID&&this.props.pageID!==o.ownerID,ownerName:o.assetOwnerName,isBroadcast:o.isBroadcast,isLiveStreaming:o.isLiveStreaming,permalinkURL:o.permalinkURL}));};n.prototype.showPlayer=function(){'use strict';if(!this.state.playerShown){this.setState({playerShown:true});this.refs.videoPlayer.playVideo();this.refs.videoPlayer.pause();}};n.prototype.seek=function(o){'use strict';this.refs.videoPlayer.seek(o*m);};n.prototype.$VideoAssetPreviewVideo2=function(){'use strict';return (c('React').createElement(c('VideoAssetPlayer.react'),{ref:'videoPlayer',pageID:this.props.pageID,videoAssetID:this.props.videoID,playerWidth:k,playerHeight:l,autoplay:this.props.videoProfileData.isLiveStreaming,onVideoLoaded:this.props.onVideoLoaded,hideCloseButton:true,className:"_42bg"},c('React').createElement(c('BackgroundImage.react'),{backgroundSize:'contain',width:k,height:l,src:this.props.videoProfileData.thumbnailSrc})));};n.prototype.render=function(){'use strict';return (c('React').createElement('div',{className:"_42ci"},this.$VideoAssetPreviewVideo2(),this.$VideoAssetPreviewVideo1()));};f.exports=n;}),null);
  __d('VideoAssetInsightsVideo.react',['React','VideoAssetInsightsEvents','VideoAssetInsightsTypedLogger','VideoAssetPreviewVideo.react'],(function a(b,c,d,e,f,g){var h,i;h=babelHelpers.inherits(j,c('React').Component);i=h&&h.prototype;j.prototype.componentDidMount=function(){'use strict';new (c('VideoAssetInsightsTypedLogger'))().setVideoOrAssetID(this.props.loggerData.videoID).setPageID(this.props.loggerData.pageID).setSource(this.props.loggerData.source).setEvent(c('VideoAssetInsightsEvents').VIDEO_ASSET_VIDEO_LOADED).log();};j.prototype.showPlayer=function(){'use strict';if(this.refs.videoPlayer)this.refs.videoPlayer.showPlayer();};j.prototype.seek=function(k){'use strict';if(this.refs.videoPlayer)this.refs.videoPlayer.seek(k);};j.prototype.render=function(){'use strict';return (c('React').createElement(c('VideoAssetPreviewVideo.react'),{ref:'videoPlayer',pageID:this.props.pageID,videoID:this.props.videoID,videoProfileData:this.props.videoProfileData,onVideoLoaded:this.props.onVideoLoaded,contextType:this.props.contextType,reusedPostsCount:this.props.reusedPostsCount}));};function j(){'use strict';h.apply(this,arguments);}f.exports=j;}),null);
  __d('VideoAssetInsightsBreakdownOption.react',['cx','React'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.render=function(){'use strict';return (c('React').createElement('div',{className:"_177i"+(this.props.selected?' '+"_177j":'')+(this.props.highlighted?' '+"_177k":'')}));};function k(){'use strict';i.apply(this,arguments);}f.exports=k;}),null);
  __d('VideoAssetInsightsConstants',[],(function a(b,c,d,e,f,g){var h={AUTO_PLAY_RETENTION_CHART_COLOR:'#13BDA6',BAR_BACKGROUND_COLOR:'#e9eaed',BAR_COLOR_DEFAULT:'#3D6AD6',CLICK_TO_PLAY_RETENTION_CHART_COLOR:'#905AC7'};f.exports=h;}),null);
  __d('VideoAssetInsightsBarList.react',['cx','Grid.react','InsightsCSSBar.react','SpectrumIntegerScale','React','Tooltip.react','VideoAssetInsightsBreakdownOption.react','VideoAssetInsightsConstants','joinClasses'],(function a(b,c,d,e,f,g,h){var i,j,k,l,m=c('Grid.react').GridItem,n=4,o=c('SpectrumIntegerScale')().domain([0,100]),p=24,q=31;i=babelHelpers.inherits(r,c('React').Component);j=i&&i.prototype;function r(t){'use strict';j.constructor.call(this,t);this.state={highlightedBarIndex:-1};}r.getHeight=function(t){'use strict';var u=0;for(var v=t,w=Array.isArray(v),x=0,v=w?v:v[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var y;if(w){if(x>=v.length)break;y=v[x++];}else{x=v.next();if(x.done)break;y=x.value;}var z=y;u+=p*z+q;}return u;};r.prototype.$VideoAssetInsightsBarList1=function(t,u){'use strict';var v=c('VideoAssetInsightsConstants').BAR_COLOR_DEFAULT;if(t.applyColors)v=u.color;var w=void 0;if(t.totalValue===0){w=0;}else w=Math.round(u.rawValue*100/t.totalValue);return (c('React').createElement(c('InsightsCSSBar.react'),{scale:o,values:[w,100-w],colors:[v,c('VideoAssetInsightsConstants').BAR_BACKGROUND_COLOR],height:n}));};r.prototype.$VideoAssetInsightsBarList2=function(t,u){'use strict';var v=void 0;if(t.totalValue===0){v='-- ';}else v=Math.round(u.rawValue*100/t.totalValue);var w=null,x=t.showRawValue===undefined?true:t.showRawValue;if(x&&t.totalValue>0)w='('+u.formattedValue+')';return (c('React').createElement('div',{className:"_4-nz"},v,'%',' ',w));};r.prototype.$VideoAssetInsightsBarList3=function(t){'use strict';return (c('React').createElement('div',{className:"_4-n-",'data-hover':'tooltip','data-tooltip-content':t.tooltip||t.label,'data-tooltip-alignh':'right'},t.label));};r.prototype.$VideoAssetInsightsBarList4=function(t,u,v,w,x){'use strict';return [c('React').createElement(m,{key:v+'label',className:w},this.$VideoAssetInsightsBarList3(u)),c('React').createElement(m,{key:v+'bar',width:'100%',className:w},this.$VideoAssetInsightsBarList1(t,u)),c('React').createElement(m,{key:v+'value',className:w,colSpan:x?1:2},this.$VideoAssetInsightsBarList2(t,u))];};r.prototype.$VideoAssetInsightsBarList5=function(t,u,v){'use strict';var w=c('joinClasses')(t.className,"_4-o6"+(this.state.highlightedBarIndex===v?' '+"_5xe2":'')),x=[],y=t.data.length;t.data.map(function(z,aa){x=x.concat(this.$VideoAssetInsightsBarList4(t,z,u+aa,c('joinClasses')(w,(aa===0?"_5xe9":'')+(aa===y-1?' '+"_5xea":'')),aa==0));}.bind(this));return x;};r.prototype.$VideoAssetInsightsBarList6=function(t){'use strict';return (c('React').createElement(m,{colSpan:4,key:t,className:"_3550"},c('React').createElement('div',{className:"_4-qk"})));};r.prototype.$VideoAssetInsightsBarList7=function(t,u,v){'use strict';var w=void 0;if(t.isSelectable)w=c('React').createElement(c('VideoAssetInsightsBreakdownOption.react'),{selected:t.selected,highlighted:this.state.highlightedBarIndex===v});var x=c('joinClasses')(t.className,"_4-o6"+(' '+"_355g")+(this.state.highlightedBarIndex===v?' '+"_5xe2":''));return (c('React').createElement(m,{key:u,rowSpan:t.data.length,className:x},w));};r.prototype.$VideoAssetInsightsBarList8=function(t){'use strict';var u=[],v=t.length;t.map(function(w,x){u.push(this.$VideoAssetInsightsBarList7(w,'selector'+x,x));u=u.concat(this.$VideoAssetInsightsBarList5(w,'bar'+x,x));if(x<v-1)u.push(this.$VideoAssetInsightsBarList6('separator'+x));}.bind(this));return (c('React').createElement(c('Grid.react'),{cols:4,spacing:'pas'},u));};r.prototype.$VideoAssetInsightsBarList9=function(t){'use strict';var u=0;return t.map(function(v,w){var x=v.data.length*p+q,y=void 0;if(v.tooltip||v.isSelectable){y=c('React').createElement('div',{className:"_5xeo"+(this.state.highlightedBarIndex===w?' '+"_5xep":''),key:'barOverlay'+w,onClick:function z(){if(v.onSelectToggle)v.onSelectToggle(!v.selected);},onMouseEnter:v.isSelectable?function(){return this.setState({highlightedBarIndex:w});}.bind(this):null,onMouseLeave:v.isSelectable?function(){return this.setState({highlightedBarIndex:-1});}.bind(this):null,role:'button',style:{top:u+'px',height:x+'px'},tabIndex:'0'});if(v.tooltip)y=c('React').createElement(c('Tooltip.react'),{tooltip:v.tooltip,key:'barOverlay'+w},y);}u+=x;return y;}.bind(this));};r.prototype.render=function(){'use strict';var t=c('React').Children.map(this.props.children,function(u){return u&&u.props;}).filter(function(u){return !!u;});return (c('React').createElement('div',{className:c('joinClasses')(this.props.className,"_4-sc")},this.$VideoAssetInsightsBarList9(t),this.$VideoAssetInsightsBarList8(t)));};k=babelHelpers.inherits(s,c('React').Component);l=k&&k.prototype;s.prototype.render=function(){'use strict';return null;};function s(){'use strict';k.apply(this,arguments);}r.VideoAssetInsightsBar=s;f.exports=r;}),null);
  __d('VideoAssetInsightsDailyGraph.react',['ix','cx','fbt','BUIInsightsLegendChart.react','BUIInsightsLineAreaChart.react','CandelaConstants','CandelaStyleSheet','Image.react','immutable','InsightsFormatterFactories','React','Timezone','VideoAssetInsightsConfig','XUIText.react','fbglyph','formatDate','CandelaGroupScaleBuilder','intlNumUtils'],(function a(b,c,d,e,f,g,h,i,j){var k,l,m=c('CandelaGroupScaleBuilder').group,n=c('Timezone').UTC,o=c('CandelaConstants').Orientation,p=c('immutable').Map,q=c('immutable').OrderedSet,r=178,s=332,t=c('CandelaStyleSheet').fromJS({'axis[orientation="vertical"]':{width:50},chart:{paddingRight:25}}),u=1000,v=2,w=60*60*24;k=babelHelpers.inherits(x,c('React').Component);l=k&&k.prototype;function x(y){'use strict';l.constructor.call(this,y);this.state={dataKeys:Object.keys(y.config),hasNoData:true,showLifetimeDailyMetrics:c('VideoAssetInsightsConfig').getShowLifetimeDailyMetrics()};}x.prototype.componentWillReceiveProps=function(y){'use strict';this.setState({dataKeys:Object.keys(y.config)});};x.prototype.$VideoAssetInsightsDailyGraph2=function(y,z){'use strict';if(this.state.dataKeys.indexOf(z||'')>=0){return function(aa){return c('intlNumUtils').formatNumberWithThousandDelimiters(aa);};}else return function(aa){return aa===this.$VideoAssetInsightsDailyGraph1?'\u00a0':this.$VideoAssetInsightsDailyGraph3(aa);}.bind(this);};x.prototype.$VideoAssetInsightsDailyGraph4=function(y,z){'use strict';var aa=c('InsightsFormatterFactories').axisMarkFormatterFactory(y,z);if(z===o.HORIZONTAL){return function(ba){return ba.instant===this.$VideoAssetInsightsDailyGraph1+1?'\u00a0':this.$VideoAssetInsightsDailyGraph3(ba.getUnixTimestampSeconds());}.bind(this);}else return aa;};x.prototype.$VideoAssetInsightsDailyGraph3=function(y){'use strict';return c('formatDate')(new Date(y*u),'M j');};x.prototype.$VideoAssetInsightsDailyGraph5=function(){'use strict';var y=this.props.data[this.state.dataKeys[0]];if(y.startTime===y.endTime)return this.$VideoAssetInsightsDailyGraph3(y.startTime);return (this.$VideoAssetInsightsDailyGraph3(y.startTime)+' - '+this.$VideoAssetInsightsDailyGraph3(y.endTime));};x.prototype.$VideoAssetInsightsDailyGraph6=function(){'use strict';return q(this.state.dataKeys.map(function(y){return {key:y,label:this.props.config[y].label};}.bind(this)));};x.prototype.$VideoAssetInsightsDailyGraph7=function(){'use strict';var y={x:{type:'time',timezoneID:n}};this.state.dataKeys.map(function(z){y[z]={renderAs:'line',type:'number'};});return y;};x.prototype.$VideoAssetInsightsDailyGraph8=function(){var y,z=this;'use strict';var aa=this.props.data,ba=this.state.dataKeys,ca=Object.keys(aa[ba[0]].values),da=true,ea=ca.map(function(fa){var ga={x:Number(fa)};ba.map(function(ha){ga[ha]=aa[ha].values[fa];da=da&&ga[ha]===0;});return ga;});if(this.state.hasNoData!==da)this.setState({hasNoData:da});if(this.state.showLifetimeDailyMetrics&&ea.length<=v)(function(){z.$VideoAssetInsightsDailyGraph1=aa[ba[0]].startTime-w;var fa={x:z.$VideoAssetInsightsDailyGraph1};ba.map(function(ga){fa[ga]=0;});ea.unshift(fa);})();return ea;};x.prototype.$VideoAssetInsightsDailyGraph9=function(){'use strict';var y=this.props.config,z={};this.state.dataKeys.forEach(function(aa){if(!y[aa].color)return;z[aa]=y[aa].color;});return p(z);};x.prototype.$VideoAssetInsightsDailyGraph10=function(){'use strict';var y=this.props.config[this.state.dataKeys[0]];return (c('React').createElement('div',null,c('React').createElement(c('XUIText.react'),{className:"_hpy",display:'block'},'--'),c('React').createElement('div',{className:"_hpz"},y.label),c('React').createElement('div',{className:"_hp-"},c('React').createElement(c('Image.react'),{className:"_hp_",src:h("143235")}),c('React').createElement(c('XUIText.react'),{className:"_hq0",display:'block'},j._("There has been no viewership activity. {line break} Check back again soon.",[j.param('line break',c('React').createElement('br',null))])))));};x.prototype.renderWithLifetimeDailyMetrics=function(){'use strict';var y=this.props.data[this.state.dataKeys[0]],z=[m.apply(undefined,this.state.dataKeys).from(0).stepCountHint(3)],aa=this.$VideoAssetInsightsDailyGraph8();if(this.state.hasNoData)return this.$VideoAssetInsightsDailyGraph10();var ba=this.$VideoAssetInsightsDailyGraph1?this.$VideoAssetInsightsDailyGraph1+1:y.startTime,ca=this.$VideoAssetInsightsDailyGraph1?.99:.2;return (c('React').createElement(c('BUIInsightsLegendChart.react'),{className:"_kd9",title:this.$VideoAssetInsightsDailyGraph5(),titleKey:'x',items:this.$VideoAssetInsightsDailyGraph6(),formatterFactory:this.$VideoAssetInsightsDailyGraph2.bind(this)},c('React').createElement(c('BUIInsightsLineAreaChart.react'),{autoColors:this.$VideoAssetInsightsDailyGraph9(),data:aa,plotX:m('x').from(ba).to(y.endTime).extendInput(0,ca),plotY:z,schema:this.$VideoAssetInsightsDailyGraph7(),height:r,width:s,styleSheet:t,axisMarkFormatterFactory:this.$VideoAssetInsightsDailyGraph4.bind(this)})));};x.prototype.renderWithoutLifetimeDailyMetrics=function(){'use strict';if(this.props.noData)return this.$VideoAssetInsightsDailyGraph10();var y=this.props.data[this.state.dataKeys[0]],z=[m.apply(undefined,this.state.dataKeys).from(0).stepCountHint(3)];return (c('React').createElement(c('BUIInsightsLegendChart.react'),{className:"_kd9",title:this.$VideoAssetInsightsDailyGraph5(),titleKey:'x',items:this.$VideoAssetInsightsDailyGraph6(),formatterFactory:this.$VideoAssetInsightsDailyGraph2.bind(this)},c('React').createElement(c('BUIInsightsLineAreaChart.react'),{autoColors:this.$VideoAssetInsightsDailyGraph9(),data:this.$VideoAssetInsightsDailyGraph8(),plotX:m('x').from(y.startTime).to(y.endTime).extendInput(0,.2).stepCountHint(4),plotY:z,schema:this.$VideoAssetInsightsDailyGraph7(),height:r,width:s,styleSheet:t})));};x.prototype.render=function(){'use strict';return this.state.showLifetimeDailyMetrics?this.renderWithLifetimeDailyMetrics():this.renderWithoutLifetimeDailyMetrics();};f.exports=x;}),null);
  __d('VideoAssetInsightsInfo.react',['ix','cx','Image.react','React','Tooltip.react','fbglyph','joinClasses'],(function a(b,c,d,e,f,g,h,i){var j,k;j=babelHelpers.inherits(l,c('React').Component);k=j&&j.prototype;l.prototype.render=function(){'use strict';return (c('React').createElement(c('Tooltip.react'),{className:c('joinClasses')(this.props.className,"_1zn9"),tooltip:this.props.tooltip,alignH:this.props.alignH},c('React').createElement(c('Image.react'),{src:h("123133")})));};function l(){'use strict';j.apply(this,arguments);}l.defaultProps={alignH:'center'};f.exports=l;}),null);
  __d('VideoAssetInsightsMetricsNavigationBar.react',['ix','cx','Image.react','React','PopoverMenu.react','ReactXUIMenu','Tooltip.react','fbglyph'],(function a(b,c,d,e,f,g,h,i){var j,k,l=c('ReactXUIMenu').Item;j=babelHelpers.inherits(m,c('React').Component);k=j&&j.prototype;m.prototype.$VideoAssetInsightsMetricsNavigationBar1=function(n){'use strict';var o=this.props.siblings[n];if(this.props.currentCardKey===n){return (c('React').createElement('div',{role:'menuitem'},c('React').createElement(c('Image.react'),{className:"_2muu",src:h("141802")}),c('React').createElement('span',{className:"_2muv"},o.label)));}else if(o.disabled||o.unselectable){var p=c('React').createElement('div',{className:"_2mv1 _1j8i"},o.label);if(o.disabledTooltip)return (c('React').createElement(c('Tooltip.react'),{alignH:'center',tooltip:c('React').createElement('span',null,o.disabledTooltip)},p));return p;}else return (c('React').createElement('div',{className:"_2mv1",role:'menuitem'},o.label));};m.prototype.render=function(){'use strict';var n=c('React').createElement(c('ReactXUIMenu'),{className:"_2mv2",withsquarecorner:false},Object.keys(this.props.siblings).map(function(o){return (c('React').createElement(l,{key:o,onclick:this.props.siblings[o].disabled||this.props.siblings[o].unselectable?null:function(){return this.props.onSiblingClick(o);}.bind(this)},this.$VideoAssetInsightsMetricsNavigationBar1(o)));}.bind(this)));return (c('React').createElement('div',{className:"_4e4g"},c('React').createElement('div',{className:"_2ibj"},c('React').createElement('div',{className:"_2mv4"},c('React').createElement(c('Image.react'),{className:"_2mv5",onClick:this.props.onBackClick,src:h("141552")}),c('React').createElement(c('PopoverMenu.react'),{className:"_2mv6",menu:n,alignv:'top'},c('React').createElement('div',null,c('React').createElement('span',{className:"_4i12"},this.props.metric),c('React').createElement(c('Image.react'),{className:"_2mv7",src:h("142926")})))),c('React').createElement('div',{className:"_2mv8"},this.props.value))));};function m(){'use strict';j.apply(this,arguments);}f.exports=m;}),null);
  __d("VideoInsightsConstants",[],(function a(b,c,d,e,f,g){var h={VIDEO_SOUND_METRICS_AVAILABLE_TIME:1454659200};f.exports=h;}),null);
  __d('VideoAssetInsightsViewsCard.react',['cx','fbt','LayoutScrollableGrid.react','LayoutScrollableGridRow.react','LayoutScrollableGridStickyMode','React','VideoAssetInsightsBarList.react','VideoAssetInsightsConfig','VideoAssetInsightsConstants','VideoAssetInsightsDailyGraph.react','VideoAssetInsightsEvents','VideoAssetInsightsInfo.react','VideoAssetInsightsMetricsNavigationBar.react','VideoAssetInsightsTypedLogger','VideoInsightsConstants','XUICloseButton.react','formatDate','intlNumUtils'],(function a(b,c,d,e,f,g,h,i){var j,k,l=c('VideoAssetInsightsBarList.react').VideoAssetInsightsBar,m=383,n=230,o=1000,p=100;j=babelHelpers.inherits(q,c('React').Component);k=j&&j.prototype;function q(r){'use strict';k.constructor.call(this,r);this.state={showBreakdown:false,canScrollUp:false,showScrollNux:false,dismissScrollNux:false,bottomNoticeHeight:0};}q.prototype.componentDidMount=function(){'use strict';if(this.refs.bottomNotice)this.setState({bottomNoticeHeight:this.refs.bottomNotice.offsetHeight});if(this.$VideoAssetInsightsViewsCard1())setTimeout(function(){return this.setState({showScrollNux:true});}.bind(this),o);};q.prototype.componentDidUpdate=function(r,s){'use strict';if(this.state.dismissScrollNux&&!s.dismissScrollNux)setTimeout(function(){return this.setState({showScrollNux:false});}.bind(this),p);};q.prototype.$VideoAssetInsightsViewsCard2=function(){'use strict';return ([{rawValue:this.props.viewsAutoplayed.value,formattedValue:this.props.viewsAutoplayed.text,label:i._("Auto-Played")},{rawValue:this.props.viewsClickedToPlay.value,formattedValue:this.props.viewsClickedToPlay.text,label:i._("Clicked-to-Play")}]);};q.prototype.$VideoAssetInsightsViewsCard3=function(){'use strict';return ([{rawValue:this.props.viewsOrganic.value,formattedValue:this.props.viewsOrganic.text,label:i._("Organic"),color:c('VideoAssetInsightsConstants').AUTO_PLAY_RETENTION_CHART_COLOR},{rawValue:this.props.viewsPaid.value,formattedValue:this.props.viewsPaid.text,label:i._("Paid"),color:c('VideoAssetInsightsConstants').CLICK_TO_PLAY_RETENTION_CHART_COLOR}]);};q.prototype.$VideoAssetInsightsViewsCard4=function(){'use strict';if(!this.props.viewsLive||!this.props.viewsReplay)return [];return ([{rawValue:this.props.viewsLive.value,formattedValue:this.props.viewsLive.text,label:i._("Live"),tooltip:i._("Views while video was broadcasting live."),color:c('VideoAssetInsightsConstants').AUTO_PLAY_RETENTION_CHART_COLOR},{rawValue:this.props.viewsReplay.value,formattedValue:this.props.viewsReplay.text,label:i._("Replay"),tooltip:i._("Video views after the live broadcast ended."),color:c('VideoAssetInsightsConstants').CLICK_TO_PLAY_RETENTION_CHART_COLOR}]);};q.prototype.$VideoAssetInsightsViewsCard5=function(){'use strict';return ([{rawValue:this.props.uniqueViewers.value,formattedValue:this.props.uniqueViewers.text,label:i._("Unique")},{rawValue:this.props.viewsRepeat.value,formattedValue:this.props.viewsRepeat.text,label:i._("Repeat")}]);};q.prototype.$VideoAssetInsightsViewsCard6=function(){'use strict';return ([{rawValue:this.props.viewsSoundOn.value,formattedValue:this.props.viewsSoundOn.text,label:i._("Sound On")},{rawValue:this.props.viewsSoundOff.value,formattedValue:this.props.viewsSoundOff.text,label:i._("Sound Off")}]);};q.prototype.$VideoAssetInsightsViewsCard7=function(){'use strict';var r=[];if(this.props.viewsPageOwned&&this.props.viewsPageOwned.value>=0)r.push({rawValue:this.props.viewsPageOwned.value,formattedValue:this.props.viewsPageOwned.text,label:i._("Page Owned")});if(this.props.viewsShared&&this.props.viewsShared.value>=0)r.push({rawValue:this.props.viewsShared.value,formattedValue:this.props.viewsShared.text,label:i._("Shared")});if(this.props.viewsCrossposted&&this.props.viewsCrossposted.value>=0)r.push({rawValue:this.props.viewsCrossposted.value,formattedValue:this.props.viewsCrossposted.text,label:i._("Crossposted")});return r;};q.prototype.$VideoAssetInsightsViewsCard8=function(){'use strict';if(!this.state.showBreakdown)this.$VideoAssetInsightsViewsCard9(c('VideoAssetInsightsEvents').DAILY_VIEWS_BREAKDOWN_ORGANIC_PAID);this.setState({showBreakdown:!this.state.showBreakdown});};q.prototype.$VideoAssetInsightsViewsCard9=function(event){'use strict';new (c('VideoAssetInsightsTypedLogger'))().setVideoOrAssetID(this.props.loggerData.videoID).setSource(this.props.loggerData.source).setEvent(event).setPageID(this.props.loggerData.pageID).setCurrentMetricCard(this.props.metricCard).log();};q.prototype.$VideoAssetInsightsViewsCard10=function(){'use strict';return !!this.props.viewsPaid.value&&!c('VideoAssetInsightsConfig').getHideOrganicAndPaidMetrics();};q.prototype.$VideoAssetInsightsViewsCard11=function(){'use strict';return (!!this.props.viewsPageOwned&&this.props.viewsPageOwned.value>=0||!!this.props.viewsShared&&this.props.viewsShared.value>=0||!!this.props.viewsCrossposted&&this.props.viewsCrossposted.value>=0);};q.prototype.$VideoAssetInsightsViewsCard12=function(){'use strict';var r=0;if(this.props.viewsPageOwned&&this.props.viewsPageOwned.value>=0)r++;if(this.props.viewsShared&&this.props.viewsShared.value>=0)r++;if(this.props.viewsCrossposted&&this.props.viewsCrossposted.value>=0)r++;return r;};q.prototype.$VideoAssetInsightsViewsCard13=function(){'use strict';var r=null,s=this.props.views.value,t='';if(this.props.earliestPostCreationTime&&this.props.earliestPostCreationTime<=c('VideoInsightsConstants').VIDEO_SOUND_METRICS_AVAILABLE_TIME){r="_4d5r";s=0;t=i._("Sound On\/Off data available for video created after Feb 5th, 2016");}return (c('React').createElement(l,{data:this.$VideoAssetInsightsViewsCard6(),totalValue:s,className:r,tooltip:t}));};q.prototype.$VideoAssetInsightsViewsCard14=function(){'use strict';return (!!this.props.isBroadcast&&!!this.props.viewsLive&&!!this.props.viewsReplay);};q.prototype.$VideoAssetInsightsViewsCard15=function(){'use strict';if(!this.$VideoAssetInsightsViewsCard14()||!this.props.viewsLive)return null;var r=c('VideoAssetInsightsConfig').getLiveBreakdownAvailableTime(),s=this.props.views.value,t=void 0,u=void 0;if(this.props.earliestPostCreationTime<=r){var v=c('formatDate')(r,'M j, Y');t="_4d5r";s=0;u=i._("Live\/Replay data available for videos created after {date}",[i.param('date',v)]);}return (c('React').createElement(l,{data:this.$VideoAssetInsightsViewsCard4(),totalValue:s,className:t,tooltip:u}));};q.prototype.$VideoAssetInsightsViewsCard16=function(){'use strict';var r=void 0;if(this.state.showBreakdown){r={viewsOrganicDaily:{label:i._("Organic"),color:c('VideoAssetInsightsConstants').AUTO_PLAY_RETENTION_CHART_COLOR},viewsPaidDaily:{label:i._("Paid"),color:c('VideoAssetInsightsConstants').CLICK_TO_PLAY_RETENTION_CHART_COLOR}};}else r={viewsDaily:{label:this.props.label}};return (c('React').createElement('div',{className:"_4rcw"},c('React').createElement(c('VideoAssetInsightsDailyGraph.react'),{data:{viewsDaily:this.props.viewsDaily,viewsOrganicDaily:this.props.viewsOrganicDaily,viewsPaidDaily:this.props.viewsPaidDaily},config:r,noData:!this.$VideoAssetInsightsViewsCard17()})));};q.prototype.$VideoAssetInsightsViewsCard17=function(){'use strict';var r=c('VideoAssetInsightsConfig').getDailyViewsAvailableTime();return this.props.viewsDaily.startTime>r;};q.prototype.$VideoAssetInsightsViewsCard18=function(r,s){'use strict';var t=s>0;if(t===this.state.canScrollUp)return;this.setState({canScrollUp:t,dismissScrollNux:true});};q.prototype.$VideoAssetInsightsViewsCard19=function(){'use strict';var r=[2];if(this.$VideoAssetInsightsViewsCard10())r.push(2);if(this.$VideoAssetInsightsViewsCard14())r.push(2);if(this.$VideoAssetInsightsViewsCard11())r.push(this.$VideoAssetInsightsViewsCard12());var s=c('VideoAssetInsightsBarList.react').getHeight(r);return Math.max(s,this.$VideoAssetInsightsViewsCard20()-n);};q.prototype.$VideoAssetInsightsViewsCard1=function(){'use strict';return n+this.$VideoAssetInsightsViewsCard19()>this.$VideoAssetInsightsViewsCard20();};q.prototype.$VideoAssetInsightsViewsCard20=function(){'use strict';return m-this.state.bottomNoticeHeight;};q.prototype.$VideoAssetInsightsViewsCard21=function(){'use strict';var r=this.$VideoAssetInsightsViewsCard10()?c('React').createElement(l,{data:this.$VideoAssetInsightsViewsCard3(),totalValue:this.props.views.value,applyColors:this.state.showBreakdown,isSelectable:this.$VideoAssetInsightsViewsCard17(),selected:this.state.showBreakdown,onSelectToggle:this.$VideoAssetInsightsViewsCard8.bind(this)}):null,s=c('VideoAssetInsightsConfig').getShowSoundOnMetrics()?this.$VideoAssetInsightsViewsCard13():null;return (c('React').createElement(c('LayoutScrollableGrid.react'),{stickyMode:c('LayoutScrollableGridStickyMode').ATTACH,width:362,height:this.$VideoAssetInsightsViewsCard20(),onScroll:this.$VideoAssetInsightsViewsCard18.bind(this)},c('React').createElement(c('LayoutScrollableGridRow.react'),{height:n,stickyOffset:0},this.$VideoAssetInsightsViewsCard16()),c('React').createElement(c('LayoutScrollableGridRow.react'),{height:this.$VideoAssetInsightsViewsCard19()},c('React').createElement(c('VideoAssetInsightsBarList.react'),null,this.$VideoAssetInsightsViewsCard15(),r,s,c('React').createElement(l,{data:this.$VideoAssetInsightsViewsCard7(),totalValue:this.props.views.value})))));};q.prototype.$VideoAssetInsightsViewsCard22=function(){'use strict';return (c('React').createElement('div',{className:"_2ox"+(this.state.showScrollNux?' '+"_2x1":'')+(this.state.dismissScrollNux?' '+"_2x2":'')},c('React').createElement('div',null,c('React').createElement('span',{className:"_2x4"},i._("Scroll for more breakdowns"),c('React').createElement(c('XUICloseButton.react'),{shade:'light',className:"_2x5",onClick:function(){return this.setState({dismissScrollNux:true});}.bind(this)}))),c('React').createElement('div',{className:"_2x6"},c('React').createElement('span',{className:"_2x7"}))));};q.prototype.$VideoAssetInsightsViewsCard23=function(){'use strict';return c('VideoAssetInsightsConfig').getHideOrganicAndPaidMetrics()?c('React').createElement('div',{className:"_1hd1",ref:'bottomNotice'},i._("This metric shows total video activity for this video from organic distribution and any paid distribution managed by your Page or other Pages.")):null;};q.prototype.render=function(){'use strict';var r=void 0;if(c('VideoAssetInsightsConfig').getShowCardTooltips())r=c('React').createElement(c('VideoAssetInsightsInfo.react'),{className:"_4qbz",alignH:'right',tooltip:this.props.tooltip});return (c('React').createElement('div',null,c('React').createElement('div',{className:"_2qos"+(this.state.canScrollUp?' '+"_4rcx":'')+(this.state.showBreakdown?' '+"_4d5u":'')},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:this.props.label,value:c('intlNumUtils').formatNumberWithThousandDelimiters(this.props.views.value),onBackClick:this.props.onBackClick,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick,currentCardKey:this.props.currentCardKey}),r,this.$VideoAssetInsightsViewsCard21(),this.$VideoAssetInsightsViewsCard22()),this.$VideoAssetInsightsViewsCard23()));};f.exports=q;}),null);
  __d('VideoAssetInsights10sViewsCard.react',['fbt','React','VideoAssetInsightsConfig','VideoAssetInsightsMetricCards','VideoAssetInsightsViewsCard.react'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.render=function(){'use strict';return (c('React').createElement(c('VideoAssetInsightsViewsCard.react'),{label:k.LABEL,views:this.props.data.views10s,viewsDaily:this.props.data.views10sDaily,viewsAutoplayed:this.props.data.views10sAutoplayed,viewsClickedToPlay:this.props.data.views10sClickedToPlay,viewsOrganic:this.props.data.views10sOrganic,viewsOrganicDaily:this.props.data.views10sOrganicDaily,viewsPaid:this.props.data.views10sPaid,viewsPaidDaily:this.props.data.views10sPaidDaily,uniqueViewers:this.props.data.views10sUnique,viewsRepeat:this.props.data.views10sRepeat,viewsSoundOn:this.props.data.views10sSoundOn,viewsSoundOff:this.props.data.views10sSoundOff,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick,onBackClick:this.props.onBackClick,earliestPostCreationTime:this.props.earliestPostCreationTime,loggerData:this.props.loggerData,metricCard:c('VideoAssetInsightsMetricCards').VIDEO_VIEWS_10S,tooltip:c('VideoAssetInsightsConfig').getShowNewInsightsDialogTooltips()?h._("The number of times your video was watched for at least 10 seconds, or for nearly its total length, whichever happened first."):h._("10 Second Views shows the total number of people who watched 10 seconds or more of your video each day")}));};function k(){'use strict';i.apply(this,arguments);}k.LABEL=h._("10-Second Views");f.exports=k;}),null);
  __d('VideoAssetInsights3sViewsCard.react',['fbt','React','VideoAssetInsightsConfig','VideoAssetInsightsMetricCards','VideoAssetInsightsViewsCard.react'],(function a(b,c,d,e,f,g,h){var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;k.prototype.render=function(){'use strict';return (c('React').createElement(c('VideoAssetInsightsViewsCard.react'),{label:k.LABEL,views:this.props.data.views,viewsDaily:this.props.data.viewsDaily,viewsAutoplayed:this.props.data.viewsAutoplayed,viewsClickedToPlay:this.props.data.viewsClickedToPlay,viewsOrganic:this.props.data.viewsOrganic,viewsOrganicDaily:this.props.data.viewsOrganicDaily,viewsPaid:this.props.data.viewsPaid,viewsPaidDaily:this.props.data.viewsPaidDaily,viewsLive:this.props.data.viewsLive,viewsReplay:this.props.data.viewsReplay,uniqueViewers:this.props.data.uniqueViewers,viewsRepeat:this.props.data.viewsRepeat,viewsSoundOn:this.props.data.viewsSoundOn,viewsSoundOff:this.props.data.viewsSoundOff,viewsPageOwned:this.props.data.viewsPageOwned,viewsShared:this.props.data.viewsShared,viewsCrossposted:this.props.data.viewsCrossposted,isBroadcast:this.props.isBroadcast,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick,onBackClick:this.props.onBackClick,earliestPostCreationTime:this.props.earliestPostCreationTime,loggerData:this.props.loggerData,metricCard:c('VideoAssetInsightsMetricCards').VIDEO_VIEWS,tooltip:c('VideoAssetInsightsConfig').getShowNewInsightsDialogTooltips()?h._("The number of times your video was watched for an aggregate of at least 3 seconds, or for nearly its total length, whichever happened first."):h._("Video Views shows the total number of people who watched 3 seconds or more of your video each day")}));};function k(){'use strict';i.apply(this,arguments);}k.LABEL=h._("Video Views");f.exports=k;}),null);
  __d('VideoAssetInsightsAudienceRetention.react',['cx','fbt','CandelaConstants','immutable','InsightsFormatterFactories','InsightsFormatters','BUIInsightsLegendChart.react','BUIInsightsLineAreaChart.react','React','VideoAssetInsightsConfig','VideoAssetInsightsConstants','VideoUtils','CandelaGroupScaleBuilder'],(function a(b,c,d,e,f,g,h,i){var j,k,l=c('CandelaGroupScaleBuilder').group,m=c('CandelaConstants').Orientation,n=c('immutable').Map,o=c('immutable').OrderedSet,p=n({autoplayed:c('VideoAssetInsightsConstants').AUTO_PLAY_RETENTION_CHART_COLOR,clickedToPlay:c('VideoAssetInsightsConstants').CLICK_TO_PLAY_RETENTION_CHART_COLOR}),q=178,r=332;j=babelHelpers.inherits(s,c('React').Component);k=j&&j.prototype;s.prototype.$VideoAssetInsightsAudienceRetention1=function(){'use strict';var t=this.props.data.viewsRetentionGraph,u=this.props.data.viewsRetentionGraphAutoplayed,v=this.props.data.viewsRetentionGraphClickedToPlay,w=Object.keys(t).map(function(z){return {x:z,autoplayed:u[z],clickedToPlay:v[z]};}),x={x:{label:i._("Video Duration"),type:'number'},autoplayed:{label:i._("Auto-Played"),renderAs:'line',type:'percentage'},clickedToPlay:{label:i._("Clicked-To-Play"),renderAs:'line',type:'percentage'}},y=o([{key:'autoplayed',label:i._("Auto-Played")},{key:'clickedToPlay',label:i._("Clicked-To-Play")}]);return (c('React').createElement('div',null,c('React').createElement(c('BUIInsightsLegendChart.react'),{auxiliaryItems:this.props.auxiliaryItems,title:this.$VideoAssetInsightsAudienceRetention2(),titleKey:'x',items:y,className:"_1rk5",formatterFactory:this.$VideoAssetInsightsAudienceRetention3.bind(this)},c('React').createElement(c('BUIInsightsLineAreaChart.react'),{autoColors:p,data:w,plotX:l('x').from(0).stepCountHint(4),plotY:[l('autoplayed','clickedToPlay').from(0).stepCountHint(3)],axisMarkFormatterFactory:this.$VideoAssetInsightsAudienceRetention4.bind(this),schema:x,height:q,width:r,onMouseOver:this.$VideoAssetInsightsAudienceRetention5.bind(this)}))));};s.prototype.$VideoAssetInsightsAudienceRetention2=function(){'use strict';if(c('VideoAssetInsightsConfig').getShowPlayCountBasedAvgWatchTime())return i._("{total video duration} Video - {percentage}\u0025 Average Percent Watched",[i.param('total video duration',c('VideoUtils').formatTime(this.props.videoDurationInSec)),i.param('percentage',this.props.data.avgPercentComplete)]);return i._("{average time watched} \/ {total video duration}",[i.param('average time watched',c('VideoUtils').formatTime(this.props.data.avgTimeWatched)),i.param('total video duration',c('VideoUtils').formatTime(this.props.videoDurationInSec))]);};s.prototype.$VideoAssetInsightsAudienceRetention4=function(t,u){'use strict';if(u===c('CandelaConstants').Orientation.VERTICAL){return function(v){return (c('InsightsFormatters').percentageFormatter(Math.floor(v*100)/100));};}else if(u===m.HORIZONTAL){return function(v){return String(this.$VideoAssetInsightsAudienceRetention6(c('VideoUtils').convertRetentionValue(v,this.props.data.viewsRetentionGraph,this.props.videoDurationInSec)));}.bind(this);}else return c('InsightsFormatterFactories').axisMarkFormatterFactory(t,u);};s.prototype.$VideoAssetInsightsAudienceRetention6=function(t){'use strict';if(t<60){return i._("{Value in seconds}s",[i.param('Value in seconds',t)]);}else{var u=Math.floor(t/60),v=t%60;if(v===0)return i._("{Value in minutes}m",[i.param('Value in minutes',u)]);return i._("{Value in minutes}m {Value in seconds}s",[i.param('Value in minutes',u),i.param('Value in seconds',v)]);}};s.prototype.$VideoAssetInsightsAudienceRetention3=function(t,u){'use strict';if(u==='y'||u==='autoplayed'||u==='clickedToPlay'){return c('InsightsFormatterFactories').legendFormatterFactory(t,u);}else return function(v){var w=c('VideoUtils').convertRetentionValue(Number(v),this.props.data.viewsRetentionGraph,this.props.videoDurationInSec);return (c('VideoUtils').formatTime(w)+' / '+c('VideoUtils').formatTime(this.props.videoDurationInSec));}.bind(this);};s.prototype.$VideoAssetInsightsAudienceRetention5=function(event){'use strict';var t=c('VideoUtils').convertRetentionValue(Number(event.data.x.value),this.props.data.viewsRetentionGraph,this.props.videoDurationInSec);this.props.onChartHover(t);};s.prototype.$VideoAssetInsightsAudienceRetention7=function(){'use strict';var t=this.props.data.viewsRetentionGraph,u=Object.keys(t).map(function(x){return {x:x,y:t[x]};}),v={x:{label:i._("Video Duration"),type:'number'},y:{label:i._("Audience Retention"),renderAs:'line',type:'percentage'}},w=o([{key:'y',label:i._("Audience Retention")}]);return (c('React').createElement(c('BUIInsightsLegendChart.react'),{auxiliaryItems:this.props.auxiliaryItems,className:"_1-pc",title:this.$VideoAssetInsightsAudienceRetention2(),titleKey:'x',items:w,formatterFactory:this.$VideoAssetInsightsAudienceRetention3.bind(this)},c('React').createElement(c('BUIInsightsLineAreaChart.react'),{annotations:this.props.annotations,styleSheet:this.props.styleSheet,data:u,plotX:l('x').from(0).stepCountHint(4),plotY:[l('y').from(0).stepCountHint(3)],axisMarkFormatterFactory:this.$VideoAssetInsightsAudienceRetention4.bind(this),schema:v,height:q,width:r,onMouseEnter:this.props.onChartMouseEnter,onMouseOver:this.$VideoAssetInsightsAudienceRetention5.bind(this)})));};s.prototype.render=function(){'use strict';if(this.props.showBreakdown){return this.$VideoAssetInsightsAudienceRetention1();}else return this.$VideoAssetInsightsAudienceRetention7();};function s(){'use strict';j.apply(this,arguments);}f.exports=s;}),null);
  __d('VideoAssetInsightsAvgTimeWatchedCard.react',['ix','cx','fbt','AsyncRequest','Grid.react','Image.react','React','VideoAssetInsightsAudienceRetention.react','VideoAssetInsightsBarList.react','VideoAssetInsightsConfig','VideoAssetInsightsConstants','VideoAssetInsightsEvents','VideoAssetInsightsInfo.react','VideoAssetInsightsMetricCards','VideoAssetInsightsMetricsNavigationBar.react','VideoAssetInsightsTypedLogger','VideoUtils','XBasicFBNuxViewController','XUINotice.react','XUIText.react','fbglyph'],(function a(b,c,d,e,f,g,h,i,j){var k,l,m=c('VideoAssetInsightsBarList.react').VideoAssetInsightsBar,n=c('Grid.react').GridItem,o=4282;k=babelHelpers.inherits(p,c('React').Component);l=k&&k.prototype;p.getMetricValue=function(q,r){'use strict';if(r)return '--';return c('VideoUtils').formatTime(q.avgTimeWatched);};function p(q){'use strict';l.constructor.call(this,q);this.state={showBreakdown:false,showAvgCompletionNoticeNUX:c('VideoAssetInsightsConfig').getShowAvgCompletionNoticeNUX()};}p.prototype.componentDidMount=function(){'use strict';if(this.state.showAvgCompletionNoticeNUX)this.$VideoAssetInsightsAvgTimeWatchedCard1();};p.prototype.$VideoAssetInsightsAvgTimeWatchedCard1=function(){'use strict';var q=c('XBasicFBNuxViewController').getURIBuilder().setInt('nux_id',o).getURI();new (c('AsyncRequest'))().setURI(q).send();};p.prototype.$VideoAssetInsightsAvgTimeWatchedCard2=function(){'use strict';if(!this.state.showBreakdown)this.$VideoAssetInsightsAvgTimeWatchedCard3(c('VideoAssetInsightsEvents').AUDIENCE_RETENTION_BREAKDOWN_AUTO_AND_CLICKED_TO_PLAY);this.setState({showBreakdown:!this.state.showBreakdown});};p.prototype.$VideoAssetInsightsAvgTimeWatchedCard3=function(event){'use strict';new (c('VideoAssetInsightsTypedLogger'))().setVideoOrAssetID(this.props.loggerData.videoID).setSource(this.props.loggerData.source).setEvent(event).setPageID(this.props.loggerData.pageID).setCurrentMetricCard(c('VideoAssetInsightsMetricCards').AUDIENCE_RETENTION).log();};p.prototype.$VideoAssetInsightsAvgTimeWatchedCard4=function(){'use strict';c('VideoAssetInsightsConfig').setShowAvgCompletionNoticeNUX(false);this.setState({showAvgCompletionNoticeNUX:false});};p.prototype.$VideoAssetInsightsAvgTimeWatchedCard5=function(){'use strict';if(!c('VideoAssetInsightsConfig').getShowAvgCompletionNoticeNUX())return null;return (c('React').createElement(c('XUINotice.react'),{size:'small',onDismiss:function(){return this.$VideoAssetInsightsAvgTimeWatchedCard4();}.bind(this)},j._("Average \u0025 completion data for the live video is only available for the post broadcast post.")));};p.prototype.$VideoAssetInsightsAvgTimeWatchedCard6=function(){'use strict';return c('VideoAssetInsightsConfig').getShowNewInsightsDialogTooltips()?j._("Video Average Watch Time is calculated as the total watch time of your video, divided by the total number of video plays. This includes all replays. This metric doesn't count live video sessions."):j._("Video Average Watch Time reflects the total watch time of your video, divided by the total number of video plays. This includes plays that start automatically and on click.");};p.prototype.$VideoAssetInsightsAvgTimeWatchedCard7=function(){'use strict';return this.props.isAmbientLive?j._("Data is unavailable for continuous live videos."):j._("Data is unavailable, check back soon");};p.prototype.render=function(){'use strict';var q=[{rawValue:this.props.data.viewsAutoplayed.value,formattedValue:this.props.data.viewsAutoplayed.text,label:j._("Auto-Played"),color:c('VideoAssetInsightsConstants').AUTO_PLAY_RETENTION_CHART_COLOR},{rawValue:this.props.data.viewsClickedToPlay.value,formattedValue:this.props.data.viewsClickedToPlay.text,label:j._("Clicked-to-Play"),color:c('VideoAssetInsightsConstants').CLICK_TO_PLAY_RETENTION_CHART_COLOR}],r=p.LABEL,s=p.getMetricValue(this.props.data,this.props.isAmbientLive),t=this.$VideoAssetInsightsAvgTimeWatchedCard6(),u=c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:r,value:s,onBackClick:this.props.onBackClick,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick}),v=this.$VideoAssetInsightsAvgTimeWatchedCard5();if(this.props.data.viewsRetentionGraph.length===0)return (c('React').createElement('div',{className:"_2qos"},u,v,c('React').createElement(c('Grid.react'),{cols:1,alignv:'top',align:'center'},c('React').createElement(n,null,c('React').createElement(c('XUIText.react'),{className:"_5vpc",display:'block'},'--')),c('React').createElement(n,null,c('React').createElement('div',{className:"_5vpd"},j._("Audience Retention"))),c('React').createElement(n,null,c('React').createElement('div',{className:"_5vpe"},c('React').createElement(c('Image.react'),{className:"_5vpi",src:h("143235")}),c('React').createElement(c('XUIText.react'),{className:"_5vpk",display:'block'},this.$VideoAssetInsightsAvgTimeWatchedCard7()))))));var w=void 0;if(c('VideoAssetInsightsConfig').getShowCardTooltips())w=c('React').createElement(c('VideoAssetInsightsInfo.react'),{className:"_4qbz",alignH:'right',tooltip:t});return (c('React').createElement('div',{className:"_2qos"},u,v,w,c('React').createElement(c('VideoAssetInsightsAudienceRetention.react'),{data:this.props.data,onChartHover:this.props.onChartHover,showBreakdown:this.state.showBreakdown,videoDurationInSec:this.props.videoDurationInSec}),c('React').createElement(c('VideoAssetInsightsBarList.react'),null,c('React').createElement(m,{data:q,totalValue:this.props.data.views.value,applyColors:this.state.showBreakdown,isSelectable:true,selected:this.state.showBreakdown,onSelectToggle:this.$VideoAssetInsightsAvgTimeWatchedCard2.bind(this),showRawValue:false}))));};p.LABEL=j._("Video Average Watch Time");f.exports=p;}),null);
  __d('VideoAssetInsightsCardsList.react',['ix','cx','Image.react','LeftRight.react','React','ReactDOM','Tooltip.react','XUIAmbientNUX.react','fbglyph'],(function a(b,c,d,e,f,g,h,i){var j,k;j=babelHelpers.inherits(l,c('React').Component);k=j&&j.prototype;function l(m){'use strict';k.constructor.call(this,m);this.$VideoAssetInsightsCardsList5=function(o){var p=this.props.cards[o],q=c('React').createElement(c('Image.react'),{className:"_5f9c",src:p.disabled?this.$VideoAssetInsightsCardsList3(p.iconName):this.$VideoAssetInsightsCardsList2(p.iconName)}),r=this.props.onOptionClick!=null&&!p.unselectable,s=r?c('React').createElement(c('Image.react'),{className:"_5f9l",src:h("143434")}):c('React').createElement('div',{className:"_5f9l",style:{width:16,display:'inline-block'}}),t=void 0;if(this.state.showCardNUXs[o]&&this.refs[o])t=c('React').createElement(c('XUIAmbientNUX.react'),{contextRef:function(){return this.refs[o];}.bind(this),position:'left',shown:true,insertParent:c('ReactDOM').findDOMNode(this.props.contextualLayerParent),onCloseButtonClick:function(){return this.$VideoAssetInsightsCardsList4(o);}.bind(this),width:'auto'},c('React').createElement('div',{className:"_1y89"},p.nuxTooltip));var u=c('React').createElement(c('LeftRight.react'),{className:"_5f9h"},c('React').createElement('div',{className:"_5f9i"},c('React').createElement(c('Image.react'),{className:"_5f9j",src:p.disabled?this.$VideoAssetInsightsCardsList3(p.iconName):this.$VideoAssetInsightsCardsList1(p.iconName)}),q,c('React').createElement('span',{className:"_4v1k"},p.label)),c('React').createElement('div',null,c('React').createElement('div',{className:"_5f9k"},p.disabled&&!p.displayMetricWhenDisabled?'--':p.metric),s));return (c('React').createElement('div',{className:"_5f9d"+(r?' '+"_4gvo":'')+(p.disabled?' '+"_1_07":'')+(p.unselectable?' '+"_u_r":''),key:o,onClick:function(){return (!p.disabled&&!p.unselectable&&this.props.onOptionClick&&this.props.onOptionClick(o));}.bind(this),ref:o,role:'presentation'},p.disabled&&p.disabledTooltip?c('React').createElement(c('Tooltip.react'),{tooltip:c('React').createElement('div',null,p.disabledTooltip),alignH:'center'},u):u,t));}.bind(this);var n={};Object.keys(m.cards).forEach(function(o){n[o]=m.cards[o].hasNUX;});this.state={showCardNUXs:n};}l.prototype.$VideoAssetInsightsCardsList1=function(m){'use strict';var n={group:h("142297"),'friend-neutral':h("142217"),'film-projector':h("142134"),share:h("142786"),film:h("142137"),clock:h("141869"),eye:h("142093"),'ad-set':h("141431"),'friend-friends':h("142201"),'globe-americas':h("142263"),following:h("142166"),flame:h("142153"),like:h("142393"),'face-happy-solid':h("142103"),money:h("142499"),'live-person':h("142423"),video:h("142967")};return n[m];};l.prototype.$VideoAssetInsightsCardsList2=function(m){'use strict';var n={group:h("140695"),'friend-neutral':h("140615"),'film-projector':h("140532"),share:h("141184"),film:h("140535"),clock:h("140267"),eye:h("140491"),'ad-set':h("139829"),'friend-friends':h("140599"),'globe-americas':h("140661"),following:h("140564"),flame:h("140551"),like:h("140791"),'face-happy-solid':h("140501"),money:h("140897"),'live-person':h("140821"),video:h("141365")};return n[m];};l.prototype.$VideoAssetInsightsCardsList3=function(m){'use strict';var n={group:h("126277"),'friend-neutral':h("126197"),'film-projector':h("126114"),share:h("126766"),film:h("126117"),clock:h("125849"),eye:h("126073"),'ad-set':h("125411"),'friend-friends':h("126181"),'globe-americas':h("126243"),following:h("126146"),flame:h("126133"),like:h("126373"),'face-happy-solid':h("126083"),money:h("126479"),'live-person':h("126403"),video:h("126947")};return n[m];};l.prototype.$VideoAssetInsightsCardsList4=function(m){var n;'use strict';var o=this.props.cards[m];if(o.onNUXClose)o.onNUXClose();this.setState({showCardNUXs:babelHelpers['extends']({},this.state.showCardNUXs,(n={},n[m]=false,n))});};l.prototype.render=function(){'use strict';return (c('React').createElement('div',null,Object.keys(this.props.cards).map(this.$VideoAssetInsightsCardsList5,this)));};f.exports=l;}),null);
  __d('VideoAssetInsightsViewport.react',['cx','invariant','React','ReactCSSTransitionGroup','VideoAssetInsightsConfig'],(function a(b,c,d,e,f,g,h,i){var j,k;j=babelHelpers.inherits(l,c('React').Component);k=j&&j.prototype;l.prototype.$VideoAssetInsightsViewport1=function(){'use strict';if(this.props.animationType==='right'){return {enter:"_3l8a",enterActive:"_3l8b",leave:"_3l8c",leaveActive:"_3l8d"};}else if(this.props.animationType==='up'){return {enter:"_3l8e",enterActive:"_3l8f",leave:"_3l8g",leaveActive:"_3l8h"};}else if(this.props.animationType==='down'){return {enter:"_3l8i",enterActive:"_3l8j",leave:"_3l8k",leaveActive:"_3l8l"};}else return {enter:"_3l8m",enterActive:"_3l8n",leave:"_3l8o",leaveActive:"_3l8p"};};l.prototype.render=function(){'use strict';this.props.children&&!Array.isArray(this.props.children)||i(0);return (c('React').createElement('div',{className:"_3l8t"},c('React').createElement(c('ReactCSSTransitionGroup'),{component:'div',className:"_3l8u",transitionName:this.$VideoAssetInsightsViewport1(),transitionEnterTimeout:c('VideoAssetInsightsConfig').CARD_ANIMATION_DURATION,transitionLeaveTimeout:c('VideoAssetInsightsConfig').CARD_ANIMATION_DURATION},c('React').createElement('div',{key:this.props.children.key,className:"_3l8v"},this.props.children))));};function l(){'use strict';j.apply(this,arguments);}f.exports=l;}),null);
  __d('VideoAssetInsightsCardListCard',['cx','React','VideoAssetInsightsCardsList.react','VideoAssetInsightsEvents','VideoAssetInsightsMetricsNavigationBar.react','VideoAssetInsightsTypedLogger','VideoAssetInsightsViewport.react'],(function a(b,c,d,e,f,g,h){'use strict';var i,j;i=babelHelpers.inherits(k,c('React').Component);j=i&&i.prototype;function k(l){j.constructor.call(this,l);this.state={cardKey:l.currentCardKey,animationType:'left'};}k.prototype.$VideoAssetInsightsCardListCard2=function(l){this.$VideoAssetInsightsCardListCard3(c('VideoAssetInsightsEvents').METRIC_CARDS_NAVIGATOR_CLICKED,this.props.cardName);this.$VideoAssetInsightsCardListCard4(l,'left');};k.prototype.$VideoAssetInsightsCardListCard5=function(){this.$VideoAssetInsightsCardListCard3(c('VideoAssetInsightsEvents').BACK_BUTTON_TO_TOTAL_METRICS_CLICKED,this.props.cardList[this.state.cardKey].cardName);this.setState({cardKey:this.props.currentCardKey,animationType:'right'});};k.prototype.$VideoAssetInsightsCardListCard6=function(l){this.$VideoAssetInsightsCardListCard3(c('VideoAssetInsightsEvents').METRIC_CARDS_NAVIGATOR_CLICKED,this.props.cardList[this.state.cardKey].cardName);var m=Object.keys(this.props.cardList),n=m.indexOf(this.state.cardKey),o=m.indexOf(l);this.$VideoAssetInsightsCardListCard4(l,o>n?'up':'down');};k.prototype.$VideoAssetInsightsCardListCard4=function(l,m){this.$VideoAssetInsightsCardListCard3(c('VideoAssetInsightsEvents').METRIC_CARD_DISPLAYED,this.props.cardList[l].cardName);this.setState({cardKey:l,animationType:m});};k.prototype.$VideoAssetInsightsCardListCard3=function(event,l){new (c('VideoAssetInsightsTypedLogger'))().setVideoOrAssetID(this.props.loggerData.videoID).setPageID(this.props.loggerData.pageID).setSource(this.props.loggerData.source).setEvent(event).setCurrentMetricCard(l).log();};k.prototype.$VideoAssetInsightsCardListCard7=function(){if(this.state.cardKey===this.props.currentCardKey){return c('React').createElement('div',null,c('React').createElement('div',{className:"_5kmg"},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:this.props.label,value:'',onBackClick:this.props.onBackClick,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick})),c('React').createElement(c('VideoAssetInsightsCardsList.react'),{key:'totalmetrics',cards:this.props.cardList,onOptionClick:this.$VideoAssetInsightsCardListCard2.bind(this)}));}else{var l=this.props.cardList[this.state.cardKey].cardComponent;return (c('React').createElement(l,{key:this.state.cardKey,data:this.props.data,videoDurationInSec:this.props.videoDurationInSec,currentCardKey:this.state.cardKey,siblings:this.props.cardList,onBackClick:this.$VideoAssetInsightsCardListCard5.bind(this),onSiblingClick:this.$VideoAssetInsightsCardListCard6.bind(this),onChartHover:this.props.onChartHover,earliestPostCreationTime:this.props.earliestPostCreationTime,isBroadcast:this.props.isBroadcast,contextualLayerParent:this.props.contextualLayerParent,loggerData:this.props.loggerData}));}};k.prototype.render=function(){return c('React').createElement(c('VideoAssetInsightsViewport.react'),{animationType:this.state.animationType},this.$VideoAssetInsightsCardListCard7());};f.exports=k;}),null);
  __d('VideoAssetInsightsEngagementCard.react',['cx','fbt','Grid.react','React','UFIReactionIconImpl.react','UFIReactionTypes','VideoAssetInsightsConfig','VideoAssetInsightsMetricsNavigationBar.react','intlNumUtils','joinClasses'],(function a(b,c,d,e,f,g,h,i){var j,k,l=c('Grid.react').GridItem;j=babelHelpers.inherits(m,c('React').Component);k=j&&j.prototype;m.prototype.$VideoAssetInsightsEngagementCard1=function(n,o,p,q,r){'use strict';var s=c('joinClasses')("_1hh",r);return [c('React').createElement(l,{key:'total',className:c('joinClasses')(s,"_1hj")},c('React').createElement('div',{className:"_1hk"},c('intlNumUtils').formatNumberWithThousandDelimiters(o)),c('React').createElement('div',{className:"_1hl"},n)),c('React').createElement(l,{key:'post',className:s},c('React').createElement('div',{className:"_1hk"},c('intlNumUtils').formatNumberWithThousandDelimiters(p)),c('React').createElement('div',{className:"_1hl"},i._("On Post"))),c('React').createElement(l,{key:'share',className:c('joinClasses')(s,"_1hm")},c('React').createElement('div',{className:"_1hk"},c('intlNumUtils').formatNumberWithThousandDelimiters(q)),c('React').createElement('div',{className:"_1hl"},i._("On Shares")))];};m.prototype.$VideoAssetInsightsEngagementCard2=function(){'use strict';var n=this.props.data.engagementTotal.reactions;if(!n||!c('VideoAssetInsightsConfig').hasReactionsMetrics(this.props.earliestPostCreationTime))return false;return Object.keys(n).some(function(o){return (o!==c('UFIReactionTypes').LIKE&&n[o].value>0);});};m.prototype.$VideoAssetInsightsEngagementCard3=function(n,o,p){'use strict';var q=void 0;if(p){q=p.value;}else q=0;return this.$VideoAssetInsightsEngagementCard1(c('React').createElement('span',null,c('React').createElement(c('UFIReactionIconImpl.react'),{className:"_5xdu",reaction:parseInt(n+'',10)}),c('UFIReactionTypes').reactions[n].display_name),o.value,q,o.value-q);};m.prototype.$VideoAssetInsightsEngagementCard4=function(n,o){'use strict';if(!n.reactions)return [];var p=n.reactions,q=o.reactions||{};return c('UFIReactionTypes').ordering.map(function(r){var s=p[r];if(!s||s.value===0)return null;return this.$VideoAssetInsightsEngagementCard3(r,s,q[r]);}.bind(this));};m.prototype.render=function(){'use strict';var n=this.props.data.engagementTotal,o=this.props.data.engagementFromPost,p=void 0;if(c('VideoAssetInsightsConfig').hasReactionsMetrics(this.props.earliestPostCreationTime)){p=m.REACTIONS_LABEL;}else p=m.LABEL;return (c('React').createElement('div',{className:"_1hn _2qos"},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:p,value:c('intlNumUtils').formatNumberWithThousandDelimiters(n.total.value),onBackClick:this.props.onBackClick,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick}),c('React').createElement(c('Grid.react'),{cols:3,className:"_1ho"},this.$VideoAssetInsightsEngagementCard2()?this.$VideoAssetInsightsEngagementCard4(n,o):this.$VideoAssetInsightsEngagementCard1(i._("Likes"),n.like.value,o.like.value,n.like.value-o.like.value),this.$VideoAssetInsightsEngagementCard1(i._("Comments"),n.comment.value,o.comment.value,n.comment.value-o.comment.value),this.$VideoAssetInsightsEngagementCard1(i._("Shares"),n.share.value,o.share.value,n.share.value-o.share.value,"_1hp"))));};function m(){'use strict';j.apply(this,arguments);}m.LABEL=i._("Likes, Comments & Shares");m.REACTIONS_LABEL=i._("Reactions, Comments & Shares");f.exports=m;}),null);
  __d('VideoAssetInsightsFollowersCard.react',['cssVar','cx','fbt','BUIInsightsLegend.react','BUIInsightsVerticalBarChart.react','immutable','React','VideoAssetInsightsConfig','VideoAssetInsightsInfo.react','VideoAssetInsightsMetricCards','VideoAssetInsightsMetricsNavigationBar.react','VideoAssetInsightsTypedLogger','formatDate','CandelaGroupScaleBuilder','intlNumUtils'],(function a(b,c,d,e,f,g,h,i,j){var k,l,m=c('CandelaGroupScaleBuilder').group,n=c('immutable').OrderedSet,o=182,p=260,q=64,r={'axis[orientation="vertical"]':{width:30},barlabel:{visibility:'hidden'},bar:{maxWidth:q},'bar.red':{fill:'red'}},s=1000,t=['number'];k=babelHelpers.inherits(u,c('React').Component);l=k&&k.prototype;function u(v){'use strict';l.constructor.call(this,v);}u.prototype.$VideoAssetInsightsFollowersCard1=function(event){'use strict';new (c('VideoAssetInsightsTypedLogger'))().setVideoOrAssetID(this.props.loggerData.videoID).setSource(this.props.loggerData.source).setEvent(event).setPageID(this.props.loggerData.pageID).setCurrentMetricCard(c('VideoAssetInsightsMetricCards').FOLLOWERS).log();};u.prototype.$VideoAssetInsightsFollowersCard2=function(){'use strict';var v=this.$VideoAssetInsightsFollowersCard3();return n([{key:'follows',label:j._("New Followers"),value:'+'+c('intlNumUtils').formatNumberWithThousandDelimiters(v[0].number),labelStyle:{color:"#3d6ad6"}},{key:'unfollows',label:j._("Unfollowed"),value:c('intlNumUtils').formatNumberWithThousandDelimiters(v[1].number),labelStyle:{color:'red'}}]);};u.prototype.$VideoAssetInsightsFollowersCard4=function(v){'use strict';return c('formatDate')(new Date(v*s),'M j');};u.prototype.$VideoAssetInsightsFollowersCard5=function(){'use strict';var v=this.props.data.minutesViewedDaily;if(v.startTime===v.endTime)return this.$VideoAssetInsightsFollowersCard4(v.startTime);return (this.$VideoAssetInsightsFollowersCard4(v.startTime)+' - '+this.$VideoAssetInsightsFollowersCard4(v.endTime));};u.prototype.$VideoAssetInsightsFollowersCard6=function(){'use strict';return {action:{type:'category'},number:{type:'number'}};};u.prototype.$VideoAssetInsightsFollowersCard3=function(){'use strict';var v=0,w=0,x=this.props.data.pageFollowers,y=this.props.data.pageUnfollowers;if(x)v=x.value;if(y)w=y.value;return [{action:'Follow',number:v},{action:'Unfollow',number:w,_meta:{className:'red'}}];};u.prototype.$VideoAssetInsightsFollowersCard7=function(){'use strict';var v=[m.apply(undefined,t).from(0).extendInput(0,.25).roundInput()];return (c('React').createElement('div',{className:"_oid"},c('React').createElement(c('BUIInsightsLegend.react'),{title:this.$VideoAssetInsightsFollowersCard5(),items:n([]),auxiliaryItems:this.$VideoAssetInsightsFollowersCard2()}),c('React').createElement(c('BUIInsightsVerticalBarChart.react'),{data:this.$VideoAssetInsightsFollowersCard3(),height:o,plotX:m('action'),plotY:v,schema:this.$VideoAssetInsightsFollowersCard6(),styles:r,width:p})));};u.prototype.render=function(){'use strict';var v=void 0;if(c('VideoAssetInsightsConfig').getShowCardTooltips())v=c('React').createElement(c('VideoAssetInsightsInfo.react'),{className:"_4qbz",alignH:'right',tooltip:j._("Followers shows the number of people who followed or unfollowed your page using the follow button that appears with your live video.")});return (c('React').createElement('div',{className:"_2qos"},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:u.LABEL,value:'',onBackClick:this.props.onBackClick,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick}),v,this.$VideoAssetInsightsFollowersCard7()));};u.LABEL=j._("Followers");f.exports=u;}),null);
  __d('VideoAssetInsightsHeatmap360Card.react',['cx','fbt','React','VideoAssetInsightsMetricsNavigationBar.react','VideoAssetInsightsMetricCards','VideoAssetInsightsTypedLogger','VideoAssetInsightsConfig','VideoAssetInsightsInfo.react','Image.react'],(function a(b,c,d,e,f,g,h,i){var j,k;j=babelHelpers.inherits(l,c('React').Component);k=j&&j.prototype;function l(m){'use strict';k.constructor.call(this,m);}l.$VideoAssetInsightsHeatmap360Card1=function(m){'use strict';return !(!m||0===m.length);};l.getDisabledTooltip=function(m){'use strict';var n=l.shouldShowHeatmapProgressPercentage(m);if(n){var o=l.getMetricValue(m);return i._("When 50,000 viewers tilt or drag while watching your video, we'll create a heatmap that tracks where your viewers looked. Your heatmap is currently {percentage} complete.",[i.param('percentage',o)]);}else return i._("Not enough data for this metric.");};l.isCardDisabled=function(m){'use strict';var n=m.heatmap360Url;return !l.$VideoAssetInsightsHeatmap360Card1(n);};l.getMetricValue=function(m){'use strict';var n=l.shouldShowHeatmapProgressPercentage(m);return n?m.heatmapGenerationProgress+'%':'';};l.shouldShowHeatmapProgressPercentage=function(m){'use strict';var n=m.heatmapGenerationProgress,o=n!==null&&n!==undefined;return o&&!m.heatmap360Url;};l.prototype.$VideoAssetInsightsHeatmap360Card2=function(event){'use strict';new (c('VideoAssetInsightsTypedLogger'))().setVideoOrAssetID(this.props.loggerData.videoID).setSource(this.props.loggerData.source).setEvent(event).setPageID(this.props.loggerData.pageID).setCurrentMetricCard(c('VideoAssetInsightsMetricCards').HEATMAP_360).log();};l.prototype.$VideoAssetInsightsHeatmap360Card3=function(){'use strict';var m=void 0;m=this.$VideoAssetInsightsHeatmap360Card4();return l.$VideoAssetInsightsHeatmap360Card1(m);};l.prototype.$VideoAssetInsightsHeatmap360Card5=function(){'use strict';return this.$VideoAssetInsightsHeatmap360Card6()!='';};l.prototype.$VideoAssetInsightsHeatmap360Card6=function(){'use strict';return '';};l.prototype.$VideoAssetInsightsHeatmap360Card4=function(){'use strict';return this.props.data.heatmap360Url;};l.prototype.$VideoAssetInsightsHeatmap360Card7=function(){'use strict';var m=void 0;if(this.$VideoAssetInsightsHeatmap360Card3())m=c('React').createElement('video',{controls:true,src:this.$VideoAssetInsightsHeatmap360Card4(),width:l.CONTENT_WIDTH,height:l.VIDEO_HEIGHT,autoPlay:false});return (c('React').createElement('div',null,m));};l.prototype.$VideoAssetInsightsHeatmap360Card8=function(){'use strict';var m=void 0;if(this.$VideoAssetInsightsHeatmap360Card5())m=c('React').createElement(c('Image.react'),{src:this.$VideoAssetInsightsHeatmap360Card6(),alt:'360 Heatmap legend',width:l.CONTENT_WIDTH,height:l.LEGEND_HEIGHT});return (c('React').createElement('div',null,m));};l.prototype.render=function(){'use strict';var m=void 0;if(c('VideoAssetInsightsConfig').getShowCardTooltips())m=c('React').createElement(c('VideoAssetInsightsInfo.react'),{className:"_4qbz",alignH:'right',tooltip:i._("Heatmap 360 shows the number of viewers watching specific parts of your 360 video and tracks a viewer as someone who interacts with the video through gyro or click\/swiping on mobile and desktop.")});return (c('React').createElement('div',{className:"_2qos"},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:l.LABEL,value:'',onBackClick:this.props.onBackClick,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick}),m,this.$VideoAssetInsightsHeatmap360Card7(),this.$VideoAssetInsightsHeatmap360Card8()));};l.LABEL=i._("Heatmap");l.CONTENT_WIDTH=360;l.VIDEO_HEIGHT=225;l.LEGEND_HEIGHT=100;f.exports=l;}),null);
  __d('VideoAssetInsightsTimeGraph.react',['fbt','BUIInsightsLegendChart.react','BUIInsightsLineAreaChart.react','CandelaConstants','CandelaStyleSheet','immutable','InsightsFormatterFactories','React','VideoUtils','CandelaGroupScaleBuilder','intlNumUtils','shallowEqual'],(function a(b,c,d,e,f,g,h){var i,j,k=c('CandelaGroupScaleBuilder').group,l=c('CandelaConstants').Orientation,m=c('immutable').OrderedSet,n=178,o=332,p=.2;i=babelHelpers.inherits(q,c('React').Component);j=i&&i.prototype;function q(r){'use strict';j.constructor.call(this,r);var s=Object.keys(r.config);this.state={dataKeys:s,maximumValue:this.$VideoAssetInsightsTimeGraph1(s,r.data)};}q.prototype.componentWillReceiveProps=function(r){'use strict';if(!c('shallowEqual')(this.props.data,r.data)){var s=Object.keys(r.config);this.setState({dataKeys:s,maximumValue:this.$VideoAssetInsightsTimeGraph1(s,r.data)});}};q.prototype.shouldComponentUpdate=function(r,s){'use strict';return (!c('shallowEqual')(this.props.data,r.data)||!c('shallowEqual')(this.state,s));};q.prototype.$VideoAssetInsightsTimeGraph2=function(r,s){'use strict';if(this.props.legendFormatterFactory)return this.props.legendFormatterFactory(r,s);if(this.state.dataKeys.indexOf(s||'')>=0){return function(t){return c('intlNumUtils').formatNumberWithThousandDelimiters(t,0);};}else return function(t){return (c('VideoUtils').formatTime(t)+' / '+c('VideoUtils').formatTime(this.props.videoDurationInSec));}.bind(this);};q.prototype.$VideoAssetInsightsTimeGraph3=function(){'use strict';return m(this.state.dataKeys.map(function(r){return {key:r,label:this.props.config[r].label,value:this.props.config[r].value};}.bind(this)));};q.prototype.$VideoAssetInsightsTimeGraph4=function(r,s){'use strict';if(s===l.HORIZONTAL){return function(t){return String(this.$VideoAssetInsightsTimeGraph5(Math.round(t)));}.bind(this);}else return c('InsightsFormatterFactories').axisMarkFormatterFactory(r,s);};q.prototype.$VideoAssetInsightsTimeGraph5=function(r){'use strict';if(r<60){return h._("{Value in seconds}s",[h.param('Value in seconds',r)]);}else{var s=Math.floor(r/60),t=r%60;if(t===0)return h._("{Value in minutes}m",[h.param('Value in minutes',s)]);return h._("{Value in minutes}m {Value in seconds}s",[h.param('Value in minutes',s),h.param('Value in seconds',t)]);}};q.prototype.$VideoAssetInsightsTimeGraph6=function(){'use strict';var r={x:{label:h._("Video Duration"),type:'number'}};this.state.dataKeys.map(function(s){r[s]={renderAs:'line',type:'number'};});return r;};q.prototype.$VideoAssetInsightsTimeGraph7=function(){'use strict';var r=this.props.data,s=this.state.dataKeys,t=Object.keys(r[s[0]]);return t.map(function(u){var v={x:Number(u)};s.map(function(w){v[w]=r[w][u];});return v;});};q.prototype.$VideoAssetInsightsTimeGraph8=function(){'use strict';var r=this.props.config,s={};if(this.props.hideYAxis)s['axis[orientation="vertical"]']={width:0};this.state.dataKeys.map(function(t){if(!r[t].color)return;s['line[series="'+t+'"]']={stroke:r[t].color};s['point[series="'+t+'"]']={stroke:r[t].color,fill:r[t].color};});if(this.props.styleSheet)return this.props.styleSheet.extend(s);return c('CandelaStyleSheet').fromJS(s);};q.prototype.$VideoAssetInsightsTimeGraph1=function(r,s){var t;'use strict';var u=0,v=function ba(ca){var da=s[ca];u=Object.keys(da).reduce(function(ea,fa){return Math.max(ea,da[fa]);},u);};for(var w=r,x=Array.isArray(w),y=0,w=x?w:w[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var z;if(x){if(y>=w.length)break;z=w[y++];}else{y=w.next();if(y.done)break;z=y.value;}var aa=z;v(aa);}return u;};q.prototype.$VideoAssetInsightsTimeGraph9=function(event){'use strict';this.props.onChartHover(event.data.x.value);};q.prototype.render=function(){'use strict';var r=Math.min(3,this.state.maximumValue),s=k.apply(undefined,this.state.dataKeys).from(0).stepCountHint(r).extendInput(0,this.props.annotations?.3:0);if(this.props.maxYAxisValue)s=s.to(this.props.maxYAxisValue);return (c('React').createElement(c('BUIInsightsLegendChart.react'),{auxiliaryItems:this.props.auxiliaryItems,className:this.props.className,title:this.props.title,titleKey:'x',items:this.$VideoAssetInsightsTimeGraph3(),formatterFactory:this.$VideoAssetInsightsTimeGraph2.bind(this)},c('React').createElement(c('BUIInsightsLineAreaChart.react'),{annotations:this.props.annotations,data:this.$VideoAssetInsightsTimeGraph7(),plotX:k('x').from(0).stepCountHint(4).extendInput(this.props.hideYAxis?p:0,p),plotY:[s],axisMarkFormatterFactory:this.$VideoAssetInsightsTimeGraph4.bind(this),schema:this.$VideoAssetInsightsTimeGraph6(),height:n,width:o,styleSheet:this.$VideoAssetInsightsTimeGraph8(),onMouseEnter:this.props.onChartMouseEnter,onMouseOver:this.$VideoAssetInsightsTimeGraph9.bind(this),onMouseLeave:this.props.onChartLeave})));};f.exports=q;}),null);
  __d('VideoAssetInsightsMaxConcurrentViewersGraph.react',['ix','cx','fbt','Grid.react','Image.react','immutable','React','VideoAssetInsightsConfig','VideoAssetInsightsTimeGraph.react','VideoUtils','XUIText.react','fbglyph','isEmpty'],(function a(b,c,d,e,f,g,h,i,j){var k,l,m=c('immutable').List,n=c('immutable').OrderedSet,o=c('Grid.react').GridItem;k=babelHelpers.inherits(p,c('React').Component);l=k&&k.prototype;function p(q){'use strict';l.constructor.call(this,q);}p.prototype.$VideoAssetInsightsMaxConcurrentViewersGraph1=function(){'use strict';var q=c('VideoAssetInsightsConfig').getBroadcastViewersRetentionAvailableTime(),r=this.props.data.broadcastViewersRetention;return (!this.props.isAmbientLive&&this.props.earliestPostCreationTime>=q&&r&&!c('isEmpty')(r));};p.prototype.$VideoAssetInsightsMaxConcurrentViewersGraph2=function(){'use strict';if(this.props.isAmbientLive){return j._("Data is unavailable for continuous live videos.");}else if(c('isEmpty')(this.props.data.broadcastViewersRetention)&&c('VideoAssetInsightsConfig').getShowPeakConcurrentWarning()&&this.props.earliestPostCreationTime>=c('VideoAssetInsightsConfig').getBroadcastViewersRetentionAvailableTime()){return j._("Viewership numbers for Peak Live Viewers is unavailable due to an error.");}else return j._("Data is unavailable for this chart.");};p.prototype.$VideoAssetInsightsMaxConcurrentViewersGraph3=function(){'use strict';return (c('React').createElement(c('Grid.react'),{cols:1,alignv:'top',align:'center'},c('React').createElement(o,null,c('React').createElement(c('XUIText.react'),{className:"_5vpc",display:'block'},'--')),c('React').createElement(o,null,c('React').createElement('div',{className:"_5vpd"},j._("Viewers During Live Broadcast"))),c('React').createElement(o,null,c('React').createElement('div',{className:"_5vpe"},c('React').createElement(c('Image.react'),{className:"_5vpi",src:h("143235")}),c('React').createElement(c('XUIText.react'),{className:"_5vpk",display:'block'},this.$VideoAssetInsightsMaxConcurrentViewersGraph2())))));};p.prototype.render=function(){'use strict';if(!this.$VideoAssetInsightsMaxConcurrentViewersGraph1())return this.$VideoAssetInsightsMaxConcurrentViewersGraph3();return (c('React').createElement(c('VideoAssetInsightsTimeGraph.react'),{auxiliaryItems:this.props.auxiliaryItems,annotations:this.props.annotations,title:j._("{time} Broadcast",[j.param('time',c('VideoUtils').formatTime(this.props.videoDurationInSec))]),videoDurationInSec:this.props.videoDurationInSec,data:{broadcastViewersRetention:this.props.data.broadcastViewersRetention},config:{broadcastViewersRetention:{label:j._("Viewers During Live Broadcast"),tooltip:j._("Active viewers during each moment of the live video broadcast.")}},styleSheet:this.props.styleSheet,onChartHover:this.props.onChartHover,onChartMouseEnter:this.props.onChartMouseEnter}));};f.exports=p;}),null);
  __d('VideoAssetInsightsLiveBroadcastRevenueCard.react',['cx','fbt','AdsCurrencyFormatter','immutable','React','CandelaConstants','VideoAssetInsightsConfig','VideoAssetInsightsInfo.react','VideoAssetInsightsMaxConcurrentViewersGraph.react','VideoAssetInsightsMetricsNavigationBar.react','VideoInstreamUtils','XUIContextualDialog.react','XUIContextualDialogBody.react','XUIContextualDialogTitle.react','XUIGrayText.react','XUIText.react','formatDate'],(function a(b,c,d,e,f,g,h,i){var j,k,l=c('immutable').List,m=c('immutable').OrderedSet,n=c('CandelaConstants').RenderAs,o=c('CandelaConstants').ShapeType,p=41,q=200;j=babelHelpers.inherits(r,c('React').Component);k=j&&j.prototype;r.getLabel=function(){'use strict';if(c('VideoAssetInsightsConfig').getShowInstreamMoneyEarnedDetails())return i._("During Live Earnings");return i._("Live Broadcast Viewers");};r.getValue=function(s){'use strict';if(c('VideoAssetInsightsConfig').getShowInstreamMoneyEarnedDetails())return c('AdsCurrencyFormatter').formatCurrencyWithNumberDelimiters('USD',s.moneyEarnedByLiveStatus&&s.moneyEarnedByLiveStatus.isLive?s.moneyEarnedByLiveStatus.isLive.total:0);return '';};r.shouldDisable=function(s){'use strict';return !s.moneyEarnedByLiveStatus||!s.moneyEarnedByLiveStatus.isLive;};function r(s){'use strict';k.constructor.call(this,s);this.$VideoAssetInsightsLiveBroadcastRevenueCard10=function(){return this.refs.tooltip;}.bind(this);this.$VideoAssetInsightsLiveBroadcastRevenueCard11=function(){this.setState({showTooltip:false});}.bind(this);this.$VideoAssetInsightsLiveBroadcastRevenueCard9=function(event){if(event.target.shapeType===o.ANCHOR_ANNOTATION){var t=this.$VideoAssetInsightsLiveBroadcastRevenueCard6(this.props.data),u=c('AdsCurrencyFormatter').formatCurrencyWithNumberDelimiters('USD',t[event.data.x.value*1000]),v=this.$VideoAssetInsightsLiveBroadcastRevenueCard5(event.data.x.value),w=c('formatDate')(event.data.x.value,'H:i:s',{utc:true,skipPatternLocalization:true});this.setState({showTooltip:true,tooltip:{time:w,revenue:u,viewers:v,x:event.target.x,y:event.target.y,height:event.target.height,width:event.target.width}});}else this.setState({showTooltip:false});}.bind(this);this.state={showTooltip:false,tooltip:{}};}r.prototype.render=function(){'use strict';return c('React').createElement('div',{className:"_2qos"},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:r.getLabel(),value:r.getValue(this.props.data),onBackClick:this.props.onBackClick,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick}),this.$VideoAssetInsightsLiveBroadcastRevenueCard1(),this.$VideoAssetInsightsLiveBroadcastRevenueCard2(),this.$VideoAssetInsightsLiveBroadcastRevenueCard3(),this.$VideoAssetInsightsLiveBroadcastRevenueCard4());};r.prototype.$VideoAssetInsightsLiveBroadcastRevenueCard5=function(s){'use strict';var t=this.props.data.broadcastViewersRetention;if(!t)return 0;var u=Object.keys(t).reduce(function(v,w){var x=v;if(Math.abs(s-parseInt(w,10))<Math.abs(s-parseInt(v,10)))x=w;return x;},0);return t[u.toString()];};r.prototype.$VideoAssetInsightsLiveBroadcastRevenueCard6=function(s){'use strict';return s.moneyEarnedByLiveStatus.isLive.timeOffsetsToRevenue;};r.prototype.$VideoAssetInsightsLiveBroadcastRevenueCard7=function(){'use strict';var s=this.$VideoAssetInsightsLiveBroadcastRevenueCard6(this.props.data),t=Object.keys(s).length;return c('VideoInstreamUtils').getAdBreakLegend(t);};r.prototype.$VideoAssetInsightsLiveBroadcastRevenueCard8=function(s){'use strict';if(!c('VideoAssetInsightsConfig').getShowInstreamMoneyEarnedDetails())return null;var t=this.$VideoAssetInsightsLiveBroadcastRevenueCard6(s),u=Object.keys(t).map(function(v){return {draggable:false,renderAs:[n.ANCHOR,n.LINE],value:parseInt(v,10)/1000,variableName:'x',className:'solid small'};});return l(u);};r.prototype.$VideoAssetInsightsLiveBroadcastRevenueCard1=function(){'use strict';if(!c('VideoAssetInsightsConfig').getShowCardTooltips())return null;return c('React').createElement(c('VideoAssetInsightsInfo.react'),{className:"_4qbz",alignH:'right',tooltip:i._("This amount is an estimate of your earnings from ad breaks. Actual payments may differ if there are content ownership claims or other adjustments.")});};r.prototype.$VideoAssetInsightsLiveBroadcastRevenueCard2=function(){'use strict';return c('React').createElement(c('VideoAssetInsightsMaxConcurrentViewersGraph.react'),{auxiliaryItems:this.$VideoAssetInsightsLiveBroadcastRevenueCard7(),annotations:this.$VideoAssetInsightsLiveBroadcastRevenueCard8(this.props.data),data:this.props.data,earliestPostCreationTime:this.props.earliestPostCreationTime,styleSheet:c('VideoInstreamUtils').getAdBreaksAnnotationStyle(),videoDurationInSec:this.props.videoDurationInSec,onChartHover:this.props.onChartHover,onChartMouseEnter:this.$VideoAssetInsightsLiveBroadcastRevenueCard9,isAmbientLive:false});};r.prototype.$VideoAssetInsightsLiveBroadcastRevenueCard3=function(){'use strict';if(!this.state.showTooltip)return null;var s={position:'absolute',top:this.state.tooltip.y+p,left:this.state.tooltip.x,width:this.state.tooltip.width,height:this.state.tooltip.height};return c('React').createElement('div',{ref:'tooltip',style:s});};r.prototype.$VideoAssetInsightsLiveBroadcastRevenueCard4=function(){'use strict';var s=this.state.tooltip;if(!this.state.showTooltip||!s)return null;return c('React').createElement(c('XUIContextualDialog.react'),{contextRef:this.$VideoAssetInsightsLiveBroadcastRevenueCard10,position:'below',shown:!!s,width:q,onBlur:this.$VideoAssetInsightsLiveBroadcastRevenueCard11},c('React').createElement(c('XUIContextualDialogTitle.react'),null,c('React').createElement(c('XUIGrayText.react'),{shade:'light',size:'small'},s.time)),c('React').createElement(c('XUIContextualDialogBody.react'),null,c('React').createElement('div',{className:"_2pim"},c('React').createElement('div',{display:'block'},c('React').createElement(c('XUIGrayText.react'),{shade:'medium',size:'medium',weight:'bold'},s.viewers),c('React').createElement(c('XUIText.react'),{className:"_5oc8 _3-99",size:'medium',weight:'bold'},i._("Viewers"))),c('React').createElement('div',{display:'block'},c('React').createElement(c('XUIGrayText.react'),{shade:'medium',size:'medium',weight:'bold'},s.revenue),c('React').createElement(c('XUIText.react'),{className:"_5oc9 _3-99",size:'medium',weight:'bold'},i._("Estimated Earnings"))))));};f.exports=r;}),null);
  __d('VideoAssetInsightsMaxConcurrentViewersCard.react',['cssVar','cx','fbt','CandelaStyleSheet','Image.react','immutable','React','CandelaConstants','VideoAssetInsightsConfig','VideoAssetInsightsInfo.react','VideoAssetInsightsMaxConcurrentViewersGraph.react','VideoAssetInsightsMetricsNavigationBar.react','getOwnObjectValues','intlNumUtils','isEmpty'],(function a(b,c,d,e,f,g,h,i,j){var k,l,m=c('immutable').List,n=c('CandelaConstants').RenderAs;k=babelHelpers.inherits(o,c('React').Component);l=k&&k.prototype;o.getMetricValue=function(p,q,r){'use strict';var s=o.getPeakViewers(p);if(r||q<c('VideoAssetInsightsConfig').getBroadcastViewersRetentionAvailableTime()){return '--';}else if(c('isEmpty')(p)&&c('VideoAssetInsightsConfig').getShowPeakConcurrentWarning()){return (c('React').createElement(c('Image.react'),{src:'/images/video/insights/glyph-caution-solid-2x.png',height:12,width:14}));}else if(s&&isFinite(s)){return c('intlNumUtils').formatNumberWithThousandDelimiters(s);}else return '--';};o.getPeakViewers=function(p){'use strict';if(p)return Math.max.apply(null,c('getOwnObjectValues')(p));return 0;};o.prototype.$VideoAssetInsightsMaxConcurrentViewersCard1=function(){'use strict';return c('CandelaStyleSheet').fromJS({annotationanchor:{fill:"#90949c",radius:3,stroke:"#90949c",strokeLinecap:'round',strokeWidth:2}});};o.prototype.$VideoAssetInsightsMaxConcurrentViewersCard2=function(){'use strict';var p=this.props.data.broadcastViewersRetention,q=o.getPeakViewers(p);if(q)for(var r in p)if(p[r]===q)return m([{draggable:false,renderAs:[n.ANCHOR,n.LINE],value:r,variableName:'x',className:'solid small'}]);return m([]);};o.prototype.$VideoAssetInsightsMaxConcurrentViewersCard3=function(){'use strict';return (c('React').createElement(c('VideoAssetInsightsMaxConcurrentViewersGraph.react'),{annotations:this.$VideoAssetInsightsMaxConcurrentViewersCard2(),data:this.props.data,earliestPostCreationTime:this.props.earliestPostCreationTime,styleSheet:this.$VideoAssetInsightsMaxConcurrentViewersCard1(),videoDurationInSec:this.props.videoDurationInSec,onChartHover:this.props.onChartHover,isAmbientLive:this.props.isAmbientLive}));};o.prototype.$VideoAssetInsightsMaxConcurrentViewersCard4=function(){'use strict';return c('VideoAssetInsightsConfig').getShowNewInsightsDialogTooltips()?j._("Peak live viewers shows the highest number of concurrent viewers who viewed your live broadcast for at least 3 seconds. The viewers during live broadcast curve shows the number of concurrent viewers watching different points of your live broadcast for at least 3 seconds."):j._("Viewers During Live Broadcast shows the number of viewers watching at specific points in your live video. A live broadcast view is counted when someone watches for 3 seconds or more or clicks to watch from full screen.");};o.prototype.render=function(){'use strict';var p=void 0;if(c('VideoAssetInsightsConfig').getShowCardTooltips())p=c('React').createElement(c('VideoAssetInsightsInfo.react'),{className:"_4qbz",alignH:'right',tooltip:this.$VideoAssetInsightsMaxConcurrentViewersCard4()});return (c('React').createElement('div',{className:"_2qos"},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:o.LABEL,value:o.getMetricValue(this.props.data.broadcastViewersRetention,this.props.earliestPostCreationTime,this.props.isAmbientLive),onBackClick:this.props.onBackClick,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick}),p,this.$VideoAssetInsightsMaxConcurrentViewersCard3()));};function o(){'use strict';k.apply(this,arguments);}o.LABEL=j._("Peak Live Viewers");f.exports=o;}),null);
  __d('VideoAssetInsightsMinutesViewedCard.react',['cx','fbt','LayoutScrollableGrid.react','LayoutScrollableGridRow.react','LayoutScrollableGridStickyMode','React','VideoAssetInsightsBarList.react','VideoAssetInsightsConfig','VideoAssetInsightsConstants','VideoAssetInsightsDailyGraph.react','VideoAssetInsightsEvents','VideoAssetInsightsInfo.react','VideoAssetInsightsMetricCards','VideoAssetInsightsMetricsNavigationBar.react','VideoAssetInsightsTypedLogger','XUICloseButton.react','formatDate','intlNumUtils'],(function a(b,c,d,e,f,g,h,i){var j,k,l=c('VideoAssetInsightsBarList.react').VideoAssetInsightsBar,m=383,n=362,o=230,p=1000,q=100;j=babelHelpers.inherits(r,c('React').Component);k=j&&j.prototype;function r(s){'use strict';k.constructor.call(this,s);this.state={showBreakdown:false,canScrollUp:false,showScrollNux:false,dismissScrollNux:false,bottomNoticeHeight:0};}r.prototype.componentDidMount=function(){'use strict';if(this.refs.bottomNotice)this.setState({bottomNoticeHeight:this.refs.bottomNotice.offsetHeight});if(this.$VideoAssetInsightsMinutesViewedCard1())setTimeout(function(){return this.setState({showScrollNux:true});}.bind(this),p);};r.prototype.componentDidUpdate=function(s,t){'use strict';if(this.state.dismissScrollNux&&!t.dismissScrollNux)setTimeout(function(){return this.setState({showScrollNux:false});}.bind(this),q);};r.prototype.$VideoAssetInsightsMinutesViewedCard2=function(){'use strict';return ([{rawValue:this.props.data.minutesViewedOrganic.value,formattedValue:this.props.data.minutesViewedOrganic.text,label:i._("Organic"),color:c('VideoAssetInsightsConstants').AUTO_PLAY_RETENTION_CHART_COLOR},{rawValue:this.props.data.minutesViewedPaid.value,formattedValue:this.props.data.minutesViewedPaid.text,label:i._("Paid"),color:c('VideoAssetInsightsConstants').CLICK_TO_PLAY_RETENTION_CHART_COLOR}]);};r.prototype.$VideoAssetInsightsMinutesViewedCard3=function(){'use strict';var s=[];if(this.props.data.minutesViewedPageOwned&&this.props.data.minutesViewedPageOwned.value>=0)s.push({rawValue:this.props.data.minutesViewedPageOwned.value,formattedValue:this.props.data.minutesViewedPageOwned.text,label:i._("Page Owned")});if(this.props.data.minutesViewedShared&&this.props.data.minutesViewedShared.value>=0)s.push({rawValue:this.props.data.minutesViewedShared.value,formattedValue:this.props.data.minutesViewedShared.text,label:i._("Shared")});if(this.props.data.minutesViewedCrossposted&&this.props.data.minutesViewedCrossposted.value>=0)s.push({rawValue:this.props.data.minutesViewedCrossposted.value,formattedValue:this.props.data.minutesViewedCrossposted.text,label:i._("Crossposted")});return s;};r.prototype.$VideoAssetInsightsMinutesViewedCard4=function(){'use strict';if(!this.state.showBreakdown)this.$VideoAssetInsightsMinutesViewedCard5(c('VideoAssetInsightsEvents').DAILY_MINUTES_VIEWED_BREAKDOWN_ORGANIC_PAID);this.setState({showBreakdown:!this.state.showBreakdown});};r.prototype.$VideoAssetInsightsMinutesViewedCard5=function(event){'use strict';new (c('VideoAssetInsightsTypedLogger'))().setVideoOrAssetID(this.props.loggerData.videoID).setSource(this.props.loggerData.source).setEvent(event).setPageID(this.props.loggerData.pageID).setCurrentMetricCard(c('VideoAssetInsightsMetricCards').MINUTES_VIEWED).log();};r.prototype.$VideoAssetInsightsMinutesViewedCard6=function(){'use strict';var s=c('VideoAssetInsightsConfig').getDailyViewsAvailableTime();return (this.props.data.minutesViewedDaily.startTime>s);};r.prototype.$VideoAssetInsightsMinutesViewedCard7=function(){'use strict';return (!!this.props.isBroadcast&&(!!this.props.data.minutesViewedLive||!!this.props.data.minutesViewedPost));};r.prototype.$VideoAssetInsightsMinutesViewedCard8=function(){'use strict';return !!this.props.data.minutesViewedPaid.value&&!c('VideoAssetInsightsConfig').getHideOrganicAndPaidMetrics();};r.prototype.$VideoAssetInsightsMinutesViewedCard9=function(){'use strict';var s=this.props.data;return (!!s.minutesViewedPageOwned&&s.minutesViewedPageOwned.value>=0||!!s.minutesViewedShared&&s.minutesViewedShared.value>=0||!!s.minutesViewedCrossposted&&s.minutesViewedCrossposted.value>=0);};r.prototype.$VideoAssetInsightsMinutesViewedCard10=function(){'use strict';var s=this.props.data,t=0;if(s.minutesViewedPageOwned&&s.minutesViewedPageOwned.value>=0)t++;if(s.minutesViewedShared&&s.minutesViewedShared.value>=0)t++;if(s.minutesViewedCrossposted&&s.minutesViewedCrossposted.value>=0)t++;return t;};r.prototype.$VideoAssetInsightsMinutesViewedCard11=function(s,t){'use strict';var u=t>0;if(u===this.state.canScrollUp)return;this.setState({canScrollUp:u,dismissScrollNux:true});};r.prototype.$VideoAssetInsightsMinutesViewedCard12=function(){'use strict';var s=[];if(this.$VideoAssetInsightsMinutesViewedCard7())s.push(2);if(this.$VideoAssetInsightsMinutesViewedCard8())s.push(2);if(this.$VideoAssetInsightsMinutesViewedCard9())s.push(this.$VideoAssetInsightsMinutesViewedCard10());var t=c('VideoAssetInsightsBarList.react').getHeight(s);return Math.max(t,this.$VideoAssetInsightsMinutesViewedCard13()-o);};r.prototype.$VideoAssetInsightsMinutesViewedCard1=function(){'use strict';return o+this.$VideoAssetInsightsMinutesViewedCard12()>this.$VideoAssetInsightsMinutesViewedCard13();};r.prototype.$VideoAssetInsightsMinutesViewedCard13=function(){'use strict';return m-this.state.bottomNoticeHeight;};r.prototype.$VideoAssetInsightsMinutesViewedCard14=function(){'use strict';var s=void 0;if(this.state.showBreakdown){s={minutesViewedOrganicDaily:{label:i._("Organic"),color:c('VideoAssetInsightsConstants').AUTO_PLAY_RETENTION_CHART_COLOR},minutesViewedPaidDaily:{label:i._("Paid"),color:c('VideoAssetInsightsConstants').CLICK_TO_PLAY_RETENTION_CHART_COLOR}};}else s={minutesViewedDaily:{label:i._("Minutes Viewed")}};return (c('React').createElement('div',{className:"_4rcw"},c('React').createElement(c('VideoAssetInsightsDailyGraph.react'),{data:this.props.data,config:s,noData:!this.$VideoAssetInsightsMinutesViewedCard6()})));};r.prototype.$VideoAssetInsightsMinutesViewedCard15=function(){'use strict';if(!this.$VideoAssetInsightsMinutesViewedCard7())return null;var s=this.props.data.minutesViewedLive,t=this.props.data.minutesViewedPost,u=c('VideoAssetInsightsConfig').getLiveBreakdownAvailableTime(),v=this.props.data.minutesViewed.value,w=void 0,x=void 0;if(this.props.earliestPostCreationTime<=u){var y=c('formatDate')(u,'M j, Y');w="_4d5r";v=0;x=i._("Live\/Replay data available for videos created after {date}",[i.param('date',y)]);}var z=[{rawValue:s.value,formattedValue:s.text,label:i._("Live"),tooltip:i._("Minutes viewed while video was broadcasting live."),color:c('VideoAssetInsightsConstants').AUTO_PLAY_RETENTION_CHART_COLOR},{rawValue:t.value,formattedValue:t.text,label:i._("Replay"),tooltip:i._("Minutes viewed after the live broadcast ended."),color:c('VideoAssetInsightsConstants').CLICK_TO_PLAY_RETENTION_CHART_COLOR}];return (c('React').createElement(l,{data:z,totalValue:v,className:w,tooltip:x}));};r.prototype.$VideoAssetInsightsMinutesViewedCard16=function(){'use strict';var s=c('VideoAssetInsightsConfig').getMinutesViewedAvailableTime(),t=this.props.earliestPostCreationTime<=s,u=this.props.data.minutesViewedPaid.value+this.props.data.minutesViewedOrganic.value,v=void 0,w=this.$VideoAssetInsightsMinutesViewedCard6();if(t){var x=c('formatDate')(s,'M j, Y');u=0;v=i._("Organic\/Paid data available for videos created after {date}",[i.param('date',x)]);}var y=void 0;if(this.$VideoAssetInsightsMinutesViewedCard8())y=c('React').createElement(l,{className:t?"_4d5r":'',data:this.$VideoAssetInsightsMinutesViewedCard2(),totalValue:u,tooltip:v,applyColors:this.state.showBreakdown,isSelectable:w,selected:this.state.showBreakdown,onSelectToggle:this.$VideoAssetInsightsMinutesViewedCard4.bind(this)});var z=void 0;if(this.$VideoAssetInsightsMinutesViewedCard9())z=c('React').createElement(l,{data:this.$VideoAssetInsightsMinutesViewedCard3(),totalValue:u});return (c('React').createElement(c('VideoAssetInsightsBarList.react'),null,this.$VideoAssetInsightsMinutesViewedCard15(),y,z));};r.prototype.$VideoAssetInsightsMinutesViewedCard17=function(){'use strict';return (c('React').createElement('div',{className:"_2ox"+(this.state.showScrollNux?' '+"_2x1":'')+(this.state.dismissScrollNux?' '+"_2x2":'')},c('React').createElement('div',null,c('React').createElement('span',{className:"_2x4"},i._("Scroll for more breakdowns"),c('React').createElement(c('XUICloseButton.react'),{shade:'light',className:"_2x5",onClick:function(){return this.setState({dismissScrollNux:true});}.bind(this)}))),c('React').createElement('div',{className:"_2x6"},c('React').createElement('span',{className:"_2x7"}))));};r.prototype.$VideoAssetInsightsMinutesViewedCard18=function(){'use strict';return c('VideoAssetInsightsConfig').getHideOrganicAndPaidMetrics()?c('React').createElement('div',{className:"_1hd1",ref:'bottomNotice'},i._("This metric shows total video activity for this video from organic distribution and any paid distribution managed by your Page or other Pages.")):null;};r.prototype.render=function(){'use strict';var s=void 0;if(c('VideoAssetInsightsConfig').getShowCardTooltips())s=c('React').createElement(c('VideoAssetInsightsInfo.react'),{className:"_4qbz",alignH:'right',tooltip:c('VideoAssetInsightsConfig').getShowNewInsightsDialogTooltips()?i._("The total number of minutes your video was watched, including replays and views less than 3 seconds."):i._("Minutes Viewed shows the total number of minutes people spent watching your video each day.")});return (c('React').createElement('div',null,c('React').createElement('div',{className:"_2qos"+(this.state.canScrollUp?' '+"_4rcx":'')+(this.state.showBreakdown?' '+"_4d5u":'')},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:r.LABEL,value:c('intlNumUtils').formatNumberWithThousandDelimiters(this.props.data.minutesViewed.value),onBackClick:this.props.onBackClick,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick}),s,c('React').createElement(c('LayoutScrollableGrid.react'),{stickyMode:c('LayoutScrollableGridStickyMode').ATTACH,width:n,height:this.$VideoAssetInsightsMinutesViewedCard13(),onScroll:this.$VideoAssetInsightsMinutesViewedCard11.bind(this)},c('React').createElement(c('LayoutScrollableGridRow.react'),{height:o,stickyOffset:0},this.$VideoAssetInsightsMinutesViewedCard14()),c('React').createElement(c('LayoutScrollableGridRow.react'),{height:this.$VideoAssetInsightsMinutesViewedCard12()},this.$VideoAssetInsightsMinutesViewedCard16())),this.$VideoAssetInsightsMinutesViewedCard17()),this.$VideoAssetInsightsMinutesViewedCard18()));};r.LABEL=i._("Minutes Viewed");f.exports=r;}),null);
  __d("UFIReactionsAnimatedIconGradient.react",["React"],(function a(b,c,d,e,f,g){var h,i;h=babelHelpers.inherits(j,c("React").Component);i=h&&h.prototype;j.prototype.shouldComponentUpdate=function(){"use strict";return false;};j.prototype.render=function(){"use strict";var k=this.props.gradient,l=[],m=k.start.key_frames,n=m.length,o=k.end.key_frames,p=o.length;for(var q=0;q<this.props.frameCount;q++)l.push(c("React").createElement("linearGradient",{id:this.props.id+"_"+q,key:this.props.id+"_"+q,x1:"0",x2:"0",y1:"0",y2:"1"},c("React").createElement("stop",{offset:"0%",stopColor:m[Math.min(q,n-1)]}),c("React").createElement("stop",{offset:"100%",stopColor:o[Math.min(q,p-1)]})));return (c("React").createElement("defs",null,l));};function j(){"use strict";h.apply(this,arguments);}f.exports=j;}),null);
  __d('UFIReactionsVectorIcon',['CubicBezier'],(function a(b,c,d,e,f,g){h.prototype.buildAnimation=function(i){'use strict';var j=i.anchor,k=i.property;i.key_frames=i.key_frames.map(function(l,m,n){if(k==='ROTATION')return 'rotate('+l[0]+' '+j.join(' ')+')';if(k==='POSITION'){var o=l[0]-n[0][0],p=l[1]-n[0][1];return 'translate('+o+' '+p+')';}if(k==='SCALE'){var q=l.map(function(r){return r/100;}).join(' ');if(j)return ('translate('+j.join(' ')+') '+('scale('+q+') ')+('translate('+j.map(function(r){return -r;}).join(' ')+')'));return 'scale('+q+')';}});return i;};h.prototype.buildEffect=function(i){'use strict';if(i.property==='gradient'){i.start.key_frames=i.start.key_frames.map(function(j){return 'rgb('+Math.floor(j[0])+','+Math.floor(j[1])+','+Math.floor(j[2])+')';});i.end.key_frames=i.end.key_frames.map(function(j){return 'rgb('+Math.floor(j[0])+','+Math.floor(j[1])+','+Math.floor(j[2])+')';});}return i;};h.prototype.buildFeature=function(i){'use strict';i.key_frames=i.key_frames.map(function(j){return j.map(function(k){return k[0]+k[1].join(',');}).join(' ');});return i;};h.prototype.buildKeyFrames=function(i){'use strict';var j=i.key_frames,k=i.timing_curves;return Object.keys(j).map(function(l){return parseInt(l,10);}).sort(function(l,m){return l-m;}).reduce(function(l,m,n,o){var p,q=j[m];if(n===0){for(var r=0;r<=m;r++)l.push(q);return l;}var s=null,t=k[n-1];if(Array.isArray(t))s=new (c('CubicBezier'))(t[0],t[1]);var u=o[n-1],v=j[u];for(var w=u+1;w<=m;w++)if(w===m){l.push(q);}else (function(){var x=(w-u)/(m-u);if(s)x=s.solve(x);l.push(q.map(function(y,z){if(Array.isArray(y))return [y[0],y[1].map(function(aa,ba){return v[z][1][ba]+(aa-v[z][1][ba])*x;})];if(isNaN(parseFloat(y)))return y;return v[z]+(y-v[z])*x;}));})();return l;},[],this);};h.prototype.buildData=function(i){'use strict';if(i.animations)i.animations=i.animations.map(this.buildData,this).map(this.buildAnimation,this);if(i.effects)i.effects=i.effects.map(this.buildData,this).map(this.buildEffect,this);if(i.end)i.end.key_frames=this.buildKeyFrames(i.end);if(i.features)i.features=i.features.map(this.buildData,this).map(this.buildFeature,this);if(i.key_frames)i.key_frames=this.buildKeyFrames(i);if(i.start)i.start.key_frames=this.buildKeyFrames(i.start);if(i.groups)i.groups=i.groups.map(this.buildData,this);return i;};function h(i){'use strict';this.$UFIReactionsVectorIcon2=i.frameCount;this.$UFIReactionsVectorIcon1=this.buildData(i);}h.prototype.getData=function(){'use strict';return this.$UFIReactionsVectorIcon1;};h.prototype.getFrameCount=function(){'use strict';return this.$UFIReactionsVectorIcon2;};f.exports=h;}),null);
  __d('UFIReactionsAnimatedIconImpl.react',['Locale','React','UFIReactionsAnimatedIconGradient.react','UFIReactionsVectorIcon','cancelAnimationFrame','getVendorPrefixedName','requestAnimationFrame','uniqueID'],(function a(b,c,d,e,f,g){var h,i,j=60,k=1000/j,l=c('getVendorPrefixedName')('transform'),m=c('getVendorPrefixedName')('transformOrigin'),n={};h=babelHelpers.inherits(o,c('React').Component);i=h&&h.prototype;function o(p,q){'use strict';i.constructor.call(this);var r=p.reaction.toUpperCase(),s=n[r];if(!s){s=new (c('UFIReactionsVectorIcon'))(p.vectors[r]);n[r]=s;}this.animation=s.getData();this.frameCount=s.getFrameCount();this.id=c('uniqueID')();this.state={frame:0};}o.prototype.componentWillUnmount=function(){'use strict';c('cancelAnimationFrame')(this.animationFrame);};o.prototype.componentDidMount=function(){'use strict';if(this.props.animate&&this.frameCount>1)this.nextFrame();};o.prototype.componentDidUpdate=function(p,q){'use strict';if(this.props.animate&&this.frameCount>1&&(!p.animate||q.frame!==this.state.frame))this.nextFrame();};o.prototype.shouldComponentUpdate=function(){'use strict';return this.frameCount>1;};o.prototype.nextFrame=function(){'use strict';c('cancelAnimationFrame')(this.animationFrame);var p=Date.now();this.animationFrame=c('requestAnimationFrame')(function(){var q=Math.ceil(this.state.frame+(Date.now()-p)/k);if(q>=this.frameCount)q=0;this.setState({frame:q});}.bind(this));};o.prototype.getKeyFrame=function(p){'use strict';return p[Math.min(this.state.frame,p.length-1)];};o.prototype.getTransforms=function(p){'use strict';if(!p)return null;return p.map(function(q){return this.getKeyFrame(q.key_frames);}.bind(this)).join(' ');};o.prototype.renderFeature=function(p,q){'use strict';var r=[],s=null,t=null,u={};if(p.fill_color){s='#'+p.fill_color.substr(3);}else t=0;if(p.effects)p.effects.forEach(function(v){if(v.property==='gradient'){r.push(c('React').createElement(c('UFIReactionsAnimatedIconGradient.react'),{frameCount:this.frameCount,gradient:v,id:this.id,key:'gradient',name:this.animation.name}));s='url(#'+this.id+'_'+this.state.frame+')';t=null;}}.bind(this));if(p.stroke_color){u.stroke='#'+p.stroke_color.substr(3);u.strokeWidth=p.stroke_width;u.strokeLinecap='round';u.strokeLinejoin='round';}return (c('React').createElement('g',{key:q},r,c('React').createElement('path',babelHelpers['extends']({d:this.getKeyFrame(p.key_frames),fill:s,fillOpacity:t,transform:this.getTransforms(p.animations)},u))));};o.prototype.renderGroup=function(p,q){'use strict';return (c('React').createElement('g',{key:q,transform:this.getTransforms(p.animations)},p.features.map(this.renderFeature,this),p.groups.map(this.renderGroup,this)));};o.prototype.render=function(){var p;'use strict';var q=this.animation.size,r=q.height,s=q.width,t=this.props.maxSize;return (c('React').createElement('div',{style:{width:t,height:t}},c('React').createElement('svg',{height:r,style:(p={position:'absolute'},p[l]='scale('+t/s+', '+t/r+')',p[m]=c('Locale').isRTL()?s+'px 0':'0 0',p),version:'1.1',width:s},this.animation.features.map(this.renderFeature,this),this.animation.groups.map(this.renderGroup,this))));};f.exports=o;}),null);
  __d('VideoAssetInsightsReactionsBar.react',['cx','fbt','FeedbackReactionType','List.react','React','ReactDOM','Tooltip.react','UFIReactionsAnimatedIconImpl.react','UFIReactionsAnimatedVectorIcons','UFIReactionTypes','XUIAmbientNUX.react','XUIPageNavigation.react','XUIPageNavigationGroup.react','XUIPageNavigationItem.react','XUIText.react','intlNumUtils','joinClasses','shallowEqual'],(function a(b,c,d,e,f,g,h,i){var j,k,l=c('UFIReactionTypes').reactions,m=[c('FeedbackReactionType').LIKE,c('FeedbackReactionType').HAHA,c('FeedbackReactionType').LOVE,c('FeedbackReactionType').WOW,c('FeedbackReactionType').SORRY,c('FeedbackReactionType').ANGER],n={value:0,text:'0'};j=babelHelpers.inherits(o,c('React').Component);k=j&&j.prototype;function o(p){'use strict';k.constructor.call(this,p);this.state={};}o.prototype.shouldComponentUpdate=function(p,q){'use strict';return (!c('shallowEqual')(this.props,p)||!c('shallowEqual')(this.state,q));};o.prototype.$VideoAssetInsightsReactionsBar1=function(p,q,r,s){'use strict';var t=void 0;if(r&&s)t=c('React').createElement(c('List.react'),{direction:'horizontal',border:'medium'},c('React').createElement('li',null,c('React').createElement('div',{className:"_fa1"},i._("On Post")),c('React').createElement(c('XUIText.react'),{weight:'bold',display:'block'},c('intlNumUtils').formatNumberWithThousandDelimiters(r.value))),c('React').createElement('li',null,c('React').createElement('div',{className:"_fa1"},i._("On Shares")),c('React').createElement(c('XUIText.react'),{weight:'bold',display:'block'},c('intlNumUtils').formatNumberWithThousandDelimiters(s.value))));var u=void 0;if(!this.props.hideCounts)u=c('React').createElement(c('XUIText.react'),{weight:'bold',size:'small'},q.text);return (c('React').createElement(c('XUIPageNavigationItem.react'),{key:p,href:'#',onMouseEnter:function(){this.setState({hoveredReactionType:p});}.bind(this),onMouseLeave:function(){this.setState({hoveredReactionType:null});}.bind(this)},c('React').createElement(c('Tooltip.react'),{tooltip:t,display:'block',alignH:'center'},c('React').createElement('span',{className:"_fa2"},c('React').createElement('div',{className:"_fa3"},c('React').createElement(c('UFIReactionsAnimatedIconImpl.react'),{animate:this.state.hoveredReactionType===p,maxSize:'32',reaction:l[p].name,vectors:c('UFIReactionsAnimatedVectorIcons')})),u))));};o.prototype.render=function(){'use strict';var p=m.map(function(r){return this.$VideoAssetInsightsReactionsBar1(r,this.props.reactions[''+r]||n,this.props.reactionsOnPost?this.props.reactionsOnPost[''+r]||n:null,this.props.reactionsOnShares?this.props.reactionsOnShares[''+r]||n:null);}.bind(this)),q=void 0;if(this.props.showNUX&&this.state.nuxRef)q=c('React').createElement(c('XUIAmbientNUX.react'),{shown:true,contextRef:function(){return this.state.nuxRef;}.bind(this),insertParent:c('ReactDOM').findDOMNode(this.props.contextualLayerParent),position:'left',onCloseButtonClick:this.props.onNUXClose},this.props.nuxTooltip);return (c('React').createElement('div',{className:c('joinClasses')(this.props.className,"_5vx1 _fa4"),ref:function(r){if(!this.state.nuxRef)setTimeout(function(){return this.setState({nuxRef:r});}.bind(this),this.props.nuxDelay||0);}.bind(this)},q,[c('React').createElement(c('XUIPageNavigation.react'),{key:this.props.selectedReactionType||'',className:!this.props.onReactionClick?"_fai":'',activeTabKey:this.props.selectedReactionType,onTabClick:function(r){if(this.props.onReactionClick)this.props.onReactionClick(r);return false;}.bind(this)},c('React').createElement(c('XUIPageNavigationGroup.react'),null,p))]));};f.exports=o;}),null);
  __d('VideoAssetInsightsPostEngagementCard.react',['ix','cx','fbt','Image.react','React','UFIReactionTypes','VideoAssetInsightsConfig','VideoAssetInsightsInfo.react','VideoAssetInsightsMetricsNavigationBar.react','VideoAssetInsightsReactionsBar.react','XUIGrayText.react','fbglyph','intlNumUtils'],(function a(b,c,d,e,f,g,h,i,j){var k,l;k=babelHelpers.inherits(m,c('React').Component);l=k&&k.prototype;m.prototype.$VideoAssetInsightsPostEngagementCard1=function(){'use strict';var n=this.props.data.engagementTotal.reactions;if(!n||!c('VideoAssetInsightsConfig').hasReactionsMetrics(this.props.earliestPostCreationTime))return false;return Object.keys(n).some(function(o){return (o!==c('UFIReactionTypes').LIKE&&n[o].value>0);});};m.prototype.$VideoAssetInsightsPostEngagementCard2=function(){'use strict';var n=Object.values(this.props.data.engagementTotal.reactions).reduce(function(p,q){return p+q.value;},0),o=Object.values(this.props.data.engagementFromPost.reactions).reduce(function(p,q){return p+q.value;},0);return (c('React').createElement('div',{className:"_2n6c"},c('React').createElement(c('Image.react'),{className:"_2n6d",src:h("123168")}),c('React').createElement(c('XUIGrayText.react'),{size:'medium'},j._("{total_reactions_count} Total Reactions - {shares_reactions_count} from Shares",[j.param('total_reactions_count',c('React').createElement(c('XUIGrayText.react'),{shade:'dark',weight:'bold'},c('intlNumUtils').formatNumberWithThousandDelimiters(n))),j.param('shares_reactions_count',c('React').createElement(c('XUIGrayText.react'),{shade:'dark',weight:'bold'},c('intlNumUtils').formatNumberWithThousandDelimiters(n-o)))]))));};m.prototype.$VideoAssetInsightsPostEngagementCard3=function(){'use strict';var n=this.props.data.engagementTotal.like.value,o=this.props.data.engagementFromPost.like.value;return (c('React').createElement('div',{className:"_2n6e"},c('React').createElement(c('Image.react'),{className:"_2n6d",src:h("123168")}),c('React').createElement(c('XUIGrayText.react'),{size:'medium'},j._("{total_likes_count} Total Likes - {shares_likes_count} from Shares",[j.param('total_likes_count',c('React').createElement(c('XUIGrayText.react'),{shade:'dark',weight:'bold'},c('intlNumUtils').formatNumberWithThousandDelimiters(n))),j.param('shares_likes_count',c('React').createElement(c('XUIGrayText.react'),{shade:'dark',weight:'bold'},c('intlNumUtils').formatNumberWithThousandDelimiters(n-o)))]))));};m.prototype.$VideoAssetInsightsPostEngagementCard4=function(){'use strict';var n=this.props.data.engagementTotal.comment.value,o=this.props.data.engagementFromPost.comment.value;return (c('React').createElement('div',{className:"_2n6g"},c('React').createElement(c('Image.react'),{className:"_2n6d",src:h("122681")}),c('React').createElement(c('XUIGrayText.react'),{size:'medium'},j._("{total_comments_count} Total Comments - {shares_comments_count} from Shares",[j.param('total_comments_count',c('React').createElement(c('XUIGrayText.react'),{shade:'dark',weight:'bold'},c('intlNumUtils').formatNumberWithThousandDelimiters(n))),j.param('shares_comments_count',c('React').createElement(c('XUIGrayText.react'),{shade:'dark',weight:'bold'},c('intlNumUtils').formatNumberWithThousandDelimiters(n-o)))]))));};m.prototype.$VideoAssetInsightsPostEngagementCard5=function(){'use strict';var n=this.props.data.engagementTotal.share.value,o=this.props.data.engagementFromPost.share.value;return (c('React').createElement('div',{className:"_2n6g"},c('React').createElement(c('Image.react'),{className:"_2n6d",src:h("123561")}),c('React').createElement(c('XUIGrayText.react'),{size:'medium'},j._("{total_shares_count} Total Shares - {shares_shares_count} from Shares",[j.param('total_shares_count',c('React').createElement(c('XUIGrayText.react'),{shade:'dark',weight:'bold'},c('intlNumUtils').formatNumberWithThousandDelimiters(n))),j.param('shares_shares_count',c('React').createElement(c('XUIGrayText.react'),{shade:'dark',weight:'bold'},c('intlNumUtils').formatNumberWithThousandDelimiters(n-o)))]))));};m.prototype.$VideoAssetInsightsPostEngagementCard6=function(){'use strict';var n=this.props.data.engagementTotal.reactions||{},o=this.props.data.engagementFromPost.reactions||{},p={};Object.keys(n).forEach(function(q){p[q]={value:n[q].value-o[q].value};});return p;};m.prototype.render=function(){'use strict';var n=void 0,o=void 0,p=void 0;if(this.$VideoAssetInsightsPostEngagementCard1()){n=c('React').createElement(c('VideoAssetInsightsReactionsBar.react'),{className:"_2n6j",reactions:this.props.data.engagementTotal.reactions,reactionsOnPost:this.props.data.engagementFromPost.reactions,reactionsOnShares:this.$VideoAssetInsightsPostEngagementCard6()});o=this.$VideoAssetInsightsPostEngagementCard2();}else o=this.$VideoAssetInsightsPostEngagementCard3();if(c('VideoAssetInsightsConfig').getShowCardTooltips())p=c('React').createElement(c('VideoAssetInsightsInfo.react'),{className:"_4qbz",alignH:'right',tooltip:c('VideoAssetInsightsConfig').getShowNewPostEngagementTooltip()?j._("The total number of reactions, comments and shares your video received on the original post and shared posts. This metric includes streaming reactions during and after the live broadcast."):j._("The total number of reactions, comments and shares your video received on the original post and shared posts. This metric includes streaming reactions on live broadcasts.")});return (c('React').createElement('div',{className:"_2qos _2n6k"},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:m.LABEL,value:c('intlNumUtils').formatNumberWithThousandDelimiters(this.props.data.engagementTotal.total.value),onBackClick:this.props.onBackClick,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick}),p,o,n,this.$VideoAssetInsightsPostEngagementCard4(),this.$VideoAssetInsightsPostEngagementCard5()));};function m(){'use strict';k.apply(this,arguments);}m.LABEL=j._("Post Engagement");f.exports=m;}),null);
  __d('VideoAssetInsightsReachCard.react',['cx','fbt','React','VideoAssetInsightsBarList.react','VideoAssetInsightsMetricsNavigationBar.react','intlNumUtils'],(function a(b,c,d,e,f,g,h,i){var j,k,l=c('VideoAssetInsightsBarList.react').VideoAssetInsightsBar;j=babelHelpers.inherits(m,c('React').Component);k=j&&j.prototype;m.prototype.$VideoAssetInsightsReachCard1=function(){'use strict';return ([{rawValue:this.props.data.reachOrganic.value,formattedValue:this.props.data.reachOrganic.text,label:i._("Organic")},{rawValue:this.props.data.reachPaid.value,formattedValue:this.props.data.reachPaid.text,label:i._("Paid")}]);};m.prototype.render=function(){'use strict';var n=this.props.data.reachOrganic.value+this.props.data.reachPaid.value;return (c('React').createElement('div',{className:"_2qos"},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:m.LABEL,value:c('intlNumUtils').formatNumberWithThousandDelimiters(this.props.data.reach.value),onBackClick:this.props.onBackClick,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick,currentCardKey:this.props.currentCardKey}),c('React').createElement(c('VideoAssetInsightsBarList.react'),{className:"_2pid"},'>',c('React').createElement(l,{data:this.$VideoAssetInsightsReachCard1(),totalValue:n}))));};function m(){'use strict';j.apply(this,arguments);}m.LABEL=i._("People Reached");f.exports=m;}),null);
  __d('VideoAssetInsightsTopAudienceCard.react',['cssVar','cx','fbt','AsyncRequest','BUIInsightsHoverCardChart.react','BUIInsightsLegend.react','BUIInsightsVerticalBarChart.react','CandelaConstants','immutable','InsightsFormatters','React','VideoAssetInsightsConfig','VideoAssetInsightsInfo.react','VideoAssetInsightsMetricCards','VideoAssetInsightsMetricsNavigationBar.react','VideoAssetInsightsTypedLogger','XBasicFBNuxViewController','XUINotice.react','formatDate','CandelaGroupScaleBuilder','intlSummarizeNumber','isEmpty'],(function a(b,c,d,e,f,g,h,i,j){var k,l,m=c('CandelaGroupScaleBuilder').group,n=c('CandelaConstants').ClassName,o=c('immutable').OrderedSet,p=194,q=372,r={'axis[orientation="vertical"]':{width:30},barlabel:{visibility:'hidden'},bargroup:{margin:5},bar:{padding:3}},s=1000,t=4336;k=babelHelpers.inherits(u,c('React').Component);l=k&&k.prototype;function u(v){'use strict';l.constructor.call(this,v);this.$VideoAssetInsightsTopAudienceCard13=function(){this.setState({showInfoNUX:false});c('VideoAssetInsightsConfig').setShowTopAudienceInfoNUX(false);}.bind(this);this.state=babelHelpers['extends']({},this.$VideoAssetInsightsTopAudienceCard1(v),{showInfoNUX:c('VideoAssetInsightsConfig').getShowTopAudienceInfoNUX()});}u.prototype.componentDidMount=function(){'use strict';if(this.state.showInfoNUX)this.$VideoAssetInsightsTopAudienceCard2();};u.prototype.$VideoAssetInsightsTopAudienceCard2=function(){'use strict';var v=c('XBasicFBNuxViewController').getURIBuilder().setInt('nux_id',t).getURI();new (c('AsyncRequest'))().setURI(v).send();};u.prototype.$VideoAssetInsightsTopAudienceCard1=function(v){var w;'use strict';if(v.data.minutesViewedAgeBucketAndGender){var w=function(){var x=v.data.minutesViewedAgeBucketAndGender,y=v.data.minutesViewed.value;return {v:{data:x.map(function(z){return {ageBucket:z.ageBucket,male:z.male/y,female:z.female/y,malePage:z.page_male_percentage,femalePage:z.page_female_percentage};}).slice(0,10),total:y,varianceMale:null,varianceFemale:null}};}();if(typeof w==="object")return w.v;}return {data:[],total:0,varianceMale:null,varianceFemale:null};};u.prototype.$VideoAssetInsightsTopAudienceCard3=function(event){'use strict';new (c('VideoAssetInsightsTypedLogger'))().setVideoOrAssetID(this.props.loggerData.videoID).setSource(this.props.loggerData.source).setEvent(event).setPageID(this.props.loggerData.pageID).setCurrentMetricCard(c('VideoAssetInsightsMetricCards').TOP_AUDIENCE).log();};u.prototype.$VideoAssetInsightsTopAudienceCard4=function(v,w){'use strict';var x=this.$VideoAssetInsightsTopAudienceCard5;return function(y){if(w){return c('React').createElement('span',{className:"_1x8i"},x(y));}else return j._("Percent of Minutes Viewed. Ages {whitespace}{age range}",[j.param('whitespace',' '),j.param('age range',y)]);};};u.prototype.$VideoAssetInsightsTopAudienceCard6=function(event){'use strict';if(!c('isEmpty')(event.data)){var v=event.data,w=v.male,x=v.malePage,y=v.female,z=v.femalePage;if(w&&x&&y&&z)this.setState({varianceMale:w.value-x.value,varianceFemale:y.value-z.value});}};u.prototype.$VideoAssetInsightsTopAudienceCard7=function(v,w){'use strict';if(v)return v>0?c('React').createElement('span',{className:"_1x8i"+(w?' '+"_3-95":''),style:{color:"#42b72a"}},'+',this.$VideoAssetInsightsTopAudienceCard5(v)):c('React').createElement('span',{className:"_1x8i"+(w?' '+"_3-95":''),style:{color:"#fa3e3e"}},this.$VideoAssetInsightsTopAudienceCard5(v));return c('React').createElement('span',{className:w?"_3-95":''},'--');};u.prototype.$VideoAssetInsightsTopAudienceCard5=function(v){'use strict';return c('InsightsFormatters').percentageFormatter(+v.toFixed(3));};u.prototype.$VideoAssetInsightsTopAudienceCard8=function(){'use strict';return o([{key:'metric',label:j._("Minutes Viewed"),value:c('intlSummarizeNumber')(this.props.data.minutesViewed.value)},{label:j._("Men"),labelStyle:{color:"#3d6ad6"},value:c('InsightsFormatters').percentageFormatter(+this.state.data.reduce(function(v,w){return v+w.male;},0).toFixed(2))},{label:j._("Women"),labelStyle:{color:"#13bda6"},value:c('InsightsFormatters').percentageFormatter(+this.state.data.reduce(function(v,w){return v+w.female;},0).toFixed(2))}]);};u.prototype.$VideoAssetInsightsTopAudienceCard9=function(v){'use strict';return c('formatDate')(new Date(v*s),'M j');};u.prototype.$VideoAssetInsightsTopAudienceCard10=function(){'use strict';var v=this.props.data.minutesViewedDaily;if(v.startTime===v.endTime)return this.$VideoAssetInsightsTopAudienceCard9(v.startTime);return this.$VideoAssetInsightsTopAudienceCard9(v.startTime)+' - '+this.$VideoAssetInsightsTopAudienceCard9(v.endTime);};u.prototype.$VideoAssetInsightsTopAudienceCard11=function(){'use strict';return o([{key:'male',label:j._("Minutes Viewed, Men")},{key:'malePageIgnoreMe',richLabel:c('React').createElement('span',{style:{color:"#3d6ad6",opacity:.6}},j._("from page's 30 day video audience")),value:this.$VideoAssetInsightsTopAudienceCard7(this.state.varianceMale,true)},{key:'female',label:j._("Minutes Viewed, Women")},{key:'femalePageIgnoreMe',richLabel:c('React').createElement('span',{style:{color:"#13bda6",opacity:.6}},j._("from page's 30 day video audience")),value:this.$VideoAssetInsightsTopAudienceCard7(this.state.varianceFemale,false)}]);};u.prototype.$VideoAssetInsightsTopAudienceCard12=function(){'use strict';return {ageBucket:{type:'category'},male:{type:'percentage'},malePage:{className:n.BENCHMARK,comparisonFor:'male',type:'percentage'},female:{type:'percentage'},femalePage:{className:n.BENCHMARK,comparisonFor:'female',type:'percentage'}};};u.getTopAudience=function(v){'use strict';var w=0,x='';if(v)v.map(function(y){if(y.female>w){w=y.female;x=j._("Women, {age range}",[j.param('age range',c('React').createElement('nobr',null,y.ageBucket))]);}if(y.male>w){w=y.male;x=j._("Men, {age range}",[j.param('age range',c('React').createElement('nobr',null,y.ageBucket))]);}});return x;};u.isCardDisabled=function(v,w){'use strict';return (!(v.minutesViewedAgeBucketAndGender&&v.minutesViewedAgeBucketAndGender.length>0)||w<c('VideoAssetInsightsConfig').getAudienceBreakdownAvailableTime());};u.getDisabledTooltip=function(v,w){'use strict';if(w<c('VideoAssetInsightsConfig').getAudienceBreakdownAvailableTime())return j._("This data is only available for videos {line break} posted after {date}.",[j.param('line break',c('React').createElement('br',null)),j.param('date',c('formatDate')(c('VideoAssetInsightsConfig').getAudienceBreakdownAvailableTime(),'M j, Y'))]);return j._("This data will become available when {line break} the video has more than 100 total viewers.",[j.param('line break',c('React').createElement('br',null))]);};u.prototype.$VideoAssetInsightsTopAudienceCard14=function(){'use strict';var v=[m('malePage','male','femalePage','female').stepCountHint(4).from(0).extendInput(0,.25).roundInput()];return (c('React').createElement('div',null,c('React').createElement(c('BUIInsightsLegend.react'),{className:"_kd9",title:this.$VideoAssetInsightsTopAudienceCard10(),titleKey:'x',items:o([]),auxiliaryItems:this.$VideoAssetInsightsTopAudienceCard8()}),c('React').createElement(c('BUIInsightsHoverCardChart.react'),{hoverCardPosition:'above',items:this.$VideoAssetInsightsTopAudienceCard11(),formatterFactory:this.$VideoAssetInsightsTopAudienceCard4.bind(this),titleKey:'ageBucket'},c('React').createElement(c('BUIInsightsVerticalBarChart.react'),{data:this.state.data,plotX:m('ageBucket'),plotY:v,schema:this.$VideoAssetInsightsTopAudienceCard12(),height:p,width:q,onMouseEnter:this.$VideoAssetInsightsTopAudienceCard6.bind(this),styles:r,overlap:true}))));};u.prototype.render=function(){'use strict';var v=void 0,w=void 0,x=c('VideoAssetInsightsConfig').getShowNewInsightsDialogTooltips()?j._("This percentage shows the breakdown of Total Minutes Viewed by age and gender for your video compared to the audience that viewed videos on your Page during the last 30 days."):j._("Top Audience shows the lifetime percent of minutes viewed by age and gender for your video compared to the audience that viewed videos on your page during the last 30 days.");if(c('VideoAssetInsightsConfig').getShowCardTooltips())v=c('React').createElement(c('VideoAssetInsightsInfo.react'),{className:"_4qbz",alignH:'right',tooltip:x});if(this.state.showInfoNUX)w=c('React').createElement(c('XUINotice.react'),{onDismiss:this.$VideoAssetInsightsTopAudienceCard13},x);return (c('React').createElement('div',{className:"_2qos"},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:u.LABEL,value:u.getTopAudience(this.props.data.minutesViewedAgeBucketAndGender?this.props.data.minutesViewedAgeBucketAndGender:null),onBackClick:this.props.onBackClick,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick}),w,c('React').createElement('div',{className:"_1vup"},v,this.$VideoAssetInsightsTopAudienceCard14())));};u.LABEL=j._("Top Audience");f.exports=u;}),null);
  __d('VideoAssetInsightsTopLocationCard.react',['cssVar','cx','fbt','AsyncRequest','BUIInsightsHorizontalBarChart.react','BUIInsightsHoverCardChart.react','BUIInsightsLegend.react','CandelaConstants','immutable','InsightsFormatterFactories','InsightsFormatters','React','VideoAssetInsightsConfig','VideoAssetInsightsInfo.react','VideoAssetInsightsMetricCards','VideoAssetInsightsMetricsNavigationBar.react','VideoAssetInsightsTypedLogger','XBasicFBNuxViewController','XUINotice.react','formatDate','CandelaGroupScaleBuilder','intlSummarizeNumber','isEmpty','shallowCompare'],(function a(b,c,d,e,f,g,h,i,j){var k,l,m=c('CandelaGroupScaleBuilder').group,n=c('CandelaConstants').ClassName,o=c('CandelaConstants').Orientation,p=c('immutable').OrderedSet,q=372,r=22,s=4,t=8,u={'axis[orientation="horizontal"]':{height:0},'axis[alignment="left"]':{width:70},bar:{height:r,padding:s}},v=1000,w=4337;k=babelHelpers.inherits(x,c('React').Component);l=k&&k.prototype;function x(y){'use strict';l.constructor.call(this,y);this.$VideoAssetInsightsTopLocationCard16=function(){this.setState({showInfoNUX:false});c('VideoAssetInsightsConfig').setShowTopLocationInfoNUX(false);}.bind(this);this.state=babelHelpers['extends']({},this.$VideoAssetInsightsTopLocationCard2(y),{showInfoNUX:c('VideoAssetInsightsConfig').getShowTopLocationInfoNUX()});this.$VideoAssetInsightsTopLocationCard1='';}x.prototype.shouldComponentUpdate=function(y,z){'use strict';return c('shallowCompare')(this,y,z);};x.prototype.componentWillReceiveProps=function(y){'use strict';var z=this.props.data.minutesViewedRegions;if(y.data.minutesViewedRegions!==z)this.setState(this.$VideoAssetInsightsTopLocationCard2(y));};x.prototype.componentDidMount=function(){'use strict';if(this.state.showInfoNUX)this.$VideoAssetInsightsTopLocationCard3();};x.prototype.$VideoAssetInsightsTopLocationCard3=function(){'use strict';var y=c('XBasicFBNuxViewController').getURIBuilder().setInt('nux_id',w).getURI();new (c('AsyncRequest'))().setURI(y).send();};x.prototype.$VideoAssetInsightsTopLocationCard2=function(y){var z;'use strict';if(y.data.minutesViewedRegions){var z=function(){var aa=y.data.minutesViewedRegions,ba=y.data.minutesViewed.value,ca={},da=aa.map(function(ea){var fa=ea.value/ba;ca[ea.name+'_'+fa]=ea.country_name;return {location:ea.name,value:fa,valuePage:ea.page_percentage};}).slice(0,10);return {v:{regions:da,regionsCountry:ca,total:ba,variance:null}};}();if(typeof z==="object")return z.v;}return {regions:[],regionsCountry:{},total:0,variance:null};};x.prototype.$VideoAssetInsightsTopLocationCard4=function(event){'use strict';new (c('VideoAssetInsightsTypedLogger'))().setVideoOrAssetID(this.props.loggerData.videoID).setSource(this.props.loggerData.source).setEvent(event).setPageID(this.props.loggerData.pageID).setCurrentMetricCard(c('VideoAssetInsightsMetricCards').TOP_LOCATION).log();};x.prototype.$VideoAssetInsightsTopLocationCard5=function(){'use strict';return p([{key:'value',label:j._("of Minutes Viewed")},{key:'valuePageIgnoreMe',richLabel:c('React').createElement('span',{style:{color:"#3d6ad6",opacity:.6}},j._("from page's 30 day video audience")),value:this.$VideoAssetInsightsTopLocationCard6(this.state.variance)}]);};x.prototype.$VideoAssetInsightsTopLocationCard7=function(y,z){'use strict';var aa=this.$VideoAssetInsightsTopLocationCard8;return function(ba){if(z){return c('React').createElement('span',{className:"_1x8i"},aa(ba));}else return j._("Percent of Minutes Viewed: {whitespace}{location}",[j.param('whitespace',' '),j.param('location',ba+', '+this.$VideoAssetInsightsTopLocationCard1)]);}.bind(this);};x.prototype.$VideoAssetInsightsTopLocationCard9=function(event){'use strict';if(!c('isEmpty')(event.data)){var y=event.data,z=y.value,aa=y.valuePage,ba=y.location;if(z&&aa){var ca=ba.value+'_'+z.value;this.$VideoAssetInsightsTopLocationCard1=this.state.regionsCountry[ca];this.setState({variance:z.value-aa.value});}}};x.prototype.$VideoAssetInsightsTopLocationCard6=function(y){'use strict';if(y)return y>0?c('React').createElement('span',{className:"_5av0 _1x8i",style:{color:"#42b72a"}},'+',this.$VideoAssetInsightsTopLocationCard8(y)):c('React').createElement('span',{className:"_5av0 _1x8i",style:{color:"#fa3e3e"}},this.$VideoAssetInsightsTopLocationCard8(y));return c('React').createElement('span',{className:"_5av0"},'--');};x.prototype.$VideoAssetInsightsTopLocationCard8=function(y){'use strict';return c('InsightsFormatters').percentageFormatter(+y.toFixed(3));};x.prototype.$VideoAssetInsightsTopLocationCard10=function(y,z){'use strict';var aa=c('InsightsFormatterFactories').axisMarkFormatterFactory(y,z);if(z===o.VERTICAL){return function(ba){return ba.length>t?String(j._("{shortened location}...",[j.param('shortened location',ba.slice(0,t).trimRight())])):ba;};}else return aa;};x.prototype.$VideoAssetInsightsTopLocationCard11=function(){'use strict';return p([{label:j._("Minutes Viewed"),value:c('intlSummarizeNumber')(this.props.data.minutesViewed.value)},{label:j._("Percent of Minutes Viewed"),labelStyle:{color:"#3d6ad6"}}]);};x.prototype.$VideoAssetInsightsTopLocationCard12=function(y){'use strict';return c('formatDate')(new Date(y*v),'M j');};x.prototype.$VideoAssetInsightsTopLocationCard13=function(){'use strict';var y=this.props.data.minutesViewedDaily;if(y.startTime===y.endTime)return this.$VideoAssetInsightsTopLocationCard12(y.startTime);return this.$VideoAssetInsightsTopLocationCard12(y.startTime)+' - '+this.$VideoAssetInsightsTopLocationCard12(y.endTime);};x.prototype.$VideoAssetInsightsTopLocationCard14=function(){'use strict';return {location:{type:'category'},value:{type:'percentage'},valuePage:{className:n.BENCHMARK,comparisonFor:'value',type:'percentage'}};};x.prototype.$VideoAssetInsightsTopLocationCard15=function(y){'use strict';return (r+s*2)*y+(r+s);};x.prototype.$VideoAssetInsightsTopLocationCard17=function(){'use strict';var y=[m('valuePage','value').from(0).extendInput(0,.25).roundInput()];return (c('React').createElement('div',null,c('React').createElement(c('BUIInsightsLegend.react'),{className:"_kd9",title:this.$VideoAssetInsightsTopLocationCard13(),items:p([]),auxiliaryItems:this.$VideoAssetInsightsTopLocationCard11()}),c('React').createElement(c('BUIInsightsHoverCardChart.react'),{hoverCardPosition:'above',items:this.$VideoAssetInsightsTopLocationCard5(),formatterFactory:this.$VideoAssetInsightsTopLocationCard7.bind(this),titleKey:'location'},c('React').createElement(c('BUIInsightsHorizontalBarChart.react'),{data:this.state.regions,plotY:m('location'),plotX:y,schema:this.$VideoAssetInsightsTopLocationCard14(),onMouseEnter:this.$VideoAssetInsightsTopLocationCard9.bind(this),styles:u,overlap:true,width:q,height:this.$VideoAssetInsightsTopLocationCard15(this.state.regions.length),axisMarkFormatterFactory:this.$VideoAssetInsightsTopLocationCard10}))));};x.prototype.render=function(){'use strict';var y=void 0,z=void 0,aa=c('VideoAssetInsightsConfig').getShowNewInsightsDialogTooltips()?j._("This percentage shows the breakdown of total minutes viewed by region for your video compared to the audience that viewed videos on your Page during the last 30 days."):j._("Top Location shows the lifetime percent of minutes viewed by region for your video compared to the audience that viewed videos on your page during the last 30 days.");if(c('VideoAssetInsightsConfig').getShowCardTooltips())y=c('React').createElement(c('VideoAssetInsightsInfo.react'),{className:"_4qbz",alignH:'right',tooltip:aa});if(this.state.showInfoNUX)z=c('React').createElement(c('XUINotice.react'),{onDismiss:this.$VideoAssetInsightsTopLocationCard16},aa);return (c('React').createElement('div',{className:"_2qos"},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:x.LABEL,value:x.getTopLocation(this.props.data.minutesViewedRegions?this.props.data.minutesViewedRegions:null),onBackClick:this.props.onBackClick,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick}),z,c('React').createElement('div',{className:"_1vup"},y,this.$VideoAssetInsightsTopLocationCard17())));};x.getTopLocation=function(y){'use strict';if(y&&y[0])return y[0].name;return '';};x.isCardDisabled=function(y,z){'use strict';return (!(y.minutesViewedRegions&&y.minutesViewedRegions.length>0)||z<c('VideoAssetInsightsConfig').getAudienceBreakdownAvailableTime());};x.getDisabledTooltip=function(y,z){'use strict';if(z<c('VideoAssetInsightsConfig').getAudienceBreakdownAvailableTime())return j._("This data is only available for videos {line break} posted after {date}.",[j.param('line break',c('React').createElement('br',null)),j.param('date',c('formatDate')(c('VideoAssetInsightsConfig').getAudienceBreakdownAvailableTime(),'M j, Y'))]);return j._("This data will become available when {line break} the video has more than 100 total viewers.",[j.param('line break',c('React').createElement('br',null))]);};x.LABEL=j._("Top Location");f.exports=x;}),null);
  __d('VideoAssetInsightsUniqueViewersCard.react',['cx','fbt','React','VideoAssetInsightsBarList.react','VideoAssetInsightsConfig','VideoAssetInsightsInfo.react','VideoAssetInsightsMetricsNavigationBar.react','intlNumUtils'],(function a(b,c,d,e,f,g,h,i){'use strict';var j,k,l=c('VideoAssetInsightsBarList.react').VideoAssetInsightsBar;j=babelHelpers.inherits(m,c('React').Component);k=j&&j.prototype;m.prototype.$VideoAssetInsightsUniqueViewersCard1=function(){return ([{rawValue:this.props.data.viewsUniqueOrganic.value,formattedValue:this.props.data.viewsUniqueOrganic.text,label:i._("Organic")},{rawValue:this.props.data.viewsUniquePaid.value,formattedValue:this.props.data.viewsUniquePaid.text,label:i._("Paid")}]);};m.prototype.render=function(){var n=void 0;if(c('VideoAssetInsightsConfig').getShowNewInsightsDialogTooltips())n=c('React').createElement(c('VideoAssetInsightsInfo.react'),{className:"_4qbz",alignH:'right',tooltip:i._("The number of distinct people who viewed your video at least once.")});var o=this.props.data.viewsUniquePaid.value+this.props.data.viewsUniqueOrganic.value;return (c('React').createElement('div',{className:"_2qos"},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:m.LABEL,value:c('intlNumUtils').formatNumberWithThousandDelimiters(this.props.data.uniqueViewers.value),onBackClick:this.props.onBackClick,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick}),n,c('React').createElement(c('VideoAssetInsightsBarList.react'),{className:"_2pid"},c('React').createElement(l,{data:this.$VideoAssetInsightsUniqueViewersCard1(),totalValue:o}))));};function m(){j.apply(this,arguments);}m.LABEL=i._("Unique Viewers");f.exports=m;}),null);
  __d('VideoAssetInsightsVideoEngagementCard.react',['cx','fbt','AsyncRequest','React','UFIReactionIconImpl.react','UFIReactionTypes','VideoAssetInsightsInfo.react','VideoAssetInsightsMetricCards','VideoAssetInsightsMetricsNavigationBar.react','VideoAssetInsightsReactionsBar.react','VideoAssetInsightsTimeGraph.react','VideoAssetInsightsTypedLogger','VideoAssetInsightsConfig','VideoUtils','XBasicFBNuxViewController','XUICloseButton.react','XUIGrayText.react','XUIText.react','formatDate','intlNumUtils'],(function a(b,c,d,e,f,g,h,i){var j,k,l={value:0,text:'0'},m=4335;j=babelHelpers.inherits(n,c('React').Component);k=j&&j.prototype;function n(o){'use strict';k.constructor.call(this,o);this.$VideoAssetInsightsVideoEngagementCard14=function(p){this.setState({selectedReactionType:p===this.state.selectedReactionType?null:p,singleReactionTimeline:this.$VideoAssetInsightsVideoEngagementCard7(p)});}.bind(this);this.$VideoAssetInsightsVideoEngagementCard15=function(p,q){if(q){return function(r){return null;};}else return function(r){return (c('VideoUtils').formatTime(r)+' / '+c('VideoUtils').formatTime(this.props.videoDurationInSec));}.bind(this);}.bind(this);this.$VideoAssetInsightsVideoEngagementCard17=function(){this.setState({showNUX:false});}.bind(this);this.state=babelHelpers['extends']({},this.$VideoAssetInsightsVideoEngagementCard3(o),{hoveredSecond:null,selectedReactionType:null,showNUX:c('VideoAssetInsightsConfig').getShowClickableReactionNUX()});this.$VideoAssetInsightsVideoEngagementCard1=this.$VideoAssetInsightsVideoEngagementCard1.bind(this);this.$VideoAssetInsightsVideoEngagementCard2=this.$VideoAssetInsightsVideoEngagementCard2.bind(this);}n.prototype.componentDidMount=function(){'use strict';if(this.state.showNUX)this.$VideoAssetInsightsVideoEngagementCard4();};n.prototype.componentWillReceiveProps=function(o){'use strict';if(o.data.engagementFromVideoPlayer!==this.props.data.engagementFromVideoPlayer)this.setState(this.$VideoAssetInsightsVideoEngagementCard3(o));};n.isCardDisabled=function(o,p){'use strict';if(!o.engagementFromVideoPlayerTotal||(o.engagementFromVideoPlayerTotal.all||0)===0)return true;if(p<c('VideoAssetInsightsConfig').getVideoEngagementAvailableTime())return true;return false;};n.getDisabledTooltip=function(o,p){'use strict';var q=c('VideoAssetInsightsConfig').getVideoEngagementAvailableTime();if(p<q)return i._("This data is only available for videos {line break} posted after {date}.",[i.param('line break',c('React').createElement('br',null)),i.param('date',c('formatDate')(q,'M j, Y'))]);return i._("Data is not available for this video, please check back later.");};n.prototype.$VideoAssetInsightsVideoEngagementCard4=function(){'use strict';var o=c('XBasicFBNuxViewController').getURIBuilder().setInt('nux_id',m).getURI();new (c('AsyncRequest'))().setURI(o).send();c('VideoAssetInsightsConfig').setShowClickableReactionNUX(false);};n.prototype.$VideoAssetInsightsVideoEngagementCard3=function(o){'use strict';var p=o.data,q=this.$VideoAssetInsightsVideoEngagementCard5(p.engagementFromVideoPlayer.reactions),r=0;for(var s=Object.keys(q),t=Array.isArray(s),u=0,s=t?s:s[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var v;if(t){if(u>=s.length)break;v=s[u++];}else{u=s.next();if(u.done)break;v=u.value;}var w=v,x=q[w],y=p.engagementFromVideoPlayer.share[w],z=p.engagementFromVideoPlayer.comment[w];r=Math.max(r,x,y,z);}return {reactions:q,reactionsTotal:this.$VideoAssetInsightsVideoEngagementCard6(p.engagementFromVideoPlayerTotal.reactions),maximumEngagementValue:r};};n.prototype.$VideoAssetInsightsVideoEngagementCard5=function(o){'use strict';var p={};for(var q=Object.keys(o),r=Array.isArray(q),s=0,q=r?q:q[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var t;if(r){if(s>=q.length)break;t=q[s++];}else{s=q.next();if(s.done)break;t=s.value;}var u=t;p[u]=Object.values(o[u]).reduce(function(v,w){return v+w.value;},0);}return p;};n.prototype.$VideoAssetInsightsVideoEngagementCard6=function(o){'use strict';return Object.values(o).reduce(function(p,q){return p+q.value;},0);};n.prototype.$VideoAssetInsightsVideoEngagementCard7=function(o){'use strict';var p=this.props.data.engagementFromVideoPlayer.reactions,q={};for(var r=Object.keys(p),s=Array.isArray(r),t=0,r=s?r:r[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var u;if(s){if(t>=r.length)break;u=r[t++];}else{t=r.next();if(t.done)break;u=t.value;}var v=u;q[v]=(p[v][o]||l).value;}return q;};n.prototype.$VideoAssetInsightsVideoEngagementCard8=function(event){'use strict';new (c('VideoAssetInsightsTypedLogger'))().setVideoOrAssetID(this.props.loggerData.videoID).setSource(this.props.loggerData.source).setEvent(event).setPageID(this.props.loggerData.pageID).setCurrentMetricCard(c('VideoAssetInsightsMetricCards').REACTIONS_COMMENTS_SHARES).log();};n.prototype.$VideoAssetInsightsVideoEngagementCard9=function(){'use strict';var o=c('VideoAssetInsightsConfig').getDailyViewsAvailableTime();return this.props.data.minutesViewedDaily.startTime>o;};n.prototype.$VideoAssetInsightsVideoEngagementCard1=function(o){'use strict';this.props.onChartHover(o);this.setState({hoveredSecond:o});};n.prototype.$VideoAssetInsightsVideoEngagementCard2=function(){'use strict';this.setState({hoveredSecond:null});};n.prototype.$VideoAssetInsightsVideoEngagementCard10=function(){'use strict';return {reactions:{label:i._("Reactions"),tooltip:i._("Reactions during each moment of the live video broadcast.")},comments:{label:i._("Comments"),tooltip:i._("Comments during each moment of the live video broadcast.")},shares:{label:i._("Shares"),tooltip:i._("Shares during each moment of the live video broadcast.")}};};n.prototype.$VideoAssetInsightsVideoEngagementCard11=function(){'use strict';var o=this.props.data.engagementFromVideoPlayer;return {reactions:this.state.reactions,shares:o.share,comments:o.comment};};n.prototype.$VideoAssetInsightsVideoEngagementCard12=function(){'use strict';var o=this.state.selectedReactionType||'';return {singleReaction:{label:c('React').createElement('span',null,c('React').createElement(c('UFIReactionIconImpl.react'),{className:"_42ep",reaction:parseInt(o,10)}),i._("{reaction_name} Reactions",[i.param('reaction_name',c('UFIReactionTypes').reactions[o].display_name)]),c('React').createElement(c('XUICloseButton.react'),{className:"_42eq",href:'#',onClick:function(){this.setState({selectedReactionType:null});}.bind(this)})),tooltip:i._("{reaction_name} reaction during each moment of the live video broadcast.",[i.param('reaction_name',c('UFIReactionTypes').reactions[o].display_name)])}};};n.prototype.$VideoAssetInsightsVideoEngagementCard13=function(){'use strict';return {singleReaction:this.state.singleReactionTimeline};};n.prototype.$VideoAssetInsightsVideoEngagementCard16=function(){'use strict';var o=void 0,p=void 0;if(this.state.selectedReactionType){o=this.$VideoAssetInsightsVideoEngagementCard12();p=this.$VideoAssetInsightsVideoEngagementCard13();}else{o=this.$VideoAssetInsightsVideoEngagementCard10();p=this.$VideoAssetInsightsVideoEngagementCard11();}return c('React').createElement('div',{className:"_4esa"},c('React').createElement(c('VideoAssetInsightsTimeGraph.react'),{title:i._("Engagement behavior during {time} broadcast",[i.param('time',c('VideoUtils').formatTime(this.props.videoDurationInSec))]),videoDurationInSec:this.props.videoDurationInSec,data:p,config:o,hideYAxis:true,maxYAxisValue:this.state.maximumEngagementValue,legendFormatterFactory:this.$VideoAssetInsightsVideoEngagementCard15,onChartHover:this.$VideoAssetInsightsVideoEngagementCard1,onChartLeave:this.$VideoAssetInsightsVideoEngagementCard2}));};n.prototype.$VideoAssetInsightsVideoEngagementCard18=function(){'use strict';var o=this.props.data.engagementFromVideoPlayerTotal.reactions,p=i._("Click a reaction to see its curve");return (c('React').createElement('div',{className:'xuiPageNavigation/wrapper'},c('React').createElement(c('XUIText.react'),{size:'medium',weight:'bold',display:'block'},i._("Reactions")),c('React').createElement(c('XUIGrayText.react'),{display:'block'},p),c('React').createElement(c('VideoAssetInsightsReactionsBar.react'),{reactions:o,hideCounts:true,selectedReactionType:this.state.selectedReactionType,onReactionClick:this.$VideoAssetInsightsVideoEngagementCard14,showNUX:this.state.showNUX,nuxTooltip:i._("Click a reaction to see its curve"),nuxDelay:c('VideoAssetInsightsConfig').CARD_ANIMATION_DURATION,onNUXClose:this.$VideoAssetInsightsVideoEngagementCard17,contextualLayerParent:this.props.contextualLayerParent})));};n.prototype.render=function(){'use strict';var o=void 0;if(c('VideoAssetInsightsConfig').getShowCardTooltips())o=c('React').createElement(c('VideoAssetInsightsInfo.react'),{className:"_4qbz",alignH:'right',tooltip:c('VideoAssetInsightsConfig').getShowNewInsightsDialogTooltips()?i._("This curve shows the magnitude of reactions, comments and shares your video received on the original post and shared posts. This includes numbers received both during and after your broadcast."):i._("Video engagement shows the magnitude of reactions, comments and shares from specific points in your live video. Video engagement is measured when people watch and engage from the full-screen live video player during live broadcast and in replay.")});return (c('React').createElement('div',{className:"_2qos _2n6k"},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:n.LABEL,value:'',onBackClick:this.props.onBackClick,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick}),o,this.$VideoAssetInsightsVideoEngagementCard16(),this.$VideoAssetInsightsVideoEngagementCard18()));};n.LABEL=i._("Video Engagement");f.exports=n;}),null);
  __d('VideoAssetInsightsVideoReplayRevenueCard.react',['ix','cx','fbt','AdsCurrencyFormatter','Grid.react','Image.react','InsightsFormatters','immutable','React','CandelaConstants','VideoAssetInsightsAudienceRetention.react','VideoAssetInsightsConfig','VideoAssetInsightsInfo.react','VideoAssetInsightsMetricsNavigationBar.react','VideoInstreamUtils','XUIContextualDialog.react','XUIContextualDialogBody.react','XUIContextualDialogTitle.react','XUIGrayText.react','XUIText.react','fbglyph','formatDate'],(function a(b,c,d,e,f,g,h,i,j){var k,l,m=c('Grid.react').GridItem,n=c('immutable').List,o=c('immutable').OrderedSet,p=c('CandelaConstants').RenderAs,q=c('CandelaConstants').ShapeType,r=41,s=200;k=babelHelpers.inherits(t,c('React').Component);l=k&&k.prototype;t.getLabel=function(u){'use strict';if(c('VideoAssetInsightsConfig').getShowInstreamMoneyEarnedDetails())if(u){var v=u.moneyEarnedByLiveStatus;if(v)if(v.wasLive){return j._("After Live Earnings");}else if(v.neverLive)return j._("Uploaded Video Earnings");}return j._("Video Replay Retention");};t.getValue=function(u){'use strict';if(c('VideoAssetInsightsConfig').getShowInstreamMoneyEarnedDetails()){var v=0,w=u.moneyEarnedByLiveStatus;if(w)if(w.wasLive){v=w.wasLive.total;}else if(w.neverLive)v=w.neverLive.total;return c('AdsCurrencyFormatter').formatCurrencyWithNumberDelimiters('USD',v);}return '';};t.shouldDisable=function(u){'use strict';return !u.moneyEarnedByLiveStatus||!u.moneyEarnedByLiveStatus.wasLive&&!u.moneyEarnedByLiveStatus.neverLive;};function t(u){'use strict';l.constructor.call(this,u);this.$VideoAssetInsightsVideoReplayRevenueCard11=function(){return this.refs.tooltip;}.bind(this);this.$VideoAssetInsightsVideoReplayRevenueCard12=function(){this.setState({showTooltip:false});}.bind(this);this.$VideoAssetInsightsVideoReplayRevenueCard10=function(event){if(event.target.shapeType===q.ANCHOR_ANNOTATION){var v=event.data.x.value,w=this.bucketIdToRevenueMap[v];if(w===null||w===undefined)return;var x=this.$VideoAssetInsightsVideoReplayRevenueCard6(Math.round(v).toString()),y=this.$VideoAssetInsightsVideoReplayRevenueCard5(this.props.data),z=c('AdsCurrencyFormatter').formatCurrencyWithNumberDelimiters('USD',y[w]),aa=c('formatDate')(w,'H:i:s',{utc:true,skipPatternLocalization:true});this.setState({showTooltip:true,tooltip:{time:aa,revenue:z,audienceRetention:x,x:event.target.x,y:event.target.y,height:event.target.height,width:event.target.width}});}else this.setState({showTooltip:false});}.bind(this);this.bucketIdToRevenueMap={};this.state={showTooltip:false,tooltip:{}};}t.prototype.render=function(){'use strict';return c('React').createElement('div',{className:"_2qos"},c('React').createElement(c('VideoAssetInsightsMetricsNavigationBar.react'),{metric:t.getLabel(this.props.data),value:t.getValue(this.props.data),onBackClick:this.props.onBackClick,currentCardKey:this.props.currentCardKey,siblings:this.props.siblings,onSiblingClick:this.props.onSiblingClick}),this.$VideoAssetInsightsVideoReplayRevenueCard1(),this.$VideoAssetInsightsVideoReplayRevenueCard2(),this.$VideoAssetInsightsVideoReplayRevenueCard3(),this.$VideoAssetInsightsVideoReplayRevenueCard4());};t.prototype.$VideoAssetInsightsVideoReplayRevenueCard5=function(u){'use strict';var v=u.moneyEarnedByLiveStatus;return v.wasLive?v.wasLive.timeOffsetsToRevenue:v.neverLive.timeOffsetsToRevenue;};t.prototype.$VideoAssetInsightsVideoReplayRevenueCard6=function(u){'use strict';var v=this.props.data.viewsRetentionGraph[u]?this.props.data.viewsRetentionGraph[u]:0;return c('InsightsFormatters').percentageFormatter(Math.floor(v*100)/100);};t.prototype.$VideoAssetInsightsVideoReplayRevenueCard7=function(u){'use strict';if(!c('VideoAssetInsightsConfig').getShowInstreamMoneyEarnedDetails())return n([]);var v=this.$VideoAssetInsightsVideoReplayRevenueCard5(u),w=Object.keys(u.viewsRetentionGraph).length,x=Object.keys(v).map(function(y){var z=parseInt(y,10)/(this.props.videoDurationInSec*1000)*w;this.bucketIdToRevenueMap[z]=y;return {draggable:false,renderAs:[p.ANCHOR,p.LINE],value:z,variableName:'x',className:'solid small'};}.bind(this));return n(x);};t.prototype.$VideoAssetInsightsVideoReplayRevenueCard1=function(){'use strict';if(!c('VideoAssetInsightsConfig').getShowCardTooltips())return null;return c('React').createElement(c('VideoAssetInsightsInfo.react'),{className:"_4qbz",alignH:'right',tooltip:j._("This amount is an estimate of your earnings from ad breaks. Actual payments may differ if there are content ownership claims or other adjustments.")});};t.prototype.$VideoAssetInsightsVideoReplayRevenueCard8=function(){'use strict';return c('React').createElement('div',null,c('React').createElement(c('Grid.react'),{cols:1,alignv:'top',align:'center'},c('React').createElement(m,null,c('React').createElement('div',{className:"_5vpd"},j._("Audience Retention"))),c('React').createElement(m,null,c('React').createElement('div',{className:"_5vpe"},c('React').createElement(c('Image.react'),{className:"_5vpi",src:h("143235")}),c('React').createElement(c('XUIText.react'),{className:"_5vpk",display:'block'},j._("Data is unavailable, check back soon"))))));};t.prototype.$VideoAssetInsightsVideoReplayRevenueCard2=function(){'use strict';if(this.props.data.viewsRetentionGraph.length===0)return this.$VideoAssetInsightsVideoReplayRevenueCard8();return c('React').createElement(c('VideoAssetInsightsAudienceRetention.react'),{auxiliaryItems:this.$VideoAssetInsightsVideoReplayRevenueCard9(),annotations:this.$VideoAssetInsightsVideoReplayRevenueCard7(this.props.data),data:this.props.data,showBreakdown:false,styleSheet:c('VideoInstreamUtils').getAdBreaksAnnotationStyle(),videoDurationInSec:this.props.videoDurationInSec,onChartHover:this.props.onChartHover,onChartMouseEnter:this.$VideoAssetInsightsVideoReplayRevenueCard10});};t.prototype.$VideoAssetInsightsVideoReplayRevenueCard3=function(){'use strict';if(!this.state.showTooltip)return null;var u={position:'absolute',top:this.state.tooltip.y+r,left:this.state.tooltip.x,width:this.state.tooltip.width,height:this.state.tooltip.height};return c('React').createElement('div',{ref:'tooltip',style:u});};t.prototype.$VideoAssetInsightsVideoReplayRevenueCard4=function(){'use strict';var u=this.state.tooltip;if(!this.state.showTooltip||!u)return null;return c('React').createElement(c('XUIContextualDialog.react'),{contextRef:this.$VideoAssetInsightsVideoReplayRevenueCard11,position:'below',shown:!!u,width:s,onBlur:this.$VideoAssetInsightsVideoReplayRevenueCard12},c('React').createElement(c('XUIContextualDialogTitle.react'),null,c('React').createElement(c('XUIGrayText.react'),{shade:'light',size:'small'},u.time)),c('React').createElement(c('XUIContextualDialogBody.react'),null,c('React').createElement('div',{className:"_2pim"},c('React').createElement('div',{display:'block'},c('React').createElement(c('XUIGrayText.react'),{shade:'medium',size:'medium',weight:'bold'},u.audienceRetention),c('React').createElement(c('XUIText.react'),{className:"_5oc8 _3-99",size:'medium',weight:'bold'},j._("Audience Retention"))),c('React').createElement('div',{display:'block'},c('React').createElement(c('XUIGrayText.react'),{shade:'medium',size:'medium',weight:'bold'},u.revenue),c('React').createElement(c('XUIText.react'),{className:"_5oc9 _3-99",size:'medium',weight:'bold'},j._("Estimated Earnings"))))));};t.prototype.$VideoAssetInsightsVideoReplayRevenueCard9=function(){'use strict';var u=this.$VideoAssetInsightsVideoReplayRevenueCard5(this.props.data),v=Object.keys(u).length;return c('VideoInstreamUtils').getAdBreakLegend(v);};f.exports=t;}),null);
  __d('VideoAssetInsightsCards',['fbt','AdsCurrencyFormatter','AsyncRequest','InstreamAdsDisabledReason','InstreamAdsInsightsDisabledReason','VideoAssetInsights10sViewsCard.react','VideoAssetInsights3sViewsCard.react','VideoAssetInsightsAvgTimeWatchedCard.react','VideoAssetInsightsCardListCard','VideoAssetInsightsConfig','VideoAssetInsightsEngagementCard.react','VideoAssetInsightsFollowersCard.react','VideoAssetInsightsHeatmap360Card.react','VideoAssetInsightsLiveBroadcastRevenueCard.react','VideoAssetInsightsMaxConcurrentViewersCard.react','VideoAssetInsightsMetricCards','VideoAssetInsightsMinutesViewedCard.react','VideoAssetInsightsPostEngagementCard.react','VideoAssetInsightsReachCard.react','VideoAssetInsightsTopAudienceCard.react','VideoAssetInsightsTopLocationCard.react','VideoAssetInsightsUniqueViewersCard.react','VideoAssetInsightsVideoEngagementCard.react','VideoAssetInsightsVideoReplayRevenueCard.react','VideoInsightsContext','XBasicFBNuxDismissController','intlNumUtils'],(function a(b,c,d,e,f,g,h){'use strict';var i=4185,j=4332;function k(l,m,n,o,p,q,r,s){this.$VideoAssetInsightsCards3=n;this.$VideoAssetInsightsCards4=o;this.$VideoAssetInsightsCards5=p;this.$VideoAssetInsightsCards6=q;this.$VideoAssetInsightsCards7=r;this.$VideoAssetInsightsCards8=s;this.$VideoAssetInsightsCards9=m;this.$VideoAssetInsightsCards10=l;}k.prototype.$VideoAssetInsightsCards11=function(){var l=this.$VideoAssetInsightsCards10,m=!(l.heatmapGenerationProgress==null);return {heatmap360:{label:c('VideoAssetInsightsHeatmap360Card.react').LABEL,cardComponent:c('VideoAssetInsightsHeatmap360Card.react'),iconName:'flame',disabled:c('VideoAssetInsightsHeatmap360Card.react').isCardDisabled(l),disabledTooltip:c('VideoAssetInsightsHeatmap360Card.react').getDisabledTooltip(l),metric:c('VideoAssetInsightsHeatmap360Card.react').getMetricValue(l),displayMetricWhenDisabled:m,cardName:c('VideoAssetInsightsMetricCards').HEATMAP_360},broadcastViewers:{label:c('VideoAssetInsightsMaxConcurrentViewersCard.react').LABEL,cardComponent:c('VideoAssetInsightsMaxConcurrentViewersCard.react'),iconName:'eye',metric:c('VideoAssetInsightsMaxConcurrentViewersCard.react').getMetricValue(l.broadcastViewersRetention,this.$VideoAssetInsightsCards3,this.$VideoAssetInsightsCards6),cardName:c('VideoAssetInsightsMetricCards').MAX_CONCURRENT_VIEWERS,cardComponentProps:{isAmbientLive:this.$VideoAssetInsightsCards6}},minutesViewed:{label:c('VideoAssetInsightsMinutesViewedCard.react').LABEL,cardComponent:c('VideoAssetInsightsMinutesViewedCard.react'),iconName:'clock',metric:c('intlNumUtils').formatNumberWithThousandDelimiters(l.minutesViewed.value),cardName:c('VideoAssetInsightsMetricCards').MINUTES_VIEWED},views:{label:c('VideoAssetInsights3sViewsCard.react').LABEL,cardComponent:c('VideoAssetInsights3sViewsCard.react'),iconName:'film-projector',metric:c('intlNumUtils').formatNumberWithThousandDelimiters(l.views.value),cardName:c('VideoAssetInsightsMetricCards').VIDEO_VIEWS},views10s:{label:c('VideoAssetInsights10sViewsCard.react').LABEL,cardComponent:c('VideoAssetInsights10sViewsCard.react'),iconName:'film-projector',metric:c('intlNumUtils').formatNumberWithThousandDelimiters(l.views10s.value),cardName:c('VideoAssetInsightsMetricCards').VIDEO_VIEWS_10S},engagement:{label:this.showReactionsCard()?c('VideoAssetInsightsEngagementCard.react').REACTIONS_LABEL:c('VideoAssetInsightsEngagementCard.react').LABEL,cardComponent:c('VideoAssetInsightsEngagementCard.react'),iconName:'share',metric:c('intlNumUtils').formatNumberWithThousandDelimiters(l.engagementTotal.total.value),cardName:c('VideoAssetInsightsMetricCards').ENGAGEMENT},avgTimeWatched:{label:c('VideoAssetInsightsAvgTimeWatchedCard.react').LABEL,cardComponent:c('VideoAssetInsightsAvgTimeWatchedCard.react'),iconName:'film',metric:c('VideoAssetInsightsAvgTimeWatchedCard.react').getMetricValue(l,this.$VideoAssetInsightsCards6),cardName:c('VideoAssetInsightsMetricCards').AUDIENCE_RETENTION,cardComponentProps:{isAmbientLive:this.$VideoAssetInsightsCards6},hasNUX:c('VideoAssetInsightsConfig').getShowRetentionGraphNUX(),nuxTooltip:h._("Audience Retention can be found here"),onNUXClose:function n(){c('VideoAssetInsightsConfig').setShowRetentionGraphNUX(false);var o=c('XBasicFBNuxDismissController').getURIBuilder().setInt('nux_id',i).getURI();new (c('AsyncRequest'))().setURI(o).send();}},videoEngagement:{label:c('VideoAssetInsightsVideoEngagementCard.react').LABEL,cardComponent:c('VideoAssetInsightsVideoEngagementCard.react'),iconName:'face-happy-solid',disabled:c('VideoAssetInsightsVideoEngagementCard.react').isCardDisabled(l,this.$VideoAssetInsightsCards3),disabledTooltip:c('VideoAssetInsightsVideoEngagementCard.react').getDisabledTooltip(l,this.$VideoAssetInsightsCards3),metric:'',cardName:c('VideoAssetInsightsMetricCards').VIDEO_ENGAGEMENT},postEngagement:{label:c('VideoAssetInsightsPostEngagementCard.react').LABEL,cardComponent:c('VideoAssetInsightsPostEngagementCard.react'),iconName:'like',metric:c('intlNumUtils').formatNumberWithThousandDelimiters(l.engagementTotal.total.value),cardName:c('VideoAssetInsightsMetricCards').POST_ENGAGEMENT},liveBroadcastRevenue:{label:c('VideoAssetInsightsLiveBroadcastRevenueCard.react').getLabel(),cardComponent:c('VideoAssetInsightsLiveBroadcastRevenueCard.react'),iconName:'live-person',metric:c('VideoAssetInsightsLiveBroadcastRevenueCard.react').getValue(l),cardName:c('VideoAssetInsightsMetricCards').LIVE_BROADCAST_REVENUE,disabled:!this.$VideoAssetInsightsCards5||this.$VideoAssetInsightsCards6||c('VideoAssetInsightsLiveBroadcastRevenueCard.react').shouldDisable(l)},videoReplayRevenue:{label:c('VideoAssetInsightsVideoReplayRevenueCard.react').getLabel(l),cardComponent:c('VideoAssetInsightsVideoReplayRevenueCard.react'),iconName:'video',metric:c('VideoAssetInsightsVideoReplayRevenueCard.react').getValue(l),cardName:c('VideoAssetInsightsMetricCards').VIDEO_REPLAY_REVENUE,disabled:c('VideoAssetInsightsVideoReplayRevenueCard.react').shouldDisable(l)}};};k.prototype.$VideoAssetInsightsCards12=function(){return {label:h._("Estimated Earnings"),cardComponent:c('VideoAssetInsightsCardListCard'),iconName:'money',metric:c('AdsCurrencyFormatter').formatCurrencyWithNumberDelimiters('USD',this.$VideoAssetInsightsCards10.moneyEarned?this.$VideoAssetInsightsCards10.moneyEarned.value:0),cardComponentProps:{cardList:this.$VideoAssetInsightsCards13(),cardName:c('VideoAssetInsightsMetricCards').MONEY_EARNED},cardName:c('VideoAssetInsightsMetricCards').MONEY_EARNED,disabled:!this.$VideoAssetInsightsCards10.moneyEarned||this.$VideoAssetInsightsCards8&&this.$VideoAssetInsightsCards8.length>0,disabledTooltip:this.$VideoAssetInsightsCards8&&this.$VideoAssetInsightsCards8.length>0?this.$VideoAssetInsightsCards14(this.$VideoAssetInsightsCards8):undefined,displayMetricWhenDisabled:!!this.$VideoAssetInsightsCards10.moneyEarned};};k.prototype.$VideoAssetInsightsCards13=function(){var l=this.$VideoAssetInsightsCards11();if(this.$VideoAssetInsightsCards5){return {liveBroadcastRevenue:l.liveBroadcastRevenue,videoReplayRevenue:l.videoReplayRevenue};}else return {videoReplayRevenue:l.videoReplayRevenue};};k.prototype.$VideoAssetInsightsCards15=function(){return {label:h._("Audience and Engagement"),cardComponent:c('VideoAssetInsightsCardListCard'),iconName:'friend-friends',metric:'',cardName:c('VideoAssetInsightsMetricCards').AUDIENCE_AND_ENGAGEMENT,cardComponentProps:{cardList:this.$VideoAssetInsightsCards16(),cardName:c('VideoAssetInsightsMetricCards').AUDIENCE_AND_ENGAGEMENT},hasNUX:c('VideoAssetInsightsConfig').getShowAudienceAndEngagementNUX(),nuxTooltip:h._("New! Find out who's watching your video and how they're responding."),onNUXClose:function l(){c('VideoAssetInsightsConfig').setShowAudienceAndEngagementNUX(false);var m=c('XBasicFBNuxDismissController').getURIBuilder().setInt('nux_id',j).getURI();new (c('AsyncRequest'))().setURI(m).send();}};};k.prototype.$VideoAssetInsightsCards16=function(){var l=this.$VideoAssetInsightsCards10,m=this.$VideoAssetInsightsCards11(),n={};if(this.$VideoAssetInsightsCards9===c('VideoInsightsContext').VIDEO_POST){n.reach={label:c('VideoAssetInsightsReachCard.react').LABEL,cardComponent:c('VideoAssetInsightsReachCard.react'),iconName:'group',metric:c('intlNumUtils').formatNumberWithThousandDelimiters(l.reach.value),cardName:c('VideoAssetInsightsMetricCards').REACH,unselectable:c('VideoAssetInsightsConfig').getHideOrganicAndPaidMetrics()};n.uniqueViewers={label:c('VideoAssetInsightsUniqueViewersCard.react').LABEL,cardComponent:c('VideoAssetInsightsUniqueViewersCard.react'),iconName:'friend-neutral',metric:c('intlNumUtils').formatNumberWithThousandDelimiters(l.uniqueViewers.value),cardName:c('VideoAssetInsightsMetricCards').UNIQUE_VIEWERS,unselectable:c('VideoAssetInsightsConfig').getHideOrganicAndPaidMetrics()};}if(this.showNewReactionsCommentsShares()){n.postEngagement=m.postEngagement;if(this.$VideoAssetInsightsCards5)n.videoEngagement=m.videoEngagement;}else n.engagement=m.engagement;n.topAudience={label:c('VideoAssetInsightsTopAudienceCard.react').LABEL,cardComponent:c('VideoAssetInsightsTopAudienceCard.react'),iconName:'friend-friends',disabled:c('VideoAssetInsightsTopAudienceCard.react').isCardDisabled(l,this.$VideoAssetInsightsCards3),disabledTooltip:c('VideoAssetInsightsTopAudienceCard.react').getDisabledTooltip(l,this.$VideoAssetInsightsCards3),metric:c('VideoAssetInsightsTopAudienceCard.react').getTopAudience(l.minutesViewedAgeBucketAndGender?l.minutesViewedAgeBucketAndGender:null),cardName:c('VideoAssetInsightsMetricCards').TOP_AUDIENCE};n.topLocation={label:c('VideoAssetInsightsTopLocationCard.react').LABEL,cardComponent:c('VideoAssetInsightsTopLocationCard.react'),iconName:'globe-americas',disabled:c('VideoAssetInsightsTopLocationCard.react').isCardDisabled(l,this.$VideoAssetInsightsCards3),disabledTooltip:c('VideoAssetInsightsTopLocationCard.react').getDisabledTooltip(l,this.$VideoAssetInsightsCards3),metric:c('VideoAssetInsightsTopLocationCard.react').getTopLocation(l.minutesViewedRegions?l.minutesViewedRegions:null),cardName:c('VideoAssetInsightsMetricCards').TOP_LOCATION};if(this.showFollowersCard())n.followers={label:c('VideoAssetInsightsFollowersCard.react').LABEL,cardComponent:c('VideoAssetInsightsFollowersCard.react'),iconName:'following',metric:'',cardName:c('VideoAssetInsightsMetricCards').FOLLOWERS};return n;};k.prototype.$VideoAssetInsightsCards17=function(){var l=this.$VideoAssetInsightsCards10,m=this.$VideoAssetInsightsCards11(),n={};if(this.showHeatmap360Card())n.heatmap360=m.heatmap360;if(l.broadcastViewers)n.broadcastViewers=m.broadcastViewers;var o=this.showAudienceAndEngagementCard();n.minutesViewed=m.minutesViewed;Object.assign(n,{views:m.views,views10s:m.views10s});if(!o)if(this.showNewReactionsCommentsShares()){if(this.$VideoAssetInsightsCards5){n.reactionsCommentsShares=m.videoEngagement;}else n.reactionsCommentsShares=m.postEngagement;}else n.engagement=m.engagement;if(this.showAvgPercentCompletionCard())n.avgTimeWatched=m.avgTimeWatched;if(o)n.audienceAndEngagement=this.$VideoAssetInsightsCards15();if(c('VideoAssetInsightsConfig').getShowInstreamMoneyEarned())n.moneyEarned=this.$VideoAssetInsightsCards12();return n;};k.prototype.$VideoAssetInsightsCards18=function(){var l=this.$VideoAssetInsightsCards10,m=this.$VideoAssetInsightsCards11(),n={};if(this.showHeatmap360Card())n.heatmap360=m.heatmap360;if(l.broadcastViewers)n.broadcastViewers=m.broadcastViewers;Object.assign(n,{minutesViewed:m.minutesViewed,views:m.views,views10s:m.views10s});if(!this.showAudienceAndEngagementCard()&&this.showNewReactionsCommentsShares()&&this.$VideoAssetInsightsCards5)n.reactionsCommentsShares=m.videoEngagement;if(this.showAvgPercentCompletionCard())n.avgTimeWatched=m.avgTimeWatched;if(this.showAudienceAndEngagementCard())n.audienceAndEngagement=this.$VideoAssetInsightsCards15();if(c('VideoAssetInsightsConfig').getShowInstreamMoneyEarned())n.moneyEarned=this.$VideoAssetInsightsCards12();return n;};k.prototype.getCards=function(){if(this.$VideoAssetInsightsCards9===c('VideoInsightsContext').VIDEO_POST&&c('VideoAssetInsightsConfig').getShowNewCardSelectionForVideoPost()){return this.$VideoAssetInsightsCards18();}else return this.$VideoAssetInsightsCards17();};k.prototype.showReactionsCard=function(){return c('VideoAssetInsightsConfig').hasReactionsMetrics(this.$VideoAssetInsightsCards3);};k.prototype.showAvgPercentCompletionCard=function(){return !this.$VideoAssetInsightsCards4;};k.prototype.showAudienceAndEngagementCard=function(){return c('VideoAssetInsightsConfig').getShowAudienceAndEngagementCard();};k.prototype.showHeatmap360Card=function(){return c('VideoAssetInsightsConfig').getShowHeatmap360Card()&&this.$VideoAssetInsightsCards7;};k.prototype.showFollowersCard=function(){return c('VideoAssetInsightsConfig').getShowFollowersCard();};k.prototype.showNewReactionsCommentsShares=function(){return c('VideoAssetInsightsConfig').getShowNewReactionsCommentsShares();};k.prototype.$VideoAssetInsightsCards14=function(l){if(l.includes(c('InstreamAdsInsightsDisabledReason').VIDEO_TOO_OLD)){return h._("Estimates of earnings are only available for videos posted after June 2015. You'll continue to receive eligible earnings for this video.");}else if(l.includes(c('InstreamAdsDisabledReason').BRANDED_CONTENT)){return h._("Ad breaks can't be used in this video because it contains tagged sponsors.");}else return h._("Ad breaks are disabled in this post.");};f.exports=k;}),null);
  __d('VideoAssetInsightsTotalMetricsCard.react',['cx','fbt','InstreamAdsInsightsDisabledReason','LeftRight.react','React','VideoAssetInsightsCardsList.react','VideoAssetInsightsInfo.react','VideoInsightsContext','VideoInsightsWebdriverTestDataIDs','XUINotice.react','XUIText.react'],(function a(b,c,d,e,f,g,h,i){var j,k;j=babelHelpers.inherits(l,c('React').Component);k=j&&j.prototype;function l(m){'use strict';k.constructor.call(this,m);var n={};Object.keys(m.cards).forEach(function(p){n[p]=m.cards[p].hasNUX;});var o=!!this.props.instreamAdsInsightsDisabledReasons&&this.props.instreamAdsInsightsDisabledReasons.length>0&&(this.props.contextType===c('VideoInsightsContext').VIDEO_POST||this.props.contextType===c('VideoInsightsContext').VIDEO_ASSET);this.state={showCardNUXs:n,showInstreamAdsInsightsDisabledNotice:o};}l.prototype.$VideoAssetInsightsTotalMetricsCard1=function(){'use strict';var m=void 0;switch(this.props.contextType){case c('VideoInsightsContext').VIDEO_POST:m=i._("Video Performance In This Post");break;case c('VideoInsightsContext').VIDEO_ASSET:m=i._("Total Video Performance");break;case c('VideoInsightsContext').REFERENCE_LIVE_VIDEO:m=i._("Live Matches");break;default:m=i._("Video Performance");break;}return (c('React').createElement(c('XUIText.react'),{'data-testid':c('VideoInsightsWebdriverTestDataIDs').METRICS_HEADER},m));};l.prototype.$VideoAssetInsightsTotalMetricsCard2=function(){'use strict';var m=void 0;switch(this.props.contextType){case c('VideoInsightsContext').VIDEO_ASSET:if(this.props.isOwnerAssetReuser){m=i._("Performance of the video in all your posts");}else m=i._("Performance of the video in all posts");break;default:m=i._("Performance of the video post");break;}return (c('React').createElement(c('VideoAssetInsightsInfo.react'),{className:"_5f9o",alignH:'right',tooltip:m}));};l.prototype.$VideoAssetInsightsTotalMetricsCard3=function(){'use strict';if(!this.props.instreamAdsInsightsDisabledReasons||this.props.instreamAdsInsightsDisabledReasons.length===0)return null;if(this.props.instreamAdsInsightsDisabledReasons.includes(c('InstreamAdsInsightsDisabledReason').VIDEO_TOO_OLD)){return (c('React').createElement(c('XUINotice.react'),{use:'notify',className:"_1x4s",onDismiss:function(){return this.setState({showInstreamAdsInsightsDisabledNotice:false});}.bind(this)},i._("Insights are not available for videos posted before June 2015. People can still watch, react and comment on your video and you'll continue to receive eligible earnings.")));}else return null;};l.prototype.render=function(){'use strict';var m=void 0;if(!this.props.hideInfoIcon)m=this.$VideoAssetInsightsTotalMetricsCard2();return (c('React').createElement('div',{className:"_5f9m"},c('React').createElement(c('LeftRight.react'),{className:"_5f9n"},this.$VideoAssetInsightsTotalMetricsCard1(),m),this.state.showInstreamAdsInsightsDisabledNotice?this.$VideoAssetInsightsTotalMetricsCard3():null,c('React').createElement(c('VideoAssetInsightsCardsList.react'),{cards:this.props.cards,onOptionClick:this.props.onOptionClick,contextualLayerParent:this.props.contextualLayerParent})));};f.exports=l;}),null);
  __d('VideoAssetInsightsVideoMetrics.react',['React','VideoAssetInsightsCards','VideoAssetInsightsEvents','VideoAssetInsightsMetricCards','VideoAssetInsightsTotalMetricsCard.react','VideoAssetInsightsTypedLogger','VideoAssetInsightsViewport.react'],(function a(b,c,d,e,f,g){var h,i,j='totalMetricsCard';h=babelHelpers.inherits(k,c('React').Component);i=h&&h.prototype;function k(l){'use strict';i.constructor.call(this,l);this.$VideoAssetInsightsVideoMetrics2(l);this.state={cardKey:j,animationType:'left'};}k.prototype.componentWillReceiveProps=function(l){'use strict';if(l.data!==this.props.data)this.$VideoAssetInsightsVideoMetrics2(l);};k.prototype.$VideoAssetInsightsVideoMetrics2=function(l){'use strict';var m=l.instreamAdsInsightsDisabledReasons?l.instreamAdsInsightsDisabledReasons:[],n=new (c('VideoAssetInsightsCards'))(l.data,l.contextType,l.earliestPostCreationTime,l.isLiveStreaming,l.isBroadcast,l.isAmbientLive,l.isSpherical,m);this.$VideoAssetInsightsVideoMetrics1=n.getCards();};k.prototype.$VideoAssetInsightsVideoMetrics3=function(){'use strict';return (c('React').createElement(c('VideoAssetInsightsTotalMetricsCard.react'),{key:'totalmetrics',cards:this.$VideoAssetInsightsVideoMetrics1,onOptionClick:this.$VideoAssetInsightsVideoMetrics4.bind(this),contextType:this.props.contextType,isOwnerAssetReuser:this.props.isOwnerAssetReuser,contextualLayerParent:this.props.contextualLayerParent,instreamAdsInsightsDisabledReasons:this.props.instreamAdsInsightsDisabledReasons}));};k.prototype.$VideoAssetInsightsVideoMetrics4=function(l){'use strict';this.$VideoAssetInsightsVideoMetrics5(c('VideoAssetInsightsEvents').METRIC_CARDS_NAVIGATOR_CLICKED,c('VideoAssetInsightsMetricCards').TOTAL_VIDEO_PERFORMANCE);this.$VideoAssetInsightsVideoMetrics6(l,'left');};k.prototype.$VideoAssetInsightsVideoMetrics7=function(){'use strict';this.$VideoAssetInsightsVideoMetrics5(c('VideoAssetInsightsEvents').BACK_BUTTON_TO_TOTAL_METRICS_CLICKED,this.$VideoAssetInsightsVideoMetrics1[this.state.cardKey].cardName);this.setState({cardKey:j,animationType:'right'});};k.prototype.$VideoAssetInsightsVideoMetrics8=function(l){'use strict';this.$VideoAssetInsightsVideoMetrics5(c('VideoAssetInsightsEvents').METRIC_CARDS_NAVIGATOR_CLICKED,this.$VideoAssetInsightsVideoMetrics1[this.state.cardKey].cardName);var m=Object.keys(this.$VideoAssetInsightsVideoMetrics1),n=m.indexOf(this.state.cardKey),o=m.indexOf(l);this.$VideoAssetInsightsVideoMetrics6(l,o>n?'up':'down');};k.prototype.$VideoAssetInsightsVideoMetrics6=function(l,m){'use strict';this.$VideoAssetInsightsVideoMetrics5(c('VideoAssetInsightsEvents').METRIC_CARD_DISPLAYED,this.$VideoAssetInsightsVideoMetrics1[l].cardName);this.setState({cardKey:l,animationType:m});};k.prototype.$VideoAssetInsightsVideoMetrics5=function(event,l){'use strict';new (c('VideoAssetInsightsTypedLogger'))().setVideoOrAssetID(this.props.loggerData.videoID).setPageID(this.props.loggerData.pageID).setSource(this.props.loggerData.source).setEvent(event).setCurrentMetricCard(l).log();};k.prototype.$VideoAssetInsightsVideoMetrics9=function(l){'use strict';if(l===j){return this.$VideoAssetInsightsVideoMetrics3();}else{var m=this.$VideoAssetInsightsVideoMetrics1[l].cardComponent;return (c('React').createElement(m,babelHelpers['extends']({key:l,data:this.props.data,videoDurationInSec:this.props.videoDurationInSec,currentCardKey:l,siblings:this.$VideoAssetInsightsVideoMetrics1,onBackClick:this.$VideoAssetInsightsVideoMetrics7.bind(this),onSiblingClick:this.$VideoAssetInsightsVideoMetrics8.bind(this),onChartHover:this.props.onChartHover,earliestPostCreationTime:this.props.earliestPostCreationTime,isBroadcast:this.props.isBroadcast,loggerData:this.props.loggerData,contextualLayerParent:this.props.contextualLayerParent,label:this.$VideoAssetInsightsVideoMetrics1[l].label},this.$VideoAssetInsightsVideoMetrics1[l].cardComponentProps)));}};k.prototype.render=function(){'use strict';return (c('React').createElement('div',null,c('React').createElement(c('VideoAssetInsightsViewport.react'),{animationType:this.state.animationType},this.$VideoAssetInsightsVideoMetrics9(this.state.cardKey))));};f.exports=k;}),null);
  __d('VideoProfileAndMetrics.react',['cx','Grid.react','React','VideoAssetInsightsVideoMetrics.react','VideoAssetInsightsVideo.react','XUICard.react'],(function a(b,c,d,e,f,g,h){var i,j,k=c('Grid.react').GridItem;i=babelHelpers.inherits(l,c('React').Component);j=i&&i.prototype;function l(m){'use strict';j.constructor.call(this,m);this.state={videoLoaded:false};}l.prototype.$VideoProfileAndMetrics2=function(m){'use strict';if(!this.state.videoLoaded)return;this.refs.videoPlayer.showPlayer();this.refs.videoPlayer.seek(m);};l.prototype.$VideoProfileAndMetrics3=function(){'use strict';this.setState({videoLoaded:true});};l.prototype.$VideoProfileAndMetrics4=function(){'use strict';return (!!this.props.pageID&&this.props.pageID!==this.props.videoProfileData.ownerID);};l.prototype.$VideoProfileAndMetrics5=function(){'use strict';return (c('React').createElement('div',null,c('React').createElement(c('VideoAssetInsightsVideo.react'),{ref:'videoPlayer',pageID:this.props.pageID,videoID:this.props.videoID,videoProfileData:this.props.videoProfileData,onVideoLoaded:this.$VideoProfileAndMetrics3.bind(this),loggerData:this.props.loggerData,contextType:this.props.contextType,reusedPostsCount:this.props.reusedPostsCount})));};l.prototype.$VideoProfileAndMetrics6=function(){'use strict';return (c('React').createElement(c('XUICard.react'),{className:"_4bfn"},c('React').createElement(c('VideoAssetInsightsVideoMetrics.react'),{isOwnerAssetReuser:this.$VideoProfileAndMetrics4(),isLiveStreaming:this.props.videoProfileData.isLiveStreaming,isBroadcast:this.props.videoProfileData.isBroadcast,isAmbientLive:this.props.videoProfileData.isAmbientLive,isSpherical:this.props.videoProfileData.isSpherical,data:this.props.videoInsights.data,videoDurationInSec:this.props.videoInsights.videoDurationInSec,onChartHover:this.$VideoProfileAndMetrics2.bind(this),loggerData:this.props.loggerData,earliestPostCreationTime:this.props.earliestPostCreationTime,contextType:this.props.contextType,contextualLayerParent:this,instreamAdsInsightsDisabledReasons:this.props.videoProfileData.instreamAdsInsightsDisabledReasons})));};l.prototype.render=function(){'use strict';return (c('React').createElement(c('Grid.react'),{cols:2,alignv:'top',align:'center',className:"_4bfp"},c('React').createElement(k,null,this.$VideoProfileAndMetrics5()),c('React').createElement(k,null,this.$VideoProfileAndMetrics6())));};f.exports=l;}),null);
  __d('VideoPostInsights.react',['ix','cx','fbt','Image.react','LeftRight.react','React','VideoInsightsContext','VideoProfileAndMetrics.react','XUICard.react','XUINotice.react','fbglyph','getOwnObjectValues'],(function a(b,c,d,e,f,g,h,i,j){var k,l;k=babelHelpers.inherits(m,c('React').Component);l=k&&k.prototype;function m(n){'use strict';l.constructor.call(this,n);this.state={showPeakLiveViewersNotice:this.$VideoPostInsights1()};}m.prototype.$VideoPostInsights2=function(){'use strict';if(this.props.postsCount<=1)return null;return (c('React').createElement(c('XUICard.react'),{className:"_2t0h"},c('React').createElement('div',{className:"_3c1p",onClick:this.props.onBackClick,role:'presentation'},c('React').createElement(c('LeftRight.react'),{className:"_3c1q"},c('React').createElement('div',{className:"_3c1r"},j._({"post":"This video is used in {other_posts} other post","posts":"This video is used in {other_posts} other posts"},[j.param('other_posts',this.props.postsCount-1),j['enum'](this.props.postsCount-1<=1?'post':'posts',{post:'post',posts:'posts'})])),c('React').createElement('div',{className:"_3c1s"},j._("Total views: {total_views}",[j.param('total_views',this.props.totalViews.text)]),c('React').createElement(c('Image.react'),{className:"_3c1t",src:h("143434")}))))));};m.prototype.$VideoPostInsights1=function(){'use strict';var n=this.props.videoInsights.data.broadcastViewers,o=this.props.videoInsights.data.broadcastViewersRetention,p=this.props.videoInsights.data.views;if(n&&o&&p){var q=Math.max.apply(null,c('getOwnObjectValues')(o));if(q>p.value)return true;}return false;};m.prototype.render=function(){'use strict';var n=null;if(this.props.showVideoAssetLinkSection)n=this.$VideoPostInsights2();var o=null;if(this.state.showPeakLiveViewersNotice)o=c('React').createElement(c('XUINotice.react'),{use:'notify',className:"_4nrt",onDismiss:function(){return this.setState({showPeakLiveViewersNotice:false});}.bind(this)},j._("Peak Live Viewers: A live broadcast view is counted when someone watches for 3 seconds or more or clicks to watch full screen. Sometimes peak live viewers may be higher than total views."));return (c('React').createElement('div',null,o,c('React').createElement(c('VideoProfileAndMetrics.react'),{pageID:this.props.pageID,videoID:this.props.videoID,thumbnailSrc:this.props.thumbnailSrc,videoProfileData:this.props.videoProfileData,videoInsights:this.props.videoInsights,loggerData:this.props.loggerData,earliestPostCreationTime:this.props.postCreationTime,contextType:c('VideoInsightsContext').VIDEO_POST,reusedPostsCount:this.props.reusedPostsCount}),n));};f.exports=m;}),null);
  __d('HubbleVideoPostDrillDown',['cx','fbt','ix','Arbiter','AsyncRequest','HubbleContext','HubbleLogger','HubblePostDetailsDrillDown','HubblePostDrillDownDataLayerMixin','HubblePostHintsViewsDrillDown','HubblePostsDataLayer','HubbleTabbedDrillDown','HubbleUtils','HubbleVideoPostViewsDrillDown','InsightsInfoTip.react','InsightsLoadingIndicator.react','PageInsightsPostDataType','React','SubscriptionsHandler','VideoAssetInsightsEvents','VideoAssetInsightsTypedLogger','VideoInsightsContext','VideoPostInsights.react','XUISelector.react','XVideoAssetInsightsDataController'],(function a(b,c,d,e,f,g,h,i,j){var k=c('XUISelector.react').Option,l={displaying:i._("Displaying"),infoTip:i._("Showing insights for this video across all placements.")},m=c('React').createClass({displayName:'HubbleVideoPostDrillDown',mixins:[c('HubblePostDrillDownDataLayerMixin')],getInitialState:function n(){return babelHelpers['extends']({activeVideoMetric:'aggregate',isLoaded:false},this.__initialPostDetailsState);},componentWillMount:function n(){var o;if(this._showView1_1()){o=c('HubblePostsDataLayer').getPostVideoMetricsWithAutoplay;}else o=this.props.postType==='premiumVideo'?c('HubblePostsDataLayer').getPostPremiumVideoMetricsByID:c('HubblePostsDataLayer').getPostVideoMetricsByID;o(this.props.postID,this._handleVideoInsights);this._subscriptions=new (c('SubscriptionsHandler'))();if(this.props.useNewVideoMetrics)this._subscriptions.addSubscriptions(c('Arbiter').subscribe('video/edited'+this._getPageID(),this._updateVideoProfile));if(this.props.useNewVideoMetrics)c('HubbleLogger').logAction('view_video_tab');},componentWillUnmount:function n(){this._subscriptions.release();},componentDidUpdate:function n(o,p){if(this.props.onUpdate)this.props.onUpdate();},_updateVideoProfile:function n(o,p){if(!p||!p.id)return;var q=c('XVideoAssetInsightsDataController').getURIBuilder().setFBID('page_id',this.props.videoPostInsightsLoggerData.pageID).setInt('video_asset_id',p.id).setEnum('source',this.props.videoPostInsightsLoggerData.source).setEnum('context',c('VideoInsightsContext').VIDEO_POST).getURI();new (c('AsyncRequest'))().setURI(q).setHandler(this._handleUpdateProfileData).send();},_handleUpdateProfileData:function n(o){if(o.error||!o.payload||!o.payload.videoProfileData)return;this.setState({videoProfileData:o.payload.videoProfileData});},_logEvent:function n(event){var o=this.props.videoPostInsightsLoggerData||{};new (c('VideoAssetInsightsTypedLogger'))().setVideoOrAssetID(o.videoID).setPageID(o.pageID).setSource(o.source).setEvent(event).log();},render:function n(){if(!this.state.isLoaded)return c('React').createElement(c('InsightsLoadingIndicator.react'),null);if(this.props.useNewVideoMetrics&&this.state.insightsOfVideoInPost==null&&this.state.videoProfileData==null)return c('React').createElement(c('InsightsLoadingIndicator.react'),null);var o=this.state.activeVideoMetric==='aggregate'?this.state.videoMetrics.aggregate:this.state.videoMetrics.placements[this.state.activeVideoMetric],p=null,q=true,r=void 0,s=this.state.videoProfileData&&this.state.videoProfileData.reactionsTooltips;if(this.props.useNewVideoMetrics){q=false;p=[c('React').createElement(c('VideoPostInsights.react'),{className:"_4bfp",pageID:this._getPageID(),videoID:this.props.videoID,thumbnailSrc:this.props.thumbnailSrc,videoProfileData:this.state.videoProfileData,videoInsights:this.state.insightsOfVideoInPost,postsCount:this.props.postsCount,onBackClick:this.props.onBackClick,showVideoAssetLinkSection:this.props.showVideoAssetLinkSection,totalViews:this.props.totalViews,postCreationTime:this.props.postCreatedTime,key:'videoPostDrillDownViews',title:i._("Video"),loggerData:this.props.videoPostInsightsLoggerData}),c('React').createElement(c('HubblePostDetailsDrillDown'),{className:"_2xz8",identifier:this.props.postIdentifier,key:'videoPostDrillDownOverview',metrics:this.getDetailsMetrics(),showVideoViews:true,title:i._("Post"),useNewVideoMetrics:this.props.useNewVideoMetrics,postVideoViews:this.state.insightsOfVideoInPost.data.views,postType:this.props.postType,reactionsTooltips:s})];r=function(x){if(x==='videoPostDrillDownViews'){c('HubbleLogger').logAction('view_video_tab');}else if(x==='videoPostDrillDownOverview')this._logEvent(c('VideoAssetInsightsEvents').POST_TAB_CLICKED);}.bind(this);}else if(this._showView1_1()){p=[c('React').createElement(c('HubbleVideoPostViewsDrillDown'),{creationTime:this.props.postCreatedTime,identifier:this.props.postIdentifier,key:'videoPostDrillDownViews',metrics:o,number:this.getDetailsMetrics().reach,title:i._("Video"),videolength:this.state.videoMetrics.videoLength,videoViewVersion:'1.1',hideOrganicAndPaidBreakdown:c('HubbleContext').get('hideOrganicAndPaidVideoMetrics')}),c('React').createElement(c('HubblePostDetailsDrillDown'),{identifier:this.props.postIdentifier,key:'videoPostDrillDownOverview',metrics:this.getDetailsMetrics(),showVideoViews:true,title:i._("Post"),postType:this.props.postType,reactionsTooltips:s})];}else p=[c('React').createElement(c('HubblePostDetailsDrillDown'),{identifier:this.props.postIdentifier,key:'videoPostDrillDownOverview',metrics:this.getDetailsMetrics(),showVideoViews:true,title:i._("Details"),reactionsTooltips:s}),c('React').createElement(c('HubbleVideoPostViewsDrillDown'),{identifier:this.props.postIdentifier,key:'videoPostDrillDownViews',metrics:o,number:this.getDetailsMetrics().reach,title:i._("Video"),videolength:this.state.videoMetrics.videoLength,postType:this.props.postType,hideOrganicAndPaidBreakdown:c('HubbleContext').get('hideOrganicAndPaidVideoMetrics')})];if(c('HubbleContext').get('hideVideoTabForVideoShares')&&this.props.postType===c('PageInsightsPostDataType').SHARED_VIDEO&&(this.props.useNewVideoMetrics||this._showView1_1()))p.shift();var t=this.props.hasHints;if(t)p.push(c('React').createElement(c('HubblePostHintsViewsDrillDown'),{key:'PostHintsDrillDownViews',title:i._("Preferred Audience"),postID:this.props.postID}));var u=[j("28640"),j("28639")];if(this._showView1_1())u.reverse();var v=c('React').createElement(c('HubbleTabbedDrillDown'),babelHelpers['extends']({},this.props,{drilldowns:p,flush:q,nubSources:u,useCenteredTabsStyle:this.props.useNewVideoMetrics,onDrillDownClick:r})),w=null;if(this.state.videoMetrics)w=this._renderCampaignSelector();return (c('React').createElement('div',{className:"_5uu1"},v,w));},_handleVideoInsights:function n(o){this.setState({isLoaded:true,videoMetrics:o.videoInsights});},_onCampaignChange:function n(o){this.setState({activeVideoMetric:o.value});},_renderCampaignSelector:function n(){if(this.state.videoMetrics.placements){var o=Object.keys(this.state.videoMetrics.placements),p=o.length,q=[c('React').createElement(k,{value:'aggregate'},i._("All Placements ({numPlacements})",[i.param('numPlacements',p)]))],r=this.state.videoMetrics.placements;o.forEach(function(s){q.push(c('React').createElement(k,{value:s},r[s].label));});return (c('React').createElement('div',{className:"_5v6l"},c('React').createElement('div',{className:"_5v6m lfloat"},i._("{label}:",[i.param('label',l.displaying)])),c('React').createElement('div',{className:"_5v6n lfloat"},c('React').createElement(c('XUISelector.react'),{defaultValue:'aggregate',onChange:this._onCampaignChange},q)),c('React').createElement('div',{className:"_5v6o rfloat"},c('React').createElement(c('InsightsInfoTip.react'),{tip:l.infoTip}))));}},_showView1_1:function n(){var o=c('HubbleContext').get('videoMetricsCutOffTime');return c('HubbleContext').get('videoMetricsVersion')=='1.1'&&o<=this.props.postCreatedTime;},_getPageID:function n(){return this.props.pageID||c('HubbleUtils').getPageID(this.props.postID);}});f.exports=m;}),null);
  __d("XPageAdminHomepagePanelLoggingController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("\/pages\/homepage_panel\/logging\/",{});}),null);
  __d('HubblePostDrillDown',['cx','fbt','AsyncRequest','HubbleContext','HubbleDefaultPostDrillDown','LiveAudioCheck','HubbleUtils','HubbleVideoPostDrillDown','InsightsLoadingIndicator.react','PagesEventType','PageInsightsPostDataType','React','XPageAdminHomepagePanelLoggingController','XUIGrayText.react'],(function a(b,c,d,e,f,g,h,i){'use strict';var j,k,l={video:c('React').createElement(c('HubbleVideoPostDrillDown'),null),post:c('React').createElement(c('HubbleDefaultPostDrillDown'),null)};j=babelHelpers.inherits(m,c('React').Component);k=j&&j.prototype;function m(){var n,o;for(var p=arguments.length,q=Array(p),r=0;r<p;r++)q[r]=arguments[r];return o=(n=k.constructor).call.apply(n,[this].concat(q)),this.state={component:null,canShowVideo:true},o;}m.getHeaderText=function(n){var o=void 0;if(c('HubbleContext').get('showExplicitLabelsForShares')&&n.postType===c('PageInsightsPostDataType').SHARED_VIDEO){o=i._("Shared Post Details");}else o=i._("Post Details");return c('React').createElement('div',null,o,c('React').createElement(c('XUIGrayText.react'),{className:"_2kn"},i._("Reported stats may be delayed from what appears on posts")));};m.prototype.componentWillMount=function(){this.$HubblePostDrillDown1(this.props);var n=c('HubbleUtils').getVideoID(this.props.postID);c('LiveAudioCheck').checkShouldHideLiveAudio(n,function(o){return this.$HubblePostDrillDown2(o);}.bind(this));};m.prototype.$HubblePostDrillDown2=function(n){this.setState({canShowVideo:!n},function(){return this.$HubblePostDrillDown1(this.props);}.bind(this));};m.prototype.componentWillReceiveProps=function(n){if(n.shown!==this.props.shown)this.$HubblePostDrillDown1(n);};m.prototype.render=function(){if(!this.state.component)return c('React').createElement(c('InsightsLoadingIndicator.react'),null);return this.state.component;};m.prototype.$HubblePostDrillDown3=function(n,o){var p;switch(n){case 'video':p=l.video;break;default:p=l.post;}p=c('React').cloneElement(p,o);this.setState({component:p});var q=this.props.pageID||c('HubbleUtils').getPageID(this.props.postID),r=c('XPageAdminHomepagePanelLoggingController').getURIBuilder();new (c('AsyncRequest'))().setURI(r.getURI()).setData({event_type:c('PagesEventType').POST_DETAIL_VIEW,page_id:q,additional_data:{post_id:this.props.postID,post_type:this.props.postType,post_status_type:this.props.postStatusType,is_admin:true,ref:this.props.ref}}).send();};m.prototype.$HubblePostDrillDown1=function(n){var o=c('HubbleContext').get('minVideoInsightsCreationTime'),p=this.props.postCreatedTime>=o;if(!p)this.$HubblePostDrillDown3('post',n);if(!this.state.canShowVideo){this.$HubblePostDrillDown3('post',n);return;}switch(this.props.postType){case c('PageInsightsPostDataType').VIDEO:case c('PageInsightsPostDataType').SHARED_VIDEO:this.$HubblePostDrillDown3('video',n);break;default:this.$HubblePostDrillDown3('post',n);}};f.exports=m;}),null);
  __d("PagesPostEngagementTypes",[],(function a(b,c,d,e,f,g){var h={VIDEO:1};f.exports=h;}),null);
  __d('PagesPostReachBar',['cx','fbt','ActorURI','AsyncDialog','AsyncRequest','HubbleApiWrapper','HubbleContext','HubbleDrillDownMixin','HubblePostDrillDown','HubblePostMetricConfig','InsightsBackgroundBar.react','SpectrumIntegerScale','Link.react','d3/scale/ordinal','PagesPostEngagementTypes','React','VideoAssetInsightsSource','VideoInsightsContext','XVideoAssetInsightsDialogController','ads-lib-formatters'],(function a(b,c,d,e,f,g,h,i){var j=c('ads-lib-formatters').createIntlNumberFormatter(),k=c('React').PropTypes,l=c('React').createClass({displayName:'PagesPostReachBar',mixins:[c('HubbleDrillDownMixin')],propTypes:{drilldown:k.element,is_long_locale:k.bool,page_id:k.string.isRequired,paid_reach:k.number,post_feed_object_id:k.string.isRequired,should_linkify_footer:k.bool,story_id:k.string,total_reach:k.number,context:k.object.isRequired},getDefaultProps:function m(){return {drilldown:c('React').createElement(c('HubblePostDrillDown'),null)};},getInitialState:function m(){c('HubbleContext').setContext(this.props.context);return {showDrilldown:false};},handlePost:function m(n){var o=n.posts.shift();if(!o)return;if(o.type==='video'){var p=c('XVideoAssetInsightsDialogController').getURIBuilder().setInt('video_asset_id',this.props.story_id).setFBID('page_id',this.props.page_id).setEnum('source',c('VideoAssetInsightsSource').PAGES_POST_REACH_BAR).setEnum('context',c('VideoInsightsContext').VIDEO_POST).getURI();c('AsyncDialog').send(new (c('AsyncRequest'))(p));}else this.setState({drilldownProps:{postCreatedTime:o.created_time,postID:o.id,postIdentifier:o.identifier,postStatusType:o.status_type,postType:o.type,ref:'post_reach_bar'},showDrillDown:true});return false;},_onReachBarClick:function m(event){event.stopPropagation();if(!this.props.should_linkify_footer)return;c('HubbleApiWrapper').getPostsByIDs({ids:this.props.page_id+'_'+this.props.story_id,page_id:this.props.page_id},this.handlePost);},_renderMetricsBar:function m(n,o){var p=c('d3/scale/ordinal')().range(c('HubblePostMetricConfig').types.reach.colors),q=c('SpectrumIntegerScale')().domain([0,n+o]),r=(!this.props.is_long_locale?"__jg":'')+(this.props.is_long_locale?' '+"_3pua":'')+(' '+"_3-8t");if(o!==0)return (c('React').createElement('div',{className:r},c('React').createElement(c('InsightsBackgroundBar.react'),{colors:p,label:false,scale:q,short:true,titles:c('HubblePostMetricConfig').splits.acquisition.titles,values:[n,o]})));return null;},_getEngagementText:function m(n){switch(this.props.relevant_engagement_type){case c('PagesPostEngagementTypes').VIDEO:return (c('React').createElement('div',null,i._({"*":"{video play number} video views","268435456":"1 video view"},[i.plural(n,'video play number',j(n))])));}return null;},render:function m(){var n=null,o=null;if(this.props.relevant_engagement_type){var p=this.props.relevant_engagement_organic,q=this.props.relevant_engagement_paid,r=p+q;n=this._renderMetricsBar(p,q);o=this._getEngagementText(r);}else{if(this.props.total_reach===0)return c('React').createElement('div',null);var s=this.props.total_reach,t=this.props.paid_reach,u=s-t;n=this._renderMetricsBar(u,t);var v=j(s);o=c('React').createElement('div',null,i._({"*":"{reach number} people reached","268435456":"1 person reached"},[i.plural(s,'reach number',v)]));}if(this.props.should_linkify_footer)o=c('React').createElement(c('Link.react'),null,o);var w="__ji"+(n===null?' '+"_2cx6":'');return (c('React').createElement('div',{onClick:this._onReachBarClick,role:'presentation'},c('React').createElement('div',{className:w},o),n));}});f.exports=l;}),null);