/**** (c) Valve Corporation. Use is governed by the terms of the Steam Subscriber Agreement http://store.steampowered.com/subscriber_agreement/. ****/ (self.webpackChunkcommunity=self.webpackChunkcommunity||[]).push([[179],{60583:e=>{e.exports={FocusRingRoot:"focusring_FocusRingRoot_3PH_X",FocusRing:"focusring_FocusRing_1IZrQ",flash:"focusring_flash_1YTKZ",growOutline:"focusring_growOutline_Z3LxS",fadeOutline:"focusring_fadeOutline_2hZu3",blinker:"focusring_blinker_3wFMM",DebugFocusRing:"focusring_DebugFocusRing_YxeOZ",FocusRingOnHiddenItem:"focusring_FocusRingOnHiddenItem_2OusV"}},20525:e=>{e.exports={ScrollPanel:"scrollpanel_ScrollPanel_1CXdi",ScrollY:"scrollpanel_ScrollY_313lB",ScrollX:"scrollpanel_ScrollX_1oRGo",ScrollBoth:"scrollpanel_ScrollBoth_3S2Ko"}},41713:e=>{e.exports={HoverPosition:"hoverposition_HoverPosition_3XUAN",Ready:"hoverposition_Ready_qEo88",NoSpace:"hoverposition_NoSpace_2NTbb",EnablePointerEvents:"hoverposition_EnablePointerEvents_2MP9n",HoverAboveModal:"hoverposition_HoverAboveModal_1SHX2",HoverPositionOuter:"hoverposition_HoverPositionOuter_EUN4G"}},27713:e=>{e.exports={"duration-app-launch":"800ms",ContextMenuMouseOverlay:"contextmenu_ContextMenuMouseOverlay_pu9cO",ContextMenuFocusContainer:"contextmenu_ContextMenuFocusContainer_2qyBZ",contextMenu:"contextmenu_contextMenu_LQkrb",ContextMenuPopup:"contextmenu_ContextMenuPopup_2GpKT",contextMenuContents:"contextmenu_contextMenuContents_2y2tU",contextMenuItem:"contextmenu_contextMenuItem_pFo3k",active:"contextmenu_active_1KPWU",MenuSectionHeader:"contextmenu_MenuSectionHeader_2Q7u1",ContextMenuSeparator:"contextmenu_ContextMenuSeparator_1F2Ec",NoSeparation:"contextmenu_NoSeparation_3twt2",UpperCase:"contextmenu_UpperCase_2ZwZj",SubMenu:"contextmenu_SubMenu_jVo8T",Label:"contextmenu_Label_38fI0",Arrow:"contextmenu_Arrow_2NKnR",IconContainer:"contextmenu_IconContainer_J6UFb",ContextMenuHRSeparator:"contextmenu_ContextMenuHRSeparator_3Ac-M",ForceDesktop:"contextmenu_ForceDesktop_7K1n9",PopoutSubMenu:"contextmenu_PopoutSubMenu_IpTgn",PopoutSubMenuItems:"contextmenu_PopoutSubMenuItems_y5L1f"}},20449:e=>{e.exports={DialogDropDownMenu_Item:"dropdown_DialogDropDownMenu_Item_1R-DV",DialogDropDownMenu:"dropdown_DialogDropDownMenu_1tiuY"}},27914:e=>{e.exports={DropDownLabelContainer:"dropdownlabel_DropDownLabelContainer_2wVxO",DropDownLabelIconContainer:"dropdownlabel_DropDownLabelIconContainer_3nHUn",DropDownLabelTextColumn:"dropdownlabel_DropDownLabelTextColumn_P4jYQ",DropDownLabelTitle:"dropdownlabel_DropDownLabelTitle_uDBZW",DropDownLabelUpperDescription:"dropdownlabel_DropDownLabelUpperDescription_2_JN3",DropDownLabelDescription:"dropdownlabel_DropDownLabelDescription_1JPcb"}},52559:e=>{e.exports={"duration-app-launch":"800ms",GamepadDialogContent:"gamepaddialog_GamepadDialogContent_3joNk",GamepadDialogContent_InnerWidth:"gamepaddialog_GamepadDialogContent_InnerWidth_3Xeyd",Field:"gamepaddialog_Field_S-_La",Button:"gamepaddialog_Button_1kn70",NoMinWidth:"gamepaddialog_NoMinWidth_21cih",ActiveAndUnfocused:"gamepaddialog_ActiveAndUnfocused_11tOP",StandaloneFieldSeparator:"gamepaddialog_StandaloneFieldSeparator_23kNb",StandardPadding:"gamepaddialog_StandardPadding_XRBFu",CompactPadding:"gamepaddialog_CompactPadding_1DIZQ",WithDescription:"gamepaddialog_WithDescription_3bMIS",WithBottomSeparatorStandard:"gamepaddialog_WithBottomSeparatorStandard_3s1Rk",WithBottomSeparatorThick:"gamepaddialog_WithBottomSeparatorThick_28hmy",HighlightOnFocus:"gamepaddialog_HighlightOnFocus_wE4V6","ItemFocusAnim-darkerGrey":"gamepaddialog_ItemFocusAnim-darkerGrey_3ZRaK","ItemFocusAnim-darkGrey":"gamepaddialog_ItemFocusAnim-darkGrey_2zfa-",WithBottomSeparator:"gamepaddialog_WithBottomSeparator_1lUZx",Disabled:"gamepaddialog_Disabled_1pmyx",Clickable:"gamepaddialog_Clickable_27UVY",FieldClickTarget:"gamepaddialog_FieldClickTarget_TN6vN",FieldChildren:"gamepaddialog_FieldChildren_14_HB",FieldLeadIcon:"gamepaddialog_FieldLeadIcon_OKYIj",FieldLabelRow:"gamepaddialog_FieldLabelRow_H9WOq",VerticalAlignCenter:"gamepaddialog_VerticalAlignCenter_3XNvA",InlineWrapShiftsChildrenBelow:"gamepaddialog_InlineWrapShiftsChildrenBelow_pHUb6",ExtraPaddingOnChildrenBelow:"gamepaddialog_ExtraPaddingOnChildrenBelow_5UO-_",ChildrenWidthFixed:"gamepaddialog_ChildrenWidthFixed_1ugIU",ChildrenWidthGrow:"gamepaddialog_ChildrenWidthGrow__Oeqv",WithFirstRow:"gamepaddialog_WithFirstRow_qFXi6",WithChildrenBelow:"gamepaddialog_WithChildrenBelow_1u5FT",FieldLabel:"gamepaddialog_FieldLabel_3b0U-",FieldLabelValue:"gamepaddialog_FieldLabelValue_lcD7J",FieldDescription:"gamepaddialog_FieldDescription_2OJfk",ModalPosition:"gamepaddialog_ModalPosition_30VHl",WithStandardPadding:"gamepaddialog_WithStandardPadding_1s9-e",NoHeaderPadding:"gamepaddialog_NoHeaderPadding_2kAHX",slideInAnimation:"gamepaddialog_slideInAnimation_17KuO",BasicTextInput:"gamepaddialog_BasicTextInput_3GCBi",Toggle:"gamepaddialog_Toggle_24G4g",ToggleRail:"gamepaddialog_ToggleRail_2JtC3",On:"gamepaddialog_On_3ld7T",ToggleSwitch:"gamepaddialog_ToggleSwitch_3__OD",LabelFieldValue:"gamepaddialog_LabelFieldValue_5Mylh",DropDownControlButtonContents:"gamepaddialog_DropDownControlButtonContents_Lzved",Spacer:"gamepaddialog_Spacer_3nOZQ",ControlsListOuterPanel:"gamepaddialog_ControlsListOuterPanel_2Mvpu",StandardSpacing:"gamepaddialog_StandardSpacing_E-It0",ExtraSpacing:"gamepaddialog_ExtraSpacing_3YMmG",ItemMaxSizeDesktop:"gamepaddialog_ItemMaxSizeDesktop_LFWdf",AlignRight:"gamepaddialog_AlignRight_4eBGA",AlignLeft:"gamepaddialog_AlignLeft_2N3q6",AlignCenter:"gamepaddialog_AlignCenter_3groU",FullWidth:"gamepaddialog_FullWidth_1a_HO",ControlsListChild:"gamepaddialog_ControlsListChild_XvRso","QuickAccess-Menu":"gamepaddialog_QuickAccess-Menu_1YEXn",BottomButtons:"gamepaddialog_BottomButtons_3_Evp","ItemFocusAnim-darkerGrey-nocolor":"gamepaddialog_ItemFocusAnim-darkerGrey-nocolor_20uOg","ItemFocusAnim-grey":"gamepaddialog_ItemFocusAnim-grey_37Ohc","ItemFocusAnimBorder-darkGrey":"gamepaddialog_ItemFocusAnimBorder-darkGrey_8BINs","ItemFocusAnim-green":"gamepaddialog_ItemFocusAnim-green_wPuMl",focusAnimation:"gamepaddialog_focusAnimation_Plqwm",hoverAnimation:"gamepaddialog_hoverAnimation_22zeK"}},42186:e=>{e.exports={"duration-app-launch":"800ms",DropDownControlButton:"gamepaddropdown_DropDownControlButton_28bny"}},63613:e=>{e.exports={TogglePasswordVisibilityBtn:"gamepadinput_TogglePasswordVisibilityBtn_1Z-Cc",Digits:"gamepadinput_Digits_znEp6",PinDigit:"gamepadinput_PinDigit_1oiQ5"}},4532:e=>{e.exports={"duration-app-launch":"800ms",PagedSettingsDialog:"gamepadpagedsettings_PagedSettingsDialog_2P_CG",PagedSettingsDialog_PageContent:"gamepadpagedsettings_PagedSettingsDialog_PageContent_wIOLO",NoPadding:"gamepadpagedsettings_NoPadding_2BpB-",PagedSettingsDialog_PageListColumn:"gamepadpagedsettings_PagedSettingsDialog_PageListColumn_2EZ3o",PagedSettingsDialog_Title:"gamepadpagedsettings_PagedSettingsDialog_Title_1Px9u",PagedSettingsDialog_PageList:"gamepadpagedsettings_PagedSettingsDialog_PageList_3c_Jp",PagedSettingsDialog_PageList_DisableScrolling:"gamepadpagedsettings_PagedSettingsDialog_PageList_DisableScrolling_2brQE",PagedSettingsDialog_PageListItem:"gamepadpagedsettings_PagedSettingsDialog_PageListItem_1ix7r",DisabledItem:"gamepadpagedsettings_DisabledItem_3Lp2f",Active:"gamepadpagedsettings_Active_22LLB","ItemFocusAnim-darkerGrey":"gamepadpagedsettings_ItemFocusAnim-darkerGrey_ur7gu","ItemFocusAnim-darkGrey":"gamepadpagedsettings_ItemFocusAnim-darkGrey_3qFxl",PageListItem_Icon:"gamepadpagedsettings_PageListItem_Icon_1F_5Q",PageListItem_Title:"gamepadpagedsettings_PageListItem_Title_2PPLv",Separator:"gamepadpagedsettings_Separator_3vV7l",PagedSettingDialog_ContentColumn:"gamepadpagedsettings_PagedSettingDialog_ContentColumn_3JPle",Up:"gamepadpagedsettings_Up_3Qp0k",ContentTransition:"gamepadpagedsettings_ContentTransition_NCmol",Enter:"gamepadpagedsettings_Enter_2x_gO",EnterActive:"gamepadpagedsettings_EnterActive_1JBp4",Exit:"gamepadpagedsettings_Exit_1lJGy",ExitActive:"gamepadpagedsettings_ExitActive_1fljM",Down:"gamepadpagedsettings_Down_37IKR","ItemFocusAnim-darkerGrey-nocolor":"gamepadpagedsettings_ItemFocusAnim-darkerGrey-nocolor_3M5nC","ItemFocusAnim-grey":"gamepadpagedsettings_ItemFocusAnim-grey_1fG-j","ItemFocusAnimBorder-darkGrey":"gamepadpagedsettings_ItemFocusAnimBorder-darkGrey_2l2lk","ItemFocusAnim-green":"gamepadpagedsettings_ItemFocusAnim-green_HSYwK",focusAnimation:"gamepadpagedsettings_focusAnimation_nKO5M",hoverAnimation:"gamepadpagedsettings_hoverAnimation_vXWdQ"}},67786:e=>{e.exports={"error-shake-duration":"500ms",SliderControlPanelGroup:"gamepadslider_SliderControlPanelGroup_MY8iY",SliderControlAndNotches:"gamepadslider_SliderControlAndNotches_1Cccx",WithDefaultValue:"gamepadslider_WithDefaultValue_1t8of",SliderControl:"gamepadslider_SliderControl_3o137",Disabled:"gamepadslider_Disabled_1lI1N",SliderTrack:"gamepadslider_SliderTrack_Mq25N",SliderHasNotches:"gamepadslider_SliderHasNotches_2XiAy",SliderTrackDark:"gamepadslider_SliderTrackDark_3UIUD",SliderHandleContainer:"gamepadslider_SliderHandleContainer_1pQZi",VerticalLineSliderHandleContainer:"gamepadslider_VerticalLineSliderHandleContainer_1lQz2",ParenSliderHandleContainer:"gamepadslider_ParenSliderHandleContainer_3ubaM",SliderHandle:"gamepadslider_SliderHandle_2yVKj",SliderHandleFocusPop:"gamepadslider_SliderHandleFocusPop_2lNxL",VerticalLineSliderHandle:"gamepadslider_VerticalLineSliderHandle_i3l9t",ParenSliderHandle:"gamepadslider_ParenSliderHandle_3ZGME",Left:"gamepadslider_Left_1PL0a",SliderControlWithIcon:"gamepadslider_SliderControlWithIcon_2M8Pt",Icon:"gamepadslider_Icon_21uKi",SliderNotchContainer:"gamepadslider_SliderNotchContainer_2N-a5",SliderNotch:"gamepadslider_SliderNotch_3x6ve",AlignToEnds:"gamepadslider_AlignToEnds_2SgU_",SliderNotchLabel:"gamepadslider_SliderNotchLabel_u_sH1",AlignToLeft:"gamepadslider_AlignToLeft_3CtMn",AlignToRight:"gamepadslider_AlignToRight__eiEP",SliderNotchTick:"gamepadslider_SliderNotchTick_Fv1Ht",TickActive:"gamepadslider_TickActive_1gnUV",LabelText:"gamepadslider_LabelText_1-PvK",DescriptionValue:"gamepadslider_DescriptionValue_2oRwF",EditableValue:"gamepadslider_EditableValue_2DXnl",FakeEditableValue:"gamepadslider_FakeEditableValue_1-lyB",RedBorder:"gamepadslider_RedBorder_1h5To",ErrorShake:"gamepadslider_ErrorShake_2SGoM","error-shake":"gamepadslider_error-shake_3HxdO",CompoundSlider:"gamepadslider_CompoundSlider_3Q4jT",CompoundSliderSubSlider:"gamepadslider_CompoundSliderSubSlider_20HO3",Right:"gamepadslider_Right_syN8n",CompoundSliderSubSliderLabelContainer:"gamepadslider_CompoundSliderSubSliderLabelContainer_1h_oe",CompoundSliderSubSliderLabelPositioner:"gamepadslider_CompoundSliderSubSliderLabelPositioner_mKcUn",CompoundSliderSubSliderLabel:"gamepadslider_CompoundSliderSubSliderLabel_iYrz9",CompoundSliderSubSliderLabelInternal:"gamepadslider_CompoundSliderSubSliderLabelInternal_1dkDU",DefaultValueTickContainer:"gamepadslider_DefaultValueTickContainer_23F6A",DefaultValueTick:"gamepadslider_DefaultValueTick_1WFYb"}},67892:e=>{e.exports={"duration-app-launch":"800ms",PagedSettingsDialog:"pagedsettings_PagedSettingsDialog_3I6h_",PagedSettingsDialog_PageContent:"pagedsettings_PagedSettingsDialog_PageContent_1I3Ni",NoPadding:"pagedsettings_NoPadding_1iWhH",PagedSettingsDialog_PageListColumn:"pagedsettings_PagedSettingsDialog_PageListColumn_RTicB",Hidden:"pagedsettings_Hidden_1uk_4",NewNoteButton:"pagedsettings_NewNoteButton_sc_I7",PagedSettingsDialog_Title:"pagedsettings_PagedSettingsDialog_Title_3qEgQ",PagedSettingsDialog_PageList:"pagedsettings_PagedSettingsDialog_PageList__EebF",PagedSettingsDialog_PageList_DisableScrolling:"pagedsettings_PagedSettingsDialog_PageList_DisableScrolling_36Srg",PagedSettingsDialog_PageListItem:"pagedsettings_PagedSettingsDialog_PageListItem_bkfjn",PageListItem_Icon:"pagedsettings_PageListItem_Icon_U6HcK",PageListItem_Title:"pagedsettings_PageListItem_Title_2X9_I",DisabledItem:"pagedsettings_DisabledItem_1RDp9",Active:"pagedsettings_Active_Myra7",PageListSpacer:"pagedsettings_PageListSpacer_33lCZ",PageListSeparator:"pagedsettings_PageListSeparator_1UEEm",Transparent:"pagedsettings_Transparent_SeoUZ",HidePageListButton:"pagedsettings_HidePageListButton_3i4Ep"}},47819:e=>{e.exports={Group:"radio_Group_2qYC3",Button:"radio_Button_3lwcR",Active:"radio_Active_3ZBFo"}},78003:e=>{e.exports={Toggle:"toggle_Toggle_3jXWQ",Disabled:"toggle_Disabled_2V_kU",ToggleRail:"toggle_ToggleRail_GKYwH",Highlight:"toggle_Highlight_2l9tH",On:"toggle_On_1YqUA",Off:"toggle_Off_3_gMX",ToggleSwitch:"toggle_ToggleSwitch_2mW8B",ToggleRow:"toggle_ToggleRow_RFRVY",Label:"toggle_Label_2sb8q"}},40971:e=>{e.exports={Spinner:"gamepadui_svg_library_Spinner_2Hc4f",SpinnerSpokeFade:"gamepadui_svg_library_SpinnerSpokeFade_2QBT4",WirelessConnectingActive:"gamepadui_svg_library_WirelessConnectingActive_UCVKt",WifiBar1:"gamepadui_svg_library_WifiBar1_25g4S",WifiBar1Anim:"gamepadui_svg_library_WifiBar1Anim_3WnTD",WifiBar2:"gamepadui_svg_library_WifiBar2_1Utwl",WifiBar2Anim:"gamepadui_svg_library_WifiBar2Anim_3BoKo",WifiBar3:"gamepadui_svg_library_WifiBar3_zZxOy",WifiBar3Anim:"gamepadui_svg_library_WifiBar3Anim_1C2Pj",WifiBar4:"gamepadui_svg_library_WifiBar4_23OJc",WifiBar4Anim:"gamepadui_svg_library_WifiBar4Anim_bMD58",GenericGamepadHighlight:"gamepadui_svg_library_GenericGamepadHighlight_1zfyD"}},78180:e=>{e.exports={BodyNoScroll:"modals_BodyNoScroll_3ItVl",BodyNoScrollDialog:"modals_BodyNoScrollDialog_3lrlA",OverlayModal:"modals_OverlayModal_1RM4p",GamepadOnlyModalWrapper:"modals_GamepadOnlyModalWrapper_3tgce",GamepadOnlyPanelWrapper:"modals_GamepadOnlyPanelWrapper_1vgBE"}},29061:e=>{e.exports={ManualOverlayContainer:"logsettings_ManualOverlayContainer_1iHWa",DropDownRow:"logsettings_DropDownRow_b20-b",IconContainer:"logsettings_IconContainer_2w5uF",Label:"logsettings_Label_1RRTQ"}},35266:e=>{e.exports={v6:"shared_common_v6_3r3Le",SubText:"shared_common_SubText_3Ctn8",AvatarImageContainer:"shared_common_AvatarImageContainer_10L8e",GameImageContainer:"shared_common_GameImageContainer_2opUa",AvatarImage:"shared_common_AvatarImage_3GB71",STV_HomeGridPreviewDetails:"shared_common_STV_HomeGridPreviewDetails_h3usS",ChatAvatarImage:"shared_common_ChatAvatarImage_1GZJG",EditButton:"shared_common_EditButton_utVo_",Small:"shared_common_Small_2MbrV",FlexCenter:"shared_common_FlexCenter_24qeH",ThrobberCtn:"shared_common_ThrobberCtn_r-SBj",MarkdownLink:"shared_common_MarkdownLink_2KgeH",SummaryTextArea:"shared_common_SummaryTextArea_2xqdR",RemoveIcon:"shared_common_RemoveIcon_1iOrE"}},99727:e=>{e.exports={EmoticonBow:"shared_svg_library_EmoticonBow_S9_rt",EmoticonBow_st0:"shared_svg_library_EmoticonBow_st0_1MS_8",EmoticonBow_st1:"shared_svg_library_EmoticonBow_st1_3nqUN",SteamDeckCompatInfo:"shared_svg_library_SteamDeckCompatInfo_2LcFI",SteamDeckCompatLogo:"shared_svg_library_SteamDeckCompatLogo_Tplfb",SteamDeckCompatIcon:"shared_svg_library_SteamDeckCompatIcon_2hEWY",SteamDeckCompatVerified:"shared_svg_library_SteamDeckCompatVerified_3mvZq",SteamDeckCompatPlayable:"shared_svg_library_SteamDeckCompatPlayable_S7BDm",SteamDeckCompatUnsupported:"shared_svg_library_SteamDeckCompatUnsupported_1SeOP",SteamDeckCompatUnknown:"shared_svg_library_SteamDeckCompatUnknown_15dEs"}},67009:e=>{e.exports={TextToolTip:"tooltip_TextToolTip_29b2a",ToolTipCustom:"tooltip_ToolTipCustom_3Dt__",ToolTipTitle:"tooltip_ToolTipTitle_3YNfm",Center:"tooltip_Center_2-PU0",ToolTipInsetContent:"tooltip_ToolTipInsetContent_1nxOn"}},96931:e=>{e.exports={TransitionGroup:"overlappingtransition_TransitionGroup_11Twu",ContentWrapper:"overlappingtransition_ContentWrapper_1knAs"}},46132:(e,t,n)=>{"use strict";function r(e){return 3==e||6==e}function i(e){return 5==e||6==e}n.d(t,{IF:()=>T,MR:()=>m,QS:()=>o,YO:()=>a,Z3:()=>s,dt:()=>l,eV:()=>c,fk:()=>i,gg:()=>b,jM:()=>d,j_:()=>u,my:()=>r,px:()=>h});const o=1,a=4;const s="18446744073709551615";function l(e,t="en"){switch(e){case 0:return"en";case 1:return"de";case 2:return"fr";case 3:return"it";case 4:return"ko";case 5:return"es";case 6:return"zh-cn";case 7:return"zh-tw";case 8:return"ru";case 9:return"th";case 10:return"ja";case 11:return"pt";case 12:return"pl";case 13:return"da";case 14:return"nl";case 15:return"fi";case 16:return"no";case 17:return"sv";case 18:return"hu";case 19:return"cs";case 20:return"ro";case 21:return"tr";case 25:return"ar";case 22:return"pt-br";case 23:return"bg";case 24:return"el";case 26:return"uk";case 27:return"es-419";case 28:return"vi";case 29:return"sc-sc";case 30:return"id";default:return t}}const c=e=>"koreana"===e?"korean":e;function u(e,t=""){switch(e){case 0:return"english";case 1:return"german";case 2:return"french";case 3:return"italian";case 4:return"koreana";case 5:return"spanish";case 6:return"schinese";case 7:return"tchinese";case 8:return"russian";case 9:return"thai";case 10:return"japanese";case 11:return"portuguese";case 12:return"polish";case 13:return"danish";case 14:return"dutch";case 15:return"finnish";case 16:return"norwegian";case 17:return"swedish";case 18:return"hungarian";case 19:return"czech";case 20:return"romanian";case 21:return"turkish";case 25:return"arabic";case 22:return"brazilian";case 23:return"bulgarian";case 24:return"greek";case 26:return"ukrainian";case 27:return"latam";case 28:return"vietnamese";case 29:return"sc_schinese";case 30:return"indonesian";default:return t}}function d(e,t=0){switch(e){case"english":return 0;case"german":return 1;case"french":return 2;case"italian":return 3;case"korean":case"koreana":return 4;case"spanish":return 5;case"schinese":return 6;case"tchinese":return 7;case"russian":return 8;case"thai":return 9;case"japanese":return 10;case"portuguese":return 11;case"polish":return 12;case"danish":return 13;case"dutch":return 14;case"finnish":return 15;case"norwegian":return 16;case"swedish":return 17;case"hungarian":return 18;case"czech":return 19;case"romanian":return 20;case"turkish":return 21;case"arabic":return 25;case"brazilian":return 22;case"bulgarian":return 23;case"greek":return 24;case"ukrainian":return 26;case"latam":return 27;case"vietnamese":return 28;case"sc_schinese":return 29;case"indonesian":return 30;default:return t}}function m(e){switch(e){case 0:default:return"default";case 1:return"pw_dota2";case 2:return"nexon_dota2";case 3:return"steamcmd";case 4:return"pw_csgo";case 5:return"clientui";case 6:return"steamhdl";case 7:return"steamchina";case 8:return"singleapp";case 9:return"gameserver"}}function h(e){switch(e){default:break;case 4:case 1:case 8:return!0}return!1}var p,_,g,f,v,C,E,b,w,S,y,I,R,D,M,T;!function(e){e[e.k_EConnectivityTestResult_Unknown=0]="k_EConnectivityTestResult_Unknown",e[e.k_EConnectivityTestResult_Connected=1]="k_EConnectivityTestResult_Connected",e[e.k_EConnectivityTestResult_CaptivePortal=2]="k_EConnectivityTestResult_CaptivePortal",e[e.k_EConnectivityTestResult_TimedOut=3]="k_EConnectivityTestResult_TimedOut",e[e.k_EConnectivityTestResult_Failed=4]="k_EConnectivityTestResult_Failed",e[e.k_EConnectivityTestResult_WifiDisabled=5]="k_EConnectivityTestResult_WifiDisabled",e[e.k_EConnectivityTestResult_NoLAN=6]="k_EConnectivityTestResult_NoLAN"}(p||(p={})),function(e){e[e.k_ENetFakeLocalSystemState_Normal=0]="k_ENetFakeLocalSystemState_Normal",e[e.k_ENetFakeLocalSystemState_NoLAN=1]="k_ENetFakeLocalSystemState_NoLAN",e[e.k_ENetFakeLocalSystemState_CaptivePortal_Redirected=2]="k_ENetFakeLocalSystemState_CaptivePortal_Redirected",e[e.k_ENetFakeLocalSystemState_CaptivePortal_InPlace=3]="k_ENetFakeLocalSystemState_CaptivePortal_InPlace",e[e.k_ENetFakeLocalSystemState_NoInternet=4]="k_ENetFakeLocalSystemState_NoInternet",e[e.k_ENetFakeLocalSystemState_NoSteam=5]="k_ENetFakeLocalSystemState_NoSteam"}(_||(_={})),function(e){e[e.k_ESuspendResumeProgressState_Invalid=0]="k_ESuspendResumeProgressState_Invalid",e[e.k_ESuspendResumeProgressState_Complete=1]="k_ESuspendResumeProgressState_Complete",e[e.k_ESuspendResumeProgressState_CloudSync=2]="k_ESuspendResumeProgressState_CloudSync",e[e.k_ESuspendResumeProgressState_LoggingIn=3]="k_ESuspendResumeProgressState_LoggingIn",e[e.k_ESuspendResumeProgressState_WaitingForApp=4]="k_ESuspendResumeProgressState_WaitingForApp",e[e.k_ESuspendResumeProgressState_Working=5]="k_ESuspendResumeProgressState_Working"}(g||(g={})),function(e){e[e.k_EFloatingGamepadTextInputModeModeSingleLine=0]="k_EFloatingGamepadTextInputModeModeSingleLine",e[e.k_EFloatingGamepadTextInputModeModeMultipleLines=1]="k_EFloatingGamepadTextInputModeModeMultipleLines",e[e.k_EFloatingGamepadTextInputModeModeEmail=2]="k_EFloatingGamepadTextInputModeModeEmail",e[e.k_EFloatingGamepadTextInputModeModeNumeric=3]="k_EFloatingGamepadTextInputModeModeNumeric"}(f||(f={})),function(e){e[e.k_EAppUpdateContentType_Content=0]="k_EAppUpdateContentType_Content",e[e.k_EAppUpdateContentType_Workshop=1]="k_EAppUpdateContentType_Workshop",e[e.k_EAppUpdateContentType_Shader=2]="k_EAppUpdateContentType_Shader",e[e.k_EAppUpdateContentType_Max=3]="k_EAppUpdateContentType_Max"}(v||(v={})),function(e){e[e.k_EOverlayToStoreFlag_None=0]="k_EOverlayToStoreFlag_None",e[e.k_EOverlayToStoreFlag_AddToCart=1]="k_EOverlayToStoreFlag_AddToCart",e[e.k_EOverlayToStoreFlag_AddToCartAndShow=2]="k_EOverlayToStoreFlag_AddToCartAndShow"}(C||(C={})),function(e){e[e.k_EActivateGameOverlayToWebPageMode_Default=0]="k_EActivateGameOverlayToWebPageMode_Default",e[e.k_EActivateGameOverlayToWebPageMode_Modal=1]="k_EActivateGameOverlayToWebPageMode_Modal"}(E||(E={})),function(e){e[e.k_EGamingDeviceType_Unknown=0]="k_EGamingDeviceType_Unknown",e[e.k_EGamingDeviceType_StandardPC=1]="k_EGamingDeviceType_StandardPC",e[e.k_EGamingDeviceType_Console=256]="k_EGamingDeviceType_Console",e[e.k_EGamingDeviceType_PS3=272]="k_EGamingDeviceType_PS3",e[e.k_EGamingDeviceType_Steambox=288]="k_EGamingDeviceType_Steambox",e[e.k_EGamingDeviceType_Handheld=512]="k_EGamingDeviceType_Handheld",e[e.k_EGamingDeviceType_Phone=528]="k_EGamingDeviceType_Phone",e[e.k_EGamingDeviceType_SteamDeck=544]="k_EGamingDeviceType_SteamDeck"}(b||(b={})),function(e){e[e.k_ELoginUIStyleOld=0]="k_ELoginUIStyleOld",e[e.k_ELoginUIStyleNewWithoutQRCode=1]="k_ELoginUIStyleNewWithoutQRCode",e[e.k_ELoginUIStyleNew=2]="k_ELoginUIStyleNew"}(w||(w={})),function(e){e[e.k_ECommunityProfileItemProperty_ImageSmall=0]="k_ECommunityProfileItemProperty_ImageSmall",e[e.k_ECommunityProfileItemProperty_ImageLarge=1]="k_ECommunityProfileItemProperty_ImageLarge",e[e.k_ECommunityProfileItemProperty_InternalName=2]="k_ECommunityProfileItemProperty_InternalName",e[e.k_ECommunityProfileItemProperty_Title=3]="k_ECommunityProfileItemProperty_Title",e[e.k_ECommunityProfileItemProperty_Description=4]="k_ECommunityProfileItemProperty_Description",e[e.k_ECommunityProfileItemProperty_AppID=5]="k_ECommunityProfileItemProperty_AppID",e[e.k_ECommunityProfileItemProperty_TypeID=6]="k_ECommunityProfileItemProperty_TypeID",e[e.k_ECommunityProfileItemProperty_Class=7]="k_ECommunityProfileItemProperty_Class",e[e.k_ECommunityProfileItemProperty_MovieWebM=8]="k_ECommunityProfileItemProperty_MovieWebM",e[e.k_ECommunityProfileItemProperty_MovieMP4=9]="k_ECommunityProfileItemProperty_MovieMP4",e[e.k_ECommunityProfileItemProperty_MovieWebMSmall=10]="k_ECommunityProfileItemProperty_MovieWebMSmall",e[e.k_ECommunityProfileItemProperty_MovieMP4Small=11]="k_ECommunityProfileItemProperty_MovieMP4Small"}(S||(S={})),function(e){e[e.k_ERaiseGameWindowResult_NotRunning=1]="k_ERaiseGameWindowResult_NotRunning",e[e.k_ERaiseGameWindowResult_Success=2]="k_ERaiseGameWindowResult_Success",e[e.k_ERaiseGameWindowResult_Failure=3]="k_ERaiseGameWindowResult_Failure"}(y||(y={})),function(e){e[e.k_EPositionInvalid=-1]="k_EPositionInvalid",e[e.k_EPositionTopLeft=0]="k_EPositionTopLeft",e[e.k_EPositionTopRight=1]="k_EPositionTopRight",e[e.k_EPositionBottomLeft=2]="k_EPositionBottomLeft",e[e.k_EPositionBottomRight=3]="k_EPositionBottomRight"}(I||(I={})),function(e){e[e.k_EAppReleaseState_Unknown=0]="k_EAppReleaseState_Unknown",e[e.k_EAppReleaseState_Unavailable=1]="k_EAppReleaseState_Unavailable",e[e.k_EAppReleaseState_Prerelease=2]="k_EAppReleaseState_Prerelease",e[e.k_EAppReleaseState_PreloadOnly=3]="k_EAppReleaseState_PreloadOnly",e[e.k_EAppReleaseState_Released=4]="k_EAppReleaseState_Released",e[e.k_EAppReleaseState_Disabled=5]="k_EAppReleaseState_Disabled"}(R||(R={})),function(e){e[e.k_EGameIDTypeApp=0]="k_EGameIDTypeApp",e[e.k_EGameIDTypeGameMod=1]="k_EGameIDTypeGameMod",e[e.k_EGameIDTypeShortcut=2]="k_EGameIDTypeShortcut",e[e.k_EGameIDTypeP2P=3]="k_EGameIDTypeP2P"}(D||(D={})),function(e){e[e.k_EInstallMgrStateNone=0]="k_EInstallMgrStateNone",e[e.k_EInstallMgrStateSetup=1]="k_EInstallMgrStateSetup",e[e.k_EInstallMgrStateWaitLicense=2]="k_EInstallMgrStateWaitLicense",e[e.k_EInstallMgrStateFreeLicense=3]="k_EInstallMgrStateFreeLicense",e[e.k_EInstallMgrStateShowCDKey=4]="k_EInstallMgrStateShowCDKey",e[e.k_EInstallMgrStateWaitAppInfo=5]="k_EInstallMgrStateWaitAppInfo",e[e.k_EInstallMgrStateShowPassword=6]="k_EInstallMgrStateShowPassword",e[e.k_EInstallMgrStateShowConfig=7]="k_EInstallMgrStateShowConfig",e[e.k_EInstallMgrStateShowEULAs=8]="k_EInstallMgrStateShowEULAs",e[e.k_EInstallMgrStateCreateApps=9]="k_EInstallMgrStateCreateApps",e[e.k_EInstallMgrStateReadFromMedia=10]="k_EInstallMgrStateReadFromMedia",e[e.k_EInstallMgrStateShowChangeMedia=11]="k_EInstallMgrStateShowChangeMedia",e[e.k_EInstallMgrStateWaitLegacyCDKeys=12]="k_EInstallMgrStateWaitLegacyCDKeys",e[e.k_EInstallMgrStateShowSignup=13]="k_EInstallMgrStateShowSignup",e[e.k_EInstallMgrStateComplete=14]="k_EInstallMgrStateComplete",e[e.k_EInstallMgrStateFailed=15]="k_EInstallMgrStateFailed",e[e.k_EInstallMgrStateCanceled=16]="k_EInstallMgrStateCanceled"}(M||(M={})),function(e){e[e.k_EWindowBringToFrontInvalid=0]="k_EWindowBringToFrontInvalid",e[e.k_EWindowBringToFrontAndForceOS=1]="k_EWindowBringToFrontAndForceOS",e[e.k_EWindowBringToFrontWithoutForcingOS=2]="k_EWindowBringToFrontWithoutForcingOS"}(T||(T={}))},18061:(e,t,n)=>{"use strict";var r,i;n.d(t,{A:()=>i}),function(e){e[e.k_EControllerBindingType_None=0]="k_EControllerBindingType_None",e[e.k_EControllerBindingType_Key=1]="k_EControllerBindingType_Key",e[e.k_EControllerBindingType_MouseButton=2]="k_EControllerBindingType_MouseButton",e[e.k_EControllerBindingType_Gamepad=3]="k_EControllerBindingType_Gamepad",e[e.k_EControllerBindingType_Mousewheel=4]="k_EControllerBindingType_Mousewheel",e[e.k_EControllerBindingType_Modeshift=5]="k_EControllerBindingType_Modeshift",e[e.k_EControllerBindingType_GameAction=6]="k_EControllerBindingType_GameAction",e[e.k_EControllerBindingType_ControllerAction=7]="k_EControllerBindingType_ControllerAction"}(r||(r={})),function(e){e[e.GAMEPAD_BUTTON_A=0]="GAMEPAD_BUTTON_A",e[e.GAMEPAD_BUTTON_B=1]="GAMEPAD_BUTTON_B",e[e.GAMEPAD_BUTTON_X=2]="GAMEPAD_BUTTON_X",e[e.GAMEPAD_BUTTON_Y=3]="GAMEPAD_BUTTON_Y",e[e.GAMEPAD_BUTTON_DPAD_UP=4]="GAMEPAD_BUTTON_DPAD_UP",e[e.GAMEPAD_BUTTON_DPAD_RIGHT=5]="GAMEPAD_BUTTON_DPAD_RIGHT",e[e.GAMEPAD_BUTTON_DPAD_DOWN=6]="GAMEPAD_BUTTON_DPAD_DOWN",e[e.GAMEPAD_BUTTON_DPAD_LEFT=7]="GAMEPAD_BUTTON_DPAD_LEFT",e[e.GAMEPAD_BUTTON_MENU=8]="GAMEPAD_BUTTON_MENU",e[e.GAMEPAD_BUTTON_VIEW=9]="GAMEPAD_BUTTON_VIEW",e[e.GAMEPAD_LEFTPAD_UP=10]="GAMEPAD_LEFTPAD_UP",e[e.GAMEPAD_LEFTPAD_DOWN=11]="GAMEPAD_LEFTPAD_DOWN",e[e.GAMEPAD_LEFTPAD_LEFT=12]="GAMEPAD_LEFTPAD_LEFT",e[e.GAMEPAD_LEFTPAD_RIGHT=13]="GAMEPAD_LEFTPAD_RIGHT",e[e.GAMEPAD_LEFTPAD_ANALOG=14]="GAMEPAD_LEFTPAD_ANALOG",e[e.GAMEPAD_RIGHTPAD_UP=15]="GAMEPAD_RIGHTPAD_UP",e[e.GAMEPAD_RIGHTPAD_DOWN=16]="GAMEPAD_RIGHTPAD_DOWN",e[e.GAMEPAD_RIGHTPAD_LEFT=17]="GAMEPAD_RIGHTPAD_LEFT",e[e.GAMEPAD_RIGHTPAD_RIGHT=18]="GAMEPAD_RIGHTPAD_RIGHT",e[e.GAMEPAD_RIGHTPAD_ANALOG=19]="GAMEPAD_RIGHTPAD_ANALOG",e[e.GAMEPAD_LEFTSTICK_UP=20]="GAMEPAD_LEFTSTICK_UP",e[e.GAMEPAD_LEFTSTICK_DOWN=21]="GAMEPAD_LEFTSTICK_DOWN",e[e.GAMEPAD_LEFTSTICK_LEFT=22]="GAMEPAD_LEFTSTICK_LEFT",e[e.GAMEPAD_LEFTSTICK_RIGHT=23]="GAMEPAD_LEFTSTICK_RIGHT",e[e.GAMEPAD_LEFTSTICK_ANALOG=24]="GAMEPAD_LEFTSTICK_ANALOG",e[e.GAMEPAD_LEFTSTICK_CLICK=25]="GAMEPAD_LEFTSTICK_CLICK",e[e.GAMEPAD_LTRIGGER_ANALOG=26]="GAMEPAD_LTRIGGER_ANALOG",e[e.GAMEPAD_RTRIGGER_ANALOG=27]="GAMEPAD_RTRIGGER_ANALOG",e[e.GAMEPAD_BUTTON_LTRIGGER=28]="GAMEPAD_BUTTON_LTRIGGER",e[e.GAMEPAD_BUTTON_RTRIGGER=29]="GAMEPAD_BUTTON_RTRIGGER",e[e.GAMEPAD_BUTTON_LSHOULDER=30]="GAMEPAD_BUTTON_LSHOULDER",e[e.GAMEPAD_BUTTON_RSHOULDER=31]="GAMEPAD_BUTTON_RSHOULDER",e[e.GAMEPAD_BUTTON_LBACK=32]="GAMEPAD_BUTTON_LBACK",e[e.GAMEPAD_BUTTON_RBACK=33]="GAMEPAD_BUTTON_RBACK",e[e.GAMEPAD_BUTTON_GUIDE=34]="GAMEPAD_BUTTON_GUIDE",e[e.GAMEPAD_BUTTON_SELECT=35]="GAMEPAD_BUTTON_SELECT",e[e.GAMEPAD_BUTTON_START=36]="GAMEPAD_BUTTON_START",e[e.GAMEPAD_BUTTON_LPAD_CLICKED=37]="GAMEPAD_BUTTON_LPAD_CLICKED",e[e.GAMEPAD_BUTTON_LPAD_TOUCH=38]="GAMEPAD_BUTTON_LPAD_TOUCH",e[e.GAMEPAD_BUTTON_RPAD_CLICKED=39]="GAMEPAD_BUTTON_RPAD_CLICKED",e[e.GAMEPAD_BUTTON_RPAD_TOUCH=40]="GAMEPAD_BUTTON_RPAD_TOUCH",e[e.GAMEPAD_RIGHTSTICK_CLICK=41]="GAMEPAD_RIGHTSTICK_CLICK",e[e.GAMEPAD_RIGHTSTICK_TOUCH=42]="GAMEPAD_RIGHTSTICK_TOUCH",e[e.GAMEPAD_LEFTSTICK_TOUCH=43]="GAMEPAD_LEFTSTICK_TOUCH",e[e.GAMEPAD_BUTTON_LBACK_UPPER=44]="GAMEPAD_BUTTON_LBACK_UPPER",e[e.GAMEPAD_BUTTON_RBACK_UPPER=45]="GAMEPAD_BUTTON_RBACK_UPPER",e[e.GAMEPAD_BUTTON_LAST=46]="GAMEPAD_BUTTON_LAST",e[e.GAMEPAD_ANALOG_SCROLL=47]="GAMEPAD_ANALOG_SCROLL",e[e.GAMEPAD_ANALOG_LEFT_KEYBOARD_CURSOR=48]="GAMEPAD_ANALOG_LEFT_KEYBOARD_CURSOR",e[e.GAMEPAD_ANALOG_RIGHT_KEYBOARD_CURSOR=49]="GAMEPAD_ANALOG_RIGHT_KEYBOARD_CURSOR",e[e.GAMEPAD_ANALOG_LAST=50]="GAMEPAD_ANALOG_LAST"}(i||(i={}))},78423:(e,t,n)=>{"use strict";n.d(t,{e7:()=>l,mU:()=>y,Su:()=>p,i_:()=>u,j_:()=>i.j_,dt:()=>i.dt,IN:()=>s,Xg:()=>d,IF:()=>i.IF,eV:()=>i.eV,jM:()=>i.jM,MR:()=>i.MR,VR:()=>r,Z3:()=>i.Z3});var r={};n.r(r),n.d(r,{wb:()=>D,sH:()=>T.sH});var i=n(46132);var o,a,s;function l(e){return e===s.k_ESteamRealmChina}!function(e){e[e.Input=0]="Input",e[e.Output=1]="Output"}(o||(o={})),function(e){e[e.Input=0]="Input",e[e.AllOutput=1]="AllOutput",e[e.Left=2]="Left",e[e.Right=3]="Right",e[e.Sub=4]="Sub",e[e.BackLeft=5]="BackLeft",e[e.BackRight=6]="BackRight"}(a||(a={})),function(e){e[e.k_ESteamRealmUnknown=0]="k_ESteamRealmUnknown",e[e.k_ESteamRealmGlobal=1]="k_ESteamRealmGlobal",e[e.k_ESteamRealmChina=2]="k_ESteamRealmChina"}(s||(s={}));var c;!function(e){e[e.k_BluetoothDeviceType_Invalid=0]="k_BluetoothDeviceType_Invalid",e[e.k_BluetoothDeviceType_Unknown=1]="k_BluetoothDeviceType_Unknown",e[e.k_BluetoothDeviceType_Phone=2]="k_BluetoothDeviceType_Phone",e[e.k_BluetoothDeviceType_Computer=3]="k_BluetoothDeviceType_Computer",e[e.k_BluetoothDeviceType_Headset=4]="k_BluetoothDeviceType_Headset",e[e.k_BluetoothDeviceType_Headphones=5]="k_BluetoothDeviceType_Headphones",e[e.k_BluetoothDeviceType_Speakers=6]="k_BluetoothDeviceType_Speakers",e[e.k_BluetoothDeviceType_OtherAudio=7]="k_BluetoothDeviceType_OtherAudio",e[e.k_BluetoothDeviceType_Mouse=8]="k_BluetoothDeviceType_Mouse",e[e.k_BluetoothDeviceType_Joystick=9]="k_BluetoothDeviceType_Joystick",e[e.k_BluetoothDeviceType_Gamepad=10]="k_BluetoothDeviceType_Gamepad",e[e.k_BluetoothDeviceType_Keyboard=11]="k_BluetoothDeviceType_Keyboard"}(c||(c={}));var u,d,m,h;function p(e){return e==u.EBrowserType_OpenVROverlay||e==u.EBrowserType_OpenVROverlay_Dashboard||e==u.EBrowserType_OpenVROverlay_Subview}!function(e){e[e.EBrowserType_OffScreen=0]="EBrowserType_OffScreen",e[e.EBrowserType_OpenVROverlay=1]="EBrowserType_OpenVROverlay",e[e.EBrowserType_OpenVROverlay_Dashboard=2]="EBrowserType_OpenVROverlay_Dashboard",e[e.EBrowserType_DirectHWND=3]="EBrowserType_DirectHWND",e[e.EBrowserType_DirectHWND_Borderless=4]="EBrowserType_DirectHWND_Borderless",e[e.EBrowserType_DirectHWND_Hidden=5]="EBrowserType_DirectHWND_Hidden",e[e.EBrowserType_ChildHWNDNative=6]="EBrowserType_ChildHWNDNative",e[e.EBrowserType_Transparent_Toplevel=7]="EBrowserType_Transparent_Toplevel",e[e.EBrowserType_OffScreen_SharedTexture=8]="EBrowserType_OffScreen_SharedTexture",e[e.EBrowserType_OffScreen_GameOverlay=9]="EBrowserType_OffScreen_GameOverlay",e[e.EBrowserType_OffScreen_GameOverlay_SharedTexture=10]="EBrowserType_OffScreen_GameOverlay_SharedTexture",e[e.EBrowserType_Offscreen_FriendsUI=11]="EBrowserType_Offscreen_FriendsUI",e[e.EBrowserType_Offscreen_SteamUI=12]="EBrowserType_Offscreen_SteamUI",e[e.EBrowserType_OpenVROverlay_Subview=13]="EBrowserType_OpenVROverlay_Subview"}(u||(u={})),function(e){e[e.SystemKey0=0]="SystemKey0",e[e.SystemKey1=1]="SystemKey1"}(d||(d={})),function(e){e[e.Hidden=0]="Hidden",e[e.Notification=1]="Notification",e[e.Overlay=2]="Overlay",e[e.Opaque=3]="Opaque",e[e.OverlayKeyboard=4]="OverlayKeyboard"}(m||(m={})),function(e){e[e.MainGamepadUI=0]="MainGamepadUI",e[e.OverlayGamepadUI=1]="OverlayGamepadUI",e[e.Keyboard=2]="Keyboard",e[e.ControllerConfigurator=3]="ControllerConfigurator",e[e.VR=4]="VR",e[e.MainDesktopUI=5]="MainDesktopUI",e[e.DesktopLogin=6]="DesktopLogin",e[e.OverlayDesktopUI=7]="OverlayDesktopUI",e[e.SteamChinaReviewLauncher=8]="SteamChinaReviewLauncher"}(h||(h={}));var _;!function(e){e[e.k_EPending=0]="k_EPending",e[e.k_EAccepted=1]="k_EAccepted",e[e.k_ERejected=2]="k_ERejected"}(_||(_={}));n(18061);var g,f;!function(e){e[e.k_ERemoteClientLaunchOK=1]="k_ERemoteClientLaunchOK",e[e.k_ERemoteClientLaunchFail=2]="k_ERemoteClientLaunchFail",e[e.k_ERemoteClientLaunchRequiresUI=3]="k_ERemoteClientLaunchRequiresUI",e[e.k_ERemoteClientLaunchRequiresLaunchOption=4]="k_ERemoteClientLaunchRequiresLaunchOption",e[e.k_ERemoteClientLaunchRequiresEULA=5]="k_ERemoteClientLaunchRequiresEULA",e[e.k_ERemoteClientLaunchTimeout=6]="k_ERemoteClientLaunchTimeout",e[e.k_ERemoteClientLaunchStreamTimeout=7]="k_ERemoteClientLaunchStreamTimeout",e[e.k_ERemoteClientLaunchStreamClientFail=8]="k_ERemoteClientLaunchStreamClientFail",e[e.k_ERemoteClientLaunchOtherGameRunning=9]="k_ERemoteClientLaunchOtherGameRunning",e[e.k_ERemoteClientLaunchDownloadStarted=10]="k_ERemoteClientLaunchDownloadStarted",e[e.k_ERemoteClientLaunchDownloadNoSpace=11]="k_ERemoteClientLaunchDownloadNoSpace",e[e.k_ERemoteClientLaunchDownloadFiltered=12]="k_ERemoteClientLaunchDownloadFiltered",e[e.k_ERemoteClientLaunchDownloadRequiresUI=13]="k_ERemoteClientLaunchDownloadRequiresUI",e[e.k_ERemoteClientLaunchAccessDenied=14]="k_ERemoteClientLaunchAccessDenied",e[e.k_ERemoteClientLaunchNetworkError=15]="k_ERemoteClientLaunchNetworkError",e[e.k_ERemoteClientLaunchProgress=16]="k_ERemoteClientLaunchProgress",e[e.k_ERemoteClientLaunchParentalUnlockFailed=17]="k_ERemoteClientLaunchParentalUnlockFailed",e[e.k_ERemoteClientLaunchScreenLocked=18]="k_ERemoteClientLaunchScreenLocked",e[e.k_ERemoteClientLaunchUnsupported=19]="k_ERemoteClientLaunchUnsupported",e[e.k_ERemoteClientLaunchDisabledLocal=20]="k_ERemoteClientLaunchDisabledLocal",e[e.k_ERemoteClientLaunchDisabledRemote=21]="k_ERemoteClientLaunchDisabledRemote",e[e.k_ERemoteClientLaunchBroadcasting=22]="k_ERemoteClientLaunchBroadcasting",e[e.k_ERemoteClientLaunchBusy=23]="k_ERemoteClientLaunchBusy",e[e.k_ERemoteClientLaunchDriversNotInstalled=24]="k_ERemoteClientLaunchDriversNotInstalled",e[e.k_ERemoteClientLaunchTransportUnavailable=25]="k_ERemoteClientLaunchTransportUnavailable",e[e.k_ERemoteClientLaunchCanceled=26]="k_ERemoteClientLaunchCanceled",e[e.k_ERemoteClientLaunchInvisible=27]="k_ERemoteClientLaunchInvisible",e[e.k_ERemoteClientLaunchRestrictedCountry=28]="k_ERemoteClientLaunchRestrictedCountry"}(g||(g={})),function(e){e[e.AudioPlayback_Undefined=0]="AudioPlayback_Undefined",e[e.AudioPlayback_Playing=1]="AudioPlayback_Playing",e[e.AudioPlayback_Paused=2]="AudioPlayback_Paused",e[e.AudioPlayback_Idle=3]="AudioPlayback_Idle"}(f||(f={}));var v,C,E,b,w,S;function y(e){return"game"===e||"dlc"===e||"software"===e||"music"===e||"application"===e||"demo"===e||"hardware"===e||"mod"===e||"video"==e||"beta"===e||"advertising"===e}!function(e){e[e.Unknown=0]="Unknown",e[e.Wired=1]="Wired",e[e.Wireless=2]="Wireless",e[e.Virtual=3]="Virtual"}(v||(v={})),function(e){e[e.NotPresent=0]="NotPresent",e[e.Failed=1]="Failed",e[e.Disconnected=2]="Disconnected",e[e.Disconnecting=3]="Disconnecting",e[e.Connecting=4]="Connecting",e[e.Connected=5]="Connected",e[e.Retrying=6]="Retrying"}(C||(C={})),function(e){e[e.None=0]="None",e[e.Weak=1]="Weak",e[e.Ok=2]="Ok",e[e.Good=3]="Good",e[e.Excellent=4]="Excellent"}(E||(E={})),function(e){e[e.None=0]="None",e[e.StaticWep=1]="StaticWep",e[e.DynamicWep=2]="DynamicWep",e[e.Wpa=4]="Wpa",e[e.WpaEnterprise=8]="WpaEnterprise",e[e.Wpa2=16]="Wpa2",e[e.Wpa2Enterprise=32]="Wpa2Enterprise",e[e.Unsupported=32768]="Unsupported"}(b||(b={})),function(e){e[e.k_EHTTPProxyMode_Invalid=0]="k_EHTTPProxyMode_Invalid",e[e.k_EHTTPProxyMode_None=1]="k_EHTTPProxyMode_None",e[e.k_EHTTPProxyMode_Manual=2]="k_EHTTPProxyMode_Manual",e[e.k_EHTTPProxyMode_Automatic=3]="k_EHTTPProxyMode_Automatic"}(w||(w={})),function(e){e[e.k_EClientUINotificationGroupChatMessage=1]="k_EClientUINotificationGroupChatMessage",e[e.k_EClientUINotificationFriendChatMessage=2]="k_EClientUINotificationFriendChatMessage",e[e.k_EClientUINotificationFriendPersonaState=3]="k_EClientUINotificationFriendPersonaState"}(S||(S={}));var I,R,D,M;!function(e){e[e.k_EComputerActiveStateInvalid=0]="k_EComputerActiveStateInvalid",e[e.k_EComputerActiveStateActive=1]="k_EComputerActiveStateActive",e[e.k_EComputerActiveStateIdle=2]="k_EComputerActiveStateIdle"}(I||(I={})),function(e){e[e.k_EClientUsedInputTypeKeyboard=0]="k_EClientUsedInputTypeKeyboard",e[e.k_EClientUsedInputTypeMouse=1]="k_EClientUsedInputTypeMouse",e[e.k_EClientUsedInputTypeController=2]="k_EClientUsedInputTypeController",e[e.k_EClientUsedInputTypeMax=3]="k_EClientUsedInputTypeMax"}(R||(R={})),function(e){e[e.k_EVRError_None=0]="k_EVRError_None",e[e.k_EVRError_VRSkipParam=1]="k_EVRError_VRSkipParam",e[e.k_EVRError_ComponentNotInstalled=2]="k_EVRError_ComponentNotInstalled",e[e.k_EVRError_ComponentBusy=3]="k_EVRError_ComponentBusy",e[e.k_EVRError_CrashProtection=4]="k_EVRError_CrashProtection",e[e.k_EVRError_HmdError=5]="k_EVRError_HmdError",e[e.k_EVRError_PathChanged=6]="k_EVRError_PathChanged"}(D||(D={})),function(e){e[e.VRInitError_None=0]="VRInitError_None",e[e.VRInitError_Unknown=1]="VRInitError_Unknown",e[e.VRInitError_Init_InstallationNotFound=100]="VRInitError_Init_InstallationNotFound",e[e.VRInitError_Init_InstallationCorrupt=101]="VRInitError_Init_InstallationCorrupt",e[e.VRInitError_Init_VRClientDLLNotFound=102]="VRInitError_Init_VRClientDLLNotFound",e[e.VRInitError_Init_FileNotFound=103]="VRInitError_Init_FileNotFound",e[e.VRInitError_Init_FactoryNotFound=104]="VRInitError_Init_FactoryNotFound",e[e.VRInitError_Init_InterfaceNotFound=105]="VRInitError_Init_InterfaceNotFound",e[e.VRInitError_Init_InvalidInterface=106]="VRInitError_Init_InvalidInterface",e[e.VRInitError_Init_UserConfigDirectoryInvalid=107]="VRInitError_Init_UserConfigDirectoryInvalid",e[e.VRInitError_Init_HmdNotFound=108]="VRInitError_Init_HmdNotFound",e[e.VRInitError_Init_NotInitialized=109]="VRInitError_Init_NotInitialized",e[e.VRInitError_Init_PathRegistryNotFound=110]="VRInitError_Init_PathRegistryNotFound",e[e.VRInitError_Init_NoConfigPath=111]="VRInitError_Init_NoConfigPath",e[e.VRInitError_Init_NoLogPath=112]="VRInitError_Init_NoLogPath",e[e.VRInitError_Init_PathRegistryNotWritable=113]="VRInitError_Init_PathRegistryNotWritable",e[e.VRInitError_Init_AppInfoInitFailed=114]="VRInitError_Init_AppInfoInitFailed",e[e.VRInitError_Init_Retry=115]="VRInitError_Init_Retry",e[e.VRInitError_Init_InitCanceledByUser=116]="VRInitError_Init_InitCanceledByUser",e[e.VRInitError_Init_AnotherAppLaunching=117]="VRInitError_Init_AnotherAppLaunching",e[e.VRInitError_Init_SettingsInitFailed=118]="VRInitError_Init_SettingsInitFailed",e[e.VRInitError_Init_ShuttingDown=119]="VRInitError_Init_ShuttingDown",e[e.VRInitError_Init_TooManyObjects=120]="VRInitError_Init_TooManyObjects",e[e.VRInitError_Init_NoServerForBackgroundApp=121]="VRInitError_Init_NoServerForBackgroundApp",e[e.VRInitError_Init_NotSupportedWithCompositor=122]="VRInitError_Init_NotSupportedWithCompositor",e[e.VRInitError_Init_NotAvailableToUtilityApps=123]="VRInitError_Init_NotAvailableToUtilityApps",e[e.VRInitError_Init_Internal=124]="VRInitError_Init_Internal",e[e.VRInitError_Init_HmdDriverIdIsNone=125]="VRInitError_Init_HmdDriverIdIsNone",e[e.VRInitError_Init_HmdNotFoundPresenceFailed=126]="VRInitError_Init_HmdNotFoundPresenceFailed",e[e.VRInitError_Init_VRMonitorNotFound=127]="VRInitError_Init_VRMonitorNotFound",e[e.VRInitError_Init_VRMonitorStartupFailed=128]="VRInitError_Init_VRMonitorStartupFailed",e[e.VRInitError_Init_LowPowerWatchdogNotSupported=129]="VRInitError_Init_LowPowerWatchdogNotSupported",e[e.VRInitError_Init_InvalidApplicationType=130]="VRInitError_Init_InvalidApplicationType",e[e.VRInitError_Init_NotAvailableToWatchdogApps=131]="VRInitError_Init_NotAvailableToWatchdogApps",e[e.VRInitError_Init_WatchdogDisabledInSettings=132]="VRInitError_Init_WatchdogDisabledInSettings",e[e.VRInitError_Init_VRDashboardNotFound=133]="VRInitError_Init_VRDashboardNotFound",e[e.VRInitError_Init_VRDashboardStartupFailed=134]="VRInitError_Init_VRDashboardStartupFailed",e[e.VRInitError_Init_VRHomeNotFound=135]="VRInitError_Init_VRHomeNotFound",e[e.VRInitError_Init_VRHomeStartupFailed=136]="VRInitError_Init_VRHomeStartupFailed",e[e.VRInitError_Init_RebootingBusy=137]="VRInitError_Init_RebootingBusy",e[e.VRInitError_Init_FirmwareUpdateBusy=138]="VRInitError_Init_FirmwareUpdateBusy",e[e.VRInitError_Init_FirmwareRecoveryBusy=139]="VRInitError_Init_FirmwareRecoveryBusy",e[e.VRInitError_Init_USBServiceBusy=140]="VRInitError_Init_USBServiceBusy",e[e.VRInitError_Init_VRWebHelperStartupFailed=141]="VRInitError_Init_VRWebHelperStartupFailed",e[e.VRInitError_Init_TrackerManagerInitFailed=142]="VRInitError_Init_TrackerManagerInitFailed",e[e.VRInitError_Init_AlreadyRunning=143]="VRInitError_Init_AlreadyRunning",e[e.VRInitError_Init_FailedForVrMonitor=144]="VRInitError_Init_FailedForVrMonitor",e[e.VRInitError_Init_PropertyManagerInitFailed=145]="VRInitError_Init_PropertyManagerInitFailed",e[e.VRInitError_Init_WebServerFailed=146]="VRInitError_Init_WebServerFailed",e[e.VRInitError_Init_IllegalTypeTransition=147]="VRInitError_Init_IllegalTypeTransition",e[e.VRInitError_Init_MismatchedRuntimes=148]="VRInitError_Init_MismatchedRuntimes",e[e.VRInitError_Init_InvalidProcessId=149]="VRInitError_Init_InvalidProcessId",e[e.VRInitError_Init_VRServiceStartupFailed=150]="VRInitError_Init_VRServiceStartupFailed",e[e.VRInitError_Init_PrismNeedsNewDrivers=151]="VRInitError_Init_PrismNeedsNewDrivers",e[e.VRInitError_Init_PrismStartupTimedOut=152]="VRInitError_Init_PrismStartupTimedOut",e[e.VRInitError_Init_CouldNotStartPrism=153]="VRInitError_Init_CouldNotStartPrism",e[e.VRInitError_Init_PrismClientInitFailed=154]="VRInitError_Init_PrismClientInitFailed",e[e.VRInitError_Init_PrismClientStartFailed=155]="VRInitError_Init_PrismClientStartFailed",e[e.VRInitError_Init_PrismExitedUnexpectedly=156]="VRInitError_Init_PrismExitedUnexpectedly",e[e.VRInitError_Init_BadLuid=157]="VRInitError_Init_BadLuid",e[e.VRInitError_Init_NoServerForAppContainer=158]="VRInitError_Init_NoServerForAppContainer",e[e.VRInitError_Init_DuplicateBootstrapper=159]="VRInitError_Init_DuplicateBootstrapper",e[e.VRInitError_Init_VRDashboardServicePending=160]="VRInitError_Init_VRDashboardServicePending",e[e.VRInitError_Init_VRDashboardServiceTimeout=161]="VRInitError_Init_VRDashboardServiceTimeout",e[e.VRInitError_Init_VRDashboardServiceStopped=162]="VRInitError_Init_VRDashboardServiceStopped",e[e.VRInitError_Init_VRDashboardAlreadyStarted=163]="VRInitError_Init_VRDashboardAlreadyStarted",e[e.VRInitError_Init_VRDashboardCopyFailed=164]="VRInitError_Init_VRDashboardCopyFailed",e[e.VRInitError_Init_VRDashboardTokenFailure=165]="VRInitError_Init_VRDashboardTokenFailure",e[e.VRInitError_Init_VRDashboardEnvironmentFailure=166]="VRInitError_Init_VRDashboardEnvironmentFailure",e[e.VRInitError_Init_VRDashboardPathFailure=167]="VRInitError_Init_VRDashboardPathFailure",e[e.VRInitError_Driver_Failed=200]="VRInitError_Driver_Failed",e[e.VRInitError_Driver_Unknown=201]="VRInitError_Driver_Unknown",e[e.VRInitError_Driver_HmdUnknown=202]="VRInitError_Driver_HmdUnknown",e[e.VRInitError_Driver_NotLoaded=203]="VRInitError_Driver_NotLoaded",e[e.VRInitError_Driver_RuntimeOutOfDate=204]="VRInitError_Driver_RuntimeOutOfDate",e[e.VRInitError_Driver_HmdInUse=205]="VRInitError_Driver_HmdInUse",e[e.VRInitError_Driver_NotCalibrated=206]="VRInitError_Driver_NotCalibrated",e[e.VRInitError_Driver_CalibrationInvalid=207]="VRInitError_Driver_CalibrationInvalid",e[e.VRInitError_Driver_HmdDisplayNotFound=208]="VRInitError_Driver_HmdDisplayNotFound",e[e.VRInitError_Driver_TrackedDeviceInterfaceUnknown=209]="VRInitError_Driver_TrackedDeviceInterfaceUnknown",e[e.VRInitError_Driver_HmdDriverIdOutOfBounds=211]="VRInitError_Driver_HmdDriverIdOutOfBounds",e[e.VRInitError_Driver_HmdDisplayMirrored=212]="VRInitError_Driver_HmdDisplayMirrored",e[e.VRInitError_Driver_HmdDisplayNotFoundLaptop=213]="VRInitError_Driver_HmdDisplayNotFoundLaptop",e[e.VRInitError_Driver_PeerDriverNotInstalled=214]="VRInitError_Driver_PeerDriverNotInstalled",e[e.VRInitError_Driver_WirelessHmdNotConnected=215]="VRInitError_Driver_WirelessHmdNotConnected",e[e.VRInitError_IPC_ServerInitFailed=300]="VRInitError_IPC_ServerInitFailed",e[e.VRInitError_IPC_ConnectFailed=301]="VRInitError_IPC_ConnectFailed",e[e.VRInitError_IPC_SharedStateInitFailed=302]="VRInitError_IPC_SharedStateInitFailed",e[e.VRInitError_IPC_CompositorInitFailed=303]="VRInitError_IPC_CompositorInitFailed",e[e.VRInitError_IPC_MutexInitFailed=304]="VRInitError_IPC_MutexInitFailed",e[e.VRInitError_IPC_Failed=305]="VRInitError_IPC_Failed",e[e.VRInitError_IPC_CompositorConnectFailed=306]="VRInitError_IPC_CompositorConnectFailed",e[e.VRInitError_IPC_CompositorInvalidConnectResponse=307]="VRInitError_IPC_CompositorInvalidConnectResponse",e[e.VRInitError_IPC_ConnectFailedAfterMultipleAttempts=308]="VRInitError_IPC_ConnectFailedAfterMultipleAttempts",e[e.VRInitError_IPC_ConnectFailedAfterTargetExited=309]="VRInitError_IPC_ConnectFailedAfterTargetExited",e[e.VRInitError_IPC_NamespaceUnavailable=310]="VRInitError_IPC_NamespaceUnavailable",e[e.VRInitError_Compositor_Failed=400]="VRInitError_Compositor_Failed",e[e.VRInitError_Compositor_D3D11HardwareRequired=401]="VRInitError_Compositor_D3D11HardwareRequired",e[e.VRInitError_Compositor_FirmwareRequiresUpdate=402]="VRInitError_Compositor_FirmwareRequiresUpdate",e[e.VRInitError_Compositor_OverlayInitFailed=403]="VRInitError_Compositor_OverlayInitFailed",e[e.VRInitError_Compositor_ScreenshotsInitFailed=404]="VRInitError_Compositor_ScreenshotsInitFailed",e[e.VRInitError_Compositor_UnableToCreateDevice=405]="VRInitError_Compositor_UnableToCreateDevice",e[e.VRInitError_Compositor_SharedStateIsNull=406]="VRInitError_Compositor_SharedStateIsNull",e[e.VRInitError_Compositor_NotificationManagerIsNull=407]="VRInitError_Compositor_NotificationManagerIsNull",e[e.VRInitError_Compositor_ResourceManagerClientIsNull=408]="VRInitError_Compositor_ResourceManagerClientIsNull",e[e.VRInitError_Compositor_MessageOverlaySharedStateInitFailure=409]="VRInitError_Compositor_MessageOverlaySharedStateInitFailure",e[e.VRInitError_Compositor_PropertiesInterfaceIsNull=410]="VRInitError_Compositor_PropertiesInterfaceIsNull",e[e.VRInitError_Compositor_CreateFullscreenWindowFailed=411]="VRInitError_Compositor_CreateFullscreenWindowFailed",e[e.VRInitError_Compositor_SettingsInterfaceIsNull=412]="VRInitError_Compositor_SettingsInterfaceIsNull",e[e.VRInitError_Compositor_FailedToShowWindow=413]="VRInitError_Compositor_FailedToShowWindow",e[e.VRInitError_Compositor_DistortInterfaceIsNull=414]="VRInitError_Compositor_DistortInterfaceIsNull",e[e.VRInitError_Compositor_DisplayFrequencyFailure=415]="VRInitError_Compositor_DisplayFrequencyFailure",e[e.VRInitError_Compositor_RendererInitializationFailed=416]="VRInitError_Compositor_RendererInitializationFailed",e[e.VRInitError_Compositor_DXGIFactoryInterfaceIsNull=417]="VRInitError_Compositor_DXGIFactoryInterfaceIsNull",e[e.VRInitError_Compositor_DXGIFactoryCreateFailed=418]="VRInitError_Compositor_DXGIFactoryCreateFailed",e[e.VRInitError_Compositor_DXGIFactoryQueryFailed=419]="VRInitError_Compositor_DXGIFactoryQueryFailed",e[e.VRInitError_Compositor_InvalidAdapterDesktop=420]="VRInitError_Compositor_InvalidAdapterDesktop",e[e.VRInitError_Compositor_InvalidHmdAttachment=421]="VRInitError_Compositor_InvalidHmdAttachment",e[e.VRInitError_Compositor_InvalidOutputDesktop=422]="VRInitError_Compositor_InvalidOutputDesktop",e[e.VRInitError_Compositor_InvalidDeviceProvided=423]="VRInitError_Compositor_InvalidDeviceProvided",e[e.VRInitError_Compositor_D3D11RendererInitializationFailed=424]="VRInitError_Compositor_D3D11RendererInitializationFailed",e[e.VRInitError_Compositor_FailedToFindDisplayMode=425]="VRInitError_Compositor_FailedToFindDisplayMode",e[e.VRInitError_Compositor_FailedToCreateSwapChain=426]="VRInitError_Compositor_FailedToCreateSwapChain",e[e.VRInitError_Compositor_FailedToGetBackBuffer=427]="VRInitError_Compositor_FailedToGetBackBuffer",e[e.VRInitError_Compositor_FailedToCreateRenderTarget=428]="VRInitError_Compositor_FailedToCreateRenderTarget",e[e.VRInitError_Compositor_FailedToCreateDXGI2SwapChain=429]="VRInitError_Compositor_FailedToCreateDXGI2SwapChain",e[e.VRInitError_Compositor_FailedtoGetDXGI2BackBuffer=430]="VRInitError_Compositor_FailedtoGetDXGI2BackBuffer",e[e.VRInitError_Compositor_FailedToCreateDXGI2RenderTarget=431]="VRInitError_Compositor_FailedToCreateDXGI2RenderTarget",e[e.VRInitError_Compositor_FailedToGetDXGIDeviceInterface=432]="VRInitError_Compositor_FailedToGetDXGIDeviceInterface",e[e.VRInitError_Compositor_SelectDisplayMode=433]="VRInitError_Compositor_SelectDisplayMode",e[e.VRInitError_Compositor_FailedToCreateNvAPIRenderTargets=434]="VRInitError_Compositor_FailedToCreateNvAPIRenderTargets",e[e.VRInitError_Compositor_NvAPISetDisplayMode=435]="VRInitError_Compositor_NvAPISetDisplayMode",e[e.VRInitError_Compositor_FailedToCreateDirectModeDisplay=436]="VRInitError_Compositor_FailedToCreateDirectModeDisplay",e[e.VRInitError_Compositor_InvalidHmdPropertyContainer=437]="VRInitError_Compositor_InvalidHmdPropertyContainer",e[e.VRInitError_Compositor_UpdateDisplayFrequency=438]="VRInitError_Compositor_UpdateDisplayFrequency",e[e.VRInitError_Compositor_CreateRasterizerState=439]="VRInitError_Compositor_CreateRasterizerState",e[e.VRInitError_Compositor_CreateWireframeRasterizerState=440]="VRInitError_Compositor_CreateWireframeRasterizerState",e[e.VRInitError_Compositor_CreateSamplerState=441]="VRInitError_Compositor_CreateSamplerState",e[e.VRInitError_Compositor_CreateClampToBorderSamplerState=442]="VRInitError_Compositor_CreateClampToBorderSamplerState",e[e.VRInitError_Compositor_CreateAnisoSamplerState=443]="VRInitError_Compositor_CreateAnisoSamplerState",e[e.VRInitError_Compositor_CreateOverlaySamplerState=444]="VRInitError_Compositor_CreateOverlaySamplerState",e[e.VRInitError_Compositor_CreatePanoramaSamplerState=445]="VRInitError_Compositor_CreatePanoramaSamplerState",e[e.VRInitError_Compositor_CreateFontSamplerState=446]="VRInitError_Compositor_CreateFontSamplerState",e[e.VRInitError_Compositor_CreateNoBlendState=447]="VRInitError_Compositor_CreateNoBlendState",e[e.VRInitError_Compositor_CreateBlendState=448]="VRInitError_Compositor_CreateBlendState",e[e.VRInitError_Compositor_CreateAlphaBlendState=449]="VRInitError_Compositor_CreateAlphaBlendState",e[e.VRInitError_Compositor_CreateBlendStateMaskR=450]="VRInitError_Compositor_CreateBlendStateMaskR",e[e.VRInitError_Compositor_CreateBlendStateMaskG=451]="VRInitError_Compositor_CreateBlendStateMaskG",e[e.VRInitError_Compositor_CreateBlendStateMaskB=452]="VRInitError_Compositor_CreateBlendStateMaskB",e[e.VRInitError_Compositor_CreateDepthStencilState=453]="VRInitError_Compositor_CreateDepthStencilState",e[e.VRInitError_Compositor_CreateDepthStencilStateNoWrite=454]="VRInitError_Compositor_CreateDepthStencilStateNoWrite",e[e.VRInitError_Compositor_CreateDepthStencilStateNoDepth=455]="VRInitError_Compositor_CreateDepthStencilStateNoDepth",e[e.VRInitError_Compositor_CreateFlushTexture=456]="VRInitError_Compositor_CreateFlushTexture",e[e.VRInitError_Compositor_CreateDistortionSurfaces=457]="VRInitError_Compositor_CreateDistortionSurfaces",e[e.VRInitError_Compositor_CreateConstantBuffer=458]="VRInitError_Compositor_CreateConstantBuffer",e[e.VRInitError_Compositor_CreateHmdPoseConstantBuffer=459]="VRInitError_Compositor_CreateHmdPoseConstantBuffer",e[e.VRInitError_Compositor_CreateHmdPoseStagingConstantBuffer=460]="VRInitError_Compositor_CreateHmdPoseStagingConstantBuffer",e[e.VRInitError_Compositor_CreateSharedFrameInfoConstantBuffer=461]="VRInitError_Compositor_CreateSharedFrameInfoConstantBuffer",e[e.VRInitError_Compositor_CreateOverlayConstantBuffer=462]="VRInitError_Compositor_CreateOverlayConstantBuffer",e[e.VRInitError_Compositor_CreateSceneTextureIndexConstantBuffer=463]="VRInitError_Compositor_CreateSceneTextureIndexConstantBuffer",e[e.VRInitError_Compositor_CreateReadableSceneTextureIndexConstantBuffer=464]="VRInitError_Compositor_CreateReadableSceneTextureIndexConstantBuffer",e[e.VRInitError_Compositor_CreateLayerGraphicsTextureIndexConstantBuffer=465]="VRInitError_Compositor_CreateLayerGraphicsTextureIndexConstantBuffer",e[e.VRInitError_Compositor_CreateLayerComputeTextureIndexConstantBuffer=466]="VRInitError_Compositor_CreateLayerComputeTextureIndexConstantBuffer",e[e.VRInitError_Compositor_CreateLayerComputeSceneTextureIndexConstantBuffer=467]="VRInitError_Compositor_CreateLayerComputeSceneTextureIndexConstantBuffer",e[e.VRInitError_Compositor_CreateComputeHmdPoseConstantBuffer=468]="VRInitError_Compositor_CreateComputeHmdPoseConstantBuffer",e[e.VRInitError_Compositor_CreateGeomConstantBuffer=469]="VRInitError_Compositor_CreateGeomConstantBuffer",e[e.VRInitError_Compositor_CreatePanelMaskConstantBuffer=470]="VRInitError_Compositor_CreatePanelMaskConstantBuffer",e[e.VRInitError_Compositor_CreatePixelSimUBO=471]="VRInitError_Compositor_CreatePixelSimUBO",e[e.VRInitError_Compositor_CreateMSAARenderTextures=472]="VRInitError_Compositor_CreateMSAARenderTextures",e[e.VRInitError_Compositor_CreateResolveRenderTextures=473]="VRInitError_Compositor_CreateResolveRenderTextures",e[e.VRInitError_Compositor_CreateComputeResolveRenderTextures=474]="VRInitError_Compositor_CreateComputeResolveRenderTextures",e[e.VRInitError_Compositor_CreateDriverDirectModeResolveTextures=475]="VRInitError_Compositor_CreateDriverDirectModeResolveTextures",e[e.VRInitError_Compositor_OpenDriverDirectModeResolveTextures=476]="VRInitError_Compositor_OpenDriverDirectModeResolveTextures",e[e.VRInitError_Compositor_CreateFallbackSyncTexture=477]="VRInitError_Compositor_CreateFallbackSyncTexture",e[e.VRInitError_Compositor_ShareFallbackSyncTexture=478]="VRInitError_Compositor_ShareFallbackSyncTexture",e[e.VRInitError_Compositor_CreateOverlayIndexBuffer=479]="VRInitError_Compositor_CreateOverlayIndexBuffer",e[e.VRInitError_Compositor_CreateOverlayVertexBuffer=480]="VRInitError_Compositor_CreateOverlayVertexBuffer",e[e.VRInitError_Compositor_CreateTextVertexBuffer=481]="VRInitError_Compositor_CreateTextVertexBuffer",e[e.VRInitError_Compositor_CreateTextIndexBuffer=482]="VRInitError_Compositor_CreateTextIndexBuffer",e[e.VRInitError_Compositor_CreateMirrorTextures=483]="VRInitError_Compositor_CreateMirrorTextures",e[e.VRInitError_Compositor_CreateLastFrameRenderTexture=484]="VRInitError_Compositor_CreateLastFrameRenderTexture",e[e.VRInitError_Compositor_CreateMirrorOverlay=485]="VRInitError_Compositor_CreateMirrorOverlay",e[e.VRInitError_Compositor_FailedToCreateVirtualDisplayBackbuffer=486]="VRInitError_Compositor_FailedToCreateVirtualDisplayBackbuffer",e[e.VRInitError_Compositor_DisplayModeNotSupported=487]="VRInitError_Compositor_DisplayModeNotSupported",e[e.VRInitError_Compositor_CreateOverlayInvalidCall=488]="VRInitError_Compositor_CreateOverlayInvalidCall",e[e.VRInitError_Compositor_CreateOverlayAlreadyInitialized=489]="VRInitError_Compositor_CreateOverlayAlreadyInitialized",e[e.VRInitError_Compositor_FailedToCreateMailbox=490]="VRInitError_Compositor_FailedToCreateMailbox",e[e.VRInitError_Compositor_WindowInterfaceIsNull=491]="VRInitError_Compositor_WindowInterfaceIsNull",e[e.VRInitError_Compositor_SystemLayerCreateInstance=492]="VRInitError_Compositor_SystemLayerCreateInstance",e[e.VRInitError_Compositor_SystemLayerCreateSession=493]="VRInitError_Compositor_SystemLayerCreateSession",e[e.VRInitError_Compositor_CreateInverseDistortUVs=494]="VRInitError_Compositor_CreateInverseDistortUVs",e[e.VRInitError_Compositor_CreateBackbufferDepth=495]="VRInitError_Compositor_CreateBackbufferDepth",e[e.VRInitError_VendorSpecific_UnableToConnectToOculusRuntime=1e3]="VRInitError_VendorSpecific_UnableToConnectToOculusRuntime",e[e.VRInitError_VendorSpecific_WindowsNotInDevMode=1001]="VRInitError_VendorSpecific_WindowsNotInDevMode",e[e.VRInitError_VendorSpecific_OculusLinkNotEnabled=1002]="VRInitError_VendorSpecific_OculusLinkNotEnabled",e[e.VRInitError_VendorSpecific_HmdFound_CantOpenDevice=1101]="VRInitError_VendorSpecific_HmdFound_CantOpenDevice",e[e.VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart=1102]="VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart",e[e.VRInitError_VendorSpecific_HmdFound_NoStoredConfig=1103]="VRInitError_VendorSpecific_HmdFound_NoStoredConfig",e[e.VRInitError_VendorSpecific_HmdFound_ConfigTooBig=1104]="VRInitError_VendorSpecific_HmdFound_ConfigTooBig",e[e.VRInitError_VendorSpecific_HmdFound_ConfigTooSmall=1105]="VRInitError_VendorSpecific_HmdFound_ConfigTooSmall",e[e.VRInitError_VendorSpecific_HmdFound_UnableToInitZLib=1106]="VRInitError_VendorSpecific_HmdFound_UnableToInitZLib",e[e.VRInitError_VendorSpecific_HmdFound_CantReadFirmwareVersion=1107]="VRInitError_VendorSpecific_HmdFound_CantReadFirmwareVersion",e[e.VRInitError_VendorSpecific_HmdFound_UnableToSendUserDataStart=1108]="VRInitError_VendorSpecific_HmdFound_UnableToSendUserDataStart",e[e.VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataStart=1109]="VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataStart",e[e.VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataNext=1110]="VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataNext",e[e.VRInitError_VendorSpecific_HmdFound_UserDataAddressRange=1111]="VRInitError_VendorSpecific_HmdFound_UserDataAddressRange",e[e.VRInitError_VendorSpecific_HmdFound_UserDataError=1112]="VRInitError_VendorSpecific_HmdFound_UserDataError",e[e.VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck=1113]="VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck",e[e.VRInitError_VendorSpecific_OculusRuntimeBadInstall=1114]="VRInitError_VendorSpecific_OculusRuntimeBadInstall",e[e.VRInitError_VendorSpecific_HmdFound_UnexpectedConfiguration_1=1115]="VRInitError_VendorSpecific_HmdFound_UnexpectedConfiguration_1",e[e.VRInitError_Steam_SteamInstallationNotFound=2e3]="VRInitError_Steam_SteamInstallationNotFound",e[e.VRInitError_LastError=2001]="VRInitError_LastError"}(M||(M={}));var T=n(20763)},20763:(e,t,n)=>{"use strict";var r,i,o;n.d(t,{sH:()=>i}),function(e){e[e.Invalid=0]="Invalid",e[e.TrackingSystemName_String=1e3]="TrackingSystemName_String",e[e.ModelNumber_String=1001]="ModelNumber_String",e[e.SerialNumber_String=1002]="SerialNumber_String",e[e.RenderModelName_String=1003]="RenderModelName_String",e[e.WillDriftInYaw_Bool=1004]="WillDriftInYaw_Bool",e[e.ManufacturerName_String=1005]="ManufacturerName_String",e[e.TrackingFirmwareVersion_String=1006]="TrackingFirmwareVersion_String",e[e.HardwareRevision_String=1007]="HardwareRevision_String",e[e.AllWirelessDongleDescriptions_String=1008]="AllWirelessDongleDescriptions_String",e[e.ConnectedWirelessDongle_String=1009]="ConnectedWirelessDongle_String",e[e.DeviceIsWireless_Bool=1010]="DeviceIsWireless_Bool",e[e.DeviceIsCharging_Bool=1011]="DeviceIsCharging_Bool",e[e.DeviceBatteryPercentage_Float=1012]="DeviceBatteryPercentage_Float",e[e.StatusDisplayTransform_Matrix34=1013]="StatusDisplayTransform_Matrix34",e[e.Firmware_UpdateAvailable_Bool=1014]="Firmware_UpdateAvailable_Bool",e[e.Firmware_ManualUpdate_Bool=1015]="Firmware_ManualUpdate_Bool",e[e.Firmware_ManualUpdateURL_String=1016]="Firmware_ManualUpdateURL_String",e[e.HardwareRevision_Uint64=1017]="HardwareRevision_Uint64",e[e.FirmwareVersion_Uint64=1018]="FirmwareVersion_Uint64",e[e.FPGAVersion_Uint64=1019]="FPGAVersion_Uint64",e[e.VRCVersion_Uint64=1020]="VRCVersion_Uint64",e[e.RadioVersion_Uint64=1021]="RadioVersion_Uint64",e[e.DongleVersion_Uint64=1022]="DongleVersion_Uint64",e[e.BlockServerShutdown_Bool=1023]="BlockServerShutdown_Bool",e[e.CanUnifyCoordinateSystemWithHmd_Bool=1024]="CanUnifyCoordinateSystemWithHmd_Bool",e[e.ContainsProximitySensor_Bool=1025]="ContainsProximitySensor_Bool",e[e.DeviceProvidesBatteryStatus_Bool=1026]="DeviceProvidesBatteryStatus_Bool",e[e.DeviceCanPowerOff_Bool=1027]="DeviceCanPowerOff_Bool",e[e.Firmware_ProgrammingTarget_String=1028]="Firmware_ProgrammingTarget_String",e[e.DeviceClass_Int32=1029]="DeviceClass_Int32",e[e.HasCamera_Bool=1030]="HasCamera_Bool",e[e.DriverVersion_String=1031]="DriverVersion_String",e[e.Firmware_ForceUpdateRequired_Bool=1032]="Firmware_ForceUpdateRequired_Bool",e[e.ViveSystemButtonFixRequired_Bool=1033]="ViveSystemButtonFixRequired_Bool",e[e.ParentDriver_Uint64=1034]="ParentDriver_Uint64",e[e.ResourceRoot_String=1035]="ResourceRoot_String",e[e.RegisteredDeviceType_String=1036]="RegisteredDeviceType_String",e[e.InputProfilePath_String=1037]="InputProfilePath_String",e[e.NeverTracked_Bool=1038]="NeverTracked_Bool",e[e.NumCameras_Int32=1039]="NumCameras_Int32",e[e.CameraFrameLayout_Int32=1040]="CameraFrameLayout_Int32",e[e.CameraStreamFormat_Int32=1041]="CameraStreamFormat_Int32",e[e.AdditionalDeviceSettingsPath_String=1042]="AdditionalDeviceSettingsPath_String",e[e.DevicePowerUsage_Float=1052]="DevicePowerUsage_Float",e[e.ReportsTimeSinceVSync_Bool=2e3]="ReportsTimeSinceVSync_Bool",e[e.SecondsFromVsyncToPhotons_Float=2001]="SecondsFromVsyncToPhotons_Float",e[e.DisplayFrequency_Float=2002]="DisplayFrequency_Float",e[e.UserIpdMeters_Float=2003]="UserIpdMeters_Float",e[e.CurrentUniverseId_Uint64=2004]="CurrentUniverseId_Uint64",e[e.PreviousUniverseId_Uint64=2005]="PreviousUniverseId_Uint64",e[e.DisplayFirmwareVersion_Uint64=2006]="DisplayFirmwareVersion_Uint64",e[e.IsOnDesktop_Bool=2007]="IsOnDesktop_Bool",e[e.DisplayMCType_Int32=2008]="DisplayMCType_Int32",e[e.DisplayMCOffset_Float=2009]="DisplayMCOffset_Float",e[e.DisplayMCScale_Float=2010]="DisplayMCScale_Float",e[e.EdidVendorID_Int32=2011]="EdidVendorID_Int32",e[e.DisplayMCImageLeft_String=2012]="DisplayMCImageLeft_String",e[e.DisplayMCImageRight_String=2013]="DisplayMCImageRight_String",e[e.DisplayGCBlackClamp_Float=2014]="DisplayGCBlackClamp_Float",e[e.EdidProductID_Int32=2015]="EdidProductID_Int32",e[e.CameraToHeadTransform_Matrix34=2016]="CameraToHeadTransform_Matrix34",e[e.DisplayGCType_Int32=2017]="DisplayGCType_Int32",e[e.DisplayGCOffset_Float=2018]="DisplayGCOffset_Float",e[e.DisplayGCScale_Float=2019]="DisplayGCScale_Float",e[e.DisplayGCPrescale_Float=2020]="DisplayGCPrescale_Float",e[e.DisplayGCImage_String=2021]="DisplayGCImage_String",e[e.LensCenterLeftU_Float=2022]="LensCenterLeftU_Float",e[e.LensCenterLeftV_Float=2023]="LensCenterLeftV_Float",e[e.LensCenterRightU_Float=2024]="LensCenterRightU_Float",e[e.LensCenterRightV_Float=2025]="LensCenterRightV_Float",e[e.UserHeadToEyeDepthMeters_Float=2026]="UserHeadToEyeDepthMeters_Float",e[e.CameraFirmwareVersion_Uint64=2027]="CameraFirmwareVersion_Uint64",e[e.CameraFirmwareDescription_String=2028]="CameraFirmwareDescription_String",e[e.DisplayFPGAVersion_Uint64=2029]="DisplayFPGAVersion_Uint64",e[e.DisplayBootloaderVersion_Uint64=2030]="DisplayBootloaderVersion_Uint64",e[e.DisplayHardwareVersion_Uint64=2031]="DisplayHardwareVersion_Uint64",e[e.AudioFirmwareVersion_Uint64=2032]="AudioFirmwareVersion_Uint64",e[e.CameraCompatibilityMode_Int32=2033]="CameraCompatibilityMode_Int32",e[e.ScreenshotHorizontalFieldOfViewDegrees_Float=2034]="ScreenshotHorizontalFieldOfViewDegrees_Float",e[e.ScreenshotVerticalFieldOfViewDegrees_Float=2035]="ScreenshotVerticalFieldOfViewDegrees_Float",e[e.DisplaySuppressed_Bool=2036]="DisplaySuppressed_Bool",e[e.DisplayAllowNightMode_Bool=2037]="DisplayAllowNightMode_Bool",e[e.DisplayMCImageWidth_Int32=2038]="DisplayMCImageWidth_Int32",e[e.DisplayMCImageHeight_Int32=2039]="DisplayMCImageHeight_Int32",e[e.DisplayMCImageNumChannels_Int32=2040]="DisplayMCImageNumChannels_Int32",e[e.DisplayMCImageData_Binary=2041]="DisplayMCImageData_Binary",e[e.SecondsFromPhotonsToVblank_Float=2042]="SecondsFromPhotonsToVblank_Float",e[e.DriverDirectModeSendsVsyncEvents_Bool=2043]="DriverDirectModeSendsVsyncEvents_Bool",e[e.DisplayDebugMode_Bool=2044]="DisplayDebugMode_Bool",e[e.GraphicsAdapterLuid_Uint64=2045]="GraphicsAdapterLuid_Uint64",e[e.DriverProvidedChaperonePath_String=2048]="DriverProvidedChaperonePath_String",e[e.ExpectedTrackingReferenceCount_Int32=2049]="ExpectedTrackingReferenceCount_Int32",e[e.ExpectedControllerCount_Int32=2050]="ExpectedControllerCount_Int32",e[e.NamedIconPathControllerLeftDeviceOff_String=2051]="NamedIconPathControllerLeftDeviceOff_String",e[e.NamedIconPathControllerRightDeviceOff_String=2052]="NamedIconPathControllerRightDeviceOff_String",e[e.NamedIconPathTrackingReferenceDeviceOff_String=2053]="NamedIconPathTrackingReferenceDeviceOff_String",e[e.DoNotApplyPrediction_Bool=2054]="DoNotApplyPrediction_Bool",e[e.CameraToHeadTransforms_Matrix34_Array=2055]="CameraToHeadTransforms_Matrix34_Array",e[e.DistortionMeshResolution_Int32=2056]="DistortionMeshResolution_Int32",e[e.DriverIsDrawingControllers_Bool=2057]="DriverIsDrawingControllers_Bool",e[e.DriverRequestsApplicationPause_Bool=2058]="DriverRequestsApplicationPause_Bool",e[e.DriverRequestsReducedRendering_Bool=2059]="DriverRequestsReducedRendering_Bool",e[e.MinimumIpdStepMeters_Float=2060]="MinimumIpdStepMeters_Float",e[e.AudioBridgeFirmwareVersion_Uint64=2061]="AudioBridgeFirmwareVersion_Uint64",e[e.ImageBridgeFirmwareVersion_Uint64=2062]="ImageBridgeFirmwareVersion_Uint64",e[e.ImuToHeadTransform_Matrix34=2063]="ImuToHeadTransform_Matrix34",e[e.ImuFactoryGyroBias_Vector3=2064]="ImuFactoryGyroBias_Vector3",e[e.ImuFactoryGyroScale_Vector3=2065]="ImuFactoryGyroScale_Vector3",e[e.ImuFactoryAccelerometerBias_Vector3=2066]="ImuFactoryAccelerometerBias_Vector3",e[e.ImuFactoryAccelerometerScale_Vector3=2067]="ImuFactoryAccelerometerScale_Vector3",e[e.ConfigurationIncludesLighthouse20Features_Bool=2069]="ConfigurationIncludesLighthouse20Features_Bool",e[e.Prop_AdditionalRadioFeatures_Uint64=2070]="Prop_AdditionalRadioFeatures_Uint64",e[e.Prop_CameraWhiteBalance_Vector4_Array=2071]="Prop_CameraWhiteBalance_Vector4_Array",e[e.Prop_CameraDistortionFunction_Int32_Array=2072]="Prop_CameraDistortionFunction_Int32_Array",e[e.Prop_CameraDistortionCoefficients_Float_Array=2073]="Prop_CameraDistortionCoefficients_Float_Array",e[e.Prop_ExpectedControllerType_String=2074]="Prop_ExpectedControllerType_String",e[e.HmdTrackingStyle_Int32=2075]="HmdTrackingStyle_Int32",e[e.DriverProvidedChaperoneVisibility_Bool=2076]="DriverProvidedChaperoneVisibility_Bool",e[e.HmdColumnCorrectionSettingPrefix_String=2077]="HmdColumnCorrectionSettingPrefix_String",e[e.CameraSupportsCompatibilityModes_Bool=2078]="CameraSupportsCompatibilityModes_Bool",e[e.SupportsRoomViewDepthProjection_Bool=2079]="SupportsRoomViewDepthProjection_Bool",e[e.DisplayAvailableFrameRates_Float_Array=2080]="DisplayAvailableFrameRates_Float_Array",e[e.DisplaySupportsRuntimeFramerateChange_Bool=2084]="DisplaySupportsRuntimeFramerateChange_Bool",e[e.DisplaySupportsAnalogGain_Bool=2085]="DisplaySupportsAnalogGain_Bool",e[e.DisplayMinAnalogGain_Float=2086]="DisplayMinAnalogGain_Float",e[e.DisplayMaxAnalogGain_Float=2087]="DisplayMaxAnalogGain_Float",e[e.DashboardScale_Float=2091]="DashboardScale_Float",e[e.PeerButtonInfo_String=2092]="PeerButtonInfo_String",e[e.IpdUIRangeMinMeters_Float=2100]="IpdUIRangeMinMeters_Float",e[e.IpdUIRangeMaxMeters_Float=2101]="IpdUIRangeMaxMeters_Float",e[e.Hmd_SupportsHDCP14LegacyCompat_Bool=2102]="Hmd_SupportsHDCP14LegacyCompat_Bool",e[e.Hmd_SupportsMicMonitoring_Bool=2103]="Hmd_SupportsMicMonitoring_Bool",e[e.Hmd_SupportsDisplayPortTrainingMode_Bool=2104]="Hmd_SupportsDisplayPortTrainingMode_Bool",e[e.Hmd_SupportsRoomViewDirect_Bool=2105]="Hmd_SupportsRoomViewDirect_Bool",e[e.Hmd_SupportsAppThrottling_Bool=2106]="Hmd_SupportsAppThrottling_Bool",e[e.Hmd_SupportsGpuBusMonitoring_Bool=2107]="Hmd_SupportsGpuBusMonitoring_Bool",e[e.DriverRequestedMuraCorrectionMode_Int32=2200]="DriverRequestedMuraCorrectionMode_Int32",e[e.DriverRequestedMuraFeather_InnerLeft_Int32=2201]="DriverRequestedMuraFeather_InnerLeft_Int32",e[e.DriverRequestedMuraFeather_InnerRight_Int32=2202]="DriverRequestedMuraFeather_InnerRight_Int32",e[e.DriverRequestedMuraFeather_InnerTop_Int32=2203]="DriverRequestedMuraFeather_InnerTop_Int32",e[e.DriverRequestedMuraFeather_InnerBottom_Int32=2204]="DriverRequestedMuraFeather_InnerBottom_Int32",e[e.DriverRequestedMuraFeather_OuterLeft_Int32=2205]="DriverRequestedMuraFeather_OuterLeft_Int32",e[e.DriverRequestedMuraFeather_OuterRight_Int32=2206]="DriverRequestedMuraFeather_OuterRight_Int32",e[e.DriverRequestedMuraFeather_OuterTop_Int32=2207]="DriverRequestedMuraFeather_OuterTop_Int32",e[e.DriverRequestedMuraFeather_OuterBottom_Int32=2208]="DriverRequestedMuraFeather_OuterBottom_Int32",e[e.Audio_SupportsDualSpeakerAndJackOutput_Bool=2303]="Audio_SupportsDualSpeakerAndJackOutput_Bool",e[e.AttachedDeviceId_String=3e3]="AttachedDeviceId_String",e[e.SupportedButtons_Uint64=3001]="SupportedButtons_Uint64",e[e.Axis0Type_Int32=3002]="Axis0Type_Int32",e[e.Axis1Type_Int32=3003]="Axis1Type_Int32",e[e.Axis2Type_Int32=3004]="Axis2Type_Int32",e[e.Axis3Type_Int32=3005]="Axis3Type_Int32",e[e.Axis4Type_Int32=3006]="Axis4Type_Int32",e[e.ControllerRoleHint_Int32=3007]="ControllerRoleHint_Int32",e[e.FieldOfViewLeftDegrees_Float=4e3]="FieldOfViewLeftDegrees_Float",e[e.FieldOfViewRightDegrees_Float=4001]="FieldOfViewRightDegrees_Float",e[e.FieldOfViewTopDegrees_Float=4002]="FieldOfViewTopDegrees_Float",e[e.FieldOfViewBottomDegrees_Float=4003]="FieldOfViewBottomDegrees_Float",e[e.TrackingRangeMinimumMeters_Float=4004]="TrackingRangeMinimumMeters_Float",e[e.TrackingRangeMaximumMeters_Float=4005]="TrackingRangeMaximumMeters_Float",e[e.ModeLabel_String=4006]="ModeLabel_String",e[e.IconPathName_String=5e3]="IconPathName_String",e[e.NamedIconPathDeviceOff_String=5001]="NamedIconPathDeviceOff_String",e[e.NamedIconPathDeviceSearching_String=5002]="NamedIconPathDeviceSearching_String",e[e.NamedIconPathDeviceSearchingAlert_String=5003]="NamedIconPathDeviceSearchingAlert_String",e[e.NamedIconPathDeviceReady_String=5004]="NamedIconPathDeviceReady_String",e[e.NamedIconPathDeviceReadyAlert_String=5005]="NamedIconPathDeviceReadyAlert_String",e[e.NamedIconPathDeviceNotReady_String=5006]="NamedIconPathDeviceNotReady_String",e[e.NamedIconPathDeviceStandby_String=5007]="NamedIconPathDeviceStandby_String",e[e.NamedIconPathDeviceAlertLow_String=5008]="NamedIconPathDeviceAlertLow_String",e[e.DisplayHiddenArea_Binary_Start=5100]="DisplayHiddenArea_Binary_Start",e[e.DisplayHiddenArea_Binary_End=5150]="DisplayHiddenArea_Binary_End",e[e.ParentContainer=5151]="ParentContainer",e[e.UserConfigPath_String=6e3]="UserConfigPath_String",e[e.InstallPath_String=6001]="InstallPath_String",e[e.HasDisplayComponent_Bool=6002]="HasDisplayComponent_Bool",e[e.HasControllerComponent_Bool=6003]="HasControllerComponent_Bool",e[e.HasCameraComponent_Bool=6004]="HasCameraComponent_Bool",e[e.HasDriverDirectModeComponent_Bool=6005]="HasDriverDirectModeComponent_Bool",e[e.HasVirtualDisplayComponent_Bool=6006]="HasVirtualDisplayComponent_Bool",e[e.HasSpatialAnchorsSupport_Bool=6007]="HasSpatialAnchorsSupport_Bool",e[e.ControllerType_String=7e3]="ControllerType_String",e[e.LegacyInputProfile_String=7001]="LegacyInputProfile_String",e[e.VendorSpecific_Reserved_Start=1e4]="VendorSpecific_Reserved_Start",e[e.VendorSpecific_Reserved_End=10999]="VendorSpecific_Reserved_End",e[e.TrackedDeviceProperty_Max=1e6]="TrackedDeviceProperty_Max"}(r||(r={})),function(e){e[e.None=0]="None",e[e.ButtonEnter=1]="ButtonEnter",e[e.ButtonLeave=2]="ButtonLeave",e[e.Snap=3]="Snap",e[e.Sliding=4]="Sliding",e[e.SlidingEdge=5]="SlidingEdge"}(i||(i={})),function(e){e[e.Minimal=1]="Minimal",e[e.Modal=2]="Modal",e[e.Rich=4]="Rich",e[e.ShowArrowKeys=8]="ShowArrowKeys",e[e.ShowDoneKey=16]="ShowDoneKey"}(o||(o={}))},47742:(e,t,n)=>{"use strict";n.d(t,{B:()=>o,M:()=>a});var r=n(89526);const i=(0,r.createContext)(void 0),o=i.Provider,a=()=>{const e=(0,r.useContext)(i);if(!e)throw new Error("called useActiveAccount outside of ActiveAccountProvider");return e.useActiveAccount()}},54856:(e,t,n)=>{"use strict";n.d(t,{K2:()=>c,MD:()=>l,gA:()=>s,lq:()=>a});var r=n(45878),i=(n(47165),n(16244),n(84321)),o=n(27527);class a{static InstallErrorReportingStore(e){this.sm_ErrorReportingStore=e}static InitHeaderFromPacket(e){return new a(void 0,e)}constructor(e,t,n,o,a,s){if(o)this.m_eMsg=o.m_eMsg,this.m_bValid=o.m_bValid,this.m_bValid&&(this.m_netPacket=o.m_netPacket,this.m_cubHeader=o.m_cubHeader,this.m_header=o.m_header,this.InitForType(n));else{if(this.m_header=new i.Cu(null),this.m_bValid=!0,t)if(this.m_netPacket=t,this.m_netPacket.SeekGetHead(),this.m_eMsg=this.m_netPacket.GetUint32(),2147483648&this.m_eMsg){this.m_eMsg=2147483647&this.m_eMsg,this.m_cubHeader=this.m_netPacket.GetUint32();try{i.Cu.deserializeBinaryFromReader(this.m_header,new r.BinaryReader(this.m_netPacket.GetPacket(),this.m_netPacket.TellGet(),this.m_cubHeader)),this.m_netPacket.SeekGetCurrent(this.m_cubHeader),n&&this.InitForType(n)}catch(e){console.error("Exception deserializing protobuf",e),this.m_bValid=!1}}else this.m_bValid=!1;else e&&(this.m_eMsg=e),s?this.m_body=n.fromObject(s):n&&(this.m_body=new n);a&&this.m_header.set_jobid_target(a.Hdr().jobid_target())}}InitForType(e){if(this.m_body=new e,this.m_netPacket){this.m_netPacket.SeekGetHead(8+this.m_cubHeader);try{e.deserializeBinaryFromReader(this.m_body,new r.BinaryReader(this.m_netPacket.GetPacket(),this.m_netPacket.TellGet(),this.m_netPacket.GetCountBytesRemaining()))}catch(e){this.m_bValid=!1;const t=a.sm_ErrorReportingStore,n=`Exception parsing protobuf message body of type ${this.m_eMsg}. Definitions may be out of sync with server version.`;t&&t.ReportError(new Error(n),{bIncludeMessageInIdentifier:!0}),console.warn(n),console.log(e.stack||e)}}}BIsValid(){return this.m_bValid}Body(){return this.m_body}SetBodyJSON(e){e.toObject=()=>e,this.m_body=e}Hdr(){return this.m_header}GetEMsg(){return this.m_eMsg}SetEMsg(e){this.m_eMsg=e}GetEResult(){return this.Hdr().eresult()}BSuccess(){return 1==this.Hdr().eresult()}GetErrorMessage(){return this.Hdr().error_message()?this.Hdr().error_message():`eresult ${this.Hdr().eresult()}`}Serialize(){let e=this.m_header.serializeBinary(),t=this.m_body.serializeBinary(),n=2147483648|this.m_eMsg,r=new Uint8Array(8+e.length+t.length),i=new o.At(r);return i.PutUint32(n),i.PutUint32(e.length),i.PutBytes(e),i.PutBytes(t),r}SerializeBody(){let e=this.m_body.serializeBinary(),t=new Uint8Array(e.length);return new o.At(t).PutBytes(e),t}DEBUG_ToObject(){return{}}DEBUG_LogToConsole(){0}}class s extends a{constructor(e,t=0,n,r,i){super(t,n,e,r,void 0,i)}static InitFromPacket(e,t){return new s(e,0,t)}static InitFromMsg(e,t){return new s(e,void 0,void 0,t)}static Init(e,t){return new s(e,t)}static InitFromObject(e,t){return new s(e,void 0,void 0,void 0,t)}Body(){return super.Body()}SetBodyFields(e){for(let t in e)Array.isArray(e[t])?this.Body()[`add_${t}`]&&e[t].forEach((e=>{this.Body()[`add_${t}`](e)})):this.Body()[`set_${t}`]&&this.Body()[`set_${t}`](e[t])}}function l(e,t){return t instanceof s?t:s.InitFromObject(e,t)}class c{constructor(){this.m_transport=null}static Get(){return null==c.s_Singleton&&(c.s_Singleton=new c),c.s_Singleton}SetDefaultTransport(e){null!=this.m_transport&&console.error("Multiple attempts to set a default WebUI transport: overriding previous"),this.m_transport=e}GetDefaultTransport(){return this.m_transport}}c.s_Singleton=null},29063:(e,t,n)=>{"use strict";n.d(t,{Bh:()=>a,F:()=>c,FE:()=>i,TA:()=>l,Xc:()=>o,aD:()=>s,aR:()=>d,l2:()=>u});var r=n(45878);const i=r.BinaryReader.prototype,o=r.BinaryWriter.prototype;function a(e){let t={};const{fields:n}=e;for(let e in n){const r=n[e];t[r.n]=r}return t}function s(e,t){const{proto:n,fields:i}=e,o=new n;for(let e in i){const{n,c:a,r:s,d:l,q:c}=i[e];if(!t.hasOwnProperty(e))continue;const u=t[e];a?s?r.Message.setRepeatedWrapperField(o,n,Array.isArray(u)?u.map((e=>a.fromObject(e))):[]):r.Message.setWrapperField(o,n,a.fromObject(u)):r.Message.setField(o,n,u)}return o}function l(e,t,n){const{proto:i,fields:o}=e;let a={};for(let e in o){const{n:i,c:s,r:l,d:c,q:u}=o[e];if(s)if(l)a[e]=r.Message.toObjectList(r.Message.getRepeatedWrapperField(n,s,i),s.toObject,t);else{const o=r.Message.getWrapperField(n,s,i,u?1:0);o&&(a[e]=s.toObject(t,o))}else{const t=r.Message.getFieldWithDefault(n,i,void 0!==c?c:null);(null!==t||u)&&(a[e]=t)}}return t&&(a.$jspbMessageInstance=n),a}function c(e,t,n){for(;n.nextField()&&!n.isEndGroup();){const i=e[n.getFieldNumber()];if(i){const{n:e,c:o,r:a,d:s,q:l,br:c}=i;if(o){const i=new o;n.readMessage(i,o.deserializeBinaryFromReader),a?r.Message.addToRepeatedWrapperField(t,e,i,o):r.Message.setWrapperField(t,e,i)}else if(c){const i=c.call(n);a?r.Message.addToRepeatedField(t,e,i):r.Message.setField(t,e,i)}else console.assert(c,`Reader func not set for field number ${e} in class ${o}`),n.skipField()}else n.skipField()}return t}function u(e,t,n){const{fields:i}=e;for(let e in i){const{n:o,c:a,r:s,d:l,q:c,bw:u}=i[e];if(a)if(s){const e=r.Message.getRepeatedWrapperField(t,a,o);(e&&e.length||c)&&n.writeRepeatedMessage(o,e,a.serializeBinaryToWriter)}else{const e=r.Message.getWrapperField(t,a,o,c?1:0);e&&n.writeMessage(o,e,a.serializeBinaryToWriter)}else if(u){const e=r.Message.getField(t,o);void 0!==e&&u.call(n,o,e)}else console.assert(u,`Writer func not set for field number ${o} in class ${a}`)}}function d(e){const t=e.proto;for(const n in e.fields){const i=e.fields[n],{n:o,c:a,r:s,d:l,q:c}=i;i.hasOwnProperty("d")?t.prototype[n]=m(r.Message.getFieldWithDefault,o,l):t.prototype[n]=a?s?m(r.Message.getRepeatedWrapperField,a,o):h(a,o):m(r.Message.getField,o),t.prototype[`set_${n}`]=p(a?s?r.Message.setRepeatedWrapperField:r.Message.setWrapperField:r.Message.setField,o),s&&(t.prototype[`add_${n}`]=_(o,a))}}function m(e,...t){return function(){return e(this,...t)}}function h(e,t){return function(n=!0){return r.Message.getWrapperField(this,e,t,n?1:0)}}function p(e,t){return function(n){return e(this,t,n)}}function _(e,t){return t?function(n,i){return r.Message.addToRepeatedWrapperField(this,e,n,t,i)}:function(t,n){r.Message.addToRepeatedField(this,e,t,n)}}},27070:(e,t,n)=>{"use strict";n.d(t,{P9:()=>s,Ub:()=>l,bY:()=>c,lS:()=>m,sG:()=>u,y$:()=>d});var r=n(89526),i=n(23801);const o=r.createContext(void 0),a=o.Provider,s=()=>{const e=r.useContext(o);if(!e)throw new Error("called useActiveServiceTransportContext outside of ServiceTransportProvider");return e};function l(e){const{useStorage:t,children:n}=e;let o,s;"useActiveCMInterface"in e?s=o=e.useActiveCMInterface:"useActiveSteamInterface"in e?s=e.useActiveSteamInterface:(0,i.Z)(e,"neither useActiveCMInterface nor useActiveSteamInterface were provided");const l=r.useMemo((()=>({useActiveSteamInterface:s,useActiveCMInterface:o,useStorage:t})),[s,o,t]);return r.createElement(a,{value:l},n)}const c=()=>s().useActiveSteamInterface().GetServiceTransport(),u=()=>s().useActiveSteamInterface().GetAnonymousServiceTransport(),d=()=>s().useStorage(),m=()=>s().useActiveSteamInterface()},27527:(e,t,n)=>{"use strict";n.d(t,{At:()=>r});class r{constructor(e,t=0,n){this.m_nOffset=t||0,e instanceof Uint8Array||e instanceof DataView?(this.m_nLength=n||e.byteLength-this.m_nOffset,this.m_nOffset+=e.byteOffset,this.m_viewPacket=new DataView(e.buffer,this.m_nOffset,this.m_nLength)):(this.m_nLength=n||e.byteLength-this.m_nOffset,this.m_viewPacket=new DataView(e,this.m_nOffset,this.m_nLength)),this.m_rgubPacket=new Uint8Array(this.m_viewPacket.buffer,this.m_viewPacket.byteOffset,this.m_viewPacket.byteLength),this.m_iGet=0,this.m_iPut=0}TellGet(){return this.m_iGet+this.m_viewPacket.byteOffset}GetPacket(){return this.m_viewPacket.buffer}GetUint8(){return this.m_viewPacket.getUint8(this.m_iGet++)}GetUint32(e=!0){let t=this.m_viewPacket.getUint32(this.m_iGet,e);return this.m_iGet+=4,t}SeekGetHead(e=0){this.m_iGet=e||0}SeekGetCurrent(e){this.m_iGet+=e}TellPut(){return this.m_iPut+this.m_viewPacket.byteOffset}TellMaxPut(){return this.m_viewPacket.byteLength}PutUint8(e){this.m_viewPacket.setUint8(this.m_iPut++,e)}PutUint32(e,t=!0){this.m_viewPacket.setUint32(this.m_iPut,e,t),this.m_iPut+=4}PutBytes(e){this.m_rgubPacket.set(e,this.m_iPut),this.m_iPut+=e.length}SeekPut(e){this.m_iPut+=e}GetCountBytesRemaining(){return this.m_viewPacket.byteLength-this.m_iGet}}},65406:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(33940);class i{GetObject(e){return(0,r.mG)(this,void 0,void 0,(function*(){try{const t=yield this.GetString(e);return t?JSON.parse(t):null}catch(e){return null}}))}StoreObject(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){return this.StoreString(e,JSON.stringify(t))}))}}class o extends i{GetString(e){return Promise.resolve(localStorage.getItem(e))}StoreString(e,t){return localStorage.setItem(e,t),Promise.resolve()}RemoveObject(e){return localStorage.removeItem(e),Promise.resolve()}}},59983:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var r=n(89526),i=n(85246),o=n(4306);const a=e=>null!=e;function s(e,t){const[n,i]=r.useState(window.localStorage.getItem(e)),s=r.useRef(e);r.useEffect((()=>{e!=s.current&&(i(window.localStorage.getItem(e)),s.current=e)}),[e]);const c=e==s.current?n:window.localStorage.getItem(e);let u=t;return a(c)&&(u=a(t)?"boolean"==typeof t?t.constructor("false"!==c):t.constructor(c):c),(0,o.Qg)(l.Get().GetLocalStoreChangeCallback(e),i),[u,t=>{const n=a(t)?String(t):null;window.localStorage.setItem(e,n),i(n),l.Get().GetLocalStoreChangeCallback(e).Dispatch(n)}]}class l{constructor(){this.m_mapChangeCallback=new Map}GetLocalStoreChangeCallback(e){return this.m_mapChangeCallback.has(e)||this.m_mapChangeCallback.set(e,new i.pB),this.m_mapChangeCallback.get(e)}static Get(){return l.s_Singleton||(l.s_Singleton=new l),l.s_Singleton}}},40103:(e,t,n)=>{"use strict";n.d(t,{Oo:()=>s,yV:()=>l});n(65850);var r=n(30837),i=n(16383),o=n(23801);class a{constructor(){this.m_mapManagers=new WeakMap}GetContextMenuManagerFromWindow(e){var t;let n=(null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)||window;return this.GetContextMenuManager(n)}GetContextMenuManager(e){let t=this.m_mapManagers.get(e);if(!t){let n=e;for(;!t&&n.opener;)n=n.opener,t=this.m_mapManagers.get(n)}return t||(t=new r.u,this.m_mapManagers.set(e,t)),t}SetMenuManager(e,t){(0,o.X)(void 0===this.m_mapManagers.get(e)||!t||e==window,`Stomping CContextMenuManager for ${e.document.title}!`),this.m_mapManagers.set(e,t)}RegisterChildWindow(e,t){return this.m_mapManagers.set(t,this.GetContextMenuManager(e)),()=>this.m_mapManagers.delete(t)}}const s=(0,i.Yt)("ContextMenuFactory",(()=>new a));function l(e,t,n){let r,i,o,a=t;if((null==a?void 0:a.preventDefault)&&(null==a?void 0:a.stopPropagation)){if(a.shiftKey||a.altKey&&!(null==n?void 0:n.bRootContextMenu))return null;a.preventDefault(),a.stopPropagation(),o=a.currentTarget,r=a.clientX,i=a.clientY}else o=t;let l=s.GetContextMenuManagerFromWindow(o).CreateContextMenuInstance(e,o,r,i,n);return l.Show(),(null==n?void 0:n.bCreateHidden)&&l.Hide(),l}},65850:(e,t,n)=>{"use strict";n.d(t,{$Y:()=>l});var r=n(33940),i=n(50265),o=n(60161),a=(n(69159),n(46132));class s{constructor(e,t){this.m_nKey=null,this.m_bVisible=!1,this.m_timerHideMenu=0,this.m_elSubmenuItem=null,this.m_timerHideSubMenu=0,this.m_ContextMenuManager=e,this.m_rctElement=t}get Manager(){return this.m_ContextMenuManager}get key(){return null==this.m_nKey&&(this.m_nKey=s.s_nNextKeyValue,s.s_nNextKeyValue++),this.m_nKey}SetElement(e){this.m_element=e}SetPopup(e){this.m_popupContextMenu=e}get ReactElement(){return this.m_rctElement}get label(){return this.m_rctLabel}get submenu(){return this.m_submenu}get visible(){return this.m_bVisible}get options(){return this.m_options}get position(){return this.m_position}SetOnHideCallback(e){this.m_fnOnHideCallback=e}Show(){this.CancelHideMenuTimer(),this.m_ContextMenuManager.ShowMenu(this),this.m_bVisible=!0}OnCancel(){this.options.onCancel&&this.options.onCancel(),this.Hide()}Hide(e=0){e>0?this.m_timerHideMenu=window.setTimeout((()=>{this.m_timerHideMenu=0,this.InternalHide()}),e):this.InternalHide()}CancelHideMenuTimer(){this.m_timerHideMenu>0&&(clearTimeout(this.m_timerHideMenu),this.m_timerHideMenu=0)}SetPosition(e,t,n){this.m_options=Object.assign(Object.assign({},this.m_options),n),this.m_position.clientX=e,this.m_position.clientY=t,this.m_position.options=this.m_options}ForceHide(){this.InternalHide()}HideIfNotInFocus(){this.BHasFocus()||this.BIsFocusInChildHierarchy()||this.Hide()}InternalHide(){this.CancelHideMenuTimer(),this.m_bVisible&&(this.m_bVisible=!1,this.InternalHideSubMenu(),this.m_fnOnHideCallback&&this.m_fnOnHideCallback(),this.m_ContextMenuManager.HideMenu(this))}SetTakeFocus(e){this.m_fnTakeFocus=e}ShowSubMenu(e,t){return this.m_elSubmenuItem==e?(this.CancelHideSubMenuTimer(),this.m_submenu.TakeFocus(),null):(this.InternalHideSubMenu(),this.m_elSubmenuItem=e,this.m_submenu=new c(this,t(),e,this.m_options.bForcePopup),this.m_submenu.Show(),this.m_submenu)}CancelHideSubMenuTimer(){this.m_timerHideSubMenu>0&&(clearTimeout(this.m_timerHideSubMenu),this.m_timerHideSubMenu=0)}HideSubMenu(){if(!this.m_submenu)return void this.CancelHideSubMenuTimer();if(this.m_timerHideSubMenu>0)return;this.m_timerHideSubMenu=window.setTimeout((()=>{this.InternalHideSubMenu(),this.m_timerHideSubMenu=0}),150)}OnSubMenuDismissed(e){this.m_submenu==e&&this.InternalHideSubMenu()}HideSelf(){this.m_parentInstance?this.m_parentInstance.OnSubMenuDismissed(this):this.InternalHide()}InternalHideSubMenu(){this.CancelHideSubMenuTimer(),this.m_submenu&&(this.m_submenu.m_element&&this.BIsFocusInChildHierarchy()&&this.TakeFocus(a.IF.k_EWindowBringToFrontAndForceOS),this.m_elSubmenuItem=null,this.m_submenu.InternalHide(),this.m_submenu=null)}TakeFocus(e=a.IF.k_EWindowBringToFrontAndForceOS){this.m_popupContextMenu&&this.m_popupContextMenu.Focus(e),this.m_fnTakeFocus&&this.m_fnTakeFocus()}BInternalElementInParentHierarchy(e){return this.m_parentInstance&&(this.m_parentInstance.BIsChildElement(e)||this.m_parentInstance.BInternalElementInParentHierarchy(e))}BInternalElementInChildHierarchy(e){return this.m_submenu&&(this.m_submenu.BIsChildElement(e)||this.m_submenu.BInternalElementInChildHierarchy(e))}BIsChildElement(e){return this.m_element?o.ni(this.m_element,e):o.ni(this.m_popupContextMenu.root_element,e)}BHasFocus(){return this.m_popupContextMenu?this.m_popupContextMenu.focused:o.ni(this.m_element,this.m_element.ownerDocument.activeElement)}BIsFocusInChildHierarchy(){return this.m_submenu&&(this.m_submenu.BHasFocus()||this.m_submenu.BIsFocusInChildHierarchy())}BIsElementInMenuHierarchy(e){return this.BInternalElementInParentHierarchy(e)||this.BInternalElementInChildHierarchy(e)}BIsSubMenuVisible(){return!!this.m_submenu}SetLabel(e){this.m_rctLabel=e}}s.s_nNextKeyValue=1,(0,r.gn)([i.LO],s.prototype,"m_bVisible",void 0),(0,r.gn)([i.LO.ref],s.prototype,"m_rctLabel",void 0);class l extends s{constructor(e,t,n,r,i,o){super(e,t),this.m_options=o||{},this.m_position={element:n,clientX:r,clientY:i,instance:this,options:this.m_options,fnOnMenuItemSelected:()=>{this.Hide()}}}Show(){super.Show()}Hide(e=0){super.Hide(e)}ForceHide(){super.ForceHide()}BIsSubMenu(){return!1}}class c extends s{constructor(e,t,n,r){super(e.Manager,t),this.m_parentInstance=e,this.m_options={bOverlapVertical:!0,strClassName:e.options.strClassName,bFitToWindow:e.options.bFitToWindow,bShiftToFitWindow:e.options.bShiftToFitWindow,bForcePopup:r},this.m_position={element:n,clientX:null,clientY:null,instance:this,options:this.m_options,fnOnMenuItemSelected:()=>{this.Hide()},bSubmenu:!0}}Hide(){this.m_popupContextMenu?window.setTimeout((()=>{this.m_parentInstance.HideIfNotInFocus()}),10):this.m_parentInstance.Hide()}ForceHide(){this.m_parentInstance.ForceHide()}BIsSubMenu(){return!0}}},30837:(e,t,n)=>{"use strict";n.d(t,{u:()=>s});var r=n(65850),i=n(23801),o=n(85246),a=n(11837);class s{constructor(){this.m_callbacksMenusChanged=new o.pB,this.m_rgActiveSubmenus=[],this.m_setHiddenMenus=new Set}CreateContextMenuInstance(e,t,n,i,o){const a=new r.$Y(this,e,t,n,i,o);return(null==o?void 0:o.bCreateHidden)&&(this.m_setHiddenMenus.add(a),this.m_callbacksMenusChanged.Dispatch()),a}get OnMenusChanged(){return this.m_callbacksMenusChanged}HideActiveMenu(){this.m_ActiveMenu.options.bRetainOnHide?this.m_setHiddenMenus.add(this.m_ActiveMenu):this.m_rgActiveSubmenus.length&&(this.m_rgActiveSubmenus=[]),this.m_ActiveMenu=void 0}get ActiveMenu(){return this.m_ActiveMenu}GetVisibleMenus(){return this.m_ActiveMenu?[this.m_ActiveMenu,...this.m_rgActiveSubmenus]:[]}GetHiddenMenus(){return Array.from(this.m_setHiddenMenus)}GetAllMenus(){let e;return e=this.m_ActiveMenu?[this.m_ActiveMenu,...this.m_rgActiveSubmenus,...Array.from(this.m_setHiddenMenus)]:[...this.m_rgActiveSubmenus,...Array.from(this.m_setHiddenMenus)],e.sort(((e,t)=>e.key-t.key))}BShouldRenderMouseOverlay(){return this.m_ActiveMenu&&!this.m_ActiveMenu.options.bDisableMouseOverlay}ShowMenu(e){if(e.BIsSubMenu())this.m_rgActiveSubmenus.push(e);else{if(e==this.m_ActiveMenu)return;this.m_ActiveMenu&&(this.m_ActiveMenu.options.bRetainOnHide&&this.m_setHiddenMenus.add(this.m_ActiveMenu),this.m_ActiveMenu.Hide()),this.m_ActiveMenu=e,this.m_setHiddenMenus.delete(e)}this.m_callbacksMenusChanged.Dispatch()}HideMenu(e){e.BIsSubMenu()?a.Zf(this.m_rgActiveSubmenus,e)&&this.m_callbacksMenusChanged.Dispatch():((0,i.X)(e==this.m_ActiveMenu,"Call to hide inactive menu"),e==this.m_ActiveMenu&&(this.HideActiveMenu(),this.m_callbacksMenusChanged.Dispatch()))}ReleaseHiddenMenu(e){this.m_setHiddenMenus.delete(e)}}},894:(e,t,n)=>{"use strict";n.d(t,{AN:()=>s});var r=n(73961),i=n(60161);class o{constructor(e){this.instance=new a(e,!1)}}class a{constructor(e,t=!0){this.m_parent=e,this.m_window=e.ownerDocument.defaultView,this.m_bRemoveOnHide=t}Show(e,t){return this.CancelShowInterval(),t?new Promise(((n,r)=>{this.iIntervalShow=this.m_window.setTimeout((()=>{let t=this.m_parent.ownerDocument;t.defaultView&&!t.defaultView.closed&&(this.InternalShow(e),n())}),t)})):(this.InternalShow(e),Promise.resolve())}InternalShow(e){this.m_container||(this.m_container=this.m_parent.ownerDocument.createElement("div"),this.m_parent.appendChild(this.m_container)),r.render(e,this.m_container)}Hide(e){this.CancelShowInterval(),e?this.iIntervalShow=this.m_window.setTimeout((()=>{this.InternalHide()}),e):this.InternalHide()}InternalHide(){this.m_container&&(r.unmountComponentAtNode(this.m_container),this.m_bRemoveOnHide&&(this.m_parent.removeChild(this.m_container),this.m_container=null))}CancelShowInterval(){void 0!==this.iIntervalShow&&(this.m_window.clearInterval(this.iIntervalShow),this.iIntervalShow=void 0)}BIsChildElement(e){return this.m_container&&i.ni(this.m_container,e)}}class s{constructor(e){this.m_mapEmbeddedHovers=new WeakMap,this.m_strUniqueID=e}ShowElementDelayed(e,t,n,r){let i=this.GetEmbeddedElement(e);return i.activeObject=r,i.instance.Show(n,t)}ShowElement(e,t,n){let r=this.GetEmbeddedElement(e);r.activeObject=n,r.instance.Show(t)}HideElement(e,t,n){let r=this.GetEmbeddedElement(e);r.activeObject==t&&(r.activeObject=void 0,r.instance.Hide(n))}GetEmbeddedElement(e){let t=this.m_mapEmbeddedHovers.get(e);return t||(t=new o(e.body),this.m_mapEmbeddedHovers.set(e,t)),t}}},73070:(e,t,n)=>{"use strict";n.d(t,{Rt:()=>S,K3:()=>y,eL:()=>_,iJ:()=>g,sB:()=>E,AN:()=>R,Wy:()=>w});var r=n(33940),i=n(50265),o=n(89526),a=n(60161),s=n(37377),l=n(26464),c=n(78423),u=n(14826),d=n(32765),m=n(23801),h=n(11837);class p{constructor(e,t,n){if(this.m_rgLoadingLinks=[],this.m_rgLoadingLinks=[],n)for(let e=0;eo.useContext(b);function S(e){const{ownerWindow:t,children:n}=e,r=o.useMemo((()=>({ownerWindow:t})),[t]);return o.createElement(b.Provider,{value:r},n)}class y{constructor(e,t){this.m_bCreated=!1,this.m_onCreateRender=null,this.m_bFocused=!1,(0,m.X)(e,"Name is required. This is an internal name, different from title."),this.m_strName=e,this.m_rgParams=t,this.m_rgParams.target_browser&&(this.m_strName+="_uid"+this.m_rgParams.target_browser.m_unPID),this.m_bCreateHidden=!!(t.eCreationFlags&_.Hidden),this.m_strTitle=t.title,delete this.m_rgParams.title}UpdateParamsBeforeShow(e){return e}OnDrop(e){console.log("Ignoring drop onto toplevel window",e),e.preventDefault(),e.stopPropagation()}OnDragOver(e){e.preventDefault(),e.dataTransfer.dropEffect="none",e.stopPropagation()}OnMessage(e){"window_moved"==e.data&&this.OnResize(),"popup-created"==e.data&&this.OnCreateInternal()}Show(e=c.IF.k_EWindowBringToFrontAndForceOS){var t,n;let r;r="boolean"==typeof e?e?c.IF.k_EWindowBringToFrontAndForceOS:c.IF.k_EWindowBringToFrontInvalid:e,window.SteamClient&&(this.m_rgParams.eCreationFlags|=_.Hidden),this.m_rgParams.eCreationFlags&_.NotFocusable&&(r=c.IF.k_EWindowBringToFrontInvalid),this.BIsValid()&&(this.BIsClosed()?(this.m_popup=void 0,this.m_element=void 0):r!=c.IF.k_EWindowBringToFrontInvalid&&this.Focus(r));let i,o,a,s=R.GetExistingPopup(this.m_strName);s&&!this.m_rgParams.replace_existing_popup||(this.m_rgParams=this.UpdateParamsBeforeShow(this.m_rgParams),s?(o=s.m_element,i=s.m_popup,s.ReleasePopup(),a=s.m_renderWhenReady,R.RemoveTrackedPopup(s),i.removeEventListener("beforeunload",s.OnBeforeUnloadEvent),i.removeEventListener("unload",s.OnUnload),i.removeEventListener("resize",s.OnResizeEvent),i.removeEventListener("focus",this.OnFocusInternal),i.removeEventListener("blur",this.OnBlurInternal),i.removeEventListener("drop",s.OnDrop),i.removeEventListener("dragover",s.OnDragOver),i.removeEventListener("message",this.OnMessage)):(({popup:i,element:o}=I.CreatePopup(this.m_strName,this.m_rgParams)),a=new p(i.document,o)),i&&o&&(i.document.title=this.m_strTitle,i.addEventListener("beforeunload",this.OnBeforeUnloadEvent),i.addEventListener("unload",this.OnUnload),i.addEventListener("resize",this.OnResizeEvent),i.addEventListener("focus",this.OnFocusInternal),i.addEventListener("blur",this.OnBlurInternal),i.addEventListener("drop",this.OnDrop),i.addEventListener("dragover",this.OnDragOver),i.addEventListener("message",this.OnMessage),d.De.LANGUAGE&&i.document.documentElement.setAttribute("lang",(0,u.CE)()),this.m_popup=i,this.m_element=o,this.m_renderWhenReady=a,this.m_renderWhenReady.SetTarget((()=>this.RenderInternal(this.m_popup,this.m_element,r)))),R.AddTrackedPopup(this),s?(this.OnCreateInternal(),r!=c.IF.k_EWindowBringToFrontInvalid&&this.Focus(r)):(null===(n=null===(t=SteamClient.Features)||void 0===t?void 0:t.SteamInitsPopups)||void 0===n?void 0:n.call(t))||this.OnCreateInternal())}RemoveEventListeners(){this.window.removeEventListener("beforeunload",this.OnBeforeUnloadEvent),this.window.removeEventListener("unload",this.OnUnload),this.window.removeEventListener("resize",this.OnResizeEvent),this.window.removeEventListener("focus",this.OnFocusInternal),this.window.removeEventListener("blur",this.OnBlurInternal),this.window.removeEventListener("drop",this.OnDrop),this.window.removeEventListener("dragover",this.OnDragOver),this.window.removeEventListener("message",this.OnMessage)}RenderInternal(e,t,n){var r;this.m_bCreated?(this.browser_info&&((r=this.browser_info).m_eBrowserType==c.i_.EBrowserType_OpenVROverlay||r.m_eBrowserType==c.i_.EBrowserType_OpenVROverlay_Dashboard)&&(t.ownerDocument.body.className+=" VR"),this.Render(e,t),this.OnLoad(),e.SteamClient&&!this.m_bCreateHidden&&(n!=c.IF.k_EWindowBringToFrontInvalid?e.SteamClient.Window.BringToFront(n):e.SteamClient.Window.ShowWindow())):this.m_onCreateRender=()=>this.RenderInternal(e,t,n)}OnCreateInternal(){this.m_bCreated||(this.m_bCreated=!0,this.OnCreate(),this.m_onCreateRender&&(this.m_onCreateRender(),this.m_onCreateRender=null))}OnCreate(){}OnResizeEvent(){this.OnResize()}OnBeforeUnloadEvent(){this.OnBeforeUnload()}OnUnload(e){this.RemoveEventListeners(),R.RemoveTrackedPopup(this),this.OnClose(),this.m_popup=void 0}get browser_info(){return this.m_rgParams.target_browser}get window(){return this.m_popup}get root_element(){return this.m_element}get title(){return this.m_strTitle}set title(e){this.m_strTitle=e,this.m_popup&&(this.m_popup.document.title=this.m_strTitle)}get params(){return this.m_rgParams}Focus(e=c.IF.k_EWindowBringToFrontAndForceOS){e!=c.IF.k_EWindowBringToFrontInvalid&&(this.m_popup&&void 0!==this.m_popup.SteamClient&&void 0!==this.m_popup.SteamClient.Window?this.m_popup.SteamClient.Window.BringToFront(e):this.m_popup&&this.m_popup.focus())}Close(){this.m_popup&&((0,v.w3)(this.m_popup.window,"Window.Close")?this.m_popup.window.SteamClient.Window.Close():this.m_popup.window.close())}GetName(){return this.m_strName}BIsValid(){return!!this.m_popup}BIsClosed(){return!this.m_popup||this.m_popup.closed}BIsVisible(){return this.m_popup&&!this.m_popup.closed&&"visible"==this.m_popup.document.visibilityState}BIsFocused(){return this.BIsVisible()&&this.m_popup.document.hasFocus()}OnFocusInternal(){this.m_popup&&this.m_popup.document.body.classList.add("WindowFocus"),this.m_bFocused=!0,this.OnFocus()}OnBlurInternal(){this.m_popup&&this.m_popup.document.body.classList.remove("WindowFocus"),this.m_bFocused=!1,this.OnBlur()}get focused(){return this.m_bFocused}GetWindowRestoreDetails(){return this.m_popup&&!this.m_popup.closed&&this.m_popup.SteamClient?new Promise(((e,t)=>{this.m_popup.SteamClient.Window.GetWindowRestoreDetails((t=>{e(t)}))})):Promise.resolve("")}IsMinimized(){return this.m_popup&&!this.m_popup.closed&&this.m_popup.SteamClient&&this.m_popup.SteamClient.Window&&this.m_popup.SteamClient.Window.IsWindowMinimized?new Promise(((e,t)=>{this.m_popup.SteamClient.Window.IsWindowMinimized((t=>{e(t)}))})):Promise.resolve(!1)}IsMaximized(){return this.m_popup&&!this.m_popup.closed&&this.m_popup.SteamClient&&this.m_popup.SteamClient.Window&&this.m_popup.SteamClient.Window.IsWindowMinimized?new Promise(((e,t)=>{this.m_popup.SteamClient.Window.IsWindowMaximized((t=>{e(t)}))})):Promise.resolve(!1)}ReleasePopup(){this.OnClose(),this.m_popup=null}OnResize(){this.IsMaximized().then((e=>{e?this.m_popup.document.body.classList.add("Maximized"):this.m_popup.document.body.classList.remove("Maximized")}))}OnBeforeUnload(){}OnFocus(){}OnBlur(){}}(0,r.gn)([i.LO],y.prototype,"m_bFocused",void 0),(0,r.gn)([l.a],y.prototype,"OnMessage",null),(0,r.gn)([l.a],y.prototype,"RenderInternal",null),(0,r.gn)([l.a],y.prototype,"OnCreateInternal",null),(0,r.gn)([l.a],y.prototype,"OnResizeEvent",null),(0,r.gn)([l.a],y.prototype,"OnBeforeUnloadEvent",null),(0,r.gn)([l.a],y.prototype,"OnUnload",null),(0,r.gn)([l.a],y.prototype,"OnFocusInternal",null),(0,r.gn)([l.a],y.prototype,"OnBlurInternal",null);(0,r.gn)([l.a],class extends y{constructor(e,t,n,r){super(e,n),this.SetSavedDimensionsKey(t),this.m_bExpires=r}BIsInOverlay(){return this.browser_info&&0!=this.browser_info.m_unPID&&-1!=this.browser_info.m_nBrowserID}SetSavedDimensionsKey(e){this.m_strSavedDimensionsKey=e}UpdateParamsBeforeShow(e){return!this.m_strSavedDimensionsKey||e.bIgnoreSavedDimensions||e.strRestoreDetails?e.strRestoreDetails&&(this.m_strInitialSavedDimensionsKey=this.GetSavedDimensionsKey(),R.SetRestoreDetails(this.m_strInitialSavedDimensionsKey,e.strRestoreDetails,this.m_bExpires)):(this.m_strInitialSavedDimensionsKey=this.GetSavedDimensionsKey(),e.strRestoreDetails=R.GetRestoreDetails(this.m_strInitialSavedDimensionsKey)),e}OnLoad(){this.GetWindowRestoreDetails().then((e=>{this.m_strInitialRestoreDetails=e,this.OnResizeComplete(e)}))}OnResize(){super.OnResize(),this.QueryAndStoreWindowPosition()}OnResizeComplete(e){}QueryAndStoreWindowPosition(){if(this.m_strInitialRestoreDetails){let e=this.GetSavedDimensionsKey();this.m_popup.setTimeout((()=>{this.GetWindowRestoreDetails().then((t=>{let n=this.m_rgParams.strRestoreDetails==t&&e==this.m_strInitialSavedDimensionsKey;this.m_popup&&this.m_strSavedDimensionsKey&&t&&!n&&(R.SetRestoreDetails(e,t,this.m_bExpires),this.m_rgParams.strRestoreDetails=t,this.m_strInitialSavedDimensionsKey=e,this.OnResizeComplete(t))}))}),30)}}OnBeforeUnload(){this.QueryAndStoreWindowPosition(),super.OnBeforeUnload()}OnClose(){}SaveWindowPosition(e){R.SetRestoreDetails(this.GetSavedDimensionsKey(),e,!1),this.m_rgParams.strRestoreDetails=e}}.prototype,"QueryAndStoreWindowPosition",null);class I{constructor(){if(this.m_bShuttingDown=!1,this.m_mapPopups=i.LO.map([],{deep:!1}),this.m_rgShutdownCallbacks=[],this.m_rgPopupCreatedCallbacks=[],this.m_unCurrentAccountID=0,this.m_mapRestoreDetails=new Map,this.m_bSaveRequired=!1,!{NODE_ENV:"production",STEAM_BUILD:"buildbot"}.MOBILE_BUILD){window.addEventListener("beforeunload",(e=>{var t,n,r,i;this.m_bShuttingDown=!0;for(let e of this.m_rgShutdownCallbacks)e();let o=[];this.m_mapPopups.forEach((e=>{e.BIsValid()&&!e.BIsClosed()&&o.push(e)}));for(let e of o)(null===(n=null===(t=e.window)||void 0===t?void 0:t.SteamClient.Browser)||void 0===n?void 0:n.SetShouldExitSteamOnBrowserClosed)&&e.window.SteamClient.Browser.SetShouldExitSteamOnBrowserClosed(!1),(null===(r=e.window)||void 0===r?void 0:r.SteamClient.Window.SetHideOnClose)&&(null===(i=e.window)||void 0===i||i.SteamClient.Window.SetHideOnClose(!1)),e.Close();this.m_bSaveRequired&&this.SaveSavedDimensionStore(),this.m_mapPopups.clear()}));let e=document.querySelector("head");(0,m.X)(e,"Couldn't find head element"),e&&(this.m_DynamicCSSObserver=new MutationObserver((()=>{const e=a.Mv();this.m_mapPopups.forEach((t=>{a.b$(t.window.document,e,!1)}))})),this.m_DynamicCSSObserver.observe(e,{childList:!0}))}}BAnyPopupHasFocus(){for(const e of this.m_mapPopups.values())if(e.focused)return!0;return!1}BAnyMenuHasFocus(){for(const e of this.m_mapPopups.values())if(e.focused&&e.params.eCreationFlags&_.NoTaskbarIcon)return!0;return!1}SetCurrentLoggedInAccountID(e){this.m_unCurrentAccountID!=e&&(this.m_unCurrentAccountID=e,e?this.LoadSavedDimensionStore():this.ClearSavedDimensionStore())}AddShutdownCallback(e){this.m_rgShutdownCallbacks.push(e)}AddPopupCreatedCallback(e){this.m_rgPopupCreatedCallbacks.push(e)}AddTrackedPopup(e){this.m_mapPopups.set(e.GetName(),e);for(let t of this.m_rgPopupCreatedCallbacks)t(e)}RemoveTrackedPopup(e){this.m_mapPopups.delete(e.GetName())}GetExistingPopup(e){return this.m_mapPopups.get(e)}GetPopups(){return this.m_mapPopups.values()}GetPopupForWindow(e){for(const t of this.m_mapPopups.values())if(t.window===e)return t}ClosePopupsOwnedByBrowser(e){this.m_mapPopups.forEach((t=>{t.browser_info&&t.browser_info.m_nBrowserID==e.m_nBrowserID&&t.browser_info.m_unPID==e.m_unPID&&t.Close()}))}static CreatePopup(e,t){let n=t.dimensions||{},r=n.width||300,i=n.height||300,o=t.title,s="width="+r+",height="+i;void 0!==n.left&&(s+=",left="+n.left),void 0!==n.top&&(s+=",top="+n.top),s+=",resizeable,status=0,toolbar=0,menubar=0,location=0";let l="about:blank",u=[];u.push("createflags="+t.eCreationFlags),t.minWidth&&u.push("minwidth="+t.minWidth),t.minHeight&&u.push("minheight="+t.minHeight),t.maxWidth&&t.maxWidth!=1/0&&u.push("maxwidth="+t.maxWidth),t.maxHeight&&t.maxHeight!=1/0&&u.push("maxheight="+t.maxHeight),t.target_browser?(u.push("pid="+t.target_browser.m_unPID),u.push("browser="+t.target_browser.m_nBrowserID),t.target_browser.m_eBrowserType?u.push("browserType="+t.target_browser.m_eBrowserType):t.browserType&&u.push("browserType="+t.browserType),t.availscreenwidth&&t.availscreenheight&&(u.push("screenavailwidth="+t.availscreenwidth),u.push("screenavailheight="+t.availscreenheight))):t.browserType&&u.push("browserType="+t.browserType),t.strVROverlayKey&&u.push("vrOverlayKey="+t.strVROverlayKey),t.strRestoreDetails&&u.push("restoredetails="+t.strRestoreDetails),t.window_opener_id&&u.push("openerid="+t.window_opener_id),t.parent_container_popup_id&&u.push("parentcontainerpopupid="+t.parent_container_popup_id),t.center_on_window&&void 0===n.left&&void 0===n.top&&u.push("centerOnBrowserID="+t.center_on_window.SteamClient.Browser.GetBrowserID()),t.strUserAgent&&u.push("useragent="+t.strUserAgent+"/"+(0,c.MR)(d.De.LAUNCHER_TYPE)),t.hwndParent&&u.push("hwndParent="+t.hwndParent),t.bPinned&&u.push("pinned=true"),t.bModal&&u.push("modal=true"),u&&(l+="?"+u.join("&"));let m=(t.owner_window||window).open(l,e,s);if(!m)return console.error(`Failed to create popup, browser/CEF may be blocking popups for "${window.location.origin}"`),{};let h="";t.html_class&&(h=`class="${t.html_class}"`);let p="";t.body_class&&(p=`class="${t.body_class}"`);let _="";t.popup_class&&(_=`class="${t.popup_class}"`);let g=``;return m.document.write(g),m.document.title=o,a.V2(m,a.Mv()),{popup:m,element:m.document.getElementById("popup_target")}}BShuttingDown(){return this.m_bShuttingDown}GetLocalStorageKey(){return"PopupSavedDimensions_"+this.m_unCurrentAccountID}LoadSavedDimensionStore(){if(!this.m_unCurrentAccountID)return;let e=this.GetLocalStorageKey();this.m_mapRestoreDetails=void 0;let t=window.localStorage.getItem(e);if(t)try{let e=JSON.parse(t);this.m_mapRestoreDetails=new Map(e)}catch(e){}this.m_mapRestoreDetails||(this.m_mapRestoreDetails=new Map)}SaveSavedDimensionStore(){if(!this.m_unCurrentAccountID||!this.m_bSaveRequired)return;let e=this.GetLocalStorageKey(),t=JSON.stringify(Array.from(this.m_mapRestoreDetails));window.localStorage.setItem(e,t),this.m_bSaveRequired=!1}DebouncedSaveSavedDimensionStore(){this.SaveSavedDimensionStore()}ClearSavedDimensionStore(){this.m_mapRestoreDetails.clear(),this.m_bSaveRequired=!1}GetRestoreDetails(e){if(!this.m_mapRestoreDetails.has(e))return"";let t=this.m_mapRestoreDetails.get(e);return t.last_used=Date.now(),this.m_bSaveRequired=!0,t.strRestoreDetails}SetRestoreDetails(e,t,n){if(e){if(t){if(this.m_mapRestoreDetails.size>50){let e=null,t=Date.now();for(let n of Array.from(this.m_mapRestoreDetails.keys())){let r=this.m_mapRestoreDetails.get(n);r.last_usednew I));window.g_PopupManager=R},86777:(e,t,n)=>{"use strict";n.d(t,{B:()=>l});var r=n(89526),i=n(73070);const o=r.createContext({body_class:""});function a(){return r.useContext(o)}var s=n(46132);function l(e,t,n){const i=r.useRef(),[o,l]=r.useState(void 0),u=a();return i.current||(i.current=new c(e,function(e,t){return Object.assign(Object.assign({},e),{body_class:e.body_class+" "+t.body_class})}(t,u),l)),i.current.m_callbacks=n,r.useEffect((()=>{let e=t.bNoFocusOnShow?s.IF.k_EWindowBringToFrontWithoutForcingOS:s.IF.k_EWindowBringToFrontAndForceOS;return i.current.Show(e),()=>{var e,t;i.current.m_callbacks=void 0,(null===(e=i.current.window)||void 0===e?void 0:e.SteamClient.Window.SetHideOnClose)&&(null===(t=i.current.window)||void 0===t||t.SteamClient.Window.SetHideOnClose(!1)),i.current.Close()}}),[]),r.useEffect((()=>{var e,n;(null===(e=i.current.window)||void 0===e?void 0:e.SteamClient.Window.SetHideOnClose)&&(null===(n=i.current.window)||void 0===n||n.SteamClient.Window.SetHideOnClose(t.bHideOnClose))}),[t.bHideOnClose]),{popup:i.current.window,element:o,popupObj:i.current}}class c extends i.K3{constructor(e,t,n){super(e,t),this.m_fnReadyToRender=n}DoCallback(e){this.m_callbacks&&this.m_callbacks[e]&&this.m_callbacks[e](this.m_popup,this.m_element)}UpdateParamsBeforeShow(e){var t;return(null===(t=this.m_callbacks)||void 0===t?void 0:t.updateParamsBeforeShow)?this.m_callbacks.updateParamsBeforeShow(e):e}OnCreate(){var e;(null===(e=this.m_callbacks)||void 0===e?void 0:e.onCreate)&&this.m_callbacks.onCreate(this.m_popup,this.m_element)}OnBlur(){this.DoCallback("onBlur")}OnFocus(){this.DoCallback("onFocus")}OnLoad(){this.DoCallback("onLoad")}OnResize(){this.DoCallback("onResize")}OnClose(){this.DoCallback("onClose")}Render(e,t){this.m_fnReadyToRender(t)}}},44026:(e,t,n)=>{"use strict";n.d(t,{Fe:()=>c,Hy:()=>m,IS:()=>_,K:()=>d,Ks:()=>h,bX:()=>g,wl:()=>p});var r=n(33940),i=n(89526),o=n(44673),a=n(88045),s=n(4306),l=n(32053);const c=i.forwardRef((function(e,t){const{NavigationManager:n,onActivated:c,onDeactivated:d,navTreeRef:m,secondary:h,virtualFocus:p,navID:_,children:g,"flow-children":f,parentEmbeddedNavTree:v}=e,C=(0,r._T)(e,["NavigationManager","onActivated","onDeactivated","navTreeRef","secondary","virtualFocus","navID","children","flow-children","parentEmbeddedNavTree"]),{elemProps:E,navOptions:b,gamepadEvents:w}=(0,o.QH)(C),S=(null===(y=i.useContext(u))||void 0===y?void 0:y.focusNavWindow)||n.GetDefaultContext();var y;let I=i.useRef(null);I.current||(I.current=n.NewGamepadNavigationTree(S,_));const R=I.current;i.useLayoutEffect((()=>{const e=(0,a.t)(f);R.Root.SetProperties(Object.assign(Object.assign({},b),{layout:e}))}));let D=i.useRef();R.SetUseVirtualFocus(p),R.SetParentEmbeddedNavTree(v),(0,s.Qg)(R.OnActivateCallbacks,c),(0,s.Qg)(R.OnDeactivateCallbacks,d),(0,l.Jd)(w,D,I.current),i.useLayoutEffect((()=>R.RegisterNavigationItem(R.Root,D.current)),[R,D]),i.useLayoutEffect((()=>n.RegisterGamepadNavigationTree(R,D.current.ownerDocument.defaultView,h)),[n,h,R]),i.useLayoutEffect((()=>((0,s.k$)(m,R),()=>(0,s.k$)(m,null))),[m,R]);const M=(0,s.BE)(D,t);return i.createElement("div",Object.assign({},E,{id:_,"data-react-nav-root":_,ref:M}),i.createElement(o.ET.Provider,{value:R.Root},g))})),u=i.createContext({focusNavWindow:null,bSupportsFocus:!0});function d(){var e,t;return null===(t=null===(e=i.useContext(u))||void 0===e?void 0:e.bSupportsFocus)||void 0===t||t}function m(){return i.createRef()}const h=(0,o.lP)("div"),p=(0,o.lP)("button"),_=(0,o.lP)("a"),g=(0,o.hi)("input");(0,o.hi)("textarea"),(0,o.lP)("img")},44673:(e,t,n)=>{"use strict";n.d(t,{CO:()=>C,QH:()=>E,zQ:()=>w,Iy:()=>f,lP:()=>y,hi:()=>I,ET:()=>g,Pd:()=>v});var r=n(33940),i=n(89526),o=n(44026),a=n(32053),s=n(58123),l=n(77872),c=n(94952);var u=n(16383),d=n(78330),m=n(72566),h=n(19304),p=n(4306),_=n(32765);const g=(0,u.Yt)("GamepadNavigationContext",(()=>i.createContext(null))),f=(0,u.Yt)("FocusRingNavigationContext",(()=>i.createContext(l.U7)));function v(e){const{navRef:t}=e,n=(0,r._T)(e,["navRef"]),o=i.useRef(),a=(0,i.useContext)(g),s=(0,i.useContext)(f),l=function(e,t){let n=i.useRef(null);return!e||n.current&&n.current.m_Parent==e||(n.current=e.Tree.CreateNode(e,t)),n.current}(a,s);return i.useLayoutEffect((()=>{l&&l.SetProperties(n)})),i.useLayoutEffect((()=>{if(!a)return;const e=a.Tree.RegisterNavigationItem(l,o.current);return()=>{e()}}),[a,l,o]),i.useLayoutEffect((()=>{if(l&&t)return(0,p.k$)(t,l.CreateHandle()),()=>(0,p.k$)(t,null)}),[l,t]),{ref:o,node:l}}function C(e){const{onButtonDown:t,onButtonUp:n,onOKButton:i,onCancelButton:o,onSecondaryButton:a,onOptionsButton:l,onGamepadDirection:c,onGamepadFocus:u,onGamepadBlur:d,onMenuButton:m,onOKActionDescription:h,onCancelActionDescription:p,onSecondaryActionDescription:_,onOptionsActionDescription:g,onMenuActionDescription:f,actionDescriptionMap:v}=e,C=(0,r._T)(e,["onButtonDown","onButtonUp","onOKButton","onCancelButton","onSecondaryButton","onOptionsButton","onGamepadDirection","onGamepadFocus","onGamepadBlur","onMenuButton","onOKActionDescription","onCancelActionDescription","onSecondaryActionDescription","onOptionsActionDescription","onMenuActionDescription","actionDescriptionMap"]),E={};void 0!==t&&(E.onButtonDown=t),void 0!==n&&(E.onButtonUp=n),void 0!==i&&(E.onOKButton=i),void 0!==o&&(E.onCancelButton=o),void 0!==a&&(E.onSecondaryButton=a),void 0!==l&&(E.onOptionsButton=l),void 0!==m&&(E.onMenuButton=m),void 0!==c&&(E.onGamepadDirection=c),void 0!==u&&(E.onGamepadFocus=u),void 0!==d&&(E.onGamepadBlur=d);return{gamepadEvents:E,actionDescriptions:(0,s.Cj)({onOKActionDescription:h,onCancelActionDescription:p,onSecondaryActionDescription:_,onOptionsActionDescription:g,onMenuActionDescription:f,actionDescriptionMap:v}),props:C}}function E(e){const{autoFocus:t,preferredFocus:n,disableNavSounds:i,fnCanTakeFocus:o,childFocusDisabled:a,retainFocus:s,onFocusWithin:l,navKey:c,noFocusRing:u,focusable:d,focusableIfNoChildren:m,navRef:h,actionDescriptionMap:p,onMoveUp:_,onMoveRight:g,onMoveDown:f,onMoveLeft:v,navEntryPreferPosition:E,scrollIntoViewWhenChildFocused:b,fnScrollIntoViewHandler:w,scrollIntoViewType:S,resetNavOnEntry:y}=e,I=(0,r._T)(e,["autoFocus","preferredFocus","disableNavSounds","fnCanTakeFocus","childFocusDisabled","retainFocus","onFocusWithin","navKey","noFocusRing","focusable","focusableIfNoChildren","navRef","actionDescriptionMap","onMoveUp","onMoveRight","onMoveDown","onMoveLeft","navEntryPreferPosition","scrollIntoViewWhenChildFocused","fnScrollIntoViewHandler","scrollIntoViewType","resetNavOnEntry"]),{gamepadEvents:R,actionDescriptions:D,props:M}=C(I);return{elemProps:M,navOptions:{autoFocus:t,preferredFocus:n,disableNavSounds:i,fnCanTakeFocus:o,childFocusDisabled:a,retainFocus:s,onFocusWithin:l,navKey:c,noFocusRing:u,focusable:d,focusableIfNoChildren:m,navRef:h,onMoveUp:_,onMoveRight:g,onMoveDown:f,onMoveLeft:v,navEntryPreferPosition:E,scrollIntoViewWhenChildFocused:b,fnScrollIntoViewHandler:w,scrollIntoViewType:S,resetNavOnEntry:y,actionDescriptionMap:Object.assign(Object.assign({},p),D)},gamepadEvents:R}}function b(e){return function(t){const{focusClassName:n,focusWithinClassName:a,className:s,divRef:l,node:c,tabIndex:u,children:d}=t,m=(0,r._T)(t,["focusClassName","focusWithinClassName","className","divRef","node","tabIndex","children"]),g=(0,p.NW)(),f=(0,_.id)(),v=(0,o.K)(),C=c.BHasFocus()&&v,E=c.BFocusWithin()&&v,b=c.Tree.BIsActive();return(0,p.Qg)(c.FocusCallbackList,g),(0,p.Qg)(c.FocusWithinCallbackList,g),(0,p.Qg)(c.Tree.OnActiveStateChangedCallbacks,C||E?g:void 0),i.createElement(e,Object.assign(Object.assign({},m),{className:(0,h.Z)(s,f&&C&&b&&n,f&&E&&b&&a),tabIndex:b?u:-1,ref:l}),d)}}const w=b("div");function S(e,t,n,r){const{elemProps:o,navOptions:s,gamepadEvents:l}=E(n);void 0!==s.focusable||o.disabled||(s.focusable=!0);const{ref:c,node:u}=v(Object.assign({},s)),_=(0,i.useCallback)((()=>(d.LT.PlayNavSound(d.qr.DefaultOk),c.current.click(),!0)),[c]);l.onOKButton||(o.onClick||"button"==e&&"submit"==o.type||"a"==e)&&(l.onOKButton=_),s.focusable&&(o.tabIndex=o.tabIndex||0),(0,a.pD)(l,c);const f=(0,m.Ze)(2,(()=>"self"==(null==u?void 0:u.GetFocusable()))),C=(0,p.BE)(f,r,c),b=o.children;delete o.children;const w=o.focusClassName;return delete o.focusClassName,i.createElement(g.Provider,{value:u},u?i.createElement(t,Object.assign(Object.assign({},o),{divRef:C,node:u,focusClassName:(0,h.Z)(w,"gpfocus"),focusWithinClassName:"gpfocuswithin",className:(0,h.Z)(o.className,"Focusable")}),b):i.createElement(e,Object.assign(Object.assign({},o),{ref:C,className:(0,h.Z)(o.className,"Focusable")}),b))}function y(e){const t=b(e);return i.forwardRef((function(n,r){return S(e,t,n,r)}))}function I(e){const t=b(e);return i.forwardRef((function(n,i){const o=function(e){const{onEnterKeyPress:t,strEnterKeyLabel:n,onKeyboardNavOut:i,onKeyboardShow:o,onKeyboardFullyVisible:a,onTextEntered:s,BIsElementValidForInput:l}=e;return{virtualKeyboardProps:{onEnterKeyPress:t,strEnterKeyLabel:n,onKeyboardNavOut:i,onKeyboardShow:o,onKeyboardFullyVisible:a,onTextEntered:s,BIsElementValidForInput:l},props:(0,r._T)(e,["onEnterKeyPress","strEnterKeyLabel","onKeyboardNavOut","onKeyboardShow","onKeyboardFullyVisible","onTextEntered","BIsElementValidForInput"])}}(n),{virtualKeyboardProps:a}=o,s=o.props,{refKeyboardHandle:l}=s,u=(0,r._T)(s,["refKeyboardHandle"]),d=(0,c.k$)(a,l),m=(0,p.BE)(i,d);return S(e,t,u,m)}))}},17589:(e,t,n)=>{"use strict";n.d(t,{O:()=>h});var r=n(89526),i=n(19304),o=n(50454),a=(n(77872),n(44673)),s=n(60583),l=n.n(s),c=n(4306),u=n(32765),d=n(44026);const m=new o.s("FocusNavigation").Debug;function h(e){const{className:t,rootClassName:n,render:o,children:s,NavigationManager:m}=e,h=(0,u.id)(),_=r.useRef(),[g,f]=r.useState({bFocusWithin:!1,navTarget:null,prevTarget:null}),v=(0,c.e1)(null==m?void 0:m.GetShowDebugFocusRing()),C=r.useRef(),E=(0,d.K)(),b=r.useMemo((()=>({OnBlur:(e,t,n)=>{f({bFocusWithin:!1,navTarget:null,prevTarget:null})},OnFocus:(e,t,n)=>{f({bFocusWithin:!0,navTarget:t,prevTarget:null})},OnFocusChange:(e,t,n)=>{f({bFocusWithin:!0,navTarget:n,prevTarget:t})},OnForceMeasureFocusRing:()=>{var e;null===(e=C.current)||void 0===e||e.MeasureElementAndUpdate()}})),[f]),{bFocusWithin:w,navTarget:S}=g;return h?r.createElement(r.Fragment,null,r.createElement("div",{className:(0,i.Z)(l().FocusRingRoot,n),ref:_},r.createElement(p,{ref:C,className:(0,i.Z)(t,v&&l().DebugFocusRing),render:o,bFocusWithin:w&&E,navTarget:S,refContainer:_,bDebug:v})),r.createElement(a.Iy.Provider,{value:b},s)):r.createElement(r.Fragment,null,s)}const p=r.forwardRef((function(e,t){const{className:n,render:o,bFocusWithin:a,navTarget:s,refContainer:c,bDebug:u}=e,[d,h]=r.useState(s),[p,g]=r.useState(null),[f,v]=r.useState(!1),[C,E]=r.useState(!1),b=r.useRef(performance.now()),w=(0,r.useCallback)((()=>{if(!s||!s.BWantsFocusRing())return null!=p&&(g(null),!0);let e=s.GetBoundingRect();const t=c.current.getBoundingClientRect();if(u){let t=s.Element;const n=t.ownerDocument.defaultView,r=t=>"none"==n.getComputedStyle(t).display||0==e.width&&0==e.height&&0==e.x&&0==e.y;for(;r(t)&&t.parentElement;)t=t.parentElement,e=t.getBoundingClientRect();let i=s.Element!=t;i!=C&&(E(i),i&&m("Focused on hidden item: ",s.Element,". Closest visible ancestor: ",t))}const n={left:e.x-t.x,top:e.y-t.y,height:e.height,width:e.width};return(!p||n.left!=p.left||n.top!=p.top||n.height!=p.height||n.width!=p.width)&&(g(n),!0)}),[s,c,g,p,C,E,u]);r.useImperativeHandle(t,(()=>({MeasureElementAndUpdate:w})),[w]);let S=a,y=p||{};s&&c.current&&(s.BWantsFocusRing()||(S=!1)),s!=d&&(h(s),b.current=performance.now(),w(),f&&v(!1)),r.useEffect((()=>{if(!S||performance.now()-b.current>500)return;let e;const t=()=>{e=requestAnimationFrame((()=>{w()?v(!0):performance.now()-b.current<=500&&t()}))};return t(),()=>cancelAnimationFrame(e)}));const I=o||_;return r.createElement(I,Object.assign({},y,{visible:S&&null!==p,key:b.current,className:(0,i.Z)(n,C&&l().FocusRingOnHiddenItem),animationEnabled:!f,target:s}))}));function _(e){const{className:t,visible:n,left:o,top:a,height:s,width:c,target:u,animationEnabled:d}=e;if(!n)return null;const m={left:o-0+"px",top:a-0+"px",height:s+"px",width:c+"px"};return r.createElement("div",{className:(0,i.Z)(l().FocusRing,d&&l().Animated,t),style:m})}},32053:(e,t,n)=>{"use strict";n.d(t,{Jd:()=>u,pD:()=>l});var r=n(33940),i=n(89526),o=n(58123),a=n(50454);n(44673);const s=new a.s("GamepadEvents").Debug;function l(e,t,n){void 0===n&&(n=[e.onButtonDown,e.onButtonUp,e.onOKButton,e.onCancelButton,e.onSecondaryButton,e.onOptionsButton,e.onMenuButton,e.onGamepadDirection,e.onGamepadFocus,e.onGamepadBlur]),i.useLayoutEffect((()=>{let n=t.current;const r=[];return n&&(e.onButtonDown&&r.push((0,o.VC)(n,e.onButtonDown)),e.onButtonUp&&r.push((0,o.If)(n,e.onButtonUp)),e.onOKButton&&r.push((0,o.x)(n,e.onOKButton)),e.onCancelButton&&r.push((0,o.R3)(n,e.onCancelButton)),e.onSecondaryButton&&r.push((0,o.n2)(n,e.onSecondaryButton)),e.onOptionsButton&&r.push((0,o.DX)(n,e.onOptionsButton)),e.onMenuButton&&r.push((0,o.WF)(n,e.onMenuButton)),e.onGamepadDirection&&r.push((0,o.$G)(n,e.onGamepadDirection)),e.onGamepadFocus&&r.push((0,o.mk)(n,e.onGamepadFocus)),e.onGamepadBlur&&r.push((0,o.BG)(n,e.onGamepadBlur))),()=>r.forEach((e=>e()))}),n)}function c(e){return e.stopPropagation(),!1}function u(e,t,n){const{onButtonDown:o}=e,a=(0,r._T)(e,["onButtonDown"]),u=i.useCallback((e=>{o&&o(e),s("Gamepad Event fired:",e.detail.button,", handled:",null!=o,", propagation stopped:",e.cancelBubble),e.cancelBubble||n.HandleButtonDownEventAsLogicalEvent(e)}),[o,n]);l(a,t);l({onButtonDown:u,onButtonUp:c,onOKButton:c,onCancelButton:c,onSecondaryButton:c,onOptionsButton:c,onMenuButton:c,onGamepadDirection:c,onGamepadFocus:c,onGamepadBlur:c},t,[u])}},51438:(e,t,n)=>{"use strict";n.d(t,{s:()=>p});var r=n(33940),i=n(89526),o=n(44673),a=n(19304),s=n(4306),l=n(16221),c=n(44026),u=n(32053),d=n(88045);const m=(0,i.createContext)(null);var h=n(72566);const p=i.forwardRef((function(e,t){const{"flow-children":n,onActivate:p,onCancel:_,focusClassName:g,focusWithinClassName:f}=e,v=(0,r._T)(e,["flow-children","onActivate","onCancel","focusClassName","focusWithinClassName"]),{elemProps:C,navOptions:E,gamepadEvents:b}=(0,o.QH)(v);let w={};const S=(0,d.t)(n);S!=l.gj.NONE&&(w.layout=S),p&&(C.onClick=C.onClick||p,b.onOKButton=b.onOKButton||p),b.onOKButton&&void 0===E.focusable&&(E.focusable=!0),_&&(b.onCancelButton=b.onCancelButton||_);const{ref:y,node:I}=(0,o.Pd)(Object.assign(Object.assign({},w),E)),R=(0,c.K)();C.className=(0,a.Z)(C.className,"Panel",R&&"Focusable"),(0,u.pD)(b,y);const D=(0,i.useContext)(m),M=(0,h.Ze)(2,(()=>"self"==(null==I?void 0:I.GetFocusable()))),T=(0,h.Ze)(1,(()=>null==D?void 0:D.HasContextMenu(I))),B=(0,s.BE)(M,T,y,t);return!E.focusable&&!E.focusableIfNoChildren||I&&I.Tree.BUseVirtualFocus()||(C.tabIndex=C.tabIndex||0),D&&(C.onContextMenu=t=>{var n;D.OnContextMenu(I,t)||null===(n=e.onContextMenu)||void 0===n||n.call(e,t)}),i.createElement(o.ET.Provider,{value:I},I?i.createElement(o.zQ,Object.assign({},C,{divRef:B,node:I,focusClassName:(0,a.Z)(g,"gpfocus"),focusWithinClassName:(0,a.Z)(f,"gpfocuswithin")})):i.createElement("div",Object.assign({},C,{ref:B})))}))},30928:(e,t,n)=>{"use strict";n.d(t,{eh:()=>l});var r=n(33940),i=n(89526),o=n(4306),a=n(51438),s=n(34329);const l=i.forwardRef((function(e,t){const{onExplicitFocusLevelChanged:n,onOKButton:s,onCancelButton:l,navRef:u,focusable:d}=e,m=(0,r._T)(e,["onExplicitFocusLevelChanged","onOKButton","onCancelButton","navRef","focusable"]),h=i.useRef(),{fnOnOKButton:p,fnOnCancelButton:_}=c({navRefPanel:h,onOKButton:s,onCancelButton:l,onExplicitFocusLevelChanged:n}),g=(0,o.BE)(u,h);return i.createElement(a.s,Object.assign({},m,{onOKButton:p,onCancelButton:_,navRef:g,ref:t,focusable:!1!==d}))}));i.forwardRef((function(e,t){const{onOKButton:n,onCancelButton:a,navRef:l,focusable:u}=e,d=(0,r._T)(e,["onOKButton","onCancelButton","navRef","focusable"]),m=i.useRef(),h=i.useRef(),p=i.useCallback(((e,t)=>e.FocusVisibleChild()),[]),{fnOnOKButton:_,fnOnCancelButton:g}=c({navRefPanel:m,onOKButton:n,onCancelButton:a,fnFocusChildren:p}),f=(0,o.BE)(h,t),v=(0,o.BE)(l,m);return i.createElement(s.TN,Object.assign({},d,{onOKButton:e=>_(e),onCancelButton:g,navRef:v,ref:f,focusable:!1!==u}))}));function c(e){let{navRefPanel:t,onOKButton:n,onCancelButton:r,onExplicitFocusLevelChanged:o,fnFocusChildren:a}=e;a=null!=a?a:u;return{fnOnOKButton:i.useCallback((e=>{const r=t.current;return r.BHasFocus()&&a(r,e.detail.button)?(o&&o(!0),!0):!!n&&n(e)}),[t,n,o,a]),fnOnCancelButton:i.useCallback((e=>{const n=t.current;return n.BFocusWithin()&&!n.BHasFocus()&&n.TakeFocus(e.detail.button)?(o&&o(!1),!0):!!r&&r(e)}),[t,r,o])}}function u(e,t){return e.ChildTakeFocus(t)}},34329:(e,t,n)=>{"use strict";n.d(t,{P8:()=>_,TN:()=>g});var r=n(33940),i=n(89526),o=n(23801),a=n(19304),s=n(4306),l=n(45820),c=n(16221),u=n(22612),d=n(17589),m=n(51438),h=n(20525),p=n.n(h);const _=i.forwardRef((function(e,t){var n;const{scrollDirection:o,scrollPaddingTop:l,scrollPaddingRight:c,scrollPaddingBottom:h,scrollPaddingLeft:_,className:g,children:f,style:v}=e,C=(0,r._T)(e,["scrollDirection","scrollPaddingTop","scrollPaddingRight","scrollPaddingBottom","scrollPaddingLeft","className","children","style"]);let E;switch(o){case"x":E=p().ScrollX;break;case"both":E=p().ScrollBoth;break;default:E=p().ScrollY}let b=Object.assign({},v);(l||0===l)&&(b.scrollPaddingTop=l),(c||0===c)&&(b.scrollPaddingRight=c),(h||0===h)&&(b.scrollPaddingBottom=h),(_||0===_)&&(b.scrollPaddingLeft=_);const{ref:w,navRef:S}=(0,u.$1)(),y=(0,s.BE)(S,C.navRef),I=(0,s.BE)(w,t),R=null===(n=null==S?void 0:S.current)||void 0===n?void 0:n.Node().Tree.Controller;return i.createElement(m.s,Object.assign({},C,{style:b,className:(0,a.Z)(g,p().ScrollPanel,E),ref:I,navRef:y}),i.createElement(d.O,{NavigationManager:R},f))})),g=i.forwardRef((function(e,t){const{scrollStepPercent:n,scrollBehavior:o}=e,a=(0,r._T)(e,["scrollStepPercent","scrollBehavior"]),l=i.useRef(),d=i.useCallback((e=>e.currentTarget!=e.target),[]),m=(0,u.pj)(l,o,n,d),h=(0,s.BE)(l,t);return i.createElement(_,Object.assign({},a,{onGamepadDirection:m,ref:h,scrollIntoViewType:c.mz.NoTransformSparseContent}))}));i.forwardRef((function(e,t){const{name:n,msScrollRestoreDelay:o,onScroll:a}=e,s=(0,r._T)(e,["name","msScrollRestoreDelay","onScroll"]);return i.createElement(f,{name:n,msScrollRestoreDelay:o,parentOnScroll:a,refDiv:t},((e,t)=>i.createElement(_,Object.assign({},s,{onScroll:e,ref:t}))))})),i.forwardRef((function(e,t){const{name:n,msScrollRestoreDelay:o,onScroll:a}=e,s=(0,r._T)(e,["name","msScrollRestoreDelay","onScroll"]);return i.createElement(f,{name:n,msScrollRestoreDelay:o,parentOnScroll:a,refDiv:t},((e,t)=>i.createElement(g,Object.assign({},s,{onScroll:e,ref:t}))))}));function f(e){const{name:t,msScrollRestoreDelay:n,parentOnScroll:r,refDiv:a,children:c}=e,[u,d]=(0,l.lJ)(`${t}ScrollTop`,250,0),[m,h]=(0,l.lJ)(`${t}ScrollLeft`,250,0),p=i.useRef(0),_=i.useRef(0),g=i.useRef();let f=i.useCallback((e=>{const{scrollTop:t,scrollLeft:n}=e.currentTarget;d(t),p.current=t,h(n),_.current=n,r&&r(e)}),[d,h,r]);i.useLayoutEffect((()=>{const e=function(){(0,o.X)(g.current.scrollHeight>=u,`Element is ${g.current.scrollHeight} high but trying to restore scrollTop of ${u}, element may need more time to lay out.`,g.current),p.current=u,_.current=m,g.current.scrollTo({top:u,left:m,behavior:"auto"}),g.current.dispatchEvent(new UIEvent("scroll"))};u==p.current&&m==_.current||(n?window.setTimeout(e,n):e())}),[u,m,n]);const v=(0,s.BE)(g,a);return i.useMemo((()=>c(f,v)),[f,v,c])}},58123:(e,t,n)=>{"use strict";n.d(t,{$G:()=>p,BG:()=>g,Cj:()=>E,DX:()=>m,If:()=>l,Jb:()=>f,R3:()=>u,Ut:()=>v,VC:()=>s,WF:()=>h,mk:()=>_,n2:()=>d,uS:()=>r,x:()=>c});var r,i=n(8179);!function(e){e[e.GAMEPAD=0]="GAMEPAD",e[e.KEYBOARD=1]="KEYBOARD",e[e.APPLICATION=2]="APPLICATION",e[e.BROWSER=3]="BROWSER"}(r||(r={}));let o={[i.eV.OK]:"vgp_onok",[i.eV.CANCEL]:"vgp_oncancel",[i.eV.SECONDARY]:"vgp_onsecondaryaction",[i.eV.OPTIONS]:"vgp_onoptions",[i.eV.START]:"vgp_onmenu"};function a(e,t,n){return e.addEventListener(t,n),()=>function(e,t,n){e.removeEventListener(t,n)}(e,t,n)}function s(e,t){return a(e,"vgp_onbuttondown",t)}function l(e,t){return a(e,"vgp_onbuttonup",t)}function c(e,t){return a(e,"vgp_onok",C(t))}function u(e,t){return a(e,"vgp_oncancel",C(t))}function d(e,t){return a(e,"vgp_onsecondaryaction",C(t))}function m(e,t){return a(e,"vgp_onoptions",C(t))}function h(e,t){return a(e,"vgp_onmenu",C(t))}function p(e,t){return a(e,"vgp_ondirection",C(t))}function _(e,t){return a(e,"vgp_onfocus",t)}function g(e,t){return a(e,"vgp_onblur",t)}function f(e,t,n){let r=e;if(!r||!r.ownerDocument||!r.ownerDocument.defaultView)return!0;let i=new r.ownerDocument.defaultView.CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n});return e.dispatchEvent(i)}function v(e){const t=[i.eV.DIR_UP,i.eV.DIR_DOWN,i.eV.DIR_LEFT,i.eV.DIR_RIGHT];let n=!0,r=!1,a=o[e.detail.button];return a?(r=!0,n=f(e.target,a,e.detail)):-1!==t.indexOf(e.detail.button)&&(r=!0,n=f(e.target,"vgp_ondirection",e.detail)),{bUnhandled:n,bHadLogicalEventMapping:r}}function C(e){return t=>{!1!==e(t)&&(t.stopPropagation(),t.preventDefault())}}function E(e){const{onOKActionDescription:t,onCancelActionDescription:n,onSecondaryActionDescription:r,onOptionsActionDescription:o,onMenuActionDescription:a,actionDescriptionMap:s}=e,l=Object.assign({},s);return void 0!==t&&(l[i.eV.OK]=t),void 0!==n&&(l[i.eV.CANCEL]=n),void 0!==r&&(l[i.eV.SECONDARY]=r),void 0!==o&&(l[i.eV.OPTIONS]=o),void 0!==a&&(l[i.eV.START]=a),l}},8179:(e,t,n)=>{"use strict";n.d(t,{eV:()=>r,Rr:()=>i,oH:()=>l});var r,i,o=n(85246);class a{constructor(e){this.m_config=e}Reset(){this.m_ActiveInputId=void 0,null!=this.m_ActiveInputTimeout&&(clearInterval(this.m_ActiveInputTimeout),this.m_ActiveInputTimeout=void 0)}HandleInputButtonDown(e,t){if(this.m_ActiveInputId!==e&&null!=t){this.Reset(),this.m_ActiveInputId=e;const n=()=>{this.m_ActiveInputTimeout=window.setInterval((()=>{t()}),this.m_config.repeatInterval_ms)};null==this.m_config.firstRepeatInterval_ms||this.m_config.firstRepeatInterval_ms===this.m_config.repeatInterval_ms?n():this.m_ActiveInputTimeout=window.setTimeout((()=>{t(),n()}),this.m_config.firstRepeatInterval_ms)}}}class s{constructor(e){this.m_config=e,this.m_inputRepeatGenerator=new a(e)}Reset(){this.m_inputRepeatGenerator.Reset()}HandleInputButtonDown(e,t){this.m_config.inputsThatRepeat.has(e)?this.m_inputRepeatGenerator.HandleInputButtonDown(e,t):this.m_inputRepeatGenerator.Reset()}HandleInputButtonUp(e){this.m_inputRepeatGenerator.Reset()}}!function(e){e[e.INVALID=0]="INVALID",e[e.OK=1]="OK",e[e.CANCEL=2]="CANCEL",e[e.SECONDARY=3]="SECONDARY",e[e.OPTIONS=4]="OPTIONS",e[e.BUMPER_LEFT=5]="BUMPER_LEFT",e[e.BUMPER_RIGHT=6]="BUMPER_RIGHT",e[e.TRIGGER_LEFT=7]="TRIGGER_LEFT",e[e.TRIGGER_RIGHT=8]="TRIGGER_RIGHT",e[e.DIR_UP=9]="DIR_UP",e[e.DIR_DOWN=10]="DIR_DOWN",e[e.DIR_LEFT=11]="DIR_LEFT",e[e.DIR_RIGHT=12]="DIR_RIGHT",e[e.SELECT=13]="SELECT",e[e.START=14]="START",e[e.LSTICK_CLICK=15]="LSTICK_CLICK",e[e.RSTICK_CLICK=16]="RSTICK_CLICK",e[e.LSTICK_TOUCH=17]="LSTICK_TOUCH",e[e.RSTICK_TOUCH=18]="RSTICK_TOUCH",e[e.LPAD_TOUCH=19]="LPAD_TOUCH",e[e.LPAD_CLICK=20]="LPAD_CLICK",e[e.RPAD_TOUCH=21]="RPAD_TOUCH",e[e.RPAD_CLICK=22]="RPAD_CLICK",e[e.REAR_LEFT_UPPER=23]="REAR_LEFT_UPPER",e[e.REAR_LEFT_LOWER=24]="REAR_LEFT_LOWER",e[e.REAR_RIGHT_UPPER=25]="REAR_RIGHT_UPPER",e[e.REAR_RIGHT_LOWER=26]="REAR_RIGHT_LOWER",e[e.STEAM_GUIDE=27]="STEAM_GUIDE",e[e.STEAM_QUICK_MENU=28]="STEAM_QUICK_MENU"}(r||(r={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.GAMEPAD=1]="GAMEPAD",e[e.KEYBOARD=2]="KEYBOARD",e[e.MOUSE=3]="MOUSE",e[e.TOUCH=4]="TOUCH",e[e.LPAD=5]="LPAD",e[e.RPAD=6]="RPAD"}(i||(i={}));class l{constructor(){this.m_OnGamepadDetectedCallbacks=new o.pB,this.m_ButtonDownCallbacks=new o.pB,this.m_ButtonUpCallbacks=new o.pB,this.m_AnalogCallbacks=new o.pB,this.m_NavigationTypeChangeCallbacks=new o.pB,this.m_nLastActiveControllerIndex=-1,this.m_ButtonRepeatHandler=new s({inputsThatRepeat:new Set([r.DIR_UP,r.DIR_DOWN,r.DIR_LEFT,r.DIR_RIGHT]),firstRepeatInterval_ms:400,repeatInterval_ms:50}),this.m_bGamepadDetected=!1}RegisterForGamepadDetected(e){return this.m_OnGamepadDetectedCallbacks.Register(e)}RegisterForGamepadButtonDown(e){return this.m_ButtonDownCallbacks.Register(e)}RegisterForGamepadButtonUp(e){return this.m_ButtonUpCallbacks.Register(e)}RegisterForAnalog(e){return this.m_AnalogCallbacks.Register(e)}RegisterForNavigationTypeChange(e){return this.m_NavigationTypeChangeCallbacks.Register(e)}SetSourceType(e){this.m_eNavigationSourceType=e}GetSourceType(){return this.m_eNavigationSourceType}SetControllerActive(e){this.m_nLastActiveControllerIndex=e,this.m_fLastActiveTime=Date.now()}GetActiveControllerIndex(){return this.m_nLastActiveControllerIndex}GetActiveControllerTime(){return this.m_fLastActiveTime}OnGamepadDetected(){console.log("Gamepad detected"),this.m_bGamepadDetected=!0,this.m_OnGamepadDetectedCallbacks.Dispatch()}OnButtonDown(e,t){void 0===t&&(t=-1),this.SetControllerActive(t),this.DispatchButtonDown(e),this.m_ButtonRepeatHandler.HandleInputButtonDown(e,(()=>this.DispatchButtonDown(e,!0)))}OnButtonUp(e,t){void 0===t&&(t=-1),this.SetControllerActive(t),this.m_ButtonRepeatHandler.HandleInputButtonUp(e),this.m_ButtonUpCallbacks.Dispatch(e,this.m_eNavigationSourceType,this.m_nLastActiveControllerIndex)}DispatchButtonDown(e,t){this.m_ButtonDownCallbacks.Dispatch(e,this.m_eNavigationSourceType,this.m_nLastActiveControllerIndex,t)}OnAnalogPad(e,t,n,r){void 0===r&&(r=-1),this.SetControllerActive(r),this.m_AnalogCallbacks.Dispatch(e,this.m_nLastActiveControllerIndex,t,n)}OnNavigationTypeChanged(e){this.m_NavigationTypeChangeCallbacks.Dispatch(e)}}},96572:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var r=n(33940),i=n(8179),o=n(34433),a=n(11837),s=n(23801),l=n(26464),c=n(85246),u=n(60161),d=n(50454),m=n(58123),h=n(9501);const p=new d.s("FocusNavigation").Debug;class _{constructor(e,t,n){this.m_bActive=!1,this.m_rgGamepadNavigationTrees=[],this.m_LastActiveNavTree=null,this.m_LastActiveFocusNavTree=null,this.m_bMounted=!0,this.m_schDeferredActivate=new c.Ar,this.m_FocusChangedCallbacks=new c.pB,this.m_ActiveCallbacks=new c.pB,this.m_bIsGamepadInputSuppressed=!1,this.m_iFocusChangeStack=0,this.m_controller=e,this.m_rootWindow=t,this.m_activeWindow=t,this.m_bIsGamepadInputSuppressed=n}get RootWindow(){return this.m_rootWindow}get ActiveWindow(){return this.m_activeWindow}FindNavTreeInFocusedWindow(){for(let e=this.m_rgGamepadNavigationTrees.length-1;e>=0;e--){const t=this.m_rgGamepadNavigationTrees[e];if(t.Window.document.hasFocus())return t}}Destroy(e){e==this.m_rootWindow?(p(`${this.LogName(e)} Destroying context for window`),this.m_bMounted=!1,this.m_schDeferredActivate.Cancel(),this.SetActive(!1,e)):p(`${this.LogName(e)} Child window destroyed`)}SetActive(e,t,n=void 0){this.m_controller.BatchedUpdate((()=>{var r;e?(this.m_activeWindow=t,this.m_activeBrowserView=n,this.m_controller.OnContextActivated(this)):(this.m_activeBrowserView=void 0,this.m_controller.OnContextDeactivated(this,!1)),this.m_bActive!=e&&(this.m_bActive=e,this.m_ActiveCallbacks.Dispatch(e),null===(r=this.m_LastActiveFocusNavTree)||void 0===r||r.OnActiveStateChangedCallbacks.Dispatch(e,this.m_LastActiveFocusNavTree))}))}OnActivate(e){p(`${this.LogName(e)} Activating context, there are ${this.m_rgGamepadNavigationTrees.length} trees in this context`),this.SetActive(!0,e)}OnActivateBrowserView(e,t){p(`${this.LogName(e)} Browser View "${t}" activated in context`),this.SetActive(!0,e,t)}OnDeactivate(e){this.m_activeWindow==e?(p(`${this.LogName(e)} Deactivate context for window`),this.SetActive(!1,e)):p(`${this.LogName(e)} Blurred, but not deactivating because (${this.m_activeWindow.name}) has focus.`)}OnDeactivateBrowserView(e,t){p(`${this.LogName(e)} Browser View "${t}" deactivated in context`),this.m_activeBrowserView==t&&this.SetActive(!1,e,t)}BIsGamepadInputSuppressed(){return this.m_bIsGamepadInputSuppressed}BIsActive(){return this.m_bActive}get ActiveCallbacks(){return this.m_ActiveCallbacks}AddNavTree(e,t){t?this.m_rgGamepadNavigationTrees.unshift(e):(this.m_rgGamepadNavigationTrees.push(e),this.SetActiveNavTree(e,!0))}LogName(e=void 0){return e&&this.m_rootWindow!=e?`(${this.m_rootWindow.name}) > (${e.name})`:`(${this.m_rootWindow.name})`}SetActiveNavTree(e,t=!1){if(e&&this.m_LastActiveNavTree==e)return;const n=this.m_LastActiveNavTree;n&&a.Zf(this.m_rgGamepadNavigationTrees,n),e||this.m_rgGamepadNavigationTrees.length&&(e=this.m_rgGamepadNavigationTrees[this.m_rgGamepadNavigationTrees.length-1]);const r=this.m_LastActiveFocusNavTree==e;e&&a.Zf(this.m_rgGamepadNavigationTrees,e),this.m_LastActiveNavTree=e,e&&e.BUseVirtualFocus()||(this.m_LastActiveFocusNavTree=e),p(`${this.LogName(e.Window)} Move from nav tree ${null==n?void 0:n.id} to nav tree ${null==e?void 0:e.id} ${t?"taking focus":"no focus"}`),n&&this.m_rgGamepadNavigationTrees.push(n),e&&(this.m_rgGamepadNavigationTrees.push(e),r||!t||e.DeferredFocus.BHasQueuedFocusNode()||e.DeferredFocus.RequestFocus(e.Root)),n&&n!=this.m_LastActiveFocusNavTree&&n.OnDeactivate(e),e&&!r&&e.OnActivate(n)}BlurNavTree(e){this.m_LastActiveNavTree==e&&this.SetActiveNavTree(null,!0),a.Zf(this.m_rgGamepadNavigationTrees,e),this.m_rgGamepadNavigationTrees.unshift(e)}UnregisterGamepadNavigationTree(e){a.Zf(this.m_rgGamepadNavigationTrees,e),p(`(${this.m_rootWindow.name}) Unregister tree ${null==e?void 0:e.id} ${this.m_LastActiveFocusNavTree==e?"(was active)":"(inactive)"}`),this.m_LastActiveNavTree==e&&(this.m_LastActiveNavTree=null,this.m_bMounted&&this.m_schDeferredActivate.Schedule(1,(()=>{this.m_LastActiveNavTree||this.SetActiveNavTree(null,!0)})))}get FocusChangedCallbacks(){return this.m_FocusChangedCallbacks}OnFocusChangeStart(e,t,n,r){return 0==this.m_iFocusChangeStack?this.m_ActiveFocusChange={source:e,from:n,to:r}:!this.m_ActiveFocusChange.from&&n&&(this.m_ActiveFocusChange.from=n),this.m_iFocusChangeStack++}OnFocusChangeComplete(e){if(this.m_iFocusChangeStack--,(0,s.X)(e==this.m_iFocusChangeStack,"out of order focus pop"),0==this.m_iFocusChangeStack){const{source:e,from:t,to:n}=this.m_ActiveFocusChange;this.m_FocusChangedCallbacks.Dispatch(e,t,n)}}}const g=new d.s("FocusNavigation").Debug,f=new d.s("FocusNavigation").Assert,v="focus-nav-show-debug-focus-ring";function C(e,t){return(null==e?void 0:e.eActivationSourceType)===(null==t?void 0:t.eActivationSourceType)&&(null==e?void 0:e.nActiveGamepadIndex)===(null==t?void 0:t.nActiveGamepadIndex)&&(null==e?void 0:e.nLastActiveGamepadIndex)===(null==t?void 0:t.nLastActiveGamepadIndex)}class E{constructor(){this.m_rgGamepadInputSources=[],this.m_rgAllContexts=[],this.m_bGlobalEventsInitialized=!1,this.m_fnCatchAllGamepadInput=null,this.m_UnhandledButtonEventsCallbacks=new c.pB,this.m_navigationSource=(0,c.vq)({eActivationSourceType:i.Rr.UNKNOWN,nActiveGamepadIndex:-1,nLastActiveGamepadIndex:-1},C),this.m_navigationSourceSupportsFocus=(0,c.km)(this.m_navigationSource,(e=>e.eActivationSourceType===i.Rr.GAMEPAD||e.eActivationSourceType===i.Rr.KEYBOARD||e.eActivationSourceType===i.Rr.UNKNOWN)),this.m_bShowDebugFocusRing=(0,c.vq)(!1),this.m_bRestoringHistory=!1,this.m_fnGamepadEventUpdateBatcher=e=>e(),window.FocusNavController=this,this.m_bShowDebugFocusRing.Set("shown"==sessionStorage.getItem(v))}CreateContext(e,t){const n=new _(this,e,t);return this.m_rgAllContexts.push(n),n}GetDefaultContext(){return this.m_DefaultContext||(this.m_DefaultContext=this.CreateContext(window,!1)),this.m_DefaultContext}GetActiveContext(){return this.m_ActiveContext}FindAnActiveContext(){var e,t;if(!this.m_ActiveContext&&0!=this.m_rgAllContexts.length){console.warn("No active context; finding one");for(const e of this.m_rgAllContexts){const t=e.FindNavTreeInFocusedWindow();if(t){g(`${e.LogName(t.Window)} Found a focused window; setting this context as active.`),this.m_ActiveContext=e,this.m_ActiveContext.OnActivate(t.Window);break}}}return!this.m_ActiveContext&&this.m_LastActiveContext&&((0,s.X)(!1,`Failed to find an active context, will fall back to ${null===(e=this.m_LastActiveContext)||void 0===e?void 0:e.LogName()}`),this.m_ActiveContext=this.m_LastActiveContext,this.m_ActiveContext.OnActivate(null===(t=this.m_LastActiveContext.m_LastActiveFocusNavTree)||void 0===t?void 0:t.Window)),this.m_ActiveContext}SetShowDebugFocusRing(e){this.m_bShowDebugFocusRing.Set(e),function(e){sessionStorage.setItem(v,e?"shown":void 0)}(e)}GetShowDebugFocusRing(){return this.m_bShowDebugFocusRing}RegisterInputSource(e){let t=new c.Hf;return this.m_rgGamepadInputSources.push(e),t.PushArrayRemove(this.m_rgGamepadInputSources,e),t.Push(e.RegisterForGamepadButtonDown(this.OnButtonDown).Unregister),t.Push(e.RegisterForGamepadButtonUp(this.OnButtonUp).Unregister),t.Push(e.RegisterForNavigationTypeChange(this.OnNavigationTypeChange).Unregister),t.GetUnregisterFunc()}SetGamepadEventUpdateBatcher(e){this.m_fnGamepadEventUpdateBatcher=e}get NavigationSource(){return this.m_navigationSource}get NavigationSourceSupportsFocus(){return this.m_navigationSourceSupportsFocus}DispatchVirtualButtonPress(e){this.OnButtonDown(e,i.Rr.UNKNOWN,-1)}DispatchVirtualButtonClick(e,t){var n;let r=null;t&&(r=null!==(n=this.GetActiveContext())&&void 0!==n?n:this.FindAnActiveContext()),this.OnButtonDown(e,i.Rr.GAMEPAD,-1,null,t,r,!0),this.OnButtonUp(e,i.Rr.GAMEPAD,-1,null,t,r,!0)}DispatchVirtualGamepad(e,t){switch(e){case"vgp_onbuttondown":this.OnButtonDown(t.button,t.source,-1,t.is_repeat);break;case"vgp_onbuttonup":this.OnButtonUp(t.button,t.source,-1)}}BGlobalGamepadButton(e){return e===i.eV.STEAM_GUIDE||e===i.eV.STEAM_QUICK_MENU||e===i.eV.CANCEL}GetEventTarget(e,t=!1){let n=this.GetActiveContext();!n&&t&&(n=this.FindAnActiveContext());let r=null==n?void 0:n.ActiveWindow.document.activeElement;if(null==n?void 0:n.m_LastActiveNavTree){let o=this.m_navigationSource.Value.eActivationSourceType;if(!(n.m_LastActiveNavTree.GetLastFocusedNode()||o!=i.Rr.GAMEPAD&&o!=i.Rr.KEYBOARD||(t&&n.m_LastActiveNavTree.TakeFocus(m.uS.GAMEPAD,!0),this.BGlobalGamepadButton(e))))return[null,n];n.m_LastActiveNavTree.GetLastFocusedNode()&&(r=n.m_LastActiveNavTree.GetLastFocusedNode().Element)}return[r,n]}ChangeNavigationSource(e,t){let n=this.m_navigationSource.Value,r=n.nLastActiveGamepadIndex;n.nActiveGamepadIndex>=0&&(r=n.nActiveGamepadIndex),this.m_navigationSource.Set({eActivationSourceType:e,nActiveGamepadIndex:t,nLastActiveGamepadIndex:r}),e!=i.Rr.MOUSE&&(0,o.U5)("Browser.HideCursorUntilMouseEvent")&&SteamClient.Browser.HideCursorUntilMouseEvent()}OnButtonActionInternal(e,t,n,r,o,a,s,l){var c,u;if(this.m_fnCatchAllGamepadInput&&this.m_fnCatchAllGamepadInput(t))return void(e&&g("Ignoring button press - gamepad input is suppressed by parent window"));f(!!a==!!s,"Must set both overrideContext and overrideElement or neither");let d=a,h=s;null!=d&&null!=h||([d,h]=this.GetEventTarget(t,!0)),!(null==h?void 0:h.BIsGamepadInputSuppressed())||l?(this.ChangeNavigationSource(n,r),e&&g(`Firing ${i.eV[t]} in tree ${null===(u=null==h?void 0:h.m_LastActiveNavTree)||void 0===u?void 0:u.id} at `,d),this.BatchedUpdate((()=>(0,m.Jb)(d,e?"vgp_onbuttondown":"vgp_onbuttonup",{button:t,source:n,is_repeat:o})))):g(`Suppressing ${i.eV[t]} input on element ${d.className} because tree ${null===(c=null==h?void 0:h.m_LastActiveNavTree)||void 0===c?void 0:c.id} has it disabled`)}OnButtonDown(e,t,n,r,i,o,a){this.OnButtonActionInternal(!0,e,t,n,r,i,o,a)}OnButtonUp(e,t,n,r,i,o,a){this.OnButtonActionInternal(!1,e,t,n,!1,i,o,a)}BatchedUpdate(e){this.m_fnGamepadEventUpdateBatcher(e)}OnNavigationTypeChange(e){var t,n;if(this.ChangeNavigationSource(e,-1),document.hasFocus()&&(e==i.Rr.MOUSE||e==i.Rr.TOUCH)&&(null===(t=this.m_ActiveContext)||void 0===t?void 0:t.m_LastActiveNavTree)){const e=this.m_ActiveContext.m_LastActiveNavTree.GetLastFocusedNode(),t=function(e){if(!(0,u.GB)(e))return!1;const t=e.tagName,n=(0,u.uk)(e)?e.type:null;return(0,u._J)(t,n)}(null==e?void 0:e.Element)?e:null;null===(n=this.m_ActiveContext.m_LastActiveNavTree)||void 0===n||n.TransferFocus(m.uS.BROWSER,t)}}NewGamepadNavigationTree(e,t){return new h.C(this,e,t)}RegisterGamepadNavigationTree(e,t,n){const r=e.WindowContext;return e.SetIsMounted(t),n||(this.m_ActiveContext=r,this.m_LastActiveContext=r),r.AddNavTree(e,n),this.m_bGlobalEventsInitialized||this.BindGlobalEventHandlers(),()=>r.UnregisterGamepadNavigationTree(e)}OnGamepadNavigationTreeActivated(e,t=!1){e.WindowContext.SetActiveNavTree(e,t)}OnGamepadNavigationTreeFocused(e,t,n=!1){const r=e.WindowContext;r!=this.m_ActiveContext&&g(`(${r.LogName(e.Window)}) Focus event in inactive window`),e!=r.m_LastActiveFocusNavTree&&e!=r.m_LastActiveNavTree&&(r.m_LastActiveFocusNavTree.GetParentEmbeddedNavTree()==e||e.GetParentEmbeddedNavTree()==r.m_LastActiveFocusNavTree?(g(`There was a focus event in ${e.id}, allowing focus transfer to activate nav tree due to parent embedded relationship`),e.Activate()):g(`There was a focus event in ${e.id}, but the active nav tree is ${r.m_LastActiveFocusNavTree.id} so it is being ignored. Source: ${m.uS[t]}.`))}BlurNavTree(e){e.WindowContext.BlurNavTree(e)}IsActiveFocusNavTree(e){var t;return Boolean(e&&e==(null===(t=this.m_ActiveContext)||void 0===t?void 0:t.m_LastActiveFocusNavTree))}IsActiveNavTree(e){var t;return Boolean(e&&e==(null===(t=this.m_ActiveContext)||void 0===t?void 0:t.m_LastActiveNavTree))}BIsInActiveContext(e){return Boolean(e&&e.WindowContext==this.m_ActiveContext)}BindGlobalEventHandlers(){this.m_bGlobalEventsInitialized||(this.m_bGlobalEventsInitialized=!0)}RegisterForUnhandledButtonDownEvents(e){return this.m_UnhandledButtonEventsCallbacks.Register(e)}FireUnhandledGamepadEventCallbacks(e){return!this.m_UnhandledButtonEventsCallbacks.CountRegistered()||(this.m_UnhandledButtonEventsCallbacks.Dispatch(e),!1)}SetSuppressGamepadInput(e){this.m_fnCatchAllGamepadInput=e?()=>!0:null}SetCatchAllGamepadInput(e){this.m_fnCatchAllGamepadInput=e}TakeFocusChangingIFrame(){window.focus();let e=this.m_ActiveContext.m_LastActiveFocusNavTree||this.m_ActiveContext.m_LastActiveNavTree;e&&e.TakeFocus(m.uS.APPLICATION)}OnContextActivated(e){this.m_ActiveContext=e,this.m_LastActiveContext=e}OnContextDeactivated(e,t){t&&(this.m_LastActiveContext==e&&(this.m_LastActiveContext=void 0),a.Zf(this.m_rgAllContexts,e)),this.m_ActiveContext==e&&(this.m_ActiveContext=void 0)}BIsRestoringHistory(){return this.m_bRestoringHistory}RestoreHistoryTransaction(e){return(0,r.mG)(this,void 0,void 0,(function*(){this.m_bRestoringHistory=!0;try{yield e()}finally{this.m_bRestoringHistory=!1}}))}}(0,r.gn)([l.a],E.prototype,"OnButtonDown",null),(0,r.gn)([l.a],E.prototype,"OnButtonUp",null),(0,r.gn)([l.a],E.prototype,"OnNavigationTypeChange",null)},77872:(e,t,n)=>{"use strict";n.d(t,{sA:()=>v,lx:()=>m,ZT:()=>u.Z,TB:()=>p,uW:()=>d,Ii:()=>f,ZR:()=>_,U7:()=>g,sq:()=>h});var r=n(8179),i=n(23801),o=n(58123);class a{constructor(e){this.m_root=e}static SerializeNavState(e,t=!0,n=!0){return{root:a.SerializeNavNode(e,t,n),bHadFocus:e.BFocusWithin()}}static SerializeNavNode(e,t=!0,n=!0){let r=null;const[i,o]=e.GetChildren();return i.length&&-1!=o&&t&&(r=i.map(((e,t)=>a.SerializeNavNode(e,t==o||n,n)))),{sNavKey:e.NavKey,iActiveChild:o,rgChildren:r}}static RestoreSerializedNavState(e,t,n=0){const{root:r,bHadFocus:i}=t;e.Tree.Controller.RestoreHistoryTransaction((()=>{a.RestoreSerializedNavNode(e,r),(1==n||0==n&&i)&&e.BTakeFocus(o.uS.APPLICATION)}))}static RestoreSerializedNavNode(e,t){var n;const{sNavKey:r,iActiveChild:o,rgChildren:s}=t;if(r&&(0,i.X)(r==e.NavKey,"navkey mismatch"),e.SetActiveChild(o),s&&s.length){const[t]=e.GetChildren();let r=new Map;t.forEach((e=>{e.NavKey&&r.set(e.NavKey,e)}));for(const e of s){if(!e.sNavKey)continue;const t=r.get(e.sNavKey);t&&a.RestoreSerializedNavNode(t,e)}if(-1!=o&&(null===(n=s[o])||void 0===n?void 0:n.sNavKey)){const n=r.get(s[o].sNavKey);n&&e.SetActiveChild(t.indexOf(n))}let i=0,l=0;for(;i=t.length||l>=s.length)break;a.RestoreSerializedNavNode(t[i],s[l]),i++,l++}}}}class s extends a{constructor(){super(...arguments),this.m_rgHistory=[]}PushState(){this.m_rgHistory.push(a.SerializeNavState(this.m_root))}PopState(e=0){this.m_rgHistory.length&&a.RestoreSerializedNavState(this.m_root,this.m_rgHistory.pop(),e)}}class l extends a{constructor(){super(...arguments),this.m_mapHistory=new Map}SaveState(e){this.m_mapHistory.set(e,a.SerializeNavState(this.m_root))}RestoreState(e,t=0){const n=this.m_mapHistory.get(e);return!!n&&(console.log(`Restoring history for state ${e}`),a.RestoreSerializedNavState(this.m_root,n,t),!0)}}var c=n(16221),u=n(96572);n(9501);class d{constructor(e){this.m_node=e}TakeFocus(e){return this.m_node.BTakeFocus(e?o.uS.GAMEPAD:o.uS.APPLICATION,e)}ParentTakeFocus(e){this.m_node.Parent.BTakeFocus(e?o.uS.GAMEPAD:o.uS.APPLICATION,e)}ChildTakeFocus(e){return this.m_node.BChildTakeFocus(e?o.uS.GAMEPAD:o.uS.APPLICATION,e)}FocusVisibleChild(e){return this.m_node.BVisibleChildTakeFocus(e)}BHasFocus(){return this.m_node.BHasFocus()}BFocusWithin(){return this.m_node.BFocusWithin()}get NavKey(){return this.m_node.NavKey}PushState(){this.m_History||(this.m_History=new s(this.m_node)),this.m_History.PushState()}PopState(e=0){this.m_History&&this.m_History.PopState(e)}SaveState(e){this.m_StateHistory||(this.m_StateHistory=new l(this.m_node)),this.m_StateHistory.SaveState(e)}RestoreState(e,t=0){return!!this.m_StateHistory&&this.m_StateHistory.RestoreState(e,t)}GetFocusSnapshot(){return e=this.m_node,a.SerializeNavState(e,!0,!1);var e}RestoreFocusSnapshot(e,t=0){return function(e,t,n=0){return a.RestoreSerializedNavState(e,t,n)}(this.m_node,e,t)}NavTree(){return this.m_node.Tree}Node(){return this.m_node}}function m(e,t,n,r=.001){return"x"==e?t.x+t.width>n.x+r&&t.x+rn.y+r&&t.y+ro.max?r-o.max:0}function _(e){return{x:e.x,y:e.y}}const g={OnBlur:()=>{},OnFocus:()=>{},OnFocusChange:()=>{},OnForceMeasureFocusRing:()=>{}};function f(e){if(!e)return c.gj.NONE;const t=e.ownerDocument.defaultView,n=t.getComputedStyle(e);if("flex"==n.display)switch(n.flexDirection){case"row":return"wrap"==n.flexWrap?c.gj.GRID:c.gj.ROW;case"row-reverse":return c.gj.ROW_REVERSE;case"column":return c.gj.COLUMN;case"column-reverse":return c.gj.COLUMN_REVERSE}else{if("grid"==n.display)return c.gj.GRID;if(e.childElementCount>0){const n=t.getComputedStyle(e.firstElementChild);if("left"===n.float)return c.gj.ROW;if("right"===n.float)return c.gj.ROW_REVERSE;if("inline"===n.display||"inline-block"===n.display)return c.gj.GRID}}return c.gj.COLUMN}function v(e){switch(e){case r.eV.DIR_UP:case r.eV.DIR_DOWN:return"y";case r.eV.DIR_LEFT:case r.eV.DIR_RIGHT:return"x";default:return}}},16221:(e,t,n)=>{"use strict";n.d(t,{Vp:()=>V,zE:()=>P,gj:()=>k,c4:()=>N,mz:()=>x});var r=n(33940),i=n(8179),o=n(89855),a=n(23801),s=n(26464),l=n(85246),c=n(50454);var u=n(58123),d=n(77872),m=n(60161);function h(e,t,n){const r=[],[i,o]=e.GetChildren(),a=e.GetActiveChild();let s;const l=a?a.Element.getBoundingClientRect():null;if(a){const e=g(a,t,n);if(e&&!e.offScreen&&(s=p(a,e,e.overlap,n),s&&!s.visibility.offScreen))return s;e&&r.push({child:a,visibility:e})}const c=n||l;for(let e=0;eu.visibility.distance)break}const i=n==a?s:p(n,r,r.overlap||t,c);i&&(!u||_(i,u)<0)&&(u=i)}return u}function p(e,t,n,r){switch(e.GetFocusable()){case"none":return null;case"children":return h(e,t.overlap||n,r);case"self":return{child:e,visibility:t}}}function _(e,t){const n=e.visibility,r=t.visibility;return n.offScreen?r.offScreen?n.distance-r.distance:1:r.offScreen?-1:n.distance-r.distance}function g(e,t,n){const r=e.Element.getBoundingClientRect(),i=e.GetFocusable();let o;if("none"==i)return null;if("self"==i){if(r.topt.right||r.bottom>t.bottom||r.leftt.right)return{offScreen:"right",distance:n-t.right};if(e>t.bottom)return{offScreen:"bottom",distance:e-t.bottom};if(nr.height||n.scrollWidth>r.width){const e=n.ownerDocument.defaultView.getComputedStyle(n);if("visible"==e.overflowX||"visible"==e.overflowY)return{overlap:t}}if(r.bottomt.right)return{offScreen:"right",distance:r.left-t.right};if(r.top>t.bottom)return{offScreen:"bottom",distance:r.top-t.bottom};if(r.rightl?0:il&&a>c?i-s-u:ic||o>l&&a<=c?o-l+d:0}function I(e){return"auto"==e?0:e.endsWith("px")?parseInt(e):(console.log("Unsupported length",e),0)}function R(e){if(!("ownerDocument"in e))return{left:0,right:0,top:0,bottom:0};const t=e.ownerDocument.defaultView.getComputedStyle(e);return{left:I(t.scrollMarginLeft),right:I(t.scrollMarginRight),top:I(t.scrollMarginTop),bottom:I(t.scrollMarginBottom)}}function D(e,t){let n=function(e){let t;return t="ownerDocument"in e?e.ownerDocument.defaultView.getComputedStyle(e):e.document.defaultView.getComputedStyle(window.document.documentElement),{left:I(t.scrollPaddingLeft),right:I(t.scrollPaddingRight),top:I(t.scrollPaddingTop),bottom:I(t.scrollPaddingBottom)}}(e);return{left:Math.max(0,t.left+n.left),right:Math.max(0,t.right-n.right),top:Math.max(0,t.top+n.top),bottom:Math.max(0,t.bottom-n.bottom)}}function M(e){return e>-1&&e<1}function T(e,t,n,r,i){C("----------------------------------------------------------------------------------"),C("Scrolling Into View:",t);let o=[],a=t,s=w(t),l=null!=i?i:Number.MAX_VALUE;for(;a;){let e=(0,m.Et)(a);e||(e=(0,m.kR)(a));let t=R(a),n=D(e,w(e)),c=O(e),u={element:e,left:0,top:0};if(C("Checking scroll div",e,`scroll y:${c.scrollTop} of ${c.MaxScrollTop()}, x:${c.scrollLeft} of ${c.MaxScrollLeft()}, adjusted =>`,n,"target => ",s),r&&"y"!=r||!(0,m.U0)(e,"y")||(u.top=y(s,n,t,"y"),u.top=f.Lh(u.top,-c.scrollTop,c.MaxScrollTop()-c.scrollTop),i&&(u.top=Math.min(l,Math.abs(u.top))*(u.top<0?-1:1),l-=Math.abs(u.top)),C(`- checked y: ${u.top}`)),r&&"x"!=r||!(0,m.U0)(e,"x")||(u.left=y(s,n,t,"x"),u.left=f.Lh(u.left,-c.scrollLeft,c.MaxScrollLeft()-c.scrollLeft),i&&(u.left=Math.min(l,Math.abs(u.left))*(u.left<0?-1:1),l-=Math.abs(u.left)),C(`- checked x: ${u.left}`)),o.push(u),i&&!l)break;if(!("ownerDocument"in e))break;const d=window.getComputedStyle(e);if("fixed"===d.position||"sticky"===d.position)break;a=e,s={top:s.top-u.top,right:s.right-u.left,bottom:s.bottom-u.top,left:s.left-u.left}}let c=!1;for(let e of o){if(M(e.left)&&M(e.top))continue;let t=O(e.element),r=t.scrollTop+e.top,i=t.scrollLeft+e.left;i=f.Lh(i,0,t.MaxScrollLeft()),r=f.Lh(r,0,t.MaxScrollTop()),M(t.scrollLeft-i)&&M(t.scrollTop-r)||(t.scrollTo({left:i,top:r,behavior:n}),c||(C("Scrolling:"),c=!0),C(`- ${e.top},${e.left} => ${r}, ${i}, behavior: ${n}`,e.element))}}class B{constructor(e){this.m_scrollTopTarget=void 0,this.m_scrollLeftTarget=void 0,this.m_animation=void 0,"ownerDocument"in e?(this.m_element=e,this.m_fnOriginalScrollTo=e.scrollTo,this.m_element.scrollTo=(e,t)=>{"number"==typeof e?this.scrollTo({left:e,top:t}):this.scrollTo(e)}):(this.m_window=e,this.m_element=e.document.documentElement)}ResetScrollState(){this.m_scrollTopTarget=void 0,this.m_scrollLeftTarget=void 0,this.m_window||(this.m_element.style.scrollSnapType="")}scrollTo(e){var t,n;if("smooth"!=e.behavior)this.m_animation&&(this.m_animation.Cancel(),this.m_animation=void 0),this.m_window?this.m_window.scrollTo(e):this.m_fnOriginalScrollTo.apply(this.m_element,[e]),this.ResetScrollState();else{const r=null!==(t=e.left)&&void 0!==t?t:this.scrollLeft,i=null!==(n=e.top)&&void 0!==n?n:this.scrollTop;let o="sine";this.m_animation&&(this.m_animation.Cancel(),o="linear");if(Math.max(Math.abs(this.currentScrollTop-i),Math.abs(this.currentScrollLeft-r))>0){const e={msDuration:200,timing:o,onComplete:this.ResetScrollState};if(this.m_window){const t=this.currentScrollLeft,n=this.currentScrollTop;this.m_animation=new v.sw(this.m_window,e,(e=>{this.m_window.scrollTo({left:t+(r-t)*e,top:n+(i-n)*e,behavior:"auto"})}))}else this.m_element.style.scrollSnapType="initial",this.m_animation=new v.jg(this.m_element,{scrollTop:i,scrollLeft:r},e);this.m_scrollLeftTarget=r,this.m_scrollTopTarget=i,this.m_animation.Start()}}}get clientWidth(){return this.m_window?this.m_window.innerWidth:this.m_element.clientWidth}get clientHeight(){return this.m_window?this.m_window.innerHeight:this.m_element.clientHeight}get currentScrollLeft(){return this.m_window?this.m_window.scrollX:this.m_element.scrollLeft}get currentScrollTop(){return this.m_window?this.m_window.scrollY:this.m_element.scrollTop}get scrollLeft(){var e;return null!==(e=this.m_scrollLeftTarget)&&void 0!==e?e:this.currentScrollLeft}get scrollTop(){var e;return null!==(e=this.m_scrollTopTarget)&&void 0!==e?e:this.currentScrollTop}get scrollWidth(){return this.m_element.scrollWidth}get scrollHeight(){return this.m_element.scrollHeight}MaxScrollTop(){return this.scrollHeight-this.clientHeight}MaxScrollLeft(){return this.scrollWidth-this.clientWidth}}(0,r.gn)([s.a],B.prototype,"ResetScrollState",null);const A=new WeakMap;function O(e){let t=A.get(e);return t||(t=new B(e),A.set(e,t)),t}function F(e){const t=A.get(e);return t?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}const L=new c.s("FocusNavigationMovement").Debug;var k,N,x,P;!function(e){e[e.NONE=0]="NONE",e[e.COLUMN=1]="COLUMN",e[e.ROW=2]="ROW",e[e.COLUMN_REVERSE=3]="COLUMN_REVERSE",e[e.ROW_REVERSE=4]="ROW_REVERSE",e[e.GRID=5]="GRID",e[e.GEOMETRIC=6]="GEOMETRIC"}(k||(k={})),function(e){e[e.FIRST=0]="FIRST",e[e.LAST=1]="LAST",e[e.MAINTAIN_X=2]="MAINTAIN_X",e[e.MAINTAIN_Y=3]="MAINTAIN_Y",e[e.PREFERRED_CHILD=4]="PREFERRED_CHILD"}(N||(N={})),function(e){e[e.Standard=0]="Standard",e[e.NoTransform=1]="NoTransform",e[e.NoTransformSparseContent=2]="NoTransformSparseContent"}(x||(x={})),function(e){e[e.INVALID=0]="INVALID",e[e.FORWARD=1]="FORWARD",e[e.BACKWARD=2]="BACKWARD"}(P||(P={}));class V{constructor(e,t,n){this.m_rgChildren=[],this.m_iLastActiveChildIndex=-1,this.m_bChildrenSorted=!1,this.m_bAutoFocusChild=!1,this.m_bMounted=!1,this.m_bFocused=!1,this.m_FocusCallbackList=new l.pB,this.m_bFocusWithin=!1,this.m_FocusWithinCallbackList=new l.pB,this.m_ActionDescriptionsChangedCallbackList=new l.pB,this.m_RetainFocusParent=null,this.m_rgNavigationHandlers=[],this.m_rgFocusHandlers=[],this.m_Tree=e,this.m_Parent=t,this.m_FocusRing=n,this.m_nDepth=t?t.m_nDepth+1:0}CreateHandle(){return new d.uW(this)}get Tree(){return this.m_Tree}get NavKey(){var e,t;return(null===(e=this.m_Properties)||void 0===e?void 0:e.navKey)?this.m_Properties.navKey:(null===(t=this.m_element)||void 0===t?void 0:t.id)?this.m_element.id:void 0}get Element(){return this.m_element}get Parent(){return this.m_Parent}SetProperties(e){var t,n,r,i,o;const a=(s=null===(t=this.m_Properties)||void 0===t?void 0:t.actionDescriptionMap,l=null==e?void 0:e.actionDescriptionMap,!(null==s||null==l?s===l:"object"==typeof s&&"object"==typeof l&&Object.keys(s).length===Object.keys(l).length&&Object.keys(s).every((e=>l.hasOwnProperty(e)&&s[e]===l[e]))));var s,l;const c=null===(n=this.m_Properties)||void 0===n?void 0:n.retainFocus,d=null===(r=this.m_Properties)||void 0===r?void 0:r.noFocusRing;this.m_Properties=e||{},a&&this.m_ActionDescriptionsChangedCallbackList.Dispatch(),this.m_Properties.retainFocus&&!c?this.PropagateRetainFocusParentToChildren(this):!this.m_Properties.retainFocus&&c&&this.PropagateRetainFocusParentToChildren(this.m_RetainFocusParent),this.m_Properties.noFocusRing&&!d&&this.BHasFocus()?null===(i=this.m_FocusRing)||void 0===i||i.OnBlur(u.uS.APPLICATION,this,this):!this.m_Properties.noFocusRing&&d&&this.BHasFocus()&&(null===(o=this.m_FocusRing)||void 0===o||o.OnFocus(u.uS.APPLICATION,this,this)),this.m_element&&this.RegisterDOMEvents()}BWantsAutoFocus(){return this.m_Properties.autoFocus||this.m_bAutoFocusChild}BWantsPreferredFocus(){return this.m_Properties.preferredFocus}BWantsFocusRing(){return!this.m_Properties.noFocusRing||this.m_Tree.Controller.GetShowDebugFocusRing().Value}GetBoundingRect(){return this.m_element&&this.m_element.getBoundingClientRect()}SetHasFocus(e){e!=this.m_bFocused&&(this.m_bFocused=e,this.m_FocusCallbackList.Dispatch(this.m_bFocused))}SetFocusWithin(e){var t;e!=this.m_bFocusWithin&&(this.m_bFocusWithin=e,this.m_FocusWithinCallbackList.Dispatch(this.m_bFocusWithin),(null===(t=this.m_Properties)||void 0===t?void 0:t.onFocusWithin)&&this.m_Properties.onFocusWithin(this.m_bFocusWithin))}BHasFocus(){return this.m_bFocused}BFocusWithin(){return this.m_bFocusWithin}get FocusCallbackList(){return this.m_FocusCallbackList}get FocusWithinCallbackList(){return this.m_FocusWithinCallbackList}ForceMeasureFocusRing(){var e;null===(e=this.m_FocusRing)||void 0===e||e.OnForceMeasureFocusRing()}get ActionDescriptionChangedCallbackList(){return this.m_ActionDescriptionsChangedCallbackList}GetActiveActionDescriptions(){return this.BuildConsolidatedActionDescriptionMap({})}BuildConsolidatedActionDescriptionMap(e){var t;const n=null===(t=this.m_Properties)||void 0===t?void 0:t.actionDescriptionMap;if(n)for(const t in n){const r=t;void 0===e[r]&&(e[r]=n[r])}return this.m_Parent?this.m_Parent.BuildConsolidatedActionDescriptionMap(e):e}AddChild(e){var t;this.m_rgChildren.push(e),this.m_bChildrenSorted=!1,this.m_element&&this.RegisterDOMEvents(),(null===(t=this.m_Properties)||void 0===t?void 0:t.retainFocus)?e.SetRetainFocusParent(this):this.m_RetainFocusParent&&e.SetRetainFocusParent(this.m_RetainFocusParent),this.m_bMounted&&e.BFocusWithin()&&((0,a.X)(!this.m_ActiveChild&&this.BFocusWithin(),"Invalid focus state in AddChild"),this.SetActiveChild(this.m_rgChildren.length-1))}OnMount(e){this.m_element=e,this.m_Parent?this.m_Parent.AddChild(this):(0,a.X)(this==this.m_Tree.Root,"Only root should have no parent"),this.m_bMounted=!0,this.RegisterDOMEvents();const t=this.m_RetainFocusParent&&this.m_RetainFocusParent.BHasFocus(),n=this.m_Properties.autoFocus||t;if(this.BWantsAutoFocus()||n){let e=-1;this.m_rgChildren.length&&(this.EnsureChildrenSorted(),e=this.m_rgChildren.findIndex((e=>e.BWantsAutoFocus()))),(this.m_Properties.autoFocus||n||-1!==e)&&(this.SetActiveChild(e),!this.m_Parent||this.m_Parent.m_element?t?this.m_Tree.DeferredFocus.BHasQueuedFocusNode()||this.m_Tree.DeferredFocus.RequestFocus(this.m_RetainFocusParent,{bFocusDescendant:!0}):this.Tree.DeferredFocus.RequestFocus(this):this.m_Parent.m_bAutoFocusChild=!0)}else if(this.m_rgChildren.length){const e=this.m_rgChildren.findIndex((e=>e.BFocusWithin()));-1!=e&&(this.SetActiveChild(e),(0,a.X)(this.m_bFocusWithin,"Child has focus, we should be m_bFocusWithin"))}}DEV_SetDebugPropsOnElement(){}OnUnmount(){var e;(null===(e=this.m_Properties)||void 0===e?void 0:e.retainFocus)&&this.PropagateRetainFocusParentToChildren(this.m_RetainFocusParent),this.m_bMounted=!1;const t=this.Tree.DeferredFocus.BIsQueuedFocusNode(this);(this.m_bFocused||t)&&(L(`The focused node is unmounting, ${this.m_RetainFocusParent?"will transfer to retain focus ancestor":"will blur"}.`),t&&this.Tree.DeferredFocus.RequestFocus(void 0),this.m_RetainFocusParent?this.m_RetainFocusParent.OnFocusedDecendantRemoved(this):this.m_bFocused&&this.m_Tree.TransferFocus(u.uS.APPLICATION,null)),this.UnregisterDOMEvents(),this.m_Parent?this.m_Parent.RemoveChild(this):(0,a.X)(this==this.m_Tree.Root,"Only root should have no parent")}RegisterDOMEvents(){!this.m_rgNavigationHandlers.length&&(this.m_rgChildren.length>=2||this.m_Properties.layout!=k.NONE||this.m_Properties.onMoveUp||this.m_Properties.onMoveRight||this.m_Properties.onMoveDown||this.m_Properties.onMoveLeft)&&this.m_rgNavigationHandlers.push((0,u.$G)(this.m_element,this.OnNavigationEvent)),(this.m_Properties.focusable||0==this.m_rgChildren.length)&&(this.m_rgFocusHandlers.length||(this.m_element.addEventListener("focus",this.OnDOMFocus),this.m_element.addEventListener("blur",this.OnDOMBlur),this.m_rgFocusHandlers.push((()=>{this.m_element.removeEventListener("focus",this.OnDOMFocus),this.m_element.removeEventListener("blur",this.OnDOMBlur)}))))}RemoveChild(e){let t=this.m_rgChildren.indexOf(e);(0,a.X)(-1!==t,"Child was not found to remove"),-1!==t&&(this.m_ActiveChild==e&&(this.m_ActiveChild=void 0),this.m_rgChildren.splice(t,1))}UnregisterDOMEvents(){this.m_rgNavigationHandlers.forEach((e=>e())),this.m_rgNavigationHandlers=[],this.m_rgFocusHandlers.forEach((e=>e())),this.m_rgFocusHandlers=[]}GetActiveDescendant(){const e=this.GetActiveChild();return e?e.GetActiveDescendant():this}IsValidChildIndex(e){return e>=0&&e{const n=e.m_element,r=t.m_element;if(!n)return r?1:0;if(!r)return-1;const i=n.compareDocumentPosition(r);return i&Node.DOCUMENT_POSITION_PRECEDING?1:i&Node.DOCUMENT_POSITION_FOLLOWING?-1:0})),this.m_ActiveChild&&(this.m_iLastActiveChildIndex=this.m_rgChildren.indexOf(this.m_ActiveChild)),this.m_bChildrenSorted=!0)}GetLastFocusElement(){const e=this.GetActiveChild();return e?e.GetLastFocusElement():this.m_element}OnDOMFocus(e){this.m_bFocused||this.m_Tree.TransferFocus(u.uS.BROWSER,this)}OnDOMBlur(e){this.m_bFocused&&this.m_element.ownerDocument.hasFocus()&&this.m_Tree.TransferFocus(u.uS.BROWSER,null)}UpdateParentActiveChild(){this.m_Parent&&(this.m_Parent.SetActiveChild(this),this.m_Parent.UpdateParentActiveChild())}GetFocusable(){const{focusable:e,focusableIfNoChildren:t,childFocusDisabled:n,fnCanTakeFocus:r}=this.m_Properties;return this.m_bMounted?r&&!r(this)?"none":e||t&&(n||0==this.m_rgChildren.length)?"self":!n&&this.m_rgChildren.length?"children":"none":"none"}BTakeFocus(e,t){const n=this.FindFocusableNode(t);return this.InternalFocusDescendant(n,e,t)}FindFocusableNode(e,t){switch(this.GetFocusable()){case"none":return null;case"self":return this;case"children":return this.FindFocusableDescendant(e,t)}}BChildTakeFocus(e,t){const n=this.FindFocusableDescendant(t);return this.InternalFocusDescendant(n,e,t)}BFocusFirstChild(e){const t=this.FindNextFocusableChildInDirection(-1,P.FORWARD,i.eV.INVALID);return this.InternalFocusDescendant(t,e)}BFocusLastChild(e){const t=this.FindNextFocusableChildInDirection(this.m_rgChildren.length,P.BACKWARD,i.eV.INVALID);return this.InternalFocusDescendant(t,e)}FindFocusableDescendant(e,t){const n=(0,d.sA)(e),{focusableIfNoChildren:r,childFocusDisabled:i}=this.m_Properties;if(i)return null;if(this.m_rgChildren.length){this.EnsureChildrenSorted();const{navEntryPreferPosition:i,resetNavOnEntry:a}=this.m_Properties;let s,l=this.GetActiveChildIndex();if(a&&void 0!==e&&(l=-1),!this.IsValidChildIndex(l)){const e=this.GetLayout();l=l>=this.m_rgChildren.length||e==k.ROW_REVERSE||e==k.COLUMN_REVERSE||i==N.LAST?this.m_rgChildren.length-1:0}if((i==N.MAINTAIN_X||i==N.MAINTAIN_Y||t)&&n){let r,a;i==N.MAINTAIN_X?r="x":i==N.MAINTAIN_Y&&(r="y"),r==o.TP[n]&&(a=this.m_Tree.GetLastFocusedMovementRect(o.TP[n])),L(`Taking focus while preserving ${N[i]} preserved: ${r} movement: ${n}, node:`,a||t);const l=this.ComputeRelativeDirection(e,k.GRID);if(a||t){const i=l==P.BACKWARD?this.m_rgChildren.length-1:0;s=this.FindClosestChildInNextAxiallyAlignedSet(r||o.TP[n],l,e,a||t,i,this.m_rgChildren[i].GetBoundingRect())}else if(r!=o.TP[n]){const t=l==P.BACKWARD?this.m_rgChildren.length:-1;s=this.FindNextFocusableChildInDirection(t,l,e)}}else if(i==N.PREFERRED_CHILD){for(const t of this.m_rgChildren)if(s=t.BWantsPreferredFocus()&&t.FindFocusableNode(e),s)return s}else i==N.LAST&&(s=this.FindNextFocusableChildInDirection(l+1,P.BACKWARD,e));return s||(s=this.FindNextFocusableChildInDirection(l-1,P.FORWARD,e)),s||(s=this.FindNextFocusableChildInDirection(l,P.BACKWARD,e)),s||(r?this:null)}return null}BVisibleChildTakeFocus(e){var t,n,r,i;const o=null!==(r=null===(n=null===(t=this.Element)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView)&&void 0!==r?r:window,a=h(this,{top:0,left:0,right:o.innerWidth,bottom:o.innerHeight});return L(`Focusing visible child, best child match is ${null===(i=null==a?void 0:a.child)||void 0===i?void 0:i.Element.className} - ${JSON.stringify(null==a?void 0:a.visibility)}`),!!a&&a.child.BTakeFocus(e)}GetLayout(){if(this.m_Properties.layout)return this.m_Properties.layout;if(this.m_rgChildren.length<2)return k.NONE;return(0,d.Ii)(this.m_element)}OnNavigationEvent(e){const t=e.detail.button;if(this.BTryInternalNavigation(t,e.detail.is_repeat))return!0;const{onMoveUp:n,onMoveRight:r,onMoveDown:o,onMoveLeft:a}=this.m_Properties;let s=!1;switch(t){case i.eV.DIR_UP:n&&(s=n(e.detail,this));break;case i.eV.DIR_RIGHT:r&&(s=r(e.detail,this));break;case i.eV.DIR_DOWN:o&&(s=o(e.detail,this));break;case i.eV.DIR_LEFT:a&&(s=a(e.detail,this))}return s}InternalFocusDescendant(e,t,n){return!!e&&(this.m_Tree.TransferFocus(t,e,(0,d.sA)(n)),!0)}BTryInternalNavigation(e,t){var n;const r=this.GetLayout();let o,a=this.ComputeRelativeDirection(e,r);if(L(`Handling navigation event ${i.eV[e]} - ${k[r]} - ${P[a]}`,this.m_element),a==P.INVALID)return!1;if(this.m_Properties.focusable&&this.m_bFocused)return L("Skipping navigation within focused element"),!1;if(this.EnsureChildrenSorted(!0),r==k.GRID)o=this.FindNextFocusableChildInGrid(this.GetActiveChildIndex(),a,e);else{let t=this.GetActiveChildIndex();this.IsValidChildIndex(t)||(t=a==P.FORWARD?-1:this.m_rgChildren.length),o=this.FindNextFocusableChildInDirection(t,a,e)}if(o){const r=(0,d.sA)(e);if(this.GetScrollIntoViewType()==x.NoTransformSparseContent){const e=null===(n=o.Element)||void 0===n?void 0:n.ownerDocument.defaultView,i=("y"==r?e.innerHeight:e.innerWidth)/(t?4.5:3.33),a=w(o.Element);if(a.top>e.innerHeight&&a.bottom>e.innerHeight+i||a.bottom<0&&a.top<-i||a.left>e.innerWidth&&a.right>e.innerWidth+i||a.right<0&&a.left<-i)return L(`Element too far away, scrolling ${i} on ${r} axis `),T(o.Element,o.Element,"smooth",r,i),!0}return this.m_Tree.TransferFocus(u.uS.GAMEPAD,o,r),!0}return!1}GetScrollIntoViewType(){var e;return(null===(e=this.m_Properties)||void 0===e?void 0:e.scrollIntoViewType)?this.m_Properties.scrollIntoViewType:this.m_Parent?this.m_Parent.GetScrollIntoViewType():x.Standard}GetRelativeDirection(e){return this.ComputeRelativeDirection(e,this.GetLayout())}ComputeRelativeDirection(e,t){let n=t==k.ROW_REVERSE||t==k.COLUMN_REVERSE;switch(t){case k.ROW:case k.ROW_REVERSE:switch(e){case i.eV.DIR_LEFT:return n?P.FORWARD:P.BACKWARD;case i.eV.DIR_RIGHT:return n?P.BACKWARD:P.FORWARD;default:return P.INVALID}case k.COLUMN:case k.COLUMN_REVERSE:switch(e){case i.eV.DIR_UP:return n?P.FORWARD:P.BACKWARD;case i.eV.DIR_DOWN:return n?P.BACKWARD:P.FORWARD;default:return P.INVALID}case k.GRID:switch(e){case i.eV.DIR_LEFT:case i.eV.DIR_UP:return n?P.FORWARD:P.BACKWARD;case i.eV.DIR_RIGHT:case i.eV.DIR_DOWN:return n?P.BACKWARD:P.FORWARD;default:return P.INVALID}default:return P.INVALID}}AdvanceIndex(e,t){return e+(t==P.FORWARD?1:-1)}FindNextFocusableChildInDirection(e,t,n){let r=t==P.FORWARD?1:-1;for(let t=e+r;t>=0&&t=0&&t!(0,d.lx)("y",s,e.GetBoundingRect())));if(-1!=e){const r=this.m_rgChildren[e].GetBoundingRect(),i=this.FindClosestChildInNextAxiallyAlignedSet("x",t,n,s,e,r);if(i)return i}r=e}}else{let r=t==P.FORWARD?1:-1;for(let i=this.AdvanceIndex(e,t);i>=0&&i{const n=t.GetBoundingRect();return!(!a||(0,d.lx)(o.TP[e],a,n))||(s.push({child:t,overlap:(0,d.sq)(e,r,n),dist:(0,d.TB)(e,l,n)}),!1)})),t==P.BACKWARD&&s.reverse(),s.sort(((e,t)=>{const n=t.overlap-e.overlap;return 0!=n?n:e.dist-t.dist}));for(const{child:e}of s){const t=e.FindFocusableNode(n,r);if(t)return t}return null}GetChildren(){return this.EnsureChildrenSorted(),[this.m_rgChildren,this.m_iLastActiveChildIndex]}SetActiveChild(e){e instanceof V?(this.EnsureChildrenSorted(),this.m_ActiveChild=e,this.m_iLastActiveChildIndex=this.m_rgChildren.indexOf(e)):(this.IsValidChildIndex(e)&&(this.m_ActiveChild=this.m_rgChildren[e]),this.m_iLastActiveChildIndex=e)}GetDepth(){return this.m_nDepth}SetRetainFocusParent(e){this.m_RetainFocusParent=e,this.m_Properties.retainFocus||this.PropagateRetainFocusParentToChildren(e)}PropagateRetainFocusParentToChildren(e){for(let t=0;twindow.innerHeight+r)&&(n=!0);let i=n?"auto":"smooth";n&&(b=performance.now()),e.Tree.Controller.BIsRestoringHistory()&&(i="auto"),c?T(0,l,i):l.scrollIntoView({behavior:i,block:"nearest"})}else c?T(0,l,"auto"):l.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}}(this,t),this.m_Tree.OnChildActivated(e)}}(0,r.gn)([s.a],V.prototype,"OnDOMFocus",null),(0,r.gn)([s.a],V.prototype,"OnDOMBlur",null),(0,r.gn)([s.a],V.prototype,"OnNavigationEvent",null)},9501:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var r=n(8179),i=n(85246),o=n(50454),a=n(58123),s=n(16221);const l=new o.s("FocusNavigation").Debug,c=new o.s("GamepadEvents").Debug;class u{constructor(e,t,n){this.m_onActivateCallbacks=new i.pB,this.m_onDeactivateCallbacks=new i.pB,this.m_onActiveFocusStateChangedCallbacks=new i.pB,this.m_lastFocusNodeXMovement=new d,this.m_lastFocusNodeYMovement=new d,this.m_DeferredFocus=new m(this),this.m_Controller=e,this.m_context=t,this.m_ID=n,this.m_Root=new s.Vp(this,null,null),this.m_Root.SetProperties({layout:s.gj.COLUMN}),window.GamepadNavTree=this}SetUseVirtualFocus(e){this.m_bVirtualFocus=e}get id(){return this.m_ID}get Root(){return this.m_Root}get Controller(){return this.m_Controller}get WindowContext(){return this.m_context}get Window(){return this.m_window}BUseVirtualFocus(){return this.m_bVirtualFocus}BIsContextActive(){return this.m_Controller.BIsInActiveContext(this)}CreateNode(e,t){return new s.Vp(this,e,t)}RegisterNavigationItem(e,t){return e.OnMount(t),()=>e.OnUnmount()}OnChildActivated(e){this.m_bIsMounted&&this.m_Controller.OnGamepadNavigationTreeFocused(this,e)}GetLastFocusedNode(){return this.m_lastFocusNode}GetLastFocusedMovementRect(e){return"x"==e?this.m_lastFocusNodeXMovement.GetRect():"y"==e?this.m_lastFocusNodeYMovement.GetRect():void 0}get OnActivateCallbacks(){return this.m_onActivateCallbacks}get OnDeactivateCallbacks(){return this.m_onDeactivateCallbacks}get OnActiveStateChangedCallbacks(){return this.m_onActiveFocusStateChangedCallbacks}OnActivate(e){this.m_onActivateCallbacks.Dispatch(this,e),this.m_onActiveFocusStateChangedCallbacks.Dispatch(!0,this)}OnDeactivate(e){this.m_onDeactivateCallbacks.Dispatch(this,e),this.m_onActiveFocusStateChangedCallbacks.Dispatch(!1,this),this.m_bWasActiveForLastFocusChange=!1}IsActiveFocusNavTree(){return this.m_Controller.IsActiveFocusNavTree(this)}TakeFocus(e,t=!1){let n=!1;t?n=this.Root.BVisibleChildTakeFocus(e):this.m_lastFocusNode&&(n=this.m_lastFocusNode.BTakeFocus(e)),n||(n=this.Root.BTakeFocus(e)),n||this.TransferFocus(e,this.Root)}Activate(e=!1){this.m_Controller.OnGamepadNavigationTreeActivated(this,e)}Deactivate(){this.m_Controller.BlurNavTree(this)}BIsActive(){return this.m_bIsMounted&&(this.m_Controller.IsActiveNavTree(this)||this.m_Controller.IsActiveFocusNavTree(this))}BIsActiveFocus(){return this.m_bIsMounted&&this.m_Controller.IsActiveFocusNavTree(this)}BIsActiveWithinContext(){return this.m_bIsMounted&&(this.m_context.m_LastActiveNavTree==this||this.m_context.m_LastActiveFocusNavTree==this)}SetIsMounted(e){this.m_window=e;const t=this.m_Root.Element;t.__nav_tree=this,t.__nav_wrapper&&t.__nav_wrapper.BindTree(this),this.m_bIsMounted=!0}SetParentEmbeddedNavTree(e){this.m_ParentEmbeddedNavTree=e}GetParentEmbeddedNavTree(){return this.m_ParentEmbeddedNavTree}SetOnUnhandledButtonCallback(e){this.m_onUnhandledButton=e}HandleButtonDownEventAsLogicalEvent(e){let{bUnhandled:t,bHadLogicalEventMapping:n}=(0,a.Ut)(e);return c(`Logical gamepad Event fired: ${r.eV[e.detail.button]}, had logical event: ${n}, was handled: ${!t}`),t&&this.m_onUnhandledButton&&(t=this.m_onUnhandledButton(e)),t&&(t=this.m_Controller.FireUnhandledGamepadEventCallbacks(e)),e.stopPropagation(),t}get DeferredFocus(){return this.m_DeferredFocus}TransferFocus(e,t,n){this.m_Controller.BatchedUpdate((()=>this.TransferFocusInternal(e,t,n)))}TransferFocusInternal(e,t,n){const r=this.m_lastFocusNode;if(r==t&&(this.m_bWasActiveForLastFocusChange||!this.BIsActive()))return;l(`Transfer focus in ${this.id}, source: ${a.uS[e]}, from/to:`,null==r?void 0:r.m_element,null==t?void 0:t.m_element);const i={blurredNode:r,focusedNode:t,source:e},o=function(e,t){if(!t||!e)return null;let n=t,r=e;for(;n.GetDepth()>r.GetDepth()&&n.Parent;)n=n.Parent;for(;r.GetDepth()>n.GetDepth()&&r.Parent;)r=r.Parent;for(;n!=r&&n&&r;)n=n.Parent,r=r.Parent;return n}(r,t);if(r){r.SetHasFocus(!1);for(let e=r;e&&e!=o;e=e.Parent)e.SetFocusWithin(!1)}if(t){t.SetHasFocus(!0);for(let e=t;e&&e!=o;e=e.Parent)e.SetFocusWithin(!0)}let s=this.m_context.OnFocusChangeStart(e,this,r,t);t&&t.SetDOMFocusAndScroll(e,r),r&&((0,a.Jb)(r.Element,"vgp_onblur",i),!r.m_FocusRing||t&&r.m_FocusRing==t.m_FocusRing||r.m_FocusRing.OnBlur(e,r,t)),t&&((0,a.Jb)(t.Element,"vgp_onfocus",i),t.m_FocusRing&&(r&&t.m_FocusRing==r.m_FocusRing?t.m_FocusRing.OnFocusChange(e,r,t):t.m_FocusRing.OnFocus(e,t,r))),this.m_lastFocusNode=t,this.m_bWasActiveForLastFocusChange=this.BIsActive(),"x"==n?this.m_lastFocusNodeXMovement.SetNode(t.Element):"y"==n?this.m_lastFocusNodeYMovement.SetNode(t.Element):(this.m_lastFocusNodeXMovement.Reset(),this.m_lastFocusNodeYMovement.Reset()),this.m_context.OnFocusChangeComplete(s)}}class d{SetNode(e){this.m_element=e,this.m_rect=e?e.getBoundingClientRect():void 0}Reset(){this.SetNode(void 0)}GetRect(){var e;return(null===(e=this.m_element)||void 0===e?void 0:e.isConnected)?this.m_element.getBoundingClientRect():this.m_rect}}class m{constructor(e){this.m_schExecuteQueuedFocus=new i.Ar,this.m_bSuppressed=!1,this.m_tree=e}RequestFocus(e,t){e?(this.m_target=Object.assign(Object.assign({},t),{node:e}),this.m_interval||this.m_bSuppressed||this.m_schExecuteQueuedFocus.Schedule(1,(()=>{this.m_interval=void 0,this.ExecuteQueuedFocus()}))):this.m_target=void 0}BHasQueuedFocusNode(){return!!this.m_target}BIsQueuedFocusNode(e){return this.m_target&&this.m_target.node==e}SuppressFocus(){this.m_bSuppressed=!0,this.ClearInterval()}Reset(){this.m_bSuppressed=!1,this.m_target=void 0,this.ClearInterval()}ClearInterval(){this.m_schExecuteQueuedFocus.Cancel()}ExecuteQueuedFocus(){if(this.m_bSuppressed=!1,this.m_target){const{node:e,bFocusDescendant:t}=this.m_target;this.m_target=void 0,l(`DeferredFocus in ${this.m_tree.id} - focusing ${t?"descendant of":"node"} ${e.NavKey}`),t?e.BChildTakeFocus(a.uS.APPLICATION)||this.m_tree.TransferFocus(a.uS.APPLICATION,e):e.BTakeFocus(a.uS.APPLICATION)}}}},88045:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var r=n(16221);function i(e){switch(e){case"column":return r.gj.COLUMN;case"column-reverse":return r.gj.COLUMN_REVERSE;case"row":return r.gj.ROW;case"row-reverse":return r.gj.ROW_REVERSE;case"grid":return r.gj.GRID;default:return r.gj.NONE}}},22612:(e,t,n)=>{"use strict";n.d(t,{$1:()=>l,pj:()=>s});var r=n(89526),i=n(60729),o=n(4306),a=n(8179);function s(e,t="smooth",n,o){const s=(null!=n?n:30)/100,l=r.useRef(void 0),c=r.useRef(void 0),u=r.useCallback((()=>{l.current=void 0,c.current=void 0}),[]),d=function(e,t){const n=r.useRef();return r.useCallback(((r,o)=>{let a="sine";n.current&&(n.current.Cancel(),a="linear"),void 0===r&&(r=e.current.scrollTop),void 0===o&&(o=e.current.scrollLeft);let s=Math.max(Math.abs(e.current.scrollTop-r),Math.abs(e.current.scrollLeft-o));if(s>0){let l=Math.max(Math.min(s/1e3*200,500),300);n.current=new i.jg(e.current,{scrollTop:r,scrollLeft:o},{msDuration:l,timing:a,onComplete:t}),n.current.Start()}else t&&t()}),[e,t])}(e,u);return r.useCallback((n=>{var r,i;if(o&&!o(n))return!1;if(n.defaultPrevented)return!1;const{scrollTop:m,scrollHeight:h,clientHeight:p,scrollLeft:_,scrollWidth:g,clientWidth:f}=e.current,v=null!==(r=l.current)&&void 0!==r?r:m,C=null!==(i=c.current)&&void 0!==i?i:_;switch(n.detail.button){case a.eV.DIR_UP:if(v<=2)return!1;l.current=Math.max(0,v-p*s);break;case a.eV.DIR_DOWN:if(v>=h-p-2)return!1;l.current=Math.min(h-p,v+p*s);break;case a.eV.DIR_LEFT:if(C<=2)return!1;c.current=Math.max(0,C-f*s);break;case a.eV.DIR_RIGHT:if(C>=g-f-2)return!1;c.current=Math.min(g-f,C+f*s);break;default:return!1}return t&&"smooth"!=t?(e.current.scrollTo({top:l.current,left:c.current,behavior:"auto"}),u()):d(l.current,c.current),!0}),[o,e,t,s,d,u])}function l(){const e=r.useRef(),t=r.useCallback((t=>{window.requestAnimationFrame((()=>{var t,n,r;(null===(t=e.current)||void 0===t?void 0:t.BFocusWithin())&&(null===(r=null===(n=e.current.Node())||void 0===n?void 0:n.GetLastFocusElement())||void 0===r||r.scrollIntoView({behavior:"auto",block:"nearest"}))}))}),[e]);return{ref:(0,o.yU)(t),navRef:e}}},94952:(e,t,n)=>{"use strict";n.d(t,{Wz:()=>h,k$:()=>p});var r=n(33940),i=n(89526),o=n(78423),a=n(73070),s=n(58123),l=n(16383),c=n(4306),u=n(32765);class d{SetFactory(e){this.m_factory=e}SetHookFactory(e){this.m_hookFactory=e}useHookFactory(){return this.m_hookFactory&&this.m_hookFactory()}CreateVirtualKeyboardRef(e,t){return m(this.m_factory,e,t)}}function m(e,t,n){return e?e.CreateVirtualKeyboardRef(t,n):{ShowVirtualKeyboard:()=>{},ShowModalKeyboard:()=>{},SetAsCurrentVirtualKeyboardTarget:()=>{},HideVirtualKeyboard:()=>{},DelayHideVirtualKeyboard:()=>{},BIsActive:()=>!1,BIsElementValidForInput:()=>!1}}const h=(0,l.Yt)("VirtualKeyboardRefFactory",(()=>new d));function p(e,t){const{onTextEntered:n}=e,l=(0,r._T)(e,["onTextEntered"]),d=i.useRef(),p=(0,u.qt)(),_=i.useRef({onTextEntered:()=>null});Object.assign(_.current,Object.assign(Object.assign({},l),{onTextEntered:n||(e=>function(e,t){var n;if(t){switch(e){case"Backspace":e="\b";break;case"Enter":e="\n";break;case"Tab":e="\t";break;case"ArrowLeft":e="";break;case"ArrowRight":e="";break;case"ArrowUp":e="";break;case"ArrowDown":e=""}""!==e&&(null===(n=SteamClient.OpenVR)||void 0===n||n.Keyboard.SendText(e))}else{switch(e){case"Backspace":e="";break;case"Enter":e="";break;case"Tab":e="\t";break;case"ArrowLeft":e="";break;case"ArrowRight":e="";break;case"ArrowUp":e="";break;case"ArrowDown":e=""}SteamClient.Input.ControllerKeyboardSendText(e)}}(e,p.IN_VR)),BIsElementValidForInput:()=>d.current&&document.activeElement==d.current}));const g=function(e,t){const n=i.useRef(),r=h.useHookFactory&&h.useHookFactory();n.current||(n.current=r?m(r,e,t):h.CreateVirtualKeyboardRef(e,t));return n.current}(_.current,(()=>{var e;return null===(e=d.current)||void 0===e?void 0:e.ownerDocument.defaultView})),f=i.useCallback((e=>{var t;if(!document.hasFocus()&&document.activeElement==d.current)return;if(e.currentTarget!=d.current)return void console.warn("keyboard got blur event, but it's not the active element");const n=(0,o.Su)(null===(t=a.AN.GetPopupForWindow(d.current.ownerDocument.defaultView))||void 0===t?void 0:t.params.browserType);(g.BIsActive()||n)&&g.DelayHideVirtualKeyboard()}),[g]),v=(0,c.xK)((e=>{d.current=e;const t=[];return e&&(e.addEventListener("focus",g.SetAsCurrentVirtualKeyboardTarget),t.push((()=>e.removeEventListener("focus",g.SetAsCurrentVirtualKeyboardTarget))),e.addEventListener("click",g.ShowVirtualKeyboard),t.push((()=>e.removeEventListener("click",g.ShowVirtualKeyboard))),t.push((0,s.x)(d.current,g.ShowVirtualKeyboard)),t.push((0,s.BG)(d.current,f))),()=>t.forEach((e=>e()))}),[f,g]);return i.useLayoutEffect((()=>((0,c.k$)(t,{TakeFocusAndShowKeyboard:()=>{const e=d.current;e&&(document.activeElement!=e&&e.focus(),g.ShowVirtualKeyboard())}}),()=>(0,c.k$)(t,null))),[g,t]),v}},19094:(e,t,n)=>{"use strict";n.d(t,{J:()=>_});var r=n(33940),i=n(5155),o=n(45878),a=n(54856),s=n(26464),l=n(52868),c=n.n(l),u=n(27527),d=n(47165),m=n(81349);function h(e){try{if(!e||"string"!=typeof e)return null;const t=e.split(".");if(3!==t.length)return null;const[n,r]=t,i=(0,m.nh)(n),o=(0,m.nh)(r);return i&&o?{header:JSON.parse(i),body:JSON.parse(o)}:null}catch(e){return console.error(`Exception while attempting to decode token: "${e}"`),null}}function p(e){return e?e.body.exp:0}class _{constructor(e,t,n=!1,r){this.m_webApiAccessToken="",this.m_bJsonMode=!1,this.m_bJWTToken=!1,this.m_dtLastExpireCheck=0,this.m_strWebAPIBaseURL=e,this.m_webApiAccessToken=t,this.m_bJsonMode=n,this.m_fnRequestNewAccessToken=r,this.m_bJWTToken=null!=h(t),this.ConstructServiceTransport()}WaitUntilLoggedOn(){return Promise.resolve()}GetServerRTime32(){return Number(new Date)}get steamid(){return new d.K}RTime32ToDate(e){return new Date(1e3*e)}MakeReady(){return Promise.resolve({result:1,message:"ready"})}GetServiceTransport(){return this.m_ServiceTransport}GetWebAPIAccessToken(){return this.m_webApiAccessToken}GetAnonymousServiceTransport(){return this.m_AnonymousServiceTransport}ConstructServiceTransport(){this.m_ServiceTransport={SendMsg:this.SendMsgAndAwaitResponse.bind(this,{bSendAuth:!0}),SendNotification:this.SendNotification.bind(this,{bSendAuth:!0}),MakeReady:this.MakeReady.bind(this)},this.m_AnonymousServiceTransport={SendMsg:this.SendMsgAndAwaitResponse.bind(this,{bSendAuth:!1}),SendNotification:this.SendNotification.bind(this,{bSendAuth:!1}),MakeReady:this.MakeReady.bind(this)}}SendMsgAndAwaitResponse(e,t,n,i,s){var l;return(0,r.mG)(this,void 0,void 0,(function*(){let r=null;try{if(this.m_bJWTToken&&e.bSendAuth){const e=Date.now()/1e3;this.m_refreshAccessTokenPromise?yield this.m_refreshAccessTokenPromise:this.m_fnRequestNewAccessToken&&e-this.m_dtLastExpireCheck>60&&(this.m_dtLastExpireCheck=e,function(e){const t=p(e),n=function(e){return e?e.body.nbf||e.body.iat:0}(e);let r=900;const i=t-n;return i<1350&&(r=i<=60?0:60),p(e)-r{"use strict";var r;n.d(t,{Yt:()=>i}),function(e){e[e.k_ENoiseGateLevel_Off=0]="k_ENoiseGateLevel_Off",e[e.k_ENoiseGateLevel_Low=1]="k_ENoiseGateLevel_Low",e[e.k_ENoiseGateLevel_Medium=2]="k_ENoiseGateLevel_Medium",e[e.k_ENoiseGateLevel_High=3]="k_ENoiseGateLevel_High"}(r||(r={}));function i(e,t){return t()}},69206:(e,t,n)=>{"use strict";n.d(t,{T:()=>d});var r=n(33940),i=n(89526),o=n(4306),a=n(88464),s=n(85246),l=n(19304),c=n(41713),u=n.n(c);let d=class extends i.Component{constructor(){super(...arguments),this.m_listeners=new s.G_,this.m_bNoSpace=!1,this.state={x:void 0,y:void 0,hoverPositionReady:!1}}bindHover(e){this.m_elHover=e||void 0,this.positionHover()}componentDidMount(){this.m_listeners.AddEventListener(window,"blur",this.OnWindowBlur)}componentDidUpdate(){this.positionHover()}componentWillUnmount(){this.m_listeners.Unregister()}OnWindowBlur(e){this.props.onWindowBlur&&this.props.onWindowBlur(e)}render(){const e=this.props,{target:t,visibilityObserver:n,className:o,style:a,bEnablePointerEvents:s,direction:c,nBodyAlignment:d,nBodyDistance:m,nAllowOffscreenPx:h,nMaxLateralMoveOnScreen:p,children:_,onNoSpace:g,onWindowBlur:f,bTopmost:v}=e,C=(0,r._T)(e,["target","visibilityObserver","className","style","bEnablePointerEvents","direction","nBodyAlignment","nBodyDistance","nAllowOffscreenPx","nMaxLateralMoveOnScreen","children","onNoSpace","onWindowBlur","bTopmost"]);let E=Object.assign({left:this.state.x,top:this.state.y},a),b=!n||n.visible;return i.createElement("div",{className:(0,l.Z)(u().HoverPositionOuter,v&&u().HoverAboveModal)},i.createElement("div",Object.assign({},C,{className:(0,l.Z)(u().HoverPosition,b&&this.state.hoverPositionReady&&u().Ready,this.m_bNoSpace&&u().NoSpace,s&&u().EnablePointerEvents,o),style:E,ref:this.bindHover}),_))}positionHover(){let e=this.m_elHover,t=this.props.target;if(!e||!t)return;if(this.state.hoverPositionReady&&this.props.visibilityObserver&&!this.props.visibilityObserver.visible)return;let n=t.ownerDocument.defaultView;if(!n||n.closed)return;const r=e.querySelector(".hover_arrow.left"),i=e.querySelector(".hover_arrow.right"),o=e.querySelector(".hover_arrow.top"),a=e.querySelector(".hover_arrow.bottom"),s=t.getBoundingClientRect(),l=e.getBoundingClientRect(),c="overlay"==this.props.direction||"overlay-center"==this.props.direction;r&&r.setAttribute("style","display: none;"),i&&i.setAttribute("style","display: none;"),o&&o.setAttribute("style","display: none;"),a&&a.setAttribute("style","display: none;");let u=this.props.direction,{nLeft:d,nTop:h,nOverflow:p,nLateralOverflow:_}=m(u,this.props.nBodyAlignment,this.props.nBodyDistance,s,l,n.innerWidth,n.innerHeight);if(p>this.props.nAllowOffscreenPx&&!c){const t=function(e){switch(e){case"right":return"left";case"left":return"right";case"bottom":return"top";case"top":return"bottom";case"overlay":return"overlay";case"overlay-center":return"overlay-center"}}(this.props.direction),{nLeft:r,nTop:i,nOverflow:o,nLateralOverflow:a}=m(t,this.props.nBodyAlignment,this.props.nBodyDistance,s,l,n.innerWidth,n.innerHeight);if(othis.props.nAllowOffscreenPx)return console.log("Not showing hover because it didn't fit in the main or alt direction"),e.setAttribute("style","display: none;"),this.m_bNoSpace=!0,void(this.props.onNoSpace&&this.props.onNoSpace())}0===this.props.nMaxLateralMoveOnScreen||c||([h,d]=function(e,t,n,r,i){let o=Math.max(t[0],t[1]);void 0!==e&&(o=Math.min(e,o));o=Math.max(0,o);const a=t[0]>t[1]?o:-o;"left"===n||"right"===n?r+=a:i+=a;return[r,i]}(this.props.nMaxLateralMoveOnScreen,_,u,h,d));let g=null;switch(u){case"left":g=i;break;case"right":g=r;break;case"top":g=a;break;case"bottom":g=o}g&&g.setAttribute("style",""),d!=this.state.x&&this.setState({x:d}),h!=this.state.y&&this.setState({y:h}),this.state.hoverPositionReady||this.setState({hoverPositionReady:!0})}};function m(e,t,n,r,i,o,a){const s=o,l=a;let c,u,d,m;switch(e){case"right":c=r.right+n,u=h(r.top,r.height,i.height,t),d=Math.max(0,c+i.width-s),m=[Math.max(0,0-u),Math.max(0,u+i.height-l)];break;case"left":c=r.left-n-i.width,u=h(r.top,r.height,i.height,t),d=Math.max(0,0-c),m=[Math.max(0,0-u),Math.max(0,u+i.height-l)];break;case"bottom":c=h(r.left,r.width,i.width,t),u=r.bottom+n,d=Math.max(0,u+i.height-l),m=[Math.max(0,0-c),Math.max(0,c+i.width-s)];break;case"top":c=h(r.left,r.width,i.width,t),u=r.top-n-i.height,d=Math.max(0,0-u),m=[Math.max(0,0-c),Math.max(0,c+i.width-s)];break;case"overlay":c=r.left,u=r.top,d=0,m=[0,0];break;case"overlay-center":c=r.left+.5*r.width-.5*i.width,u=r.top+.5*r.height-.5*i.height,d=0,m=[0,0]}return{nLeft:c,nTop:u,nOverflow:d,nLateralOverflow:m}}function h(e,t,n,r){return Math.max(0,Math.min(1,r))*(t-n)+e}d.defaultProps={direction:"right",nBodyAlignment:.5,nAllowOffscreenPx:10,nBodyDistance:8,nMaxLateralMoveOnScreen:void 0},(0,r.gn)([o.ak],d.prototype,"bindHover",null),(0,r.gn)([o.ak],d.prototype,"OnWindowBlur",null),d=(0,r.gn)([a.Pi],d)},47165:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var r=n(38072),i=n.n(r),o=n(46132),a=n(32765);class s{constructor(e=0,t,n,r){e instanceof s?this.m_ulSteamID=e.m_ulSteamID:"string"==typeof e?this.m_ulSteamID=i().fromString(e,!0):t&&n&&void 0!==r?this.SetFromComponents(e,r,n,t):this.m_ulSteamID=e?i().fromNumber(e,!0):i().UZERO}static InitFromAccountID(e){return new s(Number(e),a.De.EUNIVERSE,1,o.QS)}static InitFromClanID(e){return new s(Number(e),a.De.EUNIVERSE,7,0)}GetAccountID(){return this.m_ulSteamID.getLowBitsUnsigned()}GetInstance(){return 1048575&this.m_ulSteamID.getHighBitsUnsigned()}GetAccountType(){return this.m_ulSteamID.getHighBitsUnsigned()>>20&15}GetUniverse(){return this.m_ulSteamID.getHighBitsUnsigned()>>24&255}ConvertTo64BitString(){return this.m_ulSteamID.toString()}Render(){switch(this.GetAccountType()){case 0:return"[I:"+this.GetUniverse()+":"+this.GetAccountID()+"]";case 7:return"[g:"+this.GetUniverse()+":"+this.GetAccountID()+"]";case 4:return"[A:"+this.GetUniverse()+":"+this.GetAccountID()+":"+this.GetInstance()+"]";case 3:return"[G:"+this.GetUniverse()+":"+this.GetAccountID()+"]";case 2:return"[M:"+this.GetUniverse()+":"+this.GetAccountID()+":"+this.GetInstance()+"]";case 5:return"[P:"+this.GetUniverse()+":"+this.GetAccountID()+"]";case 6:return"[C:"+this.GetUniverse()+":"+this.GetAccountID()+"]";default:return"[U:"+this.GetUniverse()+":"+this.GetAccountID()+"]"}}static InitFromString(e){let t=new s;try{let[n,r,i,o,a]=e.match(/\[([I|g|A|G|M|P|C|U]):(\d+):(\d+):?(\d+)?\]/)||[],s=Number(i),l=Number(o),c=a?Number(a):1;switch(r){case"I":t.SetFromComponents(l,c,0,s);case"g":t.SetFromComponents(l,0,7,s);case"A":t.SetFromComponents(l,c,4,s);case"G":t.SetFromComponents(l,c,3,s);case"M":t.SetFromComponents(l,c,2,s);case"P":t.SetFromComponents(l,c,5,s);case"C":t.SetFromComponents(l,c,6,s);case"U":t.SetFromComponents(l,c,1,s)}}catch(e){}return t}BIsValid(){let e=this.GetAccountType();if(e<=0||e>=11)return!1;let t=this.GetUniverse();if(t<=0||t>=5)return!1;if(1==e){if(0==this.GetAccountID()||this.GetInstance()>o.YO)return!1}else if(7==e){if(0==this.GetAccountID()||0!=this.GetInstance())return!1}else if(3==e&&0==this.GetAccountID())return!1;return!0}BIsIndividualAccount(){return 1==this.GetAccountType()}BIsClanAccount(){return 7==this.GetAccountType()}SetAccountID(e){this.m_ulSteamID=new(i())(e,this.m_ulSteamID.getHighBitsUnsigned(),!0)}SetInstance(e){this.SetFromComponents(this.GetAccountID(),e,this.GetAccountType(),this.GetUniverse())}SetAccountType(e){this.SetFromComponents(this.GetAccountID(),this.GetInstance(),e,this.GetUniverse())}SetUniverse(e){this.SetFromComponents(this.GetAccountID(),this.GetInstance(),this.GetAccountType(),e)}SetFromComponents(e,t,n,r){let o=((255&r)<<24)+((15&n)<<20)+(1048575&t),a=4294967295&e;this.m_ulSteamID=new(i())(a,o,!0)}}},34433:(e,t,n)=>{"use strict";function r(e,t){return!!e&&("object"==typeof e.SteamClient&&t in e.SteamClient)}function i(e,t){if(!e)return!1;const[n,i]=t.split(".",2);return n&&i&&r(e,n)&&i in e.SteamClient[n]}function o(e){return i(window,e)}n.d(t,{U5:()=>o,w3:()=>i})},16244:(e,t,n)=>{"use strict";var r=n(45878);r.Message},84321:(e,t,n)=>{"use strict";n.d(t,{Cu:()=>l,VJ:()=>c,cF:()=>m,j7:()=>a,uV:()=>d});var r=n(45878),i=n(29063);const o=r.Message;class a extends o{constructor(e=null){super(),a.prototype.v4||i.aR(a.M()),o.initialize(this,e,0,-1,void 0,null)}static M(){return a.sm_m||(a.sm_m={proto:a,fields:{v4:{n:1,br:i.FE.readFixed32,bw:i.Xc.writeFixed32},v6:{n:2,br:i.FE.readBytes,bw:i.Xc.writeBytes}}}),a.sm_m}static MBF(){return a.sm_mbf||(a.sm_mbf=i.Bh(a.M())),a.sm_mbf}toObject(e=!1){return a.toObject(e,this)}static toObject(e,t){return i.TA(a.M(),e,t)}static fromObject(e){return i.aD(a.M(),e)}static deserializeBinary(e){let t=new r.BinaryReader(e),n=new a;return a.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return i.F(a.MBF(),e,t)}serializeBinary(){var e=new r.BinaryWriter;return a.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){i.l2(a.M(),e,t)}serializeBase64String(){var e=new r.BinaryWriter;return a.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CMsgIPAddress"}}class s extends o{constructor(e=null){super(),s.prototype.dst_gcid_queue||i.aR(s.M()),o.initialize(this,e,0,-1,void 0,null)}static M(){return s.sm_m||(s.sm_m={proto:s,fields:{dst_gcid_queue:{n:1,br:i.FE.readUint64String,bw:i.Xc.writeUint64String},dst_gc_dir_index:{n:2,br:i.FE.readUint32,bw:i.Xc.writeUint32}}}),s.sm_m}static MBF(){return s.sm_mbf||(s.sm_mbf=i.Bh(s.M())),s.sm_mbf}toObject(e=!1){return s.toObject(e,this)}static toObject(e,t){return i.TA(s.M(),e,t)}static fromObject(e){return i.aD(s.M(),e)}static deserializeBinary(e){let t=new r.BinaryReader(e),n=new s;return s.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return i.F(s.MBF(),e,t)}serializeBinary(){var e=new r.BinaryWriter;return s.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){i.l2(s.M(),e,t)}serializeBase64String(){var e=new r.BinaryWriter;return s.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CMsgGCRoutingProtoBufHeader"}}class l extends o{constructor(e=null){super(),l.prototype.steamid||i.aR(l.M()),o.initialize(this,e,0,-1,[27],null)}static M(){return l.sm_m||(l.sm_m={proto:l,fields:{steamid:{n:1,br:i.FE.readFixed64String,bw:i.Xc.writeFixed64String},client_sessionid:{n:2,br:i.FE.readInt32,bw:i.Xc.writeInt32},routing_appid:{n:3,br:i.FE.readUint32,bw:i.Xc.writeUint32},jobid_source:{n:10,d:"18446744073709551615",br:i.FE.readFixed64String,bw:i.Xc.writeFixed64String},jobid_target:{n:11,d:"18446744073709551615",br:i.FE.readFixed64String,bw:i.Xc.writeFixed64String},target_job_name:{n:12,br:i.FE.readString,bw:i.Xc.writeString},seq_num:{n:24,br:i.FE.readInt32,bw:i.Xc.writeInt32},eresult:{n:13,d:2,br:i.FE.readInt32,bw:i.Xc.writeInt32},error_message:{n:14,br:i.FE.readString,bw:i.Xc.writeString},ip:{n:15,br:i.FE.readUint32,bw:i.Xc.writeUint32},ip_v6:{n:29,br:i.FE.readBytes,bw:i.Xc.writeBytes},auth_account_flags:{n:16,br:i.FE.readUint32,bw:i.Xc.writeUint32},token_source:{n:22,br:i.FE.readUint32,bw:i.Xc.writeUint32},admin_spoofing_user:{n:23,br:i.FE.readBool,bw:i.Xc.writeBool},transport_error:{n:17,d:1,br:i.FE.readInt32,bw:i.Xc.writeInt32},messageid:{n:18,d:"18446744073709551615",br:i.FE.readUint64String,bw:i.Xc.writeUint64String},publisher_group_id:{n:19,br:i.FE.readUint32,bw:i.Xc.writeUint32},sysid:{n:20,br:i.FE.readUint32,bw:i.Xc.writeUint32},trace_tag:{n:21,br:i.FE.readUint64String,bw:i.Xc.writeUint64String},webapi_key_id:{n:25,br:i.FE.readUint32,bw:i.Xc.writeUint32},is_from_external_source:{n:26,br:i.FE.readBool,bw:i.Xc.writeBool},forward_to_sysid:{n:27,r:!0,q:!0,br:i.FE.readUint32,pbr:i.FE.readPackedUint32,bw:i.Xc.writeRepeatedUint32},cm_sysid:{n:28,br:i.FE.readUint32,bw:i.Xc.writeUint32},launcher_type:{n:31,d:0,br:i.FE.readUint32,bw:i.Xc.writeUint32},realm:{n:32,d:0,br:i.FE.readUint32,bw:i.Xc.writeUint32},timeout_ms:{n:33,d:-1,br:i.FE.readInt32,bw:i.Xc.writeInt32},debug_source:{n:34,br:i.FE.readString,bw:i.Xc.writeString},debug_source_string_index:{n:35,br:i.FE.readUint32,bw:i.Xc.writeUint32},token_id:{n:36,br:i.FE.readUint64String,bw:i.Xc.writeUint64String},routing_gc:{n:37,c:s},session_disposition:{n:38,d:0,br:i.FE.readEnum,bw:i.Xc.writeEnum},wg_token:{n:39,br:i.FE.readString,bw:i.Xc.writeString},webui_auth_key:{n:40,br:i.FE.readString,bw:i.Xc.writeString}}}),l.sm_m}static MBF(){return l.sm_mbf||(l.sm_mbf=i.Bh(l.M())),l.sm_mbf}toObject(e=!1){return l.toObject(e,this)}static toObject(e,t){return i.TA(l.M(),e,t)}static fromObject(e){return i.aD(l.M(),e)}static deserializeBinary(e){let t=new r.BinaryReader(e),n=new l;return l.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return i.F(l.MBF(),e,t)}serializeBinary(){var e=new r.BinaryWriter;return l.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){i.l2(l.M(),e,t)}serializeBase64String(){var e=new r.BinaryWriter;return l.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CMsgProtoBufHeader"}}class c extends o{constructor(e=null){super(),c.prototype.appid||i.aR(c.M()),o.initialize(this,e,0,-1,[17],null)}static M(){return c.sm_m||(c.sm_m={proto:c,fields:{appid:{n:1,br:i.FE.readUint32,bw:i.Xc.writeUint32},name:{n:2,br:i.FE.readString,bw:i.Xc.writeString},icon:{n:3,br:i.FE.readString,bw:i.Xc.writeString},tool:{n:6,br:i.FE.readBool,bw:i.Xc.writeBool},demo:{n:7,br:i.FE.readBool,bw:i.Xc.writeBool},media:{n:8,br:i.FE.readBool,bw:i.Xc.writeBool},community_visible_stats:{n:9,br:i.FE.readBool,bw:i.Xc.writeBool},friendly_name:{n:10,br:i.FE.readString,bw:i.Xc.writeString},propagation:{n:11,br:i.FE.readString,bw:i.Xc.writeString},has_adult_content:{n:12,br:i.FE.readBool,bw:i.Xc.writeBool},is_visible_in_steam_china:{n:13,br:i.FE.readBool,bw:i.Xc.writeBool},app_type:{n:14,br:i.FE.readUint32,bw:i.Xc.writeUint32},has_adult_content_sex:{n:15,br:i.FE.readBool,bw:i.Xc.writeBool},has_adult_content_violence:{n:16,br:i.FE.readBool,bw:i.Xc.writeBool},content_descriptorids:{n:17,r:!0,q:!0,br:i.FE.readUint32,pbr:i.FE.readPackedUint32,bw:i.Xc.writeRepeatedUint32}}}),c.sm_m}static MBF(){return c.sm_mbf||(c.sm_mbf=i.Bh(c.M())),c.sm_mbf}toObject(e=!1){return c.toObject(e,this)}static toObject(e,t){return i.TA(c.M(),e,t)}static fromObject(e){return i.aD(c.M(),e)}static deserializeBinary(e){let t=new r.BinaryReader(e),n=new c;return c.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return i.F(c.MBF(),e,t)}serializeBinary(){var e=new r.BinaryWriter;return c.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){i.l2(c.M(),e,t)}serializeBase64String(){var e=new r.BinaryWriter;return c.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CCDDBAppDetailCommon"}}class u extends o{constructor(e=null){super(),u.prototype.clanid||i.aR(u.M()),o.initialize(this,e,0,-1,void 0,null)}static M(){return u.sm_m||(u.sm_m={proto:u,fields:{clanid:{n:1,br:i.FE.readUint32,bw:i.Xc.writeUint32},event_gid:{n:2,br:i.FE.readFixed64String,bw:i.Xc.writeFixed64String},announcement_gid:{n:3,br:i.FE.readFixed64String,bw:i.Xc.writeFixed64String},rtime_start:{n:4,br:i.FE.readUint32,bw:i.Xc.writeUint32},rtime_end:{n:5,br:i.FE.readUint32,bw:i.Xc.writeUint32},priority_score:{n:6,br:i.FE.readUint32,bw:i.Xc.writeUint32},type:{n:7,br:i.FE.readUint32,bw:i.Xc.writeUint32},clamp_range_slot:{n:8,br:i.FE.readUint32,bw:i.Xc.writeUint32},appid:{n:9,br:i.FE.readUint32,bw:i.Xc.writeUint32},rtime32_last_modified:{n:10,br:i.FE.readUint32,bw:i.Xc.writeUint32}}}),u.sm_m}static MBF(){return u.sm_mbf||(u.sm_mbf=i.Bh(u.M())),u.sm_mbf}toObject(e=!1){return u.toObject(e,this)}static toObject(e,t){return i.TA(u.M(),e,t)}static fromObject(e){return i.aD(u.M(),e)}static deserializeBinary(e){let t=new r.BinaryReader(e),n=new u;return u.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return i.F(u.MBF(),e,t)}serializeBinary(){var e=new r.BinaryWriter;return u.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){i.l2(u.M(),e,t)}serializeBase64String(){var e=new r.BinaryWriter;return u.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClanEventUserNewsTuple"}}class d extends o{constructor(e=null){super(),d.prototype.rtime_before||i.aR(d.M()),o.initialize(this,e,0,-1,[4],null)}static M(){return d.sm_m||(d.sm_m={proto:d,fields:{rtime_before:{n:1,br:i.FE.readUint32,bw:i.Xc.writeUint32},rtime_after:{n:2,br:i.FE.readUint32,bw:i.Xc.writeUint32},qualified:{n:3,br:i.FE.readUint32,bw:i.Xc.writeUint32},events:{n:4,c:u,r:!0,q:!0}}}),d.sm_m}static MBF(){return d.sm_mbf||(d.sm_mbf=i.Bh(d.M())),d.sm_mbf}toObject(e=!1){return d.toObject(e,this)}static toObject(e,t){return i.TA(d.M(),e,t)}static fromObject(e){return i.aD(d.M(),e)}static deserializeBinary(e){let t=new r.BinaryReader(e),n=new d;return d.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return i.F(d.MBF(),e,t)}serializeBinary(){var e=new r.BinaryWriter;return d.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){i.l2(d.M(),e,t)}serializeBase64String(){var e=new r.BinaryWriter;return d.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClanMatchEventByRange"}}class m extends o{constructor(e=null){super(),m.prototype.content_descriptors_to_exclude||i.aR(m.M()),o.initialize(this,e,0,-1,[1],null)}static M(){return m.sm_m||(m.sm_m={proto:m,fields:{content_descriptors_to_exclude:{n:1,c:h,r:!0,q:!0}}}),m.sm_m}static MBF(){return m.sm_mbf||(m.sm_mbf=i.Bh(m.M())),m.sm_mbf}toObject(e=!1){return m.toObject(e,this)}static toObject(e,t){return i.TA(m.M(),e,t)}static fromObject(e){return i.aD(m.M(),e)}static deserializeBinary(e){let t=new r.BinaryReader(e),n=new m;return m.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return i.F(m.MBF(),e,t)}serializeBinary(){var e=new r.BinaryWriter;return m.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){i.l2(m.M(),e,t)}serializeBase64String(){var e=new r.BinaryWriter;return m.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"UserContentDescriptorPreferences"}}class h extends o{constructor(e=null){super(),h.prototype.content_descriptorid||i.aR(h.M()),o.initialize(this,e,0,-1,void 0,null)}static M(){return h.sm_m||(h.sm_m={proto:h,fields:{content_descriptorid:{n:1,br:i.FE.readUint32,bw:i.Xc.writeUint32},timestamp_added:{n:2,br:i.FE.readUint32,bw:i.Xc.writeUint32}}}),h.sm_m}static MBF(){return h.sm_mbf||(h.sm_mbf=i.Bh(h.M())),h.sm_mbf}toObject(e=!1){return h.toObject(e,this)}static toObject(e,t){return i.TA(h.M(),e,t)}static fromObject(e){return i.aD(h.M(),e)}static deserializeBinary(e){let t=new r.BinaryReader(e),n=new h;return h.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return i.F(h.MBF(),e,t)}serializeBinary(){var e=new r.BinaryWriter;return h.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){i.l2(h.M(),e,t)}serializeBase64String(){var e=new r.BinaryWriter;return h.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"UserContentDescriptorPreferences_ContentDescriptor"}}},78330:(e,t,n)=>{"use strict";n.d(t,{LT:()=>o,qr:()=>r});var r,i=n(85246);!function(e){e[e.LaunchGame=0]="LaunchGame",e[e.FriendMessage=1]="FriendMessage",e[e.ChatMention=2]="ChatMention",e[e.ChatMessage=3]="ChatMessage",e[e.ToastMessage=4]="ToastMessage",e[e.ToastAchievement=5]="ToastAchievement",e[e.ToastMisc=6]="ToastMisc",e[e.ToastMiscShort=7]="ToastMiscShort",e[e.FriendOnline=8]="FriendOnline",e[e.FriendInGame=9]="FriendInGame",e[e.VolSound=10]="VolSound",e[e.ShowModal=11]="ShowModal",e[e.HideModal=12]="HideModal",e[e.IntoGameDetail=13]="IntoGameDetail",e[e.OutOfGameDetail=14]="OutOfGameDetail",e[e.PagedNavigation=15]="PagedNavigation",e[e.ToggleOn=16]="ToggleOn",e[e.ToggleOff=17]="ToggleOff",e[e.SliderUp=18]="SliderUp",e[e.SliderDown=19]="SliderDown",e[e.ChangeTabs=20]="ChangeTabs",e[e.DefaultOk=21]="DefaultOk",e[e.OpenSideMenu=22]="OpenSideMenu",e[e.CloseSideMenu=23]="CloseSideMenu",e[e.BasicNav=24]="BasicNav",e[e.FailedNav=25]="FailedNav",e[e.Typing=26]="Typing",e[e.TimerExpired=27]="TimerExpired"}(r||(r={}));const o=new class{constructor(){this.m_fnCallbackOnPlaySound=new i.pB}RegisterCallbackOnPlaySound(e){return this.m_fnCallbackOnPlaySound.Register(e)}PlayNavSound(e){this.m_fnCallbackOnPlaySound.Dispatch(e)}}},83145:(e,t,n)=>{"use strict";n.d(t,{L:()=>b});var r=n(33940),i=n(8179),o=n(26464);let a=[{index:0,type:i.eV.OK,category:"action"},{index:1,type:i.eV.CANCEL,category:"action"},{index:2,type:i.eV.SECONDARY,category:"action"},{index:3,type:i.eV.OPTIONS,category:"action"},{index:4,type:i.eV.BUMPER_LEFT,category:"action"},{index:5,type:i.eV.BUMPER_RIGHT,category:"action"},{index:6,type:i.eV.TRIGGER_LEFT,category:"action"},{index:7,type:i.eV.TRIGGER_RIGHT,category:"action"},{index:8,type:i.eV.SELECT,category:"action"},{index:9,type:i.eV.START,category:"action"},{index:10,type:i.eV.LSTICK_CLICK,category:"action"},{index:11,type:i.eV.RSTICK_CLICK,category:"action"},{index:12,type:i.eV.DIR_UP,category:"navigation"},{index:13,type:i.eV.DIR_DOWN,category:"navigation"},{index:14,type:i.eV.DIR_LEFT,category:"navigation"},{index:15,type:i.eV.DIR_RIGHT,category:"navigation"},{index:16,type:i.eV.STEAM_GUIDE,category:"action"},{index:17,type:i.eV.SELECT,category:"action"}];class s extends i.oH{constructor(){super(),this.m_rgGamepadStatus=[],this.SetSourceType(i.Rr.GAMEPAD),window.addEventListener("gamepadconnected",(e=>{this.m_bGamepadDetected||(this.OnGamepadDetected(),this.PollGamepads())}))}PollGamepads(){let e=navigator.getGamepads(),t=!1;for(let n=0;n{if(-1==e.findIndex((e=>e.nControllerIndex==n))){for(let e=0;e in i.eV;e++)t.activeButtons[e]&&this.OnButtonUp(e,n);this.OnAnalogPad(i.eV.LPAD_TOUCH,0,0,n),this.OnAnalogPad(i.eV.RPAD_TOUCH,0,0,n),this.m_rgControllers.delete(n)}}))}HandleSystemKeyEvents(e){const t=d[e.eKey];t&&this.OnSystemButtonPress(t,e.nControllerIndex)}OnSystemButtonPress(e,t){this.OnButtonDown(e,t),this.OnButtonUp(e,t)}GetController(e){let t=this.m_rgControllers.get(e);return t||(t={activeButtons:{}},this.m_rgControllers.set(e,t)),t}EnableAnalogInputMessages(e){var t;e?this.m_hUnregisterControllerAnalogInput=SteamClient.Input.RegisterForControllerAnalogInputMessages(this.HandleControllerInputMessages):null===(t=this.m_hUnregisterControllerAnalogInput)||void 0===t||t.unregister()}HandleControllerInputMessages(e){for(const t of e){const e=u[t.nA],n=this.GetController(t.nC);null!=e?t.bS&&!n.activeButtons[e]?(n.activeButtons[e]=!0,this.OnButtonDown(e,t.nC)):!t.bS&&n.activeButtons[e]&&(n.activeButtons[e]=!1,this.OnButtonUp(e,t.nC)):t.nA==c.A.GAMEPAD_ANALOG_SCROLL||(t.nA==c.A.GAMEPAD_ANALOG_LEFT_KEYBOARD_CURSOR?n.activeButtons[i.eV.LPAD_TOUCH]&&this.OnAnalogPad(i.eV.LPAD_TOUCH,t.x,t.y,t.nC):t.nA==c.A.GAMEPAD_ANALOG_RIGHT_KEYBOARD_CURSOR&&n.activeButtons[i.eV.RPAD_TOUCH]&&this.OnAnalogPad(i.eV.RPAD_TOUCH,t.x,t.y,t.nC))}}}(0,r.gn)([o.a],m.prototype,"OnControllerListChanged",null),(0,r.gn)([o.a],m.prototype,"HandleSystemKeyEvents",null),(0,r.gn)([o.a],m.prototype,"EnableAnalogInputMessages",null),(0,r.gn)([o.a],m.prototype,"HandleControllerInputMessages",null);var h=n(60161),p=n(44973);class _ extends i.oH{constructor(e){super(),this.m_lastButtonDown=i.eV.INVALID,this.SetSourceType(i.Rr.KEYBOARD),e.addEventListener("keydown",this.OnKeyDown),e.addEventListener("keyup",this.OnKeyUp),e.addEventListener("blur",this.Reset)}OnKeyDown(e){const t=this.TranslateKey(e);t!=i.eV.INVALID&&(e.preventDefault(),t!=this.m_lastButtonDown&&(this.Reset(),this.OnButtonDown(t),this.m_lastButtonDown=t))}OnKeyUp(e){const t=this.TranslateKey(e);t!=i.eV.INVALID&&(this.OnButtonUp(t),this.m_lastButtonDown=i.eV.INVALID,e.preventDefault())}Reset(){this.m_lastButtonDown!=i.eV.INVALID&&(this.OnButtonUp(this.m_lastButtonDown),this.m_lastButtonDown=i.eV.INVALID)}GetKeycodeFromEvent(e){return"linux"===p.De.PLATFORM&&e.key.length>1?e.key||e.code:e.code||e.key}BShouldSwallowEventForTextInputWorkaround(e){if(!(h.GB(e.target)&&("INPUT"===e.target.nodeName||"TEXTAREA"===e.target.nodeName||e.target.hasAttribute("contenteditable"))))return!1;if(e.target.hasAttribute("contenteditable"))return!0;const t=this.GetKeycodeFromEvent(e);let n=e.target;const r=Array.from(n.ownerDocument.getElementsByClassName("gpfocus")).some((e=>Array.from(e.classList).some((e=>e.includes("virtualkeyboard")))));switch(t){case"ArrowUp":{if(r)return!0;let t=null==n?void 0:n.value.indexOf("\n");return"TEXTAREA"===e.target.nodeName&&t>=0&&t<(null==n?void 0:n.selectionStart)}case"ArrowDown":{if(r)return!0;let t=null==n?void 0:n.value.lastIndexOf("\n");return"TEXTAREA"===e.target.nodeName&&t>=0&&t>=(null==n?void 0:n.selectionStart)&&(null==n?void 0:n.selectionEnd)<(null==n?void 0:n.value.length)}case"ArrowLeft":return!!r||(null==n?void 0:n.selectionStart)>0&&(null==n?void 0:n.selectionEnd)>0;case"ArrowRight":return!!r||(null==n?void 0:n.selectionStart)<(null==n?void 0:n.value.length)&&(null==n?void 0:n.selectionEnd)<(null==n?void 0:n.value.length);case"Enter":case"Backspace":return!0;default:return!1}}TranslateKey(e){const t=this.GetKeycodeFromEvent(e),n=e.ctrlKey,r=e.shiftKey;if(this.BShouldSwallowEventForTextInputWorkaround(e))return i.eV.INVALID;if(n&&r)switch(t){case"Digit4":return i.eV.TRIGGER_LEFT;case"Digit5":return i.eV.TRIGGER_RIGHT;default:return i.eV.INVALID}if(n)switch(t){case"Digit1":return i.eV.STEAM_GUIDE;case"Digit2":return i.eV.STEAM_QUICK_MENU;case"Digit3":case"Digit9":return i.eV.SELECT;case"Digit4":return i.eV.BUMPER_LEFT;case"Digit5":return i.eV.BUMPER_RIGHT;case"Digit6":return i.eV.LSTICK_CLICK;case"Digit7":return i.eV.RSTICK_CLICK;case"Digit8":return i.eV.OPTIONS;case"Digit0":return i.eV.START}switch(t){case"Escape":return i.eV.CANCEL;case"Enter":return i.eV.OK;case"Backspace":return i.eV.SECONDARY;case"ArrowUp":return i.eV.DIR_UP;case"ArrowDown":return i.eV.DIR_DOWN;case"ArrowLeft":return i.eV.DIR_LEFT;case"ArrowRight":return i.eV.DIR_RIGHT}return i.eV.INVALID}}(0,r.gn)([o.a],_.prototype,"OnKeyDown",null),(0,r.gn)([o.a],_.prototype,"OnKeyUp",null),(0,r.gn)([o.a],_.prototype,"Reset",null);class g extends i.oH{constructor(e){super(),this.m_nAccumulatedMouseMovement=0,this.m_bFirstMouseUpdate=!0,this.m_lastButtonDown=i.eV.INVALID,this.SetSourceType(i.Rr.MOUSE),e.addEventListener("mousedown",this.OnMouseDown),e.addEventListener("mouseup",this.OnMouseUp),e.addEventListener("mousemove",this.OnMouseMove),e.addEventListener("blur",this.Reset)}TranslateKey(e){return 3===e.button?i.eV.CANCEL:i.eV.INVALID}OnMouseDown(e){if(e.defaultPrevented)return;const t=this.TranslateKey(e);t!=i.eV.INVALID&&(e.preventDefault(),t!=this.m_lastButtonDown&&(this.Reset(),this.OnButtonDown(t),this.m_lastButtonDown=t),this.OnNavigationTypeChanged(i.Rr.MOUSE))}OnMouseUp(e){const t=this.TranslateKey(e);t!=i.eV.INVALID&&(this.OnButtonUp(t),this.m_lastButtonDown=i.eV.INVALID,event.preventDefault())}OnMouseMove(e){if(!e.defaultPrevented){if(this.m_bFirstMouseUpdate)return this.m_nLastScreenX=e.screenX,this.m_nLastScreenY=e.screenY,void(this.m_bFirstMouseUpdate=!1);this.m_nAccumulatedMouseMovement+=Math.abs(e.screenX-this.m_nLastScreenX)+Math.abs(e.screenY-this.m_nLastScreenY),this.m_nAccumulatedMouseMovement>500&&(this.Reset(),this.OnNavigationTypeChanged(i.Rr.MOUSE))}}Reset(){this.m_nAccumulatedMouseMovement=0,this.m_bFirstMouseUpdate=!0,this.m_lastButtonDown!=i.eV.INVALID&&(this.OnButtonUp(this.m_lastButtonDown),this.m_lastButtonDown=i.eV.INVALID)}}(0,r.gn)([o.a],g.prototype,"TranslateKey",null),(0,r.gn)([o.a],g.prototype,"OnMouseDown",null),(0,r.gn)([o.a],g.prototype,"OnMouseUp",null),(0,r.gn)([o.a],g.prototype,"OnMouseMove",null),(0,r.gn)([o.a],g.prototype,"Reset",null);var f=n(77872),v=n(32765),C=n(73961);class E{GetNavigationController(){return this.m_GamepadNavigationController}static Get(e){return e?(E.s_SingletonGamepaUI||(E.s_SingletonGamepaUI=new E(!0),"dev"==v.De.WEB_UNIVERSE&&(window.g_StoreWebNavStoreGamepadUI=E.s_Singleton)),E.s_SingletonGamepaUI):(E.s_Singleton||(E.s_Singleton=new E(!1)),E.s_Singleton)}constructor(e){this.m_GamepadNavigationController=new f.ZT,e&&(this.m_GamepadNavigationController.RegisterInputSource(new m),this.m_GamepadNavigationController.RegisterInputSource(new s)),"dev"==v.De.WEB_UNIVERSE&&(this.m_GamepadNavigationController.RegisterInputSource(new _(window)),this.m_GamepadNavigationController.RegisterInputSource(new g(window)))}}function b(){let e=window.legacyWebFocusNavController,t=(0,v.id)();return e||(e=E.Get(t).GetNavigationController()),e.SetGamepadEventUpdateBatcher(C.unstable_batchedUpdates),e}},45464:(e,t,n)=>{"use strict";n.d(t,{Uh:()=>Q});var r=n(33940),i=n(54856),o=n(45878),a=n(29063);const s=o.Message;class l extends s{constructor(e=null){super(),l.prototype.original_hostname||a.aR(l.M()),s.initialize(this,e,0,-1,void 0,null)}static M(){return l.sm_m||(l.sm_m={proto:l,fields:{original_hostname:{n:1,br:a.FE.readString,bw:a.Xc.writeString},actual_hostname:{n:2,br:a.FE.readString,bw:a.Xc.writeString},path:{n:3,br:a.FE.readString,bw:a.Xc.writeString},base_name:{n:4,br:a.FE.readString,bw:a.Xc.writeString},success:{n:5,br:a.FE.readBool,bw:a.Xc.writeBool},status_code:{n:6,br:a.FE.readUint32,bw:a.Xc.writeUint32},address_of_request_url:{n:7,br:a.FE.readString,bw:a.Xc.writeString},response_time_ms:{n:8,br:a.FE.readUint32,bw:a.Xc.writeUint32},bytes_received:{n:9,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},num_retries:{n:10,br:a.FE.readUint32,bw:a.Xc.writeUint32}}}),l.sm_m}static MBF(){return l.sm_mbf||(l.sm_mbf=a.Bh(l.M())),l.sm_mbf}toObject(e=!1){return l.toObject(e,this)}static toObject(e,t){return a.TA(l.M(),e,t)}static fromObject(e){return a.aD(l.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new l;return l.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(l.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return l.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(l.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return l.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ClientBootstrap_RequestInfo"}}class c extends s{constructor(e=null){super(),c.prototype.launcher_type||a.aR(c.M()),s.initialize(this,e,0,-1,[7,8],null)}static M(){return c.sm_m||(c.sm_m={proto:c,fields:{launcher_type:{n:1,br:a.FE.readUint32,bw:a.Xc.writeUint32},steam_realm:{n:2,br:a.FE.readUint32,bw:a.Xc.writeUint32},beta_name:{n:3,br:a.FE.readString,bw:a.Xc.writeString},download_completed:{n:4,br:a.FE.readBool,bw:a.Xc.writeBool},total_time_ms:{n:6,br:a.FE.readUint32,bw:a.Xc.writeUint32},manifest_requests:{n:7,c:l,r:!0,q:!0},package_requests:{n:8,c:l,r:!0,q:!0}}}),c.sm_m}static MBF(){return c.sm_mbf||(c.sm_mbf=a.Bh(c.M())),c.sm_mbf}toObject(e=!1){return c.toObject(e,this)}static toObject(e,t){return a.TA(c.M(),e,t)}static fromObject(e){return a.aD(c.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new c;return c.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(c.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return c.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(c.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return c.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ClientBootstrap_Summary"}}class u extends s{constructor(e=null){super(),u.prototype.class_100||a.aR(u.M()),s.initialize(this,e,0,-1,void 0,null)}static M(){return u.sm_m||(u.sm_m={proto:u,fields:{class_100:{n:1,br:a.FE.readUint32,bw:a.Xc.writeUint32},class_200:{n:2,br:a.FE.readUint32,bw:a.Xc.writeUint32},class_300:{n:3,br:a.FE.readUint32,bw:a.Xc.writeUint32},class_400:{n:4,br:a.FE.readUint32,bw:a.Xc.writeUint32},class_500:{n:5,br:a.FE.readUint32,bw:a.Xc.writeUint32},no_response:{n:6,br:a.FE.readUint32,bw:a.Xc.writeUint32},class_unknown:{n:7,br:a.FE.readUint32,bw:a.Xc.writeUint32}}}),u.sm_m}static MBF(){return u.sm_mbf||(u.sm_mbf=a.Bh(u.M())),u.sm_mbf}toObject(e=!1){return u.toObject(e,this)}static toObject(e,t){return a.TA(u.M(),e,t)}static fromObject(e){return a.aD(u.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new u;return u.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(u.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return u.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(u.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return u.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ContentDownloadResponse_Counts"}}class d extends s{constructor(e=null){super(),d.prototype.hostname||a.aR(d.M()),s.initialize(this,e,0,-1,void 0,null)}static M(){return d.sm_m||(d.sm_m={proto:d,fields:{hostname:{n:1,br:a.FE.readString,bw:a.Xc.writeString},source_type:{n:2,br:a.FE.readUint32,bw:a.Xc.writeUint32},counts:{n:3,c:u}}}),d.sm_m}static MBF(){return d.sm_mbf||(d.sm_mbf=a.Bh(d.M())),d.sm_mbf}toObject(e=!1){return d.toObject(e,this)}static toObject(e,t){return a.TA(d.M(),e,t)}static fromObject(e){return a.aD(d.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new d;return d.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(d.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return d.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(d.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return d.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ContentDownloadResponse_HostCounts"}}class m extends s{constructor(e=null){super(),m.prototype.hosts||a.aR(m.M()),s.initialize(this,e,0,-1,[1],null)}static M(){return m.sm_m||(m.sm_m={proto:m,fields:{hosts:{n:1,c:d,r:!0,q:!0}}}),m.sm_m}static MBF(){return m.sm_mbf||(m.sm_mbf=a.Bh(m.M())),m.sm_mbf}toObject(e=!1){return m.toObject(e,this)}static toObject(e,t){return a.TA(m.M(),e,t)}static fromObject(e){return a.aD(m.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new m;return m.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(m.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return m.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(m.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return m.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ContentDownloadResponse_Hosts"}}const h=o.Message;class p extends h{constructor(e=null){super(),p.prototype.raw_version||a.aR(p.M()),h.initialize(this,e,0,-1,void 0,null)}static M(){return p.sm_m||(p.sm_m={proto:p,fields:{raw_version:{n:1,br:a.FE.readString,bw:a.Xc.writeString},requested_interface_type:{n:2,br:a.FE.readString,bw:a.Xc.writeString}}}),p.sm_m}static MBF(){return p.sm_mbf||(p.sm_mbf=a.Bh(p.M())),p.sm_mbf}toObject(e=!1){return p.toObject(e,this)}static toObject(e,t){return a.TA(p.M(),e,t)}static fromObject(e){return a.aD(p.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new p;return p.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(p.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return p.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(p.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return p.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_AppInterfaceCreation"}}class _ extends h{constructor(e=null){super(),_.prototype.interface_name||a.aR(_.M()),h.initialize(this,e,0,-1,void 0,null)}static M(){return _.sm_m||(_.sm_m={proto:_,fields:{interface_name:{n:1,br:a.FE.readString,bw:a.Xc.writeString},method_name:{n:2,br:a.FE.readString,bw:a.Xc.writeString},call_count:{n:3,br:a.FE.readUint32,bw:a.Xc.writeUint32}}}),_.sm_m}static MBF(){return _.sm_mbf||(_.sm_mbf=a.Bh(_.M())),_.sm_mbf}toObject(e=!1){return _.toObject(e,this)}static toObject(e,t){return a.TA(_.M(),e,t)}static fromObject(e){return a.aD(_.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new _;return _.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(_.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return _.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(_.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return _.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_AppInterfaceMethodCounts"}}class g extends h{constructor(e=null){super(),g.prototype.game_id||a.aR(g.M()),h.initialize(this,e,0,-1,[2,3],null)}static M(){return g.sm_m||(g.sm_m={proto:g,fields:{game_id:{n:1,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},interfaces_created:{n:2,c:p,r:!0,q:!0},methods_called:{n:3,c:_,r:!0,q:!0},session_length_seconds:{n:4,br:a.FE.readUint32,bw:a.Xc.writeUint32}}}),g.sm_m}static MBF(){return g.sm_mbf||(g.sm_mbf=a.Bh(g.M())),g.sm_mbf}toObject(e=!1){return g.toObject(e,this)}static toObject(e,t){return a.TA(g.M(),e,t)}static fromObject(e){return a.aD(g.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new g;return g.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(g.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return g.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(g.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return g.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_AppInterfaceStats_Notification"}}class f extends h{constructor(e=null){super(),f.prototype.protocol_tested||a.aR(f.M()),h.initialize(this,e,0,-1,void 0,null)}static M(){return f.sm_m||(f.sm_m={proto:f,fields:{protocol_tested:{n:1,br:a.FE.readUint32,bw:a.Xc.writeUint32},connectivity_state:{n:2,br:a.FE.readUint32,bw:a.Xc.writeUint32}}}),f.sm_m}static MBF(){return f.sm_mbf||(f.sm_mbf=a.Bh(f.M())),f.sm_mbf}toObject(e=!1){return f.toObject(e,this)}static toObject(e,t){return a.TA(f.M(),e,t)}static fromObject(e){return a.aD(f.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new f;return f.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(f.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return f.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(f.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return f.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_IPv6Connectivity_Result"}}class v extends h{constructor(e=null){super(),v.prototype.cell_id||a.aR(v.M()),h.initialize(this,e,0,-1,[2],null)}static M(){return v.sm_m||(v.sm_m={proto:v,fields:{cell_id:{n:1,br:a.FE.readUint32,bw:a.Xc.writeUint32},results:{n:2,c:f,r:!0,q:!0},private_ip_is_rfc6598:{n:3,br:a.FE.readBool,bw:a.Xc.writeBool}}}),v.sm_m}static MBF(){return v.sm_mbf||(v.sm_mbf=a.Bh(v.M())),v.sm_mbf}toObject(e=!1){return v.toObject(e,this)}static toObject(e,t){return a.TA(v.M(),e,t)}static fromObject(e){return a.aD(v.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new v;return v.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(v.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return v.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(v.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return v.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_IPv6Connectivity_Notification"}}class C extends h{constructor(e=null){super(),C.prototype.product||a.aR(C.M()),h.initialize(this,e,0,-1,[3,4,5],null)}static M(){return C.sm_m||(C.sm_m={proto:C,fields:{product:{n:1,br:a.FE.readString,bw:a.Xc.writeString},version:{n:2,br:a.FE.readString,bw:a.Xc.writeString},routes:{n:3,c:E,r:!0,q:!0},components:{n:4,c:b,r:!0,q:!0},actions:{n:5,c:w,r:!0,q:!0}}}),C.sm_m}static MBF(){return C.sm_mbf||(C.sm_mbf=a.Bh(C.M())),C.sm_mbf}toObject(e=!1){return C.toObject(e,this)}static toObject(e,t){return a.TA(C.M(),e,t)}static fromObject(e){return a.aD(C.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new C;return C.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(C.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return C.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(C.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return C.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ReportReactUsage_Notification"}}class E extends h{constructor(e=null){super(),E.prototype.route||a.aR(E.M()),h.initialize(this,e,0,-1,void 0,null)}static M(){return E.sm_m||(E.sm_m={proto:E,fields:{route:{n:1,br:a.FE.readString,bw:a.Xc.writeString},count:{n:2,br:a.FE.readUint32,bw:a.Xc.writeUint32}}}),E.sm_m}static MBF(){return E.sm_mbf||(E.sm_mbf=a.Bh(E.M())),E.sm_mbf}toObject(e=!1){return E.toObject(e,this)}static toObject(e,t){return a.TA(E.M(),e,t)}static fromObject(e){return a.aD(E.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new E;return E.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(E.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return E.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(E.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return E.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ReportReactUsage_Notification_RouteData"}}class b extends h{constructor(e=null){super(),b.prototype.component||a.aR(b.M()),h.initialize(this,e,0,-1,void 0,null)}static M(){return b.sm_m||(b.sm_m={proto:b,fields:{component:{n:1,br:a.FE.readString,bw:a.Xc.writeString},count:{n:2,br:a.FE.readUint32,bw:a.Xc.writeUint32}}}),b.sm_m}static MBF(){return b.sm_mbf||(b.sm_mbf=a.Bh(b.M())),b.sm_mbf}toObject(e=!1){return b.toObject(e,this)}static toObject(e,t){return a.TA(b.M(),e,t)}static fromObject(e){return a.aD(b.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new b;return b.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(b.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return b.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(b.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return b.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ReportReactUsage_Notification_ComponentData"}}class w extends h{constructor(e=null){super(),w.prototype.action||a.aR(w.M()),h.initialize(this,e,0,-1,void 0,null)}static M(){return w.sm_m||(w.sm_m={proto:w,fields:{action:{n:1,br:a.FE.readString,bw:a.Xc.writeString},count:{n:2,br:a.FE.readUint32,bw:a.Xc.writeUint32}}}),w.sm_m}static MBF(){return w.sm_mbf||(w.sm_mbf=a.Bh(w.M())),w.sm_mbf}toObject(e=!1){return w.toObject(e,this)}static toObject(e,t){return a.TA(w.M(),e,t)}static fromObject(e){return a.aD(w.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new w;return w.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(w.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return w.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(w.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return w.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ReportReactUsage_Notification_ActionData"}}class S extends h{constructor(e=null){super(),S.prototype.product||a.aR(S.M()),h.initialize(this,e,0,-1,[3],null)}static M(){return S.sm_m||(S.sm_m={proto:S,fields:{product:{n:1,br:a.FE.readString,bw:a.Xc.writeString},version:{n:2,br:a.FE.readString,bw:a.Xc.writeString},errors:{n:3,c:y,r:!0,q:!0}}}),S.sm_m}static MBF(){return S.sm_mbf||(S.sm_mbf=a.Bh(S.M())),S.sm_mbf}toObject(e=!1){return S.toObject(e,this)}static toObject(e,t){return a.TA(S.M(),e,t)}static fromObject(e){return a.aD(S.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new S;return S.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(S.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return S.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(S.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return S.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ReportClientError_Notification"}}class y extends h{constructor(e=null){super(),y.prototype.identifier||a.aR(y.M()),h.initialize(this,e,0,-1,void 0,null)}static M(){return y.sm_m||(y.sm_m={proto:y,fields:{identifier:{n:1,br:a.FE.readString,bw:a.Xc.writeString},message:{n:2,br:a.FE.readString,bw:a.Xc.writeString},count:{n:3,br:a.FE.readUint32,bw:a.Xc.writeUint32}}}),y.sm_m}static MBF(){return y.sm_mbf||(y.sm_mbf=a.Bh(y.M())),y.sm_mbf}toObject(e=!1){return y.toObject(e,this)}static toObject(e,t){return a.TA(y.M(),e,t)}static fromObject(e){return a.aD(y.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new y;return y.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(y.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return y.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(y.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return y.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ReportClientError_Notification_Error"}}class I extends h{constructor(e=null){super(),I.prototype.type||a.aR(I.M()),h.initialize(this,e,0,-1,void 0,null)}static M(){return I.sm_m||(I.sm_m={proto:I,fields:{type:{n:1,br:a.FE.readEnum,bw:a.Xc.writeEnum},num_ops:{n:2,br:a.FE.readUint32,bw:a.Xc.writeUint32},num_bytes:{n:3,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},busy_time_ms:{n:4,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},idle_time_ms:{n:5,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},sum_run_time_ms:{n:6,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},sum_wait_time_ms:{n:7,br:a.FE.readUint64String,bw:a.Xc.writeUint64String}}}),I.sm_m}static MBF(){return I.sm_mbf||(I.sm_mbf=a.Bh(I.M())),I.sm_mbf}toObject(e=!1){return I.toObject(e,this)}static toObject(e,t){return a.TA(I.M(),e,t)}static fromObject(e){return a.aD(I.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new I;return I.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(I.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return I.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(I.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return I.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_SteamPipeWorkStats_Operation"}}class R extends h{constructor(e=null){super(),R.prototype.appid||a.aR(R.M()),h.initialize(this,e,0,-1,[4],null)}static M(){return R.sm_m||(R.sm_m={proto:R,fields:{appid:{n:1,br:a.FE.readUint32,bw:a.Xc.writeUint32},depotid:{n:2,br:a.FE.readUint32,bw:a.Xc.writeUint32},work_type:{n:3,br:a.FE.readEnum,bw:a.Xc.writeEnum},operations:{n:4,c:I,r:!0,q:!0},hardware_type:{n:5,br:a.FE.readUint32,bw:a.Xc.writeUint32}}}),R.sm_m}static MBF(){return R.sm_mbf||(R.sm_mbf=a.Bh(R.M())),R.sm_mbf}toObject(e=!1){return R.toObject(e,this)}static toObject(e,t){return a.TA(R.M(),e,t)}static fromObject(e){return a.aD(R.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new R;return R.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(R.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return R.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(R.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return R.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_SteamPipeWorkStats_Notification"}}class D extends h{constructor(e=null){super(),D.prototype.summary||a.aR(D.M()),h.initialize(this,e,0,-1,void 0,null)}static M(){return D.sm_m||(D.sm_m={proto:D,fields:{summary:{n:1,c}}}),D.sm_m}static MBF(){return D.sm_mbf||(D.sm_mbf=a.Bh(D.M())),D.sm_mbf}toObject(e=!1){return D.toObject(e,this)}static toObject(e,t){return a.TA(D.M(),e,t)}static fromObject(e){return a.aD(D.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new D;return D.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(D.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return D.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(D.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return D.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ClientBootstrap_Notification"}}class M extends h{constructor(e=null){super(),M.prototype.cell_id||a.aR(M.M()),h.initialize(this,e,0,-1,[2],null)}static M(){return M.sm_m||(M.sm_m={proto:M,fields:{cell_id:{n:1,br:a.FE.readUint32,bw:a.Xc.writeUint32},stats:{n:2,c:T,r:!0,q:!0},throttling_kbps:{n:3,br:a.FE.readUint32,bw:a.Xc.writeUint32}}}),M.sm_m}static MBF(){return M.sm_mbf||(M.sm_mbf=a.Bh(M.M())),M.sm_mbf}toObject(e=!1){return M.toObject(e,this)}static toObject(e,t){return a.TA(M.M(),e,t)}static fromObject(e){return a.aD(M.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new M;return M.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(M.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return M.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(M.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return M.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_DownloadRates_Notification"}}class T extends h{constructor(e=null){super(),T.prototype.source_type||a.aR(T.M()),h.initialize(this,e,0,-1,void 0,null)}static M(){return T.sm_m||(T.sm_m={proto:T,fields:{source_type:{n:1,br:a.FE.readUint32,bw:a.Xc.writeUint32},source_id:{n:2,br:a.FE.readUint32,bw:a.Xc.writeUint32},bytes:{n:3,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},host_name:{n:4,br:a.FE.readString,bw:a.Xc.writeString},microseconds:{n:5,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},used_ipv6:{n:6,br:a.FE.readBool,bw:a.Xc.writeBool},proxied:{n:7,br:a.FE.readBool,bw:a.Xc.writeBool},used_http2:{n:8,br:a.FE.readBool,bw:a.Xc.writeBool},cache_hits:{n:9,br:a.FE.readUint32,bw:a.Xc.writeUint32},cache_misses:{n:10,br:a.FE.readUint32,bw:a.Xc.writeUint32},hit_bytes:{n:11,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},miss_bytes:{n:12,br:a.FE.readUint64String,bw:a.Xc.writeUint64String}}}),T.sm_m}static MBF(){return T.sm_mbf||(T.sm_mbf=a.Bh(T.M())),T.sm_mbf}toObject(e=!1){return T.toObject(e,this)}static toObject(e,t){return a.TA(T.M(),e,t)}static fromObject(e){return a.aD(T.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new T;return T.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(T.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return T.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(T.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return T.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_DownloadRates_Notification_StatsInfo"}}class B extends h{constructor(e=null){super(),B.prototype.validation_result||a.aR(B.M()),h.initialize(this,e,0,-1,void 0,null)}static M(){return B.sm_m||(B.sm_m={proto:B,fields:{validation_result:{n:1,br:a.FE.readInt32,bw:a.Xc.writeInt32},app_id:{n:2,br:a.FE.readUint32,bw:a.Xc.writeUint32},staged_files:{n:3,br:a.FE.readBool,bw:a.Xc.writeBool},user_initiated:{n:4,br:a.FE.readBool,bw:a.Xc.writeBool},early_out:{n:5,br:a.FE.readBool,bw:a.Xc.writeBool},chunks_scanned:{n:6,br:a.FE.readUint32,bw:a.Xc.writeUint32},chunks_corrupt:{n:7,br:a.FE.readUint32,bw:a.Xc.writeUint32},bytes_scanned:{n:8,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},chunk_bytes_corrupt:{n:9,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},total_file_size_corrupt:{n:10,br:a.FE.readUint64String,bw:a.Xc.writeUint64String}}}),B.sm_m}static MBF(){return B.sm_mbf||(B.sm_mbf=a.Bh(B.M())),B.sm_mbf}toObject(e=!1){return B.toObject(e,this)}static toObject(e,t){return a.TA(B.M(),e,t)}static fromObject(e){return a.aD(B.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new B;return B.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(B.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return B.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(B.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return B.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ContentValidation_Notification"}}class A extends h{constructor(e=null){super(),A.prototype.app_id||a.aR(A.M()),h.initialize(this,e,0,-1,void 0,null)}static M(){return A.sm_m||(A.sm_m={proto:A,fields:{app_id:{n:1,br:a.FE.readUint32,bw:a.Xc.writeUint32},platform_type:{n:2,br:a.FE.readUint32,bw:a.Xc.writeUint32},preload:{n:3,br:a.FE.readBool,bw:a.Xc.writeBool},blocking_app_launch:{n:4,br:a.FE.readBool,bw:a.Xc.writeBool},files_uploaded:{n:5,br:a.FE.readUint32,bw:a.Xc.writeUint32},files_downloaded:{n:6,br:a.FE.readUint32,bw:a.Xc.writeUint32},files_deleted:{n:7,br:a.FE.readUint32,bw:a.Xc.writeUint32},bytes_uploaded:{n:8,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},bytes_downloaded:{n:9,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},microsec_total:{n:10,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},microsec_init_caches:{n:11,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},microsec_validate_state:{n:12,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},microsec_ac_launch:{n:13,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},microsec_ac_prep_user_files:{n:14,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},microsec_ac_exit:{n:15,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},microsec_build_sync_list:{n:16,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},microsec_delete_files:{n:17,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},microsec_download_files:{n:18,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},microsec_upload_files:{n:19,br:a.FE.readUint64String,bw:a.Xc.writeUint64String},hardware_type:{n:20,br:a.FE.readUint32,bw:a.Xc.writeUint32},files_managed:{n:21,br:a.FE.readUint32,bw:a.Xc.writeUint32}}}),A.sm_m}static MBF(){return A.sm_mbf||(A.sm_mbf=a.Bh(A.M())),A.sm_mbf}toObject(e=!1){return A.toObject(e,this)}static toObject(e,t){return a.TA(A.M(),e,t)}static fromObject(e){return a.aD(A.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new A;return A.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(A.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return A.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(A.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return A.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_CloudAppSyncStats_Notification"}}class O extends h{constructor(e=null){super(),O.prototype.cell_id||a.aR(O.M()),h.initialize(this,e,0,-1,void 0,null)}static M(){return O.sm_m||(O.sm_m={proto:O,fields:{cell_id:{n:1,br:a.FE.readUint32,bw:a.Xc.writeUint32},data:{n:2,c:m}}}),O.sm_m}static MBF(){return O.sm_mbf||(O.sm_mbf=a.Bh(O.M())),O.sm_mbf}toObject(e=!1){return O.toObject(e,this)}static toObject(e,t){return a.TA(O.M(),e,t)}static fromObject(e){return a.aD(O.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new O;return O.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(O.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return O.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(O.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return O.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ContentDownloadResponse_Counts_Notification"}}class F extends h{constructor(e=null){super(),F.prototype.client_args||a.aR(F.M()),h.initialize(this,e,0,-1,[1],null)}static M(){return F.sm_m||(F.sm_m={proto:F,fields:{client_args:{n:1,r:!0,q:!0,br:a.FE.readString,bw:a.Xc.writeRepeatedString},gpu_webview_regkey_disabled:{n:2,br:a.FE.readBool,bw:a.Xc.writeBool},suppress_gpu_chrome:{n:3,br:a.FE.readBool,bw:a.Xc.writeBool},browser_not_supported:{n:4,br:a.FE.readBool,bw:a.Xc.writeBool},hw_accel_video_regkey_disabled:{n:5,br:a.FE.readBool,bw:a.Xc.writeBool},mini_mode_enabled:{n:6,br:a.FE.readBool,bw:a.Xc.writeBool},fps_counter_enabled:{n:7,br:a.FE.readBool,bw:a.Xc.writeBool},library_low_bandwidth_mode_enabled:{n:8,br:a.FE.readBool,bw:a.Xc.writeBool},library_low_perf_mode_enabled:{n:9,br:a.FE.readBool,bw:a.Xc.writeBool}}}),F.sm_m}static MBF(){return F.sm_mbf||(F.sm_mbf=a.Bh(F.M())),F.sm_mbf}toObject(e=!1){return F.toObject(e,this)}static toObject(e,t){return a.TA(F.M(),e,t)}static fromObject(e){return a.aD(F.M(),e)}static deserializeBinary(e){let t=new o.BinaryReader(e),n=new F;return F.deserializeBinaryFromReader(n,t)}static deserializeBinaryFromReader(e,t){return a.F(F.MBF(),e,t)}serializeBinary(){var e=new o.BinaryWriter;return F.serializeBinaryToWriter(this,e),e.getResultBuffer()}static serializeBinaryToWriter(e,t){a.l2(F.M(),e,t)}serializeBase64String(){var e=new o.BinaryWriter;return F.serializeBinaryToWriter(this,e),e.getResultBase64String()}getClassName(){return"CClientMetrics_ReportClientArgs_Notification"}}var L;!function(e){e.ClientAppInterfaceStatsReport=function(e,t){return e.SendNotification("ClientMetrics.ClientAppInterfaceStatsReport#1",(0,i.MD)(g,t),{ePrivilege:1})},e.ClientIPv6ConnectivityReport=function(e,t){return e.SendNotification("ClientMetrics.ClientIPv6ConnectivityReport#1",(0,i.MD)(v,t),{ePrivilege:1})},e.SteamPipeWorkStatsReport=function(e,t){return e.SendNotification("ClientMetrics.SteamPipeWorkStatsReport#1",(0,i.MD)(R,t),{ePrivilege:1})},e.ReportReactUsage=function(e,t){return e.SendNotification("ClientMetrics.ReportReactUsage#1",(0,i.MD)(C,t),{ePrivilege:2,eWebAPIKeyRequirement:1})},e.ReportClientError=function(e,t){return e.SendNotification("ClientMetrics.ReportClientError#1",(0,i.MD)(S,t),{ePrivilege:2,eWebAPIKeyRequirement:1})},e.ClientBootstrapReport=function(e,t){return e.SendNotification("ClientMetrics.ClientBootstrapReport#1",(0,i.MD)(D,t),{ePrivilege:1})},e.ClientDownloadRatesReport=function(e,t){return e.SendNotification("ClientMetrics.ClientDownloadRatesReport#1",(0,i.MD)(M,t),{ePrivilege:1})},e.ClientContentValidationReport=function(e,t){return e.SendNotification("ClientMetrics.ClientContentValidationReport#1",(0,i.MD)(B,t),{ePrivilege:1})},e.ClientCloudAppSyncStats=function(e,t){return e.SendNotification("ClientMetrics.ClientCloudAppSyncStats#1",(0,i.MD)(A,t),{ePrivilege:1})},e.ClientDownloadResponseCodeCounts=function(e,t){return e.SendNotification("ClientMetrics.ClientDownloadResponseCodeCounts#1",(0,i.MD)(O,t),{ePrivilege:1})},e.ReportClientArgs=function(e,t){return e.SendNotification("ClientMetrics.ReportClientArgs#1",(0,i.MD)(F,t),{ePrivilege:1})}}(L||(L={}));var k=n(17547),N=n(14826);const x=window.addEventListener||n.g&&n.g.addEventListener||(()=>{});let P,V=[],G=(e,t)=>V.push({error:e,cCallsitesToIgnore:t});const U=!0;{const e=console.assert;console.assert=(t,n,...r)=>{t||G(new Error(z(n,...r)),2),e.apply(console,[t,n,...r])};const t=console.error;console.error=(e,...n)=>{G(new Error(z(e,...n)),1),t.apply(console,[e,...n])},x("error",(e=>{G(e.error,0)})),P=window.setTimeout((()=>{V=[],G=()=>{}}),3e4)}const H={cCallsitesToIgnore:0,bIncludeMessageInIdentifier:!1},W=["/localhost:1337/"];class j{constructor(e=!0){this.m_transport=null,this.m_rgErrorQueue=[],this.m_sendTimer=null,this.m_bEnabled=!0,this.m_bInitialized=!1,e?(V.forEach((({error:e,cCallsitesToIgnore:t})=>this.ReportError(e,{cCallsitesToIgnore:t}))),G=(e,t)=>this.ReportError(e,{cCallsitesToIgnore:t})):G=()=>{},V=[],clearTimeout(P),window.setTimeout((()=>{this.m_bInitialized||(this.m_bEnabled=!1,this.m_rgErrorQueue=[])}),3e4)}Init(e,t,n){this.m_bInitialized=!0,this.m_strProduct=e,this.m_strVersion=t,this.m_transport=n,this.m_bEnabled||(console.error("Error reporting was initialized after being disabled, possibly dropping errors."),this.m_bEnabled=!0),this.m_rgErrorQueue.length&&(this.SendErrorReports(this.m_rgErrorQueue),this.m_rgErrorQueue=[])}ReportError(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e)return console.warn("Failed to report error: ReportError() was called without an error to report."),null;try{const n=Object.assign(Object.assign({},H),t);if(!this.m_bEnabled)return null;0;const i=yield function(e,t){try{return e.stack&&e.stack.match(K)?function(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){const{cCallsitesToIgnore:n,bIncludeMessageInIdentifier:r}=t,i=e.stack.split("\n");let o=q(i.filter((e=>!!e.match(K)))[n]);r&&(o=`${o} ${e.message}`);const a=i.map((e=>{const t=e.match(/(.*)\((.*):(\d+):(\d+)\)/);if(!t)return e;if(5===t.length){const[e,n,r,i,o]=t,a=parseInt(i),s=parseInt(o);if(!isNaN(a)&&!isNaN(s))return[n,r,a,s]}return e})).filter((e=>!!e));return{identifier:o,identifierHash:yield ee(o),message:a}}))}(e,t):e.stack&&e.stack.match(X)?function(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){const{cCallsitesToIgnore:n,bIncludeMessageInIdentifier:r}=t,i=e.stack.split("\n");let o=q(i.filter((e=>!!e.match(X)))[n]);r&&(o=`${o} ${e.message}`);const a=i.map((e=>{const t=e.match(/(.*@)?(.*):(\d+):(\d+)/);if(!t)return e;if(5===t.length){const[e,n,r,i,o]=t,a=parseInt(i),s=parseInt(o);if(!isNaN(a)&&!isNaN(s))return[n,r,a,s]}return e})).filter((e=>!!e));return{identifier:o,identifierHash:yield ee(o),message:[e.message,...a]}}))}(e,t):e.stack&&e.stack.match(Z)?function(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){const{bIncludeMessageInIdentifier:n,cCallsitesToIgnore:r}=t,i=e.stack.split("\n"),o=i[r],a=o.split("/");let s=a[a.length-1];o.indexOf("@")>-1&&(s=o.split("@")[0]+"@"+s),n&&(s=`${s} ${e.message}`);const l=i.map((e=>{const t=e.match(/(.*@)?(.*):(\d+):(\d+)/);if(!t)return e;if(5===t.length){const[e,n,r,i,o]=t,a=parseInt(i),s=parseInt(o);if(!isNaN(a)&&!isNaN(s))return[n,r,a,s]}return e})).filter((e=>!!e));return{identifier:s,identifierHash:yield ee(s),message:[e.message,...l]}}))}(e,t):(Y||(console.warn("Error reporter does not know how to parse generated stack:"),console.warn(e.stack),Y=!0),null)}catch(e){return console.warn(`Failed to normalize error stack: ${e}`),null}}(e,n);return i?(this.SendErrorReport(i),i):null}catch(e){return console.log(`Failed to report error: ${e}`),null}}))}BIsBlacklisted(e){for(let t of e.message){let n=JSON.stringify(t);for(let t of W){const r=new RegExp(t);if(n.match(r))return console.warn("Report",e,"matched regex",t),!0}}return!1}SendErrorReport(e){this.BIsBlacklisted(e)||(this.m_transport?this.QueueSend(e):this.m_rgErrorQueue.push(e))}QueueSend(e){this.m_rgErrorQueue.push(e),this.m_sendTimer||(this.m_sendTimer=window.setTimeout((()=>{this.SendErrorReports(this.m_rgErrorQueue),this.m_rgErrorQueue=[],this.m_sendTimer=null}),1e4))}SendErrorReports(e){if(!e||!e.length)return;const t=i.gA.Init(S),n=e.reduce(((e,t)=>(e[t.identifier]?e[t.identifier].count++:e[t.identifier]={report:t,count:1},e)),{}),r=Object.keys(n).map((e=>{const{report:t,count:r}=n[e],i=new y;return i.set_count(r),i.set_identifier(t.identifier+" "+t.identifierHash),i.set_message(JSON.stringify(t.message)),i}));t.Body().set_product(this.m_strProduct),t.Body().set_version(this.m_strVersion),t.Body().set_errors(r),L.ReportClientError(this.m_transport,t)}get version(){return this.m_strVersion}get product(){return this.m_strProduct}get reporting_enabled(){return U}}function z(e,...t){if("string"==typeof e&&0===t.length)return e;return[e,...t].map((e=>{try{return String(e)}catch(e){return"[Stringify Error]"}})).join(", ")}const K=/^\s*at .*(\S+:\d+|\(native\))/m,X=/(^|@)\S+:\d+/,Z=/.*\/bundle-[a-zA-Z0-9]+:\d+:\d+/;let $,Y=!1;function q(e){return function(e){const t="https://",n=e.indexOf(t);if(-1===n)return e;const r=e.indexOf("/",n+t.length);return-1===r?e:e.slice(0,n)+e.slice(r)}(function(e){const t=e.lastIndexOf("?");if(-1===t)return e;const n=e.indexOf(":",t);return-1===n?e:e.slice(0,t)+e.slice(n)}(e))}const Q=()=>($||J(new j),$),J=e=>{$=e,k.SV.InstallErrorReportingStore($),i.lq.InstallErrorReportingStore($),N.LJ.InstallErrorReportingStore($)};function ee(e){return(0,r.mG)(this,void 0,void 0,(function*(){try{const n=yield window.crypto.subtle.digest("SHA-256",function(e){const t=new ArrayBuffer(2*e.length),n=new Uint16Array(t);for(let t=0,r=e.length;t("00"+e.toString(16)).slice(-2))).join("")).slice(0,16)}catch(e){return""}var t}))}},72566:(e,t,n)=>{"use strict";n.d(t,{Ze:()=>c});var r=n(33940),i=n(89526),o=n(50265),a=n(78423),s=n(50454);n(4306),n(59983);new s.s("VR");class l{constructor(){this.m_mapAffordanceElems=new Map}Init(){var e,t,n,r,i,o,a,s,l;null===(t=null===(e=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===e?void 0:e.RegisterForVRHardwareDetected)||void 0===t||t.call(e,this.OnVRHardwareDetected),null===(r=null===(n=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===n?void 0:n.RegisterForVRModeChange)||void 0===r||r.call(n,this.OnVRModeChanged),null===(o=null===(i=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===i?void 0:i.RegisterForStartupErrors)||void 0===o||o.call(i,this.OnStartupError),null===(l=null===(a=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===a?void 0:(s=a.Keyboard).RegisterForStatus)||void 0===l||l.call(s,this.OnKeyboardStatus)}OnVRHardwareDetected(e,t,n){this.m_bHMDPresent=e,this.m_bHMDHardwareDetected=t,this.m_strHMDName=n}OnVRModeChanged(e){this.m_bIsVRRunning=e}OnStartupError(e,t,n){let r;e!=a.VR.wb.k_EVRError_None&&(r={eClient:e,eInit:t,strInit:n}),this.m_error=r}OnKeyboardStatus(e,t){this.m_eKeyboardFlags=t}get isVRHMDPresent(){return this.m_bHMDPresent||this.m_bHMDHardwareDetected}get isSteamVRRunning(){return this.m_bIsVRRunning}get VRKeyboardDisplayFlags(){return this.m_eKeyboardFlags}get error(){return this.m_error}ClearError(){this.m_error=void 0}SetInteractionAffordance(e,t,n){}}function c(e,t){const[n,r]=i.useState(),o=i.useRef();return o.current=t,i.useEffect((()=>{const t=()=>{var t,r,i;const s=o.current&&o.current();u.SetInteractionAffordance(n,e,s),2==e&&s&&(null===(i=null===(r=null===(t=null==n?void 0:n.ownerDocument.defaultView.SteamClient)||void 0===t?void 0:t.OpenVR)||void 0===r?void 0:r.TriggerOverlayHapticEffect)||void 0===i||i.call(r,a.VR.sH.ButtonEnter))},r=()=>{var t,r,i;u.SetInteractionAffordance(n,e,!1),2==e&&o.current&&o.current()&&(null===(i=null===(r=null===(t=null==n?void 0:n.ownerDocument.defaultView.SteamClient)||void 0===t?void 0:t.OpenVR)||void 0===r?void 0:r.TriggerOverlayHapticEffect)||void 0===i||i.call(r,a.VR.sH.ButtonLeave))};return null==n||n.addEventListener("mouseenter",t),null==n||n.addEventListener("mouseleave",r),()=>{null==n||n.removeEventListener("mouseenter",t),null==n||n.removeEventListener("mouseleave",r),u.SetInteractionAffordance(n,e,!1)}}),[n,e]),r}(0,r.gn)([o.LO],l.prototype,"m_bHMDPresent",void 0),(0,r.gn)([o.LO],l.prototype,"m_bHMDHardwareDetected",void 0),(0,r.gn)([o.LO],l.prototype,"m_strHMDName",void 0),(0,r.gn)([o.LO],l.prototype,"m_bIsVRRunning",void 0),(0,r.gn)([o.LO],l.prototype,"m_error",void 0),(0,r.gn)([o.LO],l.prototype,"m_eKeyboardFlags",void 0),(0,r.gn)([o.aD.bound],l.prototype,"OnVRHardwareDetected",null),(0,r.gn)([o.aD.bound],l.prototype,"OnVRModeChanged",null),(0,r.gn)([o.aD.bound],l.prototype,"OnStartupError",null),(0,r.gn)([o.aD.bound],l.prototype,"OnKeyboardStatus",null),(0,r.gn)([o.aD.bound],l.prototype,"ClearError",null);const u=new l;window.vrStore=u},82988:(e,t,n)=>{"use strict";n.d(t,{G:()=>a,m:()=>o});var r=n(89526),i=n(32765);class o extends r.Component{render(){if("dev"!==i.De.WEB_UNIVERSE)return null;let e=document.getElementById(this.props.strConfigID);if(!e)return null;let t=new Array;return e.getAttributeNames().forEach((n=>{n.toLocaleLowerCase().startsWith("data-")&&(t.push(r.createElement("h1",{key:"header-"+n},n)),t.push(r.createElement(a,{key:"body-"+n,data:JSON.parse(e.getAttribute(n))})))})),r.createElement("div",null,t)}}class a extends r.Component{render(){return r.createElement("div",null,r.createElement("pre",null,JSON.stringify(this.props.data,null,2)))}}},69159:(e,t,n)=>{"use strict";n.d(t,{Td:()=>M,xV:()=>R,Yr:()=>I,Zo:()=>D,D1:()=>B,Vc:()=>F,Wn:()=>O,T:()=>L});var r=n(33940),i=n(88464),o=n(89526),a=n(40103),s=n(44026),l=n(51438),c=n(16221),u=n(58123);n(8179);const d=Object.seal({onMoveUp:m,onMoveDown:m});Object.seal({onMoveRight:m,onMoveLeft:m});function m(e,t){if(e.is_repeat)return!1;const n=t.GetRelativeDirection(e.button);return n==c.zE.FORWARD?t.BFocusFirstChild(u.uS.GAMEPAD):n==c.zE.BACKWARD&&t.BFocusLastChild(u.uS.GAMEPAD)}var h=n(16383),p=n(34433),_=n(76476),g=(n(99307),n(57742),n(701)),f=n(19304),v=n(37377),C=n(60161),E=n(14826),b=n(4306),w=n(32765),S=n(27713),y=n.n(S);const I=(0,h.Yt)("ContextMenuInstanceContext",(()=>o.createContext(null)));let R=class extends o.Component{constructor(){super(...arguments),this.m_navRef=(0,s.Hy)(),this.m_divRef=o.createRef()}get instance(){return this.context.instance}componentDidMount(){var e;this.instance.SetLabel(this.props.label),null===(e=this.m_navRef.current)||void 0===e||e.TakeFocus(),(0,b.k$)(this.props.refInstance,this.instance)}componentDidUpdate(e){e.label!==this.props.label&&this.context&&this.instance.SetLabel(this.props.label)}HideIfSubmenu(){return!!this.instance.BIsSubMenu()&&(this.instance.HideSelf(),!0)}HideMenu(){return this.instance.BIsSubMenu()?this.instance.HideSelf():this.instance.Hide(),!0}render(){var e;let t=this.props,{children:n,className:i,label:a,onCancel:s,cancelText:u,refInstance:m,bForceDesktopPresentation:h}=t,p=(0,r._T)(t,["children","className","label","onCancel","cancelText","refInstance","bForceDesktopPresentation"]);const _=null!==(e=this.context.styles)&&void 0!==e?e:y();let g=null!=u?u:"#Button_Cancel";if(1!=this.context.presentation||h)return o.createElement("div",Object.assign({},p,{ref:this.m_divRef,className:(0,f.Z)({[_.contextMenuContents]:!0,[_.hasSubMenu]:this.instance.BIsSubMenuVisible(),[_.ForceDesktop]:h},i)}),n);{const e=()=>{s&&s(),this.instance.Hide()};return o.createElement(l.s,Object.assign({},p,{className:(0,f.Z)(_.contextMenuContents,{[_.hasSubMenu]:this.instance.BIsSubMenuVisible()},i),"flow-children":"column",onMoveLeft:this.HideIfSubmenu,onCancel:this.instance.BIsSubMenu()?this.HideMenu:e,style:{overflowY:this.instance.BIsSubMenuVisible()?"hidden":void 0},navEntryPreferPosition:c.c4.PREFERRED_CHILD,navRef:this.m_navRef,ref:this.m_divRef},d),n,!this.instance.BIsSubMenu()&&o.createElement(o.Fragment,null,o.createElement(T,null),o.createElement(D,{className:_.Cancel,onSelected:e},(0,E.Xx)(g))),this.instance.BIsSubMenuVisible()&&o.createElement("div",{className:_.contextMenuFade,onClick:()=>this.instance.HideSubMenu()}))}}};R.contextType=I,(0,r.gn)([b.ak],R.prototype,"HideIfSubmenu",null),(0,r.gn)([b.ak],R.prototype,"HideMenu",null),R=(0,r.gn)([i.Pi],R);class D extends o.PureComponent{constructor(){super(...arguments),this.m_ref=o.createRef(),this.m_refDiv=o.createRef()}get element(){return this.m_refDiv.current}get instance(){return this.context.instance}OnClick(e){var t;this.props.disabled?(null===(t=this.context.callbacks)||void 0===t?void 0:t.onDisabledItemSelected)&&this.context.callbacks.onDisabledItemSelected():(this.props.onClick&&this.props.onClick(e),this.props.bInteractableItem||(this.props.onSelected&&this.props.onSelected(e),this.context&&this.instance.ForceHide()))}OnOKButton(e){this.m_refDiv.current.click()}OnMouseEnter(e){0==this.context.presentation&&this.instance.HideSubMenu()}Focus(){this.m_ref.current?this.m_ref.current.TakeFocus():this.m_refDiv.current&&this.m_refDiv.current.focus()}render(){var e,t;const n=this.props,{onSelected:i,bInteractableItem:a,onMoveRight:s}=n,c=(0,r._T)(n,["onSelected","bInteractableItem","onMoveRight"]),u=null!==(t=null===(e=this.context)||void 0===e?void 0:e.styles)&&void 0!==t?t:y();return 1==this.context.presentation?o.createElement(l.s,Object.assign({noFocusRing:!0,preferredFocus:this.props.selected,ref:this.m_refDiv,navRef:this.m_ref,onMouseEnter:this.OnMouseEnter},c,{className:(0,f.Z)(this.props.className,u.contextMenuItem,"contextMenuItem",this.props.disabled&&"disabled",this.props.selected&&u.Selected,"positive"==this.props.tone&&u.Positive,"emphasis"==this.props.tone&&u.Emphasis,"destructive"==this.props.tone&&u.Destructive),focusClassName:u.Focused,onClick:this.props.disabled?void 0:this.OnClick,focusable:!this.props.disabled,onOKButton:this.OnOKButton,onMoveRight:s,unselectable:this.props.unselectable}),this.props.children):o.createElement(_.s,Object.assign({ref:this.m_refDiv,onMouseEnter:this.OnMouseEnter},c,{onClick:this.OnClick,unselectable:this.props.unselectable,className:this.props.className}),this.props.children)}}D.contextType=I,(0,r.gn)([b.ak],D.prototype,"OnClick",null),(0,r.gn)([b.ak],D.prototype,"OnOKButton",null),(0,r.gn)([b.ak],D.prototype,"OnMouseEnter",null),(0,r.gn)([b.ak],D.prototype,"Focus",null);class M extends o.PureComponent{render(){const e=this.props,{bChecked:t,children:n,className:i}=e,a=(0,r._T)(e,["bChecked","children","className"]);return o.createElement(D,Object.assign({},a,{className:(0,f.Z)(i,t&&"menuChecked")}),o.createElement("div",{className:"contextMenuCheckMark"}),n)}}o.PureComponent;function T(e){var t;const n=null!==(t=o.useContext(I).styles)&&void 0!==t?t:y();return o.createElement("div",{className:n.ContextMenuSeparator})}const B=e=>{const t=(0,w.id)();return o.createElement(A,Object.assign({},e,{bInGamepadUI:t}))};class A extends o.PureComponent{constructor(e){super(e),this.m_refItem=o.createRef(),this.state={bActive:!1}}get instance(){return this.context.instance}OnSubMenuMouseEnter(){this.instance.CancelHideSubMenuTimer()}OnSubMenuHidden(){this.setState({bActive:!1}),this.props.bInGamepadUI&&1==this.context.presentation&&this.m_refItem.current&&this.m_refItem.current.Focus()}ShowSubMenu(e){const t=e||this.m_refItem.current.element;let n=this.instance.ShowSubMenu(t,this.RenderSubMenu);return!!n&&(this.setState({bActive:!0}),n.SetOnHideCallback(this.OnSubMenuHidden),!0)}RenderSubMenu(){return o.createElement(R,{onMouseEnter:this.OnSubMenuMouseEnter,label:this.props.label},this.props.children)}OnMouseEnter(e){0==this.context.presentation&&this.ShowSubMenu(e.currentTarget)}OnClick(e){this.OnMouseEnter(e),this.props.onClick&&this.props.onClick(e),this.props.bInGamepadUI&&1==this.context.presentation&&this.ShowSubMenu(e.currentTarget)}render(){var e;let t=this.props,{label:n,selectedWithin:i,children:a,className:s,bInGamepadUI:l}=t,c=(0,r._T)(t,["label","selectedWithin","children","className","bInGamepadUI"]);const u=null!==(e=this.context.styles)&&void 0!==e?e:y();return o.createElement(D,Object.assign({},c,{ref:this.m_refItem,onClick:this.OnClick,selected:i&&!this.state.bActive,className:(0,f.Z)(s,u.SubMenu,this.state.bActive&&u.active),onMouseEnter:this.OnMouseEnter,onSelected:null,bInteractableItem:!0,onMoveRight:()=>this.ShowSubMenu()}),o.createElement("div",{className:u.Label},n),o.createElement("div",{className:u.Arrow},o.createElement(g.$gZ,null)))}}A.contextType=I,(0,r.gn)([b.ak],A.prototype,"OnSubMenuMouseEnter",null),(0,r.gn)([b.ak],A.prototype,"OnSubMenuHidden",null),(0,r.gn)([b.ak],A.prototype,"ShowSubMenu",null),(0,r.gn)([b.ak],A.prototype,"RenderSubMenu",null),(0,r.gn)([b.ak],A.prototype,"OnMouseEnter",null),(0,r.gn)([b.ak],A.prototype,"OnClick",null);let O=class extends o.Component{constructor(e){super(e),this.m_elMenu=void 0,this.m_cReenteranceGuard=1,this.state={ready:!1,menuLeft:void 0,menuTop:void 0,menuRight:void 0,menuBottom:void 0,menuWidth:void 0,menuHeight:void 0,menuMinWidth:void 0},this.m_mutationObserver=new MutationObserver(this.OnMenuMutation)}get parentWin(){var e;return(null===(e=this.props.element)||void 0===e?void 0:e.ownerDocument.defaultView)||this.props.parentWin}BindMenuElement(e){this.props.instance.SetElement(e),this.m_elMenu&&(this.m_mutationObserver.disconnect(),this.props.popup&&!this.props.options.bScreenCoordinates||this.m_elMenu.ownerDocument.defaultView.removeEventListener("resize",this.OnWindowResize)),e&&(this.m_mutationObserver.observe(e,{childList:!0,subtree:!0}),this.props.popup&&!this.props.options.bScreenCoordinates||e.ownerDocument.defaultView.addEventListener("resize",this.OnWindowResize)),this.m_elMenu=e||void 0,w.De.IN_CLIENT&&this.props.popup&&this.m_elMenu?this.m_elMenu.ownerDocument.fonts.ready.then((()=>{this.PositionMenu()})):this.PositionMenu(),this.state.ready||(this.props.instance.SetTakeFocus(this.TakeFocus.bind(this)),this.setState({ready:!0},(()=>{this.TakeFocus()})))}OnMenuMutation(e,t){this.PositionMenu()}OnWindowResize(){this.PositionMenu()}OnBlur(e){if((!e.relatedTarget||!C.ni(e.currentTarget,e.relatedTarget))&&(!e.relatedTarget||!this.props.instance.BIsElementInMenuHierarchy(e.relatedTarget))&&!this.props.instance.BIsSubMenuVisible()&&this.state.ready&&this.props.instance.visible){const e=N()?150:0;this.props.instance.Hide(e)}}OnKeyDown(e){27==e.keyCode&&this.state.ready&&(this.props.instance.Hide(),e.preventDefault(),e.stopPropagation())}componentDidUpdate(){this.m_cReenteranceGuard-- >0?this.PositionMenu():this.m_cReenteranceGuard=2}TakeFocus(){if(this.m_elMenu&&this.state.ready&&this.props.instance.visible&&(this.props.popup||!C.ni(this.m_elMenu,this.m_elMenu.ownerDocument.activeElement))){let e=this.m_elMenu.querySelector(".ContextMenuAutoFocus");e&&e.focus?e.focus():this.m_elMenu.focus()}}PositionMenu(e=!1){const t=this.props.options;let n=this.m_elMenu,r=this.props.element;if(!n)return;let i=null!=this.props.popup,o=this.parentWin;if(!o||r&&"none"===o.getComputedStyle(r).display)return;let a=this.props.clientX,s=this.props.clientY,l=0,c=0,u=o.innerWidth,d=o.innerHeight,m=1,h=null==r?void 0:r.getBoundingClientRect();if(i)if(t.bScreenCoordinates||(a+=o.screenLeft,s+=o.screenTop),h&&(h=C.sH(o,h)),t.targetMonitor)m=t.targetMonitor.flMonitorScale,l=t.targetMonitor.nScreenLeft,c=t.targetMonitor.nScreenTop,u=t.targetMonitor.nScreenWidth,d=t.targetMonitor.nScreenHeight;else{let e=o.screen,t=0,n=0;e.availLeft&&(t=e.availLeft),e.availTop&&(n=e.availTop),l=t,c=n,u=e.availWidth,d=e.availHeight}(t.bOverlapHorizontal||t.bOverlapVertical)&&(a=s=void 0);let p=n.getBoundingClientRect();if(t.flGamepadScale>0){const e=t.flGamepadScale;p=new DOMRect(p.x*e,p.y*e,p.width*e,p.height*e)}let _={menuLeft:void 0,menuRight:void 0,menuTop:void 0,menuBottom:void 0,menuWidth:void 0,menuHeight:void 0,menuMinWidth:void 0},g=null!=a?a:h.left,f=null!=a?a:h.right,v=p.width;t.bMatchWidth&&(v=f-g,_.menuWidth=v),t.bGrowToElementWidth&&(_.menuMinWidth=Math.max(v,f-g));let E=(t.bOverlapHorizontal?f:g)-l-v,b=E>0,w=l+u-(t.bOverlapHorizontal?g:f)-v,S=w>0,y=(t.bPreferPopLeft||!S)&&b;b||S||(y=b>S,t.bFitToWindow&&(v+=(y?E:w)-8,_.menuWidth=v)),y?_.menuRight=u-(t.bOverlapHorizontal?f:g):_.menuLeft=t.bOverlapHorizontal?g:f;let I=null!=s?s:h.top,R=null!=s?s:h.bottom,D=n.scrollHeight;t.bMatchHeight&&(D=R-I,_.menuHeight=D);let M=(t.bOverlapVertical?R:I)-c-D,T=M>0,B=c+d-(t.bOverlapVertical?I:R)-D,A=B>0,O=(t.bPreferPopTop||!A)&&T&&!t.bDisablePopTop;if(!T&&!A){const e=void 0!==t.bShiftToFitWindow?t.bShiftToFitWindow:t.bFitToWindow&&!t.bOverlapHorizontal;O=M>B&&!t.bDisablePopTop,e&&(O?_.menuTop=4:_.menuBottom=4),t.bFitToWindow&&(e?D=Math.min(D,d-8):D+=O?M:B,_.menuHeight=D-8)}void 0===_.menuBottom&&void 0===_.menuTop&&(O?_.menuBottom=d-(t.bOverlapVertical?R:I):_.menuTop=t.bOverlapVertical?I:R),i?(_.menuHeight||(_.menuHeight=p.height),_.menuWidth||(_.menuWidth=p.width),_.menuBottom&&!_.menuTop&&(_.menuTop=d-_.menuBottom-_.menuHeight,_.menuBottom=void 0),_.menuRight&&!_.menuLeft&&(_.menuLeft=u-_.menuRight-_.menuWidth,_.menuRight=void 0)):(_.menuLeft&&(_.menuLeft+=o.scrollX),_.menuTop&&(_.menuTop+=o.scrollY),_.menuBottom&&(_.menuBottom+=o.document.body.clientHeight-o.scrollY-o.innerHeight),_.menuRight&&(_.menuRight+=o.document.body.clientWidth-o.scrollX-o.innerWidth)),(e||_.menuLeft!==this.state.menuLeft||_.menuRight!==this.state.menuRight||_.menuTop!==this.state.menuTop||_.menuBottom!==this.state.menuBottom||_.menuWidth!==this.state.menuWidth||_.menuHeight!==this.state.menuHeight)&&this.setState(_)}PositionPopupWindow(){if(!(void 0!==this.state.menuLeft&&void 0!==this.state.menuTop&&void 0!==this.state.menuWidth&&void 0!==this.state.menuHeight))return;const e=this.props.popup.window,t=this.props.options;if(t.bScreenCoordinates){let n=this.parentWin.devicePixelRatio;if(t.targetMonitor){let e=t.flGamepadScale||1;n=t.targetMonitor.flMonitorScale/e}return e.SteamClient.Window.MoveTo(this.state.menuLeft,this.state.menuTop,n),void e.SteamClient.Window.ResizeTo(this.state.menuWidth,this.state.menuHeight,n)}this.parentWin.SteamClient.Window.GetWindowRestoreDetails((t=>{const n=this.state.menuLeft-this.parentWin.screenX,r=this.state.menuTop-this.parentWin.screenY;try{e.SteamClient.Window.PositionWindowRelative(t,n,r,this.state.menuWidth,this.state.menuHeight)}catch(e){console.error(e)}}))}render(){var e,t;let n={visibility:this.state.ready?"visible":"hidden"};if(this.props.options.flGamepadScale>0)n.zoom=this.props.options.flGamepadScale;else if(this.props.options.bScreenCoordinates&&this.props.options.targetMonitor&&(null===(t=null===(e=this.m_elMenu)||void 0===e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)){const e=this.m_elMenu.ownerDocument.defaultView.devicePixelRatio;1!=e&&(n.zoom=this.props.options.targetMonitor.flMonitorScale/e)}this.props.popup?(this.PositionPopupWindow(),void 0!==this.state.menuMinWidth&&(n.minWidth=this.state.menuMinWidth)):(void 0!==this.state.menuTop?n.top=this.state.menuTop:void 0!==this.state.menuBottom&&(n.bottom=this.state.menuBottom),void 0!==this.state.menuLeft?n.left=this.state.menuLeft:void 0!==this.state.menuRight&&(n.right=this.state.menuRight),void 0!==this.state.menuHeight&&(n.height=this.state.menuHeight),void 0!==this.state.menuWidth&&(n.width=this.state.menuWidth),void 0!==this.state.menuMinWidth&&(n.minWidth=this.state.menuMinWidth));let r=this.props.options.strClassName||y().contextMenu;return(this.props.options.bCreateHidden||this.props.instance.visible&&this.state.ready)&&(r+=" visible"),r+=" "+y().ContextMenuFocusContainer,o.createElement("div",{className:r,ref:this.BindMenuElement,style:n,onBlur:this.OnBlur,onKeyDown:this.OnKeyDown,tabIndex:0},this.props.children)}};function F(e){return o.createElement("div",{className:y().ContextMenuMouseOverlay})}function L(e){let t=[],n=C.RA(e),r=n.getSelection(),i=r&&r.rangeCount>0&&r.toString().length>0,s=e.target,l=!1;const c=e.clientY,u=e.clientX;if(s&&"tagName"in s&&("INPUT"!=s.tagName&&"TEXTAREA"!=s.tagName||(l=!0)),w.De.IN_CLIENT&&l&&n.SteamClient._internal&&n.SteamClient._internal.GetSpellingSuggestions&&n.SteamClient._internal.AddWordToDictionary){let[e,...r]=n.SteamClient._internal.GetSpellingSuggestions(),i=s;if(i&&r.forEach(((e,r)=>{t.push(o.createElement(D,{key:`spelling_${r}_${e}`,onSelected:()=>{i.setRangeText(e),function(e,t){let n=t.createEvent("HTMLEvents");n.initEvent("change",!0,!1),e.dispatchEvent(n)}(i,n.document),i.setSelectionRange(i.selectionEnd,i.selectionEnd),s.focus()},className:y().NoSeparation},e))})),e){const r=30;e=e.trim(),t.push(o.createElement(D,{key:`addtodictionary_${e}`,onSelected:()=>n.SteamClient._internal.AddWordToDictionary(e)},(0,E.Xx)("#ContextMenu_AddToDictionary",e.length{n.document.execCommand("cut")}},(0,E.Xx)("#ContextMenu_Cut"))),(n.document.queryCommandEnabled("copy")||i)&&t.push(o.createElement(D,{key:"copy",onSelected:()=>{n.document.execCommand("copy")},className:y().NoSeparation},(0,E.Xx)("#ContextMenu_Copy"))),w.De.IN_CLIENT&&l&&n.SteamClient._internal&&n.SteamClient._internal.Paste&&t.push(o.createElement(D,{key:"paste",onSelected:()=>{s.focus(),n.SteamClient._internal.Paste()},className:y().NoSeparation},(0,E.Xx)("#ContextMenu_Paste"))),w.De.IN_CLIENT&&w.De.DEV_MODE&&(t.length>0&&((0,p.U5)("Browser.OpenDevTools")||(0,p.U5)("Browser.InspectElement"))&&t.push(o.createElement(T,{key:"devtools-separator"})),(0,p.U5)("Browser.OpenDevTools")&&t.push(o.createElement(D,{key:"opendevtools",onSelected:()=>{s.focus(),n.SteamClient.Browser.OpenDevTools()},className:y().AddSeparator},"Open Dev Tools")),(0,p.U5)("Browser.InspectElement")&&t.push(o.createElement(D,{key:"inspectelement",onSelected:()=>{s.focus(),n.SteamClient.Browser.InspectElement(c,u)},className:y().NoSeparation},"Inspect Element"))),t.length)(0,a.yV)(o.createElement(R,null,t),e,{bRootContextMenu:!0});else{if(e.shiftKey)return;e.preventDefault(),e.stopPropagation()}}(0,r.gn)([b.ak],O.prototype,"BindMenuElement",null),(0,r.gn)([b.ak,(0,v.D)(100)],O.prototype,"OnMenuMutation",null),(0,r.gn)([b.ak],O.prototype,"OnWindowResize",null),(0,r.gn)([b.ak],O.prototype,"OnBlur",null),(0,r.gn)([b.ak],O.prototype,"OnKeyDown",null),O=(0,r.gn)([i.Pi],O);const k="EnableContextMenuBlurDelay3";function N(){return"true"===(window.localStorage&&window.localStorage.getItem(k))}},76476:(e,t,n)=>{"use strict";n.d(t,{P:()=>c,s:()=>l});var r=n(33940),i=n(89526),o=n(19304),a=n(27713),s=n.n(a);const l=i.forwardRef(((e,t)=>{const{className:n,contextMenuStyles:a,disabled:l}=e,c=(0,r._T)(e,["className","contextMenuStyles","disabled"]);return i.createElement("div",Object.assign({},c,{ref:t,className:(0,o.Z)(n,(a||s()).contextMenuItem,"contextMenuItem",l&&"disabled")}))}));function c(e){const{bChecked:t,children:n,className:a}=e,s=(0,r._T)(e,["bChecked","children","className"]);return i.createElement(l,Object.assign({},s,{className:(0,o.Z)(a,t&&"menuChecked")}),i.createElement("div",{className:"contextMenuCheckMark"}),n)}},57605:(e,t,n)=>{"use strict";n.d(t,{E0:()=>Je,iN:()=>V,uT:()=>I,V5:()=>R,Ac:()=>y,zx:()=>k,ji:()=>U,VY:()=>T,oX:()=>O,Vh:()=>Ye,RD:()=>d,TW:()=>be,ry:()=>fe,lm:()=>Ie,gN:()=>rt,$_:()=>w,ZY:()=>xt,vY:()=>st,Co:()=>_t,gB:()=>mt,Eb:()=>pt,jT:()=>qt,z2:()=>Ot,hQ:()=>Lt,fp:()=>kt,h4:()=>E,II:()=>Q,BW:()=>he,V$:()=>me,__:()=>S,o9:()=>x,$0:()=>P,KM:()=>L,EU:()=>se,SY:()=>ae,BQ:()=>H,DS:()=>te,Yz:()=>N,bU:()=>b,gE:()=>W,Uq:()=>D,uV:()=>ee});var r=n(33940),i=n(89526),o=n(44026),a=n(51438),s=n(701),l=n(19304),c=n(14826),u=n(26464);const d=(0,n(16383).Yt)("DialogPresentationContext",(()=>i.createContext({}))),m=()=>i.useContext(d);var h=n(39884),p=n(78003),_=n.n(p);const g=e=>{const t=m();return i.createElement(h.T,Object.assign({component:null==t?void 0:t.ToggleControl,fallback:f},e))},f=e=>{const{value:t,onChange:n,disabled:r}=e;return i.createElement("div",{className:(0,l.Z)(_().Toggle,r&&_().Disabled),onClick:()=>!r&&n&&n(!t)},i.createElement("div",{className:_().ToggleRail}),i.createElement("div",{className:(0,l.Z)(_().ToggleRail,_().Highlight,t?_().On:_().Off)}),i.createElement("div",{className:(0,l.Z)(_().ToggleSwitch,t?_().On:_().Off)}))};function v(e){return i.forwardRef(((t,n)=>i.createElement("div",Object.assign({},t,{className:(0,l.Z)(e,t.className),ref:n}))))}function C(e){return i.forwardRef((function(t,n){return i.createElement(a.s,Object.assign({},t,{className:(0,l.Z)(e,t.className),ref:n}))}))}let E=v("DialogHeader"),b=v("DialogSubHeader"),w=v("DialogFooter"),S=v("DialogLabel _DialogLayout"),y=v("DialogBodyText"),I=v("DialogBody"),R=C("DialogBody"),D=(v("DialogInnerBody"),v("DialogControlsSection"),v("DialogControlsSectionHeader"),C("DialogTwoColLayout _DialogColLayout")),M=C("DialogThreeColLayout _DialogColLayout");C("DialogTwoThirdColLayout _DialogColLayout"),v("DialogColumn _DialogLayout");function T(e){const t=m().Content||B;return i.createElement(t,Object.assign({},e))}function B(e){let{children:t,bCenterVertically:n}=e,o=(0,r._T)(e,["children","bCenterVertically"]),a="DialogContent _DialogLayout"+(e.className?" "+e.className:"");return n&&(a+=" _DialogCenterVertically"),i.createElement("div",Object.assign({},o,{className:a}),i.createElement("div",{className:"DialogContent_InnerWidth"},t))}class A extends i.Component{OnSubmit(e){e.preventDefault(),this.props.onSubmit&&this.props.onSubmit(e)}render(){return i.createElement("form",Object.assign({},this.props,{onSubmit:this.OnSubmit}))}}function O(e){const{classNameContent:t,bCenterVertically:n}=e,o=(0,r._T)(e,["classNameContent","bCenterVertically"]);return i.createElement(T,{className:t,bCenterVertically:n},i.createElement(A,Object.assign({},o)))}(0,r.gn)([u.a],A.prototype,"OnSubmit",null);const F=i.forwardRef((function(e,t){const n=m(),{svgicon:a}=e,s=(0,r._T)(e,["svgicon"]),c=(0,l.Z)(e.className,void 0!==a&&"hasSVGIcon",s.disabled&&"Disabled",n.strButtonClassName),u=e=>s.disabled||!e?null:t=>{t.stopPropagation(),e(t)};return i.createElement(o.wl,Object.assign({ref:t,onOKActionDescription:s.disabled?null:void 0,noFocusRing:!0},s,{className:c,disabled:!1,onClick:u(s.onClick),onPointerDown:u(s.onPointerDown),onPointerUp:u(s.onPointerUp),onPointerCancel:u(s.onPointerCancel),onMouseDown:u(s.onMouseDown),onMouseUp:u(s.onMouseUp),onTouchStart:u(s.onTouchStart),onTouchEnd:u(s.onTouchEnd),onTouchCancel:u(s.onTouchCancel),onSubmit:u(s.onSubmit)}),a&&a(),e.children)})),L=i.forwardRef((function(e,t){return i.createElement(F,Object.assign({preferredFocus:!0,type:e.onClick?"button":"submit"},e,{ref:t,className:(0,l.Z)(e.className,"DialogButton","_DialogLayout","Primary")}))})),k=i.forwardRef((function(e,t){return i.createElement(F,Object.assign({type:"button"},e,{ref:t,className:(0,l.Z)(e.className,"DialogButton","_DialogLayout","Secondary")}))})),N=i.forwardRef((function(e,t){return i.createElement(F,Object.assign({type:"button"},e,{ref:t,className:(0,l.Z)(e.className,"DialogButton _DialogLayout Small")}))}));i.forwardRef((function(e,t){return i.createElement(F,Object.assign({type:"button"},e,{ref:t,className:(0,l.Z)(e.className,"TextButton")}))}));function x(e){return i.createElement(D,null,i.createElement(L,{onClick:e.onOK,disabled:e.bOKDisabled,autoFocus:"primary"==e.focusButton},e.strOKText||(0,c.Xx)("#Button_Confirm")," "),i.createElement(k,{onClick:e.onCancel,disabled:e.bCancelDisabled,autoFocus:"secondary"==e.focusButton},e.strCancelText||(0,c.Xx)("#Button_Cancel")))}function P(e){const t=e.bOKDisabled?k:L,n=e.bOKDisabled?L:k;return i.createElement(M,null,i.createElement(t,{onClick:e.onOK,disabled:e.bOKDisabled},e.strOKText||(0,c.Xx)("#Button_Confirm")," "),i.createElement(n,{onClick:e.onUpdate,disabled:e.bUpdateDisabled},e.strUpdateText||(0,c.Xx)("#Button_Update")," "),i.createElement(k,{onClick:e.onCancel,disabled:e.bCancelDisabled},e.strCancelText||(0,c.Xx)("#Button_Cancel")))}class V extends i.Component{constructor(e){super(e),this.state={checked:e.checked,disabled:e.disabled}}componentDidUpdate(e){this.props.controlled||e.checked!=this.props.checked&&this.props.checked!=this.state.checked&&this.setState({checked:this.props.checked}),e.disabled!=this.props.disabled&&this.props.disabled!=this.state.disabled&&this.setState({disabled:this.props.disabled})}shouldComponentUpdate(e,t){return e.label!=this.props.label||e.description!=this.props.description||e.onChange!=this.props.onChange||e.controlled!=this.props.controlled||e.disabled!=this.props.disabled||t.disabled!=this.state.disabled||e.checked!=this.checked||t.checked!=this.state.checked}get checked(){return this.props.controlled?this.props.checked:this.state.checked}GetPanelElementProps(){const e=this.props,{onChange:t,checked:n,label:i,description:o,tabIndex:a,disabled:s,className:l,tooltip:c,color:u,highlightColor:d,bottomSeparator:m,controlled:h}=e,p=(0,r._T)(e,["onChange","checked","label","description","tabIndex","disabled","className","tooltip","color","highlightColor","bottomSeparator","controlled"]);return Object.assign(Object.assign({},p),{tabIndex:a||0,onActivate:this.Toggle,onKeyDown:this.KeyDown})}Toggle(){if(this.props.disabled)return;let e=!this.checked;this.props.controlled||this.setState({checked:e}),this.props.onChange&&this.props.onChange(e)}KeyDown(e){32==e.keyCode&&(this.Toggle(),e.preventDefault(),e.stopPropagation())}SetChecked(e,t){this.setState({checked:e}),t&&this.props.onChange&&this.props.onChange(e)}}(0,r.gn)([u.a],V.prototype,"Toggle",null),(0,r.gn)([u.a],V.prototype,"KeyDown",null),(0,r.gn)([u.a],V.prototype,"SetChecked",null);class G extends V{render(){let e="DialogCheckbox"+(this.checked?" Active":"");return 1==this.state.disabled&&(e+=" Disabled"),this.props.label?i.createElement(a.s,Object.assign({className:"DialogCheckbox_Container _DialogLayout "+(this.props.className?this.props.className:"")},this.GetPanelElementProps()),i.createElement("div",{className:e},i.createElement(s.mKE,{color:this.props.color,highlightColor:this.props.highlightColor})),i.createElement("div",{className:"DialogToggle_Label"},"string"==typeof this.props.label&&i.createElement("span",null,this.props.label),"string"!=typeof this.props.label&&this.props.label,this.props.tooltip&&i.createElement("span",{"data-tooltip-text":this.props.tooltip}," (?)")),i.createElement("div",{style:{clear:"left"}}),this.props.description&&i.createElement("div",{className:"DialogToggle_Description"},this.props.description)):i.createElement(a.s,Object.assign({className:e},this.GetPanelElementProps()),i.createElement(s.mKE,null))}}class U extends V{render(){return i.createElement(h.T,Object.assign({fallback:G},this.props))}}U.contextType=d;class H extends V{render(){let e=this.checked?" Active":"";return i.createElement(a.s,Object.assign({className:(0,l.Z)("DialogRoundCheckboxField_Container",this.props.className,this.props.label?"WithLabel":"")},this.GetPanelElementProps()),i.createElement("div",{className:"DialogRoundCheckboxField"},i.createElement("div",{className:"DialogRoundCheckboxField_Control"+e},i.createElement("div",{className:"DialogRoundCheckboxField_OuterCircle"},i.createElement("div",{className:"DialogRoundCheckboxField_InnerCircle"})))),this.props.label&&i.createElement("div",{className:"DialogToggle_Label"},i.createElement("span",null,this.props.label),this.props.tooltip&&i.createElement("span",{"data-tooltip-text":this.props.tooltip}," (?)")))}}const W=i.forwardRef((function(e,t){const n=m();return i.createElement(h.T,Object.assign({component:n.ToggleField,fallback:j,componentRef:t},e))}));class j extends V{OnOffKeyDown(e){37==e.keyCode&&this.checked||39==e.keyCode&&!this.checked?(this.Toggle(),e.preventDefault(),e.stopPropagation()):this.KeyDown(e)}OnNewUIToggle(e){e!==this.checked&&this.Toggle()}render(){let e="DialogToggleField _DialogInputContainer _DialogLayout "+(this.props.className?this.props.className:"");return this.props.disabled&&(e+=" Disabled"),i.createElement("div",{className:e,tabIndex:this.props.tabIndex||0,onKeyDown:this.OnOffKeyDown},i.createElement("div",{className:"displayColumn alignSelfCenter"},i.createElement("div",{className:"DialogToggle_Label"},i.createElement("span",null,this.props.label),this.props.tooltip&&i.createElement("span",{"data-tooltip-text":this.props.tooltip}," (?)")),this.props.description&&i.createElement("div",{className:"DialogToggle_Description"},this.props.description),this.props.children),this.props.useToggleRail?i.createElement("div",{className:"DialogToggleField_NewUIContainer"},i.createElement(g,{onChange:this.OnNewUIToggle,value:this.checked})):i.createElement("div",{className:"DialogToggleField_Control",onClick:this.Toggle},i.createElement(a.s,{className:"DialogToggleField_OptionPanel",onOKButton:this.Toggle},i.createElement("div",{className:"DialogToggleField_Option Off"+(this.checked?"":" Active")},(0,c.Xx)("#Dialog_Off")),i.createElement("div",{className:"DialogToggleField_Option On"+(this.checked?" Active":"")},(0,c.Xx)("#Dialog_On")))))}}(0,r.gn)([u.a],j.prototype,"OnOffKeyDown",null),(0,r.gn)([u.a],j.prototype,"OnNewUIToggle",null);var z=n(4306),K=n(73961),X=n(60161),Z=n(60729);class $ extends Z.Rq{constructor(e,t,n){super(X.kR(K.findDOMNode(e)),n),this.m_props={},this.m_component=e,this.m_propTargets=t,this.m_setStateOnComplete=n.setStateOnComplete}Start(){this.m_props={};for(let e in this.m_propTargets){let t=parseFloat(this.m_component.state[e])||0,n=this.m_propTargets[e];t!=n&&(this.m_props[e]={start:t,end:n})}super.Start()}Update(e){let t={};for(let n in this.m_props){let r=this.m_props[n],i=r.start+(r.end-r.start)*e;t[n]=i}this.m_component.setState(t)}FireOnComplete(){super.FireOnComplete(),this.m_setStateOnComplete&&this.m_component.setState(this.m_setStateOnComplete)}}var Y=n(23801);const q=i.forwardRef((function(e,t){const n=m();return i.createElement(h.T,Object.assign({component:null==n?void 0:n.InputElement,fallback:o.bX},e,{componentRef:t}))}));class Q extends i.PureComponent{constructor(e){super(e),this.CheckProps(e),this.state={m_CopiedYPos:0,m_bPlayingCopiedAnimation:!1,m_bCompletedCopiedAnimation:!1,m_bNumberBelowMinRange:!1,m_bNumberAboveMaxRange:!1,m_bIsNotNumeric:!1,m_bIsInvalidURL:!1,m_bIsInvalidEmail:!1,m_bAboveMaxChars:!1}}componentDidUpdate(e){this.CheckProps(this.props)}OnInputRef(e){this.m_elInput=e,this.m_elInput&&this.props.focusOnMount&&this.m_elInput.focus()}get element(){return this.m_elInput}get value(){return this.m_elInput&&this.m_elInput.value}Focus(){var e;null===(e=this.m_elInput)||void 0===e||e.focus()}static validateUrl(e){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/i.test(e)||/^steam:\/\/[-a-zA-Z0-9@:%._\+~#=]{2,256}/i.test(e)}static validateEmail(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e.toLowerCase())}Validate(){this.setState({m_bNumberBelowMinRange:null!==this.props.rangeMin&&void 0!==this.props.rangeMin&&Number(this.m_elInput.value)this.props.rangeMax,m_bIsNotNumeric:1==this.props.mustBeNumeric&&isNaN(Number(this.m_elInput.value)),m_bIsInvalidURL:1==this.props.mustBeURL&&!Q.validateUrl(this.m_elInput.value),m_bIsInvalidEmail:1==this.props.mustBeEmail&&!Q.validateEmail(this.m_elInput.value),m_bAboveMaxChars:null!==this.props.maxChars&&this.m_elInput.value.length>this.props.maxChars})}OnChanged(e){this.props.onChange&&this.props.onChange(e),this.Validate()}OnCopyClick(e){if(!this.m_elInput)return;this.m_elInput.select();let t=this.m_elInput.ownerDocument;if(t.queryCommandEnabled("copy")){t.execCommand("copy"),e.currentTarget.focus(),this.m_CopiedAnimation&&this.m_CopiedAnimation.Cancel();let n=-4,r=-24;this.setState({m_bCompletedCopiedAnimation:!1}),this.setState({m_CopiedYPos:n},(()=>{this.m_CopiedAnimation=new $(this,{m_CopiedYPos:r},{msDuration:300,timing:"sine",setStateOnComplete:{m_bCompletedCopiedAnimation:!0}}),this.m_CopiedAnimation.Start()}))}}OnClearClick(e){if(this.m_elInput&&this.m_elInput.value){Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set.call(this.m_elInput,""),this.m_elInput.dispatchEvent(new Event("input",{bubbles:!0}))}}CheckProps(e){(0,Y.X)(!(e.bShowClearAction||e.bAlwaysShowClearAction)||e.onChange,"In order for bShowClearAction to work correctly, you should be handling onChange and passing value to the Dialog.Input.")}render(){const e=this.props,{label:t,description:n,requiredLabel:o,bShowCopyAction:l,bShowClearAction:u,bAlwaysShowClearAction:d,rangeMin:m,rangeMax:h,mustBeNumeric:p,mustBeURL:_,mustBeEmail:g,focusOnMount:f,tooltip:v,inlineControls:C,maxChars:E}=e,b=(0,r._T)(e,["label","description","requiredLabel","bShowCopyAction","bShowClearAction","bAlwaysShowClearAction","rangeMin","rangeMax","mustBeNumeric","mustBeURL","mustBeEmail","focusOnMount","tooltip","inlineControls","maxChars"]);let w="DialogInput DialogInputPlaceholder DialogTextInputBase"+(b.className?" "+b.className:""),S="copiedAnimation",y=this.state.m_bCompletedCopiedAnimation;this.m_CopiedAnimation&&(S="copiedAnimation animationPlaying"),y&&(S="copiedAnimation animationComplete");let I={};void 0!==this.state.m_CopiedYPos&&(I.transform="translateY("+this.state.m_CopiedYPos+"px)");let R=i.createElement(i.Fragment,null,i.createElement(a.s,{className:"DialogInput_Wrapper _DialogLayout","flow-children":"row"},i.createElement(q,Object.assign({type:"text"},b,{className:w,ref:this.OnInputRef,onChange:this.OnChanged})),l&&i.createElement("div",{className:"displayRow"},i.createElement(k,{className:"DialogInput_CopyAction Primary",onClick:this.OnCopyClick},(0,c.Xx)("#Button_Copy")),i.createElement("div",{style:I,className:S},(0,c.Xx)("#Button_Copied"))),(d||u&&b.value)&&i.createElement("div",{className:"DialogInput_ClearAction",onClick:this.OnClearClick},i.createElement(s.pVO,null)),C),n&&i.createElement("div",{className:"DialogLabelExplainer"},n));return t?i.createElement("div",{className:"DialogInputLabelGroup _DialogLayout DialogRequirementLabel"},i.createElement("label",null,i.createElement("div",{className:"DialogLabel"},t," ",this.props.tooltip&&i.createElement("span",{"data-tooltip-text":this.props.tooltip}," (?)"),i.createElement("span",{className:"DialogInputRequirementLabel"},this.props.requiredLabel)," "),R,this.state.m_bNumberBelowMinRange?i.createElement("div",null," ",(0,c.Xx)("#Input_Error_NumberTooSmall")," "):null,this.state.m_bNumberAboveMaxRange?i.createElement("div",null," ",(0,c.Xx)("#Input_Error_NumberTooLarge")," "):null,this.state.m_bIsInvalidURL?i.createElement("div",null," ",(0,c.Xx)("#Input_Error_MustBeURL")," "):null,this.state.m_bIsInvalidEmail?i.createElement("div",null," ",(0,c.Xx)("#Input_Error_MustBeEmail")," "):null,this.state.m_bIsNotNumeric?i.createElement("div",null," ",(0,c.Xx)("#Input_Error_MustBeNumber")," "):null,this.state.m_bAboveMaxChars?i.createElement("div",null," ",(0,c.kQ)("#Input_Error_TooManyCharacters",E)," "):null)):R}}(0,r.gn)([z.ak],Q.prototype,"OnInputRef",null),(0,r.gn)([z.ak],Q.prototype,"OnChanged",null),(0,r.gn)([z.ak],Q.prototype,"OnCopyClick",null),(0,r.gn)([z.ak],Q.prototype,"OnClearClick",null);class J extends Q{OnBackgroundClick(){this.m_elInput&&this.m_elInput.focus()}OnInputFocus(e){this.m_bFocused||(this.m_bFocused=!0,this.forceUpdate()),this.props.onFocus&&this.props.onFocus(e)}OnInputBlur(e){this.m_bFocused&&(this.m_bFocused=!1,this.forceUpdate()),this.props.onBlur&&this.props.onBlur(e)}render(){const e=this.props,{label:t,description:n,requiredLabel:s,bShowCopyAction:c,bShowClearAction:u,bAlwaysShowClearAction:d,rangeMin:m,rangeMax:h,maxChars:p,mustBeNumeric:_,mustBeURL:g,mustBeEmail:f,focusOnMount:v,tooltip:C,inlineControls:E,className:b,children:w}=e,S=(0,r._T)(e,["label","description","requiredLabel","bShowCopyAction","bShowClearAction","bAlwaysShowClearAction","rangeMin","rangeMax","maxChars","mustBeNumeric","mustBeURL","mustBeEmail","focusOnMount","tooltip","inlineControls","className","children"]);return i.createElement("div",{className:"DialogInputLabelGroup _DialogLayout DialogListBuilderInput"},i.createElement("label",null,t&&i.createElement("div",{className:"DialogLabel"},t),i.createElement("div",{className:(0,l.Z)("_DialogInputContainer","DialogTextInputBase",this.m_bFocused&&"Active"),onClick:this.OnBackgroundClick},i.createElement(a.s,{className:"DialogListBuilderInput_List","flow-children":"row"},i.Children.map(w,((e,t)=>i.createElement("div",{className:"DialogListBuilderInput_ListItem",key:t},e))),i.createElement(o.bX,Object.assign({type:"text"},S,{className:"DialogListBuilderInput_Input DialogInputPlaceholder",ref:this.OnInputRef,onFocus:this.OnInputFocus,onBlur:this.OnInputBlur,size:4})))),n&&i.createElement("div",{className:"DialogLabelExplainer"},n)))}}(0,r.gn)([z.ak],J.prototype,"OnBackgroundClick",null),(0,r.gn)([z.ak],J.prototype,"OnInputFocus",null),(0,r.gn)([z.ak],J.prototype,"OnInputBlur",null);const ee=(e,t)=>""+(null!=e?Number.parseFloat(e.toFixed(3)):null)+(null!=t?t:""),te=e=>{const t=m();return i.createElement(h.T,Object.assign({component:t.SliderField,fallback:ne},e))};class ne extends i.Component{constructor(e){super(e),this.m_flLastSetValue=null}ClampValue(e){return void 0===e||isNaN(e)||ethis.props.max?this.props.max:e}BPropsValid(){return this.props.max>this.props.min}OnMouseDown(e){this.m_elSlider=e.currentTarget,this.m_rectSlider=this.m_elSlider.getBoundingClientRect(),this.props.onChangeStart&&this.props.onChangeStart(1),this.AdjustSliderForClientX(e.clientX,1),this.m_elSlider.ownerDocument.defaultView.addEventListener("mousemove",this.OnMouseMove),this.m_elSlider.ownerDocument.defaultView.addEventListener("mouseup",this.OnMouseUp)}OnMouseMove(e){this.AdjustSliderForClientX(e.clientX,1)}OnMouseUp(e){this.m_elSlider.ownerDocument.defaultView.removeEventListener("mousemove",this.OnMouseMove),this.m_elSlider.ownerDocument.defaultView.removeEventListener("mouseup",this.OnMouseUp),this.CompleteChange(1)}OnTouchStart(e){this.m_elSlider=e.currentTarget,this.m_rectSlider=this.m_elSlider.getBoundingClientRect(),this.props.onChangeStart&&this.props.onChangeStart(0),this.AdjustSliderForClientX(e.touches[0].clientX,0),this.m_elSlider.ownerDocument.defaultView.addEventListener("touchmove",this.OnTouchMove),this.m_elSlider.ownerDocument.defaultView.addEventListener("touchend",this.OnTouchEnd)}OnTouchMove(e){this.AdjustSliderForClientX(e.touches[0].clientX,0)}OnTouchEnd(e){this.m_elSlider.ownerDocument.defaultView.removeEventListener("touchmove",this.OnTouchMove),this.m_elSlider.ownerDocument.defaultView.removeEventListener("touchend",this.OnTouchEnd),this.CompleteChange(0)}OnKeyDown(e){let t=1;e.ctrlKey&&(t=Math.max(1,Math.floor(.1*(this.props.max-this.props.min)+.5))),37==e.keyCode?(this.IncrementValue(-1*t),e.preventDefault()):39==e.keyCode&&(this.IncrementValue(1*t),e.preventDefault()),this.CompleteChange(2)}AdjustSliderForClientX(e,t){let n=(e-this.m_rectSlider.left)/(this.m_rectSlider.right-this.m_rectSlider.left)*(this.props.max-this.props.min)+this.props.min;n=Math.floor(n+.5);const r=this.ClampValue(n);r!=this.props.value&&(this.props.onChange&&this.props.onChange(r,t),this.m_flLastSetValue=r)}CompleteChange(e){null!=this.m_flLastSetValue&&(this.props.onChangeComplete&&this.props.onChangeComplete(this.m_flLastSetValue,e),this.m_flLastSetValue=null)}IncrementValue(e){let t=this.ClampValue(this.props.value+e);t!=this.props.value&&(this.props.onChange&&this.props.onChange(t,2),this.m_flLastSetValue=t)}render(){var e;let t={},n={};if(this.BPropsValid()){let e=100*(this.props.value-this.props.min)/(this.props.max-this.props.min)+"%";t.width=e,n.left=e}const o=this.props,{label:a,description:s,tooltip:l}=o,c=((0,r._T)(o,["label","description","tooltip"]),null!==(e=this.props.renderValue)&&void 0!==e?e:ee);return i.createElement("div",{className:"DialogSlider_Container _DialogInputContainer _DialogLayout"+(this.props.className?" "+this.props.className:""),onKeyDown:this.OnKeyDown,tabIndex:this.props.tabIndex||0},a&&i.createElement("div",{className:"DialogLabel"},a,Boolean(l)&&i.createElement("span",{"data-tooltip-text":l}," (?)")),i.createElement("div",{className:"DialogSlider_Slider",onMouseDown:this.OnMouseDown,onTouchStart:this.OnTouchStart},i.createElement("div",{className:"DialogSlider_Value",style:t}),i.createElement("div",{className:"DialogSlider_Grabber",style:n})),this.props.showValue&&i.createElement("div",{className:"DialogLabelExplainer"},c(this.props.value,this.props.valueSuffix)),s&&i.createElement("div",{className:"DialogLabelExplainer"},s))}}(0,r.gn)([z.ak],ne.prototype,"OnMouseDown",null),(0,r.gn)([z.ak],ne.prototype,"OnMouseMove",null),(0,r.gn)([z.ak],ne.prototype,"OnMouseUp",null),(0,r.gn)([z.ak],ne.prototype,"OnTouchStart",null),(0,r.gn)([z.ak],ne.prototype,"OnTouchMove",null),(0,r.gn)([z.ak],ne.prototype,"OnTouchEnd",null),(0,r.gn)([z.ak],ne.prototype,"OnKeyDown",null);var re=n(47819),ie=n.n(re);const oe=i.createContext({setValue:()=>{}});function ae(e){const{value:t,onChange:n,classNames:r,children:o}=e,s={value:t,setValue:n};return i.createElement(oe.Provider,{value:s},i.createElement(a.s,{className:(0,l.Z)(ie().Group,"Shared_Radio_Group",r,s.bVertical&&ie().VerticalGrouping)},o))}function se(e){const{value:t}=e,{value:n,setValue:r}=i.useContext(oe);let a=r;const s=t===n;return i.createElement(o.Ks,{className:(0,l.Z)(ie().Button,"RadioButton",s&&ie().Active),onClick:()=>a(t)},e.children)}var le=n(40103),ce=n(20449),ue=n.n(ce),de=n(84343);function me(e){return"object"==typeof e&&"data"in e}function he(e){return"object"==typeof e&&"options"in e}function pe(e,t){if(e===t)return!0;if(!Array.isArray(e)||!Array.isArray(t))return!1;if(e.length!=t.length)return!1;for(let n=0;n0;)null===(t=n.shift())||void 0===t||t.forEach(((t,o)=>{me(t)?r.push(i.createElement("div",{key:o,className:(0,l.Z)(ue().DialogDropDownMenu_Item,e.strDropDownItemClassName,t.strOptionClass),"data-dropdown-index":o,onClick:n=>e.onValueSelected&&e.onValueSelected(n,t)},Boolean(t.tooltip)?i.createElement(de.HP,{toolTipContent:t.tooltip,bTopmost:!0},t.label):i.createElement(i.Fragment,null,t.label))):he(t)&&n.push(t.options)}));return i.createElement("div",{className:(0,l.Z)(ue().DialogDropDownMenu,"_DialogInputContainer")},r)}class Ie extends i.Component{constructor(){super(...arguments),this.state={rgOptions:void 0}}OnMenuOpened(){return(0,r.mG)(this,void 0,void 0,(function*(){if(!this.state.rgOptions){let e=yield this.props.fnLoadOptions();this.setState({rgOptions:e})}}))}render(){const e=this.props,{fnLoadOptions:t,strInitialDisplay:n,initialValue:o}=e,a=(0,r._T)(e,["fnLoadOptions","strInitialDisplay","initialValue"]);let{rgOptions:s}=this.state;return void 0===s&&(n||o?(s=[{label:n,data:o}],a.selectedOption=o):s=[]),i.createElement(fe,Object.assign({},a,{rgOptions:s,onMenuOpened:this.OnMenuOpened}))}}(0,r.gn)([z.ak],Ie.prototype,"OnMenuOpened",null);n(27914);var Re=n(50265),De=n(894),Me=n(11837),Te=n(36041);const Be=new(n(50454).s)("DragDrop").Debug;class Ae extends i.Component{constructor(){super(...arguments),this.m_coordinator=new Fe}OnDrop(e,t){t>e&&t--,t!=e&&this.props.onReorder(e,t)}render(){let e=[];return e.push(i.createElement(Pe,{coordinator:this.m_coordinator,key:"dropregion_top",fnBAcceptDraggable:e=>0!=e.props.data,fnOnDrop:e=>this.OnDrop(e.props.data,0)})),i.Children.forEach(this.props.children,((t,n)=>{const r=t.props.id||"__list_"+n,o=n+1;e.push(i.createElement(Le,{coordinator:this.m_coordinator,data:n,key:r},t)),e.push(i.createElement(Pe,{coordinator:this.m_coordinator,key:"dropregion_"+r,fnBAcceptDraggable:e=>e.props.data!=o,fnOnDrop:e=>this.OnDrop(e.props.data,o)}))})),i.createElement("div",{className:"DialogReorderableList"},e)}}function Oe(e,t,n,r){return r?n&&e>n.left&&en.top&&t=n.left&&e<=n.right&&t>=n.top&&t<=n.bottom}(0,r.gn)([z.ak],Ae.prototype,"OnDrop",null);class Fe{constructor(){this.m_embeddedElement=new De.AN("DragGhosts"),this.m_rgDropRegions=[],this.m_rgActiveDropRegions=[],this.m_prevClientX=0,this.m_prevClientY=0}RegisterDropRegion(e){this.m_rgDropRegions.push(e),this.m_activeDraggable&&e.BAcceptDraggable(this.m_activeDraggable)&&(e.OnDragStarted(this.m_activeDraggable),this.m_rgActiveDropRegions.push(e))}UnregisterDropRegion(e){Me.Zf(this.m_rgDropRegions,e),Me.Zf(this.m_rgActiveDropRegions,e),this.m_activeDropRegion==e&&(this.m_activeDropRegion=void 0,this.m_activeDraggable&&this.ShowDragGhost())}OnDragGhostRef(e){this.m_dragGhost=e}ShowDragGhost(){const e=this.m_activeDraggable.renderDragGhost(),t=(0,l.Z)(e.props.className,!!this.m_activeDropRegion&&"DraggedOverActiveDrop"),n=i.cloneElement(e,{ref:this.OnDragGhostRef,className:t});this.m_embeddedElement.ShowElement(this.m_activeDraggable.GetDragDocument(),n,this.m_activeDraggable)}HideDragGhost(){this.m_embeddedElement.HideElement(this.m_activeDraggable.GetDragDocument(),this.m_activeDraggable)}MakeDragClone(e){(0,Y.X)(!this.m_nodeCloneCopy&&!this.m_elCloneOriginal,"Drag already in progress"),this.m_elCloneOriginal=e.m_divRef.current,this.m_nodeCloneCopy=this.m_elCloneOriginal.cloneNode(!0),e.m_divRef.current.replaceWith(this.m_nodeCloneCopy),this.m_elCloneContainer||(this.m_elCloneContainer=e.GetDragDocument().body.ownerDocument.createElement("div"),e.GetDragDocument().body.appendChild(this.m_elCloneContainer)),this.m_elCloneContainer.appendChild(this.m_elCloneOriginal)}ReverseDragClone(){this.m_nodeCloneCopy.parentNode.replaceChild(this.m_elCloneOriginal,this.m_nodeCloneCopy),this.m_nodeCloneCopy=void 0,this.m_elCloneOriginal=void 0}OnDragStart(e){this.m_activeDraggable=e,this.m_rgActiveDropRegions=[];for(let t of this.m_rgDropRegions)t.BAcceptDraggable(e)&&(t.OnDragStarted(e),this.m_rgActiveDropRegions.push(t));this.MakeDragClone(e),this.ShowDragGhost()}EndDrag(){if(this.m_activeDraggable){this.ReverseDragClone(),this.HideDragGhost(),this.m_activeDropRegion&&this.m_activeDropRegion.OnDrop(this.m_activeDraggable);for(let e of this.m_rgActiveDropRegions)e.OnDragEnded(this.m_activeDraggable);this.m_activeDraggable=void 0,this.m_dropGhost=void 0,this.m_rgActiveDropRegions=[]}}FindBestActiveDropRegionForPoint(e,t){const n=this.m_activeDraggable.GetDragDocument();let r;if("elementsFromPoint"in n&&(r=n.elementsFromPoint(e,t)),r){const e=new Map;this.m_rgActiveDropRegions.forEach((t=>e.set(t.GetElement(),t)));for(const t of r){const n=e.get(t);if(n)return n}}else{if(this.m_activeDropRegion&&this.m_activeDropRegion.BDraggableInRegion(e,t,this.m_activeDraggable))return this.m_activeDropRegion;for(let n=this.m_rgActiveDropRegions.length-1;n>=0;n--){const r=this.m_rgActiveDropRegions[n];if(r.BDraggableInRegion(e,t,this.m_activeDraggable))return r}}return null}OnDrag(e,t,n){const r=this.m_prevClientX||t,i=this.m_prevClientY||n,o=void 0===r?0:r-this.m_dragGhost.state.clientX,a=void 0===i?0:i-this.m_dragGhost.state.clientY;if(e.props.bEnableHTMLDrag&&this.m_dragOffWindowTimer&&window.clearTimeout(this.m_dragOffWindowTimer),this.m_dragGhost&&(this.m_dragGhost.setState({clientX:r,clientY:i,clientXDelta:o,clientYDelta:a,bVisible:!0}),e.props.bEnableHTMLDrag&&(o||a))){const t=r+o,n=i+a,s=e.GetDragDocument().body.getBoundingClientRect();if(Oe(r,i,s)&&!Oe(t,n,s,!0)){const r=Te.r4(t,s.left,s.right,s.left-200,s.right+200),i=Te.r4(n,s.top,s.bottom,s.top-100,s.bottom+100),o=50;this.m_dragOffWindowTimer=window.setTimeout((()=>{e==this.m_activeDraggable&&this.OnDrag(e,r,i)}),o)}}const s=this.FindBestActiveDropRegionForPoint(r,i);this.m_prevClientX=t,this.m_prevClientY=n,!!this.m_activeDropRegion!=!!s&&(this.ShowDragGhost(),this.m_dropGhost||(this.m_dropGhost=this.m_activeDraggable.renderDropGhost())),this.m_activeDropRegion&&this.m_activeDropRegion!=s&&this.m_activeDropRegion.OnDragLeave(this.m_activeDraggable),s&&this.m_activeDropRegion!=s&&s.OnDragEnter(this.m_activeDraggable,this.m_dropGhost),this.m_activeDropRegion=s,this.m_activeDropRegion&&this.m_activeDropRegion.OnDragMove(r,i,this.m_activeDraggable)}}(0,r.gn)([z.ak],Fe.prototype,"OnDragGhostRef",null);class Le extends i.Component{constructor(){super(...arguments),this.m_DragInfo={bStarted:!1,startClientX:void 0,startClientY:void 0,startOffsetX:void 0,startOffsetY:void 0,startWidth:void 0,startHeight:void 0,ownerWin:void 0},this.m_divRef=i.createRef()}GetDragDocument(){return this.m_DragInfo.ownerWin&&this.m_DragInfo.ownerWin.document}RecordDragStart(e,t,n){this.m_DragInfo.startClientX=t,this.m_DragInfo.startClientY=n;let r=e.getBoundingClientRect();this.m_DragInfo.startOffsetX=t-r.left,this.m_DragInfo.startOffsetY=n-r.top,this.m_DragInfo.startWidth=r.width,this.m_DragInfo.startHeight=r.height,this.m_DragInfo.ownerWin=e.ownerDocument.defaultView}ProcessDragMove(e){Be("ProcessDragMove",e,this.props.data);const[t,n]=function(e){if("touches"in e){let t=e;return[t.touches[0].clientX,t.touches[0].clientY]}return[e.clientX,e.clientY]}(e);if(this.m_DragInfo.bStarted){if(this.props.bEnableHTMLDrag&&0==t&&0==n)return;this.props.coordinator.OnDrag(this,t,n)}else Math.pow(t-this.m_DragInfo.startClientX,2)+Math.pow(n-this.m_DragInfo.startClientY,2)>=25&&(this.m_DragInfo.bStarted=!0,this.forceUpdate(),this.props.fnOnDragStart&&this.props.fnOnDragStart(),this.props.coordinator.OnDragStart(this),this.props.coordinator.OnDrag(this,t,n))}OnMouseDown(e){this.m_DragInfo.bStarted||0!=e.button||(this.RecordDragStart(e.currentTarget,e.clientX,e.clientY),this.m_DragInfo.ownerWin.addEventListener("mousemove",this.ProcessDragMove),this.m_DragInfo.ownerWin.addEventListener("mouseup",this.OnMouseUp))}OnMouseUp(e){this.m_DragInfo.ownerWin.removeEventListener("mousemove",this.ProcessDragMove),this.m_DragInfo.ownerWin.removeEventListener("mouseup",this.OnMouseUp),this.ResetDragState()}OnTouchStart(e){this.m_DragInfo.bStarted||(this.RecordDragStart(e.currentTarget,e.touches[0].clientX,e.touches[0].clientY),this.m_DragInfo.ownerWin.addEventListener("touchmove",this.ProcessDragMove),this.m_DragInfo.ownerWin.addEventListener("touchend",this.OnTouchEnd))}OnTouchEnd(e){this.m_DragInfo.ownerWin.removeEventListener("touchmove",this.ProcessDragMove),this.m_DragInfo.ownerWin.removeEventListener("touchend",this.OnTouchEnd),this.ResetDragState()}ResetDragState(){Be("ResetDragState",this.props.data),this.m_DragInfo.bStarted&&(this.props.coordinator.EndDrag(),this.props.fnOnDragEnd&&this.props.fnOnDragEnd()),this.m_DragInfo.bStarted=!1,this.m_DragInfo.startClientX=void 0,this.m_DragInfo.startClientY=void 0,this.m_DragInfo.startOffsetX=void 0,this.m_DragInfo.startOffsetY=void 0,this.m_DragInfo.ownerWin=void 0,this.forceUpdate()}OnHTMLDragStart(e){Be("HTMLDragStart",e,this.props.data,this.props.strHTMLDragData),e.dataTransfer.effectAllowed="copyMove",this.props.strHTMLDragData&&this.props.strHTMLDragData.forEach(((t,n)=>e.dataTransfer.setData(n,t))),e.dataTransfer.getData("text/plain")||e.dataTransfer.setData("text/plain",this.props.data.toString());const t=new Image;e.dataTransfer.setDragImage(t,0,0),this.RecordDragStart(e.currentTarget,e.clientX,e.clientY),this.m_DragInfo.ownerWin.addEventListener("drag",this.OnHTMLDrag),this.m_DragInfo.ownerWin.addEventListener("dragend",this.OnHTMLDragEnd)}OnHTMLDrag(e){Be("HTMLDrag",e,e.dataTransfer.types.length),this.ProcessDragMove(e)}OnHTMLDragEnd(e){Be("HTMLDragEnd",e,e.dataTransfer.getData("text/plain")||"NOTHING",this.props.data),this.m_DragInfo.ownerWin.removeEventListener("drag",this.OnHTMLDrag),this.m_DragInfo.ownerWin.removeEventListener("dragend",this.OnHTMLDragEnd),this.ResetDragState()}render(){const e=this.props,{coordinator:t,data:n,bEnableHTMLDrag:o,strHTMLDragData:a,fnOnDragStart:s,fnOnDragEnd:c,fnRenderDragGhost:u,fnRenderDropGhost:d,className:m,strActiveClassName:h,children:p}=e,_=(0,r._T)(e,["coordinator","data","bEnableHTMLDrag","strHTMLDragData","fnOnDragStart","fnOnDragEnd","fnRenderDragGhost","fnRenderDropGhost","className","strActiveClassName","children"]);let g={},f=m||"DialogDraggable";return this.m_DragInfo.bStarted?(f=(0,l.Z)(f,h||"DraggedOut"),o&&(g={onDragEnd:this.OnHTMLDragEnd})):g=o?{onDragStart:this.OnHTMLDragStart}:{onMouseDown:this.OnMouseDown,onTouchStart:this.OnTouchStart},i.createElement("div",Object.assign({ref:this.m_divRef,className:f},g,_,{draggable:o}),p)}renderDropGhost(){return this.props.fnRenderDropGhost?this.props.fnRenderDropGhost():i.createElement(ke,{elContent:this.GetClone()})}renderDragGhost(){return this.props.fnRenderDragGhost?this.props.fnRenderDragGhost():i.createElement(Ne,{elContent:this.GetClone(),offsetX:this.m_DragInfo.startOffsetX,offsetY:this.m_DragInfo.startOffsetY,width:this.m_DragInfo.startWidth,height:this.m_DragInfo.startHeight})}GetClone(){const e=this.m_divRef.current;let t;if(e&&e.childElementCount)if(1==e.childElementCount)t=e.firstElementChild.cloneNode(!0);else{t=document.createElement("div");for(let n=e.firstChild;n;n=n.nextSibling)t.appendChild(n.cloneNode(!0))}return t}}(0,r.gn)([z.ak],Le.prototype,"ProcessDragMove",null),(0,r.gn)([z.ak],Le.prototype,"OnMouseDown",null),(0,r.gn)([z.ak],Le.prototype,"OnMouseUp",null),(0,r.gn)([z.ak],Le.prototype,"OnTouchStart",null),(0,r.gn)([z.ak],Le.prototype,"OnTouchEnd",null),(0,r.gn)([Re.aD],Le.prototype,"ResetDragState",null),(0,r.gn)([z.ak],Le.prototype,"OnHTMLDragStart",null),(0,r.gn)([z.ak],Le.prototype,"OnHTMLDrag",null),(0,r.gn)([z.ak],Le.prototype,"OnHTMLDragEnd",null);class ke extends i.Component{OnRef(e){e&&e.appendChild(this.props.elContent)}render(){return i.createElement("div",{className:"DialogDraggable_DropGhost",ref:this.OnRef})}}(0,r.gn)([z.ak],ke.prototype,"OnRef",null);class Ne extends i.Component{constructor(){super(...arguments),this.state={clientX:void 0,clientY:void 0,bVisible:!0,clientXDelta:void 0,clientYDelta:void 0}}OnRef(e){e&&e.appendChild(this.props.elContent)}CalculateRotationDegrees(e){if(!e||Math.abs(e)<4)return 0;return(e>0?7.5:-7.5)*Math.sqrt(Math.abs(e))}render(){if(!this.state.bVisible||void 0===this.state.clientX||void 0===this.state.clientY)return i.createElement("div",null);let e={left:this.state.clientX-(this.props.offsetX||0),top:this.state.clientY-(this.props.offsetY||0),width:this.props.width||"auto",height:this.props.height||"auto",perspective:"600px"},t=Te.r4(this.CalculateRotationDegrees(this.state.clientYDelta),-90,90,2,0),n={transform:`rotateX(${this.CalculateRotationDegrees(-1*this.state.clientYDelta)}deg) rotateY( ${this.CalculateRotationDegrees(this.state.clientXDelta)}deg)`,transition:"transform .16s ease-out, filter .16s ease-out",filter:"brightness("+t+")"};const r=this.props.className||"DialogDraggable_DragGhost";return i.createElement("div",{className:r,style:e},i.createElement("div",{ref:this.OnRef,style:n}))}}(0,r.gn)([z.ak],Ne.prototype,"OnRef",null);class xe extends i.Component{constructor(e){super(e),this.m_divRef=i.createRef(),this.state={}}componentDidMount(){this.props.coordinator.RegisterDropRegion(this)}componentWillUnmount(){this.props.coordinator.UnregisterDropRegion(this)}OnDragStarted(e){this.setState({bDraggableActive:!0})}OnDragEnded(e){this.setState({bDraggableActive:!1})}OnDragEnter(e,t){this.setState({dropGhost:t}),this.props.fnOnDragEnter&&this.props.fnOnDragEnter(e)}OnDragLeave(e){this.setState({dropGhost:void 0}),this.props.fnOnDragLeave&&this.props.fnOnDragLeave(e)}OnDragMove(e,t,n){}OnDrop(e){this.setState({dropGhost:void 0}),this.props.fnOnDrop(e)}BAcceptDraggable(e){return!this.props.fnBAcceptDraggable||this.props.fnBAcceptDraggable(e)}BDraggableInRegion(e,t,n){return Oe(e,t,this.GetClientRect())}GetElement(){return this.m_divRef.current}GetClientRect(){return this.m_divRef.current&&this.m_divRef.current.getBoundingClientRect()}render(){const e=this.props,{coordinator:t,fnBAcceptDraggable:n,fnOnDrop:a,fnOnDragEnter:s,fnOnDragLeave:c,className:u,strActiveClassName:d,children:m,focusable:h}=e,p=(0,r._T)(e,["coordinator","fnBAcceptDraggable","fnOnDrop","fnOnDragEnter","fnOnDragLeave","className","strActiveClassName","children","focusable"]),_=(0,l.Z)(u||"DialogDropRegion",this.state.bDraggableActive&&(d||"Active"));return i.createElement(o.Ks,Object.assign({ref:this.m_divRef,className:_},p,{focusable:void 0===h?!!p.onClick:h}),this.state.dropGhost,m)}}class Pe extends xe{BDraggableInRegion(e,t,n){let r=this.GetClientRect();return!!r&&(e>=r.left&&e<=r.right&&t>=r.top-20&&t<=r.bottom+20)}}var Ve=n(8179),Ge=n(78330),Ue=n(17547),He=n(67892),We=n.n(He),je=n(16221),ze=n(16826);function Ke(e){return i.createElement(a.s,Object.assign({navEntryPreferPosition:je.c4.PREFERRED_CHILD},e))}function Xe(e){const{title:t,icon:n,active:o,className:a,onClick:s}=e,l=(0,r._T)(e,["title","icon","active","className","onClick"]);return i.createElement("div",{className:a,onClick:s},n?i.createElement("div",{className:We().PageListItem_Icon},n):null,i.createElement("div",Object.assign({className:We().PageListItem_Title},l),t))}function Ze(e){var t;const n=null!==(t=e.activePage.padding)&&void 0!==t?t:"standard";return i.createElement(T,{className:(0,l.Z)(e.stylesheet.PagedSettingsDialog_PageContent,e.activePage.pageClassName,{[e.stylesheet.NoPadding]:"none"==n})},e.activePage.header,!e.hideTitle&&i.createElement(E,null,e.activePage.title),i.createElement(Ue.SV,{errorKey:e.activePage.title},e.activePage.content))}function $e(e){return i.createElement("div",{className:(0,l.Z)(We().PageListSeparator,{[We().Transparent]:e.bTransparent})})}const Ye=i.forwardRef((function(e,t){var n,r;const o=null!==(n=e.stylesheet)&&void 0!==n?n:We(),s=e.pages,c=null!=e.startingPage?s.findIndex((t=>"object"==typeof t&&t.identifier===e.startingPage)):-1,u=null==e.page,[d,m]=i.useState(c);let h=d;u||(h=s.findIndex((t=>"object"==typeof t&&t.identifier===e.page))),(h<0||h>=s.length)&&(h=0);let p=null;"object"==typeof s[h]&&(p=s[h]);let _=function(e){let t=i.useRef(e),n=i.useRef("none"),r=t.current;if(r==e)return n.current;let o="none";re&&(o="up");return t.current=e,n.current=o,o}(h);const g=i.useRef(),f=i.useCallback((()=>g.current.TakeFocus()),[g]),v=e=>{e&&E(!0)},[C,E]=i.useState(!1),b=s.map(((t,n)=>{if("separator"===t){const t=n===h+1||n===h-1;return i.createElement(i.Fragment,{key:n},e.renderPageListSeparator?e.renderPageListSeparator({}):i.createElement($e,{bTransparent:t}))}if("spacer"===t)return i.createElement("div",{key:n,className:We().PageListSpacer});if(!1===t.visible)return null;const r=t==p,a=t.identifier||t.title||n.toString(),s=e.renderPageListItem||Xe;return i.createElement(s,{className:(0,l.Z)(o.PagedSettingsDialog_PageListItem,{[o.Active]:r}),key:a,onClick:()=>{v(!0),Ge.LT.PlayNavSound(Ge.qr.PagedNavigation),e.onPageRequested&&e.onPageRequested(t.identifier),t.click?t.click():u&&n!=d&&m(n)},title:t.title,icon:t.icon,active:r})})),w=i.useRef(),S=null==p?void 0:p.hideTitle,y=null===(r=e.showTitle)||void 0===r||r,I=(0,l.Z)("DialogContentTransition",o.PagedSettingDialog_ContentColumn);i.useEffect((()=>{var t;e.focusChild&&(null===(t=w.current)||void 0===t||t.TakeFocus())}),[w.current]);const R=e.renderPageAnimation&&p?e.renderPageAnimation:Qe;return i.createElement(a.s,{className:(0,l.Z)(o.PagedSettingsDialog,e.className),ref:t},i.createElement(a.s,{className:(0,l.Z)(o.PagedSettingsDialog_PageListColumn,e.hideList&&We().Hidden,"PageListColumn"),navRef:g,onButtonDown:e=>{var t;e.detail.button==Ve.eV.OK&&(null===(t=w.current)||void 0===t||t.TakeFocus(e.detail.button))},onFocusWithin:v},y&&i.createElement("div",{className:o.PagedSettingsDialog_Title},e.title),e.topControls&&i.createElement("div",null,e.topControls),i.createElement(Ke,{className:(0,l.Z)(o.PagedSettingsDialog_PageList,e.disablePageListScrolling&&o.PagedSettingsDialog_PageList_DisableScrolling),onFocusWithin:v},b),e.bottomControls&&i.createElement("div",null,e.bottomControls)),i.createElement(a.s,{className:I,onCancelButton:C?f:null,navRef:w},e.toggleHideList&&i.createElement(qe,{hideList:e.hideList,toggleHideList:e.toggleHideList}),i.createElement(R,{activePage:p,direction:_},p&&i.createElement(Ze,{key:p.identifier,stylesheet:o,hideTitle:S,activePage:p}))))}));function qe(e){const{hideList:t,toggleHideList:n}=e;return i.createElement("div",{className:(0,l.Z)(We().HidePageListButton,t&&We().ListHidden),onClick:n},t?i.createElement(ze.vVQ,{direction:"right"}):i.createElement(ze.vVQ,{direction:"left"}))}function Qe(e){return i.createElement(i.Fragment,null,e.children)}class Je extends i.Component{constructor(){super(...arguments),this.m_refTextArea=i.createRef(),this.m_cEntryLength=Number.MAX_VALUE}get textarea(){return this.m_refTextArea.current}get value(){return this.m_refTextArea.current&&this.m_refTextArea.current.value}focus(){this.m_refTextArea.current.focus()}InternalOnInput(){const e=this.m_refTextArea.current,t=this.GetMinHeight(),n=this.GetMaxHeight();let r,i=e.value.length;if(void 0===this.m_nTextAreaPadding&&this.CalculatePadding(),in)e.style.height=n+"px",e.style.overflow="auto";else if(e.scrollHeight!=e.clientHeight){let n=Math.max(e.scrollHeight,t);e.style.height=n-this.m_nTextAreaPadding+"px","auto"==e.style.overflow&&(e.style.overflow="hidden")}void 0!==r&&window.scrollTo(window.scrollX,r),this.m_cEntryLength=i}CalculatePadding(){const e=getComputedStyle(this.m_refTextArea.current);this.m_nTextAreaPadding=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)}GetMinHeight(){return this.props.nMinHeight||20}GetMaxHeight(){return this.props.nMaxHeight||500}DeferredInternalOnInput(){window.setTimeout(this.InternalOnInput,1)}OnKeyUp(e){this.InternalOnInput(),this.props.onKeyUp&&this.props.onKeyUp(e)}OnBlur(e){this.DeferredInternalOnInput(),this.props.onBlur&&this.props.onBlur(e)}OnClick(e){this.InternalOnInput(),this.props.onClick&&this.props.onClick(e)}OnPaste(e){this.DeferredInternalOnInput(),this.props.onPaste&&this.props.onPaste(e)}OnCut(e){this.InternalOnInput(),this.props.onCut&&this.props.onCut(e)}componentDidMount(){this.m_refTextArea.current.style.overflow="hidden",this.m_refTextArea.current.style.resize="none",this.InternalOnInput()}componentDidUpdate(e){e.nMinHeight==this.props.nMinHeight&&e.nMaxHeight==this.props.nMaxHeight||(this.m_cEntryLength=Number.MAX_VALUE),this.m_refTextArea.current.value.length!=this.m_cEntryLength&&this.InternalOnInput()}render(){const e=this.props,{nMinHeight:t,nMaxHeight:n,renderTextArea:o}=e,a=(0,r._T)(e,["nMinHeight","nMaxHeight","renderTextArea"]),s=o||(e=>i.createElement("textarea",Object.assign({},e)));return s(Object.assign(Object.assign({},a),{ref:this.m_refTextArea,onKeyUp:this.OnKeyUp,onBlur:this.OnBlur,onClick:this.OnClick,onPaste:this.OnPaste,onCut:this.OnCut}))}}(0,r.gn)([z.ak],Je.prototype,"InternalOnInput",null),(0,r.gn)([z.ak],Je.prototype,"OnKeyUp",null),(0,r.gn)([z.ak],Je.prototype,"OnBlur",null),(0,r.gn)([z.ak],Je.prototype,"OnClick",null),(0,r.gn)([z.ak],Je.prototype,"OnPaste",null),(0,r.gn)([z.ak],Je.prototype,"OnCut",null);var et=n(52559),tt=n.n(et),nt=n(32765);const rt=i.forwardRef((function(e,t){const{label:n,description:o,icon:s,children:c,childrenLayout:u,inlineWrap:d,childrenContainerWidth:m,spacingBetweenLabelAndChild:h,padding:p,disabled:_,bottomSeparator:g,className:f,highlightOnFocus:v,indentLevel:C,verticalAlignment:E,tooltip:b}=e,w=(0,r._T)(e,["label","description","icon","children","childrenLayout","inlineWrap","childrenContainerWidth","spacingBetweenLabelAndChild","padding","disabled","bottomSeparator","className","highlightOnFocus","indentLevel","verticalAlignment","tooltip"]),S=(0,nt.id)(),y=null!=u?u:"inline",I="inline"==y&&!!c,R="below"==y&&!!c,D=null!=d?d:S?"shift-children-below":"keep-inline",M=!!(w.onClick||w.onActivate||w.focusable),T=null!=s||null!=n||I&&null!=c,B=null!=m?m:"min",A=null!=h?h:"standard",O=null!=p?p:"standard",F=null!=g?g:"standard",L=null==v||v,k=null!=C?C:0,N=null!=E?E:"center",x=i.useRef(),P=(0,z.BE)(x,e.navRef),V=i.useCallback((e=>{var t;null===(t=x.current)||void 0===t||t.TakeFocus(),e.preventDefault()}),[x]);return i.createElement(a.s,Object.assign({focusable:M,noFocusRing:!0,scrollIntoViewWhenChildFocused:!0,onActivate:w.onClick,ref:t,onMouseDown:M?void 0:V},w,{navRef:P,className:(0,l.Z)(f,tt().Field,_&&tt().Disabled,T&&tt().WithFirstRow,I&&tt().WithChildrenInline,R&&tt().WithChildrenBelow,"center"==N&&tt().VerticalAlignCenter,"shift-children-below"==D&&tt().InlineWrapShiftsChildrenBelow,!!o&&tt().WithDescription,"standard"==F&&tt().WithBottomSeparatorStandard,"thick"==F&&tt().WithBottomSeparatorThick,"fixed"==B&&tt().ChildrenWidthFixed,"max"==B&&tt().ChildrenWidthGrow,"standard"==A&&tt().ExtraPaddingOnChildrenBelow,"standard"==O&&tt().StandardPadding,"compact"==O&&tt().CompactPadding,M&&tt().Clickable,L&&tt().HighlightOnFocus),style:{"--indent-level":k}}),T&&i.createElement("div",{className:tt().FieldLabelRow},i.createElement("div",{className:tt().FieldLabel},s&&i.createElement("div",{className:tt().FieldLeadIcon},s),n,b&&i.createElement("span",{"data-tooltip-text":b}," (?)")),I&&i.createElement("div",{className:tt().FieldChildren},c)),R&&i.createElement("div",{className:tt().FieldChildren},c),o&&i.createElement("div",{className:tt().FieldDescription},o))}));i.forwardRef((function(e,t){const{label:n,description:o,icon:a,layout:s,bottomSeparator:l,highlightOnFocus:c,childrenContainerWidth:u,padding:d,inlineWrap:m}=e,h=(0,r._T)(e,["label","description","icon","layout","bottomSeparator","highlightOnFocus","childrenContainerWidth","padding","inlineWrap"]),{refWithValue:p,refForElement:_}=(0,z.ww)(t);return i.createElement(rt,{label:n,description:o,icon:a,bottomSeparator:l,highlightOnFocus:c,childrenLayout:null!=s?s:"inline",childrenContainerWidth:null!=u?u:"min",onMouseDown:e=>{var t;null===(t=p.current)||void 0===t||t.focus(),e.preventDefault()},padding:d,inlineWrap:m},i.createElement(k,Object.assign({},h,{ref:_})))}));const it=i.forwardRef((function(e,t){const{label:n,description:o,icon:a,layout:s,bottomSeparator:l,highlightOnFocus:c}=e,u=(0,r._T)(e,["label","description","icon","layout","bottomSeparator","highlightOnFocus"]),{refWithValue:d,refForElement:m}=(0,z.ww)(t);return i.createElement(rt,{label:n,description:o,icon:a,bottomSeparator:l,highlightOnFocus:c,childrenLayout:null!=s?s:"inline",childrenContainerWidth:"fixed",onMouseDown:e=>{var t,n;null===(n=null===(t=d.current)||void 0===t?void 0:t.element)||void 0===n||n.focus(),e.preventDefault()}},i.createElement(Q,Object.assign({},u,{ref:m})))}));const ot=i.forwardRef((function(e,t){return i.createElement(o.bX,Object.assign({noFocusRing:!0},e,{ref:t,className:(0,l.Z)(tt().BasicTextInput,e.className),size:1}))})),at=e=>i.createElement(mt,Object.assign({layout:"below"},e));function st(e){return i.createElement(d.Provider,{value:{PagedSettings:qt,Content:xt,DropDownControlButton:_t,DropDownField:at,DropDownMenu:pt,ToggleField:kt,ToggleControl:Lt,InputElement:ot,SliderField:Ot,strButtonClassName:tt().Button}},e.children)}var lt=n(42186),ct=n.n(lt),ut=n(69159),dt=n(44673);function mt(e){const{label:t,tooltip:n,strClassName:o,dropDownControlRef:a,description:s,layout:l,bottomSeparator:c,highlightOnFocus:u,autoFocus:d,indentLevel:m,onContextMenu:h}=e,p=(0,r._T)(e,["label","tooltip","strClassName","dropDownControlRef","description","layout","bottomSeparator","highlightOnFocus","autoFocus","indentLevel","onContextMenu"]),{actionDescriptions:_,gamepadEvents:g,props:f}=(0,dt.CO)(p);return i.createElement(rt,Object.assign({className:o,label:t,description:null!=s?s:n,childrenLayout:null!=l?l:"inline",childrenContainerWidth:"fixed",bottomSeparator:c,highlightOnFocus:u,autoFocus:d,indentLevel:m,onContextMenu:h,actionDescriptionMap:_},g),i.createElement(be,Object.assign({menuLabel:t},f,{ref:a})))}function ht(e,t){for(const n of e.options){if(me(n)&&n.data===t)return!0;if(he(n)&&ht(n,t))return!0}return!1}function pt(e){const t=n=>null==n?void 0:n.map(((n,r)=>me(n)?i.createElement(ut.Zo,{key:r,onSelected:t=>e.onValueSelected&&e.onValueSelected(t,n),selected:e.selectedValue===n.data},i.createElement(i.Fragment,null,n.label)):he(n)?i.createElement(ut.D1,{label:n.label,key:r,selectedWithin:ht(n,e.selectedValue)},t(n.options)):null));return i.createElement(ut.xV,{onCancel:e.onCancel},t(e.rgOptions))}const _t=i.forwardRef((function(e,t){return i.createElement(k,{className:(0,l.Z)(ct().DropDownControlButton,e.className),focusable:e.focusable,disabled:e.disabled,onClick:e.onClick,tabIndex:e.tabIndex,ref:t},i.createElement("div",{className:tt().DropDownControlButtonContents},e.children,i.createElement("div",{className:tt().Spacer}),i.createElement(ze.$nC,{direction:"down"})))}));var gt=n(63613);i.forwardRef((function(e,t){const{className:n}=e,o=(0,r._T)(e,["className"]);let s=i.useRef(),l=(0,z.BE)(t,s);const[u,d]=i.useState(!1),m=i.useCallback((()=>{d((e=>!e)),window.setTimeout((()=>s.current.Focus()),1)}),[]);return i.createElement(a.s,{className:n,onOptionsButton:m,onOptionsActionDescription:(0,c.Xx)(u?"#Login_HidePassword":"#Login_ShowPassword")},i.createElement(Q,Object.assign({autoComplete:"off",ref:l,inlineControls:i.createElement(k,{className:gt.TogglePasswordVisibilityBtn,onPointerDown:m,onOKButton:m},u?i.createElement(ze.Hz5,null):i.createElement(ze.dQJ,null))},o,{type:u?"text":"password"})))}));i.forwardRef((function(e,t){var n;const{className:o}=e,a=(0,r._T)(e,["className"]),s=null!==(n=e.value)&&void 0!==n?n:"";return i.createElement(it,Object.assign({autoComplete:"off",value:s,ref:t,placeholder:" . . . "},a,{onChange:e=>{!function(e){const t=e.split(".");if(t.length>4)return!1;for(let e=0;e=0&&r<=255))return!1}return!0}(e.target.value)?e.target.value=s:a.onChange&&a.onChange(e)}}))}));var ft=n(67786),vt=n.n(ft),Ct=n(89855),Et=n(30928),bt=n(75962);n(20763);const wt=1,St=(0,bt.Qc)(vt()["error-shake-duration"]);function yt(e,t){return t<0?0:t>1?1:0==e?t:Math.round(t/e)*e}function It(e,t,n){const r=e+n*(t-e);return Number.parseFloat(r.toFixed(10))}function Rt(e,t,n){return(n-e)/(t-e)}var Dt;!function(e){e[e.None=0]="None",e[e.MouseDragging=1]="MouseDragging",e[e.TouchStart=2]="TouchStart",e[e.TouchDragging=3]="TouchDragging"}(Dt||(Dt={}));class Mt extends i.Component{get showHandle(){var e;return null===(e=this.props.showHandle)||void 0===e||e}get isKeyNavTarget(){var e;return null===(e=this.props.isKeyNavTarget)||void 0===e||e}get validRange(){return this.props.min0?t/this.range:.01;return Math.max(n,this.normalizedStep)}get normalizedClampedValue(){const e=null==this.props.value||isNaN(this.props.value)?this.props.min:(0,Te.Lh)(this.props.value,this.props.min,this.props.max);return Rt(this.props.min,this.props.max,e)}get normalizedDefaultValue(){const e=this.props.resetValue;if(!(null==e||isNaN(e)||ethis.props.max))return Rt(this.props.min,this.props.max,e)}get normalizedSliderOrigin(){const e=(0,Te.Lh)(0,this.props.min,this.props.max);return Rt(this.props.min,this.props.max,e)}get CanResetToDefault(){return null!=this.props.resetValue&&this.props.value!=this.props.resetValue}get SliderChangeSource(){switch(this.m_eDragMode){case Dt.MouseDragging:return 1;case Dt.TouchDragging:case Dt.TouchStart:return 0;case Dt.None:return}}constructor(e){super(e),this.m_refSlider=i.createRef(),this.m_refHandle=i.createRef(),this.m_navRefSlider=i.createRef(),this.m_sliderBounds=null,this.m_handleBounds=null,this.m_fZoom=1,this.m_eDragMode=Dt.None,this.m_vTouchStartPosition=(0,Ct.kN)(),this.m_fStartValue=null,this.m_fLatestUserValue=null,this.m_bInnerSliderHasFocus=!1,this.m_nRepeatCount=0,this.m_fStartValue=this.props.value,this.m_fLatestUserValue=this.props.value}RecomputeSliderBounds(){var e,t;this.m_sliderBounds=null===(e=this.m_refSlider.current)||void 0===e?void 0:e.getBoundingClientRect(),this.m_handleBounds=null===(t=this.m_refHandle.current)||void 0===t?void 0:t.getBoundingClientRect()}SetDragMode(e){var t,n,r,i,o,a,s,l;if(e!=this.m_eDragMode){switch(this.m_eDragMode=e,this.props.onChangeStart&&this.props.onChangeStart(this.SliderChangeSource),e){case Dt.MouseDragging:case Dt.TouchDragging:case Dt.TouchStart:this.RecomputeSliderBounds(),this.m_fStartValue=this.props.value,this.m_fLatestUserValue=this.props.value;case Dt.None:}switch(e){case Dt.MouseDragging:null===(n=null===(t=this.m_refSlider.current)||void 0===t?void 0:t.ownerDocument)||void 0===n||n.addEventListener("mousemove",this.OnWindowMouseMove,{passive:!1}),null===(i=null===(r=this.m_refSlider.current)||void 0===r?void 0:r.ownerDocument)||void 0===i||i.addEventListener("mouseup",this.OnWindowMouseUp,{passive:!1});break;case Dt.TouchStart:case Dt.TouchDragging:null===(a=null===(o=this.m_refSlider.current)||void 0===o?void 0:o.ownerDocument)||void 0===a||a.addEventListener("touchmove",this.OnWindowTouchMove,{passive:!1}),null===(l=null===(s=this.m_refSlider.current)||void 0===s?void 0:s.ownerDocument)||void 0===l||l.addEventListener("touchend",this.OnWindowTouchEnd,{passive:!1});break;case Dt.None:this.RemoveDocumentEventListeners()}}}OnGamepadDirection(e){var t,n;if(this.props.disabled)return!1;let r=0;if(e.detail.button==Ve.eV.DIR_LEFT)r=-1;else{if(e.detail.button!=Ve.eV.DIR_RIGHT)return!1;r=1}e.detail.is_repeat?this.m_nRepeatCount++:this.m_nRepeatCount=0;const i=1/this.normalizedDpadStep,o=Math.floor((0,Te.bU)(i,8,25,10,30)),a=Math.max(1,o/2),s=(0,Te.Lh)((this.m_nRepeatCount-a)/(o-a),0,1),l=s*s*(.05-this.normalizedDpadStep)+this.normalizedDpadStep,c=0==this.normalizedStep?Math.round(l/this.normalizedDpadStep)*this.normalizedDpadStep:Math.round(l/this.normalizedStep)*this.normalizedStep,u=Math.max(c,this.normalizedDpadStep)*r,d=yt(this.normalizedStep,this.normalizedClampedValue+u);let m=It(this.props.min,this.props.max,d);if(m=(0,Te.Lh)(m,null!==(t=this.props.clampMin)&&void 0!==t?t:this.props.min,null!==(n=this.props.clampMax)&&void 0!==n?n:this.props.max),m!=this.props.value){const e=m>this.m_fLatestUserValue;Ge.LT.PlayNavSound(e?Ge.qr.SliderUp:Ge.qr.SliderDown),this.m_fLatestUserValue=m,this.props.onChange&&this.props.onChange(m,2)}else Ge.LT.PlayNavSound(Ge.qr.FailedNav);return!0}ComputeNormalizedValueForMousePosition(e){if(null==this.m_sliderBounds)return 0;const t=e/this.m_fZoom,n=this.m_sliderBounds.right-this.m_sliderBounds.left,r=null==this.m_handleBounds?0:this.m_handleBounds.right-this.m_handleBounds.left,i=n-r;return(t-this.m_sliderBounds.left-r/2)/i}BShouldTriggerHapticOnSnap(){const e=this.normalizedStep;return e>0&&e>=1/40}PlayHaptic(e){var t,n,r,i;null===(i=null===(r=null===(n=null===(t=this.m_refSlider.current)||void 0===t?void 0:t.ownerDocument.defaultView.SteamClient)||void 0===n?void 0:n.OpenVR)||void 0===r?void 0:r.TriggerOverlayHapticEffect)||void 0===i||i.call(r,e)}UpdateSliderValueForPosition(e){var t,n;if(this.props.disabled||!this.m_refSlider.current)return;const r=this.ComputeNormalizedValueForMousePosition(e),i=yt(this.normalizedStep,r);let o=It(this.props.min,this.props.max,i);const a=null!==(t=this.props.clampMin)&&void 0!==t?t:this.props.min,s=null!==(n=this.props.clampMax)&&void 0!==n?n:this.props.max;if(o=(0,Te.Lh)(o,a,s),o!=this.props.value){const e=o>this.props.value,t=0==this.step;(this.m_eDragMode==Dt.None||!t)&&Ge.LT.PlayNavSound(e?Ge.qr.SliderUp:Ge.qr.SliderDown),this.m_fLatestUserValue=o,this.props.onChange&&this.props.onChange(o,this.SliderChangeSource)}}OnWindowMouseMove(e){this.UpdateSliderValueForPosition(e.clientX)}OnWindowMouseUp(e){this.m_eDragMode!=Dt.None&&this.Complete()}OnMouseDown(e){0==e.button&&(this.props.disabled||(e.preventDefault(),this.SetDragMode(Dt.MouseDragging),this.UpdateSliderValueForPosition(e.clientX)))}OnTouchStart(e){if(this.props.disabled||1!=e.touches.length)return;e.preventDefault();const t=this.ComputeNormalizedValueForMousePosition(e.touches[0].clientX);t<0||t>1||(this.SetDragMode(Dt.TouchStart),this.m_vTouchStartPosition={x:e.touches[0].clientX,y:e.touches[0].clientY})}OnWindowTouchMove(e){var t;if(1==e.touches.length){switch(this.m_eDragMode){case Dt.TouchStart:const n={x:e.touches[0].clientX,y:e.touches[0].clientY};if((0,Ct.iD)(this.m_vTouchStartPosition,n)>=10){const e=(0,Ct.UA)(this.m_vTouchStartPosition,n);Math.abs(e.x)>Math.abs(e.y)?(this.SetDragMode(Dt.TouchDragging),null===(t=this.m_refSlider.current)||void 0===t||t.focus()):this.SetDragMode(Dt.None)}break;case Dt.TouchDragging:this.UpdateSliderValueForPosition(e.touches[0].clientX)}e.preventDefault()}}OnWindowTouchEnd(e){this.m_eDragMode!=Dt.None&&this.Complete()}Complete(){const e=this.m_eDragMode!=Dt.None;this.props.onChange&&this.props.onChange(this.m_fLatestUserValue,this.SliderChangeSource),this.props.onChangeComplete&&this.props.onChangeComplete(this.m_fLatestUserValue,this.SliderChangeSource),this.SetDragMode(Dt.None);const t=0==this.step;if(this.m_fLatestUserValue!=this.m_fStartValue&&t&&e){const e=this.m_fLatestUserValue>this.m_fStartValue;Ge.LT.PlayNavSound(e?Ge.qr.SliderUp:Ge.qr.SliderDown)}}RemoveDocumentEventListeners(){var e,t,n,r,i,o,a,s;null===(t=null===(e=this.m_refSlider.current)||void 0===e?void 0:e.ownerDocument)||void 0===t||t.removeEventListener("mousemove",this.OnWindowMouseMove),null===(r=null===(n=this.m_refSlider.current)||void 0===n?void 0:n.ownerDocument)||void 0===r||r.removeEventListener("touchmove",this.OnWindowTouchMove),null===(o=null===(i=this.m_refSlider.current)||void 0===i?void 0:i.ownerDocument)||void 0===o||o.removeEventListener("mouseup",this.OnWindowMouseUp),null===(s=null===(a=this.m_refSlider.current)||void 0===a?void 0:a.ownerDocument)||void 0===s||s.removeEventListener("touchend",this.OnWindowTouchEnd)}componentDidMount(){this.m_fZoom=(0,z.KM)(this.m_refSlider.current)}componentWillUnmount(){this.RemoveDocumentEventListeners()}BlurInnerSlider(){var e;null===(e=this.m_navRefSlider.current)||void 0===e||e.ParentTakeFocus()}OnInnerSliderFocus(){this.m_bInnerSliderHasFocus=!0,this.m_fStartValue=this.props.value}OnInnerSliderBlur(){this.m_bInnerSliderHasFocus=!1,this.m_fStartValue!=this.m_fLatestUserValue&&this.Complete()}ResetToDefault(){if(!this.CanResetToDefault||this.m_eDragMode!=Dt.None)return;let e;this.m_fLatestUserValue=this.props.resetValue,this.props.onChange&&this.props.onChange(this.props.resetValue,4),this.m_bInnerSliderHasFocus?e=this.props.resetValue>this.m_fLatestUserValue:(e=this.props.resetValue>this.props.value,this.props.onChangeComplete&&this.props.onChangeComplete(this.props.resetValue,4)),Ge.LT.PlayNavSound(e?Ge.qr.SliderUp:Ge.qr.SliderDown)}OnContextMenu(e){if(null!=this.props.resetValue){const t=i.createElement(ut.xV,null,i.createElement(ut.Zo,{disabled:!this.CanResetToDefault,onSelected:this.ResetToDefault},(0,c.Xx)("#ResetToDefault")));(0,le.yV)(t,e)}}render(){var e,t;const n=null===(e=this.props.notchTicksVisible)||void 0===e||e,r=null===(t=this.props.focusable)||void 0===t||t,a=this.normalizedDefaultValue,s=this.normalizedSliderOrigin,u=null!=a,d={};this.CanResetToDefault&&(d[Ve.eV.SECONDARY]=(0,c.Xx)("#ResetToDefault"));let m=vt().SliderHandle,h=vt().SliderHandleContainer;return"verticalline"==this.props.handleType?(m=vt().VerticalLineSliderHandle,h=vt().VerticalLineSliderHandleContainer):"leftparen"!=this.props.handleType&&"rightparen"!=this.props.handleType||(m=(0,l.Z)(vt().ParenSliderHandle,"leftparen"==this.props.handleType?vt().Left:vt().Right),h=(0,l.Z)(vt().ParenSliderHandleContainer,"leftparen"==this.props.handleType?vt().Left:vt().Right)),i.createElement(Et.eh,{noFocusRing:!0,className:(0,l.Z)(vt().SliderControlPanelGroup,"SliderControlPanelGroup"),navRef:this.props.navRef,onMouseDown:e=>this.OnMouseDown(e.nativeEvent),onTouchStart:e=>this.OnTouchStart(e.nativeEvent),onOKActionDescription:this.props.disabled?null:(0,c.Xx)("#Slider_AdjustSlider"),focusable:r,childFocusDisabled:this.props.disabled||!r,onContextMenu:this.OnContextMenu,onOKButton:this.props.disabled?()=>Ge.LT.PlayNavSound(Ge.qr.FailedNav):null,onSecondaryButton:this.CanResetToDefault?this.ResetToDefault:void 0,onSecondaryActionDescription:this.CanResetToDefault?(0,c.Xx)("#ResetToDefault"):void 0,actionDescriptionMap:d},i.createElement(o.Ks,{className:(0,l.Z)(vt().SliderControlAndNotches,this.props.disabled&&vt().Disabled,u&&vt().WithDefaultValue),focusable:this.isKeyNavTarget,noFocusRing:!0,onFocus:this.OnInnerSliderFocus,onBlur:this.OnInnerSliderBlur,style:{"--normalized-slider-value":this.normalizedClampedValue,"--normalized-slider-default-value":a,"--normalized-slider-origin":s},ref:(0,z.dn)(this.m_refSlider,this.props.innerRef),navRef:this.m_navRefSlider,onGamepadDirection:this.OnGamepadDirection,onOKButton:this.BlurInnerSlider,onOKActionDescription:null,onCancelButton:this.BlurInnerSlider,onCancelActionDescription:(0,c.Xx)("#ActionButtonLabelDone")},i.createElement("div",{className:vt().SliderControl},i.createElement("div",{style:this.props.trackStyleOverride,className:(0,l.Z)(vt().SliderTrack,null!=this.props.notchCount&&n&&vt().SliderHasNotches,{[vt().SliderTrackDark]:"dark"===this.props.trackTone})}),u&&i.createElement("div",{className:vt().DefaultValueTickContainer},i.createElement("div",{className:vt().DefaultValueTick},i.createElement(ze.$nC,{direction:"down"}))),this.validRange&&null!=this.props.value&&!isNaN(this.props.value)&&this.showHandle&&i.createElement("div",{className:h},i.createElement("div",{className:m,ref:this.m_refHandle},"leftparen"==this.props.handleType&&i.createElement(ze.Tvf,null),"rightparen"==this.props.handleType&&i.createElement(ze.RCC,null)))),i.createElement(Tt,{notchCount:this.props.notchCount,notchLabels:this.props.notchLabels,sliderValue:this.normalizedClampedValue,notchTicksVisible:n})))}}function Tt(e){let{sliderValue:t,notchCount:n,notchLabels:r,notchTicksVisible:o}=e,s=null!=r?r:[];if(!n)return null;let c=!1,u=[];for(let e=0;et.notchIndex==e));r&&(c=!0),u.push(i.createElement(Bt,{key:e,notchIndex:e,sliderValue:t,notchLabel:r,notchCount:n,notchTicksVisible:o}))}return i.createElement(a.s,{className:(0,l.Z)(vt().SliderNotchContainer,c&&vt().HasNotchLabels)},u)}function Bt(e){var t;const n=e.notchIndex<=(e.notchCount-1)*e.sliderValue,r=2==e.notchCount&&!e.notchTicksVisible,o=r&&0==e.notchIndex,a=r&&1==e.notchIndex;return i.createElement("div",{className:(0,l.Z)(vt().SliderNotch,r&&vt().AlignToEnds)},e.notchTicksVisible&&i.createElement("div",{className:(0,l.Z)(vt().SliderNotchTick,n&&vt().TickActive)}),e.notchLabel&&i.createElement("div",{className:(0,l.Z)(vt().SliderNotchLabel,o&&vt().AlignToLeft,a&&vt().AlignToRight)},null===(t=e.notchLabel)||void 0===t?void 0:t.label))}(0,r.gn)([z.ak],Mt.prototype,"RecomputeSliderBounds",null),(0,r.gn)([z.ak],Mt.prototype,"SetDragMode",null),(0,r.gn)([z.ak],Mt.prototype,"OnGamepadDirection",null),(0,r.gn)([z.ak],Mt.prototype,"UpdateSliderValueForPosition",null),(0,r.gn)([z.ak],Mt.prototype,"OnWindowMouseMove",null),(0,r.gn)([z.ak],Mt.prototype,"OnWindowMouseUp",null),(0,r.gn)([z.ak],Mt.prototype,"OnMouseDown",null),(0,r.gn)([z.ak],Mt.prototype,"OnTouchStart",null),(0,r.gn)([z.ak],Mt.prototype,"OnWindowTouchMove",null),(0,r.gn)([z.ak],Mt.prototype,"OnWindowTouchEnd",null),(0,r.gn)([z.ak],Mt.prototype,"Complete",null),(0,r.gn)([z.ak],Mt.prototype,"BlurInnerSlider",null),(0,r.gn)([z.ak],Mt.prototype,"OnInnerSliderFocus",null),(0,r.gn)([z.ak],Mt.prototype,"OnInnerSliderBlur",null),(0,r.gn)([z.ak],Mt.prototype,"ResetToDefault",null),(0,r.gn)([z.ak],Mt.prototype,"OnContextMenu",null);const At=i.forwardRef(((e,t)=>{const{className:n}=e,o=(0,r._T)(e,["className"]);return i.createElement(a.s,{className:(0,l.Z)(vt().SliderControlWithIcon,n)},e.icon&&i.createElement(a.s,{onTouchStart:t=>e.onIconTouch&&e.onIconTouch(t),onClick:e.onIconClick,focusable:!1,className:(0,l.Z)(vt().Icon,"GamepadSliderIcon")},e.icon),i.createElement(Mt,Object.assign({},o,{ref:t})))}));function Ot(e){const{label:t,description:n,tabIndex:o,className:a,showValue:s,renderValue:l,valueSuffix:u,tooltip:d,layout:m,padding:h,bottomSeparator:p,notchCount:_,indentLevel:g,editableValue:f,highlightOnFocus:v,parentSliderRef:C,onOptionsButton:E,onOptionsActionDescription:b}=e,w=(0,r._T)(e,["label","description","tabIndex","className","showValue","renderValue","valueSuffix","tooltip","layout","padding","bottomSeparator","notchCount","indentLevel","editableValue","highlightOnFocus","parentSliderRef","onOptionsButton","onOptionsActionDescription"]),S=i.useRef(),y=i.useRef(),I=i.useRef(),R=(null!=l?l:ee)(e.value,e.valueSuffix),D=function(e){var t,n;const{min:r,max:o}=e,a=null!==(t=e.validValues)&&void 0!==t?t:"steps",s=null!==(n=e.step)&&void 0!==n?n:wt,l=i.useCallback((e=>"number"==typeof e&&!Number.isNaN(e)),[]),c=i.useCallback((e=>!!l(e)&&(e>=r&&e<=o)),[l,r,o]),u=i.useCallback((e=>!!c(e)&&(0==s||(e-r)/s%1==0)),[c,r,s]),d=i.useCallback((e=>!(!l(e)||"function"!=typeof a)&&a(e)),[l,a]);switch(a){case"all":return l;case"range":return c;case"steps":return u;default:return d}}(e),[M,T]=i.useState(!1),B=()=>{e.onChangeStart&&e.onChangeStart(3),T(!0)},A=t=>{D(t)&&(e.onChange&&e.onChange(t,3),e.onChangeComplete&&e.onChangeComplete(t,3)),T(!1)};i.useLayoutEffect((()=>{var e,t;!M&&(null===(e=I.current)||void 0===e?void 0:e.BHasFocus())&&(null===(t=y.current)||void 0===t||t.TakeFocus())}),[I,y,M]);let O=t;f?O=i.createElement(i.Fragment,null,i.createElement("div",{className:vt().LabelText},e.label),i.createElement(Ft,{navRef:I,editing:M,renderedValue:R,valueSuffix:e.valueSuffix,onClick:B,onChangeComplete:A,validator:D})):s&&(O=i.createElement(i.Fragment,null,i.createElement("div",{className:vt().LabelText},e.label),i.createElement("div",{className:vt().DescriptionValue},R)));const F=i.useRef(null),L=i.useCallback((e=>{var t;null===(t=F.current)||void 0===t||t.OnTouchStart(e.nativeEvent)}),[F]),k=i.useCallback((e=>{var t;null===(t=F.current)||void 0===t||t.OnContextMenu(e)}),[F]),N=(0,z.BE)(F,C),x=f?B:void 0,P=f?(0,c.Xx)("#Slider_EditValue"):void 0;let V=E||x,G=E?b:P,U=E?x:void 0,H=E?P:void 0;return i.createElement(rt,{childrenLayout:null!=m?m:"below",padding:h,bottomSeparator:p,childrenContainerWidth:"fixed",label:O,description:n,ref:S,className:a,onTouchStart:L,onContextMenu:k,indentLevel:g,onMenuActionDescription:H,onMenuButton:U,highlightOnFocus:v,onOptionsButton:V,onOptionsActionDescription:G},i.createElement(At,Object.assign({ref:N,notchCount:_,focusable:!M,navRef:y},w)))}function Ft(e){const{editing:t,renderedValue:n,valueSuffix:r,onClick:a,onChangeComplete:s,navRef:u,validator:d}=e,m=i.useRef(),h=i.useRef(),p=i.useRef(),_=(0,z.BE)(u,p),{fnTriggerErrorShake:g,bPlayingErrorShake:f}=function(e){const[t,n]=i.useState(!1),r=i.useRef(),o=i.useRef(),a=i.useCallback((()=>{window.clearTimeout(r.current),r.current=window.setTimeout((()=>{var t,n,r;null===(t=e.current)||void 0===t||t.classList.remove(vt().ErrorShake),null===(n=e.current)||void 0===n||n.getBoundingClientRect(),null===(r=e.current)||void 0===r||r.classList.add(vt().ErrorShake)}),0),n(!0),window.clearTimeout(o.current),o.current=window.setTimeout((()=>n(!1)),St)}),[e]);return i.useEffect((()=>()=>{window.clearTimeout(r.current),window.clearTimeout(o.current)}),[]),{fnTriggerErrorShake:a,bPlayingErrorShake:t}}(m),v=t||f,[C,E]=i.useState("");i.useEffect((()=>{v||E("")}),[v]);const b=d(Number.parseFloat(C)),w=i.useRef(!1),S=i.useCallback((e=>{!b&&C.length>0&&g(),w.current||(b||e)&&(s(Number.parseFloat(C)),w.current=!0)}),[b,C,g,s]),y=i.useCallback((()=>{var e;return null===(e=h.current)||void 0===e?void 0:e.TakeFocusAndShowKeyboard()}),[h]),I=i.useRef(!1);i.useLayoutEffect((()=>{t&&!I.current&&y(),I.current=t}),[p,t,y]);const R=f||v&&!b&&C.length>0&&"-"!=C,D=(0,l.Z)(vt().DescriptionValue,R&&vt().RedBorder),[M,T]=i.useState(0),[B,A]=i.useState(0),O=i.useRef(),F=i.useCallback((()=>{const e=O.current.clientWidth;v?A(e):T(e)}),[v]);i.useLayoutEffect(F,[]);const L=(0,z.yU)(F),k=(0,z.BE)(O,L);i.useLayoutEffect((()=>{var e,t;(null===(e=p.current)||void 0===e?void 0:e.BHasFocus())&&(null===(t=p.current)||void 0===t||t.Node().ForceMeasureFocusRing())}),[B]);const N=v?C:n,x=v?Math.max(M,B):M;return i.createElement("div",{className:D},i.createElement("div",{className:vt().FakeEditableValue,ref:k},N),i.createElement(o.bX,{refKeyboardHandle:h,navRef:_,ref:m,focusable:t,className:vt().EditableValue,style:{width:x},onEnterKeyPress:()=>S(!1),strEnterKeyLabel:(0,c.Xx)("#ActionButtonLabelDone"),onClick:a,onFocus:()=>w.current=!1,onBlur:()=>S(!0),value:N,placeholder:n,onChange:e=>E(e.target.value.trim()),onCancelButton:()=>S(!0),onCancelActionDescription:(0,c.Xx)("#ActionButtonLabelDone"),onOKButton:y,onOKActionDescription:(0,c.Xx)("#Slider_EditValue"),onOptionsActionDescription:void 0,onOptionsButton:y}))}i.forwardRef(((e,t)=>{const{label:n,labelIndex:r,xOffset:o,onResize:a,OnMouseDown:s,OnTouchStart:l}=e;i.useEffect((()=>{a(r)}),[a,r]);const c=i.useCallback((e=>{a(r)}),[a,r]),u=(0,z.yU)(c),d=(0,z.BE)(u,t);return i.createElement("div",{className:vt().CompoundSliderSubSliderLabel,ref:d,onMouseDown:s,onTouchStart:l,style:{transform:`translateX(${o}px)`}},i.createElement("div",{className:vt().CompoundSliderSubSliderLabelInternal},n))}));const Lt=i.forwardRef((function(e,t){const{value:n,onChange:r,disabled:a,navRef:s}=e;return i.createElement(o.Ks,{noFocusRing:!0,className:(0,l.Z)(tt().Toggle,{[tt().Disabled]:!!a,[tt().On]:!!n}),onClick:()=>{if(!a&&r){const e=!n;r(e),Ge.LT.PlayNavSound(e?Ge.qr.ToggleOn:Ge.qr.ToggleOff)}},ref:t,navRef:s},i.createElement("div",{className:tt().ToggleRail}),i.createElement("div",{className:tt().ToggleSwitch}))}));class kt extends V{OnToggleChange(e){this.props.disabled||e===this.checked||this.Toggle()}render(){const e=!!this.props.disabled,{actionDescriptions:t,gamepadEvents:n}=(0,dt.CO)(this.props);return i.createElement(rt,Object.assign({className:this.props.className,disabled:e,label:this.props.label,icon:this.props.icon,description:this.props.description,padding:this.props.padding,bottomSeparator:this.props.bottomSeparator,highlightOnFocus:this.props.highlightOnFocus,inlineWrap:"keep-inline",onContextMenu:this.props.onContextMenu,actionDescriptionMap:t},n),i.createElement(Lt,{onChange:this.OnToggleChange,value:this.checked,disabled:e,navRef:this.props.navRef}))}}(0,r.gn)([z.ak],kt.prototype,"OnToggleChange",null);var Nt=n(22612);function xt(e){const{children:t,bCenterVertically:n}=e,o=(0,r._T)(e,["children","bCenterVertically"]),s=(0,l.Z)(tt().GamepadDialogContent,"DialogContent _DialogLayout",e.className,n&&" _DialogCenterVertically"),{ref:c,navRef:u}=(0,Nt.$1)();return i.createElement(a.s,Object.assign({},o,{className:s,ref:c,navRef:u}),i.createElement(a.s,{className:(0,l.Z)(tt().GamepadDialogContent_InnerWidth,"DialogContent_InnerWidth")},t))}var Pt,Vt=n(96931),Gt=n.n(Vt),Ut=n(32873),Ht=n(26171);function Wt(e){const{childrenKey:t,childrenClasses:n,children:r,directionClass:o,animate:a=!0}=e,s=(0,l.Z)(Gt().TransitionGroup,o);return i.createElement(Ut.Z,{className:s,appear:!1,enter:a,exit:a},i.createElement(jt,{key:t,childrenClasses:n},r))}function jt(e){const{sizeClass:t,children:n,childrenClasses:o}=e,s=(0,r._T)(e,["sizeClass","children","childrenClasses"]),[c,u,d,m]=function(){let e=i.useRef(),t=i.useRef();i.useLayoutEffect((()=>{let n=e.current;if(!n||t.current)return;t.current={element:n,activeProps:new Set,bExiting:!1,fnDone:null};let r=t.current,i=e=>{e.target==n&&r.activeProps.add(e.propertyName)};n.addEventListener("transitionrun",i,!1);let o=e=>{e.target==n&&(r.activeProps.delete(e.propertyName),r.fnDone&&0==r.activeProps.size&&r.bExiting&&r.fnDone())};n.addEventListener("transitionend",o,!1),n.addEventListener("transitioncancel",o,!1)}),[]);let n=i.useCallback((e=>{t.current?t.current.fnDone=e:e()}),[t]),r=i.useCallback((()=>{t.current&&(t.current.bExiting=!1)}),[t]),o=i.useCallback((()=>{t.current&&(t.current.bExiting=!0)}),[t]);return[e,n,r,o]}(),h=i.useRef(!0),p=i.useCallback((()=>h.current),[h]),_=i.useCallback((()=>{h.current=!0,d()}),[d]),g=i.useCallback((()=>{h.current=!1,m()}),[m]),f=e.childrenClasses,v={enter:f.enterStart,enterActive:f.enterEnd,exit:f.exitStart,exitActive:f.exitEnd};return c.current&&!c.current.ownerDocument.defaultView?null:i.createElement(Ht.Z,Object.assign({nodeRef:c,classNames:v,in:!0,timeout:1e4,addEndListener:u,onEntering:_,onExiting:g},s),i.createElement("div",{ref:c,className:(0,l.Z)(Gt().ContentWrapper,t,f.base)},i.createElement(a.s,{className:t,fnCanTakeFocus:p},e.children)))}function zt(e,t){return{base:t,enterStart:e.Enter,enterEnd:e.EnterActive,exitStart:e.Exit,exitEnd:e.ExitActive}}!function(e){e[e.None=0]="None",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Up=3]="Up",e[e.Down=4]="Down"}(Pt||(Pt={}));var Kt=n(4532),Xt=n.n(Kt);const Zt=i.createContext(null);function $t(e){const t=i.useContext(Zt),{title:n,icon:o,active:s}=e,l=(0,r._T)(e,["title","icon","active"]);return i.createElement(a.s,Object.assign({preferredFocus:s,navRef:s?t:null,noFocusRing:!0,onActivate:l.onClick,onFocus:l.onClick},l),o&&i.createElement("div",{className:Xt().PageListItem_Icon},o),i.createElement("div",{className:Xt().PageListItem_Title},n))}function Yt(e){return i.createElement("div",{className:Xt().Separator})}const qt=i.forwardRef((function(e,t){const n=i.useRef(),[r,o]=i.useState(!0);i.useEffect((()=>{var t;r&&e.bNoInitialLeftColumnFocus||null===(t=n.current)||void 0===t||t.TakeFocus(),o(!1)}),[e.page,e.bNoInitialLeftColumnFocus]);const a=Boolean(e.showTitle);return i.createElement(Zt.Provider,{value:n},i.createElement(Ye,Object.assign({},e,{stylesheet:Xt(),showTitle:a,renderPageListItem:$t,renderPageListSeparator:Yt,renderPageAnimation:Qt})))}));function Qt(e){let t=Pt.None;"up"==e.direction?t=Pt.Up:"down"==e.direction&&(t=Pt.Down);let n=(r=Xt(),(o=t)==Pt.Left?r.Left:o==Pt.Right?r.Right:o==Pt.Up?r.Up:o==Pt.Down?r.Down:"");var r,o;return i.createElement(Wt,{childrenKey:e.activePage.identifier,childrenClasses:zt(Xt(),Xt().ContentTransition),directionClass:n,animate:t!=Pt.None},e.children)}},39884:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(33940),i=n(89526);function o(e){const{component:t,fallback:n,componentRef:o}=e,a=(0,r._T)(e,["component","fallback","componentRef"]),[[s,l]]=i.useState([t,n]),c=null!=s?s:l;return i.createElement(c,Object.assign(Object.assign({},a),{ref:o}))}},17547:(e,t,n)=>{"use strict";n.d(t,{AP:()=>a,SV:()=>s});var r=n(33940),i=n(89526),o=n(4306);function a(e){return function(t){return i.createElement(s,null,i.createElement(e,Object.assign({},t)))}}class s extends i.Component{constructor(e){super(e),this.state={},this.state.lastErrorKey=e.errorKey}static InstallErrorReportingStore(e){this.sm_ErrorReportingStore=e}componentDidCatch(e,t){const n=s.sm_ErrorReportingStore;n?n.ReportError(e).then((e=>e&&this.setState({identifierHash:e.identifierHash}))):console.warn("No ErrorReportingStore - use ErrorReportingStore().Init() to configure error reporting to server"),this.setState({error:{error:e,info:t},lastErrorKey:this.props.errorKey})}Reset(){this.setState({error:null})}render(){const{children:e,fallback:t,errorKey:n}=this.props,{error:r,identifierHash:o,lastErrorKey:a}=this.state;return r&&n==a?void 0!==t?"function"==typeof t?t(r.error):t:s.sm_ErrorReportingStore&&s.sm_ErrorReportingStore.reporting_enabled?i.createElement(c,{error:r,identifierHash:o,store:s.sm_ErrorReportingStore,onRefresh:this.Reset}):i.createElement(l,{error:r,onDismiss:this.Reset}):e||null}}(0,r.gn)([o.ak],s.prototype,"Reset",null);const l=({error:e,onDismiss:t})=>{let n=e.error?e.error.stack:"Stack missing",r=e.info?e.info.componentStack:"",o=e.error&&e.error.message||"unknown error";return i.createElement(u,null,i.createElement(d,null,'Error: "',o,'"'),"   ",i.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:t},"(x) Dismiss"),i.createElement("br",null),i.createElement(m,null,n),i.createElement(m,null,"The error occurred while rendering:",r))},c=e=>{const{error:t,onRefresh:n,identifierHash:r,store:o}=e,a=t.error&&t.error.message||"unknown error",s=`${o.product}_${o.version}_${r}`;return i.createElement(u,null,i.createElement(d,null,"Something went wrong while displaying this content. ",i.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:n},"Refresh")),i.createElement(m,null,"Error Reference: ",s),i.createElement(m,null,a))},u=({children:e})=>i.createElement("div",{style:{overflow:"auto",marginLeft:"15px",color:"white",fontSize:"16px",userSelect:"auto",backgroundColor:"black"},className:"ErrorBoundary"},e),d=({children:e})=>i.createElement("h1",{style:{fontSize:"20px",display:"inline-block",marginTop:"15px",userSelect:"auto"}},e),m=({children:e})=>i.createElement("pre",{style:{marginTop:"15px",opacity:.7,userSelect:"auto"}},e)},16826:(e,t,n)=>{"use strict";n.d(t,{$nC:()=>a,Hz5:()=>h,RCC:()=>g,Tvf:()=>_,Tx5:()=>m,bbz:()=>c,dQJ:()=>p,dqu:()=>d,olm:()=>o,tkI:()=>u,vVQ:()=>s,yBp:()=>l});var r=n(33940),i=n(89526);n(78423),n(40971),n(99825);function o(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{d:"M27.5 24C29.4972 21.1283 30.3471 17.6129 29.8823 14.146C29.4174 10.679 27.6716 7.5117 24.9884 5.26751C22.3052 3.02332 18.8792 1.86488 15.3846 2.02023C11.8901 2.17559 8.58036 3.63349 6.10692 6.10692C3.63349 8.58036 2.17559 11.8901 2.02023 15.3846C1.86488 18.8792 3.02332 22.3052 5.26751 24.9884C7.5117 27.6716 10.679 29.4174 14.146 29.8823C17.6129 30.3471 21.1283 29.4972 24 27.5L30.26 33.77L30.62 33.41L33.44 30.59L33.8 30.23L27.5 24ZM16 25C14.22 25 12.4799 24.4722 10.9999 23.4832C9.51983 22.4943 8.36628 21.0887 7.68509 19.4442C7.0039 17.7996 6.82567 15.99 7.17294 14.2442C7.52021 12.4984 8.37737 10.8947 9.63605 9.63605C10.8947 8.37737 12.4984 7.52021 14.2442 7.17294C15.99 6.82567 17.7996 7.0039 19.4442 7.68509C21.0887 8.36628 22.4943 9.51983 23.4832 10.9999C24.4722 12.4799 25 14.22 25 16C25 18.387 24.0518 20.6761 22.364 22.364C20.6761 24.0518 18.387 25 16 25Z",fill:"currentColor"}))}function a(e){const{direction:t}=e,n=(0,r._T)(e,["direction"]);switch(t){case"up":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{d:"M17.98 10.23L3.20996 25H32.75L17.98 10.23Z",fill:"currentColor"}));case"down":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{d:"M17.98 26.54L3.20996 11.77H32.75L17.98 26.54Z",fill:"currentColor"}));case"left":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{d:"M9.82497 18.385L24.595 3.61499L24.595 33.155L9.82497 18.385Z",fill:"currentColor"}));case"right":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{d:"M26.135 18.385L11.365 33.155L11.365 3.61503L26.135 18.385Z",fill:"currentColor"}))}}function s(e){const{direction:t}=e;(0,r._T)(e,["direction"]);switch(t){case"up":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fill:"currentColor",d:"M31 15.6394L18.0204 3L5 15.6394L8.60376 19.1432L18.0204 10.0076L27.4166 19.1432L31 15.6394ZM27.3962 33L18.0204 23.8644L8.62412 33L5 29.4962L18.0204 16.8568L31 29.4962L27.3962 33Z"}));case"down":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fill:"currentColor",d:"M31 20.3606L18.0204 33L5 20.3606L8.60376 16.8568L18.0204 25.9924L27.4166 16.8568L31 20.3606ZM27.3962 3L18.0204 12.1356L8.62412 3L5 6.50379L18.0204 19.1432L31 6.50379L27.3962 3Z"}));case"left":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{d:"M14.23 30.75L1.45996 18L14.23 5.20999L17.77 8.74999L8.53996 18L17.77 27.23L14.23 30.75ZM31.77 27.21L22.54 18L31.77 8.76999L28.23 5.20999L15.46 18L28.23 30.75L31.77 27.21Z",fill:"currentColor"}));case"right":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{d:"M19 30.75L31.77 18L19 5.20999L15.46 8.74999L24.69 18L15.46 27.23L19 30.75ZM1.46002 27.21L10.69 18L1.46002 8.76999L5.00002 5.20999L17.77 18L5.00002 30.75L1.46002 27.21Z",fill:"currentColor"}))}}function l(e){return i.createElement("svg",Object.assign({width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.63604 19.636C7.32387 17.9482 9.61305 17 12 17C12.4664 17 12.9292 17.0362 13.3844 17.1071C13.1338 18.0289 13 18.9988 13 20C13 25.0351 16.383 29.2801 21 30.5859V31H3V26C3 23.6131 3.94821 21.3239 5.63604 19.636ZM14.7779 13.1573C13.9556 13.7068 12.9889 14 12 14C10.6739 14 9.40215 13.4732 8.46447 12.5355C7.52678 11.5979 7 10.3261 7 9C7 8.0111 7.29324 7.0444 7.84265 6.22215C8.39206 5.39991 9.17295 4.75904 10.0866 4.3806C11.0002 4.00217 12.0055 3.90315 12.9755 4.09608C13.9454 4.289 14.8363 4.76521 15.5355 5.46447C16.2348 6.16373 16.711 7.05465 16.9039 8.02455C17.0969 8.99446 16.9978 9.99979 16.6194 10.9134C16.241 11.827 15.6001 12.6079 14.7779 13.1573Z",fill:"currentColor"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 28C28.4183 28 32 24.4183 32 20C32 15.5817 28.4183 12 24 12C19.5817 12 16 15.5817 16 20C16 24.4183 19.5817 28 24 28ZM22.5 21.5V26H25.5V21.5H30V18.5H25.5V14H22.5V18.5H18V21.5H22.5Z",fill:"currentColor"}))}function c(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{d:"M21.75 18C21.75 18.7417 21.5301 19.4667 21.118 20.0834C20.706 20.7001 20.1203 21.1807 19.4351 21.4645C18.7498 21.7484 17.9958 21.8226 17.2684 21.6779C16.541 21.5332 15.8728 21.1761 15.3484 20.6517C14.8239 20.1272 14.4668 19.459 14.3221 18.7316C14.1774 18.0042 14.2516 17.2502 14.5355 16.5649C14.8193 15.8797 15.2999 15.294 15.9166 14.882C16.5333 14.4699 17.2583 14.25 18 14.25C18.9946 14.25 19.9484 14.6451 20.6517 15.3483C21.3549 16.0516 21.75 17.0054 21.75 18ZM6 14.25C5.25832 14.25 4.5333 14.4699 3.91661 14.882C3.29993 15.294 2.81928 15.8797 2.53545 16.5649C2.25162 17.2502 2.17736 18.0042 2.32206 18.7316C2.46675 19.459 2.8239 20.1272 3.34835 20.6517C3.8728 21.1761 4.54098 21.5332 5.26841 21.6779C5.99584 21.8226 6.74984 21.7484 7.43506 21.4645C8.12029 21.1807 8.70596 20.7001 9.11801 20.0834C9.53007 19.4667 9.75 18.7417 9.75 18C9.75 17.0054 9.35491 16.0516 8.65165 15.3483C7.94839 14.6451 6.99456 14.25 6 14.25ZM30 14.25C29.2583 14.25 28.5333 14.4699 27.9166 14.882C27.2999 15.294 26.8193 15.8797 26.5355 16.5649C26.2516 17.2502 26.1774 18.0042 26.3221 18.7316C26.4668 19.459 26.8239 20.1272 27.3484 20.6517C27.8728 21.1761 28.541 21.5332 29.2684 21.6779C29.9958 21.8226 30.7498 21.7484 31.4351 21.4645C32.1203 21.1807 32.706 20.7001 33.118 20.0834C33.5301 19.4667 33.75 18.7417 33.75 18C33.75 17.0054 33.3549 16.0516 32.6517 15.3483C31.9484 14.6451 30.9946 14.25 30 14.25Z",fill:"currentColor"}))}function u(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.66645 5.52796C12.1332 3.87973 15.0333 3 18 3C19.9698 3 21.9204 3.38799 23.7403 4.14181C25.5601 4.89563 27.2137 6.00052 28.6066 7.3934C29.9995 8.78628 31.1044 10.4399 31.8582 12.2597C32.612 14.0796 33 16.0302 33 18C33 20.9667 32.1203 23.8668 30.472 26.3336C28.8238 28.8003 26.4811 30.7229 23.7403 31.8582C20.9994 32.9935 17.9834 33.2906 15.0737 32.7118C12.1639 32.133 9.49119 30.7044 7.3934 28.6066C5.29562 26.5088 3.86701 23.8361 3.28823 20.9264C2.70945 18.0166 3.0065 15.0006 4.14181 12.2597C5.27713 9.51886 7.19972 7.17618 9.66645 5.52796ZM9.5056 13.3333C9.17595 13.8266 9.00001 14.4067 9.00001 15C9.00001 15.7956 9.31608 16.5587 9.87869 17.1213C10.4413 17.6839 11.2044 18 12 18C12.5934 18 13.1734 17.8241 13.6667 17.4944C14.1601 17.1648 14.5446 16.6962 14.7716 16.1481C14.9987 15.5999 15.0581 14.9967 14.9424 14.4147C14.8266 13.8328 14.5409 13.2982 14.1213 12.8787C13.7018 12.4591 13.1672 12.1734 12.5853 12.0576C12.0033 11.9419 11.4001 12.0013 10.852 12.2284C10.3038 12.4554 9.83524 12.8399 9.5056 13.3333ZM22.3333 17.4944C22.8266 17.8241 23.4067 18 24 18C24.7957 18 25.5587 17.6839 26.1213 17.1213C26.6839 16.5587 27 15.7956 27 15C27 14.4067 26.8241 13.8266 26.4944 13.3333C26.1648 12.8399 25.6962 12.4554 25.1481 12.2284C24.5999 12.0013 23.9967 11.9419 23.4147 12.0576C22.8328 12.1734 22.2982 12.4591 21.8787 12.8787C21.4591 13.2982 21.1734 13.8328 21.0576 14.4147C20.9419 14.9967 21.0013 15.5999 21.2284 16.1481C21.4554 16.6962 21.8399 17.1648 22.3333 17.4944ZM23 22C23 23.3261 22.4732 24.5979 21.5355 25.5355C20.5979 26.4732 19.3261 27 18 27C16.6739 27 15.4021 26.4732 14.4645 25.5355C13.5268 24.5979 13 23.3261 13 22H23Z",fill:"currentColor"}))}function d(e){return i.createElement("svg",Object.assign({width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.7 15.2077C31.703 12.5623 30.94 9.97259 29.5032 7.75136C28.0664 5.53014 26.0172 3.77242 23.6031 2.69048C21.189 1.60855 18.5133 1.24869 15.8992 1.65436C13.2851 2.06002 10.8443 3.21387 8.87163 4.97655C6.89899 6.73922 5.47888 9.03532 4.78281 11.5875C4.08673 14.1397 4.14447 16.8389 4.94905 19.359C5.75363 21.8791 7.27063 24.1124 9.31684 25.7891C11.363 27.4658 13.8509 28.5142 16.48 28.8077V34.5077L27.31 25.2477C28.6947 23.9675 29.7996 22.4147 30.5551 20.6869C31.3106 18.959 31.7004 17.0935 31.7 15.2077ZM15.3 7.06885L16.3075 16.9577H20.1309L21.1039 7.06885H15.3ZM20.6927 22.0125C20.6927 23.3774 19.5862 24.4838 18.2213 24.4838C16.8564 24.4838 15.7499 23.3774 15.7499 22.0125C15.7499 20.6475 16.8564 19.5411 18.2213 19.5411C19.5862 19.5411 20.6927 20.6475 20.6927 22.0125Z",fill:"currentColor"}))}function m(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("g",{className:"SVGIcon_Notification"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32 24V26H4V24L8 19V12C8 9.34784 9.05357 6.8043 10.9289 4.92893C12.8043 3.05357 15.3478 2 18 2C20.6522 2 23.1957 3.05357 25.0711 4.92893C26.9464 6.8043 28 9.34784 28 12V19L32 24Z",fill:"currentColor"}),i.createElement("path",{className:"SVGIcon_Notification_Uvula",fillRule:"evenodd",clipRule:"evenodd",d:"M18 34C19.2396 33.9986 20.4483 33.6133 21.46 32.897C22.4718 32.1807 23.2368 31.1687 23.65 30H12.35C12.7632 31.1687 13.5282 32.1807 14.54 32.897C15.5517 33.6133 16.7604 33.9986 18 34Z",fill:"currentColor"})))}function h(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.73 28.34C15.6223 29.3235 18.732 29.4785 21.7078 28.7876C24.6836 28.0966 27.4069 26.5873 29.57 24.43L36 18L29.57 11.57C28 10 26.5 9 23.94 7.94C20.9843 6.77796 17.7541 6.50244 14.6444 7.14712C11.5346 7.7918 8.68012 9.32875 6.43 11.57L0 18L6.43 24.43C8.10419 26.1042 10.2596 27.5 12.73 28.34ZM18 25C21.866 25 25 21.866 25 18C25 14.134 21.866 11 18 11C14.134 11 11 14.134 11 18C11 21.866 14.134 25 18 25Z",fill:"currentColor"}))}function p(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{d:"M29.57 11.57L24.82 16.32C24.9485 16.8705 25.0089 17.4347 25 18C25 19.8565 24.2625 21.637 22.9497 22.9497C21.637 24.2625 19.8565 25 18 25C17.423 24.9983 16.8486 24.9244 16.29 24.78L12.73 28.34C15.6223 29.3235 18.732 29.4785 21.7078 28.7876C24.6836 28.0966 27.4069 26.5873 29.57 24.43L36 18L29.57 11.57Z",fill:"currentColor"}),i.createElement("path",{d:"M28.94 2.94L23.94 7.94C20.9843 6.77797 17.7541 6.50244 14.6444 7.14712C11.5346 7.79181 8.68012 9.32876 6.43 11.57L0 18L6.43 24.43C6.6 24.6 6.79 24.75 6.97 24.91L3.44 28.44L5.56 30.56L31.06 5.06L28.94 2.94ZM11 18C11.0002 16.8706 11.2736 15.7581 11.7969 14.7573C12.3203 13.7565 13.078 12.8971 14.0054 12.2527C14.9328 11.6082 16.0024 11.1977 17.1229 11.0561C18.2434 10.9146 19.3815 11.0463 20.44 11.44L11.44 20.44C11.1493 19.6593 11.0003 18.833 11 18Z",fill:"currentColor"}))}function _(e){return i.createElement("svg",{width:"5",height:"19",viewBox:"0 0 5 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5 0H3C1.34315 0 0 1.34315 0 3V16C0 17.6569 1.34315 19 3 19H5V0Z",fill:"white"}))}function g(e){return i.createElement("svg",{width:"5",height:"19",viewBox:"0 0 5 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M0 0H2C3.65685 0 5 1.34315 5 3V16C5 17.6569 3.65685 19 2 19H0V0Z",fill:"white"}))}},68493:(e,t,n)=>{"use strict";n.d(t,{t:()=>C});var r=n(33940),i=n(89526),o=n(73070),a=n(17547),s=n(37494),l=n(73961),c=n(32765);function u(e){const{ModalManager:t}=e,[n,r]=i.useState(void 0),[o,a]=i.useState(!0),s=i.useRef(0),l=i.useCallback((()=>{a(!0)}),[]);i.useEffect((()=>t.RegisterMeasureModalCallback(l).Unregister),[t,l]),i.useLayoutEffect((()=>{n||(r(t.TakeMeasureModalRequest()),a(!1))}),[t,n,o]);const c=i.useCallback((e=>{s.current++,r((t=>t===e?void 0:t))}),[]);return n?i.createElement(d,{key:s.current,onMeasureComplete:c,request:n}):null}function d(e){const[t,n]=i.useState(),r=(0,o.Wy)().ownerWindow;return i.useLayoutEffect((()=>{const e=r.document.body,t=r.document.createElement("div");return t.style.position="absolute",t.style.visibility="hidden",e.appendChild(t),n(t),()=>{e.removeChild(t)}}),[r]),t?l.createPortal(i.createElement(m,Object.assign({},e,{elContainer:t})),t):null}function m(e){const{elContainer:t,onMeasureComplete:n,request:o}=e;return i.useEffect((()=>{let e=!1;const i=t=>{e||(o.fnResults(t),n(o),e=!0)};return function(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){t&&(yield t);let n=document;c.De.IN_STEAMUI&&n.fonts&&(yield n.fonts.ready);const r=e.getBoundingClientRect();return{height:Math.ceil(r.height),width:Math.ceil(r.width)}}))}(t,o.promiseContentReady).then(i),()=>i(void 0)}),[t,n,o]),i.createElement(a.SV,null,o.rctToMeasure)}var h=n(19304),p=n(4306),_=n(84168),g=n(52321),f=n(78180);function v(e){i.useEffect((()=>{if(e)return document.body.classList.add(f.BodyNoScrollDialog),()=>document.body.classList.remove(f.BodyNoScrollDialog)}),[e])}function C(e){let{ModalManager:t,bRegisterModalManager:n=!0,DialogWrapper:a,style:s}=e,l=(0,r._T)(e,["ModalManager","bRegisterModalManager","DialogWrapper","style"]);const c=t.modals,d=c&&!!c.length,m=t.active_modal;v(d),function(e){const t=(0,o.Wy)().ownerWindow,n=(0,p.NW)(),r=i.useCallback((()=>{var e;(null===(e=null==t?void 0:t.SteamClient)||void 0===e?void 0:e.Window)&&t.SteamClient.Window.BringToFront()}),[t]);i.useEffect((()=>e.RegisterOverlay(n)),[e,n]),i.useEffect((()=>e.RegisterOnModalShownCallback(r).Unregister),[e,r])}(t);const f=function(e,t){return(0,p.xK)((n=>{if(!n||!t)return;const r=n.ownerDocument.defaultView;return g.Zp.RegisterModalManager(e,r)}),[e])}(t,n);let C=null;return c&&c.length?C=c.map((e=>e instanceof _.kv?i.createElement(b,{key:e.key,modal:e,active:e==m,Component:null!=a?a:w}):e instanceof _.QA?i.createElement(E,{key:e.key,modal:e,active:e==m}):void 0)):s=Object.assign(Object.assign({},s),{display:"none"}),i.createElement(i.Fragment,null,i.createElement("div",Object.assign({},l,{style:s,ref:f,className:(0,h.Z)(l.className,"FullModalOverlay")}),i.createElement("div",{className:"ModalOverlayContent ModalOverlayBackground"}),C),i.createElement(u,{ModalManager:t}),i.createElement(S,{ModalManager:t}))}function E(e){const{modal:t,active:n}=e;return i.useEffect((()=>n?(t.SetActive(n),()=>t.SetActive(!1)):void 0),[t,n]),i.createElement(a.SV,null,i.createElement("div",{className:(0,h.Z)("ModalOverlayContent",n?"active":"inactive"),ref:t.RefModalElement}))}function b(e){const{modal:t,active:n,Component:r}=e,o=(0,p.NW)();return(0,p.Qg)(t.ModalUpdatedCallback,o),i.createElement(a.SV,null,i.createElement(r,{className:(0,h.Z)("ModalOverlayContent",n?"active":"inactive"),active:n,modalKey:t.key},t.element))}const w=i.forwardRef((function(e,t){const{className:n,active:r,children:o}=e,a=i.useRef();i.useEffect((()=>{const e=a.current;if(e&&r){const t=e.firstChild;t&&t.focus&&t.focus()}}),[r]);const s=(0,p.BE)(a,t);return i.createElement("div",{ref:s,className:n,tabIndex:-1},o)}));function S(e){const{ModalManager:t}=e,n=(0,p.NW)();return(0,p.Qg)(t.LegacyPopupModalCountChangedCallbacks,n),i.createElement(i.Fragment,null,t.legacy_popup_modals.map((e=>i.createElement(s.l6,{key:e.key,Modal:e}))))}},99307:(e,t,n)=>{"use strict";n.d(t,{On:()=>E,Pv:()=>D,uH:()=>L,RG:()=>F,JX:()=>k,BL:()=>s.BL,e1:()=>g,D2:()=>b,Yy:()=>l});var r=n(89526),i=n(57605),o=n(73961),a=n(51594),s=n(52321);function l(e){const{active:t,children:n}=e,i=(0,a.$C)()||(0,s.BL)(window),l=(0,a.eR)(),[c,u]=r.useState(),[d,m]=r.useState(!1),h=r.useRef();if(r.useLayoutEffect((()=>{if(t){const e=i.ShowPortalModal(),t=e.OnElementReadyCallbacks.Register(u),n=e.OnModalActiveCallbacks.Register(m);return h.current=e.key,()=>{u(null),m(!1),e.Close(),t.Unregister(),n.Unregister()}}}),[i,t]),!c||!t)return null;let p=n;return l&&(p=r.createElement(l,{active:d,modalKey:h.current},n)),o.createPortal(p,c)}var c=n(16383),u=n(17547),d=n(701),m=n(60161),h=n(39884);const p=(0,c.Yt)("ModalPresentationContext",(()=>r.createContext({}))),_=()=>r.useContext(p);function g(e){const t=_();return r.createElement(h.T,Object.assign({component:t.ModalPosition,fallback:f},e))}function f(e){let t,n={};e.onEscKeypress&&(n.tabIndex=0,n.onKeyDown=t=>{27==t.keyCode&&e.onEscKeypress()},n.onMouseDown=t=>{t.currentTarget!==t.target||e.bDisableBackgroundDismiss||e.onEscKeypress()},t=e=>{e&&(m.ni(e,e.ownerDocument.activeElement)||e.focus())});let i=["ModalPosition"];e.className&&i.push(e.className),e.bDestructiveWarning&&i.push("Destructive");const o=e.renderContent||(e=>r.createElement("div",Object.assign({},e))),a=r.createElement(r.Fragment,null,!e.hideTopBar&&r.createElement("div",{className:"ModalPosition_TopBar"}),e.onEscKeypress&&!e.bHideCloseIcon&&r.createElement("div",{className:"ModalPosition_Dismiss"},r.createElement("div",{className:"closeButton",onClick:t=>{t.stopPropagation(),e.onEscKeypress()}},r.createElement(d.pVO,null))),r.createElement(u.SV,null,e.children));return r.createElement("div",Object.assign({className:i.join(" ")},n,{ref:t}),o({className:"ModalPosition_Content",children:a}))}n(86777),n(69159),n(92990);var v=n(4306),C=(n(73070),n(32765));n(86352);const E=({active:e,onDismiss:t,className:n,modalClassName:o,children:a})=>r.createElement(l,{active:e},r.createElement(g,{onEscKeypress:t,className:o},r.createElement(i.VY,{className:n},a)));function b(e){const{className:t,children:n}=e;return r.createElement(l,{active:!0},r.createElement("div",{className:t},n))}n(68493);var w=n(44026),S=n(17589),y=n(51438),I=n(83145),R=n(78180);function D(e){const{children:t,navID:n,closeModal:i}=e,o=r.createRef(),a=(0,I.L)(),s=e=>(e.stopPropagation(),e.preventDefault(),!0);return(0,C.id)()&&!C.De.IN_STEAMUI?r.createElement(w.Fe,{navID:n,NavigationManager:a,navTreeRef:o,onCancelButton:i,className:R.GamepadOnlyModalWrapper},r.createElement(S.O,null,r.createElement(y.s,{className:R.GamepadOnlyPanelWrapper,onGamepadDirection:s,focusableIfNoChildren:!0},t))):r.createElement(r.Fragment,null,t)}var M=n(33940),T=n(88464),B=n(14826),A=n(23801),O=n(19304);const F=(0,T.Pi)((e=>{const{onCancel:t,closeModal:n,bOKDisabled:o,onOK:a}=e,s=(0,C.id)();(0,A.X)(n||t,`Either closeModal or onCancel should be passed to GenericDialog. Classes: ${e.className} ${e.modalClassName}`);const l=r.useCallback((()=>{t&&t()||n&&n()}),[t,n]),c=r.useCallback((()=>(0,M.mG)(void 0,void 0,void 0,(function*(){o||(a&&(yield a()),n&&n())}))),[o,a,n]);return r.createElement(g,{onEscKeypress:l,className:e.modalClassName,bDestructiveWarning:e.bDestructiveWarning,bDisableBackgroundDismiss:e.bDisableBackgroundDismiss,bHideCloseIcon:e.bHideCloseIcon},r.createElement(i.oX,{classNameContent:(0,O.Z)("GenericConfirmDialog",e.bAllowFullSize&&"DialogContentFullSize",e.className),onSubmit:c,bCenterVertically:!s},e.children))}));let L=class extends r.Component{Cancel(){this.props.onCancel&&this.props.onCancel(),this.props.closeModal&&this.props.closeModal()}render(){const e=this.props,{strTitle:t,strDescription:n,strOKButtonText:o,strCancelButtonText:a,strMiddleButtonText:s,onMiddleButton:l,bAlertDialog:c,children:u}=e,d=(0,M._T)(e,["strTitle","strDescription","strOKButtonText","strCancelButtonText","strMiddleButtonText","onMiddleButton","bAlertDialog","children"]),m=o||(0,B.Xx)("#Button_Close");let h=r.createElement(i.o9,{bOKDisabled:this.props.bOKDisabled,bCancelDisabled:this.props.bCancelDisabled,strOKText:o,onCancel:this.Cancel,strCancelText:a});return c?h=r.createElement(i.KM,null,m):l&&(h=r.createElement(i.$0,{bOKDisabled:this.props.bOKDisabled,bCancelDisabled:this.props.bCancelDisabled,strOKText:o,onCancel:this.Cancel,strCancelText:a,onUpdate:()=>{l(),this.props.closeModal&&this.props.closeModal()},strUpdateText:s,bUpdateDisabled:this.props.bMiddleDisabled})),r.createElement(F,Object.assign({},d),r.createElement(i.h4,null," ",t||r.createElement(r.Fragment,null," ")," "),r.createElement(i.V5,{onCancelButton:this.Cancel},r.createElement(i.Ac,null,n,u),r.createElement(i.$_,null,h)))}};(0,M.gn)([v.ak],L.prototype,"Cancel",null),L=(0,M.gn)([T.Pi],L);let k=class extends r.Component{render(){const e=Object.assign({strTitle:(0,B.Xx)("#Error_FailureNotice"),strDescription:(0,B.Xx)("#Error_GenericFailureDescription"),bAlertDialog:!0,bDestructiveWarning:!0,onOK:()=>{},onCancel:()=>{}},this.props);return r.createElement(L,Object.assign({},e))}};k=(0,M.gn)([T.Pi],k)},37494:(e,t,n)=>{"use strict";n.d(t,{l6:()=>m,lc:()=>h});var r=n(89526),i=n(73961),o=n(73070),a=n(86777),s=n(69159),l=n(84168),c=n(51594),u=n(92990),d=n(32765);n(99307);function m(e){const{Modal:t}=e,{name:n,modalProps:l,options:m}=t,h=(0,o.Wy)().ownerWindow,{popup:p,element:_}=(0,a.B)(n,{title:l.strTitle,html_class:"client_chat_frame fullheight ModalDialogPopup LegacyPopup "+(l.className||""),body_class:"fullheight ModalDialogBody",popup_class:"fullheight popup_chat_frame",owner_window:void 0,replace_existing_popup:!0,target_browser:l.browserContext,availscreenwidth:h.screen.availWidth,availscreenheight:h.screen.availHeight,bModal:l.bHideMainWindowForPopouts},{updateParamsBeforeShow:e=>function(e,t,n,r){var i,o;let a,s,l,c=t.popupWidth||500,u=t.popupHeight||400;if(d.De.IN_CLIENT&&(null===(o=null===(i=null==r?void 0:r.SteamClient)||void 0===i?void 0:i.Browser)||void 0===o?void 0:o.GetBrowserID))l=r.SteamClient.Browser.GetBrowserID();else{let e=r.screen;a=(e.availWidth-c)/2,s=(e.availHeight-u)/2;let t=e;void 0!==t.availLeft&&void 0!==t.availTop&&(a+=t.availLeft,s+=t.availTop)}return Object.assign(Object.assign({},e),{dimensions:{width:c,height:u,left:a,top:s},center_on_window:n.bCenterOnWindow?r:void 0,window_opener_id:l})}(e,l,m,h),onClose:()=>l.fnOnClose&&l.fnOnClose()}),g=null==m?void 0:m.bHideActions,f="number"==typeof(null==m?void 0:m.nDragAreaHeight)?{height:m.nDragAreaHeight}:void 0;return _?i.createPortal(r.createElement(o.Rt,{ownerWindow:p},r.createElement("div",{className:"PopupFullWindow",onContextMenu:s.T},r.createElement(u.T,{hideMin:!0,hideMax:!0,popup:p,hideActions:g,style:f}),r.createElement(c.Y0,{browserInfo:l.browserContext,bCenterPopupsOnWindow:m.bCenterOnWindow},t.element))),_):null}class h extends l.kv{constructor(e,t,n,r){super(t),this.m_strName=e,this.m_modalProps=n,this.m_options=r}get name(){return this.m_strName}get modalProps(){return this.m_modalProps}get options(){return this.m_options}}},84168:(e,t,n)=>{"use strict";n.d(t,{QA:()=>l,kv:()=>s});var r=n(33940),i=n(26464),o=n(85246);class a{constructor(){this.key="Modal_"+a.sm_lastKey++}}a.sm_lastKey=0;class s extends a{constructor(e){super(),this.ModalUpdatedCallback=new o.pB,this.element=e}UpdateModal(e){this.element=e,this.ModalUpdatedCallback.Dispatch()}}class l extends a{constructor(){super(),this.m_OnElementReadyCallbacks=new o.pB,this.m_OnActiveModalCallbacks=new o.pB}get OnElementReadyCallbacks(){return this.m_OnElementReadyCallbacks}get OnModalActiveCallbacks(){return this.m_OnActiveModalCallbacks}RefModalElement(e){this.m_OnElementReadyCallbacks.Dispatch(e)}SetActive(e){this.m_OnActiveModalCallbacks.Dispatch(e)}}(0,r.gn)([i.a],l.prototype,"RefModalElement",null)},51594:(e,t,n)=>{"use strict";n.d(t,{Y0:()=>D,Yu:()=>B,eR:()=>T,$C:()=>M});var r=n(33940),i=n(89526),o=n(73961),a=n(74082),s=n(68493),l=n(52321),c=n(40103),u=n(30837),d=n(73070),m=n(46132),h=n(86777),p=n(69159),_=n(27713),g=n.n(_),f=n(17547),v=n(60161),C=n(4306);function E(e){const{manager:t,ownerWindow:n,browserInfo:r,bSuppressMouseOverlay:a}=e,s=(0,C.NW)(),l=n.document.body;(0,C.Qg)(t.OnMenusChanged,s);const c=!a&&t.BShouldRenderMouseOverlay(),u=t.GetAllMenus();return i.createElement(i.Fragment,null,c&&o.createPortal(i.createElement(p.Vc,null),l),u.map((e=>i.createElement(f.SV,{key:e.key},i.createElement(b,{instance:e,elRoot:l,browserInfo:r})))))}function b(e){var t;const{instance:n,elRoot:r,browserInfo:o,children:a}=e,s=M(),l=i.useRef(void 0);if(void 0===l.current)if(r){const e=r.ownerDocument.defaultView;l.current=(n.options.bForcePopup||e.innerWidth<400||s.BOnlyPopups())&&!!(null===(t=e.SteamClient)||void 0===t?void 0:t.Window)}else l.current=!0;const c=i.useMemo((()=>({instance:n,styles:g(),presentation:0})),[n]),u=a||n.ReactElement;return i.createElement(p.Yr.Provider,{value:c},l.current?i.createElement(S,{instance:n,browserInfo:o,children:u}):i.createElement(w,{instance:n,elRoot:r,children:u}))}function w(e){const{instance:t,elRoot:n,children:r}=e;return o.createPortal(i.createElement(p.Wn,Object.assign({},t.position),r),n)}function S(e){const{instance:t,browserInfo:n,children:r}=e,a=i.useRef(),s=(0,d.Wy)().ownerWindow,l=s.SteamClient.Browser.GetBrowserID(),c=i.useCallback((e=>{const{options:n,position:r}=t,i=r.element;if(n.bScreenCoordinates)e.dimensions={left:r.clientX,top:r.clientY,width:2,height:1};else{let t=v.sH(s,i.getBoundingClientRect());e.dimensions={left:t.right,top:t.top,width:2,height:1},e.availscreenwidth=s.screen.availWidth,e.availscreenheight=s.screen.availHeight}return e}),[s,t]);let u=t.options.bStandalone?(0,d.sB)(d.iJ.StandaloneContextMenu):(0,d.sB)(d.iJ.PopupContextMenu);t.options.bCreateHidden&&(u|=d.eL.Hidden),t.options.bAlwaysOnTop&&(u|=d.eL.AlwaysOnTop);const{popupObj:_,element:f}=(0,h.B)("contextmenu_"+t.key,{title:t.options.title||"Menu",html_class:g().ContextMenuPopup+" client_chat_frame",body_class:"ContextMenuPopupBody",replace_existing_popup:!1,target_browser:n,window_opener_id:l,bHideOnClose:!0,eCreationFlags:u},{updateParamsBeforeShow:c});return(0,i.useEffect)((()=>{if(_)if(t.visible){a.current&&a.current.PositionMenu(),a.current&&a.current.PositionPopupWindow();let e=t.options.bNoFocusWhenShown?m.IF.k_EWindowBringToFrontWithoutForcingOS:m.IF.k_EWindowBringToFrontAndForceOS;t.TakeFocus(e)}else t.options.bRetainOnHide&&window.setTimeout((()=>{_.window.SteamClient.Window.HideWindow()}),30)}),[_,t,t.visible]),B(_.window),i.useLayoutEffect((()=>{t.SetPopup(_)}),[t,_]),f?o.createPortal(i.createElement(p.Wn,Object.assign({ref:a},t.position,{parentWin:s,popup:_}),r),f):null}const y=i.createContext(null);function I(e){const{ActiveMenuComponent:t,refContextMenuManager:n,browserInfo:r,bRegisterMenuManager:o=!0,children:a}=e,s=(0,d.Wy)(),l=(null==s?void 0:s.ownerWindow)||window,m=i.useRef();m.current||(m.current=new u.u),i.useLayoutEffect((()=>{if(o)return c.Oo.SetMenuManager(l,m.current),()=>c.Oo.SetMenuManager(l,void 0)}),[l,o]),i.useLayoutEffect((()=>((0,C.k$)(n,m.current),()=>(0,C.k$)(n,void 0))),[n]);const h=t||E;return i.createElement(y.Provider,{value:m.current},i.createElement(h,{manager:m.current,ownerWindow:l,browserInfo:r}),a)}const R=i.createContext({}),D=i.memo((function(e){const{children:t,bRenderOverlayAtRoot:n,refModalManager:c,DialogWrapper:u,ContextMenuComponent:d,refContextMenuManager:m,browserInfo:h,bUsePopups:p,bOnlyPopups:_,bCenterPopupsOnWindow:g,bRegisterManagersWithWindow:v=!0}=e,C=(0,r._T)(e,["children","bRenderOverlayAtRoot","refModalManager","DialogWrapper","ContextMenuComponent","refContextMenuManager","browserInfo","bUsePopups","bOnlyPopups","bCenterPopupsOnWindow","bRegisterManagersWithWindow"]),E=i.useRef();E.current||(E.current=new l.pG);let b=i.createElement(s.t,Object.assign({},C,{DialogWrapper:u,ModalManager:E.current,bRegisterModalManager:v}));e.bRenderOverlayAtRoot&&(b=o.createPortal(b,document.body)),(0,a.LY)(c,E.current),i.useEffect((()=>{void 0!==p&&E.current.SetUsePopups(p),void 0!==g&&E.current.SetCenterPopupsOnWindow(g),void 0!==_&&E.current.SetOnlyPopups(_)}),[p,g,_]);const w=i.useMemo((()=>({ModalManager:E.current,DialogWrapper:u})),[u]);return i.createElement(R.Provider,{value:w},i.createElement(I,{ActiveMenuComponent:d,refContextMenuManager:m,browserInfo:h,bRegisterMenuManager:v},i.createElement(f.SV,null,b),e.children))}));function M(){return i.useContext(R).ModalManager}function T(){return i.useContext(R).DialogWrapper}function B(e){const t=M();i.useEffect((()=>{if(e)return l.Zp.RegisterModalManager(t,e)}),[e,t])}},52321:(e,t,n)=>{"use strict";n.d(t,{BL:()=>d,Zp:()=>u,pG:()=>l});n(89526);var r=n(16383),i=n(37494),o=n(23801),a=n(85246),s=(n(4306),n(84168));n(51594);class l{constructor(){this.m_bUsePopups=!0,this.m_bOnlyPopups=!1,this.m_bCenterPopupsOnWindow=!1,this.m_rgModals=[],this.m_OnModalCountChangedCallbacks=new a.pB,this.m_OnModalShownCallbacks=new a.pB,this.m_OnModalHiddenCallbacks=new a.pB,this.m_cMountedOverlays=0,this.m_rgMeasureModalRequests=[],this.m_OnMeasureModal=new a.pB,this.m_rgLegacyPopupModals=[],this.m_OnLegacyPopupModalCountChanged=new a.pB}get ModalCountChangedCallbacks(){return this.m_OnModalCountChangedCallbacks}get LegacyPopupModalCountChangedCallbacks(){return this.m_OnLegacyPopupModalCountChanged}RegisterOnModalShownCallback(e){return this.m_OnModalShownCallbacks.Register(e)}RegisterOnModalHiddenCallback(e){return this.m_OnModalHiddenCallbacks.Register(e)}RegisterMeasureModalCallback(e){return this.m_OnMeasureModal.Register(e)}TakeMeasureModalRequest(){return this.m_rgMeasureModalRequests.length?this.m_rgMeasureModalRequests.shift():void 0}RegisterOverlay(e){(0,o.X)(0==this.m_cMountedOverlays,"Duplicate modal DialogOverlay; modals will appear in both"),this.m_cMountedOverlays++;const t=this.m_OnModalCountChangedCallbacks.Register(e);return()=>{this.m_cMountedOverlays--,t.Unregister()}}OnModalCountChanged(e){"show"==e&&0==this.m_cMountedOverlays&&window.setTimeout((()=>{(0,o.X)(this.m_cMountedOverlays>0,"Modal was shown but ModalManager has no associated DialogOverlay")}),50),this.m_OnModalCountChangedCallbacks.Dispatch(this.m_rgModals.length),"show"==e?this.m_OnModalShownCallbacks.Dispatch(this.m_rgModals.length):"hide"==e&&this.m_OnModalHiddenCallbacks.Dispatch(this.m_rgModals.length)}get modals(){return this.m_rgModals}get active_modal(){return this.m_rgModals.length?this.m_rgModals[this.m_rgModals.length-1]:void 0}ShowModal(e){return this.ShowModalInternal(e)}RemoveModal(e){let t=this.m_rgModals.indexOf(e);-1!=t&&this.m_rgModals.splice(t,1),this.OnModalCountChanged("hide")}ShowModalInternal(e){(0,o.X)(!this.m_bOnlyPopups,"Attempting to show modal in popup-only modal manager; will not display.");const t=new s.kv(e);this.m_rgModals.push(t);const n={Close:()=>{this.RemoveModal(t)},Update:e=>{t.UpdateModal(e)}};return this.OnModalCountChanged("show"),n}ShowPortalModal(){(0,o.X)(!this.m_bOnlyPopups,"Attempting to show modal in popup-only modal manager; will not display.");const e=new s.QA;return this.m_rgModals.push(e),this.OnModalCountChanged("show"),{key:e.key,Close:()=>{this.RemoveModal(e)},OnElementReadyCallbacks:e.OnElementReadyCallbacks,OnModalActiveCallbacks:e.OnModalActiveCallbacks}}SetUsePopups(e){this.m_bUsePopups=e}BUsePopups(){return this.m_bUsePopups||this.m_bOnlyPopups}SetOnlyPopups(e){this.m_bOnlyPopups=e}BOnlyPopups(){return this.m_bOnlyPopups}SetCenterPopupsOnWindow(e){this.m_bCenterPopupsOnWindow=e}BCenterPopupsOnWindow(){return this.m_bCenterPopupsOnWindow}RequestModalMeasure(e,t,n){this.m_rgMeasureModalRequests.push({rctToMeasure:e,fnResults:t,promiseContentReady:n}),this.m_OnMeasureModal.Dispatch()}get legacy_popup_modals(){return this.m_rgLegacyPopupModals}ShowLegacyPopupModal(e,t,n,r){const o=()=>{let e=this.m_rgLegacyPopupModals.indexOf(a);-1!=e&&this.m_rgLegacyPopupModals.splice(e,1),this.m_OnLegacyPopupModalCountChanged.Dispatch(this.m_rgLegacyPopupModals.length),n.fnOnClose&&n.fnOnClose()},a=new i.lc(e,t,Object.assign(Object.assign({},n),{fnOnClose:o}),Object.assign({bCenterOnWindow:this.m_bCenterPopupsOnWindow},r));return this.m_rgLegacyPopupModals.push(a),this.m_OnLegacyPopupModalCountChanged.Dispatch(this.m_rgLegacyPopupModals.length),{Close:o,Update:e=>{a.UpdateModal(e)}}}}class c{constructor(){this.m_mapModalManager=new WeakMap}GetModalManager(e){let t=this.m_mapModalManager.get(e);return t||(console.assert(!1,`Early access to modal manager, creating one for ${e.document.title}`),t=new l,this.m_mapModalManager.set(e,t)),t}RegisterModalManager(e,t){(0,o.X)(!this.m_mapModalManager.has(t)||t==window,`Stomping CModalManager for ${t.document.title}!`);const n=this.m_mapModalManager.get(t);return this.m_mapModalManager.set(t,e),()=>{n?this.m_mapModalManager.set(t,n):this.m_mapModalManager.delete(t)}}UnregisterModalManager(e){this.m_mapModalManager.delete(e)}}const u=(0,r.Yt)("ModalManagerFactory",(()=>new c));function d(e){return u.GetModalManager(e)}},35993:(e,t,n)=>{"use strict";n.d(t,{d:()=>l});var r=n(89526),i=n(73961),o=n(60161),a=n(11837),s=n(30252);function l({config:e,isDynamic:t}){const n=t?u:c;return r.createElement(r.Fragment,null,Object.keys(e||{}).map((t=>r.createElement(n,{key:t,featureName:t,render:e[t]}))))}function c(e){const{featureName:t,render:n}=e,i=r.useMemo((()=>Array.from(document.querySelectorAll(`[data-featuretarget=${t}]`))),[t]);return i.length?r.createElement(r.Fragment,null,i.map(((e,i)=>r.createElement(d,{key:i,featureName:t,elem:e,render:n})))):null}function u(e){const{featureName:t,render:n}=e,i=(0,s.NW)(),l=r.useRef([]),c=r.useRef(0);return r.useEffect((()=>{const e=`[data-featuretarget=${t}]`;l.current=[],c.current=0;const n=e=>l.current.push({key:c.current++,elem:e}),r=e=>a.Qf(l.current,(t=>t.elem==e));document.querySelectorAll(e).forEach(n),l.current.length&&i();const s=new MutationObserver((t=>{let a=!1;for(const i of t)o.Eu(i,(t=>{m(t,e).forEach((e=>{n(e),a=!0}))}),(t=>{m(t,e).forEach((e=>{r(e),a=!0}))}));a&&i()}));return s.observe(document,{childList:!0,subtree:!0}),()=>s.disconnect()}),[t,i]),r.createElement(r.Fragment,null,l.current.map((({key:e,elem:i})=>r.createElement(d,{key:e,elem:i,featureName:t,render:n}))))}function d(e){const{featureName:t,elem:n,render:o}=e,a=r.useMemo((()=>function(e,t){if(!e)return{};try{const t=JSON.parse(e);if(!t||"object"!=typeof t||Array.isArray(t))throw new Error;return t}catch(n){return console.error(`There was a problem parsing props for feature target "${t}"`,n),console.log(`Problematic string: >>>${e}<<<`),{}}}(n.getAttribute("data-props"),t)),[n,t]);return(0,i.createPortal)(o(a),n)}function m(e,t){return e.matches(t)?[e]:e.querySelectorAll(t)}},57742:(e,t,n)=>{"use strict";n.d(t,{AM:()=>u,BR:()=>d,e1:()=>o.e1,x1:()=>c});var r=n(33940),i=n(89526),o=n(99307),a=n(23801),s=n(14826),l=n(32765);function c(e,t,n){return(0,r.mG)(this,void 0,void 0,(function*(){const l=(0,o.BL)(t),c=(null==n?void 0:n.bForcePopOut)||h(l);(0,a.X)(!(c&&(null==n?void 0:n.bNeverPopOut)),"Conflicting popout options; will ignore bNeverPopOut");const u=!c&&!0===(null==n?void 0:n.bNeverPopOut),p=h(l)||!u&&m(l,t),_=c&&(null==n?void 0:n.popupWidth)&&(null==n?void 0:n.popupHeight);let g;if(p&&!_){const t=i.cloneElement(e,{closeModal:()=>{}});g=yield function(e,t,n){return(0,r.mG)(this,void 0,void 0,(function*(){return new Promise(((r,i)=>{e.RequestModalMeasure(t,r,n)}))}))}(l,t,null==n?void 0:n.promiseRenderComplete)}const f=g&&g.height/t.innerHeight<.9&&g.width/t.innerWidth<.8;if(u||!c&&f)return d(e,t);{const r={strTitle:(null==n?void 0:n.strTitle)||(0,s.Xx)("#Dialog_DefaultWindowTitle"),fnOnClose:null==n?void 0:n.fnOnClose,popupWidth:(null==n?void 0:n.popupWidth)||(null==g?void 0:g.width),popupHeight:(null==n?void 0:n.popupHeight)||(null==g?void 0:g.height),bHideMainWindowForPopouts:null==n?void 0:n.bHideMainWindowForPopouts,className:null==n?void 0:n.className},i={bHideActions:null==n?void 0:n.bHideActionIcons},o=(null==n?void 0:n.browserContext)||t.browserInfo;return d(e,t,r.strTitle,r,o,i,l)}}))}function u(e,t,n){return(0,r.mG)(this,void 0,void 0,(function*(){return c(e,t,Object.assign({bHideMainWindowForPopouts:!0},n))}))}function d(e,t,n,r,a,s,l){let c,u;const d=e.props.closeModal,h=()=>{u&&u.Close(),d&&d(),(null==r?void 0:r.fnOnClose)&&r.fnOnClose()},p=()=>{c&&c.Close(),h()},_=i.cloneElement(e,{closeModal:p});if(m(l=l||(0,o.BL)(t),t)&&r&&n){if(r.bHideMainWindowForPopouts){const e=i.createElement(o.e1,{className:"Hidden",onEscKeypress:!_.props.bDisableBackgroundDismiss&&p},i.createElement("div",null));u=l.ShowModal(e)}const e=Object.assign(Object.assign({},r),{fnOnClose:h,browserContext:a});c=l.ShowLegacyPopupModal(n,_,e,s)}else c=l.ShowModal(_);return c}function m(e,t){return e=e||(0,o.BL)(t||window),l.De.USE_POPUPS&&e.BUsePopups()}function h(e){return e.BOnlyPopups&&e.BOnlyPopups()}},701:(e,t,n)=>{"use strict";n.d(t,{$06:()=>ae,$gZ:()=>f,BKy:()=>W,BNo:()=>Ae,Bh5:()=>Se,Cdc:()=>Xe,Ehc:()=>V,F8F:()=>_,Fsn:()=>Q,GhU:()=>B,Gue:()=>ge,I8b:()=>ve,IWH:()=>re,JrY:()=>L,KJh:()=>Be,KKY:()=>je,Lao:()=>X,Lk$:()=>me,MrB:()=>ce,NP6:()=>H,P9w:()=>ee,SUY:()=>E,Ucz:()=>le,Uos:()=>P,V7n:()=>q,VR:()=>ue,Vgm:()=>pe,WNf:()=>Ee,WWB:()=>Re,X:()=>y,XBH:()=>ie,YVI:()=>We,YVR:()=>J,YqJ:()=>j,YtI:()=>C,ZNm:()=>Y,Zrf:()=>g,_GE:()=>_e,c7E:()=>Ue,chI:()=>se,dCe:()=>Ze,dLw:()=>Ie,daM:()=>Ce,doA:()=>Oe,dzL:()=>O,faS:()=>k,ffh:()=>T,gR:()=>z,hoX:()=>Z,iS8:()=>F,j7C:()=>He,k4K:()=>w,lBf:()=>p,lsH:()=>ne,mBz:()=>Ge,mKE:()=>N,mKt:()=>be,miF:()=>xe,ncs:()=>h,nkn:()=>x,opd:()=>Fe,pUF:()=>D,pVO:()=>I,pkz:()=>M,r6F:()=>K,rFk:()=>$,ret:()=>v,shV:()=>A,sqQ:()=>Le,svY:()=>De,t6e:()=>d,tEX:()=>oe,tLe:()=>de,thP:()=>U,tkI:()=>b,uZu:()=>we,ui7:()=>te,vJ$:()=>ye,vyu:()=>ze,wn$:()=>fe,wx$:()=>G,x0L:()=>Ne,xg:()=>Te,yBp:()=>R,yRy:()=>S,yTr:()=>ke,yVt:()=>he,ydL:()=>m,yh4:()=>Me,z5E:()=>Ke});var r=n(33940),i=n(89526),o=n(19304),a=n(99727),s=n.n(a),l=n(32765),c=n(99825),u=n(87458);function d(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.48 35.05V29.35L16.51 29.34C13.4035 28.995 10.5086 27.5974 8.30636 25.3795C6.10411 23.1615 4.72712 20.2568 4.40423 17.1479C4.08134 14.039 4.83199 10.9133 6.53143 8.29011C8.23087 5.66691 10.7768 3.70423 13.7461 2.72822C16.7153 1.7522 19.9292 1.82163 22.8536 2.92496C25.7779 4.02829 28.2367 6.09909 29.8213 8.79322C31.4058 11.4874 32.0208 14.6426 31.564 17.7346C31.1071 20.8266 29.606 23.6692 27.31 25.79L16.48 35.05ZM10.36 15.65L15.77 21.05L25.39 11.43L23 9.04999L15.77 16.28L12.75 13.26L10.36 15.65Z",fill:"currentColor"}))}function m(e){return i.createElement("svg",Object.assign({width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{d:"M14 17C15.4706 16.9968 16.9289 17.2682 18.3 17.8C16.5605 19.2553 15.269 21.1737 14.5752 23.333C13.8814 25.4922 13.8137 27.8039 14.38 30H2V29C2 25.8174 3.26428 22.7652 5.51472 20.5147C7.76515 18.2643 10.8174 17 14 17Z",fill:"currentColor"}),i.createElement("path",{d:"M10.6666 2.01118C11.6533 1.35189 12.8133 1 14 1C15.5913 1 17.1174 1.63214 18.2426 2.75736C19.3679 3.88258 20 5.4087 20 7C20 8.18669 19.6481 9.34673 18.9888 10.3334C18.3295 11.3201 17.3925 12.0892 16.2961 12.5433C15.1997 12.9974 13.9933 13.1162 12.8295 12.8847C11.6656 12.6532 10.5965 12.0818 9.75736 11.2426C8.91824 10.4035 8.3468 9.33443 8.11529 8.17054C7.88378 7.00666 8.0026 5.80026 8.45672 4.7039C8.91085 3.60754 9.67988 2.67047 10.6666 2.01118Z",fill:"currentColor"}),i.createElement("path",{d:"M32.5 27C32.5 28.2856 32.1188 29.5423 31.4046 30.6112C30.6903 31.6801 29.6752 32.5132 28.4874 33.0052C27.2997 33.4972 25.9928 33.6259 24.7319 33.3751C23.471 33.1243 22.3128 32.5052 21.4038 31.5962C20.4948 30.6872 19.8757 29.529 19.6249 28.2681C19.3741 27.0072 19.5028 25.7003 19.9948 24.5126C20.4868 23.3248 21.3199 22.3097 22.3888 21.5954C23.4577 20.8812 24.7144 20.5 26 20.5",stroke:"currentColor",strokeWidth:"3"}),i.createElement("path",{d:"M32.7419 20.4742L25.9919 24.3713L25.9919 16.5771L32.7419 20.4742Z",fill:"currentColor"}))}function h(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M2 7H11V12H2V7ZM2 16H11V23L16 20.9545V31H2V16ZM20 31V20.9545L25 23V16H34V31H20ZM34 12H25V7H34V12ZM22 7H14V19L18 17.3636L22 19V7Z"}))}function p(e){const[t,n]=(0,c.y)();return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 23",fill:"none"},e),i.createElement("g",{clipPath:n},i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M6.9955 11.5L15 3.4955L11.5045 -1.52793e-07L0.00450275 11.5L11.5045 23L15 19.5045L6.9955 11.5Z"})),i.createElement("defs",null,i.createElement("clipPath",{id:t},i.createElement("rect",{fill:"currentColor",width:"15",height:"23"}))))}function _(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{d:"M18 17.8L4 10.05L18 2.29999L32 10.05L18 17.8ZM18 22.37L7.1 16.37L4 18.05L18 25.8L32 18.05L28.9 16.34L18 22.37ZM18 30.37L7.1 24.37L4 26.05L18 33.8L32 26.05L28.9 24.34L18 30.37Z",fill:"currentColor"}))}function g(e){const t=(0,o.Z)("SVGIcon_Button","SVGIcon_Settings",e.className);return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:t,x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"-305.5 396.5 256 256",enableBackground:"new -305.5 396.5 256 256"},i.createElement("path",{d:"M-232.755,589.942l3.103,2.408c5.78,4.492,11.973,8.18,18.409,10.959l3.581,1.547l2.276,33.783 c0.089,1.33,1.385,2.54,2.715,2.54h48.62c1.355,0,2.745-1.273,2.852-2.621l2.74-33.284l3.602-1.496 c6.406-2.656,12.646-6.262,18.554-10.707l3.137-2.366l30.578,15.009c1.155,0.571,2.924,0.017,3.563-1.087l24.303-42.1 c0.674-1.173,0.265-3.014-0.852-3.785l-27.872-19.309l0.469-3.832c0.495-4.032,0.725-7.395,0.725-10.57 c0-3.129-0.227-6.5-0.687-10.307l-0.469-3.896l28.699-19.253c1.112-0.741,1.509-2.473,0.84-3.627l-24.3-42.104 c-0.657-1.139-2.502-1.727-3.7-1.155l-31.208,14.748l-3.091-2.341c-5.571-4.224-11.466-7.688-17.522-10.306l-3.58-1.548 l-2.34-34.887c-0.089-1.33-1.381-2.536-2.715-2.536h-48.617c-1.355,0-2.74,1.274-2.851,2.626l-2.834,34.371l-3.593,1.501 c-6.082,2.535-12.028,5.924-17.667,10.071l-3.124,2.302l-31.392-15.413c-1.168-0.575-2.924-0.025-3.559,1.074l-24.309,42.107 c-0.678,1.172-0.264,3.014,0.848,3.781l28.068,19.444l-0.524,3.883c-0.592,4.378-0.865,8.018-0.865,11.462 c0,2.988,0.179,6.065,0.55,9.403l0.431,3.853l-28.528,19.125c-1.108,0.742-1.509,2.468-0.84,3.632l24.308,42.1 c0.656,1.142,2.489,1.726,3.7,1.154L-232.755,589.942z M-177.498,560.051c-19.311,0-35.02-15.709-35.02-35.02 s15.709-35.02,35.02-35.02s35.02,15.709,35.02,35.02S-158.188,560.051-177.498,560.051z",fill:"currentColor"}))}function f(){return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_DownArrowContextMenu","data-name":"Layer 1",viewBox:"0 0 128 128",x:"0px",y:"0px"},i.createElement("polygon",{points:"50 59.49 13.21 22.89 4.74 31.39 50 76.41 95.26 31.39 86.79 22.89 50 59.49"}))}function v(e){return i.createElement("svg",{style:{transform:`rotate(${e.angle}deg)`},version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24.833px",height:"21.917px",viewBox:"0 0 24.833 21.917"},i.createElement("polygon",{points:"12.5,14.873 3.302,5.723 1.185,7.848 12.5,19.103 23.814,7.848 21.697,5.723 "}))}function C(e){let t="SVGIcon_Button SVGIcon_MagnifyingGlass";return e.className&&(t+=` ${e.className}`),i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:t,version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 100"},i.createElement("g",{transform:"translate(0,-952.36218)"},i.createElement("path",{className:"ColorSelector",d:"m 40.99855,964.36216 c -15.9798,0 -28.9986,13.01864 -28.9986,28.99862 0,15.97992 13.0188,28.99862 28.9986,28.99862 6.9189,0 13.2881,-2.4349 18.2803,-6.4997 l 23.5927,23.6239 c 1.1714,1.1714 3.0784,1.1715 4.2498,0 1.1716,-1.1715 1.1716,-3.0783 0,-4.2498 l -23.6239,-23.5926 c 4.0649,-4.9923 6.4997,-11.3615 6.4997,-18.28042 0,-15.97998 -13.0187,-28.99862 -28.9986,-28.99862 z m 0,5.99972 c 12.7374,0 22.9989,10.26145 22.9989,22.9989 0,12.73732 -10.2615,22.99892 -22.9989,22.99892 -12.7374,0 -22.9989,-10.2616 -22.9989,-22.99892 0,-12.73745 10.2615,-22.9989 22.9989,-22.9989 z",fill:"currentColor",fillOpacity:"1",stroke:"none",visibility:"visible",display:"inline",overflow:"visible"})))}function E(){return i.createElement("svg",{className:"SVGIcon_Button SVGIcon_Clock",version:"1.1",x:"0px",y:"0px",width:"20px",height:"20px",viewBox:"0 0 20 20"},i.createElement("path",{d:"M15.999 15c-.15 0-.303-.034-.446-.105l-4-2A1.001 1.001 0 0111 12V5a1 1 0 012 0v6.382l3.447 1.724A1 1 0 0115.999 15zM12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2z"}))}function b(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Emoticon",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("circle",{fill:"none",stroke:"#ffffff",strokeWidth:"12",strokeMiterlimit:"10",cx:"128",cy:"128",r:"107.5"}),i.createElement("path",{fill:"none",stroke:"#ffffff",strokeWidth:"12",strokeLinecap:"round",strokeMiterlimit:"10",d:"M74.484,145.945 c0,0,12.996,37.533,53.514,37.533c38.084,0,53.499-37.533,53.499-37.533"}),i.createElement("line",{fill:"none",stroke:"#ffffff",strokeWidth:"12",strokeLinecap:"round",strokeMiterlimit:"10",x1:"94.5",y1:"97.5",x2:"94.5",y2:"109.5"}),i.createElement("line",{fill:"none",stroke:"#ffffff",strokeWidth:"12",strokeLinecap:"round",strokeMiterlimit:"10",x1:"160.5",y1:"97.5",x2:"160.5",y2:"109.5"}))}function w(e){return(0,l.id)()?i.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Submit"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.16683 8.982C4.10732 8.3908 3.83847 7.42693 4.15486 7.17995C4.46877 6.93489 4.7797 6.90487 5.90123 7.31306L31.1931 17.2282C32.2693 17.6503 32.2686 18.335 31.1931 18.7564L5.90123 28.6715C4.77972 29.1235 4.46864 29.0497 4.15487 28.8049C3.83836 28.5579 4.0953 27.5939 4.15484 27.0028L4.7797 21.2151C4.89862 20.0374 5.92644 18.9801 7.0706 18.854L15.467 18.4429C24.1686 17.9924 24.1686 17.9924 15.467 17.5419L7.0706 17.1313C5.92423 17.0053 4.89825 15.9476 4.7797 14.7706L4.16683 8.982Z",fill:"currentColor"})):i.createElement("svg",{fill:"#FFFFFF",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Submit",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 100"},i.createElement("g",{transform:"translate(0,-952.36218)"},i.createElement("path",{d:"m 92.115057,974.14842 a 2.0001999,2.0001999 0 0 0 -1.96764,2.02965 l 0.0376,31.19553 -77.475501,0 16.161909,-15.73013 a 2.0002746,2.0002746 0 1 0 -2.790355,-2.8667 L 6.3913393,1007.9405 a 2.0001999,2.0001999 0 0 0 -0.0011,2.8646 l 19.6896957,19.2036 a 2.0002671,2.0002671 0 1 0 2.792551,-2.8646 l -16.170767,-15.771 79.153048,0 a 2.0001999,2.0001999 0 0 0 1.72959,-0.5437 2.0001999,2.0001999 0 0 0 0.0598,-0.058 2.0001999,2.0001999 0 0 0 0.54259,-1.7218 l -0.0388,-32.87638 a 2.0001999,2.0001999 0 0 0 -2.03297,-2.02522 z",fill:"#FFFFFF",fillOpacity:"1",fillRule:"evenodd",stroke:"none",visibility:"visible",display:"inline",overflow:"visible"})))}function S(){return i.createElement("svg",{fill:"#FFFFFF",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Popout",viewBox:"0 0 8 8",x:"0px",y:"0px"},i.createElement("path",{d:"M0 0v8h8v-2h-1v1h-6v-6h1v-1h-2zm4 0l1.5 1.5-2.5 2.5 1 1 2.5-2.5 1.5 1.5v-4h-4z"}))}function y(e){return i.createElement("svg",Object.assign({fill:"#FFFFFF",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_X",version:"1.1",x:"0px",y:"0px",viewBox:"-165 95 100 100"},e),i.createElement("g",null,i.createElement("polygon",{points:"-74.9,117.2 -102.2,145 -74.9,172.8 -89.1,186.8 -116.2,159.3 -143.2,186.8 -157.5,172.8 -130.2,145 -157.5,117.2 -143.2,103.2 -116.2,130.7 -89.1,103.2"})))}function I(e){const t=e.color||"#FFFFFF";return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_X_Line",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("line",{fill:"none",stroke:t,strokeWidth:"45",strokeMiterlimit:"10",x1:"212",y1:"212",x2:"44",y2:"44"}),i.createElement("line",{fill:"none",stroke:t,strokeWidth:"45",strokeMiterlimit:"10",x1:"44",y1:"212",x2:"212",y2:"44"}))}function R(e){return(0,l.id)()?i.createElement("svg",Object.assign({width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.63604 19.636C7.32387 17.9482 9.61305 17 12 17C12.4664 17 12.9292 17.0362 13.3844 17.1071C13.1338 18.0289 13 18.9988 13 20C13 25.0351 16.383 29.2801 21 30.5859V31H3V26C3 23.6131 3.94821 21.3239 5.63604 19.636ZM14.7779 13.1573C13.9556 13.7068 12.9889 14 12 14C10.6739 14 9.40215 13.4732 8.46447 12.5355C7.52678 11.5979 7 10.3261 7 9C7 8.0111 7.29324 7.0444 7.84265 6.22215C8.39206 5.39991 9.17295 4.75904 10.0866 4.3806C11.0002 4.00217 12.0055 3.90315 12.9755 4.09608C13.9454 4.289 14.8363 4.76521 15.5355 5.46447C16.2348 6.16373 16.711 7.05465 16.9039 8.02455C17.0969 8.99446 16.9978 9.99979 16.6194 10.9134C16.241 11.827 15.6001 12.6079 14.7779 13.1573Z",fill:"currentColor"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 28C28.4183 28 32 24.4183 32 20C32 15.5817 28.4183 12 24 12C19.5817 12 16 15.5817 16 20C16 24.4183 19.5817 28 24 28ZM22.5 21.5V26H25.5V21.5H30V18.5H25.5V14H22.5V18.5H18V21.5H22.5Z",fill:"currentColor"})):i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_AddFriend",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("g",{className:"friendHead",transform:"matrix(1.34048,0,0,1.34048,-10.0942,-5.50445)"},i.createElement("circle",{cx:"86.296",cy:"47.419",r:"33.526"})),i.createElement("path",{className:"friendBody",d:"M100.353,170.882c0-23.589,10.397-44.736,26.842-59.152c-3.352-0.423-6.773-0.649-10.257-0.649H94.231\tc-39.775,0-56.481,28.271-56.481,63.099v41.88c0,0-0.3,16.369,35.917,21.813c36.217,5.444,73.651,5,73.651,5 C119.666,230.681,100.353,203.044,100.353,170.882z"}),i.createElement("path",{className:"plusCircle",d:"M179.01,103.892c-36.998,0-66.99,29.992-66.99,66.99s29.994,66.989,66.99,66.989c36.997,0,66.99-29.991,66.99-66.989 S216.008,103.892,179.01,103.892z M217.893,175.882h-33.647v33.882c0,2.762-2.239,5-5,5s-5-2.238-5-5v-33.882h-33.647 c-2.762,0-5-2.238-5-5c0-2.763,2.238-5,5-5h33.647V132.47c0-2.762,2.239-5,5-5s5,2.238,5,5v33.412h33.647c2.762,0,5,2.237,5,5 C222.893,173.643,220.654,175.882,217.893,175.882z"}))}function D(){return i.createElement("svg",{version:"1.1",id:"Layer_4",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_FriendRequest",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("g",{className:"friendHead",transform:"matrix(1.34048,0,0,1.34048,-10.0942,-5.50445)"},i.createElement("circle",{cx:"85.923",cy:"47.419",r:"33.526"})),i.createElement("path",{className:"friendBody",d:"M100.353,170.882c0-23.589,10.397-44.736,26.842-59.152c-3.352-0.423-6.773-0.649-10.257-0.649H94.231\tc-39.775,0-56.481,28.271-56.481,63.099v41.88c0,0-0.3,16.369,35.917,21.813c36.217,5.444,73.651,5,73.651,5 C119.666,230.681,100.353,203.044,100.353,170.882z"}),i.createElement("path",{className:"friendBodyFull",d:"M176.504,217.922v-42.624c0-35.443-17.002-64.217-57.483-64.217H106.96h-1.017H94.898 c-40.48,0.001-57.484,28.774-57.484,64.217v42.624c0,0,0,22.197,69.544,22.197C177.521,240.121,176.504,217.922,176.504,217.922z"}),i.createElement("path",{className:"friendArm",d:"M18.167,63.833c6.53-0.734,39.348,39.127,50.007,47.647s21.327,16.686,15.16,25.353s-20.646,16.74-36.167,2.5 S-1.349,90.532,0,85.333S8.599,64.909,18.167,63.833z"}),i.createElement("path",{className:"redCircle",d:"M178.51,103.892c-36.998,0-66.99,29.992-66.99,66.99s29.994,66.99,66.99,66.99c36.997,0,66.99-29.992,66.99-66.99 S215.508,103.892,178.51,103.892z"}))}function M(){return i.createElement("svg",{version:"1.1",id:"Layer_5",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Paperclip",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeMiterlimit:"10",d:"M167.768,62.647 l-0.012,123.052c0,24.729-19.334,44.856-43.096,44.866c-23.765-0.006-43.099-20.134-43.096-44.872L81.557,48.851 c0-15.345,14.483-27.827,29.83-27.83c15.342,0.003,27.827,12.488,27.833,27.833l-0.002,139.245 c0.003,6.376-8.546,12.925-14.925,12.925c0,0-13.929-0.166-13.929-12.928l0.003-124.839"}))}function T(e){const{muted:t,className:n}=e;return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:(0,o.Z)("SVGIcon_Button","SVGIcon_Volume",n),x:"0px",y:"0px",width:"256px",height:"255.999px",viewBox:"0 0 256 255.999"},i.createElement("g",{className:"Speaker"},i.createElement("path",{d:"M93.785,52.265c-0.946,0-2.357,0.63-3.304,1.577L40.284,98.022c-0.947,0.789-2.831,1.578-4.093,1.578H9.367 C8.104,99.6,7,100.706,7,101.967v52.069c0,1.264,1.104,2.367,2.367,2.367H36.19c1.262,0,3.146,0.632,4.093,1.578l50.197,44.181 c0.947,0.789,2.516,1.578,3.304,1.578s1.578-1.104,1.578-2.367V54.631C95.363,53.369,94.731,52.265,93.785,52.265z"})),!t&&i.createElement("g",{className:"SoundWaves"},i.createElement("path",{className:"SoundWavesHighest",d:"M193.826,30.402c24.959,24.958,40.349,59.403,40.349,97.604c0,38.199-15.388,72.645-40.349,97.603l9.916,9.916 c28.067-28.067,44.263-64.673,44.263-107.521c0-42.847-16.196-79.455-44.263-107.521"}),i.createElement("path",{className:"SoundWavesHigh",d:"M175.737,47.628l-8.924,8.924c18.271,18.27,29.536,43.484,29.536,71.448s-11.264,53.178-29.536,71.448l8.924,8.924 c20.546-20.546,33.234-49.008,33.234-80.374c0-31.366-12.688-59.829-33.234-80.374V47.628z"}),i.createElement("path",{className:"SoundWavesMed",d:"M148.913,74.454l-8.925,8.925c11.488,11.488,18.491,27.236,18.491,44.624c0,17.388-7.054,33.281-18.491,44.575l8.875,8.975 c13.811-13.635,22.239-32.753,22.239-53.55c0-20.797-8.432-39.793-22.189-53.55V74.454z"}),i.createElement("path",{className:"SoundWavesLow",d:"M121.989,101.229l-8.778,9.073c4.641,4.516,7.397,10.706,7.397,17.702c0,6.995-2.755,13.186-7.397,17.702l8.778,9.073 c7.035-6.844,11.243-16.413,11.243-26.775C133.232,117.643,129.024,108.075,121.989,101.229z"})),i.createElement("g",{className:"SoundX"},i.createElement("line",{fill:"none",strokeWidth:t?10:0,stroke:"#fff",strokeMiterlimit:"10",x1:"137",y1:"170.667",x2:"223.167",y2:"84.5"}),i.createElement("line",{fill:"none",strokeWidth:t?10:0,stroke:"#fff",strokeMiterlimit:"10",x1:"137",y1:"84.5",x2:"223.167",y2:"170.667"})))}function B(){return i.createElement("svg",{width:"50px",height:"25px",viewBox:"0 0 50 25"},i.createElement("path",{d:"M46 0H4C1.8 0 0 1.8 0 4v17c0 2.2 1.8 4 4 4h42c2.2 0 4-1.8 4-4V4c0-2.2-1.8-4-4-4zM21 18.916V5.084L32.805 12 21 18.916z"}))}function A(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Play",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{className:"playTriangle",d:"M65.321,33.521c-11.274-6.615-20.342-1.471-20.342,11.52V210.96c0,12.989,9.068,18.135,20.342,11.521l137.244-82.348 c11.274-6.618,11.274-17.646,0-24.509L65.321,33.521z"}))}function O(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Pause",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M44.979,219.364c0,3.3,2.7,6,6,6h49.753c3.3,0,6-2.7,6-6V36.5c0-3.3-2.7-6-6-6H50.979c-3.3,0-6,2.7-6,6V219.364z"}),i.createElement("path",{d:"M149.267,219.364c0,3.3,2.7,6,6,6h49.753c3.3,0,6-2.7,6-6V36.5c0-3.3-2.7-6-6-6h-49.753c-3.3,0-6,2.7-6,6V219.364z"}))}function F(e){return i.createElement("svg",{width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,o.Z)("SVGIcon_Button",e.className)},i.createElement("path",{d:"M7.7976 11.7352L5.2516 14.2793C5.2003 14.3306 5.1433 14.3781 5.0844 14.418C5.0749 14.4237 5.0654 14.4294 5.0559 14.4351C5.0293 14.4522 5.0027 14.4693 4.9761 14.4826C4.9438 14.4997 4.9096 14.5149 4.8773 14.5301C4.8735 14.5301 4.8697 14.532 4.8659 14.5339C4.8336 14.5453 4.8013 14.5567 4.7709 14.5662C4.7348 14.5776 4.6987 14.5852 4.6626 14.5928C4.5923 14.6061 4.5182 14.6137 4.446 14.6137C4.3358 14.6137 4.2275 14.5985 4.1211 14.5662C4.0888 14.5567 4.0565 14.5453 4.0261 14.5339C4.0223 14.532 4.0185 14.5301 4.0147 14.5301C3.9805 14.5149 3.9482 14.4997 3.9159 14.4826C3.8893 14.4693 3.8627 14.4541 3.8361 14.4351C3.7677 14.3933 3.7012 14.342 3.6404 14.2793H3.6385L1.0944 11.7352C0.647896 11.2887 0.647896 10.5667 1.0944 10.1221C1.539 9.67754 2.261 9.67754 2.7056 10.1221L3.306 10.7225L3.30599 3.3529C3.30599 2.724 3.81519 2.2129 4.44599 2.2129C5.07489 2.2129 5.58599 2.724 5.58599 3.3529L5.586 10.7206L6.1845 10.1221C6.631 9.67754 7.3511 9.67754 7.7976 10.1221C8.2422 10.5667 8.2422 11.2887 7.7976 11.7352Z",fill:"currentColor"}),i.createElement("path",{d:"M17.1001 4.51535H10.3036C9.6741 4.51535 9.16357 4.00482 9.16357 3.37535C9.16357 2.74588 9.6741 2.23535 10.3036 2.23535H17.1001C17.7295 2.23535 18.2401 2.74588 18.2401 3.37535C18.2401 4.00482 17.7295 4.51535 17.1001 4.51535Z",fill:"currentColor"}),i.createElement("path",{d:"M15.7408 9.54465H10.3036C9.6741 9.54465 9.16357 9.03412 9.16357 8.40465C9.16357 7.77518 9.6741 7.26465 10.3036 7.26465H15.7408C16.3703 7.26465 16.8808 7.77518 16.8808 8.40465C16.8808 9.03412 16.3703 9.54465 15.7408 9.54465Z",fill:"currentColor"}),i.createElement("path",{d:"M14.3814 14.5739H10.3036C9.6741 14.5739 9.16357 14.0634 9.16357 13.4339C9.16357 12.8045 9.6741 12.2939 10.3036 12.2939H14.3815C15.011 12.2939 15.5215 12.8045 15.5215 13.4339C15.5215 14.0634 15.011 14.5739 14.3814 14.5739Z",fill:"currentColor"}))}function L(e){var t;return i.createElement("svg",Object.assign({version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Check",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256",strokeWidth:"24",stroke:null!==(t=e.color)&&void 0!==t?t:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"},e),i.createElement("polyline",{fill:"none",points:"49.5,147.75 95,210.75 206.5,45.25 "}))}function k(){return i.createElement("svg",{className:"SVGIcon_Button SVGIcon_Calendar",width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.97014 2.77093H4.44345V3.97865C4.44345 5.04817 5.31099 5.91572 6.38052 5.91572C7.45004 5.91572 8.31699 5.04817 8.31699 3.97865V2.77093H16.6836V3.97865C16.6836 5.04817 17.5511 5.91572 18.6207 5.91572C19.6902 5.91572 20.5571 5.04817 20.5571 3.97865V2.77093H23.0293C24.1136 2.77093 25 3.65738 25 4.74167V21.4991C25 22.5834 24.1136 23.4698 23.0293 23.4698H1.97073C0.886445 23.4698 0 22.5834 0 21.4991V4.74167C0 3.65738 0.886445 2.77093 1.97073 2.77093H1.97014ZM23.5005 8.23961V21.4991C23.5005 21.7578 23.2879 21.9704 23.0293 21.9704H1.97073C1.71206 21.9704 1.49946 21.7583 1.49946 21.4991V8.23961H23.5005V8.23961Z",fill:"#717A81"}),i.createElement("path",{d:"M5.29335 1.08724C5.29335 0.486629 5.77998 0 6.38059 0C6.98061 0 7.46724 0.486629 7.46724 1.08724V3.97867C7.46724 4.57928 6.98061 5.06591 6.38059 5.06591C5.77998 5.06591 5.29335 4.57928 5.29335 3.97867V1.08724V1.08724Z",fill:"#717A81"}),i.createElement("path",{d:"M17.5329 1.08724C17.5329 0.486629 18.0195 0 18.6201 0C19.2201 0 19.7068 0.486629 19.7068 1.08724V3.97867C19.7068 4.57928 19.2201 5.06591 18.6201 5.06591C18.0195 5.06591 17.5329 4.57928 17.5329 3.97867V1.08724V1.08724Z",fill:"#717A81"}))}function N(e){let t=e.highlightColor||"#00ccff",n=e.color||"#2d73ff";const[r,o]=(0,c.y)(),[a,s]=(0,c.y)(),[l]=(0,i.useState)(Math.random().toString());return i.createElement("svg",{version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_DialogCheck",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("defs",null,i.createElement("linearGradient",{id:r,x1:"0%",y1:"0%",x2:"100%",y2:"100%"},i.createElement("stop",{offset:"0%",stopColor:t}),i.createElement("stop",{offset:"100%",stopColor:n})),i.createElement("filter",{id:a,x:"0",y:"0",width:"200%",height:"200%"},i.createElement("feOffset",{result:"offOut",in:"SourceAlpha",dx:"20",dy:"20"}),i.createElement("feGaussianBlur",{result:"blurOut",in:"offOut",stdDeviation:"10"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"blurOut",mode:"normal"}))),i.createElement("path",{fill:"none",stroke:o,strokeWidth:"24",strokeLinecap:"round",strokeLinejoin:"miter",strokeMiterlimit:"10",d:"M206.5,45.25L95,210.75l-45.5-63",strokeDasharray:"365.19 365.19",strokeDashoffset:"0.00"}),i.createElement("path",{fill:"none",opacity:".2",filter:s,stroke:o,strokeWidth:"24",strokeLinecap:"round",strokeLinejoin:"miter",strokeMiterlimit:"10",d:"M206.5,45.25L95,210.75l-45.5-63",strokeDasharray:"365.19 365.19",strokeDashoffset:"0.00"}))}function x(){return i.createElement("svg",{version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Video",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{className:"videoPlayButton",d:"M165.399,124.063L109.118,92.06c-1.399-0.797-3.118-0.787-4.508,0.026c-1.39,0.805-2.25,2.295-2.25,3.905v64.008 c0,1.609,0.86,3.1,2.25,3.913c0.705,0.412,1.491,0.613,2.277,0.613c0.768,0,1.546-0.191,2.241-0.596l56.283-32.003 c1.416-0.806,2.285-2.306,2.285-3.934C167.694,126.368,166.816,124.869,165.399,124.063z"}),i.createElement("path",{d:"M238.069,40.646H214.25h-28.82h-28.82h-28.458h-0.36H99.333H70.536H41.727h-23.82c-3.184,0-5.773,2.59-5.773,5.772v23.856 v120.441v18.867c0,3.184,2.589,5.771,5.773,5.771h2.415h21.394h28.82h28.82h28.459h0.361h28.457h28.82h28.82h23.82 c3.184,0,5.773-2.589,5.773-5.771v-18.867V70.274V46.418C243.844,43.223,241.254,40.646,238.069,40.646z M191.215,47.181h17.273 V64.5h-17.273V47.181L191.215,47.181z M162.396,47.181h17.272V64.5h-17.272V47.181z M133.938,47.181h16.912V64.5h-16.912V47.181z\tM105.128,47.181h16.912V64.5h-16.912V47.181z M76.309,47.181h17.273V64.5H76.309V47.181z M47.488,47.181h17.273V64.5H47.488V47.181 z M18.681,47.181h17.273V64.5H18.681V47.181z M35.954,208.811H18.681v-17.319h17.273V208.811z M64.763,208.811H47.489v-17.319 h17.273V208.811L64.763,208.811z M93.583,208.811H76.31v-17.319h17.273V208.811z M122.041,208.811h-16.912v-17.319h16.912V208.811z M150.849,208.811h-16.912v-17.319h16.912V208.811z M179.668,208.811h-17.272v-17.319h17.272V208.811z M208.488,208.811h-17.273 v-17.319h17.273V208.811z M237.297,208.811h-17.273v-17.319h17.273V208.811L237.297,208.811z M237.297,184.943H214.25h-28.819 h-28.82h-28.458h-0.361H99.333H70.537H41.728H18.682V71.047h23.046h28.82h28.82h28.458h0.36h28.458h28.82h28.82h23.045v113.896 H237.297z M237.297,64.5h-17.273V47.181h17.273V64.5L237.297,64.5z"}))}function P(e){return(0,l.id)()?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Bell",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32 24V26H4V24L8 19V12C8 9.34784 9.05357 6.8043 10.9289 4.92893C12.8043 3.05357 15.3478 2 18 2C20.6522 2 23.1957 3.05357 25.0711 4.92893C26.9464 6.8043 28 9.34784 28 12V19L32 24ZM18 34C19.2396 33.9986 20.4483 33.6133 21.46 32.897C22.4718 32.1807 23.2368 31.1687 23.65 30H12.35C12.7632 31.1687 13.5282 32.1807 14.54 32.897C15.5517 33.6133 16.7604 33.9986 18 34Z",fill:"currentColor"})):i.createElement("svg",{version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Bell",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M107.785,33.965c-34.875,8.972-60.644,40.618-60.644,78.308v53.903c0,4.965-4.035,8.99-8.975,8.99 c-9.929,0-17.978,8.066-17.978,17.971c0,9.924,8.059,17.969,18.013,17.969h179.598c9.948,0,18.014-8.066,18.014-17.969 c0-9.926-8.087-17.971-17.979-17.971c-4.956,0-8.975-3.993-8.975-8.99v-53.903c0-37.676-25.763-69.333-60.644-78.308v-9.281 c0-11.193-9.052-20.219-20.215-20.219c-11.143,0-20.215,9.052-20.215,20.219V33.965L107.785,33.965z M96.554,220.09h62.891 c0,17.366-14.079,31.445-31.445,31.445C110.633,251.535,96.554,237.458,96.554,220.09z"}))}function V(e){return i.createElement("svg",{style:{transform:`rotate(${e.angle}deg)`},version:"1.1",id:"arrowBase",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Arrow",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("polyline",{fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",points:"128,247.688 128,8.313 181.061,61.674 "}),i.createElement("polyline",{fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",points:"128,247.688 128,8.313 74.939,61.674 "}))}function G(e){const{direction:t}=e,n=(0,r._T)(e,["direction"]);switch(t){case"up":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"36px",height:"36px",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{d:"M26.23 17.31L20.5 11.58V33.54H15.5V11.58L9.76998 17.31L6.22998 13.77L18 2.00001L29.77 13.77L26.23 17.31Z",fill:"currentColor"}));case"down":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"36px",height:"36px",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{d:"M26.23 18.23L20.5 23.96V2H15.5V23.96L9.76998 18.23L6.22998 21.77L18 33.54L29.77 21.77L26.23 18.23Z",fill:"currentColor"}));case"left":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"36px",height:"36px",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{d:"M17.54 9.53998L11.81 15.27L33.77 15.27V20.27H11.81L17.54 26L14 29.54L2.23002 17.77L14 5.99998L17.54 9.53998Z",fill:"currentColor"}));case"right":return i.createElement("svg",Object.assign({viewBox:"0 0 36 36",width:"36px",height:"36px",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),i.createElement("path",{d:"M18.46 9.54004L24.19 15.27L2.22998 15.27L2.22998 20.27H24.19L18.46 26L22 29.54L33.77 17.77L22 6.00004L18.46 9.54004Z",fill:"currentColor"}))}}function U(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"50px",height:"100px",viewBox:"0 0 50 100"},i.createElement("polygon",{fill:"#ffffff",points:"0,0.093 0,25.702 24.323,50.026 0,74.349 0,99.955 49.929,50.026 "}))}function H(e){return i.createElement("svg",{style:{transform:`rotate(${e.angle}deg)`},version:"1.1",id:"arrowBase",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_DoubleArrow",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("polyline",{className:"Arrow1",fill:"none",stroke:"#ffffff",strokeWidth:"23",strokeLinecap:"round",strokeMiterlimit:"10",points:"135.65,21.667 30.081,127.235 137.18,234.333 "}),!e.singlearrow&&i.createElement("polyline",{className:"Arrow2",fill:"none",stroke:"#ffffff",strokeWidth:"23",strokeLinecap:"round",strokeMiterlimit:"10",points:"224.389,21.667 118.821,127.235 225.92,234.333 "}))}function W(e){const{angle:t}=e,n=(0,r._T)(e,["angle"]);return i.createElement("svg",Object.assign({style:{transform:`rotate(${e.angle}deg)`},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"none"},n),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M16.0855 15.5837L8.88892 8.38708L12.0316 5.24438L22.3709 15.5837L12.0316 25.923L8.88892 22.7803L16.0855 15.5837Z"}))}function j(){return i.createElement("svg",{version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Maximize",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("rect",{x:"24",y:"42.167",fill:"none",stroke:"rgb(120, 138, 146)",strokeWidth:"18",strokeMiterlimit:"10",width:"208",height:"171.667"}),i.createElement("line",{fill:"none",stroke:"rgb(120, 138, 146)",strokeWidth:"42",strokeMiterlimit:"10",x1:"24",y1:"54.01",x2:"232",y2:"54.01"}))}function z(){return i.createElement("svg",{version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Minimize",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("line",{fill:"none",stroke:"rgb(120, 138, 146)",strokeWidth:"18",strokeMiterlimit:"10",x1:"24",y1:"209.01",x2:"232",y2:"209.01"}))}function K(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Restore",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("polyline",{fill:"none",stroke:"rgb(120, 138, 146)",strokeWidth:"12",strokeMiterlimit:"10",points:"83,90.861 83,42.167 232,42.167 232,165.14 173,165.14 "}),i.createElement("rect",{x:"24",y:"90.861",fill:"none",stroke:"rgb(120, 138, 146)",strokeWidth:"18",strokeMiterlimit:"10",width:"149",height:"122.973"}))}function X(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Reload",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{fill:"none",stroke:"#ffffff",strokeWidth:"30",strokeLinecap:"round",strokeMiterlimit:"10",d:"M229.809,147.639 c-9.178,47.863-51.27,84.027-101.809,84.027c-57.253,0-103.667-46.412-103.667-103.666S70.747,24.334,128,24.334 c34.107,0,64.368,16.472,83.261,41.895"}),i.createElement("polygon",{points:"147.639,108.361 245.755,10.166 245.834,108.361 "}))}function Z(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Trade",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M132.025,162.943h40.246c0,0,3.219,56.879-31.303,79.599c-12.298,8.094,71.103-6.708,75.574-79.599h35.775l-60.146-74.681 L132.025,162.943z"}),i.createElement("path",{d:"M123.975,93.056H83.729c0,0-3.219-56.879,31.303-79.599c12.298-8.094-71.103,6.708-75.574,79.599H3.682l60.146,74.681 L123.975,93.056z"}))}function $(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Trash",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("g",{className:"base"},i.createElement("path",{fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M216.773,43.909 l-7.399,177.589c-0.37,8.893-7.919,16.1-16.812,16.1H63.437c-8.914,0-16.442-7.24-16.812-16.1L39.226,43.909"})),i.createElement("g",{className:"lines"},i.createElement("path",{className:"line1",fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M128,68.12v137.197"}),i.createElement("path",{className:"line2",fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M83.613,68.12 l4.035,137.197"}),i.createElement("path",{className:"line3",fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M172.387,68.12 l-4.035,137.197"})),i.createElement("g",{className:"lid"},i.createElement("path",{fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M27.121,38.577H228.88"}),i.createElement("path",{fill:"none",stroke:"#ffffff",strokeWidth:"10",d:"M87.648,38.577l4.319-10.796c2.072-5.181,8.292-9.379,13.84-9.379h44.386 c5.572,0,11.761,4.18,13.841,9.379l4.319,10.796"})))}function Y(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",style:{overflow:"visible",width:"100%",height:"100%",maxWidth:"320px",maxHeight:"320px"},x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("g",{className:"base"},i.createElement("path",{fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M216.773,43.909 l-7.399,177.589c-0.37,8.893-7.919,16.1-16.812,16.1H63.437c-8.914,0-16.442-7.24-16.812-16.1L39.226,43.909"})),i.createElement("g",{className:"lines"},i.createElement("path",{className:"line1",fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M128,68.12v137.197"}),i.createElement("path",{className:"line2",fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M83.613,68.12 l4.035,137.197"}),i.createElement("path",{className:"line3",fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M172.387,68.12 l-4.035,137.197"})),i.createElement("g",{className:"lid"},i.createElement("path",{fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M27.121,38.577H228.88"}),i.createElement("path",{fill:"none",strokeWidth:"10",d:"M87.648,38.577l4.319-10.796c2.072-5.181,8.292-9.379,13.84-9.379h44.386 c5.572,0,11.761,4.18,13.841,9.379l4.319,10.796"})))}function q(e){return i.createElement("svg",{style:{transform:`rotate(${e.angle}deg)`},version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_FlatArrow",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("polygon",{points:"13.913,141 128,59 242.087,141 ",fill:"#ffffff"}))}function Q(e){let{bPending:t,bShowArm:n,className:a}=e,s=(0,r._T)(e,["bPending","bShowArm","className"]);return(0,l.id)({bSuppressAssert:!0})?i.createElement("svg",Object.assign({className:(0,o.Z)("SVGIcon_Button","SVGIcon_FriendIcon",a),viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s),i.createElement("path",{d:"M18 17C15.6131 17 13.3239 17.9482 11.636 19.636C9.94821 21.3239 9 23.6131 9 26V31H27V26C27 23.6131 26.0518 21.3239 24.364 19.636C22.6761 17.9482 20.3869 17 18 17ZM18 14C18.9889 14 19.9556 13.7068 20.7779 13.1573C21.6001 12.6079 22.241 11.827 22.6194 10.9134C22.9978 9.99979 23.0969 8.99446 22.9039 8.02455C22.711 7.05465 22.2348 6.16373 21.5355 5.46447C20.8363 4.76521 19.9454 4.289 18.9755 4.09608C18.0055 3.90315 17.0002 4.00217 16.0866 4.3806C15.173 4.75904 14.3921 5.39991 13.8427 6.22215C13.2932 7.0444 13 8.0111 13 9C13 10.3261 13.5268 11.5979 14.4645 12.5355C15.4021 13.4732 16.6739 14 18 14Z",fill:"currentColor"}),i.createElement("path",{className:"WavingArm",opacity:n?"1":"0",d:"M4.67541 11.8555C5.6007 10.8308 7.18156 10.7501 8.20635 11.6754L18.9515 21.3773L15.6007 25.0884L4.85556 15.3865C3.83077 14.4612 3.75011 12.8803 4.67541 11.8555V11.8555Z",fill:"currentColor",strokeWidth:"0"}),i.createElement("path",{opacity:n?"1":"0",d:"M32.3573 11.8876C33.2626 12.93 33.1515 14.509 32.109 15.4144L23.2784 23.083L20 19.3078L28.8305 11.6392C29.873 10.7339 31.452 10.8451 32.3573 11.8876Z",fill:"currentColor",strokeWidth:"0"})):i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:(0,o.Z)("SVGIcon_Button","SVGIcon_FriendIcon",t?" SVGIcon_FriendIcon_Pending":"",a),x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("g",{className:"Outline"},i.createElement("g",{transform:"matrix(1.34048,0,0,1.34048,-10.0942,-5.50445)"},i.createElement("path",{d:"M102.239,90.394c-22.556,0-40.906-18.351-40.906-40.906c0-22.556,18.35-40.906,40.906-40.906s40.906,18.35,40.906,40.906 C143.145,72.043,124.795,90.394,102.239,90.394z"})),i.createElement("path",{d:"M127.453,250.212c-30.208,0-52.086-4.188-65.028-12.45c-12.507-7.983-13.141-17.484-13.141-19.308v-41.781 c0-20.554,5.356-38.104,15.489-50.754c11.63-14.519,29.216-22.193,50.858-22.194h23.646c21.643,0,39.229,7.674,50.858,22.193 c10.133,12.65,15.488,30.201,15.488,50.754v41.751c0.011,2.202-0.586,8.058-6.43,14.175 c-11.164,11.687-35.301,17.613-71.732,17.613C127.458,250.212,127.458,250.212,127.453,250.212z"}),i.createElement("path",{className:"WavingArm",opacity:t?"1":"0",d:"M87.625,170.102c-5.877,0-14.85-1.804-24.219-10.4c-8.677-7.961-20.959-20.438-30.563-31.048 c-18.766-20.732-21.125-26.658-19.522-32.832c1.463-5.64,10.288-27.077,26.729-28.926c0.429-0.048,0.867-0.072,1.303-0.072 c7.609,0,14.543,6.335,38.063,31.516c7.141,7.645,14.524,15.549,18.002,18.33l0.803,0.641c5.551,4.432,11.291,9.015,15.104,14.136 c8.477,11.383,3.634,20.705,1.158,24.185C108.034,164.692,97.995,170.102,87.625,170.102z"})),i.createElement("g",{className:"foreground"},i.createElement("g",{transform:"matrix(1.34048,0,0,1.34048,-10.0942,-5.50445)"},i.createElement("circle",{fill:"currentColor",cx:"102.239",cy:"49.488",r:"33.446"})),i.createElement("path",{fill:"currentColor",d:"M195.624,218.454v-41.781c0-34.743-16.666-62.948-56.347-62.948h-11.822h-0.997h-10.826 c-39.68,0.001-56.348,28.205-56.348,62.948v41.781c0,0,0,21.758,68.169,21.758C196.62,240.214,195.624,218.454,195.624,218.454z"}),i.createElement("path",{className:"WavingArm",opacity:t?"1":"0",d:"M41.167,76.833c6.53-0.734,39.348,39.127,50.007,47.647c10.659,8.52,21.327,16.686,15.16,25.353 s-20.646,16.74-36.167,2.5 s-48.516-48.801-47.167-54S31.599,77.909,41.167,76.833z"})))}function J(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_DoNotDisturb",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("circle",{fill:"none",stroke:"#ffffff",strokeWidth:"24",strokeMiterlimit:"10",cx:"128",cy:"128",r:"101.5"}),i.createElement("line",{fill:"none",stroke:"#ffffff",strokeWidth:"24",strokeMiterlimit:"10",x1:"73",y1:"128",x2:"183",y2:"128"}))}function ee(e){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",style:{transform:`scaleX(${e.bFlipHorizontal?-1:1})`},className:"SVGIcon_Button SVGIcon_MediaControls",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{className:"Arrow",d:"M77.003,54.763h32.784c3.794,0,9.113,2.181,11.814,4.848l63.604,62.773c2.703,2.667,2.727,7.054,0.05,9.748 l-63.705,64.206c-2.674,2.693-7.968,4.898-11.763,4.898H77.003"}),i.createElement("polyline",{className:"preArrowBox",opacity:e.bHidePreArrow?"0":"1",points:"6.833,54.763 46.71,54.763 46.71,201.236 6.833,201.236 \t"}),i.createElement("polyline",{className:"jumpAheadBox",opacity:e.bShowJumpAheadBox?"1":"0",points:"6.833,54.764 86.386,54.764 86.386,201.236 6.833,201.236 \t"}),i.createElement("polyline",{className:"postArrowBox",opacity:e.bHidePostArrow?"0":"1",points:"209.29,54.763 249.167,54.763 249.167,201.236 209.29,201.236 \t"}))}function te(e){const t=(0,o.Z)("SVGIcon_Button","SVGIcon_SteamLogo",e&&e.className);return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",fill:"#FFFFFF",className:t,x:"0px",y:"0px",viewBox:"0 0 256 256"},i.createElement("path",{fill:"#currentColor",d:"M127.374,5.355c-64.404,0-117.167,49.661-122.18,112.77l65.712,27.171 c5.567-3.808,12.293-6.032,19.53-6.032c0.649,0,1.294,0.017,1.934,0.051l29.226-42.354c0-0.202-0.005-0.399-0.005-0.598 c0-25.496,20.74-46.241,46.237-46.241c25.498,0,46.238,20.745,46.238,46.241c0,25.494-20.74,46.242-46.238,46.242 c-0.352,0-0.698-0.011-1.047-0.021l-41.68,29.741c0.022,0.546,0.041,1.095,0.041,1.644c0,19.141-15.569,34.707-34.706,34.707 c-16.796,0-30.843-11.99-34.026-27.869l-46.993-19.43c14.55,51.464,61.831,89.189,117.957,89.189 c67.713,0,122.604-54.893,122.604-122.604C249.979,60.244,195.086,5.355,127.374,5.355"}),i.createElement("path",{fill:"#currentColor",d:"M82.026,191.387l-15.061-6.22c2.67,5.56,7.285,10.208,13.418,12.767 c13.25,5.521,28.531-0.771,34.054-14.027c2.674-6.416,2.694-13.5,0.04-19.93c-2.646-6.431-7.64-11.451-14.063-14.129 c-6.371-2.647-13.196-2.552-19.198-0.291l15.561,6.437c9.776,4.073,14.396,15.299,10.324,25.071 C103.031,190.841,91.801,195.464,82.026,191.387"}),i.createElement("path",{fill:"#currentColor",d:"M198.639,96.359c0-16.987-13.82-30.809-30.809-30.809c-16.987,0-30.813,13.821-30.813,30.809 c0,16.988,13.824,30.806,30.813,30.806S198.639,113.347,198.639,96.359 M144.736,96.306c0-12.783,10.363-23.142,23.145-23.142 c12.783,0,23.145,10.359,23.145,23.142c0,12.783-10.36,23.142-23.145,23.142C155.1,119.447,144.736,109.089,144.736,96.306"}))}function ne(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Viewers",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{className:"frontGuy",fill:"#666666",d:"M181.732,53.151c-17.255,0-31.321,13.316-31.321,32.634v25.132 c0,18.005,24.006,21.006,24.382,21.381c-10.691,2.813-30.947,8.252-40.888,15.566c-8.252,6.003-11.44,18.005-13.128,22.882 c-0.75,2.063-1.688,5.064-1.688,7.127c0,0,0,9.94,0,19.881s12.941,16.505,18.005,16.505h89.65c4.877,0,18.006-5.627,18.006-16.505 s0-19.881,0-19.881c0-2.251-0.938-5.627-1.688-7.689c-4.313-10.878-4.688-16.316-13.315-22.319 c-9.941-6.939-30.009-12.19-40.512-15.004c0.374-0.563,24.193-4.127,24.193-22.131V85.785 C213.053,66.467,198.986,53.151,181.732,53.151L181.732,53.151z"}),i.createElement("path",{className:"backGuy",fill:"rgb(144, 153, 161)",d:"M84.204,34.396c-20.068,0-36.385,15.38-36.385,38.074v29.258c0,20.818,27.945,24.382,28.32,24.944 c-12.378,3.189-36.01,9.565-47.638,18.006c-9.753,7.127-13.504,21.006-15.379,26.632c-0.75,2.251-1.876,6.002-1.876,8.253 c0,0,0,11.44,0,23.257c0,11.815,15.004,19.13,20.819,19.13h104.279c5.814,0,20.818-6.564,20.818-19.13c0-12.566,0-23.257,0-23.257 c0-2.438-1.125-6.564-2.063-8.815c-5.063-12.566-5.438-18.942-15.566-26.069c-11.628-8.065-34.885-14.067-47.076-17.443 c0.375-0.563,28.133-4.876,28.133-25.695V72.469C120.59,49.775,104.272,34.396,84.204,34.396L84.204,34.396z"}))}function re(){return i.createElement("svg",{version:"1.1",id:"Layer_5",className:"SVGIcon_Button SVGIcon_ChatBubble",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 64 64"},i.createElement("g",null,i.createElement("path",{d:"M33,5C18.7,5,7.1,16.6,7.1,30.9c0,5.2,1.5,10.1,4.2,14.1c-0.6,3.7-4.5,10.5-6.2,13.5c-1.3,2.2,11.4-3.8,16.3-4.5c3.5,1.8,7.5,2.8,11.7,2.8c14.3,0,25.9-11.6,25.9-25.9S47.3,5,33,5z"})))}function ie(){return i.createElement("svg",{version:"1.1",id:"Layer_5",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 64 64"},i.createElement("g",null,i.createElement("path",{d:"M40.6,32.7l15.1-15.1c2.6-2.6,2.6-6.7,0-9.3c-2.6-2.6-6.7-2.6-9.3,0L31.3,23.4L16.2,8.3c-2.6-2.6-6.7-2.6-9.3,0c-2.6,2.6-2.6,6.7,0,9.3L22,32.7L6.9,47.8c-2.6,2.6-2.6,6.7,0,9.3c1.3,1.3,3,1.9,4.7,1.9s3.4-0.6,4.7-1.9L31.3,42l15.1,15.1c1.3,1.3,3,1.9,4.7,1.9s3.4-0.6,4.7-1.9c2.6-2.6,2.6-6.7,0-9.3L40.6,32.7z"})))}function oe(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_STVTimelineGrabber",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("g",{className:"leftarrow",opacity:"0"},i.createElement("polygon",{points:"127.817,4.403 4,128 127.817,251.598"})),i.createElement("g",{className:"rightarrow",opacity:"0"},i.createElement("polygon",{points:"127.816,4.403 251.633,128 127.816,251.598"})),i.createElement("g",{className:"grabber"},i.createElement("polygon",{points:"145.692,22.132 145.692,234.361 127.817,251.598 110.307,234.361 110.307,22.132 127.817,4.403"})))}function ae(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_STVTimelineMarker",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("polygon",{className:"pointer",points:"128,154.979 46.374,230.548 46.374,253.333 209.626,253.333 209.626,230.548 \t"}),i.createElement("rect",{className:"line",x:"116.271",y:"3.168",width:"23.459",height:"137.332"}))}function se(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_ShowBothChats",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("circle",{opacity:"0",fill:"#FFFFFF",strokeWidth:"0",cx:"166.241",cy:"161.906",r:"75.259"}),i.createElement("polyline",{fill:"none",stroke:"#ffffff",strokeWidth:"8",strokeLinecap:"round",strokeMiterlimit:"10",points:"92.367,155.634 51.311,183 51.311,150.296 23.834,150.296 23.834,19.473 140.5,19.473 140.5,91.5"}),i.createElement("line",{fill:"none",stroke:"#ffffff",strokeWidth:"8",strokeMiterlimit:"10",x1:"48.529",y1:"82.167",x2:"113.379",y2:"82.167"}),i.createElement("line",{fill:"none",stroke:"#ffffff",strokeWidth:"8",strokeMiterlimit:"10",x1:"48.529",y1:"113.167",x2:"113.379",y2:"113.167"}),i.createElement("line",{fill:"none",stroke:"#ffffff",strokeWidth:"8",strokeMiterlimit:"10",x1:"48.529",y1:"51.167",x2:"99.138",y2:"51.167"}),i.createElement("path",{d:"M166.241,82.167c-43.933,0-79.74,35.807-79.74,79.74c0,43.932,35.808,79.739,79.74,79.739 c43.932,0,79.739-35.808,79.739-79.739C245.98,117.975,210.173,82.167,166.241,82.167 M166.241,231.717 c-3.611,0-7.522-0.301-11.134-0.902c-3.31-3.311-6.318-8.426-9.027-14.444c-2.407-5.416-4.212-11.434-6.018-18.054 8.124-0.902,16.851-1.505,25.878-1.505c9.026,0,17.753,0.603,25.877,1.505c-1.504,6.62-3.61,12.638-6.018,18.054 c-2.708,6.019-5.718,11.134-9.027,14.444C173.764,231.416,169.852,231.717,166.241,231.717 M166.241,191.696 c-9.629,0-18.656,0.602-27.082,1.505c-1.805-9.027-2.708-18.656-3.009-28.887h59.88c0,10.23-1.203,19.859-3.009,28.887 C184.896,192.298,175.87,191.696,166.241,191.696 M166.241,92.097c3.61,0,7.522,0.301,11.133,0.903 c3.311,3.31,6.319,8.425,9.027,14.443c2.407,5.416,4.213,11.435,6.019,18.055c-8.125,0.902-16.851,1.504-25.878,1.504 s-17.753-0.602-25.878-1.504c1.505-6.62,3.611-12.639,6.019-18.055c2.708-6.018,5.717-11.133,9.026-14.443 \tC158.719,92.398,162.63,92.097,166.241,92.097 M166.241,132.117c9.629,0,18.655-0.602,27.081-1.504 \tc1.806,9.026,2.708,18.655,3.009,28.887h-59.88c0-10.231,1.204-19.86,3.01-28.887 \tC147.585,131.516,156.612,132.117,166.241,132.117 M201.146,159.5c0-10.532-1.203-20.462-3.009-29.488 c10.23-1.505,19.258-3.311,26.479-6.019c6.921,10.531,10.833,22.567,11.134,35.507H201.146z M131.336,159.5H96.432 c0.301-12.639,4.212-24.976,11.133-35.507c7.522,2.407,16.55,4.514,26.479,6.019C132.54,139.038,131.637,148.968,131.336,159.5 M131.336,164.314c0,10.531,1.204,20.461,3.01,29.488c-10.231,1.505-19.259,3.31-26.48,6.018 c-6.921-10.531-10.832-22.567-11.133-35.506H131.336z M201.146,164.314h34.905c-0.301,12.638-4.213,24.975-11.134,35.506 c-7.522-2.406-16.55-4.513-26.479-6.018C199.942,184.775,200.845,174.846,201.146,164.314 M221.908,119.78 c-0.301,0-0.602,0.301-0.903,0.301c-6.92,2.106-15.045,3.912-23.771,5.115c-2.708-12.337-6.921-22.868-12.036-30.391 c11.434,3.31,21.966,9.328,30.691,17.753C217.695,114.966,219.802,117.072,221.908,119.78 M147.585,94.806 c-5.115,7.522-9.328,18.054-12.036,30.391c-8.727-1.203-16.851-3.009-23.771-5.115c-0.301,0-0.602-0.301-0.902-0.301 c1.805-2.407,3.911-4.814,6.318-7.222C125.619,103.833,136.15,97.814,147.585,94.806 M110.574,204.033 c0.301,0,0.602-0.301,0.902-0.301c6.921-2.106,15.045-3.912,23.771-5.115c2.708,12.337,6.921,22.869,12.036,30.392 c-11.435-3.311-21.966-9.328-30.692-17.754C114.786,208.848,112.68,206.742,110.574,204.033 M184.896,229.009 c5.116-7.522,9.329-18.055,12.036-30.392c8.727,1.203,16.852,3.009,23.771,5.115c0.301,0,0.603,0.301,0.903,0.301 c-1.806,2.407-3.912,4.814-6.319,7.222C206.863,219.981,196.331,226,184.896,229.009"}))}function le(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_BigPicture",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{fill:"currentColor",d:"M213.771,68.659c-4.108-7.066-46.007-7.231-49.293-7.231H128H91.522c-3.286,0-45.186,0.165-49.293,7.231 c-19.555,29.248-27.385,100.263-27.276,104.01c0.238,8.294,2.11,24.583,16.595,35.162c9.201,6.72,22.183,8.709,29.083,3.614 c4.989-3.682,11.995-19.224,19.061-32.204c7.064-12.981,9.202-11.174,12.98-12.159c3.78-0.986,36.066-0.74,36.066-0.74 s30.809-0.247,34.588,0.74c3.777,0.985,5.915-0.822,12.98,12.159c7.064,12.98,14.07,28.522,19.061,32.204 c6.9,5.095,19.882,3.106,29.083-3.614c14.485-10.58,16.356-26.868,16.595-35.162C241.154,168.922,233.325,97.906,213.771,68.659z M67.251,128.14c-14.974,0-27.112-12.137-27.112-27.111c0-14.975,12.137-27.112,27.112-27.112 c14.973,0,27.111,12.137,27.111,27.112C94.362,116.003,82.224,128.14,67.251,128.14z M188.749,128.14 c-14.974,0-27.111-12.137-27.111-27.111c0-14.975,12.138-27.112,27.111-27.112c14.973,0,27.111,12.137,27.111,27.112 C215.86,116.003,203.722,128.14,188.749,128.14z"}))}function ce(e){const{className:t}=e;return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:(0,o.Z)("SVGIcon_Button","SVGIcon_MobilePhone",t),x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M165.693,45.186H91.368c-7.963,0-14.41,6.447-14.41,14.41V210.9c0,7.964,6.447,14.41,14.41,14.41h74.134 c7.965,0,14.41-6.447,14.41-14.41V59.596C180.102,51.633,173.657,45.186,165.693,45.186z M113.172,57.509h30.717 c1.707,0,3.223,1.327,3.223,3.224c0,1.896-1.328,3.223-3.223,3.223h-30.717c-1.707,0-3.223-1.328-3.223-3.223 C109.949,58.837,111.465,57.509,113.172,57.509z M128.529,213.554c-4.551,0-8.152-3.603-8.152-8.153c0-4.55,3.604-8.152,8.152-8.152 s8.151,3.603,8.151,8.152C136.682,209.761,133.081,213.554,128.529,213.554z M169.105,186.819h-81.15V74.384h81.15V186.819 L169.105,186.819z"}))}function ue(e){return i.createElement("svg",Object.assign({width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button"},e),i.createElement("path",{d:"M11.45 26.5H7.625L1 9H5.025L9.625 22.325L14.1 9H18.125L11.45 26.5Z",fill:"white"}),i.createElement("path",{d:"M34.552 26.5H30.477L26.952 20.6H26.527H23.927V26.5H20.252V9H26.802C29.202 9 30.9686 9.48333 32.102 10.45C33.2353 11.4 33.802 12.7333 33.802 14.45C33.802 15.8 33.502 16.925 32.902 17.825C32.3186 18.725 31.4936 19.4083 30.427 19.875L34.552 26.5ZM23.927 12.125V17.45H26.802C27.7686 17.45 28.5186 17.2083 29.052 16.725C29.602 16.225 29.877 15.5417 29.877 14.675C29.877 13.825 29.6103 13.1917 29.077 12.775C28.5603 12.3417 27.727 12.125 26.577 12.125H23.927Z",fill:"white"}))}function de(){return i.createElement("svg",{version:"1.1",id:"Layer_3",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Twitter",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M250.151,128.021c0,67.418-54.604,122.022-122.022,122.022S6.107,195.439,6.107,128.021C6.107,60.604,60.712,6,128.129,6 S250.151,60.604,250.151,128.021z M105.799,192.389c54.117,0,83.707-44.842,83.707-83.707c0-1.282,0-2.563-0.062-3.783 c5.736-4.148,10.739-9.335,14.705-15.252c-5.247,2.318-10.922,3.905-16.901,4.637c6.103-3.661,10.738-9.396,12.936-16.29 c-5.675,3.355-11.959,5.796-18.67,7.138c-5.369-5.734-12.995-9.273-21.477-9.273c-16.228,0-29.406,13.179-29.406,29.407 c0,2.318,0.243,4.576,0.793,6.711c-24.466-1.22-46.125-12.934-60.646-30.75c-2.501,4.332-3.965,9.396-3.965,14.765 c0,10.189,5.186,19.218,13.117,24.465c-4.819-0.122-9.334-1.464-13.3-3.661c0,0.122,0,0.244,0,0.366 c0,14.275,10.128,26.113,23.611,28.857c-2.44,0.672-5.064,1.039-7.748,1.039c-1.892,0-3.723-0.184-5.553-0.551 c3.722,11.714,14.581,20.195,27.455,20.44c-10.067,7.868-22.757,12.566-36.546,12.566c-2.379,0-4.697-0.122-7.016-0.427 C73.707,187.507,89.204,192.389,105.799,192.389"}))}function me(){return i.createElement("svg",{version:"1.1",id:"Layer_3",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TwitchTV",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M28.176,8.026L11.763,49.97v171.427h58.358v31.003h32.826l31.003-31.003h47.414l63.829-63.829V8.026H28.176z M223.311,146.625l-36.474,36.474h-58.359l-31.002,31.003v-31.003H48.237V29.91h175.074V146.625z M186.837,71.855v63.829h-21.885 V71.855H186.837z M128.478,71.855v63.829h-21.883V71.855H128.478z"}))}function he(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_CSGO",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M236.979,138.059c0.548,0.078,6.91,0.101,7.772,0.032 c1.215-0.095,1.396,0.068,1.388,0.708c-0.01,0.397,0.012,3.039-2.365,7.32c-3.301,5.948-12.079,10.436-12.55,10.672 c-0.47,0.233-0.53,0.484-0.136,0.75c0.434,0.295,8.068,1.454,9.084,1.611c1.017,0.154,0.637,1.001,0.637,1.001 s-0.704,2.621-2.895,5.36c-2.189,2.738-9.311,6.123-8.583,6.123c0.731,0,7.187,0.159,6.181,1.422 c-3.019,3.786-13.603,9.528-18.43,13.813c-13.388,11.885-13.217,12.864-15.52,15.09c-0.983-3.298-3.02-12.658-3.02-12.658 l-6.105-11.467c4.413,0.18,6.364,0.081,8.952,0.081c9.214,0,17.525-2.185,22.234-5.841l2.371-1.843l-2.911-0.728 c-2.131-0.528-7.121-1.782-11.896-2.979c2.184-0.104,10.803-1.299,14.413-5.339c0.136-0.151,0.276-0.321,0.406-0.494l1.245-1.664 l-2.404-0.735c-2.607-0.799-5.948-1.682-8.517-2.335c3.173-1.572,7.585-3.942,10.048-6.088c4.83-4.203,7.226-9.709,7.322-9.943 l0.9-2.098l-10.772,0.318c1.503-1.483,3.218-3.197,3.939-3.991c1.43-1.571,4.053-6.221,4.198-9.896l0.072-1.787l-1.763,0.288 c-1.979,0.322-5.301,1.279-8.179,2.173c2.025-2.193,4.296-4.767,5.46-6.484c2.687-3.964,2.76-8.371,2.597-12.916l-0.104-2.881 l-2.261,1.79c-2.559,2.028-7.595,5.031-11.097,7.047c1.538-3.644,3.54-8.752,3.813-11.276c0.5-4.681-0.248-10.196-0.248-10.196 l-10.76,9.394c0.885-1.953,1.684-4.013,2.117-5.832c1.735-7.29,0.055-17.892-0.021-18.338l-0.452-2.807l-7.777,7.739 c0.722-3.535,1.465-8.253,1.23-11.789c-0.426-6.321-2.278-10.517-2.359-10.694l-1.01-2.251l-6.465,8.577 c0.231-4.285,0.27-10.24-0.948-13.547c-1.934-5.262-3.651-8.007-3.723-8.121l-1.232-1.958l-3.057,4.85 c0.018-2.967-0.11-6.475-0.69-8.68c-1.202-4.543-2.825-6.396-3.002-6.592l-1.325-1.433l-1.623,2.705 c-0.278-3.19-1.112-7.084-3.343-9.478l-0.814-0.872l-1.012,0.623c-0.327,0.201-0.714,0.497-1.104,0.823 c-0.154-1.135-0.365-2.451-0.639-3.691c0.563-4.733,1.186-10.03,1.206-10.452c0.027-0.547,0.274-0.767,1.017-0.391 c0.898,0.452,3.156,2.064,5.187,6.133c2.036,4.067,3.132,11.324,3.117,12.044c-0.009,0.383,0.291,0.757,0.438,0.151 c0.145-0.607,0.478-7.591,0.623-8.312c0.081-0.383,0.199-0.484,0.737-0.212c0.496,0.249,2.959,2.181,4.899,6.463 c1.179,2.599,1.634,11.946,1.574,12.653c-0.106,1.278,0.313,0.891,0.339,0.883c-0.009,0.013-0.025,0.04-0.03,0.049 c0.03-0.041,0.036-0.049,0.03-0.049c0.573-0.841,4.21-8.99,4.519-9.377c0.313-0.39,0.521-0.395,0.835,0.002 c0.262,0.33,2.095,1.717,4.049,10.088c1.902,8.135,1.949,11.542,1.848,12.682c-0.08,0.86,0.339,0.993,0.731,0.524 c0.389-0.47,5.104-9.201,5.497-9.515c0.389-0.313,0.613-0.309,0.927,0.161c0.312,0.469,2.718,4.762,3.684,11.448 c0.861,5.947,0.608,13.599,0.375,14.381c-0.235,0.782-0.135,1.077,0.493,0.53c0.623-0.548,10.299-8.412,11.004-9.038 c0.703-0.627,1.18-0.65,1.34-0.046c0.172,0.654,0.822,8.654,0.275,15.225c-0.549,6.571-2.626,12.752-2.94,13.145 c-0.312,0.391,0.087,0.712,0.478,0.555c0.394-0.157,11.902-10.018,12.645-10.402c0.711-0.367,1.043,0.005,1.105,0.507 c0.068,0.544,0.966,3.098-0.419,11.269c-0.959,5.65-3.54,11.876-3.855,12.033c-0.313,0.157-0.077,0.336,0.234,0.259 c0.315-0.079,8.324-3.488,8.872-3.567c0.546-0.079,0.671,0.339,0.514,0.808c-0.158,0.469-0.458,6.273-2.534,11.639 c-2.603,6.732-6.056,11.001-6.056,11.001s-0.252,0.519,0.217,0.519s9.266-0.186,9.813-0.263c0.547-0.079,0.627,0.156,0.547,0.704 c-0.077,0.547,0.858,9.116-8.624,14.601C236.524,137.734,236.432,137.979,236.979,138.059z M174.473,24.823 c1.981,3.34,2.018,9.248,1.836,11.469l-0.52,6.238l5.25-8.744c0.395,0.843,0.85,2.003,1.25,3.524 c1.02,3.877,0.422,13.082,0.417,13.173l-0.384,5.752l6.435-10.212c0.628,1.27,1.45,3.097,2.32,5.459 c1.466,3.983,0.772,13.806,0.381,17.257l-0.602,5.308l9.568-12.69c0.493,1.707,1.058,4.21,1.259,7.227 c0.39,5.821-2.272,15.731-2.299,15.83l-1.428,5.26l11.125-11.068c0.377,3.586,0.772,9.774-0.304,14.302 c-1.2,5.057-5.778,12.588-5.823,12.664l-1.806,3.992l16.878-14.09c-0.116,1.366-0.262,2.944-0.423,4.435 c-0.312,2.935-3.954,11.389-5.335,14.399l-1.827,4.002l3.856-2.115c0.381-0.208,8.027-4.41,12.979-7.778 c-0.039,3.484-0.537,6.042-2.139,8.4c-2.189,3.234-9.05,10.198-9.118,10.268l-4.352,4.408l5.861-2.004 c0.08-0.025,6.868-2.34,11.188-3.41c-0.675,2.445-2.208,5.125-3.11,6.118c-1.319,1.449-6.429,6.429-6.48,6.482l-2.682,2.614 l13.475-0.404c-1.06,1.837-2.89,4.549-5.457,6.783c-3.727,3.244-12.956,7.341-13.048,7.383l-3.952,1.746l4.201,1.008 c0.062,0.015,5.637,1.354,10.266,2.67c-3.412,2.191-9.291,3.081-10.948,3.138c-2.06,0.072-11.075,0.125-11.075,0.125l-11.51,0.069 l11.162,2.804c0,0,12.587,3.164,19.486,4.894c-4.398,2.216-10.717,3.493-17.657,3.493c-3.102,0-10.335-0.284-15.048-0.483 c4.064,6.069,7.041,11.004,7.992,13.681c2.813,7.915,6.777,28.269,6.889,48.907c0.039,6.572-1.081,11.649-9.022,11.649 c-0.288,0-0.597-0.038-0.908-0.092c-1.846,0.339-4.351,0.595-5.438-0.095c-1.805-1.149-3.163-2.627-3.544-3.957 c-0.383-1.334-1.146-9.374-3.106-20.675c-1.92-11.046-4.038-19.431-4.237-19.525c-1.535-0.731-9.358-18.45-9.358-18.45 l-37.23-47.615c0,0-20.737,23.917-37.455,47.8c-0.867,1.235-5.994,11.251-9.275,17.989c-0.212,0.437-0.181,0.475-0.281,0.808 c-0.604,2.015-2.396,9.525-4.039,18.994c-1.962,11.301-2.725,19.341-3.105,20.675c-0.384,1.33-1.74,2.808-3.546,3.957 c-1.085,0.689-3.592,0.434-5.437,0.095c-0.313,0.054-0.621,0.092-0.909,0.092c-7.941,0-9.061-5.077-9.024-11.649 c0.114-20.639,4.078-40.992,6.892-48.907c0.95-2.677,3.926-7.611,7.993-13.681c-4.714,0.199-11.946,0.483-15.051,0.483 c-6.939,0-13.26-1.277-17.653-3.493c6.896-1.729,19.486-4.894,19.486-4.894l11.159-2.804l-11.508-0.069 c0,0-9.019-0.053-11.076-0.125c-1.66-0.057-7.537-0.946-10.949-3.138c4.629-1.315,10.202-2.655,10.264-2.67l4.201-1.008l-3.95-1.746 c-0.094-0.042-9.324-4.139-13.049-7.383c-2.566-2.234-4.397-4.946-5.458-6.783l13.477,0.404l-2.684-2.614 c-0.05-0.054-5.16-5.033-6.48-6.482c-0.9-0.993-2.436-3.673-3.108-6.118c4.319,1.069,11.108,3.384,11.188,3.41l5.861,2.004 l-4.352-4.408c-0.069-0.069-6.928-7.033-9.12-10.268c-1.601-2.358-2.099-4.916-2.139-8.4c4.953,3.368,12.601,7.57,12.98,7.778 l3.858,2.115l-1.829-4.002c-1.379-3.011-5.022-11.465-5.334-14.399c-0.161-1.491-0.305-3.068-0.421-4.435l16.877,14.09l-1.806-3.992 c-0.046-0.076-4.622-7.607-5.821-12.664c-1.078-4.528-0.682-10.716-0.307-14.302L58.57,89.672l-1.426-5.26 c-0.025-0.098-2.688-10.008-2.3-15.83c0.203-3.017,0.767-5.52,1.26-7.227l9.566,12.69l-0.601-5.308 c-0.391-3.451-1.083-13.274,0.381-17.257c0.871-2.362,1.693-4.189,2.32-5.459l6.435,10.212l-0.382-5.752 c-0.006-0.091-0.604-9.295,0.416-13.173c0.401-1.521,0.854-2.681,1.251-3.524l5.249,8.744l-0.52-6.238 c-0.181-2.221-0.144-8.129,1.836-11.469c0.596,0.522,1.248,1.148,1.67,1.575l2.215,2.245l0.276-3.142 c0.162-1.838,0.783-7.003,1.703-8.813c1.342-2.635,4.69-3.91,7.104-4.505c-6.691,13.614-36.889,77.59-36.889,122.937 c0,23.658,16.206,23.931,16.368,23.931c4.881,0,6.947-7.914,6.947-11.063V133.45c0-2.744,1.148-2.744,1.835-2.744 c5.807,0,10.48,3.196,13.855,6.69c8.813-11.615,15.81-20.526,15.81-20.526s0.16-0.182,0.248-0.345 c-1.03-2.443-7.165-16.995-7.165-16.995l1.708-43.717c0,0-0.278-3.797,1.044-6.052c1.314-2.245,4.247-3.175,4.247-3.175 l13.307,41.443c0,0-4.107,0.866-4.107,5.585c0,2.982,2.658,4.99,6.227,5.013c3.572-0.022,6.227-2.031,6.227-5.013 c0-4.719-4.109-5.585-4.109-5.585l13.311-41.443c0,0,2.93,0.93,4.245,3.175c1.322,2.255,1.043,6.052,1.043,6.052l1.709,43.717 l-7.309,17.34c0,0,6.997,8.911,15.809,20.526c3.375-3.494,8.048-6.69,13.855-6.69c0.687,0,1.833,0,1.833,2.744v14.538 c0,3.148,2.068,11.063,6.95,11.063c0.159,0,16.367-0.272,16.367-23.931c0-45.347-30.197-109.322-36.888-122.937 c2.412,0.595,5.761,1.87,7.104,4.505c0.92,1.809,1.541,6.975,1.705,8.813l0.275,3.142l2.213-2.245 C173.226,25.972,173.875,25.345,174.473,24.823z M176.157,181.396c-1.644-2.189-41.07-55.856-41.07-55.856l-6.723,8.809 l-0.946-1.233l-0.829-1.082l-5.053-6.594l-0.095,0.101c0,0-39.427,53.667-41.07,55.856c-1.643,2.191-4.777,6.708-6.058,9.322 c-1.279,2.614-8.946,39.306-8.946,42.592c0,2.005,0.041,8.618,0.071,13.47c1.536,0.2,3.411,0.761,4.357,0.125 c1.624-1.093,2.363-2.323,2.491-3.372c0.128-1.048,1.367-12.969,2.69-20.812c1.779-10.547,4.571-19.005,4.415-18.97 c3.213-6.672,8.966-17.938,9.887-19.252c17.808-25.439,38.994-49.947,38.994-49.947s21.166,24.502,38.978,49.947 c0.921,1.313,6.672,12.58,9.888,19.252c-0.158-0.035,2.635,8.423,4.414,18.97c1.322,7.843,2.562,19.764,2.688,20.812 c0.131,1.049,0.87,2.279,2.493,3.372c0.944,0.636,2.818,0.075,4.355-0.125c0.032-4.852,0.073-11.465,0.073-13.47 c0-3.286-7.667-39.978-8.948-42.592C180.936,188.104,177.801,183.588,176.157,181.396z M82.538,21.517l-1.014-0.623l-0.813,0.872 c-2.231,2.394-3.063,6.287-3.342,9.478l-1.624-2.705l-1.323,1.433c-0.179,0.197-1.801,2.049-3.004,6.592 c-0.581,2.205-0.709,5.712-0.689,8.68l-3.057-4.85l-1.234,1.958c-0.072,0.114-1.787,2.859-3.722,8.121 c-1.22,3.307-1.179,9.262-0.949,13.547l-6.463-8.577l-1.012,2.251c-0.08,0.177-1.934,4.373-2.359,10.694 c-0.234,3.536,0.51,8.253,1.231,11.789l-7.778-7.739l-0.453,2.807c-0.073,0.446-1.754,11.048-0.02,18.338 c0.433,1.819,1.231,3.879,2.117,5.832l-10.759-9.394c0,0-0.749,5.515-0.248,10.196c0.271,2.523,2.272,7.632,3.813,11.276 c-3.503-2.016-8.539-5.019-11.099-7.047l-2.259-1.79l-0.106,2.881c-0.162,4.545-0.087,8.952,2.6,12.916 c1.161,1.717,3.433,4.291,5.459,6.484c-2.877-0.894-6.201-1.851-8.179-2.173l-1.763-0.288l0.071,1.787 c0.148,3.675,2.771,8.324,4.198,9.896c0.723,0.794,2.436,2.508,3.941,3.991L21.93,137.83l0.896,2.098 c0.1,0.234,2.493,5.74,7.324,9.943c2.464,2.146,6.876,4.516,10.047,6.088c-2.57,0.653-5.908,1.536-8.518,2.335l-2.402,0.735 l1.246,1.664c0.13,0.173,0.27,0.343,0.407,0.494c3.608,4.04,12.229,5.234,14.412,5.339c-4.774,1.197-9.767,2.451-11.896,2.979 l-2.911,0.728l2.371,1.843c4.708,3.656,13.02,5.841,22.233,5.841c2.588,0,4.539,0.099,8.954-0.081l-6.105,11.467 c0,0-2.038,9.36-3.02,12.658c-2.304-2.226-2.133-3.205-15.52-15.09c-4.829-4.284-15.411-10.026-18.429-13.813 c-1.005-1.263,5.449-1.422,6.179-1.422c0.73,0-6.393-3.385-8.582-6.123c-2.191-2.739-2.895-5.36-2.895-5.36s-0.38-0.847,0.637-1.001 c1.018-0.157,8.65-1.316,9.084-1.611c0.395-0.266,0.332-0.517-0.137-0.75c-0.469-0.236-9.248-4.724-12.548-10.672 c-2.375-4.281-2.357-6.923-2.364-7.32c-0.01-0.64,0.17-0.803,1.385-0.708c0.862,0.068,7.226,0.046,7.774-0.032 c0.546-0.08,0.453-0.324,0.019-0.576c-9.483-5.484-8.546-14.054-8.624-14.601c-0.079-0.548,0-0.783,0.548-0.704 c0.546,0.077,9.342,0.263,9.812,0.263c0.469,0,0.218-0.519,0.218-0.519s-3.452-4.27-6.056-11.001 c-2.077-5.366-2.377-11.169-2.533-11.639c-0.157-0.469-0.034-0.887,0.514-0.808c0.549,0.079,8.558,3.488,8.87,3.567 c0.313,0.077,0.548-0.103,0.235-0.259c-0.314-0.157-2.896-6.383-3.855-12.033c-1.384-8.17-0.488-10.725-0.42-11.269 c0.063-0.502,0.397-0.874,1.105-0.507c0.743,0.385,12.255,10.245,12.646,10.402c0.391,0.157,0.79-0.164,0.477-0.555 c-0.313-0.392-2.392-6.574-2.938-13.145c-0.548-6.571,0.1-14.571,0.274-15.225c0.161-0.604,0.635-0.581,1.339,0.046 c0.704,0.626,10.381,8.489,11.006,9.038c0.625,0.547,0.727,0.252,0.492-0.53c-0.235-0.782-0.484-8.435,0.375-14.381 c0.965-6.686,3.372-10.979,3.685-11.448s0.536-0.474,0.927-0.161c0.391,0.313,5.106,9.045,5.497,9.515 c0.391,0.469,0.809,0.336,0.732-0.524c-0.104-1.14-0.057-4.547,1.845-12.682c1.956-8.371,3.789-9.758,4.052-10.088 c0.313-0.396,0.521-0.392,0.833-0.002c0.309,0.387,3.945,8.536,4.519,9.377c-0.005,0,0,0.008,0.031,0.049 c-0.007-0.009-0.022-0.036-0.031-0.049c0.025,0.008,0.446,0.395,0.34-0.883c-0.058-0.707,0.396-10.055,1.574-12.653 c1.941-4.282,4.404-6.214,4.899-6.463c0.54-0.272,0.658-0.171,0.737,0.212c0.146,0.721,0.478,7.705,0.625,8.312 c0.146,0.606,0.444,0.232,0.437-0.151c-0.015-0.72,1.081-7.977,3.115-12.044c2.033-4.069,4.292-5.681,5.188-6.133 c0.742-0.376,0.989-0.156,1.018,0.391c0.022,0.422,0.645,5.719,1.206,10.452c-0.272,1.24-0.484,2.556-0.639,3.691 C83.251,22.014,82.866,21.718,82.538,21.517z M127.35,141.814c-1.158,12.032-4.978,23.045-6.326,29.486 c-1.643,7.849-4.788,18.061-6.793,20.931c-4.433,6.343-18.036,18.547-20.403,19.732c-1.094,0.547-6.376-4.115-6.56-4.846 c-0.182-0.728,2.883-3.993,2.154-3.627c-0.731,0.364-4.104,0.906-5.06,0.87c-0.753-0.026,0.633-2.728,0.633-2.728 s-1.484,2.217-3.021,2.947c-0.03,0.015,9.433-18.119,9.433-18.119S127.52,140.043,127.35,141.814z M119.7,169.39l3.104-10.647 l-1.869-0.559l-3.152,10.656L119.7,169.39z M114.072,167.242l4.687-10.051l-1.764-0.838l-4.735,10.055L114.072,167.242z M126.961,159.319l-0.82,11.06l-1.991-0.139l0.867-11.079L126.961,159.319z M131.727,170.391l-1.986,0.167l-0.828-11.078 l1.944-0.144L131.727,170.391z M164.422,186.462c0,0,9.463,18.134,9.434,18.119c-1.54-0.73-3.021-2.947-3.021-2.947 s1.384,2.701,0.633,2.728c-0.957,0.036-4.33-0.506-5.06-0.87c-0.731-0.366,2.334,2.899,2.153,3.627 c-0.185,0.73-5.467,5.393-6.56,4.846c-2.368-1.186-15.973-13.39-20.404-19.732c-2.007-2.87-5.149-13.082-6.792-20.931 c-1.349-6.441-4.621-17.127-5.778-29.16C128.854,140.373,164.422,186.462,164.422,186.462z M142.029,167.242l1.813-0.834 l-4.735-10.055l-1.762,0.838L142.029,167.242z M136.402,169.39l1.917-0.55l-3.152-10.656l-1.868,0.559L136.402,169.39z"}))}function pe(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_ClosedCaption",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{className:"CCBox",fill:"none",stroke:"#000000",strokeWidth:"10",strokeMiterlimit:"10",d:"M238,210c0,6.627-5.373,12-12,12H30 c-6.627,0-12-5.373-12-12V46c0-6.627,5.373-12,12-12h196c6.627,0,12,5.373,12,12V210z"}),i.createElement("path",{className:"C1",d:"M90.505,173.207c11.431,0,22.338-4.276,30.72-12.036c2.6-2.407,2.753-6.47,0.347-9.068c-2.41-2.604-6.47-2.757-9.072-0.349 c-5.998,5.559-13.811,8.62-21.995,8.62c-17.852,0-32.373-14.524-32.373-32.372c0-17.849,14.521-32.373,32.373-32.373 c8.177,0,15.981,3.055,21.979,8.603c2.603,2.407,6.662,2.25,9.072-0.353c2.407-2.602,2.249-6.662-0.353-9.068 c-8.375-7.751-19.276-12.019-30.694-12.019c-24.931,0-45.209,20.281-45.209,45.209C45.3,152.93,65.574,173.207,90.505,173.207z"}),i.createElement("path",{className:"C1",d:"M177.926,173.207c11.431,0,22.338-4.276,30.721-12.036c2.6-2.407,2.754-6.47,0.347-9.068 c-2.41-2.604-6.47-2.757-9.072-0.349c-5.998,5.559-13.812,8.62-21.995,8.62c-17.852,0-32.372-14.524-32.372-32.372 c0-17.849,14.521-32.373,32.372-32.373c8.178,0,15.981,3.055,21.979,8.603c2.604,2.407,6.663,2.25,9.072-0.353 c2.407-2.602,2.25-6.662-0.353-9.068c-8.375-7.751-19.277-12.019-30.694-12.019c-24.932,0-45.209,20.281-45.209,45.209 C132.721,152.93,152.996,173.207,177.926,173.207z"}))}function _e(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Hidden",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{fill:"none",stroke:"#FFFFFF",strokeWidth:"10",strokeLinecap:"round",strokeMiterlimit:"10",d:"M62.499,172.263 c-32.755-16.197-47.415-39.509-47.415-39.509"}),i.createElement("path",{fill:"none",stroke:"#FFFFFF",strokeWidth:"10",strokeLinecap:"round",strokeMiterlimit:"10",d:"M177.948,85.392 c48.213,14.998,68.451,47.362,68.451,47.362s-36.393,54.737-115.689,54.737c-17.938,0-33.591-2.671-47.096-6.832"}),i.createElement("path",{fill:"none",stroke:"#FFFFFF",strokeWidth:"10",strokeLinecap:"round",strokeMiterlimit:"10",d:"M15.084,132.754 c0,0,32.933-56.576,115.674-54.785c8.505,0.185,16.486,0.913,23.96,2.072"}),i.createElement("path",{fill:"none",stroke:"#FFFFFF",strokeWidth:"10",strokeLinecap:"round",strokeMiterlimit:"10",d:"M93.981,141.131 c-0.475-2.385-0.725-4.852-0.725-7.377c0-20.711,16.789-37.5,37.5-37.5c2.42,0,4.787,0.229,7.08,0.668"}),i.createElement("path",{fill:"none",stroke:"#FFFFFF",strokeWidth:"10",strokeLinecap:"round",strokeMiterlimit:"10",d:"M156.528,106.512 c7.223,6.836,11.729,16.513,11.729,27.242c0,20.711-16.789,37.5-37.5,37.5c-10.609,0-20.189-4.405-27.012-11.487"}),i.createElement("line",{fill:"none",stroke:"#FFFFFF",strokeWidth:"10",strokeLinecap:"round",strokeMiterlimit:"10",x1:"53.007",y1:"210.504",x2:"208.507",y2:"55.004"}))}function ge(e){const{fullcolor:t}=e,n=(0,r._T)(e,["fullcolor"]),[o,a]=(0,c.y)(),[s,l]=(0,c.y)();return t?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{stroke:a,fill:l,d:"M10.1777 10.0258L10.3929 9.80693V9.49999V5.52777H14.2857H14.6001L14.8205 5.30358L18 2.06976L21.1795 5.30358L21.3999 5.52777H21.7143H25.6071V9.50001V9.80696L25.8223 10.0258L28.5553 12.8055L25.8223 15.5853L25.6071 15.8041V16.1111V20.0833H21.7143H21.3999L21.1795 20.3075L18 23.5413L14.8205 20.3075L14.6001 20.0833H14.2857H10.3929V16.1111V15.8042L10.1777 15.5853L7.44464 12.8055L10.1777 10.0258ZM14.7399 28.0317L11.56 33.4221L9.85164 29.9469L9.6456 29.5278H9.17857H6.29474L8.68445 25.3611H12.1142L14.7399 28.0317ZM26.8214 29.5278H26.3544L26.1484 29.9469L24.44 33.4221L21.2601 28.0317L23.8858 25.3611H27.3155L29.7053 29.5278H26.8214Z",strokeWidth:"1.5"}),i.createElement("circle",{stroke:"#FFAB2C",fill:"#FFC82C",cx:"18",cy:"13",r:"5.5"}),i.createElement("defs",null,i.createElement("linearGradient",{id:s,x1:"7.08",y1:"3.72",x2:"33.6694",y2:"25.0697",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"#0056D6"}),i.createElement("stop",{offset:"1",stopColor:"#1A9FFF"})),i.createElement("linearGradient",{id:o,x1:"7.08",y1:"3.72",x2:"33.6694",y2:"25.0697",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"#0056D6"}),i.createElement("stop",{offset:"1",stopColor:"#1A9FFF"})))):i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M9.64304 9.49988L6.39294 12.8055L9.64304 16.1112V20.8333H14.2858L18.0001 24.6111L21.7143 20.8333H26.3573V16.111L29.6072 12.8055L26.3573 9.50012V4.77777H21.7143L18.0001 1L14.2858 4.77777H9.64304V9.49988ZM22.6432 12.8056C22.6432 15.4136 20.5645 17.5278 18.0004 17.5278C15.4362 17.5278 13.3575 15.4136 13.3575 12.8056C13.3575 10.1976 15.4362 8.08334 18.0004 8.08334C20.5645 8.08334 22.6432 10.1976 22.6432 12.8056Z"}),i.createElement("path",{fill:"currentColor",d:"M5 30.2778L8.25 24.6111H12.4286L15.6786 27.9167L11.5 35L9.17857 30.2778H5Z"}),i.createElement("path",{fill:"currentColor",d:"M30.9999 30.2778L27.7499 24.6111H23.5713L20.3213 27.9167L24.4999 35L26.8213 30.2778H30.9999Z"}))}function fe(){return i.createElement("svg",{version:"1.1",id:"Layer_3",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Filter",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M236.445,23.522c-1.085-2.35-3.438-3.855-6.025-3.855H25.58c-2.586,0-4.936,1.501-6.024,3.855 c-1.08,2.349-0.698,5.112,0.983,7.083l80.328,94.039v104.181c0,2.74,1.682,5.194,4.237,6.188c0.778,0.3,1.588,0.445,2.392,0.445 c1.832,0,3.626-0.762,4.91-2.17l41.012-45.13c1.111-1.219,1.724-2.811,1.724-4.459v-59.054l80.325-94.04 C237.144,28.634,237.526,25.867,236.445,23.522z"}))}function ve(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Edit",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M16.757,233.795c-1.324,3.973,2.455,7.752,6.427,6.428l50.912-16.971l-40.368-40.367L16.757,233.795z"}),i.createElement("rect",{x:"83.614",y:"75.466",transform:"matrix(-0.7071 -0.7071 0.7071 -0.7071 93.7468 324.5916)",width:"60.971",height:"134.827"}),i.createElement("rect",{x:"149.28",y:"68.116",transform:"matrix(-0.7071 -0.7071 0.7071 -0.7071 252.0431 259.4951)",width:"60.971",height:"18.862"}),i.createElement("path",{d:"M233.545,37.803l-14.368-14.369c-7.928-7.928-20.846-7.897-28.809,0.064l-14.305,14.307l43.112,43.111l14.306-14.305 C241.511,58.582,241.513,45.771,233.545,37.803z"}))}function Ce(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Information",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("polyline",{className:"I",points:"86.883,110.957 152.894,110.957 152.894,181.406 177.117,181.406 177.117,202.485 86.883,202.485 86.883,181.775 109.441,181.775 109.441,130.372 86.883,130.372 "}),i.createElement("circle",{className:"I",cx:"128.47",cy:"67.607",r:"25.517"}),i.createElement("circle",{fill:"none",stroke:"#000000",strokeWidth:"14",strokeMiterlimit:"10",cx:"128",cy:"128",r:"116.833"}))}function Ee(){return i.createElement("svg",{version:"1.1",id:"Flag",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Information",height:"100px",width:"100px",x:"0px",y:"0px",viewBox:"0 0 100 100"},i.createElement("path",{d:"M82.5,10.8c-0.8-0.7-1.9-0.8-2.9-0.7l-7.2,1.8c-7.3,1.8-15.1,1.4-22.3-1.2h-0.1c-7.8-2.9-16.2-3.5-24.2-1.9l-2.8,0.6V8.5 c0-1.9-1.5-3.5-3.5-3.5S16,6.5,16,8.5v5.1v38.8v39.2c0,1.9,1.5,3.5,3.5,3.5s3.5-1.5,3.5-3.5V55.1l4-0.8c6.9-1.4,14-0.8,20.5,1.7 l0.3,0.1c5,1.8,10.2,2.8,15.5,2.8c3.6,0,7.3-0.4,10.9-1.4l7.2-1.8c1.5-0.4,2.6-1.8,2.6-3.3V13.6C83.9,12.5,83.3,11.5,82.5,10.8z"}))}function be(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Patch",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M171.176,136.219c-5.516-5.516-14.166-5.948-20.223-1.406L92.125,75.984l-8.002-29.738c-0.324-1.406-1.73-3.027-3.028-3.785 L46.49,24.186c-1.298-0.648-3.136-0.433-4.218,0.648L25.295,41.813c-0.974,0.973-1.298,2.92-0.649,4.217l18.276,34.605 c0.648,1.297,2.379,2.596,3.785,3.027l29.739,8.003l58.828,58.828c-4.542,6.056-4.109,14.707,1.405,20.222l56.882,56.882 c6.056,6.056,15.896,6.056,21.845,0l12.544-12.544c6.056-6.056,6.056-15.788,0-21.845L171.176,136.219z"}),i.createElement("path",{d:"M153.116,122.16c2.271-0.648,4.65-0.973,7.138-0.973c0.865,0,1.622,0,2.486,0.107l26.928-26.927 c12.328,2.92,25.846-0.324,35.361-9.948c9.517-9.625,12.869-23.034,9.949-35.254l-20.33,20.33l-21.845-5.84l-5.84-21.952 l20.331-20.33c-12.221-2.92-25.738,0.324-35.254,9.948c-9.625,9.625-12.869,23.143-9.949,35.362L129.866,98.91L153.116,122.16z"}),i.createElement("path",{d:"M99.371,129.406l-32.226,32.226c-12.328-2.92-25.845,0.324-35.362,9.948c-9.517,9.625-12.869,23.034-9.949,35.254 l20.331-20.33l21.953,5.84l5.839,21.952l-20.331,20.33c12.22,2.92,25.737-0.324,35.254-9.949 c9.625-9.624,12.869-23.142,9.949-35.361l27.035-27.035c-0.325-3.136,0-6.38,0.865-9.517L99.371,129.406z"}))}function we(){return i.createElement("svg",{version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_AppleLogo",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M138.365,26.557c16.139-21.272,38.578-21.376,38.578-21.376s3.336,19.999-12.696,39.266 c-17.12,20.572-36.58,17.206-36.58,17.206S124.012,45.473,138.365,26.557z"}),i.createElement("path",{d:"M129.719,75.662c8.305,0,23.713-11.413,43.771-11.413c34.527,0,48.109,24.566,48.109,24.566s-26.565,13.583-26.565,46.54 c0,37.179,33.093,49.991,33.093,49.991s-23.134,65.112-54.38,65.112c-14.353,0-25.509-9.672-40.631-9.672 c-15.41,0-30.702,10.032-40.662,10.032c-28.533,0-64.581-61.765-64.581-111.414c0-48.849,30.512-74.474,59.13-74.474 C105.61,64.933,120.047,75.662,129.719,75.662z"}))}function Se(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",className:"SVGIcon_Button SVGIcon_WindowsLogo",width:"100%",height:"100%",viewBox:"0 0 128 128",enableBackground:"new 0 0 128 128"},i.createElement("rect",{fill:"#FFFFFF",width:"60.834",height:"60.835"}),i.createElement("rect",{x:"67.165",fill:"#FFFFFF",width:"60.835",height:"60.835"}),i.createElement("rect",{y:"67.164",fill:"#FFFFFF",width:"60.834",height:"60.836"}),i.createElement("rect",{x:"67.165",y:"67.164",fill:"#FFFFFF",width:"60.835",height:"60.836"}))}function ye(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 256 256"},i.createElement("circle",{cx:"126",cy:"134",r:"20.6"}),i.createElement("circle",{cx:"189.4",cy:"134",r:"20.6"}),i.createElement("circle",{cx:"62.6",cy:"134",r:"20.6"}))}function Ie(){return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",version:"1.1",x:"0px",y:"0px",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.41421"},i.createElement("path",{d:"M12.621,2.491c-0.021,0.019 -0.042,0.039 -0.063,0.06l-5.125,5.201c-0.579,0.587 -0.575,1.527 -0.001,2.109l0.691,0.702c0.576,0.584 1.505,0.582 2.079,-0.001l5.126,-5.201c0.021,-0.021 0.04,-0.042 0.059,-0.063l1.573,1.595c0.573,0.582 1.04,0.386 1.04,-0.439l0,-5.957c0,-0.276 -0.219,-0.497 -0.49,-0.497l-5.87,0c-0.82,0 -1.008,0.473 -0.434,1.056l1.415,1.435Zm-9.618,-2.491c-1.665,0 -3.003,1.344 -3.003,3.003l0,11.994c0,1.665 1.344,3.003 3.003,3.003l11.994,0c1.665,0 3.003,-1.344 3.003,-3.003l0,-7.746l0,4.249l-3,-2.488l0,4.492c0,0.826 -0.671,1.496 -1.496,1.496l-9.008,0c-0.826,0 -1.496,-0.671 -1.496,-1.496l0,-9.008c0,-0.826 0.671,-1.496 1.496,-1.496l4.504,0l-2.5,-3l4.249,0l-7.746,0Z"}))}function Re(){return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",x:"0px",y:"0px"},i.createElement("path",{d:"M50,7A43,43,0,1,1,7,50,43,43,0,0,1,50,7m0-7a50,50,0,1,0,50,50A50,50,0,0,0,50,0h0Z",fill:"currentColor"}),i.createElement("path",{d:"M50.79,25a45.51,45.51,0,0,1,5.29.87c5.33,1.51,8.5,5.77,8.9,11.43a10.4,10.4,0,0,1-4.21,9.5c-1.42,1.1-2.91,2.1-4.34,3.18a7.06,7.06,0,0,0-3.18,6.3,4,4,0,0,1-2.88,4,4.42,4.42,0,0,1-5.18-1.55,4.19,4.19,0,0,1-.59-2.07A13.89,13.89,0,0,1,50.3,45,41.55,41.55,0,0,0,54.83,41,5,5,0,0,0,56,38.19c0.23-2.83-1.59-4.65-4.52-4.84-3.54-.23-6.52.69-8.6,3.82a4.19,4.19,0,0,1-4.35,2c-3-.5-4.29-2.94-3.06-5.75a12.84,12.84,0,0,1,6.25-6.2A21.71,21.71,0,0,1,50.79,25Z",fill:"currentColor"}),i.createElement("path",{d:"M53.78,69.88C53.8,73.09,52,75,48.85,75s-5.25-1.84-5.26-4.53c0-3.73,1.67-5.59,5-5.69C51.3,64.7,54.12,66.36,53.78,69.88Z",fill:"currentColor"}))}function De(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4V20V24L7 20H24V4H2ZM34 12V32L29 28H12V24H28V12H34Z",fill:"currentColor"}))}function Me(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.78 19.22L19.22 33.78L4 18.56V4H18.56L33.78 19.22Z",fill:"currentColor"}))}function Te(e,t){return(0,l.id)()?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4V16V20L7 16H24V4H2ZM12 20V32H29L34 36V32V20H12Z",fill:"currentColor"})):i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:e.className,x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 409.6 409.6"},i.createElement("path",{d:"M109.9,96.2H302c16.3,0,29.6,13,29.6,29v101.4c0,16-13.2,29-29.6,29h-90.1l-57.6,57.9L138,255.6h-28.1\r\n\t\t\t\tc-16.3,0-29.6-13-29.6-29V125.2C80.4,109.2,93.6,96.2,109.9,96.2z"}))}function Be(e){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:e.className,x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 409.6 409.6"},i.createElement("path",{d:"M225.1,328.8c-12.6,0-15.3-1.9-29.5-5.3c-18.7-4.8-35.3-6.3-51-5.3c-3.5,0.5-7.1,0.5-10.6,1l-7.6,1\r\n\t\t\t\tc-2.5,0.5-4.5-1-5.6-3.4c-12.6-36.2-16.6-74.7-11.6-117.6c0-2.4,2-3.9,4.5-4.3l4.5-0.5c3.5-0.5,6.6-1,10.1-1c5-0.5,9.6-2.9,13.1-7.2\r\n\t\t\t\tl0.5-1c0.5-0.5,1-1.4,1.5-2.4c9.1-14.5,22.2-25.6,36.8-37.6c7.6-6.3,14.1-12.5,20.2-18.3c6.6-7.2,10.1-16.4,10.6-27\r\n\t\t\t\tc0-9.6,5.6-15.4,16.1-16.4c13.6-1,22.7,3.9,27.8,15.9c7.6,16.4-4.4,33.3-13.9,50.6c-2,3.9-4.5,7.2-7.1,10.6c-1,1.4-2,2.9-3,4.3\r\n\t\t\t\tl-3.5,4.8c-1.5,1.9-3,3.9-4.5,6.3c4,0,7.6,0,11.6,0c11.1-0.5,34.6-0.5,46.7,1.4c7.6,1,13.6,4.8,17.7,10.1c3.5,4.8,4.5,11.1,3,17.8\r\n\t\t\t\tc-0.5,2.9-2,5.8-5,9.2c-1.5,1.9-14.4,3.9-16.5,5.3h10.9c2.5,1.9,5,3.9,7.1,6.3c4,4.3,5.6,9.2,5,14.9c-0.5,5.3-3,10.6-7.6,14\r\n\t\t\t\tc-2.5,1.9-16,3.9-18.5,5.3c5,5.3,18,12.1,16.5,19.3c-2,9.6-7.6,15.4-18.2,17.8c2.5,3.9,3,8.7,1.5,13.5c-0.5,2.4-1.5,4.3-2.5,6.3\r\n\t\t\t\tc-2.5,5.3-6.6,8.2-13.1,9.6C253.2,327.8,233.7,328.8,225.1,328.8z"}))}function Ae(e){return i.createElement("svg",{className:e.className,height:"100px",width:"100px",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 100 100",fill:"currentColor"},i.createElement("g",{display:"none"},i.createElement("rect",{x:"-660.877",y:"-37.172",display:"inline",width:"1370.931",height:"1263.231"})),i.createElement("g",null,i.createElement("path",{d:"M34.367,31.803c0.49,0.443,1.228,0.404,1.698-0.06c3.869-3.823,8.894-6.045,14.425-6.337 c11.044-0.495,20.558,7.281,22.518,17.866c0.133,0.717-0.429,1.379-1.157,1.413l-4.83,0.223c-1.092,0.05-1.578,1.397-0.769,2.133 l13.999,12.733c0.502,0.456,1.279,0.419,1.734-0.084L94.68,45.676c0.733-0.809,0.123-2.1-0.967-2.048l-6.486,0.309 c-1.82-18.94-18.238-33.327-37.455-32.439c-9.122,0.484-17.619,4.28-23.984,10.844c-0.48,0.495-0.439,1.299,0.072,1.762 L34.367,31.803z"}),i.createElement("path",{d:"M6.229,53.869h6.11c0.622,0,1.132,0.468,1.207,1.085c1.029,8.437,4.787,16.288,10.854,22.357 c7.249,7.217,16.85,11.23,27.047,11.23c9.778,0.07,19.009-3.568,26.131-10.258c0.502-0.471,0.502-1.276,0.015-1.763l-9.587-9.587 c-4.379,4.389-10.288,6.838-16.559,6.838c-6.224,0-12.068-2.506-16.541-6.934c-3.179-3.179-5.282-7.178-6.168-11.481 c-0.154-0.746,0.447-1.436,1.209-1.436h5.183c1.092,0,1.639-1.319,0.869-2.092L21.572,37.352c-0.478-0.48-1.255-0.481-1.734-0.003 L5.363,51.773C4.589,52.545,5.135,53.869,6.229,53.869z"})))}function Oe(e){const{className:t}=e,[n,o]=((0,r._T)(e,["className"]),(0,c.y)()),[a,s]=(0,c.y)(),[l,u]=(0,c.y)(),[d,m]=(0,c.y)(),[h,p]=(0,c.y)();return i.createElement("svg",{className:t,width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("circle",{cx:"16",cy:"16",r:"16",fill:"#BDCCDB"}),i.createElement("circle",{cx:"16",cy:"16",r:"16",fill:o}),i.createElement("circle",{cx:"16",cy:"16",r:"14.2745",fill:"#98A8B7"}),i.createElement("circle",{cx:"16",cy:"16",r:"14.2745",fill:s}),i.createElement("circle",{cx:"16",cy:"16",r:"14.2745",stroke:"#7A92A9"}),i.createElement("circle",{cx:"16",cy:"16",r:"11.1309",fill:"#BDCCDB"}),i.createElement("circle",{cx:"16",cy:"16",r:"11.1309",fill:u}),i.createElement("circle",{cx:"16",cy:"16",r:"10.2107",fill:"#5792C8"}),i.createElement("circle",{cx:"16",cy:"16",r:"10.2107",fill:m}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.6016 17.9523C22.8425 17.9523 24.6591 16.1357 24.6591 13.8948C24.6591 11.6539 22.8425 9.83727 20.6016 9.83727C18.3607 9.83727 16.5441 11.6539 16.5441 13.8948C16.5441 13.9609 16.5457 14.0266 16.5488 14.0919L14.0477 17.6314C14.0205 17.6306 13.9933 17.6303 13.966 17.6303C13.2606 17.6303 12.6127 17.8767 12.1038 18.2882L6.33398 15.9235C6.33398 17.4638 6.62381 19.1438 6.97803 19.5302C7.16531 19.7345 9.1256 20.4564 11.0502 21.127C11.3013 22.5093 12.5112 23.5574 13.966 23.5574C15.6027 23.5574 16.9296 22.2306 16.9296 20.5939C16.9296 20.5326 16.9277 20.4717 16.924 20.4113L20.2613 17.9382C20.3735 17.9475 20.487 17.9523 20.6016 17.9523ZM12.1995 21.5232C12.5338 22.1572 13.1994 22.5894 13.966 22.5894C15.0681 22.5894 15.9615 21.696 15.9615 20.5939C15.9615 19.4917 15.0681 18.5983 13.966 18.5983C13.7007 18.5983 13.4475 18.65 13.216 18.744L14.1914 19.1438L14.1886 19.1617C14.8832 19.2688 15.4151 19.8692 15.4151 20.5939C15.4151 21.3942 14.7663 22.043 13.966 22.043C13.8901 22.043 13.8157 22.0371 13.743 22.0259L13.7405 22.042L13.6136 21.9998C13.5414 21.9818 13.4713 21.9583 13.4038 21.9299C13.0402 21.8084 12.6309 21.6704 12.1995 21.5232ZM20.6016 16.5998C22.0956 16.5998 23.3066 15.3887 23.3066 13.8948C23.3066 12.4008 22.0956 11.1898 20.6016 11.1898C19.1077 11.1898 17.8966 12.4008 17.8966 13.8948C17.8966 15.3887 19.1077 16.5998 20.6016 16.5998ZM22.4 13.8948C22.4 14.888 21.5948 15.6932 20.6016 15.6932C19.6083 15.6932 18.8032 14.888 18.8032 13.8948C18.8032 12.9015 19.6083 12.0964 20.6016 12.0964C21.5948 12.0964 22.4 12.9015 22.4 13.8948Z",fill:"#BDCCDB"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.6016 17.9523C22.8425 17.9523 24.6591 16.1357 24.6591 13.8948C24.6591 11.6539 22.8425 9.83727 20.6016 9.83727C18.3607 9.83727 16.5441 11.6539 16.5441 13.8948C16.5441 13.9609 16.5457 14.0266 16.5488 14.0919L14.0477 17.6314C14.0205 17.6306 13.9933 17.6303 13.966 17.6303C13.2606 17.6303 12.6127 17.8767 12.1038 18.2882L6.33398 15.9235C6.33398 17.4638 6.62381 19.1438 6.97803 19.5302C7.16531 19.7345 9.1256 20.4564 11.0502 21.127C11.3013 22.5093 12.5112 23.5574 13.966 23.5574C15.6027 23.5574 16.9296 22.2306 16.9296 20.5939C16.9296 20.5326 16.9277 20.4717 16.924 20.4113L20.2613 17.9382C20.3735 17.9475 20.487 17.9523 20.6016 17.9523ZM12.1995 21.5232C12.5338 22.1572 13.1994 22.5894 13.966 22.5894C15.0681 22.5894 15.9615 21.696 15.9615 20.5939C15.9615 19.4917 15.0681 18.5983 13.966 18.5983C13.7007 18.5983 13.4475 18.65 13.216 18.744L14.1914 19.1438L14.1886 19.1617C14.8832 19.2688 15.4151 19.8692 15.4151 20.5939C15.4151 21.3942 14.7663 22.043 13.966 22.043C13.8901 22.043 13.8157 22.0371 13.743 22.0259L13.7405 22.042L13.6136 21.9998C13.5414 21.9818 13.4713 21.9583 13.4038 21.9299C13.0402 21.8084 12.6309 21.6704 12.1995 21.5232ZM20.6016 16.5998C22.0956 16.5998 23.3066 15.3887 23.3066 13.8948C23.3066 12.4008 22.0956 11.1898 20.6016 11.1898C19.1077 11.1898 17.8966 12.4008 17.8966 13.8948C17.8966 15.3887 19.1077 16.5998 20.6016 16.5998ZM22.4 13.8948C22.4 14.888 21.5948 15.6932 20.6016 15.6932C19.6083 15.6932 18.8032 14.888 18.8032 13.8948C18.8032 12.9015 19.6083 12.0964 20.6016 12.0964C21.5948 12.0964 22.4 12.9015 22.4 13.8948Z",fill:p}),i.createElement("defs",null,i.createElement("linearGradient",{id:n,x1:"8.4375",y1:"1.75",x2:"23.1875",y2:"22.9375",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"white",stopOpacity:"0.54"}),i.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})),i.createElement("linearGradient",{id:a,x1:"9",y1:"3.125",x2:"22.4375",y2:"24.625",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"white",stopOpacity:"0.25"}),i.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})),i.createElement("linearGradient",{id:l,x1:"10.3125",y1:"6.375",x2:"19.6875",y2:"23.125",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"white",stopOpacity:"0.65"}),i.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})),i.createElement("linearGradient",{id:d,x1:"10",y1:"8",x2:"20.5",y2:"26.2107",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"#72A5D3"}),i.createElement("stop",{offset:"1",stopColor:"#4F7294"})),i.createElement("linearGradient",{id:h,x1:"12.1875",y1:"13.5625",x2:"18.5625",y2:"23.5574",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"white",stopOpacity:"0.44"}),i.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"}))))}function Fe(){return i.createElement("svg",{height:"100px",width:"100px",fill:"#000000",x:"0px",y:"0px",viewBox:"0 0 101 101",enableBackground:"new 0 0 101 101",xmlns:"http://www.w3.org/2000/svg",version:"1.1"},i.createElement("g",null,i.createElement("path",{d:"M16.929,30.115 M84.446,84.262c0-37.271-30.323-67.613-67.587-67.613l0,0l0.069,13.467 c29.777,0.039,53.995,24.256,54.051,54.042L84.446,84.262z"}),i.createElement("path",{d:"M16.843,53.089 M61.472,84.262c0-24.616-20.026-44.639-44.628-44.639l0,0v13.466c17.182,0,31.161,13.984,31.161,31.173 H61.472z"}),i.createElement("circle",{cx:"26.695",cy:"74.305",r:"9.812"})))}function Le(e){return i.createElement("svg",Object.assign({},e,{height:"24px",width:"24px",viewBox:"0 0 24 24",x:"0px",y:"0px"}),i.createElement("path",{fill:"white",d:"M3.3,0.5v23h17.5v-23H3.3z M10.2,9.6l-3-2.2h3.7L12,3.9l1.2,3.6H17l-3,2.2l1.2,3.6L12,11l-3,2.2L10.2,9.6z M17.3,16.1 M17.4,18H6.6v-1.2h10.7L17.4,18L17.4,18z M17.3,19.9"}))}function ke(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 32 32",enableBackground:"new 0 0 32 32"},i.createElement("path",{fill:"white",d:"M24.68,19.53l6.9-5.69c0.98-0.81,0.47-2.39-0.81-2.46l-8.89-0.54c-0.54-0.03-1.01-0.37-1.21-0.88L17.4,1.61\r\n\t\t\tc-0.47-1.18-2.12-1.18-2.59,0l-3.27,8.32c-0.2,0.51-0.67,0.84-1.21,0.88l-8.92,0.54c-1.28,0.07-1.78,1.65-0.81,2.46l6.9,5.66\r\n\t\t\tc0.4,0.34,0.61,0.91,0.47,1.41l-2.26,8.65c-0.3,1.21,1.01,2.19,2.09,1.52l7.51-4.81c0.47-0.3,1.04-0.3,1.48,0l7.54,4.81\r\n\t\t\tc1.08,0.67,2.39-0.3,2.09-1.52l-2.26-8.62C24.07,20.4,24.24,19.86,24.68,19.53z"}))}function Ne(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 32 32",enableBackground:"new 0 0 32 32"},i.createElement("g",null,i.createElement("path",{fill:"white",d:"M28.4,1.49H3.79c-1.99,0-3.6,1.61-3.6,3.6v14.88c0,1.99,1.61,3.6,3.6,3.6h2.37c0,1.61-0.38,3.7-1.51,5.88\r\n\t\t\tc-0.28,0.57-0.19,1.33,0.19,1.8c0.28,0.38,0.76,0.47,1.14,0.47c0.19,0,0.38,0,0.57-0.09c4.07-1.61,7.57-5.59,9.47-8.05h12.4\r\n\t\t\tc1.99,0,3.6-1.61,3.6-3.6V5.1C31.91,3.11,30.3,1.49,28.4,1.49z M8.23,14.97c-1.33,0-2.37-1.04-2.37-2.37s1.04-2.37,2.37-2.37\r\n\t\t\ts2.37,1.04,2.37,2.37S9.56,14.97,8.23,14.97z M15.99,14.97c-1.33,0-2.37-1.04-2.37-2.37s1.04-2.37,2.37-2.37\r\n\t\t\tc1.33,0,2.37,1.04,2.37,2.37S17.32,14.97,15.99,14.97z M23.85,14.97c-1.33,0-2.37-1.04-2.37-2.37s1.04-2.37,2.37-2.37\r\n\t\t\tc1.33,0,2.37,1.04,2.37,2.37S25.18,14.97,23.85,14.97z"})))}function xe(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 32 32",enableBackground:"new 0 0 32 32"},i.createElement("g",null,i.createElement("path",{fill:"white",d:"M23.32,28.28C23,25.55,20.68,23.52,18,23.52h-3.78c-2.73,0-5,2.03-5.33,4.76L8.56,30.8h15.09L23.32,28.28z"}),i.createElement("path",{fill:"white",d:"M16.08,22.15c2.82,0,5.1-2.28,5.1-5.1c0-2.82-2.28-5.1-5.1-5.1s-5.1,2.28-5.1,5.1\r\n\t\t\tC10.98,19.86,13.27,22.15,16.08,22.15z"}),i.createElement("g",null,i.createElement("path",{fill:"white",d:"M24.09,10.21c-0.94-1.22-2.18-2.23-3.57-2.9c-1.39-0.68-2.94-1.02-4.48-1.01l-0.02,0L16,6.3\r\n\t\t\t\tc-0.03,0-0.05,0-0.08,0c-1.52,0-3.04,0.35-4.4,1.01c-1.39,0.68-2.62,1.68-3.57,2.9c-0.94,1.22-1.6,2.67-1.91,4.18\r\n\t\t\t\tc-0.3,1.51-0.25,3.1,0.15,4.59c0.14,0.55,0.62,0.92,1.18,0.92c0.01,0,0.02,0,0.04,0h0.27l0.03-0.01c0.32-0.08,0.59-0.29,0.76-0.57\r\n\t\t\t\tl0.07-0.1c0.14-0.21,0.18-0.46,0.11-0.7L8.6,18.38c-0.18-0.62-0.27-1.27-0.29-1.92c0-4.24,3.45-7.68,7.69-7.68h0.04\r\n\t\t\t\tc4.24,0,7.69,3.45,7.69,7.68c-0.02,0.65-0.11,1.3-0.29,1.92l-0.04,0.15c-0.07,0.24-0.03,0.49,0.11,0.7l0.07,0.1\r\n\t\t\t\tc0.17,0.28,0.44,0.49,0.76,0.57l0.03,0.01l0.26,0c0.01,0,0.02,0,0.04,0c0.56,0,1.04-0.37,1.18-0.92c0.4-1.49,0.46-3.08,0.15-4.59\r\n\t\t\t\tC25.69,12.88,25.04,11.44,24.09,10.21z"}),i.createElement("path",{fill:"white",d:"M16.02,0.68c-8.83,0-15.99,7.16-16,15.99h0.01c-0.02,2.68,0.74,5.31,2.18,7.57l0,0.01l0.01,0.01\r\n\t\t\t\tc0.37,0.43,1,0.51,1.47,0.19c0.47-0.32,0.62-0.94,0.36-1.44l0,0l0,0c-1.19-1.89-1.81-4.09-1.79-6.32v0v0\r\n\t\t\t\tc0-7.6,6.16-13.76,13.76-13.76c7.6,0,13.76,6.16,13.76,13.76v0v0c0.03,2.24-0.59,4.43-1.79,6.32l0,0l0,0\r\n\t\t\t\tc-0.26,0.5-0.11,1.12,0.36,1.44c0.47,0.32,1.1,0.24,1.47-0.19l0.01-0.01l0-0.01c1.45-2.26,2.2-4.89,2.18-7.57h0.01\r\n\t\t\t\tC32.02,7.84,24.86,0.68,16.02,0.68"}))))}function Pe(e){return i.createElement("svg",Object.assign({},e,{height:"100px",width:"100px",fill:"#000000",xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 32 32",x:"0px",y:"0px"}),i.createElement("path",{d:"M26.286 0c-3.142 0-5.714 2.572-5.714 5.714 0 0.512 0.074 1.006 0.202 1.479l-10.573 5.287c-1.049-1.332-2.67-2.194-4.487-2.194-3.142 0-5.714 2.572-5.714 5.714s2.572 5.714 5.714 5.714c1.815 0 3.437-0.862 4.486-2.193l10.574 5.287c-0.127 0.473-0.202 0.966-0.202 1.478 0 3.142 2.572 5.714 5.714 5.714s5.714-2.572 5.714-5.714c0-3.142-2.572-5.714-5.714-5.714-1.817 0-3.438 0.862-4.487 2.194l-10.573-5.287c0.128-0.473 0.202-0.967 0.202-1.479s-0.074-1.005-0.202-1.478l10.574-5.287c1.049 1.331 2.67 2.193 4.486 2.193 3.142 0 5.714-2.572 5.714-5.714s-2.572-5.714-5.714-5.714zM26.286 2.286c1.907 0 3.429 1.522 3.429 3.429s-1.522 3.429-3.429 3.429c-1.907 0-3.429-1.522-3.429-3.429s1.522-3.429 3.429-3.429zM5.714 12.571c1.907 0 3.429 1.522 3.429 3.429s-1.522 3.429-3.429 3.429c-1.907 0-3.429-1.522-3.429-3.429s1.522-3.429 3.429-3.429zM26.286 22.857c1.907 0 3.429 1.522 3.429 3.429s-1.522 3.429-3.429 3.429c-1.907 0-3.429-1.522-3.429-3.429s1.522-3.429 3.429-3.429z"}))}function Ve(e){return i.createElement("svg",Object.assign({},e,{fill:"#000000",xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 16 16",x:"0px",y:"0px"}),i.createElement("path",{d:"M8,11c-0.2,0-0.5-0.1-0.6-0.2c-0.2-0.2-0.3-0.3-0.3-0.6l0-7.7L5.7,3.6C5.5,3.8,5.3,3.9,5.1,3.9\r\n\t\t\t\t\tc-0.2,0-0.4-0.1-0.6-0.2C4.4,3.5,4.3,3.4,4.3,3.2c0-0.2,0.1-0.4,0.3-0.5l2.7-2.4C7.5,0.1,7.7,0,8,0s0.5,0.1,0.7,0.3l2.8,2.4\r\n\t\t\t\t\tc0.2,0.2,0.3,0.3,0.3,0.5c0,0.2-0.1,0.4-0.2,0.5c-0.1,0.1-0.3,0.2-0.6,0.2c-0.2,0-0.4-0.1-0.6-0.2L8.8,2.5l0,7.7\r\n\t\t\t\t\tc0,0.2-0.1,0.4-0.3,0.6C8.4,10.9,8.2,11,8,11z"}),i.createElement("path",{d:"M4,16c-0.8,0-1.3-0.2-1.7-0.6c-0.4-0.4-0.6-0.9-0.6-1.7V7.9c0-0.7,0.2-1.3,0.6-1.7c0.4-0.4,1-0.6,1.7-0.6h1.9\r\n\t\t\t\tV7H4.1c-0.7,0-1,0.3-1,1v5.6c0,0.7,0.3,1,1,1h7.9c0.3,0,0.6-0.1,0.7-0.3c0.2-0.2,0.3-0.4,0.3-0.7V8c0-0.3-0.1-0.6-0.3-0.7\r\n\t\t\t\tC12.5,7.1,12.2,7,11.9,7h-1.8V5.6H12c0.8,0,1.3,0.2,1.7,0.6c0.4,0.4,0.6,0.9,0.6,1.7v5.8c0,0.7-0.2,1.3-0.6,1.7\r\n\t\t\t\tc-0.4,0.4-1,0.6-1.7,0.6H4z"}))}function Ge(e){return(0,u.RY)()?i.createElement(Ve,Object.assign({},e)):i.createElement(Pe,Object.assign({},e))}function Ue(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 44 44",enableBackground:"new 0 0 44 44"},i.createElement("g",null,i.createElement("path",{d:"M2 5.90007C2 5.90007 4.92505 2 11.7502 2C18.5753 2 21.5003 5.90007 21.5003 5.90007V33.2005C21.5003 33.2005 18.5753 31.2505 11.7502 31.2505C4.92505 31.2505 2 33.2005 2 33.2005V5.90007Z",stroke:"#fefeef",fill:"none",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M21.4998 5.90007C21.4998 5.90007 24.4248 2 31.2499 2C38.075 2 41.0001 5.90007 41.0001 5.90007V33.2005C41.0001 33.2005 38.075 31.2505 31.2499 31.2505C24.4248 31.2505 21.4998 33.2005 21.4998 33.2005V5.90007Z",stroke:"#fefeef",fill:"none",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})))}function He(e){const{className:t}=e,n=(0,r._T)(e,["className"]);return i.createElement("svg",Object.assign({className:(0,o.Z)(s().SteamDeckCompatLogo,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),i.createElement("path",{opacity:"0.84",fillRule:"evenodd",clipRule:"evenodd",d:"M7.77715 4.30197C10.9241 4.30197 13.4752 6.85305 13.4752 9.99997C13.4752 13.1469 10.9241 15.698 7.77715 15.698V18.8889C12.6864 18.8889 16.666 14.9092 16.666 9.99997C16.666 5.09078 12.6864 1.11108 7.77715 1.11108V4.30197ZM7.77756 13.8889C9.92533 13.8889 11.6664 12.1477 11.6664 9.99997C11.6664 7.8522 9.92533 6.11108 7.77756 6.11108C5.62979 6.11108 3.88867 7.8522 3.88867 9.99997C3.88867 12.1477 5.62979 13.8889 7.77756 13.8889Z",fill:"white"}))}function We(e){const{className:t}=e,n=(0,r._T)(e,["className"]);return i.createElement("svg",Object.assign({className:(0,o.Z)(s().SteamDeckCompatIcon,s().SteamDeckCompatVerified,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 19C14.9706 19 19 14.9706 19 10C19 5.02944 14.9706 1 10 1C5.02944 1 1 5.02944 1 10C1 14.9706 5.02944 19 10 19ZM8.33342 11.9222L14.4945 5.76667L16.4556 7.72779L8.33342 15.8556L3.26675 10.7833L5.22786 8.82223L8.33342 11.9222Z",fill:"currentColor"}))}function je(e){const{className:t}=e,n=(0,r._T)(e,["className"]);return i.createElement("svg",Object.assign({className:(0,o.Z)(s().SteamDeckCompatIcon,s().SteamDeckCompatPlayable,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 19C14.9706 19 19 14.9706 19 10C19 5.02944 14.9706 1 10 1C5.02944 1 1 5.02944 1 10C1 14.9706 5.02944 19 10 19ZM8.61079 9.44444V15H11.3886V9.44444H8.61079ZM9.07372 8.05245C9.34781 8.23558 9.67004 8.33333 9.99967 8.33333C10.4417 8.33333 10.8656 8.15774 11.1782 7.84518C11.4907 7.53262 11.6663 7.10869 11.6663 6.66667C11.6663 6.33703 11.5686 6.0148 11.3855 5.74072C11.2023 5.46663 10.942 5.25301 10.6375 5.12687C10.3329 5.00072 9.99783 4.96771 9.67452 5.03202C9.35122 5.09633 9.05425 5.25507 8.82116 5.48815C8.58808 5.72124 8.42934 6.01821 8.36503 6.34152C8.30072 6.66482 8.33373 6.99993 8.45988 7.30447C8.58602 7.60902 8.79964 7.86931 9.07372 8.05245Z",fill:"currentColor"}))}function ze(e){const{className:t}=e,n=(0,r._T)(e,["className"]);return i.createElement("svg",Object.assign({className:(0,o.Z)(s().SteamDeckCompatIcon,s().SteamDeckCompatUnsupported,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1931 15.6064C13.0246 16.4816 11.5733 17 10.001 17C6.13498 17 3.00098 13.866 3.00098 10C3.00098 8.42766 3.51938 6.97641 4.39459 5.80783L14.1931 15.6064ZM15.6074 14.1922C16.4826 13.0236 17.001 11.5723 17.001 10C17.001 6.13401 13.867 3 10.001 3C8.42864 3 6.97739 3.5184 5.80881 4.39362L15.6074 14.1922ZM19.001 10C19.001 14.9706 14.9715 19 10.001 19C5.03041 19 1.00098 14.9706 1.00098 10C1.00098 5.02944 5.03041 1 10.001 1C14.9715 1 19.001 5.02944 19.001 10Z",fill:"currentColor"}))}function Ke(e){const{className:t}=e,n=(0,r._T)(e,["className"]);return i.createElement("svg",Object.assign({className:(0,o.Z)(s().SteamDeckCompatIcon,s().SteamDeckCompatUnknown,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.3972 11.2461L18.8767 11.4932C18.9578 11.0075 19 10.5087 19 10C19 9.49131 18.9578 8.99248 18.8767 8.50682L17.3972 8.75386C17.4647 9.15821 17.5 9.57442 17.5 10C17.5 10.4256 17.4647 10.8418 17.3972 11.2461ZM17.0295 7.3783L18.4348 6.8539C18.0814 5.90668 17.5729 5.03501 16.9403 4.26971L15.7842 5.22538C16.3119 5.86387 16.7354 6.59021 17.0295 7.3783ZM14.7746 4.21582L15.7303 3.05967C14.965 2.42708 14.0933 1.91864 13.1461 1.56519L12.6217 2.97054C13.4098 3.26461 14.1361 3.68805 14.7746 4.21582ZM11.2461 2.60281L11.4932 1.1233C11.0075 1.0422 10.5087 1 10 1C9.49131 1 8.99248 1.0422 8.50682 1.1233L8.75386 2.60281C9.15821 2.5353 9.57442 2.5 10 2.5C10.4256 2.5 10.8418 2.5353 11.2461 2.60281ZM7.3783 2.97054L6.8539 1.56519C5.90668 1.91864 5.03501 2.42708 4.26971 3.05967L5.22538 4.21582C5.86387 3.68805 6.59021 3.26461 7.3783 2.97054ZM4.21582 5.22538L3.05967 4.26971C2.42708 5.03501 1.91864 5.90668 1.56519 6.8539L2.97054 7.3783C3.26461 6.59022 3.68805 5.86387 4.21582 5.22538ZM1 10C1 9.49131 1.0422 8.99248 1.1233 8.50682L2.60281 8.75386C2.5353 9.15821 2.5 9.57442 2.5 10C2.5 10.4256 2.5353 10.8418 2.60281 11.2461L1.1233 11.4932C1.0422 11.0075 1 10.5087 1 10ZM2.97054 12.6217L1.56519 13.1461C1.91864 14.0933 2.42708 14.965 3.05967 15.7303L4.21582 14.7746C3.68805 14.1361 3.26461 13.4098 2.97054 12.6217ZM5.22538 15.7842L4.26971 16.9403C5.03501 17.5729 5.90668 18.0814 6.8539 18.4348L7.3783 17.0295C6.59022 16.7354 5.86387 16.3119 5.22538 15.7842ZM8.75386 17.3972L8.50682 18.8767C8.99248 18.9578 9.49131 19 10 19C10.5087 19 11.0075 18.9578 11.4932 18.8767L11.2461 17.3972C10.8418 17.4647 10.4256 17.5 10 17.5C9.57442 17.5 9.15821 17.4647 8.75386 17.3972ZM12.6217 17.0295L13.1461 18.4348C14.0933 18.0814 14.965 17.5729 15.7303 16.9403L14.7746 15.7842C14.1361 16.3119 13.4098 16.7354 12.6217 17.0295ZM15.7842 14.7746L16.9403 15.7303C17.5729 14.965 18.0814 14.0933 18.4348 13.1461L17.0295 12.6217C16.7354 13.4098 16.3119 14.1361 15.7842 14.7746ZM9.2425 14.7702C9.46679 14.92 9.73048 15 10.0002 15C10.362 15 10.7089 14.8563 10.9646 14.6006C11.2204 14.3448 11.3641 13.998 11.3641 13.6363C11.3641 13.3666 11.2841 13.1029 11.1343 12.8787C10.9844 12.6544 10.7714 12.4796 10.5222 12.3764C10.2729 12.2732 9.99872 12.2462 9.73415 12.2988C9.46958 12.3514 9.22656 12.4813 9.03582 12.672C8.84508 12.8628 8.71518 13.1057 8.66255 13.3703C8.60993 13.6348 8.63694 13.909 8.74016 14.1582C8.84339 14.4074 9.01821 14.6203 9.2425 14.7702ZM11.0981 10.3552C11.1722 10.2348 11.2765 10.1358 11.4005 10.068C11.8099 9.82315 12.1479 9.47526 12.3808 9.05903C12.6137 8.64279 12.7333 8.17276 12.7278 7.69584C12.7223 7.21892 12.5918 6.75179 12.3493 6.34105C12.1069 5.93031 11.7609 5.59033 11.346 5.35502C10.9311 5.11972 10.4617 4.99732 9.98466 5.00004C9.50764 5.00277 9.03969 5.13052 8.62748 5.37054C8.21527 5.61057 7.87321 5.95448 7.63545 6.36796C7.39769 6.78144 7.27253 7.25004 7.27246 7.72699H9.23191C9.23191 7.6261 9.25178 7.52621 9.29039 7.43301C9.32901 7.3398 9.3856 7.25511 9.45694 7.18378C9.52829 7.11244 9.61299 7.05586 9.70621 7.01725C9.79942 6.97865 9.89933 6.95878 10.0002 6.95878C10.1659 6.96387 10.3255 7.02207 10.4556 7.12479C10.5856 7.22751 10.6792 7.3693 10.7225 7.52925C10.7658 7.6892 10.7565 7.85883 10.6961 8.01311C10.6356 8.16739 10.5271 8.29816 10.3867 8.3861C9.97322 8.62846 9.63003 8.97429 9.39088 9.38955C9.15173 9.80482 9.02487 10.2752 9.02278 10.7544V11.3635H10.9777V10.7544C10.9825 10.6131 11.024 10.4755 11.0981 10.3552Z",fill:"currentColor"}))}function Xe(e){const{className:t}=e,n=(0,r._T)(e,["className"]);return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",className:(0,o.Z)(s().Circke,t)},n,{width:"50",height:"50",viewBox:"0 0 50 50",fill:"none"}),i.createElement("circle",{fill:"currentColor",cx:"25",cy:"25",r:"25"}))}function Ze(e){return i.createElement("svg",Object.assign({width:"26",height:"26",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 26 26",fill:"none"},e),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M17.5133 4.65595C15.8046 6.36468 17.0366 9.2803 19.4284 9.28035C20.446 9.28035 21.0261 8.76331 21.2519 8.56209C21.2963 8.5225 21.327 8.49513 21.3447 8.48633C22.4018 7.42917 22.4024 5.71423 21.3441 4.65595C20.2817 3.59714 18.5699 3.59936 17.5133 4.65595ZM18.5553 7.44735C17.4045 6.30173 19.1522 4.54882 20.301 5.69597V5.69586C20.7836 6.18159 20.783 6.96269 20.301 7.44422C19.8189 7.92684 19.0348 7.92415 18.5553 7.44735ZM0.583974 13.873L14.455 0L24.4165 1.583L26 11.5449L12.1289 25.416C11.7368 25.805 11.2252 26 10.7156 26C10.2065 26 9.69489 25.805 9.30552 25.416L0.583974 16.6976C0.194954 16.305 0 15.7933 0 15.2843C0 14.7742 0.194948 14.2625 0.583974 13.873ZM9.26632 17.5853L8.88665 17.965C8.62416 18.2274 8.43667 18.5227 8.32418 18.8509C8.21403 19.1766 8.19645 19.5106 8.27145 19.8528C8.34879 20.1926 8.53979 20.5148 8.84446 20.8195C9.14445 21.1195 9.46318 21.307 9.80066 21.382C10.1428 21.457 10.4756 21.4382 10.7991 21.3257C11.1272 21.2132 11.4225 21.0257 11.6849 20.7633L12.0646 20.3836C12.3271 20.1211 12.5146 19.8281 12.6271 19.5047C12.7419 19.179 12.7618 18.8473 12.6868 18.5099C12.6142 18.17 12.4255 17.8478 12.1209 17.5431C11.8209 17.2431 11.4986 17.0545 11.1541 16.9771C10.8143 16.8998 10.4791 16.9162 10.1487 17.0263C9.82293 17.1365 9.5288 17.3228 9.26632 17.5853ZM9.6038 18.6821L9.98347 18.3024C10.2014 18.0845 10.4487 17.9427 10.7252 17.8771C11.0065 17.8115 11.2701 17.9017 11.5162 18.1478C11.7693 18.4009 11.8584 18.6634 11.7834 18.9352C11.7107 19.2047 11.5654 19.4485 11.3475 19.6664L10.9678 20.0461C10.7498 20.2641 10.5026 20.4082 10.226 20.4785C9.95417 20.5488 9.6952 20.4609 9.44912 20.2148C9.19601 19.9617 9.10344 19.6981 9.1714 19.4239C9.24171 19.1473 9.38584 18.9001 9.6038 18.6821ZM9.80066 9.87944L9.421 10.2591C9.15851 10.5216 8.97102 10.8169 8.85853 11.145C8.74837 11.4708 8.7308 11.8047 8.80579 12.1469C8.88313 12.4867 9.07414 12.809 9.37881 13.1136C9.6788 13.4136 9.99753 13.6011 10.335 13.6761C10.6772 13.7511 11.01 13.7324 11.3334 13.6199C11.6615 13.5074 11.9568 13.3199 12.2193 13.0574L12.599 12.6777C12.8614 12.4152 13.0489 12.1223 13.1614 11.7989C13.2763 11.4731 13.2962 11.1415 13.2212 10.804C13.1485 10.4642 12.9599 10.1419 12.6552 9.83725C12.3552 9.53727 12.033 9.34861 11.6885 9.27127C11.3486 9.19393 11.0135 9.21033 10.683 9.32048C10.3573 9.43063 10.0632 9.61695 9.80066 9.87944ZM10.1381 10.9763L10.5178 10.5966C10.7358 10.3786 10.983 10.2368 11.2596 10.1712C11.5408 10.1056 11.8045 10.1958 12.0506 10.4419C12.3037 10.695 12.3927 10.9575 12.3177 11.2294C12.2451 11.4989 12.0998 11.7426 11.8818 11.9606L11.5021 12.3403C11.2842 12.5582 11.0369 12.7023 10.7604 12.7726C10.4885 12.843 10.2295 12.7551 9.98347 12.509C9.73036 12.2559 9.63778 11.9922 9.70575 11.718C9.77606 11.4415 9.92019 11.1942 10.1381 10.9763ZM16.3675 13.7464L4.21814 15.9963L5.01966 16.7978L17.169 14.5479L16.3675 13.7464Z"}))}},99825:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});var r=n(89526);let i=0;function o(){const e=r.useRef();return void 0===e.current&&(e.current="svgid_"+i++),[e.current,`url(#${e.current})`]}},92990:(e,t,n)=>{"use strict";n.d(t,{T:()=>h});var r=n(89526),i=n(34433),o=n(701),a=n(19304),s=n(86352),l=n(32765);function c(e){const{popup:t,onMaximize:n,bOSX:s}=e,[l,c]=r.useState(),u=r.useCallback((()=>{t.SteamClient.Window.ToggleMaximize()}),[t]),d=r.useCallback((()=>{let e=t.screen.availWidth-t.innerWidth,n=t.screen.availHeight-t.innerHeight;return 0===e&&0===n}),[t]),h=r.useCallback((()=>{if((0,i.w3)(t,"Window.IsWindowMaximized"))t.SteamClient.Window.IsWindowMaximized((e=>{e!=l&&c(e)}));else{let e=d();e!=l&&c(e)}}),[t,d,l]);r.useEffect((()=>(h(),t.addEventListener("resize",h),()=>t.removeEventListener("resize",h))),[t,h]);const p=r.useCallback((()=>{n?n():u(),h()}),[n,u,h]);return r.createElement(m,{className:(0,a.Z)(l?"restoreButton":"maximizeButton","windowControlButton"),onClick:p},!s&&(l?r.createElement(o.r6F,null):r.createElement(o.YqJ,null)))}function u(e){const{popup:t,onMinimize:n,bOSX:i}=e,a=r.useCallback((()=>{t.SteamClient.Window.Minimize()}),[t]);return r.createElement(m,{className:"minimizeButton windowControlButton",onClick:null!=n?n:a},!i&&r.createElement(o.gR,null))}function d(e){const{popup:t,onClose:n,bOSX:a}=e,s=r.useCallback((()=>{t&&((0,i.w3)(t,"Window.Close")?t.SteamClient.Window.Close():t.close())}),[t]);return r.createElement(m,{className:"closeButton windowControlButton",onClick:null!=n?n:s},!a&&r.createElement(o.pVO,null))}function m(e){const{className:t,onClick:n,children:i}=e,o=r.useCallback((e=>{n&&(e.stopPropagation(),n(e))}),[n]);return r.createElement("div",{className:(0,a.Z)("title-area-icon",t),onClick:o},r.createElement("div",{className:"title-area-icon-inner"},i))}function h(e){const{className:t,style:n,hideActions:i,hideClose:o,hideMin:m,hideMax:h,bOSX:p="macos"==l.De.PLATFORM,bForceWindowFocused:_,onMinimize:g,onMaximize:f,onClose:v,extraActions:C,popup:E,children:b}=e,w=(0,s.n8)(E);return r.createElement("div",{className:(0,a.Z)("TitleBar","title-area",p&&"OSX",(w||_)&&"WindowFocus",t),style:n},r.createElement("div",{className:"title-area-highlight"}),r.createElement("div",{className:"title-area-children"},b),!i&&r.createElement(r.Fragment,null,C&&r.createElement("div",{className:"title-bar-actions extra-actions"},C),r.createElement("div",{className:"title-bar-actions window-controls"},!o&&r.createElement(d,{popup:E,onClose:v,bOSX:p}),!h&&r.createElement(c,{popup:E,onMaximize:f,bOSX:p}),!m&&r.createElement(u,{popup:E,onMinimize:g,bOSX:p}))))}},84343:(e,t,n)=>{"use strict";n.d(t,{HP:()=>d});var r=n(33940),i=n(89526),o=n(73961),a=n(44026),s=n(69206),l=n(14826),c=n(67009),u=n.n(c);function d(e){var t;const{divProps:n,tooltipProps:r}=m(e);return i.createElement(a.Ks,Object.assign({noFocusRing:!0,focusable:null!==(t=e.bNavStop)&&void 0!==t?t:!!n.onClick},n),i.createElement(h,Object.assign({},r)),e.children)}function m(e){const{toolTipContent:t,nDelayShowMS:n=300,bDisabled:o,direction:a,nBodyAlignment:s,nBodyDistance:l,nAllowOffscreenPx:c,nMaxLateralMoveOnScreen:u,strTooltipClassname:d,bNavStop:m,bTopmost:h,children:p}=e,_=(0,r._T)(e,["toolTipContent","nDelayShowMS","bDisabled","direction","nBodyAlignment","nBodyDistance","nAllowOffscreenPx","nMaxLateralMoveOnScreen","strTooltipClassname","bNavStop","bTopmost","children"]),g={direction:a,nBodyAlignment:s,nBodyDistance:l,nAllowOffscreenPx:c,nMaxLateralMoveOnScreen:u,className:d,bTopmost:h},[f,v]=i.useState(!1),[C,E]=i.useState(),b=i.useCallback((e=>{v(!0),E(e.currentTarget)}),[]),w=i.useCallback((()=>{v(!1)}),[]),S={active:f&&!o,target:C,nDelayShowMS:n,hoverPositionProps:g,children:t};return{divProps:Object.assign(Object.assign({},_),{onMouseEnter:b,onMouseLeave:w}),tooltipProps:S}}function h(e){const{active:t,target:n,nDelayShowMS:r=300,hoverPositionProps:a,children:c}=e,[d,m]=i.useState(t);if(i.useLayoutEffect((()=>{if(t){if(r){const e=window.setTimeout((()=>m(!0)),r);return()=>window.clearTimeout(e)}m(!0)}else m(!1)}),[t]),!d)return null;let h=c;return"function"==typeof c?h=c():"string"==typeof c&&(h=i.createElement("div",{className:u().TextToolTip},(0,l.Xx)(c))),h?o.createPortal(i.createElement(s.T,Object.assign({target:n},a),h),n.ownerDocument.body):null}},71209:(e,t,n)=>{"use strict";n.d(t,{R:()=>o});var r=n(89526),i=n(59934);function o(e){const t=(0,i.TH)();return t.pathname.includes("//")?(console.error(`Malformed path: "${t.pathname}"`),r.createElement(i.l_,{to:t.pathname.replace(/\/\//g,"/")})):e.redirect?r.createElement(i.l_,{push:!0,to:e.redirect||"/"}):null}},75962:(e,t,n)=>{"use strict";n.d(t,{M2:()=>g,Qc:()=>f,R6:()=>d,b8:()=>_,ns:()=>m});var r=n(33940),i=n(50265),o=n(89526),a=n(40103),s=n(60161),l=n(14826),c=n(32765),u=n(69159);function d(e,t){let n;n="currentTarget"in e?e.currentTarget.ownerDocument.defaultView:e,0==t.indexOf("steam://")?n.location.href=t:n.open(t,null,"menubar,location,resizable,scrollbars,status,noopener")}function m(e){let{bDisableContextMenu:t,onContextMenu:n,bForceExternal:i,href:a,bUseLinkFilter:s,getPIDFromEvent:l}=e,u=(0,r._T)(e,["bDisableContextMenu","onContextMenu","bForceExternal","href","bUseLinkFilter","getPIDFromEvent"]);return t||n||(n=p),s&&a&&(a=(c.De.IN_CLIENT?"steam://openurl_external/":"")+c.De.COMMUNITY_BASE_URL+"linkfilter/?url="+a),l||(l=()=>0),o.createElement("a",Object.assign({},u,{href:a,onClick:e=>{e.preventDefault(),_(window,a,{bForceExternal:!!i,bUseLinkFilter:!!s,unPID:l(e)})},onContextMenu:n,rel:s?"noopener noreferrer":void 0}),e.children)}function h(e){const{strURL:t,unPID:n}=e;return o.createElement(o.Fragment,null,o.createElement(u.Zo,{onSelected:()=>{s.J$(t)}},(0,l.Xx)("#ContextMenu_CopyLinkURL")),o.createElement(u.Zo,{onSelected:e=>{_(e,t,{unPID:n})}},(0,l.Xx)("#ContextMenu_OpenLinkInNewWindow")))}function p(e,t){let n=e.currentTarget;return(0,a.yV)(o.createElement(u.xV,null,o.createElement(h,{strURL:n.href,unPID:t})),e)}function _(e,t,n={}){const{bForceExternal:r,unPID:i,bUseLinkFilter:o}=n;let a;a="currentTarget"in e?e.currentTarget.ownerDocument.defaultView:e,"undefined"!=typeof SteamClient&&void 0!==SteamClient.WebChat?SteamClient.WebChat.OpenURLInClient(t,i||0,!!r):0==t.indexOf("steam://")&&0!=t.indexOf("steam://remoteplay/connect")?a.location.href=t:a.open(t,null,"menubar,location,resizable,scrollbars,status,noopener"+(o?",noreferrer":""))}const g=e=>o.createElement(o.Fragment,null,Boolean(e.condition)?e.wrap(e.children):e.children);function f(e){if("string"!=typeof e)return NaN;const t=!e.includes("ms")&&e.includes("s");let n=Number.parseFloat(e);return t&&(n*=1e3),n}(0,r.gn)([i.LO],class{constructor(e){this.promise=e}set promise(e){this.m_Promise=e,this.m_Value=void 0,null==e||e.then((t=>{this.m_Promise===e&&(this.m_Value=t)}))}get promise(){return this.m_Promise}get value(){return this.m_Value}}.prototype,"m_Value",void 0)},89855:(e,t,n)=>{"use strict";n.d(t,{TP:()=>r,UA:()=>a,iD:()=>s,kN:()=>i});const r={x:"y",y:"x"};function i(){return{x:0,y:0}}function o(e,t){return e.x*t.x+e.y*t.y}function a(e,t){return{x:t.x-e.x,y:t.y-e.y}}function s(e,t){const n=a(e,t);return Math.sqrt(o(n,n))}},60729:(e,t,n)=>{"use strict";n.d(t,{Rq:()=>i,jg:()=>a,sw:()=>o});var r=n(60161);class i{constructor(e,t){this.m_bActive=!1,this.m_fnBoundAnimationFunc=void 0,this.m_window=e,this.m_options=Object.assign({timing:"sine"},t)}Start(){let e;switch(this.m_msStart=performance.now(),this.m_msEnd=this.m_msStart+this.m_options.msDuration,this.m_options.timing){case"linear":e=function(e){return e};break;case"cubic-in-out":e=function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1};break;default:e=function(e){return.5-Math.cos(e*Math.PI)/2}}this.m_bActive=!0,this.m_fnBoundAnimationFunc=this.OnInterval.bind(this,e),this.m_window.requestAnimationFrame(this.m_fnBoundAnimationFunc)}BIsActive(){return this.m_bActive}End(){if(this.m_bActive){try{this.Update(1)}catch(e){}this.ClearInterval(),this.FireOnComplete()}}FireOnComplete(){this.m_options.onComplete&&this.m_options.onComplete()}Cancel(){this.m_bActive=!1}OnInterval(e){if(!this.m_bActive)return;let t=performance.now()-this.m_msStart;if(t>=this.m_options.msDuration)return void this.End();let n=t/this.m_options.msDuration;try{this.Update(e(n))}catch(e){}this.m_window.requestAnimationFrame(this.m_fnBoundAnimationFunc)}ClearInterval(){this.m_bActive=!1}}class o extends i{constructor(e,t,n){super(e,t),this.m_fnCallback=n}Update(e){this.m_fnCallback(e)}}class a extends i{constructor(e,t,n){super("ownerDocument"in e?r.kR(e):e,n),this.m_props={},this.m_object=e,this.m_propTargets=t}Start(){this.m_props={};for(let e in this.m_propTargets){let t=parseFloat(this.m_object[e])||0,n=this.m_propTargets[e];t!=n&&(this.m_props[e]={start:t,end:n})}super.Start()}Update(e){for(let t in this.m_props){let n=this.m_props[t],r=n.start+(n.end-n.start)*e;this.m_object[t]=r}}}},11837:(e,t,n)=>{"use strict";function r(e,t){if((null==e?void 0:e.length)>1){let n=t>0?Math.min(t,e.length):e.length;for(;0!==n;){let t=Math.floor(Math.random()*n);n-=1;let r=e[n];e[n]=e[t],e[t]=r}}}function i(e,t,n){t<0||n<0||(n>=e.length&&(e[n]=void 0),e.splice(n,0,e.splice(t,1)[0]))}function o(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;if(e.length!=t.length)return!1;for(let n=0;nt==e))}function s(e,t){let n=e.findIndex(t);return n>=0&&(e.splice(n,1),!0)}function l(e,t){let n=0,r=e.length-1;for(;n<=r;){let i=Math.floor((n+r)/2),o=t(e[i]);if(o>0)n=i+1;else if(o<0)r=i-1;else{if(r==i)return i;if(i==n)return r>i&&t(e[i+1])<0?i:i+1;n=i}}return r}function c(e,t,n){return e||console.error("array should be defined for us to fill in the missing indexes"),e.lengtht.add(e))),Array.from(t)}n.d(t,{LG:()=>c,LQ:()=>r,Qf:()=>s,Zf:()=>a,hV:()=>i,kp:()=>u,sL:()=>l,wc:()=>o})},23801:(e,t,n)=>{"use strict";function r(e,t,...n){console.assert?0==n.length?console.assert(!!e,t):console.assert(!!e,t,...n):e||console.warn(t,...n)}function i(e,t,...n){r(!1,t,...n)}n.d(t,{X:()=>r,Z:()=>i})},26464:(e,t,n)=>{"use strict";function r(e,t,n){return{get(){let e=n.value.bind(this);return this.hasOwnProperty(t)||Object.defineProperty(this,t,{value:e}),e}}}n.d(t,{a:()=>r})},85246:(e,t,n)=>{"use strict";n.d(t,{Ar:()=>d,G_:()=>m,Hf:()=>p,bX:()=>h,km:()=>u,pB:()=>a,vq:()=>l});var r=n(33940),i=n(11837),o=n(26464);class a{constructor(){this.m_vecCallbacks=[]}Register(e){this.m_vecCallbacks.push(e);return{Unregister:()=>{i.Zf(this.m_vecCallbacks,e)}}}Dispatch(...e){for(const t of Array.from(this.m_vecCallbacks))t(...e)}ClearAllCallbacks(){this.m_vecCallbacks=[]}CountRegistered(){return this.m_vecCallbacks.length}}class s{constructor(e,t){this.m_callbacks=new a,this.m_currentValue=e,this.m_fnEquals=t}Set(e){if(this.m_fnEquals){if(this.m_fnEquals(this.m_currentValue,e))return}else if(this.m_currentValue===e)return;this.m_currentValue=e,this.m_callbacks.Dispatch(e)}get Value(){return this.m_currentValue}Subscribe(e){return{Unsubscribe:this.m_callbacks.Register(e).Unregister}}}function l(e,t){return new s(e,t)}class c{constructor(e,t,n){this.m_subscriptionRefCount=0,this.m_originalSubscribableValue=e,this.m_mappedSubscribableValue=new s(t(e.Value),n),this.m_fnMap=t}get Value(){var e;return null===(e=this.m_mappedSubscribableValue)||void 0===e?void 0:e.Value}Subscribe(e){var t;0==this.m_subscriptionRefCount++&&(this.m_mappedUnsubscribe=this.m_originalSubscribableValue.Subscribe((e=>this.m_mappedSubscribableValue.Set(this.m_fnMap(e)))));const n=null===(t=this.m_mappedSubscribableValue)||void 0===t?void 0:t.Subscribe(e);return{Unsubscribe:()=>{n.Unsubscribe(),0==--this.m_subscriptionRefCount&&(this.m_mappedUnsubscribe.Unsubscribe(),this.m_mappedUnsubscribe=null)}}}}function u(e,t,n){return new c(e,t,n)}class d{Schedule(e,t){this.IsScheduled()&&this.Cancel(),this.m_fnCallback=t,this.m_schTimer=window.setTimeout(this.ScheduledInternal,e)}IsScheduled(){return void 0!==this.m_schTimer}Cancel(){this.m_schTimer&&(clearTimeout(this.m_schTimer),this.m_schTimer=void 0)}ScheduledInternal(){this.m_schTimer=void 0;let e=this.m_fnCallback;this.m_fnCallback=void 0,e()}}(0,r.gn)([o.a],d.prototype,"ScheduledInternal",null);class m{constructor(){this.m_rgListeners=[]}AddEventListener(e,t,n){e.addEventListener(t,n),this.m_rgListeners.push({element:e,type:t,listener:n})}Unregister(){for(let e of this.m_rgListeners)e.element.removeEventListener(e.type,e.listener);this.m_rgListeners=[]}}function h(e){return(0,r.mG)(this,void 0,void 0,(function*(){let t=[];const n=Object.keys(e);n.forEach((n=>t.push(e[n])));return(yield Promise.all(t)).reduce(((e,t,r)=>(e[n[r]]=t,e)),{})}))}class p{constructor(){this.m_vecCallbacks=[]}Push(e){this.m_vecCallbacks.push(e)}PushArrayRemove(e,t){this.m_vecCallbacks.push((()=>i.Zf(e,t)))}Unregister(){for(let e of this.m_vecCallbacks)e();this.m_vecCallbacks=[]}GetUnregisterFunc(){return this.Unregister}}(0,r.gn)([o.a],p.prototype,"Unregister",null)},19304:(e,t,n)=>{"use strict";function r(...e){return e.reduce(((e,t)=>t?"string"==typeof t?e?`${e} ${t}`:t:"object"==typeof t?e?`${e} ${i(t)}`:i(t):e:e),"")}function i(e){return Object.keys(e).reduce(((t,n)=>e[n]?t?`${t} ${n}`:n:t),"")}n.d(t,{Z:()=>r})},87361:(e,t,n)=>{"use strict";function r(e){if(!o()||!window.document.cookie)return null;let t=document.cookie.match("(^|; )"+e+"=([^;]*)");return t&&t[2]?decodeURIComponent(t[2]):null}function i(e,t,n,r){if(!o())return;r||(r="/");let i="";if(void 0!==n&&n){let e=new Date;e.setTime(e.getTime()+864e5*n),i="; expires="+e.toUTCString()}document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+i+";path="+r}function o(){return!!window.document}n.d(t,{I1:()=>i,bG:()=>r,t$:()=>o})},37377:(e,t,n)=>{"use strict";function r(e){return function(t,n,r){const i=r.value;r.value=function(...t){let r=this[n+"_DebounceProperties"];void 0===r&&(r=this[n+"_DebounceProperties"]={hTimer:void 0,nPending:0}),void 0===r.hTimer?(i.apply(this,t),r.hTimer=window.setInterval((()=>{r.nPending>0?(i.apply(this,t),r.nPending=0):(window.clearInterval(r.hTimer),r.hTimer=void 0)}),e)):r.nPending+=1}}}n.d(t,{D:()=>r})},60161:(e,t,n)=>{"use strict";n.d(t,{Dj:()=>f,Ei:()=>u,Et:()=>C,Eu:()=>R,GB:()=>i,J$:()=>d,Jk:()=>E,Lh:()=>v,Mv:()=>S,RA:()=>l,RD:()=>h,U0:()=>b,V2:()=>y,_J:()=>g,b$:()=>I,dw:()=>a,f4:()=>w,h9:()=>m,kR:()=>c,mQ:()=>p,ni:()=>o,sH:()=>s,uk:()=>_});var r=n(33940);function i(e){return null!=e&&void 0!==e.focus}function o(e,t){for(;t;){if(t.parentNode.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&(t=t.parentNode.host),t==e)return!0;t=t.parentElement}return!1}function a(e,t){let n=0,r=0;return t.righte.right&&(n=t.left-e.right),t.bottome.bottom&&(r=t.top-e.bottom),Math.sqrt(n*n+r*r)}function s(e,t){return{top:e.screenTop+t.top,bottom:e.screenTop+t.bottom,left:e.screenLeft+t.left,right:e.screenLeft+t.right}}function l(e){let t;return e&&i(e.currentTarget)&&(t=e.currentTarget.ownerDocument.defaultView),t}function c(e){let t;return e&&(t=e.ownerDocument.defaultView),t}function u(e){let t=window.document;try{t=window.top.document}catch(e){}let n=t.createElement("textarea");n.textContent=e,n.style.position="fixed",t.body.appendChild(n),n.select();try{t.execCommand("copy")}catch(e){console.warn("Copy to clipboard failed.",e)}finally{t.body.removeChild(n)}}function d(e){const t="steam://openurl/";e.startsWith(t)&&(e=e.slice(16)),u(e)}function m(e){let t=e.ownerDocument;return t.fullscreen||t.webkitIsFullScreen||t.mozFullScreen||t.msFullscreenElement}function h(e,t){let n=e;n.requestFullscreen?n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen():t&&t.webkitSetPresentationMode?t.webkitSetPresentationMode("fullscreen"):n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen&&n.msRequestFullscreen()}function p(e){let t=e.ownerDocument;t.cancelFullscreen?t.cancelFullscreen():t.webkitCancelFullScreen?t.webkitCancelFullScreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.msExitFullscreen&&t.msExitFullscreen()}function _(e){return"INPUT"===e.nodeName}function g(e,t){switch(e){case"TEXTAREA":return!0;case"INPUT":switch(t){case"date":case"datetime-local":case"datetime":case"email":case"month":case"number":case"password":case"search":case"tel":case"text":case"time":case"url":case"week":return!0;default:return!1}default:return!1}}function f(e){"loading"==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}function v(e,t){const n=e;return n.lastModifiedDate=new Date,n.name=t||Date.now().toString(),e}function C(e,t){let n=e.parentElement;for(;n;){if(!t||"x"==t){let e=window.getComputedStyle(n);if("scroll"==e.overflowX||"auto"==e.overflowX||"fixed"==e.position)break}if(!t||"y"==t){let e=window.getComputedStyle(n);if("scroll"==e.overflowY||"auto"==e.overflowY||"fixed"==e.position)break}n=n.parentElement}return n}function E(e,t){for(;e;){if(t(e))return e;e=e.parentElement}}function b(e,t){if(!("ownerDocument"in e))return!0;const n=e.ownerDocument.defaultView.getComputedStyle(e),r="x"===t?n.overflowX:n.overflowY;return"auto"===r||"scroll"===r}function w(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){let n;const r=new Promise((r=>{n=r,e.addEventListener(t,r)})),i=yield r;return e.removeEventListener(t,n),i}))}function S(){return function(e){const t={};return e.querySelectorAll('link[rel="stylesheet"]').forEach((e=>{t[e.href]=e})),t}(document)}function y(e,t){I(e.document,t,!0)}function I(e,t,n){const r=Object.assign({},t),i=e.getElementsByTagName("head")[0],o=i.getElementsByTagName("link"),a=o.length;for(let e=0;e{"use strict";n(52868)},14826:(e,t,n)=>{"use strict";n.d(t,{$1:()=>c.$1,CE:()=>b,LJ:()=>u,LZ:()=>v,Mh:()=>c.Mh,XG:()=>c.XG,Xx:()=>d,Yt:()=>w,is:()=>E,jr:()=>c.jr,kQ:()=>m,kb:()=>g,m9:()=>c.m9,vX:()=>c.vX,x$:()=>p,yW:()=>c.yW,yu:()=>h});var r=n(89526),i=n(46132),o=n(78423),a=n(32765),s=n(11837),l=n(85246),c=n(72120);class u{constructor(){this.m_mapTokens=new Map,this.m_mapFallbackTokens=new Map,this.m_cbkTokensChanged=new l.pB}static InstallErrorReportingStore(e){this.sm_ErrorReportingStore=e}static GetLanguageFallback(e){return"sc_schinese"===e?"schinese":"english"}static GetELanguageFallback(e){return 29===e?6:0}static IsELanguageValidInRealm(e,t){return t===(29===e?o.IN.k_ESteamRealmChina:o.IN.k_ESteamRealmGlobal)}static GetLanguageListForRealms(e){const t=new Array;for(let n=0;n<31;n++)for(const r of e)if(this.IsELanguageValidInRealm(n,r)){t.push(n);break}return t}InitFromObjects(e,t,n,r,i){i||this.m_mapTokens.clear();const o=Object.assign(Object.assign({},n||{}),e),a=Object.assign(Object.assign({},r||{}),t||{});this.AddTokens(o,a),this.m_cbkTokensChanged.Dispatch()}InitDirect(e,t){this.m_mapTokens.clear(),this.m_mapFallbackTokens.clear(),this.AddTokens(e,t),this.m_cbkTokensChanged.Dispatch()}AddTokens(e,t){Object.keys(e).forEach((t=>{this.m_mapTokens.set(t,e[t])})),t&&Object.keys(t).forEach((e=>{this.m_mapTokens.has(e)||this.m_mapTokens.set(e,t[e]),this.m_mapFallbackTokens.set(e,t[e])}))}GetTokensChangedCallbackList(){return this.m_cbkTokensChanged}GetPreferredLocales(){return this.m_rgLocalesToUse?this.m_rgLocalesToUse:navigator&&navigator.languages?navigator.languages:["en-US"]}GetELanguageFallbackOrder(e=null){let t=new Array;if(t.push((0,i.jM)(a.De.LANGUAGE)),(a.De.SUPPORTED_LANGUAGES||[]).forEach((e=>{e.value!=a.De.LANGUAGE&&t.push((0,i.jM)(e.value))})),e){u.GetLanguageListForRealms(e).forEach((e=>{-1==t.indexOf(e)&&t.push(e)}))}return t}SetPreferredLocales(e){this.m_rgLocalesToUse=e}BLooksLikeToken(e){return e&&e.length>0&&"#"==e.charAt(0)}LocalizeIfToken(e,t){return this.BLooksLikeToken(e)?this.LocalizeString(e,t):e}LocalizeString(e,t){if(!this.BLooksLikeToken(e))return;let n=this.m_mapTokens.get(e.substring(1));if(void 0!==n)return n;!t&&u.sm_ErrorReportingStore&&u.sm_ErrorReportingStore.ReportError(new Error(`Unable to find localization token '${e}' for language '${a.De.LANGUAGE}', ${this.m_mapTokens.size} tokens in map`),{bIncludeMessageInIdentifier:!0})}LocalizeStringFromFallback(e){if(!e||0==e.length||"#"!=e.charAt(0))return;let t=this.m_mapFallbackTokens.get(e.substring(1));return void 0!==t?t:void 0}}function d(e,...t){let n=w.LocalizeString(e);return void 0===n?e:f(n,...t)}function m(e,...t){let n=w.LocalizeString(e);if(void 0===n)return e;let i,o=[],a=/(.*?)%(\d+)\$s/g,s=0;for(;i=a.exec(n);){s+=i[0].length,o.push(i[1]);let e=parseInt(i[2]);e>=1&&e<=t.length&&o.push(t[e-1])}return o.push(n.substr(s)),r.createElement(r.Fragment,null,...o)}function h(e,...t){let n=w.LocalizeIfToken(e);return void 0===n?e:_(n,...t)}function p(e,t,...n){let r;return r=d(1===t||"1"===t?e:e+"_Plural",t),void 0===r?e:_(r,...n)}function _(e,...t){let n,i=[],o=/(.*?)<(\d+)>(.*)<\/(\2)>/gs,a=0;for(;n=o.exec(e);){a+=n[0].length,i.push(n[1]);let e=parseInt(n[2]),o=n[3]||"",s=(e>=1&&e<=t.length?t[e-1]:null)?r.cloneElement(t[e-1],{},[o]):o;i.push(s)}return i.push(e.substr(a)),r.createElement(r.Fragment,null,...i)}function g(e,t,...n){return 1===t||"1"===t?d(e,t,...n):d(e+"_Plural",t,...n)}function f(e,...t){return 0==t.length?e:e=e.replace(/%(?:(\d+)\$)?s/g,(function(e,n){if(n<=t.length&&n>=1){let e=t[n-1];return String(null==e?"":e)}return e}))}class v{static Set(e,t,n){if(e.length<=t){if(t>=31)return e;e=(0,s.LG)(e,t+1,null)}return e[t]=n,e}static Get(e,t){return e&&e.length>t&&e[t]||""}static GetWithFallback(e,t){if(e){return v.Get(e,t)||v.Get(e,u.GetELanguageFallback(t))}return null}}const C={english:"en",german:"de",french:"fr",italian:"it",korean:"ko",latam:"es-419",spanish:"es",schinese:"zh-cn",tchinese:"zh-tw",russian:"ru",thai:"th",japanese:"ja",brazilian:"pt-br",portuguese:"pt",polish:"pl",danish:"da",dutch:"nl",finnish:"fi",norwegian:"no",swedish:"sv",hungarian:"hu",czech:"cs",romanian:"ro",turkish:"tr",arabic:"ar",bulgarian:"bg",greek:"el",ukrainian:"uk",vietnamese:"vi",indonesian:"id",sc_schinese:"zh-cn",koreana:"ko"},E={"en-US":0,"de-DE":1,"fr-FR":2,"it-IT":3,"ko-KR":4,"es-ES":5,"zh-CH":6,"zh-CN":7,"ru-RU":8,"th-TH":9,"ja-JP":10,"pt-PT":11,"pl-PL":12,"da-DK":13,"nl-NL":14,"fi-FI":15,"nb-NO":16,"sv-SE":17,"hu-HU":18,"cs-CZ":19,"ro-RO":20,"tr-TR":21,"pt-BR":22,"bg-BG":23,"el-GR":24,"ar-SA":25,"uk-UA":26,"es-419":27,"vi-VN":28,"id-ID":30};function b(){return C[a.De.LANGUAGE]||null}const w=new u;window.LocalizationManager=w},72120:(e,t,n)=>{"use strict";n.d(t,{$1:()=>l,Kb:()=>R,LO:()=>I,Mh:()=>w,Np:()=>y,Sc:()=>d,U$:()=>r,XG:()=>b,jA:()=>D,jr:()=>_,m9:()=>p,vX:()=>c,yW:()=>s});var r,i=n(39818),o=n(14826),a=n(25508);function s(e,t,n){let i;if("boolean"==typeof t){i={eSuffix:t?r.None:r.Ago,bForceSingleUnits:n,bHighGranularity:!1}}else i=Object.assign({eSuffix:r.Ago,bForceSingleUnits:!1,bHighGranularity:!1},t);let s="#TimeInterval_";i.eSuffix==r.Ago?s="#TimeSince_":i.eSuffix==r.Remaining&&(s="#TimeRemaining_");let l=e=>Math.floor(e);if(i.bAllowDecimal&&(l=e=>Math.round(10*e)/10),e>=2*a._H.PerYear)return(0,o.Xx)(s+"XYears",l(e/a._H.PerYear));if(e>=a._H.PerYear)return(e-=a._H.PerYear)>=2*a._H.PerMonth&&!i.bForceSingleUnits?(0,o.Xx)(s+"1YearXMonths",l(e/a._H.PerMonth)):(0,o.Xx)(s+"1Year");if(e>=2*a._H.PerMonth)return(0,o.Xx)(s+"XMonths",l(e/a._H.PerMonth));if(e>=2*a._H.PerWeek)return(0,o.Xx)(s+"XWeeks",l(e/a._H.PerWeek));if(e>=a._H.PerWeek)return(0,o.Xx)(s+"1Week",l(e/a._H.PerWeek));if(e>=2*a._H.PerDay)return(0,o.Xx)(s+"XDays",l(e/a._H.PerDay));if(e>=a._H.PerDay)return(e-=a._H.PerDay)>=2*a._H.PerHour&&!i.bForceSingleUnits?(0,o.Xx)(s+"1DayXHours",l(e/a._H.PerHour)):(0,o.Xx)(s+"1Day");if(e>=2*a._H.PerHour)return(0,o.Xx)(s+"XHours",l(e/a._H.PerHour));if(e>=a._H.PerHour)return(e-=a._H.PerHour)>=2*a._H.PerMinute&&!i.bForceSingleUnits?(0,o.Xx)(s+"1HourXMinutes",l(e/a._H.PerMinute)):(0,o.Xx)(s+"1Hour");if(e>=2*a._H.PerMinute){const t=Math.floor(e/a._H.PerMinute),n=e%a._H.PerMinute;return i.bHighGranularity&&0!=n?1==n?(0,o.Xx)(s+"XMinutes1Second",t):(0,o.Xx)(s+"XMinutesXSeconds",t,n):(0,o.Xx)(s+"XMinutes",l(e/a._H.PerMinute))}if(e>=a._H.PerMinute){const t=e%a._H.PerMinute;return i.bHighGranularity&&0!=t?1==t?(0,o.Xx)(s+"1Minute1Second"):(0,o.Xx)(s+"1MinuteXSeconds",t):(0,o.Xx)(s+"1Minute")}return i.bHighGranularity?1==e?(0,o.Xx)(s+"1Second"):(0,o.Xx)(s+"XSeconds",e):(0,o.Xx)(s+"LessThanAMinute")}function l(e,t,n){let r;r=void 0===t||!0===t||!1===t?{weekday:n?"long":"short",year:t?void 0:"numeric"}:t;let i=new Date(1e3*e);const a=Object.assign({weekday:"short",month:"long",day:"numeric",year:"numeric"},r);return i.toLocaleDateString(o.Yt.GetPreferredLocales(),a)}function c(e,t){let n,r=new Date(1e3*e);if(!t){const e=r.setHours(0,0,0,0);let t=m.get(e);if(t)return t}const i=Object.assign({year:"numeric",month:"short",day:"numeric"},t);return n=r.toLocaleDateString(o.Yt.GetPreferredLocales(),i),n}!function(e){e[e.None=0]="None",e[e.Ago=1]="Ago",e[e.Remaining=2]="Remaining"}(r||(r={}));const u=new Map;function d(e,t,n){const r=new Date(1e3*e),i=o.Yt.GetPreferredLocales(),a=(null==t?void 0:t.bForce24HourClock)||function(e){let t=u.get(e);if(!0===t||!1===t)return t;const n=new Date;return n.setHours(15),t=n.toLocaleTimeString(e,{hour:"numeric"})==n.toLocaleTimeString(e,{hour:"numeric",hour12:!1}),u.set(e,t),t}(i[0]),s=Object.assign(Object.assign({},a?{hour:"numeric",minute:"2-digit",hourCycle:"h23"}:{hour:"numeric",minute:"2-digit"}),n);return r.toLocaleTimeString(i,s)}const m=new Map,h=new Map;function p(e,t,n=!0,r=!0){const a=new Date,s=new Date(1e3*e);if(s.getFullYear()!=a.getFullYear())return c(e);r&&i.zO((new Date).setHours(24,0,0,0)-a.getTime());const l=new Date;if(l.setHours(0,0,0,0),n)if(s>=l){if(l.setDate(l.getDate()+1),s=l)return(0,o.Xx)("#Time_Yesterday");const u={month:t?"long":"short",day:"numeric"},d=s.setHours(0,0,0,0)+u.month;let m=h.get(d);return m||(m=s.toLocaleDateString(o.Yt.GetPreferredLocales(),u),h.set(d,m),m)}function _(e,t){const n=new Date(1e3*e),r=new Date,s=Object.assign({bGranularFutureTime:!1,bGranularTodayTimeOnly:!1,bGranularToday:!1,bGranularYesterday:!1,bGranularWeek:!1,bGranularPast:!1,bAbbreviateDayOfWeek:!1,bForce24HourClock:!1},t);if(n>r){if(!s.bGranularFutureTime)return i.zO(n.getTime()-r.getTime()),n.getFullYear()==r.getFullYear()?S(n):I(n);i.zO((new Date).setHours(24,0,0,0)-r.getTime());let e=new Date;return e.setHours(0,0,0,0),e.setDate(e.getDate()+1),n=c)return s.bGranularToday?s.bGranularTodayTimeOnly?d(e,{bForce24HourClock:s.bForce24HourClock}):(0,o.Xx)("#Time_Today_At",d(e,{bForce24HourClock:s.bForce24HourClock})):(0,o.Xx)("#Time_Today");if(c.setDate(r.getDate()-1),n>=c)return s.bGranularYesterday?(0,o.Xx)("#Time_Yesterday_At",d(e,{bForce24HourClock:s.bForce24HourClock})):(0,o.Xx)("#Time_Yesterday");c.setDate(r.getDate()-6);const u=new Date(c);if(s.bGranularWeek&&n>=u)return b(n,!1,!s.bAbbreviateDayOfWeek);if(s.bGranularPast)return(0,o.Xx)("#Time_Past_At",l(e,n.getFullYear()==r.getFullYear(),!s.bAbbreviateDayOfWeek),d(e,{bForce24HourClock:s.bForce24HourClock}));if(n>=u)return(0,o.Xx)("#TimeSince_ThisWeek");if(n.getMonth()==r.getMonth()&&n.getFullYear()==r.getFullYear()){const e=Math.floor((u.valueOf()-n.valueOf())/(1e3*a._H.PerWeek))+1;return 1==e?(0,o.Xx)("#TimeSince_1Week"):(0,o.Xx)("#TimeSince_XWeeks",e)}return n.getFullYear()==r.getFullYear()?S(n):I(n)}const g=new Map,f=new Map,v=new Map,C=new Map,E=new Map;new Map;function b(e,t=!1,n=!0){const r={weekday:n?"long":"short",day:"numeric",month:t?"long":"short"},i=e.setHours(0,0,0,0)+r.weekday+r.month;let a=E.get(i);return a||(a=e.toLocaleDateString(o.Yt.GetPreferredLocales(),r),E.set(i,a),a)}function w(e){let t=g.get(e.getDay());return t||(t=e.toLocaleDateString(o.Yt.GetPreferredLocales(),{weekday:"long"}),g.set(e.getDay(),t),t)}function S(e){let t=f.get(e.getMonth());return t||(t=e.toLocaleDateString(o.Yt.GetPreferredLocales(),{month:"long"}),f.set(e.getMonth(),t),t)}function y(e){let t=v.get(e.getFullYear());return t||(t=e.toLocaleDateString(o.Yt.GetPreferredLocales(),{year:"numeric"}),v.set(e.getFullYear(),t),t)}function I(e){const t=e.getMonth()+12*e.getFullYear();let n=C.get(t);return n||(n=e.toLocaleDateString(o.Yt.GetPreferredLocales(),{month:"long",year:"numeric"}),C.set(t,n),n)}function R(e){switch(e.getUTCMonth()){case 0:case 1:case 2:return(0,o.Xx)("#Time_QuarterOfYear_Q1",e.getUTCFullYear());case 3:case 4:case 5:return(0,o.Xx)("#Time_QuarterOfYear_Q2",e.getUTCFullYear());case 6:case 7:case 8:return(0,o.Xx)("#Time_QuarterOfYear_Q3",e.getUTCFullYear());default:return(0,o.Xx)("#Time_QuarterOfYear_Q4",e.getUTCFullYear())}}function D(e){const t=Math.floor(e/a._H.PerYear),n=Math.floor(e/a._H.PerMonth),r=Math.floor(e%a._H.PerMonth/a._H.PerDay),i=Math.floor(e%a._H.PerDay/a._H.PerHour),s=Math.floor(e%a._H.PerHour/a._H.PerMinute);return e%=a._H.PerMinute,t>0?(0,o.Xx)("#TimeRemaining_MoreThanOneYear"):n>0?(0,o.Xx)("#TimeRemaining_MonthsDays",n,r):r>0?(0,o.Xx)("#TimeRemaining_DaysHoursMinutes",r,i.toString().padStart(2,"0"),s.toString().padStart(2,"0")):i>0?(0,o.Xx)("#TimeRemaining_HoursMinutesSeconds",i.toString().padStart(2,"0"),s.toString().padStart(2,"0"),e.toString().padStart(2,"0")):(0,o.Xx)("#TimeRemaining_MinutesSeconds",s.toString().padStart(2,"0"),e.toString().padStart(2,"0"))}},50454:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var r=n(33940),i=n(26464),o=n(65406),a=n(85246);const s=["ActionDescription","Backstack","BrowserBackstack","GroupMemberStore","Chat","ChatRoom","ChatRoomGroup","ChatHistory","CompositionState","AppOverviewImplObservable","ReducedValue","FocusNavigation","FocusNavigationMovement","GamepadEvents","VirtualKeyboard","LibraryUIStore/BasicUIStore","SystemNetworkStore","SteamClient","AudioPlaybackManager","LaunchStates","Haptics","ControllerConfigurator","FriendsUI/RemotePlay","SalePage","VR"];var l;!function(e){e[e.Debug=0]="Debug",e[e.Info=1]="Info",e[e.Warning=2]="Warning",e[e.Error=3]="Error"}(l||(l={}));class c{constructor(e,t){this.m_fnIdGenerator=null,this.m_sName=e,this.m_fnIdGenerator=t,u.Get().RegisterLogName(e)}Debug(...e){this.Log(l.Debug,...e)}Info(...e){this.Log(l.Info,...e)}Warning(...e){this.Log(l.Warning,...e)}Error(...e){this.Log(l.Error,...e)}Assert(e,...t){e||this.Log(l.Error,"Assertion failed:",...t)}IsDebugEnabled(){return u.Get().IsDebugLogEnabled(this.m_sName)}Log(e,...t){var n,r;const i=u.Get().IsDebugLogEnabled(this.m_sName);if(e==l.Debug&&!i)return;let o=this.m_sName;const a=null!==(r=null===(n=this.m_fnIdGenerator)||void 0===n?void 0:n.call(this))&&void 0!==r?r:null;null!=a&&(o+=" ("+a+")");d(e,i,u.Get().IncludeBacktraceInLog,o,this.m_sName,...t)}}(0,r.gn)([i.a],c.prototype,"Debug",null),(0,r.gn)([i.a],c.prototype,"Info",null),(0,r.gn)([i.a],c.prototype,"Warning",null),(0,r.gn)([i.a],c.prototype,"Error",null),(0,r.gn)([i.a],c.prototype,"Assert",null);class u{constructor(){this.m_Storage=null,this.m_rgLogNames=null,this.m_setEnabledDebugLogs=new Set,this.m_bIncludeBacktraceInLog=!1,this.m_SettingsChangedCallback=new a.pB,this.m_bLoading=!1,this.m_Storage=new o.Z,this.m_rgLogNames=s.slice(),this.LoadSettings()}LogAsLogManager(...e){d(l.Info,!0,this.IncludeBacktraceInLog,"LogManager","LogManager",...e)}LoadSettings(){return(0,r.mG)(this,void 0,void 0,(function*(){this.m_bLoading=!0,this.m_bIncludeBacktraceInLog=!!(yield this.m_Storage.GetObject(u.k_IncludeBacktraceInLog_StorageKey));const e=yield this.m_Storage.GetObject(u.k_EnabledLogNames_StorageKey);Array.isArray(e)&&(this.m_setEnabledDebugLogs=new Set(e),this.LogAsLogManager("Loaded debug enabled log names. Will print log messages for:",Array.from(this.m_setEnabledDebugLogs))),this.m_bLoading=!1,this.m_SettingsChangedCallback.Dispatch()}))}SaveSettings(){return(0,r.mG)(this,void 0,void 0,(function*(){yield this.m_Storage.StoreObject(u.k_EnabledLogNames_StorageKey,Array.from(this.m_setEnabledDebugLogs)),yield this.m_Storage.StoreObject(u.k_IncludeBacktraceInLog_StorageKey,this.m_bIncludeBacktraceInLog),this.LogAsLogManager("Saved enabled debug log names. Will print log messages for:",Array.from(this.m_setEnabledDebugLogs))}))}static Get(){return null==u.s_Singleton&&(u.s_Singleton=new u),u.s_Singleton}get Loading(){return this.m_bLoading}get LogNames(){return this.m_rgLogNames}RegisterLogName(e){this.m_rgLogNames.includes(e)||this.m_rgLogNames.push(e)}IsLogName(e){return this.m_rgLogNames.includes(e)}IsDebugLogEnabled(e){return this.m_setEnabledDebugLogs.has(e)}ToggleDebugLogEnabled(e){return(0,r.mG)(this,void 0,void 0,(function*(){this.SetDebugLogEnabled(e,!this.IsDebugLogEnabled(e))}))}SetDebugLogEnabled(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){t?this.m_setEnabledDebugLogs.add(e):this.m_setEnabledDebugLogs.delete(e),this.m_SettingsChangedCallback.Dispatch(),yield this.SaveSettings()}))}SetAllDebugLogsEnabled(e){return(0,r.mG)(this,void 0,void 0,(function*(){this.m_setEnabledDebugLogs=new Set(e?s:[]),this.m_SettingsChangedCallback.Dispatch(),yield this.SaveSettings()}))}RegisterForSettingsChanges(e){return this.m_SettingsChangedCallback.Register(e)}get IncludeBacktraceInLog(){return this.m_bIncludeBacktraceInLog}SetIncludeBacktraceInLog(e){return(0,r.mG)(this,void 0,void 0,(function*(){this.m_bIncludeBacktraceInLog=e,this.m_SettingsChangedCallback.Dispatch(),yield this.SaveSettings()}))}}function d(e,t,n,r,i,...o){const a=function(e){let t=0;for(let n=0;n>0&255,t>>8&255,t>>16&255]}(i).map(((e,t)=>Math.round(Math.max(0,Math.min(255,255*(.8*(e/255-.5)+.15)))))),s=(299*(c=a)[0]+587*c[1]+114*c[2])/1e3>=128;var c;let u=r;n&&(u=function(e){switch(e){case l.Debug:return String.fromCodePoint(128027);case l.Info:return String.fromCodePoint(8505);case l.Warning:return String.fromCodePoint(9888);case l.Error:return String.fromCodePoint(128165)}}(e)+" "+u);const d=o.length>=1&&"string"==typeof o[0]&&o[0].includes("%c"),m=d&&o.shift();let h;if(h=t?[`%c${u}%c:${d?" %c"+m:""}`,`color: ${s?"black":"white"}; background: rgb(${a.join(",")}); padding: 0 1ch`,"color: transparent; margin-right: -1ch",...d?[""]:[],...o]:o,n)console.groupCollapsed(...h),console.trace("Callstack"),console.groupEnd();else switch(e){case l.Debug:case l.Info:console.log(...h);break;case l.Warning:console.warn(...h);break;case l.Error:console.error(...h)}}u.k_EnabledLogNames_StorageKey="EnabledWebLogs",u.k_IncludeBacktraceInLog_StorageKey="IncludeBacktraceInLog",u.s_Singleton=null;const m=()=>u.Get().LogNames.slice().sort(),h=(e,t)=>{u.Get().IsLogName(e)?u.Get().SetDebugLogEnabled(e,t):console.warn(`No log named "${e}", available logs:`,m())};window.DebugLogEnable=(...e)=>e.forEach((e=>h(e,!0))),window.DebugLogDisable=(...e)=>e.forEach((e=>h(e,!1))),window.DebugLogEnableAll=()=>u.Get().SetAllDebugLogsEnabled(!0),window.DebugLogDisableAll=()=>u.Get().SetAllDebugLogsEnabled(!1),window.DebugLogEnableBacktrace=()=>u.Get().SetIncludeBacktraceInLog(!0),window.DebugLogDisableBacktrace=()=>u.Get().SetIncludeBacktraceInLog(!1),window.DebugLogNames=m,window.EnableSteamConsole=(e=!0)=>u.Get().SetDebugLogEnabled("SteamClient",e)},36041:(e,t,n)=>{"use strict";function r(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}function i(e,t,n){return null==e||isNaN(e)?e:Math.max(t,Math.min(n,e))}function o(e,t,n,r,i){return r+(i-r)*(e-t)/(n-t)}function a(e,t,n,r,o){return i(r+(o-r)*(e-t)/(n-t),Math.min(r,o),Math.max(r,o))}function s(e){return"string"==typeof e&&(!Number.isNaN(e)&&!Number.isNaN(Number.parseFloat(e)))}n.d(t,{LO:()=>r,Lh:()=>i,bU:()=>a,kE:()=>s,r4:()=>o})},4306:(e,t,n)=>{"use strict";n.d(t,{KM:()=>r.KM,Gt:()=>d,it:()=>u,dn:()=>i.dn,ak:()=>m.a,B8:()=>r.B8,k$:()=>i.k$,Qg:()=>r.Qg,NW:()=>r.NW,JI:()=>r.JI,S1:()=>c,kD:()=>r.kD,BE:()=>i.BE,ww:()=>i.ww,xK:()=>i.xK,yU:()=>l,e1:()=>r.e1,Dc:()=>r.Dc});var r=n(30252),i=n(74082),o=n(89526),a=n(23801);function s(e,t){return(0,i.xK)((n=>{if(!n)return;const r=t(n.ownerDocument.defaultView,(t=>{e(t[0])}));return r.observe(n),()=>r.unobserve(n)}),[e,t])}function l(e){return s(e,o.useCallback(((e,t)=>e.ResizeObserver?new e.ResizeObserver(t):((0,a.X)(!1,"ResizeObserver is not available"),{observe:()=>{},unobserve:()=>{},disconnect:()=>{}})),[]))}function c(e,t){return s(e,o.useCallback(((e,n)=>new e.IntersectionObserver(n,t)),[t]))}function u(e,...t){const n=new e.ownerDocument.defaultView.ResizeObserver(...t);return n.observe(e),n}function d(e,...t){const n=new e.ownerDocument.defaultView.IntersectionObserver(...t);return n.observe(e),n}var m=n(26464)},86900:(e,t,n)=>{"use strict";n.d(t,{R:()=>o,U:()=>a});var r=n(89526),i=n(5615);n(84084),n(17547);function o(e){const t=r.useRef(a),n=function(e,t,...n){console.log(`React-Query ${e}`,t,...n)};(0,i.setLogger)({log:(e,...t)=>n("LOG",e,...t),warn:(e,...t)=>n("WARN",e,...t),error:(e,...t)=>n("ERROR",e,...t)});let o=e.children;return e.debug,r.createElement(i.QueryClientProvider,{client:t.current},o)}const a=new i.QueryClient({defaultOptions:{queries:{staleTime:1/0}}})},30252:(e,t,n)=>{"use strict";n.d(t,{B8:()=>i,Dc:()=>u,JI:()=>s,KM:()=>a,NW:()=>o,Qg:()=>l,e1:()=>c,kD:()=>d});var r=n(89526);function i(e,t,n){return[e,t,n]}function o(){const[,e]=r.useState(0);return r.useCallback((()=>e((e=>e+1))),[])}function a(e){let t=1;for(;null!=e&&"HTML"!=e.tagName;){const n=getComputedStyle(e);if(n.zoom){const e=Number.parseFloat(n.zoom);isNaN(e)||(t*=e)}e=e.parentElement}return t}function s(e,t,n,i){r.useEffect((()=>{if(e&&n)return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}),[e,t,n])}function l(e,t){r.useLayoutEffect((()=>{if(!t||!e)return;let n=e.Register(t);return()=>n.Unregister()}),[e,t])}function c(e){const[t,n]=r.useState(null==e?void 0:e.Value);return r.useEffect((()=>{if(null==e)return()=>{};const r=e.Subscribe(n);return t!==e.Value&&n(e.Value),null==r?void 0:r.Unsubscribe}),[e]),t}function u(e,t){return function(e,t){const[n,i]=r.useState(e);return r.useEffect((()=>{if(!e){const e=window.setTimeout((()=>i(!1)),t);return()=>window.clearTimeout(e)}i(!0)}),[e,t]),n}(e,t)||e}function d(e){const t=r.useRef();return r.useCallback((()=>(t.current&&t.current.factory==e||(t.current={value:e(),factory:e}),t.current.value)),[e])}},74082:(e,t,n)=>{"use strict";n.d(t,{BE:()=>o,LY:()=>c,dn:()=>a,k$:()=>i,ww:()=>l,xK:()=>s});var r=n(89526);function i(e,t){null!=e&&("function"==typeof e?e(t):"current"in e&&(e.current=t))}function o(...e){return r.useCallback((t=>{for(const n of e)i(n,t)}),e)}function a(...e){if(e&&0!==e.length)return 1===e.length?e[0]:t=>e.forEach((e=>{e&&("function"==typeof e?e(t):e.current=t)}))}function s(e,t){const n=r.useRef();return r.useCallback((t=>{n.current&&n.current(),n.current=e(t)}),t)}function l(e){const t=r.useRef(null);return{refWithValue:t,refForElement:o(e,t)}}function c(e,t){const n=r.useRef(!1);r.useLayoutEffect((()=>()=>{n.current&&i(e,void 0)}),[e]),r.useLayoutEffect((()=>{(t||n.current)&&(i(e,t),n.current=!!t)}),[e,t])}},45820:(e,t,n)=>{"use strict";n.d(t,{i4:()=>o,lJ:()=>a});var r=n(89526),i=n(59934);function o(e,t){var n;const o=`${e}_HistoryValue`,a=(0,i.k6)(),s=(0,i.TH)(),l=null!==(n=s.state&&s.state[o])&&void 0!==n?n:t,c=r.useCallback((e=>{a.replace(a.location.pathname,Object.assign(Object.assign({},a.location.state),{[o]:e}))}),[a,o]);return[l,c]}function a(e,t,n){var o;const a=`${e}_HistoryValue`,s=(0,i.k6)(),l=(0,i.TH)(),c=null!==(o=l.state&&l.state[a])&&void 0!==o?o:n,u=r.useRef(!1),d=r.useRef(),m=r.useRef(),h=r.useCallback((e=>{if(u.current&&(d.current=e,!m.current)){const e=s.location.pathname;m.current=window.setTimeout((()=>{s.location.pathname!=e||s.location.state&&s.location.state[a]==d.current||s.replace(s.location.pathname,Object.assign(Object.assign({},s.location.state||{}),{[a]:d.current})),m.current=void 0}),t)}}),[s,a,t]);return r.useEffect((()=>{u.current=!0}),[]),[c,h]}},81349:(e,t,n)=>{"use strict";function r(e,t){return et?1:0}function i(e,t){return r(e.toLocaleLowerCase(),t.toLocaleLowerCase())}function o(e){if(!e)return"";if(DOMParser){return(new DOMParser).parseFromString(e,"text/html").documentElement.textContent}return e}function a(e,t=""){return e.replace(/\bhttps?:\/\/\S+/gi,t)}function s(e,t,n=!0){let r=e.trim();if(r=r.replace(n?/\s+/g:/[ \t]+/g," "),r.length>t){r=r.substring(0,t);let e=r.replace(/^(.*([.!?])) .*$/,"$1"),i=e.length;(i<.6*t||i==t)&&(e=r.replace(/ [^ ]*$/,"...")),r=n?e.replace(/(\r\n|\n|\r)/gm,""):e}return r}function l(e){let t,n,r=0;if(0===e.length)return r;for(t=0;tu,HA:()=>o,JD:()=>l,W5:()=>a,eT:()=>r,nh:()=>c,oU:()=>s,tN:()=>i})},25508:(e,t,n)=>{"use strict";n.d(t,{QU:()=>l,U8:()=>o,_H:()=>r,_R:()=>s,pd:()=>a,yK:()=>i});const r={PerYear:31536e3,PerMonth:2628e3,PerWeek:604800,PerDay:86400,PerHour:3600,PerMinute:60};function i(e,t){return e.getFullYear()==t.getFullYear()&&e.getMonth()==t.getMonth()&&e.getDate()==t.getDate()}function o(e,t){return e.getFullYear()==t.getFullYear()}function a(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),0,0,0)}function s(e){return new Promise((t=>setTimeout(t,e)))}function l(){return Math.floor(Date.now()/1e3)}},86352:(e,t,n)=>{"use strict";n.d(t,{n8:()=>o});var r=n(89526),i=n(4306);function o(e,t=100){const[n,o]=r.useState(!1),a=r.useCallback((()=>o(!0)),[o]),s=r.useCallback((()=>o(!1)),[o]);return r.useEffect((()=>e?(e.addEventListener("focus",a),e.addEventListener("blur",s),()=>{e.removeEventListener("focus",a),e.removeEventListener("blur",s)}):void 0),[e,a,s]),(0,i.Dc)(n,t)}},32765:(e,t,n)=>{"use strict";n.d(t,{De:()=>a.De,E_:()=>c,Ek:()=>l.Ek,JA:()=>a.JA,Kc:()=>_,L7:()=>a.L7,Wj:()=>a.Wj,Zv:()=>g,fI:()=>d,h4:()=>h,id:()=>m,ip:()=>l.ip,kQ:()=>l.kQ,qt:()=>u,y9:()=>l.y9});var r=n(89526),i=n(78423),o=n(23801),a=n(44973),s=n(87458),l=n(59954);const c=r.createContext({}),u=e=>{let t=r.useContext(c);return(0,o.X)((null==e?void 0:e.bSuppressAssert)||void 0!==t.IN_GAMEPADUI,"Trying to use ConfigContext without a provider! Add ConfigContextRoot to application."),t};function d(e){var t;const{IN_GAMEPADUI:n,IN_DESKTOPUI:i,IN_VR:o,SIMULATING_VR_ON_DESKTOP:l,children:d}=e,m=u({bSuppressAssert:!0}),h=null===(t=(0,s.g3)())||void 0===t?void 0:t.startsWith("Gamepad VR"),p=r.useMemo((()=>{var e,t,r;return{IN_GAMEPADUI:null!==(e=null!=n?n:null==m?void 0:m.IN_GAMEPADUI)&&void 0!==e?e:a.De.IN_GAMEPADUI,IN_DESKTOPUI:null!==(t=null!=i?i:null==m?void 0:m.IN_DESKTOPUI)&&void 0!==t&&t,IN_VR:null!==(r=null!=o?o:null==m?void 0:m.IN_VR)&&void 0!==r?r:h,SIMULATING_VR_ON_DESKTOP:null!=l&&l}}),[m,n,i,o,l,h]);return r.createElement(c.Provider,{value:p},d)}function m(e){const t=u(e);return null==t?void 0:t.IN_GAMEPADUI}function h(){return a.De.EREALM===i.IN.k_ESteamRealmChina}function p(e,t){return 0!=t.length&&e.startsWith(t)}function _(){if(!window||!window.location||!window.location.href)return console.warn("Unable to determine base url!"),"unknown";const e=window.location.href;return p(e,a.De.STORE_BASE_URL)?a.De.STORE_BASE_URL:p(e,a.De.COMMUNITY_BASE_URL)?a.De.COMMUNITY_BASE_URL:p(e,a.De.CHAT_BASE_URL)?a.De.CHAT_BASE_URL:p(e,a.De.PARTNER_BASE_URL)?a.De.PARTNER_BASE_URL:p(e,a.De.HELP_BASE_URL)?a.De.HELP_BASE_URL:p(e,a.De.STEAMTV_BASE_URL)?a.De.STEAMTV_BASE_URL:p(e,a.De.STATS_BASE_URL)?a.De.STATS_BASE_URL:p(e,a.De.INTERNAL_STATS_BASE_URL)?a.De.INTERNAL_STATS_BASE_URL:p(e,a.De.STORE_CHECKOUT_BASE_URL)?a.De.STORE_CHECKOUT_BASE_URL:p(e,"https://steamloopback.host")?"https://steamloopback.host":""}function g(){const e=window.location.href;return p(e,a.De.STORE_BASE_URL)||p(e,a.De.STORE_CHECKOUT_BASE_URL)?"store":p(e,a.De.COMMUNITY_BASE_URL)?"community":p(e,a.De.PARTNER_BASE_URL)?"partnerweb":p(e,a.De.HELP_BASE_URL)?"help":p(e,a.De.STEAMTV_BASE_URL)?"steamtv":p(e,a.De.STATS_BASE_URL)||p(e,a.De.INTERNAL_STATS_BASE_URL)?"stats":""}},44973:(e,t,n)=>{"use strict";n.d(t,{De:()=>i,JA:()=>s,L7:()=>o,Wj:()=>l,dk:()=>a});var r=n(59954);const i={EUNIVERSE:0,WEB_UNIVERSE:"",LANGUAGE:"english",SUPPORTED_LANGUAGES:[],COUNTRY:"",AVATAR_BASE_URL:"",MEDIA_CDN_COMMUNITY_URL:"",MEDIA_CDN_URL:"",CLAN_CDN_ASSET_URL:"",COMMUNITY_CDN_URL:"",COMMUNITY_CDN_ASSET_URL:"",BASE_URL_SHARED_CDN:"",STORE_CDN_URL:"",PUBLIC_SHARED_URL:"",COMMUNITY_BASE_URL:"",CHAT_BASE_URL:"",STORE_BASE_URL:"",STORE_CHECKOUT_BASE_URL:"",LOGIN_BASE_URL:"",SUPPORT_BASE_URL:"",STORE_ICON_BASE_URL:"",IMG_URL:"",STEAMTV_BASE_URL:"",HELP_BASE_URL:"",PARTNER_BASE_URL:"",STATS_BASE_URL:"",INTERNAL_STATS_BASE_URL:"",BASE_URL_STORE_CDN_ASSETS:"",IN_CLIENT:!1,USE_POPUPS:!1,IN_MOBILE:!1,IN_MOBILE_WEBVIEW:!1,IN_TENFOOT:!1,PLATFORM:"",SNR:"",LAUNCHER_TYPE:0,EREALM:0,IN_CHROMEOS:!1,TESLA:!1,LOCAL_HOSTNAME:"",WEBAPI_BASE_URL:"",TOKEN_URL:"",BUILD_TIMESTAMP:0,PAGE_TIMESTAMP:0,FROM_WEB:!1,WEBSITE_ID:"Unknown",get SESSIONID(){return(0,r.c9)()},FRIENDSUI_BETA:!1,STEAM_TV:!1,DEV_MODE:!1,IN_STEAMUI:!1,IN_GAMEPADUI:!1,IN_STEAMUI_SHARED_CONTEXT:!1,DECK_DISPLAY_MODE:!1,ON_DECK:!1,ON_STEAMOS:!1,IN_GAMESCOPE:!1,IN_LOGIN:!1,IN_LOGIN_REFRESH:!1,USE_LONGEST_LOC_STRING:!1,SILENT_STARTUP:!1};const o={logged_in:!1,steamid:"",accountid:0,account_name:"",token:void 0,token_use_id:void 0,webapi_token:"",authwgtoken:"",is_support:!1,is_limited:!1,is_partner_member:!1,short_url:"",country_code:""},a={steamid:"",clanid:0,listid:0},s={CLANSTEAMID:"",CLANACCOUNTID:0,APPID:0,VANITY_ID:"",IS_CREATOR_HOME:!1,IS_CURATOR:!1,IS_OGG:!1,CAN_UPLOAD_IMAGES:!1,APP_NAME:"",HEADER_IMAGE:"",HAS_ADULT_CONTENT:!1,HAS_ADULT_CONTENT_SEX:!1,HAS_ADULT_CONTENT_VIOLENCE:!1,IS_VALVE_GROUP:!1,IS_ALLOWED_SC:!1},l={ANNOUNCEMENT_GID:"",TAKEOVER_ANNOUNCEMENT_GID:""}},59954:(e,t,n)=>{"use strict";n.d(t,{Ek:()=>u,c9:()=>l,ip:()=>m,kQ:()=>d,y9:()=>_});var r=n(36041),i=n(87361),o=n(44973);const a="webui_config";let s;function l(){if(!(0,i.t$)())return s||(s=c()),s;let e=(0,i.bG)("sessionid");return e||(e=c()),e}function c(){let e=function(){let e="";for(let t=0;t<24;t++)e+=(0,r.LO)(0,35).toString(36);return e}();return(0,i.I1)("sessionid",e,0),e}function u(e=a){const t={},n=d("config",e);n&&(delete n.SESSIONID,Object.assign(o.De,n),t.config=!0);const r=d("userinfo",e);r&&(Object.assign(o.L7,r),t.userConfig=!0,o.L7.is_support&&_()&&(o.L7.is_support=!1));const i=d("broadcast",e);i&&(Object.assign(o.dk,i),t.broadcastConfig=!0);const s=d("community",e);s&&(Object.assign(o.JA,s),t.communityConfig=!0);const l=d("event",e);return l&&(Object.assign(o.Wj,l),t.eventConfig=!0),t}function d(e,t=a){return h(e,t,!0)}function m(e,t=a){return h(e,t,!1)}function h(e,t=a,n){let r;if(r="string"==typeof t?!{NODE_ENV:"production",STEAM_BUILD:"buildbot"}.MOBILE_BUILD&&document.getElementById(t):t,r)try{if(r.hasAttribute("data-"+e)){return JSON.parse(r.getAttribute("data-"+e))}return null}catch(e){console.error("Failed to parse config for "+o.L7.steamid+" ("+window.location.href+")",e)}else n&&console.error("Missing config element #",t)}const p="presentation_mode";function _(){let e=null;return(0,i.t$)()&&(e=(0,i.bG)(p)),Boolean(e&&1===Number.parseInt(e))}},34726:(e,t,n)=>{"use strict";"VALVE_PUBLIC_PATH"in window?n.p=window.VALVE_PUBLIC_PATH:console.error("VALVE_PUBLIC_PATH not defined; check for a call to CHTMLHelpers::WebpackConfigScriptlet"),console.assert(123===Array.from(new Set([123]))[0],"Should not include prototypejs.")},87458:(e,t,n)=>{"use strict";n.d(t,{RY:()=>c,g3:()=>u});let r=!1,i=!1,o=!1,a=!1,s=!1,l=!1;function c(){return r||m(),l}function u(){if(!(null===navigator||void 0===navigator?void 0:navigator.userAgent))return;let e=navigator.userAgent.match(/Valve Steam ([^\/]*)\//);return e&&2==e.length?e[1]:void 0}function d(e,t){return!!window.location.href.match("[?&]"+t+"=")||!("undefined"==typeof navigator||!navigator.userAgent||-1==navigator.userAgent.toLowerCase().indexOf(e.toLowerCase()))}function m(){a=d("Valve Steam Tenfoot","force_tenfoot_client_view"),o=d("Valve Steam GameOverlay","force_overlay_view"),i=a||d("Valve Steam Client","force_client_view"),l=d("iphone","force_ios_view")||d("ipad","force_ios_view")||d("ipod","force_ios_view")||d("macintosh","force_ios_view")&&d("safari","force_ios_view"),s=d("android","force_android_view"),r=!0}},33946:(e,t,n)=>{"use strict";var r=n(33940),i=(n(34726),n(76583),n(89526)),o=n(565),a=n(59934),s=n(47742),l=n(27070),c=n(65406),u=n(19094),d=n(82988),m=n(51594),h=n(35993),p=n(71209),_=n(4306),g=n(86900),f=n(32765);const v=i.lazy((()=>Promise.all([n.e(6588),n.e(7948),n.e(483),n.e(6656),n.e(6148),n.e(4040),n.e(6378),n.e(2530),n.e(1496),n.e(9949),n.e(8931),n.e(3742),n.e(9427),n.e(5503),n.e(2805),n.e(6845)]).then(n.bind(n,74182)))),C=i.lazy((()=>Promise.all([n.e(6588),n.e(7948),n.e(483),n.e(6656),n.e(2468),n.e(4040),n.e(6378),n.e(2530),n.e(1496),n.e(9949),n.e(8931),n.e(3742),n.e(9427),n.e(3973),n.e(9348),n.e(5503),n.e(7942),n.e(508),n.e(400),n.e(2136)]).then(n.bind(n,38644)))),E=i.lazy((()=>Promise.all([n.e(6588),n.e(7948),n.e(483),n.e(6656),n.e(2468),n.e(4040),n.e(6378),n.e(2530),n.e(1496),n.e(9949),n.e(8931),n.e(3742),n.e(9427),n.e(3973),n.e(9348),n.e(5503),n.e(7942),n.e(508),n.e(5119),n.e(400),n.e(9349)]).then(n.bind(n,59365)))),b=i.lazy((()=>Promise.all([n.e(6588),n.e(7948),n.e(483),n.e(6656),n.e(2468),n.e(4040),n.e(6378),n.e(2530),n.e(1496),n.e(9949),n.e(8931),n.e(3742),n.e(9427),n.e(3973),n.e(9348),n.e(5503),n.e(7942),n.e(508),n.e(400),n.e(3352)]).then(n.bind(n,53376)))),w=i.lazy((()=>Promise.all([n.e(6148),n.e(6378),n.e(3742),n.e(2805),n.e(238)]).then(n.bind(n,29347)))),S=i.lazy((()=>Promise.all([n.e(6588),n.e(7948),n.e(483),n.e(6656),n.e(4040),n.e(6378),n.e(2530),n.e(1496),n.e(9949),n.e(8931),n.e(3742),n.e(9427),n.e(3973),n.e(9348),n.e(5503),n.e(5119),n.e(2449),n.e(5436)]).then(n.bind(n,25911)))),y=()=>i.createElement("div",null),I=i.lazy((()=>n.e(8647).then(n.bind(n,16258)))),R=i.lazy((()=>Promise.all([n.e(6588),n.e(7948),n.e(483),n.e(6656),n.e(2468),n.e(543),n.e(4040),n.e(6378),n.e(2530),n.e(1496),n.e(9949),n.e(8931),n.e(3742),n.e(9427),n.e(3973),n.e(9348),n.e(5503),n.e(7942),n.e(508),n.e(8120),n.e(3499)]).then(n.bind(n,21290)))),D=i.lazy((()=>Promise.all([n.e(6588),n.e(7948),n.e(483),n.e(6656),n.e(4040),n.e(6378),n.e(2530),n.e(1496),n.e(9949),n.e(8931),n.e(3742),n.e(9427),n.e(3973),n.e(9348),n.e(5119),n.e(2449),n.e(8120),n.e(1649),n.e(2832),n.e(6272)]).then(n.bind(n,45906)))),M=i.lazy((()=>Promise.all([n.e(6588),n.e(7948),n.e(6378),n.e(2530),n.e(9949),n.e(1649),n.e(908)]).then(n.bind(n,47471)))),T=i.lazy((()=>Promise.all([n.e(6588),n.e(6378),n.e(2530),n.e(4535)]).then(n.bind(n,58301)))),B=i.lazy((()=>Promise.all([n.e(6588),n.e(7948),n.e(483),n.e(4040),n.e(6378),n.e(2530),n.e(1496),n.e(9949),n.e(8931),n.e(7942),n.e(3903)]).then(n.bind(n,95261)))),A=i.lazy((()=>Promise.all([n.e(4040),n.e(312)]).then(n.bind(n,15844)))),O=i.lazy((()=>Promise.all([n.e(4040),n.e(1496),n.e(3520),n.e(3068)]).then(n.bind(n,58564)))),F=i.lazy((()=>Promise.all([n.e(4040),n.e(1496),n.e(3520),n.e(1909)]).then(n.bind(n,6914)))),L=()=>f.JA.IS_OGG?"games":"groups",k={},N=Object.assign(Object.assign({DiagData:()=>"/:anything*/diagdata",Login:()=>"/login/home",OAuthLogin:()=>"/oauth/loginform",OpenidLogin:()=>"/openid/loginform",EventsInternal:()=>"/(migrateevents|migrate)",EventEditor:e=>`/${L()}/${e}/partnerevents`,EventReaders:e=>`/${L()}/${e}/(events|announcements)`,HubRoot:e=>`/app/${e}(/workshop/)?`,GroupRoot:e=>`/groups/${e}/`,ProfileVanity:e=>`/id/${e}`,ProfileSteamID:e=>`/profiles/${e}`,ProfileVanityGamesList:e=>`${N.ProfileVanity(e)}/games`,ProfileSteamIDGamesLIst:e=>`${N.ProfileSteamID(e)}/games`,UGCRewardApp:()=>"/:anything/filedetails",UserReviewRewardAppVanity:()=>"/id/:vanity_url/recommended/:appid/",UserReviewRewardApp:()=>"/profiles/:steamid/recommended/:appid/",UserReviewsReward:()=>"/profiles/:steamid/recommended",UserReviewsRewardVanity:()=>"/id/:vanity_url/recommended",ManageFriendsApp:()=>"/id/:vanity_url/friends/add",ManageFriendsProfileApp:()=>"/profiles/:id/friends/add",BroadcastApp:()=>"/broadcast",DiscussionsAppWorkshop:()=>"/workshop/discussions",DiscussionsAppUGC:()=>"/sharedfiles/filedetails/discussions",DiscussionsAppGeneral:()=>"/discussions/forum",GameNotes:()=>"/notes/",FAQApp:()=>"/faqs/",QuestionsApp:()=>"/questions/",ConferenceApp:()=>"/(conference|steamworksvirtualconference)/",ProfileVanityNotifications:e=>`${N.ProfileVanity(e)}/notifications`,ProfileSteamIDNotifications:e=>`${N.ProfileSteamID(e)}/notifications`},k),{CommunityHomeRoot:()=>"/"});class x extends i.Component{render(){return i.createElement(o.VK,{basename:U()},i.createElement(P,null,i.createElement(i.Suspense,{fallback:i.createElement("div",null)},i.createElement(h.d,{config:{"green-envelope":()=>i.createElement(O,{bResponsiveHeader:!1,notifications:(0,f.kQ)("steam_notifications","application_config")}),"green-envelope-responsive":()=>i.createElement(O,{bResponsiveHeader:!0,notifications:(0,f.kQ)("steam_notifications","application_config")})}}),i.createElement(a.rs,null,i.createElement(a.AW,{exact:!0,path:N.DiagData(),render:e=>i.createElement(d.m,Object.assign({},e,{key:e.match.params.gid,strConfigID:"application_config"}))}),i.createElement(a.AW,{path:[N.Login(),N.OAuthLogin()]},i.createElement(h.d,{config:{login:e=>i.createElement(T,Object.assign({},e))}})),i.createElement(a.AW,{path:[N.Login(),N.OpenidLogin()]},i.createElement(h.d,{config:{login:e=>i.createElement(T,Object.assign({},e))}})),i.createElement(a.AW,{path:N.EventEditor(":appid_or_vanity_str"),component:E}),i.createElement(a.AW,{path:N.EventsInternal(),component:b}),i.createElement(a.AW,{path:N.EventReaders(":appid_or_vanity_str"),component:C}),i.createElement(a.AW,{path:N.BroadcastApp(),component:S}),i.createElement(a.AW,{path:N.HubRoot(":appid"),render:e=>i.createElement(h.d,{config:{"apphub-events":()=>i.createElement(C,null),"apphub-ugcrewards":()=>i.createElement(w,Object.assign({},e)),"community-awards":()=>i.createElement(w,Object.assign({},e))}})}),i.createElement(a.AW,{path:N.GroupRoot(":groupid_or_vanity_str"),render:e=>i.createElement(h.d,{config:{"apphub-events":()=>i.createElement(C,null),"community-awards":()=>i.createElement(w,Object.assign({},e))}})}),i.createElement(a.AW,{path:N.UserReviewRewardAppVanity(),render:e=>i.createElement(w,Object.assign({},e))}),i.createElement(a.AW,{path:N.UserReviewRewardApp(),render:e=>i.createElement(w,Object.assign({},e))}),i.createElement(a.AW,{path:N.UserReviewsRewardVanity(),render:e=>i.createElement(w,Object.assign({},e))}),i.createElement(a.AW,{path:N.UserReviewsReward(),render:e=>i.createElement(w,Object.assign({},e))}),i.createElement(a.AW,{path:[N.DiscussionsAppGeneral(),N.DiscussionsAppWorkshop(),N.DiscussionsAppUGC()],render:e=>i.createElement(h.d,{config:{"community-awards":()=>i.createElement(w,Object.assign({},e))}})}),i.createElement(a.AW,{path:[N.ManageFriendsApp(),N.ManageFriendsProfileApp()],render:()=>i.createElement(h.d,{config:{"manage-friends":()=>i.createElement(I,null)}})}),i.createElement(a.AW,{path:[N.ProfileVanityGamesList(":vanity_url"),N.ProfileSteamIDGamesLIst(":steamid")],render:e=>i.createElement(h.d,{config:{"gameslist-root":()=>i.createElement(B,Object.assign({},e))}})}),i.createElement(a.AW,{path:N.ProfileVanityNotifications(":vanity_url"),render:e=>i.createElement(F,Object.assign({},e))}),i.createElement(a.AW,{path:N.ProfileSteamIDNotifications(":steamid"),render:e=>i.createElement(F,Object.assign({},e))}),i.createElement(a.AW,{path:N.ProfileVanity(":vanity_url"),render:e=>i.createElement(v,Object.assign({},e))}),i.createElement(a.AW,{path:N.ProfileSteamID(":steamid"),render:e=>i.createElement(v,Object.assign({},e))}),i.createElement(a.AW,{path:N.UGCRewardApp(),render:e=>i.createElement(w,Object.assign({},e))}),i.createElement(a.AW,{path:N.GameNotes(),component:y}),i.createElement(a.AW,{path:N.FAQApp(),component:R}),i.createElement(a.AW,{path:N.QuestionsApp(),component:M}),i.createElement(a.AW,{path:N.ConferenceApp(),component:D}),!1,i.createElement(a.AW,{path:N.CommunityHomeRoot(),render:e=>i.createElement(h.d,{config:{"apphub-events":()=>i.createElement(C,null),"apphub-ugcrewards":()=>i.createElement(w,Object.assign({},e)),"community-home-header-v2":()=>i.createElement(A,null)}})}),i.createElement(a.AW,null,i.createElement(p.R,null))))))}}function P(e){return i.createElement(f.fI,null,i.createElement(G,null,i.createElement(g.R,null,i.createElement(m.Y0,null,e.children))))}function V(){const e=(0,f.kQ)("loyalty_webapi_token","application_config");return new u.J(f.De.WEBAPI_BASE_URL,e)}function G(e){const t=(0,_.kD)(V),n=(0,_.kD)(i.useCallback((()=>new c.Z),[])),r=(0,i.useMemo)((()=>({useActiveAccount:()=>f.L7.steamid})),[]);return i.createElement(s.B,{value:r},i.createElement(l.Ub,{useActiveSteamInterface:t,useStorage:n},e.children))}function U(){let e=document.createElement("a");e.href=f.De.COMMUNITY_BASE_URL;let t=e.pathname;return t.endsWith("/")||(t+="/"),t}var H=n(73961),W=(n(88026),n(14826));n(46132);var j=n(23801),z=n(45464),K=n(60161);n(57605),n(701),n(50454),n(99307),n(57742),n(29061),n(30252);n(35266);(0,K.Dj)((()=>(0,r.mG)(void 0,void 0,void 0,(function*(){document.getElementById("application_config")?(0,f.Ek)("application_config"):(0,f.Ek)(),(0,z.Uh)().Init("Community",CLSTAMP,new u.J(f.De.WEBAPI_BASE_URL).GetServiceTransport()),yield function(e){return(0,r.mG)(this,void 0,void 0,(function*(){{const t=W.LJ.GetLanguageFallback(e),r=e===t,[i,o,a,s,l,c]=yield Promise.all([n(71574)(`./shared_${e}.json`).then((e=>e.default)),n(76430)(`./sales_${e}.json`).then((e=>e.default)),n(12923)(`./main_${e}.json`).then((e=>e.default)),r?{}:n(64050)(`./shared_${t}.json`).then((e=>e.default)),r?{}:n(60623)(`./sales_${t}.json`).then((e=>e.default)),r?{}:n(29790)(`./main_${t}.json`).then((e=>e.default))]);W.Yt.AddTokens(Object.assign(Object.assign(Object.assign({},o),i),a),Object.assign(Object.assign(Object.assign({},l),s),c))}for(const e of X)W.Yt.AddTokens(e);X=void 0}))}(f.De.LANGUAGE);const e=document.getElementById("react_root")||document.getElementById("application_root");e&&H.render(i.createElement(x,{}),e)}))));let X=[];function Z(e,t,n){(0,j.X)("manifest"===t,`Expected manifest not "${t}"`),void 0!==X?X.push(n):W.Yt.AddTokens(n)}!function(){const e=window;e.g_rgPendingLocManifests&&e.g_rgPendingLocManifests.forEach((e=>Z(...e))),e.LocalizationManifestReady=Z,e.g_rgPendingLocManifests=void 0}()},76430:(e,t,n)=>{var r={"./sales_brazilian.json":[185,9513],"./sales_bulgarian.json":[59803,3591],"./sales_czech.json":[60882,5494],"./sales_danish.json":[82341,9561],"./sales_dutch.json":[75853,9828],"./sales_english.json":[22140,1546],"./sales_finnish.json":[28479,3007],"./sales_french.json":[33749,2235],"./sales_german.json":[59781,4293],"./sales_greek.json":[12730,7971],"./sales_hungarian.json":[38889,867],"./sales_indonesian.json":[84585,7192],"./sales_italian.json":[65585,4979],"./sales_japanese.json":[28075,9991],"./sales_koreana.json":[216,5439],"./sales_latam.json":[32805,7924],"./sales_norwegian.json":[18846,960],"./sales_polish.json":[50918,2723],"./sales_portuguese.json":[30164,6658],"./sales_romanian.json":[86906,9316],"./sales_russian.json":[54975,8805],"./sales_sc_schinese.json":[92416,6715],"./sales_schinese.json":[96208,2373],"./sales_spanish.json":[92095,961],"./sales_swedish.json":[13852,9888],"./sales_tchinese.json":[87198,4819],"./sales_thai.json":[41156,9167],"./sales_turkish.json":[33285,6932],"./sales_ukrainian.json":[76364,2745],"./sales_vietnamese.json":[40925,3202]};function i(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return n.e(t[1]).then((()=>n.t(i,19)))}i.keys=()=>Object.keys(r),i.id=76430,e.exports=i},60623:(e,t,n)=>{var r={"./sales_brazilian.json":[185,9513],"./sales_bulgarian.json":[59803,3591],"./sales_czech.json":[60882,5494],"./sales_danish.json":[82341,9561],"./sales_dutch.json":[75853,9828],"./sales_english.json":[22140,1546],"./sales_finnish.json":[28479,3007],"./sales_french.json":[33749,2235],"./sales_german.json":[59781,4293],"./sales_greek.json":[12730,7971],"./sales_hungarian.json":[38889,867],"./sales_indonesian.json":[84585,7192],"./sales_italian.json":[65585,4979],"./sales_japanese.json":[28075,9991],"./sales_koreana.json":[216,5439],"./sales_latam.json":[32805,7924],"./sales_norwegian.json":[18846,960],"./sales_polish.json":[50918,2723],"./sales_portuguese.json":[30164,6658],"./sales_romanian.json":[86906,9316],"./sales_russian.json":[54975,8805],"./sales_sc_schinese.json":[92416,6715],"./sales_schinese.json":[96208,2373],"./sales_spanish.json":[92095,961],"./sales_swedish.json":[13852,9888],"./sales_tchinese.json":[87198,4819],"./sales_thai.json":[41156,9167],"./sales_turkish.json":[33285,6932],"./sales_ukrainian.json":[76364,2745],"./sales_vietnamese.json":[40925,3202]};function i(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return n.e(t[1]).then((()=>n.t(i,19)))}i.keys=()=>Object.keys(r),i.id=60623,e.exports=i},71574:(e,t,n)=>{var r={"./shared_arabic.json":[34532,7832],"./shared_brazilian.json":[23918,3298],"./shared_bulgarian.json":[35774,7781],"./shared_czech.json":[30436,8085],"./shared_danish.json":[83972,4183],"./shared_dutch.json":[863,3602],"./shared_english.json":[57980,131],"./shared_finnish.json":[5541,1953],"./shared_french.json":[1502,4729],"./shared_german.json":[76407,4445],"./shared_greek.json":[68470,2822],"./shared_hungarian.json":[21600,5279],"./shared_indonesian.json":[29870,146],"./shared_italian.json":[19296,4513],"./shared_japanese.json":[78556,27],"./shared_koreana.json":[82514,4469],"./shared_latam.json":[65219,9951],"./shared_norwegian.json":[87890,1261],"./shared_polish.json":[32570,6844],"./shared_portuguese.json":[38860,9854],"./shared_romanian.json":[90878,7660],"./shared_russian.json":[6120,6403],"./shared_sc_schinese.json":[50703,4358],"./shared_schinese.json":[80488,755],"./shared_spanish.json":[2098,4097],"./shared_swedish.json":[63255,4487],"./shared_tchinese.json":[85003,9547],"./shared_thai.json":[32074,2138],"./shared_turkish.json":[14370,2738],"./shared_ukrainian.json":[49336,1579],"./shared_vietnamese.json":[86173,8433]};function i(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return n.e(t[1]).then((()=>n.t(i,19)))}i.keys=()=>Object.keys(r),i.id=71574,e.exports=i},64050:(e,t,n)=>{var r={"./shared_arabic.json":[34532,7832],"./shared_brazilian.json":[23918,3298],"./shared_bulgarian.json":[35774,7781],"./shared_czech.json":[30436,8085],"./shared_danish.json":[83972,4183],"./shared_dutch.json":[863,3602],"./shared_english.json":[57980,131],"./shared_finnish.json":[5541,1953],"./shared_french.json":[1502,4729],"./shared_german.json":[76407,4445],"./shared_greek.json":[68470,2822],"./shared_hungarian.json":[21600,5279],"./shared_indonesian.json":[29870,146],"./shared_italian.json":[19296,4513],"./shared_japanese.json":[78556,27],"./shared_koreana.json":[82514,4469],"./shared_latam.json":[65219,9951],"./shared_norwegian.json":[87890,1261],"./shared_polish.json":[32570,6844],"./shared_portuguese.json":[38860,9854],"./shared_romanian.json":[90878,7660],"./shared_russian.json":[6120,6403],"./shared_sc_schinese.json":[50703,4358],"./shared_schinese.json":[80488,755],"./shared_spanish.json":[2098,4097],"./shared_swedish.json":[63255,4487],"./shared_tchinese.json":[85003,9547],"./shared_thai.json":[32074,2138],"./shared_turkish.json":[14370,2738],"./shared_ukrainian.json":[49336,1579],"./shared_vietnamese.json":[86173,8433]};function i(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return n.e(t[1]).then((()=>n.t(i,19)))}i.keys=()=>Object.keys(r),i.id=64050,e.exports=i},12923:(e,t,n)=>{var r={"./main_brazilian.json":[56978,6415],"./main_bulgarian.json":[57630,1133],"./main_czech.json":[1320,8282],"./main_danish.json":[17238,8592],"./main_dutch.json":[96829,6962],"./main_english.json":[5271,9665],"./main_finnish.json":[93390,8427],"./main_french.json":[13845,3038],"./main_german.json":[29442,7769],"./main_greek.json":[97304,1311],"./main_hungarian.json":[93749,8274],"./main_indonesian.json":[84812,2603],"./main_italian.json":[972,5012],"./main_japanese.json":[76878,9233],"./main_koreana.json":[33488,6091],"./main_latam.json":[16834,5277],"./main_norwegian.json":[29308,5757],"./main_polish.json":[53825,8291],"./main_portuguese.json":[66429,617],"./main_romanian.json":[78653,113],"./main_russian.json":[55742,301],"./main_sc_schinese.json":[11176,9389],"./main_schinese.json":[92316,7629],"./main_spanish.json":[81329,8525],"./main_swedish.json":[20986,2351],"./main_tchinese.json":[19321,1195],"./main_thai.json":[88793,5493],"./main_turkish.json":[72883,6457],"./main_ukrainian.json":[97797,2557],"./main_vietnamese.json":[62523,7901]};function i(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return n.e(t[1]).then((()=>n.t(i,19)))}i.keys=()=>Object.keys(r),i.id=12923,e.exports=i},29790:(e,t,n)=>{var r={"./main_brazilian.json":[56978,6415],"./main_bulgarian.json":[57630,1133],"./main_czech.json":[1320,8282],"./main_danish.json":[17238,8592],"./main_dutch.json":[96829,6962],"./main_english.json":[5271,9665],"./main_finnish.json":[93390,8427],"./main_french.json":[13845,3038],"./main_german.json":[29442,7769],"./main_greek.json":[97304,1311],"./main_hungarian.json":[93749,8274],"./main_indonesian.json":[84812,2603],"./main_italian.json":[972,5012],"./main_japanese.json":[76878,9233],"./main_koreana.json":[33488,6091],"./main_latam.json":[16834,5277],"./main_norwegian.json":[29308,5757],"./main_polish.json":[53825,8291],"./main_portuguese.json":[66429,617],"./main_romanian.json":[78653,113],"./main_russian.json":[55742,301],"./main_sc_schinese.json":[11176,9389],"./main_schinese.json":[92316,7629],"./main_spanish.json":[81329,8525],"./main_swedish.json":[20986,2351],"./main_tchinese.json":[19321,1195],"./main_thai.json":[88793,5493],"./main_turkish.json":[72883,6457],"./main_ukrainian.json":[97797,2557],"./main_vietnamese.json":[62523,7901]};function i(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return n.e(t[1]).then((()=>n.t(i,19)))}i.keys=()=>Object.keys(r),i.id=29790,e.exports=i}},e=>{e.O(0,[3250],(()=>{return t=33946,e(e.s=t);var t}));e.O()}]);