if (self.CavalryLogger) { CavalryLogger.start_js(["wrugU"]); } __d("ProfileTabConst",[],(function(a,b,c,d,e,f){e.exports={ALBUM:"album",ALBUMS:"albums",ALL_ACTIVITY:"allactivity",APPROVAL:"approve",APPS:"apps",BOXES:"box_3",COMMERCE:"shop",DEALS:"deals",DRAFT_NOTES:"notes_drafts",EVENTS:"events",FAVORITES:"favorites",FUNDRAISERS:"fundraisers",FOLLOWERS:"followers",FOLLOWING:"following",FRIENDS:"friends",FRIENDS_MUTUAL:"friends_mutual",FUN_FACTS:"did_you_know",GROUPS:"groups",GROUPS_MUTUAL:"groups_mutual",INFO:"info",LIKES:"likes",LOCATIONS:"locations",MAP:"map",MEMORIAL_CONTACT:"legacy_contact",MY_NOTES:"notes_my_notes",NEARBY:"nearby",NOTES:"notes",OVERVIEW:"about",PAST_EVENTS:"pe",PERSONALITY_QUESTIONS:"personality_questions",PHOTOS:"photos",PHOTOS_ALBUM:"media_set",PHOTOS_ALBUMS:"photos_albums",PHOTOS_ALL:"photos_all",PHOTOS_BY_OTHERS:"photos_by_others",PHOTOS_STREAM:"photos_stream",PHOTOS_SYNCED:"photos_synced",POSTS:"posts",POSTS_OTHERS:"posts_to_page",RESUME:"resume",REVIEWS:"reviews",SAVE_LISTS:"lists",SAVED_FOR_LATER:"saved",SPACES:"post_sets",STORIES_ARCHIVE:"archive",SPORTS:"sports",SUPPORTERS:"supporters",TAGGED_NOTES:"notes_tagged",TASKS:"tasks",TIMELINE:"timeline",TRIBUTES:"tributes",TIMELINE_OVERVIEW:"grid",VIDEOS:"videos",WALL:"wall",WALL_ADMIN:"wall_admin",WIKIPEDIA:"wiki",PAGE_GETTING_STARTED:"page_getting_started",PAGE_MAP:"page_map",PAGE_MENU:"menu",PAGE_FOOD_DRINK_MENU:"food_drink_menu",PAGE_BOOK_PREVIEW:"book_preview",PAGE_PRODUCTS:"products",PAGE_SERVICES:"services",PAGES_CONTENT_TAB:"content_tab",PAGE_FAN_QUESTIONS:"questions",PAGES_REACTION_SANDBOX:"reaction_sandbox",PAGE_OFFERS:"offers",PAGE_JOB_PERMALINK:"page_job_permalink",HOME:"home",ENDORSEMENTS:"endorsements",ISSUES:"issues",PAGE_JOBS:"jobs",PAGE_LIVE_VIDEOS:"live_videos",PAGE_EPISODES:"episodes",PAGE_SHOP_NT:"shop_nt",PAGE_SHOW:"show",PAGE_PLAYLISTS:"playlists",PAGE_SHOW_VIDEOS:"show_videos",PAGE_COLLECTIONS:"collections",PAGE_SERIES:"series",PAGE_CHANNEL:"channel",CAST_AND_CREW:"cast_and_crew",COMMUNITY:"community",FEATURING:"featuring",FREQUENTLY_ASKED_QUESTIONS:"frequently_asked_questions",INSTAGRAM:"instagram",LOYALTY:"loyalty",MOVIE_PROVIDER:"movie_provider",PODCASTS:"podcasts",PROFILE_OVERLAYS:"profile_overlays",STORY:"story",CUSTOM:"custom",OG_APP_URL_PREFIX:"app_",OG_APPID_PREFIX:"og_app_",OG_NAMESPACE_PREFIX:"og_ns_",OG_BOOKS:"books",OG_FITNESS:"fitness",OG_GAMES:"games",OG_MOVIES:"movies",OG_MUSIC:"music",OG_NEWS:"news",OG_TV_SHOWS:"tv",OG_VIDEO:"video"}}),null); __d("XUIDialogButton.react",["cx","React","XUIButton.react","joinClasses"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a=this.props.action,c=(a==="confirm"?"layerConfirm":"")+(a==="cancel"?" layerCancel":"")+(a==="button"?" layerButton":""),d=this.props.href;a==="cancel"?d="#":a==="button"&&((d==null||d==="")&&(d="#"));return b("React").createElement(b("XUIButton.react"),babelHelpers["extends"]({},this.props,{className:b("joinClasses")(this.props.className,c),href:d,role:"button"}))};return c}(b("React").Component);e.exports=a}),null); __d("XUIDialogOkayButton.react",["cx","fbt","React","XUIDialogButton.react","joinClasses"],(function(a,b,c,d,e,f,g,h){__p&&__p();a=b("React").PropTypes;c=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){return b("React").createElement(b("XUIDialogButton.react"),babelHelpers["extends"]({},this.props,{className:b("joinClasses")(this.props.className,"_2z1w"),action:this.props.action,label:h._("OK")}))};return c}(b("React").Component);c.propTypes={action:a.oneOf(["confirm","cancel","button"]).isRequired};e.exports=c}),null); __d("XUIDialogBody.react",["cx","React","XUIText.react","joinClasses"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a="_4-i2"+(this.props.useCustomPadding?"":" _pig");return b("React").createElement(b("XUIText.react"),babelHelpers["extends"]({},this.props,{className:b("joinClasses")(this.props.className,a),display:"block",size:this.props.fontSize}),this.props.children)};return c}(b("React").Component);a.defaultProps={fontSize:"medium"};e.exports=a}),null); __d("XUIOverlayFooter.react",["cx","React","joinClasses"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){return b("React").createElement("div",babelHelpers["extends"]({},this.props,{className:b("joinClasses")(this.props.className,"_5lnf uiOverlayFooter")}),this.props.children)};return c}(b("React").Component);e.exports=a}),null); __d("XUIDialogFooter.react",["cx","LeftRight.react","React","XUIOverlayFooter.react","XUIText.react","joinClasses"],(function(a,b,c,d,e,f,g){__p&&__p();a=b("React").PropTypes;c=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a="_5a8u"+(this.props.fullBleedBorder?" _27qq":""),c=this.props,d=c.children,e=c.leftContent;c=babelHelpers.objectWithoutPropertiesLoose(c,["children","leftContent"]);return b("React").createElement(b("XUIOverlayFooter.react"),babelHelpers["extends"]({},c,{className:b("joinClasses")(this.props.className,a)}),b("React").createElement(b("XUIText.react"),{display:"block",fontSize:this.props.fontSize},b("React").createElement(b("LeftRight.react"),null,b("React").createElement("div",null,e),b("React").createElement("div",null,d))))};return c}(b("React").Component);c.propTypes={fontSize:a.oneOf(["medium","inherit"]),fullBleedBorder:a.bool,leftContent:a.object};c.defaultProps={fontSize:"medium"};e.exports=c}),null); __d("BlueBarFixedBehaviorController",["Arbiter","Bootloader"],(function(a,b,c,d,e,f){__p&&__p();e.exports={init:function(a){__p&&__p();if(!("getBoundingClientRect"in a))return;var c,d=document.documentElement;function e(a){c!==a&&(c=a,b("Arbiter").inform("bluebarFixedBehaviorController/isfixed",c,"state"))}function f(){var b=a.getBoundingClientRect();b=b.top;var c=d?d.clientTop:0;b=Math.round(b)-c<=0;e(b)}function g(){e(!1)}f();b("Bootloader").loadModules(["Event"],function(a){a.listen(window,"scroll",f)},"BlueBarFixedBehaviorController");b("Arbiter").subscribe("quickling/response",f);b("Arbiter").subscribe("banner/shown",g)}}}),null); __d("SimpleDrag",["ArbiterMixin","Event","SubscriptionsHandler","UserAgent_DEPRECATED","Vector","emptyFunction"],(function(a,b,c,d,e,f){__p&&__p();function a(a){this.minDragDistance=0,this._subscriptions=new(b("SubscriptionsHandler"))(),this._subscriptions.addSubscriptions(b("Event").listen(a,"mousedown",this._start.bind(this)))}Object.assign(a.prototype,b("ArbiterMixin"),{setMinDragDistance:function(a){this.minDragDistance=a},destroy:function(){this._subscriptions.release()},_start:function(a){__p&&__p();var c=!1,d=!0,e=null;this.inform("mousedown",a)&&(d=!1);if(this.minDragDistance)e=b("Vector").getEventPosition(a);else{c=!0;var f=this.inform("start",a);if(f===!0)d=!1;else if(f===!1){c=!1;return}}f=b("UserAgent_DEPRECATED").ie()<9?document.documentElement:window;var g=b("Event").listen(f,{selectstart:d?b("Event").prevent:b("emptyFunction"),mousemove:function(a){__p&&__p();if(!c){var d=b("Vector").getEventPosition(a);if(e.distanceTo(d)a.x;c=c.y>a.y;d+=0;c+=0;return new(b("Vector"))(d,c)},_scrollbarSize:null,_initScrollbarSize:function(){__p&&__p();var a=b("DOM").create("p");a.style.width="100%";a.style.height="200px";var c=b("DOM").create("div");c.style.position="absolute";c.style.top="0px";c.style.left="0px";c.style.visibility="hidden";c.style.width="200px";c.style.height="150px";c.style.overflow="hidden";c.appendChild(a);b("nullthrows")(document.body).appendChild(c);var d=a.offsetWidth;c.style.overflow="scroll";a=a.offsetWidth;d==a&&(a=c.clientWidth);b("nullthrows")(document.body).removeChild(c);g._scrollbarSize=d-a},getScrollbarSize:function(){g._scrollbarSize===null&&g._initScrollbarSize();return b("nullthrows")(g._scrollbarSize)},scrollTo:function(a,c,d,e,f,h){__p&&__p();var i,j=0;c==null||c===!0?j=750:typeof c==="number"?j=c:parseInt(c,10)&&(j=parseInt(c,10));b("isAsyncScrollQuery")()&&(j=0);var k;if(a instanceof b("Vector"))k=a;else{c=b("Vector").getScrollPosition().x;a=b("Vector").getElementPosition(b("ge")(a)).y;k=new(b("Vector"))(c,a,"document");e||(k.y-=b("ViewportBounds").getTop()/(d?2:1))}d?k.y-=b("Vector").getViewportDimensions().y/2:e&&(k.y-=b("Vector").getViewportDimensions().y,k.y+=e);f&&(k.y-=f);k=k.convertTo("document");if(j)if("scrollBehavior"in b("nullthrows")(document.documentElement).style&&j===750&&!h)try{window.scrollTo({left:k.x,top:k.y,behavior:"smooth"})}catch(a){window.scrollTo(k.x,k.y)}else{var l=b("ifRequired")("Animation",function(a){g._setScrollingForDuration(j);return new a(b("nullthrows")(document.body)).to("scrollTop",k.y).to("scrollLeft",k.x).ease(a.ease.end).duration(j).ondone(h).go()},function(){window.scrollTo(k.x,k.y),h&&h()});l&&(i=function(){l.stop()})}else window.scrollTo(k.x,k.y),h&&h();b("Arbiter").inform(g.SCROLL);return i||b("emptyFunction")},scrollToID:function(a){g.scrollTo(a)},ensureVisible:function(a,c,d,e,f){var h=b("Vector").getScrollPosition().x;a=this._getBounds(a,c,d);c=a[0];d=a[1];var i=a[2];a=a[3];id?i-(a-d)=b&&a<=c},_getBounds:function(a,c,d){__p&&__p();d==null&&(d=10);a=b("ge")(a);c&&(a=b("DOMQuery").find(a,c));c=b("Vector").getScrollPosition().y;var e=c+b("Vector").getViewportDimensions().y,f=b("Vector").getElementPosition(a).y;a=f+b("Vector").getElementDimensions(a).y;f-=b("ViewportBounds").getTop();f-=d;a+=d;return[c,e,f,a]},scrollToTop:function(a){var c=b("Vector").getScrollPosition();g.scrollTo(new(b("Vector"))(c.x,0,"document"),a!==!1)},currentlyScrolling:function(){return g._scrolling},_setScrollingForDuration:function(a){g._scrolling=!0,g._scrollingFinishedTimeout&&(clearTimeout(g._scrollingFinishedTimeout),g._scrollingFinishedTimeout=null),g._scrollingFinishedTimeout=setTimeout(function(){g._scrolling=!1,g._scrollingFinishedTimeout=null},a)}};e.exports=g}),null); __d("curry",["bind"],(function(a,b,c,d,e,f){a=b("bind")(null,b("bind"),null);e.exports=a}),null); __d("ParameterizedPopover",["invariant","ArbiterMixin","CSS","DataStore","Event","Focus","Keys","KeyStatus","LayerHideOnEscape","SubscriptionsHandler","Toggler","curry","mixin"],(function(a,b,c,d,e,f,g){__p&&__p();b("Toggler").subscribe(["show","hide"],function(a,c){c=c.getActive();c!=null||g(0,4839);c=b("DataStore").get(c,"Popover");c&&(a==="show"?c.showLayer():c.hideLayer())});a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c,d,e,f){__p&&__p();var g;g=a.call(this)||this;g._root=c;g._triggerElem=d;g._behaviors=e;g._config=f||{};g._disabled=!!g._config.disabled;g._listeners=new(b("SubscriptionsHandler"))();g._disabled||((d.nodeName!=="A"||d.rel!=="toggle")&&g._setupClickListener(),g._setupKeyListener(),g._setupFocusListener(),g._setupBlurListener());d.setAttribute("role","button");b("DataStore").set(c,"Popover",babelHelpers.assertThisInitialized(g));b("Toggler").getActive()===c&&g.showLayer();return g}var d=c.prototype;d.ensureInit=function(){this._layer||this._init()};d.showLayer=function(){if(this._disabled)return;this.ensureInit();this._layer.show();b("Toggler").show(this._root);b("CSS").addClass(this._root,"selected");this.inform("show")};d.getContentRoot=function(){return this._root};d.getLayer=function(){this.ensureInit();return this._layer};d.hideLayer=function(){this.ensureInit(),this._layer.hide()};d.isShown=function(){return this._layer&&this._layer.isShown()};d.setLayerContent=function(a){this.ensureInit(),this._layer.setContent&&this._layer.setContent(a)};d._init=function(){var a=this._config.layer;a.enableBehaviors([b("LayerHideOnEscape")]);b("Toggler").createInstance(a.getRoot()).setSticky(!1);a.subscribe("hide",this._onLayerHide.bind(this));this._behaviors&&a.enableBehaviors(this._behaviors);this._layer=a;this.inform("init",null,"persistent")};d._onLayerHide=function(){b("Toggler").hide(this._root),b("CSS").removeClass(this._root,"selected"),this.inform("hide"),b("KeyStatus").getKeyDownCode()===b("Keys").ESC&&b("Focus").set(this._triggerElem)};d.enable=function(){if(!this._disabled)return;this._listeners.engage();this._setupClickListener();this._setupKeyListener();this._setupFocusListener();this._setupBlurListener();this._disabled=!1};d.disable=function(){if(this._disabled)return;this.isShown()&&this.hideLayer();this._listeners.release();this._triggerElem.getAttribute("rel")==="toggle"&&this._triggerElem.removeAttribute("rel");this._disabled=!0};d._setupClickListener=function(){this._listeners.addSubscriptions(b("Event").listen(this._triggerElem,"click",b("curry")(b("Toggler").bootstrap,this._triggerElem)))};d._setupKeyListener=function(){this._listeners.addSubscriptions(b("Event").listen(this._triggerElem,"keydown",this._handleKeyEvent.bind(this)))};d._setupFocusListener=function(){this._listeners.addSubscriptions(b("Event").listen(this._triggerElem,"focus",this._handleFocusEvent.bind(this)))};d._setupBlurListener=function(){this._listeners.addSubscriptions(b("Event").listen(this._triggerElem,"blur",this._handleBlurEvent.bind(this)))};d._handleKeyEvent=function(a){__p&&__p();if(a.getModifiers().any)return;var c=b("Event").getKeyCode(a);switch(c){case b("Keys").DOWN:case b("Keys").UP:if(this._config.disableArrowKeyActivation)return;this.isShown()||b("Toggler").bootstrap(this._triggerElem);break;case b("Keys").RETURN:if(!this._config.enableActivationOnEnter)return;this.isShown()||b("Toggler").bootstrap(this._triggerElem);break;case b("Keys").SPACE:b("Toggler").bootstrap(this._triggerElem);break;default:return}a.prevent()};d._handleFocusEvent=function(a){b("CSS").addClass(this._root,"focused")};d._handleBlurEvent=function(a){b("CSS").removeClass(this._root,"focused")};d.destroy=function(){this.disable(),b("DataStore").remove(this._root,"Popover")};return c}(b("mixin")(b("ArbiterMixin")));Object.assign(a.prototype,{_layer:null});e.exports=a}),null); __d("Popover",["ContextualLayer","ContextualLayerHideOnScroll","DOM","ParameterizedPopover"],(function(a,b,c,d,e,f){__p&&__p();a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d._init=function(){var c=new(b("ContextualLayer"))({context:this._triggerElem,position:"below",arrowDimensions:{offset:12,length:16},"data-testid":this._config["data-testid"]},b("DOM").create("div"));this._config.shouldDisableHideOnScroll||c.enableBehaviors([b("ContextualLayerHideOnScroll")]);this._config.layer=c;this._config.alignh&&c.setAlignment(this._config.alignh);this._config.layer_content&&c.setContent(this._config.layer_content);this._config.position&&c.setPosition(this._config.position);this._config.arrowDimensions&&c.setArrowDimensions(this._config.arrowDimensions);a.prototype._init.call(this)};d.destroy=function(){a.prototype.destroy.call(this),this._layer&&this._layer.destroy()};return c}(b("ParameterizedPopover"));e.exports=a}),null); __d("PopoverMenu",["ArbiterMixin","ARIA","BehaviorsMixin","Event","Focus","Keys","KeyStatus","SubscriptionsHandler","VirtualCursorStatus","mixin","setTimeout"],(function(a,b,c,d,e,f){__p&&__p();a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c,d,e,f){__p&&__p();var g;g=a.call(this)||this;g._popover=c;g._triggerElem=d;g._getInitialMenu=typeof e!=="function"?function(){return e}:e;g._subscriptions=new(b("SubscriptionsHandler"))();g._subscriptions.addSubscriptions(c.subscribe("init",g._onLayerInit.bind(babelHelpers.assertThisInitialized(g))),c.subscribe("show",g._onPopoverShow.bind(babelHelpers.assertThisInitialized(g))),c.subscribe("hide",g._onPopoverHide.bind(babelHelpers.assertThisInitialized(g))),b("Event").listen(g._triggerElem,"keydown",g._handleKeyEventOnTrigger.bind(babelHelpers.assertThisInitialized(g))),b("VirtualCursorStatus").add(g._triggerElem,g._checkInitialFocus.bind(babelHelpers.assertThisInitialized(g))));f&&g.enableBehaviors(f);return g}var d=c.prototype;d.getContentRoot=function(){return this._popover.getContentRoot()};d.setMenu=function(a){this._menu&&this._menu!==a&&this._menu.destroy();this._menu=a;var c=a.getRoot();this._popover.setLayerContent(c);a.subscribe("done",this._onMenuDone.bind(this));this._popoverShown&&this._menu.onShow();b("ARIA").controls(this._triggerElem,c);this.inform("setMenu",null,"persistent")};d.setInitialFocus=function(a,b){b&&a.focusAnItem()};d.getPopover=function(){return this._popover};d.getTriggerElem=function(){return this._triggerElem};d.getInitialMenu=function(){return this._getInitialMenu()};d.getMenu=function(){return this._menu};d._onLayerInit=function(){this._menu||this.setMenu(this._getInitialMenu()),this._popover.getLayer().subscribe("key",this._handleKeyEvent.bind(this))};d._onPopoverShow=function(){this._menu&&this._menu.onShow(),this._checkInitialFocus(),this._popoverShown=!0};d._checkInitialFocus=function(){var a=b("KeyStatus").isKeyDown()||b("VirtualCursorStatus").isVirtualCursorTriggered();this._menu&&this.setInitialFocus(this._menu,a)};d._onPopoverHide=function(){this._menu&&this._menu.onHide(),this._popoverShown=!1};d._handleKeyEvent=function(a,c){__p&&__p();if(c.target===this._triggerElem)return;a=b("Event").getKeyCode(c);if(a===b("Keys").TAB){this._popover.hideLayer();b("Focus").set(this._triggerElem);return}if(c.getModifiers().any)return;switch(a){case b("Keys").RETURN:this.getMenu().getFocusedItem()||this.inform("returnWithoutFocusedItem");return;default:if(a===b("Keys").SPACE&&c.target.type==="file")return;this._menu.handleKeydown(a,c)===!1&&(this._menu.blur(),this._menu.handleKeydown(a,c));break}c.prevent()};d._handleKeyEventOnTrigger=function(a){if(this._isTypeaheadActivationDisabled)return;var c=b("Event").getKeyCode(a),d=String.fromCharCode(c).toLowerCase();/^\w$/.test(d)&&(this._popover.showLayer(),this._menu.blur(),this._menu.handleKeydown(c,a)===!1&&(this._popover.hideLayer(),b("Focus").set(this._triggerElem)))};d.disableTypeaheadActivation=function(){this._isTypeaheadActivationDisabled=!0};d.enableTypeaheadActivation=function(){this._isTypeaheadActivationDisabled=!1};d._onMenuDone=function(a){var c=this;b("setTimeout")(function(){c._popover.hideLayer(),b("Focus").set(c._triggerElem)},0)};d.enable=function(){this._popover.enable()};d.disable=function(){this._popover.disable()};d.destroy=function(){this._subscriptions.release(),this._popover.destroy(),this._getInitialMenu().destroy(),this._menu&&this._menu.destroy()};return c}(b("mixin")(b("ArbiterMixin"),b("BehaviorsMixin")));Object.assign(a.prototype,{_popoverShown:!1});e.exports=a}),null); __d("PopoverMenuInterface",["ArbiterMixin","emptyFunction","mixin"],(function(a,b,c,d,e,f){__p&&__p();a=function(a){"use strict";babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var c=b.prototype;c.done=function(){this.inform("done")};return b}(b("mixin")(b("ArbiterMixin")));Object.assign(a.prototype,{getRoot:b("emptyFunction"),onShow:b("emptyFunction"),onHide:b("emptyFunction"),focusAnItem:b("emptyFunction").thatReturnsFalse,blur:b("emptyFunction"),handleKeydown:b("emptyFunction").thatReturnsFalse,destroy:b("emptyFunction")});e.exports=a}),null); __d("ViewportTrackingHelper",["DOMDimensions","ge","getElementPosition","getElementRect","getViewportDimensions"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g={isDescendantOf:function(a,b){if(a===b)return!0;while(a&&a.parentElement){if(a.parentElement===b)return!0;a=a.parentElement}return!1},isVisible:function(a,c){return g.isVisibleInDimension(b("getViewportDimensions")(),a,c)},isVisibleUnderBluebar:function(a,c){var d=b("ge")("pagelet_bluebar");return d==null?g.isVisible(a,c):g.isVisibleInDimension(b("getViewportDimensions")(),a,c,d.clientHeight)},isFullyVisibleInContainer:function(a,c){a=b("getElementRect")(a);c=b("getElementRect")(c);return c.top>=a.top&&c.bottom<=a.bottom&&c.left>=a.left&&c.right<=a.right},isVisibleInDimension:function(a,c,d,e){e===void 0&&(e=0);var f=b("getElementPosition")(c);c=b("DOMDimensions").getElementDimensions(c);if(!f.x&&!f.y&&!c.height&&!c.width)return!1;e=Math.max(f.y,e);f=Math.min(f.y+c.height,a.height);a=Math.min(c.height,d);return f-e>=a},getHeightIfVisible:function(a,c){var d=this.getHeightInViewport(a);a=b("DOMDimensions").getElementDimensions(a);a=Math.min(a.height,c);return d>=a?d:0},getHeightInViewport:function(a){var c=b("getElementPosition")(a);a=b("DOMDimensions").getElementDimensions(a);if(!c.x&&!c.y&&!a.x&&!a.y)return 0;var d=b("getViewportDimensions")().height,e=Math.max(c.y,0);c=Math.min(c.y+a.height,d);return c-e},getElementsInViewIgnoreHeight:function(a){var b=!1,c=[];for(var d=0;d5&&(b=a.slice(0,-1)+(", "+b));return b}function p(a,b){a=((a=a)!=null?(a=a.style)!=null?a.animation:a:a)||"";a=a.split(",");var c=a.findIndex(function(a){return a.indexOf(b)>-1});c!==-1&&a.splice(c,1);return a.join(",")}c={show:function(a,c){__p&&__p();c===void 0&&(c={});var d=c.duration!=null?c.duration/1e3:.3;n(a,i);n(a,j);b("CSS").removeClass(a,c.invisible?"invisible_elem":"hidden_elem");b("requestAnimationFrameAcrossTransitions")(function(){a.style.animation=o(a,d,l)});var e=b("Event").listen(a,"animationend",function(){c.callback&&c.callback(),a.style.animation=p(a,l)}),f={cancel:function(){a.style.animation=p(a,l),e.remove(),f.cancel=function(){}}};b("DataStore").set(a,j,f);return f},hide:function(a,c){__p&&__p();c===void 0&&(c={});var d=function(){b("CSS").addClass(a,c.invisible?"invisible_elem":"hidden_elem"),c.callback&&c.callback(),a.style.animation=p(a,k)};if(c.simple){d();return m}var e=c.duration!=null?c.duration/1e3:.3;n(a,j);n(a,i);b("requestAnimationFrameAcrossTransitions")(function(){a.style.animation=o(a,e,k)});var f=b("Event").listen(a,"animationend",d),g={cancel:function(){a.style.animation=p(a,k),f.remove(),g.cancel=function(){}}};b("DataStore").set(a,i,g);return g}};d={show:function(a,c){__p&&__p();c===void 0&&(c={});var d=c.duration!=null?c.duration:300;n(a,i);n(a,j);b("CSS").removeClass(a,c.invisible?"invisible_elem":"hidden_elem");b("Style").set(a,"opacity","1");d=a.animate([{opacity:"0"},{opacity:"1.0"}],{duration:d});c.callback&&(d.onfinish=c.callback);b("DataStore").set(a,j,d);return d},hide:function(a,c){__p&&__p();c===void 0&&(c={});var d=c.duration!=null?c.duration:300;n(a,j);if(c.simple===!0){b("CSS").addClass(a,c.invisible?"invisible_elem":"hidden_elem");return m}else{n(a,i);b("Style").set(a,"opacity","0");d=a.animate([{opacity:"1.0"},{opacity:"0"}],{duration:d});d.onfinish=function(){b("CSS").addClass(a,c.invisible?"invisible_elem":"hidden_elem"),c.callback&&c.callback()};b("DataStore").set(a,i,d);return d}}};e.exports=a?d:c}),null); __d("firstx",["invariant"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a){__p&&__p();for(var a=a,b=Array.isArray(a),c=0,a=b?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var d;if(b){if(c>=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;return d}g(0,1145)}e.exports=a}),null); __d("ScrollableArea",["ArbiterMixin","Bootloader","BrowserSupport","CSS","CSSFade","DataStore","Deferred","DOM","DOMScroll","Event","FocusEvent","Run","Scroll","SimpleDrag","Style","SubscriptionsHandler","TimeSlice","UserAgent_DEPRECATED","Vector","clearTimeout","createCancelableFunction","emptyFunction","firstx","getScrollableAreaContainingNode","ifRequired","mixin","promiseDone","queryThenMutateDOM","setTimeoutAcrossTransitions","throttle"],(function(a,b,c,d,e,f){__p&&__p();var g=12;function h(){b("Run").onAfterLoad(function(){return b("Bootloader").loadModules(["Animation"],b("emptyFunction"),"ScrollableArea")})}a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c,d){__p&&__p();var e;e=a.call(this)||this;e.adjustGripper=function(){var a=function(){b("queryThenMutateDOM")(function(){return e._needsGripper()},function(a){a&&(b("Style").set(e._gripper,"height",e._gripperHeight+"px"),e._slideGripper())}),e._throttledShowGripperAndShadows()};a=b("TimeSlice").guard(a,"ScrollableArea adjustGripper",{propagationType:b("TimeSlice").PropagationType.ORPHAN});a();return babelHelpers.assertThisInitialized(e)};e._computeHeights=function(){e._containerHeight=e._elem.clientHeight,e._contentHeight=e._content.offsetHeight,e._trackHeight=e._track.offsetHeight,e._gripperHeight=Math.max(e._containerHeight/e._contentHeight*e._trackHeight,g)};e._showGripperAndShadows=function(){b("queryThenMutateDOM")(function(){return{needsGripper:e._needsGripper(),top:b("Scroll").getTop(e._wrap)>0,isScrolledToBottom:e.isScrolledToBottom()}},function(a){var c=a.needsGripper,d=a.top;a=a.isScrolledToBottom;b("CSS").conditionShow(e._gripper,c);b("CSS").conditionClass(e._elem,"contentBefore",d);b("CSS").conditionClass(e._elem,"contentAfter",!a)})};e._respondMouseMove=function(){if(!e._mouseOver||e._isFocussed)return;var a=e._options.fade!==!1,c=e._mousePos,d=b("Vector").getElementPosition(e._track).x,f=b("Vector").getElementDimensions(e._track).x;d=Math.abs(d+f/2-c.x);f=b("BrowserSupport").hasPointerEvents()&&d<=10;f&&!e._trackIsHovered?(e._trackIsHovered=!0,b("CSS").addClass(e._elem,"uiScrollableAreaTrackOver"),e.throttledAdjustGripper()):!f&&e._trackIsHovered&&(e._trackIsHovered=!1,b("CSS").removeClass(e._elem,"uiScrollableAreaTrackOver"));a&&(d<25?e.showScrollbar({hideAfterDelay:!1}):!e._options.no_fade_on_hover&&!e._isFocussed&&e.hideScrollbar({hideAfterDelay:!0,shouldFade:!0}))};if(!c)return babelHelpers.assertThisInitialized(e);d=d||{};h();e._elem=c;e._wrap=b("firstx")(b("DOM").scry(c,"div.uiScrollableAreaWrap"));e._body=b("firstx")(b("DOM").scry(e._wrap,"div.uiScrollableAreaBody"));e._content=b("firstx")(b("DOM").scry(e._body,"div.uiScrollableAreaContent"));e._track=b("firstx")(b("DOM").scry(c,"div.uiScrollableAreaTrack"));e._trackIsHovered=!1;e._isFocussed=!1;e._gripper=b("firstx")(b("DOM").scry(e._track,"div.uiScrollableAreaGripper"));e._options=d;e._throttledComputeHeights=b("throttle").withBlocking(e._computeHeights,250,babelHelpers.assertThisInitialized(e));e.throttledAdjustGripper=b("throttle").withBlocking(e.adjustGripper,250,babelHelpers.assertThisInitialized(e));e.throttledAdjustGripper=b("TimeSlice").guard(e.throttledAdjustGripper,"ScrollableArea throttledAdjustGripper",{propagationType:b("TimeSlice").PropagationType.ORPHAN});e._throttledShowGripperAndShadows=b("throttle").withBlocking(e._showGripperAndShadows,250,babelHelpers.assertThisInitialized(e));e._throttledRespondMouseMove=b("throttle")(e._respondMouseMove,250,babelHelpers.assertThisInitialized(e));b("setTimeoutAcrossTransitions")(e.adjustGripper.bind(babelHelpers.assertThisInitialized(e)),0);e._listeners=new(b("SubscriptionsHandler"))();e._listeners.addSubscriptions(b("Event").listen(e._wrap,"scroll",e._handleScroll.bind(babelHelpers.assertThisInitialized(e))),b("Event").listen(c,"mousemove",e._handleMouseMove.bind(babelHelpers.assertThisInitialized(e))),b("Event").listen(e._track,"click",e._handleClickOnTrack.bind(babelHelpers.assertThisInitialized(e))));b("BrowserSupport").hasPointerEvents()&&e._listeners.addSubscriptions(b("Event").listen(c,"mousedown",e._handleClickOnTrack.bind(babelHelpers.assertThisInitialized(e))));if(d.fade!==!1){var f;(f=e._listeners).addSubscriptions.apply(f,[b("Event").listen(c,"mouseenter",e._handleMouseEnter.bind(babelHelpers.assertThisInitialized(e))),b("Event").listen(c,"mouseleave",e._handleMouseLeave.bind(babelHelpers.assertThisInitialized(e)))].concat(e._attachFocusListeners(e._wrap)))}else b("BrowserSupport").hasPointerEvents()&&e._listeners.addSubscriptions(b("Event").listen(c,"mouseleave",function(){e._isFocussed||(e._trackIsHovered=!1,b("CSS").removeClass(c,"uiScrollableAreaTrackOver"))}));b("UserAgent_DEPRECATED").webkit()||b("UserAgent_DEPRECATED").chrome()?e._listeners.addSubscriptions(b("Event").listen(c,"mousedown",function(){var a=b("Event").listen(window,"mouseup",function(){b("Scroll").getLeft(c)&&b("Scroll").setLeft(c,0),a.remove()})})):b("UserAgent_DEPRECATED").firefox()&&e._wrap.addEventListener("DOMMouseScroll",function(a){a.axis===a.HORIZONTAL_AXIS&&a.preventDefault()},!1);e._drag=e.initDrag();b("DataStore").set(e._elem,"ScrollableArea",babelHelpers.assertThisInitialized(e));d.persistent||(e._destroy=b("createCancelableFunction")(e._destroy.bind(babelHelpers.assertThisInitialized(e))),b("Run").onLeave(e._destroy));d.shadow!==!1&&b("CSS").addClass(e._elem,"uiScrollableAreaWithShadow");return e}var d=c.prototype;d.getContentHeight=function(){return this._contentHeight};d.getElement=function(){return this._elem};d.initDrag=function(){__p&&__p();var a=b("BrowserSupport").hasPointerEvents(),c=new(b("SimpleDrag"))(a?this._elem:this._gripper);c.subscribe("start",function(d,e){__p&&__p();if(!(e.which&&e.which===1||e.button&&e.button===1))return void 0;d=b("Vector").getEventPosition(e,"viewport");if(a){var f=this._gripper.getBoundingClientRect();if(d.xf.right||d.yf.bottom)return!1}e.stopPropagation();this.inform("grip_start");var g=d.y,h=this._gripper.offsetTop;b("CSS").addClass(this._elem,"uiScrollableAreaDragging");var i=c.subscribe("update",function(a,c){a=b("Vector").getEventPosition(c,"viewport").y-g;this._throttledComputeHeights();c=this._contentHeight-this._containerHeight;a=h+a;var d=this._trackHeight-this._gripperHeight;a=Math.max(Math.min(a,d),0);a=a/d*c;b("Scroll").setTop(this._wrap,a)}.bind(this)),j=c.subscribe("end",function(){c.unsubscribe(i),c.unsubscribe(j),b("CSS").removeClass(this._elem,"uiScrollableAreaDragging"),this.inform("grip_end")}.bind(this));return void 0}.bind(this));return c};d._attachFocusListeners=function(a){var c=this,d;return[b("FocusEvent").listen(a,function(a){d&&(d.reject(),d=null),a?(d=new(b("Deferred"))(),b("promiseDone")(d.getPromise(),function(){c._isFocussed=!0,c._trackIsHovered=!0,b("queryThenMutateDOM")(null,function(){b("CSS").addClass(c._elem,"uiScrollableAreaTrackOver")}),c.showScrollbar({hideAfterDelay:!1}),d=null},function(){d=null})):(c._isFocussed=!1,c._mouseOver?c._respondMouseMove():(b("queryThenMutateDOM")(null,function(){b("CSS").removeClass(c._elem,"uiScrollableAreaTrackOver")}),c.hideScrollbar({hideAfterDelay:!1,shouldFade:!1})))}),b("Event").listen(document.documentElement,"keyup",function(a){d&&d.resolve()})]};d._needsGripper=function(){this._throttledComputeHeights();return this._gripperHeightd.left&&(c.yd.bottom&&this.setScrollTop(this.getScrollTop()+this._elem.clientHeight),a.kill())};d._handleMouseMove=function(a){var c=this._options.fade!==!1;(b("BrowserSupport").hasPointerEvents()||c)&&(this._mousePos=b("Vector").getEventPosition(a),this._throttledRespondMouseMove())};d._handleScroll=function(a){this._needsGripper()&&this._slideGripper(),this.throttledAdjustGripper(),this._options.fade!==!1&&!this._isFocussed&&this.showScrollbar({hideAfterDelay:!0}),this.inform("scroll")};d._handleMouseLeave=function(a){this._mouseOver=!1,this._mousePos=b("Vector").getEventPosition(a),this._isFocussed||this.hideScrollbar({hideAfterDelay:!0,shouldFade:!0})};d._handleMouseEnter=function(a){this._mouseOver=!0,this._mousePos=b("Vector").getEventPosition(a),this._isFocussed||this.showScrollbar({hideAfterDelay:!0})};d.hideScrollbar=function(a){var c=this,d=a.hideAfterDelay,e=a.shouldFade;if(this._hideTimeout||!this._scrollbarVisible)return this;var f=function(){c._scrollbarVisible=!1,b("CSSFade").hide(c._track,{simple:!e,invisible:b("CSS").hasClass(c._track,"invisible_elem")})};d?this._hideTimeout=b("setTimeoutAcrossTransitions")(function(){c._hideTimeout=null,f()},750):f();return this};d.pageDown=function(a,b){this._scrollPage(1,a,b)};d.pageUp=function(a,b){this._scrollPage(-1,a,b)};d._scrollPage=function(a,b,c){a=a*this._containerHeight;var d=this.getScrollHeight()-this._containerHeight;d=Math.max(0,Math.min(d,this.getScrollTop()+a));this.setScrollTop(d,b,c)};d.resize=function(){this._body.style.width&&(this._body.style.width="");var a=b("DOMScroll").getScrollbarSize();a>0&&b("Style").set(this._body,"margin-right",-a+"px");return this};d.showScrollbar=function(a){var c=this,d=a.hideAfterDelay;this._hideTimeout&&(b("clearTimeout")(this._hideTimeout),this._hideTimeout=null);if(this._scrollbarVisible)return this;this._scrollbarVisible=!0;b("queryThenMutateDOM")(null,function(){b("CSSFade").show(c._track,{duration:0,invisible:b("CSS").hasClass(c._track,"invisible_elem")}),c.throttledAdjustGripper(),d&&c.hideScrollbar({hideAfterDelay:!0,shouldFade:!c._options.no_fade_on_hover})});return this};d.distanceToBottom=function(){this._computeHeights();var a=Math.round(b("Scroll").getTop(this._wrap));return this._contentHeight-(a+this._containerHeight)};d.isScrolledToBottom=function(){return this.distanceToBottom()<=0};d.isScrolledToTop=function(){return b("Scroll").getTop(this._wrap)===0};d.scrollToBottom=function(a,b){this.setScrollTop(this._wrap.scrollHeight,a,b)};d.scrollToTop=function(a,b){this.setScrollTop(0,a,b)};d.scrollIntoView=function(a,c,d){var e=this._wrap.clientHeight,f=a.offsetHeight,g=b("Scroll").getTop(this._wrap),h=g+e;a=this.getScrollOffsetForElement(a);var i=a+f;if(ah)return this.setScrollTop(g+(i-h),c,{callback:d});d&&d();return b("emptyFunction")};d.getScrollOffsetForElement=function(a){var b=0;while(a!=null&&a!==this._wrap)b+=a.offsetTop,a=a.offsetParent;return b};d.scrollElemToTop=function(a,b,c){this.setScrollTop(a.offsetTop,b,{callback:c})};d.poke=function(){var a=b("Scroll").getTop(this._wrap);b("Scroll").setTop(this._wrap,b("Scroll").getTop(this._wrap)+1);b("Scroll").setTop(this._wrap,b("Scroll").getTop(this._wrap)-1);b("Scroll").setTop(this._wrap,a);if(this._isFocussed)return this;else return this.showScrollbar({hideAfterDelay:!1})};d.getClientHeight=function(){return this._wrap.clientHeight};d.getScrollTop=function(){return b("Scroll").getTop(this._wrap)};d.getScrollHeight=function(){return this._wrap.scrollHeight};d.setScrollTop=function(a,c,d){var e=this;d===void 0&&(d={});var f;c!==!1?f=b("ifRequired")("Animation",function(b){return e._animatedSetScrollTop(b,a,d)},function(){return e._simpleSetScrollTop(a,d)}):this._simpleSetScrollTop(a,d);return function(){f&&f.stop(),f=null}};d._simpleSetScrollTop=function(a,c){b("Scroll").setTop(this._wrap,a),c.callback&&c.callback()};d._animatedSetScrollTop=function(a,b,c){this._scrollTopAnimation&&this._scrollTopAnimation.stop();var d=c.duration||250,e=c.ease||a.ease.end;this._scrollTopAnimation=new a(this._wrap).to("scrollTop",b).ease(e).duration(d).ondone(c.callback).go();return this._scrollTopAnimation};c.renderDOM=function(){var a=b("DOM").create("div",{className:"uiScrollableAreaContent"}),c=b("DOM").create("div",{className:"uiScrollableAreaBody"},a),d=b("DOM").create("div",{className:"uiScrollableAreaWrap scrollable"},c),e=b("DOM").create("div",{className:"uiScrollableArea native"},d);return{root:e,wrap:d,body:c,content:a}};c.fromNative=function(a,d){__p&&__p();if(!b("CSS").hasClass(a,"uiScrollableArea")||!b("CSS").hasClass(a,"native"))return void 0;d=d||{};b("CSS").removeClass(a,"native");var e=b("DOM").create("div",{className:"uiScrollableAreaTrack"},b("DOM").create("div",{className:"uiScrollableAreaGripper"}));d.fade!==!1?(b("CSS").addClass(a,"fade"),b("CSS").addClass(e,"hidden_elem")):b("CSS").addClass(a,"nofade");d.tabIndex!==void 0&&d.tabIndex!==null?(b("DOM").setAttributes(e,{tabIndex:d.tabIndex}),b("DOM").prependContent(a,e)):b("DOM").appendContent(a,e);e=new c(a,d);e.resize();return e};c.getInstance=function(a){return b("getScrollableAreaContainingNode")(a)};c.poke=function(a){a=c.getInstance(a);a&&a.poke()};return c}(b("mixin")(b("ArbiterMixin")));e.exports=a}),null); __d("Menu",["cx","BehaviorsMixin","CSS","DataStore","DOM","Event","Keys","Parent","PopoverMenuInterface","ScrollableArea","Style","SubscriptionsHandler","UserAgent","debounce"],(function(a,b,c,d,e,f,g){__p&&__p();var h=500;a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(d,e){__p&&__p();var f;f=a.call(this)||this;f._items=[];f._keysSoFar="";f._items=d.map(c.buildItemFromData);f._config=e||{};f._theme=e.theme||{};f._subscriptions=new(b("SubscriptionsHandler"))();f._clearKeysSoFarAfterDelay=b("debounce")(function(){f._keysSoFar=""},h);return f}c.buildItemFromData=function(a){if(a.ctor)return new a.ctor(a);else return new a.type(a.props)};var d=c.prototype;d.addItem=function(a){this._addItem(a)};d.addItemBefore=function(a,b){this._addItem(a,b,!1)};d.addItemAfter=function(a,b){this._addItem(a,b,!0)};d._addItem=function(a,b,c){__p&&__p();var d=this._items.indexOf(a);if(d>=0){var e=c?-1:1;if(this._items[d+e]==b)return;this._items.splice(d,1)}if(b){d=this._items.indexOf(b);if(d<0)throw new Error("reference item must already be in the menu");c&&d++;this._items.splice(d,0,a)}else this._items.push(a);this._root&&this._insertItem(a,b,c)};d.removeItem=function(a){var c=this._items.indexOf(a);if(c<0)return;this._items.splice(c,1);this._root&&b("DOM").remove(a.getRoot())};d.forEachItem=function(a){this._items.forEach(a)};d.getFocusedItem=function(){return this._focused};d.getItemAt=function(a){return this._items[a]||null};d.getRoot=function(){this._root||this._render();return this._root};d.onShow=function(){this._config.maxheight&&(!this._scrollableArea?this._scrollableArea=b("ScrollableArea").fromNative(this._scrollableElems.root,{fade:!0}):this._scrollableArea.resize()),this.inform("show")};d.onHide=function(){this.blur(),this.inform("hide")};d.focusAnItem=function(a){return this._attemptFocus(a||0,1)};d.blur=function(){if(this._focused){var a=this._focused;this._focused.blur();this._focused=null;this.inform("blur",{item:a})}};d.handleKeydown=function(a,c){__p&&__p();if(!this._items.length)return!1;var d=this._items.indexOf(this._focused);switch(a){case b("Keys").UP:case b("Keys").DOWN:var e=a===b("Keys").UP,f=e?-1:1;e=e?this._items.length-1:0;return d===-1?this._attemptFocus(e,f):this._attemptFocus(d+f,f);case b("Keys").HOME:return this._attemptFocus(0,1);case b("Keys").END:return this._attemptFocus(this._items.length-1,-1);case b("Keys").SPACE:if(this._items.indexOf(this._focused)!==-1){this._handleItemClick(this._focused,c);return!0}return!1;case b("Keys").RIGHT:case b("Keys").LEFT:case b("Keys").INSERT:case b("Keys").DELETE:return!1;default:e=this._findItemToFocus(a,d);return!!(e&&this._focusItem(e))}};d._findItemToFocus=function(a,b){a=String.fromCharCode(a).toLowerCase();this._keysSoFar||(this._searchIndex=b,this._itemToFocus=this._focused||this._items[0]);this._keysSoFar+=a;this._clearKeysSoFarAfterDelay();b=this._findMatchInRange(this._searchIndex+1,this._items.length);b||(b=this._findMatchInRange(0,this._searchIndex));this._itemToFocus=b||this._itemToFocus;return this._itemToFocus};d._findMatchInRange=function(a,b){for(var a=a;a=c)&&!this._focused)return!1;a=(c+a%c)%c;c=this.getItemAt(a);return c===this._focused||this._focusItem(c)?!0:this._attemptFocus(a+b,b)};d._focusItem=function(a,b){if(a&&a.focus(b)!==!1){this._focused!==a&&(this.blur(),this._focused=a,this.inform("focus",{item:a,from_mouse_over:b}));return!0}return!1};d._getItemInstance=function(a){a=b("Parent").byClass(a,"__MenuItem");return a?b("DataStore").get(a,"MenuItem"):null};d.destroy=function(){this._items.forEach(function(a){var c=a.getRoot();b("DataStore").remove(c,"MenuItem");a.destroy()}),this._subscriptions.release(),this.destroyBehaviors()};return c}(b("PopoverMenuInterface"));Object.assign(a.prototype,b("BehaviorsMixin"),{_focused:null,_root:null});e.exports=a}),null); __d("MenuItemInterface",["React","emptyFunction"],(function(a,b,c,d,e,f){__p&&__p();a=function(a){"use strict";babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var c=b.prototype;c.getRoot=function(){this._root||(this._root=this.render());return this._root};return b}(b("React").Component);Object.assign(a.prototype,{_root:null,render:b("emptyFunction"),getAccessKey:b("emptyFunction"),getLabel:b("emptyFunction"),hasAction:b("emptyFunction").thatReturnsFalse,focus:b("emptyFunction").thatReturnsFalse,blur:b("emptyFunction").thatReturnsFalse,onShow:b("emptyFunction").thatReturnsFalse,handleClick:b("emptyFunction").thatReturnsFalse,shouldCloseOnClick:b("emptyFunction").thatReturnsTrue,destroy:b("emptyFunction")});e.exports=a}),null); __d("MenuItemBase",["cx","DOM","HTML","MenuItemInterface"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(b){var c;c=a.call(this)||this;c._ARIARole="menuitem";c._data=babelHelpers["extends"]({},b);return c}var d=c.prototype;d.render=function(){var a="_54ni";this._data.className&&(a+=" "+this._data.className);a={className:a,role:"presentation"};Object.assign(a,this.__getAttributesFromData());delete a["data-testid"];return b("DOM").create("li",a,this._renderItemContent())};d._renderItemContent=function(){return b("HTML")(this._data.markup).getNodes()};d.__getAttributesFromData=function(){var a={};for(var b in this._data)(b.indexOf("data-")===0||b.indexOf("aria-")===0)&&(a[b]=this._data[b]);return a};return c}(b("MenuItemInterface"));e.exports=a}),null); __d("MenuItem",["cx","CSS","DOM","MenuItemBase","React","ReactDOM","emptyFunction","joinClasses"],(function(a,b,c,d,e,f,g){__p&&__p();var h=["href","rel","ajaxify","target","accesskey"];function i(a,c){var d={};h.forEach(function(a){c[a]&&(d[a]=c[a])});b("DOM").setAttributes(a,d)}function j(a){h.forEach(function(b){a.removeAttribute(b)})}a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(b){b=a.call(this,b)||this;b._disabled=!!b._data.disabled;b._onclickHandler=b._data.onclick||b._data.onClick;return b}var d=c.prototype;d.getValue=function(){return this._data.value};d.getLabel=function(){return this._data.label};d.getLink=function(){return this._data.href};d.getAccessKey=function(){var a=this.getLabel();return a&&a.charAt(0)};d.focus=function(a){if(this.isDisabled()||!this._root.offsetParent||!this.hasAction()||this.isHoverDisabled())return!1;b("CSS").addClass(this._root,"_54ne");b("CSS").addClass(this._root,"selected");a||this._anchor.focus()};d.blur=function(){b("CSS").removeClass(this._root,"_54ne"),b("CSS").removeClass(this._root,"selected")};d.handleClick=function(a){if(this.isDisabled())return!1;return typeof this._onclickHandler==="function"?this._onclickHandler(a):!0};d.setOnClickHandler=function(a){this._onclickHandler=a};d._renderItemContent=function(){__p&&__p();this._anchor=b("DOM").create(this._data.renderas==="label"?"label":"a",{className:"_54nc"+(this._data.icon?" _54nu":"")});if(this._data.children){var a=null;this._data.icon&&(a=b("React").cloneElement(this._data.icon,{className:b("joinClasses")(this._data.icon.props.className,"mrs")}));b("ReactDOM").render(b("React").createElement("span",null,a,b("React").createElement("span",{className:"_54nh"},this._data.children)),this._anchor);this._data.label=this._anchor.innerText||this._anchor.textContent}else{a=b("DOM").create("span",null,b("DOM").create("span",{className:"_54nh"},this._data.markup||this._data.label));this._data.icon&&b("DOM").prependContent(a,this._data.icon);b("DOM").setContent(this._anchor,a)}this._data.href||(this._data.href="#");this.isDisabled()||i(this._anchor,this._data);b("DOM").setAttributes(this._anchor,this.__getAttributesFromData());this._anchor.setAttribute("role",this._ARIARole);a=this._data.title;a&&this._anchor.setAttribute("title",a);return this._anchor};d.isDisabled=function(){return this._disabled};d.isHoverDisabled=function(){return this._data.hoverdisabled};d.enable=function(){this._root&&(i(this._anchor,this._data),b("CSS").removeClass(this._root,"_5arm")),this._disabled=!1};d.disable=function(){this._root&&(j(this._anchor),b("CSS").addClass(this._root,"_5arm")),this._disabled=!0};d.render=function(){var c=a.prototype.render.call(this);this._disabled&&b("CSS").addClass(c,"_5arm");return c};d.destroy=function(){this._anchor&&b("ReactDOM").unmountComponentAtNode(this._anchor)};return c}(b("MenuItemBase"));Object.assign(a.prototype,{hasAction:b("emptyFunction").thatReturnsTrue});e.exports=a}),null); __d("MenuStaticItem",["cx","DOM","MenuItemBase","React","ReactDOM","emptyFunction"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(b){var c;c=a.call(this)||this;c._data=b;return c}var d=c.prototype;d._renderItemContent=function(){var a=b("DOM").create("span",{className:"_54nc _54ah"});this._data.children?b("ReactDOM").render(b("React").createElement("span",{className:"_54nh"},this._data.children),a):b("DOM").setContent(a,b("DOM").create("span",{className:"_54nh"},this._data.markup));return a};return c}(b("MenuItemBase"));Object.assign(a.prototype,{handleClick:b("emptyFunction")});e.exports=a}),null); __d("XUIMenuTheme",["cx"],(function(a,b,c,d,e,f,g){e.exports={className:"_558b"}}),null); __d("XUIMenuWithSquareCorner",["cx","CSS"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(){"use strict";function a(a){this.$1=a}var c=a.prototype;c.enable=function(){b("CSS").addClass(this.$1.getRoot(),"_2n_z")};c.disable=function(){b("CSS").removeClass(this.$1.getRoot(),"_2n_z")};return a}();e.exports=a}),null); __d("LayerDestroyOnHide",[],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this._layer=a}var b=a.prototype;b.enable=function(){var a=this._layer.destroy.bind(this._layer);this._subscription=this._layer.subscribe("hide",function(){setTimeout(a,0)})};b.disable=function(){this._subscription&&(this._subscription.unsubscribe(),this._subscription=null)};return a}();Object.assign(a.prototype,{_subscription:null});e.exports=a}),null); __d("LayerFadeOnHide",["invariant","CSSFade","Layer","SubscriptionsHandler","UserAgent_DEPRECATED","clearTimeout","emptyFunction","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this._layer=a,this._subscriptionsHandler=new(b("SubscriptionsHandler"))()}var c=a.prototype;c.enable=function(){if(b("UserAgent_DEPRECATED").ie()<9)return;this._subscription=this._layer.subscribe("starthide",this._handleStartHide.bind(this))};c.disable=function(){this._subscription&&(this._subscription.unsubscribe(),this._subscription=null),this._subscriptionsHandler.release()};c._getDuration=function(){return 150};c._handleStartHide=function(){__p&&__p();var a=!0,c=b("Layer").subscribe("show",function(){c.unsubscribe(),a=!1}),d=b("setTimeoutAcrossTransitions")(function(){var b=this;c.unsubscribe();c=null;var d=function(){b._layer.finishHide()};a?this._animate(d):d()}.bind(this),0);this._subscriptionsHandler.addSubscriptions({remove:function(){b("clearTimeout")(d)}});return!1};c._animate=function(a){var c=this._layer.getRoot();c!=null||g(0,70);b("CSSFade").hide(c,{callback:function(){a()},duration:this._getDuration()})};a.forDuration=function(c){var d=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.apply(this,arguments)||this}return a}(a);d.prototype._getDuration=b("emptyFunction").thatReturns(c);return d};return a}();Object.assign(a.prototype,{_subscription:null});e.exports=a}),null); __d("VideoConfig",[],(function(a,b,c,d,e,f){function a(a){Object.assign(this,a)}e.exports=a}),null); __d("VideoPlayerVolumeSettings",["WebStorage"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(){this.$1=1,this.$2=1}var c=a.prototype;c.getVolume=function(){var a=b("WebStorage").getLocalStorage();if(a){a=a.getItem("videoPlayerControllerVolume");return a===null||isNaN(+a)?1:+a}return this.$1};c.getSessionVolume=function(){return this.$1};c.setSessionVolume=function(a){this.$1=a};c.saveVolume=function(a){var c=b("WebStorage").getLocalStorage();c&&c.setItem("videoPlayerControllerVolume",a);this.$1=a};c.getLastVolumeBeforeMute=function(){var a=b("WebStorage").getLocalStorage();if(a){a=a.getItem("videoPlayerControllerLastVolumeBeforeMute");return a===null||isNaN(+a)?1:+a}return this.$2};c.saveLastVolumeBeforeMute=function(a){var c=b("WebStorage").getLocalStorage();c&&c.setItem("videoPlayerControllerLastVolumeBeforeMute",a);this.$2=a};return a}();c=new a();e.exports=c}),null); __d("HTMLMediaElementReadyStates",[],(function(a,b,c,d,e,f){a={HAVE_NOTHING:0,HAVE_METADATA:1,HAVE_CURRENT_DATA:2,HAVE_FUTURE_DATA:3,HAVE_ENOUGH_DATA:4};e.exports=a}),null); __d("VideoFrameBuffer",["HTMLMediaElementReadyStates"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a,b,c,d,e,f,g){d===void 0&&(d=null),e===void 0&&(e=null),f===void 0&&(f=null),g===void 0&&(g=null),this.$2=b,this.$1=a,this.$3=c||"contain",this.$6=d,this.$7=e,this.$8=f,this.$9=g}var c=a.prototype;c.updateFrameBuffer=function(){__p&&__p();this.$4&&(this.$1.width=this.$4,this.$4=null);this.$5&&(this.$1.height=this.$5,this.$5=null);if(this.$2.readyStatef?d=e*f:g250?"[truncated]":"")}Object.keys(f).forEach(function(a){f[a].isSettled()||f[a].reject({data:{},errors:[{message:"No response received from server.",severity:"CRITICAL"}]})})}).setTimeoutHandler(b("WebGraphQLConfig").timeout,function(){Object.keys(f).forEach(function(a){f[a].isSettled()||f[a].reject({data:{},errors:[{message:"Request timed out.",severity:"CRITICAL"}]})})}).setErrorHandler(function(a){var b=a.getErrorDescription();Object.keys(f).forEach(function(c){f[c].isSettled()||f[c].reject({data:{},errors:[{message:b,severity:"CRITICAL",error:a.getError()}]})})});d&&d.msgrRegion&&h.setRequestHeader("X-MSGR-Region",d.msgrRegion);h.setAllowCrossPageTransition(!0);h.send();return a},__forController:g};return d}a=g(b("XGraphQLBatchAPIController"));e.exports=a}),null); __d("XUIGrayText.react",["cx","React","XUIText.react","joinClasses"],(function(a,b,c,d,e,f,g){__p&&__p();a=b("React").PropTypes;c=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a=this.props,c=a.shade;a=babelHelpers.objectWithoutPropertiesLoose(a,["shade"]);c=(c==="light"?"_50f8":"")+(c==="medium"?" _c24":"")+(c==="dark"?" _50f9":"");return b("React").createElement(b("XUIText.react"),babelHelpers["extends"]({},a,{className:b("joinClasses")(this.props.className,c)}),this.props.children)};return c}(b("React").Component);c.propTypes={shade:a.oneOf(["light","medium","dark"])};c.defaultProps={shade:"light"};e.exports=c}),null); __d("BlobFactory",["emptyFunction"],(function(a,b,c,d,e,f){__p&&__p();var g;function h(){try{new a.Blob(),g=!0}catch(a){g=!1}}var i=a.BlobBuilder||a.WebKitBlobBuilder||a.MozBlobBuilder||a.MSBlobBuilder;a.Blob?c={getBlob:function(b,c){__p&&__p();b=b||[];c=c||{};g===void 0&&h();if(g)return new a.Blob(b,c);else{var d=new i();for(var e=0;e