e5883f4b903b0578ad2b34a597af19a1475be5342183c35e572af1a0f23acf14

Source Code:

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

__d("CookieConsentBlacklistedHrefs",[],(function(a,b,c,d,e,f){e.exports={hrefs:["/about/basics","/privacy/explanation","/ads/settings","/help/111814505650678","/help/1561485474074139","/help/568137493302217","/help/769828729705201","/help/cookies","/policies/cookies","/policy/cookies"]}}),null);
__d("LoggedOutSwitchingLocaleTypedLogger",["Banzai","GeneratedLoggerUtils"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1={}}var c=a.prototype;c.log=function(a){b("GeneratedLoggerUtils").log("logger:LoggedOutSwitchingLocaleLoggerConfig",this.$1,b("Banzai").BASIC,a)};c.logVital=function(a){b("GeneratedLoggerUtils").log("logger:LoggedOutSwitchingLocaleLoggerConfig",this.$1,b("Banzai").VITAL,a)};c.logImmediately=function(a){b("GeneratedLoggerUtils").log("logger:LoggedOutSwitchingLocaleLoggerConfig",this.$1,{signal:!0},a)};c.clear=function(){this.$1={};return this};c.getData=function(){return babelHelpers["extends"]({},this.$1)};c.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.setIndex=function(a){this.$1.index=a;return this};c.setNewLocale=function(a){this.$1.new_locale=a;return this};c.setOldLocale=function(a){this.$1.old_locale=a;return this};c.setReferrer=function(a){this.$1.referrer=a;return this};return a}();c={index:!0,new_locale:!0,old_locale:!0,referrer:!0};e.exports=a}),null);
__d("destroyOnUnload",["Run"],(function(a,b,c,d,e,f,g){function a(a){return d("Run").onLeave(a)}g["default"]=a}),98);
__d("Dock",["csx","ArbiterMixin","BlueBar","CSS","ChatQuietLinks","DOM","DataStore","Event","Parent","Scroll","Style","Toggler","Vector","emptyFunction","isKeyActivation","shield"],(function(a,b,c,d,e,f,g){function c(){}Object.assign(c,b("ArbiterMixin"),{MIN_HEIGHT:140,INITIAL_FLYOUT_HEIGHT_OFFSET:10,init:function(a){this.init=b("emptyFunction");this.rootEl=a;this.calculateViewportDimensions();b("ChatQuietLinks").removeEmptyHrefs(this.rootEl);b("Event").listen(a,"click",this._onClick.bind(this));var c=a.querySelector(".fbNubButton");c&&b("Event").listen(c,"keypress",this._onKeyPress.bind(this));b("Event").listen(window,"resize",this._onWindowResize.bind(this));b("Toggler").subscribe(["show","hide"],function(c,d){d=d.getActive();if(!b("DOM").contains(a,d))return;if(b("CSS").hasClass(d,"fbNub"))this.notifyNub(d,c),c==="show"&&this._resizeNubFlyout(d);else{d=b("Parent").byClass(d,"fbNubFlyout");d&&b("CSS").conditionClass(d,"menuOpened",c==="show")}}.bind(this));this.inform("init",{},"persistent")},calculateViewportDimensions:function(){return this.viewportDimensions=b("Vector").getViewportDimensions()},getFlyoutHeightOffset:function(){if(this.flyoutHeightOffset)return this.flyoutHeightOffset;this.flyoutHeightOffset=this.INITIAL_FLYOUT_HEIGHT_OFFSET+b("Vector").getElementDimensions(this.rootEl).y;var a=b("BlueBar").getBar();if(a){var c=b("Style").isFixed(a)?"viewport":"document";this.flyoutHeightOffset+=b("Vector").getElementPosition(a,c).y+b("Vector").getElementDimensions(a).y}return this.flyoutHeightOffset},toggle:function(a){var c=this._findFlyout(a);if(!c)return;this.subscribe("init",function(){b("Toggler").toggle(a)})},show:function(a){this.subscribe("init",function(){b("Toggler").show(a)})},showNub:function(a){b("CSS").show(a)},hide:function(a){this.subscribe("init",function(){var c=b("Toggler").getInstance(a);b("DOM").contains(a,c.getActive())&&c.hide()})},hideNub:function(a){b("CSS").hide(a),this.hide(a)},setUseMaxHeight:function(a,c){b("CSS").conditionClass(a,"maxHeight",c!==!1),this._resizeNubFlyout(a)},_resizeNubFlyout:function(a){var c=this._findFlyout(a);if(!c||b("CSS").hasClass(a,"placeholder")||!(b("CSS").hasClass(a,"openToggler")||b("CSS").hasClass(a,"opened")))return;var d=b("DOM").find(c,"div.fbNubFlyoutOuter"),e=b("DOM").find(d,"div.fbNubFlyoutInner"),f=b("DOM").find(e,"div.fbNubFlyoutBody"),g=b("CSS").hasClass(a,"canBeCompactTab"),h=b("Scroll").getTop(f),i=f.offsetHeight;b("Style").set(f,"height","auto");var j=b("Vector").getElementDimensions(c),k=b("Vector").getElementDimensions(f),l=this.getMaxFlyoutHeight(a);b("Style").set(c,"max-height",l+"px");b("Style").set(d,"max-height",l+"px");j=b("Vector").getElementDimensions(c);d=b("Vector").getElementDimensions(e);l=d.y-k.y;e=j.y-l;d=parseInt(f.style.height||f.clientHeight,10);d=e!==d;j.y>l&&d&&!g&&b("Style").set(f,"height",e+"px");b("CSS").removeClass(c,"swapDirection");var m=b("Vector").getElementPosition(c).x;b("CSS").conditionClass(c,"swapDirection",function(){if(m<0)return!0;return!j||!this.viewportDimensions?!1:m+j.x>this.viewportDimensions.x}.bind(this)());d&&h+i>=k.y?b("Scroll").setTop(f,f.scrollHeight):b("Scroll").setTop(f,h);this.notifyNub(a,"resize")},getMaxFlyoutHeight:function(a){a=this._findFlyout(a);var c=b("Vector").getElementPosition(a,"viewport");a=b("Vector").getElementDimensions(a);if(!this.viewportDimensions||!c)return 0;c=Math.max(this.MIN_HEIGHT,this.viewportDimensions.y-this.getFlyoutHeightOffset())-(this.viewportDimensions.y-c.y-a.y);return Math.max(c,0)},resizeAllFlyouts:function(){var a=this._getAllNubs(),b=a.length;while(b--)this._resizeNubFlyout(a[b])},_getAllNubs:function(){if(!this.rootEl)return[];var a=b("DOM").scry(this.rootEl,"div._50-v.openToggler:not(._s0f)");return a.concat(b("DOM").scry(this.rootEl,"div._50-v.opened:not(._s0f)"))},_onKeyPress:function(a){var c=a.getTarget();c=b("Parent").byClass(c,"fbNub");b("isKeyActivation")(a)&&c&&this.toggle(c)},_onClick:function(a){a=a.getTarget();var c=b("Parent").byClass(a,"fbNub");if(c){b("Parent").byClass(a,"adsNubFlyoutCloseButton")&&this.hide(c);if(b("Parent").byClass(a,"fbNubFlyoutTitlebar")){var d=b("Parent").byTag(a,"a");a=a.nodeName=="INPUT"&&a.getAttribute("type")=="submit";if(!d&&!a){this.hide(c);return!1}}this.notifyNub(c,"click")}},_onWindowResize:function(a){this.calculateViewportDimensions(),this.resizeAllFlyouts()},_findFlyout:function(a){return b("CSS").hasClass(a,"fbNubFlyout")?a:b("DOM").scry(a,"div.fbNubFlyout")[0]||null},registerNubController:function(a,c){b("DataStore").set(a,"dock:nub:controller",c),c.subscribe("nub/button/content-changed",b("shield")(this.inform,this,"resize",a)),c.subscribe("nub/flyout/content-changed",b("shield")(this._resizeNubFlyout,this,a))},unregisterNubController:function(a){b("DataStore").remove(a,"dock:nub:controller")},notifyNub:function(a,c,d){a=b("DataStore").get(a,"dock:nub:controller");a&&a.inform(c,d)}});e.exports=a.Dock||c}),null);
__d("ContextualLayerAlignmentEnum",["keyMirror","objectValues","prop-types"],(function(a,b,c,d,e,f,g){"use strict";a=c("keyMirror")({left:null,center:null,right:null});b=c("objectValues")(a);d=c("prop-types").oneOf(b);e=babelHelpers["extends"]({},a,{values:b,propType:d});g["default"]=e}),98);
__d("ContextualLayerPositionEnum",["keyMirror","objectValues","prop-types"],(function(a,b,c,d,e,f,g){"use strict";a=c("keyMirror")({above:null,below:null,left:null,right:null});b=c("objectValues")(a);d=c("prop-types").oneOf(b);e=babelHelpers["extends"]({},a,{values:b,propType:d});g["default"]=e}),98);
__d("NavigationMessage",[],(function(a,b,c,d,e,f){a=Object.freeze({NAVIGATION_BEGIN:"NavigationMessage/navigationBegin",NAVIGATION_SELECT:"NavigationMessage/navigationSelect",NAVIGATION_FIRST_RESPONSE:"NavigationMessage/navigationFirstResponse",NAVIGATION_COMPLETED:"NavigationMessage/navigationCompleted",NAVIGATION_FAILED:"NavigationMessage/navigationFailed",NAVIGATION_COUNT_UPDATE:"NavigationMessage/navigationCount",NAVIGATION_FAVORITE_UPDATE:"NavigationMessage/navigationFavoriteUpdate",NAVIGATION_ITEM_REMOVED:"NavigationMessage/navigationItemRemoved",NAVIGATION_ITEM_HIDDEN:"NavigationMessage/navigationItemHidden",INTERNAL_LOADING_BEGIN:"NavigationMessage/internalLoadingBegin",INTERNAL_LOADING_COMPLETED:"NavigationMessage/internalLoadingCompleted"});f["default"]=a}),66);
__d("SimpleDrag",["ArbiterMixin","Event","SubscriptionsHandler","UserAgent_DEPRECATED","Vector","emptyFunction"],(function(a,b,c,d,e,f){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){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){if(!c){var d=b("Vector").getEventPosition(a);if(e.distanceTo(d)<this.minDragDistance)return;c=!0;if(this.inform("start",a)===!1){c=!1;return}}this.inform("update",a)}.bind(this),mouseup:function(a){for(var b in g)g[b].remove();c?this.inform("end",a):this.inform("click",a)}.bind(this)});d&&a.prevent()}});e.exports=a}),null);
__d("XIntlAccountSetLocaleAsyncController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/intl/ajax/save_locale/",{loc:{type:"String"},href:{type:"String"},index:{type:"Int"},ref:{type:"String"},ls_ref:{type:"Enum",defaultValue:"unknown",enumType:1},should_redirect:{type:"Bool",defaultValue:!0}})}),null);
__d("XIntlSaveXModeAsyncController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/ajax/intl/save_xmode/",{})}),null);
__d("IntlUtils",["invariant","AsyncRequest","Cookie","LoggedOutSwitchingLocaleTypedLogger","ReloadPage","XIntlAccountSetLocaleAsyncController","XIntlSaveXModeAsyncController","goURI"],(function(a,b,c,d,e,f,g,h){var i=c("XIntlSaveXModeAsyncController").getURIBuilder().getURI();function a(a){new(c("AsyncRequest"))().setURI(i).setData({xmode:a}).setHandler(function(){d("ReloadPage").now()}).send()}function b(a){return a.replace(new RegExp("\xa0","g")," ")}function e(a){return a.replace(new RegExp(" ","g"),"\xa0")}function f(a){new(c("AsyncRequest"))().setURI(i).setData({amode:a,app:!1}).setHandler(function(){d("ReloadPage").now()}).send()}function j(a){new(c("AsyncRequest"))().setURI(i).setData({rmode:a}).setHandler(function(){d("ReloadPage").now()}).send()}function k(a){new(c("AsyncRequest"))().setURI(i).setData({string_manager_mode:a}).setHandler(function(){d("ReloadPage").now()}).send()}function l(a,b,e,f){f=e;f||(a!=null||h(0,19476),f=a.options[a.selectedIndex].value);e=c("XIntlAccountSetLocaleAsyncController").getURIBuilder().getURI();new(c("AsyncRequest"))().setURI(e).setData({loc:f,ref:b,should_redirect:!1}).setHandler(function(a){d("ReloadPage").now()}).send()}function m(a){var b="lh",d=c("Cookie").get(b),e=[],f=5;if(d!==null&&d!==void 0&&d!=""){e=d.split(",");e.push(a);for(var d=0;d<e.length-1;d++)e[d]==e[d+1]&&e.splice(d,1);e.length>=f&&e.slice(1,f)}else e.push(a);c("Cookie").set(b,e.toString())}function n(a,b,d,e,f){e===void 0&&(e="unknown"),f===void 0&&(f=null),c("Cookie").setWithoutCheckingUserConsent_DANGEROUS("locale",a),this.appendCookieLocaleHistory(a),new(c("LoggedOutSwitchingLocaleTypedLogger"))().setNewLocale(a).setOldLocale(b).setIndex(f).setReferrer(e).log(),c("goURI")(d)}g.setXmode=a;g.encodeSpecialCharsForXController=b;g.decodeSpecialCharsFromXController=e;g.setAmode=f;g.setRmode=j;g.setSmode=k;g.setLocale=l;g.appendCookieLocaleHistory=m;g.setCookieLocale=n}),98);
__d("XBasicFBNuxDismissController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/ajax/megaphone/dismiss_fbnux/",{nux_id:{type:"Int",required:!0}})}),null);
__d("XBasicFBNuxViewController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/ajax/megaphone/view_fbnux/",{nux_id:{type:"Int",required:!0}})}),null);
__d("BasicFBNux",["AsyncRequest","XBasicFBNuxDismissController","XBasicFBNuxViewController"],(function(a,b,c,d,e,f,g){function a(a,b){a.subscribe("hide",h.bind(this,b))}function b(a){a=c("XBasicFBNuxViewController").getURIBuilder().setInt("nux_id",a).getURI();new(c("AsyncRequest"))().setURI(a).send()}function h(a){a=c("XBasicFBNuxDismissController").getURIBuilder().setInt("nux_id",a).getURI();new(c("AsyncRequest"))().setURI(a).send()}g.subscribeHide=a;g.onView=b;g.onDismiss=h}),98);
__d("ARIA",["DOM","emptyFunction","ge","getOrCreateDOMID","joinClasses"],(function(a,b,c,d,e,f,g){var h,i,j=function(){h=c("ge")("ariaAssertiveAlert"),h||(h=c("DOM").create("div",{id:"ariaAssertiveAlert",className:c("joinClasses")("accessible_elem","accessible_elem_offset"),"aria-live":"assertive"}),c("DOM").appendContent(document.body,h)),i=c("ge")("ariaPoliteAlert"),i||(i=h.cloneNode(!1),i.setAttribute("id","ariaPoliteAlert"),i.setAttribute("aria-live","polite"),c("DOM").appendContent(document.body,i)),j=c("emptyFunction")};function k(a,b){j();b=b?h:i;c("DOM").setContent(b,a)}function a(a){for(var b=arguments.length,d=new Array(b>1?b-1:0),e=1;e<b;e++)d[e-1]=arguments[e];var f=d.map(function(a){return c("getOrCreateDOMID")(a)}).join(" ");a.setAttribute("aria-controls",f)}function b(a){for(var b=arguments.length,d=new Array(b>1?b-1:0),e=1;e<b;e++)d[e-1]=arguments[e];var f=d.map(function(a){return c("getOrCreateDOMID")(a)}).join(" ");a.setAttribute("aria-describedby",f)}function d(a,b){a.setAttribute("aria-owns",c("getOrCreateDOMID")(b))}function e(a,b){b=c("getOrCreateDOMID")(b);a.setAttribute("aria-controls",b);a.setAttribute("aria-haspopup","true");b=a.getAttribute("role")||"";b&&a.setAttribute("role",b)}function f(a){k(a,!0)}function l(a){k(a,!1)}g.controls=a;g.describedBy=b;g.owns=d;g.setPopup=e;g.announce=f;g.notify=l}),98);
__d("DOMControl",["$","DataStore"],(function(a,b,c,d,e,f){a=function(){"use strict";function a(a){this.root=b("$").fromIDOrElement(a),this.updating=!1,b("DataStore").set(a,"DOMControl",this)}var c=a.prototype;c.getRoot=function(){return this.root};c.beginUpdate=function(){if(this.updating)return!1;this.updating=!0;return!0};c.endUpdate=function(){this.updating=!1};c.update=function(a){if(!this.beginUpdate())return this;this.onupdate(a);this.endUpdate()};c.onupdate=function(a){};a.getInstance=function(a){return b("DataStore").get(a,"DOMControl")};return a}();e.exports=a}),null);
__d("DOMScroll",["Arbiter","DOM","DOMQuery","Vector","ViewportBounds","emptyFunction","ge","gkx","isAsyncScrollQuery","nullthrows","requireDeferred"],(function(a,b,c,d,e,f){var g=b("requireDeferred")("Animation").__setRef("DOMScroll"),h=b("gkx")("1243461"),i={SCROLL:"dom-scroll",_scrolling:!1,_scrollingFinishedTimeout:null,getScrollState:function(){var a=b("Vector").getViewportDimensions(),c=b("Vector").getDocumentDimensions(),d=c.x>a.x;c=c.y>a.y;d+=0;c+=0;return new(b("Vector"))(d,c)},_scrollbarSize:null,_initScrollbarSize:function(){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);i._scrollbarSize=d-a},getScrollbarSize:function(){i._scrollbarSize===null&&i._initScrollbarSize();return b("nullthrows")(i._scrollbarSize)},scrollTo:function(a,c,d,e,f,j){var k,l=0;c==null||c===!0?l=750:typeof c==="number"?l=c:parseInt(c,10)&&(l=parseInt(c,10));b("isAsyncScrollQuery")()&&(l=0);if(a instanceof b("Vector"))c=a;else{var m=b("Vector").getScrollPosition().x;a=b("Vector").getElementPosition(b("ge")(a)).y;c=new(b("Vector"))(m,a,"document");e||(c.y-=b("ViewportBounds").getTop()/(d?2:1))}d?c.y-=b("Vector").getViewportDimensions().y/2:e&&(c.y-=b("Vector").getViewportDimensions().y,c.y+=e);f&&(c.y-=f);c=c.convertTo("document");if(l)if("scrollBehavior"in b("nullthrows")(document.documentElement).style&&l===750&&!j)try{window.scrollTo({left:c.x,top:c.y,behavior:h?"auto":"smooth"})}catch(a){window.scrollTo(c.x,c.y)}else{m=g.getModuleIfRequired();if(m!=null){i._setScrollingForDuration(l);var n=new m(b("nullthrows")(document.body)).to("scrollTop",c.y).to("scrollLeft",c.x).ease(m.ease.end).duration(l).ondone(j).go();k=function(){n.stop()}}else window.scrollTo(c.x,c.y),j&&j()}else window.scrollTo(c.x,c.y),j&&j();b("Arbiter").inform(i.SCROLL);return k||b("emptyFunction")},scrollToID:function(a){i.scrollTo(a)},ensureVisible:function(a,c,d,e,f){var g=b("Vector").getScrollPosition().x;a=i._getBounds(a,c,d);c=a[0];d=a[1];var h=a[2];a=a[3];h<c?i.scrollTo(new(b("Vector"))(g,h,"document"),e,!1,0,0,f):a>d?h-(a-d)<c?i.scrollTo(new(b("Vector"))(g,h,"document"),e,!1,0,0,f):i.scrollTo(new(b("Vector"))(g,a,"document"),e,!1,1,0,f):f&&f()},isCurrentlyVisible:function(a,b,c){a=i._getBounds(a,b,c);b=a[0];c=a[1];var d=a[2];a=a[3];return d>=b&&a<=c},_getBounds:function(a,c,d){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();i.scrollTo(new(b("Vector"))(c.x,0,"document"),a!==!1)},currentlyScrolling:function(){return i._scrolling},_setScrollingForDuration:function(a){i._scrolling=!0,i._scrollingFinishedTimeout&&(clearTimeout(i._scrollingFinishedTimeout),i._scrollingFinishedTimeout=null),i._scrollingFinishedTimeout=setTimeout(function(){i._scrolling=!1,i._scrollingFinishedTimeout=null},a)}};e.exports=i}),null);
__d("Input",["CSS","DOMControl","DOMQuery"],(function(a,b,c,d,e,f,g){function h(a){return!/\S/.test(a||"")}function i(a){return h(a.value)}function a(a){return i(a)?"":a.value}function b(a){return a.value}function e(a,b){a.value=b||"";b=c("DOMControl").getInstance(a);b&&b.resetHeight&&b.resetHeight()}function f(a,b){b||(b=""),a.setAttribute("aria-label",b),a.setAttribute("placeholder",b)}function j(a){a.value="",a.style.height=""}function k(a,b){d("CSS").conditionClass(a,"enter_submit",b)}function l(a){return d("CSS").hasClass(a,"enter_submit")}function m(a,b){b>0?a.setAttribute("maxlength",b.toString()):a.removeAttribute("maxlength")}g.isWhiteSpaceOnly=h;g.isEmpty=i;g.getValue=a;g.getValueRaw=b;g.setValue=e;g.setPlaceholder=f;g.reset=j;g.setSubmitOnEnter=k;g.getSubmitOnEnter=l;g.setMaxLength=m}),98);
__d("Form",["DOM","DOMQuery","DTSG","DTSGUtils","DataStore","Input","LSD","PHPQuerySerializer","Random","SprinkleConfig","URI","getElementPosition","isFacebookURI","isNode"],(function(a,b,c,d,e,f){var g,h,i="FileList"in window,j="FormData"in window;function k(a){var c={};(g||(g=b("PHPQuerySerializer"))).serialize(a).split("&").forEach(function(a){if(a){a=/^([^=]*)(?:=(.*))?$/.exec(a);var d=(h||(h=b("URI"))).decodeComponent(a[1]),e=a[2]!==void 0;e=e?(h||(h=b("URI"))).decodeComponent(a[2]):null;c[d]=e}});return c}var l={getInputs:function(a){a===void 0&&(a=document);return[].concat(b("DOMQuery").scry(a,"input"),b("DOMQuery").scry(a,"select"),b("DOMQuery").scry(a,"textarea"),b("DOMQuery").scry(a,"button"))},getInputsByName:function(a){var b={};l.getInputs(a).forEach(function(a){var c=b[a.name];b[a.name]=typeof c==="undefined"?a:[a].concat(c)});return b},getSelectValue:function(a){return a.options[a.selectedIndex].value},setSelectValue:function(a,b){for(var c=0;c<a.options.length;++c)if(a.options[c].value==b){a.selectedIndex=c;break}},getRadioValue:function(a){for(var b=0;b<a.length;b++)if(a[b].checked)return a[b].value;return null},getElements:function(a){return a.tagName=="FORM"&&a.elements!=a?Array.from(a.elements):l.getInputs(a)},getAttribute:function(a,b){return(a.getAttributeNode(b)||{}).value||null},setDisabled:function(a,c){l.getElements(a).forEach(function(a){if(a.disabled!==void 0){var d=b("DataStore").get(a,"origDisabledState");c?(d===void 0&&b("DataStore").set(a,"origDisabledState",a.disabled),a.disabled=c):d===!1&&(a.disabled=!1)}})},forEachValue:function(a,c,d){l.getElements(a).forEach(function(a){if(!a.name||a.disabled)return;if(a.type==="submit")return;if(a.type==="reset"||a.type==="button"||a.type==="image")return;if((a.type==="radio"||a.type==="checkbox")&&!a.checked)return;if(a.nodeName==="SELECT"){for(var c=0,e=a.options.length;c<e;c++){var f=a.options[c];f.selected&&d("select",a.name,f.value)}return}if(a.type==="file"){if(i){f=a.files;for(var c=0;c<f.length;c++)d("file",a.name,f.item(c))}return}d(a.type,a.name,b("Input").getValue(a))}),c&&c.name&&c.type==="submit"&&b("DOMQuery").contains(a,c)&&b("DOMQuery").isNodeOfType(c,["input","button"])&&d("submit",c.name,c.value)},createFormData:function(a,c){if(!j)return null;var d=new FormData();if(a)if(b("isNode")(a))l.forEachValue(a,c,function(b,a,c){d.append(a,c)});else{c=k(a);for(var e in c)c[e]==null?d.append(e,""):d.append(e,c[e])}return d},serialize:function(a,b){var c={};l.forEachValue(a,b,function(a,b,d){if(a==="file")return;l._serializeHelper(c,b,d)});return l._serializeFix(c)},_serializeHelper:function(a,b,c){var d=Object.prototype.hasOwnProperty,e=/([^\]]+)\[([^\]]*)\](.*)/.exec(b);if(e){if(!a[e[1]]||!d.call(a,e[1])){a[e[1]]=d={};if(a[e[1]]!==d)return}d=0;if(e[2]==="")while(a[e[1]][d]!==void 0)d++;else d=e[2];e[3]===""?a[e[1]][d]=c:l._serializeHelper(a[e[1]],d.concat(e[3]),c)}else a[b]=c},_serializeFix:function(a){for(var b in a)a[b]instanceof Object&&(a[b]=l._serializeFix(a[b]));var c=Object.keys(a);if(c.length===0||c.some(isNaN))return a;c.sort(function(a,b){return a-b});var d=0,e=c.every(function(a){return+a===d++});return e?c.map(function(b){return a[b]}):a},post:function(a,c,d,e){e===void 0&&(e=!0);a=new(h||(h=b("URI")))(a);var f=document.createElement("form");f.action=a.toString();f.method="POST";f.style.display="none";var g=!b("isFacebookURI")(a);if(d){if(g){f.rel="noopener";if(d==="_blank"){d=btoa(b("Random").uint32());var i=window.open("about:blank",d);i===void 0||(i.opener=null)}}f.target=d}if(e&&(!g&&a.getSubdomain()!=="apps")){i=b("DTSG").getToken();i&&(c.fb_dtsg=i,b("SprinkleConfig").param_name&&(c[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(i)));b("LSD").token&&(c.lsd=b("LSD").token,b("SprinkleConfig").param_name&&!i&&(c[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(b("LSD").token)))}l.createHiddenInputs(c,f);b("DOMQuery").getRootElement().appendChild(f);f.submit();return!1},createHiddenInputs:function(a,c,d,e){e===void 0&&(e=!1);d=d||{};a=k(a);for(var f in a){if(a[f]===null)continue;if(d[f]&&e)d[f].value=a[f];else{var g=b("DOM").create("input",{type:"hidden",name:f,value:a[f]});d[f]=g;c.appendChild(g)}}return d},getFirstElement:function(a,c){c===void 0&&(c=['input[type="text"]',"textarea",'input[type="password"]','input[type="button"]','input[type="submit"]']);var d=[];for(var e=0;e<c.length;e++){d=b("DOMQuery").scry(a,c[e]);for(var f=0;f<d.length;f++){var g=d[f];try{var h=b("getElementPosition")(g);if(h.y>0&&h.x>0)return g}catch(a){}}}return null},focusFirst:function(a){a=l.getFirstElement(a);if(a){a.focus();return!0}return!1}};e.exports=l}),null);
__d("KeyboardShortcutToken",["KeyEventController"],(function(a,b,c,d,e,f,g){a=function(){function a(a,b,c){this.$1=!0,this.key=a,this.handler=b,this.filter=c.filter,this.persistOnTransition=c.persistOnTransition,this.shortcutInfo=c.shortcutInfo,this.register()}var b=a.prototype;b.register=function(){var a=this;if(!this.$1)return;this.token=c("KeyEventController").registerKey(this.key,this.handler,this.filter,!1,function(){return a.persistOnTransition})};b.remove=function(){this.token.remove(),this.$1=!1};b.unregister=function(){this.token.remove()};b.isActive=function(){return this.$1};b.getKey=function(){return this.key};b.getShortcutInfo=function(){return this.shortcutInfo};return a}();g["default"]=a}),98);
__d("PageTransitions",["cr:917439"],(function(a,b,c,d,e,f,g){g["default"]=b("cr:917439")}),98);
__d("translateKey",["fbt","invariant"],(function(a,b,c,d,e,f,g,h,i){var j={alt:h._("Alt"),enter:h._("Enter"),"delete":h._("Delete"),shift:h._("Shift"),opt:h._("\u30aa\u30d7\u30b7\u30e7\u30f3"),ctrl:h._("Ctrl"),cmd:h._("Command"),esc:h._("Esc"),tab:h._("Tab"),up:h._("\u4e0a"),down:h._("\u4e0b"),right:h._("\u53f3"),left:h._("\u5de6"),page_up:h._("Page Up"),page_down:h._("Page Down"),home:h._("Home"),end:h._("End")};function a(a){if(Object.prototype.hasOwnProperty.call(j,a))return j[a];a.length===1||i(0,2507);return a}g["default"]=a}),98);
__d("KeyboardShortcuts",["csx","cx","fbt","Arbiter","BasicFBNux","CSS","Dock","KeyEventController","KeyboardShortcutToken","Layer","ModalLayer","NavigationMessage","PageTransitions","Run","emptyFunction","translateKey"],(function(a,b,c,d,e,f,g,h,i,j){var k={_arbiter:null,_hasTriggeredShortcut:!1,_flyoutNub:null,_nubNux:null,_nubNuxID:null,_tokenLayers:[],showInfo:c("emptyFunction"),register:function(a,b,d){var e=d?d:{};d=function(a,c){b.call(k,a,c),e.allowDefault||a.prevent(),k._hasTriggeredShortcut||k._handleFirstShortcutTriggered()};var f=e.baseFilters||[c("KeyEventController").defaultFilter],g=function(a,b){for(var c=f,d=Array.isArray(c),g=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var h;if(d){if(g>=c.length)break;h=c[g++]}else{g=c.next();if(g.done)break;h=g.value}h=h;if(!h(a,b))return!1}return!e.filter||e.filter(a,b)};a=new(c("KeyboardShortcutToken"))(a,d,{filter:g,persistOnTransition:e.persistOnTransition,shortcutInfo:e.shortcutInfo});k._tokenLayers.length||k._tokenLayers.push([]);k._tokenLayers[k._tokenLayers.length-1].push(a);k.inform("token_added");return a},init:function(){k._cleanup=k._cleanup.bind(k),d("Run").onLeave(k._cleanup),c("Arbiter").subscribe(c("NavigationMessage").NAVIGATION_BEGIN,k._cleanup),c("Layer").subscribe("show",function(a,b){b.hasBehavior(c("ModalLayer"))&&k.pushLayer()}),c("Layer").subscribe("hide",function(a,b){b.hasBehavior(c("ModalLayer"))&&k.popLayer()}),k.register("SLASH",function(){var a=k._getFlyoutNub();a&&c("Dock").toggle(a)},{filter:function(a,b){return a.getModifiers().shift},persistOnTransition:!0,shortcutInfo:{displayKeys:[c("translateKey")("?")],description:j._("\u3053\u306e\u30d8\u30eb\u30d7\u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u8868\u793a\u3057\u307e\u3059")}})},_cleanup:function(){var a=[];k._tokenLayers.forEach(function(b){var c=[];b.forEach(function(a){a.isActive()&&c.push(a)});c.length&&a.push(c)});k._tokenLayers=a;k.inform("cleanup");c("PageTransitions").registerCompletionCallback(function(){d("Run").onLeave(k._cleanup),c("Arbiter").subscribe(c("NavigationMessage").NAVIGATION_BEGIN,k._cleanup)})},pushLayer:function(){var a=k._getTopLayer();a&&a.forEach(function(a){a.unregister()});k._tokenLayers.push([])},popLayer:function(){if(k._tokenLayers.length===0)return;var a=k._tokenLayers.pop();a.forEach(function(a){a.remove()});a=k._getTopLayer();a&&a.forEach(function(a){a.register()})},_getTopLayer:function(){return!k._tokenLayers.length?null:k._tokenLayers[k._tokenLayers.length-1]},_getBaseLayer:function(){return!k._tokenLayers.length?null:k._tokenLayers[0]},getShortcutInfos:function(){var a=[],b=k._getBaseLayer();b&&b.forEach(function(b){var c=b.getShortcutInfo();b.isActive()&&c!=null&&a.push(c)});return a},_getArbiterInstance:function(){k._arbiter||(k._arbiter=new(c("Arbiter"))());return k._arbiter},inform:function(a,b,c){return k._getArbiterInstance().inform(a,b,c)},subscribe:function(a,b,c){return k._getArbiterInstance().subscribe(a,b,c)},unsubscribe:function(a){k._getArbiterInstance().unsubscribe(a)},_handleFirstShortcutTriggered:function(){k._hasTriggeredShortcut=!0;var a=k._getFlyoutNub();a&&(d("CSS").removeClass(a,"_ur5"),k._nubNux&&k._nubNuxID&&(k._nubNux.show(),d("BasicFBNux").onView(k._nubNuxID),k._nubNux.subscribe("hide",d("BasicFBNux").onDismiss.bind(k,k._nubNuxID))))},_getFlyoutNub:function(){k._flyoutNub||(k._flyoutNub=document.querySelector("#pagelet_dock ._rz3"));return k._flyoutNub},showShortcutFlyout:function(){k._hasTriggeredShortcut||k._handleFirstShortcutTriggered();var a=k._getFlyoutNub();a&&c("Dock").show(a)},hasFlyoutToShow:function(){return k._getFlyoutNub()!=null&&k.getShortcutInfos().length>0},initNUXEvent:function(a,b){k._nubNux=a,k._nubNuxID=b}};k.init();a=k;g["default"]=a}),98);
__d("LinkController",["DataStore","Event","Parent","removeFromArray","trackReferrer"],(function(a,b,c,d,e,f,g){var h="@@LinkController",i=[],j=[];function a(a){i.push(a);return{remove:function(){return c("removeFromArray")(i,a)}}}function b(a){j.push(a);return{remove:function(){return c("removeFromArray")(j,a)}}}function e(a){a=a.getTarget();var b=d("Parent").byTag(a,"a");if(!(b instanceof HTMLAnchorElement))return;var e=l(b);if(!e||n(a)||d("DataStore").get(b,h)||e.endsWith("#"))return;a=c("Event").listen(b,"click",function(a){c("trackReferrer")(b,e),!b.rel&&(!b.target||b.target==="_self")&&!m(a)&&k(b,a)});d("DataStore").set(b,h,a)}function k(a,b){i.concat(j).every(function(c){if(c(a,b)===!1){b.prevent();return!1}return!0})}function l(a){if(a&&!a.rel){a=a.getAttribute("href");if(a){var b=a.match(/^(\w+):/);if(!b||b[1].match(/^http/i))return a}}return null}function m(a){return a.getModifiers().any||a.which&&a.which!==1}function n(a){return a.nodeName==="INPUT"&&a.type==="file"}c("Event").listen(document.documentElement,"mousedown",e,c("Event").Priority.URGENT);c("Event").listen(document.documentElement,"keydown",e,c("Event").Priority.URGENT);g.registerHandler=a;g.registerFallbackHandler=b}),98);
__d("PageHooks",["Arbiter","ErrorUtils","InitialJSLoader","PageEvents"],(function(a,b,c,d,e,f){var g;f={DOMREADY_HOOK:"domreadyhooks",ONLOAD_HOOK:"onloadhooks"};function h(){var c=a.CavalryLogger;!window.domready&&c&&c.getInstance().setTimeStamp("t_prehooks");k(l.DOMREADY_HOOK);!window.domready&&c&&c.getInstance().setTimeStamp("t_hooks");window.domready=!0;b("Arbiter").inform("uipage_onload",!0,"state")}function i(){k(l.ONLOAD_HOOK),window.loaded=!0}function j(a,c){return(g||(g=b("ErrorUtils"))).applyWithGuard(a,null,null,function(a){a.event_type=c,a.category="runhook"},"PageHooks:"+c)}function k(a){var b=a=="onbeforeleavehooks"||a=="onbeforeunloadhooks";do{var c=window[a];if(!c)break;b||(window[a]=null);for(var d=0;d<c.length;d++){var e=j(c[d],a);if(b&&e)return e}}while(!b&&window[a])}function c(){window.domready||(window.domready=!0,k("onloadhooks")),window.loaded||(window.loaded=!0,k("onafterloadhooks"))}function d(){var a,c;(a=b("Arbiter")).registerCallback(h,[(c=b("PageEvents")).BIGPIPE_DOMREADY,b("InitialJSLoader").INITIAL_JS_READY]);a.registerCallback(i,[c.BIGPIPE_DOMREADY,c.BIGPIPE_ONLOAD,b("InitialJSLoader").INITIAL_JS_READY]);a.subscribe(c.NATIVE_ONBEFOREUNLOAD,function(a,b){b.warn=k("onbeforeleavehooks")||k("onbeforeunloadhooks"),b.warn||(window.domready=!1,window.loaded=!1)},"new");a.subscribe(c.NATIVE_ONUNLOAD,function(a,b){k("onunloadhooks"),k("onafterunloadhooks")},"new")}var l=babelHelpers["extends"]({_domreadyHook:h,_onloadHook:i,runHook:j,runHooks:k,keepWindowSetAsLoaded:c},f);d();a.PageHooks=e.exports=l}),null);
__d("PageTransitionPriorities",[],(function(a,b,c,d,e,f){a=5;b=a+1;c=b+1;f.DEFAULT=a;f.LEFT_NAV=b;f.SOCIAL_SEARCH_DIALOG=c}),66);
__d("computeRelativeURI",["URI","isEmpty","isFacebookURI"],(function(a,b,c,d,e,f,g){function h(a,b){if(!b)return a;if(b.charAt(0)=="/")return b;var c=a.split("/").slice(0,-1);c[0]!=="";b.split("/").forEach(function(a){a==="."||(a===".."?c.length>1&&(c=c.slice(0,-1)):c.push(a))});return c.join("/")}function a(a,b){var d=new(c("URI"))(),e=new(c("URI"))(a),f=new(c("URI"))(b);if(f.getDomain()&&!c("isFacebookURI")(f))return b;var g=e;a=["Protocol","Domain","Port","Path","QueryData","Fragment"];a.forEach(function(a){var b=a==="Path"&&g===e;b&&d.setPath(h(e.getPath(),f.getPath()));c("isEmpty")(f["get"+a]())||(g=f);b||d["set"+a](g["get"+a]())});return d}g["default"]=a}),98);
__d("PageTransitionsRegistrar",["invariant","DOMQuery","Form","LinkController","PageTransitionPriorities","Parent","URI","computeRelativeURI","getReferrerURI","goURI","requireDeferred","setTimeout","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g,h){var i=c("requireDeferred")("PageTransitions").__setRef("PageTransitionsRegistrar");c("setTimeout")(function(){i.onReady(function(a){a&&a._init&&a._init()})},0);var j=[],k=[];e={DELAY_HISTORY:"delay_history_PTR",registerHandler:function(a,b){a!=null||h(0,5202),b=b||d("PageTransitionPriorities").DEFAULT,j[b]||(j[b]=[]),j[b].push(a)},removeHandler:function(a,b){b=b||d("PageTransitionPriorities").DEFAULT;var c=-1;j[b]&&(c=j[b].indexOf(a));c>-1&&j[b].splice(c,1)},registerCompletionCallback:function(a){k.push(a)},getMostRecentURI:n,getReferrerURI:c("getReferrerURI"),_getTransitionHandlers:function(){return j},_getCompletionCallbacks:function(){return k},_resetCompletionCallbacks:function(){k=[]},__onClick:e,__onSubmit:f};var l=null;function b(a){l=a,c("setTimeoutAcrossTransitions")(function(){l=null},0)}function e(a){if(l){if(!a.isDefaultPrevented()){m(l);var b=l.getAttribute("href");b&&c("goURI")(b)}a.kill()}}function m(a){var b=a.getAttribute("href")||"",d=c("computeRelativeURI")(n().getQualifiedURI().toString(),b).toString();b!=d&&a.setAttribute("href",d)}function f(a,b){b=b;var e=a.getTarget();if(d("Form").getAttribute(e,"rel")||d("Form").getAttribute(e,"target"))return;var f=new(c("URI"))(d("Form").getAttribute(e,"action"));f=c("computeRelativeURI")(n().toString(),f.toString());e.setAttribute("action",f.toString());if((d("Form").getAttribute(e,"method")||"GET").toUpperCase()=="GET"){e=d("Form").serialize(e);b&&(d("DOMQuery").isNodeOfType(b,"input")&&b.type==="submit"||(b=d("Parent").byTag(b,"button")))&&b.name&&(e[b.name]=b.value);typeof f==="string"&&(f=new(c("URI"))(f));c("goURI")(f.addQueryData(e));a.kill()}}d("LinkController").registerFallbackHandler(b);function n(){if(a.PageTransitions&&a.PageTransitions.isInitialized())return a.PageTransitions.getMostRecentURI();else{var b=c("URI").getRequestURI(!1);b=b.getUnqualifiedURI();var d=new(c("URI"))(b).setFragment(""),e=b.getFragment();e.charAt(0)==="!"&&d.toString()===e.substr(1)&&(b=d);return b}}f=e;g["default"]=f}),98);
__d("LayerHideOnEscape",["Event","Keys","LayerHideSources"],(function(a,b,c,d,e,f,g){a=function(){function a(a){this._layer=a}var b=a.prototype;b.enable=function(){this._subscription=this._layer.subscribe("key",this.handle.bind(this))};b.disable=function(){this._subscription!=null&&this._subscription.unsubscribe(),this._subscription=null};b.handle=function(a,b){if(c("Event").getKeyCode(b)===c("Keys").ESC){this._layer.hide(c("LayerHideSources").ESCAPE);return!1}return void 0};return a}();Object.assign(a.prototype,{_subscription:null});g["default"]=a}),98);
__d("ParameterizedPopover",["invariant","ArbiterMixin","CSS","DataStore","Event","Focus","KeyStatus","Keys","LayerHideOnEscape","SubscriptionsHandler","Toggler","curry","mixin"],(function(a,b,c,d,e,f,g){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";babelHelpers.inheritsLoose(c,a);function c(c,d,e,f){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==null||d.rel.indexOf("toggle")<0)&&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){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("SVGChecker",[],(function(a,b,c,d,e,f){e.exports={isSVG:function(a){return!!a.ownerSVGElement||a.tagName.toLowerCase()==="svg"},isDisplayed:function(a){try{a=a.getBBox();if(a&&(a.height===0||a.width===0))return!1}catch(a){return!1}return!0}}}),null);
__d("getOffsetParent",["Style"],(function(a,b,c,d,e,f){function g(a){a=a.parentNode;if(!a||a===document.documentElement)return document.documentElement;return b("Style").get(a,"position")!=="static"?a:a===document.body?document.documentElement:g(a)}e.exports=g}),null);
__d("getOverlayZIndex",["Style"],(function(a,b,c,d,e,f,g){function a(a,b){b=b;a=a;b=b||document.body;var d=[];while(a&&a!==b)d.push(a),a=a.parentNode;if(a!==b)return 0;for(var a=d.length-1;a>=0;a--){b=d[a];if(c("Style").get(b,"position")!="static"){b=parseInt(c("Style").get(b,"z-index"),10);if(!isNaN(b))return b}}return 0}g["default"]=a}),98);
__d("ContextualLayer",["invariant","ARIA","Arbiter","Bootloader","CSS","ContextualLayerAlignmentEnum","ContextualLayerPositionEnum","ContextualThing","DOM","DataStore","Event","Layer","Locale","Parent","Rect","SVGChecker","Scroll","Style","Vector","containsNode","cr:971473","emptyFunction","getOffsetParent","getOrCreateDOMID","getOverlayZIndex","getOwnObjectValues","gkx","isElementNode","killswitch","removeFromArray","throttle"],(function(a,b,c,d,e,f,g){function h(a){return a.getPosition()==="left"||a.isVertical()&&a.getAlignment()==="right"}a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d._configure=function(b,c){b.dialogRole!=="dialog"&&(this._dialogRole=b.dialogRole),b.shouldSetARIAProperties===!1&&(this._shouldSetARIAProperties=b.shouldSetARIAProperties),b.label&&(this._label=b.label),b.labelledBy&&(this._labelledBy=b.labelledBy),a.prototype._configure.call(this,b,c),b.context?this.setContext(b.context):b.contextID?this._setContextID(b.contextID):b.contextSelector&&(this._setContextSelector(b.contextSelector),this._setARIAProperties()),this.setPosition(b.position),this.setAlignment(b.alignment),this.setOffsetX(b.offsetX),this.setOffsetY(b.offsetY),this.setArrowDimensions(b.arrowDimensions),this._content=c};d._getDefaultBehaviors=function(){var d=c.getDefaultBehaviorsAsObject();return a.prototype._getDefaultBehaviors.call(this).concat(b("getOwnObjectValues")(d))};d._buildWrapper=function(a,c){this._contentWrapper=b("DOM").create("div",{className:"uiContextualLayer"},c);this._dialogRole&&this._contentWrapper.setAttribute("role",this._dialogRole);this._labelledBy?this._contentWrapper.setAttribute("aria-labelledby",this._labelledBy):this._label&&this._contentWrapper.setAttribute("aria-label",this._label);this._dialogRole==="alert"&&this._contentWrapper.setAttribute("aria-atomic","true");return b("DOM").create("div",{className:"uiContextualLayerPositioner","data-testid":a["data-testid"]},this._contentWrapper)};d.getInsertParent=function(){var c=this._insertParent;if(!c){var d=this.getContext();d&&(c=b("Parent").byClass(d,"uiContextualLayerParent"))}return c||a.prototype.getInsertParent.call(this)};d.setContent=function(a){this._content=a;b("DOM").setContent(this._contentWrapper,this._content);this._shown&&this.updatePosition();return this};d.setContext=function(a){return this.setContextWithBounds(a,null)};d.setContextWithBounds=function(a,c){if(this._contextNode===a&&c&&this._contextBounds&&c.isEqualTo(this._contextBounds))return this;this._contextNode=a;var d=c&&this._contextBounds&&c.t===this._contextBounds.t&&c.r===this._contextBounds.r&&c.b===this._contextBounds.b&&c.l===this._contextBounds.l;if(d)return this;this._contextBounds=c||null;this._contextSelector="#"+b("getOrCreateDOMID")(a);this._contextScrollParent=null;this._shown&&(b("ContextualThing").register(this.getRoot(),this._contextNode),this.updatePosition());this._setParentSubscription();this._setARIAProperties();return this};d.shouldSetARIAProperties=function(a){this._shouldSetARIAProperties=a;return this};d._setARIAProperties=function(){if(!this._shouldSetARIAProperties)return this;this._dialogRole==="dialog"?b("ARIA").setPopup(this.getCausalElement(),this.getRoot()):this._dialogRole==="region"&&b("Bootloader").loadModules(["ContextualLayerInlineTabOrder"],function(a){this.hasBehavior(a)||this.enableBehavior(a)}.bind(this),"ContextualLayer");return this};d._setContextID=function(a){this._contextSelector="#"+a,this._contextNode=null};d._setContextSelector=function(a){this._contextSelector=a,this._contextNode=null};d.getCausalElement=function(){return a.prototype.getCausalElement.call(this)||this.getContext()};d._setParentSubscription=function(){var a=this.getContext(),c=null;while(a!=null){c=b("DataStore").get(a,"layer");if(c&&typeof c==="object")break;a=a.parentNode}if(c===this._parentLayer)return;this._parentLayer&&this._parentSubscription&&(this._parentLayer.unsubscribe(this._parentSubscription),this._parentSubscription=null);c&&(this._parentSubscription=c.subscribe("hide",this.hide.bind(this)));this._parentLayer=c};d.setPosition=function(a){this.getOrientation().setDefaultPosition(a)&&(this._shown&&this.updatePosition());return this};d.setAlignment=function(a){this.getOrientation().setDefaultAlignment(a)&&(this._shown&&this.updatePosition());return this};d.setOffsetX=function(a){this.getOrientation().setDefaultOffsetX(a)&&(this._shown&&this.updatePosition());return this};d.setArrowDimensions=function(a){a&&this.getOrientation().setArrowOffset(a.offset)&&(this._shown&&this.updatePosition());return this};d.setOffsetY=function(a){this.getOrientation().setDefaultOffsetY(a)&&(this._shown&&this.updatePosition());return this};d.getPosition=function(){return this.getOrientation().getPosition()};d.getOrientation=function(){this._orientation||(this._orientation=new l());return this._orientation};d.getContentRoot=function(){return this._contentWrapper};d.getContent=function(){return this._content};d.getContext=function(){this._contextNode||(this._contextSelector!=null||g(0,11711),this._contextNode=b("DOM").find(document,this._contextSelector));return this._contextNode};d.getContextBounds=function(a){if(this._contextBounds)return this._contextBounds.convertTo(a);var c=this.getContext();return b("Rect").newFromVectors(b("Vector").getElementPosition(c,a),b("Vector").getElementDimensions(c))};d.getContextScrollParent=function(){!this._contextScrollParent?this._contextScrollParent=b("Style").getScrollParent(this.getContext()):b("isElementNode")(this._contextScrollParent)&&!b("containsNode")(document.documentElement,this._contextScrollParent)&&(this._contextScrollParent=b("Style").getScrollParent(this.getContext()));return this._contextScrollParent};d.setInsertParent=function(b){this._insertScrollParent=null;return a.prototype.setInsertParent.call(this,b)};d.getInsertScrollParent=function(){this._insertScrollParent||(this._insertScrollParent=b("Style").getScrollParent(this.getInsertParent()));return this._insertScrollParent};d.show=function(){var c=this;if(this._shown)return this;a.prototype.show.call(this);b("Arbiter").inform("contextualLayer/toggle",{show:!0,contentRoot:this.getRoot()});this._shown&&(b("ContextualThing").register(this.getRoot(),this.getContext()),i.push(this),this._resizeListener=this._resizeListener||b("Event").listen(window,"resize",b("throttle")(function(){c._shown&&c.updatePosition()})));return this};d.finishHide=function(){b("removeFromArray")(i,this);this._resizeListener&&this._resizeListener.remove();this._resizeListener=null;this._insertScrollParent=null;b("Arbiter").inform("contextualLayer/toggle",{show:!1,contentRoot:this.getRoot()});return a.prototype.finishHide.call(this)};d.isFixed=function(){return b("Style").isFixed(this.getContext())&&!b("Style").isFixed(this.getInsertParent())};d.updatePosition=function(){var a=this.getContext();if(!a)return!1;var c=this.isFixed();if(!c&&!(a.offsetParent||b("SVGChecker").isSVG(a)&&b("SVGChecker").isDisplayed(a)))return!1;var d=this.getRoot(),e=!b("killswitch")("CONTEXTUAL_POSITIONING_MOBILE_FIX"),f=e?b("Vector").getLayoutViewportDimensions().x:b("Vector").getViewportDimensions().x;b("Style").set(d,"width",f+"px");var g=this.getOrientation();this.inform("adjust",g.reset());if(!g.isValid())return!1;this._updateWrapperPosition(g);this._updateWrapperClass(g);b("CSS").conditionClass(d,"uiContextualLayerPositionerFixed",c);var i=c?"viewport":"document",j=c?document.documentElement:b("getOffsetParent")(d);if(c&&e)c=new(b("Vector"))(0,0),e=f;else if(j===document.documentElement)c=new(b("Vector"))(0,0),e=document.documentElement.clientWidth;else if(!d.offsetParent)return!1;else c=b("Vector").getElementPosition(j,i),e=j.offsetWidth,j!==document.body&&(c=c.sub(new(b("Vector"))(b("Scroll").getLeft(j),b("Scroll").getTop(j))));f=this.getContextBounds(i);j=f.l-c.x;i=f.t-c.y;c=f.h();f=f.w();var k=b("Locale").isRTL();g.getPosition()==="below"&&(i+=c);(g.getPosition()==="right"||g.isVertical()&&g.getAlignment()==="right")!=k&&(j+=f);c=g.getOffsetX();g.isVertical()&&g.getAlignment()==="center"&&(c+=(f-this.getContentRoot().offsetWidth)/2);k&&(c*=-1);f="left";j=Math.floor(j+c);h(g)!==k&&(f="right",j=e-j);b("Style").set(d,f,j+"px");b("Style").set(d,f==="left"?"right":"left","");c=this.getInsertScrollParent();k=0;c!==window?(e=c.clientWidth,k=b("Vector").getElementPosition(c).x):e=document.documentElement.clientWidth;j=b("Vector").getElementPosition(d).x-k;c=0;k=window.devicePixelRatio!==Math.round(window.devicePixelRatio);c=k?1:0;b("gkx")("1908135")&&(c=1);f==="left"&&e-j>0?b("Style").set(d,"width",e-j-c+"px"):f==="right"&&j+d.offsetWidth>0?b("Style").set(d,"width",j+d.offsetWidth-c+"px"):b("Style").set(d,"width","");b("Style").set(d,"top",i+g.getOffsetY()+"px");k=b("getOverlayZIndex")(a,this.getInsertParent());b("Style").set(d,"z-index",k>200?k:"");this.inform("reposition",g);return!0};d._updateWrapperPosition=function(a){var c=a.getPosition()==="above";b("Style").set(this._contentWrapper,"bottom",c?"0":null);c=b("Locale").isRTL()?"left":"right";a=h(a);b("Style").set(this._contentWrapper,c,a?"0":null)};d._updateWrapperClass=function(a){a=a.getClassName();if(a===this._orientationClass)return;this._orientationClass&&b("CSS").removeClass(this._contentWrapper,this._orientationClass);this._orientationClass=a;b("CSS").addClass(this._contentWrapper,a)};d.simulateOrientation=function(a,c){a=a.getClassName();if(a===this._orientationClass)return c();else{this._orientationClass&&b("CSS").removeClass(this._contentWrapper,this._orientationClass);b("CSS").addClass(this._contentWrapper,a);c=c();b("CSS").removeClass(this._contentWrapper,a);this._orientationClass&&b("CSS").addClass(this._contentWrapper,this._orientationClass);return c}};d.destroy=function(){a.prototype.destroy.call(this);this._contentWrapper=null;this._content=null;return this};d.getArrowDimensions=function(){return this._config.arrowDimensions||{offset:0,length:0}};c.getDefaultBehaviorsAsObject=function(){return b("cr:971473")==null?{}:{LayerHideOnTransition:b("cr:971473")}};return c}(b("Layer"));var i=[];b("Arbiter").subscribe("reflow",function(){i.forEach(function(a){a.updatePosition()===!1&&a.hide()})});Object.assign(a.prototype,{_contentWrapper:null,_content:null,_contextNode:null,_contextBounds:null,_contextSelector:null,_dialogRole:"dialog",_label:null,_labelledBy:[],_parentLayer:null,_parentSubscription:null,_orientation:null,_orientationClass:null,_shouldSetARIAProperties:!0});var j=b("emptyFunction").thatReturnsArgument,k=b("emptyFunction").thatReturnsArgument,l=function(){"use strict";function a(){this._default={_position:"above",_alignment:"left",_offsetX:0,_offsetY:0,_valid:!0,_preferMoreContentShownRect:!1},this.reset()}var b=a.prototype;b.setPosition=function(a){this._position=j(a);return this};b.setAlignment=function(a){this._alignment=k(a);return this};b.getOppositePosition=function(){return a.OPPOSITE[this.getPosition()]};b.invalidate=function(){this._valid=!1;return this};b.getPosition=function(){return this._position||"above"};b.getAlignment=function(){return this._alignment||"left"};b.getOffsetX=function(){var a=this._offsetX||0;!this.isVertical()?this._default._position!==this._position&&(a*=-1):this._default._alignment!==this._alignment&&(a*=-1);return a};b.getOffsetY=function(){var a=this._offsetY||0;this.isVertical()&&this._default._position!==this._position&&(a*=-1);return a};b.getClassName=function(){var a=this.getAlignment(),b=this.getPosition();if(b==="below")if(a==="left")return"uiContextualLayerBelowLeft";else if(a==="right")return"uiContextualLayerBelowRight";else return"uiContextualLayerBelowCenter";else if(b==="above")if(a==="left")return"uiContextualLayerAboveLeft";else if(a==="right")return"uiContextualLayerAboveRight";else return"uiContextualLayerAboveCenter";else if(b==="left")return"uiContextualLayerLeft";else return"uiContextualLayerRight"};b.isValid=function(){return this._valid};b.isVertical=function(){return this.getPosition()==="above"||this.getPosition()==="below"};b.reset=function(){Object.assign(this,this._default);return this};b.setDefaultPosition=function(a){var b=this._default._position;this._default._position=j(a);return b!==a};b.setDefaultAlignment=function(a){var b=this._default._alignment;this._default._alignment=k(a);return b!==a};b.setDefaultOffsetX=function(a){var b=this._default._offsetX;this._default._offsetX=a;return b!==a};b.setArrowOffset=function(a){var b=this._default._arrowOffset;this._default._arrowOffset=a;return b!==a};b.getArrowOffset=function(){return this._default._arrowOffset||0};b.setDefaultOffsetY=function(a){var b=this._default._offsetY;this._default._offsetY=a;return b!==a};b.setPreferMoreContentShownRect=function(a){var b=this._default._preferMoreContentShownRect;this._default._preferMoreContentShownRect=a;return b!==a};b.getPreferMoreContentShownRect=function(){return this._default._preferMoreContentShownRect};return a}();l.OPPOSITE={above:"below",below:"above",left:"right",right:"left"};e.exports=a}),null);
__d("ContextualLayerHideOnScroll",["Event"],(function(a,b,c,d,e,f,g){a=function(){function a(a){this._layer=a}var b=a.prototype;b.enable=function(){this._subscriptions=[this._layer.subscribe("contextchange",this._handleContextChange.bind(this)),this._layer.subscribe("show",this.attach.bind(this)),this._layer.subscribe("hide",this.detach.bind(this))]};b.disable=function(){while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();this.detach()};b.attach=function(){if(this._listener)return;var a=this._layer.getContextScrollParent();if(a===window)return;this._listener=c("Event").listen(a,"scroll",this._layer.hide.bind(this._layer))};b.detach=function(){this._listener&&this._listener.remove(),this._listener=null};b._handleContextChange=function(){this.detach(),this._layer.isShown()&&this.attach()};return a}();Object.assign(a.prototype,{_subscriptions:[]});g["default"]=a}),98);
__d("Popover",["ContextualLayer","ContextualLayerHideOnScroll","DOM","ParameterizedPopover"],(function(a,b,c,d,e,f,g){a=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var d=b.prototype;d._init=function(){var b=new(c("ContextualLayer"))({context:this._triggerElem,position:"below",arrowDimensions:{offset:12,length:16},"data-testid":this._config["data-testid"]},c("DOM").create("div"));this._config.shouldDisableHideOnScroll||b.enableBehaviors([c("ContextualLayerHideOnScroll")]);this._config.layer=b;this._config.alignh&&b.setAlignment(this._config.alignh);this._config.layer_content&&b.setContent(this._config.layer_content);this._config.position&&b.setPosition(this._config.position);this._config.arrowDimensions&&b.setArrowDimensions(this._config.arrowDimensions);a.prototype._init.call(this)};d.destroy=function(){a.prototype.destroy.call(this),this._layer&&this._layer.destroy()};return b}(c("ParameterizedPopover"));g["default"]=a}),98);
__d("VirtualCursorStatus",["Event","UserAgent","emptyFunction","setImmediate"],(function(a,b,c,d,e,f){var g=null,h=null;function i(){h||(h=b("Event").listen(window,"blur",function(){g=null,j()}))}function j(){h&&(h.remove(),h=null)}function a(a){g=a.keyCode,i()}function c(){g=null,j()}if(typeof window!=="undefined"&&window.document&&window.document.createElement){d=document.documentElement;if(d)if(d.addEventListener)d.addEventListener("keydown",a,!0),d.addEventListener("keyup",c,!0);else if(d.attachEvent){f=d.attachEvent;f("onkeydown",a);f("onkeyup",c)}}var k={isKeyDown:function(){return!!g},getKeyDownCode:function(){return g}},l=!1,m=!1,n=null,o=!1;function p(a){var c=new Set(),d=k.isKeyDown(),e=a.clientX,f=a.clientY,g=a.isPrimary,h=a.isTrusted,i=a.offsetX,j=a.offsetY,n=a.pointerType,o=a.mozInputSource,p=a.WEBKIT_FORCE_AT_MOUSE_DOWN,q=a.webkitForce;a=a.target;var r=a.clientWidth;a=a.clientHeight;e===0&&f===0&&i>=0&&j>=0&&m&&h&&o==null&&c.add("Chrome");l&&m&&!d&&q!=null&&q<p&&i===0&&j===0&&o==null&&c.add("Safari-edge");e===0&&f===0&&i<0&&j<0&&m&&o==null&&c.add("Safari-old");!l&&!m&&d&&g===!1&&h&&n===""&&e===0&&f===0&&i===0&&j===0&&o==null;!l&&!m&&!d&&h&&b("UserAgent").isBrowser("IE >= 10")&&o==null&&(e<0&&f<0?c.add("IE"):(i<0||i>r)&&(j<0||j>a)&&c.add("MSIE"));o===0&&h&&c.add("Firefox");return c}function q(){l=!0,b("setImmediate")(function(){l=!1})}function r(){m=!0,b("setImmediate")(function(){m=!1})}function s(a,c){n===null&&(n=p(a));o=n.size>0;a=a.target.getAttribute("data-accessibilityid")==="virtual_cursor_trigger";c(o,n,a);b("setImmediate")(function(){o=!1,n=null})}d={isVirtualCursorTriggered:function(){return o},add:function(a,c){c===void 0&&(c=b("emptyFunction"));var d=function(a){return s(a,c)};a.addEventListener("click",d);var e=b("Event").listen(a,"mousedown",q),f=b("Event").listen(a,"mouseup",r);return{remove:function(){a.removeEventListener("click",d),e.remove(),f.remove()}}}};e.exports=d}),null);
__d("PopoverMenu",["ARIA","ArbiterMixin","BehaviorsMixin","Event","Focus","KeyStatus","Keys","SubscriptionsHandler","VirtualCursorStatus","mixin","setTimeout"],(function(a,b,c,d,e,f,g){a=function(a){babelHelpers.inheritsLoose(b,a);function b(b,e,f,g){var h;h=a.call(this)||this;h._popover=b;h._triggerElem=e;h._getInitialMenu=typeof f!=="function"?function(){return f}:f;h._subscriptions=new(c("SubscriptionsHandler"))();h._subscriptions.addSubscriptions(b.subscribe("init",h._onLayerInit.bind(babelHelpers.assertThisInitialized(h))),b.subscribe("show",h._onPopoverShow.bind(babelHelpers.assertThisInitialized(h))),b.subscribe("hide",h._onPopoverHide.bind(babelHelpers.assertThisInitialized(h))),c("Event").listen(h._triggerElem,"keydown",h._handleKeyEventOnTrigger.bind(babelHelpers.assertThisInitialized(h))),d("VirtualCursorStatus").add(h._triggerElem,h._checkInitialFocus.bind(babelHelpers.assertThisInitialized(h))));g&&h.enableBehaviors(g);return h}var e=b.prototype;e.getContentRoot=function(){return this._popover.getContentRoot()};e.setMenu=function(a){this._menu&&this._menu!==a&&this._menu.destroy();this._menu=a;var b=a.getRoot();this._popover.setLayerContent(b);a.subscribe("done",this._onMenuDone.bind(this));this._popoverShown&&this._menu.onShow();d("ARIA").controls(this._triggerElem,b);this.inform("setMenu",null,"persistent")};e.setInitialFocus=function(a,b){b&&a.focusAnItem()};e.getPopover=function(){return this._popover};e.getTriggerElem=function(){return this._triggerElem};e.getInitialMenu=function(){return this._getInitialMenu()};e.getMenu=function(){return this._menu};e._onLayerInit=function(){this._menu||this.setMenu(this._getInitialMenu()),this._popover.getLayer().subscribe("key",this._handleKeyEvent.bind(this))};e._onPopoverShow=function(){this._menu&&this._menu.onShow(),this._checkInitialFocus(),this._popoverShown=!0};e._checkInitialFocus=function(){var a=d("KeyStatus").isKeyDown()||d("VirtualCursorStatus").isVirtualCursorTriggered();this._menu&&this.setInitialFocus(this._menu,a)};e._onPopoverHide=function(){this._menu&&this._menu.onHide(),this._popoverShown=!1};e._handleKeyEvent=function(a,b){if(b.target===this._triggerElem)return;a=c("Event").getKeyCode(b);if(a===c("Keys").TAB){this._popover.hideLayer();d("Focus").set(this._triggerElem);return}if(b.getModifiers().any)return;switch(a){case c("Keys").RETURN:this.getMenu().getFocusedItem()||this.inform("returnWithoutFocusedItem");return;default:if(a===c("Keys").SPACE&&b.target.type==="file")return;this._menu.handleKeydown(a,b)===!1&&(this._menu.blur(),this._menu.handleKeydown(a,b));break}b.prevent()};e._handleKeyEventOnTrigger=function(a){if(this._isTypeaheadActivationDisabled)return;var b=c("Event").getKeyCode(a),e=String.fromCharCode(b).toLowerCase();/^\w$/.test(e)&&(this._popover.showLayer(),this._menu.blur(),this._menu.handleKeydown(b,a)===!1&&(this._popover.hideLayer(),d("Focus").set(this._triggerElem)))};e.disableTypeaheadActivation=function(){this._isTypeaheadActivationDisabled=!0};e.enableTypeaheadActivation=function(){this._isTypeaheadActivationDisabled=!1};e._onMenuDone=function(a){var b=this;c("setTimeout")(function(){b._popover.hideLayer(),d("Focus").set(b._triggerElem)},0)};e.enable=function(){this._popover.enable()};e.disable=function(){this._popover.disable()};e.destroy=function(){this._subscriptions.release(),this._popover.destroy(),this._getInitialMenu().destroy(),this._menu&&this._menu.destroy()};return b}(c("mixin")(d("ArbiterMixin"),c("BehaviorsMixin")));Object.assign(a.prototype,{_popoverShown:!1});g["default"]=a}),98);
__d("PopoverMenuInterface",["ArbiterMixin","emptyFunction","mixin"],(function(a,b,c,d,e,f){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:c=b("emptyFunction"),onShow:c,onHide:c,focusAnItem:c.thatReturnsFalse,blur:c,handleKeydown:c.thatReturnsFalse,destroy:c});e.exports=a}),null);
__d("XAsyncRequest",["AsyncRequest"],(function(a,b,c,d,e,f,g){a=function(){function a(a){var b=this;this.setAllowCrossPageTransition=function(a){b.$1.setAllowCrossPageTransition(a);return b};this.$1=new(c("AsyncRequest"))(a)}var b=a.prototype;b.setURI=function(a){this.$1.setURI(a);return this};b.setOption=function(a,b){this.$1.setOption(a,b);return this};b.setMethod=function(a){this.$1.setMethod(a);return this};b.setData=function(a){this.$1.setData(a);return this};b.setHandler=function(a){this.$1.setHandler(a);return this};b.setPayloadHandler=function(a){this.setHandler(function(b){return a(b.payload)});return this};b.setErrorHandler=function(a){this.$1.setErrorHandler(a);return this};b.send=function(){this.$1.send();return this};b.abort=function(){this.$1.abort()};b.setReadOnly=function(a){this.$1.setReadOnly(a);return this};b.setAllowCrossOrigin=function(a){this.$1.setAllowCrossOrigin(a);return this};b.setAllowCredentials=function(a){this.$1.setAllowCredentials(a);return this};return a}();g["default"]=a}),98);
__d("goOrReplace",["Env","URI","isFacebookURI"],(function(a,b,c,d,e,f,g){function a(a,b,d){b=new(c("URI"))(b);c("Env").isCQuick&&c("isFacebookURI")(b)&&b.addQueryData({cquick:c("Env").iframeKey,cquick_token:c("Env").iframeToken,ctarget:c("Env").iframeTarget});b=b.toString();d?a.replace(b):a.href==b?a.reload():a.href=b}g["default"]=a}),98);
__d("nl2br",["DOM"],(function(a,b,c,d,e,f,g){var h=/(\r\n|[\r\n])/;function a(a){return a.split(h).map(function(a){return h.test(a)?c("DOM").create("br"):a})}g["default"]=a}),98);
__d("CSSFade",["cx","invariant","CSS","DataStore","Event","Style","requestAnimationFrameAcrossTransitions"],(function(a,b,c,d,e,f,g,h){"use strict";var i="css-fade-animation",j="css-show-animation",k="CSSFade_hide",l="CSSFade_show";a=document.createElement("div").animate!==void 0;var m={cancel:function(){}};function n(a,c){a!=null||h(0,5875);a=b("DataStore").get(a,c);a&&a.cancel();return a}function o(a,b,c){a=((a=a)!=null?(a=a.style)!=null?a.animation:a:a)||"";b=b+"s "+c;a.length>5&&(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){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){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){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");var e=c.peekStateFade?"0.6":"0";e=a.animate([{opacity:e},{opacity:"1.0"}],{duration:d});c.callback&&(e.onfinish=c.callback);b("DataStore").set(a,j,e);return e},hide:function(a,c){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");var e=c.peekStateFade?"0.4":"0";e=a.animate([{opacity:"1.0"},{opacity:e}],{duration:d});e.onfinish=function(){b("CSS").addClass(a,c.invisible?"invisible_elem":"hidden_elem"),c.callback&&c.callback()};b("DataStore").set(a,i,e);return e}}};e.exports=a?d:c}),null);
__d("firstx",["invariant"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a){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}h(0,1145)}g["default"]=a}),98);
__d("getScrollableAreaContainingNode",["DataStore","Parent"],(function(a,b,c,d,e,f){"use strict";function a(a){a=b("Parent").byClass(a,"uiScrollableArea");return a?b("DataStore").get(a,"ScrollableArea"):null}e.exports=a}),null);
__d("ScrollableArea",["ArbiterMixin","BrowserSupport","CSS","CSSFade","DOM","DOMScroll","DataStore","Deferred","Event","FocusEvent","Run","Scroll","SimpleDrag","Style","SubscriptionsHandler","TimeSlice","UserAgent_DEPRECATED","Vector","clearTimeout","createCancelableFunction","emptyFunction","firstx","getScrollableAreaContainingNode","mixin","promiseDone","queryThenMutateDOM","requireDeferred","setTimeoutAcrossTransitions","throttle"],(function(a,b,c,d,e,f){var g=b("requireDeferred")("Animation").__setRef("ScrollableArea"),h=12;a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(c,d){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,h)};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||{};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()})}));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(){var a=b("BrowserSupport").hasPointerEvents(),c=new(b("SimpleDrag"))(a?this._elem:this._gripper);c.subscribe("start",function(d,e){if(!(e.which&&e.which===1||e.button&&e.button===1))return!1;d=b("Vector").getEventPosition(e,"viewport");if(a){var f=this._gripper.getBoundingClientRect();if(d.x<f.left||d.x>f.right||d.y<f.top||d.y>f.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._gripperHeight<this._trackHeight};d._slideGripper=function(){var a=this;b("queryThenMutateDOM")(function(){return b("Scroll").getTop(a._wrap)/(a._contentHeight-a._containerHeight)*(a._trackHeight-a._gripperHeight)},function(c){b("Style").set(a._gripper,"top",c+"px")})};d.destroy=function(){this._destroy(),this._destroy.cancel&&this._destroy.cancel()};d._destroy=function(){this._listeners&&this._listeners.release(),this._elem&&b("DataStore").remove(this._elem,"ScrollableArea"),this._drag&&this._drag.destroy()};d._handleClickOnTrack=function(a){var c=b("Vector").getEventPosition(a,"viewport"),d=this._gripper.getBoundingClientRect();c.x<d.right&&c.x>d.left&&(c.y<d.top?this.setScrollTop(this.getScrollTop()-this._elem.clientHeight):c.y>d.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(a<g||e<f)return this.setScrollTop(a,c,{callback:d});else if(i>h)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,c=(a=b("Scroll")).getTop(this._wrap);a.setTop(this._wrap,a.getTop(this._wrap)+1);a.setTop(this._wrap,a.getTop(this._wrap)-1);a.setTop(this._wrap,c);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,b,c){c===void 0&&(c={});var d;if(b!==!1){b=g.getModuleIfRequired();b!=null?d=this._animatedSetScrollTop(b,a,c):this._simpleSetScrollTop(a,c)}else this._simpleSetScrollTop(a,c);return function(){d&&d.stop(),d=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,c=(a=b("DOM")).create("div",{className:"uiScrollableAreaContent"}),d=a.create("div",{className:"uiScrollableAreaBody"},c),e=a.create("div",{className:"uiScrollableAreaWrap scrollable"},d);a=a.create("div",{className:"uiScrollableArea native"},e);return{root:a,wrap:e,body:d,content:c}};c.fromNative=function(a,d){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","DOM","DataStore","Event","Keys","Parent","PopoverMenuInterface","ScrollableArea","Style","SubscriptionsHandler","UserAgent","debounce"],(function(a,b,c,d,e,f,g,h){var i=500;a=function(a){babelHelpers.inheritsLoose(b,a);function b(d,e){var f;f=a.call(this)||this;f._items=[];f._keysSoFar="";f._items=d.map(b.buildItemFromData);f._config=e||{};f._theme=e.theme||{};f._subscriptions=new(c("SubscriptionsHandler"))();f._clearKeysSoFarAfterDelay=c("debounce")(function(){f._keysSoFar=""},i);return f}b.buildItemFromData=function(a){if(a.ctor)return new a.ctor(a);else return new a.type(a.props)};var e=b.prototype;e.addItem=function(a){this._addItem(a)};e.addItemBefore=function(a,b){this._addItem(a,b,!1)};e.addItemAfter=function(a,b){this._addItem(a,b,!0)};e._addItem=function(a,b,c){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)};e.removeItem=function(a){var b=this._items.indexOf(a);if(b<0)return;this._items.splice(b,1);this._root&&c("DOM").remove(a.getRoot())};e.forEachItem=function(a){this._items.forEach(a)};e.getFocusedItem=function(){return this._focused};e.getItemAt=function(a){return this._items[a]||null};e.getRoot=function(){this._root||this._render();return this._root};e.onShow=function(){this._config.maxheight&&(!this._scrollableArea?this._scrollableArea=c("ScrollableArea").fromNative(this._scrollableElems.root,{fade:!0}):this._scrollableArea.resize()),this.inform("show")};e.onHide=function(){this.blur(),this.inform("hide")};e.focusAnItem=function(a){return this._attemptFocus(a||0,1)};e.blur=function(){if(this._focused){var a=this._focused;this._focused.blur();this._focused=null;this.inform("blur",{item:a})}};e.handleKeydown=function(a,b){if(!this._items.length)return!1;var d=this._items.indexOf(this._focused);switch(a){case c("Keys").UP:case c("Keys").DOWN:var e=a===c("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 c("Keys").HOME:return this._attemptFocus(0,1);case c("Keys").END:return this._attemptFocus(this._items.length-1,-1);case c("Keys").SPACE:if(this._items.indexOf(this._focused)!==-1){this._handleItemClick(this._focused,b);return!0}return!1;case c("Keys").RIGHT:case c("Keys").LEFT:case c("Keys").INSERT:case c("Keys").DELETE:return!1;default:e=this._findItemToFocus(a,d);return!!(e&&this._focusItem(e))}};e._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};e._findMatchInRange=function(a,b){for(var a=a;a<b;a++){var c=this._items[a].getLabel();if(c&&c.toString().toLowerCase().indexOf(this._keysSoFar)===0)return this._items[a]}return null};e._render=function(){this._ul=c("DOM").create("ul",{className:"_54nf"});this._ul.setAttribute("role","menu");this._items.forEach(function(a){this._insertItem(a,null)},this);this._subscriptions.addSubscriptions(c("Event").listen(this._ul,"click",this._handleClick.bind(this)),c("Event").listen(this._ul,"mouseover",this._handleMouseOver.bind(this)),c("Event").listen(this._ul,"mouseout",this._handleMouseOut.bind(this)));var a=this._ul;this._config.maxheight&&(this._scrollableElems=c("ScrollableArea").renderDOM(),c("DOM").setContent(this._scrollableElems.content,this._ul),a=this._scrollableElems.root,c("Style").set(this._scrollableElems.wrap,"max-height",this._config.maxheight+"px"));var b="_54nq"+(this._config.className?" "+this._config.className:"")+(this._theme.className?" "+this._theme.className:"");this._root=c("DOM").create("div",{className:b},c("DOM").create("div",{className:"_54ng"},a));this._config.id&&this._root.setAttribute("id",this._config.id);this._config.testid&&this._root.setAttribute("data-testid",this._config.testid);this._config.behaviors&&this.enableBehaviors(this._config.behaviors);this.inform("rendered",this._root)};e._needsDefaultBehavior=function(a){if(a.isDefaultRequested&&a.isDefaultRequested()){a=d("Parent").byTag(a.getTarget(),"a");a=a&&a.getAttribute("href");return a&&a[0]!=="#"}return!1};e._handleClick=function(a){if(a.getTarget()===this._ul&&c("UserAgent").isBrowser("IE")){a.stop();return}if(!this._needsDefaultBehavior(a)){var b=this._getItemInstance(a.getTarget());if(b)return this._handleItemClick(b,a)}};e._handleItemClick=function(a,b){this.inform("itemclick",{item:a,event:b});a.shouldCloseOnClick()&&a.hasAction()&&this.done();return a.handleClick(b)};e._handleMouseOver=function(a){a=this._getItemInstance(a.getTarget());a&&this._focusItem(a,!0)};e._handleMouseOut=function(a){a=this._getItemInstance(a.getTarget());a&&this._focused===a&&this.blur()};e._insertItem=function(a,b,e){var f=a.getRoot();d("CSS").addClass(f,"__MenuItem");d("DataStore").set(f,"MenuItem",a);if(b){a=e?c("DOM").insertAfter:c("DOM").insertBefore;a(b.getRoot(),f)}else c("DOM").appendContent(this._ul,f)};e._attemptFocus=function(a,b){var c=this._items.length;if((a<0||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)};e._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};e._getItemInstance=function(a){a=d("Parent").byClass(a,"__MenuItem");return a?d("DataStore").get(a,"MenuItem"):null};e.destroy=function(){this._items.forEach(function(a){var b=a.getRoot();d("DataStore").remove(b,"MenuItem");a.destroy()}),this._subscriptions.release(),this.destroyBehaviors()};return b}(c("PopoverMenuInterface"));Object.assign(a.prototype,c("BehaviorsMixin"),{_focused:null,_root:null});g["default"]=a}),98);
__d("MenuItemInterface",["emptyFunction","react"],(function(a,b,c,d,e,f){var g;a=g||b("react");c=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}(a.Component);Object.assign(c.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=c}),null);
__d("MenuItemBase",["cx","DOM","HTML","MenuItemInterface"],(function(a,b,c,d,e,f,g,h){a=function(a){babelHelpers.inheritsLoose(b,a);function b(b){var c;c=a.call(this)||this;c._ARIARole="menuitem";c._data=babelHelpers["extends"]({},b);return c}var d=b.prototype;d.render=function(){var a="_54ni";this._data.className&&(a+=" "+this._data.className);a={className:a,role:"presentation","data-testid":void 0};Object.assign(a,this.__getAttributesFromData());delete a["data-testid"];return c("DOM").create("li",a,this._renderItemContent())};d._renderItemContent=function(){return c("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 b}(c("MenuItemInterface"));g["default"]=a}),98);
__d("MenuItem",["cx","CSS","DOM","MenuItemBase","ReactDOM","emptyFunction","joinClasses","react"],(function(a,b,c,d,e,f,g){var h,i=h||b("react"),j=["href","rel","ajaxify","target","accesskey"];function k(a,c){var d={};j.forEach(function(a){c[a]&&(d[a]=c[a])});b("DOM").setAttributes(a,d)}function l(a){j.forEach(function(b){a.removeAttribute(b)})}a=function(a){"use strict";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(){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=i.cloneElement(this._data.icon,{className:b("joinClasses")(this._data.icon.props.className,"mrs")}));b("ReactDOM").render(i.jsx(i.Suspense,{fallback:null,children:i.jsxs("span",{children:[a,i.jsx("span",{className:"_54nh",children: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()||k(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&&(k(this._anchor,this._data),b("CSS").removeClass(this._root,"_5arm")),this._disabled=!1};d.disable=function(){this._root&&(l(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("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,h){a=function(){function a(a){this.$1=a}var b=a.prototype;b.enable=function(){d("CSS").addClass(this.$1.getRoot(),"_2n_z")};b.disable=function(){d("CSS").removeClass(this.$1.getRoot(),"_2n_z")};return a}();g["default"]=a}),98);
__d("LayerBounds",["Locale","Rect","ViewportBounds","containsNode","ge","getOverlayZIndex"],(function(a,b,c,d,e,f){a={getViewportRectForContext:function(a){var c=b("ge")("globalContainer");c=c&&b("containsNode")(c,a)||b("getOverlayZIndex")(a)<300;a=b("Rect").getViewportWithoutScrollbarsBounds();c&&(a.t+=b("ViewportBounds").getTop(),b("Locale").isRTL()?(a.r-=b("ViewportBounds").getLeft(),a.l+=b("ViewportBounds").getRight()):(a.r-=b("ViewportBounds").getRight(),a.l+=b("ViewportBounds").getLeft()));return a}};e.exports=a}),null);
__d("ContextualLayerDimensions",["LayerBounds","Locale","Rect","Vector"],(function(a,b,c,d,e,f){a={getViewportRect:function(a){return b("LayerBounds").getViewportRectForContext(a.getContext())},getLayerRect:function(a,c){var d=a.getContextBounds("viewport"),e=a.simulateOrientation(c,function(){return b("Vector").getElementDimensions(a.getContentRoot())}),f=d.t+c.getOffsetY();c.getPosition()==="above"?f-=e.y:c.getPosition()==="below"&&(f+=d.b-d.t);var g=d.l+c.getOffsetX();d=d.r-d.l;if(c.isVertical()){var h=c.getAlignment();h==="center"?g+=(d-e.x)/2:h==="right"!==b("Locale").isRTL()?g+=d-e.x+c.getArrowOffset():g-=c.getArrowOffset()}else c.getPosition()==="right"!==b("Locale").isRTL()?g+=d:g-=e.x;return new(b("Rect"))(f,g+e.x,f+e.y,g,"viewport")}};e.exports=a}),null);
__d("ContextualLayerAutoFlip",["ContextualLayerAlignmentEnum","ContextualLayerDimensions","DOMDimensions","Rect","Vector","getDocumentScrollElement"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b){b=new(c("Rect"))(b).convertTo(a.domain);var d=Math.max(a.l,b.l);a=Math.min(a.r,b.r);return Math.max(a-d,0)}a=function(){function a(a){this._layer=a}var b=a.prototype;b.enable=function(){this._subscription=this._layer.subscribe("adjust",this._adjustOrientation.bind(this)),this._layer.isShown()&&this._layer.updatePosition()};b.disable=function(){this._subscription&&(this._subscription.unsubscribe(),this._subscription=null),this._layer.isShown()&&this._layer.updatePosition()};b._adjustOrientation=function(a,b){a=this.getValidPositions(b);if(!a.length){b.invalidate();return}var e=d("ContextualLayerDimensions").getViewportRect(this._layer),f=this._getValidAlignments(b),g,i,j;for(g=0;g<f.length;g++){b.setAlignment(f[g]);for(i=0;i<a.length;i++){b.setPosition(a[i]);j=d("ContextualLayerDimensions").getLayerRect(this._layer,b);if(e.contains(j))return}}var k=-1;if(b.getPreferMoreContentShownRect()){var l=d("DOMDimensions").getDocumentDimensions(),m=new(c("Rect"))(e).convertTo("document"),n=99999;for(i=0;i<a.length;i++){b.setPosition(a[i]);j=d("ContextualLayerDimensions").getLayerRect(this._layer,b);var o=new(c("Rect"))(j).convertTo("document");if(o.l>=0&&o.r<=l.width&&o.t>=43&&o.b<=l.height){var p=m.l-o.l,q=o.r-m.r,r=m.t-o.t;o=o.b-m.b;p=(p>0?p:0)+(q>0?q:0)+(r>0?r:0)+(o>0?o:0);p<n&&(k=i,n=p)}}}this.__setBestPosition(k,b,a);q=0;r=0;for(g=0;g<f.length;g++)b.setAlignment(f[g]),j=d("ContextualLayerDimensions").getLayerRect(this._layer,b),o=h(e,j),o>r&&(r=o,q=g);b.setAlignment(f[q])};b.__setBestPosition=function(a,b,c){a>=0?b.setPosition(c[a]):b.setPosition(c.includes("below")?"below":c[0])};b.getValidPositions=function(a){var b=[a.getPosition(),a.getOppositePosition()],d=this._layer.getContextScrollParent();if(d===window||d===c("getDocumentScrollElement")())return b;var e=this._layer.getContext(),f=c("Vector").getElementPosition(d,"viewport").y,g=c("Vector").getElementPosition(e,"viewport").y;if(a.isVertical())return b.filter(function(a){if(a==="above")return g>=f;else{a=f+d.offsetHeight;var b=g+e.offsetHeight;return b<=a}});else{a=f+d.offsetHeight;if(g>=f&&g+e.offsetHeight<=a)return b;else return[]}};b._getValidAlignments=function(a){var b=Array.from(c("ContextualLayerAlignmentEnum").values);a=a.getAlignment();var d=b.indexOf(a);d>0&&(b.splice(d,1),b.unshift(a));return b};return a}();Object.assign(a.prototype,{_subscription:null});g["default"]=a}),98);
__d("ContextualLayerUpdateOnScroll",["Event"],(function(a,b,c,d,e,f,g){a=function(){function a(a){this._layer=a}var b=a.prototype;b.enable=function(){this._subscriptions=[this._layer.subscribe("show",this._attachScrollListener.bind(this)),this._layer.subscribe("hide",this._removeScrollListener.bind(this))]};b.disable=function(){while(this._subscriptions.length)this._subscriptions.pop().unsubscribe()};b._attachScrollListener=function(){var a=this,b=this._layer.getContextScrollParent(),d=this._layer.getInsertScrollParent();if(this._listener!=null||b===d)return;this._listener=c("Event").listen(b,"scroll",function(){a._layer.updatePosition()})};b._removeScrollListener=function(){this._listener&&this._listener.remove(),this._listener=null};return a}();Object.assign(a.prototype,{_subscriptions:[]});g["default"]=a}),98);
__d("LayerHideOnTransition",["LayerHideSources","PageTransitionsRegistrar"],(function(a,b,c,d,e,f,g){a=function(){function a(a){var b=this;this._handler=function(a){b._enabled&&b.isTransitionRelevant(a)&&b._layer.hide(c("LayerHideSources").TRANSITION),b._subscribe()};this._layer=a}var b=a.prototype;b.enable=function(){this._enabled=!0,this._subscribed||setTimeout(this._subscribe.bind(this),0)};b.disable=function(){this._enabled=!1,c("PageTransitionsRegistrar").removeHandler(this._handler)};b.isTransitionRelevant=function(a){return!0};b._subscribe=function(){c("PageTransitionsRegistrar").registerHandler(this._handler),this._subscribed=!0};return a}();Object.assign(a.prototype,{_enabled:!1,_subscribed:!1});g["default"]=a}),98);
__d("AbstractContextualDialogArrowBehavior",["cx","CSS","DOM","Locale","Style","Vector","abstractMethod"],(function(a,b,c,d,e,f,g){var h={bottom:"_53ik",top:"_53il",right:"_53im",left:"_53in"},i={above:"bottom",below:"top",left:"right",right:"left"};a=function(){"use strict";function a(a){this.__layer=this._layer=a}var c=a.prototype;c.enable=function(){this._subscription=this._layer.subscribe(["adjust","reposition"],this._handle.bind(this))};c.disable=function(){this._subscription.unsubscribe(),this._subscription=null};c.__getArrow=function(){return b("abstractMethod")("AbstractContextualDialogArrowBehavior","__getArrow")};c._handle=function(a,b){a==="adjust"?this._repositionArrow(b):this._repositionRoot(b)};c._repositionRoot=function(a){var c=a.getAlignment();if(c=="center")return;var d=this._layer.getRoot(),e=this._layer.getContext();a=a.isVertical();var f=this._layer.getArrowDimensions(),g=f.offset;f=f.length;e=b("Vector").getElementDimensions(e);e=a?e.x:e.y;if(e>=f+g*2)return;f=f/2+g;g=e/2;e=parseInt(f-g,10);if(a){f=null;c=="left"?f=b("Locale").isRTL()?"right":"left":f=b("Locale").isRTL()?"left":"right";g=parseInt(b("Style").get(d,f),10);b("Style").set(d,f,g-e+"px")}else{a=parseInt(b("Style").get(d,"top"),10);b("Style").set(d,"top",a-e+"px")}};c._repositionArrow=function(c){var d=this._layer.getContentRoot(),e=c.getPosition(),f=i[e];for(var g in h)b("CSS").conditionClass(d,h[g],f===g);if(e=="none")return;this._arrow||(this._arrow=this.__getArrow());b("DOM").contains(d,this._arrow)||b("DOM").appendContent(d,this._arrow);b("Style").set(this._arrow,"top","");b("Style").set(this._arrow,"left","");b("Style").set(this._arrow,"right","");b("Style").set(this._arrow,"margin","");f=a.getOffsetPercent(c);e=a.getOffset(c,f,this._layer);d=a.getOffsetSide(c);b("Style").set(this._arrow,d,f+"%");b("Style").set(this._arrow,"margin-"+d,e+"px")};a.getOffsetPercent=function(a){var b=a.getAlignment();a=a.getPosition();if(a=="above"||a=="below")if(b=="center")return 50;else if(b=="right")return 100;return 0};a.getOffsetSide=function(a){a=a.isVertical();return a?b("Locale").isRTL()?"right":"left":"top"};a.getOffset=function(a,b,c){c=c.getArrowDimensions();var d=c.offset;c=c.length;a=a.getAlignment();d=a=="center"?0:d;d+=c*b/100;a!="left"&&(d*=-1);return d};return a}();e.exports=a}),null);
__d("ContextualDialogArrow",["cx","AbstractContextualDialogArrowBehavior","CSS","JSXDOM"],(function(a,b,c,d,e,f,g,h){a=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var e=b.prototype;e.__getArrow=function(){return c("JSXDOM").i({className:"_53io"})};e.enable=function(){a.prototype.enable.call(this);var b=this.__layer.getContentRoot();d("CSS").addClass(b,"_5v-0")};e.disable=function(){a.prototype.disable.call(this);var b=this.__layer.getContentRoot();d("CSS").removeClass(b,"_5v-0")};return b}(c("AbstractContextualDialogArrowBehavior"));g["default"]=a}),98);
__d("CookieConsentActionHandler",["CookieConsentBlacklistedHrefs","Parent"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a=a;if(!this.hasVisibleCookieBanner())return!0;var b=d("Parent").byAttribute(a,"data-cookiebanner");if(b){b=b.getAttribute("data-cookiebanner");switch(b){case"close_button":return!1;case"banner":return!0}}b=d("Parent").byAttribute(a,"data-nocookies");if(b)return!0;a.tagName.toLowerCase()!=="a"&&(a=d("Parent").byTag(a,"a"));if(a instanceof HTMLAnchorElement&&typeof a.href==="string"){b=a.href;for(var a=0;a<this.blacklistedHrefs.length;a++)if(b.indexOf(this.blacklistedHrefs[a])>-1)return!0}return!1}function b(){var a=document.querySelectorAll('[data-cookiebanner="banner"]');return Array.from(a).some(function(a){return window.getComputedStyle(a).display!=="none"})}g.isClickNotConsideredConsent=a;g.blacklistedHrefs=c("CookieConsentBlacklistedHrefs").hrefs;g.hasVisibleCookieBanner=b}),98);
__d("RTLKeys",["Keys","Locale"],(function(a,b,c,d,e,f,g){var h=null;function i(){h===null&&(h=d("Locale").isRTL());return h}a=babelHelpers.objectWithoutPropertiesLoose(c("Keys"),["RIGHT","LEFT"]);var j=babelHelpers["extends"]({},a,{REAL_RIGHT:c("Keys").RIGHT,REAL_LEFT:c("Keys").LEFT,getLeft:function(){return i()?j.REAL_RIGHT:j.REAL_LEFT},getRight:function(){return i()?j.REAL_LEFT:j.REAL_RIGHT}});b=j;g["default"]=b}),98);
__d("BanzaiLogger",["Banzai"],(function(a,b,c,d,e,f,g){function h(a){return{log:function(b,d){c("Banzai").post("logger:"+b,d,a)},create:h}}a=h();b=a;g["default"]=b}),98);